import{c as n}from"./chunk-5QUMV2KP.js";import{u as s}from"./chunk-GQAU5ACB.js";import{la as o,pa as r}from"./chunk-ISMRT7VU.js";var h=(()=>{class t{constructor(i,e){this._retailStoreService=i,this._router=e}canActivate(i){let e=i.data.licenses,c=this._retailStoreService.selectedStore?.license?.prefix;return c&&(!e||!e.includes(c))||this._router.createUrlTree(["cabinet"])}static{this.\u0275fac=function(e){return new(e||t)(r(n),r(s))}}static{this.\u0275prov=o({token:t,factory:t.\u0275fac})}}return t})();export{h as a};
//# sourceMappingURL=chunk-4PJWDVYV.js.map
