1import{a0 as d,K as f,l as v,M as g,a as n,e as h,w as i,N as k,b as l,y as _,d as o,A as y,r as x,v as w}from"./CoJu3CGg.js";import C from"./Bj2uZ3ID.js";const A={key:0},B={key:1},D=d({__name:"[token]",async setup(E){let e,r;const m=f(),s=v(),{data:a,error:c}=([e,r]=g(()=>w(`email-change-token-${s.params.token}`,()=>m.verifyEmailChange(s.params.token),{server:!1})),e=await e,r(),e);c.value&&console.warn("[email-change] verifyEmailChange API error:",c.value);const u=x(()=>(a.value?.success||console.warn("[email-change] verifyEmailChange failed, response:",a.value),!!a.value?.success));return(N,S)=>{const t=y,p=C;return n(),h(p,{id:"email-change-verify",color:"primary-dark"},{header:i(()=>[o(t,{tag:"page.email_change.verification.title"})]),default:i(()=>[k(u)?(n(),l("div",A,[_("div",null,[o(t,{tag:"page.email_change.verification.text"})])])):(n(),l("div",B,[_("div",null,[o(t,{tag:"page.email_change.verification.error"})])]))]),_:1})}}});export{D as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.