1import{a_ as o,a$ as u,a1 as n}from"./DsBqIO5m.js";import{u as d}from"./u5C6uZLb.js";import{g as m}from"./Dv4m7iBK.js";import"./BporYn2C.js";const h=o(async r=>{let e,t;const a=r.meta.permission;if(!a)return;const i=d(),s=([e,t]=u(()=>c(i)),e=await e,t(),e);if(!s)return n({path:"/auth",query:{redirect:r.fullPath}});if(a==="admin"&&!s.is_admin)return n("/panel/dashboard")});async function c(r){if(r.userLoggedIN&&r.hasME())return r.getME;try{const e=await m();return e.data?(r.addME(e.data),e.data):null}catch{return null}}export{h 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.