1import{j as B,av as N,as as q,at as D,r as n,ax as w,J as L,M as T,aD as U,am as u,an as _,ao as e,aE as s,aF as c,m as r,aJ as i,aI as m,aH as y,aA as J,b2 as M,aT as Y,aa as j,aU as H,a$ as P,b0 as Q,b1 as $}from"./index-3Bo7eOxK.js";import{c as z}from"./index-L_ELcxGC.js";const p=l=>(P("data-v-c21bf999"),l=l(),Q(),l),G={class:"conn-user"},K={class:"account-block"},O={class:"login-box"},W={class:"title bold"},X={key:0,class:"box-forgot"},Z={class:"title"},ee={class:"form-error"},oe={key:1,class:"box-reset"},te=p(()=>e("div",{class:"flexCenter image"},null,-1)),se=p(()=>e("div",{class:"text-success"}," You already have a ulike account, please click the button to activate it. ",-1)),ae=p(()=>e("div",{class:"tips"},"Return to the sign in page for 3 seconds",-1)),ne={class:"footer"},ce=B({name:"Activeation",__name:"activation",setup(l){const{t:a}=N(),x=q(),f=D(),v=n(!1),I=w({email:[{required:!0,message:"Please enter the account",trigger:"change"}]}),g=n(1),C=n();n();const d=n(""),t=w({email:"",code:"",password:""});function h(){v.value=!0,t.password||(d.value=J("error.password")),M({info:{code:t.code,email:t.email,password:t.password}}).then(o=>{v.value=!1,o.code===200?f.push("/login"):d.value=o.message})}function b({code:o}){o==="Enter"&&h()}L(()=>{window.document.addEventListener("keypress",b);const o=x.query;t.code=o.code,t.email=o.email}),T(()=>{window.document.removeEventListener("keypress",b)});function E(){f.push("/login")}return(o,k)=>{const F=Y,V=j,R=H,S=U("router-link");return u(),_("div",G,[e("div",K,[e("div",O,[e("h1",W,s(c(a)("user.account")),1),g.value==1?(u(),_("div",X,[e("p",Z,s(c(a)("user.activation")),1),r(R,{class:"forgot-form",ref_key:"formForgotRef",ref:C,rules:I,model:o.forgotForm},{default:i(()=>[r(F,{ref:"email",name:"email",required:""},{default:i(()=>[r(z,{modelValue:t.password,"onUpdate:modelValue":k[0]||(k[0]=A=>t.password=A),type:"password"},{default:i(()=>[m(s(c(a)("reset.password")),1)]),_:1},8,["modelValue"])]),_:1},512),r(V,{class:"btn-default mt__30",onClick:h},{default:i(()=>[m(" Submit ")]),_:1}),e("p",ee,s(d.value),1),e("div",{class:"btn-sign",onClick:E},s(c(a)("reset.backToSign")),1)]),_:1}
1,8,["rules","model"])])):y("",!0),g.value==2?(u(),_("div",oe,[te,se,r(S,{class:"btn-default mt__30",to:"/login"},{default:i(()=>[m("Active")]),_:1}),ae])):y("",!0)])]),e("div",ne,[e("p",null,s(c(a)("user.copyright",{year:new Date().getFullYear()})),1)])])}}}),le=$(ce,[["__scopeId","data-v-c21bf999"]]);export{le 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.