import{c as m,j as t,F as f,H as c}from"./app-7TQoRINg.js";import{a as p}from"./index-DK5ap2Wf.js";import{e as u}from"./index-J1E1BYZj.js";import{I as x}from"./input-error-ClLhWBkX.js";import{T as b}from"./text-link-Bk8zYCRL.js";import{B as h}from"./button-B14hYptM.js";import{I as y}from"./input-v8Dzddeo.js";import{L as g}from"./label-CgA_it3S.js";import{A as j}from"./auth-layout-CDOIDAEG.js";import{L as w}from"./loader-circle-BR-UEWuS.js";/* empty css            */import"./index-BCuqvGO9.js";import"./app-logo-icon-D-MBezm7.js";import"./createLucideIcon-COcR6tBl.js";(function(){try{var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};s.SENTRY_RELEASE={id:"b85bb7b5dc83f935fd7d75fdf93418434f2e0da2"}}catch{}})();try{(function(){var s=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new s.Error().stack;e&&(s._sentryDebugIds=s._sentryDebugIds||{},s._sentryDebugIds[e]="2d6cfdf9-88f7-4fae-9e94-0191aeb89e3d",s._sentryDebugIdIdentifier="sentry-dbid-2d6cfdf9-88f7-4fae-9e94-0191aeb89e3d")})()}catch{}function H(s){const e=m.c(8),{status:r}=s;let i;e[0]===Symbol.for("react.memo_cache_sentinel")?(i=t.jsx(c,{title:"Forgot password"}),e[0]=i):i=e[0];let o;e[1]!==r?(o=r&&t.jsx("div",{className:"mb-4 text-center text-sm font-medium text-green-600",children:r}),e[1]=r,e[2]=o):o=e[2];let a;e[3]===Symbol.for("react.memo_cache_sentinel")?(a=t.jsx(f,{...u.form(),children:_}),e[3]=a):a=e[3];let l;e[4]===Symbol.for("react.memo_cache_sentinel")?(l=t.jsx("span",{children:"Or, return to"}),e[4]=l):l=e[4];let n;e[5]===Symbol.for("react.memo_cache_sentinel")?(n=t.jsxs("div",{className:"space-y-6",children:[a,t.jsxs("div",{className:"space-x-1 text-center text-sm text-muted-foreground",children:[l,t.jsx(b,{href:p(),children:"log in"})]})]}),e[5]=n):n=e[5];let d;return e[6]!==o?(d=t.jsxs(j,{title:"Forgot password",description:"Enter your email to receive a password reset link",children:[i,o,n]}),e[6]=o,e[7]=d):d=e[7],d}function _(s){const{processing:e,errors:r}=s;return t.jsxs(t.Fragment,{children:[t.jsxs("div",{className:"grid gap-2",children:[t.jsx(g,{htmlFor:"email",children:"Email address"}),t.jsx(y,{id:"email",type:"email",name:"email",autoComplete:"off",autoFocus:!0,placeholder:"email@example.com"}),t.jsx(x,{message:r.email})]}),t.jsx("div",{className:"my-6 flex items-center justify-start",children:t.jsxs(h,{className:"w-full",disabled:e,"data-test":"email-password-reset-link-button",children:[e&&t.jsx(w,{className:"h-4 w-4 animate-spin"}),"Email password reset link"]})})]})}export{H as default};
//# sourceMappingURL=forgot-password-BuO8aAU1.js.map
