1try{let 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]="5c6b38a6-29ee-4669-8cca-dc1751d9ad99",e._sentryDebugIdIdentifier="sentry-dbid-5c6b38a6-29ee-4669-8cca-dc1751d9ad99")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1287],{4909:(e,t,r)=>{"use strict";r.d(t,{default:()=>b});var a=r(95155),n=r(12115),l=r(95604),s=r(89086),i=r(49692),o=r(20063),c=r(47650),d=r(9929),u=r(66608);let m=e=>{let{item:t,level:r=0,onSubmenuClick:l,onLinkClick:c}=e,[h,f]=(0,n.useState)(!1),p=(0,o.usePathname)(),g=(0,u.a)(t.url),b=t.children&&t.children.length>0,x=((e,t)=>`os-theme-header-navigation-mobile-elem-${e>0?`lvl${e+1}-`:""}${t}`)(r,t.name);return(0,a.jsxs)("li",{className:"border-b border-fontColorSuperLight","data-selector":x,children:[(0,a.jsxs)("div",{className:"submenu-action-wrapper flex items-center",children:[t.url?(0,a.jsx)("a",{href:t.url,onClick:()=>c(t.url),className:(0,d.cn)("flex-1 p-4 text-base font-labels w-full flex overflow-hidden",p===g&&"text-link font-bold underline"),children:(0,a.jsx)("span",{className:"overflow-hidden text-ellipsis whitespace-nowrap",children:t.name})}):(0,a.jsx)("span",{className:"flex-1 p-4 text-base overflow-hidden text-ellipsis whitespace-nowrap",children:t.name}),b&&(0,a.jsx)(s.A,{variant:"icon",className:"p-4",onClick:()=>{f(!0),l&&l(t)},"aria-label":`Open ${t.name} submenu`,"data-selector":`os-theme-header-navigation-mobile-toggle-button-${t.name}`,children:(0,a.jsx)(i.A,{icon:"chevron-right",size:"base"})})]}),b&&(0,a.jsxs)("div",{className:`mobile-menu-submenu absolute z-10 inset-0 bg-white transform transition-transform duration-300 ease-in-out ${h?"translate-x-0":"translate-x-full"}`,children:[(0,a.jsx)("div",{children:(0,a.jsxs)(s.A,{variant:"icon",onClick:()=>{f(!1)},className:"flex items-center p-4 w-full justify-start bg-link text-linkColorFont overflow-hidden","aria-label":`Close ${t.name} submenu`,"data-selector":`os-theme-header-navigation-mobile-close-button-${t.name}`,children:[(0,a.jsx)(i.A,{icon:"chevron-left",size:"base",className:"mr-2"}),(0,a.jsx)("span",{className:"overflow-hidden text-ellipsis whitespace-nowrap",children:t.name})]})}),(0,a.jsx)("ul",{className:"overflow-y-auto overflow-x-hidden h-[calc(100%-56px)] pb-[max(1rem,env(safe-area-inset-bottom,0px))]",children:t.children?.map(e=>(0,a.jsx)(m,{item:e,level:r+1,onSubmenuClick:l,onLinkClick:c},e.uuid))})]})]},t.uuid)},h=e=>{let{menuItems:t,onLinkClick:r}=e;return(0,a.jsx)("div",{className:"absolute inset-0",children:(0,a.jsx)("nav",{className:"h-full",children:(0,a.jsx)("ul",{className:"h-full overflow-y-auto overflow-x-hidden pb-[max(1rem,env(safe-area-inset-bottom,0px))]",children:t.map(e=>(0,a.jsx)(m,{item:e,onLinkClick:r},e.uuid))})})})},f=e=>Array.from(e.querySelectorAll('a[href], button:not([disabled]), textarea, input:not([type="hidden"]), select, [tabindex]:not([tabindex="-1"])')).filter(e=>!e.hasAttribute("disabled")&&e.getClientRects().length>0),p=e=>{let{isOpen:t,onClose:r,menuItems:s}=e,i=(0,l.useTranslations)("accessibility"),d=(0,n.useRef)(null),[u,m]=(0,n.useState)(0),[p,g]=(0,n.useState)(!1),b=(0,o.useRouter)();((e,t,r)=>{let a=(0,n.useRef)(r);a.current=r,(0,n.useEffect)(()=>{if(!t||!e.current)return;let{activeElement:r}=document,n=e.current,l=()=>{let[e]=f(n);e?.focus()};l();let s=window.requestAnimationFrame(l),i=e=>{if("Escape"===e.key){e.preventDefault(),a.current?.();return}if("Tab"!==e.key)return;let t=f(n);if(0===t.length)return void e.preventDefault();let[r]=t,l=t.at(-1)??r,{activeElement:s}=document;if(!(s instanceof Node&&n.contains(s))){e.preventDefault(),(e.shiftKey?l:r).focus();return}e.shiftKey&&s===r?(e.preventDefault(),l.focus()):e.shiftKey||s!==l||(e.preventDefault(),r.focus())};return document.addEventListener("keydown",i),()=>{window.cancelAnimationFrame(s),document.removeEventListener("keydown",i),r instanceof HTMLElement&&r.focus()}},[e,t])})(d,t&&p,(0,n.useCallback)(()=>{r()},[r])),(0,n.useEffect)(()=>{g(!0);let e=()=>{let e=document.getElementById("os-theme-header");e&&m(e.offsetHeight)};e();let t=document.getElementById("os-theme-header");if(t){let r=new ResizeObserver(e);return r.observe(t),()=>{r.disconnect(),g(!1)}}return()=>g(!1)},[]),(0,n.useEffect)(()=>
1{if(!p)return;let e=document.getElementById("announcementBar"),{body:r}=document;return t?(e?.style.setProperty("display","none"),r.style.overflow="hidden"):(e?.style.setProperty("display","flex"),r.style.overflow=""),()=>{e&&e.style.setProperty("display","flex"),r.style.overflow=""}},[t,p]);let x=(0,a.jsx)("div",{id:"mobileMenu",ref:d,role:"dialog","aria-modal":t,"aria-label":i("mobile_menu"),"aria-hidden":!t,"data-selector":"os-theme-navigation-mobile",className:`fixed inset-x-0 bg-white z-[10001] ${t?"opacity-100 visible":"opacity-0 invisible pointer-events-none"}`,style:{top:`${u}px`,height:`calc(100dvh - ${u}px)`},children:(0,a.jsx)("div",{className:"relative h-full overflow-hidden",children:t&&(0,a.jsx)(h,{menuItems:s,onLinkClick:e=>{b.push(e),r()}})})});return p?(0,c.createPortal)(x,document.body):x};var g=r(32462);let b=e=>{let{menuItems:t}=e,r=(0,l.useTranslations)("accessibility"),[o,c]=(0,n.useState)(!1),{isVisible:d}=(0,g.S)(),u=(0,n.useCallback)(()=>{c(!1)},[]);return d?null:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(s.A,{id:"mobileMenuButton",variant:"icon",className:"flex lg:hidden w-[44px] min-w-[44px] h-[44px] mr-2",onClick:()=>c(!o),"aria-label":r(o?"close_menu":"open_menu"),"aria-expanded":o,"aria-controls":"mobileMenu","data-selector":"os-theme-header-hamburger-menu",children:(0,a.jsx)(i.A,{icon:o?"close":"menu",size:"lg","data-selector":"os-theme-header-hamburger-menu-icon"})}),(0,a.jsx)(p,{isOpen:o,onClose:u,menuItems:t||[]})]})}},5733:(e,t,r)=>{"use strict";r.d(t,{default:()=>u});var a=r(95155),n=r(95604),l=r(58366),s=r(49692),i=r(18679),o=r(89086),c=r(32462),d=r(9929);let u=e=>{let{cartType:t,cartPageLink:r}=e,u=(0,n.useTranslations)(),{cart:m,setSideCartOpen:h,sideCartOpen:f}=(0,i.useCart)(),{isVisible:p}=(0,c.S)(),g=(0,l.A)("(max-width: 960px)"),b=Number(m?.itemCount??0),x="side_cart"===t;if(p&&g)return null;let v=x&&f?u("cart_widget.close_cart"):u("cart_widget.open_cart",{count:b});return(0,a.jsxs)(o.A,{variant:"icon",type:"button",onClick:()=>{x&&m?h(e=>!e):window.location.href=r},"aria-label":v,"aria-expanded":x?f:void 0,className:(0,d.cn)("relative w-[44px] h-[44px] text-[rgb(var(--font-color-base))] flex items-center justify-center py-0",m&&m?.itemCount>0&&"not-empty",m&&m?.itemCount>99&&"has-multiple-items"),"data-cy":"header-small-open-cart","data-selector":"os-theme-header-cart",children:[m&&m?.itemCount>0&&(0,a.jsx)("span",{"aria-hidden":"true",className:"font-sans bg-[rgb(var(--font-color-base))] text-[rgb(var(--font-color-base-invert))] min-h-4 min-w-4 mx-auto absolute w-auto h-auto flex items-center justify-center font-bold leading-[110%] top-[5px] translate-x-[0.5rem] rounded-[16px] text-[9px] px-1",children:m?.itemCount}),(0,a.jsx)(s.A,{icon:"cart",size:"lg"})]})}},6781:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var a=r(95155),n=r(52619),l=r.n(n),s=r(95604),i=r(49692);let o=e=>{let{social:t,...r}=e,n=(0,s.useTranslations)("accessibility");return(0,a.jsx)("div",{className:"w-full footer-socials flex flex-col flex-wrap items-center mt-4",...r,children:(0,a.jsxs)("ul",{className:"social-links p-0 m-0 flex items-center",children:[t.facebook.username&&(0,a.jsx)("li",{className:"mr-5 last:mr-0",children:(0,a.jsx)(l(),{href:t.facebook.username,rel:"noreferrer",target:"_blank","aria-label":n("social_facebook"),className:"text-decoration-none text-decoration-none",children:(0,a.jsx)(i.A,{icon:"facebook",size:"xl","data-selector":"os-theme-footer-fb-icon-mobile",className:"text-decoration-none"})})}),t.instagram.username&&(0,a.jsx)("li",{className:"mr-5 last:mr-0",children:(0,a.jsx)(l(),{href:t.instagram.username,rel:"noreferrer",target:"_blank","aria-label":n("social_instagram"),children:(0,a.jsx)(i.A,{icon:"instagram",size:"xl","data-selector":"os-theme-footer-instagram-icon-mobile"})})}),t.twitter.username&&(0,a.jsx)("li",{className:"mr-5 last:mr-0",children:(0,a.jsx)(l(),{href:t.twitter.username,rel:"noreferrer",target:"_blank","aria-label":n("social_twitter"),children:(0,a.jsx)(i.A,{icon:"twitter",size:"xl","data-selector":"os-theme-footer-twitter-icon-mobile"})})}),t.pinterest.username&&(0,a.jsx)("li",{className:"mr-5 last:mr-0",children:(0,a.jsx)(l(),{href:t.pinterest.username,rel:"noreferrer",target:"_blank","aria-label":n("social_pinterest"),children:(0,a.jsx)(i.A,{icon:"pinterest",size:"xl","data-selector":"os-theme-footer-pinterest-icon-mobile"})})}),t.whatsapp.username&&(0,a.jsx)("li",{className:"mr-5 last:mr-0",children:(0,a.jsx)(l(),{href:`https://wa.me/${t.whatsapp.username}`,rel:"noreferrer",target:"_blank","aria-label":n("social_whatsapp"),children:(0,a.jsx)(i.A,{icon:"whatsapp",size:"xl","data-selector":"os-theme-footer-whatsapp-icon-mobile"})})})]})})}},8616:(e,t,r)=>{"use strict";r.d(t,{default:()=>p});var a=r(95155),n=r(52619),l=r.n(n),s=r(16405),i=r(12115),o=r(95644),c=r.n(o),d=r(9929),u=r(95719),m=r(18283),h=r(65401),f=r(93247);let p=()=>{let{themeDraftUUID:e,previewLocale:t,generalSettings:r}=(0,u.m)(),{sendEventToDashboard:n}=(0,f.$)(),[o,p]=(0,i.useState)(""),g=(0,i.useMemo)(()=>r?.properties.header.announcementBar,[r]),b=g.link.visible&&"gift_cards"===g.link.type,x=g.link.visible&&g.link.target&&g.link.type||b,v=c()(g.content),N=(0,m.x)(g.link.type,b?"gift_cards":g.link.target),w=(0,i.useCallback)(()=>{n({type:"changePage",linkData:{type:g.link.type,target:g.link.target}})},[g.link.target,g.link.type,n]);return((0,i.useEffect)(()=>{N&&p((0,h.mr)(N,e,t))},[N,e,t]),g?.visible===!1)?null:(0,a.jsx)("div",{"data-component":"announcement_bar","data-editor-selected-component":"header","data-editor-selected-section":"announcement_bar",id:"announcementBar",className:`${(0,d.cn)("flex items-center justify-center w-full bg-attention word-break break-words body-2-regular min-h-[58px] font-paragraphs text-attentionFont text-center ")}${x?" has-link":""} visible-${g.visible?"true":"false"}`,children:x?(0,a.jsx)(l(),{className:"py-4 px-[20px]",href:o,target:g.link.openNewTab?"_blank":void 0,onClick:()=>{w()},children:(0,s.Ay)(v)}):(0,a.jsx)("div",{className:"py-4 px-[20px] break-words",children:(0,s.Ay)(v)})})}},10048:(e,t,r)=>{"use strict";r.d(t,{default:()=>y});var a=r(95155),n=r(12115),l=r(95604),s=r(83161),i=r(96141),o=r(57744),c=r(18679),d=r(89086),u=r(49692),m=r(75538),h=r(44065),f=r(9929),p=r(66629),g=r(16800),b=r(77723),x=r(19384),v=r(13238);let N=function(e){var t;let{item:r,locale:s,currency:i,className:o,as:m}
1=e,[h,N]=(0,n.useState)(r.quantity),{deleteItem:w,updateItem:y,setInvalidQuantities:j,isPreviewMode:A}=(0,c.useCart)(),k=(0,l.useTranslations)(),_=(0,n.useRef)(!1);(0,n.useEffect)(()=>{r&&!_.current&&N(r.quantity)},[r]),(0,n.useEffect)(()=>{if(A)return;let e=r.availability.trackingEnabled&&h>r.availability.quantity;return j(r.lineId,e),()=>{j(r.lineId,!1)}},[h,r.availability,r.lineId,j,A]);let E=(0,n.useCallback)(e=>{e<=0||r.availability.trackingEnabled&&e>r.availability.quantity||(_.current=!1,y(r.lineId,e))},[r,y]);(0,n.useEffect)(()=>{if(A||!_.current)return;let e=setTimeout(()=>{E(h)},500);return()=>{clearTimeout(e)}},[h,E,A]);let I=e=>{_.current=!0,N(e<=0?1:e)};function S(e){let t=(0,b.lI)({value:e.totalGross,locale:s,currency:i}),r=e.quantity>1?`${e.quantity} x `:"";return`${r}${e.name} (${t})`}let C=r.availability.trackingEnabled,L=h<=1,T=!!C&&h>=r.availability.quantity;return(0,a.jsxs)(m||"li",{className:(0,f.cn)("flex w-full gap-4",o),id:r.lineId,children:[(0,a.jsx)(v.A,{src:r.image??"",title:r.productTitle,className:"w-[88px] h-[88px] min-w-[88px]","data-cy":"cart-widget-item-image"}),(0,a.jsxs)("div",{className:"flex flex-col w-full",children:[(0,a.jsxs)("div",{className:"flex flex-col items-start mb-4",children:[(0,a.jsxs)("div",{className:"flex items-start justify-between w-full",children:[(0,a.jsx)(p.E,{size:"lg",className:"font-labels max-w-[90%] word-break",children:r.productTitle}),(0,a.jsx)(d.A,{variant:"icon",onClick:()=>{A||w(r.lineId)},"aria-label":k("accessibility.remove_item"),className:"flex ml-auto text-[rgb(var(--font-color-base))] w-5 h-5",size:"sm",children:(0,a.jsx)(u.A,{icon:"bin"})})]}),r.availability.trackingEnabled&&h>r.availability.quantity&&(0,a.jsx)(g.A,{className:"mt-2",children:k.rich("product.remaining_quantity",{quantity:r.availability.quantity})})]}),(t=r.properties).length?(0,a.jsx)("ul",{id:`options-${r.variantId}`,className:"mb-4 uppercase ",children:t.map((e,t)=>(0,a.jsx)("li",{children:(0,a.jsxs)(p.E,{size:"xs",weight:"bold",className:"leading-[120%] word-break",children:[`${!e.name?k("product.variant"):e.name}:`,(0,a.jsx)(p.E,{className:"ml-1 leading-[120%]",size:"xs",weight:"regular",as:"span",children:e.value})]})},`${e.name}-${t}`))}):null,function(e){if(!e?.length)return null;let t=e.reduce((e,t)=>{let r=e.find(e=>e.setId===t.setId);return r?r.modifiers.push(t):e.push({setId:t.setId,modifiers:[t]}),e},[]);return(0,a.jsx)("ul",{id:`modifiers-${r.lineId}`,className:"mb-4 flex list-none flex-col gap-y-1 p-0 text-fontColorLight",children:t.map(e=>(0,a.jsx)(p.E,{as:"li",size:"xs",weight:"regular",className:"font-labels leading-[120%] word-break",children:e.modifiers.map(S).join(" \xb7 ")},e.setId))})}(r.modifiers),(0,a.jsxs)("div",{className:"flex items-center justify-between flex-wrap gap-4",children:[(0,a.jsx)(x.A,{productName:r.productTitle,decrease:{disabled:L,onClick:()=>I(h-1)},increase:{disabled:T,onClick:()=>I(h+1)},value:h,onValueChange:I}),(0,a.jsx)(p.E,{className:"font-labels flex-auto text-right",size:"lg","data-selector":"os-cart-product-price-total",children:(0,b.lI)({value:r.total,locale:s,currency:i})})]})]})]})},w=function(e){let{className:t,...r}=e,{cart:n,locale:l,currency:s}=(0,c.useCart)();return(0,a.jsx)("ul",{...r,className:(0,f.cn)("px-4 mt-0 md:mt-4 cart--list",t),children:n?.items.map((e,t)=>(0,a.jsx)(N,{item:e,locale:l,currency:s,className:(0,f.cn)("border-b border-fontColorSuperLight pt-5 pb-5",t===n?.items.length-1&&"border-b-0")},`${e.variantId}-${t}`))})};function y(){let e=(0,l.useTranslations)(),{cart:t,setSideCartOpen:r,sideCartOpen:f,hasSoldOutItems:p}=(0,c.useCart)(),[g,b]=(0,n.useState)({});return(0,n.useEffect)(()=>{let e=()=>{},t=()=>b({});if(!f)return t(),e;let{visualViewport:r}=window;if(!r)return t(),e;let a=()=>{if(0===Math.max(0,window.innerHeight-r.height-r.offsetTop))return void t();b({bottom:"auto",height:`${r.height}px`,maxHeight:`${r.height}px`,top:`${r.offsetTop}px`})};return a(),r.addEventListener("resize",a),r.addEventListener("scroll",a),()=>{r.removeEventListener("resize",a),r.removeEventListener("scroll",a),t()}},[f]),(0,a.jsx)(s._s.Root,{open:f,onOpenChange:r,dismissible:!0,direction:"right",repositionInputs:!1,children:(0,a.jsxs)(s._s.Portal,{children:[(0,a.jsx)(s._s.Overlay,{className:"fixed top-0 left-0 w-full h-screen bg-black bg-opacity-80 z-50"}),(0,a.jsxs)(s._s.Content,{className:"shl--cart-widget h-full w-full md:max-w-[444px] fixed bottom-0 right-0 outline-none z-50",style:g,children:[(0,a.jsx)(s._s.Title,{className:"hidden",children:e("cart_widget.title")}),(0,a.jsxs)("div",{className:"h-full flex flex-col overflow-y-auto relative overflow-x-hidden",children:[(0,a.jsxs)("div",{className:"w-full flex items-center justify-center min-h-[64px] md:min-
1h-[88px] border-solid border-0 border-b border-fontColorSuperLight relative",children:[(0,a.jsx)(d.A,{variant:"icon",onClick:()=>r(!1),"aria-label":e("cart_widget.close_cart"),className:"absolute left-0 h-[64px] w-[64px] text-fontColorBase flex items-center",children:(0,a.jsx)(u.A,{icon:"chevron-right-light",size:"md"})}),(0,a.jsx)(m.A,{as:"h2",size:"6",weight:"inherit","data-selector":"os-theme-side-shopping-cart-title",children:e("cart_widget.title")})]}),p&&(0,a.jsx)("div",{className:"border-b border-fontColorSuperLight",children:(0,a.jsx)(o.A,{})}),t&&0!==t.itemCount?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"h-full min-h-[150px] flex flex-col overflow-y-auto",children:(0,a.jsx)(w,{})}),(0,a.jsx)(h.A,{})]}):(0,a.jsx)("div",{className:"h-full min-h-[150px] flex flex-col overflow-y-auto",children:(0,a.jsx)(i.A,{className:"absolute top-1/2 translate-y-[-50%] left-0"})})]})]})]})})}},17917:()=>{},24394:()=>{},25836:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var a=r(95155),n=r(12115),l=r(95719),s=r(93247),i=r(65401);let o=[...r(41897).bb,"returns"],c=function(e){let{children:t}=e,{handleLinkClick:r,generateEditorLink:c}=function(){let{themeDraftUUID:e,previewLocale:t}=(0,l.m)(),{sendEventToDashboard:r}=(0,s.$)();return{handleLinkClick:(0,n.useCallback)((e,t)=>{r({type:"changePage",linkData:{type:e,target:t||""}})},[r]),generateEditorLink:(0,n.useCallback)(r=>(0,i.mr)(r,e,t),[e,t])}}(),d=e=>{var t;let a;if("key"in e&&"Enter"!==(a=e.key)&&" "!==a)return;let n=(t=e.target)instanceof HTMLElement?"A"===t.tagName?t:(e=>{let t=e;for(;t&&"A"!==t.tagName;)t=t.parentElement;return t})(t):null;if(!n)return;let l=n.getAttribute("href");if(!l||"#"===l)return;e.preventDefault(),e.stopPropagation();let s=n.getAttribute("data-link-type");!s||o.includes(s)||(r(s,n.getAttribute("data-link-target")||""),window.location.href=c(l))};return(0,a.jsx)("div",{onClickCapture:d,onKeyDownCapture:d,onAuxClickCapture:d,children:t})}},26687:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ConsentContext:()=>d,ConsentProvider:()=>u,useConsent:()=>m});var a=r(95155),n=r(12115),l=r(20063),s=r(87469),i=r(69547),o=r(59038),c=r(53961);let d=(0,n.createContext)(null);function u(e){let{children:t,merchantCode:r,controller:u}=e,[m,h]=(0,n.useState)(),[f,p]=(0,n.useState)(!1),[g,b]=(0,n.useState)(!1),[x,v]=(0,n.use
1State)(!1),N=(0,s.u)(),w=(0,l.usePathname)(),y=(0,n.useCallback)(async e=>{if(N&&N.length)try{let t=await fetch(`/pdw/api/consent?mc=${r}&userKey=${N}`,{signal:e});if(!t.ok)return;let a=await t.json();a&&((0,o.c)("analytics-initialize",{analytics_storage:a.consents.performance_cookies?"granted":"denied",ad_storage:a.consents.performance_cookies?"granted":"denied",performanceCookies:a.consents.performance_cookies}),h(a),p(a.consents.performance_cookies),a.exists||b(!0))}catch{}},[r,N]),j=async e=>{try{if(!(await fetch(`/pdw/api/consent?mc=${r}`,{method:"POST",body:JSON.stringify({userKey:N,consents:e})})).ok)return}catch{return}h({exists:!0,consents:e}),p(e.performance_cookies),(0,i.u)("consent","update",{analytics_storage:e.performance_cookies?"granted":"denied",ad_storage:e.performance_cookies?"granted":"denied"});let t={event:"page_view",content_group:u,page_title:(0,c.B)()?window.document.title:"",page_location:(0,c.B)()?window.location.href:"",clean_path:(0,c.B)()?window.location.pathname:"",is_consent_update:e.performance_cookies};(0,o.c)("track-google-event",t),(0,c.B)()&&window.pixel&&window.pixel.send("consent",e.performance_cookies?"grant":"revoke")};return(0,n.useEffect)(()=>{let e=new AbortController;return N&&y(e.signal),()=>{e.abort()}},[y,N]),(0,n.useEffect)(()=>{let e=setTimeout(()=>{g||x?document.body.style.pointerEvents="auto":document.body.style.pointerEvents=""},50);return()=>{clearTimeout(e),document.body.style.pointerEvents=""}},[g,x]),(0,n.useEffect)(()=>{x&&v(!1)},[w]),(0,a.jsx)(d.Provider,{value:{consent:m,displayCookieBanner:g,setDisplayCookieBanner:b,displayCookieSettings:x,setDisplayCookieSettings:v,saveConsent:j,performanceCookies:f},children:t})}function m(){let e=(0,n.useContext)(d);if(!e)throw Error("useConsent must be used within consentProvider");return e}},27596:(e,t,r)=>{"use strict";r.d(t,{e:()=>s});var a=r(12115),n=r(95719),l=r(65943);let s=(e,t)=>{let{generalSettings:r,menuRefreshSignal:s,themeDraftUUID:i}=(0,n.m)(),{shop:o}=(0,l.useShop)(),c=r.properties[t].menu.uuid,[d,u]=(0,a.useState)(e),m=(0,a.useMemo)(()=>s&&s.menuType===t&&s.menuId===c?s.tick:0,[s,t,c]),h=function(e,t,r,n){let[l,s]=(0,a.useState)(),{themeDraftUUID:i,refreshTick:o=0}=n??{};return(0,a.useEffect)(()=>{let a=new AbortController;return o>0&&e&&t&&r&&async function(){try{let n=new URLSearchParams({merchantCode:e,id:t,shopUuid:r});i&&n.set("theme_draft",i);let l=await fetch(`/pdw/api/menu?${n.toString()}`,{signal:a.signal});if(!l.ok)return;let o=await l.json();s(o)}catch{}}(),()=>{a.abort()}},[e,t,r,i,o]),l}(o.merchantCode,c,o.uuid,{themeDraftUUID:i,refreshTick:m});return(0,a.useEffect)(()=>{u(e)},[e]),(0,a.useEffect)(()=>{h&&u(h)},[h]),d}},31599:(e,t,r)=>{"use strict";r.d(t,{PreloadResources:()=>n});var a=r(47650);function n(e){let{fonts:t}=e;return t.forEach(e=>{a.preload(e,{as:"font",fetchPriority:"high"})}),null}},32462:(e,t,r)=>{"use strict";r.d(t,{default:()=>c,S:()=>o});var a=r(95155),n=r(12115),l=r(62002),s=r(41516);let i=(0,n.createContext)(void 0),o=()=>{let e=(0,n.useContext)(i);if(void 0===e)throw Error("useSearch must be used within a SearchProvider");return e},c=e=>{let{children:t,link:r,isDefaultVisible:o}=e,[c,d]=(0,n.useState)(o),[u,m]=(0,n.useState)(0),{history:h,setHistory:f}=(()=>{let[e,t]=(0,n.useState)({isVisible:!1,data:(0,l.w)()});return{history:e,setHistory:t}})();return(0,n.useEffect)(()=>{let e=document.getElementById(s.su);if(!e)return;let t=new ResizeObserver(e=>{e.forEach(e=>{m(e.contentRect.height)})});return t.observe(e),()=>{t.disconnect()}},[]),(0,n.useEffect)(()=>{let{body:e}=document;e&&(c?e.classList.add("search-visible"):e.classList.remove("search-visible"))},[c]),(0,a.jsx)(i.Provider,{value:{isVisible:c,setIsVisible:d,headerHeight:u,handleSearchRedirect:e=>{let t=new URL(r);t.searchParams.set("search",e),window.location.href=t.toString()},history:h,setHistory:f},children:t})}},36394:(e,t,r)=>{"use strict";r.r(t);var a=r(75540),n=r(89050),l=r(79876),s=r(36505),i=r(13627),o=r(63111),c=r(95391),d=r(58153),u=r(86784),m=r(92961),h=r(53961);let f=(e,t,r)=>{let a=(0,m.NQ)();a&&e.setAttribute("sumup.merchant.code",a)},p=(e,t)=>{let r=(0,m.NQ)();r&&e.setAttribute("sumup.merchant.code",r)};(0,h.B)()&&(()=>{let e=new s.Q({url:`${window.location.origin}/pdw/api/otel-proxy`}),t=new a.Z({resource:new n.F({[l.UX]:u.bg,...(0,u.eX)()}),spanProcessors:[new i.J(e)]});(0,d.R)({instrumentations:[new o.X({applyCustomAttributesOnSpan:f}),new c.D({applyCustomAttributesOnSpan:p})]}),t.register()})()},38614:(e,t,r)=>{"use strict";r.r(t),r.d(t,{MetaPixel:()=>o});var a=r(95155),n=r(68321),l=r(12115),s=r(59038),i=r(53961);function o(e){let{merchantMetaPixelId:t}=e;return(0,l.useEffect)(()=>{let e,t,r="undefined"!=typeof AbortController;r&&(t=(e=new AbortController).signal);let a=e=>{let{detail:{track:t,matcher:r,data:a}}=e;a?window.pixel.send(t,r,a):window.pixel.send(t,r)};return(0,s.q2)("analytics-initialize",e=>{let{detail:t}=e;(0,i.B)()&&window.pixel&&(window.pixel.send("consent",t.performanceCookies?"grant":"revoke"),(0,s.q2)("track-meta-pixel-event",a))},r&&t?{signal:t}:void 0),()=>{r&&e&&e.abort()}},[]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.default,{id:"meta-pixel-config",dangerouslySetInnerHTML:{__html:` 2 !function(f,b,e,v,n,t,s) 3 {if(f.fbq)return;n=f.fbq=function(){n.callMethod? 4 n.callMethod.apply(n,arguments):n.queue.push(arguments)}; 5 if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; 6 n.queue=[];t=b.createElement(e);t.async=!0; 7 t.src=v;s=b.getElementsByTagName(e)[0]; 8 s.parentNode.insertBefore(t,s)}(window, document,'script', 9 'https://connect.facebook.net/en_US/fbevents.js'); 10 fbq('init', '${t}'); 11 fbq('track', 'PageView'); 12 window.pixel = { 13 send: fbq 14 } 15 `}}),(0,a.jsx)("noscript",{children:(0,a.jsx)("img",{height:"1",width:"1",style:{display:"none"},src:`https://www.facebook.com/tr?id=${t}&ev=PageView&noscript=1`})})]})}},41516:(e,t,r)=>{"use strict";r.d(t,{Cu:()=>l,hF:()=>n,su:()=>a});let a="content-wrapper",n=3,l="search_values"},41897:(e,t,r)=>{"use strict";r.d(t,{bb:()=>l});let a={GERMAN:"de",ENGLISH:"en",SPANISH:"es",FRENCH:"fr",ITALIAN:"it",DUTCH:"nl",POLISH:"pl",PORTUGUESE:"pt",BULGARIAN:"bg",CZECH:"cs",DANISH:"da",GREEK:"el",ESTONIAN:"et",FINNISH:"fi",CROATIAN:"hr",HUNGARIAN:"hu",LITHUANIAN:"lt",LATVIAN:"lv",NORWEGIAN:"nb",ROMANIAN:"ro",SLOVAK:"sk",SLOVENIAN:"sl",SWEDISH:"sv"};a.POLISH,a.ENGLISH,a.GERMAN,a.SPANISH,a.FRENCH,a.ITALIAN,a.DUTCH,a.PORTUGUESE,a.BULGARIAN,a.CZECH,a.DANISH,a.GREEK,a.ESTONIAN,a.FINNISH,a.CROATIAN,a.HUNGARIAN,a.LITHUANIAN,a.LATVIAN,a.NORWEGIAN,a.ROMANIAN,a.SLOVAK,a.SLOVENIAN,a.SWEDISH,a.POLISH,a.ENGLISH,a.GERMAN,a.SPANISH,a.FRENCH,a.ITALIAN,a.DUTCH,a.PORTUGUESE,a.BULGARIAN,a.CZECH,a.DANISH,a.GREEK,a.ESTONIAN,a.FINNISH,a.CROATIAN,a.HUNGARIAN,a.LITHUANIAN,a.LATVIAN,a.NORWEGIAN,a.ROMANIAN,a.SLOVAK,a.SLOVENIAN,a.SWEDISH,a.POLISH,a.ENGLISH,a.GERMAN,a.SPANISH,a.FRENCH,a.ITALIAN,a.DUTCH,a.PORTUGUESE,a.BULGARIAN,a.CZECH,a.DANISH,a.GREEK,a.ESTONIAN,a.FINNISH,a.CROATIAN,a.HUNGARIAN,a.LITHUANIAN,a.LATVIAN,a.NORWEGIAN,a.ROMANIAN,a.SLOVAK,a.SLOVENIAN,a.SWEDISH,a.POLISH,a.ENGLISH,a.GERMAN,a.SPANISH,a.FRENCH,a.ITALIAN,a.DUTCH,a.PORTUGUESE,a.BULGARIAN,a.CZECH,a.DANISH,a.GREEK,a.ESTONIAN,a.FINNISH,a.CROATIAN,a.HUNGARIAN,a.LITHUANIAN,a.LATVIAN,a.NORWEGIAN,a.ROMANIAN,a.SLOVAK,a.SLOVENIAN,a.SWEDISH,a.POLISH,a.ENGLISH,a.GERMAN,a.SPANISH,a.FRENCH,a.ITALIAN,a.DUTCH,a.PORTUGUESE,a.BULGARIAN,a.CZECH,a.DANISH,a.GREEK,a.ESTONIAN,a.FINNISH,a.CROATIAN,a.HUNGARIAN,a.LITHUANIAN,a.LATVIAN,a.NORWEGIAN,a.ROMANIAN,a.SLOVAK,a.SLOVENIAN,a.SWEDISH,a.POLISH,a.ENGLISH,a.GERMAN,a.SPANISH,a.FRENCH,a.ITALIAN,a.DUTCH,a.PORTUGUESE,a.BULGARIAN,a.CZECH,a.DANISH,a.GREEK,a.ESTONIAN,a.FINNISH,a.CROATIAN,a.HUNGARIAN,a.LITHUANIAN,a.LATVIAN,a.NORWEGIAN,a.ROMANIAN,a.SLOVAK,a.SLOVENIAN,a.SWEDISH,a.POLISH,a.ENGLISH,a.GERMAN,a.SPANISH,a.FRENCH,a.ITALIAN,a.DUTCH,a.PORTUGUESE,a.BULGARIAN,a.CZECH,a.DANISH,a.GREEK,a.ESTONIAN,a.FINNISH,a.CROATIAN,a.HUNGARIAN,a.LITHUANIAN,a.LATVIAN,a.NORWEGIAN,a.ROMANIAN,a.SLOVAK,a.SLOVENIAN,a.SWEDISH,a.POLISH,a.ENGLISH,a.GERMAN,a.SPANISH,a.FRENCH,a.ITALIAN,a.DUTCH,a.PORTUGUESE,a.BULGARIAN,a.CZECH,a.DANISH,a.GREEK,a.ESTONIAN,a.FINNISH,a.CROATIAN,a.HUNGARIAN,a.LITHUANIAN,a.LATVIAN,a.NORWEGIAN,a.ROMANIAN,a.SLOVAK,a.SLOVENIAN,a.SWEDISH,a.POLISH,a.ENGLISH,a.GERMAN,a.SPANISH,a.FRENCH,a.ITALIAN,a.DUTCH,a.PORTUGUESE,a.BULGARIAN,a.CZECH,a.DANISH,a.GREEK,a.ESTONIAN,a.FINNISH,a.CROATIAN,a.HUNGARIAN,a.LITHUANIAN,a.LATVIAN,a.NORWEGIAN,a.ROMANIAN,a.SLOVAK,a.SLOVENIAN,a.SWEDISH;var n=r(87358);let l=["custom","bookings","gift_cards"];n.env.STOREFORNT_API_URL}
15,43876:(e,t,r)=>{"use strict";r.d(t,{default:()=>c});var a=r(95155),n=r(95604),l=r(12115),s=r(15239),i=r(73379),o=r(89086);function c(e){let{generalSettings:t,requiredAge:r,logoAssetData:c}=e,[d,u]=(0,l.useState)(!0),[m,h]=(0,l.useState)(!1),f=(0,n.useTranslations)(),p=(0,l.useMemo)(()=>t.properties.styles.background.visible||!1,[t]),g=(0,l.useMemo)(()=>t.properties.header.logo.image.uuid&&t.properties.header.logo.visible&&void 0!==c,[t,c]);return d?(0,a.jsxs)("div",{"data-selector":"age-restriction",className:`fixed top-0 left-0 w-full h-full z-[9999] flex flex-col ${p?"bg-decoration text-decorationFont":"bg-white text-black"}`,children:[(0,a.jsx)("header",{className:"w-full border-b border-black border-opacity-10",children:(0,a.jsx)(i.A,{className:"p-0",children:(0,a.jsxs)("div",{className:"flex items-center justify-center relative flex-col md:flex-row min-h-[95px] md:min-h-[128px] py-2",children:[g&&c&&(0,a.jsx)("div",{className:"logo-wrapper md:absolute md:left-0 py-2",children:(0,a.jsx)("div",{className:"h-[42px] md:h-[56px] max-w-[150px] p-0 w-auto",children:(0,a.jsx)(s.default,{src:c.url.th240,alt:t.properties.header.logo.image.alt||t.properties.header.headerName.content,width:240,height:240,className:"max-w-full max-h-full w-auto h-auto block","data-selector":"os-theme-header-logo"})})}),t.properties.header.headerName.visible&&(0,a.jsx)("div",{className:`px-5 text-center leading-[18.4px] ${g?"md:px-[150px]":""}`,"data-selector":"os-theme-header-store-name",children:(0,a.jsx)("span",{className:"font-bold",children:t.properties.header.headerName.content})})]})})}),(0,a.jsx)(i.A,{className:"h-full",children:(0,a.jsx)("div",{className:"flex items-center justify-center h-full w-full text-center",children:(0,a.jsxs)("div",{id:"ageVerificationContent",className:"px-0.5",children:[(0,a.jsx)("h4",{className:"headline-4 mb-5",children:f(`age_verification.${m?"access_restricted":"title"}`)}),!m&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("p",{className:"leading-[18.4px] font-paragraphs",children:f("age_verification.description",{age:r})}),(0,a.jsxs)("div",{className:"mt-5 flex flex-col w-full md:w-auto md:flex-row justify-center",children:[(0,a.jsx)(o.A,{id:"ageVerificationConfirmButton",variant:"primary",type:"submit",className:"w-full md:w-auto mb-4 md:mb-0 flex md:mr-4 md:px-4",onClick:()=>{let e=new Date;e.setTime(e.getTime()+31536e6);let t=`expires='${e.toUTCString()}`;document.cookie=`ageVerification=1;${t};path=/`,u(!1)},children:f("age_verification.confirm")}),(0,a.jsx)(o.A,{variant:"secondary",type:"submit",className:"w-full md:w-auto md:px-4",onClick:()=>{h(!0)},children:f("age_verification.exit")})]})]})]})})})]}):null}},44065:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});var a=r(95155),n=r(12115),l=r(95604),s=r(9929),i=r(30613),o=r(88116),c=r(12316),d=r(18679),u=r(65943);let m=function(){let{shop:e,cart:t}=(0,d.useCart)(),{userKey:r}=(0,u.useShop)(),[m,h]=(0,n.useState)(t?.notes||""),[f,p]=(0,n.useState)(300-(t?.notes?.length||0)),g=(0,l.useTranslations)();return(0,a.jsx)(i.nD,{type:"single",collapsible:!0,className:"relative z-1 border-solid border-0 border-b border-fontColorLightBackgroun
15d",defaultValue:m?"item-1":void 0,children:(0,a.jsxs)(i.As,{value:"item-1",children:[(0,a.jsx)(i.$m,{"data-selector":"os-cart-accordion-header",children:g("cart_widget.order_note")}),(0,a.jsxs)(i.ub,{children:[(0,a.jsx)(o.A,{placeholder:g("cart_widget.order_note_placeholder"),name:"os-cart-message-input",rows:4,maxLength:300,"data-selector":"os-cart-message-input",className:"block resize-none text-decorationFont border-fontColorLightBackground placeholder:text-fontColorLightBackground",onChange:e=>{p(300-e.target.value.length),h(e.target.value)},onBlur:t=>{let a={notes:t.target.value};r&&(0,c.ep)(e.uuid,r,a).then(()=>{h(t.target.value)}).catch(e=>{console.error(e)})},value:m}),(0,a.jsx)("span",{className:(0,s.cn)("block text-right mt-1 text-xs text-fontColorLightBackground",{"text-warning":f<=0}),children:g.rich("cart_widget.order_note_validation",{count:f})})]})]})})};var h=r(77723);let f=function(){let e=(0,l.useTranslations)(),{locale:t,currency:r,cart:n}=(0,d.useCart)();return n?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"border-solid border-0 border-b border-fontColorLightBackgroun
15d py-4 flex justify-between relative z-1 leading-6",children:[(0,a.jsx)("span",{"data-selector":"os-cart-summary-subtotal-label",children:e("cart_widget.cart_subtotal_section_title")}),(0,a.jsx)("span",{id:"cartSummarySubtotal","data-selector":"os-cart-summary-subtotal-value",children:(0,h.lI)({value:n.subtotal,locale:t,currency:r})})]}),(0,a.jsxs)("div",{className:"border-solid border-0 border-b border-fontColorLightBackground py-4 flex justify-between relative z-1 leading-6",children:[(0,a.jsx)("span",{"data-selector":"os-cart-summary-shipping-label",children:e("cart_widget.cart_shipping_section_title")}),(0,a.jsx)("span",{className:"text-right ml-4","data-selector":"os-cart-summary-shipping-value",children:e("cart_widget.cart_shipping_section_text")})]}),(0,a.jsxs)("div",{className:"py-4 flex justify-between relative z-1 leading-6",children:[(0,a.jsxs)("div",{className:"sum-tax-wrapper",children:[(0,a.jsx)("span",{className:"mb-[2px] font-bold leading-[120%] block","data-selector":"os-cart-summary-total-label",children:e("cart_widget.cart_total_section_title")}),n.isTaxEnabled&&(0,a.jsx)("span",{id:"cartSummaryTax",className:"block text-fontColorLightBackgroun
15d leading-6","data-selector":"os-cart-summary-tax-label",children:e.rich("cart_widget.tax_info_with_price",{amount:(0,h.lI)({value:n.taxTotal,locale:t,currency:r})})})]}),(0,a.jsx)("span",{id:"cartSummaryTotal",className:"font-bold block leading-[120%]","data-selector":"os-cart-summary-total-value",children:(0,h.lI)({value:n.total,locale:t,currency:r})})]})]}):null};var p=r(89086);let g=function(e){let{className:t,variant:r="side-cart",...i}=e,{shop:o,productsListLink:h,cart:g,displayProductsListLink:b,goToCheckoutLink:x,hasInvalidQuantities:v,isPreviewMode:N}=(0,d.useCart)(),{userKey:w}=(0,u.useShop)(),[y,j]=(0,n.useState)(!1),A=(0,l.useTranslations)();if(!g)return null;let k="full-page"===r;return(0,a.jsxs)("div",{id:k?"cartSummaryFullPage":"cartSummary",className:(0,s.cn)("bg-decoration bottom-0 text-decorationFont block w-full p-4 pt-0 relative before:content-[''] before:bg-[rgba(var(--decoration-color-font),0.05)] before:w-full before:h-full before:absolute before:top-0 before:left-0 before:z-0",t),...i,children:[(0,a.jsx)(m,{}),(0,a.jsx)(f,{}),b?(0,a.jsx)("div",{className:"shl--checkout-btn checkout--cart",children:(0,a.jsx)(p.A,{id:"returnToProducts",variant:"primary",href:h,stretch:!0,className:"block text-center","data-cy":k?"cart-page-return-to-products":"cart-widget-return-to-products",children:(0,a.jsx)("span",{children:A("cart_widget.return_to_products")})})}):(0,a.jsx)("div",{className:"shl--checkout-btn checkout--cart",children:(0,a.jsx)(p.A,{id:"goToCheckout",variant:"primary",onClick:()=>{N||"string"==typeof o?.uuid&&"string"==typeof w&&(j(!0),(0,c.Wz)(o.uuid,w).then(e=>{e&&(window.location.href=x)}).catch(e=>{console.error(e)}).finally(()=>{j(!1)}))},stretch:!0,className:"block text-center","data-cy":k?"cart-page-go-to-checkout":"cart-widget-go-to-checkout",disabled:y||v,children:(0,a.jsx)("span",{children:A("cart_widget.proceed_to_checkout")})})})]})}},45806:(e,t,r)=>{"use strict";r.d(t,{default:()=>f});var a=r(95155),n=r(12115),l=r(20063),s=r(47650),i=r(60613),o=r(24465),c=r(85932);r(17917);var d=r(57468),u=r(95719),m=r(9929);let h=["announcement_bar"],f=e=>{let{headerIsSticky:t}=e,r=(0,n.useRef)(!1),f=(0,n.useRef)(null),p=(0,n.useRef)(null),g=(0,n.useRef)(void 0),b=(0,n.useRef)((e,t)=>t),x=(0,n.useRef)({background:"",layout:"",image:""}),{activeComponent:v,activeSelectedSection:N,handleActivateComponent:w,highlightedComponent:y,isInspectionModeEnabled:j,handleHighlightComponent:A,inspectionUpdateTick:k,bannerParentDirective:_,pageSettings:E}=(0,u.m)(),[I,S]=(0,n.useState)([]),[C,L]=(0,n.useState)([]),[T,R]=(0,n.useState)([]),[H,P]=(0,n.useState)(""),O=(0,l.useSearchParams)().get("locale"),{t:$,isLoading:G,error:z}=(0,d.A)(O||"en-GB"),U=`${O||"en-GB"}:${G?"loading":"ready"}`;g.current=E,b.current=(e,t)=>(0,c.i)(e,t,$),x.current={background:$("sections.elements.background_color"),layout:$("sections.elements.layout"),image:$("sections.elements.image")};let B=(0,n.useCallback)((e,t)=>{A((0,i.gf)(t,e)),P(e)},[A]),D=(0,n.useCallback)(()=>{A(""),P("")},[A]),M=(0,n.useCallback)(e=>t=>{if(!(t instanceof MouseEvent))return;let r=t.relatedTarget;r instanceof Node&&e.contains(r)||D()},[D]),V=(0,n.useCallback)((e,t)=>Array.from(e,e=>({id:e.getAttribute(t)||"",label:b.current(e.getAttribute(t)||"",e.getAttribute("data-label")||""),rect:e.getBoundingClientRect(),isSectionGhost:(0,o.Dz)(e)})),[]),F=(0,n.useCallback)((e,t)=>{let r=[];return Array.from(e).forEach(e=>{let a=e.getAttribute(t);if(!a)return;let n=()=>B(a,e),l=M(e);e.addEventListener("mouseenter",n),e.addEventListener("mouseleave",l),r.push(()=>{e.removeEventListener("mouseenter",n),e.removeEventListener("mouseleave",l)})}),()=>{r.forEach(e=>{e()})}},[M,B]),q=(0,n.useCallback)(e=>[...(0,o.fp)(e),...Array.from(e.querySelectorAll("[data-field]")).filter(e=>!(0,o.Dz)(e))],[]),K=(e,t)=>{let r=(0,i.gH)(g.current);return r.length>0?(0,i.vq)(e,t,r):""!==e&&(e===t.componentName||e===t.selectedComponent||e===t.selectedSection||e===t.scrollSelector)},W=(0,n.useCallback)(e=>{if(!e)return null;let t=(0,i.gH)(g.current);if(t.length>0){let r=(0,i.JH)(e,t);if(r)return r}return(0,i.lG)().find(t=>{let r=t.getAttribute("data-component")||"",a=t.getAttribute("data-editor-selected-component")||"",n=t.getAttribute("data-editor-selected-section")||"",l=t.getAttribute("data-scroll-selector")||"",s=t.getAttribute("id")||"";return e===r||e===a||e===n||e===l||e===s})??null},[]);if((0,n.useEffect)(()=>{let e={childList:!0,subtree:!0},t=()=>{if(!r.current){r.current=!0,f.current?.disconnect();try{return(()=>
15{if(v||(p.current?.(),p.current=null),S((0,i.lG)().map(e=>({componentName:e.getAttribute("data-component")||"",scrollSelector:e.getAttribute("data-scroll-selector")||"",selectedComponent:e.getAttribute("data-editor-selected-component")||"",selectedSection:e.getAttribute("data-editor-selected-section")||"",rect:e.getBoundingClientRect()}))),v){let t=W(v);if(t){let r="banner"===(0,i.L6)(v),a=(0,i.PG)(v,N,_,t),n=r&&null!==a;if(t instanceof HTMLElement){p.current?.(),p.current=null;let e=(0,i.gH)(g.current),r=(0,i.eZ)(t,e,v),a=(0,i.Pz)(t,r);a&&(p.current=(0,o.r3)(t,a,x.current,{omitLayout:(r?.type??(0,i.FT)(t))==="banner",omitBackground:n}))}if(n){f.current?.disconnect();try{(0,i.IA)(t);let e=`${a}_`,r=t.querySelector(`[data-banner-slide-inspector="${a}"]`),n=r?.querySelector(o.lr)??null,l=Array.from(t.querySelectorAll("[data-field]")).filter(t=>(t.getAttribute("data-field")||"").startsWith(e)),s=n?l.filter(e=>e!==n):l,{augmented:c,cleanupImageHits:d}=(0,i.xC)(s),u=r instanceof HTMLElement?(0,o.XY)(r,n,`${a}_image`,x.current.image):null,m=[...(0,o.fp)(t),...c,...u?[u]:[]];L(V(m,"data-field"));let h=F(m,"data-field");return()=>{h(),d(),(0,o.ps)(t),p.current?.(),p.current=null}}finally{f.current?.observe(document.body,e)}}if(r){let e=(0,o.fp)(t),r=t.querySelectorAll("[data-banner-slide-inspector]");L([...V(e,"data-field"),...V(r,"data-banner-slide-inspector")]);let a=F(e,"data-field"),n=F(r,"data-banner-slide-inspector");return()=>{n(),a(),p.current?.(),p.current=null}}let l=q(t);L(V(l,"data-field"));let s=F(l,"data-field");return()=>{s(),p.current?.(),p.current=null}}L([])}return()=>{}})()}finally{r.current=!1,f.current?.observe(document.body,e)}}},a=new MutationObserver(t);f.current=a,a.observe(document.body,e),window.addEventListener("resize",t),window.addEventListener("scroll",t);let n=t();return()=>{a.disconnect(),f.current=null,window.removeEventListener("resize",t),window.removeEventListener("scroll",t),p.current?.(),p.current=null,n?.()}},[v,N,_,V,q,W,k,F,U]),(0,n.useEffect)(()=>{let e=()=>{let e=document.querySelectorAll("[data-page-field]");return R(V(e,"data-page-field")),F(e,"data-page-field")},t=new MutationObserver(e);t.observe(document.body,{childList:!0,subtree:!0}),window.addEventListener("resize",e),window.addEventListener("scroll",e);let r=e();return()=>{t.disconnect(),window.removeEventListener("resize",e),window.removeEventListener("scroll",e),r?.()}},[V,k,F,U]),(0,n.useEffect)(()=>{if(!j)return()=>{};let e=(0,i.lG)().map(e=>{let t=e.getAttribute("data-component")||"",r=e.getAttribute("data-editor-selected-component")||t;if(!r)return()=>{};let a=()=>A(r),n=()=>A("");return e.addEventListener("mouseenter",a),e.addEventListener("mouseleave",n),()=>{e.removeEventListener("mouseenter",a),e.removeEventListener("mouseleave",n)}});return()=>{e.forEach(e=>e())}},[A,k,j]),G||z||!j)return null;let Y=v?I.find(e=>K(v,e)):null,Z=e=>{let{id:t,rect:r,label:n,isSectionGhost:l}=e,s=H===t;return(0,a.jsx)("div",{className:(0,m.cn)("field-frame absolute border pointer-events-none border-black bg-[#3063E90C] text-white p-1 transition-opacity min-h-[28px] rounded-tr-[8px] rounded-bl-[8px] rounded-br-[8px]",{"rounded-tl-[8px]":!n,"opacity-100":s,"opacity-0 -z-10":!s,"z-[24]":s&&l,"z-[25]":s&&!l}),style:{top:`${r.top+window.scrollY}px`,left:`${r.left+window.scrollX}px`,width:`${r.width}px`,height:`${r.height}px`},children:n&&(0,a.jsx)("span",{className:"editor-section-preview-label",children:n})})};return(0,a.jsxs)(a.Fragment,{children:[I.map(e=>{let{componentName:r,selectedComponent:n,selectedSection:l,scrollSelector:o,rect:c}=e;return K(v,{componentName:r,selectedComponent:n,selectedSection:l,scrollSelector:o,rect:c})?null:(0,s.createPortal)((0,a.jsx)("button",{type:"button",id:r,className:(0,m.cn)("absolute z-[21] border border-black bg-[#3063E90C] text-white p-2 opacity-0 hover:opacity-100 transition-opacity cursor-pointer",{"opacity-100":y===r||y===n,"z-[22]":t&&"header"===r}),style:{top:`${c.top+window.scrollY}px`,left:`${c.left+window.scrollX}px`,width:`${c.width}px`,height:`${c.height}px`},onClick:()=>w((e=>e.selectedComponent||e.componentName)({componentName:r,selectedComponent:n,selectedSection:l,scrollSelector:o,rect:c}),(e=>e.selectedSection||e.scrollSelector||e.componentName)({componentName:r,selectedComponent:n,selectedSection:l,scrollSelector:o,rect:c})),onMouseEnter:()=>A((e=>e.selectedComponent||e.componentName)({componentName:r,selectedComponent:n,selectedSection:l,scrollSelector:o,rect:c})),onMouseLeave:()=>A(""),children:(0,a.jsx)("div",{children:(0,a.jsx)("span",{className:"editor-section-preview-label",children:(e=>{let t=(e=>(0,i.L6)(h.includes(e.componentName)?e.componentName:e.selectedComponent||e.componentName))(e),r=`sections.${t}`,a=$(r);
15return a===r?t:a})({componentName:r,selectedComponent:n,selectedSection:l,scrollSelector:o,rect:c})})})},r),document.body)}),Y&&(0,s.createPortal)((0,a.jsx)("div",{className:"absolute z-[23] inset-0 border-2 border-black pointer-events-none",style:{top:`${Y.rect.top+window.scrollY}px`,left:`${Y.rect.left+window.scrollX}px`,width:`${Y.rect.width}px`,height:`${Y.rect.height}px`,pointerEvents:"none"}},v),document.body),v&&C.map((e,t)=>(0,a.jsx)(n.Fragment,{children:(0,s.createPortal)(Z(e),document.body)},`inspection-field-${e.id}-${t}`)),T.map((e,t)=>(0,a.jsx)(n.Fragment,{children:(0,s.createPortal)(Z(e),document.body)},`inspection-page-field-${e.id}-${t}`))]})}},46396:(e,t,r)=>{"use strict";r.d(t,{default:()=>b});var a=r(95155),n=r(95604),l=r(52619),s=r.n(l),i=r(83161),o=r(12115),c=r(96815),d=r(73379),u=r(75538),m=r(66629),h=r(27599),f=r(9929);let p=o.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)(h.bL,{className:(0,f.cn)("peer inline-flex h-5 w-7 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-neutral-300 focus-visible:ring-offset-2 focus-visible:ring-offset-white disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-neutral-300 data-[state=unchecked]:bg-neutral-300",r),...n,ref:t,children:(0,a.jsx)(h.zi,{className:(0,f.cn)("pointer-events-none block h-4 w-4 rounded-full bg-white shadow-[0_2px_2px_-0_rgba(0,0,0,0.4)] shadow-black/40 transition-transform data-[state=checked]:translate-x-[18px] data-[state=unchecked]:translate-x-[2px]")})})});p.displayName=h.bL.displayName;var g=r(26687);function b(e){let{cookiePolicyLink:t}=e,r=(0,n.useTranslations)(),{displayCookieSettings:l,setDisplayCookieSettings:h,setDisplayCookieBanner:f,saveConsent:b,performanceCookies:x}=(0,g.useConsent)(),[v,N]=(0,o.useState)(x),w=e=>{h(!1),f(!1),N(e),b({performance_cookies:e})};return(0,o.useEffect)(()=>{N(x)},[x]),(0,a.jsx)(i._s.Root,{open:l,onOpenChange:h,dismissible:!1,children:(0,a.jsx)(i._s.Portal,{children:(0,a.jsxs)(i._s.Content,{className:"bg-gray-100 h-fit fixed bottom-0 left-0 right-0 outline-none z-[2]",children:[(0,a.jsx)(i._s.Title,{className:"hidden",children:r("cookie_banner.cookie_preferences_title")}),(0,a.jsx)(i._s.Description,{className:"hidden",children:r.rich("cookie_banner.cookie_preferences_description",{cookie_policy_link:e=>(0,a.jsx)(s(),{href:t,target:"_blank",className:"font-bold underline",children:e})})}),(0,a.jsx)("div",{className:"w-full bg-white py-5 md:py-7 border-t border-gray-200 overflow-y-auto landscape:max-md:h-screen text-black","data-selector":"cookie-settings",children:(0,a.jsxs)(d.A,{className:"grid grid-cols-12 gap-5 md:gap-5",children:[(0,a.jsxs)("div",{className:"cookie-banner-description col-span-full xl:col-span-4 sm:mb-5 md:mb-0","data-selector":"cookie-banner-description",children:[(0,a.jsx)(u.A,{as:"h3",size:"6","data-selector":"cookie-settings-description-header",className:"mb-[20px] md:mb-4 font-default font-bold",children:r("cookie_banner.cookie_preferences_title")}),(0,a.jsx)(m.E,{"data-selector":"cookie-banner-description-content",as:"p",size:"xs",className:"font-default",children:r.rich("cookie_banner.cookie_preferences_description",{cookie_policy_link:e=>(0,a.jsx)(s(),{href:t,target:"_blank",className:"font-bold underline font-default",children:e})})})]}),(0,a.jsxs)("div",{className:"col-span-full xl:col-span-8","data-selector":"cookie-banner-actions",children:[(0,a.jsx)(m.E,{as:"h3",size:"md","data-selector":"cookie-banner-description-header",className:"mb-3 md:mb-2 font-bold font-default",children:r("cookie_banner.performance_cookies_title")}),(0,a.jsx)(m.E,{as:"p",size:"xs","data-selector":"cookie-banner-description-header",className:"mb-4 font-default",children:r("cookie_banner.performance_cookies_description")}),(0,a.jsxs)("div",{className:"mb-5 md:mb-4 flex items-center",children:[(0,a.jsx)(p,{id:"performance_cookie",checked:v,onCheckedChange:e=>N(e)}),(0,a.jsx)("label",{htmlFor:"performance_cookie",className:"text-md ml-2.5 font-default",children:r(v?"co
15okie_banner.on_switch":"cookie_banner.off_switch")})]}),(0,a.jsxs)("div",{className:"cookie-banner-actions md:h-auto md:flex items-center md:gap-5 md:flex-row-reverse",children:[(0,a.jsx)(c.$,{variant:"black",stretch:!0,"data-selector":"cookie-banner-accept-button",type:"submit",className:"cookie-banner-accept-button mb-4 md:mb-0 flex md:w-auto md:min-w-[220px] font-default font-bold",onClick:()=>w(!0),children:(0,a.jsx)("span",{"data-selector":"cookie-banner-accept-button-text",children:r("cookie_banner.accept_all_button")})}),(0,a.jsx)(c.$,{variant:"white",stretch:!0,"data-selector":"cookie-settings-save-button",type:"submit",className:"cookie-banner-settings-button flex md:w-auto md:min-w-[220px] font-default font-bold",id:"cookie-banner-settings-button",onClick:()=>w(v),children:(0,a.jsx)("span",{"data-selector":"cookie-banner-settings-button-text",children:r("cookie_banner.save_settings_button")})})]})]})]})})]})})})}},54439:(e,t,r)=>{Promise.resolve().then(r.bind(r,65084)),Promise.resolve().then(r.t.bind(r,52619,23)),Promise.resolve().then(r.t.bind(r,81356,23)),Promise.resolve().then(r.bind(r,24437)),Promise.resolve().then(r.bind(r,14171)),Promise.resolve().then(r.t.bind(r,73569,23)),Promise.resolve().then(r.bind(r,36394)),Promise.resolve().then(r.bind(r,43876)),Promise.resolve().then(r.bind(r,10048)),Promise.resolve().then(r.bind(r,60582)),Promise.resolve().then(r.bind(r,46396)),Promise.resolve().then(r.bind(r,80961)),Promise.resolve().then(r.bind(r,6781)),Promise.resolve().then(r.bind(r,5733)),Promise.resolve().then(r.bind(r,4909)),Promise.resolve().then(r.bind(r,66895)),Promise.resolve().then(r.bind(r,83369)),Promise.resolve().then(r.bind(r,89527)),Promise.resolve().then(r.bind(r,8616)),Promise.resolve().then(r.bind(r,93711)),Promise.resolve().then(r.bind(r,68604)),Promise.resolve().then(r.bind(r,25836)),Promise.resolve().then(r.bind(r,71074)),Promise.resolve().then(r.bind(r,45806)),Promise.resolve().then(r.bind(r,38614)),Promise.resolve().then(r.bind(r,31599)),Promise.resolve().then(r.bind(r,90510)),Promise.resolve().then(r.bind(r,18679)),Promise.resolve().then(r.bind(r,26687)),Promise.resolve().then(r.bind(r,99287)),Promise.resolve().then(r.bind(r,58546)),Promise.resolve().then(r.bind(r,19825)),Promise.resolve().then(r.bind(r,32462)),Promise.resolve().then(r.bind(r,65943))},57744:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(95155),n=r(95604),l=r(49692),s=r(66629),i=r(9929);let o=function(e){let{className:t,...r}=e,o=(0,n.useTranslations)();return(0,a.jsxs)("div",{id:"itemSoldOutNotification","data-selector":"soldout-notification",className:(0,i.cn)("flex flex-col items-center justify-center text-center py-5 mx-4",t),...r,children:[(0,a.jsx)(l.A,{icon:"exclamation",className:"text-warning"}),(0,a.jsx)(s.E,{size:"md",align:"center",weight:"bold",className:"body-2-bold mt-2 mb-1 leading-[120%]",children:o("cart_widget.sold_out_heading")}),(0,a.jsx)(s.E,{size:"md",align:"center",className:"body-2-regular leading-[120%]",children:o("cart_widget.sold_out_description")})]})}},58546:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GoogleAnalyticsProvider:()=>h,useGoogleAnalytics:()=>m});var a=r(95155),n=r(12115),l=r(68321),s=r(40246),i=r(59038),o=r(69547),c=r(53961);let d=["page_view","view_cart","add_to_cart"],u=(0,n.createContext)(void 0),m=()=>{let e=(0,n.useContext)(u);if(void 0===e)throw Error("useGoogleAnalytics must be used within a GoogleAnalyticsProvider");return e},h=e=>{let{children:t,merchantGtm:r,gtmTrackingEnabled:m,controller:h,merchantCode:f,shopUuid:p}
15=e,[g,b]=(0,n.useState)(!1),[x,v]=(0,n.useState)(!1),N=(0,s.sha256)(f),w=e=>{if(!(0,c.B)()||!window.customerDataLayer)return;let t=["is_consent_update","transaction_id"],{event:r}=e;if(!d.includes(r))return;let a=JSON.parse(JSON.stringify(e));Object.keys(a).forEach(e=>{t.includes(e)&&delete a[e]}),window.customerDataLayer.push(a)};return((0,n.useEffect)(()=>{let e,t;if(!m&&!r&&!g&&(!(0,c.B)()||!window.dataLayer))return;let a="undefined"!=typeof AbortController;a&&(t=(e=new AbortController).signal);let n=e=>{m&&(0,c.B)()&&window.dataLayer&&window.dataLayer.push(e.detail),r&&w(e.detail)};return(0,i.q2)("analytics-initialize",e=>{(0,o.g)(e,()=>{window.dataLayer=window.dataLayer||[];let{detail:l}=e,s={event:"page_view",content_group:h,page_title:(0,c.B)()?window.document.title:"",page_location:(0,c.B)()?window.location.href:"",clean_path:(0,c.B)()?window.location.pathname:"",is_consent_update:l.performanceCookies};m&&(0,c.B)()&&window.dataLayer.push(s),r&&w(s),v(!0),(0,i.q2)("track-google-event",n,a&&t?{signal:t}:void 0)})},a&&t?{signal:t}:void 0),()=>{a&&e&&e.abort()}},[m,r,g,h]),m||r)?(0,a.jsx)(u.Provider,{value:{analyticsLoaded:x},children:(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(l.default,{id:"gtm-config",dangerouslySetInnerHTML:{__html:` 16 ${m||r?` 17 window.dataLayer = window.dataLayer || []; 18 function gtag() { window.dataLayer.push(arguments); }`:""} 19 20 ${m?` 21 // Push merchant & shop data to dataLayer (never customerDataLayer) 22 // before gtm.js loads, so it's available to every trigger type, 23 // including ones that fire on container init (e.g. first_visit). 24 window.dataLayer.push({ 25 merchant_code: ${JSON.stringify(N)}, 26 shop_uuid: ${JSON.stringify(p)}, 27 }); 28 (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 29 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 30 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
31 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 32 })(window,document,'script','dataLayer','${i.pi}'); 33 `:""} 34 35 ${r?` 36 (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 37 new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 38 j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 39 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 40 })(window,document,'script','customerDataLayer','${r}'); 41 `:""} 42 `},onLoad:()=>b(!0)}),m&&(0,a.jsx)("noscript",{children:(0,a.jsx)("iframe",{src:`https://www.googletagmanager.com/ns.html?id=${i.pi}`,height:"0",width:"0",style:{display:"none",visibility:"hidden"}})}),r&&(0,a.jsx)("noscript",{children:(0,a.jsx)("iframe",{src:`https://www.googletagmanager.com/ns.html?id=${r}`,height:"0",width:"0",style:{display:"none",visibility:"hidden"}})}),t]})}):(0,a.jsx)(u.Provider,{value:{analyticsLoaded:x},children:t})}},60582:(e,t,r)=>{"use strict";r.d(t,{default:()=>h});var a=r(95155),n=r(95604),l=r(52619),s=r.n(l),i=r(83161),o=r(96815),c=r(73379),d=r(75538),u=r(66629),m=r(26687);function h(e){let{cookiePolicyLink:t}=e,r=(0,n.useTranslations)(),{displayCookieBanner:l,setDisplayCookieBanner:h,setDisplayCookieSettings:f,saveConsent:p}=(0,m.useConsent)();return(0,a.jsx)(i._s.Root,{open:l,onOpenChange:h,dismissible:!1,children:(0,a.jsx)(i._s.Portal,{children:(0,a.jsxs)(i._s.Content,{className:"bg-gray-100 fixed !bottom-0 !h-fit left-0 right-0 outline-none z-[2]",children:[(0,a.jsx)(i._s.Title,{className:"hidden",children:r("cookie_banner.title")}),(0,a.jsx)(i._s.Description,{className:"hidden",children:r.rich("cookie_banner.description",{cookie_policy_link:e=>(0,a.jsx)(s(),{href:t,target:"_blank",className:"font-bold underline",children:e})})}),(0,a.jsx)("div",{className:"w-full bg-white bottom-0 left-0 z-50 py-5 md:py-7 border-t border-gray-200 overflow-y-auto landscape:max-md:max-h-screen text-black","data-selector":"cookie-banner",children:(0,a.jsxs)(c.A,{className:"grid grid-cols-12 gap-5 md:gap-4",children:[(0,a.jsxs)("div",{className:"cookie-banner-description col-span-full md:col-span-7 md:mb-0","data-selector":"cookie-banner-description",children:[(0,a.jsx)(d.A,{as:"h3",size:"6","data-selector":"cookie-settings-description-header",className:"mb-[20px] md:mb-5 font-default font-bold",children:r("cookie_banner.title")}),(0,a.jsx)(u.E,{"data-selector":"cookie-banner-description-content",as:"p",size:"xs",className:"font-default",children:r.rich("cookie_banner.description",{cookie_policy_link:e=>(0,a.jsx)(s(),{href:t,target:"_blank",className:"font-bold underline font-default",children:e})})})]}),(0,a.jsx)("div",{className:"col-span-full md:col-span-5 lg:mt-4 flex items-center","data-selector":"cookie-banner-actions",children:(0,a.jsxs)("div",{className:"cookie-banner-actions w-full md:flex xl:items-center md:flex-col md:justify-center md:gap-4 xl:gap-5 xl:flex-row-reverse",children:[(0,a.jsx)(o.$,{variant:"black",stretch:!0,"data-selector":"cookie-banner-accept-button",type:"submit",className:"cookie-banner-accept-button mb-4 md:mb-0 flex font-default font-bold",onClick:()=>{h(!1),p({performance_cookies:!0})},children:(0,a.jsx)("span",{"data-selector":"cookie-banner-accept-button-text",children:r("cookie_banner.accept_all_button")})}),(0,a.jsx)(o.$,{variant:"white",stretch:!0,"data-selector":"cookie-banner-settings-button",type:"submit",className:"cookie-banner-settings-button flex font-default font-bold",id:"cookie-banner-settings-button",onClick:()=>{h(!1),f(!0)},children:(0,a.jsx)("span",{"data-selector":"cookie-banner-settings-button-text",children:r("cookie_banner.cookie_settings_button")})})]})})]})})]})})})}},62002:(e,t,r)=>{"use strict";r.d(t,{i:()=>s,w:()=>l});var a=r(41516);let n=()=>{try{if(null==window.localStorage)return null;return window.localStorage}catch{return null}},l=()=>{let e=n();if(!e)return null;let t=e.getItem(a.Cu);return t?JSON.parse(t):null},s=e=>{let t=n();if(!t)return;let r=[];t.getItem(a.Cu)?((r=JSON.parse(t.getItem(a.Cu))).length<a.hF||r.pop(),r.unshift(e)):r.push(e),t.setItem(a.Cu,JSON.stringify(r))}},65401:(e,t,r)=>{"use strict";r.d(t,{mr:()=>l}),r(41897),r(87358);var a=r(65727),n=r.n(a);function l(e,t,r){try{let a=new URL(e);return a.searchParams.set("theme_draft",t),a.searchParams.set("locale",r),a.toString()}catch{let a=e.startsWith("?")?e.slice(1):e,n=new Map;
42a.split("&").forEach(e=>{let[t,r]=e.split("=");t&&n.set(t,r||"")}),n.set("theme_draft",t),n.set("locale",r);let l=Array.from(n.entries()).map(e=>{let[t,r]=e;return`${encodeURIComponent(t)}=${encodeURIComponent(r)}`}).join("&");return`?${l}`}}n()({level:"debug",redact:["headers.cookie","headers.authorization"],timestamp:n().stdTimeFunctions.isoTime,formatters:{level:e=>({level:e}),bindings:e=>e,log:e=>({...e})}})},66608:(e,t,r)=>{"use strict";r.d(t,{a:()=>a});let a=e=>{if(!e)return"";let t=e.trim();if(!t)return"";try{return new URL(t).pathname}catch{if(t.startsWith("/"))return t;if(t.match(/^https?:\/\//))return"";return`/${t}`}}},66895:(e,t,r)=>{"use strict";r.d(t,{default:()=>h});var a=r(95155),n=r(12115),l=r(41516),s=r(67821),i=r(9929),o=r(76992);let c=function(e){let{settings:t,menu:r,actions:n,menuPosition:l,isSearchVisible:s,layoutKey:c}=e,{background:d}=t.properties.styles,u={left:{cols:"grid-cols-[1fr_auto]",areas:"menu icons"},right:{cols:"grid-cols-[1fr_auto]",areas:"menu icons"},center:{cols:"grid-cols-[1fr_auto_1fr]",areas:". menu icons"}};return(0,a.jsxs)("div",{className:(0,i.cn)(s?"flex":"grid","w-full items-center xl:gap-x-5",s?"grid-cols-[1fr]":u[l].cols),style:{gridTemplateAreas:`"${u[l].areas}"`},children:[(0,a.jsx)(o.A,{bgColorEnabled:d.visible,children:(0,a.jsx)("div",{style:{gridArea:"menu"},className:(0,i.cn)({"lg:max-w-[282px] xl:max-w-[426px]":c.includes("layout_3")&&(t.properties.header.logo.visible||t.properties.header.headerName.visible)}),children:r})}),(0,a.jsx)("div",{style:{gridArea:"icons"},className:"flex-none w-auto actions-col ml-5 xl:ml-0",children:n})]})};var d=r(32462),u=r(53961);let m={VISIBLE:"elements-visible",HIDDEN:"elements-hidden"};function h(e){let{settings:t,menu:r,actions:o,children:h,menuPosition:f,layoutKey:p,mobileMenu:g}=e,{isVisible:b}
42=(0,d.S)(),[x,v]=(0,n.useState)(m.VISIBLE),{scrollType:N}=t.properties.header;return((0,n.useEffect)(()=>{let e=document.getElementById(l.su),t=document.getElementById("announcementBar");if(e&&(0,u.B)())return window.addEventListener("scroll",r),()=>{window.removeEventListener("scroll",r)};function r(){let r=e?.offsetHeight,a=t?t.offsetHeight:0;r&&N===s.C.STICKY_COMPACT&&(window.scrollY-a>r?v(m.HIDDEN):v(m.VISIBLE))}},[N]),x===m.VISIBLE)?h:(0,a.jsxs)("div",{className:(0,i.cn)("flex w-full h-full items-center"),children:[g,(0,a.jsx)(c,{menu:r,settings:t,actions:o,menuPosition:f,layoutKey:p,isSearchVisible:b})]})}},67821:(e,t,r)=>{"use strict";r.d(t,{C:()=>a});let a={SCROLL:"scroll",STICKY_FULL:"sticky_full",STICKY_COMPACT:"sticky_compact"}},68604:(e,t,r)=>{"use strict";r.d(t,{default:()=>I});var a=r(95155);r(12115);var n=r(95719),l=r(41516),s=r(15239),i=r(9929),o=r(85932);let c=e=>{let{homePageLink:t,storeName:r,menuPosition:n="center",isMenuVisible:l}=e;return r.visible?(0,a.jsx)("div",{className:(0,i.cn)("header-store-name max-w-[220px] min-h-[44px] lg:max-w-full store-name items-center justify-start text-left flex py-[10px]",{"lg:justify-start lg:text-left":"left"===n,"lg:justify-center lg:text-center":"center"===n,"lg:justify-end lg:text-right":"right"===n,"pl-[10px] lg:pl-0":!l}),"data-selector":"os-theme-header-store-name","data-editor-name":"store_name","data-field":"company_name_heading","data-label":o.R.storeName,children:(0,a.jsx)("a",{href:t,className:"store-name-link font-bold text-base text-link leading-[120%] transition-opacity hover:text-[rgb(var(--font-color-base))]",title:r.content,"data-link-type":"home",children:(0,a.jsx)("span",{className:"word-break",children:r.content})})}):null},d=e=>{let{logo:t,src:r,linkToHomepage:n,headerName:l,isVisuallyHidden:d,alignment:u="left",storeNameInline:m=!1,isMenuVisible:h}=e,{image:{alt:f,uuid:p},size:g,visible:b}=t;return(0,a.jsxs)("div",{className:(0,i.cn)("flex flex-nowrap items-start flex-col justify-center max-w-full h-full lg:max-w-full lg:max-h-full",{"lg:items-start":"left"===u,"lg:items-center":"center"===u,"lg:items-end":"right"===u},{"flex-row items-center lg:items-center gap-4":m}),"data-selector":"os-theme-header-logo-wrapper",children:[b&&r&&p&&(0,a.jsx)("a",{id:"headerLogo",href:n,title:l.content,"data-field":"header_logo_headline","data-label":o.R.logo,className:(0,i.cn)({"ml-[8px] lg:ml-0":!h}),children:(0,a.jsx)("div",{className:"p-0 flex items-center justify-center lg:max-w-[300px] lg:max-h-full",children:(0,a.jsx)(s.default,{id:"headerLogoImage",src:r,alt:f||"store_logo",width:g,height:0,style:{width:`${g}px`},className:(0,i.cn)(`block w-auto h-auto max-h-full max-w-full lg:max-w-none lg:min-w-[${g}px]`),"data-selector":"os-theme-header-logo"})})}),!d&&l.visible&&(0,a.jsx)("div",{className:(0,i.cn)("max-w-[220px] lg:max-w-[300px] hidden lg:block",{"text-left":"left"===u,"text-center":"center"===u,"text-right":"right"===u},{block:!b}),children:(0,a.jsx)(c,{homePageLink:n,storeName:l,isMenuVisible:h})})]})},u=r(4909).default,m=r(80961).default,h=e=>{let{menuItems:t,menuPosition:r="center"}=e;return(0,a.jsx)("nav",{className:"hidden lg:block relative","aria-label":"Main navigation","data-selector":"os-theme-header-navigation","data-field":"header_menu","data-label":o.R.menu,children:(0,a.jsx)("ul",{className:(0,i.cn)("flex flex-wrap gap-x-5",{"justify-start":"left"===r,"justify-center":"center"===r,"justify-end":"right"===r}),children:t.map(e=>(0,a.jsx)(m,{item:e,level:0},e.uuid))})})},f=r(83369).default;var p=r(76992);let g=e=>{let t=e.includes("layout_1"),r=e.includes("logo_center"),a=e.includes("menu_center"),n=e.includes("menu_right"),l=e.includes("two_lines"),s="left";a&&(s="center"),n&&(s="right");let i="left";return r&&(i="center"),{logoPosition:i,menuPosition:s,isTwoLine:l,isLayout1:t,isLogoCenter:r}},b=e=>{let{logo:t,menu:r,storeName:n,actions:l,generalSettings:s}=e,{logoPosition:o,menuPosition:c}=g(s.properties.header.layout),d=""!==s.properties.header.logo.image.uuid&&s.properties.header.logo.visible,u=s.properties.header.searchBar.isEnabled||s.properties.shoppingCart.isEnabled;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(p.A,{bgColorEnabled:s.properties.styles.background.visible,children:[(0,a.jsx)("div",{className:(0,i.cn)("w-auto logo-column ",{"text-left":"left"===o,"text-center":"center"===o,"text-right":"right"===o,"lg:hidden":"left"
42===c&&!d,"lg:flex-1 lg:shrink-1 lg:basis-0":!d&&"center"===c,"lg:grow lg:shrink lg:basis-0":"center"===c&&s.properties.header.menu.visible}),children:t}),(0,a.jsx)("div",{className:(0,i.cn)("menu-column w-auto lg:px-5 flex-auto",{"lg:pl-0":!d&&("left"===c||"right"===c),"lg:pr-0":!u&&"right"===c}),children:(0,a.jsxs)("div",{className:(0,i.cn)("center-column",{"lg:align-left lg:pl-2":"left"===c,"lg:pl-0":"left"===c&&!d,"lg:align-center":"center"===c,"lg:align-right lg:pr-2":"right"===c}),children:[(0,a.jsx)("div",{className:(0,i.cn)("hidden lg:block",{block:!d}),children:n}),r]})})]}),(0,a.jsx)("div",{className:(0,i.cn)("flex-none pl-4 w-auto actions-col ml-auto lg:pl-0 lg:flex-auto lg:max-w-[88px]",{"lg:flex-auto lg:basis-0 lg:max-w-full":"center"===c,"lg:invisible lg:pointer-events-none":!u}),children:l})]})},x=e=>{let{logo:t,menu:r,actions:n,generalSettings:l}=e,{logoPosition:s,menuPosition:o}=g(l.properties.header.layout);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(p.A,{bgColorEnabled:l.properties.styles.background.visible,children:[(0,a.jsx)("div",{className:(0,i.cn)("w-auto logo-column",{"text-left":"left"===s,"text-center":"center"===s,"text-right":"right"===s,"lg:grow lg:shrink lg:basis-0":"center"===o&&l.properties.header.menu.visible}),children:t}),(0,a.jsx)("div",{className:"menu-colum lg:px-5 lg:flex-grow-[4] lg:shrink lg:basis-0",children:(0,a.jsx)("div",{className:(0,i.cn)("center-column",{"align-left lg:pl-2":"left"===o,"align-center":"center"===o,"align-right lg:pr-2":"right"===o}),children:r})})]}),(0,a.jsx)("div",{className:(0,i.cn)("flex-none w-auto pl-4 lg:pl-0 actions-col ml-auto",{"lg:grow lg:shrink lg:basis-0":"center"===o&&l.properties.header.menu.visible}),children:n})]})},v=e=>{let{logo:t,menu:r,actions:n,generalSettings:l}=e,{logoPosition:s,menuPosition:o}=g(l.properties.header.layout);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(p.A,{bgColorEnabled:l.properties.styles.background.visible,children:[(0,a.jsx)("div",{className:(0,i.cn)("menu-column flex-auto hidden lg:block",{"lg:max-w-[282px] xl:max-w-[426px]":l.properties.header.logo.visible||l.properties.header.headerName.visible}),children:l.properties.header.menu.visible&&(0,a.jsx)("div",{className:(0,i.cn)("center-column",{"align-left":"left"===o,"align-center":"center"===o,"align-right":"right"===o}),children:r})}),(0,a.jsx)("div",{className:(0,i.cn)("logo-column flex grow shrink-0 basis-0 justify-start lg:justify-center items-center lg:max-w-[300px] text-center",{"text-left":"left"===s,"text-center":"center"===s,"text-right":"right"===s,"lg:ml-5":l.properties.header.menu.visible}),children:t})]}),(0,a.jsx)("div",{className:"ml-auto actions-col pl-4 lg:pl-0 max-w-[120px]",children:n})]})},N=e=>{let{logo:t,menu:r,actions:n,generalSettings:l}=e,{logoPosition:s,menuPosition:o}=g(l.properties.header.layout);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"flex items-center justify-between w-full lg:gap-x-5 relative",children:[(0,a.jsx)(p.A,{bgColorEnabled:l.properties.styles.background.visible,children:(l.properties.header.logo.visible||l.properties.header.headerName.visible)&&(0,a.jsx)("div",{className:(0,i.cn)("lg:flex-none w-auto logo-column",{"align-left":"left"===s,"align-center lg:w-full":"center"===s,"text-left":"left"===s,"text-center":"center"===s,"text-right":"right"===s}),children:t})}),(0,a.jsx)("div",{id:"layout_4_name_with_logo_logo_center_menu_center_two_lines"===l.properties.header.layout?"headerActionsWrapper":void 0,className:(0,i.cn)("flex-none pl-4 lg:pl-0 w-auto actions-col ml-auto",{"lg:absolute lg:right-0 lg:top-1/2 lg:-translate-y-1/2":"center"===s&&(l.properties.header.logo.visible||l.properties.header.headerName.visible)}),children:n})]}),l.properties.header.menu.visible&&(0,a.jsx)("div",{id:"desktopMenuWrapper",className:"w-full hidden lg:block mt-4",children:(0,a.jsx)("div",{className:(0,i.cn)("menu-column w-full",{"flex justify-start":"left"===o,"flex justify-center":"center"===o,"flex justify-end":"right"===o}),children:(0,a.jsx)("div",{className:(0,i.cn)("center-column",{"align-left":"left"===o,"align-center":"center"===o,"align-right":"right"===o}),children:r})})})]})};var w=r(73379),y=r(32462),j=r(67821);let A=r(66895).default,k=r(5733).default,_=e=>{let{generalSettings:t,storeLogoAsset:r,homePageLink:n,searchPageLink:s,headerMenuWithLinks:o,cartPageLink:m,isDefaultVisible:p,controller:_}=e,E=t.properties.header,I=E.layout,S=(e=>{let{generalSettings:t,storeLogoAsset:r,homePageLink:a}=e,{layout:n}=t.properties.header;return{logo:t.properties.header.logo,src:r?r.url.th640:"",isVisuallyHidden:n.includes("layout_1"),linkToHomepage:a,headerName:t.properties.header.headerName,alignment:n.includes("logo_center")||n.includes("layout_2")?"center":"left",storeNameInline:n.includes("layout_4")&&!n.includes("logo_center"),isMenuVisible:t.properties.header.menu.visible}})({generalSettings:t,storeLogoAsset:r,homePageLink:n}),{menuPosition:C,isTwoLine:L,isLayout1:T}=g(I),R=(0,a.jsx)(d,{...S}),H=t.properties.header.menu.visible?(0,a.jsx)(h,{menuItems:o,menuPosition:C}):null,P=T?(0,a.jsx)(c,{homePageLink:n,storeName:E.headerName,menuPosition:C,isMenuVisible:t.properties.header.menu.visible}):null,O=(0,a.jsxs)("div",{className:"flex h-full items-center justify-end",children:[E.searchBar.isEnabled&&"cart"!==_&&(0,a.jsx)(f,{}),t.properties.shoppingCart.isEnabled&&(0,a.jsx)(k,{cartType:t.properties.shoppingCart.dis
42play,cartPageLink:m})]}),$=E.menu.visible?(0,a.jsx)(u,{menuItems:o}):null,G={logo:R,menu:H,actions:O,generalSettings:t},z=T?{...G,storeName:P}:G;return(0,a.jsx)(y.default,{link:s,isDefaultVisible:p,children:(0,a.jsx)("header",{"data-selector":"os-theme-header",id:"os-theme-header",className:(0,i.cn)("w-full border-solid border-0 border-b border-fontColorMidLight px-[10px] py-[10px] lg:px-[20px] lg:py-[20px] relative",t.properties.styles.background.visible?"bg-decoration text-decorationFont":"bg-white",(e=>{if(e===j.C.STICKY_FULL||e===j.C.STICKY_COMPACT)return"sticky top-0 z-10"})(E.scrollType)),"data-component":"header","data-editor-selected-component":"header","data-editor-selected-section":"header_settings",children:(0,a.jsx)(w.A,{id:l.su,className:(0,i.cn)("min-h-[44px] relative px-0",I),children:(0,a.jsx)(A,{menu:H,menuPosition:C,settings:t,actions:O,layoutKey:I,mobileMenu:$,children:(0,a.jsxs)("div",{className:(0,i.cn)("flex w-full h-full items-center flex-nowrap",L&&"lg:flex-col"),children:[$,((e,t)=>e.includes("layout_1")?(0,a.jsx)(b,{...t}):e.includes("layout_2")?(0,a.jsx)(x,{...t}):e.includes("layout_3")?(0,a.jsx)(v,{...t}):e.includes("layout_4")?(0,a.jsx)(N,{...t}):(0,a.jsx)(b,{...t}))(I,z)]})})})})})};var E=r(27596);let I=e=>{let{storeLogoAsset:t,cartPageLink:r,homePageLink:l,searchPageLink:s,headerMenuWithLinks:i,isSearchDefaultVisible:o,controller:c}=e,{generalSettings:d,editorLiveAssetPatches:u}=(0,n.m)(),m=(0,E.e)(i,"header"),h=d.properties.header.logo.image.uuid,f=h?u[h]:void 0,p=t?.uuid===h?t:void 0;return(0,a.jsx)(_,{generalSettings:d,storeLogoAsset:f??p,homePageLink:l,searchPageLink:s,cartPageLink:r,headerMenuWithLinks:m,isDefaultVisible:o,controller:c})}},69547:(e,t,r)=>{"use strict";r.d(t,{g:()=>n,u:()=>a});let a=(e,t,r)=>{"undefined"!=typeof gtag&>ag(e,t,r)},n=(e,t)=>{let{detail:r}=e;a("consent","default",{analytics_storage:r.analytics_storage,ad_storage:r.ad_storage}),t()}},71074:(e,t,r)=>{"use strict";r.d(t,{default:()=>l});var a=r(12115),n=r(95719);let l=e=>{let{headerIsSticky:t}=e,{pendingScrollTarget:r,consumePendingScrollTarget:l}=(0,n.m)(),s=(0,a.useCallback)(()=>/iPad|iPhone|iPod/.test(window.navigator.userAgent)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1,[]),i=(0,a.useCallback)(e=>e&&Array.from(document.querySelectorAll("[data-component]")).find(t=>{let r=t.getAttribute("data-component")||"",a=t.getAttribute("data-editor-selected-component")||"",n=t.getAttribute("data-editor-selected-section")||"",l=t.getAttribute("data-scroll-selector")||"",s=t.getAttribute("id")||"";return e===r||e===a||e===n||e===l||e===s})||null,[]),o=(0,a.useCallback)(e=>{let r=document.querySelector("header"),a=t&&r?r.getBoundingClientRect().height:0,n=e.getBoundingClientRect().top+window.scrollY;window.scrollTo({top:Math.max(n-a-8,0),behavior:s()?"auto":"smooth"})},[t,s]);return(0,a.useEffect)(()=>{let e;if(!r)return;let t=()=>{let e=i(r);return!!e&&(o(e),l(),!0)};return t()||(e=window.requestAnimationFrame(()=>{t()||l()})),()=>{void 0!==e&&window.cancelAnimationFrame(e)}},[l,i,r,o]),null}},73569:()=>{},76992:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=r(89527).default},80961:(e,t,r)=>{"use strict";r.d(t,{default:()=>u});var a=r(95155),n=r(12115),l=r(20063),s=r(49692),i=r(89086),o=r(9929),c=r(66608);let d=e=>{let{item:t,level:r,className:u}=e,[m,h]=(0,n.useState)(!1),[f,p]=(0,n.useState)(!1),[g,b]=(0,n.useState)("60vh"),x=(0,n.useRef)(null),v=t.children&&t.children.length>0,N=(0,l.usePathname)()===(0,c.a)(t.url);(0,n.useEffect)(()=>{let e=()=>{if(0===r&&x.current){let e=x.current.getBoundingClientRect(),t=window.innerHeight-e.bottom-40;b(`${Math.max(t,100)}px`)}};if(0===r)return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[r]);let w=()=>{if(v)return 0===r?m:f};return(0,a.jsxs)("li",{ref:x,className:(0,o.cn)("relative ",r>0&&"border-b border-fontColorSuperLight last:border-b-0",1===r&&f&&"z-10",0===r&&v&&"pr-[20px] cursor-pointer",u),onMouseEnter:()=>0===r&&h(!0),onMouseLeave:()=>0===r&&h(!1),onFocus:()=>0===r&&h(!0),onBlur:()=>0===r&&h(!1),"data-selector":`os-theme-header-navigation-elem-${r>0?`lvl${r+1}-`:""}${t.name}`,children:[1===r?(0,a.jsxs)("div",{className:"flex items-center justify-between w-full",children:[(0,a.jsx)("a",{href:t.url||"#",className:(0,o.cn)("flex items-center flex-1 transition-colors duration-200 font-labels","break-words break-all","hover:text-primary hover:underline","py-3 px-4",N&&"text-link font-bold underline"),title:t.name,"aria-expanded":w(),"aria-haspopup":v?"true":void 0,"data-link-type":t.type,"data-link-target":t.target,target:t.openNewTab?"_blank":void 0,children:(0,a.jsx)("span",{children:t.name})}),v&&(0,a.jsx)(i.A,{onClick:e=>{e.preventDefault(),e.stopPropagation(),p(!f)},className:"px-3 py-3 flex items-center justify-center","aria-label":`Toggle ${t.name} submenu`,variant:"icon",size:"xs","data-selector":`os-theme-header-navigation-toggle-button-${t.name}`,children:(0,a.jsx)(s.A,{icon:"chevron-down",size:"xl",className:`transition-transform duration-200 ${f?"rotate-180":""}`})})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("a",{href:t.url||"#",className:(0,o.cn)("flex items-center h-full w-full font-labels","hover:text-primary","break-words break-all","text-base leading-[120%]",2===r?"pr-3 pl-6 py-3.5":"justify-center px-0 py-[6px]",N&&"text-link font-bold underline"),title:t.name,"aria-expanded":w(),"aria-haspopup":v?"true":void 0,"data-link-type":t.type,"data-link-target":t.target,target:t.openNewTab?"_blank":void 0,children:(0,a.jsx)("span",{className:"hover:underline",children:t.name})}),v&&0===r&&(0,a.jsx)(s.A,{icon:"chevron-down",size:"xl",className:`absolute right-0 top-1/2 -translate-y-1/2 translate-x-[10px] transition-transform duration-200 ${m?"rotate-180":""}`})]}),v&&(0,a.jsx)("ul",{className:0===r?(0,o.cn)("desktop-menu-submenu z-40 absolute left-0 top-full w-[300px] border border-fontColorSuperLight bg-white overflow-y-auto overflow-x-hidden",m?"block":"hidden"):1===r?(0,o.cn)("overflow-hidden transition-all duration-200",f?"max-h-[1000px] opacity-100 visible border-fontColorSuperLight border-t":"max-h-0 opacity-0 invisible"):"",role:"menu",style:0===r?{maxHeight:g}:void 0,children:t.children?.map(e=>(0,a.jsx)(d,{item:e,level:r+1},e.uuid))})]})},u=d},83369:(e,t,r)=>{"use strict";r.d(t,{default:()=>o});var a=r(95155),n=r(95604),l=r(49692),s=r(89086),i=r(32462);let o=()=>{let e=(0,n.useTranslations)("accessibility"),{isVisible:t,setIsVisible:r,history:o,setHistory:c}=(0,i.S)();return(0,a.jsx)(s.A,{variant:"icon",onClick:()=>{r(!t),o.isVisible&&c(e=>({...e,isVisible:!1}))},className:"relative w-[44px] h-[44px] text-[rgb(var(--font-color-base))] py-0 flex align-center justify-center","aria-label":e(t?"close_search":"open_search"),"aria-expanded":t,"data-cy":"header-small-open-searchbar","data-field":"item_search",children:(0,a.jsx)(l.A,{icon:t?"close":"search",size:"lg"})})}},86784:(e,t,r)=>{"use strict";r.d(t,{Wo:()=>s,bg:()=>n,eX:()=>l,w2:()=>i});var a=r(53961);let n="os-storefront-client";function l(){return{"sumup.org.tribe":"online-store","sumup.org.squad":"os-web","sumup.org.chat":"#os-sell","service.repo":"https://github.com/sumup/os-storefront"}}let s=()=>(0,a.B)()?{"http.url":window.location.pathname,"http.user_agent":window.navigator.userAgent}:{},i=()=>
42{if(!(0,a.B)())return{};if("connection"in window.navigator){let{effectiveType:e,type:t}=window.navigator.connection;return{"net.host.connection.type":t,"net.host.connection.subtype":e}}return{}}},88116:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var a=r(95155),n=r(12115),l=r(9929);let s=n.forwardRef((e,t)=>{let{className:r,...n}=e;return(0,a.jsx)("textarea",{className:(0,l.cn)("flex min-h-[60px] w-full border border-input bg-transparent px-3 py-2 font-normal text-fontColorBase border-fontColorMidLight text-base placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",r),ref:t,...n})});s.displayName="Textarea";let i=s},89527:(e,t,r)=>{"use strict";r.d(t,{default:()=>f});var a=r(95155),n=r(95604),l=r(12115),s=r(6014),i=r(32462),o=r(62002),c=r(49692),d=r(89086);let u=e=>{let{history:t,onClickEvent:r}=e;return t?(0,a.jsx)("div",{className:"absolute top-full mt-3 w-full z-10",children:(0,a.jsx)("ul",{className:"bg-white border border-fontColorMidLight list-none m-0 py-4 w-full",children:t.map((e,t)=>(0,a.jsx)("li",{className:"break-words font-paragraphs",children:(0,a.jsx)("button",{className:"w-full cursor-pointer text-left p-3 px-4 font-paragraphs text-black transition-colors hover:bg-[var(--color-attention)] hover:text-[rgb(var(--attention-color-font))] hover:font-bold",type:"button",onClick:()=>r(e),children:e})},`${e.replace("","_")}-${t}`))})}):null},m=/^[^\s]+(\s+[^\s]+)*$/,h=e=>{let{bgColorEnabled:t}=e,r=(0,n.useTranslations)(),{handleSearchRedirect:h,history:f,setHistory:p}=(0,i.S)(),g=(0,l.useRef)(null),b=e=>e.trim().match(m);return(0,l.useEffect)(()=>{g.current&&g.current.focus()},[]),(0,a.jsxs)("div",{className:"relative w-full",children:[(0,a.jsx)(s.A,{className:`${t?"bg-decoration font-paragraphs":"font-paragraphs"}`,placeholder:r("search.placeholder"),"aria-label":r("accessibility.search_input_label"),ref:g,leadingComponent:(0,a.jsx)(d.A,{className:"inline-flex shrink-0 items-center justify-center p-0 text-[rgb(var(--font-color-base))]",variant:"icon","aria-label":r("accessibility.search_submit"),onClick:()=>(p(e=>({...e,isVisible:!1})),g.current?.value.length&&b(g.current.value)&&h(g.current?.value)),children:(0,a.jsx)(c.A,{icon:"search",size:"lg",className:"leading-none"})}),onChange:e=>{let{value:t}=e.target,r=t.trim();r.length&&!f.isVisible&&p(e=>({...e,isVisible:!0})),!r.length&&f.isVisible&&p(e=>({...e,isVisible:!1}))},onKeyUp:e=>{"Enter"===e.key&&g.current&&b(g.current.value)&&((0,o.i)(g.current.value),p(e=>({...e,isVisible:!1})),h(g.current.value))}}),f.isVisible&&(0,a.jsx)(u,{history:f.data,onClickEvent:e=>{p(e=>({...e,isVisible:!1})),h(e)}})]})},f=e=>{let{children:t,bgColorEnabled:r}=e,{isVisible:n,headerHeight:l}=(0,i.S)();return n?(0,a.jsx)("div",{className:"relative flex items-center w-full lg:pr-6",style:{height:l},"data-selector":"os-theme-header-searchbar",children:(0,a.jsx)(h,{bgColorEnabled:r})}):t}},90510:(e,t,r)=>{"use strict";r.r(t),r.d(t,{WebVitals:()=>c});var a=r(90740),n=r(43400),l=r(74998),s=r(86784),i=r(92961);function o(e){let t=n.u.getTracer(s.bg),{name:r,value:a}=e,o=t.startSpan(`web-vital.${r}`);o.setAttributes({[`web-vitals.${r.toLocaleLowerCase()}`]:a,...(0,s.w2)(),...(0,s.Wo)(),...{"sumup.merchant.code":(0,i.NQ)()}}),n.u.setSpan(l._.active(),o),o.end()}let c=()=>((0,a.useReportWebVitals)(o),null)},91903:()=>{},93711:(e,t,r)=>{"use strict";r.d(t,{default:()=>p});var a=r(95155),n=r(15239),l=r(83101),s=r(95604),i=r(12115),o=r(73379),c=r(95719);let d=r(6781).default,u=e=>{let{menu:t,...r}=e;return(0,a.jsx)("nav",{"data-selector":"os-theme-footer-navigation",...r,children:(0,a.jsx)("ul",{className:" flex flex-wrap gap-4 footer-navigation-wrapper text-center md:text-left justify-center body-2-regular font-label pb-4",children:t.map(e=>(0,a.jsxs)("li",{className:"w-[164px]",children:[(0,a.jsx)("a",{href:e.url,title:e.name,"data-link-type":e.type,"data-link-target":e.target,className:"font-labels leading-[120%] word-break",children:e.name}),e.children&&e.children.length>0&&(0,a.jsx)("ul",{className:"footer-sub-menu mt-4",children:e.children.map(e=>(0,a.jsx)("li",{className:"mb-[6px]",children:(0,a.jsx)("a",{href:e.url,title:e.name,"data-link-type":e.type,"data-link-target":e.target,className:"text-sm font-labels leading-4 word-break",children:e.name})},e.uuid))})]},e.uuid))})})};var m=r(27596),h=r(53961),f=r(85932);let p=e=>{let{menu:t}=e,r=(0,s.useTranslations)(),{generalSettings:p}=(0,c.m)(),g=p.properties.header.headerName.content,b=p.properties.footer,x=(0,m.e)(t,"footer");(0,i.useEffect)(()=>
42{if((0,h.B)()){let e=document.querySelectorAll('[data-clickable="footer-actions"]');if(e&&e.length>0){let t=e=>{e.preventDefault(),e.stopPropagation()};return e.forEach(e=>e.addEventListener("click",t,!0)),()=>{e.forEach(e=>e.removeEventListener("click",t,!0))}}}},[]);let v=(0,i.useMemo)(()=>Object.values(b.social).some(e=>""!==e.username),[b]),N=(0,i.useMemo)(()=>x&&b.menu.visible,[b,x]);return(0,a.jsxs)("footer",{className:"w-full","data-selector":"os-theme-footer","data-component":"footer","data-editor-selected-component":"footer","data-editor-selected-section":"footer",children:[(N||v)&&(0,a.jsx)("div",{className:(0,l.cx)('w-full min-h-[120px] text-decorationFont bg-decoration pt-8 pb-6 text-center relative before:content-[""] before:bg-[rgba(var(--decoration-color-font),0.05)] before:w-full before:h-full before:absolute before:top-0 before:left-0 before:z-0'),children:(0,a.jsxs)(o.A,{className:"relative z-1",children:[N&&(0,a.jsx)(u,{menu:x,"data-field":"menu","data-label":f.R.menu}),v&&(0,a.jsx)(d,{"data-clickable":"footer-actions","data-field":"social_media","data-label":f.R.socialMedia,social:b.social})]})}),(0,a.jsx)("div",{"data-clickable":"footer-actions",className:"bg-black text-white w-full flex items-center min-h-[80px]",children:(0,a.jsx)(o.A,{className:"px-lg-6",children:(0,a.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-12 justify-items-stretch items-center",children:[(0,a.jsx)("div",{className:"py-5 copyrights-column md:col-span-7",children:(0,a.jsxs)("div",{className:"copyrights flex items-center","data-selector":"os-theme-footer-copyrights",children:[(0,a.jsxs)("span",{className:"whitespace-nowrap",children:["\xa9 ",new Date().getFullYear()," "]}),(0,a.jsx)("strong",{className:"ml-1 word-break",children:g})]})}),(0,a.jsxs)("div",{className:"text-right flex items-center justify-end md:py-5 pb-5 text-white text-opacity-50 md:col-span-5","data-selector":"os-theme-footer-powered",children:[r("newsletter.mailer.powered_by"),(0,a.jsx)("a",{href:"//sumup.com",rel:"nofollow",className:"ml-2",children:(0,a.jsx)(n.default,{width:"84",height:"24",src:"/images/sumup-footer-logo.svg",alt:"Sumup","data-selector":"os-theme-footer-whatsapp-icon-mobile"})})]})]})})})]})}},96141:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var a=r(95155),n=r(95604),l=r(49692),s=r(66629),i=r(9929);let o=function(e){let{className:t,...r}=e,o=(0,n.useTranslations)();return(0,a.jsxs)("div",{...r,className:(0,i.cn)("flex flex-col items-center justify-center w-full text-center",t),children:[(0,a.jsx)("div",{className:"h-[80px] w-[80px] md:h-[112px] md:w-[112px] bg-fontColorSuperLight rounded-full flex items-center justify-center mb-4",children:(0,a.jsx)(l.A,{icon:"cart","data-cy":"cart-widget-empty-image"})}),(0,a.jsx)(s.E,{size:"lg",className:"text-fontColorLight","data-cy":"cart-widget-empty-label",children:o("cart_widget.empty_cart")})]})}}},e=>{e.O(0,[7914,4684,2619,1356,7954,3885,9449,6653,3040,5644,8953,1695,4718,4679,6723,8441,4921,7358],()=>e(e.s=54439)),_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.