(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4598],{86283:function(e,t,n){"use strict";n.r(t);var i,a,r,o,s,l,c=n(8529),d=n(7328),u=n(2784),p=n(41857),m=n(28885),g=n(92210),h=n(57194),v=n(11006),f=n(48840),y=n(87330),b=n(81292),x=n(51339),k=n(76910),P=n(83232),_=n(52322),N=v.zo.div(i||(i=(0,d.Z)(["\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n background: ",";\n"])),function(e){return e.theme.colors.palette.greys.white}),S=v.zo.h1(a||(a=(0,d.Z)(["\n margin: "," auto "," auto;\n ","\n"])),(0,f.W0)(7),(0,f.W0)(1),(0,y.xv)("large2","default")),w=v.zo.div(r||(r=(0,d.Z)(["\n margin-bottom: ",";\n padding: ",";\n max-width: 560px;\n text-align: center;\n ","\n"])),(0,f.W0)(4),(0,f.W0)(2),(0,y.xv)("bodyText","default")),O=(0,v.zo)(x.zx)(o||(o=(0,d.Z)(["\n max-width: 95%;\n width: 345px;\n margin-bottom: ",";\n\n "," {\n width: 425px;\n }\n"])),(0,f.W0)(10),function(e){return(0,b.mq)(e.theme.breakpointUtils.map,"lg")}),T=v.zo.div(s||(s=(0,d.Z)(["\n display: flex;\n flex-wrap: wrap;\n width: 100%;\n margin-bottom: ",";\n"])),(0,f.W0)(7)),j=v.zo.div(l||(l=(0,d.Z)(["\n width: 100%;\n display: flex;\n flex-direction: column;\n justify-content: space-around;\n text-align: center;\n margin-bottom: ",";\n & p {\n ","\n }\n & img {\n padding: 7px;\n }\n "," {\n width: 50%;\n margin-bottom: 36px;\n }\n "," {\n width: 33%;\n }\n"])),(0,f.W0)(7),(0,y.xv)("bodyText","alternate"),function(e){return(0,b.mq)(e.theme.breakpointUtils.map,"xs")},function(e){return(0,b.mq)(e.theme.breakpointUtils.map,"sm")}),L=function(e){var t=e.statusCode,n=u.useState([]),i=(0,c.Z)(n,1)[0],a=(0,p.By)(),r=a.currency,o=a.shippingDestination,s={title:"",description:"",buttonDescription:(0,m.ag)("pageunavailable.enterprise.button.description")};return 404===t?(s.title=I((0,m.ag)("pageunavailable.pagenotfound.text")),s.description=(0,m.ag)("pageunavailable.pagenotfound.details.text")):(s.title=I((0,m.ag)("pageunavailable.servererror.text")),s.description=(0,m.ag)("pageunavailable.servererror.details.text")),(0,_.jsxs)(N,{children:[(0,_.jsx)(S,{children:s.title}),(0,_.jsx)(w,{children:s.description}),i.length>0&&(0,_.jsx)(W,{categories:i}),(0,_.jsx)(O,{emphasis:"medium",renderedAs:"a",href:g.Z5.HomePage,children:s.buttonDescription}),404===t&&(0,_.jsx)(k.ComponentWidgetRenderer,{componentName:P.ComponentName.PAGE_UNAVAILABLE,currency:r,shippingDestination:o})]})},W=function(e){var t=e.categories;return(0,_.jsx)(T,{children:t.map(function(e,t){return(0,_.jsxs)(j,{children:[(0,_.jsx)("img",{src:e.src,alt:e.alt}),(0,_.jsxs)("p",{children:["Category ",t+1]})]},t)})})},I=function(e){return e.replace(/\./g,"")};L.Layout=h.K,L.getInitialProps=function(e){var t=e.res,n=e.err;return{statusCode:t?t.statusCode:n?n.statusCode:404}},t.default=L},14598:function(e,t,n){"use strict";n.r(t),n.d(t,{BreadcrumbsRendererWrapper:function(){return ed},__N_SSP:function(){return ec},default:function(){return ep}});var i,a,r,o,s,l,c,d,u=n(20406),p=n(95235),m=n(7328),g=n(82841),h=n.n(g),v=n(2784),f=n(2883),y=n(31035),b=n(88472),x=n(97729),k=n.n(x),P=n(17971),_=n(11006),N=n(48840),S=n(81292),w=n(76910),O=n(52322),T=((i={}).SHOW_WIDGET_IN_PRODUCT_LIST="showWidgetInProductList",i.SHOW_WIDGET_AFTER_PRODUCT_LIST="showWidgetAfterProductList",i),j=_.zo.li(r||(r=(0,m.Z)(["\n width: 100vw;\n max-width: 100vw;\n margin-left: calc(-50vw + 50%);\n margin-right: calc(-50vw + 50%);\n grid-column: 1 / -1;\n display: block;\n background-color: ",";\n margin-bottom: ",";\n "," {\n padding: ",";\n }\n"])),function(e){return e.theme.colors.palette.greys.lighter},(0,N.W0)(6),function(e){return(0,S.mq)(e.theme.breakpointUtils.map,"sm")},(0,N.W0)(2.5)),L=_.zo.li(o||(o=(0,m.Z)(["\n display: block;\n grid-column: span 2;\n margin-top: 0;\n"]))),W=function(e){return(0,O.jsx)(w.WidgetRenderer,{widgets:e,showWidgetItem:!0})},I=v.memo(function(e){var t=e.widgets,n=e.widgetDisplayLocation,i=e.index,a=n!==T.SHOW_WIDGET_IN_PRODUCT_LIST||4===i||8===i,r=v.useMemo(function(){return a?t.filter(function(e){return!0===e[n]}):[]},[t,n,a]);if(!a||0===r.length)return null;if(n===T.SHOW_WIDGET_IN_PRODUCT_LIST){var o=r.reduce(function(e,t){return"PromoCard"===t.__typename?e.promoWidgets.push(t):e.otherWidgets.push(t),e},{promoWidgets:[],otherWidgets:[]}),s=o.promoWidgets,l=o.otherWidgets;return 4===i&&s.length>0?(0,O.jsx)(v.Fragment,{children:s.map(function(e,t){return(0,O.jsx)(L,{children:W([e])},t)})}):8===i&&l.length>0?(0,O.jsx)(j,{children:W(l)}):null}return W(r)}),C=n(796),D=n(37608),F=n(28885),E=n(58406),R=n(41857),U=n(92210),A=n(73716),M=n(22182),Z=n(55065),G=n(57194),q=n(83232),z=n(12786),B=n(68552),H=n(41386),K=n(45611),V=n(93587),$=n(4626),J=n(28905),Q=n(45090),X=n(87330),Y=N.zo.div(s||(s=(0,m.Z)(["\n max-width: ",";\n margin: 0 auto;\n padding: "," "," 0;\n align-items: center;\n\n "," {\n padding: "," "," 0;\n }\n"])),function(e){return e.theme.site.siteWidth},(0,N.W0)(3),(0,N.W0)(2),function(e){return(0,S.mq)(e.theme.breakpointUtils.map,"sm")},(0,N.W0)(3),(0,N.W0)(4)),ee=N.zo.h1(l||(l=(0,m.Z)(["\n ",";\n margin: "," 0 "," 0;\n"])),(0,X.xv)("xlarge2","alternate"),(0,N.W0)(1),(0,N.W0)(2)),et=N.zo.p(c||(c=(0,m.Z)(["\n ",";\n margin: "," 0;\n padding-bottom: ","; ;\n"])),(0,X.xv)("bodyText","alternate"),(0,N.W0)(2),(0,N.W0)(2)),en=function(){var e={title:(0,F.ag)("content.listresults.noresultsfound.title"),subtitle:(0,F.ag)("content.listresults.noresultsfound.subtitle")};return(0,O.jsxs)(Y,{children:[(0,O.jsx)(ee,{"data-testid":"no-list-results-found-title",children:e.title}),(0,O.jsxs)(et,{children:[" ",e.subtitle]})]})},ei=n(33382),ea=n(86283);function er(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function eo(e){for(var t=1;t1?n.searchParams.set(V.vI.PAGE_NUMBER,t.pageNumber.toString()):n.searchParams.delete(V.vI.PAGE_NUMBER)),t.sort&&(n.searchParams.set(V.vI.SORT_ORDER,t.sort.toString()),n.searchParams.delete(V.vI.PAGE_NUMBER)),!t.facets){if(e.enableDataRefetchWithGetSSP){ex(n.search.slice(1));return}window.location.href=n.toString();return}ek(n,t.facets)},dataLayerMap:e.dataLayerMap||{},productWidgetItem:ev.inList})]})}),(0,O.jsx)(el,{widgets:e.componentWidgets||[],path:e.path,pageParams:e.pageParams}),ec&&(0,O.jsx)(v.Fragment,{children:ev.afterList()})]})]})};eu.Layout=G.K,eu.supportsConcessions=!0,eu.pageType=function(e,t){return e===U.Z5.HomePage?Z.G.HOME_PAGE:t.productList?Z.G.PRODUCT_LIST:Z.G.LANDING},eu.getConcessionCode=(a=(0,u.Z)(h().mark(function e(t,n){var i,a,r,o;return h().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=(i=t.req.horizonFeatures||[])&&i.includes(z.L0.Concessions)){e.next=3;break}return e.abrupt("return",void 0);case 3:if(null==i?void 0:i.includes(z.L0.Concessions)){e.next=6;break}return e.abrupt("return",void 0);case 6:if(!(!(a=(0,ei.cy)(t).path)||""===a)){e.next=9;break}return e.abrupt("return",void 0);case 9:if(!n){e.next=17;break}return e.next=12,n.query({query:J.h,variables:{pathName:a}});case 12:if(!(null!=(o=e.sent.data)&&null!==(r=o.page)&&void 0!==r&&null!==(r=r.concession)&&void 0!==r&&r.concessionCode)){e.next=16;break}return e.abrupt("return",o.page.concession.concessionCode);case 16:case 17:return e.abrupt("return",void 0);case 18:case"end":return e.stop()}},e)})),function(e,t){return a.apply(this,arguments)});var ep=eu},45090:function(e,t,n){"use strict";n.d(t,{Jp:function(){return s},Kb:function(){return l},Qy:function(){return c},kc:function(){return o}});var i=n(52746),a=n(92210),r=n(12786);n(41386);var o=function(e,t,n){var i={"v1|default_sort_relevance":r.yO.Relevance,"v2|default_sort_popularity":r.yO.Popularity}[null==t?void 0:t.web_default_sort],a=n&&Object.values(r.yO).includes(n);return e||(a?n:void 0)||i||r.yO.Relevance},s=function(e,t,n){var a=(Object.values(r.yO).includes(n)?n:void 0)||({"v1|default_sort_relevance":r.yO.Relevance,"v2|default_sort_popularity":r.yO.Popularity})[null==e?void 0:e.web_default_sort]||r.yO.Relevance,o=[{type:r.yO.Relevance,displayText:t("product.list.sort.relevance")},{type:r.yO.Popularity,displayText:t("product.list.sort.popularity")},{type:r.yO.PriceLowToHigh,displayText:t("product.list.sort.pricelowtohigh")},{type:r.yO.PriceHighToLow,displayText:t("product.list.sort.pricehightolow")},{type:r.yO.NameAlphabetically,displayText:t("product.list.sort.namealphabetically")},{type:r.yO.NewestToOldest,displayText:t("product.list.sort.newesttooldest")},{type:r.yO.DiscountPercentageHighToLow,displayText:t("product.list.sort.discountpercentagehightolow")}];return[o.find(function(e){return e.type===a})||{type:a,displayText:t("product.list.sort.".concat(a.toLowerCase()))}].concat((0,i.Z)(o.filter(function(e){return e.type!==a})))},l=function(e){return e.map(function(e){return{text:e.displayName,url:"/"===e.pagePath?e.pagePath:e.pagePath.concat(a.$L)}})},c=function(e,t){return e.map(function(e,n){return{"@type":"ListItem",position:n+1,name:e.text,item:t.concat(e.url)}})}},28905:function(e){e.exports.h={kind:"Document",operationName:"ConcessionCode",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"ConcessionCode"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pathName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"PagePath"}}},directives:[]}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"page"},arguments:[{kind:"Argument",name:{kind:"Name",value:"path"},value:{kind:"Variable",name:{kind:"Name",value:"pathName"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"concession"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"concessionCode"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"footer"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"navigation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"topLevel"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"header"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"navigation"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"topLevel"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"link"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"url"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}]}}],loc:{source:"\nquery ConcessionCode($pathName: PagePath!) {\n page(path: $pathName) {\n title\n concession {\n concessionCode\n footer {\n navigation {\n topLevel {\n link {\n url\n }\n }\n }\n }\n header {\n navigation {\n topLevel {\n displayName\n link {\n url\n }\n }\n }\n }\n }\n }\n}\n"}}}}]); //# sourceMappingURL=4598-e972b713eb6646df.js.map