PageSourceSearch

https://www.ekoplaza.nl/_nuxt/NuAFulh8.js

js ekoplaza.nl collected 2026-10-03 20:53:14 UTC 24,002 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BMqg5UKV.js","./Dl1k-eDe.js","./BVpyO-BZ.js","./DnImIBm3.js","./Df3SBET0.js","./C46zjNov.js","./BUjDCErj.js","./DXcmVafX.js","./BbKXmf2X.js","./B4IBe3EW.js","./CR8mkQPC.js","./IT8abcad.js","./QternNd_.js","./BdB8dZEA.js","./entry.CmisNlo-.css","./BzXAHWBh.js","./B-hAScei.js","./B7CRLJmQ.js","./Clj8dIXA.js","./Bqysn5Cl.js","./_SPVj9K7.js","./BLEk-ANt.js","./Lvzt90A1.js","./ysC1DQ22.js","./bQD9rDkv.js","./BXIPwgk_.js","./DkytcyTV.js"])))=>i.map(i=>d[i]);
2import{bj as be,u as le,c as ie,ct as re,cu as ce,bb as xe,af as J,ai as we,cv as Se,an as ke,K as ue,_ as Ae,q as $e,l as de,ao as Ce,cw as Le,aa as Pe,cx as oe,Q as Ie,by as je,cy as Me,cz as Oe,X as W,e as N}from"./BbKXmf2X.js";import{g as q,c as pe,_ as D,a as H,n as F,j as _e,E as Ue,d as me,p as ze,r as ge,b as Te}from"./Dl1k-eDe.js";import{u as Ee,_ as De}from"./B-hAScei.js";import{_ as Re}from"./Clj8dIXA.js";import{d as j,X as u,Y as I,Z as i,af as s,u as t,ah as B,m as n,ae as L,K as v,F as K,a4 as X,_ as Q,ad as Ve,k as ne,e as z,f as ee,g as Be,B as ae,a5 as Ne,$ as He,ap as te,aj as Qe,n as We,Q as Z,W as Ke,aq as Ze,ar as Je,a2 as qe,a3 as Fe,ao as Xe}from"./BVpyO-BZ.js";import{n as he,L as Ye}from"./Df3SBET0.js";const fe=()=>{const e=q("menuSidebar",()=>!1);return{visible:e,openSidebar:()=>{e.value=!0},closeSidebar:()=>{e.value=!1}}},Ge={class:"flex h-full flex-col"},et={class:"flex bg-app-primary px-4 py-2 font-bold"},tt=["disabled"],nt={class:"mx-auto text-sm_md/[32px] text-white"},st={class:"sr-only"},ot={class:"flex-1 overflow-auto"},at={key:0},lt={class:"space-y-0.5 border-b-2 border-app-primary-400 bg-gray-200 font-bold"},it={class:"flex items-center gap-x-1"},rt={class:"flex items-center gap-x-1"},ct={class:"flex items-center gap-x-1"},ut={key:0,class:"space-y-0.5 border-b-2 border-app-primary-400 bg-gray-200"},dt={key:1,class:"space-y-0.5 border-b-2 border-app-primary-400 bg-gray-200"},pt={class:"space-y-0.5 bg-gray-200 pb-0.5 font-bold"},_t={key:1},mt={class:"space-y-0.5 bg-gray-200"},gt={key:0,class:"flex h-12 items-center bg-white px-3 py-1"},ht=j({__name:"MenuSidebar",setup(e){const{totalProducts:a}=be(),{totalQuantity:l}=le(),{visible:o,closeSidebar:r}=fe(),{fromCatalogChildren:_,fromCms:c}=Ee(),d=z(()=>_()),h=z(()=>c()),{ensureAuthed:w}=ie(),{$url:m}=pe(),p=()=>{r(),O(void 0)},$=async()=>{p(),await w(async()=>{await F(m.myAccount())})},f=async()=>{p(),await w(async()=>{await F(m.myWishlist())})},y=ee(void 0),P=z(()=>!y.value),M=z(()=>U.value?.data.label??"Menu"),O=g=>{y.value=g},U=z(()=>{if(y.value)return S(y.value,[...d.value,...h.value])}),R=z(()=>{if(y.value)return U.value?.children}),E=()=>
2{if(!y.value)return;const g=b(y.value,[...d.value,...h.value]);O(g)},T=async g=>{g.children?.length?O(g.data.name):(await F(g.data.url,{external:typeof g.data.url=="string"&&g.data.url.startsWith("http"),open:g.data.newWindow?{target:"_blank"}:void 0}),p())},S=(g,C)=>{for(const k in C){const x=C[k];if(x.data.name===g)return x;if(x.children){const V=S(g,x.children);if(V)return V}}},b=(g,C,k)=>{for(const x of C){if(x.data.name===g)return k;if(x?.children?.length){const V=b(g,x.children,x.data.name);if(V)return V}}};return(g,C)=>{const k=D,x=De,V=Re,ve=H,ye=_e;return u(),I(ye,{open:t(o),"onUpdate:open":C[0]||(C[0]=A=>ne(o)?o.value=A:null),side:"left"},{content:i(()=>[s("div",Ge,[s("div",et,[s("button",{type:"button",class:B(["-ml-2 flex h-9 w-9 items-center justify-center text-white",{invisible:t(P)}]),disabled:t(P),onClick:E},[n(k,{name:"i-heroicons-chevron-left",class:"h-5 w-5 shrink-0"}),C[1]||(C[1]=s("span",{class:"sr-only"},"arrow-left",-1))],10,tt),s("h2",nt,L(t(M)),1),s("button",{type:"button",class:"-mr-2 flex h-9 w-9 items-center justify-center text-white",onClick:p},[n(k,{name:"i-heroicons-x-mark",class:"h-5 w-5 shrink-0"}),s("span",st,L(g.$t("common.btn.text.close")),1)])]),s("div",ot,[t(P)?(u(),v("div",at,[s("nav",lt,[n(x,{onClick:$},{default:i(()=>[s("div",it,[n(k,{name:"i-eko-user",class:"ml-0.5 mr-1.5 h-7 w-7 text-app-primary-500"}),s("span",null,L(g.$t("menu.myAccount")),1)])]),_:1}),n(x,{onClick:f},{default:i(()=>[s("div",rt,[n(V,{value:t(a),max:99,class:"pr-2 pt-2"},{default:i(()=>[n(k,{name:"i-eko-heart",class:"h-7 w-7 text-app-primary-500"})]),_:1},8,["value"]),s("span",null,L(g.$t("menu.wishlist")),1)])]),_:1}),n(x,{to:t(m).cart(),onClick:p},{default:i(()=>[s("div",ct,[n(V,{value:t(l),max:99,class:"pr-2 pt-2"},{default:i(()=>[n(k,{name:"i-eko-shopping-bag",class:"h-6 w-6 text-app-primary-500"})]),_:1},8,["value"]),s("span",null,L(g.$t("menu.cart")),1)])]),_:1},8,["to"])]),t(d)?.length?(u(),v("nav",ut,[(u(!0),v(K,null,X(t(d),A=>(u(),I(x,{key:A.data.name,onClick:se=>T(A)},{default:i(()=>[s("span",null,L(A.data.label),1)]),_:2},1032,["onClick"]))),128))])):Q("",!0),t(h)?.length?(u(),v("nav",dt,[(u(!0),v(K,null,X(t(h),A=>(u(),I(x,{key:A.data.name,onClick:se=>T(A)},{default:i(()=>[s("span",null,L(A.data.label??A.data.name),1)]),_:2},1032,["onClick"]))),128))])):Q("",!0),s("nav",pt,[n(x,{to:t(m).faq(),onClick:p},{default:i(()=>[s("span",null,L(g.$t("text.service")),1)]),_:1},8,["to"]),n(x,{to:t(m).wildcard("folder"),onClick:p},{default:i(()=>[s("span",null,L(g.$t("text.view.brochure")),1)]),_:1},8,["to"])])])):(u(),v("div",_t,[s("nav",mt,[t(U)?.data.url?(u(),v("div",gt,[n(ve,{class:"text-app-secondary",to:t(U).data.url,onClick:p},{default:i(()=>[Ve(L(g.$t("link.viewAll")),1)]),_:1},8,["to"])])):Q("",!0),(u(!0),v(K,null,X(t(R),A=>(u(),I(x,{key:A.data.name,onClick:se=>T(A)},{default:i(()=>[s("span",null,L(A.data.label??A.data.name),1)]),_:2},1032,["onClick"]))),128))])]))])])]),_:1},8,["open"])}}}),ft=Object.assign(ht,{__name:"AppMenuSidebar"}),vt=()=>{const{suggest:e}=re(),a=ce(),l=xe("suggestion_pending"),o=q("suggestion_show",()=>!1),r=q("suggestion_term",()=>""),_=q("suggestion_result",()=>[]),c=J(()=>{o.value||(o.value=!0)}),d=J(()=>{o.value&&(o.value=!1)}),h=J(()=>{r.value="",_.value=[]}),w=J(he(p=>{const $=p??r.value;if($)return l.scope(async()=>(_.value=await e({term:$,limit:a.suggestion.limit}),_.value))},400)),m=z(()=>{const p=Object.values(_.value);return p.length>0&&p.some($=>$.length>0)});return{term:r,show:o,result:_,hasResult:m,pending:l.value,pendingScope:l.scope,resetSearch:h,suggest:w,openSearchPanel:c,closeSearchPanel:d}},Y=we(vt,({base:e,proxy:{suggest:a}})=>{const{suggest:l}=re(),o=ce(),r=Se();ke(a,he(_=>{const c=_??e.term.value;if(c)return e.pendingScope(async()=>{const d=await Promise.all([l({term:c,limit:o.suggestion.limit}),...c.length>=3?[r.suggest({term:c,limit:4})]:[]]);return e.result.value={...d[0],recipes:d[1]},e.result.value})},500))}),yt={class:"pointer-events-auto z-5 flex items-center px-1"},bt=j({__name:"Input",props:{isPlain:{type:Boolean,default:!1}},emits:["search"],setup(e,{emit:a}){const l=e,o=z(()=>l.isPlain?{base:"h-8 ring-0! border-none shadow-none! text-[#495057]! placeholder:text-app-gray-700 placeholder:text-sm placeholder:text-opacity-70",trailing:"pe-1"}:{base:"h-10.5 bg-default lg:text-sm! ps-[74px] transition-all rounded-full placeholder:text-app-gray-700 placeholder:text-sm placeholder:text-opacity-70 outline-hidden ring-0! border border-app-gray-350 focus:border-app-gray-350",leading:"pe-2.5 after:block after:absolute after:w-px after:h-5.25 after:bg-[#e6e6e6] after:top-1/2 after:-translate-y-1/2 after:right-0"}),{$url:r}=pe(),{show:_,term:c,suggest:d,closeSearchPanel:h,openSearchPanel:w,resetSearch:m}=Y(),p=a,$=()=>{c.value||m(),d(),w()},f=()=>{w()},y=()=>{F(r.search(c.value)),h(),m(),p("search")},P=Qe("input");Be(()=>{ae(async()=>
2{_.value&&(await We(),P.value?.inputRef?.focus())})});const{isSupported:M,isListening:O,result:U,start:R,stop:E}=Ye({interimResults:!1});return ae(()=>{U.value&&(c.value=U.value,E(),y())}),(T,S)=>{const b=D,g=me,C=Ue;return u(),v("form",{action:"",onSubmit:S[3]||(S[3]=Ne(()=>{},["prevent"]))},[n(C,{id:"search-input",ref_key:"input",ref:P,modelValue:t(c),"onUpdate:modelValue":[S[2]||(S[2]=k=>ne(c)?c.value=k:null),$],modelModifiers:{trim:!0},ui:t(o),placeholder:t(O)?T.$t("common.text.listening"):T.$t("common.text.searchPlaceholder"),"aria-label":"search",autocomplete:"off",onFocus:f,onKeyup:He(y,["enter"])},te({default:i(()=>[t(O)?(u(),v("div",{key:0,class:B(["absolute inset-y-0 right-0 z-0 bg-black/35",e.isPlain?"left-0 rounded-full":"left-14 rounded-r-full"])},null,2)):Q("",!0)]),_:2},[e.isPlain?void 0:{name:"leading",fn:i(()=>[n(g,{padded:!1,variant:"link",disabled:!t(c),class:"z-1 disabled:cursor-default!",ui:{base:"px-2.5"},onClick:y},{default:i(()=>[n(b,{name:"i-eko-search",class:"h-4 w-4 text-app-primary-500"})]),_:1},8,["disabled"])]),key:"0"},(t(_)||e.isPlain)&&t(M)?{name:"trailing",fn:i(()=>[s("div",yt,[t(O)?(u(),v("a",{key:0,href:"javascript:;",role:"button",class:"flex",onClick:S[0]||(S[0]=(...k)=>t(E)&&t(E)(...k))},[n(b,{name:"i-eko-stop-circle",class:"h-5 w-5 text-white"})])):(u(),v("a",{key:1,href:"javascript:;",role:"button",class:"flex",onClick:S[1]||(S[1]=(...k)=>
2t(R)&&t(R)(...k))},[n(b,{name:"i-eko-microphone-alt",class:"h-5 w-5 text-[#a3a3a3]"})]))])]),key:"1"}:void 0]),1032,["modelValue","ui","placeholder"])],32)}}}),xt=Object.assign(bt,{__name:"SearchInput"}),G=(e,a)=>{if(!e||!a)return e;const l=_=>_.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&"),o=a.trim().replace(/\s+/g," "),r=new RegExp(String.raw`(${o.split(/\s/).map(l).join("|")})`,"ig");return e.toString().replace(r,function(_){return`<strong>${_}</strong>`})},wt={class:"flex items-center space-x-3"},St=["innerHTML"],kt=j({__name:"PhraseLine",props:{suggestion:{type:Object,default:()=>({})},term:{type:String,default:""}},setup(e){return(a,l)=>{const o=D,r=H;return u(),I(r,{to:e.suggestion.url,class:"py-1.5 hover:underline"},{default:i(()=>[s("div",wt,[n(o,{name:"i-eko-search",class:"h-4 w-4 text-gray-300"}),s("div",{innerHTML:("highlightKeywords"in a?a.highlightKeywords:t(G))(e.suggestion.label,e.term)},null,8,St)])]),_:1},8,["to"])}}}),At=Object.assign(kt,{__name:"SearchSuggestionPhraseLine"}),$t={key:0,class:"flex flex-col px-5 py-4"},Ct={class:"mb-3 font-secondary text-xs_md font-medium uppercase leading-7 text-app-gray-500"},Lt=j({__name:"index",props:{forceVisible:{type:Boolean},title:{},suggestions:{},listClasses:{}},setup(e){return(a,l)=>e.suggestions?.length||e.forceVisible?(u(),v("div",$t,[s("h5",Ct,L(e.title),
21),s("div",{class:B(["flex flex-col",e.listClasses])},[(u(!0),v(K,null,X(e.suggestions,(o,r)=>Z(a.$slots,"default",Ke({key:`${e.title}-${r}`,ref_for:!0},{item:o}))),128))],2),Z(a.$slots,"footer")])):Q("",!0)}}),Pt=Object.assign(Lt,{__name:"SearchSuggestion"}),It={class:"flex w-full items-center space-x-3"},jt={class:"h-10 w-10 lg:h-11.5 lg:w-11.5"},Mt=["innerHTML"],Ot=j({__name:"ProductLine",props:{suggestion:{type:Object,default:()=>({})},term:{type:String,default:""}},setup(e){return(a,l)=>{const o=ue,r=H;return u(),I(r,{to:e.suggestion.url,class:"py-1.5 hover:underline"},{default:i(()=>[s("div",It,[s("div",jt,[n(o,{src:e.suggestion.image,alt:e.suggestion.name,width:50,height:50,class:"h-full w-full rounded-sm object-cover"},null,8,["src","alt"])]),s("div",{innerHTML:("highlightKeywords"in a?a.highlightKeywords:t(G))(e.suggestion.name,e.term)},null,8,Mt)])]),_:1},8,["to"])}}}),Ut=Object.assign(Ot,{__name:"SearchSuggestionProductLine"}),zt={class:"flex items-center space-x-3"},Tt=["innerHTML"],Et=j({__name:"BrandLine",props:{suggestion:{type:Object,default:()=>({})},term:{type:String,default:""}},setup(e){return(a,l)=>{const o=D,r=H;return u(),I(r,{to:e.suggestion.url,class:"py-1.5 hover:underline"},{default:i(()=>[s("div",zt,[n(o,{name:"i-eko-search",class:"h-4 w-4 text-gray-300"}),s("div",{innerHTML:("highlightKeywords"in a?a.highlightKeywords:t(G))(e.suggestion.label,e.term)},null,8,Tt)])]),_:1},8,["to"])}}}),Dt=Object.assign(Et,{__name:"SearchSuggestionBrandLine"}),Rt={class:"flex items-center space-x-3"},Vt=["innerHTML"],Bt=j({__name:"CategoryLine",props:{suggestion:{type:Object,default:()=>({})},term:{type:String,default:""}},setup(e){return(a,l)=>{const o=D,r=H;return u(),I(r,{to:e.suggestion.url,class:"py-1.5 hover:underline"},{default:i(()=>[s("div",Rt,[n(o,{name:"i-eko-search",class:"h-4 w-4 text-gray-300"}),s("div",{innerHTML:("highlightKeywords"in a?a.highlightKeywords:t(G))(e.suggestion.label,e.term)},null,8,Vt)])]),_:1},8,["to"])}}}),Nt=Object.assign(Bt,{__name:"SearchSuggestionCategoryLine"}),Ht={class:"relative pb-1.25"},Qt={class:"aspect-square max-w-33.75 overflow-hidden rounded-[7px] bg-[#f0f0f0]"},Wt={class:"absolute -left-1.25 bottom-0 flex h-7.5 w-7.5 items-center rounded-tr-md bg-white"},Kt={class:"wrap-break-word pt-1.25 text-sm_md leading-[1.2]"},Zt=j({__name:"RecipeItem",props:{term:{},suggestion:{}},setup(e){return(a,l)=>{const o=ue,r=D,_=H;return u(),I(_,{to:e.suggestion.url,class:"p-1.25 text-app-gray-600 hover:underline"},{default:i(()=>[s("div",Ht,[s("div",Qt,[n(o,{src:e.suggestion.images?.medium,alt:e.suggestion.name,width:50,height:50,class:"h-full w-full object-contain"},null,8,["src","alt"])]),s("span",Wt,[n(r,{name:"i-eko-pot",class:"h-5.5 w-5.5 text-[#CECECE]"})])]),s("p",Kt,L(e.suggestion.name),1)]),_:1},8,["to"])}}}),Jt=Object.assign(Zt,{__name:"SearchSuggestionRecipeItem"}),qt={},Ft={class:"py-4"},Xt={class:"text-sm text-gray-500"};function Yt(e,a){return u(),v("div",Ft,[s("p",Xt,L(e.$t("message.search.noResults")),1)])}const Gt=Object.assign(Ae(qt,[["render",Yt]]),{__name:"SearchEmpty"}),en={key:0,class:"divide-y divide-gray-200 pb-12.5 lg:p-1.25"},tn=["innerHTML"],nn=["innerHTML"],sn={key:1,class:"px-5"},on=j({__name:"Panel",props:{wrapClass:{default:"max-h-[80vh] overflow-y-auto rounded-sm bg-white shadow-lg"}},emits:["close"],setup(e,{emit:a}){const{term:l,result:o,pending:r,hasResult:_,closeSearchPanel:c,resetSearch:d}=Y(),{closeSidebar:h}=fe(),w=a,m=()=>{c(),h(),d(),w("close")};return(p,$)=>{const f=At,y=D,P=H,M=Pt,O=Ut,U=Dt,R=Nt,E=Jt,T=Gt,S=$e;return u(),I(S,{show:t(r)},{default:i(()=>[s("div",{class:B(e.wrapClass),"data-scroll-lock-scrollable":""},[t(_)?(u(),v("div",en,[n(M,{title:p.$t("suggestion.phrases"),suggestions:t(o).phrases,"force-visible":!!t(l)},te({footer:i(()=>[n(P,{to:p.$url.search(t(l)),class:"flex items-center space-x-3 py-1.5 hover:underline",onClick:m},{default:i(()=>[n(y,{name:"i-eko-redirect-arrow",class:"h-4 w-4 text-gray-300"}),s("div",{innerHTML:p.$t("suggestion.phrases.redirect",{term:t(l)})},null,8,tn)]),_:1},8,["to"])]),_:2},[t(o).phrases?.length?{name:"default",fn:i(({item:b})=>[n(f,{suggestion:b,term:t(l),onClick:m},null,8,["suggestion","term"])]),key:"0"}:void 0]),1032,["title","suggestions","force-visible"]),n(M,{title:p.$t("suggestion.products"),suggestions:t(o).products},{default:i(({item:b})=>[n(O,{suggestion:b,term:t(l),onClick:m},null,8,["suggestion","term"])]),_:1},8,["title","suggestions"]),n(M,{title:p.$t("suggestion.brands"),suggestions:t(o).brands},{default:i(({item:b})=>[n(U,{suggestion:b,term:t(l),onClick:m},null,8,["suggestion","term"])]),_:1},8,["title","suggestions"]),n(M,{title:p.$t("suggestion.categorie"),suggestions:t(o).categories},{default:i(({item:b})=>[n(R,{suggestion:b,term:t(l),onClick:m},null,8,["suggestion","term"])]),_:1},8,["title","suggestions"]),n(M,{title:p.$t("suggestion.recipe"),suggestions:t(o).recipes,"list-classes":"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-y-3"}
2,te({footer:i(()=>[n(P,{to:p.$url.recipeSearch(t(l)),class:"mt-3 flex items-center space-x-3 py-1.5 hover:underline",onClick:m},{default:i(()=>[n(y,{name:"i-eko-redirect-arrow",class:"h-4 w-4 text-gray-300"}),s("div",{innerHTML:p.$t("suggestion.recipe.redirect",{term:t(l)})},null,8,nn)]),_:1},8,["to"])]),_:2},[t(o).recipes?.length?{name:"default",fn:i(({item:b})=>[n(E,{suggestion:b,term:t(l),class:"mt-0!",onClick:m},null,8,["suggestion","term"])]),key:"0"}:void 0]),1032,["title","suggestions"])])):(u(),v("div",sn,[n(T)]))],2)]),_:1},8,["show"])}}}),an=Object.assign(on,{__name:"SearchPanel"}),ln={class:"flex h-full flex-col"},rn={class:"relative flex items-center border-b border-app-gray-350 px-2 py-1.5"},cn={class:"flex-1"},un={class:"flex-1 overflow-auto","data-scroll-lock-scrollable":""},dn=j({__name:"SearchSidebar",props:{visible:{type:Boolean}},emits:["update:visible"],setup(e,{emit:a}){const l=a,{show:o,term:r,resetSearch:_}=Y(),c=()=>{_(),l("update:visible",!1)};return(d,h)=>{const w=D,m=xt,p=an,$=_e;return u(),I($,{open:e.visible,ui:{wrapper:"pl-[env(safe-area-inset-left)] pr-[env(safe-area-inset-right)] pt-[env(safe-area-inset-top)]",content:"max-w-full"},"onUpdate:open":h[0]||(h[0]=f=>d.$emit("update:visible",f))},{content:i(()=>[s("div",ln,[s("div",rn,[s("button",{type:"button",class:"flex pl-2 pr-4",tabindex:-1,onClick:c},[n(w,{name:"i-eko-arrow-left",class:"h-4 w-4 text-app-gray-600"})]),s("div",cn,[n(m,{"is-plain":!0,onSearch:c})])]),s("div",un,[Ze(n(p,{"wrap-class":"",onClose:c},null,512),[[Je,t(o)&&t(r)]])])])]),_:1},8,["open"])}}}),pn=Object.assign(dn,{__name:"AppSearchSidebar"}),_n="data:image/webp;base64,UklGRh4DAABXRUJQVlA4WAoAAAAQAAAALQAAHAAAQUxQSPoBAAABkJZtW1g3rwQkRAIOhoPFwXCwOCgOhoPzOSgO8jnI54DPATh4fySHtlMQEROA/3cfgtX4++N13v9tC7/iQiSlPcWPc/roY/Denv58kuz7U+i0OgCEDxt9
20GiqpZSmclUAhc/7QyGPpgDG8KElvzjOs1stjdMjIBzjNgKAMFzqlYCg8trz6yQ5LpJmPpsgdJJSCikACj1XBYDXeQ5tjWxjAwDrJorirg4kcgBheDnGBmAr+wbgohYDgKyztRJ8lCbAOZzAwWuXisXMuUu+9ctq38r03DccNHHAhpQZVjpltwAgz1maYLI0QSYPEURj1YzFzLmLAMBJL33L7kffMin1ihBqcax2Su4bgESKCrSXJn9JEalAZ2t55eDctQGAkNK35H5cFyl6NmCnV8fqoJWeAATStEFMT3KKXRKAyqZ5JZNFFQAOcvYUfJLUTxsFANqsjlUbWnq6ddIV2W2wkxZxD3vbV7J7UQWASLInNLY26RnvC1ZtWB3pVkk6QLYzRnxztnmY4t5JZuyc1bAY++fS1bX0dNtIzoBC97wQybkvJJ+HKu6ZZAWU3sNC56y2IOb1TA+V5PbQ8D5xVi6EOUUUj41UAI3jWEApZHyX6fVMT5sxAwiVaQUHM94rmyjeJsM9WFyKCYuDcqZ3W3z4SbGm+J/3K/5XOPA/A1ZQOCD+AAAAkAYAnQEqLgAdAD6FNpZHpSMiITVYDACgEIlsAJ0yhH40gSk/1zWETkQgNsBuAP9V6OXUAbxiBjVJoUmjgAD+8Gyv6n1tQWRnh4kP6ZGn7j5dBrbv9MxVF2R4ZPMyx1X0lTM08nd+9/pyhMLNK/3N+v+JK2pPZEmPhatqMyQ+WGRrhduzfWxWmFXXkpUrHGxqeClqEwA+jdSqwqV2VxNu4dKapfX/8iAxD20fiazb9usIi7PfUqdcADz5OfxNZpxGQCrR1hj+AixOLPGBTYlPhPsHTBOQxPPalZd9gZ99//9F42LmvvX/8P2+kvvG6TZDAty/D9vaUbyMIlEAAAA=",mn=["register","login","cart","shipping"],gn=()=>{const{user:e}=de(),{ensureAuthed:a}=ie(),{cart:l,cartLines:o,setCart:r}=le(),{shipping:_}=Ce(),c=Le(),d=ze(),h=()=>a(),w=z(()=>{if(!l.value)return!1;const f=_.value;return!f||!f.deliveryDate||e.value?.id&&e.value.id!==l.value?.customer?.id?!1:f.isDeliveryOrder?!(f.addressType===oe.Customer&&!f.addressId||f.addressType===oe.Alternative&&!_.value.alternativeAddress):!!f.store}),m=z(()=>!l.value||!o.value?.length||w.value?!1:!l.value.loginToastClosed);return{visible:z(()=>{let f=!1;const y=Pe(d);return mn.some(P=>y.indexOf(P)===0)||(f=m.value),f}),onLogin:h,setCustomFields:async()=>{const f=await c.setCustomFields({LoginToastClosed:!0});r(f)}}},hn={key:0,id:"app-toast",class:"bg-app-orange-400 p-4 text-sm_md"},fn={class:"relative"},vn={class:"lg:flex lg:items-center lg:gap-9"},yn={class:"flex items-center pr-12 lg:flex-initial lg:gap-4.5 lg:pr-0"},bn=["innerHTML"],xn={class:"mt-4 flex items-center justify-between gap-2.5 lg:mt-0 lg:flex-1 lg:justify-start lg:gap-5"},wn=j({__name:"Toast",setup(e){const{state:a}=de(),{goShipping:l}=Ie(),{visible:o,onLogin:r,setCustomFields:_}=gn();return(c,d)=>{const h=me,w=ge;return t(o)?(u(),v("div",hn,[n(w,null,{default:i(()=>[s("div",fn,[s("div",vn,[s("div",yn,[d[3]||(d[3]=s("img",{src:_n,alt:"tips",width:"46",height:"29",class:"hidden lg:block"},null,-1)),s("p",{innerHTML:t(a)?c.$t("toast.select.time.to.order"):c.$t("toast.login.to.order")},null,8,bn)]),s("div",xn,[t(a)?(u(),v(K,{key:0},[n(h,{color:"white",variant:"ghost",label:c.$t("text.delivery"),class:"min-w-30.75 flex-1 py-1.5 lg:flex-none",onClick:d[0]||(d[0]=m=>t(l)("shipping-delivery"))},null,8,["label"]),n(h,{color:"white",variant:"ghost",label:c.$t("text.pickupLocation"),class:"min-w-30.75 flex-1 py-1.5 lg:flex-none",onClick:d[1]||(d[1]=m=>t(l)("shipping-pickup"))},null,8,["label"])],64)):(u(),v(K,{key:1},[n(h,{color:"white",variant:"ghost",label:c.$t("button.login"),class:"min-w-30.75 flex-1 py-1.5 lg:flex-none",onClick:d[2]||(d[2]=m=>t(r)())},null,8,["label"]),n(h,{color:"white",variant:"ghost",label:c.$t("button.register"),class:"min-w-30.75 flex-1 py-1.5 lg:flex-none",to:c.$url.register()},null,8,["label","to"])],64))])]),n(h,{color:"white",variant:"ghost",icon:"i-heroicons-x-mark",square:"","aria-label":"close button",class:"absolute right-0 top-0 p-1 text-app-primary",ui:{leadingIcon:"size-7"},onClick:t(_)},null,8,["onClick"])])]),_:1})])):Q("",!0)}}}),Sn=Object.assign(wn,{__name:"AppToast"}),kn=W("components/app/MenuSecondary.vue",()=>N(()=>import("./BMqg5UKV.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url).then(e=>e.default||e)),An=W("components/app/MenuMain.vue",()=>N(()=>import("./BzXAHWBh.js"),__vite__mapDeps([15,1,2,3,4,5,6,7,16,8,9,10,11,12,13,14]),import.meta.url).then(e=>e.default||e)),$n=W("components/search/Box.vue",()=>N(()=>import("./B7CRLJmQ.js"),__vite__mapDeps([17,1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,18]),import.meta.url).then(e=>e.default||e)),Cn=W("components/app/UserDropdown.vue",()=>N(()=>import("./Bqysn5Cl.js"),__vite__mapDeps([19,1,2,3,4,5,6,7,8,9,10,11,12,13,14]),import.meta.url).then(e=>e.default||e)),Ln=W("components/app/WishlistDropdown.vue",()=>N(()=>import("./_SPVj9K7.js"),__vite__mapDeps([20,1,2,3,4,5,6,7,18,8,9,10,11,12,13,14]),import.meta.url).then(e=>
2e.default||e)),Pn=W("components/app/CartIcon.vue",()=>N(()=>import("./BLEk-ANt.js"),__vite__mapDeps([21,1,2,3,4,5,6,7,8,9,10,11,12,13,14,18]),import.meta.url).then(e=>e.default||e)),In=W("components/app/WarningBanners.vue",()=>N(()=>import("./Lvzt90A1.js"),__vite__mapDeps([22,23,1,2,3,4,5,6,7,24,8,9,10,11,12,13,14]),import.meta.url).then(e=>e.default||e)),jn=Xe(()=>N(()=>import("./BXIPwgk_.js"),__vite__mapDeps([25,1,2,3,4,5,6,7,8,9,10,11,12,13,14,26]),import.meta.url).then(e=>e.default||e)),Mn={class:"hidden min-h-10 bg-[linear-gradient(90deg,#fff_30%,#dccfdf_35%,#6d1f80_45%)] py-1 text-xs text-white lg:block"},On={class:"hidden border-b border-gray-200 bg-white lg:block"},Un={class:"mr-1 flex items-center py-0.75"},zn={class:"-mt-6 mb-4.5 mr-4 w-50 shrink-0"},Tn={class:"flex items-center justify-end"},En=j({__name:"Header",props:{fixed:{type:Boolean,default:!1}},setup(e){const{show:a}=Y(),l=je(),o=ee(!1),r=ee(!1),_=()=>{o.value=!0},c=()=>{r.value=!0};return(d,h)=>{const w=kn,m=ge,p=D,$=H,f=An,y=$n,P=Cn,M=Ln,O=Pn,U=In,R=ft,E=Me,T=pn,S=jn,b=Sn,g=Te;return u(),v("header",{id:"app-header",class:B(["inset-x-0 top-0",[t(r)?"z-100":"z-50",e.fixed?"fixed lg:sticky":"sticky"]])},[Z(d.$slots,"top",{},()=>[s("div",Mn,[n(m,{class:"flex items-center justify-end"},{default:i(()=>[n(w,{"hydrate-on-idle":""})]),_:1})])]),Z(d.$slots,"mobile",qe(Fe({showScanner:c,showSearchSidebar:_}))),Z(d.$slots,"desktop",{},()=>[s("div",On,[n(m,null,{default:i(()=>[s("div",Un,[s("div",zn,[n($,{to:d.$url.home(),"aria-label":"Logo",class:"flex items-center justify-center"},{default:i(()=>[n(p,{name:"i-eko-logo",class:"h-17.5 w-50"})]),_:1},8,["to"])]),s("div",{class:B(["relative flex min-w-0 flex-1 items-center pr-60",{"overflow-hidden":!t(a)}])},[n(f,{class:B(["mt-4",{"opacity-0":t(a)}]),"hydrate-on-idle":""},null,8,["class"]),s("div",{class:B(["absolute right-0 top-1/2 -translate-y-1/2 px-4",[t(a)?"z-60 w-auto pl-7":"w-60",{"left-0":t(a)}]])},[n(y,{"hydrate-on-idle":""})],2)],2),s("div",Tn,[n(P,{"hydrate-on-idle":""}),n(M,{"hydrate-on-idle":""}),n(O,{"hydrate-on-idle":""})])])]),_:1})])]),n(U,{"hydrate-on-idle":""}),n(g,null,{default:i(()=>[n(R,{class:"lg:hidden"}),n(E,{global:!1,visible:t(a),"z-index":t(Oe).Z50,opacity:"bg-black/25"},null,8,["visible","z-index"]),n(T,{visible:t(o),"onUpdate:visible":h[0]||(h[0]=C=>ne(o)?o.value=C:null),class:"lg:hidden"},null,8,["visible"]),t(l).enabled&&t(r)?(u(),I(S,{key:0,onClose:h[1]||(h[1]=C=>r.value=!1)})):Q("",!0),n(b)]),_:1})],2)}}}),Dn=Object.assign(En,{__name:"AppHeader"}),Wn=Object.freeze(Object.defineProperty({__proto__:null,default:Dn},Symbol.toStringTag,{value:"Module"}));export{Wn as H,an as _,xt as a,Dn as b,Y as u};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.