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C,QAAAlG,qBAAC5C,0DAAD+G,EAAA,CAAAkE,QAAA,CAAAjL,0DAAA+G,EAAA,CAAAmE,KAAA,EAAA3E,SAAY,GAAAjG,gDAAAvB,GAAA,EAAA8B,MAAA,CAA8CqP,MAAA,IAAY,EAAZiE,CAAAA,sBAAY3Q,eAAA,CAAAsF,MAAA,eAAAsL,CAAAA,uBAAAD,sBAAA5Q,MAAA,SAAA6Q,uBAAAxB,SAAA,CAAtEW,WAAA,EADR,EAFS,EAAAzK,MAMT,MAAAxI,gDACIvB,GAAA,QAAAwH,SAAc,CAAe,EAACjG,gDAA9BvB,GAAA,EAAA8B,MAAA,CAA0CqP,MAAA5M,gBAAYsP,SAAA,CAAtDW,WAAA,EADJ,EApBpB,EA0BK,EA1BL,EAAA3U,UAAA6Q,oBAAA,EAFR,GAAA7Q,UAAA6Q,oBAAA,EAmCP,GAGD/T,oBAAA,WAAAwE,sDAAAmU,EAAA,EAAAjT,yBACO,IAAA5B,4BAAA4B,uBAAA","sources":["webpack://_N_E/./node_modules/core-js/modules/es.array.find-index.js","webpack://_N_E/./adapters/helpers/Hooks.js","webpack://_N_E/./components/LegacyProductHighlightsBlock/LegacyProductHighlightsBlock.js","webpack://_N_E/"],"sourcesContent":["'use strict';\nvar $ = require('../internals/export');\nvar $findIndex = require('../internals/array-iteration').findIndex;\nvar addToUnscopables = require('../internals/add-to-unscopables');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength(FIND_INDEX);\n\n// Shouldn't skip holes\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n","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","import React, { useEffect, useRef, useState, Suspense } from 'react';\nimport dynamic from 'next/dynamic';\nimport PropTypes from 'prop-types';\nimport { LegacyProductHighlightsConstants } from '../../adapters/helpers/Constants';\nimport { getColorStyle } from '../../adapters/helpers/Utils';\nimport {createHtmlFriendlyId, getReviewAndRatingId, stripHtml} from '../../adapters/helpers/Utils';\nimport {handleColorNameFormat} from '../../adapters/helpers/Utils';\nimport { mediaQueryHOC, updateCurrentProductIndex } from '../../adapters/helpers/Hooks';\nconst Heading = dynamic(() => import('../Heading/Heading'));\nconst Image = dynamic(() => import('../Image/Image'));\nconst ObLink = dynamic(() => import('../ObLink/ObLink'));\nconst Icon = dynamic(() => import('../Icon/Icon'));\nconst RichText = dynamic(() => import('../RichText/RichText'));\nconst Button = dynamic(() => import('../Button/Button'));\nimport Loader from '../../adapters/helpers/Loader'\nimport DOMPurify from 'isomorphic-dompurify';\n\nfunction LegacyProductHighlights(props) {\n const {extraAttributes, isMedium, document:doc} = props;\n const [selectedVariantIndex, setSelectedVariantIndex] = useState(0);\n const [currentCarouselImageIndex, setCurrentCarouselImageIndex] = useState(0);\n // eslint-disable-next-line no-unused-vars\n const [_, setGlobalState] = updateCurrentProductIndex();\n const entity = extraAttributes.entity;\n const productOverview = entity.productOverview.fields;\n const productVariants = productOverview?.productVariants;\n const legacyAssets = entity?.legacyAssets || [];\n const [carouselAssets, setCarouselAssets] = useState(legacyAssets);\n const [productHighlights, setProductHighlights] = useState(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 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 nextLabel = doc?.fields?.nextLabel?.fields?.text;\n const previousLabel = doc?.fields?.previousLabel?.fields?.text.toUpperCase();\n const productVariantAttributeTypes = entity?.productVariantAttributeTypes || [];\n const thumbnailCarouselRef = useRef();\n const comingSoonText = productOverview?.comingSoonLabel?.fields?.text || '';\n const comingSoonLink = productOverview?.comingSoonLink || '';\n const buyNowDeactivated = productOverview?.deactivateBuyNowButton || false;\n const [isPageLoaded, setIsPageLoaded] = useState(false);\n\n const TruncatedDescription = ({className, text}) => {\n const [seeLess, setSeeLess] = useState(true);\n const firstPeriodIndex = text.indexOf('.');\n\n // If there is no period or the text contains a single sentence.\n if (firstPeriodIndex === -1 || firstPeriodIndex + 1 === text.length) {\n return
;\n }\n\n return (\n }>\n
\n
\n\n setSeeLess(!seeLess)} tag={LegacyProductHighlightsConstants.button}>\n \n {seeLess ? seeMoreLabel : seeLessLabel}\n \n
\n
\n );\n };\n\n const renderHighlightsHeader = () => {\n let ele ='';\n if(isMedium) {\n ele = document.getElementById('ob-product-subnav-scroll'); \n }\n return (\n
\n {productOverview.title}\n \n
\n )\n };\n\n useEffect(() => {\n setIsPageLoaded(true);\n setGlobalState({currentProductId: selectedVariantIndex})\n if (productVariants[selectedVariantIndex]?.fields?.legacyAssets) {\n setCarouselAssets(productVariants[selectedVariantIndex]?.fields?.legacyAssets);\n } else if (legacyAssets.length > 1) {\n setCarouselAssets(legacyAssets);\n }\n }, [selectedVariantIndex, isPageLoaded]);\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 ? { setSelectedVariantIndex(index); setCurrentCarouselImageIndex(0) }}\n data-action-detail={`${variant?.fields?.color?.fields?.name}_${stripHtml(productOverview?.title)}`}\n aria-pressed={index === selectedVariantIndex ? true : false}\n >\n {variant?.fields?.color?.fields?.name}\n :\n {variant?.fields?.color?.fields?.colorImage?.fields?.title} setSelectedVariantIndex(index)}>\n }\n {variant?.fields?.color &&

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

    }\n
  • : '';\n })}\n
\n
\n )\n };\n useEffect(() => {\n if(carouselAssets && carouselAssets.length > 0) {\n let carouselAssetsData = carouselAssets;\n let arrayOfData = [];\n carouselAssetsData.filter((data, index) => {\n let indexVal = productHighlights && productHighlights.length > 0 ? productHighlights?.findIndex(x => x.fields.imageIndex == index) : -1;\n if(indexVal === -1) {\n if(data?.fields?.isHighlightHyperlink) {\n data.fields.imageIndex = index;\n data.fields.selectedVariantIndex = selectedVariantIndex;\n arrayOfData.push(data);\n }\n }\n });\n if(productHighlights && productHighlights.length > 0) {\n setProductHighlights([...productHighlights?.filter(obj => !obj.fields.hasOwnProperty('selectedVariantIndex')), ...arrayOfData]);\n } else {\n setProductHighlights([...arrayOfData]);\n }\n }\n }, [carouselAssets, selectedVariantIndex]);\n\n const [showMore, setShowMore] = useState(false);\n\n const highlightList = (productHighlights) ? Object.keys(productHighlights).slice(0, 3).map(key => {\n let highLightStatus = productHighlights?.[key]?.fields?.isHighlightHyperlink || false;\n return (\n
  • \n {highLightStatus ?

    handleHyperLinkImage(productHighlights?.[key]?.fields?.imageIndex)} className=\"ob-highlight-hyperlink-list-item\">\n {productHighlights?.[key]?.fields?.highlightHyperlinkTitle || productHighlights?.[key]?.fields?.name}

    : }\n
  • \n )}\n ) : [];\n\n const highlightListMore = (productHighlights) ? Object.keys(productHighlights).slice(3).map(key => {\n let highLightStatus = productHighlights?.[key]?.fields?.isHighlightHyperlink || false;\n return (\n
  • \n {highLightStatus ?

    handleHyperLinkImage(productHighlights?.[key]?.fields?.imageIndex)} className=\"ob-highlight-hyperlink-list-item\">\n {productHighlights?.[key]?.fields?.highlightHyperlinkTitle || productHighlights?.[key]?.fields?.name}

    : }\n
  • \n )}\n ) : [];\n const handleHyperLinkImage = (imgIndex) => {\n setCurrentCarouselImageIndex(imgIndex);\n if(thumbnailCarouselRef.current) {\n const thumbnailChildren = thumbnailCarouselRef.current.children;\n scrollElemIntoView(thumbnailChildren[imgIndex]);\n let element = document.getElementById('ob-product-highlights-carousel');\n if (element && props.isSmall) {\n element.scrollIntoView({ behavior: 'smooth', block: 'end', inline: 'nearest' });\n }\n }\n }\n\n const highlightLength = () => {\n // Return true if highlight is superior than 2 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.toUpperCase()}\n {LegacyProductHighlightsConstants.highlights}\n \n )\n } else {\n button = (\n \n \n {seeMoreLabel.toUpperCase()}\n {LegacyProductHighlightsConstants.highlights}\n \n );\n }\n\n return button;\n };\n\n\n const handleShowMore = () => {\n setShowMore(!showMore);\n };\n\n const renderShopByPack = (productVariants) => {\n return (\n
    \n
      \n {productVariantAttributeTypes.map((productVariantAttributeType, index) => (\n
    • \n \n
      \n setSelectedVariantIndex(parseInt(event.currentTarget.value, 10))}\n >\n {productVariants.map((variant, variantIndex) => {\n let productVariantAttributes = variant?.fields?.productVariantAttributes;\n\n if (productVariantAttributes != null && productVariantAttributes.length > index) {\n if (productVariantAttributeType?.fields?.name === productVariantAttributes[index]?.fields?.productVariantAttributeTypeReference?.fields?.name) {\n return (\n \n )\n }\n } else {\n console.info('Product Variant Attr Type ' + productVariantAttributeType?.fields?.name + ' missing at index ' + index + ' for variant ' + variant?.fields?.name);\n return ('');\n }\n\n })}\n \n
      \n \n
      \n
      \n
    • \n ))}\n
    \n
    \n )\n };\n\n const handleCarouselSlideChange = ({position = '', index = -1}) => {\n if(thumbnailCarouselRef.current) {\n let carouselIndex = currentCarouselImageIndex;\n if (position === LegacyProductHighlightsConstants.prev && carouselIndex > 0) {\n carouselIndex--;\n } else if (position === LegacyProductHighlightsConstants.next && carouselIndex < carouselAssets?.length - 1) {\n carouselIndex++;\n } else if (index > -1) {\n carouselIndex = index;\n }\n setCurrentCarouselImageIndex(carouselIndex);\n\n const thumbnailChildren = thumbnailCarouselRef.current.children;\n scrollElemIntoView(thumbnailChildren[carouselIndex]);\n\n }\n };\n\n const scrollElemIntoView = (elem) => {\n if (!elem) {\n return;\n }\n elem.scrollIntoView({\n behavior: LegacyProductHighlightsConstants.smooth,\n block: LegacyProductHighlightsConstants.nearest,\n inline: LegacyProductHighlightsConstants.center\n })\n };\n\n let startTouchPoint = null;\n let endTouchPoint = null;\n\n const onTouchStart = event => {\n endTouchPoint = null;\n\n if (event.touches) {\n startTouchPoint = event.touches[0];\n }\n };\n\n const onTouchEnd = () => {\n if (endTouchPoint != null && startTouchPoint != null) {\n let deltaX = startTouchPoint.screenX - endTouchPoint.screenX;\n let deltaY = startTouchPoint.screenY - endTouchPoint.screenY;\n\n if (deltaX > 0 && !isVerticalScroll(deltaX, deltaY)) {\n handleCarouselSlideChange({position: LegacyProductHighlightsConstants.next})\n } else {\n handleCarouselSlideChange({position: LegacyProductHighlightsConstants.prev})\n }\n }\n };\n\n const onTouchMove = event => {\n if (event.touches) {\n endTouchPoint = event.touches[0];\n }\n };\n\n const isVerticalScroll = (deltaX, deltaY, deltaThreshold = 10) => {\n let moveX = Math.abs(deltaX) > deltaThreshold ? Math.abs(deltaX) : 0;\n let moveY = Math.abs(deltaY) > deltaThreshold ? Math.abs(deltaY) : 0;\n\n return moveY > moveX;\n };\n\n const renderCarousel = () => {\n return (\n }>\n
    \n
      \n { carouselAssets.map((carouselMainAsset, index) => (\n \n }>{carouselAssets?.[index]?.fields?.alternateText}\n \n ))}\n
    \n\n
    \n
      \n { carouselAssets.map((carouselThumbnailItem, index) => (\n \n handleCarouselSlideChange({index: index})}\n >\n }>\n \n \n \n \n ))}\n
    \n handleCarouselSlideChange({ position: LegacyProductHighlightsConstants.prev })}\n aria-label={previousLabel}\n tabIndex={currentCarouselImageIndex === 0 ? -1 : null}\n disabled={currentCarouselImageIndex === 0 ? true : false} \n >\n \n \n handleCarouselSlideChange({ position: LegacyProductHighlightsConstants.next })}\n aria-label={nextLabel}\n tabIndex={currentCarouselImageIndex === carouselAssets?.length - 1 ? -1 : null}\n disabled={currentCarouselImageIndex === carouselAssets?.length - 1 ? true : false}\n >\n \n \n
    \n
    \n
    \n )\n };\n\n const renderTextContent = () => {\n return (\n
    \n {!isMedium && renderHighlightsHeader()}\n {isMedium && productVariants && renderColorButtons()}\n \n {pressQuote &&\n
    \n {pressQuote.quote}\n \n
    \n }\n {productHighlights && productHighlights.length > 0 &&\n
    \n

    {labels.highlightsLabel}

    \n
      \n {highlightList}\n {showMore &&\n highlightListMore\n }\n
    \n {highlightLength() && showMoreButton()}\n
    \n }\n {!isMedium && productVariants && productVariants?.some(variant => variant?.fields?.color !== undefined) && renderColorButtons()}\n\n { productVariants && productVariantAttributeTypes.length > 0 && productVariants[selectedVariantIndex]?.fields?.productVariantAttributes && renderShopByPack(productVariants) }\n\n { startingAtButtonLabel && !buyNowDeactivated && productVariants[selectedVariantIndex]?.fields?.sku &&\n \n }\n\n {buyNowDeactivated &&\n \n {comingSoonText}\n \n }\n
    \n )\n };\n\n if(productVariants && productVariants[0]?.fields?.mainAsset?.fields){\n productVariants[0].fields.mainAsset.fields['isProductPage'] = true;\n }else if(productOverview?.mainAsset?.fields){\n productOverview.mainAsset.fields['isProductPage'] = true;\n }\n \n return (\n }>\n
    \n \n
    \n {/* Below code structure have implemented for pagespeed. */}\n {\n isPageLoaded ?\n isMedium && renderHighlightsHeader()\n :\n isMedium &&
    \n {renderHighlightsHeader()}\n
    \n }\n {carouselAssets.length > 1 ? (\n renderCarousel()\n ) : (\n
      \n { productVariants ?\n productVariants.map((variant, index) => (\n
    • \n \n
    • \n )) : (\n
    • \n \n
    • \n )}\n
    \n )}\n {!isMedium && renderTextContent()}\n
    \n \n {isMedium && renderTextContent()}\n
    \n
    \n )\n}\n\nexport default mediaQueryHOC(LegacyProductHighlights);\n// This export is for unit testing (do not remove) :\nexport const LegacyProductHighlightsTest = LegacyProductHighlights;\n\nLegacyProductHighlights.propTypes = {\n extraAttributes: PropTypes.object,\n isMedium: PropTypes.bool,\n document: PropTypes.object,\n onClickCallback: PropTypes.func,\n className: PropTypes.string,\n text: PropTypes.string,\n};\n","\"use strict\";\n(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[1970],{\n\n/***/ 34553:\n/***/ (function(__unused_webpack_module, __unused_webpack_exports, __webpack_require__) {\n\n\nvar $ = __webpack_require__(82109);\nvar $findIndex = (__webpack_require__(42092).findIndex);\nvar addToUnscopables = __webpack_require__(51223);\nvar arrayMethodUsesToLength = __webpack_require__(29207);\n\nvar FIND_INDEX = 'findIndex';\nvar SKIPS_HOLES = true;\n\nvar USES_TO_LENGTH = arrayMethodUsesToLength(FIND_INDEX);\n\n// Shouldn't skip holes\nif (FIND_INDEX in []) Array(1)[FIND_INDEX](function () { SKIPS_HOLES = false; });\n\n// `Array.prototype.findIndex` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.findindex\n$({ target: 'Array', proto: true, forced: SKIPS_HOLES || !USES_TO_LENGTH }, {\n findIndex: function findIndex(callbackfn /* , that = undefined */) {\n return $findIndex(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.github.io/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables(FIND_INDEX);\n\n\n/***/ }),\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/***/ 81970:\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 */ \"LegacyProductHighlightsTest\": function() { return /* binding */ LegacyProductHighlightsTest; }\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 _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_1__ = __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_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_slicedToArray_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_promise_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(88674);\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(82772);\n/* harmony import */ var core_js_modules_es_array_index_of_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_index_of_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_array_concat_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(92222);\n/* harmony import */ var core_js_modules_es_array_concat_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_concat_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_function_name_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(68309);\n/* harmony import */ var core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_function_name_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(57327);\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_array_find_index_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(34553);\n/* harmony import */ var core_js_modules_es_array_find_index_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_find_index_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(47941);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_12___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_12__);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(82526);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(41817);\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(91058);\n/* harmony import */ var core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_15___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_parse_int_js__WEBPACK_IMPORTED_MODULE_15__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(67294);\n/* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(5152);\n/* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_17___default = /*#__PURE__*/__webpack_require__.n(next_dynamic__WEBPACK_IMPORTED_MODULE_17__);\n/* harmony import */ var _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__ = __webpack_require__(24036);\n/* harmony import */ var _adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_19__ = __webpack_require__(8996);\n/* harmony import */ var _adapters_helpers_Hooks__WEBPACK_IMPORTED_MODULE_20__ = __webpack_require__(71357);\n/* harmony import */ var _adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_21__ = __webpack_require__(47322);\n/* harmony import */ var isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_22__ = __webpack_require__(29238);\n/* harmony import */ var isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_22___default = /*#__PURE__*/__webpack_require__.n(isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_22__);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__ = __webpack_require__(85893);\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar Heading = next_dynamic__WEBPACK_IMPORTED_MODULE_17___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_17___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 ObLink = next_dynamic__WEBPACK_IMPORTED_MODULE_17___default()(function () {\n return Promise.all(/* import() */[__webpack_require__.e(1664), __webpack_require__.e(2854)]).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_17___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_17___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_17___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});\n\n\n\n\n\nfunction LegacyProductHighlights(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, _doc$fields3$nextLabe, _doc$fields3$nextLabe2, _doc$fields4, _doc$fields4$previous, _doc$fields4$previous2, _productOverview$comi, _productOverview$comi2, _productVariants$, _productVariants$$fie, _productVariants$$fie2, _productOverview$main;\n\n var extraAttributes = props.extraAttributes,\n isMedium = props.isMedium,\n doc = props.document;\n\n var _useState = (0,react__WEBPACK_IMPORTED_MODULE_16__.useState)(0),\n selectedVariantIndex = _useState[0],\n setSelectedVariantIndex = _useState[1];\n\n var _useState2 = (0,react__WEBPACK_IMPORTED_MODULE_16__.useState)(0),\n currentCarouselImageIndex = _useState2[0],\n setCurrentCarouselImageIndex = _useState2[1]; // eslint-disable-next-line no-unused-vars\n\n\n var _updateCurrentProduct = (0,_adapters_helpers_Hooks__WEBPACK_IMPORTED_MODULE_20__/* .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_1___default()(_updateCurrentProduct, 2),\n _ = _updateCurrentProduct2[0],\n setGlobalState = _updateCurrentProduct2[1];\n\n var entity = extraAttributes.entity;\n var productOverview = entity.productOverview.fields;\n var productVariants = productOverview == null ? void 0 : productOverview.productVariants;\n var legacyAssets = (entity == null ? void 0 : entity.legacyAssets) || [];\n\n var _useState3 = (0,react__WEBPACK_IMPORTED_MODULE_16__.useState)(legacyAssets),\n carouselAssets = _useState3[0],\n setCarouselAssets = _useState3[1];\n\n var _useState4 = (0,react__WEBPACK_IMPORTED_MODULE_16__.useState)(entity.productHighlights || []),\n productHighlights = _useState4[0],\n setProductHighlights = _useState4[1];\n\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 reviewAndRatingId = (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_19__/* .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 nextLabel = doc == null ? void 0 : (_doc$fields3 = doc.fields) == null ? void 0 : (_doc$fields3$nextLabe = _doc$fields3.nextLabel) == null ? void 0 : (_doc$fields3$nextLabe2 = _doc$fields3$nextLabe.fields) == null ? void 0 : _doc$fields3$nextLabe2.text;\n var previousLabel = doc == null ? void 0 : (_doc$fields4 = doc.fields) == null ? void 0 : (_doc$fields4$previous = _doc$fields4.previousLabel) == null ? void 0 : (_doc$fields4$previous2 = _doc$fields4$previous.fields) == null ? void 0 : _doc$fields4$previous2.text.toUpperCase();\n var productVariantAttributeTypes = (entity == null ? void 0 : entity.productVariantAttributeTypes) || [];\n var thumbnailCarouselRef = (0,react__WEBPACK_IMPORTED_MODULE_16__.useRef)();\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) || false;\n\n var _useState5 = (0,react__WEBPACK_IMPORTED_MODULE_16__.useState)(false),\n isPageLoaded = _useState5[0],\n setIsPageLoaded = _useState5[1];\n\n var TruncatedDescription = function TruncatedDescription(_ref) {\n var className = _ref.className,\n text = _ref.text;\n\n var _useState6 = (0,react__WEBPACK_IMPORTED_MODULE_16__.useState)(true),\n seeLess = _useState6[0],\n setSeeLess = _useState6[1];\n\n var firstPeriodIndex = text.indexOf('.'); // If there is no period or the text contains a single sentence.\n\n if (firstPeriodIndex === -1 || firstPeriodIndex + 1 === text.length) {\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"div\", {\n className: className,\n dangerouslySetInnerHTML: {\n __html: isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_22___default().sanitize(text)\n }\n });\n }\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(react__WEBPACK_IMPORTED_MODULE_16__.Suspense, {\n fallback: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_21__[\"default\"], {}),\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(\"div\", {\n className: className,\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"div\", {\n dangerouslySetInnerHTML: {\n __html: isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_22___default().sanitize(seeLess ? \"\".concat(text.slice(0, firstPeriodIndex + 1)) : isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_22___default().sanitize(text))\n }\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(ObLink, {\n ariaExpanded: seeLess ? false : true,\n className: \"primaryGrey ob-product-highlights__see-more\",\n ariaLabel: seeLess ? seeMoreLabel : seeLessLabel,\n onClick: function onClick() {\n return setSeeLess(!seeLess);\n },\n tag: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.button */ .P8.button,\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(Icon, {\n name: seeLess ? _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.plus */ .P8.plus : _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.minus6 */ .P8.minus6,\n roundedIcon: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.blue */ .P8.blue,\n viewBox: seeLess ? 10 : 6,\n \"aria-hidden\": true\n }), seeLess ? seeMoreLabel : seeLessLabel]\n })]\n })\n });\n };\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_23__.jsxs)(\"div\", {\n className: 'ob-product-highlights__header',\n style: {\n marginTop: ((_ele = ele) == null ? void 0 : _ele.offsetHeight) + 'px'\n },\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(Heading, {\n tag: \"h1\",\n className: 'ob-product-highlights__title',\n children: productOverview.title\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.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_19__/* .stripHtml */ .Vt)(productOverview == null ? void 0 : productOverview.title) ? \"\".concat((0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_19__/* .stripHtml */ .Vt)(productOverview == null ? void 0 : productOverview.title), \" \").concat(_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.productRating */ .P8.productRating) : _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.productRating */ .P8.productRating,\n \"data-action-detail\": (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_19__/* .stripHtml */ .Vt)(productOverview == null ? void 0 : productOverview.title)\n })]\n });\n };\n\n (0,react__WEBPACK_IMPORTED_MODULE_16__.useEffect)(function () {\n var _productVariants$sele, _productVariants$sele2;\n\n setIsPageLoaded(true);\n setGlobalState({\n currentProductId: selectedVariantIndex\n });\n\n if ((_productVariants$sele = productVariants[selectedVariantIndex]) == null ? void 0 : (_productVariants$sele2 = _productVariants$sele.fields) == null ? void 0 : _productVariants$sele2.legacyAssets) {\n var _productVariants$sele3, _productVariants$sele4;\n\n setCarouselAssets((_productVariants$sele3 = productVariants[selectedVariantIndex]) == null ? void 0 : (_productVariants$sele4 = _productVariants$sele3.fields) == null ? void 0 : _productVariants$sele4.legacyAssets);\n } else if (legacyAssets.length > 1) {\n setCarouselAssets(legacyAssets);\n }\n }, [selectedVariantIndex, isPageLoaded]);\n\n var renderColorButtons = function renderColorButtons() {\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.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_23__.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_23__.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_23__.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_23__.jsx)(\"button\", {\n style: (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_19__/* .getColorStyle */ .Nt)(variant.fields.color),\n className: \"ob-product-highlights__color event_buy_now_choose_product \".concat(index === selectedVariantIndex ? _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.isActive */ .P8.isActive : _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.empty */ .P8.empty),\n onClick: function onClick() {\n setSelectedVariantIndex(index);\n setCurrentCarouselImageIndex(0);\n },\n \"data-action-detail\": \"\".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_19__/* .stripHtml */ .Vt)(productOverview == null ? void 0 : productOverview.title)),\n \"aria-pressed\": index === selectedVariantIndex ? true : false,\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.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_23__.jsx)(\"img\", {\n className: \"event_buy_now_choose_product ob-series-product-highlights-color-img \".concat(index === selectedVariantIndex ? '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_19__/* .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 setSelectedVariantIndex(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_23__.jsx)(\"div\", {\n className: \"color-container-pdp\",\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"p\", {\n className: index === selectedVariantIndex ? 'ob-accessibility-highlighted' : 'ob-accessibility',\n children: (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_19__/* .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 (0,react__WEBPACK_IMPORTED_MODULE_16__.useEffect)(function () {\n if (carouselAssets && carouselAssets.length > 0) {\n var carouselAssetsData = carouselAssets;\n var arrayOfData = [];\n carouselAssetsData.filter(function (data, index) {\n var indexVal = productHighlights && productHighlights.length > 0 ? productHighlights == null ? void 0 : productHighlights.findIndex(function (x) {\n return x.fields.imageIndex == index;\n }) : -1;\n\n if (indexVal === -1) {\n var _data$fields;\n\n if (data == null ? void 0 : (_data$fields = data.fields) == null ? void 0 : _data$fields.isHighlightHyperlink) {\n data.fields.imageIndex = index;\n data.fields.selectedVariantIndex = selectedVariantIndex;\n arrayOfData.push(data);\n }\n }\n });\n\n if (productHighlights && productHighlights.length > 0) {\n setProductHighlights([].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()(productHighlights == null ? void 0 : productHighlights.filter(function (obj) {\n return !obj.fields.hasOwnProperty('selectedVariantIndex');\n })), arrayOfData));\n } else {\n setProductHighlights([].concat(arrayOfData));\n }\n }\n }, [carouselAssets, selectedVariantIndex]);\n\n var _useState7 = (0,react__WEBPACK_IMPORTED_MODULE_16__.useState)(false),\n showMore = _useState7[0],\n setShowMore = _useState7[1];\n\n var highlightList = productHighlights ? Object.keys(productHighlights).slice(0, 3).map(function (key) {\n var _productHighlights$ke, _productHighlights$ke2, _productHighlights$ke5, _productHighlights$ke6, _productHighlights$ke7, _productHighlights$ke8, _productHighlights$ke9, _productHighlights$ke10;\n\n var highLightStatus = (productHighlights == null ? void 0 : (_productHighlights$ke = productHighlights[key]) == null ? void 0 : (_productHighlights$ke2 = _productHighlights$ke.fields) == null ? void 0 : _productHighlights$ke2.isHighlightHyperlink) || false;\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"li\", {\n className: \"ob-product-highlights__highlights-list-item \".concat(highLightStatus ? 'ob-hyperlink-highlights-li' : ''),\n children: highLightStatus ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(\"p\", {\n onClick: function onClick(e) {\n var _productHighlights$ke3, _productHighlights$ke4;\n\n return handleHyperLinkImage(productHighlights == null ? void 0 : (_productHighlights$ke3 = productHighlights[key]) == null ? void 0 : (_productHighlights$ke4 = _productHighlights$ke3.fields) == null ? void 0 : _productHighlights$ke4.imageIndex);\n },\n className: \"ob-highlight-hyperlink-list-item\",\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(Icon, {\n name: 'ovalArrowRight',\n size: 1.7,\n color: \"\".concat(currentCarouselImageIndex === (productHighlights == null ? void 0 : (_productHighlights$ke5 = productHighlights[key]) == null ? void 0 : (_productHighlights$ke6 = _productHighlights$ke5.fields) == null ? void 0 : _productHighlights$ke6.imageIndex) ? '#002D72' : '#87a4d2')\n }), \" \", (productHighlights == null ? void 0 : (_productHighlights$ke7 = productHighlights[key]) == null ? void 0 : (_productHighlights$ke8 = _productHighlights$ke7.fields) == null ? void 0 : _productHighlights$ke8.highlightHyperlinkTitle) || (productHighlights == null ? void 0 : (_productHighlights$ke9 = productHighlights[key]) == null ? void 0 : (_productHighlights$ke10 = _productHighlights$ke9.fields) == null ? void 0 : _productHighlights$ke10.name)]\n }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(RichText, {\n document: productHighlights[key]\n })\n }, key);\n }) : [];\n var highlightListMore = productHighlights ? Object.keys(productHighlights).slice(3).map(function (key) {\n var _productHighlights$ke11, _productHighlights$ke12, _productHighlights$ke15, _productHighlights$ke16, _productHighlights$ke17, _productHighlights$ke18, _productHighlights$ke19, _productHighlights$ke20;\n\n var highLightStatus = (productHighlights == null ? void 0 : (_productHighlights$ke11 = productHighlights[key]) == null ? void 0 : (_productHighlights$ke12 = _productHighlights$ke11.fields) == null ? void 0 : _productHighlights$ke12.isHighlightHyperlink) || false;\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"li\", {\n className: \"ob-product-highlights__highlights-list-item more \".concat(showMore, \" \").concat(highLightStatus ? 'ob-hyperlink-highlights-li-more' : ''),\n children: highLightStatus ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(\"p\", {\n onClick: function onClick(e) {\n var _productHighlights$ke13, _productHighlights$ke14;\n\n return handleHyperLinkImage(productHighlights == null ? void 0 : (_productHighlights$ke13 = productHighlights[key]) == null ? void 0 : (_productHighlights$ke14 = _productHighlights$ke13.fields) == null ? void 0 : _productHighlights$ke14.imageIndex);\n },\n className: \"ob-highlight-hyperlink-list-item\",\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(Icon, {\n name: 'ovalArrowRight',\n size: 1.7,\n color: \"\".concat(currentCarouselImageIndex === (productHighlights == null ? void 0 : (_productHighlights$ke15 = productHighlights[key]) == null ? void 0 : (_productHighlights$ke16 = _productHighlights$ke15.fields) == null ? void 0 : _productHighlights$ke16.imageIndex) ? '#002D72' : '#87a4d2')\n }), (productHighlights == null ? void 0 : (_productHighlights$ke17 = productHighlights[key]) == null ? void 0 : (_productHighlights$ke18 = _productHighlights$ke17.fields) == null ? void 0 : _productHighlights$ke18.highlightHyperlinkTitle) || (productHighlights == null ? void 0 : (_productHighlights$ke19 = productHighlights[key]) == null ? void 0 : (_productHighlights$ke20 = _productHighlights$ke19.fields) == null ? void 0 : _productHighlights$ke20.name)]\n }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(RichText, {\n document: productHighlights[key]\n })\n }, key);\n }) : [];\n\n var handleHyperLinkImage = function handleHyperLinkImage(imgIndex) {\n setCurrentCarouselImageIndex(imgIndex);\n\n if (thumbnailCarouselRef.current) {\n var thumbnailChildren = thumbnailCarouselRef.current.children;\n scrollElemIntoView(thumbnailChildren[imgIndex]);\n var element = document.getElementById('ob-product-highlights-carousel');\n\n if (element && props.isSmall) {\n element.scrollIntoView({\n behavior: 'smooth',\n block: 'end',\n inline: 'nearest'\n });\n }\n }\n };\n\n var highlightLength = function highlightLength() {\n // Return true if highlight is superior than 2 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_23__.jsxs)(ObLink, {\n ariaExpanded: true,\n className: \"primaryGrey ob-product-highlights__see-more event_button_click\",\n ariaLabel: \"\".concat(seeLessLabel, \" \").concat(_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.highlights */ .P8.highlights),\n tag: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.button */ .P8.button,\n dataActionDetail: seeLessLabel,\n onClick: handleShowMore,\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(Icon, {\n name: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.minus6 */ .P8.minus6,\n roundedIcon: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.blue */ .P8.blue,\n viewBox: 6\n }), seeLessLabel.toUpperCase(), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"span\", {\n className: \"visuallyhidden\",\n children: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.highlights */ .P8.highlights\n })]\n });\n } else {\n button = /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(ObLink, {\n ariaExpanded: false,\n className: \"primaryGrey ob-product-highlights__see-more event_button_click\",\n ariaLabel: \"\".concat(seeMoreLabel, \" \").concat(_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.highlights */ .P8.highlights),\n dataActionDetail: seeMoreLabel,\n onClick: handleShowMore,\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(Icon, {\n name: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.plus */ .P8.plus,\n roundedIcon: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.blue */ .P8.blue,\n viewBox: 10\n }), seeMoreLabel.toUpperCase(), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"span\", {\n className: \"visuallyhidden\",\n children: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.highlights */ .P8.highlights\n })]\n });\n }\n\n return button;\n };\n\n var handleShowMore = function handleShowMore() {\n setShowMore(!showMore);\n };\n\n var renderShopByPack = function renderShopByPack(productVariants) {\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"div\", {\n className: 'ob-product-highlights__dropdown-ctn',\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"ul\", {\n className: 'ob-product-highlights__dropdown-list',\n children: productVariantAttributeTypes.map(function (productVariantAttributeType, index) {\n var _productVariantAttrib, _productVariantAttrib2, _productVariantAttrib3, _productVariantAttrib4, _productVariantAttrib5;\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(\"li\", {\n className: 'ob-product-highlights__dropdown-list-item',\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"label\", {\n htmlFor: (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_19__/* .createHtmlFriendlyId */ .vG)(productVariantAttributeType == null ? void 0 : (_productVariantAttrib = productVariantAttributeType.fields) == null ? void 0 : _productVariantAttrib.name),\n className: 'ob-product-highlights__label ob-product-highlights__dropdown-label',\n children: productVariantAttributeType == null ? void 0 : (_productVariantAttrib2 = productVariantAttributeType.fields) == null ? void 0 : (_productVariantAttrib3 = _productVariantAttrib2.description) == null ? void 0 : (_productVariantAttrib4 = _productVariantAttrib3.fields) == null ? void 0 : _productVariantAttrib4.text\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(\"div\", {\n className: 'ob-product-highlights__dropdown-list-item-ctn',\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"select\", {\n id: (0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_19__/* .createHtmlFriendlyId */ .vG)(productVariantAttributeType == null ? void 0 : (_productVariantAttrib5 = productVariantAttributeType.fields) == null ? void 0 : _productVariantAttrib5.name),\n className: 'ob-product-highlights__dropdown-select',\n onBlur: function onBlur(event) {\n return setSelectedVariantIndex(parseInt(event.currentTarget.value, 10));\n },\n children: productVariants.map(function (variant, variantIndex) {\n var _variant$fields11;\n\n var productVariantAttributes = variant == null ? void 0 : (_variant$fields11 = variant.fields) == null ? void 0 : _variant$fields11.productVariantAttributes;\n\n if (productVariantAttributes != null && productVariantAttributes.length > index) {\n var _productVariantAttrib6, _productVariantAttrib7, _productVariantAttrib8, _productVariantAttrib9, _productVariantAttrib10;\n\n if ((productVariantAttributeType == null ? void 0 : (_productVariantAttrib6 = productVariantAttributeType.fields) == null ? void 0 : _productVariantAttrib6.name) === ((_productVariantAttrib7 = productVariantAttributes[index]) == null ? void 0 : (_productVariantAttrib8 = _productVariantAttrib7.fields) == null ? void 0 : (_productVariantAttrib9 = _productVariantAttrib8.productVariantAttributeTypeReference) == null ? void 0 : (_productVariantAttrib10 = _productVariantAttrib9.fields) == null ? void 0 : _productVariantAttrib10.name)) {\n var _variant$fields12, _variant$fields12$pro, _variant$fields12$pro2, _variant$fields12$pro3, _variant$fields12$pro4;\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"option\", {\n value: variantIndex,\n children: variant == null ? void 0 : (_variant$fields12 = variant.fields) == null ? void 0 : (_variant$fields12$pro = _variant$fields12.productVariantAttributes[index]) == null ? void 0 : (_variant$fields12$pro2 = _variant$fields12$pro.fields) == null ? void 0 : (_variant$fields12$pro3 = _variant$fields12$pro2.description) == null ? void 0 : (_variant$fields12$pro4 = _variant$fields12$pro3.fields) == null ? void 0 : _variant$fields12$pro4.text\n }, variantIndex);\n }\n } else {\n var _productVariantAttrib11, _variant$fields13;\n\n console.info('Product Variant Attr Type ' + (productVariantAttributeType == null ? void 0 : (_productVariantAttrib11 = productVariantAttributeType.fields) == null ? void 0 : _productVariantAttrib11.name) + ' missing at index ' + index + ' for variant ' + (variant == null ? void 0 : (_variant$fields13 = variant.fields) == null ? void 0 : _variant$fields13.name));\n return '';\n }\n })\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"div\", {\n className: 'ob-product-highlights__dropdown-icon',\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(Icon, {\n name: 'chevronDown',\n size: 2\n })\n })]\n })]\n }, index);\n })\n })\n });\n };\n\n var handleCarouselSlideChange = function handleCarouselSlideChange(_ref2) {\n var _ref2$position = _ref2.position,\n position = _ref2$position === void 0 ? '' : _ref2$position,\n _ref2$index = _ref2.index,\n index = _ref2$index === void 0 ? -1 : _ref2$index;\n\n if (thumbnailCarouselRef.current) {\n var carouselIndex = currentCarouselImageIndex;\n\n if (position === _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.prev */ .P8.prev && carouselIndex > 0) {\n carouselIndex--;\n } else if (position === _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.next */ .P8.next && carouselIndex < (carouselAssets == null ? void 0 : carouselAssets.length) - 1) {\n carouselIndex++;\n } else if (index > -1) {\n carouselIndex = index;\n }\n\n setCurrentCarouselImageIndex(carouselIndex);\n var thumbnailChildren = thumbnailCarouselRef.current.children;\n scrollElemIntoView(thumbnailChildren[carouselIndex]);\n }\n };\n\n var scrollElemIntoView = function scrollElemIntoView(elem) {\n if (!elem) {\n return;\n }\n\n elem.scrollIntoView({\n behavior: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.smooth */ .P8.smooth,\n block: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.nearest */ .P8.nearest,\n inline: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.center */ .P8.center\n });\n };\n\n var startTouchPoint = null;\n var endTouchPoint = null;\n\n var onTouchStart = function onTouchStart(event) {\n endTouchPoint = null;\n\n if (event.touches) {\n startTouchPoint = event.touches[0];\n }\n };\n\n var onTouchEnd = function onTouchEnd() {\n if (endTouchPoint != null && startTouchPoint != null) {\n var deltaX = startTouchPoint.screenX - endTouchPoint.screenX;\n var deltaY = startTouchPoint.screenY - endTouchPoint.screenY;\n\n if (deltaX > 0 && !isVerticalScroll(deltaX, deltaY)) {\n handleCarouselSlideChange({\n position: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.next */ .P8.next\n });\n } else {\n handleCarouselSlideChange({\n position: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.prev */ .P8.prev\n });\n }\n }\n };\n\n var onTouchMove = function onTouchMove(event) {\n if (event.touches) {\n endTouchPoint = event.touches[0];\n }\n };\n\n var isVerticalScroll = function isVerticalScroll(deltaX, deltaY) {\n var deltaThreshold = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 10;\n var moveX = Math.abs(deltaX) > deltaThreshold ? Math.abs(deltaX) : 0;\n var moveY = Math.abs(deltaY) > deltaThreshold ? Math.abs(deltaY) : 0;\n return moveY > moveX;\n };\n\n var renderCarousel = function renderCarousel() {\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(react__WEBPACK_IMPORTED_MODULE_16__.Suspense, {\n fallback: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_21__[\"default\"], {}),\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(\"div\", {\n className: 'ob-product-highlights__carousel',\n id: \"ob-product-highlights-carousel\",\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"ul\", {\n className: 'ob-product-highlights__carousel-main-list',\n onTouchStart: onTouchStart,\n onTouchEnd: onTouchEnd,\n onTouchMove: onTouchMove,\n children: carouselAssets.map(function (carouselMainAsset, index) {\n var _carouselAssets$index, _carouselAssets$index2;\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"li\", {\n \"data-index\": index,\n className: \"ob-product-highlights__carousel-main-list-item \".concat(currentCarouselImageIndex === index ? '--is-active' : ''),\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(react__WEBPACK_IMPORTED_MODULE_16__.Suspense, {\n fallback: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_21__[\"default\"], {}),\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(Image, {\n image: carouselMainAsset,\n alt: carouselAssets == null ? void 0 : (_carouselAssets$index = carouselAssets[index]) == null ? void 0 : (_carouselAssets$index2 = _carouselAssets$index.fields) == null ? void 0 : _carouselAssets$index2.alternateText,\n noLazyLoad: true\n })\n })\n }, index);\n })\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(\"div\", {\n className: 'ob-product-highlights__carousel-thumbnail-ctn',\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"ul\", {\n className: 'ob-product-highlights__carousel-thumbnail-list',\n ref: thumbnailCarouselRef,\n children: carouselAssets.map(function (carouselThumbnailItem, index) {\n var _carouselThumbnailIte, _carouselAssets$index3, _carouselAssets$index4;\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"li\", {\n className: \"ob-product-highlights__carousel-thumbnail-list-item \".concat((carouselThumbnailItem == null ? void 0 : (_carouselThumbnailIte = carouselThumbnailItem.imageRendition) == null ? void 0 : _carouselThumbnailIte.aspectRatio) !== 1 ? 'ob-product-highlights__carousel-thumbnail-list-item--not-square' : '', \" \").concat((carouselAssets == null ? void 0 : carouselAssets.length) <= 3 ? 'ob-product-highlights__carousel-thumbnail-list-item--not-full' : ''),\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"button\", {\n type: 'button',\n \"aria-label\": carouselAssets == null ? void 0 : (_carouselAssets$index3 = carouselAssets[index]) == null ? void 0 : (_carouselAssets$index4 = _carouselAssets$index3.fields) == null ? void 0 : _carouselAssets$index4.alternateText,\n className: \"ob-product-highlights__carousel-thumbnail-button \".concat(currentCarouselImageIndex === index ? '--is-active' : ''),\n onClick: function onClick() {\n return handleCarouselSlideChange({\n index: index\n });\n },\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(react__WEBPACK_IMPORTED_MODULE_16__.Suspense, {\n fallback: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_21__[\"default\"], {}),\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(Image, {\n image: carouselThumbnailItem\n })\n })\n })\n }, index);\n })\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"button\", {\n type: 'button',\n className: \"ob-product-highlights__carousel-btn ob-product-highlights__carousel-btn--prev \".concat(currentCarouselImageIndex === 0 ? '--is-disabled' : ''),\n onClick: function onClick() {\n return handleCarouselSlideChange({\n position: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.prev */ .P8.prev\n });\n },\n \"aria-label\": previousLabel,\n tabIndex: currentCarouselImageIndex === 0 ? -1 : null,\n disabled: currentCarouselImageIndex === 0 ? true : false,\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(Icon, {\n name: 'ovalArrowRight',\n rotate: 180,\n size: 2.8,\n ariaHidden: 'true'\n })\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"button\", {\n type: 'button',\n className: \"ob-product-highlights__carousel-btn ob-product-highlights__carousel-btn--next \".concat(currentCarouselImageIndex === (carouselAssets == null ? void 0 : carouselAssets.length) - 1 ? '--is-disabled' : ''),\n onClick: function onClick() {\n return handleCarouselSlideChange({\n position: _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.next */ .P8.next\n });\n },\n \"aria-label\": nextLabel,\n tabIndex: currentCarouselImageIndex === (carouselAssets == null ? void 0 : carouselAssets.length) - 1 ? -1 : null,\n disabled: currentCarouselImageIndex === (carouselAssets == null ? void 0 : carouselAssets.length) - 1 ? true : false,\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(Icon, {\n name: 'ovalArrowRight',\n size: 2.8,\n ariaHidden: 'true'\n })\n })]\n })]\n })\n });\n };\n\n var renderTextContent = function renderTextContent() {\n var _productVariants$sele5, _productVariants$sele6, _productVariants$sele7, _productVariants$sele8, _productVariants$sele9, _productVariants$sele10;\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(\"div\", {\n className: 'ob-product-highlights__text-content',\n children: [!isMedium && renderHighlightsHeader(), isMedium && productVariants && renderColorButtons(), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(TruncatedDescription, {\n className: 'ob-product-highlights__description',\n text: productOverview.description\n }), pressQuote && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(\"div\", {\n className: 'ob-product-highlights__quote',\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"span\", {\n className: 'ob-product-highlights__quote-text',\n children: pressQuote.quote\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(Image, {\n image: pressQuote.pressLogo\n })]\n }), productHighlights && productHighlights.length > 0 && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(\"div\", {\n className: 'ob-product-highlights__highlights-ctn',\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"h3\", {\n className: 'ob-product-highlights__label',\n children: labels.highlightsLabel\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(\"ul\", {\n className: 'ob-product-highlights__highlights-list',\n id: 'ob-highlights-ctn',\n children: [highlightList, showMore && highlightListMore]\n }), highlightLength() && showMoreButton()]\n }), !isMedium && productVariants && (productVariants == null ? void 0 : productVariants.some(function (variant) {\n var _variant$fields14;\n\n return (variant == null ? void 0 : (_variant$fields14 = variant.fields) == null ? void 0 : _variant$fields14.color) !== undefined;\n })) && renderColorButtons(), productVariants && productVariantAttributeTypes.length > 0 && ((_productVariants$sele5 = productVariants[selectedVariantIndex]) == null ? void 0 : (_productVariants$sele6 = _productVariants$sele5.fields) == null ? void 0 : _productVariants$sele6.productVariantAttributes) && renderShopByPack(productVariants), startingAtButtonLabel && !buyNowDeactivated && ((_productVariants$sele7 = productVariants[selectedVariantIndex]) == null ? void 0 : (_productVariants$sele8 = _productVariants$sele7.fields) == null ? void 0 : _productVariants$sele8.sku) && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(Button, {\n size: 'medium-long',\n className: \"event_buy_now\",\n dataActionDetail: \"open_ps_panel_\".concat((0,_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_19__/* .stripHtml */ .Vt)(productOverview.title)),\n onClick: function onClick(event) {\n return props.onClickCallback(event);\n },\n sku: (_productVariants$sele9 = productVariants[selectedVariantIndex]) == null ? void 0 : (_productVariants$sele10 = _productVariants$sele9.fields) == null ? void 0 : _productVariants$sele10.sku,\n children: startingAtButtonLabel\n }), buyNowDeactivated && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.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 if (productVariants && ((_productVariants$ = productVariants[0]) == null ? void 0 : (_productVariants$$fie = _productVariants$.fields) == null ? void 0 : (_productVariants$$fie2 = _productVariants$$fie.mainAsset) == null ? void 0 : _productVariants$$fie2.fields)) {\n productVariants[0].fields.mainAsset.fields['isProductPage'] = true;\n } else if (productOverview == null ? void 0 : (_productOverview$main = productOverview.mainAsset) == null ? void 0 : _productOverview$main.fields) {\n productOverview.mainAsset.fields['isProductPage'] = true;\n }\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(react__WEBPACK_IMPORTED_MODULE_16__.Suspense, {\n fallback: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(_adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_21__[\"default\"], {}),\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(\"div\", {\n className: 'ob-product-highlights ob-legacy-product-highlights',\n id: anchorId,\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(Image, {\n image: backgroundImage,\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsxs)(\"div\", {\n className: 'ob-product-highlights__ctn',\n children: [isPageLoaded ? isMedium && renderHighlightsHeader() : isMedium && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"div\", {\n className: \"ob-mobile-legacy-product-highlights-header\",\n children: renderHighlightsHeader()\n }), carouselAssets.length > 1 ? renderCarousel() : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"ul\", {\n className: 'ob-product-highlights__img-ctn',\n children: productVariants ? productVariants.map(function (variant, index) {\n var _productVariants$inde, _productVariants$inde2;\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"li\", {\n className: \"ob-product-highlights__img \".concat(index === selectedVariantIndex ? _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.isActive */ .P8.isActive : _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__/* .LegacyProductHighlightsConstants.empty */ .P8.empty),\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(Image, {\n image: (_productVariants$inde = productVariants[index]) == null ? void 0 : (_productVariants$inde2 = _productVariants$inde.fields) == null ? void 0 : _productVariants$inde2.mainAsset,\n noLazyLoad: true\n })\n }, index);\n }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(\"li\", {\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__.jsx)(Image, {\n image: productOverview.mainAsset,\n noLazyLoad: true\n })\n })\n }), !isMedium && renderTextContent()]\n })\n }), isMedium && renderTextContent()]\n })\n });\n}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = ((0,_adapters_helpers_Hooks__WEBPACK_IMPORTED_MODULE_20__/* .mediaQueryHOC */ .Ui)(LegacyProductHighlights)); // This export is for unit testing (do not remove) :\n\nvar LegacyProductHighlightsTest = LegacyProductHighlights;\n\n/***/ })\n\n}]);"],"names":["self","push","__unused_webpack_module","__unused_webpack_exports","__webpack_require__","$","$findIndex","findIndex","addToUnscopables","arrayMethodUsesToLength","FIND_INDEX","SKIPS_HOLES","USES_TO_LENGTH","Array","target","proto","forced","callbackfn","arguments","length","undefined","__webpack_exports__","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","i","source","forEach","key","getOwnPropertyDescriptors","defineProperties","defineProperty","useLayoutEffect","mediaQueryString","initialValue","_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","r","LegacyProductHighlightsTest","_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","_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_1__","_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_1___default","react__WEBPACK_IMPORTED_MODULE_16__","next_dynamic__WEBPACK_IMPORTED_MODULE_17__","next_dynamic__WEBPACK_IMPORTED_MODULE_17___default","_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_18__","_adapters_helpers_Utils__WEBPACK_IMPORTED_MODULE_19__","_adapters_helpers_Hooks__WEBPACK_IMPORTED_MODULE_20__","_adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_21__","isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_22__","isomorphic_dompurify__WEBPACK_IMPORTED_MODULE_22___default","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_23__","Heading","e","then","bind","loadableGenerated","webpack","Image","ObLink","Promise","all","Icon","RichText","Button","LegacyProductHighlights","_productOverview$pres","_productOverview$buyN","_doc$fields","_doc$fields$seeLessLa","_doc$fields$seeLessLa2","_doc$fields2","_doc$fields2$seeMoreL","_doc$fields2$seeMoreL2","_doc$fields3","_doc$fields3$nextLabe","_doc$fields3$nextLabe2","_doc$fields4","_doc$fields4$previous","_doc$fields4$previous2","_productOverview$comi","_productOverview$comi2","_productVariants$","_productVariants$$fie","_productVariants$$fie2","_productOverview$main","extraAttributes","doc","document","selectedVariantIndex","setSelectedVariantIndex","_useState2","currentCarouselImageIndex","setCurrentCarouselImageIndex","_updateCurrentProduct","y3","_updateCurrentProduct2","setGlobalState","entity","productOverview","fields","productVariants","legacyAssets","_useState3","carouselAssets","setCarouselAssets","_useState4","productHighlights","setProductHighlights","labels","pressQuote","backgroundImage","background","startingAtButtonLabel","buyNowLabel","text","anchorId","reviewAndRatingId","VP","seeLessLabel","toUpperCase","seeMoreLabel","nextLabel","previousLabel","productVariantAttributeTypes","thumbnailCarouselRef","useRef","comingSoonText","comingSoonLabel","comingSoonLink","buyNowDeactivated","deactivateBuyNowButton","_useState5","isPageLoaded","setIsPageLoaded","TruncatedDescription","_ref","className","_useState6","seeLess","setSeeLess","firstPeriodIndex","indexOf","dangerouslySetInnerHTML","__html","sanitize","Suspense","fallback","children","jsxs","concat","slice","ariaExpanded","ariaLabel","onClick","tag","P8","button","name","plus","minus6","roundedIcon","blue","viewBox","renderHighlightsHeader","_ele","ele","getElementById","style","marginTop","offsetHeight","title","id","Vt","productRating","_productVariants$sele","_productVariants$sele2","_productVariants$sele3","_productVariants$sele4","currentProductId","renderColorButtons","some","variant","_variant$fields","color","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","Nt","isActive","empty","CB","arrayOfData","carouselAssetsData","data","_data$fields","x","imageIndex","isHighlightHyperlink","obj","hasOwnProperty","_useState7","showMore","setShowMore","highlightList","_productHighlights$ke","_productHighlights$ke2","_productHighlights$ke5","_productHighlights$ke6","_productHighlights$ke7","_productHighlights$ke8","_productHighlights$ke9","_productHighlights$ke10","highLightStatus","_productHighlights$ke3","_productHighlights$ke4","handleHyperLinkImage","size","highlightHyperlinkTitle","highlightListMore","_productHighlights$ke11","_productHighlights$ke12","_productHighlights$ke15","_productHighlights$ke16","_productHighlights$ke17","_productHighlights$ke18","_productHighlights$ke19","_productHighlights$ke20","_productHighlights$ke13","_productHighlights$ke14","imgIndex","current","scrollElemIntoView","thumbnailChildren","element","scrollIntoView","behavior","block","inline","handleShowMore","handleCarouselSlideChange","_ref2","_ref2$position","position","_ref2$index","carouselIndex","prev","next","elem","smooth","nearest","center","startTouchPoint","endTouchPoint","isVerticalScroll","deltaX","deltaY","deltaThreshold","moveY","Math","abs","renderTextContent","_productVariants$sele5","_productVariants$sele6","_productVariants$sele7","_productVariants$sele8","_productVariants$sele9","_productVariants$sele10","description","quote","image","pressLogo","highlightsLabel","highlightLength","highlights","dataActionDetail","_variant$fields14","productVariantAttributes","productVariantAttributeType","_productVariantAttrib","_productVariantAttrib2","_productVariantAttrib3","_productVariantAttrib4","_productVariantAttrib5","htmlFor","vG","onBlur","parseInt","currentTarget","value","variantIndex","_variant$fields11","_productVariantAttrib6","_productVariantAttrib7","_productVariantAttrib8","_productVariantAttrib9","_productVariantAttrib10","_variant$fields12","_variant$fields12$pro","_variant$fields12$pro2","_variant$fields12$pro3","_variant$fields12$pro4","_productVariantAttrib11","_variant$fields13","productVariantAttributeTypeReference","console","info","sku","onClickCallback","disabled","href","rel","mainAsset","onTouchStart","touches","onTouchEnd","screenX","screenY","onTouchMove","carouselMainAsset","_carouselAssets$index","_carouselAssets$index2","alternateText","noLazyLoad","ref","carouselThumbnailItem","_carouselThumbnailIte","_carouselAssets$index3","_carouselAssets$index4","imageRendition","aspectRatio","type","tabIndex","rotate","ariaHidden","_productVariants$inde","_productVariants$inde2","Ui"],"sourceRoot":""}