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AM,SAAEjC,GAAUpM,EAAA,MAAM,CACrE4B,MAAMU,EAAAA,EAAAA,KAAQnB,GACdkN,OAAQA,IAAUuE,EAAAA,EAAAA,KAAUzR,GAC5B2E,QACAyI,UAAUsE,EAAAA,EAAAA,KAAY1R,GACtBgN,OACAW,QAAQgE,EAAAA,EAAAA,KAAU3R,GAClB4N,aAAagE,EAAAA,EAAAA,KAAS5R,GACtBiL,SAAUA,IAAY4G,EAAAA,EAAAA,KAAY7R,GAClCyN,iBAAiBqE,EAAAA,EAAAA,KAAmB9R,GACrC,GAIC,CACE2H,SAAQA,EAAAA,IAHZ,CAKEwF,G","sources":["webpack://groot/./src/components/charts/label/Label.js","webpack://groot/./src/components/error_boundary/ErrorBoundary.js","webpack://groot/./src/containers/WithI18n.js","webpack://groot/./src/components/charts/plotlights_label/PlotlightsLabel.js","webpack://groot/./src/components/chart_card/ChartCard.js","webpack://groot/./src/components/charts/chart/description/Description.js","webpack://groot/./src/containers/charts/chart/Description.js","webpack://groot/./src/components/chart_branding/ChartBranding.js","webpack://groot/./src/components/charts/chart/no_data_message/NoDataMessage.js","webpack://groot/./src/containers/charts/chart/NoDataMessage.js","webpack://groot/./src/components/charts/chart/chart_with_label/ChartWithLabel.js","webpack://groot/./src/components/charts/chart/Chart.js","webpack://groot/./src/containers/charts/Chart.js"],"sourcesContent":["import React, { useMemo } from 'react'\nimport PropTypes from 'prop-types'\nimport tinycolor from 'tinycolor2'\nimport { makeStyles } from 'tss-react/mui'\nimport { grey } from '@mui/material/colors'\n\nconst useStyles = makeStyles()(theme => ({\n label: {\n color: theme.palette.grey[700],\n letterSpacing: 0.3,\n lineHeight: 1.5,\n fontWeight: 500,\n fontSize: 14\n },\n topLabel: {\n color: theme.palette.grey[500],\n fontSize: '10pt',\n letterSpacing: 0.3,\n lineHeight: 1,\n fontWeight: 400\n },\n labelContainer: {\n padding: '10px 10px 5px',\n borderTopLeftRadius: 4,\n borderTopRightRadius: 4\n },\n labelOnly: {\n padding: '5px 10px'\n },\n topLabelOnly: {\n padding: '5px 10px',\n fallbacks: [{\n padding: '5px 10px'\n }]\n }\n}))\n\nconst getStyle = (labelBackgroundColor, shade, forcedColor) => {\n if (forcedColor) {\n return { color: forcedColor }\n }\n\n let color\n\n if (labelBackgroundColor) {\n const tc = tinycolor(labelBackgroundColor)\n\n // We do not use the method isLight() on purpose! For example\n // the color #54B7A7 should be combined with a white font.\n if (tc.getBrightness() > 152) {\n color = grey[shade]\n } else {\n color = '#ffffff'\n }\n }\n\n return { color }\n}\n\nexport default function Label({\n topLabel,\n label,\n labelBackgroundColor,\n labelColor,\n topLabelColor,\n classes: extraClasses\n}) {\n const { classes, cx } = useStyles()\n const topLabelStyle = useMemo(() => getStyle(labelBackgroundColor, 800, topLabelColor), [labelBackgroundColor, topLabelColor])\n const labelStyle = useMemo(() => getStyle(labelBackgroundColor, 900, labelColor), [labelBackgroundColor, labelColor])\n\n if (!(topLabel || label)) {\n return null\n }\n\n let containerExtraClass\n\n if (label && !topLabel) {\n containerExtraClass = classes.labelOnly\n } else if (!label && topLabel) {\n containerExtraClass = classes.topLabelOnly\n }\n\n return (\n \n {topLabel && (\n \n {topLabel}\n \n )}\n\n {label && (\n \n {label}\n \n )}\n \n )\n}\n\nLabel.defaultProps = {\n classes: {}\n}\n\nLabel.propTypes = {\n classes: PropTypes.object,\n label: PropTypes.string,\n topLabel: PropTypes.string,\n labelBackgroundColor: PropTypes.string,\n labelColor: PropTypes.string,\n topLabelColor: PropTypes.string\n}\n","import React, { Component } from 'react'\nimport PropTypes from 'prop-types'\nimport CancelPresentationIcon from '@mui/icons-material/CancelPresentation'\n\nimport { logException } from 'utils/error'\nimport WithI18n from 'containers/WithI18n'\n\nclass ErrorBoundary extends Component {\n state = {\n hasError: false\n }\n\n static getDerivedStateFromError() {\n return {\n hasError: true\n }\n }\n\n componentDidCatch(error) {\n logException(error)\n }\n\n render() {\n const { fallbackComp, children, i18n } = this.props\n const { hasError } = this.state\n\n if (hasError) {\n if (fallbackComp) {\n return fallbackComp\n }\n\n return (\n this.setState({ hasError: false })}\n >\n \n \n )\n }\n\n return children\n }\n}\n\nErrorBoundary.propTypes = {\n i18n: PropTypes.object.isRequired,\n\n children: PropTypes.any,\n fallbackComp: PropTypes.any\n}\n\nexport default WithI18n()(ErrorBoundary)\n","import { connect } from 'react-redux'\n\nimport { getI18n } from 'selectors'\n\nconst mapStateToProps = state => ({\n i18n: getI18n(state)\n})\n\nconst extraOptions = {\n getDisplayName: name => `WithI18n(${name})`\n}\n\nexport default function WithI18n() {\n return Comp => connect(mapStateToProps, null, null, extraOptions)(Comp)\n}\n","import React, { useMemo } from 'react'\nimport PropTypes from 'prop-types'\nimport tinycolor from 'tinycolor2'\nimport { makeStyles } from 'tss-react/mui'\nimport { grey } from '@mui/material/colors'\n\nconst useStyles = makeStyles()(theme => ({\n label: {\n color: theme.palette.grey[700],\n letterSpacing: 0.3,\n lineHeight: 1.2,\n fontWeight: 500,\n fontSize: 14\n },\n topLabel: {\n color: theme.palette.grey[500],\n fontSize: '10pt',\n letterSpacing: 0.3,\n lineHeight: 1,\n fontWeight: 400\n },\n labelContainer: {\n padding: '10px 10px 5px',\n borderTopLeftRadius: 4,\n borderTopRightRadius: 4\n },\n labelOnly: {\n padding: '5px 10px'\n },\n topLabelOnly: {\n padding: '5px 10px',\n fallbacks: [{\n padding: '5px 10px'\n }]\n }\n}))\n\nconst getStyle = (labelBackgroundColor, shade, forcedColor) => {\n if (forcedColor) {\n return { color: forcedColor }\n }\n\n let color\n\n if (labelBackgroundColor) {\n const tc = tinycolor(labelBackgroundColor)\n\n // We do not use the method isLight() on purpose! For example\n // the color #54B7A7 should be combined with a white font.\n if (tc.getBrightness() > 152) {\n color = grey[shade]\n } else {\n color = '#ffffff'\n }\n }\n\n return { color }\n}\n\nexport default function Label({\n topLabel,\n label,\n labelBackgroundColor,\n labelColor,\n topLabelColor,\n classes: extraClasses\n}) {\n const { classes, cx } = useStyles()\n const topLabelStyle = useMemo(() => getStyle(labelBackgroundColor, 800, topLabelColor), [labelBackgroundColor, topLabelColor])\n const labelStyle = useMemo(() => getStyle(labelBackgroundColor, 900, labelColor), [labelBackgroundColor, labelColor])\n\n if (!(topLabel || label)) {\n return null\n }\n\n let containerExtraClass\n\n if (label && !topLabel) {\n containerExtraClass = classes.labelOnly\n } else if (!label && topLabel) {\n containerExtraClass = classes.topLabelOnly\n }\n\n return (\n \n {topLabel && (\n \n {topLabel}\n \n )}\n\n {label && (\n \n {label}\n \n )}\n \n )\n}\n\nLabel.defaultProps = {\n classes: {}\n}\n\nLabel.propTypes = {\n classes: PropTypes.object,\n label: PropTypes.string,\n topLabel: PropTypes.string,\n labelBackgroundColor: PropTypes.string,\n labelColor: PropTypes.string,\n topLabelColor: PropTypes.string\n}\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport { makeStyles } from 'tss-react/mui'\n\nimport Label from 'components/charts/label'\nimport PlotlightsLabel from 'components/charts/plotlights_label'\n\nimport { Card, CardContent } from '@mui/material'\n\nconst useStyles = makeStyles()({\n cardContainer: {\n height: '100%',\n width: '100%',\n display: 'flex',\n flexDirection: 'column',\n backgroundColor: 'transparent',\n overflow: 'visible'\n },\n cardContent: {\n width: '100%',\n padding: '15px !important',\n height: 1,\n flex: 1\n },\n cardContentExternalWidget: {\n width: '100%',\n padding: '0 !important',\n height: 1,\n flex: 1\n },\n cardContentNoPadding: {\n height: '100%',\n width: '100%'\n },\n card: {\n height: '100%',\n width: '100%',\n overflow: 'visible',\n position: 'relative',\n display: 'flex',\n flexDirection: 'column',\n boxShadow: 'none'\n },\n padding: {\n paddingBottom: 15\n },\n analyticsImg: {\n width: '100%',\n height: '100%',\n position: 'absolute',\n display: 'flex',\n justifyContent: 'flex-end',\n alignItems: 'flex-end',\n padding: '0 2px 2px 0'\n },\n labelContainer: {\n borderBottom: '0.5px solid #eeeeee'\n }\n})\n\nexport default function ChartCard({\n children,\n legend,\n dummyCard,\n withLabel,\n isImageChart,\n isTextChart,\n isExternalWidgetChart,\n plotlights,\n label,\n topLabel,\n labelBackgroundColor,\n labelColor,\n topLabelColor,\n disableCard,\n branding,\n ...newProps\n}) {\n const { classes, cx } = useStyles()\n\n const cardProps = {\n ...newProps,\n className: cx(\n classes.card,\n newProps.className,\n legend && classes.padding\n )\n }\n\n delete cardProps.hideScrollBars\n delete cardProps.blurContainerBottom\n\n if (dummyCard) {\n cardProps.style = { ...(cardProps.style), backgroundColor: 'transparent' }\n }\n\n if ((label || topLabel) && withLabel) {\n cardProps.style = { ...(cardProps.style), borderTopLeftRadius: 0, borderTopRightRadius: 0 }\n }\n\n const LabelComp = plotlights ? PlotlightsLabel : Label\n\n let labelRendered\n\n if (!dummyCard && withLabel) {\n labelRendered = (\n \n )\n }\n\n if (disableCard) {\n return (\n
\n {labelRendered}\n\n
\n {children}\n
\n
\n )\n }\n\n return (\n \n {labelRendered}\n\n \n {(!dummyCard && !isImageChart && !isTextChart && !isExternalWidgetChart) ? (\n <>\n {branding}\n\n \n {children}\n \n \n ) : (\n
\n {branding}\n\n {children}\n
\n )}\n
\n
\n )\n}\n\nChartCard.defaultProps = {\n legend: true,\n dummyCard: false,\n disableCard: false\n}\n\nChartCard.propTypes = {\n children: PropTypes.any,\n legend: PropTypes.bool,\n dummyCard: PropTypes.bool,\n withLabel: PropTypes.bool,\n isImageChart: PropTypes.bool,\n isTextChart: PropTypes.bool,\n isExternalWidgetChart: PropTypes.bool,\n plotlights: PropTypes.bool,\n disableCard: PropTypes.bool,\n label: PropTypes.string,\n topLabel: PropTypes.string,\n labelBackgroundColor: PropTypes.string,\n labelColor: PropTypes.string,\n topLabelColor: PropTypes.string,\n branding: PropTypes.any\n}\n","import React, { useState, useEffect } from 'react'\nimport PropTypes from 'prop-types'\nimport { Map } from 'immutable'\nimport InfoIcon from '@mui/icons-material/Info'\nimport AutoAwesomeIcon from '@mui/icons-material/AutoAwesome'\nimport { makeStyles } from 'tss-react/mui'\nimport { Popover, IconButton } from 'containers/themed'\nimport { Typography, CircularProgress } from '@mui/material'\n\nimport useI18n from 'hooks/useI18n'\n\nconst useStyles = makeStyles()(theme => ({\n handle: {\n opacity: 0.5,\n cursor: 'pointer',\n transition: 'opacity 225ms',\n\n '&:hover': {\n opacity: 1\n }\n },\n descriptionPopover: {\n padding: 10,\n maxWidth: 400\n },\n loading: {\n width: 400,\n height: 100,\n display: 'flex',\n justifyContent: 'center',\n alignItems: 'center'\n },\n iconStack: {\n display: 'flex',\n alignItems: 'center',\n position: 'relative'\n },\n stackInfoIcon: {\n position: 'absolute',\n right: -5,\n top: -8,\n color: theme.palette.grey[900]\n }\n}))\n\nexport default function Description({ chart, onGenerateDescriptionClick, hasAdminVersion, hasAiSummariesPaidVersion }) {\n const i18n = useI18n()\n const { classes } = useStyles()\n const [open, setOpen] = useState(false)\n const [description, setDescription] = useState(chart.get('description', ''))\n const aiDescriptionEnabled = Boolean(\n chart.getIn(['opts', 'useAiDescription'])\n && onGenerateDescriptionClick\n && (hasAdminVersion || hasAiSummariesPaidVersion)\n )\n\n useEffect(\n () => {\n if (open && !chart.get('aiDescription') && aiDescriptionEnabled && !chart.get('aiDescriptionLoading')) {\n onGenerateDescriptionClick()\n }\n },\n [\n open,\n onGenerateDescriptionClick,\n aiDescriptionEnabled,\n chart.get('aiDescription'),\n chart.get('aiDescriptionLoading')\n ]\n )\n\n useEffect(\n () => {\n if (aiDescriptionEnabled) {\n setDescription(chart.get('aiDescription', ''))\n }\n },\n [\n aiDescriptionEnabled,\n chart.get('aiDescription')\n ]\n )\n\n if ((!aiDescriptionEnabled && !description) || chart.get('loading')) {\n return null\n }\n\n let title = i18n.get(aiDescriptionEnabled ? 'ai_description' : 'description')\n\n if (!hasAiSummariesPaidVersion && hasAdminVersion && aiDescriptionEnabled) {\n title = `${title} (${i18n.get('admin_version')})`\n }\n\n return (\n \n {aiDescriptionEnabled ? (\n
\n \n\n \n
\n ) : }\n \n )}\n >\n {aiDescriptionEnabled && (chart.get('aiDescriptionLoading') || !chart.get('aiDescription')) ? (\n
\n \n
\n ) : (\n ')\n }}\n />\n )}\n \n )\n}\n\nDescription.propTypes = {\n chart: PropTypes.instanceOf(Map).isRequired,\n hasAdminVersion: PropTypes.bool,\n hasAiSummariesPaidVersion: PropTypes.bool.isRequired,\n onGenerateDescriptionClick: PropTypes.func\n}\n","import { connect } from 'react-redux'\n\nimport Desription from 'components/charts/chart/description'\n\nimport { getHasAiSummariesPaidVersion, getIsEmployee } from 'selectors'\n\nconst mapStateToProps = state => ({\n hasAiSummariesPaidVersion: getHasAiSummariesPaidVersion(state),\n hasAdminVersion: getIsEmployee(state)\n})\n\nexport default connect(mapStateToProps)(Desription)\n","import React from 'react'\nimport PropTypes from 'prop-types'\n\nimport { ChartDataSources } from 'static/constants'\n\nimport imageLinks from 'static/image_links'\n\nexport default function ChartBranding({\n dataSource,\n thirdLevel,\n firstLevel,\n className,\n inverted\n}) {\n if (dataSource === ChartDataSources.GOOGLE_ANALYTICS) {\n return (\n
\n \n
\n )\n }\n\n if (dataSource === ChartDataSources.YOUTUBE_ANALYTICS) {\n return (\n
\n \n
\n )\n }\n\n if (dataSource === ChartDataSources.LINKED_IN_ANALYTICS) {\n return (\n
\n \n
\n )\n }\n\n if (dataSource === ChartDataSources.FACEBOOK_ANALYTICS) {\n return (\n
\n \n
\n )\n }\n\n if (dataSource === ChartDataSources.TWITTER_ANALYTICS) {\n return (\n
\n \n
\n )\n }\n\n if (dataSource === ChartDataSources.MOZ || (thirdLevel || '').startsWith('moz') || (firstLevel || '').startsWith('moz')) {\n return (\n
\n \n
\n )\n }\n\n return null\n}\n\nChartBranding.propTypes = {\n dataSource: PropTypes.string,\n thirdLevel: PropTypes.string,\n firstLevel: PropTypes.string,\n inverted: PropTypes.bool,\n className: PropTypes.string\n}\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport { Map } from 'immutable'\nimport { makeStyles } from 'tss-react/mui'\nimport WarningIcon from '@mui/icons-material/Warning'\nimport useI18n from 'hooks/useI18n'\n\nimport { Link } from '@mui/material'\n\nconst messageIcons = {\n warning: \n}\n\nconst useStyles = makeStyles()({\n noData: {\n display: 'flex',\n alignItems: 'center',\n\n '& > div:first-of-type': {\n marginRight: 5\n }\n },\n link: {\n cursor: 'pointer'\n }\n})\n\nexport default function NoDataMessage({ chart, navigate }) {\n const { classes } = useStyles()\n const i18n = useI18n()\n const defaultNoDataMessage = Map({\n message: i18n.get('no_chart_data'),\n moduleLink: null,\n icon: null\n })\n const noDataMessage = chart.get('chartError') || defaultNoDataMessage\n\n let content = (\n
\n
\n {messageIcons[noDataMessage.get('icon')]}\n
\n\n
\n {noDataMessage.get('message')}\n {noDataMessage.get('info') && (\n <>\n
\n {noDataMessage.get('info')}\n \n )}\n
\n
\n )\n\n if (noDataMessage.get('moduleLink')) {\n content = (\n navigate && navigate(noDataMessage.get('moduleLink'))}\n >\n {content}\n \n )\n }\n\n return content\n}\n\nNoDataMessage.propTypes = {\n chart: PropTypes.instanceOf(Map).isRequired,\n navigate: PropTypes.func\n}\n","import { connect } from 'react-redux'\n\nimport NoDataMessage from 'components/charts/chart/no_data_message'\nimport { navigate } from 'actions/navigation'\n\nexport default connect(\n null,\n {\n navigate\n }\n)(NoDataMessage)\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport { makeStyles } from 'tss-react/mui'\n\nimport Label from '../../label'\nimport PlotlightsLabel from '../../plotlights_label'\n\nconst useStyles = makeStyles()({\n container: {\n width: '100%',\n height: '100%',\n position: 'relative',\n display: 'flex',\n flexDirection: 'column'\n },\n chart: {\n width: '100%',\n height: '100%',\n flex: 1\n }\n})\n\nexport default function ChartWithLabel({\n children,\n label,\n topLabel,\n labelBackgroundColor,\n labelColor,\n topLabelColor,\n forcedTheme,\n classes: extraClasses\n}) {\n const { classes, cx } = useStyles()\n const LabelComp = forcedTheme === 'plotlights' ? PlotlightsLabel : Label\n\n return (\n
\n \n\n
\n {children}\n
\n
\n )\n}\n\nChartWithLabel.defaultProps = {\n classes: {}\n}\n\nChartWithLabel.propTypes = {\n children: PropTypes.any.isRequired,\n label: PropTypes.string,\n classes: PropTypes.object,\n topLabel: PropTypes.string,\n labelBackgroundColor: PropTypes.string,\n labelColor: PropTypes.string,\n topLabelColor: PropTypes.string,\n forcedTheme: PropTypes.string\n}\n","import React, { memo } from 'react'\nimport PropTypes from 'prop-types'\nimport { List, Map, Set, fromJS } from 'immutable'\nimport { createLoadable } from 'utils/loadable'\nimport tinycolor from 'tinycolor2'\nimport { makeStyles } from 'tss-react/mui'\nimport { useTheme } from '@mui/material/styles'\nimport { grey } from '@mui/material/colors'\nimport { keyframes } from 'tss-react'\n\nimport { NewsPageModules, ChartTypes } from 'static/constants'\nimport { defaultChartOpts as profileMonitoringOpts } from 'utils/page_identities'\n\nimport ErrorBoundary from 'components/error_boundary'\n\nimport ChartCard from 'components/chart_card'\nimport Description from 'containers/charts/chart/Description'\nimport { getTonalityColor, getTonalititesByModule, isTonalityDimension } from 'utils/tonality'\nimport {\n formatData,\n useTonalityColor,\n useSentimentColor,\n generateChartLabel,\n generateChartTopLabel,\n isImageChart,\n isTextChart,\n isExternalWidgetChart,\n isPressrelationsNewsChart\n} from 'utils/chart'\nimport ChartBranding from 'components/chart_branding'\nimport NoDataMessage from 'containers/charts/chart/NoDataMessage'\n\nimport ChartWithLabel from './chart_with_label'\n\nconst useStyles = makeStyles()(theme => ({\n noLabel: {\n position: 'relative',\n height: '100%',\n width: '100%'\n },\n message: {\n width: '100%',\n height: '80%',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n color: theme.palette.warning.dark\n },\n description: {\n position: 'absolute',\n bottom: 0,\n left: 0\n },\n ready: {\n animation: `${keyframes`\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n `} 1s;`\n },\n chartCardBranding: {\n position: 'absolute',\n right: 5,\n bottom: 0\n },\n link: {\n cursor: 'pointer'\n }\n}))\n\nconst RadialBarChart = createLoadable(() => (\n import(/* webpackChunkName: \"RadialBarChart\" */ 'components/charts/radial_bar_chart')\n))\nconst BarChart = createLoadable(() => (\n import(/* webpackChunkName: \"BarChart\" */ 'components/charts/bar_chart')\n))\nconst LineChart = createLoadable(() => (\n import(/* webpackChunkName: \"LineChart\" */ 'components/charts/line_chart')\n))\nconst PieChart = createLoadable(() => (\n import(/* webpackChunkName: \"PieChart\" */ 'components/charts/pie_chart')\n))\nconst Treemap = createLoadable(() => (\n import(/* webpackChunkName: \"Treemap\" */ 'components/charts/treemap')\n))\nconst RectangleChart = createLoadable(() => (\n import(/* webpackChunkName: \"RectangleChart\" */ 'components/charts/rectangle_chart')\n))\nconst TagCloud = createLoadable(() => (\n import(/* webpackChunkName: \"TagCloud\" */ 'components/charts/tag_cloud')\n))\nconst RadarChart = createLoadable(() => (\n import(/* webpackChunkName: \"RadarChart\" */ 'components/charts/radar_chart')\n))\nconst Gauge = createLoadable(() => (\n import(/* webpackChunkName: \"Gauge\" */ 'components/charts/gauge')\n))\nconst NewsFeedChart = createLoadable(() => (\n import(/* webpackChunkName: \"NewsFeedChart\" */ 'components/charts/news_feed_chart')\n))\nconst NewsTickerChart = createLoadable(() => (\n import(/* webpackChunkName: \"NewsTickerChart\" */ 'components/charts/news_ticker_chart')\n))\nconst InfluencerFeedChart = createLoadable(() => (\n import(/* webpackChunkName: \"InfluencerFeedChart\" */ 'components/charts/influencer_feed_chart')\n))\nconst ImageFeedChart = createLoadable(() => (\n import(/* webpackChunkName: \"ImageFeedChart\" */ 'components/charts/image_feed_chart')\n))\nconst PageIdentityFeedChart = createLoadable(() => (\n import(/* webpackChunkName: \"PageIdentityFeedChart\" */ 'components/charts/page_identity_feed_chart')\n))\nconst PublicationFeedChart = createLoadable(() => (\n import(/* webpackChunkName: \"PublicationFeedChart\" */ 'components/charts/publication_feed_chart')\n))\nconst WorldMapChart = createLoadable(() => (\n import(/* webpackChunkName: \"WorldMapChart\" */ 'components/charts/world_map_chart')\n))\nconst StateMapChart = createLoadable(() => (\n import(/* webpackChunkName: \"StateMapChart\" */ 'components/charts/state_map_chart')\n))\nconst FunnelChart = createLoadable(() => (\n import(/* webpackChunkName: \"FunnelChart\" */ 'components/charts/funnel_chart')\n))\nconst BubbleChart = createLoadable(() => (\n import(/* webpackChunkName: \"BubbleChart\" */ 'components/charts/bubble_chart')\n))\nconst ImageChart = createLoadable(() => (\n import(/* webpackChunkName: \"ImageChart\" */ 'components/charts/image_chart')\n))\nconst DarknetRectangleChart = createLoadable(() => (\n import(/* webpackChunkName: \"DarknetRectangleChart\" */ 'components/darknet/charts/rectangle')\n))\nconst SocialMediaAnalyticsFeedChart = createLoadable(() => (\n import(/* webpackChunkName: \"SocialMediaAnalyticsFeedChart\" */ 'components/charts/social_media_analytics_feed_chart')\n))\nconst TextChart = createLoadable(() => (\n import(/* webpackChunkName: \"TextChart\" */ 'components/charts/text_chart')\n))\nconst ExternalWidgetChart = createLoadable(() => (\n import(/* webpackChunkName: \"ExternalWidgetChart\" */ 'components/charts/external_widget_chart')\n))\nconst HeatmapChart = createLoadable(() => (\n import(/* webpackChunkName: \"BarChart\" */ 'components/charts/heatmap_chart')\n))\n\nconst getSelfRenderingLabelCharts = theme => (theme === 'plotlights' ? Set([\n ChartTypes.NEWS_FEED,\n ChartTypes.NEWS_TICKER,\n ChartTypes.INFLUENCER_FEED,\n ChartTypes.PAGE_IDENTITY_FEED,\n ChartTypes.PUBLICATION_FEED,\n ChartTypes.SOCIAL_MEDIA_ANALYTICS_FEED,\n ChartTypes.SOCIAL_MEDIA_ANALYTICS_STORIES_FEED,\n ChartTypes.TEXT,\n ChartTypes.IMAGE_FEED\n]) : Set([\n ChartTypes.NEWS_FEED,\n ChartTypes.NEWS_TICKER,\n ChartTypes.INFLUENCER_FEED,\n ChartTypes.PAGE_IDENTITY_FEED,\n ChartTypes.PUBLICATION_FEED,\n ChartTypes.SOCIAL_MEDIA_ANALYTICS_FEED,\n ChartTypes.SOCIAL_MEDIA_ANALYTICS_STORIES_FEED,\n ChartTypes.RECTANGLE,\n ChartTypes.TEXT,\n ChartTypes.IMAGE_FEED\n]))\n\nconst isProfileMonitoring = Set(['pageIdentitiesTimeline'])\n\nlet threatStatus\nconst buildThreatInfo = (chartOpts, chart) => {\n let threatLevelColor\n const threatLevel = chart.getIn(['data', 'current'])\n const rgbBackgroundColor = chartOpts.backgroundColor.replace(/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i,\n (m, r, g, b) => `#${r}${r}${g}${g}${b}${b}`)\n .substring(1).match(/.{2}/g)\n .map(x => parseInt(x, 16))\n .toString()\n\n if (threatLevel <= 19) {\n threatLevelColor = '191,247,5'\n threatStatus = 'low'\n }\n\n if (threatLevel >= 20 && threatLevel <= 49) {\n threatLevelColor = '255,179,0'\n threatStatus = 'medium'\n }\n\n if (threatLevel >= 50) {\n threatLevelColor = '233,0,0'\n threatStatus = 'high'\n }\n\n return `linear-gradient(45deg, rgba(${threatLevelColor},1) 30%, rgba(${rgbBackgroundColor},1) 100%)`\n}\n\nconst getChartOpts = ({ chart, chartOpts, cardProps, device, darkMode, currency, deviceWidth, disableAnimations }, theme, forcedTheme) => {\n const overrideOpts = chart.get('opts', Map({})).toJS()\n\n const selfRenderingLabelCharts = getSelfRenderingLabelCharts(forcedTheme)\n\n let result = {\n ...chartOpts,\n capFloatDigits: chart.get('dataSource') === 'linked_in_analytics',\n sortBy: chart.get('sortBy'),\n disableAnimations: device.get('ios') || disableAnimations,\n addPercentSign: chartOpts.addPercentSign || chart.get('thirdLevel') === 'interactionRates',\n showStatementTonality: chart.getIn(['savedSearch', 'moduleName']) === NewsPageModules.ANALYSIS,\n showSentiment: chart.getIn(['savedSearch', 'moduleName']) === NewsPageModules.NEWS_POOL,\n autoScroll: chartOpts.autoScroll && (overrideOpts.autoScroll || overrideOpts.autoScroll === undefined),\n zoomable: chart.get('firstLevel') === 'timeline',\n forcedTheme,\n currency: (chart.get('firstLevel') === 'ave' || chart.get('thirdLevel') === 'ave') ? currency : undefined,\n darkMode\n }\n\n if (isTextChart) {\n result = { ...result, deviceWidth, mobile: device.get('mobile') }\n }\n\n if (isProfileMonitoring.has(chart.get('firstLevel'))) {\n result = { ...result, ...profileMonitoringOpts }\n }\n\n if (selfRenderingLabelCharts.has(chart.get('type'))) {\n if (cardProps.hideScrollBars) {\n result = { ...result, hideScrollBars: true }\n }\n }\n\n if (chart.get('type') !== ChartTypes.TAG_COULD && chart.get('firstLevel') === 'emojis') {\n result = { ...result, minSize: 30, maxSize: 100 }\n }\n\n if (!overrideOpts.domain && (overrideOpts.usePercentAsValue || (chart.get('thirdLevel') || '').startsWith('moz'))) {\n result = { ...result, domain: [0, 100] }\n }\n\n delete overrideOpts.autoScroll\n delete overrideOpts.forcedTheme\n\n if (darkMode) {\n result = {\n ...result,\n axesLabelColor: theme.nrx.charts.axesLabelColor,\n axesStrokeColor: theme.nrx.charts.axesStrokeColor,\n labelBackgroundColor: theme.nrx.charts.labelBackgroundColor,\n labelColor: theme.nrx.charts.labelColor,\n topLabelColor: theme.nrx.charts.topLabelColor,\n gradientStartColor: theme.nrx.charts.gradientStartColor,\n gradientEndColor: theme.nrx.charts.gradientEndColor\n }\n }\n\n if (chart.get('type') === ChartTypes.GAUGE && isTonalityDimension(chart.get('firstLevel'))) {\n result = {\n ...result,\n sentiments: getTonalititesByModule(chart.getIn(['savedSearch', 'moduleName']))\n }\n }\n\n return { ...result, ...overrideOpts }\n}\n\nconst getCardProps = ({ cardProps, chart, darkMode }, chartOpts) => {\n const isExternalDatasource = !isPressrelationsNewsChart(chart)\n const selfRenderingLabelCharts = getSelfRenderingLabelCharts(chartOpts.forcedTheme)\n\n let result = fromJS(cardProps)\n result = result.update('style', style => style || fromJS({}))\n\n if (chart.get('type') === ChartTypes.RECTANGLE) {\n result = result.setIn(['style', 'inverted'], true)\n }\n\n if (chartOpts.backgroundColor) {\n result = result.setIn(['style', 'backgroundColor'], chartOpts.backgroundColor)\n } else if (isExternalDatasource && !darkMode && !isTextChart(chart) && !isExternalWidgetChart(chart)) {\n result = result.setIn(['style', 'backgroundColor'], grey[100])\n result = result.setIn(['style', 'inverted'], false)\n }\n\n if (tinycolor(result.getIn(['style', 'backgroundColor'])).getBrightness() > 152) {\n result = result.setIn(['style', 'inverted'], false)\n }\n\n result = result.merge({\n isImageChart: isImageChart(chart),\n isTextChart: isTextChart(chart),\n isExternalWidgetChart: isExternalWidgetChart(chart)\n })\n\n if (selfRenderingLabelCharts.has(chart.get('type'))) {\n if (cardProps.hideScrollBars) {\n result = result.delete('hideScrollBars')\n }\n }\n\n if (chartOpts.forcedTheme === 'plotlights' && chart.get('type') === ChartTypes.RECTANGLE && chart.get('id') === 'avgHackishnessChart') {\n result = result.setIn(['style', 'background'], buildThreatInfo(chartOpts, chart))\n result = result.setIn(['style', 'backgroundColor'], 'none')\n }\n\n if ((chartOpts.plotlights && chart.get('type') === ChartTypes.RECTANGLE) || isTextChart(chart)) {\n result = result.set('withLabel', false)\n }\n\n return result.toJS()\n}\n\nconst setBackgroundColor = (labelBackgroundColor, chartOpts, chart) => {\n if (chartOpts.forcedTheme === 'plotlights' && chart.get('type') === ChartTypes.RECTANGLE && chart.get('id') === 'avgHackishnessChart') {\n return 'none'\n }\n\n return labelBackgroundColor\n}\n\nconst getLabelOpts = ({ label, topLabel }, chartOpts, chart) => {\n const { labelBackgroundColor, labelColor, topLabelColor, forcedTheme } = chartOpts\n\n return {\n label,\n topLabel,\n labelBackgroundColor: setBackgroundColor(labelBackgroundColor, chartOpts, chart),\n labelColor,\n topLabelColor,\n plotlights: forcedTheme === 'plotlights'\n }\n}\n\nconst areEqual = (prevProps, nextProps) => {\n if (nextProps.data && !nextProps.data.equals(prevProps.data)) {\n return false\n }\n\n if (nextProps.darkMode !== prevProps.darkMode) {\n return false\n }\n\n if (!nextProps.chart.equals(prevProps.chart)) {\n return false\n }\n\n if (!nextProps.colors.equals(prevProps.colors)) {\n return false\n }\n\n if (!fromJS(nextProps.chartOpts).equals(fromJS(prevProps.chartOpts))) {\n return false\n }\n\n if (!fromJS(nextProps.cardProps).equals(fromJS(prevProps.cardProps))) {\n return false\n }\n\n return true\n}\n\nconst Chart = props => {\n const {\n card,\n chart,\n classes: extraClasses,\n colors,\n currency,\n i18n,\n onClick,\n onLoadMoreClick,\n onMorePublicationsClick,\n onGenerateDescriptionClick,\n disableLoadingIndicator\n } = props\n const { classes, cx } = useStyles()\n const theme = useTheme()\n const forcedTheme = chart.get('opts', Map()).get('forcedTheme') || props.chartOpts.forcedTheme || props.whitelabelTheme\n\n const chartOpts = getChartOpts(props, theme, forcedTheme)\n const autoLabel = Boolean(\n (chartOpts.autoLabel !== undefined && chartOpts.autoLabel) || (chartOpts.autoLabel === undefined && props.autoLabel)\n )\n\n const topLabel = generateChartTopLabel(chart, i18n, autoLabel)\n const label = generateChartLabel(chart, i18n, autoLabel)\n const labelledImage = isImageChart(chart) && Boolean(label)\n const data = formatData(props.data, chart, colors)\n\n const cardProps = getCardProps(props, chartOpts)\n const withLabel = !cardProps.withLabel\n && props.label\n && (label || topLabel)\n && !getSelfRenderingLabelCharts(forcedTheme).has(chart.get('type'))\n\n const labelOpts = getLabelOpts({ label, topLabel }, chartOpts, chart)\n\n const renderMessage = message => (\n
\n {message}\n
\n )\n\n const renderLoading = () => renderMessage(`${i18n.get('loading')}...`)\n const renderNoData = () => renderMessage()\n\n const renderDescription = () => (\n
\n \n
\n )\n\n const renderBranding = () => (\n \n )\n\n const renderRectangleChart = () => {\n let backgroundColor = chartOpts.backgroundColor || cardProps.style.backgroundColor || colors.getIn(['charts', 'color01'])\n\n let fontColor = '#FFFFFF'\n let previousFontColor = chartOpts.axesLabelColor\n\n if (tinycolor(backgroundColor).getBrightness() > 152) {\n fontColor = '#424242'\n }\n\n if (useTonalityColor(chart.get('firstLevel'))) {\n backgroundColor = getTonalityColor(data.get('current'))\n fontColor = '#424242'\n }\n\n if (useSentimentColor(chart.get('firstLevel'))) {\n backgroundColor = getTonalityColor(data.get('current'))\n fontColor = '#424242'\n }\n\n if (['hackishness'].includes(chart.get('firstLevel')) && forcedTheme === 'plotlights') {\n fontColor = '#FFFFFF'\n previousFontColor = '#FFFFFF'\n backgroundColor = 'none'\n }\n\n let unit = null\n\n if (chart.get('firstLevel') === 'ave') {\n unit = currency\n } else if (['interactionRate'].includes(chart.get('firstLevel'))) {\n unit = '%'\n } else if (['hackishness'].includes(chart.get('firstLevel'))) {\n unit = ' /100'\n }\n\n let roundPrecision\n let prefix\n\n if (['interactionRate'].includes(chart.get('firstLevel'))) {\n roundPrecision = 4\n prefix = 'Ø'\n }\n\n const comp = forcedTheme === 'plotlights' ? (\n <>\n \n \n ) : (\n \n )\n\n return comp\n }\n\n const renderChart = () => {\n const newClasses = { ...extraClasses }\n\n if (chart.get('loading')) {\n if (!withLabel) {\n if (!disableLoadingIndicator) {\n return renderLoading()\n }\n }\n\n return (\n \n {!disableLoadingIndicator && renderLoading()}\n \n )\n }\n\n if ((data === null || data === undefined) && !isImageChart(chart) && !isTextChart(chart) && !isExternalWidgetChart(chart)) {\n if (!withLabel && !getSelfRenderingLabelCharts(forcedTheme).has(chart.get('type'))) {\n return renderNoData()\n }\n\n return (\n \n {renderNoData()}\n \n )\n }\n\n newClasses.chart = cx(newClasses.chart, classes.ready)\n\n let comp\n let fontColor = '#FFFFFF'\n\n switch (chart.get('type')) {\n case ChartTypes.TREEMAP:\n if (['tonality', 'sentiment'].indexOf(chart.get('secondLevel')) !== -1) {\n fontColor = '#424242'\n }\n\n comp = (\n \n )\n break\n case ChartTypes.PIE:\n comp = (\n \n )\n break\n case ChartTypes.BAR:\n comp = (\n \n )\n break\n case ChartTypes.HORIZONTAL_BAR:\n comp = (\n \n )\n break\n case ChartTypes.LINE:\n if (data.size === 1) {\n comp = (\n \n )\n } else {\n comp = (\n \n )\n }\n\n break\n case ChartTypes.AREA:\n comp = (\n \n )\n break\n case ChartTypes.RADIAL_BAR:\n comp = (\n \n )\n break\n case ChartTypes.TAG_CLOUD:\n comp = (\n \n )\n break\n case ChartTypes.GAUGE:\n if (chart.get('firstLevel') === 'tonality') {\n comp = (\n \n )\n } else {\n comp = (\n \n )\n }\n\n break\n case ChartTypes.RADAR:\n comp = (\n \n )\n break\n case ChartTypes.RECTANGLE:\n comp = renderRectangleChart()\n break\n case ChartTypes.NEWS_FEED:\n comp = (\n \n )\n break\n case ChartTypes.NEWS_TICKER:\n comp = (\n \n )\n break\n case ChartTypes.INFLUENCER_FEED:\n comp = (\n \n )\n break\n case ChartTypes.PAGE_IDENTITY_FEED:\n comp = (\n \n )\n break\n case ChartTypes.PUBLICATION_FEED:\n comp = (\n \n )\n break\n case ChartTypes.SOCIAL_MEDIA_ANALYTICS_FEED:\n comp = (\n \n )\n break\n case ChartTypes.SOCIAL_MEDIA_ANALYTICS_STORIES_FEED:\n comp = (\n \n )\n break\n case ChartTypes.WORLD_MAP:\n comp = (\n \n )\n break\n case ChartTypes.STATE_MAP:\n comp = (\n \n )\n break\n case ChartTypes.FUNNEL:\n comp = (\n \n )\n break\n case ChartTypes.BUBBLE:\n comp = (\n \n )\n break\n case ChartTypes.IMAGE:\n comp = (\n \n )\n break\n case ChartTypes.IMAGE_FEED:\n comp = (\n \n )\n break\n case ChartTypes.TEXT:\n comp = (\n \n )\n break\n case ChartTypes.EXTERNAL_WIDGET:\n comp = (\n \n )\n break\n case ChartTypes.HEATMAP:\n comp = (\n \n )\n break\n default:\n comp = null\n break\n }\n\n if (!withLabel) {\n return comp\n }\n\n return (\n \n {comp}\n \n )\n }\n\n let result = (\n <>\n \n {renderChart()}\n \n {renderDescription(chartOpts)}\n \n )\n\n if (card && (labelledImage || !isImageChart(chart))) {\n result = (\n \n \n {renderChart()}\n \n {renderDescription(chartOpts)}\n \n )\n }\n\n return result\n}\n\nChart.defaultProps = {\n chartOpts: {},\n classes: {},\n autoLabel: false,\n card: false,\n label: true,\n cardProps: {},\n disableAnimations: false\n}\n\nChart.propTypes = {\n colors: PropTypes.instanceOf(Map).isRequired,\n data: PropTypes.oneOfType([\n PropTypes.instanceOf(Map),\n PropTypes.number,\n PropTypes.string,\n PropTypes.instanceOf(List)\n ]),\n chartOpts: PropTypes.object,\n i18n: PropTypes.object.isRequired,\n chart: PropTypes.instanceOf(Map).isRequired,\n device: PropTypes.instanceOf(Map).isRequired,\n deviceWidth: PropTypes.number.isRequired,\n currency: PropTypes.string.isRequired,\n autoLabel: PropTypes.bool,\n classes: PropTypes.object,\n card: PropTypes.bool,\n cardProps: PropTypes.object,\n label: PropTypes.bool,\n darkMode: PropTypes.bool,\n whitelabelTheme: PropTypes.string,\n disableAnimations: PropTypes.bool,\n disableLoadingIndicator: PropTypes.bool,\n\n onClick: PropTypes.func,\n onLoadMoreClick: PropTypes.func,\n onMorePublicationsClick: PropTypes.func,\n onGenerateDescriptionClick: PropTypes.func\n}\n\nexport default memo(Chart, areEqual)\n","import { connect } from 'react-redux'\n\nimport Chart from 'components/charts/chart'\nimport { navigate } from 'actions/navigation'\nimport { getI18n, getColors, getCurrency, getDevice, getDarkMode, getWhitelabelTheme, getWidth } from 'selectors'\n\nconst mapStateToProps = (state, { chart, data, colors, darkMode }) => ({\n i18n: getI18n(state),\n colors: colors || getColors(state),\n chart,\n currency: getCurrency(state),\n data,\n device: getDevice(state),\n deviceWidth: getWidth(state),\n darkMode: darkMode || getDarkMode(state),\n whitelabelTheme: getWhitelabelTheme(state)\n})\n\nexport default connect(\n mapStateToProps,\n {\n navigate\n }\n)(Chart)\n"],"names":["useStyles","makeStyles","theme","label","color","palette","grey","letterSpacing","lineHeight","fontWeight","fontSize","topLabel","labelContainer","padding","borderTopLeftRadius","borderTopRightRadius","labelOnly","topLabelOnly","fallbacks","getStyle","labelBackgroundColor","shade","forcedColor","tinycolor","getBrightness","Label","_ref","labelColor","topLabelColor","classes","extraClasses","cx","topLabelStyle","useMemo","labelStyle","containerExtraClass","React","className","style","backgroundColor","defaultProps","propTypes","PropTypes","ErrorBoundary","Component","state","hasError","static","componentDidCatch","error","logException","render","fallbackComp","children","i18n","this","props","title","get","onClick","setState","CancelPresentationIcon","WithI18n","mapStateToProps","getI18n","extraOptions","getDisplayName","name","Comp","connect","cardContainer","height","width","display","flexDirection","overflow","cardContent","flex","cardContentExternalWidget","cardContentNoPadding","card","position","boxShadow","paddingBottom","analyticsImg","justifyContent","alignItems","borderBottom","ChartCard","legend","dummyCard","withLabel","isImageChart","isTextChart","isExternalWidgetChart","plotlights","disableCard","branding","newProps","cardProps","hideScrollBars","blurContainerBottom","LabelComp","PlotlightsLabel","labelRendered","_Card","root","_CardContent","handle","opacity","cursor","transition","descriptionPopover","maxWidth","loading","iconStack","stackInfoIcon","right","top","Description","chart","onGenerateDescriptionClick","hasAdminVersion","hasAiSummariesPaidVersion","useI18n","open","setOpen","useState","description","setDescription","aiDescriptionEnabled","Boolean","getIn","useEffect","Popover","paper","onOpenChange","IconButton","size","InfoIcon","AutoAwesomeIcon","_Typography","dangerouslySetInnerHTML","__html","replace","_CircularProgress","Map","isRequired","getHasAiSummariesPaidVersion","getIsEmployee","Desription","ChartBranding","dataSource","thirdLevel","firstLevel","inverted","ChartDataSources","src","imageLinks","alt","startsWith","messageIcons","warning","WarningIcon","noData","marginRight","link","NoDataMessage","navigate","defaultNoDataMessage","message","moduleLink","icon","noDataMessage","content","_Link","underline","container","ChartWithLabel","forcedTheme","noLabel","dark","bottom","left","ready","animation","keyframes","chartCardBranding","RadialBarChart","createLoadable","BarChart","LineChart","PieChart","Treemap","RectangleChart","TagCloud","RadarChart","Gauge","NewsFeedChart","NewsTickerChart","InfluencerFeedChart","ImageFeedChart","PageIdentityFeedChart","PublicationFeedChart","WorldMapChart","StateMapChart","FunnelChart","BubbleChart","ImageChart","DarknetRectangleChart","SocialMediaAnalyticsFeedChart","TextChart","ExternalWidgetChart","HeatmapChart","getSelfRenderingLabelCharts","Set","ChartTypes","isProfileMonitoring","threatStatus","getCardProps","_ref2","chartOpts","darkMode","isExternalDatasource","isPressrelationsNewsChart","selfRenderingLabelCharts","result","fromJS","update","setIn","merge","has","delete","buildThreatInfo","threatLevelColor","threatLevel","rgbBackgroundColor","m","r","g","b","substring","match","map","x","parseInt","toString","set","toJS","setBackgroundColor","areEqual","prevProps","nextProps","data","equals","colors","Chart","currency","onLoadMoreClick","onMorePublicationsClick","disableLoadingIndicator","useTheme","whitelabelTheme","getChartOpts","device","deviceWidth","disableAnimations","overrideOpts","capFloatDigits","sortBy","addPercentSign","showStatementTonality","NewsPageModules","showSentiment","autoScroll","undefined","zoomable","mobile","profileMonitoringOpts","minSize","maxSize","domain","usePercentAsValue","axesLabelColor","nrx","charts","axesStrokeColor","gradientStartColor","gradientEndColor","isTonalityDimension","sentiments","getTonalititesByModule","autoLabel","generateChartTopLabel","generateChartLabel","labelledImage","formatData","labelOpts","getLabelOpts","_ref3","renderMessage","renderLoading","renderNoData","renderDescription","renderChart","newClasses","_extends","comp","fontColor","indexOf","layout","area","renderRectangleChart","previousFontColor","useTonalityColor","getTonalityColor","useSentimentColor","includes","roundPrecision","prefix","unit","threatText","count","secondLevel","List","memo","getColors","getCurrency","getDevice","getWidth","getDarkMode","getWhitelabelTheme"],"sourceRoot":""}