import{o as l}from"./chunk-3WWEFG5Z.js";import{c as u}from"./chunk-WXQVX7WD.js";import{m as i}from"./chunk-OWZ5YAMH.js";import{u as f,z as h}from"./chunk-GQAU5ACB.js";import{Ea as p,f as s,la as m,pa as c,qa as o,x as a,y as n}from"./chunk-ISMRT7VU.js";var _=(()=>{class t{get hasCompanyButton$(){return n([this._companies$,this._stores$]).pipe(h(this.destroyRef),a(([e,r])=>r?.length>1||e?.length>1))}constructor(e){this._router=e,this.destroyRef=o(p),this.isOpenSidebar$$=new s(!0),this._stores$=o(i).select(u.selectedStoreId),this._companies$=o(i).select(l.companies)}exitToChooseCompany(){this._router.navigate(["/employee"])}static{this.\u0275fac=function(r){return new(r||t)(c(f))}}static{this.\u0275prov=m({token:t,factory:t.\u0275fac})}}return t})();export{_ as a};
//# sourceMappingURL=chunk-O2T5X7XL.js.map
