import{j as e}from"./index-DiwDH9aE.js";import{b as a}from"./multiUserApiClient-CKPzIhIr.js";const i=({permission:t=null,permissions:r=null,any:n=!1,fallback:u=null,children:l})=>(!t&&!r?!0:t?a.hasPermission(t):r&&Array.isArray(r)&&r.length>0?n?a.hasAnyPermission(r):a.hasAllPermissions(r):!1)?e.jsx(e.Fragment,{children:l}):u||null;export{i as C};
