import{b as c}from"./chunk-F5USZ5EU.js";import{u as n}from"./chunk-CO3WTSA4.js";import{ea as o,ja as r}from"./chunk-DYUFV4HF.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-DJMKFWJ6.js.map
