PageSourceSearch

https://okaydev.co/dist/assets/account-settings-business-renderer-DQJ13V4Z.js

js okaydev.co collected 2026-09-25 20:10:56 UTC 3,939 bytes, 1 lines download raw bytes

1import{D as e}from"./default-renderer-BZKN5ad1.js";import{b as t}from"./HeaderLogoLetters-DJI_FB9w.js";import"./app-Cu6dTb9L.js";import"./lazyDialog-D7tW-HM0.js";import"./SplitText-VLUCmDhw.js";import"./distributeProjectAuthorCard-USTmGEds.js";import"./SocialPosts-rgMf2ipp.js";import"./patchCommentsProtect-C8m96Vr7.js";const s=class{constructor(){this.initVars(),this.initAnimations(),this.initPage()}initVars(){this.accountSettingsBusinessForm=document.querySelector('form[data-handle="accountSettingsBusiness"]'),this.passwordInput=this.accountSettingsBusinessForm.querySelector('input[type="password"][name="currentPassword"]')}initAnimations(){}initPage(){this.injectPasswordRevealToggle(this.passwordInput),this.addListeners()}addListeners(){const e=this;t(e,["togglePasswordReveal"]),this.passwordRevealInput&&this.passwordRevealInput.addEventListener("change",e.togglePasswordReveal)}removeListeners(){}stopPage(){this.removeListeners()}togglePasswordReveal(e){e.currentTarget.checked?this.passwordInput.type="text":this.passwordInput.type="password"}injectPasswordRevealToggle(e){if(e){var t=document.createElement("div");t.className="password-reveal-wrapper";var s=document.createElement("label");s.setAttribute("for","password-reveal"),s.setAttribute("title","Show/Hide Password");var a=document.createElement("input");a.id="password-reveal",a.type="checkbox",a.setAttribute("aria-label","Show/Hide Password");var r=document.createElement("span");r.className="eye-outline",r.innerHTML='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 20 20"><path fill="#000" d="M10.002 13.148c.875 0 1.618-.307 2.229-.92.61-.611.916-1.355.916-2.23s-.306-1.618-.918-2.229c-.612-.61-1.356-.916-2.23-.916-.876 0-1.619.306-2.23.918-.61.613-.916 1.356-.916 2.231 0 .875.306 1.618.918 2.229a3.04 3.04 0 0 0 2.23.917ZM10 12a1.929 1.929 0 0 1-1.417-.583A1.929 1.929 0 0 1 8 10c0-.555.194-1.028.583-1.417A1.929 1.929 0 0 1 10 8c.556 0 1.028.195 1.417.583.389.39.583.862.583 1.417 0 .556-.194 1.028-.583 1.417A1.929 1.929 0 0 1 10 12Zm.001 3.583c-1.869 0-3.572-.507-5.109-1.523A9.358 9.358 0 0 1 1.449 10 9.36 9.36 0 0 1 4.89 5.94C6.427 4.924 8.13 4.417 9.999 4.417c1.869 0 3.572.507 5.109 1.523A9.358 9.358 0 0 1 18.55 10a9.36 9.36 0 0 1-3.442 4.06c-1.536 1.016-3.239 1.523-5.108 1.523ZM10 14.5a8.123 8.123 0 0 0 4.313-1.208A8.085 8.085 0 0 0 17.354 10a8.085 8.085 0 0 0-3.041-3.292A8.123 8.123 0 0 0 10 5.5a8.123 8.123 0 0 0-4.313 1.208A8.085 8.085 0 0 0 2.646 10a8.085 8.085 0 0 0 3.041 3.292A8.122 8.122 0 0 0 10 14.5Z"/></svg>';var n=document.createElement("span");n.className="eye-fill",n.innerHTML='<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 20 20"><path fill="#000" d="M10.002 13.148c.875 0 1.618-.307 2.229-.92.61-.611.916-1.355.916-2.23s-.306-1.618-.918-2.229a3.04 3.04 0 0 0-2.23-.916c-.876 0-1.619.306-2.23.918-.61.613-.916 1.356-.916 2.231 0 .875.306 1.618.918 2.229a3.04 3.04 0 0 0 2.23.917ZM10 12a1.929 1.929 0 0 1-1.417-.583A1.929 1.929 0 0 1 8 10c0-.555.194-1.028.583-1.417A1.929 1.929 0 0 1 10 8c.556 0 1.028.195 1.417.583.389.39.583.862.583 1.417 0 .556-.194 1.028-.583 1.417A1.929 1.929 0 0 1 10 12Zm.001 3.583c-1.869 0-3.572-.507-5.109-1.523A9.358 9.358 0 0 1 1.45 10 9.36 9.36 0 0 1 4.89 5.94C6.427 4.924 8.13 4.417 9.999 4.417c1.869 0 3.572.507 5.109 1.523A9.359 9.359 0 0 1 18.551 10a9.36 9.36 0 0 1-3.442 4.06c-1.536 1.016-3.239 1.523-5.108 1.523Z"/></svg>',s.appendChild(a),s.appendChild(r),s.appendChild(n),t.appendChild(s),e.parentNode.insertBefore(t,e.nextSibling),a.addEventListener("change",(function(){this.checked?e.type="text":e.type="password"}))}}};let a;class r extends e{onEnter(){super.onEnter()}async onLeave(){if(super.onLeave(),a)try{await a.stopPage()}finally{a=null}}onEnterCompleted(){super.onEnterCompleted(),a=new s}onLeaveCompleted(){super.onLeaveCompleted()}}export{r as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.