import{d as n}from"./chunk-OC7PGGXC.js";import{u as o}from"./chunk-GQAU5ACB.js";import{la as t,pa as r}from"./chunk-ISMRT7VU.js";var h=(()=>{class i{constructor(s,e){this._permissionService=s,this._router=e}canActivate(s){return s.data.permissions.some(c=>this._permissionService.hasPermissions(c))||this._router.createUrlTree(["cabinet"])}static{this.\u0275fac=function(e){return new(e||i)(r(n),r(o))}}static{this.\u0275prov=t({token:i,factory:i.\u0275fac})}}return i})();export{h as a};
//# sourceMappingURL=chunk-ZQ3VCLAZ.js.map
