PageSourceSearch

https://www.hellofresh.de/_next/static/chunks/pages/cancel-account-d93273842b2f1cdd.js

js hellofresh.de collected 2026-09-25 23:37:26 UTC 38,770 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[40753,168],{345774:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/cancel-account",function(){return n(34648)}])},747012:function(e,t,n){"use strict";n.d(t,{Sj:function(){return b},h5:function(){return f},rm:function(){return y}});var r,o,i=n(671718),c=n(26124),a=n(447178),l=n(456552),u=n(699219),s=n(140224);function d(e,t,n,r,o,i,c){try{var a=e[i](c),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(r,o)}function p(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}var f=(r=function(e,t){var n,r,o,c,a,l,u,s,d,f,b,y,m,h,g,v,O=arguments;return function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=t.call(e,c)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}(this,function(Z){switch(Z.label){case 0:n=O.length>2&&void 0!==O[2]?O[2]:i.Z,r=e.postcode,c=void 0===(o=e.numDeliveries)?4:o,a=e.locale,l=e.systemCountry,u=e.parentSpan,s=e.initialOrder,d=e.customerPriority,f=e.cutoffTimeThreshold,b=e.customerJourney,y=e.customerUUID,m=e,h=e,m.family&&(g=m.family),h.product&&(v=h.product),Z.label=1;case 1:return Z.trys.push([1,3,,4]),[4,n("/api/delivery_dates_options",t,{query:p({zip:r,numDeliveries:c,locale:a,country:l},g?{family:g}:{},v?{product:v}:{},s?{initialOrder:s}:{},d?{customerPriority:d}:{},f?{cutoffTimeThreshold:f}:{},b?{customerJourney:b}:{}),parentSpan:u,headers:p({},y?{"X-Customer-UUID":y}:{}),fetchSpanAttributes:{"request.backend_service":"delivery-options-service","request.backend_action":"get-delivery-options-by-postcode"}})];case 2:return[2,Z.sent().json()];case 3:throw Z.sent();case 4:return[2]}})},o=function(){var e=this,t=arguments;return new Promise(function(n,o){var i=r.apply(e,t);function c(e){d(i,n,o,c,a,"next",e)}function a(e){d(i,n,o,c,a,"throw",e)}c(void 0)})},function(e,t){return o.apply(this,arguments)}),b=function(e,t){var n=p({},e,(0,s.O)()),r=[u.Z["delivery-options.byPostcode"],n];return(0,c.Z)(r,function(e){return f(n,r,e)},t)},y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=(0,a.Z)().fetch,n=(0,s.O)();return(0,l.useQueries)(null==e?void 0:e.map(function(e,r){var o,i,c=(o=p({},e,n),i=i={key:r},Object.getOwnPropertyDescriptors?Object.defineProperties(o,Object.getOwnPropertyDescriptors(i)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n})(Object(i)).forEach(function(e){Object.defineProperty(o,e,Object.getOwnPropertyDescriptor(i,e))}),o),a=[u.Z["delivery-options.byPostcode.multiple"],c];return{queryKey:a,queryFn:function(){return f(c,a,t)},enabled:!!e.postcode}}))}},42208:function(e,t,n){"use strict";n.d(t,{kL:function(){return u},wM:function(){return a},wk:function(){return l}});var r=n(892940),o=r.z.object({id:r.z.string(),name:r.z.string(),handle:r.z.string(),legacy_handles:r.z.array(r.z.string()),legacy_ids:r.z.array(r.z.string()),country:r.z.string(),specs:r.z.object({meals:r.z.union([r.z.number(),r.z.string()]),size:r.z.union([r.z.number(),r.z.string()]),recurrency:r.z.number().int()}).passthrough(),meal_swap:r.z.boolean(),meal_swap_default_choice:r.z.string(),swappable_meals:r.z.string(),public:r.z.boolean(),active:r.z.boolean(),is_subscribable:r.z.boolean(),is_available_for_extra_meals:r.z.boolean(),is_preset_enabled:r.z.boolean(),sort:r.z.number().int(),family:r.z.string(),created_at:r.z.string(),updated_at:r.z.string()}).passthrough(),i=r.z.object({total:r.z.number().int(),take:r.z.number().int(),skip:r.z.number().int(),count:r.z.number().int(),items:r.z.array(o)}).passthrough(),c=r.z.object({id:r.z.string(),country:r.z.string(),handle:r.z.string(),name:r.z.string(),headline:r.z.string(),contents:r.z.object({benefits:r.z.string(),price:r.z.string(),price_unit:r.z.string(),price_label:r.z.string(),price_sidenote:r.z.string(),small_print:r.z.string(),image:r.z.string(),fb_url:r.z.string(),description:r.z.string()}).passthrough(),template:r.z.object({meals:r.z.array(r.z.any()),size:r.z.array(r.z.any()),recurrency:r.z.array(r.z.any())}).passthrough(),tags:r.z.array(r.z.string()),prefix:r.z.string(),promotes:r.z.array(r.z.any()),icons:r.z.object({"1x":r.z.string(),"2x":r.z.string(),"3x":r.z.string()}).passthrough(),active:r.z.boolean(),compatible:r.z.array(r.z.string()),converts:r.z.string(),auto_convert:r.z.string(),recipe_family:r.z.string(),show_mobile:r.z.boolean(),sort:r.z.number().int(),created_at:r.z.string(),updated_at:r.z.string()}).passthrough(),a=r.z.object({total:r.z.number().int(),take:r.z.number().int(),skip:r.z.number().int(),count:r.z.number().int(),items:r.z.array(c)}).passthrough(),l=i,u=o},650603:function(e,t,n){"use strict";n.d(t,{Cp:function(){return k}});var r=n(687800);n(827378);var o=n(165218),i=n.n(o),c=n(768587),a=n(313954),l=n(43011),u=n(602307),s=n(169821),d=n(184883),p=n(493757),f=n(506685),b=n(430959),y=n(132021),m=n(763724),h=n(377380),g=n(589902),v=n(694414),O=n(389073),Z=n(52566),w=n(481248);function j(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 P(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}
1)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var x=i()(function(){return Promise.all([n.e(40412),n.e(46045),n.e(35919)]).then(n.bind(n,635919)).then(function(e){return e.LeadBarFeature})},{loadableGenerated:{webpack:()=>[635919]}}),_=i()(function(){return Promise.all([n.e(40412),n.e(15863),n.e(50883)]).then(n.bind(n,875536)).then(function(e){return e.FooterFeature})},{loadableGenerated:{webpack:()=>[875536]}}),z="56px",S=function(e){var t,n=e.enableSSRCustomerHeader,o=e.nonStickyDesktopHeader,i=e.disableHeader,y=e.disableFooter,m=e.disableMinHeight,j=e.headerFullWidth,P=e.ssrPayload,S=e.children,k=(0,l.Z)();return(0,r.tZ)(u.Z,{claim:{name:"activations-rte",githubTeam:"hellofresh/activations-rte",tribe:"conversions",alliance:"growth",jiraPrefix:"USCRO",slackChannel:"#squad-curation",slackAlertsChannel:"#squad-curation",skipLabelsOnPR:!1,teamIdentifier:"activations-rte"},children:(0,r.tZ)(d.Z,{scope:"universal-layout",children:(0,r.tZ)(a.Z,{componentName:"universal-layout",children:(0,r.tZ)(b.Z,{filtrationIdentifier:null!==(t=null==P?void 0:P.filtrationIdentifier)&&void 0!==t?t:"",children:(0,r.BX)(c.xu,{position:"relative","data-test-id":"universal-layout",backgroundColor:"alias.page-background.alternative",children:[(0,r.tZ)(d.Z,{scope:"layouts-universal-top-banner",children:(0,r.tZ)(a.Z,{componentName:"layouts-universal-top-banner",children:(0,r.tZ)(p.Z,{children:(0,r.tZ)(s.Z,{suspense:!0,children:(0,r.tZ)(f.Z,{})})})})}),!(void 0!==i&&i)&&(0,r.tZ)(d.Z,{scope:"layouts-universal-header",children:(0,r.BX)(a.Z,{componentName:"layouts-universal-header",children:[(0,r.tZ)(w.Z,{}),(0,r.tZ)(Z.D9,{fullWidth:void 0!==j&&j,children:(0,r.tZ)(c.xu,{position:["sticky",void 0!==o&&o?"relative":"sticky"],top:"0",zIndex:"115",minHeight:z,"data-test-id":"universal-layout-header-container",children:(0,r.tZ)(h.ZP,{queryKey:P.contentfulHeaderEntriesKey,children:void 0!==n&&n||k?(0,r.tZ)(O.default,{}):(0,r.tZ)(v.Z,{})})})})]})}),(0,r.tZ)(a.Z,{componentName:"layouts-universal-page",children:(0,r.tZ)(c.xu,{flex:"1",minHeight:void 0!==m&&m?"unset":"100vh",children:S})}),!(void 0!==y&&y)&&(0,r.tZ)(d.Z,{scope:"layouts-universal-footer",children:(0,r.BX)(a.Z,{componentName:"layouts-universal-footer",children:[(0,r.tZ)(x,{}),(0,r.tZ)(g.ZP,{queryKey:P.contentfulFooterEntriesKey,children:(0,r.tZ)(_,{})})]})})]})})})})})},k=function(e){var t=e.navigationComponent,n=e.children,o=e.disableHeader,i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["navigationComponent","children","disableHeader"]);return(0,r.tZ)(u.Z,{claim:{name:"activations-rte",githubTeam:"hellofresh/activations-rte",tribe:"conversions",alliance:"growth",jiraPrefix:"USCRO",slackChannel:"#squad-curation",slackAlertsChannel:"#squad-curation",skipLabelsOnPR:!1,teamIdentifier:"activations-rte"},children:(0,r.tZ)(d.Z,{scope:"side-navigation-universal-layout",children:(0,r.tZ)(a.Z,{componentName:"layouts-universal-side-navigation",children:(0,r.BX)(S,P(j({},i),{disableHeader:o,children:[(0,r.tZ)(c.xu,P(j({position:"sticky",zIndex:2},!o&&{top:z}),{children:(0,r.tZ)(d.Z,{scope:"layouts-universal-notifications",children:(0,r.tZ)(a.Z,{componentName:"layouts-universal-notifications",children:(0,r.tZ)(y.Z,{children:(0,r.tZ)(m.Z,{})})})})})),(0,r.BX)(c.xu,{minHeight:"100vh",display:[null,"flex"],maxWidth:["100%","960px","1144px"],px:["xs","md-1","zero"],mx:"auto",pt:["sm-1","md-2"],children:[(0,r.tZ)(c.xu,{as:"aside",width:[1,1/4],mr:["zero","md-1","md-2"],children:t}),(0,r.tZ)(c.xu,{width:[1,3/4],children:n})]})]}))})})})};t.ZP=S},377380:function(e,t,n){"use strict";n.d(t,{yY:function(){return u}});var r=n(687800),o=n(827378),i=n(456552),c=n(497249),a=n(344884),l=(0,o.createContext)({segment:[],label:[]}),u=function(){return(0,o.useContext)(l)};t.ZP=function(e){var t=e.queryKey,n=e.children,u=(0,i.useQueryClient)(),s=(0,c.T)(),d=(0,o.useMemo)(function(){var e,n,r=u.getQueryData(t);return{segment:null!==(e=null==r?void 0:r.segment)&&void 0!==e?e:[],label:null!==(n=null==r?void 0:r.label)&&void 0!==n?n:[]}},[u,t]);return(0,o.useEffect)(function(){if(!d.segment.length||!d.label.length){var e=s.startSpan("contentful-header-prov
1ider.missing-data");e.setAttributes({segmentCount:d.segment.length,labelCount:d.label.length}),e.setStatus({code:a.Z.ERROR}).end()}},[d,s]),(0,r.tZ)(l.Provider,{value:d,children:n})}},34648:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return eD},default:function(){return eC}});var r,o,i,c=n(687800),a=n(827378),l=n(631540),u=n(184883),s=n(650603),d=n(31748),p=n(581340),f=n(546252),b=n(188038),y=n.n(b),m=function(){return(0,c.tZ)(y(),{children:(0,c.tZ)("style",{id:"cancel-account-global-style",dangerouslySetInnerHTML:{__html:"\n      @media print {\n        #header-particle, #footer-particle, button[class], a[class]{ display: none; }\n\n        * {\n          box-shadow: none !important;\n        }\n      }\n    "}})})},h=function(e){var t=e.children;return(0,c.BX)(c.HY,{children:[(0,c.tZ)(m,{}),(0,c.tZ)(f.Z,{as:"main",pt:"lg",maxWidth:"752px",margin:"0 auto",children:t})]})},g=n(768587),v=n(807947),O=n(26730),Z=n(200770);function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function j(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){w(e,t,n[t])})}return e}function P(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 x=w({DEFAULT:{bannerImageURL:"https://cdn.hellofresh.com/gb/cms/SEO/Business%20KWs/Su-HF_LP_Veggie_header_Desktop_new_UK.jpg",titleColor:"primary.700"}},O.Z.TZ,{bannerImageURL:"https://media.hellofresh.com/w_2200,q_100,f_auto,c_limit,fl_lossy/hellofresh_website/tz/assets/terms-and-conditions-lg.jpg",titleColor:"neutral.700"}),_=function(){var e=x[(0,Z.Z)()]||x.DEFAULT,t=e.bannerImageURL,n=e.titleColor;return(0,c.tZ)(g.xu,{backgroundImage:"url(".concat(t,")"),backgroundPosition:"center",backgroundSize:"cover",minHeight:"450px",display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",px:["md-1","xxl"],children:(0,c.BX)(g.xu,{maxWidth:["100%","350px"],textAlign:"center",children:[(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.banner.headline",render:function(e,t){return(0,c.tZ)(g.xv,P(j({mb:"md-1",as:"h2",color:n},t),{children:e}))}}),(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.banner.subline1",render:function(e,t){return(0,c.tZ)(g.xv,P(j({mb:"md-1",type:"body-md-regular",color:"neutral.800"},t),{children:e}))}}),(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.banner.subline2",render:function(e,t){return(0,c.tZ)(g.xv,P(j({mb:"md-1",type:"body-md-regular",color:"neutral.800"},t),{children:e}))}})]})})},z=n(143283),S=n(290713),k=function(e){var t=e.children;return(0,c.tZ)(f.Z,{my:"md",children:(0,c.tZ)(S.Z,{shadow:"sm",children:(0,c.tZ)(f.Z,{p:"30px",children:t})})})},I=n(318066),D=function(){return(0,c.tZ)(I.ZP,{role:"presentation",alt:"",fetchFormat:"svg",width:100,height:100,src:"/hellofresh_website/illustrations/box-discount.svg"})};function C(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var T=(C(i={DEFAULT:{showForm:!0,loginLinkRedirectURLParam:void 0,redirectToCancellationIfUserIsLoggedIn:!1,productOptions:{people:[2,3,4],meals:[2,3,4,5]}}},O.Z.DE,{showForm:!0,productOptions:{people:[2,3,4],meals:[2,3,4,5]}}),C(i,O.Z.FR,{showForm:!1,redirectToCancellationIfUserIsLoggedIn:!0,loginLinkRedirectURLParam:"/cancellation"}),C(i,O.Z.TZ,{showForm:!0}),i),E=function(){return T[(0,Z.Z)()]||T.DEFAULT};function N(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 B(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}
1)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var H=function(){var e=E(),t=e.loginLinkRedirectURLParam?"?redirectUrl=".concat(encodeURIComponent(e.loginLinkRedirectURLParam)):"";return(0,c.tZ)(k,{children:(0,c.tZ)(f.Z,{mt:"md",px:[0,"lg"],textAlign:"center",children:(0,c.BX)(f.Z,{display:"flex",flex:"1 1 0",mb:"sm",children:[(0,c.tZ)(f.Z,{my:["xs","0"],mx:"xs",children:(0,c.tZ)(D,{})}),(0,c.tZ)(f.Z,{my:["xs","0"],flex:"1 1 0",mx:"xs",children:(0,c.BX)(f.Z,{children:[(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.login.title",render:function(e,t){return(0,c.tZ)(g.xv,B(N({as:"h3",color:"neutral.800"},t),{children:e}))}}),(0,c.tZ)(f.Z,{mt:"sm",children:(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.login.description",render:function(e,t){return(0,c.tZ)(g.xv,B(N({color:"neutral.800"},t),{children:e}))}})}),(0,c.tZ)(f.Z,{mt:"sm",children:(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.login.cta",render:function(e,n){return(0,c.tZ)(z.Z,B(N({as:"a"},n),{href:"/login".concat(t),children:e}))}})})]})})]})})})},X=n(680199),L=n.n(X),q=n(221745),R=n.n(q),K=n(164528),U=n(877520),A=n(90295),F="cancel-form-validation-error",M=function(){var e=(0,(0,K.ZP)("cancellation").translateRaw)("cancellation.cancel-account.form.validation.error"),t=(0,a.useCallback)(function(){return"scrollBehavior"in document.documentElement.style?window.scrollTo({behavior:"smooth",top:0}):window.scrollTo(0,0)},[]);return{triggerValidationNotification:(0,a.useCallback)(function(){var t=U.ZP.create(e,F,{type:U.k$.error,delayedDismiss:!0,overrideId:F});(0,A.wN)(t)},[e]),scrollToTop:t}},Y=n(958042),V=n(295332),W=n(384949),G=n(887824),Q=n(456552),J=n(671718),$=n(447178),ee=n(140224),et=n(699219);function en(e,t,n,r,o,i,c){try{var a=e[i](c),l=a.value}catch(e){n(e);return}a.done?t(l):Promise.resolve(l).then(r,o)}var er=(r=function(e,t){var n,r,o=arguments;return function(e,t){var n,r,o,i,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(n)throw TypeError("Generator is already executing.");for(;c;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return c.label++,{value:i[1],done:!1};case 5:c.label++,r=i[1],i=[0];continue;case 7:i=c.ops.pop(),c.trys.pop();continue;default:if(!(o=(o=c.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){c=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){c.label=i[1];break}if(6===i[0]&&c.label<o[1]){c.label=o[1],o=i;break}if(o&&c.label<o[2]){c.label=o[2],c.ops.push(i);break}o[2]&&c.ops.pop(),c.trys.pop();continue}i=t.call(e,c)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}}(this,function(i){switch(i.label){case 0:return n=o.length>2&&void 0!==o[2]?o[2]:J.Z,r=e.parentSpan,[4,n("/customer-benefits/subscription-cancellation/loginless",t,{method:"POST",headers:{"Content-Type":"application/json"},data:function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["parentSpan"]),parentSpan:r,fetchSpanAttributes:{"request.backend_service":"customer-benefits-service","request.backend_action":"subscription-cancellation-loginless"}})];case 1:return i.sent(),[2]}})},o=function(){var e=this,t=arguments;return new Promise(function(n,o){var i=r.apply(e,t);function c(e){en(i,n,o,c,a,"next",e)}function a(e){en(i,n,o,c,a,"throw",e)}c(void 0)})},function(e,t){return o.apply(this,arguments)}),eo=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,$.Z)().fetch,n=(0,ee.O)(),r=n.locale,o=n.systemCountry,i=[et.Z["cancel-account.submit-request"]];return(0,Q.useMutation)(function(e){return er(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){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}({locale:r,country:o},e),i,t)},e)},ei=function(e){var t=e.children;return(0,c.tZ)(g.xu,{my:"md-1",children:(0,c.tZ)(f.Z,{display:["inline","flex"],flex:"1 1 0",children:t})})},ec=function(e){var t=e.children;return(0,c.tZ)(f.Z,{my:["md","0"],flex:"1 1 0",mx:"xs",children:t})},ea=function(){var e=E(),t=(0,K.ZP)("cancellation").translateRaw;return(0,a.useMemo)(function(){var n;return null===(n=e.productOptions)||void 0===n?void 0:n.meals.flatMap(function(n){var r,o,i,c,a=t("cancellation.n-meals",{number:n});return(null===(o=e.productOptions)||void 0===o?void 0:null===(r=o.people)||void 0===r?void 0:r.length)?null===(c=e.productOptions)||void 0===c?void 0:null===(i=c.people)||void 0===i?void 0:i.map(function(e){return a.concat(" x ".concat(t("cancellation.n-people",{number:e})))}):a})},[e.productOptions,t])};function el(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eu(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){el(e,t,n[t])})}return e}function es(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}
1)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var ed=function(e){return"".concat(e.label).concat(e.required?" *":"")},ep=function(e){var t=e.data,n=e.onChange,r=ea(),o=function(e){return function(r){n(el({},e,es(eu({},t[e]),{value:r.currentTarget.value})))}};return(0,c.BX)(c.HY,{children:[(0,c.tZ)(g.xu,{textAlign:"center",marginTop:"global.md-2",children:(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.banner.subline3",render:function(e,t){return(0,c.tZ)(g.xv,es(eu({type:"body-sm-regular",color:"neutral.600"},t),{children:e}))}})}),(0,c.BX)(ei,{children:[(0,c.tZ)(ec,{children:(0,c.tZ)(g.NI,{labelText:ed(t.customer_id_provided),children:(0,c.tZ)(g.NI.TextInput,{value:t.customer_id_provided.value,onChange:o("customer_id_provided")})})}),(0,c.tZ)(ec,{})]}),(0,c.BX)(ei,{children:[(0,c.tZ)(ec,{children:(0,c.tZ)(g.NI,{labelText:ed(t.first_name),children:(0,c.tZ)(g.NI.TextInput,{value:t.first_name.value,onChange:o("first_name")})})}),(0,c.tZ)(ec,{children:(0,c.tZ)(g.NI,{labelText:ed(t.last_name),children:(0,c.tZ)(g.NI.TextInput,{value:t.last_name.value,onChange:o("last_name")})})})]}),(0,c.tZ)(ei,{children:(0,c.tZ)(ec,{children:(0,c.tZ)(g.NI,{labelText:ed(t.address),children:(0,c.tZ)(g.NI.TextInput,{value:t.address.value,onChange:o("address")})})})}),(0,c.BX)(ei,{children:[(0,c.tZ)(ec,{children:(0,c.tZ)(g.NI,{labelText:ed(t.postcode),children:(0,c.tZ)(g.NI.TextInput,{value:t.postcode.value,onChange:o("postcode")})})}),(0,c.tZ)(ec,{children:(0,c.tZ)(g.NI,{labelText:ed(t.city),children:(0,c.tZ)(g.NI.TextInput,{value:t.city.value,onChange:o("city")})})})]}),(0,c.tZ)(ei,{children:(0,c.tZ)(ec,{children:(0,c.tZ)(g.NI,{labelText:ed(t.email),children:(0,c.tZ)(g.NI.TextInput,{type:"email",value:t.email.value,onChange:o("email")})})})}),!!(null==r?void 0:r.length)&&(0,c.tZ)(ei,{children:(0,c.tZ)(ec,{children:(0,c.tZ)(g.Lt,{list:(null==r?void 0:r.map(function(e){return{listValue:e}}))||[],labelText:ed(t.product_name),handleSelectedItemChange:function(e){var r;"string"==typeof(null===(r=e.selectedItem)||void 0===r?void 0:r.listValue)&&n({product_name:es(eu({},t.product_name),{value:e.selectedItem.listValue})})}})})}),(0,c.tZ)(ei,{children:(0,c.tZ)(ec,{children:(0,c.tZ)(g.NI,{labelText:ed(t.submitted_at),children:(0,c.tZ)(g.NI.TextInput,{value:t.submitted_at.value,onChange:o("submitted_at")})})})}),(0,c.tZ)(ei,{children:(0,c.tZ)(ec,{children:(0,c.tZ)(g.NI,{labelText:ed(t.cancelation_reason),children:(0,c.tZ)(g.NI.TextInput,{maxLength:140,value:t.cancelation_reason.value,onChange:o("cancelation_reason")})})})})]})},ef=n(355342),eb=function(e){var t=e.data;return(0,c.tZ)(f.Z,{mb:"md",children:["customer_id_provided","first_name","last_name","address","postcode","city","email","product_name","submitted_at","cancelation_reason"].map(function(e,n){var r,o;return(0,c.BX)(f.Z,{mb:"lg",children:[(0,c.tZ)(ef.Z,{fontWeight:"bold",children:null===(r=t[e])||void 0===r?void 0:r.label}),(0,c.tZ)(ef.Z,{color:"neutral-600",children:(null===(o=t[e])||void 0===o?void 0:o.value)||"--"})]},"cancel-form-field-".concat(n))})})},ey=n(877078),em=function(e){var t=e.children;return(0,c.BX)(f.Z,{display:"flex",flex:"1 1 0",mb:"sm",children:[(0,c.tZ)(f.Z,{my:["xs","0"],mx:"xs",children:(0,c.tZ)(ey.Z,{size:"16px",color:"primary-600"})}),(0,c.tZ)(f.Z,{my:["xs","0"],flex:"1 1 0",mx:"xs",children:(0,c.tZ)(ef.Z,{fontSize:"md",color:"neutral-800",children:t})})]})},eh=function(){return(0,c.tZ)(k,{children:(0,c.BX)(f.Z,{children:[(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.information.title",render:function(e,t){var n,r;return(0,c.tZ)(g.xv,(n=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){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}({as:"h3",color:"neutral.800"},t),r=r={children:e},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n.push.apply(n,r)}return n}
1)(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n))}}),(0,c.BX)(f.Z,{mt:"md",children:[(0,c.tZ)(em,{children:(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.information.item-1"})}),(0,c.tZ)(em,{children:(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.information.item-2"})}),(0,c.tZ)(em,{children:(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.information.item-3"})})]})]})})},eg=function(){return(0,c.tZ)(I.ZP,{role:"presentation",alt:"",fetchFormat:"svg",width:100,height:100,src:"/hellofresh_website/illustrations/calendar-woman-add-date.svg"})};function ev(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 eO(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 eZ=function(e){var t=e.date;return(0,c.BX)(c.HY,{children:[(0,c.BX)(f.Z,{textAlign:"center",mb:"xs",mx:"md",children:[(0,c.tZ)(f.Z,{mb:"sm",children:(0,c.tZ)(eg,{})}),(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.confirmation.title",params:{date:t},render:function(e,t){return(0,c.tZ)(g.xv,eO(ev({as:"h3",color:"neutral.800"},t),{children:e}))}})]}),(0,c.tZ)(f.Z,{textAlign:"center",mb:"md",mx:"md",children:(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.confirmation.description",params:{date:t},render:function(e,t){return(0,c.tZ)(g.xv,eO(ev({color:"neutral.800"},t),{children:e}))}})})]})};function ew(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 ej(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eP(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){ej(e,t,n[t])})}return e}function ex(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}function e_(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],c=!0,a=!1;try{for(o=o.call(e);!(c=(n=o.next()).done)&&(i.push(n.value),!t||i.length!==t);c=!0);}catch(e){a=!0,r=e}finally{try{c||null==o.return||o.return()}finally{if(a)throw r}}return i}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ew(e,t);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 ew(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 ez=function(){var e=(0,K.ZP)("cancellation").translateRaw,t=(0,G.Z)().push,n=(0,p.t)().push,r=eo().mutate,o=(0,Y.Z)(),i=M(),l=i.triggerValidationNotification,u=i.scrollToTop,s=ea(),d=e_((0,a.useState)({customer_id_provided:{label:e("cancellation.cancel-account.form.customerId"),value:"",required:!0},first_name:{label:e("cancellation.cancel-account.form.firstName"),value:"",required:!0},last_name:{label:e("cancellation.cancel-account.form.lastName"),value:"",required:!0},address:{label:e("cancellation.cancel-account.form.address"),value:"",required:!0},postcode:{label:e("cancellation.cancel-account.form.postcode"),value:"",required:!0},city:{label:e("cancellation.cancel-account.form.city"),value:"",required:!0},email:{label:e("cancellation.cancel-account.form.email"),value:"",required:!0},product_name:{label:e("cancellation.cancel-account.form.productName"),value:"",required:!!(null==s?void 0:s.length)},submitted_at:{label:e("cancellation.cancel-account.form.date"),value:"",required:!1},cancelation_reason:{label:e("cancellation.cancel-account.form.cancellation-reason"),value:"",required:!1}}),2),f=d[0],b=d[1],y=e_((0,a.useState)(),2),m=y[0],h=y[1],O=e_((0,a.useState)("form"),2),Z=O[0],w=O[1],j=function(){var e,n=new Date(null===(e=f.submitted_at)||void 0===e?void 0:e.value),o=L()(R()(n)?n:Date.now(),"YYYY-MM-DD[T]HH:mm:ss.SSSZ"),i=ex(eP({},Object.keys(f).reduce(function(e,t){var n;return ex(eP({},e),ej({},t,null===(n=f[t])||void 0===n?void 0:n.value))},{})),{submitted_at:o});h(new Date(o)),r(i),t({event_name:"Cancel_Account_FormSubmit",gaEventAction:"FormSubmit"}),w("confirmation")},P=function(){var e,t;(t=window)&&"undefined"!=typeof Symbol&&t.constructor,null===(e=window)||void 0===e||e.print()},x=function(){return n({pathname:"/login",query:{redirectUrl:"/my-account/deliveries/menu"}})},_=function(){l(),u()},z=function(){Object.keys(f).filter(function(e){return f[e].required}).reduce(function(e,t){return""!==f[t].value&&e},!0)?j():_()};return(0,c.BX)(c.HY,{children:["form"===Z&&(0,c.BX)(c.HY,{children:[(0,c.tZ)(H,{}),(0,c.tZ)(eh,{}),(0,c.BX)(k,{children:[(0,c.tZ)(g.xu,{pb:"md-1",children:(0,c.tZ)(ep,{data:f,onChange:function(e){return b(eP({},f,e))}})}),(0,c.BX)(g.xu,{display:"flex",flexDirection:["column","row"],justifyContent:"space-around",px:"xs",children:[(0,c.tZ)(g.xu,{flex:"1 1 0",mx:"xs",mb:["sm-1","zero"],children:(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.form.back",render:function(e,t){return(0,c.tZ)(g.zx.Primary,ex(eP({size:"lg",onClick:x},t),{children:e}))}})}),(0,c.tZ)(g.xu,{flex:"1 1 0",mx:"xs",children:(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.form.cta",render:function(e,t){return(0,c.tZ)(g.zx.Primary,ex(eP({size:"lg",onClick:z},t),{children:e}))}})})]}),(0,c.tZ)(g.xu,{mt:"md-1",textAlign:"center",children:(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.form.cta.description",render:function(e,t){return(0,c.tZ)(g.xv,ex(eP({type:"body-sm-regular",color:"neutral.600"},t),{children:e}))}})})]})]}
1),"confirmation"===Z&&(0,c.BX)(c.HY,{children:[(0,c.tZ)(eZ,{date:(0,V.Z)(m,"".concat(W.Si[o][W.Ob]," ").concat(W.Si[o][W.Ti]))}),(0,c.BX)(k,{children:[(0,c.tZ)(eb,{data:f}),(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.confirmation.cta",render:function(e,t){return(0,c.tZ)(g.zx.Primary,ex(eP({size:"lg",onClick:function(){return P()}},t),{children:e}))}}),(0,c.tZ)(g.xu,{mt:"md-1",textAlign:"center",children:(0,c.tZ)(v.Z,{group:"cancellation",applangaKey:"cancellation.cancel-account.confirmation.cta.description",render:function(e,t){return(0,c.tZ)(g.xv,ex(eP({type:"body-sm-regular",color:"neutral.600"},t),{children:e}))}})})]})]})]})},eS=n(43011),ek=function(){var e=(0,p.t)(),t=E(),n=(0,eS.Z)();return a.useEffect(function(){t.redirectToCancellationIfUserIsLoggedIn&&n&&e.push("/cancellation")},[t.redirectToCancellationIfUserIsLoggedIn,n,e]),(0,c.BX)(c.HY,{children:[(0,c.tZ)(_,{}),(0,c.tZ)(h,{children:t.showForm?(0,c.tZ)(ez,{}):(0,c.tZ)(c.HY,{children:(0,c.tZ)(H,{})})})]})},eI=function(){return(0,c.tZ)(l.Z,{values:{screen:"Cancel Without Login"},children:(0,c.BX)(u.Z,{scope:"cancel-non-logged-in",children:[(0,c.tZ)(d.Z,{}),(0,c.tZ)(ek,{})]})})};eI.customLayout=s.ZP;var eD=!0,eC=eI},125846:function(e,t,n){"use strict";n.r(t);var r=n(687800);function o(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 i(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.default=function(e){var t=e.title,n=e.titleId,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["title","titleId"]);return(0,r.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":n}),c),{children:[t?(0,r.tZ)("title",{id:n,children:t}):null,(0,r.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M19 6h-3a4 4 0 0 0-8 0H5L4 22h16L19 6ZM8 8v2h2V8h4v2h2V8h1.121l.75 12H6.13l.75-12H8Zm6-2h-4a2 2 0 1 1 4 0Z",fill:"currentColor"})]}))}},299446:function(e,t,n){"use strict";n.r(t);var r=n(687800);function o(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 i(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.default=function(e){var t=e.title,n=e.titleId,c=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["title","titleId"]);return(0,r.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":n}),c),{children:[t?(0,r.tZ)("title",{id:n,children:t}):null,(0,r.tZ)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.4 6 8 3h8l.6 3H21v13h-2a2 2 0 1 1-4 0H9a2 2 0 1 1-4 0H3V6h4.4Zm2.04 0 .2-1h4.72l.2 1H9.44ZM19 17V8H5v9h14Z",fill:"currentColor"})]}))}},61355:function(){},107915:function(){}},function(e){e.O(0,[47057,38579,12737,8139,14206,44355,274,24613,47710,78526,30816,20264,20828,49660,57252,36060,74050,64944,56360,95851,7563,36152,29037,95325,45692,58351,89073,94414,92888,49774,40179],function(){return e(e.s=345774)}),_N_E=e.O()}]);

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.