1import{u as y}from"./useFbAuth.9a989522.js";import{E as b,g as d,o as t,c as a,j as k,w,k as e,a as o,m as u,v as m,q as _,t as S,l as x,r as M,T as V,n as q}from"./entry.21ccf162.js";import"./composables.06fac200.js";const B={key:0,class:"login-form"},T=["onSubmit"],U=o("button",{class:"submit",type:"submit"},"Log In",-1),A={class:"error-message"},C={key:0},D={key:1},E={key:1,class:"hidden-contents"},F={__name:"Main",setup(I){const{user:p,signIn:v,loadingUser:h}=y(),f=b(()=>{var s;return((s=p.value)==null?void 0:s.email)==="[email protected]"}),n=d("[email protected]"),i=d(""),r=d(""),g=async()=>{try{await v(n.value,i.value)}catch(s){console.log(s),r.value=s.message}};return(s,l)=>(t(),a("main",{class:q(["admin-main",{loading:e(h)}])},[k(V,{name:"fade",mode:"out-in"},{default:w(()=>[e(f)?(t(),a("div",E,[M(s.$slots,"default")])):(t(),a("div",B,[o("form",{onSubmit:x(g,["prevent"]),action:"",class:"login"},[u(o("input",{required:"",class:"email",type:"hidden","onUpdate:modelValue":l[0]||(l[0]=c=>_(n)?n.value=c:null)},null,512),[[m,e(n)]]),u(o("input",{required:"",class:"password",type:"password","onUpdate:modelValue":l[1]||(l[1]=c=>_(i)?i.value=c:null)},null,512),[[m,e(i)]]),U,o("div",A,[e(r)?(t(),a("span",C,S(e(r)),1)):(t(),a("span",D,"Â "))])],40,T)]))]),_:3})],2))}};export{F 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.