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lB,GAAA,EAAAmB,MAAA,CAAoEiC,MAAAV,eAASD,oBAAAD,aAAqC,CAP7ImB,UAAA,mCAAAD,MAAA,CAAAjB,oBAAA,sBAAAiB,MAAA,8BALhB,EAkBQ,GAAK,CAAAN,OAAU,GAAAlC,gDAAflB,GAAA,SAAA2D,UAAA,2CACIJ,SAAe,GAAArC,gDAAfsC,IAAA,SAAAG,UAAA,2CACIJ,SAAc,CAAc,GAAGrC,gDAA/BlB,GAAA,EAAAmB,MAAA,CAAoEiC,MAAAV,eAASD,oBAAAD,aAAqC,CADtHmB,UAAA,mCAEID,MAAA,CAAAjB,oBAAC,cAAD,QAAAiB,MAAA,4BAAmB,GAAAxC,gDAAnBlB,GAAA,EAAAyB,QAAA,CAAAkC,UAAyD,qCAF7DJ,SAAAnB,OAGI,GAAmB,GAAAlB,gDAAnBlB,GAAA,EAAA4B,QAAA,CAAwE+B,UAAK,qDAA7EI,IAAA5B,WACK,IAAAuB,MAAA,CAAAvB,YAAA,KAJToB,SAAAvB,KAMI,GAAW,GAAAd,gDAAAlB,GAAA,EAAA6B,SAAA,CANf0B,SAAAlB,WAAA,KAnBZ,KAgCP","sources":["webpack://_N_E/./adapters/helpers/Hooks.js","webpack://_N_E/./components/CharacterBlock/CharacterBlock.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","import React, { useState,Suspense } from 'react'\nimport dynamic from 'next/dynamic';\nimport { Waypoint } from 'react-waypoint';\nimport Block from '../../adapters/helpers/Block';\nimport { useMatchMedia } from '../../adapters/helpers/Hooks';\nimport { CharacterBlockConstants } from '../../adapters/helpers/Constants';\nconst Image = dynamic(() => import('../Image/Image'));\nconst Eyebrow = dynamic(() => import('../Eyebrow/Eyebrow'));\nconst Heading = dynamic(() => import('../Heading/Heading'));\nconst BodyText = dynamic(() => import('../BodyText/BodyText'));\nimport Loader from '../../adapters/helpers/Loader';\n\nexport default function CharacterBlock(props) {\n\n const block = new Block(props);\n const title = block.getFieldValue(CharacterBlockConstants.title);\n const titleLevel = block.getFieldValue(CharacterBlockConstants.titleLevel);\n const eyebrow = block.getFieldValue(CharacterBlockConstants.eyebrow);\n const description = block.getFieldValue(CharacterBlockConstants.description);\n const backgroundImage = block.getFieldValue(CharacterBlockConstants.backgroundImage);\n const mobileBackgroundImage = block.getFieldValue(CharacterBlockConstants.mobileBackgroundImage);\n const characterLogo = block.getFieldValue(CharacterBlockConstants.characterLogo);\n const mobileCharacterLogo = block.getFieldValue(CharacterBlockConstants.mobileCharacterLogo);\n const isCustomMobile = useMatchMedia(CharacterBlockConstants.maxWidth, null);\n const anchorId = block.getFieldValue(CharacterBlockConstants.anchorId);\n const customClassname = block.getFieldValue(CharacterBlockConstants.classNames) || '';\n const classname = customClassname ? `ob-CharacterBlock ${customClassname}` : 'ob-CharacterBlock';\n const logoIsUnderContent = customClassname.includes('logo-bottom');\n\n let [show, setShow] = useState('');\n\n const _handleWaypointEnter = () => {\n setShow('show');\n };\n\n let image = isCustomMobile ? mobileBackgroundImage : backgroundImage;\n return (\n }>\n
\n \n {image &&\n \n
\n
\n {!logoIsUnderContent && }\n {eyebrow}\n \n {title}\n \n {description}\n {logoIsUnderContent && }\n
\n
\n \n }\n {!image &&\n
\n
\n \n {eyebrow}\n \n {title}\n \n {description}\n
\n
\n }\n
\n
\n )\n}\n","\"use strict\";\n(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[9491],{\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/***/ 69491:\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 */ \"default\": function() { return /* binding */ CharacterBlock; }\n/* harmony export */ });\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(41539);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(88674);\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(82526);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(41817);\n/* harmony import */ var core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_description_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(26699);\n/* harmony import */ var core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_includes_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(32023);\n/* harmony import */ var core_js_modules_es_string_includes_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_string_includes_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 react__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(67294);\n/* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(5152);\n/* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(next_dynamic__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var react_waypoint__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(83824);\n/* harmony import */ var _adapters_helpers_Block__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(40483);\n/* harmony import */ var _adapters_helpers_Hooks__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(71357);\n/* harmony import */ var _adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(24036);\n/* harmony import */ var _adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(47322);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(85893);\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar Image = next_dynamic__WEBPACK_IMPORTED_MODULE_8___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 Eyebrow = next_dynamic__WEBPACK_IMPORTED_MODULE_8___default()(function () {\n return Promise.all(/* import() */[__webpack_require__.e(4885), __webpack_require__.e(8765), __webpack_require__.e(9238), __webpack_require__.e(8996), __webpack_require__.e(7890)]).then(__webpack_require__.bind(__webpack_require__, 405));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(405)];\n }\n }\n});\nvar Heading = next_dynamic__WEBPACK_IMPORTED_MODULE_8___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 BodyText = next_dynamic__WEBPACK_IMPORTED_MODULE_8___default()(function () {\n return Promise.all(/* import() */[__webpack_require__.e(9238), __webpack_require__.e(8491)]).then(__webpack_require__.bind(__webpack_require__, 9875));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(9875)];\n }\n }\n});\n\n\n\nfunction CharacterBlock(props) {\n var block = new _adapters_helpers_Block__WEBPACK_IMPORTED_MODULE_10__/* [\"default\"] */ .Z(props);\n var title = block.getFieldValue(_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_12__/* .CharacterBlockConstants.title */ .tV.title);\n var titleLevel = block.getFieldValue(_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_12__/* .CharacterBlockConstants.titleLevel */ .tV.titleLevel);\n var eyebrow = block.getFieldValue(_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_12__/* .CharacterBlockConstants.eyebrow */ .tV.eyebrow);\n var description = block.getFieldValue(_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_12__/* .CharacterBlockConstants.description */ .tV.description);\n var backgroundImage = block.getFieldValue(_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_12__/* .CharacterBlockConstants.backgroundImage */ .tV.backgroundImage);\n var mobileBackgroundImage = block.getFieldValue(_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_12__/* .CharacterBlockConstants.mobileBackgroundImage */ .tV.mobileBackgroundImage);\n var characterLogo = block.getFieldValue(_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_12__/* .CharacterBlockConstants.characterLogo */ .tV.characterLogo);\n var mobileCharacterLogo = block.getFieldValue(_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_12__/* .CharacterBlockConstants.mobileCharacterLogo */ .tV.mobileCharacterLogo);\n var isCustomMobile = (0,_adapters_helpers_Hooks__WEBPACK_IMPORTED_MODULE_11__/* .useMatchMedia */ .ag)(_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_12__/* .CharacterBlockConstants.maxWidth */ .tV.maxWidth, null);\n var anchorId = block.getFieldValue(_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_12__/* .CharacterBlockConstants.anchorId */ .tV.anchorId);\n var customClassname = block.getFieldValue(_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_12__/* .CharacterBlockConstants.classNames */ .tV.classNames) || '';\n var classname = customClassname ? \"ob-CharacterBlock \".concat(customClassname) : 'ob-CharacterBlock';\n var logoIsUnderContent = customClassname.includes('logo-bottom');\n\n var _useState = (0,react__WEBPACK_IMPORTED_MODULE_7__.useState)(''),\n show = _useState[0],\n setShow = _useState[1];\n\n var _handleWaypointEnter = function _handleWaypointEnter() {\n setShow('show');\n };\n\n var image = isCustomMobile ? mobileBackgroundImage : backgroundImage;\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(react__WEBPACK_IMPORTED_MODULE_7__.Suspense, {\n fallback: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(_adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_13__[\"default\"], {}),\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(\"div\", {\n id: \"\".concat(anchorId),\n className: \"\".concat(classname, \" \").concat(show),\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(react_waypoint__WEBPACK_IMPORTED_MODULE_9__/* .Waypoint */ .h, {\n onEnter: _handleWaypointEnter\n }), image && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(Image, {\n preloadImage: mobileBackgroundImage,\n image: isCustomMobile ? mobileBackgroundImage : backgroundImage,\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(\"div\", {\n className: \"ob-CharacterBlock__wrapper\",\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(\"div\", {\n className: \"ob-CharacterBlock__content\",\n children: [!logoIsUnderContent && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(Image, {\n image: isCustomMobile ? mobileCharacterLogo : characterLogo,\n className: \"ob-CharacterBlock__content-logo \".concat(mobileCharacterLogo ? 'show-mobile' : '', \" \").concat(!eyebrow ? 'no-eyebrow' : '')\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(Eyebrow, {\n className: \"ob-CharacterBlock__content-eyebrow\",\n children: eyebrow\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(Heading, {\n className: \"ob-display-1-xl ob-CharacterBlock__content-heading\",\n tag: titleLevel ? \"h\".concat(titleLevel) : 'h2',\n children: title\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(BodyText, {\n children: description\n }), logoIsUnderContent && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(Image, {\n image: isCustomMobile ? mobileCharacterLogo : characterLogo,\n className: \"ob-CharacterBlock__content-logo \".concat(mobileCharacterLogo ? 'show-mobile' : '', \" \").concat(!eyebrow ? 'no-eyebrow' : '')\n })]\n })\n })\n }), !image && /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(\"div\", {\n className: \"ob-CharacterBlock__wrapper no-background\",\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsxs)(\"div\", {\n className: \"ob-CharacterBlock__content no-background\",\n children: [/*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(Image, {\n image: isCustomMobile ? mobileCharacterLogo : characterLogo,\n className: \"ob-CharacterBlock__content-logo \".concat(mobileCharacterLogo ? 'show-mobile' : '', \" \").concat(!eyebrow ? 'no-eyebrow' : '')\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(Eyebrow, {\n className: \"ob-CharacterBlock__content-eyebrow\",\n children: eyebrow\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(Heading, {\n className: \"ob-display-1-xl ob-CharacterBlock__content-heading\",\n tag: titleLevel ? \"h\".concat(titleLevel) : 'h2',\n children: title\n }), /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__.jsx)(BodyText, {\n children: description\n })]\n })\n })]\n })\n });\n}\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","r","CharacterBlock","react__WEBPACK_IMPORTED_MODULE_7__","next_dynamic__WEBPACK_IMPORTED_MODULE_8__","next_dynamic__WEBPACK_IMPORTED_MODULE_8___default","react_waypoint__WEBPACK_IMPORTED_MODULE_9__","_adapters_helpers_Block__WEBPACK_IMPORTED_MODULE_10__","_adapters_helpers_Hooks__WEBPACK_IMPORTED_MODULE_11__","_adapters_helpers_Constants__WEBPACK_IMPORTED_MODULE_12__","_adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_13__","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_14__","Image","e","then","bind","loadableGenerated","webpack","Eyebrow","Promise","all","Heading","BodyText","block","Z","title","getFieldValue","tV","titleLevel","eyebrow","description","backgroundImage","mobileBackgroundImage","characterLogo","mobileCharacterLogo","isCustomMobile","ag","maxWidth","anchorId","customClassname","classNames","logoIsUnderContent","includes","show","setShow","image","Suspense","fallback","children","jsxs","id","concat","className","h","onEnter","preloadImage","tag"],"sourceRoot":""}