import{f as n,a0 as c,x as i,q as u}from"./entry.cc52a3f2.js";const f=n({async setup(){let e,t;const r=c(),s={redirect:""},{redirect:o}=r.currentRoute.value.query;o&&typeof o=="string"&&!o.includes("logout")&&(s.redirect=o);const a=i();[e,t]=u(()=>a.logout()),await e,t(),[e,t]=u(()=>r.push({path:"/login",query:s})),await e,t()}},"$uZ5b4v8paw");export{f as default};
