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,EAAAA,EAAAoH,CAAA,oDAAApH,EAAAA,EAAAoB,CAAA,UAAAqP,KAAAzQ,EAAAoH,CAAA","sources":["webpack://_N_E/./adapters/helpers/functions.js","webpack://_N_E/./adapters/model/ContentfulClient.js","webpack://_N_E/./node_modules/next/dist/shared/lib/amp-context.js","webpack://_N_E/./node_modules/next/dist/shared/lib/amp-mode.js","webpack://_N_E/./node_modules/next/dist/shared/lib/head.js","webpack://_N_E/./node_modules/next/dist/shared/lib/side-effect.js","webpack://_N_E/./node_modules/next/dist/shared/lib/utils/warn-once.js","webpack://_N_E/./pages/product.js","webpack://_N_E/./persistence/localStorage.js","webpack://_N_E/./persistence/recentlyViewed.js","webpack://_N_E/?4c9c","webpack://_N_E/./node_modules/next/head.js","webpack://_N_E/"],"sourcesContent":["export function chunk(items, size) {\n if(!Array.isArray(items)\n || items.length === 0\n || !Number.isInteger(size)\n || size === 0) {\n return [];\n }\n\n const chunks = [];\n let chunk = [];\n\n for(let i = 0; i < items.length; i++) {\n chunk.push(items[i]);\n if((i + 1) % size === 0) {\n chunks.push(chunk);\n chunk = [];\n }\n }\n\n if(chunk.length > 0) {\n chunks.push(chunk);\n }\n\n return chunks;\n}\n\nexport function flatten(array) {\n if (!Array.isArray(array)) {\n return [];\n }\n\n return array.reduce((previous, current) => {\n if (Array.isArray(current)){\n return previous.concat(current);\n } else {\n previous.push(current);\n return previous;\n }\n }, []);\n}\n\nexport function minimum(array) {\n if (!Array.isArray(array)) {\n return undefined;\n }\n\n let minimum = undefined;\n\n for(let i = 0; i < array.length; i++) {\n const value = array[i];\n if(typeof value === 'number') {\n if(minimum === undefined || value < minimum) {\n minimum = value;\n }\n }\n }\n\n return minimum;\n}\n\n// function to return N given of items in an Array\nexport function first(array, n) {\n // if passed array is not an array, return empty array\n if (!Array.isArray(array)\n || n <= 0) {\n return [];\n }\n\n //if N number is bigger or equal slice up the entire thing\n if(n >= array.length) {\n return array.slice();\n } else {\n // otherwise return only N numbers of array items\n return array.slice(0, n);\n }\n}\n\nexport function isLater(value) {\n // Return true if today is after the value date\n let result = false\n\n if (value && value instanceof Date) {\n result = new Date() > value;\n } else if (value) {\n result = new Date() > new Date(value)\n }\n\n return result;\n}\n\nexport function isObject(value) {\n return (!!value) && (value.constructor === Object);\n}\n\nexport function findIndex(array, fn) {\n if (!Array.isArray(array)\n || !(typeof fn === 'function')) {\n return undefined;\n }\n for(let i = 0; i < array.length; i++) {\n const element = array[i];\n\n if(fn(element)) {\n return i;\n }\n }\n\n return undefined;\n}\n\nexport function escapeHtml(unsafe) {\n return unsafe\n .replace(/&/g, '&')\n .replace(//g, '>')\n .replace(/\"/g, '"')\n .replace(/'/g, ''');\n}\n\nexport function textShorterFn(text, count, insertDots) {\n return (\n text.slice(0, count) + (text.length > count && insertDots ? \"...\" : \"\")\n );\n}","const contentful = require('contentful');\n\nclass ContentfulClient {\n\n constructor() {\n this.personalAccessToken = process.env.CF_PERSONAL_ACCESS_TOKEN;\n this.deliveryAccessToken = process.env.CF_DELIVERY_ACCESS_TOKEN;\n this.spaceId = process.env.CF_SPACE_ID;\n this.environmentId = process.env.CF_ENVIRONMENT;\n\n if(this.deliveryAccessToken && this.deliveryAccessToken !== '') {\n this.contentfulClient = contentful.createClient({\n space: this.spaceId,\n accessToken: this.deliveryAccessToken,\n environment: this.environmentId\n });\n }\n\n }\n\n static create() {\n return new ContentfulClient();\n }\n getPersonalAccessToken() {\n return this.personalAccessToken;\n }\n getDeliveryAccessToken() {\n return this.deliveryAccessToken;\n }\n getSpaceId() {\n return this.spaceId;\n }\n getEnvironmentId() {\n return this.environmentId;\n }\n\n async getClient() {\n return this.contentfulClient;\n }\n}\n\nexport default new ContentfulClient();","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.AmpStateContext = void 0;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _react = _interop_require_default(require(\"react\"));\nconst AmpStateContext = _react.default.createContext({});\nexports.AmpStateContext = AmpStateContext;\nif (process.env.NODE_ENV !== 'production') {\n AmpStateContext.displayName = 'AmpStateContext';\n}\n\n//# sourceMappingURL=amp-context.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isInAmpMode = isInAmpMode;\nfunction isInAmpMode({ ampFirst =false , hybrid =false , hasQuery =false , } = {}) {\n return ampFirst || hybrid && hasQuery;\n}\n\n//# sourceMappingURL=amp-mode.js.map","\"use client\";\n\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.defaultHead = defaultHead;\nexports.default = void 0;\nvar _extends = require(\"@swc/helpers/lib/_extends.js\").default;\nvar _interop_require_default = require(\"@swc/helpers/lib/_interop_require_default.js\").default;\nvar _interop_require_wildcard = require(\"@swc/helpers/lib/_interop_require_wildcard.js\").default;\nvar _react = _interop_require_wildcard(require(\"react\"));\nvar _sideEffect = _interop_require_default(require(\"./side-effect\"));\nvar _ampContext = require(\"./amp-context\");\nvar _headManagerContext = require(\"./head-manager-context\");\nvar _ampMode = require(\"./amp-mode\");\nvar _warnOnce = require(\"./utils/warn-once\");\n'use client';\nfunction defaultHead(inAmpMode = false) {\n const head = [\n /*#__PURE__*/ _react.default.createElement(\"meta\", {\n charSet: \"utf-8\"\n })\n ];\n if (!inAmpMode) {\n head.push(/*#__PURE__*/ _react.default.createElement(\"meta\", {\n name: \"viewport\",\n content: \"width=device-width\"\n }));\n }\n return head;\n}\nfunction onlyReactElement(list, child) {\n // React children can be \"string\" or \"number\" in this case we ignore them for backwards compat\n if (typeof child === 'string' || typeof child === 'number') {\n return list;\n }\n // Adds support for React.Fragment\n if (child.type === _react.default.Fragment) {\n return list.concat(_react.default.Children.toArray(child.props.children).reduce((fragmentList, fragmentChild)=>{\n if (typeof fragmentChild === 'string' || typeof fragmentChild === 'number') {\n return fragmentList;\n }\n return fragmentList.concat(fragmentChild);\n }, []));\n }\n return list.concat(child);\n}\nconst METATYPES = [\n 'name',\n 'httpEquiv',\n 'charSet',\n 'itemProp'\n];\n/*\n returns a function for filtering head child elements\n which shouldn't be duplicated, like \n Also adds support for deduplicated `key` properties\n*/ function unique() {\n const keys = new Set();\n const tags = new Set();\n const metaTypes = new Set();\n const metaCategories = {};\n return (h)=>{\n let isUnique = true;\n let hasKey = false;\n if (h.key && typeof h.key !== 'number' && h.key.indexOf('$') > 0) {\n hasKey = true;\n const key = h.key.slice(h.key.indexOf('$') + 1);\n if (keys.has(key)) {\n isUnique = false;\n } else {\n keys.add(key);\n }\n }\n // eslint-disable-next-line default-case\n switch(h.type){\n case 'title':\n case 'base':\n if (tags.has(h.type)) {\n isUnique = false;\n } else {\n tags.add(h.type);\n }\n break;\n case 'meta':\n for(let i = 0, len = METATYPES.length; i < len; i++){\n const metatype = METATYPES[i];\n if (!h.props.hasOwnProperty(metatype)) continue;\n if (metatype === 'charSet') {\n if (metaTypes.has(metatype)) {\n isUnique = false;\n } else {\n metaTypes.add(metatype);\n }\n } else {\n const category = h.props[metatype];\n const categories = metaCategories[metatype] || new Set();\n if ((metatype !== 'name' || !hasKey) && categories.has(category)) {\n isUnique = false;\n } else {\n categories.add(category);\n metaCategories[metatype] = categories;\n }\n }\n }\n break;\n }\n return isUnique;\n };\n}\n/**\n *\n * @param headChildrenElements List of children of <Head>\n */ function reduceComponents(headChildrenElements, props) {\n const { inAmpMode } = props;\n return headChildrenElements.reduce(onlyReactElement, []).reverse().concat(defaultHead(inAmpMode).reverse()).filter(unique()).reverse().map((c, i)=>{\n const key = c.key || i;\n if (process.env.NODE_ENV !== 'development' && process.env.__NEXT_OPTIMIZE_FONTS && !inAmpMode) {\n if (c.type === 'link' && c.props['href'] && // TODO(prateekbh@): Replace this with const from `constants` when the tree shaking works.\n [\n 'https://fonts.googleapis.com/css',\n 'https://use.typekit.net/'\n ].some((url)=>c.props['href'].startsWith(url))) {\n const newProps = _extends({}, c.props || {});\n newProps['data-href'] = newProps['href'];\n newProps['href'] = undefined;\n // Add this attribute to make it easy to identify optimized tags\n newProps['data-optimized-fonts'] = true;\n return /*#__PURE__*/ _react.default.cloneElement(c, newProps);\n }\n }\n if (process.env.NODE_ENV === 'development') {\n // omit JSON-LD structured data snippets from the warning\n if (c.type === 'script' && c.props['type'] !== 'application/ld+json') {\n const srcMessage = c.props['src'] ? `<script> tag with src=\"${c.props['src']}\"` : `inline <script>`;\n (0, _warnOnce).warnOnce(`Do not add <script> tags using next/head (see ${srcMessage}). Use next/script instead. \\nSee more info here: https://nextjs.org/docs/messages/no-script-tags-in-head-component`);\n } else if (c.type === 'link' && c.props['rel'] === 'stylesheet') {\n (0, _warnOnce).warnOnce(`Do not add stylesheets using next/head (see <link rel=\"stylesheet\"> tag with href=\"${c.props['href']}\"). Use Document instead. \\nSee more info here: https://nextjs.org/docs/messages/no-stylesheets-in-head-component`);\n }\n }\n return /*#__PURE__*/ _react.default.cloneElement(c, {\n key\n });\n });\n}\n/**\n * This component injects elements to `<head>` of your page.\n * To avoid duplicated `tags` in `<head>` you can use the `key` property, which will make sure every tag is only rendered once.\n */ function Head({ children }) {\n const ampState = (0, _react).useContext(_ampContext.AmpStateContext);\n const headManager = (0, _react).useContext(_headManagerContext.HeadManagerContext);\n return /*#__PURE__*/ _react.default.createElement(_sideEffect.default, {\n reduceComponentsToState: reduceComponents,\n headManager: headManager,\n inAmpMode: (0, _ampMode).isInAmpMode(ampState)\n }, children);\n}\nvar _default = Head;\nexports.default = _default;\n\nif ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') {\n Object.defineProperty(exports.default, '__esModule', { value: true });\n Object.assign(exports.default, exports);\n module.exports = exports.default;\n}\n\n//# sourceMappingURL=head.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = SideEffect;\nvar _interop_require_wildcard = require(\"@swc/helpers/lib/_interop_require_wildcard.js\").default;\nvar _react = _interop_require_wildcard(require(\"react\"));\nfunction SideEffect(props) {\n const { headManager , reduceComponentsToState } = props;\n function emitChange() {\n if (headManager && headManager.mountedInstances) {\n const headElements = _react.Children.toArray(Array.from(headManager.mountedInstances).filter(Boolean));\n headManager.updateHead(reduceComponentsToState(headElements, props));\n }\n }\n if (isServer) {\n var ref;\n headManager == null ? void 0 : (ref = headManager.mountedInstances) == null ? void 0 : ref.add(props.children);\n emitChange();\n }\n useClientOnlyLayoutEffect(()=>{\n var ref1;\n headManager == null ? void 0 : (ref1 = headManager.mountedInstances) == null ? void 0 : ref1.add(props.children);\n return ()=>{\n var ref;\n headManager == null ? void 0 : (ref = headManager.mountedInstances) == null ? void 0 : ref.delete(props.children);\n };\n });\n // We need to call `updateHead` method whenever the `SideEffect` is trigger in all\n // life-cycles: mount, update, unmount. However, if there are multiple `SideEffect`s\n // being rendered, we only trigger the method from the last one.\n // This is ensured by keeping the last unflushed `updateHead` in the `_pendingUpdate`\n // singleton in the layout effect pass, and actually trigger it in the effect pass.\n useClientOnlyLayoutEffect(()=>{\n if (headManager) {\n headManager._pendingUpdate = emitChange;\n }\n return ()=>{\n if (headManager) {\n headManager._pendingUpdate = emitChange;\n }\n };\n });\n useClientOnlyEffect(()=>{\n if (headManager && headManager._pendingUpdate) {\n headManager._pendingUpdate();\n headManager._pendingUpdate = null;\n }\n return ()=>{\n if (headManager && headManager._pendingUpdate) {\n headManager._pendingUpdate();\n headManager._pendingUpdate = null;\n }\n };\n });\n return null;\n}\nconst isServer = typeof window === 'undefined';\nconst useClientOnlyLayoutEffect = isServer ? ()=>{} : _react.useLayoutEffect;\nconst useClientOnlyEffect = isServer ? ()=>{} : _react.useEffect;\n\n//# sourceMappingURL=side-effect.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.warnOnce = void 0;\nlet warnOnce = (_)=>{};\nif (process.env.NODE_ENV !== 'production') {\n const warnings = new Set();\n exports.warnOnce = warnOnce = (msg)=>{\n if (!warnings.has(msg)) {\n console.warn(msg);\n }\n warnings.add(msg);\n };\n}\nexports.warnOnce = warnOnce;\n\n//# sourceMappingURL=warn-once.js.map","import '@babel/polyfill';\nimport React, {Fragment} from 'react'\nimport PropTypes from 'prop-types'\nimport Router from 'next/router';\nimport dynamic from 'next/dynamic';\nimport Head from 'next/head';\nimport Block from '../adapters/helpers/Block';\nimport { customJsonstringify, getCanonicalURL } from '../adapters/helpers/Utils';\nconst Meta = dynamic(()=>import('../components/Meta/Meta'))\nimport ImageFactory from '../adapters/cloudinary/ImageFactory';\nimport { setViewed } from '../persistence/recentlyViewed'\nimport contentfulClient from '../adapters/model/ContentfulClient';\nimport { MetaConstants } from '../adapters/helpers/Constants';\nimport { BazaarVoiceConstants } from '../adapters/helpers/Constants';\nimport { OrganizationConstants, ComponentFactoryConstants } from '../adapters/helpers/Constants';\nimport { addBVScript, addBVProductPageCallback, handleClickToScrollToRnR } from '../adapters/helpers/Utils';\nconst GTMScriptFunction = dynamic(() => import('../components/GTMScriptFunction'));\nimport { optimizeImage } from '../adapters/helpers/pagespeedHelper';\n\nclass Product extends React.Component {\n\n componentDidMount() {\n const slug = this.props?.slug;\n const product = this.getProduct();\n if(slug) {\n setViewed(slug);\n }\n\n Router.beforePopState(({as}) => {\n location.href = as;\n });\n\n addBVScript();\n addBVProductPageCallback(product?.name);\n handleClickToScrollToRnR();\n }\n\n static async getInitialProps({ asPath }) {\n const client = await contentfulClient.getClient();\n const locales = await client.getLocales();\n const defaultLocale = locales.items.find(locale => locale.default);\n const countryCode = defaultLocale.code.slice(-2);\n const languageCode = defaultLocale.code.substring(0, 2);\n\n let baseProps = await this.initPage(asPath);\n baseProps.countryCode = countryCode;\n baseProps.languageCode = languageCode;\n return {\n ...baseProps\n }\n }\n\n static async initPage(slug) {\n let product = undefined;\n\n // Errors pages doesn't have a page entry in Contentful CMS\n\n if (slug) {\n const { default: productDao } = await import('Model/dao/ProductDao');\n product = await productDao.getActiveProductBySlug(slug);\n }\n let newProducts = product;\n newProducts?.fields?.blocks[0]?.fields?.blocks[1]?.fields?.blocks.map((blocksArr)=>{\n if(blocksArr?.fields?.contentType == ComponentFactoryConstants.ProductHighlights && blocksArr?.fields?.background?.fields){\n blocksArr.fields.background.fields.isBannerImage = true;\n }else if(blocksArr.fields.devicesConfigurations){\n blocksArr.fields.devicesConfigurations.map((devices)=>{\n if(devices.fields.backgroundAsset && devices.fields.backgroundAsset.fields){\n devices.fields.backgroundAsset.fields.isBannerImage = true;\n }\n })\n }\n })\n if(newProducts?.fields?.productOverview?.fields?.mainAsset?.fields){\n newProducts.fields.productOverview.fields.mainAsset.fields.isBannerImage = true;\n }\n\n return {'product' : newProducts, 'slug' : slug};\n }\n\n constructor(props) {\n super(props);\n }\n\n /**\n * Rendering of the page. This always render the page using a common layout.\n *\n * Override the render method to do otherwise.\n *\n * @returns {*}\n */\n render() {\n let product = this.getProduct();\n let pagePath = product?.productOverview?.fields?.slug?.fields?.slug;\n\n let productVariants = product?.productOverview?.fields?.productVariants;\n let productVariant = {}\n if (productVariants) {\n productVariant = productVariants[0];\n }\n let metaData = this.getMetadata()\n if(metaData){\n metaData.pageType = 'product'\n }\n return (\n <Fragment>\n <Meta metadata={metaData} pagePath={pagePath}/>\n <div className='ob-wrapper'>\n {this.renderBody()}\n </div>\n <GTMScriptFunction languageCode={this.props.languageCode} countryCode={this.props.countryCode} productVariant={productVariant} />\n {this.renderBazaarVoiceDynamicCatalogCollectionScript()}\n </Fragment>\n )\n }\n\n getProduct() {\n return this.props?.product?.fields;\n }\n\n getMetadata() {\n return this.props?.product?.fields?.metadata?.fields\n }\n\n /**\n * By default, the page will render the modules of the Product.\n * Can be overridden on the child class to do specific rendering.\n * @returns {*|void}\n */\n renderBody() {\n return new Block(this.props.product).renderChildBlocks({ extraAttributes : {entity: this.getProduct(), slug: this.props.slug}});\n }\n\n getImageUrl(image) { \n let contentImageId = image?.fields?.asset?.fields?.file?.url;\n let url = contentImageId && optimizeImage(ImageFactory.buildContentfullImageUrl(contentImageId));\n return url;\n }\n\n renderBazaarVoiceDynamicCatalogCollectionScript() {\n let product = this.getProduct();\n\n let countryCode = this.props.countryCode;\n\n let imageUrl = this.getImageUrl(product?.productOverview?.fields?.mainAsset);\n let productPageUrl = getCanonicalURL(product?.productOverview?.fields?.slug?.fields?.slug, MetaConstants.https);\n\n let productVariants = product?.productOverview?.fields?.productVariants;\n let skus = [];\n let eans = [];\n let reviewAndRatingId;\n if (productVariants) {\n for (let i = 0; i < productVariants.length; i++) {\n let productVariant = productVariants[i];\n\n let sku = productVariant?.fields?.sku;\n let ean = productVariant?.fields?.ean;\n\n if (ean) {\n if(this.isValidBarcode(ean)) {\n if (ean.length == 13) {\n eans.push(ean);\n }\n }\n }\n\n if(sku) {\n if(this.isValidBarcode(sku)) {\n if (sku.length == 12) {\n skus.push(sku);\n }\n // EANs have been put in the SKU fields of product variant in contentful\n // add sku to ean list if sku is a ean code(length of 13).\n if (sku.length == 13) {\n if (!eans.includes(sku)) {\n eans.push(sku);\n }\n }\n }\n }\n\n if (productVariant.fields.isBazaarVoiceIdentifier) {\n reviewAndRatingId = productVariant?.fields?.bazaarVoiceId;\n // if reviewAndRatingId is null use sku/ean\n if (reviewAndRatingId === undefined) {\n if (sku) {\n reviewAndRatingId = sku;\n } else if (sku === undefined) {\n reviewAndRatingId = ean;\n }\n if (reviewAndRatingId === undefined) {\n console.error('No reviewAndRatingId specified for product variant Bazaar Voice identifier:',\n productVariant?.fields?.name);\n }\n }\n }\n }\n }\n\n // product\n let dccProduct = {\n 'productId': reviewAndRatingId,\n 'productName': product?.name,\n 'productDescription': product?.productOverview?.fields?.description,\n 'productImageURL': imageUrl,\n 'productPageURL': productPageUrl,\n 'brandName': OrganizationConstants.brand,\n 'upcs' : skus,\n 'eans': eans\n }\n\n if(product?.productOverview?.fields?.reviewAndRatingCategory) {\n dccProduct.categoryPath = [\n {\n 'Name' : product?.productOverview?.fields?.reviewAndRatingCategory\n }\n ]\n }\n\n // Catalog\n let catalogProducts = [];\n catalogProducts.push(dccProduct);\n\n\n // Family and Bazaar voice master product values\n let reviewAndRatingFamilyId = product?.productOverview?.fields?.reviewAndRatingFamilyId;\n\n if (reviewAndRatingFamilyId) {\n let familyJson = [{\n 'id': reviewAndRatingFamilyId,\n 'expand': false\n }];\n dccProduct.families = familyJson;\n // Master product\n let masterProductId = getBazaarVoiceMasterProductId(reviewAndRatingFamilyId);\n let masterProductName = getBazaarVoiceMasterProductName(reviewAndRatingFamilyId);\n\n let masterProductJson = {\n 'productId': masterProductId,\n 'productName': masterProductName,\n 'productPageURL': productPageUrl,\n 'upcs' : skus,\n 'eans': eans,\n 'families': [{\n 'id': reviewAndRatingFamilyId,\n 'expand': true\n }]\n }\n catalogProducts.push(masterProductJson)\n }\n\n let languageCode = this.props.languageCode;\n let bazaarVoiceLocale = languageCode + '_' + countryCode;\n let catalogProductsString = customJsonstringify(catalogProducts);\n\n let render;\n // do not render if we no productID\n if(reviewAndRatingId) {\n render = <Fragment>\n <script defer dangerouslySetInnerHTML={{\n __html: `window.bvDCC = {\n catalogData: {\n locale: '${bazaarVoiceLocale}',\n catalogProducts: ${catalogProductsString}\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 };`\n }}>\n </script>\n </Fragment> ;\n }\n\n return render;\n }\n\n isValidBarcode(barcode) {\n // check length\n if (barcode.length != 12 && barcode.length != 13) {\n return false;\n }\n\n var lastDigit = Number(barcode.substring(barcode.length - 1));\n var checkSum;\n if (isNaN(lastDigit)) { return false; } // not a valid upc/ean\n\n var arr = barcode.substring(0,barcode.length - 1).split('').reverse();\n var oddTotal = 0, evenTotal = 0;\n\n for (var i=0; i<arr.length; i++) {\n if (isNaN(arr[i])) { return false; } // can't be a valid upc/ean we're checking for\n\n if (i % 2 == 0) { oddTotal += Number(arr[i]) * 3; }\n else { evenTotal += Number(arr[i]); }\n }\n checkSum = (10 - ((evenTotal + oddTotal) % 10)) % 10;\n\n // true if they are equal\n return checkSum == lastDigit;\n }\n\n}\n\nexport function getBazaarVoiceMasterProductId(reviewAndRatingFamilyId) {\n let masterProductId = BazaarVoiceConstants.masterProductIdPrefix + reviewAndRatingFamilyId;\n return masterProductId;\n}\n\nexport function getBazaarVoiceMasterProductName(reviewAndRatingFamilyId) {\n let masterProductName = BazaarVoiceConstants.masterProductNamePrefix + reviewAndRatingFamilyId;\n return masterProductName;\n}\n\nProduct.propTypes = {\n product: PropTypes.object,\n countryCode: PropTypes.string,\n languageCode: PropTypes.string,\n slug: PropTypes.any,\n url: PropTypes.shape({\n asPath: PropTypes.string,\n })\n}\n\nexport default Product\n","\nconst LOCAL_STORAGE_KEYS = {\n RECENTLY_VIEWED_PRODUCTS: 'RECENTLY_VIEWED_PRODUCTS',\n}\nexport function localStorageRemoveItem(item) {\n return localStorage.removeItem(item)\n}\n\nexport function localStorageGetItem(item) {\n return localStorage.getItem(item)\n}\n\nexport function localStorageSetItem(item,itemType) {\n return localStorage.setItem(item, itemType);\n}\n\nexport { LOCAL_STORAGE_KEYS };","import { LOCAL_STORAGE_KEYS } from './localStorage';\nimport { first } from '../adapters/helpers/functions';\nimport { customJsonstringify } from '../adapters/helpers/Utils';\n\nconst PRODUCT_PERSISTENCE_LIFESPAN_MILLISECONDS = 30 * 24 * 60 * 60 * 1000;\n\nfunction findProductIndex(products, id) {\n for(let i = 0; i < products.length; i++) {\n const product = products[i];\n\n if(product.id === id) {\n return i;\n }\n }\n\n return undefined;\n}\n\nfunction filterExpiredProducts(products) {\n return products.filter(({expiral}) =>\n new Date(expiral).getTime() > new Date().getTime())\n}\n\n\n// TODO: Remove in prod (Used for data consistency between changes)\nfunction isProductsDataValid(products) {\n if(!Array.isArray(products)) { return false; }\n\n for(let i = 0; i < products.length; i++) {\n const product = products[i];\n\n if(!product) { return false; }\n\n if(!product.hasOwnProperty('id')) { return false; }\n if(!product.hasOwnProperty('expiral')) { return false; }\n\n if(!(typeof product.id === 'string')) { return false; }\n if(!(typeof product.expiral === 'number')) { return false; }\n }\n return true;\n}\n\nexport function setViewed(id) {\n if((typeof localStorage !== 'undefined') && localStorage.setItem) {\n const products = getProducts();\n\n // Remove already viewed product\n const productsWithoutCurrentProduct = products.slice();\n const currentProductIndex = findProductIndex(products, id);\n\n if(currentProductIndex !== undefined) {\n productsWithoutCurrentProduct.splice(currentProductIndex, 1);\n }\n\n // Filter expirered products\n const expiralFilteredProduct = filterExpiredProducts(productsWithoutCurrentProduct);\n\n // Add id to first place\n const nextProducts = first([\n { id, expiral: (new Date().getTime() + PRODUCT_PERSISTENCE_LIFESPAN_MILLISECONDS)},\n ...expiralFilteredProduct\n ], 3);\n\n localStorage.setItem(LOCAL_STORAGE_KEYS.RECENTLY_VIEWED_PRODUCTS, customJsonstringify(nextProducts));\n }\n}\n\nexport function getProducts() {\n if((typeof localStorage !== 'undefined') && localStorage.getItem) {\n const json = localStorage.getItem(LOCAL_STORAGE_KEYS.RECENTLY_VIEWED_PRODUCTS);\n\n if(json !== null) {\n try {\n const products = JSON.parse(json);\n\n // TODO: Remove in prod\n if(!isProductsDataValid(products)) { return [];}\n\n return filterExpiredProducts(products);\n } catch(_e) {\n // Do nothing or log error\n }\n }\n }\n\n return [];\n}\n\nexport function removeProduct(id) {\n if((typeof localStorage !== 'undefined') && localStorage.setItem) {\n const products = getProducts();\n\n // Remove product\n const productsWithoutCurrentProduct = products.slice();\n const currentProductIndex = findProductIndex(products, id);\n\n if(currentProductIndex !== undefined) {\n productsWithoutCurrentProduct.splice(currentProductIndex, 1);\n }\n\n // Filter expirered products\n const expiralFilteredProduct = filterExpiredProducts(productsWithoutCurrentProduct);\n\n localStorage.setItem(LOCAL_STORAGE_KEYS.RECENTLY_VIEWED_PRODUCTS, customJsonstringify(expiralFilteredProduct));\n }\n}\n","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/product\",\n function () {\n return require(\"private-next-pages/product.js\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/product\"])\n });\n }\n ","module.exports = require('./dist/shared/lib/head')\n","(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5345],{61986:function(e,t,n){\"use strict\";function r(e,t){if(!Array.isArray(e)||0===e.length||!Number.isInteger(t)||0===t)return[];for(var n=[],r=[],i=0;i<e.length;i++)r.push(e[i]),(i+1)%t==0&&(n.push(r),r=[]);return r.length>0&&n.push(r),n}function i(e){if(Array.isArray(e)){for(var t=void 0,n=0;n<e.length;n++){var r=e[n];\"number\"==typeof r&&(void 0===t||r<t)&&(t=r)}return t}}function u(e,t){return!Array.isArray(e)||t<=0?[]:t>=e.length?e.slice():e.slice(0,t)}function a(e){var t=!1;return e&&e instanceof Date?t=new Date>e:e&&(t=new Date>new Date(e)),t}function o(e){return!!e&&e.constructor===Object}function l(e,t){if(Array.isArray(e)&&\"function\"==typeof t)for(var n=0;n<e.length;n++){if(t(e[n]))return n}}function c(e){return e.replace(/&/g,\"&\").replace(/</g,\"<\").replace(/>/g,\">\").replace(/\"/g,\""\").replace(/'/g,\"'\")}function s(e,t,n){return e.slice(0,t)+(e.length>t&&n?\"...\":\"\")}n.d(t,{Kn:function(){return o},LT:function(){return i},Ps:function(){return u},Xv:function(){return c},cx:function(){return l},dV:function(){return s},en:function(){return a},yo:function(){return r}})},57503:function(e,t,n){\"use strict\";var r=n(49376),i=n.n(r),u=n(33227),a=n.n(u),o=n(88361),l=n.n(o),c=n(87794),s=n.n(c),d=n(96454),f=function(){function e(){a()(this,e),this.personalAccessToken=\"\",this.deliveryAccessToken=\"98n-XsE3-TWhr-b_aHbb9og3-bxgKT5Upq7lyXO1Mxs\",this.spaceId=\"2gbekol4uxxy\",this.environmentId=\"master\",this.deliveryAccessToken&&\"\"!==this.deliveryAccessToken&&(this.contentfulClient=d.createClient({space:this.spaceId,accessToken:this.deliveryAccessToken,environment:this.environmentId}))}var t;return l()(e,[{key:\"getPersonalAccessToken\",value:function(){return this.personalAccessToken}},{key:\"getDeliveryAccessToken\",value:function(){return this.deliveryAccessToken}},{key:\"getSpaceId\",value:function(){return this.spaceId}},{key:\"getEnvironmentId\",value:function(){return this.environmentId}},{key:\"getClient\",value:(t=i()(s().mark((function e(){return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt(\"return\",this.contentfulClient);case 1:case\"end\":return e.stop()}}),e,this)}))),function(){return t.apply(this,arguments)})}],[{key:\"create\",value:function(){return new e}}]),e}();t.Z=new f},83582:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.AmpStateContext=void 0;var r=(0,n(92648).Z)(n(67294)).default.createContext({});t.AmpStateContext=r},80354:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.isInAmpMode=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.ampFirst,n=void 0!==t&&t,r=e.hybrid,i=void 0!==r&&r,u=e.hasQuery,a=void 0!==u&&u;return n||i&&a}},16505:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.defaultHead=s,t.default=void 0;var r=n(6495).Z,i=n(92648).Z,u=(0,n(91598).Z)(n(67294)),a=i(n(70148)),o=n(83582),l=n(60523),c=n(80354);n(92783);function s(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[u.default.createElement(\"meta\",{charSet:\"utf-8\"})];return e||t.push(u.default.createElement(\"meta\",{name:\"viewport\",content:\"width=device-width\"})),t}function d(e,t){return\"string\"==typeof t||\"number\"==typeof t?e:t.type===u.default.Fragment?e.concat(u.default.Children.toArray(t.props.children).reduce((function(e,t){return\"string\"==typeof t||\"number\"==typeof t?e:e.concat(t)}),[])):e.concat(t)}var f=[\"name\",\"httpEquiv\",\"charSet\",\"itemProp\"];function p(e,t){var n,i,a,o,l=t.inAmpMode;return e.reduce(d,[]).reverse().concat(s(l).reverse()).filter((n=new Set,i=new Set,a=new Set,o={},function(e){var t=!0,r=!1;if(e.key&&\"number\"!=typeof e.key&&e.key.indexOf(\"$\")>0){r=!0;var u=e.key.slice(e.key.indexOf(\"$\")+1);n.has(u)?t=!1:n.add(u)}switch(e.type){case\"title\":case\"base\":i.has(e.type)?t=!1:i.add(e.type);break;case\"meta\":for(var l=0,c=f.length;l<c;l++){var s=f[l];if(e.props.hasOwnProperty(s))if(\"charSet\"===s)a.has(s)?t=!1:a.add(s);else{var d=e.props[s],p=o[s]||new Set;\"name\"===s&&r||!p.has(d)?(p.add(d),o[s]=p):t=!1}}}return t})).reverse().map((function(e,t){var n=e.key||t;if(!l&&\"link\"===e.type&&e.props.href&&[\"https://fonts.googleapis.com/css\",\"https://use.typekit.net/\"].some((function(t){return e.props.href.startsWith(t)}))){var i=r({},e.props||{});return i[\"data-href\"]=i.href,i.href=void 0,i[\"data-optimized-fonts\"]=!0,u.default.cloneElement(e,i)}return u.default.cloneElement(e,{key:n})}))}var v=function(e){var t=e.children,n=u.useContext(o.AmpStateContext),r=u.useContext(l.HeadManagerContext);return u.default.createElement(a.default,{reduceComponentsToState:p,headManager:r,inAmpMode:c.isInAmpMode(n)},t)};t.default=v,(\"function\"==typeof t.default||\"object\"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,\"__esModule\",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},70148:function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e){var t=e.headManager,n=e.reduceComponentsToState;function o(){if(t&&t.mountedInstances){var i=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(i,e))}}if(i){var l;null==t||null==(l=t.mountedInstances)||l.add(e.children),o()}return u((function(){var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),function(){var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}})),u((function(){return t&&(t._pendingUpdate=o),function(){t&&(t._pendingUpdate=o)}})),a((function(){return t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),function(){t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)}})),null};var r=(0,n(91598).Z)(n(67294));var i=!1,u=i?function(){}:r.useLayoutEffect,a=i?function(){}:r.useEffect},92783:function(e,t){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.warnOnce=void 0;t.warnOnce=function(e){}},77331:function(e,t,n){\"use strict\";n.r(t),n.d(t,{getBazaarVoiceMasterProductId:function(){return M},getBazaarVoiceMasterProductName:function(){return V}});var r=n(930),i=n.n(r),u=n(49376),a=n.n(u),o=n(33227),l=n.n(o),c=n(88361),s=n.n(c),d=n(85971),f=n.n(d),p=n(52715),v=n.n(p),g=n(91193),h=n.n(g),y=n(87794),m=n.n(y),b=(n(26981),n(67294)),w=n(11163),k=n.n(w),P=n(5152),C=n.n(P),O=(n(9008),n(40483)),I=n(8996),_=n(42456),A=n(88755),x=n(57503),S=n(24036),E=n(19271),D=n(85893);function T(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(Object(n),!0).forEach((function(t){i()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function j(e){var t=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h()(e);if(t){var i=h()(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return v()(this,n)}}var U=C()((function(){return n.e(2552).then(n.bind(n,23140))}),{loadableGenerated:{webpack:function(){return[23140]}}}),R=C()((function(){return Promise.all([n.e(9238),n.e(7667)]).then(n.bind(n,37667))}),{loadableGenerated:{webpack:function(){return[37667]}}}),B=function(e){f()(u,e);var t,r,i=j(u);function u(e){return l()(this,u),i.call(this,e)}return s()(u,[{key:\"componentDidMount\",value:function(){var e,t=null==(e=this.props)?void 0:e.slug,n=this.getProduct();t&&(0,A.OS)(t),k().beforePopState((function(e){var t=e.as;location.href=t})),(0,I.Jy)(),(0,I.FS)(null==n?void 0:n.name),(0,I.lU)()}},{key:\"render\",value:function(){var e,t,n,r,i,u,a=this.getProduct(),o=null==a||null==(e=a.productOverview)||null==(t=e.fields)||null==(n=t.slug)||null==(r=n.fields)?void 0:r.slug,l=null==a||null==(i=a.productOverview)||null==(u=i.fields)?void 0:u.productVariants,c={};l&&(c=l[0]);var s=this.getMetadata();return s&&(s.pageType=\"product\"),(0,D.jsxs)(b.Fragment,{children:[(0,D.jsx)(U,{metadata:s,pagePath:o}),(0,D.jsx)(\"div\",{className:\"ob-wrapper\",children:this.renderBody()}),(0,D.jsx)(R,{languageCode:this.props.languageCode,countryCode:this.props.countryCode,productVariant:c}),this.renderBazaarVoiceDynamicCatalogCollectionScript()]})}},{key:\"getProduct\",value:function(){var e,t;return null==(e=this.props)||null==(t=e.product)?void 0:t.fields}},{key:\"getMetadata\",value:function(){var e,t,n,r;return null==(e=this.props)||null==(t=e.product)||null==(n=t.fields)||null==(r=n.metadata)?void 0:r.fields}},{key:\"renderBody\",value:function(){return new O.Z(this.props.product).renderChildBlocks({extraAttributes:{entity:this.getProduct(),slug:this.props.slug}})}},{key:\"getImageUrl\",value:function(e){var t,n,r,i,u=null==e||null==(t=e.fields)||null==(n=t.asset)||null==(r=n.fields)||null==(i=r.file)?void 0:i.url;return u&&(0,E.H)(_.ZP.buildContentfullImageUrl(u))}},{key:\"renderBazaarVoiceDynamicCatalogCollectionScript\",value:function(){var e,t,n,r,i,u,a,o,l,c,s,d,f,p,v,g=this.getProduct(),h=this.props.countryCode,y=this.getImageUrl(null==g||null==(e=g.productOverview)||null==(t=e.fields)?void 0:t.mainAsset),m=(0,I.DN)(null==g||null==(n=g.productOverview)||null==(r=n.fields)||null==(i=r.slug)||null==(u=i.fields)?void 0:u.slug,S.FU.https),w=null==g||null==(a=g.productOverview)||null==(o=a.fields)?void 0:o.productVariants,k=[],P=[];if(w)for(var C=0;C<w.length;C++){var O,_,A,x,E=w[C],T=null==E||null==(O=E.fields)?void 0:O.sku,N=null==E||null==(_=E.fields)?void 0:_.ean;if(N&&this.isValidBarcode(N)&&13==N.length&&P.push(N),T&&this.isValidBarcode(T)&&(12==T.length&&k.push(T),13==T.length&&(P.includes(T)||P.push(T))),E.fields.isBazaarVoiceIdentifier)if(void 0===(v=null==E||null==(A=E.fields)?void 0:A.bazaarVoiceId))if(T?v=T:void 0===T&&(v=N),void 0===v)console.error(\"No reviewAndRatingId specified for product variant Bazaar Voice identifier:\",null==E||null==(x=E.fields)?void 0:x.name)}var j,U,R={productId:v,productName:null==g?void 0:g.name,productDescription:null==g||null==(l=g.productOverview)||null==(c=l.fields)?void 0:c.description,productImageURL:y,productPageURL:m,brandName:S.XI.brand,upcs:k,eans:P};(null==g||null==(s=g.productOverview)||null==(d=s.fields)?void 0:d.reviewAndRatingCategory)&&(R.categoryPath=[{Name:null==g||null==(j=g.productOverview)||null==(U=j.fields)?void 0:U.reviewAndRatingCategory}]);var B=[];B.push(R);var L=null==g||null==(f=g.productOverview)||null==(p=f.fields)?void 0:p.reviewAndRatingFamilyId;if(L){var Z=[{id:L,expand:!1}];R.families=Z;var z={productId:M(L),productName:V(L),productPageURL:m,upcs:k,eans:P,families:[{id:L,expand:!0}]};B.push(z)}var F,H=this.props.languageCode+\"_\"+h,W=(0,I.Zl)(B);return v&&(F=(0,D.jsx)(b.Fragment,{children:(0,D.jsx)(\"script\",{defer:!0,dangerouslySetInnerHTML:{__html:\"window.bvDCC = {\\n catalogData: {\\n locale: '\".concat(H,\"',\\n catalogProducts: \").concat(W,\"\\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 };\")}})})),F}},{key:\"isValidBarcode\",value:function(e){if(12!=e.length&&13!=e.length)return!1;var t=Number(e.substring(e.length-1));if(isNaN(t))return!1;for(var n=e.substring(0,e.length-1).split(\"\").reverse(),r=0,i=0,u=0;u<n.length;u++){if(isNaN(n[u]))return!1;u%2==0?r+=3*Number(n[u]):i+=Number(n[u])}return(10-(i+r)%10)%10==t}}],[{key:\"getInitialProps\",value:(r=a()(m().mark((function e(t){var n,r,i,u,a,o,l;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.asPath,e.next=3,x.Z.getClient();case 3:return r=e.sent,e.next=6,r.getLocales();case 6:return i=e.sent,u=i.items.find((function(e){return e.default})),a=u.code.slice(-2),o=u.code.substring(0,2),e.next=12,this.initPage(n);case 12:return(l=e.sent).countryCode=a,l.languageCode=o,e.abrupt(\"return\",N({},l));case 16:case\"end\":return e.stop()}}),e,this)}))),function(e){return r.apply(this,arguments)})},{key:\"initPage\",value:(t=a()(m().mark((function e(t){var r,i,u,a,o,l,c,s,d,f,p,v,g;return m().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(f=void 0,!t){e.next=9;break}return e.next=4,n.e(2817).then(n.bind(n,42817));case 4:return p=e.sent,v=p.default,e.next=8,v.getActiveProductBySlug(t);case 8:f=e.sent;case 9:return null==(g=f)||null==(r=g.fields)||null==(i=r.blocks[0])||null==(u=i.fields)||null==(a=u.blocks[1])||null==(o=a.fields)||o.blocks.map((function(e){var t,n,r;(null==e||null==(t=e.fields)?void 0:t.contentType)==S.a9.ProductHighlights&&(null==e||null==(n=e.fields)||null==(r=n.background)?void 0:r.fields)?e.fields.background.fields.isBannerImage=!0:e.fields.devicesConfigurations&&e.fields.devicesConfigurations.map((function(e){e.fields.backgroundAsset&&e.fields.backgroundAsset.fields&&(e.fields.backgroundAsset.fields.isBannerImage=!0)}))})),(null==g||null==(l=g.fields)||null==(c=l.productOverview)||null==(s=c.fields)||null==(d=s.mainAsset)?void 0:d.fields)&&(g.fields.productOverview.fields.mainAsset.fields.isBannerImage=!0),e.abrupt(\"return\",{product:g,slug:t});case 13:case\"end\":return e.stop()}}),e)}))),function(e){return t.apply(this,arguments)})}]),u}(b.Component);function M(e){return S.Uo.masterProductIdPrefix+e}function V(e){return S.Uo.masterProductNamePrefix+e}t.default=B},77005:function(e,t,n){\"use strict\";n.d(t,{A6:function(){return a},GQ:function(){return u},dA:function(){return r},q:function(){return i}});var r={RECENTLY_VIEWED_PRODUCTS:\"RECENTLY_VIEWED_PRODUCTS\"};function i(e){return localStorage.removeItem(e)}function u(e){return localStorage.getItem(e)}function a(e,t){return localStorage.setItem(e,t)}},88755:function(e,t,n){\"use strict\";n.d(t,{OS:function(){return s},Xp:function(){return d},kh:function(){return f}});var r=n(7980),i=n.n(r),u=n(77005),a=n(61986),o=n(8996);function l(e,t){for(var n=0;n<e.length;n++){if(e[n].id===t)return n}}function c(e){return e.filter((function(e){var t=e.expiral;return new Date(t).getTime()>(new Date).getTime()}))}function s(e){if(\"undefined\"!=typeof localStorage&&localStorage.setItem){var t=d(),n=t.slice(),r=l(t,e);void 0!==r&&n.splice(r,1);var s=c(n),f=(0,a.Ps)([{id:e,expiral:(new Date).getTime()+2592e6}].concat(i()(s)),3);localStorage.setItem(u.dA.RECENTLY_VIEWED_PRODUCTS,(0,o.Zl)(f))}}function d(){if(\"undefined\"!=typeof localStorage&&localStorage.getItem){var e=localStorage.getItem(u.dA.RECENTLY_VIEWED_PRODUCTS);if(null!==e)try{var t=JSON.parse(e);return function(e){if(!Array.isArray(e))return!1;for(var t=0;t<e.length;t++){var n=e[t];if(!n)return!1;if(!n.hasOwnProperty(\"id\"))return!1;if(!n.hasOwnProperty(\"expiral\"))return!1;if(\"string\"!=typeof n.id)return!1;if(\"number\"!=typeof n.expiral)return!1}return!0}(t)?c(t):[]}catch(e){}}return[]}function f(e){if(\"undefined\"!=typeof localStorage&&localStorage.setItem){var t=d(),n=t.slice(),r=l(t,e);void 0!==r&&n.splice(r,1);var i=c(n);localStorage.setItem(u.dA.RECENTLY_VIEWED_PRODUCTS,(0,o.Zl)(i))}}},71634:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push([\"/product\",function(){return n(77331)}])},9008:function(e,t,n){e.exports=n(16505)}},function(e){e.O(0,[1876,6454,5609,9774,2888,179],(function(){return t=71634,e(e.s=t);var t}));var t=e.O();_N_E=t}]);"],"names":["self","webpackChunk_N_E","push","e","t","n","r","Array","isArray","length","Number","isInteger","i","u","slice","a","Date","o","constructor","Object","l","c","replace","s","d","Kn","LT","Ps","Xv","cx","dV","en","yo","f","personalAccessToken","deliveryAccessToken","spaceId","environmentId","contentfulClient","createClient","space","accessToken","environment","key","value","mark","wrap","prev","next","abrupt","stop","apply","arguments","Z","defineProperty","AmpStateContext","default","createContext","isInAmpMode","ampFirst","hybrid","hasQuery","defaultHead","createElement","charSet","name","content","type","Fragment","concat","Children","toArray","props","children","reduce","p","inAmpMode","reverse","filter","Set","indexOf","has","add","hasOwnProperty","map","href","some","startsWith","cloneElement","useContext","HeadManagerContext","reduceComponentsToState","headManager","__esModule","assign","exports","mountedInstances","from","Boolean","updateHead","delete","_pendingUpdate","useLayoutEffect","useEffect","warnOnce","getBazaarVoiceMasterProductId","M","getBazaarVoiceMasterProductName","V","v","g","h","y","m","b","w","k","P","C","O","I","_","A","x","S","E","D","T","keys","getOwnPropertySymbols","getOwnPropertyDescriptor","enumerable","U","then","bind","loadableGenerated","webpack","R","Promise","all","B","Reflect","construct","sham","Proxy","prototype","valueOf","call","slug","getProduct","OS","beforePopState","as","location","Jy","FS","lU","productOverview","fields","productVariants","getMetadata","pageType","jsxs","jsx","metadata","pagePath","className","renderBody","languageCode","countryCode","productVariant","renderBazaarVoiceDynamicCatalogCollectionScript","product","renderChildBlocks","extraAttributes","entity","asset","file","url","H","ZP","buildContentfullImageUrl","getImageUrl","mainAsset","DN","FU","https","sku","N","ean","isValidBarcode","includes","isBazaarVoiceIdentifier","bazaarVoiceId","console","error","j","productId","productName","productDescription","description","productImageURL","productPageURL","brandName","XI","brand","upcs","eans","reviewAndRatingCategory","categoryPath","Name","L","reviewAndRatingFamilyId","families","id","expand","z","F","W","Zl","defer","dangerouslySetInnerHTML","__html","substring","isNaN","split","asPath","getClient","sent","getLocales","items","find","code","initPage","forEach","getOwnPropertyDescriptors","defineProperties","getActiveProductBySlug","blocks","contentType","a9","ProductHighlights","background","isBannerImage","devicesConfigurations","backgroundAsset","Component","Uo","masterProductIdPrefix","masterProductNamePrefix","A6","GQ","dA","q","RECENTLY_VIEWED_PRODUCTS","localStorage","removeItem","getItem","setItem","Xp","kh","expiral","getTime","splice","JSON","parse","window","__NEXT_P","_N_E"],"sourceRoot":""}