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src/components/base/v1/Jupiter Banner/index.js","webpack://_N_E/./src/components/base/v1/Jupiter Banner/Banner.module.scss"],"sourcesContent":["import React, { useRef } from 'react';\nimport styles from './Banner.module.scss';\nimport useIntersectionObserver from '~/helpers/hooks/useIntersectionObserver';\nimport { fireElementViewedEvent } from '~/helpers/utils/fireTagular';\nimport { useMedia } from '~/helpers/hooks';\nimport { useMonarchSlotContext } from '@redventures/cohesion-utils-react';\n\nconst BASE_DATA = {\n headerFontColor: '#0e4275',\n headerCopy: 'Hughesnet is powered by the JUPITERâ„¢ network',\n subheadCopy:\n 'including JUPITER 3, the most advanced commercial communications satellite.',\n subheadToggle: true,\n};\n\nexport default function JupiterBanner() {\n const { data: monarchData } = useMonarchSlotContext();\n const data = { ...BASE_DATA, ...monarchData };\n const { headerFontColor, headerCopy, subheadCopy, subheadToggle } = data;\n const bannerRef = useRef();\n const isMedia = useMedia();\n const bgImageDesktop = `/images/section/us-news-d.jpg`;\n const bgImageMobile = `/images/section/us-news-m.jpg`;\n\n useIntersectionObserver(\n [bannerRef],\n (el) =>\n fireElementViewedEvent(\n 'US News Banner',\n 'US News Banner Section',\n 'US News Banner',\n headerCopy\n ),\n undefined,\n // Fire tagular only when the full element is visible\n { threshold: 1.0 }\n );\n\n return (\n