import{$ as e,C as t,D as n,E as r,I as i,O as a,S as o,U as s,X as c,Z as l,_ as u,a as d,r as f,w as p,x as m}from"./app-DudG_qUS.js";import{t as h}from"./i18n-BEY15gUe.js";import{t as g}from"./GuestLayout-CIH1KSnJ.js";import{n as _,t as v}from"./TextInput-YsHw1EgS.js";import{t as y}from"./InputLabel-BdTHVSUJ.js";import{t as b}from"./PrimaryButton-DqeS2_Dc.js";var x={class:`mb-4 text-sm text-gray-600 dark:text-gray-400`},S={key:0,class:`mb-4 text-sm font-medium text-green-600 dark:text-green-400`},C={class:`mt-4 flex items-center justify-end`},w=a({__name:`ForgotPassword`,props:{status:{}},setup(a){let w=d({email:``}),T=()=>{w.post(route(`password.email`))};return(d,E)=>(i(),o(g,null,{default:s(()=>[n(c(f),{title:c(h)(`Forgot Password`)},null,8,[`title`]),m(`div`,x,e(c(h)(`Forgot your password? No problem. Just let us know your email address and we will email you a password reset link that will allow you to choose a new one.`)),1),a.status?(i(),p(`div`,S,e(a.status),1)):t(``,!0),m(`form`,{onSubmit:u(T,[`prevent`])},[m(`div`,null,[n(y,{for:`email`,value:c(h)(`Email`)},null,8,[`value`]),n(v,{id:`email`,type:`email`,class:`mt-1 block w-full`,modelValue:c(w).email,"onUpdate:modelValue":E[0]||=e=>c(w).email=e,required:``,autofocus:``,autocomplete:`username`},null,8,[`modelValue`]),n(_,{class:`mt-2`,message:c(w).errors.email},null,8,[`message`])]),m(`div`,C,[n(b,{class:l({"opacity-25":c(w).processing}),disabled:c(w).processing},{default:s(()=>[r(e(c(h)(`Email Password Reset Link`)),1)]),_:1},8,[`class`,`disabled`])])],32)]),_:1}))}});export{w as default};