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AAA,WAAAD,EAAA,aAAAE,EAAAC,EAAAS,EAAAD,EAAAX,EAAAC,GAAA,GAAAiB,OAAAE,qBAAA,MAAAP,EAAAK,OAAAE,qBAAA,CAAApB,GAAA,IAAAG,EAAA,EAAAA,EAAAU,EAAAc,MAAA,CAAAxB,IAAAD,EAAAW,CAAA,CAAAV,EAAA,CAAAF,EAAA+G,OAAA,CAAA9G,IAAA,GAAAgB,OAAA+F,SAAA,CAAAC,oBAAA,CAAAC,IAAA,CAAAnH,EAAAE,IAAAU,CAAAA,CAAA,CAAAV,EAAA,CAAAF,CAAA,CAAAE,EAAA,SAAAU,CAAA,EAAAZ,EAAA+G,OAAA,CAAAvE,OAAA,CAAAxC,EAAA+G,OAAA,CAAA/G,EAAA+G,OAAA,CAAAK,UAAA,oBAAApH,CAAA,EAAAA,EAAA+G,OAAA,UAAA/G,CAAA,CAAAC,CAAA,WAAAD,EAAA,aAAAE,EAAAS,EAAAR,EAAA,GAAAS,EAAAM,OAAAC,IAAA,CAAAnB,GAAA,IAAAW,EAAA,EAAAA,EAAAC,EAAAe,MAAA,CAAAhB,IAAAT,EAAAU,CAAA,CAAAD,EAAA,CAAAV,EAAA+G,OAAA,CAAA9G,IAAA,GAAAC,CAAAA,CAAA,CAAAD,EAAA,CAAAF,CAAA,CAAAE,EAAA,SAAAC,CAAA,EAAAH,EAAA+G,OAAA,CAAAvE,OAAA,CAAAxC,EAAA+G,OAAA,CAAA/G,EAAA+G,OAAA,CAAAK,UAAA","sources":["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 PropTypes from 'prop-types';\nimport React from 'react';\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 from 'react';\nimport {ArticleHeroBlockConstants} from '../../adapters/helpers/Constants'\nimport Block from '../../adapters/helpers/Block';\nimport PropTypes from 'prop-types'\nimport dynamic from 'next/dynamic';\nconst Heading = dynamic(() => import('../Heading/Heading'))\nconst ObLink = dynamic(() =>import('../ObLink/ObLink'))\nimport {Label} from '../Label/Label';\nconst Image = dynamic(() => import('../Image/Image'))\nimport { mediaQueryHOC } from '../../adapters/helpers/Hooks';\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 {eyebrow}\n \n\n \n {title}\n \n {showImage && \n
\n {isMedium ?\n \n :\n \n }\n
\n }\n
\n
\n { readingTimeLabel &&\n

\n {readingTimeLabel}\n

\n }\n \n\n {disclaimer &&\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],{44291:function(e,n,l){\"use strict\";l.r(n),l.d(n,{Label:function(){return b},LabelHTML:function(){return p},replaceTokensFromString:function(){return v}});var t=l(930),r=l.n(t),i=l(3323),u=l.n(i),o=l(45697),a=l.n(o),c=(l(67294),l(85893)),s=[\"label\",\"tokens\"];function d(e,n){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),l.push.apply(l,t)}return l}function f(e){for(var n=1;n=0||Object.prototype.propertyIsEnumerable.call(e,l)&&(i[l]=e[l])}return i},e.exports.default=e.exports,e.exports.__esModule=!0},57826:function(e){e.exports=function(e,n){if(null==e)return{};var l,t,r={},i=Object.keys(e);for(t=0;t=0||(r[l]=e[l]);return r},e.exports.default=e.exports,e.exports.__esModule=!0}}]);"],"names":["self","webpackChunk_N_E","push","e","n","l","r","d","Label","b","LabelHTML","p","replaceTokensFromString","v","t","i","u","o","a","c","s","Object","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","enumerable","apply","f","arguments","length","forEach","getOwnPropertyDescriptors","defineProperties","defineProperty","label","tokens","fields","text","jsx","dangerouslySetInnerHTML","__html","replace","default","propTypes","oneOfType","string","object","then","bind","loadableGenerated","webpack","Ui","g","y","h","x","O","j","m","w","_","k","T","P","L","N","S","I","M","D","E","Z","G","extraAttributes","H","isMedium","A","getFieldValue","F","getAnchorId","C","entity","articleOverview","showImage","V","thumbnailImage","B","mobileThumbnail","R","title","U","category","slug","q","D4","readTimeLabel","readTime","z","description","J","backgroundAsset","K","disclaimer","className","concat","id","children","jsxs","href","tag","image","articleBanner","document","exports","indexOf","prototype","propertyIsEnumerable","call","__esModule"],"sourceRoot":""}