1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="60de0eb1-237d-4875-9454-c01348b8899b",e._sentryDebugIdIdentifier="sentry-dbid-60de0eb1-237d-4875-9454-c01348b8899b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9988],{4938:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var r=a(95155),s=a(12115),n=a(52558),i=a(47860),l=a(62e3);let o=e=>{var t,a;let{isOpen:o,onClose:c,title:d,description:g,icon:m,buttons:u=[],children:x,closeOnBackdropClick:h=!0,outsideCloseAction:p}=e,A=(0,s.useRef)(null);if((0,l.n)(o,A.current),!o)return null;let b=u.slice(0,2),v=(0,r.jsxs)(r.Fragment,{children:[m&&(0,r.jsx)("div",{className:"flex justify-center mb-3 sm:mb-4",children:(0,r.jsx)("div",{className:"text-gray-700",children:m})}),d&&(0,r.jsx)("h2",{className:"text-lg sm:text-xl font-gibson-semibold text-center text-gray-800 mb-3 sm:mb-4 px-2",children:d}),g&&(0,r.jsx)("div",{className:"text-center text-sm sm:text-base font-normal text-gray-600 mb-4 sm:mb-6 px-2",children:g}),x&&(0,r.jsx)("div",{className:"mb-4 sm:mb-6",children:x}),b.length>0&&(0,r.jsx)("div",{className:"flex flex-row gap-2 sm:gap-3 ".concat(1===b.length?"justify-center":"justify-between"),children:b.map((e,t)=>(0,r.jsx)(n.p,{variant:e.variant||"primary",onClick:e.onClick,className:"w-full sm:flex-1",isLoading:e.isLoading,disabled:e.isLoading,children:e.text},t))})]});return(0,r.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center pb-40",style:{backgroundColor:i.N.BACKGROUND_TRANSPARENT_BLACK},onClick:h?c:void 0,children:p?(0,r.jsxs)("div",{className:"mx-3 flex w-full max-w-md flex-col items-center sm:mx-4",onClick:e=>e.stopPropagation(),children:[(0,r.jsx)("div",{ref:A,className:"relative max-h-[calc(100vh-6rem)] w-full overflow-auto overscroll-contain rounded-lg p-6 shadow-xl sm:rounded-[20px] lg:p-8",style:{backgroundColor:i.N.WHITE},children:v}),(0,r.jsx)("button",{type:"button",onClick:p.onClick,className:null!=(t=p.className)?t:"mt-4 cursor-pointer border-0 bg-transparent p-0 text-center text-base font-gibson-regular text-white outline-none",children:null!=(a=p.label)?a:"Cerrar"})]}):(0,r.jsx)("div",{ref:A,className:"relative rounded-lg sm:rounded-[20px] p-6 lg:p-8 max-w-md w-full mx-3 sm:mx-4 shadow-xl max-h-[calc(100vh-6rem)] overflow-auto overscroll-contain",onClick:e=>e.stopPropagation(),style:{backgroundColor:i.N.WHITE},children:v})})}},10470:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var r=a(95155),s=a(12115),n=a(48986),i=a(47860),l=a(57995),o=a(8402);function c(e){var t,a;let{title:c="Despacho",onSelect:d,handleNewAddressPress:g,onRegisterDistributionCenterPress:m,onDelete:u,showDeleteButton:x=!1,initialSelectedAddressId:h=null,className:p="",isCheckout:A=!1,limit:b,showAll:v=!1,onShowAll:f,addressActionsPlacement:y="top"}=e,N=(0,l.J)(),{userData:j}=(0,o.A)(),[w,k]=(0,s.useState)(null!=(t=null!=h?h:null==N?void 0:N.id)?t:null),[_,C]=(0,s.useState)(null!=(a=null!=h?h:null==N?void 0:N.id)?a:null);(0,s.useEffect)(()=>{var e;let t=null!=(e=null!=h?h:null==N?void 0:N.id)?e:null,a=null===_,r=null!==t&&t!==_&&t!==w;(a||r)&&C(t)},[h]),(0,s.useEffect)(()=>{null!==h?k(h):(null==N?void 0:N.id)&&k(N.id)},[null==N?void 0:N.id,h]);let E=(0,s.useMemo)(()=>{if(!(null==j?void 0:j.addresses))return[];let e=[...j.addresses];return _?e.sort((e,t)=>e.id===_?-1:+(t.id===_)):e},[null==j?void 0:j.addresses,_]),L=(0,s.useMemo)(()=>!b||v?E:E.slice(0,b),[E,b,v]),B=E.length,I=b&&B>b,M=(0,r.jsxs)("div",{className:"flex flex-col sm:flex-row gap-2 sm:gap-3",children:[g&&(0,r.jsxs)("button",{type:"button",onClick:g,className:"bottom"===y?"inline-flex items-center justify-center gap-1 rounded-full border border-[#43AC69] cursor-pointer px-2 py-2 md:py-0 mt-1 sm:mb-4 text-xs sm:text-sm font-gibson-regular text-[#43AC69] hover:opacity-90 transition-colors w-full sm:w-auto":"inline-flex items-center justify-center gap-2 py-1 rounded-full border border-[#43AC69] cursor-pointer px-3 sm:px-4 text-xs sm:text-sm font-gibson-regular text-[#43AC69] hover:opacity-90 transition-colors","data-clarity-target":"bottom"===y?"Agregar direcci\xf3n (lista suscripci\xf3n)":"Agregar direcci\xf3n",children:[(0,r.jsx)("span",{className:"text-xl font-gibson-regular",children:"+"}),(0,r.jsx)("span",{className:"bottom"===y?"":"text-base sm:text-sm",children:"Agregar direcci\xf3n"})]}),m&&(null==j?void 0:j.is_employee)&&(0,r.jsxs)("button",{type:"button",onClick:m,className:"bottom"===y?"inline-flex items-center justify-center gap-1 rounded-full border border-[#43AC69] cursor-pointer px-2 py-2 md:py-0 mt-1 mb-4 text-xs sm:text-sm font-gibson-regular text-[#43AC69] hover:opacity-90 transition-colors w-full sm:w-auto":"inline-flex items-center justify-center gap-1 rounded-full border border-[#43AC69] cursor-pointer px-2 py-1 sm:py-0 text-xs sm:text-sm font-gibson-regular text-[#43AC69] hover:opacity-90 transition-colors w-full sm:w-auto","data-clarity-target":"bottom"===y?"Registrar CD (lista suscripci\xf3n)":"Registrar CD",children:[(0,r.jsx)("span",{className:"text-xl font-gibson-regular",children:"+"}),(0,r.jsx)("span",{className:"bottom"===y?"":"text-base sm:text-sm",children:"Registrar CD"})]})]});return(0,r.jsxs)("div",{className:"flex flex-col px-0 ".concat(!A&&"sm:px-2"," ").concat(p),children:[(0,r.jsxs)("div",{className:"mb-6",children:[!A&&(0,r.jsx)("div",{className:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-3 sm:gap-4 mb-4",children:(0,r.jsx)("h2",{className:"text-xl font-gibson-semibold text-pattern-black",children:c})}),"top"===y&&M]}),(0,r.jsx)("div",{className:"flex flex-col gap-6 mb-8",children:L.map(e=>{let t=e.id===w;return(0,r.jsxs)("div",{className:"flex items-start gap-3 w-full",children:[(0,r.jsxs)("button",{onClick:()=>{k(e.id),null==d||d(e)},className:"flex items-start gap-3 text-left flex-1 min-w-0 hover:opacity-90 cursor-pointer",children:[(0,r.jsx)("span",{className:"mt-3 h-4 w-4 flex items-center justify-center rounded-full flex-shrink-0",style:{borderWidth:t?"2px":"1px",borderStyle:"solid",borderColor:t?i.N.LIGHT_GREEN_BUTTON:i.N.BLACK},children:t&&(0,r.jsx)("span",{className:"h-2 w-2 rounded-full",style:{backgroundColor:i.N.LIGHT_GREEN_BUTTON}})}),(0,r.jsxs)("div",{className:"flex flex-col min-w-0",children:[(0,r.jsxs)("span",{className:"text-base text-pattern-black font-gibson-semibold truncate",children:[e.street.trim(),e.street2&&", ".concat(e.street2)]}),(0,r.jsxs)("span",{className:"text-sm text-pattern-gray font-gibson-regular",children:[e.city,", ",e.state]})]})]}),x&&u&&(0,r.jsx)("button",{type:"button",onClick:t=>{t.stopPropagation(),u(e.id)},className:"flex-shrink-0 p-1.5 sm:p-1 hover:opacity-70 transition-opacity cursor-pointer touch-manipulation","aria-label":"Eliminar direcci\xf3n",children:(0,r.jsx)(n.A,{svgKey:"Tras
1hIcon",svgWidth:"22",svgHeight:"22",strokeWidth:"1.5",strokeColor:i.N.TEXT_COLOR_NORMAL})})]},e.id)})}),I&&!v&&f&&(0,r.jsx)("div",{className:"mx-4 flex",children:(0,r.jsxs)("button",{type:"button",onClick:f,className:"text-[16px] text-[#0C0C0C] hover:text-gray-800 font-gibson-regular flex items-center gap-1 cursor-pointer",children:["Mostrar todas",(0,r.jsx)(n.A,{svgKey:"ChevronDownIcon",svgWidth:"28",svgHeight:"28",strokeWidth:"0",fill:i.N.LIGHT_GREEN_BUTTON})]})}),"bottom"===y&&(0,r.jsx)("div",{className:"px-0 sm:px-0 pb-2 md:pb-4",children:M})]})}},14593:(e,t,a)=>{"use strict";a.d(t,{l3:()=>s,J2:()=>r,UK:()=>i,Se:()=>n,jF:()=>l,MS:()=>o});let r={src:"/_next/static/media/banco-chile-white.baef5bc2.png",height:70,width:200,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAFVBMVEX///////////////////////////9nSIHRAAAAB3RSTlMCDRQ0Z09FqIONawAAAAlwSFlzAAALEwAACxMBAJqcGAAAAB5JREFUeJwFwYEBADAMgjBQt/9PboIAAfb6uxWjmhwCQwAv/GhbvAAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:3},s={src:"/_next/static/media/banco-chile-small.07f7529e.png",height:131,width:120,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAMFBMVEUXPH0XOnoWOnoWOnkXO3sXO3oAM5kXOnsWO3wWOXkXO30YPH8XPH0WOXkWOnsUPnyS9fo1AAAAEHRSTlP5VK7ZnYUDkB5ePWhBvswx6zU6qQAAAAlwSFlzAAALEwAACxMBAJqcGAAAADdJREFUeJwdxccNwDAQBLHZS8pS/90aMD9kH3L4o2ZacpneUF4WwYr+P44jST2gtlmzRtcwn/UBKkMBN8hI1WwAAAAASUVORK5CYII=",blurWidth:7,blurHeight:8},n={src:"/_next/static/media/mercado-pago-white.4dd2f684.png",height:70,width:200,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAG1BMVEX+/v7+/v7////7+/v9/f39/f3////+/v78/PztBHo+AAAACXRSTlMxOAIdQsAnfm8xHJpvAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIElEQVR4nAXBhwEAAAjCsIID/7/YBFFiG2ZEcouw6fIDA4sARU+xOEIAAAAASUVORK5CYII=",blurWidth:8,blurHeight:3},i={src:"/_next/static/media/mercado-pago-small.fd157091.png",height:131,width:120,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAICAMAAAAC2hU0AAAAQlBMVEVMaXHY4e/Fwt2hzOtor+To4uvD3fD////5+fqvxODf1+Qdk90fneWjq9WsxuVZmNv/9/uex+3q6PQ3k956u+xGqehGVMizAAAAD3RSTlMA/Le5/fy5uLj8/Pz8t/6De/+1AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAOUlEQVR4nDXLQRaAIAgFwI+BgNVDJe9/VTc2+wEOtXpVU/SxPh4dTk2EHPy4+M2YkZExoVbeYvq3DTOYAaE8XPqQAAAAAElFTkSuQmCC",blurWidth:7,blurHeight:8},l={src:"/_next/static/media/one-click.4d19ddcd.png",height:70,width:200,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAADCAMAAACZFr56AAAAFVBMVEWQDGduF2rbAGtlGWltGWeCFGfhAG7AZzEuAAAAB3RSTlMDXhkjGEpFk2qMOQAAAAlwSFlzAAALEgAACxIB0t1+/AAAAB1JREFUeJxjYGFmZmZmYWJgYAQBVjYmBiYmBjAAAAMUAC0aikd2AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:3},o={src:"/_next/static/media/webpay-oneclick-white.0c550f4f.png",height:208,width:800,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAElBMVEX//////Pz////45/H63uz///8Ojm5rAAAABnRSTlNVOS8kN0chfmFxAAAACXBIWXMAAAsSAAALEgHS3X78AAAAF0lEQVR4nGNgYQABRkYGJgZGRiZGZmYAAJoAFCM20igAAAAASUVORK5CYII=",blurWidth:8,blurHeight:2}},18456:(e,t,a)=>{"use strict";a.d(t,{A:()=>o});var r=a(95155),s=a(37911),n=a(28960),i=a(19327),l=a.n(i);function o(e){let{lat:t=n.h9,lng:a=n.nT,zoom:i=15,height:o="h-48",className:c="",draggable:d=!1,onMarkerDragEnd:g,showZoomControl:m=!0,allowDrag:u=!0,showFullscreenControl:x=!1,showRotationControl:h=!0}=e,p={lat:t,lng:a};return(0,r.jsx)("div",{className:"w-full overflow-hidden ".concat(o," ").concat(c," ").concat(h?"":l().hideRotationControl),children:(0,r.jsx)(s.T5,{center:p,zoom:i,fullscreenControl:x,mapTypeControl:!1,streetViewControl:!1,zoomControl:m,rotateControl:h,gestureHandling:u?"greedy":"none",disableDefaultUI:!1,children:(0,r.jsx)(s.pH,{position:p,draggable:d,onDragEnd:e=>{if(e.latLng&&g){let t=e.latLng.toJSON();g(t.lat,t.lng)}}})})})}},19327:e=>{e.exports={mapContainer:"maps_mapContainer__NdUnY",hideRotationControl:"maps_hideRotationControl__ZUcMJ"}},23351:(e,t,a)=>{"use strict";a.d(t,{r:()=>n});var r=a(19027),s=a(97807);function n(){let e=(0,r.GV)(s.W7);return{categories:e.categories,isLoading:e.isLoading,isError:null!==e.error}}},25491:(e,t,a)=>{"use strict";a.d(t,{L:()=>n});var r=a(19027),s=a(60039);function n(){var e;let t=(0,r.GV)(s.Yz);return{brands:t.brands,title:null!=(e=t.title)?e:"Nuestras marcas",isLoading:t.isLoading,isError:null!==t.error}}},35160:(e,t,a)=>{"use strict";a.d(t,{s:()=>g});var r=a(12115),s=a(37871),n=a(35798);let i={getEventPages:async()=>{try{let{data:e}=await s.A.post(n.vZ.eventPage.getEventPages,{});if("ok"!==e.status)return[];if(Array.isArray(e.items))return e.items;if(Array.isArray(e.item))return e.item;return[]}catch(e){return console.error("Error fetching event pages:",e),[]}}};var l=a(86900);let o=null,c=null;async function d(){return o||(c||(c=i.getEventPages().then(e=>o=(0,l.Y)(e.filter(e=>!1!==e.is_active))).finally(()=>{c=null})),c)}
1function g(e){let[t,a]=(0,r.useState)(()=>(null==e?void 0:e.length)?e:null!=o?o:[]),[s,n]=(0,r.useState)(()=>!(e&&e.length>0)&&!o);return(0,r.useEffect)(()=>{let t=!1;return(async()=>{let r=!!((null==e?void 0:e.length)||o);r||n(!0);let s=await d();t||((s.length>0||!r)&&a(s),n(!1))})(),()=>{t=!0}},[e]),(0,r.useMemo)(()=>({eventPages:t,isLoading:s}),[t,s])}},52558:(e,t,a)=>{"use strict";a.d(t,{A:()=>o,p:()=>l});var r=a(95155),s=a(12115),n=a(47860),i=a(48986);let l=e=>{let{buttonStyle:t="rounded",children:a,className:l="",disabled:o=!1,hideOnLoad:c=!1,icon:d,isLoading:g=!1,textStyle:m="",variant:u="primary",iconPosition:x="left",analyticsName:h="Bot\xf3n de acci\xf3n",...p}=e,[A,b]=(0,s.useState)(!1);(0,s.useEffect)(()=>{b(!0)},[]);let v="primary"===u,f="secondary"===u,y="negative"===u,N="secondary-negative"===u,j="express"===u,w="replace"===u,k="gray"===u,_=!!A&&(g||o),C=A&&g,E=[w?"flex justify-center items-center py-2 px-3.5 md:px-6 text-sm font-gibson-semibold focus:outline-none focus:ring-1 disabled:opacity-50 transition-all duration-200 min-h-11":"flex justify-center items-center px-4 text-lg font-gibson-semibold focus:outline-none focus:ring-1 disabled:opacity-50 transition-all duration-200 min-h-13",v?"bg-pattern-dark-green text-white hover:bg-[#737373]":f?"bg-white text-[#333333] border border-[#333333] hover:bg-[rgba(0,0,0,0.05)]":y?"bg-pattern-black text-white hover:bg-[#333333]":N?"bg-white text-[#333333] border border-[#333333] hover:bg-[#000000]":j?"bg-lime-600 text-white hover:bg-lime-700":w?"bg-pattern-gray text-pattern-black hover:bg-gray-200 border border-gray-200":"light-green"===u?"bg-[#43AC69] text-white hover:bg-[#43AC69]":k?"bg-[#737373] text-white hover:bg-[#737373]":"","normal"===t?w?"rounded-full":"rounded-md":"rounded-[20px]",_?"opacity-50 cursor-not-allowed":"cursor-pointer",d?"justify-between gap-2":"",l].filter(Boolean).join(" ");return(0,r.jsxs)("button",{disabled:_,className:E,...p,"data-clarity-target":h,children:["left"===x&&(0,r.jsx)("span",{className:"pointer-events-none flex items-center",children:d}),!c&&(C?(0,r.jsx)(i.A,{svgKey:"CustomLoader",className:"pointer-events-none h-7 w-7 flex-shrink-0",strokeWidth:"0",fill:n.N.WHITE}):(0,r.jsx)("span",{className:"pointer-events-none ".concat((()=>{let e="";return v||y||j||k?e="text-white":f?e="text-gray-800":N?e="text-[#333333]":w&&(e="text-gray-700"),"".concat("font-gibson-semibold leading-tight"," ").concat(e," ").concat(m)})()),children:a})),"right"===x&&(0,r.jsx)("span",{className:"pointer-events-none flex items-center",children:d})]})},o=l},57995:(e,t,a)=>{"use strict";a.d(t,{J:()=>n});var r=a(19027),s=a(73544);let n=()=>(0,r.GV)(s.Ut)},59988:(e,t,a)=>{"use strict";a.d(t,{mE:()=>_.A,wi:()=>N,pr:()=>j.A,fL:()=>k.default,aF:()=>w.A});var r=a(95155),s=a(12115),n=a(47860),i=a(48986),l=a(15239),o=a(14593),c=a(23351),d=a(25491),g=a(52619),m=a.n(g),u=a(19027),x=a(72236),h=a(89642),p=a(35160),A=a(86900),b=a(43784),v=a(10507);let f=[{text:"Nosotros",href:"/nosotros"}],y=[{text:"Preguntas Frecuentes",href:"/informacion-general/preguntas-frecuentes"},{text:"Env\xedos y Entregas",href:"/informacion-general/despacho"},{text:"T\xe9rminos y Condiciones",href:"/informacion-general/terminos-condiciones"},{text:"Pol\xedticas de Privacidad",href:"/informacion-general/privacidad"},{text:"Bases Legales Campa\xf1as y Concursos",href:"/informacion-general/bases-legales"}],N=e=>{let{initialNav:t=null}=e,a=(0,u.jL)(),{categories:g}=(0,c.r)(),{brands:N}=(0,d.L)(),{eventPages:j}=(0,p.s)(),w=(0,s.useMemo)(()=>{let e=function(e){return{categoryLinks:e.categories.filter(e=>{let t=e.name.toLowerCase();return!1!==e.is_active&&!t.includes(v.mp)&&!t.includes(v.Mg)}).sort((e,t)=>(e.order||0)-(t.order||0)).map(e=>({text:e.name,href:(0,b.ot)(e.name,e.backendId)})),brandLinks:[...e.brands.filter(e=>!1!==e.is_active).sort((e,t)=>(e.priority||0)-(t.priority||0)).slice(0,9).map(e=>({text:e.name,href:"/marcas/".concat((0,b.xA)(e.name,e.id)),brandId:e.id,brandModal:{image:e.image,gradient_colors:e.gradient_colors}})),{text:"Ver todas las marcas",href:"/marcas"}],serviceLinks:[...e.eventPages.map(e=>({text:e.name,href:"/".concat((0,A.L)(e.name))})),{text:"Heineken Blade",href:"/heineken-blade"},{text:"Blog",href:"/blog"}]}}({categories:g,brands:N,eventPages:j});return t&&function(e){return!!e&&(e.categoryLinks.length>0||e.brandLinks.length>1||e.serviceLinks.length>2)}(t)?{categoryLinks:t.categoryLinks.length>0?t.categoryLinks:e.categoryLinks,brandLinks:t.brandLinks.length>1?t.brandLinks:e.brandLinks,serviceLinks:t.serviceLinks.length>2?t.serviceLinks:e.serviceLinks}:e},[t,g,N,j]),k=(0,s.useMemo)(()=>(function(e){return[{title:"Categor\xedas",links:e.categoryLinks},{title:"Nuestras Marcas",links:e.brandLinks},{title:"Nuestros Servicios",links:e.serviceLinks},{title:"Sobre Nosotros",links:f},{title:"Soporte y Ayuda",links:y}]})(w),[w]),_=e=>{let{title:t}=e;return(0,r.jsxs)("h3",{className:"text-white text-[14px] font-gibson-semibold mb-4",children:[t,(0,r.jsx)("div",{className:"w-8 h-0.5 bg-[#FFC537] mt-2"})]})},C=e=>{let{link:t}=e;return(0,r.jsx)(m(),{href:t.href,prefetch:!1,onClick:()=>{(0,h.M)("menu_click",{category:t.text,last_page:window.location.href,menu_type:"footer"}),t.brandId&&t.brandModal&&(t.brandModal.gradient_colors&&t.brandModal.gradient_colors.length>0&&a((0,x.VC)(t.brandModal.gradient_colors)),t.brandModal.image&&a((0,x.Gr)(t.brandModal.image)),a((0,x.dG)(!0)))},className:"text-gray-300 font-gibson-regular text-[12px] hover:text-green-400 hover:translate-x-1 transition-all duration-200 block mb-1 leading-relaxed","data-clarity-target":"Footer link - ".concat(t.text),children:t.text})},E=e=>{let{section:t}=e;return(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)(_,{title:t.title}),t.links.map((e,t)=>(0,r.jsx)(C,{link:e},"".concat(e.href,"-").concat(t)))]})}
1,[L,B]=(0,s.useState)({CategorÃas:!0});return(0,r.jsxs)("footer",{className:"bg-pattern-dark-green text-white md:px-10 pt-2 pb-6",children:[(0,r.jsxs)("div",{className:"px-6 pt-8 pb-4 lg:hidden",children:[(0,r.jsx)(m(),{href:"/",className:"flex justify-start","aria-label":"Ir al inicio","data-clarity-target":"Logo footer La Barra",children:(0,r.jsx)(i.A,{svgKey:"logoLaBarra",strokeColor:n.N.WHITE,fill:n.N.WHITE,svgWidth:"180",svgHeight:"40",strokeWidth:"0"})}),(0,r.jsx)("div",{className:"mt-6 space-y-2",children:k.map(e=>{let t=!!L[e.title];return(0,r.jsxs)("div",{className:"border-b border-white/20",children:[(0,r.jsxs)("button",{type:"button",className:"w-full flex items-center justify-between py-3",onClick:()=>(e=>{B(t=>t[e]?{}:{[e]:!0})})(e.title),children:[(0,r.jsxs)("div",{className:"flex flex-col items-start",children:[(0,r.jsx)("span",{className:"text-white text-[14px] font-gibson-semibold",children:e.title}),(0,r.jsx)("div",{className:"w-8 h-0.5 bg-[#FFC537] mt-1"})]}),(0,r.jsx)(i.A,{svgKey:t?"ChevronUpIcon":"ChevronDownIcon",strokeColor:n.N.WHITE,fill:"none",svgWidth:"16",svgHeight:"16",strokeWidth:"2",className:"ml-2"})]}),(0,r.jsx)("div",{className:"overflow-hidden transition-all duration-400 ease-in-out ".concat(t?"max-h-[420px] opacity-100 pb-3":"max-h-0 opacity-0 pb-0"),children:e.links.map((e,t)=>(0,r.jsx)(C,{link:e},"".concat(e.href,"-").concat(t)))})]},e.title)})}),(0,r.jsxs)("div",{className:"mt-8",children:[(0,r.jsx)("h2",{className:"text-[16px] font-gibson-semibold mb-2 text-white",children:"\xa1Conectemos!"}),(0,r.jsxs)("div",{className:"gap-1 mb-4",children:[(0,r.jsx)("div",{className:"w-8 h-1 bg-[#FFC537] mb-0.4.5 ml-3"}),(0,r.jsx)("div",{className:"w-full h-[1px] bg-white"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-1 mb-4",children:[(0,r.jsx)(i.A,{svgKey:"PhoneIcon",strokeColor:n.N.WHITE,fill:n.N.WHITE,svgWidth:"20",svgHeight:"20",strokeWidth:"0"}),(0,r.jsx)("p",{className:"text-gray-300 text-[12px] font-gibson-semibold",children:"600 450 2502"})]}),(0,r.jsxs)("div",{className:"flex gap-4 mb-6",children:[(0,r.jsx)("a",{href:"https://www.instagram.com/labarra_chile/",target:"_blank",rel:"noopener noreferrer",className:"text-gray-300 hover:text-green-400 transition-colors duration-200","aria-label":"Instagram de La Barra (abre en una nueva pesta\xf1a)",title:"Instagram de La Barra",children:(0,r.jsx)(i.A,{svgKey:"InstagraIcon",strokeColor:n.N.WHITE,fill:n.N.WHITE,svgWidth:"24",svgHeight:"24",strokeWidth:"0"})}),(0,r.jsx)("a",{href:"https://www.facebook.com/cl.labarra/",target:"_blank",rel:"noopener noreferrer",className:"text-gray-300 hover:text-green-400 transition-colors duration-200","aria-label":"Facebook de La Barra (abre en una nueva pesta\xf1a)",title:"Facebook de La Barra",children:(0,r.jsx)(i.A,{svgKey:"FacebookIcon",strokeColor:n.N.WHITE,fill:n.N.WHITE,svgWidth:"24",svgHeight:"24",strokeWidth:"0"})})]})]}),(0,r.jsxs)("div",{className:"mt-4",children:[(0,r.jsx)("div",{className:"text-white text-md font-gibson-semibold mb-2",children:"M\xe9todos de Pago"}),(0,r.jsxs)("div",{className:"gap-1 mb-4",children:[(0,r.jsx)("div",{className:"w-8 h-1 bg-[#FFC537] mb-0.4.5 ml-3"}),(0,r.jsx)("div",{className:"w-full h-[1px] bg-white"})]}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)("div",{className:"flex items-center justify-start",children:(0,r.jsx)(l.default,{src:o.J2,alt:"Banco de Chile",unoptimized:!0,className:"w-[100px] h-auto object-contain hover:opacity-80 transition-opacity duration-200"})}),(0,r.jsx)("div",{className:"flex items-center justify-start",children:(0,r.jsx)(l.default,{src:o.MS,alt:"Webpay Oneclick",unoptimized:!0,className:"w-[100px] h-auto object-contain hover:opacity-80 transition-opacity duration-200"})}),(0,r.jsx)("div",{className:"flex items-center justify-start",children:(0,r.jsx)(l.default,{src:o.Se,alt:"Mercado Pago",unoptimized:!0,className:"w-[100px] h-auto object-contain hover:opacity-80 transition-opacity duration-200"})})]})]})]}),(0,r.jsxs)("div",{className:"hidden lg:grid grid-cols-[1.5fr_1fr] md:grid-cols-6 gap-0 pb-0",children:[(0,r.jsxs)("div",{className:"col-span-1 py-6 px-6 relative",children:[(0,r.jsx)("div",{className:"absolute right-0 top-1/2 -translate-y-1/2 w-[1px] h-3/4 section-separator"}),(0,r.jsx)(m(),{href:"/","aria-label":"Ir al inicio","data-clarity-target":"Logo footer La Barra",children:(0,r.jsx)(i.A,{svgKey:"logoLaBarra",strokeColor:n.N.WHITE,fill:n.N.WHITE,svgWidth:"200",svgHeight:"43",strokeWidth:"0",className:"w-35 md:w-45 lg:w-49 xl:w-56 h-auto max-w-full"})}),(0,r.jsxs)("div",{className:"mt-6",children:[(0,r.jsx)("h2",{className:"text-[16px] font-gibson-semibold mb-2 text-white",children:"\xa1Conectemos!"}),(0,r.jsxs)("div",{className:" gap-1 mb-4",children:[(0,r.jsx)("div",{className:"w-8 h-1 bg-[#FFC537] mb-0.4.5 ml-3"}),(0,r.jsx)("div",{className:"w-full h-[1px] bg-white"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-1 mb-4",children:[(0,r.jsx)(i.A,{svgKey:"PhoneIcon",strokeColor:n.N.WHITE,fill:n.N.WHITE,svgWidth:"20",svgHeight:"20",strokeWidth:"0"}),(0,r.jsx)("p",{className:"text-gray-300 text-[12px] font-gibson-semibold ",children:"600 450 2502"})]}),(0,r.jsxs)("div",{className:"flex gap-4 mb-6",children:[(0,r.jsx)("a",{href:"https://www.instagram.com/labarra_chile/",target:"_blank",rel:"noopener noreferrer",className:"text-gray-300 hover:text-green-400 transition-colors duration-200","data-clarity-target":"Instagram footer","aria-label":"Instagram de La Barra (abre en una nueva pesta\xf1a)",title:"Instagram de La Barra",children:(0,r.jsx)(i.A,{svgKey:"InstagraIcon",strokeColor:n.N.WHITE,fill:n.N.WHITE,svgWidth:"24",svgHeight:"24",strokeWidth:"0"})}),(0,r.jsx)("a",{href:"https://www.facebook.com/cl.labarra/",target:"_blank",rel:"noopener noreferrer",className:"text-gray-300 hover:text-green-400 transition-colors duration-200","data-clarity-target":"Facebook footer","aria-label":"Facebook de La Barra (abre en una nueva pesta\xf1a)",title:"Facebook de La Barra",children:(0,r.jsx)(i.A,{svgKey:"FacebookIcon",strokeColor:n.N.WHITE,fill:n.N.WHITE,svgWidth:"24",svgHeight:"24",strokeWidth:"0"})})]})]})]}),(0,r.jsx)("div",{className:"pt-10 px-6 ",children:(0,r.jsx)(E,{section:{title:"Categor\xedas",links:w.categoryLinks}})}),(0,r.jsx)("div",{className:"pt-10 px-6",children:(0,r.jsx)(E,{section:{title:"Nuestras Marcas",links:w.brandLinks}})}),(0,r.jsxs)("div",{className:"pt-10 px-6",children:[(0,r.jsx)(E,{section:{title:"Nuestros Servicios",links:w.serviceLinks}}),(0,r.jsx)("div",{className:"mb-3 mt-4",children:(0,r.jsx)(E,{section:{title:"Sobre Nosotros",links:f}})})]}),(0,r.jsxs)("div",{className:"col-span-2 md:col-span-2 grid grid-cols-[1fr_1fr] md:grid-cols-2 gap-0",children:[(0,r.jsxs)("div",{className:"py-10 px-6 relative",children:[(0,r.jsx)("div",{className:"absolute right-0 top-1/2 -translate-y-1/2 w-[1px] h-3/4 section-separator"}),(0,r.jsx)(E,{section:{title:"Soporte y Ayuda",links:y}})]}),(0,r.jsx)("div",{className:"pt-8 px-6",children:(0,r.jsxs)("div",{className:"flex flex-col",children:[(0,r.jsx)("div",{className:"text-white text-md font-gibson-semibold mb-2",children:"M\xe9todos de Pago"}),(0,r.jsxs)("div",{className:" gap-1 mb-4",children:[(0,r.jsx)("div",{className:"w-8 h-1 bg-[#FFC537] mb-0.4.5 ml-3"}),(0,r.jsx)("div",{className:"w-full h-[1px] bg-white"})]}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)("div",{className:"flex items-center justify-start",children:(0,r.jsx)(l.default,{src:o.J2,alt:"Banco de Chile",unoptimized:!0,className:"w-[100px] h-auto object-contain hover:opacity-80 transition-opacity duration-200"})}),(0,r.jsx)("div",{className:"flex items-center justify-start",children:(0,r.jsx)(l.default,{src:o.MS,alt:"Webpay Oneclick",unoptimized:!0,className:"w-[100px] h-auto object-contain hover:opacity-80 transition-opacity duration-200"})}),(0,r.jsx)("div",{className:"flex items-center justify-start",children:(0,r.jsx)(l.default,{src:o.Se,alt:"Mercado Pago",unoptimized:!0,className:"w-[100px] h-auto object-contain hover:opacity-80 transition-opacity duration-200"})})]})]})})]})]})]})};var j=a(52558),w=a(4938),k=a(19144);a(18456);var _=a(10470)},60039:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>m,Nh:()=>o,VO:()=>c,Yz:()=>g,r1:()=>l});var r=a(26286);let s={brands:[],title:null,isLoading:!1,error:null,lastUpdated:null},n=(0,r.Z0)({name:"brands",initialState:s,reducers:{hydrate:(e,t)=>
1t.payload,setLoading:(e,t)=>{e.isLoading=t.payload,t.payload&&(e.error=null)},setError:(e,t)=>{e.error=t.payload,t.payload&&(e.isLoading=!1)},setBrands:(e,t)=>{var a;e.brands=t.payload.brands,e.title=null!=(a=t.payload.title)?a:null,e.lastUpdated=t.payload.lastUpdated,e.isLoading=!1,e.error=null},clear:()=>s},selectors:{selectBrandsState:e=>e}}),{hydrate:i,setLoading:l,setError:o,setBrands:c,clear:d}=n.actions,{selectBrandsState:g}=n.selectors,m=n.reducer},62e3:(e,t,a)=>{"use strict";a.d(t,{n:()=>s});var r=a(12115);function s(e,t){(0,r.useEffect)(()=>{if(!e)return;let a=e=>!e||!t||!t.contains(e),r=e=>{let t=window.getComputedStyle(e).overflowY;return("auto"===t||"scroll"===t||"overlay"===t)&&e.scrollHeight>e.clientHeight+1},s=(e,t)=>{let a=e;for(;a&&a!==t;){if(r(a))return a;a=a.parentElement}return r(t)?t:null},n=(e,t)=>!!r(e)&&(t<0?e.scrollTop>0:!(t>0)||e.scrollTop+e.clientHeight<e.scrollHeight-1),i=e=>{if(a(e.target)||!t)return void e.preventDefault();let r=e.target;if(!r)return void e.preventDefault();let i=s(r,t);i&&n(i,e.deltaY)||e.preventDefault()},l=0,o=e=>{var t,a;l=null!=(a=null==(t=e.touches[0])?void 0:t.clientY)?a:0},c=e=>{var r,i;if(a(e.target)||!t)return void e.preventDefault();let o=e.target,c=null!=(i=null==(r=e.touches[0])?void 0:r.clientY)?i:l,d=l-c;if(!o)return void e.preventDefault();let g=s(o,t);g&&n(g,d)||e.preventDefault()};return window.addEventListener("wheel",i,{passive:!1,capture:!0}),window.addEventListener("touchstart",o,{passive:!0,capture:!0}),window.addEventListener("touchmove",c,{passive:!1,capture:!0}),()=>{window.removeEventListener("wheel",i,!0),window.removeEventListener("touchstart",o,!0),window.removeEventListener("touchmove",c,!0)}},[e,t])}},72236:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>u,Gr:()=>o,VC:()=>l,dG:()=>i,mW:()=>m,pf:()=>d,x1:()=>g});var r=a(26286);let s={isModalBrandVisible:!1,gradientColorsModalBrand:[],uriImageModalBrand:""},n=(0,r.Z0)({name:"modalBrand",initialState:s,reducers:{setModalBrandVisibility:(e,t)=>{e.isModalBrandVisible=t.payload},setGradientColorsModalBrand:(e,t)=>{e.gradientColorsModalBrand=t.payload},setUriImageModalBrand:(e,t)=>{e.uriImageModalBrand=t.payload},resetModalBrandState:()=>s},selectors:{selectIsModalBrandVisible:e=>e.isModalBrandVisible,selectGradientColorsModalBrand:e=>e.gradientColorsModalBrand,selectUriImageModalBrand:e=>e.uriImageModalBrand}}),{setModalBrandVisibility:i,setGradientColorsModalBrand:l,setUriImageModalBrand:o,resetModalBrandState:c}=n.actions,{selectIsModalBrandVisible:d,selectGradientColorsModalBrand:g,selectUriImageModalBrand:m}=n.selectors,u=n},86900:(e,t,a)=>{"use strict";function r(e){return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").trim().toLowerCase().replace(/[^a-z0-9\s]/g,"").replace(/\s+/g,"")}function s(e){return[...e].sort((e,t)=>{var a,r;return(null!=(a=e.order)?a:0)-(null!=(r=t.order)?r:0)})}a.d(t,{L:()=>r,Y:()=>s})},89642:(e,t,a)=>{"use strict";a.d(t,{M:()=>i});var r=a(95539);let s="user_activity",n={menu_click:e=>{var t;return{event:"menu_click",event_category:s,category:e.category,subcategory:null!=(t=e.subcategory)?t:"",last_page:e.last_page,menu_type:e.menu_type}},login:e=>({event:"login",event_category:s,user_id:e.user_id,user_category:e.user_category,event_label:"Hola, has ingresado a la barra de CCU"}),user_identify:e=>({event:"user_identify",user_info:{uuid:e.uuid,email:e.email,name:e.name,surname:e.surname,phone_number:e.phone_number,gender:e.gender,birthday:e.birthday,gdpr_optin:e.gdpr_optin}}),set_district:e=>({event:"set_district",event_category:e.action_set,event_label:e.district}),suscribe_newsletter:e=>({event:"suscribe_newsletter",event_category:s,correo_electronico:e.email}),coctelera_home:e=>({event:"coctelera_home",event_category:s,event_label:"ver receta: ".concat(e.title),item_id:e.url}),coctelera_tag:e=>({event:"coctelera_tag",event_category:"cocteleria",item_id:e.tag_label}),checkout_event_pay_action:()=>({event:"checkout_event_pay_action",event_category:s}),checkout_registry_purchase_ok:e=>({event:"generate_lead",codigo_operacion:e.operation_id,metodo_pago:e.payment_method,codigo_trans:e.transaction_code,monto_pagado:e.amount,fecha_entrega:e.delivery_date,correo_electronico:e.email}),user_event_purchase:e=>({event:"user_event_purchase",event_category:s,transaction_id:e.transaction_id,user_id:e.user_id,first_purchase:e.first_purchase,status:!0,selected_banner_name:e.selected_banner_name}),popup_descargar:e=>({event:"popup_descargar",event_category:s,dispositivo:e.device}),popup_descargar_checkout:e=>({event:"popup_descargar_checkout",event_category:s,dispositivo:e.device}),download_app:e=>({event:"download_app",event_category:s,dispositivo:e.device})};function i(e,t){let a=n[e](t);(0,r.U)(a)}},97807:(e,t,a)=>{"use strict";a.d(t,{Ay:()=>m,Nh:()=>o,W7:()=>g,r1:()=>
1l,zw:()=>c});var r=a(26286);let s={categories:[],isLoading:!1,error:null,lastUpdated:null},n=(0,r.Z0)({name:"categories",initialState:s,reducers:{hydrate:(e,t)=>t.payload,setLoading:(e,t)=>{e.isLoading=t.payload,t.payload&&(e.error=null)},setError:(e,t)=>{e.error=t.payload,t.payload&&(e.isLoading=!1)},setCategories:(e,t)=>{e.categories=t.payload.categories,e.lastUpdated=t.payload.lastUpdated,e.isLoading=!1,e.error=null},clear:()=>s},selectors:{selectCategoriesState:e=>e}}),{hydrate:i,setLoading:l,setError:o,setCategories:c,clear:d}=n.actions,{selectCategoriesState:g}=n.selectors,m=n.reducer}}]);
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.