import{a as e,i as t,n,r}from"./createLucideIcon-XxmMb-o2.js";import{t as i}from"./button-DM0MIgIC.js";import{f as a}from"./app-BvqieymH.js";import{t as o}from"./spinner-CWH4EzOz.js";import{t as s}from"./text-link-BZYHdUNi.js";import{t as c}from"./verification-BOcn3HIw.js";var l=r(),u=n();function d(n){let r=(0,l.c)(6),{status:i}=n,a;r[0]===Symbol.for(`react.memo_cache_sentinel`)?(a=(0,u.jsx)(e,{title:`Email verification`}),r[0]=a):a=r[0];let o;r[1]===i?o=r[2]:(o=i===`verification-link-sent`&&(0,u.jsx)(`div`,{className:`mb-4 text-center text-sm font-medium text-green-600`,children:`A new verification link has been sent to the email address you provided during registration.`}),r[1]=i,r[2]=o);let s;r[3]===Symbol.for(`react.memo_cache_sentinel`)?(s=(0,u.jsx)(t,{...c.form(),className:`space-y-6 text-center`,children:f}),r[3]=s):s=r[3];let d;return r[4]===o?d=r[5]:(d=(0,u.jsxs)(u.Fragment,{children:[a,o,s]}),r[4]=o,r[5]=d),d}function f(e){let{processing:t}=e;return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsxs)(i,{disabled:t,variant:`secondary`,children:[t&&(0,u.jsx)(o,{}),`Resend verification email`]}),(0,u.jsx)(s,{href:a(),className:`mx-auto block text-sm`,children:`Log out`})]})}d.layout={title:`Email verification`,description:`Please verify your email address by clicking on the link we just emailed to you.`};export{d as default};