1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[56377],{737751:function(t,n,r){r.d(n,{v:function(){return o},w:function(){return i}}),(e=o||(o={})).wine="wine",e.cloudfront="cloudfront",e.website="website";var e,o,i={fetch_format:"auto",flags:"lossy",quality:"auto"}},977382:function(t,n,r){var e=r(347334);n.ZP=e.ZP},347334:function(t,n,r){r.d(n,{ZP:function(){return m},LJ:function(){return p}});var e,o={width:function(t){return t>0?"w_".concat(t):""},height:function(t){return t>0?"h_".concat(t):""},crop:function(t){return"c_".concat(t)},gravity:function(t){return"g_".concat(t)},background:function(t){return"b_".concat(t)},x:function(t){return"x_".concat(t)},y:function(t){return"y_".concat(t)},aspect_ratio:function(t){return"ar_".concat(t)},radius:function(t){return"r_".concat(t)},opacity:function(t){return"o_".concat(t)},dpr:function(t){return"dpr_".concat(t)},effect:function(t){return"e_".concat(t)},flags:function(t){return"fl_".concat(t)},overlay:function(t){return"l_".concat(t)},zoom:function(t){return"z_".concat(t)},fetch_format:function(t){return"f_".concat(t)},quality:function(t){return"q_".concat(t)},angle:function(t){return"a_".concat(t)},border:function(t){return"bo_".concat(t)},color:function(t){return"co_".concat(t)}},i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(t).reduce(function(n,r){var e=o[r],i=t[r],a=e&&i&&e(i);return a?n.concat([a]):n},[]).sort().join(",")},a=function(t,n){var r=i(n);return"".concat("https://media.hellofresh.com","/").concat(r,"/").concat(t)},c=r(737751),u=function(t){if(t&&t.match(/,/)){var n=t.split(","),r=parseInt(n[0],10),e=parseInt(n[1],10),o={};return e>0&&(o.height=e),r>0&&(o.width=r),o}return{}};function l(t,n,r){return n in t?Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[n]=r,t}var s=(l(e={},c.v.wine,{proxyName:"lot18",extractImageId:function(t){var n=t.split(/\//);return n.splice(0,3),n.join("/")},extractSize:function(){return{}}}),l(e,c.v.cloudfront,{proxyName:"hellofresh_s3",extractImageId:function(t){var n=t.split(/\//);return n.splice(0,4),n.join("/")},extractSize:function(t){return u(t.split(/\//)[3])}}),l(e,c.v.website,{proxyName:"hellofresh_website",extractImageId:function(t){var n=t.split(/\//);return n.splice(0,3),n.join("/")},extractSize:function(t){return u(t.split(/\//)[3])}}),e);function f(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{},e=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(r).filter(function(t){return Object.getOwnPropertyDescriptor(r,t).enumerable}))),e.forEach(function(n){var e;e=r[n],n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e})}return t}var d=RegExp("^http(s)?."),h={hasWarned:!1,markAsWarned:function(){this.hasWarned=!0}},p=function(t,n){return a(t,f({},c.w,n))},v=function(t){var n=d.test(t);return n&&!h.hasWarned&&(console.warn("\uD83D\uDE35 using imageLink for cloudfront images will be deprecated soon, pass an imagePath instead!"),h.markAsWarned()),n},m=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.v.cloudfront;if(!t||!t.length)return function(){return t};var r=s[n],e=r.extractImageId,o=r.extractSize,i=r.proxyName,a="/".concat(e(t));n!==c.v.cloudfront||v(t)||(a=t);var u="".concat(i).concat(a);return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return p(u,f({},o(t),n))}}},502408:function(t,n,r){r.d(n,{uv:function(){return f},LJ:function(){return l},jM:function(){return d}});var e=r(737751),o=r(977382),i=r(347334),a=["hellofresh_website","hellofresh_s3","everyplate_contentful"],c=function(t){var n;return!!a.some(function(n){return t.pathname.startsWith("/".concat(n,"/"))})||(n=t.hostname,/^media\.[a-z0-9-]+\.com$/i.test(n)&&t.pathname.startsWith("/dam/"))},u=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.v.website;return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!t)return(0,o.ZP)(t,n)(r);var e=t.startsWith("//")?"https:".concat(t):t;if(/^https?:\/\//.test(e))try{var a=new URL(e);if(c(a)){var u="".concat(a.pathname).concat(a.search).replace(/^\//,"");return"".concat(a.origin).concat((0,i.LJ)(u,r).slice(28))}}catch(t){}return(0,o.ZP)(t,n)(r)}},l=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e.v.website;return t&&u(t,r)(n)||""},s=[320,480,560],f=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;return t?n.map(function(n){return"".concat(l(t,{width:n,crop:"limit"})," ").concat(n,"w")}).join(", "):""},d=function(t){return t.endsWith(".svg")}},624408:function(t,n,r){r.r(n),r.d(n,{default:function(){return I}});var e=r(687800),o=r(827378),i=r(553911),a=r(40412),c=r.n(a),u=r(318066),l=r(277425),s=r(768587),f=r(887824);function d(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=Array(n);r<n;r++)e[r]=t[r];return e}var h=function(t){if(!t)return 1;var n,r=function(t){if(Array.isArray(t))return t}(n=t.split(" ").join("").split("/"))||function(t,n){var r,e,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var i=[],a=!0,c=!1;try{for(o=o.call(t);!(a=(r=o.next()).done)&&(i.push(r.value),2!==i.length);a=!0);}catch(t){c=!0,e=t}finally{try{a||null==o.return||o.return()}finally{if(c)throw e}}return i}}(n,2)||function(t,n){if(t){if("string"==typeof t)return d(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(r);
1if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return d(t,2)}}(n,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.")}(),e=r[0],o=r[1],i=parseInt(e)/parseInt(o);return isNaN(i)||i>1||i<1/12?1:i},p=r(316309),v=r(206214),m=function(t){var n=t.rating,r=t.totalStars;return n?(0,e.BX)(s.xu,{color:"reward.500",display:"inline-block",position:"relative",itemProp:"aggregateRating",itemScope:!0,itemType:"http://schema.org/AggregateRating",children:[(0,e.tZ)(s.xu,{position:"absolute",top:"zero",children:Array.from({length:r}).map(function(t,n){return(0,e.tZ)(v.default,{},n)})}),(0,e.tZ)(s.xu,{itemProp:"ratingValue",width:"".concat(n/r*100,"%"),overflow:"hidden",whiteSpace:"nowrap",children:Array.from({length:r}).map(function(t,n){return(0,e.tZ)(p.default,{},n)})})]}):null},y=r(502408),g=r(939010),b=r(164528),w=r(268481);function x(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=Array(n);r<n;r++)e[r]=t[r];return e}var Z=function(){var t,n=function(t){if(Array.isArray(t))return t}(t=(0,o.useState)(!1))||function(t,n){var r,e,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var i=[],a=!0,c=!1;try{for(o=o.call(t);!(a=(r=o.next()).done)&&(i.push(r.value),2!==i.length);a=!0);}catch(t){c=!0,e=t}finally{try{a||null==o.return||o.return()}finally{if(c)throw e}}return i}}(t,2)||function(t,n){if(t){if("string"==typeof t)return x(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(t,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.")}(),r=n[0],i=n[1],a=(0,w.Sj)(),c=(0,b.ZP)("landing-pages").translate;return(0,e.tZ)(s.xu,{display:"flex",justifyContent:"center",alignItems:"center",mt:"sm-1",borderTopWidth:["1px","0"],borderTopStyle:"solid",borderTopColor:"neutral.400",children:(0,e.tZ)(s.xu,{width:["100%","60%","50%"],py:"xs",px:"sm-1",boxShadow:"mobile"===a?"shadow-none":"shadow-md",children:(0,e.BX)(s.UQ.Outline,{onClick:function(){return i(!r)},buttonPosition:"left",isOpen:r,children:[(0,e.tZ)(s.UQ.Title,{children:c("landing-pages.review-testimonials.disclaimer.title")}),(0,e.tZ)(s.UQ.Description,{children:(0,e.tZ)(s.xv,{children:c("landing-pages.review-testimonials.disclaimer.description")})})]})})})},S=function(t){var n=t.src,r=t.smallVersion,o=t.alt;return n?(0,e.tZ)(s.xu,{"data-test-id":"responsive-image",display:"flex",justifyContent:"center",width:r?["100%","70%"]:["100%"],position:"relative",minHeight:"300px",children:(0,e.tZ)(u.ZP,{src:(0,l.Z)(n),objectFit:"contain",layout:"fill",alt:o})}):null},_=r(427850),j=function(t){var n=t.src,r=t.smallVersion,o=t.alt;return(0,g.Qd)(n)?(0,e.tZ)(_.Z,{src:n,alt:o}):(0,e.tZ)(S,{src:n,smallVersion:r,alt:o})};function A(t,n){(null==n||n>t.length)&&(n=t.length);for(var r=0,e=Array(n);r<n;r++)e[r]=t[r];return e}var I=function(t){var n,r=t.blocks,a=void 0===r?[]:r,d=t.imageUrlReview,p=t.copyReview,v=t.showReviewDisclaimer,b=function(t){if(Array.isArray(t))return t}(n=(0,o.useState)(!1))||function(t,n){var r,e,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var i=[],a=!0,c=!1;try{for(o=o.call(t);!(a=(r=o.next()).done)&&(i.push(r.value),2!==i.length);a=!0);}catch(t){c=!0,e=t}finally{try{a||null==o.return||o.return()}finally{if(c)throw e}}return i}}(n,2)||function(t,n){if(t){if("string"==typeof t)return A(t,2);var r=Object.prototype.toString.call(t).slice(8,-1);if("Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return A(t,2)}}(n,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.")}(),w=b[0],x=b[1],S=(0,f.Z)().push;return a.length?(0,e.BX)(e.HY,{children:[(0,e.tZ)(s.xu,{display:["block","flex"],children:a.slice(0,6).map(function(t,n){var r=t.imageUrl,o=t.keepAssetSize,a=t.title,u=t.copy,l=t.showRating,f=t.rating,d=t.totalStars,p=h(t.columnSize);return(0,e.BX)(s.xu,{flexDirection:"column",justifyContent:"space-between",mb:"sm-1",textAlign:"center",width:[1,p],px:"sm-1",children:[(0,e.BX)(s.xu,{flexDirection:"column",alignItems:"center",children:[r&&!o&&(0,e.tZ)(c(),{onChange:function(t){t&&(0,g.Qd)(r)&&!w&&(S({event:"gaEventTrigger",event_name:"Onboarding_ViewYoutubeVideoSection",brand:"HelloFresh",tribe:"Conversions",screen:"Landing Page",gaEventCategory:"navigation",gaEventAction:"scroll",gaEventLabel:"[youtubeVideo | ".concat(r,"]")}),x(!0))},children:(0,e.tZ)(j,{src:r,smallVersion:!1,alt:a})}),r&&o&&(0,e.tZ)("img",{src:(0,y.LJ)(r),alt:a}),(0,e.tZ)(s.xv,{as:"h3",mb:"xs",children:(0,e.tZ)(i.Z,{copy:a,hasMarkdown:!0})}),(0,e.tZ)(s.xv,{mb:"xs",type:"body-sm-regular",as:"p",children:u})]}),l&&d&&(0,e.tZ)(s.xv,{color:"primary.600",children:(0,e.tZ)(m,{rating:f,totalStars:d})})]},n)})}),p&&d&&(0,e.BX)(s.xu,{display:"flex",justifyContent:"center",children:[(0,e.tZ)(s.xu,{p:"xxs",alignSelf:"center",children:(0,e.tZ)(s.xv,{type:"body-sm-regular",as:"p",children:p})}),(0,e.tZ)(u.ZP,{src:(0,l.Z)(d),alt:"review",width:140,height:46})]}),v&&(0,e.tZ)(Z,{})]}):null}}}]);
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.