1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2203],{24608:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[...slug]",function(){return t(80915)}])},80915:(e,n,t)=>{"use strict";t.r(n),t.d(n,{__N_SSG:()=>ex,default:()=>eC,fetchArticles:()=>ew});var r={};t.r(r),t.d(r,{Article:()=>G,ArticleLanding:()=>H,Collection:()=>J,Faq:()=>er,Page:()=>eu,Product:()=>ef,Sitemap:()=>ey});var l=t(56191),a=t.n(l),i=t(60180),u=t.n(i),o=t(89099),s=t.n(o),c=t(14232),d=t(12552),p=t(26097),f=t.n(p),h=t(95835),v=t.n(h),g=t(37936),y=t.n(g),b=t(83922),k=t.n(b),m=t(32249),x=t.n(m),w=t(64630),j=t(25566);function C(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(C=function(){return!!e})()}let P=new(function(e){var n;function t(){var e;return f()(this,t),e=t,e=k()(e),y()(this,C()?Reflect.construct(e,[],k()(this).constructor):e.apply(this,void 0))}return x()(t,e),v()(t,[{key:"getActiveArticleOverviewBySlug",value:(n=a()(u().mark(function e(n){var t,r,l,a;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=null,e.next=3,j.A.getActivePagePathBySlug(n);case 3:if(null==(r=e.sent)){e.next=11;break}return l={content_type:"articleOverview","fields.slug.sys.id":r.sys.id,include:10},e.next=8,this.getEntries(l);case 8:(a=e.sent)&&a.length>1&&console.error("there is more than one entry assign to the path"+n),t=a&&1==a.length?a[0]:void 0;case 11:return e.abrupt("return",t);case 12:case"end":return e.stop()}},e,this)})),function(e){return n.apply(this,arguments)})}])}(w.A));function S(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(S=function(){return!!e})()}var A="article";let O=new(function(e){var n,t,r;function l(){var e;return f()(this,l),e=l,e=k()(e),y()(this,S()?Reflect.construct(e,[],k()(this).constructor):e.apply(this,void 0))}return x()(l,e),v()(l,[{key:"getLatestArticleBySubcategories",value:(n=a()(u().mark(function e(n){var t,r;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t=null,!(n&&n.length>0)){e.next=6;break}return r={content_type:A,"fields.category.sys.id[in]":n.join(","),include:10},e.next=5,this.getEntries(r);case 5:t=e.sent;case 6:return e.abrupt("return",t);case 7:case"end":return e.stop()}},e,this)})),function(e){return n.apply(this,arguments)})},{key:"getActiveArticleBySlug",value:(t=a()(u().mark(function e(n){var t,r,l,a,i,o=this,s=arguments;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return t=s.length>1&&void 0!==s[1]&&s[1],r=null,e.next=4,P.getActiveArticleOverviewBySlug(n);case 4:if(null==(l=e.sent)){e.next=20;break}if(a={content_type:A,"fields.articleOverview.sys.id":l.sys.id,include:10},!t){e.next=13;break}return e.next=10,this.getEntries(a);case 10:e.t0=e.sent,e.next=16;break;case 13:return e.next=15,this.getEntriesNoSys(a);case 15:e.t0=e.sent;case 16:(i=e.t0)&&i.length>1&&console.error("there is more than one entry assign to the path"+n),i.forEach(function(e){o.computeLayout(e)}),r=i&&1==i.length?i[0]:void 0;case 20:return e.abrupt("return",r);case 21:case"end":return e.stop()}},e,this)})),function(e){return t.apply(this,arguments)})},{key:"getAllActiveAndSearchableArticle",value:(r=a()(u().mark(function e(){var n,t,r,l,a,i,o,s=arguments;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return n=s.length>0&&void 0!==s[0]&&s[0],e.next=3,j.A.getSearchableAndActivePagePaths();case 3:t=e.sent,r=[],l=0;case 6:if(!(l<t.length)){e.next=16;break}if(null==(a=t[l])){e.next=13;break}return e.next=11,this.getActiveArticleBySlug(a.fields.slug,n);case 11:(i=e.sent)&&((o={}).sys=a.sys,o.fields=i.fields,r.push(o));case 13:l++,e.next=6;break;case 16:return e.abrupt("return",r);case 17:case"end":return e.stop()}},e,this)})),function(){return r.apply(this,arguments)})}])}(w.A));var B=t(83095),R=t.n(B),N=t(18847),_=t.n(N),M=t(43876),I=t(86364),D=t(37876);function E(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(E=function(){return!!e})()}var V=_()(function(){return Promise.all([t.e(2876),t.e(4421),t.e(1346),t.e(4540),t.e(3976),t.e(4969),t.e(8790),t.e(503)]).then(t.bind(t,10503))},{loadableGenerated:{webpack:function(){return[10503]}}}),L=_()(function(){return Promise.all([t.e(9077),t.e(936),t.e(6852),t.e(7671),t.e(3499),t.e(1642),t.e(4937),t.e(8941),t.e(5703)]).then(t.bind(t,85516))},{loadableGenerated:{webpack:function(){return[85516]}}}),T=_()(function(){return t.e(4916).then(t.bind(t,54916))}),q=_()(function(){return t.e(1891).then(t.bind(t,71891))}),F=_()(function(){return t.e(4290).then(t.bind(t,94290))});let G=function(e){var n;function t(){var e,n;return f()(this,t),e=t,n=arguments,e=k()(e),y()(this,E()?Reflect.construct(e,n||[],k()(this).constructor):e.apply(this,n))}
1return x()(t,e),v()(t,[{key:"componentDidMount",value:function(){s().beforePopState(function(e){var n=e.as;return location.href=n,!0})}},{key:"getFaqSchema",value:function(){var e,n,t;return null==(e=this.props)||null==(n=e.article)||null==(t=n.fields)?void 0:t.faqSchema}},{key:"getHowTo",value:function(){var e,n,t;return null==(e=this.props)||null==(n=e.article)||null==(t=n.fields)?void 0:t.howTo}},{key:"getMetadata",value:function(){var e,n,t,r;return null==(e=this.props)||null==(n=e.article)||null==(t=n.fields)||null==(r=t.metadata)?void 0:r.fields}},{key:"getCode",value:function(){return{languageCode:this.props.languageCode,countryCode:this.props.countryCode}}},{key:"getArticle",value:function(){var e,n;return null==(e=this.props)||null==(n=e.article)?void 0:n.fields}},{key:"renderBody",value:function(){return new M.A(this.props.article).renderChildBlocks({extraAttributes:{entity:this.getArticle(),code:this.getCode()}})}},{key:"render",value:function(){var e,n,t,r,l=this.getArticle(),a=null==l||null==(e=l.articleOverview)||null==(n=e.fields)||null==(t=n.slug)||null==(r=t.fields)?void 0:r.slug,i=this.getHowTo(),u=this.getFaqSchema(),o=this.getMetadata(),s=(0,D.jsx)("h1",{children:I.OZ.articleSuspenseContent});return o&&(o.pageType="article"),(0,D.jsxs)(c.Fragment,{children:[(0,D.jsx)(c.Suspense,{fallback:s,children:(0,D.jsx)(L,{metadata:o,pagePath:a})}),(0,D.jsx)(c.Suspense,{fallback:s,children:(0,D.jsx)("div",{className:"ob-wrapper",children:this.renderBody()})}),(0,D.jsx)(c.Suspense,{fallback:s,children:(0,D.jsx)(T,{metadata:o,pagePath:a,article:l})}),(0,D.jsx)(c.Suspense,{fallback:s,children:u&&(0,D.jsx)(q,{metadata:o,pagePath:a,faqSchema:u})}),(0,D.jsx)(c.Suspense,{fallback:s,children:i&&(0,D.jsx)(F,{metadata:o,pagePath:a,howTo:i})}),(0,D.jsx)(V,{languageCode:this.props.languageCode,countryCode:this.props.countryCode,article:this.props.article})]})}}],[{key:"getInitialProps",value:(n=a()(u().mark(function e(n){return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})}])}(c.Component);function z(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(z=function(){return!!e})()}var U=_()(function(){return Promise.all([t.e(2876),t.e(4421),t.e(1346),t.e(4540),t.e(3976),t.e(4969),t.e(8790),t.e(503)]).then(t.bind(t,10503))},{loadableGenerated:{webpack:function(){return[10503]}}}),Z=_()(function(){return Promise.all([t.e(9077),t.e(936),t.e(6852),t.e(7671),t.e(3499),t.e(1642),t.e(4937),t.e(8941),t.e(5703)]).then(t.bind(t,85516))},{loadableGenerated:{webpack:function(){return[85516]}}});let H=function(e){var n;function t(){var e,n;return f()(this,t),e=t,n=arguments,e=k()(e),y()(this,z()?Reflect.construct(e,n||[],k()(this).constructor):e.apply(this,n))}return x()(t,e),v()(t,[{key:"componentDidMount",value:function(){s().beforePopState(function(e){var n=e.as;return location.href=n,!0})}},{key:"getArticleLanding",value:function(){return this.props.articles}},{key:"getPage",value:function(){var e,n;return null==(e=this.props)||null==(n=e.page)?void 0:n.fields}},{key:"getMetadata",value:function(){var e,n,t,r;return null==(e=this.props)||null==(n=e.page)||null==(t=n.fields)||null==(r=t.metadata)?void 0:r.fields}},{key:"renderBody",value:function(){return new M.A(this.props.page).renderChildBlocks({extraAttributes:{articles:this.getArticleLanding()}})}},{key:"render",value:function(){var e,n,t=null==(e=this.getPage().slug)||null==(n=e.fields)?void 0:n.slug,r=(0,D.jsx)("h1",{children:I.OZ.articleSuspenseContent}),l=this.getMetadata();return l&&(l.pageType="page"),(0,D.jsxs)(c.Fragment,{children:[(0,D.jsx)(c.Suspense,{fallback:r,children:(0,D.jsx)(Z,{metadata:l,pagePath:t})}),(0,D.jsx)(c.Suspense,{fallback:r,children:(0,D.jsx)("div",{className:"ob-wrapper",children:this.renderBody()})}),(0,D.jsx)(c.Suspense,{fallback:r,children:(0,D.jsx)(U,{languageCode:this.props.languageCode,countryCode:this.props.countryCode})})]})}}],[{key:"getInitialProps",value:(n=a()(u().mark(function e(n){return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})}])}(c.Component);var Q=t(77328),K=t.n(Q),X=t(99742);function Y(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Y=function(){return!!e})()}var $=_()(function(){return Promise.all([t.e(9077),t.e(936),t.e(6852),t.e(7671),t.e(3499),t.e(1642),t.e(4937),t.e(8941),t.e(5703)]).then(t.bind(t,85516))},{loadableGenerated:{webpack:function(){return[85516]}}}),W=_()(function(){return Promise.all([t.e(2876),t.e(4421),t.e(1346),t.e(4540),t.e(3976),t.e(4969),t.e(8790),t.e(503)]).then(t.bind(t,10503))},{loadableGenerated:{webpack:function(){return[10503]}}});let J=function(e){var n;function t(){var e,n;return f()(this,t),e=t,n=arguments,e=k()(e),y()(this,Y()?Reflect.construct(e,n||[],k()(this).constructor):e.apply(this,n))}
1return x()(t,e),v()(t,[{key:"componentDidMount",value:function(){s().beforePopState(function(e){var n=e.as;return location.href=n,!0}),(0,d.DK)(),(0,d.cp)()}},{key:"getCollection",value:function(){var e,n;return null==(e=this.props)||null==(n=e.collection)?void 0:n.fields}},{key:"getMetadata",value:function(){var e,n,t,r;return null==(e=this.props)||null==(n=e.collection)||null==(t=n.fields)||null==(r=t.metadata)?void 0:r.fields}},{key:"renderBody",value:function(){var e,n;return new M.A(this.props.collection).renderChildBlocks({extraAttributes:{entity:this.getCollection(),slug:null==(e=this.props)?void 0:e.slug,query:null==(n=this.props)?void 0:n.query}})}},{key:"render",value:function(){var e,n,t=this.getCollection(),r=null==t||null==(e=t.slug)||null==(n=e.fields)?void 0:n.slug,l=(0,D.jsx)("h1",{children:I.OZ.collectionSuspenseContent}),a=X.env.BAZAAR_VOICE_ANALYTICS_URL,i=this.props.query,u=null==i?void 0:i.series,o=this.getMetadata();return o&&(o.pageType="collection"),(0,D.jsxs)(c.Fragment,{children:[(0,D.jsx)(c.Suspense,{fallback:l,children:u?null:(0,D.jsx)($,{metadata:o,pagePath:r})}),(0,D.jsx)(c.Suspense,{fallback:l,children:(0,D.jsxs)(K(),{children:[(0,D.jsx)("link",{rel:"preload",href:"https://apps.bazaarvoice.com/deployments/oralb-en_sa/main_site/production/en_SA/bv.js".replace(RegExp('"',"g"),""),as:"script"}),a&&(0,D.jsx)("link",{rel:"preload",href:X.env.BAZAAR_VOICE_ANALYTICS_URL.replace(RegExp('"',"g"),""),as:"script"})]})}),(0,D.jsx)(c.Suspense,{fallback:l,children:(0,D.jsx)("div",{className:"ob-wrapper",children:this.renderBody()})}),(0,D.jsx)(c.Suspense,{fallback:l,children:(0,D.jsx)(W,{languageCode:this.props.languageCode,countryCode:this.props.countryCode})})]})}}],[{key:"getInitialProps",value:(n=a()(u().mark(function e(n){return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})}])}(c.Component);function ee(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ee=function(){return!!e})()}var en=_()(function(){return Promise.all([t.e(2876),t.e(4421),t.e(1346),t.e(4540),t.e(3976),t.e(4969),t.e(8790),t.e(503)]).then(t.bind(t,10503))},{loadableGenerated:{webpack:function(){return[10503]}}}),et=_()(function(){return Promise.all([t.e(9077),t.e(936),t.e(6852),t.e(7671),t.e(3499),t.e(1642),t.e(4937),t.e(8941),t.e(5703)]).then(t.bind(t,85516))},{loadableGenerated:{webpack:function(){return[85516]}}});let er=function(e){var n;function t(){var e,n;return f()(this,t),e=t,n=arguments,e=k()(e),y()(this,ee()?Reflect.construct(e,n||[],k()(this).constructor):e.apply(this,n))}return x()(t,e),v()(t,[{key:"componentDidMount",value:function(){s().beforePopState(function(e){var n=e.as;return location.href=n,!0})}},{key:"getFAQ",value:function(){var e,n;return null==(e=this.props)||null==(n=e.faq)?void 0:n.fields}},{key:"getMetadata",value:function(){var e,n,t,r;return null==(e=this.props)||null==(n=e.faq)||null==(t=n.fields)||null==(r=t.metadata)?void 0:r.fields}},{key:"renderBody",value:function(){return new M.A(this.props.faq).renderChildBlocks({extraAttributes:{entity:this.getFAQ()}})}},{key:"render",value:function(){var e,n,t=this.getFAQ(),r=null==t||null==(e=t.slug)||null==(n=e.fields)?void 0:n.slug,l=(0,D.jsx)("h1",{children:I.OZ.faqSuspenseContent}),a=this.getMetadata();return a&&(a.pageType="faq"),(0,D.jsxs)(c.Fragment,{children:[(0,D.jsx)(c.Suspense,{fallback:l,children:(0,D.jsx)(et,{metadata:a,pagePath:r})}),(0,D.jsx)(c.Suspense,{fallback:l,children:(0,D.jsx)("div",{className:"ob-wrapper",children:this.renderBody()})}),(0,D.jsx)(c.Suspense,{fallback:l,children:(0,D.jsx)(en,{languageCode:this.props.languageCode,countryCode:this.props.countryCode})})]})}}],[{key:"getInitialProps",value:(n=a()(u().mark(function e(n){return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})}])}(c.Component);function el(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(el=function(){return!!e})()}var ea=_()(function(){return Promise.all([t.e(2876),t.e(4421),t.e(1346),t.e(4540),t.e(3976),t.e(4969),t.e(8790),t.e(503)]).then(t.bind(t,10503))},{loadableGenerated:{webpack:function(){return[10503]}}}),ei=_()(function(){return Promise.all([t.e(9077),t.e(936),t.e(6852),t.e(7671),t.e(3499),t.e(1642),t.e(4937),t.e(8941),t.e(5703)]).then(t.bind(t,85516))},{loadableGenerated:{webpack:function(){return[85516]}}});let eu=function(e){var n;function t(){var e,n;return f()(this,t),e=t,n=arguments,e=k()(e),y()(this,el()?Reflect.construct(e,n||[],k()(this).constructor):e.apply(this,n))}
1return x()(t,e),v()(t,[{key:"componentDidMount",value:function(){s().beforePopState(function(e){var n=e.as;return location.href=n,!0}),(0,d.zH)()}},{key:"getPage",value:function(){var e,n;return null==(e=this.props)||null==(n=e.page)?void 0:n.fields}},{key:"getMetadata",value:function(){var e,n,t,r;return null==(e=this.props)||null==(n=e.page)||null==(t=n.fields)||null==(r=t.metadata)?void 0:r.fields}},{key:"renderBody",value:function(){var e,n,t,r,l,a,i;return new M.A(null==(e=this.props)?void 0:e.page).renderChildBlocks(void 0,void 0,void 0,(null==(n=this.props)||null==(t=n.page)||null==(r=t.fields)?void 0:r.lazyloadIndexValue)?null==(l=this.props)||null==(a=l.page)||null==(i=a.fields)?void 0:i.lazyloadIndexValue:1)}},{key:"render",value:function(){var e,n,t=this.getPage(),r=null==t||null==(e=t.slug)||null==(n=e.fields)?void 0:n.slug,l=(0,D.jsx)("h1",{children:I.OZ.pageSuspenseContent}),a=this.getMetadata();return a&&(a.pageType="page"),null==t||t.disableCookieConsent,(0,D.jsxs)(c.Fragment,{children:[(0,D.jsx)(c.Suspense,{fallback:l,children:(0,D.jsx)(ei,{metadata:a,pagePath:r})}),(0,D.jsx)(c.Suspense,{fallback:l,children:(0,D.jsx)("div",{className:"ob-wrapper",children:this.renderBody()})}),(0,D.jsx)(c.Suspense,{fallback:l,children:(0,D.jsx)(ea,{languageCode:this.props.languageCode,countryCode:this.props.countryCode})})]})}}],[{key:"getInitialProps",value:(n=a()(u().mark(function e(n){return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})}])}(c.Component);var eo=t(39749),es=t(37526);function ec(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ec=function(){return!!e})()}var ed=_()(function(){return Promise.all([t.e(9077),t.e(936),t.e(6852),t.e(7671),t.e(3499),t.e(1642),t.e(4937),t.e(8941),t.e(5703)]).then(t.bind(t,85516))},{loadableGenerated:{webpack:function(){return[85516]}}}),ep=_()(function(){return Promise.all([t.e(2876),t.e(4421),t.e(1346),t.e(4540),t.e(3976),t.e(4969),t.e(8790),t.e(503)]).then(t.bind(t,10503))},{loadableGenerated:{webpack:function(){return[10503]}}});let ef=function(e){var n;function t(){var e,n;return f()(this,t),e=t,n=arguments,e=k()(e),y()(this,ec()?Reflect.construct(e,n||[],k()(this).constructor):e.apply(this,n))}return x()(t,e),v()(t,[{key:"componentDidMount",value:function(){var e,n=null==(e=this.props)?void 0:e.slug,t=this.getProduct();n&&(0,es.PI)(n),s().beforePopState(function(e){var n=e.as;return location.href=n,!0}),(0,d.DK)(),(0,d.BD)(null==t?void 0:t.name),(0,d.OH)(),document.body.classList.add("!overflow-visible")}},{key:"getProduct",value:function(){var e,n;return null==(e=this.props)||null==(n=e.product)?void 0:n.fields}},{key:"getMetadata",value:function(){var e,n,t,r;return null==(e=this.props)||null==(n=e.product)||null==(t=n.fields)||null==(r=t.metadata)?void 0:r.fields}},{key:"renderBody",value:function(){return new M.A(this.props.product).renderChildBlocks({extraAttributes:{entity:this.getProduct()}})}},{key:"render",value:function(){var e,n,t,r,l,a,i=this.getProduct(),u=null==i||null==(e=i.productOverview)||null==(n=e.fields)||null==(t=n.slug)||null==(r=t.fields)?void 0:r.slug,o=null==i||null==(l=i.productOverview)||null==(a=l.fields)?void 0:a.productVariants,s={};o&&(s=o[0]);var d=(0,D.jsx)("h1",{children:I.OZ.productSuspenseContent}),p=this.getMetadata();return p&&(p.pageType="product"),(0,D.jsx)("div",{children:(0,D.jsxs)(c.Fragment,{children:[(0,D.jsx)(c.Suspense,{fallback:d,children:(0,D.jsx)(ed,{metadata:p,pagePath:u})}),(0,D.jsx)(c.Suspense,{fallback:d,children:(0,D.jsx)("div",{className:"ob-wrapper PDP-page-class",children:this.renderBody()})}),(0,D.jsx)(c.Suspense,{fallback:d,children:(0,D.jsx)(ep,{languageCode:this.props.languageCode,countryCode:this.props.countryCode,productVariant:s})}),(0,D.jsx)(c.Suspense,{fallback:d,children:this.renderBazaarVoiceDynamicCatalogCollectionScript()})]})})}},{key:"getImageUrl",value:function(e){var n,t,r,l,a=null==e||null==(n=e.fields)||null==(t=n.asset)||null==(r=t.fields)||null==(l=r.file)?void 0:l.url;return a&&eo.Ay.buildContentfullImageUrl(a)}},{key:"renderBazaarVoiceDynamicCatalogCollectionScript",value:function(){var e,n,t,r=this.getProduct(),l=this.props.countryCode,a=this.getImageUrl(null==r||null==(f=r.productOverview)||null==(h=f.fields)?void 0:h.mainAsset),i=(0,d.SE)(null==r||null==(v=r.productOverview)||null==(g=v.fields)||null==(y=g.slug)||null==(b=y.fields)?void 0:b.slug,I.xW.https),u=null==r||null==(k=r.productOverview)||null==(m
1=k.fields)?void 0:m.productVariants,o=[],s=[];if(u)for(var p=0;p<u.length;p++){var f,h,v,g,y,b,k,m,x,w,j,C,P,S,A,O,B,R,N,_,M=u[p],E=null==M||null==(O=M.fields)?void 0:O.sku,V=null==M||null==(B=M.fields)?void 0:B.ean;V&&this.isValidBarcode(V)&&13==V.length&&s.push(V),E&&this.isValidBarcode(E)&&(12==E.length&&o.push(E),13!=E.length||s.includes(E)||s.push(E)),(null==M||null==(R=M.fields)?void 0:R.isBazaarVoiceIdentifier)&&void 0===(A=null==M||null==(N=M.fields)?void 0:N.bazaarVoiceId)&&(E?A=E:void 0===E&&(A=V),void 0===A&&console.error("No reviewAndRatingId specified for product variant Bazaar Voice identifier:",null==M||null==(_=M.fields)?void 0:_.name))}var L={productId:A,productName:null==r?void 0:r.name,productDescription:null==r||null==(x=r.productOverview)||null==(w=x.fields)?void 0:w.description,productImageURL:a,productPageURL:i,brandName:I.nE.brand,upcs:o,eans:s};(null==r||null==(j=r.productOverview)||null==(C=j.fields)?void 0:C.reviewAndRatingCategory)&&(L.categoryPath=[{Name:null==r||null==(e=r.productOverview)||null==(n=e.fields)?void 0:n.reviewAndRatingCategory}]);var T=[];T.push(L);var q=null==r||null==(P=r.productOverview)||null==(S=P.fields)?void 0:S.reviewAndRatingFamilyId;if(q){L.families=[{id:q,expand:!1}];var F,G,z=(F=q,I.$3.masterProductIdPrefix+F),U=(G=q,I.$3.masterProductNamePrefix+G);T.push({productId:z,productName:U,productPageURL:i,upcs:o,eans:s,families:[{id:q,expand:!0}]})}var Z=this.props.languageCode,H=(0,d.jd)(T);return A&&(t=(0,D.jsx)(c.Fragment,{children:(0,D.jsx)("script",{defer:!0,dangerouslySetInnerHTML:{__html:"window.bvDCC = {\n catalogData: {\n locale: '".concat(Z+"_"+l,"',\n catalogProducts: ").concat(H,"\n }\n };\n window.bvCallback = function (BV) {\n BV.pixel.trackEvent(\"CatalogUpdate\", {\n type: 'Product',\n locale: window.bvDCC.catalogData.locale,\n catalogProducts: window.bvDCC.catalogData.catalogProducts\n });\n };")}})})),t}},{key:"isValidBarcode",value:function(e){if(12!=e.length&&13!=e.length)return!1;var n=Number(e.substring(e.length-1));if(isNaN(n))return!1;for(var t=e.substring(0,e.length-1).split("").reverse(),r=0,l=0,a=0;a<t.length;a++){if(isNaN(Number(t[a])))return!1;a%2==0?r+=3*Number(t[a]):l+=Number(t[a])}return(10-(l+r)%10)%10==n}}],[{key:"getInitialProps",value:(n=a()(u().mark(function e(n){return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})}])}(c.Component);function eh(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eh=function(){return!!e})()}var ev=_()(function(){return Promise.all([t.e(9077),t.e(936),t.e(6852),t.e(7671),t.e(3499),t.e(1642),t.e(4937),t.e(8941),t.e(5703)]).then(t.bind(t,85516))},{loadableGenerated:{webpack:function(){return[85516]}}}),eg=_()(function(){return Promise.all([t.e(2876),t.e(4421),t.e(1346),t.e(4540),t.e(3976),t.e(4969),t.e(8790),t.e(503)]).then(t.bind(t,10503))},{loadableGenerated:{webpack:function(){return[10503]}}});let ey=function(e){var n;function t(){var e,n;return f()(this,t),e=t,n=arguments,e=k()(e),y()(this,eh()?Reflect.construct(e,n||[],k()(this).constructor):e.apply(this,n))}return x()(t,e),v()(t,[{key:"componentDidMount",value:function(){s().beforePopState(function(e){var n=e.as;return location.href=n,!0})}},{key:"getSitemap",value:function(){var e,n;return null==(e=this.props)||null==(n=e.page)?void 0:n.fields}},{key:"getMetadata",value:function(){return this.props.page.fields.metadata.fields}},{key:"renderBody",value:function(){return new M.A(this.props.page).renderChildBlocks({extraAttributes:{entity:this.getSitemap()}})}},{key:"render",value:function(){var e=this.getSitemap().slug.fields.slug,n=this.getMetadata(),t=(0,D.jsx)("h1",{children:I.OZ.productSuspenseContent});return n&&(n.pageType="page"),(0,D.jsxs)(c.Fragment,{children:[(0,D.jsx)(c.Suspense,{fallback:t,children:(0,D.jsx)(ev,{metadata:n,pagePath:e})}),(0,D.jsx)(c.Suspense,{fallback:t,children:(0,D.jsx)("div",{className:"ob-wrapper",children:this.renderBody()})}),(0,D.jsx)(c.Suspense,{fallback:t,children:(0,D.jsx)(eg,{languageCode:this.props.languageCode,countryCode:this.props.countryCode})})]})}}],[{key:"getInitialProps",value:(n=a()(u().mark(function e(n){return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:case"end":return e.stop()}},e)})),function(e){return n.apply(this,arguments)})}])}(c.Component);function eb(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),t.push.apply(t,r)}return t}var ek=function(e){var n={};return Object.keys(e).forEach(function(t){n[t.charAt(0).toLowerCase()+t.slice(1)]=e[t]}),n};let em=function(e){var n,t=e.model,l=e.content;e.breadcrumbs;var a=ek(r)[t=null==(n=t||"")?void 0:n.replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})];return a?(0,D.jsx)(a,function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};
1n%2?eb(Object(t),!0).forEach(function(n){R()(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):eb(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}({},l)):(console.warn('DynamicPage: No template found for model "'.concat(t,'"')),null)};t(99742);var ex=!0;function ew(e,n){return ej.apply(this,arguments)}function ej(){return(ej=a()(u().mark(function e(n,t){var r,l,a,i,o,s,c,d,p,f,h,v,g,y;return u().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=[],o=null==n||null==(r=n.sys)?void 0:r.id,(s=null==n||null==(l=n.fields)||null==(a=l.subcategories)?void 0:a.map(function(e){var n;return null==e||null==(n=e.sys)?void 0:n.id}))?s.forEach(function(e){return i.push(e)}):i.push(o),e.next=6,O.getLatestArticleBySubcategories(i);case 6:if(c=e.sent,d=[],c&&c.length>0)for(p=0;p<c.length;p++)(h=c[p])&&(null==h||null==(f=h.fields)?void 0:f.articleOverview)&&d.push({metadata:null==(v=h)?void 0:v.metadata,sys:null==h?void 0:h.sys,fields:{name:null==h||null==(g=h.fields)?void 0:g.name,articleOverview:null==h||null==(y=h.fields)?void 0:y.articleOverview}});return d&&(null==d?void 0:d.length)>0&&(t[n.fields.name]=d),e.abrupt("return",t);case 11:case"end":return e.stop()}},e)}))).apply(this,arguments)}let eC=function(e){var n,t,r,l,a,i,u,s,p,f,h,v,g,y,b,k,m,x,w,j=e.slug,C=e.nextPreview,P=(0,o.useRouter)();return(0,c.useEffect)(function(){},[!0,C,P,j]),(null==e?void 0:e.faq)?n=(0,d.dw)(null==e||null==(t=e.faq)||null==(r=t.fields)?void 0:r.pageMapping):(null==e?void 0:e.page)?n=(0,d.dw)(null==e||null==(l=e.page)||null==(a=l.fields)?void 0:a.pageMapping):(null==e?void 0:e.article)?(null==e||null==(i=e.article)||null==(u=i.fields)||null==(s=u.articleOverview)||null==(p=s.fields)?void 0:p.pageMapping)&&(n=(0,d.dw)(null==e||null==(f=e.article)||null==(h=f.fields)||null==(v=h.articleOverview)||null==(g=v.fields)?void 0:g.pageMapping)):(null==e?void 0:e.product)?n=(0,d.dw)(null==e||null==(y=e.product)||null==(b=y.fields)||null==(k=b.productOverview)||null==(m
1=k.fields)?void 0:m.pageMapping):(null==e?void 0:e.collection)&&(n=(0,d.dw)(null==e||null==(x=e.collection)||null==(w=x.fields)?void 0:w.pageMapping)),(0,D.jsx)(em,{model:n,content:e},j)}}},e=>{e.O(0,[2876,4421,1346,4540,3976,4969,8790,4126,8216,7128,8763,3164,3019,9744,4183,7686,7293,5012,9897,1730,8979,5743,2626,3158,2877,2816,9679,6941,7214,6975,3056,4920,7296,6835,6954,159,607,2190,8417,7897,4162,2232,236,4094,9184,8642,8906,6295,9077,936,6852,7671,3499,1642,4937,8941,5703,8311,7064,58,3575,4619,2865,7950,8262,8025,3826,6949,9225,3035,452,9779,6600,5106,8792],()=>e(e.s=24608)),_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.