permission-1fb7093b.js 387 B

1
  1. import{h as c,c8 as i,c9 as l,__tla as m}from"./index-297c97b3.js";let t,_=Promise.all([(()=>{try{return m}catch{}})()]).then(async()=>{const{t:s}=c();t=function(r){if(r&&r instanceof Array&&r.length>0){const{wsCache:n}=i(),o=r,a="*:*:*";return!!n.get(l.USER).permissions.some(e=>a===e||o.includes(e))}return console.error(s("permission.hasPermission")),!1}});export{_ as __tla,t as c};