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Ac,EACAC,EACAJ,EACAC,EACD,EACM,GAAArD,EAAAC,GAAA,EAACoE,MAAAA,UAAKjB,GACf,oBCpCAkB,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./src/components/base/v1/Value Props/index.js","webpack://_N_E/./src/components/shared/LegalAnnotation/index.js","webpack://_N_E/./src/components/base/v1/Value Props/ValueProps.module.scss"],"sourcesContent":["import React, { useRef } from 'react';\nimport styles from './ValueProps.module.scss';\nimport Typography from '~/components/shared/Typography';\nimport {\n ConferenceRebrand,\n ConnectRebrand,\n GamingRebrand,\n StreamRebrand,\n TrophyRebrand,\n PersonRebrand,\n UnlimitedRebrand,\n DollarRebrand,\n PlayRebrand,\n MapRebrand,\n SatelliteRebrand,\n HouseRebrand,\n ContractRebrand,\n OperatorRebrand,\n ThumbsUp,\n Wifi,\n Unlimited,\n Support,\n WrenchBrand,\n} from '~/components/icons';\nimport useIntersectionObserver from '~/helpers/hooks/useIntersectionObserver';\nimport { fireElementViewedEvent } from '~/helpers/utils/fireTagular';\nimport LegalAnnotation from '~/components/shared/LegalAnnotation';\nimport Button from '~/components/shared/Button';\nimport { useMonarchSlotContext } from '@redventures/cohesion-utils-react';\n\nconst BASE_DATA = {\n backgroundColor: 'white',\n headline: 'Now you can do it all, wherever you live',\n headlineFontColor: '#0096fa',\n subhead: '',\n showCTA: false,\n ctaCopy: 'Upgrade Now',\n props: [\n {\n icon: 'person',\n header: 'Enjoy Internet anywhere, nationwide',\n headerLegalToggle: false,\n headerLegal: '',\n subhead1:\n 'The new Hughesnet is faster than ever, with download speeds up to 100 Mbps',\n subhead1LegalToggle: true,\n subhead1Legal: 'generic-speed',\n subhead2Toggle: true,\n subhead2: 'and includes a Wi-Fi Modem featuring Wi-Fi 6 technology.',\n subhead2LegalToggle: false,\n subhead2Legal: '',\n disclaimerToggle: false,\n disclaimer: '*100 Mbps speeds available on select plans in select areas.',\n },\n {\n icon: 'satellite',\n header: 'Pick from service plans made for all users',\n headerLegalToggle: false,\n headerLegal: '',\n subhead1:\n 'The new Hughesnet is faster than ever, with download speeds up to 100 Mbps',\n subhead1LegalToggle: true,\n subhead1Legal: 'generic-speed',\n subhead2Toggle: true,\n subhead2: 'and includes a Wi-Fi Modem featuring Wi-Fi 6 technology.',\n subhead2LegalToggle: false,\n subhead2Legal: '',\n disclaimerToggle: false,\n disclaimer: '*100 Mbps speeds available on select plans in select areas.',\n },\n {\n icon: 'thumbsup',\n header: 'Pick from service plans made for all users',\n headerLegalToggle: false,\n headerLegal: '',\n subhead1:\n 'The new Hughesnet is faster than ever, with download speeds up to 100 Mbps',\n subhead1LegalToggle: true,\n subhead1Legal: 'generic-speed',\n subhead2Toggle: true,\n subhead2: 'and includes a Wi-Fi Modem featuring Wi-Fi 6 technology.',\n subhead2LegalToggle: false,\n subhead2Legal: '',\n disclaimerToggle: false,\n disclaimer: '*100 Mbps speeds available on select plans in select areas.',\n },\n ],\n};\n\nexport default function ValueProps(metadata) {\n const valuePropsSection = useRef();\n\n const observeSections = useIntersectionObserver(\n [valuePropsSection],\n (el) =>\n fireElementViewedEvent(\n 'value props',\n 'value props section',\n 'value props',\n headline\n ),\n undefined,\n // Fire tagular only when the full element is visible\n { threshold: 1.0 }\n );\n const { data: monarchData } = useMonarchSlotContext();\n const data = { ...BASE_DATA, ...monarchData };\n const {\n backgroundColor,\n headline,\n subhead,\n showCTA,\n ctaCopy,\n props,\n headlineFontColor,\n } = data;\n\n const getIcon = (icon) => {\n switch (icon) {\n case 'conference':\n return ;\n case 'dish':\n return ;\n case 'gaming':\n return ;\n case 'play':\n return ;\n case 'trophy':\n return ;\n case 'unlimited':\n return ;\n case 'dollar':\n return ;\n case 'person':\n return ;\n case 'stream':\n return ;\n case 'map':\n return ;\n case 'satellite':\n return ;\n case 'house':\n return ;\n case 'contract':\n return ;\n case 'operator':\n return ;\n case 'thumbsup':\n return ;\n case 'wifi':\n return ;\n case 'newUnlimited':\n return ;\n case 'support':\n return ;\n case 'wrench':\n return ;\n default:\n return ;\n }\n };\n\n return (\n \n \n \n {headline}\n \n \n \n {subhead}\n \n \n {props.map((prop, index) => (\n
\n {getIcon(prop?.icon)}\n
\n \n \n {prop?.headerLegalToggle && (\n \n )}\n \n \n \n {prop?.subhead1LegalToggle && (\n \n )}{' '}\n {prop?.subhead2Toggle && (\n \n )}\n {prop?.subhead2LegalToggle && (\n \n )}\n \n {prop?.disclaimerToggle && (\n \n {prop?.disclaimer}\n \n )}\n
\n
\n ))}\n \n {showCTA && (\n
\n \n {ctaCopy}\n \n
\n )}\n \n );\n}\n","import React, { useEffect, useState, useContext } from 'react';\nimport { LegalContext } from '~/providers/LegalProvider';\n\nexport default function LegalAnnotation({ annotation }) {\n const [annotationNumber, setAnnotationNumber] = useState('');\n const { disclosures, activeLegal, setActiveLegal } = useContext(LegalContext);\n\n useEffect(() => {\n setActiveLegal([]);\n }, []);\n\n useEffect(() => {\n const legalText = disclosures.find(\n (disclosure) => disclosure.handle === annotation\n )?.statement;\n\n if (!legalText) {\n return;\n }\n\n if (activeLegal.includes(legalText)) {\n setAnnotationNumber(activeLegal.indexOf(legalText) + 1);\n return;\n }\n\n // Using Set to get rid of duplicates\n const filteredArray = [legalText, ...new Set(activeLegal)];\n setActiveLegal(filteredArray);\n setAnnotationNumber(activeLegal.length + 1);\n }, [\n annotation,\n disclosures,\n activeLegal,\n annotationNumber,\n setAnnotationNumber,\n ]);\n return {annotationNumber};\n}\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tippy-touch\":\"ValueProps_tippy-touch__3BmQx\",\"tooltip-btn\":\"ValueProps_tooltip-btn__LNpUk\",\"tooltip-icon\":\"ValueProps_tooltip-icon__H11r2\",\"tooltip-content--legal\":\"ValueProps_tooltip-content--legal__HiaJe\",\"tippy-box\":\"ValueProps_tippy-box__Nk5Xb\",\"tippy-arrow\":\"ValueProps_tippy-arrow__SbYTu\",\"custom-dots\":\"ValueProps_custom-dots__SjP_i\",\"custom-dot\":\"ValueProps_custom-dot__abI2X\",\"slick-active\":\"ValueProps_slick-active__pN_ig\",\"container\":\"ValueProps_container__Q51rZ\",\"headline\":\"ValueProps_headline__WrsnZ\",\"subhead\":\"ValueProps_subhead__kxGtG\",\"threeItemContentWrapper\":\"ValueProps_threeItemContentWrapper___h2al\",\"fourItemContentWrapper\":\"ValueProps_fourItemContentWrapper__yla1O\",\"content\":\"ValueProps_content__Dw_sb\",\"heading\":\"ValueProps_heading__zGL_K\",\"subheading\":\"ValueProps_subheading__vw6Sz\",\"disclaimer\":\"ValueProps_disclaimer__nHp7o\",\"buttons\":\"ValueProps_buttons__irx7n\",\"btn\":\"ValueProps_btn__jr_vR\",\"ring\":\"ValueProps_ring__mFKv2\"};"],"names":["BASE_DATA","backgroundColor","headline","headlineFontColor","subhead","showCTA","ctaCopy","props","icon","header","headerLegalToggle","headerLegal","subhead1","subhead1LegalToggle","subhead1Legal","subhead2Toggle","subhead2","subhead2LegalToggle","subhead2Legal","disclaimerToggle","disclaimer","ValueProps","metadata","valuePropsSection","useRef","useIntersectionObserver","fireElementViewedEvent","undefined","threshold","data","monarchData","useMonarchSlotContext","getIcon","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","ConferenceRebrand","ConnectRebrand","GamingRebrand","StreamRebrand","TrophyRebrand","UnlimitedRebrand","DollarRebrand","PersonRebrand","PlayRebrand","MapRebrand","SatelliteRebrand","HouseRebrand","ContractRebrand","OperatorRebrand","ThumbsUp","Wifi","Unlimited","Support","WrenchBrand","jsxs","section","ref","id","className","styles","style","Typography","variant","span","color","div","concat","length","map","prop","index","dangerouslySetInnerHTML","__html","LegalAnnotation","annotation","Button","href","tracking","position","location","elementType","text","actionOutcome","fuse","param","annotationNumber","setAnnotationNumber","useState","disclosures","activeLegal","setActiveLegal","useContext","LegalContext","useEffect","legalText","find","disclosure","handle","statement","includes","indexOf","Set","sup","module","exports"],"sourceRoot":""}