1import{D as t}from"./default-renderer-BZKN5ad1.js";import{b as e}from"./HeaderLogoLetters-DJI_FB9w.js";import{e as s}from"./enhanceAuthKeyboard-DTfFWic9.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 o=class{constructor(){this.initVars(),this.initAnimations(),this.initPage()}initVars(){this.loginForm=document.getElementById("login-form"),this.passwordInput=document.getElementById("password"),this.passwordRevealInput=document.getElementById("password-reveal"),this.teardownAuthKeyboard=null}initAnimations(){}initPage(){var t;this.teardownAuthKeyboard=s((null==(t=this.loginForm)?void 0:t.closest("[data-router-view]"))||this.loginForm||document),this.addListeners()}addListeners(){const t=this;e(t,["togglePasswordReveal","handleFormSubmit"]),this.passwordRevealInput&&this.passwordRevealInput.addEventListener("change",t.togglePasswordReveal),this.loginForm&&this.loginForm.addEventListener("submit",t.handleFormSubmit)}removeListeners(){this.passwordRevealInput&&this.passwordRevealInput.removeEventListener("change",this.togglePasswordReveal),this.loginForm&&this.loginForm.removeEventListener("submit",this.handleFormSubmit)}stopPage(){var t;this.removeListeners(),null==(t=this.teardownAuthKeyboard)||t.call(this),this.teardownAuthKeyboard=null,document.body.style.cursor="default",this.loginForm.classList.remove("submitting")}togglePasswordReveal(t){t.currentTarget.checked?this.passwordInput.type="text":this.passwordInput.type="password"}handleFormSubmit(){document.body.style.cursor="wait",this.loginForm.classList.add("submitting")}};let r;class i extends t{onEnter(){super.onEnter()}async onLeave(){if(super.onLeave(),r)try{await r.stopPage()}finally{r=null}}onEnterCompleted(){super.onEnterCompleted(),r=new o}onLeaveCompleted(){super.onLeaveCompleted()}}export{i 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.