import{d as c}from"./chunk-MDTKDCI6.js";import{u as n}from"./chunk-NDLDFKR2.js";import{fa as o,ka as r}from"./chunk-PVUKHE45.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-MMKOWPWI.js.map
