import{d as c}from"./chunk-CZPAHUJN.js";import{u as n}from"./chunk-JLM6CY35.js";import{fa as o,ka as r}from"./chunk-4HRPSKID.js";var u=(()=>{let i=class i{constructor(s,e){this._permissionService=s,this._router=e}canActivate(s){return s.data.permissions.some(a=>this._permissionService.hasPermissions(a))||this._router.createUrlTree(["cabinet"])}};i.\u0275fac=function(e){return new(e||i)(r(c),r(n))},i.\u0275prov=o({token:i,factory:i.\u0275fac});let t=i;return t})();export{u as a};
//# sourceMappingURL=chunk-6IHNMCNK.js.map
