import{r as n,L as S,a as s,__tla as u}from"./index-7d5b26d3.js";let e,o,i,c=Promise.all([(()=>{try{return u}catch{}})()]).then(async()=>{e=(t=>(t[t.LOGIN=0]="LOGIN",t[t.REGISTER=1]="REGISTER",t[t.RESET_PASSWORD=2]="RESET_PASSWORD",t[t.MOBILE=3]="MOBILE",t[t.QR_CODE=4]="QR_CODE",t[t.SSO=5]="SSO",t))(e||{});const r=n(0);i=function(){function t(a){r.value=a}return{setLoginState:t,getLoginState:S(()=>r.value),handleBackLogin:function(){t(0)}}},o=function(t){return{validForm:async function(){const a=s(t);if(a)return await a.validate()}}}});export{e as L,c as __tla,o as a,i as u};
