import{C as e,D as t,E as n,L as r,Q as i,S as a,W as o,Z as s,_ as c,a as l,b as u,et as d,i as f,k as p,r as m,w as h,x as g}from"./app-BeI78aLo.js";import{t as _}from"./i18n-BJRgH1AC.js";import{t as v}from"./GuestLayout-BHw8db_-.js";import{t as y}from"./PrimaryButton-BkeMikpY.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=p({__name:`VerifyEmail`,props:{status:{}},setup(p){let C=p,w=l({}),T=()=>{w.post(route(`verification.send`))},E=u(()=>C.status===`verification-link-sent`);return(l,u)=>(r(),a(v,null,{default:o(()=>[t(s(m),{title:s(_)(`Email Verification`)},null,8,[`title`]),g(`div`,b,d(s(_)(`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(),h(`div`,x,d(s(_)(`A new verification link has been sent to the email address you provided during registration.`)),1)):e(``,!0),g(`form`,{onSubmit:c(T,[`prevent`])},[g(`div`,S,[t(y,{class:i({"opacity-25":s(w).processing}),disabled:s(w).processing},{default:o(()=>[n(d(s(_)(`Resend Verification Email`)),1)]),_:1},8,[`class`,`disabled`]),t(s(f),{href:l.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:o(()=>[n(d(s(_)(`Log Out`)),1)]),_:1},8,[`href`])])],32)]),_:1}))}});export{C as default};