import{q as u,b as c}from"./index-Z7dItZLR.js";import{_ as p}from"./TextLink.vue_vue_type_script_setup_true_lang-BdxBmeCc.js";import{_}from"./AppLogoIcon.vue_vue_type_script_setup_true_lang-BbjSNLws.js";import{_ as h}from"./AuthLayout.vue_vue_type_script_setup_true_lang-BdrbOdWi.js";import{d as y,g as m,o as s,w as a,e as r,a as k,k as l,u as o,h as x,j as v,m as b,i as d}from"./app-D_cNhTOt.js";import{L as g}from"./loader-circle-BgpcnRNo.js";import"./createLucideIcon-1FJ9MNCd.js";const t=e=>({url:t.url(e),method:"post"});t.definition={methods:["post"],url:"/email/verification-notification"};t.url=e=>t.definition.url+u(e);t.post=e=>({url:t.url(e),method:"post"});const f=e=>({action:t.url(e),method:"post"});f.post=e=>({action:t.url(e),method:"post"});t.form=f;const V={store:t},w={key:0,class:"mb-4 text-center text-sm font-medium text-green-600"},q=y({__name:"VerifyEmail",props:{status:{}},setup(e){return(C,i)=>(s(),m(h,{title:"Verify email",description:"Please verify your email address by clicking on the link we just emailed to you."},{default:a(()=>[r(o(x),{title:"Email verification"}),e.status==="verification-link-sent"?(s(),k("div",w," A new verification link has been sent to the email address you provided during registration. ")):l("",!0),r(o(v),b(o(V).store.form(),{class:"space-y-6 text-center"}),{default:a(({processing:n})=>[r(o(_),{disabled:n,variant:"secondary"},{default:a(()=>[n?(s(),m(o(g),{key:0,class:"h-4 w-4 animate-spin"})):l("",!0),i[0]||(i[0]=d(" Resend verification email ",-1))]),_:2},1032,["disabled"]),r(p,{href:o(c)(),as:"button",class:"mx-auto block text-sm"},{default:a(()=>[...i[1]||(i[1]=[d(" Log out ",-1)])]),_:1},8,["href"])]),_:1},16)]),_:1}))}});export{q as default};
