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AAE,EAAAU,EAAAC,EAAA,GAAAC,EAAAG,OAAAC,IAAA,CAAAlB,GAAA,IAAAY,EAAA,EAAAA,EAAAE,EAAAY,MAAA,CAAAd,IAAAV,EAAAY,CAAA,CAAAF,EAAA,CAAAX,EAAAuI,OAAA,CAAAtI,IAAA,GAAAW,CAAAA,CAAA,CAAAX,EAAA,CAAAF,CAAA,CAAAE,EAAA,SAAAW,CAAA,EAAAb,EAAAuI,OAAA,CAAA1E,OAAA,CAAA7D,EAAAuI,OAAA,CAAAvI,EAAAuI,OAAA,CAAAK,UAAA","sources":["webpack://_N_E/./adapters/helpers/Hooks.js","webpack://_N_E/./components/Label/Label.js","webpack://_N_E/./components/LegacyArticleHeroBlock/LegacyArticleHeroBlock.js","webpack://_N_E/./node_modules/next/dist/compiled/@babel/runtime/helpers/objectWithoutProperties.js","webpack://_N_E/./node_modules/next/dist/compiled/@babel/runtime/helpers/objectWithoutPropertiesLoose.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 PropTypes from 'prop-types';\nimport React from 'react';\nimport DOMPurify from 'isomorphic-dompurify';\n\nexport default Label;\n\nexport function Label({ label, tokens }) {\n if (!label) {\n return '';\n } else if (tokens) {\n return replaceTokensFromString(label?.fields?.text || label, tokens);\n } else {\n return label?.fields?.text || label;\n }\n}\n\nLabel.propTypes = {\n label: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.object\n ]),\n tokens: PropTypes.object,\n};\n\nexport function LabelHTML({ label, tokens, ...props }) {\n if (!label) {\n return (\n \n );\n } else if (tokens) {\n return (\n \n );\n } else {\n return (\n \n );\n }\n}\n\nLabelHTML.propTypes = {\n label: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.object\n ]),\n tokens: PropTypes.object,\n};\n\nexport function replaceTokensFromString(s, tokens) {\n for (let tokenKey in tokens) {\n s = s.replace(new RegExp('{' + tokenKey + '}', 'g'), tokens[tokenKey]);\n }\n\n return s;\n}\n","import React, { Suspense } from 'react';\nimport dynamic from 'next/dynamic';\nimport {ArticleHeroBlockConstants} from '../../adapters/helpers/Constants'\nimport Block from '../../adapters/helpers/Block';\nimport PropTypes from 'prop-types'\nimport {Label} from '../Label/Label';\nimport { mediaQueryHOC } from '../../adapters/helpers/Hooks';\nimport Loader from '../../adapters/helpers/Loader'\nimport DOMPurify from 'isomorphic-dompurify';\nconst Heading = dynamic(() => import('../Heading/Heading'));\nconst ObLink = dynamic(() => import('../ObLink/ObLink'));\nconst Image = dynamic(() => import('../Image/Image'));\nconst Disclaimer = dynamic(() => import('../Disclaimer/Disclaimer'));\n\nfunction LegacyArticleHeroBlock(props) {\n const block = new Block(props);\n const { extraAttributes, isMedium } = props;\n const className = block.getFieldValue('classNames');\n const anchorId = block.getAnchorId();\n const showImage = extraAttributes?.entity?.articleOverview?.fields?.showImage; \n const thumbnailImage = extraAttributes?.entity?.articleOverview?.fields?.thumbnailImage;\n const mobileImage = extraAttributes?.entity?.articleOverview?.fields?.mobileThumbnail;\n const title = extraAttributes?.entity?.articleOverview?.fields?.title;\n const eyebrow = extraAttributes?.entity?.category?.fields?.title;\n const slug = extraAttributes?.entity?.category?.fields?.slug?.fields?.slug;\n const readingTimeLabel = Label({label: block.getFieldValue(ArticleHeroBlockConstants.readTimeLabel), tokens: {readTime: extraAttributes.entity.articleOverview.fields.readTime}});\n const body = extraAttributes?.entity?.articleOverview?.fields?.description;\n const backgroundAsset = extraAttributes?.entity?.backgroundAsset;\n const disclaimer = block?.fields?.disclaimer; \n\n return (\n }>\n
\n
\n \n {eyebrow}\n \n\n }>\n {title &&\n {title}\n }\n \n }>\n {showImage && \n
\n {isMedium ?\n \n :\n \n }\n
\n }\n
\n {body &&
\n
}\n { readingTimeLabel &&\n

\n {readingTimeLabel}\n

\n }\n }>\n {backgroundAsset && }\n \n }>\n {disclaimer &&\n \n }\n \n
\n
\n
\n );\n}\nexport default mediaQueryHOC(LegacyArticleHeroBlock);\nLegacyArticleHeroBlock.propTypes = {\n extraAttributes: PropTypes.object\n};\n","var objectWithoutPropertiesLoose = require(\"./objectWithoutPropertiesLoose.js\");\n\nfunction _objectWithoutProperties(source, excluded) {\n if (source == null) return {};\n var target = objectWithoutPropertiesLoose(source, excluded);\n var key, i;\n\n if (Object.getOwnPropertySymbols) {\n var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n for (i = 0; i < sourceSymbolKeys.length; i++) {\n key = sourceSymbolKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n target[key] = source[key];\n }\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutProperties;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","function _objectWithoutPropertiesLoose(source, excluded) {\n if (source == null) return {};\n var target = {};\n var sourceKeys = Object.keys(source);\n var key, i;\n\n for (i = 0; i < sourceKeys.length; i++) {\n key = sourceKeys[i];\n if (excluded.indexOf(key) >= 0) continue;\n target[key] = source[key];\n }\n\n return target;\n}\n\nmodule.exports = _objectWithoutPropertiesLoose;\nmodule.exports[\"default\"] = module.exports, module.exports.__esModule = true;","(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5983,4291],{71357:function(e,n,t){\"use strict\";t.d(n,{LI:function(){return c},Ui:function(){return f},ag:function(){return s},y3:function(){return v}});var r=t(930),l=t.n(r),i=t(67294),u=t(85893);function a(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function o(e){for(var n=1;n1&&void 0!==arguments[1]?arguments[1]:null,t=(0,i.useState)(n),r=t[0],l=t[1];return(0,i.useEffect)((function(){if(window.matchMedia){var n=window.matchMedia(e);return l(n.matches),n.addListener(t),function(){n.removeListener(t)}}function t(e){l(e.matches)}}),[e]),r}var f=function(e){return function(n){var t=s(\"(max-width: 375px)\"),r=s(\"(max-width: 479px)\"),l=s(\"(max-width: 767px)\"),i=s(\"(max-width: 991px)\"),a=s(\"(max-width: 1023px)\");return(0,u.jsx)(e,o({isXSmall:t,isSmall:r,isMedium:l,isLarge:i,isXLarge:a},n))}},d=[],b={currentProductIndex:0},p=function(e){b=o(o({},b),e),d.forEach((function(e){e(b)}))},v=function(){var e=(0,i.useState)()[1];return(0,i.useEffect)((function(){d.push(e)}),[]),[b,p]}},44291:function(e,n,t){\"use strict\";t.r(n),t.d(n,{Label:function(){return v},LabelHTML:function(){return h},replaceTokensFromString:function(){return x}});var r=t(930),l=t.n(r),i=t(3323),u=t.n(i),a=t(45697),o=t.n(a),c=(t(67294),t(29238)),s=t.n(c),f=t(85893),d=[\"label\",\"tokens\"];function b(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function p(e){for(var n=1;n=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i},e.exports.default=e.exports,e.exports.__esModule=!0},57826:function(e){e.exports=function(e,n){if(null==e)return{};var t,r,l={},i=Object.keys(e);for(r=0;r=0||(l[t]=e[t]);return l},e.exports.default=e.exports,e.exports.__esModule=!0}}]);"],"names":["self","webpackChunk_N_E","push","e","n","t","d","LI","c","Ui","f","ag","s","y3","v","r","l","i","u","a","Object","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","enumerable","apply","o","arguments","length","forEach","getOwnPropertyDescriptors","defineProperties","defineProperty","useLayoutEffect","useState","useEffect","window","matchMedia","matches","addListener","removeListener","jsx","isXSmall","isSmall","isMedium","isLarge","isXLarge","b","currentProductIndex","p","Label","LabelHTML","h","replaceTokensFromString","x","label","tokens","fields","text","dangerouslySetInnerHTML","__html","sanitize","replace","default","propTypes","oneOfType","string","object","then","bind","loadableGenerated","webpack","Promise","all","j","y","g","m","O","w","k","_","P","S","L","E","T","D","M","I","N","G","H","z","Z","A","extraAttributes","F","C","getFieldValue","U","getAnchorId","V","entity","articleOverview","showImage","X","thumbnailImage","B","mobileThumbnail","R","title","category","q","slug","J","D4","readTimeLabel","readTime","K","description","Q","backgroundAsset","W","disclaimer","Suspense","fallback","children","className","concat","id","jsxs","href","tag","image","articleBanner","document","exports","indexOf","prototype","propertyIsEnumerable","call","__esModule"],"sourceRoot":""}