import{W as n,j as e,Y as d}from"./app-BAHAOwU3.js";import{G as u}from"./guest-layout-g1xwyawt.js";import{I as c}from"./input-CeK7CEQL.js";import{I as p}from"./input-error-Be2KxtIS.js";import{B as x}from"./button-T-Jxhehc.js";import{C as j,a as f,b as h,c as w,d as g}from"./card-pClq6asL.js";function N({status:a}){const{data:r,setData:o,post:t,processing:i,errors:l}=n({email:""}),m=s=>{s.preventDefault(),t(route("password.email"))};return e.jsxs(u,{children:[e.jsx(d,{title:"Forgot Password"}),e.jsx("form",{onSubmit:m,children:e.jsxs(j,{children:[e.jsx(f,{children:e.jsx(h,{children:"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."})}),e.jsxs(w,{children:[a&&e.jsx("div",{className:"mb-4 font-medium text-sm text-green-600",children:a}),e.jsx(c,{id:"email",type:"email",name:"email",placeholder:"Your email",value:r.email,onChange:s=>o("email",s.target.value)}),e.jsx(p,{message:l.email,className:"mt-2"})]}),e.jsx(g,{className:"flex justify-end",children:e.jsx(x,{disabled:i,children:"Email Password Reset Link"})})]})})]})}export{N as default};
