PageSourceSearch

https://www.stamford-eats.co.uk/_next/static/chunks/5348-204ab898a9c438d9.js

js stamford-eats.co.uk collected 2026-09-24 14:29:55 UTC 39,882 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5348],{81068:function(e,t,n){"use strict";n.d(t,{E:function(){return u}});var l=n(85893);n(67294);var r=n(59567),a=n(62515),i=n(65765),s=n(2516),o=n(17840),c=n(8051),d=n(19091);function u(e){var t;let{children:n,pageProps:u}=e,{initialValues:p}=u,{selectedMenu:h}=(0,a.Z)(e=>e),{onOpenProductDetailModal:m}=(0,o.f)(),{searchValue:x,dataSource:v,isLoading:g,isSuccess:j,onSearchValueChange:_}=(0,c.J)({menuID:null!==(t=null==h?void 0:h.id)&&void 0!==t?t:0,branchID:p.branch.id});return(0,l.jsxs)(i.Z,{style:{minHeight:"100vh",backgroundColor:"var(--ant-main-background-color, #fafafa)"},children:[(0,l.jsx)(r.t,{midComponent:(0,l.jsx)(s.Z,{align:"center",className:"xl:!hidden justify-end md:justify-center w-full md:min-w-[200px] lg:min-w-[400px] max-w-[400px]",children:(0,l.jsx)(d.t,{searchValue:x,dataSource:v,isLoading:g,isSuccess:j,onSearchValueChange:_,onOpenProductDetailModal:m})})}),n]})}},19091:function(e,t,n){"use strict";n.d(t,{t:function(){return D}});var l=n(85893),r=n(97454),a=n(22825),i=n(11949),s=n(93411),o=n(52675),c=n(16793),d=n(14007),u=n(85551),p=n(57099),h=n(2516),m=n(22056),x=n(82220),v=n(46833),g=n(78013),j=n(82057),_=n(91995),y=n(83663),f=n(66340),b=n(14733),N=n(97845),Z=n(87913),S=n(81763),w=n.n(S),P=n(25675),M=n.n(P),C=n(31794),k=n.n(C);function I(){let{t:e}=(0,i.q)();return(0,l.jsx)(h.Z,{justify:"center",align:"center",className:k().noItemFound,gap:12,children:(0,l.jsx)(j._,{children:e("label.search.no.product.found")})})}function F(e){var t;let{isLoading:n,item:r}=e,{isMobile:a}=(0,s.p)(),{discountedPrice:i,hasValidDiscount:o}=(0,g.fS)(null!==(t=null==r?void 0:r.price)&&void 0!==t?t:0,null==r?void 0:r.discount);return(0,l.jsx)(N.Z,{active:!0,loading:n,avatar:!0,paragraph:{rows:1},round:!0,children:(0,l.jsxs)(h.Z,{className:k().container,justify:"space-between",children:[(0,l.jsxs)(h.Z,{gap:12,children:[(0,l.jsx)(M(),{width:0,height:0,sizes:"100vw",src:(null==r?void 0:r.productPhotoUrl)?null==r?void 0:r.productPhotoUrl:f.TL.NONE,alt:"item",className:k().img,blurDataURL:(null==r?void 0:r.productPhotoUrl)?null==r?void 0:r.productPhotoUrl:f.TL.NONE,style:{width:"60px",height:"60px",objectFit:"cover"}}),(0,l.jsxs)(h.Z,{vertical:!0,align:"centetr",justify:"center",children:[(0,l.jsx)(y.F,{level:5,children:null==r?void 0:r.name}),(0,l.jsxs)(h.Z,{gap:8,align:"center",children:[w()(null==r?void 0:r.price)&&(null==r?void 0:r.price)>0&&(0,l.jsxs)(j._,{className:"text-secondary ".concat(o?"originalPrice":""),children:[(0,l.jsx)(_.e,{})," ",null==r?void 0:r.price.toFixed(2)]}),o&&w()(i)&&i>0&&(0,l.jsxs)(j._,{className:"text-secondary discountedPrice",children:[(0,l.jsx)(_.e,{})," ",i.toFixed(2)]})]}),(0,l.jsx)(Z.Z,{className:"no-margin",ellipsis:{rows:2},style:{maxWidth:a?240:350,margin:0,whiteSpace:"normal"},children:(0,l.jsx)(j._,{type:"secondary",children:null==r?void 0:r.description})})]})]}),(0,l.jsx)(h.Z,{align:"center",children:(0,l.jsx)(u.ZP,{type:"default",variant:"outlined",icon:(0,l.jsx)(b.Z,{})})})]})})}var L=n(75472),R=n.n(L);let B=[{value:"-1",label:(0,l.jsx)(F,{isLoading:!0}),key:"-1",disabled:!0},{value:"-2",label:(0,l.jsx)(F,{isLoading:!0}),key:"-2",disabled:!0},{value:"-3",label:(0,l.jsx)(F,{isLoading:!0}),key:"-3",disabled:!0}];function D(e){let{searchValue:t,dataSource:n,isLoading:g,isSuccess:j,AutoCompleteStyles:_,onSearchValueChange:y,onOpenProductDetailModal:f}=e,{t:b}=(0,i.q)(),{isMobile:N}=(0,s.p)(),{isModalOpen:Z,handleOpenModal:S,handleCloseModal:w}=(0,a.X)(),P=(0,o.Z)(e=>e.branch),{getBranchStatus:M}=(0,r.v)(),C=M(P).offline,k=(null!=n?n:[]).map(e=>{var t;return{value:e.name,label:(0,l.jsx)(F,{item:e}),key:null==e?void 0:null===(t=e.id)||void 0===t?void 0:t.toString(),disabled:C}}),L=t&&j,D=()=>{w(),y("")},T=(e,t)=>{f(e,void 0,{name:null==t?void 0:t.name,description:null==t?void 0:t.description,productPhotoUrl:null==t?void 0:t.productPhotoUrl}),D()};return N?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(u.ZP,{type:"default",icon:(0,l.jsx)(c.Z,{className:R().searchIcon}),onClick:S,size:"large"}),(0,l.jsx)(p.Z,{open:Z,onClose:D,placement:"top",height:"100%",closable:!1,styles:{body:{padding:0},header:{display:"none"}},children:(0,l.jsxs)(h.Z,{vertical:!0,className:R().drawerContainer,children:[(0,l.jsxs)(h.Z,{className:R().searchHeader,children:[(0,l.jsx)(u.ZP,{type:"text",icon:(0,l.jsx)(d.Z,{}),onClick:D,size:"large"}),(0,l.jsx)(m.Z,{size:"large",placeholder:b("label.search.products"),prefix:(0,l.jsx)(c.Z,{}),value:t,onChange:e=>y(e.target.value),autoFocus:!0,className:R().searchInput})]}),(0,l.jsx)(h.Z,{vertical:!0,className:R().searchResults,children:g?(0,l.jsx)(x.Z,{dataSource:[1,2,3],renderItem:()=>(0,l.jsx)("div",{className:R().loadingItem,children:(0,l.jsx)(F,{isLoading:!0})})}):t&&n&&n.length>0?(0,l.jsx)(x.Z,{dataSource:n,renderItem:e=>(0,l.jsx)("div",{className:R().resultItem,style:{cursor:C?"not-allowed":"pointer",opacity:C?.65:1},onClick:()=>!C&&e.id&&T(e.id,e),children:(0,l.jsx)(F,{item:e})})}):L?(0,l.jsx)(h.Z,{className:"".concat(R().emptyState," ").concat(R().noResults),children:(0,l.jsx)(I,{})}):(0,l.jsx)(h.Z,{className:"".concat(R().emptyState," ").concat(R().startTyping),children:b("label.start.typing.search.products")})})]})})]}):(0,l.jsx)(v.Z,{options:g?B:k,className:R().desktopAutoComplete,onChange:y,onSelect:(e,t)=>
1{f(Number(t.key))},notFoundContent:L?(0,l.jsx)(I,{}):void 0,styles:_,children:(0,l.jsx)(m.Z,{size:"large",placeholder:b("label.search.products"),prefix:(0,l.jsx)(c.Z,{}),className:R().desktopInput})})}},8051:function(e,t,n){"use strict";n.d(t,{J:function(){return c}});var l=n(67294),r=n(22230),a=n(97588),i=n(76837),s=n(14640),o=n(69588);function c(e){let{menuID:t,branchID:n}=e,c=(0,s.useLocale)(),[d,u]=(0,l.useState)(""),[p,h]=(0,l.useState)(""),{data:m,isFetching:x,isSuccess:v}=(0,o.Uk)({productName:p,lang:c,menuID:t,branchID:n,active:1,includePromotions:!0}),g=(0,l.useCallback)(e=>{u(e)},[]);return(0,r.Z)(()=>{h(d),d.trim()&&(0,i.y)({event:a.s.SEARCH,search_term:d})},300,[d]),(0,l.useEffect)(()=>{u(d)},[t,n]),{searchValue:d,onSearchValueChange:g,dataSource:m,isLoading:x,isSuccess:v}}},70069:function(e,t,n){"use strict";n.d(t,{T:function(){return to}});var l=n(85893),r=n(67294),a=n(64972),i=n(82057),s=n(88092),o=n(32351),c=n(66340),d=n(1118);let u=new Set;var p=n(11949),h=n(57307),m=n(88390);let x="referral-banner-dismissed",v=()=>{try{return"1"===sessionStorage.getItem(x)}catch(e){return!1}},g=()=>{try{sessionStorage.setItem(x,"1")}catch(e){}};function j(){let{t:e}=(0,p.q)(),{invitation:t}=function(){let[e]=(0,r.useState)(()=>(0,d.py)()),{data:t}=(0,o.z)({queryKey:["GET_REFERRAL_PREVIEW",e],queryFn:()=>(0,s.hr)(e),enabled:!!e,...c.lb});return(0,r.useEffect)(()=>{!e||u.has(e)||(u.add(e),(0,s.Nj)(e))},[e]),{invitation:(null==t?void 0:t.valid)?t:null}}(),[n,a]=(0,r.useState)(v);if(n||!t)return null;let x=t.referrerFirstName,j=t.rewardLabel,_=x?e("referral.banner.invited.by",[x]):e("referral.banner.invited"),y=t.message||(j?e("referral.banner.reward",[j]):null);return(0,l.jsx)(h.Z,{closable:!0,showIcon:!0,type:"info",onClose:()=>{g(),a(!0)},icon:(0,l.jsx)(m.Z,{size:32,children:x?x.charAt(0):"★"}),message:(0,l.jsx)(i._,{strong:!0,children:_}),description:y?(0,l.jsx)(i._,{type:"secondary",children:y}):null})}var _=n(93411),y=n(65765),f=n(2516),b=n(30866),N=n(15233),Z=n(62344),S=n.n(Z),w=n(83663),P=n(97454),M=n(22825),C=n(13754),k=n(10042),I=n(99e3),F=n(8952),L=n(50820),R=n(90619),B=n(67371),D=n(73484),T=n(83582),W=n(21550),V=n(85551),E=n(14640),O=n(86132),A=n(34080),U=n(47022),z=n(5916),H=n(59448),q=n.n(H);function Y(e){let{branch:t,selectedMenu:n}=e,{t:a}=(0,p.q)(),{isMobile:s}=(0,_.p)(),[o,c]=(0,r.useState)("INFO"),d=(0,E.useLocale)(),u=(0,L.Z)(e=>e.company),{selectedService:h}=(0,R.Z)(e=>e),{data:m}=(0,O.S)(t.id,{companyID:null==u?void 0:u.id,orderType:null==h?void 0:h.orderType,lang:d}),{averageReviewScore:x=0,reviewCount:v=0}=m||{},g=!!t.hasReviews&&(x>0||v>0),{isModalOpen:j,handleOpenModal:y,handleCloseModal:b}=(0,M.X)(),{impressum:N,isImpressumAvailable:Z,isImpressumModalOpen:S,handleOpenImpressumModal:H,handleCloseImpressumModal:Y}=(0,A.I)(t.id),{colorPrimaryText:K}=(0,k.F)(),{getBranchStatusColor:J}=(0,C.i)(),{getBranchStatusText:X,getBranchBusinessSubCategories:G}=(0,P.v)(),Q=X(t,null==h?void 0:h.orderType),$=(0,r.useMemo)(()=>"pre-order"===Q.toLocaleLowerCase()?"orderforlater":Q.toLocaleLowerCase(),[Q]),{color:ee,backgroundColor:et}=J(Q),en=()=>u&&u.companyType===F.Q.PORTAL?G(t).map(e=>(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(D.Z,{status:"default"}),(0,l.jsx)(i._,{type:"secondary",children:e.name})]})):(0,l.jsx)(l.Fragment,{}),el=(0,r.useCallback)(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"INFO";c(e),y()},[]),er=(0,r.useCallback)(()=>{c("INFO"),b()},[]);return s?(0,l.jsxs)(f.Z,{vertical:!0,gap:8,className:q().container,children:[(0,l.jsx)(f.Z,{justify:"space-between",children:(0,l.jsxs)(f.Z,{vertical:!0,className:"w-full",children:[(0,l.jsx)(w.F,{level:3,className:"!max-md:pb-4 !pb-2 !m-0 ".concat("el"!==d?"!font-oswald":""),style:{fontWeight:"500 !important"},children:t.name}),(0,l.jsxs)(f.Z,{gap:4,align:"center",className:"!md:pb-4 !pb-3 flex-wrap",children:[g&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(T.Z,{count:1,defaultValue:1,disabled:!0}),(0,l.jsx)(i._,{className:"font-bold",children:x}),(0,l.jsxs)(i._,{className:"text-secondary underline hover:no-underline cursor-pointer",onClick:()=>el("REVIEWS"),children:["(",v," ",a("label.link.review"),")"]})]}),en()]}),(0,l.jsx)(f.Z,{align:"flex-start",className:"max-md:gap-3 gap-2",vertical:!0,children:(0,l.jsxs)(f.Z,{vertical:!0,className:"w-full justify-between !items-start",ga
1p:8,children:[Z&&(0,l.jsx)(f.Z,{children:(0,l.jsx)(i._,{className:"text-secondary underline hover:no-underline cursor-pointer",onClick:H,children:a("label.impressum")})}),(0,l.jsx)(f.Z,{justify:"end",children:(0,l.jsx)(W.Z,{style:{color:ee,backgroundColor:et},className:"!m-0 !text-sm !py-1 !px-2 flex",bordered:!1,icon:(0,l.jsx)(I.Vt,{className:"!w-4 !h-4"}),children:a("label.store.".concat($))})}),(0,l.jsx)(f.Z,{children:(0,l.jsxs)(V.ZP,{type:"text",onClick:()=>el("INFO"),className:"!p-0",children:[(0,l.jsx)(I.Yk,{color:K}),(0,l.jsx)(i._,{children:a("label.store.modal.title")}),(0,l.jsx)(B.Z,{})]})})]})})]})}),j&&(0,l.jsx)(z.X,{branch:t,onModalClose:b,defaultActiveKey:o}),S&&N&&(0,l.jsx)(U.V,{impressum:N,onModalClose:Y}),(0,l.jsx)(i._,{type:"secondary",children:null==n?void 0:n.description})]}):(0,l.jsxs)(f.Z,{vertical:!0,gap:8,className:q().container,children:[(0,l.jsxs)(f.Z,{justify:"space-between",children:[(0,l.jsxs)(f.Z,{gap:8,align:"center",children:[(0,l.jsx)(w.F,{level:3,className:"!mb-0 ".concat("el"!==d?"!font-oswald":""),style:{fontWeight:"500 !important"},children:t.name}),(0,l.jsxs)(f.Z,{gap:6,align:"center",style:{paddingTop:4},children:[g&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(T.Z,{count:1,defaultValue:1,disabled:!0}),(0,l.jsx)(i._,{className:"font-bold",children:x}),(0,l.jsxs)(i._,{className:"text-secondary underline hover:no-underline cursor-pointer",onClick:()=>el("REVIEWS"),children:["(",v," ",a("label.link.review"),")"]})]}),en()]})]}),(0,l.jsx)(f.Z,{vertical:!0,justify:"center",gap:8,children:(0,l.jsxs)(f.Z,{justify:"end",align:"center",gap:12,children:[Z&&(0,l.jsx)(f.Z,{justify:"end",children:(0,l.jsx)(i._,{className:"text-secondary underline hover:no-underline cursor-pointer",onClick:H,children:a("label.impressum")})}),(0,l.jsx)(W.Z,{style:{color:ee,backgroundColor:et},className:"!m-0 !text-sm !py-1 !px-2 flex",bordered:!1,icon:(0,l.jsx)(I.Vt,{className:"!w-4 !h-4"}),children:a("label.store.".concat($))}),(0,l.jsx)(f.Z,{children:(0,l.jsx)(V.ZP,{type:"text",onClick:()=>el("INFO"),icon:(0,l.jsx)(I.Yk,{className:"!w-7 !h-7 !pt-1"})})})]})})]}),j&&(0,l.jsx)(z.X,{branch:t,onModalClose:er,defaultActiveKey:o,isEnableReviewTab:g}),S&&N&&(0,l.jsx)(U.V,{impressum:N,onModalClose:Y}),(0,l.jsx)(i._,{type:"secondary",children:null==n?void 0:n.description})]})}var K=n(69913),J=n(46423),X=n(32513),G=n(25675),Q=n.n(G),$=n(25680),ee=n.n($);function et(e){let{carouselImage:t}=e,{isMobile:n}=(0,_.p)(),a=(0,r.useMemo)(()=>n?{width:"100%",height:"239px",objectFit:"cover"}:{width:"100%",height:"auto"},[n]);return t?(0,l.jsx)(X.Z,{arrows:!1,dots:!1,children:(0,l.jsx)("div",{children:(0,l.jsx)(Q(),{className:ee().image,src:null!=t?t:"",alt:"hero",width:0,height:0,sizes:"100vw",style:a,blurDataURL:null!=t?t:"",priority:!0})})}):(0,l.jsx)("div",{style:{width:"100vw"}})}var en=n(53349),el=n.n(en);function er(e){let{carouselImage:t}=e;return(0,l.jsx)("div",{className:el().banner,children:(0,l.jsx)(et,{carouselImage:t})})}var ea=n(10227),ei=n(78021),es=n(9504),eo=n(23804),ec=n(91995),ed=n(37390),eu=n(52675),ep=n(14733),eh=n(81763),em=n.n(eh),ex=n(20357
1),ev=n(78013),eg=n(81421),ej=n.n(eg);function e_(e){var t;let{product:n,isCategoryActive:a=!0,onOpenProductDetailModal:i}=e,s=(0,eu.Z)(e=>e.branch),{getBranchStatus:o}=(0,P.v)(),{getQuantityProductByEntityId:c}=(0,ex.$)(),d=c(null==n?void 0:n.id),u=o(s).offline,p=(null==n?void 0:n.currentState.status)===es.D.ACTIVE&&!u,h=a&&p,m=h?"pointer":"not-allowed",x=!(null==n?void 0:n.productPhotoUrl),v=(0,r.useMemo)(()=>{var e;return(0,ev.fS)(null!==(e=null==n?void 0:n.price)&&void 0!==e?e:0,null==n?void 0:n.discount)},[null==n?void 0:n.price,null==n?void 0:n.discount]),g=(0,r.useCallback)(()=>{h&&(null==n?void 0:n.id)&&i(n.id,void 0,{name:null==n?void 0:n.name,description:null==n?void 0:n.description,productPhotoUrl:null==n?void 0:n.productPhotoUrl})},[h,n,i]);return(0,l.jsx)(f.Z,{className:ej().container,style:{opacity:h?1:.65},children:(0,l.jsxs)(f.Z,{className:ej().content,justify:"space-between",style:{cursor:m},onClick:g,children:[(0,l.jsxs)(f.Z,{className:ej().description,vertical:!0,children:[(0,l.jsx)(f.Z,{vertical:!0,children:(0,l.jsx)(ed.z,{title:null==n?void 0:n.name,description:null==n?void 0:n.description})}),(0,l.jsxs)(f.Z,{gap:4,align:"center",children:[em()(null==n?void 0:n.price)&&(null==n?void 0:n.price)>0&&(0,l.jsx)(l.Fragment,{children:v.hasValidDiscount?(0,l.jsxs)(f.Z,{gap:4,align:"center",children:[(0,l.jsxs)(w.F,{level:5,className:"text-secondary text-normal ".concat(ej().originalPrice),children:[(0,l.jsx)(ec.e,{})," ",null==n?void 0:n.price.toFixed(2)]}),(0,l.jsxs)(w.F,{level:5,className:"text-normal ".concat(ej().discountedPrice),children:[(0,l.jsx)(ec.e,{})," ",v.discountedPrice.toFixed(2)]})]}):(0,l.jsxs)(w.F,{level:5,className:"text-secondary text-normal ".concat(ej().price),children:[(0,l.jsx)(ec.e,{})," ",null==n?void 0:n.price.toFixed(2)]})}),a&&(0,l.jsx)(eo.N,{currentState:null==n?void 0:n.currentState})]})]}),(0,l.jsx)(D.Z.Ribbon,{text:v.hasValidDiscount?(null==n?void 0:null===(t=n.discount)||void 0===t?void 0:t.percentage)?v.discountLabel:(0,l.jsxs)(l.Fragment,{children:["-",(0,l.jsx)(ec.e,{}),v.discountLabel]}):"",color:"red",className:v.hasValidDiscount?"":ej().hiddenBadge,children:(0,l.jsxs)("div",{className:ej().img,children:[(null==n?void 0:n.productPhotoUrl)&&(0,l.jsx)("div",{className:ej().imgWrapper,children:(0,l.jsx)(Q(),{src:null==n?void 0:n.productPhotoUrl,alt:null==n?void 0:n.name,width:0,height:0,sizes:"100vw",style:{width:"120px",height:"118px",objectFit:"cover",borderTopRightRadius:8,borderBottomRightRadius:8},priority:!0,blurDataURL:null==n?void 0:n.productPhotoUrl})}),d>0?(0,l.jsx)(V.ZP,{className:"".concat(ej().action," ").concat(x?ej().noImage:""),type:"primary",shape:"circle",size:"large",disabled:!h,onClick:g,children:d}):(0,l.jsx)(V.ZP,{className:"".concat(ej().action," ").concat(x?ej().noImage:""),variant:"outlined",color:"primary",shape:"circle",size:"large",icon:(0,l.jsx)(ep.Z,{}),disabled:!h,onClick:g})]})})]})})}var ey=n(52969),ef=n.n(ey);function eb(e){let{title:t,description:n,categoryPhotoUrl:r,productList:a,currentState:s,onOpenProductDetailModal:o}=e,c=(0,E.useLocale)(),d=(null==s?void 0:s.status)===es.D.ACTIVE;return(0,l.jsxs)(f.Z,{className:ef().container,vertical:!0,gap:16,children:[(0,l.jsxs)(f.Z,{vertical:!0,gap:8,children:[(0,l.jsxs)(f.Z,{gap:8,align:"center",children:[(0,l.jsx)(w.F,{level:4,className:"".concat(ef().title," ").concat("el"!==c?"!font-oswald":""),children:t}),!d&&(0,l.jsx)(eo.N,{currentState:s,level:"category"})]}),(0,l.jsx)(i._,{type:"secondary",className:ef().description,children:n}),r&&(0,l.jsx)(Q(),{src:r,alt:null!=t?t:"",width:0,height:0,sizes:"100vw",className:ef().categoryImage})]}),(0,l.jsx)("div",{className:ef().section,children:a.filter(e=>e.active).map(e=>(0,l.jsx)(e_,{product:e,isCategoryActive:d,onOpenProductDetailModal:o},e.id))})]})}var eN=n(80732),eZ=n(97895),eS=n.n(eZ);function ew(e){let{categoryList:t,isLoading:n,isListProductLoading:r,onOpenProductDetailModal:a}=e;return(0,l.jsx)(f.Z,{className:eS().content,children:(0,l.jsx)(ea.Z,{className:eS().content,gutter:24,children:(0,l.jsx)(ei.Z,{xxl:24,md:24,className:"no-padding",style:{width:"100%"},children:n||r?(0,l.jsx)(eN.p,{}):null==t?void 0:t.filter(e=>e.active).map(e=>{var t,n;return(0,l.jsx)("div",{id:null===(t=e.id)||void 0===t?void 0:t.toString(),children:(0,l.jsx)(eb,{title:null==e?void 0:e.name,description:null==e?void 0:e.description,categoryPhotoUrl:null==e?void 0:e.categoryPhotoUrl,productList:null!==(n=null==e?void 0:e.products)&&void 0!==n?n:[],currentState:null==e?void 0:e.currentState,onOpenProductDetailModal:a})},e.id)})})})})}
1var eP=n(54975),eM=n(14007),eC=n(64055),ek=n(23721),eI=n(65429),eF=n.n(eI);function eL(e){var t;let{product:n,onOpenProductDetailModal:a}=e,s=(0,eu.Z)(e=>e.branch),{getBranchStatus:o}=(0,P.v)(),c=o(s).offline,d=(0,r.useMemo)(()=>{var e;return(0,ev.fS)(null!==(e=null==n?void 0:n.price)&&void 0!==e?e:0,null==n?void 0:n.discount)},[null==n?void 0:n.price,null==n?void 0:n.discount]),u=(0,r.useCallback)(()=>{(null==n?void 0:n.id)&&!c&&a(n.id,void 0,{name:null==n?void 0:n.title,description:null==n?void 0:n.description,productPhotoUrl:null==n?void 0:n.image})},[n,c,a]);return(0,l.jsx)(ek.Z,{hoverable:!0,className:eF().card,cover:(0,l.jsx)(D.Z.Ribbon,{text:d.hasValidDiscount?(null==n?void 0:null===(t=n.discount)||void 0===t?void 0:t.percentage)?d.discountLabel:(0,l.jsxs)(l.Fragment,{children:["-",(0,l.jsx)(ec.e,{}),d.discountLabel]}):"",color:"red",className:d.hasValidDiscount?"":eF().hiddenBadge,children:(null==n?void 0:n.image)?(0,l.jsx)(Q(),{width:0,height:0,sizes:"100vw",style:{width:"125px",height:"125px",objectFit:"contain",borderTopLeftRadius:4,borderTopRightRadius:4},alt:"example",src:(null==n?void 0:n.image)||"",priority:!0,blurDataURL:(null==n?void 0:n.image)||""}):(0,l.jsx)("div",{style:{width:"125px",height:"125px"}})}),variant:"borderless",styles:{body:{padding:0,cursor:c?"not-allowed":"pointer"}},style:{opacity:c?.65:1},onClick:u,children:(0,l.jsxs)("div",{className:eF().container,children:[(0,l.jsx)(V.ZP,{className:eF().add,variant:"outlined",color:"primary",shape:"circle",size:"large",icon:(0,l.jsx)(ep.Z,{})}),(0,l.jsxs)(f.Z,{vertical:!0,gap:8,children:[(0,l.jsx)(i._,{className:eF().title,children:null==n?void 0:n.title}),(0,l.jsx)(f.Z,{align:"center",gap:8,children:em()(null==n?void 0:n.price)&&(null==n?void 0:n.price)>0&&(0,l.jsx)(l.Fragment,{children:d.hasValidDiscount?(0,l.jsxs)(f.Z,{gap:4,align:"center",children:[(0,l.jsxs)(w.F,{level:5,className:"text-secondary text-normal ".concat(eF().originalPrice),children:[(0,l.jsx)(ec.e,{})," ",null==n?void 0:n.price.toFixed(2)]}),(0,l.jsxs)(w.F,{level:5,className:"text-normal ".concat(eF().discountedPrice),children:[(0,l.jsx)(ec.e,{})," ",d.discountedPrice.toFixed(2)]})]}):(0,l.jsxs)(w.F,{level:5,className:"text-secondary text-normal ".concat(eF().price),children:[(0,l.jsx)(ec.e,{})," ",null==n?void 0:n.price.toFixed(2)]})})})]})]})})}var eR=n(97845);function eB(){let{isMobile:e}=(0,_.p)();return(0,l.jsx)(ek.Z,{cover:(0,l.jsx)(eR.Z.Image,{active:!0,style:{width:"100%",height:"225px"},className:"!w-full !h-[225px]"}),variant:"borderless",styles:{body:{padding:0,...e&&{width:"224px"}}},children:(0,l.jsxs)("div",{className:eF().container,children:[(0,l.jsx)(eR.Z.Avatar,{active:!0,size:44,shape:"circle",className:eF().add}),(0,l.jsxs)(f.Z,{vertical:!0,gap:8,children:[(0,l.jsxs)("div",{children:[(0,l.jsx)(eR.Z.Input,{active:!0,size:"small",className:"!w-[150px] !min-w-0"}),(0,l.jsx)(eR.Z.Input,{active:!0,size:"small",className:"!w-[60px] !min-w-0 !h-[16px] !mt-1"})]}),(0,l.jsxs)(f.Z,{align:"center",gap:8,children:[(0,l.jsx)(eR.Z.Input,{active:!0,size:"small",className:"!w-[50px] !min-w-0"}),(0,l.jsx)(eR.Z.Input,{active:!0,size:"small",className:"!w-[40px] !min-w-0"})]})]})]})})}var eD=n(13747),eT=n.n(eD);function eW(e){let{item:t,isLoading:n,onOpenProductDetailModal:a}=e,{isMobile:i}=(0,_.p)(),s=(0,E.useLocale)(),{scrollRef:o,canScrollLeft:c,canScrollRight:d,scroll:u}=(0,eP.m)({scrollAmount:300,dependencies:[t.products.length,n]}),p=(0,r.useMemo)(()=>({marginTop:20,marginBottom:0}),[i]);if(!n&&0===t.products.length)return null;let h=[eT().carouselWrapper,c&&eT().canScrollLeft,d&&eT().canScrollRight].filter(Boolean).join(" ");return(0,l.jsxs)(f.Z,{vertical:!0,gap:16,style:p,children:[(0,l.jsx)(w.F,{className:"".concat("el"!==s?"!font-oswald":""),level:4,style:{fontWeight:500,marginBottom:0},children:t.title}),(0,l.jsxs)("div",{className:h,children:[c&&!i&&(0,l.jsx)(V.ZP,{type:"text",icon:(0,l.jsx)(eM.Z,{}),onClick:()=>u("left"),className:"".concat(eT().scrollButton," ").concat(eT().scrollButtonLeft),variant:"outlined",color:"primary",shape:"circle",size:"large"}),(0,l.jsx)(f.Z,{ref:o,gap:16,className:eT().itemsContainer,children:n?Array.from({length:4},(e,t)=>(0,l.jsx)(eB,{},t)):t.products.map(e=>(0,l.jsx)(eL,{product:e,onOpenProductDetailModal:a},e.id))}),d&&!i&&(0,l.jsx)(V.ZP,{type:"text",icon:(0,l.jsx)(eC.Z,{}),onClick:()=>u("right"),className:"".concat(eT().scrollButton," ").concat(eT().scrollButtonRight),variant:"outlined",color:"primary",shape:"circle",size:"large"})]})]})}var eV=n(64460),eE=n(22116),eO=n(35522),eA=n(54687),eU=n.n(eA);function ez(e){let{currentSlide:t,slideCount:n,...r}=e;return(0,l.jsx)("div",{...r,children:(0,l.jsx)(V.ZP,{className:"".concat(eU().arrow," ").concat(eU().right),shape:"circle",size:"large",icon:(0,l.jsx)(eC.Z,{})})})}function eH(e){let{currentSlide:t,slideCount:n,...r}=e;return(0,l.jsx)("div",{...r,children:(0,l.jsx)(V.ZP,{className:"".concat(eU().arrow," ").concat(eU().left),shape:"circle",size:"large",icon:(0,l.jsx)(eM.Z,{})})})}function eq(e){let{cards:t}=e;if(0===t.length)return null;let n=Math.min(t.length,3),r=Math.min(t.length,2),a=t.length>n,i=t.length>r,s=t.length>1;return(0,l.jsx)(X.Z,{className:eU().container,autoplay:!1,slidesToShow:n,slidesToScroll:n,autoplaySpeed:3e3,arrows:a,dots:!1,responsive:[{breakpoint:1024,settings:{slidesToShow:1,slidesToScroll:1,arrows:s}},{breakpoint:1920,settings:{slidesToShow:r,slidesToScroll:r,arrows:i}}],nextArrow:(0,l.jsx)(ez,{}),prevArrow:(0,l.jsx)(eH,{}),children:t.map(e=>(0,l.jsx)(eO.W,{card:e},e.id))})}var eY=n(7057),eK=n(52155),eJ=n(54981),eX=n(51452),eG=n(56205),eQ=n.n(eG);let e$=e=>e.map(e=>{let{dayOfWeek:t,startTime:n,endTime:r}=e;return(0,l.jsxs)(f.Z,{gap:8,justify:"space-between",children:[(0,l.jsx)(i._,{style:{minWidth:40},children:t}),(0,l.jsxs)(i._,{children:[n," - ",r]})]},"".concat(t,"-").concat(n,"-").concat(r))}),e0=()=>(0,l.jsx)(f.Z,{children:(0,l.jsx)(f.Z,{gap:8,children:Array.from({length:10}).map((e,t)=>(0,l.jsx)(eR.Z.Button,{active:!0,size:"default",className:"!h-[38px] ".concat(eQ().pillSkeleton)},t))})}),e1=e=>{let t=c.en[new Date().getDay()];return e.find(e=>e.dayOfWeek.toLowerCase()===t)},e2=(e,t,n)=>{let r=e1(t);return(0,l.jsx)(f.Z,{gap:8,align:"baseline",children:(0,l.jsxs)(f.Z,{vertical:!0,children:[(0,l.jsxs)(f.Z,{className:"text-default text-bold",gap:8,children:[(0,l.jsx)("span",{className:eQ().label,children:e}),t.length>0&&(0,l.jsx)(eK.Z,{title:(0,l.jsx)(f.Z,{style:{color:"#333333",padding:8},vertical:!0,gap:4,children:e$(t)}),color:"#ffffff",placement:"bottom",children:(0,l.jsx)(I.Yk,{color:n})})]}),r&&(0,l.jsxs)(i._,{children:[r.startTime," - ",r.endTime]})]})})},e5=e=>e.map(e=>{var t,n;return{value:null!==(n=null===(t=e.id)||void 0===t?void 0:t.toString())&&void 0!==n?n:"",label:(0,l.jsx)(w.F,{ellipsis:!0,level:5,style:{color:"inherit",margin:0,fontWeight:400},children:e.name})}});function e4(e){var t,n;let{menuList:a,selectedMenu:i,onMenuSelected:s,isLoading:o,categoryMenuOptions:c}=e,{isMobile:d}=(0,_.p)(),{colorPrimaryText:u}=(0,k.F)(),{availabilities:p}=null!=i?i:{},{getCurrentAvailabilities:h,sortAvailabilities:m}=(0,eY.t)(),x=h(p),v=m(p),g=1===a.length,j=0===x.length,y=(0,r.useMemo)(()=>d?70:90,[d]),b=(0,r.useMemo)(()=>d?80:95,[d]),{scrollRef:N,showScrollButtons:Z,canScrollLeft:S,canScrollRight:P,scroll:M}=(0,eP.m)({scrollAmount:200,dependencies:[c]}
1),{isSticky:C,sentinelRef:I,containerRef:F}=(0,eX.t)({stickyTopOffset:y}),{activeSection:L,scrollToSection:R}=(0,eX.B)({categoryKeys:c.map(e=>e.key),stickyTopOffset:b});(0,r.useEffect)(()=>{if(L&&N.current){let e=N.current.querySelector('button[data-category-key="'.concat(L,'"]'));e&&e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}},[L]);let B=(0,r.useCallback)(e=>{s(a.find(t=>{var n;return(null===(n=t.id)||void 0===n?void 0:n.toString())===e}))},[s,a]);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"md:!mt-5"}),(0,l.jsx)("div",{ref:I,style:{height:"1px",marginTop:"-1px"}}),(0,l.jsx)(f.Z,{ref:F,className:"".concat(eQ().container," ").concat(C?eQ().isSticky:""),gap:16,vertical:!0,children:(0,l.jsx)(f.Z,{vertical:!0,gap:16,style:{height:"100%"},children:(0,l.jsxs)(f.Z,{className:eQ().categoryWrapper,align:"center",gap:8,justify:"space-between",children:[!(g&&j)&&i&&(0,l.jsx)(f.Z,{children:(0,l.jsx)("div",{className:eQ().select,children:g?(0,l.jsx)(w.F,{ellipsis:!0,level:4,style:{color:"inherit",margin:0},children:null==i?void 0:i.name}):(0,l.jsx)(eJ.default,{variant:"borderless",value:null==i?void 0:null===(t=i.id)||void 0===t?void 0:t.toString(),defaultValue:null==i?void 0:null===(n=i.id)||void 0===n?void 0:n.toString(),options:e5(a),onChange:B,labelRender:e=>{let{label:t}=e;return e2(t,v,u)},styles:{popup:{root:{width:"160px"}}}})})}),(0,l.jsx)("div",{ref:N,className:eQ().pillsWrapper,children:(0,l.jsx)(f.Z,{gap:8,className:eQ().pills,children:o?(0,l.jsx)(e0,{}):c.map(e=>(0,l.jsx)("button",{"data-category-key":e.key,className:"text-secondary text-bold ".concat(eQ().pill," ").concat(L===e.key?eQ().active:""),onClick:()=>R(e.key),children:e.label},e.key))})}),Z&&(0,l.jsxs)(f.Z,{gap:8,children:[(0,l.jsx)(V.ZP,{type:"text",icon:(0,l.jsx)(eM.Z,{}),onClick:()=>M("left"),className:eQ().scrollButton,disabled:!S,variant:"outlined",color:"primary",shape:"circle",size:"large"}),(0,l.jsx)(V.ZP,{type:"text",icon:(0,l.jsx)(eC.Z,{}),onClick:()=>M("right"),className:eQ().scrollButton,disabled:!P,variant:"outlined",color:"primary",shape:"circle",size:"large"})]})]})})})]})}var e8=n(28025),e3=n(8051),e6=n(19091),e9=n(63691),e7=n.n(e9);let te=e=>e.map(e=>{var t,n;return{value:null!==(n=null===(t=e.id)||void 0===t?void 0:t.toString())&&void 0!==n?n:"",label:(0,l.jsx)(w.F,{ellipsis:!0,level:5,style:{color:"inherit",margin:0,fontWeight:400},children:e.name})}});function tt(e){var t,n;let{menuList:a,selectedMenu:i,onMenuSelected:s,isLoading:o,categoryMenuOptions:c,branch:d,onOpenProductDetailModal:u}=e,{availabilities:p}=null!=i?i:{},{getCurrentAvailabilities:h}=(0,eY.t)(),m=h(p),x=1===a.length,v=x&&0===m.length,{searchValue:g,dataSource:j,isLoading:_,isSuccess:y,onSearchValueChange:b}=(0,e3.J)({menuID:null!==(n=null==i?void 0:i.id)&&void 0!==n?n:0,branchID:d.id}),N=(0,r.useRef)(null),{activeSection:Z,scrollToSection:S}=function(e){let{categoryKeys:t,topOffset:n=107}=e,[l,a]=(0,r.useState)(""),i=(0,r.useRef)(!1),s=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{if(0===t.length)return;let e=()=>{i.current||s.current||(i.current=!0,window.requestAnimationFrame(()=>{let e=window.scrollY;for(let l=t.length-1;l>=0;l--){let r=document.getElementById(t[l]);if(r){let s=r.getBoundingClientRect().top+e;if(e+n>=s){a(t[l]),i.current=!1;return}}}a(t[0]),i.current=!1}))};return e(),window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[t,n]),{activeSection:l,scrollToSection:(0,r.useCallback)(e=>{let t=document.getElementById(e);if(!t)return;let l=t.getBoundingClientRect().top+window.scrollY-n+4;s.current=!0,a(e),window.scrollTo({top:l,behavior:"smooth"}),requestAnimationFrame(()=>{s.current=!1})},[n])}}({categoryKeys:c.map(e=>e.key)});(0,r.useEffect)(()=>{if(!Z||!N.current)return;let e=N.current.querySelector('button[data-category-key="'.concat(Z,'"]'));null==e||e.scrollIntoView({behavior:"smooth",block:"nearest"})},[Z]);let P=(0,r.useCallback)(e=>{s(a.find(t=>{var n;return(null===(n=t.id)||void 0===n?void 0:n.toString())===e}))},[s,a]);return(0,l.jsxs)(f.Z,{vertical:!0,className:e7().container,children:[(0,l.jsx)(f.Z,{style:{marginBottom:16},children:(0,l.jsx)(e6.t,{searchValue:g,dataSource:j,isLoading:_,isSuccess:y,onSearchValueChange:b,onOpenProductDetailModal:u,AutoCompleteStyles:{popup:{root:{width:400}}}})}),!v&&i&&(0,l.jsx)("div",{className:e7().menuSelect,children:x?(0,l.jsx)(w.F,{ellipsis:!0,level:5,style:{color:"inherit",margin:0},children:i.name}):(0,l.jsx)(eJ.default,{variant:"borderless",value:null===(t=i.id)||void 0===t?void 0:t.toString(),options:te(a),onChange:P,className:e7().select,styles:{popup:{root:{width:"180px"}}}})}),(0,l.jsx)("div",{ref:N,className:e7().pillsWrapper,children:o?(0,l.jsx)(f.Z,{vertical:!0,gap:8,children:Array.from({length:8}).map((e,t)=>(0,l.jsx)(eR.Z.Button,{active:!0,className:"!h-[38px] !w-full"},t))}):(0,l.jsx)(e8.Z,{mode:"inline",selectedKeys:Z?[Z]:[],items:c.map(e=>({key:e.key,label:e.label,"data-category-key":e.key})),onClick:e=>{let{key:t}=e;return S(t)},className:e7().categoryMenu})})]})}function tn(e){let{branch:t,carouselImage:n,isDesktop:r,menuList:a,selectedMenu:i,onMenuSelected:s,isLoading:o,categoryState:c,productMarketingMenuAreaList:d,isProductMarketingMenuAreaLoading:u,loyaltyCards:p,productState:h,availableServices:m,selectedService:x,onServiceSelected:v}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)("div",{className:"".concat(S().leftScrollArea," ").concat(r?"":S().menu),children:[(0,l.jsx)(er,{branchImage:t.locationWebLogoUrl,carouselImage:n}),(0,l.jsx)(f.Z,{className:S().storeProfile,children:(0,l.jsx)(Y,{branch:t,selectedMenu:i})}),!r&&(0,l.jsx)(e4,{menuList:a,selectedMenu:i,onMenuSelected:s,isLoading:o,categoryMenuOptions:c.categoryMenuOptions}),(0,l.jsxs)("div",{className:S().desktopGrid,children:[r&&(0,l.jsx)("div",{className:S().categorySidebar,children:(0,l.jsx)(tt,{branch:t,menuList:a,selectedMenu:i,onMenuSelected:s,isLoading:o,categoryMenuOptions:c.categoryMenuOptions,onOpenProductDetailModal:h.onOpenProductDetailModal})}
1),(0,l.jsxs)("div",{className:S().productColumn,children:[(0,l.jsx)(K.e,{area:J.tp.MENU,entityType:"BRANCH",entityId:t.id}),d.map(e=>(0,l.jsx)(eW,{item:e,isLoading:u,onOpenProductDetailModal:h.onOpenProductDetailModal},e.title+e.type)),(0,l.jsx)(eq,{cards:p}),(0,l.jsx)(ew,{isLoading:o,isListProductLoading:o,categoryList:c.selectedCategoryList,onOpenProductDetailModal:h.onOpenProductDetailModal}),(0,l.jsx)("div",{style:{marginBottom:80}})]})]}),h.isOpenProductDetail&&(0,l.jsx)(eE.E,{onClose:h.onCloseProductDetail,isLoading:h.isFetchingProduct,product:h.product,keyId:h.selectedKey,menuProductPreview:h.selectedMenuProductPreview,validateBeforeAddCart:h.validateBeforeAddCart})]}),(0,l.jsx)(f.Z,{className:S().order,children:(0,l.jsx)(eV.v,{availableServices:m,selectedService:x,onServiceSelected:v,onOpenProductDetailModal:h.onOpenProductDetailModal})})]})}var tl=n(8044),tr=n(91514),ta=n(97588),ti=n(76837);function ts(e){let{branch:t,carouselImage:n,menuList:r,selectedMenu:a,onMenuSelected:i,isLoading:s,categoryState:o,productMarketingMenuAreaList:c,isProductMarketingMenuAreaLoading:d,loyaltyCards:u,productState:p,availableServices:h,selectedService:m,onServiceSelected:x,onServiceChange:v}=e,{getServiceOptions:g}=(0,tr.r)(),j=g(h);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(f.Z,{vertical:!0,className:S().menu,children:[(0,l.jsx)(er,{branchImage:t.locationWebLogoUrl,carouselImage:n}),(0,l.jsx)(Y,{branch:t,selectedMenu:a}),(0,l.jsx)(tl.b,{style:{width:"100%",margin:"16px 0"},value:null==m?void 0:m.orderType,options:j.map(e=>({value:null==e?void 0:e.value,label:null==e?void 0:e.label})),onChange:e=>{null==v||v(e),(0,ti.y)({event:ta.s.SELECT_CONTENT,content_type:null==e?void 0:e.toLowerCase()})}}),(0,l.jsx)(e4,{menuList:r,selectedMenu:a,onMenuSelected:i,isLoading:s,categoryMenuOptions:o.categoryMenuOptions}),(0,l.jsx)(K.e,{area:J.tp.MENU,entityType:"BRANCH",entityId:t.id}),c.map(e=>(0,l.jsx)(eW,{item:e,isLoading:d,onOpenProductDetailModal:p.onOpenProductDetailModal},e.title+e.type)),(0,l.jsx)(eq,{cards:u}),(0,l.jsx)(ew,{isLoading:s,isListProductLoading:s,categoryList:o.selectedCategoryList,onOpenProductDetailModal:p.onOpenProductDetailModal}),p.isOpenProductDetail&&(0,l.jsx)(eE.E,{onClose:p.onCloseProductDetail,isLoading:p.isFetchingProduct,product:p.product,keyId:p.selectedKey,menuProductPreview:p.selectedMenuProductPreview,validateBeforeAddCart:p.validateBeforeAddCart}),(0,l.jsx)("div",{style:{marginBottom:300}})]}),(0,l.jsx)("div",{className:S().orderMobile,children:(0,l.jsx)("div",{className:S().mobileBasketWrapper,children:(0,l.jsx)(eV.G,{availableServices:h,selectedService:m,onServiceSelected:x,onOpenProductDetailModal:p.onOpenProductDetailModal})})})]})}function to(e){let{initialValues:t}=e,n=(0,N.m)(t),{isDesktop:r,isLargeTablet:i}=(0,_.p)(),s=r||i,{onServiceChange:o,modalChangeTypeContextHolder:c}=(0,b.z)({availableServices:n.availableServices,selectedService:n.selectedService,onServiceSelected:n.onServiceSelected});return(0,l.jsxs)(y.Z.Content,{className:S().layout,children:[(0,l.jsx)(j,{}),(0,l.jsx)(f.Z,{className:S().content,children:s?(0,l.jsx)(tn,{...n,isDesktop:r}):(0,l.jsx)(ts,{...n,onServiceChange:o})}),(0,l.jsx)("div",{children:c}),(0,l.jsx)("div",{children:n.productState.validateModalContextHolder}),(0,l.jsx)(a.$,{})]})}},64972:function(e,t,n){"use strict";n.d(t,{$:function(){return h}});var l=n(85893),r=n(11949),a=n(47529),i=n(50820),s=n(2516),o=n(25675),c=n.n(o),d=n(82057),u=n(74322),p=n.n(u);function h(e){let{className:t}=e,{t:n}=(0,r.q)(),o=(0,i.Z)(e=>e.company),u=(0,a.Vf)(null==o?void 0:o.salesCompanyName),h=(null==o?void 0:o.salesCompanyWebsite)?o.salesCompanyWebsite.startsWith("http")?o.salesCompanyWebsite:"https://".concat(o.salesCompanyWebsite):void 0,m=null==o?void 0:o.salesCompanyName,x=(0,a.k2)(m,"terms-and-conditions"),v=(0,a.k2)(m,"privacy-policy"),g=(0,a.k2)(m,"cookie-policy");return(0,l.jsx)(s.Z,{className:t,children:(0,l.jsx)("footer",{id:"footer",className:p().footer,children:(0,l.jsxs)(s.Z,{vertical:!0,align:"center",children:[u&&(0,l.jsx)("a",{href:h,target:"_blank",rel:"noopener",children:(0,l.jsx)(c(),{src:u,alt:"footer logo",width:0,height:0,sizes:"100vw",priority:!0,style:{width:"100px",height:"auto",maxHeight:"48px",objectFit:"contain"}})}),(0,l.jsxs)(s.Z,{className:p().copyright,children:[(0,l.jsxs)(d._,{type:"secondary",children:[n("label.copyright")," \xa9 ",new Date().getFullYear()," ",null==o?void 0:o.salesCompanyName]}),(x||v)&&(0,l.jsx)("span",{className:p().dash,children:"|"}),(0,l.jsxs)(s.Z,{gap:8,children:[x&&(0,l.jsx)("a",{href:(0,a.Qh)(m,"terms-and-conditions"),children:n("label.terms.and.conditions")}),x&&v&&(0,l.jsx)("span",{children:"|"}),v&&(0,l.jsx)("a",{href:(0,a.Qh)(m,"privacy-policy"),children:n("label.link.privacy.policy")})]}),g&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("span",{className:p().dash,children:"|"}),(0,l.jsx)("a",{href:(0,a.Qh)(m,"cookie-policy"),children:n("label.link.cookie.policy")})]})]})]})})})}},25680:function(e){e.exports={image:"HeroCarousel_image__HIi5R"}},53349:function(e){e.exports={banner:"MenuBanner_banner__jm8uv",image:"MenuBanner_image__kaYBt"}}
1,97895:function(e){e.exports={content:"MenuContainer_content__RH5oM"}},65429:function(e){e.exports={card:"FeaturedItem_card__0ZskX",container:"FeaturedItem_container__wQnxc",add:"FeaturedItem_add__pJR8E",title:"FeaturedItem_title__298nx",originalPrice:"FeaturedItem_originalPrice__Azqp6",discountedPrice:"FeaturedItem_discountedPrice__lonb7",hiddenBadge:"FeaturedItem_hiddenBadge__8wdCC"}},13747:function(e){e.exports={carouselWrapper:"MenuFeatured_carouselWrapper__uj60R",canScrollLeft:"MenuFeatured_canScrollLeft__y9mvd",canScrollRight:"MenuFeatured_canScrollRight__RAgHx",itemsContainer:"MenuFeatured_itemsContainer__9eNMt",scrollButton:"MenuFeatured_scrollButton__emBN5",scrollButtonLeft:"MenuFeatured_scrollButtonLeft__Ri_Rh",scrollButtonRight:"MenuFeatured_scrollButtonRight__YJCBz"}},81421:function(e){e.exports={container:"MenuProductItem_container__xL_Dj",content:"MenuProductItem_content__PINWb",description:"MenuProductItem_description__tJG4A",img:"MenuProductItem_img__YEYYp",imgWrapper:"MenuProductItem_imgWrapper__zSwaw",action:"MenuProductItem_action__BywfC",noImage:"MenuProductItem_noImage__I1gKc",price:"MenuProductItem_price__DZY7K",originalPrice:"MenuProductItem_originalPrice__IZhXx",discountedPrice:"MenuProductItem_discountedPrice__HUCJF",hiddenBadge:"MenuProductItem_hiddenBadge__jqJI1"}},54687:function(e){e.exports={container:"MenuPromo_container__UuuHm",arrow:"MenuPromo_arrow__Qxnvh",left:"MenuPromo_left__Fy8nU",right:"MenuPromo_right__r4vKB"}},31794:function(e){e.exports={container:"MenuSearchProductItem_container__U0rBT",rate:"MenuSearchProductItem_rate__sovPu",noItemFound:"MenuSearchProductItem_noItemFound__4rlxl"}},75472:function(e){e.exports={searchIcon:"MenuSearchProduct_searchIcon__FS3Zy",drawerContainer:"MenuSearchProduct_drawerContainer__se8kA",searchHeader:"MenuSearchProduct_searchHeader__3qscU",searchInput:"MenuSearchProduct_searchInput__kSE7x",searchResults:"MenuSearchProduct_searchResults__91mAr",loadingItem:"MenuSearchProduct_loadingItem__5qbR9",resultItem:"MenuSearchProduct_resultItem__2UIEP",emptyState:"MenuSearchProduct_emptyState__oEpGs",noResults:"MenuSearchProduct_noResults__NElw_",startTyping:"MenuSearchProduct_startTyping__u113_",desktopAutoComplete:"MenuSearchProduct_desktopAutoComplete__l_WXY",desktopInput:"MenuSearchProduct_desktopInput__s29PC"}},56205:function(e){e.exports={container:"MenuSearchV2_container__wCwDV",isSticky:"MenuSearchV2_isSticky__Jrhyy",menuWrapper:"MenuSearchV2_menuWrapper__ow8te",categoryWrapper:"MenuSearchV2_categoryWrapper__1BwTL",pillsWrapper:"MenuSearchV2_pillsWrapper__0xCEi",pills:"MenuSearchV2_pills__XwPrt",pill:"MenuSearchV2_pill__qvRs4",active:"MenuSearchV2_active__HjWR7",pillSkeleton:"MenuSearchV2_pillSkeleton__qibob",scrollButton:"MenuSearchV2_scrollButton__8RoOF",select:"MenuSearchV2_select__eh7GL",label:"MenuSearchV2_label__WvfT3"}},63691:function(e){e.exports={container:"MenuSearchVertical_container__q9hRE",menuSelect:"MenuSearchVertical_menuSelect__w37fD",select:"MenuSearchVertical_select__w25WX",pillsWrapper:"MenuSearchVertical_pillsWrapper__innRs",categoryMenu:"MenuSearchVertical_categoryMenu__weo4L"}},52969:function(e){e.exports={container:"MenuSection_container__HwYyB",title:"MenuSection_title__7HAgm",description:"MenuSection_description__p7B_s",categoryImage:"MenuSection_categoryImage__ol4M6",section:"MenuSection_section__gsgFf"}},62344:function(e){e.exports={layout:"page_layout__PdSuU",content:"page_content__c7FOT",menu:"page_menu__K0rb0",orderMobile:"page_orderMobile__uhJAK",mobileBasketWrapper:"page_mobileBasketWrapper__ygJe7",leftScrollArea:"page_leftScrollArea__ghCY3",desktopGrid:"page_desktopGrid__UtHIs",categorySidebar:"page_categorySidebar__veAaQ",productColumn:"page_productColumn__TUf9O",storeProfile:"page_storeProfile__jdsuN",order:"page_order__6H8oh"}},59448:function(e){e.exports={container:"StoreProfile_container__8o_Cc"}},74322:function(e){e.exports={footer:"Footer_footer__ddZ2A",copyright:"Footer_copyright__CP_2u",dash:"Footer_dash__Tb_Dk"}}}]);

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.