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AE,CAAA/S,MAAOC,OAAP,CAAA8S,UAAe,SAEL,IACrC,IAAM3S,EAAO,EAAGA,EAAA2S,SAAhBxT,MAAA,CAAAa,IAAA,KAAAkI,QAAAyK,QAAA,CAAA3S,EAAA,CAEa,GAAE,CAAAkI,SAEqB,CAAAA,QAAOyL,cAAP,QACK,CAAAzL,QAAOyL,cAAP,aAED,iBAAOzL,QAAP0K,EAAA,EACK,iBAAO1K,QAAP4K,OAAA,CANf,SASrC,UAoCoDH,UAAW,SAGlD,OAAME,sBACJF,SACH,OAAAiB,GAAA,CACJ,CACJ,OAGJ,GAEiC,SAC1BxB,cAAOQ,EAAP,EAA8D,GAC9D,oBAAMf,cAENA,aAAAI,OAAA,MAAAU,SAAAR,cAEMa,8BAAsBL,SAAiBrS,KAAA,GAA7C2S,oBAAAP,iBAAAC,SAAAC,GAGIxT,MAAAA,IAAA6T,qBAGJD,8BAAAE,MAAA,CAAAD,oBAAA,GAGA,IAAAE,uBAAqBN,sBAAAG,+BACxBnB,aAAAI,OAAA,CAAAM,2CAAAe,EAAA,CAAA3B,wBAAA,IAAAc,qDAAAc,EAAA,EAAAJ,wBACJ,mBAAA5U,uBAAA,CAAAR,wBAAA,CAAAC,mBAAA,ECvGD,CAAA6V,OAAAC,QAAA,CAAAD,OAAAC,QAAA,MAAAjW,IAAA,EACA,WACA,UAAe,CACf,OAAAG,oBAAA,MACA,EACA,CAKA,gBAAAF,MAAA,CAAAC,wBAAA,CAAAC,mBAAA,ECZkDF,OAAAM,OAAA,CAAAJ,oBAAA,uBAAAF,MAAA,CAAAC,wBAAA,CAAAC,mBAAA,ECAFF,OAAAM,OAAA,CAAAJ,oBAAA,kBAAAA,mBAAA,EAAAA,oBAAA+V,CAAA,2EAAA/V,oBAAAA,oBAAAgW,CAAA,UAAAC,KAAAjW,oBAAA+V,CAAA","sources":["webpack://_N_E/./node_modules/core-js/internals/is-integer.js","webpack://_N_E/./node_modules/core-js/modules/es.number.is-integer.js","webpack://_N_E/./adapters/cloudinary/ImageFactory.js","webpack://_N_E/./adapters/helpers/functions.js","webpack://_N_E/./adapters/helpers/pagespeedHelper.js","webpack://_N_E/./adapters/model/ContentfulClient.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/./node_modules/next/router.js","webpack://_N_E/"],"sourcesContent":["var isObject = require('../internals/is-object');\n\nvar floor = Math.floor;\n\n// `Number.isInteger` method implementation\n// https://tc39.github.io/ecma262/#sec-number.isinteger\nmodule.exports = function isInteger(it) {\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n","var $ = require('../internals/export');\nvar isInteger = require('../internals/is-integer');\n\n// `Number.isInteger` method\n// https://tc39.github.io/ecma262/#sec-number.isinteger\n$({ target: 'Number', stat: true }, {\n isInteger: isInteger\n});\n","export function buildContentfullImageUrl(assetUrl, transformations) {\n if (transformations) {\n return 'https:'+ assetUrl + \"?\" + transformations; \n } else {\n return 'https:'+ assetUrl; \n }\n}\n\nexport function buildContentfullImageUrlByHeight(assetUrl, height = 'auto', transformations = 'c_limit', format = 'auto') {\n return 'https:'+ assetUrl + \"?h=\"+ height;\n}\n\nexport function buildContentfullImageUrlByWidth(assetUrl, width = 'auto', transformations = 'c_limit', format = 'auto') {\n return 'https:'+ assetUrl + \"?w=\"+ width; \n}\n\nexport function imageContentfullSrc(assetUrl, transformations) {\n return buildContentfullImageUrl(assetUrl, transformations);\n}\n\nexport function imageContentfullDpr(assetUrl, transformations = '') {\n if (!transformations) {\n return buildContentfullImageUrl(assetUrl);\n }\n\n return buildContentfullImageUrl(assetUrl, transformations)\n}\n\nexport default {\n buildContentfullImageUrl,\n buildContentfullImageUrlByHeight,\n buildContentfullImageUrlByWidth,\n imageContentfullDpr,\n imageContentfullSrc, \n\n};\n","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","export const optimizeImage = (imageUrl, imageFormatValue, imageQualityValue) => {\n let imageFormat = imageFormatValue ? imageFormatValue : 'webp';\n let imageQuality = imageQualityValue ? imageQualityValue : 85;\n if((imageUrl !== undefined) && (imageUrl !== null) && (imageUrl.includes('images.ctfassets.net')) && (imageUrl.includes('fm=webp') == false) && (imageUrl.includes('.svg') == false)) {\n if(imageUrl?.includes('https')) {\n if(imageUrl?.includes('?') ) {\n imageUrl = imageUrl + `&fm=${imageFormat}` + `&q=${imageQuality}`;\n }\n else {\n imageUrl = imageUrl + `?fm=${imageFormat}` + `&q=${imageQuality}`;\n }\n }\n else {\n imageUrl = 'https:' + imageUrl\n if(imageUrl?.includes('?')) {\n imageUrl = imageUrl + `&fm=${imageFormat}` + `&q=${imageQuality}`;\n }\n else {\n imageUrl = imageUrl + `?fm=${imageFormat}` + `&q=${imageQuality}`;\n }\n }\n }\n return imageUrl;\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();","import React, {Fragment,Suspense, lazy} from 'react'\nimport PropTypes from 'prop-types';\nimport Router from 'next/router';\nimport Head from 'next/head';\nimport Block from '../adapters/helpers/Block';\nconst Loader = lazy(() => import('../adapters/helpers/Loader'));\nimport { customJsonstringify, getCanonicalURL } from '../adapters/helpers/Utils';\nconst Meta = lazy(() => 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';\nimport { optimizeImage } from '../adapters/helpers/pagespeedHelper';\nconst GTMScriptFunction = lazy(() => import('../components/GTMScriptFunction'));\nclass Product extends React.Component {\n\n componentDidMount() {\n const slug = this.props?.slug;\n const product = this.getProduct();\n\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 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 }>\n \n }>\n \n \n \n {this.renderBazaarVoiceDynamicCatalogCollectionScript()}\n \n
\n }>{this.renderBody()}\n
\n }>\n \n \n
\n
\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 = \n \n ;\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 let lastDigit = Number(barcode.substring(barcode.length - 1));\n let checkSum;\n if (isNaN(lastDigit)) { return false; } // not a valid upc/ean\n\n let arr = barcode.substring(0,barcode.length - 1).split('').reverse();\n let oddTotal = 0, evenTotal = 0;\n\n for (let i=0; i\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, customSuperJsonStringify(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 = customSuperJsonParse(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, customSuperJsonStringify(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","module.exports = require('./dist/client/router')\n","(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[5345],{\n\n/***/ 18730:\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\nvar isObject = __webpack_require__(70111);\n\nvar floor = Math.floor;\n\n// `Number.isInteger` method implementation\n// https://tc39.github.io/ecma262/#sec-number.isinteger\nmodule.exports = function isInteger(it) {\n return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n\n\n/***/ }),\n\n/***/ 33161:\n/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {\n\nvar $ = __webpack_require__(82109);\nvar isInteger = __webpack_require__(18730);\n\n// `Number.isInteger` method\n// https://tc39.github.io/ecma262/#sec-number.isinteger\n$({ target: 'Number', stat: true }, {\n isInteger: isInteger\n});\n\n\n/***/ }),\n\n/***/ 42456:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* unused harmony exports buildContentfullImageUrl, buildContentfullImageUrlByHeight, buildContentfullImageUrlByWidth, imageContentfullSrc, imageContentfullDpr */\nfunction buildContentfullImageUrl(assetUrl, transformations) {\n if (transformations) {\n return 'https:' + assetUrl + \"?\" + transformations;\n } else {\n return 'https:' + assetUrl;\n }\n}\nfunction buildContentfullImageUrlByHeight(assetUrl) {\n var height = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'auto';\n var transformations = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'c_limit';\n var format = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'auto';\n return 'https:' + assetUrl + \"?h=\" + height;\n}\nfunction buildContentfullImageUrlByWidth(assetUrl) {\n var width = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'auto';\n var transformations = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'c_limit';\n var format = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 'auto';\n return 'https:' + assetUrl + \"?w=\" + width;\n}\nfunction imageContentfullSrc(assetUrl, transformations) {\n return buildContentfullImageUrl(assetUrl, transformations);\n}\nfunction imageContentfullDpr(assetUrl) {\n var transformations = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n\n if (!transformations) {\n return buildContentfullImageUrl(assetUrl);\n }\n\n return buildContentfullImageUrl(assetUrl, transformations);\n}\n/* harmony default export */ __webpack_exports__[\"ZP\"] = ({\n buildContentfullImageUrl: buildContentfullImageUrl,\n buildContentfullImageUrlByHeight: buildContentfullImageUrlByHeight,\n buildContentfullImageUrlByWidth: buildContentfullImageUrlByWidth,\n imageContentfullDpr: imageContentfullDpr,\n imageContentfullSrc: imageContentfullSrc\n});\n\n/***/ }),\n\n/***/ 61986:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Kn\": function() { return /* binding */ isObject; },\n/* harmony export */ \"LT\": function() { return /* binding */ minimum; },\n/* harmony export */ \"Ps\": function() { return /* binding */ first; },\n/* harmony export */ \"Xv\": function() { return /* binding */ escapeHtml; },\n/* harmony export */ \"cx\": function() { return /* binding */ findIndex; },\n/* harmony export */ \"en\": function() { return /* binding */ isLater; },\n/* harmony export */ \"yo\": function() { return /* binding */ chunk; }\n/* harmony export */ });\n/* unused harmony export flatten */\n/* harmony import */ var core_js_modules_es_number_is_integer_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(33161);\n/* harmony import */ var core_js_modules_es_number_is_integer_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_is_integer_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(9653);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(85827);\n/* harmony import */ var core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reduce_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41539);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(92222);\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(47042);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(74916);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(15306);\n/* harmony import */ var core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_replace_js__WEBPACK_IMPORTED_MODULE_7__);\n\n\n\n\n\n\n\n\nfunction chunk(items, size) {\n if (!Array.isArray(items) || items.length === 0 || !Number.isInteger(size) || size === 0) {\n return [];\n }\n\n var chunks = [];\n var chunk = [];\n\n for (var i = 0; i < items.length; i++) {\n chunk.push(items[i]);\n\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}\nfunction flatten(array) {\n if (!Array.isArray(array)) {\n return [];\n }\n\n return array.reduce(function (previous, current) {\n if (Array.isArray(current)) {\n return previous.concat(current);\n } else {\n previous.push(current);\n return previous;\n }\n }, []);\n}\nfunction minimum(array) {\n if (!Array.isArray(array)) {\n return undefined;\n }\n\n var minimum = undefined;\n\n for (var i = 0; i < array.length; i++) {\n var value = array[i];\n\n if (typeof value === 'number') {\n if (minimum === undefined || value < minimum) {\n minimum = value;\n }\n }\n }\n\n return minimum;\n} // function to return N given of items in an Array\n\nfunction first(array, n) {\n // if passed array is not an array, return empty array\n if (!Array.isArray(array) || n <= 0) {\n return [];\n } //if N number is bigger or equal slice up the entire thing\n\n\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}\nfunction isLater(value) {\n // Return true if today is after the value date\n var 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}\nfunction isObject(value) {\n return !!value && value.constructor === Object;\n}\nfunction findIndex(array, fn) {\n if (!Array.isArray(array) || !(typeof fn === 'function')) {\n return undefined;\n }\n\n for (var i = 0; i < array.length; i++) {\n var element = array[i];\n\n if (fn(element)) {\n return i;\n }\n }\n\n return undefined;\n}\nfunction escapeHtml(unsafe) {\n return unsafe.replace(/&/g, '&').replace(//g, '>').replace(/\"/g, '"').replace(/'/g, ''');\n}\n\n/***/ }),\n\n/***/ 19271:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"H\": function() { return /* binding */ optimizeImage; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(26699);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(32023);\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_1__);\n\n\nvar optimizeImage = function optimizeImage(imageUrl, imageFormatValue, imageQualityValue) {\n var imageFormat = imageFormatValue ? imageFormatValue : 'webp';\n var imageQuality = imageQualityValue ? imageQualityValue : 85;\n\n if (imageUrl !== undefined && imageUrl !== null && imageUrl.includes('images.ctfassets.net') && imageUrl.includes('fm=webp') == false && imageUrl.includes('.svg') == false) {\n var _imageUrl;\n\n if ((_imageUrl = imageUrl) == null ? void 0 : _imageUrl.includes('https')) {\n var _imageUrl2;\n\n if ((_imageUrl2 = imageUrl) == null ? void 0 : _imageUrl2.includes('?')) {\n imageUrl = imageUrl + \"&fm=\".concat(imageFormat) + \"&q=\".concat(imageQuality);\n } else {\n imageUrl = imageUrl + \"?fm=\".concat(imageFormat) + \"&q=\".concat(imageQuality);\n }\n } else {\n var _imageUrl3;\n\n imageUrl = 'https:' + imageUrl;\n\n if ((_imageUrl3 = imageUrl) == null ? void 0 : _imageUrl3.includes('?')) {\n imageUrl = imageUrl + \"&fm=\".concat(imageFormat) + \"&q=\".concat(imageQuality);\n } else {\n imageUrl = imageUrl + \"?fm=\".concat(imageFormat) + \"&q=\".concat(imageQuality);\n }\n }\n }\n\n return imageUrl;\n};\n\n/***/ }),\n\n/***/ 57503:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(49376);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(33227);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(88361);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_regenerator_index_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(87794);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_regenerator_index_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_regenerator_index_js__WEBPACK_IMPORTED_MODULE_3__);\n\n\n\n\n\nvar contentful = __webpack_require__(27244);\n\nvar ContentfulClient = /*#__PURE__*/function () {\n function ContentfulClient() {\n _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1___default()(this, ContentfulClient);\n\n this.personalAccessToken = \"\";\n this.deliveryAccessToken = \"EPqElw1-_OoK2fUrVMgLGCBfoEN_A0UKeybDdQOEUq4\";\n this.spaceId = \"v0otq6oefrzk\";\n this.environmentId = \"master\";\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 _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2___default()(ContentfulClient, [{\n key: \"getPersonalAccessToken\",\n value: function getPersonalAccessToken() {\n return this.personalAccessToken;\n }\n }, {\n key: \"getDeliveryAccessToken\",\n value: function getDeliveryAccessToken() {\n return this.deliveryAccessToken;\n }\n }, {\n key: \"getSpaceId\",\n value: function getSpaceId() {\n return this.spaceId;\n }\n }, {\n key: \"getEnvironmentId\",\n value: function getEnvironmentId() {\n return this.environmentId;\n }\n }, {\n key: \"getClient\",\n value: function () {\n var _getClient = _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0___default()( /*#__PURE__*/_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_regenerator_index_js__WEBPACK_IMPORTED_MODULE_3___default().mark(function _callee() {\n return _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_regenerator_index_js__WEBPACK_IMPORTED_MODULE_3___default().wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n return _context.abrupt(\"return\", this.contentfulClient);\n\n case 1:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n\n function getClient() {\n return _getClient.apply(this, arguments);\n }\n\n return getClient;\n }()\n }], [{\n key: \"create\",\n value: function create() {\n return new ContentfulClient();\n }\n }]);\n\n return ContentfulClient;\n}();\n\n/* harmony default export */ __webpack_exports__[\"Z\"] = (new ContentfulClient());\n\n/***/ }),\n\n/***/ 77331:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"getBazaarVoiceMasterProductId\": function() { return /* binding */ getBazaarVoiceMasterProductId; },\n/* harmony export */ \"getBazaarVoiceMasterProductName\": function() { return /* binding */ getBazaarVoiceMasterProductName; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(12419);\n/* harmony import */ var core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_reflect_construct_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(47941);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(57327);\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(38880);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(89554);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(54747);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(49337);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(33321);\n/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(69070);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(930);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(49376);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(33227);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(88361);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(85971);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_possibleConstructorReturn_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(52715);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_possibleConstructorReturn_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_possibleConstructorReturn_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_getPrototypeOf_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(91193);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_getPrototypeOf_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_getPrototypeOf_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_regenerator_index_js__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(87794);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_regenerator_index_js__WEBPACK_IMPORTED_MODULE_16___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_regenerator_index_js__WEBPACK_IMPORTED_MODULE_16__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(41539);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(88674);\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(68309);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_19___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_19__);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(26699);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_20___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_20__);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(82526);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_21___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_21__);\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(41817);\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_22__);\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(92222);\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_23___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_23__);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_24__ = __webpack_require__(9653);\n/* harmony import */ var core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_24___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_number_constructor_js__WEBPACK_IMPORTED_MODULE_24__);\n/* harmony import */ var core_js_modules_es_array_reverse_js__WEBPACK_IMPORTED_MODULE_25__ = __webpack_require__(65069);\n/* harmony import */ var core_js_modules_es_array_reverse_js__WEBPACK_IMPORTED_MODULE_25___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_reverse_js__WEBPACK_IMPORTED_MODULE_25__);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_26__ = __webpack_require__(74916);\n/* harmony import */ var core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_26___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_regexp_exec_js__WEBPACK_IMPORTED_MODULE_26__);\n/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_27__ = __webpack_require__(23123);\n/* harmony import */ var core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_27___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_split_js__WEBPACK_IMPORTED_MODULE_27__);\n/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_28__ = __webpack_require__(69826);\n/* harmony import */ var core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_28___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_js__WEBPACK_IMPORTED_MODULE_28__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_29__ = __webpack_require__(47042);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_29___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_29__);\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_30__ = __webpack_require__(21249);\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_30___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_30__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_31__ = __webpack_require__(67294);\n/* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_32__ = __webpack_require__(11163);\n/* harmony import */ var next_router__WEBPACK_IMPORTED_MODULE_32___default = /*#__PURE__*/__webpack_require__.n(next_router__WEBPACK_IMPORTED_MODULE_32__);\n/* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_33__ = __webpack_require__(9008);\n/* harmony import */ var next_head__WEBPACK_IMPORTED_MODULE_33___default = /*#__PURE__*/__webpack_require__.n(next_head__WEBPACK_IMPORTED_MODULE_33__);\n/* harmony import */ var _adapters_helpers_Block__WEBPACK_IMPORTED_MODULE_34__ = __webpack_require__(40483);\n/* harmony import */ var _adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_35__ = __webpack_require__(8996);\n/* harmony import */ var _adapters_cloudinary_ImageFactory__WEBPACK_IMPORTED_MODULE_36__ = __webpack_require__(42456);\n/* harmony import */ var _persistence_recentlyViewed__WEBPACK_IMPORTED_MODULE_37__ = __webpack_require__(88755);\n/* harmony import */ var _adapters_model_ContentfulClient__WEBPACK_IMPORTED_MODULE_38__ = __webpack_require__(57503);\n/* harmony import */ var _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_39__ = __webpack_require__(24036);\n/* harmony import */ var _adapters_helpers_pagespeedHelper__WEBPACK_IMPORTED_MODULE_40__ = __webpack_require__(19271);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_41__ = __webpack_require__(85893);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nfunction ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }\n\nfunction _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default()(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }\n\nfunction _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_getPrototypeOf_js__WEBPACK_IMPORTED_MODULE_15___default()(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_getPrototypeOf_js__WEBPACK_IMPORTED_MODULE_15___default()(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_possibleConstructorReturn_js__WEBPACK_IMPORTED_MODULE_14___default()(this, result); }; }\n\nfunction _isNativeReflectConstruct() { if (typeof Reflect === \"undefined\" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === \"function\") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar Loader = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_31__.lazy)(function () {\n return Promise.resolve(/* import() */).then(__webpack_require__.bind(__webpack_require__, 47322));\n});\n\nvar Meta = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_31__.lazy)(function () {\n return __webpack_require__.e(/* import() */ 6192).then(__webpack_require__.bind(__webpack_require__, 23140));\n});\n\n\n\n\n\n\n\n\n\n\nvar GTMScriptFunction = /*#__PURE__*/(0,react__WEBPACK_IMPORTED_MODULE_31__.lazy)(function () {\n return __webpack_require__.e(/* import() */ 5909).then(__webpack_require__.bind(__webpack_require__, 37667));\n});\n\nvar Product = /*#__PURE__*/function (_React$Component) {\n _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_13___default()(Product, _React$Component);\n\n var _super = _createSuper(Product);\n\n function Product(props) {\n _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_11___default()(this, Product);\n\n return _super.call(this, props);\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\n\n _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_12___default()(Product, [{\n key: \"componentDidMount\",\n value: function componentDidMount() {\n var _this$props;\n\n var slug = (_this$props = this.props) == null ? void 0 : _this$props.slug;\n var product = this.getProduct();\n\n if (slug) {\n (0,_persistence_recentlyViewed__WEBPACK_IMPORTED_MODULE_37__/* .setViewed */ .OS)(slug);\n }\n\n next_router__WEBPACK_IMPORTED_MODULE_32___default().beforePopState(function (_ref) {\n var as = _ref.as;\n location.href = as;\n });\n (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_35__/* .addBVScript */ .Jy)();\n (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_35__/* .addBVProductPageCallback */ .FS)(product.name);\n (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_35__/* .handleClickToScrollToRnR */ .lU)();\n }\n }, {\n key: \"render\",\n value: function render() {\n var product = this.getProduct();\n var pagePath = product.productOverview.fields.slug.fields.slug;\n var productVariants = product.productOverview.fields.productVariants;\n var productVariant = {};\n\n if (productVariants) {\n productVariant = productVariants[0];\n }\n\n var metaData = this.getMetadata();\n\n if (metaData) {\n metaData.pageType = 'product';\n }\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_41__.jsx)(react__WEBPACK_IMPORTED_MODULE_31__.Suspense, {\n fallback: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_41__.jsx)(Loader, {}),\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_41__.jsxs)(react__WEBPACK_IMPORTED_MODULE_31__.Fragment, {\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_41__.jsx)(react__WEBPACK_IMPORTED_MODULE_31__.Suspense, {\n fallback: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_41__.jsx)(Loader, {}),\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_41__.jsx)(Meta, {\n metadata: metaData,\n pagePath: pagePath\n })\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_41__.jsx)((next_head__WEBPACK_IMPORTED_MODULE_33___default()), {\n children: this.renderBazaarVoiceDynamicCatalogCollectionScript()\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_41__.jsx)(\"div\", {\n className: \"ob-wrapper\",\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_41__.jsx)(react__WEBPACK_IMPORTED_MODULE_31__.Suspense, {\n fallback: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_41__.jsx)(Loader, {}),\n children: this.renderBody()\n })\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_41__.jsx)(react__WEBPACK_IMPORTED_MODULE_31__.Suspense, {\n fallback: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_41__.jsx)(Loader, {}),\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_41__.jsx)(GTMScriptFunction, {\n languageCode: this.props.languageCode,\n countryCode: this.props.countryCode,\n productVariant: productVariant\n })\n })]\n })\n });\n }\n }, {\n key: \"getProduct\",\n value: function getProduct() {\n return this.props.product.fields;\n }\n }, {\n key: \"getMetadata\",\n value: function getMetadata() {\n return this.props.product.fields.metadata.fields;\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\n }, {\n key: \"renderBody\",\n value: function renderBody() {\n return new _adapters_helpers_Block__WEBPACK_IMPORTED_MODULE_34__/* [\"default\"] */ .Z(this.props.product).renderChildBlocks({\n extraAttributes: {\n entity: this.getProduct(),\n slug: this.props.slug\n }\n });\n }\n }, {\n key: \"getImageUrl\",\n value: function getImageUrl(image) {\n var _image$fields, _image$fields$asset, _image$fields$asset$f, _image$fields$asset$f2;\n\n var contentImageId = image == null ? void 0 : (_image$fields = image.fields) == null ? void 0 : (_image$fields$asset = _image$fields.asset) == null ? void 0 : (_image$fields$asset$f = _image$fields$asset.fields) == null ? void 0 : (_image$fields$asset$f2 = _image$fields$asset$f.file) == null ? void 0 : _image$fields$asset$f2.url;\n var url = contentImageId && (0,_adapters_helpers_pagespeedHelper__WEBPACK_IMPORTED_MODULE_40__/* .optimizeImage */ .H)(_adapters_cloudinary_ImageFactory__WEBPACK_IMPORTED_MODULE_36__/* [\"default\"].buildContentfullImageUrl */ .ZP.buildContentfullImageUrl(contentImageId));\n return url;\n }\n }, {\n key: \"renderBazaarVoiceDynamicCatalogCollectionScript\",\n value: function renderBazaarVoiceDynamicCatalogCollectionScript() {\n var product = this.getProduct();\n var countryCode = this.props.countryCode;\n var imageUrl = this.getImageUrl(product.productOverview.fields.mainAsset);\n var productPageUrl = (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_35__/* .getCanonicalURL */ .DN)(product.productOverview.fields.slug.fields.slug, _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_39__/* .MetaConstants.https */ .FU.https);\n var productVariants = product.productOverview.fields.productVariants;\n var skus = [];\n var eans = [];\n var reviewAndRatingId;\n\n if (productVariants) {\n for (var i = 0; i < productVariants.length; i++) {\n var _productVariant$field, _productVariant$field2;\n\n var productVariant = productVariants[i];\n var sku = productVariant == null ? void 0 : (_productVariant$field = productVariant.fields) == null ? void 0 : _productVariant$field.sku;\n var ean = productVariant == null ? void 0 : (_productVariant$field2 = productVariant.fields) == null ? void 0 : _productVariant$field2.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 } // 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\n\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 var _productVariant$field3;\n\n reviewAndRatingId = productVariant == null ? void 0 : (_productVariant$field3 = productVariant.fields) == null ? void 0 : _productVariant$field3.bazaarVoiceId; // if reviewAndRatingId is null use sku/ean\n\n if (reviewAndRatingId === undefined) {\n if (sku) {\n reviewAndRatingId = sku;\n } else if (sku === undefined) {\n reviewAndRatingId = ean;\n }\n\n if (reviewAndRatingId === undefined) {\n var _productVariant$field4;\n\n console.error('No reviewAndRatingId specified for product variant Bazaar Voice identifier:', productVariant == null ? void 0 : (_productVariant$field4 = productVariant.fields) == null ? void 0 : _productVariant$field4.name);\n }\n }\n }\n }\n } // product\n\n\n var dccProduct = {\n 'productId': reviewAndRatingId,\n 'productName': product.name,\n 'productDescription': product.productOverview.fields.description,\n 'productImageURL': imageUrl,\n 'productPageURL': productPageUrl,\n 'brandName': _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_39__/* .OrganizationConstants.brand */ .XI.brand,\n 'upcs': skus,\n 'eans': eans\n };\n\n if (product.productOverview.fields.reviewAndRatingCategory) {\n dccProduct.categoryPath = [{\n 'Name': product.productOverview.fields.reviewAndRatingCategory\n }];\n } // Catalog\n\n\n var catalogProducts = [];\n catalogProducts.push(dccProduct); // Family and Bazaar voice master product values\n\n var reviewAndRatingFamilyId = product.productOverview.fields.reviewAndRatingFamilyId;\n\n if (reviewAndRatingFamilyId) {\n var familyJson = [{\n 'id': reviewAndRatingFamilyId,\n 'expand': false\n }];\n dccProduct.families = familyJson; // Master product\n\n var masterProductId = getBazaarVoiceMasterProductId(reviewAndRatingFamilyId);\n var masterProductName = getBazaarVoiceMasterProductName(reviewAndRatingFamilyId);\n var 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 var languageCode = this.props.languageCode;\n var bazaarVoiceLocale = languageCode + '_' + countryCode;\n var catalogProductsString = (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_35__/* .customJsonstringify */ .Zl)(catalogProducts);\n var render; // do not render if we no productID\n\n if (reviewAndRatingId) {\n render = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_41__.jsx)(react__WEBPACK_IMPORTED_MODULE_31__.Fragment, {\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_41__.jsx)(\"script\", {\n defer: true,\n dangerouslySetInnerHTML: {\n __html: \"window.bvDCC = {\\n catalogData: {\\n locale: '\".concat(bazaarVoiceLocale, \"',\\n catalogProducts: \").concat(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 })\n });\n }\n\n return render;\n }\n }, {\n key: \"isValidBarcode\",\n value: function 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\n if (isNaN(lastDigit)) {\n return false;\n } // not a valid upc/ean\n\n\n var arr = barcode.substring(0, barcode.length - 1).split('').reverse();\n var oddTotal = 0,\n evenTotal = 0;\n\n for (var i = 0; i < arr.length; i++) {\n if (isNaN(arr[i])) {\n return false;\n } // can't be a valid upc/ean we're checking for\n\n\n if (i % 2 == 0) {\n oddTotal += Number(arr[i]) * 3;\n } else {\n evenTotal += Number(arr[i]);\n }\n }\n\n checkSum = (10 - (evenTotal + oddTotal) % 10) % 10; // true if they are equal\n\n return checkSum == lastDigit;\n }\n }], [{\n key: \"getInitialProps\",\n value: function () {\n var _getInitialProps = _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_10___default()( /*#__PURE__*/_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_regenerator_index_js__WEBPACK_IMPORTED_MODULE_16___default().mark(function _callee(_ref2) {\n var asPath, client, locales, defaultLocale, countryCode, languageCode, baseProps;\n return _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_regenerator_index_js__WEBPACK_IMPORTED_MODULE_16___default().wrap(function _callee$(_context) {\n while (1) {\n switch (_context.prev = _context.next) {\n case 0:\n asPath = _ref2.asPath;\n _context.next = 3;\n return _adapters_model_ContentfulClient__WEBPACK_IMPORTED_MODULE_38__/* [\"default\"].getClient */ .Z.getClient();\n\n case 3:\n client = _context.sent;\n _context.next = 6;\n return client.getLocales();\n\n case 6:\n locales = _context.sent;\n defaultLocale = locales.items.find(function (locale) {\n return locale[\"default\"];\n });\n countryCode = defaultLocale.code.slice(-2);\n languageCode = defaultLocale.code.substring(0, 2);\n _context.next = 12;\n return this.initPage(asPath);\n\n case 12:\n baseProps = _context.sent;\n baseProps.countryCode = countryCode;\n baseProps.languageCode = languageCode;\n return _context.abrupt(\"return\", _objectSpread({}, baseProps));\n\n case 16:\n case \"end\":\n return _context.stop();\n }\n }\n }, _callee, this);\n }));\n\n function getInitialProps(_x) {\n return _getInitialProps.apply(this, arguments);\n }\n\n return getInitialProps;\n }()\n }, {\n key: \"initPage\",\n value: function () {\n var _initPage = _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_10___default()( /*#__PURE__*/_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_regenerator_index_js__WEBPACK_IMPORTED_MODULE_16___default().mark(function _callee2(slug) {\n var _newProducts$fields, _newProducts$fields$b, _newProducts$fields$b2, _newProducts$fields$b3, _newProducts$fields$b4, _newProducts$fields2, _newProducts$fields2$, _newProducts$fields2$2, _newProducts$fields2$3;\n\n var product, _yield$import, productDao, newProducts;\n\n return _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_regenerator_index_js__WEBPACK_IMPORTED_MODULE_16___default().wrap(function _callee2$(_context2) {\n while (1) {\n switch (_context2.prev = _context2.next) {\n case 0:\n product = undefined; // Errors pages doesn't have a page entry in Contentful CMS\n\n if (!slug) {\n _context2.next = 9;\n break;\n }\n\n _context2.next = 4;\n return __webpack_require__.e(/* import() */ 2817).then(__webpack_require__.bind(__webpack_require__, 42817));\n\n case 4:\n _yield$import = _context2.sent;\n productDao = _yield$import[\"default\"];\n _context2.next = 8;\n return productDao.getActiveProductBySlug(slug);\n\n case 8:\n product = _context2.sent;\n\n case 9:\n newProducts = product;\n newProducts == null ? void 0 : (_newProducts$fields = newProducts.fields) == null ? void 0 : (_newProducts$fields$b = _newProducts$fields.blocks[0]) == null ? void 0 : (_newProducts$fields$b2 = _newProducts$fields$b.fields) == null ? void 0 : (_newProducts$fields$b3 = _newProducts$fields$b2.blocks[1]) == null ? void 0 : (_newProducts$fields$b4 = _newProducts$fields$b3.fields) == null ? void 0 : _newProducts$fields$b4.blocks.map(function (blocksArr) {\n var _blocksArr$fields, _blocksArr$fields2, _blocksArr$fields2$ba, _blocksArr$fields3;\n\n if ((blocksArr == null ? void 0 : (_blocksArr$fields = blocksArr.fields) == null ? void 0 : _blocksArr$fields.contentType) == _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_39__/* .ComponentFactoryConstants.ProductHighlights */ .a9.ProductHighlights && (blocksArr == null ? void 0 : (_blocksArr$fields2 = blocksArr.fields) == null ? void 0 : (_blocksArr$fields2$ba = _blocksArr$fields2.background) == null ? void 0 : _blocksArr$fields2$ba.fields)) {\n blocksArr.fields.background.fields.isBannerImage = true;\n } else if (blocksArr == null ? void 0 : (_blocksArr$fields3 = blocksArr.fields) == null ? void 0 : _blocksArr$fields3.devicesConfigurations) {\n blocksArr.fields.devicesConfigurations.map(function (devices) {\n if (devices.fields.backgroundAsset && devices.fields.backgroundAsset.fields) {\n devices.fields.backgroundAsset.fields.isBannerImage = true;\n }\n });\n }\n });\n\n if (newProducts == null ? void 0 : (_newProducts$fields2 = newProducts.fields) == null ? void 0 : (_newProducts$fields2$ = _newProducts$fields2.productOverview) == null ? void 0 : (_newProducts$fields2$2 = _newProducts$fields2$.fields) == null ? void 0 : (_newProducts$fields2$3 = _newProducts$fields2$2.mainAsset) == null ? void 0 : _newProducts$fields2$3.fields) {\n newProducts.fields.productOverview.fields.mainAsset.fields.isBannerImage = true;\n }\n\n return _context2.abrupt(\"return\", {\n 'product': newProducts,\n 'slug': slug\n });\n\n case 13:\n case \"end\":\n return _context2.stop();\n }\n }\n }, _callee2);\n }));\n\n function initPage(_x2) {\n return _initPage.apply(this, arguments);\n }\n\n return initPage;\n }()\n }]);\n\n return Product;\n}(react__WEBPACK_IMPORTED_MODULE_31__.Component);\n\nfunction getBazaarVoiceMasterProductId(reviewAndRatingFamilyId) {\n var masterProductId = _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_39__/* .BazaarVoiceConstants.masterProductIdPrefix */ .Uo.masterProductIdPrefix + reviewAndRatingFamilyId;\n return masterProductId;\n}\nfunction getBazaarVoiceMasterProductName(reviewAndRatingFamilyId) {\n var masterProductName = _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_39__/* .BazaarVoiceConstants.masterProductNamePrefix */ .Uo.masterProductNamePrefix + reviewAndRatingFamilyId;\n return masterProductName;\n}\n/* harmony default export */ __webpack_exports__[\"default\"] = (Product);\n\n/***/ }),\n\n/***/ 77005:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"A6\": function() { return /* binding */ localStorageSetItem; },\n/* harmony export */ \"GQ\": function() { return /* binding */ localStorageGetItem; },\n/* harmony export */ \"dA\": function() { return /* binding */ LOCAL_STORAGE_KEYS; },\n/* harmony export */ \"q\": function() { return /* binding */ localStorageRemoveItem; }\n/* harmony export */ });\nvar LOCAL_STORAGE_KEYS = {\n RECENTLY_VIEWED_PRODUCTS: 'RECENTLY_VIEWED_PRODUCTS'\n};\nfunction localStorageRemoveItem(item) {\n return localStorage.removeItem(item);\n}\nfunction localStorageGetItem(item) {\n return localStorage.getItem(item);\n}\nfunction localStorageSetItem(item, itemType) {\n return localStorage.setItem(item, itemType);\n}\n\n\n/***/ }),\n\n/***/ 88755:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"OS\": function() { return /* binding */ setViewed; },\n/* harmony export */ \"Xp\": function() { return /* binding */ getProducts; },\n/* harmony export */ \"kh\": function() { return /* binding */ removeProduct; }\n/* harmony export */ });\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(7980);\n/* harmony import */ var _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(57327);\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(41539);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(47042);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(40561);\n/* harmony import */ var core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_splice_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(92222);\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var _localStorage__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(77005);\n/* harmony import */ var _adapters_helpers_functions__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(61986);\n/* harmony import */ var _adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(8996);\n\n\n\n\n\n\n\n\n\nvar PRODUCT_PERSISTENCE_LIFESPAN_MILLISECONDS = 30 * 24 * 60 * 60 * 1000;\n\nfunction findProductIndex(products, id) {\n for (var i = 0; i < products.length; i++) {\n var 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(function (_ref) {\n var expiral = _ref.expiral;\n return new Date(expiral).getTime() > new Date().getTime();\n });\n} // TODO: Remove in prod (Used for data consistency between changes)\n\n\nfunction isProductsDataValid(products) {\n if (!Array.isArray(products)) {\n return false;\n }\n\n for (var i = 0; i < products.length; i++) {\n var product = products[i];\n\n if (!product) {\n return false;\n }\n\n if (!product.hasOwnProperty('id')) {\n return false;\n }\n\n if (!product.hasOwnProperty('expiral')) {\n return false;\n }\n\n if (!(typeof product.id === 'string')) {\n return false;\n }\n\n if (!(typeof product.expiral === 'number')) {\n return false;\n }\n }\n\n return true;\n}\n\nfunction setViewed(id) {\n if (typeof localStorage !== 'undefined' && localStorage.setItem) {\n var products = getProducts(); // Remove already viewed product\n\n var productsWithoutCurrentProduct = products.slice();\n var currentProductIndex = findProductIndex(products, id);\n\n if (currentProductIndex !== undefined) {\n productsWithoutCurrentProduct.splice(currentProductIndex, 1);\n } // Filter expirered products\n\n\n var expiralFilteredProduct = filterExpiredProducts(productsWithoutCurrentProduct); // Add id to first place\n\n var nextProducts = (0,_adapters_helpers_functions__WEBPACK_IMPORTED_MODULE_7__/* .first */ .Ps)([{\n id: id,\n expiral: new Date().getTime() + PRODUCT_PERSISTENCE_LIFESPAN_MILLISECONDS\n }].concat(_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0___default()(expiralFilteredProduct)), 3);\n localStorage.setItem(_localStorage__WEBPACK_IMPORTED_MODULE_6__/* .LOCAL_STORAGE_KEYS.RECENTLY_VIEWED_PRODUCTS */ .dA.RECENTLY_VIEWED_PRODUCTS, (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_8__/* .customSuperJsonStringify */ .hD)(nextProducts));\n }\n}\nfunction getProducts() {\n if (typeof localStorage !== 'undefined' && localStorage.getItem) {\n var json = localStorage.getItem(_localStorage__WEBPACK_IMPORTED_MODULE_6__/* .LOCAL_STORAGE_KEYS.RECENTLY_VIEWED_PRODUCTS */ .dA.RECENTLY_VIEWED_PRODUCTS);\n\n if (json !== null) {\n try {\n var products = (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_8__/* .customSuperJsonParse */ .Cp)(json); // TODO: Remove in prod\n\n if (!isProductsDataValid(products)) {\n return [];\n }\n\n return filterExpiredProducts(products);\n } catch (_e) {// Do nothing or log error\n }\n }\n }\n\n return [];\n}\nfunction removeProduct(id) {\n if (typeof localStorage !== 'undefined' && localStorage.setItem) {\n var products = getProducts(); // Remove product\n\n var productsWithoutCurrentProduct = products.slice();\n var currentProductIndex = findProductIndex(products, id);\n\n if (currentProductIndex !== undefined) {\n productsWithoutCurrentProduct.splice(currentProductIndex, 1);\n } // Filter expirered products\n\n\n var expiralFilteredProduct = filterExpiredProducts(productsWithoutCurrentProduct);\n localStorage.setItem(_localStorage__WEBPACK_IMPORTED_MODULE_6__/* .LOCAL_STORAGE_KEYS.RECENTLY_VIEWED_PRODUCTS */ .dA.RECENTLY_VIEWED_PRODUCTS, (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_8__/* .customSuperJsonStringify */ .hD)(expiralFilteredProduct));\n }\n}\n\n/***/ }),\n\n/***/ 71634:\n/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {\n\n\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/product\",\n function () {\n return __webpack_require__(77331);\n }\n ]);\n if(false) {}\n \n\n/***/ }),\n\n/***/ 9008:\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(16505)\n\n\n/***/ }),\n\n/***/ 11163:\n/***/ (function(module, __unused_webpack_exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(61587)\n\n\n/***/ })\n\n},\n/******/ function(__webpack_require__) { // webpackRuntimeModules\n/******/ var __webpack_exec__ = function(moduleId) { return __webpack_require__(__webpack_require__.s = moduleId); }\n/******/ __webpack_require__.O(0, [4885,8765,7115,7681,7244,813,8996,483,9774,2888,179], function() { return __webpack_exec__(71634); });\n/******/ var __webpack_exports__ = __webpack_require__.O();\n/******/ _N_E = __webpack_exports__;\n/******/ }\n]);"],"names":["self","push","module","__unused_webpack_exports","__webpack_require__","isObject","floor","Math","exports","it","isFinite","__unused_webpack_module","$","target","stat","isInteger","__webpack_exports__","buildContentfullImageUrl","assetUrl","transformations","buildContentfullImageUrlByHeight","height","arguments","length","undefined","buildContentfullImageUrlByWidth","width","imageContentfullDpr","imageContentfullSrc","chunk","items","size","Array","isArray","Number","chunks","i","minimum","array","value","first","n","slice","isLater","result","Date","constructor","Object","findIndex","fn","escapeHtml","unsafe","replace","d","optimizeImage","imageUrl","imageFormatValue","imageQualityValue","_imageUrl","_imageUrl2","imageFormat","imageQuality","includes","concat","_imageUrl3","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0__","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_0___default","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1__","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_1___default","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2__","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_2___default","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_regenerator_index_js__WEBPACK_IMPORTED_MODULE_3__","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_regenerator_index_js__WEBPACK_IMPORTED_MODULE_3___default","contentful","ContentfulClient","_getClient","personalAccessToken","deliveryAccessToken","spaceId","environmentId","contentfulClient","createClient","space","accessToken","environment","key","mark","_callee","wrap","_context","prev","next","abrupt","stop","apply","r","getBazaarVoiceMasterProductId","getBazaarVoiceMasterProductName","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9__","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_defineProperty_js__WEBPACK_IMPORTED_MODULE_9___default","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_10__","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_asyncToGenerator_js__WEBPACK_IMPORTED_MODULE_10___default","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_11__","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_classCallCheck_js__WEBPACK_IMPORTED_MODULE_11___default","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_12__","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_createClass_js__WEBPACK_IMPORTED_MODULE_12___default","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_13__","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_inherits_js__WEBPACK_IMPORTED_MODULE_13___default","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_possibleConstructorReturn_js__WEBPACK_IMPORTED_MODULE_14__","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_possibleConstructorReturn_js__WEBPACK_IMPORTED_MODULE_14___default","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_getPrototypeOf_js__WEBPACK_IMPORTED_MODULE_15__","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_getPrototypeOf_js__WEBPACK_IMPORTED_MODULE_15___default","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_regenerator_index_js__WEBPACK_IMPORTED_MODULE_16__","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_regenerator_index_js__WEBPACK_IMPORTED_MODULE_16___default","react__WEBPACK_IMPORTED_MODULE_31__","next_router__WEBPACK_IMPORTED_MODULE_32__","next_router__WEBPACK_IMPORTED_MODULE_32___default","next_head__WEBPACK_IMPORTED_MODULE_33__","next_head__WEBPACK_IMPORTED_MODULE_33___default","_adapters_helpers_Block__WEBPACK_IMPORTED_MODULE_34__","_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_35__","_adapters_cloudinary_ImageFactory__WEBPACK_IMPORTED_MODULE_36__","_persistence_recentlyViewed__WEBPACK_IMPORTED_MODULE_37__","_adapters_model_ContentfulClient__WEBPACK_IMPORTED_MODULE_38__","_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_39__","_adapters_helpers_pagespeedHelper__WEBPACK_IMPORTED_MODULE_40__","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_41__","ownKeys","object","enumerableOnly","keys","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","Loader","lazy","Promise","resolve","then","bind","Meta","e","GTMScriptFunction","Product","_React$Component","hasNativeReflectConstruct","_getInitialProps","_initPage","_super","_isNativeReflectConstruct","Reflect","construct","sham","Proxy","Boolean","prototype","valueOf","call","Super","NewTarget","props","_this$props","slug","product","getProduct","OS","beforePopState","_ref","as","location","href","Jy","FS","name","lU","pagePath","productOverview","fields","productVariants","productVariant","metaData","getMetadata","pageType","jsx","Suspense","fallback","children","jsxs","Fragment","metadata","renderBazaarVoiceDynamicCatalogCollectionScript","className","renderBody","languageCode","countryCode","Z","renderChildBlocks","extraAttributes","entity","image","_image$fields","_image$fields$asset","_image$fields$asset$f","_image$fields$asset$f2","contentImageId","asset","file","url","H","ZP","render","getImageUrl","mainAsset","productPageUrl","DN","FU","https","skus","eans","reviewAndRatingId","_productVariant$field","_productVariant$field2","_productVariant$field3","_productVariant$field4","sku","ean","isValidBarcode","isBazaarVoiceIdentifier","bazaarVoiceId","console","error","dccProduct","description","XI","brand","reviewAndRatingCategory","categoryPath","catalogProducts","reviewAndRatingFamilyId","families","masterProductId","masterProductName","catalogProductsString","Zl","defer","dangerouslySetInnerHTML","__html","barcode","lastDigit","substring","isNaN","arr","split","reverse","oddTotal","evenTotal","checkSum","_ref2","asPath","client","defaultLocale","baseProps","getClient","sent","getLocales","locales","find","locale","code","initPage","_objectSpread","source","forEach","getOwnPropertyDescriptors","defineProperties","defineProperty","_x","_callee2","_newProducts$fields","_newProducts$fields$b","_newProducts$fields$b2","_newProducts$fields$b3","_newProducts$fields$b4","_newProducts$fields2","_newProducts$fields2$","_newProducts$fields2$2","_newProducts$fields2$3","productDao","newProducts","_context2","_yield$import","getActiveProductBySlug","blocks","map","blocksArr","_blocksArr$fields","_blocksArr$fields2","_blocksArr$fields2$ba","_blocksArr$fields3","contentType","a9","ProductHighlights","background","isBannerImage","devicesConfigurations","devices","backgroundAsset","_x2","Component","Uo","masterProductIdPrefix","masterProductNamePrefix","localStorageSetItem","localStorageGetItem","LOCAL_STORAGE_KEYS","localStorageRemoveItem","RECENTLY_VIEWED_PRODUCTS","item","localStorage","removeItem","getItem","itemType","setItem","setViewed","getProducts","removeProduct","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0__","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_toConsumableArray_js__WEBPACK_IMPORTED_MODULE_0___default","_localStorage__WEBPACK_IMPORTED_MODULE_6__","_adapters_helpers_functions__WEBPACK_IMPORTED_MODULE_7__","_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_8__","findProductIndex","products","id","filterExpiredProducts","expiral","getTime","productsWithoutCurrentProduct","currentProductIndex","splice","expiralFilteredProduct","nextProducts","Ps","dA","hD","json","Cp","isProductsDataValid","hasOwnProperty","_e","window","__NEXT_P","O","s","_N_E"],"sourceRoot":""}