import{c as a}from"./chunk-L7HVTKKS.js";import{u as n}from"./chunk-CO3WTSA4.js";import{ea as s,ja as c}from"./chunk-DYUFV4HF.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-Y4G5PPSS.js.map
