1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[92212,1254,99631],{571814:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.ImpressionEvent_v1_0_0=void 0;class n{constructor(e,t,n){this.impressionType=e,this.uiElementType=t,this.visibilityThreshold=n}toJSON(){return{impression_type:this.impressionType,ui_element_type:this.uiElementType,visibility_threshold:this.visibilityThreshold}}}t.ImpressionEvent_v1_0_0=n},23182:function(e,t,n){t.U=void 0;let r=n(635257),o=n(855451),i=n(135893),a=n(773688),l=n(571814),c=n(849141),u=n(484328);class s{static janusEvent(){let e=this.event(),t=this.page(),n=this.uiModal(),o=this.specification(),i=this.specificationVersion();return new r.JanusEvent(e,[o,i].concat([t].concat([n])))}static specification(){let e=new i.EventSpecificationEntity("f32652fe-9c00-4265-a08b-a79c521037d5","LandingPage_Carousel_FreshFromGram_Impression","fd8120dc-8f7c-47a8-9174-60f10a5f805d","Universal",null);return new o.JanusSchema("iglu:com.snowplowanalytics.snowplow/event_specification/jsonschema/1-0-3",e.toJSON())}static specificationVersion(){let e=new a.EventSpecificationVersionEntity(0);return new o.JanusSchema("iglu:com.hellofresh/event_specification_version/jsonschema/1-0-0",e.toJSON())}static event(){let e=new l.ImpressionEvent_v1_0_0("NavigatedTo","Carousel","Major");return new o.JanusSchema("iglu:com.hellofresh/impression/jsonschema/1-0-0",e.toJSON())}static page(){let e=new c.PageEntity_v1_3_0("LandingPage");return new o.JanusSchema("iglu:com.hellofresh/page/jsonschema/1-3-0",e.toJSON())}static uiModal(){let e=new u.UiModalEntity_v1_4_0("FreshFromGram");return new o.JanusSchema("iglu:com.hellofresh/ui_modal/jsonschema/1-4-0",e.toJSON())}}t.U=s},407792:function(e,t,n){n.d(t,{O:function(){return a}});var r=n(64294),o=n(827378),i=n(233477),a=function(){var e=(0,i.F)();return(0,o.useMemo)(function(){return{id:(0,r.ZP)(),attributes:e}},[e])}},553911:function(e,t,n){var r=n(687800),o=n(827378),i=n(72344),a=n(727650),l=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,f=e.noSSR,p=e.allowedAttrs,b=e.config,g=(0,l.T)(),m="string"==typeof s?s.replace(/[ \t]{9,}/g," ".repeat(8)):s,h=(0,a.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===p?[]:p},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||"")!==h){var e=g.startSpan("sanitize-content-libray");e.setAttributes({"sanitize-content-libray":!0,"sanitize-error-detected":s!==h,"sanitize-message":"HTML content has been sanitized. Please check the content to ensure it is safe.","sanitize-original-content":s,"sanitize-sanitized-content":h}),e.end()}},[s,h,g]),c)?f?(0,r.tZ)(u,{options:d,children:h}):(0,r.tZ)(i.default,{options:d,children:h}):(0,r.tZ)("div",{dangerouslySetInnerHTML:{__html:h}})}},277425:function(e,t,n){var r=n(822897),o=n(543790),i=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.b.cloudfront;if(t===r.b.cloudfront){var n=e.split(/\//);return n.splice(0,4),"/hellofresh_s3/".concat(n.join("/"))}if(t==r.b.everyplate_contentful){var o=e.split(/\//);return o.splice(0,4),"/everyplate_contentful/".concat(o.join("/"))}var i=e.split(/\//);return i.splice(0,3),"/hellofresh_website/".concat(i.join("/"))};t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.b.cloudfront;if(e=(null==e?void 0:e.startsWith("//"))?e.replace("//","https://"):e,!RegExp("^http(s)?.").test(e)&&t===r.b.cloudfront)return e.startsWith("/")?"/hellofresh_s3".concat(e):"/hellofresh_s3/".concat(e);try{var n=new URL(e);if(n.hostname.includes("cloudfront"))return i(e,r.b.cloudfront);if(n.href.includes("images.ctfassets.net/4frik3v39clf"))return i(e,r.b.everyplate_contentful);if(Object.keys(o.Z).some(function(e){return n.hostname.includes("cdn.".concat(e,".com"))})||n.hostname.includes("hf-website-live.s3-eu-west-1.amazonaws.com")||n.hostname.includes("hf-website-live.s3.eu-west-1.amazonaws.com"))return i(e,r.b.website);return n.pathname}catch(t){return e}}},737751:function(e,t,n){n.d(t,{v:function(){return o},w:function(){return i}}),(r=o||(o={})).wine="wine",r.cloudfront="cloudfront",r.website="website";var r,o,i={fetch_format:"auto",flags:"lossy",quality:"auto"}},977382:function(e,t,n){var r=n(347334);t.ZP=r.ZP},347334:function(e,t,n){n.d(t,{ZP:function(){return m},LJ:function(){return b}});var r,o={width:function(e){return e>0?"w_".concat(e):""},height:function(e){return e>0?"h_".concat(e):""},crop:function(e){return"c_".concat(e)},gravity:function(e){return"g_".concat(e)},background:function(e){return"b_".concat(e)},x:function(e){return"x_".concat(e)},y:function(e){return"y_".concat(e)},aspect_ratio:function(e){return"ar_".concat(e)},radius:function(e){return"r_".concat(e)},opacity:function(e){return"o_".concat(e)},dpr:function(e){return"dpr_".concat(e)},effect:function(e){return"e_".concat(e)},flags:function(e){return"fl_".concat(e)},overlay:function(e){return"l_".concat(e)},zoom:function(e){return"z_".concat(e)},fetch_format:function(e){return"f_".concat(e)},quality:function(e){return"q_".concat(e)},angle:function(e){return"a_".concat(e)},border:function(e){return"bo_".concat(e)},color:function(e){return"co_".concat(e)}},i=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce(function(t,n){var r=o[n],i=e[n],a=r&&i&&r(i);return a?t.concat([a]):t},[]).sort().join(",")},a=function(e,t){var n=i(t);return"".concat("https://media.hellofresh.com","/").concat(n,"/").concat(e)},l=n(737751),c=function(e){if(e&&e.match(/,/)){var t=e.split(","),n=parseInt(t[0],10),r=parseInt(t[1],10),o={};return r>0&&(o.height=r),n>0&&(o.width=n),o}return{}};function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s=(u(r={},l.v.wine,{proxyName:"lot18",extractImageId:function(e){var t=e.split(/\//);return t.splice(0,3),t.join("/")},extractSize:function(){return{}}}),u(r,l.v.cloudfront,{proxyName:"hellofresh_s3",extractImageId:function(e){var t=e.split(/\//);return t.splice(0,4),t.join("/")},extractSize:function(e){return c(e.split(/\//)[3])}}),u(r,l.v.website,{proxyName:"hellofresh_website",extractImageId:function(e){var t=e.split(/\//);return t.splice(0,3),t.join("/")},extractSize:function(e){return c(e.split(/\//)[3])}}),r);function d(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 f=RegExp("^http(s)?."),p={hasWarned:!1,markAsWarned:function(){this.hasWarned=!0}},b=function(e,t){return a(e,d({},l.w,t))},g=function(e){var t=f.test(e);return t&&!p.hasWarned&&(console.warn("\uD83D\uDE35 using imageLink for cloudfront images will be deprecated soon, pass an imagePath instead!"),p.markAsWarned()),t},m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.v.cloudfront;if(!e||!e.length)return function(){return e};var n=s[t],r=n.extractImageId,o=n.extractSize,i=n.proxyName,a="/".concat(r(e));t!==l.v.cloudfront||g(e)||(a=e);
1var c="".concat(i).concat(a);return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return b(c,d({},o(e),t))}}},52130:function(e,t,n){n.d(t,{L3:function(){return p},Vq:function(){return b},a8:function(){return f}});var r=n(827378),o=n(364740),i=n(94955),a=n(60074),l=n(277265),c=n(396887),u=n(444136),s=n(887426);function d(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 f(){return(0,r.useMemo)(function(){return{track:function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n]}}},[])}function p(){var e,t=(0,r.useContext)(u.g),n=(0,r.useRef)(t.browserTracker),i=(e=(0,c.ew)().NEXT_PUBLIC_SERVER_ENV)===c.Xe.local||e===c.Xe.staging?function(e){console.log(e)}:function(e){};(0,r.useEffect)(function(){n.current=t.browserTracker},[t]);var l=(0,r.useCallback)(function(e){return function(){for(var t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];if(!n.current){(0,s.S)({fn:e,args:r});return}e.apply(void 0,function(e){if(Array.isArray(e))return d(e)}(r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(r)||function(e,t){if(e){if("string"==typeof e)return d(e,void 0);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 d(e,void 0)}}(r)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}},[]);return{trackJanusEvent:(0,r.useCallback)(function(e){l(function(){try{var t={schema:e.event.schema,data:e.event.data},n=e.entities.map(function(e){return{schema:e.schema,data:e.data}});(0,o.i$)({event:t,context:n}),i("[SNOWPLOW]: Tracking Janus event ".concat(e.event.schema," successfully sent."))}catch(t){i("[SNOWPLOW]: Error occurred while trying to send Janus event ".concat(e.event.schema,".\n").concat(t)),(0,a.Tb)(t)}})()},[l,i])}}function b(e){var t=(0,r.useContext)(u.g),n=(0,r.useRef)(t.browserTracker),o=(0,r.useRef)(null);(0,r.useEffect)(function(){n.current=t.browserTracker},[t]),(0,r.useEffect)(function(){if(o.current!==e){var t=function(){var t=l.XI.page({pageName:e});(0,i.o$)({name:e,context:[{schema:t.schema,data:t.data}]})};if(!n.current){(0,s.S)({fn:t,args:[]});return}o.current=e,t()}},[e,t])}},575673:function(e,t,n){var r=n(687800);n(827378);var o=n(768587),i=function(e){var t=e.currentPage,n=e.totalPages,i=e.dotSize,a=void 0===i?8:i,l=e.activeDotSize,c=e.gap,u=void 0===c?"global.xxs-2":c,s=e.activeColor,d=void 0===s?"global.black":s,f=e.inactiveColor,p=void 0===f?"global.white":f,b=e.activeBorderColor,g=void 0===b?"global.black":b,m=e.inactiveBorderColor,h=void 0===m?"global.black":m,y=e.onDotClick;if(n<=1)return null;var v=null!=l?l:a;return(0,r.tZ)(o.xu,{display:"flex",alignItems:"center",justifyContent:"center","data-test-id":"custom-pagination",role:"tablist","aria-label":"Page ".concat(t+1," of ").concat(n),children:Array.from({length:n},function(e,n){var i=n===t,l=i?v:a;return(0,r.tZ)(o.xu,{as:"button",type:"button",width:"".concat(l,"px"),height:"".concat(l,"px"),borderRadius:"border-radius-circle",backgroundColor:i?d:p,borderWidth:"1px",borderStyle:"solid",borderColor:i?g:h,padding:"global.none",cursor:"pointer",mx:u,role:"tab","aria-selected":i,"aria-label":"Go to page ".concat(n+1),"data-test-id":"pagination-dot-".concat(n),onClick:y?function(){return y(n)}:void 0},n)})})};i.displayName="Pagination",t.Z=i},759230:function(e,t,n){n.d(t,{BK:function(){return r},ld:function(){return o}}),n(210970);var r=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"center";e&&e.scrollIntoView({block:t,behavior:"smooth"})},o=function(e){var t=e.currentTarget;if(t.hash&&t.href&&t.href.includes(window.location.href)){e.preventDefault();var n=t.hash.replace("#","");r(document.querySelector('div[data-test-id="'.concat(n,'"]')))}}},502408:function(e,t,n){n.d(t,{L:function(){return u},j:function(){return s}});var r=n(737751),o=n(977382),i=n(347334),a=["hellofresh_website","hellofresh_s3","everyplate_contentful"],l=function(e){var t;return!!a.some(function(t){return e.pathname.startsWith("/".concat(t,"/"))})||(t=e.hostname,/^media\.[a-z0-9-]+\.com$/i.test(t)&&e.pathname.startsWith("/dam/"))},c=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.v.website;return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!e)return(0,o.ZP)(e,t)(n);var r=e.startsWith("//")?"https:".concat(e):e;if(/^https?:\/\//.test(r))try{var a=new URL(r);if(l(a)){var c="".concat(a.pathname).concat(a.search).replace(/^\//,"");return"".concat(a.origin).concat((0,i.LJ)(c,n).slice(28))}}catch(e){}return(0,o.ZP)(e,t)(n)}},u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r.v.website;return e&&c(e,n)(t)||""},s=function(e){return e.endsWith(".svg")}},608053:function(e,t,n){n.d(t,{BG:function(){return l},Bx:function(){return r},nZ:function(){return o},tZ:function(){return c}});var r=function(e){return e.startsWith("#")},o=function(e){return Object.keys(e).map(function(t){return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(e[t]))}).join("&")},i=function(e,t,n){if(!n||r(e))return e;var o=RegExp("([?&])"+t+"=.*?(&|$)","i"),i=-1!==e.indexOf("?")?"&":"?";return e.match(o)?e.replace(o,"$1"+t+"="+n+"$2"):e+i+t+"="+n},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0;
1return n.reduce(function(e,n){return i(e,n,t[n])},e)},l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(null==e?void 0:e.startsWith("Tel:"))return e;var r=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}({},n,t);return a(e,r,Object.keys(r).sort(function(e,t){return e>t?1:e<t?-1:0}))},c=function(e){var t=e.slug,n=e.id,r=e.queryParams;return a("/recipes/".concat(t,"-").concat(n),void 0===r?{}:r,["locale"])}},82581:function(e,t,n){n.d(t,{$:function(){return l}});var r=n(827378),o=n(60074),i=n(23182),a=n(52130),l=function(){var e=(0,a.L3)().trackJanusEvent;return{trackFreshFromGramImpression:(0,r.useCallback)(function(){try{e(i.U.janusEvent())}catch(e){(0,o.Tb)(e,{tags:{event:"LandingPage_Carousel_FreshFromGram_Impression",component:"useFreshFromGramImpressionSnowplowEvent"}})}},[e])}}},719920:function(e,t,n){var r=n(966622),o=n(527157),i=n(827378),a=n(687992);t.Z=function(){var e=(0,r.py)({runUsingStatsig:!0}),t=e.track,n=e.isReady,l=(0,o.Z)(),c=(0,a.Z)(),u=c.id,s=c.attributes,d=c.isReady;return{trackStatsigEvents:(0,i.useCallback)(function(e,n){if(d&&u){var r,o;t({experimentationUserId:u,experimentationUserAttributes:s,eventName:e,eventTags:(r=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}({},n),o=o={screen:"Landing Page",tribe:"Conversions Journey",brand:l},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(o)).forEach(function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(o,e))}),r)})}},[t,u,s,l,d]),isReady:n&&d}}},112447:function(e,t,n){n.d(t,{R:function(){return s},p:function(){return d}});var r=n(687800);n(827378);var o=n(768587),i=n(723740),a=n(988402);function l(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 c(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}function u(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}var s=function(e){var t=e.navigate,n=e.carouselId,a=u(e,["navigate","carouselId"]);return(0,r.tZ)(o.xu,c(l({position:"absolute",top:"50%",left:"-56px",transform:"translateY(-50%)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:"2",onClick:t,"data-test-id":"".concat(n,"-carousel-left-arrow"),as:"button",background:"none",cursor:"pointer",height:40,width:40},a),{borderWidth:"1px",borderStyle:"solid",borderColor:"primary.600",backgroundColor:"neutral.100",color:"primary.600",borderRadius:"border-radius-circle",pseudo:{":hover":{backgroundColor:"primary.200"},":active":{backgroundColor:"primary.200"}},children:(0,r.tZ)(i.default,{})}))},d=function(e){var t=e.navigate,n=e.carouselId,i=u(e,["navigate","carouselId"]);return(0,r.tZ)(o.xu,c(l({position:"absolute",as:"button",display:"flex",alignItems:"center",justifyContent:"center",height:40,width:40,top:"50%",right:"-56px",transform:"translateY(-50%)",zIndex:"2",borderWidth:"1px",borderStyle:"solid",borderColor:"primary.600",backgroundColor:"neutral.100",color:"primary.600",borderRadius:"border-radius-circle",pointerEvents:"all",onClick:t,"data-test-id":"".concat(n,"-carousel-right-arrow"),background:"none",cursor:"pointer",pseudo:{":hover":{backgroundColor:"primary.200"},":active":{backgroundColor:"primary.200"}}},i),{children:(0,r.tZ)(a.default,{})}))}},833330:function(e,t,n){n.r(t),n.d(t,{default:function(){return ep},getSectionPaddingBottom:function(){return ed}});var r=n(687800),o=n(827378),i=n(165218),a=n.n(i),l=n(40412),c=n.n(l),u=n(509957),s=n(553911),d=n(887824),f=n(268481),p=n(768587),b=n(783045),g=n(832402),m=n(951676),h=n(820793),y=function(e,t,n){var r;return function(){for(var o=this,i=arguments.length,a=Array(i),l=0;l<i;l++)a[l]=arguments[l];var c=n&&!r;clearTimeout(r),r=setTimeout(function(){r=null,n||e.apply(o,a)},t),c&&e.apply(this,a)}},v=n(608053),x=n(632117),w=n(719920),O=n(82581),j=n(112447),S=n(899631),P=n(502408),Z=n(759230);function k(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 C(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}var I=function(e){var t=e.title,n=e.ctaUrl,o=e.ctaText,i=e.showCard,a=e.location,l=e.text,c=e.iconImage,u=e.iconImageAltText,d=e.anchorId,f=e.imageLinkUrl,g=e.keepAssetSize,m=e.total,h=e.isAnimatedImage,y=e.sectionContentAlignment,v=e.role,x=(0,b.zv)(),w=(null==c?void 0:c.endsWith(".svg"))?c:(0,P.L)(c);return(0,r.tZ)(p.xu,{justifyContent:"center",textAlign:"center",height:"100%",display:"flex",width:["100%",1/(void 0===m?1:m)],role:v,px:"global.sm-2",tabIndex:"listitem"===v?0:-1,children:(0,r.BX)(p.xu,{overflow:"hidden",display:"flex",flexDirection:"column",alignItems:"center",boxShadow:i?"global.sm":"global.none",justifyContent:i?"space-between":"center",children:[(0,r.tZ)(p.xu,{mb:"global.sm-2",pt:"global.md-2",backgroundRepeat:"no-repeat",backgroundPosition:"center",backgroundSize:"125px",children:d||f?(0,r.tZ)(p.xu,{as:"a",onClick:function(e){return(0,Z.ld)(e)},href:f||"#".concat(d),display:"flex",justifyContent:"center",children:(0,r.tZ)(p.xu,C(k({},i&&g?{maxWidth:["50%","70%"]}:{}),{children:(0,r.tZ)("img",{src:w||"",alt:u||"",loading:"lazy",width:"100%"})}))}):g?(0,r.tZ)("img",k({src:w||"",alt:u||"",loading:"lazy",width:"100%"},i&&g?{marginTop:"30px"}:{})):h?(0,r.tZ)(p.Fm,{path:c,styles:{width:"100px",height:"100px"}}):(0,r.tZ)("img",C(k({src:w||"",alt:u||"",loading:"lazy",width:"100%",height:"auto"},i&&g?{marginTop:"32px"}:{}),{style:{maxWidth:"375px",objectFit:"cover"}}))}),(0,r.tZ)(p.xu,C(k({},x&&!y?{display:"flex",alignSelf:"flex-start",textAlign:"left"}:{display:"flex",alignItems:"left"===y?"flex-start":"center"}),{__dangerouslySetCustomCSS:{a:{color:"alias.brand.foreground.default"}},children:(0,r.tZ)(p.xv,{type:"body-md-bold",mt:"global.xxs",children:(0,r.tZ)(s.Z,{hasMarkdown:!0,copy:t})})})),a&&i&&(0,r.BX)(p.xu,{display:"flex",alignItems:"center",children:[(0,r.tZ)(p.JO,{icon:(0,r.tZ)(S.default,{fontSize:8,height:"16px"}),color:"global.gray.500"}),(0,r.tZ)(p.xv,{type:"body-sm-regular",children:a})]}),(0,r.tZ)(p.xu,C(k(C(k({},!x&&{px:"global.md-2"}),{boxSizing:"border-box",width:"100%",flex:"1"}),i&&{height:["96px","120px","96px"]}),{__dangerouslySetCustomCSS:{a:{color:"alias.brand.foreground.default"}},children:(0,r.tZ)(p.xu,C(k({},x&&!y?{textAlign:"left"}:{textAlign:y}),{children:(0,r.tZ)(p.xv,{type:"body-md-regular",children:(0,r.tZ)(s.Z,{copy:l,hasMarkdown:!0})})}))})),o&&n&&i&&(0,r.tZ)(p.xu,{py:"global.md-1",__dangerouslySetCustomCSS:{"> a":{textDecoration:"none"}},children:(0,r.tZ)(p.zx.Primary,{as:"a",href:n,appearance:"brand",underlinePosition:"50px",children:o})})]})})},z=function(e){var t=e.id,n=e.isMobile,o=e.itemCount,i=e.children;return(0,r.tZ)(p.lr,{id:t,friction:!0,paddingX:"global.none",paddingY:"global.none",showArrowNavigation:!0,showBulletPagination:!1,arrowLeftAriaLabel:"Previous item",arrowRightAriaLabel:"Next item",scrollableRegionTabIndex:0,perPage:n?1:Math.min(4,o),children:i})},_=n(277425),E=n(318066);function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var A=function(e){var t,n=e.imageUrl,o=e.title,i=e.copy,a=e.badge,l=e.badgeColor,c=e.badgeFontColor,u=e.contentAlignment,s=void 0===u?m.C.Bottom:u,d=e.handleClick,f=e.handleKeyDown,b=e.showGradient,g=n?(0,_.Z)(n):null,h="#37938a"===l&&"#ffffff"===c?{bg:"success.800",text:"neutral.100"}:"#1982c4"===l&&"#ffffff"===c?{bg:"#156aa3",text:"neutral.100"}:{bg:l,text:c};return(0,r.BX)(p.xu,{position:"relative",borderRadius:"border-radius-sm",overflow:"hidden",onClick:d,onKeyDown:f,children:[g&&(0,r.tZ)(p.xu,{height:315,width:262,boxShadow:"shadow-sm",pseudo:{":before":{content:"''",position:"absolute",top:0,left:0,width:"262px",height:"315px",borderRadius:"border-radius-sm",backgroundImage:void 0===b||b?"linear-gradient(".concat(s===m.C.Top?"0deg":"180deg",", rgba(0, 0, 0, 0) 45%, black)"):"none",zIndex:1}},children:(0,r.tZ)(E.ZP,{quality:"60",layout:"fixed",width:"262",height:"315",src:g,alt:""})}),(0,r.BX)(p.xu,(T(t={position:"absolute",left:"16px",zIndex:1,display:"flex",verticalAlign:"top",flexDirection:"column",alignItems:"flex-start",justifyContent:"flex-end",width:"89%"},s,"24px"),T(t,"children",[(0,r.tZ)(p.xv,{color:"neutral.100",as:"h2",children:o}),(0,r.tZ)(p.xu,{as:"span",mb:"xs",maxWidth:"80%",color:"neutral.100",children:i}),(0,r.tZ)(p.xu,{color:h.text,backgroundColor:h.bg,fontSize:"body-sm-regular",lineHeight:"line-height-md-1",fontWeight:"body-bold",paddingX:"xs",borderRadius:"border-radius-sm",maxWidth:"95%",children:a})]),t))]})},D=n(201254);function B(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 R=function(e){var t,n,o=e.isPopUpVisible,i=e.popUpEmphaticText,a=e.popUpText;return(0,r.BX)(p.xu,(t=B({"aria-hidden":!0,"data-test-id":"recipe-slider-pop-up",display:["none","flex"],minWidth:"440px",alignItems:"center",textAlign:"center",justifyContent:"center",borderRadius:"border-radius-pill",backgroundColor:"neutral.100",position:"absolute",top:0,borderWidth:"1px",borderStyle:"solid",borderColor:"neutral.400",left:"50%",paddingY:"sm-1",paddingX:"md-1"},!o&&{opacity:0}
1),n=n={zIndex:1,transform:"translateX(-50%) translateY(0%)",__dangerouslySetCustomCSS:B({"@keyframes bounceIn":{"0%":{transform:"translateX(-50%) translateY(calc(0% + 3px))",animationTimingFunction:"ease-in",opacity:0},"5%":{transform:"translateX(-50%) translateY(calc(0% - 3px))",animationTimingFunction:"ease-out",opacity:.5},"10%":{transform:"translateX(-50%) translateY(calc(0% + 3px))",animationTimingFunction:"ease-in",opacity:1},"15%":{transform:"translateX(-50%) translateY(0%)",animationTimingFunction:"ease-out",opacity:1},"95%":{animationTimingFunction:"ease-out",opacity:1},"100%":{animationTimingFunction:"ease-out",opacity:0}}},o&&{animation:"bounceIn 3s ease 1"}),children:[(0,r.tZ)(p.xu,{display:"flex",marginRight:"xxs",color:"primary.600",children:(0,r.tZ)(D.default,{})}),(0,r.tZ)(p.xu,{paddingX:"xxs",children:(0,r.tZ)(p.xv,{type:"body-sm-bold",color:"primary.600",children:i})}),(0,r.tZ)(p.xu,{paddingX:"xxs",children:(0,r.tZ)(p.xv,{type:"body-sm-bold",color:"neutral.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))},L=function(e){var t=e.bannerTitle,n=e.bannerBody,o=e.bannerImageDesktop,i=e.bannerImageTablet,a=e.bannerImageMobile,l=e.bannerBgColor;return(0,r.tZ)(p.xu,{maxWidth:["100%","964px","1140px"],marginX:"auto",px:["sm-2","md-1"],children:(0,r.tZ)(p.xu,{width:["100%","85%","90%"],marginX:"auto",backgroundColor:l,backgroundImage:["url(".concat(a,")")||0,"url(".concat(i,")")||0,"url(".concat(o,")")||0],backgroundRepeat:"no-repeat",backgroundPosition:["100% 50%","95% 50%","95% 50%"],backgroundSize:"auto 100%",borderRadius:"border-radius-sm",children:(0,r.tZ)(p.xu,{margin:"auto",display:"flex",justifyContent:"space-between",children:(0,r.BX)(p.xu,{width:[3/4,.5,.4],pl:["xs","md-1","lg-1"],py:"sm-2",minHeight:"120px",children:[(0,r.tZ)(p.xu,{pb:"xs",children:(0,r.tZ)(p.xv,{as:"h3",children:t})}),(0,r.tZ)(p.xv,{children:n})]})})})})},W=function(e){var t=e.title,n=e.text,o=e.iconImage;return(0,r.BX)(p.xu,{display:"flex",flexDirection:"column",alignItems:"center",my:"sm-2",children:[o&&(0,r.tZ)(p.xu,{width:["100px","100px","108px"],height:["100px","100px","108px"],position:"relative",children:(0,r.tZ)(E.ZP,{src:(0,_.Z)(o),layout:"fill",alt:""})}),t&&(0,r.tZ)(p.xu,{maxWidth:["255px","425px","290px"],children:(0,r.tZ)(p.xv,{as:"h3",my:"sm-2",textAlign:"center",color:"primary.600",children:t})}),n&&(0,r.tZ)(p.xu,{maxWidth:["330px","400px","284px"],textAlign:"center",children:(0,r.tZ)(p.xv,{children:(0,r.tZ)(s.Z,{copy:n,hasMarkdown:!0})})})]})},X=function(e){var t=e.items,n=e.showSlider,o=e.isMobile;return void 0!==n&&n?(0,r.tZ)(p.xu,{position:"relative",children:(0,r.tZ)(z,{id:"zest-carousel",isMobile:void 0!==o&&o,itemCount:t.length,children:t.map(function(e,t){var n,o;return(0,r.tZ)(p.xu,{children:(0,r.tZ)(I,(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),o=o={total:1,sectionContentAlignment:"center"},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(o)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(o)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(o,e))}),n))},e.title||t)})})}):(0,r.tZ)(p.xu,{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",height:"100%",children:(0,r.tZ)(p.xu,{display:"flex",flexDirection:["column","column","row"],gap:["zero","zero","xl-2"],maxWidth:"1140px",width:"100%",children:t.map(function(e,t){return(0,r.tZ)(p.xu,{children:(0,r.tZ)(W,{title:e.title,text:e.text,iconImage:e.iconImage})},e.title||t)}
1)})})},M=n(112696);M.z.enum(["left","center","start"]);var N=M.z.object({bannerEnabled:M.z.boolean(),bannerTitle:M.z.string().optional(),bannerBody:M.z.string().optional(),bannerImageDesktop:M.z.string().optional(),bannerImageTablet:M.z.string().optional(),bannerImageMobile:M.z.string().optional(),bannerBgColor:M.z.string().optional()}),U=M.z.object({id:M.z.string(),items:M.z.custom(),title:M.z.string().optional(),description:M.z.string().optional(),showCard:M.z.boolean().optional().default(!1),includeMenuSlider:M.z.boolean().optional().default(!1),menuSliderCards:M.z.custom().default([]),badgeText:M.z.string().optional().default(""),badgeEmphaticText:M.z.string().optional().default(""),ctaText:M.z.string().optional().default(""),ctaUrl:M.z.string().optional().default(""),ctaDisclaimer:M.z.string().optional().default(""),buttonType:M.z.custom().optional(),anchorName:M.z.string().optional(),desktopImageUrl:M.z.string().optional(),tabletImageUrl:M.z.string().optional(),mobileImageUrl:M.z.string().optional(),type:M.z.custom(),queryParams:M.z.custom().optional(),selfPlay:M.z.boolean().optional(),showInstagramIcon:M.z.boolean().optional(),valuePropsBanner:N.optional(),zestDesignSystem:M.z.boolean().optional(),buttonAppearance:M.z.custom().optional(),sectionContentAlignment:M.z.string().optional(),showGradient:M.z.boolean().optional(),contentType:M.z.string().optional()}),G=M.z.object({showSeparator:M.z.boolean().optional().default(!0),sectionBackgroundColor:M.z.string().optional(),condensedVersion:M.z.boolean().optional(),boldTitle:M.z.boolean().optional(),showSlider:M.z.boolean().optional().default(!1),includeMenuSlider:M.z.boolean().optional().default(!1),hasBackgroundImage:M.z.boolean().optional(),description:M.z.string().optional(),zestDesignSystem:M.z.boolean().optional()}),F=U.merge(G),J=n(671273),V=n(575673),Y=n(822897),H=function(e){var t=e.title,n=e.text,o=e.badge,i=e.imageUrl,a=e.imageAltText,l=(null==i?void 0:i.startsWith("http"))?(0,_.Z)(i,Y.b.website):i;return(0,r.BX)(p.xu,{"data-test-id":"endorsement-card",display:"flex",flexDirection:"column",borderRadius:"border-radius-lg",overflow:"hidden",width:"100%",boxShadow:"shadow-md",children:[(0,r.tZ)(p.xu,{position:"relative",width:"100%",aspectRatio:["298/345","298/345","298/345"],children:(0,r.tZ)(E.ZP,{src:l,alt:a||"".concat(t," - Endorsement"),fill:!0,style:{objectFit:"cover",objectPosition:"center"},sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw",loading:"lazy"})}),(0,r.BX)(p.xu,{backgroundColor:"global.black",paddingTop:"global.sm-1",paddingBottom:"global.sm-3",paddingX:"global.sm-2",display:"flex",flexDirection:"column",gap:["global.xxs","global.xs"],zIndex:1,__dangerouslySetCustomCSS:{marginTop:"-12px"},children:[(0,r.BX)(p.xu,{children:[(0,r.tZ)(p.xv,{type:"body-md-bold",color:"alias.elevation.foreground.inverse","data-test-id":"endorsement-title",__dangerouslySetCustomCSS:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",display:"block"},children:t}),(0,r.tZ)(p.xu,{opacity:.9,children:(0,r.tZ)(p.xv,{type:"body-xs-regular",color:"alias.elevation.foreground.inverse","data-test-id":"endorsement-text",__dangerouslySetCustomCSS:{display:"-webkit-box",WebkitLineClamp:2,WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis"},children:n})})]}),o&&(0,r.tZ)(p.xu,{display:"inline-flex",alignSelf:"flex-start",marginTop:"global.xxs",children:(0,r.tZ)(p.xu,{paddingX:["global.xs","global.sm-1"],paddingBottom:["global.xxs","global.xs"],borderRadius:"border-radius-pill",borderWidth:"1px",borderStyle:"solid",borderColor:"alias.interactive.border.default-neutral",children:(0,r.tZ)(p.xv,{type:"body-xs-bold",color:"alias.brand.border.neutral","data-test-id":"endorsement-badge",children:o})})})]})]})};function $(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 q(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=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return $(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 $(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.")}()}H.displayName="EndorsementCard";var K=function(e){var t=e.title,n=e.description,i=e.items,a=e.ctaText,l=e.ctaUrl,c=e.buttonAppearance,u=void 0===c?g.L.Brand:c,d=(0,f.Sj)(),b="mobile"===d?1.2:"tablet"===d?2:3.3,m=(0,o.useRef)(null),h=Math.ceil(((null==i?void 0:i.length)||0)/Math.floor(b)),y=q((0,o.useState)(0),2),v=y[0],x=y[1],w=q((0,o.useState)(h),2),O=w[0],j=w[1];return i&&0!==i.length?(0,r.tZ)(p.xu,{as:"section","data-test-id":"endorsement-section",backgroundColor:"alias.elevation.base",paddingY:["global.lg-1","global.lg-2","global.lg-3"],children:(0,r.BX)(p.xu,{marginX:"auto",maxWidth:"1200px",paddingX:["global.sm-2","global.md-1","global.lg-1"],children:[(t||n)&&(0,r.BX)(p.xu,{marginBottom:["global.xs","global.md-2","global.lg-1"],textAlign:"center",children:[t&&(0,r.tZ)(p.xv,{as:"h2",type:["display-lg","display-xl","display-xl"],color:"alias.elevation.foreground.base",marginBottom:n?"global.sm-2":"global.none","data-test-id":"endorsement-section-title",children:(0,r.tZ)(s.Z,{copy:t,hasMarkdown:!0,config:{ALLOWED_TAGS:["br","i","b","strong"]}})}),n&&(0,r.tZ)(p.xv,{type:["body-md-regular","body-lg-regular","body-lg-regular"],color:"alias.interactive.border.default-neutral",marginX:"auto","data-test-id":"endorsement-section-description",children:(0,r.tZ)(s.Z,{copy:n,hasMarkdown:!0})})]}),(0,r.BX)(p.xu,{"data-test-id":"endorsement-cards-carousel",marginBottom:["global.sm-1","global.md-1","global.md-1"],children:[(0,r.tZ)(p.lr,{id:"endorsement-cards-carousel-component",showArrowNavigation:!1,showBulletPagination:!1,sliderRef:m,perPage:b,paddingX:"global.none",snapAlign:"start",partialSlideView:!1,scrollableRegionTabIndex:0,arrowLeftAriaLabel:"Previous card",arrowRightAriaLabel:"Next card",onPageChange:function(e,t){x(e-1),j(t)},children:i.map(function(e,t){return(0,r.tZ)(p.xu,{paddingX:"global.xxs-2",children:(0,r.tZ)(H,{title:e.title,text:e.text,badge:e.badge,imageUrl:e.iconImage,imageAltText:e.iconImageAltText})},"endorsement-card-carousel-".concat(t))})}),(0,r.tZ)(p.xu,{mt:"global.sm-1","data-test-id":"endorsement-section-pagination",children:(0,r.tZ)(V.Z,{currentPage:v,totalPages:O,onDotClick:function(e){var t=m.current;if(t){var n=(t.scrollWidth-t.clientWidth)/(O-1);t.scrollTo({left:n*e,behavior:"smooth"})}}})})]}),l&&a&&(0,r.tZ)(p.xu,{display:"flex",justifyContent:"center",width:"100%",marginTop:["global.sm-1","global.sm-2","global.sm-2"],children:(0,r.tZ)(p.xu,{width:["100%","425px","425px"],children:(0,r.tZ)(p.rU,{href:l,noStyle:!0,tabIndex:-1,children:(0,r.tZ)(p.zx.Primary,{appearance:u,"data-test-id":"endorsement-section-cta",width:"100%",children:a})})})})]})}):null};function Q(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 ee(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function et(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){ee(e,t,n[t])})}return e}function en(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}function er(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=[],a=!0,l=!1;try{for(o=o.call(e);!(a=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){l=!0,r=e}finally{try{a||null==o.return||o.return()}finally{if(l)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Q(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 Q(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.")}()}K.displayName="EndorsementSection";var eo=a()(function(){return n.e(75126).then(n.bind(n,75126))},{loadableGenerated:{webpack:()=>[75126]}}),ei=a()(function(){return n.e(23159).then(n.bind(n,23159))},{loadableGenerated:{webpack:()=>[23159]}}),ea=a()(function(){return n.e(12285).then(n.bind(n,12285))},{loadableGenerated:{webpack:()=>[12285]}}),el="Navigation_Scroll",ec="Landing_Carrousel_View",eu={afterSanitizeAttributes:function(e){"IMG"!==e.tagName||e.hasAttribute("alt")||e.setAttribute("alt","")}},es={overrides:{img:function(e){var t=e.alt,n=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,["alt"]);return(0,r.tZ)("img",et({alt:void 0===t?"":t},n))}}},ed=function(e,t){return e&&t?"global.none":"global.md-2"},ef=function(e){var t,n=e.id,i=e.items,a=e.title,l=e.description,x=e.showSeparator,S=e.showSlider,P=void 0!==S&&S,Z=e.condensedVersion,k=e.showCard,C=void 0!==k&&k,_=e.sectionBackgroundColor,E=e.includeMenuSlider,T=void 0!==E&&E,D=e.menuSliderCards,B=e.badgeText,W=e.badgeEmphaticText,M=e.ctaText,N=void 0===M?"":M,U=e.ctaUrl,G=void 0===U?"":U,F=e.ctaDisclaimer,V=void 0===F?"":F,Y=e.buttonType,H=void 0===Y?g.o.Primary:Y,$=e.anchorName,q=e.desktopImageUrl,Q=e.tabletImageUrl,ef=e.mobileImageUrl,ep=e.type,eb=e.showInstagramIcon,eg=e.queryParams,em=e.valuePropsBanner,eh=e.zestDesignSystem,ey=e.buttonAppearance,ev=void 0===ey?g.L.Brand:ey,ex=e.sectionContentAlignment,ew=void 0===ex?"center":ex,eO=e.showGradient,ej=void 0===eO||eO,eS=e.contentType,eP=!!q,eZ=(0,J.h)(n,eS).handleGAEventClick,ek=(0,d.Z)().push,eC=!!window.IntersectionObserver,eI=(0,u.YD)({skip:!eC}),ez=eI.inView,e_=eI.ref,eE=(0,w.Z)().trackStatsigEvents,eT=(0,O.$)().trackFreshFromGramImpression,eA=er((0,o.useState)(!1),2),eD=eA[0],eB=eA[1],eR=y(function(){eD||(eB(!0),setTimeout(function(){eB(!1)},3e3))},300),eL=function(e){"Enter"===e.key&&eR()},eW="mobile"===(0,f.Sj)(),eX=er((0,o.useState)(!1),2),eM=eX[0],eN=eX[1],eU=er((0,o.useState)(!1),2),eG=eU[0],eF=eU[1],eJ=(0,b.zv)();(0,o.useEffect)(function(){!eM&&ez&&(ek({event:"gaEventTrigger",gaEventCategory:"navigation",eventName:el,position:n,gaEventAction:"scroll",gaEventLabel:n,nonInteraction:!1}),eE(el,{event:"gaEventTrigger",gaEventCategory:"navigation",position:n,gaEventAction:"scroll",gaEventLabel:n,nonInteraction:"false"}),eN(!0))},[n,ez,eM,ek,eE]);var eV=(ee(t={},g.o.Primary,p.zx.Primary),ee(t,g.o.Secondary,p.zx.Secondary),ee(t,g.o.Tertiary,p.zx.Tertiary),t)[H],eY=(0,r.BX)(r.HY,{children:[(0,r.BX)(p.xu,{px:"sm-2",children:[a&&(0,r.tZ)(p.xu,{paddingY:"global.md-2",px:"global.sm-1",children:(0,r.tZ)(p.xv,{as:"h2",textAlign:eJ?[ew,"center"]:"center",children:(0,r.tZ)(s.Z,{copy:a,hasMarkdown:!0,config:{ALLOWED_TAGS:["br","i","b"]}})})}),l&&(0,r.tZ)(p.xu,{px:"global.xs",pb:T?"global.none":"global.md-1",width:["100%","60%"],margin:"auto",textAlign:eJ?[ew,"center"]:"center",children:(0,r.tZ)(p.xv,{type:"body-md-regular",children:(0,r.tZ)(s.Z,{copy:l,hasMarkdown:!0,allowedAttrs:["target","rel"],config:{HOOKS:eu},markdownOptions:en(et({},es),{overrides:en(et({},es.overrides),{a:{component:p.rU}})})})})})]}),(0,r.tZ)(c(),{onChange:function(e){!eG&&e&&(ek({event:"gaEventTrigger",category:"navigation",eventName:ec,action:"scroll",label:"instagramPosts"}),eE(ec,{event:"gaEventTrigger",category:"navigation",action:"scroll",label:"instagramPosts"}),eT(),eF(!0))},children:eh?(0,r.tZ)(X,{items:i,showSlider:P,isMobile:eW}):(0,r.tZ)(p.xu,{marginX:"auto",width:"100%","data-test-id":"column-section-instagram",display:[P?"none":"block",P?"none":"flex"],maxWidth:Z?"630px":"1140px",children:(0,r.tZ)(p.xu,{display:"flex",flex:"1 1 0%",flexDirection:"row",flexWrap:"wrap",boxSizing:"border-box",alignItems:"start",role:"list",children:null==i?void 0:i.map(function(e,t){return(0,r.tZ)(I,en(et({},e),{role:"listitem",showCard:C,total:i.length,sectionContentAlignment:ew}),t)})})})}),(null==i?void 0:i.length)>0&&!eh&&P&&(0,r.tZ)(p.xu,{maxWidth:"1140px",width:"100%",marginX:"auto",children:(0,r.tZ)(z,{id:"carousel",isMobile:eW,itemCount:i.length,children:i.map(function(e,t){return(0,r.tZ)(p.xu,{children:(0,r.tZ)(I,en(et({},e),{total:1,sectionContentAlignment:ew}))},t)})})}),T&&(0,r.BX)(p.xu,{maxWidth:["100%","964px","1140px"],px:["sm-2","md-1"],py:"global.md-1",marginX:"auto",mt:"xs",position:"relative",children:[(0,r.tZ)(R,{isPopUpVisible:eD,popUpText:void 0===B?"":B,popUpEmphaticText:void 0===W?"":W}),(0,r.tZ)(p.lr,{id:"menu-slider",showArrowNavigation:!eW,showBulletPagination:!1,perPage:eW?1:3,paddingX:eW?"global.none":"global.lg-2",autosize:!1,arrowLeft:j.R,arrowRight:j.p,friction:!0,autosnap:!0,snapAlign:"start",partialSlideView:!0,scrollableRegionTabIndex:0,children:(void 0===D?[]:D).map(function(e,t){return(0,r.tZ)(p.xu,{pr:"global.sm-1",id:"slider-recipe-item-".concat(t),children:(0,r.tZ)(A,en(et({},e),{contentAlignment:m.C.Bottom,handleClick:eR,handleKeyDown:eL,showGradient:ej}))},t)})})]}),(null==em?void 0:em.bannerEnabled)&&(0,r.tZ)(L,{bannerTitle:null==em?void 0:em.bannerTitle,bannerBody:null==em?void 0:em.bannerBody,bannerImageMobile:null==em?void 0:em.bannerImageMobile,bannerImageTablet:null==em?void 0:em.bannerImageTablet,bannerImageDesktop:null==em?void 0:em.bannerImageDesktop,bannerBgColor:null==em?void 0:em.bannerBgColor}),G&&N&&(0,r.BX)(p.xu,{display:"flex",flexDirection:"column",alignItems:"center",margin:"auto",marginTop:"md-1",children:[(0,r.tZ)(p.xu,{width:eh?["100%","400px","360px"]:"auto",px:eh?["sm-2","zero"]:"zero",children:(0,r.tZ)(p.rU,{href:(0,v.BG)(G,eg),noStyle:!0,tabIndex:-1,
1children:(0,r.tZ)(eV,{"data-test-id":"column-section-cta",appearance:ev,onClick:function(){eZ(N)},children:N})})}),V&&(0,r.tZ)(p.xv,{"data-test-id":"column-section-cta-description",type:["body-sm-regular","body-md-regular"],my:"global.sm-1",children:(0,r.tZ)(s.Z,{copy:V,hasMarkdown:!0,config:{HOOKS:eu},markdownOptions:es})})]})]}),eH=null;switch(ep){case h.G.Instagram:eH=(0,r.tZ)(eo,{items:i,description:l||"",title:a||"",showInstagramIcon:void 0===eb||eb});break;case h.G.News:eH=(0,r.tZ)(ei,{title:a,items:i});break;case h.G.Logos:eH=(0,r.tZ)(ea,{title:a,items:i,description:l});break;case h.G.Endorsement:eH=(0,r.tZ)(K,{title:a,description:l,items:i,ctaText:N,ctaUrl:G,buttonAppearance:ev});break;default:eH=eY}return(0,r.tZ)(p.xu,en(et(en(et({ref:e_,as:"section"},$&&{id:$},(void 0===x||x)&&!eJ&&{borderBottomColor:"shared-alias.neutral.border.lighter",borderBottomWidth:"1px",borderBottomStyle:"solid"}),{backgroundColor:eJ?"alias.elevation.base":_||"alias.page-background.default",backgroundImage:[ef?"url(".concat(ef,")"):"none",Q?"url(".concat(Q,")"):"none",q?"url(".concat(q,")"):"none"],backgroundSize:"cover",backgroundPosition:["0%","50% 0%","50%"]}),!eh&&{paddingBottom:ed(eP,!!(G&&N))},eh&&ep!==h.G.Endorsement&&{pb:"global.md-2",pt:"global.sm-2"}),{children:eP&&!eh?eY:eH}))};ef.displayName="ColumnSection";var ep=(0,x.S)(ef,F,!0)},832402:function(e,t,n){var r,o,i,a;n.d(t,{L:function(){return o},o:function(){return r}}),(i=r||(r={})).Primary="Primary",i.Secondary="Secondary",i.Tertiary="Tertiary",(a=o||(o={})).Brand="brand",a.Neutral="neutral",a.Negative="negative"},820793:function(e,t,n){var r,o;n.d(t,{G:function(){return r}}),(o=r||(r={})).Default="Default",o.Instagram="Instagram Section",o.News="News Section",o.Logos="Logos Section",o.Endorsement="Endorsement Section"},951676:function(e,t,n){var r,o,i,a;n.d(t,{C:function(){return o},H:function(){return r}}),(i=r||(r={})).Center="center",i.Left="left",(a=o||(o={})).Top="top",a.Bottom="bottom"},201254: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,a=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}),a),{children:[t?(0,r.tZ)("title",{id:n,children:t}):null,(0,r.tZ)("path",{d:"m21 1 .679 2.325 2.321.68-2.321.68L21 7.01l-.679-2.325L18 4.005l2.321-.68L21 1Z",fill:"currentColor"}),(0,r.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.54 5.266a1 1 0 0 1-1.219.71c4.265 1.148 6.795 5.54 5.652 9.814l-.518 1.935-1.518-.408c.5.8.843 1.707.987 2.68H22V22H2v-2.003h3.076a7.018 7.018 0 0 1 3.638-5.155L4 13.577l.518-1.936c1.143-4.273 5.526-6.81 9.792-5.668a1.002 1.002 0 0 1 .523-1.933c.534.143.85.692.707 1.226Zm-8.432 14.73h9.784A5.004 5.004 0 0 0 12 16.027a5.004 5.004 0 0 0-4.892 3.97ZM6.45 12.16l11.59 3.111a6.011 6.011 0 0 0-4.242-7.361 5.999 5.999 0 0 0-7.348 4.25Z",fill:"currentColor"}),(0,r.tZ)("path",{d:"m3 2.003 1-.001h.98s.062.629.727 1.295a4.536 4.536 0 0 1 1.117 1.769 3.623 3.623 0 0 1 .172.831l.003.113-1-.001H5c0 .019-.002-.006-.004-.02v-.01a1.622 1.622 0 0 0-.069-.28 2.537 2.537 0 0 0-.633-.985 4.535 4.535 0 0 1-1.117-1.77A3.113 3.113 0 0 1 3 2.01v-.007ZM0 4.006h1.98s.062.628.727 1.294a4.536 4.536 0 0 1 1.117 1.77 3.623 3.623 0 0 1 .172.83l.003.068V8.011l-1 .001H2V8.026L2 8.033a1.622 1.622 0 0 0-.074-.33 2.537 2.537 0 0 0-.633-.986 4.535 4.535 0 0 1-1.117-1.77A3.113 3.113 0 0 1 0 4.015v-.008Z",fill:"currentColor"})]}))}},899631: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,a=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}),a),{children:[t?(0,r.tZ)("title",{id:n,children:t}):null,(0,r.tZ)("path",{d:"M12 11a2 2 0 1 0 0-4 2 2 0 0 0 0 4Z",fill:"currentColor"}),(0,r.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 10c0 6.418-8 12-8 12s-8-5.582-8-12a8 8 0 1 1 16 0Zm-2 0c0 2.432-1.56 4.952-3.48 7.06-.909 1-1.824 1.825-2.52 2.406a25.76 25.76 0 0 1-2.52-2.405C7.56 14.952 6 12.43 6 10a6 6 0 1 1 12 0Z",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.