1import{r as c,T as x,f as o,o as l,a as r,u as m,Z as b,w as n,b as s,F as f,k as _,t as g,y as w,m as a}from"./app-Bgf-TuPN.js";import{_ as y}from"./TextInput-BEAqhhsT.js";import{_ as k}from"./Button-DXRPOz_d.js";import{_ as v}from"./AuthLayout-C0askRzT.js";import"./IconEye-Bhd05Qbd.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./CookieConsent-AG_kMxsg.js";const h={class:"w-full max-w-full px-16 sm:max-w-[90%] sm:px-24 md:max-w-[80%] md:px-32 lg:max-w-[70%] lg:px-48 xl:max-w-[60%]"},S={key:0,class:"my-3 font-medium text-success-base sm:my-4"},V={class:"fs-sm sm:fs-md"},E={class:"mt-3 flex flex-col items-center justify-between gap-24 sm:mt-4 sm:gap-32 md:flex-row"},F={key:1,class:"text-center"},T="pb-16 sm:pb-20 md:pb-16",N="pb-6 sm:pb-8",j={__name:"ForgotPassword",props:{status:String},setup(i){const d=c(!1),t=x({email:""}),p=()=>{t.post(route("password.email"),{onSuccess:()=>{d.value=!0}})};return(B,e)=>(l(),o(f,null,[r(m(b),{title:"Forgot password"}),r(v,null,{default:n(()=>[s("div",h,[d.value?(l(),o("div",F,e[3]||(e[3]=[s("h1",{class:"fs-xl mb-16 font-bold sm:fs-2xl sm:mb-24"},"All done!",-1),s("p",{class:"mb-8 fs-sm sm:mb-12 sm:fs-md"},[a(" A password reset link has been sent to "),s("br"),a("your email address. ")],-1),s("p",{class:"fs-sm sm:fs-md"},[a(" Remember to check your Spam folder if "),s("br"),a("you can't find it. ")],-1)]))):(l(),o(f,{key:0},[e[2]||(e[2]=s("div",{class:"text-center"},[s("h1",{class:"fs-xl mb-6 font-bold sm:fs-2xl sm:mb-8"},"Forgot password?"),s("p",{class:"fs-sm sm:fs-md"}," Enter your email, and we'll send you a link to reset it ")],-1)),i.status?(l(),o("div",S,[s("span",V,g(i.status),1)])):_("",!0),s("form",{onSubmit:w(p,["prevent"]),class:"my-32 sm:my-40"},[r(y,{id:"email",modelValue:m(t).email,"onUpdate:modelValue":e[0]||(e[0]=u=>m(t).email=u),name:"email",label:"Email address",type:"email",required:"",serverError:m(t).errors.email,paddingWithoutText:T,paddingWithText:N},null,8,["modelValue","serverError"]),s("div",E,[r(k,{type:"submit",class:"order-2 h-[48px] w-full",color:"action",size:"md",disabled:m(t).processing,loading:m(t).processing},{default:n(()=>e[1]||(e[1]=[a(" Send Reset Link ")])),_:1,__:[1]},8,["disabled","loading"])])],32)],64))])]),_:1})],64))}};export{j 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.