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BAAU,CAAVC,OAAA9N,6DAAA+N,QAAA,uIAAApH,MAAA,CAAAoB,MAAA,sGAAApB,MAAA,CAAAoB,MAAA,mvEAAApB,MAAA,CAAAoB,MAAA,sCAAApB,MAAA,CAAAoB,MAAA,saAAApB,MAAA,CAAAoB,MAAA,mOAAApB,MAAA,CAAAoB,MAAA,sCAAApB,MAAA,CAAAoB,MAAA,+WAAApB,MAAA,CAAAoB,MAAA,sLAF9B,CAdZ,EADH,MAqCyB,GAAA9H,gDAAOjD,GAAA,EAAAyD,MAAA,CAA7B0K,MAAAxD,QAAA/E,MAAA,CAAAoL,SAAA,EAtCmJ,EAF9IjG,MA4Cb,MAAA9H,gDACIjD,GAAA,QAAAgJ,SAAc,CAAe,EAAC/F,gDAA9BjD,GAAA,EAAAyD,MAAA,CAAyC0K,MAAAxI,gBAAYqL,SAAA,CAArDJ,WAAA,EADJ,EAvDZ,EA4DK,GAGH,CAAA9Q,SAAW+N,oBAAZ,GACe,CAAA/N,SAAWyG,YAAA,GAAAtD,gDAAvBjD,GAAA,EAAAiE,WAAA,CAAqEiF,UAAU,6CAjEvF9H,SAAAmF,UADJ,GAqEK,GAGezG,SAAW+N,oBAAA/N,SAAAyG,YAAvB,GAAAtD,gDAAAjD,GAAA,EAAAiE,WAAA,CAAoEiF,UAAU,4CAxEtF9H,SAAAmF,UADJ,KA6EH,CAGDjK,oBAAA,WAAAsG,sDAAAqO,EAAA,EAAA9M,mBACO,IAAA/B,sBAAA+B,iBAAA","sources":["webpack://_N_E/./adapters/helpers/Hooks.js","webpack://_N_E/./adapters/helpers/Scroll.js","webpack://_N_E/./components/ProductHighlights/ProductHighlights.js","webpack://_N_E/"],"sourcesContent":["import React, { useState, useEffect, useLayoutEffect } from 'react';\n\n// https://github.com/streamich/react-use/blob/master/docs/useIsomorphicLayoutEffect.md\nexport const useIsomorphicLayoutEffect = typeof window !== 'undefined' ? useLayoutEffect : useEffect;\n\nexport function useMatchMedia(mediaQueryString, initialValue = null) {\n const [match, setMatch] = useState(initialValue);\n\n useEffect(\n () => {\n if(!window.matchMedia) {\n return;\n }\n\n function handleMatch(event) {\n setMatch(event.matches);\n }\n\n const matchMedia = window.matchMedia(mediaQueryString);\n\n setMatch(matchMedia.matches);\n matchMedia.addListener(handleMatch);\n\n return () => {\n matchMedia.removeListener(handleMatch);\n };\n },\n [mediaQueryString]\n );\n\n return match;\n}\n\nexport const mediaQueryHOC = (Component) => {\n function MediaQueryHOC(props) {\n const isXSmall = useMatchMedia('(max-width: 375px)');\n const isSmall = useMatchMedia('(max-width: 479px)');\n const isMedium = useMatchMedia('(max-width: 767px)');\n const isLarge = useMatchMedia('(max-width: 991px)');\n const isXLarge = useMatchMedia('(max-width: 1023px)');\n return (\n \n );\n }\n return MediaQueryHOC;\n};\n\nlet listeners = [];\nlet state = { currentProductIndex: 0};\n\n\nconst setState = (newState) => {\n state = { ...state, ...newState };\n listeners.forEach((listener) => {\n listener(state);\n });\n};\n\nexport const updateCurrentProductIndex = () => {\n const newListener = useState()[1];\n useEffect(() => {\n listeners.push(newListener);\n }, []);\n return [state, setState];\n};\n","let smoothScrollId = null;\nlet smoothScrollStartY = 0;\nlet smoothScrollDeltaY = 0;\nlet smoothScrollStartTime = 0;\nlet smoothScrollDuration = 400;\n\nexport function scrollIntoView(element, options = {}) {\n smoothScrollStartY = window.scrollY || window.pageYOffset || 0;\n smoothScrollDeltaY = element.getBoundingClientRect().top;\n\n const headerElement = document.querySelector('.zone-header');\n const productSubNavElement = document.querySelector('.ob-product-sub-nav');\n\n if (headerElement) {\n smoothScrollDeltaY -= headerElement.getBoundingClientRect().bottom;\n\n if (productSubNavElement) {\n smoothScrollDeltaY -= productSubNavElement.getBoundingClientRect().bottom;\n }\n }\n\n if (options.behavior === 'smooth' && typeof requestAnimationFrame !== 'undefined') {\n smoothScrollStartTime = Date.now();\n\n if (smoothScrollId == null) {\n smoothScrollStep();\n }\n } else {\n if (smoothScrollId != null) {\n cancelAnimationFrame(smoothScrollId);\n smoothScrollId = null;\n }\n\n window.scrollTo(window.scrollX, null);\n }\n}\n\nfunction smoothScrollStep() {\n const elapsed = Date.now() - smoothScrollStartTime;\n const t = elapsed / smoothScrollDuration;\n\n if (t < 1) {\n smoothScrollId = requestAnimationFrame(smoothScrollStep);\n window.scrollTo(window.scrollX, easeInOutQuad(t) * smoothScrollDeltaY + smoothScrollStartY);\n }\n else {\n smoothScrollId = null;\n window.scrollTo(window.scrollX, smoothScrollDeltaY + smoothScrollStartY);\n }\n}\n\nfunction easeInOutQuad(t) {\n return (t < 0.5) ? (2 * t * t) : ((4 - 2 * t) * t - 1);\n}\n","import React, {useEffect, useState, useRef, Suspense} from 'react';\nimport dynamic from 'next/dynamic';\nimport PropTypes from 'prop-types';\nimport { ProductHighlightsConstants } from '../../adapters/helpers/Constants';\nimport {getReviewAndRatingId, stripHtml, isIEorEdge} from '../../adapters/helpers/Utils';\nimport { parseAnchorFromURL } from '../../adapters/helpers/Anchor';\nimport { mediaQueryHOC, updateCurrentProductIndex } from '../../adapters/helpers/Hooks';\nimport {scrollIntoView} from '../../adapters/helpers/Scroll';\nimport { getColorStyle } from '../../adapters/helpers/Utils';\nimport {handleColorNameFormat} from '../../adapters/helpers/Utils';\nconst Rotation = dynamic(() => import('../Rotation/Rotation'));\nconst Heading = dynamic(() => import('../Heading/Heading'));\nconst Image = dynamic(() => import('../Image/Image'));\nconst Img = dynamic(() => import('../Image/Img/Img'));\nconst ObLink = dynamic(() => import('../ObLink/ObLink'));\nconst Icon = dynamic(() => import('../Icon/Icon'));\nconst RichText = dynamic(() => import('../RichText/RichText'));\nconst Button = dynamic(() => import('../Button/Button'));\nconst Disclaimer = dynamic(() => import('../Disclaimer/Disclaimer'));\nconst MarkdownText = dynamic(() => import('../MarkdownText/MarkdownText'));\nimport Loader from '../../adapters/helpers/Loader';\nimport DOMPurify from 'isomorphic-dompurify';\n\nfunction ProductHighlights(props) {\n const {extraAttributes, isLarge, isMedium, document:doc} = props;\n const [selectedColorIndex, setSelectedColorIndex] = useState(0);\n // eslint-disable-next-line no-unused-vars\n const [_, setGlobalState] = updateCurrentProductIndex();\n const headerRef = useRef();\n const topRef = useRef();\n const entity = extraAttributes.entity;\n const productOverview = entity.productOverview.fields;\n const productVariants = productOverview?.productVariants;\n const productHighlights = entity.productHighlights;\n const labels = doc.fields;\n const pressQuote = productOverview?.pressQuote?.fields;\n const backgroundImage = doc.fields.background;\n const startingAtButtonLabel = productOverview?.buyNowLabel?.fields.text;\n const anchorId = doc.fields.anchorId;\n const disclaimer = doc.fields.disclaimer;\n let reviewAndRatingId = getReviewAndRatingId(entity.productOverview);\n const seeLessLabel = doc?.fields?.seeLessLabel?.fields?.text.toUpperCase();\n const seeMoreLabel = doc?.fields?.seeMoreLabel?.fields?.text.toUpperCase();\n const classNames = doc?.fields?.classNames || '';\n const comingSoonText = productOverview?.comingSoonLabel?.fields?.text;\n const comingSoonLink = productOverview?.comingSoonLink || '';\n const buyNowDeactivated = productOverview?.deactivateBuyNowButton;\n const [isPageLoaded, setIsPageLoaded] = useState(false);\n const uniqueId = productOverview?.uniqueId || '';\n\n function handleHashChange() {\n const anchor = parseAnchorFromURL(window.location.hash);\n for (let i = 0; i < productVariants.length; i++) {\n const variantColor = productVariants[i]?.fields?.color?.fields?.name;\n if (variantColor) {\n if (anchor?.color?.toLowerCase() === variantColor?.toLowerCase()) {\n setSelectedColorIndex(i);\n }\n if (anchor?.color?.toLowerCase() === ProductHighlightsConstants.undefinedStr) {\n setSelectedColorIndex(0);\n }\n }\n }\n }\n\n useEffect(() => {\n setIsPageLoaded(true);\n handleHashChange();\n\n window.addEventListener('hashchange', handleHashChange);\n\n return () => {\n window.removeEventListener('hashchange', handleHashChange);\n }\n }, [isPageLoaded]);\n\n const renderHighlightsHeader = () => {\n let ele = '';\n if(isMedium) {\n ele = document.getElementById('ob-product-subnav-scroll'); \n }\n return (\n }>\n
\n {productOverview.title}\n \n \n
\n
\n )\n };\n\n useEffect(() => {\n setGlobalState({currentProductId: selectedColorIndex})\n\n if (window) {\n const colorName = productVariants[selectedColorIndex]?.fields?.color?.fields?.name?.toLowerCase();\n window.location.hash = `color=${encodeURIComponent(colorName)}`;\n\n if (headerRef?.current && isLarge) {\n scrollIntoView(headerRef?.current, {behavior: 'smooth'});\n }\n\n if (topRef?.current && !isLarge) {\n scrollIntoView(topRef?.current, {behavior: 'smooth'});\n }\n }\n }, [selectedColorIndex]);\n\n const renderColorButtons = () => {\n return (\n
\n {(productVariants.some(variant => variant?.fields?.color !== undefined)) &&\n

{labels?.colorLabel}

\n }\n
    \n {productVariants.map((variant, index) => {\n return (variant?.fields?.color) ?\n
  • \n {!variant?.fields?.color?.fields?.colorImage ? setSelectedColorIndex(index)}\n data-action-detail={`open_ps_panel_${variant?.fields?.color?.fields?.name}_${stripHtml(productOverview?.title)}`}\n aria-pressed={index === selectedColorIndex ? true : false}\n >\n {variant?.fields?.color?.fields?.name}\n :\n {variant?.fields?.color?.fields?.colorImage?.fields?.title} setSelectedColorIndex(index)}>\n }\n {variant?.fields?.color &&

    {handleColorNameFormat(variant?.fields?.color?.fields?.name)}

    }\n
  • : '';\n })}\n
\n
\n )\n };\n\n const [showMore, setShowMore] = useState(false);\n\n const highlightList = (productHighlights) ? Object.keys(productHighlights).slice(0, 3).map(key => {\n return (\n
  • \n \n
  • \n )}\n ) : [];\n\n const highlightListMore = (productHighlights) ? Object.keys(productHighlights).slice(3).map(key => {\n return (\n
  • \n \n
  • \n )}\n ) : [];\n\n const highlightLength = () => {\n // Return true if highlight is superior than 3 to display see more button\n return productHighlights && Object.keys(productHighlights).length > 3;\n };\n\n const showMoreButton = () => {\n let button;\n\n if (showMore) {\n button = (\n \n \n {seeLessLabel}\n {ProductHighlightsConstants.highlights}\n \n )\n } else {\n button = (\n \n \n {seeMoreLabel}\n {ProductHighlightsConstants.highlights}\n \n );\n }\n\n return button;\n };\n\n\n const handleShowMore = () => {\n setShowMore(!showMore);\n };\n\n const renderTextContent = () => {\n return (\n
    \n {!isLarge && renderHighlightsHeader()}\n {isLarge && productVariants && renderColorButtons()}\n {pressQuote &&\n
    \n {pressQuote.quote}\n \n
    \n }\n
    \n

    {labels.highlightsLabel}

    \n\n { productHighlights &&\n
      \n {highlightList}\n { showMore &&\n highlightListMore\n }\n
    \n }\n\n {highlightLength() && showMoreButton()}\n\n\n
    \n {!isLarge && productVariants && renderColorButtons()}\n\n { startingAtButtonLabel && !buyNowDeactivated && productVariants[selectedColorIndex]?.fields?.sku &&\n \n }\n {buyNowDeactivated &&\n \n {comingSoonText}\n \n }\n
    \n )\n };\n\n const render360Images = collection => {\n return (\n collection.map((image, index) => (\n
    \n {image?.fields?.asset?.fields?.file?.url && {image?.fields?.alternateText}}\n
    \n ))\n )\n }\n\n return (\n
    \n \n
    \n {/* Below code structure have implemented for pagespeed. */}\n {\n isPageLoaded ?\n isLarge && renderHighlightsHeader()\n :\n isMedium &&
    \n {renderHighlightsHeader()}\n
    \n }\n
      \n { productVariants ?\n productVariants.map((variant, index) => (\n
    • \n {variant.fields.backgroundsCollection ? (\n
      \n \n {render360Images(variant.fields.backgroundsCollection)}\n \n\n {!isIEorEdge() &&\n \n {/* Couldn't use the Icon component, because of the icon's unconventional viewbox */}\n \n \n \n \n \n \n \n \n \n \n \n \n \n `)}}\n />\n \n }\n
      \n ) : (\n \n )}\n
    • \n )) : (\n
    • \n \n
    • \n )}\n
    \n {!isLarge && renderTextContent()}\n
    \n\n {!isLarge && disclaimer &&\n \n }\n \n {isLarge && renderTextContent()}\n\n {isLarge && disclaimer &&\n \n }\n
    \n )\n}\n\nexport default mediaQueryHOC(ProductHighlights);\n// This export is for unit testing (do not remove) :\nexport const ProductHighlightsTest = ProductHighlights;\n\nProductHighlights.propTypes = {\n extraAttributes: PropTypes.object,\n isLarge: PropTypes.bool,\n document: PropTypes.object,\n onClickCallback: PropTypes.func,\n};\n","\"use strict\";\n(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[3580],{\n\n/***/ 71357:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"LI\": function() { return /* binding */ useIsomorphicLayoutEffect; },\n/* harmony export */ \"Ui\": function() { return /* binding */ mediaQueryHOC; },\n/* harmony export */ \"ag\": function() { return /* binding */ useMatchMedia; },\n/* harmony export */ \"y3\": function() { return /* binding */ updateCurrentProductIndex; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(47941);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(82526);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_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_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(54747);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(49337);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(33321);\n/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(69070);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_7__);\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_8__ = __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_8___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_8__);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(89554);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(41539);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(67294);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(85893);\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_8___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\n // https://github.com/streamich/react-use/blob/master/docs/useIsomorphicLayoutEffect.md\n\n\nvar useIsomorphicLayoutEffect = true ? react__WEBPACK_IMPORTED_MODULE_11__.useLayoutEffect : 0;\nfunction useMatchMedia(mediaQueryString) {\n var initialValue = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n var _useState = (0,react__WEBPACK_IMPORTED_MODULE_11__.useState)(initialValue),\n match = _useState[0],\n setMatch = _useState[1];\n\n (0,react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(function () {\n if (!window.matchMedia) {\n return;\n }\n\n function handleMatch(event) {\n setMatch(event.matches);\n }\n\n var matchMedia = window.matchMedia(mediaQueryString);\n setMatch(matchMedia.matches);\n matchMedia.addListener(handleMatch);\n return function () {\n matchMedia.removeListener(handleMatch);\n };\n }, [mediaQueryString]);\n return match;\n}\nvar mediaQueryHOC = function mediaQueryHOC(Component) {\n function MediaQueryHOC(props) {\n var isXSmall = useMatchMedia('(max-width: 375px)');\n var isSmall = useMatchMedia('(max-width: 479px)');\n var isMedium = useMatchMedia('(max-width: 767px)');\n var isLarge = useMatchMedia('(max-width: 991px)');\n var isXLarge = useMatchMedia('(max-width: 1023px)');\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__.jsx)(Component, _objectSpread({\n isXSmall: isXSmall,\n isSmall: isSmall,\n isMedium: isMedium,\n isLarge: isLarge,\n isXLarge: isXLarge\n }, props));\n }\n\n return MediaQueryHOC;\n};\nvar listeners = [];\nvar state = {\n currentProductIndex: 0\n};\n\nvar setState = function setState(newState) {\n state = _objectSpread(_objectSpread({}, state), newState);\n listeners.forEach(function (listener) {\n listener(state);\n });\n};\n\nvar updateCurrentProductIndex = function updateCurrentProductIndex() {\n var newListener = (0,react__WEBPACK_IMPORTED_MODULE_11__.useState)()[1];\n (0,react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(function () {\n listeners.push(newListener);\n }, []);\n return [state, setState];\n};\n\n/***/ }),\n\n/***/ 55891:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"z\": function() { return /* binding */ scrollIntoView; }\n/* harmony export */ });\nvar smoothScrollId = null;\nvar smoothScrollStartY = 0;\nvar smoothScrollDeltaY = 0;\nvar smoothScrollStartTime = 0;\nvar smoothScrollDuration = 400;\nfunction scrollIntoView(element) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n smoothScrollStartY = window.scrollY || window.pageYOffset || 0;\n smoothScrollDeltaY = element.getBoundingClientRect().top;\n var headerElement = document.querySelector('.zone-header');\n var productSubNavElement = document.querySelector('.ob-product-sub-nav');\n\n if (headerElement) {\n smoothScrollDeltaY -= headerElement.getBoundingClientRect().bottom;\n\n if (productSubNavElement) {\n smoothScrollDeltaY -= productSubNavElement.getBoundingClientRect().bottom;\n }\n }\n\n if (options.behavior === 'smooth' && typeof requestAnimationFrame !== 'undefined') {\n smoothScrollStartTime = Date.now();\n\n if (smoothScrollId == null) {\n smoothScrollStep();\n }\n } else {\n if (smoothScrollId != null) {\n cancelAnimationFrame(smoothScrollId);\n smoothScrollId = null;\n }\n\n window.scrollTo(window.scrollX, null);\n }\n}\n\nfunction smoothScrollStep() {\n var elapsed = Date.now() - smoothScrollStartTime;\n var t = elapsed / smoothScrollDuration;\n\n if (t < 1) {\n smoothScrollId = requestAnimationFrame(smoothScrollStep);\n window.scrollTo(window.scrollX, easeInOutQuad(t) * smoothScrollDeltaY + smoothScrollStartY);\n } else {\n smoothScrollId = null;\n window.scrollTo(window.scrollX, smoothScrollDeltaY + smoothScrollStartY);\n }\n}\n\nfunction easeInOutQuad(t) {\n return t < 0.5 ? 2 * t * t : (4 - 2 * t) * t - 1;\n}\n\n/***/ }),\n\n/***/ 23580:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"ProductHighlightsTest\": function() { return /* binding */ ProductHighlightsTest; }\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_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(85696);\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_slicedToArray_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_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(41539);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(88674);\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(68309);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_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_symbol_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(82526);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(41817);\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_array_some_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(5212);\n/* harmony import */ var core_js_modules_es_array_some_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_some_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(21249);\n/* harmony import */ var core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_map_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(47042);\n/* harmony import */ var core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_slice_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(47941);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(67294);\n/* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(5152);\n/* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(next_dynamic__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(24036);\n/* harmony import */ var _adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(8996);\n/* harmony import */ var _adapters_helpers_Anchor__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(97020);\n/* harmony import */ var _adapters_helpers_Hooks__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(71357);\n/* harmony import */ var _adapters_helpers_Scroll__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(55891);\n/* harmony import */ var _adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(47322);\n/* harmony import */ var isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(29238);\n/* harmony import */ var isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_18___default = /*#__PURE__*/__webpack_require__.n(isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_18__);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(85893);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar Rotation = next_dynamic__WEBPACK_IMPORTED_MODULE_12___default()(function () {\n return __webpack_require__.e(/* import() */ 5318).then(__webpack_require__.bind(__webpack_require__, 25318));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(25318)];\n }\n }\n});\nvar Heading = next_dynamic__WEBPACK_IMPORTED_MODULE_12___default()(function () {\n return __webpack_require__.e(/* import() */ 2116).then(__webpack_require__.bind(__webpack_require__, 92116));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(92116)];\n }\n }\n});\nvar Image = next_dynamic__WEBPACK_IMPORTED_MODULE_12___default()(function () {\n return __webpack_require__.e(/* import() */ 8084).then(__webpack_require__.bind(__webpack_require__, 48084));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(48084)];\n }\n }\n});\nvar Img = next_dynamic__WEBPACK_IMPORTED_MODULE_12___default()(function () {\n return Promise.all(/* import() */[__webpack_require__.e(7776), __webpack_require__.e(9261), __webpack_require__.e(7273)]).then(__webpack_require__.bind(__webpack_require__, 7273));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(7273)];\n }\n }\n});\nvar ObLink = next_dynamic__WEBPACK_IMPORTED_MODULE_12___default()(function () {\n return Promise.all(/* import() */[__webpack_require__.e(1664), __webpack_require__.e(8958)]).then(__webpack_require__.bind(__webpack_require__, 61769));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(61769)];\n }\n }\n});\nvar Icon = next_dynamic__WEBPACK_IMPORTED_MODULE_12___default()(function () {\n return __webpack_require__.e(/* import() */ 713).then(__webpack_require__.bind(__webpack_require__, 80713));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(80713)];\n }\n }\n});\nvar RichText = next_dynamic__WEBPACK_IMPORTED_MODULE_12___default()(function () {\n return Promise.all(/* import() */[__webpack_require__.e(5030), __webpack_require__.e(5551)]).then(__webpack_require__.bind(__webpack_require__, 67539));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(67539)];\n }\n }\n});\nvar Button = next_dynamic__WEBPACK_IMPORTED_MODULE_12___default()(function () {\n return __webpack_require__.e(/* import() */ 9246).then(__webpack_require__.bind(__webpack_require__, 99246));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(99246)];\n }\n }\n});\nvar Disclaimer = next_dynamic__WEBPACK_IMPORTED_MODULE_12___default()(function () {\n return __webpack_require__.e(/* import() */ 6809).then(__webpack_require__.bind(__webpack_require__, 77770));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(77770)];\n }\n }\n});\nvar MarkdownText = next_dynamic__WEBPACK_IMPORTED_MODULE_12___default()(function () {\n return Promise.all(/* import() */[__webpack_require__.e(5982), __webpack_require__.e(811)]).then(__webpack_require__.bind(__webpack_require__, 80811));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(80811)];\n }\n }\n});\n\n\n\n\n\nfunction ProductHighlights(props) {\n var _productOverview$pres, _productOverview$buyN, _doc$fields, _doc$fields$seeLessLa, _doc$fields$seeLessLa2, _doc$fields2, _doc$fields2$seeMoreL, _doc$fields2$seeMoreL2, _doc$fields3, _productOverview$comi, _productOverview$comi2;\n\n var extraAttributes = props.extraAttributes,\n isLarge = props.isLarge,\n isMedium = props.isMedium,\n doc = props.document;\n\n var _useState = (0,react__WEBPACK_IMPORTED_MODULE_11__.useState)(0),\n selectedColorIndex = _useState[0],\n setSelectedColorIndex = _useState[1]; // eslint-disable-next-line no-unused-vars\n\n\n var _updateCurrentProduct = (0,_adapters_helpers_Hooks__WEBPACK_IMPORTED_MODULE_16__/* .updateCurrentProductIndex */ .y3)(),\n _updateCurrentProduct2 = _home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0___default()(_updateCurrentProduct, 2),\n _ = _updateCurrentProduct2[0],\n setGlobalState = _updateCurrentProduct2[1];\n\n var headerRef = (0,react__WEBPACK_IMPORTED_MODULE_11__.useRef)();\n var topRef = (0,react__WEBPACK_IMPORTED_MODULE_11__.useRef)();\n var entity = extraAttributes.entity;\n var productOverview = entity.productOverview.fields;\n var productVariants = productOverview == null ? void 0 : productOverview.productVariants;\n var productHighlights = entity.productHighlights;\n var labels = doc.fields;\n var pressQuote = productOverview == null ? void 0 : (_productOverview$pres = productOverview.pressQuote) == null ? void 0 : _productOverview$pres.fields;\n var backgroundImage = doc.fields.background;\n var startingAtButtonLabel = productOverview == null ? void 0 : (_productOverview$buyN = productOverview.buyNowLabel) == null ? void 0 : _productOverview$buyN.fields.text;\n var anchorId = doc.fields.anchorId;\n var disclaimer = doc.fields.disclaimer;\n var reviewAndRatingId = (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_14__/* .getReviewAndRatingId */ .VP)(entity.productOverview);\n var seeLessLabel = doc == null ? void 0 : (_doc$fields = doc.fields) == null ? void 0 : (_doc$fields$seeLessLa = _doc$fields.seeLessLabel) == null ? void 0 : (_doc$fields$seeLessLa2 = _doc$fields$seeLessLa.fields) == null ? void 0 : _doc$fields$seeLessLa2.text.toUpperCase();\n var seeMoreLabel = doc == null ? void 0 : (_doc$fields2 = doc.fields) == null ? void 0 : (_doc$fields2$seeMoreL = _doc$fields2.seeMoreLabel) == null ? void 0 : (_doc$fields2$seeMoreL2 = _doc$fields2$seeMoreL.fields) == null ? void 0 : _doc$fields2$seeMoreL2.text.toUpperCase();\n var classNames = (doc == null ? void 0 : (_doc$fields3 = doc.fields) == null ? void 0 : _doc$fields3.classNames) || '';\n var comingSoonText = productOverview == null ? void 0 : (_productOverview$comi = productOverview.comingSoonLabel) == null ? void 0 : (_productOverview$comi2 = _productOverview$comi.fields) == null ? void 0 : _productOverview$comi2.text;\n var comingSoonLink = (productOverview == null ? void 0 : productOverview.comingSoonLink) || '';\n var buyNowDeactivated = productOverview == null ? void 0 : productOverview.deactivateBuyNowButton;\n\n var _useState2 = (0,react__WEBPACK_IMPORTED_MODULE_11__.useState)(false),\n isPageLoaded = _useState2[0],\n setIsPageLoaded = _useState2[1];\n\n var uniqueId = (productOverview == null ? void 0 : productOverview.uniqueId) || '';\n\n function handleHashChange() {\n var anchor = (0,_adapters_helpers_Anchor__WEBPACK_IMPORTED_MODULE_15__/* .parseAnchorFromURL */ .Wq)(window.location.hash);\n\n for (var i = 0; i < productVariants.length; i++) {\n var _productVariants$i, _productVariants$i$fi, _productVariants$i$fi2, _productVariants$i$fi3;\n\n var variantColor = (_productVariants$i = productVariants[i]) == null ? void 0 : (_productVariants$i$fi = _productVariants$i.fields) == null ? void 0 : (_productVariants$i$fi2 = _productVariants$i$fi.color) == null ? void 0 : (_productVariants$i$fi3 = _productVariants$i$fi2.fields) == null ? void 0 : _productVariants$i$fi3.name;\n\n if (variantColor) {\n var _anchor$color, _anchor$color2;\n\n if ((anchor == null ? void 0 : (_anchor$color = anchor.color) == null ? void 0 : _anchor$color.toLowerCase()) === (variantColor == null ? void 0 : variantColor.toLowerCase())) {\n setSelectedColorIndex(i);\n }\n\n if ((anchor == null ? void 0 : (_anchor$color2 = anchor.color) == null ? void 0 : _anchor$color2.toLowerCase()) === _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__/* .ProductHighlightsConstants.undefinedStr */ .F2.undefinedStr) {\n setSelectedColorIndex(0);\n }\n }\n }\n }\n\n (0,react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(function () {\n setIsPageLoaded(true);\n handleHashChange();\n window.addEventListener('hashchange', handleHashChange);\n return function () {\n window.removeEventListener('hashchange', handleHashChange);\n };\n }, [isPageLoaded]);\n\n var renderHighlightsHeader = function renderHighlightsHeader() {\n var _ele;\n\n var ele = '';\n\n if (isMedium) {\n ele = document.getElementById('ob-product-subnav-scroll');\n }\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(react__WEBPACK_IMPORTED_MODULE_11__.Suspense, {\n fallback: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(_adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_17__[\"default\"], {}),\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(\"div\", {\n className: 'ob-product-highlights__header',\n ref: headerRef,\n style: {\n marginTop: ((_ele = ele) == null ? void 0 : _ele.offsetHeight) + 'px'\n },\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(Heading, {\n tag: \"h1\",\n className: 'ob-product-highlights__title',\n children: productOverview.title\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"button\", {\n className: \"ob-scroll-to-review-section event_product_review_view\",\n \"data-bv-show\": \"inline_rating\",\n \"data-bv-product-id\": reviewAndRatingId,\n \"data-bv-seo\": \"false\",\n id: \"rnrButton\",\n \"aria-label\": (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_14__/* .stripHtml */ .Vt)(productOverview == null ? void 0 : productOverview.title) ? \"\".concat((0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_14__/* .stripHtml */ .Vt)(productOverview == null ? void 0 : productOverview.title), \" \").concat(_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__/* .ProductHighlightsConstants.productRating */ .F2.productRating) : _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__/* .ProductHighlightsConstants.productRating */ .F2.productRating,\n \"data-action-detail\": (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_14__/* .stripHtml */ .Vt)(productOverview == null ? void 0 : productOverview.title)\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(MarkdownText, {\n className: 'ob-product-highlights__description',\n value: productOverview.description\n })]\n })\n });\n };\n\n (0,react__WEBPACK_IMPORTED_MODULE_11__.useEffect)(function () {\n setGlobalState({\n currentProductId: selectedColorIndex\n });\n\n if (window) {\n var _productVariants$sele, _productVariants$sele2, _productVariants$sele3, _productVariants$sele4, _productVariants$sele5;\n\n var colorName = (_productVariants$sele = productVariants[selectedColorIndex]) == null ? void 0 : (_productVariants$sele2 = _productVariants$sele.fields) == null ? void 0 : (_productVariants$sele3 = _productVariants$sele2.color) == null ? void 0 : (_productVariants$sele4 = _productVariants$sele3.fields) == null ? void 0 : (_productVariants$sele5 = _productVariants$sele4.name) == null ? void 0 : _productVariants$sele5.toLowerCase();\n window.location.hash = \"color=\".concat(encodeURIComponent(colorName));\n\n if ((headerRef == null ? void 0 : headerRef.current) && isLarge) {\n (0,_adapters_helpers_Scroll__WEBPACK_IMPORTED_MODULE_20__/* .scrollIntoView */ .z)(headerRef == null ? void 0 : headerRef.current, {\n behavior: 'smooth'\n });\n }\n\n if ((topRef == null ? void 0 : topRef.current) && !isLarge) {\n (0,_adapters_helpers_Scroll__WEBPACK_IMPORTED_MODULE_20__/* .scrollIntoView */ .z)(topRef == null ? void 0 : topRef.current, {\n behavior: 'smooth'\n });\n }\n }\n }, [selectedColorIndex]);\n\n var renderColorButtons = function renderColorButtons() {\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(\"div\", {\n className: 'ob-product-highlights__color-ctn',\n children: [productVariants.some(function (variant) {\n var _variant$fields;\n\n return (variant == null ? void 0 : (_variant$fields = variant.fields) == null ? void 0 : _variant$fields.color) !== undefined;\n }) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"p\", {\n className: 'ob-product-highlights__label',\n children: labels == null ? void 0 : labels.colorLabel\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"ul\", {\n className: 'ob-product-highlights__colors',\n children: productVariants.map(function (variant, index) {\n var _variant$fields2, _variant$fields3, _variant$fields3$colo, _variant$fields3$colo2, _variant$fields4, _variant$fields4$colo, _variant$fields4$colo2, _variant$fields5, _variant$fields5$colo, _variant$fields5$colo2, _variant$fields6, _variant$fields6$colo, _variant$fields6$colo2, _variant$fields7, _variant$fields7$colo, _variant$fields7$colo2, _variant$fields7$colo3, _variant$fields7$colo4, _variant$fields8, _variant$fields8$colo, _variant$fields8$colo2, _variant$fields8$colo3, _variant$fields8$colo4, _variant$fields8$colo5, _variant$fields9, _variant$fields10, _variant$fields10$col, _variant$fields10$col2;\n\n return (variant == null ? void 0 : (_variant$fields2 = variant.fields) == null ? void 0 : _variant$fields2.color) ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(\"li\", {\n className: \"ob-product-highlights__selected-colors-item\",\n children: [!(variant == null ? void 0 : (_variant$fields3 = variant.fields) == null ? void 0 : (_variant$fields3$colo = _variant$fields3.color) == null ? void 0 : (_variant$fields3$colo2 = _variant$fields3$colo.fields) == null ? void 0 : _variant$fields3$colo2.colorImage) ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"button\", {\n style: (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_14__/* .getColorStyle */ .Nt)(variant.fields.color),\n className: \"ob-product-highlights__color event_buy_now \".concat(index === selectedColorIndex ? _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__/* .ProductHighlightsConstants.isActive */ .F2.isActive : _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__/* .ProductHighlightsConstants.empty */ .F2.empty),\n onClick: function onClick() {\n return setSelectedColorIndex(index);\n },\n \"data-action-detail\": \"open_ps_panel_\".concat(variant == null ? void 0 : (_variant$fields4 = variant.fields) == null ? void 0 : (_variant$fields4$colo = _variant$fields4.color) == null ? void 0 : (_variant$fields4$colo2 = _variant$fields4$colo.fields) == null ? void 0 : _variant$fields4$colo2.name, \"_\").concat((0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_14__/* .stripHtml */ .Vt)(productOverview == null ? void 0 : productOverview.title)),\n \"aria-pressed\": index === selectedColorIndex ? true : false,\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"span\", {\n className: \"visuallyhidden\",\n children: variant == null ? void 0 : (_variant$fields5 = variant.fields) == null ? void 0 : (_variant$fields5$colo = _variant$fields5.color) == null ? void 0 : (_variant$fields5$colo2 = _variant$fields5$colo.fields) == null ? void 0 : _variant$fields5$colo2.name\n })\n }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"img\", {\n className: \"event_buy_now_choose_product ob-series-product-highlights-color-img \".concat(index === selectedColorIndex ? 'ob-series__color--active' : ''),\n \"data-action-detail\": \"\".concat(variant == null ? void 0 : (_variant$fields6 = variant.fields) == null ? void 0 : (_variant$fields6$colo = _variant$fields6.color) == null ? void 0 : (_variant$fields6$colo2 = _variant$fields6$colo.fields) == null ? void 0 : _variant$fields6$colo2.name, \"_\").concat((0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_14__/* .stripHtml */ .Vt)(productOverview == null ? void 0 : productOverview.title)),\n alt: variant == null ? void 0 : (_variant$fields7 = variant.fields) == null ? void 0 : (_variant$fields7$colo = _variant$fields7.color) == null ? void 0 : (_variant$fields7$colo2 = _variant$fields7$colo.fields) == null ? void 0 : (_variant$fields7$colo3 = _variant$fields7$colo2.colorImage) == null ? void 0 : (_variant$fields7$colo4 = _variant$fields7$colo3.fields) == null ? void 0 : _variant$fields7$colo4.title,\n src: variant == null ? void 0 : (_variant$fields8 = variant.fields) == null ? void 0 : (_variant$fields8$colo = _variant$fields8.color) == null ? void 0 : (_variant$fields8$colo2 = _variant$fields8$colo.fields) == null ? void 0 : (_variant$fields8$colo3 = _variant$fields8$colo2.colorImage) == null ? void 0 : (_variant$fields8$colo4 = _variant$fields8$colo3.fields) == null ? void 0 : (_variant$fields8$colo5 = _variant$fields8$colo4.file) == null ? void 0 : _variant$fields8$colo5.url,\n onClick: function onClick() {\n return setSelectedColorIndex(index);\n }\n }), (variant == null ? void 0 : (_variant$fields9 = variant.fields) == null ? void 0 : _variant$fields9.color) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"div\", {\n className: \"color-container-pdp\",\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"p\", {\n className: index === selectedColorIndex ? 'ob-accessibility-highlighted' : 'ob-accessibility',\n children: (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_14__/* .handleColorNameFormat */ .CB)(variant == null ? void 0 : (_variant$fields10 = variant.fields) == null ? void 0 : (_variant$fields10$col = _variant$fields10.color) == null ? void 0 : (_variant$fields10$col2 = _variant$fields10$col.fields) == null ? void 0 : _variant$fields10$col2.name)\n })\n })]\n }, index) : '';\n })\n })]\n });\n };\n\n var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_11__.useState)(false),\n showMore = _useState3[0],\n setShowMore = _useState3[1];\n\n var highlightList = productHighlights ? Object.keys(productHighlights).slice(0, 3).map(function (key) {\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"li\", {\n className: 'ob-product-highlights__highlights-list-item',\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(RichText, {\n document: productHighlights[key]\n })\n }, key);\n }) : [];\n var highlightListMore = productHighlights ? Object.keys(productHighlights).slice(3).map(function (key) {\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"li\", {\n className: \"ob-product-highlights__highlights-list-item more \".concat(showMore),\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(RichText, {\n document: productHighlights[key]\n })\n }, key);\n }) : [];\n\n var highlightLength = function highlightLength() {\n // Return true if highlight is superior than 3 to display see more button\n return productHighlights && Object.keys(productHighlights).length > 3;\n };\n\n var showMoreButton = function showMoreButton() {\n var button;\n\n if (showMore) {\n button = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(ObLink, {\n ariaExpanded: true,\n className: \"primaryGrey ob-product-highlights__see-more event_button_click\",\n dataActionDetail: seeLessLabel,\n tag: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__/* .ProductHighlightsConstants.button */ .F2.button,\n ariaLabel: \"\".concat(seeLessLabel, \" \").concat(_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__/* .ProductHighlightsConstants.highlights */ .F2.highlights),\n onClick: handleShowMore,\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(Icon, {\n name: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__/* .ProductHighlightsConstants.minus6 */ .F2.minus6,\n roundedIcon: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__/* .ProductHighlightsConstants.blue */ .F2.blue,\n viewBox: 6\n }), seeLessLabel, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"span\", {\n className: \"visuallyhidden\",\n children: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__/* .ProductHighlightsConstants.highlights */ .F2.highlights\n })]\n });\n } else {\n button = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(ObLink, {\n ariaExpanded: false,\n className: \"primaryGrey ob-product-highlights__see-more event_button_click\",\n dataActionDetail: seeMoreLabel,\n tag: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__/* .ProductHighlightsConstants.button */ .F2.button,\n onClick: handleShowMore,\n ariaLabel: \"\".concat(seeMoreLabel, \" \").concat(_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__/* .ProductHighlightsConstants.highlights */ .F2.highlights),\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(Icon, {\n name: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__/* .ProductHighlightsConstants.plus */ .F2.plus,\n roundedIcon: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__/* .ProductHighlightsConstants.blue */ .F2.blue,\n viewBox: 10\n }), seeMoreLabel, /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"span\", {\n className: \"visuallyhidden\",\n children: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__/* .ProductHighlightsConstants.highlights */ .F2.highlights\n })]\n });\n }\n\n return button;\n };\n\n var handleShowMore = function handleShowMore() {\n setShowMore(!showMore);\n };\n\n var renderTextContent = function renderTextContent() {\n var _productVariants$sele6, _productVariants$sele7, _productVariants$sele8, _productVariants$sele9;\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(\"div\", {\n className: 'ob-product-highlights__text-content',\n children: [!isLarge && renderHighlightsHeader(), isLarge && productVariants && renderColorButtons(), pressQuote && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(\"div\", {\n className: 'ob-product-highlights__quote',\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"span\", {\n className: 'ob-product-highlights__quote-text',\n children: pressQuote.quote\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(Image, {\n image: pressQuote.pressLogo\n })]\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(\"div\", {\n className: 'ob-product-highlights__highlights-ctn',\n id: 'ob-highlights-ctn',\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"p\", {\n className: 'ob-product-highlights__label',\n children: labels.highlightsLabel\n }), productHighlights && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(\"ul\", {\n className: 'ob-product-highlights__highlights-list',\n children: [highlightList, showMore && highlightListMore]\n }), highlightLength() && showMoreButton()]\n }), !isLarge && productVariants && renderColorButtons(), startingAtButtonLabel && !buyNowDeactivated && ((_productVariants$sele6 = productVariants[selectedColorIndex]) == null ? void 0 : (_productVariants$sele7 = _productVariants$sele6.fields) == null ? void 0 : _productVariants$sele7.sku) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(Button, {\n size: 'medium-long',\n className: \"event_buy_now\",\n dataActionDetail: \"open_ps_panel_\".concat((0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_14__/* .stripHtml */ .Vt)(productOverview.title)),\n onClick: function onClick(event) {\n return props.onClickCallback(event);\n },\n sku: (_productVariants$sele8 = productVariants[selectedColorIndex]) == null ? void 0 : (_productVariants$sele9 = _productVariants$sele8.fields) == null ? void 0 : _productVariants$sele9.sku,\n children: startingAtButtonLabel\n }), buyNowDeactivated && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(Button, {\n tag: 'a',\n disabled: comingSoonLink === '',\n href: comingSoonLink,\n size: 'medium-long',\n target: '_blank',\n rel: \"noopener noreferrer\",\n children: comingSoonText\n })]\n });\n };\n\n var render360Images = function render360Images(collection) {\n return collection.map(function (image, index) {\n var _image$fields, _image$fields$asset, _image$fields$asset$f, _image$fields$asset$f2, _image$fields2, _image$fields2$asset, _image$fields2$asset$, _image$fields2$asset$2, _image$fields3;\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"div\", {\n children: (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) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(Img, {\n contentImageId: image == null ? void 0 : (_image$fields2 = image.fields) == null ? void 0 : (_image$fields2$asset = _image$fields2.asset) == null ? void 0 : (_image$fields2$asset$ = _image$fields2$asset.fields) == null ? void 0 : (_image$fields2$asset$2 = _image$fields2$asset$.file) == null ? void 0 : _image$fields2$asset$2.url,\n alt: image == null ? void 0 : (_image$fields3 = image.fields) == null ? void 0 : _image$fields3.alternateText,\n transformations: 'w_700',\n noLazyLoad: true\n })\n }, \"360-\".concat(index));\n });\n };\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(\"div\", {\n className: \"ob-product-highlights \".concat(classNames, \" \").concat(uniqueId),\n id: anchorId,\n ref: topRef,\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(Image, {\n image: backgroundImage,\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(\"div\", {\n className: 'ob-product-highlights__ctn',\n children: [isPageLoaded ? isLarge && renderHighlightsHeader() : isMedium && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"div\", {\n className: \"ob-mobile-product-highlights-header\",\n children: renderHighlightsHeader()\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"ul\", {\n className: 'ob-product-highlights__img-ctn',\n children: productVariants ? productVariants.map(function (variant, index) {\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"li\", {\n className: \"ob-product-highlights__img \".concat(index === selectedColorIndex ? _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__/* .ProductHighlightsConstants.isActive */ .F2.isActive : _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__/* .ProductHighlightsConstants.empty */ .F2.empty),\n children: variant.fields.backgroundsCollection ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsxs)(\"div\", {\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(Rotation, {\n className: 'ob-product-highlights__360-ctn',\n tabIndex: 0,\n autoPlay: 25,\n isDisabled: (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_14__/* .isIEorEdge */ .DY)(),\n playOnce: true,\n cycle: true,\n children: render360Images(variant.fields.backgroundsCollection)\n }), !(0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_14__/* .isIEorEdge */ .DY)() && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"span\", {\n className: 'ob-product-highlights__360-icon',\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"svg\", {\n className: 'ob-icon ob-icon--icon360',\n viewBox: '0 0 53 39',\n dangerouslySetInnerHTML: {\n __html: isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_18___default().sanitize(\"\\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \\n \"))\n }\n })\n })]\n }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(Image, {\n image: variant.fields.mainAsset\n })\n }, index);\n }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(\"li\", {\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(Image, {\n image: productOverview.mainAsset,\n noLazyLoad: true\n })\n })\n }), !isLarge && renderTextContent()]\n }), !isLarge && disclaimer && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(Disclaimer, {\n className: 'ob-product-highlights__disclaimer--desktop',\n document: disclaimer\n })]\n }), isLarge && renderTextContent(), isLarge && disclaimer && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__.jsx)(Disclaimer, {\n className: 'ob-product-highlights__disclaimer--mobile',\n document: disclaimer\n })]\n });\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,_adapters_helpers_Hooks__WEBPACK_IMPORTED_MODULE_16__/* .mediaQueryHOC */ .Ui)(ProductHighlights)); // This export is for unit testing (do not remove) :\n\nvar ProductHighlightsTest = ProductHighlights;\n\n/***/ })\n\n}]);"],"names":["self","push","__unused_webpack_module","__webpack_exports__","__webpack_require__","d","useIsomorphicLayoutEffect","mediaQueryHOC","useMatchMedia","updateCurrentProductIndex","_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_8__","_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_8___default","n","react__WEBPACK_IMPORTED_MODULE_11__","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_12__","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","apply","_objectSpread","target","i","arguments","length","source","forEach","key","getOwnPropertyDescriptors","defineProperties","defineProperty","useLayoutEffect","mediaQueryString","initialValue","undefined","_useState","useState","match","setMatch","useEffect","window","matchMedia","matches","addListener","handleMatch","removeListener","event","Component","props","isXSmall","isSmall","isMedium","isLarge","isXLarge","jsx","listeners","state","currentProductIndex","setState","newState","listener","newListener","scrollIntoView","smoothScrollId","smoothScrollStartY","smoothScrollDeltaY","smoothScrollStartTime","element","options","scrollY","pageYOffset","getBoundingClientRect","top","headerElement","document","querySelector","productSubNavElement","bottom","behavior","requestAnimationFrame","Date","now","smoothScrollStep","t","elapsed","scrollTo","scrollX","easeInOutQuad","cancelAnimationFrame","r","ProductHighlightsTest","_home_runner_work_mw_mt_oralb_com_cs_cz_mw_mt_oralb_com_cs_cz_node_modules_next_dist_compiled_babel_runtime_helpers_slicedToArray_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_slicedToArray_js__WEBPACK_IMPORTED_MODULE_0___default","next_dynamic__WEBPACK_IMPORTED_MODULE_12__","next_dynamic__WEBPACK_IMPORTED_MODULE_12___default","_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_13__","_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_14__","_adapters_helpers_Anchor__WEBPACK_IMPORTED_MODULE_15__","_adapters_helpers_Hooks__WEBPACK_IMPORTED_MODULE_16__","_adapters_helpers_Scroll__WEBPACK_IMPORTED_MODULE_20__","_adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_17__","isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_18__","isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_18___default","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_19__","Rotation","e","then","bind","loadableGenerated","webpack","Heading","Image","Img","Promise","all","ObLink","Icon","RichText","Button","Disclaimer","MarkdownText","ProductHighlights","_productOverview$pres","_productOverview$buyN","_doc$fields","_doc$fields$seeLessLa","_doc$fields$seeLessLa2","_doc$fields2","_doc$fields2$seeMoreL","_doc$fields2$seeMoreL2","_doc$fields3","_productOverview$comi","_productOverview$comi2","extraAttributes","doc","selectedColorIndex","setSelectedColorIndex","_updateCurrentProduct","y3","_updateCurrentProduct2","setGlobalState","headerRef","useRef","topRef","entity","productOverview","fields","productVariants","productHighlights","labels","pressQuote","backgroundImage","background","startingAtButtonLabel","buyNowLabel","text","anchorId","disclaimer","reviewAndRatingId","VP","seeLessLabel","toUpperCase","seeMoreLabel","classNames","comingSoonText","comingSoonLabel","comingSoonLink","buyNowDeactivated","deactivateBuyNowButton","_useState2","isPageLoaded","setIsPageLoaded","uniqueId","handleHashChange","anchor","Wq","location","hash","_productVariants$i","_productVariants$i$fi","_productVariants$i$fi2","_productVariants$i$fi3","_anchor$color","_anchor$color2","variantColor","color","name","toLowerCase","F2","undefinedStr","addEventListener","removeEventListener","renderHighlightsHeader","_ele","ele","getElementById","Suspense","fallback","children","jsxs","className","ref","style","marginTop","offsetHeight","tag","title","id","Vt","concat","productRating","value","description","currentProductId","_productVariants$sele","_productVariants$sele2","_productVariants$sele3","_productVariants$sele4","_productVariants$sele5","colorName","encodeURIComponent","current","z","renderColorButtons","some","variant","_variant$fields","colorLabel","map","index","_variant$fields2","_variant$fields3","_variant$fields3$colo","_variant$fields3$colo2","_variant$fields4","_variant$fields4$colo","_variant$fields4$colo2","_variant$fields5","_variant$fields5$colo","_variant$fields5$colo2","_variant$fields6","_variant$fields6$colo","_variant$fields6$colo2","_variant$fields7","_variant$fields7$colo","_variant$fields7$colo2","_variant$fields7$colo3","_variant$fields7$colo4","_variant$fields8","_variant$fields8$colo","_variant$fields8$colo2","_variant$fields8$colo3","_variant$fields8$colo4","_variant$fields8$colo5","_variant$fields9","_variant$fields10","_variant$fields10$col","_variant$fields10$col2","colorImage","alt","src","file","url","onClick","Nt","isActive","empty","CB","_useState3","showMore","setShowMore","highlightList","slice","highlightListMore","handleShowMore","renderTextContent","_productVariants$sele6","_productVariants$sele7","_productVariants$sele8","_productVariants$sele9","quote","image","pressLogo","highlightsLabel","highlightLength","ariaExpanded","dataActionDetail","button","ariaLabel","highlights","minus6","roundedIcon","blue","viewBox","plus","sku","size","onClickCallback","disabled","href","rel","backgroundsCollection","tabIndex","autoPlay","isDisabled","DY","playOnce","cycle","collection","_image$fields","_image$fields$asset","_image$fields$asset$f","_image$fields$asset$f2","_image$fields2","_image$fields2$asset","_image$fields2$asset$","_image$fields2$asset$2","_image$fields3","asset","contentImageId","alternateText","transformations","noLazyLoad","dangerouslySetInnerHTML","__html","sanitize","mainAsset","Ui"],"sourceRoot":""}