PageSourceSearch

https://www.hellofresh.de/_next/static/chunks/74857.b48eb4b5bf63c782.js

js hellofresh.de collected 2026-09-25 23:36:13 UTC 10,511 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[74857],{392077:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.PageEntity_v3_0_0=void 0;class n{constructor(e){this.pageName=e}toJSON(){return{page_name:this.pageName}}}t.PageEntity_v3_0_0=n},299736:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.UserInteractionEvent_v4_0_0=void 0;class n{constructor(e,t,n,o){this.actionType=e,this.interactionType=t,this.target=n,this.uiElementType=o}toJSON(){return{action_type:this.actionType,interaction_type:this.interactionType,target:this.target,ui_element_type:this.uiElementType}}}t.UserInteractionEvent_v4_0_0=n},854675:function(e,t,n){t.c=void 0;let o=n(635257),i=n(855451),s=n(135893),r=n(773688),a=n(299736),p=n(392077);class u{static janusEvent(){let e=this.event(),t=this.page(),n=this.specification(),i=this.specificationVersion();return new o.JanusEvent(e,[n,i].concat([t]))}static specification(){let e=new s.EventSpecificationEntity("d0b9f25a-90c6-4d67-bd5e-699546d7c9fa","LandingPage_Select_Navigation_Link_Click","fd8120dc-8f7c-47a8-9174-60f10a5f805d","Universal",null);return new i.JanusSchema("iglu:com.snowplowanalytics.snowplow/event_specification/jsonschema/1-0-3",e.toJSON())}static specificationVersion(){let e=new r.EventSpecificationVersionEntity(0);return new i.JanusSchema("iglu:com.hellofresh/event_specification_version/jsonschema/1-0-0",e.toJSON())}static event(){let e=new a.UserInteractionEvent_v4_0_0("Click","Select","Navigation","Link");return new i.JanusSchema("iglu:com.hellofresh/user_interaction/jsonschema/4-0-0",e.toJSON())}static page(){let e=new p.PageEntity_v3_0_0("LandingPage");return new i.JanusSchema("iglu:com.hellofresh/page/jsonschema/3-0-0",e.toJSON())}}t.c=u},200614:function(e,t){var n={update:function(){if("undefined"!=typeof window&&"function"==typeof window.addEventListener){var e=!1,t=Object.defineProperty({},"passive",{get:function(){e=!0}}),o=function(){};window.addEventListener("testPassiveEventSupport",o,t),window.removeEventListener("testPassiveEventSupport",o,t),n.hasSupport=e}}};n.update(),t.Z=n},290525:function(e,t,n){var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},i=n(827378),s=n(723615),r=n(200614).Z;function a(){return{x:null,y:null,swiping:!1,start:0}}function p(e,t){if(0===t)return e;var n=e.x,o=e.y,i=Math.PI/180*t;return{x:n*Math.cos(i)+o*Math.sin(i),y:o*Math.cos(i)-n*Math.sin(i)}}function u(e,t){var n=p("changedTouches"in e?{x:e.changedTouches[0].clientX,y:e.changedTouches[0].clientY}:{x:e.clientX,y:e.clientY},t.rotationAngle),o=n.x,i=n.y,s=t.x-o,r=t.y-i,a=Math.abs(s),u=Math.abs(r);return{deltaX:s,deltaY:r,absX:a,absY:u,velocity:Math.sqrt(a*a+u*u)/(Date.now()-t.start)}}var c=function(e){function t(n,o){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,e.call(this,n,o));return i.swipeable=a(),i.eventStart=i.eventStart.bind(i),i.eventMove=i.eventMove.bind(i),i.eventEnd=i.eventEnd.bind(i),i.mouseDown=i.mouseDown.bind(i),i.mouseMove=i.mouseMove.bind(i),i.mouseUp=i.mouseUp.bind(i),i.cleanupMouseListeners=i.cleanupMouseListeners.bind(i),i.setupMouseListeners=i.setupMouseListeners.bind(i),i.elementRef=i.elementRef.bind(i),i.setupTouchmoveEvent=i.setupTouchmoveEvent.bind(i),i.cleanupTouchmoveEvent=i.cleanupTouchmoveEvent.bind(i),i.hasPassiveSupport=r.hasSupport,i}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.componentDidMount=function(){this.props.preventDefaultTouchmoveEvent&&this.setupTouchmoveEvent()},t.prototype.componentDidUpdate=function(e){e.disabled!==this.props.disabled&&(this.cleanupMouseListeners(),this.swipeable=a()),e.preventDefaultTouchmoveEvent&&!this.props.preventDefaultTouchmoveEvent?this.cleanupTouchmoveEvent():!e.preventDefaultTouchmoveEvent&&this.props.preventDefaultTouchmoveEvent&&this.setupTouchmoveEvent()},t.prototype.componentWillUnmount=function(){this.cleanupMouseListeners()},t.prototype.setupTouchmoveEvent=function(){this.element&&this.hasPassiveSupport&&this.element.addEventListener("touchmove",this.eventMove,{passive:!1})},t.prototype.setupMouseListeners=function(){document.addEventListener("mousemove",this.mouseMove),document.addEventListener("mouseup",this.mouseUp)},t.prototype.cleanupTouchmoveEvent=function(){this.element&&this.hasPassiveSupport&&this.element.removeEventListener("touchmove",this.eventMove,{passive:!1})},t.prototype.cleanupMouseListeners=function(){document.removeEventListener("mousemove",this.mouseMove),document.removeEventListener("mouseup",this.mouseUp)},t.prototype.mouseDown=function(e){this.props.trackMouse&&"mousedown"===e.type&&("function"==typeof this.props.onMouseDown&&this.props.onMouseDown(e),this.setupMouseListeners(),this.eventStart(e))},t.prototype.mouseMove=function(e){this.eventMove(e)},t.prototype.mouseUp=function(e){this.cleanupMouseListeners(),this.eventEnd(e)},t.prototype.eventStart=function(e){if(!e.touches||!(e.touches.length>1)){var t=this.props.rotationAngle,n=p("touches"in e?{x:e.touches[0].clientX,y:e.touches[0].clientY}:{x:e.clientX,y:e.clientY},t),o=n.x,i=n.y;this.props.stopPropagation&&e.stopPropagation(),this.swipeable={start:Date.now(),x:o,y:i,swiping:!1,rotationAngle:t}}},t.prototype.eventMove=function(e){var t=this.props,n=t.stopPropagation,o=t.delta,i=t.onSwiping,s=t.onSwiped,r=t.onSwipingLeft,a=t.onSwipedLeft,p=t.onSwipingRight,c=t.onSwipedRight,l=t.onSwipingUp,h=t.onSwipedUp,d=t.onSwipingDown,f=t.onSwipedDown,v=t.preventDefaultTouchmoveEvent;if(this.swipeable.x&&this.swipeable.y&&(!e.touches||!(e.touches.length>1))){var m=u(e,this.swipeable);if(!(m.absX<o)||!(m.absY<o)||this.swipeable.swiping){n&&e.stopPropagation(),i&&i(e,m.deltaX,m.deltaY,m.absX,m.absY,m.velocity);var w=!1;(i||s)&&(w=!0),m.absX>m.absY?m.deltaX>0?(r||a)&&(r&&r(e,m.absX),w=!0):(p||c)&&(p&&p(e,m.absX),w=!0):m.deltaY>0?(l||h)&&(l&&l(e,m.absY),w=!0):(d||f)&&(d&&d(e,m.absY),w=!0),this.swipeable.swiping=!0,w&&v&&e.preventDefault()}}},t.prototype.eventEnd=function(e){var t=this.props,n=t.stopPropagation,o=t.flickThreshold,i=t.onSwiped,s=t.onSwipedLeft,r=t.onSwipedRight,p=t.onSwipedUp,c=t.onSwipedDown,l=t.onTap;if(this.swipeable.swiping){var h=u(e,this.swipeable);n&&e.stopPropagation();var d=h.velocity>o;i&&i(e,h.deltaX,h.deltaY,d,h.velocity),h.absX>h.absY?h.deltaX>0?s&&s(e,h.deltaX,d):r&&r(e,h.deltaX,d):h.deltaY>0?p&&p(e,h.deltaY,d):c&&c(e,h.deltaY,d)}else l&&l(e);this.swipeable=a()},t.prototype.elementRef=function(e){this.element=e,this.props.innerRef&&this.props.innerRef(e)},t.prototype.render=function(){var e=o({},this.props);return this.props.disabled||(e.onTouchStart=this.eventStart,this.props.preventDefaultTouchmoveEvent&&this.hasPassiveSupport||(e.onTouchMove=this.eventMove),e.onTouchEnd=this.eventEnd,e.onMouseDown=this.mouseDown),e.ref=this.elementRef,delete e.onSwiped,delete e.onSwiping,delete e.onSwipingUp,delete e.onSwipingRight,delete e.onSwipingDown,delete e.onSwipingLeft,delete e.onSwipedUp,delete e.onSwipedRight,delete e.onSwipedDown,delete e.onSwipedLeft,delete e.onTap,delete e.flickThreshold,delete e.delta,delete e.preventDefaultTouchmoveEvent,delete e.stopPropagation,delete e.nodeName,delete e.children,delete e.trackMouse,delete e.disabled,delete e.innerRef,delete e.rotationAngle,i.createElement(this.props.nodeName,e,this.props.children)},t}(i.Component);c.propTypes={onSwiped:s.func,onSwiping:s.func,onSwipingUp:s.func,onSwipingRight:s.func,onSwipingDown:s.func,onSwipingLeft:s.func,onSwipedUp:s.func,onSwipedRight:s.func,onSwipedDown:s.func,onSwipedLeft:s.func,onTap:s.func,flickThreshold:s.number,delta:s.number,preventDefaultTouchmoveEvent:s.bool,stopPropagation:s.bool,nodeName:s.string,trackMouse:s.bool,disabled:s.bool,innerRef:s.func,children:s.node,rotationAngle:s.number},c.defaultProps={flickThreshold:.6,delta:10,preventDefaultTouchmoveEvent:!1,stopPropagation:!1,nodeName:"div",disabled:!1,rotationAngle:0},e.exports=c},812621:function(e,t,n){n.d(t,{_:function(){return c}});var o=n(110147),i=n(834961),s=n(801027);
1function r(e,t){[...t].reverse().forEach(n=>{let i=e.getVariant(n);i&&(0,o.C)(e,i),e.variantChildren&&e.variantChildren.forEach(e=>{r(e,t)})})}function a(){let e=!1,t=new Set,n={subscribe:e=>(t.add(e),()=>void t.delete(e)),start(n,o){(0,s.k)(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let r=[];return t.forEach(e=>{r.push((0,i.d)(e,n,{transitionOverride:o}))}),Promise.all(r)},set:n=>((0,s.k)(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(e=>{Array.isArray(n)?r(e,n):"string"==typeof n?r(e,[n]):(0,o.C)(e,n)})),stop(){t.forEach(e=>{!function(e){e.values.forEach(e=>e.stop())}(e)})},mount:()=>(e=!0,()=>{e=!1,n.stop()})};return n}var p=n(168885),u=n(551099);let c=function(){let e=(0,p.h)(a);return(0,u.L)(e.mount,[]),e}},835375:function(e,t,n){n.d(t,{W:function(){return i}});var o=n(827378);function i(e,t,n){(0,o.useInsertionEffect)(()=>e.on(t,n),[e,t,n])}},769007:function(e,t,n){n.d(t,{H:function(){return l}});var o=n(168885),i=n(551099),s=n(827378),r=n(422847),a=n(155529),p=n(461518);function u(e,t){let n=function(e){let t=(0,o.h)(()=>(0,a.BX)(e)),{isStatic:n}=(0,s.useContext)(r._);if(n){let[,n]=(0,s.useState)(e);(0,s.useEffect)(()=>t.on("change",n),[])}return t}(t()),u=()=>n.set(t());return u(),(0,i.L)(()=>{let t=()=>p.Wi.preRender(u,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),(0,p.Pn)(u)}}),n}var c=n(940557);function l(e,t,n,o){if("function"==typeof e)return function(e){a.S1.current=[],e();let t=u(a.S1.current,e);return a.S1.current=void 0,t}(e);let i="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),n=t?0:-1,o=e[0+n],i=e[1+n],s=e[2+n],r=e[3+n],a=(0,c.s)(i,s,r);return t?a(o):a}(t,n,o);return Array.isArray(e)?h(e,i):h([e],([e])=>i(e))}function h(e,t){let n=(0,o.h)(()=>[]);return u(e,()=>{n.length=0;let o=e.length;for(let t=0;t<o;t++)n[t]=e[t].get();return t(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.