document.querySelector("#profile-img-file-input")&&document.querySelector("#profile-img-file-input").addEventListener("change",function(){var e=document.querySelector(".user-profile-image"),t=document.querySelector(".profile-img-file-input").files[0],r=new FileReader;r.addEventListener("load",function(){e.src=r.result},!1),t&&r.readAsDataURL(t)}),document.querySelectorAll(".form-steps")&&Array.from(document.querySelectorAll(".form-steps")).forEach(function(l){l.querySelectorAll(".nexttab")&&Array.from(l.querySelectorAll(".nexttab")).forEach(function(t){var e=l.querySelectorAll('button[data-bs-toggle="pill"]');Array.from(e).forEach(function(e){e.addEventListener("show.bs.tab",function(e){e.target.classList.add("done")})}),t.addEventListener("click",function(){l.classList.add("was-validated"),l.querySelectorAll(".tab-pane.show .form-control").forEach(function(e){0