1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[13575],{43590:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GwpProgressEntity_v1_0_0=void 0;class n{constructor(e,t){this.boxesDelivered=e,this.boxesRequired=t}toJSON(){return{boxes_delivered:this.boxesDelivered,boxes_required:this.boxesRequired}}}t.GwpProgressEntity_v1_0_0=n},62325:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageEntity_v1_11_0=void 0;class n{constructor(e){this.pageName=e}toJSON(){return{page_name:this.pageName}}}t.PageEntity_v1_11_0=n},849141:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PageEntity_v1_3_0=void 0;class n{constructor(e){this.pageName=e}toJSON(){return{page_name:this.pageName}}}t.PageEntity_v1_3_0=n},925293:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiComponentEntity_v2_0_0=void 0;class n{constructor(e=null,t,n=null){this.uiComponentLabel=e,this.uiComponentName=t,this.uiComponentPosition=n}toJSON(){return{ui_component_label:this.uiComponentLabel,ui_component_name:this.uiComponentName,ui_component_position:this.uiComponentPosition}}}t.UiComponentEntity_v2_0_0=n},283081:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiModalEntity_v1_21_0=void 0;class n{constructor(e){this.uiModalName=e}toJSON(){return{ui_modal_name:this.uiModalName}}}t.UiModalEntity_v1_21_0=n},484328:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiModalEntity_v1_4_0=void 0;class n{constructor(e){this.uiModalName=e}toJSON(){return{ui_modal_name:this.uiModalName}}}t.UiModalEntity_v1_4_0=n},320133:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiModalEntity_v1_9_0=void 0;class n{constructor(e){this.uiModalName=e}toJSON(){return{ui_modal_name:this.uiModalName}}}t.UiModalEntity_v1_9_0=n},311651:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiModalEntity_v2_1_0=void 0;class n{constructor(e){this.uiModalName=e}toJSON(){return{ui_modal_name:this.uiModalName}}}t.UiModalEntity_v2_1_0=n},613951:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiModalEntity_v6_0_0=void 0;class n{constructor(e){this.uiModalName=e}toJSON(){return{ui_modal_name:this.uiModalName}}}t.UiModalEntity_v6_0_0=n},499660:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ImpressionEvent_v2_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_v2_0_0=n},337261:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserInteractionEvent_v2_3_0=void 0;class n{constructor(e,t,n,i){this.actionType=e,this.interactionType=t,this.target=n,this.uiElementType=i}toJSON(){return{action_type:this.actionType,interaction_type:this.interactionType,target:this.target,ui_element_type:this.uiElementType}}}t.UserInteractionEvent_v2_3_0=n},891820:function(e,t,n){"use strict";var i,o,r,s,a,c;t.jt=t.T_=t.Mc=t.w7=void 0;let l=n(635257),u=n(855451),h=n(135893),_=n(773688),p=n(571814),d=n(740153),v=n(796677),f=n(62325),m=n(311651);(s=i||(t.w7=i={})).ScrolledTo="ScrolledTo",s.Popup="Popup",s.NavigatedTo="NavigatedTo",(a=o||(t.Mc=o={})).Major="Major",a.Half="Half",(c=r||(t.T_=r={})).Enrolled="Enrolled",c.NotEnrolled="NotEnrolled";class y{static event(e){let t=new p.ImpressionEvent_v1_0_0(e.impressionType,"Banner",e.visibilityThreshold);return new u.JanusSchema("iglu:com.hellofresh/impression/jsonschema/1-0-0",t.toJSON())}static loyaltyProgramIdentity(e){let t=new d.LoyaltyProgramIdentityEntity_v1_0_0(e.enrollmentId,e.enrollmentState,e.programId);return new u.JanusSchema("iglu:com.hellofresh/loyalty_program_identity/jsonschema/1-0-0",t.toJSON())}static loyaltyProgramPointsStatus(e){let t=new v.LoyaltyProgramPointsStatusEntity_v1_1_0(e.pointsBalance);return new u.JanusSchema("iglu:com.hellofresh/loyalty_program_points_status/jsonschema/1-1-0",t.toJSON())}static janusEvent(e){let t=e.event,n=e.loyaltyProgramIdentity,i=e.loyaltyProgramPointsStatus,o=this.page(),r=this.ui
1Modal(),s=this.specification(),a=this.specificationVersion();return new l.JanusEvent(t,[s,a].concat([n].concat([i].concat([o].concat([r])))))}static specification(){let e=new h.EventSpecificationEntity("5534bc13-2896-4159-a077-a725b5e76cba","CancellationStart_Banner_LoyaltyCancellationDeflection_Impression","fd8120dc-8f7c-47a8-9174-60f10a5f805d","Universal",null);return new u.JanusSchema("iglu:com.snowplowanalytics.snowplow/event_specification/jsonschema/1-0-3",e.toJSON())}static specificationVersion(){let e=new _.EventSpecificationVersionEntity(0);return new u.JanusSchema("iglu:com.hellofresh/event_specification_version/jsonschema/1-0-0",e.toJSON())}static page(){let e=new f.PageEntity_v1_11_0("CancellationStart");return new u.JanusSchema("iglu:com.hellofresh/page/jsonschema/1-11-0",e.toJSON())}static uiModal(){let e=new m.UiModalEntity_v2_1_0("LoyaltyCancellationDeflection");return new u.JanusSchema("iglu:com.hellofresh/ui_modal/jsonschema/2-1-0",e.toJSON())}}t.jt=y},233834:function(e,t,n){"use strict";t.$=void 0;let i=n(635257),o=n(855451),r=n(135893),s=n(773688),a=n(337261),c=n(849141),l=n(320133);class u{static janusEvent(){let e=this.event(),t=this.page(),n=this.uiModal(),o=this.specification(),r=this.specificationVersion();return new i.JanusEvent(e,[o,r].concat([t].concat([n])))}static specification(){let e=new r.EventSpecificationEntity("21d03de9-08a8-427e-9889-dbe1455054cd","CancellationSuccess_Open_Cookbook_Button_Click","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 s.EventSpecificationVersionEntity(1);return new o.JanusSchema("iglu:com.hellofresh/event_specification_version/jsonschema/1-0-0",e.toJSON())}static event(){let e=new a.UserInteractionEvent_v2_3_0("Click","Open","Cookbook","Button");return new o.JanusSchema("iglu:com.hellofresh/user_interaction/jsonschema/2-3-0",e.toJSON())}static page(){let e=new c.PageEntity_v1_3_0("CancellationSuccess");return new o.JanusSchema("iglu:com.hellofresh/page/jsonschema/1-3-0",e.toJSON())}static uiModal(){let e=new l.UiModalEntity_v1_9_0("CookbookPostCancellation");return new o.JanusSchema("iglu:com.hellofresh/ui_modal/jsonschema/1-9-0",e.toJSON())}}t.$=u},782210:function(e,t,n){"use strict";t.t=void 0;let i=n(635257),o=n(855451),r=n(135893),s=n(773688),a=n(499660),c=n(43590),l=n(392077),u=n(925293),h=n(613951),_=n(352532);class p{static gwpProgress(e){let t=new c.GwpProgressEntity_v1_0_0(e.boxesDelivered,e.boxesRequired);return new o.JanusSchema("iglu:com.hellofresh/gwp_progress/jsonschema/1-0-0",t.toJSON())}static uiComponent(e){let t=new u.UiComponentEntity_v2_0_0(e.uiComponentLabel,"GwpProgressTracker",e.uiComponentPosition);return new o.JanusSchema("iglu:com.hellofresh/ui_component/jsonschema/2-0-0",t.toJSON())}static voucher(e){let t=new _.VoucherEntity_v1_0_0(e.voucherCode);return new o.JanusSchema("iglu:com.hellofresh/voucher/jsonschema/1-0-0",t.toJSON())}static janusEvent(e){let t=this.event(),n=e.gwpProgress,o=this.page(),r=e.uiComponent,s=this.uiModal(),a=e.voucher,c=this.specification(),l=this.specificationVersion();return new i.JanusEvent(t,[c,l].concat([n].concat([o].concat([r].concat([s].concat([a]))))))}static specification(){let e=new r.EventSpecificationEntity("d191475b-87f1-43dd-8a9e-e03e058933bd","MyOrders_ProgressTracker_GwpProgressTracker_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 s.EventSpecificationVersionEntity(1);return new o.JanusSchema("iglu:com.hellofresh/event_specification_version/jsonschema/1-0-0",e.toJSON())}static event(){let e=new a.ImpressionEvent_v2_0_0("NavigatedTo","ProgressTracker","Major");return new o.JanusSchema("iglu:com.hellofresh/impression/jsonschema/2-0-0",e.toJSON())}static page(){let e=new l.PageEntity_v3_0_0("MyOrders");return new o.JanusSchema("iglu:com.hellofresh/page/jsonschema/3-0-0",e.toJSON())}static uiModal(){let e=new h.UiModalEntity_v6_0_0("GwpProgressTracker");return new o.JanusSchema("iglu:com.hellofresh/ui_modal/jsonschema/6-0-0",e.toJSON())}}t.t=p},803819:function(e,t,n){var i=n(799736),o=n(992360);e.exports=function(e){return!0===e||!1===e||o(e)&&"[object Boolean]"==i(e)}},923954:function(e){e.exports=function(e){return null===e}},109277:function(e,t,n){var i=n(365567);e.exports=function(){var e=arguments,t=i(e[0]);return e.length<3?t:t.replace(e[1],e[2])}},437408:function(e,t,n){"use strict";var i=n(922820);e.exports=function(e,t){return i(e,36e5*Number(t))}},921804:function(e,t,n){"use strict";var i=n(763646);e.exports=function(e,t){var n=i(e),o=i(t);return n.getTime()===o.getTime()}},509957:function(e,t,n){"use strict";n.d(t,{YD:function(){return d},ZP:function(){return p},df:function(){return p}});var i=n(827378);function o(){return(o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var s=new Map,a=new WeakMap,c=0,l=void 0;function u(e,t,n,i){if(void 0===n&&(n={}),void 0===i&&(i=l),void 0===window.IntersectionObserver&&void 0!==i){var o=e.getBoundingClientRect();return t(i,{isIntersecting:i,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),function(){}}var r=function(e){var t=Object.keys(e).sort().filter(function(t){return void 0!==e[t]}).map(function(t){var n;return t+"_"+("root"===t?(n=e.root)?(a.has(n)||(c+=1,a.set(n,c.toString())),a.get(n)):"0":e[t])}).toString(),n=s.get(t);if(!n){var i,o=new Map,r=new IntersectionObserver(function(t){t.forEach(function(t){var n,r=t.isIntersecting&&i.some(function(e){return t.intersectionRatio>=e});e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=r),null==(n=o.get(t.target))||n.forEac
1h(function(e){e(r,t)})})},e);i=r.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:r,elements:o},s.set(t,n)}return n}(n),u=r.id,h=r.observer,_=r.elements,p=_.get(e)||[];return _.has(e)||_.set(e,p),p.push(t),h.observe(e),function(){p.splice(p.indexOf(t),1),0===p.length&&(_.delete(e),h.unobserve(e)),0===_.size&&(h.disconnect(),s.delete(u))}}var h=["children","as","triggerOnce","threshold","root","rootMargin","onChange","skip","trackVisibility","delay","initialInView","fallbackInView"];function _(e){return"function"!=typeof e.children}var p=function(e){function t(t){var n;return(n=e.call(this,t)||this).node=null,n._unobserveCb=null,n.handleNode=function(e){!n.node||(n.unobserve(),e||n.props.triggerOnce||n.props.skip||n.setState({inView:!!n.props.initialInView,entry:void 0})),n.node=e||null,n.observeNode()},n.handleChange=function(e,t){e&&n.props.triggerOnce&&n.unobserve(),_(n.props)||n.setState({inView:e,entry:t}),n.props.onChange&&n.props.onChange(e,t)},n.state={inView:!!t.initialInView,entry:void 0},n}t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e);var n=t.prototype;return n.componentDidUpdate=function(e){(e.rootMargin!==this.props.rootMargin||e.root!==this.props.root||e.threshold!==this.props.threshold||e.skip!==this.props.skip||e.trackVisibility!==this.props.trackVisibility||e.delay!==this.props.delay)&&(this.unobserve(),this.observeNode())},n.componentWillUnmount=function(){this.unobserve(),this.node=null},n.observeNode=function(){if(this.node&&!this.props.skip){var e=this.props,t=e.threshold,n=e.root,i=e.rootMargin,o=e.trackVisibility,r=e.delay,s=e.fallbackInView;this._unobserveCb=u(this.node,this.handleChange,{threshold:t,root:n,rootMargin:i,trackVisibility:o,delay:r},s)}},n.unobserve=function(){this._unobserveCb&&(this._unobserveCb(),this._unobserveCb=null)},n.render=function(){if(!_(this.props)){var e=this.state,t=e.inView,n=e.entry;return this.props.children({inView:t,entry:n,ref:this.handleNode})}
1var r=this.props,s=r.children,a=r.as,c=function(e,t){if(null==e)return{};var n,i,o={},r=Object.keys(e);for(i=0;i<r.length;i++)n=r[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}(r,h);return i.createElement(a||"div",o({ref:this.handleNode},c),s)},t}(i.Component);function d(e){var t=void 0===e?{}:e,n=t.threshold,o=t.delay,r=t.trackVisibility,s=t.rootMargin,a=t.root,c=t.triggerOnce,l=t.skip,h=t.initialInView,_=t.fallbackInView,p=i.useRef(),d=i.useState({inView:!!h}),v=d[0],f=d[1],m=i.useCallback(function(e){void 0!==p.current&&(p.current(),p.current=void 0),!l&&e&&(p.current=u(e,function(e,t){f({inView:e,entry:t}),t.isIntersecting&&c&&p.current&&(p.current(),p.current=void 0)},{root:a,rootMargin:s,threshold:n,trackVisibility:r,delay:o},_))},[Array.isArray(n)?n.toString():n,a,s,c,l,r,_,o]);(0,i.useEffect)(function(){p.current||!v.entry||c||l||f({inView:!!h})});var y=[m,v.inView,v.entry];return y.ref=y[0],y.inView=y[1],y.entry=y[2],y}p.displayName="InView",p.defaultProps={threshold:0,triggerOnce:!1,initialInView:!1}}}]);
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.