import{J as i,z as t,dI as a}from"./index-BP6bNRoi.js";const{t:c}=i();function m(r){if(r&&r instanceof Array&&r.length>0){const{wsCache:s}=t(),e=r,n="*:*:*";return!!s.get(a.USER).permissions.some(o=>n===o||e.includes(o))}return console.error(c("permission.hasPermission")),!1}export{m as c};