import{r as o}from"./react-27201c5d.js";import{m as a,a as s,F as t}from"./index-a4853d8f.js";var i=function(n){return(n+1)%1e6};function u(){var n=o.useReducer(i,0),e=n[1];return e}const x=({children:n})=>{const e=a(),r=o.useMemo(()=>e.super_admin,[e.permissions,e.super_admin]);return s(t,{children:r?s(t,{children:n}):""})};export{x as M,u};
