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Aa,GACrD,MACF,CAIAF,EADsB,CAACE,KAAc,IAAItC,IAAImC,GAAa,EAE1DF,EAAoBE,EAAYtB,MAAM,CAAG,GAC3C,EAAG,CACDtI,EACA2J,EACAC,EACAH,EACAC,EACD,EACM,GAAArK,EAAAS,GAAA,EAACwK,MAAAA,UAAKb,GACf,oBCpCAc,EAAAC,OAAA,EAAkB,y3CCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/./src/components/base/v1/MIR Hero/index.js","webpack://_N_E/./src/components/icons/InfoCircle.js","webpack://_N_E/./src/components/shared/AddressFormBrand/index.js","webpack://_N_E/./src/components/shared/LegalAnnotation/index.js","webpack://_N_E/./src/components/base/v1/MIR Hero/Hero.module.scss","webpack://_N_E/./src/components/shared/AddressFormBrand/AddressForm.module.scss"],"sourcesContent":["import React, { useRef, useContext } from 'react';\nimport styles from './Hero.module.scss';\nimport Button from '~/components/shared/Button';\nimport AddressForm from '~/components/shared/AddressFormBrand';\nimport { PhoneRebrand } from '~/components/icons';\nimport { InfoCircle } from '~/components/icons/InfoCircle';\nimport PhoneNumber from '~/components/shared/Fuse/PhoneNumber';\nimport Typography from '~/components/shared/Typography';\nimport { CallCenterContext } from '~/providers/CallCenterProvider';\nimport useIntersectionObserver from '~/helpers/hooks/useIntersectionObserver';\nimport { fireElementViewedEvent } from '~/helpers/utils/fireTagular';\nimport LegalAnnotation from '~/components/shared/LegalAnnotation';\nimport Tippy from '@tippyjs/react';\nimport 'tippy.js/dist/tippy.css';\nimport { useMedia } from '~/helpers/hooks';\nimport { PROMO_END_DATE, MIR_PRICE } from '~/constants/legal-info';\nimport { useMonarchSlotContext } from '@redventures/cohesion-utils-react';\n\nconst BASE_DATA = {\n addressCTACopy: 'Shop new plans',\n addressLabelColor: '#333',\n addressLabelCopy: 'Enter your address to check available plans',\n addressPlaceHolderCopy: 'Enter your address',\n backgroundImage: 'coastline-hero',\n callCTACopy: 'Call',\n callCTAIconColor: '#154B8E',\n callCTATextColor: '#154B8E',\n globalBanner: true,\n globalBannerHeaderCopy: `${\n MIR_PRICE == '$200'\n ? `Special Offer ends ${PROMO_END_DATE}. Earn a ${MIR_PRICE} Prepaid Card via rebate.`\n : 'The NEW Hughesnet is here!'\n }`,\n globalBannerSubHeaderCopy:\n 'Powered by JUPITER™ 3, the largest commercial communications satellite.',\n headerCopy: 'Connect, stream and play at up to 100 Mbps.',\n headerCopy2: 'N/A',\n headerCopy2Toggle: false,\n headerFontColor: '#0E4275',\n headerLegal: 'generic-speed',\n headerLegalToggle: true,\n hideOfferHeadline: false,\n highPropHero: false,\n mapPinIconColor: '#154B8E',\n offerBoxBackgroundColor: 'white',\n offerBoxHeader1: `Order now and receive a ${MIR_PRICE} Prepaid Mastercard® via rebate.`,\n offerBoxHeader1FontColor: '#0e4275',\n offerBoxHeader1Legal: 'mail-in-rebate-legal',\n showOfferEndDate: true,\n offerEndDateLegal: 'change',\n offerEndDateLegalToggle: false,\n showGlobalBannerSubHeader: false,\n showHeaderTooltip: false,\n subheadLegal: 'generic-speed',\n subheadLegalToggle: false,\n subhead1:\n 'Our Hughesnet Fusion® plan combines satellite and wireless technologies to reduce latency for a more responsive internet experience.',\n subheaderCopy2:\n 'The Hughesnet Fusion® plan combines satellite and wireless technologies in a way no other provider in America can offer.',\n subheaderCopy2Toggle: false,\n subheaderFontColor: '#333',\n tooltipCopy: \"I'm a Editable Tippy Tooltip!\",\n mobileHeroDiff: false,\n mobileHeroImage: 'american-heritage-mobile',\n globalBannerHeader2Copy: 'Save $25/mo. for 12 months',\n globalBannerHeader2LegalCopy: '12-mos-legal',\n globalBannerHeader2LegalToggle: true,\n showBannerHeader2: true,\n showBannerIcon: MIR_PRICE === '$200',\n globalBannerHeaderLegalToggle: MIR_PRICE === '$200',\n globalBannerHeaderLegal: 'mail-in-rebate-legal',\n};\n\nexport default function MirHero() {\n const offerHero = useRef();\n const isMedia = useMedia();\n const { data: monarchData } = useMonarchSlotContext();\n const data = { ...BASE_DATA, ...monarchData };\n const {\n headerCopy,\n headerCopy2,\n headerCopy2Toggle,\n headerLegal,\n headerLegalToggle,\n headerFontColor,\n subhead1,\n subheaderCopy2,\n subheaderCopy2Toggle,\n subheaderFontColor,\n offerBoxBackgroundColor,\n offerBoxHeader1,\n offerBoxHeader1Legal,\n offerBoxHeader1FontColor,\n callCTACopy,\n callCTATextColor,\n callCTAIconColor,\n subheadLegal,\n subheadLegalToggle,\n highPropHero,\n backgroundImage,\n hideOfferHeadline,\n showHeaderTooltip,\n tooltipCopy,\n globalBanner,\n globalBannerHeaderCopy,\n showBannerHeader2,\n globalBannerHeader2Copy,\n globalBannerSubHeaderCopy,\n globalBannerSubHeaderLegalToggle,\n globalBannerSubHeaderLegal,\n showBannerIcon,\n offerEndDateLegal,\n offerEndDateLegalToggle,\n showOfferEndDate,\n showGlobalBannerSubHeader,\n mobileHeroDiff,\n mobileHeroImage,\n globalBannerHeader2LegalCopy,\n globalBannerHeader2LegalToggle,\n globalBannerHeaderLegalToggle,\n globalBannerHeaderLegal,\n } = data;\n\n useIntersectionObserver(\n [offerHero],\n () =>\n fireElementViewedEvent(\n 'Offer Hero',\n 'Offer Hero section',\n 'Offer Hero',\n headerCopy\n ),\n undefined,\n // Fire tagular only when the full element is visible\n { threshold: 1.0 }\n );\n\n const callCenterOpen = useContext(CallCenterContext);\n let bgImage = backgroundImage\n ? `/images/heroes/${backgroundImage}.jpg`\n : `/images/heroes/offer-hero-hn-redesign-v1.jpg`;\n if (mobileHeroDiff && isMedia.mobile) {\n bgImage = `/images/heroes/${mobileHeroImage}.jpg`;\n }\n const removeTopMargin = backgroundImage == 'farmhousehero';\n const showBannerSubcopy = showGlobalBannerSubHeader && isMedia.desktop;\n\n return (\n \n {globalBanner && (\n
\n \n {globalBannerHeaderCopy}\n {globalBannerHeaderLegalToggle && (\n \n )}\n \n {showBannerIcon && (\n \n )}\n {!isMedia.mobile && (\n <>\n {showBannerHeader2 && (\n \n {globalBannerHeader2Copy}{' '}\n {globalBannerHeader2LegalToggle && (\n \n \n \n )}\n \n )}\n\n {showBannerSubcopy && (\n <>\n    \n \n {globalBannerSubHeaderCopy}\n {globalBannerSubHeaderLegalToggle && (\n \n \n \n )}\n \n \n )}\n \n )}\n
\n )}\n
\n \n \n \n {headerLegalToggle && (\n \n \n \n )}{' '}\n {showHeaderTooltip && (\n \n {tooltipCopy}\n

\n }\n placement='right'\n arrow={true}\n trigger='mouseenter'\n theme='dark'\n className='tooltip-icon'\n >\n \n \n )}\n {headerCopy2Toggle && (\n \n )}\n \n \n \n {subheadLegalToggle && (\n \n \n \n )}{' '}\n {subheaderCopy2Toggle && (\n \n )}\n \n
\n\n \n
\n {!hideOfferHeadline && !isMedia.mobile && (\n
\n
\n
{MIR_PRICE}
\n
Prepaid card
\n
\n \n \n \n \n \n
\n \n {showOfferEndDate && `Offer ends ${PROMO_END_DATE}`}\n {offerEndDateLegalToggle && (\n \n )}\n \n
\n
\n )}\n
\n \n
\n
\n {callCenterOpen && (\n \n \n {callCTACopy} {' '}\n \n \n )}\n {!hideOfferHeadline && isMedia.mobile && (\n
\n
\n
{MIR_PRICE}
\n
\n \n \n \n \n \n
\n \n {showOfferEndDate && `Offer ends ${PROMO_END_DATE}`}\n \n \n
\n
\n )}\n \n \n \n );\n}\n","/* eslint max-len: 0 */\nimport React from 'react';\n\nexport const InfoCircle = (props) => {\n return (\n \n \n \n );\n};\n","import React, { useState, useEffect, useCallback } from 'react';\nimport styles from './AddressForm.module.scss';\nimport Button from '~/components/shared/Button';\nimport { SMARTY_STREETS } from '~/constants/smarty-streets';\nimport SuggestionItems from '~/components/shared/AddressForm/SuggestionList';\nimport Typography from '~/components/shared/Typography';\nimport { addPageAction } from '~/helpers/utils';\nimport { MapPin } from '~/components/icons/MapPin';\nimport { useMedia } from '~/helpers/hooks';\n\nexport default function AddressForm({\n componentLocation,\n metadata = {},\n isHero = false,\n isNav = false,\n isModal = false,\n isUppercase = true,\n}) {\n const {\n mapPinIconColor,\n addressPlaceHolderCopy,\n addressCTACopy,\n addressLabelCopy,\n addressLabelColor,\n mobileAddressCTACopy,\n } = metadata;\n const isMedia = useMedia();\n const [zipCode, setZipCode] = useState('');\n const [address, setAddress] = useState('');\n const [finalAddress, setFinalAddress] = useState({});\n\n const [suggestions, setSuggestions] = useState([]);\n const [disableButton, setDisableButton] = useState(false);\n const [showSuggestions, setShowSuggestions] = useState(false);\n const [activeIdx, setActiveIdx] = useState(0);\n const location = componentLocation ? componentLocation : 'Homepage';\n const position = isHero\n ? 'Hero'\n : isNav\n ? 'Nav'\n : isModal\n ? 'Modal'\n : 'FinalEpq';\n\n const { API_KEY, AUTOCOMPLETE_URL } = SMARTY_STREETS;\n\n const checkFormButton = useCallback(() => {\n if (address && zipCode) {\n setDisableButton(false);\n } else {\n setDisableButton(true);\n }\n });\n\n useEffect(() => {\n checkFormButton();\n }, [zipCode, address, checkFormButton]);\n\n const setCookie = (name, value, exmins) => {\n const d = new Date();\n d.setTime(d.getTime() + exmins * 60 * 1000);\n const expires = `expires=${d.toUTCString()}`;\n document.cookie = `${name}=${value};${expires};path=/`;\n };\n\n const onFormSubmit = async (event) => {\n event.preventDefault();\n if (finalAddress) {\n const userData = {\n street_line: finalAddress.street_line,\n city: finalAddress.city,\n state: finalAddress.state,\n zip: finalAddress.zipcode,\n isUnit: finalAddress.entries > 0,\n unitValue: finalAddress.secondary,\n };\n setCookie('address', JSON.stringify(userData), 30);\n // Tagular track form submitted\n window.tagular('beam', 'FormSubmitted', {\n '@type': 'redventures.usertracking.v3.FormSubmitted',\n formContext: {\n formType: 'Cart CTA',\n formName: `${position}`,\n formId: 'Homepage',\n },\n });\n window.location.href = '/order-online/product-selection/';\n } else {\n //Navigate to order online page\n window.location.href = '/order-online/';\n }\n };\n\n const fetchSuggestions = (query) => {\n fetch(`${AUTOCOMPLETE_URL}${query}`)\n .then((res) => res.json())\n .then((body) => {\n const newSuggestions = body.suggestions.filter(\n (suggestion) => suggestion.state !== 'PR'\n );\n setSuggestions(newSuggestions);\n })\n .catch((error) => {\n addPageAction('addressFormFetchSuggestionsFailed', { error });\n });\n };\n\n const onAddressChange = async (value) => {\n setAddress(value);\n if (!value) {\n setDisableButton(false);\n setAddress('');\n setZipCode('');\n setSuggestions([]);\n setShowSuggestions(false);\n setActiveIdx(0);\n } else {\n const searchQuery = `?auth-id=${API_KEY}&search=${value}&prefer_geolocation=city`;\n\n fetchSuggestions(searchQuery);\n if (suggestions) {\n const uniqueSet = new Set();\n const uniqueAddress = [];\n\n suggestions.map((item) => {\n if (!uniqueSet.has(item.street_line)) {\n uniqueSet.add(item.street_line);\n uniqueAddress.push(item);\n }\n return null;\n });\n setSuggestions(uniqueAddress);\n setShowSuggestions(true);\n setActiveIdx(0);\n } else {\n setShowSuggestions(false);\n }\n }\n };\n\n const onSuggestionClick = async (item) => {\n const selected = `${item.street_line} ${item.secondary} (${item.entries}) ${item.city} ${item.state} ${item.zipcode}`;\n if (item.secondary && item.entries > 1) {\n const searchQuery = `?auth-id=${API_KEY}&search=${item.street_line}&selected=${selected}`;\n\n const suggestions = await fetchSuggestions(searchQuery);\n if (suggestions) {\n setSuggestions(suggestions);\n }\n } else {\n if (item.secondary) {\n setAddress(\n `${item.street_line}, ${item.secondary} - ${item.city}, ${item.state} ${item.zipcode}`\n );\n } else {\n setAddress(\n `${item.street_line} - ${item.city}, ${item.state} ${item.zipcode}`\n );\n }\n setFinalAddress(item);\n setZipCode(item.zipcode);\n setShowSuggestions(false);\n\n // Tagular track suggestion clicked\n window.tagular('beam', 'ElementClicked', {\n '@type': 'redventures.usertracking.v3.ElementClicked',\n webElement: {\n location: location,\n position: 'ADDRESS AUTOFILL',\n htmlId: '',\n elementType: 'DROP DOWN',\n text: 'Used Suggestion',\n },\n actionOutcome: 'Internallink',\n });\n\n checkFormButton();\n }\n };\n\n const handleAddressKeyDown = (event) => {\n if (event.keyCode === 27) {\n // handle escape key\n setShowSuggestions(false);\n } else if (event.keyCode === 40) {\n // handle down arrow\n if (activeIdx >= suggestions.length) {\n setActiveIdx(0);\n } else {\n setActiveIdx(activeIdx + 1);\n }\n } else if (event.keyCode === 38) {\n // handle up arrow\n if (activeIdx > 0) {\n setActiveIdx(activeIdx - 1);\n }\n } else if (event.keyCode === 13) {\n // handle enter\n event.preventDefault();\n const address = suggestions[activeIdx];\n onSuggestionClick(address);\n }\n\n checkFormButton();\n };\n\n const onInputClick = () => {\n // handle address input field on click (means form started)\n window.tagular('beam', 'FormStarted', {\n '@type': 'redventures.usertracking.v3.FormStarted',\n formContext: {\n formType: 'ADDRESS CHECK FORM',\n formName: `ADDRESS INPUT FIELD ${location}`,\n formId: '',\n },\n });\n };\n\n const onSuggestionKeyDown = (event, suggestion) => {\n if (event.keyCode === 13) {\n event.preventDefault();\n onSuggestionClick(suggestion);\n }\n };\n\n const onCloseClick = () => {\n // Tagular track 'close suggestions' button clicked\n window.tagular('beam', 'ElementClicked', {\n '@type': 'redventures.usertracking.v3.ElementClicked',\n webElement: {\n location: location,\n position: 'ADDRESS AUTOFILL',\n htmlId: '',\n elementType: 'DROP DOWN',\n text: 'Closed suggestions',\n },\n actionOutcome: '',\n });\n\n setShowSuggestions(false);\n };\n\n return (\n \n \n \n \n {addressLabelCopy || 'Find special offers in your area'}\n \n \n \n \n
\n \n
\n onAddressChange(e.target.value)}\n name='address'\n className={`${styles.textInput} ${styles.textInputColor}`}\n onKeyDown={(e) => handleAddressKeyDown(e)}\n onClick={onInputClick}\n placeholder={addressPlaceHolderCopy || 'Enter your address'}\n data-private='lipsum'\n />\n {showSuggestions && (\n
\n
    \n \n
\n \n \n Close address suggestions\n \n
\n \n )}\n \n \n {isNav && isMedia.mobile ? mobileAddressCTACopy : addressCTACopy}\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 = {\"custom-dots\":\"Hero_custom-dots__0sAGl\",\"custom-dot\":\"Hero_custom-dot__MvDmm\",\"slick-active\":\"Hero_slick-active__vy5wR\",\"container\":\"Hero_container__s4psn\",\"butterfly\":\"Hero_butterfly__rsSof\",\"globalBanner\":\"Hero_globalBanner__JvrnW\",\"head\":\"Hero_head___a6Mx\",\"subHead\":\"Hero_subHead__RHYCU\",\"bannerIcon\":\"Hero_bannerIcon__kkuvx\",\"headers\":\"Hero_headers__ohQGG\",\"highPropHeaders\":\"Hero_highPropHeaders__TN5S3\",\"heading\":\"Hero_heading__A4Mxj\",\"heroSup\":\"Hero_heroSup__tB9CP\",\"removeTopMargin\":\"Hero_removeTopMargin__GzD_U\",\"subheading\":\"Hero_subheading__sP_mp\",\"content\":\"Hero_content__ZG8Wz\",\"offerBox\":\"Hero_offerBox__FpC6N\",\"offerBoxMin\":\"Hero_offerBoxMin__c9cED\",\"offerHeading\":\"Hero_offerHeading__c8oFj\",\"offerSubheading\":\"Hero_offerSubheading__zp4xk\",\"offerBoxOldPrice\":\"Hero_offerBoxOldPrice__2Kr1b\",\"offerBoxNewPrice\":\"Hero_offerBoxNewPrice__qaJ0J\",\"offerBoxPerMonth\":\"Hero_offerBoxPerMonth__SBxj4\",\"bodySup\":\"Hero_bodySup__0qZLS\",\"bodySup__header\":\"Hero_bodySup__header__MHCkq\",\"bodySup__newPrice\":\"Hero_bodySup__newPrice__XMFmS\",\"offerEnd\":\"Hero_offerEnd__13Dbk\",\"addressContainer\":\"Hero_addressContainer__IPMRA\",\"addressLabel\":\"Hero_addressLabel__GBjG_\",\"callNowCta\":\"Hero_callNowCta__Ef2dr\",\"callNowCtaText\":\"Hero_callNowCtaText__3XlLh\",\"offerContainer\":\"Hero_offerContainer__DkqlC\",\"offerValueBox\":\"Hero_offerValueBox__OIRgJ\",\"offerValue\":\"Hero_offerValue__ReUHf\",\"offerSmallText\":\"Hero_offerSmallText__NikML\",\"ring\":\"Hero_ring__K8U2N\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"custom-dots\":\"AddressForm_custom-dots__AgyN2\",\"custom-dot\":\"AddressForm_custom-dot__drBXp\",\"slick-active\":\"AddressForm_slick-active__mPp8V\",\"addressForm\":\"AddressForm_addressForm__Wvgg2\",\"addressHeadline\":\"AddressForm_addressHeadline__kLBlf\",\"heroAddressHeadline\":\"AddressForm_heroAddressHeadline__XWZzV\",\"fieldset\":\"AddressForm_fieldset__2N3jc\",\"isNavFieldSet\":\"AddressForm_isNavFieldSet__xWd0N\",\"nonHeroFieldset\":\"AddressForm_nonHeroFieldset__BnKk7\",\"inputWrapper\":\"AddressForm_inputWrapper__e_h18\",\"isNavInputWrapper\":\"AddressForm_isNavInputWrapper__RCY0q\",\"nonHeroInputWrapper\":\"AddressForm_nonHeroInputWrapper__FDvLy\",\"mapPin\":\"AddressForm_mapPin__D9Hhk\",\"textInput\":\"AddressForm_textInput__CGu_j\",\"textInputColor\":\"AddressForm_textInputColor__QmKBL\",\"btn\":\"AddressForm_btn__GF6sD\",\"uppercaseBtn\":\"AddressForm_uppercaseBtn__LQQkU\",\"nonHeroBtn\":\"AddressForm_nonHeroBtn__7huB6\",\"isNavBtn\":\"AddressForm_isNavBtn__RgRxP\",\"suggestionsList\":\"AddressForm_suggestionsList__Cz8kL\",\"suggestionsListItems\":\"AddressForm_suggestionsListItems__R_SaO\",\"suggestionsListClose\":\"AddressForm_suggestionsListClose__RkK60\",\"suggestionsListCloseCopy\":\"AddressForm_suggestionsListCloseCopy__uwsYi\",\"isNavContainer\":\"AddressForm_isNavContainer__OUTWe\",\"nonHeroContainer\":\"AddressForm_nonHeroContainer__NBYfL\",\"isModalContainer\":\"AddressForm_isModalContainer__FRrpg\",\"ring\":\"AddressForm_ring__b8DAY\"};"],"names":["BASE_DATA","addressCTACopy","addressLabelColor","addressLabelCopy","addressPlaceHolderCopy","backgroundImage","callCTACopy","callCTAIconColor","callCTATextColor","globalBanner","globalBannerHeaderCopy","concat","MIR_PRICE","PROMO_END_DATE","globalBannerSubHeaderCopy","headerCopy","headerCopy2","headerCopy2Toggle","headerFontColor","headerLegal","headerLegalToggle","hideOfferHeadline","highPropHero","mapPinIconColor","offerBoxBackgroundColor","offerBoxHeader1","offerBoxHeader1FontColor","offerBoxHeader1Legal","showOfferEndDate","offerEndDateLegal","offerEndDateLegalToggle","showGlobalBannerSubHeader","showHeaderTooltip","subheadLegal","subheadLegalToggle","subhead1","subheaderCopy2","subheaderCopy2Toggle","subheaderFontColor","tooltipCopy","mobileHeroDiff","mobileHeroImage","globalBannerHeader2Copy","globalBannerHeader2LegalCopy","globalBannerHeader2LegalToggle","showBannerHeader2","showBannerIcon","globalBannerHeaderLegalToggle","globalBannerHeaderLegal","MirHero","offerHero","useRef","isMedia","useMedia","data","monarchData","useMonarchSlotContext","globalBannerSubHeaderLegalToggle","globalBannerSubHeaderLegal","useIntersectionObserver","fireElementViewedEvent","undefined","threshold","callCenterOpen","useContext","CallCenterContext","bgImage","mobile","showBannerSubcopy","desktop","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","div","id","ref","className","styles","style","span","jsx","LegalAnnotation","annotation","img","src","alt","width","height","Fragment","Typography","variant","removeTopMargin","dangerouslySetInnerHTML","__html","color","Tippy","content","p","placement","arrow","trigger","theme","button","role","InfoCircle","backgroundColor","br","AddressForm","metadata","isHero","Button","tracking","position","location","elementType","actionOutcome","text","htmlId","fuse","isSecondary","PhoneRebrand","PhoneNumber","svg","viewBox","version","xmlns","data-automation-key","props","path","d","param","componentLocation","isNav","isModal","isUppercase","mobileAddressCTACopy","zipCode","setZipCode","useState","address","setAddress","finalAddress","setFinalAddress","suggestions","setSuggestions","disableButton","setDisableButton","showSuggestions","setShowSuggestions","activeIdx","setActiveIdx","API_KEY","AUTOCOMPLETE_URL","SMARTY_STREETS","checkFormButton","useCallback","useEffect","setCookie","name","value","exmins","Date","setTime","getTime","expires","toUTCString","document","cookie","onFormSubmit","event","preventDefault","JSON","stringify","street_line","city","state","zip","zipcode","isUnit","entries","unitValue","secondary","window","tagular","formContext","formType","formName","formId","href","fetchSuggestions","fetch","query","then","res","json","body","filter","suggestion","catch","addPageAction","error","onAddressChange","uniqueSet","Set","uniqueAddress","map","has","item","add","push","onSuggestionClick","selected","searchQuery","webElement","handleAddressKeyDown","keyCode","length","form","onSubmit","autoComplete","fieldset","MapPin","input","onChange","e","target","onKeyDown","onClick","placeholder","data-private","ul","SuggestionItems","items","handleKeyDown","isDisabled","annotationNumber","setAnnotationNumber","disclosures","activeLegal","setActiveLegal","LegalContext","legalText","find","disclosure","handle","statement","includes","indexOf","sup","module","exports"],"sourceRoot":""}