import{T as c,h as g,w as i,a as o,u as t,Z as p,b as n,o as r,c as y,g as v,j as b,n as x,f as a,i as h,p as k}from"./app-z_grtNg1.js";import{_}from"./GuestLayout-BoR5OWsq.js";import{P as w}from"./PrimaryButton-i7WPAeR-.js";import"./_plugin-vue_export-helper-DlAUqK2U.js";const V={key:0,class:"mb-4 font-medium text-sm text-green-600"},B={class:"mt-4 flex items-center justify-between"},S={__name:"VerifyEmail",props:{status:{type:String}},setup(d){const l=d,s=c({}),u=()=>{s.post(route("verification.send"))},m=k(()=>l.status==="verification-link-sent");return(f,e)=>(r(),g(_,null,{default:i(()=>[o(t(p),{title:"Email Verification"}),e[2]||(e[2]=n("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),n("form",{onSubmit:b(u,["prevent"])},[n("div",B,[o(w,{class:x({"opacity-25":t(s).processing}),disabled:t(s).processing},{default:i(()=>[...e[0]||(e[0]=[a(" Resend Verification Email ",-1)])]),_:1},8,["class","disabled"]),o(t(h),{href:f.route("logout"),method:"post",as:"button",class:"underline text-sm text-gray-600 hover:text-gray-900 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},{default:i(()=>[...e[1]||(e[1]=[a("Log Out",-1)])]),_:1},8,["href"])])],32)]),_:1}))}};export{S as default};
