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,kDAAiBxD,MAAA,CACjB+E,gBAAWvB,kDAPSwB,KAAA,CAQpBC,UAAU5B,iBACV6B,SAAO1B,kDAAAxD,MATa,CAUpBmF,MAAA3B,kDAAaxD,MAAA,CACboF,YAAA5B,kDAAkBxD,MAAA,CAClBqF,iBAAgB7B,kDAAAxD,MAZI,CAapBsF,eAAa9B,kDAbOxD,MAAA,CAcpBuF,YAAAZ,OAdIa,gBAAAhC,kDAAA7C,IAAA,EAkBL,GACK6C,kDAAgBE,KAAA,EAAA5B,OACpB0B,kDAAaG,KAAA,EACbzD,YAAMsD,kDAAArD,KAFc,sBAGpBC,KAAMoD,kDAHcxD,MAAA,CAIpBwE,KAAAD,UAAaN,UAAA,CACbY,YAAOrB,kDAAAxD,MALa,CAMpBmF,MAAA3B,kDAAaxD,MAAA,CACboF,YAAU5B,kDAAAxD,MAPU,CAQpByF,SAAAjC,kDAAkB7B,MAAA,CAClB+D,iBAAgBlC,kDATIxD,MAAA,CAUpB2F,eAAetC,iBAVXuC,gBAAAvC,gBADL","sources":["webpack://_N_E/./components/ProductRecommender/ProductRecommender.js","webpack://_N_E/./types/index.js","webpack://_N_E/<anon>"],"sourcesContent":["import React,{Suspense} from 'react';\nimport dynamic from 'next/dynamic';\nimport PropTypes from 'prop-types';\nimport {ICloudinaryImage, IProductOverview} from '../../types';\nconst ProductRecommenderManager = dynamic(() => import('./ProductRecommenderManager'));\nimport Loader from '../../adapters/helpers/Loader';\n\nexport const IProductRecommenderProps = {\n className: PropTypes.string,\n classNames: PropTypes.string, // contentful misspelling\n contentType: PropTypes.oneOf(['productRecommenderBlock']),\n name: PropTypes.string,\n eyebrow: PropTypes.string,\n headline: PropTypes.string,\n bodyCopy: PropTypes.string,\n disclaimer: PropTypes.object,\n anchorId: PropTypes.string,\n switchTextAndProduct: PropTypes.bool,\n hasDivider: PropTypes.bool,\n cta: PropTypes.string,\n ctaLink: PropTypes.string,\n singleColorBackground: PropTypes.string,\n whiteText: PropTypes.bool,\n backgroundAsset: ICloudinaryImage,\n mobileBackgroundAsset: ICloudinaryImage,\n productList: PropTypes.arrayOf(IProductOverview),\n productGroup: PropTypes.object,\n seeMoreLabel: PropTypes.object,\n seeLessLabel: PropTypes.object,\n revision: PropTypes.number,\n};\n\nexport default function ProductRecommenderBlock(props) {\n const fields = props.document.fields;\n const entity = props.extraAttributes?.entity;\n const onClickCallback = props.onClickCallback;\n\n if (!fields) {\n return null;\n }\n\n let { productList, productGroup } = fields;\n\n if (!productList && !productGroup && entity) {\n const { relatedProducts, relatedProductGroup } = entity;\n\n if(relatedProductGroup) {\n const relatedGroupProducts = relatedProductGroup.fields.productList;\n\n productList = relatedGroupProducts;\n }\n\n if (!relatedProductGroup && relatedProducts) {\n productList = relatedProducts;\n }\n }\n\n if(!productList && productGroup) {\n const groupProducts = productGroup.fields.productList;\n\n if (groupProducts) {\n productList = groupProducts;\n }\n }\n\n return (\n <Suspense fallback={<Loader />}>\n <ProductRecommenderManager\n productList={productList}\n onClickCallback={onClickCallback}\n {...fields}\n />\n </Suspense>\n );\n}\n\nProductRecommenderBlock.propTypes = {\n document: PropTypes.shape({\n fields: PropTypes.exact(IProductRecommenderProps),\n }),\n onClickCallback: PropTypes.func\n};\n\n","import PropTypes from 'prop-types';\n\nexport const IImageRendition = PropTypes.shape({\n fields: PropTypes.exact({\n contentType: PropTypes.oneOf(['imageRendition']),\n name: PropTypes.string,\n aspectRatio: PropTypes.number,\n width: PropTypes.number,\n height: PropTypes.number,\n transformations: PropTypes.string,\n }),\n});\n\nexport const ICloudinaryImage = PropTypes.shape({\n fields: PropTypes.exact({\n contentType: PropTypes.oneOf(['cloudinaryImage']),\n name: PropTypes.string,\n assetId: PropTypes.string.isRequired,\n alternateText: PropTypes.string,\n classNames: PropTypes.string,\n forcedFormat: PropTypes.string,\n imageRendition: IImageRendition,\n isPreload: PropTypes.bool,\n isBannerImage : PropTypes.bool\n }),\n});\n\nexport const IPagePath = PropTypes.shape({\n fields: PropTypes.exact({\n contentType: PropTypes.oneOf(['pagePath']),\n slug: PropTypes.string.isRequired,\n disabled: PropTypes.bool,\n searchable: PropTypes.bool,\n }),\n});\n\nexport const ILabel = PropTypes.shape({\n fields: PropTypes.exact({\n contentType: PropTypes.oneOf(['label']),\n text: PropTypes.string,\n }),\n});\n\nexport const IProductOverview = PropTypes.shape({\n fields: PropTypes.exact({\n contentType: PropTypes.oneOf(['productOverview']),\n name: PropTypes.string,\n slug: IPagePath,\n pageMapping: PropTypes.string,\n uniqueId: PropTypes.string,\n productVariants: PropTypes.array,\n mainAsset: ICloudinaryImage,\n surtitle: PropTypes.string,\n title: PropTypes.string,\n description: PropTypes.string,\n shortDescription: PropTypes.string,\n productBenefit: PropTypes.string,\n buyNowLabel: ILabel,\n isFullSizeImage: PropTypes.bool,\n }),\n});\n\nexport const IArticleOverview = PropTypes.shape({\n fields: PropTypes.exact({\n contentType: PropTypes.oneOf(['articleOverview']),\n name: PropTypes.string,\n slug: IPagePath.isRequired,\n pageMapping: PropTypes.string,\n title: PropTypes.string,\n description: PropTypes.string,\n readTime: PropTypes.number,\n twitterShareText: PropTypes.string,\n thumbnailImage: ICloudinaryImage,\n mobileThumbnail: ICloudinaryImage,\n }),\n});\n","\"use strict\";\n(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[157],{\n\n/***/ 50157:\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 */ \"IProductRecommenderProps\": function() { return /* binding */ IProductRecommenderProps; },\n/* harmony export */ \"default\": function() { return /* binding */ ProductRecommenderBlock; }\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_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__ = __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_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_defineProperty_js__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(41539);\n/* harmony import */ var core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_to_string_js__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(88674);\n/* harmony import */ var core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_promise_js__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(47941);\n/* harmony import */ var core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_keys_js__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(82526);\n/* harmony import */ var core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_symbol_js__WEBPACK_IMPORTED_MODULE_4__);\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(57327);\n/* harmony import */ var core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_5___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_filter_js__WEBPACK_IMPORTED_MODULE_5__);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(38880);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptor_js__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(89554);\n/* harmony import */ var core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_array_for_each_js__WEBPACK_IMPORTED_MODULE_7__);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_8__ = __webpack_require__(54747);\n/* harmony import */ var core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_8___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_collections_for_each_js__WEBPACK_IMPORTED_MODULE_8__);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_9__ = __webpack_require__(49337);\n/* harmony import */ var core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_9___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_get_own_property_descriptors_js__WEBPACK_IMPORTED_MODULE_9__);\n/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_10__ = __webpack_require__(33321);\n/* harmony import */ var core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_10___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_properties_js__WEBPACK_IMPORTED_MODULE_10__);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_11__ = __webpack_require__(69070);\n/* harmony import */ var core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_11___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es_object_define_property_js__WEBPACK_IMPORTED_MODULE_11__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_12__ = __webpack_require__(67294);\n/* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_13__ = __webpack_require__(5152);\n/* harmony import */ var next_dynamic__WEBPACK_IMPORTED_MODULE_13___default = /*#__PURE__*/__webpack_require__.n(next_dynamic__WEBPACK_IMPORTED_MODULE_13__);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_14__ = __webpack_require__(45697);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_14___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_14__);\n/* harmony import */ var _types__WEBPACK_IMPORTED_MODULE_15__ = __webpack_require__(22714);\n/* harmony import */ var _adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_16__ = __webpack_require__(47322);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__ = __webpack_require__(85893);\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_0___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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nvar ProductRecommenderManager = next_dynamic__WEBPACK_IMPORTED_MODULE_13___default()(function () {\n return __webpack_require__.e(/* import() */ 6221).then(__webpack_require__.bind(__webpack_require__, 6221));\n}, {\n loadableGenerated: {\n webpack: function webpack() {\n return [/*require.resolve*/(6221)];\n }\n }\n});\n\n\nvar IProductRecommenderProps = {\n className: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().string),\n classNames: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().string),\n // contentful misspelling\n contentType: prop_types__WEBPACK_IMPORTED_MODULE_14___default().oneOf(['productRecommenderBlock']),\n name: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().string),\n eyebrow: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().string),\n headline: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().string),\n bodyCopy: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().string),\n disclaimer: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().object),\n anchorId: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().string),\n switchTextAndProduct: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().bool),\n hasDivider: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().bool),\n cta: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().string),\n ctaLink: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().string),\n singleColorBackground: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().string),\n whiteText: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().bool),\n backgroundAsset: _types__WEBPACK_IMPORTED_MODULE_15__/* .ICloudinaryImage */ .Pd,\n mobileBackgroundAsset: _types__WEBPACK_IMPORTED_MODULE_15__/* .ICloudinaryImage */ .Pd,\n productList: prop_types__WEBPACK_IMPORTED_MODULE_14___default().arrayOf(_types__WEBPACK_IMPORTED_MODULE_15__/* .IProductOverview */ .v9),\n productGroup: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().object),\n seeMoreLabel: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().object),\n seeLessLabel: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().object),\n revision: (prop_types__WEBPACK_IMPORTED_MODULE_14___default().number)\n};\nfunction ProductRecommenderBlock(props) {\n var _props$extraAttribute;\n\n var fields = props.document.fields;\n var entity = (_props$extraAttribute = props.extraAttributes) == null ? void 0 : _props$extraAttribute.entity;\n var onClickCallback = props.onClickCallback;\n\n if (!fields) {\n return null;\n }\n\n var productList = fields.productList,\n productGroup = fields.productGroup;\n\n if (!productList && !productGroup && entity) {\n var relatedProducts = entity.relatedProducts,\n relatedProductGroup = entity.relatedProductGroup;\n\n if (relatedProductGroup) {\n var relatedGroupProducts = relatedProductGroup.fields.productList;\n productList = relatedGroupProducts;\n }\n\n if (!relatedProductGroup && relatedProducts) {\n productList = relatedProducts;\n }\n }\n\n if (!productList && productGroup) {\n var groupProducts = productGroup.fields.productList;\n\n if (groupProducts) {\n productList = groupProducts;\n }\n }\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(react__WEBPACK_IMPORTED_MODULE_12__.Suspense, {\n fallback: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(_adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_16__[\"default\"], {}),\n children: /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__.jsx)(ProductRecommenderManager, _objectSpread({\n productList: productList,\n onClickCallback: onClickCallback\n }, fields))\n });\n}\n\n/***/ }),\n\n/***/ 22714:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"Pd\": function() { return /* binding */ ICloudinaryImage; },\n/* harmony export */ \"v9\": function() { return /* binding */ IProductOverview; }\n/* harmony export */ });\n/* unused harmony exports IImageRendition, IPagePath, ILabel, IArticleOverview */\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(45697);\n/* harmony import */ var prop_types__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(prop_types__WEBPACK_IMPORTED_MODULE_0__);\n\nvar IImageRendition = prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({\n fields: prop_types__WEBPACK_IMPORTED_MODULE_0___default().exact({\n contentType: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['imageRendition']),\n name: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n aspectRatio: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),\n width: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),\n height: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),\n transformations: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)\n })\n});\nvar ICloudinaryImage = prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({\n fields: prop_types__WEBPACK_IMPORTED_MODULE_0___default().exact({\n contentType: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['cloudinaryImage']),\n name: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n assetId: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string.isRequired),\n alternateText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n classNames: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n forcedFormat: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n imageRendition: IImageRendition,\n isPreload: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),\n isBannerImage: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)\n })\n});\nvar IPagePath = prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({\n fields: prop_types__WEBPACK_IMPORTED_MODULE_0___default().exact({\n contentType: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['pagePath']),\n slug: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string.isRequired),\n disabled: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool),\n searchable: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)\n })\n});\nvar ILabel = prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({\n fields: prop_types__WEBPACK_IMPORTED_MODULE_0___default().exact({\n contentType: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['label']),\n text: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string)\n })\n});\nvar IProductOverview = prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({\n fields: prop_types__WEBPACK_IMPORTED_MODULE_0___default().exact({\n contentType: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['productOverview']),\n name: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n slug: IPagePath,\n pageMapping: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n uniqueId: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n productVariants: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().array),\n mainAsset: ICloudinaryImage,\n surtitle: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n title: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n description: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n shortDescription: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n productBenefit: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n buyNowLabel: ILabel,\n isFullSizeImage: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().bool)\n })\n});\nvar IArticleOverview = prop_types__WEBPACK_IMPORTED_MODULE_0___default().shape({\n fields: prop_types__WEBPACK_IMPORTED_MODULE_0___default().exact({\n contentType: prop_types__WEBPACK_IMPORTED_MODULE_0___default().oneOf(['articleOverview']),\n name: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n slug: IPagePath.isRequired,\n pageMapping: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n title: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n description: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n readTime: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().number),\n twitterShareText: (prop_types__WEBPACK_IMPORTED_MODULE_0___default().string),\n thumbnailImage: ICloudinaryImage,\n mobileThumbnail: ICloudinaryImage\n })\n});\n\n/***/ })\n\n}]);"],"names":["self","push","__unused_webpack_module","__webpack_exports__","__webpack_require__","r","d","IProductRecommenderProps","ProductRecommenderBlock","_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_0__","_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_0___default","n","react__WEBPACK_IMPORTED_MODULE_12__","next_dynamic__WEBPACK_IMPORTED_MODULE_13__","next_dynamic__WEBPACK_IMPORTED_MODULE_13___default","prop_types__WEBPACK_IMPORTED_MODULE_14__","prop_types__WEBPACK_IMPORTED_MODULE_14___default","_types__WEBPACK_IMPORTED_MODULE_15__","_adapters_helpers_Loader__WEBPACK_IMPORTED_MODULE_16__","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_17__","ownKeys","object","enumerableOnly","keys","Object","getOwnPropertySymbols","symbols","filter","sym","getOwnPropertyDescriptor","enumerable","apply","ProductRecommenderManager","e","then","bind","loadableGenerated","webpack","className","string","classNames","contentType","oneOf","name","eyebrow","headline","bodyCopy","disclaimer","anchorId","switchTextAndProduct","bool","hasDivider","cta","ctaLink","singleColorBackground","whiteText","backgroundAsset","Pd","mobileBackgroundAsset","productList","arrayOf","v9","productGroup","seeMoreLabel","seeLessLabel","revision","number","props","_props$extraAttribute","fields","document","entity","extraAttributes","onClickCallback","relatedProducts","relatedProductGroup","groupProducts","jsx","Suspense","fallback","children","_objectSpread","target","i","arguments","length","source","forEach","key","getOwnPropertyDescriptors","defineProperties","defineProperty","ICloudinaryImage","IProductOverview","prop_types__WEBPACK_IMPORTED_MODULE_0__","prop_types__WEBPACK_IMPORTED_MODULE_0___default","IImageRendition","shape","exact","aspectRatio","width","height","transformations","assetId","isRequired","alternateText","forcedFormat","imageRendition","isPreload","isBannerImage","IPagePath","slug","disabled","searchable","ILabel","text","pageMapping","uniqueId","productVariants","array","mainAsset","surtitle","title","description","shortDescription","productBenefit","buyNowLabel","isFullSizeImage","readTime","twitterShareText","thumbnailImage","mobileThumbnail"],"sourceRoot":""}