1import{_ as w}from"./CpGNBnCJ.js";import{_ as x}from"./sKb8kwTb.js";import{f as V,g as b,r as p,h as v,i as U,j as o,w as r,o as g,b as n,k as y,d as k}from"./CZiH3Mk5.js";import{_ as F}from"./sY3uVK6I.js";import{m as B}from"./kQeL-qEn.js";import"./G9ystedT.js";const A=V({__name:"index",setup(E){const{login:i}=b(),l=p(!1),a=v({email:"",password:""}),_=p();async function f(d){var t,s;l.value=!0;const{error:e}=await i(d.data);if(l.value=!1,e.value){const m=B((t=e.value.data)==null?void 0:t.errors);(s=_.value)==null||s.setErrors(m)}}return(d,e)=>{const t=w,s=x,m=y,c=F;return g(),U(c,{ref_key:"form",ref:_,state:o(a),class:"space-y-4",onSubmit:f},{default:r(()=>[n(s,{label:"Email",name:"email",required:""},{default:r(()=>[n(t,{modelValue:o(a).email,"onUpdate:modelValue":e[0]||(e[0]=u=>o(a).email=u),class:"w-full"},null,8,["modelValue"])]),_:1}),n(s,{label:"Password",name:"password",required:""},{default:r(()=>[n(t,{modelValue:o(a).password,"onUpdate:modelValue":e[1]||(e[1]=u=>o(a).password=u),type:"password",class:"w-full"},null,8,["modelValue"])]),_:1}),n(m,{type:"submit",size:"xl",loading:o(l)},{default:r(()=>e[2]||(e[2]=[k(" Submit ")])),_:1},8,["loading"])]),_:1},8,["state"])}}});export{A 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.