1/*! For license information please see 5511.c4dd1d12.chunk.js.LICENSE.txt */ 2"use strict";(globalThis.webpackChunkfrontend=globalThis.webpackChunkfrontend||[]).push([[5511],{91140(e,a,s){s.d(a,{BT:()=>c,Wu:()=>o,ZB:()=>d,Zp:()=>l,aR:()=>i,wL:()=>m});var t=s(65043),r=s(99766),n=s(70579);const l=t.forwardRef((e,a)=>{let{className:s,...t}=e;return(0,n.jsx)("div",{ref:a,className:(0,r.cn)("rounded-xl border bg-card text-card-foreground shadow",s),...t})});l.displayName="Card";const i=t.forwardRef((e,a)=>{let{className:s,...t}=e;return(0,n.jsx)("div",{ref:a,className:(0,r.cn)("flex flex-col space-y-1.5 p-6",s),...t})});i.displayName="CardHeader";const d=t.forwardRef((e,a)=>{let{className:s,...t}=e;return(0,n.jsx)("div",{ref:a,className:(0,r.cn)("font-semibold leading-none tracking-tight",s),...t})});d.displayName="CardTitle";const c=t.forwardRef((e,a)=>{let{className:s,...t}=e;return(0,n.jsx)("div",{ref:a,className:(0,r.cn)("text-sm text-muted-foreground",s),...t})});c.displayName="CardDescription";const o=t.forwardRef((e,a)=>{let{className:s,...t}=e;return(0,n.jsx)("div",{ref:a,className:(0,r.cn)("p-6 pt-0",s),...t})});o.displayName="CardContent";const m=t.forwardRef((e,a)=>{let{className:s,...t}=e;return(0,n.jsx)("div",{ref:a,className:(0,r.cn)("flex items-center p-6 pt-0",s),...t})});m.displayName="CardFooter"},92264(e,a,s){s.d(a,{p:()=>l});var t=s(65043),r=s(99766),n=s(70579);const l=t.forwardRef((e,a)=>{let{className:s,type:t,...l}=e;return(0,n.jsx)("input",{type:t,className:(0,r.cn)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-base shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",s),ref:a,...l})});l.displayName="Input"},59938(e,a,s){s.d(a,{J:()=>c});var t=s(65043),r=s(65131),n=s(10917),l=s(99766),i=s(70579);const d=(0,n.F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),c=t.forwardRef((e,a)=>{let{className:s,...t}=e;return(0,i.jsx)(r.b,{ref:a,className:(0,l.cn)(d(),s),...t})});c.displayName=r.b.displayName},45511(e,a,s){s.r(a),s.d(a,{default:()=>N});var t=s(65043),r=s(45621),n=s(73824),l=s(4980),i=s(56328),d=s(91140),c=s(13390),o=s(92264),m=s(59938),u=s(82054),f=s(22024),x=s(65469),h=s(35327),p=s(70579);const N=()=>{const[e,a]=(0,t.useState)(""),[s,N]=(0,t.useState)(!1),[y,b]=(0,t.useState)(!1);return y?(0,p.jsx)("div",{className:"min-h-screen bg-gradient-to-b from-background to-muted/30 flex items-center justify-center p-4",children:(0,p.jsxs)(d.Zp,{className:"w-full max-w-md","data-testid":"resend-success-card",children:[(0,p.jsxs)(d.aR,{className:"text-center",children:[(0,p.jsx)("div",{className:"mx-auto mb-4 w-16 h-16 rounded-full bg-green-100 flex items-center justify-center",children:(0,p.jsx)(u.A,{className:"w-8 h-8 text-green-600"})}),(0,p.jsx)(d.ZB,{children:"Check Your Email"}),(0,p.jsxs)(d.BT,{children:["If an account exists with ",(0,p.jsx)("strong",{children:e})," and hasn't been verified yet, you'll receive a new verification link shortly."]})]}),(0,p.jsxs)(d.Wu,{className:"space-y-4",children:[(0,p.jsx)("p",{className:"text-sm text-muted-foreground text-center",children:"Remember to check your spam folder if you don't see the email in your inbox."}),(0,p.jsxs)("div",{className:"flex gap-3",children:[(0,p.jsx)(c.$,{variant:"outline",className:"flex-1",onClick:()=>b(!1),children:"Send Again"}),(0,p.jsx)(r.N_,{to:"/login",className:"flex-1",children:(0,p.jsx)(c.$,{className:"w-full",children:"Back to Login"})})]})]})]})}):(0,p.jsx)("div",{className:"min-h-screen bg-gradient-to-b from-background to-muted/30 flex items-center justify-center p-4",children:(0,p.jsxs)(d.Zp,{className:"w-full max-w-md","data-testid":"resend-verification-card",children:[(0,p.jsxs)(d.aR,{className:"text-center",children:[(0,p.jsx)("div",{className:"mx-auto mb-4 w-16 h-16 rounded-full bg-primary/10 flex items-center justify-center",children:(0,p.jsx)(h.A,{className:"w-8 h-8 text-primary"})}
2),(0,p.jsx)(d.ZB,{children:"Resend Verification Email"}),(0,p.jsx)(d.BT,{children:"Enter your email address and we'll send you a new verification link."})]}),(0,p.jsx)(d.Wu,{children:(0,p.jsxs)("form",{onSubmit:async a=>{a.preventDefault(),N(!0);try{await l.A.post(`${n.nC}/auth/resend-verification`,{email:e}),b(!0),i.oR.success("If your email exists and is unverified, a new link has been sent!")}catch(r){var s,t;i.oR.error((null===(s=r.response)||void 0===s||null===(t=s.data)||void 0===t?void 0:t.detail)||"Failed to send verification email")}finally{N(!1)}},className:"space-y-4",children:[(0,p.jsxs)("div",{className:"space-y-2",children:[(0,p.jsx)(m.J,{htmlFor:"email",children:"Email Address"}),(0,p.jsx)(o.p,{id:"email",type:"email",placeholder:"[email protected]",value:e,onChange:e=>a(e.target.value),required:!0,"data-testid":"resend-email-input"})]}),(0,p.jsx)(c.$,{type:"submit",className:"w-full",disabled:s,"data-testid":"resend-submit-btn",children:s?(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(f.A,{className:"w-4 h-4 mr-2 animate-spin"}),"Sending..."]}):(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)(h.A,{className:"w-4 h-4 mr-2"}),"Send Verification Link"]})}),(0,p.jsx)("div",{className:"text-center",children:(0,p.jsxs)(r.N_,{to:"/login",className:"text-sm text-muted-foreground hover:text-primary inline-flex items-center",children:[(0,p.jsx)(x.A,{className:"w-4 h-4 mr-1"}),"Back to Login"]})})]})})]})})}},65469(e,a,s){s.d(a,{A:()=>t});const t=(0,s(77784).A)("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},82054(e,a,s){s.d(a,{A:()=>t});const t=(0,s(77784).A)("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},22024(e,a,s){s.d(a,{A:()=>t});const t=(0,s(77784).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},35327(e,a,s){s.d(a,{A:()=>t});const t=(0,s(77784).A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]])},65131(e,a,s){s.d(a,{b:()=>d});var t=s(65043),r=(s(97950),s(16851)),n=s(70579),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,a)=>{const s=(0,r.TL)(`Primitive.${a}`),l=t.forwardRef((e,t)=>{const{asChild:r,...l}=e,i=r?s:a;return"undefined"!==typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,n.jsx)(i,{...l,ref:t})});return l.displayName=`Primitive.${a}`,{...e,[a]:l}},{});var i=t.forwardRef((e,a)=>(0,n.jsx)(l.label,{...e,ref:a,onMouseDown:a=>{a.target.closest("button, input, select, textarea")||(e.onMouseDown?.(a),!a.defaultPrevented&&a.detail>1&&a.preventDefault())}}));i.displayName="Label";var d=i}}]); 3//# sourceMappingURL=5511.c4dd1d12.chunk.js.map
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.