import{c as a}from"./chunk-J2FWBKXX.js";import{u as n}from"./chunk-YMOV4UGM.js";import{ga as s,la as c}from"./chunk-I3FGJX2C.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-UULPHYKD.js.map
