import{$t as e,An as t,Bt as n,Ht as r,Lt as i,Mt as a,Nn as o,Pn as s,Qt as c,Tt as l,Ut as u,Vt as d,Zt as f,_n as p,an as m,en as h,jn as g,jt as _,mn as v,nn as y,on as b,rn as x,wn as S}from"./app-4kCgdoJR.js";var C={class:`mb-4 text-sm text-gray-600 dark:text-gray-400`},w={key:0,class:`mb-4 text-sm font-medium text-green-600 dark:text-green-400`},T={class:`mt-4 flex items-center justify-between`},E={__name:`VerifyEmail`,props:{status:String},setup(E){let D=u(),O=r({}),k=E;v(()=>{D.props.auth.user.email_verified_at&&s.push(i(`home`))});let A=()=>{O.post(i(`verification.send`))},j=e(()=>k.status===`verification-link-sent`);return(e,r)=>(p(),x(c,null,[b(t(n),{title:e.$t(`Email Verification`)},null,8,[`title`]),b(a,null,{logo:S(()=>[b(_)]),default:S(()=>[h(`div`,C,o(e.$t(`Before continuing, 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),j.value?(p(),x(`div`,w,o(e.$t(`A new verification link has been sent to the email address you provided in your profile settings.`)),1)):y(``,!0),h(`form`,{onSubmit:f(A,[`prevent`])},[h(`div`,T,[b(l,{class:g({"opacity-25":t(O).processing}),disabled:t(O).processing},{default:S(()=>[m(o(e.$t(`Resend Verification Email`)),1)]),_:1},8,[`class`,`disabled`]),h(`div`,null,[b(t(d),{href:t(i)(`profile.show`),class:`rounded-md text-sm text-gray-600 underline decoration-dotted underline-offset-8 hover:text-gray-900 hover:decoration-solid dark:text-gray-400 dark:hover:text-gray-100`},{default:S(()=>[m(o(e.$t(`Edit Profile`)),1)]),_:1},8,[`href`]),b(t(d),{as:`button`,method:`post`,href:t(i)(`logout`),class:`ms-2 cursor-pointer rounded-md text-sm text-gray-600 underline decoration-dotted underline-offset-8 hover:text-gray-900 hover:decoration-solid dark:text-gray-400 dark:hover:text-gray-100`},{default:S(()=>[m(o(e.$t(`Log Out`)),1)]),_:1},8,[`href`])])])],32)]),_:1})],64))}};export{E as default};