text: (window.webpackJsonp=window.webpackJsonp||[]).push([["new_model_core",4,7,9,10,12,14,20,23,25,32,37,"embedded-youtube"],{"../node_modules/slick-carousel/slick/slick-theme.css":function(e,t,a){},"../node_modules/slick-carousel/slick/slick.css":function(e,t,a){},"./actions/critical-css.js":function(e,t,a){"use strict";a.d(t,"a",function(){return s});var n=a("./actions/constants.js");function s(e){return{type:n.y,config:e}}},"./actions/legacy-page.js":function(e,t,a){"use strict";a.d(t,"a",function(){return s});var n=a("./actions/constants.js");function s(e){return{type:n.l,legacyPageInfo:e}}},"./actions/vehicle.js":function(e,t,a){"use strict";a.d(t,"b",function(){return p}),a.d(t,"a",function(){return h}),a.d(t,"e",function(){return g}),a.d(t,"f",function(){return b}),a.d(t,"g",function(){return v}),a.d(t,"d",function(){return f}),a.d(t,"c",function(){return E});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/lodash/get.js"),r=a.n(s),i=a("./data/luckdragon/model.js"),o=a("./data/models/vehicle.js"),l=a("./data/luckdragon/redux/model-actions.js"),c=a("./utils/parse-vehicle-for-action.js"),d=a("./site-modules/shared/utils/publication-states.js"),m=a("./constants/pub-states.js"),u=a("./actions/constants.js");function p(e,t){return{make:{id:r()(e,"vehicle.make.id",null),name:r()(e,"vehicle.make.name",""),niceName:r()(e,"vehicle.make.slug","")},model:{modelLinkCode:r()(e,"vehicle.model.modelLinkCode",""),name:r()(e,"vehicle.model.name",""),niceName:r()(e,"vehicle.model.slug","")},modelYear:{year:"agnostic"},publicationState:t||m.a.NEW}}function h(e){let t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=a.isUsed,s=void 0!==n&&n,r=a.typeList,i=void 0===r?"":r,o=a.isPreProdVehicle;return t=s?"used":void 0!==o&&o?"preprod":e&&Object(d.f)(e.pubStates),e?{make:{name:e.make.name,niceName:e.make.slug,id:e.make.id},model:{name:e.model.name,niceName:e.model.slug,modelLinkCode:e.model.modelLinkCode},modelYear:{year:e.year,id:e.modelYearId},subModel:{name:e.submodels.name,niceName:e.submodels.slug,id:e.id},typeList:i,publicationState:t}:{}}function g(e){return{type:u.K,vehicle:e}}function b(e){return(t,a)=>e?Object(l.d)(`styles.${e}`,o.e)(t,a).then(()=>{const n=Object(i.b)(a()).get(`styles.${e}`,o.e);return t(g(Object(c.b)(n)))}).catch(()=>t(g(Object(c.b)({})))):Promise.resolve(t(g(Object(c.b)({}))))}function v(e,t){return async(a,s)=>{if(e)try{await Object(l.d)(`styles.${e}`,o.e)(a,s);const r=Object(i.b)(s()).get(`styles.${e}`,o.e);return a(g(Object(c.c)(Object(n.a)({},r,{modelYearId:t}))))}catch(e){return a(g(Object(c.c)({})))}return Promise.resolve(a(g(Object(c.c)({}))))}}function f(e){let t=e.vehicleInfo,a=void 0===t?{}:t,n=e.type,s=void 0===n?"":n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=r()(a,"styleInfo",{}),l=r()(a,"displayPrice",""),c=r()(a,"vehicleColors.exterior.genericName","");return{publicationState:Object(d.d)(s),make:{niceName:r()(i,"make.slug",""),name:r()(i,"make.name",""),id:r()(i,"make.id","")},modelYear:{year:r()(i,"year",""),id:r()(i,"modelYearId","")},model:{niceName:r()(i,"model.slug",""),name:r()(i,"model.name",""),modelLinkCode:r()(i,"model.modelLinkCode","")},subModel:{niceName:r()(i,"submodels.slug",""),name:r()(i,"submodels.name",""),id:r()(i,"id","")},type:{niceName:o.bodyType},style:{id:o.styleId},displayPrice:l,exteriorColor:c}}function E(e){let t=e.vehicleInfo,a=void 0===t?{}:t,n=e.type,s=void 0===n?"":n,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const o=r()(a,"styleInfo",{}),l=r()(a,"displayPrice",""),c=r()(a,"vehicleColors.exterior.genericName","");return{publicationState:Object(d.d)(s),make:{niceName:r()(i,"make.niceId",""),name:r()(i,"make.name",""),id:r()(i,"make.id","")},modelYear:{year:r()(i,"modelYear.year",o.year),id:r()(i,"modelYear.id","")},model:{niceName:r()(i,"model.niceId",""),name:r()(i,"model.name",""),modelLinkCode:r()(i,"model.modelLinkCode","")},type:{niceName:o.bodyType},displayPrice:l,exteriorColor:c}}},"./data/models/car-buying.js":function(e,t,a){"use strict";a.d(t,"b",function(){return D}),a.d(t,"c",function(){return M}),a.d(t,"a",function(){return Y});var n=a("../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),s=a("../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),r=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),i=(a("../node_modules/core-js/modules/es6.regexp.replace.js"),a("../node_modules/lodash/reduce.js")),o=a.n(i),l=a("../node_modules/lodash/get.js"),c=a.n(l),d=a("./utils/environment.js"),m=a("./data/api/api-client.js"),u=a("./data/luckdragon/segment.js"),p=a("./data/api/api-metrics.js"),h=a("./site-modules/car-buying/util/storage.js"),g=a("./site-modules/shared/utils/car-buying/calculate-payments.js"),b=a("./data/models/page.js"),v=a("./site-modules/shared/constants/inventory/price-analysis.js"),f=a("./site-modules/car-buying/util/page-recognition-utils.js"),E=a("./site-modules/shared/constants/car-buying/index.js"),y=a("./site-modules/shared/utils/string.js"),_=a("./site-modules/car-buying/util/feature-flags.js"),C=a("./site-modules/shared/utils/inventory-utils.js"),k=a("./site-modules/shared/utils/inventory-image-utils.js"),N=a("./site-modules/shared/utils/car-buying/api-helper.js"),j=a("./site-modules/shared/constants/calculator/calculator.js"),O=a("./data/models/inventory.js"),T=a("./data/models/visitor.js"),S=a("./data/models/feature-flag.js"),I=a("./data/models/profile/profile.js"),w=a("./data/models/photos.js");const x="1",A="2",R="3",P="Gap",L={ADD_ONS:'vins["{vin}"].addOns',ADD_ONS_BY_TERM:'vins["{vin}"].addOnsBy.term["{term}"]',CALCULATED_OFFER:`vins["{vin}"].${E.v.CALCULATED_OFFER}`,ENGINE_SPECIFICATION:'vins["{vin}"].engineSpecification',DISCLAIMERS:'vins["{vin}"].digitalRetailDisclaimer',DIGITAL_RETAIL_OFFERS:'vins["{vin}"].digitalRetailOffers',MAKES:"makes",MAKES_MODELS:'makes["{makeSlug}"].models',PROFILE:`storageData.${E.v.PROFILE}`,SELECTED_ADD_ONS:`vins["{vin}"].${E.v.SELECTED_ADD_ONS}`,TOTAL_MONTHLY_PAYMENT:`vins["{vin}"].${E.v.TOTAL_MONTHLY_PAYMENT}`,VIN:`storageData.${E.v.VIN}`,LAST_VISITED_STEP:'vins["{vin}"].lastVisitedStep',VISITED_TAB:`vins["{vin}"].${E.v.VISITED_TAB}`,CURATED_MAKES:"curatedMakes",CURATED_BODY_TYPES:"curatedBodyTypes",CURATED_LEASE_DEALS_BY_BODY_TYPE_AND_PAGE:'curatedLeaseDeals["{bodyType}"].deals["{page}"]',CURATED_LEASE_DEALS_BY_BODY_TYPE_COUNT:'curatedLeaseDeals["{bodyType}"].count',LEASE_OFFERS_FULL_TOTAL_NUMBER:"leaseOffers.totalFullNumber",LEASE_DEAL_MIN_MONTHLY_PAYMENT:'deals["{makeSlug}"].model["{modelSlug}"].minMonthlyPayment',DEALER_MAPPING:'dealerMapping["{vin}"]',RECEIPT_ERROR:'vins["{vin}"].receiptError',HIDE_INTERSTITIAL:`storageData.${E.v.HIDE_INTERSTITIAL}`,HIDE_INTERSTITIAL_PER_SESSION:`vin["{vin}"].${E.v.HIDE_INTERSTITIAL_PER_SESSION}`,USER_INFO:"userInformation",SELECTED_INCENTIVES:`vins["{vin}"].${E.v.INCENTIVES}`,SELECTED_LEASE_INCENTIVES:`vins["{vin}"].${E.v.INCENTIVES}.lease`,SELECTED_LOAN_INCENTIVES:`vins["{vin}"].${E.v.INCENTIVES}.loan`,PHOTO_URL:'vins["{vin}"].photoUrl',DELIGHTED_SURVEY_COMPLETED:"isDelightedSurveyCompleted"},D={ADD_ONS:e=>{return`vins["${e.vin}"].addOns`},ADD_ONS_BY_TERM:e=>{return`vins["${e.vin}"].addOnsBy.term["${e.term}"]`},CALCULATED_OFFER:e=>{return`vins["${e.vin}"].calculatedOffer`},CREDIT_RESPONSE:"creditResponse",CURATED_LEASE_DEALS_BY_BODY_TYPE:e=>{return`curatedLeaseDeals["${e.bodyType}"].deals`},CURATED_LEASE_DEALS_BY_BODY_TYPE_AND_PAGE:e=>{return`curatedLeaseDeals["${e.bodyType}"].deals["${e.page}"]`},CURATED_LEASE_DEALS_BY_BODY_TYPE_COUNT:e=>{return`curatedLeaseDeals["${e.bodyType}"].count`},CURATED_MAKES:"curatedMakes",CURATED_BODY_TYPES:"curatedBodyTypes",DEALER_INFO:e=>{return`vin["${e.vin}"]`},DEALER_MAPPING:e=>{return`dealerMapping["${e.vin}"]`},DEALER_NAME:e=>{return`vin["${e.vin}"].dealerInfo.name`},DEALER_PHONE_NUMBER:e=>{return`vin["${e.vin}"].computedDisplayInfo.phoneNumber`},DEALER_ZIP_CODE:e=>{return`vin["${e.vin}"].dealerInfo.address.zip`},DISCLAIMER:e=>{return`vins["${e.vin}"].digitalRetailDisclaimer`},ENGINE_SPECIFICATION:e=>{return`vins["${e.vin}"].engineSpecification`},RECEIPT_ERROR:e=>{return`vins["${e.vin}"].receiptError`},IS_LOADED:"page.isLoaded",LEASE_OFFERS_FULL_TOTAL_NUMBER:"leaseOffers.totalFullNumber",DIGITAL_RETAIL_OFFERS:e=>{return`vins["${e.vin}"].digitalRetailOffers`},LOCATION:"location",MAKE_NAME:e=>{return`vin["${e.vin}"].vehicleInfo.styleInfo.make`},MDOCA_ID:e=>{return`dealerMapping["${e.vin}"].mdocaId`},PHOTO_URL:e=>{return`vins["${e.vin}"].photoUrl`},PROFILE_DATA:"storageData.profileData",PROFILE_EXPIRATION:"storageData.profileData.expiration",PROFILE:"storageData.profileData.profile",ROOFTOP_ID:e=>{return`vin["${e.vin}"].dealerInfo.rooftopId`},SELECTED_ADD_ONS:e=>{return`vins["${e.vin}"].selectedAddOns`},HIDE_INTERSTITIAL:L.HIDE_INTERSTITIAL,HIDE_INTERSTITIAL_PER_SESSION:e=>{return`vin["${e.vin}"].hideInterstitialPerSession`},STORED_STATE_CODE:"location.stateCode",STORED_ZIP_CODE:"location.zipCode",TOTAL_MONTHLY_PAYMENT:e=>{return`vins["${e.vin}"].totalMonthlyPayment`},VEHICLE:e=>{return`vin["${e.vin}"]`},VERIFIED_PAYMENTS:e=>{return`vins["${e.vin}"].verifiedPayments`},LAST_VISITED_STEP:e=>{return`vins["${e.vin}"].lastVisitedStep`},VISITED_TAB:e=>{return`vins["${e.vin}"].visitedTab`},LEASE_DEAL_MIN_MONTHLY_PAYMENT:e=>{let t=e.params;return`deals["${t.make}"].model["${t.model}"].minMonthlyPayment`},VEHICLE_TYPE:e=>{return`vin["${e.vin}"].type`},DEAL_TYPE:e=>{return`vin["${e.vin}"].thirdPartyInfo.priceValidation.dealType`},USER_INFO:L.USER_INFO,SELECTED_INCENTIVES:e=>{return`vins["${e.vin}"].${E.v.INCENTIVES}`},SELECTED_LEASE_INCENTIVES:e=>{return`vins["${e.vin}"].${E.v.INCENTIVES}.lease`},SELECTED_LOAN_INCENTIVES:e=>{return`vins["${e.vin}"].${E.v.INCENTIVES}.loan`},DELIGHTED_SURVEY_COMPLETED:"isDelightedSurveyCompleted"};function $(e){let t=e.vehicle,a=e.isPurchase,n=e.visitorId,s=e.term;const r=t.vehicleInfo.styleInfo.styleId;let i;const o=`/api/v1/menu/${i=Object(C.B)(t)?R:a?A:x}?styleId=${r}&term=${String(s)}`,l={retries:0,headers:Object(N.a)(n)};return m.a.fetchJson(o,l).then(e=>(function(e){const t=[...e],a=t.findIndex(e=>{let t=e.title;return t&&t.includes(P)});if(-1!==a){const e=t.splice(a,1);e[0].isMostPopular=!0,t.unshift(e[0])}return t})(e))}function M(e,t){const a=t.annualMileage,n=t.dueAtSigning,s=t.term,r=t.monthlyPayment,i=t.downPayment,o=t.paymentWithTaxes,l=o.securityDeposit,d=void 0===l?0:l,m=o.nonCapitalizedTaxes,u=o.nonCapitalizedFees,p=void 0===u?{}:u,h=o.salesTaxAmount,b=o.nonCapitalizedTaxesAndFees,v=void 0===b?0:b,f=o.showDetailedTaxesAndFees;let E=0,y=0;const _=h||c()(m,"salesTax.salesTaxAmount",0);return f?E=v:(E=Object(g.a)(p),y=Object(g.a)(m)),`/inventory/v5/offerdisclaimer?${[`vin=${e}`,`dueAtSigning=${n||0}`,`mileage=${a}`,`term=${s}`,`paymentWithTaxes=${r}`,`downPayment=${i}`,`securityDeposit=${d}`,`salesTaxAmount=${_}`,`nonCapitalizedTaxes=${y}`,`nonCapitalizedFees=${E}`].join("&")}`}function V(e,t,a){const n=function(e){return String(e).replace(/\s/g,"-").toLowerCase()}(e),s={[n]:{slug:n,name:e}};return t&&(s[n][a]=t),s}async function F(e,t){if(await e.resolveValue("disableTEDLease",S.a))return!0;const a=await e.resolveValue("page.location",b.a),n=await e.resolveValue(D.VEHICLE({vin:t}),O.c),s=n.type;return Object(f.a)(a,Object(C.A)(s),n).isPurchase}async function U(e,t,a){const n=await F(a,t);if(e&&n){const a=h.a.getValueFromSessionStorage(`${t}.${E.v.INCENTIVES}`);return a&&a.loan?Object(r.a)({},e,{incentives:a.loan}):e}return e}const Y=Object(u.a)("carBuying",[{path:L.VIN,async resolve(e){let t=e.vin;const a={};return Object(d.c)()?Promise.resolve(a):Promise.resolve(h.a.getValueFromLocalStorage(t)||a)}},{path:L.PROFILE,resolve:()=>Object(d.c)()?Promise.resolve(void 0):Promise.resolve(h.a.getValueFromSessionStorage(E.v.PROFILE)),update:e=>Object(d.c)()?Promise.resolve(void 0):(h.a.setValueToSessionStorage(E.v.PROFILE,e),Promise.resolve(e))},{path:L.DIGITAL_RETAIL_OFFERS},{path:L.CALCULATED_OFFER,async resolve(e,t){let a=e.vin;if(Object(d.c)())return Promise.resolve(void 0);return U(h.a.getValueFromLocalStorage(`${a}.${E.v.CALCULATED_OFFER}`)||null,a,t)},async update(e,t,a){let n=t.vin;return Object(d.c)()?Promise.resolve(void 0):(h.a.setValueToLocalStorage(`${n}.${E.v.CALCULATED_OFFER}`,e),U(e,n,a))}},{path:L.DISCLAIMERS,async resolve(e,t){let a=e.vin;try{let e=await t.resolveValue(`vins["${a}"].${E.v.CALCULATED_OFFER}`);if(await F(t,a))return E.t;if(!e){const n=(await t.resolveValue("data.idm.edmundsDeals",I.b,!1)).find(e=>{return e.vin===a});if(!n)return"";e=function(e){const t=e.salesTaxAmount,a=e.securityDeposit,n=e.numberOfMonths,s=e.mileage,r=e.downPayment,i=e.monthlyPayment,o=e.taxes,l=e.fees,c=e.totalFees,d=e.dueAtSigning,m=isFinite(c);let u=0,p=0;return m?u=l.find(e=>e.name===j.R):(u=l.reduce((e,t)=>{let a=t.amount;return t.capitalized?e:e+a},0),p=o.reduce((e,t)=>{let a=t.amount;return t.capitalized?e:e+a},0)),{annualMileage:s,downPayment:r,dueAtSigning:d,monthlyPayment:i,paymentWithTaxes:{securityDeposit:a,salesTaxAmount:t,sumOfNonCapitalizedFees:u,sumOfNonCapitalizedTaxes:p,showDetailedTaxesAndFees:m},term:n}}(n)}const n=M(a,e);return(await Object(p.b)(m.c,t).fetchJson(n)).disclaimerText}catch(e){return""}}},{path:L.ENGINE_SPECIFICATION,resolve(e,t){let a=e.vin;return t.resolveValue(`vin["${a}"]`,O.c).then(e=>{if(e&&e.vehicleInfo&&e.vehicleInfo.styleInfo){const a=`/vehicle/v3/styles?id=${e.vehicleInfo.styleInfo.styleId}&fields=engineCylinder,engineSize,attributeGroups.SPECIFICATIONS`;return Object(p.b)(m.c,t).fetchJson(a).then(e=>e.results[0]).catch(()=>({}))}return Promise.resolve({})})}},{path:L.ADD_ONS,async resolve(e,t){let a=e.vin;const n=await Promise.all([t.resolveValue(`vin["${a}"]`,O.c),t.resolveValue(`vins["${a}"].${E.v.CALCULATED_OFFER}`),t.resolveValue("id",T.d)]),r=Object(s.a)(n,3),i=r[0],o=r[1],l=r[2];if(!i||!i.dealerInfo||!o)return Promise.resolve([]);const c=o.term;return $({vehicle:i,isPurchase:await F(t,a),visitorId:l,term:c})}},{path:L.ADD_ONS_BY_TERM,async resolve(e,t){let a=e.vin,n=e.term;const r=await Promise.all([t.resolveValue(`vin["${a}"]`,O.c),t.resolveValue("id",T.d)]),i=Object(s.a)(r,2),o=i[0],l=i[1];return o&&o.dealerInfo&&n?$({vehicle:o,isPurchase:await F(t,a),visitorId:l,term:n}):Promise.resolve([])}},{path:L.SELECTED_ADD_ONS,resolve(e){let t=e.vin;const a=[];return Object(d.c)()?Promise.resolve(a):Promise.resolve(h.a.getValueFromLocalStorage(`${t}.${E.v.SELECTED_ADD_ONS}`)||a)},update(e,t){let a=t.vin;return Object(d.c)()?Promise.resolve(void 0):(h.a.setValueToLocalStorage(`${a}.${E.v.SELECTED_ADD_ONS}`,e),Promise.resolve(e))}},{path:L.TOTAL_MONTHLY_PAYMENT,resolve(e){let t=e.vin;return Object(d.c)()?Promise.resolve(null):Promise.resolve(h.a.getValueFromLocalStorage(`${t}.${E.v.TOTAL_MONTHLY_PAYMENT}`)||null)},update(e,t){let a=t.vin;return Object(d.c)()?Promise.resolve(null):(h.a.setValueToLocalStorage(`${a}.${E.v.TOTAL_MONTHLY_PAYMENT}`,e),Promise.resolve(e))}},{path:L.LAST_VISITED_STEP,async resolve(e){let t=e.vin;return Object(d.c)()?Promise.resolve(void 0):h.a.getValueFromLocalStorage(`${t}.${E.v.LAST_VISITED_STEP}`)||null},async update(e,t){let a=t.vin;return Object(d.c)()?Promise.resolve(void 0):(h.a.setValueToLocalStorage(`${a}.${E.v.LAST_VISITED_STEP}`,e),Promise.resolve(e))}},{path:L.VISITED_TAB,resolve(e){let t=e.vin;const a=h.a.getValueFromLocalStorage(`${t}.${E.v.VISITED_TAB}`);return Promise.resolve(a)},update(e,t){let a=t.vin;return Object(d.c)()?Promise.resolve(null):(h.a.setValueToLocalStorage(`${a}.${E.v.VISITED_TAB}`,e),Promise.resolve(e))}},{path:L.MAKES,resolve:(e,t)=>Object(p.b)(m.c,t).fetchJson("/inventory/v5/aggregate?dealerInfo.productFeatures.onlineLeaseEligible=true&dealerInfo.productFeatures.ppInventory=true&type=NEW&top=200&by=vehicleInfo.styleInfo.make").then(e=>(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return o()(e,(e,n,s)=>Object(r.a)({},e,V(s,t,a)),{})})(e["vehicleInfo.styleInfo.make"])).catch(()=>({}))},{path:L.MAKES_MODELS,async resolve(e,t){let a=e.makeSlug;try{const e=await Promise.all([t.resolveValue("location",T.d),Object(N.b)(t)]),n=Object(s.a)(e,2),r=n[0].zipCode,i=n[1],o=`/car-buying/v1/makes/${a}/models/lease-eligible?zip=${r}`;return(await Object(p.b)(m.c,t).fetchJson(o,i)).models}catch(e){return[]}}},{path:L.CURATED_MAKES,async resolve(e,t){try{const e=await Promise.all([t.resolveValue("location",T.d),Object(N.b)(t)]),a=Object(s.a)(e,2),n=a[0].zipCode,r=a[1],i=`/car-buying/v1/makes/lease-eligible?zip=${n}`;return(await Object(p.b)(m.c,t).fetchJson(i,r)).makes}catch(e){return}}},{path:L.CURATED_BODY_TYPES,async resolve(e,t){try{const e=await Promise.all([t.resolveValue("location",T.d),Object(N.b)(t)]),a=Object(s.a)(e,2),n=a[0].zipCode,r=a[1],i=`/car-buying/v1/vehicle-categories/types/lease-eligible?zip=${n}`;return(await Object(p.b)(m.c,t).fetchJson(i,r)).vehicleCategoryTypes}catch(e){return[]}}},{path:L.CURATED_LEASE_DEALS_BY_BODY_TYPE_AND_PAGE,async resolve(e,t){let a=e.bodyType,n=e.page;try{const e=(await t.resolveValue("location",T.d)).zipCode,s=await async function(e,t,a){const n=Object(r.a)({sort:"payment"},a),s=await Object(N.b)(e),i=`/car-buying/v1/vehicle-categories/types/${t}/curated-deals?${Object(y.e)(n)}`;return Object(p.b)(m.c,e).fetchJson(i,s)}(t,a,{zip:e,pagesize:E.i,pagenum:n}),i=s.totalCount,o=s.curatedDeals;return t.updateValue(D.CURATED_LEASE_DEALS_BY_BODY_TYPE_COUNT({bodyType:a}),i),o}catch(e){return[]}}},{path:L.CURATED_LEASE_DEALS_BY_BODY_TYPE_COUNT},{path:L.LEASE_OFFERS_FULL_TOTAL_NUMBER,async resolve(e,t){const a=await t.resolveValue(L.CURATED_MAKES,Y);return a&&a.reduce((e,t)=>e+t.inventoryCount,0)}},{path:L.LEASE_DEAL_MIN_MONTHLY_PAYMENT,async resolve(e,t){let a=e.makeSlug,n=e.modelSlug;try{const e=`/inventory/v5/aggregate?byminmax=prices.estimateLeasePromise.monthlyPayment&make=${a}&model=${n}&zip=${(await t.resolveValue("location",T.d)).zipCode}`;return(await Object(p.b)(m.c,t).fetchJson(e))["min_prices.estimateLeasePromise.monthlyPayment"]}catch(e){return}}},{path:L.DEALER_MAPPING,async resolve(e,t){let a=e.vin;try{const e=`/dealer/v5/franchise/${await t.resolveValue(`vin["${a}"].dealerInfo.franchiseId`,O.c)}`,n=await Object(p.b)(m.c,t).fetchJson(e),s=c()(n,"productFeatures.digitalRetail.credit",{}),r=s.id,i=s.provider;return{leaseLite:"paid"!==c()(n,"productFeatures.digitalRetail.lease.program"),mdocaId:"RouteOne"===i?r:null,routeOneDealerId:c()(n,"productFeatures.digitalRetail.payment.id"),addOns:c()(n,"productFeatures.digitalRetail.lease.addOns")}}catch(e){return{}}}},{path:L.RECEIPT_ERROR},{path:L.PHOTO_URL,async resolve(e,t){let a=e.vin;const n=await t.resolveValue(`vin["${a}"]`,O.c),s=await t.resolveValue(Object(w.i)(n),w.b),r=n.vehicleInfo,i=c()(r,"photo.photoUrls.defaultPhoto.largePhotoCount",0);return Object(k.c)(a,i,s,k.b,null).photoUrls[0]}},{path:L.HIDE_INTERSTITIAL,async resolve(e,t){const a=await t.resolveValue(_.a,S.a);return Object(d.c)()?a||Promise.resolve(void 0):a||Promise.resolve(h.a.getValueFromLocalStorage(E.v.HIDE_INTERSTITIAL)||!1)},update:e=>(h.a.setValueToLocalStorage(E.v.HIDE_INTERSTITIAL,e),Promise.resolve(e))},{path:L.HIDE_INTERSTITIAL_PER_SESSION,async resolve(e){let t=e.vin;return Object(d.c)()?Promise.resolve(void 0):Promise.resolve(h.a.getValueFromSessionStorage(`${t}.${E.v.HIDE_INTERSTITIAL_PER_SESSION}`)||!1)},update(e){let t=e.vin,a=e.value;return h.a.setValueToSessionStorage(`${t}.${E.v.HIDE_INTERSTITIAL_PER_SESSION}`,a),Promise.resolve(a)}},{path:L.DELIGHTED_SURVEY_COMPLETED,resolve:async()=>Object(d.c)()?Promise.resolve(void 0):Promise.resolve(h.a.getValueFromLocalStorage(E.v.DELIGHTED_SURVEY_COMPLETED)||!1),update:e=>(h.a.setValueToLocalStorage(E.v.DELIGHTED_SURVEY_COMPLETED,e),Promise.resolve(e))},{path:L.SELECTED_LOAN_INCENTIVES,async resolve(e){let t=e.vin;return Object(d.c)()?Promise.resolve(void 0):Promise.resolve(h.a.getValueFromSessionStorage(`${t}.${E.v.INCENTIVES}.loan`)||null)},update(e){let t=e.vin;const a=e.incentives.map(e=>{let t=e.rebateAmount,a=e.amount,s=e.endDate,i=e.name,o=e.id,l=Object(n.a)(e,["rebateAmount","amount","endDate","name","id"]);return Object(r.a)({cash:t||a,expirationDate:s,programName:v.c[i]||i,incentiveId:o,id:o},l)});return h.a.setValueToSessionStorage(`${t}.${E.v.INCENTIVES}.loan`,a),Promise.resolve(a)}},{path:L.SELECTED_LEASE_INCENTIVES},{path:L.SELECTED_INCENTIVES,resolve(e){let t=e.vin;return Object(d.c)()?Promise.resolve(null):Promise.resolve(h.a.getValueFromSessionStorage(`${t}.${E.v.INCENTIVES}`)||null)},update(e,t){let a=t.vin;return Object(d.c)()?Promise.resolve(null):(h.a.setValueToSessionStorage(`${a}.${E.v.INCENTIVES}`,e),Promise.resolve(e))}}])},"./data/models/consumer-reviews.js":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),r=a("../node_modules/lodash/isString.js"),i=a.n(r),o=a("../node_modules/lodash/get.js"),l=a.n(o),c=a("../node_modules/prop-types/index.js"),d=a.n(c),m=a("./data/graphql/graphql-client.js"),u=a("./data/luckdragon/segment.js"),p=a("./data/api/api-client.js"),h=a("./data/models/vehicle.js"),g=a("./data/api/api-metrics.js"),b=a("./site-modules/shared/utils/nice-name.js");function v(e){if(!e)return null;if(!e.totalCount)return e;const t=e.oneStarRating,a=e.twoStarRating,n=e.threeStarRating,r=e.fourStarRating,i=e.fiveStarRating,o=e.totalCount,l=[t,a,n,r,i].map(e=>e/o*100),c=l.map(Math.trunc),d=l.map((e,t)=>e-c[t]),m=d.concat().sort((e,t)=>t-e);for(let e=0,t=100-c.reduce((e,t)=>e+t);e<t;e+=1){const t=d.indexOf(m[e]);c[t]+=1}return Object(s.a)({},e,{percents:c.reverse()})}function f(e){if(!e)return null;if(!e.totalCount)return e;const t=(1*e.oneStarRating+2*e.twoStarRating+3*e.threeStarRating+4*e.fourStarRating+5*e.fiveStarRating)/e.totalCount;return Object(s.a)({},e,{averageUserRating:t})}var E=a("../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");const y=["age","height","weight","kidsUnderTwelve","milesPerYear","drivingTerrain"],_=["performanceRating","comfortRating","interiorRating","safetyRating","technologyRating","reliabilityRating","valueRating"];var C=a("./site-modules/shared/utils/storage.js");const k={getLocalStorage(){return this.localStorage||(this.localStorage=new C.a("localStorage")),this.localStorage},isReviewRated(e){return(this.getLocalStorage().get("ratedConsumerReviews")||[]).includes(e)},markReviewRated(e){const t=this.getLocalStorage().get("ratedConsumerReviews")||[];t.includes(e)||(t.push(e),this.getLocalStorage().set("ratedConsumerReviews",t))}};var N=a("./utils/isomorphic-logger.js"),j=a("./data/models/visitor.js");a.d(t,"k",function(){return S}),a.d(t,"m",function(){return I}),a.d(t,"l",function(){return w}),a.d(t,"i",function(){return x}),a.d(t,"f",function(){return A}),a.d(t,"g",function(){return R}),a.d(t,"j",function(){return P}),a.d(t,"h",function(){return L}),a.d(t,"e",function(){return D}),a.d(t,"a",function(){return Y}),a.d(t,"b",function(){return B}),a.d(t,"d",function(){return H}),a.d(t,"c",function(){return G});const O="/vehiclereviews/v2/thumbsup/",T="/vehiclereviews/v2/thumbsdown/";const S=[5,10,50],I=[{name:"Most Helpful",value:"confidence:desc"},{name:"Most Recent",value:"created:desc"},{name:"Highest Rating",value:"userRating:desc"},{name:"Lowest Rating",value:"userRating:asc"}],w=[{value:0,label:"All ratings"},{value:5,label:"5 stars"},{value:4,label:"4 stars"},{value:3,label:"3 stars"},{value:2,label:"2 stars"},{value:1,label:"1 star"}],x=I[0].value,A=1,R=5,P=0,L=0,D={sorting:x,pagenum:A,pagesize:R,rating:L,aspect:null},$="SPAN",M=8,V=d.a.shape({styleId:d.a.oneOfType([d.a.string,d.a.number]),styleName:d.a.string,reviewCount:d.a.number}),F=d.a.shape({thumbsUp:d.a.number,thumbsDown:d.a.number}),U=d.a.shape({id:d.a.string,styleId:d.a.string,styleName:d.a.string,title:d.a.string,text:d.a.string,createTime:d.a.string,updateTime:d.a.string,author:d.a.shape({authorName:d.a.string}),thumbsUpDownCounter:F,userRating:d.a.number,inferences:d.a.arrayOf(d.a.shape({span:d.a.shape({beginning:d.a.number,ending:d.a.number})}))}),Y=d.a.shape({aspectDisplayName:d.a.string,aspectNiceId:d.a.string,reviewDistribution:d.a.shape({total:d.a.number}),spanDistribution:d.a.shape({positive:d.a.number,negative:d.a.number})}),B={Review:U,Style:V,Thumbs:F,Styles:d.a.objectOf(d.a.arrayOf(V)),ReviewsFilter:d.a.shape({sorting:d.a.string,pagesize:d.a.number,pagenum:d.a.number,aspect:Y}),VehicleFilter:d.a.shape({make:d.a.string.isRequired,model:d.a.string.isRequired,year:d.a.string.isRequired,submodel:d.a.string,styleId:d.a.number}),AverageRating:d.a.shape({averageRating:d.a.number,reviewsCount:d.a.number}),ReviewContent:d.a.shape({averageUserRating:d.a.number,results:d.a.arrayOf(U).isRequired,totalNumber:d.a.number,totalPages:d.a.number}),RatingsSummary:d.a.shape({averageRating:d.a.number,reviewsCount:d.a.number}),RatingsCount:d.a.shape({oneStarRating:d.a.number.isRequired,twoStarRating:d.a.number.isRequired,threeStarRating:d.a.number.isRequired,fourStarRating:d.a.number.isRequired,fiveStarRating:d.a.number.isRequired,totalCount:d.a.number.isRequired,averageUserRating:d.a.number,percents:d.a.arrayOf(d.a.number)})};function W(e){return`makes["${e.make}"].models["${e.model}"].submodels["${e.submodel}"].years["${e.year}"].consumerReviews.reviewContent[${e.pageNum}]`}function z(e){return`makes["${e.make}"].models["${e.model}"].years["${e.year}"].consumerReviews.ratings.count`}function q(e){return`makes["${e.make}"].models["${e.model}"].submodels["${e.submodel}"].years["${e.year}"].consumerReviews.ratings.count`}const H={buildLatestYearSummaryPath:function(e){return`makes["${e.make}"].models["${e.model}"].latestYear.consumerReviews.ratings.average`},buildConsumerReviewsAverageRating:function(e){let t=e.make,a=e.model,n=e.year;return`makes["${Object(b.b)(t)}"].models["${Object(b.b)(a)}"].years["${n}"].consumerReviews.ratings.average`},buildConsumerReviewsPath:W,buildConsumerReviewsPathFromSubmodel:function(e){return W({make:e.make.slug,model:e.model.slug,submodel:e.submodels.slug,year:e.year,pageNum:1})},buildConsumerReviewsRatingsCountPathFromParams:function(e){let t=e.make,a=e.model,n=e.submodel,s=e.year;return n?q({make:t,model:a,submodel:n,year:s}):z({make:t,model:a,year:s})},buildConsumerReviewsRatingsCountPath:z,buildConsumerReviewsRatingsCountPathFromSubmodel:function(e){return z({make:e.make.slug,model:e.model.slug,year:e.year})},buildConsumerReviewsRatingsCountPathFromVehicle:function(e){const t=l()(e,"make.slug"),a=l()(e,"model.slug"),n=l()(e,"year");return t&&a&&n?z({make:t,model:a,year:n}):""},buildConsumerReviewsRatingsCountPathByStyleId:function(e){return`style["${e}"].ratings.count`},buildSubmodelConsumerReviewsRatingsCountPath:q,buildSubmodelConsumerReviewsRatingsCountPathFromVehicle:function(e){const t=l()(e,"make.slug"),a=l()(e,"model.slug"),n=l()(e,"submodels.slug"),s=l()(e,"year");return t&&a&&s?q({make:t,model:a,submodel:n,year:s}):""},buildConsumerReviewsAspectsPath:function(){return"aspects"},buildThumbsPath:function(e){return`thumbs["${e}"]`},getConsumerReviewsFilterPath:function(){return"reviewsFilter"},getConsumerReviewsPath:function(){return"consumerReviews"},getVehicleFilterPath:function(){return"vehicleFilter"},getStylesPath:function(){return"stylesList"},getCreateAndUpdateReviewIdPath:function(){return"writeReview.reviewId"}},G=Object(u.a)("consumerReviews",[{path:'makes["{make}"].models["{model}"].submodels["{submodel}"].years["{year}"].consumerReviews.reviewContent[{pageNum}]',resolve(e,t){const a=`/vehiclereviews/v3/makes/${e.make}/models/${e.model}/submodels/${e.submodel}/years/${e.year}${e.pageNum&&`?pageNum=${e.pageNum}`}`;return Object(g.b)(p.c,t).fetchJson(a).then(e=>e)}},{path:'makes["{makeSlug}"].models["{modelSlug}"].years["{year}"].consumerReviews.ratings.average',resolve(e,t){const a=`/vehiclereviews/v3/${e.makeSlug}/${e.modelSlug}/${e.year}/ratings/average?fmt=graph`;return Object(g.b)(p.c,t).fetchJson(a).then(e=>{return e.results})}},{path:'makes["{make}"].models["{model}"].latestYear.consumerReviews.ratings.average',resolve(e,t){const a=e.make,n=e.model;let s=null;return t.resolveValue(`makes["${a}"].models["${n}"].latestNonPreprodVehicle`,h.e).then(e=>e&&e.ref&&e.ref.year?(s=e.ref.year,t.resolveValue(`makes["${a}"].models["${n}"].years["${s}"].consumerReviews.ratings.average`).then(e=>e?{ref:{$ref:`#/makes/${a}/models/${n}/years/${s}/consumerReviews/ratings/average`}}:{})):{})}},{path:'style["{styleId}"].ratings.count',resolve(e,t){const a=`/vehiclereviews/v3/style/${e.styleId}/ratings/count`;return Object(g.b)(p.c,t).fetchJson(a).then(e=>f(e)).then(e=>v(e))}},{path:'makes["{make}"].models["{model}"].years["{year}"].consumerReviews.ratings.count',resolve(e,t){const a=`/vehiclereviews/v3/${e.make}/${e.model}/${e.year}/ratings/count`;return Object(g.b)(p.c,t).fetchJson(a).then(e=>f(e)).then(e=>v(e))}},{path:'makes["{make}"].models["{model}"].submodels["{submodel}"].years["{year}"].consumerReviews.ratings.count',resolve(e,t){const a=`/vehiclereviews/v3/makes/${e.make}/models/${e.model}/submodels/${e.submodel}/years/${e.year}/ratings`;return Object(g.b)(p.c,t).fetchJson(a).then(e=>f(e)).then(e=>v(e))}},{path:"consumerReviews",async resolve(e,t){const a=await t.resolveValue("vehicleFilter");if(!a)return t.abort();const n=a.make,s=a.model,r=a.submodel,i=a.styleId,o=a.year,c=await t.resolveValue("reviewsFilter"),d=c.sorting,u=c.pagenum,h=c.pagesize,b=c.aspect,v=c.rating,f=c.polarity;if(b)return function(e,t,a){const n=e.make,s=e.model,r=e.submodel,i=e.year,o=t.pagenum,c=t.pagesize,d=t.aspect,u=t.rating,p=t.polarity;let h=M;S.includes(c)&&(h=c);const b=l()(d,"aspectNiceId",null);return Object(g.b)(m.a,a).query({kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"make"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"model"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"submodel"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"submodelExists"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"rating"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"year"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"aspectNiceId"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pageNum"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pageSize"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"inferenceLevelFilter"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"InferenceLevelFilter"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"polarity"}},type:{kind:"NamedType",name:{kind:"Name",value:"PolarityFilter"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allVehicles"},arguments:[{kind:"Argument",name:{kind:"Name",value:"makeSlug"},value:{kind:"Variable",name:{kind:"Name",value:"make"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"models"},arguments:[{kind:"Argument",name:{kind:"Name",value:"modelSlug"},value:{kind:"Variable",name:{kind:"Name",value:"model"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"modelYears"},arguments:[{kind:"Argument",name:{kind:"Name",value:"year"},value:{kind:"Variable",name:{kind:"Name",value:"year"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"submodels"},arguments:[{kind:"Argument",name:{kind:"Name",value:"niceId"},value:{kind:"Variable",name:{kind:"Name",value:"submodel"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"submodelExists"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"vehicleReviews"},arguments:[{kind:"Argument",name:{kind:"Name",value:"aspectNiceId"},value:{kind:"Variable",name:{kind:"Name",value:"aspectNiceId"}}},{kind:"Argument",name:{kind:"Name",value:"userRating"},value:{kind:"Variable",name:{kind:"Name",value:"rating"}}},{kind:"Argument",name:{kind:"Name",value:"aspectPolarity"},value:{kind:"Variable",name:{kind:"Name",value:"polarity"}}},{kind:"Argument",name:{kind:"Name",value:"inferenceLevelFilter"},value:{kind:"Variable",name:{kind:"Name",value:"inferenceLevelFilter"}}},{kind:"Argument",name:{kind:"Name",value:"page"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"pageNum"},value:{kind:"Variable",name:{kind:"Name",value:"pageNum"}}},{kind:"ObjectField",name:{kind:"Name",value:"pageSize"},value:{kind:"Variable",name:{kind:"Name",value:"pageSize"}}}]}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"created"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"author"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"authorName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"style"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"subratings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"performance"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"safety"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"comfort"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"technology"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"interior"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reliability"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"thumbsUp"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"thumbsDown"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userRating"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"inferences"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"span"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"beginning"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ending"},arguments:[],directives:[]}]}}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"vehicleReviews"},arguments:[{kind:"Argument",name:{kind:"Name",value:"aspectNiceId"},value:{kind:"Variable",name:{kind:"Name",value:"aspectNiceId"}}},{kind:"Argument",name:{kind:"Name",value:"userRating"},value:{kind:"Variable",name:{kind:"Name",value:"rating"}}},{kind:"Argument",name:{kind:"Name",value:"aspectPolarity"},value:{kind:"Variable",name:{kind:"Name",value:"polarity"}}},{kind:"Argument",name:{kind:"Name",value:"inferenceLevelFilter"},value:{kind:"Variable",name:{kind:"Name",value:"inferenceLevelFilter"}}},{kind:"Argument",name:{kind:"Name",value:"page"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"pageNum"},value:{kind:"Variable",name:{kind:"Name",value:"pageNum"}}},{kind:"ObjectField",name:{kind:"Name",value:"pageSize"},value:{kind:"Variable",name:{kind:"Name",value:"pageSize"}}}]}}],directives:[{kind:"Directive",name:{kind:"Name",value:"skip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"submodelExists"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"title"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"text"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"created"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"author"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"authorName"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"style"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"subratings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"performance"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"safety"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"comfort"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"value"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"technology"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"interior"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reliability"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"thumbsUp"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"thumbsDown"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"userRating"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"inferences"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"span"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"beginning"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"ending"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:2880,source:{body:"\n        query(\n          $make: String!\n          $model: String!\n          $submodel: String\n          $submodelExists: Boolean!\n          $rating: Int\n          $year: Int!\n          $aspectNiceId: String!\n          $pageNum: Int!\n          $pageSize: Int!\n          $inferenceLevelFilter: InferenceLevelFilter!\n          $polarity: PolarityFilter\n        ) {\n          allVehicles(makeSlug: $make) {\n            models(modelSlug: $model) {\n              modelYears(year: $year) {\n                submodels(niceId: $submodel) @include(if: $submodelExists) {\n                  vehicleReviews(\n                    aspectNiceId: $aspectNiceId\n                    userRating: $rating\n                    aspectPolarity: $polarity\n                    inferenceLevelFilter: $inferenceLevelFilter\n                    page: { pageNum: $pageNum, pageSize: $pageSize }\n                  ) {\n                    id\n                    title\n                    text\n                    created\n                    author {\n                      authorName\n                    }\n                    style {\n                      name\n                    }\n                    subratings {\n                      performance\n                      safety\n                      comfort\n                      value\n                      technology\n                      interior\n                      reliability\n                    }\n                    thumbsUp\n                    thumbsDown\n                    userRating\n                    inferences {\n                      span {\n                        beginning\n                        ending\n                      }\n                    }\n                  }\n                }\n                vehicleReviews(\n                  aspectNiceId: $aspectNiceId\n                  userRating: $rating\n                  aspectPolarity: $polarity\n                  inferenceLevelFilter: $inferenceLevelFilter\n                  page: { pageNum: $pageNum, pageSize: $pageSize }\n                ) @skip(if: $submodelExists) {\n                  id\n                  title\n                  text\n                  created\n                  author {\n                    authorName\n                  }\n                  style {\n                    name\n                  }\n                  subratings {\n                    performance\n                    safety\n                    comfort\n                    value\n                    technology\n                    interior\n                    reliability\n                  }\n                  thumbsUp\n                  thumbsDown\n                  userRating\n                  inferences {\n                    span {\n                      beginning\n                      ending\n                    }\n                  }\n                }\n              }\n            }\n          }\n        }\n      ",name:"GraphQL request",locationOffset:{line:1,column:1}}}},{make:n,model:s,submodel:r,submodelExists:!!r,year:parseInt(i,10),aspectNiceId:b,rating:u,polarity:p,inferenceLevelFilter:$,pageNum:o,pageSize:h}).then(e=>r?{results:l()(e,"allVehicles[0].models[0].modelYears[0].submodels[0].vehicleReviews",[])}:{results:l()(e,"allVehicles[0].models[0].modelYears[0].vehicleReviews",[])})}(a,{pagenum:u,pagesize:h,aspect:b,rating:v,polarity:f},t);let E="/vehiclereviews/v3/";return E+=i&&i!==P?`style/${i}/`:`makes/${n}/models/${s}/${r?`submodels/${r}/`:""}years/${o}/`,E+=v>0?`?pageSize=${h}&pageNum=${u}&sortBy=${d}&userRating=${v}`:`?pageSize=${h}&pageNum=${u}&sortBy=${d}`,Object(g.b)(p.c,t).fetchJson(E).then(e=>e)}},{path:"stylesList",async resolve(e,t){const a=await t.resolveValue("vehicleFilter"),n=`/coreresearch/v1/vehiclereviews/makes/${a.make}/models/${a.model}/years/${a.year}/styles`;return Object(g.b)(p.c,t).fetchJson(n).then(e=>e&&e.results)}},{path:"reviewsFilter",resolve:()=>Promise.resolve(D),update:(e,t,a)=>a.resolveValue("reviewsFilter").then(t=>Object(s.a)({},t,e))},{path:"vehicleFilter",update(e){let t=e.params;const a={make:t.make,model:t.model,year:t.year,styleId:t.styleId?parseInt(t.styleId,10):P};return t.submodel&&(a.submodel=t.submodel),Promise.resolve(a)}},{path:'thumbs["{reviewId}"]',resolve(e){let t=e.reviewId;return Promise.resolve(k.isReviewRated(t))},update(e,t,a){let n=t.reviewId;const s=function(e){let t=e.reviewId;return e.isHelpful?`${O}${t}`:`${T}${t}`}({reviewId:n,isHelpful:e});return Object(g.b)(p.c,a).fetchJson(s,{method:"POST"}).then(()=>(k.markReviewRated(n),!0)).catch(e=>(Object(N.a)("error",`Post helpful error - ${e}`),null))}},{path:"aspects",async resolve(e,t){const a=await t.resolveValue("vehicleFilter");if(!a)return t.abort();const n=a.make,s=a.model,r=a.submodel,i=a.year;return Object(g.b)(m.a,t).query({kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"make"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"model"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"submodel"}},type:{kind:"NamedType",name:{kind:"Name",value:"String"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"submodelExists"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"year"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"inferenceLevelFilter"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"DistributionLevelFilter"}}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allVehicles"},arguments:[{kind:"Argument",name:{kind:"Name",value:"makeSlug"},value:{kind:"Variable",name:{kind:"Name",value:"make"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"models"},arguments:[{kind:"Argument",name:{kind:"Name",value:"modelSlug"},value:{kind:"Variable",name:{kind:"Name",value:"model"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"modelYears"},arguments:[{kind:"Argument",name:{kind:"Name",value:"year"},value:{kind:"Variable",name:{kind:"Name",value:"year"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"submodels"},arguments:[{kind:"Argument",name:{kind:"Name",value:"niceId"},value:{kind:"Variable",name:{kind:"Name",value:"submodel"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"submodelExists"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"aspectDistributions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"distributionLevelFilter"},value:{kind:"Variable",name:{kind:"Name",value:"inferenceLevelFilter"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"aspectDisplayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspectNiceId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reviewDistribution"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"spanDistribution"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"positive"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"negative"},arguments:[],directives:[]}]}}]}}]}},{kind:"Field",name:{kind:"Name",value:"aspectDistributions"},arguments:[{kind:"Argument",name:{kind:"Name",value:"distributionLevelFilter"},value:{kind:"Variable",name:{kind:"Name",value:"inferenceLevelFilter"}}}],directives:[{kind:"Directive",name:{kind:"Name",value:"skip"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"submodelExists"}}}]}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"aspectDisplayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"aspectNiceId"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"reviewDistribution"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"spanDistribution"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"positive"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"negative"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:1448,source:{body:"\n            query(\n              $make: String!\n              $model: String!\n              $submodel: String\n              $submodelExists: Boolean!\n              $year: Int!\n              $inferenceLevelFilter: DistributionLevelFilter!\n            ) {\n              allVehicles(makeSlug: $make) {\n                models(modelSlug: $model) {\n                  modelYears(year: $year) {\n                    submodels(niceId: $submodel) @include(if: $submodelExists) {\n                      aspectDistributions(distributionLevelFilter: $inferenceLevelFilter) {\n                        aspectDisplayName\n                        aspectNiceId\n                        reviewDistribution {\n                          total\n                        }\n                        spanDistribution {\n                          positive\n                          negative\n                        }\n                      }\n                    }\n                    aspectDistributions(distributionLevelFilter: $inferenceLevelFilter) @skip(if: $submodelExists) {\n                      aspectDisplayName\n                      aspectNiceId\n                      reviewDistribution {\n                        total\n                      }\n                      spanDistribution {\n                        positive\n                        negative\n                      }\n                    }\n                  }\n                }\n              }\n            }\n          ",name:"GraphQL request",locationOffset:{line:1,column:1}}}},{make:n,model:s,submodel:r,submodelExists:!!r,year:parseInt(i,10),inferenceLevelFilter:$}).then(e=>r?l()(e,"allVehicles[0].models[0].modelYears[0].submodels[0].aspectDistributions",null):l()(e,"allVehicles[0].models[0].modelYears[0].aspectDistributions",null))}},{path:"writeReview.reviewId",async update(e,t,a){if(i()(e))return Promise.resolve(e);const r=await Promise.all([a.resolveValue("session",j.d),a.resolveValue("id",j.d)]),o=Object(n.a)(r,2),l=o[0],c=o[1];return e.reviewId?Object(g.b)(p.c,a).fetchJson("/vehiclereviews/v3/update/",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(Object(s.a)({sessionId:l,visitorId:c},function(e){let t=e.reviewId,a=Object(E.a)(e,["reviewId"]);const n={id:t};return y.forEach(e=>{a[e]&&(n[e]=a[e])}),_.forEach(e=>{a[e]&&(n[`${e}Dto`]={[e]:a[e]})}),n}(e)))}).then(e=>{return e.id}).catch(e=>{throw Object(N.a)("error",`Update review error - ${e}`),new Error}):Object(g.b)(p.c,a).fetchJson("/vehiclereviews/v2/?venom_form=true",{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify(Object(s.a)({newReview:!0,sessionId:l,visitorId:c},e))}).then(e=>{return e.id}).catch(e=>{throw Object(N.a)("error",`Write new review error - ${e}`),new Error})}}])},"./data/models/core-research.js":function(e,t,a){"use strict";a.d(t,"a",function(){return d}),a.d(t,"c",function(){return m}),a.d(t,"b",function(){return u});var n=a("../node_modules/lodash/get.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("./data/luckdragon/segment.js"),l=a("./data/api/api-client.js"),c=a("./data/api/api-metrics.js");const d={SimilarVehicleCrossShop:i.a.shape({make:i.a.shape({name:i.a.string,slug:i.a.string}),model:i.a.shape({name:i.a.string,slug:i.a.string}),year:i.a.number,startPrice:i.a.number,consumerRating:i.a.shape({averageRating:i.a.number,reviewsCount:i.a.number})})};function m(e,t){return`modelLinkCodes["${e}"].pubState["${t?"used":"new"}"].similarVehicles`}const u=Object(o.a)("coreResearch",[{path:'modelLinkCodes["{modelLinkCode}"].pubState["{pubState}"].similarVehicles',resolve(e,t){const a=`/coreresearch/v1/similarvehicles/${e.modelLinkCode}/${e.pubState}/?pageSize=3&pageNum=1`;return Object(c.b)(l.c,t).fetchJson(a).then(e=>s()(e,"results")).catch(()=>({}))}}])},"./data/models/editorial-review.js":function(e,t,a){"use strict";a("../node_modules/core-js/modules/es6.regexp.replace.js");var n=a("../node_modules/prop-types/index.js"),s=a.n(n),r=a("./data/luckdragon/segment.js"),i=a("./data/cms/content.js");a("../node_modules/core-js/modules/es6.regexp.split.js"),a("../node_modules/core-js/modules/es6.regexp.search.js");var o=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),l=a("../node_modules/lodash/filter.js"),c=a.n(l),d=a("../node_modules/lodash/get.js"),m=a.n(d);const u={"what-is-it":"What is it?","why-does-it-matter":"Why does it matter?","what-does-it-compete-with":"What does it compete with?","edmunds-says":"Edmunds says"};function p(e){const t=e.hasChild("photo")?e.child("photo"):{};return t&&t.links&&t.links()||[]}function h(e,t){return p(e).reduce((e,a)=>(a&&t.test(a.rel)&&e.push(a),e),[])}function g(e,t){return e.hasChild(t)?e.child(t):Object(i.e)({})}function b(e,t,a){const n=e&&"function"==typeof e.metadata&&parseFloat(e.metadata(`${t}Rating${a}`).value()).toFixed(1);return isNaN(n)?void 0:n}function v(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return{[t]:{text:e&&"function"==typeof e.metadata&&(e.metadata(`${t}Text`).value()||void 0),rating:b(e,t,a)}}}function f(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};const n=!!t.children().length,s=`${a.year?`${a.year} `:""}${a.make?`${a.make} `:""}${a.model?`${a.model}`:""}`,r=e.child("first-content-media").links().map(e=>!e.title&&s?Object(o.a)({},e,{title:s}):e),i=n?t.child("pre-prod-content-links").child("content-list"):e.child("first-content-links").child("content-list"),l=e.child("preprod-bullets").getAllMetadata(),c={label:e.metadata("releaseDateTitle").value(),value:e.metadata("releaseDate").value()},d=e.metadata("publishDate").value(),m=e.metadata("updatedDate").value(),p=e.metadata("subHeader").value(),h={label:e.metadata("priceTitle").value(),value:e.metadata("price").value()},g={label:l.bulletTitle||"",value:Object.keys(l).filter(e=>e.includes("bullet-")).sort((e,t)=>parseInt(e.replace("bullet-",""),10)-parseInt(t.replace("bullet-",""),10)).map(e=>l[e])},b=e.metadata("browserTitle").value(),v=e.metadata("metaDescription").value(),f={title:i.metadata("title").value(),moreLink:{name:i.metadata("view-more-title").value(),href:i.metadata("view-more-url").value()},links:i.children().map(e=>({name:e.metadata("item-title").value(),href:e.metadata("item-link").value(),date:e.metadata("publishDate").value()}))};return{hasPreProdContent:n,media:r,articles:n?function(e){return e.children().map(e=>e.metadata("htmlContent").value()?{title:u[e.id]||e.metadata("title").value(),content:e.metadata("htmlContent").value(),links:e.links()}:null).filter(e=>!!e)}(t):function(e){return e.child("first-articles").children().map(e=>{let t=null,a=[];return e.children().forEach(e=>{e.id.includes("-author")?t=e.child("author-info").getAllMetadata():e.id.includes("-content")&&(a=e.children().map(e=>{const t=e.id;return t.includes("-content")?{type:"text",content:e.content,title:e.metadata("title").value(),subTitle:e.metadata("subTitle").value()}:t.includes("-photos")?{type:"photos",links:e.links()}:t.includes("-video")?{type:"video",videoIds:{"youtube-videoid":e.metadata("youtube-videoid").value(),"brightcove-videoid":e.metadata("brightcove-videoid").value()}}:{}}))}),{author:t,content:a,publishDate:e.metadata("publishDate").value(),dateModified:e.metadata("dateModified").value(),metaDescription:e.metadata("metaDescription").value(),titleTag:e.metadata("titleTag").value()}})}(e),additionalLinks:f,releaseDate:c,price:h,bullets:g,browserTitle:b,metaDescription:v,articlePublishDate:d,articleUpdateDate:m,subHeader:p}}function E(e,t){if(e&&e.hasMetadata)return e.hasMetadata(t)?e.metadata(t).value():void 0}function y(e,t){return c()(Object.keys(e.getAllMetadata()),e=>-1!==e.search(t)).sort().reduce((t,a)=>`${t+e.metadata(a).value()};`,"")}function _(e){if(!Object.keys(e).length)return null;const t=Object(i.e)(e),a=m()(t,"vehicles[0]"),n=g(t,"review"),s=g(t,"ratings-overall"),r=g(t,"ratings-driving"),l=g(t,"ratings-comfort"),c=g(t,"ratings-interior"),d=g(t,"ratings-utility"),u=g(t,"ratings-technology"),_=g(t,"ratings-mpg"),C=g(t,"ratings-value"),k=g(t,"ratings-wildcard"),N=g(t,"misc"),j=g(t,"first-content"),O=function(e,t){return p(e).find(e=>e&&e.rel===t)}(t,"hero"),T=h(t,/^gallery_/),S=h(t,/^interiorGallery_/),I=E(n,"trimFeatures")||"",w=/^pros?\d*$/,x=/^cons?\d*$/,A=y(n,w)||y(t,w),R=y(n,x)||y(t,x),P=b(s,"overall","-ten")?"-ten":"",L={heroImage:O,galleryImages:T,interiorImages:S,isTenPointScale:!!P,reviewSubmodels:E(t,"reviewSubmodels"),reviewLink:"false"!==E(t,"reviewLink"),body:E(t,"body"),authorPath:E(n,"authorPath"),calloutQuote:E(n,"pullQuote"),edmundsSays:E(t,"edmundsSays"),introduction:E(t,"introduction"),review:E(t,"review"),powertrain:E(t,"powertrain"),safety:E(t,"safety"),summary:E(n,"summary"),summarySnippet:E(n,"summarySnippet"),trimFeatures:I,trimFeaturesBodySnippet:I.split("</p>")[0],trimFeaturesBody:I.split("</p>").slice(1).join("</p>"),trimFeaturesSnippet:E(n,"trimFeaturesSnippet"),trimTested:E(n,"trimTested"),weRecommend:E(n,"weRecommend"),goodCar:E(n,"goodCar"),whatsNew:E(N,"whatsNew")||E(t,"whatsNew"),ratings:Object(o.a)({},v(s,"overall",P),v(r,"acceleration",P),v(r,"brakes",P),v(r,"drivability",P),v(r,"handling",P),v(r,"offRoad",P),v(r,"steering",P),v(l,"comfort",P),v(l,"climateControl",P),v(l,"noiseVibration",P),v(l,"rideComfort",P),v(l,"seatComfort",P),v(c,"drivingPosition",P),v(c,"easeUse",P),v(c,"gettingInOut",P),v(c,"quality",P),v(c,"roominess",P),v(c,"visibility",P),v(c,"convertibletop",P),v(d,"cargoSpace",P),v(d,"childSafetySeat",P),v(d,"hauling",P),v(d,"smallItemStorage",P),v(d,"towing",P),v(d,"utility",P),v(u,"technology",P),v(u,"audioNav",P),v(u,"smartphone",P),v(u,"driverAids",P),v(u,"voiceControl",P),v(u,"mobileWeb",P),v(_,"mpg",P),v(C,"value",P),v(k,"wildcard",P),{driving:{text:E(r,"drivingText")||t.metadata("driving").value(),rating:b(r,"driving",P)},interior:{text:E(c,"interiorText")||t.metadata("interior").value(),rating:b(c,"interior",P)}}),pros:Object(i.g)(A),cons:Object(i.g)(R),safetyFeatures:function(e){if(!e)return[];const t=[];let a=1;for(;a<=3;){const n=e.metadata(`safetyTitle${a}`).value();n&&t.push({title:n,description:e.metadata(`safetyFeature${a}`).value()}),a+=1}return t}(N),firstContent:f(j,Object(i.e)({}),a)};return t.id&&(L.id=t.id),L}var C=a("./data/api/api-client.js"),k=a("./data/api/api-metrics.js"),N=a("./data/cms/fetch-content.js"),j=a("./site-modules/shared/utils/time-util.js"),O=a("./data/models/vehicle.js");a.d(t,"f",function(){return w}),a.d(t,"a",function(){return x}),a.d(t,"d",function(){return A}),a.d(t,"e",function(){return R}),a.d(t,"b",function(){return P}),a.d(t,"c",function(){return L}),a.d(t,"j",function(){return D}),a.d(t,"i",function(){return $}),a.d(t,"g",function(){return M}),a.d(t,"k",function(){return V}),a.d(t,"l",function(){return F}),a.d(t,"h",function(){return U});const T=Object(j.a)(),S=s.a.shape({author:s.a.string,captionTranscript:s.a.string,href:s.a.string,rel:s.a.string,title:s.a.string}),I=s.a.shape({text:s.a.string,rating:s.a.string}),w=s.a.arrayOf(s.a.shape({title:s.a.string,description:s.a.string})),x=s.a.shape({acceleration:I,audioNav:I,brakes:I,cargoSpace:I,childSafetySeat:I,climateControl:I,comfort:I,drivability:I,driverAids:I,driving:I,drivingPosition:I,easeUse:I,gettingInOut:I,handling:I,hauling:I,interior:I,mobileWeb:I,noiseVibration:I,offRoad:I,overall:I,quality:I,rideComfort:I,roominess:I,seatComfort:I,smallItemStorage:I,smartphone:I,steering:I,technology:I,towing:I,utility:I,visibility:I,voiceControl:I,mpg:I,value:I,wildcard:I}),A=s.a.oneOfType([s.a.shape({publishDate:s.a.string,dateModified:s.a.string,metaDescription:s.a.string,titleTag:s.a.string,author:s.a.shape({authorLink:s.a.string,authorName:s.a.string,authorTitle:s.a.string,photoPath:s.a.string}),content:s.a.arrayOf(s.a.oneOfType([s.a.shape({content:s.a.string,subTitle:s.a.string,title:s.a.string,type:s.a.string}),s.a.shape({type:s.a.string,links:s.a.arrayOf(s.a.shape({href:s.a.string,captionTranscript:s.a.string}))}),s.a.shape({type:s.a.string,videoIds:s.a.shape({"brightcove-videoid":s.a.string,"youtube-videoid":s.a.string})})]))}),s.a.shape({title:s.a.string,content:s.a.string,links:s.a.arrayOf(s.a.shape({href:s.a.string,title:s.a.string,captionTranscript:s.a.string}))})]),R=s.a.shape({articles:s.a.arrayOf(A),media:s.a.arrayOf(s.a.shape({href:s.a.string,rel:s.a.string})),additionalLinks:s.a.shape({title:s.a.string,moreLink:s.a.shape({name:s.a.string,href:s.a.string}),links:s.a.arrayOf(s.a.shape({name:s.a.string,href:s.a.string,date:s.a.string}))}),releaseDate:s.a.shape({label:s.a.string,value:s.a.string}),price:s.a.shape({label:s.a.string,value:s.a.string}),bullets:s.a.shape({label:s.a.string,value:s.a.arrayOf(s.a.string)}),hasPreProdContent:s.a.bool}),P={Author:s.a.shape({contentMetadata:s.a.shape({authorTitle:s.a.string,authorLink:s.a.string,aboutAuthor:s.a.string,authorName:s.a.string,photoPath:s.a.string})}),OverallRating:s.a.shape({rating:s.a.number}),MakeModel:s.a.shape({introduction:s.a.string,metaDescription:s.a.string}),EditorialReview:s.a.shape({galleryImages:s.a.arrayOf(S).required,heroImage:S,id:s.a.string,interiorImages:s.a.arrayOf(S).required,whatsNew:s.a.string,body:s.a.string,driving:s.a.string,edmundsSays:s.a.string,powertrain:s.a.string,review:s.a.string,introduction:s.a.string,safety:s.a.string,calloutQuote:s.a.string,summary:s.a.string,summarySnippet:s.a.string,trimFeatures:s.a.string,trimFeaturesSnippet:s.a.string,trimTested:s.a.string,weRecommend:s.a.string,goodCar:s.a.string,authorPath:s.a.string,ratings:x,pros:s.a.arrayOf(s.a.string),cons:s.a.arrayOf(s.a.string),safetyFeatures:w,firstContent:R}),SimilarVehicles:s.a.shape({links:s.a.array,contentMetadata:s.a.object,childEntries:s.a.array,vehicles:s.a.array}),VanillaComments:s.a.arrayOf(s.a.shape({Body:s.a.string,CommentID:s.a.number,DateUpdated:s.a.string,DateInserted:s.a.string,InsertName:s.a.string,InsertPhoto:s.a.string}))},L=Object(r.a)("editorialReview",[{path:'makes["{make}"].models["{model}"].years["{year}"].editorialReview.review',resolve(e,t){const a=e.make,n=e.model,s=e.year;let r=`${a}/${n}/${s}/review`;return s<2017&&(r=`/${a}/${n}/${s}/index`),Object(N.a)(r,t).then(e=>_(e)).catch(()=>null)}},{path:'makes["{make}"].models["{model}"].submodels["{submodel}"].years["{year}"].editorialReview.review',resolve(e,t){const a=e.make,n=e.model,s=e.submodel,r=e.year;return t.resolveValue(`makes["${a}"].models["${n}"].years["${r}"].editorialReview.review`).then(e=>{const i=(e&&e.reviewSubmodels?JSON.parse(e.reviewSubmodels.replace(/'/g,'"')):{})[s],o=`${a}/${n}/${r}/${i}`;return i?Object(N.a)(o,t).then(e=>_(e)).catch(()=>null):e||null})}},{path:'styles["{style}"].editorialReview.review',async resolve(e,t){const a=e.style,n=await t.resolveValue(`styles.${a}`,O.e),s=n.makeSlug,r=n.modelSlug,i=n.year;return t.resolveValue(`makes["${s}"].models["${r}"].years["${i}"].editorialReview.review`)}},{path:'makes["{make}"].models["{model}"].editorialReview',resolve(e,t){const a=e.make,n=e.model;return Object(N.a)(`${a}/${n}/index`,t).then(e=>(function(e){const t=Object(i.e)(e),a={};return t.hasMetadata("metaDescription")&&(a.metaDescription=t.metadata("metaDescription").value()),t.hasMetadata("Introduction")&&(a.introduction=t.metadata("Introduction").value()),a})(e))}},{path:'makes["{make}"].models["{model}"].latestYear.editorialReview.ratings.overall',resolve(e,t){const a=e.make,n=e.model;return t.resolveValue(`makes["${a}"].models["${n}"].latestNonPreprodVehicle`,O.e).then(e=>{if(e&&e.ref&&e.ref.year){const s=`/editorialreviews/v2/${a}/${n}/${e.ref.year}/ratings?&fmt=graph`;return Object(k.b)(C.c,t).fetchJson(s).then(e=>{return e.results})}return{}})}},{path:'styles["{style}"].editorialReview.ratings.overall',async resolve(e,t){const a=e.style,n=await t.resolveValue(`styles.${a}`,O.e),s=`/editorialreviews/v2/${n.makeSlug}/${n.modelSlug}/${n.year}/ratings?&fmt=graph`;return Object(k.b)(C.c,t).fetchJson(s).then(e=>e.results.rating)}},{path:'makes["{make}"].models["{model}"].years["{year}"].similarVehicles',resolve(e,t){const a=e.make,n=e.model,s=e.year;return Object(N.a)(`${a}/${n}/${s}/similar`,t).catch(()=>{})}},{path:'makes["{make}"].models["{model}"].years["{year}"].similarVehiclesForPreProd',resolve(e,t){const a=e.make,n=e.model,s=e.year;return Object(N.a)(`${a}/${n}/${s}/similar`,t).then(e=>e.id?e:Object(N.a)(`${a}/${n}/${T}/similar`,t)).catch(()=>{})}},{path:'makes["{make}"].models["{model}"].years["{year}"].editorialReview.author',resolve(e,t){const a=e.make,n=e.model,s=e.year;return t.resolveValue(`makes["${a}"].models["${n}"].years["${s}"].editorialReview.review`).then(e=>{const a=e&&e.authorPath;return a?Object(N.a)(a,t):null})}},{path:'makes["{make}"].models["{model}"].years["{year}"].preProdContent',resolve(e,t){const a=`${e.make}/${e.model}/${e.year}/review`;return Object(N.a)(a,t).then(e=>(function(e){if(!Object.keys(e).length)return null;const t=Object(i.e)(e),a=t.updated,n=t.published,s=E(t,"titleTag"),r=g(t,"first-content"),l=g(t,"pre-prod-content");return Object(o.a)({},f(r,l),{dateModified:a,publishDate:n,titleTag:s})})(e)).catch(()=>null)}},{path:'vanillaComments["{commentsId}"]',resolve(e,t){const a=`/v1/discussion.json?Discussion.ForeignID=${e.commentsId}`;return Object(k.b)(C.f,t).fetchJson(a).then(e=>{return e.Comments})}}]);function D(e){let t=e.make,a=e.model,n=e.submodel,s=e.year;return n?`${Object(O.F)({make:t,model:a,year:s,submodel:n})}.editorialReview.review`:`${Object(O.w)({make:t,model:a,year:s})}.editorialReview.review`}function $(e){return`makes["${e.make}"].models["${e.model}"].years["${e.year}"].preProdContent`}function M(e){return`makes["${e.make}"].models["${e.model}"].years["${e.year}"].editorialReview.author`}function V(e){return`makes["${e.make}"].models["${e.model}"].years["${e.year}"].similarVehicles`}function F(e){let t=e.params;return"pre_prod_core_page"===t.pageName?`makes["${(a=t).make}"].models["${a.model}"].years["${a.year}"].similarVehiclesForPreProd`:V(t);var a}function U(e){return M(e.params)}},"./data/models/inventory-aggregate.js":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),r=(a("../node_modules/lodash/fp/compose.js"),a("../node_modules/lodash/set.js")),i=a.n(r),o=a("../node_modules/lodash/minBy.js"),l=a.n(o),c=a("../node_modules/lodash/maxBy.js"),d=a.n(c),m=a("../node_modules/lodash/map.js"),u=a.n(m),p=a("../node_modules/lodash/flow.js"),h=a.n(p),g=a("../node_modules/lodash/get.js"),b=a.n(g),v=a("../node_modules/lodash/values.js"),f=a.n(v),E=a("../node_modules/lodash/head.js"),y=a.n(E),_=a("../node_modules/prop-types/index.js"),C=a.n(_),k=a("./data/api/api-client.js"),N=a("./data/luckdragon/segment.js"),j=a("./data/api/api-metrics.js"),O=(a("./data/luckdragon/model.js"),a("./constants/inventory-types.js"));a("./site-modules/shared/utils/nice-name.js");var T=a("./data/models/page.js"),S=a("./data/models/visitor.js"),I=a("./data/models/inventory.js"),w=a("./data/models/vehicle.js"),x=a("./data/models/profile/profile-image-helper.js");a.d(t,"a",function(){return X}),a.d(t,"b",function(){return J}),a.d(t,"c",function(){return ee}),a.d(t,"d",function(){return te}),a.d(t,"e",function(){return ae});const A=h()(f.a,y.a),R="default",P=9,L=(e,t)=>{const a=b()(e,t);return Number.isFinite(a)?a:null},D=e=>Object.keys(e).map(t=>({value:Number(t),number:e[t]}));const $=C.a.shape({min:C.a.number,max:C.a.number}),M=C.a.shape({cfg:C.a.arrayOf(C.a.shape({formattedName:C.a.string,name:C.a.string}))}),V=C.a.shape({bodyType:C.a.string,trim:C.a.string,trimSlug:C.a.string,year:C.a.number,styleId:C.a.string,model:C.a.string,make:C.a.string}),F=C.a.shape({displayPrice:C.a.number,guaranteedPrice:C.a.number,loan:C.a.shape({payment:C.a.number})}),U=C.a.shape({inventoryCount:C.a.number,dealerCount:C.a.number,colorExteriorGenericNameCount:C.a.number,highlightedCgfs:C.a.arrayOf(C.a.shape({formattedName:C.a.string,name:C.a.string}))}),Y=C.a.shape({prices:F,trimAggregateInfo:U,vehicleInfo:C.a.shape({styleInfo:V,partsInfo:M}),vin:C.a.string}),B=(C.a.shape({inventories:C.a.shape({totalNumber:C.a.number,totalPages:C.a.number,results:C.a.arrayOf(Y)})}),C.a.shape({bodyTypes:C.a.objectOf(C.a.shape({count:C.a.number,bodyType:C.a.objectOf(C.a.number)}))}),C.a.shape({name:C.a.string,niceName:C.a.string})),W=C.a.shape({name:C.a.string,niceName:C.a.string}),z=(C.a.shape({make:B,model:W,modelYear:C.a.shape({year:C.a.number}),zipCode:C.a.string,radius:C.a.number,bodyType:C.a.string}),C.a.arrayOf(C.a.string),C.a.shape({inventoryCount:C.a.number,minRating:C.a.number,maxRating:C.a.number,minPrice:C.a.number,maxSavings:C.a.number,minMileage:C.a.number,minLoan:C.a.number,trims:C.a.arrayOf(C.a.shape({maxMileage:C.a.number,maxPrice:C.a.number,maxLoan:C.a.number,maxLease:C.a.number,minMileage:C.a.number,minPrice:C.a.number,minLoan:C.a.number,minLease:C.a.number,name:C.a.string})),priceRanges:C.a.objectOf($)})),q={count:C.a.number,name:C.a.string,properties:C.a.shape({rgb:C.a.string})},H=C.a.shape(q),G=C.a.arrayOf(H),K={count:C.a.number,name:C.a.string,value:C.a.string},Z=C.a.shape(K),Q=C.a.arrayOf(Z),X={MMYSubmodelTypeAmounts:z,MMYSubmodelFeaturesColors:C.a.shape({colors:G,features:Q}),MMYSubmodelFeatures:Q,MMYSubmodelColors:G,MMYSubmodelColorObj:q,MMYSubmodelFeatureObj:K,StyleIdTrimInventoryCount:C.a.shape({trim:C.a.string,inventoryCount:C.a.number})},J=(C.a.shape({count:C.a.number,year:C.a.string,make:C.a.string,model:C.a.string,styleId:C.a.string}),Object(N.a)("inventoryAggregate",[{path:"yearsBodyTypesFilter",async resolve(e,t){const a=await t.resolveValue("vehicle",T.a);if(!a)return;const n=a.make,s=a.model,r=a.modelYear.year,i=await t.resolveValue("location",S.d),o=i.zipCode,l=i.dmaRank,c=Object(I.d)(l);return{make:n,model:s,modelYear:{year:Number(r)},zipCode:o,radius:c}},async update(e,t,a){const s=await a.resolveValue("vehicle",T.a),r=s.make,i=s.model,o=s.modelYear.year,l=await a.resolveValue("location",S.d),c=l.zipCode,d=l.dmaRank,m=Object(I.d)(d);return Object(n.a)({make:r,model:i,modelYear:{year:Number(o)},zipCode:c,radius:m},e)}},{path:'makes["{make}"].models["{model}"].submodels["{submodel}"].years["{year}"].types["{type}"].amounts',async resolve(e,t){let a=e.make,s=e.model,r=e.year,i=e.submodel,o=e.type;const c=await t.resolveValue("location",S.d),m=c.zipCode,p=c.dmaRank;let h=`/inventory/v5/aggregate?-prices.displayPrice=0&zip=${m}&make=${a}&model=${s}&year=${r}&type=${o}&radius=${Object(I.d)(p)}&byminmax=prices.loan.payment,vehicleInfo.styleInfo.trim:prices.loan.payment,vehicleInfo.styleInfo.trim:prices.estimateLeasePromise.monthlyPayment,vehicleInfo.mileage,prices.savings,prices.displayPrice,vehicleInfo.styleInfo.trim:vehicleInfo.mileage,vehicleInfo.styleInfo.trim:prices.displayPrice,vehicleInfo.styleInfo.subModels.niceId:prices.displayPrice&by=vehicleInfo.styleInfo.trim,vehicleInfo.styleInfo.make,dealerInfo.displayInfo.salesOverallRating,vehicleInfo.styleInfo.subModels.niceId,prices.displayPriceDelta,prices.guaranteedPriceDelta`;i!==R&&(h=`${h}&submodel=${i}`);const g=await Object(j.b)(k.c,t).fetchJson(h),v=function(e){const t=D(e),a=t&&t.length;return{minRating:a?l()(t,"value").value:null,maxRating:a?d()(t,"value").value:null}}(b()(g,"dealerInfo.displayInfo.salesOverallRating",{})),f=(e=>u()(e,(e,t)=>({name:t,minPrice:L(e,"min_prices.displayPrice"),maxPrice:L(e,"max_prices.displayPrice"),minMileage:L(e,"min_vehicleInfo.mileage"),maxMileage:L(e,"max_vehicleInfo.mileage"),minLoan:L(e,"min_prices.loan.payment"),maxLoan:L(e,"max_prices.loan.payment"),minLease:L(e,"min_prices.estimateLeasePromise.monthlyPayment"),maxLease:L(e,"max_prices.estimateLeasePromise.monthlyPayment")})))(b()(g,"vehicleInfo.styleInfo.trim",{})),E=function(e){const t={};return e&&Object.keys(e).forEach(a=>(t[a]={min:L(e[a],"min_prices.displayPrice"),max:L(e[a],"max_prices.displayPrice")},t[a])),t}(b()(g,"vehicleInfo.styleInfo.subModels.niceId",{})),y={guaranteedPriceDelta:b()(g,"prices.guaranteedPriceDelta",{}),displayPriceDelta:b()(g,"prices.displayPriceDelta",{})};return Object(n.a)({maxSavings:L(g,"max_prices.savings"),inventoryCount:A(b()(g,"vehicleInfo.styleInfo.make")),minPrice:L(g,"min_prices.displayPrice"),minMileage:L(g,"min_vehicleInfo.mileage"),minLoan:L(g,"min_prices.loan.payment")},v,{trims:f,priceRanges:E,priceDeltas:y})}},{path:'makes["{make}"].models["{model}"].submodels["{submodel}"].years["{year}"].featuresColors',async resolve(e,t){let a=e.make,n=e.model,s=e.submodel,r=e.year;try{const e=await t.resolveValue("location",S.d),o=e.zipCode,l=e.dmaRank;let c=`/purchasefunnel/v1/aggregateinventory?by=vehicleInfo.partsInfo.cgf.formattedName,vehicleInfo.vehicleColors.exterior.nameRGB&zip=${o}&make=${a}&year=${r}&model=${n}&radius=${Object(I.d)(l)}&topCgfs=${P}`;s!==R&&(c=`${c}&vehicleInfo.styleInfo.subModels.niceId=${s}`);const d=await Object(j.b)(k.c,t).fetchJson(c),m=b()(d,"exteriorColor",[]),u=b()(d,"cgf",[]);return m.forEach(e=>!!e&&!e.value&&i()(e,"value",`"${e.name}|${e.properties.rgb}"`)),{colors:m,features:u}}catch(e){return{}}}},{path:"greatDeals.type.{type}.top.{top}",resolve(e,t){let a=e.type,n=e.top;const r=[{dataLoaded:!1}];return t.resolveValue("location",S.d).then(e=>{let i=e.zipCode;return Object(j.b)(k.c,t).fetchJson(`/inventory/v5/aggregate?zip=${i}&radius=100&thirdPartyInfo.priceValidation.dealType=Great&type=${a}&by=vehicleInfo.styleInfo.model:vehicleInfo.styleInfo.make:vehicleInfo.styleInfo.styleId&top=${n}`).then(e=>(e=>u()(e["vehicleInfo.styleInfo.model"],(e,t)=>{let a=e.count,n=Object(s.a)(e,["count"]);const r=A(n),i=A(r)["vehicleInfo.styleInfo.styleId"];return{count:a,model:t,make:Object.keys(r)[0],styleId:Object.keys(i)[0]}}))(e)).then(e=>Object(x.a)(e,t,"OEM","F34,FQ,FQN","300")).catch(()=>r)})}},{path:"vehicleCategories",resolve:(e,t)=>Object(j.b)(k.c,t).fetchJson("/inventory/v5/aggregate?by=vehicleInfo.styleInfo.vehicleCategories&top=100").then(e=>Object.keys(b()(e,"vehicleInfo.styleInfo.vehicleCategories",{})))},{path:'styleIds["{styleId}"].trimInventoryCount',async resolve(e,t){let a=e.styleId;const n=await t.resolveValue("location.zipCode",S.d);return Object(j.b)(k.c,t).fetchJson(`/inventory/v5/aggregate?styleId=${a}&by=vehicleInfo.styleInfo.trim&radius=50&zip=${n}`).then(e=>{const t=Object.keys(b()(e,"vehicleInfo.styleInfo.trim",{}))[0]||"";return{trim:t,inventoryCount:b()(e,`["vehicleInfo.styleInfo.trim"]["${t}"]`,0)}})}}]));function ee(e){let t=e.make,a=e.model,n=e.year,s=e.submodel,r=void 0===s?R:s;const i=e.isUsed?`${O.a.USED},${O.a.CPO}`:O.a.NEW;return`${Object(w.F)({make:t,model:a,year:n,submodel:r})}.types["${i}"].amounts`}function te(e){return ee(e.params)}function ae(e){return`styleIds["${e}"].trimInventoryCount`}},"./data/models/inventory-core-configurations.js":function(e,t,a){"use strict";a.d(t,"d",function(){return c}),a.d(t,"b",function(){return d}),a.d(t,"a",function(){return m}),a.d(t,"c",function(){return p}),a.d(t,"e",function(){return h});var n=a("../node_modules/prop-types/index.js"),s=a.n(n),r=a("./data/api/api-client.js"),i=a("./data/api/api-metrics.js"),o=a("./data/luckdragon/segment.js"),l=a("./data/models/visitor.js");const c=Object(o.a)("inventoryCoreConfigurations",[{path:'makes["{make}"].models["{model}"].submodels["{submodel}"].years["{year}"].coreConfigurations',async resolve(e,t){const a=`/inventory/v5/core-configurations/${e.make}/${e.model}/${e.year}/${e.submodel}?zip=${(await t.resolveValue("location",l.d)).zipCode}&priceDiff=800&radius=50.0`,n=await Object(i.b)(r.c,t).fetchJson(a);return n&&n.response&&n.response.configurations||[]}}]),d={BASIC:"basic",WELL_EQUIPPED:"wellEquipped",LOADED:"loaded"},m={[d.BASIC]:"Basic",[d.WELL_EQUIPPED]:"Well Equipped",[d.LOADED]:"Loaded"},u=s.a.shape({id:s.a.oneOfType([s.a.string,s.a.number]).isRequired,label:s.a.string,style:s.a.string,trim:s.a.string,inventoryCount:s.a.number,lowestPrice:s.a.number,estimatedSavings:s.a.number,estimatedPrice:s.a.number,baseMsrp:s.a.number,totalMsrp:s.a.number,tmv:s.a.number}),p={CoreConfigurations:s.a.arrayOf(u),CoreConfiguration:u};function h(e){let t=e.make,a=e.model,n=e.year,s=e.submodel;return t&&a&&n&&s?`makes["${t}"].models["${a}"].submodels["${s}"].years["${n}"].coreConfigurations`:null}},"./data/models/inventory.js":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/lodash/find.js"),r=a.n(s),i=a("../node_modules/lodash/compact.js"),o=a.n(i),l=a("../node_modules/lodash/isArray.js"),c=a.n(l),d=a("../node_modules/lodash/random.js"),m=a.n(d),u=a("../node_modules/lodash/isNil.js"),p=a.n(u),h=a("../node_modules/lodash/set.js"),g=a.n(h),b=a("../node_modules/lodash/get.js"),v=a.n(b),f=a("../node_modules/prop-types/index.js"),E=a.n(f),y=a("./data/api/api-client.js"),_=a("./data/api/api-metrics.js"),C=a("./site-modules/shared/utils/query-type-mapping.js"),k=a("./site-modules/shared/utils/inventory-utils.js"),N=a("./site-modules/shared/utils/inventory/sentient-sorting.js"),j=a("./site-modules/shared/constants/allowed-inventory-request-params.js"),O=a("./site-modules/shared/utils/car-buying/srp-filter.js"),T=a("./site-modules/shared/utils/inventory/params-conversion.js"),S=a("./data/luckdragon/segment.js"),I=a("./site-modules/shared/constants/inventory/lead-form.js"),w=a("./data/models/feature-flag.js"),x=a("./site-modules/shared/utils/inventory/srp-utils.js"),A=a("./site-modules/shared/components/native-ad/utils/utils.js"),R=a("./site-modules/shared/utils/inventory/search-filter.js"),P=a("./actions/vehicle.js"),L=a("./constants/pub-states.js"),D=a("./site-modules/shared/constants/inventory/srp-page-types.js"),$=a("./selectors/experiment.js"),M=a("./site-modules/shared/utils/inventory/srp-type-checkers.js"),V=a("./constants/location.js"),F=a("./site-modules/inventory/utils/get-ad-targeting.js"),U=a("./utils/isomorphic-logger.js"),Y=a("./data/models/profile/profile.js"),B=a("./site-modules/shared/constants/inventory/srp-url-patterns.js"),W=a("./data/models/profile/profile-statistics.js"),z=a("./data/models/visitor.js"),q=a("./data/models/location.js"),H=a("./data/models/photos.js"),G=a("./data/models/url.js"),K=a("./data/models/page.js");const Z=Object(S.a)("experiments",[]);var Q=a("./data/models/profile/profile-image-helper.js");a.d(t,"a",function(){return X}),a.d(t,"b",function(){return Re}),a.d(t,"d",function(){return Le}),a.d(t,"c",function(){return Ue});const X="BUILD_PRICE_SRP",J=["salvageHistory","frameDamage","lemonHistory","theftHistory"],ee=E.a.shape({address:E.a.shape({city:E.a.string,stateName:E.a.string}),displayInfo:E.a.shape({salesOverallRating:E.a.number,salesReviewCount:E.a.number}),distance:E.a.number,name:E.a.string,productFeatures:E.a.shape({lpInventory:E.a.bool,upInventory:E.a.bool,ppInventory:E.a.bool,usedVehicleProtectionPlan:E.a.bool,onlineLeaseEligible:E.a.bool}),phoneNumbers:E.a.shape({basic:E.a.shape({areaCode:E.a.string,prefix:E.a.string,postfix:E.a.string}),ppTrackable:E.a.shape({areaCode:E.a.string,prefix:E.a.string,postfix:E.a.string})}),rooftopLogicalName:E.a.string,franchiseId:E.a.string,rooftopId:E.a.number}),te=E.a.shape({displayPrice:E.a.number,tmv:E.a.number,pricePromise:E.a.shape({guaranteedPrice:E.a.number,savings:E.a.number}),loan:E.a.shape({payment:E.a.number}),estimateLeasePromise:E.a.shape({monthlyPayment:E.a.number}),savings:E.a.number}),ae=E.a.shape({nameRGB:E.a.string,r:E.a.number,b:E.a.number,genericName:E.a.string,g:E.a.number,name:E.a.string,id:E.a.string}),ne=E.a.shape({trim:E.a.string,year:E.a.number,model:E.a.string,style:E.a.string,styleId:E.a.string,make:E.a.string,subModels:E.a.arrayOf(E.a.shape({identifier:E.a.string,name:E.a.string,niceId:E.a.string}))}),se=E.a.shape({photo:E.a.shape({defaultPhoto:E.a.shape({small:E.a.shape({url:E.a.string}),smallPhotoCount:E.a.number,largePhotoCount:E.a.number,large:E.a.shape({url:E.a.string})})}),styleInfo:ne,partsInfo:E.a.shape({driveTrain:E.a.string,engineType:E.a.string,transmission:E.a.string}),mileage:E.a.number,vehicleColors:E.a.shape({exterior:ae,interior:ae})}),re=E.a.shape({count:E.a.number,cpoCount:E.a.number,mileageGrid:E.a.shape({})}),ie=E.a.string,oe=E.a.string,le=E.a.string,ce=E.a.string,de=E.a.oneOf(["NEW","USED","CPO"]),me=E.a.shape({lowerbound:E.a.number,upperbound:E.a.number,dealType:E.a.string,maxGreatPrice:E.a.number,maxGoodPrice:E.a.number,maxFairPrice:E.a.number}),ue=E.a.shape({priceValidation:me}),pe=E.a.shape({ctas:E.a.arrayOf(E.a.string),showPhoneNumber:E.a.bool,perksAvailable:E.a.bool,phoneNumber:E.a.string,priceStrikethrough:E.a.bool,transparentPricingCompliance:E.a.shape({guaranteedPrice:E.a.number,bestDealPrice:E.a.number})}),he=E.a.shape({bestDealPrice:E.a.number,savingsPercent:E.a.number}),ge=E.a.shape({amount:E.a.number,expireDate:E.a.number,id:E.a.number,name:E.a.string}),be=E.a.shape({lease:E.a.arrayOf(ge),purchase:E.a.arrayOf(ge)}),ve=E.a.shape({deliveryCode:E.a.string}),fe=E.a.shape({computedInfo:he,computedDisplayInfo:pe,dealerInfo:ee.isRequired,incentives:be,prices:te,sellersComments:le,stockNumber:ce,thirdPartyInfo:ue,type:de.isRequired,vehicleInfo:se.isRequired,vin:ie.isRequired,vid:oe,deliveryOptions:ve}),Ee=E.a.arrayOf(fe),ye=E.a.shape({totalNumber:E.a.number,totalPages:E.a.number,results:Ee}),_e=E.a.shape({totalNumber:E.a.number,totalPages:E.a.number,results:E.a.arrayOf(E.a.shape({baseInventory:fe,inventories:Ee}))}),Ce=E.a.shape({from:E.a.number,to:E.a.number,models:E.a.arrayOf(E.a.shape({make:E.a.string.isRequired,model:E.a.string.isRequired,inventoryCount:E.a.number}))}),ke=E.a.shape({listPrice:E.a.arrayOf(E.a.shape({amount:E.a.number,timestamp:E.a.number})),guaranteedPrice:E.a.arrayOf(E.a.shape({amount:E.a.number,timestamp:E.a.number}))}),Ne=E.a.shape({sellingSlowly:E.a.bool.isRequired}),je=E.a.arrayOf(Ce),Oe=E.a.shape({name:E.a.string,value:E.a.string,count:E.a.number,minDisplayPrice:E.a.number,rgb:E.a.string,selected:E.a.bool}),Te=E.a.shape({id:E.a.string,name:E.a.string,values:E.a.arrayOf(Oe)}),Se=E.a.shape({type:E.a.string,values:E.a.arrayOf(Oe),categories:E.a.arrayOf(Te),min:E.a.number,max:E.a.number,lowerBound:E.a.bool,upperBound:E.a.bool}),Ie=E.a.arrayOf(Se),we=E.a.shape({vehicle:E.a.shape({make:E.a.shape({id:E.a.number,name:E.a.string}),model:E.a.shape({name:E.a.string,modelLinkCode:E.a.string})}),dealerInfo:E.a.shape({name:E.a.string.isRequired,rooftopLogicalName:E.a.string.isRequired,city:E.a.string.isRequired,stateName:E.a.string.isRequired}),sort:E.a.string,paymentType:E.a.string}),xe=E.a.shape({inventories:ye,facets:Ie,attributes:we}),Ae=E.a.shape({inventories:_e,facets:Ie,attributes:we}),Re={Incentive:ge,Incentives:be,InventoryVin:fe,InventoriesVin:Ee,Inventories:ye,BuildPriceSRPInventories:_e,EstimatedSavings:E.a.shape({estimatedSavings:E.a.number,estimatedPrice:E.a.number}),CountByMileage:re,PriceRanges:je,historyInfo:ke,negotiationTips:Ne,ComputedInfo:he,ComputedDisplayInfo:pe,daysListedSince:E.a.number,Facets:Ie,Facet:Se,FacetValue:Oe,FacetCategoryItem:Te,DealerInfo:ee,VehicleInfo:se,StyleInfo:ne,Vin:ie,Type:de,SellersComments:le,Prices:te,ThirdPartyInfo:ue,SearchResults:xe,BuildPriceSRPSearchResults:Ae,Attributes:we,PriceValidation:me},Pe={totalNumber:0,results:[]},Le=e=>e<=10?25:e<=53?50:100;function De(e){return Promise.resolve(Object(n.a)({},e,{radius:Le(e.dmaRank)}))}const $e=e=>(e.forEach(e=>{Object.assign(e,{url:e.src})}),e);function Me(e){const t=e.make,a=e.model,n=e.modelYear,s=e.subModel,r=e.styleId,i=e.radius,l=e.zipCode,c=e.cgf,d=e.extColors,m=e.rooftopId,u=e.displayPrice,p=e.inventoryType,h=e.publicationState,g=e.responseExclusion,b=e.vehicleCategories,f=e.pageSize,E=void 0===f?19:f,y=e.pageNum,_=void 0===y?1:y,C=e.facets,N=void 0!==C&&C,j=e.sortBy,O=void 0===j?"_geo:ASC,onePerDealer:ASC":j,T=e.fields,S=void 0===T?"type,computedInfo(bestDealPrice),vehicleInfo(photo.defaultPhoto.largePhotoCount,styleInfo(make,model,year,trim,style,subModels,styleId),mileage,partsInfo(engineType,driveTrain,transmission),vehicleColors(exterior,interior)),prices(displayPrice,loan.payment,savings,tmv,guaranteedPrice),thirdPartyInfo(priceValidation.dealType),dealerInfo(name,rooftopLogicalName,partnerCode,franchiseId,rooftopId,productFeatures(upInventory,ppInventory,usedVehicleProtectionPlan),displayInfo(salesOverallRating,salesReviewCount),address(city,stateName,stateCode)),sellersComments,vin,vid,stockNumber":T;if(!(u||r||t&&a))return null;const I=p||Object(k.j)(h),w=function(e){const t=v()(e,"year","");return"agnostic"===t?"":t}(n);return`/inventory/v5/searchresultspage?${o()([`pagenum=${_}&pagesize=${E}&sortby=${O}`,u&&`&prices.displayPrice=${u}`,I&&`&type=${I}`,m&&`&dealerInfo.rooftopId=${m}`,!m&&`&radius=${i}&zip=${l}`,g&&`&${g}`,t&&`&make=${t.niceName}`,a&&`&model=${a.niceName}`,s&&s.niceName&&`&submodel=${s.niceName}`,w&&`&year=${w}`,r&&`&styleId=${r}`,d&&`&vehicleInfo.vehicleColors.exterior.name=${d}`,c&&`&vehicleInfo.partsInfo.cgf.name=${c}`,b&&`&vehicleCategories=${b}`]).join("")}&fields=${S}&facets=${N}`}async function Ve(e){const t=v()(e,"type","");Object(k.A)(t)&&g()(e,"computedDisplayInfo.priceStrikethrough",!1);let a=v()(e,"computedDisplayInfo.ctas");return a&&a.length?(a&&a.length&&(a=a.filter(e=>e!==I.c.ONLINE_LEASE&&e!==I.c.DIGITAL_RETAIL)),g()(e,"computedDisplayInfo.ctas",a),e):e}function Fe(e){e.forEach(e=>{const t=v()(e,"computedInfo.bestDealPrice"),a=v()(e,"prices.guaranteedPrice");g()(e,"computedDisplayInfo.transparentPricingCompliance",{bestDealPrice:t,guaranteedPrice:a})})}const Ue=Object(S.a)("inventory",[{path:'vin["{vin}"]',async resolve(e,t){const a=`/inventory/v5/ctavin/${e.vin}`;return Ve(await Object(_.b)(y.c,t).fetchJson(a))}},{path:'vinCompact["{vin}"]',async resolve(e,t){const a=await t.resolveValue("vinFilter",Ue),n=await t.resolveValue("location",z.d,!1),s=n.dma,r=n.zipCode,i=v()(a,"disablePP",!1),o=`/inventory/v5/ctavin/${e.vin}?view=VDP_COMPACT${i?"&forceOverride=PRICE_PROMISE:false":""}&userDma=${s}&zip=${r}`;return Ve(await Object(_.b)(y.c,t).fetchJson(o))}},{path:'vin["{vin}"].photos',resolve:(e,t)=>t.resolveValue(`vin["${e.vin}"]`).then(e=>{const a=e.vehicleInfo.styleInfo,n=a.make,s=a.model,r=a.year;if(n&&s&&r&&!e.vehicleInfo.photo.photoUrls.defaultPhoto){const e=`/editorial/v2/dam/not-nice-name-photos?make=${n}&model=${s}&year=${r}&pagesize=15&pagenum=1`;return Object(_.b)(y.c,t).fetchJson(e).then($e)}return[]})},{path:'vin["{vin}"].defaultPhoto',resolve:(e,t)=>t.resolveValue(`vin["${e.vin}"]`).then(e=>e.vehicleInfo.photo.photoUrls.defaultPhoto?e:t.resolveValue(Object(H.i)(e),H.b).then(t=>(g()(e,"vehicleInfo.photo.photoUrls.defaultPhoto.large.url",t[0]),e)))},{path:'vin["{vin}"].full',resolve(e,t){if(e&&e.vin){const a=`/inventory/v2/vins/${e.vin}?fmt=json&view=full`;return Object(_.b)(y.c,t).fetchJson(a)}return null}},{path:'make["{make}"].model["{model}"].year["{year}"].stockPhoto',resolve(e,t){const a=`/editorial/v2/dam/not-nice-name-photos?make=${e.make}&model=${e.model}&year=${e.year}&pagesize=1&pagenum=1&shottype=FQ`;return Object(_.b)(y.c,t).fetchJson(a)}},{path:"searchFilter",resolve:(e,t)=>t.resolveValue("location",z.d).then(De).then(e=>{let a=e.zipCode,s=e.radius;return t.resolveValue("vehicle",K.a).then(e=>Object(n.a)({},e,{radius:s,zipCode:a}))}),async update(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(arguments.length>1&&arguments[1],arguments.length>2?arguments[2]:void 0);const a=await t.resolveValue("searchFilter"),s=await t.resolveValue("location",z.d),r=await De(s),i=r.zipCode,o=r.radius;return Object(n.a)({},a,e,{radius:v()(e,"radius",o),zipCode:i})}},{path:"vins",resolve:(e,t)=>t.resolveValue("searchFilter").then(e=>{const a=Me(e);return a?Object(_.b)(y.c,t).fetchJson(a).then(e=>{const t=v()(e,"inventories",Pe);return Fe(v()(t,"results",[])),t}):t.abort()})},{path:"randomVins",resolve:(e,t)=>t.resolveValue("searchFilter").then(e=>{const a=function(e){const t=e.pageSize,a=void 0===t?6:t;return`/inventory/v5/onePerDealer?-dealerInfo.partnerCode=VIN10&-dealerInfo.partnerCode=VIN10_UNHOSTED&-dealerInfo.name=Not%20Available&prices.displayPrice=15000.0-30000.0&fields=type,vehicleInfo(photo.defaultPhoto,styleInfo(make,model,year,trim,style,styleId),mileage,vehicleColors),prices(displayPrice,loan.payment),dealerInfo(name,distance,rooftopLogicalName,partnerCode,franchiseId,rooftopId,productFeatures(upInventory,ppInventory,hasGasCard,usedVehicleProtectionPlan),displayInfo(salesOverallRating,salesReviewCount),address(city,stateName)),sellersComments,vin,vid,thirdPartyInfo.priceValidation.dealType&sortby=computedInfo.savingsPercent&pagenum=${m()(1,20)}&pagesize=${a}&type=USED`}(e);return Object(_.b)(y.c,t).fetchJson(a)})},{path:'vinsNearby["{type}"]',resolve:(e,t)=>t.resolveValue("searchFilter").then(a=>{let n=a.radius,s=a.zipCode;return Object(_.b)(y.c,t).fetchJson(`/inventory/v5/find-plus-one-per-dealers?zip=${s}&sortby=_geo&fields=type,vin,vid,dealerInfo(address(zip,city,stateName,stateCode),franchiseId,rooftopId,partnerCode,productFeatures(upStatus,usedVehicleProtectionPlan)),prices,vehicleInfo(vehicleColors,mileage,photo,styleInfo(year,make,model,trim,styleId),partsInfo)&radius=${n}&pagenum=1&pagesize=12&type=${e.type}&displayPrice=1-%2A`)}).then(e=>Object(Q.a)(e,t))},{path:'vin["{vin}"].dealer.salesTax',resolve:(e,t)=>t.resolveValue(`vin["${e.vin}"]`).then(e=>{if(e&&e.dealerInfo&&e.dealerInfo.address){const a=e.dealerInfo.address.zip;if(a)return t.resolveValue(`zips["${a}"]`,q.a).then(e=>e.salesTax)}return 0})},{path:'vin["{vin}"].savedData',async resolve(e){const t={[e.vin]:!0};return await Object(W.a)(t).catch(e=>(Object(U.a)("warn",`${Y.a.statsError} ${e}`),{}))}},{path:'vin["{vin}"].enhancerPrices',resolve:e=>{let t=e.vin;return y.h.fetchJson(`/enhancer/v1/prices?vin=${t}`)}},{path:'estimatedSavings["{styleId}"]',resolve:(e,t)=>{let a=e.styleId;return Object(_.b)(y.c,t).fetchJson(`/inventory/v5/estimated-savings/${a}`).then(e=>e.response)}},{path:"mostPopularModelInPriceRange.{typeSlug}",async resolve(e,t){let a=e.typeSlug;const n=await t.resolveValue("location",z.d),s=n.zipCode,r=n.latitude,i=n.longitude,o=`/inventory/v5/most-popular-model-in-price-range/${Object(C.b)(a)}?zip=${s}&lat=${r}&long=${i}&radius=500`;return(await Object(_.b)(y.c,t).fetchJson(o)).response.priceRanges}},{path:'optionPrices["{vin}"]',async resolve(e,t){let a=e.vin;const n=await t.resolveValue(`vin["${a}"]`),s=v()(n,"vehicleInfo.styleInfo.styleId",""),r=v()(n,"vehicleInfo.partsInfo.nonColorOptionIds",[]);if(!s||!r.length)return{};const i=`/vehicle/v3/calculateoptionprice?style=${s}&options=${r.join(",")}`;return Object(_.b)(y.c,t).fetchJson(i)}},{path:"inventoryCount.bodyType.{bodyType}.displayPrice.{displayPrice}",resolve(e,t){let a=e.bodyType,n=e.displayPrice;return t.resolveValue("location",z.d).then(e=>{let s=e.zipCode;const r="none"===a?"":`&vehicleInfo.styleInfo.vehicleCategories=${a}`,i="none"===n?"":`&prices.displayPrice=${n}`;return Object(_.b)(y.c,t).fetchJson(`/inventory/v5/searchresultspage?zip=${s}${r}${i}&radius=100&fields=none`).then(e=>e.inventories).catch(()=>({results:[],totalNumber:0,totalPages:0}))})}},{path:"searchResults",async resolve(e,t){let a=await t.resolveValue("searchResultsFilter");const s=v()(a,"resultsType",""),i=v()(a,"ignoreNational",!1),o=await t.resolveValue(G.a,G.b,!1),l=o&&B.b.includes(o.urlPattern),c=!i&&o&&o.attributes&&o.attributes.nationalScope;if(p()(a))return t.abort();const d=v()(a,"rooftopId[0]");let m,u;const h={},b=v()(o,"urlPattern");let f=!1;if(s===X)u="build-price-inventory",m="/purchasefunnel/v2/buildpricesrp/inventory";else if(d)u="srp-rooftop-inventory",m=`/purchasefunnel/v1/srp/rooftop/${d}`,h.timeout=1e3;else{u="srp-inventory",m="/purchasefunnel/v1/srp/inventory",h.timeout=1e3;const e={experiments:{computed:await t.resolveValue("computed",Z),published:await t.resolveValue("published",Z)}},n=await t.resolveValue("session",z.d);a=Object(N.a)({filters:a,experiments:e,urlContext:o,sessionId:n});const s=await t.resolveValue("skipCBPButton",w.a);a=Object(O.a)({filters:a,urlContext:o,skipCBPButton:s}),f=Object(M.d)(b)&&"chal"===Object($.a)(e,"tpt-471",v()(a,"make[0]"))}const E=await t.resolveValue("location",z.d,"build-price-inventory"===u),C=E.zipCode,S=E.dmaRank,x=E.dma,A=E.latitude,R=E.longitude,P=Le(S),L=await t.resolveValue("UPF-1897",w.a)&&"srp-inventory"===u&&!!A&&!!R?{lat:A,lon:R}:{},D="srp-inventory"===u?{[j.DMA]:x}:{[j.RADIUS]:P},F=d||c?{}:Object(n.a)({[j.ZIP_CODE]:C},D,L);let U=Object(T.c)(Object(n.a)({},F,a,{national:c||l},f&&C!==V.a.zipCode?{[j.ZIP_CODE]:C}:{}));if(b&&(U=function(e,t){let a=t.urlPattern,n=t.location;const s=`${e}&urlPattern=${a}`;return n?`${s}&city=${n.city}&stateCode=${n.stateCode}`:s}(U,o)),s===X)return Object(_.b)(y.c,t).fetchJson(`${m}${U?`?${U}`:""}`,h).then(e=>(Fe([v()(e,"inventories.results[0].baseInventory",{})]),Fe(v()(e,"inventories.results[0].inventories",[])),e));const Y=await t.resolveValue("npf-srp-multi",w.a);return Object(_.b)(y.c,t).fetchJson(`${m}${U?`?${U}`:""}`,h).then(e=>{const t=v()(e,"facets",[]);return function(e){const t=r()(e,{type:j.HISTORY_INFO}),a=v()(t,"values",[]);g()(t,"values",a.filter(e=>{let t=e.value;return!J.includes(t)}))}(t),t.forEach(e=>{const t=e.upperBound,a=e.values,n=e.type;if(!1===t&&(n===j.LOAN_PAYMENT||n===j.LEASE_PAYMENT)){const t=a.length-1;g()(e,"showAboveUpperBoundValue",!0),a.push({name:`${a[t].name}+`})}}),function(e,t){t&&e.forEach(e=>{const t=v()(e,"computedDisplayInfo.ctas"),a=v()(e,"type","");let n=t;Object(k.y)(a)&&n&&n.length&&(n=n.filter(e=>e!==I.c.ONLINE_LEASE).map(e=>e===I.c.DETAILS?I.c.NEW.BASE:e)),g()(e,"computedDisplayInfo.ctas",n)})}(v()(e,"inventories.results",[]),Y),e})}},{path:"searchResultsFilter"},{path:"vinFilter"},{path:"closestDealerFilter"},{path:"closestDealer",async resolve(e,t){try{const e=await t.resolveValue("closestDealerFilter"),a=(await t.resolveValue("location",z.d)).zipCode,n=e.make,s=e.radius,r=e.inventoryType;if(!(n&&s&&a))return{};const i=`/inventory/v5/searchresultspage?pagenum=1&pagesize=1&radius=${s}&facets=false&sortby=_geo:ASC&type=${(e=>c()(e)?e.map(e=>e.toUpperCase()).join(","):e)(void 0===r?"":r)}&make=${n}&zip=${a}&fields=dealerInfo(rooftopId,franchiseId)`,o=await Object(_.b)(y.c,t).fetchJson(i);return v()(o,"inventories.results[0].dealerInfo",{})}catch(e){return{}}}},{path:"radiusFilter"},{path:'adTargeting.model["{model}"]',async resolve(e,t){const a=e.model,n=await t.resolveValue("searchResults",Ue),s=await t.resolveValue("searchResultsFilter",Ue),r=v()(n,"attributes.vehicle",{}),i=Object(P.c)(Object(R.m)(s),r),o=Object(F.b)(i),l=v()(s,"inventoryType",[]),c=Object(x.h)(l)===L.b.USED;if(Object(A.l)(a)||c||o!==D.b)return{currentVehicle:null,customTargeting:null};const d=v()(n,"inventories.results",[]),m=v()(n,"facets",[]),u=v()(Object(R.b)(m,j.MODEL),"values",[]);return{currentVehicle:Object(F.d)(i,u,d,o),customTargeting:Object(F.a)(o)}}}])},"./data/models/link-widgets.js":function(e,t,a){"use strict";a.d(t,"a",function(){return E}),a.d(t,"c",function(){return j}),a.d(t,"d",function(){return T}),a.d(t,"e",function(){return S}),a.d(t,"b",function(){return I});var n=a("../node_modules/lodash/find.js"),s=a.n(n),r=a("../node_modules/lodash/omitBy.js"),i=a.n(r),o=a("../node_modules/lodash/get.js"),l=a.n(o),c=a("../node_modules/prop-types/index.js"),d=a.n(c),m=a("./data/api/api-client.js"),u=a("./data/api/api-metrics.js"),p=a("./data/luckdragon/segment.js"),h=a("./site-modules/shared/utils/string.js"),g=a("./site-modules/shared/utils/inventory-utils.js"),b=a("./data/models/visitor.js"),v=a("./data/models/url.js"),f=a("./data/models/page.js");const E={LinkWidgets:d.a.arrayOf(d.a.shape({categoryName:d.a.string,header:d.a.string,links:d.a.arrayOf(d.a.shape({href:d.a.string,anchorText:d.a.string,contextualSentence:d.a.string}))}))},y={vdp:["usedMakeModelYearLocation(randomLocation:15)","typeMakeModelYear(new:1;usedOldYear:1;usedRecentYear:1)","makeModelYears(recentYears:6)","usedMakeModel(current:1)","usedMake(current:1)","vehicleReviews(currentMake:1;currentMakeModel:1)"],used_cars_index:["makeLeaseDeals"],"srp-used-make":["usedMakes(randomLocation:12;randomModels:8;recentYearsRandomModels:5;popularColors:8;currentMake:1;cpoMake:1)"],"srp-used-make-model":["usedMakeModels(randomLocation:12;randomModels:9)"],"srp-used-year-make-model":["usedMakeModels(randomLocation:12;randomModels:14;recentYears:0;blackWhiteColors:2;currentMakeModel;currentMake;currentMakeLeaseDeals;currentMakeModelLeaseDeals)"],"srp-used-certified-pre-owned-make":["usedCpoMakes(randomModels:12;popularColors:6;usedCurrentMake;bestMakeLeaseDeals)"],"srp-used-certified-pre-owned-make-model":["usedCpoMakeModels(randomModels:14;blackWhiteColors:2;currentMakeModel;usedCurrentMakeModel;currentMakeLeaseDeals;currentMakeModelLeaseDeals)"],"srp-used-type":["usedType(randomLocation:20;randomType:9;current)"],"srp-used-make-type":["usedMakeType(usedCurrentMake;usedCurrentType;randomModels:6;cpoMake;cpoRandomModels:5)"],"srp-used-cars-under-price":["usedCarsUnderPrice(randomLocation:21)"],"srp-used-color-make":["usedColorMake(popularColors:7;blackWhiteRandomModels:12;makeLeaseDeals:1)"],"srp-used-color-make-model":["usedColorMakeModel(blackWhiteColors:2;usedCurrentMakeModel:1;currentMakeModel:1;randomLocation:16;makeModelLeaseDeals:1;makeLeaseDeals:1)"],"srp-used-make-city-state":["usedMakesLocation(randomModels:14;recentYearsRandomModels:5;popularColors:8;currentMake:1;usedCurrentMake:1)"],"srp-used-make-model-city-state":["usedMakeModelsLocation(randomModels:14;recentYears:5;blackWhiteColors:2)"],"srp-used-cars-city-state":["usedCarsLocation(randomLocation:10;randomMakes:20)"],"srp-used-year-make-model-city-state":["usedYearMakeModelLocation(randomModels:4;recentYears:5;currentMake;currentMakeModel;currentMakeModelYear;usedCurrentMake;usedCurrentMakeModel;usedMakeRandomModels;currentMakeLeaseDeals;currentMakeModelLeaseDeals)"],"srp-used-type-city-state":["usedTypeLocation(randomLocation:20;randomType:9;current)"],"srp-lease-deals":["leaseDeals(randomMakesLease:10;randomMakesModels:10)"],"make-lease-deals":["makesLeaseDeals(randomModelsLeaseDeals:10;usedCurrentMake:1;cpoCurrentMake:1;randomModels:8)"],"srp-make-lease-deals":["makesLeaseDeals(randomModelsLeaseDeals:10;usedCurrentMake:1;cpoCurrentMake:1;randomModels:8)"],"srp-make-model-lease-deals":["modelLeaseDeals(randomModelsLeaseDeals:10;usedCurrentMake:1;cpoCurrentMake:1;randomModels:8)"],"srp-best-type-lease-deals":["typeLeaseDeals(randomMakesModels:10;randomMakesModelsByType:10)"],"srp-used-cheap-cars-for-sale":["usedCarsLocation(randomLocation:12)"]},_=["used_cars_index"],C=["selectedUsedMakeModel","researchPopularFromMake","mostPopularVehiclesForSale","makeModelResources"],k=["researchPopularFromMake","researchSimilarMakeModel","researchPopularVehicles","makeModelResources","selectedUsedMakeModel"];function N(e,t){let a=e.makeSlug,n=e.modelSlug,s=e.year;return`/coreresearch/v1/linkwidgets?category=${(t?C:k).join(",")}&make=${a}&model=${n}${s?`&year=${s}`:""}`}function j(e){let t=e.make,a=e.model,n=e.year;return`makes["${t.slug}"].models["${a.slug}"]${n?`.years["${n}"]`:""}.linkWidgets`}async function O(e,t,a){let n={};try{n=await Object(u.b)(m.c,t).fetchJson(a)}catch(e){n={}}return n.linkWidgets||n.linkWidget||[]}const T=e=>e?`page["${e}"]`:null,S=()=>"pageLinks",I=Object(p.a)("linkWidgets",[{path:'page["{page}"]',async resolve(e,t){const a=y[e.page];if(!a)return[];const n=await t.resolveValue("vehicle",f.a),r=await t.resolveValue("location",b.d),o=s()(_,e.page);return n||o?O(0,t,`/purchasefunnel/v1/linkwidgets?category=${a.join(",")}&${function(e,t){const a={make:l()(e,"make.niceName"),model:l()(e,"model.niceName"),year:l()(e,"modelYear.year"),inventoryType:Object(g.j)(l()(e,"publicationState",""),!0),vehicleType:l()(e,"type.niceName"),displayPrice:l()(e,"displayPrice"),color:l()(e,"exteriorColor"),city:l()(t,"city"),stateCode:l()(t,"stateCode")},n=i()(a,e=>!e);return Object(h.e)(n)}(n,r)}`):t.abort()}},{path:"pageLinks",async resolve(e,t){const a=await t.resolveValue("page.name",f.a),n=await t.resolveValue("legacy.pageName",f.a),s=await t.resolveValue("page.location.pathname",f.a);return O(0,t,`/seo/v1/pagelinks/${n||a}?url=https://www.edmunds.com${s}`)}},{path:'makes["{makeSlug}"].models["{modelSlug}"].years["{year}"].linkWidgets',async resolve(e,t){const a=await t.resolveValue("context.isSrpOnUsedCore",v.b);return O(0,t,N(e,a))}},{path:'makes["{makeSlug}"].models["{modelSlug}"].linkWidgets',async resolve(e,t){const a=await t.resolveValue("context.isSrpOnUsedCore",v.b);return O(0,t,N(e,a))}}])},"./data/models/location.js":function(e,t,a){"use strict";a.d(t,"a",function(){return o});var n=a("./data/luckdragon/segment.js"),s=a("./constants/location.js"),r=a("./data/api/api-client.js"),i=a("./data/api/api-metrics.js");s.b;const o=Object(n.a)("location",[{path:'zips["{zip}"]',resolve:(e,t)=>{let a=e.zip;return Object(i.b)(r.c,t).fetchJson(`/zip/v2/${a}`)}}])},"./data/models/media.js":function(e,t,a){"use strict";var n=a("../node_modules/prop-types/index.js"),s=a.n(n),r=a("./data/luckdragon/segment.js"),i=a("./data/cms/content.js");function o(e,t){return e&&e.hasMetadata&&e.hasMetadata(t)?e.metadata(t).value():null}var l=a("./data/cms/fetch-content.js"),c=a("./data/models/vehicle.js");a.d(t,"a",function(){return d}),a.d(t,"b",function(){return m}),a.d(t,"c",function(){return u});const d={Videos:s.a.oneOfType([s.a.arrayOf(s.a.shape({uploadDate:s.a.string,type:s.a.string,videoTitle:s.a.string,videoType:s.a.string,videoId:s.a.string,videoDescription:s.a.string,videoTranscript:s.a.string,thumbnailURL:s.a.string})),s.a.number]),Video:s.a.shape({uploadDate:s.a.string,type:s.a.string,videoTitle:s.a.string,videoType:s.a.string,videoId:s.a.string,videoDescription:s.a.string,videoTranscript:s.a.string,thumbnailURL:s.a.string})},m=Object(r.a)("media",[{path:'makes["{make}"].models["{model}"].years["{year}"].videos',resolve(e,t){const a=`${e.make}/${e.model}/${e.year}/photos`;return Object(l.a)(a,t).then(e=>(function(e){const t=function(e,t){return e.hasChild(t)?e.child(t):null}(Object(i.e)(e),"video-content"),a=t?t.children():[],n=[];return a.forEach(e=>{n.push({videoId:o(e,"videoId"),uploadDate:o(e,"uploadDate"),videoTitle:o(e,"videoTitle"),videoDescription:o(e,"videoDescription"),videoTranscript:o(e,"videoTranscript"),videoType:o(e,"videoType"),thumbnailURL:o(e,"thumbnailURL"),type:o(e,"type")})}),n.length&&n})(e)).catch(()=>null)}}]);function u(e){let t=e.make,a=e.model,n=e.year;return`${Object(c.w)({make:t,model:a,year:n})}.videos`}},"./data/models/mmy-details.js":function(e,t,a){"use strict";a.d(t,"a",function(){return d}),a.d(t,"c",function(){return m}),a.d(t,"d",function(){return p}),a.d(t,"e",function(){return h}),a.d(t,"f",function(){return g}),a.d(t,"g",function(){return b}),a.d(t,"b",function(){return k});a("../node_modules/core-js/modules/es6.regexp.match.js");var n=a("../node_modules/prop-types/index.js"),s=a.n(n),r=a("./data/luckdragon/segment.js"),i=a("./data/cms/content.js"),o=a("./site-modules/shared/utils/sorting.js"),l=a("./data/cms/fetch-content.js"),c=a("./data/models/vehicle.js");const d={ComparisonsContent:s.a.shape({photos:s.a.arrayOf(s.a.shape({title:s.a.string,href:s.a.string})),comparisons:s.a.arrayOf(s.a.shape({content:s.a.string,vehicle:s.a.shape({make:s.a.string,model:s.a.string,year:s.a.string,style:s.a.string})}))}),WhatsNewContent:s.a.arrayOf(s.a.string)},m={QuestionsContent:s.a.shape({vehicle:s.a.shape({make:s.a.string,model:s.a.string,year:s.a.string,style:s.a.string}),questions:s.a.arrayOf(s.a.shape({id:s.a.string,content:s.a.string}))})};function u(e){return e?`${Object(c.w)(e)}.details`:null}function p(e){return`${u(e)}.about`}function h(e){return`${u(e)}.comparisons`}function g(e){return`${u(e)}.questions`}function b(e){return`${u(e)}.whatsNew`}function v(e,t){return e&&e.hasMetadata&&e.hasMetadata(t)?e.metadata(t).value():null}function f(e,t){return e.hasChild(t)?e.child(t):null}function E(e,t){const a=f(e,`model-vs-model-${t}`),n=v(a,"content");return n&&n.trim().length?{content:n,vehicles:a.vehicles}:null}function y(e){const t=f(Object(i.e)(e),"comparison"),a={photos:function(e){const t=[];return f(e,"compare-photos").links().forEach(e=>{t.push({title:e.title,href:e.href})}),t.length?t:null}(t),comparisons:function(e){const t=[];return E(e,1)&&t.push(E(e,1)),E(e,2)&&t.push(E(e,2)),E(e,3)&&t.push(E(e,3)),t.length?t:null}(t)};return a.comparisons&&a.photos?a:null}function _(e){const t=Object(i.e)(e),a=f(t,"question-answer"),n=a&&a.children();return t&&a?{vehicle:function(e){const t=f(e,"comparison"),a=f(t,"model-vs-model-1");return a?a.vehicles[0]:null}(t),questions:function(e){const t=[];return e.forEach(e=>{const a=v(e,"content");a&&a.trim().length&&t.push({id:e.id,content:a})}),t.length?t:null}(n)}:null}function C(e){return{comparisons:y(e),questions:_(e),whatsNew:function(e){const t=[],a=f(Object(i.e)(e),"whats-new").getAllMetadata();return Object.keys(a).sort(o.b).forEach(e=>{e.match(/whats-new/)&&a[e]&&a[e].trim().length&&t.push(a[e])}),t.length?t:null}(e)}}const k=Object(r.a)("details",[{path:'makes["{make}"].models["{model}"].years["{year}"].details',resolve(e,t){const a=`${e.make}/${e.model}/${e.year}/ymm-detail`;return Object(l.a)(a,t).then(e=>C(e)).catch(()=>null)}},{path:'makes["{make}"].models["{model}"].years["{year}"].details.about',resolve(e,t){const a=`${e.make}/${e.model}/${e.year}/about`;return Object(l.b)(`${a}`,t).then(e=>(function(e){const t=f(Object(i.e)(e),"about");return t?{vehicleAbout:t.content}:null})(e)).catch(()=>null)}}])},"./data/models/native-ads-creative-config.js":function(e,t,a){"use strict";a.d(t,"l",function(){return N}),a.d(t,"e",function(){return T}),a.d(t,"i",function(){return S}),a.d(t,"h",function(){return I}),a.d(t,"k",function(){return w}),a.d(t,"j",function(){return x}),a.d(t,"d",function(){return A}),a.d(t,"c",function(){return R}),a.d(t,"b",function(){return P}),a.d(t,"a",function(){return L}),a.d(t,"g",function(){return D}),a.d(t,"f",function(){return $});a("../node_modules/core-js/modules/es6.regexp.replace.js");var n=a("../node_modules/lodash/pickBy.js"),s=a.n(n),r=a("../node_modules/lodash/get.js"),i=a.n(r),o=a("../node_modules/prop-types/index.js"),l=a.n(o),c=a("./data/luckdragon/segment.js"),d=a("./data/models/page.js"),m=a("./data/api/api-client.js"),u=a("./data/api/api-metrics.js"),p=a("./data/models/visitor.js"),h=a("./data/models/inventory.js"),g=a("./site-modules/shared/utils/inventory/search-filter.js"),b=a("./actions/vehicle.js"),v=a("./site-modules/inventory/utils/get-ad-targeting.js"),f=a("./site-modules/shared/constants/allowed-inventory-request-params.js"),E=a("./site-modules/shared/utils/publication-states.js");const y={},_={};function C(e){return e&&(e.name||e.niceName)?(e.name||e.niceName).toLowerCase().replace(/[\s-]/g,""):"none"}function k(e){return e?e.toLowerCase().replace(/[\s-]/g,""):"none"}function N(e){return i()(e,"niceId")||i()(e,"niceName")||"none"}function j(e){return e&&e.year?e.year:""}function O(e,t,a){const n=Object(E.g)(i()(t,"publicationState","new")),s=(e[a]&&e[a][0].creativeConfigData?e[a][0].creativeConfigData:{}).pubState,r=void 0===s?["new","used"]:s;return!!e[a]&&(r.indexOf(n)>-1||"preprod"===n)}_.timeout=1e3;const T=Object(c.a)("nativeAdsCreativeConfig",[{path:"pageAdsList",update:e=>Promise.resolve(Array.from(e).join(","))},{path:'platform["{platform}"].model["{model}"].submodels["{submodel}"].year["{year}"]',async resolve(e,t){const a=e.platform,n=e.model,r=e.submodel,o=e.year;let l=await t.resolveValue("vehicle",d.a);const c=await t.resolveValue("pageAdsList"),E=await t.resolveValue("location",p.d),N=E.zipCode,T=E.stateCode,S=E.dma;if(!l)return y;if(!("none"!==n||l.model&&l.model.niceName)){const e=await t.resolveValue("searchResults",h.c);l=i()(e,"attributes.vehicle",{});const a=await t.resolveValue("searchResultsFilter",h.c),n=Object(b.c)(Object(g.m)(a),l),s=Object(v.b)(n),r=i()(e,"inventories.results",[]),o=i()(e,"facets",[]),c=i()(Object(g.b)(o,f.MODEL),"values",[]);if(!(l=Object(v.d)(n,c,r,s))||!l.model||!l.model.niceName)return t.abort()}const I=l,w=I.subModel,x=I.modelYear,A="none"===n?l.model.niceName:n,R="defaultSubmodel"===r?C(w):r,P="any"===o?j(x):o,L=`/site-served-creative/v1/${k(A)}?submodel=${k(R)}&year=${P}&state=${T}&dma=${S}&zip=${N}&platform=${a}&creative=${c}`;return Object(u.b)(m.c,t).fetchJson(L,_).then(e=>s()(e,(t,a)=>O(e,l,a))).catch(()=>y)}},{path:'platform["{platform}"].model["{model}"].submodels["{submodel}"].year["{year}"]["{adName}"]',async resolve(e,t){const a=e.platform,n=e.model,s=e.submodel,r=e.year,o=e.adName;let l=await t.resolveValue("vehicle",d.a);const c=await t.resolveValue("pageAdsList");if(!c||!c.includes(o)){const e=await t.resolveValue("location",p.d),c=e.zipCode,d=e.stateCode,E=e.dma;if(!l)return y;if(!("none"!==n||l.model&&l.model.niceName)){const e=await t.resolveValue("searchResults",h.c);l=i()(e,"attributes.vehicle",{});const a=await t.resolveValue("searchResultsFilter",h.c),n=Object(b.c)(Object(g.m)(a),l),s=Object(v.b)(n),r=i()(e,"inventories.results",[]),o=i()(e,"facets",[]),c=i()(Object(g.b)(o,f.MODEL),"values",[]);if(!(l=Object(v.d)(n,c,r,s))||!l.model||!l.model.niceName)return t.abort()}const N=l,T=N.subModel,S=N.modelYear,I="none"===n?l.model.niceName:n,w="defaultSubmodel"===s?C(T):s,x="any"===r?j(S):r,A=`/site-served-creative/v1/${k(I)}?submodel=${k(w)}&year=${x}&state=${d}&dma=${E}&zip=${c}&platform=${a}&creative=${o}`;return Object(u.b)(m.c,t).fetchJson(A,_).then(e=>O(e,l,o)?e[o]:y).catch(()=>y)}return y}},{path:'platform["{platform}"].model["{model}"].submodels["{submodel}"].year["{year}"].pubState["{pubState}"]',async resolve(e,t){const a=e.platform,n=e.model,r=e.submodel,i=e.year,o=e.pubState,l=await t.resolveValue("pageAdsList"),c=await t.resolveValue("location",p.d),d=c.zipCode,h=c.stateCode,g=c.dma,b=`/site-served-creative/v1/${k(n)}?submodel=${k(r)}&year=${i}&state=${h}&dma=${g}&zip=${d}&platform=${a}&creative=${l}`;return Object(u.b)(m.c,t).fetchJson(b,_).then(e=>s()(e,(t,a)=>O(e,{publicationState:o},a))).catch(()=>y)}},{path:'noVehicle.adName["{adName}"].platform["{platform}"]',async resolve(e,t){const a=e.adName,n=e.platform;let s=await t.resolveValue("vehicle",d.a);if(!s||!s.make)return y;if(!s.model){const e=await t.resolveValue("searchResults",h.c);s=i()(e,"attributes.vehicle",{});const a=await t.resolveValue("searchResultsFilter",h.c),n=Object(b.c)(Object(g.m)(a),s),r=Object(v.b)(n),o=i()(e,"inventories.results",[]),l=i()(e,"facets",[]),c=i()(Object(g.b)(l,f.MODEL),"values",[]);s=Object(v.d)(n,c,o,r)}if(!s||!s.model||!s.model.niceName)return t.abort();const r=s,o=r.model,l=r.modelYear;return t.resolveValue(`adName["${a}"].platform["${n}"].model["${o.niceName}"].year["${l.year}"]`).then(()=>({$ref:`#/adName/${a}/platform/${n}/model/${o.niceName}/year/${l.year}`}))}},{path:'adName["{adName}"].platform["{platform}"].model["{model}"].year["{year}"]',async resolve(e,t){const a=e.adName,n=e.platform,s=e.model,r=await t.resolveValue("vehicle",d.a),i=await t.resolveValue("location",p.d),o=i.zipCode,l=i.stateCode,c=i.dma;if(!r||!s)return y;const h=r.subModel,g=r.modelYear,b=`/site-served-creative/v1/${k(s)}?submodel=${C(h)}&year=${j(g)}&state=${l}&dma=${c}&zip=${o}&platform=${n}&creative=${a}`;return Object(u.b)(m.c,t).fetchJson(b,_).then(e=>O(e,r,a)?e:y).catch(()=>y)}},{path:'makes["{make}"].models["{model}"].submodels["{submodel}"].modelYears["{modelYear}"].adName["{adName}"].platform["{platform}"]',async resolve(e,t){const a=e.platform,n=e.adName,s=e.make,r=e.model,i=e.submodel,o=e.modelYear;if(!(a&&s&&r&&i))return y;const l=await t.resolveValue("vehicle",d.a),c=await t.resolveValue("location",p.d),h=c.zipCode,g=c.stateCode,b=c.dma,v=`/site-served-creative/v1/${k(r)}?submodel=${k(i)}`+`&year=${o||""}&state=${g}&dma=${b}&zip=${h}&platform=${a}&creative=${n}`;return Object(u.b)(m.c,t).fetchJson(v,_).then(e=>O(e,l,n)?e:y).catch(()=>y)}},{path:'makes["{make}"].models["{model}"].submodels["{submodel}"].modelYears["{modelYear}"].adName["{adName}"].platform["{platform}"].pubState["{pubState}"]',async resolve(e,t){const a=e.platform,n=e.adName,s=e.model,r=e.submodel,i=e.modelYear,o=e.pubState,l=await t.resolveValue("location",p.d),c=l.zipCode,d=l.stateCode,h=l.dma,g=`/site-served-creative/v1/${k(s)}?submodel=${k(r)}`+`&year=${i||""}&state=${d}&dma=${h}&zip=${c}&platform=${a}&creative=${n}`;return Object(u.b)(m.c,t).fetchJson(g,_).then(e=>O(e,{publicationState:o},n)?e:y).catch(()=>y)}}]),S=l.a.shape({id:l.a.string,creativeConfigData:l.a.shape({imgDisclaimer:l.a.string,linkDisclaimer:l.a.string,adImg:l.a.string,adLabel:l.a.string,cta:l.a.string,oemLogo:l.a.string,vehicleTrim:l.a.string,msrp:l.a.string,disclaimerText:l.a.string,headline2:l.a.string,lineItemId:l.a.string,label2:l.a.string,label3:l.a.string,linkDisplayUrl:l.a.string}),traffickingData:l.a.shape({clickTracker:l.a.shape({desktop:l.a.string,mobile:l.a.string})}),excluded:l.a.bool}),I=null,w=l.a.shape({id:l.a.string,creativeConfigData:l.a.shape({label:l.a.string,label2:l.a.string,linkDisplayUrl:l.a.string,cta:l.a.string,logo:l.a.string,disclaimerCopy:l.a.string,headline:l.a.string,photo:l.a.string,photoDisclaimer:l.a.string,lineItemId:l.a.string}),traffickingData:l.a.shape({clickTracker:l.a.shape({desktop:l.a.string,mobile:l.a.string})}),excluded:l.a.bool}),x=null,A=l.a.shape({id:l.a.string,creativeConfigData:l.a.shape({adLabel:l.a.string,logo:l.a.string,linkDisclaimer:l.a.string,disclaimerText:l.a.string,headline:l.a.string,headline2:l.a.string,linkDisplayUrl:l.a.string,cta:l.a.string,lineItemId:l.a.string}),traffickingData:l.a.shape({clickTracker:l.a.shape({desktop:l.a.string,mobile:l.a.string})})}),R=null,P=l.a.shape({id:l.a.string,creativeConfigData:l.a.shape({disclaimerCopy:l.a.string,headline:l.a.string,headline2:l.a.string,clickthroughUrl:l.a.string,cta:l.a.string,photo:l.a.string,customData:l.a.string,lineItemId:l.a.string}),traffickingData:l.a.shape({clickTracker:l.a.shape({desktop:l.a.string,mobile:l.a.string})})}),L=null,D=l.a.shape({id:l.a.string,creativeConfigData:l.a.shape({adLabel:l.a.string,linkDisclaimer:l.a.string,disclaimerText:l.a.string,headline:l.a.string,headline2:l.a.string,linkDisplayUrl:l.a.string,cta:l.a.string,lineItemId:l.a.string}),traffickingData:l.a.shape({clickTracker:l.a.shape({desktop:l.a.string,mobile:l.a.string})})}),$=null},"./data/models/photoflipper.js":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),r=a("../node_modules/lodash/get.js"),i=a.n(r),o=a("../node_modules/prop-types/index.js"),l=a.n(o),c=a("./data/api/api-client.js"),d=a("./data/luckdragon/segment.js"),m=a("./data/api/api-metrics.js"),u=a("../node_modules/lodash/fp/compose.js"),p=a.n(u),h=a("../node_modules/lodash/fp/map.js"),g=a.n(h),b=a("./data/cms/content.js");const v=e=>e.children(),f=p()(g()(e=>e.getAllMetadata()),v);var E=a("./site-modules/shared/constants/photoflipper/photoflipper.jsx"),y=a("./data/utils/format-urls.js"),_=a("./data/models/cms.js");a.d(t,"c",function(){return C}),a.d(t,"b",function(){return j}),a.d(t,"a",function(){return O}),a.d(t,"e",function(){return A}),a.d(t,"i",function(){return R}),a.d(t,"g",function(){return L}),a.d(t,"h",function(){return D}),a.d(t,"f",function(){return $}),a.d(t,"d",function(){return z});const C=l.a.shape({type:l.a.string,title:l.a.string,category:l.a.string,src:l.a.oneOfType([l.a.string,l.a.number]),thumbnailURL:l.a.string,size:l.a.shape({width:l.a.number,height:l.a.number}),contentType:l.a.string,pageNum:l.a.string,modelYearId:l.a.number}),k="815",N="815,500",j=25,O=16,T=30,S=2*T,I=["exterior","interior","details"],w=["exterior","interior"],x={[E.k]:["exterior","interior","colors"],[E.s]:["all"]},A=e=>{let t=e.make,a=e.model,n=e.submodel,s=e.year,r=e.pageNum;return n?`makes["${t}"].models["${a}"].submodels["${n}"].years["${s}"]["${E.k}"].category.all[${r}]`:`makes["${t}"].models["${a}"].years["${s}"]["${E.k}"].category.all[${r}]`},R=e=>{let t=e.make,a=e.model,n=e.submodel,s=e.year,r=e.category,i=e.pageNum;return r&&r!==E.a?r===E.d.COLORS?(e=>{let t=e.make,a=e.model,n=e.submodel,s=e.year,r=e.pageNum;return n?`makes["${t}"].models["${a}"].submodels["${n}"].years["${s}"]["${E.k}"].category.colors[${r}]`:`makes["${t}"].models["${a}"].years["${s}"]["${E.k}"].category.colors[${r}]`})({make:t,model:a,submodel:n,year:s,pageNum:i}):n?`makes["${t}"].models["${a}"].submodels["${n}"].years["${s}"]["${E.k}"].category["${r}"][${i}]`:`makes["${t}"].models["${a}"].years["${s}"]["${E.k}"].category["${r}"][${i}]`:A({make:t,model:a,submodel:n,year:s,pageNum:i})},P=e=>{let t=e.make,a=e.model,n=e.submodel,s=e.year,r=e.category,i=e.pageNum;return n?`makes["${t}"].models["${a}"].submodels["${n}"].years["${s}"]["${E.s}"].category["${r}"][${i}]`:`makes["${t}"].models["${a}"].years["${s}"]["${E.s}"].category["${r}"][${i}]`},L=e=>{let t=e.make,a=e.model,n=e.submodel,s=e.year,r=e.category,i=e.pageNum;return e.mediaType===E.k?R({make:t,model:a,submodel:n,year:s,category:r,pageNum:i}):P({make:t,model:a,submodel:n,year:s,category:r,pageNum:i})},D=e=>{let t=e.make,a=e.model,n=e.submodel,s=e.year;return n?`makes["${t}"].models["${a}"].submodels["${n}"].years["${s}"]["${E.k}"].counts`:`makes["${t}"].models["${a}"].years["${s}"]["${E.k}"].counts`},$=e=>{let t=e.make,a=e.model,n=e.submodel,s=e.year,r=e.mediaType;return r?r===E.k?D({make:t,model:a,submodel:n,year:s}):(e=>{let t=e.make,a=e.model,n=e.submodel,s=e.year;return n?`makes["${t}"].models["${a}"].submodels["${n}"].years["${s}"]["${E.s}"].counts`:`makes["${t}"].models["${a}"].years["${s}"]["${E.s}"].counts`})({make:t,model:a,submodel:n,year:s}):n?`makes["${t}"].models["${a}"].submodels["${n}"].years["${s}"].counts`:`makes["${t}"].models["${a}"].years["${s}"].counts`};function M(e){let t=e.photos,a=Object(s.a)(e,["photos"]);const r=t.map(e=>{let t=e.sources,a=Object(s.a)(e,["sources"]),r=[];return t.length>0&&(r=[t.reduce((e,t)=>e.size.width>t.size.width?e:t)]),Object(n.a)({},a,{sources:r})});return Object(n.a)({},a,{photos:r})}function V(e,t,a){return n=>{if(n&&n.photosCount>=a)return n;const s=Object.assign({},t,{params:Object.assign({},t.params,{width:N})}),r=Object(y.a)(s);return Object(m.b)(c.c,e).fetchJson(r).then(M)}}function F(e){return e.reduce((e,t)=>{if(!t.photos||!t.photos.length)return e;const a=t.photos[0].category.toLowerCase(),s=e.all+t.photosCount;return Object(n.a)({},e,{[a]:t.photosCount,all:s})},{all:0})}function U(e){return e.reduce((e,t)=>{if(!t.data||!t.data.length)return e;const a=t.data[0].category.toLowerCase(),s=a===E.d.COLORS?e.all:e.all+t.totalCount;return Object(n.a)({},e,{[a]:t.totalCount,all:s})},{all:0})}function Y(e){let t=e.photos,a=e.photosCount,n=e.pageNum,s=e.category;return{data:t.map(e=>{let t=e.title,a=e.category,r=e.sources,o=e.modelYearId;return{type:E.k,title:t,category:s||a.toLowerCase(),src:i()(r,"[0].link.href"),size:i()(r,"[0].size"),pageNum:n,modelYearId:o}}),totalCount:a}}const B={[E.k]:async function(e,t){const a=e.make,n=e.model,s=e.submodel,r=e.year,i=e.pageNum,o=e.category,l={make:a,model:n,year:r,params:{pageNum:i,pageSize:await t.resolveValue("pageSize"),width:k,provider:"OEM,EVOX",photoprovider:"EVOX,OEM"}};I.includes(o)&&(l.params.category=o),s&&(l.params.submodel=s);const d=Object(y.a)(l),u=o===E.a?S:T,p=await Object(m.b)(c.c,t).fetchJson(d).then(V(t,l,u));return Y({photos:p.photos,photosCount:p.photosCount,pageNum:i,category:o})},[E.s]:async function(e,t){const a=e.make,n=e.model,s=e.year,r=e.mediaType,i=e.pageNum,o=e.category,l=await t.resolveValue(`content["/${a}/${n}/${s}/photos"]`,_.b),c=Object(b.e)(l).child("video-content"),d=f(c);return{data:d.map(e=>{let t=e.videoTitle,a=e.videoId,n=e.thumbnailURL,s=e.type;return{type:r,title:t,category:o,src:a,thumbnailURL:n,pageNum:i,contentType:s}}),totalCount:d.length}}};function W(e,t){return B[e.mediaType](e,t)}const z=Object(d.a)("photoflipper",[{path:'makes["{make}"].models["{model}"].years["{year}"].photoGallery[{pageNum}]',resolve(e,t){const a={make:e.make,model:e.model,year:e.year,params:{pageNum:e.pageNum,pageSize:5,width:k,provider:"OEM,EVOX",photoprovider:"EVOX,OEM"}},n=Object(y.a)(a);return Object(m.b)(c.c,t).fetchJson(n).then(V(t,a,T)).catch(()=>({}))}},{path:'makes["{make}"].models["{model}"].submodels["{submodel}"].years["{year}"].photoGallery.category["{category}"][{pageNum}]',resolve(e,t){const a=e.make,n=e.model,s=e.submodel,r=e.year,i=e.pageNum,o={make:a,model:n,year:r,params:{submodel:s,category:e.category,pageNum:i,pageSize:j,width:k,provider:"OEM,EVOX",photoprovider:"EVOX,OEM"}},l=Object(y.a)(o);return Object(m.b)(c.c,t).fetchJson(l).then(V(t,o,T)).catch(()=>({}))}},{path:'makes["{make}"].models["{model}"].years["{year}"].photoGallery.category["{category}"][{pageNum}]',resolve(e,t){const a=e.make,n=e.model,s=e.year,r=e.pageNum,i={make:a,model:n,year:s,params:{category:e.category,pageNum:r,pageSize:j,width:k,provider:"OEM,EVOX",photoprovider:"EVOX,OEM"}},o=Object(y.a)(i);return Object(m.b)(c.c,t).fetchJson(o).then(V(t,i,T)).catch(()=>({}))}},{path:'makes["{make}"].models["{model}"].years["{year}"].photosCounts',resolve(e,t){const a=e.make,n=e.model,s=e.year;return Promise.all(w.map(e=>t.resolveValue(`makes["${a}"].models["${n}"].years["${s}"].photoGallery.category["${e}"][1]`))).then(F)}},{path:'makes["{make}"].models["{model}"].submodels["{submodel}"].years["{year}"].photosCounts',resolve(e,t){const a=e.make,n=e.model,s=e.year,r=e.submodel;return Promise.all(w.map(e=>t.resolveValue(`makes["${a}"].models["${n}"].submodels["${r}"].years["${s}"].photoGallery.category["${e}"][1]`))).then(F)}},{path:'makes["{make}"].models["{model}"].submodels["{submodel}"].years["{year}"]["{mediaType}"].category["{category}"][{pageNum}]',resolve:(e,t)=>W(e,t)},{path:'makes["{make}"].models["{model}"].years["{year}"]["{mediaType}"].category["{category}"][{pageNum}]',resolve:(e,t)=>W(e,t)},{path:'makes["{make}"].models["{model}"].submodels["{submodel}"].years["{year}"]["{mediaType}"].category.colors[{pageNum}]',async resolve(e,t){const a=e.make,s=e.model,r=e.submodel,i={make:a,model:s,year:e.year,params:{submodel:r,pageNum:e.pageNum,pageSize:await t.resolveValue("pageSize"),width:k,provider:"OEM,EVOX",photoprovider:"OEM,EVOX",groupfield:"color",shottype:"TDS,FQ,TDS2,S,TDS3,RQ"},groupBy:!0},o=Object(y.a)(i);return Object(m.b)(c.c,t).fetchJson(o).then(V(t,i,T)).then(t=>Y(Object(n.a)({},t,e,{category:E.d.COLORS}))).catch(()=>({}))}},{path:'makes["{make}"].models["{model}"].years["{year}"]["{mediaType}"].category.colors[{pageNum}]',async resolve(e,t){const a={make:e.make,model:e.model,year:e.year,params:{pageNum:e.pageNum,pageSize:await t.resolveValue("pageSize"),width:k,provider:"OEM,EVOX",photoprovider:"OEM,EVOX",groupfield:"color",shottype:"TDS,FQ,TDS2,S,TDS3,RQ"},groupBy:!0},s=Object(y.a)(a);return Object(m.b)(c.c,t).fetchJson(s).then(V(t,a,T)).then(t=>Y(Object(n.a)({},t,e,{category:E.d.COLORS}))).catch(()=>({}))}},{path:'makes["{make}"].models["{model}"].submodels["{submodel}"].years["{year}"]["{mediaType}"].category.all[{pageNum}]',resolve:(e,t)=>W(Object(n.a)({},e,{category:E.a}),t)},{path:'makes["{make}"].models["{model}"].years["{year}"]["{mediaType}"].category.all[{pageNum}]',resolve:(e,t)=>W(Object(n.a)({},e,{category:E.a}),t)},{path:'makes["{make}"].models["{model}"].years["{year}"].counts',resolve(e,t){const a=t.resolveValue(P(Object(n.a)({},e,{category:E.s,pageNum:1}))),s=x[E.k].map(a=>t.resolveValue(R(Object(n.a)({},e,{category:a,pageNum:1}))));return Promise.all(s.concat([a])).then(U)}},{path:'makes["{make}"].models["{model}"].years["{year}"]["{mediaType}"].counts',resolve(e,t){const a=e.mediaType;return Promise.all(x[a].map(s=>t.resolveValue(L(Object(n.a)({},e,{category:s,mediaType:a,pageNum:1}))))).then(U)}},{path:'makes["{make}"].models["{model}"].submodels["{submodel}"].years["{year}"].counts',resolve(e,t){const a=t.resolveValue(P(Object(n.a)({},e,{category:E.s,pageNum:1}))),s=x[E.k].map(a=>t.resolveValue(R(Object(n.a)({},e,{category:a,pageNum:1}))));return Promise.all(s.concat([a])).then(U)}},{path:'makes["{make}"].models["{model}"].submodels["{submodel}"].years["{year}"]["{mediaType}"].counts',resolve(e,t){const a=e.mediaType;return Promise.all(x[a].map(s=>t.resolveValue(L(Object(n.a)({},e,{category:s,mediaType:a,pageNum:1}))))).then(U)}},{path:"pageSize",resolve:()=>Promise.resolve(j)}])},"./data/models/safety-map.js":function(e,t,a){"use strict";a.d(t,"a",function(){return n}),a.d(t,"b",function(){return s});const n={RATING:"rating",STRING:"string",PERCENTAGE:"percentage"},s={nhtsaRatings:{frontalBarrierCrash:{name:"Frontal Barrier Crash Rating",values:{overall:{name:"Overall",type:n.RATING},driver:{name:"Driver",type:n.RATING},passenger:{name:"Passenger",type:n.RATING}}},sideCrash:{name:"Side Crash Rating",values:{overall:{name:"Overall",type:n.RATING}}},sideBarrierCrash:{name:"Side Barrier Rating",values:{overall:{name:"Overall",type:n.RATING},driver:{name:"Driver",type:n.RATING},passenger:{name:"Passenger",type:n.RATING}}},sideBarrierAndPoleCrash:{name:"Combined Side Barrier & Pole Ratings",values:{frontSeat:{name:"Front Seat",type:n.RATING},backSeat:{name:"Back Seat",type:n.RATING}}},rollover:{name:"Rollover",values:{rollover:{name:"Rollover",type:n.RATING},dynamicTestResult:{name:"Dynamic Test Result",type:n.STRING},riskOfRolloverPercent:{name:"Risk Of Rollover",type:n.PERCENTAGE}}}},iihsRatings:{sideImpact:"Side Impact Test",roofStrength:"Roof Strength Test",rearHeadProtectionAndHeadRestraint:"Rear Crash Protection / Head Restraint",smallOverlapFront:"IIHS Small Overlap Front Test",moderateOverlapFront:"Moderate Overlap Front Test"}}},"./data/models/safety.js":function(e,t,a){"use strict";a.d(t,"a",function(){return u}),a.d(t,"c",function(){return p}),a.d(t,"b",function(){return h});var n=a("../node_modules/prop-types/index.js"),s=a.n(n),r=a("./data/luckdragon/segment.js"),i=a("./data/api/api-metrics.js"),o=a("./data/api/api-client.js"),l=a("./data/models/vehicle.js");const c=s.a.shape({overall:s.a.number,frontalBarrierCrash:s.a.shape({overall:s.a.number,driver:s.a.number,passenger:s.a.number}),sideCrash:s.a.shape({overall:s.a.number}),sideBarrierCrash:s.a.shape({overall:s.a.number,driver:s.a.number,passenger:s.a.number,sidePoleRating:s.a.number}),sideBarrierAndPoleCrash:s.a.shape({frontSeat:s.a.number,backSeat:s.a.number}),rollover:s.a.shape({rollover:s.a.number,dynamicTestResult:s.a.string,riskOfRolloverPercent:s.a.number})}),d=s.a.shape({sideImpact:s.a.string,roofStrength:s.a.string,rearHeadProtectionAndHeadRestraint:s.a.string,smallOverlapFront:s.a.string,moderateOverlapFront:s.a.string}),m=s.a.shape({NhtsaRatings:c,IihsRatings:d,jdPowerRatings:s.a.shape({year:s.a.number,overallQuality:s.a.string,powerTrainMechanicalQuality:s.a.string,overallDesignQuality:s.a.string,featuresAndAccessDesignQuality:s.a.string,powerTrainDesignQuality:s.a.string,overallMechanicalQuality:s.a.string,bodyAndInteriorMechanicalQuality:s.a.string,featuresAndAccessMechanicalQuality:s.a.string,bodyAndInteriorDesignQuality:s.a.string})}),u={Safety:s.a.shape({styleId:s.a.number,submodel:s.a.shape({id:s.a.number,identifier:s.a.string,name:s.a.string}),ratings:m}),Ratings:m,NhtsaRatings:c,IihsRatings:d};function p(e){let t=e.params;return`${Object(l.w)(t)}.ratings`}const h=Object(r.a)("safety",[{path:'makes["{make}"].models["{model}"].years["{year}"].ratings',async resolve(e,t){const a=`/vehicle/v3/${e.make}/${e.model}/${e.year}/safetyandreliabilityratings`;return(await Object(i.b)(o.c,t).fetchJson(a)).ratings}}])},"./data/models/type-rankings.js":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/lodash/sortBy.js"),r=a.n(s),i=a("../node_modules/lodash/get.js"),o=a.n(i),l=a("../node_modules/prop-types/index.js"),c=a.n(l),d=a("./data/graphql/graphql-client.js"),m=a("./data/api/api-metrics.js"),u=a("./site-modules/shared/utils/query-type-mapping.js"),p=a("./data/luckdragon/segment.js");const h={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"rangeFields"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"FloatRange"}},directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"min"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"max"},arguments:[],directives:[]}]}}],loc:{start:0,end:70,source:{body:"\n    fragment rangeFields on FloatRange {\n      min\n      max\n    }\n  ",name:"GraphQL request",locationOffset:{line:1,column:1}}}};var g=a("./site-modules/shared/constants/upper-funnel/car-types.js");a.d(t,"c",function(){return C}),a.d(t,"d",function(){return k}),a.d(t,"a",function(){return N}),a.d(t,"b",function(){return j});const b={SIZE_100:100},v=c.a.shape({model:c.a.shape({preProd:c.a.arrayOf(c.a.shape({year:c.a.number})),make:c.a.shape({name:c.a.string,slug:c.a.string}),name:c.a.string,slug:c.a.string}),generations:c.a.arrayOf(c.a.shape({generation:c.a.number,generationYears:c.a.arrayOf(c.a.number)})),year:c.a.number,publicationStates:c.a.arrayOf(c.a.string)}),f=c.a.shape({min:c.a.number,max:c.a.number}),E=c.a.shape({baseStyle:c.a.shape({id:c.a.string,trim:c.a.shape({bodyType:c.a.shape({slug:c.a.string,name:c.a.string})})}),rank:c.a.number,modelYear:v,mpgRange:f,priceRange:f,note:c.a.string,rating:c.a.number,rankedSubmodel:c.a.string,slugRankedSubmodel:c.a.string,maxTowingCapacity:c.a.number}),y=c.a.shape({rank:c.a.number,slugRankedSubmodel:c.a.string,editorialSegment:c.a.shape({displayName:c.a.string,edmundsTypeCategory:c.a.string,id:c.a.string})}),_={id:c.a.string,edmundsTypeCategory:c.a.string,description:c.a.string,displayName:c.a.string,market:c.a.string,subsegment:c.a.string};function C(e){return`types["${e}"].pageSize["${arguments.length>1&&void 0!==arguments[1]?arguments[1]:b.SIZE_100}"]`}function k(e){return`makes["${e.makeSlug}"].models["${e.modelSlug}"].years["${e.year}"].segmentRatings`}const N={VehicleRanking:c.a.shape(Object(n.a)({},_,{segmentRatings:c.a.arrayOf(E)})),VehicleRankingDescription:_,SegmentRating:y,RankingVehicle:E,ModelYear:v,Range:f};const j=Object(p.a)("typeRankings",[{path:'types["{typeSlug}"].pageSize["{pageSize}"]',resolve(e,t){const a=e.typeSlug,s=e.pageSize,i=Object(u.b)(a);return Object(m.b)(d.a,t).query({kind:"Document",definitions:(e=>{const t={};return e.filter(e=>{if("FragmentDefinition"!==e.kind)return!0;const a=e.name.value;return!t[a]&&(t[a]=!0,!0)})})([{kind:"OperationDefinition",operation:"query",variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"typeName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pageSize"}},type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"isTruck"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Boolean"}}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"vehicleEditorialRankings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"edmundsTypeCategory"},value:{kind:"Variable",name:{kind:"Name",value:"typeName"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"edmundsTypeCategory"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"subsegment"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"market"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"description"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"segmentRatings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"pagesize"},value:{kind:"Variable",name:{kind:"Name",value:"pageSize"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"modelYear"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"publicationStates"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"year"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"model"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"preProd"},name:{kind:"Name",value:"modelYears"},arguments:[{kind:"Argument",name:{kind:"Name",value:"publicationState"},value:{kind:"EnumValue",value:"PRE_PROD"}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"year"},arguments:[],directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"make"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"generations"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"generation"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"generationYears"},arguments:[],directives:[]}]}}]}},{kind:"Field",name:{kind:"Name",value:"rank"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"rankedSubmodel"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slugRankedSubmodel"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"rating"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"note"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"maxTowingCapacity"},arguments:[],directives:[{kind:"Directive",name:{kind:"Name",value:"include"},arguments:[{kind:"Argument",name:{kind:"Name",value:"if"},value:{kind:"Variable",name:{kind:"Name",value:"isTruck"}}}]}]},{kind:"Field",name:{kind:"Name",value:"priceRange"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"rangeFields"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"mpgRange"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"rangeFields"},directives:[]}]}},{kind:"Field",name:{kind:"Name",value:"baseStyle"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"trim"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bodyType"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"slug"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"name"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}].concat(h.definitions)),loc:{start:0,end:1623,source:{body:"\n            \n            query($typeName: String!, $pageSize: Int, $isTruck: Boolean!) {\n              vehicleEditorialRankings(edmundsTypeCategory: $typeName) {\n                id\n                edmundsTypeCategory\n                subsegment\n                market\n                displayName\n                description\n                segmentRatings(pagesize: $pageSize) {\n                  modelYear {\n                    publicationStates\n                    year\n                    model {\n                      preProd: modelYears(publicationState: PRE_PROD) {\n                        year\n                      }\n                      name\n                      slug\n                      make {\n                        name\n                        slug\n                      }\n                    }\n                    generations {\n                      generation\n                      generationYears\n                    }\n                  }\n                  rank\n                  rankedSubmodel\n                  slugRankedSubmodel\n                  rating\n                  note\n                  maxTowingCapacity @include(if: $isTruck)\n                  priceRange {\n                    ...rangeFields\n                  }\n                  mpgRange {\n                    ...rangeFields\n                  }\n                  baseStyle {\n                    id\n                    trim {\n                      bodyType {\n                        slug\n                        name\n                      }\n                    }\n                  }\n                }\n              }\n            }\n          ",name:"GraphQL request",locationOffset:{line:1,column:1}}}},{typeName:i,pageSize:parseInt(s,10),isTruck:a===g.c.TRUCK}).then(e=>{return function(e){return e.map(e=>Object(n.a)({},e,{segmentRatings:r()(e.segmentRatings,["rank","modelYear.model.make.name","modelYear.model.name"])}))}(e.vehicleEditorialRankings).filter(e=>{return e.segmentRatings.some(e=>{return!!e.rank})})})}},{path:'makes["{makeSlug}"].models["{modelSlug}"].years["{year}"].segmentRatings',resolve(e,t){let a=e.makeSlug,n=e.modelSlug,s=e.year;return Object(m.b)(d.a,t).query({kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"makeSlug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"modelSlug"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"year"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"allVehicles"},arguments:[{kind:"Argument",name:{kind:"Name",value:"makeSlug"},value:{kind:"Variable",name:{kind:"Name",value:"makeSlug"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"models"},arguments:[{kind:"Argument",name:{kind:"Name",value:"modelSlug"},value:{kind:"Variable",name:{kind:"Name",value:"modelSlug"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"modelYears"},arguments:[{kind:"Argument",name:{kind:"Name",value:"year"},value:{kind:"Variable",name:{kind:"Name",value:"year"}}}],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"segmentRatings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rank"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"slugRankedSubmodel"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"editorialSegment"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"edmundsTypeCategory"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"id"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"displayName"},arguments:[],directives:[]},{kind:"Field",name:{kind:"Name",value:"segmentRatings"},arguments:[],directives:[],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"rating"},arguments:[],directives:[]}]}}]}}]}}]}}]}}]}}]}}],loc:{start:0,end:693,source:{body:"\n            query($makeSlug: String!, $modelSlug: String!, $year: Int!) {\n              allVehicles(makeSlug: $makeSlug) {\n                models(modelSlug: $modelSlug) {\n                  modelYears(year: $year) {\n                    segmentRatings {\n                      rank\n                      slugRankedSubmodel\n                      editorialSegment {\n                        edmundsTypeCategory\n                        id\n                        displayName\n                        segmentRatings {\n                          rating\n                        }\n                      }\n                    }\n                  }\n                }\n              }\n            }\n          ",name:"GraphQL request",locationOffset:{line:1,column:1}}}},{makeSlug:a,modelSlug:n,year:parseInt(s,10)}).then(e=>o()(e,"allVehicles[0].models[0].modelYears[0].segmentRatings",null))}}])},"./data/models/unified-lead-form.js":function(e,t,a){"use strict";a.d(t,"a",function(){return v}),a.d(t,"b",function(){return y}),a.d(t,"d",function(){return _}),a.d(t,"g",function(){return C}),a.d(t,"e",function(){return k}),a.d(t,"f",function(){return N}),a.d(t,"c",function(){return j});a("../node_modules/core-js/modules/es6.regexp.split.js");var n=a("../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=a("../node_modules/lodash/get.js"),r=a.n(s),i=a("../node_modules/lodash/isNumber.js"),o=a.n(i),l=a("../node_modules/prop-types/index.js"),c=a.n(l),d=a("./data/luckdragon/segment.js"),m=a("./data/api/api-client.js"),u=a("./data/api/api-metrics.js"),p=a("./utils/isomorphic-logger.js"),h=a("./site-modules/shared/constants/lead-form/lead-form-params.js"),g=a("./data/models/visitor.js"),b=a("./data/models/feature-flag.js");const v={name:"Any Color",properties:{rgb:"any"}};function f(e){const t=r()(e,"dealerInfo.franchiseId",{}),a=r()(e,"vehicleInfo.vehicleColors.exterior.nameRGB",{}),s=Object.keys(a).map(e=>{const t=e.split("|"),a=Object(n.a)(t,2);return{name:a[0],properties:{rgb:a[1]}}});return{vehicleColors:{exterior:[v,...s]},dealers:t}}const E=c.a.shape({exterior:c.a.arrayOf(c.a.shape({name:c.a.string,properties:c.a.shape({rgb:c.a.string})}))}),y=c.a.shape({vehicleColors:E,dealers:c.a.objectOf(c.a.number)});function _(e){return e.filter(e=>{return e.leadTypeId===h.f.NEW_CAR_INVENTORY}).map(e=>r()(e,"inventory.dealerInfo.franchiseId")).join()}function C(e){return e&&`makes["${e}"].dealerCount`}function k(e,t){return e&&t&&`styleIds["${e}"].dealers["${t}"].aggregatedInfo`}function N(e,t,a){return e&&t&&`styleIds["${e}"].dealers["${t}"].color["${a}"].inventories`}const j=Object(d.a)("unifiedLeadForm",[{path:'makes["{make}"].dealerCount',async resolve(e,t){let a=e.make;return await t.resolveValue("disable-ulf-dealer-count",b.a)?0:t.resolveValue("location.zipCode",g.d).then(e=>{const n=`/lead-business/v1/dealercount?zip=${e}&make=${a}&radius=100`;return Object(u.b)(m.c,t).fetchJson(n).then(e=>e&&o()(e.resultSize)?e.resultSize:0).catch(e=>(Object(p.a)("error",`Not able to get dealer count. Error - ${e}`),0))})}},{path:'styleIds["{styleId}"].dealers["{franchiseIds}"].aggregatedInfo',async resolve(e,t){let a=e.styleId;const n=`/inventory/v5/aggregate?dealerInfo.franchiseId=${e.franchiseIds}&vehicleInfo.styleInfo.styleId=${a}&dealerInfo.productFeatures.ppInventory=true&by=vehicleInfo.vehicleColors.exterior.nameRGB,dealerInfo.franchiseId`;return Object(u.b)(m.c,t).fetchJson(n).then(f)}},{path:'styleIds["{styleId}"].dealers["{franchiseIds}"].color["{color}"].inventories',async resolve(e,t){let a=e.styleId,n=e.franchiseIds,s=e.color;return t.resolveValue("location.zipCode",g.d).then(e=>{const r=`/inventory/v5/onePerDealer?dealerInfo.franchiseId=${n}&vehicleInfo.styleInfo.styleId=${a}&vehicleInfo.vehicleColors.exterior.name=${s}&zip=${e}&dealerInfo.productFeatures.ppInventory=true&pagenum=1&pagesize=3&radius=6000&deliveryType=all&view=DEFAULT_SRP&sortby=_geo:desc&fields=stockNumber,vin,dealerInfo.franchiseId,vehicleInfo.vehicleColors.exterior(name,r,g,b),prices(totalMsrp,tmv),computedInfo.bestDealPrice`;return Object(u.b)(m.c,t).fetchJson(r)})}}])},"./data/models/vehicle-type.js":function(e,t,a){"use strict";a.d(t,"b",function(){return m}),a.d(t,"a",function(){return u}),a.d(t,"c",function(){return p});var n=a("../node_modules/lodash/get.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("./data/luckdragon/segment.js"),l=a("./data/api/api-client.js"),c=a("./data/api/api-metrics.js");const d={Convertible:"convertible",Coupe:"coupe",Crossover:"crossover",Diesel:"diesel",Hatchback:"hatchback",Hybrid:"hybrid",Luxury:"luxury",Minivan:"minivan",Sedan:"sedan",SUV:"suv",Truck:"truck",Wagon:"wagon",Electric:"electric","Certified-Cars":"certified-cars",Performance:"sports-car"};const m=Object(o.a)("vehicleType",[{path:'makes["{make}"].models["{model}"].years["{year}"].types',async resolve(e,t){const a=`/vehicle/v3/modelYears?makeNiceId=${e.make}&modelNiceId=${e.model}&year=${e.year}&pagesize=1&pagenum=1&fields=categoryValues`;return(await Object(c.b)(l.c,t).fetchJson(a).then(e=>s()(e,"results[0].categoryValues",[]))).reduce((e,t)=>{const a=function(e){return d[e]}(t);return a&&e.push(a),e},[])}}]),u={Types:i.a.arrayOf(i.a.string)};function p(e){let t=e.make,a=e.model,n=e.year;return t&&a&&n?`makes["${t}"].models["${a}"].years["${n}"].types`:""}},"./engagement-handlers/carousel-engagement-handler/carousel-engagement-handler.js":function(e,t,a){"use strict";a.d(t,"a",function(){return p});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/react-dfp/lib/index.js"),r=a("./utils/event-toolbox.js"),i=a("./site-modules/shared/components/carousel/events.js"),o=a("./engagement-handlers/helper.js"),l=a("./actions/ads-refresh.js"),c=a("./site-modules/shared/components/ad-unit/utils/refresh-rules.js"),d=a("../node_modules/lodash/debounce.js"),m=a.n(d);const u="carousel";const p={init(e){let t=e.getState;r.a.on(i.a.SWIPE,function(e){const t=e.detail,a=t.target,s=t.data,i=void 0===s?{}:s,l=i.currentSlide,c=i.nextSlide,d=i.total,m=i.contentType,u=i.contentDetails,p=i.customEventData,h=void 0===p?{}:p,g=i.photoType,b=i.actionCause,v=a,f=v.querySelector(`.slick-slide[data-index="${c}"]`),E=f.querySelector("[data-carousel-tracking-value]"),y=f&&(E?E.innerText.toLowerCase():f.innerText.toLowerCase()),_=Object(o.b)(v),C=Object(n.a)({carousel_index:c+1,carousel_prev_index:l+1,carousel_total:d,value:y,creative_id:_,action_category:"user",action_name:`view_${m}`,subaction_name:`view_${u}`,action_cause:b||"swipe",photo_type:g},h);r.a.fireTrackAction({event_type:"action_completed",event_data:C})}),r.a.on(i.a.SWIPE,function(e,t){return m()(()=>{if(c.a.refreshOn.carousel.size&&Object(l.a)(u,t)){const e=Array.from(c.a.refreshOn.carousel);s.DFPManager.refresh(...e)}},e)}(500,t))}}},"./engagement-handlers/core-pricing-carousel-engagement-handler/core-pricing-carousel-engagement-handler.js":function(e,t,a){"use strict";var n=a("./utils/event-toolbox.js"),s=a("./site-modules/shared/utils/core-page/core-configurations.js"),r=a("./tracking/constant.js"),i=a("./engagement-handlers/helper.js");const o="saving_retrieval";function l(e,t){let a=t.isPageLoad,n=t.coreConfigurations;const l=Object(s.c)(n)||0,c=[];let d=0;if(n&&n.length>0){let e=0;n.forEach(t=>{e=t.inventoryCount||0,d+=e,c.push(e)})}return{event_type:"action_completed",event_data:{action_name:o,creative_id:Object(i.b)(e),est_savings:l,match_inv_list:c,match_total:d,action_category:r.b.SYSTEM_ACTION_CATEGORY,action_cause:a?"page_load":"data_update"}}}a.d(t,"a",function(){return c}),a.d(t,"b",function(){return u});const c={INITIAL_LOAD:"corePricingCarousel.initialLoad",DATA_UPDATE:"corePricingCarousel.dataUpdate"};function d(e){let t=e.detail.coreConfigurations,a=e.target;n.a.fireTrackAction(l(a,{coreConfigurations:t,isPageLoad:!0}))}function m(e){let t=e.detail,a=t.previousCoreConfigurations,s=t.coreConfigurations,r=e.target;const i=l(r,{coreConfigurations:a,isPageLoad:!1}),o=l(r,{coreConfigurations:s,isPageLoad:!1});(function(e){let t=e.previousPixelData,a=e.pixelData;const n=t.event_data,s=a.event_data;return n.est_savings===s.est_savings&&n.match_inv_list.length===s.match_inv_list.length&&n.match_total===s.match_total})({previousPixelData:i,pixelData:o})||function(e){const t=e.pixelData.event_data;return 0===t.est_savings&&0===t.match_total}({pixelData:o})||n.a.fireTrackAction(o)}const u={init:()=>{n.a.on(c.INITIAL_LOAD,d),n.a.on(c.DATA_UPDATE,m)}}},"./engagement-handlers/inventory-engagement-handler/constants.js":function(e,t,a){"use strict";a.d(t,"b",function(){return n}),a.d(t,"j",function(){return s}),a.d(t,"h",function(){return r}),a.d(t,"f",function(){return i}),a.d(t,"c",function(){return o}),a.d(t,"e",function(){return l}),a.d(t,"d",function(){return c}),a.d(t,"i",function(){return d}),a.d(t,"g",function(){return m}),a.d(t,"a",function(){return u});const n={VDP_DEALER_PHOTO:"vehicleInfo.photo.photoUrls.defaultPhoto.largePhotoCount",SRP_DEALER_PHOTO:"vehicleInfo.photo.defaultPhoto.largePhotoCount",STOCK_PHOTO_PROVIDER:"stockPhotoInfo.stockPhotos[0].provider",DEALER_RATING:"dealerInfo.displayInfo.salesOverallRating",FIVE_STAR_DEALER:"dealerInfo.displayInfo.fiveStarYears",PARTNER_ID:"dealerInfo.rooftopId",PRICE:"prices.displayPrice",DEAL_INDICATOR:"thirdPartyInfo.priceValidation.dealType",BELOW_MARKET:"computedInfo.discountPrice",DAYS_LISTED:"daysListedSince",RECOMMENDED_OFFER:"prices.pricePromise.guaranteedPrice",CONTACT_OPTIONS:"computedDisplayInfo.ctas",FREE_HISTORY_REPORT:"historyInfo.freeHistoryReport",HISTORY_PROVIDER:"historyInfo.historyProvider",INVENTORY_TYPE:"type",DELIVERY_CODE:"deliveryOptions.deliveryCode",SORT_BY_ALGORITHM:"sort",DEALER_DISTANCE:"dealerInfo.distance"},s="yes",r="no",i="",o=[],l=0,c="no_delivery",d={DEALER:"Dealer",EVOX:"EVOX",OEM:"OEM",DEFAULT:"EVOX/OEM",NO_IMAGE:"silhouette"},m={SUGGESTED:"suggested",EXACT:"exact",CPO:"cpo",NOT_CPO:"not_cpo",DELIVERY:{FREE:"free_delivery",PAID:"paid_delivery",[c]:"local"}},u={INVENTORY_LIST_VIEW:"inventory_list_view",PRICE_PROMISE_PRICE_DISPLAY:"price_promise_price_display"}},"./engagement-handlers/profile-engagement-handler/profile-engagement-handler.js":function(e,t,a){"use strict";a.d(t,"m",function(){return l}),a.d(t,"l",function(){return c}),a.d(t,"k",function(){return d}),a.d(t,"h",function(){return m}),a.d(t,"f",function(){return u}),a.d(t,"d",function(){return p}),a.d(t,"e",function(){return h}),a.d(t,"c",function(){return g}),a.d(t,"j",function(){return v}),a.d(t,"i",function(){return f}),a.d(t,"g",function(){return E}),a.d(t,"a",function(){return y}),a.d(t,"n",function(){return _}),a.d(t,"b",function(){return C});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("./utils/event-toolbox.js"),r=a("./tracking/constant.js"),i=a("./tracking/profile-tracking-constants.js");const o=e=>s.a.fireTrackAction(Object(n.a)({ads:{disable_refresh:!0}},e)),l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=Object(n.a)({action_category:"user",action_cause:"button_click",action_name:r.b.ACTION_SIGN_IN,subaction_name:r.b.AUTHENTICATE_SOCIAL,creative_id:i.a.SIGN_IN_SOCIAL_CREATIVE_ID},e);o({event_type:"action_end",event_data:t})},c=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=Object(n.a)({action_category:"user",action_cause:"button_click",action_name:r.b[`ACTION_${e}`],subaction_name:r.b[`SUCCESS_${e}`],creative_id:i.a[`${e}_DRAWER_CREATIVE_ID`]},t);o({event_type:"action_end",event_data:a})},d=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=Object(n.a)({action_name:r.b.SAVE_VEHICLE,subaction_name:r.b.SAVE_MODEL,action_category:"user",action_cause:"button_click",creative_id:i.a[`${e}_DRAWER_CREATIVE_ID`]},t);o({event_type:"action_completed",event_data:a})},m=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=Object(n.a)({action_category:"user",action_cause:"button_click",action_name:r.b[`ACTION_${e}`],subaction_name:r.b[`SUBMIT_${e}`],creative_id:i.a[`${e}_DRAWER_CREATIVE_ID`]},t);o({event_type:"action_progress",event_data:a})},u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=Object(n.a)({action_category:"user",action_cause:"button_click",action_name:r.b[`ACTION_${e}`],subaction_name:r.b[`AUTHENTICATE_${e}`],creative_id:i.a[`${e}_DRAWER_CREATIVE_ID`]},t);o({event_type:"action_completed",event_data:a})},p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=Object.keys(e).map(t=>`${t}:${e[t]}`).join(","),s=Object(n.a)({action_category:"user",action_cause:"link_click",action_name:r.b.SAVE_VEHICLE,subaction_name:r.b.SAVE_SEARCH,creative_id:i.a.AUTHENTICATED_SAVE_SEARCH,value:a},t);o({event_type:"action_completed",event_data:s})},h=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=Object(n.a)({action_category:"user",action_cause:"link_click",action_name:r.b.SAVE_VEHICLE,subaction_name:r.b.SAVE_VIN,creative_id:i.a.AUTHENTICATED_SAVE_VIN,value:e},t);o({event_type:"action_completed",event_data:a})},g=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const a=Object(n.a)({action_category:"user",action_cause:"link_click",action_name:r.b.SAVE_VEHICLE,subaction_name:r.b.SAVE_APPRAISAL,creative_id:i.a.AUTHENTICATED_SAVE_APPRAISAL,value:e},t);o({event_type:"action_completed",event_data:a})},b=e=>{const t={action_category:"user",action_cause:"link_click",action_name:r.b.ACTION_UPDATE_MEMBERSHIP,subaction_name:e,creative_id:i.a.AUTH_ACTION_CREATIVE_ID};o({event_type:"action_completed",event_data:t})},v=()=>b(r.b.RESET_PASSWORD_SUCCESS),f=()=>b(r.b.RESET_PASSWORD_FAILURE),E=e=>{const t={action_category:"user",action_cause:"click",action_name:r.b.ACTION_RESET_NAVIGATION,subaction_name:r.b.NAVIGATION_CLOSE,creative_id:e};o({event_type:"action_completed",event_data:t})},y=()=>{const e={action_name:r.b.ACTION_WIDGET_VIEW,action_cause:r.b.ACTION_CAUSE_DRAWER_OPEN,creative_id:"authenticated-modal"};o({event_type:r.b.ACTION_WIDGET_VIEW,event_data:e})},_=()=>{const e={action_name:r.b.ACTION_SIGN_UP,subaction_name:r.b.SUCCESS_EMAIL_ONLY_SIGN_UP,action_cause:"button_click",creative_id:"authenticated-modal"};o({event_type:"action_progress",event_data:e})},C=e=>{const t={action_name:r.b.ACTION_SIGN_UP,subaction_name:r.b.BEGIN_SIGN_UP,action_cause:"link_click",creative_id:"authenticated-modal",value:i.a[e]};o({event_type:"action_start",event_data:t})}},"./engagement-handlers/site-served-ads-engagement-handler/site-served-ads-engagement-handler.js":function(e,t,a){"use strict";a.d(t,"a",function(){return r}),a.d(t,"b",function(){return i});var n=a("./utils/event-toolbox.js"),s=a("./engagement-handlers/helper.js");function r(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";t&&n.a.fireTrackAction({event_type:"action_completed",event_data:{action_name:"native_ad_load",action_category:"system",value:e,action_cause:"page_load",creative_id:Object(s.b)(t),click_correlator_ts:a,position:r}})}function i(e){e&&n.a.fireTrackAction({event_type:"action_completed",event_data:{action_name:"ad_load",action_category:"system",action_cause:"page_load",creative_id:Object(s.b)(e)}})}},"./images/404.jpg":function(e,t,a){e.exports=a.p+"91ffdd356f5430c67363d80f3451496b.jpg"},"./images/logo-white.svg":function(e,t,a){e.exports=a.p+"e20178b235b6f0e24fff96df81b22919.svg"},"./selectors/experiment.js":function(e,t,a){"use strict";a.d(t,"b",function(){return n}),a.d(t,"a",function(){return s});const n=function(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ctrl";const n=e.experiments.computed[t];return n&&n.recipe&&(n.recipe.forced||n.recipe.value)||a},s=function(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"ctrl";const s=e.experiments.computed[t],r=e.experiments.published[t];if(r){const e=r.makes;if(e&&!e.includes(a))return s&&s.recipe&&s.recipe.forced||n}return s&&s.recipe&&(s.recipe.forced||s.recipe.value)||n}},"./seo/schemas/article.js":function(e,t,a){"use strict";a.d(t,"a",function(){return h}),a.d(t,"b",function(){return b});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=(a("../node_modules/core-js/modules/es6.regexp.split.js"),a("../node_modules/lodash/find.js")),r=a.n(s),i=a("../node_modules/lodash/get.js"),o=a.n(i),l=a("./site-modules/shared/pages/seo.jsx"),c=a("./utils/image-helpers.js"),d=a("./utils/string-utils.js"),m=a("./seo/schemas/image.js"),u=a("./seo/schemas/organization.js");function p(e){return{"@type":"Person",name:e}}function h(e,t,a){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Article";const s=e.title,r=e.subtitle,i=e.summary,c=e.updated,d=e.published,m=e.authors,h=e.metadata("canonical").value(),g=a||o()(m,"[0].name",""),b=Object(u.a)();return{"@context":l.e,"@type":n,name:s,headline:s,mainEntityOfPage:h,description:i,datePublished:d,dateModified:c,alternativeHeadline:r,publisher:b,image:t,author:g?p(g):b}}function g(e){let t=e.article,a=e.defaultImageSchema,s=e.firstImageUri,i=e.displayVehicle,h=e.firstContent,g=e.pathname;const b=t.content,v=void 0===b?[]:b,f=t.author,E=t.canonical,y=t.metaDescription||h.metaDescription,_=t.publishDate||h.publishDate,C=t.dateModified||h.dateModified,k=t.titleTag||h.titleTag,N=`${i} Review`,j=Object(u.a)(),O=r()(v,"title"),T=h.browserTitle||o()(O,"title",N),S=o()(O,"subTitle"),I=o()(f,"authorName",""),w=Array.isArray(v)?v.reduce((e,t)=>e+Object(d.d)(t.content),""):Object(d.d)(v),x=w.trim().split(/\s+/).length,A=r()(v,{type:"photos"}),R=Object(c.i)(o()(A,"links[0].href"),1600,c.d.DAM),P=R?Object(m.a)(Object(n.a)({},A,{uri:R})):a;return{"@context":l.e,"@type":"NewsArticle",name:T,headline:N,alternativeHeadline:S,alternateName:i,author:I?p(I):j,wordCount:x,keywords:i,articleBody:w,text:w,description:y,about:k,datePublished:_?new Date(_).toISOString():void 0,dateModified:C?new Date(C).toISOString():void 0,publisher:j,image:P,thumbnailUrl:A?R:s,url:E,mainEntityOfPage:`https://www.edmunds.com${g}`}}function b(e,t,a){if(!(t&&t.articles&&t.articles.length))return[];const s=t.articles,i=r()(t.media,e=>"photo"===e.rel||e.href.includes("photo")),o=i?Object(c.i)(i.href,1600,c.d.DAM):"",l=Object(m.a)(Object(n.a)({},i,{uri:o}));return t.hasPreProdContent?[g({article:{content:s.map(e=>`${e.title} ${e.content}`).join("")},defaultImageSchema:l,firstImageUri:o,displayVehicle:e,firstContent:t,pathname:a})]:s.map(n=>g({article:n,defaultImageSchema:l,firstImageUri:o,displayVehicle:e,firstContent:t,pathname:a}))}},"./seo/schemas/breadcrumbs.js":function(e,t,a){"use strict";var n=a("./site-modules/shared/pages/seo.jsx");a.d(t,"a",function(){return i});const s="https:";function r(e,t){const a=e.title,n=e.href;return{"@type":"ListItem",position:t+1,item:{"@id":n?`${function(e){let t=e;return function(e){return e.startsWith("/")&&!e.startsWith("//")}(e)?t=`${s}//www.edmunds.com${e}`:function(e){return!e.startsWith("//")&&!e.startsWith("/")&&!e.startsWith("http")}(e)?t=`${s}//${e}`:function(e){return e.startsWith("http")}(e)||(t=`${s}${e}`),t}(n)}`:"",name:a}}}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return Array.isArray(e)&&e.length&&{"@context":n.e,"@type":"BreadcrumbList",itemListElement:e.map(r)}}},"./seo/schemas/car.js":function(e,t,a){"use strict";a.d(t,"a",function(){return _}),a.d(t,"c",function(){return C}),a.d(t,"e",function(){return k}),a.d(t,"b",function(){return N}),a.d(t,"d",function(){return j});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=(a("../node_modules/core-js/modules/es6.regexp.to-string.js"),a("../node_modules/lodash/capitalize.js")),r=a.n(s),i=a("../node_modules/lodash/isNil.js"),o=a.n(i),l=a("../node_modules/lodash/without.js"),c=a.n(l),d=a("../node_modules/lodash/get.js"),m=a.n(d),u=a("./site-modules/shared/utils/editorial-helper.js"),p=a("./site-modules/shared/pages/seo.jsx"),h=a("./utils/image-service.js"),g=a("./site-modules/shared/constants/mpg.js"),b=a("./site-modules/shared/utils/seo-helper.js"),v=a("./site-modules/shared/utils/inventory/srp-card-utils.js"),f=a("./site-modules/shared/constants/inventory/vehicle-history.js"),E=a("./seo/schemas/offer.js");p.e;function y(e){if(!e)return{};const t=g.c.includes(m()(e,"engineFuelType",""));return{fuelEfficiency:{"@context":p.e,"@type":"QuantitativeValue",unitText:t?"mpge":"mpg",minValue:m()(e,"mpgData.highway"),maxValue:m()(e,"mpgData.city"),value:m()(e,"mpgData.combined")}}}function _(e,t){let a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];const s=e.stockNumber,r=e.vin,i=m()(e,"vehicleInfo.styleInfo",{}),l=i.make,d=i.model,u=i.year,h=i.style,g=i.trim,b=void 0===g?"":g,y=m()(e,"vehicleInfo.partsInfo",{}),_=y.transmission,C=void 0===_?"":_,k=y.driveTrain,N=void 0===k?"":k,j=m()(e,"vehicleInfo.mileage",""),O=e.type.toLowerCase(),T=m()(e,"historyInfo",{}),S=T.ownerText,I=T.usageType,w=T.historyProvider,x=Object(v.a)(T).accidentText,A=f.a.includes(w)?{knownVehicleDamages:x,numberOfPreviousOwners:S,vehicleSpecialUsage:I}:{},R=Object(n.a)({"@context":p.e,"@type":"Car",brand:{"@type":"Brand",name:l},model:d,itemCondition:O,manufacturer:l,productionDate:`${u}`,name:`${u} ${l} ${d} ${b}`,description:function(e){const t=m()(e,"vehicleInfo.partsInfo",{}),a=t.cylinders,n=t.doors,s=[m()(e,"vehicleInfo.partsInfo.transmission",null),m()(e,"vehicleInfo.partsInfo.driveTrain",null),o()(a)?null:`${a} cylinders`,m()(e,"vehicleInfo.styleInfo.bodyType",null),o()(n)?null:`${n} doors`];return c()(s,null).join(", ")}(e),image:`${m()(t,"url","")}`,sku:s,driveWheelConfiguration:N,vehicleConfiguration:h,vehicleTransmission:C,vehicleIdentificationNumber:r,color:`${m()(e,"vehicleInfo.vehicleColors.exterior.name","")}`,mileageFromOdometer:j?`${j} SMI`:""},function(e){const t=m()(e,"vehicleInfo.vehicleColors.interior.name","");return t?{vehicleInteriorColor:t}:null}(e),A,{offers:Object(E.b)({vehicle:e})});if(a){const t=function(e){const t=m()(e,"dealerInfo.displayInfo.salesReviewCount",0),a=m()(e,"dealerInfo.displayInfo.salesOverallRating",0);return t>0?{"@type":"AggregateRating",ratingValue:a,reviewCount:t,bestRating:5,worstRating:1}:null}(e);t&&(R.aggregateRating=t)}return R}function C(e){let t=e.makeModelSubmodelYear,a=e.editorialReview,n=e.seoObject;const s=m()(t,"make.name",""),r=m()(t,"model.name",""),i=m()(t,"year",""),o=m()(a,"heroImage.href");return{"@context":p.e,"@type":"Car",brand:s,model:r,manufacturer:s,productionDate:i,name:`${i} ${s} ${r}`,description:m()(n,"description",""),image:`${o?Object(h.a)(o):""}`}}function k(e){let t=e.makeModelSubmodelYear,a=e.mpgStyle,s=e.seoObject;return Object(n.a)({},C({makeModelSubmodelYear:t,seoObject:s}),y(a))}function N(e){let t=e.makeModelSubmodelYear,a=e.editorialReview,s=e.consumerReviews,r=e.seoObject;return Object(n.a)({},C({makeModelSubmodelYear:t,editorialReview:a,seoObject:r}),function(e,t){const a=m()(t,"ratings.overall.rating"),n=e&&e.averageUserRating&&e.averageUserRating.toFixed(1),s=m()(e,"totalNumber")||m()(e,"totalCount"),r=Object(u.a)(t);return a||n?{aggregateRating:{"@context":p.e,"@type":"AggregateRating",reviewCount:s?s.toString():"1",ratingValue:n||a,bestRating:n?5:r,worstRating:1}}:null}(s,a))}function j(e){let t=e.makeModelSubmodelYear,a=e.editorialReview,s=e.consumerReviews,i=e.seoObject,o=e.style;if(!o)return N({makeModelSubmodelYear:t,editorialReview:a,consumerReviews:s,seoObject:i});const l=m()(o,"features",{}),c=Object(b.b)(l),d=c.generalData,u=c.mpg,h=c.engineData,g=c.measurementsData,v=m()(t,"submodels.slug",""),f="suv"===v?"SUV":r()(v);return Object(n.a)({},N({makeModelSubmodelYear:t,editorialReview:a,consumerReviews:s,seoObject:i}),{bodyType:f,vehicleConfiguration:m()(o,"name",""),seatingCapacity:m()(o,"numberOfSeats")},d,function(e){if(!e)return{};const t=e.engineVolume,a=e.engineType,n=e.horsepower;return{vehicleEngine:{"@context":p.e,"@type":"EngineSpecification",engineType:a,enginePower:{"@context":p.e,"@type":"QuantitativeValue",unitText:"hp",value:n},engineDisplacement:{"@context":p.e,"@type":"QuantitativeValue",unitText:"LTR",value:t}}}}(h),y(u),function(e){const t=e.width,a=e.height,n=e.weight;return{width:{"@context":p.e,"@type":"QuantitativeValue",unitText:"in",value:t},height:{"@context":p.e,"@type":"QuantitativeValue",unitText:"in",value:a},weight:{"@context":p.e,"@type":"QuantitativeValue",unitText:"lbs",value:n}}}(g))}},"./seo/schemas/faq.js":function(e,t,a){"use strict";a.d(t,"b",function(){return r}),a.d(t,"a",function(){return i});var n=a("./site-modules/shared/pages/seo.jsx"),s=a("./site-modules/shared/components/faq/utils.js");function r(e){return e.children().map(e=>({question:e.metadata("question").value(),answer:e.metadata("answer").value()}))}function i(e){let t=e.entries,a=e.questionLabel,r=void 0===a?"question":a,i=e.answerLabel,o=void 0===i?"answer":i,l=e.generateLearnMoreLinks,c=e.withTracking,d=e.learnMoreLinkText,m=e.pathname,u=e.canonical;return t&&t.length?{"@context":n.e,"@type":"FAQPage",mainEntity:t.map((e,t)=>{return function(e){let t=e.question,a=e.answer,n=e.pathname,r=e.canonical,i=e.generateLearnMoreLinks,o=e.learnMoreLinkText,l=e.withTracking,c=e.linkNum;const d=i?Object(s.a)({pathname:n,canonical:r,linkText:o,withTracking:l,linkNum:c}):"",m=Array.isArray(a)?a.join(" "):a;return{"@type":"Question",name:t,acceptedAnswer:{"@type":"Answer",text:Object(s.b)({answer:m,learnMoreLink:d,pathname:n,canonical:r})}}}({question:e[r],answer:e[o],generateLearnMoreLinks:l,withTracking:c,learnMoreLinkText:d,pathname:m,canonical:u,linkNum:t+1})})}:null}},"./seo/schemas/image.js":function(e,t,a){"use strict";a.d(t,"a",function(){return r});var n=a("./site-modules/shared/pages/seo.jsx"),s=a("./seo/schemas/organization.js");function r(e){const t=e.uri,a=e.title,r=e.author,i=void 0===r?Object(s.a)():r,o=e.width,l=e.height,c=e.captionTranscript;return{"@context":n.e,"@type":"ImageObject",contentUrl:t,url:t,width:o,height:l,name:a,author:i,description:c}}},"./seo/schemas/offer.js":function(e,t,a){"use strict";a.d(t,"b",function(){return l}),a.d(t,"a",function(){return c});var n=a("../node_modules/lodash/get.js"),s=a.n(n),r=a("./site-modules/shared/pages/seo.jsx"),i=a("./site-modules/shared/utils/vehicle-link-constructor.js"),o=a("./site-modules/shared/utils/nice-name.js");function l(e){let t=e.vehicle;const a=s()(t,"vehicleInfo.styleInfo",{}),n=a.make,l=a.model,c=a.year,d=s()(t,"dealerInfo.address",{}),m=d.city,u=d.stateName,p=Object(o.b)(n),h=Object(o.b)(l),g=s()(t,"vin"),b=m&&u?` in ${m}, ${u}`:"";return{"@context":r.e,"@type":"Offer",availability:`${r.e}/InStock`,price:s()(t,"prices.displayPrice",0),priceCurrency:"USD",url:`${r.g}${Object(i.h)({makeSlug:p,modelSlug:h,year:c},`vin/${g}`)}/`,description:`This ${c} ${n} ${l} is in stock and for sale${b}. View photos and learn more about this ${c} ${l} on Edmunds`}}function c(e){let t=e.searchResults;return{"@context":r.e,"@type":"AggregateOffer",lowPrice:s()(t,"seoInfo.minDisplayPrice"),offerCount:s()(t,"inventories.totalNumber"),priceCurrency:"USD"}}},"./seo/schemas/organization.js":function(e,t,a){"use strict";a.d(t,"a",function(){return s});var n=a("./site-modules/shared/pages/seo.jsx");function s(){return{"@context":n.e,"@type":"Organization",name:"Edmunds",logo:{"@context":n.e,"@type":"ImageObject",url:n.b,width:n.a.WIDTH,height:n.a.HEIGHT}}}},"./seo/schemas/review.js":function(e,t,a){"use strict";a.d(t,"a",function(){return c}),a.d(t,"c",function(){return m}),a.d(t,"b",function(){return u}),a.d(t,"d",function(){return p});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/lodash/get.js"),r=a.n(s),i=a("./site-modules/shared/utils/editorial-helper.js"),o=a("./site-modules/shared/pages/seo.jsx"),l=a("./seo/schemas/organization.js");function c(e){let t=e.consumerReviews;const a=r()(t,"totalNumber")||r()(t,"totalCount");return a?{"@type":"AggregateRating",ratingValue:r()(t,"averageUserRating",1).toFixed(1),reviewCount:a,bestRating:5,worstRating:1}:void 0}function d(e){let t=e.makeModelSubmodelYear,a=e.consumerReviews;const n=r()(t,"make.name",""),s=r()(t,"model.name",""),i=r()(t,"year","");return{itemReviewed:{"@type":"Car",name:`${i} ${n} ${s}`,model:s,vehicleModelDate:i,brand:{"@type":"Thing",name:n},aggregateRating:c({consumerReviews:a})}}}function m(e){let t=e.makeModelSubmodelYear,a=e.editorialReview,s=e.consumerReviews;const c=r()(a,"ratings.overall.rating",""),m=r()(s,"averageUserRating",""),u=c||m,p=c?Object(i.a)(a):5,h=a.body||a.summary,g=Object(l.a)();return Object(n.a)({"@context":o.e,"@type":"Review",reviewBody:h,publisher:g,author:g},d({makeModelSubmodelYear:t,consumerReviews:s}),u&&{reviewRating:{"@type":"Rating",ratingValue:parseFloat(u).toFixed(1),bestRating:p,worstRating:1}})}function u(e){let t=e.makeModelSubmodelYear,a=e.consumerReviews,s=e.includeReviewedItem,i=void 0===s||s;const l=r()(a,"results[0]");if(!l)return{};const c=l.author,m=l.text,u=l.createTime,p=l.title;return Object(n.a)({"@context":o.e,"@type":"Review",reviewBody:m,author:r()(c,"authorName","")},i&&d({makeModelSubmodelYear:t,consumerReviews:a}),{datePublished:u,name:p})}function p(e){let t=e.makeModelSubmodelYear,a=e.editorialReview,s=e.consumerReviews,r=e.priceRange,i=void 0===r?[0]:r;const o=a&&(a.body||a.summary)?m({makeModelSubmodelYear:t,editorialReview:a,consumerReviews:s,priceRange:i}):u({makeModelSubmodelYear:t,consumerReviews:s}),l=Math.min(...i),c=Math.max(...i);return Object(n.a)({},o,(l||c)&&{potentialAction:{"@type":"TradeAction",price:l||c,priceCurrency:"USD"},priceSpecification:{"@type":"PriceSpecification",minPrice:l,maxPrice:c,priceCurrency:"USD"}})}},"./site-modules/car-buying/util/feature-flags.js":function(e,t,a){"use strict";a.d(t,"b",function(){return n}),a.d(t,"a",function(){return s});const n="sessionRecorder",s="hideInterstitial"},"./site-modules/car-buying/util/page-recognition-utils.js":function(e,t,a){"use strict";a.d(t,"a",function(){return l}),a.d(t,"c",function(){return c}),a.d(t,"b",function(){return d});var n=a("../node_modules/lodash/has.js"),s=a.n(n),r=a("./utils/location.js"),i=a("./site-modules/shared/constants/car-buying/index.js"),o=a("./site-modules/shared/utils/inventory-utils.js");function l(e,t,a){const n=Object(r.a)(e),l=s()(n,i.s),c=s()(n,i.p);return{isPurchase:!!Object(o.g)(a).loanProgram&&(l||!c||t)}}function c(e){const t=Object(r.a)(e);return s()(t,i.s)}function d(e){const t=Object(r.a)(e);return s()(t,i.g)}},"./site-modules/car-buying/util/storage.js":function(e,t,a){"use strict";a.d(t,"a",function(){return l});var n=a("../node_modules/lodash/get.js"),s=a.n(n),r=a("../node_modules/lodash/set.js"),i=a.n(r),o=a("./site-modules/shared/utils/storage.js");const l={getLocalStorage(){return this.localStorage||(this.localStorage=new o.a("localStorage")),this.localStorage},getSessionStorage(){return this.sessionStorage||(this.sessionStorage=new o.a("sessionStorage")),this.sessionStorage},setValue(e,t,a){const n=e.get("carBuying")||{};i()(n,t,a),e.set("carBuying",n)},getValue(e,t){const a=e.get("carBuying")||{};return s()(a,t)},setValueToLocalStorage(e,t){this.setValue(this.getLocalStorage(),e,t)},getValueFromLocalStorage(e){return this.getValue(this.getLocalStorage(),e)},setValueToSessionStorage(e,t){this.setValue(this.getSessionStorage(),e,t)},getValueFromSessionStorage(e){return this.getValue(this.getSessionStorage(),e)}}},"./site-modules/core-page/components/articles/first-content-articles/first-content-articles.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return h});var n=a("../node_modules/lodash/get.js"),s=a.n(n),r=a("../node_modules/react/index.js"),i=a.n(r),o=a("../node_modules/prop-types/index.js"),l=a.n(o),c=a("../node_modules/react-scroll/lib/modules/index.js"),d=a("./site-modules/shared/components/content-collapse/content-collapse.jsx"),m=a("./site-modules/shared/constants/sub-navigation.js"),u=a("./site-modules/shared/utils/article-helper.jsx"),p=a("./data/models/editorial-review.js");function h(e){let t=e.articles,a=e.isMobile,n=e.forceCollapsible,r=e.suppressFirstMedia,o=e.isUsed,l=e.isFreshcoreAdDisabled;if(!s()(t,"length"))return null;const p=Object(u.c)(a);return t.map((e,s)=>{const h=n?35:Object(u.a)(e.content,a),g=h&&`${h}rem`,b=0===s,v=s===t.length-1,f=`article-${s}`,E=!o&&!b;return 1!==t.length||l||e.content.splice(p.entry,0,p),i.a.createElement("div",{className:"article",key:f},i.a.createElement(c.Element,{name:`scrollTop-related-${f+1}`}),n||g&&t.length>1?i.a.createElement(d.a,{minHeight:g,isEclipseFade:!1,isOpenOnLoad:!0,closeAfterLoad:!0,showBtnBelow:!0,btnClasses:"px-0_5 py-0 size-16 text-primary-darker text-capitalize",btnContainerClasses:"mt-0_5",btnTextClasses:"font-weight-normal",justify:"justify-content-start",resetParams:{offset:m.b,duration:m.a,to:`scrollTop-related-${f+1}`}},Object(u.b)({article:e,key:f,suppressMedia:!s&&r,hideDate:E})):Object(u.b)({article:e,key:f,suppressMedia:!s&&r,hideDate:E}),!v&&i.a.createElement("hr",{className:"mt-1_5 mb-2"}))})}h.propTypes={articles:l.a.arrayOf(p.d),isMobile:l.a.bool,forceCollapsible:l.a.bool,suppressFirstMedia:l.a.bool,isUsed:l.a.bool,isFreshcoreAdDisabled:l.a.bool},h.defaultProps={articles:null,isMobile:!1,forceCollapsible:!1,suppressFirstMedia:!1,isUsed:!1,isFreshcoreAdDisabled:!1}},"./site-modules/core-page/components/articles/pre-prod-content-table-articles/pre-prod-content-table-articles.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return h});var n=a("../node_modules/lodash/get.js"),s=a.n(n),r=a("../node_modules/react/index.js"),i=a.n(r),o=a("../node_modules/prop-types/index.js"),l=a.n(o),c=a("./data/models/editorial-review.js"),d=a("./site-modules/core-page/components/review-section/review-section.jsx"),m=a("./site-modules/core-page/components/review-table-section/review-table-section.jsx");a("./site-modules/core-page/components/articles/pre-prod-content-table-articles/pre-prod-content-table-articles.scss");const u="edmunds says",p="ALL";class h extends r.Component{constructor(e){super(e),this.onToggleSection=(e=>{this.setState({activeArticle:e,openedArticle:this.state.openedArticle===e?null:e})}),this.resetOpenedArticle=(()=>{this.setState({openedArticle:null})}),this.state={activeArticle:null,openedArticle:p}}componentDidMount(){this.resetOpenedArticle()}render(){const e=this.props,t=e.articles,a=e.vehicleDisplayName;if(!s()(t,"length"))return null;const n=this.state,o=n.activeArticle,l=n.openedArticle,c=t.find(e=>{return e.title.toLowerCase()===u}),h=t.filter(e=>{return e.title.toLowerCase()!==u});return i.a.createElement(r.Fragment,null,i.a.createElement("h2",{className:"heading-3 main mb-0_5"},`${a} Review`),i.a.createElement("div",{className:"mb-1_5 text-gray-darker"},"by the Edmunds Experts"),c&&i.a.createElement(d.a,{heading:c.title,body:c.content,bodyClassName:"mb-1_5 text-gray-darker"}),i.a.createElement("table",{className:"pre-prod-content-table w-100 text-gray-darker"},i.a.createElement("tbody",null,h.map(e=>{let t=e.title,a=e.content;return i.a.createElement(m.a,{key:`review-table-${t}`,name:t,content:a,isActive:o===t,isOpened:l===t||l===p,onToggleSection:this.onToggleSection})}))))}}h.propTypes={articles:l.a.arrayOf(c.d),vehicleDisplayName:l.a.string},h.defaultProps={articles:null,vehicleDisplayName:null}},"./site-modules/core-page/components/articles/pre-prod-content-table-articles/pre-prod-content-table-articles.scss":function(e,t,a){},"./site-modules/core-page/components/cta/cta.scss":function(e,t,a){},"./site-modules/core-page/components/editorial-review-highlights/editorial-review-highlights.jsx":function(e,t,a){"use strict";var n=a("../node_modules/lodash/get.js"),s=a.n(n),r=a("../node_modules/lodash/isEmpty.js"),i=a.n(r),o=a("../node_modules/react/index.js"),l=a.n(o),c=a("../node_modules/prop-types/index.js"),d=a.n(c),m=a("../node_modules/classnames/index.js"),u=a.n(m),p=a("./data/luckdragon/redux/react-binding.jsx"),h=a("./data/models/vehicle.js"),g=a("./site-modules/shared/utils/core-page/params.js"),b=a("./data/models/editorial-review.js"),v=a("./data/models/mmy-details.js"),f=a("./site-modules/shared/components/other-model-years-combined-pub-states/other-model-years-combined-pub-states.jsx"),E=a("./site-modules/shared/components/other-model-years-generations/other-model-years-generations.jsx"),y=a("./site-modules/shared/components/experiment/venom-experiments.js"),_=a("./site-modules/shared/components/editorial-review-pros-cons/editorial-review-pros-cons.jsx"),C=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),k=a("../node_modules/lodash/defaults.js"),N=a.n(k),j=a("../node_modules/lodash/map.js"),O=a.n(j),T=a("../node_modules/react-redux/es/index.js"),S=a("./site-modules/shared/utils/core-page/is-used-pub-state.js"),I=a("./site-modules/shared/utils/publication-states.js"),w=a("./site-modules/shared/components/content-collapse/content-collapse.jsx"),x=a("./site-modules/shared/utils/core-page/year-helpers.js"),A=a("./site-modules/shared/components/link/link.jsx");a("./site-modules/shared/components/other-model-years-lite/other-model-years-lite.scss");const R={xl:5,lg:4};const P=(e,t,a,n,s)=>l.a.createElement("div",{className:"year-col d-inline-block pos-r pr-1 pr-xl-1_25 mr-0_25 pb-0_5 size-14",key:`year-${e}`},e===a?l.a.createElement("span",{className:"year selected-year font-weight-bold"},e):l.a.createElement(A.a,{className:"year year-link",to:t,rel:Object(S.a)("",e)&&!n?"nofollow":null},e),s&&l.a.createElement("div",{className:"pre-prod-year label"},"Upcoming"));function L(e){let t=e.vehicle,a=e.submodelYears,n=e.heading,s=e.headingClasses,r=e.moduleClasses,i=e.flatten,o=e.breakpoint;if(!t||!a)return null;const c=t.year,d=t.model,m=d.name,p=d.slug,h=t.make,g=h.name,b=h.slug,v=function(e){let t={};return Object.keys(e).forEach(a=>{const n=e[a]&&e[a].years||{};t=N()(t,n)}),O()(t,(e,t)=>t&&Object(C.a)({},e,{year:t})).reverse()}(a),f=Object(x.a)(v,I.i,!0),E=Object(x.a)(v,x.c,!0),y=e=>{let t=e.name,a=e.url;return f.map(e=>e.name===t&&e.url===a).includes(!0)};if(!f.length&&!E.length)return null;const _=f.concat(E),k=Object(x.b)(v,b,p);return _.length<2?null:l.a.createElement("div",{className:u()(`other-years pos-r ${r}`,{flatten:i}),"data-tracking-parent":"years-module"},l.a.createElement("div",{className:`header ${s}`},n||`${g} ${m} years`),l.a.createElement(w.a,{textClosed:"more",textOpen:"less",justify:"justify-content-left",classes:"other-years-collapse",btnClasses:u()("other-years-btn display-lg text-lowercase text-primary-darker size-14 p-0 pl-0_5",{"d-none":R[o]>=_.length}),isEclipseFade:!1,btnContainerClasses:"py-0_5",trackingId:"see_other_years",showBtnBelow:!0,isOpenOnLoad:!0,closeAfterLoad:!0,minHeight:i?"48px":"96px"},_.map(e=>{let t=e.name,a=e.url;return P(t,a,c,y({name:t,url:a}))}),l.a.createElement("div",{className:"mb-0 mt-0_75 heading-6"},g," ",m," for Sale"),k.map(e=>{let t=e.name,a=e.url;return P(t,a,c,!0,y({name:t,url:a}))})))}L.propTypes={vehicle:h.d.MakeModelSubmodelYear,submodelYears:d.a.shape({}),breakpoint:d.a.string,heading:d.a.string,headingClasses:d.a.string,moduleClasses:d.a.string,flatten:d.a.bool},L.defaultProps={vehicle:null,submodelYears:null,breakpoint:"xl",heading:null,headingClasses:"heading-5",moduleClasses:"",flatten:!1};const D=Object(T.c)(e=>({breakpoint:e.pageContext&&e.pageContext.page.breakpoint}))(Object(p.b)(L,{submodelYears:Object(p.a)(e=>{let t=e.vehicle;const a=t&&t.make&&t.make.slug,n=t&&t.model&&t.model.slug;return a&&n&&Object(h.A)({make:a,model:n})},h.e)}));D.propTypes={vehicle:h.d.MakeModelSubmodelYear},D.defaultProps={vehicle:null};var $=a("./site-modules/shared/components/unordered-list/unordered-list.jsx");function M(e){let t=e.whatsNew;return t&&0!==t.length?l.a.createElement("div",{className:"editorial-review-whats-new"},l.a.createElement($.a,{title:"What\u2019s new",items:t,titleClasses:"mb-0_5 mb-md-0 size-16 text-left text-gray-darker text font-weight-bold",listClasses:"mb-0 pl-1 text-gray size-10",textClasses:"text-gray-darker size-16 align-middle"})):null}M.propTypes={whatsNew:d.a.arrayOf(d.a.string)},M.defaultProps={whatsNew:[]};var V=a("./site-modules/shared/utils/core-link-constructor.js");function F(e){let t=e.makeSlug,a=e.modelSlug,n=e.year;const s=Object(V.j)({makeSlug:t,modelSlug:a,year:n});return l.a.createElement(A.a,{className:"mr-1 mr-md-1_5 size-16 text-primary-darker",to:s,"data-tracking-id":"view_edmunds_review"},l.a.createElement("span",null,"Read full review"),l.a.createElement("i",{className:"icon-arrow-right4 size-10 ml-0_25"}))}F.propTypes={makeSlug:d.a.string.isRequired,modelSlug:d.a.string.isRequired,year:d.a.number.isRequired},F.defaultProps={isNewUsed:!1};a("./site-modules/core-page/components/editorial-review-highlights/editorial-review-highlights.scss");function U(e){let t=e.editorialReview,a=e.vehicle,n=e.whatsNewContent,r=e.params,c=e.className,d=e.showOtherYears,m=e.isMobile;const p=s()(t,"cons",[]),h=s()(t,"pros",[]),g=s()(a,"make.name"),b=s()(a,"model.name"),v=s()(a,"year"),C=s()(a,"make.slug"),k=s()(a,"model.slug"),N=r.isUsed?s()(t,"whatsNew"):n,j=s()(t,"reviewLink")&&r.isNewUsed,O=d&&l.a.createElement(y.a,{name:"core-page-generations",showDefault:!0},l.a.createElement(y.b,{name:"ctrl",isDefault:!0},r.isUsed||r.isNewUsed?l.a.createElement(f.a,{vehicle:a}):l.a.createElement(o.Fragment,null,m?l.a.createElement(f.a,{vehicle:a}):l.a.createElement(D,{vehicle:a,heading:"Other years",headingClasses:"heading-6",flatten:!0}))),l.a.createElement(y.b,{name:"chal"},r.isUsed||r.isNewUsed?l.a.createElement(f.a,{vehicle:a}):l.a.createElement(E.a,{vehicle:a})));return l.a.createElement("div",{className:u()("editorial-review-highlights text-gray-darker",c),"data-tracking-parent":"editorial-review-highlights"},p.length||h.length||!i()(N)?l.a.createElement(o.Fragment,null,!r.isUsed&&l.a.createElement(M,{whatsNew:N}),l.a.createElement(_.a,{pros:h,cons:p}),O,j&&l.a.createElement(F,{makeSlug:C,modelSlug:k,year:Number(v),isNewUsed:r.isNewUsed})):l.a.createElement(o.Fragment,null,l.a.createElement("p",{className:"size-16 font-weight-bold mb-0 mb-lg-0_5 mt-md-3"},"Edmunds\u2019 Expert Review \u2013 Coming Soon"),l.a.createElement("p",{className:"mb-0_5"},"Stay tuned for the full Edmunds\u2019 review of the ",v," ",g," ",b,". It\u2019s in the works, so check back here for all the details and our expert analysis."),O))}a.d(t,"a",function(){return Y}),U.propTypes={editorialReview:b.b.EditorialReview,vehicle:h.d.MakeModelSubmodelYear.isRequired,params:g.a.isRequired,whatsNewContent:v.a.WhatsNewContent,className:d.a.string,showOtherYears:d.a.bool,isMobile:d.a.bool},U.defaultProps={editorialReview:{},whatsNewContent:[],className:"px-md-2",showOtherYears:!0,isMobile:!0};const Y=Object(p.b)(U,{editorialReview:Object(p.a)(e=>{let t=e.params;return Object(b.j)(t)},b.c),whatsNewContent:Object(p.a)(e=>{let t=e.params;return t.isUsed?null:Object(v.g)(t)},v.b)})},"./site-modules/core-page/components/editorial-review-highlights/editorial-review-highlights.scss":function(e,t,a){},"./site-modules/core-page/components/editorial-review/utils.js":function(e,t,a){"use strict";a.d(t,"a",function(){return o}),a.d(t,"b",function(){return l});var n=a("../node_modules/lodash/isObject.js"),s=a.n(n),r=a("../node_modules/lodash/get.js"),i=a.n(r);const o=[{title:"",value:"summary"},{title:"",value:"edmundsSays"},{title:"",value:"introduction"},{title:"",value:"review"},{title:"",value:"trimFeaturesBodySnippet"},{title:"",value:"body"},{title:"",value:"trimFeaturesBody"},{title:"",value:"trimTested"},{title:"",value:"powertrain"},{title:"",value:"safety"},{title:"Driving",id:"driving-section",value:"driving",dataSet:"ratings"},{title:"Acceleration",id:"",value:"acceleration",dataSet:"ratings"},{title:"Braking",id:"",value:"brakes",dataSet:"ratings"},{title:"Steering",id:"",value:"steering",dataSet:"ratings"},{title:"Handling",id:"",value:"handling",dataSet:"ratings"},{title:"Drivability",id:"",value:"drivability",dataSet:"ratings"},{title:"Comfort",id:"comfort-section",value:"comfort",dataSet:"ratings"},{title:"Seat comfort",id:"",value:"seatComfort",dataSet:"ratings"},{title:"Ride comfort",id:"",value:"rideComfort",dataSet:"ratings"},{title:"Noise & vibration",id:"",value:"noiseVibration",dataSet:"ratings"},{title:"Climate control",id:"",value:"climateControl",dataSet:"ratings"},{title:"Interior",id:"interior-section",value:"interior",dataSet:"ratings"},{title:"Ease of use",id:"",value:"easeUse",dataSet:"ratings"},{title:"Getting in/getting out",id:"",value:"gettingInOut",dataSet:"ratings"},{title:"Driving position",id:"",value:"drivingPosition",dataSet:"ratings"},{title:"Roominess",id:"",value:"roominess",dataSet:"ratings"},{title:"Visibility",id:"",value:"visibility",dataSet:"ratings"},{title:"Quality",id:"",value:"quality",dataSet:"ratings"}];function l(e){return s()(e)&&o.some(t=>{let a=t.dataSet,n=t.value;return i()(e,a?`${a}.${n}`:n,!1)})}},"./site-modules/core-page/components/high-impact/high-impact.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return j});var n=a("../node_modules/lodash/get.js"),s=a.n(n),r=a("../node_modules/react/index.js"),i=a.n(r),o=a("../node_modules/prop-types/index.js"),l=a.n(o),c=a("../node_modules/react-redux/es/index.js"),d=a("../node_modules/reactstrap/lib/Row.js"),m=a.n(d),u=a("../node_modules/reactstrap/lib/Col.js"),p=a.n(u),h=a("../node_modules/reactstrap/lib/Button.js"),g=a.n(h),b=a("../node_modules/reactstrap/lib/Container.js"),v=a.n(b),f=a("./data/luckdragon/redux/react-binding.jsx"),E=a("./data/models/cms.js"),y=a("./utils/image-helpers.js"),_=a("./site-modules/shared/components/content-fragment/content-fragment.jsx"),C=a("./site-modules/shared/components/impression-tracker/impression-tracker.jsx");a("./site-modules/core-page/components/high-impact/high-impact.scss");function k(e){let t=e.highImpactContent,a=e.pageParameters,n=e.isMobile;if(!t)return null;const r=t.getAllMetadata();r.desktop=t.child("desktop").getAllMetadata(),r.mobile=t.child("mobile").getAllMetadata();const o=r.headline,l=r.image,c=r.verbiage,d=r.subtitle,u=r.advertiserName,h=r.sponsoredMakes,b=!("excludeUsed"in r)||!a.isUsed;if(!(!(!h||!h.includes(a.make))&&b))return null;const f=s()(r,n?"mobile":"desktop"),E=f.url,k=f.urlText,N=f.impressionTracker;return i.a.createElement(v.a,{className:"high-impact my-1 pb-3"},i.a.createElement("div",{className:"text-center"},i.a.createElement("h2",{className:"display-2 mt-1 mb-1_25 mb-md-2_5 font-weight-normal text-gray-darker d-inline-block"},o),u&&i.a.createElement("span",{className:"disclaimer pl-0_75"},"Sponsored by ",u)),i.a.createElement(m.a,{className:"pos-r"},i.a.createElement(p.a,{xs:12,md:6,className:"px-0 px-md-0_5"},i.a.createElement("img",{className:"w-100 img-fluid",src:Object(y.i)(l,void 0,y.d.MEDIA),alt:c})),i.a.createElement(p.a,{xs:12,md:6,className:"hi-details px-0 pl-md-1_5 pt-1_25"},i.a.createElement(_.a,{classes:"h4 mb-0_5 mb-md-1 text-gray-dark"},c),i.a.createElement(_.a,{classes:"h5 mb-1 text-info font-weight-normal"},d),i.a.createElement(g.a,{href:E,className:"vehicle-card-btn btn-success text-white",size:"sm",target:"clickOut"in f?"_blank":"_self"},k))),i.a.createElement(C.a,{src:N}))}k.propTypes={highImpactContent:E.a.Content,pageParameters:l.a.shape({make:l.a.string,isUsed:l.a.bool}),isMobile:l.a.bool},k.defaultProps={highImpactContent:null,pageParameters:{},isMobile:!1};const N={highImpactContent:Object(E.d)("core-page-content","high-impact")},j=Object(c.c)(e=>({isMobile:e.mobile}))(Object(f.b)(k,N))},"./site-modules/core-page/components/high-impact/high-impact.scss":function(e,t,a){},"./site-modules/core-page/components/incentives-link/incentives-link.scss":function(e,t,a){},"./site-modules/core-page/components/international-zip-picker-methods/international-zip-picker-methods.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return c});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("../node_modules/prop-types/index.js"),o=a.n(i),l=a("./utils/history/venom-history.js");function c(e){var t,a;return a=t=class extends s.Component{constructor(){super(...arguments),this.state={isZipChangeInProgress:!1,showActiveSpinner:!1},this.onBtnClick=(()=>{const e=this.state.isZipChangeInProgress;this.setState({showActiveSpinner:!0}),this.props.setPendingRedirect(),e||this.redirect()}),this.onZipChangeInProgress=(e=>{let t=e.isZipChangeInProgress;this.setState({isZipChangeInProgress:t},()=>{!t&&this.props.isRedirectPending&&this.redirect()})}),this.redirect=(()=>l.b.push(this.props.inventoryLink))}render(){const t=this.state.showActiveSpinner;return r.a.createElement(e,Object(n.a)({onBtnClick:this.onBtnClick,onZipChangeInProgress:this.onZipChangeInProgress,showActiveSpinner:t},this.props))}},t.propTypes={isRedirectPending:o.a.bool.isRequired,setPendingRedirect:o.a.func.isRequired},a}},"./site-modules/core-page/components/international-zip-picker/international-zip-picker.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return C}),a.d(t,"b",function(){return N});var n=a("../node_modules/lodash/startCase.js"),s=a.n(n),r=a("../node_modules/react/index.js"),i=a.n(r),o=a("../node_modules/prop-types/index.js"),l=a.n(o),c=a("../node_modules/classnames/index.js"),d=a.n(c),m=a("../node_modules/reactstrap/lib/Row.js"),u=a.n(m),p=a("../node_modules/reactstrap/lib/Col.js"),h=a.n(p),g=a("../node_modules/reactstrap/lib/Button.js"),b=a.n(g),v=a("./site-modules/core-page/components/international-zip-picker-methods/international-zip-picker-methods.jsx"),f=a("./site-modules/shared/components/form-validation/validation.js"),E=a("./site-modules/shared/components/zip-input/zip-input.jsx"),y=a("./site-modules/shared/components/spinner/spinner.jsx");a("./site-modules/core-page/components/international-zip-picker/international-zip-picker.scss");function _(e){let t=e.colConfig,a=e.placeholder,n=e.onZipChangeInProgress,s=e.onBtnClick,r=e.showActiveSpinner,o=e.btnClasses,l=e.btnTitle,c=e.trackingId,m=e.trackingValue;return i.a.createElement(u.a,null,i.a.createElement(h.a,t.zip,i.a.createElement(E.a,{placeholder:a,wrapperClasses:"d-flex international-zip-input-wrapper zip-location-icon",inputClasses:"international-zip-input pl-2",labelClasses:"text-hide",label:"ZIP Code",onValidate:f.a.validateZip,onZipChangeInProgress:n,forceEmptyZip:!0})),i.a.createElement(h.a,t.btn,i.a.createElement(b.a,{onClick:s,className:d()("submit-zip-btn px-0_75 py-0_5 w-100",o),rel:"nofollow",disabled:r,"data-tracking-id":c,"data-tracking-value":m,"data-tracking-disabled":!c},r?i.a.createElement(y.a,{color:"gray",className:"align-baseline",size:16}):i.a.createElement("span",null,l))))}function C(e){let t=e.modelName,a=e.onZipChangeInProgress,n=e.onBtnClick,o=e.showActiveSpinner;return i.a.createElement(r.Fragment,null,i.a.createElement("div",{className:"heading-3 mb-1"},t&&`${s()(t)}s`," for sale near you"),i.a.createElement("div",{className:"international-zip-picker-wrapper rounded p-1 p-md-1_5"},i.a.createElement(u.a,null,i.a.createElement(h.a,{xs:12,md:4,xl:3,className:"text-center text-md-left mb-1_5 mb-md-0"},i.a.createElement("div",{className:"rounded-border p-1 d-inline-block"},i.a.createElement("div",{className:"rounded-border p-0_75 border-gray-lighter"},i.a.createElement("div",{className:"rounded-border p-0_75 border-gray-light"},i.a.createElement("div",{className:"icon-location heading-1 text-primary"}))))),i.a.createElement(h.a,{xs:12,md:8,xl:9,className:"d-flex flex-column justify-content-center"},i.a.createElement("div",{className:"heading-4 pb-0_25"},"We can\u2019t find you"),i.a.createElement("div",{className:"mb-0_75"},"Please enter U.S. ZIP code to see vehicles for sale"),i.a.createElement(_,{placeholder:"Zip code",onZipChangeInProgress:a,onBtnClick:n,showActiveSpinner:o,btnClasses:"btn-outline-primary-b size-16"})))))}function k(e){let t=e.showActiveSpinner,a=e.onZipChangeInProgress,n=e.onBtnClick;return i.a.createElement("div",{"data-tracking-parent":"international-zip-cta",className:"international-we-cant-find-you bg-gray-extra-light rounded my-1_5 my-md-0 p-1 p-lg-1_5"},i.a.createElement(u.a,null,i.a.createElement(h.a,{xs:12,className:"d-flex flex-column justify-content-center "},i.a.createElement("div",{className:"heading-5 pb-0_25"},"We can\u2019t find you"),i.a.createElement(_,{colConfig:{zip:{xs:7},btn:{xs:5}},onZipChangeInProgress:a,onBtnClick:n,showActiveSpinner:t,placeholder:"Enter U.S. ZIP code",btnClasses:"btn-success medium",btnTitle:"See all for sale",trackingId:"view_search_result",trackingValue:"Enter Zip and See All For Sale"}))))}_.propTypes={onZipChangeInProgress:l.a.func.isRequired,onBtnClick:l.a.func.isRequired,colConfig:l.a.shape({zip:l.a.shape({}),btn:l.a.shape({})}),placeholder:l.a.string,btnClasses:l.a.string,btnTitle:l.a.string,showActiveSpinner:l.a.bool,trackingId:l.a.string,trackingValue:l.a.string},_.defaultProps={colConfig:{zip:{xs:6,xl:5},btn:{xs:6,md:5,xl:4}},placeholder:"",btnClasses:"",btnTitle:"See all inventory",showActiveSpinner:!1,trackingId:"",trackingValue:""},C.propTypes={modelName:l.a.string,showActiveSpinner:l.a.bool,onZipChangeInProgress:l.a.func.isRequired,onBtnClick:l.a.func.isRequired},C.defaultProps={modelName:"",showActiveSpinner:!1},k.propTypes={showActiveSpinner:l.a.bool,onZipChangeInProgress:l.a.func.isRequired,onBtnClick:l.a.func.isRequired},k.defaultProps={showActiveSpinner:!1};const N=Object(v.a)(k)},"./site-modules/core-page/components/international-zip-picker/international-zip-picker.scss":function(e,t,a){},"./site-modules/core-page/components/lead-form-cta/lead-form-cta.jsx":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("../node_modules/prop-types/index.js"),o=a.n(i),l=a("../node_modules/reactstrap/lib/Row.js"),c=a.n(l),d=a("../node_modules/reactstrap/lib/Col.js"),m=a.n(d),u=a("../node_modules/react-stickynode/index.js"),p=a.n(u),h=a("./site-modules/shared/components/client-side-render/client-side-render.jsx"),g=a("./data/luckdragon/redux/react-binding.jsx"),b=a("./site-modules/shared/utils/core-page/params.js"),v=a("./data/models/vehicle.js"),f=a("./data/models/inventory-core-configurations.js"),E=a("./site-modules/shared/utils/core-page/core-configurations.js"),y=a("../node_modules/lodash/get.js"),_=a.n(y),C=a("../node_modules/classnames/index.js"),k=a.n(C),N=a("./site-modules/shared/components/link/link.jsx"),j=a("./site-modules/shared/utils/price-utils.js");a("./site-modules/core-page/components/cta/cta.scss");function O(e){let t=e.inventoryLink,a=e.makeModelSubmodelYear,n=e.estimatedSavings,s=e.buildAndPriceLink,i=e.params,o=e.classes,l=e.rel,d=e.lgCta,u=e.inventoryTotalNumber;return r.a.createElement(c.a,{className:`lead-form-cta py-1 px-1 px-md-0 align-items-center no-gutters${o&&` ${o}`}`},r.a.createElement(m.a,null,r.a.createElement("div",{className:"heading-5 mb-0"},_()(a,"year","Loading")," ",_()(a,"make.name")," ",_()(a,"model.name")),!!n&&!i.isUsed&&r.a.createElement("div",{className:"heading-5 font-weight-normal"},"Save up to ",Object(j.a)(n))),r.a.createElement(m.a,{xs:"col-auto ml-md-1"},t&&(i.isUsed||!!u)&&r.a.createElement(N.a,{className:k()("btn btn-primary-b text-uppercase font-weight-bold",d?"btn-lg":"btn-sm"),to:t,"data-tracking-id":"view_search_result",rel:l},"See all for sale"),t&&!i.isUsed&&!u&&r.a.createElement(N.a,{className:k()("btn btn-primary-b text-uppercase font-weight-bold",d?"btn-lg":"btn-sm"),to:`/${i.make}/${i.model}/${i.year}/options/?legacy=true`,"data-tracking-id":"configure_vehicle",rel:l},"What should I pay"),s&&r.a.createElement(N.a,{className:"btn primary-b btn-sm text-uppercase font-weight-bold",to:s,"data-tracking-id":"view_search_result"},"Build & price")))}O.propTypes={params:b.a.isRequired,inventoryLink:o.a.string,buildAndPriceLink:o.a.string,makeModelSubmodelYear:v.d.MakeModelSubmodelYear.isRequired,estimatedSavings:o.a.number,classes:o.a.string,rel:o.a.string,lgCta:o.a.bool,inventoryTotalNumber:o.a.number},O.defaultProps={inventoryLink:"",buildAndPriceLink:"",estimatedSavings:null,classes:"",rel:null,lgCta:!1,inventoryTotalNumber:0};a("./site-modules/core-page/components/lead-form-cta/lead-form-cta.scss");a.d(t,"a",function(){return S});class T extends s.Component{constructor(e){super(e),this.onStickyStateChange=(e=>{this.setState({isStickyActive:e.status===p.a.STATUS_FIXED})}),this.state={isStickyActive:!1}}render(){const e=this.props,t=e.inventoryLink,a=e.vehicle,i=e.coreConfigurations,o=e.wrapperClasses,l=e.parentTrackingValue,d=e.params,u=e.lgCta,g=e.inventoryTotalNumber,b=Object(E.c)(i);return r.a.createElement(s.Fragment,null,r.a.createElement("div",{className:`lead-form-cta-wrapper px-md-2 bg-gray-extra-light rounded${o&&` ${o}`}`,"data-tracking-parent":l},r.a.createElement(O,Object(n.a)({inventoryLink:t,makeModelSubmodelYear:a,estimatedSavings:b,params:d,rel:"nofollow",lgCta:u},this.props.enableSticky?{classes:"py-md-0_75"}:{},{inventoryTotalNumber:g}))),this.props.enableSticky&&d.isUsed&&r.a.createElement(h.a,null,r.a.createElement(p.a,{onStateChange:this.onStickyStateChange}),r.a.createElement("div",{"data-tracking-parent":"leads-cta-sticky",className:`${this.state.isStickyActive?"":"d-none"} bg-white lf-cta-sticky is-mobile lead-form-cta-wrapper fixed-bottom hidden-md-up`},r.a.createElement(c.a,{className:"align-items-center flex-row-reverse no-gutters"},r.a.createElement(m.a,{md:"auto",className:"px-md-2"},r.a.createElement(O,{inventoryLink:t,makeModelSubmodelYear:a,estimatedSavings:b,params:d,rel:"nofollow"}))))))}}T.propTypes={vehicle:v.d.MakeModelSubmodelYear.isRequired,params:b.a.isRequired,inventoryLink:o.a.string,coreConfigurations:f.c.CoreConfigurations,enableSticky:o.a.bool,wrapperClasses:o.a.string,parentTrackingValue:o.a.string,lgCta:o.a.bool,inventoryTotalNumber:o.a.number},T.defaultProps={inventoryLink:"",coreConfigurations:null,enableSticky:!1,wrapperClasses:"",parentTrackingValue:"leads-cta-inpage",lgCta:!1,inventoryTotalNumber:0};const S=Object(g.b)(T,{coreConfigurations:Object(g.a)(e=>{let t=e.vehicle;return Object(f.e)({make:t.make.slug,model:t.model.slug,submodel:t.submodels.slug,year:t.year})},f.d)});S.propTypes={params:b.a.isRequired,inventoryLink:o.a.string.isRequired,vehicle:v.d.MakeModelSubmodelYear.isRequired,enableSticky:o.a.bool,wrapperClasses:o.a.string,parentTrackingValue:o.a.string,lgCta:o.a.bool,inventoryTotalNumber:o.a.number},S.defaultProps={enableSticky:!1,wrapperClasses:"",parentTrackingValue:"leads-cta-inpage",lgCta:!1,inventoryTotalNumber:0}},"./site-modules/core-page/components/lead-form-cta/lead-form-cta.scss":function(e,t,a){},"./site-modules/core-page/components/more-about/contextual-links-area/contextual-links-area-utils.js":function(e,t,a){"use strict";a.d(t,"a",function(){return m});var n=a("../node_modules/lodash/random.js"),s=a.n(n);const r=1,i=12,o=5,l=24,c=7327,d=25667;function m(e){const t=[];return e.forEach(e=>{const a=s()(r,i);t.push({href:e.href,title:e.title,greatDealsQty:a,forSaleQty:s()(Math.max(o,a),l),startingPrice:s()(c,d)})}),t}},"./site-modules/core-page/components/more-about/overview/overview.jsx":function(e,t,a){"use strict";var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("./data/luckdragon/redux/react-binding.jsx"),l=a("../node_modules/lodash/get.js"),c=a.n(l),d=a("./data/models/vehicle.js"),m=a("./site-modules/shared/utils/core-page/params.js"),u=a("../node_modules/lodash/isEqual.js"),p=a.n(u),h=a("../node_modules/lodash/fp/uniqWith.js"),g=a.n(h),b=a("../node_modules/lodash/fp/zipWith.js"),v=a.n(b),f=a("../node_modules/lodash/fp/map.js"),E=a.n(f),y=a("../node_modules/lodash/isArray.js"),_=a.n(y);const C=e=>E()(e),k=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:", ";return _()(e)?e.join(t):""},N=e=>_()(e)?e.slice(0,-1):[],j=v()((e,t)=>({size:e,type:t})),O=g()(p.a),T=(e,t)=>t.reduce((t,a)=>t.concat(e(a)),[]),S=e=>Math.max(...e),I=e=>E()(parseInt)(e);var w=a("../node_modules/lodash/last.js"),x=a.n(w),A=a("./site-modules/shared/utils/core-page/display-name-builders.js");const R=e=>{let t=e.params,a=e.vehicle;return`${Object(A.a)({makeModelSubmodelYear:a,params:t})} Overview`},P=e=>{let t=e.vehicle,a=e.params,n=e.basicWarranty,s=e.roadsideWarranty,r=e.powertrainWarranty;return n&&s&&r?`The ${Object(A.a)({makeModelSubmodelYear:t,params:a})} comes with a ${n} basic warranty, a ${s} roadside warranty, and a ${r} powertrain warranty.`:""},L=e=>{const t=e.length>1?`${k(e)}`:k(e,"");return e.length?`Available transmissions include: ${t}.`:""},D=e=>{let t=e.vehicle,a=e.params,n=e.uniqDriveTypes;const s=n.length>1?`${k(N(n))}, and ${x()(n)}`:k(n,"");return n.length?`The ${Object(A.a)({makeModelSubmodelYear:t,params:a})} comes with ${s}.`:""},$=e=>{let t=e.vehicle,a=e.templatedEngineParams,n=e.horsePowerMaximum,s=e.params;return n&&a.length?`${Object(A.a)({makeModelSubmodelYear:t,params:s,usedPrefix:"Pre-owned ",showYear:!1})} models are available with ${k(a," or ")}, with output up to ${n} hp, depending on engine type.`:""},M=e=>{let t=e.vehicle,a=e.params,n=e.styleNames;const s=n.length>1?`${k(N(n))}, and ${x()(n)}`:k(n,"");return n.length?`The ${Object(A.a)({makeModelSubmodelYear:t,params:a})} is offered in the following styles: ${s}.`:""},V=e=>{let t=e.vehicle,a=e.submodelNames,n=e.styleNames,s=e.params;const r=n.length>1?`${k(N(n))}, and ${x()(n)}`:k(n,"");return n.length&&a.length?`The ${Object(A.a)({makeModelSubmodelYear:t,params:s})} is offered in the following submodels: ${k(a)}. Available styles include ${r}.`:""},F={WARRANTY:{NAME:"Warranty",BASIC:"Basic",ROADSIDE:"Roadside",POWERTRAIN:"Drivetrain"},ENGINE:{NAME:"Engine",SIZE:"Base engine size",TYPE:"Base engine type",HP:"Horsepower"},DRIVE:{TRAIN:"Drive Train",TYPE:"Drive type"},TRANSMISSION:"Transmission"};function U(e){let t=e.vehicle,a=e.params,r=e.popularStyles,i=e.submodels,o=e.styleA,l=e.styleB,d=e.styleC;const m=o||l||d?[].concat(o,l,d):[],u=a.submodel,p=C(`features["${F.ENGINE.NAME}"]["${F.ENGINE.SIZE}"]`)(m),h=C(`features["${F.ENGINE.NAME}"]["${F.ENGINE.TYPE}"]`)(m),g=j(p,h),b=O(g.filter(e=>e)),v=T(e=>{return`a ${e.size}-liter ${e.type} engine`},b),f=C(`features["${F.ENGINE.NAME}"]["${F.ENGINE.HP}"]`)(m),E=S(I(f)),y=C(`features["${F.DRIVE.TRAIN}"]["${F.DRIVE.TYPE}"]`)(m),_=O(y.filter(e=>e)),k=C(`features["${F.DRIVE.TRAIN}"]["${F.TRANSMISSION}"]`)(m),N=O(k.filter(e=>e)),w=c()(m,`[0].features["${F.WARRANTY.NAME}"]["${F.WARRANTY.BASIC}"]`,null),x=c()(m,`[0].features["${F.WARRANTY.NAME}"]["${F.WARRANTY.ROADSIDE}"]`,null),A=c()(m,`[0].features["${F.WARRANTY.NAME}"]["${F.WARRANTY.POWERTRAIN}"]`,null),U=C("name")(i),Y=C("name")(r);return s.a.createElement(n.Fragment,null,s.a.createElement("h5",null,R({vehicle:t,params:a})),!u&&s.a.createElement("p",null,`\n        ${V({params:a,vehicle:t,submodelNames:U,styleNames:Y})}\n        ${$({params:a,vehicle:t,templatedEngineParams:v,horsePowerMaximum:E})}\n        ${D({params:a,vehicle:t,uniqDriveTypes:_})}\n        ${L(N)}\n        ${P({params:a,vehicle:t,basicWarranty:w,roadsideWarranty:x,powertrainWarranty:A})}`),!!u&&s.a.createElement("p",null,`\n        ${M({params:a,vehicle:t,styleNames:Y})}\n        ${$({params:a,vehicle:t,templatedEngineParams:v,horsePowerMaximum:E})}\n        ${D({params:a,vehicle:t,uniqDriveTypes:_})}\n        ${L(N)}\n        ${P({params:a,vehicle:t,basicWarranty:w,roadsideWarranty:x,powertrainWarranty:A})}`))}a.d(t,"a",function(){return W}),U.propTypes={vehicle:d.d.MakeModelSubmodelYear.isRequired,popularStyles:d.d.Styles,submodels:i.a.arrayOf(i.a.shape({identifier:i.a.string})),styleA:d.a.FeatureStyleEntity,styleB:d.a.FeatureStyleEntity,styleC:d.a.FeatureStyleEntity,params:m.a.isRequired},U.defaultProps={styleA:null,styleB:null,styleC:null,popularStyles:[],submodels:[]};const Y=Object(o.b)(U,{styleA:Object(o.a)(e=>{let t=e.popularStyles;return d.b.buildStyleIdPath({popularStyles:t,index:0})},d.e),styleB:Object(o.a)(e=>{let t=e.popularStyles;return d.b.buildStyleIdPath({popularStyles:t,index:1})},d.e),styleC:Object(o.a)(e=>{let t=e.popularStyles;return d.b.buildStyleIdPath({popularStyles:t,index:2})},d.e)});Y.propTypes={vehicle:d.d.MakeModelSubmodelYear.isRequired,params:m.a.isRequired,popularStyles:d.d.PopularStyles,submodels:i.a.arrayOf(i.a.shape({identifier:i.a.string}))},Y.defaultProps={popularStyles:[],submodels:[]};const B=e=>t=>{let a=t.params;return e(a)},W=Object(o.b)(Y,{popularStyles:Object(o.a)(B(d.x),d.e),submodels:Object(o.a)(B(d.C),d.e)})},"./site-modules/core-page/components/new-core-summary/new-core-summary.scss":function(e,t,a){},"./site-modules/core-page/components/new-core-summary/shopping-tools.scss":function(e,t,a){},"./site-modules/core-page/components/preprod-articles/preprod-articles.scss":function(e,t,a){},"./site-modules/core-page/components/preprod-summary/preprod-summary.scss":function(e,t,a){},"./site-modules/core-page/components/review-section/review-section.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return g});var n=a("../node_modules/lodash/get.js"),s=a.n(n),r=a("../node_modules/react/index.js"),i=a.n(r),o=a("../node_modules/prop-types/index.js"),l=a.n(o),c=a("../node_modules/classnames/index.js"),d=a.n(c),m=a("../node_modules/react-scroll/lib/modules/index.js"),u=a("./site-modules/shared/components/content-fragment/content-fragment.jsx"),p=a("./site-modules/shared/constants/sub-navigation.js"),h=a("./site-modules/shared/components/content-collapse/content-collapse.jsx");a("./site-modules/core-page/components/review-section/review-section.scss");function g(e){let t=e.heading,a=e.subhead,n=e.body,o=e.collapsedBody,l=e.id,c=e.bodyClassName,g=e.headingClassName;const b=s()(n,"length"),v=s()(o,"length");return b||v?i.a.createElement(r.Fragment,null,v&&i.a.createElement(m.Element,{name:`scrollTop-${l}`}),t&&i.a.createElement("h2",{className:g},t),a&&i.a.createElement("p",{className:"mb-1_5 size-16 text-gray-darker"},a),b&&i.a.createElement(u.a,{classes:d()("review-section-fragment size-16",c)},n),v&&i.a.createElement(h.a,{minHeight:"0",isEclipseFade:!1,isOpenOnLoad:!0,closeAfterLoad:!0,btnClasses:"px-0_5 py-0 size-16 text-primary-darker",btnContainerClasses:"py-0",justify:"justify-content-start",showBtnBelow:!0,btnTextClasses:"font-weight-normal",classes:"size-16 mb-1_25",resetParams:{offset:p.b,duration:p.a,to:`scrollTop-${l}`}},i.a.createElement(u.a,{classes:"review-section-fragment size-16 mb-0_75"},o))):null}g.propTypes={heading:l.a.string,subhead:l.a.string,body:l.a.string,collapsedBody:l.a.string,id:l.a.string,bodyClassName:l.a.string,headingClassName:l.a.string},g.defaultProps={heading:null,subhead:null,body:null,collapsedBody:null,id:null,bodyClassName:"mb-1_5",headingClassName:"heading-4 mb-0_25"}},"./site-modules/core-page/components/review-section/review-section.scss":function(e,t,a){},"./site-modules/core-page/components/review-table-section/review-table-section.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return g});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o),c=a("../node_modules/react-scroll/lib/modules/index.js"),d=a("./site-modules/shared/utils/nice-name.js"),m=a("./site-modules/core-page/components/review-section/review-section.jsx"),u=a("./site-modules/shared/constants/sub-navigation.js");a("./site-modules/core-page/components/review-table-section/review-table-section.scss");const p=13,h=32;class g extends n.Component{constructor(){super(...arguments),this.onRatingKeyDown=(e=>{e.keyCode!==p&&e.keyCode!==h||(e.preventDefault(),this.toggleSection())}),this.toggleSection=(()=>{this.props.onToggleSection(this.props.name)})}componentDidUpdate(){this.props.isOpened&&c.scroller.scrollTo(Object(d.b)(this.props.name),{duration:u.a,offset:u.b,smooth:"easeInOutQuad",isDynamic:!0})}render(){const e=this.props,t=e.name,a=e.rating,r=e.content,i=e.isOpened,o=e.isActive,c=e.dataTrackingId,u=e.dataTrackingValue,p=Object(d.b)(t),h=`${p}-content`;return s.a.createElement(n.Fragment,null,s.a.createElement("tr",{id:p,className:l()("review-table-section-name-row",{"font-weight-bold":o}),role:"button",tabIndex:0,"aria-controls":h,"aria-expanded":i,onKeyDown:this.onRatingKeyDown,onClick:this.toggleSection,"data-tracking-id":i?null:c,"data-tracking-value":u},s.a.createElement("td",{className:"name py-0_5"},s.a.createElement("i",{className:l()("chevron size-10 text-primary-darker mr-0_75",{"icon-arrow-down4":i,"icon-arrow-right4":!i})}),s.a.createElement("h2",{className:l()("name-value d-inline",{"heading-5":o,"heading-5-inline":!o})},t)),a&&s.a.createElement("td",{className:"rating py-0_5 text-right text-md-left"},s.a.createElement("div",{className:"rating-value d-inline-block text-right"},a))),r&&s.a.createElement("tr",{id:h,className:l()({"d-none":!i}),"aria-labelledby":p},s.a.createElement("td",{colSpan:a?2:1,className:"pt-0_5 pl-1_5"},s.a.createElement(m.a,{body:r,bodyClassName:"mb-1"}))))}}g.propTypes={name:i.a.string.isRequired,rating:i.a.oneOfType([i.a.string,i.a.number]),onToggleSection:i.a.func.isRequired,content:i.a.string,isOpened:i.a.bool,isActive:i.a.bool,dataTrackingId:i.a.string,dataTrackingValue:i.a.string},g.defaultProps={rating:null,content:null,isActive:!1,isOpened:!1,dataTrackingId:null,dataTrackingValue:null}},"./site-modules/core-page/components/review-table-section/review-table-section.scss":function(e,t,a){},"./site-modules/core-page/components/safety/safety-nhtsa-ratings.jsx":function(e,t,a){"use strict";a.d(t,"b",function(){return f}),a.d(t,"a",function(){return E});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/lodash/get.js"),i=a.n(r),o=a("../node_modules/lodash/isNil.js"),l=a.n(o),c=a("../node_modules/reactstrap/lib/Row.js"),d=a.n(c),m=a("../node_modules/reactstrap/lib/Col.js"),u=a.n(m),p=a("./data/models/safety.js"),h=a("./data/models/safety-map.js"),g=a("./site-modules/shared/components/rating-stars/rating-stars.jsx"),b=a("./site-modules/core-page/components/safety/utils.js");const v=(e,t)=>{return l()(e)||""===e?"Not Rated":`${e}${t}`};function f(e,t){let a;switch(e){case h.a.RATING:a=v(t," / 5");break;case h.a.STRING:a=t||"No Tip";break;case h.a.PERCENTAGE:a=v(t,"%");break;default:a=""}return a}function E(e){let t=e.nhtsaRatings;if(Object(b.a)(t))return null;const a=t.overall,n=void 0===a?0:a;return s.a.createElement("div",{className:"safety-nhtsa-ratings"},s.a.createElement(d.a,{className:"align-items-center text-gray-darker"},s.a.createElement(u.a,{xs:12},s.a.createElement("div",{className:"d-flex justify-content-between justify-content-md-start"},s.a.createElement("p",{className:"d-inline-block size-16 mb-0_5 font-weight-bold"},"NHTSA Overall Rating"),!!n&&s.a.createElement(g.a,{rating:n,starClass:"text-primary-darker",className:"ml-0_5"})),s.a.createElement("div",{className:"size-16 mb-0_5"},"The National Highway Transportation Safety Administration offers independent analysis."))),s.a.createElement(d.a,null,s.a.createElement(u.a,{tag:"ul",xs:12,md:8,lg:6,className:"list-unstyled py-0 px-0_5 mb-0"},Object.keys(h.b.nhtsaRatings).map(e=>{const a=h.b.nhtsaRatings[e];return s.a.createElement("li",{key:e,className:"pt-1 mb-1_5"},s.a.createElement("div",{className:"size-16 font-weight-bold mb-0_5"},a.name),Object.keys(a.values).map(n=>{const r=a.values[n],o=i()(t,`${e}.${n}`);return s.a.createElement("div",{key:n,className:"d-flex justify-content-between mb-0_5"},s.a.createElement("span",null,r.name),s.a.createElement("span",null,f(r.type,o)))}))}))))}E.propTypes={nhtsaRatings:p.a.NhtsaRatings},E.defaultProps={nhtsaRatings:null}},"./site-modules/core-page/components/safety/utils.js":function(e,t,a){"use strict";a.d(t,"a",function(){return r});var n=a("../node_modules/lodash/isEmpty.js"),s=a.n(n);function r(e){return s()(e)||Object.keys(e).every(t=>s()(e[t]))}},"./site-modules/core-page/components/sub-navigation/sub-navigation.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return O});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("../node_modules/prop-types/index.js"),o=a.n(i),l=a("../node_modules/classnames/index.js"),c=a.n(l),d=a("../node_modules/react-stickynode/index.js"),m=a.n(d),u=a("../node_modules/reactstrap/lib/Container.js"),p=a.n(u),h=a("../node_modules/reactstrap/lib/Row.js"),g=a.n(h),b=a("../node_modules/reactstrap/lib/Col.js"),v=a.n(b),f=a("../node_modules/react-scroll/lib/modules/index.js"),E=a("./site-modules/shared/utils/core-page/params.js"),y=a("./data/luckdragon/redux/react-binding.jsx"),_=a("./data/models/mmy-details.js"),C=a("./site-modules/shared/constants/sub-navigation.js"),k=a("./site-modules/shared/components/feature-flag/feature-flag.jsx"),N=a("./site-modules/shared/components/merged-attributes-heart/merged-attributes-heart.jsx");a("./site-modules/core-page/components/sub-navigation/sub-navigation.scss");function j(e){let t=e.params,a=e.inventoryLink,s=e.vsCompetition,i=e.isMobile,o=e.mergedAttributes,l=e.setForceNoTooltip;if(!t||!a)return null;const d=Object(n.a)({},t.isUsedMakeModel||t.isSrpOnUsedCore?{}:{pricing:t.isUsed?"For Sale":"Pricing"},t.noEditorialReview?{"consumer-reviews":"Reviews"}:{reviews:"Reviews"},{features:"Features",competition:s&&"Competitors"}),u=[];return Object.keys(d).forEach(e=>{d[e]&&u.push(e)}),r.a.createElement("div",{className:"sub-navigation","data-tracking-parent":"edm-entry-sub-nav"},r.a.createElement(m.a,{activeClass:"sub-navigation-sticky",innerZ:1},e=>{let t=e.status;return r.a.createElement("div",{className:c()("sub-navigation-container bg-white heading-6 font-weight-normal",{"d-none":t!==m.a.STATUS_FIXED})},r.a.createElement(p.a,{className:"px-0"},r.a.createElement(g.a,null,r.a.createElement(v.a,{tag:"nav",xs:12,lg:8,className:"injected-container d-flex justify-content-between px-xl-0_25"},r.a.createElement("ul",{className:"sub-navigation-list list-unstyled m-0 p-0",role:"menu","aria-label":"Page sections"},u.map(e=>r.a.createElement("li",{key:`subnav-${e}`,className:"d-inline-block px-0_5 px-xl-0_75",role:"none"},r.a.createElement(f.Link,{className:"sub-navigation-link text-decoration-none d-inline-block pb-0_75 pt-1",activeClass:"link-active text-primary-darker",to:`subnav-${e}`,href:`#subnav-${e}`,offset:C.b,duration:C.a,role:"menuitem","data-tracking-id":"view_content","data-tracking-value":d[e],smooth:!0,isDynamic:!0,spy:!0},d[e])))),r.a.createElement(k.a,{name:"savecoresubnav"},r.a.createElement("div",{className:"d-flex align-items-center"},r.a.createElement(N.a,{mergedAttributes:o,heartClasses:"border-0",trackingParent:"edm-entry-sub-nav",forceNoTooltip:!0,setForceNoTooltip:l,useIcon:i})))))))}))}j.propTypes={vsCompetition:_.a.ComparisonsContent,params:E.a.isRequired,inventoryLink:o.a.string.isRequired,isMobile:o.a.bool,mergedAttributes:o.a.shape({}),setForceNoTooltip:o.a.func},j.defaultProps={vsCompetition:null,isMobile:!1,mergedAttributes:null,setForceNoTooltip:null};const O=Object(y.b)(j,{vsCompetition:Object(y.a)(e=>{let t=e.params;return Object(_.e)(t)},_.b)});O.propTypes={params:E.a.isRequired,inventoryLink:o.a.string.isRequired,isMobile:o.a.bool,mergedAttributes:o.a.shape({})},O.defaultProps={params:null,isMobile:!1,mergedAttributes:null}},"./site-modules/core-page/components/sub-navigation/sub-navigation.scss":function(e,t,a){},"./site-modules/core-page/components/vehicle-comparisons/vehicle-comparisons.scss":function(e,t,a){},"./site-modules/core-page/components/vehicle-questions/vehicle-questions.scss":function(e,t,a){},"./site-modules/core-page/components/video-ad/video-ad.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return v});var n=a("../node_modules/lodash/get.js"),s=a.n(n),r=a("../node_modules/react/index.js"),i=a.n(r),o=a("../node_modules/react-redux/es/index.js"),l=a("../node_modules/prop-types/index.js"),c=a.n(l),d=a("../node_modules/classnames/index.js"),m=a.n(d),u=a("./site-modules/shared/components/native-ad/video/video-native-ad.jsx"),p=a("./site-modules/shared/components/scroll-link/scroll-element.jsx"),h=a("./utils/ads.js");a("./site-modules/core-page/components/video-ad/video-ad.scss");const g="#sponsored-video";class b extends r.Component{constructor(){super(...arguments),this.state={hasAdRendered:!0},this.hideEmptyAdContainer=(e=>{(Object(h.a)(e)||Object(h.b)(e))&&this.setState({hasAdRendered:!1})})}render(){const e=this.props.hash;return this.state.hasAdRendered&&i.a.createElement(p.a,{id:"sponsored-video",className:m()("mb-2",{hasAnchorLink:e===g})},i.a.createElement(u.NativeVideoAd,{onSlotRenderEndedListener:this.hideEmptyAdContainer}),i.a.createElement("hr",{className:"mt-1_5"}))}}b.propTypes={hash:c.a.string},b.defaultProps={hash:""};const v=Object(o.c)(e=>({hash:s()(e,"pageContext.page.location.hash")}))(b)},"./site-modules/core-page/components/video-ad/video-ad.scss":function(e,t,a){},"./site-modules/core-page/pages/new-core/new-core-definition.jsx":function(e,t,a){"use strict";a.r(t);var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),r=a("../node_modules/lodash/compact.js"),i=a.n(r),o=a("../node_modules/lodash/get.js"),l=a.n(o),c=a("../node_modules/react/index.js"),d=a.n(c),m=a("./actions/legacy-page.js"),u=a("./data/models/consumer-reviews.js"),p=a("./site-modules/shared/utils/core-page/params.js"),h=a("./data/models/editorial-review.js"),g=a("./data/models/media.js"),b=a("./data/models/mmy-details.js"),v=a("./site-modules/shared/utils/core-page/vehicle-preloader.jsx"),f=a("./site-modules/shared/utils/core-page/display-name-builders.js"),E=a("./data/models/native-ads-creative-config.js"),y=a("./data/models/vehicle.js"),_=a("./data/models/visitor.js"),C=a("./data/models/photoflipper.js"),k=a("./data/models/url.js"),N=a("./data/models/type-rankings.js"),j=a("./data/models/core-research.js"),O=a("./data/models/link-widgets.js"),T=a("./data/models/safety.js"),S=a("./data/luckdragon/model.js"),I=a("./data/models/inventory.js"),w=a("./site-modules/shared/utils/publication-states.js"),x=a("./data/models/inventory-aggregate.js"),A=a("./data/models/inventory-core-configurations.js"),R=a("./data/models/unified-lead-form.js"),P=a("./site-modules/shared/utils/core-breadcrumbs-builder.js"),L=a("./site-modules/shared/utils/core-page/url-pattern.js"),D=a("./seo/schemas/breadcrumbs.js"),$=a("./seo/schemas/article.js"),M=a("./seo/schemas/car.js"),V=a("./seo/schemas/faq.js"),F=a("./data/models/photos.js"),U=a("./site-modules/shared/utils/inventory-utils.js"),Y=a("./site-modules/shared/pages/decorators/edmunds-new-cars-no-adhesion.jsx"),B=a("./seo/schemas/review.js"),W=a("./seo/schemas/image.js"),z=a("./utils/image-helpers.js"),q=a("./site-modules/core-page/utils/faq-content-generator.js"),H=a("./site-modules/shared/components/native-ad/utils/utils.js"),G=a("./site-modules/shared/components/native-ad/utils/constants.js"),K=a("./site-modules/shared/constants/ads.js"),Z=a("./data/models/cms.js"),Q=a("./selectors/experiment.js"),X=a("./actions/critical-css.js"),J=a("./site-modules/shared/utils/photoflipper/vehicle-preloader.jsx"),ee=a("./site-modules/shared/utils/errors.js"),te=a("./site-modules/shared/constants/photoflipper/photoflipper.jsx"),ae=a("./site-modules/shared/constants/research.js"),ne=a("./site-modules/shared/utils/core-page/page-helpers.jsx"),se=a("./site-modules/shared/utils/core-page/core-page-decorator.jsx"),re=a("./site-modules/shared/utils/editors-choice.js"),ie=a("./site-modules/shared/utils/top-rated.js"),oe=a("./site-modules/shared/utils/core-link-constructor.js"),le=a("./data/models/feature-flag.js"),ce=a("../node_modules/lodash/includes.js"),de=a.n(ce),me=a("../node_modules/react-redux/es/index.js"),ue=a("../node_modules/prop-types/index.js"),pe=a.n(ue),he=a("../node_modules/reactstrap/lib/Container.js"),ge=a.n(he),be=a("../node_modules/reactstrap/lib/Row.js"),ve=a.n(be),fe=a("../node_modules/reactstrap/lib/Col.js"),Ee=a.n(fe),ye=a("../node_modules/react-scroll/lib/modules/index.js"),_e=a("./data/luckdragon/redux/react-binding.jsx"),Ce=a("./site-modules/shared/utils/core-page/is-used-pub-state.js"),ke=a("./site-modules/shared/utils/srp-link-constructor.js"),Ne=a("./site-modules/shared/utils/location.js"),je=a("./utils/ads.js"),Oe=a("./site-modules/shared/components/ad-unit/native-ad.jsx"),Te=a("./site-modules/shared/components/native-ad/mrect/mrect-native.jsx"),Se=a("./site-modules/shared/components/native-ad/buildprice-ad/buildprice-ad.jsx"),Ie=a("./site-modules/shared/components/native-ad/conquest-ysc/conquest-native-ad.jsx"),we=a("./site-modules/core-page/components/video-ad/video-ad.jsx"),xe=a("./site-modules/shared/components/ad-unit/ad-unit-async.jsx"),Ae=a("./tracking/maps/core-page/index.js"),Re=a("./tracking/maps/inventory/vdp/index.js"),Pe=a("./tracking/maps/insider/save-model/index.js"),Le=a("./tracking/handler.js"),De=a("./tracking/maps/editorial/index.js"),$e=a("./site-modules/shared/components/experiment/venom-experiments.js"),Me=a("./site-modules/shared/components/render-when-viewable/render-when-viewable.jsx"),Ve=a("./site-modules/shared/components/hash-anchor/hash-anchor.jsx"),Fe=a("./site-modules/shared/components/breadcrumbs/breadcrumbs.jsx"),Ue=a("./site-modules/shared/components/core-seo-vehicle-links/core-seo-vehicle-links.jsx"),Ye=a("./site-modules/shared/components/core-page/sponsored-cars/sponsored-cars.jsx"),Be=a("./site-modules/shared/components/back-to-top/back-to-top.jsx"),We=a("./site-modules/shared/components/other-model-years-generations/other-model-years-generations.jsx"),ze=a("./site-modules/shared/components/feature-flag/feature-flag.jsx"),qe=a("./site-modules/shared/components/core-page/pricing-carousel/pricing-carousel.jsx"),He=a("./site-modules/shared/components/core-page/sub-cta-link/sub-cta-link.jsx"),Ge=a("../node_modules/classnames/index.js"),Ke=a.n(Ge),Ze=a("./site-modules/shared/utils/price-utils.js");a("./site-modules/shared/components/shop-used-inventory-button/shop-used-inventory-button.scss");function Qe(e){let t=e.params,a=e.results,n=e.location,r=e.className,i=e.linkStyle;if(!a||!a.inventoryCount)return null;const o=n.dmaRank,l=Object(I.d)(o),c=Object(s.a)({},t,{radius:l,inventorytype:"used,cpo"}),m=Object(ke.p)(c),u=a.minPrice;return d.a.createElement("a",{href:m,className:Ke()(i?"shop-used-inventory-link d-flex align-items-center":"shop-used-inventory-button d-flex align-items-center px-1 py-1_25",r)},!i&&d.a.createElement("span",{className:"icon icon-price-tags2 size-24 text-gray mr-1"}),d.a.createElement("div",{className:"button-text"},d.a.createElement("div",{className:"text-primary-darker size-16"},"Shop used ",t.year," ",!!u&&`from ${Object(Ze.a)(u)}`)),d.a.createElement("span",{className:Ke()("icon icon-arrow-right4 size-24 text-primary-darker",{"size-24":!i,"size-10 ml-0_25":i})}))}Qe.propTypes={params:p.a.isRequired,results:x.a.MMYSubmodelTypeAmounts,location:_.c.Location,className:pe.a.string,linkStyle:pe.a.bool},Qe.defaultProps={results:null,location:null,className:"",linkStyle:!1};const Xe=Object(_e.b)(Qe,{results:Object(_e.a)(e=>{let t=e.params;return Object(x.c)(Object(s.a)({},t,{isUsed:!0}))},x.b),location:Object(_e.a)("location",_.d)});Xe.propTypes={params:p.a.isRequired,className:pe.a.string,linkStyle:pe.a.bool},Xe.defaultProps={className:"",linkStyle:!1};var Je=a("./site-modules/shared/components/link/link.jsx"),et=a("./site-modules/shared/utils/build-and-price-link-constructor.js"),tt=a("./site-modules/shared/components/error-boundary/error-boundary.jsx");const at=(e,t,a,n,s)=>{const r=t||e;let i;return e.isUsed||a&&!n?i=Object(ke.p)(r):a&&(i=Object(ke.g)(r)),i?{to:i,"data-tracking-id":"view_search_result",children:d.a.createElement("span",{className:"font-weight-normal"},"See all for sale")}:{to:Object(et.a)(e,s),"data-tracking-id":"configure_vehicle",children:d.a.createElement("span",{className:"font-weight-normal"},"What should I pay")}};function nt(e){let t=e.params,a=e.srpParams,s=e.inventoryTotalNumber,r=e.leadFormDealerCount,i=e.btnStyle;return!s&&r?null:d.a.createElement("div",{className:"text-center"},d.a.createElement($e.a,{name:"SEOT-947",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement($e.a,{name:"CORE-1921-build-MVP",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement(Je.a,Object(n.a)({className:Ke()("btn size-16 btn-sm",i),"data-tracking-parent":"edm-entry-pricing",rel:"nofollow"},at(t,a,s)))),d.a.createElement($e.b,{name:"chal"},d.a.createElement(Je.a,Object(n.a)({className:Ke()("btn size-16 btn-sm",i),"data-tracking-parent":"edm-entry-pricing",rel:"nofollow"},at(t,a,s,!1,!0)))))),d.a.createElement($e.b,{name:"chal"},d.a.createElement($e.a,{name:"CORE-1921-build-MVP",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement(Je.a,Object(n.a)({className:Ke()("btn size-16 btn-sm",i),"data-tracking-parent":"edm-entry-pricing"},(!s||t.isUsed)&&{rel:"nofollow"},at(t,a,s,!0)))),d.a.createElement($e.b,{name:"chal"},d.a.createElement(Je.a,Object(n.a)({className:Ke()("btn size-16 btn-sm",i),"data-tracking-parent":"edm-entry-pricing"},(!s||t.isUsed)&&{rel:"nofollow"},at(t,a,s,!0,!0))))))))}nt.propTypes={params:p.a.isRequired,srpParams:pe.a.shape({make:pe.a.string,model:pe.a.string,year:pe.a.number,inventorytype:pe.a.string,submodelid:pe.a.string}),btnStyle:pe.a.string,inventoryTotalNumber:pe.a.number,leadFormDealerCount:pe.a.number},nt.defaultProps={srpParams:null,btnStyle:"btn-outline-primary-b",inventoryTotalNumber:null,leadFormDealerCount:null};const st=Object(_e.b)(nt,{leadFormDealerCount:Object(_e.a)(e=>{let t=e.inventoryTotalNumber,a=e.params.make;return 0===t&&Object(R.g)(a)},R.c)});function rt(e){return d.a.createElement(tt.a,null,d.a.createElement(st,e))}var it=a("../node_modules/lodash/isFinite.js"),ot=a.n(it),lt=a("./data/models/car-buying.js");function ct(e){let t=e.vehicle,a=e.params,n=e.minMonthlyPayment,s=e.className;if(!(t&&a&&a.make&&a.model))return null;const r=`/${a.make}-${a.model}-lease-deals/`;return d.a.createElement(He.a,{to:r,rel:"nofollow",trackingId:"view_lease_pricing",containerClassName:s},"See all ",t.model.name," lease offers"," ",!!n&&ot()(n)&&`from ${Object(Ze.a)(n)}/month`)}ct.propTypes={vehicle:y.d.MakeModelSubmodelYear,params:p.a,minMonthlyPayment:pe.a.number,className:pe.a.string},ct.defaultProps={vehicle:null,params:null,minMonthlyPayment:0,className:""};const dt={minMonthlyPayment:Object(_e.a)(lt.b.LEASE_DEAL_MIN_MONTHLY_PAYMENT,lt.a)},mt=Object(_e.b)(ct,dt);a("./site-modules/core-page/components/incentives-link/incentives-link.scss");function ut(e){let t=e.vehicle,a=e.className;const n=Object(oe.o)({makeModelSubmodelYear:t});return d.a.createElement(He.a,{to:Object(oe.f)(n),trackingId:"view_incentives_deals",containerClassName:a},t.year," ",`${t.make.name} ${t.model.name} incentives`)}ut.propTypes={vehicle:y.d.MakeModelSubmodelYear.isRequired,className:pe.a.string},ut.defaultProps={className:""};a("../node_modules/core-js/modules/es6.regexp.replace.js");var pt=a("./site-modules/shared/components/zip-with-default-action-handling/zip-with-default-action-handling.jsx"),ht=a("./site-modules/shared/components/carousel/carousel.jsx"),gt=a("./engagement-handlers/core-pricing-carousel-engagement-handler/core-pricing-carousel-engagement-handler.js"),bt=a("./engagement-handlers/index.js"),vt=a("./utils/event-toolbox.js"),ft=a("./site-modules/shared/components/lead-form/lead-form-drawer/lead-form-drawer.jsx"),Et=a("./site-modules/shared/components/lead-form/unified-lead-form-pages/transparent-pricing-lead-form.jsx"),yt=a("./site-modules/shared/utils/core-page/core-configurations.js"),_t=a("./site-modules/shared/utils/nice-name.js"),Ct=a("./site-modules/shared/constants/inventory/feature-highlights-icons-map.js"),kt=a("./site-modules/shared/components/core-page/pricing-carousel/pricing-carousel-card-cta.jsx");a("./site-modules/shared/components/core-page/pricing-carousel/pricing-carousel-3-path-resources/resources.scss");function Nt(e){let t=e.className,a=e.showFairPrice;return d.a.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"233px",height:"109px",viewBox:"0 0 233 109",fill:"none",className:Ke()("svg-card",t)},a&&d.a.createElement("text",{className:"small text-gray",x:10,y:10},"Fair Price"),d.a.createElement("text",{className:"small text-gray",x:160,y:80},"Great Price"),d.a.createElement("svg",{x:0,y:10},d.a.createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},d.a.createElement("g",{transform:"translate(-46.000000, -879.000000)"},d.a.createElement("g",{transform:"translate(47.000000, 819.000000)"},d.a.createElement("g",{transform:"translate(0.000000, 58.000000)"},a&&d.a.createElement("path",{d:"M36,8 L36,25",className:"secondary-stroke",strokeLinecap:"square",strokeDasharray:3}),d.a.createElement("path",{d:"M0,20 C107.202586,20 128,98 231,98",className:"secondary-stroke",strokeWidth:2,strokeLinecap:"round"}),d.a.createElement("path",{d:"M116,53 L116,1.8189894e-12",className:"primary-stroke",strokeLinecap:"square",strokeDasharray:3}),d.a.createElement("path",{d:"M189.108242,92.999017 L188.922685,77.9999734",className:"secondary-stroke",strokeLinecap:"square",strokeDasharray:3,transform:"translate(189.015463, 85.499495) rotate(0.590657) translate(-189.015463, -85.499495) "}),a&&d.a.createElement("circle",{className:"secondary-stroke fill-white",cx:36,cy:23,r:4}),d.a.createElement("circle",{className:"primary-stroke fill-white",strokeWidth:3,cx:116,cy:58,r:6}),d.a.createElement("circle",{className:"secondary-stroke fill-white",cx:189,cy:93,r:4})))))))}function jt(e){let t=e.className;return d.a.createElement("svg",{width:"182px",height:"54px",viewBox:"0 0 182 54",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:Ke()("svg-card",t)},d.a.createElement("defs",null,d.a.createElement("filter",{x:"-15.8%",y:"-37.5%",width:"131.6%",height:"175.0%",filterUnits:"objectBoundingBox",id:"filter-1"},d.a.createElement("feGaussianBlur",{stdDeviation:1,in:"SourceGraphic"}))),d.a.createElement("g",{stroke:"none",strokeWidth:1,fill:"none",fillRule:"evenodd"},d.a.createElement("g",{transform:"translate(-362.000000, -896.000000)"},d.a.createElement("g",{transform:"translate(324.000000, 768.000000)"},d.a.createElement("g",{transform:"translate(39.000000, 62.000000)"},d.a.createElement("g",{transform:"translate(0.000000, 66.500000)"},d.a.createElement("ellipse",{className:"secondary-stroke",cx:90,cy:34,rx:32,ry:5.5}),d.a.createElement("ellipse",{className:"secondary-stroke",cx:90,cy:35.5,rx:61,ry:10}),d.a.createElement("ellipse",{className:"secondary-stroke",cx:90,cy:37.5,rx:90,ry:15}),d.a.createElement("path",{d:"M89.9285714,35 C92.6428571,32.55637 94,30.8204937 94,29.7923711 C94,28.2501871 89.7467051,27 84.5,27 C79.2532949,27 75,28.2501871 75,29.7923711 C75,30.8204937 79.9761905,32.55637 89.9285714,35 Z",className:"fill-gray",opacity:.699999988,filter:"url(#filter-1)"}),d.a.createElement("g",{transform:"translate(78.904429, 0.000000)",className:"fill-gray-lightest primary-stroke",strokeWidth:2},d.a.createElement("path",{d:"M11.0955711,0.5 C17.1707033,0.5 22.0955711,5.28866312 22.0955711,11.1957784 C22.0955711,15.1338553 18.4289044,22.5685958 11.0955711,33.5 C3.76223776,22.5685958 0.0955710956,15.1338553 0.0955710956,11.1957784 C0.0955710956,5.28866312 5.02043885,0.5 11.0955711,0.5 Z M11.0955711,7.30640446 C8.33414735,7.30640446 6.0955711,9.48306951 6.0955711,12.1681219 C6.0955711,14.8531743 8.33414735,17.0298394 11.0955711,17.0298394 C13.8569948,17.0298394 16.0955711,14.8531743 16.0955711,12.1681219 C16.0955711,9.48306951 13.8569948,7.30640446 11.0955711,7.30640446 Z",id:"Combined-Shape"}))))))))}Nt.propTypes={className:pe.a.string,showFairPrice:pe.a.bool},Nt.defaultProps={className:"",showFairPrice:!0},jt.propTypes={className:pe.a.string},jt.defaultProps={className:""};a("./site-modules/shared/components/core-page/pricing-carousel/pricing-carousel.scss"),a("./site-modules/shared/components/core-page/pricing-carousel/pricing-carousel-3-path.scss");bt.a.register(gt.b);const Ot=["xs","sm"],Tt="pricing-carousel-card card align-items-center px-0_5 pt-1_5",St={children:pe.a.node.isRequired,cardsGrid:pe.a.shape({md:pe.a.number,lg:pe.a.number}),isCarousel:pe.a.bool},It={cardsGrid:{md:5,lg:3},isCarousel:!1};function wt(e){let t=e.cardsGrid,a=e.isCarousel,s=e.children;return a?d.a.createElement("div",{className:"px-0_5"},s):d.a.createElement(Ee.a,Object(n.a)({},t,{className:"card-wrapper mb-1_5 card-3-path"}),s)}function xt(e){let t=e.cardsGrid,a=e.isCarousel,n=e.children;return d.a.createElement(wt,{cardsGrid:t,isCarousel:a},d.a.createElement("div",{className:Tt,role:"presentation","data-hidedelightedoninteraction":!0},n))}wt.propTypes=St,wt.defaultProps=It,xt.propTypes=St,xt.defaultProps=It;class At extends c.Component{constructor(){super(...arguments),this.state={leadFormData:{params:{styleId:0},options:{}},isDrawerOpen:!1,configuration:null,coreConfigurations:[]},this.getSrpLink=(()=>{const e=this.props,t=e.srpParams,a=e.makeModelSubmodelYear,n=e.leadFormDealerCount,s=e.order,r=this.state.configuration;let i;return!r.inventoryCount&&n?i=200:r.inventoryCount||n||(i=6e3),Object(ke.p)({make:l()(a,"make.slug"),model:l()(a,"model.slug"),year:l()(a,"year"),inventorytype:t.inventorytype,submodelid:t.submodelid,trim:1===s?Object(_t.b)(l()(r,"trim","")):"",radius:i})}),this.getRightOrder=(()=>{const e=this.props.order;return{1:[this.renderFirstCard,this.renderSecondCard,this.renderThirdCard],2:[this.renderSecondCard,this.renderThirdCard,this.renderFirstCard],3:[this.renderThirdCard,this.renderSecondCard,this.renderFirstCard]}[e]}),this.openLeadFormDrawerHandler=(()=>{const e=this.state.configuration;this.setState({isDrawerOpen:!0,leadFormData:{params:{styleId:e.id,trim:e.trim,srpLink:this.getSrpLink()},options:{creativeId:"tpt-389-3paths"}}})}),this.closeLeadFormDrawerHandler=(()=>{this.setState({isDrawerOpen:!1})}),this.renderCardTopSection=((e,t)=>d.a.createElement("div",{className:"pos-r top-section"},d.a.createElement("div",{className:"content"},d.a.createElement("div",{className:"small text-primary mx-auto small-header"},e),d.a.createElement("div",{className:"heading-4"},t)))),this.renderFirstCard=(e=>{const t=this.props.leadFormDealerCount,a=this.state.configuration,s=a.inventoryCount,r=a.bestDealPrice,i=a.baseMsrp,o=a.totalMsrp,l=r||o||i;if(!!(!s&&!t)||!l)return null;const c=r?"Edmunds Suggested Price":"Starting at",m=!!r;return d.a.createElement(xt,Object(n.a)({},this.props,{isCarousel:e,key:"first-card"}),this.renderCardTopSection(c,Object(Ze.a)(l)),d.a.createElement("figure",{className:"mb-1_5 middle-section"},d.a.createElement(Nt,{showFairPrice:m})),d.a.createElement("div",{className:"medium text-gray-darker mb-1_5"},"Ask dealers for their best offers"),d.a.createElement(kt.a,{buttonColor:"primary-b",showLeadForm:!0,showTransparentPricingLeadFormHandler:this.openLeadFormDrawerHandler,ctaText:"Compare Dealer Prices",className:"mb-1_5"}))}),this.renderSecondCard=(e=>{const t=this.props.visitorLocation,a=this.state.configuration,s=l()(t,"zipCode",""),r=a.inventoryCount?`${Math.ceil(.2*a.inventoryCount)} Great Deals`:"Great Deals nearby";return d.a.createElement(xt,Object(n.a)({},this.props,{isCarousel:e,key:"second-card"}),this.renderCardTopSection(`Near ${s}`,r),d.a.createElement("figure",{className:"pos-r mb-1_5 middle-section"},d.a.createElement(jt,{className:"content"})),d.a.createElement("div",{className:"medium text-gray-darker mb-1_5"},"Browse local inventory in your area"),d.a.createElement(kt.a,{buttonColor:"primary-b",srpLinkWithSubmodel:this.getSrpLink(),ctaText:"Shop all for sale",dataTrackingId:"view_search_result",className:"mb-1_5"}))}),this.renderThirdCard=(e=>{const t=this.props,a=t.params,s=t.makeModelSubmodelYear,r=t.genericFeatures,i=this.state.configuration,o=l()(i,"style",l()(i,"name","")).replace(/(.*)(\(.*\))/,"$1");return d.a.createElement(xt,Object(n.a)({},this.props,{isCarousel:e,key:"third-card"}),this.renderCardTopSection("Most popular",o),d.a.createElement("div",{className:"pos-r mb-1_5 middle-section w-100"},d.a.createElement("div",{className:"content w-100"},d.a.createElement(ve.a,null,r.map(e=>d.a.createElement(Ee.a,{xs:4,className:"size-10 text-gray-darker",key:e},d.a.createElement("i",{className:Ke()(Ct.a[e],"size-24 text-primary")}),d.a.createElement("div",{className:"mt-0_25"},e)))))),d.a.createElement("div",{className:"medium text-gray-darker mb-1_5"},"Customize and make it yours"),d.a.createElement(kt.a,{buttonColor:"primary-b",srpLinkWithSubmodel:Object(oe.b)({makeModelSubmodelYear:s,params:a}),ctaText:"Build & Price",dataTrackingId:"configure_vehicle",className:"mb-1_5"}))})}static getDerivedStateFromProps(e){let t=e.coreConfiguration,a=e.coreConfigurations,n=e.coreConfigurationFallback,s=e.coreConfigurationsFallback;return{configuration:t||n,coreConfigurations:Object(yt.d)({coreConfigurations:a,coreConfigurationsFallback:s})}}componentDidMount(){const e=this.state.coreConfigurations;vt.a.fireCustomEvent(gt.a.INITIAL_LOAD,{coreConfigurations:e})}shouldComponentUpdate(e){return Array.isArray(e.coreConfigurations)}componentDidUpdate(e){const t=Object(yt.d)({coreConfigurations:e.coreConfigurations,coreConfigurationsFallback:e.coreConfigurationsFallback}),a=this.state.coreConfigurations;vt.a.fireCustomEvent(gt.a.DATA_UPDATE,{previousCoreConfigurations:t,coreConfigurations:a})}render(){const e=this.props,t=e.params,a=e.makeModelSubmodelYear,n=e.visitorLocation,r=e.isMobile,i=e.breakpoint,o=e.leadFormOptions,m=e.showLeadForm,u=e.className,p=this.state,h=p.coreConfigurations,g=p.isDrawerOpen,b=p.leadFormData,v=p.configuration,E=Object(f.a)({makeModelSubmodelYear:a,params:t}),y=Object(f.a)({makeModelSubmodelYear:a,params:t,showYear:!1}),_=l()(n,"city",""),C=l()(n,"stateCode",""),k=l()(n,"zipCode",""),N=Object(yt.c)(h),j=Ot.includes(i),O=!(h&&h.length);return d.a.createElement("div",{className:Ke()("pricing-carousel text-center",u),"data-tracking-parent":"tpt-389-3paths"},d.a.createElement($e.a,{name:"tpt-389-3paths",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement("div",{className:"display-2 text-left size-24 font-weight-bold mb-0_5"},"Shop for your new ",y),d.a.createElement("div",{className:"text-gray-darker font-weight-normal text-left size-16"},d.a.createElement("h2",{className:"font-weight-normal size-16 d-inline-block mb-0"},N?d.a.createElement(c.Fragment,null,"Save as much as ",d.a.createElement("span",{className:"font-weight-bold"},Object(Ze.a)(N))," with Edmunds on"):"More Ways to Save"," ",E," pricing")," ","in ",_,", ",C,d.a.createElement(pt.a,{buttonClassName:"size-16 color-primary-darker font-weight-normal"}))),d.a.createElement($e.b,{name:"chal1"},d.a.createElement("div",{className:"display-2 text-left size-24 font-weight-bold mb-0_5"},"Shop for your new ",y),d.a.createElement("div",{className:"text-gray-darker font-weight-normal text-left size-16"},d.a.createElement("h2",{className:"font-weight-normal size-16 d-inline-block mb-0"},N?d.a.createElement(c.Fragment,null,"Save as much as ",d.a.createElement("span",{className:"font-weight-bold"},Object(Ze.a)(N))," with Edmunds on"):"More Ways to Save"," ",E," pricing")," ","in ",_,", ",C,d.a.createElement(pt.a,{buttonClassName:"size-16 color-primary-darker font-weight-normal"}))),d.a.createElement($e.b,{name:"chal2"},d.a.createElement("div",{className:"text-gray-darker font-weight-normal text-left size-16"},d.a.createElement("h2",{className:"size-24 display-2 mb-0_5 font-weight-bold"},N?d.a.createElement(c.Fragment,null,"Save as much as ",d.a.createElement("span",{className:"font-weight-bold"},Object(Ze.a)(N))," with Edmunds"):"More Ways to Save")," ",E," pricing in ",_,", ",C,d.a.createElement(pt.a,{buttonClassName:"size-16 color-primary-darker font-weight-normal"}))),d.a.createElement($e.b,{name:"chal3"},d.a.createElement("div",{className:"text-gray-darker font-weight-normal text-left size-16"},d.a.createElement("h2",{className:"size-24 display-2 mb-0_5 font-weight-bold"},N?d.a.createElement(c.Fragment,null,"Save as much as ",d.a.createElement("span",{className:"font-weight-bold"},Object(Ze.a)(N))," with Edmunds"):"More Ways to Save")," ",E," pricing in ",_,", ",C,d.a.createElement(pt.a,{buttonClassName:"size-16 color-primary-darker font-weight-normal"})))),O&&d.a.createElement("div",null,"Loading\u2026"),!O&&(j?d.a.createElement(ht.a,{slidesToShow:1.3,slidesToScroll:1,swipe:!0,arrows:!1,fluid:!0,className:"mt-1_5",contentDetails:"pricing_details",infinite:!1,customEventData:{value:""}},this.getRightOrder().map(e=>e(!0))):d.a.createElement(ve.a,{className:"mt-1_5"},this.getRightOrder().map(e=>e(!1)))),m&&d.a.createElement(ft.a,{url:"",isOpen:g,onDrawerToggle:this.closeLeadFormDrawerHandler,component:Et.a,componentData:{params:Object(s.a)({},b.params,{vehicle:a,zipCode:k,radius:100,city:_}),options:Object(s.a)({isMobile:r},o,b.options,{coreConfiguration:v})}}))}}At.propTypes={params:p.a.isRequired,srpParams:pe.a.shape({make:pe.a.string,model:pe.a.string,year:pe.a.oneOfType([pe.a.number,pe.a.string]),inventorytype:pe.a.string,submodelid:pe.a.string}).isRequired,makeModelSubmodelYear:y.d.MakeModelSubmodelYear,coreConfiguration:A.c.CoreConfiguration,coreConfigurations:A.c.CoreConfigurations,coreConfigurationFallback:A.c.CoreConfiguration,coreConfigurationsFallback:A.c.CoreConfigurations,genericFeatures:pe.a.arrayOf(pe.a.string),visitorLocation:_.c.Location,isMobile:pe.a.bool,breakpoint:pe.a.string,cardWrapperClassName:pe.a.string,leadFormDealerCount:pe.a.number,showLeadForm:pe.a.bool,cardsGrid:pe.a.shape({md:pe.a.number,lg:pe.a.number}),className:pe.a.string,order:pe.a.number},At.defaultProps={makeModelSubmodelYear:null,coreConfiguration:null,coreConfigurations:null,coreConfigurationFallback:null,coreConfigurationsFallback:null,genericFeatures:[],visitorLocation:null,isMobile:!1,breakpoint:"xl",cardWrapperClassName:"px-1_5 px-lg-0_5 px-xl-1_5",leadFormDealerCount:0,showLeadForm:!1,cardsGrid:{md:5,lg:3},className:void 0,order:1};const Rt=Object(me.c)(e=>({isMobile:e.mobile,breakpoint:l()(e,"pageContext.page.breakpoint"),visitorLocation:l()(e,"visitor.location")}))(Object(_e.b)(At,{leadFormDealerCount:Object(_e.a)(e=>{let t=e.coreConfigurations,a=e.makeModelSubmodelYear;return!(t&&t.length)&&a&&Object(R.g)(a.make.slug)},R.c)})),Pt=Object(_e.b)(Rt,{coreConfiguration:Object(_e.a)(e=>{let t=e.makeModelSubmodelYear;return t&&Object(A.e)({make:t.make.slug,model:t.model.slug,submodel:t.submodels.slug,year:t.year})},A.d,yt.e),coreConfigurations:Object(_e.a)(e=>{let t=e.makeModelSubmodelYear;return t&&Object(A.e)({make:t.make.slug,model:t.model.slug,submodel:t.submodels.slug,year:t.year})},A.d,yt.b),coreConfigurationFallback:Object(_e.a)(e=>{let t=e.params;return Object(y.x)(t)},y.e,yt.f),coreConfigurationsFallback:Object(_e.a)(e=>{let t=e.params;return Object(y.x)(t)},y.e,yt.a),genericFeatures:Object(_e.a)(e=>{let t=e.makeModelSubmodelYear;return t&&Object(y.l)({make:t.make.slug,model:t.model.slug,submodel:t.submodels.slug,year:t.year})},y.e,e=>{const t=[y.c.CONVENIENCE,y.c.TECHNOLOGY,y.c.SAFETY],a=[];return Object.keys(e).filter(e=>t.includes(e)).forEach(t=>{const n=e[t].find(e=>{let t=e.name;return!a.includes(t)});a.push(l()(n,"name"))}),a.filter(e=>e)})}),Lt=Object(_e.b)(Pt,{makeModelSubmodelYear:Object(_e.a)(e=>{let t=e.params;return Object(y.F)(t)},y.e)});function Dt(e){return d.a.createElement(tt.a,null,d.a.createElement(Lt,e))}function $t(e){let t=e.params,a=e.vehicle,n=e.srpParams,s=e.inventoryTotalNumber,r=e.showInventoryModuleLinks,i=e.isMobile;const o=d.a.createElement($e.a,{name:"CORE-1921-build-MVP",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement(He.a,{to:Object(oe.b)({makeModelSubmodelYear:a,params:t}),trackingId:"configure_vehicle",containerClassName:"ml-0 mb-1"},"Build & price")),d.a.createElement($e.b,{name:"chal"},d.a.createElement(He.a,{to:Object(oe.b)({params:t,isVenomPage:!0}),trackingId:"configure_vehicle",containerClassName:"ml-0 mb-1"},"Build & price")));return d.a.createElement(c.Fragment,null,d.a.createElement(ze.a,{name:"npf-core-multi"},e=>d.a.createElement(qe.PricingCarousel,{params:t,srpParams:n,cardWrapperClassName:"core-pricing-card",showLeadForm:e})),d.a.createElement($e.a,{name:"tpt-389-3paths",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0}),d.a.createElement($e.b,{name:"chal1"},d.a.createElement(Dt,{params:t,srpParams:n,showLeadForm:!0,className:"my-1 my-md-0"})),d.a.createElement($e.b,{name:"chal2"},i&&d.a.createElement(Dt,{params:t,srpParams:n,showLeadForm:!0,className:"my-1 my-md-0",order:2})),d.a.createElement($e.b,{name:"chal3"},i&&d.a.createElement(Dt,{params:t,srpParams:n,showLeadForm:!0,className:"my-1 my-md-0",order:3}))),d.a.createElement($e.a,{name:"tpt-389-3paths",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement(ve.a,{className:"justify-content-center flex-md-row-reverse"},d.a.createElement(Ee.a,{xs:0,md:4}),d.a.createElement(Ee.a,{xs:12,md:4,className:"mt-0_5 mb-1_5"},d.a.createElement(rt,{srpParams:n,params:t,inventoryTotalNumber:s})),d.a.createElement(Ee.a,{xs:12,md:4,"data-tracking-parent":"edm-entry-pricing"},o,r&&d.a.createElement(c.Fragment,null,d.a.createElement(mt,{vehicle:a,params:t,className:"ml-0 mb-1"}),d.a.createElement(ut,{vehicle:a,className:"mb-0"})))),r&&d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,md:6,lg:4},d.a.createElement(Xe,{params:t,className:"mt-1"})))),d.a.createElement($e.b,{name:"chal1"},d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,"data-tracking-parent":"edm-entry-pricing"},r&&d.a.createElement(c.Fragment,null,d.a.createElement(mt,{vehicle:a,params:t,className:"ml-0 mb-1"}),d.a.createElement(ut,{vehicle:a,className:"mb-0"})))),r&&d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,md:6,lg:4},d.a.createElement(Xe,{params:t,className:"mt-1"})))),d.a.createElement($e.b,{name:"chal2"},i?d.a.createElement(c.Fragment,null,d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,"data-tracking-parent":"edm-entry-pricing"},r&&d.a.createElement(c.Fragment,null,d.a.createElement(mt,{vehicle:a,params:t,className:"ml-0 mb-1"}),d.a.createElement(ut,{vehicle:a,className:"mb-0"})))),r&&d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,md:6,lg:4},d.a.createElement(Xe,{params:t,className:"mt-1"})))):d.a.createElement(c.Fragment,null,d.a.createElement(ve.a,{className:"justify-content-center flex-md-row-reverse"},d.a.createElement(Ee.a,{xs:0,md:4}),d.a.createElement(Ee.a,{xs:12,md:4,className:"mt-0_5 mb-1_5"},d.a.createElement(rt,{srpParams:n,params:t,inventoryTotalNumber:s})),d.a.createElement(Ee.a,{xs:12,md:4,"data-tracking-parent":"edm-entry-pricing"},o,r&&d.a.createElement(c.Fragment,null,d.a.createElement(mt,{vehicle:a,params:t,className:"ml-0 mb-1"}),d.a.createElement(ut,{vehicle:a,className:"mb-0"})))),r&&d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,md:6,lg:4},d.a.createElement(Xe,{params:t,className:"mt-1"}))))),d.a.createElement($e.b,{name:"chal3"},i?d.a.createElement(c.Fragment,null,d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,"data-tracking-parent":"edm-entry-pricing"},r&&d.a.createElement(c.Fragment,null,d.a.createElement(mt,{vehicle:a,params:t,className:"ml-0 mb-1"}),d.a.createElement(ut,{vehicle:a,className:"mb-0"})))),r&&d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,md:6,lg:4},d.a.createElement(Xe,{params:t,className:"mt-1"})))):d.a.createElement(c.Fragment,null,d.a.createElement(ve.a,{className:"justify-content-center flex-md-row-reverse"},d.a.createElement(Ee.a,{xs:0,md:4}),d.a.createElement(Ee.a,{xs:12,md:4,className:"mt-0_5 mb-1_5"},d.a.createElement(rt,{srpParams:n,params:t,inventoryTotalNumber:s})),d.a.createElement(Ee.a,{xs:12,md:4,"data-tracking-parent":"edm-entry-pricing"},o,r&&d.a.createElement(c.Fragment,null,d.a.createElement(mt,{vehicle:a,params:t,className:"ml-0 mb-1"}),d.a.createElement(ut,{vehicle:a,className:"mb-0"})))),r&&d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,md:6,lg:4},d.a.createElement(Xe,{params:t,className:"mt-1"})))))))}$t.propTypes={params:p.a.isRequired,vehicle:y.d.MakeModelSubmodelYear.isRequired,srpParams:pe.a.shape({make:pe.a.string,model:pe.a.string,year:pe.a.oneOfType([pe.a.string,pe.a.number]),inventorytype:pe.a.string,submodelid:pe.a.string}).isRequired,inventoryTotalNumber:pe.a.number,showInventoryModuleLinks:pe.a.bool,isMobile:pe.a.bool},$t.defaultProps={inventoryTotalNumber:null,showInventoryModuleLinks:!1,isMobile:!1};const Mt=Object(me.c)(e=>({isMobile:e.mobile}))($t);var Vt=a("./site-modules/shared/components/link-widget/page-links-widget.jsx"),Ft=a("./site-modules/core-page/components/sub-navigation/sub-navigation.jsx"),Ut=a("./site-modules/shared/components/content-fragment/content-fragment.jsx");a("./site-modules/core-page/components/vehicle-questions/vehicle-questions.scss");function Yt(e){let t=e.params,a=e.vehicleQuestions;return a&&t&&Object.keys(t).length&&Object.keys(a).length&&a.questions&&a.questions.length?d.a.createElement("div",{className:"mb-2"},d.a.createElement("h2",{className:"display-2 size-24 text-left mb-1_5 font-weight-bold text-gray-darker"},"FAQs"),a.questions.map((e,n)=>{const s=n+1;return e.content&&"good-deal"!==e.id&&d.a.createElement(ve.a,{key:s,className:"vehicle-questions text-gray-darker mb-1_5"},d.a.createElement(Ee.a,{xs:12},d.a.createElement("p",{className:"size-16 mb-0 font-weight-bold"},d.a.createElement("span",{className:"question"},function(e,t){return{"good-car":`Is the ${e.make} ${e.model} a good car?`,mpg:`Does the ${e.make} ${e.model} have good MPG?`,resale:`Does the ${e.make} ${e.model} have good resale value?`}[t]}(a.vehicle,e.id)))),d.a.createElement(Ee.a,{xs:12},d.a.createElement(Ut.a,null,e.content),function(e,t,a){const n={makeSlug:e.make,modelSlug:e.model,year:e.year,style:t.style},s={"good-car":null,mpg:null,resale:{linkText:"True Cost to Own calculator",href:Object(oe.l)(n)}};return s[a]&&d.a.createElement(Je.a,{to:s[a].href,className:"text-primary-darker mt-1 d-inline-block"},s[a].linkText,d.a.createElement("i",{className:"icon-arrow-right3 pl-0_25 size-10"}))}(t,a.vehicle,e.id)))}),d.a.createElement("hr",{className:"m-0"})):null}Yt.propTypes={vehicleQuestions:b.c.QuestionsContent,params:pe.a.shape({make:pe.a.string,model:pe.a.string,year:pe.a.string})},Yt.defaultProps={vehicleQuestions:null,params:null};const Bt=Object(_e.b)(Yt,{vehicleQuestions:Object(_e.a)(e=>{let t=e.params;return Object(b.f)(t)},b.b)});Bt.propTypes={params:p.a},Bt.defaultProps={params:null};var Wt=a("./site-modules/core-page/components/high-impact/high-impact.jsx"),zt=(a("../node_modules/core-js/modules/es6.regexp.to-string.js"),a("./site-modules/core-page/components/articles/first-content-articles/first-content-articles.jsx")),qt=a("./site-modules/shared/components/preprod-articles/article-photo.jsx");function Ht(e){let t=e.articles;return l()(t,"length")?t.map((e,t)=>{let a=e.title,n=e.content,s=e.links;const r=`pre-prod-article-${t}`;return d.a.createElement("div",{className:Ke()("article text-gray-darker mt-0_5",{"mb-1":!s.length}),key:r},d.a.createElement("div",{className:"heading-4 mb-0_5"},a),d.a.createElement(Ut.a,{classes:"pre-prod-content text-gray-darker"},n),!!s.length&&d.a.createElement(qt.a,{links:s}))}):null}Ht.propTypes={articles:pe.a.arrayOf(h.d)},Ht.defaultProps={articles:null};var Gt=a("./site-modules/core-page/utils/constants.jsx");function Kt(e){let t=e.vehicle;const a=t.make,n=a.name,s=a.slug,r=t.model,i=r.name,o=r.slug,l=t.year,c=Object(oe.j)({makeSlug:s,modelSlug:o,year:l}),m=Object(oe.d)({makeSlug:s,modelSlug:o,year:l});return d.a.createElement(He.a,{containerClassName:"mt-2 mb-0_5",to:Gt.a.includes(s)?m:c,trackingId:"view_edmunds_review"},"See ",l," ",n," ",i," pricing")}Kt.propTypes={vehicle:pe.a.shape({make:pe.a.shape({name:pe.a.string,slug:pe.a.string}),model:pe.a.shape({name:pe.a.string,slug:pe.a.string}),year:pe.a.oneOfType([pe.a.string,pe.a.number])}).isRequired};var Zt=a("./site-modules/shared/components/image/image.jsx"),Qt=a("./site-modules/shared/utils/time-util.js"),Xt=a("./site-modules/shared/components/core-page/also-viewed-vehicles/also-viewed-vehicles.jsx"),Jt=a("./site-modules/shared/components/ad-unit/ad-unit.jsx"),ea=a("./site-modules/shared/components/editorial/article-menu/article-menu.jsx");function ta(e){let t=e.vehicle;const a=Object(p.b)(t),n=a.make,s=a.model,r=a.year;return d.a.createElement("div",{className:"bg-gray-extra-light available-now-vehicle d-flex justify-content-between align-items-center  px-0_75 py-1"},d.a.createElement("div",null,d.a.createElement("div",{className:"text-gray-darker font-weight-bold"},t.year," ",t.make.name," ",t.submodels.name),d.a.createElement("div",{className:"text-gray-darker"},"Available now")),d.a.createElement("div",null,d.a.createElement(Je.a,{to:`/${n}/${s}/${r}/`,className:"btn btn-outline-primary-b size-16 btn-sm","data-tracking-id":"mmy_select_submit",rel:"nofollow"},d.a.createElement("span",{className:"font-weight-bold"},"Learn more"))))}ta.propTypes={vehicle:pe.a.shape({make:pe.a.shape({name:pe.a.string,slug:pe.a.string}),model:pe.a.shape({name:pe.a.string,slug:pe.a.string}),year:pe.a.oneOfType([pe.a.string,pe.a.number])})},ta.defaultProps={vehicle:null};var aa=a("../node_modules/reactstrap/lib/Button.js"),na=a.n(aa),sa=a("../node_modules/reactstrap/lib/Modal.js"),ra=a.n(sa),ia=a("../node_modules/reactstrap/lib/ModalHeader.js"),oa=a.n(ia),la=a("../node_modules/reactstrap/lib/ModalBody.js"),ca=a.n(la),da=a("./site-modules/shared/components/unordered-list/unordered-list.jsx"),ma=a("./site-modules/shared/components/hero-carousel/hero-carousel.jsx"),ua=a("./site-modules/shared/components/other-model-years-combined-pub-states/other-model-years-combined-pub-states.jsx"),pa=a("./site-modules/shared/components/native-ad/incentives-ad/incentives-ad.jsx"),ha=a("./site-modules/shared/components/native-ad/pricing-ad/pricing-ad.jsx");a("./site-modules/core-page/components/preprod-summary/preprod-summary.scss");const ga="Release Date",ba="Estimated Price";function va(e,t){return t?d.a.createElement(Ee.a,{xs:6,className:"d-inline-block mb-1_5",tag:"dl"},d.a.createElement("dt",{className:"label"},e),d.a.createElement("dd",{className:"mb-0 heading-4 font-weight-normal"},t)):null}class fa extends c.Component{constructor(e){super(e),this.togglePhotoflipper=(()=>{this.setState({isPhotoflipperOpen:!this.state.isPhotoflipperOpen})}),this.state={isPhotoflipperOpen:!1}}render(){const e=this.props,t=e.isMobile,a=e.vehicle,n=e.firstContent,s=n.releaseDate,r=n.price,i=n.bullets,o=e.slides,l=this.state.isPhotoflipperOpen;return d.a.createElement(ve.a,{className:"preprod-summary"},d.a.createElement(Ee.a,{xs:12,md:6,lg:5,className:"px-0 px-md-0_5"},d.a.createElement(ma.a,{autoplay:!1,lazyLoad:!0,className:"editorial-hero-carousel mb-0_5","data-tracking-parent":"edm-entry-editorial-hero-carousel",slides:o}),!t&&d.a.createElement(c.Fragment,null,d.a.createElement(na.a,{color:"link",className:"photo-link-btn size-16 p-0 text-primary-darker text-capitalize border-0",onClick:this.togglePhotoflipper},"Photos & Videos"),d.a.createElement(pa.a,{wrapperClass:"mt-2"}),d.a.createElement(ra.a,{className:"preprod-summary-carousel-modal",isOpen:l,toggle:this.togglePhotoflipper,centered:!0,size:"lg"},d.a.createElement(oa.a,{tag:"div",className:"justify-content-end p-0",onClick:this.togglePhotoflipper},d.a.createElement(na.a,{color:"link",className:"text-decoration-none p-0_25 heading-3 text-white"},d.a.createElement("i",{className:"icon-cross2"}))),d.a.createElement(ca.a,{className:"p-0"},d.a.createElement(ma.a,{autoplay:!1,lazyLoad:!0,className:"editorial-hero-carousel","data-tracking-parent":"edm-entry-editorial-hero-carousel",slides:o}))))),d.a.createElement(Ee.a,{xs:12,md:6,lg:7},(s.value||r.value)&&d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,lg:9,xl:7},d.a.createElement(ve.a,{className:"mb-0"},va(s.label||ga,s.value),va(r.label||ba,r.value)))),d.a.createElement(da.a,{title:i.label,items:i.value,titleClasses:"heading-5 mb-0_5",listClasses:"text-gray-darker mb-1_5 mb-md-1 pl-1 size-10",textClasses:"size-16 align-middle",listItemClasses:"mb-0_5"}),d.a.createElement(ua.a,{vehicle:a,hasSeparatorAbove:!0}),t&&d.a.createElement(ha.a,{mobile:t})),d.a.createElement("hr",{className:"w-100 mt-1_5 mb-2 mx-0_5"}))}}fa.propTypes={vehicle:y.d.MakeModelSubmodelYear,firstContent:h.e.isRequired,slides:pe.a.arrayOf(pe.a.element),isMobile:pe.a.bool},fa.defaultProps={slides:[],vehicle:null,isMobile:!1};const Ea=Object(me.c)(e=>{return{isMobile:e.mobile}})(fa);var ya=a("./site-modules/shared/constants/editorial/editorial.js"),_a=a("./site-modules/shared/components/video/index.jsx"),Ca=a("./site-modules/shared/components/top-makes-section/top-makes-section.jsx"),ka=a("./data/cms/content.js");a("./site-modules/core-page/components/preprod-articles/preprod-articles.scss");const Na="/img/core/preprod-no-vehicle-article.jpg";function ja(e,t,a){return d.a.createElement("div",{key:`${e}-${t}`,className:"video-slide","data-index":t},d.a.createElement(_a.a,{containerClassName:"video",videoId:e,type:a}))}function Oa(e,t,a){const n=e.href,s=e.title;switch(e.rel){case"video_youtube":return ja(n,t,"Youtube");case"video_brightcove":return ja(n,t,"Brightcove");default:return function(e,t,a,n){const s=Object(z.g)(e,ya.b.lg);return d.a.createElement("div",{key:`${e}-${t}`,className:"slide","data-index":t},d.a.createElement("img",{className:Ke()("photo",{"my-auto":!n}),alt:a,src:s}))}(n,t,s,a)}}function Ta(e){let t=e.vehicle,a=e.params,r=e.firstContent,i=e.isMobile,o=e.breakpoint,l=e.topMakesContent;const m=t.make,u=m.name,h=m.slug,g=t.model,b=g.name,v=g.slug,E=t.year,y=t.submodels,_=Object(p.b)(t),C=r||{},k=C.articles,N=C.media,j=void 0===N?[]:N,O=C.additionalLinks,T=C.releaseDate,S=C.articlePublishDate,I=C.articleUpdateDate,w=C.bullets,x=C.hasPreProdContent,A=C.subHeader,R=w&&w.value.length>0,L=Object(Qt.a)(),D=Object(oe.d)({makeSlug:h,modelSlug:v,year:L}),$=O&&O.title&&O.links&&O.links.length,M=!!r&&(k&&k.length||j&&j.length),V="md"===o,F=Object(f.a)({makeModelSubmodelYear:t,params:a}),U=Object(f.a)({makeModelSubmodelYear:Object(s.a)({},t,{year:L.toString()}),params:_}),Y=function(e){const t=Object.keys(e).map(e=>parseInt(e,10)).sort((e,t)=>t-e).find(t=>e[t].pubStates.NEW_USED||e[t].pubStates.NEW);return e[t]||null}(y.years),B=Object.keys(y.years).includes(`${E-1}`),W=`Stay tuned for an exclusive Edmunds preview of the ${F}. It's in the works,\n  so check back here soon for full details and our expert analysis.${B?" For now, we invite you to learn more about the ":""}`,z=Object(P.a)({makeModelSubmodelYear:t,params:a}),q=j.map((e,t)=>Oa(e,t,i)),H=`${S?`\xb7 ${S} `:""}${I?`(updated ${I})`:""}`,G=!(i||V);return d.a.createElement("main",{className:"core-page preprod-article"},d.a.createElement(ge.a,null,d.a.createElement(Fe.a,{className:"pl-0",data:z}),!(R||!T||!T.value)&&d.a.createElement("div",{className:"size-16 text-gray-darker"},T.value),d.a.createElement("h1",{className:"heading-2 mb-1 mb-md-1_5"},F),R&&d.a.createElement(Ea,{vehicle:t,firstContent:r,slides:q}),d.a.createElement(ve.a,{className:"pb-3 pb-lg-2"},d.a.createElement(Ee.a,{xs:12,lg:8,"data-sticky-bottom-boundary":!0},x&&d.a.createElement("div",{className:"heading-3"},F," review"),A&&d.a.createElement("div",{className:"heading-4 mt-1_5"},A),x&&d.a.createElement("div",{className:"label text-gray-darker mb-1_5 mt-0_5"},"by the Edmunds Experts ",H),M?d.a.createElement(c.Fragment,null,!R&&d.a.createElement(ma.a,{autoplay:!1,lazyLoad:!0,className:"editorial-hero-carousel mb-0_5","data-tracking-parent":"edm-entry-editorial-hero-carousel",slides:q}),d.a.createElement("div",{className:"px-md-2_5 px-lg-0"},!!Y&&!R&&d.a.createElement(c.Fragment,null,d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,md:6},d.a.createElement(ta,{vehicle:Y}))),d.a.createElement("hr",{className:"my-2"})),x?d.a.createElement(Ht,{articles:k}):d.a.createElement(zt.a,{articles:k,isMobile:i,isFreshcoreAdDisabled:G}),B&&d.a.createElement(Kt,{vehicle:Object(s.a)({},t,{year:E-1})}))):d.a.createElement("div",{className:"text-gray-darker"},d.a.createElement(Zt.a,{imageId:Na,source:"static",className:"w-100 mb-2"}),d.a.createElement("div",{className:"px-md-2_5 px-lg-0"},d.a.createElement("h2",{className:"heading-3 mb-1_5"},"Coming soon!"),d.a.createElement("p",{className:"size-16"},W,B&&d.a.createElement(Je.a,{to:D,className:"text-primary"},U),"."))),i&&d.a.createElement(Se.a,{mobile:i}),d.a.createElement("div",{className:"px-md-2_5 px-lg-0"},d.a.createElement("div",{className:"hidden-lg-up"},$&&d.a.createElement(ea.a,Object(n.a)({},O,{className:"mb-2 mt-3",dividerClassName:"d-none",titleContainerClassName:"p-1 bg-gray-lighter",titleClassName:"heading-5 text-uppercase",listClassName:"bg-gray-extra-light px-1",itemsClassName:"article-menu-item py-1",linksClassName:"heading-5 font-weight-normal",moreLinkClassName:"heading-5 font-weight-normal text-primary-darker"})),d.a.createElement("hr",{className:"mt-0 mb-1_5"}),d.a.createElement(Ca.a,{topMakes:l,linkClassName:"size-16"}),d.a.createElement("hr",{className:"mt-0_5 mb-2"})))),d.a.createElement(Ee.a,{xs:12,lg:4},d.a.createElement("div",{className:"right-rail-sticky-wrapper"},!V&&!i&&d.a.createElement("div",{className:"d-flex justify-content-center"},d.a.createElement("div",{className:"top-page-ad-unit"},d.a.createElement(ha.a,null))),d.a.createElement("div",{className:"hidden-md-down"},$&&d.a.createElement(ea.a,Object(n.a)({},O,{className:"mb-2 mt-3_5",dividerClassName:"d-none",titleContainerClassName:"p-1 bg-gray-lighter",titleClassName:"heading-5 text-uppercase",listClassName:"bg-gray-extra-light px-1",itemsClassName:"article-menu-item py-1",linksClassName:"heading-5 font-weight-normal",moreLinkClassName:"heading-5 font-weight-normal text-primary-darker"})),d.a.createElement("hr",{className:"mt-0 mb-1_5"}),d.a.createElement(Ca.a,{topMakes:l,className:"px-1",linkClassName:"size-16"}),d.a.createElement("hr",{className:"mt-0_5"})))),d.a.createElement(Ee.a,{xs:12},d.a.createElement(Ye.a,{params:a,modelName:b,isMobile:i,wrapperClassName:"mt-lg-2"})),d.a.createElement(Ee.a,{xs:12,lg:8,"data-sticky-bottom-boundary":!0},d.a.createElement(Xt.a,{currentMake:u,params:Object(s.a)({},a,{pageName:"pre_prod_core_page",isUsed:!1,slidesToShow:3.25}),noAds:!0}),V&&d.a.createElement(Jt.AdUnit,{adName:"mrect",position:"1",nativeStyle:"mediumrectangle",refreshable:!1,renderWhenViewable:!1,md:!0})),!V&&d.a.createElement(Ee.a,{xs:12,lg:4,className:"d-flex justify-content-center align-items-center"},d.a.createElement("div",{className:"bottom-page-ad-unit mt-2"},d.a.createElement(Jt.AdUnit,{adName:"mrect",position:"1",nativeStyle:"mediumrectangle",renderWhenViewable:!1,refreshable:!1,lg:!0,xl:!0})))),d.a.createElement("hr",null)))}Ta.propTypes={vehicle:y.d.MakeModelSubmodelYear,params:p.a.isRequired,topMakesContent:Z.a.Content,firstContent:h.e,isMobile:pe.a.bool,breakpoint:pe.a.string},Ta.defaultProps={vehicle:null,firstContent:{},topMakesContent:ka.a,isMobile:!1,breakpoint:""};const Sa={firstContent:Object(_e.a)(e=>{let t=e.vehicle;return Object(h.i)(Object(p.b)(t))},h.c),topMakesContent:Object(Z.d)(ae.a,"top-makes")},Ia=Object(me.c)(e=>({isMobile:e.mobile,breakpoint:l()(e,"pageContext.page.breakpoint")}))(Object(_e.b)(Ta,Sa));var wa=a("./site-modules/core-page/components/editorial-review-highlights/editorial-review-highlights.jsx"),xa=a("./site-modules/shared/components/core-page/pricing-box/vehicle-price.jsx"),Aa=a("./site-modules/shared/components/core-page/pricing-box/pricing-box.jsx"),Ra=a("./site-modules/shared/components/merged-attributes-heart/merged-attributes-heart.jsx"),Pa=a("./site-modules/shared/constants/profile/dashboard-paths.js");function La(e){let t=e.displayVehicle,a=e.className,n=e.mergedAttributes,s=e.forceNoTooltip;return d.a.createElement(c.Fragment,null,n&&d.a.createElement(Ra.a,{useIcon:!0,heartIconClasses:"px-0 mr-0_5",mergedAttributes:n,tooltipDashboardLink:Pa.a.FAVORITE_MODELS,forceNoTooltip:s}),d.a.createElement("h1",{className:a},t))}La.propTypes={displayVehicle:pe.a.string.isRequired,className:pe.a.string,mergedAttributes:pe.a.shape({}),forceNoTooltip:pe.a.bool},La.defaultProps={className:null,mergedAttributes:null,forceNoTooltip:!1};var Da=a("./site-modules/shared/components/submodel-dropdown/submodel-dropdown.jsx");function $a(e){let t=e.vehicle,a=e.submodels,n=e.matchedSubmodel,s=e.defaultSubmodelYear,r=e.defaultSubmodel;if(l()(a,"length",0)<2)return null;const i=t.year,o=t.make,c=o.slug,m=o.name,u=t.model,p=u.slug,h=u.name,g=a.map(e=>{let t=e.slug,n=!1,o=!1;if(s&&s.year===i){const e=s.year;n=(o=s.submodels.slug===t)&&e===i}else r&&(o=r.niceId===t);return{name:Object(ne.c)(t,a),url:`/${c}/${p}/${n?"":`${i}/`}${o?"":`${t}/`}`}});return d.a.createElement(Da.a,{submodels:g,defaultSubmodel:n,"data-tracking-id":"view_submodel_info","data-tracking-value":`${m} ${h} info`})}$a.propTypes={vehicle:y.d.MakeModelSubmodelYear.isRequired,submodels:pe.a.arrayOf(pe.a.shape({slug:pe.a.string})),matchedSubmodel:pe.a.string,defaultSubmodelYear:pe.a.shape({year:pe.a.oneOfType([pe.a.string,pe.a.number]),submodels:pe.a.shape({slug:pe.a.string})}),defaultSubmodel:pe.a.shape({niceId:pe.a.string})},$a.defaultProps={submodels:null,matchedSubmodel:null,defaultSubmodelYear:null,defaultSubmodel:null};const Ma={defaultSubmodelYear:Object(_e.a)(e=>{let t=e.vehicle;return parseInt(t.year,10)>=2020&&Object(y.i)(Object(p.b)(t))},y.e),defaultSubmodel:Object(_e.a)(e=>{let t=e.vehicle;return parseInt(t.year,10)>=2020&&Object(y.h)(Object(p.b)(t))},y.e)},Va=Object(_e.b)($a,Ma);var Fa=a("./site-modules/shared/components/editors-choice-badge/editors-choice-badge.jsx"),Ua=a("./site-modules/shared/components/top-rated-badge/top-rated-badge.jsx"),Ya=a("./site-modules/shared/components/type-rankings-link/type-rankings-link.jsx");function Ba(e){let t=e.params,a=e.vehicle,n=e.segmentRatings,s=e.hasEditorialChoiceBadge;const r=l()(a,"submodels[0].slug",a.submodels.slug),i=n&&n.filter(e=>{let t=e.slugRankedSubmodel;return!t||t===r}),o=!(!i||!i.length);return d.a.createElement("div",{className:"mb-1_5 reward-list"},d.a.createElement(Ua.a,{vehicleParams:t,className:"mr-1"}),s&&d.a.createElement(Fa.a,{vehicleParams:t,className:"d-inline-block mr-0_25",staticPos:!0}),o&&i.map(e=>d.a.createElement(Ya.a,{key:e.editorialSegment.id,segmentRating:e,className:"badge bg-gray-lightest font-weight-normal btn text-gray-darker px-0_5 py-0_25 mr-1",rankNumberClassName:"font-weight-bold text-decoration-none",suppressDuplicate:!0})))}Ba.propTypes={params:p.a.isRequired,vehicle:y.d.MakeModelSubmodelYear.isRequired,segmentRatings:pe.a.arrayOf(N.a.SegmentRating),hasEditorialChoiceBadge:pe.a.bool},Ba.defaultProps={segmentRatings:null,hasEditorialChoiceBadge:!1};const Wa={segmentRatings:Object(_e.a)(e=>{let t=e.params,a=t.make,n=t.model,s=t.year;return Object(N.d)({makeSlug:a,modelSlug:n,year:s})},N.b,e=>e.filter(e=>{return e.rank}))},za=Object(_e.b)(Ba,Wa);var qa=a("./site-modules/shared/constants/sub-navigation.js"),Ha=a("./site-modules/shared/components/rating-stars-count/rating-stars-count.jsx"),Ga=a("./site-modules/shared/utils/editorial-helper.js"),Ka=a("./site-modules/shared/components/photoflipper-button/photoflipper-button-async.jsx");function Za(e){let t=e.vehicle,a=e.ratingsCount,s=e.editorialReview,r=e.className,i=e.hasPhotoflipperButton;const o=l()(s,"ratings.overall.rating",null),c=Object(Ga.a)(s),m=!!o,u=!!a&&!!a.averageUserRating,p=u&&m&&i;return d.a.createElement(ve.a,{className:Ke()("no-gutters",r,{"justify-content-between":p})},m&&d.a.createElement(Ee.a,{xs:"auto",className:Ke()({"mr-2":!p})},d.a.createElement(ye.Link,{className:"review-selection text-decoration-none",to:"subnav-reviews",href:"#subnav-reviews",offset:qa.b,duration:qa.a,"data-tracking-id":"core_page_view_edmunds_review",smooth:!0,isDynamic:!0},d.a.createElement("div",{className:"label"},"Edmunds\xa0Rating"),d.a.createElement("span",{className:"text-primary-darker"},o," / ",c))),u&&d.a.createElement(Ee.a,{xs:"auto"},d.a.createElement(ye.Link,{className:"mx-auto text-left review-selection d-inline-block text-decoration-none",to:"subnav-consumer-reviews",href:"#subnav-consumer-reviews",offset:qa.b,duration:qa.a,"data-tracking-id":"core_page_view_consumer_review",smooth:!0,isDynamic:!0},d.a.createElement("div",{className:"label"},"Consumer\xa0Rating"),d.a.createElement("div",null,d.a.createElement(Ha.a,{starsColor:"primary-darker",ratingAverage:a.averageUserRating,ratingCount:a.totalCount,ratingCountClass:"ml-0_25 text-primary-darker"})))),i&&d.a.createElement(Ee.a,{xs:"auto"},d.a.createElement(Ka.a,Object(n.a)({makeSlug:t.make.slug,modelSlug:t.model.slug,year:t.year},t.submodels.name?{submodel:t.submodels.name}:{}),d.a.createElement(na.a,{color:"link",className:"p-0 size-16 text-primary-darker text-capitalize p-a-v-link border-0"},"Photos &\xa0Videos"))))}Za.propTypes={vehicle:y.d.MakeModelSubmodelYear.isRequired,ratingsCount:u.b.RatingsCount,editorialReview:h.b.EditorialReview,className:pe.a.string,hasPhotoflipperButton:pe.a.bool},Za.defaultProps={ratingsCount:null,editorialReview:null,className:null,hasPhotoflipperButton:!1};const Qa={ratingsCount:Object(_e.a)(e=>{let t=e.vehicle;return u.d.buildConsumerReviewsRatingsCountPathFromVehicle(t)},u.c),editorialReview:Object(_e.a)(e=>{let t=e.params;return Object(h.j)(t)},h.c)},Xa=Object(_e.b)(Za,Qa);var Ja=a("./site-modules/shared/components/vehicle-photo/vehicle-photo.jsx");const en=500;function tn(e){let t=e.params,a=e.vehicle,s=e.displayVehicle,r=e.mergedAttributes,i=e.forceNoTooltip,o=e.videoThumbnailObj,m=e.iconClassName,u=e.hasEditorialChoiceBadge;const p=l()(o,"thumbnailURL"),h=Object(z.q)(o),g=Object(z.g)(p,en),b=d.a.createElement(c.Fragment,null,d.a.createElement(Ja.a,{latestVehicle:a,iconClassNames:u?null:Ke()("icon-camera2 rounded text-primary-darker p-0_5 btn btn-lg",m),dataTrackingId:"core_page_open_photoflipper"}),u&&d.a.createElement(Fa.a,{vehicleParams:t,className:"m-0_5 m-md-1"}),r&&d.a.createElement(Ra.a,{useIcon:!0,mergedAttributes:r,tooltipDashboardLink:Pa.a.FAVORITE_MODELS,forceNoTooltip:i}));return d.a.createElement("div",{className:"pos-r photoflipper-image-container mb-0_25 rounded"},d.a.createElement($e.a,{name:"CORE-1819-video-photoflipper-v2",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},b),d.a.createElement($e.b,{name:"chal"},h?d.a.createElement("div",{className:Ke()("video-preview",{"text-right pt-md-0_25":r})},r&&d.a.createElement(Ra.a,{useIcon:!0,mergedAttributes:r,tooltipDashboardLink:Pa.a.FAVORITE_MODELS,forceNoTooltip:i}),d.a.createElement(Ka.a,Object(n.a)({makeSlug:a.make.slug,modelSlug:a.model.slug,year:a.year},a.submodels.name?{submodel:a.submodels.name}:{},{dataTrackingId:"core_page_open_photoflipper"}),d.a.createElement(na.a,{className:"preview-btn p-0 w-100"},Object(z.s)(p)?d.a.createElement("img",{className:"w-100 rounded",src:g,alt:s}):d.a.createElement("img",{className:"w-100 rounded",src:h,alt:s}),d.a.createElement("span",{className:"icon icon-play_circle_outline text-white"})))):b)))}tn.propTypes={params:p.a.isRequired,vehicle:y.d.MakeModelSubmodelYear.isRequired,displayVehicle:pe.a.string.isRequired,videoThumbnailObj:C.c,forceNoTooltip:pe.a.bool,mergedAttributes:pe.a.shape({}),iconClassName:pe.a.string,hasEditorialChoiceBadge:pe.a.bool},tn.defaultProps={videoThumbnailObj:null,forceNoTooltip:!1,mergedAttributes:null,iconClassName:null,hasEditorialChoiceBadge:!1};var an=a("./site-modules/core-page/components/international-zip-picker/international-zip-picker.jsx"),nn=a("./site-modules/core-page/components/lead-form-cta/lead-form-cta.jsx"),sn=a("../node_modules/lodash/isEqual.js"),rn=a.n(sn),on=a("./site-modules/shared/components/lead-form/unified-lead-form/constants/creative-ids.js");class ln extends c.Component{constructor(e){super(e),this.openLeadFormDrawer=(()=>{const e=this.props.srpParams,t=this.state.mostPopularConfiguration,a=Object(ke.p)(Object(s.a)({},e,{trim:t.inventoryCount?t.trim:""}));this.setState({isDrawerOpened:!0,leadFormData:{params:{styleId:t.id,trim:t.trim,srpLink:a},options:{coreConfiguration:t}}})}),this.closeLeadFormDrawer=(()=>{this.setState({isDrawerOpened:!1})}),this.state={isDrawerOpened:!1,leadFormData:{},mostPopularConfiguration:null}}static getDerivedStateFromProps(e,t){let a=e.coreConfigurations,n=e.coreConfigurationsFallback;if(!a)return null;const s=l()(Object(yt.d)({coreConfigurations:a,coreConfigurationsFallback:n}),"[0]");return rn()(t.mostPopularConfiguration,s)?null:{mostPopularConfiguration:s}}render(){const e=this.props,t=e.vehicle,a=e.displayVehicle,n=e.coreConfigurations,r=e.coreConfigurationsFallback,i=e.zipCode,o=e.isMobile,m=e.isCta,u=e.leadFormDealerCount,p=e.city,h=this.state,g=h.isDrawerOpened,b=h.leadFormData,v=h.mostPopularConfiguration;if(!v)return null;const f=Object(yt.c)(n),E=!!l()(v,"inventoryCount"),y=E||!!u,_=Object(oe.b)({makeModelSubmodelYear:t,styleId:l()(r,"[0].id")});return d.a.createElement(c.Fragment,null,!!f&&!m&&d.a.createElement("div",{className:"heading-4 mb-0_5"},"Save as much as ",Object(Ze.a)(f)),d.a.createElement("div",{className:Ke()("d-flex justify-content-between align-items-center",{"bg-gray-extra-light py-1 px-1 px-md-2":m}),"data-tracking-parent":"edm-entry-pricing-box"},m&&d.a.createElement("div",{className:"text-gray-darker col"},d.a.createElement("div",{className:"font-weight-bold"},a||"Loading"),!!f&&d.a.createElement("div",null,"Save up to ",Object(Ze.a)(f))),d.a.createElement(na.a,{tag:y?void 0:Je.a,color:"primary-b",size:"lg",className:"col-auto pricing-button px-1_5 py-1 px-md-1 py-md-0_5",onClick:y?this.openLeadFormDrawer:void 0,to:y?void 0:_,rel:"nofollow","data-tracking-id":E?"view_pricing_details":void 0,"data-hidedelightedoninteraction":!0},E?"Compare dealer offers":"What should I pay")),d.a.createElement(ft.a,{url:"",isOpen:g,onDrawerToggle:this.closeLeadFormDrawer,component:Et.a,componentData:{params:Object(s.a)({},b.params,{vehicle:t,zipCode:i,radius:100,city:p}),options:Object(s.a)({},b.options,{isMobile:o,creativeId:on.a.NEW_MULTI_CORE_TOP})},dataTrackingParent:"nci_multi_core_lead_form_top"}))}}ln.propTypes={vehicle:y.d.MakeModelSubmodelYear.isRequired,displayVehicle:pe.a.string.isRequired,srpParams:pe.a.shape({make:pe.a.string,model:pe.a.string,year:pe.a.number,inventorytype:pe.a.string,submodelid:pe.a.string}).isRequired,coreConfigurations:A.c.CoreConfigurations,coreConfigurationsFallback:A.c.CoreConfigurations,leadFormDealerCount:pe.a.number,zipCode:pe.a.oneOfType([pe.a.string,pe.a.number]),city:pe.a.string,isMobile:pe.a.bool,isCta:pe.a.bool},ln.defaultProps={coreConfigurations:null,coreConfigurationsFallback:null,leadFormDealerCount:0,zipCode:null,city:"",isMobile:!1,isCta:!0};const cn={leadFormDealerCount:Object(_e.a)(e=>{let t=e.coreConfigurations,a=e.vehicle;return!(t&&t.length)&&Object(R.g)(a.make.slug)},R.c)},dn=Object(_e.b)(ln,cn),mn={zipCode:Object(_e.a)("location.zipCode",_.d),city:Object(_e.a)("location.city",_.d),coreConfigurations:Object(_e.a)(e=>{let t=e.vehicle;return Object(A.e)({make:t.make.slug,model:t.model.slug,submodel:t.submodels.slug,year:t.year})},A.d,yt.b),coreConfigurationsFallback:Object(_e.a)(e=>{let t=e.params;return Object(y.x)(t)},y.e,yt.a)},un=Object(_e.b)(dn,mn);function pn(e){return d.a.createElement(tt.a,null,d.a.createElement(un,e))}function hn(e){let t=e.vehicle,a=e.params,n=e.displayVehicle,s=e.srpParams,r=e.inventoryCTALink,i=e.inventoryTotalNumber,o=e.showInternationalZipPickerCta,l=e.isInventoryCta,c=e.isRedirectPending,m=e.setPendingRedirect;return o?d.a.createElement(an.b,{isRedirectPending:c,setPendingRedirect:m}):l?d.a.createElement(nn.a,{vehicle:t,inventoryLink:r,params:a,wrapperClasses:"mb-1_5",inventoryTotalNumber:i,lgCta:!0}):d.a.createElement(pn,{vehicle:t,srpParams:s,displayVehicle:n,params:a,isMobile:!0})}hn.propTypes={params:p.a.isRequired,vehicle:y.d.MakeModelSubmodelYear.isRequired,displayVehicle:pe.a.string.isRequired,srpParams:pe.a.shape({make:pe.a.string,model:pe.a.string,year:pe.a.number,inventorytype:pe.a.string,submodelid:pe.a.string}).isRequired,inventoryCTALink:pe.a.string.isRequired,setPendingRedirect:pe.a.func.isRequired,inventoryTotalNumber:pe.a.number,showInternationalZipPickerCta:pe.a.bool,isInventoryCta:pe.a.bool,isRedirectPending:pe.a.bool},hn.defaultProps={inventoryTotalNumber:0,showInternationalZipPickerCta:!1,isInventoryCta:!1,isRedirectPending:!1};var gn=a("./tracking/constant.js");a("./site-modules/core-page/components/new-core-summary/shopping-tools.scss");const bn="See all for sale",vn="Build & price",fn="Compare dealer offers",En=e=>e.reduce((e,t)=>`${e}${t.timeStamp||""},${t.pageName||""},${t.make||""},${t.model||""},${t.year||""},${t.bodyType||""},`,"");class yn extends c.Component{constructor(e){super(e),this.componentDidMount=(()=>{const e=l()(this.props.history,"userEvents",[]);vt.a.fireTrackAction({event_type:"action_completed",event_data:{action_name:gn.b.ACTION_SHOW_CONTENT,subaction_name:gn.b.UDM_HIST,action_cause:"page_load",action_category:"system",creative_id:"edm-entry-pricing-box",value:En(e)}}),vt.a.fireTrackAction({event_type:"action_completed",event_data:{action_name:gn.b.ACTION_SHOW_CONTENT,subaction_name:gn.b.DISPLAY_ORDER,action_cause:"page_load",action_category:"system",creative_id:"edm-entry-pricing-box",value:this.ORDER_LABELS[this.props.order].join()}})}),this.getSrpLink=(()=>{const e=this.props,t=e.vehicle,a=e.params,n=e.matchedSubmodel;return Object(ke.p)({make:l()(t,"make.slug"),model:l()(t,"model.slug"),year:l()(t,"year"),inventorytype:"new",submodelid:a.submodel?n:null,radius:l()(this.state.currentConfiguration,"inventoryCount")?null:200})}),this.see=(e=>d.a.createElement(He.a,{key:"see",to:this.getSrpLink(),"data-tracking-id":"view_search_result","data-tracking-value":`${e} - See all for sale`,containerClassName:"mb-1"},bn)),this.build=(e=>{const t=this.props,a=t.vehicle,n=t.params;return d.a.createElement($e.a,{name:"CORE-1921-build-MVP",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement(He.a,{key:"build",to:Object(oe.b)({makeModelSubmodelYear:a,params:n}),"data-tracking-id":"configure_vehicle","data-tracking-value":`${e} - Build & price`,containerClassName:"mb-1"},vn)),d.a.createElement($e.b,{name:"chal"},d.a.createElement(He.a,{key:"build",to:Object(oe.b)({params:n,isVenomPage:!0}),"data-tracking-id":"configure_vehicle","data-tracking-value":`${e} - Build & price`,containerClassName:"mb-1"},vn)))}),this.compare=(e=>{const t=this.props,a=t.vehicle,n=t.leadFormDealerCount,s=t.zipCode,r=t.isMobile,i=t.coreConfiguration,o=t.city,c=this.state.currentConfiguration;if(!l()(c,"inventoryCount",0)&&!n)return null;const m=this.state.isDrawerOpened;return d.a.createElement("div",{key:"compare",className:"mb-1"},d.a.createElement(na.a,{color:"link",className:"text-primary-darker text-transform-none text-left size-16 p-0","data-tracking-id":"view_pricing_details","data-tracking-value":`${e} - Compare Dealer Prices`,onClick:this.openLeadFormDrawer},d.a.createElement("span",null,fn),d.a.createElement("i",{className:"icon-arrow-right4 size-10 pl-0_25"})),d.a.createElement(ft.a,{url:"",isOpen:m,onDrawerToggle:this.closeLeadFormDrawer,component:Et.a,componentData:{params:{vehicle:a,zipCode:s,city:o,styleId:c.id,trim:c.trim,srpLink:this.getSrpLink(),radius:100},options:{coreConfiguration:i,isMobile:r,creativeId:on.a.NEW_MULTI_CORE_TOP}}}))}),this.openLeadFormDrawer=(()=>{this.setState({isDrawerOpened:!0})}),this.closeLeadFormDrawer=(()=>{this.setState({isDrawerOpened:!1})}),this.SHOW_ORDER={ctrl:[this.see,this.build,this.compare],"chal-1":[this.see,this.compare,this.build],"chal-2":[this.build,this.see,this.compare],"chal-3":[this.build,this.compare,this.see],"chal-4":[this.compare,this.see,this.build],"chal-5":[this.compare,this.build,this.see]},this.ORDER_LABELS={ctrl:[bn,vn,fn],"chal-1":[bn,fn,vn],"chal-2":[vn,bn,fn],"chal-3":[vn,fn,bn],"chal-4":[fn,bn,vn],"chal-5":[fn,vn,bn]},this.state={isDrawerOpened:!1,leadFormData:{},currentConfiguration:null}}static getDerivedStateFromProps(e){let t=e.coreConfiguration,a=e.coreConfigurationFallback;return{currentConfiguration:t||a}}render(){const e=this.props,t=e.vehicle,a=e.order,n=e.isMobile;return d.a.createElement(c.Fragment,null,!n&&d.a.createElement(xa.a,{vehicle:t}),d.a.createElement("div",{className:"shopping-tools rounded px-1 pt-1 pb-0_5 mb-2 mt-0_75 mt-md-1_5","data-tracking-parent":"edm-entry-pricing-box"},d.a.createElement("div",{className:"size-20 text-gray-darker mb-1_5"},"Shopping Tools"),this.SHOW_ORDER[a].map((e,t)=>e(t+1))))}}yn.propTypes={vehicle:y.d.MakeModelSubmodelYear.isRequired,params:p.a.isRequired,matchedSubmodel:pe.a.string,coreConfiguration:A.c.CoreConfiguration,coreConfigurationFallback:A.c.CoreConfiguration,leadFormDealerCount:pe.a.number,zipCode:pe.a.oneOfType([pe.a.string,pe.a.number]),city:pe.a.string,order:pe.a.string,isMobile:pe.a.bool,history:_.c.History},yn.defaultProps={matchedSubmodel:null,coreConfiguration:null,coreConfigurationFallback:null,leadFormDealerCount:0,zipCode:null,city:"",order:"ctrl",isMobile:!1,history:{}};const _n={leadFormDealerCount:Object(_e.a)(e=>{let t=e.coreConfiguration,a=e.vehicle;return!t&&Object(R.g)(a.make.slug)},R.c)},Cn=Object(_e.b)(yn,_n),kn={zipCode:Object(_e.a)("location.zipCode",_.d),city:Object(_e.a)("location.city",_.d),coreConfiguration:Object(_e.a)(e=>{let t=e.vehicle;return Object(A.e)({make:t.make.slug,model:t.model.slug,submodel:t.submodels.slug,year:t.year})},A.d,yt.e),coreConfigurationFallback:Object(_e.a)(e=>{let t=e.params;return Object(y.x)(t)},y.e,yt.f),history:Object(_e.a)(_.b,_.d)},Nn=Object(_e.b)(Cn,kn);function jn(e){return d.a.createElement(tt.a,null,d.a.createElement(Nn,e))}a("./site-modules/core-page/components/new-core-summary/new-core-summary.scss");function On(e){let t=e.params,a=e.vehicle,s=e.displayVehicle,r=e.srpParams,i=e.setPendingRedirect,o=e.submodels,m=e.videoMediaData,u=e.matchedSubmodel,p=e.inventoryCTALink,h=e.inventoryTotalNumber,g=e.showInternationalZipPickerCta,b=e.isRedirectPending,v=e.mergedAttributes,E=e.forceNoInsiderTooltip,y=e.isMobile,_=e.isUsedMakeModel;const C=!!l()(m,"[0].thumbnailURL"),k=Object(f.a)({makeModelSubmodelYear:a,params:t,trimDuplicateSubmodel:!0});return d.a.createElement(ge.a,{className:"new-core-summary mb-2"},_&&!y&&d.a.createElement(ve.a,{className:"justify-content-between align-items-center"},d.a.createElement(Ee.a,{xs:12,md:6},d.a.createElement(La,{className:"heading-2",displayVehicle:k})),d.a.createElement(Ee.a,Object(n.a)({xs:12,md:6},g?{xl:4}:{}),d.a.createElement(hn,{vehicle:a,params:t,displayVehicle:s,srpParams:r,inventoryCTALink:p,inventoryTotalNumber:h,showInternationalZipPickerCta:g,isRedirectPending:b,setPendingRedirect:i,isInventoryCta:!0}))),d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,md:_?6:4,lg:_?5:4,className:"pt-md-0_25"},y&&d.a.createElement(c.Fragment,null,d.a.createElement(La,{className:"heading-2",displayVehicle:k}),d.a.createElement(Va,{vehicle:a,submodels:o,matchedSubmodel:u})),(y||_)&&d.a.createElement(xa.a,{vehicle:a,priceClassName:"heading-2 mb-1",labelClassName:_?"":"mt-1",mergedAttributes:v,forceNoTooltip:E}),d.a.createElement(tn,{params:t,vehicle:a,displayVehicle:s,videoThumbnailObj:l()(m,"[0]"),mergedAttributes:y||C||_?null:v,forceNoTooltip:E,iconClassName:"mt-0_25 ml-0_25",hasEditorialChoiceBadge:y}),y&&d.a.createElement(za,{vehicle:a,params:t}),d.a.createElement(Xa,{params:t,vehicle:a,hasPhotoflipperButton:y&&!!l()(a,"model.slug")}),y?d.a.createElement($e.a,{name:"tpt-294-intent",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement(hn,{vehicle:a,params:t,displayVehicle:s,srpParams:r,inventoryCTALink:p,inventoryTotalNumber:h,showInternationalZipPickerCta:g,isRedirectPending:b,setPendingRedirect:i,isInventoryCta:_})),d.a.createElement($e.b,{name:"chal"})):d.a.createElement(pa.a,{wrapperClass:"mt-2 px-0"})),d.a.createElement(Ee.a,{xs:12,md:_?6:5,lg:_?7:5,className:"flex-last flex-md-unordered"},!y&&!_&&d.a.createElement(c.Fragment,null,d.a.createElement(La,{className:"heading-2 d-inline-block mb-0_25",displayVehicle:k,mergedAttributes:C?v:null}),d.a.createElement("div",{className:"mb-1_5"},d.a.createElement(Va,{vehicle:a,submodels:o,matchedSubmodel:u})),d.a.createElement(za,{vehicle:a,params:t,hasEditorialChoiceBadge:!0})),d.a.createElement(wa.a,{vehicle:a,params:t,className:null,isMobile:y})),!_&&d.a.createElement($e.a,{name:"tpt-294-intent",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},!y&&d.a.createElement(Ee.a,{md:3,className:"pt-0_25"},d.a.createElement(Aa.a,{params:t,vehicle:a,srpParams:r,isMobile:y}))),d.a.createElement($e.b,{name:"chal"},d.a.createElement(Ee.a,{xs:12,md:3,className:"pt-0_25"},d.a.createElement($e.a,{name:"tpt-294-links",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement(jn,{vehicle:a,params:t,matchedSubmodel:u,isMobile:y,order:"ctrl"})),d.a.createElement($e.b,{name:"chal-1"},d.a.createElement(jn,{vehicle:a,params:t,matchedSubmodel:u,isMobile:y,order:"chal-1"})),d.a.createElement($e.b,{name:"chal-2"},d.a.createElement(jn,{vehicle:a,params:t,matchedSubmodel:u,isMobile:y,order:"chal-2"})),d.a.createElement($e.b,{name:"chal-3"},d.a.createElement(jn,{vehicle:a,params:t,matchedSubmodel:u,isMobile:y,order:"chal-3"})),d.a.createElement($e.b,{name:"chal-4"},d.a.createElement(jn,{vehicle:a,params:t,matchedSubmodel:u,isMobile:y,order:"chal-4"})),d.a.createElement($e.b,{name:"chal-5"},d.a.createElement(jn,{vehicle:a,params:t,matchedSubmodel:u,isMobile:y,order:"chal-5"}))))))),d.a.createElement("hr",{className:"mt-1_5 mb-0"}))}On.propTypes={params:p.a.isRequired,vehicle:y.d.MakeModelSubmodelYear.isRequired,displayVehicle:pe.a.string.isRequired,srpParams:pe.a.shape({make:pe.a.string,model:pe.a.string,year:pe.a.number,inventorytype:pe.a.string,submodelid:pe.a.string}).isRequired,inventoryCTALink:pe.a.string.isRequired,setPendingRedirect:pe.a.func.isRequired,videoMediaData:pe.a.arrayOf(C.c),submodels:pe.a.arrayOf(pe.a.shape({slug:pe.a.string})),matchedSubmodel:pe.a.string,inventoryTotalNumber:pe.a.number,mergedAttributes:pe.a.shape({}),showInternationalZipPickerCta:pe.a.bool,isRedirectPending:pe.a.bool,forceNoInsiderTooltip:pe.a.bool,isMobile:pe.a.bool,isUsedMakeModel:pe.a.bool},On.defaultProps={videoMediaData:null,submodels:null,matchedSubmodel:null,mergedAttributes:null,inventoryTotalNumber:0,showInternationalZipPickerCta:!1,isRedirectPending:!1,forceNoInsiderTooltip:!1,isMobile:!1,isUsedMakeModel:!1};const Tn={videoMediaData:{path:e=>{let t=e.params;return e.isCORE1819VideoPhotoflipper&&Object(J.c)(Object(s.a)({},t,{pageNum:1,currentCategory:te.s,mediaType:te.s}))},segment:C.d,transform:e=>{return e.data}}},Sn=Object(me.c)(e=>({isCORE1819VideoPhotoflipper:"chal"===Object(Q.b)(e,"CORE-1819-video-photoflipper-v2")}))(Object(_e.b)(On,Tn));var In=a("./constants/pub-states.js"),wn=a("./constants/make-exclusions.js"),xn=a("./site-modules/shared/components/core-page/pricing-carousel/pricing-carousel-footer.jsx"),An=(a("./site-modules/core-page/pages/new-core/new-core.scss"),a("./site-modules/shared/components/progressive-component/progressive-component.jsx")),Rn=a("../node_modules/dateformat/lib/dateformat.js"),Pn=a.n(Rn);function Ln(e){return e.length?e.map((e,t)=>{const a=`article-${t}`;return d.a.createElement("div",{key:a},function(e,t){const a=Pn()(e.publishDate,"mmmm dS, yyyy");return e.content.map((s,r)=>{const i=`${t}-${r}`;switch(s.type){case"text":return d.a.createElement(Mn,Object(n.a)({key:i},s,{author:e.author,date:a}));case"photos":return d.a.createElement($n,{key:i,links:s.links});case"video":return d.a.createElement(Dn,{key:i,brightcoveVideoId:s.videoIds["brightcove-videoid"],youtubeVideoId:s.videoIds["youtube-videoid"]});default:return null}})}(e,a))}):null}function Dn(e){let t=e.brightcoveVideoId,a=e.youtubeVideoId,n=null,s=null;return t?(n="Brightcove",s=t):a&&(n="Youtube",s=a),!!s&&d.a.createElement("div",null,d.a.createElement(_a.a,{videoId:s,type:n}))}function $n(e){let t=e.links;return $n.propTypes={links:pe.a.arrayOf(pe.a.shape({captionTranscript:pe.a.string,href:pe.a.string.isRequired})).isRequired},d.a.createElement(c.Fragment,null,d.a.createElement("img",{src:Object(z.i)(t[0].href,300,z.d.DAM),alt:""}),!!t[0].captionTranscript&&d.a.createElement("div",null,t[0].captionTranscript))}function Mn(e){let t=e.title,a=e.subTitle,s=e.content,r=e.author,i=e.date;return!!s&&d.a.createElement("div",null,!!t&&d.a.createElement(c.Fragment,null,d.a.createElement("h2",null,t),d.a.createElement("h3",null,a),!!r&&d.a.createElement(Vn,Object(n.a)({},r,{date:i}))),d.a.createElement(Ut.a,null,s))}function Vn(e){let t=e.photoPath,a=e.authorLink,n=e.authorName,s=e.authorTitle,r=e.date;return!!n&&d.a.createElement(c.Fragment,null,d.a.createElement("img",{src:Object(z.i)(t,175,z.d.STATIC),alt:n})," by",d.a.createElement("a",{href:a}," ",n," ")," , ",s," \u2022 ",r)}function Fn(e){let t=e.vehicle,a=e.firstContent;if(!a||!t)return null;const n=a.articles,s=a.media;return a&&(n&&n.length||s&&s.length)?d.a.createElement("div",null,d.a.createElement("h2",null,"Related ",t.model.name," Articles"),d.a.createElement("div",null,Ln(n))):null}Fn.propTypes={vehicle:y.d.MakeModelSubmodelYear,firstContent:h.e},Fn.defaultProps={vehicle:null,firstContent:null};const Un={firstContent:Object(_e.a)(e=>{let t=e.vehicle;return t?Object(h.j)(Object(p.b)(t)):null},h.c,e=>e&&e.firstContent)},Yn=Object(_e.b)(Fn,Un);Yn.propTypes={vehicle:y.d.MakeModelSubmodelYear},Yn.defaultProps={vehicle:null};a("../node_modules/core-js/modules/es6.regexp.match.js");var Bn=a("./site-modules/shared/utils/consumer-reviews/params.js");const Wn="nofollow",zn=/\d{2}-\d{2}-\d{4}/g;function qn(e){return`${e.year} ${e.make} ${e.model} review`}function Hn(e,t){const a=`Write a ${qn(t)}`;return d.a.createElement("p",null,d.a.createElement(Je.a,{to:Object(oe.n)(e),rel:Wn,"data-tracking-id":"write_review","data-tracking-value":a,target:"_self"},"Be the first to write a review"))}class Gn extends c.Component{shouldComponentUpdate(e){return e.consumerReviewsPrevYear&&this.props.consumerReviewsPrevYear!==e.consumerReviewsPrevYear||e.consumerReviews&&this.props.consumerReviews!==e.consumerReviews||e.vehicle&&this.props.vehicle!==e.vehicle}render(){const e=this.props,t=e.vehicle,a=e.consumerReviews,n=e.consumerReviewsPrevYear,r=e.ratingsCount,i=e.params,o=e.dataTrackingParent,m=e.consumerReviewsAspects,u=n||a;if(!(u&&i&&t&&Object.keys(u).length&&Object.keys(t).length))return null;const p={make:t.make.name,model:t.model.name,submodel:t.submodels.name,year:t.year},h={makeSlug:t.make.slug,modelSlug:t.model.slug,submodelSlug:t.submodels.slug,year:t.year};let g,b,v="".renderedReviews,f="".seeAllReviews,E="".hasNewReviews,y="".hasUsedReviews;r&&r.totalCount?(v=a.results.map(e=>{const t=e.text,a=l()(e,"author.authorName"),n=e.userRating,s=e.userName,r=e.createTime,i=e.createDate,o=e.title,m=e.styleName,u=e.created,p=e.style,h=s||a||"",g=r||i||u||"",b=g&&(g.match(zn)?g.replace(/-/g,"/"):Pn()(new Date(g),"mm/dd/yyyy"));return d.a.createElement(c.Fragment,{key:e.id},d.a.createElement("div",null,d.a.createElement("span",null,n||0," out of 5 stars, "),d.a.createElement("span",null,o||"")),d.a.createElement("div",null,d.a.createElement("span",null,h,h&&b&&","," "),d.a.createElement("time",null,b)),d.a.createElement("div",null,m||p&&p.name),e.text&&d.a.createElement("p",null,t))}),f=function(e,t){return d.a.createElement(Je.a,{to:Object(oe.c)(e),"data-tracking-id":"read_all_reviews","data-tracking-value":"Read All Reviews",target:"_self"},`See all ${t} reviews`)}(h,r.totalCount),E=!0):(E=!1,g=Object(s.a)({},p,{year:p.year-1}),b=Object(s.a)({},h,{year:h.year-1}),n&&n.totalNumber?(v=Hn(h,p),f=function(e,t){return d.a.createElement(Je.a,{to:Object(oe.c)(e),"data-tracking-id":"read_all_reviews","data-tracking-value":"Read All Reviews",target:"_self"},`Read ${qn(t)}s`)}(b,g),y=!0):(v=Hn(b,g),y=!1));const _=E?`Read what other owners think about the ${p.year} ${p.make} ${p.model}.`:`There are no consumer reviews for the ${p.year} ${p.make} ${p.model}.`;return d.a.createElement("section",{className:"consumer-reviews","data-tracking-parent":o},d.a.createElement("header",null,d.a.createElement("h2",null,"Consumer reviews"),d.a.createElement("h3",null,_)),l()(r,"percents",null)&&d.a.createElement(c.Fragment,null,r.percents.map((e,t)=>{const a=`${t}-${e}`;return d.a.createElement("div",{key:a},r.percents.length-t," star reviews: ",e,"%")})),l()(r,"averageUserRating",null)&&d.a.createElement("div",null,"Average user rating: ",r.averageUserRating.toFixed(1)," stars based on ",r.totalCount," ","total reviews"),d.a.createElement("div",null,d.a.createElement("h3",null,"Trending topics in reviews"),d.a.createElement("ul",null,m&&m.map(e=>e.aspectNiceId&&d.a.createElement("li",{key:e.aspectNiceId},e.aspectDisplayName)))),d.a.createElement("div",null,E&&d.a.createElement("h3",null,"Most helpful consumer reviews"),v,E&&d.a.createElement("p",null,function(e,t){return d.a.createElement(Je.a,{to:Object(oe.n)(e),rel:Wn,"data-tracking-id":"write_review","data-tracking-value":`Write a ${qn(t)}`,target:"_self"},"Write a review")}(h,p)),(E||y)&&d.a.createElement("p",null,f)),d.a.createElement("hr",{className:"mt-1_5 mb-2"}))}}Gn.propTypes={consumerReviewsAspects:pe.a.arrayOf(u.a),vehicle:y.d.MakeModelSubmodelYear,params:Bn.a,consumerReviews:u.b.ReviewContent,consumerReviewsPrevYear:u.b.ReviewContent,ratingsCount:u.b.RatingsCount,dataTrackingParent:pe.a.string},Gn.defaultProps={consumerReviewsAspects:null,vehicle:null,params:null,consumerReviews:null,consumerReviewsPrevYear:null,ratingsCount:null,dataTrackingParent:"consumer-reviews"};const Kn=Object(_e.b)(Gn,{consumerReviewsPrevYear:Object(_e.a)(e=>{let t=e.ratingsCount,a=e.vehicle;if((!t||!t.totalCount)&&a){const e=a.make,t=a.model,n=a.year,s=a.submodels,r=n-1;return u.d.buildConsumerReviewsPathFromSubmodel({make:e,model:t,year:r,submodels:s})}return""},u.c),consumerReviewsAspects:Object(_e.a)(u.d.buildConsumerReviewsAspectsPath(),u.c)});Kn.propTypes={vehicle:y.d.MakeModelSubmodelYear,params:Bn.a,consumerReviews:u.b.ReviewContent,ratingsCount:u.b.RatingsCount,dataTrackingParent:pe.a.string},Kn.defaultProps={vehicle:null,params:null,consumerReviews:null,ratingsCount:null,dataTrackingParent:"consumer-reviews"};const Zn=Object(_e.b)(Kn,{consumerReviews:Object(_e.a)(u.d.getConsumerReviewsPath(),u.c),ratingsCount:Object(_e.a)(e=>{let t=e.vehicle;return u.d.buildConsumerReviewsRatingsCountPathFromVehicle(t)},u.c)});Zn.propTypes={vehicle:y.d.MakeModelSubmodelYear,params:Bn.a},Zn.defaultProps={params:null,vehicle:null};var Qn=a("./site-modules/shared/utils/article-helper.jsx"),Xn=a("./utils/string-utils.js"),Jn=a("./site-modules/shared/constants/editorial-review.js"),es=a("./site-modules/core-page/components/editorial-review/utils.js");function ts(e,t){const a=t.title,n=t.value,s=t.children;return e[n]&&d.a.createElement(as,{title:a,id:`${a}-section`,body:e[n].text,rating:e[n].rating},s.map(t=>{const a=t.title,n=t.value;return e[n]&&d.a.createElement(as,{key:a,id:a,title:a,body:Object(Xn.d)(e[n].text),rating:e[n].rating})}))}function as(e){let t=e.title,a=e.body,n=e.rating,s=e.id,r=e.children;if(as.propTypes={body:pe.a.string,title:pe.a.string,rating:pe.a.oneOfType([pe.a.string,pe.a.number]),id:pe.a.string,children:pe.a.node},as.defaultProps={body:null,title:null,rating:null,id:null,children:!1},!a)return null;const i=r&&(Array.isArray(r)?l()(r[0],"props.body.length",0):l()(r,"props.body.length",0))>0;return d.a.createElement("div",{id:s},t&&d.a.createElement("div",null,d.a.createElement("h2",null,t),n&&d.a.createElement("span",null,n)),d.a.createElement(Ut.a,null,a),i&&d.a.createElement("div",null,r))}function ns(e){let t=e.articles,a=e.isMobile,n=e.suppressFirstMedia,s=e.isUsed;if(ns.propTypes={articles:pe.a.arrayOf(h.d),isMobile:pe.a.bool,suppressFirstMedia:pe.a.bool,isUsed:pe.a.bool},ns.defaultProps={articles:null,isMobile:!1,suppressFirstMedia:!1,isUsed:!1},!l()(t,"length"))return null;const r=Object(Qn.c)(a);return t.map((e,a)=>{const i=`article-${a}`,o=!s&&!(0===a);return 1===t.length&&e.content.splice(r.entry,0,r),d.a.createElement("div",{className:"article",key:i},Object(Qn.b)({article:e,key:i,suppressMedia:!a&&n,hideDate:o}))})}function ss(e){let t=e.ratings,a=e.scale;return ss.propTypes={ratings:h.a.isRequired,scale:pe.a.number},ss.defaultProps={scale:5},Object.entries(t).length&&d.a.createElement("div",null,d.a.createElement("h3",null,d.a.createElement("span",null,"Scorecard")),d.a.createElement("table",{cellPadding:1,cellSpacing:1},d.a.createElement("thead",null,d.a.createElement("tr",null,d.a.createElement("td",null,"Overall"),d.a.createElement("td",null,`${!!t.overall&&t.overall.rating} / ${a}`))),!!t.driving&&t.driving.rating&&d.a.createElement("tbody",null,d.a.createElement("tr",null,d.a.createElement("td",null,"Driving"),d.a.createElement("td",null,t.driving.rating))),!!t.comfort&&t.comfort.rating&&d.a.createElement("tbody",null,d.a.createElement("tr",null,d.a.createElement("td",null,"Comfort"),d.a.createElement("td",null,t.comfort.rating))),!!t.interior&&t.interior.rating&&d.a.createElement("tbody",null,d.a.createElement("tr",null,d.a.createElement("td",null,"Interior"),d.a.createElement("td",null,t.interior.rating))),!!t.utility&&t.utility.rating&&d.a.createElement("tbody",null,d.a.createElement("tr",null,d.a.createElement("td",null,"Utility"),d.a.createElement("td",null,t.utility.rating))),!!t.technology&&t.technology.rating&&d.a.createElement("tbody",null,d.a.createElement("tr",null,d.a.createElement("td",null,"Technology"),d.a.createElement("td",null,t.technology.rating)))))}function rs(e){let t=e.editorialReview,a=e.vehicle,n=e.isUsed,s=e.isMobile,r=e.hasRouteYearParam;if(!t||n&&!Object(es.b)(t))return null;const i=t.ratings,o=void 0===i?{}:i,l=t.weRecommend,m=t.summary,u=t.edmundsSays,p=t.trimFeaturesBodySnippet,h=t.body,g=t.trimFeaturesBody,b=t.trimTested,v=t.whatsNew,f=t.powertrain,E=t.safety,y=t.introduction,_=t.review,C=t.reviewLink,k=t.firstContent,N=a.year,j=a.model.name,O=a.make.name,T=parseInt(N,10)>=2017,S=k.articles,I=k.media,w=k&&(S&&S.length>0||I&&I.length>0),x=Object(Ga.a)(t);if(!C&&!w)return null;const A=d.a.createElement(c.Fragment,null,d.a.createElement(as,{title:T?"Overall rating":"",body:m||u,rating:o.overall&&o.overall.rating?`${o.overall.rating} / ${x}`:null}),!T&&d.a.createElement(as,{title:"Vehicle overview",body:y||_}),d.a.createElement(as,{title:`${r?`${N} `:""}${O} ${j} models`,id:"trim-levels-and-features-section",body:p||h}),d.a.createElement(as,{body:g,id:"adjusted-headers"}),d.a.createElement(as,{title:"Trim tested",id:"trim-tested-section",body:b}),!T&&d.a.createElement(c.Fragment,null,d.a.createElement(as,{title:`${N} Highlights`,id:"whats-new-section",body:Object(Xn.d)(v)}),d.a.createElement(as,{title:"Performance & mpg",body:f}),d.a.createElement(as,{title:"Safety",body:E}),es.a.map(e=>{let a=e.title,n=e.id,s=e.value,r=e.dataSet;return!!(r&&t[r]&&t[r][s])&&d.a.createElement(as,{key:s,title:a,id:n,body:t[r][s].text,rating:t[r][s].rating})})));return C?d.a.createElement("div",{"data-tracking-parent":"edm-entry-editorial-review"},d.a.createElement("div",null,T&&d.a.createElement(as,{title:`Which ${j} does Edmunds recommend?`,id:"we-recommend-section",body:l})),d.a.createElement("div",null,d.a.createElement("h2",null,"Edmunds' Expert Review"),A,t.ratings&&d.a.createElement(ss,{ratings:t.ratings,scale:x}),T&&d.a.createElement(c.Fragment,null,ts(o,Jn.a.DRIVING),ts(o,Jn.a.COMFORT),ts(o,Jn.a.INTERIOR),ts(o,Jn.a.UTILITY),ts(o,Jn.a.TECHNOLOGY)),w&&d.a.createElement("div",null,d.a.createElement("span",null,"Jump to:"),d.a.createElement("a",{href:ya.c},"Related ",N," ",j," articles")),d.a.createElement("hr",null))):d.a.createElement("div",{className:"preprod-article"},d.a.createElement(ns,{articles:S,isMobile:s,forceCollapsible:!0,suppressFirstMedia:!0,isUsed:n}),d.a.createElement("hr",null))}rs.propTypes={editorialReview:h.b.EditorialReview,vehicle:pe.a.shape({make:pe.a.object,model:pe.a.object,year:pe.a.string,submodels:pe.a.object,pubStates:pe.a.object}),isUsed:pe.a.bool,isMobile:pe.a.bool,hasRouteYearParam:pe.a.bool},rs.defaultProps={editorialReview:null,firstContent:null,vehicle:null,isUsed:!1,isMobile:!0,hasRouteYearParam:!1};const is={editorialReview:Object(_e.a)(e=>{let t=e.params;return Object(h.j)(t)},h.c)},os=Object(me.c)(e=>({isMobile:e.mobile}))(Object(_e.b)(rs,is));var ls=a("./site-modules/shared/components/video-module/seo-video-module-ui.jsx");const cs=Object(_e.b)(ls.a,{videos:Object(_e.a)(e=>{let t=e.vehicle;return Object(g.c)({make:t.make.slug,model:t.model.slug,year:t.year})},g.b)});cs.propTypes={vehicle:y.d.MakeModelSubmodelYear,pageName:pe.a.string},cs.defaultProps={vehicle:null,pageName:null};var ds=a("./site-modules/shared/utils/features-specs/utils.js");const ms=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"/inventory/srp.html";const a=Object.keys(e).filter(t=>!!e[t]).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&");return`${t}${a.length?"?":""}${a}`};function us(e){let t=e.makeModelSubmodelYear,a=e.params,n=e.styles;if(!t||!n)return null;const s=a.make,r=a.model,i=a.year,o=a.submodel,l=a.isUsed,m=a.submodel?t.submodels.name:t.model.name,u=`${a.isUsed?"Used":""} ${t.year} ${t.make.name} ${m}`,p=`/${s}/${r}/${i}/${o?"submodel/":""}features-specs/`,h=n&&n.length&&n.slice(0,4);return d.a.createElement("div",{className:"features-specs","data-tracking-parent":"features-and-specs"},d.a.createElement("h2",null,"Features & Specs"),h&&h.length&&h.map((e,t)=>{const a=`${e&&e.id}-${t}`,n=ms({make:e&&e.makeName,model:e&&e.modelName,trim:e&&e.trim}),s=Object(ds.a)(e),r=s.styleName,i=s.baseMSRP,o=s.mpg,m=s.totalSeating,u=s.transmission,p=s.engineType,h=s.horsepower;return d.a.createElement("div",{key:a},d.a.createElement("table",{cellSpacing:"10px",cellPadding:"10px",border:"1px",className:"feature-specs-card","aria-live":"polite"},d.a.createElement("caption",null,r.style," features & specs"),d.a.createElement("tbody",null,d.a.createElement("tr",null,d.a.createElement("th",{scope:"col"},r.style,d.a.createElement("br",null),r.engine)),!l&&d.a.createElement("tr",null,d.a.createElement("th",{scope:"row"},"MSRP"),d.a.createElement("td",null,i)),d.a.createElement("tr",null,d.a.createElement("th",{scope:"row"},"MPG"),d.a.createElement("td",null," ",o.city," city / ",o.hwy," hwy"," ")),d.a.createElement("tr",null,l?d.a.createElement("td",null):d.a.createElement("th",{scope:"row"},"Seating"),d.a.createElement("td",null,"Seats ",m)),d.a.createElement("tr",null,l?d.a.createElement("td",null):d.a.createElement("th",{scope:"row"},"Transmission"),d.a.createElement("td",null,u)),l&&d.a.createElement("tr",null,d.a.createElement("td",null),d.a.createElement("td",null,p)),d.a.createElement("tr",null,l?d.a.createElement("td",null):d.a.createElement("th",{scope:"row"},"Horsepower"),d.a.createElement("td",null,h)))),!l&&d.a.createElement(c.Fragment,null,d.a.createElement("a",{href:n,rel:"nofollow"},"See all for sale")),d.a.createElement("hr",null))}),p&&d.a.createElement("a",{href:p,"data-tracking-id":"view_features_specs","data-tracking-value":`See all ${t.year} ${t.make.name} ${t.model.name} features & specs`},d.a.createElement("span",null,"See all ",u," features & specs")),d.a.createElement("hr",null))}us.propTypes={params:p.a.isRequired,makeModelSubmodelYear:y.d.MakeModelSubmodelYear,styles:pe.a.arrayOf(y.a.FeatureStyleEntity)},us.defaultProps={makeModelSubmodelYear:null,styles:null};const ps=Object(_e.b)(us,{styles:Object(_e.a)(e=>{let t=e.makeModelSubmodelYear;return t?y.b.buildPartialFeaturesPath({make:t.make.slug,model:t.model.slug,submodel:t.submodels.slug,year:t.year}):null},y.e)});ps.propTypes={params:p.a.isRequired,makeModelSubmodelYear:y.d.MakeModelSubmodelYear},ps.defaultProps={makeModelSubmodelYear:null};const hs=Object(_e.b)(ps,{makeModelSubmodelYear:Object(_e.a)(e=>{let t=e.params;return Object(y.F)(t)},y.e)});hs.propTypes={params:p.a.isRequired};var gs=a("../node_modules/lodash/fp/getOr.js"),bs=a.n(gs),vs=a("../node_modules/lodash/isEmpty.js"),fs=a.n(vs),Es=a("./data/models/safety-map.js"),ys=a("./site-modules/core-page/components/safety/utils.js"),_s=a("./site-modules/core-page/components/safety/safety-nhtsa-ratings.jsx");function Cs(e){let t=e.vehicle,a=e.ratings,n=e.editorialReview,s=e.params;const r=l()(a,"nhtsaRatings"),i=l()(a,"iihsRatings"),o=n&&n.safetyFeatures,m=bs()("N/A","model.name")(t),u=r&&r.overall||0;return fs()(o)&&fs()(i)&&Object(ys.a)(r)?null:d.a.createElement("section",{className:"core-safety","data-tracking-parent":"edm-entry-safety"},d.a.createElement("h2",null,"Safety"),!fs()(o)&&d.a.createElement(c.Fragment,null,d.a.createElement("h4",null,s.isUsed?`Our experts like the ${m} models:`:`Our experts\u2019 favorite ${m} safety features:`),d.a.createElement("dl",null,o.map(e=>{let t=e.title,a=e.description;return d.a.createElement(c.Fragment,{key:t},d.a.createElement("dt",null,t),d.a.createElement("dd",null,a))}))),!Object(ys.a)(r)&&d.a.createElement(c.Fragment,null,d.a.createElement("h5",null,"NHTSA Overall Rating ",!!u&&`${u} out of 5 stars`),d.a.createElement("p",null,"The National Highway Transportation Safety Administration offers independent analysis."),d.a.createElement("table",{cellSpacing:"10px",cellPadding:"10px",border:"1px"},d.a.createElement("tbody",null,Object.keys(Es.b.nhtsaRatings).map(e=>{const t=Es.b.nhtsaRatings[e];return d.a.createElement(c.Fragment,{key:e},d.a.createElement("tr",null,d.a.createElement("th",{scope:"row"},t.name),d.a.createElement("th",null,"Rating")),Object.keys(t.values).map(a=>{const n=t.values[a],s=l()(r,`${e}.${a}`);return d.a.createElement("tr",{key:a},d.a.createElement("td",null,n.name),d.a.createElement("td",null,Object(_s.b)(n.type,s)))}))}))),d.a.createElement("hr",null)),!fs()(i)&&d.a.createElement(c.Fragment,null,d.a.createElement("h5",null,"IIHS Rating"),d.a.createElement("p",null,"The Insurance Institute of Highway Safety uses extensive crash tests to determine car safety."),d.a.createElement("table",{cellSpacing:"10px",cellPadding:"10px",border:"1px"},d.a.createElement("tbody",null,Object.keys(Es.b.iihsRatings).map(e=>{const t=i[e];return d.a.createElement("tr",{key:e},d.a.createElement("th",{scope:"row"},Es.b.iihsRatings[e]),d.a.createElement("td",null,t?d.a.createElement("div",null,t):d.a.createElement("span",null,"Not Tested")))}))),d.a.createElement("hr",null)))}Cs.propTypes={vehicle:y.d.MakeModelSubmodelYear.isRequired,editorialReview:h.b.EditorialReview,ratings:T.a.Ratings,params:p.a.isRequired},Cs.defaultProps={editorialReview:{},ratings:{}};const ks=Object(_e.b)(Cs,{editorialReview:Object(_e.a)(e=>{let t=e.params;return Object(h.j)(t)},h.c),ratings:Object(_e.a)(T.c,T.b)});a("./site-modules/core-page/components/vehicle-comparisons/vehicle-comparisons.scss");function Ns(e){let t=e.vehicleComparisons;if(!t||!Object.keys(t).length)return null;const a=t.comparisons[0].vehicles[0],n=a.make,s=a.model;return d.a.createElement("div",{className:"container"},d.a.createElement("h2",null,n," ",s," vs. the competition"),t.comparisons.map((e,t)=>{const a=`comp-${t+1}`,n=e.vehicles[0],s=n.make,r=n.model,i=n.style;return e.content&&d.a.createElement(c.Fragment,{key:a},d.a.createElement("h3",null,s," ",r," vs. ",e.vehicles[1].make," ",e.vehicles[1].model),d.a.createElement(Ut.a,null,e.content),d.a.createElement("a",{href:`/car-comparisons/?veh1=${i}&veh2=${e.vehicles[1].style}`,"data-tracking-id":"compare_cars","data-tracking-value":`compare ${r} vs ${e.vehicles[1].model}`},`Compare ${s} ${r} & ${e.vehicles[1].make} ${e.vehicles[1].model} features`))}),d.a.createElement("hr",null))}Ns.propTypes={vehicleComparisons:b.a.ComparisonsContent},Ns.defaultProps={vehicleComparisons:null};const js=Object(_e.b)(Ns,{vehicleComparisons:Object(_e.a)(e=>{let t=e.params;return Object(b.e)(t)},b.b)});js.propTypes={params:pe.a.shape({make:pe.a.string,model:pe.a.string,year:pe.a.string})},js.defaultProps={params:{}};a("../node_modules/core-js/modules/es6.regexp.split.js");var Os=a("../node_modules/lodash/join.js"),Ts=a.n(Os),Ss=a("../node_modules/lodash/slice.js"),Is=a.n(Ss),ws=a("../node_modules/lodash/uniq.js"),xs=a.n(ws),As=a("./utils/plural.js"),Rs=a("./site-modules/core-page/components/more-about/contextual-links-area/contextual-links-area-utils.js"),Ps=a("./site-modules/core-page/components/more-about/overview/overview.jsx");const Ls=e=>{const t=e.inventoryCount,a=e.minPrice>0,n=e.maxSavings>0,r=t>0;return Object(s.a)({},e,{isLowestPrice:a,isSavingValue:n,isInventoryCount:r})};function Ds(e,t){const a=l()(t,'features["Drive Train"].Transmission'),n=l()(t,'features.Fuel["Fuel type"]'),s=l()(t,'features.Fuel["Combined MPG"]'),r=l()(t,'features.Fuel["EPA mileage est. (cty/hwy)"]');let i,o;if(r){const e=r.split(" ")[0].split("/");i=e[0],o=e[1]}return d.a.createElement("p",{className:"size-16"},e," ",t.name,", ",a&&d.a.createElement("span",null,a,",")," ",!!n&&d.a.createElement("span",null,n),d.a.createElement("br",null),!!s&&d.a.createElement(c.Fragment,null,d.a.createElement("span",null,s," compined MPG"),",",d.a.createElement("br",null)),!!i&&!!o&&d.a.createElement("span",null,i," city MPG/",o," highway MPG"))}function $s(e){let t=e.vehicle,a=e.params,n=e.location,s=e.about,r=e.ratingsCount,i=e.popularStyles,o=e.coreConfigurations,m=e.vehicleInventory,u=e.vehicleTrims,p=e.styleA,h=e.styleB,g=e.styleC;const b=t.make,v=t.model,f=t.year,E=t.submodels,y=r&&r.averageUserRating?r.averageUserRating.toFixed(1):null,_=l()(b,"name"),C=l()(b,"slug"),k=l()(v,"slug"),N=a.submodel?E.name:v.name,j=l()(E,"name"),O=Boolean(a.submodel),T=`${f} ${N}`,S=`${f} ${b.name} ${N}`,I=`Should I lease or buy a ${f} ${_} ${N}?`,w=`/${C}-lease-deals/`,x=l()(p,"features['Fuel']['Combined MPG']"),A=l()(p,"features['Drive Train']['Transmission']"),R=l()(p,"features['Drive Train']['Drive type']"),P=l()(p,"features['Engine']['Base engine size']"),L=l()(p,"features['Measurements']['EPA interior volume']"),D=l()(p,"features['Measurements']['Wheel base']"),$=l()(p,"features['Measurements']['Length']"),M=l()(p,"features['Measurements']['Width']"),V=l()(p,"features['Measurements']['Height']"),F=l()(p,"features['Measurements']['Curb weight']"),U=a.submodel&&i&&Ts()(Is()(xs()(i.map(e=>e.trim)),0,3),", "),Y=[{title:`new ${_} ${N}`,href:`/inventory/srp.html?make=${_}&model=${N}`},{title:`new ${_}`,href:`/inventory/srp.html?make=${_}`}],B=Object(Rs.a)(Y),W=n.city,z=n.stateCode,q=m?Ls(m):{},H=q.inventoryCount,G=q.minPrice,K=q.minMileage,Z=q.maxSavings,Q=q.isLowestPrice,X=q.isSavingValue,J=q.isInventoryCount;return d.a.createElement("div",null,d.a.createElement("h2",null,"More about the ",f," ",_," ",v.name),s&&d.a.createElement(Ut.a,null,s.vehicleAbout),d.a.createElement(Ps.a,{vehicle:t,params:a}),r&&d.a.createElement(c.Fragment,null,d.a.createElement("h5",null,"What do people think of the ",S,"?"),d.a.createElement("p",null,`\n          Consumer ratings and reviews are also available for\n          the ${S} and all its trim types.\n          ${y?`Overall, Edmunds users rate the ${T}\n            ${y} on a scale of 1 to 5 stars.`:""}\n          Edmunds consumer reviews allow users to sift through aggregated consumer reviews to understand what\n          other drivers are saying about any vehicle in our database.\n          Detailed rating breakdowns (including performance, comfort, value, interior,\n          exterior design, build quality, and reliability) are available as well to provide shoppers with a\n          comprehensive understanding of why customers like the ${T}.`)),t&&t.make&&i&&d.a.createElement(c.Fragment,null,d.a.createElement("h5",null,"Edmunds Expert Reviews"),d.a.createElement("p",null,"Edmunds experts have compiled a robust series of ratings and reviews for the ",f," ",_," ",N," ","and all model years in our database. Our rich ",a.submodel?"analysis":"content"," includes expert reviews and recommendations for the ",f," ",N," featuring deep dives into trim levels"," ",U?`including ${U}, etc. with careful analysis around pricing, features, performance, mpg, safety, interior, and driving and performance.`:"and features, performance, mpg, safety, interior, and driving."," ","Edmunds also offers expert ratings, road test and performance data, long-term road tests, first-drive reviews, video reviews and more."),a.submodel&&d.a.createElement("a",{href:`/${C}/${k}/${f}/review/`},"Read our full review of the ",f," ",_," ",j," here."),d.a.createElement("h5",null,"Our Review Process"),d.a.createElement("p",null,"This review was written by a member of Edmunds' editorial team of expert car reviewers. Our team drives every car you can buy. We put the vehicles through rigorous testing, evaluating how they drive and comparing them in detail to their competitors."),d.a.createElement("p",null,"We're also regular people like you, so we pay attention to all the different ways people use their cars every day. We want to know if there's enough room for our families and our weekend gear and whether or not our favorite drink fits in the cupholder. Our editors want to help you make the best decision on a car that fits your life.")),o&&d.a.createElement(c.Fragment,null,d.a.createElement("h5",null,"What's a good price for a New ",S,"?"),o.map(e=>{const t=e.id,a=e.style,n=e.totalMsrp,s=e.estimatedSavings,r=e.inventoryCount;return a||n||s||r?d.a.createElement(c.Fragment,{key:t},!!a&&d.a.createElement("h6",null,S," ",a),!!a&&!!n&&!!s&&d.a.createElement("p",null,"The ",S," ",a," can be purchased for less than the Manufacturer\u2019s Suggested Retail Price (aka MSRP) of ",Object(Ze.a)(n),". The average price paid for a new"," ",S," ",a," is trending ",Object(Ze.a)(s)," below the manufacturer\u2019s MSRP."),!!s&&!!n&&d.a.createElement("p",null,"Edmunds members save an average of ",Object(Ze.a)(s)," by getting upfront special offers. The estimated special offer price in your area is"," ",Object(Ze.a)(n-s),"."),!!a&&!!n&&!!s&&d.a.createElement("p",null,"The average savings for the ",S," ",a," is"," ",Math.round(s/n*1e3)/10,"% below the MSRP."),!!r&&!!a&&d.a.createElement(c.Fragment,null,d.a.createElement("strong",null,"Available Inventory:"),d.a.createElement("p",null,"We are showing ",r," ",S," ",a," vehicle(s) available in the ",W," ","area."))):null}),!!a.submodel&&d.a.createElement("p",null,"Shop with Edmunds for perks and special offers on new cars, trucks, and SUVs near ",W,", ",z,". Doing so could save you hundreds or thousands of dollars. Edmunds also provides consumer-driven dealership sales and service reviews to help you make informed decisions about what cars to buy and where to buy them.")),a.submodel&&m?d.a.createElement(c.Fragment,null,d.a.createElement("h5",null,`Which ${f} ${_} ${Object(As.b)(j)} are available in my area?`),d.a.createElement("p",null,S," Listings and Inventory"),d.a.createElement("p",null,J&&Q&&`There are currently ${H}\n              new ${f} ${b} ${Object(As.b)(j)} listed\n              for sale in your area, with list prices as low as ${Object(Ze.a)(G)} and mileage as low as\n              ${K} miles. `,`Simply research the type of used car you're interested in and then select a\n              car from our massive database to find cheap used cars for sale near you.\n              Once you have identified a vehicle you're interested in, check the Carfax and\n              Autocheck vehicle history reports, read dealer reviews, and find out what other owners paid for the\n              ${S}. `,X&&`Then select Edmunds special offers, perks, deals, and incentives to contact the dealer of\n              your choice and save up to ${Object(Ze.a)(Z)} on a new, used or CPO ${f}\n              ${b} ${j} available from a dealership near you.`),d.a.createElement("p",null,`Shop Edmunds' car, SUV, and truck listings of over 6 million vehicles to find a cheap\n              new, used, or certified pre-owned (CPO) ${f} ${b} ${j} for sale near\n              you.`)):d.a.createElement(c.Fragment,null,d.a.createElement("h5",null,`Which ${f} ${_} ${Object(As.b)(N)} are available in my area?`),d.a.createElement("p",null,`Shop Edmunds' car, SUV, and truck listings\n              of over 6 million vehicles to find a cheap new, used, or certified pre-owned (CPO) ${f} ${_} ${N} for\n              sale near. `,J&&Q&&`There are currently ${H}\n              new ${f} ${Object(As.b)(N)} listed for sale in your area, with list\n              prices as low as ${Object(Ze.a)(G)} and mileage as low as ${K} miles. `,`Simply research the\n              type of car you're interested in and then select a car from our massive database to\n              find cheap vehicles for sale near you. Once you have identified a used vehicle\n              you're interested in, check the Carfax and Autocheck vehicle history reports, read dealer reviews, and find\n              out what other owners paid for the ${S}. `,X&&`Then select Edmunds special offers, perks, deals, and incentives to contact the dealer of\n              your choice and save up to ${Object(Ze.a)(Z)} on a used or CPO ${f} ${N} available\n              from a dealership near you.`)),B&&d.a.createElement(c.Fragment,null,d.a.createElement("h5",null,`Can't find a new ${f} ${_} ${N}${O?` ${j}`:"s"} you\n        want in your area? Consider a broader search.`),B.map((e,t)=>{const a=`${e.href}-${t}`;return d.a.createElement("p",{key:a},"Find a\xa0",d.a.createElement("a",{href:e.href,rel:"nofollow"},e.title),"\xa0for sale - ",e.greatDealsQty," great deals out of ",e.forSaleQty," listings starting at\xa0",Object(Ze.a)(e.startingPrice),".")})),a.submodel?d.a.createElement(c.Fragment,null,d.a.createElement("h5",null,"Why trust Edmunds?"),d.a.createElement("p",null,"Edmunds has deep data on over 6 million new, used, and certified pre-owned vehicles, including all models of the ",S," and all available trim types",function(e){return e&&e.length?e.length<4?`: ${e.slice(0,3).map(e=>e.name).join(", ")}`:`: ${e.slice(0,3).map(e=>e.name).join(", ")}, etc`:""}(u),". Rich, trim-level features & specs and options data tracked for the ",S," include (but are not limited to): MSRP, available incentives and deals, average price paid, warranty information (basic, drivetrain, and maintenance), features (interior and exterior color, upholstery, bluetooth, navigation, cruise control, parking assistance, lane sensing, keyless ignition, satellite radio, folding rears seats,run flat tires, wheel type, tire size, sunroof, etc.), vehicle specifications (engine cylinder count, drivetrain, engine power, torque, engine displacement, transmission), fuel economy and MPG (city, highway, and combined, fuel capacity, range), vehicle dimensions (interior cabin space, vehicle length and width, seating capacity, cargo space). Edmunds also provides tools to allow shopper to compare vehicles to similar models of their choosing by warranty, interior features, exterior features, specifications, vehicle dimensions, consumer rating, edmunds expert review, safety rating, and color.")):d.a.createElement(c.Fragment,null,d.a.createElement("h5",null,"Why trust Edmunds?"),d.a.createElement("p",null,"Edmunds has deep data on over 6 million new, used, and certified pre-owned vehicles, including rich, trim-level features and specs information like: MSRP, average price paid, warranty information (basic, drivetrain, and maintenance), features (upholstery, bluetooth, navigation, heated seating, cooled seating, cruise control, parking assistance, keyless ignition, satellite radio, folding rears seats ,run flat tires, wheel type, tire size, wheel tire, sunroof, etc.), vehicle specifications (engine cylinder count, drivetrain, engine power, engine torque, engine displacement, transmission), fuel economy (city, highway, combined, fuel capacity, range), vehicle dimensions (length, width, seating capacity, cargo space), car safety, true cost to own. Edmunds also provides tools to allow shopper to compare vehicles to similar models of their choosing by warranty, interior features, exterior features, specifications, fuel economy, vehicle dimensions, consumer rating, edmunds rating, and color.")),p&&h&&g&&d.a.createElement(c.Fragment,null,d.a.createElement("h5",null,"What is the MPG of a ",S,"?"),Ds(S,p),Ds(S,h),Ds(S,g)),p&&d.a.createElement(c.Fragment,null,d.a.createElement("table",null,d.a.createElement("tbody",null,d.a.createElement("tr",null,d.a.createElement("td",null,"EPA Est. MPG"),d.a.createElement("td",null,x||"N/A")),d.a.createElement("tr",null,d.a.createElement("td",null,"Transmission"),d.a.createElement("td",null,A||"N/A")),d.a.createElement("tr",null,d.a.createElement("td",null,"Drive Train"),d.a.createElement("td",null,R||"N/A")),d.a.createElement("tr",null,d.a.createElement("td",null,"Displacement"),d.a.createElement("td",null,P||"N/A")),d.a.createElement("tr",null,d.a.createElement("td",null,"Passenger Volume"),d.a.createElement("td",null,L||"N/A")))),d.a.createElement("table",null,d.a.createElement("tbody",null,d.a.createElement("tr",null,d.a.createElement("td",null,"Wheelbase"),d.a.createElement("td",null,D||"N/A")),d.a.createElement("tr",null,d.a.createElement("td",null,"Length"),d.a.createElement("td",null,$||"N/A")),d.a.createElement("tr",null,d.a.createElement("td",null,"Width"),d.a.createElement("td",null,M||"N/A")),d.a.createElement("tr",null,d.a.createElement("td",null,"Height"),d.a.createElement("td",null,V||"N/A")),d.a.createElement("tr",null,d.a.createElement("td",null,"Curb Weight"),d.a.createElement("td",null,F||"N/A"))))),d.a.createElement(c.Fragment,null,d.a.createElement("h5",null,I),d.a.createElement("p",null,"Is it better to lease or buy a car? Ask most people and they'll probably tell you\n          that car buying is the way to go. And from a financial perspective, it's true, provided you're willing to make\n          higher monthly payments, pay off the loan in full and keep the car for a few years. Leasing, on the other hand,\n          can be a less expensive option on a month-to-month basis. It's also good if you're someone who likes to drive a\n          new car every three years or so."),d.a.createElement("p",null,"Check out ",d.a.createElement("a",{href:w},_," lease specials"),d.a.createElement("br",null))))}$s.propTypes={vehicleInventory:x.a.MMYSubmodelTypeAmounts,coreConfigurations:A.c.CoreConfigurations,ratingsCount:u.b.RatingsCount,about:pe.a.shape({vehicleAbout:pe.a.string}),vehicleTrims:pe.a.arrayOf(pe.a.shape({name:pe.a.string,niceName:pe.a.string})),location:_.c.Location,vehicle:y.d.MakeModelSubmodelYear.isRequired,popularStyles:y.d.PopularStyles,params:p.a.isRequired,styleA:y.a.FeatureStyleEntity,styleB:y.a.FeatureStyleEntity,styleC:y.a.FeatureStyleEntity},$s.defaultProps={vehicleInventory:null,coreConfigurations:null,ratingsCount:null,about:null,vehicleTrims:null,location:null,popularStyles:null,styleA:null,styleB:null,styleC:null};const Ms=Object(_e.b)($s,{styleA:Object(_e.a)(e=>{let t=e.popularStyles;return y.b.buildStyleIdPath({popularStyles:t,index:0})},y.e),styleB:Object(_e.a)(e=>{let t=e.popularStyles;return y.b.buildStyleIdPath({popularStyles:t,index:1})},y.e),styleC:Object(_e.a)(e=>{let t=e.popularStyles;return y.b.buildStyleIdPath({popularStyles:t,index:2})},y.e)});Ms.propTypes={vehicleInventory:x.a.MMYSubmodelTypeAmounts,coreConfigurations:A.c.CoreConfigurations,ratingsCount:u.b.RatingsCount,about:pe.a.shape({vehicleAbout:pe.a.string}),vehicleTrims:pe.a.arrayOf(pe.a.shape({name:pe.a.string,niceName:pe.a.string})),location:_.c.Location,vehicle:y.d.MakeModelSubmodelYear.isRequired,popularStyles:y.d.PopularStyles,params:p.a.isRequired},Ms.defaultProps={vehicleInventory:null,coreConfigurations:null,ratingsCount:null,about:null,vehicleTrims:null,location:null,popularStyles:null};const Vs=Object(_e.b)(Ms,{vehicleTrims:Object(_e.a)(e=>{let t=e.params;return Object(y.q)(t)},y.e),about:Object(_e.a)(e=>{let t=e.params;return Object(b.d)(t)},b.b),ratingsCount:Object(_e.a)(e=>{let t=e.vehicle;return u.d.buildConsumerReviewsRatingsCountPathFromVehicle(t)},u.c),popularStyles:Object(_e.a)(e=>{let t=e.params;return Object(y.x)(t)},y.e),coreConfigurations:Object(_e.a)(e=>{let t=e.vehicle;return Object(A.e)({make:t.make.slug,model:t.model.slug,submodel:t.submodels.slug,year:t.year})},A.d),vehicleInventory:Object(_e.a)(e=>{let t=e.params;return Object(x.c)(t)},x.b)});Vs.propTypes={vehicle:y.d.MakeModelSubmodelYear.isRequired,params:p.a.isRequired,location:_.c.Location},Vs.defaultProps={location:{}};var Fs=a("./site-modules/core-page/components/articles/pre-prod-content-table-articles/pre-prod-content-table-articles.jsx");const Us=[{name:"Driving Performance",key:"driving"},{name:"Comfort on the Road",key:"comfort"},{name:"Interior Ergonomics",key:"interior"},{name:"Infotainment and Automation",key:"technology"},{name:"Cargo and Utility",key:"utility"},{name:"Edmunds' MPG Score",key:"mpg"},{name:"Value and Ownership",key:"value"},{name:"Wild Card",key:"wildcard"}],Ys="7oPYjOqy6C0";function Bs(e){let t=e.heading,a=e.subhead,n=e.body,s=e.collapsedBody;return Bs.propTypes={heading:pe.a.string,subhead:pe.a.string,body:pe.a.string,collapsedBody:pe.a.string},Bs.defaultProps={heading:null,subhead:null,body:null,collapsedBody:null},n&&n.length||s&&s.length?d.a.createElement(c.Fragment,null,t&&d.a.createElement("h2",null,t),a&&d.a.createElement("p",null,a),n&&n.length&&d.a.createElement(Ut.a,null,n),s&&s.length&&d.a.createElement(Ut.a,null,s)):null}const Ws={editorialReview:Object(_e.a)(e=>{let t=e.params;return Object(h.j)(t)},h.c),firstContent:Object(_e.a)(e=>{let t=e.vehicle;return Object(h.i)(Object(p.b)(t))},h.c)},zs=Object(me.c)(e=>({isMobile:e.mobile}))(Object(_e.b)(function e(t){let a=t.editorialReview,n=t.firstContent,s=t.vehicle,r=t.isMobile,i=t.hasRouteYearParam,o=t.isUsed;if(e.propTypes={editorialReview:h.b.EditorialReview,firstContent:h.e,vehicle:pe.a.shape({make:pe.a.shape({name:pe.a.string}),model:pe.a.shape({name:pe.a.string})}),isMobile:pe.a.bool,hasRouteYearParam:pe.a.bool,isUsed:pe.a.bool},e.defaultProps={editorialReview:null,firstContent:null,vehicle:null,isMobile:!1,hasRouteYearParam:!1,isUsed:!1},!a)return null;const l=a.ratings,c=a.weRecommend,m=a.goodCar,u=a.summary,p=a.trimFeaturesBodySnippet,g=a.trimFeaturesBody,b=a.reviewLink,v=s.model.name,f=s.make.name,E=s.year,y=!!n&&!!n.articles;if(!b&&!y)return null;const _=`${E} ${f} ${v}`;if(!b){const e=n.articles,t=n.hasPreProdContent;return d.a.createElement("div",{className:"preprod-article"},t?d.a.createElement(Fs.a,{articles:e,vehicleDisplayName:_}):d.a.createElement(zt.a,{articles:e,isMobile:r,isUsed:o,forceCollapsible:!0,suppressFirstMedia:!0}))}const C=Object(Ga.a)(a),k=l&&l.overall&&l.overall.rating?l.overall.rating:null;return d.a.createElement("div",null,d.a.createElement(Bs,{body:u,heading:`${_} Review`,subhead:"by the Edmunds Experts"}),k&&d.a.createElement("table",{className:"rating-scorecard"},d.a.createElement("caption",null,d.a.createElement("span",null,"Edmunds\u2019 Expert Rating"),d.a.createElement("div",null,"Rated for you by America\u2019s best"," ",d.a.createElement("a",{href:`https://www.youtube.com/watch?v=${Ys}`},"test team"))),d.a.createElement("tbody",null,d.a.createElement("tr",null,d.a.createElement("th",{scope:"col"},d.a.createElement("h2",null,"Overall"),d.a.createElement("span",null,`${k} / ${C}`))),l&&l.overall&&l.overall.text&&d.a.createElement("tr",null,d.a.createElement("td",null,d.a.createElement(Ut.a,null,l.overall.text)))),Us.map(e=>{let t=e.name,a=e.key;return l&&l[a]&&l[a].rating&&d.a.createElement("tbody",{key:`scorecard-${a}`},d.a.createElement("tr",null,d.a.createElement("th",{scope:"col"},d.a.createElement("h2",null,t),d.a.createElement("span",null,l[a].rating))),l&&l[a]&&l[a].text&&d.a.createElement("tr",null,d.a.createElement("td",null,d.a.createElement(Ut.a,null,l[a].text))))})),d.a.createElement(Bs,{body:c,heading:`Which ${v} does Edmunds recommend?`}),d.a.createElement(Bs,{body:p,collapsedBody:g,heading:`${i?`${E} `:""}${f} ${v} models`}),d.a.createElement(Bs,{body:m,heading:`Is the ${f} ${v} a good car?`}),d.a.createElement("hr",null))},Ws));function qs(e){let t=e.similarVehicles;return t&&t.length?d.a.createElement("div",null,d.a.createElement("h2",null,"People who viewed this also viewed"),d.a.createElement("div",{className:"d-flex"},t.map((e,t)=>{const a=`also-viewed-vehicle-${t}`,n=e.make,s=n.name,r=n.slug,i=e.model,o=i.name,l=i.slug,c=e.year,m=e.startPrice,u=e.consumerRating;return d.a.createElement("a",{className:"mr-1",key:a,href:Object(oe.d)({makeSlug:r,modelSlug:l,year:c})},d.a.createElement("table",{style:{border:"solid #000 1px"}},d.a.createElement("thead",null,d.a.createElement("tr",null,d.a.createElement("td",null,d.a.createElement("header",null,s," ",o)))),d.a.createElement("tbody",null,u&&d.a.createElement("tr",null,d.a.createElement("td",null,u.averageRating," average Rating out of ",u.reviewsCount," reviews.")),m&&d.a.createElement("tr",null,d.a.createElement("td",null,d.a.createElement("span",null,"Starting at ",Object(Ze.a)(m)))))))})),d.a.createElement("hr",null)):null}qs.propTypes={similarVehicles:pe.a.arrayOf(j.a.SimilarVehicleCrossShop)},qs.defaultProps={similarVehicles:null};const Hs=Object(_e.b)(qs,{similarVehicles:Object(_e.a)(e=>{let t=e.params.isUsed,a=e.modelLinkCode;return Object(j.c)(a,t)},j.b)});function Gs(e){let t=e.vehicle,a=e.editorialReview,n=e.consumerReviews,s=e.stylesList,r=e.whatsNewContent,i=e.params;const o=Object(q.a)({vehicle:t,editorialReview:a,consumerReviews:n,stylesList:s,whatsNewContent:r});return d.a.createElement("section",null,d.a.createElement("h5",null,"FAQ"),o.map(e=>{let t=e.question,a=e.answer;return d.a.createElement("details",{key:t},d.a.createElement("summary",null,t),d.a.createElement(Ut.a,{componentToUse:"div"},a.concat(` <a href="${Object(oe.d)({makeSlug:i.make,modelSlug:i.model})}">Learn more</a>`)))}))}Hs.propTypes={params:p.a.isRequired,modelLinkCode:pe.a.string.isRequired},Gs.propTypes={vehicle:y.d.MakeModelSubmodelYear.isRequired,params:p.a.isRequired,editorialReview:h.b.EditorialReview,stylesList:pe.a.arrayOf(y.a.FeatureStyleEntity),whatsNewContent:b.a.WhatsNewContent,consumerReviews:u.b.ReviewContent},Gs.defaultProps={stylesList:[],editorialReview:null,whatsNewContent:[],consumerReviews:null};const Ks={stylesList:Object(_e.a)(e=>{let t=e.vehicle;return y.b.buildPartialFeaturesPath({make:t.make.slug,model:t.model.slug,submodel:t.submodels.slug,year:t.year})},y.e),editorialReview:Object(_e.a)(e=>{let t=e.params;return Object(h.j)(t)},h.c),consumerReviews:Object(_e.a)(u.d.getConsumerReviewsPath(),u.c),whatsNewContent:Object(_e.a)(e=>{let t=e.params;return Object(b.g)(t)},b.b)},Zs=Object(_e.b)(Gs,Ks);Zs.propTypes={params:p.a.isRequired,vehicle:y.d.MakeModelSubmodelYear.isRequired};var Qs={RelatedArticles:Object(An.a)({SEOComponent:Yn,fullComponent:{loader:()=>a.e("related-articles").then(a.bind(null,"./site-modules/core-page/components/related-articles/related-articles.jsx")),name:"RelatedArticles"},dataTrackingParent:"editorial-related-articles"}),EditorialReview:Object(An.a)({SEOComponent:os,fullComponent:{loader:()=>a.e("editorial-reviews").then(a.bind(null,"./site-modules/core-page/components/editorial-review/editorial-review.jsx")),name:"EditorialReview"},dataTrackingParent:"edm-entry-editorial-review",verticalOffset:"20%"}),ScorecardEditorialReview:Object(An.a)({SEOComponent:zs,fullComponent:{loader:()=>a.e("scorecard-editorial-reviews").then(a.bind(null,"./site-modules/core-page/components/scorecard-editorial-review/scorecard-editorial-review.jsx")),name:"ScorecardEditorialReview"},dataTrackingParent:"edm-entry-editorial-review",verticalOffset:"20%"}),ConsumerReview:Object(An.a)({SEOComponent:Zn,fullComponent:{loader:()=>a.e("consumer-reviews").then(a.bind(null,"./site-modules/shared/components/consumer-review/consumer-review.jsx")),name:"ConsumerReview"},dataTrackingParent:"consumer-reviews"}),VideoVehicleModule:Object(An.a)({SEOComponent:cs,fullComponent:{loader:()=>a.e("video-module").then(a.bind(null,"./site-modules/shared/components/video-module/video-module.jsx")),name:"VideoVehicleModule"},dataTrackingParent:"edm-entry-video"}),FeaturesSpecs:Object(An.a)({SEOComponent:hs,fullComponent:{loader:()=>a.e("features-specs").then(a.bind(null,"./site-modules/core-page/components/features-specs/features-specs.jsx")),name:"FeaturesSpecs"},dataTrackingParent:"features-and-specs"}),Safety:Object(An.a)({SEOComponent:ks,fullComponent:{loader:()=>a.e("safety").then(a.bind(null,"./site-modules/core-page/components/safety/safety.jsx")),name:"Safety"},dataTrackingParent:"edm-entry-safety"}),VehicleComparisons:Object(An.a)({SEOComponent:js,fullComponent:{loader:()=>a.e("vehicle-comparisions").then(a.bind(null,"./site-modules/core-page/components/vehicle-comparisons/vehicle-comparisons.jsx")),name:"VehicleComparisons"},dataTrackingParent:"vs_the_competition_link"}),AlsoViewedVehiclesCrossShop:Object(An.a)({SEOComponent:Hs,fullComponent:{loader:()=>a.e("also-viewed").then(a.bind(null,"./site-modules/shared/components/core-page/also-viewed-vehicles-cross-shop/also-viewed-vehicles-cross-shop.jsx")),name:"AlsoViewedVehiclesCrossShop"},dataTrackingParent:"edm-entry-also-viewed-vehicles"}),MoreAboutWrapperNew:Object(An.a)({SEOComponent:Vs,fullComponent:{loader:()=>a.e("more-about").then(a.bind(null,"./site-modules/core-page/components/more-about/more-about-wrapper-new.jsx")),name:"MoreAboutWrapperNew"}}),FaqSection:Object(An.a)({SEOComponent:Zs,fullComponent:{loader:()=>a.e("faq-section").then(a.bind(null,"./site-modules/core-page/components/faq-section/faq-section.jsx")),name:"FaqSection"}}),InventoriesForSaleSection:Object(An.a)({fullComponent:{loader:()=>Promise.all([a.e(18),a.e("inventory-section")]).then(a.bind(null,"./site-modules/core-page/components/inventories-for-sale-section/inventories-for-sale-section.jsx")),name:"InventoriesForSaleSection"},dataTrackingParent:"edm-entry-inventory-cards"}),CorePageEmbeddedLeadForm:Object(An.a)({fullComponent:{loader:()=>a.e("embedded-lead-form").then(a.bind(null,"./site-modules/shared/components/lead-form/unified-lead-form-pages/core-page-embedded-lead-form.jsx")),name:"CorePageEmbeddedLeadForm"},dataTrackingParent:"edm-entry-embedded-lead-form"})};const Xs=Qs.RelatedArticles,Js=Qs.EditorialReview,er=Qs.ScorecardEditorialReview,tr=Qs.ConsumerReview,ar=Qs.VideoVehicleModule,nr=Qs.FeaturesSpecs,sr=Qs.VehicleComparisons,rr=Qs.MoreAboutWrapperNew,ir=Qs.FaqSection,or=Qs.CorePageEmbeddedLeadForm,lr=Qs.InventoriesForSaleSection,cr=Qs.Safety,dr=Qs.AlsoViewedVehiclesCrossShop;class mr extends c.Component{constructor(){super(...arguments),this.state={forceNoInsiderTooltip:!1,isRedirectPending:!1,isBuildPriceAdVisible:!0},this.setForceNoInsiderTooltip=(()=>{this.setState(()=>({forceNoInsiderTooltip:!0}))}),this.setPendingRedirect=(()=>{this.setState(()=>({isRedirectPending:!0}))}),this.hideEmptyAdContainer=(e=>{(Object(je.a)(e)||Object(je.b)(e))&&this.setState({isBuildPriceAdVisible:!1})})}componentDidMount(){Le.a.useMap(Object(s.a)({},Ae.a,Re.a,Pe.a,De.a))}render(){const e=this.props,t=e.vehicle,a=e.editorialReview,r=e.submodels,i=e.visitorLocation,o=e.location,m=e.params,u=m.submodel,p=m.year,h=e.isMobile,g=e.vinsData.totalNumber,b=this.state,v=b.isRedirectPending,E=b.isBuildPriceAdVisible,y=b.forceNoInsiderTooltip;if(!(t&&t.make&&t.model&&t.submodels&&t.year&&t.pubStates))return d.a.createElement("main",{className:"core-page loading"},d.a.createElement(ge.a,null,"Loading\u2026"));const _=!p&&Object(Ce.b)(t.year),C=Object(ne.a)({params:this.props.params,year:t.year,location:o}),k=Object(f.a)({makeModelSubmodelYear:t,params:C}),N=t.make,j=N.name,O=N.slug,T=t.model,S=T.name,I=T.slug,x=T.modelLinkCode,A=t.year,R=t.submodels.slug,L=t.pubStates,D=Object(ne.c)(R,r),$=Object(U.j)(In.a.NEW).toLowerCase(),M={make:j,model:S,year:Number(A),submodelid:u&&D,inventorytype:$},V=Object(s.a)({},M,{makeSlug:O,modelSlug:I}),F=Object(ke.p)(M),Y=Object(ke.p)(V),B={make:j,model:S,type:In.a.NEW,year:Number(A),subModel:D},W=Object(Ne.b)(i),z=!W,q=W||v,H=Object(P.a)({makeModelSubmodelYear:t,params:this.props.params,isMainCorePage:!0,includeLastLink:!0}),G=Object(w.i)(L),Z=Object(w.f)(t.pubStates),Q=de()(wn.e,j.toLowerCase()),X=!(l()(a,"reviewLink")||l()(a,"hasRelatedArticles"));return G?d.a.createElement(c.Fragment,null,d.a.createElement(Ia,Object(n.a)({},this.props,{params:this.props.params})),d.a.createElement(Be.a,null)):d.a.createElement("main",{className:"core-page"},d.a.createElement(Ft.a,{vehicle:t,params:Object(s.a)({},C,{noEditorialReview:X,isUsedMakeModel:_}),inventoryLink:F,isMobile:h,mergedAttributes:B,setForceNoTooltip:this.setForceNoInsiderTooltip}),d.a.createElement(Fe.a,{className:"pl-0_5 container",data:H}),d.a.createElement(Sn,{params:C,vehicle:t,displayVehicle:k,submodels:r,matchedSubmodel:D,srpParams:M,setPendingRedirect:this.setPendingRedirect,inventoryCTALink:Y,inventoryTotalNumber:g,showInternationalZipPickerCta:q,isRedirectPending:v,mergedAttributes:B,forceNoInsiderTooltip:y,isMobile:h,isUsedMakeModel:_}),!_&&d.a.createElement(ye.Element,{name:"subnav-pricing"},d.a.createElement(ge.a,{className:"mb-2"},d.a.createElement(Mt,{params:C,vehicle:t,srpParams:M,inventoryTotalNumber:g,showInventoryModuleLinks:z}),d.a.createElement("hr",{className:"mt-1_5 mb-2"}))),d.a.createElement(ye.Element,{name:"subnav-reviews"},d.a.createElement(ge.a,{className:"px-0"},d.a.createElement(Ve.a,{className:"core-page-anchor",name:"review"}),a&&(A>2019?d.a.createElement(er,{vehicle:t,params:C,hasRouteYearParam:!!p}):d.a.createElement(Js,{vehicle:t,params:C,hasRouteYearParam:!!p})),!h&&!_&&d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,lg:8,className:"px-1"},d.a.createElement($e.a,{name:"core-page-generations",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0}),d.a.createElement($e.b,{name:"chal"},d.a.createElement(We.a,{vehicle:t}),d.a.createElement("hr",null))))),Q?E&&d.a.createElement(ve.a,{className:"build-price-viewable-parent"},d.a.createElement(Ee.a,{md:12,lg:9,xl:8},d.a.createElement(Me.a,{verticalOffset:"100%"},d.a.createElement(Se.a,{mobile:h,wrapperClass:"d-flex justify-content-center",includeMrectAdCall:!0,slotRenderEndListener:this.hideEmptyAdContainer}),d.a.createElement("hr",{className:"mt-1_5 mb-2"}))),d.a.createElement(Ee.a,{className:"hidden-sm-down",md:12,lg:3,xl:4})):d.a.createElement(ge.a,null,d.a.createElement($e.a,{name:"ads-3494-lazy-load-core-ads",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement(Ye.a,{params:Object(s.a)({},C,{year:"2017",slidesToShow:5}),modelName:t.model.name})),d.a.createElement($e.b,{name:"chal"},d.a.createElement(Ye.a,{params:Object(s.a)({},C,{year:"2017",slidesToShow:5}),modelName:t.model.name,isLazyLoadingEnabled:!0})))),d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12},d.a.createElement($e.a,{name:"ads-3088",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0}),d.a.createElement($e.b,{name:"chal1"},!Q&&d.a.createElement($e.a,{name:"ads-3494-lazy-load-core-ads",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement(Ye.a,{params:Object(s.a)({},C,{year:"2017",slidesToShow:5}),modelName:t.model.name})),d.a.createElement($e.b,{name:"chal"},d.a.createElement(Ye.a,{params:Object(s.a)({},C,{year:"2017",slidesToShow:5}),modelName:t.model.name,isLazyLoadingEnabled:!0})))),d.a.createElement($e.b,{name:"chal2"})))),d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,lg:8},d.a.createElement(Ve.a,{className:"core-page-anchor",name:"consumer-reviews"}),d.a.createElement(ye.Element,{name:"subnav-consumer-reviews"},d.a.createElement(ge.a,null,d.a.createElement(tr,{params:C,vehicle:t})))),d.a.createElement(Ee.a,{xs:12,lg:4,className:"mb-2 mb-lg-0"},d.a.createElement(ge.a,null,d.a.createElement($e.a,{name:"ads-3494-lazy-load-core-ads",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement(Me.a,{verticalOffset:"100%"},d.a.createElement(Oe.a,{wrapperClass:"mrect mx-auto",adNameWired:"mrect",adNameMobile:"mmrect",nativeStyle:"pricing,mediumrectangle",showLabel:!0,refreshable:!1,customSizes:[[1,1],[300,250],"fluid"],wiredOnly:!0,wiredBreakpoints:{lg:!0,xl:!0}}))),d.a.createElement($e.b,{name:"chal"},d.a.createElement("div",{className:"mrect mx-auto"},d.a.createElement(xe.a,{adName:h?"mmrect":"mrect",position:"1",nativeStyle:"pricing,mediumrectangle",showLabel:!0,refreshable:!1,xl:!0,lg:!0,customSizes:[[1,1],[300,250],"fluid"]})))))))),d.a.createElement(ge.a,null,d.a.createElement(ar,{vehicle:t,pageName:`${Z}_model_core`}))),!Q&&E&&d.a.createElement(ge.a,null,d.a.createElement(ve.a,{className:"build-price-viewable-parent"},d.a.createElement(Ee.a,{xs:12},d.a.createElement(Me.a,{verticalOffset:"100%"},d.a.createElement(Se.a,{mobile:h,wrapperClass:"core",includeMrectAdCall:!0,slotRenderEndListener:this.hideEmptyAdContainer}),d.a.createElement("hr",{className:"mt-1_5 mb-2"}))))),d.a.createElement($e.a,{name:"ads-3088",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0}),d.a.createElement($e.b,{name:"chal1"}),d.a.createElement($e.b,{name:"chal2"},d.a.createElement(ge.a,null,d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12},!Q&&d.a.createElement($e.a,{name:"ads-3494-lazy-load-core-ads",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement(Ye.a,{params:Object(s.a)({},C,{year:"2017",slidesToShow:5}),modelName:t.model.name})),d.a.createElement($e.b,{name:"chal"},d.a.createElement(Ye.a,{params:Object(s.a)({},C,{year:"2017",slidesToShow:5}),modelName:t.model.name,isLazyLoadingEnabled:!0})))))))),d.a.createElement(ye.Element,{name:"subnav-features"},d.a.createElement(ge.a,null,d.a.createElement(nr,{params:C})),d.a.createElement(ge.a,null,d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,className:"mb-2"},d.a.createElement($e.a,{name:"ads-3494-lazy-load-core-ads",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement(Me.a,{verticalOffset:"100%"},d.a.createElement(Oe.a,{wrapperClass:"mrect mx-auto",adNameWired:"mrect",adNameMobile:"mmrect",nativeStyle:"pricing,mediumrectangle",showLabel:!0,refreshable:!1,customSizes:[[1,1],[300,250],"fluid"],wiredBreakpoints:{md:!0}}))),d.a.createElement($e.b,{name:"chal"},d.a.createElement("div",{className:"mrect mx-auto"},d.a.createElement(xe.a,{adName:h?"mmrect":"mrect",position:"1",nativeStyle:"pricing,mediumrectangle",showLabel:!0,refreshable:!1,md:!0,sm:!0,xs:!0,customSizes:[[1,1],[300,250],"fluid"]}))))))),d.a.createElement(ge.a,null,d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,lg:8},d.a.createElement(cr,{vehicle:t,params:C}),Object(K.h)({make:{niceName:O}})&&d.a.createElement(we.a,null),d.a.createElement(Wt.a,{pageParameters:C}),Q&&d.a.createElement(Me.a,{verticalOffset:"100%"},d.a.createElement(Ie.a,{nativeStyle:"ysc",position:"2",className:"mt-2",wiredBreakpoints:{lg:!0,xl:!0}}))),d.a.createElement(Ee.a,{xs:12,lg:4},d.a.createElement(ge.a,{className:"my-md-0_25 pb-md-1_5 mrect"},d.a.createElement($e.a,{name:"ads-3494-lazy-load-core-ads",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement(Me.a,{verticalOffset:"100%"},d.a.createElement(Te.a,{position:"2",wiredOnly:!0,wiredBreakpoints:{lg:!0,xl:!0},renderOnScroll:!0,refreshable:!1}))),d.a.createElement($e.b,{name:"chal"},d.a.createElement("div",{className:"mrect mx-auto"},d.a.createElement(xe.a,{adName:h?"mmrect":"mrect",position:"2",nativeStyle:"mediumrectangle",showLabel:!0,renderOnScroll:!0,xl:!0,lg:!0,refreshable:!1}))))))))),d.a.createElement(ye.Element,{name:"subnav-competition"},d.a.createElement(sr,{params:C}),!Q&&d.a.createElement(ge.a,null,d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,lg:8},d.a.createElement(dr,{modelLinkCode:x,params:C})))),d.a.createElement(ge.a,null,d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12},d.a.createElement($e.a,{name:"ads-3088",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0}),d.a.createElement($e.b,{name:"chal1"}),d.a.createElement($e.b,{name:"chal2"}))))),d.a.createElement(c.Fragment,null,!_&&!!g&&d.a.createElement(lr,{params:C,vehicle:{makeName:j,modelName:S,makeSlug:O,modelSlug:I,publicationState:In.a.NEW,year:Number(A),submodel:u&&D},isInternational:W,mergedAttributes:B,displayVehicle:k,inventoryLink:F,inventoryTotalNumber:g,isBestDealPriceActive:!0,setPendingRedirect:this.setPendingRedirect,isRedirectPending:v}),d.a.createElement(ge.a,null,d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,lg:8},d.a.createElement(Bt,{params:C}))))),a&&a.reviewLink&&d.a.createElement(ye.Element,{name:"related-articles"},d.a.createElement(ge.a,{className:"preprod-article related-articles"},d.a.createElement(Ve.a,{className:"core-page-anchor",name:"related-articles"}),d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,lg:8},d.a.createElement(Xs,{vehicle:t})))))),d.a.createElement(ge.a,null,d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,lg:8},d.a.createElement(ir,{vehicle:t,params:C}))),d.a.createElement($e.a,{name:"CORE-1748-remove-more-about",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12,lg:8},d.a.createElement("hr",{className:"mt-0 mb-2"}),d.a.createElement(rr,{vehicle:t,params:C,location:i})))),d.a.createElement($e.b,{name:"chal"})),d.a.createElement("hr",{className:"mt-1 mb-0"}),d.a.createElement(ve.a,null,d.a.createElement(Ee.a,{xs:12},d.a.createElement($e.a,{name:"tpt-444-cards",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement(or,{params:C,srpLink:Y,options:{pathname:o.pathname}})),d.a.createElement($e.b,{name:"chal1"},!_&&d.a.createElement(xn.a,{params:C,srpParams:M,className:"mt-1",isAdRendered:!1})),d.a.createElement($e.b,{name:"chal2"},!_&&d.a.createElement(xn.a,{params:C,srpParams:M,className:"mt-1",isAdRendered:!0})))))),d.a.createElement($e.a,{name:"SEOT-799",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0},d.a.createElement(Ue.a,{vehicle:t})),d.a.createElement($e.b,{name:"chal"},d.a.createElement(Vt.a,{divideSections:!1,title:`Related ${k} info`,className:"container mt-2 mb-3"}))),d.a.createElement(Be.a,null),de()(wn.b,j.toLowerCase())&&d.a.createElement($e.a,{name:"ads-3750_dfp",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0}),d.a.createElement($e.b,{name:"chal"})),d.a.createElement($e.a,{name:"tpt-574-multi",showDefault:!0},d.a.createElement($e.b,{name:"ctrl",isDefault:!0}),d.a.createElement($e.b,{name:"chal1"},d.a.createElement("div",{id:"TPT574MULTI"}))))}}mr.propTypes={location:pe.a.shape({pathname:pe.a.string}),params:p.a.isRequired,vehicle:y.d.MakeModelSubmodelYear,editorialReview:h.b.EditorialReview,visitorLocation:_.c.Location,submodels:pe.a.arrayOf(pe.a.shape({niceId:pe.a.string,identifier:pe.a.string})),setModelValue:pe.a.func,isMobile:pe.a.bool,vinsData:pe.a.shape({totalNumber:pe.a.number}),isUsedMakeModel:pe.a.bool},mr.defaultProps={location:{pathname:""},vehicle:null,editorialReview:null,visitorLocation:{},submodels:null,setModelValue:pe.a.func,isMobile:!1,vinsData:{},isUsedMakeModel:!1};const ur=Object(me.c)(e=>({isMobile:e.mobile}))(Object(_e.b)(mr,{submodels:Object(_e.a)(e=>{let t=e.vehicle;return t&&Object(y.C)(Object(p.b)(t))},y.e),visitorLocation:Object(_e.a)("location",_.d),editorialReview:Object(_e.a)(e=>{let t=e.params,a=e.vehicle;return a&&Object(h.j)(Object(s.a)({},Object(p.b)(a),{submodel:t.submodel}))},h.c),vinsData:Object(_e.a)("vins",I.c)}));ur.propTypes={params:p.a.isRequired,vehicle:y.d.MakeModelSubmodelYear,location:pe.a.shape({pathname:pe.a.string})},a.d(t,"getPageOptions",function(){return pr});const pr=e=>({name:"new_model_core",category:"new_model_core",preload:(t,a)=>{const n=!!e.year,r=l()(a,"location.pathname",""),i=t.getState(),o=i.mobile,c=i.featureFlags,d=new v.a(t,Object(s.a)({},a,{params:e}),{isUsed:!1,isSubpage:!1});d.set(k.a,k.b,{urlPattern:Object(L.a)(e.year,e.submodel)});const f=l()(c,"adsSingleRequest");return f&&d.set("pageAdsList",E.e,new Set([G.e.AD_NAME,G.b.AD_NAME,G.a.AD_NAME,G.d.AD_NAME])),d.load().then(i=>{const c=n?i.get(Object(y.F)(e),y.e):i.get(Object(y.i)(e),y.e),v=Object(s.a)({make:c.make.slug,model:c.model.slug,year:c.year},e.submodel?{submodel:e.submodel}:{}),k=v.make,S=v.model,P=v.year,L=v.submodel,D=Object(ne.b)(c.pubStates);t.dispatch(Object(X.a)(`${D}${Object(re.a)(v)?",editors-choice":""}${Object(ie.a)(v)?",top-rated":""}`)),d.resolve(`content["/${k}/${S}/${P}/photos"]`,Z.b),d.resolve(Object(N.d)({makeSlug:k,modelSlug:S,year:P}),N.b),"chal"===Object(Q.b)(t.getState(),"CORE-1819-video-photoflipper-v2")&&d.resolve(Object(J.c)(Object(s.a)({},v,{pageNum:1,currentCategory:te.s,mediaType:te.s})),C.d),d.resolve(Object(y.x)(v),y.e),d.resolve(Object(j.c)(c.model.modelLinkCode,!1),j.b),d.resolve(Object(T.c)(Object(s.a)({},a,{params:v})),T.b),d.resolve(Object(b.e)(v),b.b),d.resolve(Object(b.f)(v),b.b),d.resolve(Object(g.c)(v),g.b),d.resolve(Object(y.C)(v),y.e),i.get("siteServedAds",le.a)&&Object(K.e)(t.getState().visitor.location)&&(f?d.resolve(Object(H.h)(o,{modelNiceName:S,subModelName:l()(c,"submodels.name"),year:P}),E.e):(d.resolve(Object(H.e)(o,G.e),E.e),d.resolve(Object(H.e)(o,G.b),E.e),d.resolve(Object(H.e)(o,G.a),E.e),d.resolve(Object(H.g)(Object(s.a)({},v,{submodel:l()(c,"submodels.name"),isMobile:o}),G.d),E.e)));const $="ctrl"===Object(Q.b)(t.getState(),"CORE-1748-remove-more-about");if($&&(d.resolve(Object(y.q)(v),y.e),d.resolve(Object(b.d)(v),b.b)),c){const e="preprod"===D;if(e&&r.indexOf("/used")>-1)throw Object(ee.a)("Page not found");e&&(d.resolve(`content["${ae.a}"]`,Z.b),t.dispatch(Object(m.a)({pageName:"preprod_new_model_core",categoryName:"preprod_new_model_core"}))),Object(w.j)(c.pubStates)&&t.dispatch(Object(m.a)({pageName:"used_model_core",categoryName:"used_model_core"}));const a={make:c.make.slug,model:c.model.slug,submodel:c.submodels.slug,year:c.year};d.resolve(Object(h.j)(Object(p.b)(c)),h.c),d.resolve(Object(h.i)(Object(p.b)(c)),h.c),d.resolve(Object(b.g)(v),b.b),d.resolve(Object(x.c)(Object(s.a)({},v,{isUsed:!0})),x.b),d.resolve(Object(F.j)({make:c.make.slug,model:c.model.slug,submodel:c.submodels.name,year:c.year}),F.b),d.resolve(Object(A.e)(a),A.d),d.resolve(y.b.buildPartialFeaturesPath(a),y.e),"chal"===Object(Q.b)(t.getState(),"SEOT-799")?d.resolve(Object(O.e)(),O.b):d.resolve(Object(O.c)(c),O.b),d.resolve(u.d.buildConsumerReviewsRatingsCountPathFromSubmodel(c),u.c),d.resolve(u.d.getConsumerReviewsPath(),u.c),$&&(d.resolve(Object(x.c)(v),x.b),d.resolve(u.d.buildConsumerReviewsPathFromSubmodel(c),u.c)),d.resolve(u.d.buildConsumerReviewsAspectsPath(c),u.c),d.resolve(Object(y.r)(a),y.e),d.set("searchFilter",I.c,{make:{niceName:k},model:{niceName:S},modelYear:{year:P},publicationState:D,subModel:{niceName:L},radius:100,pageSize:3}),d.set(u.d.getVehicleFilterPath(),u.c,{params:{make:k,model:S,year:P,submodel:L}}),d.set(u.d.getConsumerReviewsFilterPath(),u.c,{pagenum:1,pagesize:4}),d.resolve("vins",I.c),d.set("closestDealerFilter",I.c,{make:k,radius:100,inventoryType:Object(U.j)(D)}),"chal1"===Object(Q.b)(t.getState(),"tpt-389-3paths")&&d.resolve(Object(y.l)(a),y.e)}return d.load().then(e=>{const a=e.get(Object(h.k)(v),h.c);a&&a.vehicles&&a.vehicles.forEach(e=>d.resolve(u.d.buildConsumerReviewsAverageRating(e),u.c));const n=e.get(Object(A.e)({make:c.make.slug,model:c.model.slug,submodel:c.submodels.slug,year:c.year}),A.d);return n&&n.length||d.resolve(Object(R.g)(c.make.slug),R.c),"chal"===Object(Q.b)(t.getState(),"tpt-294-intent")&&d.resolve(_.b,_.d),d.load()})})},seo:(t,a)=>{const n=Object(S.b)(t),r=l()(a,"location.pathname",""),o=e.year?n.get(Object(y.F)(e),y.e):n.get(Object(y.i)(e),y.e);let c="",d="";const m=Object(s.a)({},e,{year:o&&o.year}),p={},g=n.get(Object(h.j)(m),h.c),v=n.get(Object(h.i)(m),h.c),E=l()(o,"make.slug",""),_=l()(o,"model.slug","");if(o){const t={make:o.make.slug,model:o.model.slug,submodel:o.submodels.slug,year:o.year},a=n.get(y.b.buildPartialFeaturesPath(t),y.e),r=n.get(u.d.getConsumerReviewsPath(),u.c);if(c=Object(f.a)({makeModelSubmodelYear:o,params:m}),d=Object(f.a)({makeModelSubmodelYear:o,params:m,showYear:!1}),p.jsonld=[Object(D.a)(Object(P.a)({makeModelSubmodelYear:o,params:e,includeLastLink:!0,isMainCorePage:!0}))],g){const e=n.get(Object(y.r)(t),y.e),i=l()(e,"msrpPriceRange",[0]),d=l()(g,"ratings.overall.rating"),m=l()(r,"averageUserRating"),u=Object(B.d)({makeModelSubmodelYear:o,editorialReview:g,consumerReviews:r,priceRange:i}),h=Object(M.d)({makeModelSubmodelYear:o,editorialReview:g,consumerReviews:r,seoObject:p,style:l()(a,"[0]")});(d||m)&&(h.review=Object(s.a)({},u,{itemReviewed:void 0}),delete h.aggregateRating),p.jsonld.push(h);const b=n.get(Object(F.j)({make:o.make.slug,model:o.model.slug,submodel:o.submodels.name,year:o.year}),F.b),v=l()(b,"[0]");v&&p.jsonld.push(Object(W.a)({uri:Object(z.j)(v),title:c}))}const i=n.get(Object(b.g)(e),b.b);p.jsonld.push(Object(V.a)({entries:Object(q.a)({vehicle:o,editorialReview:g,consumerReviews:r,whatsNewContent:i,stylesList:a}),generateLearnMoreLinks:!0,pathname:Object(oe.d)({makeSlug:E,modelSlug:_})}))}p.keywords="";const C="chal"===Object(Q.a)(t,"SEOT-861",E);if(p.description=`Research the ${c} with our expert reviews and ratings. Edmunds also has ${d} pricing, MPG, specs, pictures, safety features, consumer reviews and more. Our comprehensive coverage delivers all you need to know to make an informed car buying decision.`,p.title=`${c} Prices, Reviews, and Pictures | Edmunds`,o&&Object(w.i)(o.pubStates)){const e=l()(v,"metaDescription","");p.jsonld.push(...Object($.b)(c,v,r)),p.description=e?e.concat(" Read more at Edmunds.com."):`Edmunds has the latest news on the ${c}, including pricing information, release date, review, pictures, specs and first impressions from our automotive experts.`}else!e.submodel&&C?p.title=`${c} For Sale, Prices, and Review | Edmunds`:e.submodel&&(p.title=`${c} Pricing, Reviews, and Pictures | Edmunds`,p.description=p.description.concat(" Read more at Edmunds.com."));return p.jsonld=i()(p.jsonld),p},component:t=>d.a.createElement(ur,Object(n.a)({},t,{params:e})),decorator:Y.a,sentient:!0});t.default=(e=>Object(se.a)(pr(e),e))},"./site-modules/core-page/pages/new-core/new-core.scss":function(e,t,a){},"./site-modules/core-page/utils/constants.jsx":function(e,t,a){"use strict";a.d(t,"c",function(){return n}),a.d(t,"b",function(){return s}),a.d(t,"d",function(){return r}),a.d(t,"a",function(){return i});const n="see more",s="National Manufacturers Suggested Retail Price for this style with typically equipped options.",r="See Special Offers",i=["audi","bmw","buick","cadillac","chevrolet","gmc","hyundai","kia","mini","toyota"]},"./site-modules/core-page/utils/faq-content-generator.js":function(e,t,a){"use strict";a.d(t,"a",function(){return l});a("../node_modules/core-js/modules/es6.regexp.split.js");var n=a("../node_modules/lodash/compact.js"),s=a.n(n),r=a("../node_modules/lodash/get.js"),i=a.n(r),o=a("./site-modules/shared/utils/price-utils.js");function l(e){let t=e.vehicle,a=e.editorialReview,n=e.consumerReviews,r=e.whatsNewContent,l=e.stylesList,c=void 0===l?[]:l;const d=i()(t,"make.name"),m=i()(t,"model.name"),u=i()(t,"year"),p=i()(a,"ratings.overall.rating"),h=i()(n,"averageUserRating"),g=i()(n,"totalNumber"),b="electric"===i()(c,'[0].features.Engine["Base engine type"]'),v=function(e){return e.reduce((e,t)=>{const a=+i()(t,"features.Fuel['Combined MPG']",0),n=e.highestCombinedMpg,s=e.lowestCombinedMpg;return{highestCombinedMpg:a>n?a:n,lowestCombinedMpg:a&&(!s||a<s)?a:s}},{highestCombinedMpg:0,lowestCombinedMpg:0})}(c),f=v.highestCombinedMpg,E=v.lowestCombinedMpg,y=function(e){return e.reduce((e,t)=>{const a=i()(t,"features.Measurements['Cargo capacity, all seats in place']","").split(" ")[0],n=e.highestCargoCapacity,s=e.lowestCargoCapacity;return{highestCargoCapacity:a>n?a:n,lowestCargoCapacity:a&&(!s||a<s)?a:s}},{highestCargoCapacity:0,lowestCargoCapacity:0})}(c),_=y.highestCargoCapacity,C=y.lowestCargoCapacity,k=function(e){return e.reduce((e,t)=>{const a=i()(t,"price.baseMSRP",0),n=e.price;return!n||a<n?{price:a,styleName:i()(t,"name")}:e},{price:0,styleName:""})}(c),N=k.price,j=k.styleName;return s()([function(e){let t=e.make,a=e.model,n=e.year,s=e.editorialOverallRating,r=e.averageConsumerRating,i=e.numberOfReviews,o=e.highestCombinedMpg,l=e.lowestCombinedMpg,c=e.highestCargoCapacity,d=e.lowestCargoCapacity,m=e.isElectric;const u=[`The Edmunds experts tested the ${n} ${a} both on the road and at the track${s?`, giving it a ${s} out of 10`:""}.`];if(r&&u.push(`Edmunds\u2019 consumer reviews show that the ${n} ${a} gets an average rating of ${r.toFixed()} stars out of 5 (based on ${i} reviews)`),l){const e=m?"mpg-e":"mpg";u.push(`You probably care about ${t} ${a} ${m?"energy consumption":"fuel economy"}, so it's important to know that the ${a} gets an EPA-estimated ${l} ${e}${o!==l?` to ${o} ${e}, depending on the configuration`:""}.`)}return d&&u.push(`What about cargo capacity? When you're thinking about carrying stuff in your new car, keep in mind that ${d!==c?`carrying capacity for the ${a} ranges from ${d} to ${c}`:`the ${a} has ${d}`} cubic feet of trunk space.`),u.push(`And then there's safety and reliability. Edmunds has all the latest NHTSA and IIHS crash-test scores, plus industry-leading expert and consumer reviews to help you understand what it's like to own and maintain a ${t} ${a}.`),{question:`Is the ${t} ${a} a good car?`,answer:u.join(" ")}}({make:d,model:m,year:u,editorialOverallRating:p,averageConsumerRating:h,numberOfReviews:g,highestCombinedMpg:f,lowestCombinedMpg:E,highestCargoCapacity:_,lowestCargoCapacity:C,isElectric:b}),function(e){let t=e.year,a=e.make,n=e.model,s=e.whatsNewContent;return s&&s.length&&{question:`What's new in the ${t} ${a} ${n}?`,answer:`<p>According to Edmunds\u2019 car experts, here\u2019s what\u2019s new for the ${t} ${a} ${n}:</p>\n      <ul>\n        ${s.map(e=>`<li>${e}</li>`).join("")}\n      </ul>\n    `}}({year:u,make:d,model:m,whatsNewContent:r}),function(e){let t=e.make,a=e.model,n=e.averageConsumerRating;return{question:`Is the ${t} ${a} reliable?`,answer:`To determine whether the ${t} ${a} is reliable, read Edmunds' authentic consumer reviews, which come from real owners and reveal what it's like to live with the ${a}. Look for specific complaints that keep popping up in the reviews, and be sure to compare the ${a}'s ${n?` ${n.toFixed()}-star`:""} average consumer rating to that of competing vehicles.`}}({make:d,model:m,averageConsumerRating:h}),function(e){let t=e.year,a=e.make,n=e.model,s=e.editorialOverallRating,r=e.averageConsumerRating,i=e.numberOfReviews;const o=[`There's a lot to consider if you're wondering whether the ${t} ${a} ${n} is a good car.`];return s&&o.push(`Edmunds' expert testing team reviewed the ${t} ${n} and gave it a ${s} out of 10.`),r&&o.push(`Our consumer reviews show that the ${t} ${n} gets an average rating of ${r.toFixed()} stars out of 5 (based on ${i} reviews).`),s||r?o.push(`Safety scores, fuel economy, cargo capacity and feature availability should all be factors in determining whether the ${t} ${n} is a good car for you.`):o.push(`There's a lot to consider if you're wondering whether the ${t} ${a} ${n} is a good car. Safety scores, fuel economy, cargo capacity and feature availability should all be factors in determining whether the ${t} ${n} is a good car for you. Check back soon for the official Edmunds Rating from our expert testing team`),{question:`Is the ${t} ${a} ${n} a good car?`,answer:o.join(" ")}}({year:u,make:d,model:m,editorialOverallRating:p,averageConsumerRating:h,numberOfReviews:g}),function(e){let t=e.year,a=e.make,n=e.model,s=e.price,r=e.styleName,l=e.stylesList;const c=[`<p>The least-expensive ${t} ${a} ${n} is the ${t} ${a} ${n} ${r}. Including destination charge, it arrives with a Manufacturer's Suggested Retail Price (MSRP) of about ${Object(o.a)(s)}.</p>`];return c.push(`<p>Other versions include:</p><ul>${l.map(e=>i()(e,"price.baseMSRP")?`<li>${e.name} which starts at ${Object(o.a)(e.price.baseMSRP)}</li>`:"").join("")}</ul>`),{question:`How much should I pay for a ${t} ${a} ${n}?`,answer:c.join("")}}({year:u,make:d,model:m,price:N,styleName:j,stylesList:c}),function(e){let t=e.make,a=e.model;const n=e.stylesList.slice(0,4);return{question:`What are the different models of ${t} ${a}?`,answer:`If you're interested in the ${t} ${a}, the next question is, which ${a} model is right for you? ${a} variants include ${n.map((e,t)=>t+1===n.length&&n.length>1?`and ${i()(e,"name")}`:i()(e,"name")).join(", ")}. For a full list of ${a} models, check out Edmunds\u2019 Features & Specs page.`}}({make:d,model:m,stylesList:c})])}},"./site-modules/inventory/utils/get-ad-targeting.js":function(e,t,a){"use strict";a.d(t,"b",function(){return m}),a.d(t,"a",function(){return u}),a.d(t,"d",function(){return h}),a.d(t,"c",function(){return g});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/lodash/sample.js"),r=a.n(s),i=a("../node_modules/lodash/get.js"),o=a.n(i),l=a("./site-modules/shared/utils/nice-name.js"),c=a("./site-modules/shared/constants/inventory/srp-page-types.js"),d=a("./site-modules/shared/components/native-ad/utils/utils.js");const m=e=>{const t=e||{},a=t.make,n=void 0===a?{}:a,s=t.model,r=void 0===s?{}:s;return n.niceName&&r.niceName?c.a:n.niceName?c.b:c.d},u=e=>e===c.b?c.c:{},p=(e,t)=>{if(t.length>0){const e=t[0],a=o()(e,"vehicleInfo.styleInfo.model","");return{niceName:Object(l.b)(a)}}const a=r()(e);return{niceName:o()(a,"value","")}},h=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];const s=e||{};if((arguments.length>3?arguments[3]:void 0)===c.b){const e=p(t,a);return Object(n.a)({},s,{model:e})}return null};function g(e){let t=e.modelNiceName,a=e.isUsed,n=e.vehicleData,s=e.inventoryResults,r=e.modelsList;const i=m(n);return Object(d.l)(t)||a||i===c.a?t:o()(p(r,s),"niceName")}},"./site-modules/shared/components/ad-unit/ad-unit-async.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return s});var n=a("./site-modules/shared/components/lazy-load/lazy-load.jsx");const s=Object(n.a)({loader:()=>Promise.resolve().then(a.bind(null,"./site-modules/shared/components/ad-unit/ad-unit.jsx")),componentName:"AdUnit"})},"./site-modules/shared/components/ad-unit/ad-unit.scss":function(e,t,a){},"./site-modules/shared/components/adhesion-units/adhesion-units.scss":function(e,t,a){},"./site-modules/shared/components/back-to-top/back-to-top.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return d});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/classnames/index.js"),i=a.n(r),o=a("../node_modules/react-scroll/lib/modules/index.js"),l=a("./site-modules/shared/components/sticky-tray/sticky-tray.jsx");a("./site-modules/shared/components/back-to-top/back-to-top.scss");const c=200;class d extends n.PureComponent{constructor(e){super(e),this.handleClick=(()=>{o.animateScroll.scrollToTop({duration:c})}),this.handleWindowScroll=(()=>{const e=window.scrollY<this.scrollY&&window.scrollY>window.innerHeight;e!==this.state.visible&&this.setState({visible:e}),this.scrollY=window.scrollY}),this.state={visible:!1}}componentDidMount(){window.addEventListener("scroll",this.handleWindowScroll)}componentWillUnmount(){window.removeEventListener("scroll",this.handleWindowScroll)}render(){return s.a.createElement(l.a,{isSticky:!0},s.a.createElement("button",{className:i()("btn back-to-top d-flex flex-column align-items-center justify-content-around border-0 rounded bg-white ed-zdepth-6 fade ml-auto mr-0_75 mr-sm-2 mb-1_5 mb-lg-2 py-0_25 px-0",{show:this.state.visible}),"aria-hidden":"true",onClick:this.handleClick,"data-tracking-id":"back_to_top","data-tracking-value":"top"},s.a.createElement("span",{className:"icon icon-arrow-up8 text-primary-darker size-16"}),s.a.createElement("span",{className:"size-12 text-gray-darker"},"Top")))}}},"./site-modules/shared/components/back-to-top/back-to-top.scss":function(e,t,a){},"./site-modules/shared/components/breadcrumbs/breadcrumbs.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return c});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("../node_modules/prop-types/index.js"),o=a.n(i),l=a("./site-modules/shared/components/link/link.jsx");function c(e){let t=e.className,a=e.data,s=e.itemClassName;return r.a.createElement("div",{className:`breadcrumb ${t}`},r.a.createElement("ol",null,a&&a.map(e=>{let t=e.title,a=e.href,i=e.dataTrackingId,o=e.attrs;return t&&r.a.createElement("li",{key:t,className:`breadcrumb-item ${s}`},a?r.a.createElement(l.a,Object(n.a)({to:a},o,{"data-tracking-id":i||"view_content"}),t):t)})))}c.propTypes={className:o.a.string,data:o.a.arrayOf(o.a.shape({title:o.a.string,href:o.a.string,dataTrackingId:o.a.string})).isRequired,itemClassName:o.a.string},c.defaultProps={className:"",itemClassName:""}},"./site-modules/shared/components/carousel/carousel.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return I});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),r=a("../node_modules/lodash/get.js"),i=a.n(r),o=a("../node_modules/react/index.js"),l=a.n(o),c=a("../node_modules/prop-types/index.js"),d=a.n(c),m=a("../node_modules/react-slick/lib/index.js"),u=a.n(m),p=a("../node_modules/classnames/index.js"),h=a.n(p),g=a("../node_modules/reactstrap/lib/Row.js"),b=a.n(g),v=a("../node_modules/reactstrap/lib/Col.js"),f=a.n(v),E=a("../node_modules/react-router/esm/react-router.js"),y=a("./utils/location.js"),_=(a("../node_modules/slick-carousel/slick/slick.css"),a("../node_modules/slick-carousel/slick/slick-theme.css"),a("./utils/event-toolbox.js")),C=a("./engagement-handlers/index.js"),k=a("./engagement-handlers/carousel-engagement-handler/carousel-engagement-handler.js"),N=(a("./site-modules/shared/components/carousel/carousel.scss"),a("./site-modules/shared/components/carousel/events.js"));C.a.register(k.a);const j=e=>l.a.createElement("div",{className:"left carousel-control"},l.a.createElement("button",{"aria-label":"previous slide",className:h()("icon-prev",e.className),onClick:e.onClick}));j.propTypes={onClick:d.a.func,className:d.a.string},j.defaultProps={onClick:null,className:""};const O=e=>l.a.createElement("div",{className:"right carousel-control"},l.a.createElement("button",{"aria-label":"next slide",className:h()("icon-next",e.className),onClick:e.onClick}));O.propTypes={onClick:d.a.func,className:d.a.string},O.defaultProps={onClick:null,className:""};const T={HORIZONTAL:{PREV:"right",NEXT:"left"},VERTICAL:{PREV:"down",NEXT:"up"}};function S(e){let t=e.direction,a=void 0===t?"":t,n=e.props,s=e.slider,r=e.element,o=e.nextSlide,l=e.actionCause,c=void 0===l?"":l;const d=i()(n,"data-carousel-photo-type",""),m=n.vertical,u=n.infinite,p=(s&&s.innerSlider&&s.innerSlider.state).slideCount,h=n.contentType,g=i()(s,"innerSlider.state.currentSlide",0),b=n.contentDetails||h,v=n.customEventData||{};_.a.fireCustomEvent(N.a.SWIPE,{target:r,data:{currentSlide:g,nextSlide:o,total:p,vertical:m,infinite:u,contentType:h,contentDetails:b,customEventData:v,direction:a,photoType:d,actionCause:c}})}class I extends o.Component{constructor(e){super(e),this.onPrevClick=(()=>{this.onSwipe({direction:this.props.vertical?T.VERTICAL.PREV:T.HORIZONTAL.PREV})}),this.onNextClick=(()=>{this.onSwipe({direction:this.props.vertical?T.VERTICAL.NEXT:T.HORIZONTAL.NEXT})}),this.onBeforeChange=((e,t)=>{this.props.beforeChange&&this.props.beforeChange(e,t)}),this.onAfterChange=(e=>{this.props.afterChange&&this.props.afterChange(e)}),this.onSwipe=(e=>{let t=e.direction,a=void 0===t?"":t,n=e.actionCause,s=void 0===n?"":n;const r=this.props.vertical,i=this.props.infinite,o=this.slider&&this.slider.innerSlider&&this.slider.innerSlider.state,l=o.slideCount,c=function(e,t,a,n,s){const r=e+(n&&a===T.VERTICAL.NEXT||!n&&a===T.HORIZONTAL.NEXT?1:-1),i=t-1;return r<0?s?i:0:r>i?s?0:i:r}(o.currentSlide,l,a,r,i);S({props:this.props,slider:this.slider,element:this.element,direction:a,nextSlide:c,actionCause:s}),this.props.swipeEvent&&this.props.swipeEvent(c)}),this.forceDisableAutoplayOptions=(e=>{let t;const a=[];return e&&(t=Object.assign({},Object(s.a)({},e),{autoplay:!1})).responsive&&(t.responsive.forEach(e=>{a.push(Object(s.a)({},e,{settings:Object.assign({},Object(s.a)({},e.settings),{autoplay:!1})}))}),t.responsive=a),t}),this.next=(()=>{this.slider.slickNext()}),this.prev=(()=>{this.slider.slickPrev()}),this.goto=(e=>{S({props:this.props,slider:this.slider,element:this.element,nextSlide:e}),this.slider.slickGoTo(e)}),this.setSliderRefs=(e=>{this.slider=e,this.element=e&&e.innerSlider&&e.innerSlider.list&&e.innerSlider.list.parentElement})}componentDidMount(){if(this.props.arrows&&this.element){const e=this.element.querySelector(".left.carousel-control"),t=this.element.querySelector(".right.carousel-control");e&&t&&(e.addEventListener("click",this.onPrevClick,!1),t.addEventListener("click",this.onNextClick,!1))}this.slider&&this.props.currentSlideIndex&&this.slider.slickGoTo(this.props.currentSlideIndex)}componentWillUnmount(){if(this.props.arrows&&this.element){const e=this.element.querySelector(".left.carousel-control"),t=this.element.querySelector(".right.carousel-control");e&&t&&(e.removeEventListener("click",this.onPrevClick,!1),t.removeEventListener("click",this.onNextClick,!1))}}renderSlider(){const e=(t=this.props.pageCounter)?!0===t||"xs"===t?"page-counter":`page-counter-${t}`:"";var t;const a=o.Children.count(this.props.children)>1,r=h()("slick-carousel",{fluid:this.props.fluid},e,this.props.className),i=Object(s.a)({},this.props,{dots:this.props.dots||!!e,beforeChange:this.onBeforeChange,afterChange:this.onAfterChange,swipeEvent:this.onSwipe,arrows:this.props.arrows&&a,autoplay:this.props.autoplay&&a,draggable:this.props.draggable&&a,swipe:this.props.swipe&&a,className:r}),c=this.context&&this.context.location&&"off"===Object(y.a)(this.context.location)["carousel-autoplay"]?this.forceDisableAutoplayOptions(i):i;return l.a.createElement(u.a,Object(n.a)({ref:this.setSliderRefs},c),this.props.children)}render(){const e=this.props.fluid;return l.a.createElement(b.a,{className:"no-gutters"},l.a.createElement(f.a,{xs:{size:e?12:10,offset:e?0:1}},this.renderSlider()))}}I.contextType=E.e,I.propTypes={className:d.a.string,fluid:d.a.bool,vertical:d.a.bool,infinite:d.a.bool,contentType:d.a.string,contentDetails:d.a.string,customEventData:d.a.shape({}),beforeChange:d.a.func,afterChange:d.a.func,swipeEvent:d.a.func,children:d.a.node,arrows:d.a.bool,pageCounter:d.a.oneOfType([d.a.bool,d.a.oneOf(["xs","sm","md","lg","xl"])]),dots:d.a.bool,dotsClass:d.a.string,autoplay:d.a.bool,draggable:d.a.bool,swipe:d.a.bool,adaptiveHeight:d.a.bool,currentSlideIndex:d.a.number},I.defaultProps={className:"",fluid:!0,vertical:!1,infinite:!0,contentType:"content",contentDetails:"",customEventData:null,beforeChange:null,afterChange:null,swipeEvent:null,nextArrow:l.a.createElement(O,null),prevArrow:l.a.createElement(j,null),children:null,arrows:!0,pageCounter:!1,dots:!1,dotsClass:"slick-dots",autoplay:!1,draggable:!0,swipe:!0,adaptiveHeight:!1,currentSlideIndex:0}},"./site-modules/shared/components/carousel/carousel.scss":function(e,t,a){},"./site-modules/shared/components/carousel/events.js":function(e,t,a){"use strict";a.d(t,"a",function(){return n});const n={SWIPE:"carousel.swipe"}},"./site-modules/shared/components/content-collapse/content-collapse.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return b});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/prop-types/index.js"),r=a.n(s),i=a("../node_modules/react/index.js"),o=a.n(i),l=a("../node_modules/classnames/index.js"),c=a.n(l),d=a("../node_modules/@kunukn/react-collapse/dist/Collapse.umd.js"),m=a.n(d),u=a("../node_modules/reactstrap/lib/Button.js"),p=a.n(u),h=a("./utils/seed-randomizers.js"),g=a("../node_modules/react-scroll/lib/modules/index.js");a("./site-modules/shared/components/content-collapse/content-collapse.scss");class b extends i.Component{constructor(e){super(e),this.toggle=(e=>{e&&e.preventDefault();const t=this.props,a=t.resetParams,n=t.scrollToDefault,s=this.state.isOpen;a&&this.initialCloseComplete&&s&&g.scroller.scrollTo(a.to||n&&this.collapseId,{duration:a.duration,offset:a.offset,smooth:"easeInOutQuad",isDynamic:!0}),this.hasBeenOpenedAfterLoad=this.hasBeenOpenedAfterLoad||!s&&this.initialCloseComplete,this.setState(()=>({isOpen:!s}))}),this.passChildren=(e=>"function"==typeof e?e({isOpen:this.state.isOpen,initialCloseComplete:this.initialCloseComplete,hasBeenOpenedAfterLoad:this.hasBeenOpenedAfterLoad}):e),this.renderCollapseBtn=(()=>{const e=this.props,t=e.btnClasses,a=e.btnColor,n=e.btnContainerClasses,s=e.btnArrowClasses,r=e.btnTextClasses,i=e.textOpen,l=e.textClosed,d=e.justify,m=e.hideIndicator,u=e.closeBtnClasses,h=e.btnTrackingId,g=e.btnSize,b=this.state.isOpen;return o.a.createElement("div",{className:c()("collapse-control mb-0 row align-items-center",d,n)},o.a.createElement(p.a,{size:g,color:a,className:c()("content-collapse-button",t,b?u:""),onClick:this.toggle,"data-tracking-id":h?`${h}${b?"_collapse":"_expand"}`:null,"data-tracking-ignore-value":!0,"data-no-refresh":!0,"aria-expanded":b},o.a.createElement("span",{className:c()("control-text",r)},b?i:l),!m&&o.a.createElement("span",{className:c()(s,"size-10",b?"icon-arrow-up4":"icon-arrow-down4")})))}),this.renderCollapseLink=(()=>{const e=this.props,t=e.btnClasses,a=e.btnTextClasses,n=e.textOpen,s=e.textClosed,r=e.hideIndicator,i=e.closeBtnClasses,l=e.btnTrackingId,d=this.state.isOpen;return o.a.createElement("div",{className:c()("collapse-control mt-1 mb-0 px-0_5 row align-items-center")},o.a.createElement("a",{className:c()("content-collapse-button text-primary-darker",t,d?i:""),href:"#",onClick:this.toggle,"data-tracking-id":l?`${l}${d?"_collapse":"_expand"}`:null,"data-tracking-ignore-value":!0,"data-no-refresh":!0,"aria-expanded":d},o.a.createElement("span",{className:c()("control-text",a)},d?n:s),!r&&o.a.createElement("span",{className:c()("size-10 mb-0",d?"icon-arrow-up4":"icon-arrow-down4")})))});const t=e.isOpenOnLoad,a=e.closeAfterLoad;this.state={isOpen:t},this.collapseId=`collapse${Math.ceil(Object(h.b)()*Number.MAX_SAFE_INTEGER)}`,this.initialCloseComplete=!t,this.hasBeenOpenedAfterLoad=t&&!a}componentDidMount(){this.props.closeAfterLoad&&(this.toggle(),this.initialCloseComplete=!0)}render(){const e=this.props,t=e.minHeight,a=e.isEclipseFade,s=e.children,r=e.classes,i=e.showBtnBelow,l=e.trackingId,d=e.trackingValue,u=e.isBtnLink,p=e.noAnim,h=e.truncatedChildren;return o.a.createElement("div",Object(n.a)({className:c()("content-collapse",r,{isEclipseFade:a})},"none"===this.props.maxHeight?{}:{style:{maxHeight:this.props.maxHeight}},{"data-tracking-id":l,"data-tracking-value":d}),o.a.createElement(g.Element,{name:this.collapseId}),!i&&this.renderCollapseBtn(),o.a.createElement(m.a,{isOpen:this.state.isOpen,collapseHeight:h?"":t,addState:!0,noAnim:p,transition:"height 280ms cubic-bezier(0.4, 0, 0.2, 1)"},!this.props.truncatedChildren||this.state.isOpen?this.passChildren(s):this.passChildren(this.props.truncatedChildren)),i&&(u?this.renderCollapseLink():this.renderCollapseBtn()))}}b.propTypes={isOpenOnLoad:r.a.bool,closeAfterLoad:r.a.bool,hideIndicator:r.a.bool,minHeight:r.a.string,maxHeight:r.a.string,children:r.a.oneOfType([r.a.arrayOf(r.a.node),r.a.node,r.a.func]).isRequired,truncatedChildren:r.a.oneOfType([r.a.arrayOf(r.a.node),r.a.node,r.a.func]),textClosed:r.a.oneOfType([r.a.string,r.a.node]),textOpen:r.a.oneOfType([r.a.string,r.a.node]),isEclipseFade:r.a.bool,classes:r.a.string,btnClasses:r.a.string,closeBtnClasses:r.a.string,btnColor:r.a.string,btnContainerClasses:r.a.string,btnArrowClasses:r.a.string,btnTextClasses:r.a.string,btnSize:r.a.string,showBtnBelow:r.a.bool,justify:r.a.string,trackingId:r.a.string,trackingValue:r.a.string,btnTrackingId:r.a.string,resetParams:r.a.shape({offset:r.a.number,duration:r.a.number,to:r.a.string}),scrollToDefault:r.a.bool,isBtnLink:r.a.bool,noAnim:r.a.bool},b.defaultProps={isOpenOnLoad:!1,closeAfterLoad:!1,hideIndicator:!1,minHeight:"0",maxHeight:"none",textClosed:"Read more",textOpen:"Read less",isEclipseFade:!0,classes:"",btnClasses:"",btnColor:"link",btnContainerClasses:"py-0_5",btnArrowClasses:"h6 mb-0",btnTextClasses:"",btnSize:"sm",closeBtnClasses:"",showBtnBelow:!1,justify:"justify-content-center",trackingId:"view_content_summary",trackingValue:null,btnTrackingId:null,resetParams:null,scrollToDefault:!1,isBtnLink:!1,truncatedChildren:null,noAnim:!1}},"./site-modules/shared/components/content-collapse/content-collapse.scss":function(e,t,a){},"./site-modules/shared/components/content-fragment/content-fragment.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return d});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o),c=a("./utils/intersection-observer.js");class d extends n.Component{componentDidMount(){const e=this.container.querySelectorAll("img[data-dsrc]"),t={rootMargin:"50px 0px",threshold:.01};c.a&&(this.imgObserver=new c.a(function(e,t){e.forEach(e=>{if(e.intersectionRatio>0){t.unobserve(e.target);const a=e.target;a.src=a.dataset.dsrc}})},t),Array.prototype.forEach.call(e,e=>{this.imgObserver.observe(e)}))}componentWillUnmount(){this.imgObserver&&this.imgObserver.disconnect()}render(){const e=this.props,t=e.children,a=e.classes,n=e.inlineStyle,r=e.componentToUse,i=e.href,o=e.id,c=e.type;return s.a.createElement(r,{className:l()(a),style:n,ref:e=>{this.container=e},dangerouslySetInnerHTML:{__html:"string"==typeof t?unescape(t):t},href:i,id:o,type:c})}}d.propTypes={children:i.a.node.isRequired,classes:i.a.oneOfType([i.a.string,i.a.array]),inlineStyle:i.a.objectOf(i.a.oneOfType([i.a.string,i.a.number])),componentToUse:i.a.string,href:i.a.string,id:i.a.string,type:i.a.string},d.defaultProps={classes:"",inlineStyle:null,componentToUse:"div",href:null,id:null,type:null}},"./site-modules/shared/components/core-page/also-viewed-vehicles/also-viewed-vehicles.jsx":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),r=(a("../node_modules/core-js/modules/es6.regexp.to-string.js"),a("../node_modules/lodash/get.js")),i=a.n(r),o=a("../node_modules/react/index.js"),l=a.n(o),c=a("../node_modules/prop-types/index.js"),d=a.n(c),m=a("../node_modules/react-redux/es/index.js"),u=a("../node_modules/reactstrap/lib/Row.js"),p=a.n(u),h=a("../node_modules/reactstrap/lib/Col.js"),g=a.n(h),b=a("../node_modules/classnames/index.js"),v=a.n(b),f=a("./site-modules/shared/utils/core-page/params.js"),E=a("./site-modules/shared/components/carousel/carousel.jsx"),y=a("./data/luckdragon/redux/react-binding.jsx"),_=a("./data/models/vehicle.js"),C=a("./data/models/editorial-review.js"),k=a("./site-modules/shared/components/ad-unit/native-ad.jsx"),N=a("./utils/ads.js"),j=a("./site-modules/shared/utils/price-utils.js"),O=a("./data/models/consumer-reviews.js"),T=a("./site-modules/shared/components/rating-stars-count/rating-stars-count.jsx"),S=a("./utils/image-helpers.js"),I=a("./site-modules/shared/utils/nice-name.js"),w=a("./site-modules/shared/utils/srp-link-constructor.js");function x(e){let t=e.price,a=e.imgSrc,n=e.consumerReviews,s=e.vehicle,r=e.isUsed;const i=s.make,o=s.model,c=s.submodel,d=s.year;return l.a.createElement("div",{className:"bg-gray-extra-light rounded also-viewed-vehicle-card pb-1"},l.a.createElement("a",{className:"similar-vehicles-link d-block pb-2",href:`/${Object(I.b)(i)}/${Object(I.b)(o)}/${d}/`,"data-tracking-id":"mmy_select_submit","data-tracking-value":`${i} ${o}`},l.a.createElement("img",{className:"w-100 vimg-fluid also-viewed-vehicle-card-image",src:function(e){let t="";if(e&&e.href){const a=Object(S.m)(e.href);t=Object(S.p)(e.href,a)}return t}(a),alt:`${d} ${i} ${o} ${c}`}),l.a.createElement("div",{className:"pt-1 px-0_75 vehicle-brief-info"},l.a.createElement("div",{className:"text-primary-darker vehicle-model"},i," ",o),n&&l.a.createElement(T.a,{starsColor:"primary",starsWrapperClass:"no-ml medium",ratingAverage:n.averageRating,ratingCount:n.reviewsCount,ratingCountClass:"ml-0_5 text-gray-darker small"}),t&&l.a.createElement("div",{className:v()("pricing text-gray-darker w-100 px-0_75",{"pb-0_5 mb-2_5":r,"pb-3":!r})},l.a.createElement("span",{className:"mr-0_25"},"Starting at"),l.a.createElement("span",null,Object(j.a)(t))))),r&&l.a.createElement("a",{className:"inventory-cta d-block w-100 text-primary-darker p-0_5 px-0_75",href:Object(w.i)(i,o)},"See Inventory"))}x.propTypes={consumerReviews:O.b.RatingsSummary,price:d.a.number,imgSrc:d.a.shape({href:d.a.string}),vehicle:d.a.shape({make:d.a.string,submodel:d.a.string,model:d.a.string,year:d.a.string}),isUsed:d.a.bool},x.defaultProps={consumerReviews:null,price:null,imgSrc:{},vehicle:{},visitorLocation:null,isUsed:!1};const A=Object(y.b)(x,{consumerReviews:Object(y.a)(e=>{let t=e.vehicle;return O.d.buildConsumerReviewsAverageRating(t)},O.c)});A.propTypes={imgSrc:d.a.shape({href:d.a.string}),price:d.a.number,vehicle:d.a.shape({make:d.a.string,submodel:d.a.string,model:d.a.string,year:d.a.string})},A.defaultProps={vehicle:{},imgSrc:{},price:null};a("./site-modules/shared/components/core-page/also-viewed-vehicles/also-viewed-vehicles.scss");a.d(t,"a",function(){return $});const R="filmstrip-native-ad",P=2;class L extends o.Component{constructor(){super(...arguments),this.state={isAdRendered:!0},this.setNativeAdState=(e=>{(Object(N.a)(e)||Object(N.b)(e))&&this.setState({isAdRendered:!1})}),this.slider=l.a.createRef(),this.createVehicleCards=((e,t,a,n,s)=>e.map((e,r)=>{if(e.make===n)return null;const o=a&&a.find(t=>t.id.toString()===e.style),c=i()(o,"price.baseMSRP");return l.a.createElement("div",{key:`${e.year} ${e.make} ${e.model} ${e.submodel}`},l.a.createElement(A,{vehicle:e,price:c,imgSrc:t[r],isUsed:s}))})),this.createVehicleCardsWithAds=(e=>{const t=[];for(let e=1;e<=P;e+=1)t.push(l.a.createElement("div",{key:`native-ad-${e}`},l.a.createElement(k.a,{onSlotRenderEndedListener:this.setNativeAdState,wrapperClass:"slick-ad-slide",nativeStyle:"filmstrip",position:`${e}`})));return t.concat(e)}),this.handleSwipeEvent=(e=>{if(e.data&&e.data.type===R&&e.data.direction){("left"===e.data.direction?this.slider.current.next:this.slider.current.prev)()}})}componentDidMount(){this.props.noAds||window.addEventListener("message",this.handleSwipeEvent)}componentWillUnmount(){this.props.noAds||window.removeEventListener("message",this.handleSwipeEvent)}render(){const e=this.props,t=e.params,a=e.similarVehicles,r=e.vehiclePrices,i=e.currentMake,o=e.isMobile,c=e.breakpoint,d=e.noAds,m=a.vehicles,u=a.links,h=t.titleClass,b=t.slidesToShow,f=t.isUsed;if(!m||!m.length)return"";let y={centerMode:!1,infinite:!1,slidesToShow:b||5,swipe:!1,arrows:!0};"md"===c?y=Object(s.a)({},y,{slidesToShow:2.5}):o&&(y=Object(s.a)({},y,{autoplaySpeed:3e3,autoplay:!1,speed:300,slidesToShow:1.5,swipe:!0,arrows:!1}));const _=o?m.slice(1,m.length-1):m,C=o?u.slice(1,u.length-1):u,k=h||"text-left font-weight-bold text-gray-darker size-24";return l.a.createElement("div",{className:"also-viewed-vehicle-v2","data-tracking-parent":"edm-entry-also-viewed-vehicles"},l.a.createElement("h2",{className:v()("display-2 mb-1_25 mb-md-2",k)},"People who viewed this also viewed"),l.a.createElement(p.a,null,l.a.createElement(g.a,null,l.a.createElement(E.a,Object(n.a)({},y,{className:v()("ml-1 ml-md-0",{"with-ad":this.state.isAdRendered}),ref:this.slider}),this.state.isAdRendered&&!d?this.createVehicleCardsWithAds(this.createVehicleCards(_,C,r,i,f)):this.createVehicleCards(_,C,r,i,f)),l.a.createElement("hr",{className:"mt-1_5 mb-2"}))))}}L.propTypes={params:f.a.isRequired,similarVehicles:C.b.SimilarVehicles,vehiclePrices:d.a.arrayOf(d.a.shape({id:d.a.number,price:d.a.shape({baseMSRP:d.a.number})})),currentMake:d.a.string,isMobile:d.a.bool,breakpoint:d.a.string,noAds:d.a.bool},L.defaultProps={similarVehicles:{},vehiclePrices:[],currentMake:"",isMobile:!1,breakpoint:"xl",noAds:!1};const D=Object(m.c)(e=>({isMobile:e.mobile,breakpoint:i()(e,"pageContext.page.breakpoint")}))(Object(y.b)(L,{vehiclePrices:Object(y.a)(e=>{let t=e.similarVehicles;return Object(_.y)(t.vehicles)},_.e)}));D.propTypes={similarVehicles:C.b.SimilarVehicles,params:f.a.isRequired,currentMake:d.a.string,noAds:d.a.bool.isRequired},D.defaultProps={similarVehicles:{},currentMake:""};const $=Object(y.b)(D,{similarVehicles:Object(y.a)(C.l,C.c)});$.propTypes={params:f.a.isRequired,noAds:d.a.bool},$.defaultProps={noAds:!1}},"./site-modules/shared/components/core-page/also-viewed-vehicles/also-viewed-vehicles.scss":function(e,t,a){},"./site-modules/shared/components/core-page/pricing-box/pricing-box.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return Y});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=(a("../node_modules/core-js/modules/es6.regexp.to-string.js"),a("../node_modules/lodash/isEqual.js")),r=a.n(s),i=a("../node_modules/lodash/findKey.js"),o=a.n(i),l=a("../node_modules/lodash/get.js"),c=a.n(l),d=a("../node_modules/react/index.js"),m=a.n(d),u=a("../node_modules/prop-types/index.js"),p=a.n(u),h=a("../node_modules/classnames/index.js"),g=a.n(h),b=a("../node_modules/reactstrap/lib/Button.js"),v=a.n(b),f=a("./data/luckdragon/redux/react-binding.jsx"),E=a("../node_modules/react-redux/es/index.js"),y=a("./data/models/vehicle.js"),_=a("./data/models/unified-lead-form.js"),C=a("./data/models/visitor.js"),k=a("./data/models/inventory-core-configurations.js"),N=a("./site-modules/shared/utils/core-page/core-configurations.js"),j=a("./constants/make-exclusions.js"),O=a("./site-modules/shared/utils/price-utils.js"),T=a("./site-modules/shared/utils/srp-link-constructor.js"),S=a("./site-modules/shared/utils/core-link-constructor.js"),I=a("./site-modules/shared/components/lead-form/lead-form-drawer/lead-form-drawer.jsx"),w=a("./site-modules/shared/components/lead-form/unified-lead-form-pages/transparent-pricing-lead-form.jsx"),x=a("./site-modules/shared/components/inventory-price/inventory-price.jsx"),A=a("./site-modules/shared/components/radio-list/radio-list.jsx"),R=a("./site-modules/shared/components/link/link.jsx"),P=a("./site-modules/shared/components/error-boundary/error-boundary.jsx"),L=a("./site-modules/shared/components/experiment/venom-experiments.js"),D=a("./site-modules/shared/components/core-page/pricing-box/vehicle-price.jsx");a("./site-modules/shared/components/core-page/pricing-box/pricing-box.scss");class $ extends d.Component{constructor(e){super(e),this.onConfigurationChange=(e=>{let t=e.target.value;const a=this.state,n=a.isIdBasedList,s=a.currentConfigurations;this.setState({selectedConfiguration:n?s.find(e=>{return e.id.toString()===t}):s.find(e=>{return e.label===o()(k.a,e=>e===t)})})}),this.openLeadFormDrawer=(()=>{const e=this.props.srpParams,t=this.state.selectedConfiguration,a=Object(T.p)(Object(n.a)({},e,{trim:t.inventoryCount?t.trim:""}));this.setState({isDrawerOpened:!0,leadFormData:{params:{styleId:t.id,trim:t.trim,srpLink:a},options:{coreConfiguration:t}}})}),this.closeLeadFormDrawer=(()=>{this.setState({isDrawerOpened:!1})}),this.state={isDrawerOpened:!1,leadFormData:{},currentConfigurations:null,selectedConfiguration:null,isIdBasedList:!1}}static getDerivedStateFromProps(e,t){let a=e.coreConfigurations,n=e.coreConfigurationsFallback;if(!a)return null;const s=Object(N.d)({coreConfigurations:a,coreConfigurationsFallback:n});if(r()(t.currentConfigurations,s))return null;const i=c()(s,"[0]");return{currentConfigurations:s,selectedConfiguration:i,isIdBasedList:!k.a[c()(i,"label")]}}render(){const e=this.props,t=e.params,a=e.vehicle,s=e.zipCode,r=e.city,i=e.isMobile,o=e.coreConfigurations,l=e.leadFormDealerCount,u=e.titleClassName,p=e.showPrice,h=e.isCompactView,b=e.pageName,f=this.state,E=f.selectedConfiguration,y=f.isDrawerOpened,_=f.leadFormData,C=f.currentConfigurations,T=f.isIdBasedList;if(!E)return null;const P=k.a[c()(E,"label")],$=c()(E,"id","").toString(),M=!j.d.includes(c()(a,"make.name")),V=C.map(e=>{let t=e.baseMsrp,a=e.trim,n=e.style,s=e.totalMsrp,r=e.label,i=e.id;const o=M&&!!s,l=Object(x.b)(s||t),c=k.a[r],u=n||a;return{title:T?i.toString():c,text:m.a.createElement(d.Fragment,null,o?m.a.createElement("s",null,l):l,m.a.createElement("div",{className:g()("medium",{"d-none":h})},u)),styleId:i,trackingId:"inventory_model_select",trackingValue:T?u:c}}),F=Object(N.c)(o),U=!!c()(E,"inventoryCount"),Y=U||!!l,B=`edm-entry-${b}-pricing-box`,W=`nci_multi_${b}_lead_form_top`,z=`nci_multi_${b}_top`;return m.a.createElement(d.Fragment,null,h&&m.a.createElement("hr",{className:"mt-0 mb-1_5"}),m.a.createElement("div",{className:g()("text-gray-darker pricing-box mb-2",{"card p-1 ed-zdepth-2":!h}),"data-tracking-parent":B},p&&m.a.createElement(d.Fragment,null,m.a.createElement(D.a,{vehicle:a}),m.a.createElement("hr",{className:"w-100 my-1"})),m.a.createElement("div",{className:u},F?`Save as much as ${Object(O.a)(F)}`:"Compare dealer price quotes"),m.a.createElement(A.a,{list:V,name:"pricing-box-configurations",tag:"div",ariaRole:"fieldset",formClassName:g()("mb-0",{"compact-view row px-0_25":h}),formGroupClassName:g()({"d-inline-block col-4 px-0_25 mb-0_5":h,"mb-1_5":!h}),labelClassName:g()("configuration-label font-weight-bold",{"d-none":T,"d-inline-block mr-0_5":!T&&!h,"d-block":!T&&h,"medium mb-0_25":h}),labelContainerClassName:g()({"py-0_5 px-0_25 card":h}),checkmarkClassName:g()({"d-none":h}),textClassName:"d-inline",onChange:this.onConfigurationChange,checked:T?$:P,legend:h?null:"Select your model:",legendClassName:g()("small",{"col-12":h})}),h&&m.a.createElement("div",{className:"mb-1_5"},m.a.createElement("span",{className:"font-weight-bold"},"Selected:")," ",c()(E,"style",E.trim)),m.a.createElement(L.a,{name:"CORE-1921-build-MVP",showDefault:!0},m.a.createElement(L.b,{name:"ctrl",isDefault:!0},m.a.createElement(v.a,{tag:Y?void 0:R.a,color:"primary-b",size:"lg",className:g()("px-1 py-0_5 mr-auto",{"w-100":h}),onClick:Y?this.openLeadFormDrawer:void 0,to:Y?void 0:Object(S.b)({makeModelSubmodelYear:a,styleId:c()(E,"styleId")}),rel:"nofollow","data-tracking-id":U?"view_pricing_details":void 0,"data-hidedelightedoninteraction":!0},U?"Compare dealer offers":"What should I pay")),m.a.createElement(L.b,{name:"chal"},m.a.createElement(v.a,{tag:Y?void 0:R.a,color:"primary-b",size:"lg",className:g()("px-1 py-0_5 mr-auto",{"w-100":h}),onClick:Y?this.openLeadFormDrawer:void 0,to:Y?void 0:Object(S.b)({params:t,isVenomPage:!0}),rel:"nofollow","data-tracking-id":U?"view_pricing_details":void 0,"data-hidedelightedoninteraction":!0},U?"Compare dealer offers":"What should I pay")))),h&&m.a.createElement("hr",{className:"my-1_5"}),m.a.createElement(I.a,{url:"",isOpen:y,onDrawerToggle:this.closeLeadFormDrawer,component:w.a,componentData:{params:Object(n.a)({},_.params,{vehicle:a,zipCode:s,radius:100,city:r}),options:Object(n.a)({},_.options,{isMobile:i,creativeId:z})},dataTrackingParent:W}))}}$.propTypes={vehicle:y.d.MakeModelSubmodelYear.isRequired,srpParams:p.a.shape({make:p.a.string,model:p.a.string,year:p.a.number,inventorytype:p.a.string,submodelid:p.a.string}).isRequired,params:p.a.shape({make:p.a.string,model:p.a.string,year:p.a.string,submodel:p.a.string}).isRequired,coreConfigurations:k.c.CoreConfigurations,coreConfigurationsFallback:k.c.CoreConfigurations,leadFormDealerCount:p.a.number,zipCode:p.a.oneOfType([p.a.string,p.a.number]),titleClassName:p.a.string,city:p.a.string,showPrice:p.a.bool,isCompactView:p.a.bool,isMobile:p.a.bool,pageName:p.a.string},$.defaultProps={coreConfigurations:null,coreConfigurationsFallback:null,leadFormDealerCount:0,zipCode:null,city:"",titleClassName:"size-20 mb-1",showPrice:!0,isCompactView:!1,isMobile:!1,pageName:""};const M={leadFormDealerCount:Object(f.a)(e=>{let t=e.coreConfigurations,a=e.vehicle;return!(t&&t.length)&&Object(_.g)(a.make.slug)},_.c)},V=Object(f.b)($,M),F={zipCode:Object(f.a)("location.zipCode",C.d),city:Object(f.a)("location.city",C.d),coreConfigurations:Object(f.a)(e=>{let t=e.vehicle;return Object(k.e)({make:t.make.slug,model:t.model.slug,submodel:t.submodels.slug,year:t.year})},k.d,N.b),coreConfigurationsFallback:Object(f.a)(e=>{let t=e.params;return Object(y.x)(t)},y.e,N.a)},U=Object(E.c)(e=>({pageName:c()(e,"pageContext.legacy.pageName")||c()(e,"pageContext.page.name")}))(Object(f.b)(V,F));function Y(e){return m.a.createElement(P.a,null,m.a.createElement(U,e))}},"./site-modules/shared/components/core-page/pricing-box/pricing-box.scss":function(e,t,a){},"./site-modules/shared/components/core-page/pricing-box/vehicle-price.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return b});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o),c=a("./site-modules/shared/utils/price-utils.js"),d=a("./data/luckdragon/redux/react-binding.jsx"),m=a("./data/models/vehicle.js"),u=a("./site-modules/shared/components/merged-attributes-heart/merged-attributes-heart.jsx"),p=a("./site-modules/shared/constants/profile/dashboard-paths.js");function h(e){let t=e.msrpPriceRange,a=e.priceClassName,r=e.labelClassName,i=e.mergedAttributes,o=e.forceNoTooltip,d=null,m=null;t&&t.length&&(d=t[t.length-1],m=t[0]);const h=!(!d||!m),g=h?Object(c.b)(d,m):"$",b=`MSRP${h&&d===m?"":" Range"}`;return h?s.a.createElement(n.Fragment,null,s.a.createElement("div",{className:l()("label",r)},b),s.a.createElement("div",{className:l()("d-flex justify-content-between",a)},s.a.createElement("div",null,g),i&&s.a.createElement(u.a,{useIcon:!0,mergedAttributes:i,tooltipDashboardLink:p.a.FAVORITE_MODELS,forceNoTooltip:o}))):null}h.propTypes={msrpPriceRange:i.a.arrayOf(i.a.number),priceClassName:i.a.string,labelClassName:i.a.string,mergedAttributes:i.a.shape({}),forceNoTooltip:i.a.bool},h.defaultProps={msrpPriceRange:null,priceClassName:"heading-3",labelClassName:null,mergedAttributes:null,forceNoTooltip:!1};const g={msrpPriceRange:Object(d.a)(e=>{let t=e.vehicle;return Object(m.r)({make:t.make.slug,model:t.model.slug,submodel:t.submodels.slug,year:t.year})},m.e)},b=Object(d.b)(h,g)},"./site-modules/shared/components/core-page/pricing-carousel/pricing-carousel-3-path-resources/resources.scss":function(e,t,a){},"./site-modules/shared/components/core-page/pricing-carousel/pricing-carousel-3-path.scss":function(e,t,a){},"./site-modules/shared/components/core-page/pricing-carousel/pricing-carousel-card-cta.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return h});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("../node_modules/prop-types/index.js"),o=a.n(i),l=a("../node_modules/reactstrap/lib/Button.js"),c=a.n(l),d=a("../node_modules/classnames/index.js"),m=a.n(d),u=a("./site-modules/shared/components/link/link.jsx");function p(e){e.stopPropagation()}function h(e){let t=e.srpLinkWithSubmodel,a=e.buttonColor,s=e.showLeadForm,i=e.showTransparentPricingLeadFormHandler,o=e.index,l=e.ctaLabel,d=e.cardsCount,h=e.ctaText,g=e.className,b=e.dataTrackingId,v=e.dataTrackingValue,f={size:"sm",color:a,className:m()("size-16 pricing-card-cta px-lg-0_5 px-xl-1",g),"data-tracking-id":b,"data-tracking-value":v,"data-hidedelightedoninteraction":!0};return s&&(f=Object(n.a)({},f,{"data-tracking-id":"view_pricing_details","data-tracking-value":d>0?`${o+1} - ${d} - ${h} - ${l}`:void 0,onClick:i})),s||(f=Object(n.a)({},f,{tag:u.a,to:t,onClick:p,rel:"nofollow"})),r.a.createElement(c.a,f,h)}h.propTypes={srpLinkWithSubmodel:o.a.string,buttonColor:o.a.string.isRequired,showLeadForm:o.a.bool,showTransparentPricingLeadFormHandler:o.a.func,index:o.a.number,cardsCount:o.a.number,ctaLabel:o.a.string,ctaText:o.a.string,className:o.a.string,dataTrackingId:o.a.string,dataTrackingValue:o.a.string},h.defaultProps={srpLinkWithSubmodel:null,showLeadForm:!1,showTransparentPricingLeadFormHandler:null,index:0,cardsCount:0,ctaLabel:"",ctaText:"What should I pay",className:"mb-0_5",dataTrackingId:void 0,dataTrackingValue:void 0}},"./site-modules/shared/components/core-page/pricing-carousel/pricing-carousel-footer.jsx":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),r=a("../node_modules/lodash/get.js"),i=a.n(r),o=a("../node_modules/react/index.js"),l=a.n(o),c=a("../node_modules/react-redux/es/index.js"),d=a("./site-modules/shared/components/lead-form/unified-lead-form/constants/creative-ids.js"),m=a("./site-modules/shared/components/progressive-component/progressive-component.jsx");const u=Object(m.a)({fullComponent:{loader:()=>Promise.all([a.e(23),a.e(32),a.e("pricing-carousel")]).then(a.bind(null,"./site-modules/shared/components/core-page/pricing-carousel/pricing-carousel.jsx")),name:"PricingCarousel"}});a.d(t,"a",function(){return p});const p=Object(c.c)(e=>({pageName:i()(e,"pageContext.legacy.pageName")||i()(e,"pageContext.page.name")}))(function(e){const t=e.pageName,a=e.isAdRendered;return l.a.createElement(u,Object(n.a)({},e,{dataTrackingParent:"footer_pricing_module",cardWrapperClassName:"core-pricing-card",isAdRendered:a,showLeadForm:!0,leadFormOptions:Object(s.a)({},e.leadFormOptions,{creativeId:`${d.a.NCI_ELF_PRICING}_${t}`,dataTrackingParent:`${d.a.NCI_ELF_PRICING}_${t}_lead_form`}),pricingAdPos:"9"}))})},"./site-modules/shared/components/core-page/pricing-carousel/pricing-carousel.jsx":function(e,t,a){"use strict";a.r(t);var n=a("../node_modules/lodash/clone.js"),s=a.n(n),r=a("../node_modules/lodash/get.js"),i=a.n(r),o=a("../node_modules/react/index.js"),l=a.n(o),c=a("../node_modules/prop-types/index.js"),d=a.n(c),m=a("../node_modules/react-redux/es/index.js"),u=a("../node_modules/classnames/index.js"),p=a.n(u),h=a("./data/luckdragon/redux/react-binding.jsx"),g=a("./site-modules/shared/utils/core-page/params.js"),b=a("./data/models/vehicle.js"),v=a("./data/models/inventory-core-configurations.js"),f=a("./data/models/unified-lead-form.js"),E=a("./site-modules/shared/utils/price-utils.js"),y=a("./site-modules/shared/utils/core-page/display-name-builders.js"),_=a("./data/models/visitor.js"),C=a("./site-modules/shared/components/zip-with-default-action-handling/zip-with-default-action-handling.jsx"),k=a("./data/models/photos.js"),N=a("./engagement-handlers/core-pricing-carousel-engagement-handler/core-pricing-carousel-engagement-handler.js"),j=a("./engagement-handlers/index.js"),O=a("./utils/event-toolbox.js"),T=a("./site-modules/shared/components/tooltip-item/tooltip-item.jsx"),S=a("./site-modules/shared/utils/core-page/core-configurations.js"),I=a("./site-modules/shared/components/experiment/venom-experiments.js"),w=a("./site-modules/shared/components/loading-spinner/loading-spinner.jsx"),x=a("./site-modules/shared/components/error-boundary/error-boundary.jsx"),A=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),R=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),P=a("../node_modules/reactstrap/lib/Row.js"),L=a.n(P),D=a("../node_modules/reactstrap/lib/Col.js"),$=a.n(D),M=a("./site-modules/shared/components/carousel/carousel.jsx"),V=a("./site-modules/shared/components/native-ad/pricing-ad/pricing-ad.jsx"),F=a("./utils/ads.js");const U=e=>(function(e){(Object(F.a)(e)||Object(F.b)(e))&&this.setState({isAdRendered:!1})}).bind(e);var Y=a("./site-modules/shared/components/lead-form/lead-form-drawer/lead-form-drawer.jsx"),B=a("./site-modules/shared/components/lead-form/unified-lead-form-pages/transparent-pricing-lead-form.jsx"),W=a("./site-modules/shared/utils/nice-name.js"),z=a("./site-modules/shared/utils/srp-link-constructor.js"),q=a("./utils/image-helpers.js"),H=a("./utils/string-utils.js"),G=a("./site-modules/shared/components/inventory-price/inventory-price.jsx"),K=a("./site-modules/shared/utils/core-link-constructor.js"),Z=a("./site-modules/shared/components/core-page/pricing-carousel/pricing-carousel-card-cta.jsx");class Q extends o.Component{constructor(){super(...arguments),this.onLinkOpen=(e=>{const t=this.props,a=t.showLeadForm,n=t.showTransparentPricingLeadFormHandler;if(a)n(e);else{const t=e.target.closest("[data-link]"),a=i()(t,"dataset.link");a&&window.location.assign(a)}})}render(){const e=this.props,t=e.children,a=e.className,n=e.srpLinkWithSubmodel,s=e.showLeadForm,r=e.index,i=e.cardsCount,o=e.ctaLabel,c=e.ctaText;return l.a.createElement("div",{className:a,role:"presentation","data-tracking-id":"view_pricing_details","data-tracking-value":s?`${r+1} - ${i} - ${c} - ${o}`:"purchase","data-link":n,onClick:this.onLinkOpen,"data-hidedelightedoninteraction":!0},t)}}Q.propTypes={children:d.a.node.isRequired,className:d.a.string,srpLinkWithSubmodel:d.a.string,showLeadForm:d.a.bool,showTransparentPricingLeadFormHandler:d.a.func,index:d.a.number,cardsCount:d.a.number,ctaLabel:d.a.string,ctaText:d.a.string},Q.defaultProps={className:"",srpLinkWithSubmodel:null,showLeadForm:!1,showTransparentPricingLeadFormHandler:null,index:0,cardsCount:0,ctaLabel:"",ctaText:""};const X=e=>({make:Object(W.b)(e.make),model:Object(W.b)(e.model),year:e.year,submodel:Object(W.b)(e.submodelid)});class J extends o.Component{constructor(){super(...arguments),this.getSrpLinkWithSubmodel=(()=>{const e=this.props,t=e.coreConfiguration,a=e.srpParams;return Object(z.p)(Object(A.a)({},X(a),{inventorytype:a.inventorytype,submodelid:a.submodelid,trim:t.inventoryCount?Object(W.b)(t.trim):""}))}),this.leadFormHandler=(e=>{e.stopPropagation();const t=this.props,a=t.coreConfiguration,n=t.showTransparentPricingLeadFormHandler,s=this.getSrpLinkWithSubmodel();n({params:{styleId:a.id,trim:a.trim,srpLink:s},options:{coreConfiguration:a}})}),this.renderCard=(()=>{const e=this.props,t=e.params,a=e.coreConfiguration,n=e.visitorLocation,s=e.makeModelSubmodelYear,r=e.buttonColor,i=e.showInventoryCount,c=e.showLeadForm,d=e.leadFormDealerCount,m=e.index,u=e.cardsCount,p=a.inventoryCount,h=a.label,g=a.style,b=a.trim,f=a.bestDealPrice,E=a.baseMsrp,y=a.totalMsrp,_=f||y||E,C=c&&!(!p&&!d),k=c?"Compare Dealer Prices":"What should I pay",N=l.a.createElement(Z.a,{buttonColor:r,showLeadForm:!0,showTransparentPricingLeadFormHandler:this.leadFormHandler,index:m,cardsCount:u,ctaLabel:v.a[h],ctaText:k});return l.a.createElement("div",{className:"px-0_5 text-left"},l.a.createElement("div",{className:"font-weight-medium text-truncate mb-0_25"},v.a[h]),l.a.createElement("div",{className:"field medium mb-0_75"},g?Object(H.b)(g,48):b),!!_&&l.a.createElement("div",{className:"field mb-1"},l.a.createElement(G.a,{prices:{displayPrice:_},priceNameNew:"Edmunds Suggested Price",priceNameClasses:"d-none",type:"new",priceClasses:"font-weight-bold"})),C?l.a.createElement(o.Fragment,null,N):l.a.createElement(I.a,{name:"CORE-1921-build-MVP",showDefault:!0},l.a.createElement(I.b,{name:"ctrl",isDefault:!0},l.a.createElement(Z.a,{srpLinkWithSubmodel:p?this.getSrpLinkWithSubmodel():Object(K.b)({makeModelSubmodelYear:s}),buttonColor:r})),l.a.createElement(I.b,{name:"chal"},l.a.createElement(Z.a,{srpLinkWithSubmodel:p?this.getSrpLinkWithSubmodel():Object(K.b)({params:t,isVenomPage:!0}),buttonColor:r}))),i&&p&&l.a.createElement("div",{className:"small"},p," for sale in ",n&&n.zipCode))})}render(){const e=this.props,t=e.params,a=e.coreConfiguration,n=e.makeModelSubmodelYear,s=e.photoUrl,r=e.showLeadForm,i=e.leadFormDealerCount,o=e.index,c=e.cardsCount,d=a.inventoryCount,m=a.label,u=r&&!(!d&&!i),h=r?"Compare Dealer Prices":"What should I pay";return l.a.createElement(I.a,{name:"CORE-1921-build-MVP",showDefault:!0},l.a.createElement(I.b,{name:"ctrl",isDefault:!0},l.a.createElement(Q,{className:p()("pricing-carousel-card card h-100 pb-1 mx-0_5 mx-sm-0_75 mx-md-0_25 mx-lg-0"),srpLinkWithSubmodel:d?this.getSrpLinkWithSubmodel():Object(K.b)({makeModelSubmodelYear:n}),showLeadForm:u,showTransparentPricingLeadFormHandler:this.leadFormHandler,index:o,cardsCount:c,ctaLabel:v.a[m],ctaText:h},l.a.createElement("div",{className:p()("img-wrapper",{"evox-logo pos-r":s&&"EVOX"===s.provider})},s&&s.href&&l.a.createElement("img",{className:"w-100 my-auto",src:Object(q.j)(s.href),alt:s.title||"",title:s.title||""})),this.renderCard())),l.a.createElement(I.b,{name:"chal"},l.a.createElement(Q,{className:p()("pricing-carousel-card card h-100 pb-1 mx-0_5 mx-sm-0_75 mx-md-0_25 mx-lg-0"),srpLinkWithSubmodel:d?this.getSrpLinkWithSubmodel():Object(K.b)({params:t,isVenomPage:!0}),showLeadForm:u,showTransparentPricingLeadFormHandler:this.leadFormHandler,index:o,cardsCount:c,ctaLabel:v.a[m],ctaText:h},l.a.createElement("div",{className:p()("img-wrapper",{"evox-logo pos-r":s&&"EVOX"===s.provider})},s&&s.href&&l.a.createElement("img",{className:"w-100 my-auto",src:Object(q.j)(s.href),alt:s.title||"",title:s.title||""})),this.renderCard())))}}J.propTypes={params:g.a.isRequired,coreConfiguration:v.c.CoreConfiguration.isRequired,visitorLocation:_.c.Location,makeModelSubmodelYear:b.d.MakeModelSubmodelYear,srpParams:d.a.shape({make:d.a.string,model:d.a.string,year:d.a.oneOfType([d.a.number,d.a.string]),inventorytype:d.a.string,submodelid:d.a.string}).isRequired,photoUrl:k.a.PricingCardPhoto,buttonColor:d.a.string.isRequired,showInventoryCount:d.a.bool,showLeadForm:d.a.bool,showTransparentPricingLeadFormHandler:d.a.func,leadFormDealerCount:d.a.number,index:d.a.number,cardsCount:d.a.number},J.defaultProps={visitorLocation:null,makeModelSubmodelYear:null,photoUrl:null,showInventoryCount:!0,showLeadForm:!1,showTransparentPricingLeadFormHandler:null,leadFormDealerCount:0,index:0,cardsCount:0};const ee=["xs","sm"];function te(e){let t=e.evoxCode,a=e.oemCode,n=e.coreConfiguration,s=e.photosMap,r=s[t];return r&&r.styleIds&&r.styleIds[n.id]?r:(r=s[a])&&r.styleIds&&r.styleIds[n.id]||i()(r,`submodels[${i()(n,"subModels[0].name")}]`)?r:null}const ae=d.a.shape({make:d.a.string,model:d.a.string,year:d.a.oneOfType([d.a.number,d.a.string]),inventorytype:d.a.string,submodelid:d.a.string});class ne extends o.Component{constructor(){super(...arguments),this.state={leadFormUrl:"",leadFormData:{params:{styleId:0},options:{}},isDrawerOpen:!1},this.openLeadFormDrawerHandler=(e=>{this.setState({isDrawerOpen:!0,leadFormData:e})}),this.closeLeadFormDrawerHandler=(()=>{this.setState({isDrawerOpen:!1})}),this.renderCard=((e,t,a)=>{const n=this.props,s=n.params,r=n.makeModelSubmodelYear,i=n.visitorLocation,c=n.photoUrls,d=n.srpParams,m=n.showInventoryCount,u=n.leadFormDealerCount,p=n.btnColor,h=n.showLeadForm;return l.a.createElement(o.Fragment,null,l.a.createElement(J,{params:s,index:e,cardsCount:a,coreConfiguration:t,visitorLocation:i,makeModelSubmodelYear:r,photoUrl:function(e){let t=e.coreConfiguration,a=e.photosMap,n=e.index;if(!a||!t)return null;let s=null;const r=n%3;return 0===r?s=te({evoxCode:"TDS",oemCode:"FQ",coreConfiguration:t,photosMap:a}):1===r?s=te({evoxCode:"TDS2",oemCode:"S",coreConfiguration:t,photosMap:a}):2===r&&(s=te({evoxCode:"TDS3",oemCode:"RQ",coreConfiguration:t,photosMap:a})),s}({coreConfiguration:t,photosMap:c,index:e}),showInventoryCount:m,srpParams:d,buttonColor:p,showLeadForm:h,showTransparentPricingLeadFormHandler:this.openLeadFormDrawerHandler,leadFormDealerCount:u}))})}shouldComponentUpdate(e){return Array.isArray(e.coreConfigurations)&&Object(S.d)({coreConfigurations:e.coreConfigurations,coreConfigurationsFallback:e.coreConfigurationsFallback}).length>0||!!e.photoUrls&&e.photoUrls!==this.props.photoUrls}render(){const e=this.props,t=e.makeModelSubmodelYear,a=e.visitorLocation,n=e.coreConfigurations,r=e.coreConfigurationsFallback,c=e.isMobile,d=e.breakpoint,m=e.cardWrapperClassName,u=e.isAdRendered,h=e.cardsGrid,g=e.pricingAdPos,b=e.leadFormOptions,v=e.showLeadForm,f=s()(Object(S.d)({coreConfigurations:n,coreConfigurationsFallback:r})),E=f.length;if(!E)return null;const y=ee.includes(d),_=c?null:U(this),C=i()(a,"city",""),k=i()(a,"zipCode","");return l.a.createElement(o.Fragment,null,y?l.a.createElement(M.a,{slidesToShow:1.3,slidesToScroll:1,swipe:!0,arrows:!1,fluid:!0,className:"mt-1_5",contentDetails:"pricing_details",infinite:!1,customEventData:{value:""}},f.map((e,t)=>l.a.createElement("div",{key:e.id},this.renderCard(t,e,E)))):l.a.createElement(L.a,{className:"mt-1_5"},f.map((e,t)=>l.a.createElement($.a,Object(R.a)({},h,{className:p()("card-wrapper mb-1_5",m),key:e.id}),this.renderCard(t,e,E))),u&&E>0&&l.a.createElement($.a,Object(R.a)({},h,{className:p()("card-wrapper mb-1_5",m),key:"pricing-native-ad"}),l.a.createElement(V.a,Object(R.a)({wrapperClass:"mx-0_25 mx-lg-0 w-100",adsRenderEndedListener:_,mobile:c},g?{position:g}:{})))),v&&l.a.createElement(Y.a,{url:"",isOpen:this.state.isDrawerOpen,onDrawerToggle:this.closeLeadFormDrawerHandler,component:B.a,componentData:{params:Object(A.a)({},this.state.leadFormData.params,{vehicle:t,zipCode:k,radius:100,city:C}),options:Object(A.a)({isMobile:c},b,this.state.leadFormData.options)},dataTrackingParent:b.dataTrackingParent}),c&&u&&E>0&&l.a.createElement(L.a,null,l.a.createElement($.a,{xs:12,className:"hidden-md-up my-1"},l.a.createElement(V.a,Object(R.a)({},g?{position:g}:{},{mobile:!0})))))}}ne.propTypes={params:g.a.isRequired,coreConfigurations:v.c.CoreConfigurations,coreConfigurationsFallback:v.c.CoreConfigurations,makeModelSubmodelYear:b.d.MakeModelSubmodelYear,visitorLocation:_.c.Location,isMobile:d.a.bool,breakpoint:d.a.string,photoUrls:k.a.PricingCardsPhotos,srpParams:ae.isRequired,showInventoryCount:d.a.bool,className:d.a.string,cardWrapperClassName:d.a.string,leadFormDealerCount:d.a.number,isAdRendered:d.a.bool,cardsGrid:d.a.shape({md:d.a.number,lg:d.a.number}),showLeadForm:d.a.bool,leadFormOptions:d.a.shape({creativeId:d.a.string,disableSrpLink:d.a.bool,dataTrackingParent:d.a.string}),btnColor:d.a.string,pricingAdPos:d.a.string},ne.defaultProps={coreConfigurations:null,coreConfigurationsFallback:null,makeModelSubmodelYear:null,visitorLocation:null,isMobile:!1,breakpoint:"xl",photoUrls:null,showInventoryCount:!0,className:void 0,cardWrapperClassName:"px-1_5 px-lg-0_5 px-xl-1_5",leadFormDealerCount:0,isAdRendered:!0,cardsGrid:{md:5,lg:3},showLeadForm:!1,leadFormOptions:{creativeId:"",disableSrpLink:!1,dataTrackingParent:void 0},btnColor:"primary-b",pricingAdPos:null};a("./site-modules/shared/components/core-page/pricing-carousel/pricing-carousel.scss");a.d(t,"PricingCarouselUI",function(){return ie}),a.d(t,"PricingCarouselErrorBoundaryWrapper",function(){return de}),a.d(t,"PricingCarousel",function(){return me}),j.a.register(N.b);const se=d.a.shape({make:d.a.string,model:d.a.string,year:d.a.oneOfType([d.a.number,d.a.string]),inventorytype:d.a.string,submodelid:d.a.string});function re(e){let t=e.makeModelSubmodelYear,a=e.params,n=e.visitorLocation;const s=Object(y.a)({makeModelSubmodelYear:t,params:a}),r=i()(n,"city",""),o=i()(n,"stateCode","");return l.a.createElement("div",{className:"text-gray-darker font-weight-normal text-left size-16"},l.a.createElement("h2",{className:"font-weight-normal size-16 d-inline-block mb-0"},s," pricing")," in ",r,","," ",o,l.a.createElement(C.a,{buttonClassName:"size-16 color-primary-darker font-weight-normal"}))}re.propTypes={params:g.a.isRequired,makeModelSubmodelYear:b.d.MakeModelSubmodelYear,visitorLocation:_.c.Location},re.defaultProps={makeModelSubmodelYear:null,visitorLocation:null};class ie extends o.Component{static getDerivedStateFromProps(e,t){return{isLoading:!Array.isArray(e.coreConfigurations)||!Object(S.d)({coreConfigurations:e.coreConfigurations,coreConfigurationsFallback:e.coreConfigurationsFallback}).length||t.zipCode!==e.zipCode,zipCode:e.zipCode}}constructor(e){super(e),this.carouselContainer=l.a.createRef(),this.state={isLoading:!0,zipCode:e.zipCode}}componentDidMount(){const e=Object(S.d)({coreConfigurations:this.props.coreConfigurations,coreConfigurationsFallback:this.props.coreConfigurationsFallback});O.a.fireCustomEvent(N.a.INITIAL_LOAD,{coreConfigurations:e},this.carouselContainer.current)}componentDidUpdate(e){const t=Object(S.d)({coreConfigurations:e.coreConfigurations,coreConfigurationsFallback:e.coreConfigurationsFallback}),a=Object(S.d)({coreConfigurations:this.props.coreConfigurations,coreConfigurationsFallback:this.props.coreConfigurationsFallback});O.a.fireCustomEvent(N.a.DATA_UPDATE,{previousCoreConfigurations:t,coreConfigurations:a},this.carouselContainer.current)}render(){const e=this.props,t=e.params,a=e.makeModelSubmodelYear,n=e.coreConfigurations,r=e.coreConfigurationsFallback,i=e.visitorLocation,c=e.isMobile,d=e.dataTrackingParent,m=e.className,u=e.makeModelLocationComponent,h=e.onMakeModelChange,g=s()(Object(S.d)({coreConfigurations:n,coreConfigurationsFallback:r})),b=Object(S.c)(g),v={id:`${d}-pricing-carousel-header-tooltip`,item:{text:"Click on the model you\u2019re interested in to see what Edmunds suggests you should pay to get a good deal.",placement:"bottom"}};return l.a.createElement(o.Fragment,null,l.a.createElement("div",{className:p()("pricing-carousel","text-center",m),"data-tracking-parent":d,ref:this.carouselContainer},l.a.createElement("div",{className:"display-2 text-left size-24 font-weight-bold mb-0_5"},l.a.createElement(I.a,{name:"tpt-389-3paths",showDefault:!0},l.a.createElement(I.b,{name:"ctrl",isDefault:!0},l.a.createElement(I.a,{name:"TPT-253-header",showDefault:!0},l.a.createElement(I.b,{name:"ctrl",isDefault:!0},b?l.a.createElement(o.Fragment,null,"Save as much as ",Object(E.a)(b),"\xa0with Edmunds ",l.a.createElement(T.a,v)):"Compare dealer price quotes"),l.a.createElement(I.b,{name:"chal"},"Compare dealer price quotes"))),l.a.createElement(I.b,{name:"chal1"},"Compare Dealer Price Quotes"),l.a.createElement(I.b,{name:"chal2"},c||!b?"Compare dealer price quotes":l.a.createElement(o.Fragment,null,"Save as much as ",Object(E.a)(b),"\xa0with Edmunds ",l.a.createElement(T.a,v))),l.a.createElement(I.b,{name:"chal3"},c||!b?"Compare dealer price quotes":l.a.createElement(o.Fragment,null,"Save as much as ",Object(E.a)(b),"\xa0with Edmunds ",l.a.createElement(T.a,v))))),l.a.createElement(u,{makeModelSubmodelYear:a,params:t,visitorLocation:i,onMakeModelChange:h}),l.a.createElement(w.a,{isLoading:this.state.isLoading},l.a.createElement(ne,this.props))))}}ie.propTypes={coreConfigurations:v.c.CoreConfigurations,coreConfigurationsFallback:v.c.CoreConfigurations,makeModelSubmodelYear:b.d.MakeModelSubmodelYear,params:g.a.isRequired,visitorLocation:_.c.Location,isMobile:d.a.bool,breakpoint:d.a.string,photoUrls:k.a.PricingCardsPhotos,srpParams:se.isRequired,showInventoryCount:d.a.bool,dataTrackingParent:d.a.string,className:d.a.string,cardWrapperClassName:d.a.string,leadFormDealerCount:d.a.number,isAdRendered:d.a.bool,cardsGrid:d.a.shape({md:d.a.number,lg:d.a.number}),showLeadForm:d.a.bool,leadFormOptions:d.a.shape({creativeId:d.a.string,disableSrpLink:d.a.bool,dataTrackingParent:d.a.string}),btnColor:d.a.string,pricingAdPos:d.a.string,makeModelLocationComponent:d.a.oneOfType([d.a.func,d.a.object]),onMakeModelChange:d.a.func},ie.defaultProps={coreConfigurations:null,coreConfigurationsFallback:null,makeModelSubmodelYear:null,visitorLocation:null,isMobile:!1,breakpoint:"xl",photoUrls:null,showInventoryCount:!0,dataTrackingParent:"edm-entry-pricing",className:void 0,cardWrapperClassName:"px-1_5 px-lg-0_5 px-xl-1_5",leadFormDealerCount:0,isAdRendered:!0,cardsGrid:{md:5,lg:3},showLeadForm:!1,leadFormOptions:{creativeId:"",disableSrpLink:!1,dataTrackingParent:void 0},btnColor:"primary-b",pricingAdPos:null,makeModelLocationComponent:re,onMakeModelChange:null};const oe=Object(h.b)(ie,{photoUrls:Object(h.a)(e=>{let t=e.coreConfigurations,a=e.coreConfigurationsFallback;const n=Object(S.d)({coreConfigurations:t,coreConfigurationsFallback:a}),s={};return n&&n.length>0?Object(k.g)({styleIds:n.reduce((e,t,a)=>s[t.id]?e:(s[t.id]=!0,0===a?t.id:`${e},${t.id}`),"")}):""},k.b),leadFormDealerCount:Object(h.a)(e=>{let t=e.coreConfigurations,a=e.makeModelSubmodelYear;return!(t&&t.length)&&a&&Object(f.g)(a.make.slug)},f.c)}),le=e=>({make:e.make.slug,model:e.model.slug,submodel:e.submodels.slug,year:e.year}),ce=Object(m.c)(e=>({isMobile:e.mobile,breakpoint:i()(e,"pageContext.page.breakpoint"),visitorLocation:i()(e,"visitor.location")}))(Object(h.b)(oe,{coreConfigurations:Object(h.a)(e=>{let t=e.makeModelSubmodelYear;return t?Object(v.e)(le(t)):""},v.d,S.b),coreConfigurationsFallback:Object(h.a)(e=>{let t=e.makeModelSubmodelYear;return t?Object(b.x)(le(t)):""},b.e,S.a)})),de=Object(h.b)(ce,{makeModelSubmodelYear:Object(h.a)(e=>{let t=e.params;return t.year?Object(b.F)(t):Object(b.f)(t)},b.e)});function me(e){return l.a.createElement(x.a,null,l.a.createElement(de,e))}me.propTypes={params:g.a.isRequired,srpParams:se.isRequired,showInventoryCount:d.a.bool,dataTrackingParent:d.a.string,className:d.a.string,cardWrapperClassName:d.a.string,isAdRendered:d.a.bool,cardsGrid:d.a.shape({md:d.a.number,lg:d.a.number}),showLeadForm:d.a.bool,leadFormOptions:d.a.shape({creativeId:d.a.string,disableSrpLink:d.a.bool,dataTrackingParent:d.a.string}),btnColor:d.a.string,pricingAdPos:d.a.string,makeModelLocationComponent:d.a.oneOfType([d.a.func,d.a.object]),onMakeModelChange:d.a.func},me.defaultProps={makeModelSubmodelYear:null,showInventoryCount:!0,dataTrackingParent:void 0,className:void 0,cardWrapperClassName:"",isAdRendered:!0,cardsGrid:{md:5,lg:3},showLeadForm:!1,leadFormOptions:{creativeId:"",disableSrpLink:!1,dataTrackingParent:void 0},btnColor:"primary-b",pricingAdPos:null,makeModelLocationComponent:void 0,onMakeModelChange:void 0}},"./site-modules/shared/components/core-page/pricing-carousel/pricing-carousel.scss":function(e,t,a){},"./site-modules/shared/components/core-page/sponsored-cars/sponsored-cars.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return A});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),r=a("../node_modules/lodash/get.js"),i=a.n(r),o=a("../node_modules/react/index.js"),l=a.n(o),c=a("../node_modules/prop-types/index.js"),d=a.n(c),m=a("../node_modules/react-redux/es/index.js"),u=a("../node_modules/reactstrap/lib/Row.js"),p=a.n(u),h=a("../node_modules/reactstrap/lib/Col.js"),g=a.n(h),b=a("../node_modules/classnames/index.js"),v=a.n(b),f=a("./site-modules/shared/utils/core-page/params.js"),E=a("./site-modules/shared/components/carousel/carousel.jsx"),y=a("./data/luckdragon/redux/react-binding.jsx"),_=a("./site-modules/shared/components/ad-unit/native-ad.jsx"),C=a("./site-modules/shared/components/error-boundary/error-boundary.jsx"),k=a("./utils/ads.js"),N=a("./site-modules/shared/components/ad-unit/ad-unit-async.jsx"),j=a("./site-modules/shared/components/experiment/venom-experiments.js"),O=a("./utils/experiment/experiment-util.js");a("./site-modules/shared/components/core-page/sponsored-cars/sponsored-cars.scss");const T="filmstrip-native-ad",S=4,I=2;class w extends o.Component{constructor(){super(...arguments),this.state={totalAdCalls:0,totalAdsLoaded:0,showFilmstrip:!1},this.collapseAd=(e=>{e.querySelector("iframe")?e.classList.remove("d-none"):e.classList.add("d-none")}),this.handleSlotRender=(e=>{const t=!Object(k.a)(e)&&!Object(k.b)(e);let a=this.state,n=a.totalAdCalls,s=a.totalAdsLoaded;const r=this.state.showFilmstrip,i=this.props,o=i.adsPositionsRange,l=i.isAds4137ChalEnabled,c=i.isMobile;let d=S;c&&l&&(d=I),n+=1,t&&!r&&(s+=1),o&&2===o.length&&(d=o[1]+1-o[0]),n===d&&s>0?this.setState({totalAdCalls:n,totalAdsLoaded:s,showFilmstrip:!0}):this.setState({totalAdCalls:n,totalAdsLoaded:s})}),this.handleSwipeEvent=(e=>{if(e.data&&e.data.type===T&&e.data.direction){("left"===e.data.direction?this.slider.current.next:this.slider.current.prev)()}}),this.createVehicleCardsWithAds=((e,t,a)=>{const n=[];let s=1,r=S;a&&2===a.length&&(s=a[0],r=a[1]);for(let a=s;a<=r;a+=1)n.push(l.a.createElement("div",{key:`native-ad-${a}`},e?l.a.createElement("div",{className:"slick-slide"},l.a.createElement(N.a,{adName:t?"mnative":"native",nativeStyle:"filmstrip",position:`${a}`,all:!0,onSlotRenderEndedListener:this.handleSlotRender})):l.a.createElement(_.a,{wrapperClass:"slick-slide",nativeStyle:"filmstrip",position:`${a}`,onSlotRenderEndedListener:this.handleSlotRender})));return n}),this.createVehicleCardsWithAds4137Chal2=(e=>{return[1,3].map(t=>l.a.createElement("div",{key:`native-ad-${t}`,className:"no-carousel-cards mb-1_5"},e?l.a.createElement(N.a,{adName:"mnative",nativeStyle:"filmstrip",position:`${t}`,all:!0,onSlotRenderEndedListener:this.handleSlotRender}):l.a.createElement(_.a,{nativeStyle:"filmstrip",position:`${t}`,onSlotRenderEndedListener:this.handleSlotRender})))}),this.ref=l.a.createRef(),this.slider=l.a.createRef()}componentDidMount(){window.addEventListener("message",this.handleSwipeEvent)}shouldComponentUpdate(e,t){return t.showFilmstrip}componentDidUpdate(){this.collapseEmptyAds(this.ref.current.querySelectorAll(".slick-slide")),this.setSlickTrackWidth(this.state.totalAdsLoaded)}componentWillUnmount(){window.removeEventListener("message",this.handleSwipeEvent)}setSlickTrackWidth(e){const t=this.props,a=t.isAds4137ChalEnabled;t.isMobile&&a?e<2&&this.ref.current.classList.add("hide-right-arrow"):e<=2&&this.ref.current.classList.add("hide-right-arrow")}collapseEmptyAds(e){for(let t=0;t<e.length;t+=1)this.collapseAd(e[t])}render(){const e=this.props,t=e.params,a=e.isMobile,r=e.breakpoint,i=e.modelName,o=e.wrapperClassName,c=e.isLazyLoadingEnabled,d=e.adsPositionsRange,m=t.titleClass;let u={centerMode:!1,infinite:!1,slidesToShow:t.slidesToShow||4,swipe:!1,arrows:!0,variableWidth:!1};"md"===r||"sm"===r&&!a||"xs"===r&&!a?u=Object(s.a)({},u,{slidesToShow:2}):"lg"===r?u=Object(s.a)({},u,{slidesToShow:4}):a&&(u=Object(s.a)({},u,{autoplaySpeed:3e3,autoplay:!1,speed:300,slidesToShow:1,swipe:!0,arrows:!0,variableWidth:!0}));const h=m||"text-left font-weight-bold text-gray-darker size-24";return l.a.createElement(C.a,null,l.a.createElement("div",{className:v()("also-viewed-vehicle-v2 sponsored-cars",o,{invisible:!this.state.showFilmstrip,"is-wired":!a,"is-mobile":a}),"data-tracking-parent":"edm-entry-also-viewed-vehicles",ref:this.ref},l.a.createElement("h2",{className:v()("display-2 mb-1_25 mb-md-2",h)},"Sponsored cars related to the ",i),l.a.createElement(p.a,null,l.a.createElement(g.a,null,a?l.a.createElement(j.a,{name:"ads-4137",showDefault:!0},l.a.createElement(j.b,{name:"ctrl",isDefault:!0},l.a.createElement(E.a,Object(n.a)({},u,{className:"ml-md-0 with-ad",ref:this.slider}),this.createVehicleCardsWithAds(c,a,d))),l.a.createElement(j.b,{name:"chal1"},l.a.createElement(E.a,Object(n.a)({},u,{className:"ml-md-0 with-ad",ref:this.slider}),this.createVehicleCardsWithAds(c,a,[1,2]))),l.a.createElement(j.b,{name:"chal2"},this.createVehicleCardsWithAds4137Chal2(c))):l.a.createElement(E.a,Object(n.a)({},u,{className:"ml-md-0 with-ad",ref:this.slider}),this.createVehicleCardsWithAds(c,a,d)),l.a.createElement("hr",{className:"mt-1_5 mb-2"})))))}}w.propTypes={params:f.a.isRequired,modelName:d.a.string.isRequired,isMobile:d.a.bool,breakpoint:d.a.string,wrapperClassName:d.a.string,isLazyLoadingEnabled:d.a.bool,adsPositionsRange:d.a.arrayOf(d.a.number),isAds4137ChalEnabled:d.a.bool},w.defaultProps={isMobile:!1,breakpoint:"xl",wrapperClassName:"",isLazyLoadingEnabled:!1,adsPositionsRange:null,isAds4137ChalEnabled:!1};const x=Object(m.c)(e=>({isMobile:e.mobile,breakpoint:i()(e,"pageContext.page.breakpoint"),isAds4137ChalEnabled:function(e){const t=O.a.getAssignedRecipeName({state:e,campaignName:"ads-4137"}),a=O.a.getForcedRecipeName({state:e,campaignName:"ads-4137"});return a&&a.includes("chal")||t&&t.includes("chal")}(e)}))(w);x.propTypes={params:f.a.isRequired,modelName:d.a.string.isRequired,wrapperClassName:d.a.string,isLazyLoadingEnabled:d.a.bool,adsPositionsRange:d.a.arrayOf(d.a.number)},x.defaultProps={wrapperClassName:"",isLazyLoadingEnabled:!1,adsPositionsRange:null};const A=Object(y.b)(x,{});A.propTypes={params:f.a.isRequired}},"./site-modules/shared/components/core-page/sponsored-cars/sponsored-cars.scss":function(e,t,a){},"./site-modules/shared/components/core-page/sub-cta-link/sub-cta-link.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return d});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),r=a("../node_modules/react/index.js"),i=a.n(r),o=a("../node_modules/prop-types/index.js"),l=a.n(o),c=a("./site-modules/shared/components/link/link.jsx");function d(e){let t=e.to,a=e.children,r=e.trackingId,o=e.trackingValue,l=e.containerClassName,d=e.linkTextClasses,m=e.showArrow,u=Object(s.a)(e,["to","children","trackingId","trackingValue","containerClassName","linkTextClasses","showArrow"]);return i.a.createElement("div",{className:l},i.a.createElement(c.a,Object(n.a)({to:t,className:"text-primary-darker size-16","data-tracking-id":r,"data-tracking-value":o},u),i.a.createElement("span",{className:d},a),m&&i.a.createElement("i",{className:"icon-arrow-right4 size-10 pl-0_25"})))}d.propTypes={to:l.a.string.isRequired,children:l.a.node.isRequired,trackingId:l.a.string,trackingValue:l.a.string,containerClassName:l.a.string,linkTextClasses:l.a.string,showArrow:l.a.bool},d.defaultProps={trackingId:void 0,trackingValue:void 0,containerClassName:"ml-0_5 mb-1",linkTextClasses:void 0,showArrow:!0}},"./site-modules/shared/components/core-seo-vehicle-links/core-seo-vehicle-links.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return _});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/lodash/get.js"),r=a.n(s),i=a("../node_modules/react/index.js"),o=a.n(i),l=a("../node_modules/prop-types/index.js"),c=a.n(l),d=a("../node_modules/classnames/index.js"),m=a.n(d),u=a("../node_modules/reactstrap/lib/Container.js"),p=a.n(u),h=a("./data/models/vehicle.js"),g=a("./data/luckdragon/redux/react-binding.jsx"),b=a("./data/models/link-widgets.js"),v=a("./site-modules/shared/components/seo-links/seo-links.jsx");a("./site-modules/shared/components/seo-links/seo-links.scss"),a("./site-modules/shared/components/core-seo-vehicle-links/core-seo-vehicle-links.scss");function f(e){let t=e.header,a=e.headerClass,n=e.links,s=e.linksListClass;return o.a.createElement(i.Fragment,null,o.a.createElement("h6",{className:m()("category-heading heading-6 mb-0",a)},t),o.a.createElement(v.a,{items:n,className:m()("links-list",s)}))}function E(e){let t=e.vehicle,a=e.linkWidgets;if(!t||!a||!a.length)return null;const s=r()(t,"make.name",""),i=r()(t,"model.name","");return o.a.createElement(p.a,{className:"core-seo-vehicle-links seo-links link-widget standard-spacing pt-0 mt-2",tag:"section","data-tracking-parent":"core-seo-vehicle-links"},s&&i&&o.a.createElement("h2",{className:"display-2 size-24 font-weight-bold text-left mb-1_5"},"Related ",s," ",i," info"),o.a.createElement("div",{className:"columns-md-2 columns-lg-4"},a.map(e=>o.a.createElement(f,Object(n.a)({key:e.categoryName},e)))))}f.propTypes={header:c.a.string,headerClass:c.a.string,linksListClass:c.a.string,links:c.a.arrayOf(c.a.shape())},f.defaultProps={header:"",headerClass:"",linksListClass:"",links:[]},E.propTypes={vehicle:h.d.MakeModelSubmodelYear,linkWidgets:b.a.LinkWidgets},E.defaultProps={vehicle:null,linkWidgets:[]};const y={linkWidgets:Object(g.a)(e=>{let t=e.vehicle;return Object(b.c)(t)},b.b)},_=Object(g.b)(E,y);_.propTypes={vehicle:h.d.MakeModelSubmodelYear.isRequired}},"./site-modules/shared/components/core-seo-vehicle-links/core-seo-vehicle-links.scss":function(e,t,a){},"./site-modules/shared/components/drawer/drawer-close-button/drawer-close-button.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return d});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o);const c="default";class d extends n.PureComponent{render(){const e=this.props,t=e.onClick,a=e.className,n=e.trackingId,r=e.trackingValue,i=e.lgBtnClass,o=e.smBtnClass;return s.a.createElement("div",{className:a,"data-tracking-id":n||c,"data-tracking-value":r,"data-tracking-disabled":!n},s.a.createElement("button",{className:l()("drawer-close hidden-sm-down pt-1",i),onClick:t},s.a.createElement("a",{className:"text-info btn drawer-btn-back-circle btn-link"},s.a.createElement("span",{className:"circle icon-arrow-left3 bg-gray-lighter"}),"\xa0",s.a.createElement("span",{className:"h5"},"back"))),s.a.createElement("button",{className:l()("drawer-close hidden-md-up row justify-content-end",o),onClick:t,"aria-label":"Close drawer"},s.a.createElement("div",{className:"col-auto px-0_5 py-0_5","data-dismiss":"modal"},s.a.createElement("span",{className:"icon-cross2"}))))}}d.propTypes={onClick:i.a.func.isRequired,className:i.a.string,lgBtnClass:i.a.string,smBtnClass:i.a.string,trackingId:i.a.string,trackingValue:i.a.string},d.defaultProps={className:"",trackingId:"",trackingValue:"",lgBtnClass:"",smBtnClass:""}},"./site-modules/shared/components/drawer/drawer.jsx":function(e,t,a){"use strict";a.d(t,"b",function(){return k}),a.d(t,"a",function(){return N});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/lodash/pickBy.js"),r=a.n(s),i=a("../node_modules/react/index.js"),o=a.n(i),l=a("../node_modules/react-dom/index.js"),c=a.n(l),d=a("../node_modules/prop-types/index.js"),m=a.n(d),u=a("../node_modules/classnames/index.js"),p=a.n(u),h=a("../node_modules/reactstrap/lib/Fade.js"),g=a.n(h),b=a("../node_modules/reactstrap/lib/utils.js"),v=a("./utils/event-toolbox.js"),f=a("./site-modules/shared/components/drawer/events.js");a("./site-modules/shared/components/drawer/drawer.scss");const E={OPEN:"OPEN",OPENING:"OPENING",CLOSING:"CLOSING",CLOSED:"CLOSED"},y="drawers-container",_="edm-page",C={isOpen:m.a.bool,side:m.a.oneOf(["left","right","top","bottom"]),size:m.a.oneOf(["xsmall","small","medium","full"]),toggle:m.a.func.isRequired,backdrop:m.a.oneOfType([m.a.bool,m.a.oneOf(["static"])]),keyboard:m.a.bool,onShow:m.a.func,onHide:m.a.func,classNames:m.a.shape({drawer:m.a.string,drawerContainer:m.a.string,drawerContent:m.a.string,backdrop:m.a.string}),children:m.a.node,ssrMode:m.a.bool,isAdsOverlap:m.a.bool},k=300;class N extends i.Component{constructor(e){super(e),this.onHide=(()=>{this.destroy(),this.props.onHide()}),this.handleEscape=(e=>{this.props.keyboard&&27===e.keyCode&&this.props.toggle()}),this.handleBackdropClick=(e=>{if(!0!==this.props.backdrop)return;const t=this.container;e.target&&!t.contains(e.target)&&this.props.toggle()}),this.createContainer=(()=>{const e=document.querySelector(`.${y}`);if(e)this.drawersContainer=e;else{const e=document.querySelector(`.${_}`);this.drawersContainer=document.createElement("div"),this.drawersContainer.classList.add(y),e.appendChild(this.drawersContainer)}}),this.toggleDrawer=(()=>{this.props.isOpen?(this.focus=!0,this.show()):this.hide()}),this.destroy=(()=>{const e=document.body.classList;e.remove("modal-open"),e.remove(`drawer-${this.props.side}`),this.element&&(c.a.unmountComponentAtNode(this.element),document.body.removeChild(this.element),this.element=null),document.body.className=p()(e).trim(),Object(b.setScrollbarWidth)(this.originalBodyPadding)}),this.hide=(()=>{setTimeout(()=>{this.setState({display:E.CLOSED})},k),this.renderIntoSubtree(),v.a.fireCustomEvent(f.a.CLOSED,{},this.dialog)}),this.show=(()=>{const e=document.body.className;this.element=document.createElement("div"),this.originalBodyPadding=Object(b.getOriginalBodyPadding)(),Object(b.conditionallyUpdateScrollbar)(),document.body.appendChild(this.element),document.body.className=p()(e,"modal-open",`drawer-${this.props.side}`),this.setState({display:E.OPEN},this.renderIntoSubtree),v.a.fireCustomEvent(f.a.OPEN,{},this.dialog)}),this.renderIntoSubtree=(()=>{c.a.unstable_renderSubtreeIntoContainer(this,this.renderBackdrop(),this.element),this.focus&&(this.dialog.focus(),this.focus=!1)}),this.renderBackdrop=(()=>{const e=this.props,t=e.isOpen,a=e.backdrop,n=e.onShow;return a&&o.a.createElement(g.a,{in:t,key:"drawer-backdrop",onEnter:n,onExit:this.onHide,className:p()("modal-backdrop",this.props.classNames.backdrop)})}),this.state={display:e.isOpen?E.OPEN:E.CLOSED,isOpen:e.isOpen},this.originalBodyPadding=null,this.drawersContainer=null}componentDidMount(){this.createContainer(),this.props.isOpen&&this.toggleDrawer()}static getDerivedStateFromProps(e,t){if(t.isOpen!==e.isOpen){const a=t.display;if(a===E.CLOSED&&e.isOpen)return{display:E.OPENING,isOpen:e.isOpen};if(a===E.OPEN&&!e.isOpen)return{isOpen:e.isOpen,display:E.CLOSING}}return null}componentDidUpdate(e){this.props.isOpen!==e.isOpen?this.toggleDrawer():this.element&&this.renderIntoSubtree()}componentWillUnmount(){this.onHide()}renderDrawerContent(){const e=r()(this.props,(e,t)=>t.startsWith("data-")||t.startsWith("aria-")),t=this.props,a=t.side,s=t.size,i=t.children,l=t.classNames,c=t.isAdsOverlap,d=this.state.display;return o.a.createElement("div",Object(n.a)({},e,{key:"drawer-dialog",onClickCapture:this.handleBackdropClick,onKeyUp:this.handleEscape,className:p()(`modal-drawer drawer-${a} fade`,{"ads-overlap":c,[`dr-${s}`]:s,show:d===E.OPEN},l.drawer),style:{display:d!==E.CLOSED?"block":"none"},tabIndex:-1,role:"dialog","aria-hidden":d!==E.OPEN,ref:e=>{this.dialog=e}}),o.a.createElement("div",{className:p()("drawer-container modal-dialog",l.drawerContainer),role:"document",ref:e=>{this.container=e}},o.a.createElement("div",{className:p()("drawer-content modal-content",l.drawerContent),ref:e=>{this.content=e}},i)))}render(){const e=this.props.ssrMode,t=!e&&!this.drawersContainer,a=e&&!this.drawersContainer;if(t)return null;const n=this.renderDrawerContent();return a?n:Object(l.createPortal)(n,this.drawersContainer)}}N.propTypes=C,N.defaultProps={isAdsOverlap:!1,isOpen:!1,side:"left",size:"medium",backdrop:!0,keyboard:!0,onShow:()=>{},onHide:()=>{},classNames:{},children:null,ssrMode:!1}},"./site-modules/shared/components/drawer/drawer.scss":function(e,t,a){},"./site-modules/shared/components/editorial-review-pros-cons/editorial-review-pros-cons.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return d});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o),c=a("./site-modules/shared/components/unordered-list/unordered-list.jsx");a("./site-modules/shared/components/editorial-review-pros-cons/editorial-review-pros-cons.scss");function d(e){let t=e.pros,a=e.cons,n=e.titleClassName,r=e.listItemClassName;const i=[...t,...a].length,o=l()("pro-con-li",r);return s.a.createElement("div",{className:"editorial-review-pros-cons"},s.a.createElement(c.c,{title:"Pros & Cons",titleClasses:l()("text-left text-gray-darker text-capitalize font-weight-bold",n),listClasses:"mb-1 list-unstyled",showList:i>0,showNotAvailable:0===i},t.map(e=>s.a.createElement(c.b,{key:e,textClasses:"text-gray-darker align-middle",listItemClasses:o},s.a.createElement("i",{className:"i-bullet icon-checkmark text-primary size-12 pl-0_25 pt-0_5"}),e)),a.map(e=>s.a.createElement(c.b,{key:e,textClasses:"text-gray-darker align-middle",listItemClasses:o},s.a.createElement("i",{className:"i-bullet icon-cross3 text-warning size-20 pt-0_25 pr-0_75"}),e))))}d.propTypes={pros:i.a.arrayOf(i.a.string),cons:i.a.arrayOf(i.a.string),listItemClassName:i.a.string,titleClassName:i.a.string},d.defaultProps={pros:[],cons:[],listItemClassName:"pl-2 size-16",titleClassName:"size-16  mt-0_5 mt-md-1 mb-0_25 mb-md-0"}},"./site-modules/shared/components/editorial-review-pros-cons/editorial-review-pros-cons.scss":function(e,t,a){},"./site-modules/shared/components/editorial/article-hero-carousel/article-hero-carousel.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return d});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("./site-modules/shared/constants/editorial/editorial.js"),l=a("./site-modules/shared/components/editorial/article-title/article-title.jsx"),c=a("./site-modules/shared/components/editorial/editorial-hero-carousel/editorial-hero-carousel.jsx");a("./site-modules/shared/components/editorial/article-hero-carousel/article-hero-carousel.scss");function d(e){let t=e.title,a=e.subtitle,n=e.slides,r=e.carouselClasses,i=e.imageSize;return s.a.createElement(c.a,{imageSize:i,slides:n,classes:"align-items-start",carouselClasses:r},s.a.createElement(l.a,{title:t,subtitle:a}))}d.propTypes={slides:i.a.arrayOf(i.a.shape({href:i.a.string,title:i.a.string,url:i.a.string})),title:i.a.string,subtitle:i.a.string,carouselClasses:i.a.string,imageSize:i.a.number},d.defaultProps={slides:[],title:"",subtitle:"",carouselClasses:"",imageSize:o.b.max}},"./site-modules/shared/components/editorial/article-hero-carousel/article-hero-carousel.scss":function(e,t,a){},"./site-modules/shared/components/editorial/article-menu/article-menu.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return p});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),r=a("../node_modules/react/index.js"),i=a.n(r),o=a("../node_modules/prop-types/index.js"),l=a.n(o),c=a("../node_modules/classnames/index.js"),d=a.n(c),m=a("./site-modules/shared/components/editorial/section-list/section-list.jsx"),u=a("./site-modules/shared/components/editorial/section-heading/section-heading.jsx");a("./site-modules/shared/components/editorial/article-menu/article-menu.scss");function p(e){let t=e.title,a=e.links,r=e.className,o=e.titleClassName,l=e.linksClassName,c=e.moreLink,p=e.itemsClassName,h=e.titleContainerClassName,g=e.listClassName,b=e.moreLinkClassName,v=e.dividerClassName,f=e.dataTrackingId,E=e.trackingValueDecorator,y=Object(s.a)(e,["title","links","className","titleClassName","linksClassName","moreLink","itemsClassName","titleContainerClassName","listClassName","moreLinkClassName","dividerClassName","dataTrackingId","trackingValueDecorator"]);return a.length>0&&i.a.createElement("div",Object(n.a)({className:d()("article-menu small",r)},y),i.a.createElement(u.c,{textClassName:o,containerClassName:h},t),i.a.createElement("hr",{className:v}),i.a.createElement(m.a,{links:a,moreLink:c,className:p,listClassName:g,linksClassName:l,moreLinkClassName:b,trackingValueDecorator:E,dataTrackingId:f}))}p.defaultProps={className:"",titleClassName:void 0,linksClassName:void 0,titleContainerClassName:void 0,moreLinkClassName:void 0,listClassName:null,itemsClassName:"px-1 pt-0_75 pb-1 article-menu-item bg-gray-extra-light",dividerClassName:"hidden-lg-up mt-0",dataTrackingId:"inline_article_view_content",trackingValueDecorator:e=>`${e.name} - right`,moreLink:null},p.propTypes={title:l.a.string.isRequired,links:l.a.arrayOf(l.a.shape({name:l.a.string,href:l.a.string,date:l.a.string})).isRequired,className:l.a.string,titleClassName:l.a.string,linksClassName:l.a.string,titleContainerClassName:l.a.string,listClassName:l.a.string,itemsClassName:l.a.string,moreLinkClassName:l.a.string,dividerClassName:l.a.string,trackingValueDecorator:l.a.func,dataTrackingId:l.a.string,moreLink:l.a.shape({name:l.a.string,href:l.a.string})}},"./site-modules/shared/components/editorial/article-menu/article-menu.scss":function(e,t,a){},"./site-modules/shared/components/editorial/article-title/article-title.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return b});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/reactstrap/lib/Row.js"),l=a.n(o),c=a("../node_modules/reactstrap/lib/Col.js"),d=a.n(c),m=a("../node_modules/reactstrap/lib/Container.js"),u=a.n(m),p=a("../node_modules/classnames/index.js"),h=a.n(p),g=a("./site-modules/shared/components/content-fragment/content-fragment.jsx");a("./site-modules/shared/components/editorial/article-title/article-title.scss");function b(e){let t=e.tag,a=e.title,n=e.subtitle,r=e.center,i=e.invert;return s.a.createElement(u.a,null,s.a.createElement(l.a,{className:h()("text-center justify-content-center",{"article-title text-md-left justify-content-md-start":!r})},s.a.createElement(d.a,{xs:12,lg:8},a&&s.a.createElement(g.a,{componentToUse:t,classes:h()("display-1 title font-weight-bold",{"text-white text-zdepth-1":!i})},a),n&&s.a.createElement(g.a,{componentToUse:"h2",classes:h()("display-2 mt-1_5 subtitle hidden-sm-down",{"text-white text-zdepth-1":!i})},n))))}b.propTypes={title:i.a.string,subtitle:i.a.string,center:i.a.bool,tag:i.a.string,invert:i.a.bool},b.defaultProps={title:"",subtitle:"",center:!1,tag:"h1",invert:!1}},"./site-modules/shared/components/editorial/article-title/article-title.scss":function(e,t,a){},"./site-modules/shared/components/editorial/editorial-hero-carousel-wrapper/editorial-hero-carousel-wrapper.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return l});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("./site-modules/shared/components/hero-carousel/hero-carousel.jsx");class l extends n.Component{shouldComponentUpdate(e){return e.slides!==this.props.slides}render(){const e=this.props,t=e.slides,a=e.setCurrentSlide,n=e.carouselClasses;return s.a.createElement(o.a,{autoplay:!1,lazyLoad:!0,className:`editorial-hero-carousel ${n}`,"data-tracking-parent":"edm-entry-editorial-hero-carousel",slides:t,beforeChange:a})}}l.propTypes={slides:i.a.arrayOf(i.a.element).isRequired,setCurrentSlide:i.a.func,carouselClasses:i.a.string},l.defaultProps={setCurrentSlide:null,carouselClasses:""}},"./site-modules/shared/components/editorial/editorial-hero-carousel/ad-slide/ad-slide.scss":function(e,t,a){},"./site-modules/shared/components/editorial/editorial-hero-carousel/editorial-hero-carousel.jsx":function(e,t,a){"use strict";var n=a("../node_modules/lodash/isEqual.js"),s=a.n(n),r=a("../node_modules/react/index.js"),i=a.n(r),o=a("../node_modules/prop-types/index.js"),l=a.n(o),c=a("../node_modules/reactstrap/lib/Row.js"),d=a.n(c),m=a("../node_modules/reactstrap/lib/Col.js"),u=a.n(m),p=a("../node_modules/reactstrap/lib/Container.js"),h=a.n(p),g=a("../node_modules/classnames/index.js"),b=a.n(g),v=a("./site-modules/shared/components/editorial/editorial-hero-carousel-wrapper/editorial-hero-carousel-wrapper.jsx"),f=a("./utils/image-helpers.js"),E=a("./site-modules/shared/constants/editorial/editorial.js"),y=a("./site-modules/shared/components/editorial/article-title/article-title.jsx"),_=a("./site-modules/shared/components/ad-unit/ad-unit.jsx"),C=a("./data/models/cms.js"),k=a("./data/cms/content.js"),N=a("./site-modules/shared/components/video/index.jsx"),j=a("./site-modules/shared/components/content-fragment/content-fragment.jsx"),O=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),T=a("../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js");a("./site-modules/shared/components/editorial/editorial-hero-carousel/ad-slide/ad-slide.scss");function S(e){let t=e.adContent,a=e.adImageUri,n=e.counter,s=e.isMobile,o=Object(T.a)(e,["adContent","adImageUri","counter","isMobile"]);const l=s?t.metadata("clickredirectmobile").value():t.metadata("clickredirect").value(),c=t.metadata("sponsor").value(),d=t.metadata("linkClickOut").boolean();return i.a.createElement("div",Object(O.a)({"data-index":n},o),i.a.createElement("div",{className:"slide text-zdepth-1 pl-0_5"},i.a.createElement("div",{className:"ad-unit mt-2 mt-mb-2_5"},i.a.createElement("strong",null,i.a.createElement(j.a,{classes:"h1 text-white mb-0_5 mb-md-3_5"},t.metadata("headercopy").value())),i.a.createElement("a",{href:l,className:"btn btn-success ad-unit-linkout hidden-sm-down",target:d?"_blank":null},t.metadata("ctacopy").value()),i.a.createElement("a",{href:l,className:"btn btn-link btn-sm text-white ad-unit-linkout hidden-md-up p-0",target:d?"_blank":null},t.metadata("ctacopy").value())),i.a.createElement("div",{className:"photo",style:{backgroundImage:`url(${a})`}}),!!c.length&&i.a.createElement(r.Fragment,null,i.a.createElement("div",{className:"display-6 hidden-sm-down hero-sponsor-disclaimer font-weight-normal"},i.a.createElement(j.a,{classes:"text-white small",componentToUse:"p"},`Photo sponsored by ${c}`)),i.a.createElement("div",{className:"display-6 hidden-md-up hero-sponsor-disclaimer font-weight-normal"},i.a.createElement(j.a,{classes:"text-white small",componentToUse:"p"},`Photo sponsored by ${c}`)))))}S.propTypes={adContent:C.a.Content,adImageUri:l.a.string.isRequired,counter:l.a.number.isRequired,isMobile:l.a.bool},S.defaultProps={adContent:k.a,isMobile:!1};a("./site-modules/shared/components/editorial/editorial-hero-carousel/editorial-hero-carousel.scss");function I(e){let t=e.children,a=e.className;return i.a.createElement("div",{className:b()(a,"editorial-carousel-title-wrapper w-100 h-100 d-flex")},t)}function w(e){let t=e.ctaText,a=e.ctaLink;return i.a.createElement("div",{className:"cta-overlay w-100"},i.a.createElement(h.a,null,i.a.createElement(d.a,null,i.a.createElement(u.a,{xs:12,md:6,lg:4,className:"overlay-block py-1_5 px-1_25 text-center text-md-left"},i.a.createElement(j.a,{classes:"cta-text",componentToUse:"p"},t),i.a.createElement("a",{className:"d-inline-block text-uppercase h7 font-weight-bold cta-link hidden-sm-down",href:a.url},a.name," ",i.a.createElement("i",{className:"icon icon-arrow-right3"}))))))}function x(e,t,a){return i.a.createElement("div",{key:`${e}-${t}`,className:"video-slide","data-index":t},i.a.createElement(N.a,{containerClassName:"video",videoId:e,type:a}))}function A(e,t,a,n){const s=e.href,r=e.title,o=e.rel,l=e.cta;switch(o){case"video_youtube":return x(s,t,"Youtube");case"video_brightcove":return x(s,t,"Brightcove");default:return function(e,t,a,n,s,r){const o=n?E.b.lg:r,l=Object(f.g)(e,o);return i.a.createElement("div",{key:`${e}-${t}`,className:b()("slide",{"d-flex justify-content-center":!n,"d-block":n}),"data-index":t},!!a&&i.a.createElement(I,{className:"has-link align-items-start"},i.a.createElement(y.a,{title:a,tag:"span"})),i.a.createElement("img",{className:b()("photo",{"my-auto":!n}),alt:a,src:l}),s&&s.ctaText&&i.a.createElement(w,{ctaText:s.ctaText,ctaLink:s.ctaLink}))}(s,t,r,a,l,n)}}function R(e,t,a,n){if(!e||!e.length)return[];const s=e.map((e,t)=>A(e,t,a,n));return t&&t.hasChild("hero-ad-content")&&s.push(function(e,t,a){const n=Object(f.n)(e.metadata("adimage").value());return i.a.createElement(S,{key:`${n}-${t}`,adContent:e,isMobile:a,adImageUri:n,counter:t})}(t.child("hero-ad-content"),e.length,a)),s}a.d(t,"a",function(){return P}),I.propTypes={className:l.a.string,children:l.a.node.isRequired},I.defaultProps={className:""},w.propTypes={ctaText:l.a.string,ctaLink:l.a.shape({url:l.a.string,name:l.a.string})},w.defaultProps={ctaText:"",ctaLink:null};class P extends r.Component{constructor(e){super(e),this.setCurrentSlide=((e,t)=>{const a=this.getCachedSlides();this.setState({isTitleVisible:a[t].type!==S})}),this.slides=[],this.adContent=[],this.renderedSlides=[],this.state={isTitleVisible:!0}}getCachedSlides(){if(!s()(this.slides,this.props.slides)||!s()(this.adContent,this.props.adContent)){const e=this.props,t=e.slides,a=e.adContent,n=e.isMobile,s=e.imageSize;this.slides=t,this.adContent=a,this.renderedSlides=R(t,a,n,s)}return this.renderedSlides}render(){const e=this.props,t=e.children,a=e.classes,n=e.adContent,s=e.carouselClasses,o=this.getCachedSlides();return o.length?i.a.createElement("div",{className:"editorial-hero-carousel-container"},t&&i.a.createElement(I,{className:b()(a,{"hidden-xs-up":!this.state.isTitleVisible})},t),1===o.length?i.a.createElement("div",{className:"editorial-hero-carousel hero-carousel","data-tracking-parent":"edm-entry-editorial-hero-carousel"},o[0]):i.a.createElement(v.a,{slides:o,setCurrentSlide:this.setCurrentSlide,carouselClasses:s}),n.hasChild("hero-ad-content")&&i.a.createElement(r.Fragment,null,i.a.createElement(_.AdUnit,{adName:"hero",showLabel:!1,position:"1",md:!0,lg:!0,xl:!0,refreshable:!1,renderWhenViewable:!1}),i.a.createElement(_.AdUnit,{adName:"mhero",showLabel:!1,position:"1",xs:!0,sm:!0,refreshable:!1,renderWhenViewable:!1}))):null}}P.propTypes={slides:l.a.arrayOf(l.a.shape({href:l.a.string,title:l.a.string,url:l.a.string,cta:l.a.shape({ctaText:l.a.string,ctaLink:l.a.shape()})})),adContent:C.a.Content,children:l.a.node,classes:l.a.string,carouselClasses:l.a.string,isMobile:l.a.bool,imageSize:l.a.number},P.defaultProps={slides:[],adContent:k.a,children:"",classes:"",carouselClasses:"",isMobile:!1,imageSize:E.b.max}},"./site-modules/shared/components/editorial/editorial-hero-carousel/editorial-hero-carousel.scss":function(e,t,a){},"./site-modules/shared/components/editorial/section-heading/section-heading.jsx":function(e,t,a){"use strict";a.d(t,"c",function(){return c}),a.d(t,"a",function(){return d}),a.d(t,"b",function(){return m});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("../node_modules/prop-types/index.js"),o=a.n(i);a("./site-modules/shared/components/editorial/section-heading/section-heading.scss");function l(e){let t=e.children,a=e.href,s=e.tracking;const i={"data-tracking-id":s.id,"data-tracking-value":s.value};return r.a.createElement("a",Object(n.a)({href:a,className:"linkout float-right"},i),t)}function c(e){let t=e.children,a=e.linkout,n=e.linkoutText,s=e.textClassName,i=e.containerClassName;return r.a.createElement("div",{className:i},r.a.createElement("span",{className:s},t),a&&n&&r.a.createElement(l,a,n))}l.propTypes={tracking:o.a.shape({id:o.a.string,value:o.a.string}),href:o.a.string.isRequired,children:o.a.node.isRequired},l.defaultProps={tracking:{id:null,value:null}};const d="py-0_75 px-1 bg-gray-lighter section-heading small d-flex flex-column d-lg-block",m="font-weight-bold text-uppercase text-primary";c.propTypes={children:o.a.node.isRequired,linkout:o.a.shape({href:o.a.string,tracking:o.a.object}),linkoutText:o.a.string,textClassName:o.a.string,containerClassName:o.a.string},c.defaultProps={linkout:null,linkoutText:"",tracking:"",textClassName:m,containerClassName:d}},"./site-modules/shared/components/editorial/section-heading/section-heading.scss":function(e,t,a){},"./site-modules/shared/components/editorial/section-list/section-list.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return m});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/dateformat/lib/dateformat.js"),l=a.n(o),c=a("../node_modules/classnames/index.js"),d=a.n(c);function m(e){let t=e.links,a=e.className,n=e.listClassName,r=e.linksClassName,i=e.moreLinkClassName,o=e.trackingValueDecorator,c=e.dataTrackingId,m=e.moreLink;const u=m&&m.name&&m.href;return s.a.createElement("ul",{className:d()("list-unstyled",n)},t.map((e,t)=>{const n=`${e.name}-${t}`,i=!isNaN(new Date(e.date));return s.a.createElement("li",{key:n,className:a},s.a.createElement("a",{href:e.href,className:r,title:e.name,"data-tracking-value":o(e),"data-tracking-id":c},e.name),i?s.a.createElement("div",{className:"xsmall text-gray-light"},l()(e.date,"longDate")):null)}),!!u&&s.a.createElement("li",{key:m.name,className:a},s.a.createElement("a",{href:m.href,className:i,title:m.name},m.name," ",s.a.createElement("span",{className:"icon-arrow-right3 xsmall"}))))}m.defaultProps={className:"",linksClassName:"font-weight-bold",listClassName:"",moreLinkClassName:"font-weight-medium",trackingValueDecorator:e=>e.name,moreLink:null},m.propTypes={links:i.a.arrayOf(i.a.shape({name:i.a.string,href:i.a.string,date:i.a.string})).isRequired,className:i.a.string,listClassName:i.a.string,linksClassName:i.a.string,moreLinkClassName:i.a.string,trackingValueDecorator:i.a.func,dataTrackingId:i.a.string.isRequired,moreLink:i.a.shape({name:i.a.string,href:i.a.string})}},"./site-modules/shared/components/editors-choice-badge/editors-choice-badge.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return u});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o),c=a("./utils/image-helpers.js"),d=a("./site-modules/shared/utils/editors-choice.js");a("./site-modules/shared/components/editors-choice-badge/editors-choice-badge.scss");const m="/img/editors-awards/editors-choice-logo.svg";function u(e){let t=e.vehicleParams,a=e.className,n=e.staticPos;if(!Object(d.a)(t))return null;const r=Object(c.n)(m);return s.a.createElement("img",{className:l()(a,{"editors-choice-badge":!n,"editors-choice-badge-static":n}),src:r,alt:`Editors' choice ${t.year}`})}u.propTypes={vehicleParams:i.a.shape({make:i.a.string,model:i.a.string,year:i.a.oneOfType([i.a.string,i.a.number])}).isRequired,className:i.a.string,staticPos:i.a.bool},u.defaultProps={className:null,staticPos:!1}},"./site-modules/shared/components/editors-choice-badge/editors-choice-badge.scss":function(e,t,a){},"./site-modules/shared/components/experiment/force-default-banner/index.scss":function(e,t,a){},"./site-modules/shared/components/faq/utils.js":function(e,t,a){"use strict";a.d(t,"c",function(){return n}),a.d(t,"a",function(){return s}),a.d(t,"b",function(){return r});a("../node_modules/core-js/modules/es6.regexp.constructor.js"),a("../node_modules/core-js/modules/es6.regexp.split.js");function n(e){return{title:e.title,caption:e.legacy?e.content:e.metadata("htmlContent").value(),entries:e.children().map(e=>({question:e.metadata("question").value(),answer:e.metadata("answer").value()}))}}function s(e){let t=e.pathname,a=e.className,n=void 0===a?"":a,s=e.canonical,r=e.linkText,i=void 0===r?"Learn more":r,o=e.withTracking,l=e.linkNum;if(!t&&!s)return"";return`<a href="${s||`https://www.edmunds.com${t}`}${o&&l?`?utm_source=google&utm_medium=organic_search&utm_campaign=faq_zero_box&utm_content=link${l}`:""}"${n?` class="${n}"`:""}>${i}</a>`}function r(e){let t=e.answer,a=e.pathname,n=e.canonical,s=e.learnMoreLink;return s?function(e){let t=e.answer,a=e.pathname,n=e.canonical;const s=n?n.split("edmunds.com")[1]:a;return new RegExp(`href=".*${s}"`).test(t)}({answer:t,pathname:a,canonical:n})?t:`${t} ${s}`:t}},"./site-modules/shared/components/field-error/field-error.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return c});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o);function c(e){let t=e.error,a=e.classes,n=e.id;return t?s.a.createElement("div",{id:n,className:l()("text-danger small",a)},t):null}c.propTypes={error:i.a.string,classes:i.a.string,id:i.a.string.isRequired},c.defaultProps={error:null,classes:""}},"./site-modules/shared/components/floodlight/floodlight-ad.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return o});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("./site-modules/shared/components/ad-unit/ad-unit.jsx");function o(e){return r.a.createElement("div",{className:"floodlight d-none"},r.a.createElement(i.AdUnit,Object(n.a)({adName:"floodlight",position:"1",nativeStyle:"floodlight",all:!0,renderWhenViewable:!1,refreshable:!1,showLabel:!1},e)))}},"./site-modules/shared/components/footer/footer.scss":function(e,t,a){},"./site-modules/shared/components/global-navigation-v2/global-navigation.scss":function(e,t,a){},"./site-modules/shared/components/hash-anchor/hash-anchor.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return c});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o);a("./site-modules/shared/components/hash-anchor/hash-anchor.scss");function c(e){let t=e.name,a=e.children,n=e.className;const r=l()("hash-anchor",n);return s.a.createElement("a",{className:r,name:t},a)}c.propTypes={name:i.a.string.isRequired,children:i.a.node,className:i.a.string},c.defaultProps={children:void 0,className:void 0}},"./site-modules/shared/components/hash-anchor/hash-anchor.scss":function(e,t,a){},"./site-modules/shared/components/heart-button/heart-button.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return c});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/classnames/index.js"),i=a.n(r),o=a("../node_modules/prop-types/index.js"),l=a.n(o);a("./site-modules/shared/components/heart-button/heart-button.scss");function c(e){let t=e.onClick,a=e.trackingId,n=e.trackingValue,r=e.trackingSubactionName,o=e.inProgress,l=e.isActive,c=e.className;const d={"blue-theme":e.blueTheme,"icon-heart4":!l,"icon-heart3":l};return s.a.createElement("button",{className:i()("heart-button",c,d),disabled:o,onClick:t,"data-tracking-id":a,"data-tracking-value":n,"data-subaction-name":r,title:l?"Click to remove":"Click to save","aria-label":l?"Click to remove":"Click to save"})}c.propTypes={onClick:l.a.func.isRequired,trackingId:l.a.string.isRequired,trackingValue:l.a.string,trackingSubactionName:l.a.string,isActive:l.a.bool,inProgress:l.a.bool,blueTheme:l.a.bool,className:l.a.string},c.defaultProps={isActive:!1,inProgress:!1,blueTheme:!1,trackingValue:null,trackingSubactionName:null,className:null}},"./site-modules/shared/components/heart-button/heart-button.scss":function(e,t,a){},"./site-modules/shared/components/hero-carousel/hero-carousel.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return E});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),r=a("../node_modules/react/index.js"),i=a.n(r),o=a("../node_modules/prop-types/index.js"),l=a.n(o),c=a("../node_modules/reactstrap/lib/Row.js"),d=a.n(c),m=a("../node_modules/reactstrap/lib/Col.js"),u=a.n(m),p=a("../node_modules/reactstrap/lib/Container.js"),h=a.n(p),g=a("../node_modules/classnames/index.js"),b=a.n(g),v=a("./site-modules/shared/components/carousel/carousel.jsx");a("./site-modules/shared/components/hero-carousel/hero-carousel.scss");const f={fluid:!0,contentType:"photo"};class E extends r.Component{render(){const e=this.props,t=e.id,a=e.slides,r=e.children,o=e.className,l=e.lazyLoad,c=e.autoplay,m=e.autoplaySpeed,p=e.dots,g=e.arrows,E=e.afterChange,y=e.beforeChange,_=e.customEventData,C=e.draggable,k=e.swipe,N=e.swipeEvent,j=e.carouselRef,O=Object(s.a)({},f,{lazyLoad:l,autoplay:c,autoplaySpeed:m,dots:p,arrows:g,afterChange:E,beforeChange:y,customEventData:_,draggable:C,swipe:k,swipeEvent:N});return i.a.createElement(h.a,{fluid:!0,className:b()("hero-carousel",o,"px-0"),id:t,"data-tracking-parent":this.props["data-tracking-parent"]},r&&i.a.createElement(d.a,{className:"hero-content no-gutters"},i.a.createElement(u.a,null,r)),i.a.createElement(d.a,{className:"no-gutters"},i.a.createElement(u.a,null,a.length&&i.a.createElement(v.a,Object(n.a)({},O,{ref:j}),a))))}}E.propTypes={id:l.a.string,slides:l.a.arrayOf(l.a.element).isRequired,children:l.a.oneOfType([l.a.node,l.a.arrayOf(l.a.node)]),className:l.a.string,autoplay:l.a.bool,autoplaySpeed:l.a.number,"data-tracking-parent":l.a.string.isRequired,dots:l.a.bool,arrows:l.a.bool,lazyLoad:l.a.bool,afterChange:l.a.func,beforeChange:l.a.func,customEventData:l.a.shape({}),draggable:l.a.bool,swipe:l.a.bool,swipeEvent:l.a.func,carouselRef:l.a.func},E.defaultProps={id:null,lazyLoad:!0,children:null,className:"",autoplay:!1,autoplaySpeed:3e3,dots:!1,arrows:!0,afterChange:null,beforeChange:null,customEventData:null,draggable:!0,swipe:!0,swipeEvent:null,carouselRef:()=>{}},E.displayName="HeroCarousel"},"./site-modules/shared/components/hero-carousel/hero-carousel.scss":function(e,t,a){},"./site-modules/shared/components/home-vehicle-search/home-vehicle-search.scss":function(e,t,a){},"./site-modules/shared/components/image/image.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return m});var n=a("../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("../node_modules/prop-types/index.js"),o=a.n(i),l=a("../node_modules/classnames/index.js"),c=a.n(l),d=a("./utils/image-helpers.js");class m extends s.Component{constructor(e){super(e),this.onErrorHandler=(e=>{const t=this.props,a=t.errorImage,n=t.onError;a&&Object(d.t)(a)(e),n&&n()}),this.refImg=(e=>{this.img=e}),this.img=r.a.createRef()}componentDidMount(){const e=this.props,t=e.errorImage,a=e.onError;this.img.complete&&0===this.img.naturalWidth&&(t&&(this.img.src=t),a&&a())}render(){const e=this.props,t=e.imageId,a=e.width,s=e.source,i=e.alt,o=e.className;if(a&&Number.isInteger(a)){const e=Object(d.e)(a),l=Object(n.a)(e,2),m=l[0],u=l[1],p=Object(d.i)(t,m,s);return r.a.createElement("img",{"data-test":"image",src:p,width:`${m}`,height:`${u}`,alt:i,className:c()(o),onError:this.onErrorHandler,ref:this.refImg})}const l=Object(d.i)(t,void 0,s);return r.a.createElement("img",{"data-test":"image",src:l,alt:i,ref:this.refImg,className:c()(o),onError:this.onErrorHandler})}}m.propTypes={imageId:o.a.string.isRequired,width:o.a.number,source:o.a.string.isRequired,alt:o.a.string,className:o.a.string,onError:o.a.func,errorImage:o.a.string},m.defaultProps={width:void 0,alt:"",className:"",onError:null,errorImage:""}},"./site-modules/shared/components/impression-tracker/impression-tracker.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return o});a("../node_modules/core-js/modules/es6.regexp.replace.js");var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r);function o(e){let t=e.src;if(!t)return null;const a=Date.now();return s.a.createElement("img",{alt:"",src:`${t.replace("[timestamp]",a)}`,style:{width:"1px",height:"1px"}})}o.propTypes={src:i.a.string},o.defaultProps={src:""}},"./site-modules/shared/components/inventory-price/inventory-price.jsx":function(e,t,a){"use strict";a.d(t,"b",function(){return m}),a.d(t,"a",function(){return u});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("./data/models/inventory.js"),l=a("./site-modules/shared/utils/price-utils.js"),c=a("./site-modules/shared/utils/inventory-utils.js");a("./site-modules/shared/components/inventory-price/inventory-price.scss");const d="Not Listed";function m(e){return e&&e>500?Object(l.a)(e):d}function u(e){let t=e.type,a=e.prices.displayPrice,r=e.bestDealPrice,i=e.productFeatures,o=e.priceClasses,l=e.priceNameClasses,d=e.priceNameUsed,u=e.priceNameNew,p=e.forceStrikethrough,h=e.isBestDealPriceEnabled;const g=i.ppInventory,b=i.lpInventory,v=i.upInventory,f=Object(c.A)(t),E=m(h?r:a);return s.a.createElement(n.Fragment,null,s.a.createElement("span",{className:l},f?d:u),s.a.createElement("span",{className:o},(g||b||v||p)&&!h?s.a.createElement("s",null,E):E))}u.propTypes={type:i.a.string.isRequired,prices:o.b.Prices,bestDealPrice:i.a.number,productFeatures:i.a.shape({lpInventory:i.a.bool,upInventory:i.a.bool,ppInventory:i.a.bool}),priceClasses:i.a.string,priceNameClasses:i.a.string,priceNameUsed:i.a.string,priceNameNew:i.a.string,forceStrikethrough:i.a.bool,isBestDealPriceEnabled:i.a.bool},u.defaultProps={prices:{displayPrice:0},bestDealPrice:0,productFeatures:{lpInventory:!1,upInventory:!1,ppInventory:!1},priceClasses:"display-4 font-weight-bold",priceNameClasses:"pr-0_5 small",priceNameUsed:"List:",priceNameNew:"MSRP:",forceStrikethrough:!1,isBestDealPriceEnabled:!1}},"./site-modules/shared/components/inventory-price/inventory-price.scss":function(e,t,a){},"./site-modules/shared/components/inventory/helpers/vehicle-history-helper.js":function(e,t,a){"use strict";a.d(t,"a",function(){return o}),a.d(t,"b",function(){return d}),a.d(t,"c",function(){return j}),a.d(t,"i",function(){return O}),a.d(t,"d",function(){return T}),a.d(t,"e",function(){return S}),a.d(t,"h",function(){return I}),a.d(t,"g",function(){return x}),a.d(t,"f",function(){return A});a("../node_modules/core-js/modules/es6.regexp.replace.js");var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/lodash/isBoolean.js"),r=a.n(s),i=a("./utils/image-helpers.js");const o="FREE_CARFAX",l="PAID_CARFAX",c="CARFAX",d="FREE_EXPERIAN",m="PAID_EXPERIAN",u="EXPERIAN",p="1_Owner_logo_Transparent.png",h="Title issue details not available.",g={[o]:{url:"//www.carfax.com/VehicleHistory/p/Report.cfx?partner=EMS_0&vin=:vin",title:"View Free CARFAX Report",trackingId:"free_carfax",image:"carfax-logo-small.gif"},[l]:{url:"//www.carfax.com/cfm/check_order.cfm?partner=EMS_0&vin=:vin",title:"Buy CARFAX Report",trackingId:"paid_carfax",image:"carfax-logo-small.gif"},[d]:{url:"/api/inventory/findexperianbyvin/?vin=:vin&franchiseId=:franchiseId&siteid=3402&timeout=1000",title:"View Free AutoCheck Report",trackingId:"free_experian",image:"autocheck_logo.jpg"},[m]:{url:"//www.autocheck.com/vehiclehistory/landing?siteID=3402&vin=:vin&franchiseId=:franchiseId",title:"Buy AutoCheck Report",trackingId:"paid_experian",image:"autocheck_logo.jpg"}},b="oneOwner",v="noAccidents",f="personalUse",E="commercialUse",y={[b]:{positive:{title:"One Owner",content:"This vehicle has 1 reported owner.",icon:"user"},negative:{title:"Multiple Owners",content:"This vehicle had more than one owner.",icon:"users4"},notProvided:{title:"Owner Data Not Provided",content:"Number of owners was not provided.",icon:"question3",trackingValue:"owners"}},[v]:{positive:{title:"No Accidents",content:"This vehicle has 0 reported accidents.",icon:"clipboard5"},notProvided:{title:"Accident Data Not Provided",content:"Accident information was not provided.",icon:"question3",trackingValue:"accidents"}},[f]:{positive:{title:"Personal Use",content:"This vehicle has not been reported to be used as a fleet, rental, or lease vehicle.",icon:"home5"},notProvided:{title:"Vehicle Usage Data Not Provided",content:"Vehicle usage (personal use vs. commercial/fleet use) was not provided to us on this vehicle.",icon:"question3",trackingValue:"vehicle_usage"}},[E]:{positive:{title:"Commercial / Fleet Use",content:"This vehicle has been reported to be used as a fleet, rental, or lease vehicle.",icon:"truck"},notProvided:{title:"Vehicle Usage Data Not Provided",content:"Vehicle usage (personal use vs. commercial/fleet use) was not provided to us on this vehicle.",icon:"question3",trackingValue:"vehicle_usage"}}},_="ownerText",C="accidentText",k="usageType",N="cleanTitle",j={[_]:{1:{title:"One Owner",content:"This vehicle has 1 reported owner.",icon:"user"},2:{title:"Two Owners",content:"This vehicle has 2 reported owners.",icon:"users"},more:{title:"3+ Owners",content:"This vehicle has multiple reported owners.",icon:"users4"},notProvided:{title:"Owner Data Not Provided",content:"Number of owners was not provided.",icon:"question3"}},[C]:{0:{title:"No Accidents",content:"This vehicle has 0 reported accidents.",icon:"clipboard5"},1:{title:"Accident Reported",content:"This vehicle has 1 reported accident.",icon:"warning2"},more:{title:"Accidents Reported",content:"This vehicle has multiple reported accidents.",icon:"warning2"},notProvided:{title:"Accident Data Not Provided",content:"Accident information was not provided.",icon:"question3"}},[k]:{"Personal Use":{title:"Personal Use Only",content:"This vehicle was used by an individual.",icon:"home5"},"Livery Use":{title:"Livery Use",content:"This was a vehicle for hire along with a driver.",icon:"car2"},"Rental Use":{title:"Rental Use",content:"This was a rental vehicle.",icon:"car"},"Commercial Use":{title:"Commercial Use",content:"This was a commercial vehicle.",icon:"truck"},"Government Use":{title:"Government Use",content:"This was a government vehicle.",icon:"car"},"Taxi Use":{title:"Taxi Use",content:"This vehicle was used as a taxi.",icon:"car2"},Taxi:{title:"Taxi Use",content:"This vehicle was used as a taxi.",icon:"car2"},Lease:{title:"Lease Use",content:"This vehicle was leased by an individual.",icon:"car"},"Corporate Fleet":{title:"Corporate Fleet Use",content:"This vehicle was part of a corporate fleet.",icon:"user-tie"},Police:{title:"Police Use",content:"This was a police vehicle.",icon:"alarm12"},"Driver's Education":{title:"Driver's Education",content:"This vehicle was used for driver\u2019s education.",icon:"car"},notProvided:{title:"Usage Type Not Provided",content:"Usage information was not provided.",icon:"question3"}},[N]:{positive:{title:"Clean Title",content:"No title issues reported.",icon:"clipboard5"},negative:{title:"Title Issues Reported",icon:"warning2"},notProvided:{title:"Title Information Not Provided",content:"Information about title/damage issues were not provided.",icon:"question3"}}};function O(e,t){const a=g[e]||{},n=t&&e.includes(c)?p:a.image;return n?Object(i.n)(`/img/used-inventory/${n}`):""}function T(e,t,a){const s=g[e];return s?Object(n.a)({},s,{url:s.url.replace(":vin",t).replace(":franchiseId",a)}):null}function S(e,t){return t===c?e?o:l:t===u?e?d:m:""}function I(e,t,a){return(a===o?o:"")||S(e,t)||l}function w(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:h;return e.map(e=>{let n=e.point,s=e.value;const i=t[n];let o,l=!1;if(r()(s)?o=s?"positive":"negative":s?o=i[s]?s:"more":(o="notProvided",l=!0),!i[o])return null;const c=i[o],d=c.title,m=c.content,u=c.icon,p=c.trackingValue;return{name:n,title:d,content:n!==N||m?m:a,icon:u,trackingValue:p,isProvided:!!s,isCarCodeLinkAvailable:l}})}function x(e){const t=e.ownerText,a=e.accidentText,n=e.usageType,s=e.cleanTitle,r=e.titleDescription;return w([{point:_,value:t},{point:C,value:a},{point:k,value:n},{point:N,value:s}],j,r)}function A(e,t,a){return t===o?function(e){const t=[{point:b,value:e.oneOwner}],a=[{point:C},{point:k},{point:N}],n=w(t,y),s=w(a,j);return n.concat(s)}(a):e&&e.includes(u)?x(a):e&&e.includes(c)?function(e){const t=e.oneOwner,a=e.personalUseOnly,n=e.noAccidents;return w([{point:b,value:t},{point:v,value:n},{point:a?f:E,value:a}],y)}(a):w([{point:_},{point:C},{point:k},{point:N}],j)}},"./site-modules/shared/components/lead-form/lead-form-drawer/lead-form-drawer.jsx":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/lodash/get.js"),r=a.n(s),i=a("../node_modules/lodash/set.js"),o=a.n(i),l=a("../node_modules/react/index.js"),c=a.n(l),d=a("../node_modules/prop-types/index.js"),m=a.n(d),u=a("../node_modules/reactstrap/lib/Container.js"),p=a.n(u),h=a("../node_modules/react-redux/es/index.js"),g=a("./selectors/experiment.js"),b=a("./site-modules/shared/components/drawer/drawer.jsx");class v extends l.Component{constructor(e){super(e),this.openDrawer=(()=>{this.setState({isOpen:!0})}),this.closeDrawer=(()=>{this.setState({isRender:!1})}),this.state={isOpen:!1,isRender:!1}}static getDerivedStateFromProps(e,t){return e.isOpen&&!t.isOpen?{isRender:!0}:!e.isOpen&&t.isOpen?{isOpen:!1}:null}componentDidUpdate(e){const t=this.props,a=t.isOpen,n=t.shouldRemoveOnClose;a!==e.isOpen&&(a?this.openDrawer():n&&setTimeout(this.closeDrawer,b.b))}render(){return this.state.isRender?c.a.createElement(b.a,Object(n.a)({},this.props,{isOpen:this.state.isOpen})):null}}v.propTypes={isOpen:m.a.bool.isRequired,shouldRemoveOnClose:m.a.bool},v.defaultProps={shouldRemoveOnClose:!0};var f=a("./site-modules/shared/components/drawer/drawer-close-button/drawer-close-button.jsx");a("./site-modules/shared/components/lead-form/lead-form-drawer/lead-form-drawer.scss");function E(e){let t=e.url,a=e.component,s=e.componentData;return a?c.a.createElement(p.a,null,c.a.createElement(a,Object(n.a)({},s,{url:t}))):c.a.createElement("div",{className:"text-center"},c.a.createElement("iframe",{className:"lead-form-drawer-iframe border-0 w-100",title:"Lead Form",scrolling:"no",src:t}))}a.d(t,"a",function(){return _}),E.propTypes={url:m.a.string.isRequired,component:m.a.oneOfType([m.a.func,m.a.object]),componentData:m.a.shape({})},E.defaultProps={component:null,componentData:{}};class y extends l.Component{constructor(){super(...arguments),this.state={isLeadFormComponentLoaded:!1}}static getDerivedStateFromProps(e,t){return e.isOpen&&!t.isLeadFormComponentLoaded?{isLeadFormComponentLoaded:!0}:null}render(){const e=this.props,t=e.dataTrackingParent,a=e.url,n=e.isOpen,s=e.onDrawerToggle,i=e.component,l=e.componentData,d=e.shouldRemoveOnClose,m=e.isTpt508DrawerChal,u=o()(l,"options.isUserOpened",!0),p=this.state.isLeadFormComponentLoaded,h=r()(l,"options.isMobile",!1),g=m&&!h?"small":"medium";return c.a.createElement(v,{isOpen:n,shouldRemoveOnClose:d,side:"right",size:g,toggle:s,classNames:{drawer:"lead-form-drawer"},"data-tracking-parent":t},c.a.createElement("div",{className:"px-0_5 px-md-1"},c.a.createElement(f.a,{onClick:s}),p&&c.a.createElement(E,{url:a,component:i,componentData:u})))}}y.propTypes={url:m.a.string.isRequired,isOpen:m.a.bool.isRequired,onDrawerToggle:m.a.func.isRequired,component:m.a.oneOfType([m.a.func,m.a.object]),componentData:m.a.shape({}),dataTrackingParent:m.a.string,shouldRemoveOnClose:m.a.bool,isTpt508DrawerChal:m.a.bool},y.defaultProps={component:null,componentData:{},dataTrackingParent:"lead-form-request-price-offer-drawer",shouldRemoveOnClose:!0,isTpt508DrawerChal:!1};const _=Object(h.c)(e=>({isTpt508DrawerChal:"chal"===Object(g.b)(e,"tpt-508-drawer")}))(y)},"./site-modules/shared/components/lead-form/lead-form-drawer/lead-form-drawer.scss":function(e,t,a){},"./site-modules/shared/components/lead-form/unified-lead-form-pages/transparent-pricing-lead-form.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return O});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),r=a("../node_modules/lodash/random.js"),i=a.n(r),o=a("../node_modules/lodash/set.js"),l=a.n(o),c=a("../node_modules/lodash/cloneDeep.js"),d=a.n(c),m=a("../node_modules/lodash/get.js"),u=a.n(m),p=a("../node_modules/react/index.js"),h=a.n(p),g=a("../node_modules/prop-types/index.js"),b=a.n(g),v=a("./data/models/vehicle.js"),f=a("./site-modules/shared/constants/lead-form/lead-form-params.js"),E=a("./site-modules/shared/components/lead-form/unified-lead-form/constants/creative-ids.js"),y=a("./site-modules/shared/constants/lead-form/lead-form-configs.js"),_=a("./site-modules/shared/components/lead-form/unified-lead-form/unified-lead-form-async.jsx"),C=a("./site-modules/shared/components/lead-form/utils/utils.js"),k=a("./site-modules/shared/components/experiment/venom-experiments.js"),N=a("./utils/experiment/experiment-util.js"),j=a("./site-modules/shared/utils/storage.js");class O extends p.Component{constructor(){super(...arguments),this.state={randomPeopleA:null,randomPeopleB:null},this.getSessionStorageVals=(()=>{this.setState(()=>({randomPeopleA:this.storage.get("RAND_COUNT_A"),randomPeopleB:this.storage.get("RAND_COUNT_B")}))})}componentDidMount(){if(this.storage=new j.a("sessionStorage"),!this.storage.get("RAND_COUNT_A")){const e=i()(500,2e3),t=i()(500,2e3);this.storage.set("RAND_COUNT_A",e),this.storage.set("RAND_COUNT_B",t)}this.getSessionStorageVals()}render(){const e=this.props,t=e.params,a=e.options,r=this.state,i=r.randomPeopleA,o=r.randomPeopleB,c=t.vehicle,m=t.styleId,p=t.trim,g=t.zipCode,b=t.radius,v=t.srpLink,j=t.city,O=a.isMobile,T=a.isUserOpened,S=void 0!==T&&T,I=a.creativeId,w=a.disableSrpLink,x=a.coreConfiguration,A=w?null:{text:"See all for sale",to:v},R=[{name:"trim",value:u()(x,"trim",p)},{name:"style",value:u()(x,"style")},{name:"city",value:j},{name:"randomPeopleA",value:`${i}`},{name:"randomPeopleB",value:`${o}`}],P={leadType:f.e.ANY,creativeId:I||E.a.NEW_MULTI_CORE,isUserOpened:S,leadFormConfig:{cardView:f.a.DEALER_PRICE,submitButtonText:"Get Dealers' Best Price",userInfoPosition:O?1:void 0,preSelectedCardNumbers:3,headerConfig:{headerComponent:f.b.EMBEDDED,header:{showLogo:!1,text:"[savingsValue=0?Save with Edmunds:Save up to {savingsValue} with Edmunds]",explainingText:'**Did you know?** <span id="primaryText">Most dealers can\'t post their lowest prices online. Use this form and you\'ll get their best price via email.</span><span class="d-none" id="random-a">{randomPeopleA} people around {city} used this form to save money last month. Start here to get dealers\u2019 best price via email.</span><span class="d-none" id="random-b">{randomPeopleB} people around {city} used this page to save money last month. Use this form and you\'ll get dealers\u2019 best price via email.</span><p />\n\n{minBestDealPrice=0?:Edmunds suggests you pay about {minBestDealPrice}, see if these dealers can beat it!}'}}},thankYouComponent:f.j.TRANSPARENT_PRICING,thankYouConfig:{headerConfig:{header:{text:"Smart move!",explainingText:"You\u2019re on your way to savings. Here\u2019s what to do next:",showSeparator:"false"}},options:{srpLink:A}},explainingTextParams:R};"chal1"===(N.a.getForcedRecipeName({campaignName:"tpt-574-multi"})||N.a.getAssignedRecipeName({campaignName:"tpt-574-multi"}))&&(l()(P,"leadFormConfig.showIncentives",!0),l()(P,"leadFormConfig.isHiddenIncentives",!0));const L=d()(P);l()(L,"leadFormConfig.submitButtonText","Request Dealers' Best Price");const D=Object(s.a)({},Object(C.n)()(c),{styleId:m,trim:p,radius:b,zipCode:g,pathname:Object(C.h)(a),config:y.b.QUICK_QUOTES_CPL});return h.a.createElement(k.a,{name:"tpt-512-cta",showDefault:!0},h.a.createElement(k.b,{name:"ctrl",isDefault:!0},h.a.createElement(_.a,Object(n.a)({},D,{customConfig:P}))),h.a.createElement(k.b,{name:"chal"},h.a.createElement(_.a,Object(n.a)({},D,{customConfig:L}))))}}O.propTypes={params:b.a.shape({zipCode:b.a.oneOfType([b.a.string,b.a.number]).isRequired,radius:b.a.number.isRequired,disableSrpLink:b.a.bool,city:b.a.string,vehicle:v.d.MakeModelSubmodelYear.isRequired}).isRequired,options:b.a.shape({isMobile:b.a.bool,isUserOpened:b.a.bool,creativeId:b.a.string}).isRequired}},"./site-modules/shared/components/lead-form/unified-lead-form/constants/creative-ids.js":function(e,t,a){"use strict";a.d(t,"a",function(){return n});const n={USED_PLUS_SINGLE_VDP:"up_single_vdp",USED_PLUS_SINGLE_VDP_APPOINTMENT:"up_single_vdp_appointment",USED_PLUS_SINGLE_SRP:"up_single_srp",USED_PLUS_DISCOUNT_SINGLE_VDP:"upd_single_vdp",USED_PLUS_DISCOUNT_SINGLE_SRP:"upd_single_srp",USED_SINGLE_BASE_VDP:"uci_single_vdp",USED_SINGLE_BASE_VDP_APPOINTMENT:"uci_single_vdp_appointment",USED_SINGLE_BASE_SRP:"uci_single_srp",NEW_SINGLE_BASE_VDP:"nci_single_vdp",NEW_SINGLE_VDP_EMBEDDED:"nci_single_vdp_embedded",USED_SINGLE_VDP_EMBEDDED:"uci_single_vdp_embedded",USED_PLUS_SINGLE_VDP_EMBEDDED:"up_single_vdp_embedded",NEW_SINGLE_BASE_VDP_APPOINTMENT:"nci_single_vdp_appointment",NEW_MULTI_BASE_VDP:"nci_multi_vdp",NEW_MULTI_BASE_SRP:"nci_multi_srp",NEW_MULTI_BASE_SRP_DRAWER:"nci_multi_srp_drawer",NEW_MULTI_CORE:"nci_multi_core",NEW_MULTI_CORE_TOP:"nci_multi_core_top",NEW_MULTI_BUILD:"nci_multi_build",NEW_MULTI_SRP_EMBEDDED:"nci_multi_srp_embedded",NEW_MULTI_CORE_EMBEDDED:"nci_multi_core_embedded",NEW_MULTI_FEATURES_EMBEDDED:"nci_multi_features_embedded",NEW_MULTI_CONSUMER_REVIEWS_EMBEDDED:"nci_multi_consumer_reviews_embedded",NEW_SINGLE_PP_VDP:"npp_single_vdp",NEW_MULTI_PP_SRP:"npp_multi_srp",NEW_MULTI_DEALER_LOCATOR:"npp_multi_dl",QUICK_QUOTES_BASE:"dl_qq_base",QUICK_QUOTES_PP:"dl_qq_pp",QUICK_QUOTES_JLR:"dl_jlr_qq_base",BUILD_PRICE_SRP:"bpsrp",CONFIGURATOR:"dl_configurator",NCI_ELF_PRICING:"nci_elf_pricing",NCI_ELF_PRICING_BUILD:"nci_elf_pricing_build"}},"./site-modules/shared/components/lead-form/unified-lead-form/unified-lead-form-async.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return s});var n=a("./site-modules/shared/components/lazy-load/lazy-load.jsx");const s=Object(n.a)({loader:()=>Promise.all([a.e(0),a.e(3),a.e(8),a.e(30),a.e(1),a.e(2),a.e(4),a.e(7),a.e(20),a.e("unified-lead-form")]).then(a.bind(null,"./site-modules/shared/components/lead-form/unified-lead-form/unified-lead-form.jsx")),componentName:"UnifiedLeadForm"})},"./site-modules/shared/components/lead-form/utils/utils.js":function(e,t,a){"use strict";a.d(t,"f",function(){return g}),a.d(t,"c",function(){return b}),a.d(t,"g",function(){return v}),a.d(t,"d",function(){return f}),a.d(t,"i",function(){return E}),a.d(t,"e",function(){return y}),a.d(t,"j",function(){return _}),a.d(t,"a",function(){return k}),a.d(t,"m",function(){return N}),a.d(t,"o",function(){return j}),a.d(t,"b",function(){return O}),a.d(t,"p",function(){return T}),a.d(t,"k",function(){return S}),a.d(t,"n",function(){return w}),a.d(t,"h",function(){return x}),a.d(t,"l",function(){return A});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=(a("../node_modules/core-js/modules/es6.regexp.constructor.js"),a("../node_modules/core-js/modules/es6.regexp.replace.js"),a("../node_modules/lodash/get.js")),r=a.n(s),i=a("../node_modules/lodash/fp/getOr.js"),o=a.n(i),l=a("./site-modules/shared/utils/nice-name.js"),c=a("./site-modules/shared/utils/price-utils.js"),d=a("./site-modules/shared/constants/lead-form/lead-form-params.js"),m=a("./site-modules/shared/constants/lead-form/lead-form-configs.js"),u=a("./utils/image-helpers.js"),p=a("./site-modules/shared/constants/images.js"),h=a("./site-modules/shared/utils/dealer-details-utils.js");function g(e){return e.inventory?d.e.INVENTORY:e.dealer?d.e.DEALER:null}function b(e){return e.inventory?d.a.INVENTORY:e.dealer?d.a.DEALER:null}function v(e){return r()(e,"inventory.vin",r()(e,".dealer.id",r()(e,"dealer.uniqueKey",r()(e,"dealer.rooftopId"))))}function f(e){const t=g(e),a=e[t].dealerInfo||e[t];return parseInt(r()(a,"franchiseId",r()(a,"id",r()(a,"uniqueKey",r()(a,"rooftopId"))),0),10)}function E(e){const t=e.find(e=>{return e.leadAttributes.primary});return parseInt(r()(t,"inventory.vehicleInfo.styleInfo.styleId",0),10)}function y(e,t){const a=g(e);if(a===d.e.INVENTORY)return{vin:e[a].vin};if(a===d.e.DEALER&&t)return{styleId:parseInt(t,10)};if(a===d.e.DEALER){return{styleId:parseInt(r()(e,"vehicle.styleId",0),10)}}return{}}function _(e){const t=e.leadTargets,a=e.make,n=e.model,s=e.year,i=e.submodel,o=e.userInfo,l=e.customConfig,d=1===t.length?r()(t[0],"inventory.dealerInfo.name"):"",m=t.reduce((e,t)=>{const a=r()(t,"inventory.prices.displayPrice",0);if(0===a)return e;const n=r()(t,"inventory.computedInfo.bestDealPrice",0),s=n?a-n:0,i=e.savings,o=e.minBestDealPrice,l=e.minDisplayPrice;return{savings:i<s?s:i,minBestDealPrice:n<o&&n>0||0===o?n:o,minDisplayPrice:a<l&&a>0||0===l?a:l}},{savings:0,minBestDealPrice:0,minDisplayPrice:0}),u=m.savings,p=m.minBestDealPrice,h=m.minDisplayPrice,g=r()(l,"explainingTextParams",[]);return[{name:"dealerName",value:d},{name:"make",value:a},{name:"model",value:n},{name:"submodel",value:i},{name:"year",value:`${s}`},{name:"lead_number",value:`${t.length}`},{name:"firstName",value:r()(o,"firstName")},{name:"lastName",value:r()(o,"lastName")},{name:"savingsValue",value:u?Object(c.a)(u):"0"},{name:"minBestDealPrice",value:p?Object(c.a)(p):"0"},{name:"minDisplayPrice",value:h?Object(c.a)(h):"0"}].concat(g.map(e=>{return{name:e.name,value:`${e.value||0}`}}))}function C(e,t,a){let n=t;for(;;){const t=a.exec(n);if(!t)break;const s=(e.value===t[1]?t[2]:t[3]).replace(/\$/g,"$$$$");n=n.replace(a,s)}return n}function k(e,t){return t&&e.length?e.reduce((e,t)=>{const a=new RegExp(`{${t.name}}`,"gm");let n=e.replace(a,t.value);return n=C(t,n,new RegExp(`\\<\\<${t.name}=(\\d+)\\?([\\s\\S]*?):([\\s\\S]*?)\\>\\>`)),n=C(t,n,new RegExp(`\\[${t.name}=(\\d+)\\?([\\s\\S]*?):([\\s\\S]*?)\\]`)),n=C(t,n,new RegExp(`\\{${t.name}=(\\d+)\\?([\\s\\S]*?):([\\s\\S]*?)\\}`))},t):t}function N(e,t){let a=r()(e,"photo.defaultPhoto.large.url");if(!a&&t){const t=e.styleInfo,n=t.year,s=t.make,r=t.model;a=Object(u.l)({make:{slug:Object(l.b)(s)},model:{slug:Object(l.b)(r)},year:n},256)}return a=a||Object(u.n)(p.c)}function j(e,t,a){return t.sort((e,t)=>{let n=e.leadId,s=t.leadId;return a.indexOf(n)-a.indexOf(s)}).map((t,a)=>Object(n.a)({},t,{leadAttributes:Object(n.a)({},e[a].leadAttributes)}))}function O(e){const t={};return e.forEach(e=>{const a=e.vin;t[a]?t[a].inventoryTitle.push(r()(e,"computedDisplayInfo.sortType","")):(t[a]=e,t[a].inventoryTitle=[r()(e,"computedDisplayInfo.sortType","")])}),Object.values(t).map(e=>({inventory:e,leadAttributes:{distance:e.dealerInfo.distance,primary:!1,selected:!1}}))}function T(e){return e.filter(e=>{const t=r()(e,"inventory.dealerInfo.displayInfo.parentDealershipName","");return!Object(h.a)(t)&&!Object(h.b)(t)})}function S(e,t,a){let n=e.filter(e=>r()(e,"inventory.vin")!==t);if(a===m.e.QUICK_QUOTES){const e=(n=T(n)).filter(e=>e[d.e.INVENTORY]);if(e.length<4){const t=n.filter(e=>e[d.e.DEALER]);n=e.concat(t.slice(0,4-e.length))}else n=e.slice(0,4)}return n}const I=[["make","make.name"],["model","model.name"],["year","year"],["submodel","submodels.name"],["submodelIdentifier","submodels.slug"]],w=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:I;return t=>e.reduce((e,a)=>(e[a[0]]=r()(t,a[1]),e),{})},x=o()("","pathname");function A(e){const t=r()(e,"person.firstName"),a=r()(e,"pii.lastName"),n=r()(e,"identifiers.email[0]"),s=r()(e,"lastLeadReference",""),i=s.substring(s.lastIndexOf("/")+1),o=r()(e,"pii.phoneNumbers[0]")||r()(e,`pii.contactInfo.['${i}'].phoneNumbers[0]`,{}),l=o.areaCode,c=o.number;return{firstName:t,lastName:a,email:n,phoneNumber:l&&c&&`(${l}) ${c}`}}},"./site-modules/shared/components/link-widget-section-list/link-widget-section-list.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return m});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o),c=a("./site-modules/shared/components/link/link.jsx");function d(e){let t=e.item,a=e.showSentence;const n=t.href,r=t.anchorText,i=t.title,o=t.contextualSentence,d=a&&!!o;return s.a.createElement("li",null,s.a.createElement(c.a,{to:n,className:l()("size-16",{"text-primary-darker":d})},r||i),d&&s.a.createElement("div",{className:"xsmall"},o))}function m(e){let t=e.widgetData,a=e.showTitle,r=e.showSentence,i=e.linksNumToShow,o=e.multicolHeading;const c=t.links,m=void 0===c?[]:c,u=t.header,p=void 0===u?"":u;if(!m.length)return null;const h=m.slice(0,i||m.length);return s.a.createElement(n.Fragment,null,a&&s.a.createElement("h3",{className:l()("category-heading heading-5 mb-0 text-gray-darker",{multicol:o})},p),s.a.createElement("ul",{className:"link-widget-section list-unstyled text-gray-darker mb-0"},h.map(e=>s.a.createElement(d,{item:e,showSentence:r,key:e.href}))))}d.propTypes={item:i.a.shape({}).isRequired,showSentence:i.a.bool},d.defaultProps={showSentence:!1},m.propTypes={widgetData:i.a.shape({}),showTitle:i.a.bool,showSentence:i.a.bool,linksNumToShow:i.a.number,multicolHeading:i.a.bool},m.defaultProps={widgetData:{},showTitle:!0,showSentence:!1,linksNumToShow:null,multicolHeading:!0}},"./site-modules/shared/components/link-widget/link-widget.jsx":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("../node_modules/prop-types/index.js"),o=a.n(i),l=a("../node_modules/classnames/index.js"),c=a.n(l),d=a("./data/luckdragon/redux/react-binding.jsx"),m=a("./data/models/link-widgets.js"),u=a("./site-modules/shared/components/link-widget-section-list/link-widget-section-list.jsx"),p=a("./site-modules/shared/components/experiment/venom-experiments.js"),h=a("./site-modules/shared/utils/nice-name.js");const g="shop-new-cars",b=[{href:"/best-truck-lease-deals/",title:"Best Truck Lease Deals"},{href:"/best-suv-lease-deals/",title:"Best SUV Lease Deals"}],v={"srp-used-make-model":e=>`${e.make.name} ${e.model.name}`,"srp-used-make":e=>e.make.name,"srp-used-type":e=>e.type},f={"srp-used-make-model":e=>`${e.make.slug}-${e.model.slug}`,"srp-used-make":e=>e.make.slug,"srp-used-type":e=>Object(h.b)(e.type)},E=e=>{let t=e.pageName,a=e.vehicle;switch(t){case"srp-make-lease-deals":case"make-lease-deals":case"srp-make-model-lease-deals":return{categoryName:"best-type-lease-deals",links:b};case"srp-used-make-model":case"srp-used-type":case"srp-used-make":return a?{categoryName:g,links:[{href:(e=>{let t=e.pageName,a=e.vehicle;return`/new-${f[t](a)}-for-sale/`})({pageName:t,vehicle:a}),title:(e=>{let t=e.pageName,a=e.vehicle;return`Shop for a new ${v[t](a)} for sale here`})({pageName:t,vehicle:a})}]}:null;default:return null}};a("./site-modules/shared/components/link-widget/link-widget.scss");function y(e){let t=e.pageName,a=e.vehicle,n=e.divideSections;const s=E({pageName:t,vehicle:a});if(!s)return null;const i=s.categoryName===g,o=n||i;return r.a.createElement(p.a,{name:"SEOT-947",showDefault:!0},r.a.createElement(p.b,{name:"ctrl",isDefault:!0},r.a.createElement(u.a,{widgetData:i?{}:s,multicolHeading:o})),r.a.createElement(p.b,{name:"chal"},r.a.createElement(u.a,{widgetData:s,multicolHeading:o})))}function _(e){let t=e.pageName,a=e.linkWidgets,s=e.title,i=e.showSectionTitle,o=e.showContextualSentence,l=e.appendStaticLinks,d=e.className,m=e.titleClassName,p=e.divideSections,h=e.vehicle,g=[].concat(a);if(l&&g.length){const e=E({pageName:t,vehicle:h});if(e){const t=g.pop();g.push(Object(n.a)({},t,{links:t.links.concat(e.links)}))}}return(g=g.filter(e=>!!e)).length?r.a.createElement("section",{className:c()("vdp-link-widget link-widget",d),"data-tracking-parent":"edm-link-widget"},r.a.createElement("h2",{className:m},s),r.a.createElement("div",{className:"links-lists"},g.map(e=>r.a.createElement(u.a,{widgetData:e,key:e.categoryName||e.header,showTitle:i,showSentence:o,linksNumToShow:e.linksNumToShow,multicolHeading:p})),!l&&r.a.createElement(y,{pageName:t,vehicle:h,divideSections:p}))):null}a.d(t,"b",function(){return _}),a.d(t,"a",function(){return k}),y.propTypes={pageName:o.a.string,vehicle:o.a.shape({}),divideSections:o.a.bool},y.defaultProps={pageName:"",vehicle:null,divideSections:!0},_.propTypes={linkWidgets:m.a.LinkWidgets,title:o.a.string,showSectionTitle:o.a.bool,showContextualSentence:o.a.bool,appendStaticLinks:o.a.bool,pageName:o.a.string,className:o.a.string,titleClassName:o.a.string,divideSections:o.a.bool,vehicle:o.a.shape({make:o.a.shape({name:o.a.string,slug:o.a.string}),model:o.a.shape({name:o.a.string,slug:o.a.string}),type:o.a.string})},_.defaultProps={linkWidgets:[],title:"Related vehicle information",showSectionTitle:!0,showContextualSentence:!1,appendStaticLinks:!1,pageName:"",className:"pb-3",titleClassName:"heading-3 mb-1_5",divideSections:!0,vehicle:null};const C={linkWidgets:Object(d.a)(e=>{let t=e.pageName;return Object(m.d)(t)},m.b)},k=Object(d.b)(_,C)},"./site-modules/shared/components/link-widget/link-widget.scss":function(e,t,a){},"./site-modules/shared/components/link-widget/page-links-widget.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return o});var n=a("./data/luckdragon/redux/react-binding.jsx"),s=a("./data/models/link-widgets.js"),r=a("./site-modules/shared/components/link-widget/link-widget.jsx");const i={linkWidgets:Object(n.a)(Object(s.e)(),s.b)},o=Object(n.b)(r.b,i)},"./site-modules/shared/components/loading-spinner/loading-spinner.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return c});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o);a("./site-modules/shared/components/loading-spinner/loading-spinner.scss");function c(e){let t=e.children,a=e.isLoading,n=e.classes;return s.a.createElement("div",{className:l()("loading-container",n)},a&&s.a.createElement("div",{className:"loading-overlay"},s.a.createElement("div",{className:"spinner-container"},s.a.createElement("i",{className:"icon-spinner8 loading-spinner-icon"}))),t)}c.propTypes={children:i.a.node,isLoading:i.a.bool,classes:i.a.string},c.defaultProps={children:null,isLoading:!1,classes:""}},"./site-modules/shared/components/loading-spinner/loading-spinner.scss":function(e,t,a){},"./site-modules/shared/components/merged-attributes-heart/merged-attributes-heart-tooltip.scss":function(e,t,a){},"./site-modules/shared/components/merged-attributes-heart/merged-attributes-heart.jsx":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),r=a("../node_modules/lodash/get.js"),i=a.n(r),o=a("../node_modules/lodash/isEmpty.js"),l=a.n(o),c=a("../node_modules/react/index.js"),d=a.n(c),m=a("../node_modules/classnames/index.js"),u=a.n(m),p=a("../node_modules/prop-types/index.js"),h=a.n(p),g=a("../node_modules/reactstrap/lib/Button.js"),b=a.n(g),v=a("../node_modules/react-redux/es/index.js"),f=a("./data/luckdragon/redux/react-binding.jsx"),E=a("./site-modules/shared/components/profile/insider-methods.jsx"),y=a("./site-modules/shared/components/spinner/spinner.jsx"),_=a("./data/models/profile/profile.js"),C=a("./site-modules/shared/components/profile/attributes/bundles.js"),k=a("./utils/isomorphic-logger.js"),N=a("./actions/profile.js"),j=a("./site-modules/shared/components/profile/profile-screen.js"),O=a("./site-modules/shared/components/profile/attributes/merged-attributes.js"),T=a("./site-modules/shared/utils/storage.js"),S=a("./site-modules/shared/components/heart-button/heart-button.jsx"),I=a("./engagement-handlers/profile-engagement-handler/profile-engagement-handler.js"),w=a("./site-modules/shared/components/link/link.jsx"),x=a("./site-modules/shared/constants/profile/dashboard-paths.js"),A=a("./utils/event-toolbox.js"),R=a("./tracking/constant.js");a("./site-modules/shared/components/merged-attributes-heart/merged-attributes-heart-tooltip.scss");const P={confirmation:{close:"close_confirmation_x",closeOutside:"close_confirmation"},coachmark:{close:"close_confirmation_x",closeOutside:"close_confirmation"}},L="confirmation";class D extends c.Component{constructor(){super(...arguments),this.initializeClickCloseEvents=(()=>{this.removeClickCloseEvents(),document.addEventListener("click",this.tooltipCloseOutside)}),this.removeClickCloseEvents=(()=>{document.removeEventListener("click",this.tooltipCloseOutside)}),this.tooltipClose=(()=>{const e=this.props.closeCallback;e&&e(`${this.props.type}Disabled`)}),this.tooltipCloseOutside=(()=>{const e=this.props,t=e.type,a=e.pageName,n=e.creativeId,s=R.b.CLOSE_CONFIRMATION,r=R.b.CLOSE_CHECKMARK,i={[L]:s,coachmark:r};A.a.fireTrackAction({event_type:"action_completed",event_data:{action_name:R.b.SAVE_VEHICLE,subaction_name:i[t],action_cause:"link_click",action_category:"user",page_name:a,creative_id:n}}),this.tooltipClose()})}componentDidMount(){const e=this.props.onInit;this.initializeClickCloseEvents(),e&&e()}componentWillUnmount(){this.removeClickCloseEvents()}render(){const e=this.props,t=e.className,a=e.text,n=e.placement,s=e.type,r=e.dashboardLink;return d.a.createElement("div",{className:u()("merged-attributes-heart-tooltip",t)},d.a.createElement("div",{className:u()("tooltip",n)},d.a.createElement("div",{className:"small text-gray-dark tooltip-inner"},a?d.a.createElement("span",null,a):d.a.createElement(c.Fragment,null,"Saved! See all saved models on your"," ",d.a.createElement(w.a,{to:r,className:"text-primary","data-tracking-id":"view_saved_models",rel:"nofollow"},"dashboard"))),d.a.createElement("a",{role:"button",tabIndex:0,className:"tooltip-close btn-link",onClick:this.tooltipClose,"data-tracking-id":P[s].close},d.a.createElement("span",{className:"icon-cross2 text-gray-dark"}))))}}D.propTypes={closeCallback:h.a.func,className:h.a.string,text:h.a.string,placement:h.a.string,onInit:h.a.func,type:h.a.string,pageName:h.a.string.isRequired,creativeId:h.a.string.isRequired,dashboardLink:h.a.string},D.defaultProps={className:null,text:"",placement:"left",type:L,closeCallback:null,onInit:null,dashboardLink:x.a.INSIDER};a("./site-modules/shared/components/merged-attributes-heart/merged-attributes-heart.scss");a.d(t,"b",function(){return M}),a.d(t,"a",function(){return Y});const $="disableMergedAttributesTooltip",M=function(e){let t=e.year,a=e.make,n=e.model,s=e.subModel,r=e.type,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return!!i.length&&i.some(e=>e.year===t&&e.make===a&&e.model===n&&e.carAge&&e.carAge[0]===Object(O.a)(r)&&e.subModel===s)};class V extends c.Component{constructor(e){super(e),this.disableTooltip=(()=>this.storage&&this.storage.set($,"true")),this.updateIdmDataWrapper=(e=>(this.state.isActive?this.props.removeDataFromIdm:this.props.updateIdmData)(e)),this.toggleHeart=(()=>new Promise(e=>{this.setState(e=>{return{inProgress:!e.inProgress}},e)})),this.closeTooltip=(e=>{this.setState(()=>({[e]:!0}))}),this.handleClick=(()=>{const e=this.props,t=e.mergedAttributes,a=e.forceNoTooltip,n=e.setForceNoTooltip,r=e.modelLinkCode;a&&(n&&n(),this.disableTooltip());const i=Object(C.b)(Object(s.a)({},t,{modelLinkCode:r})),o=this.props.isAuthenticated?this.saveMergedAttributes:this.authenticate;return this.state.isActive||Object(I.k)("SIGN_UP"),this.setState(e=>({isSavedClicked:!e.isActive})),o(i)}),this.saveMergedAttributes=(e=>this.toggleHeart().then(()=>this.updateIdmDataWrapper(e)).catch(()=>{Object(k.a)("warn","car is not saved to a storage properly")}).then(this.toggleHeart)),this.authenticate=(async e=>{this.toggleHeart();try{await this.props.signInAnonymousAndSaveProfile(e,"save-merged-attributes-anonymous"),await this.props.toggleAuthenticatedModal({idmDataToSave:e})}catch(e){Object(k.a)("warn","vehicle is not saved to a storage properly",e)}return this.toggleHeart()}),this.state={inProgress:!1,dataToPass:null,confirmationDisabled:!1,isSavedClicked:!1,isActive:!1}}componentDidMount(){this.storage=new T.a("sessionStorage")}shouldComponentUpdate(e,t){return this.props.isAuthenticated!==e.isAuthenticated||this.props.makeModels!==e.makeModels||this.props.emptyIdmData!==e.emptyIdmData||this.props.emptyProfileScreen!==e.emptyProfileScreen||this.state.isActive!==t.isActive||this.state.confirmationDisabled!==t.confirmationDisabled||this.state.confirmation!==t.confirmation||this.state.isSavedClicked!==t.isSavedClicked||this.state.inProgress!==t.inProgress}static getDerivedStateFromProps(e,t){const a=e.mergedAttributes,n=e.makeModels,s=e.isAuthenticated,r=e.emptyProfileScreen;let i=!1;return n&&!0===s?{isActive:i=M(a,n),confirmation:!t.confirmationDisabled&&(i&&r)}:null}render(){const e=this.state,t=e.isActive,a=e.inProgress,s=e.confirmation,r=e.isSavedClicked,i=this.props,o=i.className,l=i.isAuthenticated,c=i.isMobile,m=i.emptyIdmData,p=i.pageName,h=i.useIcon,g=i.tooltipDashboardLink,v=i.heartIconClasses,f=i.heartClasses,E=i.trackingParent,_=i.forceNoTooltip,C=i.CustomView,k={"icon-heart4":!t,"icon-heart3":t},N=a||l&&m,j=!_&&null!==l&&s&&r,O={unsave_model:l&&t,begin_sign_up:!1===l};return C?d.a.createElement(C,Object(n.a)({active:t,disabled:a||l&&m,isAuthenticated:l,onClick:this.handleClick,isMobile:c},this.props)):d.a.createElement("div",{className:u()("merged-attribute-heart d-inline-block pos-r",o),"data-tracking-parent":E},h?d.a.createElement(S.a,{className:u()("merged-attribute-button",v),onClick:this.handleClick,isActive:t,inProgress:a,trackingId:u()(O),trackingValue:t?"Saved":"Save",blueTheme:!0}):d.a.createElement(b.a,{color:t||N?"secondary":"primary",outline:!(c&&t),className:u()("merged-attribute-button py-0_5 px-0_5",{"model-saved":t},f),disabled:N,onClick:this.handleClick,"data-tracking-id":u()(O),title:t?"Remove this car":"Save this car"},N?d.a.createElement("div",{className:"px-1"},d.a.createElement(y.a,{color:"primary",size:14})):d.a.createElement("div",null,d.a.createElement("i",{className:u()("h5 mr-0_5 mb-0 align-middle",k)}),d.a.createElement("span",{className:"vlarge text-capitalize align-middle"},t?"Saved":"Save"))),j&&d.a.createElement(D,{closeCallback:this.closeTooltip,onInit:this.disableTooltip,pageName:p,creativeId:E,dashboardLink:g}))}}V.propTypes={className:h.a.string,isAuthenticated:h.a.bool,toggleAuthenticatedModal:h.a.func.isRequired,isMobile:h.a.bool,mergedAttributes:h.a.shape({}).isRequired,makeModels:h.a.arrayOf(h.a.shape({})),emptyIdmData:h.a.bool,emptyProfileScreen:h.a.bool,pageName:h.a.string,updateIdmData:h.a.func.isRequired,removeDataFromIdm:h.a.func.isRequired,signInAnonymousAndSaveProfile:h.a.func.isRequired,useIcon:h.a.bool,tooltipDashboardLink:h.a.string,heartIconClasses:h.a.string,heartClasses:h.a.string,trackingParent:h.a.string,forceNoTooltip:h.a.bool,setForceNoTooltip:h.a.func,CustomView:h.a.func,modelLinkCode:h.a.string},V.defaultProps={className:"",isAuthenticated:null,isMobile:!1,makeModels:null,emptyIdmData:!0,emptyProfileScreen:!1,pageName:"",useIcon:!1,tooltipDashboardLink:"",heartIconClasses:"",heartClasses:"",trackingParent:"save-model",forceNoTooltip:!1,setForceNoTooltip:null,CustomView:null,modelLinkCode:""};const F={makeModels:{path:e=>e.isAuthenticated?"data.idm.mergedAttributes.makeModels":"",segment:_.b}},U=Object(E.a)(V,!0),Y=Object(v.c)(e=>({isAuthenticated:i()(e.profile,"isAuthenticated"),isMobile:e.mobile,emptyIdmData:l()(i()(e.profile,"data.idm")),pageName:i()(e.pageContext,"page.name"),emptyProfileScreen:l()(i()(e,"profile.screen"))}),e=>({toggleAuthenticatedModal:t=>e(Object(N.d)(j.a.SIGN_UP_MODAL,t))}))(Object(f.b)(U,F));Y.propTypes={className:h.a.string,mergedAttributes:h.a.shape({})},Y.defaultProps={className:"",mergedAttributes:null}},"./site-modules/shared/components/merged-attributes-heart/merged-attributes-heart.scss":function(e,t,a){},"./site-modules/shared/components/native-ad/buildprice-ad/buildprice-ad.jsx":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/lodash/get.js"),r=a.n(s),i=a("../node_modules/react/index.js"),o=a.n(i),l=a("../node_modules/prop-types/index.js"),c=a.n(l),d=a("../node_modules/classnames/index.js"),m=a.n(d),u=a("../node_modules/reactstrap/lib/Card.js"),p=a.n(u),h=a("./utils/image-helpers.js"),g=a("./data/models/native-ads-creative-config.js"),b=a("./site-modules/shared/components/native-ad/utils/dfp-tracking.jsx"),v=a("./site-modules/shared/components/native-ad/native-ad-components/ad-label/ad-label.jsx"),f=a("./site-modules/shared/components/native-ad/native-ad-components/disclaimer/disclaimer.jsx"),E=a("./site-modules/shared/components/content-fragment/content-fragment.jsx");a("./site-modules/shared/components/native-ad/buildprice-site-served-ad/buildprice-site-served-ad.scss");class y extends i.Component{constructor(){super(...arguments),this.colorChange=(()=>{const e=this.props,t=e.colorInfo;(0,e.handleColorChange)(t)})}render(){const e=this.props,t=e.colorInfo,a=e.defaultChecked,n=t.id,s=t.title,r=t.primaryRgbValue;return o.a.createElement("li",{className:"d-inline-block mx-0_25 mb-0 mb-md-0_5"},o.a.createElement("input",{type:"radio",id:n,name:"color",value:s,onClick:this.colorChange,defaultChecked:a}),o.a.createElement("label",{className:"d-block text-center",htmlFor:n,"aria-label":s},o.a.createElement("span",{className:"color-swatch d-block",style:{background:`rgb(${r})`}}),o.a.createElement("span",{className:"sr-only"},s)))}}y.propTypes={colorInfo:c.a.shape({id:c.a.string,title:c.a.string,primaryRgbValue:c.a.string,path:c.a.string}).isRequired,handleColorChange:c.a.func.isRequired,defaultChecked:c.a.bool},y.defaultProps={defaultChecked:!1};class _ extends i.Component{render(){const e=this.props,t=e.colorInfo,a=e.handleColorChange;return 0===t.length?null:o.a.createElement("ul",{className:"colors-list text-left pl-0 mb-0"},t.map((e,t)=>o.a.createElement(y,{key:`color_${e.id}`,colorInfo:e,defaultChecked:0===t,handleColorChange:a})))}}_.propTypes={colorInfo:c.a.arrayOf(c.a.shape({id:c.a.string,title:c.a.string,primaryRgbValue:c.a.string,path:c.a.string})),handleColorChange:c.a.func.isRequired},_.defaultProps={colorInfo:[]};var C=a("./engagement-handlers/site-served-ads-engagement-handler/site-served-ads-engagement-handler.js"),k=a("./tracking/handler.js"),N=a("./engagement-handlers/helper.js"),j=a("./site-modules/shared/components/error-boundary/error-boundary.jsx"),O=a("./site-modules/shared/components/error-page-message/error-page-message.jsx"),T=a("./site-modules/shared/components/native-ad/utils/utils.js"),S=a("./site-modules/shared/constants/ads.js"),I=a("./site-modules/shared/components/feature-flag/feature-flag.jsx"),w=a("./site-modules/shared/components/client-side-render/client-side-render.jsx");class x extends i.Component{constructor(){super(...arguments),this.state={photo:"",colorName:"",clickCorrelatorTs:0,creativeConfigId:""},this.getCardRef=(e=>{this.card=e}),this.handleInitialPhoto=((e,t)=>{if(t||!e)return;const a=!(!e.colorInfo||0===e.colorInfo.length),n=a?e.colorInfo[0].path:e.photo,s=a?e.colorInfo[0].title:"";this.handleColorChange({title:s,path:n})}),this.handleColorChange=(e=>{let t=e.title,a=e.path;this.setState({colorName:t,photo:a})}),this.handleClick=(()=>{const e=this.props.adClickCb;e&&e(),k.a.fireEvent(S.c,{},{creative_id:Object(N.b)(this.card),line_item_id:this.props.creativeConfig.creativeConfigData.lineItemId,creative_config_id:this.props.creativeConfig.id,action_cause:"link_click",click_correlator_ts:this.state.clickCorrelatorTs,position:this.props.position})})}componentDidMount(){this.setCorrelatorTs()}static getDerivedStateFromProps(e,t){const a=r()(e,"creativeConfig.id","");return a!==t.creativeConfigId?{colorName:"",photo:"",creativeConfigId:a}:null}componentDidUpdate(e){!e.creativeConfig&&this.props.creativeConfig&&this.setCorrelatorTs()}setCorrelatorTs(){this.setState({clickCorrelatorTs:Object(N.a)()},()=>{this.props.creativeConfig&&Object(C.a)(this.props.creativeConfig.creativeConfigData.cta,this.card,this.state.clickCorrelatorTs,this.props.position)})}render(){if(!this.props.creativeConfig)return null;const e=this.props.creativeConfig.creativeConfigData,t=e.disclaimerCopy,a=e.headline,n=e.headline2,s=e.cta,r=e.lineItemId,i=e.linkDisplayUrl;if(!a||!s)return null;const l=this.props,c=l.mobile,d=l.photoDetails,u=l.position,g=l.adClickCb,y=this.state,C=y.photo,k=y.colorName,N=this.props.creativeConfig.traffickingData.clickTracker[Object(T.d)(c)];this.handleInitialPhoto(d,C);const S=/^https?:\/\/|^\/\//i.test(C)?C:Object(h.j)(C);return o.a.createElement(j.a,{message:O.a},o.a.createElement(I.a,{name:"siteServedAds"},o.a.createElement(p.a,{className:"buildprice-site-served pos-r py-0_75 px-1_25 w-100","data-tracking-parent":"site-buildprice"},o.a.createElement(v.a,null),o.a.createElement("div",{className:"d-md-flex justify-content-between"},o.a.createElement("div",{className:"vehicle mt-1_5 mt-md-1_25"},o.a.createElement("div",{className:"headline font-weight-bold text-gray-darker"},a?o.a.createElement(E.a,null,a):o.a.createElement("div",{className:"headline"})),o.a.createElement("div",{className:"img-wrapper ml-md-0_5"},o.a.createElement("img",{className:"core-img img-fluid d-block m-auto",src:S,alt:"Vehicle"}))),o.a.createElement("div",{className:m()("w-100 text-center ml-md-2 mt-md-1_5",{"d-md-flex align-items-md-center":!k})},k&&o.a.createElement("div",{className:"select-color-label h6 pl-0_5"},o.a.createElement("p",{className:"font-weight-medium medium text-gray-dark text-left mb-0"},"Select Color:\xa0",o.a.createElement("span",{className:"xsmall"},k))),d&&o.a.createElement(_,{colorInfo:d.colorInfo,handleColorChange:this.handleColorChange}),o.a.createElement("div",{className:"text-center cta-wrapper"},o.a.createElement("div",{className:"headline2 mb-0_5 medium text-gray-dark light-font-weight d-none"},n?o.a.createElement(E.a,null,n):o.a.createElement("div",{className:"headline2"})),o.a.createElement("a",{className:m()("cta btn btn-sm btn-outline-primary mt-1_5 mt-md-0 text-uppercase py-0_5 px-0_75 px-md-0_5 medium font-weight-medium pos-r d-block text-primary",{"mt-1_5":k,"mt-3_5":!k,ads3763:g}),href:g?null:N,rel:"noopener noreferrer",target:"_blank",ref:this.getCardRef,onClick:this.handleClick},s,o.a.createElement("i",{className:"icon-open_in_new ml-0_25 small"})),o.a.createElement("a",{className:m()("medium text-primary-darker text-decoration-none pos-r d-block",{"link-display-url":g}),href:g?null:N,rel:"noopener noreferrer",target:"_blank",onClick:this.handleClick},i),t&&o.a.createElement(f.a,{disclaimerText:t})))),r&&o.a.createElement(w.a,null,o.a.createElement(b.a,{lineItemId:r,mobile:c,nativeStyle:"site-buildprice",clickCorrelatorTs:this.state.clickCorrelatorTs,position:u})))))}}x.propTypes={mobile:c.a.bool,creativeConfig:g.b,photoDetails:c.a.shape({}),position:c.a.string,adClickCb:c.a.func},x.defaultProps={mobile:!1,creativeConfig:g.a,photoDetails:null,position:"0",adClickCb:null};var A=a("./tracking/constant.js");a("./site-modules/shared/components/native-ad/buildprice-site-served-ad/buildprice-site-served-ad-with-trim.scss");class R extends i.Component{constructor(){super(...arguments),this.fireTrackingEvent=(()=>{k.a.fireEvent(A.b.SELECT_TRIM,{},{event_type:"action_completed",action_cause:"user_input",value:`trim_${this.props.trimIndex+1}`})}),this.trimChange=(()=>{const e=this.props,t=e.handleDataChange,a=e.trimItem.totalMsrp;this.fireTrackingEvent(),t({price:a})})}render(){const e=this.props,t=e.trimItem,a=e.defaultChecked,n=t.id,s=t.style;return o.a.createElement("li",{className:"radio-list d-flex mb-1 mb-md-0_75"},o.a.createElement("input",{className:"radio-input",type:"radio",id:n,name:"trim-price-totalMsrp",value:s,onChange:this.trimChange,defaultChecked:a}),o.a.createElement("label",{className:"d-block text-start size-14 pl-1 pl-md-1_25 pt-md-0_25 mb-0",htmlFor:n,"aria-label":name},s))}}R.propTypes={trimItem:c.a.shape({id:c.a.string,style:c.a.string,baseMsrp:c.a.number,bestDealPrice:c.a.number,totalMsrp:c.a.number}),handleDataChange:c.a.func.isRequired,defaultChecked:c.a.bool,trimIndex:c.a.number},R.defaultProps={trimItem:{},defaultChecked:!1,trimIndex:0};class P extends i.Component{render(){const e=this.props,t=e.trimData,a=e.handleDataChange;return 0===t.length?null:o.a.createElement("ul",{className:"trim-list text-left pl-md-0 pr-md-2 pr-1_5 mb-md-1_5 ml-md-0_25 mr-md-0_5"},t.map((e,t)=>o.a.createElement(R,{key:`trim_${e.id}`,trimItem:e,trimIndex:t,defaultChecked:0===t,handleDataChange:a})))}}P.propTypes={trimData:c.a.arrayOf(c.a.shape({id:c.a.string,style:c.a.string,baseMsrp:c.a.number,bestDealPrice:c.a.number,totalMsrp:c.a.number})),handleDataChange:c.a.func.isRequired},P.defaultProps={trimData:[]};var L=a("./site-modules/shared/utils/add-http.js"),D=a("./site-modules/shared/utils/price-utils.js");class $ extends i.Component{constructor(){super(...arguments),this.state={photo:"",price:"",clickCorrelatorTs:0},this.getCardRef=(e=>{this.card=e}),this.handleInitialData=((e,t)=>{const a=!(!e||!e.colorInfo||0===e.colorInfo.length)?e.colorInfo[0].path:r()(e,"photo",""),n=!(!t||0===t.length)?t[0].totalMsrp:null;this.handleDataChange({price:n,path:a})}),this.handleDataChange=(e=>{let t=e.price,a=e.path;t&&this.setState({price:t}),a&&this.setState({photo:a})}),this.handleClick=(()=>{const e=this.props.adClickCb;e&&e(),k.a.fireEvent(S.c,{},{creative_id:Object(N.b)(this.card),line_item_id:this.props.creativeConfig.creativeConfigData.lineItemId,creative_config_id:this.props.creativeConfig.id,action_cause:"link_click",click_correlator_ts:this.state.clickCorrelatorTs,position:this.props.position})})}componentDidMount(){const e=this.props,t=e.photoDetails,a=e.trimData;this.setCorrelatorTs(),this.handleInitialData(t,a)}componentDidUpdate(e){const t=!e.creativeConfig&&!!this.props.creativeConfig,a=!e.trimData&&!!this.props.trimData;(t||a)&&(this.handleInitialData(this.props.photoDetails,this.props.trimData),t&&this.setCorrelatorTs())}setCorrelatorTs(){this.setState({clickCorrelatorTs:Object(N.a)()},()=>{const e=this.props,t=e.creativeConfig,a=e.position;t&&Object(C.a)(t.creativeConfigData.cta,this.card,this.state.clickCorrelatorTs,a)})}render(){if(!this.props.creativeConfig)return null;const e=this.props.creativeConfig.creativeConfigData,t=e.disclaimerCopy,a=e.headline,n=e.cta,s=e.lineItemId;if(!a||!n)return null;const r=this.props,i=r.mobile,l=r.trimData,c=r.position,d=r.adClickCb,u=this.state,g=u.photo,y=u.price,_=this.props.creativeConfig.traffickingData.clickTracker[Object(T.d)(i)],C=L.a.test(g)?g:Object(h.j)(g);return o.a.createElement(j.a,{message:O.a},o.a.createElement(I.a,{name:"siteServedAds"},o.a.createElement(p.a,{className:"buildprice-site-served-trim pos-r p-1 w-100","data-tracking-parent":"site-buildprice"},o.a.createElement(v.a,null),o.a.createElement("div",{className:"d-md-flex justify-content-between"},o.a.createElement("div",{className:"vehicle"},o.a.createElement("div",{className:"headline font-weight-bold text-gray-darker"},o.a.createElement(E.a,null,a)),o.a.createElement("div",{className:"img-wrapper ml-md-0_5 text-center"},o.a.createElement("img",{className:"core-img img-fluid d-block m-auto rounded",src:C,alt:"Vehicle"})),y&&o.a.createElement("div",{className:"price-wrapper text-center "},o.a.createElement("span",{className:"msrp-label d-inline-block mr-0_5 size-10"},"Starting MSRP"),o.a.createElement("span",{className:"msrp-price size-24 text-center font-weight-500"},Object(D.a)(y)))),o.a.createElement("div",{className:m()("w-100 text-center ml-md-2 mt-md-1_5",{"d-md-flex flex-md-column align-items-md-center":!y})},l&&!!l.length&&o.a.createElement(P,{trimData:l,handleDataChange:this.handleDataChange}),o.a.createElement("div",{className:"text-center cta-wrapper m-auto"},o.a.createElement("a",{className:m()("cta btn btn-sm btn-outline-primary mt-1 mt-md-1_5 mb-0_5 text-uppercase py-0_5 px-0_75 px-md-0_5  medium font-weight-bold pos-r text-primary",{"space-top":!y,ads3763:d}),href:d?null:_,rel:"noopener noreferrer",target:"_blank",ref:this.getCardRef,onClick:this.handleClick},n,o.a.createElement("i",{className:"icon-open_in_new ml-0_25 small"}))),t&&o.a.createElement(f.a,{disclaimerText:t}))),s&&o.a.createElement(b.a,{lineItemId:s,mobile:i,nativeStyle:"site-buildprice",position:c,clickCorrelatorTs:this.state.clickCorrelatorTs}))))}}$.propTypes={mobile:c.a.bool,creativeConfig:g.b,photoDetails:c.a.shape({}),vehicle:c.a.shape({make:c.a.shape({name:c.a.string,niceName:c.a.string,id:c.a.number}),model:c.a.shape({name:c.a.string,niceName:c.a.string,modelLinkCode:c.a.string}),modelYear:c.a.shape({name:c.a.string,id:c.a.number}),publicationState:c.a.string,subModel:c.a.shape({name:c.a.string,niceName:c.a.string,id:c.a.number}),typeList:c.a.string}),trimData:c.a.arrayOf(c.a.shape({id:c.a.string,style:c.a.string,baseMsrp:c.a.number,bestDealPrice:c.a.number,totalMsrp:c.a.number})),position:c.a.string,adClickCb:c.a.func},$.defaultProps={photoDetails:{},mobile:!1,creativeConfig:g.a,vehicle:{},trimData:null,position:"0",adClickCb:null};a("../node_modules/core-js/modules/es6.regexp.replace.js");var M=a("./site-modules/shared/components/ad-unit/native-ad.jsx"),V=a("./data/models/vehicle.js"),F=a("./site-modules/shared/components/native-ad/utils/constants.js"),U=a("./site-modules/shared/components/native-ad/site-served-ad-wrapper/site-served-ad-wrapper.jsx"),Y=a("./site-modules/shared/components/experiment/venom-experiments.js"),B=a("./data/luckdragon/redux/react-binding.jsx"),W=a("./data/models/inventory-core-configurations.js");function z(e){const t=e.creativeConfig,a=e.vehicle,n=e.mobile,s=e.includeMrectAdCall,i=e.wrapperClass,l=e.slotRenderEndListener,c=e.withDFPFallback,d=e.trims,m=e.position,u=e.adClickCb,p=r()(a,"subModel.name",""),h=t?function(e,t){let a;const n=t.toLowerCase().replace(/[\s-]/g,"");try{a=JSON.parse(e)}catch(e){a={}}return!Array.isArray(a.colorInfo)&&"object"==typeof a.colorInfo&&a.colorInfo[n]&&(a.colorInfo=a.colorInfo[n]),a.photo&&a.colorInfo&&void 0===a.colorInfo.length&&(a.colorInfo=[]),a}(r()(t,"creativeConfigData.customData"),p):null;return o.a.createElement("div",{className:`${i} build-price-unit`},c?function(e,t){return e?o.a.createElement(M.a,{wrapperClass:"build-price w-100",adNameWired:"mrect,native",adNameMobile:"mmrect,mnative",nativeStyle:"buildprice,mediumrectangle",refreshable:!1,customSizes:[[1,1],[300,250],"fluid"],onSlotRenderEndedListener:t}):o.a.createElement(M.a,{nativeStyle:"buildprice",wrapperClass:"build-price w-100",onSlotRenderEndedListener:t})}(s,l):o.a.createElement(Y.a,{name:"ads-3611-v2",showDefault:!0},o.a.createElement(Y.b,{name:"ctrl",isDefault:!0},o.a.createElement(x,{mobile:n,creativeConfig:t,photoDetails:h,position:m,adClickCb:u})),o.a.createElement(Y.b,{name:"chal"},o.a.createElement($,{mobile:n,creativeConfig:t,photoDetails:h,trimData:d,position:m,adClickCb:u}))))}a.d(t,"a",function(){return G}),z.propTypes={creativeConfig:g.b,vehicle:V.d.Vehicle,wrapperClass:c.a.string,mobile:c.a.bool,includeMrectAdCall:c.a.bool,slotRenderEndListener:c.a.func,withDFPFallback:c.a.bool,trims:c.a.arrayOf(c.a.shape({id:c.a.string,style:c.a.string,baseMsrp:c.a.number,bestDealPrice:c.a.number,totalMsrp:c.a.number})),position:c.a.string,adClickCb:c.a.func},z.defaultProps={creativeConfig:g.a,vehicle:null,wrapperClass:"",mobile:!1,includeMrectAdCall:!1,slotRenderEndListener:null,withDFPFallback:!0,trims:null,position:"0",adClickCb:null};const q=Object(B.b)(z,{trims:Object(B.a)(e=>{let t=e.vehicle;return t&&t.make&&t.model&&t.subModel&&t.modelYear?Object(W.e)({make:t.make.niceName,model:t.model.niceName,submodel:t.subModel.niceName,year:t.modelYear.year}):""},W.d,T.c)}),H=Object(U.a)(q);function G(e){return o.a.createElement(H,Object(n.a)({},e,{adType:F.a}))}},"./site-modules/shared/components/native-ad/buildprice-site-served-ad/buildprice-site-served-ad-with-trim.scss":function(e,t,a){},"./site-modules/shared/components/native-ad/buildprice-site-served-ad/buildprice-site-served-ad.scss":function(e,t,a){},"./site-modules/shared/components/native-ad/conquest-ysc/conquest-native-ad.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return o});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("./site-modules/shared/components/ad-unit/native-ad.jsx");function o(e){return r.a.createElement(i.a,Object(n.a)({nativeStyle:"ysc",wrapperClass:"native-conquest"},e))}},"./site-modules/shared/components/native-ad/incentives-ad/incentives-ad.jsx":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("../node_modules/prop-types/index.js"),o=a.n(i),l=a("../node_modules/reactstrap/lib/Col.js"),c=a.n(l),d=a("../node_modules/reactstrap/lib/Card.js"),m=a.n(d),u=a("./data/luckdragon/redux/react-binding.jsx"),p=a("./data/models/native-ads-creative-config.js"),h=a("./site-modules/shared/components/native-ad/utils/dfp-tracking.jsx"),g=a("./site-modules/shared/components/native-ad/native-ad-components/ad-label/ad-label.jsx"),b=a("./site-modules/shared/components/native-ad/native-ad-components/disclaimer/disclaimer.jsx"),v=a("./site-modules/shared/components/content-fragment/content-fragment.jsx"),f=a("./engagement-handlers/site-served-ads-engagement-handler/site-served-ads-engagement-handler.js"),E=a("./tracking/handler.js"),y=a("./engagement-handlers/helper.js"),_=a("./data/models/visitor.js"),C=a("./site-modules/shared/constants/ads.js"),k=a("./site-modules/shared/components/native-ad/utils/utils.js"),N=a("./site-modules/shared/components/feature-flag/feature-flag.jsx"),j=a("./site-modules/shared/components/experiment/venom-experiments.js"),O=a("./site-modules/shared/components/client-side-render/client-side-render.jsx"),T=a("./utils/event-toolbox.js");a("./site-modules/shared/components/native-ad/incentives-site-served-ad/incentives-site-served-ad.scss");class S extends s.Component{constructor(){super(...arguments),this.state={clickCorrelatorTs:0},this.getCardRef=(e=>{this.card=e}),this.updateCorrelatorTs=(e=>{e.detail.correlatorTsShouldBeUpdated&&this.setState({clickCorrelatorTs:Object(y.a)()})}),this.handleAdClick=(e=>{e.preventDefault(),E.a.fireEvent(C.c,{},{creative_id:Object(y.b)(this.card),line_item_id:this.props.creativeConfig.creativeConfigData.lineItemId,creative_config_id:this.props.creativeConfig.id,action_cause:"link_click",click_correlator_ts:this.state.clickCorrelatorTs,position:this.props.position});const t=this.props,a=t.mobile,n=t.zipCode;let s=this.props.creativeConfig.traffickingData.clickTracker[Object(k.d)(a)];s=Object(k.b)(s,n),window.open(s,"_blank")}),this.handleClick=(()=>{const e=this.props.adClickCb;e&&e(),E.a.fireEvent(C.c,{},{creative_id:Object(y.b)(this.card),line_item_id:this.props.creativeConfig.creativeConfigData.lineItemId,creative_config_id:this.props.creativeConfig.id,action_cause:"link_click",click_correlator_ts:this.state.clickCorrelatorTs,position:this.props.position})})}componentDidMount(){this.setCorrelatorTs(),T.a.on("togglingModal",this.updateCorrelatorTs)}componentDidUpdate(e){!e.creativeConfig&&this.props.creativeConfig&&this.setCorrelatorTs()}setCorrelatorTs(){this.setState({clickCorrelatorTs:Object(y.a)()},()=>{this.props.creativeConfig&&Object(f.a)(this.props.creativeConfig.creativeConfigData.cta,this.card,this.state.clickCorrelatorTs,this.props.position)})}render(){if(!this.props.creativeConfig)return null;const e=this.props.creativeConfig.creativeConfigData,t=e.adLabel,a=e.logo,n=e.linkDisclaimer,s=e.disclaimerText,i=e.headline,o=e.headline2,l=e.linkDisplayUrl,c=e.cta,d=e.lineItemId,u=e.impressionTag4;if(!a||!l||!c)return null;const p=this.props,f=p.mobile,E=p.zipCode,y=p.position,_=p.adClickCb,C=`Find Deals Near ${E}`;let T=this.props.creativeConfig.traffickingData.clickTracker[Object(k.d)(f)];return T=Object(k.b)(T,E),r.a.createElement(N.a,{name:"siteServedAds"},r.a.createElement(m.a,{className:"incentives-site-served pos-r w-100","data-tracking-parent":"site-incentives"},r.a.createElement(j.a,{name:"ads-3989",showDefault:!0},r.a.createElement(j.b,{name:"ctrl",isDefault:!0},r.a.createElement("a",{className:"d-block",href:_?null:T,target:"_blank",rel:"noopener noreferrer",onClick:this.handleClick,ref:this.getCardRef},r.a.createElement(g.a,{adLabel:t}),r.a.createElement("div",{className:"logo-wrapper mt-0_25 w-100"},r.a.createElement("img",{className:"ml-0_5 oem-logo",alt:"logo",src:a})),r.a.createElement("div",{className:"text-gray-dark px-1_5"},r.a.createElement("div",{className:"headline font-weight-bold text-gray-darker mb-0_25 h4"},r.a.createElement(v.a,null,i||C)),r.a.createElement("div",{className:"headline2 small text-gray-dark"},r.a.createElement(v.a,null,o)),r.a.createElement("div",{className:"d-flex flex-row mb-0_5 mt-0_75"},r.a.createElement("div",{className:"pr-0_5"},r.a.createElement("span",{className:"btn btn-sm text-capitalize py-0_5 px-0_75 medium btn-primary-b"},c,r.a.createElement("i",{className:"icon-open_in_new ml-0_25 small"})),r.a.createElement("div",{className:"oem-url disclaimer mt-0_25 text-center"},l)))))),r.a.createElement(j.b,{name:"chal"},r.a.createElement("a",{className:"d-block",href:Object(k.a)(T,l),target:"_blank",rel:"noopener noreferrer",onClick:_?this.handleClick:this.handleAdClick,ref:this.getCardRef},r.a.createElement(g.a,{adLabel:t}),r.a.createElement("div",{className:"logo-wrapper mt-0_25 w-100"},r.a.createElement("img",{className:"ml-0_5 oem-logo",alt:"logo",src:a})),r.a.createElement("div",{className:"text-gray-dark px-1_5"},r.a.createElement("div",{className:"headline font-weight-bold text-gray-darker mb-0_25 h4"},r.a.createElement(v.a,null,i||C)),r.a.createElement("div",{className:"headline2 small text-gray-dark"},r.a.createElement(v.a,null,o)),r.a.createElement("div",{className:"d-flex flex-row mb-0_5 mt-0_75"},r.a.createElement("div",{className:"pr-0_5"},r.a.createElement("span",{className:"btn btn-sm text-capitalize py-0_5 px-0_75 medium btn-primary-b"},c,r.a.createElement("i",{className:"icon-open_in_new ml-0_25 small"})),r.a.createElement("div",{className:"oem-url disclaimer mt-0_25 text-center"},l))))))),s&&r.a.createElement(b.a,{linkDisclaimer:n,disclaimerText:s}),r.a.createElement(j.a,{name:"ads-3082-impression4",showDefault:!0},r.a.createElement(j.b,{name:"ctrl",isDefault:!0},d&&r.a.createElement(O.a,null,r.a.createElement(h.a,{lineItemId:d,mobile:f,nativeStyle:"site-incentives",clickCorrelatorTs:this.state.clickCorrelatorTs,position:y}))),r.a.createElement(j.b,{name:"chal"},u?r.a.createElement("img",{alt:"",src:`${u}`,style:{width:"1px",height:"1px"},className:"invisible"}):d&&r.a.createElement(O.a,null,r.a.createElement(h.a,{lineItemId:d,mobile:f,nativeStyle:"site-incentives",clickCorrelatorTs:this.state.clickCorrelatorTs,position:y}))))))}}S.propTypes={zipCode:o.a.string,mobile:o.a.bool,creativeConfig:p.d,position:o.a.string,adClickCb:o.a.func},S.defaultProps={zipCode:"",mobile:!1,creativeConfig:p.c,makeName:"",position:"0",adClickCb:null};const I={zipCode:Object(u.a)("location.zipCode",_.d)},w=Object(u.b)(S,I);var x=a("./site-modules/shared/components/ad-unit/native-ad.jsx"),A=a("./site-modules/shared/components/native-ad/utils/constants.js"),R=a("./site-modules/shared/components/native-ad/site-served-ad-wrapper/site-served-ad-wrapper.jsx");a("./site-modules/shared/components/native-ad/incentives-ad/incentives-ad.scss");a.d(t,"a",function(){return $});const P="dfp-incentives-unit";function L(e){const t=e.wrapperClass,a=e.mobile,i=e.slotRenderEndListener,o=e.includeMrectAdCall,l=e.withDFPFallback,d=e.position,m=e.creativeConfig,u=e.adClickCb,p=Number(d)>0?{position:d}:{},h=r.a.createElement(c.a,{xs:12,className:`${t} incentives-wrapper`},r.a.createElement(w,{mobile:a,position:d,creativeConfig:m,adClickCb:u})),g=r.a.createElement(x.a,Object(n.a)({wiredBreakpoints:{lg:!0,xl:!0},nativeStyle:"vdp",onSlotRenderEndedListener:i},p));return r.a.createElement(s.Fragment,null,l?r.a.createElement(c.a,{xs:12,className:t,"data-test":P},o?r.a.createElement(x.a,Object(n.a)({adNameWired:"mrect,native",wiredBreakpoints:{lg:!0,xl:!0},nativeStyle:"vdp,mediumrectangle",onSlotRenderEndedListener:i,customSizes:[[1,1],[300,250],"fluid"]},p)):g):h)}L.propTypes={wrapperClass:o.a.string,mobile:o.a.bool,slotRenderEndListener:o.a.func,includeMrectAdCall:o.a.bool,withDFPFallback:o.a.bool,position:o.a.string,creativeConfig:p.d,adClickCb:o.a.func},L.defaultProps={wrapperClass:"",mobile:!1,slotRenderEndListener:null,includeMrectAdCall:!1,withDFPFallback:!0,position:"0",creativeConfig:p.c,adClickCb:null};const D=Object(R.a)(L);function $(e){return r.a.createElement(D,Object(n.a)({},e,{adType:A.b}))}},"./site-modules/shared/components/native-ad/incentives-ad/incentives-ad.scss":function(e,t,a){},"./site-modules/shared/components/native-ad/incentives-site-served-ad/incentives-site-served-ad.scss":function(e,t,a){},"./site-modules/shared/components/native-ad/leaderboard/leaderboard-native.scss":function(e,t,a){},"./site-modules/shared/components/native-ad/mrect/mrect-native.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return o});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("./site-modules/shared/components/ad-unit/native-ad.jsx");a("./site-modules/shared/components/native-ad/mrect/mrect-native.scss");function o(e){return r.a.createElement(i.a,Object(n.a)({wrapperClass:"mrect mx-auto",adNameWired:"mrect",adNameMobile:"mmrect",nativeStyle:"mediumrectangle",showLabel:!0},e))}},"./site-modules/shared/components/native-ad/mrect/mrect-native.scss":function(e,t,a){},"./site-modules/shared/components/native-ad/native-ad-components/ad-label/ad-label.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return o});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r);a("./site-modules/shared/components/native-ad/native-ad-components/ad-label/ad-label.scss");function o(e){let t=e.adLabel;return s.a.createElement("span",{className:"site-served-label d-block text-center"},t)}o.defaultProps={adLabel:"Ad"},o.propTypes={adLabel:i.a.string}},"./site-modules/shared/components/native-ad/native-ad-components/ad-label/ad-label.scss":function(e,t,a){},"./site-modules/shared/components/native-ad/native-ad-components/conquest-ribbon/conquest-ribbon.scss":function(e,t,a){},"./site-modules/shared/components/native-ad/native-ad-components/disclaimer/disclaimer.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return u});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o),c=a("../node_modules/reactstrap/lib/Button.js"),d=a.n(c),m=a("./site-modules/shared/components/content-fragment/content-fragment.jsx");a("./site-modules/shared/components/native-ad/native-ad-components/disclaimer/disclaimer.scss");class u extends n.Component{constructor(){super(...arguments),this.state={isDisclaimerHidden:!0},this.toggleDisclaimerContent=(e=>{e.preventDefault(),this.setState(()=>({isDisclaimerHidden:!this.state.isDisclaimerHidden}))})}render(){const e=this.props,t=e.linkDisclaimer,a=e.disclaimerText,r=e.contentClasses,i=e.openTrackingId,o=e.closeTrackingId;return s.a.createElement(n.Fragment,null,s.a.createElement(d.a,{className:"disclaimer-button disclaimer text-muted text-right text-capitalize px-0_25 py-0",color:"link",onClick:this.toggleDisclaimerContent,"data-tracking-id":i},t),s.a.createElement("div",{className:l()("disclaimer-content text-left px-1 py-1",r,{hidden:this.state.isDisclaimerHidden})},s.a.createElement("div",{className:"disclaimer-close px-0_25 py-0_25",onClick:this.toggleDisclaimerContent,role:"presentation","data-tracking-id":o},s.a.createElement("i",{className:"icon-cancel-circle2 size-12"})),s.a.createElement(m.a,{classes:"disclaimer-copy disclaimer"},a)))}}u.propTypes={linkDisclaimer:i.a.string,disclaimerText:i.a.string,contentClasses:i.a.string,openTrackingId:i.a.string,closeTrackingId:i.a.string},u.defaultProps={linkDisclaimer:"Disclaimer",disclaimerText:"",contentClasses:"",openTrackingId:"",closeTrackingId:""}},"./site-modules/shared/components/native-ad/native-ad-components/disclaimer/disclaimer.scss":function(e,t,a){},"./site-modules/shared/components/native-ad/pricing-ad/pricing-ad.jsx":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/lodash/get.js"),r=a.n(s),i=a("../node_modules/react/index.js"),o=a.n(i),l=a("../node_modules/prop-types/index.js"),c=a.n(l),d=(a("../node_modules/core-js/modules/es6.regexp.replace.js"),a("../node_modules/lodash/isEmpty.js")),m=a.n(d),u=a("../node_modules/classnames/index.js"),p=a.n(u),h=a("../node_modules/reactstrap/lib/Card.js"),g=a.n(h),b=a("./data/luckdragon/redux/react-binding.jsx"),v=a("./data/models/native-ads-creative-config.js"),f=a("./data/models/page.js"),E=a("./tracking/handler.js"),y=a("./engagement-handlers/helper.js"),_=a("./engagement-handlers/site-served-ads-engagement-handler/site-served-ads-engagement-handler.js"),C=a("./site-modules/shared/components/native-ad/utils/dfp-tracking.jsx"),k=a("./site-modules/shared/components/content-fragment/content-fragment.jsx"),N=a("./data/models/visitor.js");a("./site-modules/shared/components/native-ad/native-ad-components/conquest-ribbon/conquest-ribbon.scss");function j(){return o.a.createElement("div",{className:"conquest-ribbon mt-1 d-block"},o.a.createElement("div",{className:"ribbon-title text-center font-weight-bold"},"Also Consider"),o.a.createElement("div",{className:"triangle pos-r"}))}var O=a("./site-modules/shared/components/native-ad/utils/utils.js"),T=a("./site-modules/shared/constants/ads.js"),S=a("./site-modules/shared/components/feature-flag/feature-flag.jsx"),I=a("./data/models/vehicle.js"),w=a("./site-modules/shared/components/client-side-render/client-side-render.jsx"),x=a("./utils/event-toolbox.js"),A=a("./site-modules/shared/components/experiment/venom-experiments.js");const R=["WWW.NISSANCOMMERCIALVEHICLES.COM"],P=e=>"nissan"===e||"buick"===e,L=e=>R.some(t=>t===e),D=["acura","alfa-romeo","buick","cadillac","chevrolet","chrysler","dodge","fiat","ford","genesis","gmc","honda","hyundai","infiniti","jeep","kia","lincoln","maserati","mazda","mitsubishi","ram","toyota"];a("./site-modules/shared/components/native-ad/pricing-site-served-ad/pricing-site-served-ad.scss");class $ extends i.Component{constructor(){var e;e=super(...arguments),this.state={isDisclaimerHidden:!0,clickCorrelatorTs:0},this.getCardRef=(e=>{this.card=e}),this.getTrimsList=(e=>{if(!e||!e.length)return"";const t=new Set(e.map(e=>e.name));let a=0;const n=[];return Array.from(t).forEach(e=>{(a+=e.length)<125&&n.push(e),a>=125&&(a-=e.length)}),n.join(", ").replace(/,([^,]*)$/," and$1")}),this.updateCorrelatorTs=(e=>{e.detail.correlatorTsShouldBeUpdated&&this.setState({clickCorrelatorTs:Object(y.a)()})}),this.toggleDisclaimerContent=(()=>{this.setState({isDisclaimerHidden:!this.state.isDisclaimerHidden})}),this.handleClick=(()=>{const e=this.props.adClickCb;e&&e(),E.a.fireEvent(T.c,{},{creative_id:Object(y.b)(this.card),line_item_id:this.props.creativeConfig.creativeConfigData.lineItemId,creative_config_id:this.props.creativeConfig.id,action_cause:"link_click",click_correlator_ts:this.state.clickCorrelatorTs,position:this.props.position})}),this.ctaBlueBtn=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";const a=e.props.creativeConfig.creativeConfigData,n=a.cta,s=a.linkDisplayUrl;return o.a.createElement(i.Fragment,null,o.a.createElement("div",{className:p()("cta small mx-0_5 btn-sm size-16 px-1 blue-btn",t)},n,o.a.createElement("i",{className:"icon-open_in_new ml-0_25"})),s&&!m()(s.trim())&&o.a.createElement("div",{className:"oem-url ml-0_5 mt-0_5"},s))}}componentDidMount(){this.setCorrelatorTs(),x.a.on("togglingModal",this.updateCorrelatorTs)}componentDidUpdate(e){!e.creativeConfig&&this.props.creativeConfig&&this.setCorrelatorTs()}setCorrelatorTs(){this.setState({clickCorrelatorTs:Object(y.a)()},()=>{this.props.creativeConfig&&Object(_.a)(this.props.creativeConfig.creativeConfigData.cta,this.card,this.state.clickCorrelatorTs,this.props.position)})}render(){if(!this.props.creativeConfig)return null;const e=this.props.creativeConfig.creativeConfigData,t=e.imgDisclaimer,a=e.linkDisclaimer,n=e.adImg,s=e.adLabel,l=e.oemLogo,c=e.vehicleTrim,d=e.msrp,m=e.disclaimerText,u=e.headline2,h=e.lineItemId,b=e.label2,v=e.label3,f=e.linkDisplayUrl,E=e.isConquest,y=this.props,_=y.vehicle,N=y.mobile,T=y.zipCode,I=y.trims,x=y.position,R=y.renameAdWord,$=y.adClickCb,M=r()(_,"make.niceName",""),V=r()(_,"make.name","");let F=this.props.creativeConfig.traffickingData.clickTracker[Object(O.d)(N)];F=Object(O.b)(F,T);const U=P(M),Y=L(f),B=D.includes(M),W=E&&V!==this.props.creativeConfig.creativeConfigData.make,z=this.getTrimsList(I).length>60?"disclaimer":"small",q=I&&o.a.createElement(k.a,{classes:`${z} mx-0_5 text-gray`},this.getTrimsList(I)),H=o.a.createElement(i.Fragment,null,o.a.createElement("img",{className:p()("logo",{"conquest-logo":W}),alt:"logo",src:l}),o.a.createElement("span",{className:"site-served-label text-center d-block"},s),o.a.createElement("div",{className:p()("img-wrapper","justify-content-center",{"no-background":n})},o.a.createElement("img",{className:"core-img img-fluid d-block",src:n,alt:t}),o.a.createElement("div",{className:"disclaimer persistent-disclaimer px-0_5 text-right text-gray"},t))),G=c&&o.a.createElement(k.a,{classes:p()("h6","mx-0_5","mb-0_25",{"pt-0_5":!t})},c),K=o.a.createElement("div",{className:"label-container mx-0_5 mb-1 field"},o.a.createElement("div",null,b&&o.a.createElement("p",{className:"label-1 medium text-gray text-uppercase mb-0"},b),o.a.createElement("span",{className:"display-2 float-left"},d)),o.a.createElement("div",{className:"label-2 small text-gray ml-0_25"},v),u&&o.a.createElement("div",{className:"headline2 small font-weight-bold text-gray-dark"},u)),Z=u&&o.a.createElement("div",{className:"headline2 small font-weight-bold text-gray-dark"},u),Q=o.a.createElement("div",{className:"label-container mx-0_5 mb-1 field"},o.a.createElement("div",{className:"display-3"},d||"SHOP NOW"),Z),X=o.a.createElement("div",{className:p()("disclaimer-content","text-left","px-1","py-1",{hidden:this.state.isDisclaimerHidden})},o.a.createElement("div",{className:"disclaimer-close",onClick:this.toggleDisclaimerContent,role:"presentation"},o.a.createElement("i",{className:"icon-cancel-circle2 display-6"})),o.a.createElement("div",{className:"disclaimer disclaimer-copy"},m)),J=m&&o.a.createElement(i.Fragment,null,o.a.createElement("div",{className:"disclaimer-button text-right",onClick:this.toggleDisclaimerContent,role:"presentation"},o.a.createElement("span",{className:"disclaimer text-gray"},"*",a)),X);return o.a.createElement(S.a,{name:"siteServedAds"},o.a.createElement("div",{className:p()("podium-style pc-v2 w-100",{"is-whitelisted-oem-url":Y})},o.a.createElement(g.a,{className:p()("pricing-site-served","mx-0_5 mx-sm-0_75 mx-md-0_25 mx-lg-0",{"pricing-carousel text-center mobile":N}),"data-tracking-parent":"site-pricing"},W&&o.a.createElement(j,null),o.a.createElement("div",{className:p()(R?"unit-container":"ad-container","pb-1 pt-1_5 text-left"),ref:this.getCardRef},o.a.createElement("a",{href:$?null:F,target:"_blank",rel:"noopener noreferrer",onClick:this.handleClick},o.a.createElement("div",{className:"image-vehicle-trim-wrapper"},H,G),B&&o.a.createElement("div",{className:"field mb-0_75"},q),o.a.createElement("div",{className:"label-cta-wrapper"},(()=>U&&Q||K)(),o.a.createElement(A.a,{name:"ads-3813",showDefault:!0},o.a.createElement(A.b,{name:"ctrl",isDefault:!0},this.ctaBlueBtn()),o.a.createElement(A.b,{name:"chal1"},this.ctaBlueBtn("text-uppercase")),o.a.createElement(A.b,{name:"chal2"},this.ctaBlueBtn("text-capitalize")),o.a.createElement(A.b,{name:"chal3"},this.ctaBlueBtn("text-lowercase first-letter-capitalize"))))),J),h&&o.a.createElement(w.a,null,o.a.createElement(C.a,{lineItemId:h,mobile:N,nativeStyle:"site-pricing",clickCorrelatorTs:this.state.clickCorrelatorTs,position:x})))))}}$.propTypes={vehicle:I.d.Vehicle,mobile:c.a.bool,zipCode:c.a.string,creativeConfig:v.i,trims:c.a.arrayOf(c.a.shape({name:c.a.string,niceName:c.a.string})),position:c.a.string,renameAdWord:c.a.bool,adClickCb:c.a.func},$.defaultProps={breakpoint:"lg",mobile:!1,vehicle:null,zipCode:"",creativeConfig:v.h,trims:[],position:"0",renameAdWord:!1,adClickCb:null};const M={vehicle:Object(b.a)("vehicle",f.a),zipCode:Object(b.a)("location.zipCode",N.d)},V=Object(b.b)($,M);var F=a("./site-modules/shared/components/ad-unit/native-ad.jsx"),U=a("./site-modules/shared/components/native-ad/site-served-ad-wrapper/site-served-ad-wrapper.jsx"),Y=a("./site-modules/shared/components/native-ad/utils/constants.js");function B(e){const t=e.mobile,a=e.wrapperClass,n=e.adsRenderEndedListener,s=e.withDFPFallback,r=e.trims,l=e.position,c=e.renameAdWord,d=e.creativeConfig,m=e.adClickCb;return o.a.createElement(i.Fragment,null,s&&o.a.createElement(F.a,{wiredOnly:!t,mobileOnly:t,nativeStyle:"filmstrip,pricing",position:l,wrapperClass:`${a} show-filmstrip`,onSlotRenderEndedListener:n,customTargeting:{showConquestRibbon:!0},customSizes:[[1,1],[666,76],[480,76],[234,350],[272,284],"fluid"]}),!s&&o.a.createElement(V,{mobile:t,trims:r,position:l,renameAdWord:c,creativeConfig:d,adClickCb:m}))}a.d(t,"a",function(){return q}),B.propTypes={mobile:c.a.bool,wrapperClass:c.a.string,adsRenderEndedListener:c.a.func,withDFPFallback:c.a.bool,trims:c.a.arrayOf(c.a.shape({name:c.a.string,niceName:c.a.string})),position:c.a.string,renameAdWord:c.a.bool,creativeConfig:v.i,adClickCb:c.a.func},B.defaultProps={mobile:!1,wrapperClass:"",adsRenderEndedListener:null,withDFPFallback:!0,trims:[],position:"0",renameAdWord:!1,creativeConfig:v.h,adClickCb:null};const W=Object(b.b)(B,{trims:Object(b.a)(e=>{let t=e.vehicle;const a=r()(t,"make.niceName"),n=r()(t,"model.niceName"),s=r()(t,"subModel.niceName"),i=r()(t,"modelYear.year");return a&&n&&s&&i?Object(I.D)({make:a,model:n,submodel:s,year:i}):""},I.e,O.k)}),z=Object(U.a)(W);function q(e){return o.a.createElement(z,Object(n.a)({},e,{adType:Y.e}))}},"./site-modules/shared/components/native-ad/pricing-site-served-ad/pricing-site-served-ad.scss":function(e,t,a){},"./site-modules/shared/components/native-ad/site-served-ad-wrapper/site-served-ad-wrapper.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return C});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/lodash/isEmpty.js"),r=a.n(s),i=a("../node_modules/lodash/isObjectLike.js"),o=a.n(i),l=a("../node_modules/lodash/get.js"),c=a.n(l),d=a("../node_modules/react/index.js"),m=a.n(d),u=a("../node_modules/react-redux/es/index.js"),p=a("./data/luckdragon/redux/react-binding.jsx"),h=a("./data/models/page.js"),g=a("./data/models/visitor.js"),b=a("./data/models/native-ads-creative-config.js"),v=a("./site-modules/shared/constants/ads.js"),f=a("./site-modules/shared/components/native-ad/utils/utils.js"),E=a("./site-modules/shared/components/experiment/venom-experiments.js");const y={creativeConfig:Object(p.a)(e=>{let t=e.mobile,a=e.adType,n=e.vehicle,s=e.creativeConfigPath,i=e.showOnlyDFP,o=e.siteServedAdsEnabled;if(e.isAdsSingleRequestEnabled){if(!o||i||r()(n))return null;const e=c()(n,"model.niceName"),l=c()(n,"modelYear.year"),d=c()(n,"subModel.name");return`${s||Object(f.h)(t,{modelNiceName:e,subModelName:d,year:l})}["${a.AD_NAME}"]`}return i?null:s||Object(f.f)(t,a,n)||Object(f.e)(t,a)},b.e,(e,t)=>{let a=t.adType;return t.isAdsSingleRequestEnabled?c()(e,"[0]",{}):c()(e,`${a.AD_NAME}[0]`,{})}),ads:Object(p.a)("ads",h.a),visitorLocation:Object(p.a)("location",g.d)},_=e=>({vehicle:e.pageContext.vehicle,renameAdWord:e.featureFlags.renameAdWord,siteServedAdsEnabled:e.featureFlags.siteServedAds,isAdsSingleRequestEnabled:e.featureFlags.adsSingleRequest}),C=e=>Object(u.c)(_)(Object(p.b)(function(e){class t extends d.Component{constructor(){super(...arguments),this.handleAdClick=(()=>{const e=this.props,t=e.mobile,a=e.zipCode;let n=this.props.creativeConfig.traffickingData.clickTracker[Object(f.d)(t)];n=Object(f.b)(n,a),window.open(n,"_blank")})}shouldComponentUpdate(e){return o()(e.vehicle)}render(){const t=this.props,a=t.creativeConfig,s=void 0===a?null:a,i=t.vehicle,l=t.ads,d=t.siteServedAdsEnabled,u=t.currentVehicle,p=t.visitorLocation,h=c()(u,"model.niceName",""),g=Object(v.g)(i,h)||o()(s)&&r()(s)||c()(s,"excluded",!1)||l&&"ad"===l.utms&&Object(v.f)(i)||!Object(v.e)(p);return m.a.createElement(E.a,{name:"ads-3763",showDefault:!0},m.a.createElement(E.b,{name:"ctrl",isDefault:!0},m.a.createElement(e,Object(n.a)({},this.props,{withDFPFallback:g||!d}))),m.a.createElement(E.b,{name:"chal"},m.a.createElement(e,Object(n.a)({},this.props,{withDFPFallback:g||!d,adClickCb:this.handleAdClick}))))}}return t.displayName=`WithSiteServedAdWrapper(${e.name})`,t}(e),y))},"./site-modules/shared/components/native-ad/utils/constants.js":function(e,t,a){"use strict";a.d(t,"b",function(){return n}),a.d(t,"a",function(){return s}),a.d(t,"d",function(){return r}),a.d(t,"e",function(){return i}),a.d(t,"f",function(){return o}),a.d(t,"c",function(){return l});const n={AD_NAME:"incentives-native-ad"},s={AD_NAME:"build-and-price-native-ad"},r={AD_NAME:"incentives-native-ad"},i={AD_NAME:"pricing-native-ad"},o={AD_NAME:"srp-native-ad"},l="2020"},"./site-modules/shared/components/native-ad/utils/dfp-tracking.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return u});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),r=a("../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),i=a("../node_modules/react/index.js"),o=a.n(i),l=a("../node_modules/prop-types/index.js"),c=a.n(l),d=a("./site-modules/shared/components/ad-unit/ad-unit.jsx"),m=a("./site-modules/shared/components/ad-unit/ad-unit-prop-types.jsx");function u(e){const t=e.lineItemId,a=e.mobile,i=e.nativeStyle,l=e.sect8,c=e.noRefresh,m=e.refreshable,u=e.refreshZones,p=e.clickCorrelatorTs,h=e.customTargeting,g=Object(r.a)(e,["lineItemId","mobile","nativeStyle","sect8","noRefresh","refreshable","refreshZones","clickCorrelatorTs","customTargeting"]),b=Object(s.a)({cpaid:t,sect8:l,clickcorrelatorts:p},h);return o.a.createElement("div",{className:"hidden"},a?o.a.createElement(d.AdUnit,Object(n.a)({adName:"mcompanion",position:"0",customTargeting:b,xs:!0,sm:!0,refreshable:m,isVisible:!1,showLabel:!1,renderWhenViewable:!1,nativeStyle:i,refreshZones:u,noRefresh:c},g)):o.a.createElement(d.AdUnit,Object(n.a)({adName:"companion",position:"0",customTargeting:b,md:!0,lg:!0,xl:!0,refreshable:m,isVisible:!1,showLabel:!1,renderWhenViewable:!1,nativeStyle:i,refreshZones:u,noRefresh:c},g)))}u.propTypes={lineItemId:c.a.string.isRequired,mobile:c.a.bool,nativeStyle:c.a.string,sect8:c.a.string,noRefresh:c.a.bool,refreshable:c.a.bool,refreshZones:c.a.arrayOf(c.a.string),clickCorrelatorTs:c.a.number,position:c.a.string,customTargeting:m.b.customTargeting},u.defaultProps={mobile:!1,nativeStyle:"",sect8:"",noRefresh:!1,refreshable:!1,refreshZones:[],clickCorrelatorTs:0,position:"",customTargeting:m.a.customTargeting}},"./site-modules/shared/components/native-ad/utils/utils.js":function(e,t,a){"use strict";a.d(t,"e",function(){return h}),a.d(t,"f",function(){return g}),a.d(t,"d",function(){return b}),a.d(t,"b",function(){return v}),a.d(t,"a",function(){return f}),a.d(t,"g",function(){return E}),a.d(t,"j",function(){return y}),a.d(t,"h",function(){return _}),a.d(t,"i",function(){return C}),a.d(t,"l",function(){return k}),a.d(t,"c",function(){return N}),a.d(t,"k",function(){return j});var n=a("../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),s=(a("../node_modules/core-js/modules/es6.regexp.replace.js"),a("../node_modules/lodash/uniqBy.js")),r=a.n(s),i=a("../node_modules/lodash/sortBy.js"),o=a.n(i),l=a("../node_modules/lodash/isEmpty.js"),c=a.n(l),d=a("../node_modules/lodash/get.js"),m=a.n(d),u=a("./site-modules/shared/utils/nice-name.js"),p=a("./site-modules/shared/utils/features-specs/utils.js");a("./site-modules/shared/utils/publication-states.js");const h=(e,t)=>{const a=e?"mobile":"wired";return`noVehicle.adName["${t.AD_NAME}"].platform["${a}"]`},g=(e,t,a)=>{const n=e?"mobile":"wired",s=m()(a,"model.niceName"),r=m()(a,"modelYear.year");return a&&s&&r?`adName["${t.AD_NAME}"].platform["${n}"].model["${s}"].year["${r}"]`:""};function b(e){return e?"mobile":"desktop"}function v(e,t){if("string"!=typeof e)return e;return e.replace("%%PATTERN:zip%%",t)}function f(e,t){return t?e.replace(";",`;partner=${t};`):e}const E=(e,t)=>{if(!e||c()(e))return null;const a=e.make,n=e.model,s=e.submodel,r=e.isMobile?"mobile":"wired",i=e.year||"";return`makes["${Object(u.b)(a)}"].models["${Object(u.b)(n)}"].submodels["${s?Object(u.b)(s):"defaultSubmodel"}"].modelYears["${i}"].adName["${t.AD_NAME}"].platform["${r}"]`},y=(e,t)=>{if(c()(e))return null;const a=e.make,n=e.model,s=e.submodel,r=e.isMobile,i=e.year,o=e.pubState,l=r?"mobile":"wired",d=i||"";return`makes["${Object(u.b)(a)}"].models["${Object(u.b)(n)}"].submodels["${s?Object(u.b)(s):"defaultSubmodel"}"].modelYears["${d}"].adName["${t.AD_NAME}"].platform["${l}"].pubState["${o}"]`},_=(e,t)=>{return`platform["${e?"mobile":"wired"}"].model["${t.modelNiceName||"none"}"].submodels["${t.subModelName||"defaultSubmodel"}"].year["${t.year||"any"}"]`},C=(e,t)=>{let a=t.pubState,s=Object(n.a)(t,["pubState"]);return`${_(e,s)}.pubState["${a}"]`};function k(e){return!!e&&"none"!==e}function N(e){if(!e||!e.map)return null;const t=o()(e.map(e=>({baseMsrp:e.baseMsrp,bestDealPrice:e.bestDealPrice,id:e.id,style:Object(p.c)(m()(e,"style","")).style,totalMsrp:e.totalMsrp})),"totalMsrp");return r()(t,"style").splice(0,3)}function j(e){return e?o()(e,"price.baseMSRP").map(e=>e.trim):null}},"./site-modules/shared/components/native-ad/video/video-native-ad.jsx":function(e,t,a){"use strict";a.r(t),a.d(t,"NativeVideoAd",function(){return o});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("./site-modules/shared/components/ad-unit/native-ad.jsx");function o(e){return r.a.createElement(i.a,Object(n.a)({adNameWired:"sponsoredvideo",adNameMobile:"msponsoredvideo",nativeStyle:"sponsoredvideo",refreshable:!1},e))}},"./site-modules/shared/components/other-model-years-combined-pub-states/other-model-years-combined-pub-states.jsx":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/lodash/map.js"),r=a.n(s),i=a("../node_modules/lodash/defaults.js"),o=a.n(i),l=a("../node_modules/lodash/get.js"),c=a.n(l),d=a("../node_modules/react/index.js"),m=a.n(d),u=a("../node_modules/react-redux/es/index.js"),p=a("../node_modules/prop-types/index.js"),h=a.n(p),g=a("../node_modules/classnames/index.js"),b=a.n(g),v=a("./site-modules/shared/utils/core-page/is-used-pub-state.js"),f=a("./site-modules/shared/utils/publication-states.js"),E=a("./site-modules/shared/components/content-collapse/content-collapse.jsx"),y=a("./site-modules/shared/utils/core-page/year-helpers.js"),_=a("./data/luckdragon/redux/react-binding.jsx"),C=a("./data/models/vehicle.js"),k=a("./site-modules/shared/components/link/link.jsx");function N(e){let t=e.url,a=e.yearName,n=e.selectedYear,s=e.isPreProd,r=e.nofollow;const i="text-center display-lg text-gray-darker";return m.a.createElement(d.Fragment,null,a===n?m.a.createElement("span",{className:`year selected-year font-weight-bold ${i}`},a):m.a.createElement(k.a,{className:`year year-link ${i}`,to:t,rel:r?"nofollow":null},a),s&&m.a.createElement("div",{className:"pre-prod-year label"},"Upcoming"))}N.propTypes={url:h.a.string,yearName:h.a.string,selectedYear:h.a.string,isPreProd:h.a.bool,nofollow:h.a.bool},N.defaultProps={url:null,yearName:"",selectedYear:"",isPreProd:!1,nofollow:!1};a("./site-modules/shared/components/other-model-years-combined-pub-states/other-model-years-combined-pub-states.scss");a.d(t,"a",function(){return T});const j={xl:8,lg:7,md:4,sm:8,xs:4};function O(e){let t=e.vehicle,a=e.submodelYears,s=e.breakpoint,i=e.heading,l=e.headingClassName,d=e.hasSeparatorAbove;if(!t||!a)return null;const u=function(e){let t={};return Object.keys(e).forEach(a=>{const n=c()(e,`${a}.years`,{});t=o()(t,n)}),r()(t,(e,t)=>t&&Object(n.a)({},e,{year:t})).reverse()}(a),p=c()(t,"make.name"),h=c()(t,"model.name"),g=c()(t,"year"),_=c()(t,"make.slug"),C=c()(t,"model.slug"),k=Object(y.a)(u,f.i,!0),O=Object(y.a)(u,y.c,!0);if(!k.length&&!O.length)return null;const T=k.concat(O);if(T.length<2)return null;const S=Object(y.b)(u,_,C);return m.a.createElement("div",{"data-tracking-parent":"years-module"},d&&m.a.createElement("hr",{className:"mt-0 mb-1_5"}),m.a.createElement("div",{className:b()("heading-5",l)},i||`${p} ${h} years`),m.a.createElement(E.a,{textClosed:"See other years",textOpen:"See less",justify:"justify-content-left",classes:"other-model-years-combine-pub-states",btnClasses:b()("other-years display-lg text-lowercase text-primary-darker p-0 pl-0_5",{"d-none":function(e,t){return j[e]>=t}(s,T.length)}),isEclipseFade:!1,btnContainerClasses:"py-0_5",trackingId:"see_other_years",showBtnBelow:!0,isOpenOnLoad:!0,closeAfterLoad:!0,minHeight:"48px"},T.map(e=>{let t=e.name,a=e.url;return m.a.createElement("div",{className:"year-col d-inline-block pos-r p-0 pr-1_5 pr-xl-2 mr-0_25 pb-0_5",key:`year-${t}`},m.a.createElement(N,{yearName:t,selectedYear:g,url:a,isPreProd:(e=>{let t=e.name,a=e.url;return k.map(e=>e.name===t&&e.url===a).includes(!0)})({name:t,url:a}),nofollow:Object(v.a)("",t)}))}),m.a.createElement("div",{className:"mb-0 mt-0_75 heading-5"},p," ",h," for Sale"),S.map(e=>{let t=e.name,a=e.url;return m.a.createElement("div",{className:"year-col d-inline-block pos-r p-0 pr-1_5 pr-xl-2 mr-0_25 pb-0_5",key:`year-${t}`},m.a.createElement(N,{yearName:t,url:a,isPreProd:!1}))})))}O.propTypes={vehicle:C.d.MakeModelSubmodelYear,submodelYears:h.a.shape({}),breakpoint:h.a.string,heading:h.a.string,headingClassName:h.a.string,hasSeparatorAbove:h.a.bool},O.defaultProps={vehicle:null,submodelYears:null,breakpoint:"xl",heading:null,headingClassName:"mb-0 mt-0_75",hasSeparatorAbove:!1};const T=Object(u.c)(e=>({breakpoint:e.pageContext&&e.pageContext.page.breakpoint}))(Object(_.b)(O,{submodelYears:Object(_.a)(e=>{let t=e.vehicle;const a=c()(t,"make.slug"),n=c()(t,"model.slug");return a&&n&&Object(C.A)({make:a,model:n})},C.e)}));T.propTypes={vehicle:C.d.MakeModelSubmodelYear},T.defaultProps={vehicle:null}},"./site-modules/shared/components/other-model-years-combined-pub-states/other-model-years-combined-pub-states.scss":function(e,t,a){},"./site-modules/shared/components/other-model-years-generations/other-model-years-generations.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return C});a("../node_modules/core-js/modules/es6.regexp.to-string.js");var n=a("../node_modules/lodash/get.js"),s=a.n(n),r=a("../node_modules/react/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o),c=a("../node_modules/react-redux/es/index.js"),d=a("../node_modules/prop-types/index.js"),m=a.n(d),u=a("./site-modules/shared/components/content-collapse/content-collapse.jsx"),p=a("./data/luckdragon/redux/react-binding.jsx"),h=a("./data/models/vehicle.js"),g=a("./site-modules/shared/components/link/link.jsx"),b=a("./site-modules/shared/utils/core-link-constructor.js"),v=a("./utils/string-utils.js"),f=a("./site-modules/shared/utils/publication-states.js");a("./site-modules/shared/components/other-model-years-generations/other-model-years-generations.scss");const E=55,y={xs:6,sm:6,md:4,lg:8,xl:8};function _(e){let t=e.vehicle,a=e.generationYears,n=e.breakpoint;if(!t||!a||a.length<2)return null;const r=function(e){const t=e.sort((e,t)=>t.year-e.year),a=[];let n,s,r=[];return t.forEach(e=>{let t=e.publicationStates,i=e.generations,o=e.year,l=e.model;const c=1===t.length&&"PRE_PROD"===t[0]?"*":"";c&&(s=!0);const d=i.length&&i[0].generation;n!==d&&(n&&(a.push({gen:n,years:r}),r=[]),n=d),r.push({year:o,pubStateMarker:c,model:l})}),a.push({gen:n,years:r}),{hasPreprod:s,generationsArr:a}}(a),o=r.generationsArr,c=r.hasPreprod,d=s()(t,"make.name"),m=s()(t,"model.name"),p=s()(t,"year"),h=o.map(e=>{let a=e.gen,n=e.years;return i.a.createElement("div",{key:a},i.a.createElement("header",{className:"text-gray font-weight-bold heading-7 mb-0_25"},function(e,t){return e?`${Object(v.f)(e)} Generation`:t?"Older years":"Other years"}(a,Object(f.j)(t.pubStates))),i.a.createElement("div",{className:"d-flex flex-wrap mb-1"},n.map(e=>{let t=e.year,a=e.model,n=e.pubStateMarker;return i.a.createElement("span",{className:"year font-weight-bold display-lg text-gray-darker mb-0_5",key:t},t.toString()===p?i.a.createElement("span",{className:n&&"pre-prod"},t):i.a.createElement(g.a,{className:l()("font-weight-normal",{"pre-prod":n}),to:Object(b.d)({makeSlug:a.make.slug,modelSlug:a.slug,year:t})},t))})))}),_=o.length>1||1===o.length&&o[0].years.length>y[n];return i.a.createElement("div",{className:"other-model-years-generations p-0_75 px-md-0 pb-md-0","data-tracking-parent":"years-module"},i.a.createElement("div",{className:"mb-1 heading-5"},`Other ${d} ${m} years`),_&&i.a.createElement(u.a,{textClosed:"See other years",textOpen:"See less",justify:"justify-content-left",isEclipseFade:!1,btnClasses:"display-lg py-0 pr-0 pl-0_5",btnTextClasses:"text-primary-darker font-weight-normal",btnContainerClasses:"py-0_5",btnArrowClasses:"size-10 text-primary-darker",trackingId:"see_other_years",showBtnBelow:!0,isOpenOnLoad:!0,closeAfterLoad:!0,minHeight:`${C=o,k=p,(1===C[0].years.length&&`${C[0].years[0].year}`!==k?2:1)*E}px`},h),!_&&h,c&&i.a.createElement("span",{className:"small text-gray-darker"},"* upcoming model"));var C,k}_.propTypes={vehicle:h.d.MakeModelSubmodelYear,generationYears:h.d.Generations,breakpoint:m.a.string},_.defaultProps={vehicle:null,generationYears:null,breakpoint:"xl"};const C=Object(c.c)(e=>({breakpoint:e.pageContext&&e.pageContext.page.breakpoint}))(Object(p.b)(_,{generationYears:Object(p.a)(e=>{let t=e.vehicle;const a=s()(t,"make.slug"),n=s()(t,"model.slug");return Object(h.k)({make:a,model:n})},h.e)}));C.propTypes={vehicle:h.d.MakeModelSubmodelYear},C.defaultProps={vehicle:null}},"./site-modules/shared/components/other-model-years-generations/other-model-years-generations.scss":function(e,t,a){},"./site-modules/shared/components/other-model-years-lite/other-model-years-lite.scss":function(e,t,a){},"./site-modules/shared/components/photoflipper-button/get-photoflipper-button.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return h});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),r=a("../node_modules/react/index.js"),i=a.n(r),o=a("../node_modules/prop-types/index.js"),l=a.n(o),c=a("./site-modules/shared/constants/ads.js"),d=a("./utils/event-toolbox.js"),m=a("./site-modules/shared/constants/photoflipper/photoflipper.jsx");a("./site-modules/shared/components/photoflipper-button/photoflipper-button.scss");const u="border-0 photoflipper-button text-white px-0_5 py-0_25 xsmall",p={leaderc:["1"],mab:["1"],mrect:["1","2"],spot:["0"],companion:["0"],mcompanion:["0"]};function h(e){var t,a;return a=t=class extends r.Component{constructor(){super(...arguments),this.state={isModalOpen:!1},this.toggleModal=(()=>{d.a.fireCustomEvent("togglingModal",{shouldBeDestroyed:!this.state.isModalOpen,ads:p,correlatorTsShouldBeUpdated:this.state.isModalOpen}),this.setState(e=>{return{isModalOpen:!e.isModalOpen}})})}shouldComponentUpdate(e,t){return this.state.isModalOpen!==t.isModalOpen||this.props.children!==e.children}render(){const t=this.props,a=t.makeSlug,r=t.modelSlug,o=t.year,l=t.submodel,d=t.children,m=t.simplified,p=t.photoUrls,h=t.photoType,g=t.forceDefaultCategory,b=t.dataTrackingId,v=Object(s.a)(t,["makeSlug","modelSlug","year","submodel","children","simplified","photoUrls","photoType","forceDefaultCategory","dataTrackingId"]);if(i.a.Children.only(d),!a||!r||!o)return null;const f=i.a.cloneElement(d,{className:d.props.className||u,onClick:this.toggleModal,tabIndex:"0","data-tracking-id":b||"open_legacy_photoflipper","data-refresh-zone":[c.a.ADHESION]});return i.a.createElement("div",null,f,i.a.createElement(e,Object(n.a)({make:a,model:r,year:o,submodel:l||"",photoType:h,isOpen:this.state.isModalOpen,toggle:this.toggleModal,simplified:m,photoUrls:p,forceDefaultCategory:g},v)))}},t.propTypes={makeSlug:l.a.string,year:l.a.oneOfType([l.a.string,l.a.number]),modelSlug:l.a.string,submodel:l.a.string,photoType:l.a.string,simplified:l.a.bool,photoUrls:l.a.arrayOf(l.a.string),children:l.a.element.isRequired,forceDefaultCategory:l.a.oneOf([m.d.VIDEO,m.d.INTERIOR,m.d.EXTERIOR]),dataTrackingId:l.a.string},t.defaultProps={makeSlug:null,year:null,modelSlug:null,submodel:null,simplified:!1,photoUrls:[],photoType:"",forceDefaultCategory:null,dataTrackingId:null},a}},"./site-modules/shared/components/photoflipper-button/photoflipper-button-async.jsx":function(e,t,a){"use strict";var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("./site-modules/shared/components/lazy-load/lazy-load.jsx");const l=Object(o.a)({loader:()=>Promise.all([a.e(5),a.e(4),a.e(7),a.e(10),a.e(46),a.e("photoflipper-modal")]).then(a.bind(null,"./site-modules/shared/components/photoflipper-modal/photoflipper-modal.jsx")),componentName:"PhotoflipperModal"});class c extends n.Component{constructor(){super(...arguments),this.state={isLoaded:!1}}static getDerivedStateFromProps(e,t){return e.isOpen&&!t.isLoaded?{isLoaded:!0}:null}render(){return this.state.isLoaded?s.a.createElement(l,this.props):null}}c.propTypes={isOpen:i.a.bool.isRequired};var d=a("./site-modules/shared/components/photoflipper-button/get-photoflipper-button.jsx");a.d(t,"a",function(){return m});const m=Object(d.a)(c)},"./site-modules/shared/components/photoflipper-button/photoflipper-button.scss":function(e,t,a){},"./site-modules/shared/components/preprod-articles/article-photo.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return c});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("./site-modules/shared/components/editorial/article-hero-carousel/article-hero-carousel.jsx"),l=a("./utils/image-helpers.js");function c(e){let t=e.links;if(1!==t.length)return s.a.createElement(o.a,{carouselClasses:"article-photo my-1",slides:t});const a=t[0],n=a.href,r=a.title,i=a.captionTranscript;return s.a.createElement("div",{className:"my-1"},s.a.createElement("img",{className:"w-100",src:Object(l.i)(n,1600,l.d.DAM),alt:r,title:r}),!!i&&s.a.createElement("div",{className:"mt-0_25 xsmall text-gray"},i))}c.propTypes={links:i.a.arrayOf(i.a.shape({href:i.a.string.isRequired,captionTranscript:i.a.string,title:i.a.string})).isRequired}},"./site-modules/shared/components/profile/insider-empty-state/insider-empty-state.scss":function(e,t,a){},"./site-modules/shared/components/profile/price-drop-alerts-dropdown/price-drop-alerts-dropdown-menu.scss":function(e,t,a){},"./site-modules/shared/components/profile/price-drop-alerts-list/price-drop-alerts-list.scss":function(e,t,a){},"./site-modules/shared/components/profile/price-drop-alerts/price-drop-alerts.scss":function(e,t,a){},"./site-modules/shared/components/profile/sign-up/join-insider-sign-up.scss":function(e,t,a){},"./site-modules/shared/components/progressive-component/progressive-component.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return d});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("./site-modules/shared/components/lazy-load/lazy-load.jsx"),i=a("./utils/environment.js"),o=a("./site-modules/shared/components/render-when-viewable/render-when-viewable.jsx"),l=a("./site-modules/shared/components/error-boundary/error-boundary.jsx");function c(){return!1}function d(e){let t=e.SEOComponent,a=void 0===t?c:t,d=e.fullComponent,m=e.dataTrackingParent,u=e.verticalOffset,p=void 0===u?"100%":u,h=e.Renderer,g=void 0===h?o.a:h;return class extends s.a.Component{constructor(e){super(e),this.renderSEOComponent=(()=>s.a.createElement(a,this.props)),this.EnhancedComponent=!Object(i.c)()&&Object(r.a)({loader:d.loader,componentName:d.name,loading:()=>s.a.createElement(a,e)})}renderInnerContent(){return s.a.createElement(n.Fragment,null,this.EnhancedComponent?s.a.createElement(l.a,{message:this.renderSEOComponent},s.a.createElement(g,{verticalOffset:p,placeholder:s.a.createElement(a,this.props)},s.a.createElement(this.EnhancedComponent,this.props))):s.a.createElement(a,this.props))}render(){const e=m||this.props.dataTrackingParent;return e?s.a.createElement("div",{"data-tracking-parent":e},this.renderInnerContent()):s.a.createElement(n.Fragment,null,this.renderInnerContent())}}}},"./site-modules/shared/components/radio-list/radio-list.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return f});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("../node_modules/prop-types/index.js"),o=a.n(i),l=a("../node_modules/reactstrap/lib/FormGroup.js"),c=a.n(l),d=a("../node_modules/reactstrap/lib/Label.js"),m=a.n(d),u=a("../node_modules/reactstrap/lib/Input.js"),p=a.n(u),h=a("../node_modules/classnames/index.js"),g=a.n(h),b=a("./site-modules/shared/components/field-error/field-error.jsx"),v=a("./utils/seed-randomizers.js");a("./site-modules/shared/components/radio-list/radio-list.scss");function f(e){let t=e.legend,a=e.list,s=e.name,i=e.tag,o=e.ariaRole,l=e.ariaLabel,d=e.onChange,u=e.checked,h=e.formClassName,f=e.legendClassName,E=e.formGroupClassName,y=e.labelContainerClassName,_=e.labelClassName,C=e.textClassName,k=e.checkmarkClassName,N=e.error;const j=e.fieldErrorId||`radio-error-${Object(v.c)()}`;return r.a.createElement(c.a,Object(n.a)({tag:i,role:o,className:g()("radio-list",h),"aria-label":l},N?{"aria-describedby":j,"aria-invalid":!0}:{}),t&&r.a.createElement("legend",{className:g()(f)},t),r.a.createElement(b.a,{id:j,error:N,classes:"mb-1"}),a.map(e=>{let t=e.title,a=e.text,i=e.trackingId,o=e.trackingValue,l=e.id;return r.a.createElement(c.a,{key:t,className:g()(E),check:!0},r.a.createElement(m.a,{className:g()(y,{"label-checked":u===t}),check:!0},r.a.createElement(p.a,Object(n.a)({className:"radio-input",type:"radio",value:t,name:s,checked:u===t,onChange:d},i?{"data-tracking-id":i}:{},o?{"data-tracking-value":o}:{})),r.a.createElement("span",{className:g()("checkmark",k)}),r.a.createElement("div",Object(n.a)({},l?{id:l}:{},{className:g()(_)}),t),r.a.createElement("div",{className:g()(C)},a)))}))}f.propTypes={name:o.a.string.isRequired,onChange:o.a.func.isRequired,list:o.a.arrayOf(o.a.shape({})).isRequired,tag:o.a.string,ariaRole:o.a.string,ariaLabel:o.a.string,checked:o.a.string,legend:o.a.string,formClassName:o.a.string,legendClassName:o.a.string,formGroupClassName:o.a.string,labelContainerClassName:o.a.string,labelClassName:o.a.string,textClassName:o.a.string,checkmarkClassName:o.a.string,error:o.a.string,fieldErrorId:o.a.string},f.defaultProps={tag:"fieldset",ariaRole:null,ariaLabel:null,classes:{},checked:"",legend:"",formClassName:"",legendClassName:"",formGroupClassName:"",labelContainerClassName:"",labelClassName:"",textClassName:"",checkmarkClassName:"",error:null,fieldErrorId:null}},"./site-modules/shared/components/radio-list/radio-list.scss":function(e,t,a){},"./site-modules/shared/components/rating-stars-count/rating-stars-count.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return d});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o),c=a("./site-modules/shared/components/rating-stars/rating-stars.jsx");function d(e){const t=e.ratingAverage,a=e.ratingCount,r=e.starsColor,i=e.starsWrapperClass,o=e.starClass,d=e.ratingCountClass,m=t>0,u=a>0;return s.a.createElement(n.Fragment,null,m&&s.a.createElement(c.a,{rating:t,starClass:o,className:l()(`text-${r}`,i)}),s.a.createElement("span",{className:d},u?`(${a})`:""))}d.propTypes={ratingAverage:i.a.number.isRequired,ratingCount:i.a.number.isRequired,ratingCountClass:i.a.string,starClass:i.a.string,starsWrapperClass:i.a.string,starsColor:i.a.string},d.defaultProps={ratingCountClass:"",starsColor:"success",starClass:"",starsWrapperClass:"mr-0_25"}},"./site-modules/shared/components/rating-stars/rating-stars.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return u});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o),c=a("../node_modules/lodash/round.js"),d=a.n(c);a("./site-modules/shared/components/rating-stars/rating-stars.scss");const m=5;function u(e){let t=e.rating,a=e.className,n=e.starClass;const r=d()(t,2);return s.a.createElement("span",{className:l()("rating-stars",a),"aria-label":`${r} out of ${m} stars`},function(e){const t=[];for(let a=0;a<m;a+=1){const n=e-a;n>=1?t.push("icon-star-full"):n>0&&n<1?t.push("icon-star-empty2"):t.push("icon-star-empty")}return t}(r).map((e,t)=>s.a.createElement("span",{key:t,className:l()("rating-star",e,n)})))}u.propTypes={rating:i.a.number,className:i.a.string,starClass:i.a.string},u.defaultProps={rating:0,className:"",starClass:""}},"./site-modules/shared/components/rating-stars/rating-stars.scss":function(e,t,a){},"./site-modules/shared/components/scroll-link/scroll-element.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return c});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js"),r=a("../node_modules/react/index.js"),i=a.n(r),o=a("../node_modules/prop-types/index.js"),l=a.n(o);function c(e){let t=e.children,a=Object(s.a)(e,["children"]);return i.a.createElement("div",Object(n.a)({tabIndex:-1},a),t)}c.propTypes={id:l.a.string.isRequired}},"./site-modules/shared/components/seo-links/seo-links.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return b}),a.d(t,"b",function(){return _});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/reactstrap/lib/Container.js"),l=a.n(o),c=a("../node_modules/classnames/index.js"),d=a.n(c),m=a("./data/luckdragon/redux/react-binding.jsx"),u=a("./data/models/cms.js"),p=a("./data/cms/content.js"),h=a("./site-modules/shared/components/content-collapse/content-collapse.jsx");a("./site-modules/shared/components/seo-links/seo-links.scss");function g(e){let t=e.href,a=e.title;return s.a.createElement("li",null,s.a.createElement("a",{className:"size-14",href:t,"data-tracking-id":"view_seo_internal_link"},a))}function b(e){let t=e.items,a=e.className;return s.a.createElement("ul",{className:d()("list-unstyled small",a)},t.map(e=>s.a.createElement(g,{href:e.href,title:e.title||e.anchorText,key:e.href})))}function v(e){let t=e.content;const a=t.metadata("title").value(),r=t.links();return s.a.createElement(n.Fragment,null,a&&s.a.createElement("p",{className:"font-weight-bold size-14 mb-0"},a),s.a.createElement(b,{items:r}))}function f(e){let t=e.content;return s.a.createElement(n.Fragment,null,s.a.createElement("h2",{className:"pb-1 text-left heading-3 mt-1_5"},"Latest Car News"),s.a.createElement("div",{className:"latest-car-news-section seo-column-count"},s.a.createElement(v,{content:t.child("pre-prod-list")})))}g.propTypes={href:i.a.string.isRequired,title:i.a.string.isRequired},b.propTypes={items:i.a.arrayOf(i.a.object).isRequired,className:i.a.string},b.defaultProps={className:""},v.propTypes={content:u.a.Content.isRequired},f.propTypes={content:u.a.Content},f.defaultProps={content:p.a};const E={content:Object(u.d)("editorial/includes/venom/home-page-pre-prod-list","pre-prods")},y=Object(m.b)(f,E);function _(e){let t=e.content,a=e.className,n=e.isBtnLink,r=e.btnClassName,i=e.showLatestNewsSection;return s.a.createElement(l.a,{className:d()("seo-links link-widget text-gray-darker px-0_5",a),"data-tracking-parent":"edm-entry-internal-links",tag:"section"},s.a.createElement("h2",{className:"pb-1 text-left heading-3"},"Most popular vehicles"),s.a.createElement(h.a,{minHeight:"300px",isEclipseFade:!1,textClosed:"See more",textOpen:"See less",showBtnBelow:!0,justify:"justify-content-start",btnClasses:r,btnTextClasses:"font-weight-normal text-primary-darker size-14",btnArrowClasses:"size-10 text-primary-darker",btnSize:"md",isBtnLink:n},s.a.createElement("div",{className:"seo-column-count"},s.a.createElement(v,{content:t.child("popular-new-cars-seo-footer")}),s.a.createElement(v,{content:t.child("popular-sedans-seo-footer")}),s.a.createElement(v,{content:t.child("popular-suvs-seo-footer")}),s.a.createElement(v,{content:t.child("popular-pickup-truck-seo-footer")}),s.a.createElement(v,{content:t.child("popular-minivans-seo-footer")}),s.a.createElement(v,{content:t.child("popular-hatchback-seo-footer")}),s.a.createElement(v,{content:t.child("popular-crossovers-seo-footer")}),s.a.createElement(v,{content:t.child("popular-convertibles-seo-footer")}),s.a.createElement(v,{content:t.child("popular-coupes-seo-footer")})),i&&s.a.createElement(y,null)))}_.propTypes={content:u.a.Content,className:i.a.string,isBtnLink:i.a.bool,btnClassName:i.a.string,showLatestNewsSection:i.a.bool},_.defaultProps={content:p.a,className:"",isBtnLink:!1,btnClassName:"pl-0_5",showLatestNewsSection:!1}},"./site-modules/shared/components/seo-links/seo-links.scss":function(e,t,a){},"./site-modules/shared/components/shop-used-inventory-button/shop-used-inventory-button.scss":function(e,t,a){},"./site-modules/shared/components/spinner/spinner.scss":function(e,t,a){},"./site-modules/shared/components/sticky-tray/sticky-tray.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return u});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o),c=a("../node_modules/react-dom/index.js"),d=a("./site-modules/shared/components/client-side-render/client-side-render.jsx");a("./site-modules/shared/components/sticky-tray/sticky-tray.scss");class m extends n.Component{constructor(e){super(e),this.stickyTrayPortal=document.getElementById("sticky-tray-portal"),this.stickyTrayPortal||(this.stickyTrayPortal=document.createElement("div"),this.stickyTrayPortal.classList.add("fixed-bottom","pos-r"),this.stickyTrayPortal.setAttribute("id","sticky-tray-portal"),document.body.appendChild(this.stickyTrayPortal))}render(){const e=this.props,t=e.isSticky,a=e.children,n=s.a.createElement("div",{className:l()("sticky-tray",{"is-sticky":t})},a);return t?Object(c.createPortal)(n,this.stickyTrayPortal):null}}function u(e){return s.a.createElement(d.a,{showTimeout:100},s.a.createElement(m,e))}m.propTypes={isSticky:i.a.bool.isRequired,children:i.a.node.isRequired}},"./site-modules/shared/components/sticky-tray/sticky-tray.scss":function(e,t,a){},"./site-modules/shared/components/submodel-dropdown/submodel-dropdown.jsx":function(e,t,a){"use strict";var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o),c=a("../node_modules/reactstrap/lib/Dropdown.js"),d=a.n(c),m=a("../node_modules/reactstrap/lib/DropdownToggle.js"),u=a.n(m),p=a("../node_modules/reactstrap/lib/DropdownMenu.js"),h=a.n(p),g=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),b=a("./site-modules/shared/components/link/link.jsx"),v=a("./site-modules/shared/constants/allowed-inventory-request-params.js"),f=a("../node_modules/reactstrap/lib/DropdownItem.js"),E=a.n(f),y=a("../node_modules/reactstrap/lib/Button.js"),_=a.n(y);class C extends n.Component{constructor(){super(...arguments),this.onDropdownItemClick=(()=>{const e=this.props.submodelName;return this.props.onSelectChange?this.props.onSelectChange(v.SUBMODEL_ID,{name:e,selected:!1,value:e}):null})}render(){const e=this.props,t=e.dropDownItemClassName,a=e.dataTrackingId,n=e.dataTrackingValue,r=e.submodelLink,i=e.submodelName,o=r?{tag:b.a,to:r}:{tag:_.a,onClick:this.onDropdownItemClick};return s.a.createElement(E.a,Object(g.a)({className:t,"data-tracking-value":n,"data-tracking-id":a},o),i)}}C.propTypes={onSelectChange:i.a.func,submodelName:i.a.string,dropDownItemClassName:i.a.string,dataTrackingId:i.a.string,dataTrackingValue:i.a.string,submodelLink:i.a.string},C.defaultProps={onSelectChange:null,submodelName:"",dropDownItemClassName:"py-0_25 small w-100 text-left",dataTrackingId:null,dataTrackingValue:null,submodelLink:""};a("./site-modules/shared/components/submodel-dropdown/submodel-dropdown.scss");a.d(t,"a",function(){return k});class k extends n.Component{constructor(){super(...arguments),this.state={dropdownOpen:!1},this.toggle=(()=>{this.setState(e=>({dropdownOpen:!e.dropdownOpen}))})}render(){const e=this.props,t=e.submodels,a=e.defaultSubmodel,n=e.onSelectChange,r=e.dropDownItemClassName,i=e.dataTrackingId,o=e.dataTrackingValue,c=e.className,m=this.state.dropdownOpen;return s.a.createElement("div",null,s.a.createElement("span",{className:"small text-gray-darker mr-0_25"},"Type:"),s.a.createElement(d.a,{isOpen:m,toggle:this.toggle,className:l()("d-inline-block submodel-dropdown",c)},s.a.createElement(u.a,{className:"submodel-dropdown_toggle text-primary-darker btn-link py-0 pl-0 text-capitalize border-0 size-16"},a,s.a.createElement("span",{className:l()("size-10 ml-0_25",m?"icon-arrow-up4":"icon-arrow-down4")})),s.a.createElement(h.a,null,t.map(e=>{let t=e.name,a=e.url;return s.a.createElement(C,{key:t,onSelectChange:n,submodelName:t,dropDownItemClassName:l()("submodel-item py-0_25 px-1_5 size-16",r),dataTrackingId:i,dataTrackingValue:o,submodelLink:a})}))))}}k.propTypes={defaultSubmodel:i.a.string,submodels:i.a.arrayOf(i.a.shape({name:i.a.string,submodelUrl:i.a.string})),onSelectChange:i.a.func,dropDownItemClassName:i.a.string,dataTrackingId:i.a.string,dataTrackingValue:i.a.string,className:i.a.string},k.defaultProps={submodels:[],defaultSubmodel:"",onSelectChange:null,dropDownItemClassName:"small w-100 text-left",dataTrackingId:null,dataTrackingValue:null,className:""}},"./site-modules/shared/components/submodel-dropdown/submodel-dropdown.scss":function(e,t,a){},"./site-modules/shared/components/suggested-vehicle-pricing-carousel/tracking.js":function(e,t,a){"use strict";a.d(t,"a",function(){return o});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("./tracking/event.js"),r=a("./tracking/constant.js");const i={suggested_vehicle_make_select:s.a.actionStart(r.b.ACTION_MMY_SELECT,r.b.MAKE_SELECT),suggested_vehicle_model_select:s.a.actionProgress(r.b.ACTION_MMY_SELECT,r.b.MODEL_SELECT),suggested_vehicle_zip_code_entry:s.a.actionProgress(r.b.ACTION_MMZ_SELECT,r.b.ZIP_CODE_ENTRY)},o=Object(n.a)({},i)},"./site-modules/shared/components/tooltip-item/tooltip-item.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return h});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("../node_modules/prop-types/index.js"),o=a.n(i),l=a("../node_modules/react-redux/es/index.js"),c=a("../node_modules/classnames/index.js"),d=a.n(c),m=a("../node_modules/reactstrap/lib/Tooltip.js"),u=a.n(m);class p extends s.Component{constructor(){super(...arguments),this.state={tooltipOpen:!1,performedInitialClick:!1},this.tooltipElement=r.a.createRef(),this.clickEvents=["click","touchend"],this.clickHandler=(e=>{this.tooltipElement&&this.tooltipElement.current&&this.tooltipElement.current===e.target&&e.stopPropagation(),this.setState({tooltipOpen:!1,performedInitialClick:!1}),this.clickEvents.forEach(e=>document.body.removeEventListener(e,this.clickHandler))}),this.registerCloseEvent=(()=>{this.clickEvents.forEach(e=>document.body.addEventListener(e,this.clickHandler))}),this.toggle=(()=>{this.setState(e=>{let t=e.tooltipOpen,a=e.performedInitialClick;return this.props.isMobile&&!a?{performedInitialClick:!0}:{tooltipOpen:!t}},()=>{this.state.tooltipOpen&&this.registerCloseEvent()})})}render(){const e=this.props,t=e.className,a=e.iconClassName,s=e.id,i=e.item,o=i.placement,l=i.text,c=i.boundariesElement,m=e.innerClassName,p=e.tooltipClassName,h=`tooltip${s}`,g=this.state.tooltipOpen;return r.a.createElement("sup",{className:d()("ml-0_25",t)},r.a.createElement("i",Object(n.a)({id:h,role:"tooltip"},g?{"aria-describedby":`${h}-sr-content`}:{},{tabIndex:0,onClick:this.toggle,ref:this.tooltipElement,className:d()("icon-info info-popover-icon",a)}),g&&r.a.createElement("span",{id:`${h}-sr-content`,className:"sr-only"},l)),r.a.createElement(u.a,{className:d()("tooltip--white",p),innerClassName:m,placement:o,isOpen:g,target:h,id:`${h}-container`,toggle:this.toggle,flip:!1,boundariesElement:c},l))}}p.propTypes={id:o.a.string.isRequired,item:o.a.shape({text:o.a.oneOfType([o.a.string,o.a.node]).isRequired,placement:o.a.string.isRequired,boundariesElement:o.a.oneOfType([o.a.string,o.a.node])}).isRequired,className:o.a.string,iconClassName:o.a.string,innerClassName:o.a.string,tooltipClassName:o.a.string,isMobile:o.a.bool},p.defaultProps={className:"",iconClassName:"",innerClassName:"",tooltipClassName:"",isMobile:!1};const h=Object(l.c)(e=>({isMobile:e.mobile}))(p)},"./site-modules/shared/components/top-makes-link/top-makes-link.scss":function(e,t,a){},"./site-modules/shared/components/top-makes-section/top-makes-section.jsx":function(e,t,a){"use strict";var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("./site-modules/shared/utils/parse-content-metadata.js"),l=a("../node_modules/classnames/index.js"),c=a.n(l),d=a("./site-modules/shared/components/link/link.jsx");a("./site-modules/shared/components/top-makes-link/top-makes-link.scss");function m(e){let t=e.topMake,a=e.className,n=e.dataTrackingId;const r=t.linkUrl,i=t.title;return s.a.createElement("p",{className:c()("top-make-link-container col-6 col-lg-6 col-md-3 mb-1",a)},s.a.createElement(d.a,{className:"underline",to:r,"data-tracking-id":n},i))}function u(e){let t=e.topMakes,a=e.className,n=e.linkClassName,r=e.linkTrackingId;const i=Object(o.a)(t.getAllMetadata(),["link-url","title"],20),l=t.title;return s.a.createElement("div",{className:a},s.a.createElement("div",{className:"top-makes-section text-gray-darker row"},s.a.createElement("h2",{className:"heading-3 mb-1_5 col-12"},l),i.map(e=>s.a.createElement(m,{topMake:e,className:n,key:e.linkUrl,dataTrackingId:r}))))}m.propTypes={topMake:i.a.shape({linkUrl:i.a.string.isRequired,title:i.a.string.isRequired}).isRequired,className:i.a.string,dataTrackingId:i.a.string},m.defaultProps={className:null,dataTrackingId:null},a.d(t,"a",function(){return u}),u.propTypes={topMakes:i.a.shape({}).isRequired,className:i.a.string,linkClassName:i.a.string,linkTrackingId:i.a.string},u.defaultProps={className:null,linkClassName:null,linkTrackingId:null}},"./site-modules/shared/components/top-rated-badge/top-rated-badge.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return u});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o),c=a("./utils/image-helpers.js"),d=a("./site-modules/shared/utils/top-rated.js");a("./site-modules/shared/components/top-rated-badge/top-rated-badge.scss");const m="/img/top-rated/top-rated-badge.png";function u(e){let t=e.vehicleParams,a=e.className;if(!Object(d.a)(t))return null;const n=Object(c.n)(m);return s.a.createElement("img",{className:l()("top-rated-badge",a),src:n,alt:"Top Rated vehicle"})}u.propTypes={vehicleParams:i.a.shape({make:i.a.string,model:i.a.string,year:i.a.oneOfType([i.a.string,i.a.number])}).isRequired,className:i.a.string},u.defaultProps={className:null}},"./site-modules/shared/components/top-rated-badge/top-rated-badge.scss":function(e,t,a){},"./site-modules/shared/components/type-rankings-link/type-rankings-link.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return b});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=(a("../node_modules/core-js/modules/es6.regexp.replace.js"),a("../node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js")),r=a("../node_modules/react/index.js"),i=a.n(r),o=a("../node_modules/prop-types/index.js"),l=a.n(o),c=a("../node_modules/classnames/index.js"),d=a.n(c),m=a("./site-modules/shared/components/link/link.jsx"),u=a("./data/models/type-rankings.js"),p=a("./site-modules/shared/utils/upper-funnel/type-rankings.js"),h=a("./site-modules/shared/constants/upper-funnel/type-rankings.js");a("./site-modules/shared/components/type-rankings-link/type-rankings-link.scss");const g={"Plug-in hybrids":"Hybrid","Luxury plug-in hybrid cars":"Hybrid","Luxury plug-in hybrid SUVs":"Hybrid"};function b(e){let t=e.segmentRating,a=e.className,r=e.suppressDuplicate,o=e.displaySideArrow,l=e.rankNumberClassName,c=Object(s.a)(e,["segmentRating","className","suppressDuplicate","displaySideArrow","rankNumberClassName"]);if(!t)return null;const u=t.rank,b=t.editorialSegment,v=b.displayName,f=b.edmundsTypeCategory,E=b.segmentRatings,y=g[v]||f;if(E.filter(e=>{return e.rating}).length<h.b||r&&y!==f)return null;const _=v.slice(0,-1);return i.a.createElement(m.a,Object(n.a)({className:d()("type-rankings-link",a),to:Object(p.a)(f,v),"data-tracking-id":"view_vehicle_ranking","data-tracking-value":`#${u} ${_}`.replace(/\s/g,"_")},c),i.a.createElement("span",{className:l},"#",u)," ",_," ",o&&i.a.createElement("i",{className:"icon-arrow-right4 xsmall text-primary-darker"}))}b.propTypes={segmentRating:u.a.SegmentRating,className:l.a.string,rankNumberClassName:l.a.string,suppressDuplicate:l.a.bool,displaySideArrow:l.a.bool},b.defaultProps={segmentRating:null,className:null,rankNumberClassName:null,suppressDuplicate:!1,displaySideArrow:!1}},"./site-modules/shared/components/type-rankings-link/type-rankings-link.scss":function(e,t,a){},"./site-modules/shared/components/unordered-list/unordered-list.jsx":function(e,t,a){"use strict";a.d(t,"b",function(){return c}),a.d(t,"c",function(){return d}),a.d(t,"a",function(){return m});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o);a("./site-modules/shared/components/unordered-list/unordered-list.scss");function c(e){let t=e.children,a=e.listItemClasses,n=e.textClasses;return s.a.createElement("li",{className:l()("unordered-list-item",a)},s.a.createElement("span",{className:n},t))}function d(e){let t=e.children,a=e.listClasses,n=e.showList,r=e.showNotAvailable,i=e.title,o=e.titleClasses;return s.a.createElement("div",{className:"unordered-list"},!!i&&s.a.createElement("p",{className:o},i,r&&s.a.createElement("span",{className:"font-weight-normal"}," - Not Available")),n&&s.a.createElement("ul",{className:a},t))}function m(e){let t=e.title,a=e.items,n=e.titleClasses,r=e.listClasses,i=e.textClasses,o=e.listItemClasses;return s.a.createElement(d,{showNotAvailable:0===a.length,listClasses:r,showList:a.length>0,title:t,titleClasses:n},a.map(e=>s.a.createElement(c,{key:e,listItemClasses:o,textClasses:i},e)))}c.propTypes={children:i.a.node,listItemClasses:i.a.string,textClasses:i.a.string},c.defaultProps={children:null,listItemClasses:"",textClasses:""},d.propTypes={children:i.a.arrayOf(i.a.node),listClasses:i.a.string,showList:i.a.bool,showNotAvailable:i.a.bool,title:i.a.string,titleClasses:i.a.string},d.defaultProps={title:null,children:[],items:[],listClasses:"",showList:!0,showNotAvailable:!1,titleClasses:""},m.propTypes={title:i.a.string,items:i.a.arrayOf(i.a.string),titleClasses:i.a.string,listClasses:i.a.string,textClasses:i.a.string,listItemClasses:i.a.string},m.defaultProps={title:null,items:[],titleClasses:"",listClasses:"",textClasses:"",listItemClasses:""}},"./site-modules/shared/components/unordered-list/unordered-list.scss":function(e,t,a){},"./site-modules/shared/components/vehicle-image/vehicle-image.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return m});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("../node_modules/classnames/index.js"),l=a.n(o),c=a("./utils/image-helpers.js"),d=a("./site-modules/shared/components/core-img/core-img.jsx");a("./site-modules/shared/components/vehicle-image/vehicle-image.scss");function m(e){let t=e.src,a=e.vehicle,n=e.photoDescText,r=e.imgClasses;const i=n||function(e){return e?`${e.year} ${e.makeName} ${e.modelName}`:"no vehicle photo"}(a);return s.a.createElement("img",{src:t||Object(c.n)(d.c),alt:i,className:l()("w-100",{"default-image":!t},r)})}m.propTypes={src:i.a.string,vehicle:i.a.shape({year:i.a.oneOfType([i.a.string,i.a.number]),makeName:i.a.string,modelName:i.a.string}),photoDescText:i.a.string,imgClasses:i.a.string},m.defaultProps={src:"",vehicle:null,photoDescText:"",imgClasses:""}},"./site-modules/shared/components/vehicle-image/vehicle-image.scss":function(e,t,a){},"./site-modules/shared/components/vehicle-photo/vehicle-photo.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return f});var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("../node_modules/prop-types/index.js"),o=a.n(i),l=a("../node_modules/classnames/index.js"),c=a.n(l),d=a("./data/luckdragon/redux/react-binding.jsx"),m=a("./data/models/vehicle.js"),u=a("./data/models/photos.js"),p=a("./utils/image-helpers.js"),h=a("./site-modules/shared/components/photoflipper-button/photoflipper-button-async.jsx"),g=a("./site-modules/shared/components/vehicle-image/vehicle-image.jsx");const b=0;function v(e){let t=e.defaultPhotos,a=e.latestVehicle,s=e.wrapperClassNames,i=e.iconClassNames,o=e.dataTrackingId;const l=function(e){return e&&e.length?Object(p.j)(e[b]):""}(t),d=a&&{makeName:a.make.name,modelName:a.model.name,year:a.year};return r.a.createElement("div",{className:c()("pos-r vehicle-photo",s)},a?r.a.createElement(h.a,Object(n.a)({makeSlug:a.make.slug,modelSlug:a.model.slug,year:a.year},a.submodels.name?{submodel:a.submodels.name}:{},{dataTrackingId:o}),r.a.createElement("button",{className:"btn border-0 p-0"},r.a.createElement("span",{className:"sr-only"},"View Photos"),r.a.createElement(g.a,{vehicle:d,src:l}),i&&r.a.createElement("i",{className:i}))):r.a.createElement(g.a,{vehicle:d,src:l}))}v.propTypes={defaultPhotos:o.a.arrayOf(o.a.string),latestVehicle:o.a.oneOfType([m.d.MakeModelSubmodelsYear,m.d.MakeModelSubmodelYear]),wrapperClassNames:o.a.string,iconClassNames:o.a.string,dataTrackingId:o.a.string},v.defaultProps={defaultPhotos:[],latestVehicle:null,wrapperClassNames:null,iconClassNames:null,dataTrackingId:null};const f=Object(d.b)(v,{defaultPhotos:Object(d.a)(e=>{let t=e.latestVehicle;return t?t.submodels.slug?Object(u.j)({make:t.make.slug,model:t.model.slug,year:t.year,submodel:t.submodels.name}):function(e){let t=e.make,a=e.model,n=e.year;return`makes["${t.slug}"].models["${a.slug}"].years["${n}"].photos.mediumEvoxPhoto`}(t):[]},u.b)})},"./site-modules/shared/components/video-module/seo-video-module-ui.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return p});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("../node_modules/prop-types/index.js"),o=a.n(i),l=a("./utils/event-toolbox.js"),c=a("./tracking/constant.js"),d=a("./data/models/vehicle.js"),m=a("./data/models/media.js"),u=a("./utils/image-helpers.js");function p(e){let t=e.vehicle,a=e.videos,s=e.pageName,i=e.playlistTitle;if(!a||!a.length)return null;const o=c.b.SYNPARTNER,d=c.b.SYSTEM_ACTION_CATEGORY,m=c.b.ACTION_SHOW_CONTENT,p={event_type:"action_completed",event_data:Object(n.a)({action_category:d,action_name:m,synpartner:o,action_cause:"page_load",subaction_name:"show_video_yes_no",value:"yes"},s?{page_name:s}:{},s?{page_category:s}:{})};l.a.fireTrackAction(p);const h=a.length>1;let g;if(i)g=i;else if(t){g=`${t.year} ${t.make.name} ${t.model.name} video${h?"s":""}`}else g=`Video review${h?"s":""}`;const b=a&&a[0],v=Object(u.s)(b.thumbnailURL)?Object(u.g)(b.thumbnailURL):b.thumbnailURL;return r.a.createElement("div",{className:"video-module","data-tracking-parent":"edm-entry-video",itemScope:!0,itemType:"http://schema.org/VideoObject"},r.a.createElement("h2",null,g),r.a.createElement("a",{href:`https://www.youtube.com/watch?v=${b.videoId}`},b.videoTitle),r.a.createElement("meta",{itemProp:"thumbnailUrl",content:v}),r.a.createElement("meta",{itemProp:"uploadDate",content:b.uploadDate}),r.a.createElement("meta",{itemProp:"contentUrl",content:`https://www.youtube.com/watch?v=${b.videoId}`}),r.a.createElement("h3",{itemProp:"name"}," ",b.videoTitle," "),r.a.createElement("p",{itemProp:"transcript"}," ",b.videoTranscript," "),r.a.createElement("p",{itemProp:"description"}," ",b.videoDescription," "),h&&r.a.createElement("ul",{className:"playlist"},a.map(e=>r.a.createElement("li",{key:`video-${e.videoId}`},r.a.createElement("a",{href:`https://www.youtube.com/watch?v=${b.videoId}`},r.a.createElement("div",null,e.videoTitle))))))}p.propTypes={vehicle:d.d.MakeModelSubmodelYear,videos:m.a.Videos,pageName:o.a.string,playlistTitle:o.a.string},p.defaultProps={vehicle:null,videos:null,pageName:null,playlistTitle:""}},"./site-modules/shared/components/video/brightcove-custom/brightcove-custom.scss":function(e,t,a){},"./site-modules/shared/components/video/embedded-youtube/embedded-youtube.jsx":function(e,t,a){"use strict";a.r(t);a("../node_modules/core-js/modules/es6.regexp.split.js");var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("../node_modules/prop-types/index.js"),o=a.n(i),l=a("../node_modules/classnames/index.js"),c=a.n(l),d=a("./utils/event-toolbox.js"),m=a("./tracking/constant.js");function u(e,t){let a,n=!1,s=!1;const r=m.b.SYSTEM_ACTION_CATEGORY,i=m.b.USER_ACTION_CATEGORY,o=m.b.VIDEO_START,l=m.b.VIDEO_END,c=m.b.VIDEO_PAUSE;function u(t,a,n,s){return{event_type:"action_completed",ads:{disable_refresh:s},event_data:{action_category:t,action_name:t===r?m.b.ACTION_SHOW_CONTENT:m.b.ACTION_VIEW_CONTENT,action_cause:"button_click",subaction_name:a,creative_id:e,value:n}}}return e=>{const m=window.YT.PlayerState;e.data!==m.PLAYING||a?e.data===m.PLAYING&&a?(s&&d.a.fireTrackAction(u(i,o,t,n)),n=!1,s=!1):e.data===m.ENDED?(d.a.fireTrackAction(u(r,l,t,!1)),s=!0):e.data===m.PAUSED?(d.a.fireTrackAction(u(i,c,t,!1)),s=!0):e.data===m.BUFFERING&&a&&(n=!0):(d.a.fireTrackAction(u(i,o,t,!1)),d.a.fireTrackAction(u(i,"video_viewer_size",window.screen.width,!0)),a=!0)}}var p=a("./utils/image-helpers.js");a("./site-modules/shared/components/video/embedded-youtube/embedded-youtube.scss");function h(){return"undefined"!=typeof window&&!!document.querySelector('[src="https://www.youtube.com/iframe_api"]')}function g(e){const t=e.autoplay,a=e.creativeId,n=e.disableRelated,s=e.changeHandler,r=e.videoId,i=e.videoTitle,o=e.date,l=n?{rel:0}:{};return new window.YT.Player(`video-${r}-${o}`,{height:"100%",width:"100%",videoId:r,playerVars:l,events:{onReady:function(e){return t=>e&&t.target.playVideo()}(t),onStateChange:s?(c=s,d=a,m=i,e=>{c(e),u(d,m)(e)}):u(a,i)}});var c,d,m}a.d(t,"EmbeddedYoutube",function(){return b});class b extends s.Component{constructor(){super(),this.loadAndPlayVideo=(()=>{this.player=g(Object(n.a)({},this.props,{date:this.date,autoplay:!0}))}),this.date=Date.now(),this.player=null}componentDidMount(){this.props.autoplay&&(window.onYouTubeIframeAPIReady=(()=>{this.player=g(Object(n.a)({},this.props,{date:this.date}))})),h()?this.props.autoplay&&this.loadAndPlayVideo():function(){const e=document.createElement("script");e.src="https://www.youtube.com/iframe_api";const t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)}()}shouldComponentUpdate(e){return this.props!==e}componentDidUpdate(){this.player&&this.player.getVideoData&&this.player.getVideoData().video_id!==this.props.videoId?this.player.loadVideoById(this.props.videoId):this.props.autoplayOnChange&&!this.player&&this.props.videoId&&h()&&this.loadAndPlayVideo()}componentWillUnmount(){delete this.player,delete window.onYouTubeIframeAPIReady}render(){const e=this.props,t=e.className,a=e.creativeId,n=e.videoId,s=e.videoTitle,i=e.thumbnailSrc,o=e.videoAspectRatio,l=!!o&&o.split(":").join("-");return a&&r.a.createElement("div",{className:c()("video-wrapper",{[`aspect-${l}`]:!!l})},r.a.createElement("div",{id:`video-${n}-${this.date}`,className:c()("embedded-youtube",t)},r.a.createElement("img",{className:"placeholder-img w-100",src:i||Object(p.h)(n),alt:`${n} - ${s}`}),r.a.createElement("button",{className:"loader w-100 h-100 position-absolute p-0 border-0",onClick:this.loadAndPlayVideo})))}}b.propTypes={videoId:o.a.string.isRequired,videoTitle:o.a.string.isRequired,creativeId:o.a.string.isRequired,videoAspectRatio:o.a.string,thumbnailSrc:o.a.string,autoplay:o.a.bool,className:o.a.string,autoplayOnChange:o.a.bool},b.defaultProps={videoAspectRatio:"16:9",thumbnailSrc:null,changeHandler:null,autoplay:!1,disableRelated:!0,autoplayOnChange:!1,className:""}},"./site-modules/shared/components/video/embedded-youtube/embedded-youtube.scss":function(e,t,a){},"./site-modules/shared/components/video/index.jsx":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("../node_modules/prop-types/index.js"),o=a.n(i),l=a("../node_modules/classnames/index.js"),c=a.n(l),d=a("./site-modules/shared/components/render-when-viewable/render-when-viewable.jsx");function m(e){const t=e.accountId,a=e.playerId,n=e.className,s=`//players.brightcove.net/${t}/${a}_default/index.html?${Object.keys(e).map(t=>`${encodeURIComponent(t)}=${encodeURIComponent(e[t])}`).join("&")}`;return r.a.createElement("iframe",{className:n,src:s,title:"Video Player",allowFullScreen:!0})}m.propTypes={accountId:o.a.string.isRequired,playerId:o.a.string.isRequired,className:o.a.string},m.defaultProps={muted:!0,accountId:"1898241405",playerId:"Hk1pS35eg",playlistId:"",videoId:"",className:""};var u=a("../node_modules/lodash/get.js"),p=a.n(u),h=a("../node_modules/reactstrap/lib/Button.js"),g=a.n(h),b=a("./utils/inject-script.js"),v=a("./utils/event-toolbox.js"),f=a("../node_modules/lodash/assignIn.js"),E=a.n(f),y=a("./tracking/constant.js");const _="button_click",C=y.b.SYSTEM_ACTION_CATEGORY,k=y.b.ACTION_SHOW_CONTENT,N=y.b.ACTION_VIEW_CONTENT,j=y.b.USER_ACTION_CATEGORY,O=y.b.VIDEO_START,T=y.b.VIDEO_PAUSE,S=y.b.VIDEO_END;let I,w,x;function A(e,t){const a=e.action_category===C?k:N;v.a.fireTrackAction({ads:{disable_refresh:t},event_type:"action_completed",event_data:E()({action_name:a,timestamp:Date.now()},e)})}function R(e){if(e&&e.detail){if(I===C?x=0:x+=1,0===e.detail.currentPlayTime&&1===x)return;A({action_category:I,action_cause:w,subaction_name:O,value:e.detail.id,creative_id:e.detail.creativeId},e.detail.isNextVideo),I=j,w=_}}function P(e){e&&e.detail&&A({action_category:j,action_cause:_,subaction_name:T,value:e.detail.id,creative_id:e.detail.creativeId},e.detail.isNextVideo)}function L(e){e&&e.detail&&(A({action_category:C,action_cause:"video_ended",subaction_name:S,value:e.detail.id,creative_id:e.detail.creativeId},e.detail.isNextVideo),w="playback_finish",I=C)}const D={init(){I="system",w="scroll",x=0,v.a.on("play.brightcove",R),v.a.on("pause.brightcove",P),v.a.on("ended.brightcove",L)}};var $=a("./utils/intersection-observer.js");a("./site-modules/shared/components/video/brightcove-custom/brightcove-custom.scss");const M={rootMargin:"0px",threshold:1};function V(e){const t=function(e){return window.videojs&&p()(window.videojs.getPlayers(),e)}(e);if(!t)return null;let a=!0;return t.on("play",()=>{const n=t.currentTime();v.a.fireCustomEvent("play.brightcove",{id:t.mediainfo.id,creativeId:e,isNextVideo:a,currentPlayTime:n}),a=!1}),t.on("pause",()=>{const n=t.currentTime();!t.ended()&&n>0&&v.a.fireCustomEvent("pause.brightcove",{id:t.mediainfo.id,creativeId:e,isNextVideo:a})}),t.on("ended",()=>{a=!0,v.a.fireCustomEvent("ended.brightcove",{id:t.mediainfo.id,creativeId:e,isNextVideo:a})}),t}class F extends r.a.Component{constructor(){super(...arguments),this.state={isPlayListShown:!1},this.player=void 0,this.videoElemRef=void 0,this.togglePlaylist=(()=>{this.state.isPlayListShown?this.player.play():this.player.pause(),this.setState(e=>({isPlayListShown:!e.isPlayListShown}))})}componentDidMount(){const e=`//players.brightcove.net/${this.props.accountId}/${this.props.playerId}_default/index.min.js`;Object(b.a)(e).then(()=>{this.player=V(this.props.brightcoveEntryId),this.player&&$.a&&(this.observer=new $.a((e,t)=>{e.forEach(e=>{e.isIntersecting&&(this.player.play(),t.unobserve(this.videoElemRef))})},M),this.observer.observe(this.videoElemRef)),D.init()})}componentWillUnmount(){this.observer&&this.observer.disconnect()}render(){const e=this.state.isPlayListShown,t=this.props,a=t.videoId,n=t.accountId,s=t.playerId,i=t.brightcoveEntryId,o=t.playlistId,l=t.autoPlay,d=t.muted,m=!(a&&a.length);return r.a.createElement("div",{className:"brightcove-video-player-container video-player"},r.a.createElement("video",{id:i,"data-account":n,"data-player":s,"data-embed":"default",className:"video-js w-100","data-video-id":a,"data-playlist-id":o,autoPlay:l,muted:d,controls:!0,ref:e=>{this.videoElemRef=e}},r.a.createElement("track",{kind:"captions"})),r.a.createElement("div",{className:c()("brightcove-playlist-overlay",{in:e},{fade:!e}),onClick:this.togglePlaylist,role:"presentation"}),r.a.createElement("div",{className:c()("brightcove-playlist-container",{in:e},{fade:!e}),onClick:this.togglePlaylist,role:"presentation"},r.a.createElement("ul",{className:"vjs-playlist p-0_5 m-0"})),m&&r.a.createElement(g.a,{className:"bg-black expand-playlist",color:"info",size:"sm",onClick:this.togglePlaylist},"More..."))}}function U(e){const t=e.videoId,a=e.autoplay,n=e.muted,s=e.showRelated,i=e.className,o=`//www.youtube.com/embed/${t}?autoplay=${a}&mute=${n}&rel=${s}`;return r.a.createElement("iframe",{className:i,src:o,title:"Video Player",allowFullScreen:!0})}F.propTypes={brightcoveEntryId:o.a.string,accountId:o.a.string.isRequired,playerId:o.a.string.isRequired,videoId:o.a.string,playlistId:o.a.string,autoPlay:o.a.bool,muted:o.a.bool},F.defaultProps={brightcoveEntryId:"edm-entry-articles",muted:!0,accountId:"1898241405",playerId:"Hk1pS35eg",playlistId:"",videoId:"",className:"",autoPlay:!1},U.propTypes={autoplay:o.a.bool.isRequired,videoId:o.a.string.isRequired,muted:o.a.bool,showRelated:o.a.number,className:o.a.string},U.defaultProps={muted:!1,autoplay:!1,videoId:"",showRelated:1,className:""};var Y=a("./site-modules/shared/components/video/embedded-youtube/embedded-youtube.jsx");a("./site-modules/shared/components/video/index.scss");function B(e){let t=e.src;return r.a.createElement("iframe",{src:t,className:"video-player",title:"Video Player",allowFullScreen:!0})}a.d(t,"a",function(){return z}),B.propTypes={src:o.a.string.isRequired},B.defaultProps={src:""};const W={Brightcove:m,Youtube:U,EmbeddedYoutube:Y.EmbeddedYoutube,IFrameEmbed:B,BrightcoveCustom:F};function z(e){const t=W[e.type];return t?r.a.createElement(d.a,{verticalOffset:"100%"},r.a.createElement("div",{className:c()(e.containerClassName,"pos-r",{"brightcove-custom ":"BrightcoveCustom"===e.type,"video-player-container":"EmbeddedYoutube"!==e.type})},r.a.createElement(t,Object(n.a)({},e,{className:"video-player"})),e.children)):null}z.propTypes={type:o.a.string,children:o.a.node,containerClassName:o.a.string},z.defaultProps={type:"Brightcove",muted:!0,playlistId:"",videoId:"",src:"",children:null,containerClassName:""}},"./site-modules/shared/components/video/index.scss":function(e,t,a){},"./site-modules/shared/components/zip-input/zip-input.jsx":function(e,t,a){"use strict";a.d(t,"c",function(){return h}),a.d(t,"b",function(){return g}),a.d(t,"a",function(){return f});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),r=(a("../node_modules/core-js/modules/es7.promise.finally.js"),a("../node_modules/react/index.js")),i=a.n(r),o=a("./data/luckdragon/redux/react-binding.jsx"),l=a("../node_modules/prop-types/index.js"),c=a.n(l),d=a("../node_modules/reactstrap/lib/Input.js"),m=a.n(d),u=a("./data/models/visitor.js"),p=a("./site-modules/shared/constants/key-codes.js");const h={onZipChange:c.a.func,onValidate:c.a.func,label:c.a.string,placeholder:c.a.string,wrapperClasses:c.a.string,labelClasses:c.a.string,inputClasses:c.a.string,inputAriaLabel:c.a.string,facetName:c.a.string,inputSize:c.a.string,getTracking:c.a.func,forceEmptyZip:c.a.bool,onZipChangeInProgress:c.a.func},g={onZipChange:null,onValidate:null,label:"",wrapperClasses:"",labelClasses:"",inputClasses:"",placeholder:"",facetName:"",inputSize:"sm",getTracking:null,forceEmptyZip:!1,onZipChangeInProgress:null,inputAriaLabel:"Zip Code"};class b extends r.Component{constructor(){super(...arguments),this.state={isZipChangeInProgress:!1,value:this.props.forceEmptyZip?"":this.props.zipFromStore,previousZipFromStore:this.props.zipFromStore,previousForceEmptyZip:this.props.forceEmptyZip},this.setZipChangeInProgress=(e=>{let t=e.isZipChangeInProgress;const a=this.props.onZipChangeInProgress;a&&this.setState({isZipChangeInProgress:t},()=>{a({isZipChangeInProgress:t})})}),this.setZipFromStore=(()=>this.setState({value:this.props.zipFromStore})),this.setZipToModel=(e=>this.props.setModelValue("location",u.d,{zipCode:e})),this.handleChange=(e=>{let t=e.target.value;this.setState({value:t})}),this.handleZipCodeChange=((e,t)=>{(e||this.setZipToModel)(t).catch(()=>{this.setZipFromStore()}).finally(()=>{this.setZipChangeInProgress({isZipChangeInProgress:!1})})}),this.handleEnterPress=(e=>{e.keyCode===p.a?this.callUpdate():e.keyCode===p.b&&(this.setZipFromStore(),this.setZipChangeInProgress({isZipChangeInProgress:!1}))}),this.callUpdate=(()=>{const e=this.props,t=e.onZipChange,a=e.onValidate,n=e.zipFromStore,s=e.forceEmptyZip,r=this.state.value;n!==r&&a&&a(r)?this.handleZipCodeChange(t,r):s&&n===r?this.handleZipCodeChange(t,r):(this.setZipFromStore(),this.setZipChangeInProgress({isZipChangeInProgress:!1}))}),this.handleOnFocus=(()=>this.setZipChangeInProgress({isZipChangeInProgress:!0})),this.renderInput=(()=>{const e=this.props,t=e.facetName,a=e.placeholder,n=e.inputClasses,r=e.getTracking,o=e.onZipChangeInProgress,l=e.inputSize,c=e.inputAriaLabel,d="function"==typeof r&&r(t)||r||{};return i.a.createElement(m.a,Object(s.a)({name:t,bsSize:l,type:"number",value:this.state.value,className:n,placeholder:a,onKeyDown:this.handleEnterPress,onBlur:this.callUpdate},o?{onFocus:this.handleOnFocus}:{},{onChange:this.handleChange,"data-test":"zip-input","data-tracking-id":d?d["data-tracking-id"]:null,"data-tracking-value":d?d["data-tracking-value"]:null,"aria-label":c}))})}static getDerivedStateFromProps(e,t){return t.previousZipFromStore!==e.zipFromStore?{value:e.zipFromStore,previousZipFromStore:e.zipFromStore}:t.previousForceEmptyZip&&!e.forceEmptyZip?{previousForceEmptyZip:!1,value:e.zipFromStore,previousZipFromStore:e.zipFromStore}:null}render(){const e=this.props,t=e.label,a=e.wrapperClasses,n=e.labelClasses;return i.a.createElement(r.Fragment,null,t?i.a.createElement("div",{className:a},i.a.createElement("div",{className:n},t),this.renderInput()):i.a.createElement(r.Fragment,null,this.renderInput()))}}b.propTypes=Object(n.a)({},h,{setModelValue:c.a.func.isRequired,zipFromStore:c.a.string.isRequired}),b.defaultProps=Object(n.a)({},g);const v={zipFromStore:Object(o.a)("location.zipCode",u.d)},f=Object(o.b)(b,v)},"./site-modules/shared/components/zip-with-default-action-handling/zip-with-default-action-handling.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return p});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("./data/luckdragon/redux/react-binding.jsx"),l=a("./data/models/visitor.js"),c=a("./site-modules/shared/components/zip/zip.jsx"),d=a("./utils/event-toolbox.js"),m=a("./utils/event-constants.js");class u extends n.Component{constructor(){super(...arguments),this.onSetZipCode=(e=>{(0,this.props.setModelValue)("location",l.d,{zipCode:e}),d.a.fireCustomEvent(m.a.UPDATE_ZIP,{zipCode:e})})}shouldComponentUpdate(e){return this.props.location.zipCode!==e.location.zipCode}render(){const e=this.props,t=e.location,a=e.buttonClassName,r=e.showRegion;return t?s.a.createElement(n.Fragment,null,r&&s.a.createElement("span",null,t.city,", ",t.stateCode),s.a.createElement(c.a,{zip:t.zipCode,onUpdate:this.onSetZipCode,buttonClassName:a})):null}}u.propTypes={setModelValue:i.a.func.isRequired,location:l.c.Location,buttonClassName:i.a.string,showRegion:i.a.bool},u.defaultProps={location:{zipCode:""},buttonClassName:"",showRegion:!1};const p=Object(o.b)(u,{location:Object(o.a)("location",l.d)})},"./site-modules/shared/components/zip/zip.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return j});var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/classnames/index.js"),i=a.n(r),o=a("../node_modules/prop-types/index.js"),l=a.n(o),c=a("../node_modules/reactstrap/lib/Button.js"),d=a.n(c),m=a("../node_modules/reactstrap/lib/InputGroup.js"),u=a.n(m),p=a("../node_modules/reactstrap/lib/InputGroupAddon.js"),h=a.n(p),g=a("../node_modules/reactstrap/lib/Input.js"),b=a.n(g),v=a("../node_modules/reactstrap/lib/ButtonDropdown.js"),f=a.n(v),E=a("../node_modules/reactstrap/lib/DropdownToggle.js"),y=a.n(E),_=a("../node_modules/reactstrap/lib/DropdownMenu.js"),C=a.n(_),k=a("./site-modules/shared/constants/index.js");a("./site-modules/shared/components/zip/zip.scss");const N=/^[0-9]{5}$/;class j extends n.Component{constructor(){super(...arguments),this.state={isOpen:!1,isValid:!0},this.onChange=(()=>{const e=this.zipInput.value,t=N.test(e);this.setState({isValid:t})}),this.onUpdateZipCode=(()=>{if(!this.state.isValid)return;const e=this.zipInput.value;this.setState({isOpen:!1},()=>{this.props.onUpdate(e)})}),this.onEnterPress=(e=>{e.keyCode===k.c&&(this.onChange(),this.onUpdateZipCode())}),this.onToggleOpen=(()=>{this.setState(e=>({isOpen:!e.isOpen,isValid:!0}),()=>{this.state.isOpen&&this.props.selectOnOpen&&(this.zipInput.focus(),this.zipInput.select())})}),this.getInput=(e=>{this.zipInput=e})}render(){const e=this.state,t=e.isOpen,a=e.isValid,n=this.props,r=n.zip,o=n.buttonClassName,l=n.zipClassName;return s.a.createElement(f.a,{isOpen:t,toggle:this.onToggleOpen,className:"zip-container align-baseline","data-tracking-id":"provide_zip_code"},s.a.createElement(y.a,{className:i()("d-inline-flex align-items-center m-0 p-0 zip",o),"aria-haspopup":!0},s.a.createElement("span",{"aria-label":"zipcode",className:i()("px-0_25",l)},r),s.a.createElement("i",{"aria-hidden":!0,className:i()("brand-primary-darker size-10 py-0 my-0 pr-0_25 align-self-center",{"icon-arrow-up4":t,"icon-arrow-down4":!t})})),s.a.createElement(C.a,{right:!0,className:"zip-dropdown-shadow py-1 px-1"},s.a.createElement(u.a,null,s.a.createElement(b.a,{className:"zip-input",onChange:this.onChange,onKeyDown:this.onEnterPress,type:"number",placeholder:r,defaultValue:r,innerRef:this.getInput,"aria-label":"Enter zip code"}),s.a.createElement(h.a,{addonType:"append",className:"p-0"},s.a.createElement(d.a,{size:"sm",color:"secondary",onClick:this.onUpdateZipCode},"UPDATE"))),!a&&s.a.createElement("span",{className:"h5 text-danger"},"Zip code is invalid.")))}}j.propTypes={zip:l.a.string.isRequired,onUpdate:l.a.func.isRequired,buttonClassName:l.a.string.isRequired,selectOnOpen:l.a.bool,zipClassName:l.a.string},j.defaultProps={selectOnOpen:!1,zipClassName:""}},"./site-modules/shared/components/zip/zip.scss":function(e,t,a){},"./site-modules/shared/constants/editorial-review.js":function(e,t,a){"use strict";a.d(t,"a",function(){return n});const n={DRIVING:{title:"Driving",value:"driving",children:[{title:"Acceleration",value:"acceleration"},{title:"Braking",value:"brakes"},{title:"Steering",value:"steering"},{title:"Handling",value:"handling"},{title:"Drivability",value:"drivability"},{title:"Off-road",value:"offRoad"}]},COMFORT:{title:"Comfort",value:"comfort",children:[{title:"Seat comfort",value:"seatComfort"},{title:"Ride comfort",value:"rideComfort"},{title:"Noise & vibration",value:"noiseVibration"},{title:"Climate control",value:"climateControl"}]},INTERIOR:{title:"Interior",value:"interior",children:[{title:"Ease of use",value:"easeUse"},{title:"Getting in/getting out",value:"gettingInOut"},{title:"Driving position",value:"drivingPosition"},{title:"Roominess",value:"roominess"},{title:"Visibility",value:"visibility"},{title:"Quality",value:"quality"},{title:"Convertible top",value:"convertibletop"}]},UTILITY:{title:"Utility",value:"utility",children:[{title:"Small-item storage",value:"smallItemStorage"},{title:"Cargo space",value:"cargoSpace"},{title:"Child safety seat accommodation",value:"childSafetySeat"},{title:"Towing",value:"towing"},{title:"Hauling",value:"hauling"}]},TECHNOLOGY:{title:"Technology",value:"technology",children:[{title:"Audio & navigation",value:"audioNav"},{title:"Smartphone integration",value:"smartphone"},{title:"Driver aids",value:"driverAids"},{title:"Voice control",value:"voiceControl"},{title:"Mobile web",value:"mobileWeb"}]}}},"./site-modules/shared/constants/editorial/editorial.js":function(e,t,a){"use strict";a.d(t,"b",function(){return s}),a.d(t,"a",function(){return r}),a.d(t,"c",function(){return i});var n=a("./site-modules/shared/constants/page-urls.js");const s={xs:175,sm:300,sm_md:500,md:600,lg:717,xl:1280,max:1600},r={HOME:[{title:"Home",href:n.a.HOME}],RESEARCH:[{title:"Home",href:n.a.HOME},{title:"Research",href:n.a.RESEARCH}],CAR_NEWS:[{title:"Home",href:n.a.HOME},{title:"Car News",href:n.a.CAR_NEWS}]},i="related-articles"},"./site-modules/shared/constants/inventory/facets-config.js":function(e,t,a){"use strict";a.d(t,"p",function(){return o}),a.d(t,"k",function(){return l}),a.d(t,"c",function(){return c}),a.d(t,"l",function(){return d}),a.d(t,"o",function(){return m}),a.d(t,"n",function(){return u}),a.d(t,"m",function(){return p}),a.d(t,"a",function(){return h}),a.d(t,"h",function(){return g}),a.d(t,"t",function(){return E}),a.d(t,"u",function(){return y}),a.d(t,"i",function(){return _}),a.d(t,"b",function(){return C}),a.d(t,"f",function(){return N}),a.d(t,"g",function(){return j}),a.d(t,"d",function(){return O}),a.d(t,"r",function(){return T}),a.d(t,"e",function(){return S}),a.d(t,"q",function(){return I}),a.d(t,"s",function(){return w}),a.d(t,"j",function(){return x});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("./site-modules/shared/constants/allowed-inventory-request-params.js"),r=a("./site-modules/shared/constants/sort-types.js"),i=a("./site-modules/shared/utils/inventory/srp-utils.js");const o="pricetabs",l="miles",c="currency",d="*",m="+",u="Up to ",p=m,h=[s.YEAR],g={CHECKBOX:"checkbox",CHECKBOX_GROUPS:"checkbox_groups",RANGE:"range",TABS:"tabs",SELECT_GROUPS:"select_groups",SELECT:"select"},b={[s.LEASE_ONLINE]:{group:"deals",control:g.CHECKBOX,description:"Save Time. Start Your Lease Online."}},v={[s.LEASE_ONLINE]:{group:"deals",control:g.CHECKBOX,description:"Full transparency. No surprises."}},f={[s.MAKE]:{title:"Search by Make",control:g.SELECT,group:"make_model_group",toggle:"Any Make"},[s.MODEL]:{title:"Search by Model",control:g.SELECT,group:"make_model_group",toggle:"Any Model"},[s.INVENTORY_TYPE]:{title:"Condition",creativeId:"condition",shortName:"cond",control:g.CHECKBOX,mobileOnly:!0},[s.VEHICLE_CATEGORY]:{title:"Type",control:g.CHECKBOX,creativeId:"type",shortName:"type"},[s.EXTERIOR_COLOR]:{title:"Exterior Colors",control:g.CHECKBOX,creativeId:"exterior_colors",shortName:"exte"},[s.PRODUCT_FEATURE]:{title:"Edmunds Special Offers",control:g.CHECKBOX,creativeId:"edmunds_special_offers",shortName:"spec"},[s.HISTORY_INFO]:{title:"",group:"vehicle_history_group"},[s.EXCLUDE_HISTORY_INFO]:{title:"Exclude vehicles with",group:"vehicle_history_group"},[s.DEAL_TYPE]:{title:"Edmunds Deal Rating",control:g.CHECKBOX,creativeId:"edmunds_deal_rating",shortName:"deal"},[s.FEATURE]:{title:"Features",control:g.CHECKBOX,creativeId:"features",shortName:"feat"},[s.INTERIOR_COLOR]:{title:"Interior Colors",control:g.CHECKBOX,creativeId:"interior_colors",shortName:"inte"},[s.CYLINDERS_COUNT]:{title:"Engine",control:g.CHECKBOX,group:"engine_mechanics_group"},[s.TRANSMISSION]:{title:"Transmission",control:g.CHECKBOX,group:"engine_mechanics_group"},[s.DRIVE_TRAIN]:{title:"Drivetrain",control:g.CHECKBOX,group:"engine_mechanics_group"},[s.FUEL_TYPE]:{title:"Fuel Type",control:g.CHECKBOX,group:"engine_mechanics_group"},[s.OPTION]:{title:"Option & Packages",control:g.CHECKBOX,creativeId:"options_and_packages",shortName:"opti"},[s.SUBMODEL_ID]:{title:"Model Type",control:g.CHECKBOX,creativeId:"model_type",shortName:"modt"},[s.TRIM]:{title:"Trims",control:g.CHECKBOX,creativeId:"trim",shortName:"trim"},[s.YEAR]:{title:"Year(s)",control:g.RANGE,creativeId:"year",shortName:"year"},[s.MILEAGE]:{title:"Mileage",control:g.RANGE,labelType:l,creativeId:"mileage",shortName:"mile"},[s.DISPLAY_PRICE]:{title:"Price",control:g.RANGE,group:o,labelType:c,order:3},[s.LOAN_PAYMENT]:{title:"Loan Payment",control:g.SELECT,group:o,labelType:c,disclaimer:"Assumes no money down and a 60-month term. Click a vehicle for more details.",order:1,toggleTo:"$ Max",prefix:"Up to",postfix:"per month"},[s.LEASE_PAYMENT]:{title:"Lease Payment",control:g.SELECT,group:o,labelType:c,disclaimer:"Assumes $1K due at signing. Click a vehicle for more details.",order:2,toggleTo:"$ Max",prefix:"Up to",postfix:"per month"},[s.DELIVERY_TYPE]:{title:"Available for Delivery",control:g.CHECKBOX,hideCount:!0,creativeId:"available_for_delivery",shortName:"avail"},[s.RECENTLY_LISTINGS]:{group:"vehicle_listing_details_group",control:g.CHECKBOX},[s.PRICE_DROP]:{group:"vehicle_listing_details_group",control:g.CHECKBOX},[s.DIGITAL_RETAIL]:{group:"deals",control:g.CHECKBOX,description:"Full transparency. No surprises."}},E=Object(n.a)({},b,f),y=Object(n.a)({},v,f),_={make_model_group:{title:"Make and Model",control:g.SELECT_GROUPS,mobileOnly:!0,creativeId:"make_and_model",shortName:"make"},[o]:{title:"Price / Payment",control:g.TABS,watch:!0,creativeId:"price_and_payments",shortName:"pric"},engine_mechanics_group:{title:"ENGINE/MECHANICS",control:g.CHECKBOX_GROUPS,creativeId:"engine_mechanics",shortName:"engi"},vehicle_history_group:{title:"VEHICLE HISTORY",control:g.CHECKBOX_GROUPS,creativeId:"vehicle_history",shortName:"hist"},vehicle_listing_details_group:{title:"VEHICLE LISTING DETAILS",control:g.CHECKBOX_GROUPS,hideCount:!0,creativeId:"recently_listings",shortName:"rece"},deals:{title:"Deals",control:g.CHECKBOX_GROUPS,creativeId:"deals",shortName:"deals"}},C=[s.ZIP_CODE],k=[s.INVENTORY_TYPE,s.SORT_BY,s.RADIUS,s.ZIP_CODE,s.ROOFTOP_ID,s.LEASE_ONLINE,s.DISPLAY_PRICE,s.LEASE_PAYMENT,s.LOAN_PAYMENT],N={[s.MAKE]:k,[s.MODEL]:k.concat([s.MAKE])},j={[s.RADIUS]:{value:"6000",exceptions:[s.MODEL]}},O={[s.INVENTORY_TYPE]:{facetNameToExclude:s.SORT_BY,valuesToRemove:[r.e,r.d],checkCallback:i.n}},T={[s.INVENTORY_TYPE]:[s.LEASE_PAYMENT,s.LOAN_PAYMENT,s.PAYMENT_TYPE],[s.LEASE_PAYMENT]:[s.LOAN_PAYMENT,s.DISPLAY_PRICE,s.PAYMENT_TYPE],[s.LOAN_PAYMENT]:[s.LEASE_PAYMENT,s.DISPLAY_PRICE,s.PAYMENT_TYPE,s.LEASE_ONLINE],[s.PAYMENT_TYPE]:[s.LEASE_PAYMENT,s.LOAN_PAYMENT],[s.DISPLAY_PRICE]:[s.LEASE_PAYMENT,s.LOAN_PAYMENT],[s.LEASE_ONLINE]:[s.LOAN_PAYMENT]},S=[s.ROOFTOP_ID],I={rules:[s.PAGE_NUMBER],exceptions:[s.PAYMENT_TYPE]},w=[s.MAKE,s.MODEL,s.RADIUS,s.SORT_BY,s.DISPLAY_PRICE,s.MILEAGE,s.LOAN_PAYMENT,s.LEASE_PAYMENT,s.PAYMENT_TYPE,s.YEAR,s.ROOFTOP_ID],x=[s.TRIM,s.SUBMODEL_ID]},"./site-modules/shared/constants/inventory/feature-highlights-icons-map.js":function(e,t,a){"use strict";a.d(t,"a",function(){return n});const n={"Tire Pressure Warning":"icon-tire-pressure-warning","Stability Control":"icon-stability-control","Rear Bench Seats":"icon-rear-bench-seats","Audio and cruise controls on steering wheel":"icon-audio_steering_wheel_control","Fold Flat Rear Seats":"icon-fold_flat_rear_seats","Trip Computer":"icon-trip-computer",Bluetooth:"icon-bluetooth","USB Inputs":"icon-usb-inputs","Aux Audio Inputs":"icon-aux-audio-inputs","Back-up camera":" icon-back-up-camera",Alarm:"icon-alarm","Post-collision safety system":"icon-post_collision_safety","Pre-collision safety system":"icon-pre-collision","Power Driver Seat":"icon-power-driver-seat","Auto Climate Control":"icon-auto-climate-control","Multi-Zone Climate Control":"icon-multi-zone-climate-control","Heated seats":"icon-heated-seats","AWD/4WD":"icon-awd4wd","Keyless Entry/Start":"icon-keyless-entrystart","Apple Carplay/Android Auto":"icon-apple-carplayandroid-auto","Remote Start":"icon-remote_start","Parking sensors":"icon-parking-sensors","Leather Seats":"icon-leather-seats","Mobile Internet":"icon-mobile_internet","Upgraded Headlights":"icon-upgraded-headlights","Blind Spot Monitoring":"icon-blind-spot-monitoring","Sunroof/Moonroof":"icon-sunroofmoonroof",Navigation:"icon-navigation","Lane Departure Warning":"icon-lane-departure-warning","Power Liftgate/Trunk":"icon-power-liftgatetrunk","Electronic Folding Mirrors":"icon-electronic_folding_mirrors","Adaptive Cruise Control":"icon-adaptive-cruise-control","Third-row seating":"icon-third-row-seating","Upgraded Engine":"icon-upgraded-engine","Upgraded Stereo":"icon-upgraded-stereo","Cooled Seats":"icon-cooled-seats","2nd Row Bucket Seats":"icon-bucket","360-degree camera":"icon-360-degree-camera","Heads up display":"icon-heads-up-display","Rear Entertainment System":"icon-rear_entertainment_system","Soft Top":"icon-soft_top",Hardtop:"icon-hard_top","Towing Hitch":"icon-towing_hitch","10,000lb+ Towing Capacity":"icon-towing_capacity","8000lb Towing Capacity":"icon-towing_capacity","6000lb Towing Capacity":"icon-towing_capacity","5000lb Towing Capacity":"icon-towing_capacity","3500lb Towing Capacity":"icon-towing_capacity","2500lb Towing Capacity":"icon-towing_capacity","8ft Bed":"icon-bed","7ft Bed":"icon-bed","6ft Bed":"icon-bed","Extended Cab":"icon-extended_cab","Crew Cab":"icon-crew_cab","Standard Cab":"icon-standard_cab","Automatic Emergency Braking":"icon-automatic-emergency-braking"}},"./site-modules/shared/constants/inventory/lead-form.js":function(e,t,a){"use strict";a.d(t,"c",function(){return n}),a.d(t,"d",function(){return s}),a.d(t,"g",function(){return r}),a.d(t,"e",function(){return i}),a.d(t,"f",function(){return o}),a.d(t,"a",function(){return l}),a.d(t,"b",function(){return c});const n={USED:{BASE:"usedBase",PLUS_NO_DISCOUNT:"usedPlusNoDiscount"},NEW:{BASE:"newBase"},ONLINE_LEASE:"onlineLeaseEligible",CONTACT_AT_ONCE:"contactAtOnce",CALL_DEALER:"callDealer",DETAILS:"details",DIGITAL_RETAIL:"digitalRetail",USED_LOAN_DR:"usedLoanDigitalRetail",NEW_LOAN_DR:"newLoanDigitalRetail",NEW_LEASE_DR:"newLeaseDigitalRetail"},s=[n.USED_LOAN_DR,n.NEW_LOAN_DR,n.NEW_LEASE_DR],r=[n.CONTACT_AT_ONCE],i=[n.CALL_DEALER],o=[n.NEW.BASE,n.USED.BASE,n.USED.PLUS_NO_DISCOUNT],l={FULL:12,FULL_CENTERED:10,CALL_DEALER:7,HALF:6},c={DETAILS:"Details",REQUEST_QUOTE:"Request Quote",SPECIAL_OFFER:"Special Offer",CALL_DEALER:"Call Dealer",LEASE_IT_NOW:"Lease It Now",LEASE_ONLINE:"Lease Online",IM_INTERESTED:"I'm Interested",GET_DEALER_OFFER:"Get Dealer Offer",COMPARE_DEALER_PRICES:"Compare dealer prices",REQUEST_APPOINTMENT:"Request Appointment",SHOW_EDMUNDS_DEAL:"Show The Edmunds Deal",CUSTOMIZE_PAYMENT:"Customize Payment",BUILD_DEAL:"Build Your Deal",KNOW_DEAL:"Know The Deal",CHECK_AVAILABILITY:"Check Availability",CONTACT_DEALER:"Contact Dealer",GET_A_GOOD_DEAL:"Get a Good Deal"}},"./site-modules/shared/constants/inventory/price-analysis.js":function(e,t,a){"use strict";a.d(t,"d",function(){return n}),a.d(t,"a",function(){return s}),a.d(t,"c",function(){return r}),a.d(t,"b",function(){return i});const n={AMOUNT:"amount",REBATE:"rebateAmount"},s="PRICE_ANALYSIS_BREAKDOWN",r={CUSTOMER_CASH:"Customer Cash",CUSTOMER_BONUS_CASH:"Bonus Cash"},i={CHECKBOX:"checkbox",RADIO:"radio"}},"./site-modules/shared/constants/inventory/srp-page-types.js":function(e,t,a){"use strict";a.d(t,"d",function(){return n}),a.d(t,"b",function(){return s}),a.d(t,"a",function(){return r}),a.d(t,"e",function(){return i}),a.d(t,"c",function(){return o});const n="open-srp",s="make-srp",r="make-model-srp",i="used-srp",o={sect8:"makesrp"}},"./site-modules/shared/constants/inventory/srp-url-patterns.js":function(e,t,a){"use strict";a.d(t,"a",function(){return n}),a.d(t,"c",function(){return s}),a.d(t,"i",function(){return r}),a.d(t,"j",function(){return i}),a.d(t,"k",function(){return o}),a.d(t,"f",function(){return l}),a.d(t,"e",function(){return c}),a.d(t,"g",function(){return d}),a.d(t,"d",function(){return m}),a.d(t,"h",function(){return u}),a.d(t,"b",function(){return p});const n="make/model/year",s="make/type",r="used-make-model",i="used-make",o="used-year-make-model-city-state",l="new-make-for-sale",c="new-make-model-for-sale",d="new-type-for-sale",m="new-cars-for-sale",u={"best-type-lease-deals":"type_lease_landing_inventory_srp","make-lease-deals":"make_lease_landing_inventory_srp","make-model-lease-deals":"make_model_lease_landing_inventory_srp","lease-deals":"lease_landing_inventory_srp"},p=[l,c,d,m]},"./site-modules/shared/constants/inventory/static-facets.js":function(e,t,a){"use strict";a.d(t,"a",function(){return i}),a.d(t,"b",function(){return o}),a.d(t,"c",function(){return l}),a.d(t,"d",function(){return c}),a.d(t,"e",function(){return d});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("./site-modules/shared/constants/allowed-inventory-request-params.js"),r=a("./site-modules/shared/constants/sort-types.js");const i="Nationwide",o={type:s.RADIUS,values:[{name:"10 miles",value:"10",selected:!1},{name:"25 miles",value:"25",selected:!1},{name:"50 miles",value:"50",selected:!1},{name:"75 miles",value:"75",selected:!1},{name:"100 miles",value:"100",selected:!1},{name:"200 miles",value:"200",selected:!1},{name:"500 miles",value:"500",selected:!1}]},l=Object(n.a)({},o,{values:[...o.values,{name:i,value:"6000",selected:!1}]}),c={type:s.SORT_BY,values:[{name:"Best Deals",value:r.a,selected:!1},{name:"Distance",value:r.c,selected:!1},{name:"Price: Low to High",value:r.f,selected:!1},{name:"Price: High to Low",value:r.g,selected:!1}]},d=Object(n.a)({},c,{values:[...c.values,{name:"Mileage: Low to High",value:r.d,selected:!1},{name:"Mileage: High to Low",value:r.e,selected:!1}]})},"./site-modules/shared/constants/inventory/vehicle-history.js":function(e,t,a){"use strict";a.d(t,"a",function(){return n});const n=["EXPERIAN"]},"./site-modules/shared/constants/key-codes.js":function(e,t,a){"use strict";a.d(t,"a",function(){return n}),a.d(t,"c",function(){return s}),a.d(t,"b",function(){return r});const n=13,s=32,r=27},"./site-modules/shared/constants/lead-form/lead-form-configs.js":function(e,t,a){"use strict";a.d(t,"f",function(){return n}),a.d(t,"c",function(){return s}),a.d(t,"d",function(){return r}),a.d(t,"g",function(){return i}),a.d(t,"e",function(){return l}),a.d(t,"a",function(){return c}),a.d(t,"b",function(){return d});const n="/lead/v1/submission/multi",s="/inventory/v5/lead-targets",r="/lead-business/v1/lead-targets",i="/lead/v1/thankyou",o="Buy",l={SINGLE:"single",PURCHASE:"purchase",QUICK_QUOTES:"quickQuotes",QUICK_QUOTES_JLR:"quickQuotesJLR",EXTERNAL_DATA:"external_data",MULTI:"multi",USED_MULTI:"usedMulti",MODELYEAR_DLINV:"MODELYEAR_DLINV",STYLE_DLINV_CPL:"STYLE_DLINV_CPL"},c={UNIFIED:"unified",QUICK_QUOTES:"quick_quotes",QUICK_QUOTES_CPL:"quick_quotes_cpl",BUILD_PRICE_SRP:"bpsrp",CONFIGURATOR:"configurator",TRANSPARENT_PRICING:"transparent_pricing",EMBEDDED_MMY:"embedded_mmy"},d={UNIFIED:{strategy:l.SINGLE,leadType:o,submitLeadsType:"",formType:c.UNIFIED,dataTrackingParent:{creativeId:"unified"}},QUICK_QUOTES:{strategy:l.QUICK_QUOTES,leadType:o,submitLeadsType:"",formType:c.QUICK_QUOTES,dataTrackingParent:{creativeId:"quick-quotes"}},QUICK_QUOTES_CPL:{strategy:l.STYLE_DLINV_CPL,leadType:o,submitLeadsType:"",formType:c.QUICK_QUOTES_CPL,dataTrackingParent:{creativeId:"quick-quotes-cpl"}},QUICK_QUOTES_JLR:{strategy:l.QUICK_QUOTES_JLR,leadType:o,submitLeadsType:"",formType:c.QUICK_QUOTES,dataTrackingParent:{creativeId:"dl_jlr_qq_base_lead_form"}},CONFIGURATOR:{strategy:l.STYLE_DLINV_CPL,leadType:o,submitLeadsType:"",formType:c.CONFIGURATOR,dataTrackingParent:{creativeId:"configurator"}},BUILD_PRICE_SRP:{strategy:l.EXTERNAL_DATA,leadType:o,submitLeadsType:"",formType:c.BUILD_PRICE_SRP,dataTrackingParent:{creativeId:"bpsrp"}},TRANSPARENT_PRICING:{strategy:l.QUICK_QUOTES,leadType:o,submitLeadsType:"",formType:c.TRANSPARENT_PRICING,dataTrackingParent:{creativeId:"transparent"}},EMBEDDED_MMY:{strategy:l.MODELYEAR_DLINV,leadType:o,submitLeadsType:"",formType:c.EMBEDDED_MMY,dataTrackingParent:{creativeId:"embedded_mmy"}}}},"./site-modules/shared/constants/lead-form/lead-form-params.js":function(e,t,a){"use strict";a.d(t,"e",function(){return n}),a.d(t,"a",function(){return s}),a.d(t,"d",function(){return r}),a.d(t,"b",function(){return i}),a.d(t,"g",function(){return o}),a.d(t,"c",function(){return l}),a.d(t,"i",function(){return c}),a.d(t,"j",function(){return d}),a.d(t,"h",function(){return m}),a.d(t,"k",function(){return u}),a.d(t,"f",function(){return p});const n={INVENTORY:"inventory",DEALER:"dealer",ANY:"any"},s={INVENTORY:"inventory",INVENTORY_PRICE:"inventory_price",DEALER:"dealer",DEALER_SIMPLE:"dealer_simple",DEALER_PRICE:"dealer_price",DEFAULT:"default"},r={usedInventory:"UsedInventory",usedPlus:"UsedPlus",pp:"PP",newInventory:"NewInventory"},i={BASE:"base",EMBEDDED:"embedded",VDP_EMBEDDED:"vdpEmbedded"},o={BASE:"base"},l={BASE:"base",BUILD_PRICE_SRP:"bpsrp",MAD_LIBS:"madLibs"},c={BASE:"base"},d={BASE:"base",BUILD_PRICE_SRP:"bpsrp",TRANSPARENT_PRICING:"transparentPricing"},m={BASE:"base"},u={BEFORE_CARDS:"beforeCards",AFTER_CARDS:"afterCards"},p={DEALER_LOCATOR:1,NEW_CAR_INVENTORY:2,USED_CAR_INVENTORY:3,USED_PLUS_CAR_INVENTORY:6}},"./site-modules/shared/constants/page-urls.js":function(e,t,a){"use strict";a.d(t,"a",function(){return n});const n={HOME:"/",NEW_CARS:"/new-cars/",CAR_INCENTIVES:"/car-incentives/",RESEARCH:"/research/",CAR_NEWS:"/car-news/",CALCULATORS:"/calculators/"}},"./site-modules/shared/constants/photoflipper/photoflipper.jsx":function(e,t,a){"use strict";a.d(t,"s",function(){return r}),a.d(t,"k",function(){return i}),a.d(t,"r",function(){return o}),a.d(t,"j",function(){return l}),a.d(t,"n",function(){return c}),a.d(t,"a",function(){return d}),a.d(t,"c",function(){return m}),a.d(t,"d",function(){return u}),a.d(t,"f",function(){return p}),a.d(t,"e",function(){return h}),a.d(t,"h",function(){return g}),a.d(t,"g",function(){return b}),a.d(t,"i",function(){return v}),a.d(t,"q",function(){return f}),a.d(t,"p",function(){return E}),a.d(t,"o",function(){return y}),a.d(t,"b",function(){return _}),a.d(t,"l",function(){return C}),a.d(t,"m",function(){return k}),a.d(t,"t",function(){return N}),a.d(t,"u",function(){return j});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("./utils/bootstrap.js");const r="video",i="photo",o="videos",l="photos",c="separator",d="all",m={[i]:[{label:"all",totalCount:0},{label:"exterior",totalCount:0},{label:"interior",totalCount:0},{label:"colors",totalCount:0}],[r]:[{label:"all",totalCount:0}]},u={VIDEO:"video",EXTERIOR:"exterior",INTERIOR:"interior",COLORS:"colors"},p={[d]:0,[u.VIDEO]:0,[u.EXTERIOR]:0,[u.INTERIOR]:0},h={[u.VIDEO]:["videos"],[u.INTERIOR]:["photos","interior"],[u.EXTERIOR]:["photos","exterior"]},g={videos:u.VIDEO,photos:u.EXTERIOR},b={[i]:m[i][1].label,[r]:m[r][0].label},v=5,f=3,E=5,y=1,_={contentType:"photo",useCSS:!1,lazyLoad:!0,slidesToScroll:y},C=[{breakpoint:s.a.lg,settings:Object(n.a)({},_,{slidesToShow:f})},{breakpoint:s.a.max,settings:Object(n.a)({},_,{slidesToShow:4.5})}],k=[{breakpoint:s.a.lg,settings:Object(n.a)({},_,{slidesToShow:f})},{breakpoint:s.a.max,settings:Object(n.a)({},_,{slidesToShow:E})}],N=2011,j=new Set(["lincoln"])},"./site-modules/shared/constants/research.js":function(e,t,a){"use strict";a.d(t,"a",function(){return n});const n="research/global/top-makes"},"./site-modules/shared/constants/search-by-module.js":function(e,t,a){"use strict";a.d(t,"a",function(){return n});const n={TYPE_TAB:"type_tab",MAKE_MODEL_TAB:"make_model_tab",PRICE_TAB:"price_tab",VEHICLE_PRICE_TAB:"vehicle_price_tab",LOAN_PAYMENT_TAB:"loan_payment_tab",LEASE_PAYMENT_TAB:"lease_payment_tab"}},"./site-modules/shared/constants/sort-types.js":function(e,t,a){"use strict";a.d(t,"a",function(){return n}),a.d(t,"g",function(){return s}),a.d(t,"f",function(){return r}),a.d(t,"c",function(){return i}),a.d(t,"e",function(){return o}),a.d(t,"d",function(){return l}),a.d(t,"b",function(){return c});const n="bestDeal:desc",s="price:desc",r="price:asc",i="distance:asc",o="mileage:desc",l="mileage:asc",c="boostSentient"},"./site-modules/shared/constants/sub-navigation.js":function(e,t,a){"use strict";a.d(t,"a",function(){return n}),a.d(t,"b",function(){return s});const n=300,s=-60},"./site-modules/shared/constants/upper-funnel/type-rankings.js":function(e,t,a){"use strict";a.d(t,"b",function(){return n}),a.d(t,"a",function(){return s});const n=3,s={suv:{url:"/suv/",image:"/unit/find-type-center/suv-174x74.jpg",name:"SUV"},sedan:{url:"/sedan/",image:"/unit/find-type-center/sedan-174x74.jpg",name:"Sedan"},coupe:{url:"/coupe/",image:"/unit/find-type-center/coupe-174x74.jpg",name:"Coupe"},hatchback:{url:"/hatchback/",image:"/unit/find-type-center/hatchback-174x74.jpg",name:"Hatchback"},truck:{url:"/truck/",image:"/unit/find-type-center/truck-174x74.jpg",name:"Truck"},wagon:{url:"/wagon/",image:"/unit/find-type-center/wagon-174x74.jpg",name:"Wagon"},convertible:{url:"/convertible/",image:"/unit/find-type-center/convertible-174x74.jpg",name:"Convertible"},minivan:{url:"/minivan/",image:"/unit/find-type-center/minivan-174x74.jpg",name:"Minivan"},electric:{url:"/electric-car",image:"/unit/find-type-center/electric-car-v2-174x74.jpg",name:"Electric"},hybrid:{url:"/hybrid/",image:"/unit/find-type-center/hybrid-174x74.jpg",name:"Hybrid"}}},"./site-modules/shared/pages/decorators/edmunds-new-cars-no-adhesion.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return j});a("../node_modules/core-js/modules/es6.regexp.match.js");var n=a("../node_modules/react/index.js"),s=a.n(n),r=a("../node_modules/prop-types/index.js"),i=a.n(r),o=a("./site-modules/shared/components/global-navigation-v2/global-navigation.jsx"),l=a("./site-modules/shared/components/footer/footer.jsx"),c=a("./site-modules/shared/components/sticky-banner/sticky-banner.jsx"),d=a("./site-modules/shared/components/floodlight/floodlight-ad.jsx"),m=a("./site-modules/shared/pages/seo.jsx"),u=a("./site-modules/shared/components/feature-flag/feature-flag.jsx"),p=a("./site-modules/shared/components/spa-links/spa-links.jsx"),h=a("./site-modules/shared/components/profile/profile-context-async.jsx"),g=a("./site-modules/shared/components/experiment/panel/experiments-panel.jsx"),b=a("./site-modules/shared/components/ads-context/ads-context.jsx"),v=a("./site-modules/shared/components/client-side-render/client-side-render.jsx"),f=a("./site-modules/shared/components/error-boundary/error-boundary.jsx"),E=a("./site-modules/shared/components/error-page-message/error-page-message.jsx"),y=a("./site-modules/shared/components/pubpixel/pubpixel-ad.jsx"),_=a("./data/luckdragon/redux/model-preloader.js"),C=a("./data/models/ads.js"),k=a("./data/models/visitor.js"),N=a("./site-modules/shared/components/experiment/venom-experiments.js");class j extends n.Component{static preload(e){const t=new _.a(e);return t.resolve("sponsorship.model",C.a),t.resolve("segment",k.d),t.load()}render(){const e=(new Date).getFullYear(),t=this.props.match.params.year,a=new Set([e+1,e,e-1,e-2]),n=!t||a.has(Number(t));return s.a.createElement("div",{className:"edm-page has-global-nav"},s.a.createElement(f.a,null,s.a.createElement(o.a,{showSearchBar:!0})),s.a.createElement(m.f,this.props),s.a.createElement(u.a,{name:"ads"},s.a.createElement(b.a,null)),s.a.createElement(v.a,null,s.a.createElement(N.a,{name:"ads-3901",showDefault:!0},s.a.createElement(N.b,{name:"ctrl",isDefault:!0},s.a.createElement(y.a,null)),s.a.createElement(N.b,{name:"chal"}))),s.a.createElement(u.a,{name:"testSpa"},s.a.createElement(p.a,null)),s.a.createElement(f.a,{message:E.a},this.props.children),s.a.createElement(f.a,null,s.a.createElement(l.a,null)),!n&&s.a.createElement(c.a,null),s.a.createElement(v.a,null,s.a.createElement(d.a,null)),s.a.createElement(v.a,null,s.a.createElement(h.a,null)),s.a.createElement(v.a,null,s.a.createElement(g.a,null),s.a.createElement(N.a,{name:"ads-3515",showDefault:!0},s.a.createElement(N.b,{name:"ctrl",isDefault:!0}),s.a.createElement(N.b,{name:"chal"}))),s.a.createElement(N.a,{name:"ads-3971_dfp",showDefault:!0},s.a.createElement(N.b,{name:"ctrl",isDefault:!0}),s.a.createElement(N.b,{name:"chal"})))}}j.propTypes={children:i.a.node.isRequired,match:i.a.shape({params:i.a.shape({year:i.a.string.isRequired}).isRequired}).isRequired}},"./site-modules/shared/utils/article-helper.jsx":function(e,t,a){"use strict";a("../node_modules/core-js/modules/es6.regexp.match.js");var n=a("../node_modules/@babel/runtime/helpers/esm/extends.js"),s=a("../node_modules/react/index.js"),r=a.n(s),i=a("../node_modules/lodash/get.js"),o=a.n(i),l=a("../node_modules/dateformat/lib/dateformat.js"),c=a.n(l),d=a("./site-modules/shared/components/ad-unit/native-ad.jsx"),m=a("../node_modules/prop-types/index.js"),u=a.n(m),p=a("./site-modules/shared/components/content-fragment/content-fragment.jsx"),h=a("./utils/image-helpers.js");function g(e){let t=e.photoPath,a=e.authorLink,n=e.authorName,i=e.authorTitle,o=e.date;return!!n&&r.a.createElement("div",{className:"small mb-1_5 mb-md-0"},r.a.createElement("img",{src:Object(h.i)(t,1600,h.d.STATIC),alt:"",className:"author-photo hidden-sm-down mt-0_25 mr-0_5 mb-1 pt-0_5"}),"by",r.a.createElement("a",{className:"btn-link text-gray-darker text-capitalize align-baseline font-weight-bold pl-0_25",href:a},n),", ",i,o&&r.a.createElement(s.Fragment,null,r.a.createElement("span",{className:"mx-0_75"}," \u2022")," ",o))}function b(e){let t=e.title,a=e.subTitle,i=e.content,o=e.author,l=e.date;return!!i&&r.a.createElement("div",{className:"mb-md-1"},!!t&&r.a.createElement(s.Fragment,null,r.a.createElement("h2",{className:"heading-3 mb-0_25 mb-md-0_5"},t),r.a.createElement("h3",{className:"subtitle heading-5 mb-0_75 mb-md-0"},a),!!o&&r.a.createElement(g,Object(n.a)({},o,{date:l}))),r.a.createElement(p.a,{classes:"review-content text-gray-darker"},i))}g.propTypes={photoPath:u.a.string,authorLink:u.a.string,authorName:u.a.string,authorTitle:u.a.string,date:u.a.string},g.defaultProps={photoPath:"",authorLink:"",authorName:"",authorTitle:"",date:""},b.propTypes={title:u.a.string,subTitle:u.a.string,content:u.a.string,author:u.a.shape({photoPath:u.a.string,authorLink:u.a.string,authorName:u.a.string,authorTitle:u.a.string}),date:u.a.string},b.defaultProps={title:"",subTitle:"",content:"",author:null,date:""};var v=a("./site-modules/shared/components/preprod-articles/article-photo.jsx"),f=a("../node_modules/reactstrap/lib/Row.js"),E=a.n(f),y=a("../node_modules/reactstrap/lib/Col.js"),_=a.n(y),C=a("./site-modules/shared/components/video/index.jsx");function k(e){let t=e.brightcoveVideoId,a=e.youtubeVideoId,n=null,s=null;return t?(n="Brightcove",s=t):a&&(n="Youtube",s=a),!!s&&r.a.createElement(E.a,{className:"justify-content-center"},r.a.createElement(_.a,{xs:12,lg:9,className:"my-1"},r.a.createElement(C.a,{videoId:s,type:n})))}function N(e){let t=e.article,a=e.key,s=e.suppressMedia,i=e.hideDate;const o=c()(t.publishDate,"mmmm dS, yyyy");return t.content.map((e,l)=>{const c=`${a}-${l}`;switch(e.type){case"text":return r.a.createElement(b,Object(n.a)({key:c},e,{author:t.author,date:i?"":o}));case"photos":return!l&&s?null:r.a.createElement(v.a,{key:c,links:e.links});case"video":return!l&&s?null:r.a.createElement(k,{key:c,brightcoveVideoId:e.videoIds["brightcove-videoid"],youtubeVideoId:e.videoIds["youtube-videoid"]});case"ad":return r.a.createElement("div",{xs:12,lg:8,className:"my-1",key:c},r.a.createElement(d.a,{adName:e.content.adName,nativeStyle:e.content.nativeStyle,position:e.content.position,showLabel:e.content.showLabel}));default:return null}})}function j(e,t){const a=t?65:45,n=t?10:17;let s=0;return e.forEach(e=>{switch(e.type){case"text":{const t=o()(e,"content","");s+=t.length/100;const a=t.match(/<img\s+/gi),r=a?a.length:0;s+=r*n;break}case"photos":o()(e,"links[0].href","")&&(s+=n);break;case"video":(e.videoIds["brightcove-videoid"]||e.videoIds["youtube-videoid"])&&(s+=n)}}),s>a?a:null}function O(e){return{type:"ad",content:{adName:e?"mmrect":"native",nativeStyle:e?"mediumrectangle":"vdp",position:"1",showLabel:!0},entry:3}}k.propTypes={brightcoveVideoId:u.a.string,youtubeVideoId:u.a.string},k.defaultProps={brightcoveVideoId:"",youtubeVideoId:""},a.d(t,"b",function(){return N}),a.d(t,"a",function(){return j}),a.d(t,"c",function(){return O})},"./site-modules/shared/utils/build-and-price-link-constructor.js":function(e,t,a){"use strict";a.d(t,"a",function(){return l}),a.d(t,"b",function(){return c});var n=a("../node_modules/lodash/isInteger.js"),s=a.n(n),r=a("../node_modules/lodash/omitBy.js"),i=a.n(r),o=a("./site-modules/shared/utils/string.js");function l(e,t){let a=e.make,n=e.model,r=e.year,i=e.submodel,o=e.zipCode,l=e.styleId,c=e.step;if(t)return`/${a}/${n}/build/${r?`?defaultYear=${r}`:""}`;return`/${a}/${n}/${r}/${i?`${i}/`:""}options/?legacy=true${o?`&zip=${o}`:""}${l?`&style=${l}`:""}${s()(c)?`#step${c}`:""}`}function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return null;const a=e.make,n=e.model,s=i()(t,e=>!e),r=Object(o.e)(s);return`/new-${a}-${n}-pricing/${r?`?${r}`:""}`}},"./site-modules/shared/utils/car-buying/api-helper.js":function(e,t,a){"use strict";a.d(t,"b",function(){return i}),a.d(t,"a",function(){return o});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("./data/models/visitor.js"),r=a("./configuration.js");const i=async e=>{return{headers:{"x-visitor-id":await e.resolveValue("id",s.d)}}},o=(e,t)=>{const a=e?{"x-visitor-id":e}:{},s=t?{}:{"x-api-key":r.a.get("carBuying").xApiKey};return Object(n.a)({},a,s)}},"./site-modules/shared/utils/car-buying/srp-filter.js":function(e,t,a){"use strict";a.d(t,"b",function(){return d}),a.d(t,"a",function(){return m});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("./site-modules/shared/constants/allowed-inventory-request-params.js"),r=a("./site-modules/shared/utils/inventory/srp-type-checkers.js");const i="boostControl5LeaseDeals:desc",o="lease",l="new",c="leasePayment";function d(e){return e&&!(!e[s.INVENTORY_TYPE]||e[s.INVENTORY_TYPE][0]!==l)}function m(e){let t=e.filters,a=e.urlContext,l=e.skipCBPButton;const d=(m=t)&&(!(!m[s.PAYMENT_TYPE]||m[s.PAYMENT_TYPE][0]!==o)||!!m[s.LEASE_PAYMENT]);var m;return t[s.SORT_BY]||l?t:t[s.LEASE_ONLINE]?Object(n.a)({},t,{[s.SORT_BY]:[c]}):!d&&!Object(r.c)(a)||Object(r.e)(a)?t:Object(n.a)({},t,{[s.SORT_BY]:[i]})}},"./site-modules/shared/utils/consumer-reviews/params.js":function(e,t,a){"use strict";a.d(t,"a",function(){return r});var n=a("../node_modules/prop-types/index.js"),s=a.n(n);const r=s.a.shape({make:s.a.string.isRequired,model:s.a.string.isRequired,year:s.a.oneOfType([s.a.string,s.a.number]),submodel:s.a.string})},"./site-modules/shared/utils/core-breadcrumbs-builder.js":function(e,t,a){"use strict";a.d(t,"b",function(){return l}),a.d(t,"a",function(){return c});var n=a("../node_modules/lodash/last.js"),s=a.n(n),r=a("./constants/pub-states.js"),i=a("./site-modules/shared/utils/core-page/is-used-pub-state.js"),o=a("./site-modules/shared/utils/vehicle-link-constructor.js");function l(e,t){return`/${e.make}/${e.model}/${e.year}/${t}/`}function c(e){let t=e.makeModelSubmodelYear,a=e.params,n=e.pageDisplayName,l=void 0===n?"":n,c=e.urlPath,d=void 0===c?"":c,m=e.includeLastLink,u=void 0!==m&&m,p=e.isMainCorePage,h=void 0!==p&&p,g=e.currPageNameWithVehicle,b=void 0!==g&&g;const v=!!a.year&&Object(i.a)(d,a.year),f={title:t?Object(o.a)({makeName:t.make.name}):"",href:t?Object(o.b)({makeSlug:t.make.slug}):""},E={title:t?Object(o.c)({makeName:t.make.name,modelName:t.model.name}):"",href:t?Object(o.d)({makeSlug:t.make.slug,modelSlug:t.model.slug}):""},y={title:t?Object(o.g)({makeName:t.make.name,modelName:t.model.name,year:t.year,publicationState:v?r.a.USED:void 0}):"",href:t?Object(o.h)({makeSlug:t.make.slug,modelSlug:t.model.slug,year:t.year}):""},_={title:"Review",href:t?Object(o.i)({makeSlug:t.make.slug,modelSlug:t.model.slug,year:t.year}):""},C=a.submodel?{title:t?Object(o.e)({makeName:t.make.name,year:t.year,submodelName:t.submodels.name,publicationState:v?r.a.USED:void 0}):"",href:t?Object(o.f)({makeSlug:t.make.slug,modelSlug:t.model.slug,year:t.year,submodelSlug:t.submodels.slug}):""}:null,k=a.submodel?{title:t&&b?Object(o.e)({makeName:t.make.name,modelName:t.model.name,year:t.year,submodelName:t.submodels.name},l):l,href:d}:{title:t&&b?Object(o.g)({makeName:t.make.name,modelName:t.model.name,year:t.year,publicationState:v?r.a.USED:void 0},l):l,href:d},N={title:t?Object(o.c)({makeName:t.make.name,modelName:t.model.name}):"",href:d},j=[];if(j.push({title:"Home",href:"/"},f,E),a.year&&(j.push(y),v&&h&&j.push(_),C&&j.push(C)),d&&j.push(a.year?k:N),!u){const e=s()(j);e.href="",j[j.length-1]=e}return j}},"./site-modules/shared/utils/core-link-constructor.js":function(e,t,a){"use strict";a.d(t,"o",function(){return o}),a.d(t,"d",function(){return l}),a.d(t,"n",function(){return c}),a.d(t,"e",function(){return d}),a.d(t,"l",function(){return m}),a.d(t,"m",function(){return u}),a.d(t,"i",function(){return p}),a.d(t,"c",function(){return h}),a.d(t,"j",function(){return g}),a.d(t,"f",function(){return b}),a.d(t,"k",function(){return v}),a.d(t,"g",function(){return f}),a.d(t,"h",function(){return E}),a.d(t,"a",function(){return y}),a.d(t,"b",function(){return _});var n=a("../node_modules/lodash/compact.js"),s=a.n(n),r=a("../node_modules/lodash/get.js"),i=a.n(r);function o(e){let t=e.makeModelSubmodelYear,a=e.params;if(!t)return null;const n={makeSlug:i()(t,"make.slug"),modelSlug:i()(t,"model.slug"),year:i()(t,"year")};return a&&a.submodel&&(n.submodelSlug=i()(t,"submodels.slug")),n}function l(e){let t=e.makeSlug,a=e.modelSlug,n=e.year,r=void 0===n?"":n,i=e.submodelSlug,o=void 0===i?"":i;if(!t||!a)throw new ReferenceError("Make and model slugs should be defined");return`/${s()([t,a,r,o]).join("/")}/`}function c(e){return`${l({makeSlug:e.makeSlug,modelSlug:e.modelSlug,year:e.year})}write-review/`}function d(e,t){return`${l(e)}${t}`}function m(e,t){const a=t?`#style=${t}`:"";return`${l(e)}cost-to-own/${a}`}function u(e){return`/car-comparisons/?veh1=${e.style1}&veh2=${e.style2}`}function p(e){return Array.isArray(e)&&e.length?`/car-comparisons/?veh1=${e.reduce((e,t,a)=>`${e}&veh${a+1}=${t}`)}`:"/car-comparisons/"}function h(e){return`${function(e){let t=e.makeSlug,a=e.modelSlug,n=e.year;if(!t||!a||!n)throw new ReferenceError("Make, model slugs and year should be defined");return`/${t}/${a}/${n}/`}(e)}consumer-reviews/`}function g(e){return`${l(e)}review/`}function b(e){return`${l(e)}deals/`}function v(e){return`${l(e)}${e.slug}/`}function f(e){return`${v(e)}features-specs/`}function E(e){return`${l(e)}features-specs/`}function y(e){return`/${e.make.slug}/${e.model.slug}/${e.year}/appraisal-value/`}function _(e){let t=e.makeModelSubmodelYear,a=e.params,n=e.styleId;return e.isVenomPage?`/${a.make}/${a.model}/build/${a.year?`?defaultYear=${a.year}`:""}`:`${l(o({makeModelSubmodelYear:t,params:a}))}${n?`st-${n}/`:""}options/?legacy=true`}},"./site-modules/shared/utils/core-page/core-configurations.js":function(e,t,a){"use strict";a.d(t,"c",function(){return c}),a.d(t,"b",function(){return d}),a.d(t,"a",function(){return m}),a.d(t,"d",function(){return p}),a.d(t,"e",function(){return h}),a.d(t,"f",function(){return g});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/lodash/sortBy.js"),r=a.n(s),i=a("../node_modules/lodash/get.js"),o=a.n(i),l=a("./data/models/inventory-core-configurations.js");function c(e){return e&&e.reduce((e,t)=>t.estimatedSavings>e?t.estimatedSavings:e,0)}function d(e){if(!(e&&e.length>1))return e;let t=null,a=null,n=null;const s=e.reduce((e,s)=>(l.b.BASIC!==s.label||t?l.b.WELL_EQUIPPED!==s.label||a?l.b.LOADED!==s.label||n?e.push(s):n=s:a=s:t=s,e),[]),r=[];return t&&r.push(t),a&&r.push(a),n&&r.push(n),r.concat(s)}function m(e){return e&&e.map&&r()(e.map(e=>({baseMsrp:o()(e,"price.baseMSRP"),id:e.id,trim:o()(e,"trim"),name:o()(e,"name"),totalMsrp:o()(e,"price.totalMSRP"),bestDealPrice:o()(e,"price.bestDealPrice",0),estimatedSavings:o()(e,"price.estimatedSavings"),lowestPrice:o()(e,"price.lowestPrice",0)})),"baseMsrp")}function u(e){return e&&e.length?e.length>=3?[Object(n.a)({},e[0],{label:l.b.BASIC}),Object(n.a)({},e[Math.floor(e.length/2)],{label:l.b.WELL_EQUIPPED}),Object(n.a)({},e[e.length-1],{label:l.b.LOADED})]:e:[]}function p(e){let t=e.coreConfigurations,a=e.coreConfigurationsFallback;return t&&t.length>0?t.slice(0,3):u(a)}function h(e){if(!(e&&e.length>1))return null;let t=null,a=null,n=null;return e.forEach(e=>{l.b.BASIC!==e.label||t?l.b.WELL_EQUIPPED!==e.label||a?l.b.LOADED!==e.label||n||(n=e):a=e:t=e}),a||n||t}function g(e){const t=u(m(e));return h(t)||o()(t,"[0]",null)}},"./site-modules/shared/utils/core-page/core-page-decorator.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return f});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/lodash/get.js"),r=a.n(s),i=a("../node_modules/react/index.js"),o=a("../node_modules/prop-types/index.js"),l=a.n(o),c=a("../node_modules/react-redux/es/index.js"),d=a("../node_modules/react-router/esm/react-router.js"),m=a("./site-modules/shared/pages/page.jsx"),u=a("./data/models/vehicle-type.js"),p=a("./data/models/vehicle.js"),h=a("./actions/vehicle.js"),g=a("./data/luckdragon/redux/react-binding.jsx"),b=a("./site-modules/shared/utils/core-page/is-used-pub-state.js");const v=e=>({updateVehicle:(t,a,n)=>{let s=n.typeList;const r=Object(h.a)(t,{isUsed:a,typeList:s});e(Object(h.e)(r))}});function f(e,t){const a=e.component;class s extends i.Component{constructor(e){super(e);const a=r()(this.props,"location.pathname",""),s=r()(this.props,"vehicle.year"),i=Object(b.a)(a,s);this.props.updateVehicle(this.props.vehicle,i,{typeList:r()(this.props,"types",[]).join(",")}),this.newParams=t.year?t:Object(n.a)({},t,{year:r()(this.props,"vehicle.year")})}render(){return Object(i.createElement)(a,Object(n.a)({},this.props,{params:this.newParams}))}}s.propTypes=Object(n.a)({},a.propTypes,{vehicle:p.d.MakeModelSubmodelYear,types:u.a.Types,updateVehicle:l.a.func.isRequired,location:l.a.shape({pathname:l.a.string}).isRequired}),s.defaultProps={vehicle:null,types:[]};const o=Object(d.g)(Object(c.c)(null,v)(Object(g.b)(s,{types:Object(g.a)(()=>Object(u.c)(t),u.b),vehicle:Object(g.a)(()=>t.year?Object(p.F)(t):Object(p.i)(t),p.e)})));return Object(m.a)(Object(n.a)({},e,{component:o}))}},"./site-modules/shared/utils/core-page/display-name-builders.js":function(e,t,a){"use strict";a.d(t,"a",function(){return s}),a.d(t,"b",function(){return r});a("../node_modules/core-js/modules/es6.regexp.split.js");var n=a("./site-modules/shared/utils/publication-states.js");function s(e){let t=e.makeModelSubmodelYear,a=e.params,s=e.usedPrefix,r=void 0===s?"Used ":s,i=e.showYear,o=void 0===i||i,l=e.showMake,c=void 0===l||l,d=e.showSubmodel,m=void 0===d||d,u=e.trimDuplicateSubmodel,p=void 0!==u&&u;if(!t||!a)return"";const h=a.submodel&&m;let g=h?t.submodels.name:t.model.name;return h&&p&&t.submodels.name===t.model.name&&(g=g.split(" ").filter(e=>!a.submodel.includes(e.toLowerCase())).join(" ")),`${a.isUsed||Object(n.j)(t.pubStates)?r:""}${o?`${t.year} `:""}${c?`${t.make.name} `:""}${g}`}function r(e){let t=e.makeModelSubmodelYear,a=e.style,n=e.params;return a?`${s({makeModelSubmodelYear:t,params:n,showSubmodel:!a.name})} ${a.name}`:s({makeModelSubmodelYear:t,params:n})}},"./site-modules/shared/utils/core-page/page-helpers.jsx":function(e,t,a){"use strict";a.d(t,"c",function(){return c}),a.d(t,"a",function(){return d}),a.d(t,"b",function(){return m});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=(a("../node_modules/core-js/modules/es6.regexp.replace.js"),a("../node_modules/lodash/get.js")),r=a.n(s),i=a("./site-modules/shared/utils/new-used-state.js"),o=a("./site-modules/shared/utils/core-page/is-used-pub-state.js"),l=a("./site-modules/shared/utils/publication-states.js");function c(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const a=t&&t.find(t=>{return t.slug===e});if(!a)return;const n=a.name,s=r()(a,"model.name");if(n!==s){return n.replace(s,"").trim()}return n}function d(e){let t=e.params,a=e.location,s=e.year;const l=r()(a,"pathname",""),c=Object(o.a)(l,s),d=Object(i.a)(c,s),m=Object(o.c)(s);return Object(n.a)({isUsed:c,isNewUsed:d,isUsedUsed:m},t,{year:s})}function m(e,t){return Object(l.i)(e)?"preprod":t?"used":"new"}},"./site-modules/shared/utils/core-page/params.js":function(e,t,a){"use strict";a.d(t,"a",function(){return r}),a.d(t,"b",function(){return i});var n=a("../node_modules/prop-types/index.js"),s=a.n(n);const r=s.a.shape({make:s.a.string.isRequired,model:s.a.string.isRequired,year:s.a.oneOfType([s.a.string,s.a.number]),submodel:s.a.string,isUsed:s.a.bool,isNewUsed:s.a.bool});function i(e){return e?{make:e.make.slug,model:e.model.slug,year:e.year,submodel:e.submodels.slug}:null}},"./site-modules/shared/utils/core-page/url-pattern.js":function(e,t,a){"use strict";function n(e,t,a){return`make/model/${e?"year/":""}${t?"submodel/":""}${a?`${a}/`:""}`}a.d(t,"a",function(){return n})},"./site-modules/shared/utils/core-page/vehicle-preloader.jsx":function(e,t,a){"use strict";a.d(t,"a",function(){return c});var n=a("./data/luckdragon/redux/model-preloader.js"),s=a("./data/models/vehicle.js"),r=a("./data/models/vehicle-type.js"),i=a("./utils/http-status.js"),o=a("./actions/vehicle.js"),l=a("./site-modules/shared/utils/publication-states.js");function c(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isSubpage:!0},c=a.isUsed,d=a.isSubpage;const m=new n.a(e),u=t.params.year?Object(s.F)(t.params):Object(s.i)(t.params);m.resolve(u,s.e),t.params.styleId&&m.resolve(Object(s.G)(t.params),s.e),this.set=function(e,t,a){m.set(e,t,a)},this.resolve=function(e,t){m.resolve(e,t)},this.typesPath=function(e){return e.year&&Object(r.c)(e)},this.resolveTypes=function(e){m.resolve(this.typesPath(e),r.b)},this.validateVehicle=function(e){const t=e&&e.pubStates&&Object(l.i)(e.pubStates);if(!e||!e.make||!e.model||!e.year||!e.submodels||!e.pubStates||d&&t){const e=new Error(t&&d?`InvalidVehicleError - ${u} is a pre-production vehicle`:`VehicleValidatorError - Could not find ${u}`);throw e.status=i.d,e.redirectPageTo404=!0,e}},this.dispatch=function(t,a){let n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{isUsed:c}).usedFlag;const s={make:a.make.slug,model:a.model.slug,year:a.year},i=s.year&&this.typesPath(s);this.resolveTypes(s);const d=Object(l.i)(a.pubStates),m=i&&(t.get(i,r.b)||[]).join(","),u=Object(o.a)(a,{usedFlag:n,typeList:m,isPreProdVehicle:d});e.dispatch(Object(o.e)(u))},this.load=function(){return m.load().then(e=>{const t=e.get(u,s.e);return this.validateVehicle(t),this.dispatch(e,t),e})}}},"./site-modules/shared/utils/core-page/year-helpers.js":function(e,t,a){"use strict";a.d(t,"a",function(){return c}),a.d(t,"c",function(){return d}),a.d(t,"b",function(){return m});var n=a("./site-modules/shared/utils/core-link-constructor.js"),s=a("./site-modules/shared/utils/publication-states.js"),r=a("./site-modules/shared/utils/core-page/is-used-pub-state.js");const i=2017,o=2e3,l=e=>e.map(e=>{let t=e.make,a=e.model,s=e.year;return{name:s,url:Object(n.d)({makeSlug:t.slug,modelSlug:a.slug,year:s})}}),c=(e,t,a)=>{const s=e.filter(e=>{let a=e.pubStates;return t(a)});return a?(e=>e.map(e=>{let t=e.make,a=e.model,s=e.year;return{name:s,url:Object(r.a)("",s)?`${Object(n.d)({makeSlug:t.slug,modelSlug:a.slug,year:s})}review/`:Object(n.d)({makeSlug:t.slug,modelSlug:a.slug,year:s})}}))(s):l(s)},d=e=>!Object(s.i)(e),m=(e,t,a)=>{const n=e.filter(e=>{let t=e.year;return t>=o&&t<=i});return l(n)}},"./site-modules/shared/utils/dealer-details-utils.js":function(e,t,a){"use strict";a.d(t,"a",function(){return r}),a.d(t,"b",function(){return i});const n="autonation",s="herb chambers";function r(e){return!!e&&e.toLowerCase()===n}function i(e){return!!e&&e.toLowerCase().includes(s)}},"./site-modules/shared/utils/editorial-helper.js":function(e,t,a){"use strict";function n(e){return e&&e.isTenPointScale?10:5}a.d(t,"a",function(){return n})},"./site-modules/shared/utils/editors-choice.js":function(e,t,a){"use strict";a.d(t,"a",function(){return i});var n=a("../node_modules/lodash/get.js"),s=a.n(n);const r={lincoln:{navigator:!0},mazda:{"mx-5-miata":!0},honda:{accord:!0,"cr-v":!0},ram:{1500:!0},hyundai:{"kona-electric":!0},"mercedes-benz":{"a-class":!0}};function i(e){let t=e.make,a=e.model,n=e.year;return 2019===parseInt(n,10)&&s()(r,`[${t}][${a}]`)}},"./site-modules/shared/utils/errors.js":function(e,t,a){"use strict";a.d(t,"c",function(){return s}),a.d(t,"a",function(){return r}),a.d(t,"b",function(){return i});var n=a("./utils/http-status.js");function s(e){let t=e.error,a=e.errorMessage;return t?function(e){const t=e;return t.status=n.b,t}(t):function(e){const t=new Error(e);return t.status=n.b,t}(a)}function r(e){const t=new Error(e);return t.redirectPageTo404=!0,t.status=n.d,t}function i(e){let t=e.error,a=e.errorMessage;return t?function(e){const t=e;return t.redirectPageTo404=!0,t.status=n.d,t}(t):r(a)}},"./site-modules/shared/utils/features-specs/utils.js":function(e,t,a){"use strict";a.d(t,"c",function(){return m}),a.d(t,"a",function(){return p}),a.d(t,"b",function(){return h});a("../node_modules/core-js/modules/es6.regexp.match.js");var n=a("../node_modules/lodash/capitalize.js"),s=a.n(n),r=a("../node_modules/lodash/get.js"),i=a.n(r),o=a("./site-modules/shared/utils/price-utils.js");const l="N/A",c=/(\d+)/g,d=/(.+)\s+\((.+)\)/;function m(){const e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").match(d)||[];return{style:e[1]||l,engine:e[2]||l}}function u(e){const t=i()(e,"baseMSRP");return t?Object(o.a)(parseInt(t,10)):l}function p(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=e.name,a=e.price,n=e.features,r=i()(n,'["Drive Train"].Transmission'),o=i()(n,'Engine["Base engine type"]');return{styleName:m(t),baseMSRP:u(a),mpg:function(){const e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").match(c)||[];return{city:e[0]||l,hwy:e[1]||l}}(i()(n,'Fuel["EPA mileage est. (cty/hwy)"]',"")),totalSeating:i()(e,"totalSeating",l),transmission:r?s()(r):l,engineType:o?s()(o):l,horsepower:i()(n,"Engine.Horsepower",l)}}function h(e){return e.map((e,t)=>{return{id:e.id,name:`${e.name} - ${u(e.price)}${t?"":" (Most Popular)"}`}})}},"./site-modules/shared/utils/inventory-image-utils.js":function(e,t,a){"use strict";a.d(t,"a",function(){return c}),a.d(t,"b",function(){return d}),a.d(t,"c",function(){return m});var n=a("../node_modules/lodash/times.js"),s=a.n(n),r=a("./utils/image-helpers.js"),i=a("./site-modules/shared/constants/images.js"),o=a("./utils/inventory-image-helper.js"),l=a("./engagement-handlers/inventory-engagement-handler/constants.js");const c=[Object(r.n)(i.b)],d=600;function m(e,t,a,n,i){let d,m=[];t?(m=s()(t,t=>Object(o.b)(e,t+1,n,i)),d=l.i.DEALER):a.length&&(m=a,d=l.i.DEFAULT);const u=!!m.length;return{photoUrls:u?m.map(r.j):c,photoType:u?d:l.i.NO_IMAGE,hasPhotos:u}}},"./site-modules/shared/utils/inventory/params-conversion.js":function(e,t,a){"use strict";a.d(t,"d",function(){return T}),a.d(t,"a",function(){return R}),a.d(t,"b",function(){return P}),a.d(t,"c",function(){return L});a("../node_modules/core-js/modules/es6.regexp.split.js"),a("../node_modules/core-js/modules/es6.regexp.constructor.js");var n=a("../node_modules/lodash/uniq.js"),s=a.n(n),r=a("../node_modules/lodash/isArray.js"),i=a.n(r),o=a("../node_modules/lodash/reduce.js"),l=a.n(o),c=a("../node_modules/lodash/set.js"),d=a.n(c),m=a("../node_modules/lodash/pick.js"),u=a.n(m),p=a("../node_modules/lodash/isString.js"),h=a.n(p),g=a("../node_modules/lodash/invert.js"),b=a.n(g),v=a("../node_modules/lodash/flow.js"),f=a.n(v),E=a("./site-modules/shared/constants/allowed-seo-srp-request-params.js"),y=a("./site-modules/shared/constants/allowed-inventory-request-params.js"),_=a("./site-modules/shared/utils/string.js");const C=new RegExp(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/),k=l()(E,(e,t,a)=>{const n=E[a],s=y[a];return h()(a)&&n&&s&&d()(e,n,s),e},{}),N=b()(k);function j(e,t){return l()(e,(e,a,n)=>(d()(e,t[n]||n,a),e),{})}function O(e){return j(e,k)}function T(e){return j(e,N)}function S(e,t){return u()(e,t)}function I(e){return S(e,E.ALLOWED_SEO_SRP_REQUEST_PARAMS)}function w(e){return S(e,y.ALLOWED_INVENTORY_REQUEST_PARAMS)}function x(e){return l()(e,(e,t,a)=>(d()(e,a,s()(t.split(C))),e),{})}function A(e){return l()(e,(e,t,a)=>{const n=i()(t)?t.join():t;return n&&d()(e,a,n),e},{})}function R(e){return f()(A,I,O,x)(e)}function P(e){return f()(T,A,_.e)(e)}function L(e){return f()(w,A,_.e)(e)}},"./site-modules/shared/utils/inventory/search-filter.js":function(e,t,a){"use strict";a.d(t,"i",function(){return B}),a.d(t,"a",function(){return W}),a.d(t,"d",function(){return z}),a.d(t,"e",function(){return q}),a.d(t,"h",function(){return Q}),a.d(t,"f",function(){return J}),a.d(t,"m",function(){return ee}),a.d(t,"b",function(){return te}),a.d(t,"g",function(){return ae}),a.d(t,"k",function(){return ne}),a.d(t,"j",function(){return se}),a.d(t,"c",function(){return re}),a.d(t,"l",function(){return ie});a("../node_modules/core-js/modules/es6.regexp.match.js");var n=a("../node_modules/@babel/runtime/helpers/esm/slicedToArray.js"),s=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),r=a("../node_modules/lodash/defaultTo.js"),i=a.n(r),o=a("../node_modules/lodash/flow.js"),l=a.n(o),c=a("../node_modules/lodash/sortBy.js"),d=a.n(c),m=a("../node_modules/lodash/set.js"),u=a.n(m),p=a("../node_modules/lodash/without.js"),h=a.n(p),g=a("../node_modules/lodash/unset.js"),b=a.n(g),v=a("../node_modules/lodash/unionWith.js"),f=a.n(v),E=a("../node_modules/lodash/omitBy.js"),y=a.n(E),_=a("../node_modules/lodash/omit.js"),C=a.n(_),k=a("../node_modules/lodash/get.js"),N=a.n(k),j=a("../node_modules/lodash/isUndefined.js"),O=a.n(j),T=a("../node_modules/lodash/fp/find.js"),S=a.n(T),I=a("../node_modules/lodash/fp/filter.js"),w=a.n(I),x=a("./site-modules/shared/utils/inventory/params-conversion.js"),A=a("./site-modules/shared/utils/nice-name.js"),R=a("./site-modules/shared/constants/inventory/facets-config.js"),P=a("./site-modules/shared/utils/inventory/srp-utils.js"),L=a("./site-modules/shared/constants/allowed-seo-srp-request-params.js"),D=a("./site-modules/shared/constants/allowed-inventory-request-params.js");const $={},M="*",V=[`${M}-${M}`],F=[L.LOAN_PAYMENT,L.LEASE_PAYMENT],U=/^\d{1,}$/,Y=/^(\*|\d+)-(\*|\d+)$/;function B(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:10;if(!N()(e,"vin"))return $;const a=N()(e,"vehicleInfo.styleInfo.make"),n=N()(e,"vehicleInfo.styleInfo.model"),s=N()(e,"dealerInfo.productFeatures.directDealer",!1),r=N()(e,"dealerInfo.rooftopId");return{bodyType:{name:N()(e,"vehicleInfo.styleInfo.bodyType","")},make:{name:a,niceName:Object(A.b)(a)},model:{name:n,niceName:Object(A.b)(n)},modelYear:{year:N()(e,"vehicleInfo.styleInfo.year")},rooftopId:s?r:null,type:N()(e,"type"),pageSize:t}}function W(e,t){return e.filter(e=>t[e.type]).map(e=>{let a=e.type,n=e.values,r=e.min,i=e.max,o=e.showAboveUpperBoundValue,l=e.lowerBound,c=e.upperBound;const d=t[a]||[];return y()({type:a,values:n.map(e=>Object(s.a)({},e,{selected:d.includes(e.value)||d.includes(e.name)})),min:r,max:i,lowerBound:l,upperBound:c,showAboveUpperBoundValue:o},O.a)})}function z(e){return e.filter(e=>{let t=e.values,a=e.min,n=e.max;return t.some(e=>e.selected||!!a||!!n)}).map(e=>{let t=e.type,a=e.values,n=e.min,s=e.max,r=e.lowerBound,i=e.upperBound,o=e.showAboveUpperBoundValue;return y()({type:t,values:a.filter(e=>e.selected),min:n,max:s,lowerBound:r,upperBound:i,showAboveUpperBoundValue:o},O.a)})}function q(e){let t=e.type,a=e.facet,n=e.isChecked,r=e.currentFilter,i=e.allowSingleFacets,o=void 0!==i&&i,l=e.isRedirectFromLeasePage,c=void 0!==l&&l,d={};if(!t||!a)return R.e.forEach(e=>{r[e]&&(d=Object(s.a)({},d,{[e]:r[e]}))}),d;R.f[t]?R.f[t].forEach(e=>{const a=r[e],i=R.g[e];if(a&&i){const r=i.exceptions.includes(t)&&n,o=i.value===a[0];d=!r&&o?Object(s.a)({},d):Object(s.a)({},d,{[e]:a})}else a&&(d=Object(s.a)({},d,{[e]:a}))}):d=Object(s.a)({},r),R.r[t]&&R.r[t].forEach(e=>b()(d,e)),R.q.exceptions.includes(t)||R.q.rules.forEach(e=>b()(d,e)),(R.s.includes(t)||o)&&b()(d,t);const m=d[t]||[],p=a.value||a.name,g=n?[...m,p]:h()(m,p),v=g.length?Object(s.a)({},d,{[t]:g}):C()(d,t);c&&!v[D.PAYMENT_TYPE]&&Object(P.m)(v)&&u()(v,[D.PAYMENT_TYPE],[L.LEASE_PAYMENT]);const f=R.d[t];if(f){const e=f.facetNameToExclude,t=f.checkCallback,a=void 0===t?P.n:t,n=v[e],s=a(v);if(n&&!s){const t=f.valuesToRemove;n.some(e=>t.includes(e))&&b()(v,e)}}return v}function H(e,t){return O()(e)||V.includes(e)&&!F.includes(t)}function G(e){return e===M?null:parseInt(e,10)}function K(e){return e&&"string"==typeof e?e.toLowerCase():e}function Z(e){if(H(e)||!Y.test(e))return null;const t=e.match(Y),a=Object(n.a)(t,3),s=a[1],r=a[2];return{min:G(s),max:G(r)}}function Q(e,t){const a=e.map(e=>e.type),n=f()(t,e,(e,t)=>e.type===t.type);return d()(n,e=>a.indexOf(e.type))}function X(e){const t=Object(A.b)(N()(e,L.MAKE)),a=Object(A.b)(N()(e,L.MODEL)),n=N()(e,L.VEHICLE_CATEGORY),r=(i=N()(e,L.YEAR),U.test(i)?`${i}-${i}`:i);var i;const o=K(N()(e,L.INVENTORY_TYPE));return y()(Object(s.a)({},e,{make:t,model:a,year:r,type:n,inventorytype:o}),H)}function J(e,t){const a=function(e){const t=e||{},a=t.vehicle,n=t.attributes&&t.attributes.inventory||{},s=n.inventoryType,r=n.type,o=n.maxPrice,l=n.colorName,c=K(r),d="used"===s?"used,cpo":s;return y()({[L.MAKE]:N()(a,"make.slug"),[L.MODEL]:N()(a,"model.slug"),[L.INVENTORY_TYPE]:d,[L.VEHICLE_CATEGORY]:c,[L.DISPLAY_PRICE]:`*-${i()(o,"*")}`,[L.EXTERIOR_COLOR]:l,[L.YEAR]:N()(a,"modelYear.year")},H)}(t),n=Object(s.a)({},e,a);return l()(X,x.a)(n)}function ee(e){const t={},a=N()(e,`${D.MAKE}[0]`),n=N()(e,`${D.MODEL}[0]`),s=N()(e,D.INVENTORY_TYPE),r=N()(e,D.VEHICLE_CATEGORY),i=Z(N()(e,`${D.DISPLAY_PRICE}[0]`)),o=N()(i,"max"),l=N()(e,`${D.EXTERIOR_COLOR}[0]`),c=Z(N()(e,`${D.YEAR}[0]`)),d=c&&c.max&&(c.min===c.max||c.min<c.max)?c.max:null;return a&&u()(t,"vehicleInfo.styleInfo.make",a),n&&u()(t,"vehicleInfo.styleInfo.model",n),s&&u()(t,"type",s.join()),r&&u()(t,"vehicleInfo.styleInfo.bodyType",r.join()),o&&u()(t,"vehicleInfo.displayPrice",o),l&&u()(t,"vehicleInfo.vehicleColors.exterior.genericName",l),d&&u()(t,"vehicleInfo.styleInfo.year",d),t}function te(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.find(e=>{return e.type===t})}const ae=(e,t)=>N()(e,"values[0]",{})[t],ne=e=>S()(e=>{return e.selected})(N()(e,"values",[])),se=e=>t=>N()(ne(t),e,ae(t,e)),re=(e,t,a)=>l()([te,se(a)])(e,t),ie=e=>w()(e=>{return e.selected})(N()(e,"values",[]))},"./site-modules/shared/utils/inventory/sentient-sorting.js":function(e,t,a){"use strict";a.d(t,"b",function(){return l}),a.d(t,"a",function(){return c});a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js");var n=a("./site-modules/shared/utils/inventory-utils.js"),s=a("./site-modules/shared/constants/allowed-inventory-request-params.js"),r=(a("./site-modules/shared/constants/sort-types.js"),a("./site-modules/shared/constants/inventory/srp-url-patterns.js")),i=a("./site-modules/shared/utils/inventory/srp-utils.js"),o=a("./site-modules/shared/utils/inventory/srp-type-checkers.js");function l(e,t){const a=Object(i.k)(e);return!Object(o.e)(e)&&!function(e){return!(!e||!e.isSrpOnUsedCore)}(e)&&a!==r.k&&function(e){const t=e&&e[s.INVENTORY_TYPE];return!(!t||!t.length||t.some(n.y)&&t.some(n.A))}(t)&&!r.h[a]}function c(e){let t=e.filters;e.urlContext,e.sessionId;return t[s.SORT_BY],t}},"./site-modules/shared/utils/inventory/srp-card-utils.js":function(e,t,a){"use strict";a.d(t,"a",function(){return h});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/lodash/isEmpty.js"),r=a.n(s),i=a("../node_modules/lodash/get.js"),o=a.n(i),l=a("../node_modules/lodash/isNil.js"),c=a.n(l),d=a("./site-modules/shared/components/inventory/helpers/vehicle-history-helper.js");const m=["personalUseOnly","salvageHistory","frameDamage","lemonHistory","theftHistory","cleanTitle","freeHistoryReport","noAccidents"],u=[...m,"ownerText","accidentText","usageType","historyProvider"],p="Not Provided";function h(e){const t=r()(e)?[]:Object(d.g)(e);return u.reduce((a,s)=>{let r=o()(e,s);return d.c[s]?r=o()(t.find(e=>e&&e.name===s),"content",p):c()(r)?r=p:m.includes(s)&&(r=r?"Yes":"No"),Object(n.a)({},a,{[s]:r})},{})}},"./site-modules/shared/utils/inventory/srp-type-checkers.js":function(e,t,a){"use strict";a.d(t,"e",function(){return r}),a.d(t,"c",function(){return i}),a.d(t,"b",function(){return o}),a.d(t,"i",function(){return l}),a.d(t,"h",function(){return c}),a.d(t,"a",function(){return d}),a.d(t,"j",function(){return m}),a.d(t,"d",function(){return u}),a.d(t,"f",function(){return p}),a.d(t,"g",function(){return h});var n=a("./site-modules/shared/constants/inventory/srp-url-patterns.js");const s="lease-deals";function r(e){return!!(e&&e.attributes&&e.attributes.nationalScope)}function i(e){const t=e&&e.attributes&&e.attributes.page;return!!t&&t===s}function o(e){return!!(e&&e.rooftopId&&e.rooftopId.length)}function l(e){return/used-make-type-\w+(-\w+)?-\w{2}$/.test(e)}function c(e){return"used-cheap-cars-for-sale"===e}function d(e){return"cheap-lease-deals"===e}function m(e){return"used-year-make-model-city-state"===e}function u(e){return"make-model-lease-deals"===e}function p(e){return/^new-(\w+-){1,2}for-sale$/.test(e)}function h(e){return e===n.e}},"./site-modules/shared/utils/inventory/srp-utils.js":function(e,t,a){"use strict";a("../node_modules/core-js/modules/es6.regexp.to-string.js");var n=a("../node_modules/lodash/includes.js"),s=a.n(n),r=a("../node_modules/lodash/isEqual.js"),i=a.n(r),o=a("../node_modules/lodash/cloneDeep.js"),l=a.n(o),c=a("../node_modules/lodash/get.js"),d=a.n(c),m=a("../node_modules/lodash/isEmpty.js"),u=a.n(m),p=(a("./utils/http-status.js"),a("./site-modules/shared/utils/string.js")),h=a("./constants/inventory-types.js"),g=a("./site-modules/shared/constants/allowed-inventory-request-params.js"),b=a("./constants/pub-states.js"),v=a("./engagement-handlers/inventory-engagement-handler/constants.js"),f=a("./site-modules/shared/utils/inventory-utils.js"),E=a("./data/models/inventory.js"),y=a("./data/models/visitor.js"),_=a("./site-modules/shared/constants/inventory/static-facets.js"),C=a("./site-modules/shared/utils/publication-states.js");const k={hyundai:[{condition:"santa-fe",localStorageKey:"modelNameChangeMessageClosed",type:"hyundai-santa-fe",title:"You should know: Hyundai has modified the naming convention for the 2019 Santa Fe",message:["The third-generation Santa Fe debuted for 2013 as either a two-row SUV or an extended three-row version","For 2014, the regular Santa Fe was renamed 'Santa Fe Sport', while the extended Santa Fe continued to be known as 'Santa Fe'","For 2019, the roles reverse again - the redesigned regular model enters its fourth generation as the 2019 Santa Fe, while the extended model remains on the third-generation platform as the 2019 Santa Fe XL"]}]};var N=a("./site-modules/shared/utils/inventory/srp-type-checkers.js");a.d(t,"a",function(){return j}),a.d(t,"k",function(){return O}),a.d(t,"i",function(){return S}),a.d(t,"j",function(){return I}),a.d(t,"h",function(){return w}),a.d(t,"f",function(){return x}),a.d(t,"o",function(){return A}),a.d(t,"e",function(){return R}),a.d(t,"d",function(){return P}),a.d(t,"n",function(){return L}),a.d(t,"m",function(){return D}),a.d(t,"c",function(){return $}),a.d(t,"b",function(){return M}),a.d(t,"g",function(){return V}),a.d(t,"l",function(){return F});const j="edm-entry-main-container";function O(e){return e&&e.urlPattern||""}const T=(e,t)=>e.values.find(e=>e.value===t)||e.values[0],S=(e,t,a)=>T(_.c,t||a||Object(E.d)(e).toString()).value,I=(e,t)=>{const a=l()(e);return T(a,t).selected=!0,a};function w(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=b.b.NEW_USED;return 1===e.length&&(t=Object(C.e)(e[0])),2===e.length&&s()(e,h.a.CPO.toLowerCase())&&s()(e,b.b.USED)&&(t=b.b.USED),t}function x(e,t){return{selectedMake:d()(t,"make[0]",null),selectedModel:d()(t,"model[0]",null),radius:S(e.get("location.dmaRank",y.d),d()(t,"radius[0]")),inventoryType:d()(t,"inventoryType",[])}}function A(e,t){const a=e.get("closestDealerFilter",E.c),n=x(e,t),s=n.selectedMake,r=n.inventoryType;return a&&!(a.make===s&&i()(a.inventoryType,r))||!a&&s}function R(e){const t=e.make&&e.make[0],a=e.model&&e.model[0],n=k[t];return!u()(n)&&a?n.find(e=>a.includes(e.condition)):{}}function P(e){let t=e.isLease,a=e.urlContext,n=e.makeModelSubmodelYear;const s=O(a),r=d()(a,"vehicle.make.name","")||d()(n,"make.name",""),i=d()(a,"vehicle.model.name","")||d()(n,"model.name","");if(Object(N.a)(s))return"Cheapest Lease Deals";if(t){const e=a.inventory,t=e&&e.type,n=Object(p.a)(r,i,t);return n?`Related ${n} Lease Deals`:"Related Lease Deals"}return Object(N.h)(s)?"Cheap Cars For Sale":r&&i?`Related ${r} ${i} info`:r?`Related ${r} info`:"Related vehicle information"}function L(e){const t=e&&e[g.INVENTORY_TYPE];return!!t&&!!t.length&&!t.some(f.y)}function D(e){const t=e&&e[g.INVENTORY_TYPE];return!!t&&!!t.length&&!t.some(f.A)}function $(e){let t=e.radius,a=e.inventoryData,n=e.selectedFacets,s=e.isBuildPriceSrp;const r={inventory:d()(a,"inventories.results",[]),totalCount:d()(a,"inventories.totalNumber"),attributes:d()(a,"attributes",{}),creativeId:j,defaults:{defaultNoImageType:v.i.NO_IMAGE},radius:t,isBuildPriceSrp:s};return n[g.LEASE_ONLINE]&&n[g.LEASE_ONLINE].includes("eligible")&&(r.subaction_name="show_lease_it_now"),r}function M(e){return Number(d()(e,`[${g.PAGE_NUMBER}][0]`,1))}function V(e){return e?`srp-${e}`:null}function F(e){return e.values.some(e=>{let t=e.name;return e.selected&&t===_.a})}},"./site-modules/shared/utils/location.js":function(e,t,a){"use strict";a.d(t,"a",function(){return i}),a.d(t,"b",function(){return o});var n=a("./data/api/api-client.js"),s=a("./utils/metrics-header.js"),r=a("./constants/location.js");function i(e,t){let a=t.pageName,r=t.venomVersion;return n.c.fetchJson(`/zip/v2/${e}`,{headers:Object(s.a)("getLocationByZipCode",a,r)})}function o(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};const t=e.userSet,a=e.zipCode;return!1===t&&a===r.a.zipCode}},"./site-modules/shared/utils/make-model-zip.js":function(e,t,a){"use strict";a.d(t,"d",function(){return d}),a.d(t,"c",function(){return m}),a.d(t,"b",function(){return u}),a.d(t,"a",function(){return p});var n=a("../node_modules/lodash/get.js"),s=a.n(n),r=a("./constants/pub-states.js"),i=a("./site-modules/shared/utils/core-page/is-used-pub-state.js"),o=a("./site-modules/shared/utils/core-link-constructor.js"),l=a("./site-modules/shared/utils/srp-link-constructor.js");function c(e,t,a,n,r){const l=s()(e,"slug","").toLowerCase(),c=s()(t,"slug","").toLowerCase(),d=s()(a,"value",n);return l&&c&&d?r&&Object(i.a)("",d)?Object(o.j)({makeSlug:l,modelSlug:c,year:d}):Object(o.d)({makeSlug:l,modelSlug:c,year:d}):null}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"mmy";return{submitTrackingId:`${e}_${t}_submit`,submitByTabNameTrackingId:a=>`${e}_${t}_${a}_submit`,makeSelectTrackingId:`${e}_${t}_make_select`,modelSelectTrackingId:`${e}_${t}_model_select`,zipInputTracking:()=>({"data-tracking-id":`${e}_${t}_zip_code_entry`}),zipInputByTabTracking:a=>({"data-tracking-id":`${e}_${t}_${a}_zip_code_entry`}),submodelSelectTrackingId:`${e}_${t}_submodel_select`,yearSelectTrackingId:`${e}_${t}_year_select`,typeSelectTrackingId:`${e}_${t}_type_select`,tabSelectTracking:a=>`${e}_${t}_${a}_select`,minPriceSelectTracking:a=>`${e}_${t}_${a}_min_price_select`,maxPriceSelectTracking:a=>`${e}_${t}_${a}_max_price_select`}}const m={CORE_PAGE:"corePage",SRP:"srp",USED_SRP:"usedSRP",REVIEW_PAGE:"review",CPO_SRP:"cpoSRP"},u={[m.CORE_PAGE]:e=>{return c(e.make,e.model,e.year,e.latestNonPreprodYear)},[m.USED_SRP]:e=>{return function(e,t){const a=s()(e,"slug"),n=s()(t,"slug");return a&&n?Object(l.i)(a,n,"used"):null}(e.make,e.model)},[m.SRP]:e=>{let t=e.params;return Object(l.p)(t)},[m.REVIEW_PAGE]:e=>{return c(e.make,e.model,e.year,e.latestNonPreprodYear,!0)},[m.CPO_SRP]:e=>{return function(e,t,a){const n=s()(e,"slug"),r=s()(t,"slug"),i=s()(a,"value");return n&&r&&i?Object(l.h)(n,r,a.value):null}(e.make,e.model,e.year)}},p=[r.a.NEW,r.a.NEW_USED,r.a.USED]},"./site-modules/shared/utils/new-used-state.js":function(e,t,a){"use strict";function n(e,t){const a=(new Date).getFullYear();return e&&(Number(t)===a||Number(t)===a-1)}a.d(t,"a",function(){return n})},"./site-modules/shared/utils/parse-content-metadata.js":function(e,t,a){"use strict";a.d(t,"a",function(){return o}),a.d(t,"b",function(){return l});var n=a("../node_modules/lodash/isEmpty.js"),s=a.n(n),r=a("../node_modules/lodash/camelCase.js"),i=a.n(r);function o(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const n=[];for(let r=1;r<=a;r+=1){const a={};t.forEach(t=>{const n=e[`${t}-${r}`];n&&(a[i()(t)]=n)}),s()(a)||n.push(a)}return n}function l(e,t){return{title:e.metadata(`${t}-title`).value(),url:e.metadata(`${t}-url`).value(),blank:e.metadata(`${t}-url-blank`).boolean(),nofollow:e.metadata(`${t}-url-nofollow`).boolean()}}},"./site-modules/shared/utils/photoflipper/vehicle-preloader.jsx":function(e,t,a){"use strict";a.d(t,"d",function(){return h}),a.d(t,"c",function(){return g}),a.d(t,"b",function(){return b}),a.d(t,"e",function(){return v}),a.d(t,"a",function(){return f});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("../node_modules/lodash/get.js"),r=a.n(s),i=a("../node_modules/lodash/isEmpty.js"),o=a.n(i),l=a("./data/luckdragon/redux/model-preloader.js"),c=a("./data/models/vehicle.js"),d=a("./data/models/photoflipper.js"),m=a("./actions/vehicle.js"),u=a("./site-modules/shared/constants/photoflipper/photoflipper.jsx"),p=a("./selectors/experiment.js");const h=e=>{const t=e.make,a=e.model,n=e.year,s=e.submodel;return s?`makes["${t}"].models["${a}"].submodelsByName["${s}"].years["${n}"]`:`makes["${t}"].models["${a}"].defaultSubmodel.years["${n}"]`},g=e=>{let t=e.make,a=e.model,n=e.year,s=e.submodel,r=e.pageNum,i=e.currentCategory,o=e.mediaType;return Object(d.g)({make:t,model:a,submodel:s,year:n,pageNum:r,category:i,mediaType:o})},b=e=>{let t=e.make,a=e.model,n=e.year,s=e.submodel,r=e.mediaType;return Object(d.f)({make:t,model:a,year:n,submodel:s,mediaType:r})},v=(e,t)=>t&&Number(e)>u.t;function f(e,t){const a=new l.a(e),s=h(t),i="chal"===Object(p.b)(e.getState(),"CORE-1819-video-photoflipper-v2");let f;f=b(i?t:Object(n.a)({},t,{mediaType:u.k}));const E=g(Object(n.a)({},t,{pageNum:1,currentCategory:u.g[u.k],mediaType:u.k}));a.resolve(s,c.e);const y=e.getState().featureFlags.pfS3Photo;v(t.year,y)||a.resolve(f,d.d),this.set=function(e,t,n){a.set(e,t,n)},this.resolve=function(e,t){a.resolve(e,t)},this.load=function(){return a.load().then(a=>{const i=a.get(s,c.e),l=a.get(E,d.d),u=r()(l,"data[0].modelYearId");return o()(i)||e.dispatch(Object(m.e)(Object(m.a)(Object(n.a)({},i,{modelYearId:u}),t))),a})}}},"./site-modules/shared/utils/seo-helper.js":function(e,t,a){"use strict";a.d(t,"c",function(){return r}),a.d(t,"a",function(){return i}),a.d(t,"b",function(){return o});a("../node_modules/core-js/modules/es6.regexp.split.js");var n=a("../node_modules/lodash/get.js"),s=a.n(n);const r=e=>{const t=e.child("seo-image"),a=t.metadata("image-url").value();return a?{url:a,width:t.metadata("image-width").value(),height:t.metadata("image-height").value(),alt:t.metadata("image-alt").value()}:null},i=e=>({title:e.metadata("titleTag").value(),description:e.metadata("metaDescription").value(),keywords:e.metadata("metaKeywords").value(),canonical:e.metadata("canonical").value(),socialDescription:e.metadata("socialDescription").value()}),o=e=>{const t=s()(e,'["Fuel"]'),a=s()(t,'["Fuel type"]'),n=s()(t,'["EPA mileage est. (cty/hwy)"]',"").split(" "),r=s()(n,"[0]","").split("/"),i=s()(e,'["Engine"]'),o=s()(i,'["Base engine size"]',"").split(" ")[0],l=s()(i,'["Horsepower"]',"").split(" ")[0],c=s()(e,'["Drive Train"]'),d=s()(c,'["Transmission"]'),m=s()(e,'["Measurements"]'),u=s()(m,'["Width"]',""),p=s()(m,'["Height"]',""),h=s()(m,'["Curb weight"]',"");return{generalData:{fuelType:a,vehicleTransmission:d},measurementsData:{width:u.split(" ")[0],height:p.split(" ")[0],weight:h.split(" ")[0]},mpg:{engineFuelType:a,mpgData:{combined:s()(t,'["Combined MPG"]'),highway:r[1],city:r[0]}},engineData:{engineVolume:o,horsepower:l,engineType:s()(i,'["Base engine type"]')}}}},"./site-modules/shared/utils/time-util.js":function(e,t,a){"use strict";a.d(t,"c",function(){return c}),a.d(t,"a",function(){return d}),a.d(t,"b",function(){return u});var n=a("../node_modules/dateformat/lib/dateformat.js"),s=a.n(n);const r=[6,0],i=6e4,o={STANDARD:288e5,DAYLIGHT:252e5};function l(e){return e.getTimezoneOffset()<function(e){const t=new Date(e.getFullYear(),0,1),a=new Date(e.getFullYear(),6,1);return Math.max(t.getTimezoneOffset(),a.getTimezoneOffset())}(e)}function c(e){const t=new Date,a=function(e){const t=e.getTime()+e.getTimezoneOffset()*i;return l(e)?new Date(t-o.DAYLIGHT):new Date(t-o.STANDARD)}(t);if(function(e){return r.includes(e.getDay())}(t))return!1;const n=a.getHours();return n>=e.min&&n<e.max}const d=e=>s()(e,"yyyy");function m(e){return s()(e,"yyyy/mm/dd")}function u(e,t){const a=parseInt(t,10);if(!t)return e;const n=Date.now(),s=d(n),r=function(e,t){const a=new Date(e,2,7);return a.setDate(7-a.getDay()+7),new Date(`${m(a)} 02:00 ${t}`)}(s,e),i=function(e,t){const a=new Date(e,10,7);return a.setDate(7-a.getDay()),new Date(`${m(a)} 02:00 ${t}`)}(s,e);return n>=r.getTime()&&n<=i.getTime()?e+a:e}},"./site-modules/shared/utils/top-rated.js":function(e,t,a){"use strict";a.d(t,"a",function(){return o});var n=a("../node_modules/lodash/get.js"),s=a.n(n),r=a("./site-modules/shared/utils/nice-name.js");const i={honda:{accord:{2020:!0}},tesla:{"model-3":{2019:!0}},"mercedes-benz":{"a-class":{2020:!0},"gle-class":{2020:!0}},chevrolet:{corvette:{2020:!0}},kia:{telluride:{2020:!0}},ram:{1500:{2020:!0}}};function o(e){let t=e.make,a=e.model,n=e.year;return s()(i,`["${Object(r.b)(t)}"]["${Object(r.b)(a)}"]["${n}"]`)}},"./site-modules/shared/utils/upper-funnel/type-rankings.js":function(e,t,a){"use strict";a.d(t,"b",function(){return s}),a.d(t,"a",function(){return r});a("../node_modules/core-js/modules/es6.regexp.replace.js");var n=a("./site-modules/shared/utils/upper-funnel/type-mapping.js");function s(e){return`${e.trim().toLowerCase().replace(/ /g,"-")}`}function r(e,t){return`/${Object(n.d)(e)}/#${s(t)}`}},"./tracking/event.js":function(e,t,a){"use strict";a.d(t,"a",function(){return s});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js");const s={trackAction:(e,t,a,s)=>({event_type:e,event_data:Object(n.a)({action_name:t,subaction_name:a,action_category:"user"},s)}),actionCompleted(e,t,a){return this.trackAction("action_completed",e,t,a)},actionStart(e,t,a){return this.trackAction("action_start",e,t,a)},actionProgress(e,t,a){return this.trackAction("action_progress",e,t,a)},actionEnd(e,t,a){return this.trackAction("action_end",e,t,a)}}},"./tracking/maps/appraisal/index.js":function(e,t,a){"use strict";a.d(t,"a",function(){return u});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("./tracking/event.js"),r=a("./tracking/constant.js"),i=a("./tracking/maps/common/index.js"),o=a("./site-modules/shared/utils/make-model-zip.js"),l=a("./tracking/maps/common/search-by-module.js"),c=a("./site-modules/shared/components/suggested-vehicle-pricing-carousel/tracking.js");const d=Object(o.d)("used_cars_tmv_appraiser"),m=Object(n.a)({[d.makeSelectTrackingId]:s.a.actionStart(r.b.ACTION_MMY_SELECT,r.b.MAKE_SELECT),[d.modelSelectTrackingId]:s.a.actionProgress(r.b.ACTION_MMY_SELECT,r.b.MODEL_SELECT),[d.submitTrackingId]:s.a.actionEnd(r.b.ACTION_MMY_SELECT,r.b.SUBMIT_MMY)},Object(l.a)(d),{submit_location_style:s.a.actionProgress(r.b.ACTION_APPRAISE_VEHICLE,r.b.SUBMIT_LOCATION_STYLE),submit_colors_options:s.a.actionProgress(r.b.ACTION_APPRAISE_VEHICLE,r.b.SUBMIT_COLORS_OPTIONS),submit_condition_mileage:s.a.actionEnd(r.b.ACTION_APPRAISE_VEHICLE,r.b.SUBMIT_CONDITION_MILEAGE),submit_condition:s.a.actionProgress(r.b.ACTION_APPRAISE_VEHICLE,r.b.SUBMIT_CONDITION),submit_mileage:s.a.actionProgress(r.b.ACTION_APPRAISE_VEHICLE,r.b.SUBMIT_MILEAGE),submit_style:s.a.actionProgress(r.b.ACTION_APPRAISE_VEHICLE,r.b.SUBMIT_STYLE),submit_color:s.a.actionProgress(r.b.ACTION_APPRAISE_VEHICLE,r.b.SUBMIT_COLOR),submit_options:s.a.actionProgress(r.b.ACTION_APPRAISE_VEHICLE,r.b.SUBMIT_OPTIONS),view_detailed_report:s.a.actionCompleted(r.b.ACTION_APPRAISE_VEHICLE,r.b.VIEW_DETAILED_REPORT),add_estimated_payment:s.a.actionCompleted(r.b.ACTION_APPRAISE_VEHICLE,r.b.ADD_EST_PAYMENT),close_report:s.a.actionCompleted(r.b.ACTION_RESET_NAVIGATION,r.b.CLOSE_DRAWER),view_appraisal_form:s.a.actionStart(r.b.ACTION_APPRAISE_VEHICLE,r.b.VIEW_APPRAISAL_FORM),appraise_vehicle:s.a.actionCompleted(r.b.ACTION_TOOL_SELECT,r.b.APPRAISE_VEHICLE),write_review:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.ACTION_WRITE_REVIEW),offer_selected:s.a.actionProgress(r.b.ACTION_APPRAISE_VEHICLE,r.b.OFFER_SELECTED),estimate_selected:s.a.actionProgress(r.b.ACTION_APPRAISE_VEHICLE,r.b.ESTIMATE_SELECTED),submit_vin:s.a.actionProgress(r.b.ACTION_APPRAISE_VEHICLE,r.b.SUBMIT_VIN)}),u=Object(n.a)({},i.a,m,c.a)},"./tracking/maps/car-buying/dr-landing/index.js":function(e,t,a){"use strict";a.d(t,"a",function(){return r});var n=a("./tracking/event.js"),s=a("./tracking/constant.js");const r={visit_ted:n.a.actionCompleted(s.b.GET_STARTED,s.b.VISIT_TED),visit_srp:n.a.actionCompleted(s.b.GET_STARTED,s.b.VISIT_SRP)}},"./tracking/maps/car-buying/search-by-payment-type/index.js":function(e,t,a){"use strict";a.d(t,"a",function(){return r});var n=a("./tracking/event.js"),s=a("./tracking/constant.js");const r={search_by_payment_type:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,s.b.SUBMIT)}},"./tracking/maps/common/dealer.js":function(e,t,a){"use strict";a.d(t,"a",function(){return o});var n=a("./tracking/event.js"),s=a("./tracking/maps/helper.js"),r=a("./tracking/constant.js");function i(e){return s.a.getBasicDealerOptions(e)}const o={dealer_engagement_chat:e=>n.a.actionCompleted(r.b.ACTION_DEALER_ENGAGEMENT,r.b.CHAT_DEALER,i(e)),dealer_engagement_view_details:e=>n.a.actionCompleted(r.b.ACTION_DEALER_ENGAGEMENT,r.b.VIEW_DEALER_DETAILS,i(e)),dealer_engagement_view_reviews:e=>n.a.actionCompleted(r.b.ACTION_DEALER_ENGAGEMENT,r.b.VIEW_DEALER_REVIEWS,i(e)),dealer_engagement_view_inventory:e=>n.a.actionCompleted(r.b.ACTION_DEALER_ENGAGEMENT,r.b.VIEW_DEALER_INVENTORY,i(e)),dealer_engagement_call:e=>n.a.actionCompleted(r.b.ACTION_DEALER_ENGAGEMENT,r.b.CALL_DEALER,i(e)),dealer_engagement_text:e=>n.a.actionCompleted(r.b.ACTION_DEALER_ENGAGEMENT,r.b.TEXT_DEALER,i(e)),dealer_engagement_view_comments:e=>n.a.actionCompleted(r.b.ACTION_DEALER_ENGAGEMENT,r.b.VIEW_DEALER_COMMENTS,i(e)),dealer_engagement_go_to_dealer_site:e=>n.a.actionCompleted(r.b.ACTION_DEALER_ENGAGEMENT,r.b.EDMUNDS_DEALER_SITE_CLICKOUT,i(e)),dealer_view_pricing_details:e=>n.a.actionCompleted(r.b.ACTION_VIEW_PRICING_DETAILS,r.b.VIEW_PRICING_DETAILS,i(e))}},"./tracking/maps/common/index.js":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("./tracking/event.js"),r=a("./tracking/constant.js"),i=a("./tracking/maps/lead-form/index.js"),o=a("./tracking/maps/common/tool.js");const l={authenticated_modal_close:s.a.actionCompleted(r.b.ACTION_RESET_NAVIGATION,r.b.NAVIGATION_CLOSE),authenticated_modal_sign_in:s.a.actionCompleted(r.b.ACTION_SIGN_IN,r.b.ACTION_SIGN_IN),authenticated_modal_sign_up:s.a.actionCompleted(r.b.ACTION_SIGN_UP,r.b.ACTION_SIGN_UP)},c=Object(n.a)({homepage_click:s.a.actionCompleted(r.b.ACTION_RESET_NAVIGATION,r.b.ACTION_RESET_NAVIGATION),nav_lease_deals_click:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.VIEW_LEASE_DEALS),nav_mmy_select_tool_select:s.a.actionCompleted(r.b.ACTION_TOOL_SELECT,r.b.ACTION_TOOL_SELECT),nav_mmy_select_new_car:s.a.actionCompleted(r.b.ACTION_MMY_SELECT,r.b.NEW_CAR_SELECT),nav_mmy_select_used_car:s.a.actionCompleted(r.b.ACTION_MMY_SELECT,r.b.USED_CAR_SELECT),nav_mmy_select_new_car_start:s.a.actionStart(r.b.ACTION_MMY_SELECT,r.b.NEW_CAR_SELECT),nav_mmy_select_used_car_start:s.a.actionStart(r.b.ACTION_MMY_SELECT,r.b.USED_CAR_SELECT),nav_mmy_select_make:s.a.actionProgress(r.b.ACTION_MMY_SELECT,r.b.MAKE_SELECT),nav_mmy_model_select:s.a.actionProgress(r.b.ACTION_MMY_SELECT,r.b.MODEL_SELECT),nav_mmy_year_select:s.a.actionEnd(r.b.ACTION_MMY_SELECT,r.b.YEAR_SELECT),nav_mmy_select_submit_make:s.a.actionCompleted(r.b.ACTION_MMY_SELECT,r.b.SUBMIT_MAKE),nav_mmy_select_car_types:s.a.actionCompleted(r.b.ACTION_MMY_SELECT,r.b.CAR_TYPES),nav_mmy_select_cars_for_sale:s.a.actionCompleted(r.b.ACTION_MMY_SELECT,r.b.CARS_FOR_SALE),nav_mmy_select_research:s.a.actionCompleted(r.b.ACTION_MMY_SELECT,r.b.RESEARCH),nav_type_select:s.a.actionCompleted(r.b.ACTION_TYPE_SELECT,r.b.ACTION_TYPE_SELECT),nav_inventory_select:s.a.actionCompleted(r.b.ACTION_INVENTORY_SELECT,r.b.ACTION_INVENTORY_SELECT),nav_inventory_select_new_used:s.a.actionCompleted(r.b.ACTION_INVENTORY_SELECT,r.b.NEW_USED_CAR_SELECT),nav_inventory_select_type:s.a.actionCompleted(r.b.ACTION_INVENTORY_SELECT,r.b.ACTION_TYPE_SELECT),nav_inventory_select_make:s.a.actionCompleted(r.b.ACTION_INVENTORY_SELECT,r.b.MAKE_SELECT),nav_access_my_account:s.a.actionCompleted(r.b.ACCESS_MY_ACCOUNT,r.b.ACCESS_MY_ACCOUNT),authenticate_social_start:s.a.actionStart(r.b.ACTION_SIGN_IN,r.b.AUTHENTICATE_SOCIAL_START),authenticate_email:s.a.actionCompleted(r.b.ACTION_SIGN_IN,r.b.AUTHENTICATE_EMAIL),success_authenticate_email:s.a.actionEnd(r.b.ACTION_SIGN_IN,r.b.SUCCESS_AUTHENTICATE_EMAIL),recover_password:s.a.actionStart(r.b.RECOVER_PASSWORD,r.b.RECOVER_PASSWORD),sign_in_password:s.a.actionProgress(r.b.ACTION_SIGN_IN,r.b.ACTION_SIGN_IN_PASSWORD),sign_in_link:s.a.actionProgress(r.b.ACTION_SIGN_IN,r.b.ACTION_SIGN_IN_LINK),submit_forgot_password:s.a.actionProgress(r.b.RECOVER_PASSWORD,r.b.SUBMIT_FORGOT_PASSWORD),provide_first_name:s.a.actionProgress(r.b.ACTION_SIGN_UP,r.b.PROVIDE_FIRST_NAME),provide_last_name:s.a.actionProgress(r.b.ACTION_SIGN_UP,r.b.PROVIDE_LAST_NAME),provide_email:s.a.actionProgress(r.b.ACTION_SIGN_UP,r.b.PROVIDE_EMAIL),provide_email_start:s.a.actionStart(r.b.ACTION_SIGN_UP,r.b.PROVIDE_EMAIL),provide_password:s.a.actionProgress(r.b.ACTION_SIGN_UP,r.b.PROVIDE_PASSWORD),begin_sign_up:s.a.actionStart(r.b.ACTION_SIGN_UP,r.b.BEGIN_SIGN_UP),submit_sign_up:s.a.actionProgress(r.b.ACTION_SIGN_UP,r.b.SUBMIT_SIGN_UP),submit_sign_up_email:s.a.actionProgress(r.b.ACTION_SIGN_UP,r.b.SUBMIT_SIGN_UP_EMAIL),success_sign_up:s.a.actionEnd(r.b.ACTION_SIGN_UP,r.b.SUCCESS_SIGN_UP),reset_password_continue:s.a.actionEnd(r.b.ACTION_UPDATE_MEMBERSHIP,r.b.RESET_PASSWORD_CONTINUE),sign_out:s.a.actionCompleted(r.b.ACTION_SIGN_OUT,r.b.SIGN_OUT),sign_in:s.a.actionStart(r.b.ACTION_SIGN_IN,r.b.ACTION_SIGN_IN),sign_up:s.a.actionStart(r.b.ACTION_SIGN_UP,r.b.ACTION_SIGN_UP),back_to_top:s.a.actionCompleted(r.b.ACTION_RESET_NAVIGATION,r.b.JUMP_TO_TOP)},l),d=Object(n.a)({global_nav_homepage_click:s.a.actionCompleted(r.b.ACTION_RESET_NAVIGATION,r.b.ACTION_RESET_NAVIGATION),global_nav_select_new_car:s.a.actionCompleted(r.b.ACTION_MMY_SELECT,r.b.NEW_CAR_SELECT),global_nav_select_used_car:s.a.actionCompleted(r.b.ACTION_MMY_SELECT,r.b.USED_CAR_SELECT),global_nav_begin_sign_up:s.a.actionStart(r.b.ACTION_SIGN_UP,r.b.BEGIN_SIGN_UP),global_nav_begin_sign_in:s.a.actionStart(r.b.ACTION_SIGN_IN,r.b.BEGIN_SIGN_IN),global_nav_sign_out:s.a.actionCompleted(r.b.ACTION_SIGN_OUT,r.b.ACTION_SIGN_OUT),global_nav_click_saved_inventory:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.SEE_ALL_SAVED),global_nav_click_saved_searches:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.SEE_ALL_SAVED),global_nav_click_trade_in_values:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.VIEW_APPRAISAL_DETAILS),global_nav_click_fav_models:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.SEE_ALL_SAVED),global_nav_click_account:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.ACCESS_MY_ACCOUNT),global_nav_click_send_feedback:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.SEND_FEEDBACK)},l);a.d(t,"a",function(){return u});const m={provide_zip_code:s.a.actionCompleted(r.b.ACTION_PROVIDE_ZIP_CODE,r.b.ACTION_PROVIDE_ZIP_CODE),view_search_result:s.a.actionCompleted(r.b.VIEW_SEARCH_RESULT,r.b.VIEW_SEARCH_RESULT),view_search_result_content:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.VIEW_SEARCH_RESULT),view_more_for_sale:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.VIEW_MORE_FOR_SALE),view_content:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.ACTION_VIEW_CONTENT),view_seo_internal_link:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.SEO_INTERNAL_LINK),view_content_search_result:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.VIEW_SEARCH_RESULT),view_content_summary:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.VIEW_SUMMARY),view_content_models:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.VIEW_MODELS),view_vehicle_ranking:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.VIEW_VEHICLE_RANKING),open_legacy_photoflipper:s.a.actionCompleted(r.b.ACTION_VIEW_PHOTO,r.b.OPEN_PHOTOFLIPPER),view_pricing_details:s.a.actionCompleted(r.b.ACTION_VIEW_PRICING_DETAILS,r.b.VIEW_PRICING_DETAILS),view_loan_details:s.a.actionCompleted(r.b.ACTION_VIEW_PRICING_DETAILS,r.b.VIEW_LOAN_DETAILS),view_lease_details:s.a.actionCompleted(r.b.ACTION_VIEW_PRICING_DETAILS,r.b.VIEW_LEASE_DETAILS),view_review:s.a.actionCompleted(r.b.ACTION_VIEW_REVIEW,r.b.ACTION_VIEW_REVIEW),view_edmunds_review:s.a.actionCompleted(r.b.ACTION_VIEW_REVIEW,r.b.VIEW_EDMUNDS_REVIEW),view_consumer_review:s.a.actionCompleted(r.b.ACTION_VIEW_REVIEW,r.b.VIEW_CONSUMER_REVIEW),mmy_select:s.a.actionCompleted(r.b.ACTION_MMY_SELECT,r.b.ACTION_MMY_SELECT),mmy_select_submit:s.a.actionCompleted(r.b.ACTION_MMY_SELECT,r.b.SUBMIT_MMY),mmy_select_submit_make:s.a.actionCompleted(r.b.ACTION_MMY_SELECT,r.b.SUBMIT_MAKE),mmy_select_submit_model:s.a.actionCompleted(r.b.ACTION_MMY_SELECT,r.b.SUBMIT_MODEL),mmy_select_submit_make_model:s.a.actionCompleted(r.b.ACTION_MMY_SELECT,r.b.SUBMIT_MAKE_MODEL),mmy_select_submit_mmyt:s.a.actionCompleted(r.b.ACTION_MMY_SELECT,r.b.SUBMIT_MMYT),mmy_select_submit_style:s.a.actionCompleted(r.b.ACTION_MMY_SELECT,r.b.SUBMIT_MMY_STYLE),seo_footer_mmy_submit_make:s.a.actionEnd(r.b.ACTION_MMY_SELECT,r.b.SUBMIT_MAKE),seo_footer_mmy_submit_model:s.a.actionEnd(r.b.ACTION_MMY_SELECT,r.b.SUBMIT_MODEL),seo_footer_mmy_submit:s.a.actionCompleted(r.b.ACTION_MMY_SELECT,r.b.SUBMIT_MMY),other_site_clickout:s.a.actionCompleted(r.b.ACTION_WEBSITE_CLICKOUT,r.b.OTHER_SITE_CLICKOUT),oem_site_clickout:s.a.actionCompleted(r.b.ACTION_WEBSITE_CLICKOUT,r.b.OEM_SITE_CLICKOUT),social_share_clickout:s.a.actionCompleted(r.b.ACTION_WEBSITE_CLICKOUT,r.b.SOCIAL_CLICKOUT),close_adhesion:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.CLOSE_AD),type_select:s.a.actionCompleted(r.b.ACTION_TYPE_SELECT,r.b.ACTION_TYPE_SELECT),extra_links_show_all:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.ACTION_VIEW_ALL),view_vehicle_details:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.VIEW_VEHICLE_DETAILS),view_price_drop_details:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.PRICE_DROP),view_viewed_vin_price_drop_details:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.VIEWED_VIN_PRICE_DROP),add_vehicle:s.a.actionCompleted(r.b.SAVE_VEHICLE,r.b.ADD_VEHICLE),website_clickout_custom:e=>s.a.actionCompleted(r.b.ACTION_WEBSITE_CLICKOUT,r.b.OEM_SITE_CLICKOUT,e),select_trim:e=>s.a.actionCompleted(r.b.ACTION_CONFIGURE_VEHICLE,r.b.SELECT_TRIM,e),link_select_tool_select:s.a.actionCompleted(r.b.ACTION_TOOL_SELECT,r.b.ACTION_TOOL_SELECT),appraisal_link_tool_select:s.a.actionCompleted(r.b.ACTION_TOOL_SELECT,r.b.ACTION_APPRAISE_VEHICLE),navigation_back:s.a.actionCompleted(r.b.ACTION_RESET_NAVIGATION,r.b.NAVIGATION_BACK),download_app_click:s.a.actionCompleted(r.b.ACTION_TOOL_SELECT,r.b.DOWNLOAD_APP),dashboard_send_feedback:s.a.actionCompleted(r.b.ACTION_WEBSITE_CLICKOUT,r.b.OTHER_SITE_CLICKOUT)},u=Object(n.a)({},o.a,c,d,i.a,m)},"./tracking/maps/common/search-by-module.js":function(e,t,a){"use strict";a.d(t,"a",function(){return i});var n=a("./tracking/event.js"),s=a("./tracking/constant.js"),r=a("./site-modules/shared/constants/search-by-module.js");const i=e=>({[e.submitByTabNameTrackingId(r.a.MAKE_MODEL_TAB)]:n.a.actionEnd(s.b.ACTION_MMZ_SELECT,s.b.SUBMIT_MMZ),[e.submitByTabNameTrackingId(r.a.TYPE_TAB)]:n.a.actionEnd(s.b.ACTION_TYPE_SELECT,s.b.SUBMIT_VEHICLE_TYPE),[e.submitByTabNameTrackingId(r.a.VEHICLE_PRICE_TAB)]:n.a.actionEnd(s.b.ACTION_PRICE_RANGE_SELECT,s.b.SUBMIT_PRICE),[e.submitByTabNameTrackingId(r.a.LOAN_PAYMENT_TAB)]:n.a.actionEnd(s.b.ACTION_LOAN_PAYMENT_SELECT,s.b.SUBMIT_LOAN_PAYMENT),[e.submitByTabNameTrackingId(r.a.LEASE_PAYMENT_TAB)]:n.a.actionEnd(s.b.ACTION_LEASE_PAYMENT_SELECT,s.b.SUBMIT_LEASE_PAYMENT),[e.zipInputTracking()["data-tracking-id"]]:n.a.actionProgress(s.b.ACTION_MMZ_SELECT,s.b.ZIP_CODE_ENTRY),[e.zipInputByTabTracking(r.a.MAKE_MODEL_TAB)["data-tracking-id"]]:n.a.actionProgress(s.b.ACTION_MMZ_SELECT,s.b.ZIP_CODE_ENTRY),[e.zipInputByTabTracking(r.a.TYPE_TAB)["data-tracking-id"]]:n.a.actionProgress(s.b.ACTION_TYPE_SELECT,s.b.ZIP_CODE_ENTRY),[e.zipInputByTabTracking(r.a.VEHICLE_PRICE_TAB)["data-tracking-id"]]:n.a.actionProgress(s.b.ACTION_PRICE_RANGE_SELECT,s.b.ZIP_CODE_ENTRY),[e.zipInputByTabTracking(r.a.LOAN_PAYMENT_TAB)["data-tracking-id"]]:n.a.actionProgress(s.b.ACTION_LOAN_PAYMENT_SELECT,s.b.ZIP_CODE_ENTRY),[e.zipInputByTabTracking(r.a.LEASE_PAYMENT_TAB)["data-tracking-id"]]:n.a.actionProgress(s.b.ACTION_LEASE_PAYMENT_SELECT,s.b.ZIP_CODE_ENTRY),[e.tabSelectTracking(r.a.MAKE_MODEL_TAB)]:n.a.actionStart(s.b.ACTION_MMZ_SELECT,s.b.MAKE_MODEL_TAB_SELECT),[e.tabSelectTracking(r.a.TYPE_TAB)]:n.a.actionStart(s.b.ACTION_TYPE_SELECT,s.b.VEHICLE_TYPE_TAB_SELECT),[e.tabSelectTracking(r.a.PRICE_TAB)]:n.a.actionStart(s.b.ACTION_PRICE_RANGE_SELECT,s.b.PRICE_TAB_SELECT),[e.tabSelectTracking(r.a.VEHICLE_PRICE_TAB)]:n.a.actionStart(s.b.ACTION_PRICE_RANGE_SELECT,s.b.PRICE_RADIO_SELECT),[e.tabSelectTracking(r.a.LOAN_PAYMENT_TAB)]:n.a.actionStart(s.b.ACTION_LOAN_PAYMENT_SELECT,s.b.LOAN_PAYMENT_RADIO_SELECT),[e.tabSelectTracking(r.a.LEASE_PAYMENT_TAB)]:n.a.actionStart(s.b.ACTION_LEASE_PAYMENT_SELECT,s.b.LEASE_PAYMENT_RADIO_SELECT),[e.typeSelectTrackingId]:n.a.actionProgress(s.b.ACTION_TYPE_SELECT,s.b.VEHICLE_TYPE_SELECT),[e.minPriceSelectTracking(r.a.TYPE_TAB)]:n.a.actionProgress(s.b.ACTION_TYPE_SELECT,s.b.MIN_PRICE_SELECT),[e.maxPriceSelectTracking(r.a.TYPE_TAB)]:n.a.actionProgress(s.b.ACTION_TYPE_SELECT,s.b.MAX_PRICE_SELECT),[e.minPriceSelectTracking(r.a.VEHICLE_PRICE_TAB)]:n.a.actionProgress(s.b.ACTION_PRICE_RANGE_SELECT,s.b.MIN_PRICE_SELECT),[e.maxPriceSelectTracking(r.a.VEHICLE_PRICE_TAB)]:n.a.actionProgress(s.b.ACTION_PRICE_RANGE_SELECT,s.b.MAX_PRICE_SELECT),[e.maxPriceSelectTracking(r.a.LOAN_PAYMENT_TAB)]:n.a.actionProgress(s.b.ACTION_LOAN_PAYMENT_SELECT,s.b.MAX_PRICE_SELECT),[e.maxPriceSelectTracking(r.a.LEASE_PAYMENT_TAB)]:n.a.actionProgress(s.b.ACTION_LEASE_PAYMENT_SELECT,s.b.MAX_PRICE_SELECT)})},"./tracking/maps/common/tool.js":function(e,t,a){"use strict";a.d(t,"a",function(){return r});var n=a("./tracking/event.js"),s=a("./tracking/constant.js");const r={tool_select_car_reviews_and_road_tests:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"car_reviews_and_road_tests"),tool_select_monthly_payment_calculator:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"monthly_payment_calculator"),tool_select_car_reviews:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"car_reviews"),tool_select_tips_advice:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"tips_advice"),tool_select_long_term_road_tests:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"long-term_road_tests"),tool_select_car_videos:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"car_videos"),tool_select_dealer_ratings_and_reviews:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"dealer_ratings_and_reviews"),tool_select_maintenance:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"maintenance"),tool_select_new_cars:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"new_cars"),tool_select_first_impressions:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"first_impressions"),tool_select_calculators:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"calculators"),tool_select_car_loan_calculators:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"car_loan_calculators"),tool_select_car_finder:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"car_finder"),tool_select_compare_cars:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"compare_cars"),tool_select_find_a_dealer:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"find_a_dealer"),tool_select_get_monthly_payment:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"get_monthly_payment"),tool_select_incentives_rebates:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"incentives_rebates"),tool_select_true_cost_to_own:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"true_cost_to_own"),tool_select_used_cars:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"used_cars"),tool_select_appraise_your_car:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,s.b.APPRAISE_YOUR_CAR),tool_select_certified_cars:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"certified_cars"),tool_select_selling_tips:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"selling_tips"),tool_select_configure_vehicle:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"configure_vehicle"),tool_select_car_news:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"car_news"),tool_select_automobile_forums:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"automobile_forums"),tool_select_car_dealerships:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"car_dealerships"),tool_select_car_financing:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"car_financing"),tool_select_car_leasing:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"car_leasing"),tool_select_buy_a_car:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"buy_a_car"),tool_select_sell_my_car:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"sell_my_car"),tool_select_car_valuation:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"car_valuation"),tool_select_research:n.a.actionCompleted(s.b.ACTION_TOOL_SELECT,"research"),tool_provide_user_feedback:n.a.actionCompleted(s.b.ACTION_ENGAGE_SURVEY,s.b.COMPLETE_DELIGHTED_SURVEY)}},"./tracking/maps/core-page/index.js":function(e,t,a){"use strict";a.d(t,"a",function(){return c});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("./tracking/event.js"),r=a("./tracking/maps/common/index.js"),i=a("./tracking/constant.js"),o=a("./tracking/maps/common/dealer.js");const l={core_page_website_clickout:s.a.actionCompleted(i.b.ACTION_WEBSITE_CLICKOUT,"oem_site_clickout"),filter_consumer_review_aspect:s.a.actionCompleted(i.b.ACTION_VIEW_REVIEW,i.b.SEARCH_REVIEW_TOPIC,{action_cause:"image_click",value:"view_subcategory_info"}),consumer_review_aspect_expand:s.a.actionCompleted(i.b.ACTION_RESET_NAVIGATION,i.b.VIEW_MORE),consumer_review_aspect_collapse:s.a.actionCompleted(i.b.ACTION_RESET_NAVIGATION,i.b.VIEW_LESS),core_page_go_to_review_form:s.a.actionCompleted(i.b.ACTION_WRITE_REVIEW,"go_to_review_form"),core_page_view_content_pricing_details:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,i.b.VIEW_PRICING_DETAILS),core_page_view_edmunds_review:s.a.actionCompleted(i.b.ACTION_VIEW_REVIEW,i.b.VIEW_EDMUNDS_REVIEW,{creative_id:"edmunds-rating-anchor"}),core_page_view_consumer_review:s.a.actionCompleted(i.b.ACTION_VIEW_REVIEW,i.b.VIEW_CONSUMER_REVIEW,{creative_id:"consumer-rating-anchor"}),core_page_view_content_specs:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,"view_specs"),core_page_view_content_features:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,i.b.VIEW_FEATURES),core_page_view_content_safety_features:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,"view_safety_features"),core_page_view_content_safety_ratings:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,i.b.VIEW_SAFETY_RATINGS),core_page_change_model_dropdown:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,i.b.CHANGE_MODEL_DROPDOWN),core_page_cbp_promotion_click:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,"view_cbp_srp"),core_page_open_photoflipper:s.a.actionCompleted(i.b.ACTION_VIEW_PHOTO,i.b.OPEN_PHOTOFLIPPER,{creative_id:"photoflipper"}),sign_in:s.a.actionCompleted("sign_in",i.b.VIEW_PRICING_DETAILS),view_submodel_info:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,"view_submodel_info"),view_features_specs:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,"view_features_specs"),compare_cars:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,"compare_cars"),view_consumer_review:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,"view_consumer_review"),read_all_reviews:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,"read_all_reviews"),write_review:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,"write_review"),see_other_years:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,"see_other_years"),configure_vehicle:s.a.actionCompleted("configure_vehicle","configure_vehicle"),view_lease_pricing:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,"view_lease_pricing"),view_incentives_deals:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,"view_incentives_deals"),view_tco:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,"view_tco"),view_article:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,"view_article"),view_editors_choice:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,"view_editors_choice"),view_more_info:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,i.b.VIEW_MORE_INFO),accept_push_notification_request:s.a.actionProgress(i.b.ACTION_SIGN_UP,"accept_push_notification_request"),decline_push_notification_request:s.a.actionEnd(i.b.ACTION_SIGN_UP,"decline_push_notification_request"),push_notification_navigate_close:s.a.actionCompleted(i.b.ACTION_RESET_NAVIGATION,"navigation_close"),inventory_model_select:s.a.actionCompleted(i.b.ACTION_INVENTORY_SELECT,i.b.MODEL_SELECT),view_vehicle_card:s.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,i.b.VIEW_VEHICLE_CARD)},c=Object(n.a)({},r.a,o.a,l)},"./tracking/maps/editorial/index.js":function(e,t,a){"use strict";a.d(t,"a",function(){return d});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("./tracking/event.js"),r=a("./tracking/constant.js"),i=a("./tracking/maps/common/index.js"),o=a("./tracking/maps/car-buying/search-by-payment-type/index.js"),l=a("./site-modules/shared/components/suggested-vehicle-pricing-carousel/tracking.js");const c={inline_article_view_content:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.VIEW_ARTICLE),tool_select_view:s.a.actionCompleted(r.b.ACTION_TOOL_SELECT,r.b.SHOW_CALCULATORS),tool_select_select:s.a.actionCompleted(r.b.ACTION_TOOL_SELECT,r.b.SELECT_A_VEHICLE),tool_select_input_monthly:s.a.actionCompleted(r.b.ACTION_TOOL_SELECT,r.b.INPUT_MONTHLY_PAYMENT),tool_select_input_vehicle:s.a.actionCompleted(r.b.ACTION_TOOL_SELECT,r.b.INPUT_VEHICLE_PRICE),tool_select_show_loan:s.a.actionCompleted(r.b.ACTION_TOOL_SELECT,r.b.CAR_LOAN_CALCULATOR),tool_select_show_lease:s.a.actionCompleted(r.b.ACTION_TOOL_SELECT,r.b.CAR_LEASE_CALCULATOR),tool_select_show_affordability:s.a.actionCompleted(r.b.ACTION_TOOL_SELECT,r.b.AFFORDABILITY_CALCULATOR)},d=Object(n.a)({},i.a,o.a,c,l.a)},"./tracking/maps/helper.js":function(e,t,a){"use strict";a.d(t,"a",function(){return r});var n=a("../node_modules/lodash/get.js"),s=a.n(n);const r={getBasicDealerOptions(e,t){let a,n,r;e&&e.currentEl&&(a=e.currentEl.getAttribute("data-dealer-franchise-id"),n=e.currentEl.getAttribute("data-dealer-rooftop-id")),a||(a=s()(e,"state.inventory.dealer.franchiseId")),n||(n=s()(e,"state.inventory.dealer.rooftopId"));const i={loc_id:n,f_id:a};return t&&(r=e.currentEl.getAttribute("data-inventory-id"),i.inv_id=r),a&&e.setPartnerId&&(i.partner_id=a),i},getSubactionName:e=>e&&e.currentEl&&e.currentEl.getAttribute("data-subaction-name")||""}},"./tracking/maps/insider/save-model/index.js":function(e,t,a){"use strict";a.d(t,"a",function(){return l});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("./tracking/maps/common/index.js"),r=a("./tracking/event.js"),i=a("./tracking/constant.js");const o={close_checkmark_x:r.a.actionCompleted(i.b.SAVE_VEHICLE,i.b.CLOSE_CHECKMARK_X),close_checkmark:r.a.actionCompleted(i.b.SAVE_VEHICLE,i.b.CLOSE_CHECKMARK),save_model:r.a.actionCompleted(i.b.SAVE_VEHICLE,i.b.SAVE_MODEL),unsave_model:r.a.actionCompleted(i.b.SAVE_VEHICLE,i.b.UNSAVE_MODEL),close_confirmation_x:r.a.actionCompleted(i.b.SAVE_VEHICLE,i.b.CLOSE_CONFIRMATION_X),close_confirmation:r.a.actionCompleted(i.b.SAVE_VEHICLE,i.b.CLOSE_CONFIRMATION),view_saved_models:r.a.actionCompleted(i.b.ACTION_VIEW_CONTENT,i.b.VIEW_SAVED_MODELS)},l=Object(n.a)({},s.a,o)},"./tracking/maps/inventory/common/index.js":function(e,t,a){"use strict";a.d(t,"a",function(){return l});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("./tracking/event.js"),r=a("./tracking/constant.js"),i=a("./tracking/maps/helper.js");const o={vin_call_dealer:e=>s.a.actionCompleted(r.b.ACTION_DEALER_ENGAGEMENT,r.b.CALL_DEALER,i.a.getBasicDealerOptions(e)),vin_show_content:s.a.actionCompleted(r.b.ACTION_SHOW_CONTENT,r.b.FIND_OUT_WHY),vin_view_reviews:e=>s.a.actionCompleted(r.b.ACTION_DEALER_ENGAGEMENT,r.b.VIEW_DEALER_REVIEWS,i.a.getBasicDealerOptions(e)),vin_view_dealer_details:e=>s.a.actionCompleted(r.b.ACTION_DEALER_ENGAGEMENT,r.b.VIEW_DEALER_DETAILS,i.a.getBasicDealerOptions(e)),vin_view_directions:s.a.actionCompleted(r.b.ACTION_TOOL_SELECT,r.b.GET_DIRECTIONS_TO_DEALER)},l=Object(n.a)({},o)},"./tracking/maps/inventory/common/vin-heart.js":function(e,t,a){"use strict";a.d(t,"a",function(){return r});var n=a("./tracking/event.js"),s=a("./tracking/constant.js");const r={vin_sign_up_progress:n.a.actionStart(s.b.ACTION_SIGN_UP,s.b.BEGIN_SIGN_UP),vin_save_vehicle:n.a.actionCompleted(s.b.SAVE_VEHICLE,s.b.SAVE_VIN),vin_unsave_vehicle:n.a.actionCompleted(s.b.SAVE_VEHICLE,s.b.UNSAVE_VIN),inventory_heart_tooltip_link:n.a.actionCompleted(s.b.ACCESS_MY_ACCOUNT,s.b.ACCESS_MY_ACCOUNT)}},"./tracking/maps/inventory/vdp/index.js":function(e,t,a){"use strict";var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("./tracking/event.js"),r=a("./tracking/maps/helper.js"),i=a("./tracking/maps/common/index.js"),o=a("./tracking/maps/common/dealer.js"),l=a("./tracking/constant.js");const c={load_loan_calculator:s.a.actionCompleted(l.b.ACTION_SHOW_CONTENT,l.b.SHOW_LOAN_PAYMENTS,{action_category:l.b.SYSTEM_ACTION_CATEGORY}),load_lease_calculator:s.a.actionCompleted(l.b.ACTION_SHOW_CONTENT,l.b.SHOW_LEASE_PAYMENTS,{action_category:l.b.SYSTEM_ACTION_CATEGORY}),click_edit_loan_payment:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.EDIT_LOAN_PAYMENT),click_edit_lease_payment:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.EDIT_LEASE_PAYMENT),click_close_loan_calculator:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.CLOSE_LOAN_CALCULATOR),click_close_lease_calculator:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.CLOSE_LEASE_CALCULATOR),select_loan_payment_term:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.SELECT_LOAN_PAYMENT_TERM),select_lease_payment_term:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.SELECT_LEASE_PAYMENT_TERM),click_vehicle_price:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.EDIT_VEHICLE_PRICE),select_mileage:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.SELECT_ANNUAL_MILES),select_loan_down_payment:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.INPUT_LOAN_DOWN_PAYMENT),select_lease_down_payment:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.INPUT_LEASE_DOWN_PAYMENT),select_trade_in_value:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.INPUT_TRADE_IN_VALUE),select_apr:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.INPUT_ANNUAL_PERCENTAGE_RATE),select_appraise:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.APPRAISE_MY_CAR),input_credit_score:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.INPUT_CREDIT_SCORE),taxes_and_fees_zip_input:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.INPUT_ZIP_CODE),prepopulate_trade_in_value:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.PREPOPULATE_TRADE_IN)},d=Object(n.a)({},i.a,c);var m=a("./tracking/maps/appraisal/index.js"),u=a("./tracking/maps/lead-form/index.js"),p=a("./tracking/maps/inventory/common/index.js"),h=a("./tracking/maps/inventory/common/vin-heart.js"),g=a("./tracking/maps/car-buying/dr-landing/index.js");a.d(t,"a",function(){return v});const b={vdp_view_vin_highlights:()=>s.a.actionCompleted(l.b.ACTION_VIEW_VIN_DETAILS,l.b.VIEW_VIN_HIGHLIGHTS,r.a.getBasicDealerOptions()),vdp_view_dealer_details:e=>s.a.actionCompleted(l.b.ACTION_DEALER_ENGAGEMENT,l.b.VIEW_DEALER_DETAILS,r.a.getBasicDealerOptions(e)),vdp_view_content:e=>s.a.actionCompleted(l.b.ACTION_VIEW_CONTENT,r.a.getSubactionName(e)),vdp_view_content_collapse:s.a.actionCompleted(l.b.ACTION_VIEW_CONTENT,l.b.VIEW_DEALER_COMMENTS),vdp_view_content_expand:s.a.actionCompleted(l.b.ACTION_VIEW_CONTENT,l.b.VIEW_DEALER_COMMENTS),vdp_call_dealer:e=>s.a.actionCompleted(l.b.ACTION_DEALER_ENGAGEMENT,l.b.CALL_DEALER,r.a.getBasicDealerOptions(e)),free_experian:()=>s.a.actionCompleted(l.b.ACTION_WEBSITE_CLICKOUT,l.b.EXPERIAN_FREE_VHR),paid_experian:()=>s.a.actionCompleted(l.b.ACTION_WEBSITE_CLICKOUT,l.b.EXPERIAN_PAID_VHR),free_carfax:()=>s.a.actionCompleted(l.b.ACTION_WEBSITE_CLICKOUT,l.b.CARFAX_FREE_VHR),paid_carfax:()=>s.a.actionCompleted(l.b.ACTION_WEBSITE_CLICKOUT,l.b.CARFAX_PAID_VHR),view_vehicle:e=>s.a.actionCompleted(l.b.ACTION_VIEW_VIN_DETAILS,l.b.ACTION_VIEW_VIN_DETAILS,r.a.getBasicDealerOptions(Object(n.a)({},e,{setPartnerId:!0}))),dealer_site_clickout:e=>s.a.actionCompleted(l.b.ACTION_WEBSITE_CLICKOUT,l.b.DEALER_SITE_CLICKOUT,r.a.getBasicDealerOptions(Object(n.a)({},e,{setPartnerId:!0}))),appraisal_retrieval:e=>s.a.actionCompleted(l.b.ACTION_APPRAISAL_RETRIEVAL,l.b.ACTION_APPRAISAL_RETRIEVAL,e),open_carcode_sms:e=>s.a.actionStart(l.b.ACTION_LEAD_SUBMISSION,l.b.DISPLAY_SALES_LEAD_FORM,r.a.getBasicDealerOptions(Object(n.a)({},e,{setPartnerId:!0}))),ddp_go_to_review_form:s.a.actionCompleted(l.b.ACTION_WRITE_REVIEW,l.b.GO_TO_REVIEW_FORM),vdp_view_inventory:s.a.actionCompleted(l.b.ACTION_DEALER_ENGAGEMENT,l.b.VIEW_DEALER_INVENTORY),vdp_preapproved_loan:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.GET_PREAPPROVED_LOAN),vdp_view_dealer_reviews:s.a.actionCompleted(l.b.ACTION_DEALER_ENGAGEMENT,l.b.VIEW_DEALER_REVIEWS),vdp_view_vin_details:s.a.actionCompleted(l.b.ACTION_VIEW_VIN_DETAILS,l.b.ACTION_VIEW_VIN_DETAILS),vdp_tool_select:s.a.actionCompleted(l.b.ACTION_TOOL_SELECT,l.b.ACTION_TOOL_SELECT),vdp_view_search_result:s.a.actionCompleted(l.b.VIEW_SEARCH_RESULT,l.b.VIEW_SEARCH_RESULT),open_buyback_protection_website:s.a.actionCompleted(l.b.ACTION_WEBSITE_CLICKOUT,l.b.BUYBACK_PROTECTION),open_texas_dmv_contact_website:s.a.actionCompleted(l.b.ACTION_WEBSITE_CLICKOUT,l.b.TEXAS_DMV_CONTACT),sell_your_car_clickout:s.a.actionCompleted(l.b.ACTION_WEBSITE_CLICKOUT,l.b.SELL_YOUR_CAR),view_content_esp:s.a.actionCompleted(l.b.ACTION_VIEW_CONTENT,l.b.VIEW_ESP),view_content_estimate:s.a.actionCompleted(l.b.ACTION_VIEW_CONTENT,l.b.VIEW_ESTIMATE),read_all_reviews:s.a.actionCompleted(l.b.ACTION_VIEW_CONTENT,l.b.READ_ALL_REVIEWS),reviews_specs:s.a.actionCompleted(l.b.ACTION_VIEW_CONTENT,l.b.REVIEW_SPECS),filter_consumer_review_aspect:s.a.actionCompleted(l.b.ACTION_VIEW_REVIEW,l.b.SEARCH_REVIEW_TOPIC,{action_cause:"image_click",value:"view_subcategory_info"}),see_something_wrong:s.a.actionCompleted(l.b.ACTION_WEBSITE_CLICKOUT,l.b.SEE_SOMETHING_WRONG),payment_feedback:s.a.actionCompleted(l.b.ACTION_WEBSITE_CLICKOUT,l.b.PAYMENT_FEEDBACK),consumer_review_aspect_expand:s.a.actionCompleted(l.b.ACTION_RESET_NAVIGATION,l.b.VIEW_MORE),consumer_review_aspect_collapse:s.a.actionCompleted(l.b.ACTION_RESET_NAVIGATION,l.b.VIEW_LESS),tmv_esp_mismatch_payment_show:s.a.actionCompleted(l.b.ACTION_SHOW_CONTENT,l.b.SHOW_TMV_ESP_MISMATCH_PAYMENT,{action_category:l.b.SYSTEM_ACTION_CATEGORY}),view_cpo_section:s.a.actionCompleted(l.b.ACTION_VIEW_CONTENT,l.b.VIEW_CPO_SECTION)},v=Object(n.a)({},i.a,o.a,d,p.a,h.a,m.a,u.a,g.a,b)},"./tracking/maps/lead-form/index.js":function(e,t,a){"use strict";a.d(t,"a",function(){return l}),a.d(t,"b",function(){return c});var n=a("../node_modules/@babel/runtime/helpers/esm/objectSpread.js"),s=a("./tracking/event.js"),r=a("./tracking/constant.js"),i=a("./tracking/maps/helper.js");const o={select_dealer:s.a.actionProgress(r.b.ACTION_LEAD_SUBMISSION,r.b.ACTION_SELECT_DEALERSHIP),unselect_dealer:s.a.actionProgress(r.b.ACTION_LEAD_SUBMISSION,r.b.ACTION_UNSELECT_DEALERSHIP),ulf_call_dealer:e=>s.a.actionCompleted(r.b.ACTION_DEALER_ENGAGEMENT,r.b.CALL_DEALER,i.a.getBasicDealerOptions(e)),expand_lead_form:s.a.actionProgress(r.b.ACTION_LEAD_SUBMISSION,r.b.EXPAND_LEAD_FORM),reviews_specs:s.a.actionCompleted(r.b.ACTION_VIEW_CONTENT,r.b.REVIEW_SPECS),lead_form_view_vin_details:e=>s.a.actionCompleted(r.b.ACTION_VIEW_VIN_DETAILS,r.b.ACTION_VIEW_VIN_DETAILS,i.a.getBasicDealerOptions(e)),lead_form_color_view_search_result:s.a.actionCompleted(r.b.VIEW_SEARCH_RESULT,r.b.FILTER_SEARCH_RESULT)},l=Object(n.a)({},o),c={leadForm:"_lead_form",thankYou:"_thank_you",thankYouLeadForm:"_thank_you_lead_form"}},"./utils/bootstrap.js":function(e,t,a){"use strict";a.d(t,"a",function(){return n});const n={xs:0,sm:576,md:768,lg:1024,xl:1200,max:1e5}},"./utils/image-service.js":function(e,t,a){"use strict";a.d(t,"b",function(){return r}),a.d(t,"a",function(){return i});a("../node_modules/core-js/modules/es6.regexp.replace.js"),a("../node_modules/core-js/modules/es6.regexp.match.js");var n=a("./configuration.js");n.a.get("imageServiceUrl");const s=1600;function r(e){return`${n.a.get("mediaCdnUrl","")}${e}`}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return`https:${n.a.get("mediaCdnUrl")}`+(/_([\d]+).(jpg)$/.test(e)?e:`${e}_${t.size||s}.jpg`).replace("dam:///photo","").replace(/^(\/)*/,"/")}},"./utils/parse-vehicle-for-action.js":function(e,t,a){"use strict";a.d(t,"b",function(){return i}),a.d(t,"c",function(){return o}),a.d(t,"a",function(){return l});var n=a("../node_modules/lodash/get.js"),s=a.n(n),r=a("./site-modules/shared/utils/publication-states.js");const i=e=>{const t=Object(r.c)(e.publicationState),a=s()(e,"submodels.name",""),n=s()(e,"submodels.slug","");return{make:{name:e.makeName,niceName:e.makeSlug},model:{name:e.modelName,niceName:e.modelSlug},modelYear:{year:e.year},subModel:{name:a,niceName:n},publicationState:t?t.toLowerCase():"new",style:{id:e.id}}},o=e=>{const t=Object(r.c)(e.publicationState),a=s()(e,"submodels.name","");return{make:{id:s()(e,"make.id"),name:e.makeName,niceName:e.makeSlug},model:{modelLinkCode:s()(e,"model.modelLinkCode"),name:e.modelName,niceName:e.modelSlug},modelYear:{id:s()(e,"modelYearId"),year:e.year},subModel:{name:a},publicationState:t?t.toLowerCase():"new",style:{id:e.id}}},l=e=>{const t=s()(e,"trim.trimSlug");return{make:{niceName:e.make.slug},model:{niceName:e.model.slug},modelYear:{year:e.year},publicationState:Object(r.c)(e.publicationState),trim:{niceName:t}}}}}]);
  //# sourceMappingURL=new_model_core.chunk.235d733331c2f73602a4.js.map