1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[97139,35959,92282,94177,21036,59737],{553911:function(e,t,n){var r=n(687800),o=n(827378),i=n(72344),l=n(727650),a=n(497249),c=n(165218),u=n.n(c)()(function(){return Promise.resolve().then(n.bind(n,72344))},{loadableGenerated:{webpack:()=>[null]},ssr:!1});t.Z=function(e){var t,n,c=e.hasMarkdown,s=e.copy,d=e.markdownOptions,p=e.noSSR,h=e.allowedAttrs,b=e.config,f=(0,a.T)(),m="string"==typeof s?s.replace(/[ \t]{9,}/g," ".repeat(8)):s,g=(0,l.sanitize)(m,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({ADD_ATTR:void 0===h?[]:h},void 0===b?{}:b),n=n={RETURN_DOM:!1,RETURN_DOM_FRAGMENT:!1},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t));return((0,o.useEffect)(function(){if((s||"")!==g){var e=f.startSpan("sanitize-content-libray");e.setAttributes({"sanitize-content-libray":!0,"sanitize-error-detected":s!==g,"sanitize-message":"HTML content has been sanitized. Please check the content to ensure it is safe.","sanitize-original-content":s,"sanitize-sanitized-content":g}),e.end()}},[s,g,f]),c)?p?(0,r.tZ)(u,{options:d,children:g}):(0,r.tZ)(i.default,{options:d,children:g}):(0,r.tZ)("div",{dangerouslySetInnerHTML:{__html:g}})}},228001:function(e,t,n){var r=n(827378),o=n(60074),i=n(266726),l=n.n(i),a=n(768587);function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}t.Z=function(e){var t=u((0,r.useState)([0,0]),2),n=t[0],i=t[1],c=u(n,2),s=c[0],d=c[1],p=u((0,a.Fg)().breakpoints.map(function(e){return Number(e.slice(0,-2))}).sort(function(e,t){return e-t}),2),h=p[0],b=p[1];(0,r.useEffect)(function(){i([window.innerWidth,window.innerHeight]);var t=l()(function(){e&&o.n_({message:"debounced set size state",category:"@/libs/window-api/useWindowSize",level:"debug",data:{newWidth:window.innerWidth,newHeight:window.innerHeight,previousWidth:s,previousHeight:d}}),i([window.innerWidth,window.innerHeight])},250);return window.addEventListener("resize",t),function(){e&&o.n_({message:"removing event listener and cancelling debounced function",category:"@/libs/window-api/useWindowSize",level:"debug"}),window.removeEventListener("resize",t),t.cancel()}},[]);var f=!!s&&s<h,m=!!s&&s>=h&&s<b,g=!!s&&s>=b;return{width:s,height:d,tabletWidth:h,isMobile:f,isTablet:m,isDesktop:g}}},240396:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(687800),o=n(827378);function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var l=o.createContext({stickyBarAlignment:void 0,setStickyBarAlignment:function(){}});t.C=function(e){var t,n=function(e){if(Array.isArray(e))return e}(t=(0,o.useState)())||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(n=o.next()).done)&&(i.push(n.value),2!==i.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return i(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,2)}}
1(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),a=n[0],c=n[1];return(0,r.tZ)(l.Provider,{value:{stickyBarAlignment:a,setStickyBarAlignment:c},children:e.children})}},403647:function(e,t,n){n.d(t,{K:function(){return l}});var r=n(870771);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var i=["/reactivate","/account-settings/subscription-settings/reactivate","/loyalty","/path","https://","/programs-funnel"],l=function(e,t,n,l){if(!r.ck.includes(t.split("?")[0]||"")||i.some(function(t){return e.startsWith(t)}))return e;var a,c=function(e){if(Array.isArray(e))return e}(a=null==e?void 0:e.split("?"))||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(n=o.next()).done)&&(i.push(n.value),2!==i.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw r}}return i}}(a,2)||function(e,t){if(e){if("string"==typeof e)return o(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,2)}}(a,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),u=c[0],s=c[1];if(!e||"/plans"!=u){var d="/plans".concat(s?"?".concat(s):"");return l.setAttributes({"cta-url-redirection-to-plans.page_path":u,"cta-url-redirection-to-plans.query":s,"cta-url-redirection-to-plans.initial_cta_path":e,"cta-url-redirection-to-plans.updated_cta_url":d,"cta-url-redirection-to-plans.section_id":n}),l.end(),d}return e}},597993:function(e,t,n){n.d(t,{R:function(){return o}});var r,o,i=n(827378);(r=o||(o={})).ArrowRight="ArrowRight",r.ArrowLeft="ArrowLeft",t.Z=function(e,t,n){(0,i.useEffect)(function(){var r=t.current,o=function(t){t.key===e&&n()};return null==r||r.addEventListener("keyup",o),function(){null==r||r.removeEventListener("keyup",o)}},[n,t,e])}},520058:function(e,t,n){n.r(t),n.d(t,{default:function(){return t6}});var r,o,i,l,a,c=n(687800),u=n(827378);(r=l||(l={})).Banner="Banner",r.Video="Video",r.Menu="Menu",r.Social="Social",r.HowItWorks="HowItWorks",r.Benefits="Benefits",r.Plans="Plans",r.StickyBar="StickyBar",r.MultiWeeklyDiscount="MultiWeekDiscount",r.ExtraBanner="ExtraBanner",r.Preference="Preference",r.BannerSlider="BannerSlider";var s=n(768587),d=n(608053),p=n(671273),h=n(143309),b=n(769007),f=n(77521),m=n(907070),g=n(695743),y=n(497249),v=n(344884),x=n(365769),w=n(443742);function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var k=function(e,t,n){var r=(0,g.z)("modular-landing-pages").data,o=null==r?void 0:r.usePlansConfigApi,i=(0,x.Z)().isFetching,l=(0,y.T)(),a=(0,w.A)({couponCode:e,disablePPSOverride:t,paidLP_publicId:n}),c=a.isPricePresentationLoading,s=a.displayPricePresentation,d=a.discountCommunicationPreset,p=Z((0,u.useState)(!1),2),h=p[0],b=p[1],f=Z((0,u.useState)(!1),2),m=f[0],O=f[1],k=(0,u.useRef)(null),P=(0,u.useRef)(null),S=(0,u.useRef)(null);(0,u.useEffect)(function(){O(!0),b(!0)},[]);var j=!m||i||c||!h&&o;return(0,u.useEffect)(function(){if(j&&!k.current)k.current=Date.now(),S.current=l.startSpan("discount-communication-spinner-monitoring",{attributes:{"coupon-code":e,"disable-pps-override":t,"should-use-plans-config-api":o,"initial-plans-config-loading":i,"initial-price-presentation-loading":c,"initial-show-title":h}}),P.current=setTimeout(function(){if(S.current){var e=[];i&&e.push("plans-config-still-loading"),c&&e.push("price-presentation-still-loading"),!h&&o&&e.push("show-title-false-with-plans-config-api"),S.current.setAttributes({"timeout-reached":!0,"timeout-duration-ms":3e4,"current-plans-config-loading":i,"current-price-presentation-loading":c,"current-sh
1ow-title":h,"current-should-use-plans-config-api":o}).setStatus({code:v.Z.ERROR,message:"Spinner timeout after ".concat(3e4,"ms. Reasons: ").concat(e.join(", "))}).end(),S.current=null}},3e4);else if(!j&&k.current){var n=Date.now()-k.current;S.current&&(S.current.setAttributes({"spinner-duration-ms":n,"resolved-successfully":!0,"final-plans-config-loading":i,"final-price-presentation-loading":c,"final-show-title":h}).setStatus({code:v.Z.OK,message:"Spinner resolved successfully after ".concat(n,"ms")}).end(),S.current=null),P.current&&(clearTimeout(P.current),P.current=null),k.current=null}return function(){P.current&&clearTimeout(P.current)}},[j,i,c,h,o,e,t,l]),(0,u.useEffect)(function(){return function(){S.current&&S.current.setAttributes({"component-unmounted":!0}).setStatus({code:v.Z.ERROR,message:"Component unmounted while spinner was active"}).end(),P.current&&clearTimeout(P.current)}},[]),{showSpinner:j,displayPricePresentation:s,discountCommunicationPreset:d}},P=n(240396);function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){S(e,t,n[t])})}return e}var C=function(e){var t,n,r=e.title,o=e.subtitle,i=e.content,l=e.sectionId,a=e.contentType,g=e.queryParams,y=k(e.couponCode),v=y.showSpinner,x=y.displayPricePresentation,w=y.discountCommunicationPreset,O=(0,h.v)().scrollY,Z=(0,b.H)(O,[250,600],[0,1],{ease:f.Bn}),C=(0,b.H)(O,[0,250],["none","block"],{mixer:function(e,t){return function(n){return n<1?e:t}}}),I=(0,p.h)(l,a).handleGAEventClick,A=i.ctaText,_=i.ctaUrl,B=i.align,D=void 0===B?"top":B,T=i.disableStickiness,E=null==_?void 0:_.includes("c="),z=null==g?void 0:g.c;E&&z&&(null==g||delete g.c);var U=!T&&S({},D,0),M=u.useContext(P.Z).setStickyBarAlignment;return(0,u.useEffect)(function(){T||M(D)},[]),(0,c.tZ)(m.E.div,{style:j({},!T&&{opacity:Z,display:C}),children:(0,c.tZ)(s.xu,(t=j({boxShadow:"shadow-xl",width:"100%",p:"sm-1",backgroundColor:"neutral.100",display:"flex",justifyContent:"center"},!T&&j({zIndex:10,position:"fixed"},U)),n=n={minHeight:70,children:(0,c.BX)(s.xu,{display:"flex",justifyContent:"space-between",alignItems:"center",minWidth:["100%","100%","1140px"],children:[(0,c.tZ)(s.xu,{maxWidth:"65%",children:v?(0,c.tZ)(s.xu,{"data-test-id":"spin-icon",width:"100%",mb:"md-1",children:(0,c.tZ)(s.$j,{size:"md",variant:"primary"})}):(0,c.BX)(c.HY,{children:[(0,c.tZ)(s.xv,{type:"body-sm-bold",children:x?null==w?void 0:w.no_commitment_title:r}),o&&(0,c.tZ)(s.xu,{children:(0,c.tZ)(s.xv,{type:"body-sm-regular",children:o})})]})}),(0,c.tZ)(s.xu,{children:(0,c.tZ)(s.rU,{href:(0,d.BG)(_,g),noStyle:!0,children:(0,c.tZ)(s.zx.Primary,{href:_,onClick:function(){I(A)},size:"sm",children:A})})})]})},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))})},I=n(360049),A=function(e){var t=e.title;return(0,c.tZ)(m.E.p,{initial:"hidden",whileInView:"visible",exit:"hidden",transition:{duration:.5},variants:{visible:{opacity:1,scale:1,color:"#000"},hidden:{opacity:.4,scale:.95,color:"#878787"}},style:{fontSize:"24px",fontWeight:700},viewport:{amount:.8},children:t})},_=n(268481),B=function(e){var t=(0,_.Sj)(),n=(0,b.H)(e,"mobile"===t?[.2,.3,.4,.5,.6,.7,.8,.9,1]:[1,.8,.75,.7,.3,.2,.1],"mobile"===t?["0%","-50%","-100%","-100%","-100%","-100%","-150%","-200%","-200%"]:["0%","0%","-50%","-100%","-100","-150%","-200"]),r=(0,b.H)(e,"mobile"===t?[0,.1]:[.9,.5],"desktop"===t?[1,1]:[0,1]);return{y:n,scale:(0,b.H)(e,[.2,.4],["mobile"===t?1:.95,.85]),opacity:r,lemonHeight:"mobile"===t?"300px":"360px"}},D=n(277425),T=function(e){var t=e.content,n=t.videoUrl,r=t.steps,o=(0,u.useRef)(null),i=B((0,h.v)({target:o}).scrollYProgress),l=i.y,a=i.scale,d=i.opacity,p=i.lemonHeight,b=u.useContext(P.Z).stickyBarAlignment;if(!r||!n)return null;var f="https://media.hellofresh.com/video/upload/f_mp4"+(0,D.Z)(n);return(0,c.tZ)(s.xu,{height:["200vh","700px","600px"],position:"relative",ref:o,id:"video-section",children:(0,c.tZ)(s.xu,{display:"flex",height:["75vh","600px","500px"],maxHeight:["75vh","600px","500px"],position:"sticky",backgroundColor:"neutral.100",overflow:"hidden",top:"top"===b?70:0,justifyContent:["inherit","center","center"],children:(0,c.BX)(s.xu,{display:"flex",alignItems:["inherit","
1inherit","center"],flexDirection:["column","column","row"],flexGrow:"1",my:["global.none","global.lg-2","global.xl-2"],maxWidth:"1140px",children:[(0,c.BX)(s.xu,{display:"flex",justifyContent:"center",alignItems:"center",width:["100%","100%","auto"],maxWidth:["100%","100%","auto"],position:"relative",overflow:"hidden",children:[(0,c.tZ)(m.E.img,{src:"https://cdn.hellofresh.com/us/cms/plp/lemon-cut-1.png",style:{opacity:d,position:"absolute",top:0,zIndex:10,scale:1.1,height:p},transition:{duration:.1,ease:"easeIn"}}),(0,c.tZ)(m.E.div,{style:{height:p,scale:a},transition:{ease:(0,I._)(.165,.84,.44,1)},children:(0,c.tZ)("video",{src:f,muted:!0,loop:!0,style:{height:"100%",width:"100%",objectFit:"cover"},playsInline:!0,autoPlay:!0})})]}),(0,c.tZ)(s.xu,{textAlign:["center","center","left"],flex:"1",height:["auto","80px","300px"],children:(0,c.tZ)(s.xu,{display:"flex",flexDirection:"column",height:"100%",overflow:"hidden",position:"relative",mx:"md-1",children:(0,c.tZ)(m.E.div,{style:{height:"100%",y:l},children:r.map(function(e,t){return(0,c.tZ)(s.xu,{width:"100%",display:"flex",justifyContent:["center","center","flex-start"],alignItems:"center",position:"absolute",height:"100%",transform:"translateY(".concat(100*t,"%)"),children:(0,c.tZ)(A,{title:e.text})},e.id)})})})})]})})})},E=n(57331),z=n(318066),U=function(e){var t=e.index,n=e.title,r=e.description,o=e.imageUrl,i=e.color,l=e.onSlide;return(0,c.tZ)(m.E.div,{initial:{opacity:0}
1,animate:{opacity:1},transition:{duration:.5},exit:{opacity:0},drag:"x",whileDrag:{opacity:.5},dragConstraints:{left:0,right:0},dragMomentum:!1,dragElastic:0,onDragEnd:function(e,n){var r=n.offset,o=n.velocity,i=Math.abs(r.x)*o.x;i<-1e4?l(t+1):i>1e4&&l(t-1)},onClick:function(){return l(t+1)},style:{width:"100%"},children:(0,c.BX)(s.xu,{backgroundColor:i,borderRadius:"border-radius-sm",boxShadow:"shadow-md",cursor:"grab",children:[(0,c.tZ)(s.xu,{position:"relative",height:"42vh",borderTopRightRadius:"border-radius-sm",borderTopLeftRadius:"border-radius-sm",overflow:"hidden",children:o&&(0,c.tZ)(z.ZP,{src:(0,D.Z)(o),fill:!0,style:{objectFit:"cover",pointerEvents:"none"},alt:n,quality:30,priority:!0})}),(0,c.BX)(s.xu,{px:"sm-2",py:"sm-1",display:"flex",justifyContent:"space-between",alignItems:"center",children:[(0,c.tZ)(s.xv,{as:"h4",color:"neutral.100","data-test-id":"menu-card-title",children:n}),(0,c.tZ)(s.xv,{type:"body-xs-regular",color:"neutral.100","data-test-id":"menu-card-description",children:r})]})]})})};function M(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var X=function(e){var t,n=e.cards,r=e.activeCard,o=void 0===r?0:r,i=e.onSlide,l=e.sectionId,a=(0,p.h)(l).handleGAEventOnMenuClick,d=function(e){if(Array.isArray(e))return e}(t=(0,u.useState)(56))||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(n=o.next()).done)&&(i.push(n.value),2!==i.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return M(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return M(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),h=d[0],b=d[1];return(0,u.useLayoutEffect)(function(){var e=function(){var e=document.documentElement.clientWidth/n.length;b(e>84?104:e+20)};return window.addEventListener("resize",e),e(),function(){return window.removeEventListener("resize",e)}},[n.length]),(0,c.tZ)(s.xu,{display:"flex",position:"absolute",bottom:"0",height:"".concat(h/2,"px"),children:n.map(function(e,t){var n=e.title,r=e.iconUrl,l=o===t,u=0===t;
1return(0,c.tZ)(m.E.div,{style:{marginLeft:u?0:"-25px"},animate:{marginTop:l?-h/4:0},children:(0,c.tZ)(s.xu,{cursor:"pointer",width:h,height:h,onClick:function(){i(t),a(n)},children:r&&(0,c.tZ)(z.ZP,{src:(0,D.Z)(r),width:h,height:h,alt:n})})},t)})})},R=n(72065),L=n(200770),H=n(958042),W=n(203794),F=n(64294),V=n(799146),N=n(256130),Y=function(e,t){var n;return null==e?void 0:null===(n=e.children)||void 0===n?void 0:n.find(function(e){return e.handle===t})},q=function(e,t){return void 0===e?0:void 0===t?e:e+t/1e9},$=function(e,t){var n,r,o=(0,L.Z)(),i=(0,H.Z)(),l=(0,F.ZP)(),a=(0,V.B)(N.d.ACTIVATION_SUBSCRIPTION),c=(0,x.Z)(),s=c.planFamily,d=c.isPlansConfigFetched,p=c.defaultSku,h=null==s?void 0:null===(n=s.children)||void 0===n?void 0:n.find(function(e){return e.handle===p}),b=t&&Y(s,t)||h,f=(0,R.RA)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({voucherCode:e,productIds:b?[b.handle]:[],hfPublicID:l},a&&{headers:a}),{enabled:d&&!!(null==b?void 0:b.handle),suspense:!1}).data,m=null==f?void 0:null===(r=f.products)||void 0===r?void 0:r[0],g=q(null==m?void 0:m.price.units,null==m?void 0:m.price.nanos),y=q(null==m?void 0:m.totalPrice.units,null==m?void 0:m.totalPrice.nanos),v=(0,u.useMemo)(function(){return b?b.specs.meals*b.specs.size:0},[b]),w=(0,u.useMemo)(function(){return g?g/v:0},[g,v]),O=(0,u.useMemo)(function(){return y?y/v:0},[y,v]);return{price:(0,W.h9)(w,!1,o,i),discountPrice:(0,W.h9)(O,!1,o,i)}},G=function(e){var t,n,r=e.subtitle,o=$(e.couponCode),i=o.price,l=o.discountPrice,a=r.split("%%price%%"),u=l!==i;return(0,c.BX)(s.xv,{as:"p",textAlign:"center",children:[a[0],(0,c.tZ)(s.xv,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},u&&{strikethrough:!0}),n=n={children:i},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))," ",u&&(0,c.tZ)(s.xv,{type:"body-md-bold",color:"error.500",children:l}),a[1]]})},Q=function(e){var t=e.title,n=e.description,r=e.imageUrl,o=e.color;return(0,c.tZ)(s.xu,{children:(0,c.BX)(s.xu,{backgroundColor:o,borderRadius:"border-radius-sm",boxShadow:"shadow-md",cursor:"grab",children:[(0,c.tZ)(s.xu,{position:"relative",height:"42vh",borderTopRightRadius:"border-radius-sm",borderTopLeftRadius:"border-radius-sm",overflow:"hidden",children:r&&(0,c.tZ)(z.ZP,{src:(0,D.Z)(r),fill:!0,style:{objectFit:"cover",pointerEvents:"none"},alt:t})}),(0,c.BX)(s.xu,{px:"sm-2",py:"sm-1",display:"flex",justifyContent:"space-between",alignItems:"center",children:[(0,c.tZ)(s.xv,{as:"h4",color:"neutral.100","data-test-id":"menu-card-title",children:t}),(0,c.tZ)(s.xv,{type:"body-xs-regular",color:"neutral.100","data-test-id":"menu-card-description",children:n})]})]})})},K=n(553911);function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ee=function(e){var t,n=e.title,r=e.subtitle,o=e.content,i=void 0===o?[]:o,l=e.couponCode,a=e.sectionId,d=function(e){if(Array.isArray(e))return e}(t=(0,u.useState)(0))||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(n=o.next()).done)&&(i.push(n.value),2!==i.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return J(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J(e,2)}}
1(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),p=d[0],h=d[1],b=function(e){e<0?h(i.length-1):h(e>=i.length?0:e)};return(0,c.tZ)(s.xu,{position:"relative",backgroundColor:"neutral.300",overflow:"hidden",children:(0,c.BX)(s.xu,{maxWidth:["100%","964px","1140px"],height:"100%",marginX:"auto",pt:"md-3",pb:"lg-3",display:"flex",alignItems:"center",flexDirection:"column",children:[(0,c.BX)(s.xu,{px:"md-2",display:"flex",alignItems:"center",flexDirection:"column",children:[n&&(0,c.tZ)(s.xu,{as:"h2",mb:"md-1",textAlign:"center",children:(0,c.tZ)(K.Z,{copy:n,hasMarkdown:!0})}),r&&(0,c.tZ)(G,{subtitle:r,couponCode:l}),(0,c.tZ)(E.M,{children:(0,c.BX)(s.xu,{display:"flex",mt:"sm-2",flexDirection:"column",alignItems:"center",maxWidth:"360px",minHeight:"50vh",width:["100%","360px"],position:"relative",children:[(0,c.tZ)(s.xu,{width:"inherit",position:"absolute",zIndex:9,children:i.map(function(e,t){var n,r;return t!==p?null:(0,c.tZ)(U,(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({index:t},e),r=r={onSlide:b},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n),t)})}),(0,c.tZ)(s.xu,{width:"inherit",position:"absolute",transform:"rotate(3deg)",zIndex:0,children:(0,c.tZ)(Q,{title:"",description:"",imageUrl:"",color:"neutral.500"})})]})})]}),(0,c.tZ)(X,{cards:i,activeCard:p,onSlide:b,sectionId:a})]})})},et=["https://cdn.hellofresh.com/landing-pages/test-images/mobileinhand1.png","https://cdn.hellofresh.com/landing-pages/test-images/HIW-Image2revised.png","https://cdn.hellofresh.com/landing-pages/test-images/HIW-IMAGE3.png"],en=function(e){var t=e.position,n=e.containerPosition,r=e.animationProps,o=e.imageUrl||et[t];return(0,c.tZ)(m.E.div,{style:{display:"flex",position:"absolute",width:"100%",justifyContent:"center",bottom:n.bottom},children:(0,c.tZ)(m.E.img,{src:o,alt:"",style:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},r)})})},er=function(e){var t=e.animationProps,n=e.subText,r=e.title;return(0,c.tZ)(s.xu,{position:"absolute",width:"85%",top:"10%",left:"50%",transform:"translateX(-50%)",children:(0,c.tZ)(m.E.div,{style:{opacity:t.opacity,scale:t.scale},children:(0,c.BX)(s.xu,{display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",color:"primary.800",name:"primary",children:[(0,c.tZ)(s.xu,{fontSize:"body-md-regular",mb:"sm-1",children:n}),(0,c.tZ)(s.xu,{fontWeight:"body-bold",fontSize:"headline-lg-desktop",fontFamily:"primary",children:r})]})})})},eo=function(e){var t=e.description,n=e.animationProps;return(0,c.tZ)(m.E.div,{style:{display:"flex",justifyContent:"center",position:"absolute",width:"100%",bottom:n.bottom},children:(0,c.tZ)(m.E.p,{style:{padding:"20px 40px",textAlign:"center",width:"75%",background:"white",opacity:n.opacity},children:(0,c.tZ)(s.xv,{type:"body-xs-regular",children:t})})})},ei=function(e){var t=[0,.1,.2,.3],n=[.3,.4,.5,.6],r=[.7,.8,.9],o=(0,b.H)(e,t,[0,1,1,1]),i=(0,b.H)(e,t,[0,1,1,0]),l=(0,b.H)(e,t,[1.8,1,1,1]),a=(0,b.H)(e,t,[1,1,1,0]),c=(0,b.H)(e,t,["-5%","10%","10%","10%"]),u=(0,b.H)(e,t,[0,1,1,0]),s=(0,b.H)(e,n,[0,1,1,0]),d=(0,b.H)(e,n,[1,1,1,1]),p=(0,b.H)(e,n,["0%","0%","0%","0%"]),h=(0,b.H)(e,n,[0,1,1,0]),f=(0,b.H)(e,n,["20%","20%","20%","20%"]),m=(0,b.H)(e,n,[0,1,1,0]),g=(0,b.H)(e,r,[0,1,1]),y=(0,b.H)(e,r,[1,1,1]),v=(0,b.H)(e,r,["0%","0%","0%"]);return[{imageCardAnimation:{scale:l,opacity:a},imageContainerPosition:{bottom:"-4px"},textAnimation:{scale:o,opacity:i},whiteBoxAnimation:{bottom:c,opacity:u}},{imageCardAnimation:{opacity:h,x:p},imageContainerPosition:{bottom:0},textAnimation:{opacity:s,scale:d},whiteBoxAnimation:{bottom:f,opacity:m}},{imageCardAnimation:{opacity:(0,b.H)(e,r,[0,1,1]),y:v},imageContainerPosition:{bottom:"-50px"},textAnimation:{opacity:g,scale:y},whiteBoxAnimation:{bottom:(0,b.H)(e,r,["20%","20%","20%"]),opacity:(0,b.H)(e,r,[0,1,1])}}]},el=function(e){var t=e.content,n=(0,u.useRef)(null),r=ei((0,h.v)({target:n,offset:["start center","end end"]}).scrollYProgress),o=u.useContext(P.Z).stickyBarAlignment;return t?(0,c.tZ)(s.xu,{height:"400vh",ref:n,children:(0,c.tZ)(s.xu,{height:"85vh",backgroundColor:"primary.200",position:"sticky",top:"top"===o?70:0,overflow:"hidden",children:t.map(function(e,t){var n=r[t],o=n.imageCardAnimation,i=n.imageContainerPosition,l=n.textAnimation,a=n.whiteBoxAnimation;return(0,c.BX)(s.xu,{children:[(0,c.tZ)(en,{position:t,containerPosition:i,animationProps:o,imageUrl:e.imageUrl}),(0,c.tZ)(er,{subText:e.subText,title:e.title,animationProps:l}),(0,c.tZ)(eo,{description:e.description,animationProps:a})]},t)})})}):null};function ea(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ec=["https://cdn.hellofresh.com/landing-pages/test-images/mobileinhand1.png","https://cdn.hellofresh.com/landing-pages/test-images/HIW-Image2revised.png","https://cdn.hellofresh.com/landing-pages/test-images/HIW-IMAGE3.png"],eu=function(e){var t,n=e.content,r=function(e){if(Array.isArray(e))return e}(t=(0,u.useState)(0))||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(n=o.next()).done)&&(i.push(n.value),2!==i.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return ea(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ea(e,2)}}
1(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),o=r[0],i=r[1];return n?(0,c.tZ)(s.xu,{backgroundColor:"primary.200",children:(0,c.BX)(s.xu,{minHeight:["550px","550px","600px"],maxWidth:["100%","960px","1140px"],mx:"auto",display:"flex",flexDirection:"column",justifyContent:"center",children:[(0,c.tZ)(s.xu,{textAlign:"center",mb:"global.md-2",children:(0,c.tZ)(s.xv,{as:"h1",color:"global.hellofresh-lime.700",children:n[o].subText})}),(0,c.BX)(s.xu,{display:"flex",width:"100%",justifyContent:"center",gap:"global.md-2",children:[(0,c.tZ)(s.xu,{flex:"1",display:"flex",justifyContent:"flex-end",children:(0,c.tZ)(s.xu,{width:["340px","340px","360px"],display:"flex",flexDirection:"column",gap:"md-1",children:n.map(function(e,t){return(0,c.tZ)(s.xu,{backgroundColor:"global.white",opacity:o===t?1:.5,pb:"global.xs",px:"global.xs",children:(0,c.BX)(s.UQ.Outline,{onClick:function(){return i(t)},buttonPosition:"right",isOpen:o===t,buttonStyle:"plain",children:[(0,c.tZ)(s.UQ.Title,{children:(0,c.tZ)(s.xv,{as:"h3",color:"global.hellofresh-lime.700",children:e.title})}),(0,c.tZ)(s.UQ.Description,{children:e.description})]})},t)})})}),(0,c.tZ)(s.xu,{flex:"1",children:n.map(function(e,t){var n=e.imageDesktopUrl||ec[t];return(0,c.tZ)(s.xu,{display:t===o?"block":"none",width:[300,300,400],height:[300,300,400],position:"relative",children:(0,c.tZ)(z.ZP,{src:(0,D.Z)(n),alt:e.title,fill:!0,style:{objectFit:"contain",objectPosition:"center"}})},t)})})]})]})}):null},es=function(e){var t=e.content;return(0,c.BX)(c.HY,{children:[(0,c.tZ)(s.xu,{display:["block","none"],children:(0,c.tZ)(el,{content:t})}),(0,c.tZ)(s.xu,{display:["none","block"],children:(0,c.tZ)(eu,{content:t})})]})},ed=n(835375),ep=n(647220),eh=function(e){var t,n,r=e.src,o=e.isFocused,i=void 0!==o&&o,l=(0,_.Sj)(),a=i?"164":"136";return(0,c.tZ)(s.xu,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({height:i?"164px":"136px",overflow:"hidden",position:"relative",borderRadius:"border-radius-circle",boxShadow:"shadow-xl",opacity:i?1:.5},i?{borderColor:"neutral.100",borderWidth:"2px",borderStyle:"solid",zIndex:2}:{zIndex:1}),n=n={__dangerouslySetCustomCSS:"desktop"!==l?{marginLeft:"-24px"}:{},children:(0,c.tZ)(z.ZP,{src:(0,D.Z)(r),alt:"social-avatar",width:a,height:a})},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))},eb=n(228001),ef=function(e){var t=e.content,n=e.scrollYProgress,r=e.foucsedItem,o=(0,eb.Z)().width,i=t.length,l=(0,b.H)(n,[0,1],["0px","-".concat((i+1)*112+140-o,"px")]);return(0,c.tZ)(s.xu,{width:"100%",position:"relative",my:"lg-3",minHeight:"160px",children:(0,c.BX)(m.E.div,{style:{display:"flex",position:"absolute",x:l,alignItems:"center"},children:[(0,c.tZ)(eh,{src:t[i-1].avatar}),t.map(function(e,t){return(0,c.tZ)(eh,{src:e.avatar,isFocused:r===t},t)}),(0,c.tZ)(eh,{src:t[0].avatar})]})})},em=n(723740),eg=n(988402),ey=function(e){var t=e.content,n=e.setFocusedItem,r=e.focusedItem,o=t.length,i=(0,u.useRef)([]),l=function(e){var t=i.current[e];t&&(null==t||t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"}))};return(0,u.useEffect)(function(){l(r)},[r]),(0,c.BX)(s.xu,{width:"100%",display:"flex",flexDirection:"row",gap:"sm-1",justifyContent:"center",alignItems:"center",my:"global.md-2",children:[(0,c.tZ)(s.xu,{backgroundColor:"neutral.100",borderRadius:"border-radius-circle",children:(0,c.tZ)(s.hU.Secondary,{icon:(0,c.tZ)(em.default,{}),onClick:function(){n(r-1)},disabled:0===r})}),(0,c.tZ)(s.xu,{display:"flex",flexWrap:"nowrap",overflow:"hidden",gap:["global.none","global.none","global.md-1"],alignItems:"center",maxWidth:["100%","615px","780px"],pl:["global.none","global.md-1","global.none"],children:t.map(function(e,t){return(0,c.tZ)(s.xu,{ref:function(e){i.current[t]=e},children:(0,c.tZ)(eh,{src:e.avatar,isFocused:r===t},t)},t)})}),(0,c.tZ)(s.xu,{backgroundColor:"neutral.100",borderRadius:"border-radius-circle",children:(0,c.tZ)(s.hU.Secondary,{icon:(0,c.tZ)(eg.default,{}),onClick:function(){n(r+1)},disabled:r===o-1})})]})},ev=function(e){var t=e.comment,n=e.author,r=e.isFocused;return(0,c.BX)(s.xu,{position:"absolute",top:"0",opacity:r?"1":"0",transition:"opacity 0.3s ease-in-out",textAlign:"center",px:"sm-2",width:["100%","615px","780px"],left:"50%",transform:"translateX(-50%)",children:[(0,c.tZ)(s.xv,{type:"body-sm-regular",as:"p",mb:["sm-2","sm-1"],children:(0,c.tZ)("i",{children:'"'.concat(t,'"')})}),(0,c.tZ)(s.xv,{type:"body-sm-bold",children:n})]})};function ex(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ew=function(e){var t,n=e.content,r=e.title,o=function(e){if(Array.isArray(e))return e}(t=(0,u.useState)(0))||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(n=o.next()).done)&&(i.push(n.value),2!==i.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return ex(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ex(e,2)}}
1(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=o[0],l=o[1],a=(0,ep.e)(),d=(0,_.Sj)(),p=(0,u.useRef)(null),b=(0,h.v)({target:a?p:void 0}).scrollYProgress,f=u.useContext(P.Z).stickyBarAlignment;return((0,ed.W)(b,"change",function(e){(null==n?void 0:n.length)&&"mobile"===d&&l(Math.round(e*(n.length-1)))}),n&&n.length)?(0,c.tZ)(s.xu,{height:["360vh","100%"],position:"relative",ref:p,backgroundColor:"#E3E9ED",children:(0,c.BX)(s.xu,{height:["85vh","100%"],display:"flex",justifyContent:"center",top:"top"===f?70:0,position:"sticky",backgroundColor:"neutral.100",flexDirection:"column",alignItems:"space-around",backgroundImage:"url(".concat("https://cdn.hellofresh.com/us/cms/plp/social_background.png",")"),backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"top",py:["md-3","global.lg-2"],overflow:"hidden",children:[r&&(0,c.tZ)(s.xu,{textAlign:"center",px:"md-2",children:(0,c.tZ)(s.xv,{as:"h2",children:(0,c.tZ)(K.Z,{copy:r,hasMarkdown:!0})})}),(0,c.tZ)(s.xu,{display:["flex","none"],children:(0,c.tZ)(ef,{content:n,scrollYProgress:b,foucsedItem:i})}),(0,c.tZ)(s.xu,{display:["none","flex"],children:(0,c.tZ)(ey,{content:n,setFocusedItem:l,focusedItem:i})}),(0,c.tZ)(s.xu,{display:"flex",minHeight:["100px","unset"],alignItems:"stretch",width:"100%",mb:["global.none","global.lg-2"],children:(0,c.tZ)(s.xu,{position:"relative",width:"inherit",children:n.map(function(e,t){return(0,c.tZ)(ev,{comment:e.comment,author:e.name,isFocused:i===t},t)})})})]})}):null},eO=function(e){var t=e.scrollProgress,n=(0,b.H)(t,[0,.1],[-30,0]),r=(0,b.H)(t,[.1,.3],["50%","0%"]),o=(0,b.H)(t,[.1,.3],[1,.6]);return(0,c.tZ)(m.E.div,{style:{position:"absolute",bottom:"50%",transform:"translate(-50%, -50%)",rotate:n,top:r,scale:o},children:(0,c.tZ)(s.xu,{position:"relative",children:(0,c.tZ)(z.ZP,{src:(0,D.Z)("https://cdn.hellofresh.com/us/cms/plp/animated_chili.png"),width:200,height:48,alt:"Chili Pepper"})})})},eZ=function(e){var t=e.title,n=e.scrollProgress,r=(0,b.H)(n,[.3,.4],[0,1]),o=(0,b.H)(n,[.3,.4],["28%","20%"]);return(0,c.tZ)(m.E.div,{style:{maxWidth:"300px",textAlign:"center",position:"absolute",top:o,opacity:r},children:(0,c.tZ)(s.xv,{as:"h2",textAlign:"center",children:t})})},ek=[.3,.5,.7,1],eP=[.5,.7,.9],eS=function(e){var t=e.index,n=e.title,r=e.description,o=e.scrollProgress,i=(0,b.H)(o,[ek[t],eP[t],ek[t+1]],[0,1,2!==t?0:1]);return(0,c.tZ)(m.E.div,{style:{position:"absolute",width:"100%",height:"100%",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",textAlign:"center",opacity:i},children:(0,c.BX)(s.xu,{maxWidth:"200px",children:[(0,c.tZ)(s.xv,{as:"h1",children:n}),(0,c.tZ)(s.xv,{type:"body-xs-regular",children:r})]})})},ej=function(e){var t=e.content,n=void 0===t?[]:t,r=e.scrollProgress,o=(0,b.H)(r,[.3,.4],["25%","10%"]),i=(0,b.H)(r,[.3,.4],[0,1]);return!n.length||n.length>3?null:(0,c.tZ)(m.E.div,{style:{position:"absolute",maxHeight:"300px",overflow:"hidden",bottom:o,opacity:i},children:(0,c.tZ)(s.xu,{position:"relative",display:"flex",justifyContent:"center",flexDirection:"column",width:"300px",height:"300px",children:n.map(function(e,t){return(0,c.BX)(u.Fragment,{children:[(0,c.tZ)(z.ZP,{src:(0,D.Z)("https://cdn.hellofresh.com/us/cms/plp/plate.png"),alt:"Plate Image",style:{objectFit:"contain"},width:300,height:300}),(0,c.tZ)(eS,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({index:t,scrollProgress:r},e),t)]},t)})})})},eC=function(e){var t=e.scrollProgress,n=(0,b.H)(t,[.3,.4],[1,0]);return(0,c.BX)(c.HY,{children:[(0,c.tZ)(z.ZP,{src:(0,D.Z)("https://cdn.hellofresh.com/us/cms/plp/BenfitsBackground.png"),alt:"Plate Image",style:{objectFit:"cover"},fill:!0}),(0,c.tZ)(m.E.div,{style:{opacity:n},children:(0,c.tZ)(z.ZP,{src:(0,D.Z)("https://cdn.hellofresh.com/us/cms/plp/Value_Props-2x.png"),alt:"Plate Image",style:{to
1p:"-15%",objectFit:"cover",transform:"scale(1.4)"},fill:!0})})]})},eI=function(e){var t=e.title,n=e.content,r=(0,u.useRef)(null),o=(0,u.useRef)(null),i=(0,h.v)({target:r,offset:["start center","end end"]}).scrollYProgress,l=u.useContext(P.Z).stickyBarAlignment;return(0,c.tZ)(s.xu,{backgroundColor:"neutral.100",height:["360vh","100%"],position:"relative",ref:r,children:(0,c.BX)(s.xu,{display:"flex",flexDirection:"column",alignItems:"center",height:"85vh",position:"sticky",top:"top"===l?70:0,justifyContent:"start",ref:o,overflow:"hidden",children:[(0,c.tZ)(eC,{scrollProgress:i}),t&&(0,c.tZ)(eZ,{title:t,scrollProgress:i}),(0,c.tZ)(eO,{scrollProgress:i}),(0,c.tZ)(ej,{content:n,scrollProgress:i})]})})},eA=function(e){var t=e.title,n=e.content;return(0,c.BX)(s.xu,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"start",overflow:"hidden",backgroundImage:"url(".concat("https://cdn.hellofresh.com/landing-pages/BenefitsSection/ValuePropsDesktopBg.png",")"),backgroundSize:"cover",backgroundPosition:"center",p:"global.xl-1",children:[(0,c.tZ)(s.xu,{position:"relative",mb:"global.sm-2",children:(0,c.tZ)(z.ZP,{src:(0,D.Z)("https://cdn.hellofresh.com/us/cms/plp/animated_chili.png"),width:100,height:24,alt:"Chili Pepper"})}),t&&(0,c.tZ)(s.xv,{as:"h2",textAlign:"center",children:t}),(0,c.tZ)(s.xu,{display:"flex",justifyContent:"center",mt:"global.md-2",minWidth:["100%","960px","1140px"],children:n.map(function(e,t){var n=e.title,r=e.description;return(0,c.tZ)(s.xu,{position:"relative",backgroundImage:"url(".concat("https://cdn.hellofresh.com/us/cms/plp/plate.png",")"),backgroundSize:"contain",backgroundPosition:"center",height:["200px","260px","360px"],width:["200px","260px","360px"],display:"flex",justifyContent:"center",alignItems:"center",children:(0,c.BX)(s.xu,{width:["160px","160px","240px"],maxHeight:"240px",overflow:"hidden",textAlign:"center",children:[(0,c.tZ)(s.xu,{display:["none","none","block"],children:(0,c.tZ)(s.xv,{as:"h2",children:n})}),(0,c.tZ)(s.xu,{display:["none","block","none"],children:(0,c.tZ)(s.xv,{as:"h2",children:n})}),(0,c.tZ)(s.xv,{type:"body-xs-regular",mt:"global.xs",children:r})]})},t)})})]})},e_=function(e){var t=e.title,n=e.content,r=(0,u.useRef)(null);return(0,c.BX)(s.xu,{backgroundColor:"neutral.100",height:["360vh","100%"],position:"relative",ref:r,children:[(0,c.tZ)(s.xu,{display:["block","none"],children:(0,c.tZ)(eI,{title:t,content:n})}),(0,c.tZ)(s.xu,{display:["none","block"],children:(0,c.tZ)(eA,{title:t,content:n})})]})},eB=n(509957);function eD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var eT=function(e){var t,n,r,o=e.peopleLabel,i=e.mealsLabel,l=e.weekLabel,a=e.setActiveItem,d=e.index,p=e.totalPrice,h=e.discountPrice,b=e.mealsSize,f=e.peopleSize,m=function(e){if(Array.isArray(e))return e}(t=(0,eB.YD)({threshold:.9}))||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(n=o.next()).done)&&(i.push(n.value),2!==i.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return eD(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eD(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),g=m[0],y=m[1];(0,u.useEffect)(function(){y&&a&&a(d)},[y,d,a]);var v=h!==p;return(0,c.tZ)(s.xu,{ref:g,children:(0,c.BX)(s.xu,{backgroundColor:y?"primary.200":"primary.300",borderRadius:"border-radius-md",py:"sm-2",px:"sm-2",children:[(0,c.tZ)(s.xu,{my:"xxs",children:(0,c.BX)(s.xv,{as:"h3",children:[f," ",o," x ",b," ",i]})}),(0,c.BX)(s.xv,{as:"p",textAlign:"center",children:[(0,c.tZ)(s.xv,(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},v&&{strikethrough:!0}),r=r={children:v?p:"".concat(p," / ")},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}
1)(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n)),v&&(0,c.BX)(s.xv,{type:"body-md-bold",children:[" ",h," / "]}),l]})]})})},eE=n(332576),ez=function(e){var t=e.units,n=e.nanos;return(void 0===t?0:t)+(void 0===n?0:n)/1e9},eU=function(e,t,n,r,o){var i,l,a,c=(0,L.Z)(),u=(0,H.Z)(),s=(0,F.ZP)(),d=(0,V.B)(N.d.ACTIVATION_SUBSCRIPTION),p=(0,x.Z)(),h=p.planFamily,b=p.isPlansConfigFetched,f=p.defaultSku;if(t&&n)a=n;else{var m=f.split("-");a=[{meals:m[2],people:m[3]}]}var g=null==h?void 0:null===(i=h.children)||void 0===i?void 0:i.filter(function(e){var t=e.specs,n=t.meals,r=t.size;return null==a?void 0:a.some(function(e){return Number(e.meals)===n&&Number(e.people)===r})}),y=(0,R.RA)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({productIds:(null==g?void 0:g.map(function(e){return e.handle}))||[],voucherCode:e||"",zipCode:r,hfPublicID:s},d&&{headers:d}),{enabled:b&&g&&(null==g?void 0:g.length)>0,suspense:!1}).data,v=null==y?void 0:null===(l=y.products)||void 0===l?void 0:l.map(function(e){var t=e.price,n=e.totalPrice,r=e.shippingFee,i=e.shippingDiscount,l=e.id,a=null==g?void 0:g.find(function(e){return e.handle===l}),s=t.units,d=t.nanos,p=n.units,h=n.nanos,b=r.units,f=void 0===b?0:b,m=r.nanos,y=void 0===m?0:m,v=i.units,x=i.nanos;return{totalPrice:(0,W.h9)(ez(o?{units:(void 0===s?0:s)+f,nanos:(void 0===d?0:d)+y}:t),!1,c,u),discountPrice:(0,W.h9)(ez(o?{units:(void 0===p?0:p)+f-(void 0===v?0:v),nanos:(void 0===h?0:h)+y-(void 0===x?0:x)}:n),!1,c,u),mealsSize:null==a?void 0:a.specs.meals,peopleSize:null==a?void 0:a.specs.size}});return v&&n?(0,eE.J)(v,n):v};function eM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var eX=function(e){var t,n=e.content,r=e.couponCode,o=e.showMultiplePlan,i=void 0!==o&&o,l=e.plansPreferenceOptions,a=(0,u.useRef)([]),d=function(e){if(Array.isArray(e))return e}(t=u.useState(0))||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(n=o.next()).done)&&(i.push(n.value),2!==i.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return eM(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return eM(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),p=d[0],h=d[1],b=n.peopleLabel,f=n.mealsLabel,m=n.weekLabel,g=n.badge,y=eU(r,i,l);if(!y||!y.length)return null;var v=function(e){a.current[e].scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})};return(0,c.BX)(s.xu,{width:"100%",position:"relative",children:[(0,c.tZ)(s.xu,{display:"flex",gap:"sm-1",overflowX:"scroll",alignItems:"end",scrollSnapType:"x mandatory",scrollBehavior:"smooth",__dangerouslySetCustomCSS:{scrollbarWidth:"none","::-webkit-scrollbar":{display:"none"},WebkitOverflowScrolling:"touch"},children:y.map(function(e,t){return(0,c.BX)(s.xu,{ref:function(e){a.current[t]=e},flex:i?"0 0 300px":"0 0 100%",maxWidth:"100%",scrollSnapAlign:"start","data-test-id":"plans-card-".concat(t),children:[g&&0===t&&(0,c.tZ)(s.xu,{position:"relative",bottom:"-12px",children:(0,c.tZ)(s.Ct,{content:g,size:"sm",variant:"error"})}),(0,c.tZ)(eT,{peopleLabel:b,mealsLabel:f,weekLabel:m,setActiveItem:h,index:t,totalPrice:e.totalPrice,discountPrice:e.discountPrice,mealsSize:e.mealsSize,peopleSize:e.peopleSize})]},t)})}),(0,c.tZ)(s.xu,{display:"flex",justifyContent:"center",gap:"sm-1",mt:"lg-2",children:i&&y.map(function(e,t){return(0,c.tZ)(s.xu,{width:"8px",height:"8px",borderWidth:"2px",borderColor:"primary.600",backgroundColor:p===t?"primary.600":"transparent",borderStyle:"solid",borderRadius:"border-radius-circle",onClick:function(){return v(t)}},t)})})]})},eR=function(e){var t=e.content,n=e.couponCode,r=e.showMultiplePlan,o=void 0!==r&&r,i=e.plansPreferenceOptions,l=t.peopleLabel,a=t.mealsLabel,u=t.weekLabel,d=t.badge,p=eU(n,o,i);if(!p||!p.length)return null;var h=o?[1,0,2].map(function(e){return p[e]}):p,b=o?1:0;return(0,c.tZ)(s.xu,{display:"flex",alignItems:"flex-end",gap:"global.sm-2",justifyContent:"center",maxWidth:["100%","768px","1140px"],mx:"auto",my:"zero",children:h.map(function(e,t){return e?(0,c.BX)(s.xu,{flex:"0 0 30%",maxWidth:"100%",scrollSnapAlign:"start","data-test-id":"plans-card-".concat(t),children:[d&&t===b&&(0,c.tZ)(s.xu,{position:"relative",bottom:"-12px",children:(0,c.tZ)(s.Ct,{content:d,size:"sm",variant:"error"})}),(0,c.tZ)(eT,{peopleLabel:l,mealsLabel:a,weekLabel:u,index:t,totalPrice:e.totalPrice,discountPrice:e.discountPrice,mealsSize:e.mealsSize,peopleSize:e.peopleSize})]},t):null})})}
1,eL=function(e){var t=e.title,n=e.subtitle,r=e.content,o=e.couponCode,i=e.sectionId,l=e.queryParams,a=(0,p.h)(i).handleGAEventClick,u=r.ctaLabel,h=r.disclaimer,b=r.ctaUrl,f=r.plansPreferenceOptions,m=!!(f&&f.length>1);return(0,c.BX)(s.xu,{backgroundColor:"neutral.100",display:"flex",flexDirection:"column",alignItems:"center",textAlign:"center",paddingY:"lg-1",children:[t&&(0,c.tZ)(s.xu,{px:"sm-1",children:(0,c.tZ)(s.xv,{strong:!0,as:"h2",children:t})}),n&&(0,c.tZ)(s.xv,{strong:!0,as:"h4",mt:"sm-1",children:n}),(0,c.tZ)(s.xu,{width:"100%",p:"md-1",display:["block","none"],children:(0,c.tZ)(eX,{couponCode:o,content:r,showMultiplePlan:m,plansPreferenceOptions:f})}),(0,c.tZ)(s.xu,{width:"100%",p:"md-1",display:["none","block"],children:(0,c.tZ)(eR,{couponCode:o,content:r,showMultiplePlan:m,plansPreferenceOptions:f})}),u&&b&&(0,c.tZ)(s.xu,{display:"flex",justifyContent:"center",children:(0,c.tZ)(s.rU,{href:(0,d.BG)(b,l),noStyle:!0,children:(0,c.tZ)(s.zx.Primary,{onClick:function(){a(u)},children:u})})}),h&&(0,c.tZ)(s.xu,{pt:"sm-2",children:(0,c.tZ)(s.xv,{as:"span",type:"body-xs-regular",children:h})})]})},eH=n(581340),eW=n(921318),eF=n(403647),eV=n(632117),eN=n(822897),eY=n(527157),eq=n(783045),e$=function(e){var t,n,r,o=e.tag,i=e.theme,l=void 0===i?"light":i,a=(0,eq.Fg)().colors,u=null===(n=a.alias)||void 0===n?void 0:null===(t=n.brand)||void 0===t?void 0:t.background.dark,d=null===(r=a.global)||void 0===r?void 0:r.gray["800"],p="light"===l?d:u,h=function(e){return"radial-gradient(circle at ".concat(e," 50%, transparent 10px, ").concat("light"===l?d:u," 10px)")},b=h("0%"),f=h("100%");return(0,c.BX)(s.xu,{display:"flex",justifyContent:"center",children:[(0,c.tZ)(s.xu,{flex:["20px 0 0","20px 0 0","24px 0 0"],background:b,borderTopLeftRadius:"border-radius-sm",borderBottomLeftRadius:"border-radius-sm","data-test-id":"left-circle-cut"}),(0,c.tZ)(s.xu,{flex:"1",display:"flex",as:"p",justifyContent:"center",alignItems:"center",backgroundColor:p,minWidth:"fit-content",py:["global.xs","global.xs","global.sm-1"],fontSize:["body-md-regular","body-md-regular","body-lg-regular"],color:"light"===l?"global.white":"global.gray.800",children:o}),(0,c.tZ)(s.xu,{flex:["20px 0 0","20px 0 0","24px 0 0"],background:f,borderTopRightRadius:"border-radius-sm",borderBottomRightRadius:"border-radius-sm","data-test-id":"right-circle-cut"})]})},eG=n(13882),eQ=n(502408),eK=function(e){var t=e.title,n=e.subTitle,r=e.tag,o=e.showSpinner,i=e.discountText,l=e.theme,a=e.alignment,u=void 0===a?"left":a,d=e.logoUrl,p=e.hideSubtitleOnMobile,h=e.isExperimentalView,b="dark"===l?"global.white":"global.gray.800",f="center"===u?"center":"flex-start",m="center"===u?"center":"left";return(0,c.BX)(s.xu,{width:h?"100%":["100%","400px","490px"],textAlign:["center","left"],px:["global.sm-2","zero"],children:[d&&(0,c.tZ)(s.xu,{display:"flex",justifyContent:["center",f],mb:"global.sm-2","data-test-id":"banner-section-logo",children:(0,c.tZ)(eG.Z,{href:"",src:(0,eQ.LJ)(d)})}),o?(0,c.tZ)(s.xu,{"data-test-id":"spin-icon",width:"100%",mb:"global.md-1",display:"flex",justifyContent:["center",f],children:(0,c.tZ)(s.$j,{size:"md",variant:"primary"})}):(0,c.BX)(s.xu,{display:"flex",flexDirection:"column",alignItems:["center",f],width:"100%",marginX:["zero","center"===u?"auto":"global.none"],children:[t&&(0,c.tZ)(s.xv,{as:"h1",color:b,textAlign:["center",m],"data-test-id":"banner-section-title",children:(0,c.tZ)(K.Z,{copy:t,hasMarkdown:!0})}),n&&!(void 0!==p&&p)&&(0,c.tZ)(s.xv,{type:["body-md-regular","body-lg-regular"],color:b,textAlign:["center",m],"data-test-id":"banner-section-subtitle",mt:h?"global.xs":void 0,children:(0,c.tZ)(K.Z,{copy:n,hasMarkdown:!0})}),i&&!h&&(0,c.tZ)(s.xv,{"data-test-id":"banner-section-discount",mt:"global.xs",color:b,textAlign:["center",m],children:(0,c.tZ)(K.Z,{copy:i,hasMarkdown:!0})}),r&&!h&&(0,c.tZ)(s.xu,{mt:"global.sm-2",mb:"global.sm-1","data-test-id":"banner-section-tag",children:(0,c.tZ)(e$,{tag:r,theme:l})})]})]})},eJ=n(35959),e0=function(e){var t,n,r=e.handleClick,o=e.theme,i=(0,eq.Fg)().colors,l=null===(t=i.global)||void 0===t?void 0:t.white,a=null===(n=i.global)||void 0===n?void 0:n.gray[800],u="light"===o?s.hU.Primary:s.hU.Secondary;return(0,c.tZ)(s.xu,{mb:["global.sm-2","global.md-2"],width:"100%",maxWidth:"1140px",children:(0,c.tZ)(s.xu,{display:"flex",justifyContent:"center",children:(0,c.tZ)(s.xu,{borderRadius:"global.circle",backgroundColor:"light"===o?"shared-alias.neutral.background.transparent":"global.white",children:(0,c.tZ)(u,{size:"sm",onClick:r,icon:(0,c.tZ)(eJ.default,{color:"light"===o?l:a}),"data-test-id":"banner-section-icon-cta"})})})})},e1=n(579894),e2=n.n(e1),e3=function(e){var t=e.href,n=e.children;return t?(0,c.tZ)(e2(),{href:t,legacyBehavior:!0,passHref:!0,prefetch:!1,children:n}):n},e4=function(e){var t=e.disclaimer,n=e.textColor,r=e.bgColor,o=e.isExperimentalView;return(0,c.tZ)(s.xu,{textAlign:"center",backgroundColor:null!=r?r:"global.black",p:o?"global.xs":"global.sm-2",width:"100%","data-test-id":"banner-section-disclaimer",children:(0,c.tZ)(s.xv,{type:"body-sm-regular",color:null!=n?n:"global.white",children:t})})},e5=n(543790);function e8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var e7=(e8(a={},e5.Z.hellofresh,"global.hellofresh.brand-medium-green.600"),e8(a,e5.Z.factor,"alias.action.background.primary.default"),e8(a,e5.Z.greenchef,"alias.brand.background.default"),e8(a,e5.Z.everyplate,"alias.brand.background.default"),e8(a,e5.Z.chefsplate,"alias.brand.background.default"),e8(a,e5.Z.youfoodz,"alias.brand.background.default"),e8(a,e5.Z.goodchop,"alias.brand.background.default"),e8(a,e5.Z.petstable,"alias.brand.background.default"),a),e6=function(e){return!!e&&[".mp4",".webm",".ogg",".mov",".avi"].some(function(t){return e.toLowerCase().includes(t)})},e9=function(e,t){return e?function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({as:"a",href:e,textDecoration:"none"},t&&{target:"_blank",rel:"noopener noreferrer"}):{as:"button"}},te=function(e){var t,n,r=e.disclaimerTextColor,o=e.disclaimerFillColor,i=e.heroBannerDisclaimerText,l=e.theme,a=e.ctaLabel,u=e.ctaHref,d=e.openCtaUrlInNewTab,p=e.handleCtaClick,h=e.handleShowDownArrowClick,b=e.logoUrl,f=e.heroBannerTextTheme,m=e.discountText,g=e.showSpinner,y=e.heroBannerFreeAddOnTag,v=e.heroBannerSubtitle,x=e.heroBannerTitle,w=e.backgroundColor,O=e.heroBackgroun
1dImageUrlTablet,Z=e.heroBackgroundImageUrlDesktop,k=e.alignment,P=e.showCtaOnDesktop,S=e.showDownArrowOnDesktop,j=e.isExperimentalView,C=e.showDisclaimerInline,I=(0,eY.Z)(),A="center"===k?"center":"flex-start",_="light"===f?s.zx.Primary:s.zx.Tertiary,B=e6(Z),T=e6(O),E=Z&&!B&&"https://img.hellofresh.com/q_auto,f_auto,c_limit,fl_lossy/"+(0,D.Z)(Z,eN.b.website),z=O&&!T&&"https://img.hellofresh.com/q_auto,f_auto,c_limit,fl_lossy/"+(0,D.Z)(O,eN.b.website);return(0,c.BX)(s.xu,{position:"relative",backgroundColor:null!=w?w:j?e7[I]:"alias.elevation.level-1",children:[(0,c.BX)(s.xu,{height:j?tS:"680px",overflow:"hidden",display:j?"flex":"block",flexDirection:j?"row-reverse":void 0,gap:j?"global.md-2":void 0,children:[(0,c.BX)(s.xu,{height:"100%",width:"100%",position:j?"relative":"absolute",display:"block",id:"hero-banner-bg-img-desktop",overflow:"hidden",children:[(0,c.tZ)(s.xu,{display:["block","none"],height:"100%",width:"100%"}),(0,c.tZ)(s.xu,{display:["none","block","none"],height:"100%",width:"100%",position:"absolute",top:"0",left:"0",children:T&&O?(0,c.tZ)("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,style:{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"},children:(0,c.tZ)("source",{src:O,type:"video/mp4"})}):z?(0,c.tZ)(s.xu,{height:"100%",width:"100%",backgroundImage:"url('".concat(z,"')"),backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}):null}),(0,c.tZ)(s.xu,{display:["none","none","block"],height:"100%",width:"100%",position:"absolute",top:"0",left:"0",children:B&&Z?(0,c.tZ)("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,style:{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"},children:(0,c.tZ)("source",{src:Z,type:"video/mp4"})}):E?(0,c.tZ)(s.xu,{height:"100%",width:"100%",backgroundImage:"url('".concat(E,"')"),backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}):null})]}),(0,c.tZ)(s.xu,{position:j?"relative":"absolute",width:"100%",height:"100%",overflow:"hidden",px:j?"global.md-1":void 0,children:(0,c.tZ)(s.xu,{display:"flex",width:"100%",height:"100%",maxWidth:j?["100%","".concat(482,"px"),"".concat(570,"px")]:["100%","964px","1140px"],marginY:"zero",marginX:"auto",mr:j?void 0:"auto",alignItems:["flex-start","center","center"],position:"relative",top:"zero",justifyContent:"center",children:(0,c.BX)(s.xu,{display:"flex",width:"100%",justifyContent:"center"===k?"center":"flex-start",pl:j&&"center"!==k?"global.none":["zero","md-1","zero"],flexDirection:"column",gap:"sm-1",alignItems:"center"===k?"center":"flex-start",children:[(0,c.tZ)(eK,{title:x,subTitle:v,tag:y,showSpinner:g,discountText:m,theme:f,alignment:k,logoUrl:b,isExperimentalView:j}),(void 0===P||P)&&a&&(0,c.tZ)(s.xu,{display:"flex",justifyContent:A,"data-test-id":"banner-section-cta",pt:j?["global.md-1","global.md-2"]:void 0,children:(0,c.tZ)(s.xu,{borderRadius:"global.sm",backgroundColor:"light"===f?"shared-alias.neutral.background.transparent":"global.white",children:(0,c.tZ)(e3,{href:u,children:(0,c.tZ)(_,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({size:"sm"},e9(u,d)),n=n={onClick:p,"data-test-id":"banner-section-button-cta-desktop",children:(0,c.BX)(s.xv,{color:"light"===f?"global.white":"global.gray.800",children:[" ",a]})},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))})})}),!!(C&&i)&&(0,c.tZ)(s.xv,{"data-test-id":"banner-inline-discliamer",type:"body-xs-regular",color:null!=r?r:"dark"===f?"global.white":"global.gray.800",children:i})]})})})]}),(0,c.tZ)(s.xu,{position:"absolute",bottom:"0",width:"100%",children:(0,c.BX)(s.xu,{display:"flex",flexDirection:"column",alignItems:"center",children:[void 0!==S&&S&&(0,c.tZ)(e0,{handleClick:h,theme:l,alignment:k}),!!i&&!C&&(0,c.tZ)(e4,{disclaimer:i,bgColor:o,textColor:r})]})})]})},tt=n(954409),tn=function(e){var t,n,r=e.type,o=e.disableShadow,i=e.partnerLogo,l=(0,tt.D)(),a=l.name,u=l.wideLogoURL,d=l.width,p=l.height;return(0,c.BX)(s.xu,(t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({height:"".concat(70,"px"),backgroundColor:"light"===(void 0===r?"light":r)?"neutral.100":"primary.700",display:["flex","none","none"],justifyContent:"center",alignItems:"center",position:"absolute",top:"0",width:"100%",padding:i?"global.xs":void 0},!o&&{boxShadow:"shadow-md"}),n=n={children:[(0,c.tZ)(s.xu,{position:"relative",display:"inline-block",width:d,height:p,children:(0,c.tZ)(z.ZP,{src:(0,D.Z)(u),alt:"".concat(a," Logo"),fill:!0,fetchFormat:(0,eQ.jM)(u)?"svg":void 0})}),i&&(0,c.BX)(c.HY,{children:[(0,c.tZ)(s.xu,{marginX:"global.sm-1",children:"+"}),(0,c.tZ)(s.xu,{position:"relative",display:"inline-block",maxHeight:"100%",height:p,children:(0,c.tZ)("img",{height:"100%",src:i,alt:"Partner Logo"})})]})]},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}
1)(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))};function tr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}var to=function(e){var t,n,r,o,i=e.label,l=e.href,a=e.openCtaUrlInNewTab,u=e.handleCtaClick,d=e.theme,p=e.alignment,h=e.showDownArrowOnMobile,b=e.showCtaOnMobile,f=e.handleShowDownArrowClick,m=e.isExperimentalView,g=e.downArrowAriaLabel,y=(0,eq.Fg)().colors,v=null===(r=y.global)||void 0===r?void 0:r.white,x=null===(o=y.global)||void 0===o?void 0:o.gray[800],w="light"===d?"shared-alias.neutral.background.transparent":"global.white",O="light"===d?s.zx.Primary:s.zx.Tertiary,Z="light"===d?s.hU.Primary:s.hU.Secondary;return(0,c.BX)(s.xu,{mb:[m?void 0:"global.sm-2","global.md-2"],width:"100%",maxWidth:"1140px",children:[b&&i&&(0,c.tZ)(s.xu,{display:"flex",justifyContent:["center","center"===p?"center":"flex-start"],"data-test-id":"banner-section-cta",pl:["zero","global.md-2","zero"],mb:"global.xxs",children:(0,c.tZ)(s.xu,{borderRadius:"global.sm",backgroundColor:w,children:(0,c.tZ)(e3,{href:l,children:(0,c.tZ)(O,(t=tr({size:"sm"},e9(l,a)),n=n={onClick:u,"data-test-id":"banner-section-button-cta-mobile",children:(0,c.BX)(s.xv,{color:"light"===d?"global.white":"global.gray.800",children:[" ",i]})},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}),t))})})}),h&&!m&&(0,c.tZ)(s.xu,{display:"flex",justifyContent:"center",children:(0,c.tZ)(s.xu,{borderRadius:"global.circle",backgroundColor:w,children:(0,c.tZ)(Z,tr({size:"sm",onClick:f,icon:(0,c.tZ)(eJ.default,{color:"light"===d?v:x}),"data-test-id":"banner-section-icon-cta"},g&&{"aria-label":g}))})})]})},ti=function(e){var t=e.disclaimerTextColor,n=e.disclaimerFillColor,r=e.heroBannerDisclaimerText,o=e.theme,i=e.ctaLabel,l=e.ctaHref,a=e.openCtaUrlInNewTab,d=e.handleCtaClick,p=e.handleShowDownArrowClick,h=e.logoUrl,b=e.heroBannerTextTheme,f=e.discountText,m=e.showSpinner,g=e.heroBannerFreeAddOnTag,y=e.heroBannerSubtitle,v=e.heroBannerTitle,x=e.backgroundColor,w=e.alignment,O=e.hideTopBar,Z=e.heroBackgroundImageUrlMobile,k=e.hideSubtitleOnMobile,P=e.showCtaOnMobile,S=e.showDownArrowOnMobile,j=void 0===S||S,C=e.isExperimentalView,I=e.topBarPartnerLogo,A=e.showDisclaimerInline,_=e.enableOverridenCTA,B=e7[(0,eY.Z)()],T=C?null!=x?x:B:"transparent",E="Scroll down to view more content",z=(0,u.useMemo)(function(){var e;return C?"".concat(tS+70,"px"):(null===(e=CSS)||void 0===e?void 0:e.supports)&&CSS.supports("height","100svh")?"calc(100svh - 70px)":"calc(100vh - 70px)"},[C]),U=e6(Z),M=Z&&!U&&"https://img.hellofresh.com/q_auto,f_auto,c_limit,fl_lossy/"+(0,D.Z)(Z,eN.b.website);return(0,c.BX)(s.xu,{height:z,position:"relative",backgroundColor:null!=x?x:C?B:"alias.elevation.level-1",overflow:"hidden",children:[(0,c.tZ)(s.xu,{height:"100%",width:"100%",position:"absolute",display:"block",id:"hero-banner-bg-img-mobile",backgroundColor:T,overflow:"hidden",children:!C&&(0,c.tZ)(c.HY,{children:U&&Z?(0,c.tZ)("video",{autoPlay:!0,muted:!0,loop:!0,playsInline:!0,"aria-hidden":"true",tabIndex:-1,style:{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"},children:(0,c.tZ)("source",{src:Z,type:"video/mp4"})}):M?(0,c.tZ)(s.xu,{height:"100%",width:"100%",backgroundImage:"url('".concat(M,"')"),backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}):null})}),!(void 0===O||O)&&(0,c.tZ)(tn,{partnerLogo:I}),(0,c.tZ)(s.xu,{position:"absolute",width:"100%",height:"100%",overflow:"hidden",top:"0",paddingTop:"".concat(110,"px"),children:(0,c.BX)(s.xu,{display:"flex",flexDirection:C?"column":void 0,width:C?void 0:"100%",height:"100%",maxWidth:"100%",marginY:"zero",marginX:"auto",alignItems:"flex-start",position:C?"static":"relative",top:"5%",justifyContent:"center",children:[(0,c.BX)(s.xu,{display:"flex",width:"100%",flexDirection:"column",boxSizing:"border-box",children:[(0,c.tZ)(eK,{title:v,subTitle:y,tag:g,showSpinner:m,discountText:f,theme:b,alignment:w,logoUrl:h,hideSubtitleOnMobile:k,isExperimentalView:C}),_&&!C&&(0,c.tZ)(s.xu,{mt:"global.md-1",px:"global.sm-2",children:(0,c.tZ)(to,{label:i,href:l,openCtaUrlInNewTab:a,handleCtaClick:d,theme:b,alignment:"center",showCtaOnMobile:P,showDownArrowOnMobile:!1,handleShowDownArrowClick:p,downArrowAriaLabel:E})}),C&&(0,c.BX)(s.xu,{paddingTop:"global.md-1",textAlign:"center",children:[(0,c.tZ)(to,{label:i,href:l,openCtaUrlInNewTab:a,handleCtaClick:d,theme:b,alignment:w,showCtaOnMobile:P,showDownArrowOnMobile:j,handleShowDownArrowClick:p,isExperimentalView:C,downArrowAriaLabel:E}),!!r&&(A?(0,c.tZ)(s.xu,{px:"global.sm-2",pt:"global.sm-2","data-test-id":"banner-inline-discliamer",children:(0,c.tZ)(s.xv,{"data-test-id":"banner-inline-discliamer",mt:"global.sm-2",type:"body-xs-regular",color:null!=t?t:"dark"===o?"global.white":"global.gray.800",children:r})}):(0,c.tZ)(e4,{disclaimer:r,bgColor:n,textColor:t,isExperimentalView:C}))]})]}),C&&(0,c.tZ)(s.xu,{marginTop:"global.md-1",backgroundColor:T,width:"100%",flexGrow:1,overflow:"hidden",position:"relative",children:U&&Z?(0,c.tZ)("video",{autoPlay:!0,muted:!0,loop:!0,playsInl
1ine:!0,"aria-hidden":"true",tabIndex:-1,style:{width:"100%",height:"100%",objectFit:"cover",objectPosition:"center"},children:(0,c.tZ)("source",{src:Z,type:"video/mp4"})}):M?(0,c.tZ)(s.xu,{height:"100%",width:"100%",backgroundImage:"url(".concat(M,")"),backgroundSize:"cover",backgroundPosition:"center",backgroundRepeat:"no-repeat"}):null})]})}),!C&&(0,c.tZ)(s.xu,{position:"absolute",bottom:"0",width:"100%",children:(0,c.BX)(s.xu,{display:"flex",flexDirection:"column",alignItems:"center",children:[!_&&(0,c.tZ)(to,{label:i,href:l,openCtaUrlInNewTab:a,handleCtaClick:d,theme:b,alignment:w,showCtaOnMobile:P,showDownArrowOnMobile:j,handleShowDownArrowClick:p,downArrowAriaLabel:E}),!!r&&(A?(0,c.tZ)(s.xv,{"data-test-id":"banner-inline-discliamer",mt:"global.sm-2",type:"body-xs-regular",color:null!=t?t:"global.gray.800",children:r}):(0,c.tZ)(e4,{disclaimer:r,bgColor:n,textColor:t,isExperimentalView:C}))]})})]})},tl=n(112696),ta=tl.z.object({title:tl.z.string().optional(),subTitle:tl.z.string().optional(),content:tl.z.custom(),couponCode:tl.z.union([tl.z.string(),tl.z.null()]).optional(),sectionId:tl.z.string(),contentType:tl.z.string(),queryParams:tl.z.custom(),disclaimer:tl.z.string().optional(),discountText:tl.z.string().optional(),bannerMobileBackground:tl.z.string().optional(),bannerDesktopBackground:tl.z.string().optional(),bannerTabletBackground:tl.z.string().optional(),logoUrl:tl.z.string().optional(),disablePPSOverride:tl.z.boolean().optional(),paidLP_publicId:tl.z.string().optional()}),tc=n(26730),tu=n(456552),ts=n(567921),td=n.n(ts),tp=n(671718),th=n(447178),tb=n(140224),tf=n(699219),tm=function(e){var t=e.locale,n=e.systemCountry,r=e.discountCommunicationId,o=e.hf_public_id;return[tf.Z["price-presentation-service-configurator.discountCommunication"],{locale:t,systemCountry:n,discountCommunicationId:r,hf_public_id:o}]};function tg(e,t,n,r,o,i,l){try{var a=e[i](l),c=a.value}catch(e){n(e);return}a.done?t(c):Promise.resolve(c).then(r,o)}var ty=(o=function(e,t){var n,r,o,i,l,a=arguments;return function(e,t){var n,r,o,i,l={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw TypeError("Generator is already executing.");for(;l;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return l.label++,{value:i[1],done:!1};case 5:l.label++,r=i[1],i=[0];continue;case 7:i=l.ops.pop(),l.trys.pop();continue;default:if(!(o=(o=l.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){l=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){l.label=i[1];break}if(6===i[0]&&l.label<o[1]){l.label=o[1],o=i;break}if(o&&l.label<o[2]){l.label=o[2],l.ops.push(i);break}o[2]&&l.ops.pop(),l.trys.pop();continue}i=t.call(e,l)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}(this,function(c){switch(c.label){case 0:return n=e.systemCountry,r=e.locale,o=e.parentSpan,i=e.discountCommunicationId,l=e.hf_public_id,[4,(a.length>2&&void 0!==a[2]?a[2]:tp.Z)("/price-presentation/discount_communications/".concat(i),t,{query:{country:n,locale:r,dc_id:i,hf_public_id:l},parentSpan:o})];case 1:return[2,c.sent().json()]}})},i=function(){var e=this,t=arguments;return new Promise(function(n,r){var i=o.apply(e,t);function l(e){tg(i,n,r,l,a,"next",e)}function a(e){tg(i,n,r,l,a,"throw",e)}l(void 0)})},function(e,t){return i.apply(this,arguments)}),tv=function(e,t){var n,r,o=(0,eH.t)().query.discount_comm_id,i=(0,u.useMemo)(function(){return td().get("hf_discount_comm_id")},[]),l=(Array.isArray(o)?o[0]:o)||i||e.discountCommunicationId,a=(0,th.Z)().fetch,c=(n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},e,(0,tb.O)()),r=r={discountCommunicationId:l},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}
1)(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n),s=tm(c);return(0,tu.useQuery)(s,function(){return ty(c,s,a)},t)},tx=function(e){var t=e.discountCommunicationId,n=e.paidLP_publicId,r=e.isEnabled,o=(0,g.z)("modular-landing-pages").data,i=(null==o?void 0:o.pricePresentationMLP)===!0&&(void 0===r||r)&&t,l=tv({discountCommunicationId:t||"",hf_public_id:n||""},{enabled:!!i,suspense:!1,retry:2}),a=l.isSuccess,c=l.data;return{displayPricePresentation:!!a,isPricePresentationLoading:l.isLoading,discountCommunicationInfo:c||null}},tw=function(e){var t,n,r=e.ppsTemplateImage,o=e.ppsPresetImage,i=e.contentfulImage,l=e.fallbackImage;return e.shouldDisableImagesFromPPS?null===(t=i||l)||void 0===t?void 0:t.trim():null===(n=(null==r?void 0:r.trim())||(null==o?void 0:o.trim())||i||l)||void 0===n?void 0:n.trim()},tO=[tc.Z.ES,tc.Z.US],tZ=function(e){var t=e.query.page;return null==t?void 0:t.includes("homepage")},tk=function(e){var t,n,r,o,i,l,a=e.couponCode,c=e.title,s=e.subTitle,d=e.tag,p=e.backgroundImageUrl,h=e.theme,b=void 0===h?"light":h,f=e.bannerMobileBackground,m=e.bannerTabletBackground,g=e.bannerDesktopBackground,v=e.disclaimer,x=e.isExperimentalView,w=e.disablePPSOverride,O=e.paidLP_publicId,Z=e.shouldDisableImagesFromPPS,P=(0,L.Z)(),S=(0,eH.t)(),j=S.query.c,C=S.query.discount_comm_id,I=S.query.discount_exp,A=(0,u.useMemo)(function(){var e=new URLSearchParams(window.location.search);return{c:e.get("c")||void 0,discount_comm_id:e.get("discount_comm_id")||void 0,discount_exp:e.get("discount_exp")||void 0}},[j,C,I]),_=k(a,w,O),B=_.showSpinner,D=_.displayPricePresentation,T=_.discountCommunicationPreset,E=tx({discountCommunicationId:A.discount_comm_id,paidLP_publicId:O,isEnabled:!w}).discountCommunicationInfo,z=null==E?void 0:E.template,U=(0,y.T)();(0,u.useEffect)(function(){var e=U.startSpan("plp-banner-background-image-source"),t=(null==z?void 0:z.hero_banner_background_image_desktop)?"cui-server":(null==T?void 0:T.hero_banner_background_image_desktop)&&![g,p].includes(null==T?void 0:T.hero_banner_background_image_desktop)?"cui-client":"fallback-contentful",n=(null==z?void 0:z.hero_banner_background_image_tablet)?"cui-server":(null==T?void 0:T.hero_banner_background_image_tablet)&&![m,p].includes(null==T?void 0:T.hero_banner_background_image_tablet)?"cui-client":"fallback-contentful",r=(null==z?void 0:z.hero_banner_background_image_mobile)?"cui-server":(null==T?void 0:T.hero_banner_background_image_mobile)&&![f,p].includes(null==T?void 0:T.hero_banner_background_image_mobile)?"cui-client":"fallback-contentful";e.setAttributes({desktopImageSource:t,tabletImageSource:n,mobileImageSource:r,backgroundImageUrl:p,url_has_voucher:!!(A.c||A.discount_comm_id||A.discount_exp)}),e.end()},[z,T,U,p,g,f,m,A]);var M=!!(A.c||A.discount_exp||A.discount_comm_id);if(tZ(S)||w||!M)return{showSpinner:!1,displayPricePresentation:!1,heroBannerTitle:x?c:null==c?void 0:c.toUpperCase(),heroBannerSubtitle:s,heroBannerFreeAddOnTag:d,heroBackgroundImageUrlMobile:f||p,heroBackgroundImageUrlTablet:m||p,heroBackgroundImageUrlDesktop:g||p,heroBannerDisclaimerText:v,heroBannerTextTheme:b};var X=tO.includes(P),R=tw({ppsTemplateImage:null==z?void 0:z.hero_banner_background_image_mobile,ppsPresetImage:null==T?void 0:T.hero_banner_background_image_mobile,contentfulImage:f,fallbackImage:p,shouldDisableImagesFromPPS:null!=Z&&Z}),H=tw({ppsTemplateImage:null==z?void 0:z.hero_banner_background_image_tablet,ppsPresetImage:null==T?void 0:T.hero_banner_background_image_tablet,contentfulImage:m,fallbackImage:p,shouldDisableImagesFromPPS:null!=Z&&Z}),W=tw({ppsTemplateImage:null==z?void 0:z.hero_banner_background_image_desktop,ppsPresetImage:null==T?void 0:T.hero_banner_background_image_desktop,contentfulImage:g,fallbackImage:p,shouldDisableImagesFromPPS:null!=Z&&Z}),F=(null==z?void 0:null===(t=z.hero_banner_disclaimer_text)||void 0===t?void 0:t.trim())||(null==T?void 0:null===(n=T.hero_banner_disclaimer_text)||void 0===n?void 0:n.trim())||v,V=(null==z?void 0:z.hero_banner_theme)||(null==T?void 0:T.hero_banner_theme)||b;return D&&!X?{showSpinner:B,displayPricePresentation:D,heroBannerTitle:(null==T?void 0:null===(r=T.hero_banner_title)||void 0===r?void 0:r.trim().toUpperCase())||(null==c?void 0:c.toUpperCase()),heroBannerSubtitle:(null==T?void 0:null===(o=T.hero_banner_subtitle)||void 0===o?void 0:o.trim())||((null==T?void 0:null===(i=T.hero_banner_title)||void 0===i?void 0:i.trim())?"":s),heroBannerFreeAddOnTag:(null==T?void 0:null===(l=T.hero_banner_free_add_on_tag)||void 0===l?void 0:l.trim())||d,heroBackgroun
1dImageUrlMobile:R,heroBackgroundImageUrlTablet:H,heroBackgroundImageUrlDesktop:W,heroBannerDisclaimerText:F,heroBannerTextTheme:V}:{showSpinner:B,displayPricePresentation:!1,heroBannerTitle:x?c:null==c?void 0:c.toUpperCase(),heroBannerSubtitle:s,heroBannerFreeAddOnTag:d,heroBackgroundImageUrlMobile:R,heroBackgroundImageUrlTablet:H,heroBackgroundImageUrlDesktop:W,heroBannerDisclaimerText:F,heroBannerTextTheme:V}};function tP(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}var tS=600,tj=function(e){var t,n,r=e.title,o=e.subTitle,i=e.content,a=e.couponCode,h=e.sectionId,b=e.contentType,f=e.queryParams,m=e.disclaimer,g=e.discountText,v=e.bannerMobileBackground,x=e.bannerDesktopBackground,w=e.bannerTabletBackground,O=e.logoUrl,Z=e.paidLP_publicId,k=(0,u.useRef)(null),P=(0,p.h)(h,b,l.Banner).handleGAEventClick,S=(0,eH.t)(),j=i.ctaLabel,C=i.ctaUrl,I=i.tag,A=i.backgroundImageUrl,_=i.hideTopBar,B=i.theme,D=void 0===B?"light":B,T=i.disclaimerFillColor,E=i.disclaimerTextColor,z=i.backgroundColor,U=i.alignment,M=i.showCtaOnDesktop,X=i.showCtaOnMobile,R=i.showDownArrowOnDesktop,L=i.showDownArrowOnMobile,H=i.hideSubtitleOnMobile,W=i.isExperimentalView,F=i.topBarPartnerLogo,V=i.showDisclaimerInline,N=i.disablePPSOverride,Y=i.openCtaUrlInNewTab,q=void 0!==Y&&Y,$=(0,y.T)(),G=(0,ep.e)(),Q=(t=f.test_mobile_cta,n=!!(j&&C),"true"===t&&n?{showCtaOnMobile:!0,showDownArrowOnMobile:!1,enableOverridenCTA:!0}:{showCtaOnMobile:X,showDownArrowOnMobile:L,enableOverridenCTA:!1}),K=Q.showCtaOnMobile,J=Q.showDownArrowOnMobile,ee=Q.enableOverridenCTA,et=tk({couponCode:a||"",title:r,subTitle:o,tag:I,backgroundImageUrl:A,theme:D,bannerMobileBackground:v,bannerTabletBackground:w,bannerDesktopBackground:x,disclaimer:m,isExperimentalView:W,disablePPSOverride:void 0!==N&&N,paidLP_publicId:Z,shouldDisableImagesFromPPS:!1}),en=et.showSpinner,er=et.heroBannerTitle,eo=et.heroBannerFreeAddOnTag,ei=et.heroBannerSubtitle,el=et.heroBackgroundImageUrlMobile,ea=et.heroBackgroundImageUrlTablet,ec=et.heroBackgroundImageUrlDesktop,eu=et.heroBannerDisclaimerText,es=et.heroBannerTextTheme,ed=(0,u.useMemo)(function(){if(C&&j){var e=G?tP({},f):{};return C.includes("c=")&&delete e.c,(0,eF.K)((0,d.BG)(C,e),S.asPath,h,$.startSpan("cta-url-redirection-to-plans"))}},[C,j,G,f,S.asPath,h,$]),eh=function(){if(!ed){eb();return}var e=new URLSearchParams(window.location.search),t=$.startSpan("lp-cta-click-params");t.setAttributes({"diagnostic.query_param_count":Object.keys(f||{}).length,"diagnostic.url_param_count":e.size,"diagnostic.has_mismatch":e.size>0&&0===Object.keys(f||{}).length,"diagnostic.cta_url":C||"","diagnostic.section_id":h||"","diagnostic.content_type":b||"","diagnostic.cta_label":j||""}),t.end(),P(j),$.flush()},eb=function(){k.current&&k.current.scrollIntoView({behavior:"smooth",block:"start"})};return(0,c.BX)(c.HY,{children:[(0,c.tZ)(s.xu,{display:["none","block"],children:(0,c.tZ)(te,{disclaimerTextColor:E,disclaimerFillColor:T,heroBannerDisclaimerText:eu,theme:D,ctaLabel:j,ctaHref:ed,openCtaUrlInNewTab:q,handleCtaClick:eh,handleShowDownArrowClick:eb,logoUrl:O,heroBannerTextTheme:es,discountText:g,showSpinner:en,heroBannerFreeAddOnTag:eo,heroBannerSubtitle:ei,heroBannerTitle:er,backgroundColor:z,heroBackgroundImageUrlTablet:ea,heroBackgroundImageUrlDesktop:ec,alignment:U,showCtaOnDesktop:M,showDownArrowOnDesktop:R,isExperimentalView:W,showDisclaimerInline:V})}),(0,c.tZ)(s.xu,{display:["block","none"],children:(0,c.tZ)(ti,{disclaimerTextColor:E,disclaimerFillColor:T,heroBannerDisclaimerText:eu,theme:D,ctaLabel:j,ctaHref:ed,openCtaUrlInNewTab:q,handleCtaClick:eh,handleShowDownArrowClick:eb,logoUrl:O,heroBannerTextTheme:es,discountText:g,showSpinner:en,heroBannerFreeAddOnTag:eo,heroBannerSubtitle:ei,heroBannerTitle:er,backgroundColor:z,alignment:U,heroBackgroun
1dImageUrlMobile:el,hideTopBar:_,showCtaOnMobile:K,showDownArrowOnMobile:J,hideSubtitleOnMobile:H,isExperimentalView:W,topBarPartnerLogo:F,showDisclaimerInline:V,enableOverridenCTA:ee})}),(0,c.tZ)(s.xu,{position:"absolute",bottom:"0",ref:k})]})};tj.displayName="BannerSection";var tC=(0,eV.S)(tj,ta,!0),tI=function(e){var t=(0,eW.yS)("hero-banner-section-slot",e);return(0,c.tZ)(tC,tP({},t))};tI.displayName="BannerSectionWithSlot";var tA=n(588019),t_=n(812621);function tB(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var tD=function(e){var t,n=e.children,r=(0,t_._)(),o=!!window.IntersectionObserver,i=function(e){if(Array.isArray(e))return e}(t=(0,eB.YD)({skip:!o}))||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(n=o.next()).done)&&(i.push(n.value),2!==i.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return tB(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tB(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),l=i[0],a=i[1];return(0,u.useEffect)(function(){a&&r.start("visible")},[r,a]),(0,c.tZ)(m.E.div,{ref:l,style:{height:"100%"},animate:r,initial:"hidden",transition:{duration:1},variants:{visible:{opacity:1,scale:1,y:0},hidden:{opacity:0,scale:1,y:200}},children:n})},tT=function(e){var t=e.id,n=e.iconImage,r=e.title,o=e.description,i=e.discountText,l=e.setDiscountTextAsTitle,a=e.discount,u=void 0!==l&&l?i:null==r?void 0:r.split("%%discount%%").join(null==a?void 0:a.toLowerCase());return(0,c.tZ)(tD,{children:(0,c.BX)(s.xu,{"data-test-id":"multi-weekly-discount-card-".concat(t),display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",borderRadius:"border-radius-md",backgroundColor:0===t?"neutral.800":"primary.800",p:"md-1",position:"relative",zIndex:t,height:"100%",children:[0!==t&&(0,c.tZ)(s.xu,{color:"neutral.100",position:"absolute",top:["-18px","calc(50% - 16px)"],left:["50%","-2px"],transform:"translate(-50%)",backgroundColor:"global.mint.500",borderRadius:"border-radius-circle",height:"32px",width:"32px",justifyContent:"center",alignItems:"center",display:"flex",children:(0,c.tZ)(tA.Z,{titleId:"ID_OF_THE_ELEMENT_THAT_LABELS_THE_ICON",title:"MY_TITLE"})}),n&&(0,c.tZ)(s.xu,{mb:"global.md-1",height:"80px",width:"80px",children:(0,c.tZ)(z.ZP,{width:80,height:80,src:(0,D.Z)(n),alt:"card image icon"})}),(0,c.BX)(s.xu,{display:"flex",flexDirection:"column",children:[(0,c.tZ)(s.xv,{as:"h4",strong:!0,color:"neutral.100",textAlign:"center",mb:"global.xs",children:u}),(0,c.tZ)(s.xv,{type:"body-xs-regular",color:"neutral.100",textAlign:"center",children:o})]})]})})},tE=function(e){var t,n,r,o,i=e.title,l=e.content,a=void 0===l?[]:l,u=e.couponCode,d=e.subtitle,p=e.discountText,h=e.paidLP_publicId,b=(0,w.A)({couponCode:u,paidLP_publicId:h}).discountCommunicationPreset;if(!a)return null;var f=(null==b?void 0:b.mw_breakdown_section_1_title)||a[0].title,m=(null==b?void 0:b.mw_breakdown_section_1_subtitle)||a[0].description,g=(null==b?void 0:b.mw_breakdown_section_2_title)||(null===(t=a[1])||void 0===t?void 0:t.title),y=(null==b?void 0:b.mw_breakdown_section_2_subtitle)||(null===(n=a[1])||void 0===n?void 0:n.description),v=null==b?void 0:null===(r=b.box_msg)||void 0===r?void 0:r[1],x=null==b?void 0:null===(o=b.box_msg)||void 0===o?void 0:o[2];return(0,c.BX)(s.xu,{px:"sm-2",py:"md-2",display:"flex",flexDirection:"column",alignItems:"center",children:[(0,c.tZ)(tD,{children:(0,c.tZ)(s.xv,{strong:!0,as:"h2",textAlign:"center",mb:"md-1",children:i})}),(0,c.tZ)(s.xu,{display:"flex",justifyContent:"center",minWidth:["100%","768px","1140px"],children:(0,c.BX)(s.xu,{display:"flex",flexDirection:["column","row"],minWidth:["100%","65%"],maxWidth:"1140px",gap:"global.xxs",justifyContent:"center",children:[(0,c.tZ)(s.xu,{width:["unset","75%"],children:(0,c.tZ)(tT,{id:0,iconImage:a[0].iconImage,title:f,description:m,discountText:p,setDiscountTextAsTitle:a[0].setDiscountTextAsTitle,discount:v})}),g&&(0,c.tZ)(s.xu,{mr:["global.none","global.xxs"],children:(0,c.tZ)(tT,{id:1,title:g,description:y,discount:x})})]})}),d&&(0,c.tZ)(tD,{children:(0,c.tZ)(s.xu,{textAlign:"center",mt:"sm-2",children:(0,c.tZ)(s.xv,{type:"body-xs-regular",children:d})})})]})},tz=function(e){var t,n=e.content,r=e.title,o=void 0===r?"":r,i=e.subt
1itle,l=e.couponCode,a=e.bannerDesktopBackground,u=e.bannerMobileBackground,d=e.bannerTabletBackground,p=e.paidLP_publicId,h=n.colorOfTitle,b=n.colorOfSubtitle,f=n.backgroundImageUrl,m=(0,w.A)({couponCode:l,paidLP_publicId:p}).discountCommunicationPreset,g=(null==m?void 0:m.free_addon_banner_background_image_mobile)||f||u,y=(null==m?void 0:m.free_addon_banner_background_image_tablet)||d,v=(null==m?void 0:m.free_addon_banner_background_image_desktop)||a,x=(null==m?void 0:null===(t=m.free_addon_banner_title)||void 0===t?void 0:t.toUpperCase())||(null==o?void 0:o.toUpperCase()),O=null==m?void 0:m.free_addon_banner_text_color;return(0,c.tZ)(s.xu,{height:["70vh","60vh"],width:"100%",backgroundImage:["url(".concat(g,")"),"url(".concat(y,")"),"url(".concat(v,")")],backgroundSize:"cover",backgroundPosition:"center",display:"flex",justifyContent:"center","data-testid":"extra-banner-section-scroll-section-type",children:(0,c.tZ)(s.xu,{minWidth:["100%","768px","1140px"],display:"flex",flexDirection:"column",alignItems:["center","flex-end"],paddingTop:["global.lg-3","global.none"],justifyContent:["start","center"],children:(0,c.BX)(s.xu,{textAlign:["center","left"],width:["70%","40%","45%"],children:[(0,c.tZ)(s.xv,{as:"h3",color:O||h,children:(0,c.tZ)(K.Z,{copy:x,hasMarkdown:!0})}),(0,c.tZ)(s.xv,{as:"h1",color:O||b,children:(0,c.tZ)(K.Z,{copy:void 0===i?"":i,hasMarkdown:!0})})]})})})},tU=n(290525),tM=n.n(tU),tX=n(597993),tR=n(759737),tL=n(421036);function tH(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var tW=function(e){var t,n=e.item,r=e.setShowArrow,o=e.sectionId,i=e.shouldAllowFlip,l=n.imageUrl,a=n.name,d=n.description,h=n.footercopy,b=n.mealsPerWeek,f=function(e){if(Array.isArray(e))return e}(t=(0,u.useState)(!1))||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(n=o.next()).done)&&(i.push(n.value),2!==i.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return tH(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tH(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),m=f[0],g=f[1],y=(0,p.h)(o),v=y.handleOnInfoClick,x=y.handleMenuOnView,w=(0,eB.YD)({fallbackInView:!1,threshold:1}),O=w.ref,Z=w.inView;(0,u.useEffect)(function(){Z&&x(a)},[Z,a,x]);var k=function(){m||v(a),g(!m),null==r||r(m)};return(0,c.tZ)(s.xu,{ref:O,width:["100%","342px"],height:"434px",display:"inline-block",verticalAlign:"top",px:["sm-2","zero","zero"],children:(0,c.BX)(s.xu,{position:"relative",width:["100%","340px"],height:"432px",borderRadius:"border-radius-md",transformStyle:"preserve-3d",transition:"transform 0.7s",transform:m?"rotateY(180deg)":"rotateY(0deg)",boxShadow:"shadow-lg",children:[(0,c.BX)(s.xu,{width:"100%",height:"100%",position:"absolute",zIndex:9,overflow:"hidden",borderRadius:"border-radius-md",__dangerouslySetCustomCSS:{backfaceVisibility:"hidden"},children:[(0,c.tZ)(s.xu,{width:"100%",height:"100%",position:"absolute",children:(0,c.tZ)(z.ZP,{src:(0,D.Z)(l),fill:!0,alt:"",objectFit:"cover"})}),(0,c.tZ)(s.xu,{position:"absolute",width:"100%",height:"100%",background:"linear-gradient(to bottom, rgba(0, 0, 0, 0.4), transparent)"}),(0,c.tZ)(s.xu,{position:"absolute",top:"24px",left:"24px",width:"calc(100% - 48px)",children:(0,c.BX)(s.xu,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[(0,c.tZ)(s.xv,{as:"h3",color:"neutral.100",whiteSpace:"normal",wordBreak:"break-word",children:a}),i&&(0,c.tZ)(s.xu,{color:"neutral.100",onClick:k,cursor:"pointer",children:(0,c.tZ)(tR.default,{})})]})})]}),(0,c.BX)(s.xu,{width:"100%",height:"100%",position:"absolute",zIndex:0,backgroundColor:"neutral.100",display:"flex",flexDirection:"column",justifyContent:"space-between",transform:"rotateY(180deg)",borderRadius:"border-radius-md",__dangerouslySetCustomCSS:{backfaceVisibility:"hidden"},children:[(0,c.tZ)(s.xu,{backgroundColor:"primary.200",children:(0,c.BX)(s.xu,{display:"flex",justifyContent:"space-between",alignItems:"center",px:"md-1",py:"md-2",children:[(0,c.tZ)(s.xv,{as:"h3",color:"neutral.800",children:a}),(0,c.tZ)(s.xu,{color:"neutral.800",onClick:k,cursor:"pointer",children:(0,c.tZ)(tL.default,{})})]})}),(0,c.BX)(s.xu,{mx:"sm-1",flex:1,children:[(0,c.tZ)(s.xv,{as:"p",my:"xs",children:(0,c.tZ)("b",{children:b})}),(0,c.tZ)(s.xv,{as:"p",whiteSpace:"normal",wordBreak:"break-word",children:d})]}),(0,c.tZ)(s.xu,{mx:"sm-1",mb:"sm-1",backgroundColor:"primary.100",p:"sm-1",borderRadius:"border-radius-md",textAlign:"center",children:(0,c.tZ)(s.xv,{as:"p",whiteSpace:"normal",wordBreak:"break-word",children:h})})]})]})})},tF=function(e){var t=e.title,n=e.ctaLabel,r=e.ctaUrl;return(0,c.tZ)(s.xu,{width:["100%","342px"],height:"434px",display:"inline-block",px:["sm-2","zero","zero"],verticalAlign:"top",children:(0,c.BX)(s.xu,{position:"relative",width:["100%","340px"],height:"432px",borderRadius:"border-radius-md",boxShadow:"shadow-lg",backgroundColor:"primary.200",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",children:[(0,c.tZ)(s.xv,{as:"h2",whiteSpace:"normal",wordBreak:"break-all",textAlign:"center",strong:!0,children:(0,c.tZ)(K.Z,{copy:null!=t?t:"",hasMarkdown:!0})}),(0,c.tZ)(s.xu,{width:"200px",mt:"sm-1",children:(0,c.tZ)(s.zx.Primary,{children:(0,c.tZ)(s.rU,{href:r,noStyle:!0,hoverColor:"neutral.100",activeColor:"neutral.100",customColor:"neutral.100",visitedColor:"neutral.100",children:n})})})]})})},tV=n(292282),tN=n(994177),tY=function(e){var t=e.onPrevClick,n=e.onNextClick,r=e.isLeftArrowDisabled,o=e.isRightArrowDisabled;return(0,c.BX)(c.HY,{children:[(0,c.tZ)(s.xu,{backgroundColor:"neutral.100",borderRadius:"border-radius-circle",children:(0,c.tZ)(s.hU.Secondary,{size:"lg",disabled:void 0!==r&&r,icon:(0,c.tZ)(tV.default,{}),onClick:t})}),(0,c.tZ)(s.xu,{backgroundColor:"neutral.100",borderRadius:"border-radius-circle",children:(0,c.tZ)(s.hU.Secondary,{size:"lg",disabled:void 0!==o&&o,icon:(0,c.tZ)(tN.default,{}),onClick:n})})]})};function tq(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function t$(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return tq(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tq(e,t)}}
1(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var tG=function(e){var t=e.content,n=t.items,r=t.ctaLabel,o=t.ctaUrl,i=t.shouldAllowFlip,l=void 0!==i&&i,a=e.discountText,d=e.sectionId,h=t$((0,u.useState)(0),2),b=h[0],f=h[1],m=t$((0,u.useState)(!0),2),g=m[0],y=m[1],v=(0,p.h)(d).handleMenuPrefernecesSwipe,x=t$((0,u.useState)([!0,!1]),2),w=t$(x[0],2),O=w[0],Z=w[1],k=x[1],P=(0,u.useRef)(null),S=(0,u.useCallback)(function(e){switch(e){case 0:k([!0,!1]);break;case n.length:k([!1,!0]);break;default:k([!1,!1])}},[n]),j=(0,u.useCallback)(function(){b<n.length&&(f(b+1),S(b+1),v())},[b,n.length,S,v]),C=(0,u.useCallback)(function(){b>0&&(f(b-1),S(b-1),v())},[b,S,v]);return(0,tX.Z)(tX.R.ArrowLeft,P,C),(0,tX.Z)(tX.R.ArrowRight,P,j),(0,c.tZ)(s.xu,{ref:P,tabIndex:0,position:"relative",maxHeight:"804px",pseudo:{":focus":{outline:"none"}},children:n.length&&(0,c.BX)(tM(),{onSwipedRight:C,onSwipedLeft:j,children:[(0,c.tZ)(s.xu,{overflow:"hidden",children:(0,c.BX)(s.xu,{whiteSpace:"nowrap",transform:"translateX(-".concat(100*b,"%)"),transition:"transform 600ms",children:[n.map(function(e,t){return(0,c.tZ)(tW,{item:e,setShowArrow:y,sectionId:d,shouldAllowFlip:l},t)}),(0,c.tZ)(tF,{title:a,ctaLabel:r,ctaUrl:o})]})}),(0,c.tZ)(s.xu,{position:"absolute",bottom:"20px",right:"20px",gap:"xs",transition:"all 0.5s",display:g?"flex":"none",children:(0,c.tZ)(tY,{onNextClick:j,onPrevClick:C,isLeftArrowDisabled:O,isRightArrowDisabled:Z})})]})})};function tQ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var tK=function(e){var t,n=e.content,r=n.items,o=n.ctaLabel,i=n.ctaUrl,l=n.shouldAllowFlip,a=void 0!==l&&l,d=e.discountText,p=e.sectionId,h=(0,u.useRef)([]),b=function(e){if(Array.isArray(e))return e}(t=(0,u.useState)(0))||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(n=o.next()).done)&&(i.push(n.value),2!==i.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return tQ(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tQ(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),f=b[0],m=b[1],g=r.length+1;return(0,u.useLayoutEffect)(function(){var e=h.current[f];e&&e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})},[f]),(0,c.BX)(s.xu,{children:[(0,c.BX)(s.xu,{display:"flex",overflowX:"scroll",alignItems:"stretch",scrollSnapType:"x mandatory",scrollBehavior:"smooth",p:"sm-1",gap:"sm-1",__dangerouslySetCustomCSS:{scrollbarWidth:"none","::-webkit-scrollbar":{display:"none"},WebkitOverflowScrolling:"touch",scrollPadding:"10px"},children:[r.map(function(e,t){return(0,c.tZ)(s.xu,{ref:function(e){h.current[t]=e},flex:"0 0 342px",maxWidth:"342px",scrollSnapAlign:"start",children:(0,c.tZ)(tW,{item:e,sectionId:p,shouldAllowFlip:a},t)},t)}),(0,c.tZ)(s.xu,{ref:function(e){h.current[r.length]=e},children:(0,c.tZ)(tF,{title:d,ctaLabel:o,ctaUrl:i})})]}),(0,c.tZ)(s.xu,{display:"flex",mt:"xs",justifyContent:"center",gap:"xs",children:(0,c.tZ)(tY,{onNextClick:function(){var e=f+3;e<g&&m(e)},onPrevClick:function(){var e=f-3;e>=0&&m(e)},isLeftArrowDisabled:0===f,isRightArrowDisabled:f+3>=g})})]})},tJ=function(e){var t,n=e.title,r=e.subtitle,o=e.content,i=e.sectionId,l=e.discountText;return(null===(t=o.items)||void 0===t?void 0:t.length)?(0,c.BX)(s.xu,{children:[(0,c.BX)(s.xu,{textAlign:"center",py:"md-2",maxWidth:["100%","960px","1140px"],mx:"auto",children:[(0,c.tZ)(s.xv,{as:"h3",children:n}),(0,c.tZ)(s.xu,{pt:"sm-2",children:(0,c.tZ)(s.xv,{as:"h1",children:r})})]}),(0,c.tZ)(s.xu,{px:["sm-1","md-1","zero"],children:(0,c.tZ)(s.xu,{maxWidth:["100%","960px","1140px"],mx:"auto",pb:"md-1",position:"relative",display:["none","block"],children:(0,c.tZ)(tK,{content:o,discountText:l,sectionId:i})})}),(0,c.tZ)(s.xu,{display:["block","none"],px:"sm-1",pb:"sm-2",position:"relative",mx:"auto",children:(0,c.tZ)(tG,{content:o,discountText:l,sectionId:i})})]}):null},t0=function(e){var t=e.content,n=e.title,r=e.sectionId,o=e.showSpinner,i=e.theme,l=e.mobileSliderheight,a=t.subText,d=t.description,h=t.backgroundMobileImageUrl,b=t.tag,f=(0,eB.YD)({fallbackInView:!1,threshold:1}),m=f.ref,g=f.inView,y=(0,p.h)(r).handleBannerSliderOnView,v="light"===i?"global.black":"global.white";return(0,u.useEffect)(function(){g&&y(n)},[g,n]),(0,c.tZ)(s.xu,{ref:m,width:["100%","342px"],height:"calc(".concat(l," - ").concat(80,"px)"),children:(0,c.tZ)(s.xu,{position:"relative",height:"calc(".concat(l," - ").concat(80,"px - ").concat(56,"px)"),display:"flex",alignItems:"start",top:"56px",children:(0,c.tZ)(s.xu,{height:"calc(".concat(l," - ").concat(80,"px - ").concat(56,"px - ").concat(90,"px)"),width:"100%",display:"flex",alignItems:"center",children:(0,c.BX)(s.xu,{position:"relative",width:"100%",children:[(0,c.tZ)(s.xu,{textAlign:"center",zIndex:"999",px:"sm-2",display:"flex",alignItems:"flex-end",children:(0,c.BX)(s.xu,{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",width:"100%",children:[(0,c.tZ)(s.xv,{as:"h4",whiteSpace:"normal",wordBreak:"break-word",color:v,children:a}),o?(0,c.tZ)(s.$j,{size:"md",variant:"primary"}):(0,c.tZ)(s.xv,{as:"h2",whiteSpace:"normal",wordBreak:"break-word",color:v,children:n}),b&&(0,c.tZ)(s.xu,{mt:"xs",children:(0,c.tZ)(e$,{tag:b})})]})}),(0,c.tZ)(s.xu,{width:"100%",height:"45vh",overflow:"hidden",display:"flex",children:h&&(0,c.tZ)("img",{src:h,width:"100%",height:"100%",style:{objectFit:"cover"}})}),(0,c.tZ)(s.xu,{backgroundColor:"primary.100",borderRadius:"border-radius-md",p:"sm-2",width:"calc(100% - 32px)",zIndex:"999",position:"absolute",bottom:"0",textAlign:"center",left:"50%",transform:"translateX(-50%)",children:(0,c.tZ)(s.xv,{type:"body-sm-regular",whiteSpace:"normal",wordBreak:"break-word",children:d})})]})})})})};function t1(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}
1var t2=function(e){var t,n=e.items,r=e.sectionId,o=e.discountTitle,i=e.showSpinner,l=e.theme,a=function(e){if(Array.isArray(e))return e}(t=(0,u.useState)(0))||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(n=o.next()).done)&&(i.push(n.value),2!==i.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return t1(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t1(e,2)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),d=a[0],h=a[1],b=(0,p.h)(r),f=b.handleScrollCTAClick,m=b.handleBannerSlideSwipe,g=(0,u.useRef)(null),y=(0,u.useRef)([]),v=(0,u.useRef)(null),x="light"===l?"primary.600":"global.white",w=(0,u.useMemo)(function(){var e;return(null===(e=CSS)||void 0===e?void 0:e.supports)&&CSS.supports("height","100svh")?"100svh":"100vh"},[]),O=function(e){h(e)},Z=function(){f(),g.current&&g.current.scrollIntoView({behavior:"smooth",block:"start"})};return(0,c.BX)(s.xu,{ref:v,tabIndex:0,position:"relative",height:"calc(".concat(w," - 70px)"),backgroundColor:"light"===l?"primary.300":"global.mint.500",overflow:"hidden",children:[(0,c.tZ)(s.xu,{position:"absolute",top:"0",width:"100%",zIndex:999,children:(0,c.tZ)(tn,{type:"light",disableShadow:!0})}),!!n.length&&(0,c.tZ)(tM(),{onSwipedRight:function(){d>0&&(h(d-1),m())},onSwipedLeft:function(){d<n.length-1&&(h(d+1),m())},children:(0,c.tZ)(s.xu,{overflow:"hidden",children:(0,c.tZ)(s.xu,{whiteSpace:"nowrap",transform:"translateX(-".concat(100*d,"%)"),transition:"transform 600ms",children:n.map(function(e,t){return(0,c.tZ)(s.xu,{display:"inline-block",verticalAlign:"top",width:"100%",ref:function(e){y.current[t]=e},children:(0,c.tZ)(t0,{content:e,title:0===t&&o?o:e.title,sectionId:r,showSpinner:0===t&&i,theme:l,mobileSliderheight:w})},t)})})})}),(0,c.tZ)(s.xu,{position:"absolute",top:"calc(".concat(w," - 165px)"),display:"flex",flexDirection:"column",alignItems:"center",left:"50%",transform:"translateX(-50%)",height:"10px",children:(0,c.tZ)(s.xu,{display:"flex",gap:"xs",justifyContent:"center",children:n.map(function(e,t){return(0,c.tZ)(s.xu,{width:"8px",height:"8px",borderWidth:"1px",borderColor:x,backgroundColor:d===t?x:"transparent",borderStyle:"solid",borderRadius:"border-radius-circle",onClick:function(){return O(t)}},t)})})}),(0,c.tZ)(s.xu,{position:"absolute",bottom:"10px",display:"flex",alignItems:"center",left:"50%",transform:"translateX(-50%)",height:"40px",children:(0,c.tZ)(s.xu,{backgroundColor:"light"===l?"primary.800":"global.white",borderRadius:"border-radius-circle",children:"light"===l?(0,c.tZ)(s.hU.Primary,{size:"sm",onClick:Z,icon:(0,c.tZ)(eJ.default,{})}):(0,c.tZ)(s.hU.Tertiary,{size:"sm",onClick:Z,icon:(0,c.tZ)(eJ.default,{})})})}),(0,c.tZ)(s.xu,{position:"absolute",bottom:"0",ref:g})]})},t3=function(e){var t=e.item,n=t.description,r=t.tag,o=t.subText,i=e.activeIndex,l=e.title,a=e.sectionId,d=e.showSpinner,h=(0,eB.YD)({fallbackInView:!1,threshold:1}),b=h.ref,f=h.inView,m=(0,p.h)(a).handleBannerSliderOnView;return(0,u.useEffect)(function(){f&&m(l)},[f,l,m]),(0,c.BX)(s.xu,{ref:b,minWidth:"100%",transform:"translateX(-".concat(100*i,"%)"),transition:"transform 600ms",textAlign:"center",display:"flex",flexDirection:"column",children:[(0,c.BX)(s.xu,{py:"global.md-3",px:"global.md-1",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",flexGrow:"1",children:[(0,c.tZ)(s.xv,{as:"h4",mb:"global.sm-2",children:o}),d?(0,c.tZ)(s.xu,{height:["40px","40px","48px"],children:(0,c.tZ)(s.$j,{size:"md",variant:"primary"})}):(0,c.tZ)(s.xv,{as:"h1",strong:!0,children:l}),r&&(0,c.tZ)(s.xu,{mt:"sm-2",children:(0,c.tZ)(e$,{tag:r})})]}),(0,c.tZ)(s.xu,{backgroundColor:"primary.100",padding:"sm-2",width:"100%",children:(0,c.tZ)(s.xv,{type:"body-md-regular",children:n})})]})};function t4(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var t5=function(e){var t,n,r,o,i=e.items,l=e.sectionId,a=e.discountTitle,d=e.showSpinner,h=e.theme,b=function(e){if(Array.isArray(e))return e}(t=u.useState(0))||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],l=!0,a=!1;try{for(o=o.call(e);!(l=(n=o.next()).done)&&(i.push(n.value),2!==i.length);l=!0);}catch(e){a=!0,r=e}finally{try{l||null==o.return||o.return()}finally{if(a)throw r}}return i}}(t,2)||function(e,t){if(e){if("string"==typeof e)return t4(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return t4(e,2)}}
1(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),f=b[0],m=b[1],g=(0,p.h)(l).handleBannerSlideSwipe;return(0,c.tZ)(s.xu,{backgroundColor:"light"===h?"primary.300":"global.mint.500",display:"flex",justifyContent:"space-between",alignItems:"center",height:["auto","75vh","75vh"],flexDirection:["column","column","row"],backgroundImage:["url(".concat(null===(n=i[f])||void 0===n?void 0:n.backgroundMobileImageUrl,")"),"url(".concat(null===(r=i[f])||void 0===r?void 0:r.backgroundTabletImageUrl,")"),"url(".concat(null===(o=i[f])||void 0===o?void 0:o.backgroundDesktopImageUrl,")")],backgroundPosition:["bottom","bottom","right"],backgroundSize:"auto 100%",backgroundRepeat:"no-repeat",transition:"background-image 0.5s",children:(0,c.BX)(s.xu,{display:"flex",alignItems:"center",width:["90%","90%","50%"],mx:"global.md-2",my:"global.md-2",children:[i.length>1&&(0,c.tZ)(s.xu,{backgroundColor:"neutral.100",borderRadius:"border-radius-circle",children:(0,c.tZ)(s.hU.Secondary,{size:"lg",icon:(0,c.tZ)(tV.default,{}),onClick:function(){m(f-1),g()},disabled:0===f})}),(0,c.BX)(s.xu,{display:"flex",flexDirection:"column",borderRadius:"border-radius-md",backgroundColor:"neutral.100",mx:"global.md-2",overflow:"hidden",children:[(0,c.tZ)(s.xu,{display:"flex",flexDirection:"row",overflowX:"scroll",scrollBehavior:"smooth",__dangerouslySetCustomCSS:{scrollbarWidth:"none","::-webkit-scrollbar":{display:"none"},WebkitOverflowScrolling:"touch"},children:i.map(function(e,t){return(0,c.tZ)(t3,{item:e,activeIndex:f,title:0===t&&a?a:e.title,sectionId:l,showSpinner:0===t&&d},t)})}),(0,c.tZ)(s.xu,{display:"flex",justifyContent:"center",py:"global.sm-2",gap:"global.xs",borderBottomLeftRadius:"border-radius-md",borderBottomRightRadius:"border-radius-md",backgroundColor:"primary.100",children:i.length>1&&i.map(function(e,t){return(0,c.tZ)(s.xu,{borderRadius:"border-radius-circle",borderWidth:"1px",borderColor:"primary.700",borderStyle:"solid",backgroundColor:t==f?"primary.700":"transparent",height:"8px",width:"8px",onClick:function(){return m(t)}},t)})})]}),i.length>1&&(0,c.tZ)(s.xu,{backgroundColor:"neutral.100",borderRadius:"border-radius-circle",children:(0,c.tZ)(s.hU.Secondary,{size:"lg",icon:(0,c.tZ)(tN.default,{}),onClick:function(){m(f+1),g()},disabled:f===i.length-1})})]})})};function t8(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}var t7=function(e){var t=e.content,n=e.couponCode,r=e.sectionId,o=(0,L.Z)()===tc.Z.US,i=k(n),l=i.showSpinner,a=i.displayPricePresentation,u=i.discountCommunicationPreset,d=t.items,p=t.theme;if(!d.length)return null;var h={items:d,sectionId:r,discountTitle:a&&!o&&(null==u?void 0:u.product_configurator_title)||"",showSpinner:l,theme:void 0===p?"light":p};return(0,c.BX)(s.xu,{children:[(0,c.tZ)(s.xu,{display:["block","none"],children:(0,c.tZ)(t2,t8({},h))}),(0,c.tZ)(s.xu,{display:["none","block"],children:(0,c.tZ)(t5,t8({},h))})]})},t6=function(e){var t=e.type,n=e.title,r=e.subtitle,o=e.content,i=e.couponCode,a=e.sectionId,u=e.contentType,s=e.queryParams,d=e.disclaimer,p=e.discountText,h=e.bannerMobileBackground,b=e.bannerDesktopBackground,f=e.bannerTabletBackground,m=e.logoUrl,g=e.paidLP_publicId,y=null;switch(t){case l.StickyBar:y=(0,c.tZ)(C,{title:n,subtitle:r,content:o,sectionId:a,contentType:u,queryParams:s,couponCode:i});break;case l.Video:y=(0,c.tZ)(T,{content:o});break;case l.Menu:y=(0,c.tZ)(ee,{title:n,subtitle:r,content:o,couponCode:i,sectionId:a});break;case l.HowItWorks:y=(0,c.tZ)(es,{content:o});break;case l.Social:y=(0,c.tZ)(ew,{content:o,title:n});break;case l.Benefits:y=(0,c.tZ)(e_,{title:n,content:o});break;case l.Plans:y=(0,c.tZ)(eL,{title:n,subtitle:r,content:o,sectionId:a,queryParams:s,couponCode:i});break;case l.Banner:y=(0,c.tZ)(tI,{title:n,subTitle:r,content:o,couponCode:i,sectionId:a,contentType:u,queryParams:s,disclaimer:d,discountText:p,bannerMobileBackgroun
1d:h,bannerDesktopBackground:b,bannerTabletBackground:f,logoUrl:m,paidLP_publicId:g});break;case l.MultiWeeklyDiscount:y=(0,c.tZ)(tE,{title:n,subtitle:r,content:o,couponCode:i,discountText:p});break;case l.ExtraBanner:y=(0,c.tZ)(tz,{content:o,title:n,subtitle:r,couponCode:i,bannerMobileBackground:h,bannerDesktopBackground:b,bannerTabletBackground:f});break;case l.Preference:y=(0,c.tZ)(tJ,{content:o,title:n,subtitle:r,sectionId:a,discountText:p});break;case l.BannerSlider:y=(0,c.tZ)(t7,{content:o,couponCode:i,sectionId:a});break;default:y=(0,c.tZ)(c.HY,{})}return y}},35959:function(e,t,n){n.r(t);var r=n(687800);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}n(827378),t.default=function(e){var t=e.title,n=e.titleId,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["title","titleId"]);return(0,r.BX)("svg",i(o(i(o({width:"1.5rem",height:"1.5rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:t?"img":"graphics-symbol",color:"inherit","aria-hidden":!t},!t&&{focusable:!1}),{"aria-labelledby":n}),l),{children:[t?(0,r.tZ)("title",{id:n,children:t}):null,(0,r.tZ)("path",{d:"m13 18.333 6.666-6.666L21 13l-9 9-9-9 1.333-1.333L11 18.333V2h2v16.333Z",fill:"currentColor"})]}))}},292282:function(e,t,n){n.r(t);var r=n(687800);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}n(827378),t.default=function(e){var t=e.title,n=e.titleId,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["title","titleId"]);return(0,r.BX)("svg",i(o(i(o({width:"1.5rem",height:"1.5rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:t?"img":"graphics-symbol",color:"inherit","aria-hidden":!t},!t&&{focusable:!1}),{"aria-labelledby":n}),l),{children:[t?(0,r.tZ)("title",{id:n,children:t}):null,(0,r.tZ)("path",{d:"m11 3-9 9 9 9 1.333-1.334L5.667 13H22v-2H5.667l6.666-6.667L11 3Z",fill:"currentColor"})]}))}},994177:function(e,t,n){n.r(t);var r=n(687800);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}
1)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}n(827378),t.default=function(e){var t=e.title,n=e.titleId,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["title","titleId"]);return(0,r.BX)("svg",i(o(i(o({width:"1.5rem",height:"1.5rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:t?"img":"graphics-symbol",color:"inherit","aria-hidden":!t},!t&&{focusable:!1}),{"aria-labelledby":n}),l),{children:[t?(0,r.tZ)("title",{id:n,children:t}):null,(0,r.tZ)("path",{d:"m21 12-8.836 9-1.31-1.333L17.4 13H3v-2h14.4l-6.545-6.667L12.164 3 21 12Z",fill:"currentColor"})]}))}},421036:function(e,t,n){n.r(t);var r=n(687800);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}n(827378),t.default=function(e){var t=e.title,n=e.titleId,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["title","titleId"]);return(0,r.BX)("svg",i(o(i(o({width:"1.5rem",height:"1.5rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:t?"img":"graphics-symbol",color:"inherit","aria-hidden":!t},!t&&{focusable:!1}),{"aria-labelledby":n}),l),{children:[t?(0,r.tZ)("title",{id:n,children:t}):null,(0,r.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Zm-5.05 3.536-1.414 1.414L12 13.414 8.464 16.95 7.05 15.536 10.586 12 7.05 8.465 8.464 7.05 12 10.586l3.535-3.536 1.415 1.415L13.414 12l3.536 3.536Z",fill:"currentColor"})]}))}},759737:function(e,t,n){n.r(t);var r=n(687800);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}n(827378),t.default=function(e){var t=e.title,n=e.titleId,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["title","titleId"]);return(0,r.BX)("svg",i(o(i(o({width:"1.5rem",height:"1.5rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:t?"img":"graphics-symbol",color:"inherit","aria-hidden":!t},!t&&{focusable:!1}),{"aria-labelledby":n}),l),{children:[t?(0,r.tZ)("title",{id:n,children:t}):null,(0,r.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Zm0-13.5A1.25 1.25 0 1 0 12 6a1.25 1.25 0 0 0 0 2.5ZM11 10v8h2v-8h-2Z",fill:"currentColor"})]}))}}}]);
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.