import{_ as i,d as u,a6 as _,j as d,k as l,p,ad as e,aw as v,B as f,o as m,c as w,a5 as E}from"./index.js";const g={class:"w-[100vw] h-[100vh]","element-loading-text":"\u767B\u5F55\u4E2D"},h=u({__name:"index",setup(k){const{loginByToken:a}=_(),{query:c}=d(),{push:o}=l(),{VITE_SECRET_KEY:r}=E();return p(async()=>{try{const t=e.enc.Base64.parse(c.t).toString(e.enc.Utf8),n=e.AES.decrypt(t,r).toString(e.enc.Utf8),{token:s}=JSON.parse(n);await a(s),o("/welcome")}catch{o("/login")}}),(t,n)=>{const s=v("loading");return f((m(),w("div",g,null,512)),[[s,!0]])}}});var S=i(h,[["__file","D:/work/jiesuan/settle-vue3/src/views/accept/index.vue"]]);export{S as default};
