1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[24613],{740153:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LoyaltyProgramIdentityEntity_v1_0_0=void 0;class n{constructor(t=null,e,n=null){this.enrollmentId=t,this.enrollmentState=e,this.programId=n}toJSON(){return{enrollment_id:this.enrollmentId,enrollment_state:this.enrollmentState,program_id:this.programId}}}e.LoyaltyProgramIdentityEntity_v1_0_0=n},796677:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LoyaltyProgramPointsStatusEntity_v1_1_0=void 0;class n{constructor(t){this.pointsBalance=t}toJSON(){return{points_balance:this.pointsBalance}}}e.LoyaltyProgramPointsStatusEntity_v1_1_0=n},480514:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UserInteractionEvent_v2_10_0=void 0;class n{constructor(t,e,n,o){this.actionType=t,this.interactionType=e,this.target=n,this.uiElementType=o}toJSON(){return{action_type:this.actionType,interaction_type:this.interactionType,target:this.target,ui_element_type:this.uiElementType}}}e.UserInteractionEvent_v2_10_0=n},954196:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UserInteractionEvent_v2_4_0=void 0;class n{constructor(t,e,n,o){this.actionType=t,this.interactionType=e,this.target=n,this.uiElementType=o}toJSON(){return{action_type:this.actionType,interaction_type:this.interactionType,target:this.target,ui_element_type:this.uiElementType}}}e.UserInteractionEvent_v2_4_0=n},82700:function(t,e,n){"use strict";var o,r,i,a;e.P1=e.E5=e.T_=void 0;let c=n(635257),l=n(855451),s=n(135893),u=n(773688),p=n(954196),y=n(740153),f=n(796677),d=n(624874),m=n(633653),h=n(151014),b=n(70972);(i=o||(e.T_=o={})).Enrolled="Enrolled",i.NotEnrolled="NotEnrolled",(a=r||(e.E5=r={})).LoyaltyEntryPoint="LoyaltyEntryPoint",a.Mission="Mission";class _{static loyaltyProgramIdentity(t){let e=new y.LoyaltyProgramIdentityEntity_v1_0_0(t.enrollmentId,t.enrollmentState,t.programId);return new l.JanusSchema("iglu:com.hellofresh/loyalty_program_identity/jsonschema/1-0-0",e.toJSON())}static loyaltyProgramPointsStatus(t){let e=new f.LoyaltyProgramPointsStatusEntity_v1_1_0(t.pointsBalance);return new l.JanusSchema("iglu:com.hellofresh/loyalty_program_points_status/jsonschema/1-1-0",e.toJSON())}static uiModal(t){let e=new m.UiModalEntity_v1_6_0(t.uiModalName);return new l.JanusSchema("iglu:com.hellofresh/ui_modal/jsonschema/1-6-0",e.toJSON())}static janusEvent(t){let e=this.event(),n=t.loyaltyProgramIdentity,o=t.loyaltyProgramPointsStatusEntities,r=this.page(),i=t.uiModal;if(!h.Validator.validateCardinality(o,0,null))throw new b.ValidationError("Janus validation failed: [MyOrdersViewRewardsHubButtonClickSpecification] LoyaltyProgramPointsStatusEntity count must be between 0 and â, got "+(o?.length??0));let a=this.specification(),l=this.specificationVersion();return new c.JanusEvent(e,[a,l].concat([n].concat((o??[]).concat([r].concat([i])))))}static specification(){let t=new s.EventSpecificationEntity("f9f675d6-5bd4-4d7c-a772-b8609d6d6dbb","MyOrders_View_RewardsHub_Button_Click","fd8120dc-8f7c-47a8-9174-60f10a5f805d","Universal",null);return new l.JanusSchema("iglu:com.snowplowanalytics.snowplow/event_specification/jsonschema/1-0-3",t.toJSON())}static specificationVersion(){let t=new u.EventSpecificationVersionEntity(3);return new l.JanusSchema("iglu:com.hellofresh/event_specification_version/jsonschema/1-0-0",t.toJSON())}static event(){let t=new p.UserInteractionEvent_v2_4_0("Click","View","RewardsHub","Button");return new l.JanusSchema("iglu:com.hellofresh/user_interaction/jsonschema/2-4-0",t.toJSON())}static page(){let t=new d.PageEntity_v1_4_0("MyOrders");return new l.JanusSchema("iglu:com.hellofresh/page/jsonschema/1-4-0",t.toJSON())}}e.P1=_},636012:function(t,e,n){"use strict";var o=n(893185),r={"text/plain":"Text","text/html":"Url",default:"Text"};t.exports=function(t,e){var n,i,a,c,l,s,u,p,y=!1;e||(e={}),a=e.debug||!1;try{if(l=o(),s=document.createRange(),u=document.getSelection(),(p=document.createElement("span")).textContent=t,p.style.all="unset",p.style.position="fixed",p.style.top=0,p.style.clip="rect(0, 0, 0, 0)",p.style.whiteSpace="pre",p.style.webkitUserSelect="text",p.style.MozUserSelect="text",p.style.msUserSelect="text",p.style.userSelect="text",p.addEventListener("copy",function(n){if(n.stopPropagation(),e.format){if(n.preventDefault(),void 0===n.clipboardData){a&&console.warn("unable to use e.clipboardData"),a&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var o=r[e.format]||r.default;window.clipboardData.setData(o,t)}else n.clipboardData.clearData(),n.clipboardData.setData(e.format,t)}e.onCopy&&(n.preventDefault(),e.onCopy(n.clipboardData))}),document.body.appendChild(p),s.selectNodeContents(p),u.addRange(s),!document.execCommand("copy"))throw Error("copy command was unsuccessful");y=!0}catch(o){a&&console.error("unable to copy using execCommand: ",o),a&&
1console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),y=!0}catch(o){a&&console.error("unable to copy using clipboardData: ",o),a&&console.error("falling back to prompt"),n="message"in e?e.message:"Copy to clipboard: #{key}, Enter",i=(/mac os x/i.test(navigator.userAgent)?"â":"Ctrl")+"+C",c=n.replace(/#{\s*key\s*}/g,i),window.prompt(c,t)}}finally{u&&("function"==typeof u.removeRange?u.removeRange(s):u.removeAllRanges()),p&&document.body.removeChild(p),l()}return y}},914680:function(t,e,n){var o=n(234690)(function(t,e,n){t[n?0:1].push(e)},function(){return[[],[]]});t.exports=o},244218:function(t,e,n){"use strict";function o(t){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}Object.defineProperty(e,"__esModule",{value:!0}),e.CopyToClipboard=void 0;var r=c(n(827378)),i=c(n(636012)),a=["text","onCopy","options","children"];function c(t){return t&&t.__esModule?t:{default:t}}function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,o)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach(function(e){f(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function u(t,e){return(u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function p(t){if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y(t){return(y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}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=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&u(t,e)}(l,t);var e,n,c=(e=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}(),function(){var t,n=y(l);return t=e?Reflect.construct(n,arguments,y(this).constructor):n.apply(this,arguments),function(t,e){if(e&&("object"===o(e)||"function"==typeof e))return e;if(void 0!==e)throw TypeError("Derived constructors may only return object or undefined");return p(t)}(this,t)});function l(){var t;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,l);for(var e=arguments.length,n=Array(e),o=0;o<e;o++)n[o]=arguments[o];return f(p(t=c.call.apply(c,[this].concat(n))),"onClick",function(e){var n=t.props,o=n.text,a=n.onCopy,c=n.children,l=n.options,s=r.default.Children.only(c),u=(0,i.default)(o,l);a&&a(o,u),s&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(e)}),t}return n=[{key:"render",value:function(){var t=this.props,e=(t.text,t.onCopy,t.options,t.children),n=function(t,e){if(null==t)return{};var n,o,r=function(t,e){if(null==t)return{};var n,o,r={},i=Object.keys(t);for(o=0;o<i.length;o++)n=i[o],e.indexOf(n)>=0||(r[n]=t[n]);return r}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)n=i[o],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(r[n]=t[n])}return r}(t,a),o=r.default.Children.only(e);return r.default.cloneElement(o,s(s({},n),{},{onClick:this.onClick}))}}],function(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}(l.prototype,n),Object.defineProperty(l,"prototype",{writable:!1}),l}(r.default.PureComponent);e.CopyToClipboard=d,f(d,"defaultProps",{onCopy:void 0,options:void 0})},524306:function(t,e,n){"use strict";var o=n(244218).CopyToClipboard;o.CopyToClipboard=o,t.exports=o},893185:function(t){t.exports=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,n=[],o=0;o<t.rangeCount;o++)n.push(t.getRangeAt(o));switch(e.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":e.blur();break;default:e=null}return t.removeAllRanges(),function(){"Caret"===t.type&&t.removeAllRanges(),t.rangeCount||n.forEac
1h(function(e){t.addRange(e)}),e&&e.focus()}}}}]);
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.