1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1868],{84297:function(e,n,s){"use strict";s.d(n,{Z:function(){return i}});var t=s(67294),r={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),i=(e,n)=>{let s=(0,t.forwardRef)(({color:s="currentColor",size:i=24,strokeWidth:o=2,absoluteStrokeWidth:a,children:c,...d},u)=>(0,t.createElement)("svg",{ref:u,...r,width:i,height:i,stroke:s,strokeWidth:a?24*Number(o)/Number(i):o,className:`lucide lucide-${l(e)}`,...d},[...n.map(([e,n])=>(0,t.createElement)(e,n)),...(Array.isArray(c)?c:[c])||[]]));return s.displayName=`${e}`,s}},22896:function(e,n,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_sites/[site]/v2",function(){return s(84993)}])},374:function(e,n,s){"use strict";s.d(n,{U:function(){return t}});let t={delivery:"delivery_dining",pickup:"storefront",pin:"icon-location2",arrowLeft:"icon-arrow-left",arrowRight:"icon-arrow-right",angleUp:"icon-angle-up",clock:"clock"}},82256:function(e,n,s){"use strict";s.d(n,{H:function(){return l}});var t=s(85893),r=s(71868);function l(e){let{schema:n}=e;return n?(0,t.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:(0,r.B)(n)}}):null}},71868:function(e,n,s){"use strict";s.d(n,{B:function(){return t}});let t=e=>JSON.stringify(e).replace(/</g,"\\u003c")},84993:function(e,n,s){"use strict";s.r(n),s.d(n,{__N_SSG:function(){return E},default:function(){return S}});var t=s(85893),r=s(74790),l=s(67294),i=s(26628),o=s(82256),a=s(9008),c=s.n(a);function d(e){let{token:n}=e;return n?(0,t.jsx)(c(),{children:(0,t.jsx)("meta",{name:"google-site-verification",content:n})}):null}var u=s(64192),m=s(31974),h=s(92852),x=s(93646),g=s(34484),v=s(6997),f=s(9242),j=s(62609),p=s(45123),w=s(91075),N=s(98609),b=s(62031),k=s(79811),y=s(26264),_=s(17251),B=s(35111);let C=e=>{let{tenant:n,homeLanding:s,siteJsonLd:a,webSiteJsonLd:c,siteVerification:u}=e,{v2StoreContextHydrated:m}=(0,p.X)();(0,g.w)();let{utmParams:w}=(0,x.x)(),N=(0,i.v9)(e=>{var n;return null===(n=e.searchStore.currentSubsidiary)||void 0===n?void 0:n.id}),y=(0,i.v9)(e=>e.core.settings),[_,B]=(0,l.useState)(!1);(0,l.useEffect)(()=>{B(!0)},[]);let C=(0,l.useRef)(!1);(0,l.useEffect)(()=>{_&&m&&!C.current&&(C.current=!0,N&&!s?h.Z.viewStorePage({tenant:n,utmParams:w}):h.Z.viewHomePage({tenant:n,utmParams:w}))},[_,m,N,n,w,s]);let E=_&&!!N,S=!_||!m;if(s){let e=(0,v.we)(s.blocks)?"":(0,v.xF)({pageName:"",pageTitle:y.pageTitle,commerceName:y.commerceName});return(0,t.jsxs)("div",{className:"flex min-h-[50vh] flex-col",children:[(0,t.jsx)(d,{token:u}),(0,t.jsx)(o.H,{schema:a}),(0,t.jsx)(o.H,{schema:c}),e?(0,t.jsx)("h1",{className:"sr-only",children:e}):null,(0,t.jsx)(r.o,{blocksConfig:f.R,pageBuilderContentBlocks:s.blocks,pageType:"landing"})]})}return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(d,{token:u}),(0,t.jsx)(o.H,{schema:a}),(0,t.jsx)(o.H,{schema:c}),S&&!E&&(0,t.jsx)(j.KU,{scope:"MenuScreen",children:(0,t.jsx)(k.o,{})}),!S&&!E&&(0,t.jsx)(j.KU,{scope:"LandingScreen",children:(0,t.jsx)(b.k,{})}),E&&(0,t.jsx)(j.KU,{scope:"MenuScreen",children:(0,t.jsx)(k.o,{})})]})};C.getLayout=function(e,n){let s=!!(null==n?void 0:n.homeLanding);return(0,t.jsx)(m.p,{children:(0,t.jsxs)(y.iW,{children:[(0,t.jsx)(w.Vw,{showCartBar:!0,showDispatchBar:s,showBrandBackground:!s,showBackgroundImage:!s,children:e}),(0,t.jsx)(_.Q,{}),(0,t.jsx)(N.O,{}),(0,t.jsx)(u.D,{}),(0,t.jsx)(B.Z,{})]})})};var E=!0,S=C},9242:function(e,n,s){"use strict";s.d(n,{R:function(){return p}});var t=s(85893);s(519);var r=s(48227),l=s(74790),i=s(26982),o=s(67761),a=s(59987),c=s(67294),d=s(26628),u=s(97844),m=s(80006),h=s(24398),x=s(5962);let g="grid grid-cols-2 gap-3 sm:grid-cols-3 lg:grid-cols-4";var v=s(13042),f=s(22966),j=s(24805);let p=(0,l.K)({banners:function(e){var n;let{controlProps:s}=e,l=null==s?void 0:s.blockBannersBgColor;return(0,t.jsx)(r.zR,{bgColor:"string"==typeof l&&l?l:void 0,children:(0,t.jsx)("div",{className:"mx-auto w-full max-w-app",children:(0,t.jsx)(a.s,{autoplay:!!(null!==(n=null==s?void 0:s.enableAutoplay)&&void 0!==n&&n)})})})},menu:o.v,hero:r.D_,categoriesGrid:function(e){var n,s;
1let{controlProps:l,colors:o}=e,a=(0,d.v9)(e=>(0,u.r3)(e)),v=(0,d.v9)(e=>null!==(n=e.menu.menu)&&void 0!==n?n:[]),f=(0,d.v9)(e=>e.menu.menuLoading),j=(0,d.v9)(e=>e.menu._menuCache),p=(0,d.v9)(e=>e.menu.menuError),[w,N]=(0,c.useState)(!1);(0,c.useEffect)(()=>N(!0),[]);let b=a?v:v.filter(e=>{var n;return(null!==(s=null===(n=e.prices)||void 0===n?void 0:n.length)&&void 0!==s?s:0)>0}),k=b.map(x.E),y=null==l?void 0:l.title,_=null==l?void 0:l.subtitle;return 0!==k.length||w&&!f&&(a||j||p)?(0,t.jsx)(r.cO,{title:y,subtitle:_,colors:o,children:k.length>0?(0,t.jsx)("div",{className:g,children:k.map(e=>(0,t.jsxs)("a",{href:"/pedir#category-".concat((0,h.$)(e.name,e.id)),className:"group overflow-hidden rounded-2xl !bg-surface shadow-sm transition-all hover:shadow-md",children:[(0,t.jsx)("div",{className:"relative aspect-[4/3] w-full overflow-hidden !bg-card-bg",children:e.imgSrc?(0,t.jsx)("img",{src:e.imgSrc,alt:e.name,loading:"lazy",decoding:"async",className:"absolute inset-0 h-full w-full object-cover motion-safe:transition-transform motion-safe:duration-300 motion-safe:group-hover:scale-105"}):(0,t.jsx)("div",{className:"flex h-full items-center justify-center bg-card-text/5",children:(0,t.jsxs)("svg",{width:"40",height:"40",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round",className:"text-card-text/20","aria-hidden":"true",children:[(0,t.jsx)("path",{d:"M3 2v7c0 1.1.9 2 2 2h4a2 2 0 0 0 2-2V2"}),(0,t.jsx)("path",{d:"M7 2v20"}),(0,t.jsx)("path",{d:"M21 15V2a5 5 0 0 0-5 5v6c0 1.1.9 2 2 2h3Zm0 0v7"})]})})}),(0,t.jsx)("div",{className:"p-3",children:(0,t.jsx)("h3",{className:"line-clamp-1 text-sm font-semibold text-content",children:e.name})})]},e.id))}):(0,t.jsx)("div",{className:"rounded-2xl !bg-surface-subtle py-12 text-center",children:(0,t.jsx)("p",{className:"text-sm text-content-muted",children:i.ZP.t("V2Blocks:noCategories")})})}):(0,t.jsx)(r.cO,{title:y,subtitle:_,colors:o,children:(0,t.jsx)("div",{className:g,children:[1,2,3,4].map(e=>(0,t.jsxs)("div",{className:"overflow-hidden rounded-2xl",children:[(0,t.jsx)(m.Od,{className:"aspect-[4/3] w-full",rounded:"none"}),(0,t.jsx)("div",{className:"!bg-surface p-3",children:(0,t.jsx)(m.Od,{className:"h-4 w-3/4"})})]},e))})})},videoEmbedContent:r.aT,storesCarousel:function(e){let{controlProps:n,colors:s}=e,{stores:l,loading:o}=(0,v.m)(f.Z.getAll);return(0,t.jsxs)(r.cO,{title:null==n?void 0:n.title,subtitle:null==n?void 0:n.subtitle,colors:s,children:[o&&(0,t.jsx)("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3",children:[1,2,3].map(e=>(0,t.jsxs)("div",{className:"overflow-hidden rounded-2xl !bg-surface shadow-sm",children:[(0,t.jsx)(m.Od,{className:"h-36 w-full",rounded:"none"}),(0,t.jsxs)("div",{className:"space-y-2 p-4",children:[(0,t.jsx)(m.Od,{className:"h-5 w-2/3"}),(0,t.jsx)(m.Od,{className:"h-4 w-full"})]})]},e))}),!o&&l.length>0&&(0,t.jsx)("div",{className:"grid gap-4 sm:grid-cols-2 lg:grid-cols-3",children:l.map(e=>(0,t.jsx)(j.p,{store:e},e.id))}),!o&&0===l.length&&(0,t.jsx)("div",{className:"rounded-2xl !bg-surface-subtle py-12 text-center",children:(0,t.jsx)("p",{className:"text-sm text-content-muted",children:i.ZP.t("V2Landing:noStoresAvailable")})})]})},richText:function(e){return(0,t.jsx)(r.he,{...e,backToHomeLabel:i.ZP.t("V2Blocks:backToHome")})}
1,iFrame:function(e){return(0,t.jsx)(r.Ii,{...e,invalidEmbedLabel:i.ZP.t("V2Blocks:invalidEmbed")})}})}},function(e){e.O(0,[9774,3176,9306,9403,5039,2237,436,2300,5675,4790,408,1974,4596,6515,1075,6,7905,7927,3023,7251,2903,7635,9811,2031,2888,179],function(){return e(e.s=22896)}),_N_E=e.O()}]);
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.