import{T as _,A as f,h as g,c as s,a,u as r,b as e,t as n,w as k,e as y,j as v,F as w,g as b,o as i,Z as x,k as V}from"./app-13978987.js";import B from"./LeftBanner-eaf39293.js";import{_ as C}from"./AuthLayout-dbff0a80.js";import"./MobileMenu-4272ee25.js";import"./SeoMeta-91cb18dc.js";import"./ToastrContainer-82d03ccc.js";const E={class:"signin-banner-area signin-banner-main-wrap d-flex align-items-center"},N={class:"container px-5"},T={class:"mb-4"},j={key:0,class:"alert alert-info"},L={key:1,class:"alert alert-success"},S={class:"mb-2 text-center"},A={type:"submit",class:"tp-btn-blue-lg"},M=["width","height"],z=e("circle",{cx:"50",cy:"50",r:"32","stroke-width":"8",stroke:"white","stroke-dasharray":"50.26548245743669 50.26548245743669",fill:"none","stroke-linecap":"round"},[e("animateTransform",{attributeName:"transform",type:"rotate",repeatCount:"indefinite",dur:"1s",keyTimes:"0;1",values:"0 50 50;360 50 50"})],-1),D=[z],F={key:1},O={class:"mt-4 text-center"},P=b({layout:C}),H=Object.assign(P,{__name:"VerifyEmail",props:{status:{type:String},authPages:Object},setup(m){var d;const o=m,u=((d=o.authPages)==null?void 0:d.login)??{},c=_({}),p=()=>{c.post(route("verification.send"))},l=f(()=>o.status==="verification-link-sent");return(t,R)=>{const h=g("Link");return i(),s(w,null,[a(r(x),{title:"Email Verification"}),e("div",E,[a(B,{data:r(u)},null,8,["data"]),e("div",N,[e("h3",T,n(t.trans("Email verification")),1),l.value?(i(),s("p",L,n(t.trans(`A new verification link has been sent to the email address you provided during
                registration.`)),1)):(i(),s("p",j,n(t.trans(`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)),l.value?y("",!0):(i(),s("form",{key:2,onSubmit:k(p,["prevent"])},[e("div",S,[e("button",A,[r(c).processing?(i(),s("svg",{key:0,xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:o.size+"px",height:o.size+"px",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid"},D,8,M)):(i(),s("span",F,n(t.trans("Resend Verification Email")),1))])])],32)),e("div",O,[a(h,{class:"tp-btn-orange",href:t.route("logout"),method:"post",as:"button"},{default:v(()=>[V(n(t.trans("Logout")),1)]),_:1},8,["href"])])])])],64)}}});export{H as default};
