import{u,y as c,e as l,b as s,f as o,a as d,s as p,d as t,h as f,o as i,t as g,g as y,n as _,q as b}from"./app-DtilF0jd.js";import{G as x}from"./GuestLayout-BQpY9ERn.js";import{_ as v,b as k,a as V}from"./InputError-CGryjV6E.js";import{P as w}from"./PrimaryButton-8n0N1KDV.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./DarkModeToggle-wIsj_tj1.js";const B={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"},F={__name:"ForgotPassword",props:{status:{type:String}},setup(r){const e=u({email:""}),m=()=>{e.post(route("password.email"))};return(N,a)=>(i(),c(x,null,{default:l(()=>[s(t(f),{title:"Recuperar Contraseña"}),a[2]||(a[2]=o("div",{class:"mb-4 text-sm text-gray-600 dark:text-gray-400"}," ¿Olvidaste tu contraseña? No hay problema. Solo indícanos tu correo electrónico y te enviaremos un enlace para restablecer tu contraseña que te permitirá elegir una nueva. ",-1)),r.status?(i(),d("div",B,g(r.status),1)):p("",!0),o("form",{onSubmit:y(m,["prevent"])},[o("div",null,[s(v,{for:"email",value:"Correo Electrónico"}),s(k,{id:"email",type:"email",class:"mt-1 block w-full",modelValue:t(e).email,"onUpdate:modelValue":a[0]||(a[0]=n=>t(e).email=n),required:"",autofocus:"",autocomplete:"username",placeholder:"tu@correo.com"},null,8,["modelValue"]),s(V,{class:"mt-2",message:t(e).errors.email},null,8,["message"])]),o("div",C,[s(w,{class:_({"opacity-25":t(e).processing}),disabled:t(e).processing},{default:l(()=>[...a[1]||(a[1]=[b(" Enviar Enlace de Recuperación ",-1)])]),_:1},8,["class","disabled"])])],32)]),_:1}))}};export{F as default};
