1import{r as l,j as e,H as c,a as d}from"./index.esm-BxWFwCRV.js";import{T as u}from"./text-link-D1LoEXep.js";import{B as f}from"./button-C-SSWUAC.js";import{u as p,s as x}from"./index-Xb7uK2Sk.js";import{A as h}from"./auth-layout-DObfwz7C.js";import{a as j}from"./index-wW2BnLNW.js";import{L as y}from"./loader-circle-B8EBsjRh.js";import"./index-DSDuzvrg.js";import"./index-C_SHgnPd.js";import"./app-logo-icon-CicL3Kjq.js";import"./createLucideIcon-CDNZ6-WK.js";function S({status:i}){const[t,s]=l.useState(!1),{isOnCooldown:o,startCooldown:r,formatCooldown:a}=p(),n=m=>{m.preventDefault(),s(!0),d.post(x.url(),{},{onSuccess:()=>{r()},onFinish:()=>{s(!1)}})};return e.jsxs(h,{title:"Verify email",description:"Please verify your email address by clicking on the link we just emailed to you.",children:[e.jsx(c,{title:"Email verification"}),i==="verification-link-sent"&&e.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."}),e.jsxs("form",{onSubmit:n,className:"space-y-6 text-center",children:[e.jsxs(f,{disabled:t||o,variant:"secondary",children:[t&&e.jsx(y,{className:"h-4 w-4 animate-spin"}),o?a():"Resend verification email"]}),e.jsx(u,{href:j(),method:"post",className:"mx-auto block text-sm",children:"Log out"})]})]})}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.