import{c as a}from"./chunk-ZJ56VDA3.js";import{u as n}from"./chunk-JLM6CY35.js";import{fa as s,ka as c}from"./chunk-4HRPSKID.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-DP3J4ZIO.js.map
