PageSourceSearch

https://www.hellofresh.de/_next/static/chunks/23760.f84f540bb07e19ab.js

js hellofresh.de collected 2026-09-25 23:36:19 UTC 17,661 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[23760],{870771:function(e,t,n){n.d(t,{Fv:function(){return i},ck:function(){return o},gi:function(){return r},m4:function(){return a}});var r="hf_prefill_zipcode",i="enable_rp_web",a="hf_public_id",o=["/pages/cook-this-big-idea","/pages/inspiration-delivered","/pages/simplydelicious","/pages/resolution","/pages/value-messaging","/pages/cucinare-smart","/pages/meal-kit-delivery","/pages/deliciosamente-simple-1","/pages/discountcode","/pages/b2bdiscount"]},285087:function(e,t,n){n.d(t,{l:function(){return a}});var r=n(627854),i=n(827378),a=function(){var e=(0,r.E)();return{getItem:(0,i.useCallback)(function(t){return e.getItem(t)},[e]),setItem:(0,i.useCallback)(function(t,n){e.setItem(t,n)},[e]),removeItem:(0,i.useCallback)(function(t){e.removeItem(t)},[e]),clear:(0,i.useCallback)(function(){e.clear()},[e])}}},156006:function(e,t,n){n.d(t,{b:function(){return p},i:function(){return g}});var r=n(687800),i=n(827378),a=function(){var e;function t(e){var n,r;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),r=void 0,(n="campaigns")in this?Object.defineProperty(this,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):this[n]=r,this.campaigns=e}return e=[{key:"getCampaignId",value:function(e){var t=this.getCampaign(e);return null==t?void 0:t.id}},{key:"getCampaign",value:function(e){var t=e.query,n=!0,r=!1,i=void 0;try{for(var a,o=this.campaigns[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var u=a.value;if(u.triggerParam){if(Array.isArray(u.triggerParam)){if(u.triggerParam.some(function(e){var n=e.key,r=e.value;return t[n]===r}))return u}else{var l=u.triggerParam,c=l.key,s=l.value;if(t[c]===s)return u}}}}catch(e){r=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return this.campaigns.find(function(e){return"default"===e.id})||this.campaigns[0]}},{key:"getSlotConfig",value:function(e,t){var n=this.getCampaign(t);if(!n)return{isEnabled:!1,content:{},variant:""};if(n.slots[e])return n.slots[e];var r=this.campaigns.find(function(e){return"default"===e.id})||this.campaigns[0];return r.slots[e]?r.slots[e]:{isEnabled:!1,content:{},variant:""}}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,e),t}(),o=[{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"}}}],u=function(){var e;function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t)}return e=[{key:"getCampaignId",value:function(e){var t=this.getCampaign(e);return null==t?void 0:t.id}},{key:"getCampaign",value:function(e){var t=e.query,n=!0,r=!1,i=void 0;try{for(var a,u=o[Symbol.iterator]();!(n=(a=u.next()).done);
1n=!0){var l=a.value;if(l.triggerParam&&!Array.isArray(l.triggerParam)){var c=l.triggerParam,s=c.key,f=c.value;if(t[s]===f)return l}}}catch(e){r=!0,i=e}finally{try{n||null==u.return||u.return()}finally{if(r)throw i}}return o.find(function(e){return"default"===e.id})||o[0]}},{key:"getSlotConfig",value:function(e,t){var n=this.getCampaign(t),r=o.find(function(e){return"default"===e.id})||o[0];return n.slots[e]?n.slots[e]:r.slots[e]?r.slots[e]:{isEnabled:!1,content:{},variant:""}}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,e),t}();function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function c(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){l(e,t,n[t])})}return e}function s(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}var f=function(){var e;function t(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),l(this,"campaigns",void 0),this.campaigns=e}return e=[{key:"getCampaignId",value:function(e){var t=this.getCampaign(e);return null==t?void 0:t.id}},{key:"getCampaign",value:function(e){var t=e.query,n=!0,r=!1,i=void 0;try{for(var a,o=this.campaigns[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var u=a.value;if(u.triggerParam&&Array.isArray(u.triggerParam)&&u.triggerParam.some(function(e){var n=e.key,r=e.value;return t[n]===r}))return u}}catch(e){r=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(r)throw i}}return this.campaigns.find(function(e){return"default"===e.id})||this.campaigns[0]}},{key:"getSlotConfig",value:function(e,t){var n=this.getCampaign(t);if(!n)return{isEnabled:!1,content:{},variant:""};if(n.slots[e])return s(c({},n.slots[e]),{content:s(c({},n.slots[e].content),{campaignId:n.id})});var r=this.campaigns.find(function(e){return"default"===e.id})||this.campaigns[0];return r.slots[e]?s(c({},r.slots[e]),{content:s(c({},r.slots[e].content),{campaignId:r.id})}):{isEnabled:!1,content:{},variant:""}}}],function(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}(t.prototype,e),t}(),d=(0,i.createContext)(null);function p(e){var t,n=e.children,i=e.payload,o=e.type,l=void 0===o?"default":o;return t="static-config"===l&&(null==i?void 0:i.campaigns)?new a(null==i?void 0:i.campaigns):"dynamic-config"===l&&(null==i?void 0:i.campaigns)?new f(null==i?void 0:i.campaigns):new u,(0,r.tZ)(d.Provider,{value:t,children:n})}function g(){return(0,i.useContext)(d)||new u}},921318:function(e,t,n){n.d(t,{Bc:function(){return m},qC:function(){return g},yS:function(){return p}});var r=n(156006),i=n(581340),a=n(285087),o=n(647220),u=function(e){var t=(0,a.l)();if(!(0,o.e)())return null;try{var n=t.getItem("hf_cross_page_experiment_decisions");if(!n)return null;var r=e.find(function(e){return n[e]});return r?n[r]:null}catch(e){return null}},l=function(e,t){if(!e||!t)return null;var n=t.find(function(t){return e[t]});return n?e[n].variationKey:null},c=n(734835),s=n(744335);function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=["ccomms-351-influencers-ad-continuity","ccomms-1039-value-props-ad-progression"],p=function(e,t){var n=(0,i.t)(),a=(0,r.i)().getSlotConfig(e,n),o=a.isEnabled,u=a.content,p=(0,c.Sl)(),g=p.setSlotAccessAttributes,m=p.setSlotCommSpanAttributes,v=l((t||{}).publicExperimentDecisions,d);m(f({},s.Xk.EXPERIMENT_DECISION,(0,s.YF)(v||void 0)));var b=(0,s.PO)(u);
1return(g(e,(0,s.WN)(u,o),b),"control"===v)?t:o&&Object.keys(u).length>0?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){f(e,t,n[t])})}return e}({},t,u):t},g=function(e){var t=(0,i.t)(),n=(0,r.i)().getSlotConfig(e,t),a=n.isEnabled,o=n.content,l=(0,c.Sl)(),p=l.setSlotAccessAttributes,g=l.setSlotCommSpanAttributes,m=u(d);g(f({},s.Xk.EXPERIMENT_DECISION,(0,s.YF)(m||void 0)));var v=(0,s.PO)(o);return(p(e,(0,s.WN)(o,a),v),"control"===m)?{isEnabled:!1,content:{}}:{isEnabled:a,content:o}},m=function(e){var t=(0,i.t)(),n=(0,r.i)().getSlotConfig(e,t).content,a=(0,c.Sl)().setSlotAccessAttributes,o=(0,s.PO)(n);return a(e,!!o,o),{campaignId:o||""}}},734835:function(e,t,n){n.d(t,{Sl:function(){return f},f8:function(){return d}});var r=n(687800),i=n(827378),a=n(497249);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 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 l={"campaign-id":"","total-slots-accessed":0,"slots-with-data":0,"experiment-decision":"","available-slots":"","total-available-slots":0},c=function(){var e,t=function(e){if(Array.isArray(e))return e}(e=(0,i.useState)(!1))||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var a=[],o=!0,u=!1;try{for(i=i.call(e);!(o=(n=i.next()).done)&&(a.push(n.value),2!==a.length);o=!0);}catch(e){u=!0,r=e}finally{try{o||null==i.return||i.return()}finally{if(u)throw r}}return a}}(e,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)}}(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.")}(),n=t[0],r=t[1],c=(0,a.T)(),s=(0,i.useRef)(void 0),f=(0,i.useRef)(new Set),d=(0,i.useRef)(new Set),p=(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&&c&&(window.addEventListener("beforeunload",function(){p()}),r(!0),s.current=c.startSpan("slot-communication.umbrella"),s.current.setAttributes(l))},[n,c,p]),{setSlotCommSpanAttributes:function(e){if(s.current){var t;null===(t=s.current)||void 0===t||t.setAttributes(e)}},setSlotAccessAttributes:function(e,t,n){if(s.current){var r;f.current.add(e),t&&d.current.add(e),s.current.setAttributes((u(r={},"slot-".concat(e,"-accessed"),!0),u(r,"slot-".concat(e,"-has-data"),t),r)),s.current.addEvent("slot.access",{"slot.name":e,"slot.has_data":t,"slot.campaign_id":n||"unknown","slot.timestamp":Date.now()}),s.current.setAttributes(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){u(e,t,n[t])})}return e}({"total-slots-accessed":f.current.size,"slots-with-data":d.current.size},n&&{"campaign-id":n}))}},endSlotCommSpan:p}},s=i.createContext({setSlotCommSpanAttributes:function(){},setSlotAccessAttributes:function(){},endSlotCommSpan:function(){}});s.Provider;var f=function(){return(0,i.useContext)(s)},d=function(e){var t=e.children,n=c();return(0,r.tZ)(s.Provider,{value:n,children:t})}},744335:function(e,t,n){function r(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}n.d(t,{Ev:function(){return l},PO:function(){return a},WN:function(){return o},Xk:function(){return i},YF:function(){return u}});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"},a=function(e){if(e&&(void 0===e?"undefined":r(e))==="object"&&null!==e&&"campaignId"in e)return"string"==typeof e.campaignId?e.campaignId:void 0},o=function(e,t){if(!t||!e||(void 0===e?"undefined":r(e))!=="object")return!1;var n=Object.keys(e);return 0!==n.length&&(1!==n.length||"campaignId"!==n[0])},u=function(e){return e||"unknown"},l=function(e){if(!e||0===e.length)return[];var t=new Set;return e.forEach(function(e){e.slots&&"object"===r(e.slots)&&Object.keys(e.slots).forEac
1h(function(e){t.add(e)})}),Array.from(t).sort()}},443742:function(e,t,n){n.d(t,{A:function(){return l}});var r=n(786282),i=n(695743),a=n(912496),o=n(365769);function u(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=function(e){var t,n,l=e.couponCode,c=e.disablePPSOverride,s=e.paidLP_publicId,f=e.zipcode,d=(function(e){if(Array.isArray(e))return e}(t=(0,a.I)())||function(e,t){var n,r,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var a=[],o=!0,u=!1;try{for(i=i.call(e);!(o=(n=i.next()).done)&&(a.push(n.value),1!==a.length);o=!0);}catch(e){u=!0,r=e}finally{try{o||null==i.return||i.return()}finally{if(u)throw r}}return a}}(t,1)||function(e,t){if(e){if("string"==typeof e)return u(e,1);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 u(e,1)}}(t,1)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0].productSku,p=(0,i.z)("modular-landing-pages").data,g=(0,o.Z)(),m=g.productSkus,v=g.defaultSku,b=d||v,y=(null==p?void 0:p.pricePresentationMLP)===!0,h=!(void 0!==c&&c),O=y&&l&&(null==m?void 0:m.length)&&b&&h,w=(0,r.m)({voucherCode:l,productSkus:m||[],hf_public_id:s||"",zipcode:f},{enabled:!!O,suspense:!1,retry:3}),S=w.isSuccess,P=w.data,j=w.isLoading,C=h&&S&&b&&(null==P?void 0:null===(n=P.presets)||void 0===n?void 0:n[b]),A=h&&S&&(null==P?void 0:P.presets)&&Object.values(P.presets)[0],E=C||A||null;return{displayPricePresentation:!!(h&&S&&E),isPricePresentationLoading:j,discountCommunicationPreset:E}}},912496:function(e,t,n){n.d(t,{I:function(){return a}});var r=n(37017),i=(0,r.cn)({productSku:void 0,productPreset:void 0,familyHandle:void 0,familySize:void 0,familyMeals:void 0,planRecommendationShouldRedirectToPlans:!1,preferenceStatus:"not-selected",isPlansConfigLoading:!0}),a=function(){return(0,r.KO)(i)}},588019:function(e,t,n){var r=n(687800);function i(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 a(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.Z=function(e){var t=e.title,n=e.titleId,o=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,["title","titleId"]);return(0,r.BX)("svg",a(i(a(i({width:"2.5rem",height:"2.5rem",viewBox:"0 0 40 40",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}),o),{children:[t?(0,r.tZ)("title",{id:n,children:t}):null,(0,r.tZ)("path",{d:"M21 7h-2v12H7v2h12v12h2V21h12v-2H21V7Z",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.