import{d as g,a as v,bN as b,bO as f,f as n,x as i,g as e,h as s,i as _,v as o,z as x,o as r,bP as S,bQ as k,_ as w}from"./BxiWQxwE.js";const N=["aria-label"],y={key:0},A=["aria-label"],C={key:1},D=["aria-label"],B=g({__name:"assortment-switcher",setup(P){const{$messages:t}=v(),{toggleDialog:l}=b(),{currentStore:a,specificStore:u,defaultStore:p}=f();return(V,c)=>{const d=S,m=k;return r(),n("button",{class:"assortment-switcher","aria-label":e(t)("assortment.showAllProducts"),onClick:c[0]||(c[0]=x((...h)=>e(l)&&e(l)(...h),["prevent"]))},[e(u)?(r(),n("div",y,[s("div",{class:"assortment-switcher__icon",role:"img","aria-label":e(t)("aria.chooseStore")},[_(d)],8,A),s("div",null,[s("p",null,o(e(a).fullName),1),s("span",null,o(e(a).postalCode)+" "+o(e(a).city),1)])])):i("",!0),e(p)?(r(),n("div",C,[s("div",{class:"assortment-switcher__icon",role:"img","aria-label":e(t)("aria.chooseStore")},[_(m)],8,D),s("div",null,[s("p",null,o(e(t)("assortment.showAllProducts")),1),s("span",null,o(e(t)("assortment.continueShopping")),1)])])):i("",!0)],8,N)}}}),z=w(B,[["__scopeId","data-v-e2e05081"]]);export{z as default};
