{"version":3,"sources":["views/Landing/styles.module.scss","views/OneClick/oneclick.module.scss","components/Footer/styles.module.scss","consts/index.js","components/Header/styles.module.scss","components/Button/Button.js","components/InfoBlocks/styles.module.scss","components/Button/styles.module.scss","components/Carousel/styles.module.scss","hooks/useOnce.js","services/LeadService.js","components/Input/ZipInput/styles.module.scss","assets/AI@3x.png","assets/AI@3x.webp","assets/servers@3x.png","components/BulletList/styles.module.scss","assets/icon-arrow-right-green.svg","assets/d-step1.png","assets/d-step3.png","assets/m-step1.png","assets/m-step3.png","assets/info-block-2.svg","assets/d-step2.png","assets/m-step2.png","assets/nd-step1.png","assets/nd-step2.png","assets/nd-step3.png","assets/nm-step1.png","assets/nm-step2.png","assets/nm-step3.png","assets/info-block-1.svg","assets/info-block-3.svg","assets/info-block-4.svg","assets/info-block-5.svg","assets/facebook.svg","assets/instagram.svg","assets/twitter.svg","assets/youtube.svg","assets/car.png","assets/car-mobile.png","assets/car-tablet.png","assets/servers@3x.webp","assets/icon-edit.svg","assets/icon-car.svg","assets/icon-house.svg","assets/icon-phone.svg","assets/icon-location.svg","assets/icon-shield.svg","assets/banner1.svg","assets/banner2.svg","assets/banner3.svg","assets/phone-oneclick.png","assets/arrow-back-white.svg","components/Header/Header.js","components/Input/ZipInput/ZipInput.js","components/Footer/Footer.js","components/Carousel/Carousel.js","components/InfoBlocks/InfoBlocks.js","components/BulletList/BulletList.js","views/Landing/Companies.js","hooks/useTrustedFormAndLeadId.js","views/OneClick/OneClick.js","views/Landing/Landing.js","hooks/useScrollToTop.js","AppRouter.js","App.js","index.js"],"names":["module","exports","HEADER_CHANGE_SCROLL_HEIGHT","PROGRESS_STEPS","MAX_FORM_VEHICLES_AMOUNT","MAX_ZIP_INPUT_LENGTH","EMAIL_REGEX","NUMBERS_REGEX","ADDRESS_REGEX","PHONE_REGEX","isMobile","window","innerWidth","SLIDES","image","Step1Mobile","Step1Desktop","title","subtitle","Step2Mobile","Step2Desktop","Step3Mobile","Step3Desktop","ND_SLIDES","NewStep1Mobile","NewStep1Desktop","NewStep2Mobile","NewStep2Desktop","NewStep3Mobile","NewStep3Desktop","LIST_ONE","LIST_TWO","INFO_BLOCKS_DATA","InfoBlockImage1","text","InfoBlockImage2","InfoBlockImage3","InfoBlockImage4","InfoBlockImage5","Button","_ref","label","onClick","className","withArrow","isDisabled","type","isLoading","isNewDesign","disabledStyle","onDisabledClick","otherProps","onClickHandler","useCallback","React","createElement","Object","assign","classnames","styles","Button__isLoading","Button__newDesign","disabled","Spinner","Fragment","Label","Arrow","useOnce","callback","useEffect","LeadService","data","fetch","method","headers","body","JSON","stringify","status","str","leadId","this","getLeadId","emptyGuid","queryString","parse","location","search","Cookies","get","appendLeadId","FormData","append","encodeURIComponent","startAdsTradingUTCTime","Date","toUTCString","then","res","json","startedTradeEpochDate","finishedTradeEpochDate","adsCount","extraData","url","encodeURI","Header","props","shouldChangeHeader","setShouldChangeHeader","useState","shouldAddButtonHeader","setShouldAddButtonHeader","prevShouldAddButtonHeaderRef","useRef","isTabletOrMobile","useMediaQuery","query","useLocation","history","useHistory","disableLogoLink","isOneClickRoute","isLandingHeader","pathname","indexOf","listenScrollEvent","scrollY","addEventListener","current","removeEventListener","prevShouldAddButtonHeader","Header__isChanged","Header__isOutsideLanding","Header__newDesign","Logo","Link","to","CallButton","CallButton__shown","CallButton__hidden","push","CallWrapper","ZipInput","placeholder","name","maxlength","value","onChange","isIncorrect","id","inputMode","Wrapper","NewDesign","Input","Input__isIncorrect","maxLength","autoComplete","e","Footer","hideForm","zipInputValue","setZipInputValue","isIncorrectInput","setIsIncorrectInput","handleSubmitZipCode","length","FlexWrapper","LinksAndZip","LinksWrapper","Links","LinksTitle","href","style","order","LinksIcons","target","src","FacebookIcon","alt","InstagramIcon","TwitterIcon","YoutubeIcon","ZipWrapper","htmlFor","pattern","FooterText","Copyright","getFullYear","Carousel","slides","imgClassName","settings","dots","infinite","speed","slidesToShow","slidesToScroll","arrows","autoplay","autoplaySpeed","fade","SliderWrapper","Slider","map","item","index","SlideWrapper","key","fetchpriority","SlidePicture","TextWrapper","SlideTitle","SlideSubtitle","InfoBlocks","info","ColorText","SectionTitle","SectionText","InfoBlock","InfoBlockImage","InfoBlockText","BulletList","list","BulletListItem","Companies","companiesDivier","mainCompanies","mainCompaniesText","companiesLogos","media","srcSet","width","height","useTrustedFormAndLeadId","callLeadidAndTrustedForm","leadIdTriesLeft","trustedFormTriesLeft","loadLeadid","leadidTokenInput","document","getElementById","trim","test","replace","LeadiD","token","s","async","onload","setTimeout","onerror","LeadiDscript","parentNode","insertBefore","loadTrustedform","inputElement","querySelector","tf","protocol","escape","getTime","Math","random","getElementsByTagName","OneClick","onEditOneClick","emptyLeadData","isShort","cookies","setCookie","removeCookie","useCookies","loading","setShowLoading","queryStringParams","tcpa","form","setForm","phone","address","cars","car","isInsured","zipCode","fullName","firstName","isHomeOwner","otherCars","slice","container","classNames","onSetEditOneClick","origin","IconEdit","IconCar","tooltip","_ref2","i","year","make","model","IconPhone","IconLocation","ellipsis","IconShield","IconHouse","onDeleteOneClick","_document$getElementB","_document$querySelect","_document$getElementB2","newSearch","trustedFields","response","createEmptyLead","finalForm","innerText","snap","post","ref","for","bottom__content","content","bottom__content__banners","bottom__content__banner","banner1","Banner1","GreenArrow","banner2","Banner2","banner3","Banner3","bottom__content__earth","paddingBottom","PhoneOneClick","Form","lazy","isIE","documentMode","Landing","isDesktop","isLoadingOneClick","oneClickData","isOneClickEdit","setIsOneClickEdit","submitClicked","setSubmitClicked","validationSuccessed","setValidationSuccessed","validationFinished","setValidationFinished","formConfigLoaded","setFormConfigLoaded","makesLoaded","setMakesLoaded","zipValue","setZipValue","showLoading","stateValue","setStateValue","cityValue","setCityValue","formConfig","setFormConfig","makes","setMakes","urlParams","setUrlParams","titlesData","setTitlesData","mainHeadline","isABVarient","setIsABVarient","isV3","buttonLabel","onLeadCreateCallback","formData","success","dateNow","now","afterGetStateResult","classList","remove","hidden","lineHeight","Number","defaultView","getComputedStyle","linesCount","ceil","offsetHeight","fontSize","round","transparent","getTitles","catch","err","console","error","result","odParams","toLowerCase","referrer","getParametersFromUrl","zip","handleOnChange","createLeadWithRetries","localTime","getUserCurrentTime","city","state","obj","saveObjectToCookies","promise","getFormConfig","ok","Error","responseFormConfig","_ctor","toString","split","updateLead","checkLeadCreateResponse","Promise","resolve","reject","warn","bind","checkFinalResult","tryCreateLead","tryNum","leadData","ldc","p","handleSubmit","event","preventDefault","correctZipInput","valid","createEmptyLeadOneClickData","landingFade","loader","LandingWrapper","Helmet","seo_title","seo_description","seo_keywords","onSubmit","Title","Home","EnterZip","ArrowDown","Car","CarMobile","CarTablet","DesktopFormBottom","SlideImage","Seperator","FlexWrapper__colored","Road","Road__one","Road__two","Road__three","sub_title","ListOneWrapper","paragraph_title","ImageWithNotation","ImageWithNotation__ai","AI_webp","Image","AI","Notation","Notation__ai","Notation__isIE","NotationTitle","NotationSubtitle","InfoBlocksWrapper","FlexWrapper__servers","Text","ImageWithNotation__servers","ServersWebp","Servers","Notation__servers","SectionTitle__centered","SectionText__centered","FlexWrapper__lastSection","InfoSectionTwo","withRouter","unlisten","listen","scrollTo","ResultRates","Contact","CCPA","About","Terms","PrivacyPolicy","MarketingPartners","AdvertisingDisclosure","Error404","routes","component","path","logoLinkDisabled","hideFooterForm","pageName","AppRouter","setLogoLinkDisabled","setHideFooterForm","setIsLoadingOneClick","_window$passedBasicOn","passedBasicOneClickValidation","setOneClickData","organizationSchemaJson","logo","sameAs","x","Router","Suspense","fallback","ScrollToTop","Switch","route","Route","exact","render","routeRenderHandler","queryParams","fbq","gtag","send_to","App","ModalProvider","ReactDOM","StrictMode","CookiesProvider"],"mappings":"wGACAA,EAAOC,QAAU,CAAC,YAAc,4BAA4B,OAAS,uBAAuB,YAAc,4BAA4B,OAAS,uBAAuB,KAAO,qBAAqB,eAAiB,+BAA+B,cAAgB,8BAA8B,YAAc,4BAA4B,qBAAuB,qCAAqC,qBAAuB,qCAAqC,yBAA2B,yCAAyC,MAAQ,sBAAsB,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,SAASC,eAAe,W","file":"static/js/main.e2a959f3.chunk.js","sourcesContent":["// extracted by mini-css-extract-plugin\nmodule.exports = {\"transparent\":\"styles_transparent__lEvQP\",\"hidden\":\"styles_hidden__3d3tW\",\"landingFade\":\"styles_landingFade__1Mw7V\",\"loader\":\"styles_loader__d_ek4\",\"spin\":\"styles_spin__HTbTD\",\"LandingWrapper\":\"styles_LandingWrapper__2N5Xq\",\"LandingLoader\":\"styles_LandingLoader__3tweT\",\"FlexWrapper\":\"styles_FlexWrapper__1p5zv\",\"FlexWrapper__colored\":\"styles_FlexWrapper__colored__2Hn3E\",\"FlexWrapper__servers\":\"styles_FlexWrapper__servers__1fYGv\",\"FlexWrapper__lastSection\":\"styles_FlexWrapper__lastSection__1W_WT\",\"Title\":\"styles_Title__2b29L\",\"Home\":\"styles_Home__2LUEA\",\"EnterZip\":\"styles_EnterZip__3IugK\",\"NewDesign\":\"styles_NewDesign__2QH0t\",\"ZipInput\":\"styles_ZipInput__1UmKl\",\"Button\":\"styles_Button__262nD\",\"DesktopFormBottom\":\"styles_DesktopFormBottom__3XvX5\",\"Notation\":\"styles_Notation__2xIJo\",\"SlideImage\":\"styles_SlideImage__25sfQ\",\"ImageWithNotation\":\"styles_ImageWithNotation__3NxK4\",\"SectionTitle\":\"styles_SectionTitle__14KAG\",\"ListOneWrapper\":\"styles_ListOneWrapper__3tpQJ\",\"ZipCodeLabel\":\"styles_ZipCodeLabel__tXIfG\",\"ArrowDown\":\"styles_ArrowDown__3uYJA\",\"Car\":\"styles_Car__2caHA\",\"Seperator\":\"styles_Seperator__2BDj5\",\"SectionTitle__centered\":\"styles_SectionTitle__centered__34Aq2\",\"SectionText\":\"styles_SectionText__Mt-gm\",\"SectionText__centered\":\"styles_SectionText__centered__2IpCR\",\"ImageWithNotation__ai\":\"styles_ImageWithNotation__ai__200eQ\",\"ImageWithNotation__servers\":\"styles_ImageWithNotation__servers__2t6O8\",\"Image\":\"styles_Image__1UMsk\",\"Notation__ai\":\"styles_Notation__ai__1INpb\",\"Notation__servers\":\"styles_Notation__servers__3ooIe\",\"Notation__isIE\":\"styles_Notation__isIE__1BGMV\",\"NotationTitle\":\"styles_NotationTitle__10ZU1\",\"NotationSubtitle\":\"styles_NotationSubtitle__3BhaG\",\"ColorText\":\"styles_ColorText__2WEfW\",\"InfoBlocksWrapper\":\"styles_InfoBlocksWrapper__30woV\",\"Text\":\"styles_Text__XXpkh\",\"InfoSectionTwo\":\"styles_InfoSectionTwo__18N-p\",\"Road\":\"styles_Road__U2Clm\",\"Road__one\":\"styles_Road__one__3TNOe\",\"Road__two\":\"styles_Road__two__14XLz\",\"Road__three\":\"styles_Road__three__RcaYx\",\"companiesDivier\":\"styles_companiesDivier__2-UcI\",\"mainCompanies\":\"styles_mainCompanies__3hekF\",\"companiesLogos\":\"styles_companiesLogos__2_wlI\",\"mainCompaniesText\":\"styles_mainCompaniesText__2eFQ8\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"bg-gray\":\"oneclick_bg-gray__9Rbxu\",\"main-container\":\"oneclick_main-container__1PBSD\",\"site-title\":\"oneclick_site-title__3bp11\",\"section-title-main\":\"oneclick_section-title-main__2TYJ9\",\"main-cont\":\"oneclick_main-cont__25amV\",\"small\":\"oneclick_small__3YuQC\",\"agree-content\":\"oneclick_agree-content__UOIMh\",\"main-summary\":\"oneclick_main-summary__3YrPq\",\"person-name\":\"oneclick_person-name__32uX7\",\"main-person-details\":\"oneclick_main-person-details__1Jcpr\",\"person-detail\":\"oneclick_person-detail__2EUHe\",\"change-person\":\"oneclick_change-person__1oSDm\",\"top-container\":\"oneclick_top-container__2-Mht\",\"submit-button\":\"oneclick_submit-button__3AQ2l\",\"bottom-footer\":\"oneclick_bottom-footer__1fhu4\",\"container\":\"oneclick_container__1Iq_Q\",\"terms\":\"oneclick_terms__2mltg\",\"privacy\":\"oneclick_privacy__258yX\",\"leadid_tcpa_disclosure_label\":\"oneclick_leadid_tcpa_disclosure_label__2xZF-\",\"bottom__content\":\"oneclick_bottom__content__2_3tv\",\"info-bg\":\"oneclick_info-bg__fohYF\",\"title-top\":\"oneclick_title-top__2lopz\",\"content\":\"oneclick_content__l8Ka4\",\"bottom__content__banners\":\"oneclick_bottom__content__banners__1iqMB\",\"bottom__content__banner\":\"oneclick_bottom__content__banner__rqfao\",\"banner1\":\"oneclick_banner1__RX7ff\",\"banner2\":\"oneclick_banner2__19as3\",\"banner3\":\"oneclick_banner3__3GX-s\",\"bottom__content__earth\":\"oneclick_bottom__content__earth__14VX9\",\"right-side\":\"oneclick_right-side__3WIpH\",\"more-cars\":\"oneclick_more-cars__Jmr0K\",\"tooltip\":\"oneclick_tooltip__XURkP\",\"tooltip-content\":\"oneclick_tooltip-content__1Q6bT\",\"ellipsis\":\"oneclick_ellipsis__W8BCt\",\"address\":\"oneclick_address__2S55k\",\"bottom-cont\":\"oneclick_bottom-cont__2ai7F\",\"bottom-content-btn\":\"oneclick_bottom-content-btn__3wt8z\",\"agree-statement\":\"oneclick_agree-statement__lKQjR\",\"main-content-btn-container\":\"oneclick_main-content-btn-container__2Lz0D\",\"main-content-btn\":\"oneclick_main-content-btn__1VcJv\",\"blu-btn-one-click\":\"oneclick_blu-btn-one-click__1UqGk\",\"get-quotes-button-bottom\":\"oneclick_get-quotes-button-bottom__1QOke\",\"fa\":\"oneclick_fa__3qjQz\",\"button-load\":\"oneclick_button-load__2j7nR\",\"lineRight\":\"oneclick_lineRight__2v29K\",\"footer\":\"oneclick_footer__2viCF\",\"top-banner\":\"oneclick_top-banner__zZzXY\",\"topbar\":\"oneclick_topbar__1SC_2\",\"arrow-icon\":\"oneclick_arrow-icon__qU_bf\",\"goto-quotes-bottom\":\"oneclick_goto-quotes-bottom__3eJep\",\"foot-support\":\"oneclick_foot-support__O0IHb\",\"checkbox-wrapper\":\"oneclick_checkbox-wrapper__3qqtQ\",\"checkmark\":\"oneclick_checkmark__3slX2\",\"loader\":\"oneclick_loader__1Ev9r\",\"spin\":\"oneclick_spin__3nQDk\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Footer\":\"styles_Footer__I4KNr\",\"FlexWrapper\":\"styles_FlexWrapper__1qS3e\",\"LinksAndZip\":\"styles_LinksAndZip__8DUfa\",\"LinksWrapper\":\"styles_LinksWrapper__2p1EY\",\"Links\":\"styles_Links__tJAs3\",\"ZipWrapper\":\"styles_ZipWrapper__29nP4\",\"Link\":\"styles_Link__2sib-\",\"LinksTitle\":\"styles_LinksTitle__2MSP3\",\"LinksIcons\":\"styles_LinksIcons__1WTEL\",\"Button\":\"styles_Button__1k318\",\"FooterText\":\"styles_FooterText__1PM00\",\"Copyright\":\"styles_Copyright__a2GHL\"};","import Step1Desktop from 'assets/d-step1.png';\r\nimport Step2Desktop from 'assets/d-step2.png';\r\nimport Step3Desktop from 'assets/d-step3.png';\r\n\r\nimport Step1Mobile from 'assets/m-step1.png';\r\nimport Step2Mobile from 'assets/m-step2.png';\r\nimport Step3Mobile from 'assets/m-step3.png';\r\n\r\nimport NewStep1Desktop from 'assets/nd-step1.png';\r\nimport NewStep2Desktop from 'assets/nd-step2.png';\r\nimport NewStep3Desktop from 'assets/nd-step3.png';\r\n\r\nimport NewStep1Mobile from 'assets/nm-step1.png';\r\nimport NewStep2Mobile from 'assets/nm-step2.png';\r\nimport NewStep3Mobile from 'assets/nm-step3.png';\r\n\r\nimport InfoBlockImage1 from 'assets/info-block-1.svg';\r\nimport InfoBlockImage2 from 'assets/info-block-2.svg';\r\nimport InfoBlockImage3 from 'assets/info-block-3.svg';\r\nimport InfoBlockImage4 from 'assets/info-block-4.svg';\r\nimport InfoBlockImage5 from 'assets/info-block-5.svg';\r\n\r\nexport const HEADER_CHANGE_SCROLL_HEIGHT = 800;\r\nexport const PROGRESS_STEPS = 4;\r\nexport const MAX_FORM_VEHICLES_AMOUNT = 4;\r\nexport const MAX_ZIP_INPUT_LENGTH = 5;\r\n\r\nexport const EMAIL_REGEX = /^(([^<>()[\\]\\\\.,;:\\s@\"]+(\\.[^<>()[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/;\r\nexport const NUMBERS_REGEX = /^\\d+$/;\r\nexport const ADDRESS_REGEX = /\\w+\\s+\\w+/;\r\nexport const PHONE_REGEX = /\\(?\\d{3,3}\\)?\\s*\\d{3,3}\\s*\\-?\\s*\\d{4,4}$/;\r\n\r\nconst isMobile = window.innerWidth < 500;\r\n\r\n\r\nexport const SLIDES = [\r\n {\r\n image: isMobile ? Step1Mobile : Step1Desktop,\r\n title: 'Step 1',\r\n subtitle: 'Fill in our intelligent form and see how it affects your policy.',\r\n },\r\n {\r\n image: isMobile ? Step2Mobile : Step2Desktop,\r\n title: 'Step 2',\r\n subtitle: 'Our insurance engine will calculate the best possible policies for you.',\r\n },\r\n {\r\n image: isMobile ? Step3Mobile : Step3Desktop,\r\n title: 'Step 3',\r\n subtitle: 'Choose between the most relevant companies and save intelligently.',\r\n }\r\n];\r\n\r\nexport const ND_SLIDES = [\r\n {\r\n image: isMobile ? NewStep1Mobile : NewStep1Desktop,\r\n title: 'Step 1',\r\n subtitle: 'Fill in our intelligent form and see how it affects your policy.',\r\n },\r\n {\r\n image: isMobile ? NewStep2Mobile : NewStep2Desktop,\r\n title: 'Step 2',\r\n subtitle: 'Our insurance engine will calculate the best affordable policies for you.',\r\n },\r\n {\r\n image: isMobile ? NewStep3Mobile : NewStep3Desktop,\r\n title: 'Step 3',\r\n subtitle: 'Choose between insurance companies and save on your car insurance.',\r\n }\r\n];\r\n\r\nexport const LIST_ONE = [\r\n 'How personal information impacts your policy.',\r\n 'How vehicle details affect your monthly costs.',\r\n 'How additional features can be used to save.',\r\n];\r\n\r\nexport const LIST_TWO = [\r\n 'Primary use of your vehicle',\r\n 'Driving distances (annual mileage)',\r\n 'Your desired coverage level',\r\n 'The level of your education',\r\n];\r\n\r\nexport const INFO_BLOCKS_DATA = [\r\n {\r\n image: InfoBlockImage1,\r\n text: 'Bundling additional insurance policies with the same provider (auto & home).',\r\n },\r\n {\r\n image: InfoBlockImage2,\r\n text: 'Shopping around and comparing policies will result in a better priced policy.',\r\n },\r\n {\r\n image: InfoBlockImage3,\r\n text: 'Multiple cars on the same policy usually costs less than seperate policies.',\r\n },\r\n {\r\n image: InfoBlockImage4,\r\n text: 'Keep a clean driving record or take a defensive driving course to reduce costs.',\r\n },\r\n {\r\n image: InfoBlockImage5,\r\n text: 'Maintain high grades as a good student to be considered a safer driver.',\r\n }\r\n];\r\n\r\nexport const DAYS = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31];\r\n\r\nexport const MONTHS = [ \"January\", \"February\", \"March\", \"April\", \"May\", \"June\",\r\n\"July\", \"August\", \"September\", \"October\", \"November\", \"December\" ];\r\n\r\nexport const YEARS = [1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000];\r\n\r\nexport const FORM_SLIDER_SETTINGS = {\r\n dots: false,\r\n infinite: false,\r\n speed: 300,\r\n slidesToShow: 1,\r\n slidesToScroll: 1,\r\n draggable: false,\r\n swipe: false,\r\n arrows: false,\r\n autoplay: false,\r\n adaptiveHeight: true,\r\n};\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Header\":\"styles_Header__Dl-cX\",\"Header__isChanged\":\"styles_Header__isChanged__i2M-M\",\"Header__isOutsideLanding\":\"styles_Header__isOutsideLanding__2LqI0\",\"Header__newDesign\":\"styles_Header__newDesign__1lDpK\",\"Logo\":\"styles_Logo__28b9g\",\"Phone\":\"styles_Phone__35Coe\",\"CallWrapper\":\"styles_CallWrapper__3yOiH\",\"PhoneCall\":\"styles_PhoneCall__3ZZNc\",\"PhoneCall__shown\":\"styles_PhoneCall__shown__dMlZF\",\"phoneMove\":\"styles_phoneMove__336eo\",\"PhoneCall__hidden\":\"styles_PhoneCall__hidden__2QkMd\",\"phoneBack\":\"styles_phoneBack__dIuUO\",\"CallButton\":\"styles_CallButton__3T8c-\",\"CallButton__shown\":\"styles_CallButton__shown__38VwH\",\"buttonShow\":\"styles_buttonShow__340w_\",\"buttonShowDesktop\":\"styles_buttonShowDesktop__38MBO\",\"CallButton__hidden\":\"styles_CallButton__hidden__2qSqm\",\"buttonHide\":\"styles_buttonHide__2abSx\",\"buttonHideDesktop\":\"styles_buttonHideDesktop__Wkcaw\"};","import React, { Fragment, useCallback } from 'react';\r\nimport classnames from 'classnames';\r\n\r\nimport styles from './styles.module.scss';\r\n\r\nexport const Button = ({\r\n label,\r\n onClick,\r\n className,\r\n withArrow,\r\n isDisabled = false,\r\n type = \"button\",\r\n isLoading,\r\n isNewDesign = false,\r\n disabledStyle = true,\r\n onDisabledClick = null, \r\n ...otherProps\r\n}) => {\r\n const onClickHandler = useCallback(() => {\r\n if(!isDisabled && onClick)\r\n onClick();\r\n else if(onDisabledClick)\r\n onDisabledClick();\r\n }, [isDisabled, onClick, onDisabledClick]);\r\n\r\n return (\r\n onClickHandler()}\r\n className={classnames(\r\n styles.Button,\r\n className,\r\n { [styles.Button__isLoading]: isLoading },\r\n { [styles.Button__newDesign]: isNewDesign }\r\n )}\r\n type={type}\r\n disabled={disabledStyle && isDisabled}\r\n {...otherProps}\r\n >\r\n {isLoading\r\n ? (\r\n
\r\n )\r\n : (\r\n \r\n {label}\r\n {withArrow && (\r\n
\r\n )}\r\n \r\n )\r\n }\r\n \r\n );\r\n}\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"TextWrapper\":\"styles_TextWrapper__3F8X1\",\"SectionTitle\":\"styles_SectionTitle__3Whjk\",\"SectionText\":\"styles_SectionText__RoyD-\",\"ColorText\":\"styles_ColorText__379CS\",\"InfoBlock\":\"styles_InfoBlock__1L8pD\",\"InfoBlockImage\":\"styles_InfoBlockImage__3h51y\",\"InfoBlockText\":\"styles_InfoBlockText__AP-zM\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Button\":\"styles_Button__26-Rv\",\"Button__isLoading\":\"styles_Button__isLoading__1gVCi\",\"Button__newDesign\":\"styles_Button__newDesign__l1hC4\",\"Arrow\":\"styles_Arrow__3DUqO\",\"Spinner\":\"styles_Spinner__2d3ei\",\"rotate\":\"styles_rotate__u42kH\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"SliderWrapper\":\"styles_SliderWrapper__1oMT4\",\"SlideWrapper\":\"styles_SlideWrapper__2RXTD\",\"SlidePicture\":\"styles_SlidePicture__2cHkb\",\"TextWrapper\":\"styles_TextWrapper__3-tK8\",\"SlideTitle\":\"styles_SlideTitle__Pkopy\",\"SlideSubtitle\":\"styles_SlideSubtitle__ulHCB\"};","import { useEffect } from 'react';\r\n\r\nexport const useOnce = callback => useEffect(callback, []);\r\n","import queryString from 'query-string';\r\nimport { Cookies } from 'react-cookie';\r\n\r\nexport class LeadService {\r\n\r\n static createEmptyLead(data) {\r\n let path = '/marketplace/CreateEmptyLead';\r\n return fetch(path, {\r\n method: 'post',\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n body: JSON.stringify({status: 'Vehicle Make', ...data})\r\n });\r\n }\r\n\r\n static appendLeadId(str) {\r\n let leadId = this.getLeadId();\r\n return str + (leadId ? '?leadId=' + leadId : '');\r\n }\r\n\r\n static getLeadId() {\r\n let emptyGuid = '00000000-0000-0000-0000-000000000000';\r\n let urlParams = queryString.parse(window.location.search);\r\n let leadId = urlParams['leadId'];\r\n if ((!leadId || leadId == emptyGuid) && Cookies) {\r\n let cookies = new Cookies();\r\n leadId = cookies.get('leadId');\r\n }\r\n if (leadId && leadId != emptyGuid) {\r\n return leadId;\r\n }\r\n return null;\r\n }\r\n\r\n static updateLead(data) {\r\n let path = '/marketplace/UpdateLead';\r\n return fetch(this.appendLeadId(path), {\r\n method: 'post',\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n body: JSON.stringify({ ...data, status: 'Vehicle Make' })\r\n });\r\n }\r\n\r\n static updateStatus(status) {\r\n let formData = new FormData();\r\n let path = '/marketplace/UpdateStatus';\r\n formData.append('status', status);\r\n fetch(this.appendLeadId(path), {\r\n method: 'post',\r\n headers: {\r\n 'Content-Type': 'application/x-www-form-urlencoded'\r\n },\r\n body: 'status=' + encodeURIComponent(status)\r\n });\r\n }\r\n\r\n static saveData(data) {\r\n let path = '/lead/SaveData';\r\n return fetch(this.appendLeadId(path), {\r\n method: 'post',\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n body: JSON.stringify(data)\r\n });\r\n }\r\n\r\n static GetResults() {\r\n var startAdsTradingUTCTime = new Date().toUTCString();\r\n let path = '/marketplace/GetResults';\r\n return fetch(this.appendLeadId(path) + '&clientRequestTimeUtc=' + startAdsTradingUTCTime).then(res => res.json());\r\n }\r\n \r\n static ReportAdsDurationTimeToServer(startedTradeEpochDate, finishedTradeEpochDate, adsCount, extraData){\r\n let url = this.appendLeadId('/data/ReportAdsDurationTimeToServer') + 'tradingStartDateEpochInMilliseconds=' + encodeURI(startedTradeEpochDate) + 'tradingFinishDateEpochInMilliseconds=' + encodeURI(finishedTradeEpochDate) + '&adsCount=' + encodeURI(adsCount);\r\n if (extraData) {\r\n url += '&extraData=' + encodeURIComponent(extraData);\r\n }\r\n return fetch(url, {method: 'post'});\r\n }\r\n\r\n static ping(data) {\r\n return fetch(this.appendLeadId('/marketplace/StartAuction'), {\r\n method: 'post',\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n body: JSON.stringify({ ...data })\r\n });\r\n }\r\n\r\n static post(data) {\r\n return fetch(this.appendLeadId('/marketplace/FinishAuction'), {\r\n method: 'post',\r\n headers: {\r\n 'Content-Type': 'application/json'\r\n },\r\n body: JSON.stringify({ ...data })\r\n });\r\n }\r\n}","// extracted by mini-css-extract-plugin\nmodule.exports = {\"Wrapper\":\"styles_Wrapper__1kIfj\",\"NewDesign\":\"styles_NewDesign__3Kpu6\",\"Input\":\"styles_Input__16QWt\",\"Input__isIncorrect\":\"styles_Input__isIncorrect__2BP1x\"};","module.exports = __webpack_public_path__ + \"static/media/AI@3x.4ef63a1a.png\";","module.exports = __webpack_public_path__ + \"static/media/AI@3x.5ee50f63.webp\";","module.exports = __webpack_public_path__ + \"static/media/servers@3x.d1d4c085.png\";","// extracted by mini-css-extract-plugin\nmodule.exports = {\"BulletList\":\"styles_BulletList__uaSyg\",\"BulletListItem\":\"styles_BulletListItem__2H0vs\"};","module.exports = __webpack_public_path__ + \"static/media/icon-arrow-right-green.f33f2a23.svg\";","module.exports = __webpack_public_path__ + \"static/media/d-step1.34d6c705.png\";","module.exports = __webpack_public_path__ + \"static/media/d-step3.68e60a1d.png\";","module.exports = __webpack_public_path__ + \"static/media/m-step1.b9136d8f.png\";","module.exports = __webpack_public_path__ + \"static/media/m-step3.d9b6dee8.png\";","module.exports = __webpack_public_path__ + \"static/media/info-block-2.66965314.svg\";","module.exports = __webpack_public_path__ + \"static/media/d-step2.3a332c73.png\";","module.exports = __webpack_public_path__ + \"static/media/m-step2.8d9ade5b.png\";","module.exports = __webpack_public_path__ + \"static/media/nd-step1.e0c6aff7.png\";","module.exports = __webpack_public_path__ + \"static/media/nd-step2.2024412d.png\";","module.exports = __webpack_public_path__ + \"static/media/nd-step3.99d8c1cf.png\";","module.exports = __webpack_public_path__ + \"static/media/nm-step1.a5dfd8e7.png\";","module.exports = __webpack_public_path__ + \"static/media/nm-step2.bc5e3051.png\";","module.exports = __webpack_public_path__ + \"static/media/nm-step3.da1e92de.png\";","module.exports = __webpack_public_path__ + \"static/media/info-block-1.2f090158.svg\";","module.exports = __webpack_public_path__ + \"static/media/info-block-3.d48a993d.svg\";","module.exports = __webpack_public_path__ + \"static/media/info-block-4.e52f74fc.svg\";","module.exports = __webpack_public_path__ + \"static/media/info-block-5.fbf69f9b.svg\";","module.exports = __webpack_public_path__ + \"static/media/facebook.151a7f37.svg\";","module.exports = __webpack_public_path__ + \"static/media/instagram.e1067c6c.svg\";","module.exports = __webpack_public_path__ + \"static/media/twitter.9a1ef6ef.svg\";","module.exports = __webpack_public_path__ + \"static/media/youtube.202336e3.svg\";","module.exports = __webpack_public_path__ + \"static/media/car.02d7d908.png\";","module.exports = __webpack_public_path__ + \"static/media/car-mobile.fcd24e9c.png\";","module.exports = __webpack_public_path__ + \"static/media/car-tablet.717b9863.png\";","module.exports = __webpack_public_path__ + \"static/media/servers@3x.385c764c.webp\";","module.exports = __webpack_public_path__ + \"static/media/icon-edit.28f25df0.svg\";","module.exports = __webpack_public_path__ + \"static/media/icon-car.66a2b9a0.svg\";","module.exports = __webpack_public_path__ + \"static/media/icon-house.2156aeab.svg\";","module.exports = __webpack_public_path__ + \"static/media/icon-phone.e0afa129.svg\";","module.exports = __webpack_public_path__ + \"static/media/icon-location.ebb482da.svg\";","module.exports = __webpack_public_path__ + \"static/media/icon-shield.68033395.svg\";","module.exports = __webpack_public_path__ + \"static/media/banner1.4826e9da.svg\";","module.exports = __webpack_public_path__ + \"static/media/banner2.15d157c3.svg\";","module.exports = __webpack_public_path__ + \"static/media/banner3.54a1ff85.svg\";","module.exports = __webpack_public_path__ + \"static/media/phone-oneclick.24ecf3d6.png\";","module.exports = __webpack_public_path__ + \"static/media/arrow-back-white.f1db5c85.svg\";","import React, { Fragment, useState, useCallback, useEffect, useRef } from 'react';\r\nimport classnames from 'classnames';\r\nimport { useLocation, Link, useHistory } from 'react-router-dom';\r\nimport { useMediaQuery } from 'react-responsive';\r\n\r\nimport { HEADER_CHANGE_SCROLL_HEIGHT } from 'consts';\r\n\r\nimport { Button } from 'components/Button/Button';\r\n\r\nimport styles from './styles.module.scss';\r\n\r\nexport default function Header(props) {\r\n const [shouldChangeHeader, setShouldChangeHeader] = useState(false);\r\n const [shouldAddButtonHeader, setShouldAddButtonHeader] = useState(false);\r\n const prevShouldAddButtonHeaderRef = useRef();\r\n const isTabletOrMobile = useMediaQuery({ query: '(max-width: 1024px)' });\r\n let location = useLocation();\r\n let history = useHistory();\r\n const { disableLogoLink, isOneClickRoute } = props;\r\n const isLandingHeader =\r\n location.pathname === '/'\r\n || location.pathname === '/contact'\r\n || location.pathname === '/ccpa'\r\n || location.pathname === '/about'\r\n || location.pathname === '/terms'\r\n || location.pathname === '/privacy-policy'\r\n || location.pathname === '/marketing-partners';\r\n const isNewDesign = location.pathname === '/auto-insurance' && (location.search.indexOf('v=2') > 0 || location.search.indexOf('v=3') > 0);\r\n\r\n const listenScrollEvent = useCallback(\r\n () => {\r\n if (window.scrollY > HEADER_CHANGE_SCROLL_HEIGHT) {\r\n setShouldAddButtonHeader(true);\r\n }\r\n if (window.scrollY < HEADER_CHANGE_SCROLL_HEIGHT) {\r\n setShouldAddButtonHeader(false);\r\n }\r\n if (window.scrollY > 5) {\r\n setShouldChangeHeader(true);\r\n }\r\n if (window.scrollY < 5) {\r\n setShouldChangeHeader(false);\r\n }\r\n },\r\n [],\r\n );\r\n\r\n useEffect(\r\n () => {\r\n if (isLandingHeader) {\r\n window.addEventListener('scroll', listenScrollEvent);\r\n prevShouldAddButtonHeaderRef.current = shouldAddButtonHeader;\r\n }\r\n return () => {\r\n window.removeEventListener('scroll', listenScrollEvent)\r\n };\r\n },\r\n [listenScrollEvent, shouldAddButtonHeader, isLandingHeader],\r\n );\r\n\r\n const prevShouldAddButtonHeader = prevShouldAddButtonHeaderRef.current;\r\n\r\n return (\r\n \r\n {disableLogoLink || isOneClickRoute ? : }\r\n \r\n {isTabletOrMobile\r\n ? (\r\n \r\n {isLandingHeader && (\r\n \r\n history.push('/')}\r\n />\r\n \r\n )}\r\n \r\n )\r\n : (isLandingHeader && !isOneClickRoute ?\r\n
\r\n history.push('/')}\r\n />\r\n
: null)\r\n }\r\n
\r\n \r\n );\r\n}\r\n","import React from 'react';\r\nimport classnames from 'classnames';\r\n\r\nimport styles from './styles.module.scss';\r\nimport { useLocation } from 'react-router-dom';\r\nimport queryString from 'query-string';\r\n\r\nexport default function ZipInput(props) {\r\n const location = useLocation();\r\n let queryStringParams = queryString.parse(location.search);\r\n \r\n const {\r\n placeholder,\r\n name,\r\n maxlength,\r\n value,\r\n onChange,\r\n isIncorrect,\r\n id,\r\n type,\r\n inputMode,\r\n className,\r\n isNewDesign = false\r\n } = props;\r\n\r\n return (\r\n
\r\n onChange(e)}\r\n inputMode={inputMode}\r\n />\r\n
\r\n );\r\n}\r\n","import React, { useState, useCallback } from 'react';\r\nimport { useMediaQuery } from 'react-responsive';\r\nimport { Link } from 'react-router-dom';\r\nimport { useHistory } from \"react-router-dom\";\r\n\r\nimport { Button } from 'components/Button/Button';\r\nimport ZipInput from 'components/Input/ZipInput/ZipInput';\r\n\r\nimport FacebookIcon from 'assets/facebook.svg';\r\nimport InstagramIcon from 'assets/instagram.svg';\r\nimport TwitterIcon from 'assets/twitter.svg';\r\nimport YoutubeIcon from 'assets/youtube.svg';\r\n\r\nimport styles from './styles.module.scss';\r\n\r\nexport default function Footer({ hideForm, isOneClickRoute }) {\r\n let history = useHistory();\r\n const [zipInputValue, setZipInputValue] = useState('');\r\n const [isIncorrectInput, setIsIncorrectInput] = useState(false);\r\n\r\n const handleSubmitZipCode = useCallback(\r\n () => {\r\n if (!zipInputValue || zipInputValue.length < 5) {\r\n setIsIncorrectInput(true);\r\n } else {\r\n setIsIncorrectInput(false);\r\n history.push(\"/?zip=\" + zipInputValue);\r\n }\r\n },\r\n [zipInputValue, history],\r\n );\r\n\r\n const isMobile = useMediaQuery({ query: '(max-width: 500px)' })\r\n\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Company

\r\n Contact Us \r\n About Us\r\n {\r\n !isOneClickRoute ?\r\n Home :\r\n Home\r\n }\r\n
\r\n \r\n {isMobile\r\n ? (\r\n
\r\n

Social Media

\r\n \r\n \"facebook\"\r\n \r\n \r\n \"instagram\"\r\n \r\n \r\n \"twitter\"\r\n \r\n \r\n \"youtube\"\r\n \r\n
\r\n )\r\n : (\r\n
\r\n

Social Media

\r\n Facebook\r\n Instagram\r\n Twitter\r\n Youtube\r\n
\r\n )\r\n }\r\n
\r\n {!hideForm &&
\r\n \r\n setZipInputValue(e.target.value)}\r\n />\r\n \r\n
}\r\n
\r\n

\r\n Disclaimer: This website and its operators are not an insurance provider, not an insurance company, not an insurance broker and do not make insurance decisions. We do not represent or are agents to any broker or insurance company and do not endorse any particular broker or insurance provider. We will submit the information you provide to a broker and/or an insurance provider. This website does not constitute an offer or solicitation for automobile or other insurance. Providing your information on this Site does not guarantee that you will be approved for automobile or other insurance. Not all insurance providers can or will insure your vehicle. The quotes, rates or savings advertised by\\on this website are not necessarily available from all providers or advertisers. Your actual quotes, rates or savings will vary based on many different factors like: Coverage Limits, Deductibles, Driving History, Education, Occupation, Type of vehicle, Location & more. For questions regarding your insurance policy, please contact your broker or insurance company directly. Residents of several states may not be eligible for insurance or may be subject to large premiums. \r\n
\r\n You are under no obligation to use our website or service to initiate contact, nor apply for insurance or any product with any broker or insurance company. We receive compensation, in the form of referral fees, from the insurance carriers, brokers, agents or other offers that we direct you to. Therefore, the amount of compensation provided, along with other factors, may impact which policy / offer you are presented. The offer you receive may be coming from the company that bid the most for your information. This website does not always provide you with an offer with the best rates or terms. Our website does not include all companies or all available offers. Using the service may have results that vary according to individual information provided. We encourage you to research all available insurance policy options relative to your situation. All trademarks and copyrights are the property of their respective owners.\r\n
\r\n * The results may vary due to the information you provide us. Based on the NAIC 2020 / 2021 Auto Insurance Database Report, the Avg.monthly expenditure for auto insurance is $89.\r\n

\r\n

{`© ${new Date().getFullYear()} Sureint.com All rights reserved`}.

\r\n
\r\n
\r\n );\r\n}\r\n","import React from 'react';\r\nimport Slider from \"react-slick\";\r\n\r\nimport styles from './styles.module.scss';\r\nimport classnames from 'classnames';\r\n\r\nexport const Carousel = ({\r\n slides,\r\n imgClassName\r\n}) => {\r\n const settings = {\r\n dots: true,\r\n infinite: true,\r\n speed: 600,\r\n slidesToShow: 1,\r\n slidesToScroll: 1,\r\n arrows: false,\r\n autoplay: true,\r\n autoplaySpeed: 3000,\r\n fade: true,\r\n };\r\n\r\n return (\r\n
\r\n \r\n {slides.map((item, index) => (\r\n
\r\n 0 ? 'low' : ''}\r\n className={classnames(styles.SlidePicture, imgClassName)}\r\n src={item.image}\r\n alt={item.title}\r\n />\r\n
\r\n

{item.title}

\r\n

{item.subtitle}

\r\n
\r\n
\r\n ))}\r\n
\r\n
\r\n );\r\n}\r\n","import React, { Fragment } from 'react';\r\n\r\nimport styles from './styles.module.scss';\r\n\r\nexport const InfoBlocks = ({\r\n info,\r\n}) => {\r\n return (\r\n \r\n
\r\n

Our Insurance Engine Can Help You Save!

\r\n

\r\n The Knowledge of Reducing The Price\r\n

\r\n

\r\n When you learn exactly what impacts the price of your policy, you gain the ability to utilize special discounts. Here are a few of the most popular ways Sureint recommends to save on your car insurance.\r\n

\r\n
\r\n \r\n {info.map((item, index) => (\r\n
\r\n \r\n

{item.text}

\r\n
\r\n ))}\r\n
\r\n
\r\n );\r\n}\r\n","import React from 'react';\r\n\r\nimport styles from './styles.module.scss';\r\n\r\nexport const BulletList = ({\r\n list,\r\n}) => {\r\n\r\n return (\r\n
    \r\n {list.map((item, index) => (\r\n
  • {item}
  • \r\n ))}\r\n
\r\n );\r\n}\r\n","import React from 'react';\r\nimport styles from './styles.module.scss';\r\n\r\nexport default function Companies() {\r\n return (\r\n <>\r\n
\r\n
\r\n
\r\n Compare best quotes from top insurance carriers, including:\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n )\r\n}\r\n","import { useOnce } from \"./useOnce\";\r\n\r\n\r\nexport default function useTrustedFormAndLeadId() {\r\n const callLeadidAndTrustedForm = () => {\r\n\t\tvar leadIdTriesLeft = 5;\r\n\t\tvar trustedFormTriesLeft = 5;\r\n\t\tfunction loadLeadid() {\r\n\t\t\tlet leadidTokenInput = document.getElementById('leadid_token');\r\n\t\t\tif (!leadidTokenInput) return;\r\n\t\t\tif (leadidTokenInput?.value && leadidTokenInput.value.trim() && !(/^(.)\\1+$/.test(leadidTokenInput.value.trim().replace(/-/g, ''))))\r\n\t\t\t\treturn;\r\n\t\t\tif (window.LeadiD && window.LeadiD.token && !(/^(.)\\1+$/.test(window.LeadiD.token.replace(/-/g, '')))) {\r\n\t\t\t\tleadidTokenInput.value = window.LeadiD.token;\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tif (window.LeadiD && !window.LeadiD.token) {\r\n\t\t\t\twindow.setTimeout(loadLeadid, 200);\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t\tif (leadIdTriesLeft <= 0)\r\n\t\t\t\treturn;\r\n\t\t\tleadIdTriesLeft--;\r\n\t\t\tvar s = document.createElement('script');\r\n\t\t\ts.id = 'LeadiDscript_campaign';\r\n\t\t\ts.type = 'text/javascript';\r\n\t\t\ts.async = true;\r\n\t\t\ts.onload = function () { window.setTimeout(loadLeadid, 500); };\r\n\t\t\ts.onerror = function () { window.setTimeout(loadLeadid, 500); };\r\n\t\t\ts.src = '//create.lidstatic.com/campaign/db726670-d7c7-48a2-6a47-74cdbb3a56aa.js?snippet_version=2';\r\n\t\t\tvar LeadiDscript = document.getElementById('LeadiDscript');\r\n\t\t\tLeadiDscript.parentNode.insertBefore(s, LeadiDscript);\r\n\t\t}\r\n\t\tfunction loadTrustedform() {\r\n\t\t\tvar inputElement = document.querySelector('[name=xxTrustedFormToken]');\r\n\t\t\tif (inputElement && inputElement.value && inputElement.value.trim())\r\n\t\t\t\treturn;\r\n\t\t\tif (trustedFormTriesLeft <= 0)\r\n\t\t\t\treturn;\r\n\t\t\ttrustedFormTriesLeft--;\r\n\t\t\tvar field = 'xxTrustedFormCertUrl';\r\n\t\t\tvar provideReferrer = false;\r\n\t\t\tvar invertFieldSensitivity = false;\r\n\t\t\tvar tf = document.createElement('script');\r\n\t\t\ttf.onload = function () { window.setTimeout(loadTrustedform, 500); };\r\n\t\t\ttf.onerror = function () { window.setTimeout(loadTrustedform, 500); };\r\n\t\t\ttf.type = 'text/javascript'; tf.async = true;\r\n\t\t\ttf.src = 'http' + ('https:' === document.location.protocol ? 's' : '') +\r\n\t\t\t\t'://api.trustedform.com/trustedform.js?field=' + escape(field) + '&provide_referrer=' + escape(provideReferrer) + '&l=' + new Date().getTime() + Math.random() + '&invert_field_sensitivity=' + invertFieldSensitivity + \"&use_tagged_consent=true\";\r\n\t\t\tlet s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s);\r\n\t\t}\r\n\r\n\t\tloadLeadid();\r\n\t\tloadTrustedform();\r\n\t};\r\n\r\n\tuseOnce(() => {\r\n\t\tcallLeadidAndTrustedForm();\r\n });\r\n}","import React, {Fragment, useState, useEffect, useRef} from 'react'\r\nimport {Link, useHistory, useLocation} from 'react-router-dom'\r\nimport IconEdit from 'assets/icon-edit.svg'\r\nimport IconCar from 'assets/icon-car.svg'\r\nimport IconHouse from 'assets/icon-house.svg'\r\nimport IconPhone from 'assets/icon-phone.svg'\r\nimport IconLocation from 'assets/icon-location.svg'\r\nimport IconShield from 'assets/icon-shield.svg'\r\nimport Banner1 from 'assets/banner1.svg'\r\nimport Banner2 from 'assets/banner2.svg'\r\nimport Banner3 from 'assets/banner3.svg'\r\nimport PhoneOneClick from 'assets/phone-oneclick.png'\r\nimport GreenArrow from 'assets/icon-arrow-right-green.svg'\r\nimport Arrow from 'assets/arrow-back-white.svg'\r\nimport queryString from 'query-string'\r\nimport {Button} from 'components/Button/Button'\r\nimport {useCookies} from 'react-cookie'\r\nimport useTrustedFormAndLeadId from '../../hooks/useTrustedFormAndLeadId'\r\nimport {LeadService} from 'services/LeadService'\r\nimport classNames from 'classnames'\r\nimport styles from './oneclick.module.scss'\r\n\r\nexport default function OneClick({\r\n data,\r\n onEditOneClick,\r\n emptyLeadData,\r\n isShort,\r\n}) {\r\n const location = useLocation()\r\n const history = useHistory()\r\n const [cookies, setCookie, removeCookie] = useCookies()\r\n const [loading, setShowLoading] = useState(false)\r\n const queryStringParams = queryString.parse(window.location.search)\r\n\r\n const tcpa = useRef(null)\r\n const [form, setForm] = useState({\r\n ...data.form,\r\n phone: queryStringParams['phone'],\r\n })\r\n\r\n const {\r\n phone,\r\n address,\r\n cars,\r\n car,\r\n isInsured,\r\n zipCode,\r\n fullName,\r\n firstName,\r\n isHomeOwner,\r\n } = data\r\n const otherCars = cars.slice(1)\r\n\r\n useTrustedFormAndLeadId()\r\n\r\n const onSetEditOneClick = () => {\r\n window.location.href =\r\n window.location.origin +\r\n location.pathname +\r\n location.search +\r\n '&v=one-click-edit'\r\n history.push({\r\n pathname: isShort ? '/auto-insurance' : '/',\r\n search: location.search + '&v=one-click-edit',\r\n })\r\n }\r\n\r\n const onDeleteOneClick = () => {\r\n window.location.href =\r\n window.location.origin +\r\n location.pathname +\r\n '?s2=one-click-full-data-reseted'\r\n }\r\n\r\n const handleSubmitButtonClick = async () => {\r\n setShowLoading(true)\r\n let newSearch = queryString.parse(location.search)\r\n delete newSearch['ldc']\r\n removeCookie('ldc')\r\n\r\n const trustedFields = {}\r\n if (document.getElementById('leadid_token')?.value)\r\n trustedFields['jornaya'] = document.getElementById('leadid_token').value\r\n if (document.querySelector('[name=xxTrustedFormToken]')?.value)\r\n trustedFields['trustedform'] = document.querySelector(\r\n '[name=xxTrustedFormToken]',\r\n ).value\r\n if (document.getElementById('mediaalpha-certificate-id')?.value)\r\n trustedFields['macertid'] = document.getElementById(\r\n 'mediaalpha-certificate-id',\r\n ).value\r\n\r\n const response = await LeadService.createEmptyLead({\r\n ...emptyLeadData,\r\n status: 'one-click',\r\n }).then(res => res.json())\r\n if (response.leadId !== '00000000-0000-0000-0000-000000000000') {\r\n newSearch['leadId'] = response.leadId\r\n setCookie('leadId', response.leadId)\r\n }\r\n\r\n const finalForm = {\r\n ...form,\r\n ...emptyLeadData,\r\n ...trustedFields,\r\n tcpa: tcpa.current.innerText,\r\n }\r\n\r\n if (window.LeadiD) window.LeadiD.snap()\r\n LeadService.post(finalForm).then(response => {\r\n if (response !== 'error') newSearch.leadId = response\r\n history.push({\r\n pathname: '/results',\r\n firstName: firstName,\r\n search: queryString.stringify(newSearch),\r\n })\r\n })\r\n }\r\n\r\n return (\r\n \r\n
\r\n
\r\n \r\n
\r\n

Let’s Drop Your Auto Insurance Rates Today!

\r\n
\r\n \r\n
\r\n \r\n \"Edit\r\n Edit Info\r\n \r\n

{fullName}

\r\n
\r\n \"Car\"\r\n {car}\r\n {otherCars.length > 0 && (\r\n <>\r\n \r\n +{otherCars.length} More\r\n \r\n
    \r\n {otherCars.map(({year, make, model}, i) => (\r\n
  • \r\n {year} {make} {model}\r\n
  • \r\n ))}\r\n
\r\n \r\n )}\r\n
\r\n
\r\n \"Phone\"\r\n {phone}\r\n
\r\n
\r\n \"Location\"\r\n \r\n {address}\r\n \r\n \r\n {address}\r\n \r\n
\r\n
\r\n \"Shield\"\r\n Currently {isInsured ? 'Insured' : 'Not Insured'}\r\n
\r\n
\r\n \"Home\"\r\n {isHomeOwner ? 'Homeowner' : 'Renter'}\r\n
\r\n
\r\n Not {firstName}?\r\n Click Here\r\n
\r\n
\r\n
\r\n \r\n I confirm my information and agree to the consent below:\r\n \r\n \r\n (\r\n \r\n By clicking \"Get Quotes\", I am providing my electronic signature\r\n and giving my express written consent to receive marketing and\r\n informational communications regarding insurance and related\r\n products via Automatic Telephone Dialing System and artificial and\r\n pre-recorded calls, SMS/MMS, and emails from this website and/or\r\n one or more of its{' '}\r\n \r\n marketing partners (listed here)\r\n {' '}\r\n at the phone number and/or email address I provide, including\r\n wireless numbers, if applicable, even if the number is on a\r\n corporate, state, or national Do Not Call list. Consent is not a\r\n condition to purchase services or products, and I may revoke my\r\n consent at any time. I request you provide my information to these\r\n partners so I may obtain their services. Carrier SMS/MMS and data\r\n rates may apply. By clicking \"Get Quotes\", and submitting this\r\n form, I attest that I am 18+ years of age and agree to the{' '}\r\n \r\n Privacy Policy\r\n {' '}\r\n and{' '}\r\n \r\n Terms & Conditions\r\n \r\n , including the mandatory arbitration provision and class action\r\n waiver contained therein.\r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n

\r\n How To Start Saving On Your Car Insurance?\r\n

\r\n
\r\n \r\n \"A\r\n

A Little Information

\r\n

\r\n Provide some basic information about yourself and your vehicle\r\n (This will allow us to generate customized personalized\r\n results).\r\n

\r\n
\r\n \r\n \r\n \"A\r\n

A Bit Of Magic

\r\n

\r\n Our Smart matching engine will sift through thousands of\r\n possible insurance policies and only present you with relevant\r\n and valid options.\r\n

\r\n
\r\n \r\n \r\n \"A\r\n

A Lot Of Savings

\r\n

\r\n You have the freedom to choose the specific policy you feel\r\n suits you the most from a list of matching policies we provide.\r\n

\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n

How Does Sureint Work?

\r\n

\r\n We take all the information you provide regarding yourself and\r\n your vehicle and compare it in real time to our live database\r\n connected to dozens of top insurance carriers. This results in\r\n a list of policies that are specific to your personal\r\n circumstances and are from carriers that are willing to insure\r\n you.\r\n

\r\n

\r\n Why is it so important to have personalized results? Because\r\n many of us spend countless hours filling endless documentation\r\n just to find out there is no relevant policy or getting\r\n declined for insurance. The Sureint platform makes sure you\r\n are presented with the top options in one place.\r\n

\r\n

\r\n The service is free and you are never obligated to buy the\r\n presented policy.\r\n

\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n )\r\n}\r\n","import React, {\r\n Fragment,\r\n useState,\r\n useCallback,\r\n useEffect,\r\n useRef,\r\n lazy,\r\n} from 'react'\r\nimport classnames from 'classnames'\r\nimport {useMediaQuery} from 'react-responsive'\r\nimport {useHistory, useLocation} from 'react-router-dom'\r\nimport {Helmet} from 'react-helmet'\r\nimport queryString from 'query-string'\r\n\r\nimport {\r\n SLIDES,\r\n ND_SLIDES,\r\n LIST_ONE,\r\n LIST_TWO,\r\n INFO_BLOCKS_DATA,\r\n NUMBERS_REGEX,\r\n MAX_ZIP_INPUT_LENGTH,\r\n} from 'consts'\r\n\r\nimport Car from 'assets/car.png'\r\nimport CarMobile from 'assets/car-mobile.png'\r\nimport CarTablet from 'assets/car-tablet.png'\r\nimport AI from 'assets/AI@3x.png'\r\nimport AI_webp from 'assets/AI@3x.webp'\r\nimport Servers from 'assets/servers@3x.png'\r\nimport ServersWebp from 'assets/servers@3x.webp'\r\nimport {Button} from 'components/Button/Button'\r\nimport {Carousel} from 'components/Carousel/Carousel'\r\nimport {InfoBlocks} from 'components/InfoBlocks/InfoBlocks'\r\nimport {BulletList} from 'components/BulletList/BulletList'\r\nimport Companies from './Companies'\r\nimport ZipInput from 'components/Input/ZipInput/ZipInput'\r\n\r\nimport styles from './styles.module.scss'\r\nimport {LeadService} from 'services/LeadService'\r\nimport {useOnce} from 'hooks/useOnce'\r\nimport {useCookies} from 'react-cookie'\r\nimport OneClick from 'views/OneClick/OneClick'\r\n\r\nconst Form = lazy(() => import('views/Form/FormWrapper'))\r\nconst isIE = /*@cc_on!@*/ false || !!document.documentMode\r\n\r\nconst EMPTY_GUID = '00000000-0000-0000-0000-000000000000'\r\n\r\nexport default function Landing(props) {\r\n const isMobile = useMediaQuery({query: '(max-width: 500px)'})\r\n const isDesktop = useMediaQuery({query: '(min-width: 1025px)'})\r\n let history = useHistory()\r\n let location = useLocation()\r\n\r\n const {isLoadingOneClick, oneClickData} = props\r\n const [isOneClickEdit, setIsOneClickEdit] = useState(false)\r\n const [isIncorrectInput, setIsIncorrectInput] = useState(false)\r\n const [submitClicked, setSubmitClicked] = useState(false)\r\n const [validationSuccessed, setValidationSuccessed] = useState(false)\r\n const [validationFinished, setValidationFinished] = useState(false)\r\n const [formConfigLoaded, setFormConfigLoaded] = useState(false)\r\n const [makesLoaded, setMakesLoaded] = useState(false)\r\n const [zipValue, setZipValue] = useState('')\r\n const [showLoading, setShowLoading] = useState(false)\r\n const [stateValue, setStateValue] = useState('')\r\n const [cityValue, setCityValue] = useState('')\r\n const [formConfig, setFormConfig] = useState(null)\r\n const [makes, setMakes] = useState(null)\r\n const [urlParams, setUrlParams] = useState(null)\r\n const [cookies, setCookie] = useCookies()\r\n const [titlesData, setTitlesData] = useState(null)\r\n const mainHeadline = useRef(null)\r\n const [isABVarient, setIsABVarient] = useState(false)\r\n const {isShort} = props\r\n let queryStringParams = queryString.parse(location.search)\r\n const isNewDesign = isShort\r\n const isV3 = queryStringParams['v'] === '3'\r\n \r\n let buttonLabel = 'Get Started'\r\n if (\r\n queryStringParams['cmp'] === 'qs' ||\r\n queryStringParams['cmp'] === 'ma' ||\r\n queryStringParams['cmp'] === 'ue'\r\n )\r\n buttonLabel = 'Continue'\r\n\r\n const getLeadId = () => {\r\n let urlParameters = queryString.parse(location.search)\r\n return urlParameters['leadId'] || cookies['leadId']\r\n }\r\n\r\n const getParametersFromUrl = queryStringParams => {\r\n let result = {}\r\n let odParams = [\r\n 'eid',\r\n 'clickid',\r\n 'utm_source',\r\n 'utm_medium',\r\n 'utm_term',\r\n 'utm_campaign',\r\n 's',\r\n 's1',\r\n 's2',\r\n 'device',\r\n 'adposition',\r\n 'gclid',\r\n 'ref',\r\n 'ijsbid',\r\n 'emailtracking',\r\n ]\r\n for (let key in queryStringParams) {\r\n let value = encodeURIComponent(queryStringParams[key])\r\n key = key.toLowerCase()\r\n if (odParams.indexOf(key) >= 0) result['od_' + key] = value\r\n if (key.indexOf('cx_') === 0) result[key] = value\r\n if (key == 'edu') result['education'] = value\r\n if (key == 'credrate') result['creditScore'] = value\r\n }\r\n // set some defaults if not exist\r\n if (!result['od_s'] && !cookies['od_s']) result['od_s'] = '200'\r\n if (!result['od_utm_source'] && !cookies['od_utm_source'])\r\n result['od_utm_source'] = 'organic_sureint'\r\n result['od_referrer'] = document.referrer\r\n result['od_localreferer'] = window.location.href\r\n return result\r\n }\r\n\r\n const saveObjectToCookies = obj => {\r\n for (let key in obj) {\r\n setCookie(key, obj[key])\r\n }\r\n }\r\n\r\n const onLeadCreateCallback = useCallback(\r\n (response, formData) => {\r\n if (response.success && response.leadId) {\r\n let dateNow = Date.now()\r\n let newSearch = queryString.parse(window.location.search)\r\n newSearch['leadId'] = response.leadId\r\n newSearch['ldc'] = dateNow\r\n setCookie('ldc', dateNow)\r\n history.replace({\r\n pathname: window.location.pathname,\r\n search: queryString.stringify(newSearch),\r\n formConfig: formConfig,\r\n makes: makes,\r\n leadId: response.leadId,\r\n formData: formData,\r\n })\r\n }\r\n },\r\n [location],\r\n )\r\n\r\n const afterGetStateResult = () => {\r\n document.body.classList.remove(styles.hidden)\r\n // Dynamically change font size until reached two lines\r\n if (mainHeadline.current) {\r\n let lineHeight = Number(\r\n document.defaultView\r\n .getComputedStyle(mainHeadline.current)\r\n .lineHeight.replace('px', ''),\r\n )\r\n let linesCount = Math.ceil(mainHeadline.current.offsetHeight / lineHeight)\r\n if (linesCount >= 3) {\r\n let fontSize = Math.round(\r\n Number(\r\n document.defaultView\r\n .getComputedStyle(mainHeadline.current, null)\r\n .fontSize.replace('px', ''),\r\n ),\r\n )\r\n while (linesCount >= 3) {\r\n fontSize -= 1\r\n mainHeadline.current.style.fontSize = fontSize + 'px'\r\n linesCount = Math.ceil(mainHeadline.current.offsetHeight / lineHeight)\r\n lineHeight = Number(\r\n document.defaultView\r\n .getComputedStyle(mainHeadline.current)\r\n .lineHeight.replace('px', ''),\r\n )\r\n }\r\n } else {\r\n let fontSize = Math.round(\r\n Number(\r\n document.defaultView\r\n .getComputedStyle(mainHeadline.current, null)\r\n .fontSize.replace('px', ''),\r\n ),\r\n )\r\n while (linesCount <= 2) {\r\n fontSize += 1\r\n mainHeadline.current.style.fontSize = fontSize + 'px'\r\n lineHeight = Number(\r\n document.defaultView\r\n .getComputedStyle(mainHeadline.current)\r\n .lineHeight.replace('px', ''),\r\n )\r\n linesCount = Math.round(\r\n mainHeadline.current.offsetHeight / lineHeight,\r\n )\r\n }\r\n fontSize -= 1\r\n mainHeadline.current.style.fontSize = fontSize + 'px'\r\n }\r\n }\r\n document.body.classList.remove(styles.transparent)\r\n }\r\n\r\n const isValidZipCode = zip => {\r\n return /^\\d{5,5}$/.test(zip.trim())\r\n }\r\n\r\n useOnce(() => {\r\n if (isShort) {\r\n window.getTitles\r\n .then(data => {\r\n if (data) {\r\n setTitlesData(data)\r\n }\r\n afterGetStateResult()\r\n })\r\n .catch(err => {\r\n console.error('error on get state:', err)\r\n afterGetStateResult()\r\n })\r\n }\r\n let queryStringParams = queryString.parse(location.search)\r\n let urlParams = getParametersFromUrl(queryStringParams)\r\n if (queryStringParams['zip'] && isValidZipCode(queryStringParams['zip']))\r\n handleOnChange({target: {value: queryStringParams['zip']}})\r\n if (\r\n (queryStringParams['cx_abvarient'] == '1' ||\r\n queryStringParams['cx_abvarient'] == '2' ||\r\n queryStringParams['cx_abvarient'] == '3') &&\r\n queryStringParams['abvisited'] != '1' &&\r\n cookies['abvisited'] != '1'\r\n ) {\r\n setIsABVarient(true)\r\n createLeadWithRetries({\r\n localTime: getUserCurrentTime(),\r\n ...urlParams,\r\n zip: '',\r\n city: '',\r\n state: '',\r\n status: 'Visit',\r\n })\r\n setCookie('abvisited', '1')\r\n let newSearch = queryString.parse(location.search)\r\n newSearch['abvisited'] = '1'\r\n history.replace({\r\n pathname: window.location.pathname,\r\n search: queryString.stringify(newSearch),\r\n })\r\n }\r\n saveObjectToCookies(urlParams)\r\n setUrlParams(urlParams)\r\n\r\n let promise = window.getFormConfig\r\n if (!window.getFormConfig) {\r\n promise = fetch(`/data/getFormConfig` + location.search, {\r\n method: 'POST',\r\n body: JSON.stringify({\r\n isShort: isShort ?? false,\r\n url: window.location.href,\r\n }),\r\n headers: {\r\n 'Content-Type': 'application/json',\r\n },\r\n }).then(response => {\r\n if (response.ok) {\r\n return response.json()\r\n }\r\n throw new Error('Network response was not ok.')\r\n })\r\n }\r\n\r\n promise.then(responseFormConfig => {\r\n Form._ctor()\r\n setFormConfig(responseFormConfig)\r\n setFormConfigLoaded(true)\r\n window.getFormConfig = null\r\n })\r\n fetch('/data/getCarMakers')\r\n .then(res => res.json())\r\n .then(data => {\r\n setMakes(data)\r\n setMakesLoaded(true)\r\n })\r\n })\r\n\r\n const getUserCurrentTime = () => {\r\n try {\r\n return new Date().toString().split('GMT')[0]\r\n } catch (err) {\r\n console.error('error getting user local time:', err)\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (\r\n submitClicked &&\r\n validationSuccessed &&\r\n formConfigLoaded &&\r\n makesLoaded\r\n ) {\r\n let formData = {\r\n zip: zipValue,\r\n city: cityValue,\r\n state: stateValue,\r\n localTime: getUserCurrentTime(),\r\n ...urlParams,\r\n }\r\n\r\n if (!isABVarient) createLeadWithRetries(formData)\r\n else LeadService.updateLead({...formData, leadId: getLeadId()})\r\n let newSearch = queryString.parse(window.location.search)\r\n if (isShort) newSearch['sf'] = '1'\r\n history.push({\r\n pathname: '/form',\r\n search: queryString.stringify(newSearch),\r\n formConfig: formConfig,\r\n makes: makes,\r\n formData: formData,\r\n isShort: isShort,\r\n })\r\n }\r\n }, [\r\n submitClicked,\r\n validationSuccessed,\r\n formConfigLoaded,\r\n makesLoaded,\r\n formConfig,\r\n makes,\r\n history,\r\n ])\r\n\r\n const checkLeadCreateResponse = response => {\r\n return new Promise((resolve, reject) => {\r\n if (\r\n response &&\r\n response.success &&\r\n response.leadId &&\r\n response.leadId !== EMPTY_GUID\r\n )\r\n resolve([true, response])\r\n else if (response) {\r\n console.warn('Unable to create lead, retrying')\r\n setTimeout(resolve.bind(null, [false, null]), 1500)\r\n }\r\n })\r\n }\r\n\r\n const checkFinalResult = result => {\r\n return new Promise((resolve, reject) => {\r\n if (result[0]) resolve(result[1])\r\n else reject('Unable to create lead after maximum tries')\r\n })\r\n }\r\n\r\n const tryCreateLead = (tryNum, result, leadData) => {\r\n if (!result[0]) {\r\n if (tryNum > 0) leadData['cx_fallbackcookie'] = 'retry-' + tryNum\r\n return LeadService.createEmptyLead(leadData).then(res => res.json())\r\n }\r\n return result[1]\r\n }\r\n\r\n const createLeadWithRetries = leadData => {\r\n // Make sure we dont have a ldc parameter or it has not run the timeout\r\n let queryParams = queryString.parse(location.search)\r\n let ldc = queryParams['ldc'] || cookies['ldc']\r\n if (ldc) {\r\n let minutesElapsed = (Date.now() - ldc) / 1000 / 60\r\n if (minutesElapsed < 60) return\r\n }\r\n // Retry maximum 5 times with 1500ms delay to create a new lead\r\n let maxRetries = 5\r\n let p = Promise.resolve([false, null])\r\n for (let i = 0; i < maxRetries; i++) {\r\n p = p\r\n .then(result => tryCreateLead(i, result, leadData))\r\n .then(checkLeadCreateResponse)\r\n }\r\n return p\r\n .then(checkFinalResult)\r\n .then(response => onLeadCreateCallback(response, leadData))\r\n .catch(err => console.error('error creating lead', err))\r\n }\r\n\r\n const handleSubmit = useCallback(\r\n event => {\r\n event.preventDefault()\r\n const correctZipInput =\r\n zipValue.length === MAX_ZIP_INPUT_LENGTH && NUMBERS_REGEX.test(zipValue)\r\n setSubmitClicked(true)\r\n\r\n if (correctZipInput) {\r\n if (validationFinished && formConfigLoaded && makesLoaded) {\r\n setShowLoading(false)\r\n } else {\r\n setShowLoading(true)\r\n }\r\n } else {\r\n setIsIncorrectInput(true)\r\n }\r\n },\r\n [validationFinished, formConfigLoaded, makesLoaded, zipValue],\r\n )\r\n\r\n const handleOnChange = useCallback(event => {\r\n const value = event.target.value\r\n setIsIncorrectInput(false)\r\n setZipValue(value)\r\n setSubmitClicked(false)\r\n setValidationSuccessed(false)\r\n\r\n if (value.length === MAX_ZIP_INPUT_LENGTH) {\r\n if (NUMBERS_REGEX.test(value)) {\r\n setValidationFinished(false)\r\n fetch('/validation/zip?zipcode=' + value)\r\n .then(res => res.json())\r\n .then(result => {\r\n setShowLoading(false)\r\n setValidationFinished(true)\r\n if (result.valid) {\r\n setValidationSuccessed(true)\r\n setCityValue(result.city)\r\n setStateValue(result.state)\r\n } else {\r\n setValidationSuccessed(false)\r\n setIsIncorrectInput(true)\r\n }\r\n })\r\n } else {\r\n setIsIncorrectInput(true)\r\n }\r\n }\r\n }, [])\r\n\r\n const createEmptyLeadOneClickData = {\r\n zip: zipValue,\r\n city: cityValue,\r\n state: stateValue,\r\n localTime: getUserCurrentTime(),\r\n ...urlParams,\r\n }\r\n if (oneClickData && !isOneClickEdit)\r\n return (\r\n \r\n )\r\n\r\n return (\r\n <>\r\n {isLoadingOneClick && (\r\n
\r\n
\r\n
\r\n )}\r\n \r\n {isNewDesign && (\r\n \r\n \r\n {titlesData?.seo_title\r\n ? titlesData.seo_title\r\n : 'Auto Insurance. Affordable Quotes. | Sureint'}\r\n \r\n \r\n \r\n \r\n )}\r\n
\r\n \r\n {isShort ? (\r\n titlesData?.title ? (\r\n titlesData.title\r\n ) : titlesData?.state ? (\r\n isV3 ? (\r\n <>\r\n Let’s Drop Your Auto Insurance\r\n
Rates In {titlesData.state}!\r\n \r\n ) : (\r\n <>\r\n Get Cheaper Auto Insurance\r\n
Rates In {titlesData.state}!\r\n \r\n )\r\n ) : isV3 ? (\r\n <>Let’s Drop Your Auto Insurance Rates Today!\r\n ) : (\r\n <>Get Cheaper Auto Insurance Rates Today!\r\n )\r\n ) : (\r\n <>\r\n Compare Auto Insurance.\r\n
The Intelligent Way.\r\n \r\n )}\r\n \r\n {isNewDesign ? (\r\n Enter Your Zip Code:\r\n ) : (\r\n
\r\n )}\r\n \r\n \r\n \r\n {!isNewDesign && (\r\n \r\n )}\r\n {isNewDesign && isDesktop && (\r\n
\r\n )}\r\n \r\n \r\n
\r\n \r\n {isDesktop && !isNewDesign && (\r\n \r\n
\r\n
\r\n
\r\n \r\n )}\r\n {isNewDesign ? (\r\n <>\r\n
\r\n

\r\n {titlesData?.sub_title\r\n ? titlesData.sub_title\r\n : 'How To Get Affordable Car Insurance And Find Cheapest Rates Online?'}\r\n

\r\n

\r\n Think about all the complex algorithms insurance companies are\r\n using to determine your quotes. We are using similar data\r\n capabilities to make that information accessible to you as a\r\n consumer.\r\n

\r\n
\r\n \r\n
\r\n

\r\n {titlesData?.paragraph_title\r\n ? titlesData.paragraph_title\r\n : 'Your Kind of Insurance'}\r\n

\r\n

\r\n Your insurance needs vary greatly. Are you looking for\r\n liability insurance? Maybe gap insurance? A policy with no\r\n down payment or no deposit? If you are not familiar with these\r\n terms you should read a little about the differences before\r\n committing to any policy.\r\n

\r\n

\r\n Finding affordable car insurance in an intelligent way has\r\n never been easier. Looking for cheap quotes does not mean you\r\n are willing to compromise on full coverage. Every driver can\r\n find the right insurance carrier, it’s just a matter of\r\n knowing where to look.\r\n

\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n

Did You Know?

\r\n

\r\n Comparing between multiple providers is one of the best ways\r\n to save money on your auto insurance (especially if you have\r\n tickets, DUI or SR22).\r\n

\r\n
\r\n
\r\n \r\n ) : (\r\n <>\r\n
\r\n

\r\n How Machine Learning Can Help You Save\r\n

\r\n

\r\n Think about all the complex algorithms insurance companies are\r\n using to determine the cost of your monthly premiums. We are\r\n using similar data capabilities to make that information\r\n accessible to you as a consumer.\r\n

\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n

Did You Know?

\r\n

\r\n Comparing between multiple providers is one of the best ways\r\n to save money on your auto insurance.\r\n

\r\n
\r\n
\r\n \r\n )}\r\n
\r\n {!isNewDesign && (\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n

\r\n Information Becomes An Ability To Save\r\n

\r\n

\r\n Sureint’s proprietary technology takes the information you\r\n have provided and uses it to check thousands of policies from\r\n different insurance providers and find an intelligent match.\r\n An intelligent match will occur when the information you have\r\n provided fits the actuary restrictions of an insurance\r\n provider and they are able to insure you at a good price.\r\n

\r\n

\r\n All the results you will receive using our comparison platform\r\n are companies you were intelligently matched with.\r\n

\r\n
\r\n \r\n \r\n \r\n \r\n \"Servers\"\r\n \r\n \r\n

Did You Know?

\r\n

\r\n The Sureint platform can find you a policy even if you are\r\n not currently insured.\r\n

\r\n
\r\n \r\n \r\n \r\n Save Money The Intelligent Way\r\n \r\n \r\n When shopping around for an insurance policy, price is definitely\r\n something to take into consideration. But, there are many other\r\n things you should be aware of that might be even more important.\r\n The type and amount of coverage you will receive from a policy\r\n should be the dominant factor when assessing the best policy\r\n purchase.\r\n

\r\n \r\n
\r\n

\r\n Insurance That Changes With You\r\n

\r\n

\r\n We take into consideration many pieces of information you\r\n provide when deciding what insurance options to show you.\r\n These options will be constructed by our algorithm to answer\r\n as many of your needs as possible.\r\n
\r\n
\r\n As your circumstances change, please feel free to recheck your\r\n insurance options for a policy that fits you better.\r\n

\r\n
\r\n
\r\n

\r\n Has There Been a Change in:\r\n

\r\n \r\n
\r\n \r\n \r\n )}\r\n \r\n \r\n )\r\n}\r\n","import { useEffect } from 'react';\r\nimport { withRouter } from 'react-router-dom';\r\n\r\nfunction ScrollToTop({ history }) {\r\n useEffect(() => {\r\n const unlisten = history.listen(() => {\r\n window.scrollTo(0, 0);\r\n });\r\n return () => {\r\n unlisten();\r\n }\r\n }, [history]);\r\n\r\n return (null);\r\n}\r\n\r\nexport default withRouter(ScrollToTop);\r\n","import React, {useState, lazy, Suspense} from 'react'\r\nimport {BrowserRouter as Router, Route, Switch} from 'react-router-dom'\r\nimport queryString from 'query-string'\r\n//import TagManager from 'react-gtm-module';\r\n\r\nimport Header from 'components/Header/Header'\r\nimport Footer from 'components/Footer/Footer'\r\nimport Landing from 'views/Landing/Landing'\r\nimport OneClick from 'views/OneClick/OneClick'\r\nimport ScrollToTop from 'hooks/useScrollToTop'\r\nimport {Helmet} from 'react-helmet'\r\nimport {useCookies} from 'react-cookie'\r\nimport {useOnce} from 'hooks/useOnce'\r\n\r\nconst ResultRates = lazy(() => import('views/ResultRates/ResultRates'))\r\nconst Contact = lazy(() => import('views/Contact/Contact'))\r\nconst CCPA = lazy(() => import('views/CCPA/CCPA'))\r\nconst About = lazy(() => import('views/About/About'))\r\nconst Terms = lazy(() => import('views/Terms/Terms'))\r\nconst PrivacyPolicy = lazy(() => import('views/PrivacyPolicy/PrivacyPolicy'))\r\nconst MarketingPartners = lazy(() =>\r\n import('views/MarketingPartners/MarketingPartners'),\r\n)\r\nconst AdvertisingDisclosure = lazy(() =>\r\n import('views/AdvertisingDisclosure/AdvertisingDisclosure'),\r\n)\r\nconst Error404 = lazy(() => import('./views/404/404'))\r\nconst Form = lazy(() => import('views/Form/FormWrapper'))\r\n\r\nconst routes = [\r\n {\r\n component: Landing,\r\n path: '/',\r\n },\r\n {\r\n component: Landing,\r\n path: '/:a(aws-hc-app.*)',\r\n },\r\n {\r\n component: Landing,\r\n path: '/auto-insurance',\r\n props: {\r\n isShort: true,\r\n },\r\n logoLinkDisabled: true,\r\n hideFooterForm: true,\r\n },\r\n {\r\n component: Form,\r\n path: '/form',\r\n logoLinkDisabled: true,\r\n hideFooterForm: true,\r\n },\r\n {\r\n component: ResultRates,\r\n path: '/results',\r\n logoLinkDisabled: true,\r\n hideFooterForm: true,\r\n },\r\n {\r\n component: Contact,\r\n path: '/contact',\r\n },\r\n {\r\n component: CCPA,\r\n path: '/privacy-rights',\r\n },\r\n {\r\n component: About,\r\n path: '/about',\r\n },\r\n {\r\n component: Terms,\r\n path: '/terms',\r\n },\r\n {\r\n component: PrivacyPolicy,\r\n path: '/privacy-policy',\r\n },\r\n {\r\n component: MarketingPartners,\r\n path: '/marketing-partners',\r\n },\r\n {\r\n component: AdvertisingDisclosure,\r\n path: '/advertising-disclosure',\r\n },\r\n {\r\n component: MarketingPartners,\r\n path: '/farmers-group',\r\n props: {\r\n pageName: 'farmers-group',\r\n },\r\n },\r\n {\r\n component: MarketingPartners,\r\n path: '/farmers-group-exchanges',\r\n props: {\r\n pageName: 'farmers-group-exchanges',\r\n },\r\n },\r\n]\r\n\r\n/*\r\nconst tagManagerArgs = {\r\n gtmId: 'GTM-TV8ZV39'\r\n};\r\nTagManager.initialize(tagManagerArgs);\r\n*/\r\n\r\nexport const AppRouter = () => {\r\n const [logoLinkDisabled, setLogoLinkDisabled] = useState(false)\r\n const [hideFooterForm, setHideFooterForm] = useState(false)\r\n\r\n const [isLoadingOneClick, setIsLoadingOneClick] = useState(() => window.passedBasicOneClickValidation ?? false);\r\n const [oneClickData, setOneClickData] = useState(null)\r\n\r\n const routeRenderHandler = (props, route) => {\r\n setLogoLinkDisabled(route.logoLinkDisabled || false)\r\n setHideFooterForm(route.hideFooterForm || false)\r\n if (\r\n ['/', '/form', '/auto-insurance', '/results'].indexOf(route.path) >= 0\r\n ) {\r\n let queryParams = queryString.parse(window.location.search)\r\n if (\r\n !queryParams['utm_source'] ||\r\n queryParams['utm_source'].toLowerCase() !== 'surema'\r\n )\r\n window.fbq && window.fbq('track', 'PageView')\r\n }\r\n if (route.path === '/' || route.path === '/auto-insurance') {\r\n window.gtag &&\r\n window.gtag('event', 'conversion', {\r\n send_to: 'AW-640072390/BluVCMjlv88BEMb1mrEC',\r\n })\r\n }\r\n if (route.path === '/results') {\r\n window.gtag &&\r\n window.gtag('event', 'conversion', {\r\n send_to: 'AW-640072390/03QCCN3Lzs8BEMb1mrEC',\r\n })\r\n }\r\n return React.createElement(route.component, {\r\n ...props,\r\n ...route.props,\r\n isLoadingOneClick,\r\n oneClickData,\r\n })\r\n }\r\n\r\n let organizationSchemaJson = JSON.stringify({\r\n '@context': 'http://schema.org/',\r\n '@type': 'Organization',\r\n name: 'Sureint',\r\n url: window.location.origin,\r\n logo: window.location.origin + '/assets/images/site-logo-large.jpg',\r\n sameAs: [\r\n 'https://www.facebook.com/SureintInsurance',\r\n 'https://www.instagram.com/sureintinsurance/',\r\n 'https://twitter.com/Sureintofficial',\r\n 'https://www.youtube.com/channel/UCNaCo483fDbwMA2FC9ISzCA',\r\n ],\r\n })\r\n\r\n useOnce(() => {\r\n window.getFormConfig\r\n .then(x => {\r\n // if (x.oneClickData && window.passedBasicOneClickValidation) {\r\n // setOneClickData({...x.oneClickData, form: x.defaultData})\r\n // }\r\n setIsLoadingOneClick(false)\r\n })\r\n .catch(() => setIsLoadingOneClick(false))\r\n })\r\n\r\n return (\r\n \r\n \r\n \r\n Auto Insurance. The Intelligent Way. | Sureint\r\n \r\n \r\n \r\n \r\n
\r\n \r\n {routes.map(route => (\r\n routeRenderHandler(props, route)}\r\n />\r\n ))}\r\n \r\n \r\n