1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[57252],{79380:function(e,t,r){r.d(t,{a:function(){return m},m:function(){return O}});var n,o,i=r(456552),u=r(410690),c=r.n(u),a=r(671718),l=r(447178),s=r(865589),f=r(447054),p=r(140224),b=r(699219),y=r(881821);function d(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(e){r(e);return}c.done?t(a):Promise.resolve(a).then(n,o)}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function h(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var O=(n=function(e,t){var r,n,o,i,u,c,l,s,f=arguments;return function(e,t){var r,n,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(r)throw TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,n=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(e,u)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}(this,function(p){switch(p.label){case 0:return r=e.systemCountry,n=e.locale,o=e.rangeStart,i=e.rangeEnd,u=e.parentSpan,[4,(f.length>2&&void 0!==f[2]?f[2]:a.Z)("/api/customers/me/deliveries",t,{method:"GET",query:{country:r,locale:n,rangeStart:o,rangeEnd:i},parentSpan:u,fetchSpanAttributes:{"request.backend_service":"cdps-deliveries-proxy","request.backend_action":"get-customer-deliveries"}})];case 1:return[4,p.sent().json()];case 2:if(c=p.sent(),"FJ"===r&&(s=null==c?void 0:null===(l=c.items)||void 0===l?void 0:l.filter(function(e){return!(0,y.Hb)(e)})))return[2,h(v({},c),{items:s,count:c.count-(c.count-s.length)})];return[2,c]}})},o=function(){var e=this,t=arguments;return new Promise(function(r,o){var i=n.apply(e,t);function u(e){d(i,r,o,u,c,"next",e)}function c(e){d(i,r,o,u,c,"throw",e)}u(void 0)})},function(e,t){return o.apply(this,arguments)}),m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=(0,i.useQueryClient)(),n=(0,l.Z)().fetch,o=(0,p.O)(),u=v({rangeStart:(null==e?void 0:e.rangeStart)||(0,s.Z)(),rangeEnd:(null==e?void 0:e.rangeEnd)||(0,f.Z)(c()((0,s.Z)(),10))},o),a=(0,p.C)(null==t?void 0:t.enabled),y=[b.Z["customer.deliveries"],u];return(0,i.useQuery)(y,function(){return O(u,y,n)},h(v({},t),{enabled:a,onSuccess:function(e){var t;null==e||null===(t=e.items)||void 0===t||t.map(function(e){var t=[b.Z["customer.delivery"],h(v({},o),{week:String(e.id),subscriptionId:String(e.subscriptionId)})];r.setQueryData(t,e,{updatedAt:Date.now()})})}}))}},759839:function(e,t,r){r.d(t,{Y:function(){return h},t:function(){return O}});var n,o,i=r(456552),u=r(671718),c=r(447178),a=r(64294),l=r(783244),s=r(140224),f=r(699219);function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function b(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(e){r(e);return}c.done?t(a):Promise.resolve(a).then(n,o)}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
1))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function d(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}var v=function(e){var t,r=(function(e){if(Array.isArray(e))return e}(t=(0,l.Z)("hf_reactivation_delivery_shift_disabled"))||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],u=!0,c=!1;try{for(o=o.call(e);!(u=(r=o.next()).done)&&(i.push(r.value),1!==i.length);u=!0);}catch(e){c=!0,n=e}finally{try{u||null==o.return||o.return()}finally{if(c)throw n}}return i}}(t,1)||function(e,t){if(e){if("string"==typeof e)return p(e,1);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(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];if(!r||!e)return null;try{return JSON.parse(r)[e]||null}catch(e){return null}},h=(n=function(e,t){var r,n,o,i,c,a,l,s,f,p,b,v,h,O,m,g,w=arguments;return function(e,t){var r,n,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(r)throw TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,n=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(e,u)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}(this,function(j){switch(j.label){case 0:r=e.systemCountry,n=e.locale,o=e.subscriptionId,i=e.productFamily,c=e.module,a=e.parentSpan,l=e.mealsize,s=e.deliveryOption,f=e.retry,p=e.tadaPriority,b=e.hf_public_id,v=w.length>2&&void 0!==w[2]?w[2]:u.Z,j.label=1;case 1:return j.trys.push([1,3,,4]),[4,v("/reactivation-subscription",t,{method:"GET",query:d(y({country:r,locale:n},c&&{module:c},o&&{"subscription-id":o},i&&{"product-family":i},l&&{mealsize:l},s&&{"delivery-option":s},p&&{"tada-priority":p},b&&{hf_public_id:b}),{is_v2:!0}),parentSpan:a,queryStringifyOptions:{arrayFormat:"bracket"},fetchSpanAttributes:{"request.backend_service":"reactivation-bff","request.backend_action":"get-reactivation-subscription"}})];case 2:return[2,j.sent().json()];case 3:h=j.sent();try{(m=h.responseResult)&&(O=null==(g=JSON.parse(m).error)?void 0:g.code)}catch(e){throw h}if(422===O&&!f)return[2,Promise.resolve()];throw h;case 4:return[2]}})},o=function(){var e=this,t=arguments;return new Promise(function(r,o){var i=n.apply(e,t);function u(e){b(i,r,o,u,c,"next",e)}function c(e){b(i,r,o,u,c,"throw",e)}u(void 0)})},function(e,t){return o.apply(this,arguments)}),O=function(e,t){var r=(0,c.Z)().fetch,n=(0,s.O)(),o=v(e.subscriptionId);e.hf_public_id||(e.hf_public_id=(0,a.ZP)());var u=d(y({},e,n,o&&{deliveryOption:o}),{retry:!!(null==t?void 0:t.retry)}),l=[f.Z["reactivation-bff.reactivation-subscription"],y({},e.subscriptionId&&{subscriptionId:e.subscriptionId},e.productFamily&&{productFamily:e.productFamily},e.mealsize&&{mealsize:e.mealsize},o&&{deliveryOption:o},e.tadaPriority&&{tadaPriority:e.tadaPriority},e.hf_public_id&&{hf_public_id:e.hf_public_id},n)];return(0,i.useQuery)(l,function(){return h(u,l,r)},y({},t))}},832921:function(e,t,r){r.d(t,{m:function(){return f}});var n,o,i=r(456552),u=r(671718),c=r(447178),a=r(699219);function l(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(e){r(e);return}c.done?t(a):Promise.resolve(a).then(n,o)}var s=(n=function(e,t){var r=arguments;return function(e,t){var r,n,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(r)throw TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,n=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}
1o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(e,u)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}(this,function(n){switch(n.label){case 0:return[4,(r.length>2&&void 0!==r[2]?r[2]:u.Z)("/referral/freebies/count",t,{parentSpan:e.parentSpan,fetchSpanAttributes:{"request.backend_service":"freebie-allocation-service","request.backend_action":"get-freebies-count"}})];case 1:return[2,n.sent().json()]}})},o=function(){var e=this,t=arguments;return new Promise(function(r,o){var i=n.apply(e,t);function u(e){l(i,r,o,u,c,"next",e)}function c(e){l(i,r,o,u,c,"throw",e)}u(void 0)})},function(e,t){return o.apply(this,arguments)}),f=function(e,t){var r=(0,c.Z)().fetch,n=[a.Z["referrals.freebies.count"]];return(0,i.useQuery)(n,function(){return s({},n,r)},t)}},845384:function(e,t,r){r.d(t,{K:function(){return b}});var n,o,i=r(456552),u=r(671718),c=r(447178),a=r(140224),l=r(699219);function s(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(e){r(e);return}c.done?t(a):Promise.resolve(a).then(n,o)}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}var p=(n=function(e,t){var r,n,o,i,c=arguments;return function(e,t){var r,n,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(r)throw TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,n=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(e,u)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}(this,function(a){switch(a.label){case 0:return r=e.id,n=e.systemCountry,o=e.locale,i=e.parentSpan,[4,(c.length>2&&void 0!==c[2]?c[2]:u.Z)("/api/subscriptions/".concat(r),t,{query:{country:n,locale:o},parentSpan:i,fetchSpanAttributes:{"request.backend_service":"api-v2","request.backend_action":"get-subscription","subscription.id":r}})];case 1:return[2,a.sent().json()]}})},o=function(){var e=this,t=arguments;return new Promise(function(r,o){var i=n.apply(e,t);function u(e){s(i,r,o,u,c,"next",e)}function c(e){s(i,r,o,u,c,"throw",e)}u(void 0)})},function(e,t){return o.apply(this,arguments)}),b=function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=(0,c.Z)().fetch,u=f({},e,(0,a.O)()),s=(0,a.C)(null==n?void 0:n.enabled),b=[l.Z["subscriptions.byId"],u];return(0,i.useQuery)(b,function(){return p(u,b,o)},(t=f({},n),r=r={enabled:s},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))}},736026:function(e,t,r){r.d(t,{D:function(){return f}});var n,o,i=r(671718),u=r(26124),c=r(140224),a=r(699219);function l(e,t,r,n,o,i,u){try{var c=e[i](u),a=c.value}catch(e){r(e);return}c.done?t(a):Promise.resolve(a).then(n,o)}var s=(n=function(e,t){var r,n,o,u=arguments;return function(e,t){var r,n,o,i,u={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function c(i){return function(c){return function(i){if(r)throw TypeError("Generator is already executing.");for(;u;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return u.label++,{value:i[1],done:!1};case 5:u.label++,n=i[1],i=[0];continue;case 7:i=u.ops.pop(),u.trys.pop();continue;default:if(!(o=(o=u.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){u=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){u.label=i[1];break}if(6===i[0]&&u.label<o[1]){u.label=o[1],o=i;break}if(o&&u.label<o[2]){u.label=o[2],u.ops.push(i);break}
1o[2]&&u.ops.pop(),u.trys.pop();continue}i=t.call(e,u)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,c])}}}(this,function(c){switch(c.label){case 0:if(r=u.length>2&&void 0!==u[2]?u[2]:i.Z,n=e.parentSpan,"string"!=typeof(o=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["parentSpan"])).code||!o.code)return[2,{}];c.label=1;case 1:return c.trys.push([1,3,,4]),[4,r("/vouchers/".concat(o.code),t,{method:"GET",query:{country:o.systemCountry,locale:o.locale},parentSpan:n,fetchSpanAttributes:{"request.backend_service":"voucher-validation-service","request.backend_action":"voucher-details",voucherCode:o.code}})];case 2:return[2,c.sent().json()];case 3:throw c.sent();case 4:return[2]}})},o=function(){var e=this,t=arguments;return new Promise(function(r,o){var i=n.apply(e,t);function u(e){l(i,r,o,u,c,"next",e)}function c(e){l(i,r,o,u,c,"throw",e)}u(void 0)})},function(e,t){return o.apply(this,arguments)}),f=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},e,(0,c.O)()),n=[a.Z["voucher.info"],r];return(0,u.Z)(n,function(e){return s(r,n,e)},t)}},407792:function(e,t,r){r.d(t,{O:function(){return u}});var n=r(64294),o=r(827378),i=r(233477),u=function(){var e=(0,i.F)();return(0,o.useMemo)(function(){return{id:(0,n.ZP)(),attributes:e}},[e])}},553911:function(e,t,r){var n=r(687800),o=r(827378),i=r(72344),u=r(727650),c=r(497249),a=r(165218),l=r.n(a)()(function(){return Promise.resolve().then(r.bind(r,72344))},{loadableGenerated:{webpack:()=>[null]},ssr:!1});t.Z=function(e){var t,r,a=e.hasMarkdown,s=e.copy,f=e.markdownOptions,p=e.noSSR,b=e.allowedAttrs,y=e.config,d=(0,c.T)(),v="string"==typeof s?s.replace(/[ \t]{9,}/g," ".repeat(8)):s,h=(0,u.sanitize)(v,(t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({ADD_ATTR:void 0===b?[]:b},void 0===y?{}:y),r=r={RETURN_DOM:!1,RETURN_DOM_FRAGMENT:!1},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t));return((0,o.useEffect)(function(){if((s||"")!==h){var e=d.startSpan("sanitize-content-libray");e.setAttributes({"sanitize-content-libray":!0,"sanitize-error-detected":s!==h,"sanitize-message":"HTML content has been sanitized. Please check the content to ensure it is safe.","sanitize-original-content":s,"sanitize-sanitized-content":h}),e.end()}},[s,h,d]),a)?p?(0,n.tZ)(l,{options:f,children:h}):(0,n.tZ)(i.default,{options:f,children:h}):(0,n.tZ)("div",{dangerouslySetInnerHTML:{__html:h}})}},617947:function(e,t,r){var n=r(410690),o=r.n(n),i=r(447054);t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now();return(0,i.Z)(o()(e,1))}},865589:function(e,t,r){var n=r(916368),o=r.n(n),i=r(447054);t.Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Date.now();return(0,i.Z)(o()(e,1))}},877520:function(e,t,r){r.d(t,{k$:function(){return i},mG:function(){return u}});var n,o,i,u,c=r(669524),a=r(90295);function l(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}(n=i||(i={})).warn="neutral",n.error="error",n.information="information",n.success="success",n.warning="warning",(o=u||(u={})).open="open",o.closed="closed";var f=function(){var e,t;function r(e,t,n,o){var i,u,a=this;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),s(this,"id",void 0),s(this,"type",void 0),s(this,"text",void 0),s(this,"state",void 0),s(this,"onClose",void 0),s(this,"testId",void 0),s(this,"meta",void 0),s(this,"delayedTimer",void 0),this.id=null!==(i=null==o?void 0:o.overrideId)&&void 0!==i?i:(0,c.x)(),this.type=null!==(u=null==o?void 0:o.type)&&void 0!==u?u:"success",this.text=e,this.state=t,this.testId=n,this.meta=null==o?void 0:o.meta,this.delayedTimer=(null==o?void 0:o.delayedDismiss)?setTimeout(function(){return a.close()},(null==o?void 0:o.delayedDismissDuration)?null==o?void 0:o.delayedDismissDuration:5e3):void 0,this.onClose=null==o?void 0:o.onClose}return e=[{key:"close",value:function(){this.state="closed",this.delayedTimer&&clearTimeout(this.delayedTimer),this.onClose&&this.onClose(),(0,a.VW)()}}
1],t=[{key:"create",value:function(e,t,n){return new r(e,"open",t,n)}}],e&&l(r.prototype,e),t&&l(r,t),r}();t.ZP=f},90295:function(e,t,r){function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function o(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return n(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,void 0)}}(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}r.d(t,{FV:function(){return b},L9:function(){return p},VW:function(){return s},iX:function(){return y},wN:function(){return a},xV:function(){return l}});var i=[],u=[],c=function(e){var t=!0,r=!1,n=void 0;try{for(var o,u=i[Symbol.iterator]();!(t=(o=u.next()).done);t=!0){var c=o.value;e(c)&&b(c)}}catch(e){r=!0,n=e}finally{try{t||null==u.return||u.return()}finally{if(r)throw n}}return[]},a=function(e){var t=function(t){return e.id===t.id};c(t).length>0&&y(t),i.push(e),s()},l=function(e){return u.push(e),function(){return f(e)}},s=function(){u.forEach(function(e){e(i)})},f=function(e){var t=u.indexOf(e);u=o(u.slice(0,t)).concat(o(u.slice(t+1)))},p=function(){i=[],s()},b=function(e){i=i.filter(function(t){return t.id!==e.id}),s()},y=function(e){var t=!0,r=!1,n=void 0;try{for(var o,u=i[Symbol.iterator]();!(t=(o=u.next()).done);t=!0){var c=o.value;e(c)&&b(c)}}catch(e){r=!0,n=e}finally{try{t||null==u.return||u.return()}finally{if(r)throw n}}s()}},594719:function(e,t,r){r.d(t,{m:function(){return v}});var n=r(827378),o=r(743267),i=r(24165),u=r(97901),c=r(881821),a=r(497249),l=r(718583),s=r(463171),f=r(200770),p=r(463662);function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],u=!0,c=!1;try{for(o=o.call(e);!(u=(r=o.next()).done)&&(i.push(r.value),!t||i.length!==t);u=!0);}catch(e){c=!0,n=e}finally{try{u||null==o.return||o.return()}finally{if(c)throw n}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(e,t)}}(e,t)||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 d=function(){var e=(0,f.Z)(),t=(0,p.usePathname)(),r=(0,s.Z)("rtevms-2566-shopify-redirect-gate",{country:e,page_path:t}),o=r.isEnabled,i=r.isReady,u=y((0,n.useState)(!1),2),c=u[0],a=u[1],b=y((0,n.useState)(!1),2),d=b[0],v=b[1];return(0,n.useEffect)(function(){v(!0),"true"===l.ZP.getItem("hf_factorform_shopify_redirect_enabled")&&a(!0)},[]),{isShopifyRedirectEnabled:i&&o||d&&c,isReady:i&&d}},v=function(){var e=(0,a.T)(),t=d(),r=t.isShopifyRedirectEnabled,l=t.isReady,s=(0,o.fB)((0,i.Z)()),f=(0,u.Z)({},{suspense:!1}),p=f.data,b=f.isLoading,y=null==p?void 0:p.items.find(c.kO),v=null==y?void 0:y.isActive,h=l&&!b,O=h&&r&&(!s||s&&!v);return(0,n.useEffect)(function(){if(h){var t=e.startSpan("vms-shopify-redirect-check");t.setAttributes({"vms.should_redirect":O,"vms.is_logged_in":s,"vms.has_active_vms":!!v,"vms.feature_flag_enabled":r}),t.end()}},[h,O,s,v,r,e]),{isReady:h,shouldRedirect:O}}},681438:function(e,t,r){r.d(t,{O:function(){return u}});var n=r(827378),o=r(953137),i=r(881821),u=function(e){var t=e.utmContent,r=(0,o.u)({},{suspense:!1}).data,u=null==r?void 0:r.items.find(i.kH),c=null==u?void 0:u.isActive;return(0,n.useMemo)(function(){var e=new URLSearchParams;return e.set("utm_source","".concat(c?"1":"","factor75")),e.set("utm_medium","website"),e.set("utm_content",t),e},[c,t])}},177496:function(e,t,r){r.d(t,{Q:function(){return l}});
1var n=r(827378),o=r(743267),i=r(24165),u=r(497249),c=(0,r(66077).Z)("sub-brand.shopify-redirect",{shopifyRedirectUrl:"https://www.factorform.com/collections/factor-collection",shopifyRedirectProspectUserUrl:"https://www.factorform.com/collections/shop-all"}).useConfig,a=r(681438),l=function(e){var t,r=e.utmContent,l=e.baseUrl,s=(0,u.T)(),f=c(),p=f.shopifyRedirectUrl,b=f.shopifyRedirectProspectUserUrl,y=(0,o.fB)((0,i.Z)()),d=null!=l?l:y?p:b,v=(0,a.O)({utmContent:r}),h=(0,n.useRef)(null),O=d?(t=new URL(d),v.forEach(function(e,r){t.searchParams.set(r,e)}),t.toString()):d;return(0,n.useEffect)(function(){if(O&&O!==h.current){h.current=O;var e,t,n=s.startSpan("vms-shopify-redirect-url-built");n.setAttributes({"vms.utm_content":r,"vms.destination":null!=O?O:d,"vms.has_active_rte_subscription":null!==(t=null===(e=v.get("utm_source"))||void 0===e?void 0:e.startsWith("1"))&&void 0!==t&&t}),n.end()}},[O,r,v,s,d]),null!=O?O:d}},757114:function(e,t,r){r.d(t,{A:function(){return u}});var n,o=r(543790);function i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=(i(n={},o.Z.hellofresh,"BRAND_HELLOFRESH"),i(n,o.Z.everyplate,"BRAND_EVERYPLATE"),i(n,o.Z.chefsplate,"BRAND_CHEFS_PLATE"),i(n,o.Z.greenchef,"BRAND_GREEN_CHEF"),i(n,o.Z.factor,"BRAND_FACTOR75"),i(n,o.Z.goodchop,"BRAND_GOOD_CHOP"),i(n,o.Z.youfoodz,"BRAND_YOUFOODZ"),i(n,o.Z.petstable,"BRAND_THEPETSTABLE"),n)},929037:function(e,t,r){r.r(t);var n=r(687800);function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}r(827378),t.default=function(e){var t=e.title,r=e.titleId,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["title","titleId"]);return(0,n.BX)("svg",i(o(i(o({width:"1.5rem",height:"1.5rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:t?"img":"graphics-symbol",color:"inherit","aria-hidden":!t},!t&&{focusable:!1}),{"aria-labelledby":r}),u),{children:[t?(0,n.tZ)("title",{id:r,children:t}):null,(0,n.tZ)("path",{d:"M2 2h10v2H4v16h16v-8h2v10H2V2Z",fill:"currentColor"}),(0,n.tZ)("path",{d:"M18.538 4H15V2h7v7h-2V5.367l-7.385 7.385-1.414-1.415L18.538 4Z",fill:"currentColor"})]}))}},563359:function(e,t,r){r.r(t);var n=r(687800);function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}r(827378),t.default=function(e){var t=e.title,r=e.titleId,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["title","titleId"]);return(0,n.BX)("svg",i(o(i(o({width:"1.5rem",height:"1.5rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:t?"img":"graphics-symbol",color:"inherit","aria-hidden":!t},!t&&{focusable:!1}),{"aria-labelledby":r}),u),{children:[t?(0,n.tZ)("title",{id:r,children:t}):null,(0,n.tZ)("path",{d:"m16.521 16.846 2.64-4.799-1.318-.706-1.862 3.386-1.067-.69-.823 1.237 2.43 1.572Z",fill:"currentColor"}),(0,n.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22 6.484 12 1 2 6.484v11.032L12 23l10-5.484V6.484ZM12 10.87 5.06 7.065 12 3.258l6.94 3.807L12 10.87Zm1 1.71 7-3.839v7.613l-7 3.838v-7.612Zm-2 0L4 8.742v7.613l7 3.838v-7.612Z",fill:"currentColor"})]}))}},986274:function(e,t,r){r.r(t);var n=r(687800);function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{},n=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}
1))),n.forEach(function(t){var n;n=r[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function i(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e}r(827378),t.default=function(e){var t=e.title,r=e.titleId,u=function(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(e,["title","titleId"]);return(0,n.BX)("svg",i(o(i(o({width:"1.5rem",height:"1.5rem",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",role:t?"img":"graphics-symbol",color:"inherit","aria-hidden":!t},!t&&{focusable:!1}),{"aria-labelledby":r}),u),{children:[t?(0,n.tZ)("title",{id:r,children:t}):null,(0,n.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 5h2.135l2.467 14h1.584a2.01 2.01 0 0 0-.264 1c0 1.105.884 2 1.974 2 1.09 0 1.974-.895 1.974-2a2.01 2.01 0 0 0-.264-1h4.477a2.01 2.01 0 0 0-.264 1c0 1.105.883 2 1.974 2 1.09 0 1.974-.895 1.974-2a2.01 2.01 0 0 0-.264-1h1.25v-2H8.256l-.352-2h11.775L22 5H6.14l-.352-2H2v2Zm4.493 2 1.057 6h10.564l1.393-6H6.494Z",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.