PageSourceSearch

https://www.truecar.com/assets/_next/static/chunks/pages/[extra]/r…/electric/incentives-bf48bb0a25030bfd.js

js truecar.com collected 2026-09-24 08:31:33 UTC 146,174 bytes, 186 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6811],{249:(e,t,a)=>{"use strict";a.d(t,{Q:()=>o});var r=a(6029),n=a(55729),l=a(64591),s=a(2178),i=a(93861);let o=n.forwardRef((e,t)=>{let{name:a,register:o,required:c,onSubmit:d,onGeolocationChange:m,geolocateOnChange:u,label:h="ZIP Code",onNetworkError:f,onChange:p,...g}=e,v=(0,s.J)(),x=(0,n.useCallback)(async e=>{try{if(5!==e.length)return i.hu;{d?.();let t=await v(e);if(!t)return m?.(void 0),i.hu;m?.(t)}}catch{if(f)return f(),!1;return i.Rb}},[v,m,f,d]),{name:b,ref:y}=o(a,{required:!!c&&i.hu,zip:!0,custom:x});return(0,r.jsx)(l.Y,{name:b,ref:e=>{y(e),"function"==typeof t?t(e):t&&(t.current=e)},autoComplete:"postal-code",label:h,placeholder:"ZIP Code",inputMode:"numeric",maxLength:5,required:c,onChange:e=>{u&&x(e),p?.(e)},...g})})},1093:(e,t,a)=>{"use strict";a.d(t,{T:()=>s,p:()=>o});var r=a(6029),n=a(55729),l=a(76688);let s=e=>(0,r.jsx)(r.Fragment,{children:e.map((e,t)=>(0,r.jsx)(n.Fragment,{children:i(e)},t))}),i=e=>{switch(e.type){case"link":return(0,r.jsx)(l.N,{href:e.href,children:e.content});case"break":return(0,r.jsx)("br",{});case"text":return e.content;case"ordered-list":case"unordered-list":{let t="ordered-list"===e.type?"ol":"ul",a="ordered-list"===e.type?"list-decimal":"list-disc";return(0,r.jsx)(t,{className:a,children:e.content.map((e,t)=>(0,r.jsx)("li",{children:i(e)},t))})}}},o=e=>e.map(c).join(""),c=e=>{switch(e.type){case"link":return`<a href="${e.href}">${e.content}</a>`;case"break":return"<br />";case"text":return e.content;case"ordered-list":case"unordered-list":{let t="ordered-list"===e.type?"ol":"ul";return`<${t}>${e.content.map(e=>`<li>${c(e)}</li>`).join("")}</${t}>`}}}},1336:(e,t,a)=>{"use strict";a.d(t,{C:()=>s});var r=a(6029),n=a(75155);a(55729);var l=a(65491);let s=e=>{let t,a,s,i=(0,n.c)(6);i[0]!==e?({fill:t,...a}=e,i[0]=e,i[1]=t,i[2]=a):(t=i[1],a=i[2]);let o="remove";return i[3]!==a||i[4]!==o?(s=(0,r.jsx)(l.I,{spriteID:o,...a}),i[3]=a,i[4]=o,i[5]=s):s=i[5],s}},2178:(e,t,a)=>{"use strict";a.d(t,{J:()=>r.Jq});var r=a(55548)},3211:(e,t,a)=>{"use strict";a.d(t,{b:()=>s});var r=a(6029),n=a(75155);a(55729);var l=a(65491);let s=e=>{let t,a,s,i=(0,n.c)(6);i[0]!==e?({fill:t,...a}=e,i[0]=e,i[1]=t,i[2]=a):(t=i[1],a=i[2]);let o="arrow_drop_up";return i[3]!==a||i[4]!==o?(s=(0,r.jsx)(l.I,{spriteID:o,...a}),i[3]=a,i[4]=o,i[5]=s):s=i[5],s}},4113:(e,t,a)=>{"use strict";a.d(t,{P:()=>l});var r=a(36087),n=a(64226);let l=(0,r.v)({filterType:n.u.enum("brand","price","body","brands").optional,makeSlug:n.u.string.optional,postalCode:n.u.string.optional,bodyStyle:n.u.enum("Convertibles","Coupes","SUVs","Sedans","Trucks","Vans","Minivans","Wagons","Hatchbacks","Hybrids","Electrics").optional,sort:n.u.enum("type","all").optional},e=>{let{filterType:t,...a}=e;return{filterType:"brand"===t?"brands":t,...a}},e=>({path:"/shop/new/",query:e}));l.routeName="shopMakeModelRoute"},5195:(e,t,a)=>{"use strict";a.d(t,{Z:()=>l});var r=a(57174),n=a.n(r);function l(e,t){let{decimalPlaces:a,minDecimalPlaces:r,maxDecimalPlaces:l}=t??{};if("number"!=typeof e||Number.isNaN(e))return"--";let s=t?.currency?{style:"currency",currency:"USD"}:{},i=n()([a,l,r],e=>void 0===e),o=new Intl.NumberFormat("en-US",{...s,notation:t?.compact?"compact":void 0,minimumFractionDigits:i?0:a??r??0,maximumFractionDigits:i?0:a??l??4,useGrouping:t?.thousandSeparated??!0,signDisplay:t?.forceSign?"exceptZero":"auto"}).format(e);return t?.compact?o.replace("K","k"):o}},7637:(e,t,a)=>{"use strict";a.d(t,{O:()=>p});var r=a(6029),n=a(75155),l=a(55729),s=a(38428),i=a(74164),o=a(66218);let c=e=>(e.match(/\d+/g)||[]).join(""),d=e=>e&&""!==e&&0!==c(e).length?(0,o.G)(c(e)):"",m=function(e){let{padCents:t=!1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return"";let a=(e=>{let t=(e.match(/[\d.]/g)||[]).join(""),a=t.indexOf(".");if(-1===a)return t;let r=t.slice(0,a),n=t.slice(a+1).replace(/\./g,"").slice(0,2);return`${r}.${n}`})(e);if(!a)return"";if("."===a)return t?"$0.00":"$0.";let r=a.includes("."),[n,l=""]=a.split("."),s=(0,o.G)(""===n?"0":n);return t?`${s}.${l.padEnd(2,"0")}`:r?`${s}.${l}`:s},u=e=>m(e,{padCents:!0}),h={replace:d,format:d,accept:/\d+/g},f={replace:e=>m(e,{padCents:!1}),format:e=>m(e,{padCents:!1}),accept:/[\d.]/g},p=e=>{let t,a,o,c,d,p,g,v,x,b,y,w,j,N,k=(0,n.c)(35);k[0]!==e?({ref:d,includeCents:g,value:x,onChange:o,onFocus:c,onBlur:a,inputMode:t,type:v,...p}=e,k[0]=e,k[1]=t,k[2]=a,k[3]=o,k[4]=c,k[5]=d,k[6]=p,k[7]=g,k[8]=v,k[9]=x):(t=k[1],a=k[2],o=k[3],c=k[4],d=k[5],p=k[6],g=k[7],v=k[8],x=k[9]);let S=void 0!==g&&g,_=void 0===v?"tel":v,[I,C]=l.useState(!1);k[10]!==S?(b=(e=>{let{includeCents:t}=e;return t?f:h})({includeCents:S}),k[10]=S,k[11]=b):b=k[11];let E=b;
1k[12]!==S||k[13]!==I||k[14]!==x?(y=S&&!I&&x?u(x):x,k[12]=S,k[13]=I,k[14]=x,k[15]=y):y=k[15];let T=y;return k[16]!==o?(w=e=>{o?.(e)},k[16]=o,k[17]=w):w=k[17],k[18]!==S||k[19]!==t||k[20]!==a||k[21]!==o||k[22]!==c||k[23]!==d||k[24]!==p||k[25]!==_||k[26]!==x?(j=e=>{let{value:n,onChange:l}=e;return(0,r.jsx)(i.D,{...p,ref:d,type:_,inputMode:t??(S?"decimal":"numeric"),value:n,deprecatedOnChange:l,onFocus:e=>{if(C(!0),S&&x){let e=(e=>{let t=m(e,{padCents:!1}),a=t.indexOf(".");if(-1===a)return t;let r=t.slice(0,a),n=t.slice(a+1).replace(/0+$/,"");return n?`${r}.${n}`:r})(x);e!==x&&o?.(e)}c?.(e)},onBlur:e=>{if(C(!1),S&&x){let e=u(x);e!==x&&o?.(e)}a?.(e)}})},k[18]=S,k[19]=t,k[20]=a,k[21]=o,k[22]=c,k[23]=d,k[24]=p,k[25]=_,k[26]=x,k[27]=j):j=k[27],k[28]!==T||k[29]!==E.accept||k[30]!==E.format||k[31]!==E.replace||k[32]!==w||k[33]!==j?(N=(0,r.jsx)(s.$,{accept:E.accept,mask:!1,format:E.format,replace:E.replace,value:T,onChange:w,children:j}),k[28]=T,k[29]=E.accept,k[30]=E.format,k[31]=E.replace,k[32]=w,k[33]=j,k[34]=N):N=k[34],N}},10895:(e,t,a)=>{"use strict";a.d(t,{s:()=>n});var r=a(64226);let n=(0,a(45165).u)({makeSlug:r.u.string,modelSlug:r.u.string,modelYear:r.u.number.optional,styleId:r.u.string.optional,postalCode:r.u.string.optional,section:r.u.enum("trim","styles","exterior","interior","incentives","options","review").optional,exteriorColorId:r.u.string.optional,interiorColorId:r.u.string.optional},e=>{let{makeSlug:t,modelSlug:a,modelYear:r,...n}=e;return{path:`/build/${t}/${a}/${r?`${r}/`:""}`,query:n}});n.routeName="buildExperienceRoute"},11791:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});var r=a(31133);let n=e=>{let{url:t,sm:a,md:n,lg:s,xl:i}=e,o={"--image-url":l(t)};for(let[e,t]of Object.entries({sm:a,md:n,lg:s,xl:i}))t&&(o[`--image-url-${e}`]=l(t));return{backgroundStyle:o,backgroundClassName:(0,r.x)("bg-[image:var(--image-url)]",a&&"sm:bg-[image:var(--image-url-sm)]",n&&"md:bg-[image:var(--image-url-md)]",s&&"lg:bg-[image:var(--image-url-lg)]",i&&"xl
1:bg-[image:var(--image-url-xl)]")}},l=e=>`url("${e.replace(/"/g,'\\"')}")`},15858:(e,t,a)=>{"use strict";a.d(t,{H:()=>o});var r=a(6029),n=a(75155);a(55729);var l=a(47596),s=a(31133),i=a(70299);let o=e=>{let t,a,o,c,d,m,u,h,f,p,g,v,x,b,y,w,j=(0,n.c)(35);j[0]!==e?({ref:m,className:t,onClick:o,onMouseEnter:c,onMouseLeave:d,tracking:p,id:a,theme:f,size:h,...u}=e,j[0]=e,j[1]=t,j[2]=a,j[3]=o,j[4]=c,j[5]=d,j[6]=m,j[7]=u,j[8]=h,j[9]=f,j[10]=p):(t=j[1],a=j[2],o=j[3],c=j[4],d=j[5],m=j[6],u=j[7],h=j[8],f=j[9],p=j[10]);let N=void 0===h?18:h,k=(0,i.z)();j[11]!==o||j[12]!==k||j[13]!==p?(g=e=>{o&&o(e),p&&k(p)},j[11]=o,j[12]=k,j[13]=p,j[14]=g):g=j[14];let S=g,_="dark"===f?"white":"muted"===f?"var(--neutral-800)":"black";j[15]!==_?(v={"--info-border-color":_},j[15]=_,j[16]=v):v=j[16],j[17]!==t?(x=(0,s.x)("text-[var(--info-border-color)]","info-button flex-grow-0 rounded-full","shadow-[inset_0_0_0_1px_var(--info-border-color)]","hover:shadow-[inset_0_0_0_2px_var(--info-border-color)]","active:shadow-[inset_0_0_0_2px_var(--info-border-color)]",t),j[17]=t,j[18]=x):x=j[18];let I="dark"===f&&"fill-white",C="muted"===f&&"fill-muted";return j[19]!==I||j[20]!==C?(b=(0,s.x)("flex-shrink-0",I,C),j[19]=I,j[20]=C,j[21]=b):b=j[21],j[22]!==N||j[23]!==b?(y=(0,r.jsx)(l.G,{size:N,className:b}),j[22]=N,j[23]=b,j[24]=y):y=j[24],j[25]!==a||j[26]!==S||j[27]!==c||j[28]!==d||j[29]!==m||j[30]!==u||j[31]!==v||j[32]!==x||j[33]!==y?(w=(0,r.jsx)("button",{"data-test":"infoButtonButton","aria-label":"Info",ref:m,color:"secondary",style:v,className:x,onClick:S,onMouseEnter:c,onMouseLeave:d,id:a,...u,children:y}),j[25]=a,j[26]=S,j[27]=c,j[28]=d,j[29]=m,j[30]=u,j[31]=v,j[32]=x,j[33]=y,j[34]=w):w=j[34],w};o.displayName="InfoButton"},16798:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>tx});var r=a(6029),n=a(37197);let l=(0,n.Ay)`
2    fragment EvIncentiveCardAmount_EvIncentive_Ei67K on EvIncentive {
3  __typename
4  amount {
5    __typename
6    max
7  }
8  includesUnconditional
9}
10    `,s=(0,n.Ay)`
11    fragment EvIncentiveModal_EvIncentive on EvIncentive {
12  __typename
13  name
14  fundingSource
15  summary
16  disclaimer
17  externalSource
18  ...EvIncentiveCardAmount_EvIncentive_Ei67K
19}
20    ${l}`;let i=(0,n.Ay)`
21    fragment EvIncentiveCardAmount_EvIncentive on EvIncentive {
22  __typename
23  amount {
24    __typename
25    max
26  }
27  includesUnconditional
28}
29    `,o=(0,n.Ay)`
30    fragment EvIncentiveCardAmount_EvIncentive_32Fxt6 on EvIncentive {
31  __typename
32  amount {
33    __typename
34    min
35    max
36  }
37  includesUnconditional
38}
39    `;var c=a(75155),d=a(55729),m=a(62556),u=a(47884),h=a(12050),f=a(29246),p=a(29197),g=a(70299),v=a(87001),x=a(31133),b=a(70415),y=a(21920),w=a(81353),j=a(11791);let N=e=>{let t,a,n,l=(0,c.c)(4),{children:s}=e;if(l[0]===Symbol.for("react.memo_cache_sentinel")){let{backgroundStyle:e,backgroundClassName:r}=(0,j.A)({url:"/assets/_next/static/media/hero-background-xs.76c168fe.png",sm:"/assets/_next/static/media/hero-background-sm.5f4982e4.png",md:"/assets/_next/static/media/hero-background-lg.8c9d0be0.png",xl:"/assets/_next/static/media/hero-background-xl.9737c816.png"});t=e,a=(0,x.x)(r,"relative","h-[344px] bg-cover bg-bottom bg-no-repeat"),l[0]=t,l[1]=a}else t=l[0],a=l[1];return l[2]!==s?(n=(0,r.jsx)("div",{style:t,className:a,children:s}),l[2]=s,l[3]=n):n=l[3],n};var k=a(76688);let S=()=>{let e,t,a,n=(0,c.c)(3);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,x.x)("absolute","left-0 right-0 top-0 bottom-0 bg-[linear-gradient(8.68deg,_rgba(0,_0,_0,_0.5395)_73.61%,_rgba(248,_248,_248,_0)_224.72%)] sm:bg-[linear-gradient(96.63deg,_rgba(0,_0,_0,_0.415)_28.29%,_rgba(248,_248,_248,_0)_122.36%)]"),n[0]=e):e=n[0],n[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,r.jsx)(b.L,{className:"h-full sm:flex sm:items-center",children:(0,r.jsxs)("div",{children:[(0,r.jsx)(y.D,{level:"1",size:2,md:1,className:"mb-32 pt-64 text-center text-white sm:pt-0 sm:text-left","data-test":"electricIncentivesHeroTitle",children:"Electric Vehicle Incentives"}),(0,r.jsx)("p",{className:"text-center text-white sm:max-w-[460px] sm:text-left",children:"Search available electric car incentives near you. Enter your zip code or make and model to browse all current state and local EV tax credits and rebates to see how much you could save."})]})}),n[1]=t):t=n[1],n[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,r.jsx)(N,{children:(0,r.jsxs)("div",{className:e,children:[t,(0,r.jsx)(b.L,{className:"absolute bottom-0 left-0 right-0 mx-auto",children:(0,r.jsx)("p",{className:"hidden pb-8 text-right sm:block sm:text-12",children:(0,r.jsx)(k.N,{href:w.u.generate({makeSlug:"ford",modelSlug:"mustang-mach-e"}),className:"text-white no-underline hover:text-[white] hover:underline",children:"2022 Ford Mustang Mach-E shown above"})})})]})}),n[2]=a):a=n[2],a};var _=a(51519),I=a(51032),C=a(83722),E=a(92311),T=a(62734);a(23827);var A=a(17642),V=a(80507),$=a(78963),P=a(90800),M=a(54217);let R=e=>{let t,a,n,l,s,i,o=(0,c.c)(16),{filters:d}=e,u=(0,g.z)(),{push:h}=(0,M.c)(),f=d.postalCode??"";o[0]!==f?(t={defaultValues:{postalCode:f}},o[0]=f,o[1]=t):t=o[1];let{register:p,handleSubmit:v,errors:x}=(0,$.m)(t);o[2]!==d||o[3]!==h||o[4]!==u?(a=e=>{u({eventAction:"Go CTA Click",eventCategory:"EV",eventLabel:"Location"}),h(m.T.generate({...d,postalCode:e.postalCode}),{scroll:!1})},o[2]=d,o[3]=h,o[4]=u,o[5]=a):a=o[5];let b=a;o[6]!==v||o[7]!==b?(n=v(b),o[6]=v,o[7]=b,o[8]=n):n=o[8];let y=x.postalCode?.message;return o[9]!==p||o[10]!==y?(l=(0,r.jsx)(P.Q,{name:"postalCode",className:"mb-20 w-full md:mb-0 md:mr-20 md:min-
39h-[71px] md:w-auto lg:w-full",register:p,error:y}),o[9]=p,o[10]=y,o[11]=l):l=o[11],o[12]===Symbol.for("react.memo_cache_sentinel")?(s=(0,r.jsx)("div",{className:"mb-20 md:mb-0 md:min-h-[71px] lg:mr-20",children:(0,r.jsx)("div",{className:"flex items-center md:min-h-48",children:(0,r.jsx)(A.$,{color:"primary",type:"submit",className:"w-full md:w-auto",size:"lg",children:"Go"})})}),o[12]=s):s=o[12],o[13]!==n||o[14]!==l?(i=(0,r.jsxs)(V.l,{onSubmit:n,className:"items-center md:flex",children:[l,s]}),o[13]=n,o[14]=l,o[15]=i):i=o[15],i};var z=a(19760),D=a.n(z),F=a(57812),B=a(66218);let L=e=>{let t,a,n=(0,c.c)(8),{incentive:l,className:s,personalizedIncentives:i,aggregateAmount:o}=e;if(!l.amount)return null;let d=l.includesUnconditional||i,m=!(void 0!==o&&o)||l.amount.min===l.amount.max;n[0]!==l.amount.max||n[1]!==l.amount.min||n[2]!==d||n[3]!==m?(t=m?(0,B.G)(l.amount.max):d?`${(0,B.G)(l.amount.min)} - ${(0,B.G)(l.amount.max)}`:`Up to ${(0,B.G)(l.amount.max)}`,n[0]=l.amount.max,n[1]=l.amount.min,n[2]=d,n[3]=m,n[4]=t):t=n[4];let u=t;return"$0"===u?null:(n[5]!==u||n[6]!==s?(a=(0,r.jsx)(y.D,{className:s,size:2,children:u}),n[5]=u,n[6]=s,n[7]=a):a=n[7],a)},q=e=>{let t,a,n,l,s,i,o,d,m,u=(0,c.c)(24),{incentive:h,onLearnMore:f,personalizedIncentives:p}=e;u[0]!==h.name?(t=(0,r.jsx)(y.D,{size:"3.5",className:"pb-8",children:h.name}),u[0]=h.name,u[1]=t):t=u[1],u[2]!==h.fundingSource?(a=(0,r.jsx)("p",{children:h.fundingSource}),u[2]=h.fundingSource,u[3]=a):a=u[3],u[4]!==t||u[5]!==a?(n=(0,r.jsxs)("div",{className:"mb-32 bg-light px-20 pt-20 pb-8",children:[t,a]}),u[4]=t,u[5]=a,u[6]=n):n=u[6],u[7]!==h||u[8]!==p?(l=(0,r.jsx)(L,{personalizedIncentives:p,incentive:h,className:"pb-8",aggregateAmount:!0}),u[7]=h,u[8]=p,u[9]=l):l=u[9];let g=h.summary||h.disclaimer;u[10]!==g?(s=(0,r.jsx)("p",{className:"mt-32 mb-20 break-words text-muted line-clamp-4",children:g}),u[10]=g,u[11]=s):s=u[11];let v=`Location - ${h.name}`;return u[12]!==v?(i={eventAction:"Incentive Card Learn More CTA Click",eventCategory:"EV",eventLabel:v},u[12]=v,u[13]=i):i=u[13],u[14]!==f||u[15]!==i?(o=(0,r.jsx)(A.$,{color:"secondary",onClick:f,tracking:i,children:"Learn More"}),u[14]=f,u[15]=i,u[16]=o):o=u[16],u[17]!==l||u[18]!==s||u[19]!==o?(d=(0,r.jsxs)("div",{className:"p-20",children:[l,s,o]}),u[17]=l,u[18]=s,u[19]=o,u[20]=d):d=u[20],u[21]!==d||u[22]!==n?(m=(0,r.jsx)(F.Z,{forceShadow:!0,className:"h-full",children:(0,r.jsxs)("div",{className:"flex h-full w-full flex-col justify-between",children:[n,d]})}),u[21]=d,u[22]=n,u[23]=m):m=u[23],m};var H=a(20218),O=a(75001),U=a(38435),G=a(62367),Y=a(70339),W=a(38932),Q=a(2156),K=a(20784),J=a(64715);let X=e=>
39{let t,a,n,l,s,i,o,d,m,u,h,f,p,v=(0,c.c)(38),{incentive:x,onClose:b,open:w,personalizedIncentives:j,aggregateAmount:N}=e,k=(0,g.z)();v[0]!==x.name||v[1]!==b||v[2]!==k?(t=()=>{b(),k({eventAction:"Incentive Modal - User Close",eventCategory:"EV",eventLabel:x.name})},v[0]=x.name,v[1]=b,v[2]=k,v[3]=t):t=v[3],v[4]===Symbol.for("react.memo_cache_sentinel")?(a=(0,r.jsx)("div",{className:"pb-32",children:(0,r.jsx)(Q.V,{height:33,width:109,url:J.B.src,alt:"TrueCar logo",className:"md:hidden"})}),v[4]=a):a=v[4],v[5]!==x.name?(n=(0,r.jsx)(y.D,{size:2,className:"mb-8",children:x.name}),v[5]=x.name,v[6]=n):n=v[6],v[7]!==x.fundingSource?(l=(0,r.jsx)("p",{className:"mb-32",children:x.fundingSource}),v[7]=x.fundingSource,v[8]=l):l=v[8],v[9]!==N||v[10]!==x||v[11]!==j?(s=(0,r.jsx)(L,{personalizedIncentives:j,incentive:x,aggregateAmount:N}),v[9]=N,v[10]=x,v[11]=j,v[12]=s):s=v[12],v[13]!==n||v[14]!==l||v[15]!==s?(i=(0,r.jsxs)("div",{className:"bg-light p-20 pb-32",children:[a,(0,r.jsxs)("div",{className:"px-80 text-center",children:[n,l,s]})]}),v[13]=n,v[14]=l,v[15]=s,v[16]=i):i=v[16];let S=x.disclaimer||"";return v[17]!==S?(o=(0,r.jsx)(K.P,{linkPosition:"ellipsis",className:"hidden break-words md:block",height:200,children:(0,r.jsx)(U.o,{children:S})}),v[17]=S,v[18]=o):o=v[18],v[19]!==x.disclaimer?(d=(0,r.jsx)("p",{className:"break-words md:hidden",children:x.disclaimer}),v[19]=x.disclaimer,v[20]=d):d=v[20],v[21]!==o||v[22]!==d?(m=(0,r.jsx)(Y.c,{children:(0,r.jsxs)("div",{className:"w-full pt-32",children:[o,d]})}),v[21]=o,v[22]=d,v[23]=m):m=v[23],v[24]!==x.externalSource||v[25]!==x.name?(u=x.externalSource&&(0,r.jsx)(A.$,{color:"primary",href:x.externalSource,target:"blank",className:"mb-8",tracking:{eventAction:"Incentive Modal - See Incentive Click",eventCategory:"EV",eventLabel:x.name},children:(0,r.jsxs)("span",{className:"flex items-center",children:["See Incentive ",(0,r.jsx)(H.j,{after:!0,size:"xs"})]})}),v[24]=x.externalSource,v[25]=x.name,v[26]=u):u=v[26],v[27]!==b?(h=(0,r.jsx)(O.z,{onClick:b,children:"Close"}),v[27]=b,v[28]=h):h=v[28],v[29]!==u||v[30]!==h?(f=(0,r.jsxs)(W.j,{className:"z-[100] flex flex-col py-32",children:[u,h]}),v[29]=u,v[30]=h,v[31]=f):f=v[31],v[32]!==w||v[33]!==t||v[34]!==m||v[35]!==f||v[36]!==i?(p=(0,r.jsxs)(G.a,{open:w,onClose:t,children:[i,m,f]}),v[32]=w,v[33]=t,v[34]=m,v[35]=f,v[36]=i,v[37]=p):p=v[37],p},Z=()=>{let e,t,a,r,n=(0,c.c)(7);n[0]===Symbol.for("react.memo_cache_sentinel")?(e={open:!1,incentive:void 0},n[0]=e):e=n[0];
39let[l,s]=d.useState(e);n[1]===Symbol.for("react.memo_cache_sentinel")?(t=e=>{s({open:!0,incentive:e})},n[1]=t):t=n[1];let i=t;n[2]!==l?(a=()=>{s({...l,open:!1})},n[2]=l,n[3]=a):a=n[3];let o=a;return n[4]!==o||n[5]!==l?(r={state:l,openIncentiveModal:i,closeIncentiveModal:o},n[4]=o,n[5]=l,n[6]=r):r=n[6],r},ee=e=>{let t,a=(0,c.c)(2),{children:n}=e;return a[0]!==n?(t=(0,r.jsx)("div",{className:"bg-[#1A1A1A] py-32",children:(0,r.jsx)(b.L,{children:(0,r.jsx)(y.D,{level:2,size:2,className:"text-center text-white sm:text-left",children:n})})}),a[0]=n,a[1]=t):t=a[1],t},et=e=>{let{household:t}=e;return!!(t&&t.income>0&&t.size>0)};var ea=a(65491);let er=e=>{let t,a,n,l=(0,c.c)(6);l[0]!==e?({fill:t,...a}=e,l[0]=e,l[1]=t,l[2]=a):(t=l[1],a=l[2]);let s="car-coupe-sedan";return l[3]!==a||l[4]!==s?(n=(0,r.jsx)(ea.I,{spriteID:s,...a}),l[3]=a,l[4]=s,l[5]=n):n=l[5],n},en=e=>{let t,a,n,l=(0,c.c)(6);l[0]!==e?({fill:t,...a}=e,l[0]=e,l[1]=t,l[2]=a):(t=l[1],a=l[2]);let s=t&&1?"home-fill":"home";return l[3]!==a||l[4]!==s?(n=(0,r.jsx)(ea.I,{spriteID:s,...a}),l[3]=a,l[4]=s,l[5]=n):n=l[5],n};var el=a(48063),es=a(7637),ei=a(28583),eo=a(64591),ec=a(82866),ed=a(89905),em=a(88950),eu=a(84520);let eh="householdIncome",ef="householdSize",ep=e=>{let t,a,n,l,s,i,o,m,u,h,f,p,v,b,w,j,N,k,S,_,I,C,E,T,P,M,R,z,D=(0,c.c)(78),{isOpen:F,setIsOpen:L,setFilters:q,filters:H}=e,O=(0,g.z)(),[U,Y]=d.useState(!1),K=H.household?.income,X=H.household?.size;D[0]!==H.household?.income?(t="number"==typeof H.household?.income||em._.getItem(eh)?(0,B.G)(H.household?.income??em._.getItem(eh)):"",D[0]=H.household?.income,D[1]=t):t=D[1];let Z=t;D[2]!==H.household?.size?(a=String(H.household?.size??"")||(em._.getItem(ef)??""),D[2]=H.household?.size,D[3]=a):a=D[3];let ee=a,et=!!H.turnIn;D[4]!==K||D[5]!==X||D[6]!==q||D[7]!==U?(n=()=>{if(U)return;let e=em._.getItem(eh),t=em._.getItem(ef);void 0===K&&void 0===X&&e&&t&&q({household:{income:parseInt(e),size:parseInt(t)}})},l=[K,X,q,U],D[4]=K,D[5]=X,D[6]=q,D[7]=U,D[8]=n,D[9]=l):(n=D[8],l=D[9]),d.useEffect(n,l),D[10]!==H.household?(s=()=>{if(!H.household?.income||!H.household?.size)return;let e=em._.getItem(eh),t=em._.getItem(ef);e&&t&&parseInt(e)===H.household.income&&parseInt(t)===H.household.size||(em._.setItem(eh,String(H.household.income)),em._.setItem(ef,String(H.household.size)))},i=[H.household],D[10]=H.household,D[11]=s,D[12]=i):(s=D[11],i=D[12]),d.useEffect(s,i),D[13]!==Z||D[14]!==ee||D[15]!==et?(o={defaultValues:{householdIncome:Z,householdSize:ee,turnIn:et}},D[13]=Z,D[14]=ee,D[15]=et,D[16]=o):o=D[16];let{register:ea,handleSubmit:er,errors:en,clearErrors:el,control:ep,watch:ex,reset:eb}=(0,$.m)(o);D[17]!==ex?(m=ex("householdSize")||ex("turnIn"),D[17]=ex,D[18]=m):m=D[18];let ey=!!m;D[19]!==ex?(u=ex("householdIncome")||ex("turnIn"),D[19]=ex,D[20]=u):u=D[20];let ew=!!u,[ej,eN]=d.useState(et);D[21]!==el||D[22]!==L?(h=()=>{L(!1),el()},D[21]=el,D[22]=L,D[23]=h):h=D[23],D[24]!==H||D[25]!==eb||D[26]!==q||D[27]!==L||D[28]!==O?(f=e=>{let{householdIncome:t,householdSize:a,turnIn:r}=e;Y(!0);let n=(0,eu.I)(t),l=(0,eu.I)(a);
39O({eventAction:"Personalize Incentives Modal - Update Click",eventCategory:"EV",eventLabel:`${n?t:"null"}/${l?a:"null"}/${r?"Selected":"Deselected"}`}),q({...H,...n&&l?{household:{income:n,size:l}}:{household:void 0},...r?{turnIn:!0}:{turnIn:void 0}}),n&&l?(em._.setItem(eh,String(n)),em._.setItem(ef,String(l))):(em._.removeItem(eh),em._.removeItem(ef)),L(!1),eb({householdIncome:t,householdSize:a,turnIn:r})},D[24]=H,D[25]=eb,D[26]=q,D[27]=L,D[28]=O,D[29]=f):f=D[29],D[30]!==er||D[31]!==f?(p=er(f),D[30]=er,D[31]=f,D[32]=p):p=D[32],D[33]===Symbol.for("react.memo_cache_sentinel")?(v=(0,r.jsx)("div",{className:"bg-light pt-32 pb-20 md:w-1/2",children:(0,r.jsxs)("div",{className:"mx-32",children:[(0,r.jsx)(Q.V,{url:J.B.src,width:120,height:37,alt:"",role:"presentation",className:"mt-[-7px] mb-20 -ml-8"}),(0,r.jsx)(y.D,{size:2,level:1,className:"pb-20 text-center md:text-left",id:"personalizeIncentivesModalTitle",children:"Personalize Incentives"}),(0,r.jsx)("p",{className:"pb-20",children:"Entering your information makes it easier to find specific incentives for which you qualify."}),(0,r.jsx)("p",{children:"For example, low- and moderate-income consumers are eligible for increased rebates on EVs."})]})}),D[33]=v):v=D[33];let ek=ey||ew?"visible":"invisible";D[34]!==ek?(b=(0,x.x)("py-16","md:pt-0",ek,"text-muted","text-12"),D[34]=ek,D[35]=b):b=D[35],D[36]!==b?(w=(0,r.jsx)("div",{className:b,children:"*Required fields"}),D[36]=b,D[37]=w):w=D[37];let eS=!!ey&&"Please enter annual household income";D[38]!==eS?(j={required:eS,custom:eg},D[38]=eS,D[39]=j):j=D[39],D[40]!==Z||D[41]!==en.householdIncome?.message||D[42]!==ey?(N=e=>{let{ref:t,onChange:a,value:n}=e;return(0,r.jsx)(es.O,{ref:t,placeholder:"Annual Household Income",error:en.householdIncome?.message,label:"Annual Household Income",required:ey,inputMode:"numeric",value:n??Z,onChange:a})},D[40]=Z,D[41]=en.householdIncome?.message,D[42]=ey,D[43]=N):N=D[43],D[44]!==ep||D[45]!==j||D[46]!==N?(k=(0,r.jsx)(ed.x,{name:"householdIncome",control:ep,rules:j,render:N}),D[44]=ep,D[45]=j,D[46]=N,D[47]=k):k=D[47];let e_=en.householdSize?.message,eI=!!ew&&"Please enter household size";return D[48]!==ea||D[49]!==eI?(S=ea("householdSize",{required:eI,custom:ev}),D[48]=ea,D[49]=eI,D[50]=S):S=D[50],D[51]!==ee||D[52]!==ew||D[53]!==e_||D[54]!==S?(_=(0,r.jsx)(eo.Y,{placeholder:"Household Size",error:e_,label:"Household Size",className:"mt-20",required:ew,...S,inputMode:"numeric",maxLength:2,defaultValue:ee}),D[51]=ee,D[52]=ew,D[53]=e_,D[54]=S,D[55]=_):_=D[55],D[56]!==k||D[57]!==_?(I=(0,r.jsxs)("div",{className:"pb-32",children:[k,_]}),D[56]=k,D[57]=_,D[58]=I):I=D[58],D[59]!==ej?(C=e=>{let{onChange:t}=e;return(0,r.jsx)(ec.Y,{onChange:e=>{eN(!ej),t(e)},value:ej,label:(0,r.jsxs)("div",{className:"flex items-center",children:["I have a vehicle to turn in.",(0,r.jsx)(ei.F,{placement:"bottom",className:"ml-4",children:"Some local government programs provide incentives when you trade in your non-electric vehicle and replace it with a hybrid or electric vehicle. For more information, contact any local government programs that may provide such incentives in your area."})]})})},D[59]=ej,D[60]=C):C=D[60],D[61]!==ep||D[62]!==C?(E=(0,r.jsx)("div",{children:(0,r.jsx)(ed.x,{name:"turnIn",control:ep,render:C})}),D[61]=ep,D[62]=C,D[63]=E):E=D[63],D[64]!==w||D[65]!==I||D[66]!==E?(T=(0,r.jsxs)("div",{className:"mx-32 grow pb-20 md:pt-32",children:[w,I,E]}),D[64]=w,D[65]=I,D[66]=E,D[67]=T):T=D[67],D[68]===Symbol.for("react.memo_cache_sentinel")?(P=(0,r.jsx)(W.j,{className:"flex justify-center",children:(0,r.jsx)(A.$,{type:"submit",color:"primary",block:!0,children:"Update"})}),D[68]=P):P=D[68],D[69]!==T?(M=(0,r.jsxs)("div",{className:"flex grow flex-col md:mt-32 md:w-1/2",children:[T,P]}
39),D[69]=T,D[70]=M):M=D[70],D[71]!==p||D[72]!==M?(R=(0,r.jsxs)(V.l,{onSubmit:p,className:"flex grow flex-col md:flex-row",children:[v,M]}),D[71]=p,D[72]=M,D[73]=R):R=D[73],D[74]!==F||D[75]!==h||D[76]!==R?(z=(0,r.jsx)(G.a,{open:F,onClose:h,size:"md","aria-labelledby":"personalizeIncentivesModalTitle",children:R}),D[74]=F,D[75]=h,D[76]=R,D[77]=z):z=D[77],z};function eg(e){if((0,eu.I)(e)>1e9||1>(0,eu.I)(e))return"Please enter household income from $1 to $1,000,000,000"}function ev(e){if(Number(e)>50||1>Number(e))return"Please enter household size from 1 to 50"}let ex=e=>{let t,a,n,l,s=(0,c.c)(16),{filters:i,setFilters:o}=e,[m,u]=d.useState(!1),{household:h,turnIn:f}=i;s[0]!==h||s[1]!==f?(t={household:h,turnIn:f},s[0]=h,s[1]=f,s[2]=t):t=s[2];let p=t;return s[3]!==m||s[4]!==p||s[5]!==o?(a=(0,r.jsx)(ep,{isOpen:m,setIsOpen:u,setFilters:o,filters:p}),s[3]=m,s[4]=p,s[5]=o,s[6]=a):a=s[6],s[7]!==i.household||s[8]!==i.makeSlug||s[9]!==i.modelSlug||s[10]!==i.section||s[11]!==i.turnIn?(n=et({household:i.household})?(0,r.jsxs)("div",{className:"flex text-14 lg:mb-20",children:[(0,r.jsxs)("div",{className:"mr-20 flex flex-wrap rounded bg-[var(--neutral-600)] py-4 pl-20 font-500 md:flex-nowrap",children:["number"==typeof i.household?.income&&(0,r.jsxs)("div",{className:"flex flex-nowrap items-center pr-20",children:[(0,r.jsx)(el.R,{className:"pr-4"})," ",(0,r.jsxs)("span",{className:"md:whitespace-nowrap",children:[(0,B.G)(i.household.income),"/yr"]})]}),"number"==typeof i.household?.size&&(0,r.jsxs)("div",{className:"flex flex-nowrap items-center pr-20",children:[(0,r.jsx)(en,{className:"pr-4",size:20}),(0,r.jsxs)("span",{className:"md:whitespace-nowrap",children:[i.household.size,i.household.size>1?" people":" person"]})]}),(0,r.jsxs)("div",{className:"flex flex-nowrap items-center pr-20",children:[(0,r.jsx)(er,{className:"pr-4",size:30,style:{height:24}})," ",(0,r.jsxs)("span",{className:"md:whitespace-nowrap",children:[!i.turnIn&&"No ","Turn-in"]})]})]}),(0,r.jsx)(O.z,{onClick:()=>{u(!0)},children:"Edit"})]}):(0,r.jsx)("div",{className:"lg:mr-20 lg:min-h-[71px]",children:(0,r.jsx)("div",{className:"flex items-center lg:min-h-48",children:(0,r.jsx)(A.$,{onClick:()=>{u(!0)},tracking:{eventAction:"Personalize Incentives CTA Click",eventCategory:"EV",eventLabel:"incentives"===i.section?"Location":i.makeSlug&&i.modelSlug?"MM Breakdown":"Browse EVs"},className:"w-full md:w-auto lg:w-full",size:"lg",children:"Personalize Incentives"})})}),s[7]=i.household,s[8]=i.makeSlug,s[9]=i.modelSlug,s[10]=i.section,s[11]=i.turnIn,s[12]=n):n=s[12],s[13]!==a||s[14]!==n?(l=(0,r.jsxs)("div",{children:[a,n]}),s[13]=a,s[14]=n,s[15]=l):l=s[15],l},eb=e=>{let t,a,n,l,s,i,o,d,m=(0,c.c)(24),{incentives:u,filters:h,setFilters:f}=e,p=D()(u,"benefitCategory"),{state:g,closeIncentiveModal:v,openIncentiveModal:x}=Z(),w=Object.keys(p);m[0]!==h.household?(t=et({household:h.household}),m[0]=h.household,m[1]=t):t=m[1];let j=t;m[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,r.jsx)(ee,{children:"Browse Incentives"}),m[2]=a):a=m[2],m[3]!==h?(n=(0,r.jsx)(R,{filters:h}),m[3]=h,m[4]=n):n=m[4],m[5]!==h||m[6]!==f?(l=(0,r.jsx)(ex,{filters:h,setFilters:f}),m[5]=h,m[6]=f,m[7]=l):l=m[7],m[8]!==n||m[9]!==l?(s=(0,r.jsx)("div",{className:"bg-light py-20 md:py-[23px] lg:pb-0",children:(0,r.jsxs)(b.L,{className:"items-center lg:flex",children:[n,l]})}),m[8]=n,m[9]=l,m[10]=s):s=m[10];let N=b.L,k=w.map((e,t)=>{let a=p[e];return(0,r.jsxs)("div",{className:w.length-1!==t?"pb-40":"",children:[(0,r.jsxs)(y.D,{level:"3",size:3,className:"pb-20",children:[e," (",a.length,")"]}),(0,r.jsx)("div",{className:"grid auto-rows-fr grid-cols-1 sm:grid-cols-2 lg:grid-cols-3",children:a.map((t,a)=>(0,r.jsx)("div",{className:"mx-4 mb-20",children:(0,r.jsx)(q,{incentive:t,onLearnMore:()=>x(t),personalizedIncentives:j})},`${e}-${a}`))})]},e)});return m[11]!==N||m[12]!==k?(i=(0,r.jsx)(N,{className:"pt-32",children:k}),m[11]=N,m[12]=k,m[13]=i):i=m[13],m[14]!==v||m[15]!==g.incentive||m[16]!==g.open||m[17]!==j?(o=g.incentive&&(0,r.jsx)(X,{personalizedIncentives:j,open:g.open,incentive:g.incentive,onClose:v,aggregateAmount:!0}),m[14]=v,m[15]=g.incentive,m[16]=g.open,m[17]=j,m[18]=o):o=m[18],m[19]!==a||m[20]!==s||m[21]!==i||m[22]!==o?(d=(0,r.jsxs)(r.Fragment,{children:[a,s,i,o]}),m[19]=a,m[20]=s,m[21]=i,m[22]=o,m[23]=d):d=m[23],d};var ey=a(62574),ew=a(45428);let ej=e=>{let t,a,n,l,s,i,o,d,u,h,f,p,g,v,b,j,N,k,S,_,I,C,E,T,V,$,P,M,R,z,D,L,q,H=(0,c.c)(96),{model:O,filters:U,onClick:G}=e;if(!O.baseStyle.totalMsrp)return null;H[0]!==O.evIncentives?.edges?(t=O.evIncentives?.edges?.reduce(eN,0)??0,H[0]=O.evIncentives?.edges,H[1]=t):t=H[1];let Y=t,W=O.baseStyle.totalMsrp-Y;if(H[2]!==O.electricRange?.max||H[3]!==O.electricRange?.min||H[4]!==O.engineTypes||H[5]!==O.make.name||H[6]!==O.name||H[7]!==O.year||H[8]!==W){let e,t,c,m,f=O.engineTypes.filter(ek),p=O.electricRange?.min,g=O.electricRange?.max;n=p?p!==g&&g?`${p} - ${g}`:p:void 0,a=F.Z,h=!0,d="flex h-full w-full flex-col",H[18]===Symbol.for("react.memo_cache_sentinel")?(e=(0,x.x)("bg-[#1979C712]","py-20","px-20","flex","justify-between","rounded-t","items-center"),H[18]=e):e=H[18],H[19]!==W?(t=(0,B.G)(W),H[19]=W,H[20]=t):t=H[20],H[21]!==t?(c=(0,r.jsx)(y.D,{size:2,className:"pr-4",children:t}),H[21]=t,H[22]=c):c=H[22],H[23]===Symbol.for("react.memo_cache_sentinel")?(m=(0,r.jsx)("span",{className:"text-right text-12 font-500 text-muted",children:"AFTER ALL INCENTIVES\xb9"}),H[23]=m):m=H[23],H[24]!==c?(u=(0,r.jsxs)("div",{className:e,children:[c,m]}),H[24]=c,H[25]=u):u=H[25],o="flex h-full flex-col justify-between px-20 pt-20 pb-32",H[26]!==O.make.name||H[27]!==O.name||H[28]!==O.year?(i=(0,r.jsxs)(y.D,{size:3.5,children:[O.year," ",O.make.name," ",O.name]}),H[26]=O.make.name,H[27]=O.name,H[28]=O.year,H[29]=i):i=H[29],l="pb-8 text-14",s=f.join(", "),H[2]=O.electricRange?.max,H[3]=O.electricRange?.min,H[4]=O.engineTypes,H[5]=O.make.name,H[6]=O.name,H[7]=O.year,H[8]=W,H[9]=a,H[10]=n,H[11]=l,H[12]=s,H[13]=i,H[14]=o,H[15]=d,H[16]=u,H[17]=h}
39else a=H[9],n=H[10],l=H[11],s=H[12],i=H[13],o=H[14],d=H[15],u=H[16],h=H[17];H[30]!==O.bodyStyles?(f=O.bodyStyles.map(eS).join(", "),H[30]=O.bodyStyles,H[31]=f):f=H[31],H[32]!==l||H[33]!==s||H[34]!==f?(p=(0,r.jsxs)("p",{className:l,children:[s," -"," ",f]}),H[32]=l,H[33]=s,H[34]=f,H[35]=p):p=H[35],H[36]!==p||H[37]!==i?(g=(0,r.jsxs)("div",{children:[i,p]}),H[36]=p,H[37]=i,H[38]=g):g=H[38],H[39]!==O.whiteQuarterImage?(v=O.whiteQuarterImage&&(0,r.jsx)("div",{className:"pb-20",children:(0,r.jsx)(Q.V,{width:O.whiteQuarterImage.width,height:O.whiteQuarterImage.height,url:O.whiteQuarterImage.url,block:!0,alt:"",role:"presentation"})}),H[39]=O.whiteQuarterImage,H[40]=v):v=H[40],H[41]===Symbol.for("react.memo_cache_sentinel")?(b=(0,r.jsx)("span",{children:"Starting MSRP"}),H[41]=b):b=H[41],H[42]!==O.baseStyle.totalMsrp?(j=(0,B.G)(O.baseStyle.totalMsrp),H[42]=O.baseStyle.totalMsrp,H[43]=j):j=H[43],H[44]!==j?(N=(0,r.jsxs)("div",{className:"flex justify-between pb-8",children:[b,(0,r.jsx)("span",{children:j})]}),H[44]=j,H[45]=N):N=H[45];let K=!n&&"invisible";H[46]!==K?(k=(0,x.x)("flex","justify-between",K),H[46]=K,H[47]=k):k=H[47],H[48]===Symbol.for("react.memo_cache_sentinel")?(S=(0,r.jsx)("span",{children:"Electric Range"}),H[48]=S):S=H[48],H[49]!==n?(_=(0,r.jsxs)("span",{children:[n," mi"]}),H[49]=n,H[50]=_):_=H[50],H[51]!==k||H[52]!==_?(I=(0,r.jsxs)("div",{className:k,children:[S,_]}),H[51]=k,H[52]=_,H[53]=I):I=H[53],H[54]!==G?(C=e=>{G?.(e)},H[54]=G,H[55]=C):C=H[55],H[56]!==U||H[57]!==O.make.slug||H[58]!==O.slug?(E=m.T.generate({...U,makeSlug:O.make.slug,modelSlug:O.slug}),H[56]=U,H[57]=O.make.slug,H[58]=O.slug,H[59]=E):E=H[59];let J=`Browse EV - ${O.make.name}, ${O.name}`;H[60]!==J?(T={eventAction:"Vehicle Card See Incentives CTA Click",eventCategory:"EV",eventLabel:J},H[60]=J,H[61]=T):T=H[61],H[62]!==C||H[63]!==E||H[64]!==T?(V=(0,r.jsx)(A.$,{block:!0,color:"primary",className:"mb-16",onClick:C,href:E,tracking:T,scroll:!1,children:"See Incentives"}),H[62]=C,H[63]=E,H[64]=T,H[65]=V):V=H[65],H[66]!==O.make.slug||H[67]!==O.modelOverviewYear||H[68]!==O.slug||H[69]!==O.year?($=w.u.generate({makeSlug:O.make.slug,modelSlug:O.slug,modelYear:O.modelOverviewYear?void 0:O.year}),H[66]=O.make.slug,H[67]=O.modelOverviewYear,H[68]=O.slug,H[69]=O.year,H[70]=$):$=H[70];let X=`Browse EV - ${O.make.name}, ${O.name}`;return H[71]!==X?(P={eventAction:"Vehicle Card See Model Overview CTA Click",eventCategory:"EV",eventLabel:X},H[71]=X,H[72]=P):P=H[72],H[73]!==$||H[74]!==P?(M=(0,r.jsx)(A.$,{block:!0,href:$,tracking:P,children:"See Model Overview"}),H[73]=$,H[74]=P,H[75]=M):M=H[75],H[76]!==V||H[77]!==M?(R=(0,r.jsxs)("div",{className:"pt-20",children:[V,M]}),H[76]=V,H[77]=M,H[78]=R):R=H[78],H[79]!==v||H[80]!==N||H[81]!==I||H[82]!==R?(z=(0,r.jsxs)("div",{children:[v,N,I,R]}),H[79]=v,H[80]=N,H[81]=I,H[82]=R,H[83]=z):z=H[83],H[84]!==g||H[85]!==z||H[86]!==o?(D=(0,r.jsxs)("div",{className:o,children:[g,z]}),H[84]=g,H[85]=z,H[86]=o,H[87]=D):D=H[87],H[88]!==D||H[89]!==d||H[90]!==u?(L=(0,r.jsxs)("div",{className:d,children:[u,D]}),H[88]=D,H[89]=d,H[90]=u,H[91]=L):L=H[91],H[92]!==a||H[93]!==L||H[94]!==h?(q=(0,r.jsx)(a,{forceShadow:h,children:L}),H[92]=a,H[93]=L,H[94]=h,H[95]=q):q=H[95],q};function eN(e,t){let{node:a}=t;return e+(a.amount?.max??0)}function ek(e){return["Electric","Plug-In Hybrid","Hybrid"].includes(e)}function eS(e){return e.name}var e_=a(84907);let eI=e=>{let t,a,n,l,s,i,o,d,m,u,h,f=(0,c.c)(30),{filters:p,setFilters:v}=e,x=(0,g.z)();f[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,r.jsx)("div",{className:"pr-20 pb-4 md:inline md:pb-0",children:"Sort by"}),f[0]=t):t=f[0],f[1]!==v||f[2]!==x?(a=e=>{v({sort:e}),x({eventAction:"Sort By Selection",eventCategory:"EV",eventLabel:`Browse EV - ${eC.find(t=>t.value===e)?.name}`})},f[1]=v,f[2]=x,f[3]=a):a=f[3],f[4]!==p.sort||f[5]!==a?(n=(0,r.jsx)("div",{className:"w-full items-center md:flex md:w-auto",children:(0,r.jsxs)("label",{className:"w-full items-center md:flex md:w-auto",children:[t,(0,r.jsx)(e_.o,{options:eC,value:p.sort,onChange:a})]})}),f[4]=p.sort,f[5]=a,f[6]=n):n=f[6];let b=!!p.includePlugInHybrids;f[7]!==p.includePlugInHybrids||f[8]!==v||f[9]!==x?(l=e=>{v({includePlugInHybrids:!p.includePlugInHybrids}),x({eventAction:"PHEV Filter Selection",eventCategory:"EV",eventLabel:`Browse EV - ${e?"Include":"Exclude"} PHEV>`})},f[7]=p.includePlugInHybrids,f[8]=v,f[9]=x,f[10]=l):l=f[10],f[11]!==b||f[12]!==l?
39(s=(0,r.jsx)(ec.Y,{label:"Include Plug-in Hybrids (PHEV)",value:b,onChange:l}),f[11]=b,f[12]=l,f[13]=s):s=f[13],f[14]===Symbol.for("react.memo_cache_sentinel")?(i=(0,r.jsx)(ei.F,{placement:"bottom",className:"bottom-[3px] ml-4",children:"Plug-in hybrid electric vehicles (PHEVs) combine a gas- or diesel-powered internal combustion engine with a battery-powered electric motor. PHEVs typically run on electric power until the battery is almost depleted, and then the combustion engine takes over. In contrast, a fully electric vehicle has an electric motor that is entirely powered by a battery."}),f[14]=i):i=f[14],f[15]!==s?(o=(0,r.jsxs)("div",{className:"flex items-center",children:[s,i]}),f[15]=s,f[16]=o):o=f[16];let y=!!p.onlyIncentives;return f[17]!==p.onlyIncentives||f[18]!==v||f[19]!==x?(d=e=>{v({onlyIncentives:!p.onlyIncentives}),x({eventAction:"EV Incentive Filter Selection",eventCategory:"EV",eventLabel:`Browse EV - ${e?"Include":"Exclude"} Incentives>`})},f[17]=p.onlyIncentives,f[18]=v,f[19]=x,f[20]=d):d=f[20],f[21]!==d||f[22]!==y?(m=(0,r.jsx)(ec.Y,{className:"mt-20 md:ml-32 md:mt-0",label:"Only show vehicles with EV incentives",value:y,onChange:d}),f[21]=d,f[22]=y,f[23]=m):m=f[23],f[24]!==m||f[25]!==o?(u=(0,r.jsxs)("div",{className:"mt-20 md:flex ",children:[o,m]}),f[24]=m,f[25]=o,f[26]=u):u=f[26],f[27]!==u||f[28]!==n?(h=(0,r.jsxs)("div",{children:[n,u]}),f[27]=u,f[28]=n,f[29]=h):h=f[29],h},eC=[{name:"Price After Incentives (Low to high)",value:"PRICE_WITH_INCENTIVES_ASC"},{name:"Price After Incentives (High to low)",value:"PRICE_WITH_INCENTIVES_DESC"},{name:"Price (Low to high)",value:"MSRP_ASC"},{name:"Price (High to low)",value:"MSRP_DESC"},{name:"Electric Range (Low to high)",value:"ELECTRIC_RANGE_ASC"},{name:"Electric Range (High to low)",value:"ELECTRIC_RANGE_DESC"}],eE=e=>{let t,a,n,l=(0,c.c)(13),{models:s,setFilters:i,filters:o,onCtaClick:d}=e;if(l[0]!==o||l[1]!==i?(t=(0,r.jsx)(ew.f,{xs:12,className:"mb-32 flex grow md:mb-20 md:flex md:pl-20 lg:mb-32",children:(0,r.jsx)(eI,{setFilters:i,filters:o})}),l[0]=o,l[1]=i,l[2]=t):t=l[2],l[3]!==o||l[4]!==s||l[5]!==d){let e;l[7]!==o||l[8]!==d?(e=e=>{let t=e.evIncentives?.edges?.some(eT);return!!e.baseStyle.totalMsrp&&(!o.onlyIncentives||t)&&(0,r.jsx)(ew.f,{xs:12,md:6,lg:4,xl:3,className:"mb-20 flex grow md:pl-20",children:(0,r.jsx)(ej,{model:e,filters:o,onClick:d})},e.slug)},l[7]=o,l[8]=d,l[9]=e):e=l[9],a=s.map(e),l[3]=o,l[4]=s,l[5]=d,l[6]=a}else a=l[6];return l[10]!==t||l[11]!==a?(n=(0,r.jsx)("div",{children:(0,r.jsxs)(ey.f,{card:!0,className:"pt-20 md:-ml-20",children:[t,a]})}),l[10]=t,l[11]=a,l[12]=n):n=l[12],n};function eT(e){let{node:t}=e;return!!t.amount?.max}var eA=a(78106),eV=a(25916),e$=a(11870),eP=a(831),eM=a.n(eP);let eR=e=>{let t,a,n,l,s,i,o,u,h,f,p,v,b,y,w,j,N,k,S,_,I=(0,c.c)(64),{models:C,filters:E}=e,T=E.makeSlug??ez,R=E.modelSlug??"";I[0]!==E.postalCode||I[1]!==T||I[2]!==R?(t={defaultValues:{make:T,model:R,postalCode:E.postalCode}},I[0]=E.postalCode,I[1]=T,I[2]=R,I[3]=t):t=I[3];let{register:z,handleSubmit:D,errors:F,watch:B,control:L,getValues:q,reset:H,clearErrors:O,trigger:U,setValue:G}=(0,$.m)(t),{push:Y}=(0,M.c)(),W=(0,g.z)();I[4]!==B?(a=B("make"),I[4]=B,I[5]=a):a=I[5];let Q=a;if(I[6]!==C||I[7]!==Q){let e;n=eD(C),I[10]!==Q?(e=e=>e.value===Q,I[10]=Q,I[11]=e):e=I[11],l=n.find(e),I[6]=C,I[7]=Q,I[8]=n,I[9]=l}else n=I[8],l=I[9];let K=!!l;I[12]!==K||I[13]!==G?(s=()=>{K||G("make",ez)},i=[K,G],I[12]=K,I[13]=G,I[14]=s,I[15]=i):(s=I[14],i=I[15]),d.useEffect(s,i),I[16]!==E||I[17]!==Y||I[18]!==W?(o=e=>{let{make:t,model:a,postalCode:r}=e;W({eventAction:"Go CTA Click",eventCategory:"EV",eventLabel:E.makeSlug&&E.modelSlug?"MM Breakdown":"Browse EVs"}),Y(m.T.generate({...E,makeSlug:t!==ez?t:void 0,modelSlug:a||void 0,postalCode:r}),{scroll:!1})},I[16]=E,I[17]=Y,I[18]=W,I[19]=o):o=I[19],I[20]!==D||I[21]!==o?(u=D(o),I[20]=D,I[21]=o,I[22]=u):u=I[22],I[23]===Symbol.for("react.memo_cache_sentinel")?(h=(0,r.jsx)("p",{className:"sr-only",children:"Changing options in this select field will update the page according to the make and model selected."}),I[23]=h):h=I[23],I[24]!==F.make?.message||I[25]!==E||I[26]!==n||I[27]!==Y||I[28]!==G||I[29]!==W?(f=e=>{let{onChange:t,value:a}=e;return(0,r.jsx)(e$.z,{error:F.make?.message,label:"Make",placeholder:"Make",options:n,className:"mb-20 w-full md:mb-0 md:mr-20 md:min-
39h-[71px]",value:a,onChange:e=>{G("model",""),t(e),W({eventAction:"Select Make",eventCategory:"EV",eventLabel:`${E.makeSlug&&E.modelSlug?"MM Breakdown":"Browse EVs"} - ${e}`}),e===ez&&Y(m.T.generate({...E,makeSlug:void 0,modelSlug:void 0}),{scroll:!1})}})},I[24]=F.make?.message,I[25]=E,I[26]=n,I[27]=Y,I[28]=G,I[29]=W,I[30]=f):f=I[30],I[31]!==L||I[32]!==f?(p=(0,r.jsx)(ed.x,{name:"make",control:L,render:f}),I[31]=L,I[32]=f,I[33]=p):p=I[33],I[34]!==Q?(v=Q&&Q!==ez?{required:"Please select a model."}:void 0,I[34]=Q,I[35]=v):v=I[35],I[36]!==O||I[37]!==F.model?.message||I[38]!==E||I[39]!==q||I[40]!==C||I[41]!==Y||I[42]!==H||I[43]!==W||I[44]!==U||I[45]!==B?(b=e=>{let{ref:t,onChange:a,value:n}=e;return(0,r.jsx)(e$.z,{ref:t,error:F.model?.message,label:"Model",placeholder:"Model",options:eF(C,B("make")),className:"mb-20 w-full md:mb-0 md:mr-20 md:min-h-[71px]",value:n,onChange:async e=>{O("model"),W({eventAction:"Select Model",eventCategory:"EV",eventLabel:`${E.makeSlug&&E.modelSlug?"MM Breakdown":"Browse EVs"} - ${e}`});let t=await U("postalCode");if(e&&t){let t=q("make"),a=q("postalCode");Y(m.T.generate({...E,makeSlug:t,modelSlug:e}),{scroll:!1}),H({model:e,make:t,postalCode:a})}else a(e)}})},I[36]=O,I[37]=F.model?.message,I[38]=E,I[39]=q,I[40]=C,I[41]=Y,I[42]=H,I[43]=W,I[44]=U,I[45]=B,I[46]=b):b=I[46],I[47]!==L||I[48]!==v||I[49]!==b?(y=(0,r.jsx)(ed.x,{name:"model",control:L,rules:v,render:b}),I[47]=L,I[48]=v,I[49]=b,I[50]=y):y=I[50],I[51]===Symbol.for("react.memo_cache_sentinel")?(w=(0,x.x)("mr-20","mb-2
390","flex","w-full","border-t","border-neutral-700","pt-20","md:mb-0","md:min-h-[71px]","md:max-w-[141px]","md:border-t-0","md:pt-0"),j=(0,r.jsx)("span",{className:"hidden border-neutral-700 md:inline md:h-48 md:border-l"}),I[51]=w,I[52]=j):(w=I[51],j=I[52]);let J=F.postalCode?.message;return I[53]!==z||I[54]!==J?(N=(0,r.jsxs)("div",{className:w,children:[j,(0,r.jsx)(P.Q,{name:"postalCode",register:z,error:J,className:"w-full md:ml-16 xl:ml-20"})]}),I[53]=z,I[54]=J,I[55]=N):N=I[55],I[56]===Symbol.for("react.memo_cache_sentinel")?(k=(0,r.jsx)("div",{className:"mb-20 md:mr-20 md:mb-0 md:min-h-[71px]",children:(0,r.jsx)("div",{className:"flex items-center md:min-h-48",children:(0,r.jsx)(A.$,{color:"primary",type:"submit",className:"w-full md:w-auto",size:"lg",children:"Go"})})}),I[56]=k):k=I[56],I[57]!==p||I[58]!==y||I[59]!==N?(S=(0,r.jsxs)("div",{className:"items-center md:flex",children:[h,p,y,N,k]}),I[57]=p,I[58]=y,I[59]=N,I[60]=S):S=I[60],I[61]!==S||I[62]!==u?(_=(0,r.jsx)(V.l,{className:"w-full",onSubmit:u,children:S}),I[61]=S,I[62]=u,I[63]=_):_=I[63],_},ez="all_makes",eD=e=>[{name:"All Makes",value:ez},...eM()(e,e=>e.make.name).map(e=>({name:e.make.name,value:e.make.slug})).sort((e,t)=>e.value.localeCompare(t.value))],eF=(e,t)=>t?e.filter(e=>e.make.slug===t).map(e=>({name:e.name,value:e.slug})).sort((e,t)=>e.value.localeCompare(t.value)):[];var eB=a(55415),eL=a(99927);let eq=e=>{let t,a,n,l,s,i=(0,c.c)(16),{incentives:o,filters:m,model:u}=e,h=o.reduce(eO,0),f=D()(o,"benefitCategory"),{state:p,closeIncentiveModal:g,openIncentiveModal:v}=Z();i[0]!==m.household?(t=et({household:m.household}),i[0]=m.household,i[1]=t):t=i[1];let b=t;i[2]!==h||i[3]!==u?(a=h>0?(0,r.jsx)(y.D,{className:"py-32 lg:pt-0",size:3,children:"EV Incentives Summary"}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(y.D,{size:3,className:"pt-32 lg:pt-0",children:"Sorry — No EV Incentives Available"}),(0,r.jsxs)("div",{className:"pt-20",children:["No EV incentives could currently be found for this vehicle. You can try checking back at another time. You can also"," ",(0,r.jsx)(k.N,{href:eL.$.generate({makeSlug:u.make.slug,modelSlug:u.slug}),children:"check for other incentives"})," ","for this model."]})]}),i[2]=h,i[3]=u,i[4]=a):a=i[4];let w=Object.keys(f).map((e,t)=>(0,r.jsxs)(d.Fragment,{children:[(0,r.jsx)(y.D,{size:3.5,className:(0,x.x)(0===t?"pb-20":"py-20"),children:e}),(0,r.jsx)("div",{className:"border-b",children:f[e].map((e,a)=>(0,r.jsx)(eH,{onClickLearnMore:()=>v(e),incentive:e,initiallyOpen:0===t&&0===a},e.name))})]},t));return i[5]!==w?(n=(0,r.jsx)("div",{children:w}),i[5]=w,i[6]=n):n=i[6],i[7]!==g||i[8]!==p.incentive||i[9]!==p.open||i[10]!==b?(l=p.incentive&&(0,r.jsx)(X,{personalizedIncentives:b,open:p.open,incentive:p.incentive,onClose:g}),i[7]=g,i[8]=p.incentive,i[9]=p.open,i[10]=b,i[11]=l):l=i[11],i[12]!==a||i[13]!==n||i[14]!==l?(s=(0,r.jsxs)("div",{className:"pb-4",children:[a,n,l]}),i[12]=a,i[13]=n,i[14]=l,i[15]=s):s=i[15],s},eH=e=>{let t,a,n,l,s,i,o,d=(0,c.c)(19),{incentive:m,initiallyOpen:u,onClickLearnMore:h}=e,f=m.pointOfSale?1:2;d[0]!==f?(t=(0,r.jsx)("sup",{children:f}),d[0]=f,d[1]=t):t=d[1],d[2]!==m.name||d[3]!==t?(a=(0,r.jsxs)("span",{className:"font-500",children:[m.name,t]}),d[2]=m.name,d[3]=t,d[4]=a):a=d[4];let p=m.amount?.max??0;return d[5]!==p?(n=(0,B.G)(p),d[5]=p,d[6]=n):n=d[6],d[7]!==n?(l=(0,r.jsx)("span",{children:n}),d[7]=n,d[8]=l):l=d[8],d[9]!==m.disclaimer?(s=(0,r.jsx)("div",{className:"break-words line-clamp-2",children:m.disclaimer}),d[9]=m.disclaimer,d[10]=s):s=d[10],d[11]!==h?(i=(0,r.jsx)(O.z,{onClick:h,className:"pt-8",children:"Learn more"}),d[11]=h,d[12]=i):i=d[12],d[13]!==u||d[14]!==a||d[15]!==l||d[16]!==s||d[17]!==i?(o=(0,r.jsxs)(eB.m,{initiallyOpen:u,className:"border-t",title:a,subtitle:l,children:[s,i]}),d[13]=u,d[14]=a,d[15]=l,d[16]=s,d[17]=i,d[18]=o):o=d[18],o};function eO(e,t){return(t.amount?.max??0)+e}var eU=a(10895),eG=a(59059),eY=a(42480);let eW=e=>{let t,a,n,l,s,i,o,m,u,h,f,p,g,v,w,j,N,k,S,V,$,P,M,R,z,D,L,q=(0,c.c)(80),{model:H,forceShadow:O}=e;q[0]!==H.evIncentives?.edges?(t=H.evIncentives?.edges.reduce(eJ,0),q[0]=H.evIncentives?.edges,q[1]=t):t=q[1];let U=t,G=H.baseStyle.totalMsrp||void 0;if(q[2]!==H.evIncentives?.edges){let e=H.evIncentives?.edges.filter(eX);a=(H.evIncentives?.edges.filter(eZ)).reduce(e0,0),n=e.reduce(e1,0),q[2]=H.evIncentives?.edges,q[3]=a,q[4]=n}else a=q[3],n=q[4];let Y=n,W=G&&U?G-U:void 0,K=G&&Y?G-Y:void 0,J=a&&Y?E.T:d.Fragment,X=a&&Y?C.K:"div";q[5]!==H.make.slug?(l=(0,eY.L)({makeSlug:H.make.slug}),q[5]=H.make.slug,q[6]=l):l=q[6];let Z=l,ee=!O&&"rounded-0 border-b border-neutral-700";q[7]!==ee?(s=(0,x.x)(ee),q[7]=ee,q[8]=s):s=q[8];let et=O&&"rounded-t";q[9]!==et?(i=(0,x.x)("bg-[#1979C712]","py-20","px-32","flex",et,"items-center","justify-center","lg:px-32"),q[9]=et,q[10]=i):i=q[10],q[11]!==H.make.name||q[12]!==H.name||q[13]!==H.year?(o=(0,r.jsxs)(y.D,{size:3,md:2,lg:3,children:[H.year," ",H.make.name," ",H.name]}),q[11]=H.make.name,q[12]=H.name,q[13]=H.year,q[14]=o):o=q[14],q[15]!==i||q[16]!==o?(m=(0,r.jsx)("div",{className:i,children:o}),q[15]=i,q[16]=o,q[17]=m):m=q[17],q[18]===Symbol.for("react.memo_cache_sentinel")?(u=(0,x.x)("pt-20","px-32","md:pt-32","lg:pt-20","pb-32","md:pb-40","text-center","md:flex","lg:block"),q[18]=u):u=q[18];let ea=!U&&"grid gap-x-32 md:grid-cols-2 lg:grid-cols-1";q[19]!==ea?(h=(0,x.x)("w-full",ea),q[19]=ea,q[20]=h):h=q[20];let er=!!U&&"grid gap-x-32 md:grid-cols-2 lg:grid-cols-1";q[21]!==er?(f=(0,x.x)(er,"w-full"),q[21]=er,q[22]=f):f=q[22],q[23]!==H.whiteQuarterImage?(p=H.whiteQuarterImage&&(0,r.jsx)(Q.V,{width:H.whiteQuarterImage.width,height:H.whiteQuarterImage.height,url:H.whiteQuarterImage.url,block:!0,alt:"",role:"presentation",className:"mb-20"}),q[23]=H.whiteQuarterImage,q[24]=p):p=q[24],q[25]!==W?(g=!!W&&(0,r.jsxs)("div",{children:[(0,r.jsx)(y.D,{size:1,children:(0,B.G)(W)}),(0,r.jsx)("p",{className:"pt-8 pb-20 text-12",children:"Est. Price After All Potential Incentives"})]}),q[25]=W,q[26]=g):g=q[26],q[27]!==Z||q[28]!==G||q[29]!==U?(v=!U&&(0,r.jsx)("div",{className:"hidden md:block lg:hidden",children:(0,r.jsx)(eK,{name:`Starting ${Z}`,value:G,disclaimer:eG.P.minimizedMsrp,bold:!0})}),q[27]=Z,q[28]=G,q[29]=U,q[30]=v):v=q[30],q[31]!==p||q[32]!==g||q[33]!==v?
39(w=(0,r.jsxs)("div",{className:"px-20",children:[p,g,v]}),q[31]=p,q[32]=g,q[33]=v,q[34]=w):w=q[34],q[35]!==X||q[36]!==J||q[37]!==a||q[38]!==W||q[39]!==Z||q[40]!==K||q[41]!==Y||q[42]!==G||q[43]!==U?(j=U>0&&(0,r.jsxs)(T.t,{children:[!!a&&!!Y&&(0,r.jsxs)(I.w,{type:"tab",block:!0,className:"mb-20 border-b",children:[(0,r.jsx)(_.V,{children:"After All Incentives"}),(0,r.jsx)(_.V,{children:"At Purchase"})]}),(0,r.jsx)(eK,{name:`Starting ${Z}`,value:G,disclaimer:eG.P.minimizedMsrp,className:"pb-16"}),(0,r.jsx)(eK,{name:"Total At-Purchase Incentives\xb9",value:-Y,className:"pb-16"}),(0,r.jsxs)(J,{children:[(0,r.jsxs)(X,{children:[(0,r.jsx)(eK,{name:"Total After-Purchase Incentives\xb2",value:-a,className:"pb-16"}),!!a&&(0,r.jsx)(eQ,{estimatedPrice:W,disclaimer:"This estimated price includes at-purchase incentives,\n                          which can be applied to the vehicle price at the time of\n                          purchase, and after-purchase incentives, which won’t be\n                          applicable during purchase but can be applied afterwards.\n                          EV incentives and rebates may change or become\n                          unavailable."})]}),(0,r.jsx)(X,{children:!!K&&(0,r.jsx)(eQ,{estimatedPrice:K,disclaimer:"This estimated price includes at-purchase incentives, which\n                          can be applied to the vehicle price at the time of purchase.\n                          EV incentives and rebates may change or become unavailable."})})]})]}),q[35]=X,q[36]=J,q[37]=a,q[38]=W,q[39]=Z,q[40]=K,q[41]=Y,q[42]=G,q[43]=U,q[44]=j):j=q[44],q[45]!==f||q[46]!==w||q[47]!==j?(N=(0,r.jsxs)("div",{className:f,children:[w,j]}),q[45]=f,q[46]=w,q[47]=j,q[48]=N):N=q[48];let en=!!U&&"grid pt-32 md:grid-cols-2 md:pt-0 lg:grid-cols-1 lg:pt-32";return q[49]!==en?(k=(0,x.x)(en,""),q[49]=en,q[50]=k):k=q[50],q[51]!==H.defaultModelYear||q[52]!==H.make.slug||q[53]!==H.slug||q[54]!==H.year?(S=eU.s.generate({makeSlug:H.make.slug,modelSlug:H.slug,modelYear:H.defaultModelYear?void 0:H.year}),q[51]=H.defaultModelYear,q[52]=H.make.slug,q[53]=H.slug,q[54]=H.year,q[55]=S):S=q[55],q[56]===Symbol.for("react.memo_cache_sentinel")?(V={eventAction:"Build and Price PR CTA Click",eventCategory:"EV",eventLabel:"MM Breakdown"},q[56]=V):V=q[56],q[57]!==S?($=(0,r.jsx)("div",{className:"my-auto",children:(0,r.jsx)(A.$,{block:!0,color:"primary",className:"mb-16",href:S,tracking:V,children:"Build & Price"})}),q[57]=S,q[58]=$):$=q[58],q[59]!==k||q[60]!==$?(P=(0,r.jsx)("div",{className:k,children:$}),q[59]=k,q[60]=$,q[61]=P):P=q[61],q[62]!==h||q[63]!==N||q[64]!==P?(M=(0,r.jsxs)("div",{className:h,children:[N,P]}),q[62]=h,q[63]=N,q[64]=P,q[65]=M):M=q[65],q[66]!==Z||q[67]!==G||q[68]!==U?(R=!U&&(0,r.jsx)("div",{className:"pt-32 md:hidden lg:block",children:(0,r.jsx)(eK,{name:`Starting ${Z}`,value:G,disclaimer:"TSRP"===Z?null:eG.P.minimizedMsrp,bold:!0})}),q[66]=Z,q[67]=G,q[68]=U,q[69]=R):R=q[69],q[70]!==M||q[71]!==R?(z=(0,r.jsxs)(b.L,{className:u,children:[M,R]}),q[70]=M,q[71]=R,q[72]=z):z=q[72],q[73]!==z||q[74]!==m?(D=(0,r.jsxs)("div",{className:"w-full",children:[m,z]}),q[73]=z,q[74]=m,q[75]=D):D=q[75],q[76]!==O||q[77]!==D||q[78]!==s?(L=(0,r.jsx)(F.Z,{className:s,forceShadow:O,children:D}),q[76]=O,q[77]=D,q[78]=s,q[79]=L):L=q[79],L},eQ=e=>{let t,a,n,l,s,i=(0,c.c)(10),{estimatedPrice:o,disclaimer:d}=e;return o?(i[0]===Symbol.for("react.memo_cache_sentinel")?(t=(0,r.jsx)(y.D,{size:4,className:"pr-4",children:"Estimated Price"}),i[0]=t):t=i[0],i[1]!==d?(a=(0,r.jsxs)("div",{className:"flex items-center text-center",children:[t,(0,r.jsx)(ei.F,{children:(0,r.jsx)("p",{children:d})})]}),i[1]=d,i[2]=a):a=i[2],i[3]!==o?(n=(0,B.G)(o),i[3]=o,i[4]=n):n=i[4],i[5]!==n?(l=(0,r.jsx)(y.D,{size:3,children:n}),i[5]=n,i[6]=l):l=i[6],i[7]!==a||i[8]!==l?(s=(0,r.jsx)("div",{className:"border-t",children:(0,r.jsxs)("div",{className:"flex justify-between pt-16 md:pt-20 lg:pt-16",children:[a,l]})}),i[7]=a,i[8]=l,i[9]=s):s=i[9],s):null},eK=e=>{let t,a,n,l,s,i,o,d,m=(0,c.c)(21),{name:u,value:h,disclaimer:f,bold:p,className:g}=e;if(!h)return null;m[0]!==g?(t=(0,x.x)("flex items-center justify-between",g),m[0]=g,m[1]=t):t=m[1];let v=p&&"font-500";return m[2]!==v?(a=(0,x.x)(v),m[2]=v,m[3]=a):a=m[3],m[4]!==u||m[5]!==a?(n=(0,r.jsx)("div",{className:a,children:u}),m[4]=u,m[5]=a,m[6]=n):n=m[6],m[7]!==f?(l=f&&(0,r.jsx)(ei.F,{className:"ml-8",children:f}),m[7]=f,m[8]=l):l=m[8],m[9]!==n||m[10]!==l?(s=(0,r.jsxs)("div",{className:"flex items-center text-center",children:[n,l]}),m[9]=n,m[10]=l,m[11]=s):s=m[11],m[12]!==p||m[13]!==h?(i=p?(0,r.jsx)(y.D,{size:3,children:(0,B.G)(h)}):(0,B.G)(h),m[12]=p,m[13]=h,m[14]=i):i=m[14],m[15]!==i?(o=(0,r.jsx)("div",{children:i}),m[15]=i,m[16]=o):o=m[16],m[17]!==t||m[18]!==s||m[19]!==o?(d=(0,r.jsxs)("div",{className:t,children:[s,o]}),m[17]=t,m[18]=s,m[19]=o,m[20]=d):d=m[20],d};function eJ(e,t){let{node:a}=t;return e+(a.amount?.max??0)}function eX(e){let{node:t}=e;return t.pointOfSale}function eZ(e){let{node:t}=e;return!t.pointOfSale}function e0(e,t){let{node:a}=t;return e+(a.amount?.max??0)}function e1(e,t){let{node:a}=t;return e+(a.amount?.max??0)}let e2=e=>
39{let t,a,n,l,s,i,o,d,u,h,f,p,g,v=(0,c.c)(35),{model:x,filters:y}=e;v[0]!==y?(t=m.T.generate({...y,modelSlug:void 0,makeSlug:void 0}),v[0]=y,v[1]=t):t=v[1];let w=t;v[2]!==x.evIncentives.edges?(a=x.evIncentives.edges.map(e3),v[2]=x.evIncentives.edges,v[3]=a):a=v[3];let j=a;return v[4]!==w?(n=(0,r.jsx)(b.L,{className:"py-20",children:(0,r.jsx)(e5,{url:w})}),v[4]=w,v[5]=n):n=v[5],v[6]!==x?(l=(0,r.jsx)(eW,{model:x}),v[6]=x,v[7]=l):l=v[7],v[8]!==j||v[9]!==y||v[10]!==x?(s=(0,r.jsx)(b.L,{children:(0,r.jsx)(eq,{incentives:j,filters:y,model:x})}),v[8]=j,v[9]=y,v[10]=x,v[11]=s):s=v[11],v[12]!==l||v[13]!==s?(i=(0,r.jsxs)("div",{children:[l,s]}),v[12]=l,v[13]=s,v[14]=i):i=v[14],v[15]!==n||v[16]!==i?(o=(0,r.jsxs)("div",{className:"hidden-lg-up",children:[n,i]}),v[15]=n,v[16]=i,v[17]=o):o=v[17],v[18]!==w?(d=(0,r.jsx)("div",{className:"pt-20 pb-40",children:(0,r.jsx)(e5,{url:w})}),v[18]=w,v[19]=d):d=v[19],v[20]!==j||v[21]!==y||v[22]!==x?(u=(0,r.jsx)("div",{children:(0,r.jsx)(eq,{incentives:j,filters:y,model:x})}),v[20]=j,v[21]=y,v[22]=x,v[23]=u):u=v[23],v[24]!==x?(h=(0,r.jsx)("div",{className:"lg:pl-32",children:(0,r.jsx)(eW,{model:x,forceShadow:!0})}),v[24]=x,v[25]=h):h=v[25],v[26]!==h||v[27]!==u?(f=(0,r.jsxs)("div",{className:"grid gap-x-8 grid-cols-[7fr_5fr]",children:[u,h]}),v[26]=h,v[27]=u,v[28]=f):f=v[28],v[29]!==f||v[30]!==d?(p=(0,r.jsxs)(b.L,{className:"hidden-md-down",children:[d,f]}),v[29]=f,v[30]=d,v[31]=p):p=v[31],v[32]!==p||v[33]!==o?(g=(0,r.jsxs)("div",{children:[o,p]}),v[32]=p,v[33]=o,v[34]=g):g=v[34],g},e5=e=>{let t,a,n=(0,c.c)(3),{url:l}=e;return n[0]===Symbol.for("react.memo_cache_sentinel")?(t={eventAction:"Back to Browse EV CTA Click",eventCategory:"EV",eventLabel:"MM Breakdown"},n[0]=t):t=n[0],n[1]!==l?(a=(0,r.jsxs)(r.Fragment,{children:["< ",(0,r.jsx)(k.N,{href:l,scroll:!1,tracking:t,children:"Back to Browsing"})]}),n[1]=l,n[2]=a):a=n[2],a};function e3(e){let{node:t}=e;return t}let e4=()=>{let e,t=(0,c.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsxs)("p",{children:["EV incentives and rebates may change or become unavailable. We strive to regularly update available rebates and incentives, but our information may not always be comprehensive. For the most up-to-date information, visit the"," ",(0,r.jsx)(k.N,{href:"https://afdc.energy.gov/",target:"_blank",className:"text-muted",children:"Alternative Fuels Data Center"})," ","website or check with the website of the organization offering a specific incentive or rebate. While we publish these incentives and rebates on our site, you will still need to visit the website of each individual incentive and rebate in order to apply for them, in addition to fulfilling any other listed application requirements for each incentive."]}),t[0]=e):e=t[0],e};var e6=a(53462),e7=a(87639),e9=a(94351),e8=a(66253);let te=[{question:"What incentives do you get for buying an electric car?",answer:`When you buy an electric car, you may be eligible for a one-time tax credit of up to $7,500 for a new clean vehicle or up to $4,000 for a pre-owned clean vehicle from the federal government, depending on the amount of income you earn and subject to meeting the criteria for each credit set forth by the IRS. It's important to note that at this time, this isn't represented as immediate point-of-sale savings on your EV. It's a tax credit, which means that it reduces what you owe in federal income taxes during the year that you purchased your electric vehicle.
40
41    There are also state and local incentives you may qualify for. These can vary depending on your location, your household size, your utility provider, which EV you want, and whether you're trading in a car. Those incentives can include:
42
43    - Cash rebates that come after purchasing the EV
44    - Vouchers, down payments or grants that can be put toward an EV purchase before buying
45    - Bill credits from utility companies
46    - Perks like free charging or HOV-lane access
47    - Rebates and credits for charger installation
48
49    You can use our incentives tool to search for incentives by location or vehicle make/model.
50      `},{question:"How do I get a state or local rebate on an EV?",answer:"Rebates differ by state and vehicle. Use our incentives tool to find the specific rebates you qual
50ify for. To apply for each rebate, click or tap Learn More to visit the website offering the rebate."},{question:"How do I claim an EV grant?",answer:"Your dealer will claim the government EV grant after you purchase your electric vehicle, and deduct that amount from the vehicle's asking price if you are buying in cash."},{question:"What states offer incentives for electric cars?",answer:"45 states and the District of Columbia provide incentives for electric vehicles. These incentives include rebates, tax credits, utility rate reductions, exemption from emissions testing, and fleet acquisition goals."},{question:"What factors should be considered for federal incentives for a new EV?",answer:`For qualified EVs purchased after 8/16/2022 and before 1/1/2023, the minimum Section 30D federal tax credit amount is $2,500, and the credit may be up to $7,500 depending on the vehicle's battery capacity. Note that the credit is phased out for an EV in the 2nd through 4th quarters following the calendar quarter in which a minimum of 200,000 qualified EVs have been sold by its respective manufacturer for use in the U.S. Furthermore, the final assembly of the EV must occur within North America.
51
52    For qualified EVs purchased after 12/31/2022 and before 1/1/2033, under the Inflation Reduction Act, the Section 30D* federal tax credit may be up to $7,500. A credit of $3,750 is available if the battery that propels the EV contains critical minerals that meet certain domestic sourcing requirements. An additional credit of $3,750 is available if the battery that propels the EV contains certain components assembled or manufactured in North America. Qualified vehicles must be made by a qualified manufacturer, the final assembly of the EV must occur within North America, and the MSRP of the vehicle must be less than $55,000 (or $80,000 for vans, pickup trucks and SUVs). There are also income caps to consider: individuals with current or prior year modified adjusted gross income above $150,000, joint filers above $300,000, and heads of household above $225,000, do not qualify to claim the credit. We recommend contacting a tax preparer for assessing these incentives and for determining whether you may qualify for the federal EV tax credit.
53
54    *The Section 30D credit under IRA outlined above is intended for individual taxpayers only. If you are a business that is purchasing clean vehicles, there is a credit specifically for business entities under IRA, Section 45W, that provides a credit of up to $7,500 for qualifying electric vehicles weighing less than 14,000 pounds, or $40,000 for qualifying heavy vehicles. Please contact your tax preparer for additional information related to these credits.
55    `},{question:"What incentives are available for a pre-owned EV?",answer:`Under the Inflation Reduction Act, under Section 25E, used light-duty electric vehicles purchased from a dealer after 12/31/2022 and before 1/1/2033 may be eligible for a federal tax credit of either $4,000 or 30% of the used EV's price, whichever is less. Qualifying cars would need to be at least two model years earlier than the year of purchase. The sales price cap of the EV is $25,000, and there are also income caps to consider: individuals with current or prior year modified adjusted gross income above $75,000, joint filers above $150,000, and heads of household above $112,500, do not qualify. Eligibility factors for the Section 25E previously-owned clean vehicle credit do NOT include whether the final assembly took place in North America, nor where key battery components or minerals come from. However, vehicles are limited to one credit every three years, based on the VIN.
56
57  Some local authorities offer rebates on used and certified pre-owned EV purchases. There may be additional state, local, or private incentives for low-income communities on used vehicles. You can use our search tool to find used car incentives you qualify for.
58
59  We recommend contacting your tax preparer for assessing these incentives and for determining whether you may qualify for the federal EV tax credit or other local incentives.
60  `},{question:"How do I claim the federal EV tax credit?",answer:[{type:"text",content:"You can claim the one-time tax credit of up to $7,500 for a new clean      vehicle or up to $4,000 for a pre-owned clean vehicle on your federal      income tax return by filing "},{type:"link",href:"https://www.irs.gov/pub/irs-pdf/f8936.pdf",content:"IRS Form 8936"},{type:"text",content:". When you buy the car, you’ll need to get a letter of certification from your dealer stating the vehicle’s make, model, and the tax year in which it qualifies for the credit. This letter is required for purposes of claiming the credit and will provide helpful information related to whether your EV is a qualifying vehicle, subject to meeting all the requirements laid out by the IRS. It’s important to confirm if your vehicle qualifies for the tax credit before you purchase it, and we recommend you consult with a tax advisor. You may also want to have your Buyer’s Order on hand, so that you can easily access any vehicle-related information you may 
60need for tax purposes, such as your VIN."},{type:"break"},{type:"break"},{type:"text",content:"Additionally, in order to know your modified adjusted gross income, and thus if you are eligible to claim an EV tax credit, you’ll need to reference information from your current and prior year Forms 1040. That means you may need to have completed a large chunk of your current year individual tax return before beginning to fill out Form 8936."},{type:"break"},{type:"break"},{type:"text",content:"If you need help or have other questions about how to claim the federal EV tax credit, contact a tax preparer."}]},{question:"Can I get incentives for leasing an EV?",answer:`The federal tax credit for new clean vehicles under IRA is available for EVs that are acquired for use or lease, not for resale, and may apply to leased EVs. Eligibility for the credit depends on the fact pattern of the lease arrangement. It is important that you consult with your tax advisor on determining if the specific terms of your lease agreement make you eligible to claim the credit.
61
62  Additionally, some state and local authorities offer incentives for leased EVs. Also, sometimes automakers will offer lower-priced leases that include the value of the tax credit.
63  `},{question:"What perks can come with owning an EV? (HOV lane, discounted electricity, etc.)",answer:`EV owners enjoy quite a few perks. Some states allow electric vehicles to drive in carpool or HOV lanes, even when there is only one vehicle occupant. States sometimes also offer cheaper registration for EVs, and a tax credit for installing a home car charging station. This last benefit is a sizeable one, since owners can keep their cars fully charged without needing to visit an outside charging station, and they can also charge during off-peak hours, leading to a substantially lower cost of ownership. In addition, selected automakers provide charging credits at certain charging stations. Some businesses also offer free EV parking, or allow electric vehicles to park closer to building entrances — and cities like Los Angeles offer free parking for EVs in certain areas of town.
64
65  This information is for illustrative purposes only, and any rebates/incentive/perks may vary depending upon the EV purchased and other factors.
66  `}],tt=()=>{let e,t,a=(0,c.c)(2);return a[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(y.D,{level:3,size:3,className:"pb-20",children:"FAQs"}),a[0]=e):e=a[0],a[1]===Symbol.for("react.memo_cache_sentinel")?(t=(0,r.jsxs)(b.L,{className:"pt-32 pb-40",children:[e,(0,r.jsx)(e9.U,{json:(0,e8.w)(te)}),(0,r.jsx)("hr",{}),te.map(ta)]}),a[1]=t):t=a[1],t};function ta(e){let{question:t,answer:a}=e,n="string"==typeof a?a:(0,e7.T)(a);return(0,r.jsx)(e6.u,{initiallyOpen:!1,title:t,description:n},t)}let tr=()=>{let e,t,a,n=(0,c.c)(3);return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(y.D,{level:3,size:3,className:"pb-20 text-center sm:text-left",children:"Electric Vehicles Incentive Information"}),t=(0,r.jsx)("p",{className:"pb-20",children:"Did you know that your location, income, household size, and specific EV all impact the rebates and incentives you can qualify for? Use this tool to find out if you qualify for incentives, how much you can receive in credits after the purchase of your EV, and more."}),n[0]=e,n[1]=t):(e=n[0],t=n[1]),n[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,r.jsx)("div",{className:"bg-light py-32",children:(0,r.jsxs)(b.L,{children:[e,t,(0,r.jsx)("p",{className:"text-12",children:(0,r.jsxs)("em",{children:["FAQs were last updated on ",(0,r.jsx)("strong",{children:"October 19, 2022"})]})})]})}),n[2]=a):a=n[2],a},tn=()=>{let e,t=(0,c.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(ee,{children:"Information & FAQs"}),(0,r.jsx)(tr,{}),(0,r.jsx)(tt,{})]}),t[0]=e):e=t[0],e},tl=()=>{let e,t=(0,c.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("p",{className:"pb-32",children:"\xb9At-purchase incentives, also called point-of-purchase incentives, can be applied to the price of an electric vehicle at the time of purchase. They can include grants and rebates available in your local area. EV incentives and rebates may change or become unavailable."}),(0,r.jsx)("p",{className:"pb-32",children:"\xb2After-purchase incentives can include cash rebates, utility bill credits, perks like free charging or HOV-lane access, or rebates and credits for charger installation. EV incentives and rebates may change or become unavailable."})]}),t[0]=e):e=t[0],e},ts=()=>{let e,t=(0,c.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)("p",{className:"pb-32",children:'\xb9"After All Incentives" includes both at-purchase incentives and after-purchase incentives, which can include the Federal EV tax credit, cash rebates, utility bill credits, perks like free charging or HOV-lane access, or rebates and credits for charger installation. EV incentives and rebates may change or become unavailable.'}),t[0]=e):e=t[0],e};var ti=a(99968),to=a(93501);let tc=(0,n.Ay)`
67    query getElectricIncentivesPage($postalCode: String, $household: HouseholdInput, $turnIn: Boolean, $engineTypes: [VehicleEngineType!], $sort: ModelsByTypeSortEnum!) {
68  modelsByType(engineTypes: $engineTypes, sort: $sort) {
69    __typename
70    edges {
71      __typename
72      cursor
73      node {
74        __typename
75        id
76        name
77        slug
78        make {
79          __typename
80          id
81          slug
82          name
83        }
84        baseStyle {
85          __typename
86          id
87          totalMsrp
88        }
89        year
90        modelOverviewYear
91        electricRange {
92          __typename
93          min
94          max
95        }
96        engineTypes
97        bodyStyles {
98          __typename
99          id
100          name
101        }
102        whiteQuarterImage {
103          __typename
104          url
105          height
106          width
107        }
108        evIncentives(postalCode: $postalCode, turnIn: $turnIn, household: $household) {
109          __typename
110          edges {
111            __typename
112            cursor
113            node {
114              amount {
115                __typename
116                max
117              }
118              __typename
119              name
120              fundingSource
121              summary
122              disclaimer
123              externalSource
124              includesUnconditional
125              benefitCategory
126              pointOfSale
127            }
128          }
129        }
130        hasNewInventory
131        defaultModelYear
132      }
133    }
134  }
135  evIncentives(postalCode: $postalCode, household: $household, turnIn: $turnIn) {
136    __typename
137    edges {
138      __typename
139      cursor
140      node {
141        __typename
142        benefitCategory
143        name
144        fundingSource
145        summary
146        disclaimer
147        amount {
148          __typename
149          max
150          min
151        }
152        includesUnconditional
153        externalSource
154      }
155    }
156  }
157}
158    `;tc.documentId="3bfde1a2fa22d3aaef5c0bc44a96e727f846c9f3132c46a54ac5450cb743a3cf";var td=a(27855),tm=a(84411),tu=a(81704),th=a(64226);let{prefetchValue:tf,useValue:tp}=(0,tu.$)({postalCode:th.u.string.optional},e=>{let{withAccuracy:t}=(0,td.E)(e);return t?.postalCode}),{prefetchQueries:tg,useQueries:tv}=(0,tm.w)(m.T,e=>{let{params:t,runQuery:a}=e,{household:r,turnIn:n,sort:l,includePlugInHybrids:s}=t;return{electricIncentives:a({query:tc,variables:{postalCode:tf(e),household:r,turnIn:r?.income&&r.size?n:void 0,sort:l,engineTypes:s?["ELECTRIC","PLUG_IN_HYBRID"]:["ELECTRIC"]}})}},e=>({modelsByType:e.electricIncentives?.modelsByType,evIncentives:e.electricIncentives?.evIncentives})),tx=e=>
158{let t,a,n,l,s,i,o,u,f,x,y,w,j,N,k,A,V,$,P,R,z,D,F,B,L,q=(0,c.c)(64),{params:H,metadata:O}=e,U=d.useRef(null),G=(0,g.z)();q[0]!==H?(t={params:H},q[0]=H,q[1]=t):t=q[1];let Y=tp(t);q[2]!==H||q[3]!==Y?(a={...H,postalCode:Y},q[2]=H,q[3]=Y,q[4]=a):a=q[4];let W=a,{push:Q}=(0,M.c)();q[5]!==W||q[6]!==Q?(n=e=>{Q(m.T.generate({...W,...e}),{scroll:!1})},q[5]=W,q[6]=Q,q[7]=n):n=q[7];let K=n;q[8]!==H?(l={params:H},q[8]=H,q[9]=l):l=q[9];let{data:J,loading:X}=tv(l),{modelsByType:Z,evIncentives:et}=J;if(X&&!Z?.edges.length){let e;return q[10]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(eA.D,{}),q[10]=e):e=q[10],e}if(!Z||!Z.edges.length||!et)throw new eV.m;q[11]!==W.makeSlug||q[12]!==W.modelSlug||q[13]!==W.section||q[14]!==Z.edges?(s=Z.edges.map(tw),i="models"===W.section&&W.makeSlug&&W.modelSlug?s.find(e=>e.slug===W.modelSlug):void 0,q[11]=W.makeSlug,q[12]=W.modelSlug,q[13]=W.section,q[14]=Z.edges,q[15]=s,q[16]=i):(s=q[15],i=q[16]);let ea=i;q[17]!==O?(o=(0,r.jsx)(h.f,{metadata:O}),q[17]=O,q[18]=o):o=q[18];let er=W.includePlugInHybrids?"Plug-In Hybrid":null;return q[19]!==er?(u={fuelType:["Electric",er].filter(to.R)},q[19]=er,q[20]=u):u=q[20],q[21]===Symbol.for("react.memo_cache_sentinel")?(f=(0,r.jsx)(v.m,{active:"electric-incentives"}),x=(0,r.jsx)(S,{}),q[21]=f,q[22]=x):(f=q[21],x=q[22]),q[23]!==W||q[24]!==K||q[25]!==G?(y=e=>{K({...W,section:tb[e],makeSlug:void 0,modelSlug:void 0}),G({eventAction:"Location Browse Toggle",eventCategory:"EV",eventLabel:"incentives"===tb[e]?"Location":"Browse EVs"})},q[23]=W,q[24]=K,q[25]=G,q[26]=y):y=q[26],q[27]!==W.section?(w=tb.indexOf(W.section??"incentives"),q[27]=W.section,q[28]=w):w=q[28],q[29]===Symbol.for("react.memo_cache_sentinel")?(j=(0,r.jsx)(b.L,{children:(0,r.jsxs)(I.w,{type:"tab",block:!0,children:[(0,r.jsx)(_.V,{"data-test":"browseIncentivesTab",children:"Browse Incentives"}),(0,r.jsx)(_.V,{"data-test":"browseEvsTab",children:"Browse EVs"})]})}),q[29]=j):j=q[29],q[30]!==et||q[31]!==W||q[32]!==K?(N="incentives"===W.section&&(0,r.jsx)(eb,{setFilters:K,incentives:et.edges.map(tj)??[],filters:W}),q[30]=et,q[31]=W,q[32]=K,q[33]=N):N=q[33],q[34]!==N?(k=(0,r.jsx)(C.K,{children:N}),q[34]=N,q[35]=k):k=q[35],q[36]!==W||q[37]!==s||q[38]!==ea||q[39]!==K?(A="models"===W.section&&(0,r.jsxs)("div",{ref:U,children:[(0,r.jsx)(ee,{children:"Browse EVs"}),(0,r.jsx)("div",{className:"bg-light py-20 md:py-[23px] lg:pb-0",children:(0,r.jsxs)(b.L,{className:"lg:flex lg:items-center",children:[(0,r.jsx)(eR,{filters:W,models:s},`${W.makeSlug} ${W.modelSlug} ${W.postalCode}`),(0,r.jsx)(ex,{filters:W,setFilters:K})]})}),ea?(0,r.jsx)(e2,{model:ea,filters:W}):(0,r.jsx)(b.L,{children:(0,r.jsx)(eE,{models:s,filters:W,setFilters:K,onCtaClick:e=>{e.metaKey||e.altKey||e.shiftKey||U?.current?.scrollIntoView()}})})]}),q[36]=W,q[37]=s,q[38]=ea,q[39]=K,q[40]=A):A=q[40],q[41]!==A?(V=(0,r.jsx)(C.K,{children:A}),q[41]=A,q[42]=V):V=q[42],q[43]!==k||q[44]!==V?($=(0,r.jsxs)(E.T,{children:[k,V]}),q[43]=k,q[44]=V,q[45]=$):$=q[45],q[46]!==y||q[47]!==w||q[48]!==$?(P=(0,r.jsxs)(T.t,{className:"pb-40",onChange:y,index:w,children:[j,$]}),q[46]=y,q[47]=w,q[48]=$,q[49]=P):P=q[49],q[50]!==W.section||q[51]!==ea?(R="models"===W.section&&ea?(0,r.jsx)(tl,{}):(0,r.jsx)(ts,{}),q[50]=W.section,q[51]=ea,q[52]=R):R=q[52],q[53]===Symbol.for("react.memo_cache_sentinel")?(z=(0,r.jsx)(e4,{}),q[53]=z):z=q[53],q[54]!==R?(D=(0,r.jsxs)(b.L,{className:"pb-40 text-12 text-muted",children:[R,z]}),q[54]=R,q[55]=D):D=q[55],q[56]===Symbol.for("react.memo_cache_sentinel")?(F=(0,r.jsx)(tn,{}),q[56]=F):F=q[56],q[57]!==P||q[58]!==D||q[59]!==u?(B=(0,r.jsxs)(p.B,{name:"Electric Vehicle Incentives",variables:u,children:[f,x,P,D,F]}),q[57]=P,q[58]=D,q[59]=u,q[60]=B):B=q[60],q[61]!==B||q[62]!==o?(L=(0,r.jsxs)(r.Fragment,{children:[o,B]}),q[61]=B,q[62]=o,q[63]=L):L=q[63],L},tb=["incentives","models"];tx.getInitialProps=(0,u.q)(m.T,async e=>(await tg(e),{metadata:ty({params:e.params,partner:e.currentPartner})})),tx.pageName="Electric Vehicle Incentives",tx.route=m.T;let ty=e=>{let{params:t}=e,a=(0,f.D)(),r=(0,ti.A)(a,"MMMM"),n=a.getFullYear(),l={title:`EV Incentives & Rebates ${r} ${n}`,description:"See EV, hybrid, and plug-in hybrid incentives by location. Personalize incentives to see how much you qual
158ify for in tax credits, rebates, and more!",alternates:{canonical:m.T.generate({})}};return m.T.generate(t)!==m.T.generate({})?{...l,robots:{follow:!1}}:l};function tw(e){let{node:t}=e;return t}function tj(e){let{node:t}=e;return t}},19004:(e,t,a)=>{"use strict";a.d(t,{i:()=>s});var r=a(6029),n=a(75155);a(55729);var l=a(65491);let s=e=>{let t,a,s,i=(0,n.c)(6);i[0]!==e?({fill:t,...a}=e,i[0]=e,i[1]=t,i[2]=a):(t=i[1],a=i[2]);let o="check";return i[3]!==a||i[4]!==o?(s=(0,r.jsx)(l.I,{spriteID:o,...a}),i[3]=a,i[4]=o,i[5]=s):s=i[5],s}},20218:(e,t,a)=>{"use strict";a.d(t,{j:()=>s});var r=a(6029),n=a(75155);a(55729);var l=a(65491);let s=e=>{let t,a,s,i=(0,n.c)(6);i[0]!==e?({fill:t,...a}=e,i[0]=e,i[1]=t,i[2]=a):(t=i[1],a=i[2]);let o="open_in_new";return i[3]!==a||i[4]!==o?(s=(0,r.jsx)(l.I,{spriteID:o,...a}),i[3]=a,i[4]=o,i[5]=s):s=i[5],s}},20784:(e,t,a)=>{"use strict";a.d(t,{P:()=>g});var r=a(6029),n=a(75155),l=a(55729),s=a(31133),i=a(91946),o=a(82665),c=a(74968),d=a(40215),m=a(60870),u=a(49838);let h=e=>{let t,a=(0,n.c)(19),{linkButton:l,linkTitle:d,linkText:h,onCollapse:f,onExpand:p,open:g,setOpen:v,isEllipsis:x,"aria-label":b,theme:y,"data-test-item":w}=e,{collapse:j,expand:k}=h,S=g?o.L:i.I;if(a[0]!==S||a[1]!==b||a[2]!==w||a[3]!==x||a[4]!==l||a[5]!==j||a[6]!==k||a[7]!==d||a[8]!==f||a[9]!==p||a[10]!==g||a[11]!==v||a[12]!==y){let e,{responsiveClassNames:n}=(0,u.Rk)({theme:y},{classNames:[{formatter:N,watch:["theme"]}]});a[14]!==f||a[15]!==p||a[16]!==g||a[17]!==v?(e=e=>{v(!g),g?f&&f(e):p&&p(e)},a[14]=f,a[15]=p,a[16]=g,a[17]=v,a[18]=e):e=a[18];let i=e;t=l?(0,r.jsx)("div",{className:"relative z-[100] text-center print:hidden",children:(0,r.jsx)(c.$,{color:"secondary",onClick:i,"data-test":"seeMoreButton","data-test-item":w,"aria-label":b,children:(0,r.jsxs)("span",{className:"flex items-center",children:[g?j:k,(0,r.jsx)(S,{after:!0,size:"sm",className:"align-middle"})]})})}):(0,r.jsxs)(r.Fragment,{children:[x&&!g&&(0,r.jsx)("span",{className:"align-middle inline-block",children:"..."}),(0,r.jsxs)(m.z,{title:d,className:(0,s.x)("relative z-[100]",n),onClick:i,"data-test":"seeMoreButton","data-test-item":w,"aria-label":b,children:[(0,r.jsx)("span",{className:(0,s.x)("align-middle inline-block",n),children:g?j:k}),!x&&(0,r.jsx)(S,{className:"align-middle"})]})]}),a[0]=S,a[1]=b,a[2]=w,a[3]=x,a[4]=l,a[5]=j,a[6]=k,a[7]=d,a[8]=f,a[9]=p,a[10]=g,a[11]=v,a[12]=y,a[13]=t}else t=a[13];return t},f={xs:"text-white",sm:"sm:text-white",md:"md:text-white",lg:"lg:text-white",xl:"xl:text-white"},p={xs:"text-inherit",sm:"sm:text-inherit",md:"md:text-inherit",lg:"lg:text-inherit",xl:"xl:text-inherit"},g=e=>{let t,a,i,o,c,m,f,p=(0,n.c)(41),{children:g,className:x,expandOnSSR:b,height:y,hiddenContent:w,initiallyOpen:j,lines:N,linkButton:T,linkPosition:A,linkTitle:V,linkText:$,onCollapse:P,onExpand:M,theme:R,"aria-label":z,"data-test-item":D,hideFade:F}=e,B=void 0===N?3:N,L=void 0===A?"right":A;p[0]!==$?(t=void 0===$?{expand:"See More",collapse:"See Less"}:$,p[0]=$,p[1]=t):t=p[1];let q=t,H=void 0===R?"bright":R,[O,U]=l.useState(null),[G,Y]=l.useState(null);p[2]===Symbol.for("react.memo_cache_sentinel")?(a=e=>{U(e)},p[2]=a):a=p[2];let W=a;p[3]===Symbol.for("react.memo_cache_sentinel")?(i=e=>{Y(e)},p[3]=i):i=p[3];let Q=i,K=(0,d.w)(O),J=(0,d.w)(G),X=J.height&&J.height>K.height,[Z,ee]=l.useState(void 0!==b?b:!!j),et=l.useRef(j);p[4]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{et.current||ee(!1)},c=[],p[4]=o,p[5]=c):(o=p[4],c=p[5]),l.useLayoutEffect(o,c);let ea="ellipsis"===L;if(p[6]!==y||p[7]!==ea||p[8]!==B){let e;p[10]!==ea?(e=e=>{let{height:t,lines:a}=e;return ea?t?`${t}px`:`${1.375*a}em`:t?`calc(${t}px - 24px - 0.625rem)`:`${1.375*a}em`},p[10]=ea,p[11]=e):e=p[11],m=(0,u.cC)({height:y,lines:B},e),p[6]=y,p[7]=ea,p[8]=B,p[9]=m}else m=p[9];let er=m;if(p[12]!==z||p[13]!==er||p[14]!==g||p[15]!==x||p[16]!==D||p[17]!==w||p[18]!==F||p[19]!==ea||p[20]!==T||p[21]!==L||p[22]!==q||p[23]!==V||p[24]!==P||p[25]!==M||p[26]!==Z||p[27]!==X||p[28]!==H){let e,t,a,{responsiveClassNames:n,responsiveStyle:l}=(0,u.Rk)({bodyHeight:er},{styles:[{formatter:k,watch:["bodyHeight"]}],classNames:[{formatter:S,watch:["bodyHeight"]}]}),{responsiveClassNames:i,responsiveStyle:o}=(0,u.Rk)({theme:H},{styles:[{formatter:_,watch:["theme"]}],classNames:[{formatter:I,watch:["theme"]}]}),{responsiveClassNames:c,responsiveStyle:d}=(0,u.Rk)({theme:H},{styles:[{formatter:C,watch:["theme"]}],classNames:[{formatter:E,watch:["theme"]}]}),m=v[L],b=w||X||Z,y=!ea&&"pb-16 md:pb-0";p[30]!==y?(e=(0,s.x)("relative space-y-8",y),p[30]=y,p[31]=e):e=p[31];let j=Z?"h-auto":(0,s.x)(n,"overflow-hidden"),N=Z&&w;p[32]!==g||p[33]!==x||p[34]!==N?(t=(0,r.jsxs)("div",{ref:Q,className:x,children:[g,N]}),p[32]=g,p[33]=x,p[34]=N,p[35]=t):t=p[35],p[36]!==D||p[37]!==l||p[38]!==j||p[39]!==t?(a=(0,r.jsx)("div",{"data-test":"seeMoreBody","data-test-item":D,style:l,className:j,ref:W,children:t}),p[36]=D,p[37]=l,p[38]=j,p[39]=t,p[40]=a):a=p[40],f=(0,r.jsxs)("div",{className:e,"data-ignore-contrast":!0,children:[a,b&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:(0,s.x)(ea&&(Z?"text-right":"absolute bottom-0 right-0 pl-64"),ea?i:m,"!mt-0"),style:o,"data-test":"seeMoreLinkContainer","data-test-item":D,children:(0,r.jsx)(h,{linkButton:T,onExpand:M,onCollapse:P,linkTitle:V,open:Z,setOpen:ee,isEllipsis:ea,linkText:q,"aria-label":z,theme:H,"data-test-item":D})}),!ea&&!F&&(0,r.jsx)("div",{"data-test":"seeMoreFade","data-test-item":D,style:d,className:(0,s.x)("bg-repeat-x absolute bottom-16 h-56 w-full z-[90] opacity-100 pointer-events-none",c,Z&&"invisible")})]})]}),p[12]=z,p[13]=er,p[14]=g,p[15]=x,p[16]=D,p[17]=w,p[18]=F,p[19]=ea,p[20]=T,p[21]=L,p[22]=q,p[23]=V,p[24]=P,p[25]=M,p[26]=Z,p[27]=X,p[28]=H,p[29]=f}else f=p[29];return f},v={left:"text-left",right:"text-right",center:"text-center",ellipsis:""},x={xs:"max-h-[var(--body-height)]",sm:"sm:max-h-[var(--body-height-sm)]",md:"md:max-h-[var(--body-height-md)]",lg:"lg:max-h-[var(--body-height-lg)]",xl:"xl:max-h-[var(--body-height-xl)]"},b={xs:"[background:var(--container-theme)]",sm:"sm:[background:var(--container-theme-sm)]",md:"md:[background:var(--container-theme-md)]",lg:"lg:[background:var(--container-theme-lg)]",xl:"xl:[background:var(--container-theme-xl)]"},y={light:"linear-gradient(to right,rgba(255,255,255,0),var(--neutral-200) 4rem)",dark:"linear-gradient(to right,rgba(255,255,255,0),var(--black) 4rem)",bright:"linear-gradient(to right,rgba(255,255,255,0),white 4rem)"},w={xs:"[background-image:var(--fade-theme)]",sm:"sm:[background-image:var(--fade-theme-sm)]",md:"md:[background-image:var(--fade-theme-md)]",lg:"lg:[background-image:var(--fade-theme-lg)]",xl:"xl:[background-image:var(--fade-theme-xl)]"},j={bright:"linear-gradient(to bottom,rgba(255,255,255,0) 0%,white 50%)",dark:"linear-gradient(to bottom,rgba(255,255,255,0) 0%,black 50%)",light:"linear-gradient(to bottom,rgba(248,248,248,0) 0%,var(--neutral-200) 50%)"};function N(e){let{breakpoint:t,theme:a,previousProps:r}=e,n="dark"===a;return"xs"!==t||n?r?.theme==="dark"&&"dark"!==a?[p[t]]:n?[f[t]]:[]:[]}function k(e){let{bodyHeight:t}=e;return{"--body-height":t}}function S(e){let{breakpoint:t}=e;return[x[t]]}function _(e){let{theme:t}=e;return{"--container-theme":y[t]}}function I(e){let{breakpoint:t}=e;return[b[t]]}function C(e){let{theme:t}=e;return{"--fade-theme":j[t]}}function E(e){let{breakpoint:t}=e;return[w[t]]}},23549:(e,t,a)=>{"use strict";a.d(t,{C:()=>s});var r=a(6029),n=a(55729),l=a(31133);let s=(0,n.forwardRef)((e,t)=>{let{children:a,tag:n,caret:s,id:i,className:o,...c}=e;return(0,r.jsx)(n||"button",{ref:t,className:(0,l.x)(s&&"after:inline-block after:content-[''] after:ml-[.255em] after:align-[.255em] after:border-x-[.3em] after:border-t-[.3em] after:border-transparent after:border-t-[currentColor] after:border-solid",o),...c,id:i,children:a})})},23889:(e,t,a)=>{"use strict";a.d(t,{D2:()=>h,FW:()=>i,QO:()=>p,UA:()=>g,UB:()=>u,_f:()=>v,b0:()=>f,kh:()=>c,mO:()=>m,uO:()=>s,vR:()=>o});var r=a(75155),n=a(55729),l=a(52081);let s="90401",i="capselaPreferredPostalCode",o="inferredPostalCode",c="searchPostalCode",d=e=>`user_zip_code_${e}`,m=(e,t,a)=>{e(d(t),a,{persist:!0})},u=(e,t)=>
158e(d(t)),h=()=>{let e,t=(0,r.c)(2),{getCookie:a}=(0,l.l)();t[0]!==a?(e=a(i),t[0]=a,t[1]=e):e=t[1];let n=e;return n&&"undefined"!==n?n:null},f=()=>{let e,t=(0,r.c)(2),{setCookie:a}=(0,l.l)();return t[0]!==a?(e=(e,t,r)=>{t&&r&&m(a,`${t}-${r}`,e),p(a,e)},t[0]=a,t[1]=e):e=t[1],e},p=(e,t)=>{e(i,t,{persist:!0})},g=()=>{let e,t=(0,r.c)(2),{getCookie:a}=(0,l.l)();t[0]!==a?(e=a(c),t[0]=a,t[1]=e):e=t[1];let n=e;return n&&"undefined"!==n?n:null},v=e=>{let t,a,s=(0,r.c)(4),{setCookie:i}=(0,l.l)();s[0]!==e||s[1]!==i?(t=()=>{e&&x(i,e)},a=[e,i],s[0]=e,s[1]=i,s[2]=t,s[3]=a):(t=s[2],a=s[3]),n.useEffect(t,a)},x=(e,t)=>{e(c,t,{persist:!0})}},25247:(e,t,a)=>{"use strict";a.d(t,{E:()=>r});let r=(0,a(45165).u)({},()=>({path:"/electric"}));r.routeName="electricLandingRoute"},27009:(e,t,a)=>{"use strict";a.d(t,{o:()=>i});var r=a(6029),n=a(75155);a(55729);var l=a(67617),s=a(76688);let i=e=>{let t,a,i,c,d,m,u,h,f,p,g,v,x,b=(0,n.c)(16),{children:y,overrides:w}=e;return b[0]===Symbol.for("react.memo_cache_sentinel")?(t={component:s.N},i={props:{className:"mb-20"}},c={props:{className:"mb-16"}},d={props:{className:"mb-8"}},m={props:{className:"mb-8"}},u={props:{className:"list-disc mb-8"}},h={props:{className:"mb-8"}},f={props:{className:"mb-8"}},p={props:{className:"border w-full mb-20"}},a={props:{className:"text-center p-4 border-r border-b last:border-r-0"}},b[0]=t,b[1]=a,b[2]=i,b[3]=c,b[4]=d,b[5]=m,b[6]=u,b[7]=h,b[8]=f,b[9]=p):(t=b[0],a=b[1],i=b[2],c=b[3],d=b[4],m=b[5],u=b[6],h=b[7],f=b[8],p=b[9]),b[10]===Symbol.for("react.memo_cache_sentinel")?(g={props:{className:"text-center p-4 border-r border-b last:border-r-0",style:{}}},b[10]=g):g=b[10],b[11]!==w?(v={disableParsingRawHTML:!0,wrapper:o,overrides:{a:t,h1:i,h2:c,h3:d,p:m,ul:u,ol:h,li:f,table:p,th:a,td:g,...w}},b[11]=w,b[12]=v):v=b[12],b[13]!==y||b[14]!==v?(x=(0,r.jsx)(l.Ay,{options:v,children:y}),b[13]=y,b[14]=v,b[15]=x):x=b[15],x},o=e=>{let{children:t}=e;return t}},27166:(e,t,a)=>{"use strict";a.d(t,{U:()=>r.U});var r=a(9104)},27855:(e,t,a)=>{"use strict";a.d(t,{E:()=>f});var r=a(4966),n=a(81704),l=a(36961),s=a(64226),i=a(59383);let{prefetchValue:o,useValue:c}=(0,n.$)({},e=>{let{cookies:t}=e;return t.get(i.F)});var d=a(23889);let{prefetchValue:m,useValue:u}=(0,n.$)({},e=>{let{cookies:t}=e;return t.get(d.kh)}),h="90401",{prefetchValue:f,useValue:p}=(0,n.$)({postalCode:s.u.string.optional},e=>{let{postalCode:t}=e.params,{accuratePostalCode:a,postalCode:n}=(0,l.T)(e),{profile:{postalCode:s}}=(0,r.l)(e),i=o(e),c=m(e),d="HIGH";!t||t!==h||n||i||c||s===h||(d="LOW");let u={route:t?{postalCode:t,confidence:d}:void 0,preferred:i?{postalCode:i,confidence:"HIGH"}:void 0,consumer:s?{postalCode:s,confidence:"HIGH"}:void 0,search:c?{postalCode:c,confidence:"MEDIUM"}:void 0,accurateGeo:a?{postalCode:a,confidence:"MEDIUM"}:void 0,geo:n?{postalCode:n,confidence:a?"MEDIUM":"LOW"}:void 0,fallback:{postalCode:h,confidence:"LOW"}},f=u.route??u.preferred??u.consumer??u.search;return{postalCode:f??u.geo,withAccuracy:f??u.accurateGeo,withFallback:f??u.geo??u.fallback,sources:u}})},28113:(e,t,a)=>{"use strict";a.d(t,{d:()=>s});var r=a(6029),n=a(75155);a(55729);var l=a(31133);let s=e=>{let t,a,s,i,o,c,d,m,u,h=(0,n.c)(17);h[0]!==e?({className:t,size:s,style:i,...a}=e,h[0]=e,h[1]=t,h[2]=a,h[3]=s,h[4]=i):(t=h[1],a=h[2],s=h[3],i=h[4]);let f=Number(s);h[5]!==t?(o=(0,l.x)("loader-spinner",t),h[5]=t,h[6]=o):o=h[6];let p=a["data-test"]||"loadingSpinner";return h[7]!==f||h[8]!==i?(c={width:f,height:f,...i},h[7]=f,h[8]=i,h[9]=c):c=h[9],h[10]===Symbol.for("react.memo_cache_sentinel")?(d=(0,r.jsx)("circle",{className:"loader-spinner-line",cx:"50",cy:"50",r:"20",fill:"none",strokeWidth:"2"}),m=(0,r.jsx)("circle",{className:"loader-spinner-background",cx:"50",cy:"50",r:"20",fill:"none",strokeWidth:"2"}),h[10]=d,h[11]=m):(d=h[10],m=h[11]),h[12]!==a||h[13]!==o||h[14]!==p||h[15]!==c?(u=(0,r.jsxs)("svg",{className:o,...a,"data-test":p,style:c,viewBox:"25 25 50 50",children:[d,m]}),h[12]=a,h[13]=o,h[14]=p,h[15]=c,h[16]=u):u=h[16],u}},28583:(e,t,a)=>{"use strict";a.d(t,{F:()=>r.F});var r=a(96296)},29197:(e,t,a)=>{"use strict";a.d(t,{B:()=>r.BV});var r=a(97817)},29246:(e,t,a)=>{"use strict";a.d(t,{D:()=>r});let r=()=>new Date},30308:(e,t,a)=>{"use strict";function r(e){return e?`${e.getUTCMonth()+1}/${e.getUTCDate()}/${e.getUTCFullYear()}`:""}a.d(t,{Y:()=>r})},31254:(e,t,a)=>{"use strict";a.d(t,{Nc:()=>s,jf:()=>l,no:()=>n});var r=a(31133);let n=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?"shadow-[inset_0_-1px_0_#dcdcdc] !pb-0":"relative after:pointer-events-none after:absolute after:inset-x-0 after:-bottom-1 after:z-0 after:h-1 after:bg-[#DCDCDC] after:content-[''] !pb-0"},l=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,r.x)("z-1 after:pointer-events-none after:absolute after:inset-x-0 after:z-1 after:h-1 after:w-full after:bg-black after:content-['']",e?"after:bottom-0":"after:-bottom-1")},s=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return(0,r.x)("text-14 leading-[1.25] truncate text-center block",e?"font-500 text-black":"text-muted")}},31410:(e,t,a)=>{"use strict";a.d(t,{J:()=>l});var r=a(36087),n=a(64226);let l=(0,r.v)({splat:n.u.string.optional,nextjsSplat:n.u.array.string},e=>{let{splat:t,nextjsSplat:a}=e;return{splat:t??a.join("/")}},e=>{let{splat:t}=e;return{path:`/best-cars-trucks/${t}`}});l.routeName="rankingsListRoute"},33287:(e,t,a)=>{"use strict";a.d(t,{S:()=>o});var r=a(6029),n=a(75155),l=a(31133),s=a(55729),i=a(85940);let o=e=>{let t,a,o,c,d,m,u,h=(0,n.c)(15),{isOpen:f,className:p,children:g,unmountChildren:v,onExpanded:x}
158=e,[b,y]=(0,s.useState)(null),w=(0,s.useRef)(null);return h[0]!==x?(t=()=>{y(w.current.scrollHeight),x?.()},h[0]=x,h[1]=t):t=h[1],h[2]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{y(null)},o=()=>{y(w.current.scrollHeight)},c=()=>{y(0)},d=()=>{y(null)},h[2]=a,h[3]=o,h[4]=c,h[5]=d):(a=h[2],o=h[3],c=h[4],d=h[5]),h[6]!==g||h[7]!==p||h[8]!==b||h[9]!==v?(m=e=>{let t=(0,l.x)({entering:"relative h-0 overflow-hidden transition-[height,350ms,ease]",entered:"collapse show",exiting:"collapsing",exited:"collapse",unmounted:""}[e],p),a=null===b?{}:{height:b};return(0,r.jsx)("div",{style:a,className:t,ref:w,children:v&&("unmounted"===e||"exited"===e)?void 0:g})},h[6]=g,h[7]=p,h[8]=b,h[9]=v,h[10]=m):m=h[10],h[11]!==f||h[12]!==t||h[13]!==m?(u=(0,r.jsx)(i.Ay,{nodeRef:w,in:f,timeout:300,onEntering:t,onEntered:a,onExit:o,onExiting:c,onExited:d,children:m}),h[11]=f,h[12]=t,h[13]=m,h[14]=u):u=h[14],u}},38435:(e,t,a)=>{"use strict";a.d(t,{o:()=>r.o});var r=a(27009)},38932:(e,t,a)=>{"use strict";a.d(t,{j:()=>o});var r=a(6029),n=a(75155),l=a(55729),s=a(31133),i=a(75945);let o=e=>{let t,a,o,c,d,m,u=(0,n.c)(12);u[0]!==e?({sticky:c,stack:o,className:t,...a}=e,u[0]=e,u[1]=t,u[2]=a,u[3]=o,u[4]=c):(t=u[1],a=u[2],o=u[3],c=u[4]);let{fullScreenModal:h,size:f}=l.useContext(i.V),p=(h||c)&&"sticky bottom-0 z-50",g=("sm"===f||o)&&"flex-col items-stretch gap-8";return u[5]!==t||u[6]!==p||u[7]!==g?(d=(0,s.x)("modal-footer p-20 flex items-center justify-center border-t bg-white",p,g,t),u[5]=t,u[6]=p,u[7]=g,u[8]=d):d=u[8],u[9]!==a||u[10]!==d?(m=(0,r.jsx)("div",{className:d,...a,"data-test":"modalFooter"}),u[9]=a,u[10]=d,u[11]=m):m=u[11],m}},42480:(e,t,a)=>{"use strict";a.d(t,{L:()=>r.LN});var r=a(63279)},42628:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[extra]/rewrites/electric/incentives",function(){return a(16798)}])},43302:(e,t,a)=>{"use strict";a.d(t,{x:()=>l});var r=a(45165),n=a(64226);let l=(0,r.u)({vehicleTypeSlug:n.u.string},e=>{let{vehicleTypeSlug:t}=e;return{path:`/deals/${t}`}});l.routeName="vehicleTypeDealsRoute"},45428:(e,t,a)=>{"use strict";a.d(t,{f:()=>r.f});var r=a(73900)},47884:(e,t,a)=>{"use strict";a.d(t,{q:()=>c});var r=a(76694),n=a.n(r),l=a(31181),s=a(36218),i=a(700),o=a(49559);let c=(e,t)=>async a=>{let{query:r,apolloClient:c,location:d,cookies:m,req:u,currentPartner:h,featureFlags:f}=a,{extra:p}=(0,o.P)(r),g={...n()(r,"extra"),...p},v=e.validate({params:g,search:d.search}),x={},b=!!u;if(b&&void 0===f)throw Error("feature flags not set in getInitialPropsWrapper");let y=[],w=(0,l.$$)(f,{staticPage:!1}),j=c;"production"!==(0,i._)("NODE_ENV")&&b&&(j={...c,query:e=>(y.push({operationName:e.query?.definitions[0]?.name?.value,variables:JSON.stringify(e.variables)}),c.query(e))});let N=await t({params:v,apolloClient:j,cookies:m,flags:w,isServer:b,swrSetter:e=>{x={...e}},currentPartner:h}),k=N&&"pageProps"in N?N.pageProps:{},S=N&&"metadata"in N?N.metadata:void 0;return{...(0,s.K)({client:j,pageProps:{...k},fetchedQueries:y}),swrFallback:x,metadata:S}}},48063:(e,t,a)=>{"use strict";a.d(t,{R:()=>s});var r=a(6029),n=a(75155);a(55729);var l=a(65491);let s=e=>{let t,a,s,i=(0,n.c)(6);i[0]!==e?({fill:t,...a}=e,i[0]=e,i[1]=t,i[2]=a):(t=i[1],a=i[2]);let o=t&&1?"payments-fill":"payments";return i[3]!==a||i[4]!==o?(s=(0,r.jsx)(l.I,{spriteID:o,...a}),i[3]=a,i[4]=o,i[5]=s):s=i[5],s}},51032:(e,t,a)=>{"use strict";a.d(t,{w:()=>r.wb});var r=a(86225)},51519:(e,t,a)=>{"use strict";a.d(t,{V:()=>r.Vh});var r=a(86225)},53462:(e,t,a)=>{"use strict";a.d(t,{u:()=>c});var r=a(6029),n=a(75155);a(55729);var l=a(21920),s=a(55415),i=a(55626),o=a(31133);let c=e=>{let t,a,c,d,m,u=(0,n.c)(20),{title:h,description:f,initiallyOpen:p,dataTest:g,tracking:v,containerClassName:x,headingClassName:b,descriptionClassName:y,headingLevel:w,card:j}=e,N=void 0===w?3:w,k=j?i.X:s.m;u[0]!==j||u[1]!==b?(t=j?void 0:{headerClassName:b},u[0]=j,u[1]=b,u[2]=t):t=u[2];let S=t;return u[3]!==N||u[4]!==h?(a=(0,r.jsx)(l.D,{level:N,size:4,children:h}),u[3]=N,u[4]=h,u[5]=a):a=u[5],u[6]!==y?(c=(0,o.x)(y,"whitespace-pre-line"),u[6]=y,u[7]=c):c=u[7],u[8]!==f||u[9]!==c?(d=(0,r.jsx)("div",{className:c,children:f}),u[8]=f,u[9]=c,u[10]=d):d=u[10],u[11]!==k||u[12]!==x||u[13]!==g||u[14]!==p||u[15]!==S||u[16]!==a||u[17]!==d||u[18]!==v?(m=(0,r.jsx)(k,{"data-test":g,title:a,initiallyOpen:p,tracking:v,className:x,...S,children:d}),u[11]=k,u[12]=x,u[13]=g,u[14]=p,u[15]=S,u[16]=a,u[17]=d,u[18]=v,u[19]=m):m=u[19],m}},54546:(e,t,a)=>{"use strict";a.d(t,{t:()=>s});var r=a(6029),n=a(75155),l=a(31133);a(55729);let s=e=>{let t,a,s,i,o,c,d,m,u,h=(0,n.c)(18);h[0]!==e?({tag:c,children:a,className:s,active:t,externalLink:i,...o}=e,h[0]=e,h[1]=t,h[2]=a,h[3]=s,h[4]=i,h[5]=o,h[6]=c):(t=h[1],a=h[2],s=h[3],i=h[4],o=h[5],c=h[6]);let f=c||"button",p=t?"bg-neutral-400":"bg-transparent";return h[7]!==s||h[8]!==p?(d=(0,l.x)("block w-full px-20 py-8 whitespace-nowrap border-0","hover:text-black hover:bg-light","focus:text-black focus:bg-light","disabled:text-muted disabled:pointer-events-none disabled:bg-transparent","font-500 clear-both [text-align:inherit] text-black","active:bg-neutral-400",p,s),h[7]=s,h[8]=p,h[9]=d):d=h[9],h[10]!==i?(m=i&&{target:"_blank",rel:"noopener noreferrer"},h[10]=i,h[11]=m):m=h[11],h[12]!==f||h[13]!==a||h[14]!==o||h[15]!==d||h[16]!==m?(u=(0,r.jsx)(f,{className:d,...m,...o,children:a}),h[12]=f,h[13]=a,h[14]=o,h[15]=d,h[16]=m,h[17]=u):u=h[17],u}},55548:(e,t,a)=>{"use strict";a.d(t,{mJ:()=>m,Sz:()=>c,Jq:()=>d});var r=a(37197);let n=(0,r.Ay)`
159    query getUseGeolocation($postalCode: String!) {
160  geolocation(postalCode: $postalCode) {
161    __typename
162    id
163    postalCode
164    city
165    citySlug
166    state
167    stateSlug
168    isPoBox
169  }
170}
171    `;n.documentId="97322dce51d1ee9009af5e980b9c8a4b4e4c2d887f657bb9ba6b0659a22055ac";var l=a(75155);a(23827);var s=a(98840),i=a(71493),o=a(55729);let c=(e,t)=>{let a,r,n,i=(0,l.c)(10),o=void 0!==t&&t,c=5===e.length;i[0]!==e?(a={postalCode:e},i[0]=e,i[1]=a):a=i[1];let d=!c;i[2]!==o||i[3]!==a||i[4]!==d?(r={variables:a,skip:d,ssr:o},i[2]=o,i[3]=a,i[4]=d,i[5]=r):r=i[5];let{data:m,loading:h,error:f}=(0,s.I)(u,r),p=!h&&c?m?.geolocation:null;return i[6]!==f||i[7]!==h||i[8]!==p?(n={loading:h,location:p,error:f},i[6]=f,i[7]=h,i[8]=p,i[9]=n):n=i[9],n},d=()=>{let e,t=(0,l.c)(2),a=(0,i.m)();return t[0]!==a?(e=async e=>(await a.query({query:u,variables:{postalCode:e}})).data.geolocation||void 0,t[0]=a,t[1]=e):e=t[1],e},m=e=>{let t,a,r,n=(0,l.c)(7),[s,i]=(0,o.useState)(void 0),[d,m]=(0,o.useState)(!1),{location:u}=c(e||"");return n[0]!==u||n[1]!==d||n[2]!==s?(t=()=>{d||!u||s||(i(u),m(!0))},a=[s,u,d,m],n[0]=u,n[1]=d,n[2]=s,n[3]=t,n[4]=a):(t=n[3],a=n[4]),(0,o.useEffect)(t,a),n[5]!==s?(r={location:s,setLocation:i},n[5]=s,n[6]=r):r=n[6],r},u=n},57545:(e,t,a)=>{"use strict";a.d(t,{m:()=>m});var r=a(6029),n=a(75155),l=a(92309),s=a(24969),i=a(17226),o=a(55729),c=a(31133),d=a(34809);let m=e=>{let t,a,m,h,f,p,g,v,x,b,y,w,j,N,k,S,_,I,C,E,T,A,V,$,P,M,R,z,D,F,B,L,q,H,O,U,G,Y,W=(0,n.c)(82);W[0]!==e?({children:t,isOpen:m,setIsOpen:v,className:a,role:g,tag:b,trigger:y,toggle:j,menuClassName:h,placement:f,style:x,widthMatchTrigger:w,...p}=e,W[0]=e,W[1]=t,W[2]=a,W[3]=m,W[4]=h,W[5]=f,W[6]=p,W[7]=g,W[8]=v,W[9]=x,W[10]=b,W[11]=y,W[12]=w,W[13]=j):(t=W[1],a=W[2],m=W[3],h=W[4],f=W[5],p=W[6],g=W[7],v=W[8],x=W[9],b=W[10],y=W[11],w=W[12],j=W[13]);
171let Q=void 0===b?"div":b;W[14]!==y?(N=void 0===y?["click"]:y,W[14]=y,W[15]=N):N=W[15];let K=N,J=void 0!==w&&w;W[16]===Symbol.for("react.memo_cache_sentinel")?(k={name:"referenceHidden",fn(e){let{x:t,y:a}=e;return{data:{hidden:0===t&&0===a}}}},W[16]=k):k=W[16];let X=k;W[17]===Symbol.for("react.memo_cache_sentinel")?(S={name:"topOverflowCorrection",fn(e){let{y:t}=e;return t<0?{y:0}:{}}},W[17]=S):S=W[17];let Z=S,[ee,et]=(0,o.useState)(!1),ea=f??"bottom-start";W[18]===Symbol.for("react.memo_cache_sentinel")?(_=(0,l.UU)(),I=(0,l.BN)(),W[18]=_,W[19]=I):(_=W[18],I=W[19]),W[20]!==J?(C=J&&(0,l.Ej)({apply(e){let{rects:t,elements:a}=e;Object.assign(a.floating.style,{minWidth:`${t.reference.width}px`})}}),W[20]=J,W[21]=C):C=W[21],W[22]!==C?(E=[_,I,X,Z,C],W[22]=C,W[23]=E):E=W[23],W[24]!==m||W[25]!==v||W[26]!==E||W[27]!==ea?(T={open:m,onOpenChange:v,placement:ea,middleware:E,whileElementsMounted:s.ll},W[24]=m,W[25]=v,W[26]=E,W[27]=ea,W[28]=T):T=W[28];let{floatingStyles:er,refs:en,context:el,middlewareData:es}=(0,i.we)(T);W[29]!==K?(A=K.includes("click"),W[29]=K,W[30]=A):A=W[30],W[31]!==A?(V={enabled:A,event:"mousedown"},W[31]=A,W[32]=V):V=W[32];let ei=(0,i.kp)(el,V);W[33]!==K?($=K.includes("hover"),W[33]=K,W[34]=$):$=W[34],W[35]===Symbol.for("react.memo_cache_sentinel")?(P=(0,i.iB)(),W[35]=P):P=W[35],W[36]!==$?(M={enabled:$,handleClose:P},W[36]=$,W[37]=M):M=W[37];let eo=(0,i.Mk)(el,M);W[38]!==K?(R=K.includes("focus"),W[38]=K,W[39]=R):R=W[39],W[40]!==R?(z={enabled:R},W[40]=R,W[41]=z):z=W[41];let ec=(0,i.iQ)(el,z),ed=(0,i.s9)(el);W[42]!==g?(D={role:g},W[42]=g,W[43]=D):D=W[43];let em=(0,i.It)(el,D);W[44]!==ei||W[45]!==ed||W[46]!==ec||W[47]!==eo||W[48]!==em?(F=[ei,eo,ec,ed,em],W[44]=ei,W[45]=ed,W[46]=ec,W[47]=eo,W[48]=em,W[49]=F):F=W[49];let{getReferenceProps:eu,getFloatingProps:eh,getItemProps:ef}=(0,i.bv)(F),ep="listbox"===g?"option":"menu"===g?"menuitem":void 0,eg=es?.referenceHidden?.hidden,ev=(0,d.vS)();return W[50]===Symbol.for("react.memo_cache_sentinel")?(B=[],W[50]=B):B=W[50],(0,o.useEffect)(u,B),W[51]!==eg||W[52]!==v?(L=()=>{eg&&v(!1)},q=[eg,v],W[51]=eg,W[52]=v,W[53]=L,W[54]=q):(L=W[53],q=W[54]),(0,o.useEffect)(L,q),W[55]!==m||W[56]!==en.reference||W[57]!==ee?(H=()=>{!m&&ee&&en.reference.current&&(requestAnimationFrame(()=>{en.reference.current?.blur()}),et(!1))},O=[m,en.reference,ee],W[55]=m,W[56]=en.reference,W[57]=ee,W[58]=H,W[59]=O):(H=W[58],O=W[59]),(0,o.useEffect)(H,O),W[60]!==eu||W[61]!==en.setReference||W[62]!==j?(U=(0,o.isValidElement)(j)&&(0,o.cloneElement)(j,{ref:en.setReference,...eu()}),W[60]=eu,W[61]=en.setReference,W[62]=j,W[63]=U):U=W[63],W[64]!==ep||W[65]!==t||W[66]!==el||W[67]!==ev||W[68]!==er||W[69]!==eh||W[70]!==ef||W[71]!==m||W[72]!==h||W[73]!==en.setFloating||W[74]!==p||W[75]!==x||W[76]!==Q?(G=m&&(0,r.jsx)(i.XF,{id:"dropdown",children:(0,r.jsx)(i.s3,{context:el,modal:!1,initialFocus:-1,children:o.createElement(Q,{ref:en.setFloating,...eh({className:(0,c.x)("min-w-[160px] block rounded overflow-hidden shadow-[0_.0625rem_.625rem_rgba(0,0,0,.15)]","border-transparent border-[1px] bg-white text-black text-left list-none bg-clip-padding",h),style:{...er,zIndex:d.fw.modal+ev,...x},onPointerDown:()=>{et(!0)}}),children:o.Children.toArray(t).map(e=>o.isValidElement(e)?o.cloneElement(e,{role:"role"in e.props?e.props.role??ep:ep,...ef()}):e),...p})})}),W[64]=ep,W[65]=t,W[66]=el,W[67]=ev,W[68]=er,W[69]=eh,W[70]=ef,W[71]=m,W[72]=h,W[73]=en.setFloating,W[74]=p,W[75]=x,W[76]=Q,W[77]=G):G=W[77],W[78]!==a||W[79]!==U||W[80]!==G?(Y=(0,r.jsxs)("div",{className:a,children:[U,G]}),W[78]=a,W[79]=U,W[80]=G,W[81]=Y):Y=W[81],Y};function u(){if(!document.getElementById("dropdown")){let e=document.createElement("div");e.id="dropdown",document.body.appendChild(e)}}},59059:(e,t,a)=>{"use strict";a.d(t,{P:()=>r.PS});var r=a(79460)},59383:(e,t,a)=>{"use strict";a.d(t,{F:()=>r.FW});var r=a(23889)},62367:(e,t,a)=>{"use strict";a.d(t,{a:()=>r.a});var r=a(75945)},62556:(e,t,a)=>{"use strict";a.d(t,{T:()=>i});var r=a(36087),n=a(64226);let l="PRICE_WITH_INCENTIVES_ASC",s="incentives",i=(0,r.v)({postalCode:n.u.string.optional,householdIncome:n.u.number.optional,householdSize:n.u.number.optional,turnIn:n.u.boolean.optional,sort:n.u.enum("PRICE_WITH_INCENTIVES_ASC","PRICE_WITH_INCENTIVES_DESC","MSRP_ASC","MSRP_DESC","ELECTRIC_RANGE_ASC","ELECTRIC_RANGE_DESC").optional.default(l),includePlugInHybrids:n.u.boolean.optional,onlyIncentives:n.u.boolean.optional,makeSlug:n.u.string.optional,modelSlug:n.u.string.optional,section:n.u.enum("incentives","models").optional.default(s)},e=>{let{householdIncome:t,householdSize:a,...r}=e;return{...t||a?{household:{income:t??0,size:a??0}}:{},...r}},e=>{let{household:t,makeSlug:a,modelSlug:r,sort:n,section:i,...o}=e;return{path:"/electric/incentives",query:{...t&&t.income>0&&t.size>0?{householdIncome:t.income,householdSize:t.size}:{},..."models"===i?{makeSlug:a,modelSlug:r}:{},...o,sort:n===l?void 0:n,section:i===s?void 0:i}}});i.routeName="electricIncentivesRoute"},62574:(e,t,a)=>{"use strict";a.d(t,{f:()=>i});var r=a(6029),n=a(75155);a(55729);var l=a(31133),s=a(73900);let i=e=>{let t,a,i,o,c,d,m,u,h=(0,n.c)(17);h[0]!==e?({list:c,card:t,children:a,className:i,...o}=e,h[0]=e,h[1]=t,h[2]=a,h[3]=i,h[4]=o,h[5]=c):(t=h[1],a=h[2],i=h[3],o=h[4],c=h[5]);let f=void 0!==c&&c,p=f?"ul":"div",g=t&&"row-card";return h[6]!==i||h[7]!==g?(d=(0,l.x)("row",g,i),h[6]=i,h[7]=g,h[8]=d):d=h[8],h[9]!==a||h[10]!==f?(m=(0,r.jsx)(s.s.Provider,{value:f,children:a}),h[9]=a,h[10]=f,h[11]=m):m=h[11],h[12]!==p||h[13]!==o||h[14]!==d||h[15]!==m?(u=(0,r.jsx)(p,{className:d,...o,children:m}),h[12]=p,h[13]=o,h[14]=d,h[15]=m,h[16]=u):u=h[16],u}},62734:(e,t,a)=>{"use strict";a.d(t,{t:()=>r.tU});var r=a(86225)},63279:(e,t,a)=>{"use strict";a.d(t,{LN:()=>s,eL:()=>n});let r=[{slug:"acura",viprId:22},{slug:"honda",viprId:15},{slug:"toyota",viprId:53}],n=r.map(e=>e.slug),l=r.map(e=>e.viprId),s=function(){let{makeSlug:e,viprId:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e&&n.includes(e)||t&&l.includes(t)?"TSRP":"MSRP"}},64591:(e,t,a)=>{"use strict";a.d(t,{Y:()=>r}),a(55729);let r=a(74164).D},64715:(e,t,a)=>{"use strict";a.d(t,{B:()=>r});let r={src:"/assets/_next/static/media/truecar-logo-black.a780d792.png",height:1419,width:4650,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAG1BMVEUAVfYLBQQAWv4KCgoLCwsAXP8AVf8MDAwAWPybIJ7GAAAACXRSTlNZLE4YFiEPP2gfOLtVAAAACXBIWXMAAAsSAAALEgHS3X78AAAAGklEQVQImWNg5WBgYmBkZGFgY2JiYGBkZwYAAaAAK/nsQSUAAAAASUVORK5CYII=",blurWidth:8,blurHeight:2}},64827:(e,t,a)=>{"use strict";a.d(t,{m:()=>m});var r=a(6029),n=a(55729),l=a(17226),s=a(24969),i=a(31133),o=a(53330),c=a(96374),d=a(34809);let m=e=>{let{placement:t="bottom",trigger:a,children:m,hideClose:h,className:f,color:p="default"}=e;(0,c.Ro)(a);
171let[g,v]=(0,n.useState)(!1),x=(0,d.vS)(),b=(0,n.useRef)(null),{x:y=0,y:w=0,refs:j,strategy:N,context:k,middlewareData:S,placement:_}=(0,l.we)({placement:t,open:g,onOpenChange:v,middleware:(0,c.J1)(b),whileElementsMounted:s.ll}),{x:I,y:C}=S.arrow??{},{getReferenceProps:E,getFloatingProps:T}=(0,l.bv)([(0,l.It)(k,{role:"tooltip"}),(0,l.Mk)(k,{handleClose:(0,l.iB)()}),(0,l.iQ)(k),(0,l.s9)(k,{escapeKey:!0})]),A=n.cloneElement(a,E({ref:j.setReference}));return(0,r.jsxs)(r.Fragment,{children:[A,(0,r.jsx)(l.XF,{children:g&&(0,r.jsxs)("div",{...T({className:(0,i.x)(c.oI,c.w7[(0,c.ah)(_)],"electricBlue"===p&&"[border-color:var(--brand-500)]",f),ref:j.setFloating,style:{position:N,top:w??0,left:y??0,zIndex:d.fw.tooltip+x}}),children:[!h&&(0,r.jsx)(o.J,{"data-test":"tooltipCloseButton","aria-hidden":!0,tabIndex:-1,size:"sm",className:"float-right ml-4 mb-4",onClick:()=>{v(!1)}}),m,(0,r.jsx)("div",{ref:b,className:(0,i.x)(c.r4,c.EK[(0,c.ah)(_)],"electricBlue"===p&&u[(0,c.ah)(_)]),style:(0,c.ox)({x:I,y:C,direction:(0,c.ah)(_)})})]})})]})},u={bottom:"[border-bottom-color:var(--brand-500)]",left:"[border-left-color:var(--brand-500)]",right:"[border-right-color:var(--brand-500)]",top:"[border-top-color:var(--brand-500)]"}},66218:(e,t,a)=>{"use strict";a.d(t,{G:()=>s});var r=a(22498),n=a(84520),l=a(5195);function s(e,t){let a=2*!!t?.includeCents,s=e?"string"==typeof e?(0,n.I)(e):e:0;return Number.isNaN(s)&&(s=0),(0,l.Z)(s,{currency:!0,compact:t?.compact,...t?.maxDecimalPlaces!==void 0?{maxDecimalPlaces:t.maxDecimalPlaces}:{decimalPlaces:a}}).replace("-",r.dq)}},66253:(e,t,a)=>{"use strict";a.d(t,{w:()=>n});var r=a(1093);let n=e=>{if(0!==e.length)return{"@context":"https://schema.org","@type":"FAQPage",mainEntity:e.map(e=>({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:"string"==typeof e.answer?e.answer:(0,r.p)(e.answer)}}))}}},67247:(e,t,a)=>{"use strict";a.d(t,{G:()=>r,T:()=>n});let r="The Total Suggested Retail Price (“TSRP”), sometimes known as the sticker price, is the retail price suggested by the manufacturer. Because the TSRP is a suggestion from the manufacturer, a dealer can choose to sell a vehicle above or below the TSRP. Many vehicles are sold above or below TSRP. The TSRP of a vehicle does not include all fees and charges that you may have to pay to buy, lease or register the vehicle. For example, the TSRP does not include taxes, tag, title, license, or registration fees, any transportation, or delivery fees, or any documentation or similar administrative fees charged by the dealer. The TSRP also does not include the cost of any dealer-installed accessories, extended warranty, insurance, protection products, or financing charges.",n="A base MSRP is what the manufacturer suggests dealers charge for the standard version of any given model. It does not include any trim level upgrades as the Total MSRP would."},68544:(e,t,a)=>{"use strict";a.d(t,{$:()=>s,f:()=>l});var r=a(55729),n=a(37390);let l=()=>{let e=r.useContext(n.O);if(!e)throw Error('Interaction mode context not found. Please import InteractionProvider from "battery-pack" and add to your application.');return e.interactionMode},s=()=>"touch"===l()},69039:(e,t,a)=>{"use strict";a.d(t,{b:()=>r.b});var r=a(3211)},73900:(e,t,a)=>{"use strict";a.d(t,{f:()=>o,s:()=>i});var r=a(6029),n=a(75155),l=a(55729),s=a(31133);let i=l.createContext(!1),o=e=>{let t,a,o,m,u,h,f,p,g,v,x,b,y,w=(0,n.c)(33);w[0]!==e?({className:t,xs:f,sm:u,md:o,lg:a,xl:h,...m}=e,w[0]=e,w[1]=t,w[2]=a,w[3]=o,w[4]=m,w[5]=u,w[6]=h,w[7]=f):(t=w[1],a=w[2],o=w[3],m=w[4],u=w[5],h=w[6],f=w[7]);let j=(0,l.useContext)(i)?"li":"div";if(w[8]!==j||w[9]!==t||w[10]!==a||w[11]!==o||w[12]!==u||w[13]!==h||w[14]!==f){let e,r="";w[19]!==a||w[20]!==o||w[21]!==u||w[22]!==h||w[23]!==f?(e={xs:f,sm:u,md:o,lg:a,xl:h},w[19]=a,w[20]=o,w[21]=u,w[22]=h,w[23]=f,w[24]=e):e=w[24];let n=e;for(let e of["xs","sm","md","lg","xl"]){let t=n[e];(t||""===t)&&(r="object"==typeof t?(0,s.x)(r,void 0!==t.size&&c[e][t.size],void 0!==t.offset&&d[e][t.offset]):(0,s.x)(r,c[e][t]))}r.length||(r="col"),g=i.Provider,x=!1,p=j,v=(0,s.x)(r,t),w[8]=j,w[9]=t,w[10]=a,w[11]=o,w[12]=u,w[13]=h,w[14]=f,w[15]=p,w[16]=g,w[17]=v,w[18]=x}else p=w[15],g=w[16],v=w[17],x=w[18];return w[25]!==p||w[26]!==m||w[27]!==v?(b=(0,r.jsx)(p,{className:v,...m}),w[25]=p,w[26]=m,w[27]=v,w[28]=b):b=w[28],w[29]!==g||w[30]!==x||w[31]!==b?(y=(0,r.jsx)(g,{value:x,children:b}),w[29]=g,w[30]=x,w[31]=b,w[32]=y):y=w[32],y},c={xs:{0:"",1:"col-1",2:"col-2",3:"col-3",4:"col-4",5:"col-5",6:"col-6",7:"col-7",8:"col-8",9:"col-9",10:"col-10",11:"col-11",12:"col-12"},sm:{0:"col-sm",1:"col-sm-1",2:"col-sm-2",3:"col-sm-3",4:"col-sm-4",5:"col-sm-5",6:"col-sm-6",7:"col-sm-7",8:"col-sm-8",9:"col-sm-9",10:"col-sm-10",11:"col-sm-11",12:"col-sm-12"},md:{0:"col-md",1:"col-md-1",2:"col-md-2",3:"col-md-3",4:"col-md-4",5:"col-md-5",6:"col-md-6",7:"col-md-7",8:"
171col-md-8",9:"col-md-9",10:"col-md-10",11:"col-md-11",12:"col-md-12"},lg:{0:"col-lg",1:"col-lg-1",2:"col-lg-2",3:"col-lg-3",4:"col-lg-4",5:"col-lg-5",6:"col-lg-6",7:"col-lg-7",8:"col-lg-8",9:"col-lg-9",10:"col-lg-10",11:"col-lg-11",12:"col-lg-12"},xl:{0:"col-xl",1:"col-xl-1",2:"col-xl-2",3:"col-xl-3",4:"col-xl-4",5:"col-xl-5",6:"col-xl-6",7:"col-xl-7",8:"col-xl-8",9:"col-xl-9",10:"col-xl-10",11:"col-xl-11",12:"col-xl-12"}},d={xs:{0:"",1:"offset-1",2:"offset-2",3:"offset-3",4:"offset-4",5:"offset-5",6:"offset-6",7:"offset-7",8:"offset-8",9:"offset-9",10:"offset-10",11:"offset-11",12:"offset-12"},sm:{0:"offset-sm-0",1:"offset-sm-1",2:"offset-sm-2",3:"offset-sm-3",4:"offset-sm-4",5:"offset-sm-5",6:"offset-sm-6",7:"offset-sm-7",8:"offset-sm-8",9:"offset-sm-9",10:"offset-sm-10",11:"offset-sm-11",12:"offset-sm-12"},md:{0:"offset-md-0",1:"offset-md-1",2:"offset-md-2",3:"offset-md-3",4:"offset-md-4",5:"offset-md-5",6:"offset-md-6",7:"offset-md-7",8:"offset-md-8",9:"offset-md-9",10:"offset-md-10",11:"offset-md-11",12:"offset-md-12"},lg:{0:"offset-lg-0",1:"offset-lg-1",2:"offset-lg-2",3:"offset-lg-3",4:"offset-lg-4",5:"offset-lg-5",6:"offset-lg-6",7:"offset-lg-7",8:"offset-lg-8",9:"offset-lg-9",10:"offset-lg-10",11:"offset-lg-11",12:"offset-lg-12"},xl:{0:"offset-xl-0",1:"offset-xl-1",2:"offset-xl-2",3:"offset-xl-3",4:"offset-xl-4",5:"offset-xl-5",6:"offset-xl-6",7:"offset-xl-7",8:"offset-xl-8",9:"offset-xl-9",10:"offset-xl-10",11:"offset-xl-11",12:"offset-xl-12"}}},74164:(e,t,a)=>{"use strict";a.d(t,{D:()=>m});var r=a(6029),n=a(75155),l=a(55729),s=a(31133),i=a(51307),o=a(82911),c=a(33626),d=a(68544);let m=e=>{let t,a,d,m,h,f,p,g,v,x,b,y,w,j,N,k,S,_,I,C,E,T,A,V,$,P,M,R,z,D,F,B,L,q,H,O,U=(0,n.c)(84);U[0]!==e?({ref:C,"aria-label":t,autoComplete:a,autoFocus:d,className:m,error:p,inputClassName:y,hideLabelInaccessible:v,hint:x,label:j,placeholder:_,prefix:I,required:T,style:V,suffix:$,theme:P,value:R,externalError:g,labelClassName:N,inputMode:w,onClick:S,disabled:f,deprecatedOnChange:h,onChange:k,id:b,releaseMessageSpace:E,underline:M,...A}=e,U[0]=e,U[1]=t,U[2]=a,U[3]=d,U[4]=m,U[5]=h,U[6]=f,U[7]=p,U[8]=g,U[9]=v,U[10]=x,U[11]=b,U[12]=y,U[13]=w,U[14]=j,U[15]=N,U[16]=k,U[17]=S,U[18]=_,U[19]=I,U[20]=C,U[21]=E,U[22]=T,U[23]=A,U[24]=V,U[25]=$,U[26]=P,U[27]=M,U[28]=R):(t=U[1],a=U[2],d=U[3],m=U[4],h=U[5],f=U[6],p=U[7],g=U[8],v=U[9],x=U[10],b=U[11],y=U[12],w=U[13],j=U[14],N=U[15],k=U[16],S=U[17],_=U[18],I=U[19],C=U[20],E=U[21],T=U[22],A=U[23],V=U[24],$=U[25],P=U[26],M=U[27],R=U[28]);let G=void 0===P?"light":P,Y=(0,l.useId)(),W=`error-${Y}`,Q=!!p||g?.invalid,K=v,J=u(d),X=M&&"field-container-challenger-underline";U[29]!==m||U[30]!==X?(z=(0,s.x)(X,m),U[29]=m,U[30]=X,U[31]=z):z=U[31];let Z=g?.id??W,ee=b||Y,et=b||Y,ea=Q||x?g?.id??W:void 0,er=Q&&"is-invalid";U[32]!==y||U[33]!==er?(D=(0,s.x)("form-control-challenger","[&::-webkit-search-cancel-button]:appearance-none",er,y),U[32]=y,U[33]=er,U[34]=D):D=U[34];let en=!!Q||void 0,el=t??j,es=T?"true":"false",ei=K?_+(T?" *":""):" ";return U[35]!==h||U[36]!==k?(F=e=>{h?.(e),k?.(e.target.value)},U[35]=h,U[36]=k,U[37]=F):F=U[37],U[38]!==a||U[39]!==f||U[40]!==w||U[41]!==S||U[42]!==C||U[43]!==T||U[44]!==A||U[45]!==J||U[46]!==en||U[47]!==el||U[48]!==es||U[49]!==ei||U[50]!==F||U[51]!==et||U[52]!==ea||U[53]!==D||U[54]!==R?(B=(0,r.jsx)("input",{id:et,"aria-describedby":ea,autoComplete:a,autoFocus:J,className:D,"aria-invalid":en,"aria-label":el,"aria-required":es,required:T,placeholder:ei,value:R,onClick:S,inputMode:w,ref:C,disabled:f,onChange:F,...A}),U[38]=a,U[39]=f,U[40]=w,U[41]=S,U[42]=C,U[43]=T,U[44]=A,U[45]=J,U[46]=en,U[47]=el,U[48]=es,U[49]=ei,U[50]=F,U[51]=et,U[52]=ea,U[53]=D,U[54]=R,U[55]=B):B=U[55],U[56]!==f||U[57]!==p||U[58]!==v||U[59]!==b||U[60]!==j||U[61]!==N||U[62]!==T||U[63]!==Y?(L=!v&&(0,r.jsx)(c.d,{id:b||Y,error:p,disabled:f,labelClassName:N,label:j,required:T}),U[56]=f,U[57]=p,U[58]=v,U[59]=b,U[60]=j,U[61]=N,U[62]=T,U[63]=Y,U[64]=L):L=U[64],U[65]!==B||U[66]!==L?(q=(0,r.jsxs)("div",{className:"field-input-label-challenger",children:[B,L]}),U[65]=B,U[66]=L,U[67]=q):q=U[67],U[68]!==f||U[69]!==I||U[70]!==$||U[71]!==q?(H=(0,r.jsx)(i._,{prefix:I,suffix:$,disabled:f,children:q}),U[68]=f,U[69]=I,U[70]=$,U[71]=q,U[72]=H):H=U[72],U[73]!==p||U[74]!==v||U[75]!==x||U[76]!==E||U[77]!==V||U[78]!==H||U[79]!==z||U[80]!==Z||U[81]!==ee||U[82]!==G?(O=(0,r.jsx)(o.D,{className:z,error:p,hint:x,hideLabelInaccessible:v,style:V,theme:G,describedById:Z,releaseMessageSpace:E,fieldId:ee,children:H}),U[73]=p,U[74]=v,U[75]=x,U[76]=E,U[77]=V,U[78]=H,U[79]=z,U[80]=Z,U[81]=ee,U[82]=G,U[83]=O):O=U[83],O},u=e=>{let t=(0,d.$)();return!!e&&("all"===e||("touch"===e?t:!t))}},75814:(e,t,a)=>{"use strict";a.d(t,{V:()=>o});var r=a(6029),n=a(75155),l=a(55729),s=a(90420),i=a(31133);let o=e=>{let t,a,o,c,d,m,u,h,f,p,g,v,x,b,y,w,j,N,k,S,_,I,C,E,T,A,V,$,P=(0,n.c)(60);P[0]!==e?({ref:v,className:a,"data-test":o,"data-test-item":c,description:m,disabled:u,label:f,error:h,required:x,style:y,theme:w,onChange:g,deprecatedOnChange:d,value:j,noValue:p,checkboxWrapperClassName:t,...b}=e,P[0]=e,P[1]=t,P[2]=a,P[3]=o,P[4]=c,P[5]=d,P[6]=m,P[7]=u,P[8]=h,P[9]=f,P[10]=p,P[11]=g,P[12]=v,P[13]=x,P[14]=b,P[15]=y,P[16]=w,P[17]=j):(t=P[1],a=P[2],o=P[3],c=P[4],d=P[5],m=P[6],u=P[7],h=P[8],f=P[9],p=P[10],g=P[11],v=P[12],x=P[13],b=P[14],y=P[15],w=P[16],j=P[17]);let M=(0,l.useId)(),R="dark"===w&&"field-theme-dark-challenger";P[18]!==a||P[19]!==R?(N=(0,i.x)("field-container-challenger",R,a),P[18]=a,P[19]=R,P[20]=N):N=P[20],P[21]!==d||P[22]!==g?(k=e=>{d?.(e),g?.(e.target.checked)},P[21]=d,P[22]=g,P[23]=k):k=P[23];let z=p?void 0:M;P[24]!==u||P[25]!==v||P[26]!==b||P[27]!==k||P[28]!==z||P[29]!==j?(S=(0,r.jsx)("input",{"data-test":"checkboxFieldInput",type:"checkbox",className:"custom-control-input custom-control-input-checkbox",disabled:u,onChange:k,ref:v,checked:j,value:z,...b}),P[24]=u,P[25]=v,P[26]=b,P[27]=k,P[28]=z,P[29]=j,P[30]=S):S=P[30];let D=o+"Checkbox";P[31]!==t?(_=(0,i.x)("indicator-wrapper",t),P[31]=t,P[32]=_):_=P[32],P[33]!==u||P[34]!==h?(I=(0,r.jsx)(s.P,{className:"mr-8","data-test":"checkboxIndicator",disabled:u,error:h}),P[33]=u,P[34]=h,P[35]=I):I=P[35],P[36]!==D||P[37]!==_||P[38]!==I?(C=(0,r.jsx)("div",{"data-test":D,className:_,children:I}),P[36]=D,P[37]=_,P[38]=I,P[39]=C):C=P[39];let F="dark"===w&&h&&"text-danger-dark",B="dark"!==w&&h&&"text-danger";P[40]!==F||P[41]!==B?(E=(0,i.x)(F,B),P[40]=F,P[41]=B,P[42]=E):E=P[42];let L=x&&" *";return P[43]!==f||P[44]!==E||P[45]!==L?(T=(0,r.jsx)("div",{className:"custom-control-description",children:(0,r.jsxs)("div",{className:E,
171children:[f," ",L]})}),P[43]=f,P[44]=E,P[45]=L,P[46]=T):T=P[46],P[47]!==o||P[48]!==c||P[49]!==T||P[50]!==S||P[51]!==C?(A=(0,r.jsxs)("label",{"data-test":o,"data-test-item":c,className:"custom-control form-check-label",children:[S,C,T]}),P[47]=o,P[48]=c,P[49]=T,P[50]=S,P[51]=C,P[52]=A):A=P[52],P[53]!==m?(V=m&&(0,r.jsx)("div",{className:"pl-32 pr-8",children:m}),P[53]=m,P[54]=V):V=P[54],P[55]!==y||P[56]!==A||P[57]!==V||P[58]!==N?($=(0,r.jsxs)("div",{"data-test":"checkboxField",className:N,style:y,children:[A,V]}),P[55]=y,P[56]=A,P[57]=V,P[58]=N,P[59]=$):$=P[59],$}},78106:(e,t,a)=>{"use strict";a.d(t,{D:()=>s});var r=a(6029),n=a(75155);a(55729);var l=a(28113);let s=()=>{let e,t=(0,n.c)(1);return t[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)("div",{className:"flex h-[80vh] items-center justify-center","data-test":"pageLoader",children:(0,r.jsx)(l.d,{size:100})}),t[0]=e):e=t[0],e}},79460:(e,t,a)=>{"use strict";a.d(t,{HP:()=>m,PS:()=>d,CF:()=>u});var r=a(6029);a(55729);let n=function(e){for(var t=arguments.length,a=Array(t>1?t-1:0),r=1;r<t;r++)a[r-1]=arguments[r];let n="";for(let t=0;t<a.length;t++)n+=e[t]+a[t];return(n+=e[a.length]).split(/(?:\r\n|\n|\r)/).map(e=>e.replace(/^\s+/gm,"")).join(" ").trim()};var l=a(30308),s=a(76688);let i={vehicleDisclaimer:e=>(0,r.jsxs)(r.Fragment,{children:["Vehicle history data provided by Autocheck on"," ",(0,l.Y)(new Date(e)),". This data and any reliance on it is subject to the"," ",(0,r.jsx)(s.N,{target:"_blank",href:"https://www.autocheck.com/vehiclehistory/terms-of-use",children:"Autocheck Terms and Conditions"})," ","and the"," ",(0,r.jsx)(s.N,{target:"_blank",href:"https://www.truecar.com/terms",children:"TrueCar Terms of Service"}),". AutoCheck is a registered trademark and product of Experian."]}),usedOptions:"Features and options are descriptive of what can be expected on the vehicle. Actual options should be verified by the customer and dealer.",usedPrice:"Price may exclude tax, title, tags, governmental fees, any emissions testing charges, and any finance charges (if applicable). Unless otherwise stated separately in the vehicle details, where allowed by law, the price may not include processing, administrative, closing or similar fees. Current mileage may vary due to test drives and vehicle relocation. Actual vehicle options should be confirmed with the dealer.",recallNotice:()=>`
172    <span>
173      Some vehicles offered for sale may be subject to unrepaired manufacturer
174      safety recalls. To determine the recall status of a vehicle, visit
175      <a
176        target="_blank"
177        href="https://www.nhtsa.gov/recalls"
178        style={{ color: "#999999" }}
179      >
180        https://www.nhtsa.gov/recalls
181      </Link>
182      . Note that there may be a delay between when a recall has been issued,
183      repaired, and then posted online. Always inquire as to the current status
184      with the dealership prior to purchase.
185    </span>
186  `,msrp:"The Manufacturer's Suggested Retail Price (“MSRP”), sometimes known as the sticker price, is the retail price suggested by the manufacturer. Because the MSRP is a suggestion from the manufacturer, a dealer can choose to sell a vehicle above or below the MSRP. Many vehicles are sold above or below MSRP. The MSRP of a vehicle does not include all fees and charges that you may have to pay to buy, lease or register the vehicle. For example, the MSRP does not include taxes, tag, title, license, or registration fees, any transportation, or delivery fees, or any documentation or similar administrative fees charged by the dealer. The MSRP also does not include the cost of any dealer-installed accessories, extended warranty, insurance, protection products, or financing charges.",tsrp:a(67247).G,minimizedMsrp:"The Manufacturer's Suggested Retail Price (“MSRP”), sometimes known as the sticker price, is the retail price suggested by the manufacturer. Because the MSRP is a suggestion from the manufacturer, a dealer can choose to sell a vehicle above or below the MSRP. Many vehicles are sold above or below MSRP.",mpg:"Based on current year EPA mileage ratings. Use for comparison purposes only. Your actual mileage will vary, depending on how you drive and maintain your vehicle, driving conditions, battery pack age/condition (hybrid models only) and other factors.",yourProgramPrice:()=>n`The Program Price is an offer directly to you. It includes the vehicle's MSRP minus incentives and dealer discounts. It excludes dealer fees and accessories, applicable tax, title, licensing, other state and governmental charges and/or fees, and is subject to change based on incentives eligibility. TrueCar does not set vehicle pricing and is not responsible for errors in the pricing information given to you by a certified dealer through a TrueCar-powered platform.`,guarantedSavings:e=>n`Subject to verification of the items noted below, your Guaranteed Savings represents the amount that ${e} guarantees that you will save off the MSRP for the vehicle with the specific VIN listed. MSRP is determined by the manufacturer and may not reflect the price at which vehicles are generally sold in the dealer's trade area. Your Guaranteed Savings includes the following items that are subject to your qual
186ification for the specific manufacturer program rules as determined by ${e} and which will not be available to you if you are determined to be ineligible. Program rules listed here are for information only and are subject to change at any time per the manufacturer:`,factoryInvoice:"Factory Invoice is the amount that a manufacturer initially charges the dealer for a vehicle, including destination fees, regional ad fees and other fees charged to the dealer by the manufacturer. This price does not include discounts, dealer incentives, or holdbacks (money allocated back to the dealer from the manufacturer upon sale).",disclaimerByState:{WA:"*A documentary service fee in an amount up to $200 may be added to the sale price or the capitalized cost."},vroom:"Price displayed does not include a non-refundable delivery fee ranging from $0 - $2999; applicable taxes, title, tag, registration and inspection charges (where applicable), which will be calculated at the time of purchase; for FL residents: a pre-delivery service fee of $350 and electronic registration filing charge of $15.00; for IN or TX residents: a documentary fee of $150; for OH residents: a documentary fee of $250 or 10% of sales price whichever is less; for WI residents, a service fee of $350 and electronic processing fee of $19.50; for residents of AZ and all other states not listed above: a documentary fee of $350. Prices are subject to change. We make every effort to provide accurate vehicle information on this page, but please verify before purchasing. Customers picking up local inventory from Texas Direct Auto's store in Stafford, TX are not subject to a delivery fee or electronic registration filing fee.",inTransit:"This vehicle may currently be in transit from the factory to the dealership. Contact the dealer for more information and availability."},o=e=>{let{dealerType:t,isTCPlus:a=!1,isUnlocked:r=!1,condition:n}=e,l="NEW"===n?`at ${t||"your dealership"}`:`${t?"at "+t:""}`;return t&&a&&r?`The vehicle displayed by this page is sold by ${t} and was identified as being in-stock.`:`The vehicle displayed on this page was identified as being in-stock ${l} through the dealer's frequently updated inventory feed.`},c={...i,inStockVehicleNew:e=>{let{dealerType:t,isTCPlus:a=!1,isUnlocked:r=!1}=e,l=o({dealerType:t,isTCPlus:a,isUnlocked:r,condition:"NEW"});return n`${l} Please note that this vehicle may not be identical to your configured vehicle. This vehicle is subject to prior sale and may become unavailable after it has been identified to you as available. Pricing on an in-stock vehicle is provided by ${t||"your dealership"} through TrueCar’s proprietary tools.`},inStockVehicleUsed:e=>{let{dealerType:t,isTCPlus:a=!1,isUnlocked:r=!1}=e,l=o({dealerType:t,isTCPlus:a,isUnlocked:r,condition:"USED"});return n`${l} This vehicle is subject to prior sale and may become unavailable after it has been identified to you as available. Pricing on an in-stock vehicle is provided ${t?"by "+t:""} through TrueCar’s proprietary tools.`},governmentTaxesAndFees:"These amounts refer to government mandated fees such as tax, title, and license.  These amounts shown above should be used as an illustration, and additional taxes and fees may apply.  Your Dealer will detail the tax, title, license, and other government fees to arrive at the final out-the-door price of your car.",subtotalBeforeFees:"The Subtotal Before Dealer Fees & Accessories is Total MSRP minus Guaranteed Savings for an In-Stock Vehicle. Dealer fees and commonly installed accessories are not included in the Subtotal Before Dealer Fees & Accessories.",totalFees:"Accessories and Dealer Fees are unique to each dealership and can include, but are not limited to: advertising fees, administrative fees, documentation fees, fuel charges, accessories, warranties, and other installed options. Participating dealers are required to list all of their applicable required fees and vehicle accessories. These amounts do not include government mandated fees such as tax, title, and license, which are beyond the dealer's control.",priceRatings:["A price in this range represents an outstanding deal for the buyer based on comparable vehicles in your area. This range can change daily based on new information.","A price in this range represents a great deal for the buyer based on comparable vehicles in your area. This range can change daily based on new information.","A price in this range represents a good deal for the buyer based on comparable vehicles in your area. This range can change daily based on new information.","A price in this range is likely due to limited local inventory, high market demand, etc."],totalBeforeTaxAndFees:"The Total Before Tax, Dealer Fees, & Accessories is an offer personal to you, and represents the Total MSRP minus Guaranteed Savings for an In-Stock Vehicle. Dealer fees and commonly installed accessories are not included in the Subtotal Before Dealer Fees & Accessories. The Total Before Tax, Dealer Fees, & Accessories also excludes applicable tax, title, licensing, other state and governmental charges and/or fees, and is subject to change based on incentives eligibility. Each Certified Dealer sets and controls its own pricing. True
186Car does not set vehicle pricing and is not responsible for errors in the pricing information communicated to you by a Certified Dealer through a TrueCar-powered platform."},d={...c,totalBeforeTax:(e,t)=>n`The ${t?"TruePrice":"Total Before Tax"} is an offer, personal to you, and represents the sum of the Subtotal Before Dealer Fees & Accessories and the Total Dealer Fees & Accessories. Each Certified Dealer sets and controls its own pricing. TrueCar does not set vehicle pricing and is not responsible for errors in the pricing information communicated to you by a ${e} through a TrueCar-powered platform. The ${t?"TruePrice":"Total Before Tax"} excludes applicable tax, title, licensing, other state and governmental charges and/or fees, and is subject to change based on incentives eligibility.`,totalIncludingTax:e=>n`${e?"Your TruePrice":"The Total Including Tax"} includes Dealer-specified tax, title, licensing, other state and governmental charges and/or fees.`},m={...c,vehicleMatchPercentage:"The vehicle match percentage displayed in connection with a Certified Dealer’s in-stock vehicle is based on a formula designed to indicate the extent to which that vehicle is consistent with your configured vehicle. Such vehicles are subject to prior sale and may become unavailable after they have been identified to you by a Certified Dealer. Pricing on in-stock vehicles is provided by Certified Dealers through TrueCar’s proprietary tools.",totalBeforeTax:(e,t,a)=>n`The ${a?"TruePrice":"Total Before Tax"} is an offer, personal to you, and represents the sum of the Subtotal Before Dealer Fees & Accessories and the Total Dealer Fees & Accessories. Each Certified Dealer sets and controls its own pricing. TrueCar does not set vehicle pricing and is not responsible for errors in the pricing information communicated to you by a ${t} through a TrueCar-powered platform. The ${a?"TruePrice":"Total Before Tax"} excludes applicable tax, title, licensing, other state and governmental charges and/or fees, and is subject to change based on incentives eligibility.`,totalIncludingTax:"The Total Including Tax includes Dealer-specified tax, title, licensing, other state and governmental charges and/or fees."},u={subtotalBeforeFeesTitle:(e,t)=>e?"Total Before Tax, Dealer Fees, & Accessories":`Your ${t}`,subtotalBeforeFeesText:(e,t)=>e?(0,r.jsx)("span",{children:"The Total Before Tax, Dealer Fees, & Accessories is an offer personal to you, and represents the Total MSRP minus Savings for an In-Stock Vehicle. Dealer fees and commonly installed accessories are not included in the Total Before Tax, Dealer Fees, & Accessories. The Total Before Tax, Dealer Fees, & Accessories also excludes applicable tax, title, licensing, other state and governmental charges and/or fees, and is subject to change based on incentives eligibility. Each Certified Dealer sets and controls its own pricing. TrueCar does not set vehicle pricing and is not responsible for errors in the pricing information communicated to you by a Certified Dealer through a TrueCar-powered platform."}):(0,r.jsxs)("span",{children:["The ",t," is an offer directly to you. It is contingent upon incentive eligibility and, if applicable, your ability to obtain financing. It includes the vehicle's MSRP minus incentives and dealer discounts. It excludes dealer fees and accessories, applicable tax, title, licensing, other state and governmental charges and/or fees, and is subject to change based on incentives eligibility. TrueCar does not set vehicle pricing and is not responsible for errors in the pricing information given to you by a certified dealer through a TrueCar-powered platform. The incentives available for a vehicle can vary by transaction method (cash, lease or financing) which can lead to different prices depending on how you purchase the vehicle. The price shown for lease and financing is contingent upon approval by the lender and your acceptance of the finance terms presented."," ",(0,r.jsx)("b",{children:"Although you do not pay TrueCar for your use of the service, TrueCar receives a fee from participating dealers in connection with the service."})]}),totalIncentivesText:e=>`Total Incentives includes the following items that are subject to your qual
186ification for the specific manufacturer program rules as determined by ${e||"the dealer"} and which will not be available to you if you are determined to be ineligible. Residency restrictions may apply. Program rules listed here are for information only and are subject to change at any time per the manufacturer:`,dealerDiscountText:e=>`Dealer Discount represents the amount you will save off the MSRP for the vehicle with the specific VIN listed offered by ${e||"the dealer"}. MSRP is determined by the manufacturer and may not reflect the price at which vehicles are generally sold in the dealer's trade area.`,totalAfterFeesText:e=>`Total After Dealer Fees & Accessories represents the sum of the ${e} and the Total Dealer Fees & Accessories.`}},81353:(e,t,a)=>{"use strict";a.d(t,{u:()=>l});var r=a(45165),n=a(64226);let l=(0,r.u)({makeSlug:n.u.string,modelSlug:n.u.string,modelYear:n.u.number.optional,section:n.u.enum("trims","expert-review","reviews","similar-vehicles","photos","specs","pricing").optional},e=>{let{makeSlug:t,modelSlug:a,modelYear:r,section:n}=e;return{path:"/"+["overview",t,a,r,n?`/#${n}`:""].filter(Boolean).join("/")}});l.routeName="modelOverviewRoute"},82866:(e,t,a)=>{"use strict";a.d(t,{Y:()=>r.Y});var r=a(95875)},83722:(e,t,a)=>{"use strict";a.d(t,{K:()=>r.Kp});var r=a(86225)},84411:(e,t,a)=>{"use strict";a.d(t,{w:()=>r.w});var r=a(7020)},84520:(e,t,a)=>{"use strict";function r(e){return Number(e?.replace(/[^0-9\.]+/g,"")??0)}a.d(t,{I:()=>r})},84907:(e,t,a)=>{"use strict";a.d(t,{o:()=>m});var r=a(6029),n=a(75155),l=a(55729),s=a(60663),i=a(41707);let o="jibberhjkhdsf",c=(e,t,a)=>{let r=(e=>{let t=document.createElement("div");t.innerHTML=e,t.className=o,t.style.opacity="0",t.style.position="absolute",t.style.whiteSpace="nowrap",t.style.font="inherit",document.body.appendChild(t);let a=document.querySelector("."+o);if(a){let e=Math.ceil(a.clientWidth);return a.remove(),e}throw Error("Text measure failed")})(e.options[e.selectedIndex]?.text??"")+t;a.style.width=`${r}px`},d=function(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2?arguments[2]:void 0,{widthAdjust:r=35,targetElement:n}=a||{};(0,l.useEffect)(()=>{let a=e.current,l=n||a;l&&(t?a&&c(a,r,l):l.style.width="")},[e,n,r,t]);let s=(0,l.useCallback)(e=>{let t=e.target;t&&c(t,r,n||t)},[n,r]);(0,l.useEffect)(()=>{let a=e.current;return a&&t&&a.addEventListener("change",s),()=>{a&&a.removeEventListener("onChange",s)}},[e,s,t])};function m(e){let t,a,o,c,m,u,h,f,p,g,v=(0,n.c)(20);v[0]!==e?({value:c,valueType:u,onChange:a,options:o,autoResize:t,...m}=e,v[0]=e,v[1]=t,v[2]=a,v[3]=o,v[4]=c,v[5]=m,v[6]=u):(t=v[1],a=v[2],o=v[3],c=v[4],m=v[5],u=v[6]);let x=void 0===u?"string":u,b=(0,l.useRef)(null);d(b,!!t),v[7]!==o?(h=o.map(i.E),v[7]=o,v[8]=h):h=v[8];let y=h;v[9]!==c?(f="string"==typeof c?c:JSON.stringify(c)??"",v[9]=c,v[10]=f):f=v[10];let w=f;v[11]!==a||v[12]!==c||v[13]!==x?(p=e=>{"string"==typeof c&&"string"===x?a(e):a((0,i.A)(x,e))},v[11]=a,v[12]=c,v[13]=x,v[14]=p):p=v[14];let j=p;return v[15]!==j||v[16]!==y||v[17]!==m||v[18]!==w?(g=(0,r.jsx)(s.g,{options:y,value:w,ref:b,onChange:j,hideLabelInaccessible:!0,label:"",...m}),v[15]=j,v[16]=y,v[17]=m,v[18]=w,v[19]=g):g=v[19],g}},86225:(e,t,a)=>{"use strict";a.d(t,{Vh:()=>o,wb:()=>u,Kp:()=>h,T2:()=>f,tU:()=>d});var r=a(6029),n=a(75155),l=a(70299),s=a(31133),i=a(55729);let o=e=>{let t,a,i,o,c,d,m,u,h=(0,n.c)(18);h[0]!==e?({disabled:i,tracking:c,className:a,children:t,...o}=e,h[0]=e,h[1]=t,h[2]=a,h[3]=i,h[4]=o,h[5]=c):(t=h[1],a=h[2],i=h[3],o=h[4],c=h[5]);let f=(0,l.z)();h[6]!==f||h[7]!==c?(d=c?()=>f(c):void 0,h[6]=f,h[7]=c,h[8]=d):d=h[8];let p=d,g=i&&"text-muted hover:text-muted";return h[9]!==a||h[10]!==g?(m=(0,s.x)("h-full whitespace-nowrap",g,a),h[9]=a,h[10]=g,h[11]=m):m=h[11],h[12]!==t||h[13]!==i||h[14]!==o||h[15]!==m||h[16]!==p?(u=(0,r.jsx)("button",{className:m,disabled:i,type:"button",role:"tab",onKeyUp:p,onPointerUp:p,...o,children:t}),h[12]=t,h[13]=i,h[14]=o,h[15]=m,h[16]=p,h[17]=u):u=h[17],u};o.displayName="TabItem";let c=i.createContext({id:"",index:0,setIndex:()=>{}}),d=e=>{let t,a,l,s,o,d,m,u,h,f,p,g=(0,n.c)(22);g[0]!==e?({children:t,index:s,defaultIndex:o,onChange:a,...l}=e,g[0]=e,g[1]=t,g[2]=a,g[3]=l,g[4]=s,g[5]=o):(t=g[1],a=g[2],l=g[3],s=g[4],o=g[5]);let v=void 0===s?0:s,x=void 0===o?0:o,b=i.useRef(!1),y=i.useId(),[w,j]=i.useState(v||x);g[6]!==a?(d=e=>{a?.(e),j(e)},g[6]=a,g[7]=d):d=g[7],g[8]!==y||g[9]!==w||g[10]!==d?(m={id:y,index:w,setIndex:d},g[8]=y,g[9]=w,g[10]=d,g[11]=m):m=g[11];let N=m;return g[12]!==x||g[13]!==v?(u=()=>{let e=v||x;b.current&&j(e),b.current=!0},h=[v,x],g[12]=x,g[13]=v,g[14]=u,g[15]=h):(u=g[14],h=g[15]),i.useEffect(u,h),g[16]!==t||g[17]!==l?(f=(0,r.jsx)("div",{...l,children:t}),g[16]=t,g[17]=l,g[18]=f):f=g[18],g[19]!==f||g[20]!==N?(p=(0,r.jsx)(c.Provider,{value:N,children:f}),g[19]=f,g[20]=N,g[21]=p):p=g[21],p};var m=a(31254);let u=e=>{let t,a,l,o,d,u,h,f,p=(0,n.c)(57);p[0]!==e?({type:h,scrollable:d,block:t,className:l,style:u,children:a,...o}=e,p[0]=e,p[1]=t,p[2]=a,p[3]=l,p[4]=o,p[5]=d,p[6]=u,p[7]=h):(t=p[1],a=p[2],l=p[3],o=p[4],d=p[5],u=p[6],h=p[7]);let{id:g,index:v,setIndex:x}=i.useContext(c),b="tab"===h,y="switch"===h,w="card"===h,j="button-link"===h,N="slide-switch"===h;if(p[8]!==t||p[9]!==a||p[10]!==l||p[11]!==g||p[12]!==v||p[13]!==j||p[14]!==w||p[15]!==N||p[16]!==y||p[17]!==b||p[18]!==o||p[19]!==d||p[20]!==x||p[21]!==u){let e,n,c,h,k,S,_=i.Children.toArray(a).filter(
186Boolean),I=_.length;p[23]!==g||p[24]!==v||p[25]!==x?(e=e=>{e!==v&&(x(e),setTimeout(()=>{document.getElementById(`tabs_tab_${g}_${e}`)?.focus()},0))},p[23]=g,p[24]=v,p[25]=x,p[26]=e):e=p[26];let C=e,E=b&&"tab-bar";p[27]!==t||p[28]!==l||p[29]!==j||p[30]!==w||p[31]!==N||p[32]!==y||p[33]!==b||p[34]!==d||p[35]!==E?(n=(0,s.x)(E,b&&(0,m.no)(d),b&&d&&"tab-bar-scrollable w-full",b&&t&&"tab-bar-block",y&&"switch-bar",y&&t&&"switch-bar-block",w&&"w-full grid gap-8",j&&"button-link-group",N&&"w-full flex flex-row gap-8 p-4 rounded bg-neutral-400",l),p[27]=t,p[28]=l,p[29]=j,p[30]=w,p[31]=N,p[32]=y,p[33]=b,p[34]=d,p[35]=E,p[36]=n):n=p[36],p[37]!==I||p[38]!==w?(c=w&&{gridTemplateColumns:`repeat(${I}, 1fr)`},p[37]=I,p[38]=w,p[39]=c):c=p[39],p[40]!==u||p[41]!==c?(h={...u,...c},p[40]=u,p[41]=c,p[42]=h):h=p[42],p[43]!==I||p[44]!==C||p[45]!==v?(k=e=>"ArrowRight"===e.key?C(v<I-1?v+1:0):"ArrowLeft"===e.key?C(v>0?v-1:I-1):void 0,p[43]=I,p[44]=C,p[45]=v,p[46]=k):k=p[46],p[47]!==g||p[48]!==v||p[49]!==j||p[50]!==w||p[51]!==N||p[52]!==y||p[53]!==b||p[54]!==d||p[55]!==x?(S=(e,t)=>{let a=t===v;return i.cloneElement(e,{children:b?(0,r.jsx)("span",{className:(0,m.Nc)(a),children:e.props.children}):w?(0,r.jsx)("span",{className:"flex flex-col grow w-full p-20 items-center text-center",children:e.props.children}):N?(0,r.jsx)("span",{className:(0,s.x)("flex flex-col flex-nowrap items-center justify-center w-full p-8 min-h-40 text-14 max-w-full text-center flex-auto",a&&"font-500"),children:e.props.children}):e.props.children,className:(0,s.x)(b&&"tab",b&&a&&"tab-active",b&&a&&(0,m.jf)(d),y&&"switch w-full",w&&["bg-white rounded flex flex-col items-start w-full","transition-[transition:box-shadow] duration-300 ease-[cubic-bezier(0.64,0.04,0.35,1)]","shadow-[2px_2px_7px_0_rgba(1,1,1,0.15)]","hover:shadow-[2px_2px_6px_0_rgba(1,1,1,0.05),2px_4px_9px_0_rgba(1,1,1,0.15)]","data-[selected]:shadow-[0_0_0_2px_black]","disabled:!shadow-[2px_2px_7px_0_rgba(1,1,1,0.15)]"],N&&["w-full rounded flex flex-col flex-nowrap items-start","data-[selected]:bg-white","data-[selected]:shadow"],j&&"button-link",j&&a&&"button-link-active",e.props.className),onClick:()=>x(t),tabIndex:a?0:-1,id:`tabs_tab_${g}_${t}`,"aria-controls":`tabs_panel_${g}_${t}`,"aria-selected":a,"data-selected":a||void 0})},p[47]=g,p[48]=v,p[49]=j,p[50]=w,p[51]=N,p[52]=y,p[53]=b,p[54]=d,p[55]=x,p[56]=S):S=p[56],f=(0,r.jsx)("div",{className:n,style:h,onKeyDownCapture:k,role:"tablist","aria-orientation":"horizontal",...o,children:_.map(S)}),p[8]=t,p[9]=a,p[10]=l,p[11]=g,p[12]=v,p[13]=j,p[14]=w,p[15]=N,p[16]=y,p[17]=b,p[18]=o,p[19]=d,p[20]=x,p[21]=u,p[22]=f}else f=p[22];return f},h=e=>{let t,a,l,s=(0,n.c)(6);return s[0]!==e?({children:t,...a}=e,s[0]=e,s[1]=t,s[2]=a):(t=s[1],a=s[2]),s[3]!==t||s[4]!==a?(l=(0,r.jsx)("div",{role:"tabpanel",...a,children:t}),s[3]=t,s[4]=a,s[5]=l):l=s[5],l};h.displayName="TabPanel";let f=e=>{let t,a,l,o,d,m=(0,n.c)(15);m[0]!==e?({children:t,...a}=e,m[0]=e,m[1]=t,m[2]=a):(t=m[1],a=m[2]);let{id:u,index:h}=i.useContext(c);if(m[3]!==t||m[4]!==u||m[5]!==h||m[6]!==a){let e,r=i.Children.toArray(t).filter(Boolean);l=a,m[9]!==u||m[10]!==h?(e=(e,t)=>{let a=t===h;return i.cloneElement(e,{...!a&&{hidden:!0},className:(0,s.x)(!a&&"hidden",e.props.className),tabIndex:a?0:-1,id:`tabs_panel_${u}_${t}`,"aria-labelledby":`tabs_tab_${u}_${t}`})},m[9]=u,m[10]=h,m[11]=e):e=m[11],o=r.map(e),m[3]=t,m[4]=u,m[5]=h,m[6]=a,m[7]=l,m[8]=o}else l=m[7],o=m[8];return m[12]!==l||m[13]!==o?(d=(0,r.jsx)("div",{...l,children:o}),m[12]=l,m[13]=o,m[14]=d):d=m[14],d}},87001:(e,t,a)=>{"use strict";a.d(t,{m:()=>I});var r=a(6029),n=a(75155),l=a(55729),s=a(70415),i=a(27166),o=a(69039),c=a(57545),d=a(23549),m=a(54546),u=a(76688),h=a(31133),f=a(25247),p=a(62556),g=a(73974),v=a(31410),x=a(43302),b=a(4113),y=a(5441),w=a(70299),j=a(47687),N=a.n(j),k=a(30739);let S=e=>{let t,a,l,s,i,o,c=(0,n.c)(21),{currentUrl:d,active:m,navbarLinks:p,theme:g}=e,v="dark"===(void 0===g?"white":g),x=v&&"text-white";if(c[0]!==x?(t=(0,h.x)("border-r pr-16",x),c[0]=x,c[1]=t):t=c[1],c[2]!==m||c[3]!==d||c[4]!==v?(a=d===f.E.generate({})?(0,r.jsx)("span",{className:"font-500",children:"Electric Vehicles"}):(0,r.jsx)(u.N,{className:(0,h.x)("no-underline","electric-vehicles"===m&&"font-500",v?"text-white":"text-black"),href:f.E.generate({}),tracking:{eventAction:"EV - Global Navigation Click",eventCategory:"Engagement",eventLabel:"Electric Vehicles"},children:"Electric Vehicles"}),c[2]=m,c[3]=d,c[4]=v,c[5]=a):a=c[5],c[6]!==t||c[7]!==a?(l=(0,r.jsx)("div",{className:t,children:a}),c[6]=t,c[7]=a,c[8]=l):l=c[8],c[9]!==m||c[10]!==d||c[11]!==p){let e;c[13]!==m||c[14]!==d?(e=(e,t)=>{let{displayName:a,href:n,id:l}=e;return(0,r.jsx)("li",{className:(0,h.x)(0===t&&"ml-16 md:ml-20","mr-20 md:mr-32"),children:n===d?(0,r.jsx)("span",{className:"font-500",children:a}):(0,r.jsx)(u.N,{href:n,className:(0,h.x)("no-underline",l===m&&"font-500"),tracking:{eventAction:"EV - Global Navigation Click",eventCategory:"Engagement",eventLabel:a},children:a})},l)},c[13]=m,c[14]=d,c[15]=e):e=c[15],s=p.filter(C).map(e),c[9]=m,c[10]=d,c[11]=p,c[12]=s}else s=c[12];return c[16]!==s?(i=(0,r.jsx)("ul",{className:"flex",children:s}),c[16]=s,c[17]=i):i=c[17],c[18]!==l||c[19]!==i?(o=(0,r.jsxs)(r.Fragment,{children:[l,i]}),c[18]=l,c[19]=i,c[20]=o):o=c[20],o},_=e=>{let t,a,s,f,p,g,v,x,b,y,j=(0,n.c)(27),{active:N,navbarLinks:k,theme:S}=e,[_,I]=l.useState(!1),C=(0,w.z)();j[0]!==_||j[1]!==C?(t=()=>{_&&C({eventCategory:"Engagement",eventAction:"EV Navigation Dropdown"})},a=[_,C],j[0]=_,j[1]=C,j[2]=t,j[3]=a):(t=j[2],a=j[3]),l.useEffect(t,a),j[4]===Symbol.for("react.memo_cache_sentinel")?(s=(0,h.x)("px-20","pt-20","pb-8","mt-[19px]","border-none","rounded-0","z-[1040]","!bg-black","w-full","grid","grid-cols-3","gap-x-8","gap-y-20"),j[4]=s):s=j[4];let E="dark"===(void 0===S?"white":S)?"text-white":"text-black";if(j[5]!==E?(f=(0,h.x)("flex items-center",E),j[5]=E,j[6]=f):f=j[6],j[7]!==N||j[8]!==k?(p=k.find(e=>e.id===N)?.displayName??"Electric Vehicles",j[7]=N,j[8]=k,j[9]=p):p=j[9],j[10]!==p?(g=(0,r.jsx)("span",{className:"font-500",children:p}),j[10]=p,j[11]=g):g=j[11],j[12]!==_?(v=(0,r.jsx)("span",{className:"ml-4 flex items-center",children:_?(0,r.jsx)(o.b,{}):(0,r.jsx)(i.U,{})}),j[12]=_,j[13]=v):v=j[13],j[14]!==f||j[15]!==g||j[16]!==v?(x=(0,r.jsxs)(d.C,{className:f,children:[g,v]}),j[14]=f,j[15]=g,j[16]=v,j[17]=x):x=j[17],j[18]!==N||j[19]!==k){let e;j[21]!==N?(e=e=>{let{displayName:t,href:a,id:n}=e;return N===n?null:(0,r.jsx)(m.t,{className:(0,h.x)("h-[74px]","bg-white","rounded","text-12","no-underline","flex","font-400","text-center","px-16","whitespace-normal","flex","items-center","justify-center"),tag:u.N,href:a,tracking:{eventAction:"EV - Global Navigation Click",eventCategory:"Engagement",eventLabel:t},children:t},n)},j[21]=N,j[22]=e):e=j[22],b=k.map(e),j[18]=N,j[19]=k,j[20]=b}else b=j[20];return j[23]!==_||j[24]!==x||j[25]!==b?(y=(0,r.jsx)(c.m,{isOpen:_,setIsOpen:I,menuClassName:s,className:"w-full md:hidden",toggle:x,children:b}),j[23]=_,j[24]=x,j[25]=b,j[26]=y):y=j[26],y},I=l.memo(e=>{let t,a,l,i,o,c,d,m,u=(0,n.c)(23),{active:j,className:I,theme:C}=e,E=void 0===C?"white":C,T="dark"===E,A=(0,y.p)(),V=(0,w.z)();u[0]===Symbol.for("react.memo_cache_sentinel")?(a={default:!1,truecar:!0},u[0]=a):a=u[0];let $=(t=(0,k.G)(a),[{id:"electric-vehicles",displayName:"Electric Vehicles",href:f.E.generate({})},{id:"new-evs",displayName:"New EVs",href:b.P.generate({bodyStyle:"Electrics",filterType:"body"})},{id:"used-evs",displayName:"Used EVs",href:g.x.generate({condition:"USED",fuelType:["Ele
186ctric"]})},{id:"used-teslas",displayName:"Used Teslas",href:g.x.generate({condition:"USED",makeModelTrim:[{makeSlug:"tesla"}]})},{id:"electric-incentives",displayName:"EV Incentives",href:p.T.generate({})},{id:"ev-deals",displayName:"EV Deals",href:x.x.generate({vehicleTypeSlug:"fuel-electric"})},{id:"best-evs",displayName:"Best EVs",href:v.J.generate({splat:"/fuel-electric/"})},...t?[{id:"buyers-guide",displayName:"Buyer's Guide",href:"https://www.truecar.com/blog/electric-vehicle-buyers-guide/"}]:[]]);u[1]!==V?(l=N()(()=>{V({eventCategory:"Engagement",eventAction:"EV Navigation Scroll"})},1e3),u[1]=V,u[2]=l):l=u[2];let P=l,M=T?"theme-black":"theme-white",R=!T&&"border";return u[3]!==I||u[4]!==M||u[5]!==R?(i=(0,h.x)(M,"md:overflow-x-auto","h-[60px]","whitespace-nowrap",R,I),u[3]=I,u[4]=M,u[5]=R,u[6]=i):i=u[6],u[7]!==j||u[8]!==A||u[9]!==$||u[10]!==E?(o=(0,r.jsx)("div",{className:"hidden-sm-down flex h-full items-center",children:(0,r.jsx)(S,{currentUrl:A,active:j,navbarLinks:$,theme:E})}),u[7]=j,u[8]=A,u[9]=$,u[10]=E,u[11]=o):o=u[11],u[12]!==j||u[13]!==$||u[14]!==E?(c=(0,r.jsx)("div",{className:"hidden-md-up flex h-full items-center",children:(0,r.jsx)(_,{active:j,navbarLinks:$,theme:E})}),u[12]=j,u[13]=$,u[14]=E,u[15]=c):c=u[15],u[16]!==o||u[17]!==c?(d=(0,r.jsxs)(s.L,{className:"h-full",children:[o,c]}),u[16]=o,u[17]=c,u[18]=d):d=u[18],u[19]!==i||u[20]!==d||u[21]!==P?(m=(0,r.jsx)("nav",{className:i,onScroll:P,children:d}),u[19]=i,u[20]=d,u[21]=P,u[22]=m):m=u[22],m});function C(e){let{id:t}=e;return"electric-vehicles"!==t}},87639:(e,t,a)=>{"use strict";a.d(t,{T:()=>r.T});var r=a(1093)},88950:(e,t,a)=>{"use strict";a.d(t,{_:()=>r._});var r=a(42030)},89905:(e,t,a)=>{"use strict";a.d(t,{x:()=>s});var r=a(75155);a(55729);var n=a(2374),l=a(8530);let s=e=>{let t,a,s,i,o=(0,r.c)(11),{render:c}=e;o[0]!==e.rules?(t=(0,l.H)(e.rules),o[0]=e.rules,o[1]=t):t=o[1],o[2]!==t?(a={validate:t},o[2]=t,o[3]=a):a=o[3],o[4]!==e||o[5]!==a?(s={...e,rules:a},o[4]=e,o[5]=a,o[6]=s):s=o[6];let{field:d,meta:m}=(0,n.as)(s);return o[7]!==d||o[8]!==m||o[9]!==c?(i=c?c(d,m):null,o[7]=d,o[8]=m,o[9]=c,o[10]=i):i=o[10],i}},90420:(e,t,a)=>{"use strict";a.d(t,{P:()=>o});var r=a(6029),n=a(75155);a(55729);var l=a(31133),s=a(1336),i=a(19004);let o=e=>{let t,a,o,c=(0,n.c)(12),{active:d,className:m,"data-test":u,"data-test-item":h,disabled:f,indeterminate:p,error:g}=e,v=void 0!==p&&p,x=d&&"custom-control-indicator-checkbox-active",b=f&&"custom-control-indicator-disabled",y=g&&!f&&"custom-control-indicator-error";return c[0]!==m||c[1]!==x||c[2]!==b||c[3]!==y?(t=(0,l.x)("custom-control-indicator custom-control-indicator-checkbox",x,b,y,m),c[0]=m,c[1]=x,c[2]=b,c[3]=y,c[4]=t):t=c[4],c[5]!==v?(a=v?(0,r.jsx)(s.C,{className:"custom-control-icon top-0",size:"sm"}):(0,r.jsx)(i.i,{className:"custom-control-icon",size:"sm"}),c[5]=v,c[6]=a):a=c[6],c[7]!==u||c[8]!==h||c[9]!==t||c[10]!==a?(o=(0,r.jsx)("div",{className:t,"data-test":u,"data-test-item":h,children:a}),c[7]=u,c[8]=h,c[9]=t,c[10]=a,c[11]=o):o=c[11],o}},90800:(e,t,a)=>{"use strict";a.d(t,{Q:()=>r.Q});var r=a(249)},92311:(e,t,a)=>{"use strict";a.d(t,{T:()=>r.T2});var r=a(86225)},94351:(e,t,a)=>{"use strict";a.d(t,{U:()=>l});var r=a(6029),n=a(75155);a(55729);let l=e=>{let t,a,l=(0,n.c)(4),{json:s}=e;return!s||"@graph"in s&&0===s["@graph"].length?null:(l[0]!==s?(t=JSON.stringify(s),l[0]=s,l[1]=t):t=l[1],l[2]!==t?(a=(0,r.jsx)("script",{type:"application/ld+json",children:t}),l[2]=t,l[3]=a):a=l[3],a)}},95875:(e,t,a)=>{"use strict";a.d(t,{Y:()=>r}),a(55729);let r=a(75814).V},96296:(e,t,a)=>{"use strict";a.d(t,{F:()=>i});var r=a(6029),n=a(75155);a(55729);var l=a(15858),s=a(64827);let i=e=>{let t,a,i,o,c,d,m,u,h=(0,n.c)(16);return h[0]!==e?({children:t,placement:c,hideClose:o,color:a,"data-test-tooltip":i,...d}=e,h[0]=e,h[1]=t,h[2]=a,h[3]=i,h[4]=o,h[5]=c,h[6]=d):(t=h[1],a=h[2],i=h[3],o=h[4],c=h[5],d=h[6]),h[7]!==d?(m=(0,r.jsx)(l.H,{...d}),h[7]=d,h[8]=m):m=h[8],h[9]!==t||h[10]!==a||h[11]!==i||h[12]!==o||h[13]!==c||h[14]!==m?(u=(0,r.jsx)(s.m,{trigger:m,"data-test":i,placement:c,hideClose:o,color:a,children:t}),h[9]=t,h[10]=a,h[11]=i,h[12]=o,h[13]=c,h[14]=m,h[15]=u):u=h[15],u}},96374:(e,t,a)=>{"use strict";a.d(t,{EK:()=>s,J1:()=>u,Ro:()=>o,ah:()=>l,oI:()=>h,ox:()=>c,r4:()=>f,w7:()=>i});var r=a(92309),n=a(55729);let l=e=>e.split("-")[0],s={bottom:"floating-element-arrow-bottom",left:"floating-element-arrow-left",right:"floating-element-arrow-right",top:"floating-element-arrow-top"},i={bottom:"floating-element-bottom",left:"floating-element-left",right:"floating-element-right",top:"floating-element-top"},o=e=>{if(1!==n.Children.count(e)||!e||"object"!=typeof e)throw Error("Tooltip trigger must be exactly one element capable of receiving focus.");if(!("type"in e)||!e.type||e.type===n.Fragment)throw Error("Tooltip trigger cannot be a React fragment. Wrap your content in a button or other element capable of receiving focus.");if("div"===e.type||"span"===e.type)throw Error("Tooltip trigger cannot be a non-interactive element such as div or span. Wrap your content in a button or other element capable of receiving focus.")},c=e=>{let{x:t,y:a,direction:r}=e,n=d[r];return"number"==typeof t?{left:t,[n]:-20}:"number"==typeof a?{top:a,[n]:-20}:{[n]:-20}}
186,d={top:"bottom",bottom:"top",left:"right",right:"left"},m=["bottom","bottom-end","bottom-start","top","top-start","top-end","left","left-end","left-start","right","right-end","right-start"],u=(e,t)=>[(0,r.cY)(15),(0,r.UU)({fallbackPlacements:m,boundary:t}),(0,r.BN)({padding:10,boundary:t}),(0,r.UE)({element:e,padding:10})],h="floating-element",f="floating-element-arrow"},99927:(e,t,a)=>{"use strict";a.d(t,{$:()=>l});var r=a(45165),n=a(64226);let l=(0,r.u)({makeSlug:n.u.string,modelSlug:n.u.string.optional},e=>{let{makeSlug:t,...a}=e;return{path:`/${t}/deals`,query:a}});l.routeName="makeDealsRoute"}},e=>{e.O(0,[3337,2374,9968,1529,2401,9827,2156,3974,4466,339,1870,120,6593,636,8792],()=>e(e.s=42628)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.