import{s as v,t as F,r as e,o as V,a as h,f as t,l as n,F as k,d as m,e as u,x as c,y as p}from"./app-44623493.js";const q={class:"space-y-6"},E={class:"flex items-center justify-between"},d="auth/register/",x={__name:"EmailRequest",setup(L){const i=v(d),l={email:""},r=F({...l});return(o,a)=>{const _=e("GuestHeader"),f=e("BaseInput"),g=e("BaseLink"),B=e("BaseButton"),b=e("FormAction"),y=e("ParentTransition");return V(),h(k,null,[t(_,{label:o.$trans("auth.register.email_request")},null,8,["label"]),t(y,{appear:"",visibility:!0},{default:n(()=>[t(b,{"no-card":"","no-action-button":"","init-url":d,"init-form":l,form:r,action:"emailRequest",redirect:"Login"},{default:n(()=>[m("div",q,[t(f,{type:"text","leading-icon":"fas fa-envelope",modelValue:r.email,"onUpdate:modelValue":a[0]||(a[0]=s=>r.email=s),name:"email",label:o.$trans("auth.register.props.email"),error:u(i).email,"onUpdate:error":a[1]||(a[1]=s=>u(i).email=s),autofocus:""},null,8,["modelValue","label","error"]),m("div",E,[t(g,{to:"Login"},{default:n(()=>[c(p(o.$trans("auth.login.login_title")),1)]),_:1})]),t(B,{type:"submit",block:""},{default:n(()=>[c(p(o.$trans("auth.register.email_request")),1)]),_:1})])]),_:1},8,["form"])]),_:1})],64)}}};export{x as default};
