1import{e as h,j as t,H as f}from"./app-DP13319Q.js";import{I as g,a as j}from"./input-Du_IreF9.js";import{T as w}from"./text-link-CaiCOl2M.js";import{B as y}from"./button-rFeFNNd5.js";import{L as b}from"./label-CjdjKtaD.js";import{A as v}from"./auth-layout-D4SvDWCh.js";import{M as L}from"./react-tooltip.min-DW3XhwOj.js";import{L as T}from"./loader-circle-C-YIUsb6.js";/* empty css */import"./utils-SWYxlXfx.js";import"./clsx-B-dksMZM.js";import"./index-DGVtPzwd.js";import"./app-logo-icon-B_rIw4ab.js";import"./createLucideIcon-BZKkeQZf.js";function S({status:s,tooltips:o}){const{data:l,setData:n,post:m,processing:r,errors:p}=h({email:""}),d=i=>{i.preventDefault(),m(route("password.email"))},e=(o==null?void 0:o["auth-tooltip"])||[],a={email:"Enter the email associated with your account",button:"Request a password reset link",loginLink:"Go back to the login page"},c=e[9]||e[0]||a.email,u=e[10]||a.button,x=e[11]||a.loginLink;return t.jsxs(v,{title:"Forgot password",description:"Enter your email to receive a password reset link",children:[t.jsx(f,{title:"Forgot password",children:t.jsx("style",{dangerouslySetInnerHTML:{__html:` 2 .react-tooltip { 3 z-index: 99999 !important; 4 opacity: 1 !important; 5 font-size: 12px; 6 padding: 4px 8px; 7 } 8 `}})}),t.jsx(L,{id:"auth-tooltip"}),s&&t.jsx("div",{className:"mb-4 text-center text-sm font-medium text-green-600",children:s}),t.jsxs("div",{className:"space-y-6",children:[t.jsxs("form",{onSubmit:d,children:[t.jsxs("div",{className:"grid gap-2",children:[t.jsx(b,{htmlFor:"email",children:"Email address"}),t.jsx(g,{id:"email",type:"email",name:"email",autoComplete:"off",value:l.email,autoFocus:!0,onChange:i=>n("email",i.target.value),placeholder:"[email protected]","data-tooltip-id":"auth-tooltip","data-tooltip-content":c}),t.jsx(j,{message:p.email})]}),t.jsx("div",{className:"my-6 flex items-center justify-start",children:t.jsxs(y,{className:"w-full",disabled:r,"data-tooltip-id":"auth-tooltip","data-tooltip-content":u,children:[r&&t.jsx(T,{className:"h-4 w-4 animate-spin"}),"Email password reset link"]})})]}),t.jsxs("div",{className:"text-muted-foreground space-x-1 text-center text-sm",children:[t.jsx("span",{children:"Or, return to"}),t.jsx(w,{href:route("login"),"data-tooltip-id":"auth-tooltip","data-tooltip-content":x,children:"log in"})]})]})]})}export{S 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.