import{m as u}from"./chunk-CRYLJ7SE.js";import{c as S}from"./chunk-YZGKFE6P.js";import{m as i}from"./chunk-3VQS547U.js";import{a as f,b as l}from"./chunk-NSGLSIBS.js";import{u as h}from"./chunk-6VC7H3CZ.js";import{da as c,h as s,ja as p,ka as r,r as n,s as m}from"./chunk-QMYHTLAJ.js";import{d as a,n as y}from"./chunk-HE7HQ6LI.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};
