1import{A as l}from"./DwQJ6gv8.js";import{g as c}from"./B6g63lXX.js";import{g as o}from"./BfJmFP8s.js";import{a5 as m,V as u,W as d,L as p,b5 as x,as as _,at as f,aP as v,ar as g,au as k,ao as C,r as A}from"./C7796JS1.js";import"./_cs_qknm.js";const b=m({__name:"index",setup(y){u({title:"Failed"});const r=d(),n=p(),{t,locale:i}=x(),a=A();async function s(){try{console.info("Resend Activation Code...");const{email:e}=r.query;e?(await l.resendSignUp(e),console.info("Activation Code resent successfully."),await n.push("/email-activation/you-got-mail")):(console.error("Missing username/email"),a.value={message:t("email_activation.expired.errors.email_missing.message"),linkText:t("email_activation.expired.errors.email_missing.link_text"),linkAction:o(i.value)})}catch(e){console.error(e),a.value={message:t("email_activation.expired.errors.default.message"),linkText:t("email_activation.expired.errors.default.link_text"),linkAction:o(i.value)}}}return(e,h)=>(g(),_(v,{"data-test":"qr-email-activation-expired-page"},{default:f(()=>[k(c,{"data-test":"qr-email-activation-expired-card","cody-image-key":"cablesNoConnection",title:e.$t("email_activation.expired.title"),"main-text":e.$t("email_activation.expired.text"),"action-text":e.$t("email_activation.expired.action_text"),error:C(a),onActionClicked:s},null,8,["title","main-text","action-text","error"])]),_:1}))}});export{b 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.