import{c as a}from"./chunk-Z6SX4HYB.js";import{u as n}from"./chunk-NDLDFKR2.js";import{fa as s,ka as c}from"./chunk-PVUKHE45.js";var m=(()=>{let e=class e{constructor(i,t){this._retailStoreService=i,this._router=t}canActivate(i){let t=i.data.licenses,o=this._retailStoreService.selectedStore?.license?.prefix;return o&&(!t||!t.includes(o))||this._router.createUrlTree(["cabinet"])}};e.\u0275fac=function(t){return new(t||e)(c(a),c(n))},e.\u0275prov=s({token:e,factory:e.\u0275fac});let r=e;return r})();export{m as a};
//# sourceMappingURL=chunk-BMROS2Y7.js.map
