import{U as o,r as e,a4 as a,G as s,j as t,b as l,q as r,I as i,h as n,o as m,V as u}from"./vendor-jA_NIjzi.js";import{H as v}from"./Header-X_QfKFhH.js";import{P as p}from"./email-list-j-_FH3Mf.js";import{_ as d,u as f}from"./common-store-kFD1YPwN.js";import{V as c}from"./common-utils-RDWuRZ1M.js";/* empty css              */import"./SvgIcon-a1Rg7hQY.js";import"./Auto Layout Horizontal--Hhpreri.js";import"./vendor-html2canvas-6F43d9AR.js";import"./useCount-2hEguuHI.js";import"./popUpDialog-XAGVjhm2.js";import"./BtnClose-8jXpWY6_.js";import"./vendor-mqtt-lYGapirz.js";import"./vendor-crypto-Vtl7-GZS.js";const j={class:"forgotPassword"},g={class:"forgotPassword-item"},h=d({__name:"index",setup(d){const{t:h}=o(),w=e("none"),_=a(),k=e(null),y=e(1),P=s((()=>2==+y.value?h("忘记登录密码"):h("设置新密码"))),V=f(),{cfg:b}=c();switch(b.forgetLoginPasswordType){case 1:w.value="phone";break;case 2:w.value="email";break;case 3:w.value="name";break;default:w.value="none"}const I=()=>{var o,e;return 2===k.value.step?_.go(-1):(null==(o=k.value)?void 0:o.step)>1?(y.value=(null==(e=k.value)?void 0:e.step)-1,void(k.value.step=y.value)):_.go(-1)};return t((()=>{(async()=>{var o;(null==(o=null==V?void 0:V.userinfo)?void 0:o.token)&&V.getWalletInfo()})()})),(o,e)=>{const a=u;return m(),l("div",j,[r(v,{title:P.value,isLeftShow:!1,isRightShow:!1},{left:i((()=>[r(a,{name:"arrow-left",onClick:I})])),_:1},8,["title"]),n("div",g,[r(p,{ref_key:"listRef",ref:k,mod:w.value,name:"forgotPassword",modelValue:y.value,"onUpdate:modelValue":e[0]||(e[0]=o=>y.value=o)},null,8,["mod","modelValue"])])])}}},[["__scopeId","data-v-c0598012"],["__file","index.vue"]]);export{h as default};
