import{a as r,w as s,m as u}from"./entry.e097670d.js";const c=r({async setup(){const e=s(),o={redirect:""},{redirect:t}=e.currentRoute.value.query;t&&typeof t=="string"&&!t.includes("logout")&&(o.redirect=t),await u().logout(),await e.push({path:"/login",query:o})}});export{c as default};
