import{a as f,b as l}from"./chunk-3KIQTF23.js";import{l as u}from"./chunk-JCFMOM7U.js";import{c as S}from"./chunk-UIHP5NJO.js";import{m as i}from"./chunk-WMRP6X7F.js";import{t as h}from"./chunk-EMTGVP7F.js";import{da as c,h as s,ja as p,ka as r,r as n,s as m}from"./chunk-A4WWLITB.js";import{b as a,i as y}from"./chunk-QOJKCMZT.js";y();var b=class e{get hasCompanyButton$(){return m([this._companies$,this._stores$]).pipe(l(this),n(([t,o])=>o?.length>1||t?.length>1))}constructor(t){this._router=t,this.isOpenSidebar$$=new s(!0),this._stores$=r(i).select(S.selectedStoreId),this._companies$=r(i).select(u.companies)}exitToChooseCompany(){this._router.navigate(["/employee"])}static{this.\u0275fac=function(o){return new(o||e)(p(h))}}static{this.\u0275prov=c({token:e,factory:e.\u0275fac})}};b=a([f()],b);export{b as a};
