PageSourceSearch

https://www.hellofresh.com/_next/static/chunks/lp-social-section.e7d7371becf85ac7.js

js hellofresh.com collected 2026-09-24 09:12:48 UTC 27,150 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[12731],{285087:function(t,e,n){n.d(e,{l:function(){return o}});var r=n(627854),i=n(827378),o=function(){var t=(0,r.E)();return{getItem:(0,i.useCallback)(function(e){return t.getItem(e)},[t]),setItem:(0,i.useCallback)(function(e,n){t.setItem(e,n)},[t]),removeItem:(0,i.useCallback)(function(e){t.removeItem(e)},[t]),clear:(0,i.useCallback)(function(){t.clear()},[t])}}},156006:function(t,e,n){n.d(e,{b:function(){return g},i:function(){return p}});var r=n(687800),i=n(827378),o=function(){var t;function e(t){var n,r;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e),r=void 0,(n="campaigns")in this?Object.defineProperty(this,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[n]=r,this.campaigns=t}return t=[{key:"getCampaignId",value:function(t){var e=this.getCampaign(t);return null==e?void 0:e.id}},{key:"getCampaign",value:function(t){var e=t.query,n=!0,r=!1,i=void 0;try{for(var o,a=this.campaigns[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var c=o.value;if(c.triggerParam){if(Array.isArray(c.triggerParam)){if(c.triggerParam.some(function(t){var n=t.key,r=t.value;return e[n]===r}))return c}else{var u=c.triggerParam,l=u.key,s=u.value;if(e[l]===s)return c}}}}catch(t){r=!0,i=t}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}return this.campaigns.find(function(t){return"default"===t.id})||this.campaigns[0]}},{key:"getSlotConfig",value:function(t,e){var n=this.getCampaign(e);if(!n)return{isEnabled:!1,content:{},variant:""};if(n.slots[t])return n.slots[t];var r=this.campaigns.find(function(t){return"default"===t.id})||this.campaigns[0];return r.slots[t]?r.slots[t]:{isEnabled:!1,content:{},variant:""}}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),e}(),a=[{id:"default",name:"Default Campaign",slots:{"banner-slot":{isEnabled:!0,content:{title:"Reactivation Banner",description:"This is a reactivation banner slot.",imageUrl:"/images/reactivation-banner.png"},variant:"highlighted"},"whats-new-slot":{isEnabled:!1,content:{title:"Whats New",items:[{title:"New Feature 1",description:"Description of new feature 1.",imageUrl:"/images/feature1.png"},{title:"New Feature 2",description:"Description of new feature 2.",imageUrl:"/images/feature2.png"},{title:"New Feature 1",description:"Description of new feature 1.",imageUrl:"/images/feature1.png"},{title:"New Feature 2",description:"Description of new feature 2.",imageUrl:"/images/feature2.png"},{title:"New Feature 1",description:"Description of new feature 1.",imageUrl:"/images/feature1.png"}]},variant:"default"}}},{id:"disney",name:"Disney Campaign",triggerParam:{key:"utm_content",value:"disney"},slots:{"banner-slot":{isEnabled:!0,content:{title:"Disney Banner",description:"This is a Disney reactivation banner slot.",imageUrl:"/images/disney-banner.png"},variant:"center"},"whats-new-slot":{isEnabled:!0,content:{title:"Disney Whats New",items:[{title:"Disney Feature 1",description:"Description of Disney feature 1.",imageUrl:"/images/disney-feature1.png"},{title:"Disney Feature 2",description:"Description of Disney feature 2.",imageUrl:"/images/disney-feature2.png"},{title:"New Feature 2",description:"Description of new feature 2.",imageUrl:"/images/feature2.png"},{title:"New Feature 1",description:"Description of new feature 1.",imageUrl:"/images/feature1.png"},{title:"New Feature 2",description:"Description of new feature 2.",imageUrl:"/images/feature2.png"},{title:"New Feature 1",description:"Description of new feature 1.",imageUrl:"/images/feature1.png"}]},variant:"slideshow"}}},{id:"amazon-prime",name:"Amazon Prime Campaign",triggerParam:{key:"utm_content",value:"amazon-prime"},slots:{"banner-slot":{isEnabled:!0,content:{title:"Amazon Prime Banner",description:"This is an Amazon Prime reactivation banner slot.",imageUrl:"/images/amazon-prime-banner.png"},variant:"highlighted"}}}],c=function(){var t;function e(){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e)}return t=[{key:"getCampaignId",value:function(t){var e=this.getCampaign(t);return null==e?void 0:e.id}},{key:"getCampaign",value:function(t){var e=t.query,n=!0,r=!1,i=void 0;try{for(var o,c=a[Symbol.iterator]();!(n=(o=c.next()).done);
1n=!0){var u=o.value;if(u.triggerParam&&!Array.isArray(u.triggerParam)){var l=u.triggerParam,s=l.key,f=l.value;if(e[s]===f)return u}}}catch(t){r=!0,i=t}finally{try{n||null==c.return||c.return()}finally{if(r)throw i}}return a.find(function(t){return"default"===t.id})||a[0]}},{key:"getSlotConfig",value:function(t,e){var n=this.getCampaign(e),r=a.find(function(t){return"default"===t.id})||a[0];return n.slots[t]?n.slots[t]:r.slots[t]?r.slots[t]:{isEnabled:!1,content:{},variant:""}}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),e}();function u(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){u(t,e,n[e])})}return t}function s(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):(function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n.push.apply(n,r)}return n}
1)(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}var f=function(){var t;function e(t){!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,e),u(this,"campaigns",void 0),this.campaigns=t}return t=[{key:"getCampaignId",value:function(t){var e=this.getCampaign(t);return null==e?void 0:e.id}},{key:"getCampaign",value:function(t){var e=t.query,n=!0,r=!1,i=void 0;try{for(var o,a=this.campaigns[Symbol.iterator]();!(n=(o=a.next()).done);n=!0){var c=o.value;if(c.triggerParam&&Array.isArray(c.triggerParam)&&c.triggerParam.some(function(t){var n=t.key,r=t.value;return e[n]===r}))return c}}catch(t){r=!0,i=t}finally{try{n||null==a.return||a.return()}finally{if(r)throw i}}return this.campaigns.find(function(t){return"default"===t.id})||this.campaigns[0]}},{key:"getSlotConfig",value:function(t,e){var n=this.getCampaign(e);if(!n)return{isEnabled:!1,content:{},variant:""};if(n.slots[t])return s(l({},n.slots[t]),{content:s(l({},n.slots[t].content),{campaignId:n.id})});var r=this.campaigns.find(function(t){return"default"===t.id})||this.campaigns[0];return r.slots[t]?s(l({},r.slots[t]),{content:s(l({},r.slots[t].content),{campaignId:r.id})}):{isEnabled:!1,content:{},variant:""}}}],function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}(e.prototype,t),e}(),d=(0,i.createContext)(null);function g(t){var e,n=t.children,i=t.payload,a=t.type,u=void 0===a?"default":a;return e="static-config"===u&&(null==i?void 0:i.campaigns)?new o(null==i?void 0:i.campaigns):"dynamic-config"===u&&(null==i?void 0:i.campaigns)?new f(null==i?void 0:i.campaigns):new c,(0,r.tZ)(d.Provider,{value:e,children:n})}function p(){return(0,i.useContext)(d)||new c}},921318:function(t,e,n){n.d(e,{Bc:function(){return m},qC:function(){return p},yS:function(){return g}});var r=n(156006),i=n(581340),o=n(285087),a=n(647220),c=function(t){var e=(0,o.l)();if(!(0,a.e)())return null;try{var n=e.getItem("hf_cross_page_experiment_decisions");if(!n)return null;var r=t.find(function(t){return n[t]});return r?n[r]:null}catch(t){return null}},u=function(t,e){if(!t||!e)return null;var n=e.find(function(e){return t[e]});return n?t[n].variationKey:null},l=n(734835),s=n(744335);function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var d=["ccomms-351-influencers-ad-continuity","ccomms-1039-value-props-ad-progression"],g=function(t,e){var n=(0,i.t)(),o=(0,r.i)().getSlotConfig(t,n),a=o.isEnabled,c=o.content,g=(0,l.Sl)(),p=g.setSlotAccessAttributes,m=g.setSlotCommSpanAttributes,b=u((e||{}).publicExperimentDecisions,d);m(f({},s.Xk.EXPERIMENT_DECISION,(0,s.YF)(b||void 0)));var v=(0,s.PO)(c);return(p(t,(0,s.WN)(c,a),v),"control"===b)?e:a&&Object.keys(c).length>0?function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){f(t,e,n[e])})}return t}({},e,c):e},p=function(t){var e=(0,i.t)(),n=(0,r.i)().getSlotConfig(t,e),o=n.isEnabled,a=n.content,u=(0,l.Sl)(),g=u.setSlotAccessAttributes,p=u.setSlotCommSpanAttributes,m=c(d);p(f({},s.Xk.EXPERIMENT_DECISION,(0,s.YF)(m||void 0)));var b=(0,s.PO)(a);return(g(t,(0,s.WN)(a,o),b),"control"===m)?{isEnabled:!1,content:{}}:{isEnabled:o,content:a}},m=function(t){var e=(0,i.t)(),n=(0,r.i)().getSlotConfig(t,e).content,o=(0,l.Sl)().setSlotAccessAttributes,a=(0,s.PO)(n);return o(t,!!a,a),{campaignId:a||""}}},734835:function(t,e,n){n.d(e,{Sl:function(){return f},f8:function(){return d}});var r=n(687800),i=n(827378),o=n(497249);function a(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u={"campaign-id":"","total-slots-accessed":0,"slots-with-data":0,"experiment-decision":"","available-slots":"","total-available-slots":0},l=function(){var t,e=function(t){if(Array.isArray(t))return t}(t=(0,i.useState)(!1))||function(t,e){var n,r,i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var o=[],a=!0,c=!1;try{for(i=i.call(t);!(a=(n=i.next()).done)&&(o.push(n.value),2!==o.length);a=!0);}catch(t){c=!0,r=t}finally{try{a||null==i.return||i.return()}finally{if(c)throw r}}return o}}(t,2)||function(t,e){if(t){if("string"==typeof t)return a(t,2);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(t,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.")}(),n=e[0],r=e[1],l=(0,o.T)(),s=(0,i.useRef)(void 0),f=(0,i.useRef)(new Set),d=(0,i.useRef)(new Set),g=(0,i.useCallback)(function(){s.current&&(s.current.end(),s.current=void 0,f.current.clear(),d.current.clear())},[]);return(0,i.useEffect)(function(){!n&&l&&(window.addEventListener("beforeunload",function(){g()}),r(!0),s.current=l.startSpan("slot-communication.umbrella"),s.current.setAttributes(u))},[n,l,g]),{setSlotCommSpanAttributes:function(t){if(s.current){var e;null===(e=s.current)||void 0===e||e.setAttributes(t)}},setSlotAccessAttributes:function(t,e,n){if(s.current){var r;f.current.add(t),e&&d.current.add(t),s.current.setAttributes((c(r={},"slot-".concat(t,"-accessed"),!0),c(r,"slot-".concat(t,"-has-data"),e),r)),s.current.addEvent("slot.access",{"slot.name":t,"slot.has_data":e,"slot.campaign_id":n||"unknown","slot.timestamp":Date.now()}),s.current.setAttributes(function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){c(t,e,n[e])})}return t}({"total-slots-accessed":f.current.size,"slots-with-data":d.current.size},n&&{"campaign-id":n}))}},endSlotCommSpan:g}},s=i.createContext({setSlotCommSpanAttributes:function(){},setSlotAccessAttributes:function(){},endSlotCommSpan:function(){}});s.Provider;var f=function(){return(0,i.useContext)(s)},d=function(t){var e=t.children,n=l();return(0,r.tZ)(s.Provider,{value:n,children:e})}},744335:function(t,e,n){function r(t){return t&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t}n.d(e,{Ev:function(){return u},PO:function(){return o},WN:function(){return a},Xk:function(){return i},YF:function(){return c}});var i={CAMPAIGN_ID:"campaign-id",TOTAL_SLOTS_ACCESSED:"total-slots-accessed",SLOTS_WITH_DATA:"slots-with-data",EXPERIMENT_DECISION:"experiment-decision",AVAILABLE_SLOTS:"available-slots",TOTAL_AVAILABLE_SLOTS:"total-available-slots"},o=function(t){if(t&&(void 0===t?"undefined":r(t))==="object"&&null!==t&&"campaignId"in t)return"string"==typeof t.campaignId?t.campaignId:void 0},a=function(t,e){if(!e||!t||(void 0===t?"undefined":r(t))!=="object")return!1;var n=Object.keys(t);return 0!==n.length&&(1!==n.length||"campaignId"!==n[0])},c=function(t){return t||"unknown"},u=function(t){if(!t||0===t.length)return[];var e=new Set;return t.forEach(function(t){t.slots&&"object"===r(t.slots)&&Object.keys(t.slots).forEach(function(t){e.add(t)})}),Array.from(e).sort()}},228001:function(t,e,n){var r=n(827378),i=n(60074),o=n(266726),a=n.n(o),c=n(768587);function u(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function l(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n,r,i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var o=[],a=!0,c=!1;try{for(i=i.call(t);!(a=(n=i.next()).done)&&(o.push(n.value),!e||o.length!==e);a=!0);}catch(t){c=!0,r=t}finally{try{a||null==i.return||i.return()}finally{if(c)throw r}}return o}}(t,e)||function(t,e){if(t){if("string"==typeof t)return u(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(t,e)}}(t,e)||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.Z=function(t){var e=l((0,r.useState)([0,0]),2),n=e[0],o=e[1],u=l(n,2),s=u[0],f=u[1],d=l((0,c.Fg)().breakpoints.map(function(t){return Number(t.slice(0,-2))}).sort(function(t,e){return t-e}),2),g=d[0],p=d[1];(0,r.useEffect)(function(){o([window.innerWidth,window.innerHeight]);var e=a()(function(){t&&i.n_({message:"debounced set size state",category:"@/libs/window-api/useWindowSize",level:"debug",data:{newWidth:window.innerWidth,newHeight:window.innerHeight,previousWidth:s,previousHeight:f}}),o([window.innerWidth,window.innerHeight])},250);return window.addEventListener("resize",e),function(){t&&i.n_({message:"removing event listener and cancelling debounced function",category:"@/libs/window-api/useWindowSize",level:"debug"}),window.removeEventListener("resize",e),e.cancel()}},[]);var m=!!s&&s<g,b=!!s&&s>=g&&s<p,v=!!s&&s>=p;return{width:s,height:f,tabletWidth:g,isMobile:m,isTablet:b,isDesktop:v}}},240396:function(t,e,n){n.d(e,{Z:function(){return a}});var r=n(687800),i=n(827378);function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var a=i.createContext({stickyBarAlignment:void 0,setStickyBarAlignment:function(){}});e.C=function(t){var e,n=function(t){if(Array.isArray(t))return t}(e=(0,i.useState)())||function(t,e){var n,r,i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var o=[],a=!0,c=!1;try{for(i=i.call(t);!(a=(n=i.next()).done)&&(o.push(n.value),2!==o.length);a=!0);}catch(t){c=!0,r=t}finally{try{a||null==i.return||i.return()}finally{if(c)throw r}}return o}}(e,2)||function(t,e){if(t){if("string"==typeof t)return o(t,2);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.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(t,2)}}
1(e,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.")}(),c=n[0],u=n[1];return(0,r.tZ)(a.Provider,{value:{stickyBarAlignment:c,setStickyBarAlignment:u},children:t.children})}},17207:function(t,e,n){n.r(e),n.d(e,{SocialSectionWithSlot:function(){return T},default:function(){return L}});var r=n(687800),i=n(827378),o=n(143309),a=n(835375),c=n(768587),u=n(647220),l=n(553911),s=n(769007),f=n(907070),d=n(318066),g=n(277425),p=n(268481),m=function(t){var e,n,i=t.src,o=t.isFocused,a=void 0!==o&&o,u=(0,p.Sj)(),l=a?"164":"136";return(0,r.BX)(c.xu,(e=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){var r;r=n[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r})}return t}({height:a?"164px":"136px",overflow:"hidden",position:"relative",borderRadius:"border-radius-circle",boxShadow:"shadow-xl"},a?{borderColor:"neutral.100",borderWidth:"2px",borderStyle:"solid",zIndex:2}:{zIndex:1}),n=n={__dangerouslySetCustomCSS:"desktop"!==u?{marginLeft:"-24px"}:{},children:[(0,r.tZ)(c.xu,{width:"".concat(l,"px"),height:"".concat(l,"px"),position:"absolute",backgroundColor:a?"transparent":"global.white",opacity:a?1:.6}),(0,r.tZ)(d.ZP,{src:(0,g.Z)(i),alt:"social-avatar",width:l,height:l})]},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):(function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n.push.apply(n,r)}return n})(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}),e))},b=n(228001),v=n(527157),y=n(887824),h=n(966622),w=n(407792),S=function(t){var e=t.content,n=t.scrollYProgress,o=t.foucsedItem,a=(0,b.Z)().width,u="mobile"===(0,p.Sj)(),l=e.length,d=(0,i.useRef)(-1),g=(0,v.Z)(),S=(0,y.Z)().push,O=(0,h.py)({runUsingStatsig:!0}).track,P=(0,w.O)(),A=P.id,x=P.attributes;(0,i.useEffect)(function(){if(-1!==o&&o!==d.current&&(null==e?void 0:e[o])&&u){var t=e[o],n=t.comment.substring(0,20).trim()+"...",r=t.name||"Unknown",i="".concat(r,": ").concat(n);S({event:"gaEventTrigger",event_name:"Navigation_LPSocialProofScroll",section_name:"socialProofSection",brand:g,tribe:"Conversions Journey",gaEventCategory:"socialProofSection",gaEventAction:"scroll",gaEventLabel:i,quoteSnippet:n,author:r}),O({experimentationUserId:null!=A?A:"",experimentationUserAttributes:x,eventName:"Navigation_LPSocialProofScroll",eventTags:{Eventcategory:"socialProofSection",EventAction:"scroll",EventLabel:i,brand:g,tribe:"Conversions Journey",quoteSnippet:n,author:r}}),d.current=o}},[o,g,S,O,A,x,e,u]);var E=(0,s.H)(n,[0,1],["0px","-".concat((l+1)*112+140-a,"px")]);return(0,r.tZ)(c.xu,{width:"100%",position:"relative",my:"lg-3",minHeight:"160px",children:(0,r.BX)(f.E.div,{style:{display:"flex",position:"absolute",x:E,alignItems:"center"},children:[(0,r.tZ)(m,{src:e[l-1].avatar}),e.map(function(t,e){return(0,r.tZ)(m,{src:t.avatar,isFocused:o===e},e)}),(0,r.tZ)(m,{src:e[0].avatar})]})})},O=n(723740),P=n(988402),A=function(t){var e=t.content,n=t.setFocusedItem,o=t.focusedItem,a=e.length,u=(0,i.useRef)([]),l=function(t){var e=u.current[t];e&&(null==e||e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"}))};(0,i.useEffect)(function(){l(o)},[o]);var s=(0,v.Z)(),f=(0,y.Z)().push,d=(0,h.py)({runUsingStatsig:!0}).track,g=(0,w.O)(),p=g.id,b=g.attributes,S=function(){var t=e[o];if(t){var n=t.comment.substring(0,20).trim()+"...",r=t.name||"Unknown",i="".concat(r,": ").concat(n);f({event:"gaEventTrigger",event_name:"Navigation_LPSocialProofClickArrow",section_name:"socialProofSection",brand:s,tribe:"Conversions Journey",gaEventCategory:"socialProofSection",gaEventAction:"click arrow",gaEventLabel:i,quoteSnippet:n,author:r}),d({experimentationUserId:null!=p?p:"",experimentationUserAttributes:b,eventName:"Navigation_LPSocialProofClickArrow",eventTags:{Eventcategory:"socialProofSection",EventAction:"click arrow",EventLabel:i,brand:s,tribe:"Conversions Journey",quoteSnippet:n,author:r}})}};return(0,r.BX)(c.xu,{width:"100%",display:"flex",flexDirection:"row",gap:"sm-1",justifyContent:"center",alignItems:"center",my:"global.md-2",children:[(0,r.tZ)(c.xu,{backgroundColor:"neutral.100",borderRadius:"border-radius-circle",children:(0,r.tZ)(c.hU.Secondary,{icon:(0,r.tZ)(O.default,{}),"aria-label":"Previous review",onClick:function(){n(o-1),S()},disabled:0===o})}),(0,r.tZ)(c.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.lg-1","global.sm-1"],pr:["global.none","global.sm-1","global.sm-1"],height:"200px",boxSizing:"border-box",children:e.map(function(t,e){return(0,r.tZ)(c.xu,{ref:function(t){u.current[e]=t},children:(0,r.tZ)(m,{src:t.avatar,isFocused:o===e},e)},e)})}),(0,r.tZ)(c.xu,{backgroundColor:"neutral.100",borderRadius:"border-radius-circle",children:(0,r.tZ)(c.hU.Secondary,{icon:(0,r.tZ)(P.default,{}),"aria-label":"Next review",onClick:function(){n(o+1),S()},disabled:o===a-1})})]})},x=function(t){var e=t.comment,n=t.author,i=t.isFocused;return(0,r.BX)(c.xu,{position:"absolute",top:"0",opacity:i?"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,r.tZ)(c.xv,{type:"body-sm-regular",as:"p",mb:["sm-2","sm-1"],children:(0,r.tZ)("i",{children:'"'.concat(e,'"')})}),(0,r.tZ)(c.xv,{type:"body-sm-bold",children:n})]})},E=n(240396),C=n(40412),k=n.n(C),j=n(112696),I=j.z.object({avatar:j.z.string(),name:j.z.string(),comment:j.z.string()}),Z=j.z.object({title:j.z.string().optional(),content:j.z.array(I),backgroundColor:j.z.string().optional(),publicExperimentDecisions:j.z.record(j.z.string(),j.z.object({variationKey:j.z.string().nullable(),parameters:j.z.unknown()})).optional()}),D=n(632117),_=n(921318);function N(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function U(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n,r,i=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var o=[],a=!0,c=!1;try{for(i=i.call(t);!(a=(n=i.next()).done)&&(o.push(n.value),!e||o.length!==e);a=!0);}catch(t){c=!0,r=t}finally{try{a||null==i.return||i.return()}finally{if(c)throw r}}return o}}(t,e)||function(t,e){if(t){if("string"==typeof t)return N(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return N(t,e)}}
1(t,e)||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 z=function(t){var e=t.content,n=t.title,s=t.backgroundColor,f=U((0,i.useState)(-1),2),d=f[0],g=f[1],m=U((0,i.useState)(!1),2),b=m[0],y=m[1],O=(0,u.e)(),P=(0,v.Z)(),C=(0,h.py)({runUsingStatsig:!0}).track,j=(0,w.O)(),I=j.id,Z=j.attributes,D=(0,p.Sj)(),_=(0,i.useRef)(null),N=(0,o.v)({target:O?_:void 0}).scrollYProgress,z=i.useContext(E.Z).stickyBarAlignment;return((0,a.W)(N,"change",function(t){(null==e?void 0:e.length)&&"mobile"===D&&_.current&&O&&g(Math.round(t*(e.length-1)))}),null==e?void 0:e.length)?(0,r.tZ)(k(),{onChange:function(t){t&&!b&&(C({experimentationUserId:null!=I?I:"",experimentationUserAttributes:Z,eventName:"Navigation_LPSocialProofView",eventTags:{Eventcategory:"socialProofSection",EventAction:"view",brand:P,tribe:"Conversions Journey"}}),g(0),y(!0))},partialVisibility:!0,children:(0,r.tZ)(c.xu,{height:["360vh","100%"],position:"relative",ref:_,children:(0,r.BX)(c.xu,{height:["85vh","100%"],display:"flex",justifyContent:"center",top:"top"===z?70:0,position:"sticky",backgroundColor:s,flexDirection:"column",alignItems:"space-around",backgroundImage:s?"none":"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:[n&&(0,r.tZ)(c.xu,{textAlign:"center",px:"md-2",children:(0,r.tZ)(c.xv,{as:"h2",children:(0,r.tZ)(l.Z,{copy:n,hasMarkdown:!0})})}),(0,r.tZ)(c.xu,{display:["flex","none"],children:(0,r.tZ)(S,{content:e,scrollYProgress:N,foucsedItem:d})}),(0,r.tZ)(c.xu,{display:["none","flex"],children:(0,r.tZ)(A,{content:e,setFocusedItem:g,focusedItem:d})}),(0,r.tZ)(c.xu,{display:"flex",minHeight:["100px","unset"],alignItems:"stretch",width:"100%",mb:["global.none","global.lg-2"],children:(0,r.tZ)(c.xu,{position:"relative",width:"inherit",children:e.map(function(t,e){return(0,r.tZ)(x,{comment:t.comment,author:t.name,isFocused:d===e},e)})})})]})})}):null},T=function(t){var e=(0,_.yS)("social-proof-section-slot",t);return(0,r.tZ)(z,function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){var r;r=n[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r})}return t}({},e))},L=(0,D.S)(T,Z)},835375:function(t,e,n){n.d(e,{W:function(){return i}});var r=n(827378);function i(t,e,n){(0,r.useInsertionEffect)(()=>t.on(e,n),[t,e,n])}},769007:function(t,e,n){n.d(e,{H:function(){return f}});var r=n(168885),i=n(551099),o=n(827378),a=n(422847),c=n(155529),u=n(461518);function l(t,e){let n=function(t){let e=(0,r.h)(()=>(0,c.BX)(t)),{isStatic:n}=(0,o.useContext)(a._);if(n){let[,n]=(0,o.useState)(t);(0,o.useEffect)(()=>e.on("change",n),[])}return e}(e()),l=()=>n.set(e());return l(),(0,i.L)(()=>{let e=()=>u.Wi.preRender(l,!1,!0),n=t.map(t=>t.on("change",e));return()=>{n.forEach(t=>t()),(0,u.Pn)(l)}}),n}var s=n(940557);function f(t,e,n,r){if("function"==typeof t)return function(t){c.S1.current=[],t();let e=l(c.S1.current,t);return c.S1.current=void 0,e}(t);let i="function"==typeof e?e:function(...t){let e=!Array.isArray(t[0]),n=e?0:-1,r=t[0+n],i=t[1+n],o=t[2+n],a=t[3+n],c=(0,s.s)(i,o,a);return e?c(r):c}(e,n,r);return Array.isArray(t)?d(t,i):d([t],([t])=>i(t))}function d(t,e){let n=(0,r.h)(()=>[]);return l(t,()=>{n.length=0;let r=t.length;for(let e=0;e<r;e++)n[e]=t[e].get();return e(n)})}}}]);

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.