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,KAAK,sBAELC,wBAAyB,CACvBC,OAAQC,KAAKC,UAvEe,CACpC,CACE,WAAY,sBACZ,QAAS,UACTd,KAAM,qBACNG,YACE,iJACFY,OAAQ,CACN,QAAS,SACTC,aAAc,CACZ,QAAS,SACTC,YAAa,EACbC,WAAY,GAEdC,OAAQ,CACN,QAAS,SACTnB,KAAM,eAERE,IAAK,wLAEPkB,gBAAiB,CACf,QAAS,kBACTH,YAAa,IACbI,YAAa,SA4CNf,EAAAA,EAAAA,4BAQP,2BACa,OAAVvB,QAAU,IAAVA,OAAA,EAAAA,EAAY0B,WAAY,gBADfH,EAAAA,EAAAA,aAIbhB,EACAQ,O,4tBChHA,MAAMwB,EAA4B,IAAmC,IAAlC,QAAEf,EAAF,OAAWF,GAAuB,EAAZkB,GAAY,YAC1E,OAAKhB,GAAuB,KAAZA,EAGZF,GAEA,QAAC,IAAD,WACE,kBAAmBE,QAASA,GAAagB,GAA9BlB,MAKf,QAAC,IAAD,uFACE,oBAAME,QAASA,GAAagB,GAA5B,qFAXK,O,uBCnBNC,OAAOC,SAAWD,OAAOC,UAAY,IAAIC,KAAK,CAC7C,IACA,WACE,OAAO,EAAQ,Y","sources":["webpack://_N_E/./src/pages/index.tsx","webpack://_N_E/./src/v2-components/organisms/Meta.tsx","webpack://_N_E/"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unsafe-argument */\nimport { NextPage } from \"next\";\nimport Head from \"next/head\";\nimport { useMemo, useState } from \"react\";\n\nimport { ContentfulPage } from \"#components/contentful/contentful.types\";\nimport { parseGenericPage } from \"#components/pages/contentful/GenericPage/GenericPage\";\nimport { meta } from \"#constants/meta\";\nimport { getGenericPage } from \"#services/ContentfulService\";\nimport useAnonymousExperimentStore from \"#store/local.anonymousABTest\";\nimport { Meta } from \"#v2-components/organisms/Meta\";\n\nconst style = {\n display: \"flex\",\n flexDirection: \"column\" as const,\n width: \"max(100vw, 100%)\",\n background: \"white\",\n};\n\nconst Home: NextPage<{ contentful: ContentfulPage }> = ({ contentful }) => {\n const [_hasDoneFirstLoad, setHasDoneFirstLoad] = useState(false);\n const { setReady: setExperimentsReady } = useAnonymousExperimentStore();\n const { header, sectionList } = useMemo(() => {\n const sectionListInitial = parseGenericPage(\n contentful.pageSections,\n setExperimentsReady,\n {\n onHeroVisibilityDetected: () => {\n setHasDoneFirstLoad(true);\n },\n },\n );\n const headerInitial = sectionListInitial.shift();\n return { header: headerInitial, sectionList: [sectionListInitial] };\n }, [contentful]);\n\n const sections = (() => {\n return sectionList;\n })();\n\n const schemaOrgOrganizationStructuredData = [\n {\n \"@context\": \"http://www.schema.org\",\n \"@type\": \"Organization\",\n name: \"Tenet Energy\",\n logo: \"https://tenet.com/img/logo.svg\",\n url: \"https://tenet.com\",\n description: contentful.metaTag,\n },\n ];\n const schemaOrgReviewStructuredData = [\n {\n \"@context\": \"https://schema.org/\",\n \"@type\": \"Product\",\n name: \"Tenet EV Financing\",\n description:\n \"Fast, affordable financing from trusted EV experts. Lower monthly payments by more than $200 when you switch to Tenet. Get Funded in 48 hours.\",\n review: {\n \"@type\": \"Review\",\n reviewRating: {\n \"@type\": \"Rating\",\n ratingValue: 5,\n bestRating: 5,\n },\n author: {\n \"@type\": \"Person\",\n name: \"Joe Cartaya\",\n },\n url: \"https://www.google.com/maps/reviews/@40.7235269,-74.0008853,17z/data=!3m1!4b1!4m6!14m5!1m4!2m3!1sChZDSUhNMG9nS0VJQ0FnSURKdjRLMU9nEAE!2m1!1s0x0:0xef3165535fe47b3a?hl=en-US&entry=ttu\",\n },\n aggregateRating: {\n \"@type\": \"AggregateRating\",\n ratingValue: 4.6,\n reviewCount: 21,\n },\n },\n ];\n\n return (\n