import{h as c,m,u as p,z as _,v as d,r as t,o as f,a as h,f as n,l as v,F as g}from"./app-44623493.js";const b={__name:"EmailVerification",setup(k){const s=c(),o=m(),r=p(),e=_(null);return d(()=>{e.value=!0,s.dispatch("auth/register/emailVerification",{token:r.params.token}).then(a=>{e.value=!1}).catch(a=>{e.value=!1}),o.push({name:"Login"})}),(a,B)=>{const i=t("GuestHeader"),l=t("BaseCard"),u=t("ParentTransition");return f(),h(g,null,[n(i,{label:a.$trans("auth.register.email_verification")},null,8,["label"]),n(u,{appear:"",visibility:!0},{default:v(()=>[n(l,{"is-loading":e.value},null,8,["is-loading"])]),_:1})],64)}}};export{b as default};
