import{C as e,D as t,E as n,F as r,H as i,Q as a,S as o,T as s,X as c,Y as l,b as u,g as d,i as f,n as p,r as m,x as h,y as g}from"./app-CK22EIEJ.js";import{t as _}from"./i18n-Cp7z6MeW.js";import{t as v}from"./GuestLayout-C4Zy3QTc.js";import{t as y}from"./PrimaryButton-Bnf854uX.js";var b={class:`mb-4 text-sm text-gray-600 dark:text-gray-400`},x={key:0,class:`mb-4 text-sm font-medium text-green-600 dark:text-green-400`},S={class:`mt-4 flex items-center justify-between`},C=t({__name:`VerifyEmail`,props:{status:{}},setup(t){let C=t,w=f({}),T=()=>{w.post(route(`verification.send`))},E=g(()=>C.status===`verification-link-sent`);return(t,f)=>(r(),h(v,null,{default:i(()=>[n(l(p),{title:l(_)(`Email Verification`)},null,8,[`title`]),u(`div`,b,a(l(_)(`Thanks for signing up! Before getting started, could you verify your email address by clicking on the link we just emailed to you? If you didn't receive the email, we will gladly send you another.`)),1),E.value?(r(),e(`div`,x,a(l(_)(`A new verification link has been sent to the email address you provided during registration.`)),1)):o(``,!0),u(`form`,{onSubmit:d(T,[`prevent`])},[u(`div`,S,[n(y,{class:c({"opacity-25":l(w).processing}),disabled:l(w).processing},{default:i(()=>[s(a(l(_)(`Resend Verification Email`)),1)]),_:1},8,[`class`,`disabled`]),n(l(m),{href:t.route(`logout`),method:`post`,as:`button`,class:`rounded-md text-sm text-gray-600 underline hover:text-gray-900 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2 dark:text-gray-400 dark:hover:text-gray-100 dark:focus:ring-offset-gray-800`},{default:i(()=>[s(a(l(_)(`Log Out`)),1)]),_:1},8,[`href`])])],32)]),_:1}))}});export{C as default};