1import{d as _,W as l,P as r,y as e,a3 as t,a4 as a,Q as c,S as f,a1 as h,ad as b,N as x,a5 as g,F as w,a as y,L as m}from"./vue-vendor-Mq39H3jc.js";import{u as v,h as C,l as k}from"./inertia-vendor-CxjDiDt2.js";import{t as A}from"./app-Cp3bbTs6.js";import{_ as $}from"./AuthLayout.vue_vue_type_script_setup_true_lang-CDw6end_.js";import{M as F}from"./mail-D3XXBeNl.js";import{A as N}from"./arrow-left-CItcTzBU.js";import"./charts-vendor-DdmyLwY0.js";import"./Sonner.vue_vue_type_script_setup_true_lang-DCQoMacv.js";import"./reka-ui-DbnIMCoI.js";import"./date-vendor-CZuQNn50.js";import"./index-Df-WxSTq.js";import"./sun-BmCffVva.js";import"./file-text-Cxm-_oIz.js";import"./shield-DmDb6J64.js";import"./globe-CHKYt_wJ.js";const V={class:"space-y-8"},D={class:"text-center"},M={class:"font-display text-2xl font-bold text-white mb-2"},B={class:"text-slate-400"},E={key:0,class:"rounded-lg bg-[#4AC0C0]/10 border border-[#4AC0C0]/20 p-4 text-center text-sm text-[#4AC0C0]"},P={for:"email",class:"block text-sm font-medium text-slate-300 mb-2"},S={key:0,class:"mt-2 text-sm text-[#E9604D]"},L=["disabled"],T={class:"text-center"},Z=_({layout:$,__name:"ForgotPassword",props:{status:{}},setup(n){const s=v({email:""}),i=y(null),p=()=>{s.post("/forgot-password",{onError(){i.value=A("auth.password_email_sent")}})};return(o,d)=>(m(),l(w,null,[r(e(C),{title:"Forgot Password"}),t("div",V,[t("div",D,[t("h1",M,a(o.$t("auth.forgot_password")),1),t("p",B,a(o.$t("auth.forgot_your_password_description")),1)]),n.status||i.value?(m(),l("div",E,a(n.status||i.value),1)):c("",!0),t("form",{onSubmit:f(p,["prevent"]),class:"space-y-5"},[t("div",null,[t("label",P,a(o.$t("auth.label_email")),1),h(t("input",{id:"email","onUpdate:modelValue":d[0]||(d[0]=u=>e(s).email=u),type:"email",required:"",autofocus:"",autocomplete:"email",placeholder:"[email protected]",class:"input-marketing"},null,512),[[b,e(s).email]]),e(s).errors.email?(m(),l("p",S,a(e(s).errors.email),1)):c("",!0)]),t("button",{type:"submit",disabled:e(s).processing||!e(s).isDirty,class:"w-full btn-marketing-primary flex items-center justify-center gap-2 disabled:opacity-50 disabled:cursor-not-allowed"},[r(e(F),{class:"w-4 h-4"}),t("span",null,a(o.$t("auth.email_password_reset_link")),1)],8,L)],32),t("div",T,[r(e(k),{href:"/login",class:"inline-flex items-center gap-2 text-sm text-slate-400 hover:text-[#4AC0C0] transition-colors"},{default:x(()=>[r(e(N),{class:"w-4 h-4"}),g(" "+a(o.$t("auth.back_to_login")),1)]),_:1})])])],64))}});export{Z 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.