import{u as c,c as p,y as g,e as o,b as i,f as a,a as y,s as v,d as t,h as b,o as r,g as h,n as k,q as n,p as x}from"./app-DtilF0jd.js";import{G as _}from"./GuestLayout-BQpY9ERn.js";import{P as w}from"./PrimaryButton-8n0N1KDV.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";import"./DarkModeToggle-wIsj_tj1.js";const V={key:0,class:"mb-4 text-sm font-medium text-green-600"},B={class:"mt-4 flex items-center justify-between"},j={__name:"VerifyEmail",props:{status:{type:String}},setup(u){const d=u,s=c({}),l=()=>{s.post(route("verification.send"))},m=p(()=>d.status==="verification-link-sent");return(f,e)=>(r(),g(_,null,{default:o(()=>[i(t(b),{title:"Email Verification"}),e[2]||(e[2]=a("div",{class:"mb-4 text-sm text-gray-600"}," 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)),m.value?(r(),y("div",V," A new verification link has been sent to the email address you provided during registration. ")):v("",!0),a("form",{onSubmit:h(l,["prevent"])},[a("div",B,[i(w,{class:k({"opacity-25":t(s).processing}),disabled:t(s).processing},{default:o(()=>[...e[0]||(e[0]=[n(" Resend Verification Email ",-1)])]),_:1},8,["class","disabled"]),i(t(x),{href:f.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"},{default:o(()=>[...e[1]||(e[1]=[n("Log Out",-1)])]),_:1},8,["href"])])],32)]),_:1}))}};export{j as default};
