import{b as c}from"./chunk-YQRXO7LU.js";import{u as n}from"./chunk-Z2AWIQRI.js";import{ia as o,na as r}from"./chunk-C2QKZJOP.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-ZWHIYZH7.js.map
