(self.webpackChunkdrivetime_mobile=self.webpackChunkdrivetime_mobile||[]).push([[179],{98255:function(e){function t(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}t.keys=function(){return[]},t.resolve=t,t.id=98255,e.exports=t},53629:function(e,t,n){"use strict";n.d(t,{N:function(){return i}});const i={production:!0,configuration:{oetPhoneNumber:"888-418-1212",azureSearchApi:{url:"https://online-search.drivetime.com/search",vehicleUrl:"/indexes/vehiclesindex/docs/",dealershipUrl:"/indexes/dealershipsindex/docs/",zipcodesUrl:"/indexes/zipcodesindex/docs/"},analytics:{gtm:"GTM-K8LTD5",google:"UA-2499055-9",azure:"b8cd2fd7-6371-4ae7-81a3-0afb7ed13f08",sessionIdCookieName:"dtmAnalyticsSessionId",userIdCookieName:"dtmAnalyticsUserId",optimizelyFullStack:"NpgckzC9EnnLagkvJJuFHj",loadOptimizely:!0,deviceOrientationThrottleDelay:2e3,enableClientDmp:!0,trackImageFailureAsCustomEvent:!0},genesys:{jsUrl:"https://apps.usw2.pure.cloud/genesys-bootstrap/genesys.min.js",environment:"prod-usw2",messaging:{deploymentId:"ad70a232-8891-4672-b011-f183e54d80d1"}},onlineFunctionsApi:{endpoint:"https://dt-mobile.azurewebsites.net/api",incrementVehiclePageViewsAuthToken:"GL8VKhldlQVY67aw3lZ/v1T2/BB5ArU/uN1Lp9oHab7F8eEJsSm5eA==",incrementVehiclePageViewsUrl:"/incrementvehiclepageviews"},photos:{cdnLocation:"https://dtstockphotos.azureedge.net",imgDir:"stockitems",imgExtension:"jpg",noImageUrl:"../../assets/img/no-image.jpg"},plaid:{retailEndPoint:"https://dt-crm-plaidmanager-api.ext.drivetime.cloud/plaid-integration",publicKey:"f70d745bae070ac7d054e89b297cca",env:"production"},survey:{id:"3f0b1f2c7b9b",enabled:!0},salesPriceAdjuster:{upgrade:{discount:500,credit:1500}},accutrade:{url:"https://cashoffer.accu-trade.com",dlr:"08f08862a78d3f5784f46fb94e71e5ee39f48f0a"},segmentWriteKey:"CBDH1ejAUct2n79uUQcY2pfhvG9tAOoU"}}},93165:function(e,t,n){"use strict";n.d(t,{Mc:function(){return a},k5:function(){return o},kF:function(){return r},dG:function(){return s}});var i=n(37716);const a={PPC_SOURCE_CATEGORY:"source",PPC_REGION_NAME:"reg",PPC_CAMPAIGN_NAME:"camn",PPC_CAMPAIGN_TYPE:"camt",PPC_AD_VERSION:"adv",PPC_AD_GROUP:"adg",PPC_AD_POSITION:"adp",PPC_KEY_WORD:"kw",PPC_VENDOR_NAME:"vend",PPC_TRANSACTION_ID:"transid",PPC_EMAIL_NAME:"email",PPC_CTA_ID:"ctaid",GOOGLE_CLICK_ID:"gclid"},o="no-series",r="map-link-selector",s={"buy-here-pay-here":"Buy Here Pay Here","bad-credit-auto-loans":"Bad Credit Auto Loans","bad-credit-car-dealer":"Bad Credit Car Dealer","in-house-financing":"In-House Financing","no-credit":"No Credit","tote-the-note":"Tote the Note"};new i.OlP("MOBILE_IONIC_CONTACTS"),new i.OlP("MOBILE_IONIC_INAPPBROWSER"),new i.OlP("MOBILE_IONIC_APPVERSION"),new i.OlP("MOBILE_IONIC_CALENDAR")},71453:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});const i={year:{max:(new Date).getFullYear()+1,min:2006},price:{max:35e3,min:7e3,minMax:15e3},payments:{max:5e4,min:5e3},mpg:{max:45,min:15},mileage:{max:15e4,min:25e3}}},39654:function(e,t,n){"use strict";n.d(t,{x:function(){return s},y:function(){return l}});var i=n(20483),a=n(46664),o=n(45829),r=n(87500);function s(e){let t=l(e);return i.cmp.isNotEmpty(e.experimentVehicleFilter)&&-1===t.filter.indexOf("StockNumber eq")&&(t.filter+=`and(${e.experimentVehicleFilter})`),t}function l(e){let t=i.ObjectUtils.deepObjectClone(e),n={};return i.cmp.isUndefinedOrNull(t)||(n.search=i.cmp.isDefinedAndNotNull(t.search)?t.search:"*",n.select=i.cmp.isDefinedAndNotNull(t.select)?t.select.join(","):"*",i.cmp.isDefinedAndNotNull(t.orderBy)&&(n.orderby=function(e){switch(e.queryType){case o.xL.vehicle:return function(e,t,n,a){let r="";switch(a&&i.cmp.isDefinedAndNotNull(t)&&i.cmp.isDefinedAndNotNull(n)&&(r=p("GeoPoint",t,n)+", "),e.columnName){case"ReducedPrice":return r=`IsPriceDropWebsiteEligible desc, ReducedPriceForSort ${e.direction}, `,i.cmp.isDefinedAndNotNull(t)&&i.cmp.isDefinedAndNotNull(n)&&(r+=p("GeoPoint",t,n)+", "),r+="StickerPrice asc, StockNumber asc",r;case"VSRBestMatchPrice":return i.cmp.isDefinedAndNotNull(t)&&i.cmp.isDefinedAndNotNull(n)&&(r=p("GeoPoint",t,n)+", "),r+`StickerPrice ${e.direction}, StockNumber asc`;case"StickerPrice":return r+`StickerPrice ${e.direction}, StockNumber asc`;case"OdometerValue":return r+`OdometerValue ${e.direction}, StockNumber asc`;case"Year":return r+`Year ${e.direction}, StockNumber asc`;case"LotAge":return r+`LotAge ${e.direction}, StockNumber asc`;case"MakeDisplayName":return r+`MakeDisplayName ${e.direction}, StockNumber asc`;case o.rw[o.rw.distance]:return i.cmp.isDefinedAndNotNull(t)&&i.cmp.isDefinedAndNotNull(n)&&(r=p("GeoPoint",t,n)+", "),r+="MakeDisplayName asc, StockNumber asc",r;case o.rw[o.rw.distanceDtSelect]:return i.cmp.isDefinedAndNotNull(t)&&i.cmp.isDefinedAndNotNull(n)&&(r=p("GeoPoint",t,n)+", "),r+="IsDTSelect desc, StickerPrice desc, StockNumber asc",r;case"JustAdded":return r+`LotAge ${e.direction}, IsDTSelect desc, StickerPrice desc, StockNumber asc`;default:return r="IsDTSelect desc, ",i.cmp.isDefinedAndNotNull(t)&&i.cmp.isDefinedAndNotNull(n)&&(r+=p("GeoPoint",t,n)+", "),r+="StickerPrice desc, StockNumber asc",r}}(e.orderBy,e.lat,e.lng,e.orderByNoResults);case o.xL.dealership:case o.xL.zipCode:return function(e,t,n){return e.columnName===o.rw[o.rw.distance]?p("GeoPoint",t,n):e.columnName+" "+e.direction}(e.orderBy,e.lat,e.lng)}}(t)),i.cmp.isDefinedAndNotNull(t.lat)&&i.cmp.isDefinedAndNotNull(t.lng)&&i.cmp.isDefinedAndNotNull(t.mileRadius)&&(t=function(e){let t=i.NumberUtils.milesToKilometers(e.mileRadius),n=new a.Xo(p("GeoPoint",e.lat,e.lng),o.d.le,o.Ge.num,null,[t]);return i.cmp.isUndefinedOrNull(e.filters)&&(e.filters=[]),e.filters.push(n),e}(t)),t.queryType===o.xL.vehicle&&(t=function(e){let t=new a.Xo("StatusKey",o.d.eq,o.Ge.str,o.zX.or,[r.zB.Layaway,r.zB.Available,r.zB.Sold]);return i.cmp.isUndefinedOrNull(e.filters)&&(e.filters=[]),e.filters.push(t),e}(t)),Array.isArray(t.facets)&&t.facets.length>0&&(n.facets=function(e){let t=[];return e.forEach(e=>{t.push(`${e.value},count:${e.count||a.oK}`)}),t}(t.facets)),Array.isArray(t.filters)&&t.filters.length>0&&(n.filter=function(e,t){let n="";return e.forEach((i,a)=>{if(i.type!==o.Ge.subQuery)n+=u(i);else{n+="(";let e=i.items;e.forEach((t,i)=>{n+=c(t),i<e.length-1&&(n+=o.zX[o.zX.or])}),n+=")"}a<e.length-1&&(n+=o.zX[t])}),n}(t.filters,t.filterConjunction)),i.cmp.isDefinedAndNotNull(t.pageSize)&&(n.top=t.pageSize,n.skip=t.pageNumber>0?(t.pageNumber-1)*t.pageSize:0),t.returnCount&&(n.count="true")),n}function c(e){let t="";if(e.valueType!==o.Ge.subQuery)t+=u(d(e));else{let n=e.items;n.forEach((e,i)=>{if(e.valueType!==o.Ge.subQuery){let n=d(e);n.operator=o.d.eq,t+=u(n)}else t+=`(${c(e)})`;i!==n.length-1&&(t+=o.zX[e.conjunction])})}return t}function d(e){return{name:e.name,items:e.items,conjunction:e.conjunction,operator:e.operator,type:e.valueType}}function u(e){let t="(";return e.operator===o.d.bt?t+=`(${e.name} gt ${+e.items[0]-1}) and (${e.name} lt ${+e.items[1]+1})`:e.items.forEach((n,i)=>{t+=`${e.name} ${o.d[e.operator]}`,t+=e.type===o.Ge.num?` ${n}`:` '${n}'`,i<e.items.length-1&&(t+=` ${o.zX[e.conjunction]} `)}),t+=")",t}function p(e,t,n){return`geo.distance(${e}, geography'POINT(${n} ${t})')`}},42467:function(e,t,n){"use strict";n.d(t,{kg:function(){return s},ek:function(){return g},fb:function(){return f},ot:function(){return y},OV:function(){return _},ao:function(){return A},Ec:function(){return v},PL:function(){return b},lm:function(){return C},Et:function(){return w},cD:function(){return S},Jr:function(){return k}});var i=n(87500),a=n(20483),o=n(13706),r=n(32423);function s(e){return{highlighted:h(e),comprehensive:m(e)}}const l={addWarranty:(e,t)=>{const n=o(o().utc().year()).diff(o([t.Year]),"months");(0===t.ManufacturerBasicWarrantyMiles&&0===t.ManufacturerBasicWarrantyMonths&&t.ManufacturerBasicWarrantyMiles>t.OdometerValue&&t.ManufacturerBasicWarrantyMonths>n||0===t.ManufacturerDriveTrainWarrantyMiles&&0===t.ManufacturerDriveTrainWarrantyMonths&&t.ManufacturerDriveTrainWarrantyMiles>t.OdometerValue&&t.ManufacturerDriveTrainWarrantyMonths>n)&&e.push({type:i.fJ.Warranty,description:"Factory Warranty"})},addDVDPlayer:(e,t)=>{t.HasDVD&&e.push({type:i.fJ.Entertainment,description:"DVD Player"})},addMP3Connection:(e,t)=>{t.HasMP3Connection&&e.push({type:i.fJ.Entertainment,description:"MP3 Connection"})},addAuxInput:(e,t)=>{t.Aux&&e.push({type:i.fJ.Entertainment,description:"Aux Input"})},addUSBInput:(e,t)=>{t.Usb&&e.push({type:i.fJ.Entertainment,description:"USB Input"})},addInputHighlight:(e,t)=>{t.Usb?e.push({type:i.fJ.Entertainment,description:"USB Input"}):t.Aux?e.push({type:i.fJ.Entertainment,description:"Aux Input"}):t.HasMP3Connection&&e.push({type:i.fJ.Entertainment,description:"MP3 Connection"})},addBluetooth:(e,t)=>{t.HasBluetoothMusic&&e.push({type:i.fJ.Entertainment,description:"Bluetooth"})},addSatelliteRadio:(e,t)=>{t.HasSatelliteRadio&&e.push({type:i.fJ.Entertainment,description:"Satellite Radio"})},addSatelliteOrCDRadio:(e,t)=>{const n=-1!==[i.sj.Single,i.sj.Multi].indexOf(t.CDTypeID),a=-1!==[i.Mw.Factory,i.Mw.AfterMarket].indexOf(t.RadioTypeID);t.HasSatelliteRadio?e.push({type:i.fJ.Entertainment,description:"Satellite Radio"}):n&&a&&e.push({type:i.fJ.Entertainment,description:"CD/Radio"})},addCDPlayer:(e,t)=>{-1!==[i.sj.Single,i.sj.Multi].indexOf(t.CDTypeID)&&e.push({type:i.fJ.Entertainment,description:"CD Player"})},addPremiumSound:(e,t)=>{t.HasPremiumSound&&e.push({type:i.fJ.Entertainment,description:"Premium Sound"})},addDriveTrainType:(e,t)=>{-1!==[i.I0.TwoWD,i.I0.FourWD,i.I0.FrontWD,i.I0.AllWD,i.I0.RearWD].indexOf(t.DrivetrainTypeID)&&e.push({type:i.fJ.DriveTrain,description:t.DriveTrainKey})},addHorsePower:(e,t)=>{a.cmp.isDefinedAndNotNull(t.EngineHorsepower)&&t.EngineHorsepower>0&&e.push({type:i.fJ.DriveTrain,description:`${t.EngineHorsepower} HP`})},addEngineTorque:(e,t)=>{a.cmp.isDefinedAndNotNull(t.EngineTorque)&&t.EngineTorque>0&&e.push({type:i.fJ.DriveTrain,description:`${t.EngineTorque} Torque`})},addTowingCapacity:(e,t)=>{a.cmp.isDefinedAndNotNull(t.TowingCapacity)&&t.TowingCapacity>0&&e.push({type:i.fJ.DriveTrain,description:`${t.TowingCapacity} lbs TowCap`})},addFuelTankCapacity:(e,t)=>{a.cmp.isDefinedAndNotNull(t.FuelTankCapacity)&&+t.FuelTankCapacity>0&&e.push({type:i.fJ.DriveTrain,description:`${Math.round(+t.FuelTankCapacity)} gal Tank`})},addFlex:(e,t)=>{t.FuelTypeID===i.nV.FlexFuel&&e.push({type:i.fJ.DriveTrain,description:"Flex Fuel"})},addHybrid:(e,t)=>{t.FuelTypeID===i.nV.GasElecHybrid&&e.push({type:i.fJ.DriveTrain,description:"Hybrid"})},addCylinderCountEngine:(e,t)=>{a.cmp.isDefinedAndNotNull(t.EngineCylinderCount)&&t.EngineCylinderCount>=6&&e.push({type:i.fJ.DriveTrain,description:`V${t.EngineCylinderCount} Eng`})},addDriveType:(e,t)=>{a.cmp.isDefinedAndNotNull(t.DriveType)&&e.push({type:i.fJ.DriveTrain,description:t.DriveType})},add4WDHighlight:(e,t)=>{a.cmp.isDefinedAndNotNull(t.DriveType)&&t.DrivetrainTypeID===i.I0.FourWD&&e.push({type:i.fJ.DriveTrain,description:t.DriveTrainKey})},addAWDHighlight:(e,t)=>{a.cmp.isDefinedAndNotNull(t.DriveType)&&t.DrivetrainTypeID===i.I0.AllWD&&e.push({type:i.fJ.DriveTrain,description:t.DriveTrainKey})},addLowMileage:(e,t)=>{t.OdometerValue<5e4&&e.push({type:i.fJ.DriveTrain,description:"Low Mileage"})},addGreatMPG:(e,t)=>{t.MPGHighway>32&&e.push({type:i.fJ.DriveTrain,description:"Great MPG"})},addAutomaticTransmission:(e,t)=>{t.AutomaticTransmission&&e.push({type:i.fJ.DriveTrain,description:"Automatic Trans"})},addHighPerformance:(e,t)=>{t.EngineCylinderCount>5&&e.push({type:i.fJ.DriveTrain,description:"High Perf"})},addLeather:(e,t)=>{t.HasLeatherInterior&&e.push({type:i.fJ.Seats,description:"Leather Interior"})},addTowingHitch:(e,t)=>{t.HasTowingHitch&&e.push({type:i.fJ.Convenience,description:"Tow/Haul"})},addPowerLocks:(e,t)=>{t.HasPowerLocks&&e.push({type:i.fJ.Convenience,description:"Power Locks"})},addPowerWindows:(e,t)=>{t.HasPowerWindows&&e.push({type:i.fJ.Convenience,description:"Power Windows"})},addSunRoof:(e,t)=>{t.HasSunRoof&&e.push({type:i.fJ.Convenience,description:"Sunroof"})},addFrontAC:(e,t)=>{t.HasAC&&e.push({type:i.fJ.Convenience,description:"Front A/C"})},addRearAC:(e,t)=>{t.HasRearAC&&e.push({type:i.fJ.Convenience,description:"Rear A/C"})},addNavigation:(e,t)=>{t.HasNavigationSystem&&e.push({type:i.fJ.Convenience,description:"Navigation"})},addKeylessEntry:(e,t)=>{t.HasKeylessEntry&&e.push({type:i.fJ.Convenience,description:"Keyless Entry"})},addKeylessIgnition:(e,t)=>{t.HasKeylessIgnition&&e.push({type:i.fJ.Convenience,description:"Keyless Ignition"})},addRemoteStart:(e,t)=>{t.RemoteStart&&e.push({type:i.fJ.Convenience,description:"Remote Start"})},addPowerRearDoor:(e,t)=>{t.HasPowerRearDoor&&e.push({type:i.fJ.Convenience,description:"Power Rear Door"})},addPowerSideDoor:(e,t)=>{t.HasPowerSideDoor&&e.push({type:i.fJ.Convenience,description:"Power Side Door"})},addCruiseControl:(e,t)=>{t.HasCruiseControl&&e.push({type:i.fJ.Convenience,description:"Cruise Control"})},addHandsFree:(e,t)=>{t.HasHandsFree&&e.push({type:i.fJ.Convenience,description:"Hands Free"})},addTiltWheel:(e,t)=>{t.HasTiltWheel&&e.push({type:i.fJ.Convenience,description:"Tilt Wheel"})},addWindshieldWipers:(e,t)=>{t.AutoWindshieldWipers&&e.push({type:i.fJ.Convenience,description:"Auto Wipers"})},addHeadsUpDisplay:(e,t)=>{t.HeadsUpDisplay&&e.push({type:i.fJ.Convenience,description:"Heads Up Disp."})},addHomelink:(e,t)=>{t.HasHomeLink&&e.push({type:i.fJ.Convenience,description:"Homelink"})},addQuadCab:(e,t)=>{4===t.Doors&&e.push({type:i.fJ.Convenience,description:"Quad Cab"})},addShortBed:(e,t)=>{const n=+t.TruckBedLength;0!==n&&n<=75&&e.push({type:i.fJ.Convenience,description:"Short Bed"})},addLongBed:(e,t)=>{+t.TruckBedLength>75&&e.push({type:i.fJ.Convenience,description:"Long Bed"})},addLuxuryPackage:(e,t)=>{t.HasHeatedSeats&&t.HasSunRoof&&e.push({type:i.fJ.Convenience,description:"Luxury Pkg"})},addSportsPackage:(e,t)=>{t.WheelSize>17&&(t.WheelTypeID===i.bk.Alloy||t.WheelTypeID===i.bk.SpecialOther)&&t.HasHeatedSeats&&t.HasPowerDriverSeat&&e.push({type:i.fJ.Convenience,description:"Sports Pkg"})},addLoaded:(e,t)=>{(t.HasPowerDriverSeat||t.HasPowerPassengerSeat)&&(t.HasSunRoof||t.HasCruiseControl)&&t.AutomaticTransmission&&e.push({type:i.fJ.Convenience,description:"Loaded"})},addCoupe:(e,t)=>{t.BodyType===i.Xp[i.Xp.Coupe]&&e.push({type:i.fJ.Convenience,description:"Coupe"})},addConvertible:(e,t)=>{t.BodyType===i.Xp[i.Xp.Convertible]&&e.push({type:i.fJ.Convenience,description:"Convertible"})},addSporty:(e,t)=>{6===t.EngineCylinderCount&&t.BodyType===i.Xp[i.Xp.Coupe]&&e.push({type:i.fJ.Convenience,description:"Sporty"})},addAntiLockBrakes:(e,t)=>{t.HasAntilockBrakeSystem&&e.push({type:i.fJ.Safety,description:"Anti-Lock Brakes"})},addTheftSystem:(e,t)=>{t.HasAntiTheftSystem&&e.push({type:i.fJ.Safety,description:"Anti-Theft Sys."})},addBlindSpotSensor:(e,t)=>{t.BlindSpotSensors&&e.push({type:i.fJ.Safety,description:"Blind Spot Sens"})},addLaneDepartureWarning:(e,t)=>{t.LaneDepartureWarning&&e.push({type:i.fJ.Safety,description:"Lane Warning"})},addParkAssist:(e,t)=>{t.ParkAssist&&e.push({type:i.fJ.Safety,description:"Park Assist"})},addRearViewCamera:(e,t)=>{t.HasRearViewCamera&&e.push({type:i.fJ.Safety,description:"Rear View Camera"})},addXenonLEDLights:(e,t)=>{t.HasXenonLEDLights&&e.push({type:i.fJ.Convenience,description:"Xen/LED Lights"})},addTruckBedLength:(e,t)=>{if(+t.TruckBedLength>0){let n=Math.round(+t.TruckBedLength/12*10)/10+" ft Truck Bed";e.push({type:i.fJ.Suspension,description:n})}},addSpecialWheels:(e,t)=>{t.WheelTypeID!==i.bk.Alloy&&t.WheelTypeID!==i.bk.SpecialOther||e.push({type:i.fJ.Suspension,description:(t.WheelTypeID===i.bk.Alloy?"Alloy":"Special")+" Wheels"})},addWheelSize:(e,t)=>{t.WheelSize>0&&e.push({type:i.fJ.Suspension,description:`${t.WheelSize} in Wheels`})},addThirdRowSeat:(e,t)=>{t.HasThirdRowSeat&&e.push({type:i.fJ.Seats,description:"Third Row Seat"})},addHeatedSeats:(e,t)=>{t.HasHeatedSeats&&e.push({type:i.fJ.Seats,description:"Heated Seats"})},addCooledSeats:(e,t)=>{t.CooledSeats&&e.push({type:i.fJ.Seats,description:"Cooled Seats"})},addPowerSeats:(e,t)=>{(t.HasPowerDriverSeat||t.HasPowerPassengerSeat)&&e.push({type:i.fJ.Seats,description:"Power Seats"})},addFoldDownRearSeat:(e,t)=>{t.HasFoldDownRearSeat&&e.push({type:i.fJ.Convenience,description:"Rear Fold Down Seats"})}},c=[l.addBluetooth,l.addInputHighlight,l.add4WDHighlight,l.addAWDHighlight,l.addNavigation,l.addDVDPlayer,l.addSatelliteRadio,l.addPremiumSound,l.addSunRoof,l.addRearViewCamera,l.addLeather,l.addKeylessEntry,l.addRemoteStart,l.addHeatedSeats,l.addKeylessIgnition,l.addCruiseControl,l.addLowMileage,l.addGreatMPG,l.addPowerSeats,l.addPowerWindows,l.addCDPlayer,l.addTowingHitch,l.addXenonLEDLights,l.addSpecialWheels,l.addFoldDownRearSeat],d=[l.addBluetooth,l.addInputHighlight,l.add4WDHighlight,l.addAWDHighlight,l.addNavigation,l.addDVDPlayer,l.addSatelliteRadio,l.addPremiumSound,l.addSunRoof,l.addThirdRowSeat,l.addRearViewCamera,l.addLeather,l.addKeylessEntry,l.addRemoteStart,l.addHeatedSeats,l.addKeylessIgnition,l.addCruiseControl,l.addLowMileage,l.addGreatMPG,l.addPowerSeats,l.addPowerWindows,l.addCDPlayer,l.addTowingHitch,l.addXenonLEDLights,l.addSpecialWheels,l.addFoldDownRearSeat],u=[l.addBluetooth,l.addInputHighlight,l.add4WDHighlight,l.addAWDHighlight,l.addNavigation,l.addDVDPlayer,l.addSatelliteRadio,l.addPremiumSound,l.addSunRoof,l.addRearViewCamera,l.addLeather,l.addKeylessEntry,l.addRemoteStart,l.addHeatedSeats,l.addKeylessIgnition,l.addCruiseControl,l.addLowMileage,l.addGreatMPG,l.addPowerSeats,l.addPowerWindows,l.addCDPlayer,l.addTowingHitch,l.addXenonLEDLights,l.addSpecialWheels,l.addFoldDownRearSeat],p=[l.addWarranty,l.addDVDPlayer,l.addMP3Connection,l.addAuxInput,l.addUSBInput,l.addBluetooth,l.addSatelliteOrCDRadio,l.addPremiumSound,l.addDriveTrainType,l.addHorsePower,l.addEngineTorque,l.addTowingCapacity,l.addFuelTankCapacity,l.addFlex,l.addHybrid,l.addLeather,l.addXenonLEDLights,l.addTowingHitch,l.addPowerLocks,l.addPowerWindows,l.addSunRoof,l.addFrontAC,l.addRearAC,l.addNavigation,l.addKeylessEntry,l.addPowerRearDoor,l.addPowerSideDoor,l.addCruiseControl,l.addHandsFree,l.addTiltWheel,l.addWindshieldWipers,l.addHeadsUpDisplay,l.addHomelink,l.addRemoteStart,l.addKeylessIgnition,l.addFoldDownRearSeat,l.addAntiLockBrakes,l.addTheftSystem,l.addBlindSpotSensor,l.addLaneDepartureWarning,l.addParkAssist,l.addRearViewCamera,l.addTruckBedLength,l.addSpecialWheels,l.addWheelSize,l.addThirdRowSeat,l.addHeatedSeats,l.addCooledSeats,l.addPowerSeats];function h(e){let t,n=[];switch(e.VehicleType){case i.F0[i.F0.Truck]:t=c;break;case i.F0[i.F0.SUV]:case i.F0[i.F0.Van]:t=d;break;default:t=u}for(let i=0;i<t.length&&(t[i](n,e),n.length>4&&(n=n.slice(0,3)),4!==n.length);i++);return n}function m(e){let t=[];return p.forEach(n=>n(t,e)),t}function g(e){return a.ObjectUtils.toArray(a.ObjectUtils.filter(r.n,t=>t.type===e))}function f(e){let t=[];for(let n=0;n<e.length;n++){let i=a.ObjectUtils.filter(r.n,t=>t.description===e[n]);t=t.concat(Object.keys(i))}return t}const y=e=>e.FrontCrashDriverStars>0,_=e=>e.FrontCrashPassengerStars>0,A=e=>e.SideBarrierDriverStars>0,v=e=>e.SideBarrierPassengerStars>0,b=e=>e.RolloverStars>0,C=e=>e.OverallStars>0,w=e=>e.EPAPollutionScore>0,S=e=>e.EPAGreenhouseGasScore>0,k=e=>y(e)||_(e)||A(e)||v(e)||b(e)||C(e)},32423:function(e,t,n){"use strict";n.d(t,{n:function(){return a},h:function(){return o}});var i=n(87500);const a={Aux:{type:i.fJ.Entertainment,description:"Aux Input"},HasBluetoothMusic:{type:i.fJ.Entertainment,description:"Bluetooth"},HasCDRadio:{type:i.fJ.Entertainment,description:"CD/Radio"},HasDVD:{type:i.fJ.Entertainment,description:"DVD Player"},HasMP3Connection:{type:i.fJ.Entertainment,description:"MP3 Connection"},HasNavigationSystem:{type:i.fJ.Entertainment,description:"Navigation"},HasPremiumSound:{type:i.fJ.Entertainment,description:"Premium Stereo"},HasSatelliteRadio:{type:i.fJ.Entertainment,description:"Satellite Radio"},Usb:{type:i.fJ.Entertainment,description:"USB Input"},HasAC:{type:i.fJ.Convenience,description:"A/C"},AutoWindshieldWipers:{type:i.fJ.Convenience,description:"Auto Wipers"},CooledSeats:{type:i.fJ.Convenience,description:"Cooled Seats"},HasCruiseControl:{type:i.fJ.Convenience,description:"Cruise Control"},HasHandsFree:{type:i.fJ.Convenience,description:"Hands Free"},HeadsUpDisplay:{type:i.fJ.Convenience,description:"Heads Up Disp."},HasHeatedSeats:{type:i.fJ.Convenience,description:"Heated Seats"},HasHomeLink:{type:i.fJ.Convenience,description:"Homelink"},HasKeylessEntry:{type:i.fJ.Convenience,description:"Keyless Entry"},HasKeylessIgnition:{type:i.fJ.Convenience,description:"Keyless Ignition"},HasLeatherInterior:{type:i.fJ.Convenience,description:"Leather Interior"},HasPowerDriverSeat:{type:i.fJ.Convenience,description:"Power Driver Seat"},HasPowerPassengerSeat:{type:i.fJ.Convenience,description:"Power Passenger Seat"},HasPowerLocks:{type:i.fJ.Convenience,description:"Power Locks"},HasPowerSideDoor:{type:i.fJ.Convenience,description:"Power Side Door"},HasPowerRearDoor:{type:i.fJ.Convenience,description:"Power Rear Door"},HasPowerWindows:{type:i.fJ.Convenience,description:"Power Windows"},HasRearAC:{type:i.fJ.Convenience,description:"Rear A/C"},HasFoldDownRearSeat:{type:i.fJ.Convenience,description:"Rear Fold Down Seats"},RemoteStart:{type:i.fJ.Convenience,description:"Remote Start"},HasSunRoof:{type:i.fJ.Convenience,description:"Sunroof"},HasTiltWheel:{type:i.fJ.Convenience,description:"Tilt Wheel"},HasThirdRowSeat:{type:i.fJ.Convenience,description:"Third Row"},HasTowingHitch:{type:i.fJ.Convenience,description:"Tow/Haul"},HasAntiTheftSystem:{type:i.fJ.Safety,description:"Anti-Theft Sys."},HasAntilockBrakeSystem:{type:i.fJ.Safety,description:"Anti-Lock Brakes"},BlindSpotSensors:{type:i.fJ.Safety,description:"Blind Spot Sens"},LaneDepartureWarning:{type:i.fJ.Safety,description:"Lane Warning"},ParkAssist:{type:i.fJ.Safety,description:"Park Assist"},HasXenonLEDLights:{type:i.fJ.Safety,description:"Xen/LED Lights"},HasRearViewCamera:{type:i.fJ.Safety,description:"Rear View Camera"}},o={"4Cyl":"4 Cyl","5Cyl":"5 Cyl","6Cyl":"6 Cyl","8Cyl":"8 Cyl",Other:"Other"}},46664:function(e,t,n){"use strict";n.d(t,{JG:function(){return a},L8:function(){return o},oK:function(){return r},Xo:function(){return s},IX:function(){return l},Pd:function(){return c}});var i=n(45829);const a=250,o=30,r=1e3;class s{constructor(e,t,n,i,a){this.name=e,this.operator=t,this.type=n,this.conjunction=i,this.items=a}}class l{constructor(e,t){this.columnName=e,this.direction=t}}class c{constructor(){this.search="*",this.select=null,this.facets=null,this.filters=null,this.orderBy=null,this.orderByNoResults=!1,this.returnCount=!0,this.pageNumber=null,this.pageSize=o,this.lat=null,this.lng=null,this.mileRadius=null,this.filterConjunction=i.zX.and,this.queryType=i.xL.vehicle}}},45829:function(e,t,n){"use strict";n.d(t,{d:function(){return i},zX:function(){return a},Ge:function(){return o},eQ:function(){return r},xL:function(){return s},rw:function(){return l}});var i=(()=>{return(e=i||(i={}))[e.eq=1]="eq",e[e.le=2]="le",e[e.ge=3]="ge",e[e.lt=4]="lt",e[e.gt=5]="gt",e[e.bt=6]="bt",e[e.ne=7]="ne",i;var e})(),a=(()=>{return(e=a||(a={}))[e.and=1]="and",e[e.or=2]="or",a;var e})(),o=(()=>{return(e=o||(o={}))[e.str=1]="str",e[e.num=2]="num",e[e.subQuery=3]="subQuery",o;var e})(),r=(()=>{return(e=r||(r={}))[e.desc=1]="desc",e[e.asc=2]="asc",r;var e})(),s=(()=>{return(e=s||(s={}))[e.vehicle=0]="vehicle",e[e.dealership=1]="dealership",e[e.zipCode=2]="zipCode",s;var e})(),l=(()=>{return(e=l||(l={}))[e.distance=0]="distance",e[e.dtSelectDistance=1]="dtSelectDistance",e[e.distanceDtSelect=2]="distanceDtSelect",l;var e})()},26264:function(e,t,n){"use strict";n.d(t,{r:function(){return i}});var i=(()=>{return(e=i||(i={}))[e.NONE=0]="NONE",e[e.REQUESTED=1]="REQUESTED",e[e.RESPONDED=2]="RESPONDED",e[e.DONE=3]="DONE",i;var e})()},87500:function(e,t,n){"use strict";n.d(t,{fJ:function(){return i},nV:function(){return a},bk:function(){return o},I0:function(){return r},q2:function(){return s},Mw:function(){return l},sj:function(){return c},F0:function(){return d},Xp:function(){return u},zB:function(){return p},wI:function(){return h}});var i=(()=>{return(e=i||(i={}))[e.Entertainment=0]="Entertainment",e[e.Convenience=1]="Convenience",e[e.Safety=2]="Safety",e[e.Seats=3]="Seats",e[e.DriveTrain=4]="DriveTrain",e[e.Warranty=5]="Warranty",e[e.Suspension=6]="Suspension",i;var e})(),a=(()=>{return(e=a||(a={}))[e.Undefined=0]="Undefined",e[e.Gas=1]="Gas",e[e.Diesel=2]="Diesel",e[e.FlexFuel=3]="FlexFuel",e[e.NaturalGas=4]="NaturalGas",e[e.Petroleum=5]="Petroleum",e[e.GasElecHybrid=6]="GasElecHybrid",e[e.LithElectric=7]="LithElectric",a;var e})(),o=(()=>{return(e=o||(o={}))[e.Undefined=0]="Undefined",e[e.Alloy=1]="Alloy",e[e.Steel=2]="Steel",e[e.SpecialOther=3]="SpecialOther",o;var e})(),r=(()=>{return(e=r||(r={}))[e.TwoWD=1]="TwoWD",e[e.FourWD=2]="FourWD",e[e.FrontWD=3]="FrontWD",e[e.RearWD=4]="RearWD",e[e.AllWD=5]="AllWD",r;var e})(),s=(()=>{return(e=s||(s={}))[e.DiscBrakes=1]="DiscBrakes",e[e.DrumBrakes=2]="DrumBrakes",s;var e})(),l=(()=>{return(e=l||(l={}))[e.Undefined=0]="Undefined",e[e.Factory=1]="Factory",e[e.AfterMarket=2]="AfterMarket",e[e.None=3]="None",l;var e})(),c=(()=>{return(e=c||(c={}))[e.Undefined=0]="Undefined",e[e.Single=1]="Single",e[e.Multi=2]="Multi",e[e.None=3]="None",c;var e})(),d=(()=>{return(e=d||(d={}))[e.Car=0]="Car",e[e.SUV=1]="SUV",e[e.Truck=2]="Truck",e[e.Van=3]="Van",d;var e})(),u=(()=>{return(e=u||(u={}))[e.Convertible=0]="Convertible",e[e.Coupe=1]="Coupe",e[e.Hatchback=2]="Hatchback",e[e["Mini-Van"]=3]="Mini-Van",e[e.Pickup=4]="Pickup",e[e.Sedan=5]="Sedan",e[e.SUV=6]="SUV",e[e.Wagon=7]="Wagon",u;var e})();let p=(()=>{class e{}return e.Available="AV",e.Layaway="LA",e.Sold="SL",e})();var h=(()=>{return(e=h||(h={}))[e.Make=0]="Make",e[e.Series=1]="Series",e[e.Model=2]="Model",h;var e})()},69582:function(e,t,n){"use strict";n.d(t,{P:function(){return o}});var i=n(20483);const a=[["st. louis","st louis","Saint Louis"]];class o{static getCityAliases(e){if(i.cmp.isDefinedAndNotNull(e)){e.includes("'")&&(e=e.replace(/'/,"''"));let t=e.toLowerCase(),n=this._lowerAliases.findIndex(e=>e.indexOf(t)>=0);return n>=0?a[n]:[e]}return[]}}o._lowerAliases=a.map(e=>e.map(e=>e.toLowerCase()))},90367:function(e,t,n){"use strict";n.d(t,{J:function(){return a},f:function(){return o}});var i=n(20483);function a(e){return i.cmp.isNotEmpty(e)||0===e?+(Number.isNaN(e)||Number.isNaN(parseInt(e,10))?i.StringUtils.unmaskNumberString(String(e||"")||""):e):null}function o(e){return(e=i.cmp.isDefinedAndNotNull(e)?e:0).toLocaleString("us",{style:"currency",currency:"USD",maximumFractionDigits:0,minimumFractionDigits:0})}},72349:function(e,t,n){"use strict";n.d(t,{uR:function(){return a},mF:function(){return o},hn:function(){return r.P},px:function(){return i.u}});var i=n(52258);class a{static generateUuid(){let e=Date.now();return"undefined"!=typeof performance&&"function"==typeof performance.now&&(e+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,t=>{let n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?n:3&n|8).toString(16)})}static generateShortUuid(){let e=Date.now();return"undefined"!=typeof performance&&"function"==typeof performance.now&&(e+=performance.now()),"xxxxxx".replace(/[x]/g,t=>{let n=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"===t?n:3&n|8).toString(16)})}}class o{static compareSemanticVersions(e,t){if(e===t)return 0;let n=e.split("."),i=t.split("."),a=Math.max(n.length,i.length);return n.fill("0",n.length,a),i.fill("0",i.length,a),Array.from(Array(a).keys()).reduce((e,t)=>0!==e?e:n[t].localeCompare(i[t]),0)}}var r=n(69582)},39861:function(e,t,n){"use strict";n.d(t,{a:function(){return a}});var i=n(20483);class a{static cloneUIVehicleMap(e){if(i.cmp.isEmpty(e))return[];let t={},n=e=>e.key;return e.map(e=>e.clone(t,n))}}},16663:function(e){"use strict";e.exports={REGEX_REMOVE_SPECIAL_CHARS:"[^a-zA-Z0-9]",REGEX_UNMASK_NUMBER_STRING:/\D+/g,EMAIL_REGEX_VALIDATION:/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9-]+\.[a-zA-Z]{2,3}$/,SSN_REGEX_VALIDATION:/^(?!000)\d{3}-(?!00)\d{2}-(?!0000)\d{4}$/,ADDRESS_REGEX_VALIDATION:/^[A-Za-z0-9\-'\.]+[A-Za-z0-9\s#/\-'\. ]*$/,NAME_REGEX_VALIDATION:/^[A-Za-z]+[A-Za-z\-'\. ]*$/}},97661:function(e,t,n){"use strict";n.d(t,{Vq:function(){return a},IC:function(){return o},yv:function(){return r},M:function(){return s},L_:function(){return l}});var i=n(16663);const a=i.REGEX_REMOVE_SPECIAL_CHARS,o=i.EMAIL_REGEX_VALIDATION,r=i.NAME_REGEX_VALIDATION,s=i.ADDRESS_REGEX_VALIDATION,l=i.SSN_REGEX_VALIDATION},52258:function(e,t,n){"use strict";n.d(t,{u:function(){return i}});let i=(()=>{class e{static getLongFromShort(e){return e=e.toUpperCase(),this.longShortNameCombos.hasOwnProperty(e)?this.longShortNameCombos[e]:""}static getShortFromLong(e){return e=e.toUpperCase(),this.shortLongNameCombos.hasOwnProperty(e)?this.shortLongNameCombos[e]:""}}return e.shortLongNameCombos={ALABAMA:"AL",ALAKSA:"AK",ARIZONA:"AZ",ARKANSAS:"AR",CALIFORNIA:"CA",COLORADO:"CO",CONNECTICUT:"CT",DELAWARE:"DE",FLORIDA:"FL",GEORGIA:"GA",HAWAII:"HI",IDAHO:"ID",ILLINOIS:"IL",INDIANA:"IN",IOWA:"IA",KANSAS:"KS",KENTUCKY:"KY",LOUISIANA:"LA",MAINE:"ME",MARYLAND:"MD",MASSACHUSETTS:"MA",MICHIGAN:"MI",MINNESOTA:"MN",MISSISSIPPI:"MS",MISSOURI:"MO",MONTANA:"MT",NEBRASKA:"NE",NEVADA:"NV","NEW HAMPSHIRE":"NH","NEW JERSEY":"NJ","NEW MEXICO":"NM","NEW YORK":"NY","NORTH CAROLINA":"NC","NORTH DAKOTA":"ND",OHIO:"OH",OKLAHOMA:"OK",OREGON:"OR",PENNSYLVANIA:"PA","RHODE ISLAND":"RI","SOUTH CAROLINA":"SC","SOUTH DAKOTA":"SD",TENNESSEE:"TN",TEXAS:"TX",UTAH:"UT",VERMONT:"VT",VIRGINIA:"VA",WASHINGTON:"WA","WEST VIRGINIA":"WV",WISCONSIN:"WI",WYOMING:"WY",GUAM:"GU","PUERTO RICO":"PR","VIRGIN ISLANDS":"VI"},e.longShortNameCombos={AL:"ALABAMA",AK:"ALAKSA",AZ:"ARIZONA",AR:"ARKANSAS",CA:"CALIFORNIA",CO:"COLORADO",CT:"CONNECTICUT",DE:"DELAWARE",FL:"FLORIDA",GA:"GEORGIA",HI:"HAWAII",ID:"IDAHO",IL:"ILLINOIS",IN:"INDIANA",IA:"IOWA",KS:"KANSAS",KY:"KENTUCKY",LA:"LOUISIANA",ME:"MAINE",MD:"MARYLAND",MA:"MASSACHUSETTS",MI:"MICHIGAN",MN:"MINNESOTA",MS:"MISSISSIPPI",MO:"MISSOURI",MT:"MONTANA",NE:"NEBRASKA",NV:"NEVADA",NH:"NEW HAMPSHIRE",NJ:"NEW JERSEY",NM:"NEW MEXICO",NY:"NEW YORK",NC:"NORTH CAROLINA",ND:"NORTH DAKOTA",OH:"OHIO",OK:"OKLAHOMA",OR:"OREGON",PA:"PENNSYLVANIA",RI:"RHODE ISLAND",SC:"SOUTH CAROLINA",SD:"SOUTH DAKOTA",TN:"TENNESSEE",TX:"TEXAS",UT:"UTAH",VT:"VERMONT",VA:"VIRGINIA",WA:"WASHINGTON",WV:"WEST VIRGINIA",WI:"WISCONSIN",WY:"WYOMING",GU:"GUAM",PR:"PUERTO RICO",VI:"VIRGIN ISLANDS"},e})()},9227:function(e,t,n){"use strict";n.d(t,{JT:function(){return s},Sr:function(){return l},UA:function(){return c},b9:function(){return d},MK:function(){return u},EO:function(){return p},qR:function(){return h},S2:function(){return m},gs:function(){return g},zU:function(){return f},H4:function(){return y},sy:function(){return _},vC:function(){return A},Nl:function(){return v},Vk:function(){return b},tU:function(){return C},n_:function(){return w},PK:function(){return S},lV:function(){return k},Pn:function(){return M},_T:function(){return P},rW:function(){return O},in:function(){return U},cm:function(){return I}});var i=n(20483),a=n(27712),o=n.n(a),r=n(90367);const s=25,l=20,c=200,d=50,u=7,p=5,h=14,m=11,g=function(e){return(i.cmp.isDefinedAndNotNull(e.value)?+String(e.value).replace(/\D/g,""):null)>0?null:{validateIncome:{valid:!1}}},f=function(e){return(i.cmp.isDefinedAndNotNull(e.value)?+String(e.value).replace(/\D/g,""):null)>=0?null:{validateIncome:{valid:!1}}},y=function(e){const t=i.cmp.isNotEmpty(e.value)||0===e.value?(0,r.J)(e.value):null;return Promise.resolve(0===t?{required:!0}:null)},_=function(e){let t=i.cmp.isDefinedAndNotNull(e.value)?+String(e.value).replace(/\D/g,""):null;return t>=0&&t<1e5?null:{validateCashDown:{valid:!1}}},A=["(",/[2-9]/,/\d/,/\d/,")"," ",/\d/,/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/],v=[/\d/,/\d/,/\d/,"-",/\d/,/\d/,"-",/\d/,/\d/,/\d/,/\d/],b=[/\d/,/\d/,/\d/,/\d/],C=N(s),w=N(l),S=Array(p).fill(void 0).map(()=>/\d/),k=Array(c).fill(void 0).map(()=>/[A-Za-z0-9\s#/\.' \-]/),M=o()({prefix:"$",integerLimit:5}),P=o()({prefix:"$",integerLimit:5}),O=o()({prefix:"$",integerLimit:5}),U=o()({prefix:"$",integerLimit:5}),I=function(e,t){return Array(e+t+1).fill(void 0).map(()=>/[A-Za-z\-\u0027\u2018\u2019\.\s]/)}(s,l);function N(e){return Array(e).fill(void 0).map(()=>/[A-Za-z\-\u0027\u2018\u2019\.\s]/)}},88229:function(e,t,n){"use strict";n.d(t,{k:function(){return M}});var i=n(6748),a=n(97805),o=n(13535),r=n(67041),s=n(43740),l=n(72349),c=n(20483),d=n(37716),u=n(38583),p=n(95744),h=n(89333),m=n(797),g=n(19967),f=n(22745),y=n(82701);const _=["privacy"],A=["terms"];function v(e,t){if(1&e){const e=d.EpF();d.TgZ(0,"dtm-link-button",10),d.NdJ("click",function(){return d.CHM(e),d.oxw().openLegalPrivacyModal()}),d._uU(1,"\n"),d.qZA()}if(2&e){const e=d.oxw();d.Q6J("analytic",e.privacyAnalytic)("linkButtonType",e.LinkButtonTypes.InternalLink)("elementId",e.privacyPolicyButtonId)}}const b=function(){return{ariaLabel:"View DriveTime Privacy Policy"}};function C(e,t){if(1&e&&(d.TgZ(0,"a",11),d._uU(1,"\n Privacy Policy\n"),d.qZA()),2&e){const e=d.oxw();d.Q6J("analytic",e.privacyAnalytic)("dtmRouterLink",e.privacyPolicyLink)("appTab",!0)("accessibility",d.DdM(4,b))}}function w(e,t){if(1&e){const e=d.EpF();d.TgZ(0,"dtm-link-button",12),d.NdJ("click",function(){return d.CHM(e),d.oxw().openLegalTermsModal()}),d._uU(1,"\n"),d.qZA()}if(2&e){const e=d.oxw();d.Q6J("analytic",e.termsAnalytic)("linkButtonType",e.LinkButtonTypes.InternalLink)("elementId",e.termsOfUseButtonId)}}const S=function(){return{ariaLabel:"View DriveTime Terms of Use"}};function k(e,t){if(1&e&&(d.TgZ(0,"a",11),d._uU(1,"\n Terms of Use\n"),d.qZA()),2&e){const e=d.oxw();d.Q6J("analytic",e.termsAnalytic)("dtmRouterLink",e.termsOfUseLink)("appTab",!0)("accessibility",d.DdM(4,S))}}let M=(()=>{class e{constructor(e,t,n,i){this._deviceInteractionService=e,this._linkHelper=t,this._cdRef=n,this._appConfigService=i,this.nonLockingModal=!1,this.openWithModal=!0,this.statement="I agree to DriveTime's",this.inApp=!1,this.privacyPolicyLink=this._linkHelper.privacyPolicyLink(),this.termsOfUseLink=this._linkHelper.termsOfUseLink(),this.LinkButtonTypes=s.CY,this.privacyPolicyButtonId=l.uR.generateShortUuid(),this.termsOfUseButtonId=l.uR.generateShortUuid(),this.privacyModalAnalyticCategory="PrivacyPolicyModal",this.termsModalAnalyticCategory="TermsOfUseModal"}ngOnInit(){c.cmp.isDefinedAndNotNull(this.privacyAnalytic)&&c.cmp.isDefinedAndNotNull(this.privacyAnalytic.category)&&(this.privacyModalAnalyticCategory=this.privacyAnalytic.category+"PrivacyPolicyModal"),c.cmp.isDefinedAndNotNull(this.termsAnalytic)&&c.cmp.isDefinedAndNotNull(this.termsAnalytic.category)&&(this.termsModalAnalyticCategory=this.termsAnalytic.category+"TermsOfUseModal"),this.inApp=this._appConfigService.isMobileApp,this._cdRef.detectChanges()}openLegalPrivacyModal(){this.openWithModal?this.legalPrivacyModal.openModal():this._deviceInteractionService.openWithTarget(this.privacyPolicyLink,!0)}closeLegalPrivacyModal(){this.legalPrivacyModal.closeModal()}openLegalTermsModal(){this.openWithModal?this.legalTermsModal.openModal():this._deviceInteractionService.openWithTarget(this.termsOfUseLink,!0)}}return e.\u0275fac=function(t){return new(t||e)(d.Y36(a.e),d.Y36(o.R),d.Y36(d.sBO),d.Y36(r._))},e.\u0275cmp=d.Xpm({type:e,selectors:[["dtm-agreements-info"]],viewQuery:function(e,t){if(1&e&&(d.Gf(_,5),d.Gf(A,5)),2&e){let e;d.iGM(e=d.CRH())&&(t.legalPrivacyModal=e.first),d.iGM(e=d.CRH())&&(t.legalTermsModal=e.first)}},inputs:{nonLockingModal:"nonLockingModal",privacyAnalytic:"privacyAnalytic",privacyCloseAnalytic:"privacyCloseAnalytic",termsAnalytic:"termsAnalytic",termsCloseAnalytic:"termsCloseAnalytic",openWithModal:"openWithModal",statement:"statement"},decls:33,vars:23,consts:[[1,"statement"],["className","frameless-button modal-link","ariaLabel","View DriveTime Privacy Policy","text","Privacy Policy",3,"analytic","linkButtonType","elementId","click",4,"ngIf"],["modalSize","large","ariaLabel","View DriveTime Privacy Policy",3,"nonLockingModal","title","buttonText","analyticDataClose","focusToElementId"],["privacy",""],[1,"modal-body"],[3,"openByModal","internalRoute","showTitle","analyticCategoryName"],["class","modal-link",3,"analytic","dtmRouterLink","appTab","accessibility",4,"ngIf"],["className","frameless-button modal-link","ariaLabel","View DriveTime Terms of Use","text","Terms of Use",3,"analytic","linkButtonType","elementId","click",4,"ngIf"],["modalSize","large","ariaLabel","View DriveTime Terms of Use",3,"nonLockingModal","title","buttonText","analyticDataClose","focusToElementId"],["terms",""],["className","frameless-button modal-link","ariaLabel","View DriveTime Privacy Policy","text","Privacy Policy",3,"analytic","linkButtonType","elementId","click"],[1,"modal-link",3,"analytic","dtmRouterLink","appTab","accessibility"],["className","frameless-button modal-link","ariaLabel","View DriveTime Terms of Use","text","Terms of Use",3,"analytic","linkButtonType","elementId","click"]],template:function(e,t){1&e&&(d.TgZ(0,"span",0),d._uU(1),d.qZA(),d._uU(2,"\n"),d.YNc(3,v,2,3,"dtm-link-button",1),d._uU(4,"\n"),d.TgZ(5,"dtm-legal-modal",2,3),d._uU(7,"\n "),d.TgZ(8,"div",4),d._uU(9,"\n "),d.TgZ(10,"dtm-legal-privacy-policy",5),d._uU(11,"\n "),d.qZA(),d._uU(12,"\n "),d.qZA(),d._uU(13,"\n"),d.qZA(),d._uU(14,"\n"),d.YNc(15,C,2,5,"a",6),d._uU(16,"\n"),d.TgZ(17,"span"),d._uU(18,"and"),d.qZA(),d._uU(19,"\n"),d.YNc(20,w,2,3,"dtm-link-button",7),d._uU(21,"\n"),d.TgZ(22,"dtm-legal-modal",8,9),d._uU(24,"\n "),d.TgZ(25,"div",4),d._uU(26,"\n "),d._UZ(27,"dtm-legal-terms-of-use",5),d._uU(28,"\n "),d.qZA(),d._uU(29,"\n"),d.qZA(),d._uU(30,"\n"),d.YNc(31,k,2,5,"a",6),d._uU(32,"\n")),2&e&&(d.xp6(1),d.Oqu(t.statement),d.xp6(2),d.Q6J("ngIf",!t.inApp),d.xp6(2),d.Q6J("nonLockingModal",t.nonLockingModal)("title","Our Privacy Policy")("buttonText","Ok, got it")("analyticDataClose",t.privacyCloseAnalytic)("focusToElementId",t.privacyPolicyButtonId),d.xp6(5),d.Q6J("openByModal",!0)("internalRoute",!1)("showTitle",!1)("analyticCategoryName",t.privacyModalAnalyticCategory),d.xp6(5),d.Q6J("ngIf",t.inApp),d.xp6(5),d.Q6J("ngIf",!t.inApp),d.xp6(2),d.Q6J("nonLockingModal",t.nonLockingModal)("title","Terms of Use")("buttonText","Ok, got it")("analyticDataClose",t.termsCloseAnalytic)("focusToElementId",t.termsOfUseButtonId),d.xp6(5),d.Q6J("openByModal",!0)("internalRoute",!1)("showTitle",!1)("analyticCategoryName",t.termsModalAnalyticCategory),d.xp6(4),d.Q6J("ngIf",t.inApp))},directives:[u.O5,i.s,p.H,h.$,m.b,g.e,f.b,y.z],styles:[".modal-link[_ngcontent-%COMP%]{cursor:pointer;color:#00abe8;font-size:2.8vw;text-decoration:none}@media screen and (min-width: 414px){.modal-link[_ngcontent-%COMP%]{font-size:.625rem}}.statement[_ngcontent-%COMP%]{white-space:pre}[_nghost-%COMP%] .frameless-button.modal-link{display:inline}"]}),e})()},38572:function(e,t,n){"use strict";n.d(t,{p:function(){return S}});var i=n(37716),a=n(38583),o=n(22745),r=n(19967),s=n(82701),l=n(77519);const c=["dtmButton"];function d(e,t){1&e&&(i._uU(0,"\n "),i.Hsn(1),i._uU(2,"\n "),i.TgZ(3,"div",5),i._uU(4,"\n "),i.Hsn(5,1),i._uU(6,"\n "),i.Hsn(7,2),i._uU(8,"\n "),i.Hsn(9,3),i._uU(10,"\n "),i.Hsn(11,4),i._uU(12,"\n "),i.qZA(),i._uU(13,"\n"))}function u(e,t){1&e&&i.GkF(0)}const p=function(e,t,n){return{ariaLabel:e,role:"button",tabindex:t,dynamicTabIndex$:n}};function h(e,t){if(1&e&&(i.TgZ(0,"a",6),i._uU(1,"\n "),i.YNc(2,u,1,0,"ng-container",7),i._uU(3,"\n"),i.qZA()),2&e){const e=i.oxw(),t=i.MAs(1);i.Tol(e.buttonClass),i.Q6J("analytic",e.buttonAnalytic)("dtmRouterLink",e.buttonLink)("accessibility",i.kEZ(9,p,e.ariaLabel,e.tabIndex,e.dynamicTabIndex$)),i.uIk("qaid",e.qaid)("data-cy",e.qaid),i.xp6(2),i.Q6J("ngTemplateOutlet",t)}}function m(e,t){1&e&&i.GkF(0)}function g(e,t){if(1&e&&(i.TgZ(0,"a",8),i._uU(1,"\n "),i.YNc(2,m,1,0,"ng-container",7),i._uU(3,"\n"),i.qZA()),2&e){const e=i.oxw(),t=i.MAs(1);i.Tol(e.buttonClass),i.s9C("href",e.buttonLink,i.LSH),i.Q6J("analytic",e.buttonAnalytic)("targetedLink",e.buttonLink)("internalRoute",e.prefixInternalRoute)("accessibility",i.kEZ(11,p,e.ariaLabel,e.tabIndex,e.dynamicTabIndex$)),i.uIk("qaid",e.qaid)("data-cy",e.qaid),i.xp6(2),i.Q6J("ngTemplateOutlet",t)}}function f(e,t){1&e&&i.GkF(0)}const y=function(e,t){return{ariaLabel:e,role:"button",tabindex:t}};function _(e,t){if(1&e&&(i.TgZ(0,"a",9),i._uU(1,"\n "),i.YNc(2,f,1,0,"ng-container",7),i._uU(3,"\n"),i.qZA()),2&e){const e=i.oxw(),t=i.MAs(1);i.Tol(e.buttonClass),i.s9C("href",e.buttonLink,i.LSH),i.Q6J("analytic",e.buttonAnalytic)("accessibility",i.WLB(9,y,e.ariaLabel,e.tabIndex)),i.uIk("qaid",e.qaid)("data-cy",e.qaid),i.xp6(2),i.Q6J("ngTemplateOutlet",t)}}function A(e,t){1&e&&i.GkF(0)}const v=function(e,t,n){return{ariaLabel:e,tabindex:t,dynamicTabIndex$:n}};function b(e,t){if(1&e&&(i.TgZ(0,"button",10,11),i._uU(2,"\n "),i.YNc(3,A,1,0,"ng-container",7),i._uU(4,"\n"),i.qZA()),2&e){const e=i.oxw(),t=i.MAs(1);i.Tol(e.buttonClass),i.s9C("type",e.type),i.Q6J("analytic",e.buttonAnalytic)("accessibility",i.kEZ(10,v,e.ariaLabel,e.tabIndex,e.dynamicTabIndex$))("disabled",e.disabled),i.uIk("qaid",e.qaid)("data-cy",e.qaid),i.xp6(3),i.Q6J("ngTemplateOutlet",t)}}const C=[[["",8,"offset-logo"]],[["",8,"icon-before"]],[["",8,"text-before"]],[["",8,"icon-after"]],[["",8,"text-after"]]],w=[".offset-logo",".icon-before",".text-before",".icon-after",".text-after"];let S=(()=>{class e{constructor(){this.buttonAnalytic={},this.externalLink=!1,this.type="button",this.prefixInternalRoute=!1,this.openNewTab=!0,this.ariaLabel="",this.disabled=!1}setFocus(){this.button.nativeElement.focus()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-button"]],viewQuery:function(e,t){if(1&e&&i.Gf(c,5),2&e){let e;i.iGM(e=i.CRH())&&(t.button=e.first)}},inputs:{buttonAnalytic:"buttonAnalytic",buttonLink:"buttonLink",externalLink:"externalLink",buttonClass:"buttonClass",qaid:"qaid",type:"type",prefixInternalRoute:"prefixInternalRoute",openNewTab:"openNewTab",ariaLabel:"ariaLabel",dynamicTabIndex$:"dynamicTabIndex$",tabIndex:"tabIndex",disabled:"disabled"},ngContentSelectors:w,decls:11,vars:4,consts:[["content",""],[3,"class","analytic","dtmRouterLink","accessibility",4,"ngIf"],[3,"class","analytic","href","targetedLink","internalRoute","accessibility",4,"ngIf"],[3,"class","analytic","href","accessibility",4,"ngIf"],[3,"type","class","analytic","accessibility","disabled",4,"ngIf"],[1,"button-inner-content"],[3,"analytic","dtmRouterLink","accessibility"],[4,"ngTemplateOutlet"],[3,"analytic","href","targetedLink","internalRoute","accessibility"],[3,"analytic","href","accessibility"],[3,"type","analytic","accessibility","disabled"],["dtmButton",""]],template:function(e,t){1&e&&(i.F$t(C),i.YNc(0,d,14,0,"ng-template",null,0,i.W1O),i._uU(2,"\n\n"),i.YNc(3,h,4,13,"a",1),i._uU(4,"\n\n"),i.YNc(5,g,4,15,"a",2),i._uU(6,"\n\n"),i.YNc(7,_,4,12,"a",3),i._uU(8,"\n\n"),i.YNc(9,b,5,14,"button",4),i._uU(10,"\n")),2&e&&(i.xp6(3),i.Q6J("ngIf",t.buttonLink&&!t.externalLink),i.xp6(2),i.Q6J("ngIf",t.buttonLink&&t.externalLink&&t.openNewTab),i.xp6(2),i.Q6J("ngIf",t.buttonLink&&t.externalLink&&!t.openNewTab),i.xp6(2),i.Q6J("ngIf",!t.buttonLink))},directives:[a.O5,o.b,r.e,s.z,a.tP,l.AK],encapsulation:2}),e})()},97054:function(e,t,n){"use strict";n.d(t,{Q:function(){return l}});var i=n(37716),a=n(77519),o=n(19967),r=n(82701);const s=function(e){return{ariaLabel:e}};let l=(()=>{class e{constructor(){this.analyticData={},this.ariaLabel="Close Button",this.ngTabIndex=null,this.onClick=new i.vpe}handleClick(e){this.onClick.emit(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-close-button"]],inputs:{qaid:"qaid",className:"className",analyticData:"analyticData",ariaLabel:"ariaLabel",ngTabIndex:"ngTabIndex"},outputs:{onClick:"onClick"},decls:3,vars:9,consts:[["role","button","qaid","close-button","includeSVG","dt-glyph-x","height","100%","width","100%",3,"analytic","tabindex","accessibility","click"]],template:function(e,t){1&e&&(i.TgZ(0,"span",0),i.NdJ("click",function(e){return t.handleClick(e)}),i._uU(1,"\n"),i.qZA(),i._uU(2,"\n")),2&e&&(i.Gre("close-button ",t.className,""),i.s9C("tabindex",t.ngTabIndex),i.Q6J("analytic",t.analyticData)("accessibility",i.VKq(7,s,t.ariaLabel)),i.uIk("data-cy",t.qaid))},directives:[a.pw,o.e,r.z],styles:["[_nghost-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;transform:translateY(-50%);z-index:100;height:5vw;width:5vw;right:5vw;top:5.5vw}@media screen and (min-width: 414px){[_nghost-%COMP%] .close-button[_ngcontent-%COMP%]{height:1rem;width:1rem;right:1rem;top:1.1rem}}"]}),e})()},24014:function(e,t,n){"use strict";n.d(t,{m:function(){return E}});var i=n(13535),a=n(79765),o=(n(6748),n(72349)),r=n(43740),s=n(20483),l=n(70764),c=n(37716);const d=["affiliates"],u=["legalAgreement"],p=["eConsent"],h=["innercontainer"],m=["inputElem"];function g(e,t){1&e&&(c.TgZ(0,"dtm-scroll-indicator",51),c._uU(1,"\n "),c.qZA()),2&e&&c.Q6J("showIcon",!0)}function f(e,t){1&e&&(c._uU(0,"\n "),c.TgZ(1,"span",52),c._uU(2,"Please fully review the terms above"),c.qZA(),c._uU(3,"\n "))}function y(e,t){if(1&e&&(c._uU(0,"\n "),c.TgZ(1,"div",53),c._uU(2,"By submitting this form, I agree this information is correct and that I am the age of majority in my state.\n DriveTime will obtain\n a credit report and send me approval confirmation via text. This will not impact my credit. I also\n authorize DriveTime to verify with others any information contained in my application or supporting\n documentation. I understand that my terms may change if the information that I provided cannot be verified or if additional information is received related to my credit, and I\n may not receive an offer until additional verification is provided. "),c.GkF(3,8),c._uU(4,"\n "),c.qZA(),c._uU(5,"\n")),2&e){c.oxw();const e=c.MAs(117);c.xp6(3),c.Q6J("ngTemplateOutlet",e)}}function _(e,t){1&e&&c.GkF(0)}const A=function(e){return{category:e,label:"LegalAgreement",experimentMetric:!0}},v=function(e){return{category:e,label:"FullEConsentAgreement",experimentMetric:!0}};function b(e,t){if(1&e){const e=c.EpF();c._uU(0,"\n I have read and accept the terms in the\n "),c.TgZ(1,"dtm-link-button",54),c.NdJ("click",function(){return c.CHM(e),c.oxw().openLegalModalLegalAgreement()}),c._uU(2,"\n "),c.TgZ(3,"span",12),c._uU(4,"Legal Agreement"),c.qZA(),c._uU(5,"\n "),c.qZA(),c._uU(6,"\n "),c.TgZ(7,"span",13),c._uU(8,", "),c.qZA(),c._uU(9,"\n\n "),c.YNc(10,_,1,0,"ng-container",55),c._uU(11,"\n\n "),c.TgZ(12,"span",13),c._uU(13,"."),c.qZA(),c._uU(14,"\n Website inquiry is a soft pull. To finalize financing, a hard pull is required, which may impact my credit score. Message and data rates may apply. I agree to receive, view and electronically sign records and have\n read and accept the\n "),c.TgZ(15,"dtm-link-button",56),c.NdJ("click",function(){return c.CHM(e),c.oxw().openLegalModalEConsent()}),c._uU(16,"\n "),c.TgZ(17,"span",12),c._uU(18,"Full E-Consent Agreement"),c.qZA(),c._uU(19,"\n "),c.qZA(),c._uU(20,"\n "),c.TgZ(21,"span",13),c._uU(22,"."),c.qZA(),c._uU(23,"\n")}if(2&e){const e=c.oxw(),t=c.MAs(196);c.xp6(1),c.Q6J("analytic",c.VKq(7,A,e.pageName))("elementId",e.legalAgreementButtonId)("linkButtonType",e.LinkButtonTypes.Button),c.xp6(9),c.Q6J("ngTemplateOutlet",t),c.xp6(5),c.Q6J("analytic",c.VKq(9,v,e.pageName))("elementId",e.consentButtonId)("linkButtonType",e.LinkButtonTypes.Button)}}const C=function(e){return{category:e,label:"PrivacyPolicy",experimentMetric:!0}},w=function(e){return{category:e,label:"PrivacyPolicyClose",experimentMetric:!0}},S=function(e){return{category:e,label:"TermsOfUseClose",experimentMetric:!0}},k=function(e){return{category:e,label:"TermsOfUse",experimentMetric:!0}};function M(e,t){if(1&e&&(c._uU(0," \n "),c.TgZ(1,"dtm-agreements-info",57),c._uU(2,"\n "),c.qZA(),c._uU(3,"\n")),2&e){const e=t.statement,n=c.oxw();c.xp6(1),c.Q6J("privacyAnalytic",c.VKq(5,C,n.pageName))("privacyCloseAnalytic",c.VKq(7,w,n.pageName+"PrivacyPolicyModal"))("termsCloseAnalytic",c.VKq(9,S,n.pageName+"TermsOfUseModal"))("termsAnalytic",c.VKq(11,k,n.pageName))("statement",e)}}const P=function(){return{statement:"I accept the below selected terms and agree to\nDriveTime's"}},O=function(e){return{category:e,label:"Affiliates",experimentMetric:!0}},U=function(e){return{"not-pristine":e}},I=function(e){return{category:e,label:"AffiliatesClose",experimentMetric:!0}},N=function(e){return{category:e,label:"Close"}},T=function(e){return{category:e,action:"click",label:"CallCustomerService"}},D=function(e){return{category:e,action:"click",label:"PrivacyPolicy"}},x=function(e){return{category:e,label:"ReadFullEAgreementClose"}};let E=(()=>{class e{constructor(e,t,n){this._linkHelper=e,this._cdRef=t,this._analyticService=n,this.hasConsented=!0,this.readDisclaimerRequired=!1,this.showScrollIndicator=!0,this.isPristine=!0,this.LinkButtonTypes=r.CY,this.consentButtonId=o.uR.generateShortUuid(),this.legalAgreementButtonId=o.uR.generateShortUuid(),this.privacyPolicyLink=this._linkHelper.privacyPolicyLink(),this.atBottom=!1,this.showFullyReviewTermsError=!1,this.fullyReviewedTerms=!1,this.affiliatesButtonId=o.uR.generateShortUuid(),this._componentUnsubscribe=new a.xQ,this.checkBoxErrorMessage="Please check the box above to accept our terms and certify you understand in order to proceed to your approval."}set pageName(e){this._pageName=e,this.consentAnalyticData={category:e,label:"DialerConsent",experimentMetric:!0},this.submitAnalyticData={category:e,label:"AgreeToTerms",experimentMetric:!0},this.submitAnalyticError={action:"error",category:e,label:"AgreeToTerms",experimentMetric:!0}}get pageName(){return this._pageName}setFocus(){}get isTermsReviewRequired(){return this.readDisclaimerRequired&&!this.fullyReviewedTerms}checkValidity(){return!this.isTermsReviewRequired&&(this.group.get("certifyInfoCorrect").markAsTouched(),!this.isInvalid()||(this._analyticService.logAnalytic(this.submitAnalyticError),!1))}isInvalid(){return this.group.get("certifyInfoCorrect").invalid}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}removePristineStatus(){this.isTermsReviewRequired?this.validateTermsReview():(this.isPristine=!1,this._cdRef.detectChanges())}validateTermsReview(){this.showFullyReviewTermsError=!0,this._analyticService.logAnalytic({category:this.pageName,label:"ReadFullDisclaimer",action:"error"})}openLegalAffiliatesModal(){this.legalAffiliatesModal.openModal()}openLegalModalLegalAgreement(){this.legalModalLegalAgreement.openModal()}openLegalModalEConsent(){this.legalModalEConsent.openModal()}onScroll(){if(s.cmp.isUndefinedOrNull(this.scrollableContainer)||!this.showScrollIndicator)return;const e=this.scrollableContainer.nativeElement,t=this.atBottom,n=Math.abs(e.scrollTop-e.scrollHeight+e.offsetHeight);this.atBottom=n<=5,this.atBottom!==t&&this._cdRef.detectChanges(),this.atBottom&&!this.fullyReviewedTerms&&(this.onScrollToBottomEvent(),this.fullyReviewedTerms=!0)}onScrollToBottomEvent(){this._analyticService.logAnalytic({category:this.pageName,label:"ReadFullDisclaimer",action:"scroll"})}}return e.\u0275fac=function(t){return new(t||e)(c.Y36(i.R),c.Y36(c.sBO),c.Y36(l.g))},e.\u0275cmp=c.Xpm({type:e,selectors:[["dtm-disclaimer-scroll"]],viewQuery:function(e,t){if(1&e&&(c.Gf(d,5),c.Gf(u,5),c.Gf(p,5),c.Gf(h,5),c.Gf(m,5)),2&e){let e;c.iGM(e=c.CRH())&&(t.legalAffiliatesModal=e.first),c.iGM(e=c.CRH())&&(t.legalModalLegalAgreement=e.first),c.iGM(e=c.CRH())&&(t.legalModalEConsent=e.first),c.iGM(e=c.CRH())&&(t.scrollableContainer=e.first),c.iGM(e=c.CRH())&&(t.elementRef=e.first)}},inputs:{group:"group",hasConsented:"hasConsented",readDisclaimerRequired:"readDisclaimerRequired",showScrollIndicator:"showScrollIndicator",pageName:"pageName"},decls:198,vars:61,consts:[["attr.data-cy","disclaimer-cart","attr.qaid","disclaimer-cart",1,"disclaimer-container"],[1,"scrolldiv"],[1,"inner-container",3,"scroll"],["innercontainer",""],[1,"form-terms-header"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"line-bottom"],[1,"space"],[3,"ngTemplateOutlet"],[1,"Contact-Consent"],[1,"consent-container","vwXS---400"],["className","frameless-button modal-link","ariaLabel","View DriveTime Affiliates",3,"analytic","linkButtonType","elementId","click"],[1,"text-before"],[1,"remove-space-character"],[1,"dialing-info"],[1,"text-style-1"],[1,"text-style-2"],[1,"text-style-3"],[1,"text-style-4"],[1,"td-checkbox"],["qaid","qa-disclaimer-scrollable-privacy-checkbox","name","HasConsented","id","HasConsented","ariaLabel","Click to Select Consent Preferences","ariaDescribedBy","disclaimer-scrollable-consent-checkbox-description",3,"checkOnLeft","required","checked","analyticCheckedData","control"],["id","disclaimer-scrollable-consent-checkbox-description",1,"td-checkbox"],["class","show-hide-scroll-desktop",3,"showIcon",4,"ngIf"],[1,"gray-overlay"],[1,"line-bottom","static-line"],[1,"submit-container"],["qaid","qa-disclaimer-scrollable-contact-checkbox","name","Contact policy","ariaLabel","Provide Legal Certification and Consent to Pull Credit","ariaDescribedBy","disclaimer-scrollable-certify-checkbox-description",1,"green-checkbox",3,"checked","defaultChecked","checkOnLeft","required","disabled","control","analyticCheckedData","analyticErrorData","errorMessage","click"],["id","disclaimer-scrollable-certify-checkbox-description",1,"td-checkbox","description"],[3,"ngIf"],[1,"checkbox-tooltip",3,"ngClass"],["className","checkbox-tooltip text-size-tiny",3,"hasError","showInfo"],["submitDisclaimer",""],["disclaimerLegalAgreement",""],["modalSize","small","ariaLabel","DriveTime's Affiliates",1,"affiliates-modal",3,"title","analyticDataClose","focusToElementId"],["affiliates",""],[1,"modal-content"],["modalSize","small","ariaLabel","View DriveTime Legal Agreement",3,"analyticDataClose","title","focusToElementId","isFixed"],["legalAgreement",""],[1,"content-modal-content"],[1,"modal-content-container"],[1,"modal-title"],[1,"terms-list"],[1,"list-term"],["href","tel:+18884181212",3,"analytic"],[1,"final-paragraph"],[3,"href","targetedLink","analytic"],["modalSize","large","ariaLabel","View DriveTime E-Consent Agreement",3,"analyticDataClose","title","buttonText","focusToElementId"],["eConsent",""],[1,"modal-body"],[3,"showTitle"],["agreements",""],[1,"show-hide-scroll-desktop",3,"showIcon"],[1,"error-text"],[1,"submitdisclaimer"],["className","frameless-button modal-link","ariaLabel","View DriveTime Legal Agreement",3,"analytic","elementId","linkButtonType","click"],[4,"ngTemplateOutlet"],["className","frameless-button modal-link","ariaLabel","View DriveTime E-Consent Agreement",3,"analytic","elementId","linkButtonType","click"],[1,"inline-agreement",3,"privacyAnalytic","privacyCloseAnalytic","termsCloseAnalytic","termsAnalytic","statement"]],template:function(e,t){if(1&e&&(c.TgZ(0,"div",0),c._uU(1,"\n "),c.TgZ(2,"div",1),c._uU(3,"\n "),c.TgZ(4,"div",2,3),c.NdJ("scroll",function(){return t.onScroll()}),c._uU(6,"\n "),c.TgZ(7,"div",4),c._uU(8,"\n "),c.GkF(9,5),c._uU(10,"\n "),c.qZA(),c._uU(11,"\n "),c._UZ(12,"div",6),c._uU(13,"\n "),c._UZ(14,"div",7),c._uU(15,"\n\n "),c.GkF(16,8),c._uU(17,"\n "),c._UZ(18,"div",7),c._uU(19,"\n "),c._UZ(20,"div",6),c._uU(21,"\n "),c._UZ(22,"div",7),c._uU(23,"\n "),c.TgZ(24,"div",9),c._uU(25,"\n "),c.TgZ(26,"span",10),c._uU(27,"\n I consent to receiving communication via telephone, email and texts by DriveTime, its\n "),c.TgZ(28,"dtm-link-button",11),c.NdJ("click",function(){return t.openLegalAffiliatesModal()}),c._uU(29,"\n "),c.TgZ(30,"span",12),c._uU(31,"affiliates"),c.qZA(),c._uU(32,"\n "),c.qZA(),c.TgZ(33,"span",13),c._uU(34,", "),c.qZA(),c._uU(35,"and others offering financing. Standard rates may apply and I can\n opt-out at any time. I also agree that DriveTime may include my personal information in a communication.\n I understand that email and text are not secure and that a third party may see our correspondence. By\n communicating with DriveTime via email or text, I am consenting to that type of contact.\n "),c.qZA(),c._uU(36,"\n "),c._UZ(37,"div",7),c._uU(38,"\n "),c.TgZ(39,"div"),c._uU(40,"\n "),c.TgZ(41,"span",14),c._uU(42,"\n DriveTime may use an automatic dialing system or pre-recorded or artificial voice message to contact me.\n "),c.TgZ(43,"span",15),c._uU(44,"I agree that DriveTime may contact me"),c.qZA(),c._uU(45,"\n at any\n "),c.TgZ(46,"span",16),c._uU(47,"landline"),c.qZA(),c._uU(48,", cell phone, or email address that\n "),c.TgZ(49,"span",17),c._uU(50,"I"),c.qZA(),c._uU(51,"\n provide or that is publicly available and associated with\n "),c.TgZ(52,"span",18),c._uU(53,"me and I may be contacted now or in the future."),c.qZA(),c._uU(54,"\n "),c.qZA(),c._uU(55,"\n "),c.qZA(),c._uU(56,"\n "),c._UZ(57,"div",7),c._uU(58,"\n "),c.TgZ(59,"table"),c._uU(60,"\n "),c.TgZ(61,"tr"),c._uU(62,"\n "),c.TgZ(63,"td",19),c._uU(64,"\n "),c.TgZ(65,"dtm-input-checkbox-refactored",20),c._uU(66,"\n "),c.qZA(),c._uU(67,"\n "),c.qZA(),c._uU(68,"\n "),c.TgZ(69,"td",21),c._uU(70,"I agree to be contacted by others, or by automatic dialing system, pre-recorded\n voice message, or automated text message.\n "),c.qZA(),c._uU(71,"\n "),c.qZA(),c._uU(72,"\n "),c.qZA(),c._uU(73,"\n "),c.qZA(),c._uU(74,"\n "),c.YNc(75,g,2,1,"dtm-scroll-indicator",22),c._uU(76,"\n "),c._UZ(77,"div",23),c._uU(78,"\n "),c.qZA(),c._uU(79,"\n "),c.qZA(),c._uU(80,"\n "),c._UZ(81,"div",24),c._uU(82,"\n "),c.TgZ(83,"div",25),c._uU(84,"\n "),c.TgZ(85,"table"),c._uU(86,"\n "),c.TgZ(87,"tr"),c._uU(88,"\n "),c.TgZ(89,"td",19),c._uU(90,"\n "),c.TgZ(91,"dtm-input-checkbox-refactored",26),c.NdJ("click",function(){return t.removePristineStatus()}),c._uU(92,"\n "),c.qZA(),c._uU(93,"\n\n "),c.qZA(),c._uU(94,"\n "),c.TgZ(95,"td",27),c._uU(96,"By submitting this form, I agree and certify that I have fully read and understand the above\n information.\n "),c.qZA(),c._uU(97,"\n "),c.qZA(),c._uU(98,"\n "),c.qZA(),c._uU(99,"\n "),c.qZA(),c._uU(100,"\n "),c.YNc(101,f,4,0,"ng-template",28),c._uU(102,"\n"),c.qZA(),c._uU(103,"\n"),c.TgZ(104,"div",29),c._uU(105,"\n "),c.TgZ(106,"dtm-form-tooltip",30),c._uU(107,"\n "),c.TgZ(108,"tooltip-text"),c._uU(109),c.qZA(),c._uU(110,"\n "),c.qZA(),c._uU(111,"\n"),c.qZA(),c._uU(112,"\n\n"),c.YNc(113,y,6,1,"ng-template",null,31,c.W1O),c._uU(115,"\n"),c.YNc(116,b,24,11,"ng-template",null,32,c.W1O),c._uU(118,"\n\n"),c.TgZ(119,"dtm-stylized-modal",33,34),c._uU(121,"\n "),c.TgZ(122,"div",35),c._uU(123,"\n "),c._UZ(124,"dtm-legal-affiliates"),c._uU(125,"\n "),c.qZA(),c._uU(126,"\n"),c.qZA(),c._uU(127,"\n\n"),c.TgZ(128,"dtm-stylized-modal",36,37),c._uU(130,"\n "),c.TgZ(131,"div",35),c._uU(132,"\n "),c.TgZ(133,"div",38),c._uU(134,"\n "),c.TgZ(135,"div",39),c._uU(136,"\n "),c.TgZ(137,"span",40),c._uU(138,"\n Approval Information\n "),c.qZA(),c._uU(139,"\n "),c.TgZ(140,"p"),c._uU(141,"\n By clicking the 'Submit' button:\n "),c.qZA(),c._uU(142,"\n "),c.TgZ(143,"ul",41),c._uU(144,"\n "),c.TgZ(145,"li",42),c._uU(146,"\n You certify that the information you provided is complete and correct.\n "),c.qZA(),c._uU(147,"\n "),c.TgZ(148,"li",42),c._uU(149,"\n You authorize DriveTime to investigate your credit, including obtaining credit or similar\n reports from one or more consumer credit reporting agencies. Upon request, you will be\n informed of the name and address of the consumer reporting agency that furnished the report.\n "),c.qZA(),c._uU(150,"\n "),c.TgZ(151,"li",42),c._uU(152,"\n You understand you must complete the credit application process at a DriveTime dealership.\n "),c.qZA(),c._uU(153,"\n "),c.TgZ(154,"li",42),c._uU(155,"\n "),c.TgZ(156,"span"),c._uU(157,"\n If you have any questions, you may call us at.\n "),c.qZA(),c._uU(158,"\n "),c.TgZ(159,"a",43),c._uU(160,"\n 888-418-1212\n "),c.qZA(),c._uU(161,"\n "),c.qZA(),c._uU(162,"\n "),c.TgZ(163,"li",42),c._uU(164,"\n You consent to be contacted by DriveTime and other third parties via telephone, email and\n texts. Standard rates may apply and you can opt out at any time. We may use an automatic\n dialing system or pre-recorded voice message to contact you.\n "),c.qZA(),c._uU(165,"\n "),c.qZA(),c._uU(166,"\n "),c.TgZ(167,"p",44),c._uU(168,"\n "),c.TgZ(169,"span"),c._uU(170,"\n More information about how we may communicate with and about you, including your right to\n Opt\n Out of e-mail at any time, is available in our\n "),c.qZA(),c._uU(171,"\n "),c.TgZ(172,"a",45),c._uU(173,"\n "),c.TgZ(174,"span"),c._uU(175,"\n Privacy Policy.\n "),c.qZA(),c._uU(176,"\n "),c.qZA(),c._uU(177,"\n "),c.TgZ(178,"span"),c._uU(179,"\n Thank you for trusting DriveTime to meet your vehicle and financing needs!\n "),c.qZA(),c._uU(180,"\n "),c.qZA(),c._uU(181,"\n "),c.qZA(),c._uU(182,"\n "),c.qZA(),c._uU(183,"\n "),c.qZA(),c._uU(184,"\n"),c.qZA(),c._uU(185,"\n\n"),c.TgZ(186,"dtm-legal-modal",46,47),c._uU(188,"\n "),c.TgZ(189,"div",48),c._uU(190,"\n "),c._UZ(191,"dtm-e-consent",49),c._uU(192,"\n "),c.qZA(),c._uU(193,"\n"),c.qZA(),c._uU(194,"\n\n"),c.YNc(195,M,4,13,"ng-template",null,50,c.W1O),c._uU(197,"\n")),2&e){const e=c.MAs(114),n=c.MAs(196);c.ekj("invalid",t.isTermsReviewRequired&&t.showFullyReviewTermsError),c.xp6(9),c.Q6J("ngTemplateOutlet",n)("ngTemplateOutletContext",c.DdM(46,P)),c.xp6(7),c.Q6J("ngTemplateOutlet",e),c.xp6(12),c.Q6J("analytic",c.VKq(47,O,t.pageName))("linkButtonType",t.LinkButtonTypes.Button)("elementId",t.affiliatesButtonId),c.xp6(37),c.Q6J("checkOnLeft",!0)("required",!1)("checked",t.hasConsented)("analyticCheckedData",t.consentAnalyticData)("control",t.group.controls.hasConsented),c.xp6(10),c.Q6J("ngIf",t.showScrollIndicator&&!t.atBottom),c.xp6(8),c.ekj("disabled",t.isTermsReviewRequired),c.xp6(8),c.Q6J("checked",!1)("defaultChecked",!0)("checkOnLeft",!0)("required",!0)("disabled",t.isTermsReviewRequired)("control",t.group.controls.certifyInfoCorrect)("analyticCheckedData",t.submitAnalyticData)("analyticErrorData",t.submitAnalyticError)("errorMessage",t.checkBoxErrorMessage),c.xp6(10),c.Q6J("ngIf",t.isTermsReviewRequired&&t.showFullyReviewTermsError),c.xp6(3),c.Q6J("ngClass",c.VKq(49,U,!t.isPristine)),c.xp6(2),c.Q6J("hasError",!t.group.controls.certifyInfoCorrect.valid)("showInfo",!1),c.xp6(3),c.hij("\n ",t.checkBoxErrorMessage,"\n "),c.xp6(10),c.Q6J("title","DriveTime's Affiliates")("analyticDataClose",c.VKq(51,I,t.pageName+"AffiliatesModal"))("focusToElementId",t.affiliatesButtonId),c.xp6(9),c.Q6J("analyticDataClose",c.VKq(53,N,t.pageName+"LegalAgreementModal"))("title","Read Legal Agreement")("focusToElementId",t.legalAgreementButtonId)("isFixed",!0),c.xp6(31),c.Q6J("analytic",c.VKq(55,T,t.pageName+"LegalAgreementModal")),c.xp6(13),c.Q6J("href",t.privacyPolicyLink,c.LSH)("targetedLink",t.privacyPolicyLink)("analytic",c.VKq(57,D,t.pageName+"LegalAgreementModal")),c.xp6(14),c.Q6J("analyticDataClose",c.VKq(59,x,t.pageName+"EConsentAgreementModal"))("title","Consent to use Electronic Signatures and Records")("buttonText","Ok")("focusToElementId",t.consentButtonId),c.xp6(5),c.Q6J("showTitle",!1)}},styles:["[_nghost-%COMP%] .disclaimer-container[_ngcontent-%COMP%]{position:relative;width:100%;margin-bottom:1rem;background-color:#fff;border:solid 1px #ececec;border-radius:.222rem}[_nghost-%COMP%] .disclaimer-container.invalid[_ngcontent-%COMP%]{border:1px solid #f74e50;margin-bottom:2.187rem}[_nghost-%COMP%] .disclaimer-container[_ngcontent-%COMP%] .error-text[_ngcontent-%COMP%]{position:absolute;color:#f74e50;font-weight:normal;font-size:2.8vw;margin-top:.25rem}[_nghost-%COMP%] .scrolldiv[_ngcontent-%COMP%]{position:relative}[_nghost-%COMP%] .inner-container[_ngcontent-%COMP%]{max-height:15.111rem;width:100%;padding:.87rem .62rem .88rem .97rem;font-size:2.8vw;font-stretch:normal;font-style:normal;flex-direction:column;justify-content:center;grid-gap:.78rem;gap:.78rem;overflow-y:scroll;max-width:100%;font-weight:normal;color:#4e575e;line-height:.889rem;scrollbar-width:none}[_nghost-%COMP%] .inner-container[_ngcontent-%COMP%] .form-terms-header[_ngcontent-%COMP%]{font-weight:normal;margin:0 auto .6rem}[_nghost-%COMP%] .inner-container[_ngcontent-%COMP%] .Contact-Consent[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{max-width:100%}[_nghost-%COMP%] .inner-container[_ngcontent-%COMP%] dtm-agreements-info{display:block;text-align:center}[_nghost-%COMP%] .inner-container[_ngcontent-%COMP%] dtm-agreements-info .statement{white-space:normal}[_nghost-%COMP%] .inner-container[_ngcontent-%COMP%] dtm-agreements-info.inline-agreement{display:inline}[_nghost-%COMP%] .inner-container[_ngcontent-%COMP%] .modal-link{cursor:pointer;color:#00abe8}[_nghost-%COMP%] .inner-container[_ngcontent-%COMP%] .link-button-inner-content{line-height:.7rem;padding:0;margin:0}[_nghost-%COMP%] .inner-container[_ngcontent-%COMP%] dtm-scroll-indicator.show-hide-scroll-desktop .scroll-indicator-wrapper.scroll-indicator-align-right{width:2.333rem;height:2.333rem;right:.556rem;bottom:.222rem;background-color:#ffffffb3}[_nghost-%COMP%] .gray-overlay[_ngcontent-%COMP%]{position:absolute;bottom:0;height:1rem;width:calc(100% - 1.4rem);opacity:.7;background-image:linear-gradient(to top,#ffffff 50%,rgba(255,255,255,0))}[_nghost-%COMP%] .space[_ngcontent-%COMP%]{height:.805rem}[_nghost-%COMP%] .line-bottom[_ngcontent-%COMP%]{margin:auto;background-color:#ececec;height:.06rem}[_nghost-%COMP%] .line-bottom.static-line[_ngcontent-%COMP%]{margin-left:1rem;margin-right:1.33rem;height:.03rem}[_nghost-%COMP%] .consent-container[_ngcontent-%COMP%]{width:15.89rem;font-size:2.8vw;font-weight:normal;font-stretch:normal;font-style:normal;line-height:1.25;letter-spacing:normal;text-align:left}[_nghost-%COMP%] .dialing-info[_ngcontent-%COMP%]{width:15.89rem;font-size:2.8vw;font-weight:normal;font-stretch:normal;font-style:normal;line-height:1.33;letter-spacing:normal;text-align:left}[_nghost-%COMP%] .submit-container[_ngcontent-%COMP%]{padding-left:1rem;padding-right:1rem;padding-top:.75rem;margin-bottom:.8rem;font-size:2.8vw;font-weight:normal;font-stretch:normal;font-style:normal}[_nghost-%COMP%] .submit-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{max-width:100%}[_nghost-%COMP%] .submit-container.disabled[_ngcontent-%COMP%] .green-checkbox .checkbox-checkmark{background-color:#ececec;border-color:#ececec}[_nghost-%COMP%] .submit-container.disabled[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{color:#8f9aa3}[_nghost-%COMP%] .td-checkbox[_ngcontent-%COMP%]{vertical-align:top;font-size:2.8vw;font-weight:normal;font-stretch:normal;font-style:normal;line-height:.889rem;letter-spacing:normal;text-align:left;color:#4e575e}[_nghost-%COMP%] .td-checkbox[_ngcontent-%COMP%] .green-checkbox .checkbox-container .checkbox-label .checkbox-checkmark.checked{background-color:#00af66}[_nghost-%COMP%] .td-checkbox[_ngcontent-%COMP%] .checkbox-container .checkbox-label .checkbox-checkmark.checked{background-color:#4e575e}[_nghost-%COMP%] [_ngcontent-%COMP%]::-webkit-scrollbar{width:.39rem;height:.39rem;padding:2rem}[_nghost-%COMP%] [_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#cccccc;border-radius:.56rem;border:.11rem solid transparent;background-clip:padding-box;display:none}[_nghost-%COMP%] [_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{border:0}[_nghost-%COMP%] [_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}[_nghost-%COMP%] .modal-container[_ngcontent-%COMP%]{height:39.5rem;margin-top:3rem;position:fixed!important}[_nghost-%COMP%] .modal-container[_ngcontent-%COMP%] .outer-modal-container.small{max-width:100%}[_nghost-%COMP%] .modal-outer-container{width:auto;max-width:-moz-fit-content;max-width:fit-content;background:transparent;top:5%}[_nghost-%COMP%] dtm-legal-modal .outer-modal-container{height:calc(100% - 10.8rem);position:fixed!important}[_nghost-%COMP%] .affiliates-modal>.overlay-outer, [_nghost-%COMP%] .overlay-outer-fixed{position:fixed!important}[_nghost-%COMP%] .overlay{position:fixed!important}[_nghost-%COMP%] .modal-content[_ngcontent-%COMP%]{padding:2rem}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%]{background:#ffffff;font-size:.77rem;text-align:justify;color:#8f9aa3;line-height:1.2rem}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{display:block;font-size:1rem;text-align:center;font-weight:600}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%] .terms-list[_ngcontent-%COMP%]{margin:0;padding:0 0 0 2vw}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%] .terms-list[_ngcontent-%COMP%] .list-term[_ngcontent-%COMP%]{margin-bottom:.5rem}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%] .confirm-button[_ngcontent-%COMP%]{border-radius:6px;color:#fff;padding:.5rem;text-align:center;width:100%;background:#b5e9d4}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%] .final-paragraph[_ngcontent-%COMP%]{text-align:center}[_nghost-%COMP%] .checkbox-tooltip[_ngcontent-%COMP%]{max-height:0;overflow:hidden;transition:max-height .5s ease .5s}[_nghost-%COMP%] .not-pristine[_ngcontent-%COMP%]{max-height:30rem}[_nghost-%COMP%] .checkbox-tooltip.not-pristine[_ngcontent-%COMP%] dtm-form-tooltip .form-tooltip.checkbox-tooltip.text-size-tiny.has-error{margin-bottom:.667rem}[_nghost-%COMP%] .remove-space-character[_ngcontent-%COMP%]{margin-left:-.17rem}@media screen and (max-width: 768px){[_nghost-%COMP%] .modal-outer-container{top:20.8rem;border-radius:0}}@media screen and (min-width: 414px){[_nghost-%COMP%] .disclaimer-container[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .disclaimer-container[_ngcontent-%COMP%] .error-text[_ngcontent-%COMP%]{font-size:.625rem}[_nghost-%COMP%] .td-checkbox[_ngcontent-%COMP%]{font-size:.625rem}[_nghost-%COMP%] .submit-container[_ngcontent-%COMP%]{font-size:.625rem}[_nghost-%COMP%] .inner-container[_ngcontent-%COMP%]{font-size:.625rem;height:15.111rem;overflow-y:scroll}[_nghost-%COMP%] .consent-container[_ngcontent-%COMP%]{width:15.89rem;font-size:.625rem}[_nghost-%COMP%] .dialing-info[_ngcontent-%COMP%]{width:15.89rem;font-size:.625rem}[_nghost-%COMP%] .modal-content[_ngcontent-%COMP%]{padding:2rem 1rem}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%]{font-size:.77rem}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{font-size:1rem}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%] .terms-list[_ngcontent-%COMP%]{padding-left:1rem}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%] .confirm-button[_ngcontent-%COMP%]{font-size:.77rem}}@media screen and (min-width: 768px){[_nghost-%COMP%] .disclaimer-container[_ngcontent-%COMP%]{width:100%}[_nghost-%COMP%] .inner-container[_ngcontent-%COMP%]{height:15.111rem;overflow-y:scroll}[_nghost-%COMP%] .consent-container[_ngcontent-%COMP%]{width:18.55rem}[_nghost-%COMP%] .dialing-info[_ngcontent-%COMP%]{width:18.55rem}}"]}),e})()},84941:function(e,t,n){"use strict";n.d(t,{Z:function(){return p}});var i=n(97582),a=n(37716),o=n(79765),r=(n(13380),n(16109),n(82110));const s=["addressLine1"],l=["addressLine2"];function c(e,t){if(1&e){const e=a.EpF();a._uU(0,"\n"),a.TgZ(1,"dtm-input-address-typeahead",4,5),a.NdJ("addressChange",function(t){return a.CHM(e),a.oxw().handleAddressChange(t)})("addressChangeManual",function(t){return a.CHM(e),a.oxw().handleAddressManualChange(t)}),a._uU(3,"\n "),a.TgZ(4,"span"),a._uU(5),a.qZA(),a._uU(6,"\n "),a.qZA(),a._uU(7,"\n")}if(2&e){const e=a.oxw();a.xp6(1),a.Q6J("validateFor","address")("required",!0)("control",e.addressGroup.controls.addressLine1)("hasInfo",!1)("hasTooltip",!1)("qaid","qa-ga2-address")("analytic-data",e.analyticData),a.xp6(4),a.hij("\n ",e.addressLine1placeholderText,"\n ")}}function d(e,t){if(1&e){const e=a.EpF();a._uU(0,"\n "),a.TgZ(1,"dtm-input-address",6,5),a.NdJ("onBlur",function(t){return a.CHM(e),a.oxw().handleAddressManualChange(t)}),a._uU(3,"\n "),a.qZA(),a._uU(4,"\n")}if(2&e){const e=a.oxw();a.xp6(1),a.Q6J("qaid","qa-ga2-address")("required",!0)("controlName",e.addressGroup.controls.addressLine1)("analytic-data",e.analyticData)}}const u=function(e){return{action:"error",category:e,label:"AddressLine2"}};let p=(()=>{class e{constructor(){this.analyticData={},this.addressLine1placeholderText="Address",this.addressLine2placeholderText="Apt, Unit, Suite (if applicable)",this._componentUnsubscribe=new o.xQ,this.onAutocomplete=new a.vpe,this.onAddressChange=new a.vpe}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}handleAddressChange(e){return(0,i.mG)(this,void 0,void 0,function*(){this.onAutocomplete.emit(!0),this.onAddressChange.emit(r.A.googlePlaceToLocationResult(e))})}handleAddressManualChange(e){this.onAutocomplete.emit(!1),this.onAddressChange.emit(null)}onAddressLine2Blur(){return(0,i.mG)(this,void 0,void 0,function*(){this.onAddressChange.emit(null)})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["dtm-address-form"]],viewQuery:function(e,t){if(1&e&&(a.Gf(s,5),a.Gf(l,5)),2&e){let e;a.iGM(e=a.CRH())&&(t.addressLine1Element=e.first),a.iGM(e=a.CRH())&&(t.addressLine2Element=e.first)}},inputs:{addressGroup:"addressGroup",analyticData:["analytic-data","analyticData"],qaid:"qaid",labelId:"labelId",addressLine1placeholderText:"addressLine1placeholderText",addressLine2placeholderText:"addressLine2placeholderText",googleAutocompleteVariation:"googleAutocompleteVariation"},outputs:{onAutocomplete:"onAutocomplete",onAddressChange:"onAddressChange"},decls:9,vars:9,consts:[[3,"ngIf","ngIfElse"],["addressLine1Variation2",""],["qaid","qa-ga2-address-line2","name","AddressLine2","ariaLabel","Enter Address Line 2",3,"validateFor","required","placeholderText","controlName","analytic-data","onBlur"],["addressLine2",""],["name","Address","inputType","text","ariaLabel","Enter Address","errorMessage","Address is required","className","fs-mask",3,"validateFor","required","control","hasInfo","hasTooltip","qaid","analytic-data","addressChange","addressChangeManual"],["addressLine1",""],["ariaLabel","Enter Address",3,"qaid","required","controlName","analytic-data","onBlur"]],template:function(e,t){if(1&e&&(a.YNc(0,c,8,8,"ng-template",0),a._uU(1,"\n"),a.YNc(2,d,5,4,"ng-template",null,1,a.W1O),a._uU(4,"\n "),a.TgZ(5,"dtm-input-address",2,3),a.NdJ("onBlur",function(){return t.onAddressLine2Blur()}),a._uU(7,"\n "),a.qZA(),a._uU(8,"\n")),2&e){const e=a.MAs(3);a.Q6J("ngIf","variation_1"===t.googleAutocompleteVariation)("ngIfElse",e),a.xp6(5),a.Q6J("validateFor","addressLine2")("required",!1)("placeholderText",t.addressLine2placeholderText)("controlName",t.addressGroup.controls.addressLine2)("analytic-data",a.VKq(7,u,t.analyticData.category))}},encapsulation:2}),e})()},26183:function(e,t,n){"use strict";n.d(t,{W:function(){return y}});var i=n(37716),a=n(70764),o=n(38583),r=n(3679),s=n(82701),l=n(77519);const c=["dropDownElement"];function d(e,t){1&e&&i._UZ(0,"span",5)}function u(e,t){1&e&&(i.TgZ(0,"span",6),i._uU(1,"\n "),i.Hsn(2,1),i._uU(3,"\n "),i.qZA())}const p=[[["",8,"dropdown-option"]],[["",8,"dropdown-label"]]],h=function(e){return{valid:e}},m=function(e,t,n){return{"is-invalid":e,"has-value":t,"has-label":n}},g=function(e,t,n){return{ariaLabel:e,ariaDescribedby:t,ariaLabelledby:n}},f=[".dropdown-option",".dropdown-label"];let y=(()=>{class e{constructor(e){this._analyticService=e,this.hasLabel=!1,this.showArrow=!0,this.analyticData={},this.analyticDataOpen={},this.ariaLabelId="",this.ariaDescriptionId="",this.ariaLabel="",this.optionValueHasChanged=new i.vpe,this.hasFocus=!1}setFocus(){this.control.markAsTouched(),this.elementRef.nativeElement.focus()}checkValidity(){return this.control.markAsTouched(),!this.isInvalid()||(this._analyticService.logAnalytic(this.analyticData),!1)}isInvalid(){return this.control.touched&&!this.control.valid}hasValue(){return""!==this.control.value}handleClick(){this._analyticService.logAnalytic(this.analyticDataOpen)}handleFocus(){this.hasFocus=!0}handleBlur(){this.hasFocus=!1,this.isInvalid()&&this._analyticService.logAnalytic(this.analyticData)}minimizeLabel(){return this.hasLabel&&(this.hasValue()||this.hasFocus)}handleChange(e){this.optionValueHasChanged.emit(e)}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(a.g))},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-form-dropdown"]],viewQuery:function(e,t){if(1&e&&i.Gf(c,5),2&e){let e;i.iGM(e=i.CRH())&&(t.elementRef=e.first)}},inputs:{qaid:"qaid",hasLabel:"hasLabel",showArrow:"showArrow",control:"control",analyticData:["analytic-data","analyticData"],analyticDataOpen:["analytic-data-open","analyticDataOpen"],ariaLabelId:"ariaLabelId",ariaDescriptionId:"ariaDescriptionId",ariaLabel:"ariaLabel"},outputs:{optionValueHasChanged:"optionValueHasChanged"},ngContentSelectors:f,decls:12,vars:17,consts:[[1,"dropdown-outer-container",3,"ngClass"],["includeSVG","dt-glyph-caret",4,"ngIf"],["data-cy","drop-down-select",1,"drop-down-select",3,"ngClass","accessibility","formControl","change","focus","blur","click"],["dropDownElement",""],["class","dropdown-label","aria-hidden","true",4,"ngIf"],["includeSVG","dt-glyph-caret"],["aria-hidden","true",1,"dropdown-label"]],template:function(e,t){1&e&&(i.F$t(p),i.TgZ(0,"div",0),i._uU(1,"\n "),i.YNc(2,d,1,0,"span",1),i._uU(3,"\n "),i.TgZ(4,"select",2,3),i.NdJ("change",function(e){return t.handleChange(e.target.value)})("focus",function(){return t.handleFocus()})("blur",function(){return t.handleBlur()})("click",function(){return t.handleClick()}),i._uU(6,"\n "),i.Hsn(7),i._uU(8,"\n "),i.qZA(),i._uU(9,"\n "),i.YNc(10,u,4,0,"span",4),i._uU(11,"\n"),i.qZA()),2&e&&(i.Q6J("ngClass",i.VKq(7,h,!t.isInvalid()&&t.hasValue())),i.xp6(2),i.Q6J("ngIf",t.showArrow),i.xp6(2),i.Q6J("ngClass",i.kEZ(9,m,t.isInvalid(),t.minimizeLabel(),t.hasLabel))("accessibility",i.kEZ(13,g,t.ariaLabel,t.ariaDescriptionId,t.ariaLabelId))("formControl",t.control),i.uIk("qaid",t.qaid),i.xp6(6),i.Q6J("ngIf",t.hasLabel))},directives:[o.mk,o.O5,r.EJ,s.z,r.JJ,r.oH,l.pw],styles:[".dropdown-outer-container[_ngcontent-%COMP%]{position:relative;width:100%;color:#00abe8;height:2.55rem;border-radius:.2rem}.dropdown-outer-container.valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.dropdown-outer-container[_ngcontent-%COMP%] select[_ngcontent-%COMP%]{background-color:transparent;border:none;-moz-appearance:none;-webkit-appearance:none}.dropdown-outer-container[_ngcontent-%COMP%] select[_ngcontent-%COMP%]::-ms-expand{display:none}.dropdown-outer-container[_ngcontent-%COMP%] .dt-glyph-caret[_ngcontent-%COMP%]{display:inline-block;width:4.5vw;height:1rem;right:4vw;fill:#00abe8;z-index:10;transform:rotate(90deg);line-height:0;transform-origin:20% 100%;position:absolute}.dropdown-outer-container[_ngcontent-%COMP%] .drop-down-select[_ngcontent-%COMP%]{width:100%;font-size:4vw;font-weight:600;padding:0 4vw;color:#00abe8;position:absolute;height:100%;z-index:11;border:1px solid #ececec;border-radius:.2rem}.dropdown-outer-container[_ngcontent-%COMP%] .drop-down-select[_ngcontent-%COMP%]:focus{-webkit-tap-highlight-color:#075078}.dropdown-outer-container[_ngcontent-%COMP%] .drop-down-select.is-invalid[_ngcontent-%COMP%]{border-color:#f74e50}.dropdown-outer-container[_ngcontent-%COMP%] .drop-down-select.has-label[_ngcontent-%COMP%]{padding:.9rem 0 0 5vw}.dropdown-outer-container[_ngcontent-%COMP%] .drop-down-select.has-value[_ngcontent-%COMP%] + .dropdown-label[_ngcontent-%COMP%]{transform:translate(3vw,.25rem) scale(.65);transition:all .5s ease-in-out}.dropdown-outer-container[_ngcontent-%COMP%] .dropdown-label[_ngcontent-%COMP%]{color:#8f9aa3;padding-left:3vw;pointer-events:none;position:absolute;transform:translate(3vw,.65rem) scale(.85);transform-origin:left top;transition:all .5s ease-in-out;font-size:4vw;z-index:12}@media screen and (min-width: 414px){.dropdown-outer-container[_ngcontent-%COMP%]{height:3rem}.dropdown-outer-container[_ngcontent-%COMP%] .dt-glyph-caret[_ngcontent-%COMP%]{width:.9rem;height:1rem;right:1rem}.dropdown-outer-container[_ngcontent-%COMP%] .drop-down-select[_ngcontent-%COMP%]{height:3rem;font-size:.89rem;padding:0 .9rem}.dropdown-outer-container[_ngcontent-%COMP%] .drop-down-select.has-label[_ngcontent-%COMP%]{padding:1.1rem 0 0 .9rem}.dropdown-outer-container[_ngcontent-%COMP%] .drop-down-select.has-value[_ngcontent-%COMP%] + .dropdown-label[_ngcontent-%COMP%]{transform:translate(.6rem,.4rem) scale(.7);transition:all .5s ease-in-out}.dropdown-outer-container[_ngcontent-%COMP%] .dropdown-label[_ngcontent-%COMP%]{padding-left:.6rem;font-size:.89rem;transform:translate(.6rem,.85rem) scale(1)}}"]}),e})()},48350:function(e,t,n){"use strict";n.d(t,{L:function(){return p}});var i=n(20483),a=n(37716),o=n(38583),r=n(77519);const s=function(e,t,n){return{"has-error":e,"show-info":t,"has-icon":n}};function l(e,t){if(1&e&&(a.TgZ(0,"span",4),a._uU(1,"\n "),a.qZA()),2&e){const e=a.oxw();a.Q6J("ngClass",a.kEZ(1,s,e.hasError,e.showInfo,e.hasIcon()))}}const c=[[["tooltip-text"]]],d=function(e,t){return{"has-error":e,"show-info":t}},u=["tooltip-text"];let p=(()=>{class e{hasIcon(){return!(i.cmp.isEmpty(this.svgIcon)||i.cmp.isUndefinedOrNull(this.svgIcon))}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["dtm-form-tooltip"]],inputs:{hasError:"hasError",showInfo:"showInfo",className:"className",qaid:"qaid",svgIcon:"svgIcon"},ngContentSelectors:u,decls:13,vars:13,consts:[[3,"ngClass"],[1,"padding-cell",3,"ngClass"],["class","tooltip-icon","includeSVG","dt-glyph-lock","height","100%","width","100%",3,"ngClass",4,"ngIf"],[1,"tooltip-text"],["includeSVG","dt-glyph-lock","height","100%","width","100%",1,"tooltip-icon",3,"ngClass"]],template:function(e,t){1&e&&(a.F$t(c),a.TgZ(0,"div",0),a._uU(1,"\n "),a.TgZ(2,"div",1),a._uU(3,"\n "),a.YNc(4,l,2,5,"span",2),a._uU(5,"\n "),a.TgZ(6,"div",3),a._uU(7,"\n "),a.Hsn(8),a._uU(9,"\n "),a.qZA(),a._uU(10,"\n "),a.qZA(),a._uU(11,"\n"),a.qZA(),a._uU(12,"\n")),2&e&&(a.Gre("form-tooltip ",t.className,""),a.Q6J("ngClass",a.WLB(7,d,t.hasError,t.showInfo)),a.uIk("qaid",t.qaid),a.xp6(2),a.Q6J("ngClass",a.WLB(10,d,t.hasError,t.showInfo)),a.xp6(2),a.Q6J("ngIf",t.hasIcon()))},directives:[o.mk,o.O5,r.pw],styles:[".form-tooltip[_ngcontent-%COMP%]{border:1px solid transparent;border-radius:0 0 4px 4px;border-top:none;max-height:0;overflow:hidden;padding:0 4vw;position:relative;transition:all .5s ease-in-out;font-size:3.6vw}.form-tooltip.has-error[_ngcontent-%COMP%], .form-tooltip.has-error.show-info[_ngcontent-%COMP%]{background:#f0bebc;border-color:#f74e50;color:#943937;max-height:20rem}.form-tooltip.show-info[_ngcontent-%COMP%]{background:#c4eafa;border:1px solid #00abe8;border-top:none;color:#00abe8;max-height:20rem}.form-tooltip[_ngcontent-%COMP%] .padding-cell[_ngcontent-%COMP%]{margin:.5rem 0;opacity:0;transition:opacity .2s ease-in-out}.form-tooltip[_ngcontent-%COMP%] .padding-cell.has-error[_ngcontent-%COMP%], .form-tooltip[_ngcontent-%COMP%] .padding-cell.show-info[_ngcontent-%COMP%]{opacity:1}.form-tooltip[_ngcontent-%COMP%] .padding-cell[_ngcontent-%COMP%] .tooltip-icon[_ngcontent-%COMP%]{display:inline-block;width:7vw;vertical-align:top;fill:transparent;padding-top:.2rem;transition:fill .5s ease-in-out}.form-tooltip[_ngcontent-%COMP%] .padding-cell[_ngcontent-%COMP%] .tooltip-icon.show-info[_ngcontent-%COMP%]{fill:#00abe8}.form-tooltip[_ngcontent-%COMP%] .padding-cell[_ngcontent-%COMP%] .tooltip-icon.has-error[_ngcontent-%COMP%]{fill:#f74e50}.form-tooltip[_ngcontent-%COMP%] .padding-cell[_ngcontent-%COMP%] .tooltip-icon[_ngcontent-%COMP%] + .tooltip-text[_ngcontent-%COMP%]{width:85%}.form-tooltip[_ngcontent-%COMP%] .padding-cell[_ngcontent-%COMP%] .tooltip-text[_ngcontent-%COMP%]{display:inline-block}.form-tooltip.checkbox-tooltip[_ngcontent-%COMP%]{border:none;border-radius:0;position:relative}.pointer-arrow[_ngcontent-%COMP%]{border-color:transparent transparent #f0bebc transparent;border-style:solid;border-width:0 8px 12px 8px;display:none;height:0;left:1rem;position:absolute;top:-.6rem;width:0}.pointer-arrow-shown[_ngcontent-%COMP%]{display:block}.alert-outer-container[_ngcontent-%COMP%]{position:relative}@media screen and (min-width: 414px){.form-tooltip[_ngcontent-%COMP%]{padding:0 .8rem;font-size:.77rem}.form-tooltip[_ngcontent-%COMP%] .padding-cell[_ngcontent-%COMP%] .tooltip-icon[_ngcontent-%COMP%]{width:1.6rem;height:1.6rem}}"]}),e})()},87020:function(e,t,n){"use strict";n.d(t,{x:function(){return P}});var i=n(46782),a=n(37716),o=n(45579),r=n(26183),s=n(62386),l=n(79765),c=n(49400),d=n(22741),u=n(40550),p=n(16109),h=n(64161),m=n(91353),g=n(97519),f=n(20483),y=n(50187),_=n(44985),A=n(84026),v=n(24014),b=n(84941),C=n(9968),w=n(3679),S=n(19967);const k=["formRef"],M=["*"];let P=(()=>{class e{constructor(e){this._cdRef=e,this.onSubmit=new a.vpe,this.onValid=new a.vpe,this.onStatusChange=new a.vpe,this.allowSubmitWhenInvalid=!1,this.analyticData={},this._componentUnsubscribe=new l.xQ}ngAfterContentChecked(){let e=[...this.nameElements.toArray(),this.phoneElement,...this.addressExpandables.toArray(),...this._getAddressElements(),this.zipElement,this.emailElement,this.incomeElement,this.desiredDownElement,this.dobElement,...this.dropdownElements.toArray(),this.ssnElement,...this.checkboxElements.toArray(),...this.checkboxRefactoredElements.toArray(),...this._textAreaElements.toArray(),this.disclaimerScrollElement];this._formElements=e.filter(e=>f.cmp.isDefinedAndNotNull(e)),this.group.statusChanges.pipe((0,i.R)(this._componentUnsubscribe)).subscribe(e=>{"VALID"===e&&this.onValid.emit(),this.onStatusChange.emit(e)})}_getAddressElements(){return this.addressElement?[this.addressElement]:[(this._dtmAddressForm||{}).addressLine1Element,(this._dtmAddressForm||{}).addressLine2Element]}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}ngAfterViewChecked(){this._cdRef.detectChanges()}handleFormSubmit(e){if(this._formElements){const t=this._formElements.filter(e=>!e.checkValidity());this.allowSubmitWhenInvalid||0===t.length?this.onSubmit.emit(e):t.length>0&&t[0].setFocus()}}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.sBO))},e.\u0275cmp=a.Xpm({type:e,selectors:[["dtm-form"]],contentQueries:function(e,t,n){if(1&e&&(a.Suo(n,c.x,5),a.Suo(n,d.h,5),a.Suo(n,p.U,5),a.Suo(n,h.d,5),a.Suo(n,C.h,5),a.Suo(n,m.w,5),a.Suo(n,y.W,5),a.Suo(n,g.p,5),a.Suo(n,v.m,5),a.Suo(n,b.Z,5),a.Suo(n,u.N,5),a.Suo(n,_.Q,5),a.Suo(n,o.b,5),a.Suo(n,A.Q,5),a.Suo(n,r.W,4),a.Suo(n,s.s,4)),2&e){let e;a.iGM(e=a.CRH())&&(t.phoneElement=e.first),a.iGM(e=a.CRH())&&(t.zipElement=e.first),a.iGM(e=a.CRH())&&(t.addressElement=e.first),a.iGM(e=a.CRH())&&(t.incomeElement=e.first),a.iGM(e=a.CRH())&&(t.desiredDownElement=e.first),a.iGM(e=a.CRH())&&(t.ssnElement=e.first),a.iGM(e=a.CRH())&&(t.dobElement=e.first),a.iGM(e=a.CRH())&&(t.emailElement=e.first),a.iGM(e=a.CRH())&&(t.disclaimerScrollElement=e.first),a.iGM(e=a.CRH())&&(t._dtmAddressForm=e.first),a.iGM(e=a.CRH())&&(t.nameElements=e),a.iGM(e=a.CRH())&&(t.addressExpandables=e),a.iGM(e=a.CRH())&&(t.checkboxElements=e),a.iGM(e=a.CRH())&&(t.checkboxRefactoredElements=e),a.iGM(e=a.CRH())&&(t.dropdownElements=e),a.iGM(e=a.CRH())&&(t._textAreaElements=e)}},viewQuery:function(e,t){if(1&e&&a.Gf(k,5),2&e){let e;a.iGM(e=a.CRH())&&(t.formRef=e.first)}},inputs:{group:"group",allowSubmitWhenInvalid:"allowSubmitWhenInvalid",analyticData:["analytic-data","analyticData"]},outputs:{onSubmit:"onSubmit",onValid:"onValid",onStatusChange:"onStatusChange"},ngContentSelectors:M,decls:6,vars:2,consts:[["novalidate","",3,"formGroup","analytic","ngSubmit"],["formRef",""]],template:function(e,t){1&e&&(a.F$t(),a.TgZ(0,"form",0,1),a.NdJ("ngSubmit",function(e){return t.handleFormSubmit(e)}),a._uU(2,"\n "),a.Hsn(3),a._uU(4,"\n"),a.qZA(),a._uU(5,"\n")),2&e&&a.Q6J("formGroup",t.group)("analytic",t.analyticData)},directives:[w._Y,w.JL,w.sg,S.e],encapsulation:2}),e})()},61718:function(e,t,n){"use strict";n.d(t,{b$:function(){return i.b},c3:function(){return a.c},J8:function(){return o.J}}),n(87020),n(48350);var i=n(45579),a=n(5359),o=n(98345)},84026:function(e,t,n){"use strict";n.d(t,{Q:function(){return y}});var i=n(37716),a=n(3679),o=n(70764),r=n(26215),s=n(38583),l=n(82701),c=n(77519);const d=["inputElem"];function u(e,t){1&e&&(i.TgZ(0,"span",7),i._uU(1,"\n "),i.Hsn(2),i._uU(3,"\n "),i.qZA())}function p(e,t){1&e&&(i.TgZ(0,"span",8),i._uU(1,"\n "),i.Hsn(2,1),i._uU(3,"\n "),i.qZA())}const h=[[["",8,"right-text"]],[["",8,"left-text"]]],m=function(e,t,n,i){return{ariaChecked$:e,ariaDisabled$:t,ariaDynamicLabel$:n,ariaDescribedby:i}},g=function(e,t){return{disabled:e,checked:t}},f=[".right-text",".left-text"];let y=(()=>{class e{constructor(e,t){this.cdRef=e,this._analyticService=t,this.control=new a.NI(""),this.checked=!1,this.defaultChecked=!1,this.qaid="form-checkbox",this.checkOnLeft=!0,this.analyticCheckedData={},this.analyticErrorData={},this.onCheck=new i.vpe,this.errorMessage="",this.ariaIsInvalid$=new r.X(!1),this.ariaDynamicLabel$=new r.X(""),this.ariaChecked$=new r.X(!1),this.ariaDisabled$=new r.X(!1)}setFocus(){this.elementRef.nativeElement.focus()}checkValidity(){return this.control.markAsTouched(),this.setAriaValues(),!this.isInvalid()||(this._analyticService.logAnalytic(this.analyticErrorData),!1)}ngOnInit(){this.control.setValue(this.checked),this.setAriaValues()}isInvalid(){return this.control.touched&&this.control.invalid}setAriaValues(){this.ariaDisabled$.next(this.disabled),this.ariaChecked$.next(this.checked);let e=this.isInvalid();this.ariaIsInvalid$.next(e),this.ariaDynamicLabel$.next(e?this.errorMessage:this.ariaLabel)}toggleChecked(){this.cdRef.detectChanges(),this.checked=!this.checked,this.checkValidity(),this.checked===this.defaultChecked&&this._analyticService.logAnalytic(this.analyticCheckedData),this.onCheck.emit(this.value)}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.sBO),i.Y36(o.g))},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-input-checkbox-refactored"]],viewQuery:function(e,t){if(1&e&&i.Gf(d,5),2&e){let e;i.iGM(e=i.CRH())&&(t.elementRef=e.first)}},inputs:{control:"control",className:"className",checked:"checked",defaultChecked:"defaultChecked",name:"name",required:"required",qaid:"qaid",value:"value",supplementaryValue:"supplementaryValue",disabled:"disabled",checkOnLeft:"checkOnLeft",analyticCheckedData:"analyticCheckedData",analyticErrorData:"analyticErrorData",ariaLabel:"ariaLabel",ariaDescribedBy:"ariaDescribedBy",errorMessage:"errorMessage",ariaIsInvalid$:"ariaIsInvalid$"},outputs:{onCheck:"onCheck"},ngContentSelectors:f,decls:19,vars:24,consts:[[1,"checkbox-label"],["class","check-right",4,"ngIf"],["type","checkbox","data-cy","ga1-form-checkbox",1,"checkbox-input",3,"ngClass","checked","required","formControl","accessibility","change"],["inputElem",""],["qaid","form-checkbox","data-cy","form-checkbox",1,"checkbox-checkmark",3,"ngClass"],["includeSVG","dt-glyph-checkmark"],["class","check-left",4,"ngIf"],[1,"check-right"],[1,"check-left"]],template:function(e,t){1&e&&(i.F$t(h),i.TgZ(0,"span"),i._uU(1,"\n "),i.TgZ(2,"label",0),i._uU(3,"\n "),i._uU(4,"\n "),i.YNc(5,u,4,0,"span",1),i._uU(6,"\n "),i.TgZ(7,"input",2,3),i.NdJ("change",function(){return t.toggleChecked()}),i.qZA(),i._uU(9,"\n "),i.TgZ(10,"span",4),i._uU(11,"\n "),i._UZ(12,"span",5),i._uU(13,"\n "),i.qZA(),i._uU(14,"\n "),i.YNc(15,p,4,0,"span",6),i._uU(16,"\n "),i.qZA(),i._uU(17,"\n"),i.qZA(),i._uU(18,"\n")),2&e&&(i.Gre("checkbox-container ",t.className,""),i.xp6(2),i.uIk("qaid",t.qaid)("data-cy",t.qaid),i.xp6(3),i.Q6J("ngIf",!t.checkOnLeft),i.xp6(2),i.Q6J("ngClass",t.className)("checked",t.checked)("required",t.required)("formControl",t.control)("accessibility",i.l5B(16,m,t.ariaChecked$,t.ariaDisabled$,t.ariaDynamicLabel$,t.ariaDescribedBy)),i.uIk("name",t.name||null)("value",t.value||null)("disabled",t.disabled||null),i.xp6(3),i.Q6J("ngClass",i.WLB(21,g,t.disabled,t.checked)),i.xp6(5),i.Q6J("ngIf",t.checkOnLeft))},directives:[s.O5,a.Zs,a.Wl,s.mk,a.JJ,a.oH,l.z,c.pw],styles:["[_nghost-%COMP%] .checkbox-input[_ngcontent-%COMP%]{height:0;width:0;display:block;padding:0;margin:0;opacity:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}[_nghost-%COMP%] .checkbox-input[_ngcontent-%COMP%]:focus + .checkbox-checkmark[_ngcontent-%COMP%]{outline:auto .3125rem #5c9df4}[_nghost-%COMP%] .checkbox-label[_ngcontent-%COMP%]{cursor:pointer;line-height:1rem;-webkit-tap-highlight-color:rgba(0,0,0,0)}[_nghost-%COMP%] .checkbox-checkmark[_ngcontent-%COMP%]{border-radius:4px;background-color:#fff;border:1px solid #8f9aa3;display:inline-block;width:.9rem;height:.9rem;vertical-align:middle;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}[_nghost-%COMP%] .checked.checkbox-checkmark[_ngcontent-%COMP%]{background-color:#00af66;border:none}[_nghost-%COMP%] .checked.checkbox-checkmark[_ngcontent-%COMP%] .dt-glyph-checkmark[_ngcontent-%COMP%]{display:inline-block}[_nghost-%COMP%] .checkbox-checkmark[_ngcontent-%COMP%] .dt-glyph-checkmark[_ngcontent-%COMP%]{width:2.5vw;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(0);display:none;fill:#fff}[_nghost-%COMP%] .check-right[_ngcontent-%COMP%]{margin-right:.33rem}[_nghost-%COMP%] .check-left[_ngcontent-%COMP%]{margin-left:.33rem}[_nghost-%COMP%] .checkbox-checkmark.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%] .vs-check[_ngcontent-%COMP%] .checkbox-label[_ngcontent-%COMP%]{display:flex;flex-wrap:row;padding:.33rem 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}@media screen and (min-width: 414px){[_nghost-%COMP%] .checkbox-checkmark[_ngcontent-%COMP%] .dt-glyph-checkmark[_ngcontent-%COMP%]{width:.55rem}}"]}),e})()},45579:function(e,t,n){"use strict";n.d(t,{b:function(){return y}});var i=n(37716),a=n(3679),o=n(70764),r=n(26215),s=n(72349),l=n(38583),c=n(82701),d=n(77519);const u=["inputElem"],p=function(e,t){return{disabled:e,checked:t}};function h(e,t){if(1&e&&(i.TgZ(0,"span",5),i._uU(1,"\n "),i._UZ(2,"span",6),i._uU(3,"\n "),i.qZA()),2&e){const e=i.oxw();i.Q6J("ngClass",i.WLB(1,p,e.disabled,e.checked))}}function m(e,t){if(1&e&&(i.TgZ(0,"span",7),i._uU(1,"\n "),i._UZ(2,"span",6),i._uU(3,"\n "),i.qZA()),2&e){const e=i.oxw();i.Q6J("ngClass",i.WLB(1,p,e.disabled,e.checked))}}const g=function(e,t,n,i){return{ariaChecked$:e,ariaDisabled$:t,ariaLabel:n,ariaDescribedby:i}},f=["*"];let y=(()=>{class e{constructor(e,t){this.cdRef=e,this._analyticService=t,this.control=new a.NI(""),this.checked=!1,this.qaid="form-checkbox",this.checkOnLeft=!0,this.analyticCheckedData={},this.analyticErrorData={},this.onCheck=new i.vpe,this.ariaChecked$=new r.X(!1),this.ariaDisabled$=new r.X(!1)}setFocus(){this.elementRef.nativeElement.focus()}checkValidity(){return this.control.markAsTouched(),!this.isInvalid()||(this._analyticService.logAnalytic(this.analyticErrorData),!1)}ngOnInit(){this.control.setValue(this.checked),this.ariaDisabled$.next(this.disabled),this.labelId=s.uR.generateShortUuid()}isInvalid(){return this.control.touched&&!this.control.valid}toggleChecked(){this.cdRef.detectChanges(),this.checked=!this.checked,this.ariaChecked$.next(this.checked),this.checked&&this._analyticService.logAnalytic(this.analyticCheckedData),this.onCheck.emit(this.value)}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.sBO),i.Y36(o.g))},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-input-checkbox"]],viewQuery:function(e,t){if(1&e&&i.Gf(u,5),2&e){let e;i.iGM(e=i.CRH())&&(t.elementRef=e.first)}},inputs:{control:"control",className:"className",checked:"checked",name:"name",required:"required",qaid:"qaid",value:"value",supplementaryValue:"supplementaryValue",disabled:"disabled",checkOnLeft:"checkOnLeft",analyticCheckedData:"analyticCheckedData",analyticErrorData:"analyticErrorData",ariaLabel:"ariaLabel"},outputs:{onCheck:"onCheck"},ngContentSelectors:f,decls:16,vars:22,consts:[[1,"checkbox-label",3,"id"],["type","checkbox",1,"checkbox-input",3,"ngClass","checked","required","formControl","accessibility","change"],["inputElem",""],["class","checkbox-checkmark check-left",3,"ngClass",4,"ngIf"],["class","checkbox-checkmark check-right","qaid","form-checkbox",3,"ngClass",4,"ngIf"],[1,"checkbox-checkmark","check-left",3,"ngClass"],["includeSVG","dt-glyph-checkmark"],["qaid","form-checkbox",1,"checkbox-checkmark","check-right",3,"ngClass"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"span"),i._uU(1,"\n "),i.TgZ(2,"label",0),i._uU(3,"\n "),i._uU(4,"\n "),i.TgZ(5,"input",1,2),i.NdJ("change",function(){return t.toggleChecked()}),i.qZA(),i._uU(7,"\n "),i.YNc(8,h,4,4,"span",3),i._uU(9,"\n "),i.Hsn(10),i._uU(11,"\n "),i.YNc(12,m,4,4,"span",4),i._uU(13,"\n "),i.qZA(),i._uU(14,"\n"),i.qZA(),i._uU(15,"\n")),2&e&&(i.Gre("checkbox-container ",t.className,""),i.xp6(2),i.Q6J("id",t.labelId),i.uIk("qaid",t.qaid),i.xp6(3),i.Q2q("qaid","check-",t.value,""),i.Q2q("data-cy","check-",t.value,""),i.Q6J("ngClass",t.className)("checked",t.checked)("required",t.required)("formControl",t.control)("accessibility",i.l5B(17,g,t.ariaChecked$,t.ariaDisabled$,t.ariaLabel,t.labelId)),i.uIk("name",t.name||null)("value",t.value||null)("disabled",t.disabled||null),i.xp6(3),i.Q6J("ngIf",t.checkOnLeft),i.xp6(4),i.Q6J("ngIf",!t.checkOnLeft))},directives:[a.Zs,a.Wl,l.mk,a.JJ,a.oH,c.z,l.O5,d.pw],styles:["[_nghost-%COMP%] .checkbox-input[_ngcontent-%COMP%]{display:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}[_nghost-%COMP%] .checkbox-label[_ngcontent-%COMP%]{cursor:pointer;line-height:1rem;-webkit-tap-highlight-color:rgba(0,0,0,0)}[_nghost-%COMP%] .checkbox-checkmark[_ngcontent-%COMP%]{border-radius:4px;background-color:#fff;border:1px solid #8f9aa3;display:inline-block;width:.9rem;height:.9rem;vertical-align:middle;position:relative;-webkit-tap-highlight-color:rgba(0,0,0,0)}[_nghost-%COMP%] .checked.checkbox-checkmark[_ngcontent-%COMP%]{background-color:#00af66;border:none}[_nghost-%COMP%] .checked.checkbox-checkmark[_ngcontent-%COMP%] .dt-glyph-checkmark[_ngcontent-%COMP%]{display:inline-block}[_nghost-%COMP%] .checkbox-checkmark[_ngcontent-%COMP%] .dt-glyph-checkmark[_ngcontent-%COMP%]{width:2.5vw;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(0);display:none;fill:#fff}[_nghost-%COMP%] .check-left[_ngcontent-%COMP%]{margin-right:.33rem}[_nghost-%COMP%] .check-right[_ngcontent-%COMP%]{margin-left:.33rem}[_nghost-%COMP%] .checkbox-checkmark.disabled[_ngcontent-%COMP%]{opacity:.5}[_nghost-%COMP%] .vs-check[_ngcontent-%COMP%] .checkbox-label[_ngcontent-%COMP%]{display:flex;flex-wrap:row;padding:.33rem 0;-webkit-tap-highlight-color:rgba(0,0,0,0)}@media screen and (min-width: 414px){[_nghost-%COMP%] .checkbox-checkmark[_ngcontent-%COMP%] .dt-glyph-checkmark[_ngcontent-%COMP%]{width:.55rem}}"]}),e})()},44985:function(e,t,n){"use strict";n.d(t,{Q:function(){return b}});var i=n(37716),a=n(3679),o=n(26215),r=n(9112),s=n(13653),l=n(54395),c=n(87519),d=n(45435),u=(n(16109),n(22741),n(20483));const p=["address"],h=["zip"],m=[[["",8,"info-alert"]]],g=function(e,t,n,i){return{"address-button-hidden":e,"has-value":t,"is-invalid":n,valid:i}},f=function(e){return{"expandable-address-container":e}},y=function(e){return{action:"error",category:"GA2",label:e}},_=function(e,t){return{"show-inputs":e,"show-alert":t}},A=function(e){return{invalid:e}},v=[".info-alert"];let b=(()=>{class e{constructor(e){this._cdRef=e,this.placeholderText="Current Address",this.isRequired=!0,this.showInfoAlert=!1,this.analyticLabelPrefix="",this.zipBlur=new i.vpe,this.addressBlur=new i.vpe,this.showInputs=new o.X(!1),this.isAddressDummyValid=!0,this._addressFocusSource=new o.X(!1),this._zipFocusSource=new o.X(!1),this.addressDummy=new a.NI(""),this.subFieldsRequired=!0}ngOnInit(){this._cityStateChangeSource=new o.X(this.cityStateControlName.value),this.cityStateControlName.valueChanges.subscribe(e=>this._cityStateChangeSource.next(e)),(0,r.aj)(this._addressFocusSource,this._zipFocusSource,this._cityStateChangeSource).pipe((0,s.T)(1),(0,l.b)(100)).subscribe(([e,t,n])=>{if(this.showInputs.next(e||t),!e&&!t){let e=this.addressControlName.value.trim();this.addressText=`${e}`,this.cityZipText="",(u.cmp.isNotEmpty(n)||u.cmp.isNotEmpty(this.zipControlName.value))&&(this.cityZipText=`${n} ${this.zipControlName.value}`),this.isAddressDummyValid=this.zipControlName.valid&&this.addressControlName.valid}});let e=new o.X(this.addressControlName.value);this.addressControlName.valueChanges.subscribe(t=>e.next(t));let t=new o.X(this.zipControlName.value);this.zipControlName.valueChanges.subscribe(e=>t.next(e)),(0,r.aj)([e,t]).pipe((0,c.x)(u.ArrayUtils.areEqual),(0,d.h)(()=>!this.isRequired)).subscribe(([e,t])=>{u.cmp.isEmpty(e)&&u.cmp.isEmpty(t)?(this.subFieldsRequired=!1,this._cdRef.detectChanges(),this.addressControlName.markAsUntouched(),this.zipControlName.markAsUntouched()):u.cmp.isEmpty(t)&&this.zipControlName.dirty?this.cityStateControlName.reset(""):this.subFieldsRequired||(this.subFieldsRequired=!0,this._cdRef.detectChanges())}),this.subFieldsRequired=this.isRequired,this._cdRef.detectChanges()}setFocus(){this.showInputs.next(!0),this._cdRef.detectChanges(),this.addressInput.setFocus(!0)}checkValidity(){return!this.subFieldsRequired||this.addressInput.checkValidity()&&this.zipInput.checkValidity()}handleAddressFocus(){this._addressFocusSource.next(!0)}handleAddressBlur(){this._addressFocusSource.next(!1),this.addressBlur.emit()}handleZipFocus(){this._zipFocusSource.next(!0)}handleZipBlur(){this._zipFocusSource.next(!1),this.zipBlur.emit()}handleDummyFocus(){this.showInputs.next(!0),this._cdRef.detectChanges(),this.addressInput.setFocus(!1)}hasValue(){return u.cmp.isDefinedAndNotNull(this.addressText)&&u.cmp.isNotEmpty(this.addressText)||u.cmp.isDefinedAndNotNull(this.cityZipText)&&u.cmp.isNotEmpty(this.cityZipText)}isInvalid(){return!this.isAddressDummyValid&&this.isRequired||!this.isAddressDummyValid&&this.hasValue()}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.sBO))},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-input-address-expandable"]],viewQuery:function(e,t){if(1&e&&(i.Gf(p,5),i.Gf(h,5)),2&e){let e;i.iGM(e=i.CRH())&&(t.addressInput=e.first),i.iGM(e=i.CRH())&&(t.zipInput=e.first)}},inputs:{addressControlName:"addressControlName",cityStateControlName:"cityStateControlName",zipControlName:"zipControlName",placeholderText:"placeholderText",isRequired:"isRequired",showInfoAlert:"showInfoAlert",analyticLabelPrefix:"analyticLabelPrefix"},outputs:{zipBlur:"zipBlur",addressBlur:"addressBlur"},ngContentSelectors:v,decls:36,vars:35,consts:[["type","button",1,"display-address",3,"ngClass","click","focus"],[1,"display-address-label"],[1,"address-text","third-party-text-mask"],[3,"ngClass"],[1,"address-input",3,"analytic-data","controlName","placeholderText","onFocus","onBlur"],["address",""],[1,"sub-container",3,"ngClass"],[1,"zip",3,"controlName","analytic-data","onBlur","onFocus"],["zip",""],[1,"city-state",3,"controlName"],[1,"info-alert-container",3,"ngClass"]],template:function(e,t){1&e&&(i.F$t(m),i.TgZ(0,"button",0),i.NdJ("click",function(){return t.handleDummyFocus()})("focus",function(){return t.handleDummyFocus()}),i.ALo(1,"async"),i._uU(2,"\n "),i.TgZ(3,"span",1),i._uU(4),i.qZA(),i._uU(5,"\n "),i.TgZ(6,"div",2),i._uU(7),i.qZA(),i._uU(8,"\n "),i.TgZ(9,"div",2),i._uU(10),i.qZA(),i._uU(11,"\n"),i.qZA(),i._uU(12,"\n"),i.TgZ(13,"div",3),i.ALo(14,"async"),i._uU(15,"\n "),i.TgZ(16,"dtm-input-address",4,5),i.NdJ("onFocus",function(){return t.handleAddressFocus()})("onBlur",function(){return t.handleAddressBlur()}),i._uU(18,"\n "),i.qZA(),i._uU(19,"\n "),i.TgZ(20,"div",6),i.ALo(21,"async"),i._uU(22,"\n "),i.TgZ(23,"dtm-input-zip-code",7,8),i.NdJ("onBlur",function(){return t.handleZipBlur()})("onFocus",function(){return t.handleZipFocus()}),i._uU(25,"\n "),i.qZA(),i._uU(26,"\n "),i._UZ(27,"dtm-readonly-city-state",9),i._uU(28,"\n "),i.TgZ(29,"div",10),i._uU(30,"\n "),i.Hsn(31),i._uU(32,"\n "),i.qZA(),i._uU(33,"\n "),i.qZA(),i._uU(34,"\n"),i.qZA(),i._uU(35,"\n")),2&e&&(i.Q6J("ngClass",i.l5B(19,g,i.lcZ(1,13,t.showInputs),t.hasValue(),t.isInvalid(),t.isAddressDummyValid&&(t.addressText||t.cityZipText))),i.xp6(4),i.Oqu(t.placeholderText),i.xp6(3),i.Oqu(t.addressText),i.xp6(3),i.Oqu(t.cityZipText),i.xp6(3),i.Q6J("ngClass",i.VKq(24,f,!i.lcZ(14,15,t.showInputs))),i.xp6(3),i.Q6J("analytic-data",i.VKq(26,y,t.analyticLabelPrefix+"Address"))("controlName",t.addressControlName)("placeholderText",t.placeholderText),i.xp6(4),i.Q6J("ngClass",i.WLB(28,_,i.lcZ(21,17,t.showInputs),t.showInfoAlert)),i.xp6(3),i.Q6J("controlName",t.zipControlName)("analytic-data",i.VKq(31,y,t.analyticLabelPrefix+"Zip")),i.xp6(4),i.Q6J("controlName",t.cityStateControlName),i.xp6(2),i.Q6J("ngClass",i.VKq(33,A,t.isInvalid())))},styles:["[_nghost-%COMP%] .expandable-address-container[_ngcontent-%COMP%]{height:0;overflow:hidden}[_nghost-%COMP%] .display-address[_ngcontent-%COMP%]{margin-top:.5rem;background-color:#fff;border:1px solid #ececec;border-radius:4px;color:#4e575e;min-height:2.5rem;padding:1.1rem 0 0 5vw;width:100%;font-size:4vw;text-align:left;position:relative;display:block}[_nghost-%COMP%] .display-address[_ngcontent-%COMP%] .display-address-label[_ngcontent-%COMP%]{color:#8f9aa3;pointer-events:none;transform:translateY(.65rem) scale(.85);transform-origin:left top;transition:all .5s ease-in-out;z-index:2;position:absolute;top:0;font-size:4vw;font-weight:300}[_nghost-%COMP%] .display-address[_ngcontent-%COMP%] .address-text[_ngcontent-%COMP%]{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}[_nghost-%COMP%] .display-address.has-value[_ngcontent-%COMP%]{padding-bottom:.5rem}[_nghost-%COMP%] .display-address.has-value[_ngcontent-%COMP%] .display-address-label[_ngcontent-%COMP%]{transform:translateY(.4rem) scale(.7);transition:all .5s ease-in-out}[_nghost-%COMP%] .display-address.is-invalid[_ngcontent-%COMP%]{border-color:#f74e50}[_nghost-%COMP%] .display-address.valid[_ngcontent-%COMP%]{background-color:#f7f7f7}[_nghost-%COMP%] .display-address.address-button-hidden[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .sub-container.show-inputs[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap}[_nghost-%COMP%] .sub-container[_ngcontent-%COMP%] .form-input-wrapper{margin-top:0}[_nghost-%COMP%] .sub-container[_ngcontent-%COMP%] .zip[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .sub-container[_ngcontent-%COMP%] .zip[_ngcontent-%COMP%] .input-field{border-radius:0 0 0 4px}[_nghost-%COMP%] .sub-container[_ngcontent-%COMP%] .city-state[_ngcontent-%COMP%]{flex:2}[_nghost-%COMP%] .sub-container[_ngcontent-%COMP%] .city-state[_ngcontent-%COMP%] .input-field{border-radius:0 0 4px;background:#f7f7f7}[_nghost-%COMP%] .sub-container.show-alert[_ngcontent-%COMP%] .zip[_ngcontent-%COMP%] .input-field, [_nghost-%COMP%] .sub-container.show-alert[_ngcontent-%COMP%] .city-state[_ngcontent-%COMP%] .input-field{border-radius:0}[_nghost-%COMP%] .sub-container[_ngcontent-%COMP%] .invalid[_ngcontent-%COMP%] .info-alert{color:#943937;border:1px solid #f74e50;border-top:none;background-color:#f0bebc}[_nghost-%COMP%] .sub-container[_ngcontent-%COMP%] .info-alert{padding:.5rem 2.5vw;border:1px solid #00abe8;border-top:none;background-color:#c4eafa;width:100%;border-radius:0 0 4px 4px;font-size:3.6vw;color:#00abe8}@media screen and (min-width: 414px){[_nghost-%COMP%] .display-address[_ngcontent-%COMP%]{min-height:3rem;padding:1.3rem 0 0 .9rem;font-size:.89rem}[_nghost-%COMP%] .display-address[_ngcontent-%COMP%] .display-address-label[_ngcontent-%COMP%]{font-size:.89rem;transform:translateY(.85rem) scale(1)}[_nghost-%COMP%] .display-address.has-value[_ngcontent-%COMP%]{padding-bottom:.5rem}[_nghost-%COMP%] .sub-container[_ngcontent-%COMP%] .info-alert{padding:.5rem;font-size:.77rem}}"]}),e})()},13380:function(e,t,n){"use strict";n.d(t,{p:function(){return T}});var i=n(97582),a=n(46782),o=n(37716),r=n(29160),s=n(89234),l=n(70764),c=n(30277),d=n(98163),u=n(67041),p=n(17952),h=n(68450),m=n(5359),g=n(3679),f=n(82701),y=n(38583),_=n(77519),A=n(19967),v=n(48350);const b=["typeaheadInput"],C=function(e){return{ariaLabel:e}};function w(e,t){if(1&e){const e=o.EpF();o.TgZ(0,"span",10),o.NdJ("click",function(t){return o.CHM(e),o.oxw().handleTooltipToggle(t)}),o._uU(1,"\n "),o.qZA()}if(2&e){const e=o.oxw();o.Q6J("accessibility",o.VKq(1,C,e.infoAriaLabel))}}const S=function(e){return{show:e}};function k(e,t){if(1&e&&(o.TgZ(0,"div",11),o._uU(1,"\n "),o._UZ(2,"span",12),o._uU(3,"\n "),o.qZA()),2&e){const e=o.oxw();o.Q6J("ngClass",o.VKq(1,S,e.isPending))}}function M(e,t){if(1&e&&(o.TgZ(0,"div",13),o._uU(1),o.qZA()),2&e){const e=o.oxw();o.Q6J("id",e.errorMessageId),o.xp6(1),o.Oqu(e.errorMessage)}}function P(e,t){if(1&e&&(o.TgZ(0,"dtm-form-tooltip",14),o._uU(1,"\n "),o.TgZ(2,"tooltip-text"),o._uU(3,"\n "),o.Hsn(4,1),o._uU(5,"\n "),o.qZA(),o._uU(6,"\n "),o.qZA()),2&e){const e=o.oxw();o.Q6J("hasError",e.isInvalid()&&e.isTooltipVisible())("showInfo",e.isTooltipVisible())("svgIcon",e.tooltipSvg),o.xp6(2),o.uIk("aria-hidden",!e.showInfo)}}const O=["*",[["tooltip-text"]]],U=function(e,t,n,i,a){return{ariaDynamicLabel$:e,ariaLabelledby:t,ariaDescribedby:n,ariaInvalid$:i,ariaErrorMessage:a}},I=function(e,t,n,i,a,o,r,s){return{optional:e,"has-value":t,"is-invalid":n,valid:i,"show-info":a,"show-tooltip":o,"has-info":r,"text-overflow-ellipsis":s}},N=["*","tooltip-text"];let T=(()=>{class e extends m.c{constructor(e,t,n,i,a,r,s){super(e,t,n,i,a),this.appConfig=e,this.analyticService=t,this.validationService=n,this.windowService=i,this.cdRef=a,this._locationService=r,this._store=s,this.addressChange=new o.vpe,this.addressChangeManual=new o.vpe}ngAfterViewInit(){this.typeaheadRef=new r.p(this.elementRef,[d.h.StreetNumber,d.h.StreetAddress,d.h.Premise]),this.typeaheadRef.events.pipe((0,a.R)(this._componentUnsubscribe)).subscribe(e=>{this.handleLocationSearch(e)})}handleLocationSearch(e){return(0,i.mG)(this,void 0,void 0,function*(){try{this.addressChange.emit(e)}catch(t){this.analyticService.logException(t,"handleLocationSearch")}})}inputChange(e){this.addressChangeManual.emit(e.target.value)}setFocus(e=!0){super.setFocus(e)}checkValidity(){return super.checkValidity()}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(u._),o.Y36(l.g),o.Y36(p.R),o.Y36(h.u),o.Y36(o.sBO),o.Y36(s.a),o.Y36(c.k))},e.\u0275cmp=o.Xpm({type:e,selectors:[["dtm-input-address-typeahead"]],viewQuery:function(e,t){if(1&e&&o.Gf(b,7),2&e){let e;o.iGM(e=o.CRH())&&(t.elementRef=e.first)}},outputs:{addressChange:"addressChange",addressChangeManual:"addressChangeManual"},features:[o.qOj],ngContentSelectors:N,decls:25,vars:39,consts:[[1,"form-input-wrapper"],[1,"input-container"],[1,"block"],["autocomplete","off",3,"accessibility","type","ngClass","maxlength","minlength","pattern","name","readonly","textMask","formControl","analytic","autofocus","placeholder","change","input","blur","focus"],["typeaheadInput",""],["aria-hidden","true",1,"input-label"],["aria-hidden","true","includeSVG","dt-glyph-question-mark","height","100%","width","100%","class","toggle-info input-reset","tabindex","-1",3,"accessibility","click",4,"ngIf"],["class","loader-container",3,"ngClass",4,"ngIf"],["class","validation-error-message",3,"id",4,"ngIf"],[3,"hasError","showInfo","svgIcon",4,"ngIf"],["aria-hidden","true","includeSVG","dt-glyph-question-mark","height","100%","width","100%","tabindex","-1",1,"toggle-info","input-reset",3,"accessibility","click"],[1,"loader-container",3,"ngClass"],[1,"loader"],[1,"validation-error-message",3,"id"],[3,"hasError","showInfo","svgIcon"]],template:function(e,t){1&e&&(o.F$t(O),o.TgZ(0,"div",0),o._uU(1,"\n "),o.TgZ(2,"div",1),o._uU(3,"\n "),o.TgZ(4,"label",2),o._uU(5,"\n "),o.TgZ(6,"input",3,4),o.NdJ("change",function(e){return t.inputChange(e)})("input",function(e){return t.onInputChange(e)})("blur",function(e){return t.handleBlur(e)})("focus",function(e){return t.handleOnFocus(e)}),o.qZA(),o._uU(8,"\n "),o.TgZ(9,"span",5),o._uU(10,"\n "),o.Hsn(11),o._uU(12,"\n "),o.qZA(),o._uU(13,"\n "),o.qZA(),o._uU(14,"\n "),o.YNc(15,w,2,3,"span",6),o._uU(16,"\n "),o.YNc(17,k,4,3,"div",7),o._uU(18,"\n "),o.qZA(),o._uU(19,"\n "),o.YNc(20,M,2,2,"div",8),o._uU(21,"\n "),o.YNc(22,P,7,4,"dtm-form-tooltip",9),o._uU(23,"\n"),o.qZA(),o._uU(24,"\n")),2&e&&(o.xp6(6),o.Gre("input-field ",t.className," third-party-text-mask"),o.Q6J("accessibility",o.qbA(24,U,t.ariaDynamicLabel$,t.ariaLabelId,t.ariaDescriptionId,t.ariaIsInvalid$,t.errorMessageId))("type",t.inputType)("ngClass",o.qlk(30,I,!t.required,t.hasValue(),t.isInvalid(),!t.isInvalid()&&t.hasValue(),t.showInfo&&!t.isInvalid(),t.isTooltipVisible(),t.hasInfo,t.ellipsize))("maxlength",t.maxLength||t.exactLength||null)("minlength",t.minLength||t.exactLength||null)("pattern",t.pattern||null)("name",t.name)("readonly",t.readonly||null)("textMask",t.textMask)("formControl",t.control)("analytic",t.analyticData)("autofocus",t.autofocus||null)("placeholder",t.placeHolder),o.uIk("qaid",t.qaid)("data-cy",t.qaid)("max",t.maxNumber||null)("disabled",t.readonly||null),o.xp6(9),o.Q6J("ngIf",t.hasInfo),o.xp6(2),o.Q6J("ngIf",t.hasAsyncValidators),o.xp6(3),o.Q6J("ngIf",t.isInputError()&&""!=t.errorMessage&&!t.hasTooltip),o.xp6(2),o.Q6J("ngIf",t.hasTooltip))},directives:[g.Fj,f.z,y.mk,g.nD,g.wO,g.c5,_.hd,g.JJ,g.oH,A.e,y.O5,_.pw,v.L],styles:['@keyframes loadgrow{0%{height:0;opacity:0;width:0}to{height:10em;opacity:1;width:10em}}@keyframes expandout{0%{width:0}to{width:100%}}@keyframes scale-up{0%{transform:scale(0);transform-origin:center}to{transform:scale(1);transform-origin:center}}@keyframes fillcircle{0%{border-bottom:1.1em solid rgba(181,233,212,.8)}50%{border-right:1.1em solid rgba(181,233,212,.8)}to{border-top:1.1em solid rgba(181,233,212,.8)}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:0}}@keyframes fade-in-out{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes fade-in-out-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes pulse-half-opacity{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes pulse-half-border{0%{border-color:#f74e50}50%{border-color:#f74e5080}to{border-color:#f74e50}}@keyframes fade-in-out-scroll{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}@keyframes rotate-horizontal{0%{transform:rotateY(-180deg)}80%{transform:rotateY(-180deg)}to{transform:rotateY(0)}}@keyframes loaderrotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-rank-spinner-excellent{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-4deg)}to{opacity:1;transform:rotate(-10deg)}}@keyframes rotate-rank-spinner-excellent-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes rotate-rank-spinner-good{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-52deg)}to{opacity:1;transform:rotate(-60deg)}}@keyframes rotate-rank-spinner-good-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-62deg)}to{opacity:1;transform:rotate(-70deg)}}@keyframes rotate-rank-spinner-fair{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-97deg)}to{opacity:1;transform:rotate(-105deg)}}@keyframes rotate-rank-spinner-fair-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-115deg)}to{opacity:1;transform:rotate(-110deg)}}@keyframes rotate-rank-spinner-low{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-142deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-150deg)}}@keyframes rotate-rank-spinner-low-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-163deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-170deg)}}@keyframes rotate-rank-spinner-error{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes pulse-credit-rank-spinner{0%{transform:scale(1)}50%{backface-visibility:hidden;transform:scale(1.1)}to{transform:scale(1)}}@keyframes pulse{0%{opacity:0;transform:scale(.3)}25%{opacity:.1;transform:scale(.5)}50%{opacity:.3;transform:scale(.7)}75%{opacity:.5;transform:scale(.8)}to{opacity:0;transform:scale(1)}}@keyframes pulse-text-overlay{0%{opacity:.8}50%{opacity:.875}to{opacity:.95}}@keyframes barloader{0%{left:50%;width:0;z-index:100}33%{left:0;width:100%;z-index:10}to{left:0;width:100%}}@keyframes dot-circles{0%,80%,to{box-shadow:0 2.5rem 0 -1.3em}40%{box-shadow:0 2.5rem}}@keyframes model-svg-animation-draw{to{stroke-dashoffset:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes middleSlideUp{0%{transform:translate(-50%,100%)}to{transform:translate(-50%,-50%)}}@keyframes beat{0%{transform:scale(1)}50%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes synapse-expand{0%{opacity:0;transform:scale(.2)}to{opacity:.7;transform:scale(1)}}@keyframes genius-fade{0%{stroke-opacity:1}90%{stroke-opacity:1}to{stroke-opacity:0}}@keyframes genius-animate-0{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-1{18%{stroke-dashoffset:2690}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-2{18%{stroke-dashoffset:2120}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-3{18%{stroke-dashoffset:548}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-4{18%{stroke-dashoffset:68}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-5{18%{stroke-dashoffset:241}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-6{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-7{18%{stroke-dashoffset:2350}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-8{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-9{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes checkAnimation{to{stroke-dashoffset:0}}@keyframes speedTextAnimation{0%{margin-left:-200%}to{margin-left:0%}}@keyframes enter-toast{0%{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes exit-toast{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}@keyframes rotate-90-righty{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes rotate-90-lefty{0%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes rotate-45-righty{0%{transform:rotate(0)}to{transform:rotate(45deg)}}@keyframes rotate-45-lefty{0%{transform:rotate(45deg)}to{transform:rotate(0)}}.input-container[_ngcontent-%COMP%]{height:2.5rem;position:relative}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{cursor:pointer;height:100%;right:0;width:12.5vw;padding:0 3vw 0 4vw;fill:#8f9aa3;z-index:3;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:50%;transform:translateY(-50%) rotate(0)}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]:focus{outline:0}.input-label[_ngcontent-%COMP%]{color:#8f9aa3;padding-left:3vw;pointer-events:none;position:absolute;transform:translate(3vw,.65rem) scale(.85);transform-origin:left top;transition:all .5s ease-in-out;z-index:3;font-size:4vw}.input-field[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ececec;border-radius:4px;color:#4e575e;height:2.5rem;padding:.9rem 0 0 5vw;position:absolute;width:100%;z-index:2;font-size:4vw;-webkit-appearance:none}.input-field[_ngcontent-%COMP%]::-ms-clear{display:none}.input-field[_ngcontent-%COMP%]:disabled{opacity:1}.input-field.optional[_ngcontent-%COMP%]{background-color:#fff}.input-field.is-invalid[_ngcontent-%COMP%]{border-color:#f74e50}.input-field.is-invalid[_ngcontent-%COMP%]:focus{outline-color:#f74e50}.input-field.show-info[_ngcontent-%COMP%]{border-color:#075078}.input-field.show-tooltip[_ngcontent-%COMP%]{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.input-field.has-info[_ngcontent-%COMP%]{padding-right:13vw}.input-field[_ngcontent-%COMP%]:focus{outline-color:#075078}.input-field.valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(3vw,.25rem) scale(.65);transition:all .5s ease-in-out}.input-field[_ngcontent-%COMP%]:focus::-webkit-datetime-edit, .input-field.has-value[_ngcontent-%COMP%]::-webkit-datetime-edit, .input-field.prefilled-input[_ngcontent-%COMP%]::-webkit-datetime-edit{opacity:1;-webkit-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out}.input-field[_ngcontent-%COMP%]::-webkit-datetime-edit{color:#4e575e;display:inline-block;font-family:"Mulish",sans-serif;opacity:0}.input-field[_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{background:transparent;color:transparent;padding:100% 1.1rem}.input-field[_ngcontent-%COMP%]::-webkit-inner-spin-button, .input-field[_ngcontent-%COMP%]::-webkit-clear-button{display:none}.input-field[type=date].valid[_ngcontent-%COMP%]{background-color:#fff}.input-field[type=date].ng-valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.validation-error-message[_ngcontent-%COMP%]{color:#f74e50;padding:.2rem 0 0;width:100%;font-size:2.8vw}.loader-container[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%) rotate(0);right:5%;height:2.5vh;width:2.5vh;opacity:0;z-index:1}.loader-container.show[_ngcontent-%COMP%]{opacity:1;z-index:3;transition:opacity 0s ease 1s}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:around 5.4s infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after, .loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:before{content:"";background:transparent;position:absolute;display:inline-block;width:100%;height:100%;border-width:.125rem;border-color:#075078 #ececec transparent transparent;border-style:solid;border-radius:1.25rem;box-sizing:border-box;animation:loaderrotate .7s ease-in-out infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after{animation:loaderrotate .7s ease-in-out .1s infinite;background:transparent}.date-container[_ngcontent-%COMP%]{display:flex}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]{flex:1}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]:nth-child(2){margin:0 .5rem}@media screen and (min-width: 414px){.input-container[_ngcontent-%COMP%]{height:3rem}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{width:2.9rem;padding:0 .8rem 0 1rem}.input-label[_ngcontent-%COMP%]{font-size:.89rem;padding-left:.6rem;transform:translate(.6rem,.85rem) scale(1)}.validation-error-message[_ngcontent-%COMP%]{font-size:.625rem}.input-field[_ngcontent-%COMP%]{padding:1.1rem 0 0 .9rem;height:3rem;font-size:.89rem}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(.6rem,.4rem) scale(.7);transition:all .5s ease-in-out}.input-field.has-info[_ngcontent-%COMP%]{padding-right:3rem}}',""]}),e})()},16109:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});var i=n(37716),a=n(61718);n(87020);let o=(()=>{class e{constructor(){this.analyticData={},this.placeholderText="Address",this.name="Address",this.ariaLabel="Enter Address",this.required=!0,this.errorMessage="Address is required",this.validateFor="address",this.onBlur=new i.vpe,this.onFocus=new i.vpe}setFocus(e=!0){this.inputGroup.setFocus(e)}checkValidity(){return this.inputGroup.checkValidity()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-input-address"]],viewQuery:function(e,t){if(1&e&&i.Gf(a.c3,5),2&e){let e;i.iGM(e=i.CRH())&&(t.inputGroup=e.first)}},inputs:{controlName:"controlName",analyticData:["analytic-data","analyticData"],qaid:"qaid",labelId:"labelId",placeholderText:"placeholderText",name:"name",ariaLabel:"ariaLabel",required:"required",errorMessage:"errorMessage",validateFor:"validateFor"},outputs:{onBlur:"onBlur",onFocus:"onFocus"},decls:7,vars:10,consts:[["name","name","inputType","text","className","fs-mask",3,"qaid","ariaLabel","validateFor","required","control","hasInfo","hasTooltip","analytic-data","errorMessage","onBlur","onFocus"]],template:function(e,t){1&e&&(i._uU(0,"\n "),i.TgZ(1,"dtm-input-group",0),i.NdJ("onBlur",function(e){return t.onBlur.emit(e)})("onFocus",function(e){return t.onFocus.emit(e)}),i._uU(2,"\n "),i.TgZ(3,"span"),i._uU(4),i.qZA(),i._uU(5,"\n "),i.qZA(),i._uU(6,"\n ")),2&e&&(i.xp6(1),i.Q6J("qaid",t.qaid)("ariaLabel",t.ariaLabel)("validateFor",t.validateFor)("required",t.required)("control",t.controlName)("hasInfo",!1)("hasTooltip",!1)("analytic-data",t.analyticData)("errorMessage",t.errorMessage),i.xp6(3),i.hij("\n ",t.placeholderText,"\n "))},styles:['@keyframes loadgrow{0%{height:0;opacity:0;width:0}to{height:10em;opacity:1;width:10em}}@keyframes expandout{0%{width:0}to{width:100%}}@keyframes scale-up{0%{transform:scale(0);transform-origin:center}to{transform:scale(1);transform-origin:center}}@keyframes fillcircle{0%{border-bottom:1.1em solid rgba(181,233,212,.8)}50%{border-right:1.1em solid rgba(181,233,212,.8)}to{border-top:1.1em solid rgba(181,233,212,.8)}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:0}}@keyframes fade-in-out{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes fade-in-out-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes pulse-half-opacity{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes pulse-half-border{0%{border-color:#f74e50}50%{border-color:#f74e5080}to{border-color:#f74e50}}@keyframes fade-in-out-scroll{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}@keyframes rotate-horizontal{0%{transform:rotateY(-180deg)}80%{transform:rotateY(-180deg)}to{transform:rotateY(0)}}@keyframes loaderrotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-rank-spinner-excellent{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-4deg)}to{opacity:1;transform:rotate(-10deg)}}@keyframes rotate-rank-spinner-excellent-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes rotate-rank-spinner-good{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-52deg)}to{opacity:1;transform:rotate(-60deg)}}@keyframes rotate-rank-spinner-good-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-62deg)}to{opacity:1;transform:rotate(-70deg)}}@keyframes rotate-rank-spinner-fair{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-97deg)}to{opacity:1;transform:rotate(-105deg)}}@keyframes rotate-rank-spinner-fair-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-115deg)}to{opacity:1;transform:rotate(-110deg)}}@keyframes rotate-rank-spinner-low{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-142deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-150deg)}}@keyframes rotate-rank-spinner-low-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-163deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-170deg)}}@keyframes rotate-rank-spinner-error{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes pulse-credit-rank-spinner{0%{transform:scale(1)}50%{backface-visibility:hidden;transform:scale(1.1)}to{transform:scale(1)}}@keyframes pulse{0%{opacity:0;transform:scale(.3)}25%{opacity:.1;transform:scale(.5)}50%{opacity:.3;transform:scale(.7)}75%{opacity:.5;transform:scale(.8)}to{opacity:0;transform:scale(1)}}@keyframes pulse-text-overlay{0%{opacity:.8}50%{opacity:.875}to{opacity:.95}}@keyframes barloader{0%{left:50%;width:0;z-index:100}33%{left:0;width:100%;z-index:10}to{left:0;width:100%}}@keyframes dot-circles{0%,80%,to{box-shadow:0 2.5rem 0 -1.3em}40%{box-shadow:0 2.5rem}}@keyframes model-svg-animation-draw{to{stroke-dashoffset:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes middleSlideUp{0%{transform:translate(-50%,100%)}to{transform:translate(-50%,-50%)}}@keyframes beat{0%{transform:scale(1)}50%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes synapse-expand{0%{opacity:0;transform:scale(.2)}to{opacity:.7;transform:scale(1)}}@keyframes genius-fade{0%{stroke-opacity:1}90%{stroke-opacity:1}to{stroke-opacity:0}}@keyframes genius-animate-0{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-1{18%{stroke-dashoffset:2690}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-2{18%{stroke-dashoffset:2120}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-3{18%{stroke-dashoffset:548}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-4{18%{stroke-dashoffset:68}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-5{18%{stroke-dashoffset:241}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-6{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-7{18%{stroke-dashoffset:2350}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-8{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-9{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes checkAnimation{to{stroke-dashoffset:0}}@keyframes speedTextAnimation{0%{margin-left:-200%}to{margin-left:0%}}@keyframes enter-toast{0%{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes exit-toast{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}@keyframes rotate-90-righty{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes rotate-90-lefty{0%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes rotate-45-righty{0%{transform:rotate(0)}to{transform:rotate(45deg)}}@keyframes rotate-45-lefty{0%{transform:rotate(45deg)}to{transform:rotate(0)}}.input-container[_ngcontent-%COMP%]{height:2.5rem;position:relative}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{cursor:pointer;height:100%;right:0;width:12.5vw;padding:0 3vw 0 4vw;fill:#8f9aa3;z-index:3;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:50%;transform:translateY(-50%) rotate(0)}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]:focus{outline:0}.input-label[_ngcontent-%COMP%]{color:#8f9aa3;padding-left:3vw;pointer-events:none;position:absolute;transform:translate(3vw,.65rem) scale(.85);transform-origin:left top;transition:all .5s ease-in-out;z-index:3;font-size:4vw}.input-field[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ececec;border-radius:4px;color:#4e575e;height:2.5rem;padding:.9rem 0 0 5vw;position:absolute;width:100%;z-index:2;font-size:4vw;-webkit-appearance:none}.input-field[_ngcontent-%COMP%]::-ms-clear{display:none}.input-field[_ngcontent-%COMP%]:disabled{opacity:1}.input-field.optional[_ngcontent-%COMP%]{background-color:#fff}.input-field.is-invalid[_ngcontent-%COMP%]{border-color:#f74e50}.input-field.is-invalid[_ngcontent-%COMP%]:focus{outline-color:#f74e50}.input-field.show-info[_ngcontent-%COMP%]{border-color:#075078}.input-field.show-tooltip[_ngcontent-%COMP%]{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.input-field.has-info[_ngcontent-%COMP%]{padding-right:13vw}.input-field[_ngcontent-%COMP%]:focus{outline-color:#075078}.input-field.valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(3vw,.25rem) scale(.65);transition:all .5s ease-in-out}.input-field[_ngcontent-%COMP%]:focus::-webkit-datetime-edit, .input-field.has-value[_ngcontent-%COMP%]::-webkit-datetime-edit, .input-field.prefilled-input[_ngcontent-%COMP%]::-webkit-datetime-edit{opacity:1;-webkit-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out}.input-field[_ngcontent-%COMP%]::-webkit-datetime-edit{color:#4e575e;display:inline-block;font-family:"Mulish",sans-serif;opacity:0}.input-field[_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{background:transparent;color:transparent;padding:100% 1.1rem}.input-field[_ngcontent-%COMP%]::-webkit-inner-spin-button, .input-field[_ngcontent-%COMP%]::-webkit-clear-button{display:none}.input-field[type=date].valid[_ngcontent-%COMP%]{background-color:#fff}.input-field[type=date].ng-valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.validation-error-message[_ngcontent-%COMP%]{color:#f74e50;padding:.2rem 0 0;width:100%;font-size:2.8vw}.loader-container[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%) rotate(0);right:5%;height:2.5vh;width:2.5vh;opacity:0;z-index:1}.loader-container.show[_ngcontent-%COMP%]{opacity:1;z-index:3;transition:opacity 0s ease 1s}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:around 5.4s infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after, .loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:before{content:"";background:transparent;position:absolute;display:inline-block;width:100%;height:100%;border-width:.125rem;border-color:#075078 #ececec transparent transparent;border-style:solid;border-radius:1.25rem;box-sizing:border-box;animation:loaderrotate .7s ease-in-out infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after{animation:loaderrotate .7s ease-in-out .1s infinite;background:transparent}.date-container[_ngcontent-%COMP%]{display:flex}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]{flex:1}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]:nth-child(2){margin:0 .5rem}@media screen and (min-width: 414px){.input-container[_ngcontent-%COMP%]{height:3rem}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{width:2.9rem;padding:0 .8rem 0 1rem}.input-label[_ngcontent-%COMP%]{font-size:.89rem;padding-left:.6rem;transform:translate(.6rem,.85rem) scale(1)}.validation-error-message[_ngcontent-%COMP%]{font-size:.625rem}.input-field[_ngcontent-%COMP%]{padding:1.1rem 0 0 .9rem;height:3rem;font-size:.89rem}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(.6rem,.4rem) scale(.7);transition:all .5s ease-in-out}.input-field.has-info[_ngcontent-%COMP%]{padding-right:3rem}}']}),e})()},80267:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var i=n(37716),a=n(5359);let o=(()=>{class e{constructor(){this.analyticData={}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-readonly-city-state"]],inputs:{controlName:"controlName",analyticData:["analytic-data","analyticData"],qaid:"qaid"},decls:7,vars:8,consts:[["name","'CityState'","inputType","text","className","fs-mask",3,"qaid","required","readonly","control","hasTooltip","autofocus","analytic-data","ariaLabel"]],template:function(e,t){1&e&&(i._uU(0,"\n "),i.TgZ(1,"dtm-input-group",0),i._uU(2,"\n "),i.TgZ(3,"span"),i._uU(4,"\n City, State\n "),i.qZA(),i._uU(5,"\n "),i.qZA(),i._uU(6,"\n ")),2&e&&(i.xp6(1),i.Q6J("qaid",t.qaid)("required",!0)("readonly",!0)("control",t.controlName)("hasTooltip",!1)("autofocus",!0)("analytic-data",t.analyticData)("ariaLabel","City, State"))},directives:[a.c],styles:['@keyframes loadgrow{0%{height:0;opacity:0;width:0}to{height:10em;opacity:1;width:10em}}@keyframes expandout{0%{width:0}to{width:100%}}@keyframes scale-up{0%{transform:scale(0);transform-origin:center}to{transform:scale(1);transform-origin:center}}@keyframes fillcircle{0%{border-bottom:1.1em solid rgba(181,233,212,.8)}50%{border-right:1.1em solid rgba(181,233,212,.8)}to{border-top:1.1em solid rgba(181,233,212,.8)}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:0}}@keyframes fade-in-out{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes fade-in-out-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes pulse-half-opacity{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes pulse-half-border{0%{border-color:#f74e50}50%{border-color:#f74e5080}to{border-color:#f74e50}}@keyframes fade-in-out-scroll{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}@keyframes rotate-horizontal{0%{transform:rotateY(-180deg)}80%{transform:rotateY(-180deg)}to{transform:rotateY(0)}}@keyframes loaderrotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-rank-spinner-excellent{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-4deg)}to{opacity:1;transform:rotate(-10deg)}}@keyframes rotate-rank-spinner-excellent-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes rotate-rank-spinner-good{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-52deg)}to{opacity:1;transform:rotate(-60deg)}}@keyframes rotate-rank-spinner-good-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-62deg)}to{opacity:1;transform:rotate(-70deg)}}@keyframes rotate-rank-spinner-fair{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-97deg)}to{opacity:1;transform:rotate(-105deg)}}@keyframes rotate-rank-spinner-fair-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-115deg)}to{opacity:1;transform:rotate(-110deg)}}@keyframes rotate-rank-spinner-low{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-142deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-150deg)}}@keyframes rotate-rank-spinner-low-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-163deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-170deg)}}@keyframes rotate-rank-spinner-error{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes pulse-credit-rank-spinner{0%{transform:scale(1)}50%{backface-visibility:hidden;transform:scale(1.1)}to{transform:scale(1)}}@keyframes pulse{0%{opacity:0;transform:scale(.3)}25%{opacity:.1;transform:scale(.5)}50%{opacity:.3;transform:scale(.7)}75%{opacity:.5;transform:scale(.8)}to{opacity:0;transform:scale(1)}}@keyframes pulse-text-overlay{0%{opacity:.8}50%{opacity:.875}to{opacity:.95}}@keyframes barloader{0%{left:50%;width:0;z-index:100}33%{left:0;width:100%;z-index:10}to{left:0;width:100%}}@keyframes dot-circles{0%,80%,to{box-shadow:0 2.5rem 0 -1.3em}40%{box-shadow:0 2.5rem}}@keyframes model-svg-animation-draw{to{stroke-dashoffset:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes middleSlideUp{0%{transform:translate(-50%,100%)}to{transform:translate(-50%,-50%)}}@keyframes beat{0%{transform:scale(1)}50%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes synapse-expand{0%{opacity:0;transform:scale(.2)}to{opacity:.7;transform:scale(1)}}@keyframes genius-fade{0%{stroke-opacity:1}90%{stroke-opacity:1}to{stroke-opacity:0}}@keyframes genius-animate-0{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-1{18%{stroke-dashoffset:2690}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-2{18%{stroke-dashoffset:2120}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-3{18%{stroke-dashoffset:548}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-4{18%{stroke-dashoffset:68}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-5{18%{stroke-dashoffset:241}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-6{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-7{18%{stroke-dashoffset:2350}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-8{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-9{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes checkAnimation{to{stroke-dashoffset:0}}@keyframes speedTextAnimation{0%{margin-left:-200%}to{margin-left:0%}}@keyframes enter-toast{0%{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes exit-toast{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}@keyframes rotate-90-righty{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes rotate-90-lefty{0%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes rotate-45-righty{0%{transform:rotate(0)}to{transform:rotate(45deg)}}@keyframes rotate-45-lefty{0%{transform:rotate(45deg)}to{transform:rotate(0)}}.input-container[_ngcontent-%COMP%]{height:2.5rem;position:relative}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{cursor:pointer;height:100%;right:0;width:12.5vw;padding:0 3vw 0 4vw;fill:#8f9aa3;z-index:3;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:50%;transform:translateY(-50%) rotate(0)}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]:focus{outline:0}.input-label[_ngcontent-%COMP%]{color:#8f9aa3;padding-left:3vw;pointer-events:none;position:absolute;transform:translate(3vw,.65rem) scale(.85);transform-origin:left top;transition:all .5s ease-in-out;z-index:3;font-size:4vw}.input-field[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ececec;border-radius:4px;color:#4e575e;height:2.5rem;padding:.9rem 0 0 5vw;position:absolute;width:100%;z-index:2;font-size:4vw;-webkit-appearance:none}.input-field[_ngcontent-%COMP%]::-ms-clear{display:none}.input-field[_ngcontent-%COMP%]:disabled{opacity:1}.input-field.optional[_ngcontent-%COMP%]{background-color:#fff}.input-field.is-invalid[_ngcontent-%COMP%]{border-color:#f74e50}.input-field.is-invalid[_ngcontent-%COMP%]:focus{outline-color:#f74e50}.input-field.show-info[_ngcontent-%COMP%]{border-color:#075078}.input-field.show-tooltip[_ngcontent-%COMP%]{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.input-field.has-info[_ngcontent-%COMP%]{padding-right:13vw}.input-field[_ngcontent-%COMP%]:focus{outline-color:#075078}.input-field.valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(3vw,.25rem) scale(.65);transition:all .5s ease-in-out}.input-field[_ngcontent-%COMP%]:focus::-webkit-datetime-edit, .input-field.has-value[_ngcontent-%COMP%]::-webkit-datetime-edit, .input-field.prefilled-input[_ngcontent-%COMP%]::-webkit-datetime-edit{opacity:1;-webkit-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out}.input-field[_ngcontent-%COMP%]::-webkit-datetime-edit{color:#4e575e;display:inline-block;font-family:"Mulish",sans-serif;opacity:0}.input-field[_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{background:transparent;color:transparent;padding:100% 1.1rem}.input-field[_ngcontent-%COMP%]::-webkit-inner-spin-button, .input-field[_ngcontent-%COMP%]::-webkit-clear-button{display:none}.input-field[type=date].valid[_ngcontent-%COMP%]{background-color:#fff}.input-field[type=date].ng-valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.validation-error-message[_ngcontent-%COMP%]{color:#f74e50;padding:.2rem 0 0;width:100%;font-size:2.8vw}.loader-container[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%) rotate(0);right:5%;height:2.5vh;width:2.5vh;opacity:0;z-index:1}.loader-container.show[_ngcontent-%COMP%]{opacity:1;z-index:3;transition:opacity 0s ease 1s}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:around 5.4s infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after, .loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:before{content:"";background:transparent;position:absolute;display:inline-block;width:100%;height:100%;border-width:.125rem;border-color:#075078 #ececec transparent transparent;border-style:solid;border-radius:1.25rem;box-sizing:border-box;animation:loaderrotate .7s ease-in-out infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after{animation:loaderrotate .7s ease-in-out .1s infinite;background:transparent}.date-container[_ngcontent-%COMP%]{display:flex}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]{flex:1}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]:nth-child(2){margin:0 .5rem}@media screen and (min-width: 414px){.input-container[_ngcontent-%COMP%]{height:3rem}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{width:2.9rem;padding:0 .8rem 0 1rem}.input-label[_ngcontent-%COMP%]{font-size:.89rem;padding-left:.6rem;transform:translate(.6rem,.85rem) scale(1)}.validation-error-message[_ngcontent-%COMP%]{font-size:.625rem}.input-field[_ngcontent-%COMP%]{padding:1.1rem 0 0 .9rem;height:3rem;font-size:.89rem}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(.6rem,.4rem) scale(.7);transition:all .5s ease-in-out}.input-field.has-info[_ngcontent-%COMP%]{padding-right:3rem}}']}),e})()},9968:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var i=n(37716),a=n(61718),o=(n(87020),n(70764));let r=(()=>{class e{constructor(e){this._analyticService=e,this.hasInfo=!0,this.validate="desiredDownPayment",this.ariaLabel="Enter Cash Down",this.required=!1,this.label="Cash Down",this.infoAriaLabel="",this.hasFilledDesiredDown=!1,this.analyticData={},this.analyticDataExpandTooltip={},this.analyticDataCollapseTooltip={},this.analyticDataChangeDesiredDown={},this.tooltipExpandEvent=new i.vpe,this.tooltipCollapseEvent=new i.vpe,this.onBlur=new i.vpe,this.tooltipInputLabel="Enter your expected cash down. The down payment you see while shopping will be based upon your qualifications.\n It will reflect your entered cash down or your minimum required down, whichever is higher."}set category(e){this.analyticData={action:"error",category:e,label:"CashDown"},this.analyticDataExpandTooltip={category:e,label:"CashDownTooltipExpand"},this.analyticDataCollapseTooltip={category:e,label:"CashDownTooltipCollapse"},this.analyticDataChangeDesiredDown={action:"input",category:e,label:"CashDownCompleted"}}setFocus(){this.inputGroup.setFocus()}checkValidity(){return this.inputGroup.checkValidity()}isInvalid(){return this.inputGroup.isInvalid()}handleTooltipToggle(){this.inputGroup.handleTooltipToggle()}hideTooltip(){this.inputGroup.hideTooltip()}emitTooltipCollapse(){this.tooltipCollapseEvent.emit()}emitTooltipExpand(){this.tooltipExpandEvent.emit()}handleBlur(e){this.onBlur.emit(e)}handleChange(e){e.target.value.length>0&&!this.hasFilledDesiredDown&&(this._analyticService.logAnalytic(this.analyticDataChangeDesiredDown),this.hasFilledDesiredDown=!0)}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(o.g))},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-input-desired-down"]],viewQuery:function(e,t){if(1&e&&i.Gf(a.c3,5),2&e){let e;i.iGM(e=i.CRH())&&(t.inputGroup=e.first)}},inputs:{hasInfo:"hasInfo",controlName:"controlName",qaid:"qaid",labelId:"labelId",validate:"validate",ariaLabel:"ariaLabel",ariaLabelId:"ariaLabelId",required:"required",label:"label",infoAriaLabel:"infoAriaLabel",category:"category"},outputs:{tooltipExpandEvent:"tooltipExpandEvent",tooltipCollapseEvent:"tooltipCollapseEvent",onBlur:"onBlur"},decls:10,vars:14,consts:[["inputType","tel","name","Cash Down",3,"qaid","ariaLabel","ariaDescriptionId","validateFor","required","control","hasTooltip","hasInfo","analytic-data","analyticDataExpandTooltip","analyticDataCollapseTooltip","infoAriaLabel","tooltipExpandEvent","tooltipCollapseEvent","onBlur","onChange"],["id","desireddown-label",3,"innerHTML"],["id","desired-down-tooltip","role","tooltip",3,"innerHTML"]],template:function(e,t){1&e&&(i._uU(0,"\n "),i.TgZ(1,"dtm-input-group",0),i.NdJ("tooltipExpandEvent",function(){return t.emitTooltipExpand()})("tooltipCollapseEvent",function(){return t.emitTooltipCollapse()})("onBlur",function(e){return t.handleBlur(e)})("onChange",function(e){return t.handleChange(e)}),i._uU(2,"\n "),i.TgZ(3,"span",1),i._uU(4,"\n "),i.qZA(),i._uU(5,"\n "),i.TgZ(6,"tooltip-text",2),i._uU(7,"\n "),i.qZA(),i._uU(8,"\n "),i.qZA(),i._uU(9,"\n ")),2&e&&(i.xp6(1),i.Q6J("qaid",t.qaid)("ariaLabel",t.ariaLabel)("ariaDescriptionId","desired-down-tooltip")("validateFor",t.validate)("required",t.required)("control",t.controlName)("hasTooltip",!0)("hasInfo",t.hasInfo)("analytic-data",t.analyticData)("analyticDataExpandTooltip",t.analyticDataExpandTooltip)("analyticDataCollapseTooltip",t.analyticDataCollapseTooltip)("infoAriaLabel",t.infoAriaLabel),i.xp6(2),i.Q6J("innerHTML",t.label,i.oJD),i.xp6(3),i.Q6J("innerHTML",t.tooltipInputLabel,i.oJD))},styles:['@keyframes loadgrow{0%{height:0;opacity:0;width:0}to{height:10em;opacity:1;width:10em}}@keyframes expandout{0%{width:0}to{width:100%}}@keyframes scale-up{0%{transform:scale(0);transform-origin:center}to{transform:scale(1);transform-origin:center}}@keyframes fillcircle{0%{border-bottom:1.1em solid rgba(181,233,212,.8)}50%{border-right:1.1em solid rgba(181,233,212,.8)}to{border-top:1.1em solid rgba(181,233,212,.8)}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:0}}@keyframes fade-in-out{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes fade-in-out-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes pulse-half-opacity{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes pulse-half-border{0%{border-color:#f74e50}50%{border-color:#f74e5080}to{border-color:#f74e50}}@keyframes fade-in-out-scroll{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}@keyframes rotate-horizontal{0%{transform:rotateY(-180deg)}80%{transform:rotateY(-180deg)}to{transform:rotateY(0)}}@keyframes loaderrotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-rank-spinner-excellent{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-4deg)}to{opacity:1;transform:rotate(-10deg)}}@keyframes rotate-rank-spinner-excellent-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes rotate-rank-spinner-good{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-52deg)}to{opacity:1;transform:rotate(-60deg)}}@keyframes rotate-rank-spinner-good-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-62deg)}to{opacity:1;transform:rotate(-70deg)}}@keyframes rotate-rank-spinner-fair{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-97deg)}to{opacity:1;transform:rotate(-105deg)}}@keyframes rotate-rank-spinner-fair-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-115deg)}to{opacity:1;transform:rotate(-110deg)}}@keyframes rotate-rank-spinner-low{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-142deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-150deg)}}@keyframes rotate-rank-spinner-low-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-163deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-170deg)}}@keyframes rotate-rank-spinner-error{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes pulse-credit-rank-spinner{0%{transform:scale(1)}50%{backface-visibility:hidden;transform:scale(1.1)}to{transform:scale(1)}}@keyframes pulse{0%{opacity:0;transform:scale(.3)}25%{opacity:.1;transform:scale(.5)}50%{opacity:.3;transform:scale(.7)}75%{opacity:.5;transform:scale(.8)}to{opacity:0;transform:scale(1)}}@keyframes pulse-text-overlay{0%{opacity:.8}50%{opacity:.875}to{opacity:.95}}@keyframes barloader{0%{left:50%;width:0;z-index:100}33%{left:0;width:100%;z-index:10}to{left:0;width:100%}}@keyframes dot-circles{0%,80%,to{box-shadow:0 2.5rem 0 -1.3em}40%{box-shadow:0 2.5rem}}@keyframes model-svg-animation-draw{to{stroke-dashoffset:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes middleSlideUp{0%{transform:translate(-50%,100%)}to{transform:translate(-50%,-50%)}}@keyframes beat{0%{transform:scale(1)}50%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes synapse-expand{0%{opacity:0;transform:scale(.2)}to{opacity:.7;transform:scale(1)}}@keyframes genius-fade{0%{stroke-opacity:1}90%{stroke-opacity:1}to{stroke-opacity:0}}@keyframes genius-animate-0{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-1{18%{stroke-dashoffset:2690}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-2{18%{stroke-dashoffset:2120}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-3{18%{stroke-dashoffset:548}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-4{18%{stroke-dashoffset:68}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-5{18%{stroke-dashoffset:241}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-6{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-7{18%{stroke-dashoffset:2350}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-8{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-9{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes checkAnimation{to{stroke-dashoffset:0}}@keyframes speedTextAnimation{0%{margin-left:-200%}to{margin-left:0%}}@keyframes enter-toast{0%{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes exit-toast{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}@keyframes rotate-90-righty{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes rotate-90-lefty{0%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes rotate-45-righty{0%{transform:rotate(0)}to{transform:rotate(45deg)}}@keyframes rotate-45-lefty{0%{transform:rotate(45deg)}to{transform:rotate(0)}}.input-container[_ngcontent-%COMP%]{height:2.5rem;position:relative}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{cursor:pointer;height:100%;right:0;width:12.5vw;padding:0 3vw 0 4vw;fill:#8f9aa3;z-index:3;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:50%;transform:translateY(-50%) rotate(0)}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]:focus{outline:0}.input-label[_ngcontent-%COMP%]{color:#8f9aa3;padding-left:3vw;pointer-events:none;position:absolute;transform:translate(3vw,.65rem) scale(.85);transform-origin:left top;transition:all .5s ease-in-out;z-index:3;font-size:4vw}.input-field[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ececec;border-radius:4px;color:#4e575e;height:2.5rem;padding:.9rem 0 0 5vw;position:absolute;width:100%;z-index:2;font-size:4vw;-webkit-appearance:none}.input-field[_ngcontent-%COMP%]::-ms-clear{display:none}.input-field[_ngcontent-%COMP%]:disabled{opacity:1}.input-field.optional[_ngcontent-%COMP%]{background-color:#fff}.input-field.is-invalid[_ngcontent-%COMP%]{border-color:#f74e50}.input-field.is-invalid[_ngcontent-%COMP%]:focus{outline-color:#f74e50}.input-field.show-info[_ngcontent-%COMP%]{border-color:#075078}.input-field.show-tooltip[_ngcontent-%COMP%]{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.input-field.has-info[_ngcontent-%COMP%]{padding-right:13vw}.input-field[_ngcontent-%COMP%]:focus{outline-color:#075078}.input-field.valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(3vw,.25rem) scale(.65);transition:all .5s ease-in-out}.input-field[_ngcontent-%COMP%]:focus::-webkit-datetime-edit, .input-field.has-value[_ngcontent-%COMP%]::-webkit-datetime-edit, .input-field.prefilled-input[_ngcontent-%COMP%]::-webkit-datetime-edit{opacity:1;-webkit-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out}.input-field[_ngcontent-%COMP%]::-webkit-datetime-edit{color:#4e575e;display:inline-block;font-family:"Mulish",sans-serif;opacity:0}.input-field[_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{background:transparent;color:transparent;padding:100% 1.1rem}.input-field[_ngcontent-%COMP%]::-webkit-inner-spin-button, .input-field[_ngcontent-%COMP%]::-webkit-clear-button{display:none}.input-field[type=date].valid[_ngcontent-%COMP%]{background-color:#fff}.input-field[type=date].ng-valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.validation-error-message[_ngcontent-%COMP%]{color:#f74e50;padding:.2rem 0 0;width:100%;font-size:2.8vw}.loader-container[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%) rotate(0);right:5%;height:2.5vh;width:2.5vh;opacity:0;z-index:1}.loader-container.show[_ngcontent-%COMP%]{opacity:1;z-index:3;transition:opacity 0s ease 1s}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:around 5.4s infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after, .loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:before{content:"";background:transparent;position:absolute;display:inline-block;width:100%;height:100%;border-width:.125rem;border-color:#075078 #ececec transparent transparent;border-style:solid;border-radius:1.25rem;box-sizing:border-box;animation:loaderrotate .7s ease-in-out infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after{animation:loaderrotate .7s ease-in-out .1s infinite;background:transparent}.date-container[_ngcontent-%COMP%]{display:flex}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]{flex:1}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]:nth-child(2){margin:0 .5rem}@media screen and (min-width: 414px){.input-container[_ngcontent-%COMP%]{height:3rem}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{width:2.9rem;padding:0 .8rem 0 1rem}.input-label[_ngcontent-%COMP%]{font-size:.89rem;padding-left:.6rem;transform:translate(.6rem,.85rem) scale(1)}.validation-error-message[_ngcontent-%COMP%]{font-size:.625rem}.input-field[_ngcontent-%COMP%]{padding:1.1rem 0 0 .9rem;height:3rem;font-size:.89rem}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(.6rem,.4rem) scale(.7);transition:all .5s ease-in-out}.input-field.has-info[_ngcontent-%COMP%]{padding-right:3rem}}']}),e})()},50187:function(e,t,n){"use strict";n.d(t,{W:function(){return h}});var i=n(37716),a=(n(61718),n(20483)),o=n(71412),r=n(70764),s=n(72349),l=n(26215);const c=["MM"],d=["DD"],u=["YYYY"];function p(e,t){if(1&e&&(i.TgZ(0,"div",9),i._uU(1),i.qZA()),2&e){const e=i.oxw();i.Q6J("id",e.errorMessageId),i.xp6(1),i.Oqu(e.errorMessage)}}let h=(()=>{class e{constructor(e){this._analyticService=e,this.isRequired=!0,this.ddAnalyticData={},this.mmAnalyticData={},this.yyyyAnalyticData={},this.fullDateAnalyticData={},this.onDOBBlur=new i.vpe,this.errorMessage="",this.errorMessageId=s.uR.generateShortUuid(),this.ariaIsInvalid$=new l.X(!1)}validateMM(){let e=this.getNumberValue(this.monthInput);0===e||e>12?(this.monthInput.control.setErrors({incorrectMonth:!0}),this.monthInput.control.markAsTouched()):(this.validateDate(),2===this.monthInput.control.value.length&&(this.isFullDateEntered()||this.setFocus()))}validateDD(){let e=this.getNumberValue(this.dayInput);0===e||e>31?(this.dayInput.control.setErrors({incorrectDay:!0}),this.dayInput.control.markAsTouched()):(this.validateDate(),2===this.dayInput.control.value.length&&(this.isFullDateEntered()||this.setFocus()))}validateYYYY(){let e=this.getNumberValue(this.yearInput);e>o().subtract(18,"years").year()||e<o().subtract(101,"years").year()?(this.yearInput.control.setErrors({incorrectYear:!0}),this.yearInput.control.markAsTouched()):(this.validateDate(),4===this.yearInput.control.value.length&&(this.isFullDateEntered()||this.setFocus()))}maskLeadingZero(e,t){let n=this.getNumberValue(e);n<10&&n>0&&1===e.control.value.length&&e.control.patchValue(`0${n}`),this.onDOBBlur.emit(t)}onYearBlur(e){this.onDOBBlur.emit(e)}getNumberValue(e){return a.cmp.isDefinedAndNotNull(e.control.value)?+e.control.value.replace(/\D/g,""):0}validateDate(){let e=this.getNumberValue(this.monthInput),t=this.getNumberValue(this.dayInput),n=this.getNumberValue(this.yearInput),i=this.monthInput.hasValue()&&this.dayInput.hasValue()&&!this.yearInput.hasValue();if(this.monthInput.control.setErrors(null),this.dayInput.control.setErrors(null),this.yearInput.control.setErrors(null),this.isFullDateEntered()&&!this.isValidDateAndDTAge(e,t,n))return this.monthInput.control.setErrors({incorrectMonth:!0}),this.dayInput.control.setErrors({incorrectDay:!0}),this.yearInput.control.setErrors({incorrectYear:!0}),void this._analyticService.logAnalytic(this.fullDateAnalyticData);i&&2===e&&t>29&&this.dayInput.control.setErrors({incorrectDay:!0})}isValidDateAndDTAge(e,t,n){return 4===n.toString().length&&o(`${e}-${t}-${n}`,"MM-DD-YYYY").isValid()&&o(`${e}-${t}-${n}`,"MM-DD-YYYY")<o().subtract(18,"years")&&o(`${e}-${t}-${n}`,"MM-DD-YYYY")>o().subtract(101,"years")}setFocus(){let e=this.monthInput.hasValue()&&this.dayInput.hasValue()&&!this.yearInput.hasValue(),t=this.monthInput.hasValue()&&!this.dayInput.hasValue()&&this.yearInput.hasValue(),n=!this.monthInput.hasValue()&&this.dayInput.hasValue()&&!this.yearInput.hasValue(),i=!this.monthInput.hasValue()&&this.dayInput.hasValue()&&this.yearInput.hasValue(),a=this.monthInput.hasValue()&&!this.dayInput.hasValue()&&!this.yearInput.hasValue(),o=!this.monthInput.hasValue()&&!this.dayInput.hasValue()&&this.yearInput.hasValue();this.monthInput.isInvalid()||n||i||o?this.monthInput.setFocus():this.dayInput.isInvalid()||a||t?this.dayInput.setFocus():(this.yearInput.isInvalid()||e)&&this.yearInput.setFocus()}checkValidity(){let e=!0;return[this.monthInput,this.dayInput,this.yearInput].map(t=>{(!t.checkValidity()||!t.hasValue())&&(t.control.setErrors({incorrect:!0}),t.control.markAsTouched(),e=!1)}),e}isInputError(){let e=!0;return[this.monthInput,this.dayInput,this.yearInput].map(t=>{a.cmp.isDefinedAndNotNull(t.control)&&t.control.touched&&(t.isInputError()||!t.hasValue())&&(e=!1,this.errorMessage=this.getNumberValue(this.yearInput)>o().subtract(18,"years").year()?"Applicants must be 18 years or older":"Please enter valid date of birth",this.ariaIsInvalid$.next(!e))}),!e}isFullDateEntered(){return this.monthInput.hasValue()&&this.dayInput.hasValue()&&this.yearInput.hasValue()}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(r.g))},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-input-dob"]],viewQuery:function(e,t){if(1&e&&(i.Gf(c,7),i.Gf(d,7),i.Gf(u,7)),2&e){let e;i.iGM(e=i.CRH())&&(t.monthInput=e.first),i.iGM(e=i.CRH())&&(t.dayInput=e.first),i.iGM(e=i.CRH())&&(t.yearInput=e.first)}},inputs:{qaidMonth:"qaidMonth",qaidDay:"qaidDay",qaidYear:"qaidYear",isRequired:"isRequired",mmControlName:"mmControlName",ddControlName:"ddControlName",yyyyControlName:"yyyyControlName",ddAnalyticData:"ddAnalyticData",mmAnalyticData:"mmAnalyticData",yyyyAnalyticData:"yyyyAnalyticData",fullDateAnalyticData:"fullDateAnalyticData"},outputs:{onDOBBlur:"onDOBBlur"},decls:35,vars:31,consts:[[1,"date-container"],[1,"date-input"],["inputType","text","name","DateOfBirthMM","ariaLabel","Enter Month of Birth","inputType","tel","validateFor","dateOfBirth","className","fs-mask",3,"qaid","ariaDescriptionId","maxLength","required","control","hasInfo","hasTooltip","analytic-data","errorMessageId","ariaIsInvalid$","onInput","onBlur"],["MM",""],["inputType","text","name","DateOfBirthDD","ariaLabel","Enter Day of Birth","validateFor","dateOfBirth","inputType","tel","className","fs-mask",3,"qaid","ariaDescriptionId","maxLength","required","control","hasInfo","hasTooltip","analytic-data","errorMessageId","ariaIsInvalid$","onInput","onBlur"],["DD",""],["inputType","text","name","DateOfBirthYYYY","inputType","tel","ariaLabel","Enter Year of Birth","validateFor","dateOfBirthYYYY","validateFor","dateOfBirth","className","fs-mask",3,"qaid","ariaDescriptionId","maxLength","required","control","hasInfo","hasTooltip","analytic-data","errorMessageId","ariaIsInvalid$","onInput","onBlur"],["YYYY",""],["class","validation-error-message",3,"id",4,"ngIf"],[1,"validation-error-message",3,"id"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i._uU(1,"\n "),i.TgZ(2,"div",1),i._uU(3,"\n "),i.TgZ(4,"dtm-input-group",2,3),i.NdJ("onInput",function(){return t.validateMM()})("onBlur",function(e){return t.maskLeadingZero(t.monthInput,e)}),i._uU(6,"\n "),i.TgZ(7,"span"),i._uU(8,"MM"),i.qZA(),i._uU(9,"\n "),i.qZA(),i._uU(10,"\n "),i.qZA(),i._uU(11,"\n "),i.TgZ(12,"div",1),i._uU(13,"\n "),i.TgZ(14,"dtm-input-group",4,5),i.NdJ("onInput",function(){return t.validateDD()})("onBlur",function(e){return t.maskLeadingZero(t.dayInput,e)}),i._uU(16,"\n "),i.TgZ(17,"span"),i._uU(18,"DD"),i.qZA(),i._uU(19,"\n "),i.qZA(),i._uU(20,"\n "),i.qZA(),i._uU(21,"\n "),i.TgZ(22,"div",1),i._uU(23,"\n "),i.TgZ(24,"dtm-input-group",6,7),i.NdJ("onInput",function(){return t.validateYYYY()})("onBlur",function(e){return t.onYearBlur(e)}),i._uU(26,"\n "),i.TgZ(27,"span"),i._uU(28,"YYYY"),i.qZA(),i._uU(29,"\n "),i.qZA(),i._uU(30,"\n "),i.qZA(),i._uU(31,"\n"),i.qZA(),i._uU(32,"\n"),i.YNc(33,p,2,2,"div",8),i._uU(34,"\n\n")),2&e&&(i.xp6(4),i.Q6J("qaid",t.qaidMonth)("ariaDescriptionId",t.errorMessageId+" dob-tooltip")("maxLength",2)("required",t.isRequired)("control",t.mmControlName)("hasInfo",!1)("hasTooltip",!1)("analytic-data",t.mmAnalyticData)("errorMessageId",t.errorMessageId)("ariaIsInvalid$",t.ariaIsInvalid$),i.xp6(10),i.Q6J("qaid",t.qaidDay)("ariaDescriptionId",t.errorMessageId)("maxLength",2)("required",t.isRequired)("control",t.ddControlName)("hasInfo",!1)("hasTooltip",!1)("analytic-data",t.ddAnalyticData)("errorMessageId",t.errorMessageId)("ariaIsInvalid$",t.ariaIsInvalid$),i.xp6(10),i.Q6J("qaid",t.qaidYear)("ariaDescriptionId",t.errorMessageId)("maxLength",4)("required",t.isRequired)("control",t.yyyyControlName)("hasInfo",!1)("hasTooltip",!1)("analytic-data",t.yyyyAnalyticData)("errorMessageId",t.errorMessageId)("ariaIsInvalid$",t.ariaIsInvalid$),i.xp6(9),i.Q6J("ngIf",t.isInputError()))},styles:['@keyframes loadgrow{0%{height:0;opacity:0;width:0}to{height:10em;opacity:1;width:10em}}@keyframes expandout{0%{width:0}to{width:100%}}@keyframes scale-up{0%{transform:scale(0);transform-origin:center}to{transform:scale(1);transform-origin:center}}@keyframes fillcircle{0%{border-bottom:1.1em solid rgba(181,233,212,.8)}50%{border-right:1.1em solid rgba(181,233,212,.8)}to{border-top:1.1em solid rgba(181,233,212,.8)}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:0}}@keyframes fade-in-out{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes fade-in-out-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes pulse-half-opacity{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes pulse-half-border{0%{border-color:#f74e50}50%{border-color:#f74e5080}to{border-color:#f74e50}}@keyframes fade-in-out-scroll{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}@keyframes rotate-horizontal{0%{transform:rotateY(-180deg)}80%{transform:rotateY(-180deg)}to{transform:rotateY(0)}}@keyframes loaderrotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-rank-spinner-excellent{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-4deg)}to{opacity:1;transform:rotate(-10deg)}}@keyframes rotate-rank-spinner-excellent-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes rotate-rank-spinner-good{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-52deg)}to{opacity:1;transform:rotate(-60deg)}}@keyframes rotate-rank-spinner-good-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-62deg)}to{opacity:1;transform:rotate(-70deg)}}@keyframes rotate-rank-spinner-fair{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-97deg)}to{opacity:1;transform:rotate(-105deg)}}@keyframes rotate-rank-spinner-fair-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-115deg)}to{opacity:1;transform:rotate(-110deg)}}@keyframes rotate-rank-spinner-low{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-142deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-150deg)}}@keyframes rotate-rank-spinner-low-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-163deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-170deg)}}@keyframes rotate-rank-spinner-error{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes pulse-credit-rank-spinner{0%{transform:scale(1)}50%{backface-visibility:hidden;transform:scale(1.1)}to{transform:scale(1)}}@keyframes pulse{0%{opacity:0;transform:scale(.3)}25%{opacity:.1;transform:scale(.5)}50%{opacity:.3;transform:scale(.7)}75%{opacity:.5;transform:scale(.8)}to{opacity:0;transform:scale(1)}}@keyframes pulse-text-overlay{0%{opacity:.8}50%{opacity:.875}to{opacity:.95}}@keyframes barloader{0%{left:50%;width:0;z-index:100}33%{left:0;width:100%;z-index:10}to{left:0;width:100%}}@keyframes dot-circles{0%,80%,to{box-shadow:0 2.5rem 0 -1.3em}40%{box-shadow:0 2.5rem}}@keyframes model-svg-animation-draw{to{stroke-dashoffset:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes middleSlideUp{0%{transform:translate(-50%,100%)}to{transform:translate(-50%,-50%)}}@keyframes beat{0%{transform:scale(1)}50%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes synapse-expand{0%{opacity:0;transform:scale(.2)}to{opacity:.7;transform:scale(1)}}@keyframes genius-fade{0%{stroke-opacity:1}90%{stroke-opacity:1}to{stroke-opacity:0}}@keyframes genius-animate-0{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-1{18%{stroke-dashoffset:2690}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-2{18%{stroke-dashoffset:2120}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-3{18%{stroke-dashoffset:548}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-4{18%{stroke-dashoffset:68}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-5{18%{stroke-dashoffset:241}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-6{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-7{18%{stroke-dashoffset:2350}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-8{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-9{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes checkAnimation{to{stroke-dashoffset:0}}@keyframes speedTextAnimation{0%{margin-left:-200%}to{margin-left:0%}}@keyframes enter-toast{0%{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes exit-toast{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}@keyframes rotate-90-righty{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes rotate-90-lefty{0%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes rotate-45-righty{0%{transform:rotate(0)}to{transform:rotate(45deg)}}@keyframes rotate-45-lefty{0%{transform:rotate(45deg)}to{transform:rotate(0)}}.input-container[_ngcontent-%COMP%]{height:2.5rem;position:relative}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{cursor:pointer;height:100%;right:0;width:12.5vw;padding:0 3vw 0 4vw;fill:#8f9aa3;z-index:3;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:50%;transform:translateY(-50%) rotate(0)}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]:focus{outline:0}.input-label[_ngcontent-%COMP%]{color:#8f9aa3;padding-left:3vw;pointer-events:none;position:absolute;transform:translate(3vw,.65rem) scale(.85);transform-origin:left top;transition:all .5s ease-in-out;z-index:3;font-size:4vw}.input-field[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ececec;border-radius:4px;color:#4e575e;height:2.5rem;padding:.9rem 0 0 5vw;position:absolute;width:100%;z-index:2;font-size:4vw;-webkit-appearance:none}.input-field[_ngcontent-%COMP%]::-ms-clear{display:none}.input-field[_ngcontent-%COMP%]:disabled{opacity:1}.input-field.optional[_ngcontent-%COMP%]{background-color:#fff}.input-field.is-invalid[_ngcontent-%COMP%]{border-color:#f74e50}.input-field.is-invalid[_ngcontent-%COMP%]:focus{outline-color:#f74e50}.input-field.show-info[_ngcontent-%COMP%]{border-color:#075078}.input-field.show-tooltip[_ngcontent-%COMP%]{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.input-field.has-info[_ngcontent-%COMP%]{padding-right:13vw}.input-field[_ngcontent-%COMP%]:focus{outline-color:#075078}.input-field.valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(3vw,.25rem) scale(.65);transition:all .5s ease-in-out}.input-field[_ngcontent-%COMP%]:focus::-webkit-datetime-edit, .input-field.has-value[_ngcontent-%COMP%]::-webkit-datetime-edit, .input-field.prefilled-input[_ngcontent-%COMP%]::-webkit-datetime-edit{opacity:1;-webkit-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out}.input-field[_ngcontent-%COMP%]::-webkit-datetime-edit{color:#4e575e;display:inline-block;font-family:"Mulish",sans-serif;opacity:0}.input-field[_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{background:transparent;color:transparent;padding:100% 1.1rem}.input-field[_ngcontent-%COMP%]::-webkit-inner-spin-button, .input-field[_ngcontent-%COMP%]::-webkit-clear-button{display:none}.input-field[type=date].valid[_ngcontent-%COMP%]{background-color:#fff}.input-field[type=date].ng-valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.validation-error-message[_ngcontent-%COMP%]{color:#f74e50;padding:.2rem 0 0;width:100%;font-size:2.8vw}.loader-container[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%) rotate(0);right:5%;height:2.5vh;width:2.5vh;opacity:0;z-index:1}.loader-container.show[_ngcontent-%COMP%]{opacity:1;z-index:3;transition:opacity 0s ease 1s}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:around 5.4s infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after, .loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:before{content:"";background:transparent;position:absolute;display:inline-block;width:100%;height:100%;border-width:.125rem;border-color:#075078 #ececec transparent transparent;border-style:solid;border-radius:1.25rem;box-sizing:border-box;animation:loaderrotate .7s ease-in-out infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after{animation:loaderrotate .7s ease-in-out .1s infinite;background:transparent}.date-container[_ngcontent-%COMP%]{display:flex}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]{flex:1}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]:nth-child(2){margin:0 .5rem}@media screen and (min-width: 414px){.input-container[_ngcontent-%COMP%]{height:3rem}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{width:2.9rem;padding:0 .8rem 0 1rem}.input-label[_ngcontent-%COMP%]{font-size:.89rem;padding-left:.6rem;transform:translate(.6rem,.85rem) scale(1)}.validation-error-message[_ngcontent-%COMP%]{font-size:.625rem}.input-field[_ngcontent-%COMP%]{padding:1.1rem 0 0 .9rem;height:3rem;font-size:.89rem}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(.6rem,.4rem) scale(.7);transition:all .5s ease-in-out}.input-field.has-info[_ngcontent-%COMP%]{padding-right:3rem}}']}),e})()},97519:function(e,t,n){"use strict";n.d(t,{p:function(){return o}});var i=n(37716),a=n(61718);n(87020);let o=(()=>{class e{constructor(){this.isRequired=!0,this.analyticData={},this.ariaLabel="",this.onBlur=new i.vpe}setFocus(){this.inputGroup.setFocus()}checkValidity(){return this.inputGroup.checkValidity()}handleBlur(e){this.onBlur.emit(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-input-email"]],viewQuery:function(e,t){if(1&e&&i.Gf(a.c3,5),2&e){let e;i.iGM(e=i.CRH())&&(t.inputGroup=e.first)}},inputs:{qaid:"qaid",isRequired:"isRequired",controlName:"controlName",analyticData:["analytic-data","analyticData"],ariaLabel:"ariaLabel"},outputs:{onBlur:"onBlur"},decls:7,vars:8,consts:[["inputType","email","name","Email","ariaLabel","Enter Email","errorMessage","Please enter a valid email","className","fs-mask",3,"qaid","validateFor","required","control","hasInfo","hasTooltip","analytic-data","onBlur"]],template:function(e,t){1&e&&(i._uU(0,"\n "),i.TgZ(1,"dtm-input-group",0),i.NdJ("onBlur",function(e){return t.handleBlur(e)}),i._uU(2,"\n "),i.TgZ(3,"span"),i._uU(4),i.qZA(),i._uU(5,"\n "),i.qZA(),i._uU(6,"\n ")),2&e&&(i.xp6(1),i.Q6J("qaid",t.qaid)("validateFor","emailAddress")("required",t.isRequired)("control",t.controlName)("hasInfo",!1)("hasTooltip",!1)("analytic-data",t.analyticData),i.xp6(3),i.hij("\n ",t.isRequired?"Email":"Email (optional)","\n "))},styles:['@keyframes loadgrow{0%{height:0;opacity:0;width:0}to{height:10em;opacity:1;width:10em}}@keyframes expandout{0%{width:0}to{width:100%}}@keyframes scale-up{0%{transform:scale(0);transform-origin:center}to{transform:scale(1);transform-origin:center}}@keyframes fillcircle{0%{border-bottom:1.1em solid rgba(181,233,212,.8)}50%{border-right:1.1em solid rgba(181,233,212,.8)}to{border-top:1.1em solid rgba(181,233,212,.8)}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:0}}@keyframes fade-in-out{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes fade-in-out-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes pulse-half-opacity{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes pulse-half-border{0%{border-color:#f74e50}50%{border-color:#f74e5080}to{border-color:#f74e50}}@keyframes fade-in-out-scroll{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}@keyframes rotate-horizontal{0%{transform:rotateY(-180deg)}80%{transform:rotateY(-180deg)}to{transform:rotateY(0)}}@keyframes loaderrotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-rank-spinner-excellent{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-4deg)}to{opacity:1;transform:rotate(-10deg)}}@keyframes rotate-rank-spinner-excellent-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes rotate-rank-spinner-good{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-52deg)}to{opacity:1;transform:rotate(-60deg)}}@keyframes rotate-rank-spinner-good-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-62deg)}to{opacity:1;transform:rotate(-70deg)}}@keyframes rotate-rank-spinner-fair{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-97deg)}to{opacity:1;transform:rotate(-105deg)}}@keyframes rotate-rank-spinner-fair-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-115deg)}to{opacity:1;transform:rotate(-110deg)}}@keyframes rotate-rank-spinner-low{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-142deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-150deg)}}@keyframes rotate-rank-spinner-low-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-163deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-170deg)}}@keyframes rotate-rank-spinner-error{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes pulse-credit-rank-spinner{0%{transform:scale(1)}50%{backface-visibility:hidden;transform:scale(1.1)}to{transform:scale(1)}}@keyframes pulse{0%{opacity:0;transform:scale(.3)}25%{opacity:.1;transform:scale(.5)}50%{opacity:.3;transform:scale(.7)}75%{opacity:.5;transform:scale(.8)}to{opacity:0;transform:scale(1)}}@keyframes pulse-text-overlay{0%{opacity:.8}50%{opacity:.875}to{opacity:.95}}@keyframes barloader{0%{left:50%;width:0;z-index:100}33%{left:0;width:100%;z-index:10}to{left:0;width:100%}}@keyframes dot-circles{0%,80%,to{box-shadow:0 2.5rem 0 -1.3em}40%{box-shadow:0 2.5rem}}@keyframes model-svg-animation-draw{to{stroke-dashoffset:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes middleSlideUp{0%{transform:translate(-50%,100%)}to{transform:translate(-50%,-50%)}}@keyframes beat{0%{transform:scale(1)}50%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes synapse-expand{0%{opacity:0;transform:scale(.2)}to{opacity:.7;transform:scale(1)}}@keyframes genius-fade{0%{stroke-opacity:1}90%{stroke-opacity:1}to{stroke-opacity:0}}@keyframes genius-animate-0{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-1{18%{stroke-dashoffset:2690}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-2{18%{stroke-dashoffset:2120}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-3{18%{stroke-dashoffset:548}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-4{18%{stroke-dashoffset:68}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-5{18%{stroke-dashoffset:241}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-6{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-7{18%{stroke-dashoffset:2350}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-8{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-9{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes checkAnimation{to{stroke-dashoffset:0}}@keyframes speedTextAnimation{0%{margin-left:-200%}to{margin-left:0%}}@keyframes enter-toast{0%{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes exit-toast{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}@keyframes rotate-90-righty{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes rotate-90-lefty{0%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes rotate-45-righty{0%{transform:rotate(0)}to{transform:rotate(45deg)}}@keyframes rotate-45-lefty{0%{transform:rotate(45deg)}to{transform:rotate(0)}}.input-container[_ngcontent-%COMP%]{height:2.5rem;position:relative}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{cursor:pointer;height:100%;right:0;width:12.5vw;padding:0 3vw 0 4vw;fill:#8f9aa3;z-index:3;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:50%;transform:translateY(-50%) rotate(0)}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]:focus{outline:0}.input-label[_ngcontent-%COMP%]{color:#8f9aa3;padding-left:3vw;pointer-events:none;position:absolute;transform:translate(3vw,.65rem) scale(.85);transform-origin:left top;transition:all .5s ease-in-out;z-index:3;font-size:4vw}.input-field[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ececec;border-radius:4px;color:#4e575e;height:2.5rem;padding:.9rem 0 0 5vw;position:absolute;width:100%;z-index:2;font-size:4vw;-webkit-appearance:none}.input-field[_ngcontent-%COMP%]::-ms-clear{display:none}.input-field[_ngcontent-%COMP%]:disabled{opacity:1}.input-field.optional[_ngcontent-%COMP%]{background-color:#fff}.input-field.is-invalid[_ngcontent-%COMP%]{border-color:#f74e50}.input-field.is-invalid[_ngcontent-%COMP%]:focus{outline-color:#f74e50}.input-field.show-info[_ngcontent-%COMP%]{border-color:#075078}.input-field.show-tooltip[_ngcontent-%COMP%]{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.input-field.has-info[_ngcontent-%COMP%]{padding-right:13vw}.input-field[_ngcontent-%COMP%]:focus{outline-color:#075078}.input-field.valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(3vw,.25rem) scale(.65);transition:all .5s ease-in-out}.input-field[_ngcontent-%COMP%]:focus::-webkit-datetime-edit, .input-field.has-value[_ngcontent-%COMP%]::-webkit-datetime-edit, .input-field.prefilled-input[_ngcontent-%COMP%]::-webkit-datetime-edit{opacity:1;-webkit-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out}.input-field[_ngcontent-%COMP%]::-webkit-datetime-edit{color:#4e575e;display:inline-block;font-family:"Mulish",sans-serif;opacity:0}.input-field[_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{background:transparent;color:transparent;padding:100% 1.1rem}.input-field[_ngcontent-%COMP%]::-webkit-inner-spin-button, .input-field[_ngcontent-%COMP%]::-webkit-clear-button{display:none}.input-field[type=date].valid[_ngcontent-%COMP%]{background-color:#fff}.input-field[type=date].ng-valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.validation-error-message[_ngcontent-%COMP%]{color:#f74e50;padding:.2rem 0 0;width:100%;font-size:2.8vw}.loader-container[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%) rotate(0);right:5%;height:2.5vh;width:2.5vh;opacity:0;z-index:1}.loader-container.show[_ngcontent-%COMP%]{opacity:1;z-index:3;transition:opacity 0s ease 1s}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:around 5.4s infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after, .loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:before{content:"";background:transparent;position:absolute;display:inline-block;width:100%;height:100%;border-width:.125rem;border-color:#075078 #ececec transparent transparent;border-style:solid;border-radius:1.25rem;box-sizing:border-box;animation:loaderrotate .7s ease-in-out infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after{animation:loaderrotate .7s ease-in-out .1s infinite;background:transparent}.date-container[_ngcontent-%COMP%]{display:flex}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]{flex:1}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]:nth-child(2){margin:0 .5rem}@media screen and (min-width: 414px){.input-container[_ngcontent-%COMP%]{height:3rem}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{width:2.9rem;padding:0 .8rem 0 1rem}.input-label[_ngcontent-%COMP%]{font-size:.89rem;padding-left:.6rem;transform:translate(.6rem,.85rem) scale(1)}.validation-error-message[_ngcontent-%COMP%]{font-size:.625rem}.input-field[_ngcontent-%COMP%]{padding:1.1rem 0 0 .9rem;height:3rem;font-size:.89rem}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(.6rem,.4rem) scale(.7);transition:all .5s ease-in-out}.input-field.has-info[_ngcontent-%COMP%]{padding-right:3rem}}']}),e})()},5359:function(e,t,n){"use strict";n.d(t,{c:function(){return I}});var i=n(37716),a=n(67041),o=n(70764),r=n(68450),s=n(17952),l=n(26215),c=n(79765),d=n(46782),u=n(72349),p=n(20483),h=n(3679),m=n(82701),g=n(38583),f=n(77519),y=n(19967),_=n(48350);const A=["inputElem"],v=function(e){return{ariaLabel:e}};function b(e,t){if(1&e){const e=i.EpF();i.TgZ(0,"span",10),i.NdJ("click",function(t){return i.CHM(e),i.oxw().handleTooltipToggle(t)}),i._uU(1,"\n "),i.qZA()}if(2&e){const e=i.oxw();i.Q6J("accessibility",i.VKq(1,v,e.infoAriaLabel))}}const C=function(e){return{show:e}};function w(e,t){if(1&e&&(i.TgZ(0,"div",11),i._uU(1,"\n "),i._UZ(2,"span",12),i._uU(3,"\n "),i.qZA()),2&e){const e=i.oxw();i.Q6J("ngClass",i.VKq(1,C,e.isPending))}}function S(e,t){if(1&e&&(i.TgZ(0,"div",13),i._uU(1),i.qZA()),2&e){const e=i.oxw();i.Q6J("id",e.errorMessageId),i.xp6(1),i.Oqu(e.errorMessage)}}function k(e,t){if(1&e&&(i.TgZ(0,"dtm-form-tooltip",14),i._uU(1,"\n "),i.TgZ(2,"tooltip-text"),i._uU(3,"\n "),i.Hsn(4,1),i._uU(5,"\n "),i.qZA(),i._uU(6,"\n "),i.qZA()),2&e){const e=i.oxw();i.Q6J("hasError",e.isInvalid()&&e.isTooltipVisible())("showInfo",e.isTooltipVisible())("svgIcon",e.tooltipSvg),i.xp6(2),i.uIk("aria-hidden",!e.showInfo)}}const M=["*",[["tooltip-text"]]],P=function(e,t,n,i,a){return{ariaDynamicLabel$:e,ariaLabelledby:t,ariaDescribedby:n,ariaInvalid$:i,ariaErrorMessage:a}},O=function(e,t,n,i,a,o,r,s){return{optional:e,"has-value":t,"is-invalid":n,valid:i,"show-info":a,"show-tooltip":o,"has-info":r,"text-overflow-ellipsis":s}},U=["*","tooltip-text"];let I=(()=>{class e{constructor(e,t,n,a,o){this._appConfig=e,this._analyticService=t,this._validationService=n,this._windowService=a,this._cdRef=o,this.inputType="text",this.placeHolder="",this.hasInfo=!1,this.showInfo=!1,this.hasTooltip=!0,this.ellipsize=!0,this.ariaLabel="",this.ariaLabelId="",this.ariaDescriptionId="",this.onInput=new i.vpe,this.onBlur=new i.vpe,this.onFocus=new i.vpe,this.onChange=new i.vpe,this.tooltipExpandEvent=new i.vpe,this.tooltipCollapseEvent=new i.vpe,this.analyticDataChanged={},this.validateFor="",this.analyticData={},this.analyticDataExpandTooltip={},this.analyticDataCollapseTooltip={},this.errorMessage="",this.errorMessageId=u.uR.generateShortUuid(),this.ariaIsInvalid$=new l.X(!1),this.ariaDynamicLabel$=new l.X(""),this.customValidators=[],this.hasAsyncValidators=!1,this.isPending=!1,this._componentUnsubscribe=new c.xQ}setFocus(e=!0){e&&this.control.markAsTouched(),this.elementRef.nativeElement.focus()}checkValidity(){return this.control.markAsTouched(),!this.isInvalid()||(this.analyticData.includeInputValue&&Object.assign({},this.analyticData.additionalData,{FieldValue:this.elementRef.nativeElement.value}),this._analyticService.logAnalytic(this.analyticData),this._cdRef.detectChanges(),!1)}ngOnInit(){this.textMask=this._validationService.getTextMask(this.validateFor),this.exactLength=this.exactLength||this._validationService.getExactLength(this.validateFor),this.maxLength=this.maxLength||this._validationService.getMaxLength(this.validateFor);let e=this._validationService.getValidators(this.validateFor,this.required);this.customValidators&&this.customValidators.length>0&&e.push(...this.customValidators);let t=this._validationService.getAsyncValidators(this.validateFor);0!==e.length&&this.control.setValidators(e),0!==t.length&&(this.hasAsyncValidators=!0,this.control.setAsyncValidators(t),this.control.statusChanges.pipe((0,d.R)(this._componentUnsubscribe)).subscribe(e=>this.handleStatusChange(e)))}onInputChange(e){this.onInput.emit(e)}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}hasValue(){return p.cmp.isNotEmpty(this.control.value)||this._appConfig.isBrowser&&this.elementRef.nativeElement.validity.badInput}isInvalid(){return!this.control.pending&&this.control.touched&&this.control.invalid}isInputError(){let e=this.isInvalid();return this.setAriaValues(e),e}setAriaValues(e){this.ariaIsInvalid$.next(e),this.ariaDynamicLabel$.next(e?this.errorMessage:this.ariaLabel)}isTooltipVisible(){return this.hasTooltip&&this.showInfo}handleBlur(e){this.control.dirty&&(this.analyticData.includeInputValue&&Object.assign({},this.analyticData.additionalData,{FieldValue:this.elementRef.nativeElement.value}),this._analyticService.logAnalytic(this.analyticDataChanged)),this.elementRef.nativeElement.attributes.valid=this.control.valid,this.ariaIsInvalid$.next(this.control.invalid),this.control.markAsPristine(),this.onBlur.emit(e)}handleTooltipToggle(){this.showInfo=!this.showInfo,this.showInfo?(this.emitTooltipExpand(),this._analyticService.logAnalytic(this.analyticDataExpandTooltip)):(this.emitTooltipCollapse(),this._analyticService.logAnalytic(this.analyticDataCollapseTooltip))}hideTooltip(){this.showInfo=!1}emitTooltipCollapse(){this.tooltipCollapseEvent.emit()}emitTooltipExpand(){this.tooltipExpandEvent.emit()}handleOnFocus(e){this.onFocus.emit(e)}handleChange(e){this.onChange.emit(e)}handleStatusChange(e){"PENDING"===e&&(this.isPending=!0),this.isPending&&("VALID"===e||"INVALID"===e)&&(this.isPending=!1,this._cdRef.detectChanges())}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(a._),i.Y36(o.g),i.Y36(s.R),i.Y36(r.u),i.Y36(i.sBO))},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-input-group"]],viewQuery:function(e,t){if(1&e&&i.Gf(A,7),2&e){let e;i.iGM(e=i.CRH())&&(t.elementRef=e.first)}},inputs:{controlName:"controlName",inputType:"inputType",maxNumber:"maxNumber",exactLength:"exactLength",minLength:"minLength",maxLength:"maxLength",pattern:"pattern",name:"name",required:"required",readonly:"readonly",autofocus:"autofocus",qaid:"qaid",className:"className",placeHolder:"placeHolder",hasInfo:"hasInfo",showInfo:"showInfo",hasTooltip:"hasTooltip",tooltipSvg:"tooltipSvg",ellipsize:"ellipsize",ariaLabel:"ariaLabel",ariaLabelId:"ariaLabelId",ariaDescriptionId:"ariaDescriptionId",infoAriaLabel:"infoAriaLabel",control:"control",analyticDataChanged:"analyticDataChanged",validateFor:"validateFor",analyticData:["analytic-data","analyticData"],analyticDataExpandTooltip:"analyticDataExpandTooltip",analyticDataCollapseTooltip:"analyticDataCollapseTooltip",errorMessage:"errorMessage",errorMessageId:"errorMessageId",ariaIsInvalid$:"ariaIsInvalid$",ariaDynamicLabel$:"ariaDynamicLabel$",customValidators:"customValidators"},outputs:{onInput:"onInput",onBlur:"onBlur",onFocus:"onFocus",onChange:"onChange",tooltipExpandEvent:"tooltipExpandEvent",tooltipCollapseEvent:"tooltipCollapseEvent"},ngContentSelectors:U,decls:25,vars:39,consts:[[1,"form-input-wrapper"],[1,"input-container"],[1,"block"],["autocomplete","off",3,"accessibility","type","ngClass","maxlength","minlength","pattern","name","readonly","textMask","formControl","analytic","autofocus","placeholder","input","blur","focus","change"],["inputElem",""],["aria-hidden","true",1,"input-label"],["aria-hidden","true","includeSVG","dt-glyph-question-mark","height","100%","width","100%","class","toggle-info input-reset","tabindex","-1",3,"accessibility","click",4,"ngIf"],["class","loader-container",3,"ngClass",4,"ngIf"],["class","validation-error-message",3,"id",4,"ngIf"],[3,"hasError","showInfo","svgIcon",4,"ngIf"],["aria-hidden","true","includeSVG","dt-glyph-question-mark","height","100%","width","100%","tabindex","-1",1,"toggle-info","input-reset",3,"accessibility","click"],[1,"loader-container",3,"ngClass"],[1,"loader"],[1,"validation-error-message",3,"id"],[3,"hasError","showInfo","svgIcon"]],template:function(e,t){1&e&&(i.F$t(M),i.TgZ(0,"div",0),i._uU(1,"\n "),i.TgZ(2,"div",1),i._uU(3,"\n "),i.TgZ(4,"label",2),i._uU(5,"\n "),i.TgZ(6,"input",3,4),i.NdJ("input",function(e){return t.onInputChange(e)})("blur",function(e){return t.handleBlur(e)})("focus",function(e){return t.handleOnFocus(e)})("change",function(e){return t.handleChange(e)}),i.qZA(),i._uU(8,"\n "),i.TgZ(9,"span",5),i._uU(10,"\n "),i.Hsn(11),i._uU(12,"\n "),i.qZA(),i._uU(13,"\n "),i.qZA(),i._uU(14,"\n "),i.YNc(15,b,2,3,"span",6),i._uU(16,"\n "),i.YNc(17,w,4,3,"div",7),i._uU(18,"\n "),i.qZA(),i._uU(19,"\n "),i.YNc(20,S,2,2,"div",8),i._uU(21,"\n "),i.YNc(22,k,7,4,"dtm-form-tooltip",9),i._uU(23,"\n"),i.qZA(),i._uU(24,"\n")),2&e&&(i.xp6(6),i.Gre("input-field ",t.className," third-party-text-mask"),i.Q6J("accessibility",i.qbA(24,P,t.ariaDynamicLabel$,t.ariaLabelId,t.ariaDescriptionId,t.ariaIsInvalid$,t.errorMessageId))("type",t.inputType)("ngClass",i.qlk(30,O,!t.required,t.hasValue(),t.isInvalid(),!t.isInvalid()&&t.hasValue(),t.showInfo&&!t.isInvalid(),t.isTooltipVisible(),t.hasInfo,t.ellipsize))("maxlength",t.maxLength||t.exactLength||null)("minlength",t.minLength||t.exactLength||null)("pattern",t.pattern||null)("name",t.name)("readonly",t.readonly||null)("textMask",t.textMask)("formControl",t.control)("analytic",t.analyticData)("autofocus",t.autofocus||null)("placeholder",t.placeHolder),i.uIk("qaid",t.qaid)("data-cy",t.qaid)("max",t.maxNumber||null)("disabled",t.readonly||null),i.xp6(9),i.Q6J("ngIf",t.hasInfo),i.xp6(2),i.Q6J("ngIf",t.hasAsyncValidators),i.xp6(3),i.Q6J("ngIf",t.isInputError()&&""!=t.errorMessage&&!t.hasTooltip),i.xp6(2),i.Q6J("ngIf",t.hasTooltip))},directives:[h.Fj,m.z,g.mk,h.nD,h.wO,h.c5,f.hd,h.JJ,h.oH,y.e,g.O5,f.pw,_.L],styles:['@keyframes loadgrow{0%{height:0;opacity:0;width:0}to{height:10em;opacity:1;width:10em}}@keyframes expandout{0%{width:0}to{width:100%}}@keyframes scale-up{0%{transform:scale(0);transform-origin:center}to{transform:scale(1);transform-origin:center}}@keyframes fillcircle{0%{border-bottom:1.1em solid rgba(181,233,212,.8)}50%{border-right:1.1em solid rgba(181,233,212,.8)}to{border-top:1.1em solid rgba(181,233,212,.8)}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:0}}@keyframes fade-in-out{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes fade-in-out-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes pulse-half-opacity{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes pulse-half-border{0%{border-color:#f74e50}50%{border-color:#f74e5080}to{border-color:#f74e50}}@keyframes fade-in-out-scroll{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}@keyframes rotate-horizontal{0%{transform:rotateY(-180deg)}80%{transform:rotateY(-180deg)}to{transform:rotateY(0)}}@keyframes loaderrotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-rank-spinner-excellent{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-4deg)}to{opacity:1;transform:rotate(-10deg)}}@keyframes rotate-rank-spinner-excellent-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes rotate-rank-spinner-good{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-52deg)}to{opacity:1;transform:rotate(-60deg)}}@keyframes rotate-rank-spinner-good-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-62deg)}to{opacity:1;transform:rotate(-70deg)}}@keyframes rotate-rank-spinner-fair{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-97deg)}to{opacity:1;transform:rotate(-105deg)}}@keyframes rotate-rank-spinner-fair-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-115deg)}to{opacity:1;transform:rotate(-110deg)}}@keyframes rotate-rank-spinner-low{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-142deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-150deg)}}@keyframes rotate-rank-spinner-low-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-163deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-170deg)}}@keyframes rotate-rank-spinner-error{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes pulse-credit-rank-spinner{0%{transform:scale(1)}50%{backface-visibility:hidden;transform:scale(1.1)}to{transform:scale(1)}}@keyframes pulse{0%{opacity:0;transform:scale(.3)}25%{opacity:.1;transform:scale(.5)}50%{opacity:.3;transform:scale(.7)}75%{opacity:.5;transform:scale(.8)}to{opacity:0;transform:scale(1)}}@keyframes pulse-text-overlay{0%{opacity:.8}50%{opacity:.875}to{opacity:.95}}@keyframes barloader{0%{left:50%;width:0;z-index:100}33%{left:0;width:100%;z-index:10}to{left:0;width:100%}}@keyframes dot-circles{0%,80%,to{box-shadow:0 2.5rem 0 -1.3em}40%{box-shadow:0 2.5rem}}@keyframes model-svg-animation-draw{to{stroke-dashoffset:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes middleSlideUp{0%{transform:translate(-50%,100%)}to{transform:translate(-50%,-50%)}}@keyframes beat{0%{transform:scale(1)}50%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes synapse-expand{0%{opacity:0;transform:scale(.2)}to{opacity:.7;transform:scale(1)}}@keyframes genius-fade{0%{stroke-opacity:1}90%{stroke-opacity:1}to{stroke-opacity:0}}@keyframes genius-animate-0{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-1{18%{stroke-dashoffset:2690}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-2{18%{stroke-dashoffset:2120}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-3{18%{stroke-dashoffset:548}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-4{18%{stroke-dashoffset:68}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-5{18%{stroke-dashoffset:241}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-6{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-7{18%{stroke-dashoffset:2350}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-8{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-9{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes checkAnimation{to{stroke-dashoffset:0}}@keyframes speedTextAnimation{0%{margin-left:-200%}to{margin-left:0%}}@keyframes enter-toast{0%{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes exit-toast{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}@keyframes rotate-90-righty{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes rotate-90-lefty{0%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes rotate-45-righty{0%{transform:rotate(0)}to{transform:rotate(45deg)}}@keyframes rotate-45-lefty{0%{transform:rotate(45deg)}to{transform:rotate(0)}}.input-container[_ngcontent-%COMP%]{height:2.5rem;position:relative}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{cursor:pointer;height:100%;right:0;width:12.5vw;padding:0 3vw 0 4vw;fill:#8f9aa3;z-index:3;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:50%;transform:translateY(-50%) rotate(0)}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]:focus{outline:0}.input-label[_ngcontent-%COMP%]{color:#8f9aa3;padding-left:3vw;pointer-events:none;position:absolute;transform:translate(3vw,.65rem) scale(.85);transform-origin:left top;transition:all .5s ease-in-out;z-index:3;font-size:4vw}.input-field[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ececec;border-radius:4px;color:#4e575e;height:2.5rem;padding:.9rem 0 0 5vw;position:absolute;width:100%;z-index:2;font-size:4vw;-webkit-appearance:none}.input-field[_ngcontent-%COMP%]::-ms-clear{display:none}.input-field[_ngcontent-%COMP%]:disabled{opacity:1}.input-field.optional[_ngcontent-%COMP%]{background-color:#fff}.input-field.is-invalid[_ngcontent-%COMP%]{border-color:#f74e50}.input-field.is-invalid[_ngcontent-%COMP%]:focus{outline-color:#f74e50}.input-field.show-info[_ngcontent-%COMP%]{border-color:#075078}.input-field.show-tooltip[_ngcontent-%COMP%]{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.input-field.has-info[_ngcontent-%COMP%]{padding-right:13vw}.input-field[_ngcontent-%COMP%]:focus{outline-color:#075078}.input-field.valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(3vw,.25rem) scale(.65);transition:all .5s ease-in-out}.input-field[_ngcontent-%COMP%]:focus::-webkit-datetime-edit, .input-field.has-value[_ngcontent-%COMP%]::-webkit-datetime-edit, .input-field.prefilled-input[_ngcontent-%COMP%]::-webkit-datetime-edit{opacity:1;-webkit-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out}.input-field[_ngcontent-%COMP%]::-webkit-datetime-edit{color:#4e575e;display:inline-block;font-family:"Mulish",sans-serif;opacity:0}.input-field[_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{background:transparent;color:transparent;padding:100% 1.1rem}.input-field[_ngcontent-%COMP%]::-webkit-inner-spin-button, .input-field[_ngcontent-%COMP%]::-webkit-clear-button{display:none}.input-field[type=date].valid[_ngcontent-%COMP%]{background-color:#fff}.input-field[type=date].ng-valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.validation-error-message[_ngcontent-%COMP%]{color:#f74e50;padding:.2rem 0 0;width:100%;font-size:2.8vw}.loader-container[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%) rotate(0);right:5%;height:2.5vh;width:2.5vh;opacity:0;z-index:1}.loader-container.show[_ngcontent-%COMP%]{opacity:1;z-index:3;transition:opacity 0s ease 1s}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:around 5.4s infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after, .loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:before{content:"";background:transparent;position:absolute;display:inline-block;width:100%;height:100%;border-width:.125rem;border-color:#075078 #ececec transparent transparent;border-style:solid;border-radius:1.25rem;box-sizing:border-box;animation:loaderrotate .7s ease-in-out infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after{animation:loaderrotate .7s ease-in-out .1s infinite;background:transparent}.date-container[_ngcontent-%COMP%]{display:flex}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]{flex:1}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]:nth-child(2){margin:0 .5rem}@media screen and (min-width: 414px){.input-container[_ngcontent-%COMP%]{height:3rem}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{width:2.9rem;padding:0 .8rem 0 1rem}.input-label[_ngcontent-%COMP%]{font-size:.89rem;padding-left:.6rem;transform:translate(.6rem,.85rem) scale(1)}.validation-error-message[_ngcontent-%COMP%]{font-size:.625rem}.input-field[_ngcontent-%COMP%]{padding:1.1rem 0 0 .9rem;height:3rem;font-size:.89rem}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(.6rem,.4rem) scale(.7);transition:all .5s ease-in-out}.input-field.has-info[_ngcontent-%COMP%]{padding-right:3rem}}']}),e})()},64161:function(e,t,n){"use strict";n.d(t,{d:function(){return r}});var i=n(37716),a=n(61718);function o(e,t){if(1&e&&(i.TgZ(0,"div",4),i._uU(1),i.qZA()),2&e){const e=i.oxw();i.xp6(1),i.hij("",e.errorMessage,"\n ")}}n(87020);let r=(()=>{class e{constructor(){this.hasInfo=!0,this.validate="monthlyIncome",this.ariaLabel="Enter Gross Monthly Income",this.required=!0,this.incomeLabel="Gross Monthly Income",this.analyticData={},this.analyticDataExpandTooltip={},this.analyticDataCollapseTooltip={},this.infoAriaLabel="",this.tooltipExpandEvent=new i.vpe,this.tooltipCollapseEvent=new i.vpe,this.onBlur=new i.vpe,this.errorMessage="Gross monthly income is required"}setFocus(){this.inputGroup.setFocus()}checkValidity(){return this.inputGroup.checkValidity()}isInvalid(){return this.inputGroup.isInvalid()}handleTooltipToggle(){this.inputGroup.handleTooltipToggle()}hideTooltip(){this.inputGroup.hideTooltip()}emitTooltipCollapse(){this.tooltipCollapseEvent.emit()}emitTooltipExpand(){this.tooltipExpandEvent.emit()}handleBlur(e){this.onBlur.emit(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-input-monthly-income"]],viewQuery:function(e,t){if(1&e&&i.Gf(a.c3,5),2&e){let e;i.iGM(e=i.CRH())&&(t.inputGroup=e.first)}},inputs:{hasInfo:"hasInfo",controlName:"controlName",qaid:"qaid",labelId:"labelId",validate:"validate",ariaLabel:"ariaLabel",ariaLabelId:"ariaLabelId",tooltipInputLabel:"tooltipInputLabel",required:"required",incomeLabel:"incomeLabel",analyticData:["analytic-data","analyticData"],analyticDataExpandTooltip:"analyticDataExpandTooltip",analyticDataCollapseTooltip:"analyticDataCollapseTooltip",infoAriaLabel:"infoAriaLabel"},outputs:{tooltipExpandEvent:"tooltipExpandEvent",tooltipCollapseEvent:"tooltipCollapseEvent",onBlur:"onBlur"},decls:11,vars:16,consts:[["inputType","tel","name","Income",3,"qaid","ariaLabel","errorMessage","ariaDescriptionId","validateFor","required","control","hasTooltip","hasInfo","analytic-data","analyticDataExpandTooltip","analyticDataCollapseTooltip","infoAriaLabel","tooltipExpandEvent","tooltipCollapseEvent","onBlur"],["id","income-label",3,"innerHTML"],["id","income-tooltip","role","tooltip",3,"innerHTML"],["class","validation-error-message",4,"ngIf"],[1,"validation-error-message"]],template:function(e,t){1&e&&(i._uU(0,"\n "),i.TgZ(1,"dtm-input-group",0),i.NdJ("tooltipExpandEvent",function(){return t.emitTooltipExpand()})("tooltipCollapseEvent",function(){return t.emitTooltipCollapse()})("onBlur",function(e){return t.handleBlur(e)}),i._uU(2,"\n "),i.TgZ(3,"span",1),i._uU(4,"\n "),i.qZA(),i._uU(5,"\n "),i._UZ(6,"tooltip-text",2),i._uU(7,"\n "),i.qZA(),i._uU(8,"\n "),i.YNc(9,o,2,1,"div",3),i._uU(10,"\n ")),2&e&&(i.xp6(1),i.Q6J("qaid",t.qaid)("ariaLabel",t.ariaLabel)("errorMessage",t.errorMessage)("ariaDescriptionId","income-tooltip")("validateFor",t.validate)("required",t.required)("control",t.controlName)("hasTooltip",!0)("hasInfo",t.hasInfo)("analytic-data",t.analyticData)("analyticDataExpandTooltip",t.analyticDataExpandTooltip)("analyticDataCollapseTooltip",t.analyticDataCollapseTooltip)("infoAriaLabel",t.infoAriaLabel),i.xp6(2),i.Q6J("innerHTML",t.incomeLabel,i.oJD),i.xp6(3),i.Q6J("innerHTML",t.tooltipInputLabel,i.oJD),i.xp6(3),i.Q6J("ngIf",t.controlName.touched&&t.isInvalid()))},styles:['@keyframes loadgrow{0%{height:0;opacity:0;width:0}to{height:10em;opacity:1;width:10em}}@keyframes expandout{0%{width:0}to{width:100%}}@keyframes scale-up{0%{transform:scale(0);transform-origin:center}to{transform:scale(1);transform-origin:center}}@keyframes fillcircle{0%{border-bottom:1.1em solid rgba(181,233,212,.8)}50%{border-right:1.1em solid rgba(181,233,212,.8)}to{border-top:1.1em solid rgba(181,233,212,.8)}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:0}}@keyframes fade-in-out{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes fade-in-out-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes pulse-half-opacity{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes pulse-half-border{0%{border-color:#f74e50}50%{border-color:#f74e5080}to{border-color:#f74e50}}@keyframes fade-in-out-scroll{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}@keyframes rotate-horizontal{0%{transform:rotateY(-180deg)}80%{transform:rotateY(-180deg)}to{transform:rotateY(0)}}@keyframes loaderrotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-rank-spinner-excellent{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-4deg)}to{opacity:1;transform:rotate(-10deg)}}@keyframes rotate-rank-spinner-excellent-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes rotate-rank-spinner-good{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-52deg)}to{opacity:1;transform:rotate(-60deg)}}@keyframes rotate-rank-spinner-good-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-62deg)}to{opacity:1;transform:rotate(-70deg)}}@keyframes rotate-rank-spinner-fair{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-97deg)}to{opacity:1;transform:rotate(-105deg)}}@keyframes rotate-rank-spinner-fair-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-115deg)}to{opacity:1;transform:rotate(-110deg)}}@keyframes rotate-rank-spinner-low{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-142deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-150deg)}}@keyframes rotate-rank-spinner-low-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-163deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-170deg)}}@keyframes rotate-rank-spinner-error{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes pulse-credit-rank-spinner{0%{transform:scale(1)}50%{backface-visibility:hidden;transform:scale(1.1)}to{transform:scale(1)}}@keyframes pulse{0%{opacity:0;transform:scale(.3)}25%{opacity:.1;transform:scale(.5)}50%{opacity:.3;transform:scale(.7)}75%{opacity:.5;transform:scale(.8)}to{opacity:0;transform:scale(1)}}@keyframes pulse-text-overlay{0%{opacity:.8}50%{opacity:.875}to{opacity:.95}}@keyframes barloader{0%{left:50%;width:0;z-index:100}33%{left:0;width:100%;z-index:10}to{left:0;width:100%}}@keyframes dot-circles{0%,80%,to{box-shadow:0 2.5rem 0 -1.3em}40%{box-shadow:0 2.5rem}}@keyframes model-svg-animation-draw{to{stroke-dashoffset:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes middleSlideUp{0%{transform:translate(-50%,100%)}to{transform:translate(-50%,-50%)}}@keyframes beat{0%{transform:scale(1)}50%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes synapse-expand{0%{opacity:0;transform:scale(.2)}to{opacity:.7;transform:scale(1)}}@keyframes genius-fade{0%{stroke-opacity:1}90%{stroke-opacity:1}to{stroke-opacity:0}}@keyframes genius-animate-0{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-1{18%{stroke-dashoffset:2690}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-2{18%{stroke-dashoffset:2120}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-3{18%{stroke-dashoffset:548}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-4{18%{stroke-dashoffset:68}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-5{18%{stroke-dashoffset:241}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-6{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-7{18%{stroke-dashoffset:2350}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-8{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-9{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes checkAnimation{to{stroke-dashoffset:0}}@keyframes speedTextAnimation{0%{margin-left:-200%}to{margin-left:0%}}@keyframes enter-toast{0%{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes exit-toast{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}@keyframes rotate-90-righty{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes rotate-90-lefty{0%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes rotate-45-righty{0%{transform:rotate(0)}to{transform:rotate(45deg)}}@keyframes rotate-45-lefty{0%{transform:rotate(45deg)}to{transform:rotate(0)}}.input-container[_ngcontent-%COMP%]{height:2.5rem;position:relative}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{cursor:pointer;height:100%;right:0;width:12.5vw;padding:0 3vw 0 4vw;fill:#8f9aa3;z-index:3;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:50%;transform:translateY(-50%) rotate(0)}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]:focus{outline:0}.input-label[_ngcontent-%COMP%]{color:#8f9aa3;padding-left:3vw;pointer-events:none;position:absolute;transform:translate(3vw,.65rem) scale(.85);transform-origin:left top;transition:all .5s ease-in-out;z-index:3;font-size:4vw}.input-field[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ececec;border-radius:4px;color:#4e575e;height:2.5rem;padding:.9rem 0 0 5vw;position:absolute;width:100%;z-index:2;font-size:4vw;-webkit-appearance:none}.input-field[_ngcontent-%COMP%]::-ms-clear{display:none}.input-field[_ngcontent-%COMP%]:disabled{opacity:1}.input-field.optional[_ngcontent-%COMP%]{background-color:#fff}.input-field.is-invalid[_ngcontent-%COMP%]{border-color:#f74e50}.input-field.is-invalid[_ngcontent-%COMP%]:focus{outline-color:#f74e50}.input-field.show-info[_ngcontent-%COMP%]{border-color:#075078}.input-field.show-tooltip[_ngcontent-%COMP%]{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.input-field.has-info[_ngcontent-%COMP%]{padding-right:13vw}.input-field[_ngcontent-%COMP%]:focus{outline-color:#075078}.input-field.valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(3vw,.25rem) scale(.65);transition:all .5s ease-in-out}.input-field[_ngcontent-%COMP%]:focus::-webkit-datetime-edit, .input-field.has-value[_ngcontent-%COMP%]::-webkit-datetime-edit, .input-field.prefilled-input[_ngcontent-%COMP%]::-webkit-datetime-edit{opacity:1;-webkit-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out}.input-field[_ngcontent-%COMP%]::-webkit-datetime-edit{color:#4e575e;display:inline-block;font-family:"Mulish",sans-serif;opacity:0}.input-field[_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{background:transparent;color:transparent;padding:100% 1.1rem}.input-field[_ngcontent-%COMP%]::-webkit-inner-spin-button, .input-field[_ngcontent-%COMP%]::-webkit-clear-button{display:none}.input-field[type=date].valid[_ngcontent-%COMP%]{background-color:#fff}.input-field[type=date].ng-valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.validation-error-message[_ngcontent-%COMP%]{color:#f74e50;padding:.2rem 0 0;width:100%;font-size:2.8vw}.loader-container[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%) rotate(0);right:5%;height:2.5vh;width:2.5vh;opacity:0;z-index:1}.loader-container.show[_ngcontent-%COMP%]{opacity:1;z-index:3;transition:opacity 0s ease 1s}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:around 5.4s infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after, .loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:before{content:"";background:transparent;position:absolute;display:inline-block;width:100%;height:100%;border-width:.125rem;border-color:#075078 #ececec transparent transparent;border-style:solid;border-radius:1.25rem;box-sizing:border-box;animation:loaderrotate .7s ease-in-out infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after{animation:loaderrotate .7s ease-in-out .1s infinite;background:transparent}.date-container[_ngcontent-%COMP%]{display:flex}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]{flex:1}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]:nth-child(2){margin:0 .5rem}@media screen and (min-width: 414px){.input-container[_ngcontent-%COMP%]{height:3rem}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{width:2.9rem;padding:0 .8rem 0 1rem}.input-label[_ngcontent-%COMP%]{font-size:.89rem;padding-left:.6rem;transform:translate(.6rem,.85rem) scale(1)}.validation-error-message[_ngcontent-%COMP%]{font-size:.625rem}.input-field[_ngcontent-%COMP%]{padding:1.1rem 0 0 .9rem;height:3rem;font-size:.89rem}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(.6rem,.4rem) scale(.7);transition:all .5s ease-in-out}.input-field.has-info[_ngcontent-%COMP%]{padding-right:3rem}}']}),e})()},40550:function(e,t,n){"use strict";n.d(t,{N:function(){return s}});var i=n(37716),a=(n(87020),n(61718));function o(e,t){1&e&&(i.TgZ(0,"span"),i._uU(1,"\n First Name\n "),i.qZA())}function r(e,t){1&e&&(i.TgZ(0,"span"),i._uU(1,"\n Last Name\n "),i.qZA())}let s=(()=>{class e{constructor(){this.analyticData={},this.onBlur=new i.vpe}setFocus(){this.inputGroup.setFocus()}checkValidity(){return this.inputGroup.checkValidity()}handleBlur(e){this.onBlur.emit(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-input-name-field"]],viewQuery:function(e,t){if(1&e&&i.Gf(a.c3,5),2&e){let e;i.iGM(e=i.CRH())&&(t.inputGroup=e.first)}},inputs:{controlName:"controlName",control:"control",elementRef:"elementRef",name:"name",analyticData:["analytic-data","analyticData"],qaid:"qaid",inputLabel:"inputLabel",labelId:"labelId",validate:"validate",ariaLabelId:"ariaLabelId",ariaLabel:"ariaLabel"},outputs:{onBlur:"onBlur"},decls:8,vars:11,consts:[["className","fs-mask",3,"qaid","name","ariaLabel","validateFor","required","hasTooltip","control","analytic-data","errorMessage","onBlur"],[4,"ngIf"]],template:function(e,t){1&e&&(i._uU(0,"\n "),i.TgZ(1,"dtm-input-group",0),i.NdJ("onBlur",function(e){return t.handleBlur(e)}),i._uU(2,"\n "),i.YNc(3,o,2,0,"span",1),i._uU(4,"\n "),i.YNc(5,r,2,0,"span",1),i._uU(6,"\n "),i.qZA(),i._uU(7,"\n")),2&e&&(i.xp6(1),i.Q6J("qaid",t.qaid)("name",t.name)("ariaLabel",t.ariaLabel)("validateFor",t.validate)("required",!0)("hasTooltip",!1)("control",t.controlName)("analytic-data",t.analyticData)("errorMessage","given-name"==t.name?"First name is required":"Last name is required"),i.xp6(2),i.Q6J("ngIf","given-name"==t.name),i.xp6(2),i.Q6J("ngIf","family-name"==t.name))},styles:['@keyframes loadgrow{0%{height:0;opacity:0;width:0}to{height:10em;opacity:1;width:10em}}@keyframes expandout{0%{width:0}to{width:100%}}@keyframes scale-up{0%{transform:scale(0);transform-origin:center}to{transform:scale(1);transform-origin:center}}@keyframes fillcircle{0%{border-bottom:1.1em solid rgba(181,233,212,.8)}50%{border-right:1.1em solid rgba(181,233,212,.8)}to{border-top:1.1em solid rgba(181,233,212,.8)}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:0}}@keyframes fade-in-out{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes fade-in-out-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes pulse-half-opacity{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes pulse-half-border{0%{border-color:#f74e50}50%{border-color:#f74e5080}to{border-color:#f74e50}}@keyframes fade-in-out-scroll{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}@keyframes rotate-horizontal{0%{transform:rotateY(-180deg)}80%{transform:rotateY(-180deg)}to{transform:rotateY(0)}}@keyframes loaderrotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-rank-spinner-excellent{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-4deg)}to{opacity:1;transform:rotate(-10deg)}}@keyframes rotate-rank-spinner-excellent-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes rotate-rank-spinner-good{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-52deg)}to{opacity:1;transform:rotate(-60deg)}}@keyframes rotate-rank-spinner-good-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-62deg)}to{opacity:1;transform:rotate(-70deg)}}@keyframes rotate-rank-spinner-fair{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-97deg)}to{opacity:1;transform:rotate(-105deg)}}@keyframes rotate-rank-spinner-fair-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-115deg)}to{opacity:1;transform:rotate(-110deg)}}@keyframes rotate-rank-spinner-low{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-142deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-150deg)}}@keyframes rotate-rank-spinner-low-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-163deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-170deg)}}@keyframes rotate-rank-spinner-error{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes pulse-credit-rank-spinner{0%{transform:scale(1)}50%{backface-visibility:hidden;transform:scale(1.1)}to{transform:scale(1)}}@keyframes pulse{0%{opacity:0;transform:scale(.3)}25%{opacity:.1;transform:scale(.5)}50%{opacity:.3;transform:scale(.7)}75%{opacity:.5;transform:scale(.8)}to{opacity:0;transform:scale(1)}}@keyframes pulse-text-overlay{0%{opacity:.8}50%{opacity:.875}to{opacity:.95}}@keyframes barloader{0%{left:50%;width:0;z-index:100}33%{left:0;width:100%;z-index:10}to{left:0;width:100%}}@keyframes dot-circles{0%,80%,to{box-shadow:0 2.5rem 0 -1.3em}40%{box-shadow:0 2.5rem}}@keyframes model-svg-animation-draw{to{stroke-dashoffset:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes middleSlideUp{0%{transform:translate(-50%,100%)}to{transform:translate(-50%,-50%)}}@keyframes beat{0%{transform:scale(1)}50%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes synapse-expand{0%{opacity:0;transform:scale(.2)}to{opacity:.7;transform:scale(1)}}@keyframes genius-fade{0%{stroke-opacity:1}90%{stroke-opacity:1}to{stroke-opacity:0}}@keyframes genius-animate-0{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-1{18%{stroke-dashoffset:2690}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-2{18%{stroke-dashoffset:2120}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-3{18%{stroke-dashoffset:548}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-4{18%{stroke-dashoffset:68}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-5{18%{stroke-dashoffset:241}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-6{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-7{18%{stroke-dashoffset:2350}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-8{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-9{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes checkAnimation{to{stroke-dashoffset:0}}@keyframes speedTextAnimation{0%{margin-left:-200%}to{margin-left:0%}}@keyframes enter-toast{0%{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes exit-toast{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}@keyframes rotate-90-righty{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes rotate-90-lefty{0%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes rotate-45-righty{0%{transform:rotate(0)}to{transform:rotate(45deg)}}@keyframes rotate-45-lefty{0%{transform:rotate(45deg)}to{transform:rotate(0)}}.input-container[_ngcontent-%COMP%]{height:2.5rem;position:relative}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{cursor:pointer;height:100%;right:0;width:12.5vw;padding:0 3vw 0 4vw;fill:#8f9aa3;z-index:3;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:50%;transform:translateY(-50%) rotate(0)}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]:focus{outline:0}.input-label[_ngcontent-%COMP%]{color:#8f9aa3;padding-left:3vw;pointer-events:none;position:absolute;transform:translate(3vw,.65rem) scale(.85);transform-origin:left top;transition:all .5s ease-in-out;z-index:3;font-size:4vw}.input-field[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ececec;border-radius:4px;color:#4e575e;height:2.5rem;padding:.9rem 0 0 5vw;position:absolute;width:100%;z-index:2;font-size:4vw;-webkit-appearance:none}.input-field[_ngcontent-%COMP%]::-ms-clear{display:none}.input-field[_ngcontent-%COMP%]:disabled{opacity:1}.input-field.optional[_ngcontent-%COMP%]{background-color:#fff}.input-field.is-invalid[_ngcontent-%COMP%]{border-color:#f74e50}.input-field.is-invalid[_ngcontent-%COMP%]:focus{outline-color:#f74e50}.input-field.show-info[_ngcontent-%COMP%]{border-color:#075078}.input-field.show-tooltip[_ngcontent-%COMP%]{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.input-field.has-info[_ngcontent-%COMP%]{padding-right:13vw}.input-field[_ngcontent-%COMP%]:focus{outline-color:#075078}.input-field.valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(3vw,.25rem) scale(.65);transition:all .5s ease-in-out}.input-field[_ngcontent-%COMP%]:focus::-webkit-datetime-edit, .input-field.has-value[_ngcontent-%COMP%]::-webkit-datetime-edit, .input-field.prefilled-input[_ngcontent-%COMP%]::-webkit-datetime-edit{opacity:1;-webkit-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out}.input-field[_ngcontent-%COMP%]::-webkit-datetime-edit{color:#4e575e;display:inline-block;font-family:"Mulish",sans-serif;opacity:0}.input-field[_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{background:transparent;color:transparent;padding:100% 1.1rem}.input-field[_ngcontent-%COMP%]::-webkit-inner-spin-button, .input-field[_ngcontent-%COMP%]::-webkit-clear-button{display:none}.input-field[type=date].valid[_ngcontent-%COMP%]{background-color:#fff}.input-field[type=date].ng-valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.validation-error-message[_ngcontent-%COMP%]{color:#f74e50;padding:.2rem 0 0;width:100%;font-size:2.8vw}.loader-container[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%) rotate(0);right:5%;height:2.5vh;width:2.5vh;opacity:0;z-index:1}.loader-container.show[_ngcontent-%COMP%]{opacity:1;z-index:3;transition:opacity 0s ease 1s}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:around 5.4s infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after, .loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:before{content:"";background:transparent;position:absolute;display:inline-block;width:100%;height:100%;border-width:.125rem;border-color:#075078 #ececec transparent transparent;border-style:solid;border-radius:1.25rem;box-sizing:border-box;animation:loaderrotate .7s ease-in-out infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after{animation:loaderrotate .7s ease-in-out .1s infinite;background:transparent}.date-container[_ngcontent-%COMP%]{display:flex}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]{flex:1}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]:nth-child(2){margin:0 .5rem}@media screen and (min-width: 414px){.input-container[_ngcontent-%COMP%]{height:3rem}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{width:2.9rem;padding:0 .8rem 0 1rem}.input-label[_ngcontent-%COMP%]{font-size:.89rem;padding-left:.6rem;transform:translate(.6rem,.85rem) scale(1)}.validation-error-message[_ngcontent-%COMP%]{font-size:.625rem}.input-field[_ngcontent-%COMP%]{padding:1.1rem 0 0 .9rem;height:3rem;font-size:.89rem}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(.6rem,.4rem) scale(.7);transition:all .5s ease-in-out}.input-field.has-info[_ngcontent-%COMP%]{padding-right:3rem}}']}),e})()},49400:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var i=n(37716),a=(n(87020),n(61718));let o=(()=>{class e{constructor(){this.analyticData={},this.onBlur=new i.vpe}setFocus(){this.inputGroup.setFocus()}checkValidity(){return this.inputGroup.checkValidity()}handleBlur(e){this.onBlur.emit(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-input-phone-number"]],viewQuery:function(e,t){if(1&e&&i.Gf(a.c3,5),2&e){let e;i.iGM(e=i.CRH())&&(t.inputGroup=e.first)}},inputs:{controlName:"controlName",analyticData:["analytic-data","analyticData"],qaid:"qaid"},outputs:{onBlur:"onBlur"},decls:7,vars:6,consts:[["inputType","tel","name","Telephone number","ariaLabel","Enter Phone Number","errorMessage","Please enter a valid phone number","className","fs-mask",3,"qaid","validateFor","required","hasTooltip","control","analytic-data","onBlur"],["id","phone-number-label"]],template:function(e,t){1&e&&(i._uU(0,"\n "),i.TgZ(1,"dtm-input-group",0),i.NdJ("onBlur",function(e){return t.handleBlur(e)}),i._uU(2,"\n "),i.TgZ(3,"span",1),i._uU(4,"\n Phone Number\n "),i.qZA(),i._uU(5,"\n "),i.qZA(),i._uU(6,"\n")),2&e&&(i.xp6(1),i.Q6J("qaid",t.qaid)("validateFor","phoneNumber")("required",!0)("hasTooltip",!1)("control",t.controlName)("analytic-data",t.analyticData))},styles:['@keyframes loadgrow{0%{height:0;opacity:0;width:0}to{height:10em;opacity:1;width:10em}}@keyframes expandout{0%{width:0}to{width:100%}}@keyframes scale-up{0%{transform:scale(0);transform-origin:center}to{transform:scale(1);transform-origin:center}}@keyframes fillcircle{0%{border-bottom:1.1em solid rgba(181,233,212,.8)}50%{border-right:1.1em solid rgba(181,233,212,.8)}to{border-top:1.1em solid rgba(181,233,212,.8)}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:0}}@keyframes fade-in-out{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes fade-in-out-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes pulse-half-opacity{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes pulse-half-border{0%{border-color:#f74e50}50%{border-color:#f74e5080}to{border-color:#f74e50}}@keyframes fade-in-out-scroll{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}@keyframes rotate-horizontal{0%{transform:rotateY(-180deg)}80%{transform:rotateY(-180deg)}to{transform:rotateY(0)}}@keyframes loaderrotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-rank-spinner-excellent{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-4deg)}to{opacity:1;transform:rotate(-10deg)}}@keyframes rotate-rank-spinner-excellent-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes rotate-rank-spinner-good{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-52deg)}to{opacity:1;transform:rotate(-60deg)}}@keyframes rotate-rank-spinner-good-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-62deg)}to{opacity:1;transform:rotate(-70deg)}}@keyframes rotate-rank-spinner-fair{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-97deg)}to{opacity:1;transform:rotate(-105deg)}}@keyframes rotate-rank-spinner-fair-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-115deg)}to{opacity:1;transform:rotate(-110deg)}}@keyframes rotate-rank-spinner-low{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-142deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-150deg)}}@keyframes rotate-rank-spinner-low-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-163deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-170deg)}}@keyframes rotate-rank-spinner-error{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes pulse-credit-rank-spinner{0%{transform:scale(1)}50%{backface-visibility:hidden;transform:scale(1.1)}to{transform:scale(1)}}@keyframes pulse{0%{opacity:0;transform:scale(.3)}25%{opacity:.1;transform:scale(.5)}50%{opacity:.3;transform:scale(.7)}75%{opacity:.5;transform:scale(.8)}to{opacity:0;transform:scale(1)}}@keyframes pulse-text-overlay{0%{opacity:.8}50%{opacity:.875}to{opacity:.95}}@keyframes barloader{0%{left:50%;width:0;z-index:100}33%{left:0;width:100%;z-index:10}to{left:0;width:100%}}@keyframes dot-circles{0%,80%,to{box-shadow:0 2.5rem 0 -1.3em}40%{box-shadow:0 2.5rem}}@keyframes model-svg-animation-draw{to{stroke-dashoffset:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes middleSlideUp{0%{transform:translate(-50%,100%)}to{transform:translate(-50%,-50%)}}@keyframes beat{0%{transform:scale(1)}50%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes synapse-expand{0%{opacity:0;transform:scale(.2)}to{opacity:.7;transform:scale(1)}}@keyframes genius-fade{0%{stroke-opacity:1}90%{stroke-opacity:1}to{stroke-opacity:0}}@keyframes genius-animate-0{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-1{18%{stroke-dashoffset:2690}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-2{18%{stroke-dashoffset:2120}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-3{18%{stroke-dashoffset:548}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-4{18%{stroke-dashoffset:68}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-5{18%{stroke-dashoffset:241}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-6{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-7{18%{stroke-dashoffset:2350}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-8{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-9{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes checkAnimation{to{stroke-dashoffset:0}}@keyframes speedTextAnimation{0%{margin-left:-200%}to{margin-left:0%}}@keyframes enter-toast{0%{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes exit-toast{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}@keyframes rotate-90-righty{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes rotate-90-lefty{0%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes rotate-45-righty{0%{transform:rotate(0)}to{transform:rotate(45deg)}}@keyframes rotate-45-lefty{0%{transform:rotate(45deg)}to{transform:rotate(0)}}.input-container[_ngcontent-%COMP%]{height:2.5rem;position:relative}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{cursor:pointer;height:100%;right:0;width:12.5vw;padding:0 3vw 0 4vw;fill:#8f9aa3;z-index:3;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:50%;transform:translateY(-50%) rotate(0)}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]:focus{outline:0}.input-label[_ngcontent-%COMP%]{color:#8f9aa3;padding-left:3vw;pointer-events:none;position:absolute;transform:translate(3vw,.65rem) scale(.85);transform-origin:left top;transition:all .5s ease-in-out;z-index:3;font-size:4vw}.input-field[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ececec;border-radius:4px;color:#4e575e;height:2.5rem;padding:.9rem 0 0 5vw;position:absolute;width:100%;z-index:2;font-size:4vw;-webkit-appearance:none}.input-field[_ngcontent-%COMP%]::-ms-clear{display:none}.input-field[_ngcontent-%COMP%]:disabled{opacity:1}.input-field.optional[_ngcontent-%COMP%]{background-color:#fff}.input-field.is-invalid[_ngcontent-%COMP%]{border-color:#f74e50}.input-field.is-invalid[_ngcontent-%COMP%]:focus{outline-color:#f74e50}.input-field.show-info[_ngcontent-%COMP%]{border-color:#075078}.input-field.show-tooltip[_ngcontent-%COMP%]{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.input-field.has-info[_ngcontent-%COMP%]{padding-right:13vw}.input-field[_ngcontent-%COMP%]:focus{outline-color:#075078}.input-field.valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(3vw,.25rem) scale(.65);transition:all .5s ease-in-out}.input-field[_ngcontent-%COMP%]:focus::-webkit-datetime-edit, .input-field.has-value[_ngcontent-%COMP%]::-webkit-datetime-edit, .input-field.prefilled-input[_ngcontent-%COMP%]::-webkit-datetime-edit{opacity:1;-webkit-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out}.input-field[_ngcontent-%COMP%]::-webkit-datetime-edit{color:#4e575e;display:inline-block;font-family:"Mulish",sans-serif;opacity:0}.input-field[_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{background:transparent;color:transparent;padding:100% 1.1rem}.input-field[_ngcontent-%COMP%]::-webkit-inner-spin-button, .input-field[_ngcontent-%COMP%]::-webkit-clear-button{display:none}.input-field[type=date].valid[_ngcontent-%COMP%]{background-color:#fff}.input-field[type=date].ng-valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.validation-error-message[_ngcontent-%COMP%]{color:#f74e50;padding:.2rem 0 0;width:100%;font-size:2.8vw}.loader-container[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%) rotate(0);right:5%;height:2.5vh;width:2.5vh;opacity:0;z-index:1}.loader-container.show[_ngcontent-%COMP%]{opacity:1;z-index:3;transition:opacity 0s ease 1s}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:around 5.4s infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after, .loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:before{content:"";background:transparent;position:absolute;display:inline-block;width:100%;height:100%;border-width:.125rem;border-color:#075078 #ececec transparent transparent;border-style:solid;border-radius:1.25rem;box-sizing:border-box;animation:loaderrotate .7s ease-in-out infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after{animation:loaderrotate .7s ease-in-out .1s infinite;background:transparent}.date-container[_ngcontent-%COMP%]{display:flex}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]{flex:1}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]:nth-child(2){margin:0 .5rem}@media screen and (min-width: 414px){.input-container[_ngcontent-%COMP%]{height:3rem}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{width:2.9rem;padding:0 .8rem 0 1rem}.input-label[_ngcontent-%COMP%]{font-size:.89rem;padding-left:.6rem;transform:translate(.6rem,.85rem) scale(1)}.validation-error-message[_ngcontent-%COMP%]{font-size:.625rem}.input-field[_ngcontent-%COMP%]{padding:1.1rem 0 0 .9rem;height:3rem;font-size:.89rem}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(.6rem,.4rem) scale(.7);transition:all .5s ease-in-out}.input-field.has-info[_ngcontent-%COMP%]{padding-right:3rem}}']}),e})()},91353:function(e,t,n){"use strict";n.d(t,{w:function(){return r}});var i=n(37716),a=n(61718);function o(e,t){if(1&e&&(i.TgZ(0,"div",4),i._uU(1),i.qZA()),2&e){const e=i.oxw();i.xp6(1),i.hij("",e.errorMessage,"\n ")}}let r=(()=>{class e{constructor(){this.hasInfo=!0,this.showInfo=!1,this.analyticData={},this.analyticDataExpandTooltip={},this.analyticDataCollapseTooltip={},this.ssnTooltipExpandEvent=new i.vpe,this.ssnTooltipCollapseEvent=new i.vpe,this.onBlur=new i.vpe,this.errorMessage="Please enter a valid social security number"}setFocus(){this.inputGroup.setFocus()}checkValidity(){return this.inputGroup.checkValidity()}isInvalid(){return this.inputGroup.isInvalid()}emitTooltipCollapse(){this.ssnTooltipCollapseEvent.emit()}emitTooltipExpand(){this.ssnTooltipExpandEvent.emit()}handleTooltipToggle(){this.inputGroup.handleTooltipToggle()}handleBlur(e){this.onBlur.emit(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-input-ssn"]],viewQuery:function(e,t){if(1&e&&i.Gf(a.c3,5),2&e){let e;i.iGM(e=i.CRH())&&(t.inputGroup=e.first)}},inputs:{controlName:"controlName",qaid:"qaid",ariaLabelId:"ariaLabelId",tooltipInputLabel:"tooltipInputLabel",hasInfo:"hasInfo",showInfo:"showInfo",analyticData:["analytic-data","analyticData"],analyticDataExpandTooltip:"analyticDataExpandTooltip",analyticDataCollapseTooltip:"analyticDataCollapseTooltip"},outputs:{ssnTooltipExpandEvent:"ssnTooltipExpandEvent",ssnTooltipCollapseEvent:"ssnTooltipCollapseEvent",onBlur:"onBlur"},decls:12,vars:15,consts:[["name","SocialSecurity","inputType","tel","ariaLabel","Enter Social Security Number","className","fs-mask",3,"qaid","errorMessage","ariaDescriptionId","validateFor","required","control","hasTooltip","hasInfo","showInfo","tooltipSvg","analytic-data","analyticDataExpandTooltip","analyticDataCollapseTooltip","tooltipExpandEvent","tooltipCollapseEvent","onBlur"],["id","ssn-label"],["id","ssn-tooltip","role","tooltip",3,"innerHTML"],["class","validation-error-message",4,"ngIf"],[1,"validation-error-message"]],template:function(e,t){1&e&&(i._uU(0,"\n "),i.TgZ(1,"dtm-input-group",0),i.NdJ("tooltipExpandEvent",function(){return t.emitTooltipExpand()})("tooltipCollapseEvent",function(){return t.emitTooltipCollapse()})("onBlur",function(e){return t.handleBlur(e)}),i._uU(2,"\n "),i.TgZ(3,"span",1),i._uU(4,"\n Social Security Number\n "),i.qZA(),i._uU(5,"\n "),i.TgZ(6,"tooltip-text",2),i._uU(7,"\n "),i.qZA(),i._uU(8,"\n "),i.qZA(),i._uU(9,"\n "),i.YNc(10,o,2,1,"div",3),i._uU(11,"\n ")),2&e&&(i.xp6(1),i.Q6J("qaid",t.qaid)("errorMessage",t.errorMessage)("ariaDescriptionId","ssn-tooltip")("validateFor","ssn")("required",!0)("control",t.controlName)("hasTooltip",!0)("hasInfo",t.hasInfo)("showInfo",t.showInfo)("tooltipSvg","dt-glyph-lock")("analytic-data",t.analyticData)("analyticDataExpandTooltip",t.analyticDataExpandTooltip)("analyticDataCollapseTooltip",t.analyticDataCollapseTooltip),i.xp6(5),i.Q6J("innerHTML",t.tooltipInputLabel,i.oJD),i.xp6(4),i.Q6J("ngIf",t.controlName.touched&&t.isInvalid()))},styles:['@keyframes loadgrow{0%{height:0;opacity:0;width:0}to{height:10em;opacity:1;width:10em}}@keyframes expandout{0%{width:0}to{width:100%}}@keyframes scale-up{0%{transform:scale(0);transform-origin:center}to{transform:scale(1);transform-origin:center}}@keyframes fillcircle{0%{border-bottom:1.1em solid rgba(181,233,212,.8)}50%{border-right:1.1em solid rgba(181,233,212,.8)}to{border-top:1.1em solid rgba(181,233,212,.8)}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:0}}@keyframes fade-in-out{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes fade-in-out-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes pulse-half-opacity{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes pulse-half-border{0%{border-color:#f74e50}50%{border-color:#f74e5080}to{border-color:#f74e50}}@keyframes fade-in-out-scroll{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}@keyframes rotate-horizontal{0%{transform:rotateY(-180deg)}80%{transform:rotateY(-180deg)}to{transform:rotateY(0)}}@keyframes loaderrotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-rank-spinner-excellent{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-4deg)}to{opacity:1;transform:rotate(-10deg)}}@keyframes rotate-rank-spinner-excellent-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes rotate-rank-spinner-good{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-52deg)}to{opacity:1;transform:rotate(-60deg)}}@keyframes rotate-rank-spinner-good-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-62deg)}to{opacity:1;transform:rotate(-70deg)}}@keyframes rotate-rank-spinner-fair{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-97deg)}to{opacity:1;transform:rotate(-105deg)}}@keyframes rotate-rank-spinner-fair-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-115deg)}to{opacity:1;transform:rotate(-110deg)}}@keyframes rotate-rank-spinner-low{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-142deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-150deg)}}@keyframes rotate-rank-spinner-low-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-163deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-170deg)}}@keyframes rotate-rank-spinner-error{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes pulse-credit-rank-spinner{0%{transform:scale(1)}50%{backface-visibility:hidden;transform:scale(1.1)}to{transform:scale(1)}}@keyframes pulse{0%{opacity:0;transform:scale(.3)}25%{opacity:.1;transform:scale(.5)}50%{opacity:.3;transform:scale(.7)}75%{opacity:.5;transform:scale(.8)}to{opacity:0;transform:scale(1)}}@keyframes pulse-text-overlay{0%{opacity:.8}50%{opacity:.875}to{opacity:.95}}@keyframes barloader{0%{left:50%;width:0;z-index:100}33%{left:0;width:100%;z-index:10}to{left:0;width:100%}}@keyframes dot-circles{0%,80%,to{box-shadow:0 2.5rem 0 -1.3em}40%{box-shadow:0 2.5rem}}@keyframes model-svg-animation-draw{to{stroke-dashoffset:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes middleSlideUp{0%{transform:translate(-50%,100%)}to{transform:translate(-50%,-50%)}}@keyframes beat{0%{transform:scale(1)}50%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes synapse-expand{0%{opacity:0;transform:scale(.2)}to{opacity:.7;transform:scale(1)}}@keyframes genius-fade{0%{stroke-opacity:1}90%{stroke-opacity:1}to{stroke-opacity:0}}@keyframes genius-animate-0{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-1{18%{stroke-dashoffset:2690}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-2{18%{stroke-dashoffset:2120}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-3{18%{stroke-dashoffset:548}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-4{18%{stroke-dashoffset:68}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-5{18%{stroke-dashoffset:241}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-6{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-7{18%{stroke-dashoffset:2350}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-8{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-9{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes checkAnimation{to{stroke-dashoffset:0}}@keyframes speedTextAnimation{0%{margin-left:-200%}to{margin-left:0%}}@keyframes enter-toast{0%{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes exit-toast{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}@keyframes rotate-90-righty{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes rotate-90-lefty{0%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes rotate-45-righty{0%{transform:rotate(0)}to{transform:rotate(45deg)}}@keyframes rotate-45-lefty{0%{transform:rotate(45deg)}to{transform:rotate(0)}}.input-container[_ngcontent-%COMP%]{height:2.5rem;position:relative}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{cursor:pointer;height:100%;right:0;width:12.5vw;padding:0 3vw 0 4vw;fill:#8f9aa3;z-index:3;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:50%;transform:translateY(-50%) rotate(0)}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]:focus{outline:0}.input-label[_ngcontent-%COMP%]{color:#8f9aa3;padding-left:3vw;pointer-events:none;position:absolute;transform:translate(3vw,.65rem) scale(.85);transform-origin:left top;transition:all .5s ease-in-out;z-index:3;font-size:4vw}.input-field[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ececec;border-radius:4px;color:#4e575e;height:2.5rem;padding:.9rem 0 0 5vw;position:absolute;width:100%;z-index:2;font-size:4vw;-webkit-appearance:none}.input-field[_ngcontent-%COMP%]::-ms-clear{display:none}.input-field[_ngcontent-%COMP%]:disabled{opacity:1}.input-field.optional[_ngcontent-%COMP%]{background-color:#fff}.input-field.is-invalid[_ngcontent-%COMP%]{border-color:#f74e50}.input-field.is-invalid[_ngcontent-%COMP%]:focus{outline-color:#f74e50}.input-field.show-info[_ngcontent-%COMP%]{border-color:#075078}.input-field.show-tooltip[_ngcontent-%COMP%]{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.input-field.has-info[_ngcontent-%COMP%]{padding-right:13vw}.input-field[_ngcontent-%COMP%]:focus{outline-color:#075078}.input-field.valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(3vw,.25rem) scale(.65);transition:all .5s ease-in-out}.input-field[_ngcontent-%COMP%]:focus::-webkit-datetime-edit, .input-field.has-value[_ngcontent-%COMP%]::-webkit-datetime-edit, .input-field.prefilled-input[_ngcontent-%COMP%]::-webkit-datetime-edit{opacity:1;-webkit-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out}.input-field[_ngcontent-%COMP%]::-webkit-datetime-edit{color:#4e575e;display:inline-block;font-family:"Mulish",sans-serif;opacity:0}.input-field[_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{background:transparent;color:transparent;padding:100% 1.1rem}.input-field[_ngcontent-%COMP%]::-webkit-inner-spin-button, .input-field[_ngcontent-%COMP%]::-webkit-clear-button{display:none}.input-field[type=date].valid[_ngcontent-%COMP%]{background-color:#fff}.input-field[type=date].ng-valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.validation-error-message[_ngcontent-%COMP%]{color:#f74e50;padding:.2rem 0 0;width:100%;font-size:2.8vw}.loader-container[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%) rotate(0);right:5%;height:2.5vh;width:2.5vh;opacity:0;z-index:1}.loader-container.show[_ngcontent-%COMP%]{opacity:1;z-index:3;transition:opacity 0s ease 1s}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:around 5.4s infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after, .loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:before{content:"";background:transparent;position:absolute;display:inline-block;width:100%;height:100%;border-width:.125rem;border-color:#075078 #ececec transparent transparent;border-style:solid;border-radius:1.25rem;box-sizing:border-box;animation:loaderrotate .7s ease-in-out infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after{animation:loaderrotate .7s ease-in-out .1s infinite;background:transparent}.date-container[_ngcontent-%COMP%]{display:flex}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]{flex:1}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]:nth-child(2){margin:0 .5rem}@media screen and (min-width: 414px){.input-container[_ngcontent-%COMP%]{height:3rem}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{width:2.9rem;padding:0 .8rem 0 1rem}.input-label[_ngcontent-%COMP%]{font-size:.89rem;padding-left:.6rem;transform:translate(.6rem,.85rem) scale(1)}.validation-error-message[_ngcontent-%COMP%]{font-size:.625rem}.input-field[_ngcontent-%COMP%]{padding:1.1rem 0 0 .9rem;height:3rem;font-size:.89rem}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(.6rem,.4rem) scale(.7);transition:all .5s ease-in-out}.input-field.has-info[_ngcontent-%COMP%]{padding-right:3rem}}']}),e})()},22741:function(e,t,n){"use strict";n.d(t,{h:function(){return o}});var i=n(37716),a=(n(87020),n(61718));let o=(()=>{class e{constructor(){this.analyticData={},this.onBlur=new i.vpe,this.onFocus=new i.vpe,this.onValid=new i.vpe}ngOnInit(){this.controlName.statusChanges.subscribe(e=>{"VALID"===e&&this.onValid.emit()})}handleBlur(e){this.onBlur.emit(e)}handleFocus(e){this.onFocus.emit(e)}setFocus(){this.inputGroup.setFocus()}checkValidity(){return this.inputGroup.checkValidity()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-input-zip-code"]],viewQuery:function(e,t){if(1&e&&i.Gf(a.c3,5),2&e){let e;i.iGM(e=i.CRH())&&(t.inputGroup=e.first)}},inputs:{controlName:"controlName",analyticData:["analytic-data","analyticData"],qaid:"qaid"},outputs:{onBlur:"onBlur",onFocus:"onFocus",onValid:"onValid"},decls:7,vars:6,consts:[["inputType","tel","name","cityLocationCode","ariaLabel","Enter Zip Code","errorMessage","Please enter a valid ZIP code","className","fs-mask",3,"qaid","validateFor","required","hasTooltip","control","analytic-data","onBlur","onFocus"],["id","zip-code-label"]],template:function(e,t){1&e&&(i._uU(0,"\n "),i.TgZ(1,"dtm-input-group",0),i.NdJ("onBlur",function(e){return t.handleBlur(e)})("onFocus",function(e){return t.handleFocus(e)}),i._uU(2,"\n "),i.TgZ(3,"span",1),i._uU(4,"\n ZIP Code\n "),i.qZA(),i._uU(5,"\n "),i.qZA(),i._uU(6,"\n")),2&e&&(i.xp6(1),i.Q6J("qaid",t.qaid)("validateFor","zipCode")("required",!0)("hasTooltip",!1)("control",t.controlName)("analytic-data",t.analyticData))},styles:['@keyframes loadgrow{0%{height:0;opacity:0;width:0}to{height:10em;opacity:1;width:10em}}@keyframes expandout{0%{width:0}to{width:100%}}@keyframes scale-up{0%{transform:scale(0);transform-origin:center}to{transform:scale(1);transform-origin:center}}@keyframes fillcircle{0%{border-bottom:1.1em solid rgba(181,233,212,.8)}50%{border-right:1.1em solid rgba(181,233,212,.8)}to{border-top:1.1em solid rgba(181,233,212,.8)}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:0}}@keyframes fade-in-out{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes fade-in-out-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes pulse-half-opacity{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes pulse-half-border{0%{border-color:#f74e50}50%{border-color:#f74e5080}to{border-color:#f74e50}}@keyframes fade-in-out-scroll{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}@keyframes rotate-horizontal{0%{transform:rotateY(-180deg)}80%{transform:rotateY(-180deg)}to{transform:rotateY(0)}}@keyframes loaderrotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-rank-spinner-excellent{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-4deg)}to{opacity:1;transform:rotate(-10deg)}}@keyframes rotate-rank-spinner-excellent-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes rotate-rank-spinner-good{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-52deg)}to{opacity:1;transform:rotate(-60deg)}}@keyframes rotate-rank-spinner-good-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-62deg)}to{opacity:1;transform:rotate(-70deg)}}@keyframes rotate-rank-spinner-fair{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-97deg)}to{opacity:1;transform:rotate(-105deg)}}@keyframes rotate-rank-spinner-fair-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-115deg)}to{opacity:1;transform:rotate(-110deg)}}@keyframes rotate-rank-spinner-low{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-142deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-150deg)}}@keyframes rotate-rank-spinner-low-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-163deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-170deg)}}@keyframes rotate-rank-spinner-error{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes pulse-credit-rank-spinner{0%{transform:scale(1)}50%{backface-visibility:hidden;transform:scale(1.1)}to{transform:scale(1)}}@keyframes pulse{0%{opacity:0;transform:scale(.3)}25%{opacity:.1;transform:scale(.5)}50%{opacity:.3;transform:scale(.7)}75%{opacity:.5;transform:scale(.8)}to{opacity:0;transform:scale(1)}}@keyframes pulse-text-overlay{0%{opacity:.8}50%{opacity:.875}to{opacity:.95}}@keyframes barloader{0%{left:50%;width:0;z-index:100}33%{left:0;width:100%;z-index:10}to{left:0;width:100%}}@keyframes dot-circles{0%,80%,to{box-shadow:0 2.5rem 0 -1.3em}40%{box-shadow:0 2.5rem}}@keyframes model-svg-animation-draw{to{stroke-dashoffset:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes middleSlideUp{0%{transform:translate(-50%,100%)}to{transform:translate(-50%,-50%)}}@keyframes beat{0%{transform:scale(1)}50%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes synapse-expand{0%{opacity:0;transform:scale(.2)}to{opacity:.7;transform:scale(1)}}@keyframes genius-fade{0%{stroke-opacity:1}90%{stroke-opacity:1}to{stroke-opacity:0}}@keyframes genius-animate-0{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-1{18%{stroke-dashoffset:2690}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-2{18%{stroke-dashoffset:2120}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-3{18%{stroke-dashoffset:548}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-4{18%{stroke-dashoffset:68}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-5{18%{stroke-dashoffset:241}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-6{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-7{18%{stroke-dashoffset:2350}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-8{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-9{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes checkAnimation{to{stroke-dashoffset:0}}@keyframes speedTextAnimation{0%{margin-left:-200%}to{margin-left:0%}}@keyframes enter-toast{0%{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes exit-toast{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}@keyframes rotate-90-righty{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes rotate-90-lefty{0%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes rotate-45-righty{0%{transform:rotate(0)}to{transform:rotate(45deg)}}@keyframes rotate-45-lefty{0%{transform:rotate(45deg)}to{transform:rotate(0)}}.input-container[_ngcontent-%COMP%]{height:2.5rem;position:relative}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{cursor:pointer;height:100%;right:0;width:12.5vw;padding:0 3vw 0 4vw;fill:#8f9aa3;z-index:3;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:50%;transform:translateY(-50%) rotate(0)}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]:focus{outline:0}.input-label[_ngcontent-%COMP%]{color:#8f9aa3;padding-left:3vw;pointer-events:none;position:absolute;transform:translate(3vw,.65rem) scale(.85);transform-origin:left top;transition:all .5s ease-in-out;z-index:3;font-size:4vw}.input-field[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ececec;border-radius:4px;color:#4e575e;height:2.5rem;padding:.9rem 0 0 5vw;position:absolute;width:100%;z-index:2;font-size:4vw;-webkit-appearance:none}.input-field[_ngcontent-%COMP%]::-ms-clear{display:none}.input-field[_ngcontent-%COMP%]:disabled{opacity:1}.input-field.optional[_ngcontent-%COMP%]{background-color:#fff}.input-field.is-invalid[_ngcontent-%COMP%]{border-color:#f74e50}.input-field.is-invalid[_ngcontent-%COMP%]:focus{outline-color:#f74e50}.input-field.show-info[_ngcontent-%COMP%]{border-color:#075078}.input-field.show-tooltip[_ngcontent-%COMP%]{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}.input-field.has-info[_ngcontent-%COMP%]{padding-right:13vw}.input-field[_ngcontent-%COMP%]:focus{outline-color:#075078}.input-field.valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(3vw,.25rem) scale(.65);transition:all .5s ease-in-out}.input-field[_ngcontent-%COMP%]:focus::-webkit-datetime-edit, .input-field.has-value[_ngcontent-%COMP%]::-webkit-datetime-edit, .input-field.prefilled-input[_ngcontent-%COMP%]::-webkit-datetime-edit{opacity:1;-webkit-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out}.input-field[_ngcontent-%COMP%]::-webkit-datetime-edit{color:#4e575e;display:inline-block;font-family:"Mulish",sans-serif;opacity:0}.input-field[_ngcontent-%COMP%]::-webkit-calendar-picker-indicator{background:transparent;color:transparent;padding:100% 1.1rem}.input-field[_ngcontent-%COMP%]::-webkit-inner-spin-button, .input-field[_ngcontent-%COMP%]::-webkit-clear-button{display:none}.input-field[type=date].valid[_ngcontent-%COMP%]{background-color:#fff}.input-field[type=date].ng-valid[_ngcontent-%COMP%]{background-color:#f7f7f7}.validation-error-message[_ngcontent-%COMP%]{color:#f74e50;padding:.2rem 0 0;width:100%;font-size:2.8vw}.loader-container[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%) rotate(0);right:5%;height:2.5vh;width:2.5vh;opacity:0;z-index:1}.loader-container.show[_ngcontent-%COMP%]{opacity:1;z-index:3;transition:opacity 0s ease 1s}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]{animation:around 5.4s infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after, .loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:before{content:"";background:transparent;position:absolute;display:inline-block;width:100%;height:100%;border-width:.125rem;border-color:#075078 #ececec transparent transparent;border-style:solid;border-radius:1.25rem;box-sizing:border-box;animation:loaderrotate .7s ease-in-out infinite}.loader-container[_ngcontent-%COMP%] .loader[_ngcontent-%COMP%]:after{animation:loaderrotate .7s ease-in-out .1s infinite;background:transparent}.date-container[_ngcontent-%COMP%]{display:flex}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]{flex:1}.date-container[_ngcontent-%COMP%] .date-input[_ngcontent-%COMP%]:nth-child(2){margin:0 .5rem}@media screen and (min-width: 414px){.input-container[_ngcontent-%COMP%]{height:3rem}.input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{width:2.9rem;padding:0 .8rem 0 1rem}.input-label[_ngcontent-%COMP%]{font-size:.89rem;padding-left:.6rem;transform:translate(.6rem,.85rem) scale(1)}.validation-error-message[_ngcontent-%COMP%]{font-size:.625rem}.input-field[_ngcontent-%COMP%]{padding:1.1rem 0 0 .9rem;height:3rem;font-size:.89rem}.input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], .input-field.has-value[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%], .input-field.prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translate(.6rem,.4rem) scale(.7);transition:all .5s ease-in-out}.input-field.has-info[_ngcontent-%COMP%]{padding-right:3rem}}']}),e})()},62386:function(e,t,n){"use strict";n.d(t,{s:function(){return v}});var i=n(37716),a=n(3679),o=n(70764),r=n(20483),s=n(17952),l=n(38583),c=n(19967),d=n(82701),u=n(77519),p=n(48350);const h=["textAreaElem"];function m(e,t){if(1&e){const e=i.EpF();i.TgZ(0,"span",9),i.NdJ("click",function(t){return i.CHM(e),i.oxw().handleToggle(t)}),i._uU(1,"\n "),i.qZA()}if(2&e){const e=i.oxw();i.Q6J("analytic",e.analyticDataTooltip)}}function g(e,t){if(1&e&&(i.TgZ(0,"dtm-form-tooltip",10),i._uU(1,"\n "),i.TgZ(2,"tooltip-text"),i._uU(3,"\n "),i.Hsn(4,1),i._uU(5,"\n "),i.qZA(),i._uU(6,"\n"),i.qZA()),2&e){const e=i.oxw();i.Q6J("hasError",e.isInvalid()&&e.isTooltipVisible())("showInfo",e.isTooltipVisible())("svgIcon",e.tooltipSvg)}}const f=["*",[["tooltip-text"]]],y=function(e,t,n,i,a,o,r){return{optional:e,"has-value":t,"is-invalid":n,valid:i,"show-info":a,"show-tooltip":o,"has-info":r}},_=function(e){return{ariaLabel:e}},A=["*","tooltip-text"];let v=(()=>{class e{constructor(e,t){this._analyticService=e,this._validationService=t,this.placeHolder="",this.hasInfo=!1,this.hasTooltip=!0,this.onInput=new i.vpe,this.onBlur=new i.vpe,this.control=new a.NI(""),this.analyticDataChanged={},this.validateFor="",this.analyticData={},this.analyticDataTooltip={},this.ariaLabel="",this.showInfo=!1,this.ensureValueInModelInterval=-1,this.textInput=""}setFocus(){this.control.markAsTouched(),this.elementRef.nativeElement.focus()}checkValidity(){return this.control.markAsTouched(),!this.isInvalid()||(this._analyticService.logAnalytic(this.analyticData),!1)}ngOnInit(){this.maxLength=this.maxLength||this._validationService.getMaxLength(this.validateFor);let e=this._validationService.getValidators(this.validateFor,this.required),t=this._validationService.getAsyncValidators(this.validateFor);r.cmp.isEmpty(e)||this.control.setValidators(e),r.cmp.isEmpty(t)||this.control.setAsyncValidators(t)}onInputChange(e){this.onInput.emit(e)}hasValue(){return this.control.value||this.elementRef.nativeElement.validity.badInput}isInvalid(){return this.control.touched&&!this.control.valid}isTooltipVisible(){return this.hasTooltip&&this.showInfo}handleBlur(e){this.control.dirty&&this._analyticService.logAnalytic(this.analyticDataChanged),this.elementRef.nativeElement.attributes.valid=this.control.valid,this.control.markAsPristine(),this.onBlur.emit(e)}handleToggle(){this.showInfo=!this.showInfo}onKeyUp(e){38===e.keyCode&&(this.elementRef.nativeElement.scrollTop-=10)}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(o.g),i.Y36(s.R))},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-input-textarea"]],viewQuery:function(e,t){if(1&e&&i.Gf(h,7),2&e){let e;i.iGM(e=i.CRH())&&(t.elementRef=e.first)}},inputs:{maxLength:"maxLength",name:"name",required:"required",readonly:"readonly",autofocus:"autofocus",qaid:"qaid",className:"className",placeHolder:"placeHolder",hasInfo:"hasInfo",hasTooltip:"hasTooltip",tooltipSvg:"tooltipSvg",control:"control",analyticDataChanged:"analyticDataChanged",validateFor:"validateFor",analyticData:["analytic-data","analyticData"],analyticDataTooltip:["analytic-data-tooltip","analyticDataTooltip"],ariaLabel:"ariaLabel"},outputs:{onInput:"onInput",onBlur:"onBlur"},ngContentSelectors:A,decls:25,vars:29,consts:[[1,"textarea-input-container"],[1,"block"],["autocomplete","off",3,"ngClass","ngModel","maxLength","name","readonly","formControl","analytic","autofocus","placeholder","accessibility","ngModelChange","input","blur","keyup"],["textAreaElem",""],[1,"textarea-outer"],[1,"textarea-input-label"],["includeSVG","dt-glyph-question-mark","height","100%","width","100%","class","toggle-info input-reset","tabindex","-1",3,"analytic","click",4,"ngIf"],[1,"char-count"],[3,"hasError","showInfo","svgIcon",4,"ngIf"],["includeSVG","dt-glyph-question-mark","height","100%","width","100%","tabindex","-1",1,"toggle-info","input-reset",3,"analytic","click"],[3,"hasError","showInfo","svgIcon"]],template:function(e,t){1&e&&(i.F$t(f),i.TgZ(0,"div",0),i._uU(1,"\n "),i.TgZ(2,"label",1),i._uU(3,"\n "),i.TgZ(4,"textarea",2,3),i.NdJ("ngModelChange",function(e){return t.textInput=e})("input",function(e){return t.onInputChange(e)})("blur",function(e){return t.handleBlur(e)})("keyup",function(e){return t.onKeyUp(e)}),i._uU(6," "),i.qZA(),i._uU(7,"\n "),i.TgZ(8,"span",4),i._uU(9,"\n "),i.TgZ(10,"span",5),i._uU(11,"\n "),i.Hsn(12),i._uU(13,"\n "),i.qZA(),i._uU(14,"\n "),i.qZA(),i._uU(15,"\n "),i.qZA(),i._uU(16,"\n "),i.YNc(17,m,2,1,"span",6),i._uU(18,"\n "),i.TgZ(19,"span",7),i._uU(20),i.qZA(),i._uU(21,"\n"),i.qZA(),i._uU(22,"\n"),i.YNc(23,g,7,3,"dtm-form-tooltip",8),i._uU(24,"\n")),2&e&&(i.xp6(4),i.Gre("textarea-input-field ",t.className," third-party-text-mask"),i.Q6J("ngClass",i.Hh0(19,y,!t.required,t.hasValue(),t.isInvalid(),!t.isInvalid()&&t.hasValue(),t.showInfo&&!t.isInvalid(),t.isTooltipVisible(),t.hasInfo))("ngModel",t.textInput)("maxLength",t.maxLength||null)("name",t.name)("readonly",t.readonly||null)("formControl",t.control)("analytic",t.analyticData)("autofocus",t.autofocus||null)("placeholder",t.placeHolder)("accessibility",i.VKq(27,_,t.ariaLabel)),i.uIk("qaid",t.qaid)("data-cy",t.qaid)("disabled",t.readonly||null),i.xp6(13),i.Q6J("ngIf",t.hasInfo),i.xp6(3),i.Oqu(t.maxLength-(t.textInput?t.textInput.length:0)),i.xp6(3),i.Q6J("ngIf",t.hasTooltip))},directives:[a.Fj,l.mk,a.JJ,a.oH,c.e,d.z,l.O5,u.pw,p.L],styles:["[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%]{height:5.5rem;position:relative}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{cursor:pointer;height:100%;right:0;width:12.5vw;padding:0 3vw 0 4vw;fill:#8f9aa3;-webkit-tap-highlight-color:rgba(0,0,0,0);position:absolute;top:50%;transform:translateY(-50%) rotate(0)}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]:focus{outline:0}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .char-count[_ngcontent-%COMP%]{color:#8f9aa3;right:1.5vw;bottom:0;fill:#ececec;position:absolute;font-size:.77rem;padding:.3rem}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-outer[_ngcontent-%COMP%]{position:absolute;width:94%;height:1.2rem;margin:.1rem 0 0 .2rem;background-color:transparent}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-label[_ngcontent-%COMP%]{color:#8f9aa3;padding-left:2vw;font-size:4vw;pointer-events:none;position:absolute;transform:translate(3vw,.65rem) scale(.85);transform-origin:left top;transition:all .5s ease-in-out;z-index:2}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ececec;border-radius:4px;color:#4e575e;height:5.5rem;padding:1.3rem 5vw 0 1rem;position:absolute;width:100%;font-size:4.4vw;resize:none;-webkit-appearance:none}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field[_ngcontent-%COMP%]:disabled{opacity:1}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field.optional[_ngcontent-%COMP%]{background-color:#fff}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field.is-invalid[_ngcontent-%COMP%]{border-color:#f74e50}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field.show-info[_ngcontent-%COMP%]{border-color:#075078}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field.show-tooltip[_ngcontent-%COMP%]{border-bottom:0;border-bottom-left-radius:0;border-bottom-right-radius:0}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field.has-info[_ngcontent-%COMP%]{padding-right:13vw}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field[_ngcontent-%COMP%]:focus{outline-color:#075078}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field.valid[_ngcontent-%COMP%]{background-color:#f7f7f7;border:2px solid #f7f7f7}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field.valid[_ngcontent-%COMP%] + .textarea-outer[_ngcontent-%COMP%]{background-color:#f7f7f7}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field.valid[_ngcontent-%COMP%] + .textarea-outer[_ngcontent-%COMP%] .textarea-input-label[_ngcontent-%COMP%]{transform:translate(3vw,.25rem) scale(.65);transition:all .5s ease-in-out}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field[_ngcontent-%COMP%]:focus + .textarea-input-label[_ngcontent-%COMP%], [_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field.has-value[_ngcontent-%COMP%] + .textarea-input-label[_ngcontent-%COMP%], [_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field.prefilled-input[_ngcontent-%COMP%] + .textarea-input-label[_ngcontent-%COMP%]{transform:translate(3vw,.25rem) scale(.65);transition:all .5s ease-in-out}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field[_ngcontent-%COMP%]:focus + .textarea-outer[_ngcontent-%COMP%] .textarea-input-label[_ngcontent-%COMP%], [_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field.has-value[_ngcontent-%COMP%] + .textarea-outer[_ngcontent-%COMP%] .textarea-input-label[_ngcontent-%COMP%], [_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field.prefilled-input[_ngcontent-%COMP%] + .textarea-outer[_ngcontent-%COMP%] .textarea-input-label[_ngcontent-%COMP%]{transform:translate(3vw,.25rem) scale(.65);transition:all .5s ease-in-out}@media screen and (min-width: 414px){[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%]{height:5.5rem}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .toggle-info[_ngcontent-%COMP%]{width:2.9rem;padding:0 .8rem 0 1rem}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-label[_ngcontent-%COMP%]{transform:translate(.6rem,.85rem) scale(1);padding-left:.6rem;font-size:.89rem}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .char-count[_ngcontent-%COMP%]{right:.2rem}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field[_ngcontent-%COMP%]{padding:1.4rem 1rem;font-size:1rem}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field[_ngcontent-%COMP%]:focus + .textarea-input-label[_ngcontent-%COMP%], [_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field.has-value[_ngcontent-%COMP%] + .textarea-input-label[_ngcontent-%COMP%], [_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field.prefilled-input[_ngcontent-%COMP%] + .textarea-input-label[_ngcontent-%COMP%]{transform:translate(.6rem,.4rem) scale(.7);transition:all .5s ease-in-out}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field[_ngcontent-%COMP%]:focus + .textarea-outer[_ngcontent-%COMP%] .textarea-input-label[_ngcontent-%COMP%], [_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field.has-value[_ngcontent-%COMP%] + .textarea-outer[_ngcontent-%COMP%] .textarea-input-label[_ngcontent-%COMP%], [_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field.prefilled-input[_ngcontent-%COMP%] + .textarea-outer[_ngcontent-%COMP%] .textarea-input-label[_ngcontent-%COMP%]{transform:translate(.6rem,.4rem) scale(.65);transition:all .5s ease-in-out}[_nghost-%COMP%] .textarea-input-container[_ngcontent-%COMP%] .textarea-input-field.has-info[_ngcontent-%COMP%]{padding-right:3rem}}"]}),e})()},98345:function(e,t,n){"use strict";n.d(t,{J:function(){return I}});var i=n(97582),a=n(46782),o=n(26215),r=n(9112),s=n(37716),l=n(29160),c=n(79765),d=n(89234),u=n(20483),p=n(70764),h=n(45637),m=n(38583),g=n(30277),f=n(98800),y=n(98163),_=n(3679),A=n(82701),v=n(77519),b=n(19967);const C=["googleAutoComplete"];function w(e,t){1&e&&(s.TgZ(0,"label",7),s.Hsn(1),s.qZA())}const S=function(e){return{ariaLabel:"Use Current Location",dynamicTabIndex$:e}};function k(e,t){if(1&e){const e=s.EpF();s.TgZ(0,"button",8),s.NdJ("click",function(){return s.CHM(e),s.oxw().attemptToUseMyLocation()})("focusout",function(){return s.CHM(e),s.oxw().determineShowUseMyLocation()}),s._uU(1,"\n "),s._UZ(2,"span",9),s._uU(3,"\n "),s.TgZ(4,"span",10),s._uU(5,"Use My Current Location"),s.qZA(),s._uU(6,"\n "),s.qZA()}if(2&e){const e=s.oxw();s.Q6J("accessibility",s.VKq(1,S,e.dynamicTabIndex$))}}const M=function(e){return{"light-style":e}},P=function(e){return{"no-placeholder":e}},O=function(e,t){return{ariaLabel:"Enter Location",ariaInvalid$:e,dynamicTabIndex$:t}},U=["*"];let I=(()=>{class e{constructor(e,t,n,i,a,r,l,d){this._locationService=e,this._renderer=t,this._analyticService=n,this._cdRef=i,this._store=a,this._memoryStoreService=r,this._screenSizeService=l,this._el=d,this.inputValue="",this.isPreLoadedValue=!1,this.includePlaceHolder=!1,this.inputExpanded=!1,this.analyticDataClick={},this.analyticDataUseMyLocation={},this.analyticDataSearch={},this.searchIconAnalytic={},this.lightStyle=!1,this.onBlur=new s.vpe,this.onFocus=new s.vpe,this.onTypeahead=new s.vpe,this.goodLocationEmitter=new s.vpe,this.city="",this.stateShortName="",this.useMyLocation=!1,this.locationInputValue="",this.isDesktop=!1,this.showUseMyLocation$=new o.X(!1),this.isInvalid$=new o.X(!1),this._componentUnsubscribe=new c.xQ}ngOnInit(){(0,r.aj)([this._screenSizeService.isDesktop,this._store.select(e=>e.app.location.currentLocation)]).pipe((0,a.R)(this._componentUnsubscribe)).subscribe(([e,t])=>{this.isDesktop=e,this.city=t.city,this.stateShortName=t.state.shortName,t.isGeoLocated&&(this.locationInputValue=this.cityExists()?`${(new m.rS).transform(this.city)}, ${this.stateShortName}`:`${this.stateShortName}`,this.isDesktop&&t.zipCode&&(this.locationInputValue+=` ${t.zipCode}`),this.isPreLoadedValue&&(this.initialInputValue=this.locationInputValue,""===this.inputRef.nativeElement.value&&(this._renderer.setProperty(this.inputRef.nativeElement,"value",this.locationInputValue),this.useMyLocation=!1))),this._cdRef.detectChanges()})}ngAfterViewInit(){this.typeaheadRef=new l.p(this.inputRef,y.h.Regions),this.typeaheadRef.events.pipe((0,a.R)(this._componentUnsubscribe)).subscribe(()=>{this.handleLocationSearch()})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}inputValueHasChanged(){this.useMyLocation=""===this.inputRef.nativeElement.value,this._cdRef.detectChanges()}focus(e){this.inputExpanded||this._analyticService.logAnalytic(this.analyticDataClick),this.inputRef.nativeElement.focus(),this.inputRef.nativeElement.value="",this.useMyLocation=!0,this._cdRef.detectChanges(),this.onFocus.emit(e)}blur(){this.inputRef.nativeElement.blur()}attemptToUseMyLocation(){return(0,i.mG)(this,void 0,void 0,function*(){this._analyticService.logAnalytic(this.analyticDataUseMyLocation);let e=yield this._locationService.forceSpecificLocation();this.goodLocationEmitter.emit(e),this.useMyLocation=!1,this.determineShowUseMyLocation(),this._cdRef.detectChanges()})}cityExists(){return u.cmp.isNotEmpty(this.city)}handleBlur(){this.onBlur.emit(event),""===this.inputRef.nativeElement.value&&this._renderer.setProperty(this.inputRef.nativeElement,"value",this.locationInputValue)}determineShowUseMyLocation(){return(0,i.mG)(this,void 0,void 0,function*(){yield u.AsyncUtils.nextTick(),this.showUseMyLocation$.next(this.inputExpanded&&this.useMyLocation&&this._el.nativeElement.contains(window.document.activeElement))})}handleFocusIn(e){return(0,i.mG)(this,void 0,void 0,function*(){this.inputExpanded=!0,this.determineShowUseMyLocation(),this.onFocus.emit(e)})}handleLocationSearch(){return(0,i.mG)(this,void 0,void 0,function*(){try{this._analyticService.logAnalytic(this.analyticDataSearch);let e=this.inputRef.nativeElement.value;yield this._locationService.setLocationInTypeStore({name:e});let t=this._store.locationSnapshot();this.city=t.city,this.stateShortName=t.state.shortName,this.inputValue=this.cityExists()?`${this.city}, ${this.stateShortName}`:`${this.stateShortName}`,this.isDesktop&&t.zipCode&&(this.inputValue+=` ${t.zipCode}`),this._renderer.setProperty(this.inputRef.nativeElement,"value",this.inputValue),this.onTypeahead.emit(this.inputValue),this.goodLocationEmitter.emit(this.cityExists())}catch(e){this._logException("handleLocationSearch",e)}})}_logException(e,t){this._analyticService.logException(t,`InputTypeahead Component -> ${e} failed.`)}}return e.\u0275fac=function(t){return new(t||e)(s.Y36(d.a),s.Y36(s.Qsj),s.Y36(p.g),s.Y36(s.sBO),s.Y36(g.k),s.Y36(h.D),s.Y36(f.O),s.Y36(s.SBq))},e.\u0275cmp=s.Xpm({type:e,selectors:[["dtm-input-typeahead"]],viewQuery:function(e,t){if(1&e&&s.Gf(C,7),2&e){let e;s.iGM(e=s.CRH())&&(t.inputRef=e.first)}},inputs:{inputValue:"inputValue",isPreLoadedValue:"isPreLoadedValue",className:"className",includePlaceHolder:"includePlaceHolder",inputExpanded:"inputExpanded",analyticDataClick:"analyticDataClick",analyticDataUseMyLocation:"analyticDataUseMyLocation",analyticDataSearch:"analyticDataSearch",searchIconAnalytic:"searchIconAnalytic",qaid:"qaid",lightStyle:"lightStyle",dynamicTabIndex$:"dynamicTabIndex$"},outputs:{onBlur:"onBlur",onFocus:"onFocus",onTypeahead:"onTypeahead",goodLocationEmitter:"goodLocationEmitter"},ngContentSelectors:U,decls:16,vars:22,consts:[[3,"ngClass"],[1,"input-container"],["type","text","required","","placeholder","","id","typeahead-input","tab-index","0",3,"ngClass","value","ngModel","accessibility","focus","ngModelChange","blur","focusout","focusin"],["googleAutoComplete",""],["id","input-label","class","input-label",4,"ngIf"],["includeSVG","dt-glyph-search","height","100%","width","100%",1,"input-icon",3,"analytic","click"],["id","use-my-location","class","use-my-location","tab-index","0",3,"accessibility","click","focusout",4,"ngIf"],["id","input-label",1,"input-label"],["id","use-my-location","tab-index","0",1,"use-my-location",3,"accessibility","click","focusout"],["includeSVG","dt-glyph-target",1,"location-target"],[1,"inner-text"]],template:function(e,t){1&e&&(s.F$t(),s.TgZ(0,"div",0),s._uU(1,"\n "),s.TgZ(2,"div",1),s._uU(3,"\n "),s.TgZ(4,"input",2,3),s.NdJ("focus",function(e){return t.focus(e)})("ngModelChange",function(e){return t.initialInputValue=e})("ngModelChange",function(){return t.inputValueHasChanged()})("blur",function(){return t.handleBlur()})("focusout",function(){return t.determineShowUseMyLocation()})("focusin",function(e){return t.handleFocusIn(e)}),s.qZA(),s._uU(6,"\n "),s.YNc(7,w,2,0,"label",4),s._uU(8,"\n "),s.TgZ(9,"a",5),s.NdJ("click",function(){return t.handleLocationSearch()}),s.qZA(),s._uU(10,"\n "),s.YNc(11,k,7,3,"button",6),s.ALo(12,"async"),s._uU(13,"\n "),s.qZA(),s._uU(14,"\n"),s.qZA(),s._uU(15,"\n")),2&e&&(s.Q6J("ngClass",s.VKq(15,M,t.lightStyle)),s.xp6(4),s.Gre("input-field ",t.className,""),s.s9C("value",t.isPreLoadedValue?t.locationInputValue:t.inputValue),s.Q6J("ngClass",s.VKq(17,P,!t.includePlaceHolder))("ngModel",t.initialInputValue)("accessibility",s.WLB(19,O,t.isInvalid$,t.dynamicTabIndex$)),s.uIk("qaid","global-typeahead")("data-cy","global-typeahead"),s.xp6(3),s.Q6J("ngIf",t.includePlaceHolder),s.xp6(2),s.Q6J("analytic",t.searchIconAnalytic),s.xp6(2),s.Q6J("ngIf",s.lcZ(12,13,t.showUseMyLocation$)))},directives:[m.mk,_.Fj,_.Q7,_.JJ,_.On,A.z,m.O5,v.pw,b.e],pipes:[m.Ov],styles:["[_nghost-%COMP%] .input-field[_ngcontent-%COMP%]{background-color:#fff;border:1px solid #ececec;border-radius:4px;color:#4e575e;left:0;line-height:2rem;padding:.8rem 0 0 .5rem;position:absolute;transition:border-bottom .5s ease-in-out;width:100%;font-size:3.6vw;height:2.5rem;text-overflow:ellipsis}[_nghost-%COMP%] .input-field[_ngcontent-%COMP%]:hover{cursor:text}[_nghost-%COMP%] .input-field[_ngcontent-%COMP%]:invalid{box-shadow:none}[_nghost-%COMP%] .input-field.no-placeholder[_ngcontent-%COMP%]{padding:0 1.8rem 0 .7rem}[_nghost-%COMP%] [_ngcontent-%COMP%]::-ms-clear{display:none}[_nghost-%COMP%] .input-field[_ngcontent-%COMP%]:focus{outline-color:#075078}[_nghost-%COMP%] .input-field[_ngcontent-%COMP%]:focus + .input-label[_ngcontent-%COMP%], [_nghost-%COMP%] .input-field[_ngcontent-%COMP%]:valid + .input-label[_ngcontent-%COMP%]{transform:translateY(.2rem) scale(.7);transition:all .5s ease-in-out}[_nghost-%COMP%] .input-label[_ngcontent-%COMP%]{color:#8f9aa3;font-weight:300;left:0;padding-left:3vw;pointer-events:none;position:absolute;transform:translate(3vw,.45rem) scale(.85);transform-origin:left top;transition:all .5s ease-in-out}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%]{min-height:45px;position:relative;width:100%;white-space:nowrap}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%] .input-field[_ngcontent-%COMP%]{color:#00abe8}[_nghost-%COMP%] .input-container[_ngcontent-%COMP%] .input-icon[_ngcontent-%COMP%]{fill:#00abe8}[_nghost-%COMP%] .light-style[_ngcontent-%COMP%] .input-container[_ngcontent-%COMP%]{border:none;background:#ffffff;color:#00abe8}[_nghost-%COMP%] .input-icon[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%) rotate(0);right:3vw;width:6vw;height:2rem;fill:#00abe8}[_nghost-%COMP%] .dt-glyph-x[_ngcontent-%COMP%]{fill:#8f9aa3;display:none;height:8.1vw;width:8.1vw;padding:1.5vw;right:3vw;line-height:0;position:absolute;top:50%;transform:translateY(-50%) rotate(0)}[_nghost-%COMP%] .prefilled-input[_ngcontent-%COMP%] + .input-label[_ngcontent-%COMP%]{transform:translateY(3px) scale(.7)}[_nghost-%COMP%] .use-my-location[_ngcontent-%COMP%]{width:100%;min-width:11rem;color:#00abe8;position:absolute;padding:.4rem 0;z-index:101;background-color:#c4eafa;font-size:4vw;text-align:left;cursor:pointer;border:none}[_nghost-%COMP%] .use-my-location[_ngcontent-%COMP%] .inner-text[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}[_nghost-%COMP%] .dt-glyph-target[_ngcontent-%COMP%]{display:inline-block;width:5vw;height:1.5rem;margin:0 .5vw 0 4vw;fill:#00abe8;vertical-align:middle}@media screen and (min-width: 414px){[_nghost-%COMP%] .input-field[_ngcontent-%COMP%]{font-size:.77rem;line-height:1rem}[_nghost-%COMP%] .dt-glyph-x[_ngcontent-%COMP%]{height:1.9rem;width:1.9rem;padding:.4rem;right:.5rem}[_nghost-%COMP%] .input-icon[_ngcontent-%COMP%]{right:.7rem;width:1.1rem}[_nghost-%COMP%] .input-label[_ngcontent-%COMP%]{padding-left:.5rem;transform:translate(.5rem,.5rem) scale(.9)}[_nghost-%COMP%] .dt-glyph-target[_ngcontent-%COMP%]{width:1rem;margin:0 .3rem 0 .7rem}[_nghost-%COMP%] .use-my-location[_ngcontent-%COMP%]{font-size:.77rem}}"]}),e})()},30359:function(e,t,n){"use strict";n.d(t,{F:function(){return s}});var i=n(37716),a=n(38583);function o(e,t){if(1&e&&i._UZ(0,"div",4),2&e){const e=i.oxw();i.Q6J("innerHTML",e.subHeaderText,i.oJD)}}const r=function(e){return{opacity:e}};let s=(()=>{class e{constructor(){this.showHeaderText=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-ga-common-header"]],inputs:{headerText:"headerText",subHeaderText:"subHeaderText",isGA2:"isGA2",overideClass:"overideClass",showHeaderText:"showHeaderText"},decls:10,vars:6,consts:[[1,"header-container",3,"ngClass"],[1,"header-inner-container"],["data-cy","ga-header",1,"header",3,"innerHTML","ngStyle"],["class","sub-header","data-cy","ga-sub-header",3,"innerHTML",4,"ngIf"],["data-cy","ga-sub-header",1,"sub-header",3,"innerHTML"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i._uU(1,"\n "),i.TgZ(2,"div",1),i._uU(3,"\n "),i._UZ(4,"div",2),i._uU(5,"\n "),i.YNc(6,o,1,1,"div",3),i._uU(7,"\n "),i.qZA(),i._uU(8,"\n"),i.qZA(),i._uU(9,"\n")),2&e&&(i.Q6J("ngClass",t.overideClass?t.overideClass:t.isGA2?"ga2-header-container":"ga1-header-container"),i.xp6(4),i.Q6J("innerHTML",t.headerText,i.oJD)("ngStyle",i.VKq(4,r,t.showHeaderText?1:0)),i.xp6(2),i.Q6J("ngIf",t.subHeaderText))},directives:[a.mk,a.PC,a.O5],styles:[".header-container[_ngcontent-%COMP%]{width:100%}.header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%]{width:90%;margin:0 auto}.header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{font-weight:800}.ga1-header-container[_ngcontent-%COMP%]{padding:2.02rem 0 3.5rem;background:url(car-illustration.6426a807d4fef9ba745d.svg) no-repeat,url(bloop-1.5d4e24cfcf523b152001.svg) no-repeat;background-position:right 1rem bottom -.6rem,right -26rem bottom -4.7rem}.ga1-header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{font-size:8.5vw;line-height:1.25;max-width:93%}.ga1-header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%] .sub-header[_ngcontent-%COMP%]{font-weight:400;font-size:4.4vw;line-height:1.45;margin-top:.67rem}.ga2-header-container[_ngcontent-%COMP%]{padding:7rem 0 .6rem;background:url(suv-illustration-mobile.0761ee8812526016c378.svg) no-repeat,url(bloop-2-mobile.52833878a57306c02d16.svg) no-repeat;background-position:left 1rem top 2.3rem,left -8.6rem bottom 1.2rem}.ga2-header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{font-size:6.4vw;line-height:1.33}@media screen and (min-width: 414px){.header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%]{width:100%}.ga1-header-container[_ngcontent-%COMP%]{margin-left:calc((100vw - min(414px,90vw)) / 2);padding-bottom:3rem;background-position:left 14.2rem top 8rem,left 8.6rem top -14.2rem}.ga1-header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{font-size:2rem;line-height:1.22;max-width:20rem}.ga1-header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%] .sub-header[_ngcontent-%COMP%]{font-size:1rem;line-height:1.44}.ga2-header-container[_ngcontent-%COMP%]{background-position:left 2.5rem top 2.3rem,left -7.6rem bottom 1.2rem;max-width:500px;margin:0 auto}.ga2-header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%]{margin-left:calc((100vw - 85vw) / 2);max-width:414px}.ga2-header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{font-size:1.45rem;line-height:1.31}}@media screen and (min-width: 768px){.header-container[_ngcontent-%COMP%]{border-top-right-radius:14px;border-top-left-radius:14px;margin:0}.header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%]{width:83.5%;margin:0 auto}.ga1-header-container[_ngcontent-%COMP%]{padding:2.7rem 0 3.5rem;background-position:right 2.8rem bottom -.6rem,left 9.2rem bottom -4.6rem}.ga1-header-container[_ngcontent-%COMP%] .header-inner-container[_ngcontent-%COMP%] .sub-header[_ngcontent-%COMP%]{margin-top:.56rem}.ga2-header-container[_ngcontent-%COMP%]{padding-top:9rem;background:url(suv-illustration-desktop.f5256dba41f2992ed067.svg) no-repeat,url(bloop-2-desktop.78e763d2152325be5282.svg) no-repeat;background-position:left 1.6rem top 3rem,left -11rem bottom .4rem}}"]}),e})()},55021:function(e,t,n){"use strict";n.d(t,{j:function(){return z}});var i=n(37716),a=n(72349),o=(n(6748),n(26215)),r=n(79765),s=n(46782),l=n(45435),c=n(15257),d=n(43740),u=n(89752),p=n(20483),h=n(30277),m=n(68334),g=n(38583),f=n(30359),y=n(37347),_=n(87020),A=n(40550),v=n(49400),b=n(22741),C=n(38572),w=n(7868),S=n(88229),k=n(797),M=n(19967),P=n(84026),O=n(5282),U=n(23435);const I=["affiliates"],N=function(){return{category:"GA1",label:"PrivacyPolicy",experimentMetric:!0}},T=function(){return{category:"GA1",label:"PrivacyPolicyClose",experimentMetric:!0}},D=function(){return{category:"GA1",label:"TermsOfUseClose",experimentMetric:!0}},x=function(){return{category:"GA1",label:"TermsOfUse",experimentMetric:!0}};function E(e,t){1&e&&(i.TgZ(0,"div",18),i._uU(1,"\n "),i.TgZ(2,"dtm-agreements-info",19),i._uU(3,"\n "),i.qZA(),i._uU(4,"\n "),i.qZA()),2&e&&(i.xp6(2),i.Q6J("privacyAnalytic",i.DdM(5,N))("privacyCloseAnalytic",i.DdM(6,T))("termsCloseAnalytic",i.DdM(7,D))("termsAnalytic",i.DdM(8,x))("statement","I accept the below selected terms and agree to\nDriveTime's"))}const L=function(){return{category:"GA1",label:"Affiliates",experimentMetric:!0}},R=function(){return{category:"GA1",label:"DialerConsent",experimentMetric:!0}},F=function(){return{category:"GA1",label:"AffiliatesClose",experimentMetric:!0}};function V(e,t){if(1&e){const e=i.EpF();i.TgZ(0,"div",20),i._uU(1,"\n "),i.TgZ(2,"span",21),i._uU(3,"\n "),i.TgZ(4,"span"),i._uU(5,"\n You consent to be contacted via telephone, email and texts by DriveTime, its\n "),i.qZA(),i._uU(6,"\n "),i.TgZ(7,"dtm-link-button",22),i.NdJ("click",function(){return i.CHM(e),i.oxw(2).openLegalAffiliatesModal()}),i._uU(8,"\n "),i.TgZ(9,"span",16),i._uU(10,"affiliates,"),i.qZA(),i._uU(11,"\n "),i.qZA(),i._uU(12,"\n "),i.TgZ(13,"span"),i._uU(14,"\n and others offering financing. Standard rates may apply and you can opt out at any time. You also\n agree that we may include your personal information in a communication. You understand that email and\n text are not secure and that a third party may see our correspondence. By communicating with us via\n email or text, you are consenting to that type of contact.\n "),i.qZA(),i._uU(15,"\n "),i.TgZ(16,"div",23),i._uU(17,"\n We may use an automatic dialing system or pre-recorded or artificial voice message to contact you. You\n agree that we may send you a communication at any land line, cell phone, or email address that you\n provide or that is publicly available and associated with you and that you agree we may contact you\n now or in the future.\n "),i.qZA(),i._uU(18,"\n "),i.qZA(),i._uU(19,"\n "),i.TgZ(20,"table"),i._uU(21,"\n "),i.TgZ(22,"tr"),i._uU(23,"\n "),i.TgZ(24,"td",24),i._uU(25,"\n "),i.TgZ(26,"dtm-input-checkbox-refactored",25),i._uU(27,"\n "),i.qZA(),i._uU(28,"\n "),i.qZA(),i._uU(29,"\n "),i.TgZ(30,"td",24),i._uU(31,"I agree to be contacted by others or by automatic dialing system, pre-recorded\n voice message, or automated text message."),i.qZA(),i._uU(32,"\n "),i.qZA(),i._uU(33,"\n "),i.qZA(),i._uU(34,"\n "),i.TgZ(35,"dtm-stylized-modal",26,27),i._uU(37,"\n "),i.TgZ(38,"div",28),i._uU(39,"\n "),i._UZ(40,"dtm-legal-affiliates"),i._uU(41,"\n "),i.qZA(),i._uU(42,"\n "),i.qZA(),i._uU(43,"\n "),i.qZA()}if(2&e){const e=i.oxw(2);i.xp6(7),i.Q6J("analytic",i.DdM(11,L))("linkButtonType",e.LinkButtonTypes.Button)("elementId",e.affiliatesButtonId),i.xp6(19),i.Q6J("checkOnLeft",!0)("required",!1)("checked",e.hasConsented)("analyticCheckedData",i.DdM(12,R))("control",e.group.controls.hasConsented),i.xp6(9),i.Q6J("title","DriveTime's Affiliates")("analyticDataClose",i.DdM(13,F))("focusToElementId",e.affiliatesButtonId)}}function Z(e,t){if(1&e&&(i.TgZ(0,"div",13),i._uU(1,"\n "),i.TgZ(2,"div",6),i._uU(3,"\n "),i.YNc(4,E,5,9,"div",14),i._uU(5,"\n "),i.TgZ(6,"dtm-button",15),i._uU(7,"\n "),i.TgZ(8,"span",16),i._uU(9),i.qZA(),i._uU(10,"\n "),i.qZA(),i._uU(11,"\n\n "),i.YNc(12,V,44,14,"div",17),i._uU(13,"\n "),i._UZ(14,"dtm-ssl-secured"),i._uU(15,"\n "),i.qZA(),i._uU(16,"\n "),i.qZA()),2&e){const e=i.oxw();i.xp6(4),i.Q6J("ngIf",!e.showCombinedDisclaimer),i.xp6(2),i.Q6J("qaid","qa-ga1-submit-button"),i.xp6(3),i.Oqu(e.showCombinedDisclaimer?"One More Step":"Accept and Continue"),i.xp6(3),i.Q6J("ngIf",!e.showCombinedDisclaimer)}}function B(e,t){1&e&&i._UZ(0,"div",29)}const G=function(){return{action:"error",category:"GA1",label:"FirstName"}},q=function(){return{action:"error",category:"GA1",label:"LastName"}},H=function(){return{action:"error",category:"GA1",label:"Phone"}},Q=function(){return{action:"error",category:"GA1",label:"Zip"}};let z=(()=>{class e{constructor(e,t){this._cdRef=e,this._store=t,this.formContainerClasses={},this.handleSubmit=new i.vpe,this.handleStatusChange=new i.vpe,this.checkFormValidation=new i.vpe,this.hasConsented=!0,this.showCombinedDisclaimer$=null,this.showCombinedDisclaimer=!1,this.showSubmitInfo$=new o.X(!1),this.showGa1Ga2Verbiage$=new o.X(!1),this.ga1Ga2VerbiageStyle$=new o.X(u.B6.CONTROL),this.ga1ga2VerbiageStyle=u.B6.CONTROL,this.showHeaderText=!1,this._showHeaderText$=new r.xQ,this._componentUnsubscribe=new r.xQ,this.affiliatesButtonId=a.uR.generateShortUuid(),this.LinkButtonTypes=d.CY,this.headerText="Your terms with no hit to your credit!",this.subHeaderText="Unlock your personalized down <br/> payment and monthly payment <br/> in two clicks.",this.verbiageVariationMap={[u.B6.GA_VARIATION_1]:"Get approved with no hit to your credit!",[u.B6.GA_VARIATION_2]:"Get approved with no hit to your credit!",[u.B6.CONTROL]:"Your terms with no hit to your credit!"},m.U.setItemCreated(this._store,u.iq.GA1)}ngOnInit(){this.determineDisclaimer(),this._showHeaderText$.pipe((0,s.R)(this._componentUnsubscribe)).subscribe(()=>{this.showHeaderText=!0,this._cdRef.detectChanges()}),this._determineVerbiage(),this._determineStyle()}_determineVerbiage(){this.showGa1Ga2Verbiage$.pipe((0,l.h)(p.cmp.isDefinedAndNotNull),(0,c.q)(1)).subscribe(e=>{e||(this.headerText=this.verbiageVariationMap[u.B6.CONTROL],this._showHeaderText$.next(),this._cdRef.detectChanges())})}_determineStyle(){this.ga1Ga2VerbiageStyle$.pipe((0,l.h)(p.cmp.isDefinedAndNotNull),(0,s.R)(this._showHeaderText$),(0,c.q)(1)).subscribe(e=>{this.ga1ga2VerbiageStyle=e,this.headerText=this.verbiageVariationMap[e],this.showHeaderText=!0,this._cdRef.detectChanges()})}determineDisclaimer(){p.cmp.isUndefinedOrNull(this.showCombinedDisclaimer$)?(this.showCombinedDisclaimer=!1,this.showSubmitInfo$.next(!0)):this.showCombinedDisclaimer$.pipe((0,l.h)(p.cmp.isDefinedAndNotNull),(0,c.q)(1)).subscribe(e=>{this.showCombinedDisclaimer=e,this.showSubmitInfo$.next(!0)})}openLegalAffiliatesModal(){this.legalAffiliatesModal.openModal()}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(i.sBO),i.Y36(h.k))},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-ga-one-form"]],viewQuery:function(e,t){if(1&e&&i.Gf(I,5),2&e){let e;i.iGM(e=i.CRH())&&(t.legalAffiliatesModal=e.first)}},inputs:{formContainerClasses:"formContainerClasses",group:"group",hasConsented:"hasConsented",showCombinedDisclaimer$:"showCombinedDisclaimer$",showGa1Ga2Verbiage$:"showGa1Ga2Verbiage$",ga1Ga2VerbiageStyle$:"ga1Ga2VerbiageStyle$"},outputs:{handleSubmit:"handleSubmit",handleStatusChange:"handleStatusChange",checkFormValidation:"checkFormValidation"},decls:38,vars:34,consts:[["role","contentinfo","aria-label","Step 1 Approval Form",1,"ga1-form-container",3,"ngClass"],[1,"ga1-header-outer-container"],[1,"ga1-header-inner-container"],[3,"headerText","subHeaderText","isGA2","showHeaderText"],[3,"activeStepIndex"],["autocomplete","on",3,"allowSubmitWhenInvalid","group","onStatusChange","onSubmit"],[1,"form-container"],["ariaLabel","Enter First Name",3,"qaid","name","validate","analytic-data","controlName"],["ariaLabel","Enter Last Name",3,"qaid","name","validate","analytic-data","controlName"],[3,"qaid","analytic-data","controlName"],[3,"qaid","controlName","analytic-data"],["class","form-submit-outer-container",4,"ngIf"],["class","form-padding",4,"ngIf"],[1,"form-submit-outer-container"],["class","form-terms-header",4,"ngIf"],["buttonClass","rounded-button-green-large","type","submit","ariaLabel","One More Step",3,"qaid"],[1,"text-before"],["class","ga1-privacy-terms-container",4,"ngIf"],[1,"form-terms-header"],[3,"privacyAnalytic","privacyCloseAnalytic","termsCloseAnalytic","termsAnalytic","statement"],[1,"ga1-privacy-terms-container"],["id","ga1-checkbox-description"],["className","frameless-button modal-link","ariaLabel","View DriveTime Affiliates",3,"analytic","linkButtonType","elementId","click"],[1,"ga1-privacy-text"],[1,"td-checkbox"],["qaid","qa-ga1-privacy-checkbox","name","HasConsented","ariaLabel","Click to Select Consent Preferences","ariaDescribedBy","ga1-checkbox-description",3,"checkOnLeft","required","checked","analyticCheckedData","control"],["modalSize","small","ariaLabel","DriveTime's Affiliates",1,"affiliates-modal",3,"title","analyticDataClose","focusToElementId"],["affiliates",""],[1,"modal-content"],[1,"form-padding"]],template:function(e,t){1&e&&(i.TgZ(0,"section",0),i._uU(1,"\n "),i.TgZ(2,"div",1),i._uU(3,"\n "),i.TgZ(4,"div",2),i._uU(5,"\n "),i.TgZ(6,"dtm-ga-common-header",3),i._uU(7,"\n "),i.qZA(),i._uU(8,"\n "),i.qZA(),i._uU(9,"\n "),i._UZ(10,"dtm-ga-stepper",4),i._uU(11,"\n "),i.qZA(),i._uU(12,"\n "),i.TgZ(13,"dtm-form",5),i.NdJ("onStatusChange",function(e){return t.handleStatusChange.emit(e)})("onSubmit",function(){return t.handleSubmit.emit()}),i._uU(14,"\n "),i.TgZ(15,"div",6),i._uU(16,"\n "),i.TgZ(17,"dtm-input-name-field",7),i._uU(18,"\n "),i.qZA(),i._uU(19,"\n "),i.TgZ(20,"dtm-input-name-field",8),i._uU(21,"\n "),i.qZA(),i._uU(22,"\n "),i.TgZ(23,"dtm-input-phone-number",9),i._uU(24,"\n "),i.qZA(),i._uU(25,"\n "),i.TgZ(26,"dtm-input-zip-code",10),i._uU(27,"\n "),i.qZA(),i._uU(28,"\n "),i.qZA(),i._uU(29,"\n "),i.YNc(30,Z,17,4,"div",11),i.ALo(31,"async"),i._uU(32,"\n "),i.YNc(33,B,1,0,"div",12),i.ALo(34,"async"),i._uU(35,"\n "),i.qZA(),i._uU(36,"\n"),i.qZA(),i._uU(37,"\n")),2&e&&(i.Q6J("ngClass",t.formContainerClasses),i.xp6(6),i.Q6J("headerText",t.headerText)("subHeaderText",t.subHeaderText)("isGA2",!1)("showHeaderText",t.showHeaderText),i.xp6(4),i.Q6J("activeStepIndex",0),i.xp6(3),i.Q6J("allowSubmitWhenInvalid",!1)("group",t.group),i.xp6(4),i.Q6J("qaid","qa-ga1-firstname")("name","given-name")("validate","firstName")("analytic-data",i.DdM(30,G))("controlName",t.group.controls.firstName),i.xp6(3),i.Q6J("qaid","qa-ga1-lastname")("name","family-name")("validate","lastName")("analytic-data",i.DdM(31,q))("controlName",t.group.controls.lastName),i.xp6(3),i.Q6J("qaid","qa-ga1-telephone")("analytic-data",i.DdM(32,H))("controlName",t.group.controls.phoneNumber),i.xp6(3),i.Q6J("qaid","qa-ga1-zipcode")("controlName",t.group.controls.zipCode)("analytic-data",i.DdM(33,Q)),i.xp6(4),i.Q6J("ngIf",i.lcZ(31,26,t.showSubmitInfo$)),i.xp6(3),i.Q6J("ngIf",!i.lcZ(34,28,t.showSubmitInfo$)))},directives:[g.mk,f.F,y.f,_.x,A.N,v.x,b.h,g.O5,C.p,w.x,S.k,k.b,M.e,P.Q,O.S,U.E],pipes:[g.Ov],styles:["[_nghost-%COMP%] .form-padding[_ngcontent-%COMP%]{height:2.7rem}[_nghost-%COMP%] .loader[_ngcontent-%COMP%]{height:30rem}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%]{background-color:#fff}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .form-submit-outer-container[_ngcontent-%COMP%]{background-color:transparent}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .ga1-header-outer-container[_ngcontent-%COMP%]{margin:0 auto .89rem;width:100%}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .ga1-header-inner-container[_ngcontent-%COMP%]{margin-bottom:.5rem}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .form-terms-header[_ngcontent-%COMP%]{font-weight:400;color:#4e575e;line-height:1.33}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .ga1-privacy-terms-container[_ngcontent-%COMP%]{margin-bottom:1rem;margin-top:.5rem;line-height:1.33;font-size:2.8vw;color:#4e575e;font-weight:400}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .ga1-privacy-terms-container[_ngcontent-%COMP%] dtm-link-button[_ngcontent-%COMP%] .link-button-inner-content{line-height:.7rem;padding:0;margin:0}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .ga1-privacy-terms-container[_ngcontent-%COMP%] dtm-input-checkbox-refactored[_ngcontent-%COMP%] .checkbox-container{cursor:pointer}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .ga1-privacy-terms-container[_ngcontent-%COMP%] .checkbox-text[_ngcontent-%COMP%]{padding:.1rem}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .ga1-privacy-terms-container[_ngcontent-%COMP%] .ga1-privacy-text[_ngcontent-%COMP%]{padding-top:.3rem;padding-bottom:.3rem;font-size:2.8vw}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .ga1-privacy-terms-container[_ngcontent-%COMP%] .td-checkbox[_ngcontent-%COMP%]{vertical-align:top;padding-top:.2rem}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .modal-background{left:0}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .modal-background .close-line{background:#000000}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .modal-link{cursor:pointer;color:#00abe8}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .affiliates-modal[_ngcontent-%COMP%] .overlay-outer{position:fixed}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .affiliates-modal[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%]{padding:2rem 6vw}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .affiliates-content[_ngcontent-%COMP%]{text-align:justify;color:#8f9aa3;font-size:4vw;line-height:1.4}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .affiliates-disclaimer[_ngcontent-%COMP%]{font-size:2.8vw}@media screen and (min-width: 414px){[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .form-terms-header[_ngcontent-%COMP%]{line-height:1.42}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .ga1-privacy-terms-container[_ngcontent-%COMP%]{font-size:.625rem;line-height:1.42}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .ga1-privacy-terms-container[_ngcontent-%COMP%] .ga1-privacy-text[_ngcontent-%COMP%]{font-size:.625rem}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .affiliates-modal[_ngcontent-%COMP%] .overlay-outer{position:fixed}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .affiliates-modal[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%]{padding:2rem 1rem}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .affiliates-content[_ngcontent-%COMP%]{font-size:.89rem}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .affiliates-disclaimer[_ngcontent-%COMP%]{font-size:.625rem}}@media screen and (min-width: 768px){[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%]{flex:1;width:24.56rem;background-color:#fff;margin:3.334rem auto 2rem;box-shadow:3px 3px .39rem #8f9aa34d;z-index:2;border-radius:.78rem}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .form-container[_ngcontent-%COMP%]{width:83.5%;max-width:24.56rem}[_nghost-%COMP%] .ga1-form-container[_ngcontent-%COMP%] .ga1-header-outer-container[_ngcontent-%COMP%]{max-width:24.56rem}}"]}),e})()},37347:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var i=n(37716),a=n(38583);const o=function(e){return{"inner-step-container-active":e}};function r(e,t){if(1&e&&(i.TgZ(0,"div",2),i._uU(1,"\n "),i.TgZ(2,"div",3),i._uU(3,"\n "),i.TgZ(4,"span",4),i._uU(5),i.qZA(),i._uU(6,"\n "),i.qZA(),i._uU(7,"\n "),i.qZA()),2&e){const e=t.$implicit,n=t.index,a=i.oxw();i.xp6(2),i.Q6J("ngClass",i.VKq(2,o,a.activeStepIndex==n)),i.xp6(3),i.Oqu(e)}}let s=(()=>{class e{constructor(){this.steps=["Step 1","Step 2"]}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-ga-stepper"]],inputs:{activeStepIndex:"activeStepIndex"},decls:4,vars:1,consts:[[1,"stepper-container"],["class","step-container",4,"ngFor","ngForOf"],[1,"step-container"],[1,"inner-step-container",3,"ngClass"],[1,"step-text"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i._uU(1,"\n "),i.YNc(2,r,8,4,"div",1),i._uU(3,"\n"),i.qZA()),2&e&&(i.xp6(2),i.Q6J("ngForOf",t.steps))},directives:[a.sg,a.mk],styles:[".stepper-container[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;width:85%;max-width:304px;margin:0 auto}.stepper-container[_ngcontent-%COMP%] .step-container[_ngcontent-%COMP%]{flex:1}.stepper-container[_ngcontent-%COMP%] .step-container[_ngcontent-%COMP%] .inner-step-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;text-align:center;border-bottom:3px solid #ececec;max-width:148px;margin:0 4px}.stepper-container[_ngcontent-%COMP%] .step-container[_ngcontent-%COMP%] .inner-step-container[_ngcontent-%COMP%] .step-text[_ngcontent-%COMP%]{font-size:3.6vw;color:#8f9aa3;width:100%}.stepper-container[_ngcontent-%COMP%] .step-container[_ngcontent-%COMP%] .inner-step-container-active[_ngcontent-%COMP%]{border-bottom-color:#8f9aa3}@media screen and (min-width: 414px){.stepper-container[_ngcontent-%COMP%] .step-container[_ngcontent-%COMP%] .inner-step-container[_ngcontent-%COMP%] .step-text[_ngcontent-%COMP%]{font-size:.77rem}}"]}),e})()},38784:function(e,t,n){"use strict";n.d(t,{I:function(){return Ne}});var i=n(97582),a=n(37716),o=n(3679),r=n(72349),s=n(6748),l=n(26215),c=n(79765),d=n(43740),u=n(58141),p=n(64161),h=n(91353),m=n(13535),g=n(46782),f=n(45435),y=n(89752),_=n(24014),A=n(20483),v=n(70764),b=n(92547),C=n(96645),w=n(30277),S=n(30359),k=n(37347),M=n(87020),P=n(38583),O=n(80267),U=n(22741),I=n(97519),N=n(19967),T=n(77519),D=n(50187),x=n(38572),E=n(7868),L=n(5282),R=n(25556),F=n(16109),V=n(84941),Z=n(9968),B=n(84026),G=n(48350),q=n(797),H=n(88229);const Q=["legalAgreement"],z=["eConsent"],Y=["inputMonthlyIncome"],$=["inputSsn"],j=["affiliates"],W=["disclaimerScroll"],J=function(){return{action:"error",category:"GA2",label:"Address"}};function X(e,t){if(1&e&&(a._uU(0,"\n "),a.TgZ(1,"dtm-input-address",49),a._uU(2,"\n "),a.qZA(),a._uU(3,"\n ")),2&e){const e=a.oxw();a.xp6(1),a.Q6J("qaid","qa-ga2-address")("required",!0)("controlName",e.group.controls.address.controls.addressLine1)("analytic-data",a.DdM(4,J))}}const K=function(){return{action:"error",category:"GA2",label:"AddressLine1"}};function ee(e,t){if(1&e){const e=a.EpF();a._uU(0,"\n "),a.TgZ(1,"dtm-address-form",50),a.NdJ("onAutocomplete",function(t){return a.CHM(e),a.oxw().setAutocompleteFlag(t)})("onAddressChange",function(t){return a.CHM(e),a.oxw().handleAddressChange.emit(t)}),a._uU(2,"\n "),a.qZA(),a._uU(3,"\n ")}if(2&e){const e=a.oxw();a.xp6(1),a.Q6J("addressGroup",e.group.controls.address)("analytic-data",a.DdM(3,K))("googleAutocompleteVariation",e.googleAutocompleteVariation)}}function te(e,t){if(1&e&&(a.TgZ(0,"dtm-input-desired-down",51,52),a._uU(2,"\n "),a.qZA()),2&e){const e=a.oxw();a.Q6J("qaid","qa-desired-down")("controlName",e.group.controls.desiredDownPayment)("category",e.category)}}const ne=function(){return{category:"GA2",label:"AgreeToTerms",experimentMetric:!0}},ie=function(){return{action:"error",category:"GA2",label:"AgreeToTerms",experimentMetric:!0}},ae=function(e){return{"not-pristine":e}};function oe(e,t){if(1&e){const e=a.EpF();a._uU(0,"\n "),a.TgZ(1,"div",53),a._uU(2,"\n "),a.TgZ(3,"dtm-input-checkbox-refactored",54),a.NdJ("click",function(){return a.CHM(e),a.oxw().pristineStatus()}),a._uU(4,"\n "),a.qZA(),a._uU(5,"\n "),a.TgZ(6,"span",55),a._uU(7,"\n By submitting this form I agree and certify:\n "),a.qZA(),a._uU(8,"\n "),a.TgZ(9,"div",56),a._uU(10,"\n "),a.GkF(11,57),a._uU(12,"\n "),a.qZA(),a._uU(13,"\n "),a.TgZ(14,"div",58),a._uU(15,"\n "),a.TgZ(16,"dtm-form-tooltip",59),a._uU(17,"\n "),a.TgZ(18,"tooltip-text"),a._uU(19),a.qZA(),a._uU(20,"\n "),a.qZA(),a._uU(21,"\n "),a.qZA(),a._uU(22,"\n "),a.qZA(),a._uU(23,"\n ")}if(2&e){const e=a.oxw(),t=a.MAs(166);a.xp6(3),a.Q6J("qaid","qa-ga2-contact-checkbox")("checked",!1)("defaultChecked",!0)("checkOnLeft",!0)("required",!0)("control",e.group.controls.certifyInfoCorrect)("analyticCheckedData",a.DdM(14,ne))("analyticErrorData",a.DdM(15,ie))("errorMessage",e.checkBoxErrorMessage),a.xp6(8),a.Q6J("ngTemplateOutlet",t),a.xp6(3),a.Q6J("ngClass",a.VKq(16,ae,e.isPushed)),a.xp6(2),a.Q6J("hasError",!e.group.controls.certifyInfoCorrect.valid)("showInfo",!1),a.xp6(3),a.hij("\n ",e.checkBoxErrorMessage,"\n ")}}function re(e,t){if(1&e&&(a._uU(0,"\n "),a.TgZ(1,"dtm-disclaimer-scroll",60,61),a._uU(3,"\n "),a.qZA(),a._uU(4,"\n ")),2&e){const e=a.oxw();a.xp6(1),a.Q6J("group",e.group)("pageName",e.pageName)("hasConsented",e.hasConsented)("readDisclaimerRequired",e.readDisclaimerRequired)}}function se(e,t){if(1&e&&(a._uU(0,"\n "),a.TgZ(1,"div"),a._uU(2,"The information is correct and that I am the age of majority in my state. DriveTime will obtain\n a credit report and send me approval confirmation via text. This will not impact my credit. I also\n authorize DriveTime to verify with others any information contained in my application or supporting\n documentation. I understand that my terms may change if the information that I provided cannot be verified or if additional information is received related to my credit, and I\n may not receive an offer until additional verification is provided. "),a.GkF(3,57),a._uU(4,"\n "),a.qZA(),a._uU(5,"\n")),2&e){a.oxw();const e=a.MAs(169);a.xp6(3),a.Q6J("ngTemplateOutlet",e)}}const le=function(){return{category:"GA2",label:"ReadLegalAgreement",experimentMetric:!0}},ce=function(e){return{category:e,label:"PrivacyPolicy",experimentMetric:!0}},de=function(e){return{category:e,label:"PrivacyPolicyClose",experimentMetric:!0}},ue=function(e){return{category:e,label:"TermsOfUseClose",experimentMetric:!0}},pe=function(e){return{category:e,label:"TermsOfUse",experimentMetric:!0}},he=function(){return{category:"GA2",label:"ReadFullEAgreement",experimentMetric:!0}};function me(e,t){if(1&e){const e=a.EpF();a._uU(0,"\n I have read and accept the terms in the\n\n "),a.TgZ(1,"dtm-link-button",62),a.NdJ("click",function(){return a.CHM(e),a.oxw().openLegalModalLegalAgreement()}),a._uU(2,"\n "),a.TgZ(3,"span",31),a._uU(4,"Legal Agreement"),a.qZA(),a.qZA(),a._uU(5,","),a._UZ(6,"dtm-agreements-info",63),a.TgZ(7,"span",64),a._uU(8,"."),a.qZA(),a._uU(9,"\n Website inquiry is a soft pull. To finalize financing, a hard pull is required, which may impact my credit score. Message and data rates may apply. I agree to receive, view and electronically sign records and have\n read and accept the\n "),a.TgZ(10,"dtm-link-button",65),a.NdJ("click",function(){return a.CHM(e),a.oxw().openLegalModalEConsent()}),a._uU(11,"\n "),a.TgZ(12,"span",31),a._uU(13,"Full E-Consent Agreement"),a.qZA(),a._uU(14,"\n "),a.qZA(),a._uU(15,".\n")}if(2&e){const e=a.oxw();a.xp6(1),a.Q6J("analytic",a.DdM(11,le))("elementId",e.legalAgreementButtonId)("linkButtonType",e.LinkButtonTypes.Button),a.xp6(5),a.Q6J("statement","")("privacyAnalytic",a.VKq(12,ce,e.pageName))("privacyCloseAnalytic",a.VKq(14,de,e.pageName+"PrivacyPolicyModal"))("termsCloseAnalytic",a.VKq(16,ue,e.pageName+"TermsOfUseModal"))("termsAnalytic",a.VKq(18,pe,e.pageName)),a.xp6(4),a.Q6J("analytic",a.DdM(20,he))("elementId",e.consentButtonId)("linkButtonType",e.LinkButtonTypes.Button)}}const ge=function(){return{action:"error",category:"GA2",label:"Zip"}},fe=function(){return{action:"selection",category:"GA2",label:"ZipUpdate"}},ye=function(){return{action:"error",category:"GA2",label:"Email"}},_e=function(){return{action:"error",category:"GA2",label:"Income"}},Ae=function(){return{category:"GA2",label:"IncomeTooltipExpand"}},ve=function(){return{category:"GA2",label:"IncomeTooltipCollapse"}},be=function(){return{category:"GA2",label:"DOBTooltipExpand"}},Ce=function(){return{action:"error",category:"GA2",label:"DOBMonth"}},we=function(){return{action:"error",category:"GA2",label:"DOBDay"}},Se=function(){return{action:"error",category:"GA2",label:"DOBYear"}},ke=function(){return{action:"error",category:"GA2",label:"Birthday"}},Me=function(){return{action:"error",category:"GA2",label:"SSN"}},Pe=function(){return{category:"GA2",label:"ReadLegalAgreementClose"}},Oe=function(){return{category:"GA2ReadLegalModal",action:"click",label:"CallCustomerService"}},Ue=function(){return{category:"GA2ReadLegalModal",action:"click",label:"PrivacyPolicy"}},Ie=function(){return{category:"GA2",label:"ReadFullEAgreementClose"}};let Ne=(()=>{class e{constructor(e,t,n){this._linkHelper=e,this._analyticsService=t,this._store=n,this.handleSubmit=new a.vpe,this.handleZipCodeBlur=new a.vpe,this.handleAddressChange=new a.vpe,this.hasConsented=!0,this.pageName="GA2",this.category="GA2",this.showCombinedDisclaimer=!1,this.readDisclaimerRequired=!1,this.ga1Ga2VerbiageStyle$=new l.X(y.B6.CONTROL),this.googleAutocompleteVariation="control",this.isPushed=!1,this._componentUnsubscribe=new c.xQ,this._monthlyIncomeTooltipExpanded=!1,this._ssnTooltipExpanded=!1,this.isAutocomplete=!1,this.privacyPolicyLink=this._linkHelper.privacyPolicyLink(),this.LinkButtonTypes=d.CY,this.consentButtonId=r.uR.generateShortUuid(),this.legalAgreementButtonId=r.uR.generateShortUuid(),this.progressBarTab="2. Financing Info",this.checkBoxErrorMessage="Please check the box above to accept our terms and certify you understand in order to proceed to your approval.",this.headerText="Next up: Your terms with <br/> no credit impact.",this.verbiageVariationMap={[y.B6.GA_VARIATION_1]:"Next up: Your approval with no credit impact.",[y.B6.GA_VARIATION_2]:"Next up: Start shopping with your personalized terms.",[y.B6.CONTROL]:"Next up: Your terms with <br/> no credit impact."}}ngOnInit(){return(0,i.mG)(this,void 0,void 0,function*(){this.ga1Ga2VerbiageStyle$.pipe((0,g.R)(this._componentUnsubscribe),(0,f.h)(A.cmp.isDefinedAndNotNull)).subscribe(e=>{this.headerText=this.verbiageVariationMap[e||y.B6.CONTROL]}),this._store.select(b.Z8.get(C.j.GetApproved.ShowDesiredDownInput)).pipe((0,g.R)(this._componentUnsubscribe),(0,f.h)(e=>!!e)).subscribe(()=>{this.group.addControl("desiredDownPayment",new o.NI(""))})})}pristineStatus(){this.isPushed=!0,A.cmp.isDefinedAndNotNull(this._disclaimerScroll)&&this._disclaimerScroll.removePristineStatus()}hideVisibleTooltips(){this._tooltips.filter(e=>e.showMessage).forEach(e=>e.toggleShowHide())}openLegalModalLegalAgreement(){this.legalModalLegalAgreement.openModal()}openLegalModalEConsent(){this.legalModalEConsent.openModal()}monthlyIncomeTooltipExpand(){this._monthlyIncomeTooltipExpanded=!0,this._ssnTooltipExpanded&&this._inputSsn.handleTooltipToggle()}monthlyIncomeTooltipCollapse(){this._monthlyIncomeTooltipExpanded=!1}ssnTooltipExpand(){this._ssnTooltipExpanded=!0,this._monthlyIncomeTooltipExpanded&&this._monthlyIncome.handleTooltipToggle()}ssnTooltipCollapse(){this._ssnTooltipExpanded=!1}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}setAutocompleteFlag(e){this.isAutocomplete=e}submit(){this.handleSubmit.emit(),A.cmp.isDefinedAndNotNull(this.group.value.address.addressLine2)&&this.group.value.address.addressLine2.length>0&&this._analyticsService.logAnalytic({category:this.pageName,label:"AddressLine2Entered",action:"click"}),this._analyticsService.logAnalytic(this.isAutocomplete?{category:this.pageName,label:"AddressEntered",value:"Autocomplete: TRUE",action:"click"}:{category:this.pageName,label:"AddressEntered",value:"Manual: TRUE",action:"click"}),this._logDesiredDownAnalytics()}_logDesiredDownAnalytics(){if(A.cmp.isNotEmpty(this.group.value.desiredDownPayment)){let e=A.StringUtils.unmaskNumberString(this.group.value.desiredDownPayment);this._analyticsService.logAnalytic({category:this.category,label:"CustomerCashDown",action:"input",value:e})}}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(m.R),a.Y36(v.g),a.Y36(w.k))},e.\u0275cmp=a.Xpm({type:e,selectors:[["dtm-ga-two-form"]],viewQuery:function(e,t){if(1&e&&(a.Gf(Q,5),a.Gf(z,5),a.Gf(Y,5),a.Gf($,5),a.Gf(j,5),a.Gf(W,5),a.Gf(u.m,5)),2&e){let e;a.iGM(e=a.CRH())&&(t.legalModalLegalAgreement=e.first),a.iGM(e=a.CRH())&&(t.legalModalEConsent=e.first),a.iGM(e=a.CRH())&&(t._monthlyIncome=e.first),a.iGM(e=a.CRH())&&(t._inputSsn=e.first),a.iGM(e=a.CRH())&&(t.legalAffiliatesModal=e.first),a.iGM(e=a.CRH())&&(t._disclaimerScroll=e.first),a.iGM(e=a.CRH())&&(t._tooltips=e)}},inputs:{group:"group",hasConsented:"hasConsented",pageName:"pageName",category:"category",showCombinedDisclaimer:"showCombinedDisclaimer",readDisclaimerRequired:"readDisclaimerRequired",ga1Ga2VerbiageStyle$:"ga1Ga2VerbiageStyle$",googleAutocompleteVariation:"googleAutocompleteVariation"},outputs:{handleSubmit:"handleSubmit",handleZipCodeBlur:"handleZipCodeBlur",handleAddressChange:"handleAddressChange"},decls:171,vars:72,consts:[["role","contentinfo","aria-label","Step 2 Approval Form",1,"ga2-form-container"],[1,"ga2-header-outer-container"],[1,"ga2-header-inner-container"],[3,"headerText","isGA2"],[3,"activeStepIndex"],["autocomplete","on",3,"allowSubmitWhenInvalid","group","onSubmit"],[1,"form-container"],[1,"home-street-address-slot"],[3,"ngIf","ngIfElse"],["addressFormVariations",""],[1,"ga2-city-zip-container"],[1,"ga2-city-state-input"],["aria-hidden","true",3,"qaid","controlName"],[1,"ga2-zip-input"],[3,"qaid","controlName","analytic-data","analyticDataChanged","onBlur"],["ariaLabel","Enter Email",3,"qaid","isRequired","controlName","analytic-data"],[3,"qaid","controlName","analytic-data","analyticDataExpandTooltip","analyticDataCollapseTooltip","tooltipInputLabel","tooltipExpandEvent","tooltipCollapseEvent"],["inputMonthlyIncome",""],[3,"qaid","controlName","category",4,"ngIf"],[1,"dob-outer-container"],[1,"dob-header"],[1,"tool-tip-container"],[3,"analytic","position","touchmove"],["includeSVG","dt-glyph-info",1,"price-info-icon"],["id","dob-tooltip",1,"message"],["qaidMonth","qa-ga2-birth-date-month","qaidDay","qa-ga2-birth-date-day","qaidYear","qa-ga2-birth-date-year",3,"isRequired","mmAnalyticData","ddAnalyticData","yyyyAnalyticData","fullDateAnalyticData","mmControlName","ddControlName","yyyyControlName"],[3,"qaid","controlName","analytic-data","tooltipInputLabel","hasInfo","showInfo"],["inputSsn",""],[1,"form-submit-outer-container"],["combinedDisclaimer",""],["buttonClass","rounded-button-green-large","type","submit","ariaLabel","Submit for Financing Approval",3,"qaid","click"],[1,"text-before"],["modalSize","small","ariaLabel","View DriveTime Legal Agreement",3,"analyticDataClose","title","focusToElementId","isFixed"],["legalAgreement",""],[1,"modal-content"],[1,"content-modal-content"],[1,"modal-content-container"],[1,"modal-title"],[1,"terms-list"],[1,"list-term"],["href","tel:+18884181212",3,"analytic"],[1,"final-paragraph"],[3,"href","targetedLink","analytic"],["modalSize","large","ariaLabel","View DriveTime E-Consent Agreement",3,"analyticDataClose","title","buttonText","focusToElementId"],["eConsent",""],[1,"modal-body"],[3,"showTitle"],["softPullApprovedDisclaimer",""],["disclaimerLegalAgreement",""],[3,"qaid","required","controlName","analytic-data"],[3,"addressGroup","analytic-data","googleAutocompleteVariation","onAutocomplete","onAddressChange"],[3,"qaid","controlName","category"],["inputDesiredDown",""],[1,"ga2-terms-container"],["name","Contact policy","ariaLabel","Provide Legal Certification and Consent to Pull Credit","ariaDescribedBy","ga2-checkbox-description",3,"qaid","checked","defaultChecked","checkOnLeft","required","control","analyticCheckedData","analyticErrorData","errorMessage","click"],["id","ga2-checkbox-description",1,"checkbox-text"],["data-cy","ga2-disclaimer",1,"exp-text"],[3,"ngTemplateOutlet"],[1,"checkbox-tooltip",3,"ngClass"],["className","checkbox-tooltip text-size-tiny",3,"hasError","showInfo"],[3,"group","pageName","hasConsented","readDisclaimerRequired"],["disclaimerScroll",""],["className","frameless-button ga2-terms-link","ariaLabel","View DriveTime Legal Agreement",3,"analytic","elementId","linkButtonType","click"],[3,"statement","privacyAnalytic","privacyCloseAnalytic","termsCloseAnalytic","termsAnalytic"],[1,"remove-space-inline"],["className","frameless-button ga2-terms-link","ariaLabel","View DriveTime E-Consent Agreement",3,"analytic","elementId","linkButtonType","click"]],template:function(e,t){if(1&e&&(a.TgZ(0,"section",0),a._uU(1,"\n "),a.TgZ(2,"div",1),a._uU(3,"\n "),a.TgZ(4,"div",2),a._uU(5,"\n "),a.TgZ(6,"dtm-ga-common-header",3),a._uU(7,"\n "),a.qZA(),a._uU(8,"\n "),a.qZA(),a._uU(9,"\n "),a._UZ(10,"dtm-ga-stepper",4),a._uU(11,"\n "),a.qZA(),a._uU(12,"\n "),a.TgZ(13,"dtm-form",5),a.NdJ("onSubmit",function(){return t.submit()}),a._uU(14,"\n "),a.TgZ(15,"div",6),a._uU(16,"\n "),a._uU(17,"\n "),a.TgZ(18,"div",7),a._uU(19,"\n "),a.YNc(20,X,4,5,"ng-template",8),a._uU(21,"\n "),a.YNc(22,ee,4,4,"ng-template",null,9,a.W1O),a._uU(24,"\n "),a.qZA(),a._uU(25,"\n "),a.TgZ(26,"div",10),a._uU(27,"\n "),a.TgZ(28,"div",11),a._uU(29,"\n "),a.TgZ(30,"dtm-readonly-city-state",12),a._uU(31,"\n "),a.qZA(),a._uU(32,"\n "),a.qZA(),a._uU(33,"\n "),a.TgZ(34,"div",13),a._uU(35,"\n "),a.TgZ(36,"dtm-input-zip-code",14),a.NdJ("onBlur",function(){return t.handleZipCodeBlur.emit()}),a._uU(37,"\n "),a.qZA(),a._uU(38,"\n "),a.qZA(),a._uU(39,"\n "),a.qZA(),a._uU(40,"\n "),a.TgZ(41,"dtm-input-email",15),a._uU(42,"\n "),a.qZA(),a._uU(43,"\n "),a.TgZ(44,"dtm-input-monthly-income",16,17),a.NdJ("tooltipExpandEvent",function(){return t.monthlyIncomeTooltipExpand()})("tooltipCollapseEvent",function(){return t.monthlyIncomeTooltipCollapse()}),a._uU(46,"\n "),a.qZA(),a._uU(47,"\n\n "),a._uU(48,"\n "),a.YNc(49,te,3,3,"dtm-input-desired-down",18),a._uU(50,"\n "),a._uU(51,"\n\n "),a.TgZ(52,"div",19),a._uU(53,"\n "),a.TgZ(54,"span",20),a._uU(55,"Date of Birth"),a.qZA(),a._uU(56,"\n "),a.TgZ(57,"div",21),a._uU(58,"\n "),a.TgZ(59,"dtm-tooltip",22),a.NdJ("touchmove",function(){return t.hideVisibleTooltips()}),a._uU(60,"\n "),a._UZ(61,"span",23),a._uU(62,"\n "),a.TgZ(63,"span",24),a._uU(64,"\n Applicants must be 18 years or older to apply online. Call us for more details.\n "),a.qZA(),a._uU(65,"\n "),a.qZA(),a._uU(66,"\n "),a.qZA(),a._uU(67,"\n "),a.TgZ(68,"dtm-input-dob",25),a._uU(69,"\n "),a.qZA(),a._uU(70,"\n "),a.qZA(),a._uU(71,"\n "),a.TgZ(72,"dtm-input-ssn",26,27),a._uU(74,"\n "),a.qZA(),a._uU(75,"\n "),a.qZA(),a._uU(76,"\n "),a.TgZ(77,"div",28),a._uU(78,"\n "),a.TgZ(79,"div",6),a._uU(80,"\n "),a.YNc(81,oe,24,18,"ng-template",8),a._uU(82,"\n "),a.YNc(83,re,5,4,"ng-template",null,29,a.W1O),a._uU(85,"\n "),a.TgZ(86,"dtm-button",30),a.NdJ("click",function(){return t.pristineStatus()}),a._uU(87,"\n "),a.TgZ(88,"span",31),a._uU(89,"\n Accept and See Terms"),a.qZA(),a._uU(90,"\n "),a.qZA(),a._uU(91,"\n "),a._UZ(92,"dtm-ssl-secured"),a._uU(93,"\n "),a.qZA(),a._uU(94,"\n "),a.qZA(),a._uU(95,"\n "),a.qZA(),a._uU(96,"\n"),a.qZA(),a._uU(97,"\n"),a.TgZ(98,"dtm-stylized-modal",32,33),a._uU(100,"\n "),a.TgZ(101,"div",34),a._uU(102,"\n "),a.TgZ(103,"div",35),a._uU(104,"\n "),a.TgZ(105,"div",36),a._uU(106,"\n "),a.TgZ(107,"span",37),a._uU(108,"\n Approval Information\n "),a.qZA(),a._uU(109,"\n "),a.TgZ(110,"p"),a._uU(111,"\n By clicking the 'Submit' button:\n "),a.qZA(),a._uU(112,"\n "),a.TgZ(113,"ul",38),a._uU(114,"\n "),a.TgZ(115,"li",39),a._uU(116,"\n You certify that the information you provided is complete and correct.\n "),a.qZA(),a._uU(117,"\n "),a.TgZ(118,"li",39),a._uU(119,"\n You authorize DriveTime to investigate your credit, including obtaining credit or similar\n reports from one or more consumer credit reporting agencies. Upon request, you will be\n informed of the name and address of the consumer reporting agency that furnished the report.\n "),a.qZA(),a._uU(120,"\n "),a.TgZ(121,"li",39),a._uU(122,"\n You understand you must complete the credit application process at a DriveTime dealership.\n "),a.qZA(),a._uU(123,"\n "),a.TgZ(124,"li",39),a._uU(125,"\n "),a.TgZ(126,"span"),a._uU(127,"\n If you have any questions, you may call us at.\n "),a.qZA(),a._uU(128,"\n "),a.TgZ(129,"a",40),a._uU(130,"\n 888-418-1212\n "),a.qZA(),a._uU(131,"\n "),a.qZA(),a._uU(132,"\n "),a.TgZ(133,"li",39),a._uU(134,"\n You consent to be contacted by DriveTime and other third parties via telephone, email and\n texts. Standard rates may apply and you can opt out at any time. We may use an automatic\n dialing system or pre-recorded voice message to contact you.\n "),a.qZA(),a._uU(135,"\n "),a.qZA(),a._uU(136,"\n "),a.TgZ(137,"p",41),a._uU(138,"\n "),a.TgZ(139,"span"),a._uU(140,"\n More information about how we may communicate with and about you, including your right to\n Opt\n Out of e-mail at any time, is available in our\n "),a.qZA(),a._uU(141,"\n "),a.TgZ(142,"a",42),a._uU(143,"\n "),a.TgZ(144,"span"),a._uU(145,"\n Privacy Policy.\n "),a.qZA(),a._uU(146,"\n "),a.qZA(),a._uU(147,"\n "),a.TgZ(148,"span"),a._uU(149,"\n Thank you for trusting DriveTime to meet your vehicle and financing needs!\n "),a.qZA(),a._uU(150,"\n "),a.qZA(),a._uU(151,"\n "),a.qZA(),a._uU(152,"\n "),a.qZA(),a._uU(153,"\n "),a.qZA(),a._uU(154,"\n"),a.qZA(),a._uU(155,"\n"),a.TgZ(156,"dtm-legal-modal",43,44),a._uU(158,"\n "),a.TgZ(159,"div",45),a._uU(160,"\n "),a._UZ(161,"dtm-e-consent",46),a._uU(162,"\n "),a.qZA(),a._uU(163,"\n"),a.qZA(),a._uU(164,"\n\n"),a.YNc(165,se,6,1,"ng-template",null,47,a.W1O),a._uU(167,"\n\n"),a.YNc(168,me,16,21,"ng-template",null,48,a.W1O),a._uU(170,"\n\n")),2&e){const e=a.MAs(23),n=a.MAs(84);a.xp6(6),a.Q6J("headerText",t.headerText)("isGA2",!0),a.xp6(4),a.Q6J("activeStepIndex",1),a.xp6(3),a.Q6J("allowSubmitWhenInvalid",!1)("group",t.group),a.xp6(7),a.Q6J("ngIf","control"===t.googleAutocompleteVariation)("ngIfElse",e),a.xp6(10),a.Q6J("qaid","locality")("controlName",t.group.controls.cityState),a.xp6(6),a.Q6J("qaid","qa-ga2-zipcode")("controlName",t.group.controls.zipCode)("analytic-data",a.DdM(56,ge))("analyticDataChanged",a.DdM(57,fe)),a.xp6(5),a.Q6J("qaid","qa-ga2-email")("isRequired",!0)("controlName",t.group.controls.email)("analytic-data",a.DdM(58,ye)),a.xp6(3),a.Q6J("qaid","qa-ga2-monthly-income")("controlName",t.group.controls.monthlyIncome)("analytic-data",a.DdM(59,_e))("analyticDataExpandTooltip",a.DdM(60,Ae))("analyticDataCollapseTooltip",a.DdM(61,ve))("tooltipInputLabel","Please enter your total income before taxes and deductions (must be greater than $0). Only include additional sources of income like child support, retirement, disability, social security, and military benefits if you wish to have them considered for financing."),a.xp6(5),a.Q6J("ngIf",t.group.controls.desiredDownPayment),a.xp6(10),a.Q6J("analytic",a.DdM(62,be))("position","bottom"),a.xp6(9),a.Q6J("isRequired",!0)("mmAnalyticData",a.DdM(63,Ce))("ddAnalyticData",a.DdM(64,we))("yyyyAnalyticData",a.DdM(65,Se))("fullDateAnalyticData",a.DdM(66,ke))("mmControlName",t.group.controls.birthDateMonth)("ddControlName",t.group.controls.birthDateDay)("yyyyControlName",t.group.controls.birthDateYear),a.xp6(4),a.Q6J("qaid","qa-ga2-social-security")("controlName",t.group.controls.socialSec)("analytic-data",a.DdM(67,Me))("tooltipInputLabel","This helps us verify your identity, but don\u2019t worry, it won\u2019t affect your credit.")("hasInfo",!1)("showInfo",!0),a.xp6(9),a.Q6J("ngIf",!t.showCombinedDisclaimer)("ngIfElse",n),a.xp6(5),a.Q6J("qaid","qa-ga2-submit-button"),a.xp6(12),a.Q6J("analyticDataClose",a.DdM(68,Pe))("title","Read Legal Agreement")("focusToElementId",t.legalAgreementButtonId)("isFixed",!0),a.xp6(31),a.Q6J("analytic",a.DdM(69,Oe)),a.xp6(13),a.Q6J("href",t.privacyPolicyLink,a.LSH)("targetedLink",t.privacyPolicyLink)("analytic",a.DdM(70,Ue)),a.xp6(14),a.Q6J("analyticDataClose",a.DdM(71,Ie))("title","Consent to use Electronic Signatures and Records")("buttonText","Ok")("focusToElementId",t.consentButtonId),a.xp6(5),a.Q6J("showTitle",!1)}},directives:[S.F,k.f,M.x,P.O5,O.z,U.h,I.p,p.d,u.m,N.e,T.pw,D.W,h.w,x.p,E.x,L.S,T.AK,s.s,R.S,F.U,V.Z,Z.h,B.Q,P.tP,P.mk,G.L,_.m,q.b,H.k],styles:["[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%]{background-color:#fff}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .tool-tip-container[_ngcontent-%COMP%]{display:inline-block}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .tool-tip-container[_ngcontent-%COMP%] .tool-tip-bottom{left:calc(50% - 34vw);top:calc(100% + .9375rem)}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .ga2-header-outer-container[_ngcontent-%COMP%]{margin:0 auto .89rem;width:100%}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .ga2-header-inner-container[_ngcontent-%COMP%]{margin-bottom:.5rem}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .dt-glyph-info[_ngcontent-%COMP%]{width:3.8vw;fill:#8f9aa3;vertical-align:text-top;display:inline-block}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .dob-header[_ngcontent-%COMP%]{font-size:4.8vw;color:#8f9aa3}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .dob-outer-container[_ngcontent-%COMP%]{margin:.7rem 0}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .ga2-step[_ngcontent-%COMP%]{color:#8f9aa3}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .ga2-city-zip-container[_ngcontent-%COMP%]{display:flex}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .ga2-city-zip-container[_ngcontent-%COMP%] .ga2-city-state-input[_ngcontent-%COMP%]{flex:7;margin-right:2px}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .ga2-city-zip-container[_ngcontent-%COMP%] .ga2-city-state-input[_ngcontent-%COMP%] .input-field{color:#8f9aa3}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .ga2-city-zip-container[_ngcontent-%COMP%] .ga2-zip-input[_ngcontent-%COMP%]{flex:4}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .form-submit-outer-container[_ngcontent-%COMP%]{background-color:transparent}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .form-submit-outer-container[_ngcontent-%COMP%] .ga2-terms-container[_ngcontent-%COMP%]{margin-bottom:.5rem;line-height:1.33;font-size:2.8vw;font-weight:400;color:#4e575e}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .form-submit-outer-container[_ngcontent-%COMP%] .ga2-terms-container[_ngcontent-%COMP%] dtm-link-button[_ngcontent-%COMP%]{display:inline-block}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .form-submit-outer-container[_ngcontent-%COMP%] .ga2-terms-container[_ngcontent-%COMP%] dtm-link-button[_ngcontent-%COMP%] .link-button-inner-content{line-height:.7rem;padding:0;margin:0}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .form-submit-outer-container[_ngcontent-%COMP%] .ga2-terms-container[_ngcontent-%COMP%] dtm-link-button[_ngcontent-%COMP%] button{margin-right:0}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .form-submit-outer-container[_ngcontent-%COMP%] .ga2-terms-container[_ngcontent-%COMP%] .ga2-terms-link{color:#00abe8;cursor:pointer}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .form-submit-outer-container[_ngcontent-%COMP%] .ga2-terms-container[_ngcontent-%COMP%] dtm-agreements-info .statement{white-space:normal}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .form-submit-outer-container[_ngcontent-%COMP%] .ga2-terms-container[_ngcontent-%COMP%] dtm-agreements-info .modal-link{cursor:pointer;color:#00abe8}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .form-submit-outer-container[_ngcontent-%COMP%] .ga2-terms-container[_ngcontent-%COMP%] .remove-space-inline[_ngcontent-%COMP%]{margin-left:-.15rem}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .form-submit-outer-container[_ngcontent-%COMP%] .ga2-terms-container[_ngcontent-%COMP%] .checkbox-tooltip[_ngcontent-%COMP%]{max-height:0;overflow:hidden;transition:max-height .5s ease .5s}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .form-submit-outer-container[_ngcontent-%COMP%] .ga2-terms-container[_ngcontent-%COMP%] .not-pristine[_ngcontent-%COMP%]{max-height:30rem}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .form-submit-outer-container[_ngcontent-%COMP%] .red-border[_ngcontent-%COMP%]{border:1px solid #f74e50}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .modal-background{left:0}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .modal-background .close-line{background:#000000}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .modal-content-container[_ngcontent-%COMP%]{background:#ffffff;font-size:3.6vw;text-align:justify;color:#8f9aa3;line-height:1.4}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .modal-content-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{display:block;font-size:4.4vw;text-align:center;font-weight:600}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .modal-content-container[_ngcontent-%COMP%] .terms-list[_ngcontent-%COMP%]{margin:0;padding:0 0 0 5vw}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .modal-content-container[_ngcontent-%COMP%] .terms-list[_ngcontent-%COMP%] .list-term[_ngcontent-%COMP%]{margin-bottom:.5rem}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .modal-content-container[_ngcontent-%COMP%] .confirm-button[_ngcontent-%COMP%]{border-radius:6px;color:#fff;padding:.5rem;text-align:center;width:100%;background:#b5e9d4;font-size:4.8vw}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .modal-content-container[_ngcontent-%COMP%] .final-paragraph[_ngcontent-%COMP%]{text-align:center}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .ga2-privacy-terms-container[_ngcontent-%COMP%]{margin-bottom:1rem;margin-top:.5rem;line-height:3.5vw;font-size:2.8vw}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .ga2-privacy-terms-container[_ngcontent-%COMP%] .modal-link[_ngcontent-%COMP%]{cursor:pointer;color:#075078}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .ga2-privacy-terms-container[_ngcontent-%COMP%] dtm-input-checkbox-refactored[_ngcontent-%COMP%] .checkbox-container{cursor:pointer;padding-left:0;text-align:left}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .ga2-privacy-terms-container[_ngcontent-%COMP%] dtm-input-checkbox-refactored[_ngcontent-%COMP%] .check-right{margin-left:0}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .checkbox-text[_ngcontent-%COMP%]{padding:.1rem}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .exp-text[_ngcontent-%COMP%]{padding-top:.5rem;padding-bottom:.5rem}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .exp-text[_ngcontent-%COMP%] .soft-pull-disclaimer[_ngcontent-%COMP%]{margin-top:MIN(2.67vw,1rem)}[_nghost-%COMP%] .modal-content[_ngcontent-%COMP%]{padding:2rem 6vw}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%]{background:#ffffff;font-size:3.6vw;text-align:justify;color:#8f9aa3;line-height:1.2rem}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{display:block;font-size:4.4vw;text-align:center;font-weight:600}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%] .terms-list[_ngcontent-%COMP%]{margin:0;padding:0 0 0 5vw}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%] .terms-list[_ngcontent-%COMP%] .list-term[_ngcontent-%COMP%]{margin-bottom:.5rem}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%] .confirm-button[_ngcontent-%COMP%]{border-radius:6px;color:#fff;padding:.5rem;text-align:center;width:100%;background:#b5e9d4;font-size:4.8vw}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%] .final-paragraph[_ngcontent-%COMP%]{text-align:center}@media screen and (min-width: 414px){[_nghost-%COMP%] .modal-content[_ngcontent-%COMP%]{padding:2rem 1rem}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%]{font-size:.77rem}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%] .modal-title[_ngcontent-%COMP%]{font-size:1rem}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%] .terms-list[_ngcontent-%COMP%]{padding-left:1rem}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%] .confirm-button[_ngcontent-%COMP%]{font-size:.77rem}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .dob-header[_ngcontent-%COMP%]{font-size:1rem}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .tool-tip-container[_ngcontent-%COMP%] .tool-tip-bottom{left:calc(50% - 7rem)}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .dt-glyph-info[_ngcontent-%COMP%]{width:.9rem;height:.9rem}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .form-submit-outer-container[_ngcontent-%COMP%] .ga2-terms-container[_ngcontent-%COMP%]{font-size:.625rem;line-height:1.42;margin-bottom:.5rem}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .ga2-privacy-terms-container[_ngcontent-%COMP%]{font-size:.625rem;line-height:.7rem}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .affiliates-content[_ngcontent-%COMP%]{font-size:.89rem}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .affiliates-disclaimer[_ngcontent-%COMP%]{font-size:.77rem}}@media screen and (min-width: 768px){[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%]{flex:1;max-width:442px;margin:3.334rem auto 2rem;background:#ffffff;box-shadow:3px 3px 7px #8f9aa34d;z-index:2;border-radius:14px}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .form-container[_ngcontent-%COMP%]{width:83.5%;max-width:442px}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .ga2-header-outer-container[_ngcontent-%COMP%]{max-width:442px}[_nghost-%COMP%] .ga2-form-container[_ngcontent-%COMP%] .dob-outer-container[_ngcontent-%COMP%] .tool-tip-container[_ngcontent-%COMP%] .tool-tip-bottom{width:14rem}}"]}),e})()},16682:function(e,t,n){"use strict";n.d(t,{a:function(){return l}});var i=n(37716),a=n(22745),o=n(19967),r=n(77519);const s=["*"];let l=(()=>{class e{constructor(){this.analyticData={}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-icon-link"]],inputs:{className:"className",linkUrl:"linkUrl",iconSrc:"iconSrc",qaid:"qaid",analyticData:["analytic-data","analyticData"]},ngContentSelectors:s,decls:10,vars:8,consts:[[3,"dtmRouterLink","analytic"],[1,"icon-link-img",3,"includeSVG"],[1,"icon-link-text"]],template:function(e,t){1&e&&(i.F$t(),i.TgZ(0,"a",0),i._uU(1,"\n "),i._UZ(2,"span",1),i._uU(3,"\n "),i.TgZ(4,"span",2),i._uU(5,"\n "),i.Hsn(6),i._uU(7,"\n "),i.qZA(),i._uU(8,"\n\n"),i.qZA(),i._uU(9,"\n")),2&e&&(i.Gre("icon-link ",t.className,""),i.Q6J("dtmRouterLink",t.linkUrl)("analytic",t.analyticData),i.uIk("qaid",t.qaid)("data-cy",t.qaid),i.xp6(2),i.Q6J("includeSVG",t.iconSrc))},directives:[a.b,o.e,r.pw],styles:[".icon-link-img[_ngcontent-%COMP%]{width:5vw;height:1.6rem;fill:#fff;margin-right:1vw;display:inline-block;vertical-align:middle}.icon-link[_ngcontent-%COMP%]{font-size:4vw;text-decoration:none;width:100%;display:inline-block}.icon-link-text[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}.nav-link[_ngcontent-%COMP%]{color:#fff}@media screen and (min-width: 414px){.icon-link-img[_ngcontent-%COMP%]{width:1rem;margin-right:.2rem}.icon-link[_ngcontent-%COMP%]{font-size:.9rem}}"]}),e})()},23435:function(e,t,n){"use strict";n.d(t,{E:function(){return a}});var i=n(37716);let a=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-legal-affiliates"]],decls:36,vars:0,consts:[[1,"affiliates-container"],[1,"affiliates-text"],[1,"affiliates-disclaimer"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i._uU(1,"\n "),i.TgZ(2,"div",1),i._uU(3,"\n Parties associated with DriveTime include, but are not limited to:\n "),i.TgZ(4,"ul"),i._uU(5,"\n "),i.TgZ(6,"li"),i._uU(7,"\n DriveTime Automotive Group, Inc.\n "),i.qZA(),i._uU(8,"\n "),i.TgZ(9,"li"),i._uU(10,"\n DriveTime Sales and Finance Company, LLC\n "),i.qZA(),i._uU(11,"\n "),i.TgZ(12,"li"),i._uU(13,"\n DriveTime Car Sales Company. LLC\n "),i.qZA(),i._uU(14,"\n "),i.TgZ(15,"li"),i._uU(16,"\n Bridgecrest Acceptance Corporation\n "),i.qZA(),i._uU(17,"\n "),i.TgZ(18,"li"),i._uU(19,"\n Bridgecrest Credit Company, LLC\n "),i.qZA(),i._uU(20,"\n "),i.TgZ(21,"li"),i._uU(22,"\n SilverRock Group, Inc.\n "),i.qZA(),i._uU(23,"\n "),i.TgZ(24,"li"),i._uU(25,"\n SilverRock Automotive, Inc.\n "),i.qZA(),i._uU(26,"\n "),i.TgZ(27,"li"),i._uU(28,"\n SilverRock Automotive of Florida, Inc.\n "),i.qZA(),i._uU(29,"\n "),i.qZA(),i._uU(30,"\n "),i.qZA(),i._uU(31,"\n "),i.TgZ(32,"span",2),i._uU(33,"\n *This list is subject to change at any time.\n "),i.qZA(),i._uU(34,"\n"),i.qZA(),i._uU(35,"\n"))},styles:["[_nghost-%COMP%] .affiliates-container[_ngcontent-%COMP%]{color:#8f9aa3;padding-bottom:1rem;line-height:1.4}[_nghost-%COMP%] .affiliates-container[_ngcontent-%COMP%] .affiliates-text[_ngcontent-%COMP%]{text-align:justify;font-size:3.6vw}[_nghost-%COMP%] .affiliates-container[_ngcontent-%COMP%] .affiliates-disclaimer[_ngcontent-%COMP%]{font-style:italic;font-size:2.8vw}@media screen and (min-width: 414px){[_nghost-%COMP%] .affiliates-container[_ngcontent-%COMP%] .affiliates-text[_ngcontent-%COMP%]{font-size:.77rem}[_nghost-%COMP%] .affiliates-container[_ngcontent-%COMP%] .affiliates-disclaimer[_ngcontent-%COMP%]{font-size:.625rem}}"]}),e})()},24777:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var i=n(37716);let a=(()=>{class e{constructor(){this.showTitle=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-downpayment-content"]],inputs:{showTitle:"showTitle"},decls:9,vars:0,consts:[[1,"title"],[1,"body-content"],[1,"disclaimer-content"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i._uU(1,"\n\tOur down payments are $1,000 less on average!*\n"),i.qZA(),i._uU(2,"\n"),i.TgZ(3,"div",1),i._uU(4,"\n\tFind out your real down payment online in minutes before you even go into the dealership.\n"),i.qZA(),i._uU(5,"\n"),i.TgZ(6,"div",2),i._uU(7,"\n\t*Average savings based on the difference between DriveTime's average required down payment and average market down payments (from a leading auto research company) for all financed 2023 vehicle sales nationwide.\n"),i.qZA(),i._uU(8,"\n"))},styles:["[_nghost-%COMP%] .title[_ngcontent-%COMP%]{font-weight:800;padding-bottom:.5rem;font-size:4.4vw;color:#4e575e}[_nghost-%COMP%] .body-content[_ngcontent-%COMP%]{font-size:3.6vw;color:#8f9aa3;padding-bottom:1rem}[_nghost-%COMP%] .disclaimer-content[_ngcontent-%COMP%]{color:#8f9aa3;font-size:2.8vw}@media screen and (min-width: 414px){[_nghost-%COMP%] .title[_ngcontent-%COMP%]{font-size:1rem}[_nghost-%COMP%] .body-content[_ngcontent-%COMP%]{font-size:.77rem}[_nghost-%COMP%] .disclaimer-content[_ngcontent-%COMP%]{font-size:.625rem}}"]}),e})()},25556:function(e,t,n){"use strict";n.d(t,{S:function(){return r}});var i=n(37716),a=n(38583);function o(e,t){1&e&&(i.TgZ(0,"div",5),i._uU(1,"\n\t\t\tCONSENT TO USE ELECTRONIC SIGNATURES AND RECORDS\n\t\t"),i.qZA())}let r=(()=>{class e{constructor(){this.showTitle=!0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-e-consent"]],inputs:{showTitle:"showTitle"},decls:48,vars:1,consts:[[1,"econ-container"],[1,"econ-inner-container"],["class","econ-header",4,"ngIf"],[1,"econ-text"],[1,"text-paragraph"],[1,"econ-header"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i._uU(1,"\n\t"),i.TgZ(2,"div",1),i._uU(3,"\n\t\t"),i.YNc(4,o,2,0,"div",2),i._uU(5,"\n\t\t"),i.TgZ(6,"div",3),i._uU(7,"\n\t\t\t"),i.TgZ(8,"div",4),i._uU(9,"\n 1. DEFINITIONS. \u201cWe,\u201d \u201cus,\u201d \u201cour\u201d and \u201cDriveTime\u201d means DriveTime Car Sales Company, LLC d/b/a DriveTime, DT Acceptance Corporation and DT Credit Company, LLC and their successors, and assigns. "),i._UZ(10,"br"),i._UZ(11,"br"),i._uU(12," \u201cYou\u201d and \u201cyour\u201d means the person giving this consent. "),i._UZ(13,"br"),i._UZ(14,"br"),i._uU(15," \u201cRecords\u201d means all documents related to the credit application you are submitting for the sale and financing, or leasing, of a used motor vehicle from DriveTime, including the consumer disclosures we are required by law to provide to you in writing associated with your credit application.\n "),i.qZA(),i._uU(16,"\n\t\t\t"),i.TgZ(17,"div",4),i._uU(18,"\n 2. SCOPE OF CONSENT. By giving your consent, you agree to submit your credit application to DriveTime using your computer or device, and to receive, view and electronically sign Records. You agree that such electronic signatures will consist of clicking on buttons and/or checking boxes where indicated. You also consent to the use of Records displayed on the computer or device you are using, as well as any Records that we send to you electronically. If you have given us an email address, we may provide Records to you electronically by emailing them to you at that email address, which may include the Records as attachments or as embedded links. Your consent will be effective unless you withdraw it in the manner provided below.\n "),i.qZA(),i._uU(19,"\n\t\t\t"),i.TgZ(20,"div",4),i._uU(21,"\n 3. HOW TO UPDATE YOUR CONTACT INFORMATION. You agree to provide us with your accurate personal contact information and to promptly notify us of any changes. If you have a working email address, your personal contact information must include that email address. You can update your contact information (including your email address, if applicable) by contacting us at 1-800-967-8526. If you have given us an email address, but email is undeliverable to that email address for three consecutive months, your consent will be considered withdrawn and we will send you future Records in writing.\n "),i.qZA(),i._uU(22,"\n\t\t\t"),i.TgZ(23,"div",4),i._uU(24,"\n 4. OBTAINING PAPER COPIES. You can print copies of the Records from your computer if you are using your computer for this transaction. If you have a working email address, you can also obtain a free paper copy of any Record by choosing to have your Records emailed to you, where you can view and print your Records using your computer, or by contacting us at 1-800-967-8526 to request that a free paper copy be mailed to you. The request for a paper copy of a Record will not by itself constitute a withdrawal of your consent to receive Records electronically. We reserve the right, but are not required, to send a paper copy of any Record you authorize us to provide electronically.\n "),i.qZA(),i._uU(25,"\n\t\t\t"),i.TgZ(26,"div",4),i._uU(27,"\n 5. WITHDRAWING CONSENT. If you do not consent to the use of electronic signatures and Records, you can submit a credit application by visiting one of our locations and using paper documents. If you withdraw your consent before completing and submitting your application, you will not be able to submit your credit application electronically. After you have submitted your credit application, you may at any time withdraw your consent to receive Records electronically, and instead elect at any time to use the U.S. Postal Service to obtain Records, by contacting us at 1-800-967-8526 to update your profile information.\n "),i.qZA(),i._uU(28,"\n\t\t\t"),i.TgZ(29,"div",4),i._uU(30,"\n 6. HARDWARE AND SOFTWARE REQUIREMENTS. To use electronic signatures and Records you need to have a computer or a mobile device that supports the use of Microsoft Internet Explorer 7.0 or higher, Mozilla Firefox 3.5 or higher, Chrome, Safari 5.0 or higher, or an equivalent. You also need hardware as necessary to support this software, including, without limitation, a computer or mobile device using a Windows 98, NT, 2000, ME XP, Vista or 7 operating system that supports 128-bit encryption, sufficient storage space to save copies of your Records, a modem with internet access, a working email account and a printer if you wish to print paper copies. If we ever change the hardware or software requirements for using Records and signatures, we will send you notice of the revised requirements to the email address that you gave us.\n "),i.qZA(),i._uU(31,"\n\t\t\t"),i.TgZ(32,"div",4),i._uU(33,"\n By submitting the online approval form, you agree that:"),i.TgZ(34,"ul"),i.TgZ(35,"li"),i._uU(36,"You have read this consent"),i.qZA(),i.TgZ(37,"li"),i._uU(38,"You will use electronic signatures and Records using your computer or mobile device"),i.qZA(),i.TgZ(39,"li"),i._uU(40,"You have the necessary hardware and software to view, sign and print copies of Records and additional communications online and to receive Records and communications that we send to you by email, and"),i.qZA(),i.TgZ(41,"li"),i._uU(42,"Your consent applies to every Record that we may send you related to your credit application unless you revoke your consent."),i.qZA(),i.qZA(),i._uU(43,"\n "),i.qZA(),i._uU(44,"\n\t\t"),i.qZA(),i._uU(45,"\n\t"),i.qZA(),i._uU(46,"\n"),i.qZA(),i._uU(47,"\n")),2&e&&(i.xp6(4),i.Q6J("ngIf",t.showTitle))},directives:[a.O5],styles:[".econ-container[_ngcontent-%COMP%]{color:#4e575e;margin:1rem auto;width:100%}.econ-container[_ngcontent-%COMP%] .econ-inner-container[_ngcontent-%COMP%] .econ-header[_ngcontent-%COMP%]{display:block;line-height:1.8rem;font-size:4.4vw;text-align:center;font-weight:600}.econ-container[_ngcontent-%COMP%] .econ-inner-container[_ngcontent-%COMP%] .econ-text[_ngcontent-%COMP%]{padding-top:1rem;text-align:justify;color:#8f9aa3;font-size:3.6vw;line-height:1.4}.econ-container[_ngcontent-%COMP%] .econ-inner-container[_ngcontent-%COMP%] .econ-text[_ngcontent-%COMP%] .text-paragraph[_ngcontent-%COMP%]{margin-bottom:1.5rem}@media screen and (min-width: 414px){.econ-container[_ngcontent-%COMP%] .econ-inner-container[_ngcontent-%COMP%] .econ-header[_ngcontent-%COMP%]{font-size:1rem}.econ-container[_ngcontent-%COMP%] .econ-inner-container[_ngcontent-%COMP%] .econ-text[_ngcontent-%COMP%]{font-size:.77rem}}"]}),e})()},95744:function(e,t,n){"use strict";n.d(t,{H:function(){return y}});var i=n(13535),a=n(37716),o=n(38583),r=n(63204),s=n(19967);function l(e,t){1&e&&(a.TgZ(0,"div",5),a._uU(1,"Our Privacy Policy"),a.qZA())}const c=function(e){return{category:e,action:"click",label:"TermsOfUse"}},d=function(e){return{category:e,action:"click",label:"GA1CTA"}},u=function(e){return{category:e,action:"click",label:"CookiePolicy"}},p=function(e){return{category:e,action:"click",label:"CADisclaimer"}},h=function(e){return{category:e,action:"click",label:"IDTheft"}},m=function(e){return{category:e,action:"click",label:"FinancialPrivacyPolicyFlyer"}},g=function(e){return{category:e,action:"click",label:"CAPrivacyNotice"}},f=function(e){return{category:e,action:"click",label:"SMSPrivacyPolicy"}};let y=(()=>{class e{constructor(e){this._linkHelper=e,this.showTitle=!0,this.analyticCategoryName="PrivacyPolicy",this.termsOfUseLink=this._linkHelper.termsOfUseLink(),this.autoFinancingLink=this._linkHelper.getApproved1GenericPage(),this.autoFinancingLinkDisplay=this._linkHelper.getApproved1GenericPage({useHost:!0}),this.identityTheftPhone=this._linkHelper.identityTheftPhone(),this.identityTheftLink=this._linkHelper.identityTheftLink(),this.privacyPolicyEmail=this._linkHelper.privacyPolicyEmail(),this.privacyPolicyFlyer=this._linkHelper.privacyPolicyFlyer(),this.supplementCalPrivacyNotice=this._linkHelper.supplementCalPrivacyNotice(),this.privacyPolicyTerms=this._linkHelper.privacyPolicyTerms(),this.cookiePolicyLink=this._linkHelper.cookiePolicyLink(),this.caPrivacyLink=this._linkHelper.caDisclaimerLink(),this.smsPrivacyPolicyFragment=this._linkHelper.smsPrivacyPolicyFragment()}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(i.R))},e.\u0275cmp=a.Xpm({type:e,selectors:[["dtm-legal-privacy-policy"]],inputs:{showTitle:"showTitle",analyticCategoryName:"analyticCategoryName",openByModal:"openByModal",internalRoute:"internalRoute"},decls:227,vars:68,consts:[[1,"privacy-policy-container"],[1,"privacy-inner-container"],["class","privacy-header",4,"ngIf"],[1,"privacy-text"],["text","click here.",3,"linkUrl","openNewTab","internalRoute","analytic","qaid"],[1,"privacy-header"],[1,"bullet-text"],[3,"text","linkUrl","openNewTab","internalRoute","analytic","qaid"],[1,"sub-header"],["text","Cookie Policy.",3,"linkUrl","openNewTab","internalRoute","analytic","qaid"],["text","California Rights and Disclosures.",3,"linkUrl","openNewTab","internalRoute","analytic","qaid"],["text","1-877-438-4338",3,"linkUrl","openNewTab","internalRoute"],["qaid","qa-privacy-policy-identity-theft-link",3,"text","linkUrl","openNewTab","internalRoute","analytic","qaid"],[1,"privacy-policy-left-align"],[3,"text","linkUrl","openNewTab","internalRoute","qaid"],[1,"bullet-list"],["text","Financial Privacy Policy Flyer",3,"linkUrl","openNewTab","internalRoute","analytic","qaid"],["text","California Privacy Notice",3,"linkUrl","openNewTab","internalRoute","analytic","qaid"],["text","SMS Terms and Conditions",3,"linkUrl","openNewTab","internalRoute","fragment","analytic","qaid"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a._uU(1,"\n "),a.TgZ(2,"div",1),a._uU(3,"\n "),a._uU(4,"\n "),a.YNc(5,l,2,0,"div",2),a._uU(6,"\n "),a.TgZ(7,"div",3),a._uU(8,"\n "),a.TgZ(9,"p"),a._uU(10,"We respect and value your privacy. The purpose of this policy is to provide you with a comprehensive\n description of our practices in the collection, use, and disclosure of your personal information in connection\n with your use of our website(s), microsite(s), mobile website(s), and mobile applications (\u201cSites\u201d) and\n information we collect from you or third parties through any other means to provide our services or perform\n other business activities (\u201cServices\u201d). In this policy, the terms \u201cDriveTime,\u201d \u201ccompany,\u201d \u201dus,\u201d \u201cwe,\u201d and \u201cour\u201d\n refer to DriveTime Automotive Group, its subsidiaries, and affiliates. By using the Sites and/or Services, you\n agree to the terms of this privacy policy. For other terms and conditions of using this site,\n "),a._UZ(11,"dtm-link",4),a._uU(12,"\n "),a.qZA(),a._uU(13,"\n "),a.qZA(),a._uU(14,"\n\n "),a._uU(15,"\n "),a.TgZ(16,"div",5),a._uU(17,"Information Collection"),a.qZA(),a._uU(18,"\n "),a.TgZ(19,"div",3),a._uU(20,"\n "),a.TgZ(21,"span"),a._uU(22,"We collect information that personally identifies, relates to, describes, or is capable of being associated\n with you (\u201cPersonal Information\u201d), including:"),a.qZA(),a._uU(23,"\n "),a.TgZ(24,"ul",6),a._uU(25,"\n "),a.TgZ(26,"li"),a._uU(27,"Personal identifiers such as name, social security number, date of birth, telephone number, physical\n address, and email address;"),a.qZA(),a._uU(28,"\n "),a.TgZ(29,"li"),a._uU(30,"Professional or employment information;"),a.qZA(),a._uU(31,"\n "),a.TgZ(32,"li"),a._uU(33,"Commercial or financial information such as your loan details, payment history, and bank account number;\n "),a.qZA(),a._uU(34,"\n "),a.TgZ(35,"li"),a._uU(36,"Geolocation data such as geographic location indicators obtained when you interact with our Sites; and"),a.qZA(),a._uU(37,"\n "),a.TgZ(38,"li"),a._uU(39,"Internet & network information including make, model, settings, and specification of the device, geographic\n location, as well as the date/time stamp, IP address, pages visited, time of visits, content viewed, ads\n viewed, the site(s), application(s), destination(s), or service(s) you arrived from, and other clickstream\n data."),a.qZA(),a._uU(40,"\n "),a.qZA(),a._uU(41,"\n "),a.TgZ(42,"span"),a._uU(43,"We collect this information from the following sources:"),a.qZA(),a._uU(44,"\n "),a.TgZ(45,"ul",6),a._uU(46,"\n "),a.TgZ(47,"li"),a._uU(48,"Consumer-reporting agencies; and"),a.qZA(),a._uU(49,"\n "),a.TgZ(50,"li"),a._uU(51,"Our affiliates and business partners"),a.qZA(),a._uU(52,"\n "),a.TgZ(53,"li"),a._uU(54,"From you, including via the credit application page located at\n "),a.TgZ(55,"dtm-link",7),a._uU(56,"\n "),a.qZA(),a._uU(57,".\n "),a.qZA(),a._uU(58,"\n "),a.qZA(),a._uU(59,"\n "),a.TgZ(60,"div",8),a._uU(61,"Voluntary Disclosure"),a.qZA(),a._uU(62,"\n "),a.TgZ(63,"p",3),a._uU(64,"We may ask you to provide us with Personal Information when you communicate with us\n (online or offline), purchase a vehicle from us, apply for a loan or credit, purchase a vehicle service contract\n from us, participate in consumer surveys, sweepstakes or contests, and at other times. You are not required to\n provide us your Personal Information; however, if you choose not to provide the requested information, you may\n not be able to use some or all of the features of the Sites or Services, or we may not be able to fulfill your\n requested interaction."),a.qZA(),a._uU(65,"\n "),a.TgZ(66,"div",8),a._uU(67,"Third-Party Data Sources"),a.qZA(),a._uU(68,"\n "),a.TgZ(69,"p",3),a._uU(70,"We may collect Personal Information from third-party data sources such as data brokerages,\n insurance companies, consumer reporting agencies, marketing/advertising agencies, analytics firms,\n telecommunications providers, and government agencies."),a.qZA(),a._uU(71,"\n "),a.TgZ(72,"div",8),a._uU(73,"Third-Parties that Collect Information on our Sites"),a.qZA(),a._uU(74,"\n "),a.TgZ(75,"p",3),a._uU(76,"If you choose to access, visit, or use any third party service(s), that may be integrated\n with or linked to DriveTime\u2019s website, we may receive personal information about you and your computer or other\n devices made available to those Services, including information about your contacts on those services. Your\n decision to use third party services in connection with DriveTime is voluntary. DriveTime does not operate the\n third party services or links and is not responsible for the privacy protection or content outside of the\n DriveTime website. Any Personal Information obtained by DriveTime from these third party service(s) will be\n governed by this privacy policy."),a.qZA(),a._uU(77,"\n "),a.qZA(),a._uU(78,"\n\n "),a._uU(79,"\n "),a.TgZ(80,"div",5),a._uU(81,"Information Use"),a.qZA(),a._uU(82,"\n "),a.TgZ(83,"div",3),a._uU(84,"\n "),a.TgZ(85,"p"),a._uU(86,"We use personal information you supply to provide you with information or Services you have requested. We may\n also use the information to communicate with you about our current products and services, our new features,\n products, or services, or to improve the services that we offer by tailoring them to your needs. We may also use\n this information to respond to governmental or other legal requests and we may otherwise share the information\n with our affiliates for any of these purposes."),a.qZA(),a._uU(87,"\n "),a.TgZ(88,"p"),a._uU(89,"We may also use the information we collect about you, your computer, or other device for any lawful business\n purpose, including without limitation, to help diagnose problems with our servers, to gather broad demographic\n information, analyze trends, track users\u2019 movements around the website, and to otherwise administer the website,\n including to increase and enhance the security of our Sites."),a.qZA(),a._uU(90,"\n "),a.TgZ(91,"p"),a._uU(92,"We and our service providers use analytics to analyze traffic to this website in order to help us better\n understand our customers\u2019 and visitors\u2019 experience. We may also use local device storage and tracking\n technologies, including cookies, to customize, evaluate, and improve our services. For more information about\n how we use cookies and similar technologies please see our\n "),a.TgZ(93,"dtm-link",9),a._uU(94,"\n "),a.qZA(),a._uU(95,"\n "),a.qZA(),a._uU(96,"\n "),a.qZA(),a._uU(97,"\n\n\n\n "),a._uU(98,"\n "),a.TgZ(99,"div",5),a._uU(100,"Information Sharing"),a.qZA(),a._uU(101,"\n "),a.TgZ(102,"div",3),a._uU(103,"\n "),a.TgZ(104,"p"),a._uU(105,"We may share information about you, your computer, or other device, with our parent, subsidiaries, and\n affiliates. We may also share your information with unaffiliated parties so that we may conduct our business,\n and so we, or the unaffiliated parties, may offer you products and services. There are also times when you may\n provide information about yourself to us in areas that may be managed or participated in by third parties. In\n such cases, the information may be used by us and such third parties, each pursuant to its own policies. While\n we may seek to require such third parties to follow appropriate privacy policies and will not authorize them to\n use this information except for the express purpose for which it is provided, we are not responsible for any\n actions or policies of third parties."),a.qZA(),a._uU(106,"\n "),a.TgZ(107,"p"),a._uU(108,"We may, disclose certain information to government agencies, consumer-reporting agencies, and other outside\n parties as permitted or required by the Federal Privacy Act and other applicable laws, for example, to cooperate\n with governmental, law enforcement, or other investigation(s) or legal proceedings. We reserve the right to use,\n sell, transfer, and share data about our users for any lawful business purpose."),a.qZA(),a._uU(109,"\n "),a.qZA(),a._uU(110,"\n\n\n "),a._uU(111,"\n "),a.TgZ(112,"div",5),a._uU(113,"Transfer of Information"),a.qZA(),a._uU(114,"\n "),a.TgZ(115,"div",3),a._uU(116,"\n "),a.TgZ(117,"p"),a._uU(118,"Your information may be transferred to and maintained on servers and databases located outside of your State,\n province or other governmental jurisdiction where the privacy laws may by different and may not be as protective\n as your jurisdiction. We may transfer your information to and from any state, province or other governmental\n jurisdiction, and process it in the United States or elsewhere. We may transfer any information we have about\n you in connection with a change in corporate control, including but not limited to a merger or sale (including\n transfers made as part of insolvency or bankruptcy proceedings) involving all or part of DriveTime or as part of\n a corporate reorganization or stock sale. Your consent to this privacy policy followed by your submission of\n such information represents your agreement to any such transfer."),a.qZA(),a._uU(119,"\n "),a.qZA(),a._uU(120,"\n\n\n\n "),a._uU(121,"\n "),a.TgZ(122,"div",5),a._uU(123,"Information Security"),a.qZA(),a._uU(124,"\n "),a.TgZ(125,"div",3),a._uU(126,"\n "),a.TgZ(127,"p"),a._uU(128,"DriveTime uses reasonable security standards to secure your information. Because no data transmission is\n completely secure, and no system of physical or electronic security is impenetrable, however, we cannot\n guarantee the security of the information you send to us or the security of our servers, networks or databases.\n "),a.qZA(),a._uU(129,"\n "),a.qZA(),a._uU(130,"\n\n\n\n "),a._uU(131,"\n "),a.TgZ(132,"div",5),a._uU(133,"Kids and Parents"),a.qZA(),a._uU(134,"\n "),a.TgZ(135,"div",3),a._uU(136,"\n "),a.TgZ(137,"p"),a._uU(138,"Our website is intended for users who are 16 years or older. We do not knowingly collect information from\n children under 16 years old. If you are a parent or legal guardian and think your child under 16 has given us\n information, you can call us at (800) 967-8854 or email us at CustomerRelations@Bridgecrest.com. If we learn\n that we have collected the information of a child under 16, we will delete such information from our records.\n "),a.qZA(),a._uU(139,"\n "),a.qZA(),a._uU(140,"\n\n "),a._uU(141,"\n "),a.TgZ(142,"div",5),a._uU(143,"California Privacy Rights"),a.qZA(),a._uU(144,"\n "),a.TgZ(145,"div",3),a._uU(146,"\n "),a.TgZ(147,"p"),a._uU(148,"If you are a California resident, you may have additional privacy rights. For a complete discussion of such\n rights, please see our\n "),a._UZ(149,"dtm-link",10),a._uU(150,"\n "),a.qZA(),a._uU(151,"\n "),a.qZA(),a._uU(152,"\n\n\n "),a._uU(153,"\n "),a.TgZ(154,"div",5),a._uU(155,"Assistance to Victim of Identity Theft"),a.qZA(),a._uU(156,"\n "),a.TgZ(157,"div",3),a._uU(158,"\n "),a.TgZ(159,"p"),a._uU(160,"\n "),a.TgZ(161,"span"),a._uU(162,"\n If you suspect that someone has had unauthorized access to your account with us or access to your personally\n identifiable\n information, you should report this crime to your local law enforcement agency and to the Federal Trade\n Commission (FTC). To speak\n with a trained FTC telephone counselor, call toll-free 1-877-IDTheft (\n "),a.qZA(),a._uU(163,"\n "),a.TgZ(164,"dtm-link",11),a._uU(165,"\n "),a.qZA(),a._uU(166,"\n "),a.TgZ(167,"span"),a._uU(168,"\n ). Or, to enter information about your complaint into a secure FTC online database, visit\n "),a._UZ(169,"dtm-link",12),a._uU(170,".\n The site also provides links to consumer education materials.\n "),a.qZA(),a._uU(171,"\n "),a.qZA(),a._uU(172,"\n "),a.qZA(),a._uU(173,"\n\n\n\n "),a._uU(174,"\n "),a.TgZ(175,"div",5),a._uU(176,"Notification of Changes"),a.qZA(),a._uU(177,"\n "),a.TgZ(178,"div",3),a._uU(179,"\n "),a.TgZ(180,"p"),a._uU(181,"These practices and policies are subject to change, but we will communicate any material changes to you. The\n practices and policies in this disclosure replace all previous privacy notices or statements of DriveTime."),a.qZA(),a._uU(182,"\n "),a.qZA(),a._uU(183,"\n\n\n\n "),a._uU(184,"\n "),a.TgZ(185,"div",5),a._uU(186,"Contacting the Web Site and the Privacy Policy Coordinator"),a.qZA(),a._uU(187,"\n "),a.TgZ(188,"div",3),a._uU(189,"\n "),a.TgZ(190,"p",13),a._uU(191,"\n Compliance Team, 1720 West Rio Salado Parkway, Tempe, AZ, 85281 or "),a._UZ(192,"dtm-link",14),a._uU(193,". Make sure to\n include enough\n information so that we can help you, such as your name, contact information, and the specific website mobile\n site, application,\n and/or other service you are contacting us about.\n "),a.qZA(),a._uU(194,"\n "),a.TgZ(195,"p"),a._uU(196,"If you don\u2019t agree to the terms contained in this privacy policy, you must immediately exit the website."),a.qZA(),a._uU(197,"\n "),a.qZA(),a._uU(198,"\n\n\n\n "),a._uU(199,"\n "),a.TgZ(200,"div",5),a._uU(201,"Downloadable Privacy Documents"),a.qZA(),a._uU(202,"\n "),a.TgZ(203,"div",3),a._uU(204,"\n "),a.TgZ(205,"ul",15),a._uU(206,"\n "),a.TgZ(207,"li"),a._uU(208,"\n "),a.TgZ(209,"dtm-link",16),a._uU(210,"\n "),a.qZA(),a._uU(211,"\n "),a.qZA(),a._uU(212,"\n "),a.TgZ(213,"li"),a._uU(214,"\n "),a._UZ(215,"dtm-link",17),a._uU(216,"\n "),a.qZA(),a._uU(217,"\n "),a.TgZ(218,"li"),a._uU(219,"\n "),a._UZ(220,"dtm-link",18),a._uU(221,"\n "),a.qZA(),a._uU(222,"\n "),a.qZA(),a._uU(223,"\n "),a.qZA(),a._uU(224,"\n "),a.qZA(),a._uU(225,"\n"),a.qZA(),a._uU(226,"\n")),2&e&&(a.xp6(5),a.Q6J("ngIf",t.showTitle),a.xp6(6),a.Q6J("linkUrl",t.termsOfUseLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",a.VKq(52,c,t.analyticCategoryName))("qaid","privacy-terms-of-use-link"),a.xp6(44),a.Q6J("text",t.autoFinancingLinkDisplay)("linkUrl",t.autoFinancingLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",a.VKq(54,d,t.analyticCategoryName))("qaid","privacy-auto-financing-link"),a.xp6(38),a.Q6J("linkUrl",t.cookiePolicyLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",a.VKq(56,u,t.analyticCategoryName))("qaid","privacy-cookie-policy-link"),a.xp6(56),a.Q6J("linkUrl",t.caPrivacyLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",a.VKq(58,p,t.analyticCategoryName))("qaid","privacy-ca-disclaimer-link"),a.xp6(15),a.Q6J("linkUrl",t.identityTheftPhone)("openNewTab",!0)("internalRoute",!1),a.xp6(5),a.Q6J("text",t.identityTheftLink)("linkUrl",t.identityTheftLink)("openNewTab",!0)("internalRoute",!1)("analytic",a.VKq(60,h,t.analyticCategoryName))("qaid","privacy-identity-theft-link"),a.xp6(23),a.MGl("linkUrl","mailto:",t.privacyPolicyEmail,""),a.Q6J("text",t.privacyPolicyEmail)("openNewTab",!0)("internalRoute",!1)("qaid","privacy-contact-us-email-link"),a.xp6(17),a.Q6J("linkUrl",t.privacyPolicyFlyer)("openNewTab",!0)("internalRoute",!1)("analytic",a.VKq(62,m,t.analyticCategoryName))("qaid","privacy-documents-financial-link"),a.xp6(6),a.Q6J("linkUrl",t.supplementCalPrivacyNotice)("openNewTab",!0)("internalRoute",!1)("analytic",a.VKq(64,g,t.analyticCategoryName))("qaid","privacy-documents-california-link"),a.xp6(5),a.Q6J("linkUrl",t.privacyPolicyTerms)("openNewTab",t.openByModal)("internalRoute",!0)("fragment",t.smsPrivacyPolicyFragment)("analytic",a.VKq(66,f,t.analyticCategoryName))("qaid","privacy-documents-sms-tc-link"))},directives:[o.O5,r.c,s.e],styles:["[_nghost-%COMP%] .privacy-policy-container[_ngcontent-%COMP%]{color:#4e575e;margin:1rem auto}[_nghost-%COMP%] .privacy-policy-container[_ngcontent-%COMP%] .privacy-header[_ngcontent-%COMP%]{display:block;font-size:4.4vw;text-align:center;font-weight:800}[_nghost-%COMP%] .privacy-policy-container[_ngcontent-%COMP%] .sub-header[_ngcontent-%COMP%]{font-weight:800}[_nghost-%COMP%] .privacy-policy-container[_ngcontent-%COMP%] .privacy-text[_ngcontent-%COMP%]{text-align:justify;color:#8f9aa3;font-size:3.6vw;line-height:1.4}[_nghost-%COMP%] .privacy-policy-container[_ngcontent-%COMP%] .privacy-text[_ngcontent-%COMP%] .privacy-policy-left-align[_ngcontent-%COMP%]{text-align:left}[_nghost-%COMP%] .privacy-policy-container[_ngcontent-%COMP%] .bullet-text[_ngcontent-%COMP%]{text-align:left}[_nghost-%COMP%] .privacy-policy-container[_ngcontent-%COMP%] .bullet-list[_ngcontent-%COMP%]{padding-left:4vw}@media screen and (min-width: 414px){[_nghost-%COMP%] .privacy-policy-container[_ngcontent-%COMP%] .privacy-header[_ngcontent-%COMP%]{font-size:1rem}[_nghost-%COMP%] .privacy-policy-container[_ngcontent-%COMP%] .privacy-text[_ngcontent-%COMP%]{font-size:.77rem}[_nghost-%COMP%] .privacy-policy-container[_ngcontent-%COMP%] .bullet-list[_ngcontent-%COMP%]{padding-left:1rem}}"]}),e})()},89333:function(e,t,n){"use strict";n.d(t,{$:function(){return A}});var i=n(13535),a=n(38583),o=n(20483),r=n(37716),s=n(2694),l=n(63204),c=n(19967);function d(e,t){1&e&&(r.TgZ(0,"div",25),r._uU(1,"Terms of Use"),r.qZA())}const u=function(e,t){return{category:e,action:"click",label:t}},p=function(e){return{category:e,action:"click",label:"InternetCrimeComplaintCenter"}},h=function(e){return{category:e,action:"click",label:"ic3govLink"}},m=function(e){return{category:e,action:"click",label:"FBI"}},g=function(e){return{category:e,action:"click",label:"NationalWhiteCollarCrimeCenter"}},f=function(e){return{category:e,action:"click",label:"BureauOfJusticeAssistance"}},y=function(e){return{category:e,action:"click",label:"DataOne"}},_=function(e){return{category:e,action:"click",label:"ContactUs"}};let A=(()=>{class e{constructor(e,t,n){this._linkHelper=e,this.document=t,this.activatedRoute=n,this.showTitle=!0,this.analyticCategoryName="TermsOfUse",this.privacyPolicyLink=this._linkHelper.privacyPolicyLink(),this.contactUsLink=this._linkHelper.contactUsLink(),this.webFeedBackEmailLink=this._linkHelper.webFeedBackEmailLink(),this.ic3GovLink=this._linkHelper.ic3GovLink(),this.fbiWebLink=this._linkHelper.fbiWebLink(),this.nw3cWebLink=this._linkHelper.nw3cWebLink(),this.bjaWebLink=this._linkHelper.bjaWebLink(),this.dataOneSoftwareWebLink=this._linkHelper.dataOneSoftwareWebLink(),this.homeOfficeGoogleMapsLink=this._linkHelper.homeOfficeGoogleMapsLink(),this.legalEmailLink=this._linkHelper.legalEmailLink(),this.customerServiceEmailLink=this._linkHelper.customerServiceEmailLink(),this.customerServicePhoneLink=this._linkHelper.customerServicePhoneLink(),this.aaaGoogleMapsLink=this._linkHelper.aaaGoogleMapsLink(),this.aaaWebLink=this._linkHelper.aaaWebLink(),this.aaaPhoneLink=this._linkHelper.aaaPhoneLink(),this.jamsGoogleMapsLink=this._linkHelper.jamsGoogleMapsLink(),this.jamsWebLink=this._linkHelper.jamsWebLink(),this.jamsPhoneLink=this._linkHelper.jamsPhoneLink(),this.privacyPolicyLabel="PrivacyPolicy"}ngAfterViewInit(){o.cmp.isDefinedAndNotNull(this.activatedRoute)&&o.cmp.isDefinedAndNotNull(this.activatedRoute.fragment)&&(this.subscription=this.activatedRoute.fragment.subscribe(e=>{const t=this.document.querySelector("#"+e);e&&t?t.scrollIntoView():window.scrollTo(0,0)}))}ngOnDestroy(){o.cmp.isDefinedAndNotNull(this.subscription)&&this.subscription.unsubscribe()}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(i.R),r.Y36(a.K0),r.Y36(s.gz))},e.\u0275cmp=r.Xpm({type:e,selectors:[["dtm-legal-terms-of-use"]],inputs:{showTitle:"showTitle",analyticCategoryName:"analyticCategoryName",openByModal:"openByModal",internalRoute:"internalRoute"},decls:531,vars:168,consts:[[1,"tou-container"],["class","tou-header",4,"ngIf"],[1,"tou-text"],[1,"tou-section-title"],["text","Privacy Policy",3,"linkUrl","openNewTab","internalRoute","analytic"],["text","Privacy Policy.",3,"linkUrl","openNewTab","internalRoute","analytic"],[1,"bold-text"],["text","webfeedback@drivetime.com",3,"linkUrl","openNewTab","internalRoute"],["text","Internet Crime Complaint Center",3,"linkUrl","openNewTab","internalRoute","analytic"],["text","www.ic3.gov",3,"linkUrl","openNewTab","internalRoute","analytic"],["text","federal bureau of investigation",3,"linkUrl","openNewTab","internalRoute","analytic"],["text","national white collar crime center",3,"linkUrl","openNewTab","internalRoute","analytic"],["text","bureau of justice assistance",3,"linkUrl","openNewTab","internalRoute","analytic"],["text","DataOne Software",3,"linkUrl","openNewTab","analytic","internalRoute"],["src","https://az528617.vo.msecnd.net/webimages/dataone_logo.png","alt","DataOne Software Logo"],[1,"tou-left-align"],["text","1720 W. Rio Salado Pkwy., Tempe, AZ 85281",3,"linkUrl","openNewTab","internalRoute"],["text","legal@drivetime.com",3,"linkUrl","openNewTab","internalRoute"],["text","Contact Us",3,"linkUrl","openNewTab","internalRoute","analytic"],["text","customerservice@drivetime.com",3,"linkUrl","openNewTab","internalRoute"],["id","sms-terms-and-conditions"],["text","1-800-583-4984",3,"linkUrl","openNewTab","internalRoute"],["linkClass","address-link","text","13455 Noel\n Road, Suite 1750\n Dallas, TX 75240",3,"linkUrl","openNewTab","internalRoute"],["text","www.adr.org",3,"linkUrl","openNewTab","internalRoute"],["text","(972) 702-8222",3,"linkUrl","openNewTab","internalRoute"],[1,"tou-header"]],template:function(e,t){1&e&&(r.TgZ(0,"div",0),r._uU(1,"\n "),r.YNc(2,d,2,0,"div",1),r._uU(3,"\n "),r.TgZ(4,"div",2),r._uU(5,"\n "),r.TgZ(6,"div",3),r._uU(7,"I. Introduction"),r.qZA(),r._uU(8,"\n "),r.TgZ(9,"p"),r._uU(10,"We want you to have an enjoyable experience on our website, so we have established these terms of use, which\n govern your use of the site. Please read these terms, because by using the website, you agree to be bound by\n them."),r.qZA(),r._uU(11,"\n "),r.TgZ(12,"p"),r._uU(13,"\n "),r.TgZ(14,"span"),r._uU(15,'\n We strive to provide an enjoyable online experience for our users, so we have established these Terms of Use,\n which govern each website, mobile site, application, and/or other service, regardless of how distributed,\n transmitted, published, or broadcast (each, a "Service") provided by DriveTime, its parent,\n subsidiaries and/or affiliates ("we," "us," or "our") that links to these Terms of\n Use. Please read these Terms of Use and the DriveTime\n '),r.qZA(),r._uU(16,"\n "),r._UZ(17,"dtm-link",4),r._uU(18,"\n "),r.TgZ(19,"span"),r._uU(20,"carefully. By using the Service, you agree that you are bound by all of the provisions of these Terms of\n Use and"),r.qZA(),r._uU(21,"\n "),r._UZ(22,"dtm-link",4),r._uU(23,"\n "),r.qZA(),r._uU(24,"\n "),r.TgZ(25,"p"),r._uU(26,"\n "),r.TgZ(27,"span"),r._uU(28,"The Terms of Use may be modified from time to time; the date of the most recent revisions will appear on\n this page, so check back often. Continued access of the Service by you will constitute your acceptance of any\n changes or revisions to the Terms of Use and"),r.qZA(),r._uU(29,"\n "),r._UZ(30,"dtm-link",4),r._uU(31,"\n "),r.qZA(),r._uU(32,"\n "),r.TgZ(33,"div"),r._uU(34,"\n "),r.TgZ(35,"p"),r._uU(36,'Among other things, the Agreement governs all text, articles, photographs, images, graphics, illustrations,\n creative, copy, artwork, video, audio, music, podcasts, ringtones, games, trademarks, trade names, service\n marks, and other brand identifiers, designs, plans, software, source and object code, algorithms, data,\n statistics, analysis, formulas, indexes, registries, repositories, and all other content, information, and\n materials (collectively, "Content") available on or through the Service, whether posted, uploaded,\n transmitted, sent or otherwise made available by us, our licensors, vendors, and/or service providers.'),r.qZA(),r._uU(37,"\n "),r.qZA(),r._uU(38,"\n\n "),r.TgZ(39,"div",3),r._uU(40,"\n II. Registration and Account/Profile Creation\n "),r.qZA(),r._uU(41,"\n "),r.TgZ(42,"div"),r._uU(43,"\n "),r.TgZ(44,"p"),r._uU(45,"In general, you can use the DriveTime website without setting up an account or providing personal identifying\n information. We may require you to set up an account to access certain portions of the service. The\n information you provide must be accurate. You must keep your information secure and must not use anyone else\u2019s\n information."),r.qZA(),r._uU(46,"\n "),r.qZA(),r._uU(47,"\n "),r.TgZ(48,"p"),r._uU(49,"\n "),r.TgZ(50,"span"),r._uU(51,'\n A. In general, you can use the DriveTime website without setting up an account or providing DriveTime with\n information about you. We may at times require that you register and/or set up an account/profile to access\n and/or use certain portions of the Service, or the Service as a whole, in which case you may be provided, or\n required to choose, a password and/or User ID, and you may provide payment information, your name, telephone\n number(s), email and/or street address, and other personally identifiable information ("Registration\n Information"). We may use and share your Registration Information as described in our\n '),r.qZA(),r._uU(52,"\n "),r._UZ(53,"dtm-link",5),r._uU(54,"\n "),r.qZA(),r._uU(55,"\n "),r.TgZ(56,"p"),r._uU(57,"\n "),r.TgZ(58,"span"),r._uU(59,"\n B. You guarantee that all Registration Information provided by you is true, accurate, complete, up-to-date,\n and solely yours. You may not impersonate, imitate or pretend to be somebody else when registering and/or\n setting up an account/profile on the Service. If any of your Registration Information changes, you must update\n it promptly by using the mechanism or contact information on the Service that allows you to change your\n Registration Information, if available. If no such mechanism or contact information is available on the\n Service, please notify our Privacy Policy Coordinator as described in our Privacy Policy.\n "),r.qZA(),r._uU(60,"\n "),r.qZA(),r._uU(61,"\n "),r.TgZ(62,"div"),r._uU(63,"\n "),r.TgZ(64,"p"),r._uU(65,"WE AND OUR INDEMNITEES (AS DEFINED BELOW), SHALL HAVE NO LIABILITY ASSOCIATED WITH OR ARISING FROM YOUR\n FAILURE TO MAINTAIN ACCURATE, COMPLETE OR UP-TO-DATE REGISTRATION INFORMATION, INCLUDING WITHOUT LIMITATION\n YOUR FAILURE TO RECEIVE CRITICAL INFORMATION. NEITHER WE NOR OUR INDEMNITEES SHALL BE RESPONSIBLE FOR\n VERIFYING YOUR REGISTRATION INFORMATION."),r.qZA(),r._uU(66,"\n "),r.TgZ(67,"p"),r._uU(68,"C. We reserve the right at any time to change the access means or methods for portions of the Service, the\n Service as a whole, or certain products and/or services."),r.qZA(),r._uU(69,"\n "),r.TgZ(70,"p"),r._uU(71,"D. You will be solely responsible for maintaining the confidentiality of your Registration Information. You\n may not authorize or permit anyone else to access and/or use your Registration Information or the Service with\n your account/profile and/or Registration Information. You may not access and/or use anyone else's Registration\n Information, or access, visit and/or use the Service by use of anyone else's account/profile and/or\n Registration Information. You may not sub-license, transfer, sell, rent or assign your Registration\n Information to any third party without our written approval. Any attempt to do so will be null and void and\n shall be considered a material breach of the Terms of Use."),r.qZA(),r._uU(72,"\n "),r.TgZ(73,"p"),r._uU(74,"E. You are solely responsible for all access or visitation to, usage of, or activity on, your account/profile\n including, but not limited to, use of the account/profile by any person who uses your Registration\n Information, with or without authorization, or who has access to any computer, mobile or other device on which\n your account/profile resides or is accessible. You acknowledge and agree that we may, and you specifically\n authorize us to, process all transactions, including without limitation purchases and/or registration for\n additional merchandise, products and/or services, including without limitation Content, that are initiated by\n use of your Registration Information."),r.qZA(),r._uU(75,"\n "),r.qZA(),r._uU(76,"\n "),r.TgZ(77,"p"),r._uU(78,"\n "),r.TgZ(79,"span"),r._uU(80,"\n F. If you have reason to believe that your account/profile is no longer secure, you must immediately change\n the affected Registration Information by using the mechanism or contact information on the Service, if\n available, and/or close the account/profile. If no such mechanism or contact information is available on the\n Service, please immediately notify our Privacy Policy Coordinator as described in our\n "),r.qZA(),r._uU(81,"\n "),r._UZ(82,"dtm-link",5),r._uU(83,"\n "),r.qZA(),r._uU(84,"\n\n "),r.TgZ(85,"div",3),r._uU(86,"\n III. Monitoring and Complaints About the Service and the Content\n "),r.qZA(),r._uU(87,"\n "),r.TgZ(88,"p"),r._uU(89,"We strive for your experience using the DriveTime website, to be enjoyable and may monitor activity to make\n sure these terms of use are being followed. If you have a complaint about the website, please let us know."),r.qZA(),r._uU(90,"\n "),r.TgZ(91,"p"),r.TgZ(92,"span",6),r._uU(93,"A. Monitoring"),r.qZA(),r.qZA(),r._uU(94,"\n "),r.TgZ(95,"p"),r._uU(96,"We may monitor activity on the Service. You hereby specifically agree to such monitoring. Nevertheless, we do\n not make any representations, warranties or guarantees that: (1) the Service, or any portion thereof, will be\n monitored for accuracy or unacceptable use, or (2) we will take any specific action (or any action at all) in\n the event of a challenge or dispute regarding compliance or non-compliance with the Agreement."),r.qZA(),r._uU(97,"\n "),r.TgZ(98,"p"),r.TgZ(99,"span",6),r._uU(100,"B. What to Do if You Have a Complaint About the Service and the Content"),r.qZA(),r.qZA(),r._uU(101,"\n "),r.TgZ(102,"p"),r._uU(103,"If you have a legitimate complaint about the Service or the Content, please do the following:"),r.qZA(),r._uU(104,"\n "),r.TgZ(105,"p"),r._uU(106,"Experience with Our Service: If you have concerns about the content on our Service, the speed, or your user\n experience in general, please contact us at "),r._UZ(107,"dtm-link",7),r._uU(108,"\n "),r.qZA(),r._uU(109,"\n "),r.TgZ(110,"p"),r._uU(111,"Copyright Complaints: If you have reason to believe that your Content has been copied and/or is accessible on\n the Service in a way that constitutes copyright infringement, or that the Service contains links or other\n references to another site, application, destination or service that contains Content or activity that\n infringes your copyright rights, you may notify us as described below in the section entitled Copyright\n Complaints."),r.qZA(),r._uU(112,"\n "),r.TgZ(113,"p"),r._uU(114,"CyberCrime: If you have reason to believe you may be the victim of an online crime, such as identity theft,\n fraud, infringement, or hacking, you may contact the\n "),r._UZ(115,"dtm-link",8),r._uU(116," at\n "),r._UZ(117,"dtm-link",9),r._uU(118,"\n , a partnership between the\n "),r._UZ(119,"dtm-link",10),r._uU(120," (fbi), the\n "),r._UZ(121,"dtm-link",11),r._uU(122," (nw3c), and the\n "),r._UZ(123,"dtm-link",12),r._uU(124," (bja).\n "),r.qZA(),r._uU(125,"\n "),r.TgZ(126,"p"),r._uU(127,"IMPORTANT: FALSE OR INACCURATE ACCUSATIONS THAT OTHERS HAVE COMMITTED A CRIME, INAPPROPRIATE ACT, OR\n VIOLATION OF THIS AGREEMENT, COULD BE A VIOLATION OF CRIMINAL AND/OR CIVIL LAW, OR OTHERWISE EXPOSE YOU TO\n LIABILITY FOR DAMAGES (INCLUDING COSTS AND ATTORNEYS' FEES)."),r.qZA(),r._uU(128,"\n "),r.TgZ(129,"div",3),r._uU(130,"\n IV. Rules of Usage\n "),r.qZA(),r._uU(131,"\n "),r.TgZ(132,"div"),r._uU(133,"\n "),r.TgZ(134,"p"),r._uU(135,"A. Use of the Service by You:"),r.qZA(),r._uU(136,"\n "),r.TgZ(137,"p"),r._uU(138,"1. This Service is not intended for use by children, especially those under age 13, and we do not knowingly\n collect personally identifiable information from users under the age of 13. No one under age 13 is allowed to\n register for the Service or to submit personally identifiable information to us, or to use portions of the\n Service that require registration. Minors between ages 13 \u2013 17, inclusive, must get the permission of their\n parent(s) or legal guardian(s) before making purchases, including subscriptions for the Service."),r.qZA(),r._uU(139,"\n "),r.TgZ(140,"p"),r._uU(141,"2. You shall ensure that all equipment, hardware, software, products and/or services you use to access,\n visit, or use the Service does not disturb or interfere with our operation of the Service, or impede or\n interfere with others' access, visitation and/or use of the Service. We reserve the right, in addition to our\n other remedies, with or without notice, to immediately disconnect from the Service any equipment, hardware,\n software, product and/or services causing interference with us, our licensors, vendors, service providers, the\n Service or any Content."),r.qZA(),r._uU(142,"\n "),r.TgZ(143,"p"),r._uU(144,"3. If you provide to us the number for a mobile or other device, or we obtain the device identifier for a\n device you are using, you agree, represent, warrant, and guarantee that such device is registered in your name\n and owned by you, or that you have permission of the device owner(s)."),r.qZA(),r._uU(145,"\n "),r.TgZ(146,"p"),r._uU(147,"4. Unless otherwise specified, the Service is intended for your personal, non-commercial use only. You are\n solely responsible for all usage of, or activities on, the Service by you and by those you authorize or allow\n to use, or provide access to, the Service, for example, by authorizing or allowing access to your\n account/profile or any computer, mobile or other device on which the Service resides or is accessible."),r.qZA(),r._uU(148,"\n "),r.TgZ(149,"p"),r._uU(150,"5. You must comply with all applicable import and export control laws, rules, and regulations of the United\n States and other countries, and you must not transfer, by electronic transmission or otherwise, any Content\n subject to restrictions under such laws, rules, or regulations to a site, application, destination, location,\n person or entity, or for an end use, prohibited thereby."),r.qZA(),r._uU(151,"\n "),r.TgZ(152,"p"),r._uU(153,'6. You represent and warrant that (i) you are not located in a country that is subject to a U.S. Government\n embargo, or that has been designated by the U.S. Government as a "terrorist supporting" country; and\n (ii) you are not listed on any U.S. Government list of prohibited or restricted parties.'),r.qZA(),r._uU(154,"\n "),r.TgZ(155,"p"),r._uU(156,'7. Content that is provided by us, our licensors, vendors and/or service providers, including without\n limitation photos, images, text, music, audio, videos, podcasts, trademarks, trade names, service marks and\n other brand identifiers, the organization, design, compilation, and "look and feel" of the Service,\n and all advertising thereon, is protected by local, state, federal, provincial, national, international, and\n foreign copyright, trademark and other intellectual property laws, rules, and regulations, and is the property\n of us or our licensors, vendors and/or service providers.'),r.qZA(),r._uU(157,"\n "),r.TgZ(158,"p"),r._uU(159,"8. Certain Content may be made available to you on or through the Service for download, installation, and/or\n streaming on your computer, mobile or other device, and via Real Simple Syndication (RSS), such as photos,\n images, text, music, audio, videos, podcasts, ringtones, games, graphics, or software. Such Content is subject\n to the same terms, conditions, limitations and restrictions applicable to all Content provided by us, our\n licensors, vendors and/or service providers. You must, in addition to all of your other obligations, use such\n Content only to the extent expressly authorized for the particular Content, and you may not use such Content\n in a manner that exceeds such authorization. Certain Content on the Service may be provided by third parties\n and DriveTime may not have editorial control over the content. The views or opinions expressed by those third\n parties do not necessarily represent the views of DriveTime."),r.qZA(),r._uU(160,"\n "),r.TgZ(161,"p"),r._uU(162,"9. Vehicle listing, financing, and pricing information on the Service is for informational purposes only and\n DriveTime does not guarantee the accuracy of such information. DriveTime may obtain vehicle listing\n information, including vehicle descriptions from third parties, so there is a possibility that unintentional\n errors can occur. All vehicles are subject to prior sale and may not be available in your area when you are\n ready to purchase. You agree that any reliance on the vehicle listing, financing, or pricing information on\n the Service is at your own risk. All vehicle listings are subject to the Disclaimer of Warranty and Limitation\n of Liability in these Terms of Use. DriveTime is under no obligation to finance, sell, or lease a vehicle to\n you."),r.qZA(),r._uU(163,"\n "),r.TgZ(164,"p"),r._uU(165,"\xa9 Certain automotive content displayed within this website and applications described therein, Copyright\n "),r._UZ(166,"dtm-link",13),r._uU(167," and are protected\n under the United States and international copyright law. Any unauthorized use, reproduction, distribution,\n recording or modification of this content is strictly prohibited."),r.qZA(),r._UZ(168,"img",14),r._uU(169,"\n "),r.TgZ(170,"p"),r._uU(171,"B. Prohibitions on Use of the Service:"),r.qZA(),r._uU(172,"\n "),r.TgZ(173,"p"),r._uU(174,"1. Absent explicit prior written consent in certain situations, you may not, nor may you allow, enable,\n authorize, instruct, encourage, assist, suggest, inform, or promote that others, directly or indirectly, do\n any of the following for any reason:"),r.qZA(),r._uU(175,"\n "),r.TgZ(176,"p"),r._uU(177,"- access and/or use anyone else's Registration Information, or access, visit and/or use the Service by use of\n anyone else's account/profile and/or Registration Information;"),r.qZA(),r._uU(178,"\n "),r.TgZ(179,"p"),r._uU(180,"- make any commercial, advertising, promotional, or marketing use of the Service and/or Content, including\n without limitation the photos, images, text, music, audio, videos, podcasts, trademarks, trade names, service\n marks and other brand identifiers of us, our licensors, vendors, and/or service providers obtained on or\n through the Service, except as permitted by the Copyright Act or other law or as expressly permitted in\n writing by the Agreement, us or the Service;"),r.qZA(),r._uU(181,"\n "),r.TgZ(182,"p"),r._uU(183,"- impersonate, imitate or pretend to be somebody else, by setting up different accounts/profiles or\n otherwise, or falsely state, represent, or imply any affiliation, association, or connection with a person or\n entity when using the Service;"),r.qZA(),r._uU(184,"\n "),r.TgZ(185,"p"),r._uU(186,"- authorize or permit anyone else to access and/or use your Registration Information, or access, visit and/or\n use the Service by use of your account/profile and/or Registration Information;"),r.qZA(),r._uU(187,"\n "),r.TgZ(188,"p"),r._uU(189,"- falsely state, represent, or imply any affiliation, association, or connection between any person or\n entity, including without limitation you, your company, or your site, application, destination or service,\n with the Service, us, or our licensors, vendors and/or service providers;"),r.qZA(),r._uU(190,"\n "),r.TgZ(191,"p"),r._uU(192,"- use any bots, cheats, macros, scripts, or run Maillist, Listserv or any form of auto-responder, or use any\n other automated process, or engage in meta-searching or periodic caching of information, to access, visit\n and/or use the Service, including without limitation to post, upload, transmit, send, or other make available\n Content on or through the Service;"),r.qZA(),r._uU(193,"\n "),r.TgZ(194,"p"),r._uU(195,"- copy, harvest, crawl, index, scrape, spider, mine, gather, extract, compile, obtain, aggregate, capture, or\n store any Content, including without limitation photos, images, text, music, audio, videos, podcasts, data,\n software, source or object code, algorithms, statistics, analysis, formulas, indexes, registries,\n repositories, or any other information available on or through the Service, including by an automated or\n manual process or otherwise, if we have taken steps to forbid, prohibit, or prevent you from doing so;"),r.qZA(),r._uU(196,"\n "),r.TgZ(197,"p"),r._uU(198,"- copy, reproduce, modify, change, edit, crop, alter, revise, adapt, translate, enhance, reformat, remix,\n rearrange, resize, create derivative works of, move, remove, delete, or erase any copyright, trademark, or\n other proprietary legends, symbols, marks, or notices on the Service, or attempt to circumvent any mechanisms\n for preventing the unauthorized reproduction or distribution of Content;"),r.qZA(),r._uU(199,"\n "),r.TgZ(200,"p"),r._uU(201,"- copy, reproduce, modify, change, edit, crop, alter, revise, adapt, translate, enhance, reformat, remix,\n rearrange, resize, create derivative works of, move, remove, delete, erase, reverse engineer, decipher,\n decompile, disassemble, store, cache, aggregate, publish, post, display, distribute, broadcast, perform,\n transmit, rent, sell, share, sublicense, syndicate, or otherwise provide to others, or use any Content\n obtained on or through the Service, in whole or in part, except as permitted by the Copyright Act or other law\n or as expressly permitted in writing by the Agreement, us or the Service;"),r.qZA(),r._uU(202,"\n "),r.TgZ(203,"p"),r._uU(204,"- copy, reproduce, modify, change, edit, crop, alter, revise, adapt, translate, enhance, reformat, remix,\n rearrange, resize, create derivative works of, move, remove, delete, erase, reverse engineer, decipher,\n decompile, disassemble, or otherwise attempt to derive any source code or underlying ideas or algorithms of\n the Service, in whole or in part, including without limitation any Content, communications, messaging,\n programming, hardware, functionality, or features on our networks, servers or databases, or otherwise reduce\n the Service, in whole or in part, to a human perceivable form;"),r.qZA(),r._uU(205,"\n "),r.TgZ(206,"p"),r._uU(207,"- access, other than connecting to our servers by http requests using a browser, or disrupt, overwhelm,\n attack, hack, destroy, damage, disable, impair, alter, tamper or interfere with, the Service including without\n limitation any Content, communications, messaging, programming, hardware, functionality, or features on our\n networks, servers or databases, or impede or interfere with others' access, visitation, and/or use of the\n Service, in any way or by any means, whether remotely or by access to our personal property, premises, or\n otherwise, including, without limitation, by using administrator passwords or by masquerading as an\n administrator while using the Service or otherwise; or"),r.qZA(),r._uU(208,"\n "),r.TgZ(209,"p"),r._uU(210,"- post, upload, transmit, send or otherwise make available on or through the Service any software disabling\n devices, time bombs, Trojan horses, cancelbots, viruses, worms, bugs, corrupted files, spyware, adware,\n malware, malicious programs or code, or devices or defects of similar nature."),r.qZA(),r._uU(211,"\n "),r.TgZ(212,"p"),r._uU(213,"2. CAUTION: ANY ATTEMPT TO DO ANY OF THE FOREGOING PROHIBITED ACTS, OR TO OTHERWISE UNDERMINE THE OPERATION\n OF THE SERVICE, MAY BE A VIOLATION OF CRIMINAL AND CIVIL LAW. SHOULD SUCH AN ATTEMPT BE MADE, WE RESERVE THE\n RIGHT, IN ADDITION TO OUR OTHER REMEDIES, TO SEEK DAMAGES (INCLUDING WITHOUT LIMITATION ATTORNEYS' FEES) FROM\n ANY SUCH INDIVIDUAL OR ENTITY TO THE FULLEST EXTENT PERMITTED BY LAW, INCLUDING CRIMINAL PROSECUTION."),r.qZA(),r._uU(214,"\n "),r.TgZ(215,"p"),r._uU(216,"C. Editing, Additions and Deletions:"),r.qZA(),r._uU(217,"\n "),r.TgZ(218,"p"),r._uU(219,"We reserve the right, but undertake no duty, in our sole discretion, with or without notice, to review, edit,\n move, add, delete, or otherwise change any features, functionality, and/or Content available on or through, or\n downloadable from, the Service, including without limitation any Content in your account/profile. This\n includes updates or upgrades to Content. You agree to accept, and to take no action to interfere with,\n automatic upgrades or updates. Any changes to the Service may not be consistent across all platforms,\n computers, or devices. If you do not refresh the Service after each such change, or download the update(s) or\n upgrade(s), your experience may not reflect the most recent features, functionality, and/or Content, for which\n we and our Indemnitees disclaim any and all responsibility and liability. If any changes require you to obtain\n new, additional, or different equipment, hardware, software, and/or telephone, mobile, wireless, Internet\n and/or other services, you are solely responsible for any additional expense. Even after Content is removed\n from your account/profile, your messages, post(s), and/or threads, regardless of whether such removal or\n deletion is by you or by us, copies of that Content may be retained and/or remain viewable by us, our\n licensors, vendors, service providers and/or other third parties."),r.qZA(),r._uU(220,"\n "),r.TgZ(221,"p"),r._uU(222,"D. Copyright Complaints:"),r.qZA(),r._uU(223,"\n "),r.TgZ(224,"p"),r._uU(225,"1. We respect the intellectual property of others, and we ask our users to do the same. We may, in\n appropriate circumstances and at our discretion, in addition to our other remedies, terminate, discontinue,\n suspend and/or restrict the account/profile or ability to access, visit, and/or use the Service of users who\n infringe the copyright rights of others, and we may choose to remove, delete, erase, or disable access to\n Content deemed to be infringing. It is our policy to terminate the access of repeat infringers."),r.qZA(),r._uU(226,"\n "),r.TgZ(227,"p"),r._uU(228,"2. If you have reason to believe that your Content has been copied and/or is accessible on the Service in a\n way that constitutes copyright infringement, or that the Service contains links or other references to another\n site, application, destination or service that contains Content or activity that infringes your copyright\n rights, you may notify us by providing a document via fax, first class U.S. mail, or e-mail that includes the\n following information (as required by the Online Copyright Infringement Liability Limitation Act of the\n Digital Millennium Copyright Act, 17 U.S.C. sec. 512) to our copyright agent set forth below:"),r.qZA(),r._uU(229,"\n "),r.TgZ(230,"p"),r._uU(231,"i. A physical or electronic signature of a person authorized to act on behalf of the owner of an exclusive\n right that is allegedly infringed;"),r.qZA(),r._uU(232,"\n "),r.TgZ(233,"p"),r._uU(234,"ii. Identification of the copyrighted work claimed to have been infringed, or if multiple copyrighted works\n at the Service are covered by a single notification, a representative list of such works at the Service;"),r.qZA(),r._uU(235,"\n "),r.TgZ(236,"p"),r._uU(237,"iii. Identification of the copyrighted work that is claimed to be infringing or to be the subject of\n infringing activity and that is to be removed or access to which is to be disabled, and information reasonably\n sufficient to permit us to locate such copyrighted work;"),r.qZA(),r._uU(238,"\n "),r.TgZ(239,"p"),r._uU(240,"iv. Information reasonably sufficient to enable us to contact the complaining party, such as an address,\n telephone number, and if available, an electronic mail address at which the complaining party may be\n contacted;"),r.qZA(),r._uU(241,"\n "),r.TgZ(242,"p"),r._uU(243,"v. A statement that the complaining party has a good faith belief that use of the copyrighted work in the\n manner complained of is not authorized by the copyright owner, its agent, or the law; and"),r.qZA(),r._uU(244,"\n "),r.TgZ(245,"p"),r._uU(246,"vi. A statement that the information in the notification is accurate, and under penalty of perjury, that the\n complaining party is authorized to act on behalf of the owner of an exclusive right that is allegedly\n infringed."),r.qZA(),r._uU(247,"\n "),r.TgZ(248,"p"),r._uU(249,"3. IMPORTANT: MISREPRESENTATIONS MADE IN A NOTICE CLAIMING THAT CONTENT OR ACTIVITY IS INFRINGING VIOLATES\n THE DIGITAL MILLENNIUM COPYRIGHT ACT AND MAY EXPOSE YOU TO LIABILITY FOR DAMAGES (INCLUDING COSTS AND\n ATTORNEYS' FEES). COURTS HAVE FOUND THAT YOU MUST CONSIDER COPYRIGHT DEFENSES, LIMITATIONS OR EXCEPTIONS\n BEFORE SENDING A NOTICE. ACCORDINGLY, IF YOU ARE NOT SURE WHETHER CONTENT RESIDING ON OUR SERVICE INFRINGES\n YOUR COPYRIGHT, WE SUGGEST THAT YOU FIRST CONTACT AN ATTORNEY. IN ADDITION, PLEASE DETERMINE WHETHER THE\n CONTENT YOU ARE SENDING A NOTICE ABOUT IS ACTUALLY RESIDING ON OUR SERVICE BEFORE SENDING THE NOTICE."),r.qZA(),r._uU(250,"\n "),r.TgZ(251,"p",15),r._uU(252,"4. Copyright Agent, Office of the General Counsel, "),r._UZ(253,"dtm-link",16),r._uU(254," or "),r.TgZ(255,"dtm-link",17),r._uU(256,"\n "),r.qZA(),r._uU(257,"\n "),r.qZA(),r._uU(258,"\n "),r.TgZ(259,"p"),r._uU(260,"Note: Only copyright complaints should be sent to agent. No other communications will be accepted or\n responded to."),r.qZA(),r._uU(261,"\n "),r.qZA(),r._uU(262,"\n "),r.TgZ(263,"div"),r._uU(264,"\n "),r.TgZ(265,"span"),r._uU(266,'\n For communications on other matters, please contact us through the means described on the service, if\n available (for example, in the "\n '),r.qZA(),r._uU(267,"\n "),r._UZ(268,"dtm-link",18),r._uU(269,"\n "),r.TgZ(270,"span"),r._uU(271,'\n " section), or if no such means are specified, contact our privacy policy coordinator as described in our\n '),r.qZA(),r._uU(272,"\n "),r._UZ(273,"dtm-link",4),r._uU(274,"\n "),r.qZA(),r._uU(275,"\n "),r.TgZ(276,"div"),r._uU(277,"\n "),r.TgZ(278,"p"),r._uU(279,"PLEASE NOTE: THE INFORMATION WE PRESENT HERE IS FOR INFORMATIONAL PURPOSES ONLY AND IS NOT LEGAL ADVICE."),r.qZA(),r._uU(280,"\n "),r.TgZ(281,"p"),r._uU(282,"E. Indemnification:"),r.qZA(),r._uU(283,"\n "),r.TgZ(284,"p"),r._uU(285,'You agree to indemnify, defend and hold harmless us, our licensors, vendors, service providers, and each of\n our and their respective officers, directors, members, employees, independent and sub-contractors, agents,\n representatives, successors and assigns (collectively, "Indemnitees") from and against any and all\n claims, disputes, demands, proceedings, cause of action, judgments, damages, liabilities, losses, costs or\n expense (including, but not limited to reasonable attorneys\' fees) of any kind and nature, known and unknown,\n suspected and unsuspected, disclosed and undisclosed (collectively, "Claims") which may arise out of\n or are in any way connected with your access, visitation and/or use of the Service, your Content, unauthorized\n use of Content obtained on or through the Service, breach or alleged breach of the Terms of Use, or from any\n of your acts or omissions in connection with the Service.'),r.qZA(),r._uU(286,"\n "),r.TgZ(287,"p"),r._uU(288,"F. Disclaimer of Warranty and Limitation of Liability:"),r.qZA(),r._uU(289,"\n "),r.TgZ(290,"p"),r._uU(291,"1. CERTAIN FEATURES, FUNCTIONALITY, AND/OR CONTENT OFFERED ON OR THROUGH THE SERVICE MAY BE HOSTED,\n ADMINISTERED, RUN OR OTHERWISE PARTICIPATED IN BY THIRD PARTIES. THESE SERVICE PROVIDERS MAY REQUIRE THAT YOU\n AGREE TO THEIR ADDITIONAL TERMS, CONDITIONS, CONTRACTS, AGREEMENTS AND/OR RULES. YOUR COMPLIANCE WITH ANY SUCH\n ADDITIONAL TERMS, CONDITIONS, CONTRACTS, AGREEMENTS AND/OR RULES IS SOLELY YOUR RESPONSIBILITY AND WILL HAVE\n NO EFFECT ON YOUR CONTINUING OBLIGATION TO COMPLY WITH THE TERMS OF USE WHEN USING THE SERVICE. WE AND OUR\n INDEMNITEES SPECIFICALLY DISCLAIM ANY AND ALL LIABILITY IN CONNECTION WITH THE ACTS OR OMISSIONS OF SUCH THIRD\n PARTIES."),r.qZA(),r._uU(292,"\n "),r.TgZ(293,"p"),r._uU(294,'2. YOU ACKNOWLEDGE THAT YOU ARE USING THE SERVICE AT YOUR OWN RISK. THE SERVICE IS PROVIDED "AS IS",\n "WITH ALL FAULTS" AND ON AN "AS AVAILABLE" BASIS, AND WE AND OUR INDEMNITEES HEREBY EXPRESSLY\n DISCLAIM ANY AND ALL REPRESENTATIONS, WARRANTIES, AND GUARANTEES, EXPRESS AND IMPLIED, INCLUDING BUT NOT\n LIMITED TO ANY WARRANTIES OF ACCURACY, RELIABILITY, TITLE, MERCHANTABILITY, NON-INFRINGEMENT, FITNESS FOR A\n PARTICULAR PURPOSE OR ANY OTHER WARRANTY, CONDITION, GUARANTEE OR REPRESENTATION, WHETHER ORAL, IN WRITING OR\n IN ELECTRONIC FORM, INCLUDING BUT NOT LIMITED TO THE ACCURACY OR COMPLETENESS OF ANY CONTENT CONTAINED THEREIN\n OR PROVIDED BY US OR THE SERVICE. WE AND OUR INDEMNITEES DO NOT REPRESENT, WARRANT OR GUARANTEE THAT ACCESS TO\n THE SERVICE AND/OR COMMUNICATIONS OR MESSAGING FROM OR TO US OR YOU WILL BE UNINTERRUPTED, TIMELY, OR ERROR\n FREE, OR THAT THERE WILL BE NO FAILURES, DELAYS, INACCURACIES, ERRORS OR OMISSIONS OR LOSS OF TRANSMITTED\n CONTENT, OR THAT NO SOFTWARE DISABLING DEVICES, TIME BOMBS, VIRUSES, WORMS, BUGS, OR DEVICES OR DEFECTS OF\n SIMILAR NATURE WILL BE TRANSMITTED ON OR THROUGH THE SERVICE, AND WE AND OUR INDEMNITEES WILL NOT BE LIABLE IN\n THE EVENT OF ANY SUCH OCCURRENCE.'),r.qZA(),r._uU(295,"\n "),r.TgZ(296,"p"),r._uU(297,"3. WE AND OUR INDEMNITEES ARE NOT RESPONSIBLE FOR INCOMPLETE, INCORRECT, LOST, DELAYED, LATE, MISDIRECTED,\n GARBLED, DAMAGED, ILLEGIBLE, UNDELIVERABLE, OR INCOMPLETELY RECEIVED COMMUNICATIONS OR MESSAGING FROM OR TO US\n OR YOU FOR ANY REASON, INCLUDING BY REASON OF HARDWARE, SOFTWARE, BROWSER, NETWORK, COMMUNICATIONS SYSTEM\n FAILURE, MALFUNCTION, DELAY, OR CONGESTION, OR ANY INCOMPATIBILITY AT OUR SERVERS OR ELSEWHERE, OR FOR ANY\n OTHER TECHNICAL PROBLEMS, ANY FORM OF ACTIVE OR PASSIVE FILTERING BY A USER'S COMPUTER, MOBILE OR OTHER DEVICE\n OR ACCESS PROVIDER, INSUFFICIENT SPACE ON USER'S COMPUTER, MOBILE OR OTHER DEVICE OR ACCOUNT/PROFILE, OR ANY\n OTHER CAUSE OR COMBINATION THEREOF."),r.qZA(),r._uU(298,"\n "),r.TgZ(299,"p"),r._uU(300,'4. WE AND OUR INDEMNITEES SHALL NOT BE LIABLE TO YOU OR ANY THIRD PARTIES FOR ANY DIRECT, INDIRECT, SPECIAL,\n CONSEQUENTIAL OR PUNITIVE DAMAGES ALLEGEDLY SUSTAINED ARISING OUT OF THE TERMS OF USE, THE SERVICE, YOUR\n ABILITY OR INABILITY TO ACCESS, VISIT AND/OR USE THE SERVICE, INCLUDING DAMAGE TO YOUR COMPUTER, MOBILE OR\n OTHER DEVICE, OR FOR SOFTWARE DISABLING DEVICES, TIME BOMBS, VIRUSES, WORMS, BUGS, OR DEVICES OR DEFECTS OF\n SIMILAR NATURE ALLEGED TO HAVE BEEN OBTAINED FROM THE SERVICE, YOUR ACCESS, VISITATION, AND/OR USE OF, OR\n RELIANCE ON, THE SERVICE AND/OR CONTENT AVAILABLE ON OR THROUGH THE SERVICE, REGARDLESS OF THE TYPE OF CLAIM\n OR THE NATURE OF THE CAUSE OF ACTION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. IN NO EVENT SHALL\n OUR LIABILITY TO YOU EXCEED THE TOTAL AMOUNT OF FEES PAID BY YOU DURING THE ONE MONTH PERIOD IN WHICH THE\n CLAIM AROSE. SOME STATES DO NOT ALLOW THE EXCLUSION OF IMPLIED WARRANTIES OR THE LIMITATION OR EXCLUSION OF\n LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES. THE AGREEMENT IS NOT SUBJECT TO THE LAWS OF SUCH STATES,\n BUT TO THE EXTENT A CLAIM IS BROUGHT THEREIN, OUR LIABILITY AND WARRANTIES ARE LIMITED TO THE EXTENT PERMITTED\n BY LAW. IF YOU ARE A CALIFORNIA RESIDENT, YOU WAIVE CALIFORNIA CIVIL CODE SECTION 1542, WHICH STATES, IN PART:\n "A GENERAL RELEASE DOES NOT EXTEND TO CLAIMS WHICH THE CREDITOR DOES NOT KNOW OR SUSPECT TO EXIST IN HIS\n OR HER FAVOR AT THE TIME OF EXECUTING THE RELEASE, WHICH IF KNOWN BY HIM OR HER MUST HAVE MATERIALLY AFFECTED\n HIS OR HER SETTLEMENT WITH THE DEBTOR".'),r.qZA(),r._uU(301,"\n "),r.TgZ(302,"p"),r._uU(303,"G. Termination or Suspension of the Service, Your Use of the Service, and/or the Agreement:"),r.qZA(),r._uU(304,"\n "),r.TgZ(305,"p"),r._uU(306,"1. We reserve the right, in addition to our other remedies, to terminate, discontinue, suspend and/or\n restrict the Service, your account/profile, your ability to access, visit and/or use the Service or any\n portion thereof, and/or the Agreement, including without limitation any of our purported obligations\n hereunder, for any or no reason, with or without notice. In the event of any termination or discontinuation of\n your account/profile, your ability to access, visit and/or use the Service or any portion thereof, and/or the\n Agreement, we reserve the right, in addition to our other remedies, to reassign, and/or allow another user to\n use, your password and/or User ID."),r.qZA(),r._uU(307,"\n "),r.TgZ(308,"p"),r._uU(309,"2. Even if the Service, your ability to access, visit and/or use the Service or any portion thereof, and/or\n the Agreement is terminated, discontinued, suspended or restricted, by you or by us, we have no obligation to\n (but we may in our discretion) remove any Content, and therefore copies of all information with regard to your\n account/profile and/or Content you may have posted, uploaded, transmitted, sent or otherwise made available on\n or through the Service, may be retained and/or remain viewable by us, our licensors, vendors, service\n providers and/or other third parties. Nevertheless, we have no obligation to retain, store, or provide you\n with any information with regard to your account/profile and/or Content you may have posted, uploaded,\n transmitted, sent or otherwise made available on or through the Service. All provisions of the Agreement shall\n survive the termination or expiration of the Agreement and/or your account/profile."),r.qZA(),r._uU(310,"\n "),r.TgZ(311,"p"),r._uU(312,"H. Communications to You:"),r.qZA(),r._uU(313,"\n "),r.TgZ(314,"p"),r._uU(315,"1. The communications between you and us usually use electronic means, whether you access, visit or use the\n Service, send us messages, or whether we post notices on the Service or communicate with you via messaging.\n For contractual purposes, you (a) consent to receive communications from us in electronic form; and (b) agree\n that all notices, documents, disclosures, and other communications that we provide to you electronically\n satisfy any legal requirement that such communications would satisfy if they were in writing. Your consent to\n receive communications and do business electronically, and your agreement to do so applies to all of your\n interactions and transactions with us."),r.qZA(),r._uU(316,"\n "),r.TgZ(317,"p"),r._uU(318,"2. You understand and agree that joining the Service may include receiving certain communications from us,\n such as transactional or relationship messages, and/or messages about your account/profile, and that these\n communications are considered part of your account/profile and you may not be able to opt out of receiving\n them without ceasing to be a registered user of the Service."),r.qZA(),r._uU(319,"\n "),r.TgZ(320,"p"),r._uU(321,"3. If you wish to opt out of email communications and no longer have the email with the link, you can opt\n yourself out by calling 888-418-1212 or emailing "),r._UZ(322,"dtm-link",19),r._uU(323,". If you wish to\n opt out of text\n messages and no longer have the text message with instructions for opting out, you can reply to the text\n message with DTSTOP. If you wish to join back in to text messages, you can reply to the text message with\n DTJOIN."),r.qZA(),r._uU(324,"\n "),r.TgZ(325,"p",20),r._uU(326,"4. "),r.TgZ(327,"span",6),r._uU(328,"SMS Terms and Conditions"),r.qZA(),r.qZA(),r._uU(329,"\n "),r.TgZ(330,"p"),r.TgZ(331,"span",6),r._uU(332,"Program Description:"),r.qZA(),r._uU(333," DriveTime and Bridgecrest Outreach Program is an sms campaign that sends text messages to DriveTime Car Sales Company, LLC, Bridgecrest Acceptance Corporation, and Bridgecrest Credit Company customers reminding them of upcoming payments, payment notifications, service reminders, marketing messages, and other news and information from DriveTime and Bridgecrest. This sms service is only available to DriveTime and Bridgecrest customers who have opted into this service."),r.qZA(),r._uU(334,"\n "),r.TgZ(335,"p"),r._uU(336,"Additionally, DriveTime Text Confirmations is a one-time text response to actions taken by DriveTime credit applicants on DriveTime\u2019s website. A one-time text response will send the result of an online application for credit. A one-time text response will send a reminder before the scheduled time of an appointment scheduled online."),r.qZA(),r._uU(337,"\n "),r.TgZ(338,"p"),r._uU(339,"i. "),r.TgZ(340,"span",6),r._uU(341,"Supported Carriers:"),r.qZA(),r._uU(342," DriveTime and Bridgecrest Outreach Program and Text Confirmations Services are available on all major carriers."),r.qZA(),r._uU(343,"\n\t "),r.TgZ(344,"p"),r._uU(345,"Carriers are not liable for delayed or undelivered messages."),r.qZA(),r._uU(346,"\n "),r.TgZ(347,"p"),r._uU(348,"ii. "),r.TgZ(349,"span",6),r._uU(350,"Cost:"),r.qZA(),r._uU(351," There is no charge from DriveTime or Bridgecrest for joining the DriveTime and Bridgecrest Outreach Program or Text Confirmations Services or for receiving the alert and info messages, however "),r.TgZ(352,"span",6),r._uU(353,"Msg&Data rates may apply."),r.qZA(),r.qZA(),r._uU(354,"\n "),r.TgZ(355,"p"),r._uU(356,"iii. "),r.TgZ(357,"span",6),r._uU(358,"Message Frequency:"),r.qZA(),r._uU(359," If you opt-in to receive alerts or info from DriveTime or Bridgecrest, you will receive up to seven messages per week."),r.qZA(),r._uU(360,"\n "),r.TgZ(361,"p"),r._uU(362,"When you submit an online application, you will receive one message. When you schedule an appointment, you will receive one message."),r.qZA(),r._uU(363,"\n "),r.TgZ(364,"p"),r._uU(365,"iv. "),r.TgZ(366,"span",6),r._uU(367,"How to opt-in to our service:"),r.qZA(),r._uU(368," You may opt-in by providing your consent to receiving these messages through the online application or at our dealerships."),r.qZA(),r._uU(369,"\n "),r.TgZ(370,"p"),r._uU(371,"v. "),r.TgZ(372,"span",6),r._uU(373,"How to opt-out of our service:"),r.qZA(),r._uU(374," To opt-out of the Outreach Program, reply STOP to any message. An unsubscribe message will be sent to your mobile number confirming the cancellation, but no more messages will be sent from this program after that unless you change your mind later on and opt back in. You may also opt out of our service by calling DriveTime or Bridgecrest. \n "),r.qZA(),r._uU(375,"\n "),r.TgZ(376,"p"),r._uU(377,"vi. "),r.TgZ(378,"span",6),r._uU(379,"Support/Help:"),r.qZA(),r._uU(380," For support or information about our DriveTime and Bridgecrest Outreach Program, reply "),r.TgZ(381,"span",6),r._uU(382,"HELP"),r.qZA(),r._uU(383," to any message. You can also email us at \n "),r._UZ(384,"dtm-link",19),r._uU(385," or call "),r._UZ(386,"dtm-link",21),r._uU(387,".\n "),r.qZA(),r._uU(388,"\n "),r.qZA(),r._uU(389,"\n "),r.TgZ(390,"div"),r._uU(391,"\n "),r.TgZ(392,"span"),r._uU(393,"\n vii. "),r.TgZ(394,"span",6),r._uU(395,"Privacy Policy:"),r.qZA(),r._uU(396," DriveTime Automotive Group Inc.'s top priority is the\n privacy of our\n users. Please see our\n "),r.qZA(),r._uU(397,"\n "),r._UZ(398,"dtm-link",4),r._uU(399,"\n "),r.qZA(),r._uU(400,"\n "),r.TgZ(401,"div"),r._uU(402,"\n "),r.TgZ(403,"p"),r._uU(404,"I.Mobile Participants:"),r.qZA(),r._uU(405,"\n "),r.TgZ(406,"p"),r._uU(407,'You understand and agree that various entities unaffiliated with us make up the "mobile ecosystem"\n that enables you to access, visit and/or use the Service via your computer, mobile or other device, including\n without limitation equipment, hardware and software manufacturers and providers, telephone, mobile, wireless,\n and Internet network providers and carriers, and sellers or providers of Content for use with the Service\n (collectively, the "Mobile Participants"). We do not represent, warrant or guarantee that all portions\n of the Service, or the Service as a whole, can be accessed via all mobile or other devices, or via all\n carriers and service plans or is available in all geographic locations. THESE MOBILE PARTICIPANTS MAY REQUIRE\n THAT YOU AGREE TO THEIR ADDITIONAL TERMS, CONDITIONS, CONTRACTS, AGREEMENTS AND/OR RULES. YOUR COMPLIANCE WITH\n ANY SUCH ADDITIONAL TERMS, CONDITIONS, CONTRACTS, AGREEMENTS AND/OR RULES IS SOLELY YOUR RESPONSIBILITY AND\n WILL HAVE NO EFFECT ON YOUR CONTINUING OBLIGATION TO COMPLY WITH THE AGREEMENT WHEN USING THE SERVICE. WE AND\n OUR INDEMNITEES SPECIFICALLY DISCLAIM ANY AND ALL LIABILITY IN CONNECTION WITH THE ACTS OR OMISSIONS OF SUCH\n MOBILE PARTICIPANTS. Standard data rates may apply. We have agreements with some of these Mobile Participants\n that require us to make certain disclosures and pass along certain responsibilities to you. For such Mobile\n Participants, you specifically acknowledge and agree that: (i) the Terms of Use is between us and you; the\n Mobile Participants are not parties to the Terms of Use; (ii) the Mobile Participants and their parents,\n subsidiaries and affiliates are third party beneficiaries of the Agreement and upon your acceptance of the\n terms and conditions of the Terms of Use, the Mobile Participants will have the right (and will be deemed to\n have accepted the right) to enforce the Agreement against you; (iii) the license granted to you hereunder is\n limited to a non-transferable license to use the Service on the particular product authorized by the\n applicable Mobile Participant that you own or control and as permitted by such Mobile Participant\'s applicable\n usage rules; (iv) Mobile Participants have no obligation whatsoever in connection with the functionality or\n content of the Service, or to furnish any maintenance or support services with respect to the Service; (v) in\n the event of any failure of the Service to conform to any applicable warranty, you may be able to notify the\n applicable Mobile Participant to receive a refund of all or part of the amount you paid for the Service, if\n any (to the maximum amount permitted by applicable law, Mobile Participants will have no other warranty\n obligation whatsoever with respect to the Service); (vi) Mobile Participants are not responsible for\n addressing any claims, losses, liabilities, damages, costs or expenses by you or a third party relating to the\n Service or your possession, access, visitation and/or use of the Service, including without limitation (a)\n product liability claims; (b) any claim that the Service fails to conform to any applicable legal or\n regulatory requirement; and (c) claims arising under consumer protection or similar legislation; and (vii) in\n the event of any third party claim that the Service or your possession, access, visitation and/or use of the\n Service, infringes such third party\'s intellectual property rights, Mobile Participants are not responsible\n for the investigation, defense, settlement and/or discharge of such claim.'),r.qZA(),r._uU(408,"\n "),r.TgZ(409,"p"),r._uU(410,"J. Third Party Content"),r.qZA(),r._uU(411,"\n "),r.TgZ(412,"p"),r._uU(413,"The Service may contain hyperlinks to websites operated by parties other than DriveTime. DriveTime does not\n operate the third party service(s) or links and is not responsible for the content or accessibility outside of\n the DriveTime website. The Service may also contain content created by third parties, such as customer\n reviews, where third parties may express their ideas and opinions. DriveTime and its affiliates do not endorse\n the accuracy or reliability of any third party content."),r.qZA(),r._uU(414,"\n "),r.TgZ(415,"p"),r._uU(416,"K. Disputes and Jurisdiction:"),r.qZA(),r._uU(417,"\n "),r.TgZ(418,"p"),r._uU(419,"1. The Service is based in the United States. It is not designed, customized or intended for, or directed to,\n any other country. Those who choose to access, visit and/or use the Service do so on their own initiative and\n are responsible for compliance with local laws, if and to the extent local laws are applicable. We make no\n representation, warranty or guarantee that the Service, or any merchandise, products, services, and/or Content\n available on or through the Service are appropriate, available, or legal in any particular geographic\n location."),r.qZA(),r._uU(420,"\n "),r.qZA(),r._uU(421,"\n "),r.TgZ(422,"div"),r._uU(423,"\n "),r.TgZ(424,"span"),r._uU(425,"\n 2. In any dispute between us, your sole remedy is to stop using your account/profile and/or the Service. This\n includes any dispute related to or arising out of: (i) rules, restrictions, limitations, terms and conditions\n that apply to the Service, whether listed in this Terms of Use or\n "),r.qZA(),r._uU(426,"\n "),r._UZ(427,"dtm-link",4),r._uU(428,"\n "),r.TgZ(429,"span"),r._uU(430,"\n , posted at various points in the Service, or otherwise communicated to you, including our enforcement,\n non-enforcement, or application of any such rules; (ii) any of our policies and/or practices, including our\n enforcement, non-enforcement, or application of any such policies and/or practices; (iii) any Content\n available on or through the Service, or any edits, deletions, additions, or other changes thereto; or (iv)\n your ability or inability to access, visit and/or use portions of the Service, or the Service as a whole, or\n features, functionality, and/or Content available on or through the Service.\n "),r.qZA(),r._uU(431,"\n "),r.qZA(),r._uU(432,"\n "),r.TgZ(433,"div"),r._uU(434,"\n "),r.TgZ(435,"p"),r._uU(436,"3. You agree that in the event of any dispute between us, you will first contact us and make a good faith\n sustained effort to resolve the dispute before resorting to more formal means of resolution. If we have a\n dispute that we are unable to resolve, you and DriveTime agree to binding arbitration using the American\n Arbitration Association. You may send a demand for arbitration to the following:"),r.qZA(),r._uU(437,"\n "),r.TgZ(438,"p"),r._uU(439,"American Arbitration Associate (AAA)"),r._UZ(440,"br"),r._uU(441,"\n "),r._UZ(442,"dtm-link",22),r._UZ(443,"br"),r._uU(444,"\n "),r._UZ(445,"dtm-link",23),r._uU(446,"\n "),r._UZ(447,"br"),r._uU(448,"\n "),r.TgZ(449,"dtm-link",24),r._uU(450,"\n "),r.qZA(),r._uU(451,"\n "),r.qZA(),r._uU(452,"\n "),r.TgZ(453,"p"),r._uU(454,"The applicable rules of the arbitration forum will apply. "),r.TgZ(455,"span",6),r._uU(456,"You are giving up\n your right to\n a trial by jury or class action or similar relief"),r.qZA(),r._uU(457,". You have all other rights and remedies under\n applicable law. We will not object if you wish to use small claims court. If the cost of the arbitration forum\n exceeds normal court filing costs where you live, we will pay these costs. If paying these normal filing costs\n is a burden, we will also pay these costs. The arbitration will occur at the closest AAA office to\n where you live."),r.qZA(),r._uU(458,"\n "),r.TgZ(459,"p"),r._uU(460,'You have the right to reject this arbitration agreement, in which event neither you nor we will have the\n right to require arbitration of any disputes. Rejection of this arbitration agreement will not affect any\n other aspect of your contract. In order for you to reject this arbitration agreement, we must receive a signed\n writing ("Rejection Notice") from you within 30 days of the day you enter into the contract, stating\n that you reject the arbitration agreement. The Rejection Notice must include your name, address and Customer\n Number and must be mailed to us at: DriveTime, 1720 West Rio Salado Parkway, Tempe, AZ, 85281 by mail, return\n receipt requested. Upon receipt of your Rejection Notice, we will refund your postage cost. If you reject this\n arbitration agreement, that will not constitute a rejection of any other arbitration agreement between you and\n us.'),r.qZA(),r._uU(461,"\n "),r.TgZ(462,"p"),r._uU(463,"4. We reserve the right, in addition to our other remedies, to take any technical, legal, and/or other\n action(s) that we deem necessary and/or appropriate, to prevent or correct violations and enforce the Terms of\n Use. You acknowledge and agree that we have the right hereunder to an injunction without posting a bond to\n stop or prevent a breach or violation of your obligations under the Terms of Use."),r.qZA(),r._uU(464,"\n "),r.TgZ(465,"p"),r._uU(466,"5. You agree that, regardless of where you access, visit and/or use the Service, all issues concerning the\n construction, validity, interpretation and enforceability of the Terms of Use shall be governed and construed\n in accordance with the laws of the United States, in the particular State where the Service is headquartered,\n without regard to any principles of conflict of laws. To the extent permitted by applicable law, all judgments\n or awards shall be limited to actual out-of-pocket damages (excluding attorneys' fees) and shall not include\n any indirect, punitive, incidental and/or consequential damages."),r.qZA(),r._uU(467,"\n "),r.TgZ(468,"p"),r._uU(469,"6. If for any reason a court of competent jurisdiction finds any provision of the Terms of Use, or portion\n thereof, to be invalid or unenforceable, that provision or portion will be enforced to the maximum extent\n permissible so as to effect the intent of the parties, and the remainder of the Terms of Use will continue to\n be valid and enforceable in full force and effect."),r.qZA(),r._uU(470,"\n "),r.TgZ(471,"p"),r._uU(472,"General:"),r.qZA(),r._uU(473,"\n "),r.TgZ(474,"p"),r._uU(475,"1. We reserve the right to post, from time to time, additional rules that apply to certain portions of the\n Service, or the Service as a whole. Such additional rules will be posted in the relevant portions of the\n Service, and are hereby incorporated into the Terms of Use by this reference. Your continued access,\n visitation and/or use of the Service constitutes your agreement to comply with these additional rules."),r.qZA(),r._uU(476,"\n "),r.qZA(),r._uU(477,"\n "),r.TgZ(478,"div"),r._uU(479,"\n "),r.TgZ(480,"span"),r._uU(481,"\n 2. The rules, restrictions, limitations, terms and conditions that apply to the Service, whether listed in\n these Terms of Use and\n "),r.qZA(),r._uU(482,"\n "),r._UZ(483,"dtm-link",4),r._uU(484,"\n "),r.TgZ(485,"span"),r._uU(486,", posted at various points in the Service, or otherwise communicated to you, constitutes the Terms of Use\n and\n entire understanding between the parties, and supersedes prior agreements between the parties, whether oral or\n written, with respect to the subject matter hereof. Unless explicitly stated in writing by us, any new or\n additional features, functionality, or Content that augment or enhance the Service, including the release of\n updates, upgrades, new products and/or services, shall be subject to the terms and conditions of the Terms of\n Use.\n "),r.qZA(),r._uU(487,"\n "),r.qZA(),r._uU(488,"\n "),r.TgZ(489,"div"),r._uU(490,"\n "),r.TgZ(491,"p"),r._uU(492,"3. Any delay or failure by us to exercise or enforce any right or provision of the Terms of Use will not\n constitute a waiver of such right or provision. No waiver by us shall have effect unless such waiver is set\n forth in writing, signed by us; nor shall any such waiver of any breach or default constitute a waiver of any\n subsequent breach or default."),r.qZA(),r._uU(493,"\n "),r.TgZ(494,"p"),r._uU(495,"4. We may sub-license, transfer, sell or assign the Terms of Use, and/or any of our purported obligations\n hereunder, at any time to any person or entity, with or without notice. You may not sub-license, transfer,\n sell, or assign the Terms of Use at any time to any person or entity, and any attempt to do so will be null\n and void."),r.qZA(),r._uU(496,"\n "),r.qZA(),r._uU(497,"\n "),r.TgZ(498,"div"),r._uU(499,"\n "),r.TgZ(500,"span"),r._uU(501,"\n 5. In the event of any conflict or inconsistency between the terms and conditions of this Terms of Use and the\n "),r.qZA(),r._uU(502,"\n "),r._UZ(503,"dtm-link",4),r._uU(504,"\n "),r.TgZ(505,"span"),r._uU(506,"\n , the terms of the\n "),r.qZA(),r._uU(507,"\n "),r._UZ(508,"dtm-link",4),r._uU(509,"\n "),r.TgZ(510,"span"),r._uU(511,"\n shall control. In the event of any conflict or inconsistency between the terms and conditions of the\n "),r.qZA(),r._uU(512,"\n "),r._UZ(513,"dtm-link",4),r._uU(514,"\n "),r.TgZ(515,"span"),r._uU(516,"\n and the Financial Privacy Policy, the terms of the Financial Privacy Policy shall control. In the event of any other conflict between\n the terms and conditions of this Terms of Use or the\n "),r.qZA(),r._uU(517,"\n "),r._UZ(518,"dtm-link",4),r._uU(519,"\n "),r.TgZ(520,"span"),r._uU(521,", and any rules, restrictions, limitations, terms and/or conditions that may be posted at various points in\n the Service or otherwise communicated to users of the Service, the terms of this Terms of Use and\n "),r.qZA(),r._uU(522,"\n "),r._UZ(523,"dtm-link",4),r._uU(524,"\n "),r.TgZ(525,"span"),r._uU(526," shall control."),r.qZA(),r._uU(527,"\n "),r.qZA(),r._uU(528,"\n "),r.qZA(),r._uU(529,"\n"),r.qZA(),r._uU(530,"\n")),2&e&&(r.xp6(2),r.Q6J("ngIf",t.showTitle),r.xp6(15),r.Q6J("linkUrl",t.privacyPolicyLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",r.WLB(112,u,t.analyticCategoryName,t.privacyPolicyLabel)),r.xp6(5),r.Q6J("linkUrl",t.privacyPolicyLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",r.WLB(115,u,t.analyticCategoryName,t.privacyPolicyLabel)),r.xp6(8),r.Q6J("linkUrl",t.privacyPolicyLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",r.WLB(118,u,t.analyticCategoryName,t.privacyPolicyLabel)),r.xp6(23),r.Q6J("linkUrl",t.privacyPolicyLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",r.WLB(121,u,t.analyticCategoryName,t.privacyPolicyLabel)),r.xp6(29),r.Q6J("linkUrl",t.privacyPolicyLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",r.WLB(124,u,t.analyticCategoryName,t.privacyPolicyLabel)),r.xp6(25),r.Q6J("linkUrl",t.webFeedBackEmailLink)("openNewTab",!1)("internalRoute",!1),r.xp6(8),r.Q6J("linkUrl",t.ic3GovLink)("openNewTab",!0)("internalRoute",!1)("analytic",r.VKq(127,p,t.analyticCategoryName)),r.xp6(2),r.Q6J("linkUrl",t.ic3GovLink)("openNewTab",!0)("internalRoute",!1)("analytic",r.VKq(129,h,t.analyticCategoryName)),r.xp6(2),r.Q6J("linkUrl",t.fbiWebLink)("openNewTab",!0)("internalRoute",!1)("analytic",r.VKq(131,m,t.analyticCategoryName)),r.xp6(2),r.Q6J("linkUrl",t.nw3cWebLink)("openNewTab",!0)("internalRoute",!1)("analytic",r.VKq(133,g,t.analyticCategoryName)),r.xp6(2),r.Q6J("linkUrl",t.bjaWebLink)("openNewTab",!0)("internalRoute",!1)("analytic",r.VKq(135,f,t.analyticCategoryName)),r.xp6(43),r.Q6J("linkUrl",t.dataOneSoftwareWebLink)("openNewTab",!0)("analytic",r.VKq(137,y,t.analyticCategoryName))("internalRoute",!1),r.xp6(87),r.Q6J("linkUrl",t.homeOfficeGoogleMapsLink)("openNewTab",!0)("internalRoute",!1),r.xp6(2),r.Q6J("linkUrl",t.legalEmailLink)("openNewTab",!1)("internalRoute",!1),r.xp6(13),r.Q6J("linkUrl",t.contactUsLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",r.VKq(139,_,t.analyticCategoryName)),r.xp6(5),r.Q6J("linkUrl",t.privacyPolicyLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",r.WLB(141,u,t.analyticCategoryName,t.privacyPolicyLabel)),r.xp6(49),r.Q6J("linkUrl",t.customerServiceEmailLink)("openNewTab",!1)("internalRoute",!1),r.xp6(62),r.Q6J("linkUrl",t.customerServiceEmailLink)("openNewTab",!1)("internalRoute",!1),r.xp6(2),r.Q6J("linkUrl",t.customerServicePhoneLink)("openNewTab",!0)("internalRoute",!1),r.xp6(12),r.Q6J("linkUrl",t.privacyPolicyLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",r.WLB(144,u,t.analyticCategoryName,t.privacyPolicyLabel)),r.xp6(29),r.Q6J("linkUrl",t.privacyPolicyLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",r.WLB(147,u,t.analyticCategoryName,t.privacyPolicyLabel)),r.xp6(15),r.Q6J("linkUrl",t.aaaGoogleMapsLink)("openNewTab",!0)("internalRoute",!1),r.xp6(3),r.Q6J("linkUrl",t.aaaWebLink)("openNewTab",!0)("internalRoute",!1),r.xp6(4),r.Q6J("linkUrl",t.aaaPhoneLink)("openNewTab",!0)("internalRoute",!1),r.xp6(34),r.Q6J("linkUrl",t.privacyPolicyLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",r.WLB(150,u,t.analyticCategoryName,t.privacyPolicyLabel)),r.xp6(20),r.Q6J("linkUrl",t.privacyPolicyLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",r.WLB(153,u,t.analyticCategoryName,t.privacyPolicyLabel)),r.xp6(5),r.Q6J("linkUrl",t.privacyPolicyLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",r.WLB(156,u,t.analyticCategoryName,t.privacyPolicyLabel)),r.xp6(5),r.Q6J("linkUrl",t.privacyPolicyLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",r.WLB(159,u,t.analyticCategoryName,t.privacyPolicyLabel)),r.xp6(5),r.Q6J("linkUrl",t.privacyPolicyLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",r.WLB(162,u,t.analyticCategoryName,t.privacyPolicyLabel)),r.xp6(5),r.Q6J("linkUrl",t.privacyPolicyLink)("openNewTab",t.openByModal)("internalRoute",t.internalRoute)("analytic",r.WLB(165,u,t.analyticCategoryName,t.privacyPolicyLabel)))},directives:[a.O5,l.c,c.e],styles:["[_nghost-%COMP%] .tou-container[_ngcontent-%COMP%]{color:#4e575e;margin:1rem auto;width:100%}[_nghost-%COMP%] .tou-container[_ngcontent-%COMP%] .address-link{width:42vw;text-align:left}[_nghost-%COMP%] .tou-container[_ngcontent-%COMP%] .address-link .text{white-space:inherit}[_nghost-%COMP%] .tou-container[_ngcontent-%COMP%] .bold-text[_ngcontent-%COMP%]{font-weight:800}[_nghost-%COMP%] .tou-container[_ngcontent-%COMP%] .tou-header[_ngcontent-%COMP%]{display:block;line-height:1.8rem;font-size:4.4vw;text-align:center;font-weight:800}[_nghost-%COMP%] .tou-container[_ngcontent-%COMP%] .tou-section-title[_ngcontent-%COMP%]{font-weight:800}[_nghost-%COMP%] .tou-container[_ngcontent-%COMP%] .tou-text[_ngcontent-%COMP%]{text-align:justify;color:#8f9aa3;font-size:3.6vw;line-height:1.4}[_nghost-%COMP%] .tou-container[_ngcontent-%COMP%] .tou-text[_ngcontent-%COMP%] .tou-left-align[_ngcontent-%COMP%]{text-align:left}@media screen and (min-width: 414px){[_nghost-%COMP%] .tou-container[_ngcontent-%COMP%] .address-link{width:9rem}[_nghost-%COMP%] .tou-container[_ngcontent-%COMP%] .tou-header[_ngcontent-%COMP%]{font-size:1rem}[_nghost-%COMP%] .tou-container[_ngcontent-%COMP%] .tou-text[_ngcontent-%COMP%]{font-size:.77rem}}"]}),e})()},797:function(e,t,n){"use strict";n.d(t,{b:function(){return E}});var i=n(20483),a=n(43740),o=n(37716),r=n(38583),s=n(22745),l=n(82701),c=n(19967),d=n(77519);function u(e,t){1&e&&o.GkF(0)}const p=function(e,t,n){return{color:e,"border-bottom":t,"text-decoration":n}},h=function(e,t){return{ariaLabel:e,tabindex:t}};function m(e,t){if(1&e&&(o._uU(0,"\n "),o.TgZ(1,"a",9),o._uU(2,"\n "),o.YNc(3,u,1,0,"ng-container",10),o._uU(4,"\n "),o.qZA(),o._uU(5,"\n ")),2&e){const e=o.oxw(),t=o.MAs(17);o.xp6(1),o.Gre("container ",e.className,""),o.Q6J("ngStyle",o.kEZ(12,p,e.colorHex,e.borderStyle,e.textDecorationStyle))("accessibility",o.WLB(16,h,e.ariaLabel,e.tabIndex))("dtmRouterLink",e.url)("analytic",e.analytic)("appTab",e.appTab)("id",e.elementId),o.uIk("qaid",e.qaid)("data-cy",e.qaid),o.xp6(2),o.Q6J("ngTemplateOutlet",t)}}function g(e,t){1&e&&o.GkF(0)}function f(e,t){if(1&e&&(o._uU(0,"\n "),o.TgZ(1,"a",11),o._uU(2,"\n "),o.YNc(3,g,1,0,"ng-container",10),o._uU(4,"\n "),o.qZA(),o._uU(5,"\n ")),2&e){const e=o.oxw(),t=o.MAs(17);o.xp6(1),o.Gre("container ",e.className,""),o.Q6J("ngStyle",o.kEZ(11,p,e.colorHex,e.borderStyle,e.textDecorationStyle))("accessibility",o.WLB(15,h,e.ariaLabel,e.tabIndex))("href",e.url,o.LSH)("analytic",e.analytic)("id",e.elementId),o.uIk("qaid",e.qaid)("data-cy",e.qaid),o.xp6(2),o.Q6J("ngTemplateOutlet",t)}}function y(e,t){1&e&&o.GkF(0)}function _(e,t){if(1&e&&(o._uU(0,"\n "),o.TgZ(1,"a",12),o._uU(2,"\n "),o.YNc(3,y,1,0,"ng-container",10),o._uU(4,"\n "),o.qZA(),o._uU(5,"\n ")),2&e){const e=o.oxw(),t=o.MAs(17);o.xp6(1),o.Gre("container ",e.className,""),o.Q6J("ngStyle",o.kEZ(12,p,e.colorHex,e.borderStyle,e.textDecorationStyle))("accessibility",o.WLB(16,h,e.ariaLabel,e.tabIndex))("href",e.url,o.LSH)("targetedLink",e.url)("analytic",e.analytic)("id",e.elementId),o.uIk("qaid",e.qaid)("data-cy",e.qaid),o.xp6(2),o.Q6J("ngTemplateOutlet",t)}}function A(e,t){1&e&&o.GkF(0)}function v(e,t){if(1&e&&(o._uU(0,"\n "),o.TgZ(1,"a",13),o._uU(2,"\n "),o.YNc(3,A,1,0,"ng-container",10),o._uU(4,"\n "),o.qZA(),o._uU(5,"\n ")),2&e){const e=o.oxw(),t=o.MAs(17);o.xp6(1),o.Gre("container ",e.className,""),o.Q6J("ngStyle",o.kEZ(10,p,e.colorHex,e.borderStyle,e.textDecorationStyle))("accessibility",o.WLB(14,h,e.ariaLabel,e.tabIndex))("analytic",e.analytic)("id",e.elementId),o.uIk("qaid",e.qaid)("data-cy",e.qaid),o.xp6(2),o.Q6J("ngTemplateOutlet",t)}}function b(e,t){1&e&&o.GkF(0)}const C=function(e,t){return{ariaLabel:e,ariaDynamicLabel$:t}};function w(e,t){if(1&e&&(o._uU(0,"\n "),o.TgZ(1,"button",14),o._uU(2,"\n "),o.YNc(3,b,1,0,"ng-container",10),o._uU(4,"\n "),o.qZA(),o._uU(5,"\n ")),2&e){const e=o.oxw(),t=o.MAs(20);o.xp6(1),o.Tol(e.className),o.s9C("type",e.type),o.Q6J("id",e.elementId)("analytic",e.analytic)("accessibility",o.WLB(11,C,e.ariaLabel,e.ariaDynamicLabel$))("disabled",e.disabled),o.uIk("qaid",e.qaid)("data-cy",e.qaid),o.xp6(2),o.Q6J("ngTemplateOutlet",t)}}function S(e,t){1&e&&o.GkF(0)}function k(e,t){if(1&e&&(o._uU(0,"\n "),o.TgZ(1,"button",15),o._uU(2,"\n "),o.YNc(3,S,1,0,"ng-container",10),o._uU(4,"\n "),o.qZA(),o._uU(5,"\n ")),2&e){const e=o.oxw(),t=o.MAs(20);o.xp6(1),o.Tol(e.className),o.s9C("type",e.type),o.Q6J("ngStyle",o.kEZ(12,p,e.colorHex,e.borderStyle,e.textDecorationStyle))("id",e.elementId)("analytic",e.analytic)("accessibility",o.WLB(16,C,e.ariaLabel,e.ariaDynamicLabel$))("disabled",e.disabled),o.uIk("qaid",e.qaid)("data-cy",e.qaid),o.xp6(2),o.Q6J("ngTemplateOutlet",t)}}const M=function(e){return{fill:e}};function P(e,t){if(1&e&&o._UZ(0,"span",20),2&e){const e=o.oxw(2);o.Q6J("includeSVG",e.icon)("ngStyle",o.VKq(2,M,e.colorHex))}}function O(e,t){if(1&e&&o._UZ(0,"span",21),2&e){const e=o.oxw(2);o.Q6J("includeSVG",e.icon)("ngStyle",o.VKq(2,M,e.colorHex))}}function U(e,t){if(1&e&&(o.TgZ(0,"span",22),o._uU(1),o.qZA()),2&e){const e=o.oxw(2);o.xp6(1),o.Oqu(e.textAfter)}}function I(e,t){if(1&e&&(o._uU(0,"\n "),o.YNc(1,P,1,4,"span",16),o._uU(2,"\n "),o.TgZ(3,"span",17),o._uU(4),o.qZA(),o._uU(5,"\n "),o.YNc(6,O,1,4,"span",18),o._uU(7,"\n "),o.YNc(8,U,2,1,"span",19),o._uU(9,"\n")),2&e){const e=o.oxw();o.xp6(1),o.Q6J("ngIf",e.hasIcon&&"left"===e.iconPosition),o.xp6(3),o.Oqu(e.text),o.xp6(2),o.Q6J("ngIf",e.hasIcon&&"right"===e.iconPosition),o.xp6(2),o.Q6J("ngIf",e.textAfter)}}function N(e,t){1&e&&(o._uU(0,"\n "),o.Hsn(1),o._uU(2,"\n "),o.TgZ(3,"div",23),o._uU(4,"\n "),o.Hsn(5,1),o._uU(6,"\n "),o.Hsn(7,2),o._uU(8,"\n "),o.Hsn(9,3),o._uU(10,"\n "),o.Hsn(11,4),o._uU(12,"\n "),o.qZA(),o._uU(13,"\n"))}const T=[[["",8,"offset-logo"]],[["",8,"icon-before"]],[["",8,"text-before"]],[["",8,"icon-after"]],[["",8,"text-after"]]],D=[".offset-logo",".icon-before",".text-before",".icon-after",".text-after"],x=n(13322);let E=(()=>{class e{constructor(e){this._el=e,this.text="",this.icon="",this.analytic={},this.type="button",this.iconPosition="left",this.color="blue",this.ariaLabel="",this.textAfter="",this.appTab=!1,this.underlineSize="border-med",this.tabIndex=null,this.linkButtonType=a.CY.InternalLink,this.useInlineLinkStyling=!1,this.disabled=!1,this.colorHex="",this.borderStyle="",this.textDecorationStyle="",this.hasIcon=!1,this._allowedColors=["blue","gray","ltBlue","medYellow","green","white","dkBlue"],this._borderBottomSize="2px"}ngOnInit(){if(-1===this._allowedColors.indexOf(this.color)&&(this.color=this._allowedColors[0]),i.cmp.isDefinedAndNotNull(x.Colors)){let e=Object.keys(x.Colors).reduce((e,t)=>[...x.Colors[t],...e],[]);this.colorHex=e.find(e=>e.name===this.color).value}if(i.cmp.isDefinedAndNotNull(x.Extras["Border Stroke Size"])){let e=x.Extras["Border Stroke Size"].find(e=>e.name===this.underlineSize);i.cmp.isNotEmpty(e)&&(this._borderBottomSize=e.value)}this.hasIcon=i.cmp.isNotEmpty(this.icon),i.cmp.isDefinedAndNotNull(this.className)&&this.className.includes("inline-block-link")&&(this.textDecorationStyle="none",this.hasIcon||(this.borderStyle=`${this._borderBottomSize} solid ${this.colorHex}`))}ngAfterViewInit(){i.cmp.isNotEmpty(this.elementId)&&this._addIdToElements()}_addIdToElements(){let e=this._el.nativeElement.getElementsByTagName(this.linkButtonType===a.CY.Button?"button":"a");i.cmp.isNotEmpty(e)&&i.cmp.isDefinedAndNotNull(e[0])&&e[0].setAttribute("id",this.elementId)}setFocus(){i.cmp.isNotEmpty(this.elementId)&&document.getElementById(this.elementId).focus()}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(o.SBq))},e.\u0275cmp=o.Xpm({type:e,selectors:[["dtm-link-button"]],inputs:{text:"text",icon:"icon",analytic:"analytic",url:"url",className:"className",qaid:"qaid",type:"type",iconPosition:"iconPosition",color:"color",ariaLabel:"ariaLabel",ariaDynamicLabel$:"ariaDynamicLabel$",textAfter:"textAfter",appTab:"appTab",underlineSize:"underlineSize",tabIndex:"tabIndex",elementId:"elementId",linkButtonType:"linkButtonType",useInlineLinkStyling:"useInlineLinkStyling",disabled:"disabled"},ngContentSelectors:D,decls:22,vars:1,consts:[[3,"ngPlural"],["ngPluralCase","=InternalLink"],["ngPluralCase","=ExternalLink"],["ngPluralCase","=ExternalLinkInNewTab"],["ngPluralCase","=NoUrlLink"],["ngPluralCase","=Button"],["ngPluralCase","=LinkStyledButton"],["linkContent",""],["buttonContent",""],[3,"ngStyle","accessibility","dtmRouterLink","analytic","appTab","id"],[4,"ngTemplateOutlet"],[3,"ngStyle","accessibility","href","analytic","id"],[3,"ngStyle","accessibility","href","targetedLink","analytic","id"],[3,"ngStyle","accessibility","analytic","id"],[3,"type","id","analytic","accessibility","disabled"],[3,"type","ngStyle","id","analytic","accessibility","disabled"],["class","icon left",3,"includeSVG","ngStyle",4,"ngIf"],[1,"text"],["class","icon right",3,"includeSVG","ngStyle",4,"ngIf"],["class","text-after",4,"ngIf"],[1,"icon","left",3,"includeSVG","ngStyle"],[1,"icon","right",3,"includeSVG","ngStyle"],[1,"text-after"],[1,"link-button-inner-content"]],template:function(e,t){1&e&&(o.F$t(T),o.TgZ(0,"span",0),o._uU(1,"\n "),o.YNc(2,m,6,19,"ng-template",1),o._uU(3,"\n "),o.YNc(4,f,6,18,"ng-template",2),o._uU(5,"\n "),o.YNc(6,_,6,19,"ng-template",3),o._uU(7,"\n "),o.YNc(8,v,6,17,"ng-template",4),o._uU(9,"\n "),o.YNc(10,w,6,14,"ng-template",5),o._uU(11,"\n"),o._uU(12,"\n "),o.YNc(13,k,6,19,"ng-template",6),o._uU(14,"\n"),o.qZA(),o._uU(15,"\n\n"),o.YNc(16,I,10,4,"ng-template",null,7,o.W1O),o._uU(18,"\n\n"),o.YNc(19,N,14,0,"ng-template",null,8,o.W1O),o._uU(21,"\n")),2&e&&o.Q6J("ngPlural",t.linkButtonType)},directives:[r.iq,r.zE,s.b,r.PC,l.z,c.e,r.tP,d.AK,r.O5,d.pw],styles:[".container[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;text-decoration:none}.container.inline-block-link[_ngcontent-%COMP%]{font-weight:600;text-decoration:none}.container.inline-block-link[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{white-space:nowrap}.container.inline-link[_ngcontent-%COMP%]{text-decoration:none}.container.inline-link-underline[_ngcontent-%COMP%]{text-decoration:underline}.container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{line-height:0;width:1.2em;height:1.2em;min-width:1.2em}.container[_ngcontent-%COMP%] .icon.left[_ngcontent-%COMP%]{margin-right:1.6vw}.container[_ngcontent-%COMP%] .icon.right[_ngcontent-%COMP%]{margin-left:1.6vw}.container[_ngcontent-%COMP%] .text-after[_ngcontent-%COMP%]{margin-left:1.6vw}@media screen and (min-width: 414px){.container[_ngcontent-%COMP%]{cursor:pointer}.container[_ngcontent-%COMP%] .icon.left[_ngcontent-%COMP%]{margin-right:.4rem}.container[_ngcontent-%COMP%] .icon.right[_ngcontent-%COMP%]{margin-left:.4rem}.container[_ngcontent-%COMP%] .text-after[_ngcontent-%COMP%]{margin-left:.4rem}}"]}),e})()},63204:function(e,t,n){"use strict";n.d(t,{c:function(){return L}});var i=n(20483),a=n(93165),o=n(37716),r=n(38583),s=n(22745),l=n(82701),c=n(19967),d=n(77519);function u(e,t){1&e&&o.GkF(0)}const p=function(e,t,n){return{color:e,"border-bottom":t,"text-decoration":n}},h=function(e,t){return{ariaLabel:e,tabindex:t}};function m(e,t){if(1&e&&(o.TgZ(0,"a",9),o._uU(1,"\n "),o.YNc(2,u,1,0,"ng-container",10),o._uU(3,"\n"),o.qZA()),2&e){const e=o.oxw(),t=o.MAs(17);o.Gre("container ",e.linkClass,""),o.Q6J("ngStyle",o.kEZ(12,p,e.colorHex,e.borderStyle,e.textDecorationStyle))("accessibility",o.WLB(16,h,e.ariaLabel,e.tabIndex))("dtmRouterLink",e.linkUrl)("analytic",e.analytic)("appTab",e.appTab),o.uIk("qaid",e.qaid)("data-cy",e.qaid)("itemprop",e.itempropType),o.xp6(2),o.Q6J("ngTemplateOutlet",t)}}function g(e,t){1&e&&o.GkF(0)}function f(e,t){if(1&e&&(o.TgZ(0,"a",11),o._uU(1,"\n "),o.YNc(2,g,1,0,"ng-container",10),o._uU(3,"\n"),o.qZA()),2&e){const e=o.oxw(),t=o.MAs(17);o.Gre("container ",e.linkClass,""),o.Q6J("ngStyle",o.kEZ(12,p,e.colorHex,e.borderStyle,e.textDecorationStyle))("accessibility",o.WLB(16,h,e.ariaLabel,e.tabIndex))("href",e.linkUrl+"#"+e.fragment,o.LSH)("analytic",e.analytic)("targetedLink",e.openNewTab?e.linkUrl+"#"+e.fragment:""),o.uIk("qaid",e.qaid)("data-cy",e.qaid)("itemprop",e.itempropType),o.xp6(2),o.Q6J("ngTemplateOutlet",t)}}function y(e,t){1&e&&o.GkF(0)}function _(e,t){if(1&e&&(o.TgZ(0,"a",12),o._uU(1,"\n "),o.YNc(2,y,1,0,"ng-container",10),o._uU(3,"\n"),o.qZA()),2&e){const e=o.oxw(),t=o.MAs(17);o.Gre("container ",e.linkClass,""),o.s9C("fragment",e.fragment),o.Q6J("ngStyle",o.kEZ(12,p,e.colorHex,e.borderStyle,e.textDecorationStyle))("accessibility",o.WLB(16,h,e.ariaLabel,e.tabIndex))("dtmRouterLink",e.linkUrl)("analytic",e.analytic),o.uIk("qaid",e.qaid)("data-cy",e.qaid)("itemprop",e.itempropType),o.xp6(2),o.Q6J("ngTemplateOutlet",t)}}function A(e,t){1&e&&o.GkF(0)}function v(e,t){if(1&e&&(o.TgZ(0,"a",13),o._uU(1,"\n "),o.YNc(2,A,1,0,"ng-container",10),o._uU(3,"\n"),o.qZA()),2&e){const e=o.oxw(),t=o.MAs(17);o.Gre("container ",e.linkClass,""),o.Q6J("ngStyle",o.kEZ(13,p,e.colorHex,e.borderStyle,e.textDecorationStyle))("accessibility",o.WLB(17,h,e.ariaLabel,e.tabIndex))("href",e.linkUrl,o.LSH)("targetedLink",e.openNewTab?e.linkUrl:"")("internalRoute",e.internalRoute)("analytic",e.analytic),o.uIk("qaid",e.qaid)("data-cy",e.qaid)("itemprop",e.itempropType),o.xp6(2),o.Q6J("ngTemplateOutlet",t)}}function b(e,t){1&e&&o.GkF(0)}function C(e,t){if(1&e&&(o.TgZ(0,"a",14),o._uU(1,"\n "),o.YNc(2,b,1,0,"ng-container",10),o._uU(3,"\n"),o.qZA()),2&e){const e=o.oxw(),t=o.MAs(17);o.Gre("container ",e.linkClass,""),o.Q6J("ngStyle",o.kEZ(11,p,e.colorHex,e.borderStyle,e.textDecorationStyle))("accessibility",o.WLB(15,h,e.ariaLabel,e.tabIndex))("href",e.linkUrl,o.LSH)("analytic",e.analytic),o.uIk("qaid",e.qaid)("data-cy",e.qaid)("itemprop",e.itempropType),o.xp6(2),o.Q6J("ngTemplateOutlet",t)}}function w(e,t){1&e&&o.GkF(0)}function S(e,t){if(1&e&&(o.TgZ(0,"a",15),o._uU(1,"\n "),o.YNc(2,w,1,0,"ng-container",10),o._uU(3,"\n"),o.qZA()),2&e){const e=o.oxw(),t=o.MAs(17);o.MT6("container ",e.linkClass," ",e.mapLinkClass,""),o.Q6J("ngStyle",o.kEZ(12,p,e.colorHex,e.borderStyle,e.textDecorationStyle))("accessibility",o.WLB(16,h,e.ariaLabel,e.tabIndex))("analytic",e.analytic)("dealershipMapDirections",e.mapLink),o.uIk("qaid",e.qaid)("data-cy",e.qaid)("itemprop",e.itempropType),o.xp6(2),o.Q6J("ngTemplateOutlet",t)}}function k(e,t){1&e&&o.GkF(0)}function M(e,t){if(1&e&&(o.TgZ(0,"a",16),o._uU(1,"\n "),o.YNc(2,k,1,0,"ng-container",10),o._uU(3,"\n"),o.qZA()),2&e){const e=o.oxw(),t=o.MAs(17);o.MT6("container ",e.linkClass," ",e.mapLinkClass,""),o.Q6J("ngStyle",o.kEZ(12,p,e.colorHex,e.borderStyle,e.textDecorationStyle))("accessibility",o.WLB(16,h,e.ariaLabel,e.tabIndex))("analytic",e.analytic)("dealershipMapLocation",e.mapLink),o.uIk("qaid",e.qaid)("data-cy",e.qaid)("itemprop",e.itempropType),o.xp6(2),o.Q6J("ngTemplateOutlet",t)}}function P(e,t){1&e&&o.GkF(0)}const O=function(e){return{disabled:e}};function U(e,t){if(1&e&&(o.TgZ(0,"a",17),o._uU(1,"\n "),o.YNc(2,P,1,0,"ng-container",10),o._uU(3,"\n"),o.qZA()),2&e){const e=o.oxw(),t=o.MAs(17);o.Gre("link-borderless-button container ",e.linkClass,""),o.Q6J("ngStyle",o.kEZ(11,p,e.colorHex,e.borderStyle,e.textDecorationStyle))("ngClass",o.VKq(15,O,e.disabled))("accessibility",o.WLB(17,h,e.ariaLabel,e.tabIndex))("analytic",e.analytic),o.uIk("qaid",e.qaid)("data-cy",e.qaid)("itemprop",e.itempropType),o.xp6(2),o.Q6J("ngTemplateOutlet",t)}}const I=function(e){return{fill:e}};function N(e,t){if(1&e&&o._UZ(0,"span",22),2&e){const e=o.oxw(2);o.Q6J("includeSVG",e.icon)("ngStyle",o.VKq(2,I,e.colorHex))}}function T(e,t){if(1&e&&o._UZ(0,"span",23),2&e){const e=o.oxw(2);o.Q6J("includeSVG",e.icon)("ngStyle",o.VKq(2,I,e.colorHex))}}function D(e,t){if(1&e&&(o.TgZ(0,"span",24),o._uU(1),o.qZA()),2&e){const e=o.oxw(2);o.xp6(1),o.Oqu(e.textAfter)}}function x(e,t){if(1&e&&(o._uU(0,"\n "),o.YNc(1,N,1,4,"span",18),o._uU(2,"\n "),o.TgZ(3,"span",19),o._uU(4),o.qZA(),o._uU(5,"\n "),o.YNc(6,T,1,4,"span",20),o._uU(7,"\n "),o.YNc(8,D,2,1,"span",21),o._uU(9,"\n")),2&e){const e=o.oxw();o.xp6(1),o.Q6J("ngIf",e.hasIcon&&"left"===e.iconPosition),o.xp6(3),o.Oqu(e.text),o.xp6(2),o.Q6J("ngIf",e.hasIcon&&"right"===e.iconPosition),o.xp6(2),o.Q6J("ngIf",e.textAfter)}}const E=n(13322);let L=(()=>{class e{constructor(){this.text="",this.icon="",this.iconPosition="left",this.linkClass="",this.color="blue",this.linkUrl="",this.openNewTab=!1,this.internalRoute=!0,this.itempropType=null,this.analytic={},this.qaid="",this.textAfter="",this.appTab=!1,this.underlineSize="border-med",this.tabIndex=null,this.fragment="",this.disabled=!1,this.colorHex="",this.borderStyle="",this.textDecorationStyle="",this.hasIcon=!1,this.isAMapLink=!1,this._allowedColors=["blue","gray","ltBlue","medYellow","green"],this.mapLinkClass=a.kF,this._borderBottomSize="2px"}ngOnInit(){if(-1===this._allowedColors.indexOf(this.color)&&(this.color=this._allowedColors[0]),i.cmp.isDefinedAndNotNull(E.Colors)){let e=Object.keys(E.Colors).reduce((e,t)=>[...E.Colors[t],...e],[]);this.colorHex=e.find(e=>e.name===this.color).value}if(i.cmp.isDefinedAndNotNull(E.Extras["Border Stroke Size"])){let e=E.Extras["Border Stroke Size"].find(e=>e.name===this.underlineSize);i.cmp.isNotEmpty(e)&&(this._borderBottomSize=e.value)}this.hasIcon=i.cmp.isNotEmpty(this.icon),"inline-block-link"===this.linkClass&&(this.textDecorationStyle="none",this.hasIcon||(this.borderStyle=`${this._borderBottomSize} solid ${this.colorHex}`)),i.cmp.isDefinedAndNotNull(this.mapLink)&&(this.isAMapLink=!0)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["dtm-link"]],inputs:{text:"text",icon:"icon",iconPosition:"iconPosition",linkClass:"linkClass",color:"color",linkUrl:"linkUrl",openNewTab:"openNewTab",internalRoute:"internalRoute",itempropType:"itempropType",analytic:"analytic",qaid:"qaid",mapType:"mapType",textAfter:"textAfter",mapLink:"mapLink",appTab:"appTab",underlineSize:"underlineSize",ariaLabel:"ariaLabel",tabIndex:"tabIndex",fragment:"fragment",disabled:"disabled"},decls:19,vars:8,consts:[[3,"class","ngStyle","accessibility","dtmRouterLink","analytic","appTab",4,"ngIf"],[3,"class","ngStyle","accessibility","href","analytic","targetedLink",4,"ngIf"],[3,"class","ngStyle","accessibility","dtmRouterLink","analytic","fragment",4,"ngIf"],[3,"class","ngStyle","accessibility","href","targetedLink","internalRoute","analytic",4,"ngIf"],[3,"class","ngStyle","accessibility","href","analytic",4,"ngIf"],[3,"class","ngStyle","accessibility","analytic","dealershipMapDirections",4,"ngIf"],[3,"class","ngStyle","accessibility","analytic","dealershipMapLocation",4,"ngIf"],[3,"class","ngStyle","ngClass","accessibility","analytic",4,"ngIf"],["content",""],[3,"ngStyle","accessibility","dtmRouterLink","analytic","appTab"],[4,"ngTemplateOutlet"],[3,"ngStyle","accessibility","href","analytic","targetedLink"],[3,"ngStyle","accessibility","dtmRouterLink","analytic","fragment"],[3,"ngStyle","accessibility","href","targetedLink","internalRoute","analytic"],[3,"ngStyle","accessibility","href","analytic"],[3,"ngStyle","accessibility","analytic","dealershipMapDirections"],[3,"ngStyle","accessibility","analytic","dealershipMapLocation"],[3,"ngStyle","ngClass","accessibility","analytic"],["class","icon left",3,"includeSVG","ngStyle",4,"ngIf"],[1,"text"],["class","icon right",3,"includeSVG","ngStyle",4,"ngIf"],["class","text-after",4,"ngIf"],[1,"icon","left",3,"includeSVG","ngStyle"],[1,"icon","right",3,"includeSVG","ngStyle"],[1,"text-after"]],template:function(e,t){1&e&&(o.YNc(0,m,4,19,"a",0),o._uU(1,"\n\n"),o.YNc(2,f,4,19,"a",1),o._uU(3,"\n\n"),o.YNc(4,_,4,19,"a",2),o._uU(5,"\n\n"),o.YNc(6,v,4,20,"a",3),o._uU(7,"\n\n"),o.YNc(8,C,4,18,"a",4),o._uU(9,"\n\n"),o.YNc(10,S,4,19,"a",5),o._uU(11,"\n\n"),o.YNc(12,M,4,19,"a",6),o._uU(13,"\n\n"),o.YNc(14,U,4,20,"a",7),o._uU(15,"\n\n"),o.YNc(16,x,10,4,"ng-template",null,8,o.W1O),o._uU(18,"\n")),2&e&&(o.Q6J("ngIf",t.linkUrl&&t.internalRoute&&!t.openNewTab&&!t.isAMapLink&&!t.fragment),o.xp6(2),o.Q6J("ngIf",t.linkUrl&&t.internalRoute&&t.openNewTab&&!t.isAMapLink&&t.fragment),o.xp6(2),o.Q6J("ngIf",t.linkUrl&&t.internalRoute&&!t.openNewTab&&!t.isAMapLink&&t.fragment),o.xp6(2),o.Q6J("ngIf",t.linkUrl&&!t.internalRoute&&t.openNewTab&&!t.isAMapLink),o.xp6(2),o.Q6J("ngIf",t.linkUrl&&!t.internalRoute&&!t.openNewTab&&!t.isAMapLink),o.xp6(2),o.Q6J("ngIf",t.isAMapLink&&"directions"===t.mapType),o.xp6(2),o.Q6J("ngIf",t.isAMapLink&&"location"===t.mapType),o.xp6(2),o.Q6J("ngIf",!t.linkUrl&&!t.isAMapLink))},directives:[r.O5,s.b,r.PC,l.z,c.e,r.tP,d.AK,d.Ye,r.mk,d.pw],styles:["[_nghost-%COMP%]{display:inline-flex;justify-content:center}[_nghost-%COMP%] .container[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer}[_nghost-%COMP%] .container.link-borderless-button.disabled[_ngcontent-%COMP%]{color:#fff!important}[_nghost-%COMP%] .container.link-borderless-button.disabled[_ngcontent-%COMP%] span.icon[_ngcontent-%COMP%]{fill:#fff!important}[_nghost-%COMP%] .container.disabled[_ngcontent-%COMP%]{pointer-events:none}[_nghost-%COMP%] .container.inline-block-link[_ngcontent-%COMP%]{font-weight:600;text-decoration:none}[_nghost-%COMP%] .container.inline-block-link[_ngcontent-%COMP%] .text[_ngcontent-%COMP%]{white-space:nowrap}[_nghost-%COMP%] .container.inline-link[_ngcontent-%COMP%]{text-decoration:none}[_nghost-%COMP%] .container.inline-link-underline[_ngcontent-%COMP%]{text-decoration:underline}[_nghost-%COMP%] .container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{line-height:0;width:1.2em;height:1.2em;min-width:1.2em}[_nghost-%COMP%] .container[_ngcontent-%COMP%] .icon.left[_ngcontent-%COMP%]{margin-right:1.6vw}[_nghost-%COMP%] .container[_ngcontent-%COMP%] .icon.right[_ngcontent-%COMP%]{margin-left:1.6vw}[_nghost-%COMP%] .container[_ngcontent-%COMP%] .text-after[_ngcontent-%COMP%]{margin-left:1.6vw}@media screen and (min-width: 414px){[_nghost-%COMP%] .container[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%] .container[_ngcontent-%COMP%] .icon.left[_ngcontent-%COMP%]{margin-right:.4rem}[_nghost-%COMP%] .container[_ngcontent-%COMP%] .icon.right[_ngcontent-%COMP%]{margin-left:.4rem}[_nghost-%COMP%] .container[_ngcontent-%COMP%] .text-after[_ngcontent-%COMP%]{margin-left:.4rem}}"]}),e})()},90697:function(e,t,n){"use strict";n.d(t,{wN:function(){return a.w},io:function(){return i.i},$q:function(){return s}});var i=n(70056),a=n(15153),o=n(37716);const r=["*"];let s=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=o.Xpm({type:e,selectors:[["dtm-text-overlay-loader"]],inputs:{class:"class",isLoading:"isLoading"},ngContentSelectors:r,decls:8,vars:6,template:function(e,t){1&e&&(o.F$t(),o.TgZ(0,"div"),o._uU(1,"\n "),o.TgZ(2,"div"),o._uU(3,"\n "),o.Hsn(4),o._uU(5,"\n "),o.qZA(),o._uU(6,"\n"),o.qZA(),o._uU(7,"\n")),2&e&&(o.Gre("base ",t.isLoading?"show":"hide",""),o.xp6(2),o.Gre("text-overlay-container ",t.class,""))},styles:["@keyframes loadgrow{0%{height:0;opacity:0;width:0}to{height:10em;opacity:1;width:10em}}@keyframes expandout{0%{width:0}to{width:100%}}@keyframes scale-up{0%{transform:scale(0);transform-origin:center}to{transform:scale(1);transform-origin:center}}@keyframes fillcircle{0%{border-bottom:1.1em solid rgba(181,233,212,.8)}50%{border-right:1.1em solid rgba(181,233,212,.8)}to{border-top:1.1em solid rgba(181,233,212,.8)}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:0}}@keyframes fade-in-out{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes fade-in-out-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes pulse-half-opacity{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes pulse-half-border{0%{border-color:#f74e50}50%{border-color:#f74e5080}to{border-color:#f74e50}}@keyframes fade-in-out-scroll{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}@keyframes rotate-horizontal{0%{transform:rotateY(-180deg)}80%{transform:rotateY(-180deg)}to{transform:rotateY(0)}}@keyframes loaderrotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-rank-spinner-excellent{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-4deg)}to{opacity:1;transform:rotate(-10deg)}}@keyframes rotate-rank-spinner-excellent-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes rotate-rank-spinner-good{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-52deg)}to{opacity:1;transform:rotate(-60deg)}}@keyframes rotate-rank-spinner-good-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-62deg)}to{opacity:1;transform:rotate(-70deg)}}@keyframes rotate-rank-spinner-fair{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-97deg)}to{opacity:1;transform:rotate(-105deg)}}@keyframes rotate-rank-spinner-fair-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-115deg)}to{opacity:1;transform:rotate(-110deg)}}@keyframes rotate-rank-spinner-low{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-142deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-150deg)}}@keyframes rotate-rank-spinner-low-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-163deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-170deg)}}@keyframes rotate-rank-spinner-error{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes pulse-credit-rank-spinner{0%{transform:scale(1)}50%{backface-visibility:hidden;transform:scale(1.1)}to{transform:scale(1)}}@keyframes pulse{0%{opacity:0;transform:scale(.3)}25%{opacity:.1;transform:scale(.5)}50%{opacity:.3;transform:scale(.7)}75%{opacity:.5;transform:scale(.8)}to{opacity:0;transform:scale(1)}}@keyframes pulse-text-overlay{0%{opacity:.8}50%{opacity:.875}to{opacity:.95}}@keyframes barloader{0%{left:50%;width:0;z-index:100}33%{left:0;width:100%;z-index:10}to{left:0;width:100%}}@keyframes dot-circles{0%,80%,to{box-shadow:0 2.5rem 0 -1.3em}40%{box-shadow:0 2.5rem}}@keyframes model-svg-animation-draw{to{stroke-dashoffset:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes middleSlideUp{0%{transform:translate(-50%,100%)}to{transform:translate(-50%,-50%)}}@keyframes beat{0%{transform:scale(1)}50%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes synapse-expand{0%{opacity:0;transform:scale(.2)}to{opacity:.7;transform:scale(1)}}@keyframes genius-fade{0%{stroke-opacity:1}90%{stroke-opacity:1}to{stroke-opacity:0}}@keyframes genius-animate-0{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-1{18%{stroke-dashoffset:2690}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-2{18%{stroke-dashoffset:2120}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-3{18%{stroke-dashoffset:548}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-4{18%{stroke-dashoffset:68}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-5{18%{stroke-dashoffset:241}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-6{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-7{18%{stroke-dashoffset:2350}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-8{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-9{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes checkAnimation{to{stroke-dashoffset:0}}@keyframes speedTextAnimation{0%{margin-left:-200%}to{margin-left:0%}}@keyframes enter-toast{0%{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes exit-toast{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}@keyframes rotate-90-righty{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes rotate-90-lefty{0%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes rotate-45-righty{0%{transform:rotate(0)}to{transform:rotate(45deg)}}@keyframes rotate-45-lefty{0%{transform:rotate(45deg)}to{transform:rotate(0)}}.text-overlay-container[_ngcontent-%COMP%]{font-weight:800;font-size:4.4vw;color:#0c2340;position:absolute;top:0;left:0;width:100%;height:100%;z-index:9;background:white;opacity:.8;animation:1s pulse-text-overlay alternate infinite;align-items:center;display:flex;justify-content:center}.base[_ngcontent-%COMP%]{animation:.6 fadein}.show[_ngcontent-%COMP%]{display:block}.hide[_ngcontent-%COMP%]{display:none}@media screen and (min-width: 414px){.text-overlay-container[_ngcontent-%COMP%]{font-size:1rem}}"]}),e})()},15153:function(e,t,n){"use strict";n.d(t,{w:function(){return r}});var i=n(37716),a=n(38583);function o(e,t){if(1&e&&(i.TgZ(0,"div"),i._uU(1,"\n "),i._UZ(2,"div",1),i._uU(3,"\n"),i.qZA()),2&e){const e=i.oxw();i.Gre("dot-loader-container ",e.class,"")}}let r=(()=>{class e{constructor(){this.isLoaded=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-dot-loader"]],inputs:{isLoaded:"isLoaded",class:"class"},decls:1,vars:1,consts:[[3,"class",4,"ngIf"],[1,"dot-loader"]],template:function(e,t){1&e&&i.YNc(0,o,4,3,"div",0),2&e&&i.Q6J("ngIf",!t.isLoaded)},directives:[a.O5],styles:['.dot-loader-container[_ngcontent-%COMP%]{margin:0 auto}.dot-loader-container[_ngcontent-%COMP%] .dot-loader[_ngcontent-%COMP%], .dot-loader-container[_ngcontent-%COMP%] .dot-loader[_ngcontent-%COMP%]:before, .dot-loader-container[_ngcontent-%COMP%] .dot-loader[_ngcontent-%COMP%]:after{border-radius:50%;width:1.3rem;height:1.3rem;animation-fill-mode:both;animation:dot-circles 1.8s infinite ease-in-out}.dot-loader-container[_ngcontent-%COMP%] .dot-loader[_ngcontent-%COMP%]{position:absolute;top:calc(50% - 2.5rem);left:50%;transform:translate(-50%,-50%);color:#b5e9d4;font-size:.625rem;animation-delay:-.16s}.dot-loader-container[_ngcontent-%COMP%] .dot-loader[_ngcontent-%COMP%]:before, .dot-loader-container[_ngcontent-%COMP%] .dot-loader[_ngcontent-%COMP%]:after{content:"";position:absolute;top:0}.dot-loader-container[_ngcontent-%COMP%] .dot-loader[_ngcontent-%COMP%]:before{left:-2.7rem;animation-delay:-.32s}.dot-loader-container[_ngcontent-%COMP%] .dot-loader[_ngcontent-%COMP%]:after{left:2.7rem}']}),e})()},70056:function(e,t,n){"use strict";n.d(t,{i:function(){return w}});var i=n(26215),a=n(79765),o=n(9112),r=n(46782),s=n(45435),l=n(31184),c=n(18246),d=n(70764),u=n(37716),p=n(38583),h=n(67041),m=n(46917),g=n(98800);function f(e,t){if(1&e&&(u.TgZ(0,"p",411),u._uU(1,"Calculating your\n terms"),u._UZ(2,"br"),u._uU(3),u.ALo(4,"number"),u.qZA()),2&e){const e=u.oxw();u.xp6(3),u.hij("on ",u.lcZ(4,1,e.nationwideVehicleCount)," cars")}}function y(e,t){if(1&e&&(u.TgZ(0,"p",411),u._uU(1,"Calculating your\n terms on"),u._UZ(2,"br"),u._uU(3),u.ALo(4,"number"),u.qZA()),2&e){const e=u.oxw();u.xp6(3),u.hij("",u.lcZ(4,1,e.nationwideVehicleCount)," cars")}}function _(e,t){1&e&&(u.TgZ(0,"p",412),u._uU(1,"Unlocking your\n real deal"),u._UZ(2,"br"),u._uU(3,"on every car!"),u.qZA())}function A(e,t){1&e&&(u.TgZ(0,"p",412),u._uU(1,"Unlocking your\n real deal on"),u._UZ(2,"br"),u._uU(3,"every car!"),u.qZA())}let v=(()=>{class e{constructor(e,t,n,i){this._document=e,this._appConfig=t,this.screenSizeService=n,this._rendererService=i,this.firstName="YourFirstName",this.lastName="YourLastName",this.nationwideVehicleCount=1}ngOnInit(){this._appConfig.isBrowser&&(this._addP1Script(),this._addP2Script())}_addP1Script(){this._rendererService.renderScript("ga2P1LoaderSvg",this._document.head)}_addP2Script(){this._rendererService.renderScript("ga2P2LoaderSvg",this._document.head)}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(p.K0),u.Y36(h._),u.Y36(g.O),u.Y36(m.y))},e.\u0275cmp=u.Xpm({type:e,selectors:[["dtm-loader-mini-cert"]],inputs:{firstName:"firstName",lastName:"lastName",nationwideVehicleCount:"nationwideVehicleCount"},decls:1186,vars:16,consts:[[1,"mini-cert-frame"],["role","img","aria-live","polite","aria-label","Three step loading animation",1,"mini-cert-container"],[1,"mini-cert-header"],[1,"reviewing-your-info"],["class","calculating-your-terms-on-XXXX-cars",4,"ngIf"],["class","unlocking-your-real-deal-on-every-car",4,"ngIf"],[1,"mini-cert-animations"],["id","ezRX7ubxyVL1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","-13 -14 300 400","shape-rendering","geometricPrecision","text-rendering","geometricPrecision",1,"first-animation"],["id","ezRX7ubxyVL2-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","ezRX7ubxyVL2-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","ezRX7ubxyVL2-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","ezRX7ubxyVL2-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0.5)"],["id","ezRX7ubxyVL2-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","ezRX7ubxyVL2-filter-drop-shadow-0-merge"],["id","ezRX7ubxyVL2-filter-drop-shadow-0-merge-node-1"],["id","ezRX7ubxyVL2-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","ezRX7ubxyVL18-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","ezRX7ubxyVL18-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","0,0"],["id","ezRX7ubxyVL18-filter-drop-shadow-0-offset","dx","0","dy","0","result","tmp"],["id","ezRX7ubxyVL18-filter-drop-shadow-0-flood","flood-color","rgba(0,0,0,0)"],["id","ezRX7ubxyVL18-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","ezRX7ubxyVL18-filter-drop-shadow-0-merge"],["id","ezRX7ubxyVL18-filter-drop-shadow-0-merge-node-1"],["id","ezRX7ubxyVL18-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","ezRX7ubxyVL18-fill-g1","x1","0","y1","0.5","x2","1","y2","0.5","spreadMethod","pad","gradientUnits","objectBoundingBox","gradientTransform","translate(0 0)"],["id","ezRX7ubxyVL18-fill-g1-0","offset","0%","stop-color","#00abe8"],["id","ezRX7ubxyVL18-fill-g1-1","offset","100%","stop-color","#4e04c4"],["id","ezRX7ubxyVL33-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","ezRX7ubxyVL33-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","0,0"],["id","ezRX7ubxyVL33-filter-drop-shadow-0-offset","dx","0","dy","0","result","tmp"],["id","ezRX7ubxyVL33-filter-drop-shadow-0-flood","flood-color","rgba(0,0,0,0)"],["id","ezRX7ubxyVL33-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","ezRX7ubxyVL33-filter-drop-shadow-0-merge"],["id","ezRX7ubxyVL33-filter-drop-shadow-0-merge-node-1"],["id","ezRX7ubxyVL33-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","ezRX7ubxyVL33-fill-g1","x1","0","y1","0.5","x2","1","y2","0.5","spreadMethod","pad","gradientUnits","objectBoundingBox","gradientTransform","translate(0 0)"],["id","ezRX7ubxyVL33-fill-g1-0","offset","0%","stop-color","#00abe8"],["id","ezRX7ubxyVL33-fill-g1-1","offset","100%","stop-color","#4e04c4"],["id","ezRX7ubxyVL45-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","ezRX7ubxyVL45-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","ezRX7ubxyVL45-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","ezRX7ubxyVL45-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0.5)"],["id","ezRX7ubxyVL45-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","ezRX7ubxyVL45-filter-drop-shadow-0-merge"],["id","ezRX7ubxyVL45-filter-drop-shadow-0-merge-node-1"],["id","ezRX7ubxyVL45-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","ezRX7ubxyVL45-fill","x1","137.6","y1","-23.32","x2","98.84","y2","102.14","spreadMethod","pad","gradientUnits","userSpaceOnUse","gradientTransform","translate(0 0)"],["id","ezRX7ubxyVL45-fill-0","offset","0%","stop-color","#00abe8"],["id","ezRX7ubxyVL45-fill-1","offset","100%","stop-color","#4e04c4"],["id","ezRX7ubxyVL70-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","ezRX7ubxyVL70-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","ezRX7ubxyVL70-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","ezRX7ubxyVL70-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0.5)"],["id","ezRX7ubxyVL70-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","ezRX7ubxyVL70-filter-drop-shadow-0-merge"],["id","ezRX7ubxyVL70-filter-drop-shadow-0-merge-node-1"],["id","ezRX7ubxyVL70-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","ezRX7ubxyVL71-fill","x1","75.46","y1","9.94","x2","25.46","y2","96.34","spreadMethod","pad","gradientUnits","userSpaceOnUse","gradientTransform","translate(0 0)"],["id","ezRX7ubxyVL71-fill-0","offset","0%","stop-color","#00abe8"],["id","ezRX7ubxyVL71-fill-1","offset","100%","stop-color","#4e04c4"],["id","ezRX7ubxyVL79-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","ezRX7ubxyVL79-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","ezRX7ubxyVL79-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","ezRX7ubxyVL79-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0.5)"],["id","ezRX7ubxyVL79-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","ezRX7ubxyVL79-filter-drop-shadow-0-merge"],["id","ezRX7ubxyVL79-filter-drop-shadow-0-merge-node-1"],["id","ezRX7ubxyVL79-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","ezRX7ubxyVL80-fill","x1","75.46","y1","9.94","x2","25.46","y2","96.34","spreadMethod","pad","gradientUnits","userSpaceOnUse","gradientTransform","translate(0 0)"],["id","ezRX7ubxyVL80-fill-0","offset","0%","stop-color","#00abe8"],["id","ezRX7ubxyVL80-fill-1","offset","100%","stop-color","#4e04c4"],["id","ezRX7ubxyVL88-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","ezRX7ubxyVL88-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","ezRX7ubxyVL88-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","ezRX7ubxyVL88-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0.5)"],["id","ezRX7ubxyVL88-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","ezRX7ubxyVL88-filter-drop-shadow-0-merge"],["id","ezRX7ubxyVL88-filter-drop-shadow-0-merge-node-1"],["id","ezRX7ubxyVL88-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","ezRX7ubxyVL89-fill","x1","75.46","y1","9.94","x2","25.46","y2","96.34","spreadMethod","pad","gradientUnits","userSpaceOnUse","gradientTransform","translate(0 0)"],["id","ezRX7ubxyVL89-fill-0","offset","0%","stop-color","#00abe8"],["id","ezRX7ubxyVL89-fill-1","offset","100%","stop-color","#4e04c4"],["id","ezRX7ubxyVL97-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","ezRX7ubxyVL97-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","ezRX7ubxyVL97-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","ezRX7ubxyVL97-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0.5)"],["id","ezRX7ubxyVL97-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","ezRX7ubxyVL97-filter-drop-shadow-0-merge"],["id","ezRX7ubxyVL97-filter-drop-shadow-0-merge-node-1"],["id","ezRX7ubxyVL97-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","ezRX7ubxyVL98-fill","x1","75.46","y1","9.94","x2","25.46","y2","96.34","spreadMethod","pad","gradientUnits","userSpaceOnUse","gradientTransform","translate(0 0)"],["id","ezRX7ubxyVL98-fill-0","offset","0%","stop-color","#00abe8"],["id","ezRX7ubxyVL98-fill-1","offset","100%","stop-color","#4e04c4"],["id","ezRX7ubxyVL106-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","ezRX7ubxyVL106-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","ezRX7ubxyVL106-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","ezRX7ubxyVL106-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0.5)"],["id","ezRX7ubxyVL106-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","ezRX7ubxyVL106-filter-drop-shadow-0-merge"],["id","ezRX7ubxyVL106-filter-drop-shadow-0-merge-node-1"],["id","ezRX7ubxyVL106-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","ezRX7ubxyVL107-fill","x1","75.46","y1","9.94","x2","25.46","y2","96.34","spreadMethod","pad","gradientUnits","userSpaceOnUse","gradientTransform","translate(0 0)"],["id","ezRX7ubxyVL107-fill-0","offset","0%","stop-color","#00abe8"],["id","ezRX7ubxyVL107-fill-1","offset","100%","stop-color","#4e04c4"],["id","ezRX7ubxyVL115-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","ezRX7ubxyVL115-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","ezRX7ubxyVL115-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","ezRX7ubxyVL115-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0.5)"],["id","ezRX7ubxyVL115-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","ezRX7ubxyVL115-filter-drop-shadow-0-merge"],["id","ezRX7ubxyVL115-filter-drop-shadow-0-merge-node-1"],["id","ezRX7ubxyVL115-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","ezRX7ubxyVL116-fill","x1","89.04","y1","11.75","x2","30.04","y2","114.95","spreadMethod","pad","gradientUnits","userSpaceOnUse","gradientTransform","translate(0 0)"],["id","ezRX7ubxyVL116-fill-0","offset","0%","stop-color","#00abe8"],["id","ezRX7ubxyVL116-fill-1","offset","100%","stop-color","#4e04c4"],["id","ezRX7ubxyVL124-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","ezRX7ubxyVL124-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","ezRX7ubxyVL124-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","ezRX7ubxyVL124-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0.5)"],["id","ezRX7ubxyVL124-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","ezRX7ubxyVL124-filter-drop-shadow-0-merge"],["id","ezRX7ubxyVL124-filter-drop-shadow-0-merge-node-1"],["id","ezRX7ubxyVL124-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","ezRX7ubxyVL125-fill","x1","74.8","y1","9.94","x2","25.8","y2","96.34","spreadMethod","pad","gradientUnits","userSpaceOnUse","gradientTransform","translate(0 0)"],["id","ezRX7ubxyVL125-fill-0","offset","0%","stop-color","#00abe8"],["id","ezRX7ubxyVL125-fill-1","offset","100%","stop-color","#4e04c4"],["id","ezRX7ubxyVL138-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","ezRX7ubxyVL138-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","ezRX7ubxyVL138-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","ezRX7ubxyVL138-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0.5)"],["id","ezRX7ubxyVL138-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","ezRX7ubxyVL138-filter-drop-shadow-0-merge"],["id","ezRX7ubxyVL138-filter-drop-shadow-0-merge-node-1"],["id","ezRX7ubxyVL138-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","ezRX7ubxyVL139-fill","x1","89.04","y1","11.75","x2","30.04","y2","114.95","spreadMethod","pad","gradientUnits","userSpaceOnUse","gradientTransform","translate(0 0)"],["id","ezRX7ubxyVL139-fill-0","offset","0%","stop-color","#00abe8"],["id","ezRX7ubxyVL139-fill-1","offset","100%","stop-color","#4e04c4"],["width","260","height","362","rx","15","ry","15","transform","translate(7 4.732807)","filter","url(#ezRX7ubxyVL2-filter)","fill","#fff"],["id","ezRX7ubxyVL3","transform","translate(-.642927-17.456318)"],["d","M44.5,342.5h186c.55,0,1,.45,1,1v0c0,.55-.45,1-1,1h-186c-.55,0-1-.45-1-1v0c0-.55.45-1,1-1Z","fill","#c4eafa"],["d","M98,325.5h32c1.38,0,2.5,1.12,2.5,2.5v0c0,1.38-1.12,2.5-2.5,2.5h-32c-1.38,0-2.5-1.12-2.5-2.5v0c0-1.38,1.12-2.5,2.5-2.5Z","fill","#c4eafa"],["d","M98,317.5h123c1.38,0,2.5,1.12,2.5,2.5v0c0,1.38-1.12,2.5-2.5,2.5h-123c-1.38,0-2.5-1.12-2.5-2.5v0c0-1.38,1.12-2.5,2.5-2.5Z","fill","#c4eafa"],["rx","10","ry","9.5","transform","translate(53.5 324)","fill","#c4eafa"],["d","M44.5,303.5h186c.55,0,1,.45,1,1v0c0,.55-.45,1-1,1h-186c-.55,0-1-.45-1-1v0c0-.55.45-1,1-1Z","fill","#c4eafa"],["d","M98,286.5h32c1.38,0,2.5,1.12,2.5,2.5v0c0,1.38-1.12,2.5-2.5,2.5h-32c-1.38,0-2.5-1.12-2.5-2.5v0c0-1.38,1.12-2.5,2.5-2.5Z","fill","#c4eafa"],["d","M98,278.5h123c1.38,0,2.5,1.12,2.5,2.5v0c0,1.38-1.12,2.5-2.5,2.5h-123c-1.38,0-2.5-1.12-2.5-2.5v0c0-1.38,1.12-2.5,2.5-2.5Z","fill","#c4eafa"],["rx","10","ry","9.5","transform","translate(53.5 285)","fill","#c4eafa"],["id","ezRX7ubxyVL16","transform","translate(-1.414014-17.456318)","opacity","0.4"],["id","ezRX7ubxyVL18","d","M0,15C0,6.715729,6.715729,0,15,0h55c8.284271,0,15,6.715729,15,15v37c0,8.284271-6.715729,15-15,15h-55C6.715729,67,0,60.284271,0,52v-37Z","transform","translate(148.042171 191.271085)","filter","url(#ezRX7ubxyVL18-filter)","fill","#c4eafa"],["id","ezRX7ubxyVL20","d","M0,2c0-1.104569.895431-2,2-2h13c1.104569,0,2,.895431,2,2v12c0,1.104569-.895431,2-2,2h-13c-1.104569,0-2-.895431-2-2L0,2Z","transform","translate(201.372547 226.5)","opacity","0.4","fill","#075078",2,"isolation","isolate"],["id","ezRX7ubxyVL21","d","M0,2c0-1.104569.895431-2,2-2h13c1.104569,0,2,.895431,2,2v12c0,1.104569-.895431,2-2,2h-13c-1.104569,0-2-.895431-2-2L0,2Z","transform","translate(181.5 226.5)","opacity","0.4","fill","#075078",2,"isolation","isolate"],["id","ezRX7ubxyVL22","d","M0,2c0-1.104569.895431-2,2-2h13c1.104569,0,2,.895431,2,2v12c0,1.104569-.895431,2-2,2h-13c-1.104569,0-2-.895431-2-2L0,2Z","transform","translate(161.5 226.5)","opacity","0.4","fill","#075078",2,"isolation","isolate"],["id","ezRX7ubxyVL23","width","56","height","15","rx","2","ry","2","transform","translate(161.5 204.032671)","opacity","0.4","fill","#075078",2,"isolation","isolate"],["id","ezRX7ubxyVL24","transform","translate(32.042171 190)","opacity","0",2,"isolation","isolate"],["points","140.42,14.25 137.35,21.21 134.25,14.25 132.42,14.25 132.42,23.77 134.32,23.77 134.32,18.56 136.71,23.77 137.93,23.77 140.36,18.49 140.36,23.77 142.26,23.77 142.26,14.25 140.42,14.25","fill","#fff"],["d","M147.34,23.91c-.73,0-1.36-.14-1.9-.43s-.95-.7-1.24-1.23-.44-1.17-.44-1.9.15-1.37.44-1.89.71-.93,1.24-1.22c.54-.29,1.17-.44,1.91-.44s1.36.15,1.9.44.95.7,1.24,1.24c.29.53.44,1.16.44,1.88s-.15,1.37-.44,1.9-.71.94-1.24,1.23-1.17.43-1.91.43Zm.01-1.53c.46,0,.83-.16,1.11-.49s.42-.84.42-1.53-.14-1.22-.42-1.55-.65-.49-1.11-.49-.84.16-1.12.49-.42.84-.42,1.55.14,1.2.41,1.53.65.49,1.13.49Z","fill","#fff"],["d","M152.24,23.77v-5.06c0-.3,0-.59-.02-.89-.01-.3-.04-.59-.09-.88h1.97l.15,1.27h-.16c.22-.45.55-.8.96-1.05.42-.25.9-.37,1.44-.37.8,0,1.4.23,1.8.7s.6,1.18.6,2.15v4.13h-2.04v-4.04c0-.5-.09-.85-.28-1.05s-.45-.31-.8-.31c-.45,0-.81.14-1.09.43s-.41.66-.41,1.14v3.83h-2.04Z","fill","#fff"],["d","M163.72,23.91c-.89,0-1.56-.22-2.01-.66s-.67-1.11-.67-2.01v-2.79h-1.3v-1.5h1.3v-1.69l2.04-.5v2.19h1.75v1.5h-1.75v2.7c0,.43.09.73.27.89s.41.24.7.24c.16,0,.3-.01.42-.04s.23-.06.35-.11v1.59c-.17.07-.35.12-.54.15s-.37.04-.55.04Z","fill","#fff"],["d","M165.86,23.77v-9.93h2.04v4.39h-.19c.22-.46.54-.81.96-1.06s.9-.37,1.44-.37c.82,0,1.42.23,1.82.7.39.46.59,1.17.59,2.13v4.16h-2.04v-4.06c0-.48-.09-.82-.26-1.03-.18-.21-.45-.31-.82-.31-.45,0-.81.14-1.09.42s-.41.65-.41,1.12v3.86h-2.04Z","fill","#fff"],["d","M174.13,23.77v-9.93h2.04v9.94h-2.04Z","fill","#fff"],["d","M177.79,26.84l-.47-1.59c.42-.09.78-.19,1.07-.29s.53-.24.71-.42c.19-.18.35-.41.47-.7l.32-.78-.04.78-2.98-6.9h2.16l1.94,4.94h-.42l1.99-4.94h2.04l-3.09,7.1c-.23.52-.48.95-.74,1.28s-.54.6-.84.8-.63.35-.98.46-.73.19-1.15.26Z","fill","#fff"],["id","ezRX7ubxyVL33","d","M0,15C0,6.715729,6.715729,0,15,0h55c8.284271,0,15,6.715729,15,15v37c0,8.284271-6.715729,15-15,15h-55C6.715729,67,0,60.284271,0,52v-37Z","transform","translate(43.5 190.773986)","filter","url(#ezRX7ubxyVL33-filter)","fill","#c4eafa"],["id","ezRX7ubxyVL35","d","M0,2c0-1.104569.895431-2,2-2h13c1.104569,0,2,.895431,2,2v12c0,1.104569-.895431,2-2,2h-13c-1.104569,0-2-.895431-2-2L0,2Z","transform","translate(97.185789 226.197146)","opacity","0.4","fill","#075078",2,"isolation","isolate"],["id","ezRX7ubxyVL36","d","M0,2c0-1.104569.895431-2,2-2h13c1.104569,0,2,.895431,2,2v12c0,1.104569-.895431,2-2,2h-13c-1.104569,0-2-.895431-2-2L0,2Z","transform","translate(77.871578 226.197146)","opacity","0.4","fill","#075078",2,"isolation","isolate"],["id","ezRX7ubxyVL37","d","M0,2c0-1.104569.895431-2,2-2h13c1.104569,0,2,.895431,2,2v12c0,1.104569-.895431,2-2,2h-13c-1.104569,0-2-.895431-2-2L0,2Z","transform","translate(58.5 226.197146)","opacity","0.4","fill","#075078",2,"isolation","isolate"],["id","ezRX7ubxyVL38","width","56","height","15","rx","2","ry","2","transform","translate(58.5 203.874208)","opacity","0.4","fill","#075078",2,"isolation","isolate"],["id","ezRX7ubxyVL39","transform","translate(31.332781 191.25)","opacity","0",2,"isolation","isolate"],["d","M36.62,23.77v-9.51h3.63c1.12,0,2.05.19,2.81.57s1.34.92,1.73,1.63c.4.71.59,1.56.59,2.56s-.2,1.84-.59,2.55-.97,1.26-1.73,1.64-1.7.57-2.81.57h-3.63Zm2.11-1.73h1.4c1.06,0,1.85-.25,2.37-.76.52-.5.78-1.26.78-2.28s-.26-1.8-.78-2.29-1.31-.74-2.37-.74h-1.4v6.08Z","fill","#fff"],["d","M50.13,23.91c-.73,0-1.36-.14-1.9-.43s-.95-.7-1.24-1.23-.44-1.17-.44-1.9.15-1.37.44-1.89.71-.93,1.24-1.22c.54-.29,1.17-.44,1.91-.44s1.36.15,1.9.44.95.7,1.24,1.24c.29.53.44,1.16.44,1.88s-.15,1.37-.44,1.9-.71.94-1.24,1.23c-.54.29-1.17.43-1.91.43Zm.01-1.53c.46,0,.83-.16,1.11-.49s.42-.84.42-1.53-.14-1.22-.42-1.55-.65-.49-1.11-.49-.84.16-1.12.49-.42.84-.42,1.55.14,1.2.41,1.53.65.49,1.13.49Z","fill","#fff"],["points","64.09,16.94 62.45,21.45 60.8,16.94 59.44,16.94 57.8,21.4 56.16,16.94 54.08,16.94 56.82,23.77 58.56,23.77 60.04,19.81 61.57,23.77 63.31,23.77 66.06,16.94 64.09,16.94","fill","#fff"],["d","M72.96,17.49c-.4-.46-1-.7-1.8-.7-.54,0-1.02.12-1.44.37-.35.21-.61.5-.83.84l-.12-1.07h-1.97c.04.29.07.58.09.88.01.3.02.59.02.89v5.06h2.04v-3.83c0-.48.14-.86.41-1.14s.64-.43,1.09-.43c.35,0,.62.1.8.31s.28.56.28,1.05v4.04h2.04v-4.13c0-.97-.2-1.69-.6-2.15Z","fill","#fff"],["id","ezRX7ubxyVL44","transform","translate(-.239858-4.301246)","opacity","0.4"],["id","ezRX7ubxyVL45","d","M0,26C0,11.640597,11.640597,0,26,0h176c14.359403,0,26,11.640597,26,26l.000001,41.46539c0,14.359403-11.640598,26-26,26L26,93.46539c-14.359403,0-26-11.640597-26-26L0,26Z","transform","translate(23.096932 67.910785)","filter","url(#ezRX7ubxyVL45-filter)","fill","url(#ezRX7ubxyVL45-fill)","stroke-miterlimit","38"],["id","ezRX7ubxyVL46"],["d","M61.02,76.5v0c14.1,0,25.52,11.43,25.52,25.52v0c0,14.1-11.43,25.52-25.52,25.52v0c-14.1,0-25.52-11.43-25.52-25.52v0c0-14.1,11.43-25.52,25.52-25.52Z","fill","#fff"],["d","M61.02,106.62c-6.75,0-12.75,4.32-14.89,10.72c8.35,7.92,21.44,7.92,29.79,0-2.14-6.4-8.14-10.72-14.9-10.72","fill","#00abe8"],["d","M61.02,105.23c4.91,0,8.89-3.98,8.89-8.89s-3.98-8.89-8.89-8.89-8.89,3.98-8.89,8.89v0c0,4.91,3.98,8.89,8.89,8.89","fill","#00abe8"],["id","ezRX7ubxyVL50","transform","translate(0 53.65595)","opacity","0"],["id","ezRX7ubxyVL51","dx","0","dy","0","font-family","Mulish","font-size","13.5","font-weight","700","transform","translate(105.66 118.418781)","fill","#fff",2,"isolation","isolate"],["y","0","font-weight","700",1,"fs-exclude"],["id","ezRX7ubxyVL53","dx","0","dy","0","font-family","Mulish","font-size","13.5","font-weight","700","transform","translate(105.66 99.418781)","fill","#fff",2,"isolation","isolate"],["id","ezRX7ubxyVL55","transform","translate(0-37.409992)"],["id","ezRX7ubxyVL56","d","M108.91,122.5h101.813047c1.39185,0,3.48018.779999,3.48018,3.25s-2.023343,3.25-3.48018,3.25-101.813047,0-101.813047,0c-1.8,0-3.25-1.46-3.25-3.25v0c0-1.8,1.46-3.25,3.25-3.25Z","opacity","0.2","fill","#fff",2,"isolation","isolate"],["id","ezRX7ubxyVL57","d","M108.37,133.01h38.13c1.5,0,2.71,1.374696,2.71,2.71s-1.21,2.71-2.71,2.71h-38.13c-1.5,0-2.71-1.21-2.71-2.71v0c0-1.5,1.21-2.71,2.71-2.71Z","opacity","0.6","fill","#fff",2,"isolation","isolate"],["width","45.56","height","11.93","rx","3","ry","3","transform","translate(105.66 144.43)","fill","#fff"],["d","M118.13,148.77h20.61c.9,0,1.63.73,1.63,1.63v0c0,.9-.73,1.63-1.63,1.63h-20.61c-.9,0-1.63-.73-1.63-1.63v0c0-.9.73-1.63,1.63-1.63Z","opacity","0.25","fill","#075078",2,"isolation","isolate"],["transform","translate(-.642927 0)"],["d","M24.5,42.5h226c.55,0,1,.45,1,1v0c0,.55-.45,1-1,1h-226c-.55,0-1-.45-1-1v0c0-.55.45-1,1-1Z","opacity","0.4","fill","#c4eafa",2,"isolation","isolate"],["id","ezRX7ubxyVL63","width","70","height","8","rx","3","ry","3","transform","translate(26.5 32.5)","fill","#c4eafa"],["id","ezRX7ubxyVL64","width","70","height","8","rx","3","ry","3","transform","translate(102.5 32.5)","opacity","0.4","fill","#c4eafa",2,"isolation","isolate"],["id","ezRX7ubxyVL65","width","70","height","8","rx","3","ry","3","transform","translate(178.5 32.5)","opacity","0.44","fill","#c4eafa",2,"isolation","isolate"],["id","ezRX7ubxyVL66","d","M24.5,42.5h74c.55,0,1,.45,1,1v0c0,.55-.45,1-1,1h-74c-.55,0-1-.45-1-1v0c0-.55.45-1,1-1Z","fill","#c4eafa"],["transform","translate(-.369345 3)","clip-path","url(#ezRX7ubxyVL133)"],["id","ezRX7ubxyVL68","transform","translate(-46.655075-152.303076)"],["transform","translate(-.195638 0)"],["transform","translate(12.445055 0)","opacity","0.5","filter","url(#ezRX7ubxyVL70-filter)"],["width","100","height","108","rx","20","ry","20","transform","translate(762.34 24)","fill","url(#ezRX7ubxyVL71-fill)"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(822.35 94.51)","opacity","0.6","fill","#fff",2,"isolation","isolate"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(804.14 94.51)","opacity","0.4","fill","#fff",2,"isolation","isolate"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(785.93 94.51)","opacity","0.2","fill","#fff",2,"isolation","isolate"],["d","M820.3,60.36l-23.74-1.33-3.3-3.42-1.58,1.52l3.95,4.1l25.09,1.33l2.32-.93-.81-2.04-1.92.77Z","fill","#fff"],["d","M843.85,60.6c-.95-.39-5.14-1.72-6.53-2.11-3.02-.55-6.06-.94-9.12-1.18-4.04-2.46-8.22-4.69-12.51-6.69-1.3-.26-2.61-.44-3.92-.54l-14.29-.66c-5.54,0-9.52,3.84-15.1,7.7h-4.54l-.25.75c-1.29,3.89-2.79,10.67-2.07,13.55.59,2.89,2.56,4.92,5.51,4.75h1.67c1.23,3.97,5.45,6.19,9.42,4.95c2.38-.74,4.24-2.61,4.97-4.99l30.52-.08c1.13,3.99,5.29,6.3,9.27,5.17c2.52-.72,4.48-2.69,5.18-5.21h6.98l.3-9.72c0-1.97-1.39-4.03-5.48-5.69M789.9,79.3c-2.94,0-5.33-2.38-5.34-5.32c0-2.94,2.38-5.33,5.32-5.34c2.94,0,5.33,2.37,5.34,5.31v.04v0c0,2.93-2.38,5.31-5.32,5.31m44.95.01c-2.94,0-5.32-2.38-5.33-5.32v0-.14c.09-2.94,2.54-5.24,5.48-5.15c2.8.09,5.05,2.33,5.15,5.12v.16h.02c0,2.94-2.38,5.32-5.32,5.32m12-5.49h-4.51c-.01-4.15-3.38-7.5-7.53-7.49s-7.5,3.38-7.49,7.53l-29.91.08c-.27-3.76-2.89-7.61-7.15-7.51-4.96.12-7.61,3.43-7.87,7.58h-1.33c-1.95.17-3.04-1.17-3.39-3.09-.08-2.61.16-5.22.72-7.78h6.2l-.55-2.04h-5.14c.17-.59.35-1.18.55-1.76h3.64l.28-.2c5.12-3.6,9-7.5,14.12-7.5l14.29.66c1.29.11,2.57.3,3.84.58c4.64,2.56,6.43,3.44,11.39,6.34l.3.28h.42c2.44.07,4.87.31,7.28.73h.02c0,0,.02,0,.02,0v0c1.8.52,5.95,1.63,6.53,1.83c4.27,1.49,5.58,3.25,5.58,4.21l-.31,7.54Z","fill","#fff"],["transform","translate(12.445055 0)","opacity","0.5","filter","url(#ezRX7ubxyVL79-filter)"],["width","100","height","108","rx","20","ry","20","transform","translate(638.34 24)","fill","url(#ezRX7ubxyVL80-fill)"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(698.35 94.51)","opacity","0.6","fill","#fff",2,"isolation","isolate"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(680.14 94.51)","opacity","0.4","fill","#fff",2,"isolation","isolate"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(661.93 94.51)","opacity","0.2","fill","#fff",2,"isolation","isolate"],["d","M701.24,59.44l-15.69-.94-2.86-1.98-1.12,1.77l3.09,2.24l17.13.97l2.27-1.17-.9-1.93-1.91,1.04Z","fill","#fff"],["d","M720.93,59.33L710.74,57.8l-9.38-8.23c-1.34-1.51-3.27-2.38-5.29-2.38c0,0-9.01.08-16.83.08-1.01-.14-1.95.57-2.09,1.58c0,.05-.01.1-.01.15-.18,1.81-.56,4.74-.62,5.78-.08,1.26-.57,1.28-1.85,1.41-4.26.42-14.86,1.32-20.2,1.8-1.45.14-2.56,1.34-2.59,2.8c0,.45.2,11.6.2,11.6c0,2.23,1.81,4.05,4.05,4.05h2.6l.1.37c1.18,4.16,5.5,6.59,9.67,5.41c2.62-.74,4.67-2.79,5.41-5.41l.1-.37h28.54l.1.37c1.18,4.16,5.5,6.59,9.67,5.41c2.62-.74,4.67-2.79,5.41-5.41l.1-.37h3.36c1.4,0,2.53-1.13,2.53-2.53l.78-10.56c0-2.04-1.52-3.76-3.55-4.02M666.37,80.49c-3.21,0-5.82-2.61-5.82-5.82s2.61-5.82,5.82-5.82s5.82,2.61,5.82,5.82v0c0,3.21-2.61,5.82-5.82,5.82m43.82,0c-3.21,0-5.82-2.61-5.82-5.82s2.61-5.82,5.82-5.82s5.82,2.61,5.82,5.82v0c0,3.21-2.61,5.82-5.82,5.82m12.28-16.28h-3.81l1.55,2.02h2.26l-.78,8.18h-3.65l-.04-.46c-.39-4.31-4.2-7.49-8.51-7.11-3.77.34-6.77,3.33-7.11,7.11l-.04.46h-28.12l-.04-.46c-.39-4.31-4.2-7.49-8.51-7.1-3.77.34-6.76,3.33-7.1,7.1l-.04.46h-2.39c-1.12,0-2.02-.91-2.02-2.02l-.21-6.68h3.53v-2.14h-3.46c0,0-.06-1.66-.07-2.17-.02-.96.5-1.33,2.16-1.48c5.01-.43,16.14-1.28,20.32-1.75c1.03-.11,1.87-.86,2.11-1.87c0,0,.51-4.09.68-5.9.06-.61.12-1.19,1.37-1.19h15.54c1.45,0,2.82.62,3.78,1.7c0,0,6.54,5.97,8.84,8c.45.36.96.64,1.49.86l10.51,1.57c1.01.13,1.77.99,1.77,2.01v.86Z","fill","#fff"],["transform","translate(9.511701 0)","opacity","0.5","filter","url(#ezRX7ubxyVL88-filter)"],["width","100","height","108","rx","20","ry","20","transform","translate(513.896108 24.443892)","fill","url(#ezRX7ubxyVL89-fill)"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(574.35 94.51)","opacity","0.6","fill","#fff",2,"isolation","isolate"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(556.14 94.51)","opacity","0.4","fill","#fff",2,"isolation","isolate"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(537.93 94.51)","opacity","0.2","fill","#fff",2,"isolation","isolate"],["d","M572.3,60.36l-23.74-1.33-3.3-3.42-1.58,1.52l3.95,4.1l25.09,1.33l2.32-.93-.81-2.04-1.92.77Z","fill","#fff"],["d","M595.85,60.6c-.95-.39-5.14-1.72-6.53-2.11-3.02-.55-6.06-.94-9.12-1.18-4.04-2.46-8.22-4.69-12.51-6.69-1.3-.26-2.61-.44-3.92-.54l-14.29-.66c-5.54,0-9.52,3.84-15.1,7.7h-4.54l-.25.75c-1.29,3.89-2.79,10.67-2.07,13.55.59,2.89,2.56,4.92,5.51,4.75h1.67c1.23,3.97,5.45,6.19,9.42,4.95c2.38-.74,4.24-2.61,4.97-4.99l30.52-.08c1.13,3.99,5.29,6.3,9.27,5.17c2.52-.72,4.48-2.69,5.18-5.21h6.98l.3-9.72c0-1.97-1.39-4.03-5.48-5.69M541.9,79.3c-2.94,0-5.33-2.38-5.34-5.32c0-2.94,2.38-5.33,5.32-5.34c2.94,0,5.33,2.37,5.34,5.31v.04v0c0,2.93-2.38,5.31-5.32,5.31m44.95.01c-2.94,0-5.32-2.38-5.33-5.32v0-.14c.09-2.94,2.54-5.24,5.48-5.15c2.8.09,5.05,2.33,5.15,5.12v.16h.02c0,2.94-2.38,5.32-5.32,5.32m12-5.49h-4.51c-.01-4.15-3.38-7.5-7.53-7.49s-7.5,3.38-7.49,7.53l-29.91.08c-.27-3.76-2.89-7.61-7.15-7.51-4.96.12-7.61,3.43-7.87,7.58h-1.33c-1.95.17-3.04-1.17-3.39-3.09-.08-2.61.16-5.22.72-7.78h6.2l-.55-2.04h-5.14c.17-.59.35-1.18.55-1.76h3.64l.28-.2c5.12-3.6,9-7.5,14.12-7.5l14.29.66c1.29.11,2.57.3,3.84.58c4.64,2.56,6.43,3.44,11.39,6.34l.3.28h.42c2.44.07,4.87.31,7.28.73h.02c0,0,.02,0,.02,0v0c1.8.52,5.95,1.63,6.53,1.83c4.27,1.49,5.58,3.25,5.58,4.21l-.31,7.54Z","fill","#fff"],["transform","translate(10.810004 0)","opacity","0.5","filter","url(#ezRX7ubxyVL97-filter)"],["width","100","height","108","rx","20","ry","20","transform","translate(390.34 24)","fill","url(#ezRX7ubxyVL98-fill)"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(450.35 94.51)","opacity","0.6","fill","#fff",2,"isolation","isolate"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(432.14 94.51)","opacity","0.4","fill","#fff",2,"isolation","isolate"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(413.93 94.51)","opacity","0.2","fill","#fff",2,"isolation","isolate"],["d","M453.24,59.44l-15.69-.94-2.86-1.98-1.12,1.77l3.09,2.24l17.13.97l2.27-1.17-.9-1.93-1.91,1.04Z","fill","#fff"],["d","M472.93,59.33L462.74,57.8l-9.38-8.23c-1.34-1.51-3.27-2.38-5.29-2.38c0,0-9.01.08-16.83.08-1.01-.14-1.95.57-2.09,1.58c0,.05-.01.1-.01.15-.18,1.81-.56,4.74-.62,5.78-.08,1.26-.57,1.28-1.85,1.41-4.26.42-14.86,1.32-20.2,1.8-1.45.14-2.56,1.34-2.59,2.8c0,.45.2,11.6.2,11.6c0,2.23,1.81,4.05,4.05,4.05h2.6l.1.37c1.18,4.16,5.5,6.59,9.67,5.41c2.62-.74,4.67-2.79,5.41-5.41l.1-.37h28.54l.1.37c1.18,4.16,5.5,6.59,9.67,5.41c2.62-.74,4.67-2.79,5.41-5.41l.1-.37h3.36c1.4,0,2.53-1.13,2.53-2.53l.78-10.56c0-2.04-1.52-3.76-3.55-4.02M418.37,80.49c-3.21,0-5.82-2.61-5.82-5.82s2.61-5.82,5.82-5.82s5.82,2.61,5.82,5.82v0c0,3.21-2.61,5.82-5.82,5.82m43.82,0c-3.21,0-5.82-2.61-5.82-5.82s2.61-5.82,5.82-5.82s5.82,2.61,5.82,5.82v0c0,3.21-2.61,5.82-5.82,5.82m12.28-16.28h-3.81l1.55,2.02h2.26l-.78,8.18h-3.65l-.04-.46c-.39-4.31-4.2-7.49-8.51-7.11-3.77.34-6.77,3.33-7.11,7.11l-.04.46h-28.12l-.04-.46c-.39-4.31-4.2-7.49-8.51-7.1-3.77.34-6.76,3.33-7.1,7.1l-.04.46h-2.39c-1.12,0-2.02-.91-2.02-2.02l-.21-6.68h3.53v-2.14h-3.46c0,0-.06-1.66-.07-2.17-.02-.96.5-1.33,2.16-1.48c5.01-.43,16.14-1.28,20.32-1.75c1.03-.11,1.87-.86,2.11-1.87c0,0,.51-4.09.68-5.9.06-.61.12-1.19,1.37-1.19h15.54c1.45,0,2.82.62,3.78,1.7c0,0,6.54,5.97,8.84,8c.45.36.96.64,1.49.86l10.51,1.57c1.01.13,1.77.99,1.77,2.01v.86Z","fill","#fff"],["id","ezRX7ubxyVL106","transform","translate(.660004 0)","opacity","0.5","filter","url(#ezRX7ubxyVL106-filter)"],["width","100","height","108","rx","20","ry","20","transform","translate(266.34 24)","fill","url(#ezRX7ubxyVL107-fill)"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(326.35 94.51)","opacity","0.6","fill","#fff",2,"isolation","isolate"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(308.14 94.51)","opacity","0.4","fill","#fff",2,"isolation","isolate"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(289.93 94.51)","opacity","0.2","fill","#fff",2,"isolation","isolate"],["d","M331.99,59.89l-30.48-2.32-2.08-4.04-1.61,1.61l2.4,4.57l32.24,2.45l2.39-1.01-.89-2.1-1.98.84Z","fill","#fff"],["d","M347.97,59.98l-9.9-2.24-9.11-7.99c-1.31-1.47-3.18-2.31-5.14-2.31h-29.6c-1.27.06-2.4.82-2.93,1.97l-3.07,6.85h-3.02c-2.17,0-3.93,1.76-3.93,3.93v5.86c.04,2,1.69,3.6,3.69,3.56.08,0,.16,0,.24-.01h1.97v3.45c0,2.17,1.76,3.93,3.93,3.93h2.9l.1.36c1.14,4.04,5.34,6.39,9.39,5.25c2.55-.72,4.54-2.71,5.25-5.25l.1-.36h21.27l.1.36c1.14,4.04,5.34,6.39,9.39,5.25c2.55-.72,4.54-2.71,5.25-5.25l.1-.36h3.63c1.36,0,2.46-1.1,2.46-2.46l.38-10.63c0-1.98-1.48-3.65-3.44-3.9m-60.77-.07c-.02.09-.04.18-.04.27v7.45h-1.96c-1.08,0-1.97-.5-1.97-1.59v-5.86c0-1.09.88-1.96,1.97-1.97h2.47l-.47,1.7ZM301.42,80.9c-3.12,0-5.65-2.53-5.65-5.65s2.53-5.65,5.65-5.65s5.65,2.53,5.65,5.65-2.53,5.65-5.65,5.65m36.12,0c-3.12,0-5.65-2.53-5.65-5.65s2.53-5.65,5.65-5.65s5.65,2.53,5.65,5.65-2.53,5.65-5.65,5.65m11.92-16.18h-3.7l1.51,1.97h2.19c0,0-.28,5.92-.35,7.82-.02.5-.85.5-.85.5h-3.1l-.04-.45c-.38-4.19-4.09-7.27-8.27-6.89-3.66.33-6.55,3.23-6.89,6.89l-.04.45h-20.87l-.04-.45c-.38-4.19-4.08-7.27-8.27-6.89-3.66.33-6.56,3.23-6.89,6.89l-.04.45h-2.7c-1.08,0-1.96-.88-1.96-1.96v-8.32h3.65v-2.07h-3.65v-1.49l.31-1.96c0,0,2.45-5.87,3.5-8.21.21-.96,1.09-1.63,2.07-1.59h28.82c1.4,0,2.74.6,3.67,1.65c0,0,6.35,5.79,8.58,7.77.44.35.93.63,1.45.83l10.2,2.27c.98.12,1.72.96,1.72,1.95v.84Z","fill","#fff"],["transform","translate(.112619 0)","filter","url(#ezRX7ubxyVL115-filter)"],["width","118","height","129","rx","20","ry","20","transform","translate(124.34 13.5)","fill","url(#ezRX7ubxyVL116-fill)"],["id","ezRX7ubxyVL118","width","19.3","height","27.01","rx","2","ry","2","transform","translate(195.31 97.49)","opacity","0.6","fill","#fff",2,"isolation","isolate"],["id","ezRX7ubxyVL119","width","19.3","height","27.01","rx","2","ry","2","transform","translate(173.070655 97.49)","opacity","0.4","fill","#fff",2,"isolation","isolate"],["id","ezRX7ubxyVL120","width","19.3","height","27.01","rx","2","ry","2","transform","translate(151.57 97.49)","opacity","0.2","fill","#fff",2,"isolation","isolate"],["d","M192.47,56.57l-27.98-1.56-3.89-4.03-1.86,1.79l4.65,4.83l29.56,1.56l2.74-1.09-.96-2.4-2.26.91Z","fill","#fff"],["d","M220.23,56.85c-1.12-.46-6.06-2.03-7.7-2.48-3.56-.64-7.15-1.11-10.75-1.39-4.76-2.9-9.68-5.53-14.74-7.89-1.53-.31-3.07-.52-4.62-.64l-16.84-.78c-6.53,0-11.22,4.52-17.79,9.08h-5.35l-.29.88c-1.52,4.59-3.29,12.57-2.44,15.96.7,3.41,3.01,5.79,6.49,5.6h1.97c1.45,4.68,6.42,7.29,11.1,5.84c2.81-.87,5-3.07,5.85-5.88l35.96-.1c1.34,4.7,6.23,7.43,10.93,6.09c2.96-.84,5.28-3.17,6.1-6.14h8.22l.36-11.46c0-2.32-1.63-4.75-6.46-6.7M156.64,78.88c-3.47,0-6.29-2.8-6.29-6.27s2.8-6.29,6.27-6.29s6.28,2.79,6.29,6.26v.05v0c0,3.45-2.81,6.26-6.27,6.26m52.97.01c-3.46,0-6.27-2.81-6.28-6.27v0-.16c.11-3.46,3-6.18,6.45-6.07c3.3.1,5.95,2.74,6.07,6.04v.19h.02c0,3.46-2.81,6.27-6.27,6.27m14.14-6.47h-5.32c-.01-4.89-3.99-8.84-8.87-8.83-4.89.01-8.84,3.99-8.83,8.87l-35.25.1c-.31-4.43-3.4-8.97-8.42-8.85-5.85.14-8.97,4.04-9.28,8.93h-1.57c-2.3.2-3.59-1.38-3.99-3.65-.1-3.08.19-6.16.84-9.16h7.31l-.65-2.41h-6.05c.2-.7.41-1.39.65-2.07h4.29l.33-.24c6.04-4.24,10.6-8.84,16.64-8.84l16.84.78c1.52.13,3.03.36,4.53.68c5.46,3.02,7.58,4.06,13.42,7.47l.36.33h.5c2.88.08,5.74.37,8.58.87h.02c0,0,.03,0,.03,0v0c2.12.62,7.01,1.93,7.69,2.16c5.04,1.76,6.58,3.83,6.58,4.96l-.37,8.88Z","fill","#fff"],["opacity","0.5","filter","url(#ezRX7ubxyVL124-filter)"],["width","100","height","108","rx","20","ry","20","transform","translate(0 24)","fill","url(#ezRX7ubxyVL125-fill)"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(60.01 94.51)","opacity","0.9","fill","#fff",2,"isolation","isolate"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(41.8 94.51)","opacity","0.7","fill","#fff",2,"isolation","isolate"],["width","16.07","height","22.49","rx","2","ry","2","transform","translate(23.59 94.51)","opacity","0.5","fill","#fff",2,"isolation","isolate"],["d","M62.9,59.44L47.21,58.5l-2.86-1.98-1.12,1.77l3.09,2.24l17.13.97l2.27-1.17-.9-1.93-1.91,1.04Z","fill","#fff"],["d","M82.59,59.33L72.4,57.8l-9.38-8.23c-1.34-1.51-3.27-2.38-5.29-2.38c0,0-9.01.08-16.83.08-1.01-.14-1.95.57-2.09,1.58c0,.05-.01.1-.01.15-.18,1.81-.56,4.74-.62,5.78-.08,1.26-.57,1.28-1.85,1.41-4.26.42-14.86,1.32-20.2,1.8-1.45.14-2.56,1.34-2.59,2.8c0,.45.2,11.6.2,11.6c0,2.23,1.81,4.05,4.05,4.05h2.6l.1.37c1.18,4.16,5.5,6.59,9.67,5.41c2.62-.74,4.67-2.79,5.41-5.41l.1-.37h28.54l.1.37c1.18,4.16,5.5,6.59,9.67,5.41c2.62-.74,4.67-2.79,5.41-5.41l.1-.37h3.36c1.4,0,2.53-1.13,2.53-2.53l.78-10.56c0-2.04-1.52-3.76-3.55-4.02M28.03,80.49c-3.21,0-5.82-2.61-5.82-5.82s2.61-5.82,5.82-5.82s5.82,2.61,5.82,5.82v0c0,3.21-2.61,5.82-5.82,5.82m43.82,0c-3.21,0-5.82-2.61-5.82-5.82s2.61-5.82,5.82-5.82s5.82,2.61,5.82,5.82v0c0,3.21-2.61,5.82-5.82,5.82M84.13,64.21h-3.81l1.55,2.02h2.26l-.78,8.18h-3.65l-.04-.46c-.39-4.31-4.2-7.49-8.51-7.11-3.77.34-6.77,3.33-7.11,7.11l-.04.46h-28.12l-.04-.46c-.39-4.31-4.2-7.49-8.51-7.1-3.77.34-6.76,3.33-7.1,7.1l-.04.46h-2.39c-1.12,0-2.02-.91-2.02-2.02l-.21-6.68h3.53v-2.14h-3.46c0,0-.06-1.66-.07-2.17-.02-.96.5-1.33,2.16-1.48c5.01-.43,16.14-1.28,20.32-1.75c1.03-.11,1.87-.86,2.11-1.87c0,0,.51-4.09.68-5.9.06-.61.12-1.19,1.37-1.19h15.54c1.45,0,2.82.62,3.78,1.7c0,0,6.54,5.97,8.84,8c.45.36.96.64,1.49.86l10.51,1.57c1.01.13,1.77.99,1.77,2.01v.86Z","fill","#fff"],["id","ezRX7ubxyVL133","transform","matrix(1 0 0 1.169416 0.164468 28.751322)"],["width","260.156612","height","26.234281","rx","0","ry","0","transform","matrix(1 0 0 9.366871 6.757224-23.110011)","fill","#d2dbed","stroke-width","0"],["transform","translate(.059742 328.000001)"],["width","24.307317","height","56.770833","rx","0","ry","0","transform","matrix(.987357 0 0 1 196.931642 117.647203)","fill","#eb4141","stroke-width","0"],["width","24.307317","height","56.770833","rx","0","ry","0","transform","matrix(.987357 0 0 1 52.94887 117.647203)","fill","#eb4141","stroke-width","0"],["transform","matrix(1.02 0 0 1-50.006796 480.694382)","filter","url(#ezRX7ubxyVL138-filter)"],["width","118","height","129","rx","20","ry","20","transform","translate(124.34 13.5)","fill","url(#ezRX7ubxyVL139-fill)"],["id","ezRX7ubxyVL141","width","19.3","height","27.01","rx","2","ry","2","transform","translate(195.31 97.49)","opacity","0.6","fill","#fff",2,"isolation","isolate"],["id","ezRX7ubxyVL142","width","19.3","height","27.01","rx","2","ry","2","transform","translate(173.44 97.49)","opacity","0.4","fill","#fff",2,"isolation","isolate"],["id","ezRX7ubxyVL143","width","19.3","height","27.01","rx","2","ry","2","transform","translate(151.57 97.49)","opacity","0.2","fill","#fff",2,"isolation","isolate"],["id","e6WOXxMj8IE1","xmlns","http://www.w3.org/2000/svg",0,"xmlns","xlink","http://www.w3.org/1999/xlink","viewBox","-13 -14 300 400","shape-rendering","geometricPrecision","text-rendering","geometricPrecision",1,".second-animation"],["id","e6WOXxMj8IE2-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","e6WOXxMj8IE2-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","e6WOXxMj8IE2-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","e6WOXxMj8IE2-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0.5)"],["id","e6WOXxMj8IE2-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","e6WOXxMj8IE2-filter-drop-shadow-0-merge"],["id","e6WOXxMj8IE2-filter-drop-shadow-0-merge-node-1"],["id","e6WOXxMj8IE2-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","e6WOXxMj8IE18-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","e6WOXxMj8IE18-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","e6WOXxMj8IE18-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","e6WOXxMj8IE18-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0)"],["id","e6WOXxMj8IE18-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","e6WOXxMj8IE18-filter-drop-shadow-0-merge"],["id","e6WOXxMj8IE18-filter-drop-shadow-0-merge-node-1"],["id","e6WOXxMj8IE18-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","e6WOXxMj8IE33-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","e6WOXxMj8IE33-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","e6WOXxMj8IE33-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","e6WOXxMj8IE33-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0)"],["id","e6WOXxMj8IE33-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","e6WOXxMj8IE33-filter-drop-shadow-0-merge"],["id","e6WOXxMj8IE33-filter-drop-shadow-0-merge-node-1"],["id","e6WOXxMj8IE33-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","e6WOXxMj8IE45-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","e6WOXxMj8IE45-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","e6WOXxMj8IE45-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","e6WOXxMj8IE45-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0)"],["id","e6WOXxMj8IE45-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","e6WOXxMj8IE45-filter-drop-shadow-0-merge"],["id","e6WOXxMj8IE45-filter-drop-shadow-0-merge-node-1"],["id","e6WOXxMj8IE45-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","e6WOXxMj8IE70-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","e6WOXxMj8IE70-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","e6WOXxMj8IE70-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","e6WOXxMj8IE70-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0.5)"],["id","e6WOXxMj8IE70-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","e6WOXxMj8IE70-filter-drop-shadow-0-merge"],["id","e6WOXxMj8IE70-filter-drop-shadow-0-merge-node-1"],["id","e6WOXxMj8IE70-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","e6WOXxMj8IE71-fill","x1","75.46","y1","9.94","x2","25.46","y2","96.34","spreadMethod","pad","gradientUnits","userSpaceOnUse","gradientTransform","translate(0 0)"],["id","e6WOXxMj8IE71-fill-0","offset","0%","stop-color","#00abe8"],["id","e6WOXxMj8IE71-fill-1","offset","100%","stop-color","#4e04c4"],["id","e6WOXxMj8IE79-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","e6WOXxMj8IE79-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","e6WOXxMj8IE79-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","e6WOXxMj8IE79-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0.5)"],["id","e6WOXxMj8IE79-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","e6WOXxMj8IE79-filter-drop-shadow-0-merge"],["id","e6WOXxMj8IE79-filter-drop-shadow-0-merge-node-1"],["id","e6WOXxMj8IE79-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","e6WOXxMj8IE80-fill","x1","89.04","y1","11.75","x2","30.04","y2","114.95","spreadMethod","pad","gradientUnits","userSpaceOnUse","gradientTransform","translate(0 0)"],["id","e6WOXxMj8IE80-fill-0","offset","0%","stop-color","#00abe8"],["id","e6WOXxMj8IE80-fill-1","offset","100%","stop-color","#4e04c4"],["id","e6WOXxMj8IE88-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","e6WOXxMj8IE88-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","e6WOXxMj8IE88-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","e6WOXxMj8IE88-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0.5)"],["id","e6WOXxMj8IE88-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","e6WOXxMj8IE88-filter-drop-shadow-0-merge"],["id","e6WOXxMj8IE88-filter-drop-shadow-0-merge-node-1"],["id","e6WOXxMj8IE88-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","e6WOXxMj8IE89-fill","x1","75.46","y1","9.94","x2","25.46","y2","96.34","spreadMethod","pad","gradientUnits","userSpaceOnUse","gradientTransform","translate(0 0)"],["id","e6WOXxMj8IE89-fill-0","offset","0%","stop-color","#00abe8"],["id","e6WOXxMj8IE89-fill-1","offset","100%","stop-color","#4e04c4"],["id","e6WOXxMj8IE97-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","e6WOXxMj8IE97-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","e6WOXxMj8IE97-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","e6WOXxMj8IE97-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0.5)"],["id","e6WOXxMj8IE97-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","e6WOXxMj8IE97-filter-drop-shadow-0-merge"],["id","e6WOXxMj8IE97-filter-drop-shadow-0-merge-node-1"],["id","e6WOXxMj8IE97-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","e6WOXxMj8IE98-fill","x1","75.46","y1","9.94","x2","25.46","y2","96.34","spreadMethod","pad","gradientUnits","userSpaceOnUse","gradientTransform","translate(0 0)"],["id","e6WOXxMj8IE98-fill-0","offset","0%","stop-color","#00abe8"],["id","e6WOXxMj8IE98-fill-1","offset","100%","stop-color","#4e04c4"],["id","e6WOXxMj8IE106-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","e6WOXxMj8IE106-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","e6WOXxMj8IE106-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","e6WOXxMj8IE106-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0.5)"],["id","e6WOXxMj8IE106-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","e6WOXxMj8IE106-filter-drop-shadow-0-merge"],["id","e6WOXxMj8IE106-filter-drop-shadow-0-merge-node-1"],["id","e6WOXxMj8IE106-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","e6WOXxMj8IE107-fill","x1","89.04","y1","11.75","x2","30.04","y2","114.95","spreadMethod","pad","gradientUnits","userSpaceOnUse","gradientTransform","translate(0 0)"],["id","e6WOXxMj8IE107-fill-0","offset","0%","stop-color","#00abe8"],["id","e6WOXxMj8IE107-fill-1","offset","100%","stop-color","#4e04c4"],["id","e6WOXxMj8IE115-filter","x","-150%","width","400%","y","-150%","height","400%"],["id","e6WOXxMj8IE115-filter-drop-shadow-0-blur","in","SourceAlpha","stdDeviation","4,4"],["id","e6WOXxMj8IE115-filter-drop-shadow-0-offset","dx","0","dy","2","result","tmp"],["id","e6WOXxMj8IE115-filter-drop-shadow-0-flood","flood-color","rgba(12,40,89,0.5)"],["id","e6WOXxMj8IE115-filter-drop-shadow-0-composite","operator","in","in2","tmp"],["id","e6WOXxMj8IE115-filter-drop-shadow-0-merge"],["id","e6WOXxMj8IE115-filter-drop-shadow-0-merge-node-1"],["id","e6WOXxMj8IE115-filter-drop-shadow-0-merge-node-2","in","SourceGraphic"],["id","e6WOXxMj8IE116-fill","x1","74.8","y1","9.94","x2","25.8","y2","96.34","spreadMethod","pad","gradientUnits","userSpaceOnUse","gradientTransform","translate(0 0)"],["id","e6WOXxMj8IE116-fill-0","offset","0%","stop-color","#00abe8"],["id","e6WOXxMj8IE116-fill-1","offset","100%","stop-color","#4e04c4"],["width","260","height","362","rx","15","ry","15","transform","translate(7 4.732807)","filter","url(#e6WOXxMj8IE2-filter)","fill","#fff"],["transform","translate(.000002 111.023868)","opacity","0"],["transform","translate(0 84)","opacity","0.4"],["d","M0,15C0,6.715729,6.715729,0,15,0h55c8.284271,0,15,6.715729,15,15v37c0,8.284271-6.715729,15-15,15h-55C6.715729,67,0,60.284271,0,52v-37Z","transform","translate(148.042171 191.271085)","filter","url(#e6WOXxMj8IE18-filter)","fill","#c4eafa"],["d","M0,2c0-1.104569.895431-2,2-2h13c1.104569,0,2,.895431,2,2v12c0,1.104569-.895431,2-2,2h-13c-1.104569,0-2-.895431-2-2L0,2Z","transform","translate(201.372547 226.5)","opacity","0.4","fill","#075078",2,"isolation","isolate"],["d","M0,2c0-1.104569.895431-2,2-2h13c1.104569,0,2,.895431,2,2v12c0,1.104569-.895431,2-2,2h-13c-1.104569,0-2-.895431-2-2L0,2Z","transform","translate(181.5 226.5)","opacity","0.4","fill","#075078",2,"isolation","isolate"],["d","M0,2c0-1.104569.895431-2,2-2h13c1.104569,0,2,.895431,2,2v12c0,1.104569-.895431,2-2,2h-13c-1.104569,0-2-.895431-2-2L0,2Z","transform","translate(161.5 226.5)","opacity","0.4","fill","#075078",2,"isolation","isolate"],["width","56","height","15","rx","2","ry","2","transform","translate(161.5 204.032671)","opacity","0.4","fill","#075078",2,"isolation","isolate"],["transform","translate(32.042171 190)","opacity","0",2,"isolation","isolate"],["d","M0,15C0,6.715729,6.715729,0,15,0h55c8.284271,0,15,6.715729,15,15v37c0,8.284271-6.715729,15-15,15h-55C6.715729,67,0,60.284271,0,52v-37Z","transform","translate(43.5 190.773986)","filter","url(#e6WOXxMj8IE33-filter)","fill","#c4eafa"],["d","M0,2c0-1.104569.895431-2,2-2h13c1.104569,0,2,.895431,2,2v12c0,1.104569-.895431,2-2,2h-13c-1.104569,0-2-.895431-2-2L0,2Z","transform","translate(97.185789 226.197146)","opacity","0.4","fill","#075078",2,"isolation","isolate"],["d","M0,2c0-1.104569.895431-2,2-2h13c1.104569,0,2,.895431,2,2v12c0,1.104569-.895431,2-2,2h-13c-1.104569,0-2-.895431-2-2L0,2Z","transform","translate(77.871578 226.197146)","opacity","0.4","fill","#075078",2,"isolation","isolate"],["d","M0,2c0-1.104569.895431-2,2-2h13c1.104569,0,2,.895431,2,2v12c0,1.104569-.895431,2-2,2h-13c-1.104569,0-2-.895431-2-2L0,2Z","transform","translate(58.5 226.197146)","opacity","0.4","fill","#075078",2,"isolation","isolate"],["width","56","height","15","rx","2","ry","2","transform","translate(58.5 203.874208)","opacity","0.4","fill","#075078",2,"isolation","isolate"],["transform","translate(31.332781 191.25)","opacity","0",2,"isolation","isolate"],["transform","translate(.40408 139.57692)","opacity","0.4"],["d","M-11.216393,26c0-14.359403,11.640597-26,26-26L213.2137,0c14.359403,0,26,11.640597,26,26v.000001c0,14.359403-11.640597,26-26,26h-198.430093c-14.359403,0-26-11.640597-26-26v-.000001Z","transform","matrix(.75 0 0 0.75 51.596932 80.660785)","filter","url(#e6WOXxMj8IE45-filter)","fill","#c4eafa","stroke-miterlimit","38"],["transform","matrix(.6 0 0 0.6 26.750076 39.007879)"],["transform","matrix(.809655 0 0 0.809655 4.636567 15.702122)"],["dx","0","dy","0","font-family","Mulish","font-size","13.5","font-weight","700","transform","translate(105.66 118.418781)","fill","#075078",2,"isolation","isolate"],["dx","0","dy","0","font-family","Mulish","font-size","13.5","font-weight","700","transform","translate(105.66 99.418781)","fill","#075078",2,"isolation","isolate"],["opacity","0"],["d","M108.91,122.5h69.59c1.39185,0,3.48018.779999,3.48018,3.25s-2.023343,3.25-3.48018,3.25-69.59,0-69.59,0c-1.8,0-3.25-1.46-3.25-3.25v0c0-1.8,1.46-3.25,3.25-3.25Z","opacity","0.2","fill","#fff",2,"isolation","isolate"],["d","M108.37,133.01h57.226726c1.5,0,2.71,1.374696,2.71,2.71s-1.21,2.71-2.71,2.71h-57.226726c-1.5,0-2.71-1.21-2.71-2.71v0c0-1.5,1.21-2.71,2.71-2.71Z","opacity","0.6","fill","#fff",2,"isolation","isolate"],["width","70","height","8","rx","3","ry","3","transform","translate(26.5 32.5)","opacity","0.4","fill","#c4eafa"],["width","70","height","8","rx","3","ry","3","transform","translate(102.5 32.5)","opacity","0.4","fill","#c4eafa",2,"isolation","isolate"],["width","70","height","8","rx","3","ry","3","transform","translate(178.5 32.5)","fill","#c4eafa",2,"isolation","isolate"],["d","M24.5,42.5h74c.55,0,1,.45,1,1v0c0,.55-.45,1-1,1h-74c-.55,0-1-.45-1-1v0c0-.55.45-1,1-1Z","transform","translate(151.987904 0)","fill","#c4eafa"],["transform","translate(0 3)","clip-path","url(#e6WOXxMj8IE124)"],["id","e6WOXxMj8IE68","transform","translate(-46.170044 55.476892)"],["id","e6WOXxMj8IE70","transform","translate(384.445086 0)","opacity","0.5","filter","url(#e6WOXxMj8IE70-filter)"],["width","100","height","108","rx","20","ry","20","transform","translate(266.34 24)","fill","url(#e6WOXxMj8IE71-fill)"],["id","e6WOXxMj8IE73","width","16.07","height","22.49","rx","2","ry","2","transform","translate(326.35 94.51)","opacity","0.6","fill","#fff",2,"isolation","isolate"],["id","e6WOXxMj8IE74","width","16.07","height","22.49","rx","2","ry","2","transform","translate(308.14 94.51)","opacity","0.4","fill","#fff",2,"isolation","isolate"],["id","e6WOXxMj8IE75","width","16.07","height","22.49","rx","2","ry","2","transform","translate(289.93 94.51)","opacity","0.2","fill","#fff",2,"isolation","isolate"],["id","e6WOXxMj8IE79","transform","matrix(.84 0 0 0.84 419.846131 12.48)","opacity","0.5","filter","url(#e6WOXxMj8IE79-filter)"],["width","118","height","129","rx","20","ry","20","transform","translate(124.34 13.5)","fill","url(#e6WOXxMj8IE80-fill)"],["id","e6WOXxMj8IE82","width","19.3","height","27.01","rx","2","ry","2","transform","translate(195.31 97.49)","opacity","0.6","fill","#fff",2,"isolation","isolate"],["id","e6WOXxMj8IE83","width","19.3","height","27.01","rx","2","ry","2","transform","translate(173.070655 97.49)","opacity","0.4","fill","#fff",2,"isolation","isolate"],["id","e6WOXxMj8IE84","width","19.3","height","27.01","rx","2","ry","2","transform","translate(151.57 97.49)","opacity","0.2","fill","#fff",2,"isolation","isolate"],["id","e6WOXxMj8IE88","transform","translate(10.810004 0)","opacity","0.5","filter","url(#e6WOXxMj8IE88-filter)"],["width","100","height","108","rx","20","ry","20","transform","translate(390.34 24)","fill","url(#e6WOXxMj8IE89-fill)"],["id","e6WOXxMj8IE91","width","16.07","height","22.49","rx","2","ry","2","transform","translate(450.35 94.51)","opacity","0.6","fill","#fff",2,"isolation","isolate"],["id","e6WOXxMj8IE92","width","16.07","height","22.49","rx","2","ry","2","transform","translate(432.14 94.51)","opacity","0.4","fill","#fff",2,"isolation","isolate"],["id","e6WOXxMj8IE93","width","16.07","height","22.49","rx","2","ry","2","transform","translate(413.93 94.51)","opacity","0.2","fill","#fff",2,"isolation","isolate"],["id","e6WOXxMj8IE97","transform","translate(1.660004 0)","opacity","0.5","filter","url(#e6WOXxMj8IE97-filter)"],["width","100","height","108","rx","20","ry","20","transform","translate(266.34 24)","fill","url(#e6WOXxMj8IE98-fill)"],["id","e6WOXxMj8IE100","width","16.07","height","22.49","rx","2","ry","2","transform","translate(326.35 94.51)","opacity","0.6","fill","#fff",2,"isolation","isolate"],["id","e6WOXxMj8IE101","width","16.07","height","22.49","rx","2","ry","2","transform","translate(308.14 94.51)","opacity","0.4","fill","#fff",2,"isolation","isolate"],["id","e6WOXxMj8IE102","width","16.07","height","22.49","rx","2","ry","2","transform","translate(289.93 94.51)","opacity","0.2","fill","#fff",2,"isolation","isolate"],["id","e6WOXxMj8IE106","transform","translate(.112619 0)","filter","url(#e6WOXxMj8IE106-filter)"],["width","118","height","129","rx","20","ry","20","transform","translate(124.34 13.5)","fill","url(#e6WOXxMj8IE107-fill)"],["id","e6WOXxMj8IE109","width","19.3","height","27.01","rx","2","ry","2","transform","translate(195.31 97.49)","opacity","0.2","fill","#fff",2,"isolation","isolate"],["id","e6WOXxMj8IE110","width","19.3","height","27.01","rx","2","ry","2","transform","translate(173.070655 97.49)","opacity","0.6","fill","#fff",2,"isolation","isolate"],["id","e6WOXxMj8IE111","width","19.3","height","27.01","rx","2","ry","2","transform","translate(151.57 97.49)","opacity","0.4","fill","#fff",2,"isolation","isolate"],["transform","translate(-1 0)","opacity","0.5","filter","url(#e6WOXxMj8IE115-filter)"],["width","100","height","108","rx","20","ry","20","transform","translate(0 24)","fill","url(#e6WOXxMj8IE116-fill)"],["id","e6WOXxMj8IE124","transform","matrix(1 0 0 1.169416 0.164468 28.751322)"],[1,"calculating-your-terms-on-XXXX-cars"],[1,"unlocking-your-real-deal-on-every-car"]],template:function(e,t){1&e&&(u.TgZ(0,"div",0),u._uU(1,"\n "),u.TgZ(2,"div",1),u._uU(3,"\n "),u.TgZ(4,"div",2),u._uU(5,"\n "),u.TgZ(6,"p",3),u._uU(7,"Reviewing your info"),u.qZA(),u._uU(8,"\n "),u.YNc(9,f,5,3,"p",4),u.ALo(10,"async"),u._uU(11,"\n "),u.YNc(12,y,5,3,"p",4),u.ALo(13,"async"),u._uU(14,"\n "),u.YNc(15,_,4,0,"p",5),u.ALo(16,"async"),u._uU(17,"\n "),u.YNc(18,A,4,0,"p",5),u.ALo(19,"async"),u._uU(20,"\n "),u.qZA(),u._uU(21,"\n \n "),u.TgZ(22,"div",6),u._uU(23,"\n "),u.O4$(),u.TgZ(24,"svg",7),u._uU(25,"\n "),u.TgZ(26,"defs"),u._uU(27,"\n "),u.TgZ(28,"filter",8),u._uU(29,"\n "),u._UZ(30,"feGaussianBlur",9),u._uU(31,"\n "),u._UZ(32,"feOffset",10),u._uU(33,"\n "),u._UZ(34,"feFlood",11),u._uU(35,"\n "),u._UZ(36,"feComposite",12),u._uU(37,"\n "),u.TgZ(38,"feMerge",13),u._uU(39,"\n "),u._UZ(40,"feMergeNode",14),u._uU(41,"\n "),u._UZ(42,"feMergeNode",15),u._uU(43,"\n "),u.qZA(),u._uU(44,"\n "),u.qZA(),u._uU(45,"\n "),u.TgZ(46,"filter",16),u._uU(47,"\n "),u._UZ(48,"feGaussianBlur",17),u._uU(49,"\n "),u._UZ(50,"feOffset",18),u._uU(51,"\n "),u._UZ(52,"feFlood",19),u._uU(53,"\n "),u._UZ(54,"feComposite",20),u._uU(55,"\n "),u.TgZ(56,"feMerge",21),u._uU(57,"\n "),u._UZ(58,"feMergeNode",22),u._uU(59,"\n "),u._UZ(60,"feMergeNode",23),u._uU(61,"\n "),u.qZA(),u._uU(62,"\n "),u.qZA(),u._uU(63,"\n "),u.TgZ(64,"linearGradient",24),u._uU(65,"\n "),u._UZ(66,"stop",25),u._uU(67,"\n "),u._UZ(68,"stop",26),u._uU(69,"\n "),u.qZA(),u._uU(70,"\n "),u.TgZ(71,"filter",27),u._uU(72,"\n "),u._UZ(73,"feGaussianBlur",28),u._uU(74,"\n "),u._UZ(75,"feOffset",29),u._uU(76,"\n "),u._UZ(77,"feFlood",30),u._uU(78,"\n "),u._UZ(79,"feComposite",31),u._uU(80,"\n "),u.TgZ(81,"feMerge",32),u._uU(82,"\n "),u._UZ(83,"feMergeNode",33),u._uU(84,"\n "),u._UZ(85,"feMergeNode",34),u._uU(86,"\n "),u.qZA(),u._uU(87,"\n "),u.qZA(),u._uU(88,"\n "),u.TgZ(89,"linearGradient",35),u._uU(90,"\n "),u._UZ(91,"stop",36),u._uU(92,"\n "),u._UZ(93,"stop",37),u._uU(94,"\n "),u.qZA(),u._uU(95,"\n "),u.TgZ(96,"filter",38),u._uU(97,"\n "),u._UZ(98,"feGaussianBlur",39),u._uU(99,"\n "),u._UZ(100,"feOffset",40),u._uU(101,"\n "),u._UZ(102,"feFlood",41),u._uU(103,"\n "),u._UZ(104,"feComposite",42),u._uU(105,"\n "),u.TgZ(106,"feMerge",43),u._uU(107,"\n "),u._UZ(108,"feMergeNode",44),u._uU(109,"\n "),u._UZ(110,"feMergeNode",45),u._uU(111,"\n "),u.qZA(),u._uU(112,"\n "),u.qZA(),u._uU(113,"\n "),u.TgZ(114,"linearGradient",46),u._uU(115,"\n "),u._UZ(116,"stop",47),u._uU(117,"\n "),u._UZ(118,"stop",48),u._uU(119,"\n "),u.qZA(),u._uU(120,"\n "),u.TgZ(121,"filter",49),u._uU(122,"\n "),u._UZ(123,"feGaussianBlur",50),u._uU(124,"\n "),u._UZ(125,"feOffset",51),u._uU(126,"\n "),u._UZ(127,"feFlood",52),u._uU(128,"\n "),u._UZ(129,"feComposite",53),u._uU(130,"\n "),u.TgZ(131,"feMerge",54),u._uU(132,"\n "),u._UZ(133,"feMergeNode",55),u._uU(134,"\n "),u._UZ(135,"feMergeNode",56),u._uU(136,"\n "),u.qZA(),u._uU(137,"\n "),u.qZA(),u._uU(138,"\n "),u.TgZ(139,"linearGradient",57),u._uU(140,"\n "),u._UZ(141,"stop",58),u._uU(142,"\n "),u._UZ(143,"stop",59),u._uU(144,"\n "),u.qZA(),u._uU(145,"\n "),u.TgZ(146,"filter",60),u._uU(147,"\n "),u._UZ(148,"feGaussianBlur",61),u._uU(149,"\n "),u._UZ(150,"feOffset",62),u._uU(151,"\n "),u._UZ(152,"feFlood",63),u._uU(153,"\n "),u._UZ(154,"feComposite",64),u._uU(155,"\n "),u.TgZ(156,"feMerge",65),u._uU(157,"\n "),u._UZ(158,"feMergeNode",66),u._uU(159,"\n "),u._UZ(160,"feMergeNode",67),u._uU(161,"\n "),u.qZA(),u._uU(162,"\n "),u.qZA(),u._uU(163,"\n "),u.TgZ(164,"linearGradient",68),u._uU(165,"\n "),u._UZ(166,"stop",69),u._uU(167,"\n "),u._UZ(168,"stop",70),u._uU(169,"\n "),u.qZA(),u._uU(170,"\n "),u.TgZ(171,"filter",71),u._uU(172,"\n "),u._UZ(173,"feGaussianBlur",72),u._uU(174,"\n "),u._UZ(175,"feOffset",73),u._uU(176,"\n "),u._UZ(177,"feFlood",74),u._uU(178,"\n "),u._UZ(179,"feComposite",75),u._uU(180,"\n "),u.TgZ(181,"feMerge",76),u._uU(182,"\n "),u._UZ(183,"feMergeNode",77),u._uU(184,"\n "),u._UZ(185,"feMergeNode",78),u._uU(186,"\n "),u.qZA(),u._uU(187,"\n "),u.qZA(),u._uU(188,"\n "),u.TgZ(189,"linearGradient",79),u._uU(190,"\n "),u._UZ(191,"stop",80),u._uU(192,"\n "),u._UZ(193,"stop",81),u._uU(194,"\n "),u.qZA(),u._uU(195,"\n "),u.TgZ(196,"filter",82),u._uU(197,"\n "),u._UZ(198,"feGaussianBlur",83),u._uU(199,"\n "),u._UZ(200,"feOffset",84),u._uU(201,"\n "),u._UZ(202,"feFlood",85),u._uU(203,"\n "),u._UZ(204,"feComposite",86),u._uU(205,"\n "),u.TgZ(206,"feMerge",87),u._uU(207,"\n "),u._UZ(208,"feMergeNode",88),u._uU(209,"\n "),u._UZ(210,"feMergeNode",89),u._uU(211,"\n "),u.qZA(),u._uU(212,"\n "),u.qZA(),u._uU(213,"\n "),u.TgZ(214,"linearGradient",90),u._uU(215,"\n "),u._UZ(216,"stop",91),u._uU(217,"\n "),u._UZ(218,"stop",92),u._uU(219,"\n "),u.qZA(),u._uU(220,"\n "),u.TgZ(221,"filter",93),u._uU(222,"\n "),u._UZ(223,"feGaussianBlur",94),u._uU(224,"\n "),u._UZ(225,"feOffset",95),u._uU(226,"\n "),u._UZ(227,"feFlood",96),u._uU(228,"\n "),u._UZ(229,"feComposite",97),u._uU(230,"\n "),u.TgZ(231,"feMerge",98),u._uU(232,"\n "),u._UZ(233,"feMergeNode",99),u._uU(234,"\n "),u._UZ(235,"feMergeNode",100),u._uU(236,"\n "),u.qZA(),u._uU(237,"\n "),u.qZA(),u._uU(238,"\n "),u.TgZ(239,"linearGradient",101),u._uU(240,"\n "),u._UZ(241,"stop",102),u._uU(242,"\n "),u._UZ(243,"stop",103),u._uU(244,"\n "),u.qZA(),u._uU(245,"\n "),u.TgZ(246,"filter",104),u._uU(247,"\n "),u._UZ(248,"feGaussianBlur",105),u._uU(249,"\n "),u._UZ(250,"feOffset",106),u._uU(251,"\n "),u._UZ(252,"feFlood",107),u._uU(253,"\n "),u._UZ(254,"feComposite",108),u._uU(255,"\n "),u.TgZ(256,"feMerge",109),u._uU(257,"\n "),u._UZ(258,"feMergeNode",110),u._uU(259,"\n "),u._UZ(260,"feMergeNode",111),u._uU(261,"\n "),u.qZA(),u._uU(262,"\n "),u.qZA(),u._uU(263,"\n "),u.TgZ(264,"linearGradient",112),u._uU(265,"\n "),u._UZ(266,"stop",113),u._uU(267,"\n "),u._UZ(268,"stop",114),u._uU(269,"\n "),u.qZA(),u._uU(270,"\n "),u.TgZ(271,"filter",115),u._uU(272,"\n "),u._UZ(273,"feGaussianBlur",116),u._uU(274,"\n "),u._UZ(275,"feOffset",117),u._uU(276,"\n "),u._UZ(277,"feFlood",118),u._uU(278,"\n "),u._UZ(279,"feComposite",119),u._uU(280,"\n "),u.TgZ(281,"feMerge",120),u._uU(282,"\n "),u._UZ(283,"feMergeNode",121),u._uU(284,"\n "),u._UZ(285,"feMergeNode",122),u._uU(286,"\n "),u.qZA(),u._uU(287,"\n "),u.qZA(),u._uU(288,"\n "),u.TgZ(289,"linearGradient",123),u._uU(290,"\n "),u._UZ(291,"stop",124),u._uU(292,"\n "),u._UZ(293,"stop",125),u._uU(294,"\n "),u.qZA(),u._uU(295,"\n "),u.TgZ(296,"filter",126),u._uU(297,"\n "),u._UZ(298,"feGaussianBlur",127),u._uU(299,"\n "),u._UZ(300,"feOffset",128),u._uU(301,"\n "),u._UZ(302,"feFlood",129),u._uU(303,"\n "),u._UZ(304,"feComposite",130),u._uU(305,"\n "),u.TgZ(306,"feMerge",131),u._uU(307,"\n "),u._UZ(308,"feMergeNode",132),u._uU(309,"\n "),u._UZ(310,"feMergeNode",133),u._uU(311,"\n "),u.qZA(),u._uU(312,"\n "),u.qZA(),u._uU(313,"\n "),u.TgZ(314,"linearGradient",134),u._uU(315,"\n "),u._UZ(316,"stop",135),u._uU(317,"\n "),u._UZ(318,"stop",136),u._uU(319,"\n "),u.qZA(),u._uU(320,"\n "),u.qZA(),u._uU(321,"\n "),u._UZ(322,"rect",137),u._uU(323,"\n "),u.TgZ(324,"g",138),u._uU(325,"\n "),u.TgZ(326,"g"),u._uU(327,"\n "),u._UZ(328,"path",139),u._uU(329,"\n "),u.TgZ(330,"g"),u._uU(331,"\n "),u._UZ(332,"path",140),u._uU(333,"\n "),u._UZ(334,"path",141),u._uU(335,"\n "),u.qZA(),u._uU(336,"\n "),u._UZ(337,"ellipse",142),u._uU(338,"\n "),u.qZA(),u._uU(339,"\n "),u.TgZ(340,"g"),u._uU(341,"\n "),u._UZ(342,"path",143),u._uU(343,"\n "),u.TgZ(344,"g"),u._uU(345,"\n "),u._UZ(346,"path",144),u._uU(347,"\n "),u._UZ(348,"path",145),u._uU(349,"\n "),u.qZA(),u._uU(350,"\n "),u._UZ(351,"ellipse",146),u._uU(352,"\n "),u.qZA(),u._uU(353,"\n "),u.qZA(),u._uU(354,"\n "),u.TgZ(355,"g",147),u._uU(356,"\n "),u.TgZ(357,"g"),u._uU(358,"\n "),u._UZ(359,"path",148),u._uU(360,"\n "),u.TgZ(361,"g"),u._uU(362,"\n "),u._UZ(363,"path",149),u._uU(364,"\n "),u._UZ(365,"path",150),u._uU(366,"\n "),u._UZ(367,"path",151),u._uU(368,"\n "),u.qZA(),u._uU(369,"\n "),u._UZ(370,"rect",152),u._uU(371,"\n "),u.TgZ(372,"g",153),u._uU(373,"\n "),u._UZ(374,"polygon",154),u._uU(375,"\n "),u._UZ(376,"path",155),u._uU(377,"\n "),u._UZ(378,"path",156),u._uU(379,"\n "),u._UZ(380,"path",157),u._uU(381,"\n "),u._UZ(382,"path",158),u._uU(383,"\n "),u._UZ(384,"path",159),u._uU(385,"\n "),u._UZ(386,"path",160),u._uU(387,"\n "),u.qZA(),u._uU(388,"\n "),u.qZA(),u._uU(389,"\n "),u.TgZ(390,"g"),u._uU(391,"\n "),u._UZ(392,"path",161),u._uU(393,"\n "),u.TgZ(394,"g"),u._uU(395,"\n "),u._UZ(396,"path",162),u._uU(397,"\n "),u._UZ(398,"path",163),u._uU(399,"\n "),u._UZ(400,"path",164),u._uU(401,"\n "),u.qZA(),u._uU(402,"\n "),u._UZ(403,"rect",165),u._uU(404,"\n "),u.TgZ(405,"g",166),u._uU(406,"\n "),u._UZ(407,"path",167),u._uU(408,"\n "),u._UZ(409,"path",168),u._uU(410,"\n "),u._UZ(411,"polygon",169),u._uU(412,"\n "),u._UZ(413,"path",170),u._uU(414,"\n "),u.qZA(),u._uU(415,"\n "),u.qZA(),u._uU(416,"\n "),u.qZA(),u._uU(417,"\n "),u.TgZ(418,"g",171),u._uU(419,"\n "),u._UZ(420,"path",172),u._uU(421,"\n "),u.TgZ(422,"g",173),u._uU(423,"\n "),u._UZ(424,"path",174),u._uU(425,"\n "),u._UZ(426,"path",175),u._uU(427,"\n "),u._UZ(428,"path",176),u._uU(429,"\n "),u.qZA(),u._uU(430,"\n "),u.TgZ(431,"g",177),u.TgZ(432,"text",178),u._uU(433,"\n "),u.TgZ(434,"tspan",179),u._uU(435),u.qZA(),u._uU(436,"\n "),u.qZA(),u.TgZ(437,"text",180),u._uU(438,"\n "),u.TgZ(439,"tspan",179),u._uU(440),u.qZA(),u._uU(441,"\n "),u.qZA(),u.qZA(),u._uU(442,"\n "),u.TgZ(443,"g",181),u._uU(444,"\n "),u._UZ(445,"path",182),u._uU(446,"\n "),u._UZ(447,"path",183),u._uU(448,"\n "),u.TgZ(449,"g"),u._uU(450,"\n "),u._UZ(451,"rect",184),u._uU(452,"\n "),u._UZ(453,"path",185),u._uU(454,"\n "),u.qZA(),u._uU(455,"\n "),u.qZA(),u._uU(456,"\n "),u.qZA(),u._uU(457,"\n "),u.TgZ(458,"g",186),u._uU(459,"\n "),u._UZ(460,"path",187),u._uU(461,"\n "),u._UZ(462,"rect",188),u._uU(463,"\n "),u._UZ(464,"rect",189),u._uU(465,"\n "),u._UZ(466,"rect",190),u._uU(467,"\n "),u._UZ(468,"path",191),u._uU(469,"\n "),u.qZA(),u._uU(470,"\n "),u.TgZ(471,"g",192),u._uU(472,"\n "),u.TgZ(473,"g",193),u._uU(474,"\n "),u.TgZ(475,"g",194),u._uU(476,"\n "),u.TgZ(477,"g",195),u._uU(478,"\n "),u._UZ(479,"rect",196),u._uU(480,"\n "),u.TgZ(481,"g"),u._uU(482,"\n "),u._UZ(483,"rect",197),u._uU(484,"\n "),u._UZ(485,"rect",198),u._uU(486,"\n "),u._UZ(487,"rect",199),u._uU(488,"\n "),u.qZA(),u._uU(489,"\n "),u.TgZ(490,"g"),u._uU(491,"\n "),u._UZ(492,"path",200),u._uU(493,"\n "),u._UZ(494,"path",201),u._uU(495,"\n "),u.qZA(),u._uU(496,"\n "),u.qZA(),u._uU(497,"\n "),u.TgZ(498,"g",202),u._uU(499,"\n "),u._UZ(500,"rect",203),u._uU(501,"\n "),u.TgZ(502,"g"),u._uU(503,"\n "),u._UZ(504,"rect",204),u._uU(505,"\n "),u._UZ(506,"rect",205),u._uU(507,"\n "),u._UZ(508,"rect",206),u._uU(509,"\n "),u.qZA(),u._uU(510,"\n "),u.TgZ(511,"g"),u._uU(512,"\n "),u._UZ(513,"path",207),u._uU(514,"\n "),u._UZ(515,"path",208),u._uU(516,"\n "),u.qZA(),u._uU(517,"\n "),u.qZA(),u._uU(518,"\n "),u.TgZ(519,"g",209),u._uU(520,"\n "),u._UZ(521,"rect",210),u._uU(522,"\n "),u.TgZ(523,"g"),u._uU(524,"\n "),u._UZ(525,"rect",211),u._uU(526,"\n "),u._UZ(527,"rect",212),u._uU(528,"\n "),u._UZ(529,"rect",213),u._uU(530,"\n "),u.qZA(),u._uU(531,"\n "),u.TgZ(532,"g"),u._uU(533,"\n "),u._UZ(534,"path",214),u._uU(535,"\n "),u._UZ(536,"path",215),u._uU(537,"\n "),u.qZA(),u._uU(538,"\n "),u.qZA(),u._uU(539,"\n "),u.TgZ(540,"g",216),u._uU(541,"\n "),u._UZ(542,"rect",217),u._uU(543,"\n "),u.TgZ(544,"g"),u._uU(545,"\n "),u._UZ(546,"rect",218),u._uU(547,"\n "),u._UZ(548,"rect",219),u._uU(549,"\n "),u._UZ(550,"rect",220),u._uU(551,"\n "),u.qZA(),u._uU(552,"\n "),u.TgZ(553,"g"),u._uU(554,"\n "),u._UZ(555,"path",221),u._uU(556,"\n "),u._UZ(557,"path",222),u._uU(558,"\n "),u.qZA(),u._uU(559,"\n "),u.qZA(),u._uU(560,"\n "),u.TgZ(561,"g",223),u._uU(562,"\n "),u._UZ(563,"rect",224),u._uU(564,"\n "),u.TgZ(565,"g"),u._uU(566,"\n "),u._UZ(567,"rect",225),u._uU(568,"\n "),u._UZ(569,"rect",226),u._uU(570,"\n "),u._UZ(571,"rect",227),u._uU(572,"\n "),u.qZA(),u._uU(573,"\n "),u.TgZ(574,"g"),u._uU(575,"\n "),u._UZ(576,"path",228),u._uU(577,"\n "),u._UZ(578,"path",229),u._uU(579,"\n "),u.qZA(),u._uU(580,"\n "),u.qZA(),u._uU(581,"\n "),u.TgZ(582,"g",230),u._uU(583,"\n "),u._UZ(584,"rect",231),u._uU(585,"\n "),u.TgZ(586,"g"),u._uU(587,"\n "),u._UZ(588,"rect",232),u._uU(589,"\n "),u._UZ(590,"rect",233),u._uU(591,"\n "),u._UZ(592,"rect",234),u._uU(593,"\n "),u.qZA(),u._uU(594,"\n "),u.TgZ(595,"g"),u._uU(596,"\n "),u._UZ(597,"path",235),u._uU(598,"\n "),u._UZ(599,"path",236),u._uU(600,"\n "),u.qZA(),u._uU(601,"\n "),u.qZA(),u._uU(602,"\n "),u.TgZ(603,"g",237),u._uU(604,"\n "),u._UZ(605,"rect",238),u._uU(606,"\n "),u.TgZ(607,"g"),u._uU(608,"\n "),u._UZ(609,"rect",239),u._uU(610,"\n "),u._UZ(611,"rect",240),u._uU(612,"\n "),u._UZ(613,"rect",241),u._uU(614,"\n "),u.qZA(),u._uU(615,"\n "),u.TgZ(616,"g"),u._uU(617,"\n "),u._UZ(618,"path",242),u._uU(619,"\n "),u._UZ(620,"path",243),u._uU(621,"\n "),u.qZA(),u._uU(622,"\n "),u.qZA(),u._uU(623,"\n "),u.qZA(),u._uU(624,"\n "),u.qZA(),u._uU(625,"\n "),u.TgZ(626,"clipPath",244),u._uU(627,"\n "),u._UZ(628,"rect",245),u._uU(629,"\n "),u.qZA(),u._uU(630,"\n "),u.qZA(),u._uU(631,"\n "),u.TgZ(632,"g",246),u._uU(633,"\n "),u._UZ(634,"rect",247),u._uU(635,"\n "),u._UZ(636,"rect",248),u._uU(637,"\n "),u.qZA(),u._uU(638,"\n "),u.TgZ(639,"g",249),u._uU(640,"\n "),u._UZ(641,"rect",250),u._uU(642,"\n "),u.TgZ(643,"g"),u._uU(644,"\n "),u._UZ(645,"rect",251),u._uU(646,"\n "),u._UZ(647,"rect",252),u._uU(648,"\n "),u._UZ(649,"rect",253),u._uU(650,"\n "),u.qZA(),u._uU(651,"\n "),u.TgZ(652,"g"),u._uU(653,"\n "),u._UZ(654,"path",235),u._uU(655,"\n "),u._UZ(656,"path",236),u._uU(657,"\n "),u.qZA(),u._uU(658,"\n "),u.qZA(),u._uU(659,"\n "),u.TgZ(660,"style"),u._uU(661,"\n @font-face {\n font-family: 'ezRX7ubxyVL1:::Lato';\n font-style: normal;\n font-weight: 700;\n src: url(data:font/ttf;charset=utf-8;base64,AAEAAAAQAQAABAAAR1BPU5cqlrYAAAL8AAAAbEdTVUK4/LjqAAABlAAAAChPUy8yel1koAAAApwAAABgY21hcAG7AnUAAANoAAAAdGN2dCAHyBmgAAAB6AAAAC5mcGdtclpyQAAABlwAAAblZ2FzcAANABgAAAEMAAAADGdseWZhAL2vAAANRAAADYBoZWFk/N3yRwAAAhgAAAA2aGhlYQ/2BtYAAAFwAAAAJGhtdHguSwOUAAABvAAAACxsb2NhEMUVJgAAARgAAAAYbWF4cAD1B/YAAAEwAAAAIG5hbWUzsVCFAAAD3AAAAoBwb3N0/4sAoAAAAVAAAAAgcHJlcKYHlRcAAAJQAAAASwABAAIADQAH//8ADwAAANwA3AFMAY4CkANdBBMEmQWbBmUGwAABAAAACwCCAAcAXwAEAAIAIgAtADkAAACBBuUAAgABAAMAAAAAAAD/iACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAB7b+VgAACSv/T/9JCO4AAQAAAAAAAAAAAAAAAAAAAAsAAQAAAAoAJgAmAAJERkxUABJsYXRuAA4AAAAAAAQAAAAA//8AAAAABEYAKgGCAAAFjAAGBAoAkgR0AIcELQA/BpQAhARxAD0EawCEAzEAhAOrAEMAAAAAAAAAAAAAAP8AvQD/AP8AvQC+BaYAAAXMBAIAAP6xBbb/8AXMBBL/8f6YAAAAAQAAAAEaoNoZCR9fDzz1ABkH0AAAAADKk15wAAAAAMrfLoD/T/6XCO4HUgABAAkAAgAAAAAAALkIAAgAYyCwASNEILADI3CwFEUgILAoYGYgilVYsAIlYbABRWMjYrACI0SzCQoDAiuzCxADAiuzERYDAitZsgQoBkVSRLMLEAQCKwAAAwQkArwABQAABXgFFAAAARgFeAUUAAADugCgAfQIAwIPCAICAgQDAgOAAAAnAAAASgAAAAAAAAAAdHlQTAAgAAAiEgZK/noBkAe2AaogAACTAAAAAAQCBaYAAAAgAAIAAQAAAAoAMABEAAJERkxUABpsYXRuAA4ABAAAAAD//wABAAEABAAAAAD//wABAAAAAmtlcm4ADmtlcm4ADgAAAAEAAAABAAQAAgAAAAEACAABAAwABAAAAAEAEgABAAEAAwACAAX/2gAH/9oAAAACAAAAAwAAABQAAwABAAAAFAAEAGAAAAAUABAAAwAEACAAQQBMAGIAZQBtAHAAcgB6//8AAAAgAEEATABiAGUAbQBvAHIAev///+H/wf+3/6L/oP+Z/5j/l/+QAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAZgADAAEECQAAARQBBgADAAEECQABAAgA/gADAAEECQACAAgA9gADAAEECQADAE4AqAADAAEECQAEABIAlgADAAEECQAFAFAARgADAAEECQAGABIANAADAAEECQAOADQAAABoAHQAdABwADoALwAvAHMAYwByAGkAcAB0AHMALgBzAGkAbAAuAG8AcgBnAC8ATwBGAEwATABhAHQAbwAtAEIAbwBsAGQAVgBlAHIAcwBpAG8AbgAgADEALgAxADAANAA7ACAAVwBlAHMAdABlAHIAbgArAFAAbwBsAGkAcwBoACAAbwBwAGUAbgBzAG8AdQByAGMAZQBMAGEAdABvACAAQgBvAGwAZAB0AHkAUABvAGwAYQBuAGQATAB1AGsAYQBzAHoARAB6AGkAZQBkAHoAaQBjADoAIABMAGEAdABvACAAQgBvAGwAZAA6ACAAMgAwADEAMQBCAG8AbABkAEwAYQB0AG8AQwBvAHAAeQByAGkAZwBoAHQAIAAoAGMAKQAgADIAMAAxADAALQAyADAAMQAxACAAYgB5ACAAdAB5AFAAbwBsAGEAbgBkACAATAB1AGsAYQBzAHoAIABEAHoAaQBlAGQAegBpAGMAIAB3AGkAdABoACAAUgBlAHMAZQByAHYAZQBkACAARgBvAG4AdAAgAE4AYQBtAGUAIAAiAEwAYQB0AG8AIgAuACAATABpAGMAZQBuAHMAZQBkACAAdQBuAGQAZQByACAAdABoAGUAIABTAEkATAAgAE8AcABlAG4AIABGAG8AbgB0ACAATABpAGMAZQBuAHMAZQAsACAAVgBlAHIAcwBpAG8AbgAgADEALgAxAC6wACwgZLAgYGYjsABQWGVZLbABLCBkILDAULAEJlqwBEVbWCEjIRuKWCCwUFBYIbBAWRsgsDhQWCGwOFlZILAJRWFksChQWCGwCUUgsDBQWCGwMFkbILDAUFggZiCKimEgsApQWGAbILAgUFghsApgGyCwNlBYIbA2YBtgWVlZG7AAK1lZI7AAUFhlWVktsAIssAcjQrAGI0KwACNCsABDsAZDUViwB0MrsgABAENgQrAWZRxZLbADLLAAQyBFILACRWOwAUViYEQtsAQssABDIEUgsAArI7EGBCVgIEWKI2EgZCCwIFBYIbAAG7AwUFiwIBuwQFlZI7AAUFhlWbADJSNhREQtsAUssAFgICCwCUNKsABQWCCwCSNCWbAKQ0qwAFJYILAKI0JZLbAGLLAAQ7ACJUKyAAEAQ2BCsQkCJUKxCgIlQrABFiMgsAMlUFiwAEOwBCVCioogiiNhsAUqISOwAWEgiiNhsAUqIRuwAEOwAiVCsAIlYbAFKiFZsAlDR7AKQ0dgsIBiILACRWOwAUViYLEAABMjRLABQ7AAPrIBAQFDYEItsAcsACBgsAFhswsLAQBCimCxBgIrLbAILCBgsAtgIEMjsAFgQ7ACJbACJVFYIyA8sAFgI7ASZRwbISFZLbAJLLAIK7AIKi2wCiwgIEcgILACRWOwAUViYCNhOCMgilVYIEcgILACRWOwAUViYCNhOBshWS2wCywAsAEWsAoqsAEVMC2wDCwgNbABYC2wDSwAsANFY7ABRWKwACuwAkVjsAFFYrAAK7AAFrQAAAAAAEQ+IzixDAEVKi2wDiwgPCBHILACRWOwAUViYLAAQ2E4LbAPLC4XPC2wECwgPCBHILACRWOwAUViYLAAQ2GwAUNjOC2wESyxAgAWJSAuIEewACNCsAIlSYqKRyNHI2FisAEjQrIQAQEVFCotsBIssAAWsAQlsAQlRyNHI2GwAStlii4jICA8ijgtsBMssAAWsAQlsAQlIC5HI0cjYSCwBSNCsAErILBgUFggsEBRWLMDIAQgG7MDJgQaWUJCIyCwCEMgiiNHI0cjYSNGYLAFQ7CAYmAgsAArIIqKYSCwA0NgZCOwBENhZFBYsANDYRuwBENgWbADJbCAYmEjICCwBCYjRmE4GyOwCENGsAIlsAhDRyNHI2FgILAFQ7CAYmAjILAAKyOwBUNgsAArsAUlYbAFJbCAYrAEJmEgsAQlYGQjsAMlYGRQWCEbIyFZIyAgsAQmI0ZhOFktsBQssAAWICAgsAUmIC5HI0cjYSM8OC2wFSywABYgsAgjQiAgIEYjR7AAKyNhOC2wFiywABawAyWwAiVHI0cjYbAAVFguIDwjIRuwAiWwAiVHI0cjYSCwBSWwBCVHI0cjYbAGJbAFJUmwAiVhsAFFYyNiY7ABRWJgIy4jICA8ijgjIVktsBcssAAWILAIQyAuRyNHI2EgYLAgYGawgGIjICA8ijgtsBgsIyAuRrACJUZSWCA8WS6xCQEUKy2wGSwjIC5GsAIlRlBYIDxZLrEJARQrLbAaLCMgLkawAiVGUlggPFkjIC5GsAIlRlBYIDxZLrEJARQrLbAbLLAAFSBHsAAjQrIAAQEVFBMusA4qLbAcLLAAFSBHsAAjQrIAAQEVFBMusA4qLbAdLLEAARQTsA8qLbAeLLARKi2wIyywEisjIC5GsAIlRlJYIDxZLrEJARQrLbAmLLATK4ogIDywBSNCijgjIC5GsAIlRlJYIDxZLrEJARQrsAVDLrAJKy2wJCywABawBCWwBCYgLkcjRyNhsAErIyA8IC4jOLEJARQrLbAhLLEIBCVCsAAWsAQlsAQlIC5HI0cjYSCwBSNCsAErILBgUFggsEBRWLMDIAQgG7MDJgQaWUJCIyBHsAVDsIBiYCCwACsgiophILADQ2BkI7AEQ2FkUFiwA0NhG7AEQ2BZsAMlsIBiYbACJUZhOCMgPCM4GyEgIEYjR7AAKyNhOCFZsQkBFCstsCAssAgjQrAfKy2wIiywEisusQkBFCstsCUssBMrISMgIDywBSNCIzixCQEUK7AFQy6wCSstsB8ssAAWRSMgLiBGiiNhOLEJARQrLbAnLLAUKy6xCQEUKy2wKCywFCuwGCstsCkssBQrsBkrLbAqLLAAFrAUK7AaKy2wKyywFSsusQkBFCstsCwssBUrsBgrLbAtLLAVK7AZKy2wLiywFSuwGistsC8ssBYrLrEJARQrLbAwLLAWK7AYKy2wMSywFiuwGSstsDIssBYrsBorLbAzLLAXKy6xCQEUKy2wNCywFyuwGCstsDUssBcrsBkrLbA2LLAXK7AaKy2wNywrLbA4LLA3KrABFTAtAAAAAAQAKgAABBwFpgAjADcAOwA/AP5AFj8+PTw7Ojk4NDIqKCIgHRsREAQCCgcrS7BfUFhAQwABAgABHgADAgECAwEyAAEEAgEEMAAAAAIDAAIBACYABAAFCAQFAQAmAAkJBgAAJAAGBgsfAAgIBwAAJAAHBwwHIAkbS7BlUFhAQQABAgABHgADAgECAwEyAAEEAgEEMAAGAAkABgkAACYAAAACAwACAQAmAAQABQgEBQEAJgAICAcAACQABwcPByAIG0BKAAECAAEeAAMCAQIDATIAAQQCAQQwAAYACQAGCQAAJgAAAAIDAAIBACYABAAFCAQFAQAmAAgHBwgAACMACAgHAAAkAAcIBwAAIQlZWbA4KxM+ATMyHgIVFA4EDwEjJyY+BDU0JiMiDgIjIicTND4CMzIeAhUUDgIjIi4CASERITchESHvOZFjRnBOKRwqMi4jBRapEQYXKTMtHzAuJDEkGw8iEFAVJDIdHDElFRUlMRwdMiQV/qkD8vwOQQNp/JcEey4/JkVhOzdPOyolJBZgciU1KyUpMyMjLA4QDh39JxwyJRUVJTIcHTEkFRUkMQSK+lpFBR0AAgAGAAAFiQWmAA0AFgCIQAwPDg0MCwkGBQIABQcrS7BfUFhAHRMBBAMBHgAEAAEABAEAAiYAAwMLHwIBAAAMACAEG0uwZVBYQB0TAQQDAR4AAwQDNAAEAAEABAEAAiYCAQAADwAgBBtAKBMBBAMBHgADBAM0AgEAAQA1AAQBAQQAACMABAQBAAIkAAEEAQACIQZZWbA4KyEjIiYnAyEDDgErAQEhASEDLgEnDgEHBYnQIy0KbP2pbAgvItECOAET/pABzbAMHQ4OGw0jGgEn/tkXJgWm/HwB4SBXMzNYIQABAJIAAAPiBaYABQBkQAgFBAMCAQADBytLsF9QWEATAAICCx8AAAABAAIkAAEBDAEgAxtLsGVQWEATAAIAAjQAAAABAAIkAAEBDwEgAxtAHAACAAI0AAABAQAAACMAAAABAAIkAAEAAQACIQRZWbA4KyUhFSERIQGfAkP8sAEN3t4FpgACAIf/8QQ3Bc4AGQAqAYNAFhsaAAAiIBoqGyoAGQAYEQ8HBQIBCAcrS7ARUFhAMQMBBAEeHQIFBBUBAgUDHgAAAA0fBwEEBAEBACQAAQEUHwAFBQIBACQGAwICAhICIAYbS7AgUFhAMQMBBAEeHQIFBBUBAgUDHgAAAA0fBwEEBAEBACQAAQEUHwAFBQIBACQGAwICAhUCIAYbS7BfUFhANQMBBAEeHQIFBBUBAwUDHgAAAA0fBwEEBAEBACQAAQEUHwYBAwMMHwAFBQIBACQAAgIVAiAHG0uwZVBYQDMDAQQBHh0CBQQVAQMFAx4AAQcBBAUBBAEAJgAAAA0fBgEDAw8fAAUFAgEAJAACAhUCIAYbS7DtUFhAMgMBBAEeHQIFBBUBAwUDHgABBwEEBQEEAQAmAAUAAgUCAQAlBgEDAwAAACQAAAANAyAFG0A8AwEEAR4dAgUEFQEDBQMeAAEHAQQFAQQBACYABQMCBQEAIwAABgEDAgADAQAmAAUFAgEAJAACBQIBACEGWVlZWVmwOCszETMRPgEzMh4CFRQOAiMiLgInBw4BIwEiBgcRHgEzMj4CNTQuAof3PZpnVItlNz5zo2UvTkA3GQsGHRkBPU1tLypjOjhaPyIdNk0Fzv22QU1FhMJ+c8SQURMiMR5FGhYDUkE7/jQ0KSpWg1lafU4kAAACAD//8QPoBBIAJQAuARBAGCcmAQAqKSYuJy4dGxQSDw0LCQAlASUJBytLsBFQWEA0FwEEAgEeAAMBAgEDAjIABgABAwYBAQAmCAEFBQABACQHAQAAFB8AAgIEAQAkAAQEEgQgBxtLsF9QWEA0FwEEAgEeAAMBAgEDAjIABgABAwYBAQAmCAEFBQABACQHAQAAFB8AAgIEAQAkAAQEFQQgBxtLsGVQWEAyFwEEAgEeAAMBAgEDAjIHAQAIAQUGAAUBACYABgABAwYBAQAmAAICBAEAJAAEBBUEIAYbQDsXAQQCAR4AAwECAQMCMgcBAAgBBQYABQEAJgAGAAEDBgEBACYAAgQEAgEAIwACAgQBACQABAIEAQAhB1lZWbA4KwEyHgIVFA4CIyEeATMyPgIzMhYfAQ4DIyIuAjU0PgIXIgYHITQuAgIsYaN2QgUNFhH9hguUejxXQTEXDxYISClmb3M2a7iITkR/t3hsehEB0Bo2UgQSPnetbxwlFQmelBwiHAwLWjBBJxBHi82HabmJULF6cDBVQCUAAAEAhAAABiUEEgAsAO5AFgAAACwALCknJCMeHBkYExELCQMBCQcrS7AeUFhAKAUBBAArAQMEAh4NAQQBHQYBBAQAAQAkAgECAAAOHwgHBQMDAwwDIAUbS7BfUFhALAUBBAArAQMEAh4NAQQBHQAAAA4fBgEEBAEBACQCAQEBFB8IBwUDAwMMAyAGG0uwZVBYQCwFAQQAKwEDBAIeDQEEAR0CAQEGAQQDAQQBACYAAAADAAAkCAcFAwMDDwMgBRtANQUBBAArAQMEAh4NAQQBHQAABAMAAQAjAgEBBgEEAwEEAQAmAAAAAwAAJAgHBQMDAAMAACEGWVlZsDgrMxEzMh8BPgMzMhYXPgMzMh4CFREjETQmIyIOAhURIxE0JiMiBgcRhJcwDxAbO0NNLmF9HxhIVmExVYRaL/dWUyZBMRz4U1E1XSgEAi1MHjIkFWlXM0kuFjRkkF39cwKNYmMaMUow/XMCjWdeNS79EQACAD3/8QQ0BBIAEwAfAKtAEhUUAQAbGRQfFR8LCQATARMGBytLsBFQWEAcAAMDAAEAJAQBAAAUHwUBAgIBAQAkAAEBEgEgBBtLsF9QWEAcAAMDAAEAJAQBAAAUHwUBAgIBAQAkAAEBFQEgBBtLsGVQWEAaBAEAAAMCAAMBACYFAQICAQEAJAABARUBIAMbQCQEAQAAAwIAAwEAJgUBAgEBAgEAIwUBAgIBAQAkAAECAQEAIQRZWVmwOCsBMh4CFRQOAiMiLgI1ND4CEzI2NTQmIyIGFRQWAjpzu4RISIS7c3O8hUlJhbxzgHt7gIJ8fAQSSojEeXrEikpKisR6ecSISvydrKamrq+lpa0AAgCE/rEENAQVABcAKAGHQBYZGAAAIB4YKBkoABcAFxQSCggDAQgHK0uwEVBYQDEGAQQAHBsCBQQWAQIFAx4HAQQEAAEAJAEBAAAOHwAFBQIBACQAAgISHwYBAwMQAyAGG0uwGlBYQDEGAQQAHBsCBQQWAQIFAx4HAQQEAAEAJAEBAAAOHwAFBQIBACQAAgIVHwYBAwMQAyAGG0uwPVBYQDUGAQQAHBsCBQQWAQIFAx4AAAAOHwcBBAQBAQAkAAEBFB8ABQUCAQAkAAICFR8GAQMDEAMgBxtLsF9QWEA3BgEEABwbAgUEFgECBQMeBwEEBAEBACQAAQEUHwAFBQIBACQAAgIVHwYBAwMAAQAkAAAADgMgBxtLsGVQWEAyBgEEABwbAgUEFgECBQMeAAEHAQQFAQQBACYAAAYBAwADAAAlAAUFAgEAJAACAhUCIAUbQDwGAQQAHBsCBQQWAQIFAx4AAAQDAAEAIwABBwEEBQEEAQAmAAUAAgMFAgEAJgAAAAMAACQGAQMAAwAAIQZZWVlZWbA4KxMRMzIWHwE+ATMyHgIVFA4CIyImJxETIgYHER4BMzI+AjU0LgKElxgiBRQ+oWxUi2U3PnOjZVd5MOlNbS8qYzk4Wz8iHTZN/rEFURYXX0dYRoXDfnPEkFE1L/5cBKFBO/40NCkqVoNZWn1OJAAAAQCEAAADEgQVABYBSkAQAAAAFgAWExEQDgoIAwEGBytLsBpQWEAhCwYCAgAVAQQCAh4DAQICAAEAJAEBAAAOHwUBBAQMBCAEG0uwIlBYQCULBgICABUBBAICHgAAAA4fAwECAgEBACQAAQEUHwUBBAQMBCAFG0uwX1BYQCsLBgIDABUBBAICHgACAwQDAioAAAAOHwADAwEBACQAAQEUHwUBBAQMBCAGG0uwZVBYQCsLBgIDABUBBAICHgACAwQDAioAAQADAgEDAQAmAAAABAAAJAUBBAQPBCAFG0uwslBYQDQLBgIDABUBBAICHgACAwQDAioAAAMEAAEAIwABAAMCAQMBACYAAAAEAAAkBQEEAAQAACEGG0A1CwYCAwAVAQQCAh4AAgMEAwIEMgAAAwQAAQAjAAEAAwIBAwEAJgAAAAQAACQFAQQABAAAIQZZWVlZWbA4KzMRMzIWHwE+ATMyFwcOASMiJiMiBgcRhJEmHgUPN5RcTDIgAxQRDzQrTW4mBAIcInxfbiO5Eg8OVVL9gQABAEMAAANqBAIADwB3QAoPDg0MBwYFBAQHK0uwX1BYQBoAAgIDAAAkAAMDDh8AAAABAAAkAAEBDAEgBBtLsGVQWEAYAAMAAgADAgAAJgAAAAEAACQAAQEPASADG0AhAAMAAgADAgAAJgAAAQEAAAAjAAAAAQAAJAABAAEAACEEWVmwOCsBFAYHASEVITU0NjcBITUhA2oTDf4YAfr85xARAez+EAMKA5waMRH9fr5nES8VAom9) format('truetype');\n }\n "),u.qZA(),u._uU(662,"\n "),u.qZA(),u._uU(663,"\n \n \n \n "),u.TgZ(664,"svg",254),u._uU(665,"\n "),u.TgZ(666,"defs"),u._uU(667,"\n "),u.TgZ(668,"filter",255),u._uU(669,"\n "),u._UZ(670,"feGaussianBlur",256),u._uU(671,"\n "),u._UZ(672,"feOffset",257),u._uU(673,"\n "),u._UZ(674,"feFlood",258),u._uU(675,"\n "),u._UZ(676,"feComposite",259),u._uU(677,"\n "),u.TgZ(678,"feMerge",260),u._uU(679,"\n "),u._UZ(680,"feMergeNode",261),u._uU(681,"\n "),u._UZ(682,"feMergeNode",262),u._uU(683,"\n "),u.qZA(),u._uU(684,"\n "),u.qZA(),u._uU(685,"\n "),u.TgZ(686,"filter",263),u._uU(687,"\n "),u._UZ(688,"feGaussianBlur",264),u._uU(689,"\n "),u._UZ(690,"feOffset",265),u._uU(691,"\n "),u._UZ(692,"feFlood",266),u._uU(693,"\n "),u._UZ(694,"feComposite",267),u._uU(695,"\n "),u.TgZ(696,"feMerge",268),u._uU(697,"\n "),u._UZ(698,"feMergeNode",269),u._uU(699,"\n "),u._UZ(700,"feMergeNode",270),u._uU(701,"\n "),u.qZA(),u._uU(702,"\n "),u.qZA(),u._uU(703,"\n "),u.TgZ(704,"filter",271),u._uU(705,"\n "),u._UZ(706,"feGaussianBlur",272),u._uU(707,"\n "),u._UZ(708,"feOffset",273),u._uU(709,"\n "),u._UZ(710,"feFlood",274),u._uU(711,"\n "),u._UZ(712,"feComposite",275),u._uU(713,"\n "),u.TgZ(714,"feMerge",276),u._uU(715,"\n "),u._UZ(716,"feMergeNode",277),u._uU(717,"\n "),u._UZ(718,"feMergeNode",278),u._uU(719,"\n "),u.qZA(),u._uU(720,"\n "),u.qZA(),u._uU(721,"\n "),u.TgZ(722,"filter",279),u._uU(723,"\n "),u._UZ(724,"feGaussianBlur",280),u._uU(725,"\n "),u._UZ(726,"feOffset",281),u._uU(727,"\n "),u._UZ(728,"feFlood",282),u._uU(729,"\n "),u._UZ(730,"feComposite",283),u._uU(731,"\n "),u.TgZ(732,"feMerge",284),u._uU(733,"\n "),u._UZ(734,"feMergeNode",285),u._uU(735,"\n "),u._UZ(736,"feMergeNode",286),u._uU(737,"\n "),u.qZA(),u._uU(738,"\n "),u.qZA(),u._uU(739,"\n "),u.TgZ(740,"filter",287),u._uU(741,"\n "),u._UZ(742,"feGaussianBlur",288),u._uU(743,"\n "),u._UZ(744,"feOffset",289),u._uU(745,"\n "),u._UZ(746,"feFlood",290),u._uU(747,"\n "),u._UZ(748,"feComposite",291),u._uU(749,"\n "),u.TgZ(750,"feMerge",292),u._uU(751,"\n "),u._UZ(752,"feMergeNode",293),u._uU(753,"\n "),u._UZ(754,"feMergeNode",294),u._uU(755,"\n "),u.qZA(),u._uU(756,"\n "),u.qZA(),u._uU(757,"\n "),u.TgZ(758,"linearGradient",295),u._uU(759,"\n "),u._UZ(760,"stop",296),u._uU(761,"\n "),u._UZ(762,"stop",297),u._uU(763,"\n "),u.qZA(),u._uU(764,"\n "),u.TgZ(765,"filter",298),u._uU(766,"\n "),u._UZ(767,"feGaussianBlur",299),u._uU(768,"\n "),u._UZ(769,"feOffset",300),u._uU(770,"\n "),u._UZ(771,"feFlood",301),u._uU(772,"\n "),u._UZ(773,"feComposite",302),u._uU(774,"\n "),u.TgZ(775,"feMerge",303),u._uU(776,"\n "),u._UZ(777,"feMergeNode",304),u._uU(778,"\n "),u._UZ(779,"feMergeNode",305),u._uU(780,"\n "),u.qZA(),u._uU(781,"\n "),u.qZA(),u._uU(782,"\n "),u.TgZ(783,"linearGradient",306),u._uU(784,"\n "),u._UZ(785,"stop",307),u._uU(786,"\n "),u._UZ(787,"stop",308),u._uU(788,"\n "),u.qZA(),u._uU(789,"\n "),u.TgZ(790,"filter",309),u._uU(791,"\n "),u._UZ(792,"feGaussianBlur",310),u._uU(793,"\n "),u._UZ(794,"feOffset",311),u._uU(795,"\n "),u._UZ(796,"feFlood",312),u._uU(797,"\n "),u._UZ(798,"feComposite",313),u._uU(799,"\n "),u.TgZ(800,"feMerge",314),u._uU(801,"\n "),u._UZ(802,"feMergeNode",315),u._uU(803,"\n "),u._UZ(804,"feMergeNode",316),u._uU(805,"\n "),u.qZA(),u._uU(806,"\n "),u.qZA(),u._uU(807,"\n "),u.TgZ(808,"linearGradient",317),u._uU(809,"\n "),u._UZ(810,"stop",318),u._uU(811,"\n "),u._UZ(812,"stop",319),u._uU(813,"\n "),u.qZA(),u._uU(814,"\n "),u.TgZ(815,"filter",320),u._uU(816,"\n "),u._UZ(817,"feGaussianBlur",321),u._uU(818,"\n "),u._UZ(819,"feOffset",322),u._uU(820,"\n "),u._UZ(821,"feFlood",323),u._uU(822,"\n "),u._UZ(823,"feComposite",324),u._uU(824,"\n "),u.TgZ(825,"feMerge",325),u._uU(826,"\n "),u._UZ(827,"feMergeNode",326),u._uU(828,"\n "),u._UZ(829,"feMergeNode",327),u._uU(830,"\n "),u.qZA(),u._uU(831,"\n "),u.qZA(),u._uU(832,"\n "),u.TgZ(833,"linearGradient",328),u._uU(834,"\n "),u._UZ(835,"stop",329),u._uU(836,"\n "),u._UZ(837,"stop",330),u._uU(838,"\n "),u.qZA(),u._uU(839,"\n "),u.TgZ(840,"filter",331),u._uU(841,"\n "),u._UZ(842,"feGaussianBlur",332),u._uU(843,"\n "),u._UZ(844,"feOffset",333),u._uU(845,"\n "),u._UZ(846,"feFlood",334),u._uU(847,"\n "),u._UZ(848,"feComposite",335),u._uU(849,"\n "),u.TgZ(850,"feMerge",336),u._uU(851,"\n "),u._UZ(852,"feMergeNode",337),u._uU(853,"\n "),u._UZ(854,"feMergeNode",338),u._uU(855,"\n "),u.qZA(),u._uU(856,"\n "),u.qZA(),u._uU(857,"\n "),u.TgZ(858,"linearGradient",339),u._uU(859,"\n "),u._UZ(860,"stop",340),u._uU(861,"\n "),u._UZ(862,"stop",341),u._uU(863,"\n "),u.qZA(),u._uU(864,"\n "),u.TgZ(865,"filter",342),u._uU(866,"\n "),u._UZ(867,"feGaussianBlur",343),u._uU(868,"\n "),u._UZ(869,"feOffset",344),u._uU(870,"\n "),u._UZ(871,"feFlood",345),u._uU(872,"\n "),u._UZ(873,"feComposite",346),u._uU(874,"\n "),u.TgZ(875,"feMerge",347),u._uU(876,"\n "),u._UZ(877,"feMergeNode",348),u._uU(878,"\n "),u._UZ(879,"feMergeNode",349),u._uU(880,"\n "),u.qZA(),u._uU(881,"\n "),u.qZA(),u._uU(882,"\n "),u.TgZ(883,"linearGradient",350),u._uU(884,"\n "),u._UZ(885,"stop",351),u._uU(886,"\n "),u._UZ(887,"stop",352),u._uU(888,"\n "),u.qZA(),u._uU(889,"\n "),u.qZA(),u._uU(890,"\n "),u._UZ(891,"rect",353),u._uU(892,"\n "),u.TgZ(893,"g",354),u._uU(894,"\n "),u.TgZ(895,"g"),u._uU(896,"\n "),u._UZ(897,"path",139),u._uU(898,"\n "),u.TgZ(899,"g"),u._uU(900,"\n "),u._UZ(901,"path",140),u._uU(902,"\n "),u._UZ(903,"path",141),u._uU(904,"\n "),u.qZA(),u._uU(905,"\n "),u._UZ(906,"ellipse",142),u._uU(907,"\n "),u.qZA(),u._uU(908,"\n "),u.TgZ(909,"g"),u._uU(910,"\n "),u._UZ(911,"path",143),u._uU(912,"\n "),u.TgZ(913,"g"),u._uU(914,"\n "),u._UZ(915,"path",144),u._uU(916,"\n "),u._UZ(917,"path",145),u._uU(918,"\n "),u.qZA(),u._uU(919,"\n "),u._UZ(920,"ellipse",146),u._uU(921,"\n "),u.qZA(),u._uU(922,"\n "),u.qZA(),u._uU(923,"\n "),u.TgZ(924,"g",355),u._uU(925,"\n "),u.TgZ(926,"g"),u._uU(927,"\n "),u._UZ(928,"path",356),u._uU(929,"\n "),u.TgZ(930,"g"),u._uU(931,"\n "),u._UZ(932,"path",357),u._uU(933,"\n "),u._UZ(934,"path",358),u._uU(935,"\n "),u._UZ(936,"path",359),u._uU(937,"\n "),u.qZA(),u._uU(938,"\n "),u._UZ(939,"rect",360),u._uU(940,"\n "),u.TgZ(941,"g",361),u._uU(942,"\n "),u._UZ(943,"polygon",154),u._uU(944,"\n "),u._UZ(945,"path",155),u._uU(946,"\n "),u._UZ(947,"path",156),u._uU(948,"\n "),u._UZ(949,"path",157),u._uU(950,"\n "),u._UZ(951,"path",158),u._uU(952,"\n "),u._UZ(953,"path",159),u._uU(954,"\n "),u._UZ(955,"path",160),u._uU(956,"\n "),u.qZA(),u._uU(957,"\n "),u.qZA(),u._uU(958,"\n "),u.TgZ(959,"g"),u._uU(960,"\n "),u._UZ(961,"path",362),u._uU(962,"\n "),u.TgZ(963,"g"),u._uU(964,"\n "),u._UZ(965,"path",363),u._uU(966,"\n "),u._UZ(967,"path",364),u._uU(968,"\n "),u._UZ(969,"path",365),u._uU(970,"\n "),u.qZA(),u._uU(971,"\n "),u._UZ(972,"rect",366),u._uU(973,"\n "),u.TgZ(974,"g",367),u._uU(975,"\n "),u._UZ(976,"path",167),u._uU(977,"\n "),u._UZ(978,"path",168),u._uU(979,"\n "),u._UZ(980,"polygon",169),u._uU(981,"\n "),u._UZ(982,"path",170),u._uU(983,"\n "),u.qZA(),u._uU(984,"\n "),u.qZA(),u._uU(985,"\n "),u.qZA(),u._uU(986,"\n "),u.TgZ(987,"g",368),u._uU(988,"\n "),u._UZ(989,"path",369),u._uU(990,"\n "),u.TgZ(991,"g",370),u._uU(992,"\n "),u._UZ(993,"path",174),u._uU(994,"\n "),u._UZ(995,"path",175),u._uU(996,"\n "),u._UZ(997,"path",176),u._uU(998,"\n "),u.qZA(),u._uU(999,"\n "),u.TgZ(1e3,"g",371),u.TgZ(1001,"text",372),u._uU(1002,"\n "),u.TgZ(1003,"tspan",179),u._uU(1004),u.qZA(),u._uU(1005,"\n "),u.qZA(),u.TgZ(1006,"text",373),u._uU(1007,"\n "),u.TgZ(1008,"tspan",179),u._uU(1009),u.qZA(),u._uU(1010,"\n "),u.qZA(),u.qZA(),u._uU(1011,"\n "),u.TgZ(1012,"g",374),u._uU(1013,"\n "),u._UZ(1014,"path",375),u._uU(1015,"\n "),u._UZ(1016,"path",376),u._uU(1017,"\n "),u.TgZ(1018,"g"),u._uU(1019,"\n "),u._UZ(1020,"rect",184),u._uU(1021,"\n "),u._UZ(1022,"path",185),u._uU(1023,"\n "),u.qZA(),u._uU(1024,"\n "),u.qZA(),u._uU(1025,"\n "),u.qZA(),u._uU(1026,"\n "),u.TgZ(1027,"g",186),u._uU(1028,"\n "),u._UZ(1029,"path",187),u._uU(1030,"\n "),u._UZ(1031,"rect",377),u._uU(1032,"\n "),u._UZ(1033,"rect",378),u._uU(1034,"\n "),u._UZ(1035,"rect",379),u._uU(1036,"\n "),u._UZ(1037,"path",380),u._uU(1038,"\n "),u.qZA(),u._uU(1039,"\n "),u.TgZ(1040,"g",381),u._uU(1041,"\n "),u.TgZ(1042,"g",382),u._uU(1043,"\n "),u.TgZ(1044,"g",194),u._uU(1045,"\n "),u.TgZ(1046,"g",383),u._uU(1047,"\n "),u._UZ(1048,"rect",384),u._uU(1049,"\n "),u.TgZ(1050,"g"),u._uU(1051,"\n "),u._UZ(1052,"rect",385),u._uU(1053,"\n "),u._UZ(1054,"rect",386),u._uU(1055,"\n "),u._UZ(1056,"rect",387),u._uU(1057,"\n "),u.qZA(),u._uU(1058,"\n "),u.TgZ(1059,"g"),u._uU(1060,"\n "),u._UZ(1061,"path",228),u._uU(1062,"\n "),u._UZ(1063,"path",229),u._uU(1064,"\n "),u.qZA(),u._uU(1065,"\n "),u.qZA(),u._uU(1066,"\n "),u.TgZ(1067,"g",388),u._uU(1068,"\n "),u._UZ(1069,"rect",389),u._uU(1070,"\n "),u.TgZ(1071,"g"),u._uU(1072,"\n "),u._UZ(1073,"rect",390),u._uU(1074,"\n "),u._UZ(1075,"rect",391),u._uU(1076,"\n "),u._UZ(1077,"rect",392),u._uU(1078,"\n "),u.qZA(),u._uU(1079,"\n "),u.TgZ(1080,"g"),u._uU(1081,"\n "),u._UZ(1082,"path",235),u._uU(1083,"\n "),u._UZ(1084,"path",236),u._uU(1085,"\n "),u.qZA(),u._uU(1086,"\n "),u.qZA(),u._uU(1087,"\n "),u.TgZ(1088,"g",393),u._uU(1089,"\n "),u._UZ(1090,"rect",394),u._uU(1091,"\n "),u.TgZ(1092,"g"),u._uU(1093,"\n "),u._UZ(1094,"rect",395),u._uU(1095,"\n "),u._UZ(1096,"rect",396),u._uU(1097,"\n "),u._UZ(1098,"rect",397),u._uU(1099,"\n "),u.qZA(),u._uU(1100,"\n "),u.TgZ(1101,"g"),u._uU(1102,"\n "),u._UZ(1103,"path",221),u._uU(1104,"\n "),u._UZ(1105,"path",222),u._uU(1106,"\n "),u.qZA(),u._uU(1107,"\n "),u.qZA(),u._uU(1108,"\n "),u.TgZ(1109,"g",398),u._uU(1110,"\n "),u._UZ(1111,"rect",399),u._uU(1112,"\n "),u.TgZ(1113,"g"),u._uU(1114,"\n "),u._UZ(1115,"rect",400),u._uU(1116,"\n "),u._UZ(1117,"rect",401),u._uU(1118,"\n "),u._UZ(1119,"rect",402),u._uU(1120,"\n "),u.qZA(),u._uU(1121,"\n "),u.TgZ(1122,"g"),u._uU(1123,"\n "),u._UZ(1124,"path",228),u._uU(1125,"\n "),u._UZ(1126,"path",229),u._uU(1127,"\n "),u.qZA(),u._uU(1128,"\n "),u.qZA(),u._uU(1129,"\n "),u.TgZ(1130,"g",403),u._uU(1131,"\n "),u._UZ(1132,"rect",404),u._uU(1133,"\n "),u.TgZ(1134,"g"),u._uU(1135,"\n "),u._UZ(1136,"rect",405),u._uU(1137,"\n "),u._UZ(1138,"rect",406),u._uU(1139,"\n "),u._UZ(1140,"rect",407),u._uU(1141,"\n "),u.qZA(),u._uU(1142,"\n "),u.TgZ(1143,"g"),u._uU(1144,"\n "),u._UZ(1145,"path",235),u._uU(1146,"\n "),u._UZ(1147,"path",236),u._uU(1148,"\n "),u.qZA(),u._uU(1149,"\n "),u.qZA(),u._uU(1150,"\n "),u.TgZ(1151,"g",408),u._uU(1152,"\n "),u._UZ(1153,"rect",409),u._uU(1154,"\n "),u.TgZ(1155,"g"),u._uU(1156,"\n "),u._UZ(1157,"rect",239),u._uU(1158,"\n "),u._UZ(1159,"rect",240),u._uU(1160,"\n "),u._UZ(1161,"rect",241),u._uU(1162,"\n "),u.qZA(),u._uU(1163,"\n "),u.TgZ(1164,"g"),u._uU(1165,"\n "),u._UZ(1166,"path",242),u._uU(1167,"\n "),u._UZ(1168,"path",243),u._uU(1169,"\n "),u.qZA(),u._uU(1170,"\n "),u.qZA(),u._uU(1171,"\n "),u.qZA(),u._uU(1172,"\n "),u.qZA(),u._uU(1173,"\n "),u.TgZ(1174,"clipPath",410),u._uU(1175,"\n "),u._UZ(1176,"rect",245),u._uU(1177,"\n "),u.qZA(),u._uU(1178,"\n "),u.qZA(),u._uU(1179,"\n "),u.TgZ(1180,"style"),u._uU(1181,"\n @font-face {\n font-family: 'e6WOXxMj8IE1:::Lato';\n font-style: normal;\n font-weight: 700;\n src: url(data:font/ttf;charset=utf-8;base64,AAEAAAAQAQAABAAAR1BPU5cqlrYAAAL8AAAAbEdTVUK4/LjqAAABlAAAAChPUy8yel1koAAAApwAAABgY21hcAG7AnUAAANoAAAAdGN2dCAHyBmgAAAB6AAAAC5mcGdtclpyQAAABlwAAAblZ2FzcAANABgAAAEMAAAADGdseWZhAL2vAAANRAAADYBoZWFk/N3yRwAAAhgAAAA2aGhlYQ/2BtYAAAFwAAAAJGhtdHguSwOUAAABvAAAACxsb2NhEMUVJgAAARgAAAAYbWF4cAD1B/YAAAEwAAAAIG5hbWUzsVCFAAAD3AAAAoBwb3N0/4sAoAAAAVAAAAAgcHJlcKYHlRcAAAJQAAAASwABAAIADQAH//8ADwAAANwA3AFMAY4CkANdBBMEmQWbBmUGwAABAAAACwCCAAcAXwAEAAIAIgAtADkAAACBBuUAAgABAAMAAAAAAAD/iACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAB7b+VgAACSv/T/9JCO4AAQAAAAAAAAAAAAAAAAAAAAsAAQAAAAoAJgAmAAJERkxUABJsYXRuAA4AAAAAAAQAAAAA//8AAAAABEYAKgGCAAAFjAAGBAoAkgR0AIcELQA/BpQAhARxAD0EawCEAzEAhAOrAEMAAAAAAAAAAAAAAP8AvQD/AP8AvQC+BaYAAAXMBAIAAP6xBbb/8AXMBBL/8f6YAAAAAQAAAAEaoNoZCR9fDzz1ABkH0AAAAADKk15wAAAAAMrfLoD/T/6XCO4HUgABAAkAAgAAAAAAALkIAAgAYyCwASNEILADI3CwFEUgILAoYGYgilVYsAIlYbABRWMjYrACI0SzCQoDAiuzCxADAiuzERYDAitZsgQoBkVSRLMLEAQCKwAAAwQkArwABQAABXgFFAAAARgFeAUUAAADugCgAfQIAwIPCAICAgQDAgOAAAAnAAAASgAAAAAAAAAAdHlQTAAgAAAiEgZK/noBkAe2AaogAACTAAAAAAQCBaYAAAAgAAIAAQAAAAoAMABEAAJERkxUABpsYXRuAA4ABAAAAAD//wABAAEABAAAAAD//wABAAAAAmtlcm4ADmtlcm4ADgAAAAEAAAABAAQAAgAAAAEACAABAAwABAAAAAEAEgABAAEAAwACAAX/2gAH/9oAAAACAAAAAwAAABQAAwABAAAAFAAEAGAAAAAUABAAAwAEACAAQQBMAGIAZQBtAHAAcgB6//8AAAAgAEEATABiAGUAbQBvAHIAev///+H/wf+3/6L/oP+Z/5j/l/+QAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAZgADAAEECQAAARQBBgADAAEECQABAAgA/gADAAEECQACAAgA9gADAAEECQADAE4AqAADAAEECQAEABIAlgADAAEECQAFAFAARgADAAEECQAGABIANAADAAEECQAOADQAAABoAHQAdABwADoALwAvAHMAYwByAGkAcAB0AHMALgBzAGkAbAAuAG8AcgBnAC8ATwBGAEwATABhAHQAbwAtAEIAbwBsAGQAVgBlAHIAcwBpAG8AbgAgADEALgAxADAANAA7ACAAVwBlAHMAdABlAHIAbgArAFAAbwBsAGkAcwBoACAAbwBwAGUAbgBzAG8AdQByAGMAZQBMAGEAdABvACAAQgBvAGwAZAB0AHkAUABvAGwAYQBuAGQATAB1AGsAYQBzAHoARAB6AGkAZQBkAHoAaQBjADoAIABMAGEAdABvACAAQgBvAGwAZAA6ACAAMgAwADEAMQBCAG8AbABkAEwAYQB0AG8AQwBvAHAAeQByAGkAZwBoAHQAIAAoAGMAKQAgADIAMAAxADAALQAyADAAMQAxACAAYgB5ACAAdAB5AFAAbwBsAGEAbgBkACAATAB1AGsAYQBzAHoAIABEAHoAaQBlAGQAegBpAGMAIAB3AGkAdABoACAAUgBlAHMAZQByAHYAZQBkACAARgBvAG4AdAAgAE4AYQBtAGUAIAAiAEwAYQB0AG8AIgAuACAATABpAGMAZQBuAHMAZQBkACAAdQBuAGQAZQByACAAdABoAGUAIABTAEkATAAgAE8AcABlAG4AIABGAG8AbgB0ACAATABpAGMAZQBuAHMAZQAsACAAVgBlAHIAcwBpAG8AbgAgADEALgAxAC6wACwgZLAgYGYjsABQWGVZLbABLCBkILDAULAEJlqwBEVbWCEjIRuKWCCwUFBYIbBAWRsgsDhQWCGwOFlZILAJRWFksChQWCGwCUUgsDBQWCGwMFkbILDAUFggZiCKimEgsApQWGAbILAgUFghsApgGyCwNlBYIbA2YBtgWVlZG7AAK1lZI7AAUFhlWVktsAIssAcjQrAGI0KwACNCsABDsAZDUViwB0MrsgABAENgQrAWZRxZLbADLLAAQyBFILACRWOwAUViYEQtsAQssABDIEUgsAArI7EGBCVgIEWKI2EgZCCwIFBYIbAAG7AwUFiwIBuwQFlZI7AAUFhlWbADJSNhREQtsAUssAFgICCwCUNKsABQWCCwCSNCWbAKQ0qwAFJYILAKI0JZLbAGLLAAQ7ACJUKyAAEAQ2BCsQkCJUKxCgIlQrABFiMgsAMlUFiwAEOwBCVCioogiiNhsAUqISOwAWEgiiNhsAUqIRuwAEOwAiVCsAIlYbAFKiFZsAlDR7AKQ0dgsIBiILACRWOwAUViYLEAABMjRLABQ7AAPrIBAQFDYEItsAcsACBgsAFhswsLAQBCimCxBgIrLbAILCBgsAtgIEMjsAFgQ7ACJbACJVFYIyA8sAFgI7ASZRwbISFZLbAJLLAIK7AIKi2wCiwgIEcgILACRWOwAUViYCNhOCMgilVYIEcgILACRWOwAUViYCNhOBshWS2wCywAsAEWsAoqsAEVMC2wDCwgNbABYC2wDSwAsANFY7ABRWKwACuwAkVjsAFFYrAAK7AAFrQAAAAAAEQ+IzixDAEVKi2wDiwgPCBHILACRWOwAUViYLAAQ2E4LbAPLC4XPC2wECwgPCBHILACRWOwAUViYLAAQ2GwAUNjOC2wESyxAgAWJSAuIEewACNCsAIlSYqKRyNHI2FisAEjQrIQAQEVFCotsBIssAAWsAQlsAQlRyNHI2GwAStlii4jICA8ijgtsBMssAAWsAQlsAQlIC5HI0cjYSCwBSNCsAErILBgUFggsEBRWLMDIAQgG7MDJgQaWUJCIyCwCEMgiiNHI0cjYSNGYLAFQ7CAYmAgsAArIIqKYSCwA0NgZCOwBENhZFBYsANDYRuwBENgWbADJbCAYmEjICCwBCYjRmE4GyOwCENGsAIlsAhDRyNHI2FgILAFQ7CAYmAjILAAKyOwBUNgsAArsAUlYbAFJbCAYrAEJmEgsAQlYGQjsAMlYGRQWCEbIyFZIyAgsAQmI0ZhOFktsBQssAAWICAgsAUmIC5HI0cjYSM8OC2wFSywABYgsAgjQiAgIEYjR7AAKyNhOC2wFiywABawAyWwAiVHI0cjYbAAVFguIDwjIRuwAiWwAiVHI0cjYSCwBSWwBCVHI0cjYbAGJbAFJUmwAiVhsAFFYyNiY7ABRWJgIy4jICA8ijgjIVktsBcssAAWILAIQyAuRyNHI2EgYLAgYGawgGIjICA8ijgtsBgsIyAuRrACJUZSWCA8WS6xCQEUKy2wGSwjIC5GsAIlRlBYIDxZLrEJARQrLbAaLCMgLkawAiVGUlggPFkjIC5GsAIlRlBYIDxZLrEJARQrLbAbLLAAFSBHsAAjQrIAAQEVFBMusA4qLbAcLLAAFSBHsAAjQrIAAQEVFBMusA4qLbAdLLEAARQTsA8qLbAeLLARKi2wIyywEisjIC5GsAIlRlJYIDxZLrEJARQrLbAmLLATK4ogIDywBSNCijgjIC5GsAIlRlJYIDxZLrEJARQrsAVDLrAJKy2wJCywABawBCWwBCYgLkcjRyNhsAErIyA8IC4jOLEJARQrLbAhLLEIBCVCsAAWsAQlsAQlIC5HI0cjYSCwBSNCsAErILBgUFggsEBRWLMDIAQgG7MDJgQaWUJCIyBHsAVDsIBiYCCwACsgiophILADQ2BkI7AEQ2FkUFiwA0NhG7AEQ2BZsAMlsIBiYbACJUZhOCMgPCM4GyEgIEYjR7AAKyNhOCFZsQkBFCstsCAssAgjQrAfKy2wIiywEisusQkBFCstsCUssBMrISMgIDywBSNCIzixCQEUK7AFQy6wCSstsB8ssAAWRSMgLiBGiiNhOLEJARQrLbAnLLAUKy6xCQEUKy2wKCywFCuwGCstsCkssBQrsBkrLbAqLLAAFrAUK7AaKy2wKyywFSsusQkBFCstsCwssBUrsBgrLbAtLLAVK7AZKy2wLiywFSuwGistsC8ssBYrLrEJARQrLbAwLLAWK7AYKy2wMSywFiuwGSstsDIssBYrsBorLbAzLLAXKy6xCQEUKy2wNCywFyuwGCstsDUssBcrsBkrLbA2LLAXK7AaKy2wNywrLbA4LLA3KrABFTAtAAAAAAQAKgAABBwFpgAjADcAOwA/AP5AFj8+PTw7Ojk4NDIqKCIgHRsREAQCCgcrS7BfUFhAQwABAgABHgADAgECAwEyAAEEAgEEMAAAAAIDAAIBACYABAAFCAQFAQAmAAkJBgAAJAAGBgsfAAgIBwAAJAAHBwwHIAkbS7BlUFhAQQABAgABHgADAgECAwEyAAEEAgEEMAAGAAkABgkAACYAAAACAwACAQAmAAQABQgEBQEAJgAICAcAACQABwcPByAIG0BKAAECAAEeAAMCAQIDATIAAQQCAQQwAAYACQAGCQAAJgAAAAIDAAIBACYABAAFCAQFAQAmAAgHBwgAACMACAgHAAAkAAcIBwAAIQlZWbA4KxM+ATMyHgIVFA4EDwEjJyY+BDU0JiMiDgIjIicTND4CMzIeAhUUDgIjIi4CASERITchESHvOZFjRnBOKRwqMi4jBRapEQYXKTMtHzAuJDEkGw8iEFAVJDIdHDElFRUlMRwdMiQV/qkD8vwOQQNp/JcEey4/JkVhOzdPOyolJBZgciU1KyUpMyMjLA4QDh39JxwyJRUVJTIcHTEkFRUkMQSK+lpFBR0AAgAGAAAFiQWmAA0AFgCIQAwPDg0MCwkGBQIABQcrS7BfUFhAHRMBBAMBHgAEAAEABAEAAiYAAwMLHwIBAAAMACAEG0uwZVBYQB0TAQQDAR4AAwQDNAAEAAEABAEAAiYCAQAADwAgBBtAKBMBBAMBHgADBAM0AgEAAQA1AAQBAQQAACMABAQBAAIkAAEEAQACIQZZWbA4KyEjIiYnAyEDDgErAQEhASEDLgEnDgEHBYnQIy0KbP2pbAgvItECOAET/pABzbAMHQ4OGw0jGgEn/tkXJgWm/HwB4SBXMzNYIQABAJIAAAPiBaYABQBkQAgFBAMCAQADBytLsF9QWEATAAICCx8AAAABAAIkAAEBDAEgAxtLsGVQWEATAAIAAjQAAAABAAIkAAEBDwEgAxtAHAACAAI0AAABAQAAACMAAAABAAIkAAEAAQACIQRZWbA4KyUhFSERIQGfAkP8sAEN3t4FpgACAIf/8QQ3Bc4AGQAqAYNAFhsaAAAiIBoqGyoAGQAYEQ8HBQIBCAcrS7ARUFhAMQMBBAEeHQIFBBUBAgUDHgAAAA0fBwEEBAEBACQAAQEUHwAFBQIBACQGAwICAhICIAYbS7AgUFhAMQMBBAEeHQIFBBUBAgUDHgAAAA0fBwEEBAEBACQAAQEUHwAFBQIBACQGAwICAhUCIAYbS7BfUFhANQMBBAEeHQIFBBUBAwUDHgAAAA0fBwEEBAEBACQAAQEUHwYBAwMMHwAFBQIBACQAAgIVAiAHG0uwZVBYQDMDAQQBHh0CBQQVAQMFAx4AAQcBBAUBBAEAJgAAAA0fBgEDAw8fAAUFAgEAJAACAhUCIAYbS7DtUFhAMgMBBAEeHQIFBBUBAwUDHgABBwEEBQEEAQAmAAUAAgUCAQAlBgEDAwAAACQAAAANAyAFG0A8AwEEAR4dAgUEFQEDBQMeAAEHAQQFAQQBACYABQMCBQEAIwAABgEDAgADAQAmAAUFAgEAJAACBQIBACEGWVlZWVmwOCszETMRPgEzMh4CFRQOAiMiLgInBw4BIwEiBgcRHgEzMj4CNTQuAof3PZpnVItlNz5zo2UvTkA3GQsGHRkBPU1tLypjOjhaPyIdNk0Fzv22QU1FhMJ+c8SQURMiMR5FGhYDUkE7/jQ0KSpWg1lafU4kAAACAD//8QPoBBIAJQAuARBAGCcmAQAqKSYuJy4dGxQSDw0LCQAlASUJBytLsBFQWEA0FwEEAgEeAAMBAgEDAjIABgABAwYBAQAmCAEFBQABACQHAQAAFB8AAgIEAQAkAAQEEgQgBxtLsF9QWEA0FwEEAgEeAAMBAgEDAjIABgABAwYBAQAmCAEFBQABACQHAQAAFB8AAgIEAQAkAAQEFQQgBxtLsGVQWEAyFwEEAgEeAAMBAgEDAjIHAQAIAQUGAAUBACYABgABAwYBAQAmAAICBAEAJAAEBBUEIAYbQDsXAQQCAR4AAwECAQMCMgcBAAgBBQYABQEAJgAGAAEDBgEBACYAAgQEAgEAIwACAgQBACQABAIEAQAhB1lZWbA4KwEyHgIVFA4CIyEeATMyPgIzMhYfAQ4DIyIuAjU0PgIXIgYHITQuAgIsYaN2QgUNFhH9hguUejxXQTEXDxYISClmb3M2a7iITkR/t3hsehEB0Bo2UgQSPnetbxwlFQmelBwiHAwLWjBBJxBHi82HabmJULF6cDBVQCUAAAEAhAAABiUEEgAsAO5AFgAAACwALCknJCMeHBkYExELCQMBCQcrS7AeUFhAKAUBBAArAQMEAh4NAQQBHQYBBAQAAQAkAgECAAAOHwgHBQMDAwwDIAUbS7BfUFhALAUBBAArAQMEAh4NAQQBHQAAAA4fBgEEBAEBACQCAQEBFB8IBwUDAwMMAyAGG0uwZVBYQCwFAQQAKwEDBAIeDQEEAR0CAQEGAQQDAQQBACYAAAADAAAkCAcFAwMDDwMgBRtANQUBBAArAQMEAh4NAQQBHQAABAMAAQAjAgEBBgEEAwEEAQAmAAAAAwAAJAgHBQMDAAMAACEGWVlZsDgrMxEzMh8BPgMzMhYXPgMzMh4CFREjETQmIyIOAhURIxE0JiMiBgcRhJcwDxAbO0NNLmF9HxhIVmExVYRaL/dWUyZBMRz4U1E1XSgEAi1MHjIkFWlXM0kuFjRkkF39cwKNYmMaMUow/XMCjWdeNS79EQACAD3/8QQ0BBIAEwAfAKtAEhUUAQAbGRQfFR8LCQATARMGBytLsBFQWEAcAAMDAAEAJAQBAAAUHwUBAgIBAQAkAAEBEgEgBBtLsF9QWEAcAAMDAAEAJAQBAAAUHwUBAgIBAQAkAAEBFQEgBBtLsGVQWEAaBAEAAAMCAAMBACYFAQICAQEAJAABARUBIAMbQCQEAQAAAwIAAwEAJgUBAgEBAgEAIwUBAgIBAQAkAAECAQEAIQRZWVmwOCsBMh4CFRQOAiMiLgI1ND4CEzI2NTQmIyIGFRQWAjpzu4RISIS7c3O8hUlJhbxzgHt7gIJ8fAQSSojEeXrEikpKisR6ecSISvydrKamrq+lpa0AAgCE/rEENAQVABcAKAGHQBYZGAAAIB4YKBkoABcAFxQSCggDAQgHK0uwEVBYQDEGAQQAHBsCBQQWAQIFAx4HAQQEAAEAJAEBAAAOHwAFBQIBACQAAgISHwYBAwMQAyAGG0uwGlBYQDEGAQQAHBsCBQQWAQIFAx4HAQQEAAEAJAEBAAAOHwAFBQIBACQAAgIVHwYBAwMQAyAGG0uwPVBYQDUGAQQAHBsCBQQWAQIFAx4AAAAOHwcBBAQBAQAkAAEBFB8ABQUCAQAkAAICFR8GAQMDEAMgBxtLsF9QWEA3BgEEABwbAgUEFgECBQMeBwEEBAEBACQAAQEUHwAFBQIBACQAAgIVHwYBAwMAAQAkAAAADgMgBxtLsGVQWEAyBgEEABwbAgUEFgECBQMeAAEHAQQFAQQBACYAAAYBAwADAAAlAAUFAgEAJAACAhUCIAUbQDwGAQQAHBsCBQQWAQIFAx4AAAQDAAEAIwABBwEEBQEEAQAmAAUAAgMFAgEAJgAAAAMAACQGAQMAAwAAIQZZWVlZWbA4KxMRMzIWHwE+ATMyHgIVFA4CIyImJxETIgYHER4BMzI+AjU0LgKElxgiBRQ+oWxUi2U3PnOjZVd5MOlNbS8qYzk4Wz8iHTZN/rEFURYXX0dYRoXDfnPEkFE1L/5cBKFBO/40NCkqVoNZWn1OJAAAAQCEAAADEgQVABYBSkAQAAAAFgAWExEQDgoIAwEGBytLsBpQWEAhCwYCAgAVAQQCAh4DAQICAAEAJAEBAAAOHwUBBAQMBCAEG0uwIlBYQCULBgICABUBBAICHgAAAA4fAwECAgEBACQAAQEUHwUBBAQMBCAFG0uwX1BYQCsLBgIDABUBBAICHgACAwQDAioAAAAOHwADAwEBACQAAQEUHwUBBAQMBCAGG0uwZVBYQCsLBgIDABUBBAICHgACAwQDAioAAQADAgEDAQAmAAAABAAAJAUBBAQPBCAFG0uwslBYQDQLBgIDABUBBAICHgACAwQDAioAAAMEAAEAIwABAAMCAQMBACYAAAAEAAAkBQEEAAQAACEGG0A1CwYCAwAVAQQCAh4AAgMEAwIEMgAAAwQAAQAjAAEAAwIBAwEAJgAAAAQAACQFAQQABAAAIQZZWVlZWbA4KzMRMzIWHwE+ATMyFwcOASMiJiMiBgcRhJEmHgUPN5RcTDIgAxQRDzQrTW4mBAIcInxfbiO5Eg8OVVL9gQABAEMAAANqBAIADwB3QAoPDg0MBwYFBAQHK0uwX1BYQBoAAgIDAAAkAAMDDh8AAAABAAAkAAEBDAEgBBtLsGVQWEAYAAMAAgADAgAAJgAAAAEAACQAAQEPASADG0AhAAMAAgADAgAAJgAAAQEAAAAjAAAAAQAAJAABAAEAACEEWVmwOCsBFAYHASEVITU0NjcBITUhA2oTDf4YAfr85xARAez+EAMKA5waMRH9fr5nES8VAom9) format('truetype');\n }\n "),u.qZA(),u._uU(1182,"\n "),u.qZA(),u._uU(1183,"\n \n "),u.qZA(),u._uU(1184,"\n "),u.qZA(),u._uU(1185,"\n"),u.qZA()),2&e&&(u.xp6(9),u.Q6J("ngIf",!u.lcZ(10,8,t.screenSizeService.isDesktop)),u.xp6(3),u.Q6J("ngIf",u.lcZ(13,10,t.screenSizeService.isDesktop)),u.xp6(3),u.Q6J("ngIf",!u.lcZ(16,12,t.screenSizeService.isDesktop)),u.xp6(3),u.Q6J("ngIf",u.lcZ(19,14,t.screenSizeService.isDesktop)),u.xp6(417),u.Oqu(t.lastName),u.xp6(5),u.Oqu(t.firstName),u.xp6(564),u.Oqu(t.lastName),u.xp6(5),u.Oqu(t.firstName))},directives:[p.O5],pipes:[p.Ov,p.JJ],styles:[".mini-cert-frame[_ngcontent-%COMP%]{height:100%;width:100%;position:relative}.mini-cert-container[_ngcontent-%COMP%]{height:426px;width:260px;margin-left:auto;margin-right:auto;left:0;right:0;top:0;bottom:0;text-align:center;position:absolute}.mini-cert-header[_ngcontent-%COMP%]{font-family:Mulish;font-size:18px;font-weight:800;color:var(--dk-blue);padding:0;text-align:center;height:4em;width:100%;overflow:hidden;position:relative}.mini-cert-header[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{display:block;position:absolute;width:100%}.mini-cert-animations[_ngcontent-%COMP%]{display:block;font-family:Mulish;position:relative;width:100%}.reviewing-your-info[_ngcontent-%COMP%]{animation:showText .25s ease-in 0s 1 normal both,hideText .25s ease-out 2.2s 1 normal forwards}.calculating-your-terms-on-XXXX-cars[_ngcontent-%COMP%]{animation:showText .25s ease-in 2.2s 1 normal both,hideText .25s ease-out 4.9s 1 normal forwards}.unlocking-your-real-deal-on-every-car[_ngcontent-%COMP%]{animation:showText .25s ease-in 4.9s 1 normal both}@keyframes showText{0%{top:100%;opacity:0;visibility:hidden}to{top:0;opacity:1;visibility:visible}}@keyframes hideText{0%{top:0;opacity:1;visibility:visible}to{top:-100%;opacity:0;visibility:hidden}}.first-animation[_ngcontent-%COMP%]{display:block;position:absolute;animation:showAnimation 0s linear 0s 1 normal both,hideAnimation 0s linear 6s 1 normal forwards}.second-animation[_ngcontent-%COMP%]{display:block;visibility:hidden;position:absolute;animation:showAnimation 0s linear 6s 1 normal both}@keyframes showAnimation{0%{visibility:hidden}to{visibility:visible}}@keyframes hideAnimation{0%{visibility:visible}to{visibility:hidden}}@media screen and (max-width: 768px){.mini-cert-container[_ngcontent-%COMP%]{margin-top:15%}}@media screen and (min-width: 768px){.mini-cert-container[_ngcontent-%COMP%]{margin:auto}}@media screen and (max-height: 600px){.mini-cert-container[_ngcontent-%COMP%]{margin-top:0}}"]}),e})();function b(e,t){if(1&e&&u._UZ(0,"dtm-loader-mini-cert",3),2&e){const e=u.oxw();u.Q6J("firstName",e.firstName)("lastName",e.lastName)("nationwideVehicleCount",e.nationwideVehicleCount)}}const C=function(e){return{"overlay-loading":e}};let w=(()=>{class e{constructor(e,t,n,o){this._cdRef=e,this._scrollService=t,this._approvalStatusFacade=n,this._analyticService=o,this.loadingCycled$=new i.X(!1),this._componentUnsubscribe=new a.xQ}ngOnInit(){(0,o.aj)(this._approvalStatusFacade.appCertReady$,this.loadingCycled$).pipe((0,r.R)(this._componentUnsubscribe),(0,s.h)(([e,t])=>e&&t)).subscribe(()=>{this._analyticService.logAppInsights("LoadingOverlay: app cert ready"),this.pending=!1,this._scrollService.allowBodyScrolling(),this._cdRef.detectChanges()})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}}return e.\u0275fac=function(t){return new(t||e)(u.Y36(u.sBO),u.Y36(l.o),u.Y36(c.u),u.Y36(d.g))},e.\u0275cmp=u.Xpm({type:e,selectors:[["dtm-loading-overlay"]],inputs:{pending:"pending",qaid:"qaid",loadingCycled$:"loadingCycled$",firstName:"firstName",lastName:"lastName",nationwideVehicleCount:"nationwideVehicleCount"},decls:7,vars:5,consts:[[1,"loading-container",3,"ngClass","id"],[1,"loader-outer"],[3,"firstName","lastName","nationwideVehicleCount",4,"ngIf"],[3,"firstName","lastName","nationwideVehicleCount"]],template:function(e,t){1&e&&(u.TgZ(0,"div",0),u._uU(1,"\n "),u.TgZ(2,"div",1),u._uU(3," \n "),u.YNc(4,b,1,3,"dtm-loader-mini-cert",2),u._uU(5,"\n "),u.qZA(),u._uU(6,"\n"),u.qZA()),2&e&&(u.Q6J("ngClass",u.VKq(3,C,t.pending))("id",t.qaid),u.xp6(4),u.Q6J("ngIf",t.pending))},directives:[p.mk,p.O5,v],styles:["[_nghost-%COMP%] .loading-container[_ngcontent-%COMP%]{background-color:#fff;height:100%;width:100%;display:none;opacity:1;left:0;top:0;position:fixed;z-index:1000}[_nghost-%COMP%] .loader-outer[_ngcontent-%COMP%]{display:block;justify-content:center;align-items:start;height:100%}[_nghost-%COMP%] .overlay-loading[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%] .overlay-loaded[_ngcontent-%COMP%]{display:none}"]}),e})()},38868:function(e,t,n){"use strict";n.d(t,{P:function(){return v}});var i=n(37716),a=n(31184),o=n(79765),r=n(46782),s=n(67041),l=n(20483),c=n(38583),d=n(19967),u=n(82701),p=n(38572),h=n(77519);const m=["modalOuterContainer"],g=["modalContent"],f=function(e){return{role:"dialog",ariaModal:!0,ariaLabel:e}},y=function(e){return{hidden:e}};function _(e,t){if(1&e){const e=i.EpF();i.TgZ(0,"div",1),i._uU(1,"\n "),i.TgZ(2,"div",2),i.NdJ("click",function(){return i.CHM(e),i.oxw().closeModal()}),i.qZA(),i._uU(3,"\n "),i.TgZ(4,"div",3),i.NdJ("focus",function(){return i.CHM(e),i.oxw().focusWhenOpen()}),i.qZA(),i._uU(5,"\n "),i.TgZ(6,"div",4,5),i._uU(8,"\n "),i.TgZ(9,"div",6,7),i.NdJ("scroll",function(t){return i.CHM(e),i.oxw().onScroll.emit(t)}),i._uU(11,"\n "),i.Hsn(12),i._uU(13,"\n "),i.qZA(),i._uU(14,"\n "),i._UZ(15,"div",8),i._uU(16,"\n "),i.TgZ(17,"div",9),i._uU(18,"\n "),i.TgZ(19,"dtm-button",10),i.NdJ("click",function(){return i.CHM(e),i.oxw().closeModal()}),i._uU(20,"\n "),i._UZ(21,"span",11),i._uU(22,"\n "),i.qZA(),i._uU(23,"\n "),i.qZA(),i._uU(24,"\n "),i.qZA(),i._uU(25,"\n "),i.TgZ(26,"div",3),i.NdJ("focus",function(){return i.CHM(e),i.oxw().focusWhenOpen()}),i.qZA(),i._uU(27,"\n"),i.qZA()}if(2&e){const e=i.oxw();i.uIk("qaid",e.qaid),i.xp6(2),i.Q6J("analytic",e.backdropClickAnalytic),i.xp6(4),i.Q6J("accessibility",i.VKq(5,f,e.ariaLabel)),i.xp6(9),i.Q6J("ngClass",i.VKq(7,y,!e.isScrollOverlayVisible)),i.xp6(4),i.Q6J("buttonAnalytic",e.closeClickAnalytic)}}const A=["*"];let v=(()=>{class e{constructor(e,t,n){this._scrollService=e,this._changeDetectorRef=t,this._appConfigService=n,this.ariaLabel="",this.closeClickAnalytic=null,this.backdropClickAnalytic=null,this.isScrollOverlayVisible=!1,this.resetScrollToTop$=new o.xQ,this.close=new i.vpe,this.onScroll=new i.vpe,this._componentUnsubscribe=new o.xQ}ngOnInit(){this._appConfigService.isBrowser&&(this._resizeObserver=new ResizeObserver(this._resizeObserverHandler.bind(this))),this.resetScrollToTop$.pipe((0,r.R)(this._componentUnsubscribe)).subscribe(()=>{this._resetScrollToTop()})}ngOnChanges(e){"visible"in e&&(this._disableScrollWhenModalShown(),this._observeWhenOpen(),this.focusWhenOpen())}ngAfterViewInit(){this._disableScrollWhenModalShown(),this._observeWhenOpen(),this.focusWhenOpen()}focusWhenOpen(){this.visible&&this.modalOuterContainer&&this.modalOuterContainer.nativeElement.focus()}_resetScrollToTop(){this.modalContent.nativeElement.scrollTop=0}_observeWhenOpen(){!l.cmp.isDefinedAndNotNull(this._resizeObserver)||(this.visible?this._resizeObserver.observe(document.body):this._resizeObserver.unobserve(document.body))}_disableScrollWhenModalShown(){this.visible?this._scrollService.blockBodyScrolling(!0):this._scrollService.allowBodyScrolling()}_resizeObserverHandler(e){for(let t=0;t<e.length;t++){const n=e[t];n.target===document.body?requestAnimationFrame(()=>{n.target.scrollHeight>window.innerHeight&&this._disableScrollWhenModalShown()}):n.target===this.modalContent.nativeElement&&(this.isScrollOverlayVisible=n.target.scrollHeight>n.target.clientHeight,this._changeDetectorRef.detectChanges())}}closeModal(e=!0){this.visible=!1,this.close.emit(),this._disableScrollWhenModalShown()}ngOnDestroy(){this.closeModal(),l.cmp.isDefinedAndNotNull(this._resizeObserver)&&this._resizeObserver.disconnect(),this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}}return e.\u0275fac=function(t){return new(t||e)(i.Y36(a.o),i.Y36(i.sBO),i.Y36(s._))},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-modal"]],viewQuery:function(e,t){if(1&e&&(i.Gf(m,5),i.Gf(g,5)),2&e){let e;i.iGM(e=i.CRH())&&(t.modalOuterContainer=e.first),i.iGM(e=i.CRH())&&(t.modalContent=e.first)}},inputs:{qaid:"qaid",visible:"visible",showCancel:"showCancel",ariaLabel:"ariaLabel",closeClickAnalytic:"closeClickAnalytic",backdropClickAnalytic:"backdropClickAnalytic",isScrollOverlayVisible:"isScrollOverlayVisible",resetScrollToTop$:"resetScrollToTop$"},outputs:{close:"close",onScroll:"onScroll"},features:[i.TTD],ngContentSelectors:A,decls:2,vars:1,consts:[["class","modal","tabindex","-1",4,"ngIf"],["tabindex","-1",1,"modal"],["tabindex","-1",1,"overlay",3,"analytic","click"],["tabindex","0",1,"focusable-div",3,"focus"],["tabindex","-1",1,"modal-outer-container",3,"accessibility"],["modalOuterContainer",""],[1,"modal-content",3,"scroll"],["modalContent",""],[1,"more-content-overlay",3,"ngClass"],[1,"close-button-container"],["buttonClass","frameless-button close-icon","ariaLabel","Close",3,"buttonAnalytic","click"],["includeSVG","dt-glyph-x",1,"icon-before"]],template:function(e,t){1&e&&(i.F$t(),i.YNc(0,_,28,9,"div",0),i._uU(1,"\n")),2&e&&i.Q6J("ngIf",t.visible)},directives:[c.O5,d.e,u.z,c.mk,p.p,h.pw],styles:[".modal{transition:all .3s ease-in-out;display:flex;align-items:center;justify-content:center;position:absolute;left:0;bottom:0;width:100%;height:100%;overflow-y:scroll;background-color:#0009;z-index:250}.modal .focusable-div{position:absolute;top:0;width:100%}.modal .overlay{position:absolute;bottom:0;left:0;width:100%;height:100%}.modal .modal-content{margin-bottom:0;border-radius:0;height:100%;overflow-y:auto}.modal-outer-container{position:absolute;display:flex;flex-direction:column;z-index:251;border-radius:14px}.modal-outer-container.modal-full-width{width:100%;min-width:100%}.modal-outer-container.modal-full-height{height:100%;max-height:100%;top:0}.modal-outer-container .close-button-container{position:absolute;right:11.5px;top:10px;z-index:99}.modal-outer-container .close-button-container .close-icon{display:flex;width:23.2px;height:23.2px;font-size:23.2px;fill:#4e575e}.modal-outer-container:focus-visible{outline:none}.modal-container{width:100%}.more-content-overlay{position:absolute;bottom:0;left:0;width:100%;height:50px;border-radius:14px;z-index:250;transition:.3s ease;background-image:linear-gradient(to bottom,rgba(255,255,255,0) 0%,#ffffff 93%);margin-bottom:2.8rem}.more-content-overlay.hidden{height:0;opacity:0;overflow:hidden}@media screen and (max-width: 767px){.modal .more-content-overlay{border-radius:0 0 14px 14px;margin-bottom:0}.modal .modal-outer-container{width:100%;top:2.8rem;height:calc(100% - 2.8rem);border-radius:0}}@media screen and (min-width: 768px){.modal .modal-outer-container{top:5rem}.modal .modal-content{border-radius:14px;margin-bottom:2.8rem}}\n"],encapsulation:2}),e})()},6748:function(e,t,n){"use strict";n.d(t,{s:function(){return T}});var i=n(79765),a=n(22759),o=n(46782),r=n(37716),s=n(31184),l=n(70764),c=n(20483),d=n(67041),u=n(97805),p=n(38572),h=n(38583),m=n(82701),g=n(77519),f=n(797),y=n(71060);const _=["modalBody"],A=["closeButton"];function v(e,t){1&e&&r._UZ(0,"div",17)}function b(e,t){1&e&&(r.TgZ(0,"div",18),r._uU(1,"\n\t\t\t\t\t"),r.Hsn(2),r._uU(3,"\n\t\t\t"),r.qZA())}function C(e,t){1&e&&r._UZ(0,"div",19)}const w=function(){return{role:"heading",ariaLevel:2}};function S(e,t){if(1&e){const e=r.EpF();r.TgZ(0,"div",20),r._uU(1,"\n\t\t\t\t"),r.TgZ(2,"div",21),r._uU(3,"\n\t\t\t\t\t"),r._UZ(4,"span",22),r._uU(5,"\n\t\t\t\t"),r.qZA(),r._uU(6,"\n\t\t\t\t"),r.Hsn(7,1),r._uU(8,"\n\t\t\t\t"),r.TgZ(9,"dtm-button",23),r.NdJ("click",function(){return r.CHM(e),r.oxw().closeModal("Button")}),r._uU(10,"\n\t\t\t\t"),r._UZ(11,"span",24),r._uU(12,"\n\t\t\t\t"),r.qZA(),r._uU(13,"\n\t\t\t"),r.qZA()}if(2&e){const e=r.oxw();r.xp6(4),r.Q6J("innerHTML",e.title,r.oJD)("accessibility",r.DdM(3,w)),r.xp6(7),r.Q6J("innerHTML",e.buttonText,r.oJD)}}function k(e,t){1&e&&r._UZ(0,"div",15)}function M(e,t){1&e&&(r.TgZ(0,"dtm-scroll-indicator",25),r._uU(1,"\n\t\t"),r.qZA()),2&e&&r.Q6J("showIcon",!0)}const P=[[["",8,"iframe-body"]],[["",8,"modal-body"]]],O=function(e){return{"hidden-display":e}},U=function(e,t){return{"app-footer-offset":e,"app-footer-offset-iphone-x":t}},I=function(e){return{ariaLabel:e,ariaModal:!0,role:"dialog"}},N=[".iframe-body",".modal-body"];let T=(()=>{class e{constructor(e,t,n,a,o){this._scrollService=e,this._analyticService=t,this._cdRef=n,this._appConfig=a,this._deviceInteractionService=o,this.appendCloseMethod=!0,this.showLegalModal=!1,this.hasIframeContainer=!1,this.nonLockingModal=!1,this.analyticDataClose={},this.showScrollIndicator=!0,this.scrollIndicatorThreshhold=.1,this.modalSize="",this.ariaLabel="",this.close=new r.vpe,this.focusToElementId="",this.atBottom=!1,this.inIosApp=!1,this.isIPhoneX=!1,this._componentUnsubscribe=new i.xQ}onEscapeHandler(){this.closeModal("Escape Key")}ngOnInit(){this.inIosApp=this._appConfig.isIosApp,this.isIPhoneX=this._deviceInteractionService.isIPhoneX,this._cdRef.detectChanges(),this._appConfig.isBrowser&&(0,a.R)(window,"resize").pipe((0,o.R)(this._componentUnsubscribe)).subscribe(()=>{this._cdRef.detectChanges(),this.checkIfAtBottom()})}ngOnDestroy(){this.showLegalModal&&this._scrollService.allowBodyScrolling(),this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}closeModal(e){this.showLegalModal&&(this.showLegalModal=!1,this.nonLockingModal||this._scrollService.allowBodyScrolling(),this.close.emit(),this.appendCloseMethod&&c.cmp.isDefinedAndNotNull(e)?this._analyticService.logAnalytic({category:this.analyticDataClose.category,label:`${this.analyticDataClose.label}${e}`,action:this.analyticDataClose.action}):this._analyticService.logAnalytic(this.analyticDataClose),c.cmp.isNotEmpty(this.focusToElementId)&&document.getElementById(this.focusToElementId).focus())}openModal(){this.showLegalModal=!0,this.nonLockingModal||this._scrollService.blockBodyScrolling(!0),this._cdRef.detectChanges(),this.checkIfAtBottom(),this.closeButton.setFocus()}checkIfAtBottom(){if(c.cmp.isDefinedAndNotNull(this.modalContent)){let e=window.innerHeight,t=this.atBottom,n=Math.abs(this.modalContent.nativeElement.scrollTop-this.modalContent.nativeElement.scrollHeight+this.modalContent.nativeElement.offsetHeight)/e;this.atBottom=n<this.scrollIndicatorThreshhold,this.atBottom!==t&&this._cdRef.detectChanges()}}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(s.o),r.Y36(l.g),r.Y36(r.sBO),r.Y36(d._),r.Y36(u.e))},e.\u0275cmp=r.Xpm({type:e,selectors:[["dtm-legal-modal"]],viewQuery:function(e,t){if(1&e&&(r.Gf(_,5),r.Gf(A,5)),2&e){let e;r.iGM(e=r.CRH())&&(t.modalContent=e.first),r.iGM(e=r.CRH())&&(t.closeButton=e.first)}},hostBindings:function(e,t){1&e&&r.NdJ("keyup.escape",function(){return t.onEscapeHandler()},!1,r.evT)},inputs:{qaid:"qaid",title:"title",appendCloseMethod:"appendCloseMethod",buttonText:"buttonText",showLegalModal:"showLegalModal",hasIframeContainer:"hasIframeContainer",nonLockingModal:"nonLockingModal",analyticDataClose:"analyticDataClose",showScrollIndicator:"showScrollIndicator",scrollIndicatorThreshhold:"scrollIndicatorThreshhold",modalSize:"modalSize",ariaLabel:"ariaLabel",focusToElementId:"focusToElementId"},outputs:{close:"close"},ngContentSelectors:N,decls:37,vars:19,consts:[[1,"overlay-outer",3,"ngClass"],[1,"overlay",3,"click"],[3,"ngClass","accessibility"],[1,"legal-header"],["buttonClass","frameless-button close-icon","ariaLabel","Close",3,"click"],["closeButton",""],["includeSVG","dt-glyph-x",1,"icon-before"],["class","header-gradient-overlay",4,"ngIf"],[1,"inner-modal-container",3,"scroll"],["modalBody",""],["class","i-frame-body",4,"ngIf"],["class","header-gradient",4,"ngIf"],["class","legal-body",4,"ngIf"],["class","footer-gradient-overlay",4,"ngIf"],["class","show-hide-scroll-desktop","indicatorText","Scroll",3,"showIcon",4,"ngIf"],[1,"footer-gradient-overlay"],["className","move-el-off-screen",3,"keyup.tab"],[1,"header-gradient-overlay"],[1,"i-frame-body"],[1,"header-gradient"],[1,"legal-body"],[1,"legal-title-wrapper"],[1,"legal-title",3,"innerHTML","accessibility"],["buttonClass","rounded-button-blue-small",3,"click"],[1,"text-before",3,"innerHTML"],["indicatorText","Scroll",1,"show-hide-scroll-desktop",3,"showIcon"]],template:function(e,t){1&e&&(r.F$t(P),r.TgZ(0,"div",0),r._uU(1,"\n\t"),r.TgZ(2,"div",1),r.NdJ("click",function(){return t.closeModal("Header")}),r.qZA(),r._uU(3,"\n\t"),r.TgZ(4,"div",2),r._uU(5,"\n\t\t"),r.TgZ(6,"div",3),r._uU(7,"\n\t\t"),r.TgZ(8,"dtm-button",4,5),r.NdJ("click",function(){return t.closeModal("Icon")}),r._uU(10,"\n "),r._UZ(11,"span",6),r._uU(12,"\n\t\t"),r.qZA(),r._uU(13,"\n\t\t"),r.qZA(),r._uU(14,"\n\t\t"),r.YNc(15,v,1,0,"div",7),r._uU(16,"\n\t\t"),r.TgZ(17,"div",8,9),r.NdJ("scroll",function(){return t.checkIfAtBottom()}),r._uU(19,"\n\t\t\t"),r.YNc(20,b,4,0,"div",10),r._uU(21,"\n\t\t\t"),r.YNc(22,C,1,0,"div",11),r._uU(23,"\n\t\t\t"),r.YNc(24,S,14,4,"div",12),r._uU(25,"\n\t\t"),r.qZA(),r._uU(26,"\n\t\t"),r.YNc(27,k,1,0,"div",13),r._uU(28,"\n "),r.YNc(29,M,2,1,"dtm-scroll-indicator",14),r._uU(30,"\n\t\t"),r._UZ(31,"div",15),r._uU(32,"\n\t"),r.qZA(),r._uU(33,"\n "),r.TgZ(34,"dtm-link-button",16),r.NdJ("keyup.tab",function(){return t.closeModal()}),r.qZA(),r._uU(35,"\n"),r.qZA(),r._uU(36,"\n")),2&e&&(r.Q6J("ngClass",r.VKq(12,O,!t.showLegalModal)),r.xp6(4),r.Gre("outer-modal-container ",t.modalSize,""),r.Q6J("ngClass",r.WLB(14,U,t.inIosApp&&!t.isIPhoneX,t.isIPhoneX))("accessibility",r.VKq(17,I,t.ariaLabel)),r.xp6(11),r.Q6J("ngIf",!t.hasIframeContainer),r.xp6(5),r.Q6J("ngIf",t.hasIframeContainer),r.xp6(2),r.Q6J("ngIf",!t.hasIframeContainer),r.xp6(2),r.Q6J("ngIf",!t.hasIframeContainer),r.xp6(3),r.Q6J("ngIf",!t.hasIframeContainer),r.xp6(2),r.Q6J("ngIf",t.showScrollIndicator&&!t.atBottom))},directives:[h.mk,m.z,p.p,g.pw,h.O5,f.b,y.m],styles:["[_nghost-%COMP%] .overlay[_ngcontent-%COMP%]{background:rgba(0,0,0,.5);width:100%;height:100%;position:absolute;top:0;left:0;z-index:250}[_nghost-%COMP%] .outer-modal-container[_ngcontent-%COMP%]{position:absolute;top:0;left:0;opacity:0;z-index:251;margin-top:2.8rem;overflow-y:scroll;height:calc(100% - 2.8rem);width:100%;-webkit-overflow-scrolling:touch;animation:fadein .7s forwards}[_nghost-%COMP%] .outer-modal-container[_ngcontent-%COMP%] .legal-header[_ngcontent-%COMP%]{position:absolute;z-index:250;width:100%;height:2rem;top:0;left:0;background:#ffffff}[_nghost-%COMP%] .outer-modal-container[_ngcontent-%COMP%] .legal-header[_ngcontent-%COMP%] .close-icon{position:absolute;right:3vw;top:.5rem;cursor:pointer;display:inline-block;line-height:0;vertical-align:middle}[_nghost-%COMP%] .outer-modal-container[_ngcontent-%COMP%] .legal-header[_ngcontent-%COMP%] .svg-x{width:4vw;height:1rem;font-weight:400}[_nghost-%COMP%] .outer-modal-container[_ngcontent-%COMP%] .header-gradient-overlay[_ngcontent-%COMP%]{position:absolute;height:2rem;width:100%;z-index:250;margin-top:1.5rem;background:linear-gradient(to bottom,white,rgba(255,255,255,0));background:-webkit-linear-gradient(top,white,rgba(255,255,255,0))}[_nghost-%COMP%] .outer-modal-container[_ngcontent-%COMP%] .footer-gradient-overlay[_ngcontent-%COMP%]{position:absolute;height:2rem;width:100%;bottom:0;background:linear-gradient(to top,white,rgba(255,255,255,0));background:-webkit-linear-gradient(bottom,white,rgba(255,255,255,0))}[_nghost-%COMP%] .outer-modal-container[_ngcontent-%COMP%] .inner-modal-container[_ngcontent-%COMP%]{width:100%;background:#ffffff;text-align:left;position:relative;overflow:scroll;height:100%}[_nghost-%COMP%] .outer-modal-container[_ngcontent-%COMP%] .inner-modal-container[_ngcontent-%COMP%] .legal-body[_ngcontent-%COMP%]{margin:3rem auto;width:90%}[_nghost-%COMP%] .outer-modal-container[_ngcontent-%COMP%] .inner-modal-container[_ngcontent-%COMP%] .legal-body[_ngcontent-%COMP%] .legal-title-wrapper[_ngcontent-%COMP%]{margin:0 auto 1rem;text-align:center}[_nghost-%COMP%] .outer-modal-container[_ngcontent-%COMP%] .inner-modal-container[_ngcontent-%COMP%] .legal-body[_ngcontent-%COMP%] .legal-title-wrapper[_ngcontent-%COMP%] .legal-title[_ngcontent-%COMP%]{font-weight:bold;font-size:4.8vw;padding-bottom:.3rem;border-bottom:1px solid #8f9aa3;display:inline-block;line-height:1.3}[_nghost-%COMP%] .app-footer-offset[_ngcontent-%COMP%]{height:calc(100% - 6.3rem)}[_nghost-%COMP%] .app-footer-offset-iphone-x[_ngcontent-%COMP%]{height:calc(100% - 7.8rem)}@media screen and (min-width: 414px){[_nghost-%COMP%] .outer-modal-container[_ngcontent-%COMP%] .legal-header[_ngcontent-%COMP%] .close-icon{right:.7rem}[_nghost-%COMP%] .outer-modal-container[_ngcontent-%COMP%] .legal-header[_ngcontent-%COMP%] .svg-x{width:.7rem}[_nghost-%COMP%] .outer-modal-container[_ngcontent-%COMP%] .show-hide-scroll-desktop[_ngcontent-%COMP%]{display:block}[_nghost-%COMP%] .outer-modal-container[_ngcontent-%COMP%] .inner-modal-container[_ngcontent-%COMP%] .legal-body[_ngcontent-%COMP%] .legal-title-wrapper[_ngcontent-%COMP%] .legal-title[_ngcontent-%COMP%]{font-size:1.1rem}}@media screen and (min-width: 768px){[_nghost-%COMP%] .outer-modal-container[_ngcontent-%COMP%]{height:calc(100vh - 8rem);max-height:47rem;position:absolute;left:50%;transform:translate(-50%) rotate(0);transform:translate(-50%) translate(-1px) translateY(0) rotate(0);overflow-y:visible;margin:1rem 0}[_nghost-%COMP%] .outer-modal-container.small[_ngcontent-%COMP%]{max-width:414px}[_nghost-%COMP%] .outer-modal-container.medium[_ngcontent-%COMP%]{max-width:768px}[_nghost-%COMP%] .outer-modal-container.large[_ngcontent-%COMP%]{max-width:950px}[_nghost-%COMP%] .app-footer-offset[_ngcontent-%COMP%], [_nghost-%COMP%] .app-footer-offset-iphone-x[_ngcontent-%COMP%]{height:auto}}"]}),e})()},5282:function(e,t,n){"use strict";n.d(t,{S:function(){return I}});var i=n(79765),a=n(22759),o=n(46782),r=n(37716),s=n(31184),l=n(20483),c=n(70764),d=n(67041),u=n(97805),p=n(38572),h=n(43740),m=n(38583),g=n(82701),f=n(77519),y=n(797),_=n(71060);const A=["contentBody"],v=["modalFocus"],b=["closeButton"];function C(e,t){1&e&&r._UZ(0,"dtm-scroll-indicator")}const w=[[["",8,"modal-content"]]],S=function(e,t){return{"hidden-display":e,"overlay-outer-fixed":t}},k=function(e,t){return{offset:e,animate:t}},M=function(e){return{role:"dialog",ariaModal:!0,ariaLabel:e}},P=function(){return{role:"heading",ariaLevel:2}},O=function(e,t){return{"app-footer-offset":e,"app-footer-offset-iphone-x":t}},U=[".modal-content"];let I=(()=>{class e{constructor(e,t,n,a,o,s){this._scrollService=e,this._cdRef=t,this._analyticService=n,this._appConfig=a,this._deviceInteractionService=o,this._elementRef=s,this.appendCloseMethod=!0,this.showModal=!1,this.offsetFromTop=!0,this.animateOpen=!0,this.nonLockingModal=!1,this.analyticDataClose={},this.showScrollIndicator=!1,this.scrollIndicatorThreshhold=.1,this.scrollToOffset=0,this.modalSize="",this.ariaLabel="",this.isFixed=!1,this.disableClose=!1,this.focusedModal=!1,this.closeAction=new r.vpe,this.close=new r.vpe,this.open=new r.vpe,this.modalState$=new i.xQ,this.atBottom=!1,this.needIosPadding=!1,this.needIPhoneXPadding=!1,this.needAppFooterOffset=!0,this._componentUnsubscribe=new i.xQ,this.iconAnalytic=this.analyticDataClose,this.LinkButtonType=h.CY}onEscapeHandler(){this.closeModal("Escape Key")}ngOnInit(){let e=this._appConfig.isIosApp&&this.needAppFooterOffset;this.needIosPadding=e&&!this._deviceInteractionService.isIPhoneX,this.needIPhoneXPadding=e&&this._deviceInteractionService.isIPhoneX,this._cdRef.detectChanges(),this.iconAnalytic.label+="Icon",this._appConfig.isBrowser&&(0,a.R)(window,"resize").pipe((0,o.R)(this._componentUnsubscribe)).subscribe(()=>{this._cdRef.detectChanges(),this.checkIfAtBottom()})}ngOnDestroy(){this.showModal&&this._scrollService.allowBodyScrolling(),this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}openModal(e=!0){this.needAppFooterOffset=e,this.showModal=!0,this.modalState$.next(!0),this.open.emit(),this.nonLockingModal||this._scrollService.blockBodyScrolling(!0),this._cdRef.detectChanges(),this.checkIfAtBottom(),this.closeButton.setFocus(),this.focusedModal&&this.modalFocus.nativeElement.focus()}closeModal(e){if(this.showModal){if(l.cmp.isUndefinedOrNull(e)&&this.focusedModal)return void this.closeAction.emit("Tab");if(this.closeAction.emit(e),!this.disableClose&&(this.needAppFooterOffset=!0,this._deviceInteractionService.showAppFooter$.next(!0),this.showModal=!1,this.modalState$.next(!1),this.nonLockingModal||this._scrollService.allowBodyScrolling(),this.close.emit(l.cmp.isDefinedAndNotNull(e)),this.appendCloseMethod&&l.cmp.isDefinedAndNotNull(e)&&this._analyticService.logAnalytic({category:this.analyticDataClose.category,label:`${this.analyticDataClose.label}${e}`,action:this.analyticDataClose.action}),this.scrollTo(),l.cmp.isNotEmpty(this.focusToElementId))){let e=document.getElementById(this.focusToElementId);l.cmp.isDefinedAndNotNull(e)&&e.focus()}}}setFocusOnShow(){this.closeButton.setFocus()}setFocus(){this.modalContent.nativeElement.focus()}checkIfAtBottom(){if(l.cmp.isDefinedAndNotNull(this.modalContent)){let e=window.innerHeight,t=this.atBottom,n=Math.abs(this.modalContent.nativeElement.scrollTop-this.modalContent.nativeElement.scrollHeight+this.modalContent.nativeElement.offsetHeight)/e;this.atBottom=n<this.scrollIndicatorThreshhold,this.atBottom!==t&&this._cdRef.detectChanges()}}scrollTo(){if(l.cmp.isDefinedAndNotNull(this.scrollToElement)){let e=this._scrollService.getElementScrollYAxisPosition(this.scrollToElement)-this.scrollToOffset;window.scrollTo(0,e)}}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(s.o),r.Y36(r.sBO),r.Y36(c.g),r.Y36(d._),r.Y36(u.e),r.Y36(r.SBq))},e.\u0275cmp=r.Xpm({type:e,selectors:[["dtm-stylized-modal"]],viewQuery:function(e,t){if(1&e&&(r.Gf(A,5),r.Gf(v,5),r.Gf(b,5)),2&e){let e;r.iGM(e=r.CRH())&&(t.modalContent=e.first),r.iGM(e=r.CRH())&&(t.modalFocus=e.first),r.iGM(e=r.CRH())&&(t.closeButton=e.first)}},hostBindings:function(e,t){1&e&&r.NdJ("keyup.escape",function(){return t.onEscapeHandler()},!1,r.evT)},inputs:{qaid:"qaid",title:"title",appendCloseMethod:"appendCloseMethod",showModal:"showModal",offsetFromTop:"offsetFromTop",animateOpen:"animateOpen",nonLockingModal:"nonLockingModal",analyticDataClose:"analyticDataClose",showScrollIndicator:"showScrollIndicator",scrollIndicatorThreshhold:"scrollIndicatorThreshhold",scrollToElement:"scrollToElement",focusToElementId:"focusToElementId",scrollToOffset:"scrollToOffset",modalSize:"modalSize",ariaLabel:"ariaLabel",isFixed:"isFixed",disableClose:"disableClose",focusedModal:"focusedModal"},outputs:{closeAction:"closeAction",close:"close",open:"open"},ngContentSelectors:U,decls:46,vars:26,consts:[[1,"overlay-outer",3,"ngClass"],[1,"overlay",3,"click"],["tabindex","0"],["modalFocus",""],[3,"ngClass","accessibility"],[1,"modal-header"],[1,"modal-header-title"],[1,"modal-header-title-text"],[3,"innerHTML","accessibility"],[1,"modal-header-text-underline"],["buttonClass","frameless-button close-icon","ariaLabel","Close",3,"buttonAnalytic","click"],["closeButton",""],["includeSVG","dt-glyph-x",1,"icon-before"],[1,"inner-modal-container",3,"ngClass","scroll"],["contentBody",""],[1,"modal-content-container"],[4,"ngIf"],[1,"footer-gradient-overlay"],["className","move-el-off-screen",3,"linkButtonType","keyup.tab"]],template:function(e,t){1&e&&(r.F$t(w),r.TgZ(0,"div",0),r._uU(1,"\n "),r.TgZ(2,"div",1),r.NdJ("click",function(){return t.closeModal("Outside")}),r.qZA(),r._uU(3,"\n "),r._UZ(4,"div",2,3),r._uU(6,"\n "),r.TgZ(7,"div",4),r._uU(8,"\n "),r.TgZ(9,"div",5),r._uU(10,"\n "),r.TgZ(11,"div",6),r._uU(12,"\n "),r.TgZ(13,"span",7),r._uU(14,"\n "),r._UZ(15,"span",8),r._uU(16,"\n "),r._UZ(17,"div",9),r._uU(18,"\n "),r.qZA(),r._uU(19,"\n "),r.qZA(),r._uU(20,"\n "),r.TgZ(21,"dtm-button",10,11),r.NdJ("click",function(){return t.closeModal("Icon")}),r._uU(23,"\n "),r._UZ(24,"span",12),r._uU(25,"\n "),r.qZA(),r._uU(26,"\n "),r.qZA(),r._uU(27,"\n "),r.TgZ(28,"div",13,14),r.NdJ("scroll",function(){return t.checkIfAtBottom()}),r._uU(30,"\n "),r.TgZ(31,"div",15),r._uU(32,"\n "),r.Hsn(33),r._uU(34,"\n "),r.qZA(),r._uU(35,"\n "),r.qZA(),r._uU(36,"\n "),r.YNc(37,C,1,0,"dtm-scroll-indicator",16),r._uU(38,"\n "),r._UZ(39,"div",17),r._uU(40,"\n "),r.qZA(),r._uU(41,"\n "),r.TgZ(42,"dtm-link-button",18),r.NdJ("keyup.tab",function(){return t.closeModal()}),r._uU(43,"\n "),r.qZA(),r._uU(44,"\n"),r.qZA(),r._uU(45,"\n")),2&e&&(r.Q6J("ngClass",r.WLB(14,S,!t.showModal,t.isFixed)),r.uIk("data-cy",t.qaid),r.xp6(7),r.Gre("outer-modal-container ",t.modalSize,""),r.Q6J("ngClass",r.WLB(17,k,t.offsetFromTop,t.animateOpen))("accessibility",r.VKq(20,M,t.ariaLabel)),r.uIk("data-cy",t.qaid),r.xp6(8),r.Q6J("innerHTML",t.title,r.oJD)("accessibility",r.DdM(22,P)),r.xp6(6),r.Q6J("buttonAnalytic",t.iconAnalytic),r.xp6(7),r.Q6J("ngClass",r.WLB(23,O,t.needIosPadding&&!t.needIPhoneXPadding,t.needIPhoneXPadding)),r.xp6(9),r.Q6J("ngIf",t.showScrollIndicator&&!t.atBottom),r.xp6(5),r.Q6J("linkButtonType",t.LinkButtonType.Button))},directives:[m.mk,g.z,p.p,f.pw,m.O5,y.b,_.m],styles:["[_nghost-%COMP%] .overlay-outer[_ngcontent-%COMP%]{overflow-y:scroll;background:rgba(0,0,0,.5);width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;z-index:250}[_nghost-%COMP%] .overlay[_ngcontent-%COMP%]{width:100%;height:100%;position:absolute;top:0;left:0;right:0;bottom:0;z-index:250}[_nghost-%COMP%] .overlay-outer-fixed[_ngcontent-%COMP%]{position:fixed}[_nghost-%COMP%] .outer-modal-container[_ngcontent-%COMP%]{position:absolute;top:0;left:0;z-index:251;overflow-y:scroll;height:100%;width:100%;opacity:0;-webkit-overflow-scrolling:touch;animation:.7s ease-in-out fadein forwards}[_nghost-%COMP%] .outer-modal-container.offset[_ngcontent-%COMP%]{margin-top:2.8rem;height:calc(100% - 2.8rem)}[_nghost-%COMP%] .outer-modal-container.animate[_ngcontent-%COMP%]{animation:.7s ease-in-out fadein forwards}[_nghost-%COMP%] .modal-header[_ngcontent-%COMP%]{position:absolute;z-index:250;width:100%;height:4rem;top:0;left:0;background:#0c2340}[_nghost-%COMP%] .modal-header-title[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%) rotate(0);text-align:center;width:100%}[_nghost-%COMP%] .modal-header-title-text[_ngcontent-%COMP%]{display:inline-block;color:#fff;font-weight:600;font-size:4.4vw}[_nghost-%COMP%] .modal-header-text-underline[_ngcontent-%COMP%]{background:rgba(7,80,120,.8);height:1px;width:90%;margin:.3rem auto 0}[_nghost-%COMP%] .close-icon{position:absolute;top:.5rem;right:3vw;cursor:pointer}[_nghost-%COMP%] .svg-x{width:4vw;height:1rem;fill:#fff}[_nghost-%COMP%] .footer-gradient-overlay[_ngcontent-%COMP%]{position:absolute;height:2rem;width:100%;bottom:0;background:linear-gradient(to top,white,rgba(255,255,255,0));background:-webkit-linear-gradient(bottom,white,rgba(255,255,255,0))}[_nghost-%COMP%] .inner-modal-container[_ngcontent-%COMP%]{width:100%;background:#ffffff;position:relative;overflow:scroll;height:100%}[_nghost-%COMP%] .app-footer-offset[_ngcontent-%COMP%]{height:calc(100% - 3.5rem)}[_nghost-%COMP%] .app-footer-offset-iphone-x[_ngcontent-%COMP%]{height:calc(100% - 5rem)}[_nghost-%COMP%] .modal-content-container[_ngcontent-%COMP%]{padding-top:3.8rem}@media screen and (min-width: 414px){[_nghost-%COMP%] .close-icon{right:.7rem}[_nghost-%COMP%] .svg-x{width:.7rem}[_nghost-%COMP%] .modal-header-title-text[_ngcontent-%COMP%]{font-size:1rem}}@media screen and (min-width: 768px){[_nghost-%COMP%] .outer-modal-container[_ngcontent-%COMP%]{position:absolute;left:50%;transform:translate(-50%) rotate(0);top:5rem;max-width:414px;overflow-y:visible;margin:1rem 0;height:auto}[_nghost-%COMP%] .outer-modal-container.offset[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(0);height:auto}[_nghost-%COMP%] .outer-modal-container.small[_ngcontent-%COMP%]{max-width:414px}[_nghost-%COMP%] .outer-modal-container.medium[_ngcontent-%COMP%]{max-width:505px}[_nghost-%COMP%] .outer-modal-container.large[_ngcontent-%COMP%]{max-width:950px}[_nghost-%COMP%] .app-footer-offset[_ngcontent-%COMP%], [_nghost-%COMP%] .app-footer-offset-iphone-x[_ngcontent-%COMP%]{height:auto}[_nghost-%COMP%] .inner-modal-container[_ngcontent-%COMP%]{margin-bottom:2.8rem;overflow:visible}[_nghost-%COMP%] .footer-gradient-overlay[_ngcontent-%COMP%]{display:none}}"]}),e})()},4768:function(e,t,n){"use strict";n.d(t,{A:function(){return h}});var i=n(46782),a=n(45435),o=n(26215),r=n(79765),s=n(20483),l=n(37716),c=n(38583),d=n(77519);function u(e,t){if(1&e&&(l.TgZ(0,"div",2),l._uU(1,"\n "),l.TgZ(2,"div",3),l._uU(3,"\n "),l._UZ(4,"div",4),l._uU(5,"\n "),l.qZA(),l._uU(6,"\n "),l.TgZ(7,"div",5),l._uU(8,"\n "),l._UZ(9,"div",6),l._uU(10,"\n "),l.qZA(),l._uU(11,"\n"),l.qZA()),2&e){const e=l.oxw();l.Udp("width",e.starSize)("max-width",e.starSizeMax),l.xp6(4),l.Udp("width",e.starSize)("max-width",e.starSizeMax),l.xp6(3),l.Udp("width",e.widthString),l.xp6(2),l.Udp("width",e.starSize)("max-width",e.starSizeMax)}}function p(e,t){1&e&&(l.TgZ(0,"div"),l._uU(1,"\n "),l.TgZ(2,"span",7),l._uU(3,"Not available"),l.qZA(),l._uU(4,"\n"),l.qZA())}let h=(()=>{class e{constructor(e){this._cdRef=e,this.rating$=new o.X(0),this.starSize="22vw",this.starSizeMax="5rem",this.hasRatings=!1,this.widthCalculation=0,this._componentUnsubscribe=new r.xQ}ngOnInit(){this.rating$.pipe((0,i.R)(this._componentUnsubscribe),(0,a.h)(e=>s.cmp.isDefinedAndNotNull(e)&&e>0)).subscribe(e=>{this.widthCalculation=20*e,this.widthString=this.widthCalculation+"%",this.hasRatings=!0,this._cdRef.detectChanges()})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}}return e.\u0275fac=function(t){return new(t||e)(l.Y36(l.sBO))},e.\u0275cmp=l.Xpm({type:e,selectors:[["dtm-rating-stars"]],inputs:{rating$:"rating$",starSize:"starSize",starSizeMax:"starSizeMax"},decls:4,vars:2,consts:[["class","outer-star-container",3,"width","max-width",4,"ngIf"],[4,"ngIf"],[1,"outer-star-container"],[1,"underlay-container"],["includeSVG","dt-glyph-star-row",1,"underlay-stars"],[1,"star-cut-off-container"],["includeSVG","dt-glyph-star-row",1,"overlay-stars"],[1,"unavailable"]],template:function(e,t){1&e&&(l.YNc(0,u,12,14,"div",0),l._uU(1,"\n"),l.YNc(2,p,5,0,"div",1),l._uU(3,"\n")),2&e&&(l.Q6J("ngIf",t.hasRatings),l.xp6(2),l.Q6J("ngIf",!t.hasRatings))},directives:[c.O5,d.pw],styles:[".outer-star-container[_ngcontent-%COMP%]{position:relative;height:1.3rem}.unavailable[_ngcontent-%COMP%]{color:#f2a510;font-size:3.6vw}.underlay-container[_ngcontent-%COMP%]{position:absolute;top:0;left:0;z-index:1}.underlay-container[_ngcontent-%COMP%] .underlay-stars[_ngcontent-%COMP%]{fill:#ececec;height:1.2rem}.star-cut-off-container[_ngcontent-%COMP%]{overflow:hidden;position:absolute;top:0;left:0;z-index:2}.star-cut-off-container[_ngcontent-%COMP%] .overlay-stars[_ngcontent-%COMP%]{fill:#f3d331;height:1.2rem}@media (min-width: 414px){.unavailable[_ngcontent-%COMP%]{font-size:.77rem}}"]}),e})()},53226:function(e,t,n){"use strict";n.d(t,{w:function(){return A}});var i=n(26215),a=n(79765),o=n(20483),r=n(46782),s=n(45435),l=n(92996),c=n(13535),d=n(37716),u=n(38583),p=n(77519),h=n(19967),m=n(82701),g=n(4768);const f=function(){return{ariaLabel:"Visit DriveTime Reviews Site"}},y=function(){return{ariaLabel:"View DriveTime Reviews"}};function _(e,t){if(1&e&&(d.TgZ(0,"div"),d._uU(1,"\n "),d.TgZ(2,"div",1),d._uU(3,"\n "),d.TgZ(4,"a",2),d.ALo(5,"async"),d.ALo(6,"async"),d._uU(7,"\n "),d.qZA(),d._uU(8,"\n "),d.qZA(),d._uU(9,"\n "),d.TgZ(10,"div",3),d._uU(11,"\n "),d._UZ(12,"dtm-rating-stars",4),d._uU(13,"\n "),d.TgZ(14,"span",5),d._uU(15,"\n "),d.TgZ(16,"span",6),d._uU(17),d.ALo(18,"async"),d.qZA(),d._uU(19," out of 5\n "),d.qZA(),d._uU(20,"\n "),d.qZA(),d._uU(21,"\n "),d.TgZ(22,"div",7),d._uU(23,"\n "),d.TgZ(24,"span",8),d._uU(25),d.ALo(26,"async"),d.qZA(),d._uU(27,"\n "),d.TgZ(28,"a",9),d.ALo(29,"async"),d.ALo(30,"async"),d._uU(31,"Review\n Us"),d.qZA(),d._uU(32,"\n "),d.qZA(),d._uU(33,"\n"),d.qZA()),2&e){const e=d.oxw();d.xp6(4),d.Q6J("href",d.lcZ(5,11,e.reviewLinkUrl$),d.LSH)("targetedLink",d.lcZ(6,13,e.reviewLinkUrl$))("analytic",e.trustpilotLogoAnalytic)("accessibility",d.DdM(23,f)),d.xp6(8),d.Q6J("rating$",e.ratingScore$),d.xp6(5),d.Oqu(d.lcZ(18,15,e.rating$).rating),d.xp6(8),d.hij("",d.lcZ(26,17,e.rating$).reviewCount," Reviews"),d.xp6(3),d.Q6J("href",d.lcZ(29,19,e.reviewLinkUrl$),d.LSH)("targetedLink",d.lcZ(30,21,e.reviewLinkUrl$))("analytic",e.reviewLinkAnalytic)("accessibility",d.DdM(24,y))}}let A=(()=>{class e{constructor(e){this._linkHelper=e,this.rating$=new i.X(null),this.reviewLinkAnalytic={},this.reviewLinkUrl$=this._linkHelper.trustPilotWithoutLogin(),this.ratingLoaded=!1,this.trustpilotLogoAnalytic={},this._componentUnsubscribe=new a.xQ}ngOnInit(){this.rating$.pipe((0,r.R)(this._componentUnsubscribe),(0,s.h)(o.cmp.isDefinedAndNotNull)).subscribe(e=>{this.ratingLoaded=!0}),this.ratingScore$=this.rating$.pipe((0,r.R)(this._componentUnsubscribe),(0,s.h)(o.cmp.isDefinedAndNotNull),(0,l.j)("rating")),this.trustpilotLogoAnalytic=Object.assign(Object.assign({},this.reviewLinkAnalytic),{label:"TrustpilotLogo"})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}}return e.\u0275fac=function(t){return new(t||e)(d.Y36(c.R))},e.\u0275cmp=d.Xpm({type:e,selectors:[["dtm-review-ratings"]],inputs:{rating$:"rating$",reviewLinkAnalytic:"reviewLinkAnalytic"},decls:2,vars:1,consts:[[4,"ngIf"],[1,"logo-container"],["includeSVG","dt-glyph-vendor-trustpilot",1,"rating-logo",3,"href","targetedLink","analytic","accessibility"],[1,"top-container"],["starSize","20vw","starSizeMax","5rem",1,"review-stars",3,"rating$"],[1,"rating-text"],[1,"rating-highlight"],[1,"bottom-container"],[1,"review-count"],[1,"review-link",3,"href","targetedLink","analytic","accessibility"]],template:function(e,t){1&e&&(d.YNc(0,_,34,25,"div",0),d._uU(1,"\n")),2&e&&d.Q6J("ngIf",t.ratingLoaded)},directives:[u.O5,p.pw,p.AK,h.e,m.z,g.A],pipes:[u.Ov],styles:["[_nghost-%COMP%] .logo-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin:0 auto;line-height:1.1rem}[_nghost-%COMP%] .logo-container[_ngcontent-%COMP%] .rating-logo[_ngcontent-%COMP%]{display:block;height:1rem;width:22vw}[_nghost-%COMP%] .top-container[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;margin:0 auto;width:9.5rem;max-width:42vw;color:#8f9aa3}[_nghost-%COMP%] .top-container[_ngcontent-%COMP%] .review-stars[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .top-container[_ngcontent-%COMP%] .rating-text[_ngcontent-%COMP%]{flex:1;font-size:3.6vw;line-height:1.5rem;white-space:nowrap;font-weight:600;text-align:right}[_nghost-%COMP%] .top-container[_ngcontent-%COMP%] .rating-highlight[_ngcontent-%COMP%]{color:#00af66;font-weight:800}[_nghost-%COMP%] .bottom-container[_ngcontent-%COMP%]{display:flex;justify-content:center;font-size:2.8vw;line-height:3vw;font-weight:600;color:#8f9aa3;margin:.3rem 0}[_nghost-%COMP%] .bottom-container[_ngcontent-%COMP%] .review-count[_ngcontent-%COMP%]{border-right:1px solid #8f9aa3;padding-right:.3rem}[_nghost-%COMP%] .bottom-container[_ngcontent-%COMP%] .review-link[_ngcontent-%COMP%]{padding-left:.3rem;color:#00abe8;text-decoration:none}@media (min-width: 414px){[_nghost-%COMP%] .logo-container[_ngcontent-%COMP%] .rating-logo[_ngcontent-%COMP%]{height:1.5rem;width:4.3rem}[_nghost-%COMP%] .top-container[_ngcontent-%COMP%] .rating-text[_ngcontent-%COMP%]{font-size:.77rem}[_nghost-%COMP%] .bottom-container[_ngcontent-%COMP%]{line-height:.8rem;font-size:.625rem}}@media screen and (min-width: 768px){[_nghost-%COMP%] .logo-container[_ngcontent-%COMP%]{justify-content:flex-start}[_nghost-%COMP%] .top-container[_ngcontent-%COMP%]{justify-content:flex-start;margin:0}[_nghost-%COMP%] .bottom-container[_ngcontent-%COMP%]{justify-content:flex-start;padding-bottom:3rem}}"]}),e})()},71060:function(e,t,n){"use strict";n.d(t,{m:function(){return c}});var i=n(37716),a=n(38583),o=n(77519);function r(e,t){1&e&&(i.TgZ(0,"span",4),i._uU(1,"\n "),i.qZA())}function s(e,t){if(1&e&&(i.TgZ(0,"span",5),i._uU(1,"\n "),i.qZA()),2&e){const e=i.oxw();i.Q6J("innerHTML",e.indicatorText,i.oJD)}}const l=function(e){return{"indicator-background":e}};let c=(()=>{class e{constructor(){this.indicatorText="",this.showIcon=!0,this.indicatorAlignment="right"}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-scroll-indicator"]],inputs:{indicatorText:"indicatorText",showIcon:"showIcon",indicatorAlignment:"indicatorAlignment"},decls:10,vars:8,consts:[["aria-hidden","true",3,"ngClass"],[1,"scroll-indicator-contents"],["class","scroll-indicator","includeSVG","dt-glyph-caret",4,"ngIf"],["class","scroll-text",3,"innerHTML",4,"ngIf"],["includeSVG","dt-glyph-caret",1,"scroll-indicator"],[1,"scroll-text",3,"innerHTML"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i._uU(1,"\n "),i.TgZ(2,"div",1),i._uU(3,"\n "),i.YNc(4,r,2,0,"span",2),i._uU(5,"\n "),i.YNc(6,s,2,1,"span",3),i._uU(7,"\n "),i.qZA(),i._uU(8,"\n"),i.qZA(),i._uU(9,"\n")),2&e&&(i.Gre("scroll-indicator-wrapper scroll-indicator-align-",t.indicatorAlignment,""),i.Q6J("ngClass",i.VKq(6,l,t.indicatorText)),i.xp6(4),i.Q6J("ngIf",t.showIcon),i.xp6(2),i.Q6J("ngIf",t.indicatorText))},directives:[a.mk,a.O5,o.pw],styles:[".scroll-indicator-wrapper[_ngcontent-%COMP%]{position:absolute;z-index:250;width:15vw;height:15vw;font-size:3vw;border-radius:50%;animation:fade-in-out-scroll 1s ease-out 3.5;right:3vw;bottom:.25rem}.indicator-background[_ngcontent-%COMP%]{background-color:#ffffffb3}.scroll-indicator-top-right[_ngcontent-%COMP%]{top:.25rem}.scroll-indicator-top-middle[_ngcontent-%COMP%]{top:.25rem;position:absolute;left:50%;transform:translate(-50%) rotate(0)}.scroll-indicator-top-left[_ngcontent-%COMP%]{top:.25rem;left:3vw}.scroll-indicator-center-left[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%) rotate(0);left:3vw}.scroll-indicator-center-right[_ngcontent-%COMP%]{position:absolute;top:50%;transform:translateY(-50%) rotate(0);right:3vw}.scroll-indicator-bottom-middle[_ngcontent-%COMP%]{position:absolute;left:50%;transform:translate(-50%) rotate(0)}.scroll-indicator-bottom-left[_ngcontent-%COMP%]{left:3vw}.scroll-indicator-contents[_ngcontent-%COMP%]{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(0)}.scroll-indicator[_ngcontent-%COMP%]{fill:#8f9aa3;width:6vw;display:block;margin:0 auto;line-height:0;transform:rotate(90deg)}.scroll-text[_ngcontent-%COMP%]{color:#8f9aa3;line-height:1}@media screen and (min-width: 414px){.scroll-indicator-wrapper[_ngcontent-%COMP%]{right:.7rem;width:3.5rem;height:3.5rem;font-size:.8125rem}.scroll-indicator[_ngcontent-%COMP%]{width:1.5rem}.scroll-indicator-top-left[_ngcontent-%COMP%]{left:.7rem}.scroll-indicator-center-left[_ngcontent-%COMP%]{left:.7rem}.scroll-indicator-center-right[_ngcontent-%COMP%]{right:.7rem}.scroll-indicator-bottom-left[_ngcontent-%COMP%]{left:.7rem}}"]}),e})()},7868:function(e,t,n){"use strict";n.d(t,{x:function(){return o}});var i=n(37716),a=n(77519);let o=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-ssl-secured"]],decls:16,vars:0,consts:[["aria-hidden","true",1,"ssl-container"],[1,"pill-btn-blue"],["includeSVG","dt-glyph-lock",1,"lock-icon"],[1,"lock-icon-text"],[1,"ssl-icon"],["src","/assets/img/ssl-encrypted.png","alt","SSL Encrypted"]],template:function(e,t){1&e&&(i.TgZ(0,"div",0),i._uU(1,"\n "),i.TgZ(2,"span",1),i._uU(3,"\n "),i._UZ(4,"span",2),i._uU(5,"\n "),i.TgZ(6,"span",3),i._uU(7,"\n SECURED\n "),i.qZA(),i._uU(8,"\n "),i.qZA(),i._uU(9,"\n "),i.TgZ(10,"span",4),i._uU(11,"\n "),i._UZ(12,"img",5),i._uU(13,"\n "),i.qZA(),i._uU(14,"\n"),i.qZA(),i._uU(15,"\n"))},directives:[a.pw],styles:["[_nghost-%COMP%] .ssl-container[_ngcontent-%COMP%]{margin:.7rem auto;width:38vw}[_nghost-%COMP%] .ssl-icon[_ngcontent-%COMP%]{display:inline-block;line-height:0rem;vertical-align:middle;width:2.5rem}[_nghost-%COMP%] .lock-icon[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle;width:3vw;height:.75rem;fill:#fff}[_nghost-%COMP%] .lock-icon-text[_ngcontent-%COMP%]{display:inline-block;vertical-align:middle}[_nghost-%COMP%] .pill-btn-blue[_ngcontent-%COMP%]{font-size:2.7vw;position:relative;background-color:#00abe8;border-radius:20px;color:#fff;display:inline-block;padding:.3rem 2.5vw}@media screen and (min-width: 414px){[_nghost-%COMP%] .pill-btn-blue[_ngcontent-%COMP%]{font-size:.6rem;padding:.3rem .6rem}[_nghost-%COMP%] .lock-icon[_ngcontent-%COMP%]{width:.6rem}[_nghost-%COMP%] .ssl-container[_ngcontent-%COMP%]{width:8rem}}"]}),e})()},58141:function(e,t,n){"use strict";n.d(t,{m:function(){return c}});var i=n(37716),a=n(38583);function o(e,t){if(1&e){const e=i.EpF();i.TgZ(0,"div",4),i.NdJ("click",function(){return i.CHM(e),i.oxw().toggleShowHide()}),i.qZA()}}const r=["*",[["",8,"message"]]],s=function(e){return{"hidden-display":e}},l=["*",".message"];let c=(()=>{class e{constructor(){this.position="bottom",this.showMessage=!1}toggleShowHide(){this.showMessage=!this.showMessage}show(){this.showMessage=!0}hide(){this.showMessage=!1}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=i.Xpm({type:e,selectors:[["dtm-tooltip"]],inputs:{position:"position"},ngContentSelectors:l,decls:15,vars:7,consts:[["class","tooltip-overlay","data-cy","tooltip",3,"click",4,"ngIf"],[1,"tooltip-container"],[3,"click"],[3,"ngClass","click"],["data-cy","tooltip",1,"tooltip-overlay",3,"click"]],template:function(e,t){1&e&&(i.F$t(r),i.YNc(0,o,1,0,"div",0),i._uU(1,"\n"),i.TgZ(2,"div",1),i._uU(3,"\n "),i.TgZ(4,"div",2),i.NdJ("click",function(){return t.toggleShowHide()}),i._uU(5,"\n "),i.Hsn(6),i._uU(7,"\n "),i.qZA(),i._uU(8,"\n "),i.TgZ(9,"div",3),i.NdJ("click",function(){return t.toggleShowHide()}),i._uU(10,"\n "),i.Hsn(11,1),i._uU(12,"\n "),i.qZA(),i._uU(13,"\n"),i.qZA(),i._uU(14,"\n")),2&e&&(i.Q6J("ngIf",t.showMessage),i.xp6(9),i.Gre("tooltip-message tool-tip-",t.position,""),i.Q6J("ngClass",i.VKq(5,s,!t.showMessage)))},directives:[a.O5,a.mk],styles:['.tooltip-overlay[_ngcontent-%COMP%]{position:fixed;left:0;top:0;background-color:transparent;width:100%;height:100%;z-index:99;-webkit-tap-highlight-color:rgba(0,0,0,0)}.tooltip-container[_ngcontent-%COMP%]{cursor:pointer;position:relative}.tooltip-message[_ngcontent-%COMP%]{background-color:#fff;border-radius:4px;font-size:3.8vw;font-weight:400;padding:1rem 5vw;position:absolute;z-index:101;width:80vw;box-shadow:0 0 .625rem #0009;border-bottom:.0625rem solid #ececec;border-right:.0625rem solid #ececec;border-left:.0625rem solid #ececec}.tooltip-message[_ngcontent-%COMP%]:after{content:"";position:absolute;box-sizing:border-box;border:.625rem solid #000000;border-color:transparent transparent #ffffff #ffffff;box-shadow:-.1875rem .1875rem .1875rem #0003;transform-origin:0 0}.tooltip-message.tool-tip-bottom[_ngcontent-%COMP%]{left:calc(50% - 40vw);top:calc(100% + .9375rem)}.tooltip-message.tool-tip-bottom[_ngcontent-%COMP%]:after{top:.0625rem;left:calc(50% + .9375rem);transform:rotate(135deg)}.tooltip-message.tool-tip-right[_ngcontent-%COMP%]{left:4rem}.tooltip-message.tool-tip-right[_ngcontent-%COMP%]:after{top:calc(50% - .9375rem);left:0;transform:rotate(45deg)}.tooltip-message.tool-tip-top[_ngcontent-%COMP%]{left:5rem;top:0;width:80vw;max-width:16rem}.tooltip-message.tool-tip-top[_ngcontent-%COMP%]:after{top:.5rem;left:0;transform:rotate(45deg)}@media screen and (min-width: 414px){.tooltip-message[_ngcontent-%COMP%]{font-size:.61rem;padding:1rem}.tooltip-message.tool-tip-bottom[_ngcontent-%COMP%]{left:calc(50% - 9.15rem);width:18.2rem}}']}),e})()},95210:function(e,t,n){"use strict";n.d(t,{H:function(){return b}});var i=n(97582),a=n(5282),o=n(3679),r=n(70764),s=n(79765),l=n(9112),c=n(26215),d=n(20483),u=n(43740),p=n(28645),h=n(64174),m=n(45637),g=n(89234),f=n(80352),y=n(37716),_=n(87020),A=n(22741),v=n(797);class b{constructor(e,t,n,i,a,r){this._builder=e,this._analyticService=t,this._tradeInService=n,this._cdRef=i,this._memoryStoreService=a,this._locationService=r,this.submitAnalytic={},this.zipErrorAnalytic={},this.closeAnalytic={},this._componentUnsubscribe=new s.xQ,this.LinkButtonTypes=u.CY,this.group=this._builder.group({zipCode:new o.NI("")})}ngOnInit(){(0,l.aj)(this.currentLocation$,this._memoryStoreService.activeDealershipMemory().dealership$).subscribe(([e,t])=>{this._canUseLocation(e)&&this._locationService.getDealershipFromZipCode(e.zipCode).then(e=>{d.cmp.isDefinedAndNotNull(e)&&(this._dealership=e)}).catch(e=>{this._analyticService.logException(e,"trade-in modal init -> error getting dealership from zip code")}),d.cmp.isDefinedAndNotNull(t)&&(this._dealership=t)})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}openModal(e){d.cmp.isDefinedAndNotNull(this._dealership)?this._tradeInService.navigateToTradeInByDealership(this._dealership):(this.group.reset(),this._cdRef.detectChanges(),this.modal.openModal(e),this._setTradeInModalClasses())}submitZip(){this._analyticService.logAnalytic(this.submitAnalytic),this._tradeInService.navigateToTradeInByZip(this.group.value.zipCode),this.modal.closeModal()}logCloseAnalytic(e){e&&this._analyticService.logAnalytic(this.closeAnalytic)}_setTradeInModalClasses(){const e=document.querySelectorAll(".trade-in-modal");for(let t=0;t<e.length;t++)e[t].querySelector(".outer-modal-container").classList.add("trade-in-outer-modal-container"),e[t].querySelector(".inner-modal-container").classList.add("trade-in-inner-modal-container"),e[t].querySelector(".modal-header").classList.add("trade-in-modal-header"),e[t].querySelector(".input-container").classList.add("trade-in-input-container")}_canUseLocation(e){return d.cmp.isDefinedAndNotNull(e)&&e.isGeoLocated&&e.bestLocateStrategySuccess===f.OS.Specific&&d.cmp.isDefinedAndNotNull(e.city)&&d.cmp.isDefinedAndNotNull(e.state)&&d.cmp.isDefinedAndNotNull(e.zipCode)&&d.cmp.isNotEmpty(e.zipCode)}}b.\u0275fac=function(e){return new(e||b)(y.Y36(o.qu),y.Y36(r.g),y.Y36(h.A),y.Y36(y.sBO),y.Y36(m.D),y.Y36(g.a))},b.\u0275cmp=y.Xpm({type:b,selectors:[["dtm-trade-in-zip-modal"]],viewQuery:function(e,t){if(1&e&&y.Gf(a.S,5),2&e){let e;y.iGM(e=y.CRH())&&(t.modal=e.first)}},inputs:{submitAnalytic:"submitAnalytic",zipErrorAnalytic:"zipErrorAnalytic",closeAnalytic:"closeAnalytic",focusToElementId:"focusToElementId"},decls:37,vars:11,consts:[["ariaLabel","Get Your Trade-in Offer","modalSize","small",1,"zip-modal","trade-in-modal",3,"offsetFromTop","animateOpen","title","focusToElementId","close"],["id","k46y3n",1,"modal-content","trade-in-modal-content"],[1,"trade-in-modal-top"],[1,"trade-in-modal-icon-container"],["src","/assets/svg/trade-in-blue-left-circle.svg","alt","Trade-in Logo",1,"trade-in-modal-icon"],[1,"trade-in-modal-text-container"],["id","text1"],["id","text2"],[3,"group","allowSubmitWhenInvalid","onSubmit"],[1,"form-contents"],[1,"zip-field",3,"controlName","analytic-data"],["className","submit-button","type","submit","ariaLabel","Get Your Trade-in Offer",3,"elementId","qaid","linkButtonType"],[1,"text-before"]],template:function(e,t){1&e&&(y.TgZ(0,"dtm-stylized-modal",0),y.NdJ("close",function(e){return t.logCloseAnalytic(e)}),y._uU(1,"\n "),y.TgZ(2,"div",1),y._uU(3,"\n "),y.TgZ(4,"div",2),y._uU(5,"\n "),y.TgZ(6,"div",3),y._uU(7,"\n "),y._UZ(8,"img",4),y._uU(9,"\n "),y.qZA(),y._uU(10,"\n "),y.TgZ(11,"div",5),y._uU(12,"\n "),y.TgZ(13,"div",6),y._uU(14,"Calculate your real trade-in offer online"),y.qZA(),y._uU(15,"\n "),y.TgZ(16,"div",7),y._uU(17,"Enter your ZIP code so we can get your trade-in started at your closest dealership."),y.qZA(),y._uU(18,"\n "),y.qZA(),y._uU(19,"\n "),y.qZA(),y._uU(20,"\n "),y.TgZ(21,"dtm-form",8),y.NdJ("onSubmit",function(){return t.submitZip()}),y._uU(22,"\n "),y.TgZ(23,"div",9),y._uU(24,"\n "),y._UZ(25,"dtm-input-zip-code",10),y._uU(26,"\n "),y.TgZ(27,"dtm-link-button",11),y._uU(28,"\n "),y.TgZ(29,"span",12),y._uU(30,"Get Your Trade-in Offer"),y.qZA(),y._uU(31,"\n "),y.qZA(),y._uU(32,"\n "),y.qZA(),y._uU(33,"\n "),y.qZA(),y._uU(34,"\n "),y.qZA(),y._uU(35,"\n "),y.qZA(),y._uU(36,"\n\n")),2&e&&(y.Q6J("offsetFromTop",!1)("animateOpen",!1)("title","")("focusToElementId",t.focusToElementId),y.xp6(21),y.Q6J("group",t.group)("allowSubmitWhenInvalid",!1),y.xp6(4),y.Q6J("controlName",t.group.controls.zipCode)("analytic-data",t.zipErrorAnalytic),y.xp6(2),y.Q6J("elementId","z47r8k")("qaid","z47r8k")("linkButtonType",t.LinkButtonTypes.Button))},directives:[a.S,_.x,A.h,v.b],styles:[".modal-content[_ngcontent-%COMP%]{width:95%;max-width:414px;margin:0 auto}.form-contents[_ngcontent-%COMP%]{display:flex;width:85%;margin:1rem auto}.zip-field[_ngcontent-%COMP%]{flex:5;display:block}.zip-field[_ngcontent-%COMP%] .form-input-wrapper{margin-top:0} .trade-in-inner-modal-container{max-width:395px;padding:0 19px;background:none!important;margin:auto;overflow:hidden} .trade-in-inner-modal-container .modal-content-container{padding-top:55.8px!important} .trade-in-input-container{height:3rem!important} .trade-in-input-container .input-field{height:3rem!important} .trade-in-modal-content{display:block!important;width:100%!important;margin:0!important} .trade-in-modal-content .form-contents{display:block;width:100%;margin:0} .trade-in-modal-content .submit-button{margin:12px 0 0;height:55px;width:100%;font-size:4vw;font-weight:600;border-radius:6px} .trade-in-modal-content .zip-field{width:100%} .trade-in-modal-header{height:55.8px!important;background:none!important} .trade-in-modal-header .svg-x{height:25.8px!important;width:25.8px!important;fill:#4e575e!important} .trade-in-modal-text-container{padding:12px 0 24px!important} .trade-in-modal-text-container #text1{font-size:6.4vw;font-weight:800;color:#0c2340;text-align:center;padding:0 41px 12px} .trade-in-modal-text-container #text2{font-size:4.4vw;font-weight:400;color:#4e575e;text-align:center} .trade-in-outer-modal-container{top:50px!important;background-image:linear-gradient(to bottom,#c4eafa,#e5fff4)!important}.trade-in-modal-icon-container[_ngcontent-%COMP%]{width:100%}.trade-in-modal-content[_ngcontent-%COMP%] .zip-field[_ngcontent-%COMP%] .input-label{font-size:4vw}.trade-in-modal-icon[_ngcontent-%COMP%]{display:block;margin:0 auto;width:136px;height:136px} .submit-button{flex:1;margin-left:2vw;height:2.5rem;border:none;font-size:4vw;border-radius:4px;background-color:#00abe8;color:#fff;cursor:pointer;width:15vw}@media screen and (min-width: 414px){.modal-content[_ngcontent-%COMP%]{padding-bottom:1.8rem;width:85%}.form-contents[_ngcontent-%COMP%]{width:90%;margin-top:1.8rem;height:3rem}.trade-in-modal-content[_ngcontent-%COMP%] .zip-field[_ngcontent-%COMP%] .input-label{font-size:.89rem} .submit-button{margin-left:.5rem;font-size:.89rem;height:3rem;width:3.5rem} .trade-in-modal-content .form-contents{width:100%;margin:0;height:auto} .trade-in-modal-text-container #text1{font-size:1.45rem} .trade-in-modal-text-container #text2{font-size:1rem} .trade-in-modal-content .submit-button{font-size:.89rem}}@media screen and (min-width: 768px){ .trade-in-inner-modal-container{padding:0 29px;background-image:linear-gradient(to bottom,#c4eafa,#e5fff4)!important;border-radius:7px;height:auto!important} .trade-in-inner-modal-container .modal-content-container{padding-top:48px!important} .trade-in-modal-content .submit-button{height:56px} .trade-in-modal-header{height:48px!important} .trade-in-outer-modal-container{width:395px!important;height:492px!important;border-radius:7px;top:0!important;bottom:0!important;margin:auto!important}}"]}),(0,i.gn)([(0,p.Ph)(e=>e.app.location.currentLocation),(0,i.w6)("design:type",c.X)],b.prototype,"currentLocation$",void 0)},41282:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});const i=new(n(37716).OlP)("SEGMENT_WRITE_KEY")},38376:function(e,t,n){"use strict";n.d(t,{$:function(){return a},D:function(){return o}});var i=n(27192);function a(e=i.iu){return function(t){return class extends t{constructor(...n){super(...n),Array.isArray(t.prototype[e])&&(this[e]=t.prototype[e])}}}}function o(e=i.iu){return function(t,n){Object.defineProperty(t,e,{value:[...t[e]||[],n],writable:!0})}}},82701:function(e,t,n){"use strict";n.d(t,{z:function(){return d}});var i=n(20483),a=n(64863),o=n(78098),r=n(63445),s=n(79765),l=n(46782),c=n(37716);let d=(()=>{class e{constructor(e){this._el=e,this.accessibility=null,this._componentUnsubscribe=new s.xQ}ngOnInit(){i.cmp.isDefinedAndNotNull(this.accessibility.ariaExpanded$)&&this.accessibility.ariaExpanded$.pipe((0,l.R)(this._componentUnsubscribe)).subscribe(e=>{(0,r.o)(this._el.nativeElement,{[a.m.EXPANDED]:String(e)})}),i.cmp.isDefinedAndNotNull(this.accessibility.ariaChecked$)&&this.accessibility.ariaChecked$.pipe((0,l.R)(this._componentUnsubscribe)).subscribe(e=>{(0,r.o)(this._el.nativeElement,{[a.m.CHECKED]:String(e)})}),i.cmp.isDefinedAndNotNull(this.accessibility.ariaDisabled$)&&this.accessibility.ariaDisabled$.pipe((0,l.R)(this._componentUnsubscribe)).subscribe(e=>{(0,r.o)(this._el.nativeElement,{[a.m.DISABLED]:String(e)})}),i.cmp.isDefinedAndNotNull(this.accessibility.ariaInvalid$)&&this.accessibility.ariaInvalid$.pipe((0,l.R)(this._componentUnsubscribe)).subscribe(e=>{(0,r.o)(this._el.nativeElement,{[a.m.INVALID]:String(e)})}),i.cmp.isDefinedAndNotNull(this.accessibility.ariaDynamicLabel$)&&this.accessibility.ariaDynamicLabel$.pipe((0,l.R)(this._componentUnsubscribe)).subscribe(e=>{(0,r.o)(this._el.nativeElement,{[a.m.LABEL]:e})}),i.cmp.isDefinedAndNotNull(this.accessibility.dynamicTabIndex$)&&this.accessibility.dynamicTabIndex$.pipe((0,l.R)(this._componentUnsubscribe)).subscribe(e=>{(0,r.o)(this._el.nativeElement,{[a.m.TABINDEX]:e})}),(0,r.o)(this._el.nativeElement,(0,o.I)(this.accessibility))}updateLabel(e){(0,r.o)(this._el.nativeElement,{[a.m.LABEL]:e})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}}return e.\u0275fac=function(t){return new(t||e)(c.Y36(c.SBq))},e.\u0275dir=c.lG2({type:e,selectors:[["","accessibility",""]],inputs:{accessibility:"accessibility"},exportAs:["accessibilityDirective"]}),e})()},19967:function(e,t,n){"use strict";n.d(t,{e:function(){return c}});var i=n(40273),a=n(20483),o=n(70764),r=n(67041),s=n(63445),l=n(37716);let c=(()=>{class e{constructor(e,t,n){this._el=e,this._analyticService=t,this._appConfig=n,this.analytic=null}ngOnInit(){if(!(this._appConfig.isServerPrerender||a.cmp.isEmpty(this.analytic)||a.cmp.isUndefinedOrNull(this.analytic.category)||a.cmp.isUndefinedOrNull(this.analytic.label))){if(a.cmp.isDefinedAndNotNull(this.analytic.nonInteraction)&&this.analytic.nonInteraction)return void this._analyticService.logNonInteractionAnalytic(this.analytic);(0,s.o)(this._el.nativeElement,{[i.Hv.ACTION]:this.analytic.action,[i.Hv.MARKETING_ACTION]:this.analytic.marketingAction,[i.Hv.CATEGORY]:this.analytic.category,[i.Hv.LABEL]:this.analytic.label,[i.Hv.VALUE]:this.analytic.value,[i.Hv.INCLUDE_INPUT_VALUE]:this.analytic.includeInputValue?"true":"false",[i.Hv.ADDITIONAL_DATA]:JSON.stringify(this.analytic.additionalData),[i.Hv.EXPERIMENT_EVENT]:(this.analytic.experimentMetric||this.analytic.optimizelyEvent||"false").toString(),[i.Hv.EXPERIMENT_PAGE_NAME]:this.analytic.addExperimentPageName?"true":"false"})}}resetAnalyticValueProperty(e){(0,s.o)(this._el.nativeElement,{[i.Hv.VALUE]:e})}updateLabel(e){(0,s.o)(this._el.nativeElement,{[i.Hv.LABEL]:e})}}return e.\u0275fac=function(t){return new(t||e)(l.Y36(l.SBq),l.Y36(o.g),l.Y36(r._))},e.\u0275dir=l.lG2({type:e,selectors:[["","analytic",""]],inputs:{analytic:"analytic"},exportAs:["analyticDirective"]}),e})()},77519:function(e,t,n){"use strict";n.d(t,{bY:function(){return I},Bq:function(){return c},EP:function(){return x},Ye:function(){return w},ml:function(){return E},jM:function(){return M},pw:function(){return i.p},AK:function(){return y},qV:function(){return U},hd:function(){return h}});var i=n(96175),a=n(37716),o=n(31184),r=n(79765),s=n(20483),l=n(46782);let c=(()=>{class e{constructor(e){this.windowScrollService=e,this.onScrollMaxThresholdReached=new a.vpe,this._directiveUnsubscribe=new r.xQ}ngOnInit(){this.windowScrollService.events.pipe((0,l.R)(this._directiveUnsubscribe)).subscribe(()=>this.handleScrollEvent())}ngOnDestroy(){this._directiveUnsubscribe.next(),this._directiveUnsubscribe.complete()}handleScrollEvent(){let e=this.windowScrollService.getBrowserScrollYAxisPosition(),t=this.windowScrollService.getMaxScrollHeight(),n=t/4;e>=t-(s.cmp.isDefinedAndNotNull(this.infiniteScroll)?this.infiniteScroll:n)&&this.onScrollMaxThresholdReached.emit(!0)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(o.o))},e.\u0275dir=a.lG2({type:e,selectors:[["","infiniteScroll",""]],inputs:{infiniteScroll:"infiniteScroll"},outputs:{onScrollMaxThresholdReached:"onScrollMaxThresholdReached"}}),e})();var d=n(3679),u=n(42775),p=n(67041);let h=(()=>{class e{constructor(e,t){this._element=e,this._appConfig=t,this._textMaskConfig={mask:[],guide:!0,placeHolderChar:"_",pipe:void 0,keepCharPositions:!1},this._onChange=e=>{},this.onTouched=()=>{}}onInput(e){this._setupMask(),s.cmp.isDefinedAndNotNull(this._textMaskInputElement)&&(this._textMaskInputElement.update(e),this._lastValue!==(e=this._inputElement.value)&&(this._lastValue=e,this._onChange(e)))}ngOnChanges(e){this._appConfig.isBrowser&&(this._setupMask(!0),s.cmp.isDefinedAndNotNull(this._textMaskInputElement)&&this._textMaskInputElement.update(this._inputElement.value))}writeValue(e){this._setupMask(),this._inputElement.value=e||"",s.cmp.isDefinedAndNotNull(this._textMaskInputElement)&&this._textMaskInputElement.update(e)}registerOnChange(e){this._onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e||void 0}_setupMask(e=!1){if(s.cmp.isUndefinedOrNull(this._inputElement)&&(this._inputElement="INPUT"===this._element.nativeElement.tagName?this._element.nativeElement:this._element.nativeElement.getElementsByTagName("INPUT")[0]),s.cmp.isDefinedAndNotNull(this._inputElement)&&e){let e=Object.assign({inputElement:this._inputElement},this._textMaskConfig);this._textMaskInputElement=(0,u.createTextMaskInputElement)(e)}}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(p._))},e.\u0275dir=a.lG2({type:e,selectors:[["","textMask",""]],hostBindings:function(e,t){1&e&&a.NdJ("blur",function(){return t.onTouched()})("input",function(){return t.onInput()})},inputs:{_textMaskConfig:["textMask","_textMaskConfig"]},exportAs:["textMask"],features:[a._Bn([{provide:d.JU,useExisting:(0,a.Gpc)(()=>e),multi:!0}]),a.TTD]}),e})();n(22745);var m=n(97805),g=n(13535),f=n(11605);let y=(()=>{class e{constructor(e,t){this._deviceInteractionService=e,this._linkHelper=t,this.targetedLink="",this.internalRoute=!1}onClick(e){e.preventDefault(),s.cmp.isEmpty(this.targetedLink)||!e.isTrusted&&!("Cypress"in window)||(-1===this.targetedLink.indexOf("tel:")?this._deviceInteractionService.openWithTarget(this.targetedLink,this.internalRoute):window.open(this.targetedLink,f.e.Self))}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(m.e),a.Y36(g.R))},e.\u0275dir=a.lG2({type:e,selectors:[["","targetedLink",""]],hostBindings:function(e,t){1&e&&a.NdJ("click",function(e){return t.onClick(e)})},inputs:{targetedLink:"targetedLink",internalRoute:"internalRoute"}}),e})();var _=n(45435),A=n(70764),v=n(54266),b=n(93165),C=n(9953);let w=(()=>{class e{constructor(e,t,n,i,a){this._elementRef=e,this._renderer=t,this._analyticService=n,this._deviceInteractionService=i,this._linkHelper=a,this._componentUnsubscribe=new r.xQ,this._elementSelector=this._elementRef.nativeElement}ngOnInit(){this.dealershipMapLocation&&this.dealershipMapLocation.pipe((0,l.R)(this._componentUnsubscribe),(0,_.h)(s.cmp.isDefinedAndNotNull)).subscribe(e=>{this._mapLink=e,this._mapLinkType=v.G.Location,this.setElementHref()}),this.dealershipMapDirections&&this.dealershipMapDirections.pipe((0,l.R)(this._componentUnsubscribe),(0,_.h)(s.cmp.isDefinedAndNotNull)).subscribe(e=>{this._mapLink=e,this._mapLinkType=v.G.Directions,this.setElementHref()})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}onClick(e){if(this._analyticService.platform===C.N.Mobile)return s.cmp.isUndefinedOrNull(this._elementSelector)&&(this._elementSelector=this.dealershipMapDirections?this._elementRef.nativeElement.querySelector(`.${b.kF}`):this._elementRef.nativeElement),this.setElementHref();if(e.preventDefault(),e.isTrusted){if(s.cmp.isUndefinedOrNull(this._mapLink)){let e="MapLinkDirective -> _mapLink is empty. Parent elements classes: "+this._elementRef.nativeElement.className;return this._analyticService.logException(e),void console.error(e)}if(s.cmp.isUndefinedOrNull(this._mapLinkType)){let e="MapLinkDirective -> _mapLinkType is empty. Parent elements classes: "+this._elementRef.nativeElement.className;return this._analyticService.logException(e),void console.error(e)}this._deviceInteractionService.openMapApp(this._mapLink,this._mapLinkType)}}setElementHref(){let e=this._linkHelper.getMapsLinkUrl(this._mapLink,this._mapLinkType);this._renderer.setAttribute(this._elementSelector,"href",e),this._renderer.setAttribute(this._elementSelector,"target","_blank")}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(a.Qsj),a.Y36(A.g),a.Y36(m.e),a.Y36(g.R))},e.\u0275dir=a.lG2({type:e,selectors:[["","dealershipMapLocation",""],["","dealershipMapDirections",""]],hostBindings:function(e,t){1&e&&a.NdJ("click",function(e){return t.onClick(e)})},inputs:{dealershipMapLocation:"dealershipMapLocation",dealershipMapDirections:"dealershipMapDirections"}}),e})();var S=n(98800);const k=n(13322);let M=(()=>{class e{constructor(e,t){this._elementRef=e,this._screenSizeService=t,this.fullWidth=!1,this._componentUnsubscribe=new r.xQ,this._isDesktop=!1}ngOnInit(){if(s.cmp.isDefinedAndNotNull(k.Extras)&&s.cmp.isDefinedAndNotNull(k.Extras.Widths)){let e=k.Extras.Widths.find(e=>"desktop-max-width"===e.name),t=k.Extras.Widths.find(e=>"min-width"===e.name);s.cmp.isDefinedAndNotNull(e)&&(this._desktopInnerContainerWidth=e.value),s.cmp.isDefinedAndNotNull(t)&&(this._mobileInnerContainerWidth=t.value)}this._screenSizeService.isDesktop.pipe((0,l.R)(this._componentUnsubscribe)).subscribe(e=>{this._isDesktop=e,this._update(this._isDesktop)})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}ngAfterViewChecked(){this._update(this._isDesktop)}_update(e){this._elementRef.nativeElement.style.order=e?this.cellNumber:null,this.fullWidth?(this._elementRef.nativeElement.style.width=e?"100%":null,this._elementRef.nativeElement.style.margin=null,this._elementRef.nativeElement.style.maxWidth=null):(this._elementRef.nativeElement.style.margin="0 auto",this._elementRef.nativeElement.style.maxWidth=e?this._desktopInnerContainerWidth:this._mobileInnerContainerWidth,this._elementRef.nativeElement.style.width=null)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(S.O))},e.\u0275dir=a.lG2({type:e,selectors:[["","responsiveCell",""]],inputs:{cellNumber:["responsiveCell","cellNumber"],fullWidth:"fullWidth"}}),e})();var P=n(45637),O=n(64174);let U=(()=>{class e{constructor(e,t,n){this._cdRef=e,this._tradeInService=t,this._memoryStoreService=n,this.kbbDealershipNumber="",this.openNewTab=!1,this.promptForLocation=new a.vpe,this.onTradeInClick=new a.vpe,this._promptForLocation=!0,this._componentUnsubscribe=new r.xQ}ngOnInit(){}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}onKbbIcoClick(){this._dealership=this._memoryStoreService.activeDealershipMemory().dealership$.getValue(),s.cmp.isDefinedAndNotNull(this._dealership)?(this._tradeInService.isDealershipEligibleForAccutrade(this._dealership.DealershipNumber).then(e=>{e&&this.onTradeInClick.emit(!0)}),this._tradeInService.navigateToTradeInByDealership(this._dealership,this.openNewTab)):this.promptForLocation.emit()}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.sBO),a.Y36(O.A),a.Y36(P.D))},e.\u0275dir=a.lG2({type:e,selectors:[["","trade-in-link",""]],hostBindings:function(e,t){1&e&&a.NdJ("click",function(){return t.onKbbIcoClick()})},inputs:{kbbDealershipNumber:["trade-in-link","kbbDealershipNumber"],openNewTab:"openNewTab"},outputs:{promptForLocation:"promptForLocation",onTradeInClick:"onTradeInClick"}}),e})(),I=(()=>{class e{constructor(){this.onElementLoad=new a.vpe}ngAfterViewInit(){this.onElementLoad.emit()}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["","elementLoaded",""]],outputs:{onElementLoad:"onElementLoad"}}),e})();var N=n(97582),T=n(15257),D=n(54395);let x=(()=>{class e{constructor(){this.observerSegments={}}createObserver(e,t){return new IntersectionObserver((e,n)=>{e.forEach(e=>{const i=t.get(e.target);i&&i(e,n)})},{rootMargin:"0px",threshold:e})}subscribe(e,t,n){s.cmp.isUndefinedOrNull(window.IntersectionObserver)||(Array.isArray(e)?e:[e]).forEach(e=>{if(s.cmp.isUndefinedOrNull(this.observerSegments[e])){let t=new Map,n=this.createObserver(e,t);this.observerSegments[e]={observer:n,mapping:t}}this.observerSegments[e].observer.observe(t),this.observerSegments[e].mapping.set(t,n)})}ngOnDestroy(){Object.keys(this.observerSegments).forEach(e=>{this.observerSegments[e].observer.disconnect(),this.observerSegments[e].mapping.clear()})}unsubscribe(e){Object.keys(this.observerSegments).forEach(t=>{s.cmp.isDefinedAndNotNull(this.observerSegments[t])&&(this.observerSegments[t].observer.unobserve(e),this.observerSegments[t].mapping.delete(e))})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275dir=a.lG2({type:e,selectors:[["","dtmIntersectionObserverList",""]]}),e})(),E=(()=>{class e{constructor(e,t,n){this.element=e,this.appConfigService=t,this.parent=n,this.debounceTime=0,this.intersectionRatio=0,this.observeUntilComponentDestroy=!0,this.visible=new a.vpe,this.invisible=new a.vpe,this.subject$=new r.xQ,this.isIntersecting=e=>e.isIntersecting}ngOnInit(){s.cmp.isDefinedAndNotNull(window.IntersectionObserver)&&s.cmp.isUndefinedOrNull(this.parent)&&this.createObserver()}ngAfterViewInit(){s.cmp.isDefinedAndNotNull(this.startObservation$)?this.startObservation$.pipe((0,_.h)(e=>!0===e),(0,T.q)(1)).subscribe(()=>this.startObservingElements()):this.startObservingElements()}ngOnDestroy(){this.teardownObserver()}isVisible(e){return new Promise(t=>{this.visibleObserver=new IntersectionObserver(([e])=>{t(e.intersectionRatio>=this.intersectionRatio),this.visibleObserver.disconnect()}),this.visibleObserver.observe(e)})}createObserver(){this.observer=new IntersectionObserver((e,t)=>{e.forEach(e=>{this.isIntersecting(e)&&this.subject$.next({entry:e,observer:t})})},{rootMargin:"0px",threshold:this.threshold})}startObservingElements(){if(this.parent)this.parent.subscribe(this.threshold,this.element.nativeElement,(e,t)=>{this.isIntersecting(e)?this.subject$.next({entry:e,observer:t}):this.invisible.emit(e.target)});else{if(s.cmp.isUndefinedOrNull(this.observer))return;this.observer.observe(this.element.nativeElement)}this.subject$.pipe((0,D.b)(this.debounceTime),(0,_.h)(Boolean)).subscribe(({entry:e,observer:t})=>(0,N.mG)(this,void 0,void 0,function*(){const n=e.target;(yield this.isVisible(n))&&(this.visible.emit(n),this.observeUntilComponentDestroy||t.unobserve(n))}))}teardownObserver(){this.observer&&(this.observer.disconnect(),this.observer=void 0),this.parent&&this.parent.unsubscribe(this.element.nativeElement),this.subject$.complete()}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(a.SBq),a.Y36(p._),a.Y36(x,8))},e.\u0275dir=a.lG2({type:e,selectors:[["","dtmObserveVisibility",""]],inputs:{debounceTime:"debounceTime",threshold:"threshold",intersectionRatio:"intersectionRatio",observeUntilComponentDestroy:"observeUntilComponentDestroy",startObservation$:"startObservation$"},outputs:{visible:"visible",invisible:"invisible"}}),e})()},22745:function(e,t,n){"use strict";n.d(t,{C:function(){return d},b:function(){return u}});var i=n(2694),a=n(20483),o=n(13535),r=n(97805),s=n(67041),l=n(37716),c=n(38583);let d=(()=>{class e{constructor(e,t,n,i,a,o){this._router=e,this._route=t,this._el=i,this._deviceInteractionService=a,this._appConfigService=o,this.appTab=!1,this.queryParams={},this.commands=[],null==n&&this._el.nativeElement.setAttribute("tabindex","0")}set dtmRouterLink(e){let{commandsWithoutQueries:t,queries:n,queryParamsHandling:i}=h(a.ArrayUtils.convertToArray(e));this.commands=t,this.queryParams=n,this.queryParamsHandling=i}onClick(e){let t=this._el.nativeElement.attributes.getNamedItem("href");if(this._appConfigService.isMobileApp&&this.appTab)return e.preventDefault(),this._deviceInteractionService.openWithTarget(t,!0),!0;a.cmp.isDefinedAndNotNull(t)&&t.value!==this.commands[0]&&(this.commands=[t.value]);const n={skipLocationChange:p(this.skipLocationChange),replaceUrl:p(this.replaceUrl)};return this._router.navigateByUrl(this.urlTree,n),!0}get urlTree(){return this._router.createUrlTree(this.commands,{relativeTo:this._route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:p(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(l.Y36(i.F0),l.Y36(i.gz),l.$8M("tabindex"),l.Y36(l.SBq),l.Y36(r.e),l.Y36(s._))},e.\u0275dir=l.lG2({type:e,selectors:[["","dtmRouterLink","",5,"a"]],hostBindings:function(e,t){1&e&&l.NdJ("click",function(e){return t.onClick(e)})},inputs:{fragment:"fragment",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",appTab:"appTab",dtmRouterLink:"dtmRouterLink"}}),e})(),u=(()=>{class e{constructor(e,t,n,a,o,r,s){this._router=e,this._route=t,this._locationStrategy=n,this._linkHelper=a,this._el=o,this._deviceInteractionService=r,this._appConfigService=s,this.appTab=!1,this.queryParams={},this.commands=[],this.subscription=this._router.events.subscribe(e=>{e instanceof i.m2&&this.updateTargetUrlAndHref()})}set dtmRouterLink(e){let{commandsWithoutQueries:t,queries:n,queryParamsHandling:i}=h(a.ArrayUtils.convertToArray(e));this.commands=t,this.queryParams=n,this.queryParamsHandling=i}ngOnChanges(e){this.updateTargetUrlAndHref()}ngOnDestroy(){this.subscription.unsubscribe()}onClick(e,t,n,i,a){if(this._appConfigService.isMobileApp&&this.appTab)return a.preventDefault(),this._deviceInteractionService.openWithTarget(this.href,!0),!0;if(0!==e||t||n||i||"string"==typeof this.target&&"_self"!==this.target)return!0;this.commands=[this._el.nativeElement.pathname];const o={skipLocationChange:p(this.skipLocationChange),replaceUrl:p(this.replaceUrl)};return this._router.navigateByUrl(this.urlTree,o),!1}updateTargetUrlAndHref(){this.href=this._locationStrategy.prepareExternalUrl(this._router.serializeUrl(this.urlTree))}get urlTree(){return this._router.createUrlTree(this.commands,{relativeTo:this._route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:p(this.preserveFragment)})}}return e.\u0275fac=function(t){return new(t||e)(l.Y36(i.F0),l.Y36(i.gz),l.Y36(c.S$),l.Y36(o.R),l.Y36(l.SBq),l.Y36(r.e),l.Y36(s._))},e.\u0275dir=l.lG2({type:e,selectors:[["a","dtmRouterLink",""]],hostVars:2,hostBindings:function(e,t){1&e&&l.NdJ("click",function(e){return t.onClick(e.button,e.ctrlKey,e.metaKey,e.shiftKey,e)}),2&e&&(l.Ikx("href",t.href,l.LSH),l.uIk("target",t.target))},inputs:{target:"target",fragment:"fragment",preserveFragment:"preserveFragment",skipLocationChange:"skipLocationChange",replaceUrl:"replaceUrl",appTab:"appTab",dtmRouterLink:"dtmRouterLink"},features:[l.TTD]}),e})();function p(e){return""===e||!!e}function h(e){if(a.cmp.isEmpty(e))return{commandsWithoutQueries:[],queries:{},queryParamsHandling:"default"};let t=e.map(e=>a.cmp.isNotEmpty(e)&&-1!==e.indexOf("?")?e.split("?"):[e,""]);return{commandsWithoutQueries:t.map(e=>e[0]),queries:t.map(e=>o.R.deconstructQueryParamString(e[1])).reduce((e,t)=>Object.assign(e,t),{}),queryParamsHandling:"default"}}},96175:function(e,t,n){"use strict";n.d(t,{p:function(){return s}});var i=n(10324),a=n(20483),o=n(28049),r=n(37716);let s=(()=>{class e{constructor(e,t){this._elementRef=e,this._svgIconIncludeService=t,this.height="100%",this.width="100%",this.cacheSVG=!0}ngOnInit(){if(a.cmp.isEmpty(this.includeSVG))return;this._svgName=this.includeSVG.replace("dt-glyph-",""),this._elementRef.nativeElement.classList.add(this.includeSVG);let e=this._svgIconIncludeService.createNewSvg(this._svgName);a.cmp.isDefinedAndNotNull(e)?this.insertSVG(e):this._svgIconIncludeService.svgMap$.pipe((0,o.P)(a.cmp.isDefinedAndNotNull)).subscribe(()=>{this.insertSVG(this._svgIconIncludeService.createNewSvg(this._svgName))})}insertSVG(e){if(this.includeSVG!==this._prevIncludeSvg&&!a.cmp.isUndefinedOrNull(e)&&(this._prevIncludeSvg=this.includeSVG,a.cmp.isDefinedAndNotNull(this._elementRef.nativeElement))){this._svgIconIncludeService.appendStylingToSvgElement(e,this._svgName,this.width,this.height);try{this._elementRef.nativeElement.innerHTML="",this._elementRef.nativeElement.appendChild(e)}catch(t){}}}}return e.\u0275fac=function(t){return new(t||e)(r.Y36(r.SBq),r.Y36(i.G))},e.\u0275dir=r.lG2({type:e,selectors:[["","includeSVG",""]],inputs:{includeSVG:"includeSVG",height:"height",width:"width",cacheSVG:"cacheSVG"}}),e})()},10324:function(e,t,n){"use strict";n.d(t,{G:function(){return p}});var i=n(28049),a=n(39075),o=n(26215),r=n(12991),s=n(13535),l=n(20483),c=n(70764),d=n(67041),u=n(37716);let p=(()=>{class e{constructor(e,t,n,i,a){this._http=e,this._linkHelper=t,this._analyticService=n,this._appConfig=i,this._transferState=a,this.svgMap$=new o.X(null),this._svgAccessibilityCounter=0,this._initSvgMap()}_initSvgMap(){this._appConfig.isLocal||this._appConfig.isServerPrerender?this._requestSvgMap():this._appConfig.buildVersion.pipe((0,i.P)(e=>"unknown"!==e)).subscribe(this._requestSvgMap.bind(this))}_requestSvgMap(e="unknown"){this._http.request(this._linkHelper.svgPath(`svgMap.svg?v=${e}`),{responseType:"text"},!1).subscribe(this._parseSymbolsFromSvg.bind(this))}_parseSymbolsFromSvg(e){let t={},n=e.split("</symbol>");n.pop(),n.forEach(e=>{let n=e.indexOf('id="')+4,i=e.indexOf('"',n),a=e.substring(n,i),o=e.indexOf('viewBox="')+9,r=e.indexOf('"',o),s=e.substring(o,r),l=e.indexOf(">",i)+1,c=e.substring(l);t[a]={viewBox:s,markup:c}}),this.svgMap$.next(t)}appendStylingToSvgElement(e,t,n,i){if(l.cmp.isDefinedAndNotNull(e)){let a=n||"30px",o=i||"30px";e.setAttribute("class","svg-"+t),e.setAttribute("width",a),e.setAttribute("height",o),e.setAttribute("focusable","false")}}createNewSvg(e){let t=this.svgMap$.getValue(),n=l.cmp.isNotEmpty(t),i=(0,a.Cb)(`svg:${e}`),o=this._transferState.get(i,null),r=l.cmp.isDefinedAndNotNull(o);if(!n&&!r)return null;let s=o||t[e];if(r||this._transferState.set(i,s),l.cmp.isUndefinedOrNull(s))return this._analyticService.logException(`SvgIconIncludeService->createNewSvg() failed. Error: Specific SVG was not found\n in the SVG map with id="${e}"`),null;if(!this._appConfig.isBrowser){let t=document.createElement("svg");return t.setAttribute("viewBox",s.viewBox),t.innerHTML=s.markup,this._createAccessibilityAttributes(e,t),t}try{let t=`<svg xmlns="http://www.w3.org/2000/svg">${s.markup}</svg>`,n=this._getDomParser().parseFromString(t,"text/xml").documentElement;return n.setAttribute("viewBox",s.viewBox),this._createAccessibilityAttributes(e,n),n}catch(c){let e=document.createElementNS("http://www.w3.org/2000/svg","svg");return e.setAttribute("viewBox",s.viewBox),e}}_createAccessibilityAttributes(e,t){let n=l.cmp.isDefinedAndNotNull(t.querySelector("title")),i=l.cmp.isDefinedAndNotNull(t.querySelector("desc"));if(n&&i){this._svgAccessibilityCounter+=1;let n=`${e}-title${this._svgAccessibilityCounter}`,i=`${e}-desc${this._svgAccessibilityCounter}`;t.setAttribute("role","img"),t.setAttribute("aria-labelledby",`${n} ${i}`),t.querySelector("title").setAttribute("id",n),t.querySelector("desc").setAttribute("id",i)}}_getDomParser(){return l.cmp.isUndefinedOrNull(this._domParser)&&(this._domParser=new DOMParser),this._domParser}}return e.\u0275fac=function(t){return new(t||e)(u.LFG(r.G),u.LFG(s.R),u.LFG(c.g),u.LFG(d._),u.LFG(a.ki))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac}),e})()},64863:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var i=(()=>{return(e=i||(i={})).LABEL="aria-label",e.LABELLEDBY="aria-labelledby",e.DESCRIBEDBY="aria-describedby",e.CHECKED="aria-checked",e.EXPANDED="aria-expanded",e.CONTROLS="aria-controls",e.DISABLED="aria-disabled",e.ROLE="role",e.HIDDEN="aria-hidden",e.INVALID="aria-invalid",e.ERRORMESSAGE="aria-errormessage",e.MODAL="aria-modal",e.TABINDEX="tabindex",e.LEVEL="aria-level",e.HASPOPUP="aria-has-popup",e.SELECTED="aria-selected",i;var e})()},58923:function(e,t,n){"use strict";n.d(t,{dV:function(){return i},Xu:function(){return a},J8:function(){return o},v4:function(){return r},Cz:function(){return s}});var i=(()=>{return(e=i||(i={}))[e.PageView=0]="PageView",e[e.Event=1]="Event",i;var e})(),a=(()=>{return(e=a||(a={}))[e.GoogleAnalytics=0]="GoogleAnalytics",e[e.AppInsights=1]="AppInsights",e[e.DMP=2]="DMP",e[e.Segment=3]="Segment",a;var e})(),o=(()=>((o||(o={})).AzureSearchId="x-ms-azs-searchid",o))(),r=(()=>{return(e=r||(r={})).MobileV1="MobileV1",e.DesktopV1="DesktopV1",r;var e})(),s=(()=>{return(e=s||(s={})).Click="click",e.Error="error",e.Selection="selection",e.FirstInputDelay="first-input-delay",e.FirstContentfulPaint="dt-first-contentful-paint",e.NonInteraction="NonInteraction",s;var e})()},89752:function(e,t,n){"use strict";n.d(t,{S:function(){return i},ss:function(){return a},L_:function(){return o},uD:function(){return r},xz:function(){return s},B6:function(){return l},iq:function(){return c}});var i=(()=>{return(e=i||(i={})).MonthlyPayment="monthlypmtfreq",e.BiweeklyPayment="biweeklypmtfreq",i;var e})(),a=(()=>{return(e=a||(a={}))[e.Sale=0]="Sale",e[e.Upgrade=1]="Upgrade",e[e.Error=2]="Error",e[e.PIF=3]="PIF",e[e.PI=4]="PI",e[e.HighDP=5]="HighDP",e[e.ServiceError=6]="ServiceError",e[e.None=7]="None",a;var e})(),o=(()=>{return(e=o||(o={}))[e.Finance=0]="Finance",e[e.Vehicle=1]="Vehicle",o;var e})(),r=(()=>{return(e=r||(r={}))[e.NeedsApproval=0]="NeedsApproval",e[e.HasApproval=1]="HasApproval",e[e.FailedApproval=2]="FailedApproval",r;var e})();const s=new Map([[0,"Sale"],[1,"Upgrade"],[2,"Error"],[3,"PIF"],[4,"PI"],[5,"HighDP"],[6,"ServiceError"],[7,"None"]]);var l=(()=>{return(e=l||(l={})).CONTROL="ga-control",e.GA_VARIATION_1="ga-variation1",e.GA_VARIATION_2="ga-variation2",l;var e})(),c=(()=>{return(e=c||(c={})).GA1="ga1",e.GA2="ga2",c;var e})()},9298:function(e,t,n){"use strict";n.d(t,{lW:function(){return i},vV:function(){return a},vv:function(){return o}});var i=(()=>{return(e=i||(i={})).PremiumCoverage="PremiumCoverage",e.CustomCoverage="CustomCoverage",e.NoCoverage="NoCoverage",i;var e})(),a=(()=>{return(e=a||(a={})).PremiumProducts="PremiumProducts",e.AllProducts="AllProducts",e.NoProducts="NoProducts",e.GPSOnly="GPSOnly",e.GAPOnly="GAPOnly",e.DriveCareOnly="DriveCareOnly",e.DriveCareAndGAP="DriveCareAndGAP",e.DriveCareAndGPS="DriveCareAndGPS",e.GAPAndGPS="GAPAndGPS",a;var e})(),o=(()=>{return(e=o||(o={})).Phase1A="phase1a",e.Phase1B="phase1b",o;var e})()},14439:function(e,t,n){"use strict";n.d(t,{g:function(){return i}});var i=(()=>{return(e=i||(i={}))[e.NONE=0]="NONE",e[e.REQUESTED=1]="REQUESTED",e[e.RESPONDED=2]="RESPONDED",e[e.DONE=3]="DONE",i;var e})()},82955:function(e,t,n){"use strict";n.d(t,{b:function(){return i},P:function(){return a}});var i=(()=>{return(e=i||(i={})).CashDown="cashDown",e.Income="income",i;var e})(),a=(()=>{return(e=a||(a={})).CashDown="Cash Down",e.Income="Income",a;var e})()},31081:function(e,t,n){"use strict";n.d(t,{I2:function(){return i},ND:function(){return a},Yi:function(){return o}});var i=(()=>{return(e=i||(i={}))[e.Default=0]="Default",e[e.PPCVehicleShopper=1]="PPCVehicleShopper",e[e.App=2]="App",e[e.ReturnUser=3]="ReturnUser",i;var e})(),a=(()=>{return(e=a||(a={})).CSUV="csuv",e.UTD="utd",e.CB="cb",e.CC="cc",e.CT2="ct2",e.U5K="u5k",e.UCD="ucd",e.UC="uc",e.USUV="usuv",e.UT="ut",e.CT3="ct3",e.FTC="ftc",e.BHPH="bhph",e.NC="nc",e.CL="cl",a;var e})(),o=(()=>{return(e=o||(o={}))[e.Unknown=0]="Unknown",e[e.Ios=1]="Ios",e[e.Android=2]="Android",o;var e})()},17315:function(e,t,n){"use strict";n.d(t,{ZI:function(){return a},Fu:function(){return i},jl:function(){return r},Qk:function(){return s},DN:function(){return l},MF:function(){return c},$v:function(){return d},vv:function(){return o},e6:function(){return u},rd:function(){return p}});var i,a=(()=>{return(e=a||(a={})).IsDesktop="is-desktop",e.IsAppUser="is-app-user",e.IsPPCUser="is-ppc-user",e.IsLiveTestingUser="live-testing",e.IsReturnUser="is-return-user",e.IsReturnVSRUser="is-return-vsr-user",e.IsVSRSortExpAudience="is-vsr-sort-audience",e.MinDownPaymentAmount="min-down-payment-amount",e.AppCertType="app-cert-type",e.IsProduction="is-production",e.LandingPage="landing-page",e.IsPostGA2="is-post-ga2",e.IsAppCertCalculatorEligible="is-app-cert-calculator-eligible",e.PostLeadPaymentFrequencyTestValid="post-lead-payment-frequency-test-valid",e.IsVsfMultiPmtFreqAppCertEligible="is-vsf-multi-pmt-freq-app-cert-eligible",e.IsPast45Days="is-past-45-days",e.DtmRegion="dtm-region",e.HasCri="has-cri",e.IsIOSAppUser="is-ios-app-user",e.OAGG="oagg",e.HasPlaidScore="has-plaid-score",a;var e})();!function(e){let t,n,i,a,o,r,s,l,c,d;var u;(t=e.VsfMultiPmtFreqAppCert||(e.VsfMultiPmtFreqAppCert={})).Id="opti-vsf-multi-pmt-freq-app-cert",(u=n=e.VsfMultiPmtFreqAppCertVariationKeys||(e.VsfMultiPmtFreqAppCertVariationKeys={})).Monthly="variation_1",u.Biweekly="variation_2",function(e){e.Id="app-cert-insurance-comparison",e.ShowComparison="show-comparison",e.InsuranceVendor="insurance-vendor",e.InsuranceUrl="insurance-url",e.AddQueryParamString="add-query-param-string",e.TrackingParamKey="tracking-param-key"}(i=e.AppCertInsuranceComparison||(e.AppCertInsuranceComparison={})),function(e){e.FinanceCalculatorControl="FinanceCalculatorControl",e.FinanceCalculatorEmbedded="FinanceCalculatorEmbedded",e.FinanceCalculatorBanner="FinanceCalculatorBanner"}(a=e.VsrFinanceCalculatorVariationValues||(e.VsrFinanceCalculatorVariationValues={})),function(e){let t,n;var i;(t=e.Settings||(e.Settings={})).FeatureId="app-cert-finance-calculator",(i=n=e.Variations||(e.Variations={})).AppCertFinanceCalculatorControl="AppCertFinanceCalculatorControl",i.AppCertFinanceCalculatorSlider="AppCertFinanceCalculatorSlider",i.AppCertFinanceCalculatorReDesign="AppCertFinanceCalculatorReDesign"}(o=e.AppCertFinanceCalculator||(e.AppCertFinanceCalculator={})),function(e){e.Id="online-transaction-reverse-ip",e.ReverseIpTimeout="reverse-ip-timeout"}(r=e.OnlineTransactionReverseIp||(e.OnlineTransactionReverseIp={})),function(e){e.Id="otp-hyperdrive-phase",e.OtpPhase="otp-phase"}(s=e.OnlineTransactionPilotPhase||(e.OnlineTransactionPilotPhase={})),function(e){e.Id="138009_ga-modal_test",e.ModalType="ga-modal-type",e.ModalVisibilityDelay="ga-modal-visibility-delay"}(l=e.GAModalFeature||(e.GAModalFeature={})),function(e){e.Id="156581_accutrade",e.AccutradeEligibleList="accutrade-eligible-list"}(c=e.AccutradeFeature||(e.AccutradeFeature={})),function(e){e.Id="177279_3cell-google-autocomplete",e.Control="Control"}(d=e.GaAutoComplete||(e.GaAutoComplete={}))}(i||(i={}));var o,r=(()=>{return(e=r||(r={})).AppCertPaymentFreqMonthly="AppCertPaymentFrequencyMonthly",e.AppCertPaymentFreqBiweekly="AppCertPaymentFrequencyBiweekly",r;var e})(),s=(()=>{return(e=s||(s={})).Id="finance-calculator",e.FinanceCalculatorVariation="finance-calculator-variation",s;var e})(),l=(()=>{return(e=l||(l={})).Id="fullstory",e.IsFullStoryActive="is-active",l;var e})(),c=(()=>{return(e=c||(c={})).Id="147837-conversion-score",e.IsConversionModelActivated="activate-conversion-model",c;var e})(),d=(()=>{return(e=d||(d={})).Namespace="appCertPage",e.AppCertFinanceCalculatorVariation="app-cert-finance-calculator-variation",d;var e})();!function(e){let t;var n;let i,a;(n=t=e.VsfMultiPmtFreq||(e.VsfMultiPmtFreq={})).Id="flow-vsf-multi-pmt-freq",n.ShowBiweeklyPmtAppCert="show-biweekly-pmt-app-cert",function(e){e.Id="finance-calculator",e.LastLeadSubmissionTime="last-lead-submission-time"}(i=e.VsrFinanceCalculatorExp||(e.VsrFinanceCalculatorExp={})),function(e){e.Id="vehicle-search-results"}(a=e.VehicleSearchResults||(e.VehicleSearchResults={}))}(o||(o={}));var u=(()=>{return(e=u||(u={})).Id="vsr-view",e.Variant="vsr-view-variant",e.EnableVSRView="enable-vsr-view",u;var e})(),p=(()=>{return(e=p||(p={})).Id="172583_vsr-view_cache",e.ControlEnabled="controlEnabled",e.GridViewEnabled="gridViewEnabled",e.ListViewEnabled="listViewEnabled",p;var e})()},90672:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var i=(()=>{return(e=i||(i={})).PremiumCoverage="PremiumCoverage",e.AvailableCoverage="AvailableCoverage",i;var e})()},43740:function(e,t,n){"use strict";n.d(t,{CY:function(){return i},u8:function(){return a},gj:function(){return o}});var i=(()=>{return(e=i||(i={})).InternalLink="InternalLink",e.ExternalLink="ExternalLink",e.ExternalLinkInNewTab="ExternalLinkInNewTab",e.NoUrlLink="NoUrlLink",e.Button="Button",e.LinkStyledButton="LinkStyledButton",i;var e})(),a=(()=>{return(e=a||(a={})).ArrowUp="ArrowUp",e.ArrowDown="ArrowDown",e.ArrowRight="ArrowRight",e.ArrowLeft="ArrowLeft",a;var e})(),o=(()=>{return(e=o||(o={})).Default="default",e.Pressed="pressed",e.Loading="loading",e.Inactive="inactive",o;var e})()},11605:function(e,t,n){"use strict";n.d(t,{e:function(){return i}});var i=(()=>{return(e=i||(i={})).Blank="_blank",e.System="_system",e.Self="_self",i;var e})()},54266:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var i=(()=>{return(e=i||(i={}))[e.Directions=0]="Directions",e[e.Location=1]="Location",i;var e})()},80352:function(e,t,n){"use strict";n.d(t,{x4:function(){return i},OS:function(){return a},Eb:function(){return o},sE:function(){return r},Tk:function(){return s},hR:function(){return l},Pi:function(){return c},y4:function(){return d},zM:function(){return u},Tj:function(){return p},rU:function(){return h}});var i=(()=>{return(e=i||(i={}))[e.HomePage=0]="HomePage",e[e.GetApproved1=1]="GetApproved1",e[e.GetApproved2=2]="GetApproved2",e[e.ApprovalCertificate=3]="ApprovalCertificate",e[e.ScheduleAVisit=4]="ScheduleAVisit",e[e.VehicleSearchResults=5]="VehicleSearchResults",e[e.VehicleDetails=6]="VehicleDetails",e[e.VehicleLinkSwamp=7]="VehicleLinkSwamp",e[e.DealershipSearchResults=8]="DealershipSearchResults",e[e.DealershipDetails=9]="DealershipDetails",e[e.ContactUs=10]="ContactUs",e[e.CustomerService=11]="CustomerService",e[e.ErrorHard=12]="ErrorHard",e[e.Error404=13]="Error404",e[e.VFT=14]="VFT",e[e.CADisclaimer=15]="CADisclaimer",e[e.PrivacyPolicy=16]="PrivacyPolicy",e[e.TermsOfUse=17]="TermsOfUse",e[e.ScheduleAVisitConfirmation=18]="ScheduleAVisitConfirmation",e[e.AutocheckReport=19]="AutocheckReport",e[e.SiteMap=20]="SiteMap",e[e.PPC=21]="PPC",e[e.Affiliates=22]="Affiliates",e[e.ApplicationSurvey=23]="ApplicationSurvey",e[e.ApplicationSurveyConfirmation=24]="ApplicationSurveyConfirmation",e[e.PrerenderBlank=25]="PrerenderBlank",e[e.PrerenderVsr=26]="PrerenderVsr",e[e.Competitors=27]="Competitors",e[e.GetApprovedSteps=28]="GetApprovedSteps",e[e.DownPaymentComparison=29]="DownPaymentComparison",e[e.Reviews=30]="Reviews",e[e.CookiePolicy=31]="CookiePolicy",e[e.IncomeVerification=32]="IncomeVerification",e[e.IncomeVerificationClose=33]="IncomeVerificationClose",e[e.IncomeVerificationSuccess=34]="IncomeVerificationSuccess",e[e.IncomeVerificationOAuthRedirect=35]="IncomeVerificationOAuthRedirect",e[e.FinanceCalculator=36]="FinanceCalculator",e[e.TermsConfirmedSchedule=37]="TermsConfirmedSchedule",e[e.AncillaryRefinement=38]="AncillaryRefinement",e[e.Garage=39]="Garage",e[e.LinkAccount=40]="LinkAccount",e[e.LinkAccountClose=41]="LinkAccountClose",e[e.LinkAccountSuccess=42]="LinkAccountSuccess",e[e.LinkAccountOAuthRedirect=43]="LinkAccountOAuthRedirect",e[e.TradeIn=44]="TradeIn",e[e.VerifyInfoResubmit=45]="VerifyInfoResubmit",i;var e})(),a=(()=>{return(e=a||(a={}))[e.Specific=0]="Specific",e[e.NonSpecific=1]="NonSpecific",e[e.Context=2]="Context",e[e.None=3]="None",a;var e})(),o=(()=>{return(e=o||(o={}))[e.Default=0]="Default",e[e.Seo=1]="Seo",o;var e})(),r=(()=>{return(e=r||(r={}))[e.Default=0]="Default",e[e.AllDealerships=1]="AllDealerships",e[e.StateDealerships=2]="StateDealerships",e[e.RegionDealerships=3]="RegionDealerships",e[e.CityDealerships=4]="CityDealerships",r;var e})(),s=(()=>{return(e=s||(s={}))[e.Generic=0]="Generic",e[e.Vehicle=1]="Vehicle",e[e.Dealership=2]="Dealership",e[e.Approval=3]="Approval",s;var e})(),l=(()=>{return(e=l||(l={}))[e.Generic=0]="Generic",e[e.Vehicle=1]="Vehicle",e[e.Dealership=2]="Dealership",l;var e})(),c=(()=>{return(e=c||(c={}))[e.Generic=0]="Generic",e[e.Vehicle=1]="Vehicle",e[e.Dealership=2]="Dealership",c;var e})(),d=(()=>{return(e=d||(d={}))[e.SUAC=0]="SUAC",e[e.Trade=1]="Trade",d;var e})(),u=(()=>{return(e=u||(u={}))[e.TopicList=0]="TopicList",e[e.Topic=1]="Topic",e[e.Article=2]="Article",u;var e})(),p=(()=>{return(e=p||(p={}))[e.Default=0]="Default",e[e.Slim=1]="Slim",e[e.SlimLogoOnly=2]="SlimLogoOnly",p;var e})();function h(e,t){switch(e){case i.VehicleSearchResults:return o[t];case i.GetApproved1:case i.GetApproved2:return l[t];case i.DealershipSearchResults:return r[t];case i.ScheduleAVisit:case i.ScheduleAVisitConfirmation:case i.TermsConfirmedSchedule:return s[t];case i.PPC:return d[t];case i.VFT:return u[t];case i.VerifyInfoResubmit:return c[t];default:return null}}},51567:function(e,t,n){"use strict";n.d(t,{s:function(){return i}});var i=(()=>((i||(i={})).FAVORITES="favorites",i))()},98163:function(e,t,n){"use strict";n.d(t,{h:function(){return i}});var i=(()=>{return(e=i||(i={})).Regions="(regions)",e.Address="address",e.Establishment="establishment",e.Cities="(cities)",e.StreetAddress="street_address",e.StreetNumber="street_number",e.Premise="premise",i;var e})()},27039:function(e,t,n){"use strict";n.d(t,{rk:function(){return i},Pg:function(){return a},_s:function(){return o},ot:function(){return r}});var i=(()=>((i||(i={})).Mode="m",i))(),a=(()=>((a||(a={})).Browse="1",a))(),o=(()=>{return(e=o||(o={})).LeadId="leadId",e.TotalIncome="statedIncome",e.IncomeType="incomeType",e.ErrorState="errorState",e.FinanceOptionsKey="financeOptionsKey",e.MockScenario="mockScenario",e.CoBuyerIncome="coBuyerIncome",e.TradeInCarValue="tradeInCarValue",e.TradeInAmountOwed="tradeInAmountOwed",e.MinDownStockNumber="minDownStockNumber",e.AppCertState="appCertState",e.CertLeadInjectionId="certLeadInjectionId",e.RequiredMinCashDown="requiredMinCashDown",e.StatedCashDown="statedCashDown",o;var e})(),r=(()=>{return(e=r||(r={})).InitialLoad="initial-load",e.InsufficientIncome="insufficient-income",e.NotEnoughFinanced="not-enough-financed",e.SliderLoad="slider-load",r;var e})()},15942:function(e,t,n){"use strict";n.d(t,{ID:function(){return i},Wm:function(){return a},lp:function(){return o}});var i=(()=>{return(e=i||(i={})).ShowTerms="ShowTerms",e.TeaseTerms="TeaseTerms",e.ContactUs="ContactUs",e.Error="Error",e.Loading="Loading",i;var e})(),a=(()=>{return(e=a||(a={})).Started="Started",e.Completed="Completed",a;var e})(),o=(()=>{return(e=o||(o={})).Idle="Idle",e.Started="Started",e.SingleBatchComplete="SingleBatchComplete",e.AllBatchesComplete="AllBatchesComplete",e.AllBatchesFailed="AllBatchesFailed",e.PartialBatchesFailed="PartialBatchesFailed",e.PartialBatchFailed="PartialBatchFailed",o;var e})()},22479:function(e,t,n){"use strict";n.d(t,{kW:function(){return i},gc:function(){return a},n:function(){return o},I5:function(){return r},tx:function(){return s},UP:function(){return l},x3:function(){return c},C2:function(){return d},mX:function(){return u}});var i=(()=>{return(e=i||(i={}))[e.Default=0]="Default",e[e.City=1]="City",e[e.Region=2]="Region",e[e.Nationwide=3]="Nationwide",e[e.Inventory=4]="Inventory",i;var e})(),a=(()=>{return(e=a||(a={}))[e.FromStore=0]="FromStore",e[e.NoResults=1]="NoResults",e[e.Refresh=2]="Refresh",e[e.Layaway=3]="Layaway",e[e.Sold=4]="Sold",e[e.Available=5]="Available",a;var e})(),o=(()=>{return(e=o||(o={}))[e.Radius025=0]="Radius025",e[e.Radius050=1]="Radius050",e[e.Radius075=2]="Radius075",e[e.Radius100=3]="Radius100",e[e.Radius250=4]="Radius250",e[e.NearestDealership=5]="NearestDealership",e[e.NearestCity=6]="NearestCity",e[e.SelectedDealership=7]="SelectedDealership",e[e.National=8]="National",o;var e})(),r=(()=>{return(e=r||(r={}))[e.Full=0]="Full",e[e.Medium=1]="Medium",e[e.Small=2]="Small",e[e.Thumb=3]="Thumb",r;var e})(),s=(()=>{return(e=s||(s={}))[e.None=0]="None",e[e.NoResults=1]="NoResults",e[e.NearestDealership=2]="NearestDealership",e[e.Layaway=3]="Layaway",s;var e})(),l=(()=>{return(e=l||(l={}))[e.FiltersChanged=0]="FiltersChanged",e[e.SortChanged=1]="SortChanged",e[e.LocationChanged=2]="LocationChanged",e[e.SeoLocationTypeChanged=3]="SeoLocationTypeChanged",e[e.InitialPull=4]="InitialPull",l;var e})(),c=(()=>{return(e=c||(c={})).Distance="Distance",e.MakeModel="MakeModel",e.BodyType="BodyType",e.Color="Color",e.DriveTrain="Drivetrain",e.Engine="Engine",e.Features="Features",e.FuelType="FuelType",e.History="History",e.Mileage="Mileage",e.MPG="MPG",e.Payments="Payments",e.Price="Price",e.Year="Year",e.Reset="Reset",c;var e})(),d=(()=>{return(e=d||(d={})).CONTROL="Control_VSR_View",e.VARIATION_1="List_VSR_View_1",e.VARIATION_2="Grid_VSR_View_2",d;var e})(),u=(()=>{return(e=u||(u={})).Control_VSR_View="",e.List_VSR_View_1="list",e.Grid_VSR_View_2="grid",u;var e})()},18246:function(e,t,n){"use strict";n.d(t,{u:function(){return c}});var i=n(97582),a=n(30277),o=n(59480),r=n(18891),s=n(28645),l=n(37716);class c{constructor(e){this._store=e}appCertReady(e){this._store.dispatch(new o.V0(e))}}c.\u0275fac=function(e){return new(e||c)(l.LFG(a.k))},c.\u0275prov=l.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"}),(0,i.gn)([(0,s.Ph)(e=>e.app.lead.appCertReady),(0,i.w6)("design:type",r.y)],c.prototype,"appCertReady$",void 0)},2916:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});var i=(()=>{return(e=i||(i={})).ViewContent="ViewContent",e.Search="Search",e.AddToCart="AddToCart",e.AddToWishlist="AddToWishlist",e.InitiateCheckout="InitiateCheckout",e.AddPaymentInfo="AddPaymentInfo",e.Purchase="Purchase",e.Lead="Lead",e.CompleteRegistration="CompleteRegistration",i;var e})()},98529:function(e,t,n){"use strict";n.d(t,{l4:function(){return i},B0:function(){return a},zh:function(){return o}});var i=(()=>{return(e=i||(i={})).LEFT="swipeleft",e.RIGHT="swiperight",e.UP="panup",e.DOWN="pandown",e.TAP="tap",e.CLICK="click",i;var e})();class a{constructor(e=null,t=null,n=null,i=null,a=!1){this.name=e,this.imageUrl=t,this.smallImageUrl=n,this.alt=i,this.visible=a}}class o{constructor(e){this.eventType=e,this.getEvent=()=>this.customEvent,"function"==typeof CustomEvent?this.customEvent=new CustomEvent(this.eventType,{detail:{message:`This is a hammerJs custom event for type: ${this.eventType}`,time:new Date},bubbles:!0,cancelable:!0}):(this.customEvent=document.createEvent("CustomEvent"),this.customEvent.initEvent(e,!0,!0))}setEvent(e){this.customEvent=e}}},9953:function(e,t,n){"use strict";n.d(t,{N:function(){return i},_:function(){return a}});var i=(()=>{return(e=i||(i={})).iOS="iOS",e.Android="Android",e.Mobile="Mobile",e.Desktop="Desktop",i;var e})(),a=(()=>{return(e=a||(a={})).iOS="ios",e.Android="android",a;var e})()},20618:function(e,t,n){"use strict";n.d(t,{e:function(){return i},R:function(){return a}});var i=(()=>{return(e=i||(i={}))[e.Error=0]="Error",e[e.NotEnoughFinanced=1]="NotEnoughFinanced",e[e.Valid=2]="Valid",e[e.MissingIncome=3]="MissingIncome",i;var e})(),a=(()=>{return(e=a||(a={})).Assumed="Assumed",e.Stated="Stated",e.Verified="Verified",a;var e})()},60777:function(e,t,n){"use strict";n.d(t,{x:function(){return l}});var i=n(42467),a=n(87500),o=n(20483);const r=["tx"];var s=n(26055);class l{constructor(e,t){if(this._stickerPrice=null,this.DisplayKBB=!1,this.IsAvailable=!1,this.KBBVehicleID=null,this.KBBVehicleOptionIDs="",this.NormalizedExtColor="",this.NormalizedIntColor="",this.StatusDescription="",this.StockNumber=null,this.Vin="",this.OriginalStickerPrice=null,this.ReducedPrice=null,this.ReducedPriceForSort=null,this.IsPriceDropWebsiteEligible=!1,this.OdometerValue=null,this.PhotoVersionTypeID=null,this.CurrentLocation=null,this.LotAge=null,this.Make="",this.Model="",this.Doors=null,this.VehicleType="",this.BodyStyle="",this.BodyType="",this.Trim="",this.Year=null,this.FrontCrashDriverStars=null,this.FrontCrashOverallStars=null,this.FrontCrashPassengerStars=null,this.OverallStars=null,this.RolloverStars=null,this.SideBarrierDriverStars=null,this.SideBarrierOverallStars=null,this.SideBarrierPassengerStars=null,this.SideCrashOverallStars=null,this.SidePoleDriverStars=null,this.ExtBasicColorName="",this.ExtRGBRed=null,this.ExtRGBGreen=null,this.ExtRGBBlue=null,this.IntBasicColorName="",this.IntRGBRed=null,this.IntRGBGreen=null,this.IntRGBBlue=null,this.VehicleAttributesID=null,this.FuelTypeID=null,this.FuelDescription="",this.NormalizedFuelDescription="",this.DrivetrainTypeID=null,this.DriveTrainKey="",this.RearBrakeTypeID=null,this.RearBrakeDescription="",this.RadioTypeID=null,this.RadioDescription="",this.WheelTypeID=null,this.WheelDescription="",this.CDTypeID=null,this.CDDescription="",this.MPGCity=null,this.MPGHighway=null,this.TireWidth=null,this.TireAspectRatio=null,this.WheelSize=null,this.ManufacturerBasicWarrantyMonths=null,this.ManufacturerBasicWarrantyMiles=null,this.ManufacturerDriveTrainWarrantyMonths=null,this.ManufacturerDriveTrainWarrantyMiles=null,this.EngineCylinderCount=null,this.EngineDisplacement=null,this.EngineTorque=null,this.EngineHorsepower=null,this.TowingCapacity=null,this.MaxPayload=null,this.PassengerCapacity=null,this.FuelTankCapacity=null,this.CargoVolume=null,this.TruckBedLength=null,this.FrontHeadRoom=null,this.RearHeadRoom=null,this.FrontLegRoom=null,this.RearLegRoom=null,this.ZeroToSixtyTime=null,this.BrakingDistance=null,this.TurningCircle=null,this.EngineDescription="",this.TransmissionDescription="",this.EPAEmissionsStandard="",this.EPAPollutionScore=null,this.EPAGreenhouseGasScore=null,this.EPASmartWay="",this.AutomaticTransmission=!1,this.HasCDRadio=!1,this.HasDVD=!1,this.HasLeatherInterior=!1,this.HasPowerWindows=!1,this.HasPowerLocks=!1,this.HasSunRoof=!1,this.HasThirdRowSeat=!1,this.HasAC=!1,this.HasAntilockBrakeSystem=!1,this.HasNavigationSystem=!1,this.HasTowingHitch=!1,this.HasMP3Connection=!1,this.HasSatelliteRadio=!1,this.HasKeylessEntry=!1,this.HasPowerDriverSeat=!1,this.HasPowerPassengerSeat=!1,this.HasFoldDownRearSeat=!1,this.HasAntiTheftSystem=!1,this.HasRearAC=!1,this.HasPowerRearDoor=!1,this.HasPowerSideDoor=!1,this.HasHeatedSeats=!1,this.HasCruiseControl=!1,this.HasKeylessIgnition=!1,this.HasHandsFree=!1,this.HasBluetoothMusic=!1,this.HasRearViewCamera=!1,this.DriveType="",this.CurbWeight=null,this.NumberOfPedals=null,this.GroundClearance=null,this.Height=null,this.Width=null,this.Length=null,this.Wheelbase=null,this.FrontShoulderRoom=null,this.RearShoulderRoom=null,this.MaxHorsepower=null,this.MaxTorque=null,this.FuelQuality=null,this.RemoteStart=!1,this.AutoWindshieldWipers=!1,this.CooledSeats=!1,this.BlindSpotSensors=!1,this.LaneDepartureWarning=!1,this.HeadsUpDisplay=!1,this.Aux=!1,this.Usb=!1,this.ParkAssist=!1,this.HasPremiumSound=!1,this.HasTiltWheel=!1,this.HasHomeLink=!1,this.HasXenonLEDLights=!1,this.PageViews=null,this.DealershipName="",this.Latitude=null,this.Longitude=null,this.City="",this.StateAbbreviation="",this.RegionDesc="",this.GeoPoint=null,this.MakeModel="",this.MakeDisplayName="",this.DisplayName="",this.HasReducedPrice=!1,this.HighlightedFeatures=null,this.ComprehensiveFeatures=null,this.EngineCylinderCountNormalized="",this.VehicleTierKey="",this.VehicleSortID=null,this.VehicleTierDisplayName="",this.IsPriceCompetitive=!1,this.DesignatedMarketingArea="",this.ReducedPriceLabelDescription="",this.IsDTSelect=!1,this.AccidentCount=null,this.OwnerCount=null,this.KBBDealershipID=null,this.hasFrontCrashDrivingStars=!1,this.hasFrontCrashPassengerStars=!1,this.hasSideBarrierDriverStars=!1,this.hasSideBarrierPassengerStars=!1,this.hasRolloverStars=!1,this.hasOverallStars=!1,this.hasEpaPollutionScore=!1,this.hasEpaGreenhouseGasScore=!1,this.hasAnySafetyRatings=!1,this.isSold=!1,this.isLayaway=!1,null!=e){this._stickerPrice=e.StickerPrice,this.DisplayKBB=e.DisplayKBB&&e.IsDTSelect&&!function(e,t){return!!o.cmp.isEmpty(e)||o.cmp.isDefinedAndNotNull(t.find(t=>t.toLowerCase()===e.toLowerCase()))}(e.StateAbbreviation,r),this.IsAvailable=e.IsAvailable,this.KBBVehicleID=e.KBBVehicleID,this.KBBVehicleOptionIDs=e.KBBVehicleOptionIDs,this.NormalizedExtColor=e.NormalizedExtColor,this.NormalizedIntColor=e.NormalizedIntColor,this.StatusDescription=e.StatusDescription,this.StatusKey=e.StatusKey,this.StockNumber=+e.StockNumber,this.Vin=e.Vin,this.OriginalStickerPrice=e.OriginalStickerPrice,this.ReducedPrice=e.ReducedPrice,this.ReducedPriceForSort=e.ReducedPriceForSort,this.IsPriceDropWebsiteEligible=e.IsPriceDropWebsiteEligible,this.OriginalStickerPriceAsOfDate=new Date(e.OriginalStickerPriceAsOfDate),this.OdometerValue=e.OdometerValue,this.PhotoVersionTypeID=e.PhotoVersionTypeID,this.CurrentLocation=e.CurrentLocation,this.LotAge=e.LotAge,this.Make=e.Make,this.Model=e.Model,this.Doors=e.Doors,this.VehicleType=e.VehicleType,this.BodyStyle=e.BodyStyle,this.BodyType=e.BodyType,this.Trim=e.Trim,this.Year=e.Year,this.FrontCrashDriverStars=e.FrontCrashDriverStars,this.FrontCrashOverallStars=e.FrontCrashOverallStars,this.FrontCrashPassengerStars=e.FrontCrashPassengerStars,this.OverallStars=e.OverallStars,this.RolloverStars=e.RolloverStars,this.SideBarrierDriverStars=e.SideBarrierDriverStars,this.SideBarrierOverallStars=e.SideBarrierOverallStars,this.SideBarrierPassengerStars=e.SideBarrierPassengerStars,this.SideCrashOverallStars=e.SideCrashOverallStars,this.SidePoleDriverStars=e.SidePoleDriverStars,this.ExtBasicColorName=e.NormalizedExtColor,this.ExtRGBRed=e.ExtRGBRed,this.ExtRGBGreen=e.ExtRGBGreen,this.ExtRGBBlue=e.ExtRGBBlue,this.IntBasicColorName=e.NormalizedIntColor,this.IntRGBRed=e.IntRGBRed,this.IntRGBGreen=e.IntRGBGreen,this.IntRGBBlue=e.IntRGBBlue,this.VehicleAttributesID=e.VehicleAttributesID,this.FuelTypeID=e.FuelTypeID,this.FuelDescription=e.FuelDescription,this.NormalizedFuelDescription=e.NormalizedFuelDescription,this.DrivetrainTypeID=e.DrivetrainTypeID,this.DriveTrainKey=e.DriveTrainKey,this.RearBrakeTypeID=e.RearBrakeTypeID,this.RearBrakeDescription=e.RearBrakeDescription,this.RadioTypeID=e.RadioTypeID,this.RadioDescription=e.RadioDescription,this.WheelTypeID=e.WheelTypeID,this.WheelDescription=e.WheelDescription,this.CDTypeID=e.CDTypeID,this.CDDescription=e.CDDescription,this.MPGCity=e.MPGCity,this.MPGHighway=e.MPGHighway,this.TireWidth=e.TireWidth,this.TireAspectRatio=e.TireAspectRatio,this.WheelSize=e.WheelSize,this.ManufacturerBasicWarrantyMonths=e.ManufacturerBasicWarrantyMonths,this.ManufacturerBasicWarrantyMiles=e.ManufacturerBasicWarrantyMiles,this.ManufacturerDriveTrainWarrantyMonths=e.ManufacturerDriveTrainWarrantyMonths,this.ManufacturerDriveTrainWarrantyMiles=e.ManufacturerDriveTrainWarrantyMiles,this.EngineCylinderCount=e.EngineCylinderCount,this.EngineDisplacement=+e.EngineDisplacement,this.EngineTorque=e.EngineTorque,this.EngineHorsepower=e.EngineHorsepower,this.TowingCapacity=e.TowingCapacity,this.MaxPayload=e.MaxPayload,this.PassengerCapacity=e.PassengerCapacity,this.FuelTankCapacity=+e.FuelTankCapacity,this.CargoVolume=+e.CargoVolume,this.TruckBedLength=+e.TruckBedLength,this.FrontHeadRoom=+e.FrontHeadRoom,this.RearHeadRoom=+e.RearHeadRoom,this.FrontLegRoom=+e.FrontLegRoom,this.RearLegRoom=+e.RearLegRoom,this.ZeroToSixtyTime=+e.ZeroToSixtyTime,this.BrakingDistance=+e.BrakingDistance,this.TurningCircle=+e.TurningCircle,this.EngineDescription=e.EngineDescription,this.TransmissionDescription=e.TransmissionDescription,this.EPAEmissionsStandard=e.EPAEmissionsStandard,this.EPAPollutionScore=+e.EPAPollutionScore,this.EPAGreenhouseGasScore=+e.EPAGreenhouseGasScore,this.EPASmartWay=e.EPASmartWay,this.AutomaticTransmission=e.AutomaticTransmission,this.HasCDRadio=e.HasCDRadio,this.HasDVD=e.HasDVD,this.HasLeatherInterior=e.HasLeatherInterior,this.HasPowerWindows=e.HasPowerWindows,this.HasPowerLocks=e.HasPowerLocks,this.HasSunRoof=e.HasSunRoof,this.HasThirdRowSeat=e.HasThirdRowSeat,this.HasAC=e.HasAC,this.HasAntilockBrakeSystem=e.HasAntilockBrakeSystem,this.HasNavigationSystem=e.HasNavigationSystem,this.HasTowingHitch=e.HasTowingHitch,this.HasMP3Connection=e.HasMP3Connection,this.HasSatelliteRadio=e.HasSatelliteRadio,this.HasKeylessEntry=e.HasKeylessEntry,this.HasPowerDriverSeat=e.HasPowerDriverSeat,this.HasPowerPassengerSeat=e.HasPowerPassengerSeat,this.HasFoldDownRearSeat=e.HasFoldDownRearSeat,this.HasAntiTheftSystem=e.HasAntiTheftSystem,this.HasRearAC=e.HasRearAC,this.HasPowerRearDoor=e.HasPowerRearDoor,this.HasPowerSideDoor=e.HasPowerSideDoor,this.HasHeatedSeats=e.HasHeatedSeats,this.HasCruiseControl=e.HasCruiseControl,this.HasKeylessIgnition=e.HasKeylessIgnition,this.HasHandsFree=e.HasHandsFree,this.HasBluetoothMusic=e.HasBluetoothMusic,this.HasRearViewCamera=e.HasRearViewCamera,this.DriveType=e.DriveType,this.CurbWeight=e.CurbWeight,this.NumberOfPedals=e.NumberOfPedals,this.GroundClearance=+e.GroundClearance,this.Height=+e.Height,this.Width=+e.Width,this.Length=+e.Length,this.Wheelbase=+e.Wheelbase,this.FrontShoulderRoom=+e.FrontShoulderRoom,this.RearShoulderRoom=+e.RearShoulderRoom,this.MaxHorsepower=e.MaxHorsepower,this.MaxTorque=e.MaxTorque,this.FuelQuality=e.FuelQuality,this.RemoteStart=e.RemoteStart,this.AutoWindshieldWipers=e.AutoWindshieldWipers,this.CooledSeats=e.CooledSeats,this.BlindSpotSensors=e.BlindSpotSensors,this.LaneDepartureWarning=e.LaneDepartureWarning,this.HeadsUpDisplay=e.HeadsUpDisplay,this.Aux=e.Aux,this.Usb=e.Usb,this.ParkAssist=e.ParkAssist,this.HasPremiumSound=e.HasPremiumSound,this.HasTiltWheel=e.HasTiltWheel,this.HasHomeLink=e.HasHomeLink,this.HasXenonLEDLights=e.HasXenonLEDLights,this.PageViews=e.PageViews,this.DealershipName=e.DealershipName,this.Latitude=+e.Latitude,this.Longitude=+e.Longitude,this.City=e.City,this.StateAbbreviation=e.StateAbbreviation,this.RegionDesc=e.RegionDesc,this.GeoPoint=e.GeoPoint,this.MakeModel=e.MakeModel,this.MakeDisplayName=e.MakeDisplayName,this.DisplayName=e.DisplayName,this.HasReducedPrice=e.HasReducedPrice,this.EngineCylinderCountNormalized=e.EngineCylinderCountNormalized,this.VehicleTierKey=e.VehicleTierKey,this.VehicleSortID=e.VehicleSortID,this.VehicleTierDisplayName=e.VehicleTierDisplayName,this.IsPriceCompetitive=e.IsPriceCompetitive,this.DesignatedMarketingArea=e.DesignatedMarketingArea,this.ReducedPriceLabelDescription=e.ReducedPriceLabelDescription,this.IsDTSelect=e.IsDTSelect,this.OwnerCount=e.OwnerCount,this.AccidentCount=e.AccidentCount,this.KBBDealershipID=e.KBBDealershipID;let n=i.kg(e);this.ExperimentValue=e.ExperimentValue,this.HighlightedFeatures=n.highlighted,this.ComprehensiveFeatures=n.comprehensive,this.SizeCategory=e.SizeCategory,this.hasFrontCrashDrivingStars=i.ot(e),this.hasFrontCrashPassengerStars=i.OV(e),this.hasSideBarrierDriverStars=i.ao(e),this.hasSideBarrierPassengerStars=i.Ec(e),this.hasRolloverStars=i.PL(e),this.hasOverallStars=i.lm(e),this.hasEpaPollutionScore=i.Et(e),this.hasEpaGreenhouseGasScore=i.cD(e),this.hasAnySafetyRatings=i.Jr(e),this.isSold=e.StatusKey===a.zB.Sold,this.isLayaway=e.StatusKey===a.zB.Layaway,this.PrimaryVehiclePhotoUrls=t.deserializePrimaryPhoto(e.PrimaryPhotoJson).map(n=>t.buildPhotoUrls(n,e.StockNumber))[0],this.VehiclePhotoUrls=t.deserializeVehiclePhotos(e.VehiclePhotoJson).map(n=>t.buildPhotoUrls(n,e.StockNumber)),this.Series=e.Series,this.SaveCount=e.SaveCount}}get StickerPrice(){return s.e.getAdjustedStickerPrice(this._stickerPrice)}}},52896:function(e,t,n){"use strict";var i=n(39075),a=(n(11524),n(37716)),o=n(2694),r=n(38583),s=n(91841),l=n(37938);let c=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[l.m,r.ez]]}),e})();var d=n(80352),u=n(79765),p=n(25917),h=n(20483),m=n(45435),g=n(19773),f=n(58923);const y={content:{"find-dealership":{"find-label":"Oops! There are no dealerships located in the immediate area.","find-button":"Find Dealerships Near Me"},"dealership-about":{title:"DriveTime Used Car Dealerships"}}},_={seo:{title:"Used Car Auto Loans at DriveTime","og:title":"Used Car Auto Loans at DriveTime",description:"Getting approved for Auto Financing at DriveTime is simple. Apply today and in 2 simple steps, you\u2019ll know if you're approved for financing and see your down payment options.","og:description":"Getting approved for Auto Financing at DriveTime is simple. Apply today and in 2 simple steps, you\u2019ll know if you're approved for financing and see your down payment options."}},A={seo:{title:"Apply for an Auto Loan Online at DriveTime",description:"Finish your approval for a car loan at DriveTime and see your financing options.","og:description":"Finish your approval for a car loan at DriveTime and see your financing options."}},v=[{path:"",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundledDtmMainPageModule),data:{name:d.x4.HomePage,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"DriveTime | Shop Used Cars & Financing Online",description:"Used Car Shopping & Simple Auto Financing solutions start here. Choose from %VAR_NATIONAL_VEHICLES_AVAIL% vehicles and Apply Online now!","og:description":"Used Car Shopping & Simple Auto Financing solutions start here. Choose from %VAR_NATIONAL_VEHICLES_AVAIL% vehicles and Apply Online now!","og:type":"website","og:title":"DriveTime | Shop Used Cars & Financing Online","og:image":"https://www.drivetime.com/content/images/homepage-laptop-2017.png"}},canForceReload:!0}},{path:"prerender-blank",pathMatch:"full",loadChildren:()=>Promise.all([n.e(592),n.e(498)]).then(n.bind(n,66498)).then(e=>e.BundledDtmPrerenderBlankPageModule),data:{preload:!1,hideHeader:!0,hideFooter:!0,name:d.x4.PrerenderBlank,locateStrategy:d.OS.None}},{path:"prerender-vsr",pathMatch:"full",loadChildren:()=>Promise.all([n.e(592),n.e(498)]).then(n.bind(n,66498)).then(e=>e.BundledDtmPrerenderVsrPageModule),data:{preload:!1,name:d.x4.PrerenderVsr,locateStrategy:d.OS.None,pageContent:{seo:{title:"Used Car Search | DriveTime","og:title":"Used Car Search | DriveTime",description:"%VAR_NATIONAL_VEHICLES_AVAIL% Used Cars For Sale Nationwide. Find a great used vehicle & Get Approved for Financing Online!","og:description":"%VAR_NATIONAL_VEHICLES_AVAIL% Used Cars For Sale Nationwide. Find a great used vehicle & Get Approved for Financing Online!"}}}},{path:"used-cars/saved-cars",pathMatch:"full",loadChildren:()=>Promise.all([n.e(221),n.e(346),n.e(562)]).then(n.bind(n,91562)).then(e=>e.DtmGarageLandingPageModule),data:{name:d.x4.Garage,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"Your Saved Cars | DriveTime Car Sales",description:"Shop from %VehicleCount% used cars, trucks and SUVs, save your favorites to your garage and get your personalized terms today!",robots:"noindex"}}}},{path:"vft",pathMatch:"prefix",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(102),n.e(437)]).then(n.bind(n,57437)).then(e=>e.BundledDtmVftModule),data:{name:d.x4.VFT,subname:d.zM.TopicList,locateStrategy:d.OS.Context,pageContent:{seo:{title:"Car & Subprime Financing Article & News Archive | DriveTime",description:"Find articles with information about used car buying and auto loans.","og:description":"Find articles with information about used car buying and auto loans."}},canForceReload:!0}},{path:"vft/:topic",pathMatch:"prefix",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(102),n.e(437)]).then(n.bind(n,57437)).then(e=>e.BundledDtmVftModule),data:{name:d.x4.VFT,subname:d.zM.Topic,locateStrategy:d.OS.Context,pageContent:{seo:{title:"%VFT_TITLE%",description:"Find articles with information about used car buying and auto loans.","og:description":"Find articles with information about used car buying and auto loans."},contentNeedsPageContext:!0},canForceReload:!0}},{path:"articles/:region/:state/:topic",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(102),n.e(437)]).then(n.bind(n,57437)).then(e=>e.BundledDtmVftArticleModule),data:{name:d.x4.VFT,subname:d.zM.Article,locateStrategy:d.OS.Context,pageContent:{seo:{title:"%VFT_TITLE%",description:"Find articles with information about used car buying and auto loans in %VAR_REGION%.","og:description":"Find articles with information about used car buying and auto loans in %VAR_REGION%."},contentNeedsPageContext:!0},canForceReload:!0}},{path:"auto-financing",pathMatch:"full",loadChildren:()=>Promise.all([n.e(592),n.e(153)]).then(n.bind(n,18724)).then(e=>e.BundledDtmGetApprovedStepOnePageModule),data:{name:d.x4.GetApproved1,subname:d.hR.Generic,locateStrategy:d.OS.NonSpecific,pageContent:Object.assign({},_),canForceReload:!0}},{path:":dealershipName/:city/:dealershipNumber/auto-financing",pathMatch:"full",loadChildren:()=>Promise.all([n.e(592),n.e(153)]).then(n.bind(n,18724)).then(e=>e.BundledDtmGetApprovedStepOnePageModule),data:{name:d.x4.GetApproved1,subname:d.hR.Dealership,LocateStrategy:d.OS.NonSpecific,pageContent:Object.assign({},_),canForceReload:!0}},{path:":year/:make/:model/:dealershipName/:stockNumber/:dealershipNumber/auto-financing",pathMatch:"full",loadChildren:()=>Promise.all([n.e(592),n.e(153)]).then(n.bind(n,18724)).then(e=>e.BundledDtmGetApprovedStepOnePageModule),data:{name:d.x4.GetApproved1,subname:d.hR.Vehicle,LocateStrategy:d.OS.NonSpecific,pageContent:Object.assign({},h.ObjectUtils.immutableDeepMerge(Object.assign({},_),{seo:{robot:"noindex, follow"}})),preventPageViewType:[f.Xu.DMP],canForceReload:!0}},{path:"auto-financing/step2",pathMatch:"full",loadChildren:()=>Promise.all([n.e(592),n.e(153)]).then(n.bind(n,18724)).then(e=>e.BundledDtmGetApprovedStepTwoPageModule),data:{name:d.x4.GetApproved2,subname:d.hR.Generic,locateStrategy:d.OS.NonSpecific,pageContent:Object.assign({},A),canForceReload:!1}},{path:":dealershipName/:city/:dealershipNumber/auto-financing/step2",pathMatch:"full",loadChildren:()=>Promise.all([n.e(592),n.e(153)]).then(n.bind(n,18724)).then(e=>e.BundledDtmGetApprovedStepTwoPageModule),data:{name:d.x4.GetApproved2,subname:d.hR.Dealership,locateStrategy:d.OS.NonSpecific,pageContent:Object.assign({},A),canForceReload:!1}},{path:":year/:make/:model/:dealershipName/:stockNumber/:dealershipNumber/auto-financing/step2",pathMatch:"full",loadChildren:()=>Promise.all([n.e(592),n.e(153)]).then(n.bind(n,18724)).then(e=>e.BundledDtmGetApprovedStepTwoPageModule),data:{name:d.x4.GetApproved2,subname:d.hR.Vehicle,locateStrategy:d.OS.NonSpecific,pageContent:Object.assign({},h.ObjectUtils.immutableDeepMerge(Object.assign({},A),{seo:{robot:"noindex, follow"}})),canForceReload:!1}},{path:"auto-financing/yourapproval",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(590),n.e(129),n.e(289),n.e(592),n.e(854)]).then(n.bind(n,83854)).then(e=>e.DtmApprovalPageModule),data:{name:d.x4.ApprovalCertificate,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"Your Auto Loan Approval | DriveTime",description:"Your real, personalized auto loan approval information.","og:description":"Your real, personalized auto loan approval information."}},preventPageViewType:[f.Xu.GoogleAnalytics,f.Xu.AppInsights,f.Xu.DMP],canForceReload:!1}},{path:"auto-financing/verification",pathMatch:"full",loadChildren:()=>Promise.all([n.e(592),n.e(31)]).then(n.bind(n,74031)).then(e=>e.DtmVirPageModule),data:{name:d.x4.VerifyInfoResubmit,subname:d.Pi.Generic,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"Personal Information Verification | DriveTime",description:"Verify your information and then start shopping from thousands of cars at DriveTime!",robots:"noindex"}},canForceReload:!1}},{path:":dealershipName/:city/:dealershipNumber/auto-financing/verification",pathMatch:"full",loadChildren:()=>Promise.all([n.e(592),n.e(31)]).then(n.bind(n,74031)).then(e=>e.DtmVirPageModule),data:{name:d.x4.VerifyInfoResubmit,subname:d.Pi.Dealership,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"Personal Information Verification | DriveTime",description:"Verify your information and then start shopping from thousands of cars at DriveTime!",robots:"noindex"}},canForceReload:!1}},{path:":year/:make/:model/:dealershipName/:stockNumber/:dealershipNumber/auto-financing/verification",pathMatch:"full",loadChildren:()=>Promise.all([n.e(592),n.e(31)]).then(n.bind(n,74031)).then(e=>e.DtmVirPageModule),data:{name:d.x4.VerifyInfoResubmit,subname:d.Pi.Vehicle,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"Personal Information Verification | DriveTime",description:"Verify your information and then start shopping from thousands of cars at DriveTime!",robots:"noindex"}},canForceReload:!1}},{path:"",pathMatch:"prefix",loadChildren:()=>Promise.all([n.e(42),n.e(633),n.e(561),n.e(592),n.e(757)]).then(n.bind(n,12757)).then(e=>e.BundledDtmScheduleAVisitModule)},{path:"schedule-a-visit/:dealershipNumber/schedule/confirmation",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(633),n.e(561),n.e(592),n.e(757)]).then(n.bind(n,12757)).then(e=>e.BundledDtmScheduleAVisitConfirmationModule),data:{name:d.x4.ScheduleAVisitConfirmation,subname:d.Tk.Generic,locateStrategy:d.OS.Specific,canForceReload:!1}},{path:":city/:dealershipName/:dealershipNumber/schedule/confirmation",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(633),n.e(561),n.e(592),n.e(757)]).then(n.bind(n,12757)).then(e=>e.BundledDtmScheduleAVisitConfirmationModule),data:{name:d.x4.ScheduleAVisitConfirmation,subname:d.Tk.Dealership,locateStrategy:d.OS.Specific,canForceReload:!1}},{path:":year/:make/:model/:city/:stockNumber/:dealershipNumber/schedule/confirmation",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(633),n.e(561),n.e(592),n.e(757)]).then(n.bind(n,12757)).then(e=>e.BundledDtmScheduleAVisitConfirmationModule),data:{name:d.x4.ScheduleAVisitConfirmation,subname:d.Tk.Vehicle,locateStrategy:d.OS.Specific,canForceReload:!1}},{path:"auto-financing/yourapproval/:dealershipNumber/schedule/confirmation",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(633),n.e(561),n.e(592),n.e(757)]).then(n.bind(n,12757)).then(e=>e.BundledDtmScheduleAVisitConfirmationModule),data:{name:d.x4.ScheduleAVisitConfirmation,subname:d.Tk.Approval,locateStrategy:d.OS.Specific,pageContent:{seo:{title:"Visit Confirmation Details | DriveTime",description:"Thank you for scheduling a visit at DriveTime. A representative of DriveTime will be in contact with you shortly.","og:description":"Thank you for scheduling a visit at DriveTime. A representative of DriveTime will be in contact with you shortly."}},canForceReload:!1}},{path:"terms-confirmed-schedule/:year/:make/:model/:city/:stockNumber/:dealershipNumber",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(633),n.e(561),n.e(592),n.e(242)]).then(n.bind(n,98242)).then(e=>e.DtmTermsConfirmedScheduleModule),data:{name:d.x4.TermsConfirmedSchedule,subname:d.Tk.Vehicle,locateStrategy:d.OS.Specific,canForceReload:!1,pageContent:{seo:{title:"Terms Confirmed | Schedule a Visit at Dealership",description:"Schedule a visit online to take a further look at your personalized terms! When you schedule a visit online, our no-pressure staff in %DEALER_CITY% will help you understand your terms and get you into the right vehicle!","og:description":"Schedule a visit online to take a further look at your personalized terms! When you schedule a visit online, our no-pressure staff in %DEALER_CITY% will help you understand your terms and get you into the right vehicle!"}}}},{path:"",pathMatch:"prefix",loadChildren:()=>Promise.all([n.e(590),n.e(221),n.e(472),n.e(14),n.e(346),n.e(97),n.e(592),n.e(84)]).then(n.bind(n,48084)).then(e=>e.DtmVehicleSearchResultsPageModule)},{path:":city/:state/car-dealers/:dealershipName/:dealershipNumber",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(633),n.e(129),n.e(97),n.e(592),n.e(79)]).then(n.bind(n,14079)).then(e=>e.BundledDtmDealershipDetailsPageModule),data:{name:d.x4.DealershipDetails,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"Used Car Dealer In %DEALER_CITY%, %STATE_ABBR% | %DEALER_ZIP% | DriveTime","og:title":"Used Car Dealer In %DEALER_CITY%, %STATE_ABBR% | %DEALER_ZIP% | DriveTime",description:"Our %DEALER_CITY% dealership has a wide selection of used cars, trucks and SUVS. Get hours, directions and schedule a visit to your nearest dealership to find your next used car!","og:description":"Our %DEALER_CITY% dealership has a wide selection of used cars, trucks and SUVS. Get hours, directions and schedule a visit to your nearest dealership to find your next used car!","og:type":"business.business","og:image":"%VAR_DEALER_IMAGE_URL%","og:image:width":"259","og:image:height":"194","business:contact_data:street_address":"%DEALER_ADDRESS%","business:contact_data:locality":"en_US","business:contact_data:postal_code":"%DEALER_ZIP%","business:contact_data:country_name":"United States"},contentNeedsPageContext:!0},preventPageViewType:[f.Xu.DMP],canForceReload:!0}},{path:"used-car-dealers",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(633),n.e(129),n.e(97),n.e(592),n.e(79)]).then(n.bind(n,14079)).then(e=>e.BundledDtmDealershipSearchResultsPageModule),data:{name:d.x4.DealershipSearchResults,subname:d.sE.Default,locateStrategy:d.OS.Specific,pageContent:Object.assign({},h.ObjectUtils.immutableDeepMerge(Object.assign({},y),{seo:{title:"Used Car Lots & Dealerships near You | DriveTime","og:title":"Used Car Lots & Dealerships near You | DriveTime",description:"Looking for a Used Car Dealership near you? View local car lot locations, current vehicle inventory & prices.","og:description":"Looking for a Used Car Dealership near you? View local car lot locations, current vehicle inventory & prices.","place:location:latitude":"%DEALER_LOCATION_LAT%","place:location:longitude":"%DEALER_LOCATION_LNG%"},content:{"dealership-about":{"about-part1":"\n Part of the reason people choose DriveTime is because we like to keep things simple like shopping\n for cars from the convenience of your phone, easy access to the information you need and auto financing options.\n ","about-part2":"\n <p>\n DriveTime doesn\u2019t rely on misinformation and distraction to get you into a used vehicle.\n We prefer complete transparency. We'll show you options for everything from auto financing to\n used vehicles that match your budget.\n Whether you\u2019re looking for a used car, van, truck or SUV we're confident that you will find it at DriveTime,\n because every dealership is specially supplied with the vehicles that fit the wants and needs of our customers.\n </p>\n <p>\n Schedule a visit at your nearest DriveTime dealership, and experience the thrill of getting\n behind the wheel of your next used car.\n The used cars we sell arrive at our car lots ONLY after they have been cleaned and inspected**. Every DriveTime vehicle\n comes with a free 30 Day / 1,500 mile limited warranty, and we accept returns within 5 days of purchase.\n </p>\n <p>\n Make DriveTime your first choice when shopping around for a used car. Shop online and schedule an\n in store visit at a dealership near you.\n We have a large selection of used cars, trucks, SUVs and vans with great auto financing options.\n Click your location below to find your nearest dealership and begin your used car search today.\n </p>\n "}}})),preventPageViewType:[f.Xu.DMP],canForceReload:!0}},{path:":city/:state/car-dealers",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(633),n.e(129),n.e(97),n.e(592),n.e(79)]).then(n.bind(n,14079)).then(e=>e.BundledDtmDealershipSearchResultsPageModule),data:{name:d.x4.DealershipSearchResults,subname:d.sE.CityDealerships,locateStrategy:d.OS.Specific,canSetContextLocation:!0,pageContent:Object.assign(Object.assign({},h.ObjectUtils.immutableDeepMerge(Object.assign({},y),{seo:{title:"DriveTime %VAR_CITY_NAME% Used Car Dealerships",description:"Find a used car lot in %VAR_CITY_NAME%, shop %VAR_CITY_VEHICLE_COUNT% used cars in %VAR_CITY_NAME% online and get approved for auto financing.","og:description":"Find a used car lot in %VAR_CITY_NAME%, shop %VAR_CITY_VEHICLE_COUNT% used cars in %VAR_CITY_NAME% online and get approved for auto financing."},content:{"find-dealership":{"find-label":"We are only showing you dealerships in %VAR_CITY_NAME%.","find-button":"Search This Area"},"dealership-about":{title:" DriveTime %VAR_CITY_NAME% Used Car Lots","about-part1":"\n With so many %VAR_CITY_NAME% used car dealerships to choose from, how do you find the right\n one for you? For many shoppers, the search starts online.\n Enter your location on DriveTime.com and you\u2019ll find your nearest dealership and get acquainted\n with your %VAR_CITY_NAME% DriveTime team.\n Maybe you're looking for the %VAR_CITY_NAME% used car dealership with the largest vehicle selection.\n DriveTime %VAR_CITY_NAME% has over 11,000 used vehicles for sale ranging from cars and vans, to trucks and SUV's.\n ","about-part2":"\n <p>\n Many used car shoppers are skeptical when it comes to vehicle history, and that\u2019s understandable, which is why\n we provide a complimentary AutoCheck<sup>®</sup> History Report on any of our vehicles.\n There are no secrets at DriveTime %VAR_CITY_NAME%.\n We will answer any questions you have about the vehicle\u2019s title and history. Don\u2019t take our word for it.\n Get under the hood. Fire up the engine.\n Kick the tires! Every DriveTime vehicle is reconditioned** at one of our inspection centers\n before it's delivered to the dealership.\n That\u2019s our guarantee, but feel free to give our used cars a look for yourself. But having one of the\n largest used vehicle selections\n in %VAR_CITY_NAME% doesn't necessarily make us the best used car dealership DriveTime's dealership experience does!\n </p>\n <p>\n We've been revolutionizing the way people buy used cars since 2002, and in that time we've learned\n that confidence is key to our customers.\n Our dealership sales staff are honest, patient and low pressure. We do everything we\n can to answer your questions and address your\n concerns so you can make an educated decision about buying a used car from our dealership.\n As an additional confidence boost,\n we include a free 30 day / 1,500 mile limited warranty with every DriveTime vehicle, and we\n accept returns within 5 days of purchase,\n no questions asked. Is the choice clear now? Schedule a visit at DriveTime %VAR_CITY_NAME% today.\n </p>\n "}}})),{contentNeedsPageContext:!0}),preventPageViewType:[f.Xu.DMP],canForceReload:!0}},{path:":state/car-dealers",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(633),n.e(129),n.e(97),n.e(592),n.e(79)]).then(n.bind(n,14079)).then(e=>e.BundledDtmDealershipSearchResultsPageModule),data:{name:d.x4.DealershipSearchResults,subname:d.sE.StateDealerships,locateStrategy:d.OS.Specific,canSetContextLocation:!0,pageContent:Object.assign(Object.assign({},h.ObjectUtils.immutableDeepMerge(Object.assign({},y),{seo:{title:"Used Car Dealers In %VAR_STATE_FULL_NAME% | DriveTime",description:"Our %VAR_STATE_FULL_NAME% used car dealer has vehicles priced from $8k to $30k - Online Down Payment - Free Vehicle History Reports - 5 Day Return - Limited 30 Day Warranty","og:description":"Our %VAR_STATE_FULL_NAME% used car dealer has vehicles priced from $8k to $30k - Online Down Payment - Free Vehicle History Reports - 5 Day Return - Limited 30 Day Warranty"},content:{"find-dealership":{"find-label":"We are only showing you dealerships in %VAR_STATE_FULL_NAME%.","find-button":"Search This Area"},"dealership-about":{title:"Find a Dealership in %VAR_STATE_FULL_NAME%","about-part1":"\n With so many %VAR_STATE_FULL_NAME% used car dealerships to choose from,\n why should you choose DriveTime? Convenience.\n At DriveTime, we give you everything you need to start your used car shopping experience.\n You can explore our full inventory of %VAR_NATIONWIDE_VEHICLE_COUNT% used vehicles online.\n You can compare pricing and see your down payment before ever visiting a dealership.\n Once you\u2019re ready to take a test drive, simply search your location and schedule a visit at your nearest dealership.\n ","about-part2":"\n <p>\n Options. Maybe you're looking for the %VAR_STATE_FULL_NAME% used car dealership with the largest vehicle selection.\n DriveTime has %VAR_STATE_DEALERSHIP_COUNT% dealerships in %VAR_STATE_FULL_NAME%\n with %VAR_STATE_VEHICLE_COUNT% used vehicles for sale.\n Schedule a visit to test drive our wide selection of used cars, vans, trucks and SUV's.\n Some shoppers are hesitant about buying a used car because they\u2019re concerned about the vehicle\u2019s history,\n and that\u2019s understandable, which is why we\n provide a complimentary AutoCheck<sup>®</sup> History Report on all of our vehicles.\n There are no secrets at DriveTime %VAR_STATE_FULL_NAME% dealerships.\n </p>\n <p>\n Customer service. DriveTime %VAR_STATE_FULL_NAME%\u2019s dealership experience is what sets us apart from the rest.\n We've been revolutionizing the way people buy used cars since 2002, and in that time\n we've learned that confidence is key to our customers.\n At DriveTime %VAR_STATE_FULL_NAME%, we won\u2019t keep you in the dark or pressure you into making a deal.\n Our sales staff are honest and patient. We do everything we can to answer your questions and address your concerns so\n you can make an educated decision about buying a used car from us.\n As an additional confidence boost, we include a free 30 day / 1,500 mile limited warranty with every DriveTime vehicle,\n and we accept returns within 5 days of purchase.\n </p>\n <p>\n Is the choice clear now? Schedule a visit at a %VAR_STATE_FULL_NAME% DriveTime near you,\n and begin your used car search today.\n </p>\n "}}})),{contentNeedsPageContext:!0}),preventPageViewType:[f.Xu.DMP],canForceReload:!0}},{path:"used/:region/:state/car-dealers",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(633),n.e(129),n.e(97),n.e(592),n.e(79)]).then(n.bind(n,14079)).then(e=>e.BundledDtmDealershipSearchResultsPageModule),data:{name:d.x4.DealershipSearchResults,subname:d.sE.RegionDealerships,locateStrategy:d.OS.Specific,canSetContextLocation:!0,pageContent:Object.assign(Object.assign({},h.ObjectUtils.immutableDeepMerge(Object.assign({},y),{seo:{title:"DriveTime Dealerships Near %VAR_REGION_NAME% | DriveTime",description:"Our %VAR_REGION_NAME% used car dealer has vehicles priced from $8k to $30k - Online Down Payment - Free Vehicle History Reports - 5 Day Return - Limited 30 Day Warranty","og:description":"Our %VAR_REGION_NAME% used car dealer has vehicles priced from $8k to $30k - Online Down Payment - Free Vehicle History Reports - 5 Day Return - Limited 30 Day Warranty"},content:{"find-dealership":{"find-label":"We are only showing you dealerships in %VAR_REGION_NAME%.","find-button":"Search This Area"},"dealership-about":{title:"Find a dealership in %VAR_REGION_NAME%","about-part1":"\n With so many %VAR_REGION_NAME% used car dealerships to choose from, how do you find the right one for you?\n For many shoppers, the search starts online.\n Enter your location on DriveTime.com and you\u2019ll not only find the dealership nearest you, but you can become\n acquainted with your %VAR_REGION_NAME% DriveTime team and read customer reviews.\n Maybe you're looking for the %VAR_REGION_NAME% used car dealership with the largest vehicle selection.\n DriveTime %VAR_REGION_NAME% has %VAR_REGION_VEHICLE_COUNT% used vehicles for sale ranging from\n cars and vans, to trucks and SUV's.\n ","about-part2":"\n <p>\n Many used car shoppers are skeptical when it comes to vehicle history, and that\u2019s\n understandable, which is why we provide a complimentary\n AutoCheck<sup>®</sup> History Report on any of our vehicles.\n There are no secrets at DriveTime %VAR_REGION_NAME%. We will answer any questions you\n have about the vehicle\u2019s title and history.\n Don\u2019t take our word for it. Get under the hood. Fire up the engine. Kick the tires!\n Every DriveTime vehicle is reconditioned** at one of our inspection centers before it's delivered to the dealership.\n That\u2019s our guarantee, but feel free to give our used cars a look for yourself.\n But having one of the largest used vehicle selections in %VAR_REGION_NAME% doesn't necessarily\n make us the best used car dealership\n DriveTime's dealership experience does!\n </p>\n <p>We've been revolutionizing the way people buy used cars since 2002, and in that time we've learned\n that confidence is key to our customers.\n Our dealership sales staff are honest, patient and low pressure. We do everything\n we can to answer your questions and address your\n concerns so you can make an educated decision about buying a used car from us.\n As an additional confidence boost, we include a free 30 day / 1,500 mile limited\n warranty with every DriveTime vehicle, and we\n accept returns within 5 days of purchase if you\u2019re not totally satisfied.\n Is the choice clear now? Schedule a visit at your nearest DriveTime %VAR_REGION_NAME% dealership today.\n </p>\n "}}})),{contentNeedsPageContext:!0}),preventPageViewType:[f.Xu.DMP],canForceReload:!0}},{path:"search-vehicles-by-location",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(102),n.e(437)]).then(n.bind(n,57437)).then(e=>e.BundledDtmVsrLinksLocationPageModule),data:{name:d.x4.VehicleLinkSwamp,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"Used Car Search By Location | DriveTime",description:"Find used cars closest to you. Select a city to view our used car inventory prices, photos and features.","og:description":"Find used cars closest to you. Select a city to view our used car inventory prices, photos and features."}},canForceReload:!0}},{path:"search/:city/:state/vehicles",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(102),n.e(437)]).then(n.bind(n,57437)).then(e=>e.BundledDtmVsrLinksLocationMakesPageModule),data:{name:d.x4.VehicleLinkSwamp,locateStrategy:d.OS.Context,pageContent:{seo:{title:"%VAR_LOCATION_NAME% Advanced Vehicle Search | DriveTime",description:"Looking for a specific make in %VAR_LOCATION_NAME%? Shop %VAR_LOCATION_NAME% Makes by Price, Pictures & Features Online!","og:description":"Looking for a specific make in %VAR_LOCATION_NAME%? Shop %VAR_LOCATION_NAME% Makes by Price, Pictures & Features Online!"},contentNeedsPageContext:!0},canForceReload:!0}},{path:"search/:city/:state/:make/vehicles",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(102),n.e(437)]).then(n.bind(n,57437)).then(e=>e.BundledDtmVsrLinksLocationMakeModelsPageModule),data:{name:d.x4.VehicleLinkSwamp,locateStrategy:d.OS.Context,pageContent:{seo:{title:"Used %VAR_MAKE_NAME% in %VAR_LOCATION_NAME% | %VAR_MAKE_NAME% Cars for Sale | DriveTime",description:"Stop shopping around for used %VAR_MAKE_NAME%s in %VAR_LOCATION_NAME%. Find Used %VAR_MAKE_NAME% Prices, Pictures & Features Online!","og:description":"Stop shopping around for used %VAR_MAKE_NAME%s in %VAR_LOCATION_NAME%. Find Used %VAR_MAKE_NAME% Prices, Pictures & Features Online!"},contentNeedsPageContext:!0},canForceReload:!0}},{path:"search/:region/:state/used-vehicles",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(102),n.e(437)]).then(n.bind(n,57437)).then(e=>e.BundledDtmVsrLinksLocationMakesPageModule),data:{name:d.x4.VehicleLinkSwamp,locateStrategy:d.OS.Context,pageContent:{seo:{title:"%VAR_LOCATION_NAME% Advanced Vehicle Search | DriveTime",description:"Looking for a specific make in %VAR_LOCATION_NAME%? Shop %VAR_LOCATION_NAME% Makes by Price, Pictures & Features Online!","og:description":"Looking for a specific make in %VAR_LOCATION_NAME%? Shop %VAR_LOCATION_NAME% Makes by Price, Pictures & Features Online!"},contentNeedsPageContext:!0},canForceReload:!0}},{path:"search/:region/:state/:make/used-vehicles",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(102),n.e(437)]).then(n.bind(n,57437)).then(e=>e.BundledDtmVsrLinksLocationMakeModelsPageModule),data:{name:d.x4.VehicleLinkSwamp,locateStrategy:d.OS.Context,pageContent:{seo:{title:"Used %VAR_MAKE_NAME% in %VAR_LOCATION_NAME% | %VAR_MAKE_NAME% Cars for Sale | DriveTime",description:"Stop shopping around for used %VAR_MAKE_NAME%s in %VAR_LOCATION_NAME%. Find Used %VAR_MAKE_NAME% Prices, Pictures & Features Online!","og:description":"Stop shopping around for used %VAR_MAKE_NAME%s in %VAR_LOCATION_NAME%. Find Used %VAR_MAKE_NAME% Prices, Pictures & Features Online!"},contentNeedsPageContext:!0},canForceReload:!0}},{path:"find-cars-by-make-model",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(102),n.e(437)]).then(n.bind(n,57437)).then(e=>e.BundledDtmVsrLinksMakesPageModule),data:{name:d.x4.VehicleLinkSwamp,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"Shop Cars By Make & Model Online | DriveTime",description:"Looking for a specific vehicle make? Our advanced search options help you shop our huge selection of used cars by make.","og:description":"Looking for a specific vehicle make? Our advanced search options help you shop our huge selection of used cars by make."}},canForceReload:!0}},{path:"find-used/:make/models",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(102),n.e(437)]).then(n.bind(n,57437)).then(e=>e.BundledDtmVsrLinksMakeModelsPageModule),data:{name:d.x4.VehicleLinkSwamp,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"Used %VAR_VEHICLE_MAKE% Advanced Search | DriveTime",description:"Looking for a specific %VAR_VEHICLE_MAKE% model? Use our advanced search to filter our selection of used %VAR_VEHICLE_MAKE% cars by model.","og:description":"Looking for a specific %VAR_VEHICLE_MAKE% model? Use our advanced search to filter our selection of used %VAR_VEHICLE_MAKE% cars by model."},contentNeedsPageContext:!0},canForceReload:!0}},{path:"used-cars/:state/:city/:make/:model/:year/:stockNumber",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(590),n.e(129),n.e(14),n.e(289),n.e(592),n.e(495)]).then(n.bind(n,85495)).then(e=>e.BundledDtmVehicleDetailsPageModule),data:{name:d.x4.VehicleDetails,locateStrategy:d.OS.NonSpecific,preventPageViewType:[f.Xu.GoogleAnalytics,f.Xu.AppInsights,f.Xu.DMP],canForceReload:!0}},{path:"vehicle/autocheck/:vin",pathMatch:"full",loadChildren:()=>Promise.all([n.e(42),n.e(558),n.e(590),n.e(129),n.e(14),n.e(289),n.e(592),n.e(495)]).then(n.bind(n,85495)).then(e=>e.BundledDtmAutocheckReportModule),data:{name:d.x4.AutocheckReport,locateStrategy:d.OS.NonSpecific,hideHeader:!0,hideFooter:!0,pageContent:{seo:{title:"AutoCheck History Report | DriveTime",description:"Get the free vehicle history report for this used %YEAR% %MAKE% %MODEL%. VIN#: %VIN%","og:description":"Get the free vehicle history report for this used %YEAR% %MAKE% %MODEL%. VIN#: %VIN%"},contentNeedsPageContext:!0},canForceReload:!0}},{path:"ancillary-refinement/:year/:make/:model/:state/:city/:stockNumber/:dealershipNumber",pathMatch:"full",loadChildren:()=>n.e(934).then(n.bind(n,42934)).then(e=>e.DtmAncillaryRefinementModule),data:{name:d.x4.AncillaryRefinement,locateStrategy:d.OS.Specific,canForceReload:!1,pageContent:{seo:{title:"Ancillary Refinement | DriveTime",description:"Take an in-depth look at your personalized terms online! See what ancillary products are available to you and learn more about your options today.","og:description":"Take an in-depth look at your personalized terms online! See what ancillary products are available to you and learn more about your options today."}}}},{path:"trade-us-a-car",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundledDtmPpcModule),data:{name:d.x4.PPC,subname:d.y4.Trade,canForceReload:!0}},{path:"sell-us-a-car",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundledDtmPpcModule),data:{name:d.x4.PPC,subname:d.y4.SUAC,canForceReload:!0}},{path:"competitors",pathMatch:"full",redirectTo:""},{path:"trade-in",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundeledDtmTradeInPageModule),data:{name:d.x4.TradeIn,subname:d.hR.Generic,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"Get Your Trade-in Offer | DriveTime","og:title":"Get Your Trade-in Offer | DriveTime",description:"Get your real trade-in offer from DriveTime in minutes. See your car\u2019s trade-in value online and shop from thousands of cars, so you can save time in the dealership.","og:description":" Get your real trade-in offer from DriveTime in minutes. See your car\u2019s trade-in value online and shop from thousands of cars, so you can save time in the dealership.",robots:"noindex"}},canForceReload:!0}},{path:"customer-service",pathMatch:"full",loadChildren:()=>Promise.all([n.e(592),n.e(153)]).then(n.bind(n,18724)).then(e=>e.BundledDtmContactUsLandingPageModule),data:{name:d.x4.ContactUs,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"Customer Service | DriveTime","og:title":"Customer Service | DriveTime",description:"Call, chat or submit at a request to DriveTime customer service to get answers about vehicles, payments and warranties.","og:description":"Call, chat or submit at a request to DriveTime customer service to get answers about vehicles, payments and warranties."}},canForceReload:!0}},{path:"customer-service/approvals-vehicles",pathMatch:"full",loadChildren:()=>Promise.all([n.e(592),n.e(153)]).then(n.bind(n,18724)).then(e=>e.BundledDtmContactUsFinancingAndPurchasingModule),data:{name:d.x4.ContactUs,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"Help with Financing or Purchasing a Vehicle | DriveTime Customer Service ",description:"Have questions about getting approved for financing or purchasing a vehicle? Call or chat with our customer service team today.","og:description":"Have questions about getting approved for financing or purchasing a vehicle? Call or chat with our customer service team today."}},canForceReload:!0}},{path:"customer-service/claims",pathMatch:"full",loadChildren:()=>Promise.all([n.e(592),n.e(153)]).then(n.bind(n,18724)).then(e=>e.BundledDtmContactUsRepairsTheftClaimsModule),data:{name:d.x4.ContactUs,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"Contact SilverRock Customer Service | DriveTime",description:"Have questions about finding a repair facility, reporting a theft or submitting a claim under your SilverRock warranty? Contact us or find a facility here.","og:description":"Have questions about finding a repair facility, reporting a theft or submitting a claim under your SilverRock warranty? Contact us or find a facility here."}},canForceReload:!0}},{path:"customer-service/payment-account",pathMatch:"full",loadChildren:()=>Promise.all([n.e(592),n.e(153)]).then(n.bind(n,18724)).then(e=>e.BundledDtmContactUsLoanAccountPageModule),data:{name:d.x4.ContactUs,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"Contact Bridgecrest Customer Service | DriveTime",description:"Have questions about your Bridgecrest loan? Contact Bridgecrest Customer Service.","og:description":"Have questions about your Bridgecrest loan? Contact Bridgecrest Customer Service."}},canForceReload:!0}},{path:"privacy-policy",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundledDtmPrivacyPolicyModule),data:{name:d.x4.PrivacyPolicy,locateStrategy:d.OS.NonSpecific,canForceReload:!0}},{path:"cookie-policy",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundledDtmCookiePolicyModule),data:{name:d.x4.CookiePolicy,pageContent:{seo:{title:"DriveTime | Shop Used Cars & Financing Online",description:"Used Car Shopping & Simple Auto Financing solutions start here. Choose from %VAR_NATIONAL_VEHICLES_AVAIL% vehicles and Apply Online now!"}}}},{path:"finance-calculator",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundledDtmFinanceCalculatorModule),data:{name:d.x4.FinanceCalculator,pageContent:{seo:{title:"Finance Calculator | DriveTime",description:"Personalize your payment terms on our simple financing calculator. Adjust your estimated car price, down payment and monthly payment to fit your budget. Get approved today!","og:description":"Personalize your payment terms on our simple financing calculator. Adjust your estimated car price, down payment and monthly payment to fit your budget. Get approved today!"}}}},{path:"affiliates",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundledDtmAffiliatesModule),data:{name:d.x4.Affiliates,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"Affiliates | DriveTime",description:"With over %VAR_MORE_THAN_X_DEALERSHIPS% used car dealerships across the country it's easy to find your next used car at DriveTime! Shop our selection of used cars, trucks and SUVs and get...","og:description":"With over %VAR_MORE_THAN_X_DEALERSHIPS% used car dealerships across the country it's easy to find your next used car at DriveTime! Shop our selection of used cars, trucks and SUVs and get..."}},canForceReload:!0}},{path:"affiliates",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundledDtmAffiliatesModule),data:{name:d.x4.Affiliates,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"Affiliates | DriveTime",description:"With over %VAR_MORE_THAN_X_DEALERSHIPS% used car dealerships across the country it's easy to find your next used car at DriveTime! Shop our selection of used cars, trucks and SUVs and get...","og:description":"With over %VAR_MORE_THAN_X_DEALERSHIPS% used car dealerships across the country it's easy to find your next used car at DriveTime! Shop our selection of used cars, trucks and SUVs and get..."}},canForceReload:!0}},{path:"ca-disclaimer",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundledDtmCaDisclaimerModule),data:{name:d.x4.CADisclaimer,locateStrategy:d.OS.NonSpecific,canForceReload:!0}},{path:"terms-of-use",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundledDtmTermsOfUseModule),data:{name:d.x4.TermsOfUse,locateStrategy:d.OS.NonSpecific,canForceReload:!0}},{path:"application-survey",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundledDtmLeadlessModule),data:{name:d.x4.ApplicationSurvey,layout:d.Tj.Slim,locateStrategy:d.OS.None,preventPageViewType:[f.Xu.GoogleAnalytics,f.Xu.AppInsights,f.Xu.DMP],pageContent:{seo:{robots:"noindex"}},canForceReload:!0}},{path:"application-survey/confirmation",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundledDtmLeadlessConfirmationModule),data:{name:d.x4.ApplicationSurveyConfirmation,locateStrategy:d.OS.None,canForceReload:!1}},{path:"down-payment-comparison",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundledDtmDownpaymentComparisonModule),data:{name:d.x4.DownPaymentComparison,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{robots:"noindex"}},canForceReload:!0}},{path:"reviews",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundledDtmReviewsModule),data:{name:d.x4.Reviews,locateStrategy:d.OS.NonSpecific,pageContent:{seo:{title:"Read DriveTime Reviews | DriveTime",description:"How do customers rate DriveTime? Realtime reviews from customers that bought used cars from DriveTime.","og:description":"How do customers rate DriveTime? Realtime reviews from customers that bought used cars from DriveTime."}},canForceReload:!0}},{path:"sitemap",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundledDtmSiteMapModule),data:{name:d.x4.SiteMap,locateStrategy:d.OS.NonSpecific}},{path:"income-verification",pathMatch:"prefix",loadChildren:()=>n.e(366).then(n.bind(n,83366)).then(e=>e.DtmIncomeVerificationModule),data:{preload:!1}},{path:"link-account",pathMatch:"prefix",loadChildren:()=>n.e(119).then(n.bind(n,22119)).then(e=>e.DtmLinkAccountModule),data:{preload:!1}},{path:"styleguide",pathMatch:"prefix",loadChildren:()=>Promise.all([n.e(42),n.e(221),n.e(472),n.e(592),n.e(33)]).then(n.bind(n,94951)).then(e=>e.DtmStyleGuideModule),data:{preload:!1,name:"Style Guide",locateStrategy:d.OS.NonSpecific,hideHeader:!0,hideFooter:!0,pageContent:{seo:{robots:"noindex"}}}},{path:"error",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundledDtmErrorPageModule),data:{name:d.x4.ErrorHard,locateStrategy:d.OS.NonSpecific,pageContent:{content:{"link-list":{"get-approved":"Get Your Approval","vehicle-search":"Search Vehicles","dealership-search":"Find a Dealership","schedule-a-visit":"Schedule a Visit","make-a-payment":"Make a Payment"},"error-message":{"error-text":"Looks like you took a wrong turn. No problem, we\u2019ll get you back on the road!"}}},canForceReload:!0}},{path:"error/error404",pathMatch:"full",loadChildren:()=>Promise.all([n.e(590),n.e(102),n.e(592),n.e(57)]).then(n.bind(n,68057)).then(e=>e.BundledDtmError404PageModule),data:{name:d.x4.Error404,locateStrategy:d.OS.NonSpecific,pageContent:{content:{"link-list":{"get-approved":"Get Your Approval","vehicle-search":"Search Vehicles","dealership-search":"Find a Dealership","schedule-a-visit":"Schedule a Visit","make-a-payment":"Make a Payment"},"error-message":{"error-text":"Looks like you took a wrong turn. No problem, we\u2019ll get you back on the road!"}}},canForceReload:!0}},{path:"**",redirectTo:"error/error404"}];class b{constructor(){this._documentClicked=new u.xQ,h.cmp.isNode()||(window.onload=()=>{let e=()=>{this._documentClicked.next(!0),document.removeEventListener("click",e,!0)};document.addEventListener("click",e,!0)})}preload(e,t){return h.cmp.isNotEmpty(e.data)&&!1===e.data.preload?(0,p.of)(null):h.cmp.isNode()?t():this._documentClicked.pipe((0,m.h)(e=>e),(0,g.zg)(t))}}const C=[b],w=o.Bz.forRoot(v,{preloadingStrategy:b,initialNavigation:"enabled",scrollPositionRestoration:"enabled",anchorScrolling:"enabled",relativeLinkResolution:"legacy"});var S=n(70764),k=n(71255),M=n(899),P=n(31184),O=n(17952),U=n(8075),I=n(89234),N=n(68450),T=n(77979),D=n(31547),x=n(10324),E=(n(96175),n(45637)),L=n(82030),R=n(68559),F=n(67562),V=n(67041),Z=n(13535),B=n(68603),G=n(97805),q=n(49479),H=n(10723);let Q=(()=>{class e{constructor(e){this._appConfigService=e,this._skipMessages=e.isProd}registerService(e){return{trace:(...t)=>this.trace(`[${e}]`,...t),log:(...t)=>this.log(`[${e}]`,...t),warning:(...t)=>this.warning(`[${e}]`,...t),error:(...t)=>this.error(`[${e}]`,...t)}}trace(...e){this._skipMessages||console.trace(...e)}log(...e){this._skipMessages||console.log(...e)}warning(...e){this._skipMessages||console.warn(...e)}error(...e){this._skipMessages||console.error(...e)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(V._))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();var z=n(1850),Y=n(11654),$=n(3679),j=n(26215),W=n(9112),J=n(87519),X=n(39761),K=n(88002),ee=n(90028),te=n(51751);let ne=(()=>{class e{constructor(e,t,n){this._builder=e,this._leadService=t,this._linkHelper=n,this._statusChangesSrc=new j.X({}),this._valueChangesSrc=new j.X({}),this.statusChanges=this._statusChangesSrc.asObservable(),this._showAlert$=new j.X(!1),this.alertVisible=this._showAlert$.asObservable(),this._eConsentModal$=new j.X(!1),this.eConsentModal=this._eConsentModal$.asObservable(),this._legalAgreementModal$=new j.X(!1),this.legalAgreementModal=this._legalAgreementModal$.asObservable(),this._termsModal$=new j.X(!1),this.termsModal=this._termsModal$.asObservable(),this._privacyModal$=new j.X(!1),this.privacyModal=this._privacyModal$.asObservable(),this._isProcessValid=!1,this._form=new $.cw({})}getStepByStepFormStatus(){return this._statusChangesSrc.getValue()}startNewStepByStepFlow(){this._isProcessValid=!0,this._buildStepByStepForm(),this._initializeStepByStepForm(this._form)}exitStepByStepFlow(){this._isProcessValid=!1,this._privacyModal$.next(!1),this._termsModal$.next(!1),this._eConsentModal$.next(!1),this._legalAgreementModal$.next(!1)}getStepByStepFormValues(){return this._valueChangesSrc.getValue()}getStepByStepForm(){return this._isProcessValid?this._form:null}hasStepByStepFlowBeenExited(){return!this._isProcessValid}getNextStepUrl(e){let t=this._getUrlElements(e);return e.data.name===d.x4.GetApproved1||e.data.name===d.x4.GetApprovedSteps?(t.step=e.data.name===d.x4.GetApproved1?2:+t.step+1,this._buildGAStepsUrlForGARouteType(e.data.subname,t)):this._buildLandingUrlForGARouteType(e.data.subname,t)}getPreviousStepUrl(e){let t=this._getUrlElements(e);return e.data.name===d.x4.GetApprovedSteps?2==+t.step?this._buildLandingUrlForGARouteType(e.data.subname,t):(t.step=+t.step-1,this._buildGAStepsUrlForGARouteType(e.data.subname,t)):this._buildLandingUrlForGARouteType(e.data.subname,t)}getRedirectUrl(e){return this._buildLandingUrlForGARouteType(e.data.subname,this._getUrlElements(e))}_getUrlElements(e){let{stockNumber:t,make:n,model:i,year:a,dealershipNumber:o,dealershipName:r,city:s,step:l}=te.A.flattenRouteParameters(e);return{stockNumber:t,make:n,model:i,year:a,dealershipNumber:o,dealershipName:r,city:s,step:l}}_buildGAStepsUrlForGARouteType(e,t){switch(e){case d.hR.Dealership:return this._linkHelper.getApprovedStepDealershipLink(t.dealershipName,t.city,t.dealershipNumber,t.step,{asUrlObject:!0});case d.hR.Vehicle:return this._linkHelper.getApprovedStepVehicleLink(t.year,t.make,t.model,t.dealershipName,t.stockNumber,t.dealershipNumber,t.step,{asUrlObject:!0});default:return this._linkHelper.getApprovedStepLink(t.step,{asUrlObject:!0})}}_buildLandingUrlForGARouteType(e,t){switch(e){case d.hR.Dealership:return this._linkHelper.getApproved1DealershipPage(t.dealershipName,t.city,t.dealershipNumber,{asUrlObject:!0});case d.hR.Vehicle:return this._linkHelper.getApproved1VehiclePage(t.year,t.make,t.model,t.dealershipName,t.stockNumber,t.dealershipNumber,{asUrlObject:!0});default:return this._linkHelper.getApproved1GenericPage({asUrlObject:!0})}}_initializeStepByStepForm(e){let t=Object.keys(e.controls).map(t=>e.controls[t].statusChanges.pipe((0,J.x)(),(0,X.O)(e.controls[t].valid),(0,K.U)(n=>({control:t,valid:e.controls[t].valid}))));(0,W.aj)(t).pipe((0,K.U)(e=>{let t={};return e.forEach(e=>t[e.control]=e.valid),t})).subscribe(e=>this._statusChangesSrc.next(e)),e.valueChanges.subscribe(e=>this._valueChangesSrc.next(e)),e.updateValueAndValidity()}_getInitialZip(){let e=this._leadService.getLeadLocation();return h.cmp.isDefinedAndNotNull(e)?e.zipCode:""}_getInitialCityState(){let e=this._leadService.getLeadLocation();return h.cmp.isDefinedAndNotNull(e)?`${e.city}, ${e.state.shortName}`:""}_buildStepByStepForm(){this._form=this._builder.group({firstName:new $.NI("",[$.kI.required]),lastName:new $.NI("",[$.kI.required]),address:new $.NI("",[$.kI.required]),cityState:new $.NI(this._getInitialCityState(),[$.kI.required]),zipCode:new $.NI(this._getInitialZip(),[$.kI.required]),birthDateDay:new $.NI("",[$.kI.required]),birthDateMonth:new $.NI("",[$.kI.required]),birthDateYear:new $.NI("",[$.kI.required]),monthlyIncome:new $.NI("",[$.kI.required]),socialSec:new $.NI("",[$.kI.required]),email:new $.NI("",[$.kI.required]),certifyInfoCorrect:new $.NI(!1,[$.kI.required,ee.r.isChecked]),phoneNumber:new $.NI("",[$.kI.required]),hasConsented:new $.NI(this._leadService.getValueForAutodialCheckbox())})}showAlert(){this._showAlert$.next(!0)}hideAlert(){this._showAlert$.next(!1)}openEConsentModal(){this._eConsentModal$.next(!0)}openLegalAgreementModal(){this._legalAgreementModal$.next(!0)}openPrivacyModal(){this._privacyModal$.next(!0)}openTermsModal(){this._termsModal$.next(!0)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG($.qu),a.LFG(M.y),a.LFG(Z.R))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();var ie=n(98800),ae=n(69958),oe=n(53629),re=n(46917);const se="usabilla_live";let le=(()=>{class e{constructor(e,t,n,i,a,o){this._document=e,this._analyticService=t,this._appConfigService=n,this._router=i,this._activatedRoute=a,this._rendererService=o}init(){if(this._appConfigService.isServerPrerender||!oe.N.configuration.survey.enabled)return;let e=this._handleScriptLoad.bind(this);this._rendererService.renderScriptAsyncWithCallback("getFeedback",this._document.head,se,e)}_handleScriptLoad(){let e=this._handleCallback.bind(this);window[se]("setEventCallback",e),this._analyticService.analyticsSessionId$.subscribe(e=>this._updateSurveyData(e));const t=[d.x4.VehicleSearchResults,d.x4.ApprovalCertificate];this._router.events.pipe((0,m.h)(e=>e instanceof o.m2)).subscribe(()=>{let e=te.A.getDeepestFirstChild(this._activatedRoute.snapshot);t.some(t=>t===e.data.name)&&window[se]("virtualPageView")})}_handleCallback(e,t,n,i,a){"Campaign:Open"===t&&this._handleCampaignOpen(e,t,n,i,a)}_updateSurveyData(e){window[se]("data",{custom:{AnalyticsUserID:this._analyticService.analyticsUserId,AnalyticsSessionID:e}})}_handleCampaignOpen(e,t,n,i,a){let o={surveyCategory:e,surveyAction:t,surveyLabel:n,value:i,userData:JSON.stringify(a)};this._analyticService.logFullStory("GetFeedback",o),this._analyticService.logAnalytic({category:"GetFeedback",label:"survey",action:"display",additionalData:o})}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(r.K0),a.LFG(S.g),a.LFG(V._),a.LFG(o.F0),a.LFG(o.gz),a.LFG(re.y))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();var ce=n(41046),de=n(68552),ue=n(34406),pe=n(48804),he=n(98733),me=n(59269),ge=n(48584),fe=n(97113),ye=n(26055),_e=n(93111),Ae=n(64174),ve=n(88586),be=n(33995),Ce=n(30277),we=n(40466),Se=n(4398);let ke=(()=>{class e{constructor(e,t){this._store=e,this._analyticService=t,this.showRedDot$=new j.X(null);const n=this._store.select(we.LW.getAttribute("is-post-ga2")),i=this._store.select(we.LW.getAttribute("is-return-user")),a=this._store.select(Se.p_.getLifeTimeHistory).pipe((0,m.h)(h.cmp.areAllDefinedAndNotNull),(0,K.U)(e=>e.length));(0,W.aj)(n,a,i).subscribe(([e,t,n])=>{this.showRedDot$.next(!(!1!==e||!(t>=6||n)))}),this.showRedDot$.pipe((0,m.h)(h.cmp.isDefinedAndNotNull),(0,J.x)()).subscribe(e=>{this._analyticService.logAnalytic({action:"display",category:"Hamburger",label:e?"ShowRedDot":"HideRedDot",value:"true"})})}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(Ce.k),a.LFG(S.g))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();var Me=n(18656),Pe=n(49889);let Oe=(()=>{class e extends class{constructor(e){if(e)throw new Error(`${e.constructor.name} has already been loaded.\n Import this module in the AppModule only.`)}}{constructor(e){super(e)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(e,12))},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[r.ez,k.k,M.y,I.a,P.o,S.g,O.R,U.W,N.u,T.f,D.Z,x.G,E.D,F.Z,L.D,R.l,V._,Z.R,B.N,ae.B,ce.N,de.Q,G.e,q.d,H.q,Q,z.T,Y.y,z.T,ne,ie.O,le,ue.K,pe.n,he.N,me.$,ge.m,fe.f,ye.e,_e.O,Ae.A,ve.t,be.A,ke,Me.l,Pe._],imports:[[r.ez],r.ez]}),e})();var Ue=n(12991);let Ie=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[Ue.G]}),e})(),Ne=(()=>{class e extends a.qLn{constructor(e){super(),this._serverAppInsights=e}handleError(e){super.handleError(e),"undefined"==typeof window||null==window.appInsights?Object.keys(this._serverAppInsights||{}).length>0&&this._serverAppInsights.trackExceptionWithMessage(e,"node server-render error-handler"):window.appInsights.trackException(e)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG("SERVER_APP_INSIGHTS"))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();var Te=n(46797),De=n(40205),xe=n(67666),Ee=n(42145);const Le=[{provide:s.TP,useClass:(()=>{class e{constructor(e,t){this._platformId=e,this._analyticService=t,this._isClient=(0,r.NF)(this._platformId)}intercept(e,t){return t.handle(e).pipe(this._getRetryOperator(e))}_getRetryOperator(e){return(0,xe.a)(t=>t.pipe((0,Ee.R)((t,n)=>this._handleRetries(t,n,e),0),(0,g.VS)(e=>(0,Te.H)(this._calcExponentialBackoff(e)))))}_handleRetries(e,t,n){if(this._hasTrueHeaderValue(n.headers,"allow-body-to-be-logged")&&t.status>=400){const i={method:n.method,url:n.urlWithParams,body:h.cmp.isDefinedAndNotNull(n.body)?JSON.stringify(n.body):"",status:h.cmp.isDefinedAndNotNull(t.status)?t.status.toString():"",retryCount:h.cmp.isDefinedAndNotNull(e)?e.toString():""};this._analyticService.logTraceInfo("Failure of retryable request",i)}if(!this._isClient||0!==t.status&&!this._hasTrueHeaderValue(n.headers,"retry-eligible-on-error")||e>=4)throw(0,De._)(t);return++e}_calcExponentialBackoff(e){return 1e3*Math.pow(2,e)}_hasTrueHeaderValue(e,t){return!!e.has(t)&&"true"===e.get(t)}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(a.Lbi),a.LFG(S.g))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})(),multi:!0}];var Re=n(84168),Fe=n(76652),Ve=n(28049);let Ze=(()=>{class e{constructor(e,t,n){this._metaReplacerService=e,this._routerStrategyService=t,this._contentReplacerService=n}init(){let e=!1;this._routerStrategyService.replacedRouterData$.pipe((0,m.h)(e=>h.cmp.isDefinedAndNotNull(e)&&h.cmp.isDefinedAndNotNull(e.pageContent)&&h.cmp.isDefinedAndNotNull(e.pageContent.seo))).subscribe(t=>{e?this._metaReplacerService.setSeoElements(t.pageContent.seo):this._queuedSeoData=t.pageContent.seo}),this._contentReplacerService.onLoadGlobalVariables$.pipe((0,Ve.P)(e=>!0===e)).subscribe(()=>{h.cmp.isDefinedAndNotNull(this._queuedSeoData)&&this._metaReplacerService.setSeoElements(this._queuedSeoData),this._queuedSeoData=null,e=!0})}}return e.\u0275fac=function(t){return new(t||e)(a.LFG(R.l),a.LFG(Fe.h),a.LFG(Re.k))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac}),e})();var Be=n(41282);let Ge=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[{provide:a.qLn,useClass:Ne},Le,Z.R,S.g,L.D,C,Ce.k,Fe.h,Re.k,Ze,{provide:r.mr,useValue:"/"},{provide:"MOBILE_IONIC_CONTACTS",useValue:{}},{provide:"MOBILE_IONIC_CALENDAR",useValue:{}},{provide:"MOBILE_IONIC_DIALOGS",useValue:{}},{provide:"MOBILE_IONIC_NETWORK",useValue:{}},{provide:"MOBILE_IONIC_APPVERSION",useValue:{}},{provide:"MOBILE_IONIC_INAPPBROWSER",useValue:{}},{provide:Be.X,useValue:oe.N.configuration.segmentWriteKey}],imports:[[r.ez,s.JF,o.Bz,w,Ie,c,Oe]]}),e})();var qe=n(97582),He=n(46782),Qe=n(15257),ze=n(65792),Ye=n(94612),$e=n(20945),je=n(98085),We=n(18891),Je=n(26264),Xe=n(59480),Ke=n(17315),et=n(48531),tt=n(28645),nt=n(68334),it=n(13706),at=n(90697),ot=n(56370),rt=n(74549),st=n(18628),lt=n(25179),ct=n(16438),dt=n(96645),ut=n(92547),pt=n(2916),ht=n(38868),mt=n(55021),gt=n(38784);const ft=["modalContainer"];function yt(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"dtm-ga-one-form",5),a.NdJ("handleSubmit",function(t){return a.CHM(e),a.oxw().handleGA1Submit(t)})("handleStatusChange",function(t){return a.CHM(e),a.oxw().handleGA1StatusChange(t)})("checkFormValidation",function(t){return a.CHM(e),a.oxw().checkGA1FormValidation(t)}),a.qZA()}if(2&e){const e=a.oxw();a.Q6J("hasConsented",e.hasGA1Consented)("group",e.ga1Group)}}function _t(e,t){if(1&e){const e=a.EpF();a._uU(0,"\n "),a.TgZ(1,"dtm-ga-two-form",6),a.NdJ("handleSubmit",function(){return a.CHM(e),a.oxw().handleGA2Submit()})("handleZipCodeBlur",function(){return a.CHM(e),a.oxw().handleGA2ZipCodeBlur()}),a.qZA(),a._uU(2,"\n ")}if(2&e){const e=a.oxw();a.xp6(1),a.Q6J("group",e.ga2Group)("hasConsented",e.hasGA2Consented)("category","GAModal")}}class At{constructor(e,t,n,i,o,r,s,l,c,p){this._builder=e,this._leadService=t,this._dealershipService=n,this.elementRef=i,this._analyticService=o,this._linkHelper=r,this._cdRef=s,this._appConfig=l,this._store=c,this._vsfMultiPmtFreqFeatureService=p,this.closeModal=new a.vpe,this.navigate=new a.vpe,this.isScrollOverlayVisible=!0,this.showModal=!0,this.hasGA1Consented=!0,this.isGa1Valid=!1,this.hasGA2Consented=!0,this.ga2Visible=!1,this._ga1Submitted=!1,this._ga2Submitted=!1,this.routeType=d.hR.Generic,this.resetScrollToTop$=new u.xQ,this._dealershipNumber=0,this._lastLiidOverride="",this._lastLeadInjectionToken="",this._zipOverride="",this._lastZip="",this._componentUnsubscribe=new u.xQ,this.backdropClickAnalytics={category:"GAModal",label:"GAModalExitOutside",experimentMetric:!0},this.closeClickAnalytics={category:"GAModal",label:"GAModalExitIcon",experimentMetric:!0}}ngOnInit(){this.hasGA1Consented=this._leadService.getValueForAutodialCheckbox(),this._initGA1FormGroup()}ngAfterViewInit(){this._analyticService.logAnalytic({category:"GAModal",label:"GAModal",action:"display"})}onScroll(e){const{target:{scrollHeight:t,scrollTop:n,clientHeight:i}}=e;this.isScrollOverlayVisible=!(Math.round(n/(t-i)*100)>90),this._cdRef.detectChanges()}checkGA1FormValidation(){}handleGA1StatusChange(e){this.isGa1Valid="VALID"===e}handleGA1Submit(){return(0,qe.mG)(this,void 0,void 0,function*(){if(this._ga1Submitted||!this.isGa1Valid)return;let e;this._ga1Submitted=!0,this.routeType===d.hR.Dealership&&(this._dealership=yield this._dealershipService.getDealershipFromNumber(this._dealershipNumber),e=this._dealership.Zip5);let t=yield this._leadService.getChosenDealershipZip(this.routeType,this.ga1Group.value.zipCode,e),n={firstName:this.ga1Group.value.firstName.trim(),lastName:this.ga1Group.value.lastName.trim(),phoneNumber:this.ga1Group.value.phoneNumber,zip:this.ga1Group.value.zipCode,canAutoDial:this.ga1Group.value.hasConsented,chosenDealershipZip:t};this._linkHelper.populateTrustpilotUrlWithoutLogin({firstName:n.firstName,lastName:n.lastName}),this._logSubmitAnalytics(!0),this._leadService.submitGa1(n),this.showGA2()})}_initGA1FormGroup(){this.ga1Group=this._builder.group({firstName:new $.NI(""),lastName:new $.NI(""),phoneNumber:new $.NI("",[$.kI.required]),zipCode:new $.NI(""),hasConsented:new $.NI(this.hasGA1Consented)})}showGA2(){this._leadService.gaModalGA2Load$.next(!0),this._store.dispatch(new et.pm(Ke.ZI.PostLeadPaymentFrequencyTestValid,!0)),this._appConfig.isBrowser&&(this.resetScrollToTop$.next(),this.resetScrollToTop$.complete(),this._zipOverride=this.ga1Group.get("zipCode").value,h.cmp.isNotEmpty(this._zipOverride)&&this._leadService.setZipOverride(this._zipOverride),this._leadService.leadLocationSet$.pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(h.cmp.isDefinedAndNotNull)).subscribe(e=>(0,qe.mG)(this,void 0,void 0,function*(){yield this._updateCityState(e),this._lastZip=e.zipCode,this._cdRef.detectChanges()})),this._leadService.zipOverrideSet$.pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(h.cmp.isDefinedAndNotNull)).subscribe(e=>{this._updateCityStateZip(e),this._cdRef.detectChanges()}),this._leadService.zipOverrideFailure$.pipe((0,He.R)(this._componentUnsubscribe)).subscribe(()=>{this.ga2Visible=!1,this._ga1Submitted=!1}),(0,W.aj)(this._leadService.ga2LeadStatus$,this._leadService.approvalCertificateData$,this.isPifResubmitEnabled$).pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(([e,t,n])=>e===Je.r.RESPONDED)).subscribe(([e,t,n])=>{t&&h.cmp.isDefinedAndNotNull(t.financeTerms)&&h.cmp.isDefinedAndNotNull(t.financeTerms.riskAttributes)&&h.cmp.isDefinedAndNotNull(t.financeTerms.riskAttributes.hasRiskIndicator)&&"true"===t.financeTerms.riskAttributes.hasRiskIndicator&&!0===n?(this._leadService.showPrefilledVIR=!0,this._linkHelper.navigate(this._linkHelper.verificationPage({asUrlObject:!0}))):this._linkHelper.navigate(this._linkHelper.yourApprovalPage({asUrlObject:!0}))})),this._cdRef.detectChanges(),this.hasGA2Consented=this.ga1Group.value.hasConsented,this._initGA2FormGroup(),this.ga2Visible=!0}_updateCityStateZip(e){return(0,qe.mG)(this,void 0,void 0,function*(){yield this._updateCityState(e),this._updateZip(e)})}_updateCityState(e){return(0,qe.mG)(this,void 0,void 0,function*(){this.ga2Group.get("cityState").setValue(`${e.city}, ${e.state.shortName}`)})}_updateZip(e){this.ga2Group.get("zipCode").setValue(e.zipCode),this._lastZip=e.zipCode}handleGA2ZipCodeBlur(){h.cmp.isEmpty(this.ga2Group.value.zipCode)?(this.ga2Group.get("cityState").setValue(""),this._leadService.setLeadLocation(""),this._lastZip=""):this._lastZip!==this.ga2Group.value.zipCode&&this._leadService.setLeadLocation(this.ga2Group.value.zipCode)}handleGA2Submit(){return(0,qe.mG)(this,void 0,void 0,function*(){if(this._ga2Submitted)return;this._ga2Submitted=!0;let e={address:this.ga2Group.value.address.addressLine1.trim(),cityState:this.ga2Group.value.cityState,zip:this.ga2Group.value.zipCode,email:this.ga2Group.value.email.trim(),birthDateDay:this.ga2Group.value.birthDateDay,birthDateMonth:this.ga2Group.value.birthDateMonth,birthDateYear:this.ga2Group.value.birthDateYear,ssn:h.StringUtils.unmaskNumberString(this.ga2Group.value.socialSec),phoneNumber:this.ga2Group.value.phoneNumber,monthlyIncome:h.StringUtils.unmaskNumberString(this.ga2Group.value.monthlyIncome),desiredDownPayment:h.StringUtils.unmaskNumberString(this.ga2Group.value.desiredDownPayment),lastLeadInjectionIdOverride:this._lastLiidOverride,lastLeadInjectionToken:this._lastLeadInjectionToken,chosenDealershipZip:this.ga2Group.value.zipCode,canAutoDial:this.ga2Group.value.hasConsented},t={};t.ExperimentKey=Ke.vv.VsfMultiPmtFreq.Id,t.VariationName=this._vsfMultiPmtFreqFeatureService.getAppCertVariation(),this._leadService.setCustomMarketingParams(t),this._linkHelper.populateTrustpilotUrlWithoutLogin({email:e.email}),this._leadService.submitGa2(e),this._logSubmitAnalytics()})}_initGA2FormGroup(){this.ga2Group=this._builder.group({address:new $.cw({addressLine1:new $.NI(""),addressLine2:new $.NI("")}),cityState:new $.NI,zipCode:new $.NI(""),email:new $.NI("",[$.kI.required]),phoneNumber:new $.NI("",[$.kI.required]),monthlyIncome:new $.NI("",[$.kI.required]),birthDateDay:new $.NI("",[$.kI.required]),birthDateMonth:new $.NI("",[$.kI.required]),birthDateYear:new $.NI("",[$.kI.required]),socialSec:new $.NI("",[$.kI.required]),certifyInfoCorrect:new $.NI("",[$.kI.required,ee.r.isChecked]),hasConsented:new $.NI(this.hasGA2Consented)})}close(){this.closeModal.emit(!0)}_logSubmitAnalytics(e){let t={action:"submit",category:e?"GA1":"GA2",label:e?"SubmitGA1Button":"SubmitGA2Button",experimentMetric:!0,marketingAction:e?"GA1FormSub":"GA2FormSub",value:this.routeType.toString(),additionalData:{IsLeadSubmission:!0,StockNumber:null}};this._analyticService.logAnalytic(t),e?(this._analyticService.logDmpEvent({label:"formSubmit",formZipCode:this.ga1Group.value.zipCode,vehicleStockNum:null}),this._analyticService.facebookPixelTrackStandardEvent(pt.U.Lead)):this._analyticService.logDmpEvent({label:"formSubmit",email:this.ga2Group.value.email.trim()})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}}function vt(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"div",1),a._uU(1,"\n"),a.TgZ(2,"dtm-ga-modal-ga1-ga2",2),a.NdJ("closeModal",function(){return a.CHM(e),a.oxw().userCloseModal()})("navigate",function(t){return a.CHM(e),a.oxw().navigate(t)}),a.qZA(),a._uU(3,"\n"),a.qZA()}}At.\u0275fac=function(e){return new(e||At)(a.Y36($.qu),a.Y36(M.y),a.Y36(k.k),a.Y36(a.SBq),a.Y36(S.g),a.Y36(Z.R),a.Y36(a.sBO),a.Y36(V._),a.Y36(Ce.k),a.Y36(ce.N))},At.\u0275cmp=a.Xpm({type:At,selectors:[["dtm-ga-modal-ga1-ga2"]],viewQuery:function(e,t){if(1&e&&a.Gf(ft,5),2&e){let e;a.iGM(e=a.CRH())&&(t.modalContainer=e.first)}},outputs:{closeModal:"closeModal",navigate:"navigate"},decls:12,vars:8,consts:[[1,"ga-modal-ga1",3,"showCancel","visible","backdropClickAnalytic","isScrollOverlayVisible","closeClickAnalytic","resetScrollToTop$","close","onScroll"],[1,"modal-container"],["modalContainer",""],[3,"hasConsented","group","handleSubmit","handleStatusChange","checkFormValidation",4,"ngIf","ngIfElse"],["ga2",""],[3,"hasConsented","group","handleSubmit","handleStatusChange","checkFormValidation"],[3,"group","hasConsented","category","handleSubmit","handleZipCodeBlur"]],template:function(e,t){if(1&e&&(a.TgZ(0,"dtm-modal",0),a.NdJ("close",function(){return t.close()})("onScroll",function(e){return t.onScroll(e)}),a._uU(1,"\n "),a.TgZ(2,"div",1,2),a._uU(4,"\n "),a.YNc(5,yt,1,2,"dtm-ga-one-form",3),a._uU(6,"\n "),a.YNc(7,_t,3,3,"ng-template",null,4,a.W1O),a._uU(9,"\n "),a.qZA(),a._uU(10,"\n"),a.qZA(),a._uU(11,"\n")),2&e){const e=a.MAs(8);a.Q6J("showCancel",!0)("visible",t.showModal)("backdropClickAnalytic",t.backdropClickAnalytics)("isScrollOverlayVisible",t.isScrollOverlayVisible)("closeClickAnalytic",t.closeClickAnalytics)("resetScrollToTop$",t.resetScrollToTop$),a.xp6(5),a.Q6J("ngIf",!t.ga2Visible)("ngIfElse",e)}},directives:[ht.P,r.O5,mt.j,gt.I],styles:["[_nghost-%COMP%] .modal-outer-container{width:100%;max-width:100%;font-size:unset;background-color:#fff;border-radius:14px;overflow:hidden}[_nghost-%COMP%] .modal-container[_ngcontent-%COMP%]{height:100%}[_nghost-%COMP%] .modal-container[_ngcontent-%COMP%]::-webkit-scrollbar{width:5px}[_nghost-%COMP%] .modal-container[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent;margin-block:14px}[_nghost-%COMP%] .modal-container[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#00000080;border-radius:2.5px}[_nghost-%COMP%] dtm-ga-one-form[_ngcontent-%COMP%] .ga1-form-container, [_nghost-%COMP%] dtm-ga-two-form[_ngcontent-%COMP%] .ga2-form-container{border-radius:0}[_nghost-%COMP%] dtm-ga-one-form[_ngcontent-%COMP%] .ga1-form-container .header-container, [_nghost-%COMP%] dtm-ga-two-form[_ngcontent-%COMP%] .ga2-form-container .header-container{width:100%;overflow-x:hidden}@media screen and (min-width: 414px){[_nghost-%COMP%] dtm-ga-one-form[_ngcontent-%COMP%] .ga1-form-container .header-container, [_nghost-%COMP%] dtm-ga-two-form[_ngcontent-%COMP%] .ga2-form-container .header-container{width:calc(100% - calc((100vw - min(414px,90vw)) / 2))}}@media screen and (min-width: 768px){[_nghost-%COMP%] .modal-container[_ngcontent-%COMP%]{height:711px}[_nghost-%COMP%] .modal-container[_ngcontent-%COMP%] .outer-modal-container{margin-top:3rem}[_nghost-%COMP%] .modal-container[_ngcontent-%COMP%] .outer-modal-container.small{max-width:100%}[_nghost-%COMP%] .modal-outer-container{width:auto;max-width:-moz-fit-content;max-width:fit-content;background:transparent}[_nghost-%COMP%] dtm-ga-one-form[_ngcontent-%COMP%] dtm-legal-modal .outer-modal-container, [_nghost-%COMP%] dtm-ga-two-form[_ngcontent-%COMP%] dtm-legal-modal .outer-modal-container{height:calc(100% - 2.8rem)}[_nghost-%COMP%] dtm-ga-one-form[_ngcontent-%COMP%] .ga1-form-container, [_nghost-%COMP%] dtm-ga-one-form[_ngcontent-%COMP%] .ga2-form-container, [_nghost-%COMP%] dtm-ga-two-form[_ngcontent-%COMP%] .ga1-form-container, [_nghost-%COMP%] dtm-ga-two-form[_ngcontent-%COMP%] .ga2-form-container{margin:0!important}[_nghost-%COMP%] dtm-ga-one-form[_ngcontent-%COMP%] .ga1-form-container .header-container, [_nghost-%COMP%] dtm-ga-one-form[_ngcontent-%COMP%] .ga2-form-container .header-container, [_nghost-%COMP%] dtm-ga-two-form[_ngcontent-%COMP%] .ga1-form-container .header-container, [_nghost-%COMP%] dtm-ga-two-form[_ngcontent-%COMP%] .ga2-form-container .header-container{width:100%}[_nghost-%COMP%] dtm-ga-one-form[_ngcontent-%COMP%] .affiliates-modal>.overlay-outer, [_nghost-%COMP%] dtm-ga-one-form[_ngcontent-%COMP%] .overlay-outer-fixed, [_nghost-%COMP%] dtm-ga-two-form[_ngcontent-%COMP%] .affiliates-modal>.overlay-outer, [_nghost-%COMP%] dtm-ga-two-form[_ngcontent-%COMP%] .overlay-outer-fixed{position:absolute!important}}@media screen and (max-width: 768px){[_nghost-%COMP%] .modal-outer-container{top:2.8rem;border-radius:0}}"]}),(0,qe.gn)([(0,tt.Ph)(Se.p_.currentRouteName),(0,qe.w6)("design:type",We.y)],At.prototype,"navRouteName$",void 0),(0,qe.gn)([(0,tt.Ph)(ut.Z8.get(dt.j.ApprovalCertificate.IsPifResubmitEnabled)),(0,qe.w6)("design:type",We.y)],At.prototype,"isPifResubmitEnabled$",void 0);class bt{constructor(e,t,n,i,a){this._router=e,this._store=t,this._leadService=n,this._appStateService=i,this._activatedRoute=a,this.showModal=!1,this.delay=4e3,this._componentUnsubscribe=new u.xQ}ngOnInit(){this._appStateService.isNewUserSession&&this._store.dispatch(new ct.M1(!1)),(0,W.aj)(this.didUserCloseModal$,this.showReturnUserModal$,this.navRouteName$).pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(([e,t])=>h.cmp.isDefinedAndNotNull(e)||h.cmp.isDefinedAndNotNull(t))).subscribe(([e,t,n])=>{e||!this._isRouteEligibleForGaModal(n)||t?this.showModal=!1:this.timeout=window.setTimeout(()=>{this._isRouteEligibleForGaModal(n)&&(this.showModal=!0),window.clearTimeout(this.timeout)},this.delay)}),this._leadService.ga2LeadStatus$.pipe((0,He.R)(this._componentUnsubscribe)).subscribe(e=>{e>=Je.r.RESPONDED&&this.userCloseModal()})}userCloseModal(){this._store.dispatch(new ct.M1(!0))}_isRouteEligibleForGaModal(e){return[d.x4.VehicleSearchResults,d.x4.VehicleDetails,d.x4.DealershipDetails,d.x4.DealershipSearchResults,d.x4.PPC,d.x4.ScheduleAVisit,d.x4.ScheduleAVisitConfirmation,d.x4.VFT,d.x4.Reviews,d.x4.FinanceCalculator].includes(e)}navigate(e){this._router.navigateByUrl(e),this.userCloseModal()}ngOnDestroy(){window.clearTimeout(this.timeout),this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}}bt.\u0275fac=function(e){return new(e||bt)(a.Y36(o.F0),a.Y36(Ce.k),a.Y36(M.y),a.Y36(D.Z),a.Y36(o.gz))},bt.\u0275cmp=a.Xpm({type:bt,selectors:[["dtm-ga-modal"]],decls:2,vars:1,consts:[["class","ga-modal-container",4,"ngIf"],[1,"ga-modal-container"],[3,"closeModal","navigate"]],template:function(e,t){1&e&&(a.YNc(0,vt,4,0,"div",0),a._uU(1,"\n")),2&e&&a.Q6J("ngIf",t.showModal)},directives:[r.O5,At],styles:["[_nghost-%COMP%] .ga-modal-container .more-content-overlay{margin-bottom:0}"]}),(0,qe.gn)([(0,tt.Ph)(e=>e.app.user.isGaModalClose),(0,qe.w6)("design:type",u.xQ)],bt.prototype,"didUserCloseModal$",void 0),(0,qe.gn)([(0,tt.Ph)(Se.p_.currentRouteName),(0,qe.w6)("design:type",We.y)],bt.prototype,"navRouteName$",void 0),(0,qe.gn)([(0,tt.Ph)(ut.Z8.get(dt.j.Home.ShowReturnUserModal)),(0,qe.w6)("design:type",We.y)],bt.prototype,"showReturnUserModal$",void 0);var Ct=n(43740),wt=n(38572);class St{constructor(e,t){this._analyticService=e,this._linkHelper=t,this.navigate=new a.vpe,this.showModal=!1,this._componentUnsubscribe=new u.xQ,this.backdropClickAnalytic=this._generateAnalytic("ExitOutside"),this.closeClickAnalytic=this._generateAnalytic("ExitIcon"),this.getYourTermsClickAnalytics=this._generateAnalytic("GA1SeeTermsAgainCTA"),this.LinkButtonTypes=Ct.CY,this.approvalLink=this._linkHelper.getApproved1GenericPage()}ngAfterViewInit(){this.showModal$.pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(h.cmp.areAllDefinedAndNotNull)).subscribe(e=>{this.showModal=e,e&&this._logAnalyticsWhenModalShown()})}_logAnalyticsWhenModalShown(){this._analyticService.logAnalytic({category:"GAReturnUserModal",label:"ReturnUserModal",action:"display"})}_generateAnalytic(e){return{category:"GAReturnUserModal",label:e,experimentMetric:!0}}close(){this.showModal=!1}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}}St.\u0275fac=function(e){return new(e||St)(a.Y36(S.g),a.Y36(Z.R))},St.\u0275cmp=a.Xpm({type:St,selectors:[["dtm-return-user-modal"]],outputs:{navigate:"navigate"},decls:23,vars:7,consts:[[1,"return-user-modal",3,"visible","showCancel","backdropClickAnalytic","closeClickAnalytic"],[1,"modal-container"],[1,"modal-container-content"],[1,"upper"],[1,"lower"],["src","../../assets/img/return-user-modal.svg","alt","An illustration of a return icon in front of an iPad displaying finance terms for a SUV."],["buttonClass","rounded-button-green-large","type","submit","ariaLabel","See Your Terms",3,"buttonLink","qaid","buttonAnalytic","click"],[1,"text-before"]],template:function(e,t){1&e&&(a.TgZ(0,"dtm-modal",0),a._uU(1,"\n "),a.TgZ(2,"div",1),a._uU(3,"\n "),a.TgZ(4,"div",2),a._uU(5,"\n "),a.TgZ(6,"div",3),a._uU(7,"Welcome back!"),a.qZA(),a._uU(8,"\n "),a.TgZ(9,"div",4),a._uU(10,"It looks like your session expired. Resubmit your info and keep shopping with your personalized terms!"),a.qZA(),a._uU(11,"\n "),a._UZ(12,"img",5),a._uU(13,"\n "),a.TgZ(14,"dtm-button",6),a.NdJ("click",function(){return t.close()}),a._uU(15,"\n "),a.TgZ(16,"span",7),a._uU(17,"See Your Terms Again"),a.qZA(),a._uU(18,"\n "),a.qZA(),a._uU(19,"\n "),a.qZA(),a._uU(20,"\n "),a.qZA(),a._uU(21,"\n"),a.qZA(),a._uU(22,"\n")),2&e&&(a.Q6J("visible",t.showModal)("showCancel",!0)("backdropClickAnalytic",t.backdropClickAnalytic)("closeClickAnalytic",t.closeClickAnalytic),a.xp6(14),a.Q6J("buttonLink",t.approvalLink)("qaid","qa-return-user-modal-button")("buttonAnalytic",t.getYourTermsClickAnalytics))},directives:[ht.P,wt.p],styles:["img[_ngcontent-%COMP%]{display:block;margin:auto auto 1.41rem}.lower[_ngcontent-%COMP%]{padding:.67rem .78rem 1.02rem;font-size:4.4vw;font-weight:400;color:#4e575e;text-align:center}.modal-container[_ngcontent-%COMP%]{height:100%;background-image:linear-gradient(to bottom,#c4eafa,#e5fff4)}.modal-container[_ngcontent-%COMP%] .modal-container-content[_ngcontent-%COMP%]{justify-content:center;padding:4.2rem 1rem 0;width:auto}.upper[_ngcontent-%COMP%]{font-size:8.5vw;font-weight:800;color:#0c2340;text-align:center}@media screen and (min-width: 768px){img[_ngcontent-%COMP%]{margin-bottom:2.2rem}.lower[_ngcontent-%COMP%]{padding:.67rem 1.22rem 1.61rem;font-size:.89rem}.upper[_ngcontent-%COMP%]{font-size:2rem}.modal-container[_ngcontent-%COMP%]{margin-bottom:0!important}.modal-container[_ngcontent-%COMP%] .modal-container-content[_ngcontent-%COMP%]{padding:3.6rem 1.5rem 0} .modal-content{margin-bottom:0!important} .modal-outer-container{width:24.17rem;height:34.83rem}}"]}),(0,qe.gn)([(0,tt.Ph)(Se.p_.currentRouteName),(0,qe.w6)("design:type",We.y)],St.prototype,"navRouteName$",void 0),(0,qe.gn)([(0,tt.Ph)(ut.Z8.get(dt.j.Home.ShowReturnUserModal)),(0,qe.w6)("design:type",We.y)],St.prototype,"showModal$",void 0);var kt=n(76653);const Mt=function(e){return[e]},Pt=function(e){return{error:e}};function Ot(e,t){if(1&e&&(a.TgZ(0,"div",2),a._uU(1,"\n\t\t\t"),a.TgZ(2,"div",3),a._uU(3),a.qZA(),a._uU(4,"\n\t"),a.qZA()),2&e){const e=t.$implicit;a.Q6J("ngClass",a.VKq(3,Mt,e.enter?"enter-animation":"exit-animation")),a.xp6(2),a.Q6J("ngClass",a.VKq(5,Pt,!0===e.isError)),a.xp6(1),a.hij("\n\t\t\t\t",e.content,"\n\t\t\t")}}const Ut=function(e,t){return{"iOS-offset":e,"iPhoneX-offset":t}};let It=(()=>{class e{constructor(e,t,n,i,a){this._toastService=e,this._cdRef=t,this._appConfigService=n,this._analyticService=i,this._deviceInteractionService=a,this.isIOS=!1,this.isIPhoneX=!1,this._componentUnsubscribe=new u.xQ,this.ANIMATE_TIME=300}ngAfterViewInit(){this._appConfigService.isIosApp&&(0,W.aj)([this._deviceInteractionService.showAppFooter$]).pipe((0,He.R)(this._componentUnsubscribe)).subscribe(([e])=>{this.isIOS=e,this.isIPhoneX=this._deviceInteractionService.isIPhoneX,this._cdRef.detectChanges()})}ngOnInit(){this._toasts=new Array,this._toastService.toastAdded.pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(e=>null!=e)).subscribe(e=>{this._toasts.push(e),this._logAnalytic(e.analyticLabel),(0,Te.H)(e.screenTime-this.ANIMATE_TIME).pipe((0,Qe.q)(1)).subscribe(()=>{this._beforeHide.bind(this)(e.id)}),(0,Te.H)(e.screenTime).pipe((0,Qe.q)(1)).subscribe(()=>{this._hide.bind(this)(e.id)})})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}_beforeHide(e){this._toasts=this._toasts.map(t=>(t.id===e&&(t.enter=!1),t))}_hide(e){const t=this._toasts.findIndex(t=>t.id===e);t>=0&&this._toasts.splice(t,1)}_logAnalytic(e){this._analyticService.logAnalytic({category:"ToastNotification",label:e,action:"display"})}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(kt.k),a.Y36(a.sBO),a.Y36(V._),a.Y36(S.g),a.Y36(G.e))},e.\u0275cmp=a.Xpm({type:e,selectors:[["dtm-toast"]],decls:4,vars:5,consts:[[1,"toast-container",3,"ngClass"],["class","toast",3,"ngClass",4,"ngFor","ngForOf"],[1,"toast",3,"ngClass"],[1,"content",3,"ngClass"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a._uU(1,"\n\t"),a.YNc(2,Ot,5,7,"div",1),a._uU(3,"\n"),a.qZA()),2&e&&(a.Q6J("ngClass",a.WLB(2,Ut,t.isIOS&&!t.isIPhoneX,t.isIOS&&t.isIPhoneX)),a.xp6(2),a.Q6J("ngForOf",t._toasts))},directives:[r.mk,r.sg],styles:["@keyframes loadgrow{0%{height:0;opacity:0;width:0}to{height:10em;opacity:1;width:10em}}@keyframes expandout{0%{width:0}to{width:100%}}@keyframes scale-up{0%{transform:scale(0);transform-origin:center}to{transform:scale(1);transform-origin:center}}@keyframes fillcircle{0%{border-bottom:1.1em solid rgba(181,233,212,.8)}50%{border-right:1.1em solid rgba(181,233,212,.8)}to{border-top:1.1em solid rgba(181,233,212,.8)}}@keyframes fadein{0%{opacity:0}to{opacity:1}}@keyframes fadeout{0%{opacity:1}to{opacity:0}}@keyframes fade-in-out{0%{opacity:0}50%{opacity:1}to{opacity:0}}@keyframes fade-in-out-pulse{0%{opacity:.5}50%{opacity:1}to{opacity:.5}}@keyframes pulse-half-opacity{0%{opacity:1}50%{opacity:.5}to{opacity:1}}@keyframes pulse-half-border{0%{border-color:#f74e50}50%{border-color:#f74e5080}to{border-color:#f74e50}}@keyframes fade-in-out-scroll{0%{opacity:.3}50%{opacity:1}to{opacity:.3}}@keyframes rotate-horizontal{0%{transform:rotateY(-180deg)}80%{transform:rotateY(-180deg)}to{transform:rotateY(0)}}@keyframes loaderrotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes rotate-rank-spinner-excellent{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-4deg)}to{opacity:1;transform:rotate(-10deg)}}@keyframes rotate-rank-spinner-excellent-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes rotate-rank-spinner-good{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-52deg)}to{opacity:1;transform:rotate(-60deg)}}@keyframes rotate-rank-spinner-good-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-62deg)}to{opacity:1;transform:rotate(-70deg)}}@keyframes rotate-rank-spinner-fair{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-97deg)}to{opacity:1;transform:rotate(-105deg)}}@keyframes rotate-rank-spinner-fair-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-115deg)}to{opacity:1;transform:rotate(-110deg)}}@keyframes rotate-rank-spinner-low{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-142deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-150deg)}}@keyframes rotate-rank-spinner-low-bottom{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-163deg)}to{backface-visibility:hidden;opacity:1;transform:rotate(-170deg)}}@keyframes rotate-rank-spinner-error{0%{opacity:0;transform:rotate(-180deg)}70%{opacity:1;transform:rotate(-17deg)}to{opacity:1;transform:rotate(-25deg)}}@keyframes pulse-credit-rank-spinner{0%{transform:scale(1)}50%{backface-visibility:hidden;transform:scale(1.1)}to{transform:scale(1)}}@keyframes pulse{0%{opacity:0;transform:scale(.3)}25%{opacity:.1;transform:scale(.5)}50%{opacity:.3;transform:scale(.7)}75%{opacity:.5;transform:scale(.8)}to{opacity:0;transform:scale(1)}}@keyframes pulse-text-overlay{0%{opacity:.8}50%{opacity:.875}to{opacity:.95}}@keyframes barloader{0%{left:50%;width:0;z-index:100}33%{left:0;width:100%;z-index:10}to{left:0;width:100%}}@keyframes dot-circles{0%,80%,to{box-shadow:0 2.5rem 0 -1.3em}40%{box-shadow:0 2.5rem}}@keyframes model-svg-animation-draw{to{stroke-dashoffset:0}}@keyframes slideUp{0%{transform:translateY(100%)}to{transform:translateY(0)}}@keyframes middleSlideUp{0%{transform:translate(-50%,100%)}to{transform:translate(-50%,-50%)}}@keyframes beat{0%{transform:scale(1)}50%{transform:scale(1.4)}to{transform:scale(1)}}@keyframes synapse-expand{0%{opacity:0;transform:scale(.2)}to{opacity:.7;transform:scale(1)}}@keyframes genius-fade{0%{stroke-opacity:1}90%{stroke-opacity:1}to{stroke-opacity:0}}@keyframes genius-animate-0{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-1{18%{stroke-dashoffset:2690}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-2{18%{stroke-dashoffset:2120}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-3{18%{stroke-dashoffset:548}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-4{18%{stroke-dashoffset:68}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-5{18%{stroke-dashoffset:241}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-6{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-7{18%{stroke-dashoffset:2350}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-8{18%{stroke-dashoffset:1}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes genius-animate-9{18%{stroke-dashoffset:2187}86%{stroke-dashoffset:0}to{stroke-dashoffset:0}}@keyframes checkAnimation{to{stroke-dashoffset:0}}@keyframes speedTextAnimation{0%{margin-left:-200%}to{margin-left:0%}}@keyframes enter-toast{0%{transform:translateY(100%);opacity:.5}to{transform:translateY(0);opacity:1}}@keyframes exit-toast{0%{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}@keyframes rotate-90-righty{0%{transform:rotate(0)}to{transform:rotate(90deg)}}@keyframes rotate-90-lefty{0%{transform:rotate(90deg)}to{transform:rotate(0)}}@keyframes rotate-45-righty{0%{transform:rotate(0)}to{transform:rotate(45deg)}}@keyframes rotate-45-lefty{0%{transform:rotate(45deg)}to{transform:rotate(0)}}.toast-container[_ngcontent-%COMP%]{position:fixed;z-index:201;bottom:.667rem;right:.611rem;left:.611rem;-webkit-user-select:none;-moz-user-select:none;user-select:none}.toast-container.iOS-offset[_ngcontent-%COMP%]{bottom:4.167rem}.toast-container.iPhoneX-offset[_ngcontent-%COMP%]{bottom:5.667rem}.toast-container[_ngcontent-%COMP%] .toast[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;left:0rem;right:0rem;display:flex;position:absolute;bottom:0rem;justify-content:center;max-width:22.889rem;width:100%;border-radius:.333rem;box-shadow:0 0 .555rem #00000029;background-color:#fff}.toast-container[_ngcontent-%COMP%] .toast.enter-animation[_ngcontent-%COMP%]{animation:.3s cubic-bezier(.21,1.02,.73,1) 0s 1 normal forwards running enter-toast}.toast-container[_ngcontent-%COMP%] .toast.exit-animation[_ngcontent-%COMP%]{animation:.3s cubic-bezier(.21,1.02,.73,1) 0s 1 normal forwards running exit-toast}.toast-container[_ngcontent-%COMP%] .toast[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{font-size:MIN(3.6vw,.77rem);font-weight:600;line-height:1.26;padding:.75rem 0}.toast-container[_ngcontent-%COMP%] .toast[_ngcontent-%COMP%] .error[_ngcontent-%COMP%]{color:#f74e50}"]}),e})();var Nt=n(69451),Tt=n(19967);const Dt=function(){return{category:"Chat",label:"Open"}},xt=function(e,t){return{"iOS-offset":e,"iPhoneX-offset":t}};function Et(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"div",1),a._uU(1,"\n "),a.TgZ(2,"div",2),a._uU(3,"\n "),a.TgZ(4,"div",3),a._uU(5,"\n "),a.TgZ(6,"div",4),a.NdJ("click",function(){return a.CHM(e),a.oxw().openChat()}),a.qZA(),a._uU(7,"\n "),a.qZA(),a._uU(8,"\n "),a.qZA(),a._uU(9,"\n"),a.qZA()}if(2&e){const e=a.oxw();a.Q6J("analytic",a.DdM(2,Dt)),a.xp6(6),a.Q6J("ngClass",a.WLB(3,xt,e.isIOS&&!e.isIPhoneX,e.isIOS&&e.isIPhoneX))}}class Lt{constructor(e,t,n,i){this._chatService=e,this._appConfigService=t,this._deviceInteractionService=n,this._cdRef=i,this._componentUnsubscribe=new u.xQ,this.isIOS=!1,this.isIPhoneX=!1}ngAfterViewInit(){this._appConfigService.isIosApp&&(0,W.aj)([this._deviceInteractionService.showAppFooter$]).pipe((0,He.R)(this._componentUnsubscribe)).subscribe(([e])=>{this.isIOS=e,this.isIPhoneX=this._deviceInteractionService.isIPhoneX,this._cdRef.detectChanges()})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}openChat(){this._chatService.openChat()}}Lt.\u0275fac=function(e){return new(e||Lt)(a.Y36(lt.a),a.Y36(V._),a.Y36(G.e),a.Y36(a.sBO))},Lt.\u0275cmp=a.Xpm({type:Lt,selectors:[["dtm-chat-bubble"]],decls:3,vars:3,consts:[["class","chat-container","data-cy","qa-chat-bubble",3,"analytic",4,"ngIf"],["data-cy","qa-chat-bubble",1,"chat-container",3,"analytic"],[1,"chat-minimize-container"],["tabindex","0"],[1,"chat-minimize-state",3,"ngClass","click"]],template:function(e,t){1&e&&(a.YNc(0,Et,10,6,"div",0),a.ALo(1,"async"),a._uU(2,"\n")),2&e&&a.Q6J("ngIf",a.lcZ(1,1,t.showChatBubble$))},directives:[r.O5,Tt.e,r.mk],pipes:[r.Ov],styles:[".chat-container[_ngcontent-%COMP%]{z-index:99999998;position:fixed;display:inline-block;top:auto;right:0rem;bottom:0rem;left:auto}.chat-container[_ngcontent-%COMP%] .chat-minimize-container[_ngcontent-%COMP%]{display:block}.chat-container[_ngcontent-%COMP%] .chat-minimize-container[_ngcontent-%COMP%] .chat-minimize-state[_ngcontent-%COMP%]{background:url(chat-bubble-text.4293bcd89caae162499d.svg);background-size:100% 100%;background-repeat:no-repeat;opacity:1;cursor:pointer;width:4rem;height:4rem;position:absolute;bottom:1rem;right:1rem;top:auto;left:auto;font-size:1rem}.chat-container[_ngcontent-%COMP%] .chat-minimize-container[_ngcontent-%COMP%] .chat-minimize-state.iOS-offset[_ngcontent-%COMP%]{bottom:4.167rem}.chat-container[_ngcontent-%COMP%] .chat-minimize-container[_ngcontent-%COMP%] .chat-minimize-state.iPhoneX-offset[_ngcontent-%COMP%]{bottom:5.667rem}"]}),(0,qe.gn)([(0,tt.Ph)(Nt.O.ShowChatBubble),(0,qe.w6)("design:type",We.y)],Lt.prototype,"showChatBubble$",void 0);var Rt=n(95210),Ft=n(82701),Vt=n(77519);const Zt=function(e){return{"red-dot":e}},Bt=function(){return{ariaLabel:"Open Navigation Menu"}};let Gt=(()=>{class e{constructor(e){this._deviceInteractionService=e,this.open=new a.vpe}handleClick(e){this.open.emit(e),this._deviceInteractionService.showAppFooter$.next(!1)}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(G.e))},e.\u0275cmp=a.Xpm({type:e,selectors:[["dtm-burger-button"]],inputs:{qaid:"qaid",isRedDot:"isRedDot"},outputs:{open:"open"},decls:9,vars:5,consts:[["qaid","burger-nav","data-cy","burger-nav","role","button","aria-owns","nav-menu",1,"burger-nav",3,"ngClass","accessibility","click"],[1,"burger-line"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a.NdJ("click",function(e){return t.handleClick(e)}),a._uU(1,"\n "),a._UZ(2,"span",1),a._uU(3,"\n "),a._UZ(4,"span",1),a._uU(5,"\n "),a._UZ(6,"span",1),a._uU(7,"\n"),a.qZA(),a._uU(8,"\n")),2&e&&a.Q6J("ngClass",a.VKq(2,Zt,t.isRedDot))("accessibility",a.DdM(4,Bt))},directives:[r.mk,Ft.z],styles:[".burger-nav[_ngcontent-%COMP%]{height:1rem;position:absolute;top:50%;transition:all .5s ease-in-out;width:1.5rem;transform:translateY(-50%);z-index:100}.burger-nav.red-dot[_ngcontent-%COMP%]:after{right:-1rem;top:-.389rem;border:2px solid #ffffff}.burger-line[_ngcontent-%COMP%]{background-color:#00af66;display:block;height:.15rem;transition:all .5s ease-in-out;width:100%}.burger-line[_ngcontent-%COMP%]:nth-child(1){position:absolute;top:0}.burger-line[_ngcontent-%COMP%]:nth-child(2){position:absolute;top:.45rem}.burger-line[_ngcontent-%COMP%]:nth-child(3){position:absolute;top:.9rem}.burger-nav.open[_ngcontent-%COMP%] .burger-line[_ngcontent-%COMP%]:nth-child(1){left:2px;position:absolute;top:10px;transform:rotate(-45deg)}.burger-nav.open[_ngcontent-%COMP%] .burger-line[_ngcontent-%COMP%]:nth-child(2){opacity:0}.burger-nav.open[_ngcontent-%COMP%] .burger-line[_ngcontent-%COMP%]:nth-child(3){left:2px;top:10px;transform:rotate(45deg)}"]}),e})();var qt=n(22745),Ht=n(797);const Qt=["tradeInModal"],zt=function(){return{category:"Header",label:"BackButton"}};function Yt(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"div",11),a.NdJ("click",function(){return a.CHM(e),a.oxw(2).goBack()}),a.qZA()}2&e&&a.Q6J("analytic",a.DdM(1,zt))}function $t(e,t){1&e&&(a.TgZ(0,"div"),a._uU(1,"\n "),a.TgZ(2,"div",12),a._uU(3,"\n "),a._UZ(4,"img",13),a._uU(5,"\n "),a.qZA(),a._uU(6,"\n "),a.qZA())}const jt=function(){return{category:"Header",label:"SavedCarsCTA"}};function Wt(e,t){if(1&e&&(a.TgZ(0,"a",20),a._uU(1,"\n "),a._UZ(2,"span",21),a._uU(3,"\n "),a.qZA()),2&e){const e=a.oxw(3);a.Q6J("dtmRouterLink",e.garageUrl)("analytic",a.DdM(4,jt)),a.uIk("qaid","Header-Garage")("data-cy","Header-Garage")}}const Jt=function(){return{category:"Header",label:"Phone",optimizelyEvent:!0,addExperimentPageName:!0}};function Xt(e,t){1&e&&(a.TgZ(0,"a",22),a._uU(1,"\n "),a._UZ(2,"span",23),a._uU(3,"\n "),a.qZA()),2&e&&(a.Q6J("analytic",a.DdM(3,Jt)),a.uIk("qaid","Header-Phone")("data-cy","Header-Phone"))}const Kt=function(){return{category:"Header",label:"HamburgerMenu",optimizelyEvent:!0,addExperimentPageName:!0}},en=function(e,t){return{disabled:e,"back-arrow":t}},tn=function(){return{category:"Header",label:"Logo",optimizelyEvent:!0,addExperimentPageName:!0}},nn=function(){return{ariaLabel:"Visit Homepage"}};function an(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"div"),a._uU(1,"\n "),a.TgZ(2,"dtm-burger-button",14),a.NdJ("click",function(){return a.CHM(e),a.oxw(2).burgerButtonEvent.emit()}),a.ALo(3,"async"),a._uU(4,"\n "),a.qZA(),a._uU(5,"\n "),a.TgZ(6,"a",15),a._uU(7,"\n "),a._UZ(8,"img",16),a._uU(9,"\n "),a.qZA(),a._uU(10,"\n "),a.YNc(11,Wt,4,5,"a",17),a._uU(12,"\n "),a._UZ(13,"meta",18),a._uU(14,"\n "),a.YNc(15,Xt,4,4,"a",19),a._uU(16,"\n "),a.qZA()}if(2&e){const e=a.oxw(2);a.xp6(2),a.Q6J("analytic",a.DdM(12,Kt))("isRedDot",a.lcZ(3,10,e.showRedDot$)),a.xp6(4),a.Q6J("ngClass",a.WLB(13,en,e.onHomePage,e.hasBackButtonIOS))("dtmRouterLink",e.homepageUrl)("analytic",a.DdM(16,tn))("accessibility",a.DdM(17,nn)),a.xp6(2),a.s9C("src",e.logoUrl,a.LSH),a.xp6(3),a.Q6J("ngIf",e.isGarageAvailable),a.xp6(2),a.Q6J("content",18884181212),a.xp6(2),a.Q6J("ngIf",!e.iosHeader||e.isGarageAvailable)}}const on=function(e,t,n){return{"header-post-scroll":e,"mobile-garage-header":t,"reverse-hamburger":n}},rn=function(){return{ariaLabel:"Site Navigation",role:"banner"}};function sn(e,t){if(1&e&&(a.TgZ(0,"div",4),a._uU(1,"\n "),a._UZ(2,"meta",5),a._uU(3,"\n "),a.TgZ(4,"div",6),a._uU(5,"\n "),a.YNc(6,Yt,1,2,"div",7),a._uU(7,"\n "),a.TgZ(8,"div",8),a._uU(9,"\n "),a.YNc(10,$t,7,0,"div",9),a._uU(11,"\n "),a.YNc(12,an,17,18,"div",10),a._uU(13,"\n "),a.qZA(),a._uU(14,"\n "),a.qZA(),a._uU(15,"\n"),a.qZA()),2&e){const e=a.oxw();a.Q6J("ngClass",a.kEZ(5,on,e.contentPostScroll,e.isGarageAvailable,e.isGarageAvailable||e.iosHeader))("accessibility",a.DdM(9,rn)),a.xp6(6),a.Q6J("ngIf",e.hasBackButtonIOS),a.xp6(2),a.Q6J("ngSwitch",e.layout),a.xp6(2),a.Q6J("ngSwitchCase",e.layoutTypes.SlimLogoOnly)}}const ln=function(){return{ariaLabel:"Contact Us"}},cn=function(){return{category:"Header",label:"ContactUs",optimizelyEvent:!0,addExperimentPageName:!0}};function dn(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"nav",32),a._uU(1,"\n "),a.TgZ(2,"ul",33),a._uU(3,"\n "),a.TgZ(4,"li",34),a._uU(5,"\n "),a.TgZ(6,"dtm-link-button",35),a.NdJ("click",function(){return a.CHM(e),a.oxw(2).skipToContent()})("focusin",function(){return a.CHM(e),a.oxw(2).logTabFocus()}),a._uU(7,"\n "),a.TgZ(8,"span",36),a._uU(9,"Skip to Content"),a.qZA(),a._uU(10,"\n "),a.qZA(),a._uU(11,"\n "),a.qZA(),a._uU(12,"\n "),a.TgZ(13,"li",37),a._uU(14,"\n "),a._UZ(15,"span",38),a._uU(16,"\n 888-418-1212\n "),a.qZA(),a._uU(17,"\n "),a.TgZ(18,"li",39),a._uU(19,"\n "),a.TgZ(20,"a",40),a._uU(21,"\n Contact Us\n "),a.qZA(),a._uU(22,"\n "),a.qZA(),a._uU(23,"\n "),a.qZA(),a._uU(24,"\n "),a.qZA()}if(2&e){const e=a.oxw(2);a.xp6(6),a.Q6J("linkButtonType",e.LinkButtonTypes.Button),a.xp6(14),a.Q6J("accessibility",a.DdM(4,ln))("dtmRouterLink",e.contactUrl)("analytic",a.DdM(5,cn))}}const un=function(){return{category:"Header",label:"GA1CTA",optimizelyEvent:!0,addExperimentPageName:!0}};function pn(e,t){if(1&e&&(a.TgZ(0,"dtm-button",49),a._uU(1,"\n "),a.TgZ(2,"span",36),a._uU(3," Get Your Terms "),a.qZA(),a._uU(4,"\n "),a.qZA()),2&e){const e=a.oxw(3);a.Q6J("buttonLink",e.ga1Url)("analytic",a.DdM(2,un))}}const hn=function(){return{category:"Header",label:"SAVCTA",optimizelyEvent:!0,addExperimentPageName:!0}};function mn(e,t){if(1&e&&(a.TgZ(0,"dtm-button",50),a._uU(1,"\n "),a.TgZ(2,"span",36),a._uU(3,"Schedule a Visit"),a.qZA(),a._uU(4,"\n "),a.qZA()),2&e){const e=a.oxw(3);a.Q6J("buttonLink",e.savUrl)("analytic",a.DdM(2,hn))}}const gn=function(){return{category:"Header",label:"VSRCTA",optimizelyEvent:!0,addExperimentPageName:!0}},fn=function(){return{ariaLabel:"Search Vehicles"}},yn=function(){return{category:"Header",label:"DSRCTA",optimizelyEvent:!0,addExperimentPageName:!0}},_n=function(){return{ariaLabel:"Find a Dealership"}},An=function(){return{category:"Header",label:"TradeInOfferCTA",optimizelyEvent:!0,addExperimentPageName:!0}};function vn(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"ul",41),a._uU(1,"\n "),a.TgZ(2,"li",42),a._uU(3,"\n "),a.TgZ(4,"a",43),a._uU(5,"Search Cars"),a.qZA(),a._uU(6,"\n "),a.qZA(),a._uU(7,"\n "),a.TgZ(8,"li",42),a._uU(9,"\n "),a.TgZ(10,"a",44),a._uU(11,"Find a Dealership"),a.qZA(),a._uU(12,"\n "),a.qZA(),a._uU(13,"\n "),a.TgZ(14,"li",42),a._uU(15,"\n "),a.TgZ(16,"dtm-link-button",45),a.NdJ("promptForLocation",function(){return a.CHM(e),a.oxw(2).openTradeInModal()}),a._uU(17,"\n "),a.TgZ(18,"span",36),a._uU(19,"Value Your Car"),a.qZA(),a._uU(20,"\n "),a.qZA(),a._uU(21,"\n "),a.qZA(),a._uU(22,"\n "),a.TgZ(23,"li",46),a._uU(24,"\n "),a.YNc(25,pn,5,3,"dtm-button",47),a._uU(26,"\n "),a.YNc(27,mn,5,3,"dtm-button",48),a._uU(28,"\n "),a.qZA(),a._uU(29,"\n "),a.qZA()}if(2&e){const e=a.oxw(2);a.xp6(4),a.Q6J("dtmRouterLink",e.vsrUrl)("analytic",a.DdM(12,gn))("accessibility",a.DdM(13,fn)),a.xp6(6),a.Q6J("dtmRouterLink",e.dsrUrl)("analytic",a.DdM(14,yn))("accessibility",a.DdM(15,_n)),a.xp6(6),a.Q6J("analytic",a.DdM(16,An))("linkButtonType",e.LinkButtonTypes.Button)("elementId",e.valueYourCarButtonId)("qaid",e.valueYourCarButtonId),a.xp6(9),a.Q6J("ngIf",!e.isPostGa2),a.xp6(2),a.Q6J("ngIf",e.isPostGa2)}}function bn(e,t){1&e&&(a.TgZ(0,"div",51),a._uU(1,"\n "),a._UZ(2,"span",52),a._uU(3,"\n 888-418-1212\n "),a.qZA())}const Cn=function(e){return{"slim-logo-header-only":e}},wn=function(){return{ariaLabel:"View Homepage"}};function Sn(e,t){if(1&e&&(a.TgZ(0,"div",24),a._uU(1,"\n "),a.YNc(2,dn,25,6,"nav",25),a._uU(3,"\n "),a.TgZ(4,"nav",26),a._uU(5,"\n "),a.TgZ(6,"div",27),a._uU(7,"\n "),a.TgZ(8,"a",28),a._uU(9,"\n "),a._UZ(10,"img",29),a._uU(11,"\n "),a.qZA(),a._uU(12,"\n "),a.qZA(),a._uU(13,"\n "),a.YNc(14,vn,30,17,"ul",30),a._uU(15,"\n "),a.YNc(16,bn,4,0,"div",31),a._uU(17,"\n "),a.qZA(),a._uU(18,"\n"),a.qZA()),2&e){const e=a.oxw();a.xp6(2),a.Q6J("ngIf",e.layout===e.layoutTypes.Default),a.xp6(2),a.Q6J("ngClass",a.VKq(7,Cn,e.layout===e.layoutTypes.SlimLogoOnly)),a.xp6(4),a.Q6J("dtmRouterLink",e.homepageUrl)("analytic",a.DdM(9,tn))("accessibility",a.DdM(10,wn)),a.xp6(6),a.Q6J("ngIf",e.layout===e.layoutTypes.Default),a.xp6(2),a.Q6J("ngIf",e.layout===e.layoutTypes.Slim)}}const kn=function(){return{category:"GlobalTradeInZipModal",action:"click",label:"ExitModal"}},Mn=function(){return{category:"GlobalTradeInZipModal",action:"error",label:"ZipCode"}},Pn=function(){return{category:"GlobalTradeInZipModal",action:"click",label:"SubmitZip"}},On="/assets/img/dt-logo.png";class Un{constructor(e,t,n,i,o,r,s,l,c,p){this._appStateService=e,this._appConfigService=t,this._windowScrollService=n,this._linkHelper=i,this._cdRef=o,this._router=r,this._activatedRoute=s,this._leadService=l,this._analyticService=c,this._redDotService=p,this.showHeaderAtTopPage=!1,this.prerenderComplete=!0,this.burgerButtonEvent=new a.vpe,this.homepageUrl=this._linkHelper.homePage(),this.contactUrl=this._linkHelper.contactUsLink(),this.vsrUrl=this._linkHelper.vehicleSearchPage(),this.dsrUrl=this._linkHelper.dealershipSearchPage(),this.savUrl=this._linkHelper.savDealerSelectPage(),this.ga1Url=this._linkHelper.getApproved1GenericPage(),this.garageUrl=this._linkHelper.garageLink(),this.isPostGa2=!1,this.iosHeader=!1,this.layoutTypes=d.Tj,this.useHomePageLink=!0,this.onHomePage=!1,this.LinkButtonTypes=Ct.CY,this.valueYourCarButtonId="b600c2",this.hasBackButtonIOS=!1,this.logoUrl=On,this._inApp=!1,this._componentUnsubscribe=new u.xQ,this.showRedDot$=this._redDotService.showRedDot$}ngOnInit(){this._leadService.ga2LeadStatus$.pipe((0,He.R)(this._componentUnsubscribe)).subscribe(e=>{this.isPostGa2=e>=Je.r.RESPONDED||this._leadService.hasGa2()}),this._inApp=this._appConfigService.isMobileApp,this.iosHeader=this._appConfigService.isIosApp,this._determineBackButtonVisibility(),this.contentPostScroll=this.contentPostScroll&&!this._inApp,this._cdRef.detectChanges(),this._windowScrollService.events.pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(()=>!this._inApp)).subscribe(()=>{this.contentPostScroll=this.showHeaderAtTopPage?!this._windowScrollService.atPageTop:this._windowScrollService.contentPostScroll,this._cdRef.detectChanges()}),this._router.events.pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(e=>e instanceof o.m2)).subscribe(()=>{let e=te.A.getCurrentRouteData(this._activatedRoute);this.onHomePage=e.name===d.x4.HomePage,this.layout=e.layout||d.Tj.Default,h.cmp.isDefinedAndNotNull(e.name)&&e.name===d.x4.ApplicationSurvey&&(this.useHomePageLink=!1)}),this._isGarageAvailable$.pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(h.cmp.isDefinedAndNotNull)).subscribe(e=>{this.isGarageAvailable=e,this.logoUrl=e?"/assets/dtlogoflat.svg":On})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}_determineBackButtonVisibility(){this._appStateService.isOnLandingPage.pipe((0,He.R)(this._componentUnsubscribe)).subscribe(e=>{let t={};t=Z.R.deconstructQueryParamString(window.location.search),this.hasBackButtonIOS=!e&&(this._appConfigService.isIosApp||h.cmp.isNotEmpty(t)&&"ios"===t.inapp),this._cdRef.detectChanges()})}goBack(){window.history.back()}openTradeInModal(){this.tradeInModal.openModal()}skipToContent(){const e=document.getElementById("main-section"),t=["a","button","input","textarea","select","details","[tabindex]"];let n=[];for(let a=0;a<t.length;a++)n.push(t[a]+':not([tabindex="-1"])');let i=e.querySelector(n.join());h.cmp.isDefinedAndNotNull(i)?i.focus():e.focus(),this._analyticService.logAnalytic({category:"ADA",label:"SkiptoContent",action:"click"})}logTabFocus(){let e={category:"ADA",action:"display",label:"SkiptoContent",additionalData:{PageUrl:window.location.hostname}};this._analyticService.logAnalytic(e)}}Un.\u0275fac=function(e){return new(e||Un)(a.Y36(D.Z),a.Y36(V._),a.Y36(P.o),a.Y36(Z.R),a.Y36(a.sBO),a.Y36(o.F0),a.Y36(o.gz),a.Y36(M.y),a.Y36(S.g),a.Y36(ke))},Un.\u0275cmp=a.Xpm({type:Un,selectors:[["dtm-header"]],viewQuery:function(e,t){if(1&e&&a.Gf(Qt,5),2&e){let e;a.iGM(e=a.CRH())&&(t.tradeInModal=e.first)}},inputs:{showHeaderAtTopPage:"showHeaderAtTopPage",prerenderComplete:"prerenderComplete"},outputs:{burgerButtonEvent:"burgerButtonEvent"},decls:8,vars:9,consts:[["class","header-container","data-cy","header-container",3,"ngClass","accessibility",4,"ngIf"],["class","desktop-header",4,"ngIf"],[3,"closeAnalytic","zipErrorAnalytic","submitAnalytic","focusToElementId"],["tradeInModal",""],["data-cy","header-container",1,"header-container",3,"ngClass","accessibility"],["itemprop","name","content","DriveTime"],[1,"header-bar"],["class","top-back-button","includeSVG","dt-glyph-arrow",3,"analytic","click",4,"ngIf"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],["includeSVG","dt-glyph-arrow",1,"top-back-button",3,"analytic","click"],[1,"logo-container"],["itemprop","logo","src","/assets/img/dt-logo.png","alt","DriveTime Logo",1,"logo"],[1,"top-burger-button",3,"analytic","isRedDot","click"],["itemprop","url",1,"logo-container",3,"ngClass","dtmRouterLink","analytic","accessibility"],["itemprop","logo","alt","DriveTime Logo",1,"logo",3,"src"],["class","garage-link","ariaLabel","View Saved Cars Page",3,"dtmRouterLink","analytic",4,"ngIf"],["itemprop","telephone",3,"content"],["class","header-phone","href","tel:+18884181212","ariaLabel","Call Us",3,"analytic",4,"ngIf"],["ariaLabel","View Saved Cars Page",1,"garage-link",3,"dtmRouterLink","analytic"],["includeSVG","dt-glyph-heart-fill",1,"heart-icon"],["href","tel:+18884181212","ariaLabel","Call Us",1,"header-phone",3,"analytic"],["includeSVG","dt-glyph-phone",1,"phone-icon"],[1,"desktop-header"],["class","pre-header",4,"ngIf"],[1,"main-header",3,"ngClass"],[1,"logo"],[3,"dtmRouterLink","analytic","accessibility"],["itemprop","logo","src","/assets/img/dt-logo.png","alt","DriveTime Logo",1,"logo-img"],["class","primary-nav",4,"ngIf"],["class","slim-phone",4,"ngIf"],[1,"pre-header"],[1,"secondary-nav"],[1,"skip-to-content"],["className","frameless-button skip-to-content-button",3,"linkButtonType","click","focusin"],[1,"text-before"],[1,"secondary-item","non-link"],["includeSVG","dt-glyph-phone",1,"secondary-icon"],[1,"secondary-list-item"],[1,"secondary-item",3,"accessibility","dtmRouterLink","analytic"],[1,"primary-nav"],[1,"primary-item"],["data-cy","Search-Cars-VSR",1,"link-text",3,"dtmRouterLink","analytic","accessibility"],["data-cy","find-a-dealership-header-button",1,"link-text",3,"dtmRouterLink","analytic","accessibility"],["className","frameless-button value-your-car-link-text","trade-in-link","","ariaLabel","Get Your Trade-in Offer",3,"analytic","linkButtonType","elementId","qaid","promptForLocation"],[1,"primary-item","cta-button"],["buttonClass","rounded-button-green-small","ariaLabel","Get Approved","qaid","header-CTA",3,"buttonLink","analytic",4,"ngIf"],["ariaLabel","Schedule a Visit","buttonClass","rounded-button-green-small","data-cy","schedule-a-visit-header-button",3,"buttonLink","analytic",4,"ngIf"],["buttonClass","rounded-button-green-small","ariaLabel","Get Approved","qaid","header-CTA",3,"buttonLink","analytic"],["ariaLabel","Schedule a Visit","buttonClass","rounded-button-green-small","data-cy","schedule-a-visit-header-button",3,"buttonLink","analytic"],[1,"slim-phone"],["includeSVG","dt-glyph-phone",1,"slim-phone-icon"]],template:function(e,t){1&e&&(a.YNc(0,sn,16,10,"div",0),a._uU(1,"\n"),a.YNc(2,Sn,19,11,"div",1),a._uU(3,"\n"),a.TgZ(4,"dtm-trade-in-zip-modal",2,3),a._uU(6,"\n"),a.qZA(),a._uU(7,"\n\n")),2&e&&(a.Q6J("ngIf",t.prerenderComplete),a.xp6(2),a.Q6J("ngIf",t.prerenderComplete),a.xp6(2),a.Q6J("closeAnalytic",a.DdM(6,kn))("zipErrorAnalytic",a.DdM(7,Mn))("submitAnalytic",a.DdM(8,Pn))("focusToElementId",t.valueYourCarButtonId))},directives:[r.O5,Rt.H,r.mk,Ft.z,r.RF,r.n9,r.ED,Vt.pw,Tt.e,Gt,qt.b,Ht.b,Vt.qV,wt.p],pipes:[r.Ov],styles:["[_nghost-%COMP%] .header-container[_ngcontent-%COMP%]{width:100%;z-index:100;transition:margin-top .5s;transform:translate(0);position:fixed;margin-top:0;left:0}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .header-bar[_ngcontent-%COMP%]{box-shadow:0 0 .9rem #ececec;min-height:2.8rem;background-color:#fff;position:relative}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .header-bar[_ngcontent-%COMP%] .top-burger-button[_ngcontent-%COMP%]{left:.8rem;position:absolute;top:50%;transform:translateY(-50%) rotate(0)}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .header-bar[_ngcontent-%COMP%] .top-back-button[_ngcontent-%COMP%]{position:absolute;left:.75em;top:20%;z-index:100;fill:#00af66;width:7vw;height:7vw;transform:rotate(180deg)}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .phone-icon[_ngcontent-%COMP%]{height:1.2rem;fill:#00af66;right:.5rem;position:absolute;top:50%;transform:translateY(-50%) rotate(0);width:1.2rem}[_nghost-%COMP%] .header-container[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{width:7rem;line-height:0;display:block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%) rotate(0)}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .disabled[_ngcontent-%COMP%]{pointer-events:none}[_nghost-%COMP%] .header-post-scroll[_ngcontent-%COMP%]{margin-top:-3.3rem}[_nghost-%COMP%] .reverse-hamburger[_ngcontent-%COMP%] .header-bar[_ngcontent-%COMP%] .top-burger-button[_ngcontent-%COMP%]{left:auto;right:2.3rem;position:absolute;top:50%;transform:translateY(-50%) rotate(0)}[_nghost-%COMP%] .mobile-garage-header[_ngcontent-%COMP%] .header-bar[_ngcontent-%COMP%]{box-shadow:0 2px 5px #00000029}[_nghost-%COMP%] .mobile-garage-header[_ngcontent-%COMP%] .heart-icon[_ngcontent-%COMP%]{fill:#e55b57;display:inline-block;height:1.35rem;width:1.3rem;right:3.37rem;position:absolute;top:50%;transform:translateY(-50%) rotate(0)}[_nghost-%COMP%] .mobile-garage-header[_ngcontent-%COMP%] .phone-icon[_ngcontent-%COMP%]{right:5.75rem;height:1.3rem;width:1.3rem}[_nghost-%COMP%] .mobile-garage-header[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%]{width:7.1rem;line-height:0;display:block;left:.75rem;position:absolute;top:50%;transform:translateY(-50%) rotate(0)}[_nghost-%COMP%] .mobile-garage-header[_ngcontent-%COMP%] .logo-container[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:1.6rem}[_nghost-%COMP%] .mobile-garage-header[_ngcontent-%COMP%] .logo-container.back-arrow[_ngcontent-%COMP%]{left:3.09rem}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .pre-header[_ngcontent-%COMP%] .secondary-nav[_ngcontent-%COMP%] .secondary-item[_ngcontent-%COMP%]:hover{color:#c4eafa}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .pre-header[_ngcontent-%COMP%] .secondary-nav[_ngcontent-%COMP%] .secondary-item[_ngcontent-%COMP%]:hover .secondary-icon[_ngcontent-%COMP%]{fill:#c4eafa}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .pre-header[_ngcontent-%COMP%] .secondary-nav[_ngcontent-%COMP%] .secondary-item.non-link[_ngcontent-%COMP%]:hover{color:#fff;cursor:auto}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .pre-header[_ngcontent-%COMP%] .secondary-nav[_ngcontent-%COMP%] .secondary-item.non-link[_ngcontent-%COMP%]:hover .secondary-icon[_ngcontent-%COMP%]{fill:#fff}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .pre-header[_ngcontent-%COMP%] .secondary-nav[_ngcontent-%COMP%] .skip-to-content{color:#fff;margin-right:auto;display:flex;align-items:center;pointer-events:none}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .pre-header[_ngcontent-%COMP%] .secondary-nav[_ngcontent-%COMP%] .skip-to-content .skip-to-content-button{background-color:#075078;color:#fff;font-weight:600;padding:0 1.35rem;height:1.9rem;opacity:0;cursor:default;pointer-events:none}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .pre-header[_ngcontent-%COMP%] .secondary-nav[_ngcontent-%COMP%] .skip-to-content .skip-to-content-button:focus{transition:opacity .2s;opacity:1;pointer-events:auto}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .main-header[_ngcontent-%COMP%] .primary-nav[_ngcontent-%COMP%] .primary-item[_ngcontent-%COMP%]:hover{color:#075078}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .main-header[_ngcontent-%COMP%] .primary-nav[_ngcontent-%COMP%] .primary-item[_ngcontent-%COMP%] .link-text[_ngcontent-%COMP%]{text-decoration:none;color:#0c2340}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .main-header[_ngcontent-%COMP%] .primary-nav[_ngcontent-%COMP%] .primary-item[_ngcontent-%COMP%] .value-your-car-link-text{text-decoration:none;color:#0c2340;font-size:.89rem;font-weight:800}@media screen and (min-width: 414px){[_nghost-%COMP%] .header-bar[_ngcontent-%COMP%] .top-back-button[_ngcontent-%COMP%]{width:1.6rem;height:1.6rem}}@media screen and (min-width: 768px) and (max-width: 950px){[_nghost-%COMP%] .slim-logo-header-only[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] .logo-img[_ngcontent-%COMP%]{width:8.67rem}}@media screen and (min-width: 768px){[_nghost-%COMP%] .header-bar[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%]{display:block;box-shadow:0 0 .9rem #ececec;position:relative;z-index:100;background-color:#fff}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .pre-header[_ngcontent-%COMP%]{background:#0c2340;width:100%;color:#fff;font-size:.625rem}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .pre-header[_ngcontent-%COMP%] .secondary-nav[_ngcontent-%COMP%]{display:flex;list-style:none;max-width:1020px;margin:0 auto;padding-right:1rem;padding-left:1rem}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .pre-header[_ngcontent-%COMP%] .secondary-nav[_ngcontent-%COMP%] .secondary-item[_ngcontent-%COMP%]{margin:.5rem 0 .5rem 2rem;cursor:pointer;text-decoration:none;display:flex;align-items:center;font-weight:400;color:#fff}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .pre-header[_ngcontent-%COMP%] .secondary-nav[_ngcontent-%COMP%] .secondary-item[_ngcontent-%COMP%] .secondary-icon[_ngcontent-%COMP%]{width:.6rem;height:.6rem;line-height:0;margin-right:.2rem;fill:#fff;display:inline-block}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .pre-header[_ngcontent-%COMP%] .secondary-nav[_ngcontent-%COMP%] .secondary-list-item[_ngcontent-%COMP%]{outline:none}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .main-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;max-width:1020px;margin:0 auto;padding:0 1rem}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .main-header.slim-logo-header-only[_ngcontent-%COMP%]{min-height:4.61rem}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .main-header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%]{width:100%;max-width:11rem;padding-right:1rem;display:flex;align-items:center}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .main-header[_ngcontent-%COMP%] .logo[_ngcontent-%COMP%] .logo-img[_ngcontent-%COMP%]{cursor:pointer}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .main-header[_ngcontent-%COMP%] .primary-nav[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;list-style:none;padding:0;min-width:31rem;max-width:36rem;width:100%}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .main-header[_ngcontent-%COMP%] .primary-nav[_ngcontent-%COMP%] .primary-item[_ngcontent-%COMP%]{cursor:pointer;font-weight:800;font-size:.89rem;outline:none}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .main-header[_ngcontent-%COMP%] .primary-nav[_ngcontent-%COMP%] .primary-item.cta-button[_ngcontent-%COMP%]{min-width:9.5rem}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .main-header[_ngcontent-%COMP%] .slim-phone[_ngcontent-%COMP%]{display:flex;align-items:center;color:#4e575e;font-size:.77rem;font-weight:600;padding:2rem 0}[_nghost-%COMP%] .desktop-header[_ngcontent-%COMP%] .main-header[_ngcontent-%COMP%] .slim-phone[_ngcontent-%COMP%] .slim-phone-icon[_ngcontent-%COMP%]{width:.8rem;height:.8rem;line-height:0;display:inline-block;fill:#4e575e;margin-right:.2rem}}"]}),(0,qe.gn)([(0,tt.Ph)(ut.Z8.get(dt.j.Global.IsGarageAvailable)),(0,qe.w6)("design:type",We.y)],Un.prototype,"_isGarageAvailable$",void 0);var In=n(97054),Nn=n(16682);const Tn=["tradeinzipmodal"],Dn=function(){return{category:"Hamburger",label:"ChatCTA"}};function xn(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"li",21),a._uU(1,"\n "),a.TgZ(2,"dtm-icon-link",22),a.NdJ("click",function(){return a.CHM(e),a.oxw().openChat()}),a._uU(3,"\n Chat With Us\n "),a.qZA(),a._uU(4,"\n "),a.qZA()}2&e&&(a.xp6(2),a.Q6J("analytic",a.DdM(3,Dn))("className","nav-link sidebar-button")("qaid","qa-nav-chat"))}const En=function(e){return{open:e}},Ln=function(){return{category:"Hamburger",label:"CloseHamburger"}},Rn=function(e){return{"active-link":e}},Fn=function(){return{category:"Hamburger",label:"HOMECTA"}},Vn=function(e,t){return{"active-link":e,"red-dot":t}},Zn=function(){return{category:"Hamburger",label:"GA1CTA"}},Bn=function(){return{category:"Hamburger",label:"VSRCTA"}},Gn=function(){return{category:"Hamburger",label:"TradeInOfferCTA"}},qn=function(){return{category:"Hamburger",label:"DSRCTA"}},Hn=function(){return{category:"Hamburger",label:"SAVCTA"}},Qn=function(){return{category:"Hamburger",label:"MakePayment"}},zn=function(){return{category:"Hamburger",label:"ContactUs"}},Yn=function(){return{category:"Hamburger",label:"Careers"}},$n=function(){return{category:"GlobalTradeInZipModal",label:"ExitModal"}},jn=function(){return{category:"GlobalTradeInZipModal",action:"error",label:"ZipCode"}},Wn=function(){return{category:"GlobalTradeInZipModal",label:"SubmitZip"}};let Jn=(()=>{class e{constructor(e,t,n,i,r){this._linkHelper=e,this._activatedRoute=t,this._router=n,this._chatService=i,this._redDotService=r,this.close=new a.vpe,this.homeLink=this._linkHelper.homePage(),this.vsrLink=this._linkHelper.vehicleSearchPage(),this.dsrLink=this._linkHelper.dealershipSearchPage(),this.autoFinancingLink=this._linkHelper.getApproved1GenericPage(),this.contactUsLink=this._linkHelper.contactUsLink(),this.savLink=this._linkHelper.savDealerSelectPage(),this.isSav=!1,this.isDsr=!1,this.isVsr=!1,this.isGa=!1,this.isHome=!1,this.isContactUs=!1,this.bridgecrestLink=this._linkHelper.bridgecrestLink(),this.careersLink=this._linkHelper.careersLink(),this._componentUnsubscribe=new u.xQ,this.showRedDot$=this._redDotService.showRedDot$,this._router.events.subscribe(e=>{if(e instanceof o.m2){let e=te.A.getCurrentRouteData(this._activatedRoute).name;h.cmp.isDefinedAndNotNull(e)&&(this.isSav=e===d.x4.ScheduleAVisit||e===d.x4.ScheduleAVisitConfirmation,this.isDsr=e===d.x4.DealershipSearchResults,this.isGa=e===d.x4.GetApproved1||e===d.x4.GetApproved2,this.isVsr=e===d.x4.VehicleSearchResults,this.isContactUs=e===d.x4.ContactUs,this.isHome=e===d.x4.HomePage),this.tradeInModal&&this.tradeInModal.modal.showModal&&this.tradeInModal.modal.closeModal()}})}ngOnInit(){this.isChatActive$=this._chatService.validateChatLink()}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}openTradeInModal(){this.closeSideBar(),this.tradeInModal.openModal(!1)}closeSideBar(){this.close.emit()}openChat(){this.closeSideBar(),this._chatService.openChat()}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(Z.R),a.Y36(o.gz),a.Y36(o.F0),a.Y36(lt.a),a.Y36(ke))},e.\u0275cmp=a.Xpm({type:e,selectors:[["dtm-navigation"]],viewQuery:function(e,t){if(1&e&&a.Gf(Tn,5),2&e){let e;a.iGM(e=a.CRH())&&(t.tradeInModal=e.first)}},inputs:{opened:"opened"},outputs:{close:"close"},decls:79,vars:73,consts:[["role","navigation","id","nav-menu",1,"nav-list",3,"ngClass"],[1,"nav-top","header-offset","nav-close"],[3,"analytic","ariaLabel","qaid","click"],[1,"nav-link-list"],[1,"nav-list-item",3,"ngClass"],["iconSrc","dt-glyph-home","qaid","qa-nav-home",3,"linkUrl","analytic","className","click"],["data-cy","qa-nav-reddot",1,"nav-list-item",3,"ngClass"],["iconSrc","dt-glyph-checkmark",3,"linkUrl","analytic","className","qaid","click"],["iconSrc","dt-glyph-search",3,"linkUrl","analytic","className","qaid","click"],[1,"nav-list-item","flip-icon-x"],["trade-in-link","","iconSrc","dt-glyph-price-tag","ariaLabel","Get Your Trade-in Offer",3,"analytic","className","promptForLocation","onTradeInClick"],["iconSrc","dt-glyph-map-pin",3,"linkUrl","analytic","className","qaid","click"],["iconSrc","dt-glyph-calendar",3,"linkUrl","className","qaid","analytic","click"],["class","nav-list-item",4,"ngIf"],[1,"line-seperation"],[1,"nav-list-item-low"],["id","nav-payment","qaid","qa-nav-payment","data-cy","qa-nav-payment",1,"sidebar-button",3,"href","targetedLink","analytic","click"],["qaid","qa-nav-contact-us","id","nav-contact",1,"sidebar-button",3,"dtmRouterLink","analytic","click"],["qaid","qa-nav-careers","id","nav-careers",1,"sidebar-button",3,"href","targetedLink","analytic","click"],[3,"closeAnalytic","zipErrorAnalytic","submitAnalytic"],["tradeinzipmodal",""],[1,"nav-list-item"],["iconSrc","dt-glyph-chat",3,"analytic","className","qaid","click"]],template:function(e,t){1&e&&(a.TgZ(0,"nav",0),a._uU(1,"\n "),a.TgZ(2,"header",1),a._uU(3,"\n "),a.TgZ(4,"dtm-close-button",2),a.NdJ("click",function(){return t.closeSideBar()}),a._uU(5,"\n "),a.qZA(),a._uU(6,"\n "),a.qZA(),a._uU(7,"\n\n "),a.TgZ(8,"ul",3),a._uU(9,"\n "),a.TgZ(10,"li",4),a._uU(11,"\n "),a.TgZ(12,"dtm-icon-link",5),a.NdJ("click",function(){return t.closeSideBar()}),a._uU(13,"\n Home\n "),a.qZA(),a._uU(14,"\n "),a.qZA(),a._uU(15,"\n "),a.TgZ(16,"li",6),a.ALo(17,"async"),a._uU(18,"\n "),a.TgZ(19,"dtm-icon-link",7),a.NdJ("click",function(){return t.closeSideBar()}),a._uU(20,"\n Get Your Terms\n "),a.qZA(),a._uU(21,"\n "),a.qZA(),a._uU(22,"\n "),a.TgZ(23,"li",4),a._uU(24,"\n "),a.TgZ(25,"dtm-icon-link",8),a.NdJ("click",function(){return t.closeSideBar()}),a._uU(26,"\n Search Cars\n "),a.qZA(),a._uU(27,"\n "),a.qZA(),a._uU(28,"\n "),a.TgZ(29,"li",9),a._uU(30,"\n "),a.TgZ(31,"dtm-icon-link",10),a.NdJ("promptForLocation",function(){return t.openTradeInModal()})("onTradeInClick",function(){return t.closeSideBar()}),a._uU(32,"\n Value Your Car\n "),a.qZA(),a._uU(33,"\n "),a.qZA(),a._uU(34,"\n "),a.TgZ(35,"li",4),a._uU(36,"\n "),a.TgZ(37,"dtm-icon-link",11),a.NdJ("click",function(){return t.closeSideBar()}),a._uU(38,"\n Find a Dealership\n "),a.qZA(),a._uU(39,"\n "),a.qZA(),a._uU(40,"\n "),a.TgZ(41,"li",4),a._uU(42,"\n "),a.TgZ(43,"dtm-icon-link",12),a.NdJ("click",function(){return t.closeSideBar()}),a._uU(44,"\n Schedule a Visit\n "),a.qZA(),a._uU(45,"\n "),a.qZA(),a._uU(46,"\n "),a.YNc(47,xn,5,4,"li",13),a.ALo(48,"async"),a._uU(49,"\n "),a.qZA(),a._uU(50,"\n "),a._UZ(51,"div",14),a._uU(52,"\n "),a.TgZ(53,"ul",3),a._uU(54,"\n "),a.TgZ(55,"li",15),a._uU(56,"\n "),a.TgZ(57,"a",16),a.NdJ("click",function(){return t.closeSideBar()}),a._uU(58,"\n Make a Payment\n "),a.qZA(),a._uU(59,"\n "),a.qZA(),a._uU(60,"\n "),a.TgZ(61,"li",15),a._uU(62,"\n "),a.TgZ(63,"a",17),a.NdJ("click",function(){return t.closeSideBar()}),a._uU(64,"\n Contact Us\n "),a.qZA(),a._uU(65,"\n "),a.qZA(),a._uU(66,"\n "),a.TgZ(67,"li",15),a._uU(68,"\n "),a.TgZ(69,"a",18),a.NdJ("click",function(){return t.closeSideBar()}),a._uU(70,"\n Careers\n "),a.qZA(),a._uU(71,"\n "),a.qZA(),a._uU(72,"\n "),a.qZA(),a._uU(73,"\n"),a.qZA(),a._uU(74,"\n"),a.TgZ(75,"dtm-trade-in-zip-modal",19,20),a._uU(77,"\n"),a.qZA(),a._uU(78,"\n")),2&e&&(a.Q6J("ngClass",a.VKq(47,En,t.opened)),a.uIk("aria-hidden",!t.opened),a.xp6(4),a.Q6J("analytic",a.DdM(49,Ln))("ariaLabel","Close Navigation")("qaid","qa-nav-close"),a.xp6(6),a.Q6J("ngClass",a.VKq(50,Rn,t.isHome)),a.xp6(2),a.Q6J("linkUrl",t.homeLink)("analytic",a.DdM(52,Fn))("className","nav-link"),a.xp6(4),a.Q6J("ngClass",a.WLB(53,Vn,t.isGa,a.lcZ(17,43,t.showRedDot$))),a.xp6(3),a.Q6J("linkUrl",t.autoFinancingLink)("analytic",a.DdM(56,Zn))("className","nav-link sidebar-button")("qaid","qa-nav-approval"),a.xp6(4),a.Q6J("ngClass",a.VKq(57,Rn,t.isVsr)),a.xp6(2),a.Q6J("linkUrl",t.vsrLink)("analytic",a.DdM(59,Bn))("className","nav-link sidebar-button")("qaid","qa-nav-vehicles"),a.xp6(6),a.Q6J("analytic",a.DdM(60,Gn))("className","nav-link sidebar-button"),a.xp6(4),a.Q6J("ngClass",a.VKq(61,Rn,t.isDsr)),a.xp6(2),a.Q6J("linkUrl",t.dsrLink)("analytic",a.DdM(63,qn))("className","nav-link sidebar-button")("qaid","qa-nav-dealerships"),a.xp6(4),a.Q6J("ngClass",a.VKq(64,Rn,t.isSav)),a.xp6(2),a.Q6J("linkUrl",t.savLink)("className","nav-link sidebar-button")("qaid","qa-nav-schedule")("analytic",a.DdM(66,Hn)),a.xp6(4),a.Q6J("ngIf",a.lcZ(48,45,t.isChatActive$)),a.xp6(10),a.Q6J("href",t.bridgecrestLink,a.LSH)("targetedLink",t.bridgecrestLink)("analytic",a.DdM(67,Qn)),a.xp6(6),a.Q6J("dtmRouterLink",t.contactUsLink)("analytic",a.DdM(68,zn)),a.xp6(6),a.Q6J("href",t.careersLink,a.LSH)("targetedLink",t.careersLink)("analytic",a.DdM(69,Yn)),a.xp6(6),a.Q6J("closeAnalytic",a.DdM(70,$n))("zipErrorAnalytic",a.DdM(71,jn))("submitAnalytic",a.DdM(72,Wn)))},directives:[r.mk,In.Q,Tt.e,Nn.a,Vt.qV,r.O5,Vt.AK,qt.b,Rt.H],pipes:[r.Ov],styles:["[_nghost-%COMP%] .dtm-navbar[_ngcontent-%COMP%]{position:absolute;z-index:200}[_nghost-%COMP%] .active-link[_ngcontent-%COMP%]{background-color:#075078}[_nghost-%COMP%] .nav-list[_ngcontent-%COMP%]{background-color:#0c2340;bottom:0;height:100%;left:-80%;max-width:300px;min-height:90vh;overflow-y:scroll;position:fixed;top:0;transition:all .3s ease-in-out;width:80%;z-index:200}[_nghost-%COMP%] .lower-links[_ngcontent-%COMP%]{font-size:4.5vw;padding:.5rem 0}[_nghost-%COMP%] .open[_ngcontent-%COMP%]{left:0}[_nghost-%COMP%] .bottom-icon-container[_ngcontent-%COMP%]{display:flex;align-items:center;text-align:center;justify-content:center;margin-top:1.5rem}[_nghost-%COMP%] .nav-link-list[_ngcontent-%COMP%]{list-style:none;margin-top:0;padding:0}[_nghost-%COMP%] .nav-link-list[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#fff;display:block;text-decoration:none}[_nghost-%COMP%] .nav-list-item[_ngcontent-%COMP%]{padding:.8rem 9vw}[_nghost-%COMP%] .nav-list-item[_ngcontent-%COMP%] .icon-link-img{width:5vw;margin-right:3vw;fill:#00abe8}[_nghost-%COMP%] .nav-list-item.flip-icon-x[_ngcontent-%COMP%] .icon-link-img{transform:scaleX(-1)}[_nghost-%COMP%] .nav-list-item.red-dot[_ngcontent-%COMP%]:after{left:-1.056rem;top:-1.1rem}[_nghost-%COMP%] .nav-list-item-low[_ngcontent-%COMP%]{padding:.5rem 9vw;font-size:4.5vw}[_nghost-%COMP%] .phone-list-item[_ngcontent-%COMP%]{flex:1}[_nghost-%COMP%] .nav-phone[_ngcontent-%COMP%]{text-decoration:none}[_nghost-%COMP%] .phone-icon[_ngcontent-%COMP%]{display:inline-block;width:7.5vw;fill:#00abe8;margin-bottom:.4rem}[_nghost-%COMP%] .line-seperation[_ngcontent-%COMP%]{height:1px;background-color:#075078;margin:.5rem auto;width:85%}[_nghost-%COMP%] .close-button{fill:#fff}@media screen and (min-width: 414px){[_nghost-%COMP%] .nav-list-item[_ngcontent-%COMP%]{font-size:.85rem;padding:1.2rem 2rem}[_nghost-%COMP%] .nav-list-item[_ngcontent-%COMP%] .icon-link-img{width:1rem;margin-right:.7rem}[_nghost-%COMP%] .nav-list-item-low[_ngcontent-%COMP%]{font-size:1rem;padding:.8rem 2rem}[_nghost-%COMP%] .phone-icon[_ngcontent-%COMP%]{width:1.5rem}[_nghost-%COMP%] .line-seperation[_ngcontent-%COMP%]{margin:.8 auto}}@media screen and (min-width: 414px) and (min-width: 768px){.nav-list[_ngcontent-%COMP%]{display:none}}"]}),e})();const Xn=function(e){return{open:e}};let Kn=(()=>{class e{constructor(){this.visible=!1,this.close=new a.vpe}handleClick(e){this.close.emit(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["dtm-overlay"]],inputs:{qaid:"qaid",visible:"visible"},outputs:{close:"close"},decls:2,vars:4,consts:[[1,"background-overlay",3,"ngClass","click"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a.NdJ("click",function(e){return t.handleClick(e)}),a.qZA(),a._uU(1,"\n")),2&e&&(a.Q6J("ngClass",a.VKq(2,Xn,t.visible)),a.uIk("qaid",t.qaid))},directives:[r.mk],styles:[".background-overlay[_ngcontent-%COMP%]{background-color:#ececec;display:none;height:100%;opacity:0;position:fixed;transition:opacity .3s linear;width:100%;z-index:150}.open[_ngcontent-%COMP%]{display:block;opacity:.3}@media screen and (min-width: 768px){.background-overlay[_ngcontent-%COMP%]{display:none}}"]}),e})(),ei=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=a.Xpm({type:e,selectors:[["dtm-device-offline"]],decls:16,vars:0,consts:[[1,"offlineBackground"],[1,"offlineMessage"],[1,"offlineIcon"],["includeSVG","dt-glyph-alert","height","4rem","width","4rem"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a._uU(1,"\n "),a.TgZ(2,"div",1),a._uU(3,"\n "),a.TgZ(4,"div",2),a._uU(5,"\n "),a._UZ(6,"span",3),a._uU(7,"\n "),a.qZA(),a._uU(8,"\n "),a.TgZ(9,"span"),a._uU(10,"\n Uh oh! Look like you're offline."),a._UZ(11,"br"),a._uU(12,"Please check your internet connection and try again.\n "),a.qZA(),a._uU(13,"\n "),a.qZA(),a._uU(14,"\n"),a.qZA(),a._uU(15,"\n"))},directives:[Vt.pw],styles:[".offlineMessage[_ngcontent-%COMP%]{background-color:#fff;padding:1.5rem;text-align:center;width:80%}.offlineBackground[_ngcontent-%COMP%]{align-items:center;background-color:#000000bf;display:flex;height:100%;justify-content:center;position:fixed;width:100%;z-index:999}"]}),e})();function ti(e,t){1&e&&(a.TgZ(0,"a",5),a._uU(1,"Google Play Store"),a.qZA())}function ni(e,t){1&e&&(a.TgZ(0,"a",6),a._uU(1,"Apple App Store"),a.qZA())}let ii=(()=>{class e{constructor(e){this.appConfig=e,this.isAndroidApp=!1,this.isIosApp=!1,this.isAndroidApp=this.appConfig.isAndroidApp,this.isIosApp=this.appConfig.isIosApp}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(V._))},e.\u0275cmp=a.Xpm({type:e,selectors:[["dtm-outdated-version"]],decls:18,vars:2,consts:[[1,"outdated-background"],[1,"outdated-message"],["includeSVG","dt-glyph-alert",1,"alert-icon"],["href","https://play.google.com/store/apps/details?id=com.drivetime.MobileOnline&hl=en_US?source=mobileapp&camn=MobileAppUpdate&ctaid=promptgoogleplaylink",4,"ngIf"],["href","https://itunes.apple.com/us/app/drivetime-used-cars-for-sale/id1348008253?mt=8&source=mobileapp&camn=MobileAppUpdate&ctaid=promptapplestorelink",4,"ngIf"],["href","https://play.google.com/store/apps/details?id=com.drivetime.MobileOnline&hl=en_US?source=mobileapp&camn=MobileAppUpdate&ctaid=promptgoogleplaylink"],["href","https://itunes.apple.com/us/app/drivetime-used-cars-for-sale/id1348008253?mt=8&source=mobileapp&camn=MobileAppUpdate&ctaid=promptapplestorelink"]],template:function(e,t){1&e&&(a.TgZ(0,"div",0),a._uU(1,"\n "),a.TgZ(2,"div",1),a._uU(3,"\n "),a._UZ(4,"span",2),a._uU(5,"\n "),a.TgZ(6,"span"),a._uU(7,"Please update the DriveTime application in order to use the new, genius car buying tools."),a.qZA(),a._uU(8,"\n "),a.TgZ(9,"p"),a._uU(10,"\n "),a.YNc(11,ti,2,0,"a",3),a._uU(12,"\n "),a.YNc(13,ni,2,0,"a",4),a._uU(14,"\n "),a.qZA(),a._uU(15,"\n "),a.qZA(),a._uU(16,"\n"),a.qZA(),a._uU(17,"\n")),2&e&&(a.xp6(11),a.Q6J("ngIf",t.isAndroidApp),a.xp6(2),a.Q6J("ngIf",t.isIosApp))},directives:[Vt.pw,r.O5],styles:["[_nghost-%COMP%] .outdated-background[_ngcontent-%COMP%]{align-items:center;background-color:#000000bf;display:flex;height:100%;justify-content:center;position:fixed;width:100%;z-index:999}[_nghost-%COMP%] .outdated-message[_ngcontent-%COMP%]{background-color:#fff;padding:4vw;text-align:center;width:80%}[_nghost-%COMP%] .alert-icon[_ngcontent-%COMP%]{display:block;height:6rem}@media screen and (min-width: 414px){[_nghost-%COMP%] .outdated-message[_ngcontent-%COMP%]{max-width:20rem}}"]}),e})();var ai=n(70056),oi=n(72349),ri=n(5282),si=n(17801),li=n(63204),ci=n(24777),di=n(31081);const ui=function(){return{"visible-display":"deviceType === 1"}},pi=function(e,t){return{category:e,label:t}};function hi(e,t){if(1&e&&(a.TgZ(0,"a",1),a._uU(1,"\n "),a._UZ(2,"img",2),a._uU(3,"\n"),a.qZA()),2&e){const e=a.oxw();a.s9C("href",e.iosLink,a.LSH),a.Q6J("ngClass",a.DdM(3,ui))("analytic",a.WLB(4,pi,e.analyticCategory,e.iosAnalyticLabel))}}const mi=function(){return{"visible-display":"deviceType === 2"}};function gi(e,t){if(1&e&&(a.TgZ(0,"a",1),a._uU(1,"\n "),a._UZ(2,"img",3),a._uU(3,"\n"),a.qZA()),2&e){const e=a.oxw();a.s9C("href",e.androidLink,a.LSH),a.Q6J("ngClass",a.DdM(3,mi))("analytic",a.WLB(4,pi,e.analyticCategory,e.androidAnalyticLabel))}}let fi=(()=>{class e{constructor(e){this._windowService=e,this.deviceType=di.Yi.Unknown,this.iosLink="",this.androidLink="",this.iosAnalyticLabel="",this.androidAnalyticLabel="",this.analyticCategory="",this._componentUnsubscribe=new u.xQ}ngOnInit(){this._windowService.deviceType.pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(e=>e!==di.Yi.Unknown)).subscribe(e=>{this.deviceType=e})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}}return e.\u0275fac=function(t){return new(t||e)(a.Y36(N.u))},e.\u0275cmp=a.Xpm({type:e,selectors:[["dtm-app-download-buttons"]],inputs:{iosLink:"iosLink",androidLink:"androidLink",iosAnalyticLabel:"iosAnalyticLabel",androidAnalyticLabel:"androidAnalyticLabel",analyticCategory:"analyticCategory"},decls:4,vars:2,consts:[["class","hidden-display",3,"ngClass","href","analytic",4,"ngIf"],[1,"hidden-display",3,"ngClass","href","analytic"],["src","/assets/img/apple-store-logo.png","alt","App Store Logo",1,"store-badge"],["src","/assets/img/google-play-badge.png","alt","Google Play Store Logo",1,"store-badge"]],template:function(e,t){1&e&&(a.YNc(0,hi,4,7,"a",0),a._uU(1,"\n"),a.YNc(2,gi,4,7,"a",0),a._uU(3,"\n")),2&e&&(a.Q6J("ngIf",1===t.deviceType),a.xp6(2),a.Q6J("ngIf",2===t.deviceType))},directives:[r.O5,r.mk,Tt.e],styles:["[_nghost-%COMP%] .store-badge[_ngcontent-%COMP%]{width:100%;display:inline-block}"]}),e})();var yi=n(53226);const _i=["downPaymentModal"];function Ai(e,t){if(1&e&&(a.TgZ(0,"div",30),a._uU(1,"\n "),a.TgZ(2,"span",31),a._uU(3,"Download Our App"),a.qZA(),a._uU(4,"\n "),a.TgZ(5,"div",32),a._uU(6,"\n "),a.TgZ(7,"dtm-app-download-buttons",33),a._uU(8,"\n "),a.qZA(),a._uU(9,"\n "),a.qZA(),a._uU(10,"\n "),a._UZ(11,"div",34),a._uU(12,"\n"),a.qZA()),2&e){const e=a.oxw();a.xp6(7),a.Q6J("iosLink",e.iosLink)("androidLink",e.androidLink)("iosAnalyticLabel","DownloadAppAppStore")("androidAnalyticLabel","DownloadAppGooglePlay")("analyticCategory","Footer")}}function vi(e,t){1&e&&a.GkF(0)}function bi(e,t){1&e&&a.GkF(0)}const Ci=function(){return{category:"Footer",label:"Careers"}},wi=function(){return{category:"Footer",label:"Articles"}},Si=function(){return{category:"Footer",label:"SearchByLocation"}},ki=function(){return{category:"Footer",label:"DownPaymentComparison"}};function Mi(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"div"),a._uU(1,"\n "),a.YNc(2,vi,1,0,"ng-container",35),a._uU(3,"\n "),a.YNc(4,bi,1,0,"ng-container",35),a._uU(5,"\n "),a.TgZ(6,"div",36),a._uU(7,"\n "),a._UZ(8,"dtm-link",37),a._uU(9,"\n "),a._UZ(10,"dtm-link",38),a._uU(11,"\n "),a._UZ(12,"dtm-link",39),a._uU(13,"\n "),a._UZ(14,"br"),a._uU(15,"\n "),a.TgZ(16,"dtm-link",40),a.NdJ("click",function(){return a.CHM(e),a.oxw().openDownPaymentModal()}),a.qZA(),a._uU(17,"\n "),a.qZA(),a._uU(18,"\n "),a.qZA()}if(2&e){const e=a.oxw(),t=a.MAs(70),n=a.MAs(73);a.xp6(2),a.Q6J("ngTemplateOutlet",t),a.xp6(2),a.Q6J("ngTemplateOutlet",n),a.xp6(4),a.Q6J("linkUrl",e.careersLink)("openNewTab",!0)("internalRoute",!1)("analytic",a.DdM(11,Ci)),a.xp6(2),a.Q6J("linkUrl",e.articlesLink)("analytic",a.DdM(12,wi)),a.xp6(2),a.Q6J("linkUrl",e.searchByLocationLink)("analytic",a.DdM(13,Si)),a.xp6(4),a.Q6J("analytic",a.DdM(14,ki))}}function Pi(e,t){1&e&&a._UZ(0,"br")}const Oi=function(){return{category:"Footer",label:"PrivacyPreferences"}};function Ui(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"dtm-link",41),a.NdJ("click",function(){return a.CHM(e),a.oxw().togglePreferenceCenter()}),a.qZA()}if(2&e){const e=a.oxw();a.Q6J("linkUrl",e.privacyPreferencesLink)("analytic",a.DdM(2,Oi))}}function Ii(e,t){1&e&&a._UZ(0,"br")}function Ni(e,t){1&e&&a.GkF(0,66)}function Ti(e,t){1&e&&a.GkF(0)}const Di=function(){return{category:"Footer",label:"VSRCTA"}},xi=function(){return{category:"Footer",label:"SearchbyLocation"}},Ei=function(){return{category:"Footer",label:"SearchbyMakeModel"}},Li=function(){return{category:"Footer",label:"GA1CTA"}},Ri=function(){return{category:"Footer",label:"DSRCTA"}},Fi=function(){return{category:"Footer",label:"SAVCTA"}},Vi=function(){return{category:"Footer",label:"FAQs"}},Zi=function(){return{category:"Footer",label:"ContactUs"}},Bi=function(){return{category:"Footer",label:"MakePayment"}},Gi=function(){return{category:"Footer",label:"Feedback"}},qi=function(){return{category:"Footer",label:"Reviews"}};function Hi(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"div",42),a._uU(1,"\n "),a.TgZ(2,"div",43),a._uU(3,"\n "),a.TgZ(4,"span",44),a._uU(5,"Search & Finance"),a.qZA(),a._uU(6,"\n "),a.TgZ(7,"ul",45),a._uU(8,"\n "),a.TgZ(9,"li",46),a._uU(10,"\n "),a._UZ(11,"dtm-link",47),a._uU(12,"\n "),a.qZA(),a._uU(13,"\n "),a.TgZ(14,"li",46),a._uU(15,"\n "),a._UZ(16,"dtm-link",48),a._uU(17,"\n "),a.qZA(),a._uU(18,"\n "),a.TgZ(19,"li",46),a._uU(20,"\n "),a._UZ(21,"dtm-link",49),a._uU(22,"\n "),a.qZA(),a._uU(23,"\n "),a.TgZ(24,"li",46),a._uU(25,"\n "),a._UZ(26,"dtm-link",50),a._uU(27,"\n "),a.qZA(),a._uU(28,"\n "),a.TgZ(29,"li",46),a._uU(30,"\n "),a._UZ(31,"dtm-link",51),a._uU(32,"\n "),a.qZA(),a._uU(33,"\n "),a.TgZ(34,"li",46),a._uU(35,"\n "),a._UZ(36,"dtm-link",52),a._uU(37,"\n "),a.qZA(),a._uU(38,"\n "),a.TgZ(39,"li",46),a._uU(40,"\n "),a._UZ(41,"dtm-link",53),a._uU(42,"\n "),a.qZA(),a._uU(43,"\n "),a.qZA(),a._uU(44,"\n "),a.qZA(),a._uU(45,"\n "),a.TgZ(46,"div",43),a._uU(47,"\n "),a.TgZ(48,"span",44),a._uU(49,"Help Center"),a.qZA(),a._uU(50,"\n "),a.TgZ(51,"ul",45),a._uU(52,"\n "),a.TgZ(53,"li",46),a._uU(54,"\n "),a._UZ(55,"dtm-link",54),a._uU(56,"\n "),a.qZA(),a._uU(57,"\n "),a.TgZ(58,"li",46),a._uU(59,"\n "),a._UZ(60,"dtm-link",55),a._uU(61,"\n "),a.qZA(),a._uU(62,"\n "),a.TgZ(63,"li",46),a._uU(64,"\n "),a._UZ(65,"dtm-link",56),a._uU(66,"\n "),a.qZA(),a._uU(67,"\n "),a.TgZ(68,"li",46),a._uU(69,"\n "),a.TgZ(70,"dtm-link-button",57),a.NdJ("click",function(){return a.CHM(e),a.oxw().openDownPaymentModal()}),a._uU(71,"\n "),a.TgZ(72,"span",58),a._uU(73,"Down Payment Comparison"),a.qZA(),a._uU(74,"\n "),a.qZA(),a._uU(75,"\n "),a.qZA(),a._uU(76,"\n "),a.qZA(),a._uU(77,"\n "),a.qZA(),a._uU(78,"\n "),a.TgZ(79,"div",43),a._uU(80,"\n "),a.TgZ(81,"span",44),a._uU(82,"Our Company"),a.qZA(),a._uU(83,"\n "),a.TgZ(84,"ul",45),a._uU(85,"\n "),a.TgZ(86,"li",46),a._uU(87,"\n "),a._UZ(88,"dtm-link",59),a.TgZ(89,"span",60),a._uU(90,"Now Hiring!"),a.qZA(),a._uU(91,"\n "),a.qZA(),a._uU(92,"\n "),a.TgZ(93,"li",46),a._uU(94,"\n "),a._UZ(95,"dtm-link",61),a._uU(96,"\n "),a.qZA(),a._uU(97,"\n "),a.TgZ(98,"li",46),a._uU(99,"\n "),a._UZ(100,"dtm-link",62),a._uU(101,"\n "),a.qZA(),a._uU(102,"\n "),a.qZA(),a._uU(103,"\n "),a.qZA(),a._uU(104,"\n "),a.TgZ(105,"div",43),a._uU(106,"\n "),a.TgZ(107,"span",44),a._uU(108,"Connect"),a.qZA(),a._uU(109,"\n "),a.TgZ(110,"ul",45),a._uU(111,"\n "),a.TgZ(112,"li",63),a._uU(113,"\n "),a._UZ(114,"dtm-link",64),a._uU(115,"\n "),a.qZA(),a._uU(116,"\n "),a.qZA(),a._uU(117,"\n "),a.YNc(118,Ni,1,0,"ng-container",65),a._uU(119,"\n "),a.YNc(120,Ti,1,0,"ng-container",35),a._uU(121,"\n "),a.qZA(),a._uU(122,"\n "),a.qZA()}if(2&e){const e=a.oxw(),t=a.MAs(70),n=a.MAs(73);a.xp6(11),a.Q6J("linkUrl",e.vsrLink)("analytic",a.DdM(35,Di)),a.xp6(5),a.Q6J("linkUrl",e.searchByLocationLink)("analytic",a.DdM(36,xi)),a.xp6(5),a.Q6J("linkUrl",e.searchByMakeModelLink)("analytic",a.DdM(37,Ei)),a.xp6(5),a.Q6J("linkUrl",e.getApprovedLink)("analytic",a.DdM(38,Li)),a.xp6(5),a.Q6J("linkUrl",e.dsrLink)("analytic",a.DdM(39,Ri)),a.xp6(5),a.Q6J("linkUrl",e.savLink)("analytic",a.DdM(40,Fi)),a.xp6(5),a.Q6J("linkUrl",e.articlesLink)("analytic",a.DdM(41,wi)),a.xp6(14),a.Q6J("linkUrl",e.faqLink)("analytic",a.DdM(42,Vi)),a.xp6(5),a.Q6J("linkUrl",e.contactUsLink)("analytic",a.DdM(43,Zi)),a.xp6(5),a.Q6J("internalRoute",!1)("openNewTab",!0)("linkUrl",e.makeAPaymentLink)("analytic",a.DdM(44,Bi)),a.xp6(5),a.Q6J("analytic",a.DdM(45,ki))("elementId",e.downPaymentButtonId)("linkButtonType",e.LinkbuttonTypes.Button),a.xp6(18),a.Q6J("internalRoute",!1)("openNewTab",!0)("linkUrl",e.careersLink)("analytic",a.DdM(46,Ci)),a.xp6(7),a.Q6J("linkUrl",e.feedbackLink)("analytic",a.DdM(47,Gi)),a.xp6(5),a.Q6J("linkUrl",e.reviewsLink)("analytic",a.DdM(48,qi)),a.xp6(18),a.Q6J("ngTemplateOutlet",t),a.xp6(2),a.Q6J("ngTemplateOutlet",n)}}function Qi(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"dtm-link",67),a.NdJ("click",function(){return a.CHM(e),a.oxw().togglePreferenceCenter()}),a.qZA()}if(2&e){const e=a.oxw();a.Q6J("linkUrl",e.privacyPreferencesLink)("analytic",a.DdM(2,Oi))}}const zi=function(){return{category:"Footer",label:"Twitter",optimizelyEvent:!0,addExperimentPageName:!0}},Yi=function(){return{category:"Footer",label:"Instagram",optimizelyEvent:!0,addExperimentPageName:!0}},$i=function(){return{category:"Footer",label:"YouTube",optimizelyEvent:!0,addExperimentPageName:!0}},ji=function(){return{category:"Footer",label:"Facebook",optimizelyEvent:!0,addExperimentPageName:!0}};function Wi(e,t){if(1&e&&(a._uU(0,"\n "),a.TgZ(1,"div",68),a._uU(2,"\n "),a.TgZ(3,"dtm-link",69),a._uU(4,"\n "),a.qZA(),a._uU(5,"\n "),a.TgZ(6,"dtm-link",70),a._uU(7,"\n "),a.qZA(),a._uU(8,"\n "),a.TgZ(9,"dtm-link",71),a._uU(10,"\n "),a.qZA(),a._uU(11,"\n "),a.TgZ(12,"dtm-link",72),a._uU(13,"\n "),a.qZA(),a._uU(14,"\n "),a.qZA(),a._uU(15,"\n")),2&e){const e=a.oxw();a.xp6(3),a.Q6J("linkUrl",e.twitterLink)("analytic",a.DdM(16,zi))("openNewTab",!0)("internalRoute",!1),a.xp6(3),a.Q6J("linkUrl",e.instagramLink)("analytic",a.DdM(17,Yi))("openNewTab",!0)("internalRoute",!1),a.xp6(3),a.Q6J("linkUrl",e.youtubeLink)("analytic",a.DdM(18,$i))("openNewTab",!0)("internalRoute",!1),a.xp6(3),a.Q6J("linkUrl",e.facebookLink)("analytic",a.DdM(19,ji))("openNewTab",!0)("internalRoute",!1)}}const Ji=function(){return{category:"Footer",label:"ReviewUsCTA"}};function Xi(e,t){if(1&e&&(a._uU(0,"\n "),a.TgZ(1,"div",73),a._uU(2,"\n "),a._UZ(3,"dtm-review-ratings",74),a._uU(4,"\n "),a.qZA(),a._uU(5,"\n")),2&e){const e=a.oxw();a.xp6(3),a.Q6J("rating$",e.rating)("reviewLinkAnalytic",a.DdM(2,Ji))}}const Ki=function(){return{ariaLabel:"Footer",role:"contentinfo"}},ea=function(e){return{"slim-layout":e}},ta=function(){return{category:"Footer",label:"PrivacyPolicy"}},na=function(){return{category:"Footer",label:"TermsOfUse"}},ia=function(){return{category:"Footer",label:"CookiePolicy"}},aa=function(){return{category:"Footer",label:"DontSellInfo"}},oa=function(){return{category:"Footer",label:"CADisclaimer"}},ra=function(e){return{"wide-desktop-bottom-row-links":e}},sa=function(){return{category:"Footer",label:"DownPaymentComparisonModalClose"}},la=function(){return{ariaLabel:"View Down Payment Disclaimer"}};class ca{constructor(e,t,n,i,a,o,r,s,l){this._linkHelper=e,this._cdRef=t,this._appConfigService=n,this._router=i,this._activatedRoute=a,this._dealershipService=o,this._analyticService=r,this._onetrustService=s,this._document=l,this.caDisclaimerLink=this._linkHelper.caDisclaimerLink(),this.privacyPolicyLink=this._linkHelper.privacyPolicyLink(),this.privacyPreferencesLink="",this.termsOfUseLink=this._linkHelper.termsOfUseLink(),this.cookiePolicyLink=this._linkHelper.cookiePolicyLink(),this.twitterLink=this._linkHelper.twitterLink(),this.instagramLink=this._linkHelper.instagramLink(),this.youtubeLink=this._linkHelper.youtubeLink(),this.facebookLink=this._linkHelper.facebookLink(),this.careersLink=this._linkHelper.careersLink(),this.dontSellInfoLink=this._linkHelper.dontSellInfoLink(),this.iosLink=this._linkHelper.drivetimeAppleStoreLink(),this.androidLink=this._linkHelper.drivetimeGooglePlayStoreLink(),this.vsrLink=this._linkHelper.vehicleSearchPage(),this.searchByLocationLink=this._linkHelper.vsrLinkSwampByLocation(),this.searchByMakeModelLink=this._linkHelper.vsrLinkSwampByMakeModel(),this.getApprovedLink=this._linkHelper.getApproved1GenericPage(),this.dsrLink=this._linkHelper.dealershipSearchPage(),this.articlesLink=this._linkHelper.vftTopicListPage(),this.savLink=this._linkHelper.savDealerSelectPage(),this.contactUsLink=this._linkHelper.contactUsLink(),this.feedbackLink=this._linkHelper.feedbackLink(),this.makeAPaymentLink=this._linkHelper.bridgecrestLink(),this.faqLink=this._linkHelper.contactUsApprovalLink(),this.reviewsLink=this._linkHelper.reviewsLink(),this.currentYear=(new Date).getFullYear(),this.inApp=!1,this.slimLayout=!1,this.rating=new j.X(null),this._componentUnsubscribe=new u.xQ,this.downPaymentButtonId=oi.uR.generateShortUuid(),this.LinkbuttonTypes=Ct.CY}ngOnInit(){return(0,qe.mG)(this,void 0,void 0,function*(){this.inApp=this._appConfigService.isMobileApp,this._router.events.pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(e=>e instanceof o.m2)).subscribe(()=>{let e=te.A.getCurrentRouteData(this._activatedRoute);this.slimLayout=e.layout===d.Tj.Slim,this.privacyPreferencesLink=this._router.url}),this._cdRef.detectChanges(),this.rating.next(yield this._dealershipService.getDealershipRatings()),this._analyticHandler=this._handleOneTrustAnalytics.bind(this)})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}openDownPaymentModal(){this._downPaymentModal.openModal(),this._cdRef.detectChanges()}togglePreferenceCenter(){this._onetrustService.openOneTrustModal(),this._document.addEventListener("click",this._analyticHandler)}_handleOneTrustAnalytics(e){let t={category:"PrivacyPreferencesModal",label:""};switch(!0){case"save-preference-btn-handler onetrust-close-btn-handler"===e.target.className:t.label="ConfirmCTA";break;case"close-pc-btn-handler"===e.target.id:t.label="ExitIcon";break;case"accept-recommended-btn-handler"===e.target.id:t.label="AllowAllCTA";break;default:return}this._analyticService.logAnalytic(t),this._document.removeEventListener("click",this._analyticHandler)}}ca.\u0275fac=function(e){return new(e||ca)(a.Y36(Z.R),a.Y36(a.sBO),a.Y36(V._),a.Y36(o.F0),a.Y36(o.gz),a.Y36(k.k),a.Y36(S.g),a.Y36(si.D),a.Y36(r.K0))},ca.\u0275cmp=a.Xpm({type:ca,selectors:[["dtm-footer"]],viewQuery:function(e,t){if(1&e&&a.Gf(_i,5),2&e){let e;a.iGM(e=a.CRH())&&(t._downPaymentModal=e.first)}},decls:84,vars:66,consts:[["class","app-promos-container",4,"ngIf"],[1,"site-footer",3,"accessibility","ngClass"],[1,"footer-container"],[1,"footer-mobile"],[4,"ngIf"],[1,"legal-wrapper"],["linkClass","inline-link","text","Privacy Policy","color","gray","qaid","footer-privacy-policy-link","ariaLabel","View DriveTime Privacy Policy",1,"footer-legal-link",3,"linkUrl","analytic"],["linkClass","inline-link","color","gray","text","Terms of Use","qaid","footer-terms-of-use-link","ariaLabel","View DriveTime Terms of Use",1,"footer-legal-link",3,"linkUrl","analytic"],["linkClass","inline-link","class","footer-legal-link","text","Privacy Preferences","color","gray","qaid","footer-privacy-preferences-link-mobile","ariaLabel","Manage Privacy Preferences",3,"linkUrl","analytic","click",4,"ngIf"],["linkClass","inline-link","color","gray","text","Cookie Policy","qaid","footer-cookie-policy-link","ariaLabel","View DriveTime Cookie Policy",1,"footer-legal-link",3,"linkUrl","analytic"],["linkClass","inline-link","text","Do Not Sell My Info","color","gray","qaid","footer-do-not-sell-my-info-link","ariaLabel","Visit DriveTime Do Not Sell My Info Site",1,"footer-legal-link",3,"internalRoute","openNewTab","linkUrl","analytic"],["linkClass","inline-link","text","California Rights and Disclosures","color","gray","qaid","footer-ca-disclaimer-link","ariaLabel","View DriveTime California Rights and Disclosures",1,"footer-legal-link",3,"linkUrl","analytic"],[1,"copyright-wrapper"],[1,"footer-legal-copyright"],[1,"footer-desktop"],["class","desktop-columns",4,"ngIf"],[1,"desktop-bottom-row"],[1,"desktop-bottom-row-links",3,"ngClass"],["linkClass","inline-link","text","Privacy Policy","color","gray","ariaLabel","View DriveTime Privacy Policy","qaid","footer-privacy-policy-link",3,"linkUrl","analytic"],["linkClass","inline-link","text","Terms of Use","color","gray","ariaLabel","View DriveTime Terms of Use",3,"linkUrl","analytic"],["linkClass","inline-link","text","Privacy Preferences","color","gray","qaid","footer-privacy-preferences-link-desktop","ariaLabel","Manage Privacy Preferences",3,"linkUrl","analytic","click",4,"ngIf"],["linkClass","inline-link","text","Cookie Policy","color","gray","qaid","footer-cookie-policy-link","ariaLabel","View DriveTime Cookie Policy",3,"linkUrl","analytic"],["linkClass","inline-link","text","Do Not Sell My Info","color","gray","qaid","footer-do-not-sell-my-info-link","ariaLabel","Visit DriveTime Do Not Sell My Info Site",1,"footer-legal-link",3,"openNewTab","internalRoute","linkUrl","analytic"],["linkClass","inline-link","text","California Rights and Disclosures","color","gray","ariaLabel","View DriveTime California Rights and Disclosures",3,"linkUrl","analytic"],[1,"copyright"],["socialBar",""],["reviews",""],["title","Down Payment Comparison","modalSize","small",1,"down-payment-modal",3,"analyticDataClose","accessibility","focusToElementId"],["downPaymentModal",""],[1,"modal-content"],[1,"app-promos-container"],[1,"app-promos-text"],[1,"app-promos-buttons"],[3,"iosLink","androidLink","iosAnalyticLabel","androidAnalyticLabel","analyticCategory"],[1,"app-promos-dividing-line"],[4,"ngTemplateOutlet"],[1,"internal-wrapper"],["linkClass","inline-block-link","qaid","footer-careers-link","color","gray","underlineSize","border-thin","text","Careers","ariaLabel","Visit DriveTime Careers Site",1,"footer-link",3,"linkUrl","openNewTab","internalRoute","analytic"],["linkClass","inline-block-link","qaid","footer-articles-link","color","gray","underlineSize","border-thin","text","Articles","ariaLabel","View DriveTime Articles",1,"footer-link",3,"linkUrl","analytic"],["linkClass","inline-block-link","qaid","footer-search-by-location-link","color","gray","underlineSize","border-thin","text","Search by Location","ariaLabel","Search Vehicles by Location",1,"footer-link",3,"linkUrl","analytic"],["linkClass","inline-block-link","qaid","footer-down-payment-comparison-link","color","gray","underlineSize","border-thin","text","Down Payment Comparison","ariaLabel","View Down Payment Comparison Disclaimer",1,"footer-link",3,"analytic","click"],["linkClass","inline-link","text","Privacy Preferences","color","gray","qaid","footer-privacy-preferences-link-mobile","ariaLabel","Manage Privacy Preferences",1,"footer-legal-link",3,"linkUrl","analytic","click"],[1,"desktop-columns"],[1,"link-column"],[1,"column-heading"],[1,"link-list"],[1,"link-list-item"],["linkClass","inline-link","text","Search Cars","ariaLabel","Search Vehicles",3,"linkUrl","analytic"],["linkClass","inline-link","text","Search by Location","ariaLabel","Search Vehicles by Location",3,"linkUrl","analytic"],["linkClass","inline-link","text","Search by Make/Model","ariaLabel","Search Vehicles by Make/Model",3,"linkUrl","analytic"],["linkClass","inline-link","text","Get Financed","ariaLabel","Apply for Financing",3,"linkUrl","analytic"],["linkClass","inline-link","text","Find a Dealership","ariaLabel","Find a Dealership",3,"linkUrl","analytic"],["linkClass","inline-link","text","Schedule a Visit","qaid","schedule-a-visit","ariaLabel","Schedule a Visit",3,"linkUrl","analytic"],["linkClass","inline-link","text","Articles","ariaLabel","View DriveTime Articles",3,"linkUrl","analytic"],["linkClass","inline-link","text","FAQs","ariaLabel","View Frequently Asked Questions",3,"linkUrl","analytic"],["linkClass","inline-link","text","Contact Us","ariaLabel","View Contact Us Page",3,"linkUrl","analytic"],["linkClass","inline-link","text","Make a Payment","ariaLabel","Visit bridgecrest.com",3,"internalRoute","openNewTab","linkUrl","analytic"],["className","frameless-button down-payment-link","ariaLabel","View Down Payment Comparison Disclaimer",3,"analytic","elementId","linkButtonType","click"],[1,"text-before"],["linkClass","inline-link","text","Careers","ariaLabel","Visit DriveTime Careers Site",3,"internalRoute","openNewTab","linkUrl","analytic"],[1,"now-hiring"],["linkClass","inline-link","text","Feedback","ariaLabel","Visit DriveTime Feedback Site",3,"linkUrl","analytic"],["linkClass","inline-link","text","Reviews","ariaLabel","View DriveTime Reviews Page",3,"linkUrl","analytic"],[1,"link-list-item","non-link"],["linkClass","inline-link","text","888-418-1212","icon","dt-glyph-phone"],["class","social-bar",4,"ngTemplateOutlet"],[1,"social-bar"],["linkClass","inline-link","text","Privacy Preferences","color","gray","qaid","footer-privacy-preferences-link-desktop","ariaLabel","Manage Privacy Preferences",3,"linkUrl","analytic","click"],[1,"social-wrapper"],["linkClass","footer-social-link","qaid","footer-twitter-link","color","gray","icon","dt-glyph-vendor-twitter","ariaLabel","Visit DriveTime Twitter",3,"linkUrl","analytic","openNewTab","internalRoute"],["linkClass","footer-social-link","qaid","footer-instagram-link","color","gray","icon","dt-glyph-vendor-instagram","ariaLabel","Visit DriveTime Instagram",3,"linkUrl","analytic","openNewTab","internalRoute"],["linkClass","footer-social-link","qaid","footer-youtube-link","color","gray","icon","dt-glyph-vendor-youtube","ariaLabel","Visit DriveTime YouTube",3,"linkUrl","analytic","openNewTab","internalRoute"],["linkClass","footer-social-link","qaid","footer-facebook-link","color","gray","icon","dt-glyph-vendor-facebook","ariaLabel","Visit DriveTime Facebook",3,"linkUrl","analytic","openNewTab","internalRoute"],[1,"rating-wrapper"],[3,"rating$","reviewLinkAnalytic"]],template:function(e,t){1&e&&(a.YNc(0,Ai,13,5,"div",0),a._uU(1,"\n"),a.TgZ(2,"footer",1),a._uU(3,"\n "),a.TgZ(4,"div",2),a._uU(5,"\n "),a.TgZ(6,"div",3),a._uU(7,"\n "),a.YNc(8,Mi,19,15,"div",4),a._uU(9,"\n "),a.TgZ(10,"div",5),a._uU(11,"\n "),a._UZ(12,"dtm-link",6),a._uU(13,"\n "),a._UZ(14,"dtm-link",7),a._uU(15,"\n "),a.YNc(16,Pi,1,0,"br",4),a.ALo(17,"async"),a._uU(18,"\n "),a.YNc(19,Ui,1,3,"dtm-link",8),a.ALo(20,"async"),a._uU(21,"\n "),a._UZ(22,"dtm-link",9),a._uU(23,"\n "),a.YNc(24,Ii,1,0,"br",4),a.ALo(25,"async"),a._uU(26,"\n "),a._UZ(27,"dtm-link",10),a._uU(28,"\n "),a._UZ(29,"dtm-link",11),a._uU(30,"\n "),a.qZA(),a._uU(31,"\n "),a.TgZ(32,"div",12),a._uU(33,"\n "),a.TgZ(34,"span",13),a._uU(35),a.qZA(),a._uU(36,"\n "),a.qZA(),a._uU(37,"\n "),a.qZA(),a._uU(38,"\n\n\n "),a.TgZ(39,"div",14),a._uU(40,"\n "),a.YNc(41,Hi,123,49,"div",15),a._uU(42,"\n "),a.TgZ(43,"div",16),a._uU(44,"\n "),a.TgZ(45,"div",17),a.ALo(46,"async"),a._uU(47,"\n "),a._UZ(48,"dtm-link",18),a._uU(49,"\n "),a._UZ(50,"dtm-link",19),a._uU(51,"\n "),a.YNc(52,Qi,1,3,"dtm-link",20),a.ALo(53,"async"),a._uU(54,"\n "),a._UZ(55,"dtm-link",21),a._uU(56,"\n "),a._UZ(57,"dtm-link",22),a._uU(58,"\n "),a._UZ(59,"dtm-link",23),a._uU(60,"\n "),a.qZA(),a._uU(61,"\n "),a.TgZ(62,"span",24),a._uU(63),a.qZA(),a._uU(64,"\n "),a.qZA(),a._uU(65,"\n "),a.qZA(),a._uU(66,"\n\n\n "),a.qZA(),a._uU(67,"\n"),a.qZA(),a._uU(68,"\n\n"),a.YNc(69,Wi,16,20,"ng-template",null,25,a.W1O),a._uU(71,"\n\n"),a.YNc(72,Xi,6,3,"ng-template",null,26,a.W1O),a._uU(74,"\n\n"),a.TgZ(75,"dtm-stylized-modal",27,28),a._uU(77,"\n "),a.TgZ(78,"div",29),a._uU(79,"\n "),a._UZ(80,"dtm-downpayment-content"),a._uU(81,"\n "),a.qZA(),a._uU(82,"\n"),a.qZA(),a._uU(83,"\n")),2&e&&(a.Q6J("ngIf",!t.inApp),a.xp6(2),a.Q6J("accessibility",a.DdM(49,Ki))("ngClass",a.VKq(50,ea,t.slimLayout)),a.xp6(6),a.Q6J("ngIf",!t.slimLayout),a.xp6(4),a.Q6J("linkUrl",t.privacyPolicyLink)("analytic",a.DdM(52,ta)),a.xp6(2),a.Q6J("linkUrl",t.termsOfUseLink)("analytic",a.DdM(53,na)),a.xp6(2),a.Q6J("ngIf",a.lcZ(17,39,t.showPrivacyPrefs$)),a.xp6(3),a.Q6J("ngIf",a.lcZ(20,41,t.showPrivacyPrefs$)),a.xp6(3),a.Q6J("linkUrl",t.cookiePolicyLink)("analytic",a.DdM(54,ia)),a.xp6(2),a.Q6J("ngIf",a.lcZ(25,43,t.showPrivacyPrefs$)),a.xp6(3),a.Q6J("internalRoute",!1)("openNewTab",!0)("linkUrl",t.dontSellInfoLink)("analytic",a.DdM(55,aa)),a.xp6(2),a.Q6J("linkUrl",t.caDisclaimerLink)("analytic",a.DdM(56,oa)),a.xp6(6),a.hij("Copyright \xa9 2017 - ",t.currentYear," - DriveTime\xae All Rights\n Reserved."),a.xp6(6),a.Q6J("ngIf",!t.slimLayout),a.xp6(4),a.Q6J("ngClass",a.VKq(57,ra,a.lcZ(46,45,t.showPrivacyPrefs$))),a.xp6(3),a.Q6J("linkUrl",t.privacyPolicyLink)("analytic",a.DdM(59,ta)),a.xp6(2),a.Q6J("linkUrl",t.termsOfUseLink)("analytic",a.DdM(60,na)),a.xp6(2),a.Q6J("ngIf",a.lcZ(53,47,t.showPrivacyPrefs$)),a.xp6(3),a.Q6J("linkUrl",t.cookiePolicyLink)("analytic",a.DdM(61,ia)),a.xp6(2),a.Q6J("openNewTab",!0)("internalRoute",!1)("linkUrl",t.dontSellInfoLink)("analytic",a.DdM(62,aa)),a.xp6(2),a.Q6J("linkUrl",t.caDisclaimerLink)("analytic",a.DdM(63,oa)),a.xp6(4),a.hij("Copyright \xa9 2017 - ",t.currentYear," DriveTime\xae All Rights Reserved"),a.xp6(12),a.Q6J("analyticDataClose",a.DdM(64,sa))("accessibility",a.DdM(65,la))("focusToElementId",t.downPaymentButtonId))},directives:[r.O5,Ft.z,r.mk,li.c,Tt.e,ri.S,ci.S,fi,r.tP,Ht.b,yi.w],pipes:[r.Ov],styles:["[_nghost-%COMP%] .app-promos-container[_ngcontent-%COMP%]{display:none;padding-top:1rem;background:#ececec;text-align:center;margin:0 auto}[_nghost-%COMP%] .app-promos-container[_ngcontent-%COMP%] .app-promos-text[_ngcontent-%COMP%]{font-size:4vw;color:#8f9aa3;font-weight:600}[_nghost-%COMP%] .app-promos-container[_ngcontent-%COMP%] .app-promos-buttons[_ngcontent-%COMP%]{width:38%;margin:.3rem auto 0}[_nghost-%COMP%] .app-promos-container[_ngcontent-%COMP%] .app-promos-dividing-line[_ngcontent-%COMP%]{border-bottom:1px solid #8f9aa3;width:94%;margin:1.2rem auto 0}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%]{background:#ececec;padding:1.5rem 0 5.5rem;position:relative}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-mobile[_ngcontent-%COMP%]{max-width:414px;margin:0 auto}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .social-wrapper[_ngcontent-%COMP%]{line-height:0;text-align:center;display:flex;justify-content:center}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .social-wrapper[_ngcontent-%COMP%] .footer-social-link[_ngcontent-%COMP%]{display:inline-block;line-height:0}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .social-wrapper[_ngcontent-%COMP%] .icon{width:9vw;height:9vw;display:inline-block;margin:0 .5vw}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .internal-wrapper[_ngcontent-%COMP%]{text-align:center;padding-top:.8rem}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .internal-wrapper[_ngcontent-%COMP%] .footer-link[_ngcontent-%COMP%], [_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .internal-wrapper[_ngcontent-%COMP%] .down-payment-link{display:inline-block;margin:0 2vw;font-size:4vw;font-weight:600;text-decoration:none;padding:.6rem 0 .1rem}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .legal-wrapper[_ngcontent-%COMP%]{text-align:center;padding-top:.8rem;margin:0 auto .6rem;width:100%}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .legal-wrapper[_ngcontent-%COMP%] .footer-legal-link[_ngcontent-%COMP%]{font-size:3.6vw;font-weight:400;color:#8f9aa3;text-decoration:none;margin:0 1vw}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .copyright-wrapper[_ngcontent-%COMP%]{line-height:1rem;text-align:center;padding-top:.4rem;margin:-.4rem auto 0}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .copyright-wrapper[_ngcontent-%COMP%] .footer-legal-copyright[_ngcontent-%COMP%]{font-size:3.6vw;font-weight:400;color:#8f9aa3}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-columns[_ngcontent-%COMP%] .link-column[_ngcontent-%COMP%] .link-list[_ngcontent-%COMP%] .text:hover{color:#075078}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-bottom-row[_ngcontent-%COMP%] .desktop-bottom-row-links[_ngcontent-%COMP%]{display:flex;width:90%;max-width:40rem;justify-content:space-between;margin:0 auto}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-bottom-row[_ngcontent-%COMP%] .desktop-bottom-row-links[_ngcontent-%COMP%] dtm-link[_ngcontent-%COMP%]{padding:0 .47rem}@media not all and (pointer: coarse){[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-bottom-row[_ngcontent-%COMP%] .desktop-bottom-row-links[_ngcontent-%COMP%] .text:hover:hover{color:#4e575e}}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-bottom-row[_ngcontent-%COMP%] .wide-desktop-bottom-row-links[_ngcontent-%COMP%]{max-width:25.2rem;justify-content:center;flex-wrap:wrap}[_nghost-%COMP%] .down-payment-modal[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%]{text-align:center;padding:2rem 6vw}[_nghost-%COMP%] .rating-wrapper[_ngcontent-%COMP%]{margin-top:2rem}[_nghost-%COMP%] .rating-wrapper[_ngcontent-%COMP%] .underlay-container .underlay-stars{fill:#f7f7f7}@media screen and (min-width: 414px){[_nghost-%COMP%] .app-promos-container[_ngcontent-%COMP%] .app-promos-text[_ngcontent-%COMP%]{font-size:.89rem}[_nghost-%COMP%] .app-promos-container[_ngcontent-%COMP%] .app-promos-buttons[_ngcontent-%COMP%]{max-width:9rem}[_nghost-%COMP%] .app-promos-container[_ngcontent-%COMP%] .app-promos-dividing-line[_ngcontent-%COMP%]{max-width:22rem}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .social-wrapper[_ngcontent-%COMP%] .footer-social-icon[_ngcontent-%COMP%]{width:2.08rem}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .social-wrapper[_ngcontent-%COMP%] .icon{width:2rem;height:2rem;display:inline-block;margin:0 .05rem}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .internal-wrapper[_ngcontent-%COMP%] .footer-link[_ngcontent-%COMP%]{font-size:.89rem;margin:0 .5rem}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .legal-wrapper[_ngcontent-%COMP%] .footer-legal-link[_ngcontent-%COMP%]{font-size:.77rem;margin:0 .46rem}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .copyright-wrapper[_ngcontent-%COMP%] .footer-legal-copyright[_ngcontent-%COMP%]{font-size:.77rem}[_nghost-%COMP%] .down-payment-modal[_ngcontent-%COMP%] .modal-content[_ngcontent-%COMP%]{padding:2rem 1rem}}@media screen and (min-width: 768px){[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%]{padding:4rem 1rem 2.5rem;z-index:101;position:relative}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-mobile[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%]{display:flex;flex-direction:column;max-width:1020px;margin:0 auto}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .inline-block-link{border-bottom:none}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-columns[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:space-between;margin-bottom:4rem}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-columns[_ngcontent-%COMP%] .link-column[_ngcontent-%COMP%]{width:23%}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-columns[_ngcontent-%COMP%] .link-column[_ngcontent-%COMP%] .column-heading[_ngcontent-%COMP%]{font-size:1rem;font-weight:800;color:#0c2340}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-columns[_ngcontent-%COMP%] .link-column[_ngcontent-%COMP%] .link-list[_ngcontent-%COMP%]{list-style-type:none;padding-left:0;margin-top:.3rem;font-size:.89rem;font-weight:600}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-columns[_ngcontent-%COMP%] .link-column[_ngcontent-%COMP%] .link-list[_ngcontent-%COMP%] .link-list-item[_ngcontent-%COMP%]{margin-top:.6rem}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-columns[_ngcontent-%COMP%] .link-column[_ngcontent-%COMP%] .link-list[_ngcontent-%COMP%] .link-list-item.non-link[_ngcontent-%COMP%]{pointer-events:none}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-columns[_ngcontent-%COMP%] .link-column[_ngcontent-%COMP%] .link-list[_ngcontent-%COMP%] .link-list-item[_ngcontent-%COMP%] .down-payment-link{color:#00abe8;font-size:.89rem;font-weight:600;text-align:left}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-columns[_ngcontent-%COMP%] .link-column[_ngcontent-%COMP%] .link-list[_ngcontent-%COMP%] .link-list-item[_ngcontent-%COMP%] .down-payment-link:hover{color:#075078}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-columns[_ngcontent-%COMP%] .link-column[_ngcontent-%COMP%] .link-list[_ngcontent-%COMP%] .link-list-item[_ngcontent-%COMP%] .down-payment-link .button-inner-content{text-align:left}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-columns[_ngcontent-%COMP%] .link-column[_ngcontent-%COMP%] .link-list[_ngcontent-%COMP%] .now-hiring[_ngcontent-%COMP%]{font-size:.625rem;font-weight:600;color:#00af66;margin-left:.5rem}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-columns[_ngcontent-%COMP%] .link-column[_ngcontent-%COMP%] .link-list[_ngcontent-%COMP%] .dt-glyph-phone[_ngcontent-%COMP%]{width:.5rem;height:.5rem;fill:#00abe8}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-columns[_ngcontent-%COMP%] .link-column[_ngcontent-%COMP%] .social-wrapper[_ngcontent-%COMP%]{margin-top:1.7rem;justify-content:flex-start}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-bottom-row[_ngcontent-%COMP%]{font-size:.77rem;line-height:1.9rem;font-weight:400;color:#8f9aa3;display:flex;flex-direction:column;justify-content:space-between}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-bottom-row[_ngcontent-%COMP%] .copyright[_ngcontent-%COMP%]{text-align:center}[_nghost-%COMP%] .slim-layout[_ngcontent-%COMP%]{padding-bottom:10rem}}@media screen and (min-width: 1020px){[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-bottom-row[_ngcontent-%COMP%] .wide-desktop-bottom-row-links[_ngcontent-%COMP%]{max-width:86%;justify-content:space-between;flex-wrap:nowrap}[_nghost-%COMP%] .site-footer[_ngcontent-%COMP%] .footer-desktop[_ngcontent-%COMP%] .desktop-bottom-row[_ngcontent-%COMP%] .desktop-bottom-row-links[_ngcontent-%COMP%] dtm-link[_ngcontent-%COMP%]{padding:0}}"]}),(0,qe.gn)([(0,tt.Ph)(ut.Z8.get(dt.j.Global.DisplayPrivacyPreferences)),(0,qe.w6)("design:type",j.X)],ca.prototype,"showPrivacyPrefs$",void 0);const da=function(e,t){return{"modal-open":e,"iphone-x-offset":t}},ua=function(e){return{active:e}},pa=function(){return{category:"iOSNavBar",label:"HomeCTA"}},ha=function(e){return{"fill-icon":e}},ma=function(){return{category:"iOSNavBar",label:"GA1CTA"}},ga=function(){return{category:"iOSNavBar",label:"VSRCTA"}},fa=function(){return{category:"iOSNavBar",label:"DSRCTA"}},ya=function(){return{category:"iOSNavBar",label:"TradeCTA"}};function _a(e,t){if(1&e&&(a.TgZ(0,"div",1),a._uU(1,"\n "),a.TgZ(2,"div",2),a._uU(3,"\n "),a.TgZ(4,"a",3),a._uU(5,"\n "),a._uU(6,"\n "),a._uU(7,"\n "),a._UZ(8,"span",4),a._uU(9,"\n "),a.TgZ(10,"span",5),a._uU(11,"Home"),a.qZA(),a._uU(12,"\n "),a.qZA(),a._uU(13,"\n "),a.TgZ(14,"a",6),a._uU(15,"\n "),a._UZ(16,"span",7),a._uU(17,"\n "),a.TgZ(18,"span",5),a._uU(19,"Financing"),a.qZA(),a._uU(20,"\n "),a.qZA(),a._uU(21,"\n "),a.TgZ(22,"a",8),a._uU(23,"\n "),a._UZ(24,"span",9),a._uU(25,"\n "),a.TgZ(26,"span",5),a._uU(27,"Cars"),a.qZA(),a._uU(28,"\n "),a.qZA(),a._uU(29,"\n "),a.TgZ(30,"a",10),a._uU(31,"\n "),a._UZ(32,"span",11),a._uU(33,"\n "),a.TgZ(34,"span",5),a._uU(35,"Dealerships"),a.qZA(),a._uU(36,"\n "),a.qZA(),a._uU(37,"\n "),a.TgZ(38,"a",12),a._uU(39,"\n "),a._UZ(40,"span",13),a._uU(41,"\n "),a.TgZ(42,"span",5),a._uU(43,"Trade"),a.qZA(),a._uU(44,"\n "),a.qZA(),a._uU(45,"\n "),a.qZA(),a._uU(46,"\n\n"),a.qZA()),2&e){const e=a.oxw();a.Q6J("ngClass",a.WLB(19,da,e.onTradeIn,e.isIPhoneX)),a.xp6(4),a.Q6J("ngClass",a.VKq(22,ua,e.onHomepage))("dtmRouterLink",e.homeLink)("analytic",a.DdM(24,pa)),a.xp6(4),a.Q6J("ngClass",a.VKq(25,ha,e.onHomepage)),a.xp6(6),a.Q6J("ngClass",a.VKq(27,ua,e.onApproval))("dtmRouterLink",e.ga1Link)("analytic",a.DdM(29,ma)),a.xp6(8),a.Q6J("ngClass",a.VKq(30,ua,e.onVsr))("dtmRouterLink",e.vsrLink)("analytic",a.DdM(32,ga)),a.xp6(2),a.Q6J("ngClass",a.VKq(33,ha,e.onVsr)),a.xp6(6),a.Q6J("ngClass",a.VKq(35,ua,e.onDsr))("dtmRouterLink",e.dsrLink)("analytic",a.DdM(37,fa)),a.xp6(2),a.Q6J("ngClass",a.VKq(38,ha,e.onDsr)),a.xp6(6),a.Q6J("analytic",a.DdM(40,ya))("ngClass",a.VKq(41,ua,e.onTradeIn))("dtmRouterLink",e.tradeLink)}}class Aa{constructor(e,t,n,i,a,o){this._linkHelper=e,this._deviceInteractionService=t,this._router=n,this._activatedRoute=i,this._cdRef=a,this._appConfigService=o,this.homeLink=this._linkHelper.homePage(),this.ga1Link=this._linkHelper.getApproved1GenericPage(),this.vsrLink=this._linkHelper.vehicleSearchPage(),this.dsrLink=this._linkHelper.dealershipSearchPage(),this.tradeLink=this._linkHelper.ppcTradePage(),this.onHomepage=!1,this.onVsr=!1,this.onDsr=!1,this.onApproval=!1,this.onTradeIn=!1,this.showBar=this._deviceInteractionService.showAppFooter$.getValue(),this.isIPhoneX=!1,this._componentUnsubscribe=new u.xQ,this._modalStateUnsubscribe=new u.xQ}ngOnInit(){this._router.events.pipe((0,He.R)(this._componentUnsubscribe)).subscribe(e=>{if(e instanceof o.m2){let e=te.A.getCurrentRouteData(this._activatedRoute);this.onHomepage=e.name===d.x4.HomePage,this.onVsr=e.name===d.x4.VehicleSearchResults,this.onDsr=e.name===d.x4.DealershipSearchResults,this.onApproval=e.name===d.x4.GetApproved1||e.name===d.x4.GetApproved2||e.name===d.x4.ApprovalCertificate}})}ngAfterViewInit(){this._appConfigService.isIosApp&&(0,W.aj)([this._deviceInteractionService.showAppFooter$,this.isFilterOpen$]).pipe((0,He.R)(this._componentUnsubscribe)).subscribe(([e,t])=>{this.showBar=e&&!t,this.isIPhoneX=this._deviceInteractionService.isIPhoneX,this._cdRef.detectChanges()})}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete(),this._modalStateUnsubscribe.next(),this._modalStateUnsubscribe.complete()}}Aa.\u0275fac=function(e){return new(e||Aa)(a.Y36(Z.R),a.Y36(G.e),a.Y36(o.F0),a.Y36(o.gz),a.Y36(a.sBO),a.Y36(V._))},Aa.\u0275cmp=a.Xpm({type:Aa,selectors:[["dtm-app-nav-footer"]],decls:2,vars:1,consts:[["class","bar-background",3,"ngClass",4,"ngIf"],[1,"bar-background",3,"ngClass"],[1,"bar-container"],[1,"homepage","nav-button",3,"ngClass","dtmRouterLink","analytic"],["includeSVG","dt-glyph-home",1,"icon",3,"ngClass"],[1,"text"],[1,"financing","nav-button",3,"ngClass","dtmRouterLink","analytic"],["includeSVG","dt-glyph-dollar-sign",1,"icon"],[1,"vehicle-search","nav-button",3,"ngClass","dtmRouterLink","analytic"],["includeSVG","dt-glyph-car",1,"icon",3,"ngClass"],[1,"dealership-search","nav-button",3,"ngClass","dtmRouterLink","analytic"],["includeSVG","dt-glyph-map-pin",1,"icon",3,"ngClass"],["trade-in-link","",1,"trade-in","nav-button","located-button",3,"analytic","ngClass","dtmRouterLink"],["includeSVG","dt-glyph-price-tag",1,"icon"]],template:function(e,t){1&e&&(a.YNc(0,_a,47,43,"div",0),a._uU(1,"\n")),2&e&&a.Q6J("ngIf",t.showBar)},directives:[r.O5,r.mk,qt.b,Tt.e,Vt.pw,Vt.qV],styles:["[_nghost-%COMP%] .bar-background[_ngcontent-%COMP%]{bottom:0;height:3.5rem;background:#ffffff;position:fixed;width:100%;z-index:202}[_nghost-%COMP%] .bar-background[_ngcontent-%COMP%] .bar-container[_ngcontent-%COMP%]{align-items:center;display:flex;height:100%;margin:0 auto;max-width:414px;width:95%}[_nghost-%COMP%] .bar-background[_ngcontent-%COMP%] .bar-container[_ngcontent-%COMP%] .nav-button[_ngcontent-%COMP%]{align-items:center;background:#ffffff;color:#8f9aa3;fill:#8f9aa3;display:flex;flex-direction:column;font-size:3.25vw;height:100%;justify-content:center;outline:none;text-decoration:none;flex:1}[_nghost-%COMP%] .bar-background[_ngcontent-%COMP%] .bar-container[_ngcontent-%COMP%] .nav-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{height:1.2rem}[_nghost-%COMP%] .bar-background[_ngcontent-%COMP%] .bar-container[_ngcontent-%COMP%] .active[_ngcontent-%COMP%]{color:#00af66;fill:#00af66;pointer-events:none}[_nghost-%COMP%] .modal-open[_ngcontent-%COMP%]{position:static;position:initial}[_nghost-%COMP%] .iphone-x-offset[_ngcontent-%COMP%]{height:5rem;padding-bottom:1.5rem}@media screen and (min-width: 414px){[_nghost-%COMP%] .bar-background[_ngcontent-%COMP%] .bar-container[_ngcontent-%COMP%] .nav-button[_ngcontent-%COMP%]{font-size:.7rem}[_nghost-%COMP%] .bar-background[_ngcontent-%COMP%] .bar-container[_ngcontent-%COMP%] .nav-button[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{height:1.35rem}}"]}),(0,qe.gn)([(0,tt.Ph)(e=>e.app.vsr.isFilterOpen),(0,qe.w6)("design:type",We.y)],Aa.prototype,"isFilterOpen$",void 0);const va=["generalSelectorAttributes"],ba=["vehicleSelectorAttributes"],Ca=["dealershipSelectorAttributes"],wa=["focusStart"];function Sa(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"dtm-navigation",14),a.NdJ("close",function(){return a.CHM(e),a.oxw(2).toggleNav()}),a._uU(1,"\n "),a.qZA()}if(2&e){const e=a.oxw(2);a.Q6J("opened",e.navOpen)}}const ka=function(){return{category:"Hamburger",label:"CloseHamburger"}};function Ma(e,t){if(1&e){const e=a.EpF();a.TgZ(0,"dtm-overlay",15),a.NdJ("close",function(){return a.CHM(e),a.oxw(2).toggleNav()}),a._uU(1,"\n "),a.qZA()}if(2&e){const e=a.oxw(2);a.Q6J("analytic",a.DdM(2,ka))("visible",e.navOpen)}}function Pa(e,t){if(1&e){const e=a.EpF();a.ynx(0),a._uU(1,"\n "),a.YNc(2,Sa,2,1,"dtm-navigation",11),a._uU(3,"\n "),a.YNc(4,Ma,2,3,"dtm-overlay",12),a._uU(5,"\n "),a.TgZ(6,"dtm-header",13),a.NdJ("burgerButtonEvent",function(){return a.CHM(e),a.oxw().toggleNav()}),a._uU(7,"\n "),a.qZA(),a._uU(8,"\n"),a.BQk()}if(2&e){const e=a.oxw();a.xp6(2),a.Q6J("ngIf",!e.isServerPrerender),a.xp6(2),a.Q6J("ngIf",!e.isServerPrerender),a.xp6(2),a.Q6J("showHeaderAtTopPage",e.showHeaderAtTopPage)("prerenderComplete",e.preRenderActionsComplete)}}function Oa(e,t){1&e&&a._UZ(0,"dtm-device-offline")}function Ua(e,t){1&e&&a._UZ(0,"dtm-outdated-version")}const Ia=function(e,t){return{"header-offset":e,"show-banner":t}};function Na(e,t){if(1&e&&(a.TgZ(0,"section",16,17),a.ALo(2,"async"),a.ALo(3,"async"),a.ALo(4,"async"),a._uU(5,"\n "),a._UZ(6,"router-outlet"),a._uU(7,"\n"),a.qZA()),2&e){const e=a.oxw();a.Q6J("ngClass",a.WLB(7,Ia,!e.hideHeader&&!a.lcZ(2,1,e.screenSizeService.isDesktop)&&!a.lcZ(3,3,e.screenSizeService.isDesktop),!e.hideHeader&&!a.lcZ(4,5,e.screenSizeService.isDesktop)))}}function Ta(e,t){if(1&e&&(a.TgZ(0,"dtm-loading-overlay",18),a._uU(1,"\n"),a.qZA()),2&e){const e=a.oxw();a.Q6J("pending",e.pending)("loadingCycled$",e.loadingCycled$)}}function Da(e,t){1&e&&a._UZ(0,"dtm-footer")}function xa(e,t){1&e&&a._UZ(0,"dtm-app-nav-footer")}function Ea(e,t){if(1&e&&(a.ynx(0),a._uU(1,"\n "),a.YNc(2,Da,1,0,"dtm-footer",8),a._uU(3,"\n "),a.YNc(4,xa,1,0,"dtm-app-nav-footer",8),a._uU(5,"\n"),a.BQk()),2&e){const e=a.oxw();a.xp6(2),a.Q6J("ngIf",!e.deviceOffline&&!e.badAppVersion),a.xp6(2),a.Q6J("ngIf",!e.isServerPrerender)}}class La{constructor(e,t,n,i,a,r,s,l,c,p,h,g,f,y,_,A,v,b,C,w,S,k,M,P,O,U,I,N,T){this.router=e,this.store=t,this.activatedRoute=n,this.locationService=i,this.dealershipService=a,this.analyticService=r,this.scrollService=s,this.appConfig=l,this.screenSizeService=c,this._appStateService=p,this._leadService=h,this._optimizelyFullStackService=g,this._featureService=f,this._fullstoryService=y,this._vsfMultiPmtFreqFeatureService=_,this._deviceInteractionService=A,this._renderer=v,this._store=b,this._windowScrollService=C,this._surveyService=w,this._routerStrategy=S,this._seoStrategy=k,this._promiseService=M,this._vehicleSearchService=P,this._vehicleHelper=O,this._linkHelper=U,this._chatService=I,this._cashDownService=N,this._document=T,this.hideHeader=!1,this.hideFooter=!1,this.showHeaderAtTopPage=!1,this.navOpen=!1,this.pending=!1,this.loadingCycled$=new j.X(!1),this.badAppVersion=!1,this.deviceOffline=!1,this.isServerPrerender=this.appConfig.isServerPrerender,this.preRenderActionsComplete=!0,this.diagnosticDelayParam=0,this.failsafePageRenderSla=3e3,this.regionIdParam="",this._dtmRegionId$=new j.X(void 0),this._componentUnsubscribe=new u.xQ,this.capitalize=new st.eg;const D=new URLSearchParams(window.location.search);if("cl"===(D.has("oagg")?D.get("oagg").toLowerCase():null)){let e=Z.R.deconstructQueryParamString(window.location.search);e.ppcfc="true",this._linkHelper.navigate(this._linkHelper.financeCalculatorPageLink({asUrlObject:!0,queryParams:e}))}this._appStateService.init(),this._deviceInteractionService.init(),this._deviceInteractionService.deviceIsOffline$.subscribe(e=>{e||window.location.reload(),this.deviceOffline=e}),this._deviceInteractionService.badVersion$.subscribe(e=>{this.badAppVersion=e}),this.locationService.init(),this.analyticService.init(),this._appStateService.getEmbeddedData(this.analyticService),this._optimizelyFullStackService.init(),this._fullstoryService.init(),this._chatService.init(),this._surveyService.init();let x=!1;this._routerStrategy.init(),this._seoStrategy.init(),this._vehicleHelper.init(b),this._cashDownService.init(),this.router.events.pipe((0,He.R)(this._componentUnsubscribe)).subscribe(e=>{let t=te.A.getCurrentRouteData(this.activatedRoute);if(this.hideHeader=t.hideHeader||!1,this.hideFooter=t.hideFooter||!1,this.showHeaderAtTopPage=t.showHeaderAtTopPage||!1,e instanceof o.m2){let e=d.x4[t.name],n=(0,d.rU)(t.name,t.subname)||"";this._renderer.setAttribute(this._generalSelectorAttributes.nativeElement,"routeName",e),this._renderer.setAttribute(this._generalSelectorAttributes.nativeElement,"routeSubName",n),this.pending&&t.name!==d.x4.ApprovalCertificate&&(this.pending=!1,this.scrollService.allowBodyScrolling()),this.appConfig.isBrowser&&(window.scrollTo(0,0),this.setPageFocus()),x||(this._leadService.setMarketingQueryParams(this.activatedRoute.snapshot.queryParams),x=!0)}}),this.router.events.pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(e=>e instanceof o.m2),(0,Qe.q)(1)).subscribe(e=>{this.startTransactionPilotExperiment(),this.updateVSRViewCache()})}ngOnInit(){return(0,qe.mG)(this,void 0,void 0,function*(){if(this.appConfig.isBrowser){if(-1===document.cookie.indexOf("dtmValidUser")&&(yield this._store.dispatchAsync(new Xe.a3)),h.cmp.isEmpty(this._store.leadSnapshot().webLandingPage)){let e=window.location.pathname+(window.location.search?window.location.search:"");yield this._store.dispatchAsync(new Xe.G9(e))}this._vehicleSearchService.getVehicleCountsForNationwide().then(e=>{this.store.dispatch(new rt.S(e))}),this._leadService.leadData$.pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(h.cmp.isNotEmpty)).subscribe(e=>{this._loadingOverlay.firstName=this.capitalize.transform(e.firstName),this._loadingOverlay.lastName=this.capitalize.transform(e.lastName)}),this.nationwideVehicleCount$.pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(h.cmp.isNotEmpty)).subscribe(e=>{h.cmp.isDefinedAndNotNull(this._loadingOverlay)&&(this._loadingOverlay.nationwideVehicleCount=e)})}})}ngAfterContentInit(){this._setupContainerAttributes()}ngOnDestroy(){this._componentUnsubscribe.next(),this._componentUnsubscribe.complete()}toggleNav(){this.navOpen=!this.navOpen,this._deviceInteractionService.showAppFooter$.next(!this.navOpen)}setPageFocus(){this._focusStart.nativeElement.focus()}updateVSRViewCache(){this._optimizelyFullStackService.activateFeature(Ke.rd.Id)}startTransactionPilotExperiment(){if(this.appConfig.isBrowser){const e=this.activatedRoute.snapshot.queryParamMap;""===this.regionIdParam&&(this.regionIdParam=te.A.getCaseInvariantQueryParam(e,"regionId")||this.regionIdParam),0===this.diagnosticDelayParam&&(this.diagnosticDelayParam=+(te.A.getCaseInvariantQueryParam(e,"diagnosticDelay")||0))}this._optimizelyFullStackService.activateFeature(Ke.Fu.OnlineTransactionReverseIp.Id),this.pageRenderTimeSla$=(0,p.of)(-1).pipe((0,ze.g)(this.failsafePageRenderSla),(0,Qe.q)(1));const e=it.now();this.reverseIpTimeLimit$=this._reverseIpTimeout$.pipe((0,m.h)(h.cmp.isDefinedAndNotNull),(0,Ye.b)(t=>{let n=t-(it.now()-e);return(0,$e.F)(n)}),(0,K.U)(e=>0),(0,Qe.q)(1)),this.currentLocation$=this._currentLocation$.pipe((0,m.h)(h.cmp.isDefinedAndNotNull),(0,ze.g)(this.diagnosticDelayParam),(0,g.zg)(e=>this.dealershipService.getClosestDealership(e.lat,e.lng)),(0,m.h)(h.cmp.isDefinedAndNotNull),(0,K.U)(e=>e.RegionId),(0,Qe.q)(1)),this.preRenderActions$=(0,je.S3)(this.reverseIpTimeLimit$,this.currentLocation$,this.pageRenderTimeSla$),this.preRenderActions$.pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(h.cmp.isDefinedAndNotNull)).subscribe(e=>{this._setDtmRegionId(e),this.preRenderActionsComplete=!0}),this._dtmRegionId$.pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(h.cmp.isDefinedAndNotNull)).subscribe(e=>(0,qe.mG)(this,void 0,void 0,function*(){yield this._activateOtpFeature(e)}))}_setDtmRegionId(e){const t=e>0?1:e;let n="",i="Pre-render ";switch(t){case 1:i+="RegionId:",n=e.toString();break;case 0:i+="ReverseIp lookup timed out:",n=t.toString();break;case-1:i+="Met Failsafe SLA:",n=t.toString();break;default:i+="No Value Returned:"}i+=" "+e,this.analyticService.logAnalytic({category:"App",label:"OtpPreRenderRegionLocationValue",action:"Display",value:i,nonInteraction:!0}),this._dtmRegionId$.next(n)}_activateOtpFeature(e){return(0,qe.mG)(this,void 0,void 0,function*(){let t=`RegionId: ${e}`;h.cmp.isNotEmpty(this.regionIdParam)&&(t+=` - overridden by query param: ${this.regionIdParam}`,e=this.regionIdParam);const n={category:"App",label:"OtpRegionLocationValue",action:"Display",value:t,nonInteraction:!0};yield this._store.dispatchAsync(new et.pm(Ke.ZI.DtmRegion,e)),yield this._optimizelyFullStackService.activateFeature(Ke.Fu.OnlineTransactionPilotPhase.Id),this.analyticService.logAnalytic(n)})}_setupContainerAttributes(){this._leadService.ga1LeadStatus$.pipe((0,He.R)(this._componentUnsubscribe)).subscribe(e=>{this._renderer.setAttribute(this._generalSelectorAttributes.nativeElement,"ga1LeadStatus",Je.r[e])}),this._leadService.ga2LeadStatus$.pipe((0,He.R)(this._componentUnsubscribe)).subscribe(e=>{if(this._renderer.setAttribute(this._generalSelectorAttributes.nativeElement,"ga2LeadStatus",Je.r[e]),e===Je.r.REQUESTED){this._deviceInteractionService.showAppFooter$.next(!1),this.pending=!0,this.scrollService.blockBodyScrolling(!0),this.loadingCycled$.next(!1);const e="Cypress"in window?10:7e3;setTimeout(()=>{this.loadingCycled$.next(!0)},e)}else e===Je.r.RESPONDED&&this._deviceInteractionService.showAppFooter$.next(!0)}),this._leadService.ga2LeadStatus$.pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(e=>e===Je.r.REQUESTED)).subscribe(()=>{this.analyticService.logHeartbeat({category:"ApprovalCert",action:"NonInteraction",label:"Interstitial"},this._leadService.ga2LeadStatus$.pipe((0,He.R)(this._componentUnsubscribe),(0,m.h)(e=>e===Je.r.DONE)))}),this._leadService.savLeadStatus$.pipe((0,He.R)(this._componentUnsubscribe)).subscribe(e=>{this._renderer.setAttribute(this._generalSelectorAttributes.nativeElement,"savLeadStatus",Je.r[e])}),this._leadService.minimumDown$.pipe((0,He.R)(this._componentUnsubscribe)).subscribe(e=>{this._renderer.setAttribute(this._generalSelectorAttributes.nativeElement,"minimumDown",e)}),this._appStateService.isOnLandingPage.pipe((0,He.R)(this._componentUnsubscribe)).subscribe(e=>{this._renderer.setAttribute(this._generalSelectorAttributes.nativeElement,"isOnLandingPage",e.toString())}),this._renderer.setAttribute(this._generalSelectorAttributes.nativeElement,"DtmPlatform",this.analyticService.platform)}}La.\u0275fac=function(e){return new(e||La)(a.Y36(o.F0),a.Y36(tt.yh),a.Y36(o.gz),a.Y36(I.a),a.Y36(k.k),a.Y36(S.g),a.Y36(P.o),a.Y36(V._),a.Y36(ie.O),a.Y36(D.Z),a.Y36(M.y),a.Y36(ae.B),a.Y36(nt.U),a.Y36(de.Q),a.Y36(ce.N),a.Y36(G.e),a.Y36(a.Qsj),a.Y36(Ce.k),a.Y36(P.o),a.Y36(le),a.Y36(Fe.h),a.Y36(Ze),a.Y36(L.D),a.Y36(U.W),a.Y36(ye.e),a.Y36(Z.R),a.Y36(lt.a),a.Y36(Pe._),a.Y36(r.K0))},La.\u0275cmp=a.Xpm({type:La,selectors:[["dtm-app"]],viewQuery:function(e,t){if(1&e&&(a.Gf(va,7),a.Gf(ba,5),a.Gf(Ca,5),a.Gf(wa,5),a.Gf(at.io,5)),2&e){let e;a.iGM(e=a.CRH())&&(t._generalSelectorAttributes=e.first),a.iGM(e=a.CRH())&&(t._vehicleSelectorAttributes=e.first),a.iGM(e=a.CRH())&&(t._dealershipSelectorAttributes=e.first),a.iGM(e=a.CRH())&&(t._focusStart=e.first),a.iGM(e=a.CRH())&&(t._loadingOverlay=e.first)}},decls:34,vars:6,consts:[[1,"general-attr-selector"],["generalSelectorAttributes",""],[1,"vehicle-attr-selector"],["vehicleSelectorAttributes",""],[1,"dealership-attr-selector"],["dealershipSelectorAttributes",""],["qaid","focus-on-route-change",1,"move-el-off-screen"],["focusStart",""],[4,"ngIf"],["role","main","id","main-section","aria-label","Main Section","tabindex","0",3,"ngClass",4,"ngIf"],[3,"pending","loadingCycled$",4,"ngIf"],[3,"opened","close",4,"ngIf"],[3,"analytic","visible","close",4,"ngIf"],[3,"showHeaderAtTopPage","prerenderComplete","burgerButtonEvent"],[3,"opened","close"],[3,"analytic","visible","close"],["role","main","id","main-section","aria-label","Main Section","tabindex","0",3,"ngClass"],["mainSection",""],[3,"pending","loadingCycled$"]],template:function(e,t){1&e&&(a._uU(0,"\n"),a._UZ(1,"span",0,1),a._uU(3,"\n"),a._UZ(4,"span",2,3),a._uU(6,"\n"),a._UZ(7,"span",4,5),a._uU(9,"\n"),a._UZ(10,"button",6,7),a._uU(12,"\n"),a.YNc(13,Pa,9,4,"ng-container",8),a._uU(14,"\n"),a.YNc(15,Oa,1,0,"dtm-device-offline",8),a._uU(16,"\n"),a.YNc(17,Ua,1,0,"dtm-outdated-version",8),a._uU(18,"\n"),a.YNc(19,Na,8,10,"section",9),a._uU(20,"\n"),a.YNc(21,Ta,2,2,"dtm-loading-overlay",10),a._uU(22,"\n"),a.YNc(23,Ea,6,2,"ng-container",8),a._uU(24,"\n"),a.TgZ(25,"dtm-ga-modal"),a._uU(26," "),a.qZA(),a._uU(27,"\n"),a._UZ(28,"dtm-return-user-modal"),a._uU(29,"\n"),a._UZ(30,"dtm-toast"),a._uU(31,"\n"),a._UZ(32,"dtm-chat-bubble"),a._uU(33,"\n")),2&e&&(a.xp6(13),a.Q6J("ngIf",!t.hideHeader),a.xp6(2),a.Q6J("ngIf",t.deviceOffline&&!t.isServerPrerender&&t.preRenderActionsComplete),a.xp6(2),a.Q6J("ngIf",t.badAppVersion&&!t.isServerPrerender&&t.preRenderActionsComplete),a.xp6(2),a.Q6J("ngIf",!t.deviceOffline&&!t.badAppVersion&&t.preRenderActionsComplete),a.xp6(2),a.Q6J("ngIf",!t.isServerPrerender),a.xp6(2),a.Q6J("ngIf",!t.hideFooter&&t.preRenderActionsComplete))},directives:[r.O5,bt,St,It,Lt,Un,Jn,Kn,Tt.e,ei,ii,r.mk,o.lC,ai.i,ca,Aa],pipes:[r.Ov],styles:["#main-section{outline:none}\n"],encapsulation:2}),(0,qe.gn)([(0,tt.Ph)(ot.V.nationwideVehicleCount),(0,qe.w6)("design:type",We.y)],La.prototype,"nationwideVehicleCount$",void 0),(0,qe.gn)([(0,tt.Ph)(e=>e.app.location.currentLocation),(0,qe.w6)("design:type",We.y)],La.prototype,"_currentLocation$",void 0),(0,qe.gn)([(0,tt.Ph)(we.LW.getVariableValue(Ke.Fu.OnlineTransactionReverseIp.Id,Ke.Fu.OnlineTransactionReverseIp.ReverseIpTimeout)),(0,qe.w6)("design:type",We.y)],La.prototype,"_reverseIpTimeout$",void 0);var Ra=n(15846),Fa=n(27192);const Va={storageKey:Fa.iu};function Za(e,t=Va){let n=Ga(e,t.storageKey);return JSON.stringify(n,(e,t)=>void 0===t?null:t)}function Ba(e,t,n=Va){let i=JSON.parse(e)||{},a=h.ObjectUtils.cloneDeep(t);try{qa(a,i,!1,n.storageKey)}catch(o){h.cmp.isDefinedAndNotNull(window.appInsights)&&window.appInsights.trackException(o)}return a}function Ga(e,t=Fa.iu){if(h.cmp.isEmpty(e))return e;let n={},i=e[t]||[];return Object.keys(e).forEach(a=>{let o=e[a];if(i.includes(a))n[a]=o;else if(h.cmp.isObject(o)){let e=Ga(o,t);h.cmp.isNotEmpty(e)&&(n[a]=e)}}),n}function qa(e,t,n=!1,i=Fa.iu){const a=i!==Fa.iu;Object.keys(t).filter(n=>{let i=e.hasOwnProperty(n),o=t.hasOwnProperty(n),r=h.cmp.isUndefinedOrNull(e[n])||h.cmp.isUndefinedOrNull(t[n]);return(i||o&&a)&&(r||typeof e[n]==typeof t[n])}).forEach(a=>{let o=n||(e[i]||[]).includes(a),r=h.cmp.isObject(t[a]);if(h.cmp.isObject(e[a])&&r)qa(e[a],t[a],o,i);else if(o){let n="object"!=typeof e[a],i=h.cmp.isDefinedAndNotNull(t[a]),o=!r||h.cmp.isUndefinedOrNull(e[a]),s=!Array.isArray(t[a])||h.cmp.isUndefinedOrNull(e[a])||Array.isArray(e[a]);(n||i)&&o&&s&&(e[a]=t[a])}})}var Ha=n(11429),Qa=n(67086),za=n(85698),Ya=n(54768),$a=n(11998),ja=n(88210),Wa=n(79117),Ja=n(1638),Xa=n(56463),Ka=n(51040),eo=n(98467),to=n(73946);let no=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({imports:[[tt.$l.forRoot([Ha.aB,Qa.F_,za.py,Ya.FT,$a.Dk,ja.MS,Wa.aF,Ja.LW,Xa.f0,eo.vA,ut.Z8,Ka.$,Se.p_,to.Yr,ot.V])]]}),e})();var io=n(46237),ao=n(81533),oo=n(20287),ro=n(15462),so=n(15161),lo=n(7354),co=n(53760);let uo=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e}),e.\u0275inj=a.cJS({providers:[{provide:"MOBILE_IONIC_CONTACTS",useClass:ao.z},{provide:"MOBILE_IONIC_CALENDAR",useClass:oo.f},{provide:"MOBILE_IONIC_DIALOGS",useClass:ro.x},{provide:"MOBILE_IONIC_NETWORK",useClass:so.Z},{provide:"MOBILE_IONIC_APPVERSION",useClass:lo.b},{provide:"MOBILE_IONIC_INAPPBROWSER",useClass:co.i}],imports:[[]]}),e})();n(70397);let po=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=a.oAB({type:e,bootstrap:[La]}),e.\u0275inj=a.cJS({providers:[{provide:"REQUEST",useValue:{}},{provide:"RESPONSE",useValue:{}},{provide:"SERVER_APP_INSIGHTS",useValue:{}},{provide:"SSR_SELF_API_HOST",useValue:""}],imports:[[i.b2.withServerTransition({appId:"dtm-app"}),io.PW,i.Cu,no,Fa.FQ.forRoot({"@@STATE":{serialize:Za,deserialize:Ba,key:"app"},"@@MARKETING":{serialize:Za,deserialize:Ba,key:"marketingAttrs"}}),Ra.ns.forRoot(),Ge,uo]]}),e})();oe.N.production&&(0,a.G48)(),i.q6().bootstrapModule(po).catch(e=>console.error(e)).then(()=>{const e=document.getElementById("loading-screen");e&&e.remove()})},10897:function(e,t,n){"use strict";n.d(t,{zp:function(){return s},G9:function(){return l},w9:function(){return c},d7:function(){return d},DJ:function(){return u}});var i=n(26215),a=n(20483),o=n(60356),r=n(71412);class s{constructor(e,t,n){if(this.GeoPoint=null,this.RegionDescription="",this.DealershipNumber=0,this.DealershipName="",this.RegionId=-1,this.AddressLine1="",this.City="",this.StateAbbreviation="",this.Zip5=null,this.PhoneNumber=null,this.Schedule=null,this.ManualClosures=[],this.ImageURI="",this.EmployeeData=[],this.DealershipSpecificInfo="",this.DrivingDirection="",this.Distance=0,this.hasGrandOpened=!1,this.hasInternetOpened=!1,this.hasExtendedData=!1,this.KBBDealershipID=null,a.cmp.isDefinedAndNotNull(e)&&(this.GeoPoint=e.GeoPoint,this.RegionDescription=e.RegionDescription,this.DealershipNumber=e.DealershipNumber,this.DealershipName=e.DealershipName,this.RegionId=e.RegionID,this.AddressLine1=e.AddressLine1,this.City=e.City,this.StateAbbreviation=e.StateAbbreviation,this.Zip5=e.Zip5,this.PhoneNumber=e.PhoneNumber,this.ImageURI=e.ImageURI,this.setExtendedData(e),this.DealershipOpenDate=a.cmp.isDefinedAndNotNull(e.DealershipOpenDate)?r(e.DealershipOpenDate):null,this.KBBDealershipID=e.KBBDealershipID,this.Schedule=this._parseDealershipSchedule(e.Schedule),this.ManualClosures=this._parseManualClosures(e.Closures),this.AccuTradeDealershipId=e.AccuTradeDealershipID,this.DealershipId=e.DealershipID),a.cmp.isDefinedAndNotNull(t)&&(this.Distance=t),a.cmp.isDefinedAndNotNull(n)){this._setTimeTracker(e.TimeZone,e.DayLightSavingTime,n);let t=this._timeTracker.getCurrentUtcTime();this._setGrandOpened(e.DealershipOpenDate,e.DealershipCloseDate,t),this._setInternetOpened(e.DealershipInternetOpenDate,t)}this.MapLink=this._toMapLink()}_parseManualClosures(e){if(a.cmp.isUndefinedOrNull(e))return[];try{return JSON.parse(e)}catch(t){return[]}}_toMapLink(){return{label:"DriveTime Dealership",address:this.AddressLine1,city:this.City,stateAbbreviation:this.StateAbbreviation,lat:this.GeoPoint.coordinates[1],lng:this.GeoPoint.coordinates[0]}}_parseDealershipSchedule(e){if(a.cmp.isEmpty(e))return null;let t=null;try{t=JSON.parse(e)}catch(i){return null}let n={};return["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"].forEach(e=>{n[e]={open:t[0][`${e}Open`],close:t[0][`${e}Closed`],apptOpen:t[0][`${e}AppointmentOpen`],apptClose:t[0][`${e}AppointmentClosed`]}}),this.IsAppointmentOnly=t[0].IsAppointmentOnly,n}setExtendedData(e){a.cmp.isDefinedAndNotNull(e.EmployeeData)&&(this.hasExtendedData=!0,this._setEmployeeData(e.EmployeeData)),a.cmp.isDefinedAndNotNull(e.DealershipSpecificInfo)&&(this.hasExtendedData=!0,this.DealershipSpecificInfo=e.DealershipSpecificInfo),a.cmp.isDefinedAndNotNull(e.DrivingDirection)&&(this.hasExtendedData=!0,this.DrivingDirection=e.DrivingDirection)}getCurrentTimeAtDealership(){return a.cmp.isDefinedAndNotNull(this._timeTracker)?this._timeTracker.getCurrentTime():null}_isManuallyClosed(){let e=this.getCurrentTimeAtDealership(),t=e.format("YYYY-MM-DD"),n=e.tz(),i=this.ManualClosures.find(e=>e.ClosedDate===t);if(a.cmp.isUndefinedOrNull(i))return!1;let o=r.tz(i.ClosedDate,n).format("dddd");if(i.ClosedFromTime<this.Schedule[o].open)return!0;let s=r.tz(i.ClosedFromTime,"HH:mm:ss",n);return e.isAfter(s)}_isOpenOnSchedule(){let e=this.getCurrentTimeAtDealership(),t=e.clone().format("dddd"),{open:n,close:i}=this.Schedule[t];if(a.cmp.isUndefinedOrNull(n))return!1;let[o,r]=n.split(":"),[s,l]=i.split(":"),c=e.clone().set({hour:+o,minute:+r}),d=e.clone().set({hour:+s,minute:+l}),u=e.diff(c)>=0,p=e.diff(d)>=0;return u&&!p}isOpen(){return!a.cmp.isUndefinedOrNull(this.Schedule)&&!a.cmp.isUndefinedOrNull(this._timeTracker)&&!this._isManuallyClosed()&&this._isOpenOnSchedule()}_setEmployeeData(e){try{let t=JSON.parse(e);if(a.cmp.isNotEmpty(t)){let e=[];t.forEach(t=>{let{FirstName:n,LastName:i,JobTitle:a,JobCode:o}=t;e.push({FirstName:n,LastName:i,JobTitle:a,JobCode:o})}),this.EmployeeData=e}}catch(t){this.EmployeeData=[]}}_setGrandOpened(e,t,n){let i=r(e),a=r(t),o=n.diff(i)>=0,s=n.diff(a)>=0;this.hasGrandOpened=o&&!s}_setInternetOpened(e,t){let n=r(e);this.hasInternetOpened=t.diff(n)>=0}_setTimeTracker(e,t,n){this._timeTracker=new o.L(n),this._timeTracker.setTimeZone(e,t)}}class l{constructor(){this.allDealerships$=new i.X([])}addDealership(e){let t=this.allDealerships$.getValue();t.push(e),this.publish(t)}updateDealership(e){let t=this.allDealerships$.getValue(),n=t.findIndex(t=>t.DealershipNumber===e.DealershipNumber);-1!==n&&t.splice(n,1),this.addDealership(e)}publish(e){this.allDealerships$.next(e)}}class c{constructor(){this.dealership$=new i.X(null)}publish(e){this.dealership$.next(e)}}class d{constructor(){this.stateDealerships$=new i.X([])}publish(e){this.stateDealerships$.next(e)}}class u{constructor(){this.regionDealerships$=new i.X([])}publish(e){this.regionDealerships$.next(e)}}},98648:function(e,t,n){"use strict";n.d(t,{a:function(){return r},S:function(){return o}});var i=n(79765),a=n(20483);class o{constructor(){this.sortVehiclesDataSubject=new i.xQ}queryCompare(e,t,n){return class{static vehicleDataIsValid(e,t,n){return!a.cmp.isEmpty(n)&&a.ObjectUtils.deepCompare(e,t)}}.vehicleDataIsValid(t,e,n)}publish(e){this.query=e,this.sortVehiclesDataSubject.next(this.query)}}let r=(()=>{class e{}return e.sorters=[{id:17,key:"pricedropDsc",name:"ReducedPrice",label:"Recent Price Drop",ascending:!1,analytic:{category:"VehicleSort",action:"selection",label:"RecentPriceDrop"}},{id:8,key:"nearestAsc",name:"nearest",label:"Nearest to you",ascending:!0,analytic:{category:"VehicleSort",action:"selection",label:"DistanceSort"}},{id:0,key:"MakeDisplayNameAsc",name:"MakeDisplayName",label:"Make/Model A - Z",ascending:!0,analytic:{category:"VehicleSort",action:"selection",label:"MakeModelAZSort"}},{id:1,key:"MakeDisplayNameDesc",name:"MakeDisplayName",label:"Make/Model Z - A",ascending:!1,analytic:{category:"VehicleSort",action:"selection",label:"MakeModelZASort"}},{id:4,key:"StickerPriceAsc",name:"StickerPrice",label:"Price (Low to High)",ascending:!0,analytic:{category:"VehicleSort",action:"selection",label:"PriceLowHighSort"}},{id:5,key:"StickerPriceDesc",name:"StickerPrice",label:"Price (High to Low)",ascending:!1,analytic:{category:"VehicleSort",action:"selection",label:"PriceHighLowSort"}},{id:2,key:"OdometerValueAsc",name:"OdometerValue",label:"Miles (Low to High)",ascending:!0,analytic:{category:"VehicleSort",action:"selection",label:"MileageLowHighSort"}},{id:3,key:"OdometerValueDesc",name:"OdometerValue",label:"Miles (High to Low)",ascending:!1,analytic:{category:"VehicleSort",action:"selection",label:"MileageHighLowSort"}},{id:6,key:"YearDesc",name:"Year",label:"Year (New to Old)",ascending:!1,analytic:{category:"VehicleSort",action:"selection",label:"YearNewOldSort"}},{id:7,key:"YearAsc",name:"Year",label:"Year (Old to New)",ascending:!0,analytic:{category:"VehicleSort",action:"selection",label:"YearOldNewSort"}},{id:13,key:"VsrBestMatchPriceAsc",name:"VSRBestMatchPrice",label:"Best Match",ascending:!0,analytic:{category:"VehicleSort",action:"selection",label:"BestMatchSort",value:"VSRBestMatchPrice"}}],e})()},60356:function(e,t,n){"use strict";n.d(t,{L:function(){return a}});var i=n(71412);class a{constructor(e){this._times=e,this._timeZone="UTC"}getCurrentUtcTime(){let e=i().valueOf()-i(this._times.appStart).valueOf(),t=i(this._times.utc).valueOf()+e;return i(t).clone()}getCurrentTime(){return this.getCurrentUtcTime().tz(this._timeZone).clone()}setTimeZone(e,t){if(t)switch(e){case"CST":e="America/Chicago";break;case"PST":e="America/Los_Angeles";break;case"EST":e="America/New_York";break;case"MST":e="America/Denver"}this._timeZone=e}}},29160:function(e,t,n){"use strict";n.d(t,{p:function(){return a}});var i=n(82298);class a{constructor(e,t){this.inputField=e,this.searchType=t,"undefined"!=typeof google&&this.initAutocomplete(e,t),this.events=new i.t}initAutocomplete(e,t){const n=Array.isArray(t)?[...t]:[t],i=new google.maps.places.Autocomplete(e.nativeElement,{componentRestrictions:{country:"us"},types:n});i.addListener("place_changed",this.handleTypeaheadSelection.bind(this)),this.autocomplete=i}handleLocationSearch(){this.updateLocation({name:this.inputField.nativeElement.value})}handleTypeaheadSelection(){const e=this.autocomplete.getPlace();this.updateLocation(e)}updateLocation(e){this.events.next(e)}}},74493:function(e,t,n){"use strict";n.d(t,{gV:function(){return a},BF:function(){return o}});var i=n(22479),a=(()=>{return(e=a||(a={}))[e.open=0]="open",e[e.reset=1]="reset",a;var e})();function o(){return{makeModel:[],distance:[i.n.Radius250],year:null,payments:null,mpg:null,colors:null,price:null,mileage:null,driveTrain:null,fuelType:null,engine:null,bodyType:null,features:null,history:null}}},27192:function(e,t,n){"use strict";n.d(t,{FQ:function(){return i.F},iu:function(){return a.iu}});var i=n(70397),a=n(30688)},70397:function(e,t,n){"use strict";n.d(t,{F:function(){return v}});var i=n(37716),a=n(28645),o=n(38583),r=n(20483),s=n(94612),l=n(88002),c=n(67130),d=n(93342),u=n(30688),p=n(25917),h=n(94402),m=n(18891);let g=(()=>{class e{constructor(e,t,n){this._options=e,this._engines=t,this._platformId=n}handle(e,t,n){if((0,o.PM)(this._platformId))return n(e,t);const i=Object.keys(this._options).map(e=>e),g=(0,a.gc)(t),f=g(a.XP),y=g(a.JL),_=f||y;let A=(0,p.of)(e);return _&&(A=(0,h.D)(i).pipe((0,s.b)(e=>{const n=this._engines[e],i=y&&t.addedStates,a=this._options[e].key;if(y&&i){const t=a.indexOf("."),n=t>-1?a.slice(0,t):a;if(!i.hasOwnProperty(n))return new m.y(void 0).pipe((0,l.U)(t=>[e,void 0]))}try{return n.getItem(e).pipe((0,l.U)(t=>[e,t,i]))}catch(o){console.error(o,"Failed to Load the Data from Storage!")}}),(0,c.u)((t,[n,i,o])=>{let s=t;if(r.cmp.isDefinedAndNotNull(i)){const c=n===u.iu,d=this._options[n],p=d.key,h=r.cmp.isDefinedAndNotNull(p);try{if(r.cmp.isDefinedAndNotNull(d.deserialize)){const t=c?e:(0,a.NA)(e,p);i=d.deserialize(i,t,d.extraConfig)}}catch(l){i={}}return!c&&h?s=(0,a.sO)(t,p,i):(i&&o&&Object.keys(o).length>0&&(i=Object.keys(o).reduce((e,t)=>(i.hasOwnProperty(t)&&(e[t]=i[t]),e),{})),s=Object.assign(Object.assign({},t),i)),s}return s},e))),A.pipe((0,s.b)(e=>n(e,t)),(0,d.b)(e=>{if(!_)for(const n of i){const i=this._options[n],o=this._engines[n],s=i.key,l=r.cmp.isDefinedAndNotNull(s);let c=e;l&&n!==u.iu&&(c=(0,a.NA)(e,s));try{l&&r.cmp.isDefinedAndNotNull(i.serialize)&&o.setItem(n,i.serialize(c,i.extraConfig))}catch(t){}}}))}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(u.vP),i.LFG(u.A9),i.LFG(i.Lbi))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})();class f{constructor(e){this._storage=e}length(){return(0,p.of)(this._storage.length)}getItem(e){return(0,p.of)(this._storage.getItem(e))}setItem(e,t){this._storage.setItem(e,t)}removeItem(e){this._storage.removeItem(e)}clear(){this._storage.clear()}}const y=e=>new f(e);function _(e,t){return(0,o.PM)(t)?{}:Object.keys(e).reduce((t,n)=>{const i=e[n];if(i.storageEngine&&i.asyncStorageEngine)throw new Error("[STOREAGE ENGINE] ERROR: Can not use async storage and storage togther!");return t[n]=y(localStorage),1===i.storage&&(t[n]=y(sessionStorage)),i.storageEngine?t[n]=y(new i.storageEngine):i.asyncStorageEngine&&(t[n]=new i.asyncStorageEngine),t},{})}function A(e){return Object.keys(e).reduce((t,n)=>{const i=e[n];return i.extraConfig?i.extraConfig.storageKey=n:i.extraConfig={storageKey:n},t[n]=Object.assign({key:i.key,storage:0,serialize:e=>JSON.stringify(e),deserialize:e=>JSON.parse(e)},i),t},{})}let v=(()=>{class e{static forRoot(t){return{ngModule:e,providers:[{provide:a.fN,useClass:g,multi:!0},{provide:u.N$,useValue:t},{provide:u.vP,useFactory:A,deps:[u.N$]},{provide:u.A9,useFactory:_,deps:[u.vP,i.Lbi]}]}}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=i.oAB({type:e}),e.\u0275inj=i.cJS({}),e})()},30688:function(e,t,n){"use strict";n.d(t,{N$:function(){return a},vP:function(){return o},A9:function(){return r},iu:function(){return s}});var i=n(37716);const a=new i.OlP("_USER_OPTIONS"),o=new i.OlP("_NGXS_STORAGE_PLUGIN_OPTION"),r=new i.OlP("_STORAGE_ENGINE"),s="@@STATE"},27148:function(e,t,n){"use strict";n.d(t,{N:function(){return s}});var i=n(38583),a=n(51122),o=n(54354),r=n(37716);let s=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=r.oAB({type:e}),e.\u0275inj=r.cJS({providers:[a.b,o.B,i.JJ,i.uU],imports:[[i.ez],i.ez]}),e})()},37938:function(e,t,n){"use strict";n.d(t,{m:function(){return B}});var i=n(38583),a=n(2694),o=n(3679),r=n(5359),s=n(34307),l=n(37716);let c=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l.oAB({type:e}),e.\u0275inj=l.cJS({}),e})(),d=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l.oAB({type:e}),e.\u0275inj=l.cJS({imports:[[i.ez,s.mZ,c],s.mZ,c]}),e})();var u=n(49400),p=n(22741),h=n(16109),m=n(64161),g=n(91353),f=n(40550),y=n(80267),_=n(97519),A=n(50187),v=n(44985),b=n(13380),C=n(84941),w=n(9968);let S=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l.oAB({type:e}),e.\u0275inj=l.cJS({imports:[[i.ez,o.UX,d,o.u5]]}),e})();l.B6R(_.p,[r.c],[]),l.B6R(f.N,[r.c,i.O5],[]),l.B6R(u.x,[r.c],[]),l.B6R(p.h,[r.c],[]),l.B6R(h.U,[r.c],[]),l.B6R(m.d,[r.c,i.O5],[]),l.B6R(w.h,[r.c],[]),l.B6R(g.w,[r.c,i.O5],[]),l.B6R(A.W,[r.c,i.O5],[]),l.B6R(v.Q,[i.mk,h.U,p.h,y.z],[i.Ov]),l.B6R(C.Z,[i.O5,b.p,h.U],[]);var k=n(27148),M=n(6748),P=n(25556),O=n(71060),U=n(5282),I=n(88229),N=n(23435),T=n(797),D=n(39075);let x=(()=>{class e extends D.hm{constructor(){super(...arguments),this.overrides={swipe:{velocity:.1,threshold:1}}}}return e.\u0275fac=function(){let t;return function(n){return(t||(t=l.n5z(e)))(n||e)}}(),e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac}),e})();var E=n(24014),L=n(13535),R=n(19967),F=n(84026),V=n(48350),Z=n(77519);let B=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=l.oAB({type:e}),e.\u0275inj=l.cJS({providers:[{provide:D.ok,useClass:x},L.R],imports:[[i.ez,o.u5,a.Bz,S,k.N,d],i.ez,a.Bz,S,k.N,d,D.t6]}),e})();l.B6R(E.m,[i.tP,T.b,R.e,F.Q,i.O5,O.m,i.mk,V.L,U.S,N.E,Z.AK,M.s,P.S,I.k],[])},12991:function(e,t,n){"use strict";n.d(t,{G:function(){return p}});var i=n(94402),a=n(47349),o=n(93342),r=n(39075),s=n(20483),l=n(67041),c=n(60944),d=n(37716),u=n(91841);let p=(()=>{class e{constructor(e,t,n){this._http=e,this._transferState=t,this._appConfigService=n,this._pendingRequests={}}request(e,t,n=!0){let i=(e,t)=>this._http.request("get",e,t);return n?this._getData(e,t,i):i(e,t).pipe((0,a.d)())}get(e,t=!0){let n=(0,c.v)([{name:"dt-client-build",value:this._appConfigService.buildVersion.getValue()}]),i=(e,t)=>this._http.get(e,t);return t?this._getData(e,n,i):i(e,n).pipe((0,a.d)())}post(e,t=null,n={},i=!0){n=(0,c.v)([{name:"dt-client-build",value:this._appConfigService.buildVersion.getValue()}],n);let o=(e,t,n)=>this._http.post(e,t,n);return i?this._getPostData(e,t,n,o):o(e,t,n).pipe((0,a.d)())}_getData(e,t,n){let i=this._removeHostNameFromUrl(e),r=this._resolveData(i);if(s.cmp.isDefinedAndNotNull(r))return r;let l=n(e,t).pipe((0,a.d)(),(0,o.b)(e=>{delete this._pendingRequests[i],this._setCache(i,e)}));return this._pendingRequests[i]=l,l}_getPostData(e,t,n,i){let r=this._removeHostNameFromUrl(e)+JSON.stringify(t),l=this._resolveData(r);if(s.cmp.isDefinedAndNotNull(l))return l;let c=i(e,t,n).pipe((0,a.d)(),(0,o.b)(e=>{delete this._pendingRequests[r],this._setCache(r,e)}));return this._pendingRequests[r]=c,c}_resolveData(e){let t=this._getFromCache(e);return s.cmp.isDefinedAndNotNull(t)?(0,i.D)(Promise.resolve(t)):this._pendingRequests[e]}_setCache(e,t){let n=s.ObjectUtils.deepObjectClone(t);return s.cmp.isDefinedAndNotNull(n.buildVersion)&&(n.buildVersion="unknown"),this._transferState.set((0,r.Cb)(e),n)}_getFromCache(e){return this._transferState.get((0,r.Cb)(e),null)}_removeHostNameFromUrl(e){return e.split("/").slice(3).join("/")}}return e.\u0275fac=function(t){return new(t||e)(d.LFG(u.eN),d.LFG(r.ki),d.LFG(l._))},e.\u0275prov=d.Yz7({token:e,factory:e.\u0275fac}),e})()},51122:function(e,t,n){"use strict";n.d(t,{b:function(){return o}});var i=n(20483),a=n(37716);let o=(()=>{class e{transform(e){return i.cmp.isUndefinedOrNull(e)?e:e.replace(/[^A-Za-z0-9\s#/\.' \-]/g,"")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Yjl({name:"addressStripPipe",type:e,pure:!0}),e})()},21070:function(e,t,n){"use strict";n.d(t,{f:function(){return a}});var i=n(37716);let a=(()=>{class e{transform(e,t){return e&&e.toLowerCase().replace(/(^|\s)(ne|nw|se|sw)(\s|$)/g,e=>e.toUpperCase()).replace(/(^|-|\s)\w/g,e=>e.toUpperCase())}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Yjl({name:"capitalizeAddress",type:e,pure:!0}),e})()},63043:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});var i=n(37716);let a=(()=>{class e{transform(e,t){return e&&e.replace(/[^\s]+/g,function(e){return e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Yjl({name:"capitalize",type:e,pure:!0}),e})()},18628:function(e,t,n){"use strict";n.d(t,{ft:function(){return o.f},eg:function(){return i.e},Ks:function(){return c},Iq:function(){return a.I}});var i=n(63043),a=n(17974),o=(n(51122),n(54354),n(21070)),r=n(20483),s=n(76652),l=n(37716);let c=(()=>{class e{constructor(e,t){this._routerStrategy=e,this._ref=t,this._variables={},this._latestValue=null,this._subscription=null,this._subscription=e.replacedRouterData$.subscribe(e=>{this._latestValue=null,t.markForCheck();const n=r.cmp.isDefinedAndNotNull(e)&&r.cmp.isDefinedAndNotNull(e.pageContent)&&r.cmp.isDefinedAndNotNull(e.pageContent.content);this._variables=n?e.pageContent.content:{}})}ngOnDestroy(){this._subscription&&this._subscription.unsubscribe()}transform(e){if(r.cmp.isDefinedAndNotNull(this._latestValue))return this._latestValue;if(e.includes(".")){const t=e.split(".");return this._latestValue=r.cmp.isDefinedAndNotNull(this._variables[t[0]])&&r.cmp.isDefinedAndNotNull(this._variables[t[0]][t[1]])?this._variables[t[0]][t[1]]:"",this._latestValue}return this._latestValue=this._variables[e],this._latestValue}}return e.\u0275fac=function(t){return new(t||e)(l.Y36(s.h,16),l.Y36(l.sBO,16))},e.\u0275pipe=l.Yjl({name:"contentReplace",type:e,pure:!1}),e})()},17974:function(e,t,n){"use strict";n.d(t,{I:function(){return o}});var i=n(37716);const a=n(26594);let o=(()=>{class e{transform(e,t){return new a(t).apply(e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Yjl({name:"mask",type:e,pure:!0}),e})()},54354:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});var i=n(20483),a=n(37716);let o=(()=>{class e{transform(e){return i.cmp.isUndefinedOrNull(e)?e:0!==e.length?/^[A-Za-z]/.test(e)?e.replace(/[^A-Za-z\-'\.\s]/g,""):e="":void 0}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=a.Yjl({name:"nameStripPipe",type:e,pure:!0}),e})()},25680:function(e,t,n){"use strict";n.d(t,{X:function(){return a}});var i=n(37716);let a=(()=>{class e{transform(e,t){return e&&(10===e.length?e.substr(0,3)+"-"+e.substr(3,3)+"-"+e.substr(6,4):11===e.length?e.charAt(0)+"-"+e.substr(1,3)+"-"+e.substr(4,3)+"-"+e.substr(7,4):e)}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275pipe=i.Yjl({name:"phoneNumber",type:e,pure:!0}),e})()},70764:function(e,t,n){"use strict";n.d(t,{g:function(){return z}});var i=n(97582),a=n(38583),o=n(40273),r=n(72349),s=n(20483),l=n(67041),c=n(68450),d=n(98529),u=n(51751),p=n(68603),h=n(31547),m=n(68552),g=n(60356),f=n(2916),y=n(80352),_=n(76917),A=n(58923),v=n(23742),b=n(9953),C=n(30277),w=n(28049),S=n(39426),k=n(88002),M=n(26215),P=n(22759),O=n(66682),U=n(20945),I=n(98800),N=n(69958),T=n(53629),D=n(59837),x=n(82298),E=n(18891),L=n(28645),R=n(92547),F=n(96645),V=n(45435),Z=n(87519),B=n(83175),G=n(41282),q=n(37716);class H{constructor(e){this._segmentLoaded=!1,this.errorSubject=new x.t,this.error$=this.errorSubject.asObservable(),this._nulllIdentifyMethodMessage="Segment.identify method is not defined as expected on window",this._nulllPageViewMethodMessage="Segment.page method is not defined as expected on window",this._nullWriteKeyMessage="Segment write key is not defined",this._segmentDisabledMessage="Segment tracking is currently disabled",this._emptyTrackingEventPropertiesMessage="Cannot track an event in segment with an empty property array",this._segmentSourceName="DTM",this._segmentSdk={load:e=>window.segment.load(e),identify:(e,t)=>window.segment.identify(e,t),page:(e,t,n)=>window.segment.page(e,t,n),track:(e,t,n)=>window.segment.track(e,t,n)},s.cmp.isDefinedAndNotNull(e)&&(this.writeKey=e)}initialize(){s.cmp.isDefinedAndNotNull(this.writeKey)&&s.cmp.isNotEmpty(this.writeKey)?this.subscribeToFeatureParams():this.errorSubject.next(this._nullWriteKeyMessage)}logPageView(e={}){try{s.cmp.isDefinedAndNotNull(this._latestFeatureParams)&&!0===this._latestFeatureParams.pageEnabled?(this._loadSegmentSdk(),this._segmentSdk.page(this._segmentSourceName,e.PageName.toString(),e)):(s.cmp.isDefinedAndNotNull(this._latestFeatureParams)&&!0===this._latestFeatureParams.queueEventsForBackfill||s.cmp.isUndefinedOrNull(this._latestFeatureParams))&&this._segmentSdk.page(this._segmentSourceName,e.PageName.toString(),e)}catch(t){this.errorSubject.next(t)}}logTrackingEvent(e,t={}){try{if(s.cmp.isEmpty(t))return void this.errorSubject.next(this._emptyTrackingEventPropertiesMessage);const n={app:{build:this._buildNumber,name:this._segmentSourceName},screen:{height:window.screen.height,width:window.screen.width}};s.cmp.isDefinedAndNotNull(this._latestFeatureParams)&&this._latestFeatureParams.trackEnabled?(this._loadSegmentSdk(),this._segmentSdk.track(e,t,n)):(s.cmp.isDefinedAndNotNull(this._latestFeatureParams)&&!0===this._latestFeatureParams.queueEventsForBackfill||s.cmp.isUndefinedOrNull(this._latestFeatureParams))&&this._segmentSdk.track(e,t,n)}catch(n){this.errorSubject.next(n)}}logIdentityTraits(e){try{s.cmp.isDefinedAndNotNull(e.ssn)?this.logGa2IdentityTraits(e):s.cmp.isDefinedAndNotNull(e.phoneNumber)?this.logGa1IdentityTraits(e):this.errorSubject.next(`Unknown source for identity traits: ${e}`)}catch(t){this.errorSubject.next(t)}}logGa1IdentityTraits(e){const t={firstName:e.firstName,lastName:e.lastName,stated_phone:e.phoneNumber,stated_email:e.email,address:{postalCode:e.zip}};this._latestFeatureParams.ga1IdentifyEnabled?(this._loadSegmentSdk(),this._segmentSdk.identify(null,t)):!0===this._latestFeatureParams.queueEventsForBackfill&&this._segmentSdk.identify(null,t)}logGa2IdentityTraits(e){const t={firstName:e.firstName,lastName:e.lastName,stated_phone:e.phoneNumber,stated_email:e.email,pii_hash:s.cmp.isDefinedAndNotNull(e.userId)?e.userId:void 0,address:{street:e.address,city:e.city,state:e.state,postalCode:e.zip}},n=s.cmp.isDefinedAndNotNull(e.userId)&&!e.hasRiskIndicator?e.userId:void 0;this._latestFeatureParams.ga2IdentifyEnabled?(this._loadSegmentSdk(),this._segmentSdk.identify(n,t)):!0===this._latestFeatureParams.queueEventsForBackfill&&this._segmentSdk.identify(n,t)}_loadSegmentSdk(){if(!this._segmentLoaded)try{this._segmentSdk.load(this.writeKey),this._segmentLoaded=!0}catch(e){this.errorSubject.next(e)}}subscribeToFeatureParams(){this.segmentFeatureParams$.pipe((0,V.h)(e=>s.cmp.isDefinedAndNotNull(e)),(0,Z.x)((e,t)=>e.variation===t.variation)).subscribe(e=>{try{this._latestFeatureParams=e,(e.trackEnabled||e.pageEnabled||e===B.Q.SegmentAllFeatures)&&this._loadSegmentSdk()}catch(t){this.errorSubject.next(t)}})}}H.\u0275fac=function(e){return new(e||H)(q.LFG(G.X))},H.\u0275prov=q.Yz7({token:H,factory:H.\u0275fac,providedIn:"root"}),(0,i.gn)([(0,L.Ph)(R.Z8.get(F.j.Home.SegmentSdk)),(0,i.w6)("design:type",E.y)],H.prototype,"segmentFeatureParams$",void 0);var Q=n(2694);let z=(()=>{class e{constructor(e,t,n,i,a,o,r,l,c,d,u,p,h,m){this._router=e,this._appConfig=t,this._windowService=n,this._activatedRoute=i,this._cookieService=a,this._screenSizeService=o,this._appState=r,this._fullStoryService=l,this._document=c,this._rendererFactory=d,this._store=u,this._serverAppInsights=p,this._optimizelyFullStackService=h,this._segmentService=m,this.appInsights=null,this.analyticsUserId=null,this.analyticsSessionId$=new M.X(""),this.platform=this.configurePlatformType(this._appConfig.isDesktopUserAgent),this._isFullstoryRecorded=!1,this._analyticTimeTracker=null,this._renderer=_.N.buildRenderer(this._rendererFactory,this._document),this._curRouteName="",this._curRouteSubType="",this._queuedDmpAnalytics=[],this._queuedGoogleAnalytics=[],this._queuedGooglePageViews=[],this._dmpQueueRunning=!1,this._hasLoggedFmp=!1,this._currentDeviceOrientation=this._getDeviceOrientation(),this._deviceOrientationThrottleDelay=T.N.configuration.analytics.deviceOrientationThrottleDelay,this._hasClientAppInsights=!1,this._hasServerAppInsights=this._appConfig.isServerPrerender&&s.cmp.isNotEmpty(this._serverAppInsights),this._firstRouteChange=!0,this._usePrivacyPhaseTwo=!1,this._gaLoadConfig={retries:10,interval:500},this._googleAnalyticsReady=!1}init(){this._appConfig.isBrowser&&(this._analyticTimeTracker=new g.L(this._appState.appTimesRef),this._analyticTimeTracker.setTimeZone("MST",!1),this._setupAppInsightAnalytics(),this._setupGoogleAnalytics(),this._segmentService.initialize(),this._userAgentData=this._appConfig.getAnalyticUserAgentAttribute(),this._fullStoryService.isFullStoryLoaded$.pipe((0,w.P)(e=>e)).subscribe(()=>{this._isFullstoryRecorded=!0,this._fullStoryService.identifyUniqueUser(this.getAnalyticsSessionId()),this.logFullStory("AnalyticsUser",{analyticsUserId:this.analyticsUserId,analyticsSessionID:this.getAnalyticsSessionId()})}),this._setupEventDelegation(),this._trackBrowserPerfMetrics(),s.cmp.isDefinedAndNotNull(window.perfMetrics.loaderTimeoutRef)&&clearTimeout(window.perfMetrics.loaderTimeoutRef),this._optimizelyFullStackService.decisionEvents.subscribe(e=>{let t={};t.optimizely_decision_experimentId=e.experimentId,t.optimizely_decision_experimentName=e.experimentKey,t.optimizely_decision_variationId=e.variationId,t.optimizely_decision_variationName=e.variationKey,this.logAppInsights("optimizely_event_campaignDecided",t),this.logFullStory("OptimizelyEvent",t)}),s.cmp.isDefinedAndNotNull(this._segmentService)&&(this._segmentService.initialize(),this._segmentService.error$.subscribe(e=>{this.logException(e)})))}logAnalytic(e,t){if(s.cmp.isEmpty(e)||s.cmp.isUndefinedOrNull(e.category)||s.cmp.isUndefinedOrNull(e.label))return;let n={hitType:"event",category:e.category,action:s.cmp.isDefinedAndNotNull(e.action)?e.action:"click",value:s.cmp.isDefinedAndNotNull(e.value)?e.value:"1",label:e.label,nonInteraction:!!s.cmp.isDefinedAndNotNull(e.nonInteraction)&&e.nonInteraction,optimizelyEvent:e.optimizelyEvent,experimentMetric:e.experimentMetric,additionalData:e.additionalData,addExperimentPageName:e.addExperimentPageName};return s.cmp.isUndefinedOrNull(n.additionalData)&&(n.additionalData={}),n.additionalData.leadSubmissionId=this._store.leadSnapshot().leadSubmissionId,n.additionalData.isFullstoryRecorded=this._isFullstoryRecorded,this.logGoogleAnalytic(n,t),this.logAppInsightsAnalytic(n,t),n.experimentMetric&&this.logOptimizelyClickMetric(n),n}_getSiteExperience(){return this._screenSizeService.isDesktop.getValue()?A.v4.DesktopV1:A.v4.MobileV1}_setupGoogleAnalytics(){const e=()=>{try{window.ga("create",T.N.configuration.analytics.google,{siteSpeedSampleRate:10}),window.ga("set",o.ki.ANALYTICS_SESSION_ID,this.getAnalyticsSessionId()),window.ga("set",o.ki.PLATFORM,this.platform);let e=window.analytics.userId;s.cmp.isDefinedAndNotNull(e)&&(this.analyticsUserId=e),this._googleAnalyticsReady=!0,this._queuedGoogleAnalytics.length>0&&this._logQueuedGoogleAnalytics(),this._queuedGooglePageViews.length>0&&this._logQueuedGooglePageViews()}catch(e){this.logException(e)}};if("function"==typeof window.ga)this.logTraceInfo("AnalyticsService => Google Analytics script already loaded"),e();else{let t=0,n=window.setInterval(()=>{s.cmp.isDefinedAndNotNull(window.ga)?(this.logTraceInfo("AnalyticsService => Google Analytics script delayed load",{attempts:t.toString()}),window.clearInterval(n),e()):t>=this._gaLoadConfig.retries&&s.cmp.isUndefinedOrNull(window.ga)&&(this.logTraceInfo("AnalyticsService => Google Analytics script failed delayed load"),window.clearInterval(n)),t++},this._gaLoadConfig.interval)}}_logQueuedGooglePageViews(){const e=this._queuedGooglePageViews.reduce((e,t)=>{const n=this._appState.matchTimeToRoute(t.time);return e+`${y.x4[n.name]}${(0,y.rU)(n.name,n.subname)},`},"");this._queuedGooglePageViews.forEach(e=>this.logGooglePageView(e.customData,e.time)),this.logTraceInfo("AnalyticsService => Draining GA PageView Queue",{pageViews:e}),this._queuedGooglePageViews.length=0}_logQueuedGoogleAnalytics(){this._queuedGoogleAnalytics.forEach(e=>this.logGoogleAnalytic(e.analytic,e.time));const e=this._queuedGoogleAnalytics.reduce((e,t)=>(e[`${t.analytic.category}-${t.analytic.label}`]=t.analytic.value,e),{});this.logTraceInfo("AnalyticsService => Draining GA Analytics Queue",e),this._queuedGoogleAnalytics.length=0}_setupAppInsightAnalytics(){s.cmp.isDefinedAndNotNull(window.appInsights)&&(this.appInsights=window.appInsights,this.appInsights.context.session.id=this.getAnalyticsSessionId(),this._hasClientAppInsights=!0)}logPageView(e,t,n=[]){return(0,i.mG)(this,void 0,void 0,function*(){this._curRouteName=y.x4[e],this._curRouteSubType=(0,y.rU)(e,t),this._firstRouteChange?this._firstRouteChange=!1:yield s.AsyncUtils.nextTick();let i=this.enrichPageViewData(null);n.includes(A.Xu.GoogleAnalytics)||this.logGooglePageView(),n.includes(A.Xu.AppInsights)||this.logAppInsightsPageView(i),n.includes(A.Xu.DMP)||this.logDmpPageView(),n.includes(A.Xu.Segment)||this.logSegmentPageView(i)})}logDmpPageView(e={}){this.logDmpAnalytic(A.dV.PageView,e)}logDmpEvent(e){}logDmpAnalytic(e,t={}){if(this._appConfig.isBrowser&&T.N.configuration.analytics.enableClientDmp){let n=this._buildDmpPayload(e,t);this._queuedDmpAnalytics.push({type:e,payload:n}),this._processDmpAnalytic()}}logGoogleAnalytic(e,t){if(this._appConfig.isBrowser){if(!this._googleAnalyticsReady)return void this._queuedGoogleAnalytics.push({analytic:e,time:t||Date.now()});let n={hitType:e.hitType,eventCategory:e.category,eventAction:e.action,eventLabel:e.label,eventValue:e.value};!0===e.nonInteraction&&(n.nonInteraction=!0),window.ga("set",o.ki.ANALYTICS_SESSION_ID,this.getAnalyticsSessionId()),window.ga("set",o.ki.SITEEXPERIENCE,this._getSiteExperience()),this._setGaRouteDataCustomDimensions(t),window.ga("send",n)}}logOptimizelyClickMetric(e){this._optimizelyFullStackService.trackMetric(e.addExperimentPageName?this.pageName+e.category+e.label:e.category+e.label)}_setGaRouteDataCustomDimensions(e){if(s.cmp.isUndefinedOrNull(window.ga))return;let t=this._appendRouteData(null,e?this._appState.matchTimeToRoute(e):null);s.cmp.isNotEmpty(t.PageName)&&window.ga("set",o.ki.PAGENAME,t.PageName),s.cmp.isNotEmpty(t.PageSubname)&&window.ga("set",o.ki.PAGESUBNAME,t.PageSubname)}logAppInsightsAnalytic(e,t){let n={Action:e.action,Category:e.category,Label:e.label,EventValue:e.value,NonInteraction:(!0===e.nonInteraction).toString()};s.cmp.isNotEmpty(e.additionalData)&&Object.keys(e.additionalData).forEach(t=>{n[t]=e.additionalData[t]}),this.logAppInsights(e.action,n,t)}logAppInsights(e,t={},n){this._hasClientAppInsights&&(this.appInsights.context.session.id=this.getAnalyticsSessionId(),s.cmp.isUndefinedOrNull(t)&&(t={}),t.Page=window.location.href,t.PageTitle=window.document.title,t.SiteExperience=this._getSiteExperience(),t.Platform=this.platform,t.BuildVersion=this._appConfig.buildVersion.getValue(),t.UserAgentRaw=this._userAgentData.userAgentRaw,t.IsBot=this._getUserAgentBotParam().isBot,t.BotType=this._getUserAgentBotParam().botType,t=n?this._appendRouteData(t,this._appState.matchTimeToRoute(n)):this._appendRouteData(t),t=this._appendClientIp(t),s.cmp.isUndefinedOrNull(t.WebEventGUID)&&(t.WebEventGUID=r.uR.generateUuid()),t.AnalyticSchemaVersion="4.0",this.appInsights.trackEvent(e,t),this.logSegmentTrackingEvent(e,t))}logIdentityTraits(e){try{this._segmentService.logIdentityTraits(e),e.hasRiskIndicator?this.logAnalytic({category:"Segment",label:"IdentityCorrelation",action:"ga2fraudResponse",additionalData:{leadId:e.leadId,segmentUserId:e.userId}}):s.cmp.isDefinedAndNotNull(e.userId)&&this.logAnalytic({category:"Segment",label:"IdentityCorrelation",action:"ga2Response",additionalData:{leadId:e.leadId,segmentUserId:e.userId}})}catch(t){this.logException(t,"Error logging identity traits")}}getAnalyticsSessionId(){let e=T.N.configuration.analytics.sessionIdCookieName,t=this._cookieService.get(e);s.cmp.isEmpty(t)&&(t=r.uR.generateUuid()),this.updateLendingAttributeSessionIds(t,this._analyticTimeTracker.getCurrentTime().valueOf());let n=this._analyticTimeTracker.getCurrentTime(),i=n.clone().endOf("day"),a=Math.abs(n.diff(i,"minutes"));return this._cookieService.set(e,t,a<30?a:30),this.analyticsSessionId$.next(t),t}logException(e,t,n=null){if(this._hasClientAppInsights||this._hasServerAppInsights){let i=new Error;"string"==typeof e?i.message=e:s.cmp.isDefinedAndNotNull(e)&&Object.getOwnPropertyNames(e).forEach(t=>{i[t]=e[t]}),s.cmp.isNotEmpty(t)&&(i.message=`${t} Error: ${i.message}`),this._hasClientAppInsights?this.appInsights.trackException(i,null,n):this._serverAppInsights.trackExceptionWithMessage(i,"node server-render analytic-service")}}logCustomPageView(e=null){this.logGooglePageView(e);let t=this.enrichPageViewData(e);this.logAppInsightsPageView(t),this.logSegmentPageView(t)}logGooglePageView(e=null,t){if(this._appConfig.isBrowser){if(!this._googleAnalyticsReady)return void this._queuedGooglePageViews.push({customData:e,time:t||Date.now()});window.ga("set","page",window.location.pathname+(window.location.search?window.location.search:"")),window.ga("set","title",window.document.title),window.ga("set",o.ki.SITEEXPERIENCE,this._getSiteExperience()),this._setGaRouteDataCustomDimensions(t),window.ga("send","pageview",e)}}logOptimizelyPageView(e={}){s.cmp.isDefinedAndNotNull(e.PageName)&&(this.pageName=e.PageName.toString(),this._optimizelyFullStackService.trackMetric("Pageview"+this.pageName)),s.cmp.isDefinedAndNotNull(e.PageName)&&s.cmp.isDefinedAndNotNull(e.PageSubname)&&(this.pageName=e.PageName.toString(),this._optimizelyFullStackService.trackMetric("Pageview"+this.pageName+e.PageSubname.toString()))}logAppInsightsPageView(e={}){this._appConfig.isBrowser&&this._hasClientAppInsights&&(s.cmp.isUndefinedOrNull(e.WebEventGUID)&&(e=this.enrichPageViewData(e)),this.appInsights.trackPageView(null,null,e)),this.logOptimizelyPageView(e)}logAppInsightsMetric(e,t){this._hasClientAppInsights&&this.appInsights.trackMetric(e,t)}logTraceInfo(e,t={}){this._logAppInsightTraceInfo(e,t)}_logAppInsightTraceInfo(e,t){this._hasClientAppInsights&&(this.appInsights.context.session.id=this.getAnalyticsSessionId(),this.appInsights.trackTrace(e,t,1))}facebookPixelTrackStandardEvent(e,t=null){void 0!==window.fbq&&this._windowService.getWindow().fbq("track",e,t)}facebookPixelTrackCustomEvent(e,t=null){s.cmp.isNotEmpty(e)&&void 0!==window.fbq&&this._windowService.getWindow().fbq("trackCustom",e,t)}facebookPixelViewVehicleEvent(e,t){let n=this._buildFacebookPixelVehicle(e,t);this.facebookPixelTrackStandardEvent(f.U.ViewContent,n)}_buildFacebookPixelVehicle(e,t){return s.cmp.isDefinedAndNotNull(e)?{content_type:"vehicle",content_ids:s.cmp.isDefinedAndNotNull(e.StockNumber)?[e.StockNumber.toString()]:[],postal_code:t,user_zipcode:t,make:s.cmp.isDefinedAndNotNull(e.Make)?e.Make:"",model:s.cmp.isDefinedAndNotNull(e.Model)?e.Model:"",year:s.cmp.isDefinedAndNotNull(e.Year)?e.Year.toString():"",vin:s.cmp.isDefinedAndNotNull(e.Vin)?e.Vin:"",condition_of_vehicle:"used",exterior_color:s.cmp.isDefinedAndNotNull(e.ExtBasicColorName)?e.ExtBasicColorName:"",transmission:s.cmp.isDefinedAndNotNull(e.AutomaticTransmission)?e.AutomaticTransmission?"Automatic":"Manual":null,body_style:this._mapBodyTypeToFacebookPixelBodyStyle(e.BodyType),fuel_type:this._mapFuelDescriptionToFacebookPixelFuelType(e.FuelDescription),drivetrain:this._mapDriveTrainToFacebookPixelDriveTrain(e.DriveTrainKey),price:s.cmp.isDefinedAndNotNull(e.StickerPrice)?e.StickerPrice.toFixed(2):null,value:s.cmp.isDefinedAndNotNull(e.StickerPrice)?e.StickerPrice.toFixed(2):null,currency:"USD"}:null}_mapBodyTypeToFacebookPixelBodyStyle(e){switch(e){case"SUV":return e;case"Wagon":case"Coupe":case"Convertible":case"Hatchback":case"Sedan":return e.toUpperCase();case"Mini-Van":return"MINIVAN";case"Pickup":return"TRUCK";default:return"OTHER"}}_mapFuelDescriptionToFacebookPixelFuelType(e){switch(e){case"Flex Fuel":return"FLEX";case"Gas/Elec Hybrid":return"HYBRID";case"Gas":case"Petroleum":return"GASOLINE";case"Diesel":return e.toUpperCase();case"LE":return"ELECTRIC";default:return"OTHER"}}_mapDriveTrainToFacebookPixelDriveTrain(e){switch(e){case"RWD":case"AWD":case"FWD":return e;case"4WD":return"4X4";case"2WD":return"4X2";default:return"OTHER"}}getAttributesFromTarget(e){let t={value:this.getAttributeValue(e.attributes,o.Hv.VALUE),label:this.getAttributeValue(e.attributes,o.Hv.LABEL),category:this.getAttributeValue(e.attributes,o.Hv.CATEGORY),nonInteraction:"true"===this.getAttributeValue(e.attributes,o.Hv.NON_INTERACTION),additionalData:JSON.parse(this.getAttributeValue(e.attributes,o.Hv.ADDITIONAL_DATA)),includeInputValue:"true"===this.getAttributeValue(e.attributes,o.Hv.INCLUDE_INPUT_VALUE),experimentMetric:"true"===this.getAttributeValue(e.attributes,o.Hv.EXPERIMENT_EVENT),addExperimentPageName:"true"===this.getAttributeValue(e.attributes,o.Hv.EXPERIMENT_PAGE_NAME)},n=this.getAttributeValue(e.attributes,o.Hv.MARKETING_ACTION);return t.action=s.cmp.isNotEmpty(n)?n:this.getAttributeValue(e.attributes,o.Hv.ACTION)||"click",t}getAttributeValue(e,t){return e?null==e[t]?null:e[t].value:null}logNonInteractionAnalytic(e,t=!1){let n=()=>{e.action=s.cmp.isDefinedAndNotNull(e.action)?e.action:"NonInteraction",e.nonInteraction=!0,this.logAnalytic(e)};t?n():s.AsyncUtils.nextTick().then(n.bind(this))}_getNearestParentAnalyticElement(e){return s.cmp.isUndefinedOrNull(e)||"dtm-app"===e.tagName.toLowerCase()?null:s.cmp.isDefinedAndNotNull(this.getAttributeValue(e.attributes,o.Hv.CATEGORY))&&s.cmp.isDefinedAndNotNull(this.getAttributeValue(e.attributes,o.Hv.LABEL))?e:this._getNearestParentAnalyticElement(e.parentElement)}_setupEventDelegation(){this._document.addEventListener("click",e=>{let t=this._getNearestParentAnalyticElement(e.target);if(s.cmp.isDefinedAndNotNull(t)){let n=this.getAttributesFromTarget(t),i=e.timeStamp+performance.timing.navigationStart;"click"===n.action&&this.logAnalytic(n,i)}}),this._document.addEventListener("submit",e=>{if("submit"===this.getAttributeValue(e.target.attributes,o.Hv.ACTION)&&e.target.attributes.valid){let t=this.getAttributesFromTarget(e.target);this.logAnalytic(t)}}),this._document.addEventListener("focusout",e=>{if("error"===this.getAttributeValue(e.target.attributes,o.Hv.ACTION)&&!e.target.attributes.valid){let t=this.getAttributesFromTarget(e.target);t.includeInputValue&&Object.assign({},t.additionalData,{FieldValue:e.target.value}),this.logAnalytic(t)}}),this._document.addEventListener("change",e=>this._logAnalyticForSpecificAction(e,"selection")),this._document.addEventListener(d.l4.LEFT,e=>this._logAnalyticForSpecificAction(e,"swipe")),this._document.addEventListener(d.l4.RIGHT,e=>this._logAnalyticForSpecificAction(e,"swipe")),window.addEventListener("popstate",e=>this.logAppInsightsAnalytic({action:"Navigate",category:"Global",label:"NavigateBackwards"})),(0,P.R)(window,"deviceorientation").pipe((0,S.p)(this._deviceOrientationThrottleDelay)).subscribe(()=>this._logDeviceOrientationChangeEvent())}_logAnalyticForSpecificAction(e,t){if(this.getAttributeValue(e.target.attributes,o.Hv.ACTION)===t){let t=this.getAttributesFromTarget(e.target);this.logAnalytic(t)}}_trackBrowserPerfMetrics(){this._appConfig.isBrowser&&(s.cmp.isDefinedAndNotNull(window.perfMetrics)&&(s.cmp.isDefinedAndNotNull(window.perfMetrics.getPerformanceObserverMetrics)&&window.perfMetrics.getPerformanceObserverMetrics(this.logPerfObsEntries.bind(this)),s.cmp.isDefinedAndNotNull(window.perfMetrics.onFirstInputDelay)&&window.perfMetrics.onFirstInputDelay(this.logPerfFirstInputDelay.bind(this))),this._logPerfRequestStart(),this.logDtFirstContentfulPaint(),this.logNetworkInformation())}logPerfObsEntries(e){s.cmp.isUndefinedOrNull(e)?this.logAnalytic({hitType:"event",category:o.Q2.PerfMetrics.CategoryName,action:o.Q2.PerfMetrics.NoBrowserSupport.ActionName,label:o.Q2.PerfMetrics.NoBrowserSupport.Labels.NoBrowserSupport,value:null,nonInteraction:!0}):e.forEach(e=>{let t=Math.round(e.startTime+e.duration),n={hitType:"event",category:o.Q2.PerfMetrics.CategoryName,action:e.name,label:e.entryType,value:t.toString(),nonInteraction:!0};this.logAnalytic(n),this.logAppInsightsMetric(`${e.name} (ms)`,t)})}logPerfFirstInputDelay(e,t){let n=Math.round(e),i={hitType:"event",category:o.Q2.PerfMetrics.CategoryName,action:"first-input-delay",label:t.type,value:n.toString(),nonInteraction:!0};this.logAnalytic(i),this.logAppInsightsMetric("First Input Delay (ms)",n)}logDtFirstContentfulPaint(){let e=window.perfMetrics.dtFirstContentfulPaint;if(s.cmp.isUndefinedOrNull(e))return;let t={hitType:"event",category:o.Q2.PerfMetrics.CategoryName,action:"dt-first-contentful-paint",label:"paint",value:e.toString(),nonInteraction:!0};if(this.logAnalytic(t),this.logAppInsightsMetric("Dt First Contentful Paint",e),s.cmp.isEmpty(window.perfMetrics.navigationTimings))return;let n={hitType:"event",category:o.Q2.PerfMetrics.CategoryName,action:"dt-first-contentful-paint-v2",label:"paint",value:window.perfMetrics.navigationTimings.loadEventEnd.toString(),additionalData:Object.assign(Object.assign({},window.perfMetrics.navigationTimings),{originalDtfcp:e}),nonInteraction:!0};this.logAnalytic(n),this.logAppInsightsMetric("Dt First Contentful Paint v2",window.perfMetrics.navigationTimings.loadEventEnd)}logNetworkInformation(){if(!s.cmp.isUndefinedOrNull(window.navigator)&&!s.cmp.isUndefinedOrNull(window.navigator.connection)){if(s.cmp.isDefinedAndNotNull(window.navigator.connection.effectiveType)){let e={hitType:"metric",category:o.Q2.PerfMetrics.CategoryName,action:o.Q2.PerfMetrics.NonInteraction.ActionName,label:`${o.Q2.PerfMetrics.NonInteraction.Labels.ConnectionType}-${window.navigator.connection.effectiveType}`,value:"1",nonInteraction:!0};this.logAnalytic(e)}if(s.cmp.isDefinedAndNotNull(window.navigator.connection.downlink)){let e={hitType:"metric",category:o.Q2.PerfMetrics.CategoryName,action:o.Q2.PerfMetrics.NonInteraction.ActionName,label:o.Q2.PerfMetrics.NonInteraction.Labels.DownLink,value:window.navigator.connection.downlink.toString(),nonInteraction:!0};this.logAnalytic(e),this.logAppInsightsMetric(`${o.Q2.PerfMetrics.NonInteraction.Labels.DownLink}`,window.navigator.connection.downlink)}if(s.cmp.isDefinedAndNotNull(window.navigator.connection.downlinkMax)){let e={hitType:"metric",category:o.Q2.PerfMetrics.CategoryName,action:o.Q2.PerfMetrics.NonInteraction.ActionName,label:o.Q2.PerfMetrics.NonInteraction.Labels.DownlinkMax,value:window.navigator.connection.downlinkMax.toString(),nonInteraction:!0};this.logAnalytic(e),this.logAppInsightsMetric(`${o.Q2.PerfMetrics.NonInteraction.Labels.DownlinkMax}`,window.navigator.connection.downlinkMax)}}}_logPerfRequestStart(){let e=window.performance.timing.requestStart-window.performance.timing.navigationStart;window.perfMetrics.requestStart=e,this.logAnalytic({hitType:"event",category:o.Q2.PerfMetrics.CategoryName,action:o.Q2.PerfMetrics.NonInteraction.ActionName,label:o.Q2.PerfMetrics.NonInteraction.Labels.RequestStart,value:e.toString(),nonInteraction:!0}),this.logAppInsightsMetric("Request Start",e)}logFirstMeaningfulPaint(){if(!this._appConfig.isBrowser)return;let e=this._hasLoggedFmp?this._appState.lastNavigationStartTime:window.performance.timing.navigationStart,t=Date.now()-e;this._hasLoggedFmp=!0;let n={hitType:"event",category:o.Q2.PerfMetrics.CategoryName,action:o.Q2.PerfMetrics.Paint.ActionName,label:o.Q2.PerfMetrics.Paint.Labels.FmpV1,value:t.toString(),nonInteraction:!0,additionalData:{PageCount:this._appState.pageCount}};window.perfMetrics.firstMeaningfulPaint=t,this.logAnalytic(n),this.logAppInsightsMetric("First Meaningful Paint",t)}logHeartbeat(e,t,n=1e3){let i;var a;(a=i||(i={})).START="Start",a.WAIT="Wait",a.END="End";const o=Date.now(),r=t=>Object.assign(Object.assign({hitType:"event"},e),{value:(Date.now()-o).toString(),label:`${e.label}${t}`});this.logAnalytic(r(i.START));const s=(0,O.T)((0,U.F)(n).pipe((0,k.U)(e=>({status:i.WAIT}))),t.pipe((0,k.U)(e=>({status:i.END})))).subscribe(e=>{this.logAnalytic(r(e.status)),e.status===i.END&&s.unsubscribe()})}_buildDmpPayload(e,t={}){let n=Object.assign({},t,{pageType:this._curRouteName||"",pageSubType:this._curRouteSubType||""}),i=e===A.dV.PageView?"page":"action",a={analyticsUserId:this.analyticsUserId,analyticsSessId:this.getAnalyticsSessionId()};return s.cmp.isDefinedAndNotNull(t.email)&&(a.hashedEmail=this._createDmpHash(t.email)),{event:`floodlight-${i}-${this._curRouteName}`,[i]:n,user:a}}_createDmpHash(e){if(s.cmp.isEmpty(e))return"";let t=e.toLowerCase().trim();return v(t)}_callDmpApiAnalytic(e){}_processDmpAnalytic(){if(this._dmpQueueRunning||s.cmp.isUndefinedOrNull(window.dataLayer))return;this._dmpQueueRunning=!0;let e=()=>{{let e=this._queuedDmpAnalytics.shift();s.cmp.isDefinedAndNotNull(e)&&window.dataLayer.push(e.payload)}this._queuedDmpAnalytics.length>0?window.setTimeout(e,200):this._dmpQueueRunning=!1};window.setTimeout(e,200)}trackAdwordsSearchConversion(){s.cmp.isDefinedAndNotNull(window.report_conversion_search)&&window.report_conversion_search(window.location.href)}trackAdwordsDisplayConversion(){s.cmp.isDefinedAndNotNull(window.report_conversion_display)&&window.report_conversion_display(window.location.href)}_appendRouteData(e,t){let n=t||u.A.getCurrentRouteData(this._activatedRoute),i=y.x4[n.name],a=(0,y.rU)(n.name,n.subname),o=u.A.getDeepestFirstChild(this._activatedRoute.snapshot).params,r=Object.assign({},e);return r.PageName=i,s.cmp.isNotEmpty(a)&&(r.PageSubname=a),Object.keys(o).map(e=>{r["PageParameter_"+e]=o[e]}),t&&(r.Page=n.url,r.PageTitle=n.title),r}_appendClientIp(e){if(s.cmp.isUndefinedOrNull(this._appState.clientIp))return e;let t=Object.assign({},e);return t.ClientIP=this._appState.clientIp,t}logAppInsightsAzureSearchAnalytic(e){let t={SearchServiceName:e.SearchServiceName,SearchId:e.SearchId,IndexName:e.IndexName,QueryTerms:e.QueryTerms,ResultCount:e.ResultCount.toString(),Source:"DTM"};this.logAppInsights("Search",t)}_getDeviceOrientation(){if(!s.cmp.isDefinedAndNotNull(window.screen))return"";let e=window.screen.msOrientation||window.screen.mozOrientation||(window.screen.orientation||{type:void 0}).type;return s.cmp.isDefinedAndNotNull(e)?e.toLowerCase().includes("portrait")?"portrait":"landscape":window.innerWidth>=window.innerHeight?"landscape":"portrait"}_logDeviceOrientationChangeEvent(){let e=this._getDeviceOrientation();if(this._currentDeviceOrientation!==e){this._currentDeviceOrientation=e;let t={category:"Global",action:"deviceOrientationChanged",label:"DeviceOrientation",additionalData:{deviceOrientation:this._currentDeviceOrientation,scrollY:window.pageYOffset}};this.logAppInsightsAnalytic(t)}}configurePlatformType(e){let t=e=>this.platform=e;switch(!0){case e:return t(b.N.Desktop);case this._appConfig.isIosApp:return t(b.N.iOS);case this._appConfig.isAndroidApp:return t(b.N.Android);default:return t(b.N.Mobile)}}logImageLoadFailure(e){if(s.cmp.isUndefinedOrNull(e))return;let t="ImageLoadingFailed",n={Action:"alert",Category:"Image",Label:"ImageUnableToLoad",NonInteraction:"true",ImageUrl:e.imageUrl,["vehicle"===e.type?"StockNumber":"DealershipNumber"]:e.id.toString()};T.N.configuration.analytics.trackImageFailureAsCustomEvent?this.logAppInsights(t,n):this._logTrace(t,n)}_logTrace(e,t){s.cmp.isUndefinedOrNull(t)||this._hasClientAppInsights&&(this.appInsights.context.session.id=this.getAnalyticsSessionId(),t=this._appendClientIp(t),this.appInsights.trackTrace(e,t))}logFullStory(e,t){s.cmp.areAllDefinedAndNotNull(e,t)&&this._fullStoryService.fireEvent(e,t)}_getUserAgentBotParam(){const e={isBot:!1,botType:"unknown"};return s.cmp.isDefinedAndNotNull(this._userAgentData)&&s.cmp.isDefinedAndNotNull(this._userAgentData.isBotRaw)&&(e.botType=this._userAgentData.isBotRaw.toString(),e.isBot="false"!==e.botType),e}updateLendingAttributeSessionIds(e,t){this._store.dispatch(new D.gD({id:e,currentTime:t}))}logSegmentPageView(e){try{this._segmentService.logPageView(e)}catch(t){this.logException(t,"segment page view threw an exception")}}logSegmentTrackingEvent(e,t){try{this._segmentService.logTrackingEvent(e,t)}catch(n){this.logException(n,"segment event threw an exception")}}enrichPageViewData(e){return s.cmp.isUndefinedOrNull(e)&&(e={}),e.platform=this.platform,e.screenHeight=window.screen.height,e.screenWidth=window.screen.width,e.viewPortHeight=window.innerHeight,e.viewPortWidth=window.innerWidth,e.deviceOrientation=this._getDeviceOrientation(),e.SiteExperience=this._getSiteExperience(),e.BuildVersion=this._appConfig.buildVersion.getValue(),e=this._appendRouteData(e,null),(e=this._appendClientIp(e)).leadSubmissionId=this._store.leadSnapshot().leadSubmissionId,e.UserAgentRaw=this._userAgentData.userAgentRaw,e.IsBot=this._getUserAgentBotParam().isBot,e.BotType=this._getUserAgentBotParam().botType,s.cmp.isUndefinedOrNull(e.PageViewGUID)&&(e.PageViewGUID=r.uR.generateUuid()),e}}return e.\u0275fac=function(t){return new(t||e)(q.LFG(Q.F0),q.LFG(l._),q.LFG(c.u),q.LFG(Q.gz),q.LFG(p.N),q.LFG(I.O),q.LFG(h.Z),q.LFG(m.Q),q.LFG(a.K0),q.LFG(q.FYo),q.LFG(C.k),q.LFG("SERVER_APP_INSIGHTS"),q.LFG(N.B),q.LFG(H))},e.\u0275prov=q.Yz7({token:e,factory:e.\u0275fac}),e})()},40273:function(e,t,n){"use strict";n.d(t,{Hv:function(){return i},ki:function(){return a},Q2:function(){return o}});const i={ACTION:"data-analytics-action",MARKETING_ACTION:"data-analytics-marketing-action",CATEGORY:"data-analytics-category",LABEL:"data-analytics-label",VALUE:"data-analytics-value",NON_INTERACTION:"data-analytics-non-interaction",ADDITIONAL_DATA:"data-analytics-additional-data",INCLUDE_INPUT_VALUE:"data-analytics-include-input-value",EXPERIMENT_EVENT:"data-analytics-experiment",EXPERIMENT_PAGE_NAME:"data-analytics-experiment-page-name"},a={PLATFORM:"dimension1",VEHICLE_TIER:"dimension2",PRICE_COMPETITIVE:"dimension3",DOWN_PAYMENT_AMOUNT:"dimension4",GRADE:"dimension5",INCOME:"dimension6",ANALYTICS_SESSION_ID:"dimension8",OPTIMIZELY_GA:"dimension9",VEHICLE_STATUS:"dimension10",PAGENAME:"dimension11",LEADLESS:"dimension12",PAGESUBNAME:"dimension13",SITEEXPERIENCE:"dimension14"},o={PerfMetrics:{CategoryName:"Perf Metrics",Paint:{ActionName:"paint",Labels:{FmpV1:"first-meaningful-paint-v1"}},NonInteraction:{ActionName:"NonInteraction",Labels:{DownLink:"device-downlink",DownlinkMax:"device-downlinkMax",ConnectionType:"device-connection-type",RequestStart:"request-start"}},NoBrowserSupport:{ActionName:"Unable to retrieve PerfMetrics",Labels:{NoBrowserSupport:"no browser support"}}}}},67041:function(e,t,n){"use strict";n.d(t,{_:function(){return p}});var i=n(37716),a=n(38583),o=n(26215),r=n(9953),s=n(30101),l=n(17315),c=n(30277),d=n(48531),u=n(20483);let p=(()=>{class e{constructor(e,t,n,i,l){this._store=e,this._platformId=t,this._req=n,this._rendererFactory=i,this._document=l,this.isBrowser=(0,a.NF)(this._platformId),this.isServerPrerender=(0,a.PM)(this._platformId),this.isWorkerApp=(0,a.GP)(this._platformId),this.isWorkerUi=(0,a.w$)(this._platformId),this.isAndroidApp=!1,this.isMobileApp=!1,this.buildVersion=new o.X("unknown"),this.siteReferrer="",this.isDesktopUserAgent=!1,this.isIE=!1,this.isEdge=!1,this.isChrome=!1,this.isExperimentEnabled=!1,this.enabledExperiments=[],this._expressUserAgent=(new s.UserAgent).parse(window.navigator.userAgent),this.appSettings={ppc:{sellRegions:"phx",competitors:"carmax,carhop,carmart,jdb,hertzbuy,hertzdeal,hertzfina,hertzsuv,hertztruc,hertzused,hertzvan,entbuy,entdeal,entfina,entsuv,enttruc,entused,entvan,avisbuy,avisdeal,avisfina,avissuv,avistruc,avisused,avisvan"},mobileApp:{minimumSupportedVersion:"1.0.0",forceIos:!1,forceAndroid:!1,appReviewEmail:"appreview@drivetime.com"},contentReplacers:{approvalsTotal:"4,035,490",vehiclesSold:"1,147,329",dealershipsTotal:"126",moreThanXDealerships:"135",stateTotal:"26"},privacyPolicyEmailAddress:"privacy@drivetime.com",kbbApiKey:"f1c12aeb-a921-40bf-85a7-953b9c8f0ce6",checkNewAppVersionTimer:360},this.siteReferrer=this.isBrowser?document.referrer:"",this.buildLocation();let c=this.location.hostname;if(this.isLocal=this._isLocal(c),this.isLocalPrerender=this.isLocal&&"3000"===this.location.port,this.isProd=this._isProd(c),this.isDevEnv=this.isLocal||-1!==["mobiledev.drivetime.com"].indexOf(c),this.isTestEnv=!this.isDevEnv&&-1!==["mobiletest.drivetime.com"].indexOf(c),this.isBrowser){let e=window.location.search.match("inapp"),t="";u.cmp.isNotEmpty(e)&&(t=e.input.split(/[=&]/)[1]),this.isAndroidApp=t===r._.Android||this.appSettings.mobileApp.forceAndroid,this.isIosApp=t===r._.iOS||this.appSettings.mobileApp.forceIos,this.isMobileApp=this.isAndroidApp||this.isIosApp,this.isDesktopUserAgent=this._expressUserAgent.isDesktop,this.isIE=this._expressUserAgent.isIE,this.isEdge=this._expressUserAgent.isEdge,this.isChrome=this._expressUserAgent.isChrome,this.userAgentRaw=this._expressUserAgent.source,this._initializeOptimizelyAttributes()}}getAnalyticUserAgentAttribute(){return{userAgentRaw:this._expressUserAgent.source,isBotRaw:this._expressUserAgent.isBot}}buildLocation(){if(this.isBrowser)this.location=document.location;else{let e=this._req.get("Host");this.location={href:this._req.url,protocol:this._isLocal(this._req.hostname)?"http":"https",hostname:this._req.hostname,host:e,port:-1!==e.indexOf(":")?e.split(":")[1]:"",pathname:this._req.path,search:this._req.query,hash:""}}}_initializeOptimizelyAttributes(){this._store.dispatch(new d.pm(l.ZI.IsProduction,this._isExpProd())),this._store.dispatch(new d.pm(l.ZI.IsIOSAppUser,this.isIosApp)),this._store.dispatch(new d.pm(l.ZI.IsAppUser,this.isMobileApp))}_isLocal(e){return-1!==["localhost","127.0.0.1","10.0.2.2"].indexOf(e)}_isProd(e){return-1!==["dt-mobile-west.azurewebsites.net","dt-mobile-east.azurewebsites.net","dt-mobile-west-staging.azurewebsites.net","dt-mobile-east-staging.azurewebsites.net","www.drivetime.com"].indexOf(e)}_isExpProd(){const e=window.location.search.match(new RegExp("isExpProd.[^&]*"));return e?"true"===e[0].split("=")[1]:this.isProd}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(c.k),i.LFG(i.Lbi),i.LFG("REQUEST",8),i.LFG(i.FYo),i.LFG(a.K0))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})()},31547:function(e,t,n){"use strict";n.d(t,{Z:function(){return k}});var i=n(97582),a=n(2694),o=n(51751),r=n(80352),s=n(67041),l=n(60356),c=n(71412),d=n(20483),u=n(13535),p=n(26215),h=n(31081),m=n(68603),g=n(68450),f=n(30277),y=n(16438),_=n(45435),A=n(48531),v=n(17315),b=n(53629),C=n(38583),w=n(37716),S=n(91841);let k=(()=>{class e{constructor(e,t,n,i,a,o,r,s,l){this._router=e,this._activatedRoute=t,this._appConfig=n,this._http=i,this._linkHelper=a,this._cookieService=o,this._windowService=r,this._store=s,this._document=l,this._routesSeen=[],this._routeUrlSeen=[],this.appTimesRef={utc:c().utc().valueOf(),appStart:c().valueOf()},this.isOnLandingPage=new p.X(!0),this.clientIp=null,this.isReturnUser=!1,this._customerType=h.I2.Default,this._currentPpcGroup=null,this._userId="",this.lastNavigationStartTime=0,this.pageCount=0,this.optimizelyTestingId="",this.isNewUserSession=!1,this.optimizelyDataFile$=new p.X(null),this.clientEnvVars$=new p.X(null)}init(){this._timeTracker=new l.L(this.appTimesRef);let e={};this._appConfig.isServerPrerender?e=this._appConfig._req.query:this._appConfig.isBrowser&&(e=u.R.deconstructQueryParamString(window.location.search)),this._customerType=this._determineCustomerType(e),!d.cmp.isEmpty(e)&&!d.cmp.isEmpty(e.oagg)&&this.setPpcGroup(d.ArrayUtils.convertToArray(e.oagg)[0]),d.cmp.isNotEmpty(e)&&d.cmp.isNotEmpty(e.testid)&&(this.optimizelyTestingId=e.testid),d.cmp.isNotEmpty(e)&&d.cmp.isNotEmpty(e.livetesting)&&this._store.dispatch(new A.pm(v.ZI.IsLiveTestingUser,!0)),this._appConfig.buildVersion.next(this.getBuildId()),this._router.events.subscribe(e=>{if(e instanceof a.OD){if(this.lastNavigationStartTime=Date.now(),this.isOnLandingPage.getValue()){let e=window.location.href.split("?")[0],t=this._linkHelper.getCurrentQueryParams();t.landing="true";let n=this._linkHelper.buildUrl("",e,{queryParams:t});window.history.replaceState({},window.document.title,n)}}else if(e instanceof a.m2){this.pageCount++,this.addNewRouteObject(),this.addNewUrl(e.url);let t=o.A.getDeepestFirstChild(this._activatedRoute.snapshot),n=d.cmp.isDefinedAndNotNull(this.getUrlHistory(1)),i=d.cmp.isDefinedAndNotNull(t.queryParams.landing);this.isOnLandingPage.next(!n||i),this.isOnLandingPage.getValue()&&this._store.dispatch(new A.pm(v.ZI.LandingPage,o.A.getCurrentRouteData(this._activatedRoute).name))}}),this._appConfig.isBrowser&&(d.AsyncUtils.nextTick(this._getStartupData.bind(this)),this._setIsNewUserSessionFromCookie()),this._setupReturnUser(),this._setupVSRUser(),this._store.dispatch(new A.pm(v.ZI.IsReturnUser,this.isReturnUser))}_setIsNewUserSessionFromCookie(){let e=this._cookieService.get(b.N.configuration.analytics.sessionIdCookieName);this.isNewUserSession=!!d.cmp.isEmpty(e)}getBuildId(){return d.cmp.isUndefinedOrNull(window.dt)||d.cmp.isUndefinedOrNull(window.dt.env)||d.cmp.isUndefinedOrNull(window.dt.env.buildId)?"unknown":window.dt.env.buildId}addNewUrl(e){this._routeUrlSeen.length>=10&&this._routeUrlSeen.shift(),this._routeUrlSeen.push(e)}addNewRouteObject(){this._routesSeen.length>=10&&this._routesSeen.shift();let e=o.A.getCurrentRouteData(this._activatedRoute),t={name:e.name,title:window.document.title,subname:e.subname,url:window.location.href,timeStart:Date.now(),locateStrategy:e.locateStrategy};this._routesSeen.push(t),this._routesSeen.length>=2&&(this._routesSeen[this._routesSeen.length-2].timeEnd=this._routesSeen[this._routesSeen.length-1].timeStart)}hasRouteBeenSeen(e){return this._routesSeen.find(t=>t.name===e)}routeSeenByIndex(e){if(!(this._routesSeen.length<1+e))return this._routesSeen[this._routesSeen.length-(1+e)].name}lastRouteSeen(){if(!(this._routesSeen.length<2))return this._routesSeen[this._routesSeen.length-2].name}getUrlHistory(e){return this._routeUrlSeen[this._routeUrlSeen.length-++e]}getCurrentUtcTime(){return c(this._timeTracker.getCurrentUtcTime()).toDate()}_getStartupData(){this._http.post(this._linkHelper.apiGetStartupData(),null).subscribe(e=>{this.appTimesRef.utc=e.data.time,this.clientIp=e.data.clientIp})}_determineCustomerType(e){const t=d.cmp.isNotEmpty(e)&&d.cmp.isNotEmpty(e.oagg);return this._store.dispatch(new A.pm(v.ZI.IsPPCUser,t)),this._isPPCVehicleCustomer(e)?h.I2.PPCVehicleShopper:h.I2.Default}getCustomerType(){return this._customerType}_isPPCVehicleCustomer(e){if(d.cmp.isEmpty(e)||d.cmp.isEmpty(e.oagg))return!1;let t=d.ArrayUtils.convertToArray(e.oagg)[0];return-1!==Object.keys(h.ND).indexOf(t.toUpperCase())}getPpcGroup(){return this._currentPpcGroup}setPpcGroup(e){this._currentPpcGroup=d.cmp.isDefinedAndNotNull(e)?e.toLowerCase():e,window["dt-oagg"]=this._currentPpcGroup}matchTimeToRoute(e){if(d.cmp.isUndefinedOrNull(this._routesSeen[0])||d.cmp.isUndefinedOrNull(e))return;let t=this._routesSeen.find(t=>this._timeIsBetween(t.timeStart,t.timeEnd,e));return d.cmp.isUndefinedOrNull(t)&&this._timeIsBetween(this._routesSeen[this._routesSeen.length-1].timeStart,Date.now(),e)&&(t=this._routesSeen[this._routesSeen.length-1]),t}_timeIsBetween(e,t,n){return n>=e&&n<=t}_setupVSRUser(){this._store.userSnapshot().hasVisitedPages.indexOf(r.x4.VehicleSearchResults)>-1?this._store.dispatch(new A.pm(v.ZI.IsReturnVSRUser,!0)):this._store.dispatch(new A.pm(v.ZI.IsReturnVSRUser,!1))}_setupReturnUser(){if(this.isReturnUser)return;window.analytics=window.analytics||{};let e=d.cmp.isNotEmpty(this._cookieService.get("newUser"));if(this._store.userSnapshot().hasVisited&&!e)return this.isReturnUser=!0,void(window.analytics.isReturnUser=!0);this._store.dispatchAsync(new y.Ur(!0)),this._cookieService.set("newUser","true",30),window.analytics.isReturnUser=!1,this._router.events.pipe((0,_.h)(e=>e instanceof a.m2)).subscribe(()=>{e=d.cmp.isNotEmpty(this._cookieService.get("newUser"));let t=o.A.getCurrentRouteData(this._activatedRoute);!e&&t.canForceReload&&window.location.reload()})}getUserId(){return window.analytics.userId}getEmbeddedData(e){return(0,i.mG)(this,void 0,void 0,function*(){if(this._appConfig.isServerPrerender)return;let t=window.dt.env;e.logTraceInfo("App Data",{appData:JSON.stringify(window.dt.env)}),(d.cmp.isEmpty(t.optimizelyDataFile)||d.cmp.isEmpty(t.clientEnvVars))&&(this._appConfig.isLocal||e.logTraceInfo("App data was not processed on the server",{appData:window.dt.env}),t=(yield this._http.get(this._linkHelper.apiAppData()).toPromise()).data),this.optimizelyDataFile$.next(t.optimizelyDataFile),this.clientEnvVars$.next(t.clientEnvVars)})}}return e.\u0275fac=function(t){return new(t||e)(w.LFG(a.F0),w.LFG(a.gz),w.LFG(s._),w.LFG(S.eN),w.LFG(u.R),w.LFG(m.N),w.LFG(g.u),w.LFG(f.k),w.LFG(C.K0))},e.\u0275prov=w.Yz7({token:e,factory:e.\u0275fac}),e})()},34406:function(e,t,n){"use strict";n.d(t,{K:function(){return c}});var i=n(97582),a=n(26215),o=n(14439),r=n(70764),s=n(82030),l=n(37716);let c=(()=>{class e{constructor(e,t){this._analyticService=e,this._promiseService=t,this.buyOptionStatus$=new a.X(o.g.NONE)}submitBuyOption(e){return(0,i.mG)(this,void 0,void 0,function*(){this.buyOptionStatus$.next(o.g.REQUESTED);try{yield this._promiseService.createOnlineBuyOption(e)}catch(t){this._logException("submitBuyOption",t)}this.buyOptionStatus$.next(o.g.RESPONDED),this.buyOptionStatus$.next(o.g.DONE)})}_logException(e,t){this._analyticService.logException(t,`BuyOptionService->${e} failed.`)}}return e.\u0275fac=function(t){return new(t||e)(l.LFG(r.g),l.LFG(s.D))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac}),e})()},48804:function(e,t,n){"use strict";n.d(t,{n:function(){return p}});var i=n(97582),a=n(20483),o=n(70764),r=n(60944),s=n(45435),l=n(15257),c=n(31547),d=n(90367),u=n(37716);let p=(()=>{class e{constructor(e,t){this._analyticService=e,this._appStateService=t,this._maxRetries=0,this._siteKey=null,this._appStateService.clientEnvVars$.pipe((0,s.h)(e=>a.cmp.isNotEmpty(e)&&a.cmp.isNotEmpty(e.recaptcha)&&a.cmp.isDefinedAndNotNull(e.recaptcha.maxRetries)),(0,l.q)(1)).subscribe(e=>{this._maxRetries=(0,d.J)(e.recaptcha.maxRetries)}),this._appStateService.clientEnvVars$.pipe((0,s.h)(e=>a.cmp.isNotEmpty(e)&&a.cmp.isNotEmpty(e.recaptcha)&&a.cmp.isNotEmpty(e.recaptcha.siteKey)),(0,l.q)(1)).subscribe(e=>{this._siteKey=e.recaptcha.siteKey})}generateToken(e){return(0,i.mG)(this,void 0,void 0,function*(){if(a.cmp.isDefinedAndNotNull(window.grecaptcha)&&a.cmp.isDefinedAndNotNull(window.grecaptcha.enterprise)&&a.cmp.isDefinedAndNotNull(window.grecaptcha.enterprise.ready))return yield new Promise(t=>{window.grecaptcha.enterprise.ready(()=>(0,i.mG)(this,void 0,void 0,function*(){try{t(yield window.grecaptcha.enterprise.execute(this._siteKey,{action:e}))}catch(n){this._logException("generateToken() -> Failed to generate captcha token ",n),t(null)}}))});throw new Error("Google reCaptcha is not available!")})}generateTokenWithRetry(e,t,n=0){return(0,i.mG)(this,void 0,void 0,function*(){try{let i=yield this.generateToken(e);if(a.cmp.isUndefinedOrNull(i)&&0!==t){if(t!==n)return yield this.generateTokenWithRetry(e,t,n+1);this._logException("generateSubmitToken() ",new Error(`Max retries reached | ${t}`))}return{token:i,attempts:n+1}}catch(i){return this._logException("generateTokenWithRetry() ",i),{token:null,attempts:n+1}}})}setCaptchaHeaderOptions(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n=Date.now();const i=yield this.generateTokenWithRetry("submit",t||this._maxRetries);return this._analyticService.logAppInsights("setCaptchaHeaderOptions",{generateTokenTimeElapsed:Date.now()-n+"ms",generateTokenReceived:a.cmp.isDefinedAndNotNull(i.token),generationAttempts:i.attempts}),a.cmp.isUndefinedOrNull(i.token)?e||{}:(0,r.v)([{name:"captcha-token",value:i.token}],e)})}_logException(e,t){this._analyticService.logException(t,`CaptchaService->${e} failed.`)}}return e.\u0275fac=function(t){return new(t||e)(u.LFG(o.g),u.LFG(c.Z))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac}),e})()},25179:function(e,t,n){"use strict";n.d(t,{a:function(){return f}});var i=n(97582),a=n(13706),o=n(82030),r=n(88002),s=n(80352),l=n(30277),c=n(15892),d=n(96645),u=n(20483),p=n(70764),h=n(899),m=n(37716);let g=(()=>{class e{constructor(){this._leadId=0}get _genesysComponent(){return window.Genesys}init(e){return(0,i.mG)(this,void 0,void 0,function*(){this._genesysComponent&&(this._genesysComponent("subscribe","Messenger.closed",()=>e.onChatClosed()),this._genesysComponent("subscribe","Messenger.opened",()=>e.onChatOpened()))})}openChat(){this._genesysComponent("command","Messenger.open")}closeChat(){this._genesysComponent("command","Messenger.close")}setDatabaseAction(e){this._genesysComponent("command","Database.set",{messaging:{customAttributes:e}})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=m.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})(),f=(()=>{class e{constructor(e,t,n,i,a){this._promiseService=e,this._analyticService=t,this._store=n,this._chatProvider=i,this._leadService=a,this._leadId=0}init(){this._chatProvider.init(this)}validateChatLink(){const e=a().utc().format("DD-MMM-YYYY HH:mm:ss");return this._promiseService.validateChatOption(e).pipe((0,r.U)(e=>e.isChatActive))}shouldShowChatBubble(e,t,n){return n=u.cmp.isDefinedAndNotNull(n)&&n,e&&(t===s.x4.VehicleSearchResults||n)}openChat(){return(0,i.mG)(this,void 0,void 0,function*(){this._chatProvider.openChat()})}closeChat(){this._chatProvider.closeChat()}onChatOpened(){this._store.dispatchAsync(new c.v(d.j.Chat.HaveStartedChat,!0)),this._chatProvider.setDatabaseAction(this.getCustomAttributes("launch"))}onChatClosed(){this._analyticService.logAnalytic({action:"click",category:"Chat",label:"Minimize"}),this._chatProvider.setDatabaseAction(this.getCustomAttributes("minimize"))}getCustomAttributes(e){const t=this._leadService.approvalCertificateData$.getValue();!u.cmp.isUndefinedOrNull(t)&&!u.cmp.isUndefinedOrNull(t.financeTerms)&&(this._leadId=t.financeTerms.leadId);const n={action:e,sessionId:this._analyticService.getAnalyticsSessionId(),leadId:this._leadId};return this._analyticService.logAppInsightsMetric('Genesys database set is called with customAttributes : {action: "'+n.action+'", sessionId: "'+n.sessionId+'", leadId: "'+n.leadId+'"}',1),n}}return e.\u0275fac=function(t){return new(t||e)(m.LFG(o.D),m.LFG(p.g),m.LFG(l.k),m.LFG(g),m.LFG(h.y))},e.\u0275prov=m.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},84168:function(e,t,n){"use strict";n.d(t,{k:function(){return c}});var i=n(20483),a=n(38583),o=n(67041),r=n(82030),s=n(26215),l=n(37716);let c=(()=>{class e{constructor(e,t){this._appConfigService=e,this._promiseService=t,this._variableKeywords={},this.onLoadGlobalVariables$=new s.X(!1),this._promiseService.getVehicleCountsPromise(null,"nationwide",null,null).then(e=>{const t=new a.JJ("en-US").transform(e);this._variableKeywords["%VAR_MORE_THAN_X_DEALERSHIPS%"]=this._appConfigService.appSettings.contentReplacers.moreThanXDealerships,this._variableKeywords["%VAR_NATIONAL_VEHICLES_AVAIL%"]=t,this.onLoadGlobalVariables$.next(!0)})}replaceVariablesInObject(e,t){return Object.keys(e).reduce((n,a)=>{const o=e[a];return n[a]=o,i.cmp.isObject(o)&&(n[a]=this.replaceVariablesInObject(o,t)),"string"==typeof o&&(n[a]=this.replace(o,t)),n},{})}replace(e,t={}){const n=Object.assign(Object.assign({},this._variableKeywords),t);return 0===Object.keys(n).length?e:i.StringUtils.replaceAll(e,n)}}return e.\u0275fac=function(t){return new(t||e)(l.LFG(o._),l.LFG(r.D))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac}),e})()},68603:function(e,t,n){"use strict";n.d(t,{N:function(){return s}});var i=n(38583),a=n(67041),o=n(20483),r=n(37716);let s=(()=>{class e{constructor(e,t){this._appConfig=e,this._document=t}exists(e){return!!this._appConfig.isBrowser&&this._getCookieRegExp(encodeURIComponent(e)).test(this._document.cookie)}get(e){if(this.exists(e)){let t=this._getCookieRegExp(encodeURIComponent(e)).exec(this._document.cookie);return decodeURIComponent(t[1])}return""}set(e,t,n,i="/",a,r){if(!this._appConfig.isBrowser||!this.isCookieAllowed(r))return;let s=`${encodeURIComponent(e)}=${encodeURIComponent(t)};`;o.cmp.isDefinedAndNotNull(n)&&(s+=`expires=${new Date(Date.now()+1e3*n*60).toUTCString()};`),o.cmp.isDefinedAndNotNull(i)&&(s+=`path=${i};`),o.cmp.isDefinedAndNotNull(a)&&(s+=`domain=${a};`),this._document.cookie=s}delete(e,t,n){!this._appConfig.isBrowser||this.set(e,"",-1,t,n)}_getCookieRegExp(e){let t=e.replace(/([\[\]\{\}\(\)\|\=\;\+\?\,\.\*\^\$])/gi,"\\$1");return new RegExp("(?:^"+t+"|;\\s*"+t+")=(.*?)(?:;|$)","g")}isCookieAllowed(e){return!!o.cmp.isEmpty(e)||!(o.cmp.isNotEmpty(window.dt)&&o.cmp.isNotEmpty(window.dt.api)&&o.cmp.isNotEmpty(window.dt.api.privacyPreferences))||window.dt.api.privacyPreferences.isItemAllowedByCategories(e)}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(a._),r.LFG(i.K0))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})()},76652:function(e,t,n){"use strict";n.d(t,{h:function(){return g}});var i=n(2694),a=n(20483),o=n(26215),r=n(45435),s=n(28049),l=n(51751),c=n(84168);const d={seo:{title:"DriveTime | Shop Used Cars & Financing Online",description:"Used Car Shopping & Simple Auto Financing solutions start here. Choose from %VAR_NATIONAL_VEHICLES_AVAIL% vehicles and Apply Online now!","og:site_name":"DriveTime","og:link":"https://www.facebook.com/drivetimecarsales","fb:app_id":"231599090710503","twitter:account_id":"599731542"},content:{disclaimers:{prices:"*Vehicle prices exclude taxes and finance charges and, subject to state law, exclude doc fees up to $599 and other applicable fees. Vehicles available for sale at the identified location only."},"phone-numbers":{"primary-text":"888-418-1212"},"external-phone-numbers":{"identity-theft":"+18774384338","identity-theft-display":"1-877-438-4338"},"silver-rock-phone-numbers":{"repair-facility-text":"877-584-3848","repair-facility-link":"+18775843848","gap-text":"888-849-0681","gap-link":"+18888490681"},"motion-phone-numbers":{"primary-text":"877-298-0673","primary-link":"+18772980673"},emails:{"privacy-email":"privacy@drivetime.com","chat-unavailable-email":"mailto:approvals@drivetime.com?subject=Chat With Us"},breadcrumbs:{"home-link-text":"Home","dealership-link-text":"Dealerships","vehicle-search-link-text":"Used Car Search","sav-link-text":"Schedule a Visit","sav-details-link-text":"Visit Details","sav-test-drive-link-text":"Schedule a Test Drive","ga1-link-text":"Get Approved","customer-service-link-text":"Customer Service"},stars:{"not-available":"Not available"},default:{"no-image-available":"No Image Available"}}};var u=n(70764),p=n(30277),h=n(89726),m=n(37716);let g=(()=>{class e{constructor(e,t,n,i,a){this._router=e,this._activatedRoute=t,this._contentReplacer=n,this._analyticService=i,this._store=a,this.replacedRouterData$=new o.X({}),this._hasGlobalVariables=!1}init(){this._router.events.pipe((0,r.h)(e=>e instanceof i.OD)).subscribe(e=>{this.previousRouteData=this.currentRouteData,this.navigationStartEvent=e}),this._router.events.pipe((0,r.h)(e=>e instanceof i.m2)).subscribe(e=>{this.currentRouteData=l.A.getCurrentRouteData(this._activatedRoute),this.navigationEndEvent=e;let t=l.A.getAllRouteDataFromActivatedRoutes(this._activatedRoute.root.firstChild);const n=[{pageContent:d},...t];this._currentRawData=a.ObjectUtils.immutableDeepMerge({},...n),this._analyticService.logPageView(this._currentRawData.name,this._currentRawData.subname,this._currentRawData.preventPageViewType),this._hasGlobalVariables&&this._processRouteData(),this._store.dispatch(new h.x(this._currentRawData))}),this._contentReplacer.onLoadGlobalVariables$.pipe((0,s.P)(e=>!0===e)).subscribe(()=>{this._processRouteData(),this._hasGlobalVariables=!0})}_processRouteData(){if(!(a.cmp.isDefinedAndNotNull(this._currentRawData)&&a.cmp.isDefinedAndNotNull(this._currentRawData.pageContent)&&this._currentRawData.pageContent.contentNeedsPageContext))return this._publishData()}setContext(e){this._contentReplacer.onLoadGlobalVariables$.pipe((0,s.P)(e=>!0===e)).subscribe(()=>{this._publishData(e)})}_publishData(e={}){if(a.cmp.isUndefinedOrNull(this._currentRawData))return;let t,n;a.cmp.isDefinedAndNotNull(this._currentRawData.pageContent)&&(t=this._currentRawData.pageContent.seo,n=this._currentRawData.pageContent.content);const i=Object.assign(Object.assign({},this._currentRawData),{pageContent:Object.assign(Object.assign({},this._currentRawData.pageContent),{seo:this._contentReplacer.replaceVariablesInObject(t,e),content:this._contentReplacer.replaceVariablesInObject(n,e)})});return this.replacedRouterData$.next(i)}}return e.\u0275fac=function(t){return new(t||e)(m.LFG(i.F0),m.LFG(i.gz),m.LFG(c.k),m.LFG(u.g),m.LFG(p.k))},e.\u0275prov=m.Yz7({token:e,factory:e.\u0275fac}),e})()},33995:function(e,t,n){"use strict";n.d(t,{A:function(){return _}});var i=n(97582),a=n(20483),o=n(82955),r=n(26215),s=n(18891),l=n(45435),c=n(15257),d=n(28645),u=n(90367),p=n(67182),h=n(30277),m=n(70764),g=n(92547),f=n(96645),y=n(37716);class _{constructor(e,t){this._dtmStore=e,this._analyticsService=t,this._requiredMinimumCashDown=0,this._cashDownValid=!0,this._incomeValid=!0,this._analyticCategory="InputModal",this.isCustomerInputsValid$=new r.X(!0),this.tabConfig$=new r.X(null),this._requiredMinimumCashDown$.subscribe(e=>{this._requiredMinimumCashDown=e}),this.showIncome$.pipe((0,l.h)(a.cmp.isDefinedAndNotNull),(0,c.q)(1)).subscribe(e=>{const t=this._getDefaultTabs(e);this.tabConfig$.next(t)})}_getDefaultTabs(e=!0){let t={};return t[o.b.CashDown]=this._getTab(o.P.CashDown,"0",o.b.CashDown,0,`View ${o.P.CashDown}`,{category:"InputToolbar",label:"CashDown"}),e&&(t[o.b.Income]=this._getTab(o.P.Income,"0",o.b.Income,0,`View ${o.P.Income}`,{category:"InputToolbar",label:"Income"})),t}getDefaultTabId(e){const t=e[o.b.CashDown];return a.cmp.isDefinedAndNotNull(t)?t.id:null}updateTab(e,t,n){const i=e[t];return a.cmp.isUndefinedOrNull(i)?Object.assign({},e):Object.assign(Object.assign({},e),{[t]:Object.assign(Object.assign({},i),{subLabel:(0,u.f)(n),value:a.cmp.isDefinedAndNotNull(n)?+n:n})})}customerInputChanged(e,t){return this.incomeChanged(e,t)||this.cashDownChanged(e,t)}logOnLoadAnalytics(e){const t=this._getSubLabel(e,o.b.CashDown),n=this._getSubLabel(e,o.b.Income),i=this.tabExists(e,o.b.Income)?this._dtmStore.financingSnapshot().incomeType:null,a=(0,u.f)(this._requiredMinimumCashDown);this._analyticsService.logAnalytic({category:"InputModal",label:"CustomerInputs",action:"display",value:`Min Down: ${a} | Cash Down: ${t} | Buyer Income: ${n} | Buyer Income Type: ${i}`})}logOnCloseAnalytics(e){this._analyticsService.logAnalytic({category:"InputModal",label:`Exit${e}`,action:"click"})}cashDownChanged(e,t){return this.getTabValue(e,o.b.CashDown)!==this.getTabValue(t,o.b.CashDown)}incomeChanged(e,t){return this.getTabValue(e,o.b.Income)!==this.getTabValue(t,o.b.Income)}getActiveCashDown(e,t=this._requiredMinimumCashDown){return a.cmp.isUndefinedOrNull(e)||e<t?t:e}getRequiredDown(){return this._requiredMinimumCashDown}getTabValue(e,t){const n=e[t];return a.cmp.isUndefinedOrNull(n)?null:n.value}updateCashDownValidationState(e){this._cashDownValid=e,this.isCustomerInputsValid$.next(this.customerInputsIsValid())}resetValidationState(){this._cashDownValid=!0,this._incomeValid=!0,this.isCustomerInputsValid$.next(this.customerInputsIsValid())}updateIncomeValidationState(e){this._incomeValid=e,this.isCustomerInputsValid$.next(this.customerInputsIsValid())}customerInputsIsValid(){return this._cashDownValid&&this._incomeValid}convertCurrencyToNumber(e){return(0,u.J)(e)}logInputErrorAnalytic(e){(e===o.b.CashDown&&!this._cashDownValid||e===o.b.Income&&!this._incomeValid)&&this._analyticsService.logAnalytic({category:this._analyticCategory,action:"error",label:(0,p.fm)(e)})}logInputChangedAnalytic(e){this._analyticsService.logAnalytic({category:this._analyticCategory,action:"click",label:(0,p.fm)(`${e}Changed`)})}logTabClickAnalytic(e){const t={category:this._analyticCategory,action:"click",label:(0,p.fm)(e=`${e}Tab`)};this._analyticsService.logAnalytic(t)}logSubmitClickSuccessAnalytic(e,t){switch(t){case"Recalc":this._logRecalcSuccessAnalytics(e);break;case"SaveChanges":this._logSaveChangesSuccessAnalytic(e)}}logSubmitErrorAnalytic(){this._analyticsService.logAnalytic({category:"InputSaveChangesModal",label:"SaveCTA",action:"click",value:`Error: ${(this._cashDownValid?[]:["'Cash Down'"]).concat(this._incomeValid?[]:["'Income'"]).join(",")}`})}logDontSaveAnalytic(){this._analyticsService.logAnalytic({category:"InputSaveChangesModal",label:"DontSaveCTA",action:"click"})}logExitOutsideAnalytic(){this._analyticsService.logAnalytic({category:"InputSaveChangesModal",label:"ExitOutside",action:"click"})}tabExists(e,t){return a.cmp.isDefinedAndNotNull(e[t])}_logRecalcSuccessAnalytics(e){this._analyticsService.logAnalytic({category:"InputModal",label:"UpdateTermsCTA",action:"submit",value:this._getAnalyticDetailValue(e)})}_logSaveChangesSuccessAnalytic(e){this._analyticsService.logAnalytic({category:"InputSaveChangesModal",label:"SaveCTA",action:"submit",value:this._getAnalyticDetailValue(e)})}_getAnalyticDetailValue(e){return[`Min Down: ${this._dtmStore.financingSnapshot().downPayment.requiredMinimumCashDown}`,`Cash Down: ${this.getTabValue(e,o.b.CashDown)}`,`Buyer Income: ${this.getTabValue(e,o.b.Income)}`,`Buyer Income Type: '${this.tabExists(e,o.b.Income)?this._dtmStore.financingSnapshot().incomeType:null}'`].join(" | ")}_getSubLabel(e,t){const n=e[t];return a.cmp.isDefinedAndNotNull(n)?n.subLabel:null}_getTab(e,t,n,i,a,o){return{label:e,subLabel:t,id:n,value:i,ariaLabel:a,analyticData:o}}}_.\u0275fac=function(e){return new(e||_)(y.LFG(h.k),y.LFG(m.g))},_.\u0275prov=y.Yz7({token:_,factory:_.\u0275fac}),(0,i.gn)([(0,d.Ph)(g.Z8.get(f.j.VSRCustomerInputs.EnableVsrIncomeAdjustment)),(0,i.w6)("design:type",s.y)],_.prototype,"showIncome$",void 0),(0,i.gn)([(0,d.Ph)(e=>e.app.financing.downPayment.requiredMinimumCashDown),(0,i.w6)("design:type",s.y)],_.prototype,"_requiredMinimumCashDown$",void 0)},71255:function(e,t,n){"use strict";n.d(t,{k:function(){return w}});var i=n(97582),a=n(45829),o=n(82030),r=n(46664),s=n(13535),l=n(20483),c=n(45637),d=n(39654),u=n(10897),p=n(31547),h=n(70764),m=n(52258),g=n(18628),f=n(89234),y=n(30277),_=n(72349),A=n(99824),v=n(67041),b=n(37716),C=n(2694);let w=(()=>{class e{constructor(e,t,n,i,a,o,r,s){this._promiseService=e,this._store=t,this._memoryStore=n,this._router=i,this._linkHelper=a,this._appState=o,this._analyticService=r,this._appConfigService=s,this._allDealershipsRetrieved=!1,this._primaryFields=["GeoPoint","RegionDescription","DealershipNumber","DealershipName","RegionID","AddressLine1","City","StateAbbreviation","Zip5","PhoneNumber","ScheduleID","ImageURI","DayLightSavingTime","TimeZone","DealershipInternetOpenDate","DealershipOpenDate","DealershipCloseDate","KBBDealershipID","Schedule","Closures","AccuTradeDealershipID"],this._extendedFields=["EmployeeData","DealershipSpecificInfo","DrivingDirection"],this._cityStateReducer=(e,t)=>[...e,...t.cities.reduce(this._dedupeReducer,[]).map(e=>({city:e.associatedRegion,stateAbbr:t.name}))]}updateActiveDealership(e,t=!1){return(0,i.mG)(this,void 0,void 0,function*(){let n=this._memoryStore.activeDealershipMemory();if(l.cmp.isUndefinedOrNull(e))return void n.publish(null);let i=n.dealership$.getValue();if(l.cmp.isDefinedAndNotNull(i)&&i.DealershipNumber===e&&(!t||i.hasExtendedData))return;let a=this._memoryStore.allDealershipsMemory(),o=a.allDealerships$.getValue().filter(t=>t.DealershipNumber===e)[0];if(!l.cmp.isDefinedAndNotNull(o)||t&&!o.hasExtendedData)try{if(o=yield this._getSingleDealershipFromAzureSearch(e,t),l.cmp.isDefinedAndNotNull(o))return n.publish(o),void a.updateDealership(o)}catch(r){throw this._logException("DealerService->updateActiveDealership failed.",r),new Error(r)}else n.publish(o)})}getAllDealerships(){return(0,i.mG)(this,void 0,void 0,function*(){if(!this._allDealershipsRetrieved){try{let e=yield this._getAllDealershipFromAzureSearch();if(l.cmp.isNotEmpty(e)){let t=this._memoryStore.allDealershipsMemory().allDealerships$.getValue();l.cmp.isNotEmpty(t)&&t.forEach(t=>{if(!t.hasExtendedData)return;let n=e.findIndex(e=>e.DealershipNumber===t.DealershipNumber);-1!==n&&e.splice(n,1),e.push(t)}),this._store.dispatch(new A.RN(e)),this._memoryStore.allDealershipsMemory().publish(e)}}catch(e){throw this._allDealershipsRetrieved=!1,this._logException("getAllDealerships failed.",e),new Error(e)}this._allDealershipsRetrieved=!0}})}updateActiveState(e){return(0,i.mG)(this,void 0,void 0,function*(){if(l.cmp.isUndefinedOrNull(e))this._memoryStore.stateDealershipsMemory().publish([]);else try{yield this.getAllDealerships();let t=this._memoryStore.allDealershipsMemory().allDealerships$.getValue(),n=e.toLowerCase(),i=t.filter(e=>e.StateAbbreviation.toLowerCase()===n);this._memoryStore.stateDealershipsMemory().publish(i)}catch(t){throw this._logException("updateActiveState failed.",t),new Error(t)}})}updateActiveRegion(e){return(0,i.mG)(this,void 0,void 0,function*(){if(l.cmp.isUndefinedOrNull(e))this._memoryStore.regionDealershipsMemory().publish([]);else try{let t=yield this.getDealershipsInRegion(e);this._memoryStore.regionDealershipsMemory().publish(t)}catch(t){throw this._logException("updateActiveRegion failed.",t),new Error(t)}})}getDealershipsInRegion(e){return(0,i.mG)(this,void 0,void 0,function*(){if(l.cmp.isUndefinedOrNull(e))return null;try{yield this.getAllDealerships();let t=this._memoryStore.allDealershipsMemory().allDealerships$.getValue(),n=e.toLowerCase();return t.filter(e=>e.RegionDescription.toLowerCase()===n)}catch(t){throw this._logException("getDealershipsInRegion failed.",t),new Error(t)}})}_getSingleDealershipFromAzureSearch(e,t=!1){return(0,i.mG)(this,void 0,void 0,function*(){let n=new r.Xo("DealershipNumber",a.d.eq,a.Ge.num,a.zX.or,[e]),i=new r.Pd;i.select=t?this._primaryFields.concat(this._extendedFields):this._primaryFields,i.filters=[n],i.pageSize=1,i.queryType=a.xL.dealership;let o=(0,d.y)(i);try{let e=yield this._promiseService.getDealershipsPromise(o);return(yield this._parseAzureSearchResponse(e))[0]}catch(s){throw this._logException("getSingleDealershipFromAzureSearch failed.",s),new Error(s)}})}getTopDealershipFromCity(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n=new r.Pd,i=_.hn.getCityAliases(e).map(e=>e.toUpperCase()),o=new r.Xo("City",a.d.eq,a.Ge.str,a.zX.or,i),s=new r.Xo("StateAbbreviation",a.d.eq,a.Ge.str,a.zX.and,[t.toUpperCase()]),l=new r.IX("DealershipName",a.eQ[a.eQ.asc]);n.filters=[o,s],n.orderBy=l,n.pageSize=1,n.queryType=a.xL.dealership;let c=(0,d.y)(n);try{let e=yield this._promiseService.getDealershipsPromise(c);return(yield this._parseAzureSearchResponse(e))[0]}catch(u){throw this._logException("_getTopDealershipFromCity failed",u),new Error(u)}})}_getAllDealershipFromAzureSearch(){return(0,i.mG)(this,void 0,void 0,function*(){let e=new r.Pd;e.select=this._primaryFields,e.pageSize=999,e.queryType=a.xL.dealership;let t=(0,d.y)(e);try{let e=yield this._promiseService.getDealershipsPromise(t);return yield this._parseAzureSearchResponse(e)}catch(n){throw this._logException("_getAllDealershipFromAzureSearch failed.",n),new Error(n)}})}_parseAzureSearchResponse(e){return(0,i.mG)(this,void 0,void 0,function*(){if(l.cmp.isUndefinedOrNull(e)||l.cmp.isEmpty(e.value))return[];let t=[],{lat:n,lng:i}=this._store.locationSnapshot();return yield l.AsyncUtils.forEach(e.value,e=>{if(l.cmp.isUndefinedOrNull(e.GeoPoint)||l.cmp.isUndefinedOrNull(e.GeoPoint.coordinates))return void this._logException("_parseAzureSearchResponse",new Error(`Dealership ${e.DealershipNumber} has no coordinates.`));let[a,o]=e.GeoPoint.coordinates,r=l.NumberUtils.calcMilesBetweenTwoGeoPoints(n,i,o,a),s=new u.zp(e,r,this._appState.appTimesRef);l.cmp.isUndefinedOrNull(s.Schedule)&&this._logException("_parseAzureSearchResponse",new Error(`Dealership ${e.DealershipNumber} has no schedule.`)),t.push(s)}),t})}recalculateDistances(e){return(0,i.mG)(this,void 0,void 0,function*(){let{lat:t,lng:n}=e;yield this._reCalculateActiveDealershipDistance(t,n),yield this._reCalculateAllDealershipDistances(t,n),yield this._reCalculateRegionDealerships(t,n),yield this._reCalculateStateDealerships(t,n)})}_reCalculateActiveDealershipDistance(e,t){let n=this._memoryStore.activeDealershipMemory(),i=n.dealership$.getValue();if(l.cmp.isDefinedAndNotNull(i)&&0!==i.DealershipNumber){let[a,o]=i.GeoPoint.coordinates;i.Distance=l.NumberUtils.calcMilesBetweenTwoGeoPoints(e,t,o,a),n.publish(i)}}_reCalculateAllDealershipDistances(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n=this._memoryStore.allDealershipsMemory(),i=n.allDealerships$.getValue();l.cmp.isNotEmpty(i)&&(yield l.AsyncUtils.forEach(i,n=>{let[i,a]=n.GeoPoint.coordinates;n.Distance=l.NumberUtils.calcMilesBetweenTwoGeoPoints(e,t,a,i)}),n.publish(i))})}_reCalculateStateDealerships(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n=this._memoryStore.stateDealershipsMemory(),i=n.stateDealerships$.getValue();l.cmp.isNotEmpty(i)&&(yield l.AsyncUtils.forEach(i,n=>{let[i,a]=n.GeoPoint.coordinates;n.Distance=l.NumberUtils.calcMilesBetweenTwoGeoPoints(e,t,a,i)}),n.publish(i))})}_reCalculateRegionDealerships(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n=this._memoryStore.regionDealershipsMemory(),i=n.regionDealerships$.getValue();l.cmp.isNotEmpty(i)&&(yield l.AsyncUtils.forEach(i,n=>{let[i,a]=n.GeoPoint.coordinates;n.Distance=l.NumberUtils.calcMilesBetweenTwoGeoPoints(e,t,a,i)}),n.publish(i))})}checkRegionExistsAsCity(e,t){return(0,i.mG)(this,void 0,void 0,function*(){try{yield this.getAllDealerships();let n=this._memoryStore.allDealershipsMemory().allDealerships$.getValue(),i=l.StringUtils.slug(e),a=t.toLowerCase(),o=n.find(e=>{let t=i===l.StringUtils.slug(e.City),n=a===e.StateAbbreviation.toLowerCase();return t&&n});return l.cmp.isDefinedAndNotNull(o)}catch(n){throw this._logException("checkRegionExistsAsCity failed.",n),new Error(n)}})}buildMergedCityRegionList(){return(0,i.mG)(this,void 0,void 0,function*(){if(l.cmp.isNotEmpty(this._mergedCityRegionList))return this._mergedCityRegionList;yield this.getAllDealerships();let e=this._memoryStore.allDealershipsMemory().allDealerships$.getValue(),t=new Map(e.map(e=>[e.StateAbbreviation,{name:e.StateAbbreviation,longName:m.u.getLongFromShort(e.StateAbbreviation),cities:[],dealershipCount:0}])),n=new Map;e.forEach(e=>{let i=t.get(e.StateAbbreviation),a=f.a.removeStateAbrvFromRegion(e.RegionDescription,e.StateAbbreviation).toUpperCase(),o=l.StringUtils.slug(`${a} ${e.StateAbbreviation}`),r=n.get(o);if(l.cmp.isUndefinedOrNull(r)){let t={name:e.RegionDescription.toUpperCase(),displayName:a,associatedRegion:e.RegionDescription,isRegion:!0,dealershipCount:1};n.set(o,t),i.cities.push(t),r=t}else r.isRegion&&r.dealershipCount++;let s=l.StringUtils.slug(`${e.City} ${e.StateAbbreviation}`),c=n.get(s);if(l.cmp.isUndefinedOrNull(c)){let t={name:e.City,displayName:e.City,associatedRegion:e.RegionDescription,isRegion:!1,dealershipCount:1};n.set(s,t),i.cities.push(t)}else c.isRegion?(c.name=e.City,c.displayName=e.City,c.isRegion=!1,c.dealershipCount=1):c.dealershipCount++;i.dealershipCount++});let i={states:l.ArrayUtils.sortByKey(Array.from(t).map(([e,t])=>t),"longName"),dealershipCount:e.length};return i.states.forEach(e=>e.cities=l.ArrayUtils.sortByKey(e.cities,"name")),this._mergedCityRegionList=i,i})}getRegionFromCity(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n=l.StringUtils.slug(e);t=t.toUpperCase(),yield this.buildMergedCityRegionList();let i=this._mergedCityRegionList.states.find(e=>e.name===t);return l.cmp.isDefinedAndNotNull(i)?i.cities.find(e=>l.StringUtils.slug(e.name)===n).associatedRegion.toUpperCase():null})}getCleanStatesList(){return(0,i.mG)(this,void 0,void 0,function*(){if(l.cmp.isNotEmpty(this._cleanStatesList))return this._cleanStatesList;yield this.buildMergedCityRegionList();let e=l.ObjectUtils.deepObjectClone(this._mergedCityRegionList);return e.states.map(e=>e.name=m.u.getLongFromShort(e.name)),e.states.forEach(e=>e.cities.map(e=>e.displayName=(new g.ft).transform(e.displayName,[]))),this._cleanStatesList=e.states,e.states})}getStatesListExcludingRegions(){return(0,i.mG)(this,void 0,void 0,function*(){let e=yield this.getCleanStatesList();return e.forEach(e=>e.cities=e.cities.filter(e=>!e.isRegion)),e})}getDealershipFromNumber(e){return(0,i.mG)(this,void 0,void 0,function*(){try{yield this.getAllDealerships();let t=this._memoryStore.allDealershipsMemory().allDealerships$.getValue();return e=+e,t.find(t=>t.DealershipNumber===e)}catch(t){throw this._logException("getDealershipFromNumber failed",t),new Error(t)}})}getClosestDealership(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n=this._memoryStore.allDealershipsMemory(),i=n.allDealerships$.getValue();if(this._allDealershipsRetrieved&&l.cmp.isNotEmpty(i)){let e=i.reduce((e,t)=>e.Distance<t.Distance?e:t);return l.ObjectUtils.cloneDeep(e)}let o=new r.Pd;o.lat=e,o.lng=t,o.orderBy=new r.IX(a.rw[a.rw.distance],a.eQ[a.eQ.asc]),o.pageSize=1,o.queryType=a.xL.dealership;let s=(0,d.y)(o);if(l.cmp.isUndefinedOrNull(e)||l.cmp.isUndefinedOrNull(t)){const e={url:this._linkHelper.azureSearchDealershipIndex()};return this._analyticService.logTraceInfo("GeoPoint coordinates are null.",e),null}try{let e=yield this._promiseService.getDealershipsPromise(s),t=yield this._parseAzureSearchResponse(e);return l.cmp.isDefinedAndNotNull(t[0])&&n.updateDealership(t[0]),t[0]}catch(c){throw this._logException("getClosestDealership failed",c),new Error(c)}})}getDealershipRatings(){return(0,i.mG)(this,void 0,void 0,function*(){return this._promiseService.getDealershipRatings()})}getDealershipCountForNationwide(){return(0,i.mG)(this,void 0,void 0,function*(){if(0===this._store.dealershipSnapshot().nationalCount){let e=yield this._promiseService.getDealershipCountsPromise(null,"nationwide",null);yield this._store.dispatchAsync(new A.CI(e))}return this._store.dealershipSnapshot().nationalCount})}getDefaultDealershipCountForNationwide(){return this._appConfigService.appSettings.contentReplacers.dealershipsTotal}_logException(e,t){this._analyticService.logException(t,`DealershipService->${e} failed.`)}getAllDealershipRegions(e){return l.ArrayUtils.sortByNestedObjectKey(e.states.reduce(this._cityStateReducer,[]),e=>e)}_dedupeReducer(e,t){return-1===e.findIndex(e=>e.associatedRegion===t.associatedRegion)?[...e,t]:e}}return e.\u0275fac=function(t){return new(t||e)(b.LFG(o.D),b.LFG(y.k),b.LFG(c.D),b.LFG(C.F0),b.LFG(s.R),b.LFG(p.Z),b.LFG(h.g),b.LFG(v._))},e.\u0275prov=b.Yz7({token:e,factory:e.\u0275fac}),e})()},97805:function(e,t,n){"use strict";n.d(t,{e:function(){return P}});var i=n(97582),a=n(20483),o=n(67041),r=n(70764),s=n(18628),l=n(13535),c=n(71412),d=n(9953),u=n(79765),p=n(26215),h=n(2694),m=n(72349);const g={calendar:{title:"Appointment at DriveTime",notes:"When you arrive for your appointment, let us know if you want to shop vehicles or complete your financing first. To speed up the financing process, please bring your driver\u2019s license, a paystub, and a utility bill or something with your address on it. Our process is different, within 15 minutes of your appointment, you\u2019ll be able to shop every financing detail on every car."},contact:{type:"DriveTime Dealership",country:"USA",organization:"DriveTime Used Cars",notes:"Call or stop by any time and we\u2019ll be happy to help you in your car shopping process.",phoneType:"Dealership"},loading:{message:"Loading"}};var f=n(25680),y=n(30277),_=n(74260);const A="1348008253",v="com.drivetime.MobileOnline";class b{createEmail(e,t){window.cordova.plugins.email.open({to:e,subject:t})}createEmailInCapacitor(e,t){window.open("mailto:"+e+"?subject="+t,"_system")}}class C{constructor(e,t){this.inAppBrowser=e,this.isiOsApp=t}launchReview(e,t){switch(t){case"ios":e<=3?window.LaunchReview.rating():window.LaunchReview.launch(void 0,void 0,A);break;case"android":window.LaunchReview.launch(void 0,void 0,v)}}launchReviewInCapacitor(){let e;e=this.isiOsApp?"itms-apps://itunes.apple.com/app/drivetime-used-cars-for-sale/id"+A:"market://details?id="+v,this.inAppBrowser.create(e,"_system")}}class w extends class{createPrompt(e,t,n){return new Promise(i=>{window.navigator.notification.confirm(t,e=>{i(e)},e,n)})}}{constructor(e,t,n,i,a,o){super(),this._store=e,this._analyticService=t,this._appConfig=n,this.dialogs=i,this.inAppBrowser=a,this.isCapacitor=!1,this._appEmail=new b,this.isCapacitor=o,this._appReview=new C(this.inAppBrowser,n.isIosApp),this._mobileAppStorage=this._store.mobileAppSnapshot()}createPromptInCapacitor(e,t,n){return this.dialogs.confirm(t,e,n)}updateLaunchNumberAndDate(){this._store.dispatch(new _.Pt(c().format("dddd, MMMM Do YYYY, h:mm:ss a"))),this._store.dispatch(new _.HY(++this._mobileAppStorage.numberOfLaunches))}numberOfLaunchesBeforeReviewReached(){return 3===this._mobileAppStorage.numberOfLaunches}numberOfDaysBeforeReviewReached(){return c().diff(c(this._mobileAppStorage.lastLaunchDate,"dddd, MMMM Do YYYY, h:mm:ss a"),"days")>=3}startRateReviewPrompt(){this._mobileAppStorage=this._store.mobileAppSnapshot(),!this._mobileAppStorage.rateReviewPrompt.doNotPrompt&&this._mobileAppStorage.rateReviewPrompt.numberOfTimesPrompted<3&&(""===this._mobileAppStorage.rateReviewPrompt.dontPromptUntil||c().diff(c(this._mobileAppStorage.rateReviewPrompt.dontPromptUntil,"dddd, MMMM Do YYYY, h:mm:ss a"),"seconds")>0)&&this._showEnjoyingAppPrompt()}_showEnjoyingAppPrompt(){return(0,i.mG)(this,void 0,void 0,function*(){let e;switch(e=this.isCapacitor?yield this.createPromptInCapacitor("Are you enjoying the DriveTime app?","",["Not really","Yes!"]):yield this.createPrompt("Are you enjoying the DriveTime app?","",["Not really","Yes!"]),e){case 1:this._analyticService.logAnalytic({category:"RateReview",label:"EnjoyingAppNotReally"}),this._showAskForFeedbackPrompt();break;case 2:this._analyticService.logAnalytic({category:"RateReview",label:"EnjoyingAppYes"}),this._showAgreeToRatePrompt();break;default:return}})}_showAgreeToRatePrompt(){return(0,i.mG)(this,void 0,void 0,function*(){let e;switch(e=this.isCapacitor?yield this.createPromptInCapacitor("Will you rate us?","Your opinion is important to us and it takes less than a minute!",["Rate us now","Maybe later","No, thanks"]):yield this.createPrompt("Will you rate us?","Your opinion is important to us and it takes less than a minute!",["Rate us now","Maybe later","No, thanks"]),e){case 1:this.doNotPromptAgain(),this._analyticService.logAnalytic({category:"RateReview",label:"AgreetoRateNow"}),this.isCapacitor?this._appReview.launchReviewInCapacitor():this._appReview.launchReview(this._mobileAppStorage.rateReviewPrompt.numberOfTimesPrompted,window.device.platform.toLowerCase()),this._store.dispatch(new _.cB(++this._mobileAppStorage.rateReviewPrompt.numberOfTimesPrompted));break;case 2:this._analyticService.logAnalytic({category:"RateReview",label:"AgreetoRateLater"}),this.doNotPromptAgainUntilTomorrow();break;case 3:this.doNotPromptAgain(),this._analyticService.logAnalytic({category:"RateReview",label:"AgreetoRateNoThanks"});break;default:return}})}doNotPromptAgainUntilTomorrow(){this._store.dispatch(new _.WU(c().add(1,"days").format("dddd, MMMM Do YYYY, h:mm:ss a")))}doNotPromptAgain(){this._store.dispatch(new _.S4(!0))}_showAskForFeedbackPrompt(){return(0,i.mG)(this,void 0,void 0,function*(){let e;this.doNotPromptAgain(),e=this.isCapacitor?yield this.createPromptInCapacitor("Will you tell us how we can improve?","",["No, thanks","Sure"]):yield this.createPrompt("Will you tell us how we can improve?","",["No, thanks","Sure"]),1===e?this._analyticService.logAnalytic({category:"RateReview",label:"FeedbackNoThanks"}):2===e&&(this._analyticService.logAnalytic({category:"RateReview",label:"FeedbackSure"}),this.isCapacitor?this._appEmail.createEmailInCapacitor(this._appConfig.appSettings.mobileApp.appReviewEmail,"Feedback of DriveTime App"):this._appEmail.createEmail(this._appConfig.appSettings.mobileApp.appReviewEmail,"Feedback of DriveTime App"))})}}var S=n(11605),k=n(68450),M=n(37716);let P=(()=>{class e{constructor(e,t,n,i,a,o,r,s,l,c,d,h,m){this._appConfigService=e,this._analyticService=t,this._linkHelper=n,this._router=i,this._store=a,this._ngZone=o,this._windowService=r,this.contacts=s,this.calendar=l,this.dialogs=c,this.network=d,this.mobileAppVersion=h,this.inAppBrowser=m,this.deviceIsOffline$=new u.xQ,this.badVersion$=new p.X(!1),this._haveLoggedHapticError=!1,this._cmsContent=g,this._haveContactPermission=!1,this.showAppFooter$=new p.X(!1),this.isIPhoneX=!1,this.hideSplashScreenWhenReady=!1,this.canSaveContact=!1,this.canSaveCalendarEvent=!1,this.openInAppControlledTarget=!1,this.canVibrateDevice=!1,this.canDetectVersion=!1,this.canHideSplashScreen=!1,this.canCreateDialog=!1,this.canLaunchReview=!1,this.canCreateEmail=!1,this._canRequestPermissions=!1,this.isCapacitor=!1,this.appVersion="unknown",this.appPlatform="unknown",this.backNavigated=!1}init(){return(0,i.mG)(this,void 0,void 0,function*(){if(!this._appConfigService.isBrowser)return;this._windowWrapper=this._windowService.getWindow();let e=this._windowWrapper.devicePixelRatio||1;this.isIPhoneX=this._determineIfIPhoneX(this._windowWrapper.screen.width*e,this._windowWrapper.screen.height*e),this.showAppFooter$.next(this._appConfigService.isIosApp),this._windowWrapper.document.addEventListener("deviceready",this._initialSetup.bind(this),!1)})}_initialSetup(){return(0,i.mG)(this,void 0,void 0,function*(){if(!a.cmp.isUndefinedOrNull(this._windowWrapper.cordova)){if(!this._windowWrapper.AppVersion||!this._windowWrapper.AppVersion.version){let e=yield this.mobileAppVersion.getVersionNumber();this._windowWrapper.AppVersion={version:e},this.isCapacitor=!0}this.appVersion=this._windowWrapper.AppVersion.version,this.appPlatform=this.isCapacitor?"Capacitor":"Legacy",this._logDeviceAnalytic("DeviceInteractionService","DeviceTypeLoaded",{},"nonInteraction"),this._rateReviewPrompt=new w(this._store,this._analyticService,this._appConfigService,this.dialogs,this.inAppBrowser,this.isCapacitor),this.isCapacitor?(this.canSaveContact=!0,this.canSaveCalendarEvent=!0,this.canLaunchReview=!0,this.canDetectVersion=!0,this.openInAppControlledTarget=!0):(this.canSaveContact=a.cmp.isDefinedAndNotNull(this._windowWrapper.navigator)&&a.cmp.isDefinedAndNotNull(this._windowWrapper.navigator.contacts),this.canSaveCalendarEvent=a.cmp.isDefinedAndNotNull(this._windowWrapper.plugins)&&a.cmp.isDefinedAndNotNull(this._windowWrapper.plugins.calendar),this.openInAppControlledTarget=a.cmp.isDefinedAndNotNull(this._windowWrapper.cordova.plugins)&&a.cmp.isDefinedAndNotNull(this._windowWrapper.cordova.plugins.browsertab),this.canVibrateDevice=a.cmp.isDefinedAndNotNull(this._windowWrapper.navigator)&&a.cmp.isDefinedAndNotNull(this._windowWrapper.navigator.vibrate)&&this._appConfigService.isAndroidApp,this.canDetectVersion=a.cmp.isDefinedAndNotNull(this._windowWrapper.AppVersion)&&a.cmp.isDefinedAndNotNull(this._windowWrapper.AppVersion.version),this.canHideSplashScreen=a.cmp.isDefinedAndNotNull(this._windowWrapper.navigator)&&a.cmp.isDefinedAndNotNull(this._windowWrapper.navigator.splashscreen),this.canCreateDialog=a.cmp.isDefinedAndNotNull(this._windowWrapper.navigator)&&a.cmp.isDefinedAndNotNull(this._windowWrapper.navigator.notification)&&a.cmp.isDefinedAndNotNull(this._windowWrapper.navigator.notification.confirm),this.canCreateEmail=a.cmp.isDefinedAndNotNull(this._windowWrapper.cordova)&&a.cmp.isDefinedAndNotNull(this._windowWrapper.cordova.plugins)&&a.cmp.isDefinedAndNotNull(this._windowWrapper.cordova.plugins.email),this.canLaunchReview=a.cmp.isDefinedAndNotNull(this._windowWrapper.LaunchReview),this._canRequestPermissions=a.cmp.isDefinedAndNotNull(this._windowWrapper.cordova)&&a.cmp.isDefinedAndNotNull(this._windowWrapper.cordova.plugins)&&a.cmp.isDefinedAndNotNull(this._windowWrapper.cordova.plugins.permissions),this.hideSplashScreenWhenReady&&this.canHideSplashScreen&&this.hideSplashScreen()),this._listenToNetworkState(),this._listenToBackNavigation(),this._determineIfVersionIsGood(),this._rateReviewPrompt.updateLaunchNumberAndDate(),(this._rateReviewPrompt.numberOfLaunchesBeforeReviewReached()||this._rateReviewPrompt.numberOfDaysBeforeReviewReached())&&this.promptUserWithRateAndReview()}})}_listenToBackNavigation(){this._router.events.subscribe(e=>{if(e instanceof h.OD){if(!this._appConfigService.isMobileApp)return;"popstate"===e.navigationTrigger&&(this.backNavigated=!0)}else if(e instanceof h.m2){if(!this._appConfigService.isMobileApp)return;e.url.split("?"),this.backNavigated&&(this.backNavigated=!1,this._ngZone.run(()=>{this._router.navigateByUrl(this._router.url)}))}})}openWithTarget(e,t=!1){if(a.cmp.isEmpty(e))return;if(!this.openInAppControlledTarget)return void this._windowWrapper.open(e,S.e.Blank);let n=t?this._linkHelper.baseUrl+e:e;return new Promise((t,i)=>{if(this.isCapacitor){let t=-1!==e.indexOf(this._linkHelper.blobBaseUrl)?S.e.System:S.e.Blank;this.inAppBrowser.create(n,t,{allowInlineMediaPlayback:"yes",mediaPlaybackRequiresUserAction:"yes",disallowoverscroll:"yes",closebuttoncaption:"Done",shouldPauseOnSuspend:"yes"})}else this._windowWrapper.cordova.plugins.browsertab.openUrl(n,t,(function(){this._logAppErrorAsCustomEvent("OpenNewTab","openWithTarget rejected legacy app promise"),i("Cannot open new tab")}).bind(this))})}openMapApp(e,t){switch(this._analyticService.platform){case d.N.Desktop:case d.N.Mobile:this._openWebMapLocation(e,t);break;case d.N.iOS:this._openIosMapLocation(e,t);break;case d.N.Android:this._openAndroidMapLocation(e)}}_openWebMapLocation(e,t){let n=this._linkHelper.getMapsLinkUrl(e,t);try{this._windowWrapper.open(n,"_blank")}catch(i){this._logAppErrorAsCustomEvent("OpenMaps",`_openWebMapLocation threw exception: ${i.message}`)}}_openAndroidMapLocation(e){let t=`geo:0,0?q=DriveTime ${e.address} ${e.city}, ${e.stateAbbreviation}`;try{this._windowWrapper.open(t,"_system")}catch(n){this._logAppErrorAsCustomEvent("OpenMaps",`_openAndroidMapLocation threw exception: ${n.message}`)}}_openIosMapLocation(e,t){if(a.cmp.isDefinedAndNotNull(this._windowWrapper.cordova.InAppBrowser)){let i=this._linkHelper.getNativeIosMapsLocation(e,t);try{this._windowWrapper.cordova.InAppBrowser.open(i,"_system")}catch(n){this._logAppErrorAsCustomEvent("OpenMaps",`_openIosMapLocation InAppBrowser threw exception: ${n.message}`)}}else{this._logAppErrorAsCustomEvent("OpenMaps","_openIosMapLocation null or undefined");let i=this._linkHelper.getMapsLinkUrl(e,t);try{this.openWithTarget(i)}catch(n){this._logAppErrorAsCustomEvent("OpenMaps",`_openIosMapLocation openWithTarget threw exception: ${n.message}`)}}}setCalendarEventFromDealership(e,t,n){return(0,i.mG)(this,void 0,void 0,function*(){if(!this.canSaveCalendarEvent)return;let i=this.buildCalendarEventFromDealership(e,t,this._cmsContent.calendar.notes,n);this.isCapacitor?this._setCalendarEventInCapacitor(i):yield this._setCalendarEvent(i)})}buildCalendarEventFromDealership(e,t,n,i){let a=new s.ft,{AddressLine1:o,City:r,StateAbbreviation:l,Zip5:d}=t,u=c.parseZone(e),p=u.year(),h=u.month(),m=u.date(),g=u.hour(),f=u.minutes(),y=u.clone().add(i,"h").hour(),_=new Date(p,h,m,g,f),A=new Date(p,h,m,y,f);return{title:this._cmsContent.calendar.title,location:a.transform(`${o} ${r}`,[])+`, ${l} ${d}`,notes:n,startTime:_,endTime:A}}_setCalendarEvent(e){if(this.canSaveCalendarEvent)return new Promise((t,n)=>{let{title:i,location:a,notes:o,startTime:r,endTime:s}=e,l=this._windowWrapper.plugins.calendar.getCalendarOptions();l.firstReminderMinutes=1440,l.secondReminderMinutes=60,this._windowWrapper.plugins.calendar.createEventInteractivelyWithOptions(i,a,o,r,s,l,t,(function(){this._logAppErrorAsCustomEvent("SaveCalendarEvent","_setCalendarEvent calendar plugin createEventInteractivelyWithOptions rejected promise"),n("Cannot save Calendar event")}).bind(this))})}_setCalendarEventInCapacitor(e){let{title:t,location:n,notes:i,startTime:a,endTime:o}=e,r=this._windowWrapper.plugins.calendar.getCalendarOptions();r.firstReminderMinutes=1440,r.secondReminderMinutes=60,this.calendar.createEventInteractivelyWithOptions(t,n,i,a,o,r).then(()=>{},e=>{this._logAppErrorAsCustomEvent("SaveCalendarEvent","_setCalendarEventInCapacitor capacitor calendar createEventInteractivelyWithOptions rejected promise")})}_requestContactsPermissions(){return(0,i.mG)(this,void 0,void 0,function*(){return!!this._canRequestPermissions&&(!!this._haveContactPermission||new Promise((e,t)=>{let n=this._windowWrapper.cordova.plugins.permissions;n.requestPermission(n.READ_CONTACTS,(function(){this._haveContactPermission=!0,e(!0)}).bind(this),(function(){this._logAppErrorAsCustomEvent("ReadContactPermission","_requestContactsPermissions requestPermissions rejected promise"),t(!1)}).bind(this))}))})}setContactFromDealership(e){return(0,i.mG)(this,void 0,void 0,function*(){if(this.canSaveContact)if(this.isCapacitor){let t=this.contacts.create();t=this.buildContactFromDealershipInCapacitor(t,e),yield this._saveContactInCapacitor(t)}else{let t=this._windowWrapper.navigator.contacts.create();t=this.buildContactFromDealership(t,e),yield this._saveContact(t)}})}buildContactFromDealership(e,t){let n=new s.ft,{DealershipName:i,DealershipNumber:a,PhoneNumber:o,AddressLine1:r,City:l,StateAbbreviation:c,Zip5:d}=t,u=`DriveTime ${n.transform(i,[])}`;return e.displayName=u,e.nickname=u,e.phoneNumbers=[{value:(new f.X).transform(o.toString(),null),pref:!0,type:this._cmsContent.contact.phoneType}],e.addresses=[{isPreferred:!0,type:this._cmsContent.contact.type,formatted:n.transform(`${r} ${l}`,[])+`, ${c} ${d}`,locality:n.transform(l,[]),streetAddress:n.transform(r,[]),postalCode:d,country:this._cmsContent.contact.country,region:n.transform(c,[])}],e.urls=[{value:this._linkHelper.baseUrl+this._linkHelper.dealershipDetailsPage(l,c,a,i)}],e.photos=[{value:this._linkHelper.drivetimeLogo()}],e.organizations=[{name:this._cmsContent.contact.organization}],e.note=this._cmsContent.contact.notes,e}buildContactFromDealershipInCapacitor(e,t){let n=new s.ft,{DealershipName:i,DealershipNumber:a,PhoneNumber:o,AddressLine1:r,City:l,StateAbbreviation:c,Zip5:d}=t,u=`DriveTime ${n.transform(i,[])}`;return e.name={givenName:"",familyName:""},e.displayName=u,e.nickname=u,e.phoneNumbers=[{value:(new f.X).transform(o.toString(),null),pref:!0,type:u}],e.addresses=[{type:u,formatted:n.transform(`${r} ${l}`,[])+`, ${c} ${d}`,locality:n.transform(l,[]),streetAddress:n.transform(r,[]),postalCode:d,country:this._cmsContent.contact.country,region:c.toUpperCase()}],e.urls=[{value:this._linkHelper.baseUrl+this._linkHelper.dealershipDetailsPage(l,c,a,i)}],e.photos=[{type:"photo",pref:!0,value:this._linkHelper.drivetimeLogo()}],e.organizations=[{type:"work",name:this._cmsContent.contact.organization}],e.note=this._cmsContent.contact.notes,e}_saveContact(e){return(0,i.mG)(this,void 0,void 0,function*(){return this.canSaveContact&&(yield this._requestContactsPermissions())?a.cmp.isNotEmpty(yield this._findContact(e))?(alert("This contact is already saved!"),null):new Promise((t,n)=>{e.save(function(){alert(`${e.displayName} saved to contacts`),t()},(function(){this._logAppErrorAsCustomEvent("SaveContact","_saveContact contact.save rejected promise"),n("Cannot save Contact")}).bind(this))}):null})}_saveContactInCapacitor(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=yield this._findContactInCapacitor(e);if(t&&t.length>0)return alert("This contact is already saved!"),null;e.save().then(()=>{alert(`${e.displayName} saved to contacts`)},e=>{this._logAppErrorAsCustomEvent("SaveContact","_saveContactInCapacitor contact.save rejected promise")})})}_findContact(e){return this.canSaveContact?new Promise((t,n)=>{this._windowWrapper.navigator.contacts.find(["*"],function(e){t(e)},function(){n("Cannot find Contact")},{desiredFields:["*"],filter:e.phoneNumbers[0].value,multiple:!0,hasPhoneNumber:!0})}):Promise.resolve(null)}_findContactInCapacitor(e){return(0,i.mG)(this,void 0,void 0,function*(){let t={desiredFields:["*"],filter:e.phoneNumbers[0].value,multiple:!0,hasPhoneNumber:!0};return yield this.contacts.find(["phoneNumbers"],t)})}_listenToNetworkState(){let e=e=>{this.deviceIsOffline$.next(e)};this.isCapacitor?(this.network.onDisconnect().subscribe(()=>e(!0)),this.network.onConnect().subscribe(()=>e(!1))):(this._windowWrapper.document.addEventListener("offline",()=>e(!0),!1),this._windowWrapper.document.addEventListener("online",()=>e(!1),!1))}vibrateDevice(e=50){if(this.canVibrateDevice)try{this._windowWrapper.navigator.vibrate(e)}catch(t){if(this._haveLoggedHapticError)return;this._logAppErrorAsCustomEvent("HapticFeedback",`vibrateDevice navigator.vibrate threw exception: ${t.message}`),this._haveLoggedHapticError=!0}}hideSplashScreen(){this.canHideSplashScreen?this._windowWrapper.navigator.splashscreen.hide():this.hideSplashScreenWhenReady=!0}_determineIfVersionIsGood(){if(!this.canDetectVersion)return void this._logAppErrorAsCustomEvent("DetermineVersion","_determineIfVersionIsGood cannot determine version");let e=(n=this._windowWrapper.AppVersion.version,!(3===(t=this._appConfigService.appSettings.mobileApp.minimumSupportedVersion).split(".").length&&3===n.split(".").length&&1!==m.mF.compareSemanticVersions(t,n)));var t,n;this.badVersion$.next(e)}_determineIfIPhoneX(e,t){return 1125===e&&2436===t||((e,t)=>828===e&&1792===t)(e,t)||((e,t)=>1242===e&&2688===t)(e,t)}promptUserWithRateAndReview(){(this.isCapacitor||this.canCreateDialog&&this.canCreateEmail&&this.canLaunchReview)&&this._rateReviewPrompt.startRateReviewPrompt()}_logAppErrorAsCustomEvent(e,t){this._logDeviceAnalytic("AppError",e,{info:t})}_logDeviceAnalytic(e,t,n={},i){const o={category:e,label:t,additionalData:Object.assign({},{appPlatform:this.appPlatform,appVersion:this.appVersion},n)};a.cmp.isDefinedAndNotNull(i)&&(o.action=i),this._analyticService.logAnalytic(o)}}return e.\u0275fac=function(t){return new(t||e)(M.LFG(o._),M.LFG(r.g),M.LFG(l.R),M.LFG(h.F0),M.LFG(y.k),M.LFG(M.R0b),M.LFG(k.u),M.LFG("MOBILE_IONIC_CONTACTS"),M.LFG("MOBILE_IONIC_CALENDAR"),M.LFG("MOBILE_IONIC_DIALOGS"),M.LFG("MOBILE_IONIC_NETWORK"),M.LFG("MOBILE_IONIC_APPVERSION"),M.LFG("MOBILE_IONIC_INAPPBROWSER"))},e.\u0275prov=M.Yz7({token:e,factory:e.\u0275fac}),e})()},9825:function(e,t,n){"use strict";n.d(t,{W:function(){return a}});var i=n(20483);class a{constructor(e,t){this._lastDecisions={},this._providerName=e,this._analyticsService=t}buildFeatureDecision(e,t,n,a){let o=!0,r=new Date;return i.cmp.isNotEmpty(this._lastDecisions)&&i.cmp.isNotEmpty(this._lastDecisions[e])&&(o=!i.ObjectUtils.deepCompare(t,this._lastDecisions[e].value),r=o?r:this._lastDecisions[e].startTime),{name:e,value:t,valueChanged:o,reasons:a,featureNames:n,startTime:r,providerName:this._providerName}}logFeatureDecision(e,t,n,a){const o=this.buildFeatureDecision(e,t,n,a);if(i.cmp.isEmpty(o))return;this._lastDecisions[e]=o;const r={name:o.name,value:JSON.stringify(o.value),valueChanged:o.valueChanged,reasons:JSON.stringify(o.reasons),featureNames:i.cmp.isNotEmpty(o.featureNames)?o.featureNames.join(","):"",startTime:i.cmp.isDefinedAndNotNull(o.startTime)?o.startTime.toUTCString():"",providerName:o.providerName};this._analyticsService.logAppInsights("FeatureDecision",r)}}},96645:function(e,t,n){"use strict";var i;n.d(t,{j:function(){return i}}),function(e){let t;var n;let i,a,o,r,s,l,c,d,u,p,h,m,g,f,y,_,A,v,b;(n=t=e.Home||(e.Home={})).ID="home",n.HeroCTA="hero-cta",n.MobileMessage="Home.header-mobile",n.VSR_CTA="Home.vsr-cta",n.Image="Home.image",n.ShowReturnUserModal="Home.show-return-user-modal",n.SegmentSdk="Home.segment-sdk",function(e){e.ID="finance-calculator",e.HeaderText="calc-hero-text",e.HeaderSubText="calc-hero-sub-text"}(i=e.FinanceCalculator||(e.FinanceCalculator={})),function(e){e.ID="vehicle-search-results",e.CardType="vsr-card-type",e.ShowPriceReduction="vehicle-search-results.vsr-show-price-reduction",e.BannerType="vsr-first-banner-type",e.BannerConfig="vsr-banner-config"}(a=e.VehicleSearchResults||(e.VehicleSearchResults={})),function(e){e.ID="get-approved",e.ShowCombinedDisclaimers="get-approved.show-combined-disclaimers",e.ScrollType="get-approved.scroll-type",e.ShowDesiredDownInput="get-approved.show-desired-down-input",e.DesiredDownUsedOnAppCert="get-approved.desired-down-used-on-app-cert"}(o=e.GetApproved||(e.GetApproved={})),function(e){e.ID="get-approved-autocomplete",e.FeatureKey="160903_google-autocomplete-ga2",e.Control="Control"}(r=e.GetApprovedAutoComplete||(e.GetApprovedAutoComplete={})),function(e){e.ID="cobuyer-income-post-approval",e.EnableCoBuyerIncome="is-cobuyer-eligible"}(s=e.CoBuyerIncomePostApproval||(e.CoBuyerIncomePostApproval={})),function(e){e.ID="ga1-ga2-verbiage-exp",e.FeatureKey="158166_ga1-ga2-verbiage",e.ShowGa1Ga2Verbiage="ga1-ga2-verbiage",e.VerbiageStyle="verbiage-style"}(l=e.GA1GA2Verbiage||(e.GA1GA2Verbiage={})),function(e){e.ID="vehicle-details-page",e.ShowPriceReduction="vehicle-details-page.vdp-show-price-reduction"}(c=e.VehicleDetailsPage||(e.VehicleDetailsPage={})),function(e){e.VehicleView="approval.vehicle-view"}(d=e.Approval||(e.Approval={})),function(e){e.IsPlaidEligible1A="ApprovalCertificate.is-plaid-eligible-1a",e.IsPlaidEligible1B="ApprovalCertificate.is-plaid-eligible-1b",e.IsPlaidEmailEligible="ApprovalCertificate.is-plaid-email-eligible",e.IsPifResubmitEnabled="ApprovalCertificate.is-pif-resubmit-enabled"}(u=e.ApprovalCertificate||(e.ApprovalCertificate={})),function(e){e.ID="global",e.SoftPullConfig="Global.soft-pull-config",e.IsGarageAvailable="Garage.IsGarageAvailable",e.AccutradeEligibleList="AccutradeEligibleList",e.DisplayPrivacyPreferences="Global.DisplayPrivacyPreferences"}(p=e.Global||(e.Global={})),function(e){e.IsGarageAvailable="Garage.IsGarageAvailable"}(h=e.Garage||(e.Garage={})),function(e){e.ID="modal",e.ModalType="ga-modal-type",e.ModalVisibilityDelay="ga-modal-visibility-delay"}(m=e.Modal||(e.Modal={})),function(e){e.ID="kbb-banner",e.BannerType="banner-type"}(g=e.KbbBanner||(e.KbbBanner={})),function(e){e.ID="trade-in",e.AccutradeEligibleList="AccutradeEligibleList",e.IsActiveDealershipEligibleForAccutrade="IsActiveDealershipEligiableForAccutrade"}(f=e.TradeIn||(e.TradeIn={})),function(e){e.EnableTradeInModal="trade-in-modal.enable-trade-in"}(y=e.TradeInModal||(e.TradeInModal={})),function(e){e.EnableVsrToolbar="vsr-customer-inputs.enable-vsr-toolbar",e.EnableVdpAdjustSliderDown="vsr-customer-inputs.vdp-adjust-slider-down",e.FeatureKey="163880_customer-inputs-on-vsr",e.EnableVsrIncomeAdjustment="vsr-customer-inputs.enable-vsr-income-adjustment"}(_=e.VSRCustomerInputs||(e.VSRCustomerInputs={})),function(e){e.Control="control",e.Variation1="variation_1"}(A=e.Variations||(e.Variations={})),function(e){e.ShowChatBubble="Chat.ShowChatBubble",e.HaveStartedChat="Chat.HaveStartedChat"}(v=e.Chat||(e.Chat={})),function(e){e.ID="VSRGridListView",e.EnableVSRView="VSRGridListView.enableVSRView",e.Variation="VSRGridListView.variation",e.HasReceivedEligibleCert="VSRGridListView.HasReceivedEligibleCert"}(b=e.VSRGridListView||(e.VSRGridListView={}))}(i||(i={}))},68334:function(e,t,n){"use strict";n.d(t,{U:function(){return me},n:function(){return he}});var i=n(48531),a=n(30277),o=n(69958),r=n(96645),s=n(40466),l=n(37716);let c=(()=>{class e{constructor(e,t){this._store=e,this._optimizelyFullStackService=t,this._optimizelyFullStackService.activateFeature("137918-home-ppc-cta-verbiage"),this._store.select(s.LW.isUserInAudience(["137918-home-ppc-cta-verbiage"])).subscribe(e=>this._store.dispatch(new i.lH(r.j.Home.ID,e))),me.mapFeature(this._store,{featureKey:"137918-home-ppc-cta-verbiage",variableKey:"hero-cta-verbiage"},{featureKey:r.j.Home.ID,variableKey:r.j.Home.HeroCTA})}}return e.\u0275fac=function(t){return new(t||e)(l.LFG(a.k),l.LFG(o.B))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var d=n(20483),u=n(17315),p=n(2694);let h=(()=>{class e{constructor(e,t){this._store=e,this.route=t,this.route.queryParams.subscribe(e=>{d.cmp.isDefinedAndNotNull(e)&&d.cmp.isDefinedAndNotNull(e.oagg)&&this._store.dispatch(new i.pm(u.ZI.OAGG,e.oagg.toUpperCase()))})}}return e.\u0275fac=function(t){return new(t||e)(l.LFG(a.k),l.LFG(p.gz))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var m=n(45435),g=n(88002),f=n(15892);let y=(()=>{class e{constructor(e,t){this._store=e,this._optimizelyFullStackService=t,this.Feature="140186_ability-to-save-cars",this._optimizelyFullStackService.activateFeature(this.Feature),this._store.select(s.LW.getFeature(this.Feature)).pipe((0,m.h)(e=>d.cmp.isDefinedAndNotNull(e)&&d.cmp.isDefinedAndNotNull(e.featureTest)&&d.cmp.isDefinedAndNotNull(e.variables)&&d.cmp.isDefinedAndNotNull(e.variables.garage_active)),(0,g.U)(e=>({experiment:e.featureTest.key,variation:e.featureTest.variation,isGarageAvailable:e.variables.garage_active}))).subscribe(e=>{this._store.dispatch(new f.v(r.j.Garage.IsGarageAvailable,e.isGarageAvailable))})}}return e.\u0275fac=function(t){return new(t||e)(l.LFG(a.k),l.LFG(o.B))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var _=n(79765),A=n(9112),v=n(1638),b=n(46782),C=n(28049),w=n(899),S=n(70764),k=n(89752),M=n(4398),P=n(80352);let O=(()=>{class e{constructor(e,t,n,i,a){this._store=e,this._optimizelyFullStackService=t,this._leadService=n,this._analyticService=i,this.lead=a,this.featureKey="131076_app-cert-enhancement",this._featureUnsubscribe=new _.xQ,this._store.select(M.p_.currentRouteName).pipe((0,b.R)(this._featureUnsubscribe),(0,m.h)(e=>e===P.x4.GetApproved2),(0,C.P)()).subscribe(e=>{this.activateFeature()}),this._leadService.gaModalGA2Load$.pipe((0,b.R)(this._featureUnsubscribe),(0,m.h)(e=>!!e)).subscribe(()=>{this.activateFeature()});let o=this._store.select(v.LW.getFeature(this.featureKey)).pipe((0,m.h)(e=>d.cmp.isDefinedAndNotNull(e)&&e.isUserInAudience&&d.cmp.isDefinedAndNotNull(e.featureTest)&&d.cmp.isDefinedAndNotNull(e.variables)&&d.cmp.isDefinedAndNotNull(e.variables.vehicleFinancing)),(0,C.P)(),(0,g.U)(e=>({experiment:e.featureTest.key,variation:e.featureTest.variation,vehicleFinancing:e.variables.vehicleFinancing}))),s=new Set([k.xz.get(k.ss.Sale)]),l=this._leadService.approvalEnhancementType$;const c={key:this.featureKey,featureMap:{control:{display:"control"},variation_1:{display:"carousel-view"},variation_2:{display:"stack-view"}}};o.pipe((0,m.h)(e=>"control"!==e.variation),(0,C.P)()).subscribe(e=>this.lead.appCertExp=e.vehicleFinancing),(0,A.aj)(o,l).subscribe(([e,t])=>{"control"!==c.featureMap[e.variation].display&&d.cmp.areAllDefinedAndNotNull(t)&&s.has(k.xz.get(t.appCertType))&&this._store.dispatch(new f.v(r.j.Approval.VehicleView,c.featureMap[e.variation].display)),this.logAnalyticFor(e.experiment,e.variation)})}activateFeature(){this._optimizelyFullStackService.activateFeature(this.featureKey),this._featureUnsubscribe.unsubscribe()}logAnalyticFor(e,t){let n={optimizely_decision_experimentId:`${this.featureKey}_dtm`,optimizely_decision_experimentName:e,optimizely_decision_variationName:t,optimizely_decision_variationId:t};this._analyticService.logAppInsights("optimizely_event_campaignDecided",n),this._analyticService.logFullStory("OptimizelyEvent",n)}}return e.\u0275fac=function(t){return new(t||e)(l.LFG(a.k),l.LFG(o.B),l.LFG(w.y),l.LFG(S.g),l.LFG(w.y))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var U=n(97582),I=n(28645);class N{constructor(e,t){this._store=e,this._optimizelyFullStackService=t,this._featureKey="139596_cobuyer-income-add-terms",me.mapFeature(this._store,{featureKey:this._featureKey,variableKey:"is-cobuyer-eligible"},{featureKey:r.j.CoBuyerIncomePostApproval.ID,variableKey:r.j.CoBuyerIncomePostApproval.EnableCoBuyerIncome}),this._store.select(M.p_.currentRouteName).pipe((0,m.h)(e=>[P.x4.VehicleSearchResults,P.x4.VehicleDetails].includes(e))).subscribe(()=>{this._optimizelyFullStackService.activateFeature(this._featureKey)})}static CoBuyerIncomeFeatureValue(e){return{enableCobuyerIncome:e}}getFeatureValue(){return this._store.select(N.CoBuyerIncomeFeatureValue)}}N.\u0275fac=function(e){return new(e||N)(l.LFG(a.k),l.LFG(o.B))},N.\u0275prov=l.Yz7({token:N,factory:N.\u0275fac,providedIn:"root"}),(0,U.gn)([(0,I.Qf)([s.LW.getVariableValue(r.j.CoBuyerIncomePostApproval.ID,r.j.CoBuyerIncomePostApproval.EnableCoBuyerIncome)]),(0,U.w6)("design:type",Function),(0,U.w6)("design:paramtypes",[Boolean]),(0,U.w6)("design:returntype",Object)],N,"CoBuyerIncomeFeatureValue",null);var T=n(26215),D=n(9825);let x=(()=>{class e{constructor(e,t,n,i){this._store=e,this._optimizelyFullStackService=t,this._analyticService=n,this._leadService=i,this.Feature="144462-price-reduction-merchandising",this.isFeatureActivated=new T.X(!1),this.appCertType="",this.currentLocation="",this.currentRouteName="",this.experimentName="",this.variation="",this._decisonTracker=new D.W("price-reduction-service",this._analyticService);let a=["ARIZONA","ARKANSAS","FLORIDA","KENTUCKY","NORTH CAROLINA","SOUTH CAROLINA","WISCONSIN"],o=this._store.select(e=>e.app.location.currentLocation),l=this._store.select(M.p_.currentRouteName),c=this._leadService.approvalEnhancementType$;(0,A.aj)(o,l,c,this.isFeatureActivated).pipe((0,m.h)(([e,t,n,i])=>d.cmp.areAllDefinedAndNotNull(e,t)&&[P.x4.VehicleSearchResults,P.x4.VehicleDetails].includes(t)&&a.map(e=>e.toLowerCase()).includes(e.state.longName.toLowerCase())&&(d.cmp.isDefinedAndNotNull(n)&&d.cmp.isDefinedAndNotNull(n.appCertType)&&"Upgrade"!==k.xz.get(n.appCertType)||d.cmp.isUndefinedOrNull(n))&&!1===i)).subscribe(([e,t,n])=>{this._optimizelyFullStackService.activateFeature(this.Feature),this.isFeatureActivated.next(!0),this.currentLocation=e.state.longName,this.appCertType="None",d.cmp.isDefinedAndNotNull(n)&&d.cmp.isDefinedAndNotNull(n.appCertType)&&(this.appCertType=k.xz.get(n.appCertType)),this.currentRouteName=t===P.x4.VehicleSearchResults?"Vehicle Search Results":t===P.x4.VehicleDetails?"Vehicle Details Page":t.toString()}),this.isFeatureActivated.subscribe(e=>{e&&this._store.select(s.LW.getFeature(this.Feature)).pipe((0,m.h)(e=>d.cmp.isDefinedAndNotNull(e)&&e.isUserInAudience&&d.cmp.isDefinedAndNotNull(e.featureTest)&&d.cmp.isDefinedAndNotNull(e.variables)&&d.cmp.isDefinedAndNotNull(e.variables.ShowPriceReduction)),(0,C.P)(),(0,g.U)(e=>({experiment:e.featureTest.key,variation:e.featureTest.variation,showPriceReduction:e.variables.ShowPriceReduction}))).subscribe(e=>{this._store.dispatch(new f.v(r.j.VehicleSearchResults.ShowPriceReduction,e.showPriceReduction)),this._store.dispatch(new f.v(r.j.VehicleDetailsPage.ShowPriceReduction,e.showPriceReduction)),this.experimentName=e.experiment,this.variation=e.variation,this.logAnalyticFor(e.experiment,e.variation),this._analyticService.logAppInsights("Price Reduction Feature Activated",{experimentName:this.experimentName,variation:this.variation,currentLocation:this.currentLocation,appCertType:this.appCertType,currentRouteName:this.currentRouteName});const t=[{name:"Current Location",value:this.currentLocation},{name:"App Cert Type",value:this.appCertType,reason:"App cert type at time of bucketing"},{name:"Current Route",value:this.currentRouteName}];this._decisonTracker.logFeatureDecision(r.j.VehicleDetailsPage.ShowPriceReduction,e.showPriceReduction,[this.Feature],t),this._decisonTracker.logFeatureDecision(r.j.VehicleSearchResults.ShowPriceReduction,e.showPriceReduction,[this.Feature],t)})}),(0,A.aj)(c,this.isFeatureActivated).pipe((0,m.h)(([e,t])=>d.cmp.isDefinedAndNotNull(e)&&d.cmp.isDefinedAndNotNull(e.appCertType)&&"Upgrade"===k.xz.get(e.appCertType)&&!0===t&&"control"!==this.variation)).subscribe(([e])=>{this._store.dispatch(new f.v(r.j.VehicleSearchResults.ShowPriceReduction,!1)),this._store.dispatch(new f.v(r.j.VehicleDetailsPage.ShowPriceReduction,!1)),this.isFeatureActivated.next(!1),this._analyticService.logAppInsights("Price Reduction UI Hidden",{experimentName:this.experimentName,variation:this.variation,appCertType:k.xz.get(e.appCertType),currentRouteName:this.currentRouteName});const t=[{name:"Current Location",value:this.currentLocation},{name:"App Cert Type",value:this.appCertType,reason:"Post bucketing app cert change (upgrade) disqualified user"},{name:"Current Route",value:this.currentRouteName}];this._decisonTracker.logFeatureDecision(r.j.VehicleDetailsPage.ShowPriceReduction,!1,[this.Feature],t),this._decisonTracker.logFeatureDecision(r.j.VehicleSearchResults.ShowPriceReduction,!1,[this.Feature],t)})}logAnalyticFor(e,t){let n={optimizely_decision_experimentId:`${this.Feature}_dtm`,optimizely_decision_experimentName:e,optimizely_decision_variationName:t};this._analyticService.logAppInsights("optimizely_event_campaignDecided",n),this._analyticService.logFullStory("OptimizelyEvent",n)}}return e.\u0275fac=function(t){return new(t||e)(l.LFG(a.k),l.LFG(o.B),l.LFG(S.g),l.LFG(w.y))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var E=n(59595),L=n(54395);class R{constructor(e,t,n,a){this._store=e,this._optimizelyFullStackService=t,this._analyticService=n,this._leadService=a,this.featureKey1A="134845-plaid-promotion-email-1A",this.featureKey1B="134845-plaid-promotion-email-1B",this._decisionTracker=new D.W("plaid-promotion-email-service",this._analyticService),this.isFeatureActivated=new T.X(!1),this.approvalCertificateType="",this.hasRiskIndicator="",this.program="";let o=this._store.select(v.LW.getAttribute("is-post-ga2")),s=this._store.select(v.LW.getAttribute("dtm-region")),l=this._store.select(v.LW.getAttribute("app-cert-type")),c=this._leadService.approvalCertificateData$.pipe((0,m.h)(e=>!!e&&d.cmp.isNotEmpty(e.financeTerms))),p=this._store.select(v.LW.getAttribute("has-plaid-score"));(0,A.aj)(c,this._leadService.approvalEnhancementType$,this.navRouteName$,o,s,l,p).pipe(this.debounce(100),(0,m.h)(([e,t,n,i,a,o,s])=>{const l=d.cmp.areAllDefinedAndNotNull(e,t,n,i,a,o,s)&&n===P.x4.ApprovalCertificate&&"-1"!==a&&d.cmp.isNotEmpty(o)&&!0===i&&!1===s&&d.cmp.isDefinedAndNotNull(e.leadSubmissionId)&&d.cmp.isDefinedAndNotNull(e.financeTerms.program)&&d.cmp.isDefinedAndNotNull(e.financeTerms.riskAttributes)&&"true"!==e.financeTerms.riskAttributes.hasRiskIndicator;if(!l&&n===P.x4.ApprovalCertificate){let l=this.buildPlaidServiceNotStartedReasons(e,t,n,i,a,o,s);this._decisionTracker.logFeatureDecision(r.j.ApprovalCertificate.IsPlaidEligible1A,{value:"false",reason:"Optimizely Service not initiated"},[this.featureKey1A],l),this._decisionTracker.logFeatureDecision(r.j.ApprovalCertificate.IsPlaidEligible1B,{value:"false",reason:"Optimizely Service not initiated"},[this.featureKey1B],l)}return l}),(0,g.U)(([e,t])=>(this.approvalCertificateType=k.ss[t.appCertType],this.hasRiskIndicator=d.cmp.isDefinedAndNotNull(e.financeTerms.riskAttributes)?e.financeTerms.riskAttributes.hasRiskIndicator:null,this.program=e.financeTerms.program,{leadSubmissionId:e.leadSubmissionId})),(0,E.g)("leadSubmissionId")).subscribe(()=>{Promise.all([this._optimizelyFullStackService.activateFeature(this.featureKey1A),this._optimizelyFullStackService.activateFeature(this.featureKey1B)]).then(()=>{this.isFeatureActivated.next(!0)})});let h=(0,A.aj)(this._store.select(v.LW.getFeature(this.featureKey1A)),c,this.isFeatureActivated,p).pipe((0,m.h)(([e,t,n,i])=>{const a=d.cmp.isDefinedAndNotNull(e)&&d.cmp.isDefinedAndNotNull(e.featureTest)&&d.cmp.isDefinedAndNotNull(e.variables)&&d.cmp.isDefinedAndNotNull(e.variables.IsPlaidEligible),o=d.cmp.isDefinedAndNotNull(e)&&e.isUserInAudience,s=d.cmp.isDefinedAndNotNull(t)&&d.cmp.isDefinedAndNotNull(t.leadSubmissionId)&&d.cmp.isDefinedAndNotNull(t.financeTerms)&&d.cmp.isDefinedAndNotNull(t.financeTerms.minimumDown)&&d.cmp.isDefinedAndNotNull(t.financeTerms.leadId),l=a&&o&&s&&n&&d.cmp.isDefinedAndNotNull(i)&&!1===i;if(!l&&n){let a=this.buildUserNotInAudienceReasons(e,o,t,n,i);this._decisionTracker.logFeatureDecision(r.j.ApprovalCertificate.IsPlaidEligible1A,{value:"false",reason:"User not in audience"},[this.featureKey1A],a)}return l}),(0,g.U)(([e,t])=>(this.isFeatureActivated.next(!1),{experiment:e.featureTest.key,variation:e.featureTest.variation,isPlaidEligible:e.variables.IsPlaidEligible,leadSubmissionId:t.leadSubmissionId,leadId:t.financeTerms.leadId,minimumDown:t.financeData.requiredDown})),(0,E.g)("leadSubmissionId")),y=(0,A.aj)(this._store.select(v.LW.getFeature(this.featureKey1B)),c,this.isFeatureActivated,p).pipe((0,m.h)(([e,t,n,i])=>{const a=d.cmp.isDefinedAndNotNull(e)&&d.cmp.isDefinedAndNotNull(e.featureTest)&&d.cmp.isDefinedAndNotNull(e.variables)&&d.cmp.isDefinedAndNotNull(e.variables.IsPlaidEligible),o=d.cmp.isDefinedAndNotNull(e)&&e.isUserInAudience,s=d.cmp.isDefinedAndNotNull(t)&&d.cmp.isDefinedAndNotNull(t.leadSubmissionId)&&d.cmp.isDefinedAndNotNull(t.financeTerms)&&d.cmp.isDefinedAndNotNull(t.financeTerms.minimumDown)&&d.cmp.isDefinedAndNotNull(t.financeTerms.leadId),l=a&&o&&s&&n&&d.cmp.isDefinedAndNotNull(i)&&!1===i;if(!l&&n){let a=this.buildUserNotInAudienceReasons(e,o,t,n,i);this._decisionTracker.logFeatureDecision(r.j.ApprovalCertificate.IsPlaidEligible1B,{value:"false",reason:"User not in audience"},[this.featureKey1B],a)}return l}),(0,g.U)(([e,t])=>(this.isFeatureActivated.next(!1),{experiment:e.featureTest.key,variation:e.featureTest.variation,isPlaidEligible:e.variables.IsPlaidEligible,leadSubmissionId:t.leadSubmissionId,leadId:t.financeTerms.leadId,minimumDown:t.financeData.requiredDown})),(0,E.g)("leadSubmissionId"));h.subscribe(e=>{this.logAnalyticFor(e,this.featureKey1A),e.isPlaidEligible&&e.minimumDown>=400?(this._store.dispatch(new f.v(r.j.ApprovalCertificate.IsPlaidEligible1A,!0)),this._store.dispatch(new f.v(r.j.ApprovalCertificate.IsPlaidEmailEligible,!0)),this._decisionTracker.logFeatureDecision(r.j.ApprovalCertificate.IsPlaidEligible1A,"true",[this.featureKey1A],[{name:"plaidPromotion1AFeature",value:e}]),this._decisionTracker.logFeatureDecision(r.j.ApprovalCertificate.IsPlaidEmailEligible,"true",[this.featureKey1A],[{name:"plaidPromotion1AFeature",value:e}])):(this._store.dispatch(new f.v(r.j.ApprovalCertificate.IsPlaidEligible1A,!1)),this._store.dispatch(new f.v(r.j.ApprovalCertificate.IsPlaidEmailEligible,!1)),this._decisionTracker.logFeatureDecision(r.j.ApprovalCertificate.IsPlaidEligible1A,"false",[this.featureKey1A],[{name:"plaidPromotion1AFeature",value:e}]),this._decisionTracker.logFeatureDecision(r.j.ApprovalCertificate.IsPlaidEmailEligible,"false",[this.featureKey1A],[{name:"plaidPromotion1AFeature",value:e}])),this._store.dispatch(new i.pm(u.ZI.HasPlaidScore,null))}),y.subscribe(e=>{this.logAnalyticFor(e,this.featureKey1B),this._store.dispatch(new f.v(r.j.ApprovalCertificate.IsPlaidEligible1B,!0)),this._store.dispatch(new f.v(r.j.ApprovalCertificate.IsPlaidEmailEligible,!0)),this._decisionTracker.logFeatureDecision(r.j.ApprovalCertificate.IsPlaidEligible1B,"true",[this.featureKey1B],[{name:"plaidPromotion1AFeature",value:e}]),this._decisionTracker.logFeatureDecision(r.j.ApprovalCertificate.IsPlaidEmailEligible,"true",[this.featureKey1B],[{name:"plaidPromotion1AFeature",value:e}]),this._store.dispatch(new i.pm(u.ZI.HasPlaidScore,null))})}debounce(e){return t=>t.pipe((0,L.b)(e))}logAnalyticFor(e,t){let n={optimizely_decision_experimentId:`${t}_dtm`,optimizely_decision_experimentName:e.experiment,optimizely_decision_variationName:e.variation,leadId:e.leadId.toString(),approvalCertificateType:this.approvalCertificateType,hasRiskIndicator:this.hasRiskIndicator,program:this.program};this._analyticService.logAppInsights("optimizely_event_campaignDecided",n),this.approvalCertificateType="",this.hasRiskIndicator="",this.program=""}buildPlaidServiceNotStartedReasons(e,t,n,i,a,o,r){const s=d.cmp.isDefinedAndNotNull(e)&&d.cmp.isDefinedAndNotNull(e.financeTerms)?e.financeTerms.leadId:null;let l,c,u="";return d.cmp.isDefinedAndNotNull(e)&&(l=e.leadSubmissionId,d.cmp.isDefinedAndNotNull(e.financeTerms)&&(c=e.financeTerms.program,u=d.cmp.isDefinedAndNotNull(e.financeTerms.riskAttributes)?e.financeTerms.riskAttributes.hasRiskIndicator:null)),[{name:"leadId",value:s},{name:"approvalCertificateData",value:e},{name:"approvalEnhancementType",value:t},{name:"navRouteName",value:n},{name:"isPostGA2",value:i},{name:"dtmRegion",value:a},{name:"appCertType",value:o},{name:"hasPlaidScore",value:r},{name:"leadSubmissionId",value:l},{name:"program",value:c},{name:"hasRiskIndicator",value:u}]}buildUserNotInAudienceReasons(e,t,n,i,a){return[{name:"leadId",value:d.cmp.isDefinedAndNotNull(n)&&d.cmp.isDefinedAndNotNull(n.financeTerms)?n.financeTerms.leadId:null},{name:"plaidEmailFeature",value:e},{name:"isUserInAudience",value:t},{name:"approvalCertificateData",value:n},{name:"isFeatureActivated",value:i},{name:"hasPlaidScore",value:a}]}}R.\u0275fac=function(e){return new(e||R)(l.LFG(a.k),l.LFG(o.B),l.LFG(S.g),l.LFG(w.y))},R.\u0275prov=l.Yz7({token:R,factory:R.\u0275fac,providedIn:"root"}),(0,U.gn)([(0,I.Ph)(M.p_.currentRouteName),(0,U.w6)("design:type",T.X)],R.prototype,"navRouteName$",void 0);var F=n(54124),V=n(15257);let Z=(()=>{class e{constructor(e,t,n){this._store=e,this._optimizelyFullStackService=t,this._leadService=n,this.featureKey="151003_pif-verify-info-resubmit",this._leadService.approvalCertificateData$.pipe((0,m.h)(e=>!!e&&d.cmp.isNotEmpty(e.financeTerms))).pipe((0,m.h)(e=>d.cmp.areAllDefinedAndNotNull(e)&&d.cmp.isDefinedAndNotNull(e.leadSubmissionId)&&"true"===e.financeTerms.riskAttributes.hasRiskIndicator),(0,V.q)(1)).subscribe(()=>{this._optimizelyFullStackService.activateFeature(this.featureKey)}),this._store.select(v.LW.getFeature(this.featureKey)).pipe((0,m.h)(e=>d.cmp.isDefinedAndNotNull(e)&&e.isUserInAudience&&d.cmp.isDefinedAndNotNull(e.featureTest)&&d.cmp.isDefinedAndNotNull(e.variables)&&d.cmp.isDefinedAndNotNull(e.variables.IsUserInAudience)),(0,V.q)(1),(0,g.U)(e=>({experiment:e.featureTest.key,variation:e.featureTest.variation,isPifResubmitEnabled:e.variables.IsUserInAudience}))).subscribe(e=>{this._store.dispatch(new f.v(r.j.ApprovalCertificate.IsPifResubmitEnabled,e.isPifResubmitEnabled))})}}return e.\u0275fac=function(t){return new(t||e)(l.LFG(a.k),l.LFG(o.B),l.LFG(w.y))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var B=n(39220),G=n(75319);const q={key:r.j.GA1GA2Verbiage.FeatureKey,featureMap:{control:{display:k.B6.CONTROL},variation_1:{display:k.B6.GA_VARIATION_1},variation_2:{display:k.B6.GA_VARIATION_2}}};let H=(()=>{class e{constructor(e,t,n){this._dtmStore=e,this._optimizelyFullStackService=t,this._analyticService=n,this._subscriptions=new G.w,this._timedOut$=new T.X(!1),this._stopTimer$=new _.xQ,this._subscriptions.add(this._dtmStore.select(M.p_.currentRouteName).pipe((0,m.h)(e=>!!d.cmp.isDefinedAndNotNull(e)&&[P.x4.GetApproved1].includes(e)),(0,C.P)()).subscribe(e=>{this.handleGAVerbiageExperiment()}))}handleGAVerbiageExperiment(){this._timedOut$.next(!1),setTimeout(()=>this._timedOut$.next(!0),2e3),this._optimizelyFullStackService.activateFeature(r.j.GA1GA2Verbiage.FeatureKey),this._timedOut$.pipe((0,m.h)(e=>!!e),(0,b.R)(this._stopTimer$),(0,V.q)(1)).subscribe(()=>{this._dtmStore.dispatch(new f.v(r.j.GA1GA2Verbiage.ShowGa1Ga2Verbiage,!1))}),this._dtmStore.select(v.LW.getFeature(r.j.GA1GA2Verbiage.FeatureKey)).pipe((0,m.h)(e=>d.cmp.isDefinedAndNotNull(e)),(0,C.P)(),(0,g.U)(e=>e.isUserInAudience)).subscribe(e=>{this._stopTimer$.next(),this._dtmStore.dispatch(new f.v(r.j.GA1GA2Verbiage.ShowGa1Ga2Verbiage,!0===e))}),this._dtmStore.select(v.LW.getFeature(r.j.GA1GA2Verbiage.FeatureKey)).pipe((0,m.h)(e=>d.cmp.isDefinedAndNotNull(e)&&d.cmp.isDefinedAndNotNull(e.featureTest)),(0,C.P)()).subscribe(e=>{this.logAnalyticFor(e.featureTest.key,e.featureTest.variation),this._dtmStore.dispatch(new f.v(r.j.GA1GA2Verbiage.VerbiageStyle,q.featureMap[e.featureTest.variation].display))})}logAnalyticFor(e,t){let n={optimizely_decision_experimentId:`${r.j.GA1GA2Verbiage.FeatureKey}_dtm`,optimizely_decision_experimentName:e,optimizely_decision_variationName:t,optimizely_decision_variationId:t};this._analyticService.logAppInsights("optimizely_event_campaignDecided",n),this._analyticService.logFullStory("OptimizelyEvent",n)}}return e.\u0275fac=function(t){return new(t||e)(l.LFG(a.k),l.LFG(o.B),l.LFG(S.g))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Q=n(29240);let z=(()=>{class e{constructor(e,t,n,i){this._optimizelyFullStackService=e,this._store=t,this._analyticService=n,this._leadService=i,this.Feature="153244-return-user-modal";const a=this._store.leadSnapshot().lastAppCert,o=this._store.leadSnapshot().leadId;this._store.select(M.p_.currentRouteName).pipe((0,m.h)(e=>d.cmp.areAllDefinedAndNotNull(a,e)),(0,V.q)(1),(0,m.h)(e=>![P.x4.IncomeVerification,P.x4.IncomeVerificationSuccess,P.x4.IncomeVerificationClose,P.x4.LinkAccount,P.x4.LinkAccountSuccess,P.x4.LinkAccountClose,P.x4.ApplicationSurvey,P.x4.GetApproved1,P.x4.GetApproved2,P.x4.ApprovalCertificate].includes(e)&&![k.ss.PI,k.ss.PIF,k.ss.Error,k.ss.None].map(e=>k.xz.get(e)).includes(a)&&d.cmp.isDefinedAndNotNull(o)&&o>0)).subscribe(()=>(0,U.mG)(this,void 0,void 0,function*(){const e=yield this._leadService.getActiveCreditApp(o);d.cmp.isDefinedAndNotNull(e)&&e.isActive&&this._optimizelyFullStackService.activateFeature(this.Feature)})),this._store.select(s.LW.getFeature(this.Feature)).pipe((0,m.h)(e=>d.cmp.isDefinedAndNotNull(e)&&e.isUserInAudience&&d.cmp.isDefinedAndNotNull(e.featureTest)&&d.cmp.isDefinedAndNotNull(e.variables)&&d.cmp.isDefinedAndNotNull(e.variables.ShowReturnUserModal)),(0,C.P)(),(0,g.U)(e=>({experiment:e.featureTest.key,variation:e.featureTest.variation,showReturnUserModal:e.variables.ShowReturnUserModal}))).subscribe(e=>{this._store.dispatch(new f.v(r.j.Home.ShowReturnUserModal,e.showReturnUserModal)),this.logAnalyticFor(e.experiment,e.variation)})}logAnalyticFor(e,t){let n={optimizely_decision_experimentId:`${this.Feature}_dtm`,optimizely_decision_experimentName:e,optimizely_decision_variationName:t};this._analyticService.logAppInsights("optimizely_event_campaignDecided",n),this._analyticService.logFullStory("OptimizelyEvent",n)}}return e.\u0275fac=function(t){return new(t||e)(l.LFG(o.B),l.LFG(a.k),l.LFG(S.g),l.LFG(w.y))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var Y=n(93342),$=n(98085),j=n(18891),W=n(92547);const J="162707_customer-down-payment";class X{constructor(e,t,n){this._store=e,this._optimizelyFullStackService=t,this._analyticService=n,this.decisionTracker=new D.W("customer-desired-down-payment-service",this._analyticService),this._decisionReasons=[],this._decisionFinalized$=new _.xQ,this._timedOut$=new T.X(!1),this._timeout=2e3,this._store.select(W.Z8.getEvent(he)).pipe((0,m.h)(e=>[k.iq.GA1].includes(e)),(0,V.q)(1)).subscribe(()=>{this.experimentHandler()})}experimentHandler(){this._decisionReasons=[],this._timedOut$.next(!1),setTimeout(()=>this._timedOut$.next(!0),this._timeout),this._optimizelyFullStackService.activateFeature(J),(0,$.S3)(this._timedOut$.pipe((0,m.h)(e=>!!e),(0,V.q)(1),(0,g.U)(()=>null)),this.feature$.pipe((0,m.h)(e=>d.cmp.isDefinedAndNotNull(e)&&d.cmp.isDefinedAndNotNull(e.featureTest)&&d.cmp.isDefinedAndNotNull(e.variables)),(0,Y.b)(({variables:e})=>{this._decisionReasons.push({name:"optimizelyDecision",value:e,reason:"decision received"})}),(0,b.R)(this._decisionFinalized$))).pipe((0,b.R)(this._decisionFinalized$)).subscribe(e=>{if(d.cmp.isUndefinedOrNull(e))return this._decisionReasons.push({name:"optimizelyDecision",value:!1,reason:"timeout"}),this.decisionTracker.logFeatureDecision("showDesiredDownInput",!1,[J],this._decisionReasons),this.decisionTracker.logFeatureDecision("desiredDownUsedOnAppCert",!1,[J],this._decisionReasons),this._decisionFinalized$.next(),this._store.dispatch(new f.v(r.j.GetApproved.ShowDesiredDownInput,!1)),void this._store.dispatch(new f.v(r.j.GetApproved.DesiredDownUsedOnAppCert,!1));d.cmp.isDefinedAndNotNull(e)&&d.cmp.isDefinedAndNotNull(e.isUserInAudience)&&e.isUserInAudience&&d.cmp.isDefinedAndNotNull(e.variables)&&d.cmp.isDefinedAndNotNull(e.variables.showCashDownInput)&&d.cmp.isDefinedAndNotNull(e.variables.desiredDownUsedOnAppCert)?this.determineDesiredDownExperience(e):d.cmp.isDefinedAndNotNull(e)&&d.cmp.isDefinedAndNotNull(e.isUserInAudience)&&!e.isUserInAudience&&(this._decisionReasons.push({name:"audience",value:!1,reason:"not in audience"}),this.decisionTracker.logFeatureDecision("showDesiredDownInput",!1,[J],this._decisionReasons),this.decisionTracker.logFeatureDecision("desiredDownUsedOnAppCert",!1,[J],this._decisionReasons),this._decisionFinalized$.next(),this._store.dispatch(new f.v(r.j.GetApproved.ShowDesiredDownInput,!1)),this._store.dispatch(new f.v(r.j.GetApproved.DesiredDownUsedOnAppCert,!1)))})}determineDesiredDownExperience({variables:e}){const t=e.showCashDownInput;this.decisionTracker.logFeatureDecision("showDesiredDownInput",t,[J],this._decisionReasons),this._store.dispatch(new f.v(r.j.GetApproved.ShowDesiredDownInput,t)),this._decisionReasons.find(e=>"timeout"!==e.reason)&&this._decisionFinalized$.next();const n=e.desiredDownUsedOnAppCert;this.decisionTracker.logFeatureDecision("desiredDownUsedOnAppCert",n,[J],[{name:"optimizelyDecision",value:n,reason:"in customer down payment experiment"}]),this._store.dispatch(new f.v(r.j.GetApproved.DesiredDownUsedOnAppCert,n))}}X.\u0275fac=function(e){return new(e||X)(l.LFG(a.k),l.LFG(o.B),l.LFG(S.g))},X.\u0275prov=l.Yz7({token:X,factory:X.\u0275fac,providedIn:"root"}),(0,U.gn)([(0,I.Ph)(s.LW.getFeature(J)),(0,U.w6)("design:type",j.y)],X.prototype,"feature$",void 0);var K=n(69451),ee=n(31547);class te{constructor(e,t,n,i,a){this._store=e,this._optimizelyService=t,this._analyticService=n,this._leadService=i,this._appStateService=a,this._cdpFeatureKey="162707_customer-down-payment",this._ciFeatureKey=r.j.VSRCustomerInputs.FeatureKey,this._ciExperimentKey="163880_customer-inputs-on-vsr_test",this._variation1=r.j.Variations.Variation1,this._variation2="variation_2",this._enableVsrToolbar="enable-vsr-toolbar",this._enableVdpAdjustSliderDown="enable-vdp-adjust-slider-down",this._enableVsrIncomeAdjustment="enable-vsr-income-adjustment",this._decisionTracker=new D.W("vsr-customer-input-feature-service",this._analyticService),this._decisionReasons=[],this._optimizelyService.isOptimizelyEnabled()&&this._init()}_init(){me.mapToInternalFeature(this._store,{featureKey:this._ciFeatureKey,variableKey:this._enableVsrToolbar},r.j.VSRCustomerInputs.EnableVsrToolbar),me.mapToInternalFeature(this._store,{featureKey:this._ciFeatureKey,variableKey:this._enableVdpAdjustSliderDown},r.j.VSRCustomerInputs.EnableVdpAdjustSliderDown),me.mapToInternalFeature(this._store,{featureKey:this._ciFeatureKey,variableKey:this._enableVsrIncomeAdjustment},r.j.VSRCustomerInputs.EnableVsrIncomeAdjustment),this._leadService.approvalCertificateData$.pipe((0,m.h)(d.cmp.isDefinedAndNotNull)).subscribe(()=>{this._shouldReEvaluate=!0}),this._currentRouteName$.pipe((0,m.h)(e=>e===P.x4.VehicleSearchResults||e===P.x4.VehicleDetails)).subscribe(()=>(0,U.mG)(this,void 0,void 0,function*(){d.cmp.isNotEmpty(this._appStateService.optimizelyTestingId)&&(this._shouldReEvaluate=!0),yield this._assignExperiment()}))}_assignExperiment(){return(0,U.mG)(this,void 0,void 0,function*(){if(!this._shouldReEvaluate)return;d.cmp.isDefinedAndNotNull(this._optimizelyService.getForcedVariation(this._ciExperimentKey))&&(yield this._optimizelyService.clearForceVariation(this._ciExperimentKey)),yield this._optimizelyService.activateFeatureAndSetVariationsInStore(this._ciFeatureKey,this._ciExperimentKey),this._decisionReasons=[],this._decisionReasons.push({name:"Re-evaluation",value:{newGA2:!0},reason:"Re-evaluating the feature since a new GA2 submission has occured"});const e=this._optimizelyService.getFeatureVariation(this._ciFeatureKey);d.cmp.isDefinedAndNotNull(e)&&(yield this._checkCashDownPaymentExperiment()),this._shouldReEvaluate=!1})}_checkCashDownPaymentExperiment(){return(0,U.mG)(this,void 0,void 0,function*(){const e=this._optimizelyService.getFeatureVariation(this._cdpFeatureKey),t=d.cmp.isDefinedAndNotNull(e)&&(e===this._variation1||e===this._variation2);t?(yield this._optimizelyService.setForcedVariation(this._ciExperimentKey,this._variation1),yield this._optimizelyService.activateFeatureAndSetVariationsInStore(this._ciFeatureKey,this._ciExperimentKey),this._decisionReasons.push({name:"Set forced variation",value:{cdpVariation:e},reason:"Forced CI into variation 1 since CDP is in "+e})):this._decisionReasons.push({name:"Optimizely decision",value:{cdpVariation:e},reason:"Optimizely decides the user variation since CDP is in "+e}),this._logDecision("SetForcedVariation",t)})}_logDecision(e,t){0!==this._decisionReasons.length&&this._decisionTracker.logFeatureDecision(e,t,[this._ciFeatureKey,this._cdpFeatureKey],this._decisionReasons)}}te.\u0275fac=function(e){return new(e||te)(l.LFG(a.k),l.LFG(o.B),l.LFG(S.g),l.LFG(w.y),l.LFG(ee.Z))},te.\u0275prov=l.Yz7({token:te,factory:te.\u0275fac,providedIn:"root"}),(0,U.gn)([(0,I.Ph)(M.p_.currentRouteName),(0,U.w6)("design:type",T.X)],te.prototype,"_currentRouteName$",void 0);var ne=n(67041),ie=n(17801);let ae=(()=>{class e{constructor(e,t,n,i,a){this._store=e,this._appStateService=t,this._analyticService=n,this._appConfigService=i,this._oneTrustService=a,this._decisionTracker=new D.W("PrivacyPreferencesService",this._analyticService),!this._appConfigService.isServerPrerender&&this._appStateService.clientEnvVars$.pipe((0,m.h)(e=>d.cmp.isDefinedAndNotNull(e)&&d.cmp.isDefinedAndNotNull(e.privacyPreferences)),(0,V.q)(1)).subscribe(e=>{this._fireLoadAnalytics(),this._handleConfig(e)})}_fireLoadAnalytics(){const e=window.dt.api.privacyPreferences.getCurrentState();this._analyticService.logTraceInfo("Current Privacy Preference State",{currentState:JSON.stringify(e.state),version:e.version,scriptRegistry:JSON.stringify(e.scriptRegistry)});const t=document.querySelector('script[src*="googletagmanager.com/gtm.js"]');this._analyticService.logTraceInfo("GTM Load",{hasLoaded:d.cmp.isDefinedAndNotNull(t).toString()})}_handleConfig(e){return(0,U.mG)(this,void 0,void 0,function*(){if(this.config=e,e.privacyPreferences.enabled)return this.geoLocationData=yield this._oneTrustService.getLocation(),void this._handleGeoLocationData(this.geoLocationData.state,e.privacyPreferences.allowedStates);this._store.dispatch(new f.v(r.j.Global.DisplayPrivacyPreferences,!1)),this._decisionTracker.logFeatureDecision(r.j.Global.DisplayPrivacyPreferences,!1,[],[{name:"PrivacyPreferencesFlag",value:!1,reason:"Privacy preferences feature is off"}])})}_handleGeoLocationData(e,t){return(0,U.mG)(this,void 0,void 0,function*(){if(d.cmp.isDefinedAndNotNull(t)&&d.cmp.isDefinedAndNotNull(t.find(t=>t.toLowerCase()===e.toLowerCase()))){const e=yield this._oneTrustService.loadOneTrustScript();this._completeSetup(e)}else this._store.dispatch(new f.v(r.j.Global.DisplayPrivacyPreferences,!1)),this._decisionTracker.logFeatureDecision(r.j.Global.DisplayPrivacyPreferences,!1,[],[{name:"PrivacyPreferencesFlag",value:!0,reason:"Privacy preferences feature is on"},{name:"PrivacyPreferencesAllowedStates",value:t,reason:"Eligible states for Privacy preferences"},{name:"UserLocation",value:e,reason:`User location ${e} not included in ${t}`}])})}_completeSetup(e){const t=this._appStateService.clientEnvVars$.getValue().privacyPreferences,n=this.geoLocationData.state;this._store.dispatch(new f.v(r.j.Global.DisplayPrivacyPreferences,e)),this._decisionTracker.logFeatureDecision(r.j.Global.DisplayPrivacyPreferences,e,[],[{name:"PrivacyPreferencesFlag",value:!0,reason:"Privacy preferences feature is on"},{name:"PrivacyPreferencesAllowedStates",value:t.allowedStates,reason:"Eligible states for Privacy preferences"},{name:"UserLocation",value:n,reason:`User location ${n} included in ${t.allowedStates}`},{name:"OneTrustLoaded",value:e,reason:"OneTrust required to show footer link"}])}}return e.\u0275fac=function(t){return new(t||e)(l.LFG(a.k),l.LFG(ee.Z),l.LFG(S.g),l.LFG(ne._),l.LFG(ie.D))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();var oe=n(59328),re=n(65792),se=n(22479),le=n(18656);const ce="172583_vsr-view",de="172583_vsr-view_test";class ue{constructor(e,t,n,i,a,o){this._store=e,this._optimizelyFullStackService=t,this._analyticService=n,this._vsrViewService=i,this._leadService=a,this._appConfig=o,this._decisionTracker=new D.W("vsr-grid-list-service",this._analyticService),this._decisionReasons=[],this._experimentProcessing=!1,this._decisionFinalized$=new _.xQ,this._timedOut$=new T.X(!1),this._isReallocated=!1,this._previousVariation=null;const r=this._leadService.approvalCertificateData$.pipe((0,m.h)(e=>!!e&&d.cmp.isNotEmpty(e.financeTerms))),l=this._store.select(s.LW.getAttribute("is-app-user")),c=this._store.select(s.LW.getAttribute("is-desktop")),u=this._store.select(s.LW.getAttribute("app-cert-type")),p=this._store.select(s.LW.getAttribute("has-cri")),h=(0,A.aj)([r,this.navRouteName$,l,c]).pipe((0,oe.G)(),(0,m.h)(([e,t])=>e[1]!==t[1]),(0,g.U)(([e,t])=>t),(0,m.h)(([e,t,n,i])=>{const a=this._vsrViewService.isUserAlreadyBucketed(),o=d.cmp.areAllDefinedAndNotNull(e,t,n,i)&&!1===n&&!1===i&&!a&&("sale"===e.financeTerms.program.toLowerCase()||"upgrade"===e.financeTerms.program.toLowerCase())&&d.cmp.isDefinedAndNotNull(e.financeTerms.riskAttributes)&&"true"!==e.financeTerms.riskAttributes.hasRiskIndicator&&[P.x4.VehicleSearchResults].includes(t);if(!o&&[P.x4.VehicleSearchResults].includes(t)){const o=this._buildVSRGridListViewServiceNotStartedReasons(t,e,n,i,a);this._decisionTracker.logFeatureDecision("enableVSRView",{value:"false",reason:"Optimizely Service not initiated"},[ce],o)}return o}),(0,b.R)(this._decisionFinalized$),(0,C.P)());(0,A.aj)([this.HasReceivedEligibleCert$,this.navRouteName$,l,c,u,p]).pipe((0,oe.G)(),(0,m.h)(([e,t])=>e[1]!==t[1]),(0,g.U)(([e,t])=>t)).subscribe(([e,t,n,i,a,o])=>{if([P.x4.VehicleSearchResults].includes(t)&&this._appConfig.enabledExperiments.includes(de)){const t=e&&!1===n&&!1===i,r=this._vsrViewService.isUserAlreadyBucketed(),s={HasReceivedEligibleCert:e,isAppUser:n,isDesktopUser:i,appCertType:a,isAlreadyBucketed:r,hasCri:o};t&&r?this._logVSRViewBucketingValues("User is eligible for experience and will see prebucketed experience",s):!t||r||this._isReallocated?t&&this._isReallocated?this._logVSRViewBucketingValues("User was kicked out of previously bucketed variation due to traffic reallocation and will be rebucketed",Object.assign(Object.assign({},s),{previousVariation:this._previousVariation})):this._logVSRViewBucketingValues("User is ineligible for experience and will see control variation",s):this._logVSRViewBucketingValues("User is eligible for experience and will be bucketed for the first time",s)}});const f=this._vsrViewService.getVSRViewVariant(),y=()=>{h.subscribe(()=>{this.experimentHandler()})};d.cmp.isUndefinedOrNull(f)&&y(),(0,A.aj)([this.controlEnabled$,this.gridViewEnabled$,this.listViewEnabled$]).pipe((0,m.h)(([e,t,n])=>d.cmp.areAllDefinedAndNotNull(e,t,n)),(0,re.g)(5e3),(0,C.P)()).subscribe(([e,t,n])=>{this._appConfig.enabledExperiments.includes(de)?!e&&f===se.mX.Control_VSR_View||!t&&f===se.mX.Grid_VSR_View_2||!n&&f===se.mX.List_VSR_View_1?(this._isReallocated=!0,this._previousVariation=f,this._logVSRViewBucketing("User is kicked out of the current bucketed variation due to traffic reallocation and will be re-bucketed when the eligibility criteria are met"),this._vsrViewService.updateVSRViewVariables(null,null),y()):d.cmp.isUndefinedOrNull(f)?this._logVSRViewBucketing("User will continue to see prebucketed variation when the eligibility criteria are met"):this._logVSRViewBucketing("User will be bucketed for the first time when the eligibility criteria are met"):this._vsrViewService.updateVSRViewVariables(null,null)})}experimentHandler(){return(0,U.mG)(this,void 0,void 0,function*(){this._experimentProcessing||(this._decisionReasons=[],this._experimentProcessing=!0,this._timedOut$.next(!1),setTimeout(()=>this._timedOut$.next(!0),2e3),this._optimizelyFullStackService.activateFeature(ce),this.feature$.pipe((0,m.h)(d.cmp.isNotEmpty),(0,V.q)(1)).subscribe(e=>{e.isUserInAudience?this.handleApprovalPath():(this._decisionReasons.push({name:"audience",value:!1,reason:"not in audience"}),this._decisionTracker.logFeatureDecision("enableVSRView",!1,[ce],this._decisionReasons),this._decisionFinalized$.next(),this._experimentProcessing=!1)}))})}handleApprovalPath(){(0,$.S3)(this._timedOut$.pipe((0,m.h)(e=>!!e),(0,V.q)(1),(0,g.U)(()=>(this._decisionReasons.push({name:"optimizelyDecision",value:!1,reason:"timeout"}),!1))),this.enableVSRView$.pipe((0,m.h)(d.cmp.isDefinedAndNotNull),(0,V.q)(1),(0,Y.b)(e=>this._decisionReasons.push({name:"optimizelyDecision",value:e,reason:"decision received"})))).subscribe(e=>{this._decisionTracker.logFeatureDecision("enableVSRView",e,[ce],this._decisionReasons),this._decisionReasons.find(e=>"timeout"!==e.reason)&&this._decisionFinalized$.next(),this._experimentProcessing=!1,this.handleVSRViewVariant()})}handleVSRViewVariant(){this.vsrView$.pipe((0,m.h)(d.cmp.isDefinedAndNotNull),(0,V.q)(1)).subscribe(e=>{this._decisionTracker.logFeatureDecision("enableVSRView",e,[ce],[{name:"optimizelyDecision",value:e,reason:"in vsr-grid-list-view experiment"}]),d.cmp.isNotEmpty(e)&&e!==se.C2.CONTROL?(this._store.dispatch(new f.v(r.j.VSRGridListView.EnableVSRView,!0)),this._vsrViewService.updateVSRViewVariables(!0,`${e}`)):(this._store.dispatch(new f.v(r.j.VSRGridListView.EnableVSRView,!1)),this._vsrViewService.updateVSRViewVariables(!1,`${e}`))})}_logVSRViewBucketingValues(e,t){const n=Object.assign(Object.assign({},t),{activity:e,variation:this._vsrViewService.getVSRViewVariant(),isEnableVSRView:this._vsrViewService.isEnableVSRView(),analyticsUserId:this._analyticService.analyticsUserId});this._analyticService.logAppInsights("vsr_view_bucketing_decision",n)}_logVSRViewBucketing(e){const t={activity:e,variation:this._vsrViewService.getVSRViewVariant(),isEnableVSRView:this._vsrViewService.isEnableVSRView(),analyticsUserId:this._analyticService.analyticsUserId};this._analyticService.logAppInsights("vsr_view_bucketing",t)}_buildVSRGridListViewServiceNotStartedReasons(e,t,n,i,a){const o=d.cmp.isDefinedAndNotNull(t)&&d.cmp.isDefinedAndNotNull(t.financeTerms)?t.financeTerms.leadId:null;let r,s,l="";return d.cmp.isDefinedAndNotNull(t)&&(r=t.leadSubmissionId,d.cmp.isDefinedAndNotNull(t.financeTerms)&&(s=t.financeTerms.program,l=d.cmp.isDefinedAndNotNull(t.financeTerms.riskAttributes)?t.financeTerms.riskAttributes.hasRiskIndicator:null)),[{name:"leadId",value:o},{name:"approvalCertificateData",value:t},{name:"navRouteName",value:e},{name:"leadSubmissionId",value:r},{name:"program",value:s},{name:"hasRiskIndicator",value:l},{name:"isAppUser",value:n},{name:"isDesktopUser",value:i},{name:"isAlreadyBucketed",value:a}]}}ue.\u0275fac=function(e){return new(e||ue)(l.LFG(a.k),l.LFG(o.B),l.LFG(S.g),l.LFG(le.l),l.LFG(w.y),l.LFG(ne._))},ue.\u0275prov=l.Yz7({token:ue,factory:ue.\u0275fac,providedIn:"root"}),(0,U.gn)([(0,I.Ph)(s.LW.getVariableValue(ce,"enableVSRView")),(0,U.w6)("design:type",j.y)],ue.prototype,"enableVSRView$",void 0),(0,U.gn)([(0,I.Ph)(s.LW.getVariableValue(ce,"vsrView")),(0,U.w6)("design:type",j.y)],ue.prototype,"vsrView$",void 0),(0,U.gn)([(0,I.Ph)(s.LW.getFeature(ce)),(0,U.w6)("design:type",j.y)],ue.prototype,"feature$",void 0),(0,U.gn)([(0,I.Ph)(M.p_.currentRouteName),(0,U.w6)("design:type",T.X)],ue.prototype,"navRouteName$",void 0),(0,U.gn)([(0,I.Ph)(W.Z8.get(r.j.VSRGridListView.HasReceivedEligibleCert)),(0,U.w6)("design:type",T.X)],ue.prototype,"HasReceivedEligibleCert$",void 0),(0,U.gn)([(0,I.Ph)(s.LW.getVariableValue(u.rd.Id,u.rd.ControlEnabled)),(0,U.w6)("design:type",_.xQ)],ue.prototype,"controlEnabled$",void 0),(0,U.gn)([(0,I.Ph)(s.LW.getVariableValue(u.rd.Id,u.rd.GridViewEnabled)),(0,U.w6)("design:type",_.xQ)],ue.prototype,"gridViewEnabled$",void 0),(0,U.gn)([(0,I.Ph)(s.LW.getVariableValue(u.rd.Id,u.rd.ListViewEnabled)),(0,U.w6)("design:type",_.xQ)],ue.prototype,"listViewEnabled$",void 0);var pe=n(83175);const he="itemCreated";let me=(()=>{class e{constructor(e,t,n,i,a,o,r,s,l,c,d,u,p,h,m,g,f,y,_){this.homeHero=e,this.featureAttributeService=t,this.saveCarsGarageService=n,this.approvalEnhancementService=i,this.priceReductionService=a,this.coBuyerIncomeService=o,this.plaidPromotionExperimentService=r,this.accutradeFeatureService=s,this.pifResubmitExperimentService=l,this.gaCombinedDisclaimersService=c,this.gaVerbiageService=d,this.tradeInFeatureService=u,this.returnUserModalService=p,this.customerDesiredDownPaymentService=h,this.chatFeatureService=m,this.privacyPreferencesService=g,this.vsrCustomerInputsFeatureService=f,this.vsrGridListViewService=y,this.segmentFeatureService=_}static mapFeature(e,t,n,a){e.dispatch(new i.HT(n.featureKey)),e.dispatch(new i.lH(n.featureKey,!0)),e.select(s.LW.getVariableValue(t.featureKey,t.variableKey)).subscribe(t=>{t=a?a(t):t,e.dispatch(new i.MI(n.featureKey,n.variableKey,t))})}static mapToInternalFeature(e,t,n,i){e.select(s.LW.getVariableValue(t.featureKey,t.variableKey)).subscribe(t=>{t=i?i(t):t,e.dispatch(new f.v(n,t))})}static setItemCreated(e,t){e.dispatch(new f._(he,t))}}return e.\u0275fac=function(t){return new(t||e)(l.LFG(c),l.LFG(h),l.LFG(y),l.LFG(O),l.LFG(x),l.LFG(N),l.LFG(R),l.LFG(F.c),l.LFG(Z),l.LFG(B.U),l.LFG(H),l.LFG(Q.V),l.LFG(z),l.LFG(X),l.LFG(K.O),l.LFG(ae),l.LFG(te),l.LFG(ue),l.LFG(pe.Q))},e.\u0275prov=l.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},54124:function(e,t,n){"use strict";n.d(t,{c:function(){return h}});var i=n(97582),a=n(30277),o=n(69958),r=n(96645),s=n(17315),l=n(68334),c=n(28645),d=n(67182),u=n(92547),p=n(37716);class h{constructor(e,t){this._dtmStore=e,this._optimizelyFullStackService=t,this.mapFeatures(),this._optimizelyFullStackService.activateFeature(s.Fu.AccutradeFeature.Id)}static getAccutradeEligibleDealershipList(e){return e}mapFeatures(){l.U.mapToInternalFeature(this._dtmStore,{featureKey:s.Fu.AccutradeFeature.Id,variableKey:s.Fu.AccutradeFeature.AccutradeEligibleList},r.j.TradeIn.AccutradeEligibleList,d.sh)}}h.\u0275fac=function(e){return new(e||h)(p.LFG(a.k),p.LFG(o.B))},h.\u0275prov=p.Yz7({token:h,factory:h.\u0275fac,providedIn:"root"}),(0,i.gn)([(0,c.Qf)([u.Z8.get(r.j.TradeIn.AccutradeEligibleList)]),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Array]),(0,i.w6)("design:returntype",Array)],h,"getAccutradeEligibleDealershipList",null)},69451:function(e,t,n){"use strict";n.d(t,{O:function(){return y}});var i=n(97582),a=n(28645),o=n(96645),r=n(30277),s=n(92547),l=n(4398),c=n(46782),d=n(43190),u=n(79765),p=n(9112),h=n(26215),m=n(25179),g=n(15892),f=n(37716);class y{constructor(e,t){this._store=e,this._chatService=t,this._featureUnsubscribe=new u.xQ,this._store.select(l.p_.currentRouteName).pipe((0,c.R)(this._featureUnsubscribe),(0,d.w)(()=>(0,p.aj)(this._navRouteName$,this._chatService.validateChatLink(),this._store.select(y.HaveStartedChat)))).subscribe(([e,t,n])=>{let i=this._chatService.shouldShowChatBubble(t,e,n);this._store.dispatch(new g.v(o.j.Chat.ShowChatBubble,i))})}static ShowChatBubble(e){return e}static HaveStartedChat(e){return e}}y.\u0275fac=function(e){return new(e||y)(f.LFG(r.k),f.LFG(m.a))},y.\u0275prov=f.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),(0,i.gn)([(0,a.Ph)(l.p_.currentRouteName),(0,i.w6)("design:type",h.X)],y.prototype,"_navRouteName$",void 0),(0,i.gn)([(0,a.Qf)([s.Z8.get(o.j.Chat.ShowChatBubble)]),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Boolean]),(0,i.w6)("design:returntype",Boolean)],y,"ShowChatBubble",null),(0,i.gn)([(0,a.Qf)([s.Z8.get(o.j.Chat.HaveStartedChat)]),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Boolean]),(0,i.w6)("design:returntype",Boolean)],y,"HaveStartedChat",null)},39220:function(e,t,n){"use strict";n.d(t,{a:function(){return P},U:function(){return O}});var i=n(97582),a=n(69958),o=n(4398),r=n(80352),s=n(30277),l=n(45435),c=n(46782),d=n(15257),u=n(88002),p=n(93342),h=n(96645),m=n(28645),g=n(79765),f=n(26215),y=n(98085),_=n(18891),A=n(40466),v=n(9825),b=n(70764),C=n(20483),w=n(15892),S=n(899),k=n(37716);const M="151005-combine-all-disclaimers-into-one-on-ga";var P=(()=>{return(e=P||(P={})).OPTIONAL_SCROLL="optional_scroll",e.FORCED_SCROLL="forced_scroll",P;var e})();class O{constructor(e,t,n,i){this._store=e,this._optimizelyFullStackService=t,this._analyticService=n,this._leadService=i,this._decisonTracker=new v.W("ga-combined-disclaimers-service",this._analyticService),this._decisionReasons=[],this._experimentProcessing=!1,this._decisionFinalized$=new g.xQ,this._timedOut$=new f.X(!1),this._store.select(o.p_.currentRouteName).pipe((0,l.h)(e=>e===r.x4.GetApproved1),(0,c.R)(this._decisionFinalized$)).subscribe(()=>{this.experimentHandler()})}experimentHandler(){this._experimentProcessing||(this._decisionReasons=[],this._experimentProcessing=!0,this._timedOut$.next(!1),setTimeout(()=>this._timedOut$.next(!0),2e3),this._optimizelyFullStackService.activateFeature(M),this.feature$.pipe((0,l.h)(C.cmp.isNotEmpty),(0,d.q)(1)).subscribe(e=>{e.isUserInAudience?this.determineDisclaimer():(this._decisionReasons.push({name:"audience",value:!1,reason:"not in audience"}),this._decisonTracker.logFeatureDecision("showCombinedDisclaimers",!1,[M],this._decisionReasons),this._decisionFinalized$.next(),this._store.dispatch(new w.v(h.j.GetApproved.ShowCombinedDisclaimers,!1)),this._experimentProcessing=!1)}))}determineDisclaimer(){(0,y.S3)(this._timedOut$.pipe((0,l.h)(e=>!!e),(0,d.q)(1),(0,u.U)(()=>(this._decisionReasons.push({name:"optimizelyDecision",value:!1,reason:"timeout"}),!1))),this.showCombinedDisclaimers$.pipe((0,l.h)(C.cmp.isDefinedAndNotNull),(0,d.q)(1),(0,p.b)(e=>this._decisionReasons.push({name:"optimizelyDecision",value:e,reason:"decision received"})))).subscribe(e=>{this._decisonTracker.logFeatureDecision("showCombinedDisclaimers",e,[M],this._decisionReasons),this._store.dispatch(new w.v(h.j.GetApproved.ShowCombinedDisclaimers,e)),this._decisionReasons.find(e=>"timeout"!==e.reason)&&this._decisionFinalized$.next(),e&&this.handleScrollType(),this._experimentProcessing=!1})}handleScrollType(){this.scrollType$.pipe((0,l.h)(C.cmp.isDefinedAndNotNull),(0,d.q)(1)).subscribe(e=>{this._decisonTracker.logFeatureDecision("scrollType",e,[M],[{name:"optimizelyDecision",value:e,reason:"in combined disclaimer experiment"}]),this._store.dispatch(new w.v(h.j.GetApproved.ScrollType,e))})}}O.\u0275fac=function(e){return new(e||O)(k.LFG(s.k),k.LFG(a.B),k.LFG(b.g),k.LFG(S.y))},O.\u0275prov=k.Yz7({token:O,factory:O.\u0275fac,providedIn:"root"}),(0,i.gn)([(0,m.Ph)(A.LW.getVariableValue(M,"showCombinedDisclaimers")),(0,i.w6)("design:type",_.y)],O.prototype,"showCombinedDisclaimers$",void 0),(0,i.gn)([(0,m.Ph)(A.LW.getVariableValue(M,"scrollType")),(0,i.w6)("design:type",_.y)],O.prototype,"scrollType$",void 0),(0,i.gn)([(0,m.Ph)(A.LW.getFeature(M)),(0,i.w6)("design:type",_.y)],O.prototype,"feature$",void 0)},83175:function(e,t,n){"use strict";n.d(t,{Q:function(){return p}});var i=n(15892),a=n(30277),o=n(96645),r=n(69958),s=n(40466),l=n(20483),c=n(45435),d=n(88002),u=n(37716);let p=(()=>{class e{constructor(t,n){this._store=t,this._optimizelyFullStackService=n,this.Feature="218382_segment-sdk",this.initialize(),this._store.select(s.LW.getFeature(this.Feature)).pipe((0,c.h)(e=>l.cmp.isDefinedAndNotNull(e)),(0,d.U)(t=>t.isUserInAudience?e.SegmentAllFeatures:e.SegmentControl)).subscribe(e=>{this.dispatchConfiguration(e)})}initialize(){this._optimizelyFullStackService.activateFeature(this.Feature)}dispatchConfiguration(e){this._store.dispatch(new i.v(o.j.Home.SegmentSdk,e))}}return e.SegmentControl={experiment:"",variation:"segmentControl",queueEventsForBackfill:!1,trackEnabled:!1,pageEnabled:!1,ga1IdentifyEnabled:!1,ga2IdentifyEnabled:!1},e.SegmentGa2Only={experiment:"",variation:"segmentGa2Only",queueEventsForBackfill:!1,trackEnabled:!1,pageEnabled:!1,ga1IdentifyEnabled:!1,ga2IdentifyEnabled:!0},e.SegmentGa2WithBackfill={experiment:"",variation:"segmentGa2WithBackfill",queueEventsForBackfill:!0,trackEnabled:!1,pageEnabled:!1,ga1IdentifyEnabled:!1,ga2IdentifyEnabled:!0},e.SegmentAllFeatures={experiment:"",variation:"segmentAllFeatures",queueEventsForBackfill:!0,trackEnabled:!0,pageEnabled:!0,ga1IdentifyEnabled:!0,ga2IdentifyEnabled:!0},e.\u0275fac=function(t){return new(t||e)(u.LFG(a.k),u.LFG(r.B))},e.\u0275prov=u.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},29240:function(e,t,n){"use strict";n.d(t,{V:function(){return C}});var i=n(97582),a=n(28645),o=n(96645),r=n(30277),s=n(69958),l=n(68334),c=n(92547),d=n(4398),u=n(45435),p=n(88002),h=n(15257),m=n(80352),g=n(43190),f=n(70764),y=n(20483),_=n(9112),A=n(40466),v=n(89752),b=n(37716);class C{constructor(e,t,n){this._store=e,this._optimizelyFullStackService=t,this._analyticService=n,this._featureKey="140468_add-trade-in-value",l.U.mapToInternalFeature(this._store,{featureKey:this._featureKey,variableKey:"enable-trade-in"},o.j.TradeInModal.EnableTradeInModal);const i=this._store.select(d.p_.currentRouteName).pipe((0,u.h)(e=>[m.x4.VehicleSearchResults,m.x4.VehicleDetails].includes(e)));i.subscribe(()=>{this._optimizelyFullStackService.activateFeature(this._featureKey)}),i.pipe((0,g.w)(e=>(0,_.aj)(this._store.select(e=>e.app.lead.userTermsApprovalStatus).pipe((0,u.h)(e=>e===v.uD.HasApproval),(0,p.U)(()=>e===m.x4.VehicleDetails?"VDP":"VSR")),this._store.select(c.Z8.get(o.j.TradeInModal.EnableTradeInModal)),this._store.select(A.FT.leadId))),(0,u.h)(e=>y.cmp.areAllDefinedAndNotNull(...e)),(0,h.q)(1)).subscribe(([e,t,n])=>{this._analyticService.logAnalytic({experimentMetric:!0,category:"TradeIn",label:"Bucketing",action:"display",value:[`LeadID: ${n}`,`Page Bucketed On: ${e}`,"Variation: "+(t?"Variation 1":"Control")].join(" | ")})})}static TradeInModalFeatureValue(e){return{enableTradeInModal:e}}getFeatureValue(){return this._store.select(C.TradeInModalFeatureValue)}}C.\u0275fac=function(e){return new(e||C)(b.LFG(r.k),b.LFG(s.B),b.LFG(f.g))},C.\u0275prov=b.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"}),(0,i.gn)([(0,a.Qf)([c.Z8.get(o.j.TradeInModal.EnableTradeInModal)]),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Boolean]),(0,i.w6)("design:returntype",Object)],C,"TradeInModalFeatureValue",null)},49889:function(e,t,n){"use strict";n.d(t,{_:function(){return I}});var i=n(97582),a=n(45435),o=n(88002),r=n(87519),s=n(54395),l=n(39761),c=n(26215),d=n(79765),u=n(75319),p=n(9112),h=n(66682),m=n(18891),g=n(20483),f=n(28645),y=(()=>{return(e=y||(y={})).NONE="none",e.ERROR="error",e.REQUESTED="requested",e.RESPONDED="responded",e.DONE="done",y;var e})(),_=n(30277),A=n(70764),v=n(45807),b=n(20618),C=n(90367),w=n(13535),S=n(96645),k=n(89752),M=n(82856),P=n(82030),O=n(37716),U=n(2694);class I{constructor(e,t,n,i,a){this._dtmStore=e,this._linkHelper=t,this._router=n,this._analyticService=i,this._promiseService=a,this.vehicleFinancingStats$=new c.X(null),this.multiVehicleProcessingState$=new c.X(null),this.minCashDownCallStatus$=new c.X(y.NONE),this.minCashDownReceived$=new d.xQ,this.vsrFinancingReceived$=new d.xQ,this.vdpFinancingReceived$=new d.xQ,this.subscriptions=new u.w,this._lmcdAnalyticCategory="InputToolbar",this._minCashDownUpdatedAnalytic={category:this._lmcdAnalyticCategory,action:"display",label:"MinCashDownUpdated"},this._mvfInitiatedAnalytic={category:this._lmcdAnalyticCategory,label:"MinCashDownCallInitiated",value:"Fetching lowest minimum cash down"},this._mvfSuccessAnalytic={category:this._lmcdAnalyticCategory,label:"MinCashDownSuccess",value:"Fetching lowest minimum cash down success"},this._mvfFailedAnalytic={category:this._lmcdAnalyticCategory,action:"error",label:"MinCashDownFailed"},this._revertAnalytic={category:this._lmcdAnalyticCategory,action:"error",label:"RevertFinanceState",value:"Reverting Finance state to last successful state"},this._doubleFireAnalytic={category:this._lmcdAnalyticCategory,action:"error",label:"IncomeAlreadyProcessed",value:"Reverting Finance state to last successful state"},this._emptyStockNumberAnalytic={category:this._lmcdAnalyticCategory,action:"error",label:"EmptyStockNumber",value:"Stock number is empty"}}init(){try{this.feature$.pipe((0,a.h)(e=>g.cmp.isDefinedAndNotNull(e)&&g.cmp.isDefinedAndNotNull(e.featureTest)&&g.cmp.isDefinedAndNotNull(e.featureTest.variation)),(0,o.U)(e=>e.featureTest.variation),(0,r.x)((e,t)=>e===t)).subscribe(e=>{e===S.j.Variations.Variation1?(this.subscriptions=new u.w,this.setupLMCDObservables()):this.resetLMCDObservables()})}catch(e){this._analyticService.logException(e,"Cash Down service Customer Inputs feature subscribe error")}}setupLMCDObservables(){this.subscriptions.add((0,p.aj)([this.totalIncome$,this.certLeadInjectionId$,this.userTermsApprovalStatus$,this.minCashDownStockNumber$]).pipe((0,a.h)(([...e])=>g.cmp.areAllDefinedAndNotNull(...e)),(0,a.h)(([e,t,n,i])=>n===k.uD.HasApproval),(0,s.b)(500),(0,r.x)()).subscribe(([e,t,n,a])=>(0,i.mG)(this,void 0,void 0,function*(){e!==this._totalIncome&&t===this._certLeadInjectionId&&a===this._minDownStockNumber&&n===k.uD.HasApproval?this._totalIncome=e:(a>0&&a!==this._minDownStockNumber&&(this._minDownStockNumber=a),g.cmp.isNotEmpty(t)&&t!==this._certLeadInjectionId&&(this._certLeadInjectionId=t),e>0&&this._totalIncome!==e&&(this._totalIncome=e))}))),this.subscriptions.add(this.statedCashDown$.pipe((0,a.h)(g.cmp.isDefinedAndNotNull)).subscribe(e=>this._statedCashDown=e)),this.subscriptions.add(this.requiredMinCashDown$.pipe((0,a.h)(g.cmp.isDefinedAndNotNull)).subscribe(e=>this._requiredMinCashDown=e)),this.financingReceived$=(0,h.T)(this.vsrFinancingReceived$,this.vdpFinancingReceived$).pipe((0,l.O)(!1)),this.subscriptions.add((0,p.aj)([this.minCashDownReceived$,this.financingReceived$]).pipe((0,a.h)(([e,t])=>t),(0,r.x)(([e],[t])=>e===t)).subscribe(([e,t])=>{this.logMinCashDownAnalytic(e),this.vdpFinancingReceived$.next(!1),this.vsrFinancingReceived$.next(!1)}))}logMinCashDownAnalytic(e){const t=g.cmp.isDefinedAndNotNull(e)?(0,M.P0)(e,this._statedCashDown):this._statedCashDown;this._minCashDownUpdatedAnalytic=Object.assign(Object.assign({},this._minCashDownUpdatedAnalytic),{value:`Updated Min Down: ${(0,C.f)(e)} | Cash Down: ${(0,C.f)(t)}`}),this._analyticService.logAnalytic(this._minCashDownUpdatedAnalytic)}resetLMCDObservables(){this.subscriptions.unsubscribe()}revertLastSuccessfulState(){return(0,i.mG)(this,void 0,void 0,function*(){yield this._dtmStore.dispatchAsync(new v.TG),this.sendRevertAnalytic()})}sendRevertAnalytic(){this._analyticService.logAnalytic(this._revertAnalytic)}updateMinimumCashDown(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n;if(g.cmp.areEqual(this._totalIncome,e))return this._analyticService.logAnalytic(Object.assign(Object.assign({},this._doubleFireAnalytic),{value:`Income: ${e}`})),{result:!1};if(g.cmp.isUndefinedOrNull(this._minDownStockNumber))return this._analyticService.logAnalytic(this._emptyStockNumberAnalytic),{result:!1};const i={leadId:this._dtmStore.leadSnapshot().leadId,dtmAnalyticsSessionId:this._analyticService.getAnalyticsSessionId(),dtmAnalyticsUserId:this._analyticService.analyticsUserId,certLeadInjectionId:this._dtmStore.leadSnapshot().certLeadInjectionId,statedIncome:e,stockNumbers:[this._minDownStockNumber],desiredDown:0,incomeType:b.R.Stated};try{if(this._analyticService.logAnalytic(Object.assign(Object.assign({},this._mvfInitiatedAnalytic),{additionalData:i})),this.minCashDownCallStatus$.next(y.REQUESTED),n=yield this._promiseService.getMultiVehicleFinancing(i),this.minCashDownCallStatus$.next(y.RESPONDED),g.cmp.isUndefinedOrNull(n)||g.cmp.isNotEmpty(n.errors))return this._analyticService.logAnalytic(Object.assign(Object.assign({},this._mvfFailedAnalytic),{value:"Fetching Lowest minimum cash down returned empty/invalid response"})),{result:!1}}catch(o){return this.minCashDownCallStatus$.next(y.ERROR),this._analyticService.logAnalytic(Object.assign(Object.assign({},this._mvfFailedAnalytic),{value:"Fetching lowest minimum cash down failed",additionalData:{error:o}})),{result:!1}}const a=Number(n.terms[0].requiredDown);return this.minCashDownReceived$.next(a),yield this._dtmStore.dispatchAsync(new v.K2(a)),this._analyticService.logAnalytic(Object.assign(Object.assign({},this._mvfSuccessAnalytic),{additionalData:n})),a>=t&&(t=0,yield this._dtmStore.dispatchAsync(new v.W6(t)),this.onVsrPage()||(yield this._dtmStore.dispatchAsync(new v.sH(t)))),this._totalIncome=e,this.minCashDownCallStatus$.next(y.DONE),{result:!0,cashDown:t}})}onVsrPage(){return this._linkHelper.vehicleSearchPage()===this._router.url}}I.\u0275fac=function(e){return new(e||I)(O.LFG(_.k),O.LFG(w.R),O.LFG(U.F0),O.LFG(A.g),O.LFG(P.D))},I.\u0275prov=O.Yz7({token:I,factory:I.\u0275fac,providedIn:"root"}),(0,i.gn)([(0,f.Ph)(e=>e.app.financing.totalIncome),(0,i.w6)("design:type",m.y)],I.prototype,"totalIncome$",void 0),(0,i.gn)([(0,f.Ph)(e=>e.app.financing.statedCashDown),(0,i.w6)("design:type",m.y)],I.prototype,"statedCashDown$",void 0),(0,i.gn)([(0,f.Ph)(e=>e.app.financing.downPayment.requiredMinimumCashDown),(0,i.w6)("design:type",m.y)],I.prototype,"requiredMinCashDown$",void 0),(0,i.gn)([(0,f.Ph)(e=>e.app.vehicle.minCashDownStockNumber),(0,i.w6)("design:type",m.y)],I.prototype,"minCashDownStockNumber$",void 0),(0,i.gn)([(0,f.Ph)(e=>e.app.features.features[S.j.VSRCustomerInputs.FeatureKey]),(0,i.w6)("design:type",m.y)],I.prototype,"feature$",void 0),(0,i.gn)([(0,f.Ph)(e=>e.app.lead.certLeadInjectionId),(0,i.w6)("design:type",m.y)],I.prototype,"certLeadInjectionId$",void 0),(0,i.gn)([(0,f.Ph)(e=>e.app.lead.userTermsApprovalStatus),(0,i.w6)("design:type",m.y)],I.prototype,"userTermsApprovalStatus$",void 0)},24475:function(e,t,n){"use strict";n.d(t,{w:function(){return m}});var i=n(97582),a=n(88002),o=n(26215),r=n(94402),s=n(47349),l=n(93342),c=n(39075),d=n(20483),u=n(60944),p=n(37716),h=n(91841);let m=(()=>{class e{constructor(e,t){this._http=e,this._transferState=t,this.vehicleFinancingStats$=new o.X(null),this.multiVehicleProcessingState$=new o.X(null),this.getRealTimeFinancing=e=>(0,i.mG)(this,void 0,void 0,function*(){return yield this.post("/api/getrealtimefinancing",e).pipe((0,a.U)(e=>e.data)).toPromise()}),this._pendingRequests={}}getMultiVehicleFinancing(e){return(0,i.mG)(this,void 0,void 0,function*(){return yield this.post("/api/getmultivehiclefinancing",e).pipe((0,a.U)(e=>e.data)).toPromise()})}notifyIncomeChanged(e){return(0,i.mG)(this,void 0,void 0,function*(){return yield this.post("/api/incomechanged",e).pipe((0,a.U)(e=>e.data)).toPromise()})}notifyTradeInChanged(e){return(0,i.mG)(this,void 0,void 0,function*(){this.post("/api/tradeinchanged",e).pipe((0,a.U)(e=>e.data)).toPromise()})}post(e,t=null,n={},i=!0){n=(0,u.v)([{name:"dt-client-build",value:this.getBuildId()}],n);let a=(e,t,n)=>this._http.post(e,t,n);return i?this._getPostData(e,t,n,a):a(e,t,n).pipe((0,s.d)())}getBuildId(){return d.cmp.isUndefinedOrNull(window.dt)||d.cmp.isUndefinedOrNull(window.dt.env)||d.cmp.isUndefinedOrNull(window.dt.env.buildId)?"unknown":window.dt.env.buildId}_getPostData(e,t,n,i){let a=this._removeHostNameFromUrl(e)+JSON.stringify(t),o=this._resolveData(a);if(d.cmp.isDefinedAndNotNull(o))return o;let r=i(e,t,n).pipe((0,s.d)(),(0,l.b)(e=>{delete this._pendingRequests[a],this._setCache(a,e)}));return this._pendingRequests[a]=r,r}_resolveData(e){let t=this._getFromCache(e);return d.cmp.isDefinedAndNotNull(t)?(0,r.D)(Promise.resolve(t)):this._pendingRequests[e]}_removeHostNameFromUrl(e){return e.split("/").slice(3).join("/")}_setCache(e,t){let n=d.ObjectUtils.deepObjectClone(t);return d.cmp.isDefinedAndNotNull(n.buildVersion)&&(n.buildVersion="unknown"),this._transferState.set((0,c.Cb)(e),n)}_getFromCache(e){return this._transferState.get((0,c.Cb)(e),null)}}return e.\u0275fac=function(t){return new(t||e)(p.LFG(h.eN),p.LFG(c.ki))},e.\u0275prov=p.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},88586:function(e,t,n){"use strict";n.d(t,{t:function(){return y}});var i=n(97582),a=n(28645),o=n(26215),r=n(9112),s=n(79765),l=n(20618),c=n(20483),d=n(45435),u=n(30277),p=n(45807),h=n(70764),m=n(40466),g=n(96645),f=n(37716);class y{constructor(e,t){this._store=e,this._analyticService=t,this.buyerIncomeChanged=!1,this.coBuyerIncomeChanged=!1,this.incomeChanged=!1,this.incomeTypeChanged=!1,this._incomeData={},this.incomeData$=new o.X(this._incomeData),(0,r.aj)(this.leadId$,this.buyerIncome$,this.coBuyerIncome$,this.incomeType$,this.totalIncome$).pipe((0,d.h)(([...e])=>c.cmp.areAllDefinedAndNotNull(...e))).subscribe(([e,t,n,i,a])=>{this._incomeData={totalIncome:t,cobuyerIncome:n,incomeType:i},this.incomeData$.next(this._incomeData),this._totalIncome=a,this._leadId=e})}didIncomeChange(e){return this.didBuyerIncomeChange(e.totalIncome),this.didCoBuyerIncomeChange(e.cobuyerIncome),this.incomeChanged=this.buyerIncomeChanged||this.coBuyerIncomeChanged,this.incomeChanged}didBuyerIncomeChange(e){return this.buyerIncomeChanged=e>0&&!c.cmp.areEqual(this._incomeData.totalIncome,e),this.buyerIncomeChanged}didCoBuyerIncomeChange(e){return this.coBuyerIncomeChanged=e>=0&&!c.cmp.areEqual(this._incomeData.cobuyerIncome,e),this.coBuyerIncomeChanged}didTotalIncomeChange(e){return e>0&&!c.cmp.areEqual(this._totalIncome,e)}didIncomeTypeChange(e){return this.incomeTypeChanged=!c.cmp.areEqual(this._incomeData.incomeType,e),this.incomeTypeChanged}checkandRevertIncomeType(e){return this.didIncomeTypeChange(e.incomeType),!this.buyerIncomeChanged&&this.coBuyerIncomeChanged&&this.incomeTypeChanged&&(e.incomeType=this._incomeData.incomeType),e}updateBuyerIncome(e,t=l.R.Stated){return(0,i.mG)(this,void 0,void 0,function*(){return this.didBuyerIncomeChange(e)&&(yield this._store.dispatchAsync(new p.tm(e,t))),this.buyerIncomeChanged})}updateIncomeType(e=l.R.Stated){return(0,i.mG)(this,void 0,void 0,function*(){return this.didIncomeTypeChange(e)&&(yield this._store.dispatchAsync(new p.Yc(e))),this.incomeTypeChanged})}updateCoBuyerIncome(e){return(0,i.mG)(this,void 0,void 0,function*(){return this.didCoBuyerIncomeChange(e),this.coBuyerIncomeChanged&&(yield this._store.dispatchAsync(new p.TL(e))),this.coBuyerIncomeChanged})}updateTotalIncome(){return(0,i.mG)(this,void 0,void 0,function*(){return this.incomeChanged=this.buyerIncomeChanged||this.coBuyerIncomeChanged,this.incomeChanged&&(yield this._store.dispatchAsync(new p.DI)),this.incomeChanged})}createDeskITComment(){try{this._store.dispatchAsync(new p.l6(this._leadId,this._incomeData.totalIncome,this._incomeData.cobuyerIncome))}catch(e){this._analyticService.logException(e,`customer income service -> failed to create deskit comment for changed income: ${this._leadId} - ${this._incomeData}`)}}updateBuyerAndCobuyerIncome(e,t=!1){return(0,i.mG)(this,void 0,void 0,function*(){!this.didIncomeChange(e)||(e=this.checkandRevertIncomeType(e),yield this._store.dispatchAsync(new p.XX(e)),t&&this.createDeskITComment())})}updateIncome(e,t=!1){return(0,i.mG)(this,void 0,void 0,function*(){!this.didIncomeChange(e)||(e=this.checkandRevertIncomeType(e),yield this._store.dispatchAsync(new p.HO(e)),t&&this.createDeskITComment())})}resetIncomeStatus(){this.buyerIncomeChanged=!1,this.coBuyerIncomeChanged=!1,this.incomeChanged=!1}}y.\u0275fac=function(e){return new(e||y)(f.LFG(u.k),f.LFG(h.g))},y.\u0275prov=f.Yz7({token:y,factory:y.\u0275fac,providedIn:"root"}),(0,i.gn)([(0,a.Ph)(e=>e.app.financing.statedIncome),(0,i.w6)("design:type",o.X)],y.prototype,"buyerIncome$",void 0),(0,i.gn)([(0,a.Ph)(e=>e.app.financing.coBuyerIncome),(0,i.w6)("design:type",o.X)],y.prototype,"coBuyerIncome$",void 0),(0,i.gn)([(0,a.Ph)(e=>e.app.financing.incomeType),(0,i.w6)("design:type",o.X)],y.prototype,"incomeType$",void 0),(0,i.gn)([(0,a.Ph)(e=>e.app.financing.totalIncome),(0,i.w6)("design:type",o.X)],y.prototype,"totalIncome$",void 0),(0,i.gn)([(0,a.Ph)(e=>e.app.lead.leadId),(0,i.w6)("design:type",o.X)],y.prototype,"leadId$",void 0),(0,i.gn)([(0,a.Ph)(m.LW.getVariableValue(g.j.CoBuyerIncomePostApproval.ID,g.j.CoBuyerIncomePostApproval.EnableCoBuyerIncome)),(0,i.w6)("design:type",s.xQ)],y.prototype,"enableCobuyerIncome$",void 0)},68552:function(e,t,n){"use strict";n.d(t,{Q:function(){return f}});var i=n(97582),a=n(38583),o=n(67041),r=n(76917),s=n(81659),l=(()=>{return(e=l||(l={})).PROD="Prod",e.TEST="Test",e.LOCAL="Local",l;var e})(),c=n(69958),d=n(17315),u=n(40466),p=n(79765),h=n(28645),m=n(28049),g=n(37716);class f{constructor(e,t,n,i){this._rendererFactory=e,this._appConfig=t,this._document=n,this._optimizelyFullStackService=i,this._renderer=r.N.buildRenderer(this._rendererFactory,this._document),this.isFullStoryLoaded$=new p.xQ,this._appConfig.isBrowser&&this._optimizelyFullStackService.activateFeature(d.DN.Id)}init(){this._appConfig.isBrowser&&this.isFullStoryActive$.pipe((0,m.P)(e=>e)).subscribe(()=>{this._addFullstoryScript(),this.isFullStoryLoaded$.next(!0)})}identifyUniqueUser(e){"FS"in window&&window.FS.identify(e,{env:this._getEnv()})}_getEnv(){return this._appConfig.isProd?l.PROD:this._appConfig.isTestEnv?l.TEST:this._appConfig.isLocal?l.LOCAL:null}fireEvent(e,t){"FS"in window&&window.FS.event(e,t)}_addFullstoryScript(){let e=`(${s.Ox.toString()})()`;r.N.renderScript(this._renderer,this._document.head,e)}}f.\u0275fac=function(e){return new(e||f)(g.LFG(g.FYo),g.LFG(o._),g.LFG(a.K0),g.LFG(c.B))},f.\u0275prov=g.Yz7({token:f,factory:f.\u0275fac}),(0,i.gn)([(0,h.Ph)(u.LW.getVariableValue(d.DN.Id,d.DN.IsFullStoryActive)),(0,i.w6)("design:type",p.xQ)],f.prototype,"isFullStoryActive$",void 0)},899:function(e,t,n){"use strict";n.d(t,{y:function(){return q}});var i=n(97582),a=n(45435),o=n(88002),r=n(28049),s=n(15257),l=n(64010),c=n(26215),d=n(79765),u=n(13535),p=n(89234),h=n(82030),m=n(70764),g=n(26264),f=n(72349),y=n(20483),_=n(67041),A=n(19823),v=n(80352),b=n(71412),C=n(59480),w=n(30277),S=n(48531),k=n(17315),M=n(31547),P=n(45807),O=n(74549),U=n(20618),I=n(89752),N=(()=>{return(e=N||(N={})).Hard="hard",e.Soft="soft",N;var e})(),T=n(96645),D=n(15892),x=n(1850),E=n(97113),L=n(93111),R=n(53629);class F extends Error{constructor(e){super(e),this.name="PiCertError"}}var V=n(92547),Z=n(61453),B=n(37716),G=n(2694);let q=(()=>{class e{constructor(e,t,n,i,r,s,l,u,p,h,m){this._linkHelper=e,this._router=t,this._locationService=n,this._analyticService=i,this._promiseService=r,this._store=s,this._appConfig=l,this._appStateService=u,this._photoService=p,this._lendingConversionModelService=h,this._plaidService=m,this.leadData$=new c.X(null),this.priceDropLeadStatus$=new c.X(g.r.NONE),this.ga1LeadStatus$=new c.X(g.r.NONE),this.ga2LeadStatus$=new c.X(g.r.NONE),this.savLeadStatus$=new c.X(g.r.NONE),this.rmiLeadStatus$=new c.X(g.r.NONE),this.approvalCertificateData$=new c.X(void 0),this.approvalEnhancementType$=new c.X(void 0),this.minimumDown$=new c.X(""),this.isVehicleChosen=!1,this.zipOverrideFailure$=new d.xQ,this.leadLocationSet$=new d.xQ,this.zipOverrideSet$=new d.xQ,this.gaOneZip=null,this.lastZip=null,this.appCertExp=null,this.preVirPagePath=void 0,this.showPrefilledVIR=!1,this.gaModalGA2Load$=new c.X(!1),this.financedVehicleInfo$=new c.X(null),this._marketingParams={},this._customMarketingParams=[],this._viewedVehicles=[],this._ga1LeadResponse$=new c.X(void 0),this._ga2LeadResponse$=new c.X(void 0),this._creditPullType=N.Soft,this._ga2LeadResponse$.pipe((0,a.h)(e=>y.cmp.isDefinedAndNotNull(e)&&y.cmp.isDefinedAndNotNull(e.res)&&y.cmp.isDefinedAndNotNull(e.res.financingTerms)),(0,o.U)(e=>e.res.financingTerms.minimumDown||"")).subscribe(this.minimumDown$),this._ga2LeadResponse$.pipe((0,a.h)(y.cmp.isDefinedAndNotNull),(0,o.U)(e=>(this.entryPoint=this._appStateService.routeSeenByIndex(2),this.isVehicleChosen=!!y.cmp.isNotEmpty(this._appStateService.getUrlHistory(1))&&this._appStateService.getUrlHistory(1).split("/").length>2,y.cmp.isDefinedAndNotNull(e.res)?(0,A._J)(e.res,this._gaData,this._ga2Data,this._chosenDealershipZip):(0,A._J)({},this._gaData,this._ga2Data,this._chosenDealershipZip)))).subscribe(this.approvalCertificateData$),this.ga2LeadStatus$.pipe((0,a.h)(y.cmp.isDefinedAndNotNull)).subscribe(e=>{this._store.dispatch(new S.pm(k.ZI.IsPostGA2,e>=g.r.RESPONDED||this.hasGa2())),e>=g.r.RESPONDED&&this._store.dispatch(new S.MI(k.vv.VsrFinanceCalculatorExp.Id,k.vv.VsrFinanceCalculatorExp.LastLeadSubmissionTime,b(new Date).toISOString()))})}getLeadLocation(){return this._leadLocation}getValueForAutodialCheckbox(){const e=this._store.leadSnapshot().lastLiidHasConsented;return!y.cmp.isDefinedAndNotNull(e)||e}displaySavGaFields(){return y.cmp.isUndefinedOrNull(this._gaData)}displayEmailField(){return y.cmp.isUndefinedOrNull(this._currentEmailAddress)}hasGa2(){return this._store.leadSnapshot().lastLiidHasSsn}getAppointmentDateTime(){return this._appointmentDateTime}hasAppCertData(e=!1){const t=this.approvalCertificateData$.getValue();return!y.cmp.isUndefinedOrNull(t)&&(e?y.cmp.areAllDefinedAndNotNull(t.financeData,t.financeTerms):y.cmp.areAllDefinedAndNotNull(t.financeData))}skipGA1Submit(){this._ga1LeadResponse$.next({})}saveGA1Inputs(e){return(0,i.mG)(this,void 0,void 0,function*(){this.ga1LeadStatus$.next(g.r.REQUESTED);let t=(0,A.QT)(e);this._gaData=t,this._chosenDealershipZip=t.chosenDealershipZip,this._leadLocation=yield this.getLocationByZip(t.zip).catch(()=>null),this.leadData$.next({firstName:this._gaData.firstName,lastName:this._gaData.lastName})})}submitGa1(e){return(0,i.mG)(this,void 0,void 0,function*(){yield this.saveGA1Inputs(e);let t=this._store.leadSnapshot().lastLeadInjectionId,n=f.uR.generateUuid(),i=(0,A.V$)({marketingParams:this._marketingParams,customMarketingParams:this._customMarketingParams,formName:"mobile/ga1",siteReferrer:this._appConfig.siteReferrer,webLandingPage:this._store.leadSnapshot().webLandingPage,analyticsUserId:this._analyticService.analyticsUserId,analyticsSessionId:this._analyticService.getAnalyticsSessionId(),devicePlatform:this._analyticService.platform,leadSubmissionId:n,chosenDealershipZip:this._chosenDealershipZip});this._store.dispatch(new C.XM(n)),this._store.dispatch(new C.D6(this._gaData.canAutoDial));let a=(0,A.Ph)(this._gaData,this._viewedVehicles,i),o=(0,A.ZW)(a,t);this._analyticService.logIdentityTraits(this.mapGa1ToIdentityTraits(e));try{let e=yield this._retryOnLostServer(()=>this._promiseService.saveLeadPromise(o,"GA_ONE"));e.invalidateLastLeadInjectionId&&(this._ga2Data=null,this._currentEmailAddress=null),this._store.dispatch(new C.V6(e.leadInjectionId)),this._store.dispatch(new C.yF(!1)),this._store.dispatch(new C.NU(!1)),this._ga1LeadResponse$.next({res:e})}catch(r){this._ga1LeadResponse$.next({err:r}),this._logException("SubmitGa1",r)}this._viewedVehicles=[],this.ga1LeadStatus$.next(g.r.RESPONDED),this.ga1LeadStatus$.next(g.r.DONE)})}submitRequestMoreInfo(e){return(0,i.mG)(this,void 0,void 0,function*(){this.rmiLeadStatus$.next(g.r.REQUESTED);let t=(0,A.uZ)(e),n=this._store.leadSnapshot().lastLeadInjectionId,i=f.uR.generateUuid(),a={Description:e.comment,IsDTSelect:e.vehicle.IsDTSelect,IsPriceCompetitive:e.vehicle.IsPriceCompetitive,Make:e.vehicle.Make,Model:e.vehicle.Model,StockNumber:e.vehicle.StockNumber,Year:e.vehicle.Year},o=(0,A.V$)({marketingParams:this._marketingParams,customMarketingParams:this._customMarketingParams,formName:"VehicleRequestMoreInfo",siteReferrer:this._appConfig.siteReferrer,webLandingPage:this._store.leadSnapshot().webLandingPage,analyticsUserId:this._analyticService.analyticsUserId,analyticsSessionId:this._analyticService.getAnalyticsSessionId(),devicePlatform:this._analyticService.platform,leadSubmissionId:i,rmiComment:JSON.stringify(a)});this._gaData=(0,A.NI)(t),this._currentEmailAddress=t.email,this._store.dispatch(new C.XM(i));let r=(0,A.Qo)(this._gaData,this._viewedVehicles,o),s=(0,A.ZW)(r,n);yield this._store.dispatchAsync(new C.yF(!0)),yield this._store.dispatchAsync(new C.D6(this._gaData.canAutoDial));const l=yield this._retryOnLostServer(()=>this._promiseService.saveLeadPromise(s,"GA_ONE"));try{this._store.dispatch(new C.V6(l.leadInjectionId)),l.invalidateLastLeadInjectionId&&(this._ga2Data=null,this._currentEmailAddress=null),this._ga1LeadResponse$.next({res:l})}catch(c){this._ga1LeadResponse$.next({err:c}),this._logException("SubmitRmi",c)}this._viewedVehicles=[],this.rmiLeadStatus$.next(g.r.RESPONDED),this.rmiLeadStatus$.next(g.r.DONE)})}submitPriceDrop(e){return(0,i.mG)(this,void 0,void 0,function*(){this.priceDropLeadStatus$.next(g.r.REQUESTED);let t=(0,A.d_)(e),n=this._store.leadSnapshot().lastLeadInjectionId,i=f.uR.generateUuid(),a=this._setupNotifyAlert(e),o={Description:null,IsDTSelect:t.vehicle.IsDTSelect,IsPriceCompetitive:t.vehicle.IsPriceCompetitive,Make:t.vehicle.Make,Model:t.vehicle.Model,StockNumber:t.vehicle.StockNumber,Year:t.vehicle.Year,VehiclePrice:e.vehicle.StickerPrice},r=(0,A.V$)({marketingParams:this._marketingParams,customMarketingParams:this._customMarketingParams,formName:"AlertNotifyPriceDrop",siteReferrer:this._appConfig.siteReferrer,webLandingPage:this._store.leadSnapshot().webLandingPage,analyticsUserId:this._analyticService.analyticsUserId,analyticsSessionId:this._analyticService.getAnalyticsSessionId(),leadSubmissionId:i,devicePlatform:this._analyticService.platform,priceDropComment:JSON.stringify(o),priceDropAlert:JSON.stringify(a)});this._gaData=(0,A.mG)(t),this._currentEmailAddress=t.email,this._store.dispatch(new C.XM(i));let s=(0,A.fW)(this._gaData,this._viewedVehicles,r),l=(0,A.ZW)(s,n);try{let e=yield this._retryOnLostServer(()=>this._promiseService.saveLeadPromise(l,"GA_ONE"));this._store.dispatch(new C.V6(e.leadInjectionId)),this._store.dispatch(new C.yF(!0)),this._store.dispatch(new C.D6(this._gaData.canAutoDial)),e.invalidateLastLeadInjectionId&&(this._ga2Data=null,this._currentEmailAddress=null)}catch(c){this._logException("SubmitGa1",c)}this._viewedVehicles=[],this.priceDropLeadStatus$.next(g.r.RESPONDED),this.priceDropLeadStatus$.next(g.r.DONE)})}submitGa2(e){return(0,i.mG)(this,void 0,void 0,function*(){this.ga2LeadStatus$.next(g.r.REQUESTED),this._store.dispatch(new C.V0(!1)),this.financedVehicleInfo$.next(null);let t=(0,A.pg)(e);this._addDesiredDownPaymentToCustomParams(e.desiredDownPayment);let n={},o=!1;this._lendingConversionModelService.IsConversionModelActivated$.pipe((0,r.P)(e=>e)).subscribe(e=>{o=e}),o&&(n=yield this._lendingConversionModelService.getLendingModelAttributes(t.zip));let c=t.lastLeadInjectionIdOverride,d=t.chosenDealershipZip,u=f.uR.generateUuid(),p=(0,A.V$)(Object.assign({marketingParams:this._marketingParams,customMarketingParams:this._customMarketingParams,formName:"mobile/ga2",siteReferrer:this._appConfig.siteReferrer,webLandingPage:this._store.leadSnapshot().webLandingPage,analyticsUserId:this._analyticService.analyticsUserId,analyticsSessionId:this._analyticService.getAnalyticsSessionId(),devicePlatform:this._analyticService.platform,monthlyIncome:t.monthlyIncome,leadSubmissionId:u,chosenDealershipZip:d,creditPullType:this._creditPullType},n)),h=y.cmp.isNotEmpty(t.lastLeadInjectionIdOverride)&&y.cmp.isNotEmpty(t.lastLeadInjectionToken),m=h?null:this._gaData;this._chosenDealershipZip=d,yield this._store.dispatchAsync(new C.XM(u));let _=t;this._ga1LeadResponse$.pipe((0,a.h)(e=>y.cmp.isDefinedAndNotNull(e)||h),(0,s.q)(1)).subscribe(n=>(0,i.mG)(this,void 0,void 0,function*(){this._ga2Data=_,this._currentEmailAddress=_.email;let o=this._store.locationSnapshot(),r=null,d=null;y.cmp.isNotEmpty(c)?r=c:y.cmp.isNotEmpty(n)&&y.cmp.isNotEmpty(n.res)&&(r=n.res.leadInjectionId),(()=>{(0,i.mG)(this,void 0,void 0,function*(){this._store.dispatch(new C.y7(I.ss.None));try{let n=(0,A.kp)(m,_,this._viewedVehicles,p),i=(0,A.ZW)(n,r,null,o),a=this.mapGa2ToIdentityTraits(e,m);if(this._analyticService.logIdentityTraits(a),d=yield this._retryOnLostServer(()=>this._promiseService.saveLeadAndGetFinancingTerms(i,"GA_TWO",t.lastLeadInjectionToken,this.appCertExp)),y.cmp.isEmpty(d.financingTerms))throw new F("got a PI cert!");const s="true"===d.financingTerms.riskAttributes.hasRiskIndicator;a.userId=d.segmentUserId,a.leadId=d.leadId,a.hasRiskIndicator=s,this._analyticService.logIdentityTraits(a),this._plaidService.getPlaidScore(d.leadId);const{income:l,incomeType:c}=this.determineIncome(d.financingTerms,d.financeData);if(this.appCertExp){let e=this.extractVehicleListAppCert(n.viewedVehicles.length>0?n.viewedVehicles[n.viewedVehicles.length-1]:void 0,d.financedRequestedVehicles);d.financingTerms.program!==I.ss[I.ss.Upgrade]&&(d.financingTerms.mobileDisclaimerText=this._getUpdatedMobileDisclaimerText(d,e,l,c)),this.financedVehicleInfo$.next({vehicles:e,desiredDown:+t.desiredDownPayment})}h&&(this._gaData={firstName:d.firstName,lastName:d.lastName,canAutoDial:d.phoneNumbers[0].canAutoDial,phoneNumber:d.phoneNumbers[0].phoneNumber,zip:_.zip}),this._promiseService.getUnderWritingSurveyAnswers(d.financingTerms.leadId),this._store.dispatch(new C.vB({leadId:d.financingTerms.leadId,certLeadInjectionId:d.leadInjectionId,lastLiidHasEmail:!0,lastLiidHasSsn:!0,lastAppCert:I.ss[d.financingTerms.program]})),this._store.dispatch(new C.fB({priceAdjusterAmount:d.financingTerms.program===I.ss[I.ss.Upgrade]?R.N.configuration.salesPriceAdjuster.upgrade.discount:0,isCustomerUpgraded:d.financingTerms.program===I.ss[I.ss.Upgrade]})),this._store.dispatch(new S.pm(k.ZI.HasCri,s)),this._store.dispatch(new C.y7(s?I.ss.PIF:I.ss[d.financingTerms.program])),this._store.dispatchAsync(new P.fb(l,c,Number(d.financingTerms.minimumDown),Number(e.desiredDownPayment))),y.cmp.isDefinedAndNotNull(d.financeData.stockNumber)&&this._store.dispatch(new O.M(d.financeData.stockNumber));const u=this._getAppCertName(d);this._setVSRExperience(u),this._ga2LeadResponse$.next({res:d})}catch(i){this._setVSRExperience(I.xz.get(I.ss.PI)),this._ga2LeadResponse$.next({err:i}),this._logException("SubmitGa2",i),this._store.dispatch(new C.fB({priceAdjusterAmount:0,isCustomerUpgraded:!1})),this._store.dispatch(new C.y7(i instanceof F?I.ss.PI:I.ss.ServiceError)),this._store.dispatch(new C.Sc(I.xz.get(I.ss.PI)))}y.cmp.isDefinedAndNotNull(d)&&this._sendLookupAnalyticData(d),this._viewedVehicles=[];const n=()=>{this.ga2LeadStatus$.next(g.r.RESPONDED),this.ga2LeadStatus$.next(g.r.DONE)};try{this._appConfig.enabledExperiments.includes("151003_pif-verify-info-resubmit_test")&&"true"===d.financingTerms.riskAttributes.hasRiskIndicator?this._store.select(V.Z8.get(T.j.ApprovalCertificate.IsPifResubmitEnabled)).pipe((0,l.V)(2e3),(0,a.h)(y.cmp.isDefinedAndNotNull),(0,s.q)(1)).subscribe(n,n):n()}catch(i){n()}this.deleteCustomMarketingParams("IsOnlyFinancedLeadSubmit"),this.deleteCustomMarketingParams("DesiredDownPayment")})})()}))})}_getAppCertName(e){return I.xz.get((0,A.td)(e))}_addDesiredDownPaymentToCustomParams(e){y.cmp.isNotEmpty(e)&&this.setCustomMarketingParams({DesiredDownPayment:e})}submitVIR(e){return(0,i.mG)(this,void 0,void 0,function*(){const{virGa1Data:t,virGa2Data:n}=(0,A.pL)(e);this._addDesiredDownPaymentToCustomParams(e.desiredDownPayment),this.leadData$.next({firstName:t.firstName,lastName:t.lastName}),this.ga2LeadStatus$.next(g.r.REQUESTED),this._store.dispatch(new C.V0(!1)),this._store.dispatch(new C.D6(t.canAutoDial));let a={},o=!1;this._lendingConversionModelService.IsConversionModelActivated$.pipe((0,r.P)(e=>e)).subscribe(e=>{o=e}),o&&(a=yield this._lendingConversionModelService.getLendingModelAttributes(n.zip));const s=n.lastLeadInjectionIdOverride,l=n.chosenDealershipZip,c=f.uR.generateUuid(),d=(0,A.V$)(Object.assign({marketingParams:this._marketingParams,customMarketingParams:this._customMarketingParams,formName:"mobile/vir",siteReferrer:this._appConfig.siteReferrer,webLandingPage:this._store.leadSnapshot().webLandingPage,analyticsUserId:this._analyticService.analyticsUserId,analyticsSessionId:this._analyticService.getAnalyticsSessionId(),devicePlatform:this._analyticService.platform,monthlyIncome:n.monthlyIncome,leadSubmissionId:c,chosenDealershipZip:l,creditPullType:this._creditPullType},a));this._gaData=t,this._chosenDealershipZip=l,yield this._store.dispatchAsync(new C.XM(c)),this._ga2Data=n,this._currentEmailAddress=n.email;const u=this._store.locationSnapshot();let p=null,h=null;y.cmp.isNotEmpty(s)&&(h=s),(()=>{(0,i.mG)(this,void 0,void 0,function*(){const i=(e,t=null)=>{this._analyticService.logAnalytic({category:"ApprovalCert",action:"display",label:"VIRSuccess",value:`Program Type: ${e} | ${t}`})};try{const a=(0,A.kp)(t,n,this._viewedVehicles,d),o=(0,A.ZW)(a,h,null,u);if(p=yield this._retryOnLostServer(()=>this._promiseService.saveLeadAndGetFinancingTerms(o,"GA_TWO",n.lastLeadInjectionToken,this.appCertExp)),y.cmp.isEmpty(p.financingTerms))throw new F("got a PI cert!");this._plaidService.getPlaidScore(p.leadId);const{income:r,incomeType:s}=this.determineIncome(p.financingTerms,p.financeData);if(this.appCertExp){const t=this.extractVehicleListAppCert(a.viewedVehicles.length>0?a.viewedVehicles[a.viewedVehicles.length-1]:void 0,p.financedRequestedVehicles);p.financingTerms.program!==I.ss[I.ss.Upgrade]&&(p.financingTerms.mobileDisclaimerText=this._getUpdatedMobileDisclaimerText(p,t,r,s)),this.financedVehicleInfo$.next({vehicles:t,desiredDown:+e.desiredDownPayment})}this._promiseService.getUnderWritingSurveyAnswers(p.financingTerms.leadId),this._store.dispatch(new C.vB({leadId:p.financingTerms.leadId,certLeadInjectionId:p.leadInjectionId,lastLiidHasEmail:!0,lastLiidHasSsn:!0,lastAppCert:I.ss[p.financingTerms.program]})),this._store.dispatch(new C.fB({priceAdjusterAmount:p.financingTerms.program===I.ss[I.ss.Upgrade]?R.N.configuration.salesPriceAdjuster.upgrade.discount:0,isCustomerUpgraded:p.financingTerms.program===I.ss[I.ss.Upgrade]}));const l="true"===p.financingTerms.riskAttributes.hasRiskIndicator;this._store.dispatch(new S.pm(k.ZI.HasCri,l)),this._store.dispatch(new C.y7(l?I.ss.PIF:I.ss[p.financingTerms.program])),this._store.dispatchAsync(new P.fb(r,s,Number(p.financingTerms.minimumDown),Number(e.desiredDownPayment))),y.cmp.isDefinedAndNotNull(p.financeData.stockNumber)&&this._store.dispatch(new O.M(p.financeData.stockNumber));const c=this._getAppCertName(p);this._setVSRExperience(c),c!==I.xz.get(I.ss.PIF)&&i(c,p.leadId),this._ga2LeadResponse$.next({res:p})}catch(a){i(I.xz.get(I.ss.PI)),this._setVSRExperience(I.xz.get(I.ss.PI)),this._ga2LeadResponse$.next({err:a}),this._logException("SubmitVirGa2",a),this._store.dispatch(new C.fB({priceAdjusterAmount:0,isCustomerUpgraded:!1})),this._store.dispatch(new C.y7(a instanceof F?I.ss.PI:I.ss.ServiceError)),this._store.dispatch(new C.Sc(I.xz.get(I.ss.PI)))}y.cmp.isDefinedAndNotNull(p)&&this._sendLookupAnalyticData(p),this._viewedVehicles=[],this.deleteCustomMarketingParams("IsOnlyFinancedLeadSubmit"),this.ga2LeadStatus$.next(g.r.RESPONDED),this.ga2LeadStatus$.next(g.r.DONE)})})()})}submitSav(e){return(0,i.mG)(this,void 0,void 0,function*(){this.savLeadStatus$.next(g.r.REQUESTED);let t=(0,A.g0)(e),n=this._store.leadSnapshot().lastLiidHasConsented,i=(0,A.l1)(t,n,this._gaData,this._ga2Data),a=f.uR.generateUuid(),o=this._store.leadSnapshot().lastLeadInjectionId,r=(0,A.V$)({marketingParams:this._marketingParams,customMarketingParams:this._customMarketingParams,formName:"mobile/sav",siteReferrer:this._appConfig.siteReferrer,webLandingPage:this._store.leadSnapshot().webLandingPage,analyticsUserId:this._analyticService.analyticsUserId,analyticsSessionId:this._analyticService.getAnalyticsSessionId(),devicePlatform:this._analyticService.platform,leadSubmissionId:a});this._appointmentDateTime=t.appointmentDateTime,this._gaData=(0,A.mG)(i),this._currentEmailAddress=i.email,this._store.dispatch(new C.XM(a));let s=(0,A.XA)(i,this._viewedVehicles,r),l=(0,A.ZW)(s,o,t.savDealership);try{this._analyticService.logIdentityTraits(this.mapSavToIdentityTraits(e));let n=yield this._retryOnLostServer(()=>this._promiseService.saveLeadPromise(l,"SAV"));this._store.dispatch(new C.V6(n.leadInjectionId)),this._store.dispatch(new C.D6(i.canAutoDial)),y.cmp.isNotEmpty(t.email)&&this._store.dispatch(new C.yF(!0))}catch(c){this._logException("SubmitSav",c)}this._viewedVehicles=[],this.savLeadStatus$.next(g.r.RESPONDED),this.savLeadStatus$.next(g.r.DONE)})}scheduleSAV(){return(0,i.mG)(this,void 0,void 0,function*(){this.savLeadStatus$.next(g.r.REQUESTED)})}setMarketingQueryParams(e){this.setCustomMarketingParams(e),this._marketingParams=(0,A.Pq)(e)}MarketingQueryParams(){return this._marketingParams}CustomMarketingQueryParams(){return this._customMarketingParams}setCustomMarketingParams(e){Object.keys(e).forEach(t=>{let n={name:t,value:e[t],dataType:"string"},i=this._customMarketingParams.findIndex(e=>e.name===n.name);i>=0?this._customMarketingParams[i]=n:this._customMarketingParams.push(n)})}deleteCustomMarketingParams(e){let t=this._customMarketingParams.findIndex(t=>t.name===e);t>=0&&this._customMarketingParams.splice(t,1)}setLeadLocation(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=yield this.getLocationByZip(e);y.cmp.areAllDefinedAndNotNull(this._leadLocation,t)&&(t.addressLine1=this._leadLocation.addressLine1,t.addressLine2=this._leadLocation.addressLine2),this._leadLocation=t,y.cmp.isDefinedAndNotNull(t)&&this.leadLocationSet$.next(t)})}setZipOverride(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=yield this.getLocationByZip(e);this._leadLocation=t,y.cmp.isDefinedAndNotNull(t)&&y.cmp.isDefinedAndNotNull(t.zipCode)?(this.lastZip=this._leadLocation.zipCode,this.zipOverrideSet$.next(t)):this.zipOverrideFailure$.next()})}setLeadLocationAddress(e){return(0,i.mG)(this,void 0,void 0,function*(){y.cmp.isDefinedAndNotNull(e)&&(this._leadLocation=e,this.lastZip!==this._leadLocation.zipCode?(this.zipOverrideSet$.next(e),this.lastZip=this._leadLocation.zipCode):this.leadLocationSet$.next(e))})}clearLeadLocationAddress(){return(0,i.mG)(this,void 0,void 0,function*(){y.cmp.isDefinedAndNotNull(this._leadLocation)&&(this._leadLocation.addressLine1="",this._leadLocation.addressLine2="")})}setGA1ZipValue(e){this.gaOneZip=e,this.lastZip=e}addViewedVehicle(e){this._viewedVehicles.length>=10&&(this._viewedVehicles=this._viewedVehicles.slice(-9));let t=this._viewedVehicles.findIndex(t=>t.stockNumber===e);-1!==t&&this._viewedVehicles.splice(t,1),this._viewedVehicles.push({stockNumber:e})}getChosenDealershipZip(e,t,n){return(0,i.mG)(this,void 0,void 0,function*(){return e===v.hR.Dealership?n:t})}getActiveCreditApp(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=this._store.leadSnapshot().activeCreditApp;return y.cmp.isUndefinedOrNull(t)&&y.cmp.isDefinedAndNotNull(e)&&e>0&&(t=yield this._promiseService.getActiveCreditApp(e),this._store.dispatch(new C.Zd(t))),t})}_retryOnLostServer(e){return(0,i.mG)(this,void 0,void 0,function*(){try{return yield e()}catch(t){throw this._retryIfNotFound(e,t),t}})}_retryIfNotFound(e,t){(0===t.status||403===t.status||404===t.status||504===t.status)&&setTimeout(()=>(0,i.mG)(this,void 0,void 0,function*(){try{yield e()}catch(t){this._retryIfNotFound(e,t)}}),3e4)}getLocationByZip(e){return(0,i.mG)(this,void 0,void 0,function*(){try{return yield this._locationService.determineLocationByZip(e)}catch(t){return this._logException("getLocationByZip",t),null}})}_logException(e,t){this._analyticService.logException(t,`LeadService->${e} failed.`)}determineIncome(e,t){if(y.cmp.areAnyUndefinedOrNull(e,t))return{income:y.cmp.isDefinedAndNotNull(this._ga2Data)?Number(this._ga2Data.monthlyIncome):0,incomeType:U.R.Stated};switch(!0){case e.isVerifiedIncome:return{income:e.verifiedIncome,incomeType:U.R.Verified};case!!e.isAssumeIncome:return{income:e.assumedIncome,incomeType:U.R.Assumed};default:return{income:Number(t.totalIncome),incomeType:U.R.Stated}}}_setupNotifyAlert(e){let t=JSON.stringify({StockNumber:e.vehicle.StockNumber,SingleVehicleYear:e.vehicle.Year,SingleVehicleMake:e.vehicle.Make,SingleVehicleModel:e.vehicle.Model,SingleVehiclePrice:e.vehicle.StickerPrice?e.vehicle.StickerPrice:0});return{AlertName:`Price Drop - ${e.firstName} ${e.lastName} - ${e.vehicle.StockNumber}`,OptInDate:b(),AlertType:"Price",AlertFrequency:"daily",AlertPayload:t}}_sendLookupAnalyticData(e){const t=e.financingTerms||{},n=e.financeData||{},i=y.cmp.isObject(t.riskAttributes)?t.riskAttributes:{};let a={LeadInjectionId:e.leadInjectionId,LeadID:e.leadId,Grade:t.grade,MinimumDown:t.minimumDown,IsHighDownPayment:t.isHighMinimumDown,VehiclePrice:t.vehiclePrice,AvgTerm:t.avgTerm,AvgApr:t.avgAPR,AvgBiWeeklyPmt:t.avgBiWeeklyPmt,AssignedDealershipNumber:e.assignedDealershipNumber,AlertType:t.alertType,AlertTheme:t.alertTheme,AlertStyle:t.alertStyle,AssumedIncome:t.assumedIncome,Income:n.totalIncome,RegionName:t.regionName,PaymentFrequency:n.paymentFrequency,RegularPaymentAmount:n.regularPaymentAmount,IsAssumeIncome:t.isAssumeIncome,AmountFinanced:t.amountFinanced,DealershipAlert:t.dealershipAlert,DesktopApprovalTitle:t.desktopApprovalTitle,DesktopApprovalHeader:t.desktopApprovalHeader,DesktopApprovalSubHeader:t.desktopApprovalSubHeader,MobileApprovalTitle:t.mobileApprovalTitle,MobileApprovalHeader:t.mobileApprovalHeader,MobileApprovalSubHeader:t.mobileApprovalSubHeader,AssumedIncomeMessage:t.assumedIncomeMessage,DesktopDisclaimerText:t.desktopDisclaimerText,MobileDisclaimerText:t.mobileDisclaimerText,DealTypeStrategy:t.dealTypeStrategy,DealTypeKey:t.dealTypeKey,DisplayedDown:t.displayedDown,StockNumber:n.stockNumber,LotAge:n.lotAge,Program:t.program,MobileAlertText:y.StringUtils.truncateString(t.mobileAlertText,8192),message:"",Ga2CreditApplicationId:i.ga2CreditApplicationId,CreditAppExists:i.creditAppExists,HasRiskIndicator:i.hasRiskIndicator,IsVerifiedIncome:t.isVerifiedIncome,VerifiedIncome:t.verifiedIncome};y.cmp.isDefinedAndNotNull(a.Program)&&"string"==typeof a.Program&&"error"!==a.Program.toLowerCase()?(a.message="Data returned from app cert",this._analyticService.logFullStory("ServerReturnedCertData",a),this._analyticService.logAppInsights("ServerReturnedCertData",a)):(a.message="Incomplete data returned for app cert",this._analyticService.logFullStory("ServerReturnedIncompleteCertData",a),this._analyticService.logAppInsights("ServerReturnedIncompleteCertData",a))}_getFinancingDetailsForMobileDisclaimerText(e){return e.map(e=>`<span class="financing-details-app-cert-enhance-exp">${e.Year+" "+e.Make+" "+e.Model+" "+e.Trim}:</span> Vehicle priced at $${e.StickerPrice}, with a down payment of $${e.RequiredDown}, monthly payment of $${e.PaymentAmount} for ${e.MonthlyLoanTerm} months, and ${(100*e.APR).toFixed(2)}% APR (interest rate).<br/>`).join("")}_getUpdatedMobileDisclaimerText(e,t,n,i){return`Your minimum down payment requirement is based on vehicle selection, verification of your credit history, and ${i==U.R.Assumed?"an assumed income":i==U.R.Verified?"a verified income":"a stated income"} of $${n}; is subject to availability on the date of purchase and may vary by location. Vehicle prices exclude taxes and finance charges and, subject to state law, exclude doc fees up to $599 and other applicable fees. Vehicles available for sale at the identified location only. Offer assumes verification of information and no changes to your credit history prior to purchase.<ul>${`\n <li>FINANCING DETAILS: Quoted offers, including APR, term length, down payment, and monthly payment, are dependent on vehicle selection. See details below:<br/>\n ${this._getFinancingDetailsForMobileDisclaimerText(t)}\n </li>`+e.financingTerms.mobileDisclaimerText.split("<ul>")[1].replace("</ul>","")}</ul>`}extractVehicleListAppCert(e,t=[]){const n=(e,t,n,i)=>(e.push(n.length>=t?n.filter(t=>e.some(e=>e.stockNumber!==t.stockNumber))[t]:i.find(t=>e.some(e=>e.stockNumber!==t.stockNumber))),e),i=(e,t)=>e.requiredDown-t.requiredDown!=0?e.requiredDown-t.requiredDown:e.paymentAmount-t.paymentAmount!=0?e.paymentAmount-t.paymentAmount:e.APR-t.APR!=0?e.APR-t.APR:0,a=(e,t)=>{const n=e[t.vehicleType]||[];return n.push(t),e[t.vehicleType]=n,e},o=(e,t,n=!1)=>({APR:e.APR,City:e.city,DisplayName:e.displayName,LastViewed:n,Make:e.make,Model:e.model,PaymentAmount:e.paymentAmount,PrimaryVehiclePhotoUrls:t.deserializePrimaryPhoto(e.primaryPhotoJson).map(n=>t.buildPhotoUrls(n,e.stockNumber))[0],RequiredDown:e.requiredDown,StateAbbreviation:e.stateAbbreviation,StickerPrice:e.stickerPrice,StockNumber:e.stockNumber,Trim:e.trim,MonthlyLoanTerm:e.monthlyLoanTerm,VehicleType:e.vehicleType,Year:e.year,DealershipNumber:e.dealershipNumber});try{let r=e?t.find(t=>t.stockNumber===parseInt(e.stockNumber.toString(),10)):null;const s=t.reduce(a,{});let l=t.sort(i);s.Car=s.Car.sort(i),s.SUV=s.SUV.sort(i);let c=l.slice(0,4);return y.cmp.isDefinedAndNotNull(r)?(c=[r],c=n(c,0,s.Car,l),c=n(c,0,s.SUV,l)):(c=[s.Car[0],s.SUV[0]],c=n(c,1,s.Car,l),c=n(c,1,s.SUV,l)),c.map(e=>o(e,this._photoService,!!y.cmp.isDefinedAndNotNull(r)&&r.stockNumber===e.stockNumber))}catch(r){return t.slice(0,4).map(e=>o(e,this._photoService))}}mapGa1ToIdentityTraits(e){return{firstName:e.firstName,lastName:e.lastName,phoneNumber:e.phoneNumber,email:e.email,zip:e.zip,ssn:void 0,dateOfBirth:void 0,userId:void 0,monthlyIncome:void 0,address:void 0,city:void 0,state:void 0,canAutoDial:e.canAutoDial}}mapGa2ToIdentityTraits(e,t){return{firstName:t.firstName,lastName:t.lastName,phoneNumber:t.phoneNumber,email:e.email,zip:e.zip,ssn:e.ssn,dateOfBirth:void 0,userId:void 0,monthlyIncome:e.monthlyIncome,address:e.address,city:e.cityState,state:e.cityState,canAutoDial:t.canAutoDial}}mapSavToIdentityTraits(e){return{firstName:e.firstName,lastName:e.lastName,phoneNumber:e.phoneNumber,email:e.email,zip:e.zip,ssn:void 0,dateOfBirth:void 0,userId:void 0,monthlyIncome:void 0,address:void 0,city:void 0,state:void 0,canAutoDial:e.canAutoDial}}_setVSRExperience(e){[I.xz.get(I.ss.Sale),I.xz.get(I.ss.HighDP),I.xz.get(I.ss.Upgrade)].includes(e)?(this._store.dispatch(new Z.pJ(!0)),this._store.dispatch(new D.v(T.j.VSRGridListView.HasReceivedEligibleCert,!0))):(this._store.dispatch(new Z.pJ(!1)),this._store.dispatch(new D.v(T.j.VSRGridListView.HasReceivedEligibleCert,!1)))}}return e.\u0275fac=function(t){return new(t||e)(B.LFG(u.R),B.LFG(G.F0),B.LFG(p.a),B.LFG(m.g),B.LFG(h.D),B.LFG(w.k),B.LFG(_._),B.LFG(M.Z),B.LFG(x.T),B.LFG(E.f),B.LFG(L.O))},e.\u0275prov=B.Yz7({token:e,factory:e.\u0275fac}),e})()},97113:function(e,t,n){"use strict";n.d(t,{f:function(){return A}});var i=n(97582),a=n(30277),o=n(89234),r=n(8075),s=n(59837),l=n(80377),c=n(70764),d=n(46664),u=n(45829),p=n(87500),h=n(28645),m=n(40466),g=n(17315),f=n(79765),y=n(69958),_=n(37716);class A{constructor(e,t,n,i,a){this._vehicleSearchService=e,this._locationService=t,this._analyticService=n,this._store=i,this._optimizelyFullStackService=a,this._optimizelyFullStackService.activateFeature(g.MF.Id)}getLendingModelAttributes(e){return(0,i.mG)(this,void 0,void 0,function*(){const t=yield this._availableVehiclesInUserRegion(e),n=this._store.lendingAttributesSnapshot();try{const e=this._getMostViewedPropForAttr(n.vehicleMake),i=this._getMostViewedPropForAttr(n.vehicleBodyType),a=this._getMostViewedPropForAttr(n.vehicleSize),o=this._getMostViewedPropForAttr(n.vehicleNationality),r=this._getMostViewedPropForAttr(n.vehiclePrice),s=this._getMostViewedPropForAttr(n.vehicleOdometer),c=this.getTotalNumberOfVDPViews(n.vehicleStockNumber),d=Object.keys(n.vehicleStockNumber).length,u=Object.keys(n.uniqueSessions).length,p=this.getAverageSessionTime(n.uniqueSessions);return{numvehicles:t.length,numcheapvehicles:t.filter(e=>e.StickerPrice<1e4).length,preappvdpbodytype:i,preappvdpmake:e,preappnumsessions:u,averagesessiondurationprelead:p/1e3,preappvdpnationality:o,preappvdpsize:a,preappvdpviews:c,preappdistinctvdpviews:d,numvehiclesmake:t.filter(t=>t.Make===e).length,numvehiclesbodytype:t.filter(e=>e.BodyType===i).length,numvehiclessize:t.filter(e=>e.SizeCategory===a).length,numvehiclesnationality:t.filter(e=>(0,l.V)(e.Make.toLowerCase().replace(/\s/g,""))===o).length,numvehiclesodometer:t.filter(e=>(0,l.F)(e.OdometerValue,1e4).toString()===s).length,numvehiclesprice:t.filter(e=>(0,l.F)(e.StickerPrice,1e3).toString()===r).length,preappvdpavgodometer:0===c?0:(0,l.F)(n.odometerTotal/c,1e4),preappvdpavgsaleprice:0===c?0:(0,l.F)(n.salesPriceTotal/c,1e3),preappvdphtviews:n.dtPlusVehicles,preapppctvdpht:0===c?0:n.dtPlusVehicles/c*100}}catch(i){return this._analyticService.logException("LendingConversionModelService -> Cannot get properties from lending state",i),null}})}_availableVehiclesInUserRegion(e){return(0,i.mG)(this,void 0,void 0,function*(){const t=yield this._locationService.getApiZipcodeByZip(e);return this._userRegion=t.RegionDescription,yield this._getAvailableVehiclesInUserRegion()})}_getMostViewedPropForAttr(e){let t={value:"",count:-1,idx:Math.min()};return Object.keys(e).forEach(n=>{(e[n].count>t.count||e[n].count===t.count&&e[n].idx<t.idx)&&(t={value:n,count:e[n].count,idx:e[n].idx})}),t.value}_getAvailableVehiclesInUserRegion(){return(0,i.mG)(this,void 0,void 0,function*(){const e=new d.Pd;e.pageNumber=1,e.pageSize=999,e.select=["StickerPrice","Make","OdometerValue","SizeCategory","BodyType"],e.filters=[new d.Xo("RegionDesc",u.d.eq,u.Ge.str,u.zX.or,[`${this._userRegion}`]),new d.Xo("StatusKey",u.d.ne,u.Ge.str,u.zX.and,[p.zB.Layaway]),new d.Xo("StatusKey",u.d.ne,u.Ge.str,u.zX.or,[p.zB.Layaway]),new d.Xo("StatusKey",u.d.ne,u.Ge.str,u.zX.or,[p.zB.Sold])];try{return(yield this._vehicleSearchService.getVehiclesByQueryFromAzure(e)).vehicles}catch(t){return this._vehicleSearchService._logException("LendingConversionModelService -> _getAvailableVehiclesInUserRegion",t),null}})}getAverageSessionTime(e){const t=[];return e.map(e=>{t.push(e.lastActiveTime-e.startTime)}),t.reduce((e,t)=>e+t,0)/(t.length>0?t.length:1)}updateLendingAttributes(e){this._store.dispatch(new s.Am(e))}resetLendingAttributes(){this._store.dispatch(new s.A5)}getTotalNumberOfVDPViews(e){let t=0;return Object.keys(e).map(n=>{t+=e[n].count}),t}}A.\u0275fac=function(e){return new(e||A)(_.LFG(r.W),_.LFG(o.a),_.LFG(c.g),_.LFG(a.k),_.LFG(y.B))},A.\u0275prov=_.Yz7({token:A,factory:A.\u0275fac}),(0,i.gn)([(0,h.Ph)(m.LW.getVariableValue(g.MF.Id,g.MF.IsConversionModelActivated)),(0,i.w6)("design:type",f.xQ)],A.prototype,"IsConversionModelActivated$",void 0)},13535:function(e,t,n){"use strict";n.d(t,{R:function(){return h}});var i=n(67041),a=n(20483),o=n(97661),r=n(72349),s=n(2694),l=n(54266),c=n(53629),d=n(26215),u=n(30277),p=n(37716);let h=(()=>{class e{constructor(e,t,n,i){this.appConfig=e,this.router=t,this._ssrSelfApi=n,this._store=i,this._currentUrlPath="",this._queryStringParams="",this.TrustPilotUrl="https://www.trustpilot.com/review/www.drivetime.com",this.blobBaseUrl="https://commondrivetimeprod.blob.core.windows.net/commondrivetimeprod/",this._trustpilotEndpoint=c.N.configuration.onlineFunctionsApi.endpoint,this.trustPilotWithoutLoginUrl$=new d.X(`${this._trustpilotEndpoint}/TrustPilotInvitationLink`),this.gaPath="auto-financing",this._defaultOptions={preserveQueryParams:!0,queryParams:{},fragment:"",useHost:!1,asUrlObject:!1},this._persistedMarketingQueryParams=["oagg","disableoptimizely","everflow","isExpProd","settingsId"],this._queryStringParams=this._persistMarketingQueryParameters(this.appConfig.location.search),this.buildBaseUrl(),this.router.events.subscribe(e=>{e instanceof s.OD?this._queryStringParams=this._persistMarketingQueryParameters(window.location.search||`?${e.url.split("?")[1]}`):e instanceof s.m2&&(this._currentUrlPath=e.url)})}populateTrustpilotUrlWithoutLogin(e){a.cmp.areAllDefinedAndNotNull(e.firstName,e.lastName)&&(this._tpFullname=`${e.firstName} ${e.lastName}`),a.cmp.isNotEmpty(e.email)&&(this._tpEmail=e.email),a.cmp.isNotEmpty(this._tpFullname)&&a.cmp.isNotEmpty(this._tpEmail)&&this.trustPilotWithoutLoginUrl$.next(`${this._trustpilotEndpoint}/TrustPilotInvitationLink?tpname=${this._tpFullname}&tpemail=${this._tpEmail}`)}_persistMarketingQueryParameters(t){if("string"!=typeof t||a.cmp.isEmpty(t))return"";let n=e.deconstructQueryParamString(t);return this._persistedMarketingQueryParams.reduce((e,t)=>`${e}${a.cmp.isDefinedAndNotNull(n[t])?`${e.length>1?"&":""}${t}=${n[t]}`:""}`,"?")}_errorHandler(e){"undefined"!=typeof window&&null!=window.appInsights&&(console.error(e),window.appInsights.trackException(e))}navigate(e,t={}){"string"!=typeof e?"object"==typeof e?(t.queryParams=e.queryParams,this.router.navigate([e.path],t)):this._errorHandler(`LinkHelper.navigate was called with a type other than IUrlLink or string. Url type: ${typeof e}, ${JSON.stringify(e)}`):this._errorHandler(`LinkHelper.navigate was called with a url string. Calling with a string requires re-parsing the generated url.To resolve, when calling LinkHelper pass \`{ asUrlObject: true }\` into the \`options\` parameter.Url: ${e}`)}buildUrl(e,t,n){let i=this._queryStringParams,{preserveQueryParams:o,queryParams:r,fragment:s,useHost:l,asUrlObject:c}=Object.assign({},this._defaultOptions,n),d=this.chooseBaseUrl(t,this.baseUrl,l),[u,p]=a.StringUtils.split(e,"?"),h=a.cmp.isNotEmpty(p)||o?this.mergeQueryParams(r,i,p):r,m=this.createUrl(d,u,h,s);return c?m:this.urlToString(m)}chooseBaseUrl(e,t,n){return a.cmp.isNotEmpty(e)?e:n?t:""}mergeQueryParams(t,n,i){return Object.assign({},e.deconstructQueryParamString(i),e.deconstructQueryParamString(n),t)}createUrl(e,t,n,i){return{base:a.StringUtils.removeTrailingSlash(e),path:this.cleanPath(t),queryParams:n,fragment:a.StringUtils.removePrefixHash(i)}}cleanPath(e){return[e].map(e=>a.StringUtils.emptyStringIfNull(e).toLowerCase()).map(a.StringUtils.addFrontSlash).map(a.StringUtils.removeTrailingSlash)[0]}urlToString(t){let n=a.cmp.isEmpty(t.base)&&a.cmp.isEmpty(t.path)?"/":t.path,i=e.objToQueryString(t.queryParams),o=a.cmp.isNotEmpty(t.fragment)?`#${t.fragment}`:"";return`${t.base}${n}${i}${o}`}static coerceStringToUndefinedOrNull(e){return"null"===e?null:"undefined"!==e?e:void 0}static deconstructQueryParamString(t){return a.cmp.isEmpty(t)?{}:a.StringUtils.split(t.replace(/^\?/,""),"&").map(e=>a.StringUtils.split(e,"=")).map(t=>[t[0],e.coerceStringToUndefinedOrNull(t[1])]).reduce((e,t)=>(e[t[0]]=t[1]||"",e),{})}static objToQueryString(e){let t=a.ArrayUtils.cloneSort(Object.keys(e)).reduce((t,n)=>((e,t,n)=>{let i=`${t}${a.cmp.isUndefinedOrNull(n)?"":`=${n}`}`;return"reg"===t?[i,...e]:[...e,i]})(t,n,e[n]),[]).join("&");return""===t?"":"?"+t}buildBaseUrl(){let{protocol:e,hostname:t,port:n}=this.appConfig.location,i=`${e.split(":")[0].toLowerCase()}://${t.toLowerCase()}`;""!==n&&"80"!==n&&"443"!==n&&(i+=`:${n}`),this.baseUrl=i}currentUrl(){return this.baseUrl+this._currentUrlPath}currentUrlNoQueryString(){return this.currentUrl().split("?")[0]}getCurrentQueryParams(){return this.appConfig.isServerPrerender?this.appConfig._req.query:this.appConfig.isBrowser?e.deconstructQueryParamString(this.appConfig.location.search):void 0}mergeOptions(e,t){return Object.assign({},e||{},t||{})}urlSearchParamsToObject(e){let t={};return a.cmp.isUndefinedOrNull(e)||Array.from(e.keys()).forEach(n=>t[n]=e.get(n)),t}assetPath(e,t){return t=this.mergeOptions({useHost:!0,preserveQueryParams:!1},t),this.buildUrl(`assets/${e}`,null,t)}imagePath(e,t){return t=this.mergeOptions({useHost:!0,preserveQueryParams:!1},t),this.buildUrl(`assets/img/${e}`,null,t)}svgPath(e,t){return this._buildSelfApiUrl(`assets/${e}`,t)}vehicleSearchPage(e,t){let{city:n,state:i,make:o,modelOrSeries:s}=e||{},l=r.px.getShortFromLong(i||"")||i,c=e=>e.every(a.cmp.isNotEmpty),d=e=>this.buildUrl(e,null,t);switch([n,i,o,s]=a.StringUtils.slug([n,i,o,s]),!0){case c([n,i,o,s]):return d(`used-cars/${n}-${l}/${o}/${s}`);case c([n,i,o]):return d(`used-cars/${n}-${l}/${o}`);case c([n,i]):return d(`used-cars/${n}-${l}`);case c([o,s]):return d(`used/${o}/${s}/vehicles`);case c([o]):return d(`used/${o}/vehicles`);default:return d("used-cars")}}vehicleDealershipInventory(e,t,n,i,o){return[e,t,n,i]=a.StringUtils.slug([e,t,n,i]),this.buildUrl(`${n}/${i}/car-dealers/${t}/${e}/inventory`,null,o)}vehicleDetailsPage(e,t,n,i,o,r,s){return[e,t,n,i,o,r]=a.StringUtils.slug([e,t,n,i,o,r]),this.buildUrl(`used-cars/${e}/${t}/${n}/${i}/${o}/${r}`,null,s)}vehicleLinkSwamp(e,t,n,i,o){if(a.cmp.isNotEmpty(t)&&t.length>2){let e=r.px.getShortFromLong(t);t=a.cmp.isNotEmpty(e)?e:t}return[e,t,n,i]=a.StringUtils.slug([e,t,n,i]),a.cmp.isNotEmpty(e)&&a.cmp.isNotEmpty(t)?a.cmp.isNotEmpty(i)?this.buildUrl(`search/${e}/${t}/${i}/vehicles`,null,o):this.buildUrl(`search/${e}/${t}/vehicles`,null,o):a.cmp.isNotEmpty(n)&&a.cmp.isNotEmpty(t)?a.cmp.isNotEmpty(i)?this.buildUrl(`search/${n}/${t}/${i}/used-vehicles`,null,o):this.buildUrl(`search/${n}/${t}/used-vehicles`,null,o):a.cmp.isNotEmpty(i)?this.buildUrl(`find-used/${i}/models`,null,o):void 0}vsrLinkSwampByLocation(e){return this.buildUrl("search-vehicles-by-location",null,e)}vsrLinkSwampByMakeModel(e){return this.buildUrl("find-cars-by-make-model",null,e)}vftArticlePage(e,t,n,i){return[e,t,n]=a.StringUtils.slug([e,t,n]),this.buildUrl(`articles/${e}/${t}/${n}`,null,i)}vftTopicListPage(e){return this.buildUrl("vft",null,e)}vftTopicPage(e,t){return this.buildUrl(`vft/${e}`,null,t)}dealershipSearchPage(e,t,n,i){return[e,n,t]=a.StringUtils.slug([e,n,t]),a.cmp.isNotEmpty(n)&&a.cmp.isNotEmpty(e)?this.buildUrl(`${n}/${e}/car-dealers`,null,i):a.cmp.isNotEmpty(t)&&a.cmp.isNotEmpty(e)?this.buildUrl(`used/${t}/${e}/car-dealers`,null,i):a.cmp.isNotEmpty(e)?this.buildUrl(`${e}/car-dealers`,null,i):this.buildUrl("used-car-dealers",null,i)}dealershipDetailsPage(e,t,n,i,o){return[e,t,i]=a.StringUtils.slug([e,t,i]),this.buildUrl(`${e}/${t}/car-dealers/${i}/${n}`,null,o)}contactUsLink(e){return this.buildUrl("customer-service",null,e)}contactUsApprovalLink(e){return this.buildUrl("customer-service/approvals-vehicles",null,e)}contactUsPaymentLink(e){return this.buildUrl("customer-service/payment-account",null,e)}contactUsClaimsLink(e){return this.buildUrl("customer-service/claims",null,e)}getApproved1GenericPage(e){return this.buildUrl(this.gaPath,null,e)}getApproved1DealershipPage(e,t,n,i){return[n,e,t]=a.StringUtils.slug([n,e,t]),this.buildUrl(`/${e}/${t}/${n}/${this.gaPath}`,null,i)}getApproved1VehiclePage(e,t,n,i,o,r,s){return[e,t,n,i,o,r]=a.StringUtils.slug([e,t,n,i,o,r]),this.buildUrl(`/${e}/${t}/${n}/${i}/${o}/${r}/${this.gaPath}`,null,s)}getApproved2GenericPage(e){return this.buildUrl("auto-financing/step2",null,e)}getApproved2DealershipPage(e,t,n,i){return[n,e,t]=a.StringUtils.slug([n,e,t]),this.buildUrl(`/${e}/${t}/${n}/auto-financing/step2`,null,i)}getApproved2VehiclePage(e,t,n,i,o,r,s){return[e,t,n,i,o,r]=a.StringUtils.slug([e,t,n,i,o,r]),this.buildUrl(`/${e}/${t}/${n}/${i}/${o}/${r}/auto-financing/step2`,null,s)}yourApprovalPage(e){return this.buildUrl("auto-financing/yourapproval",null,e)}verificationPage(e){return this.buildUrl("auto-financing/verification",null,e)}getVerificationDealershipPage(e,t,n,i){return[n,e,t]=a.StringUtils.slug([n,e,t]),this.buildUrl(`/${e}/${t}/${n}/auto-financing/verification`,null,i)}getVerificationVehiclePage(e,t,n,i,o,r,s){return[e,t,n,i,o,r]=a.StringUtils.slug([e,t,n,i,o,r]),this.buildUrl(`/${e}/${t}/${n}/${i}/${o}/${r}/auto-financing/verification`,null,s)}savDealerSelectPage(e){return this.buildUrl("schedule-a-visit/dealer-select",null,e)}savGenericSchedulePage(e,t){return[e]=a.StringUtils.slug([e]),this.buildUrl(`/schedule-a-visit/${e}/schedule`,null,t)}savDealershipSchedulePage(e,t,n,i){return[n,t,e]=a.StringUtils.slug([n,t,e]),this.buildUrl(`/${e}/${t}/${n}/schedule`,null,i)}savVehicleSchedulePage(e,t,n,i,o,r,s){return[e,t,n,i,o,r]=a.StringUtils.slug([e,t,n,i,o,r]),this.buildUrl(`/${e}/${t}/${n}/${i}/${o}/${r}/schedule`,null,s)}savApprovalSchedulePage(e,t){return[e]=a.StringUtils.slug([e]),this.buildUrl(`/auto-financing/yourapproval/${e}/schedule`,null,t)}savGenericConfirmationPage(e,t){return[e]=a.StringUtils.slug([e]),this.buildUrl(`/schedule-a-visit/${e}/schedule/confirmation`,null,t)}savDealershipConfirmationPage(e,t,n,i){return[e,t,n]=a.StringUtils.slug([e,t,n]),this.buildUrl(`/${n}/${t}/${e}/schedule/confirmation`,null,i)}savVehicleConfirmationPage(e,t,n,i,o,r,s){return[e,t,n,i,o,r]=a.StringUtils.slug([e,t,n,i,o,r]),this.buildUrl(`/${e}/${t}/${n}/${i}/${o}/${r}/schedule/confirmation`,null,s)}savApprovalConfirmationPage(e,t){return[e]=a.StringUtils.slug([e]),this.buildUrl(`/auto-financing/yourapproval/${e}/schedule/confirmation`,null,t)}termsConfirmationSavPage(e,t,n,i,o,r,s){return[e,t,n,i,o,r]=a.StringUtils.slug([e,t,n,i,o,r]),this.buildUrl(`/terms-confirmed-schedule/${e}/${t}/${n}/${i}/${o}/${r}`,null,s)}ancillaryRefinementPage(e,t,n,i,o,r,s,l){return[e,t,n,i,o,r,s]=a.StringUtils.slug([e,t,n,i,o,r,s]),this.buildUrl(`/ancillary-refinement/${e}/${t}/${n}/${i}/${o}/${r}/${s}`,null,l)}ppcTradePage(e){return this.buildUrl("/trade-us-a-car",null,e)}ppcSellPage(e){return this.buildUrl("/sell-us-a-car",null,e)}incomeVerificationEntryPageLink(e){return this.buildUrl("/income-verification",null,e)}incomeVerificationSuccessPageLink(e){return this.buildUrl("/income-verification/success",null,e)}incomeVerificationClosePageLink(e){return this.buildUrl("/income-verification/close",null,e)}incomeVerificationOauthRedirectUrl(e){return this.buildUrl("/income-verification/oauth-redirect",null,e)}linkAccountEntryPageLink(e){return this.buildUrl("/link-account",null,e)}linkAccountSuccessPageLink(e){return this.buildUrl("/link-account/success",null,e)}linkAccountClosePageLink(e){return this.buildUrl("/link-account/close",null,e)}linkAccountOauthRedirectUrl(e){return this.buildUrl("/link-account/oauth-redirect",null,e)}homePage(e){return this.buildUrl("",null,e)}errorPage(e){return this.buildUrl("error/error",null,e)}errorPage500(e){return this.buildUrl("error",null,e)}error404Page(e){return this.buildUrl("error/error404",null,e)}caDisclaimerLink(e){return this.buildUrl("ca-disclaimer",null,e)}privacyPolicyLink(e){return this.buildUrl("privacy-policy",null,e)}cookiePolicyLink(e){return this.buildUrl("cookie-policy",null,e)}affiliatesLink(e){return this.buildUrl("affiliates",null,e)}termsOfUseLink(e){return this.buildUrl("terms-of-use",null,e)}autoCheckReportLink(e,t){return this.buildUrl(`vehicle/autocheck/${e}`,null,t)}reviewsLink(e){return this.buildUrl("reviews",null,e)}financeCalculatorPageLink(e){return this.buildUrl("finance-calculator",null,e)}garageLink(e){return this.buildUrl("used-cars/saved-cars",null,e)}_buildSelfApiUrl(e,t){(t=a.cmp.isUndefinedOrNull(t)?{}:t).queryParams=Object.assign({},t.queryParams||{},{build:this.appConfig.buildVersion.getValue()}),t=this.mergeOptions({useHost:!0,preserveQueryParams:!1},t);const n=this.appConfig.isServerPrerender&&a.cmp.isNotEmpty(this._ssrSelfApi)?this._ssrSelfApi||"":null;return this.buildUrl(e,n,t)}apiContent(e){return this._buildSelfApiUrl("api/content/v2",e)}apiDealershipRatings(e){return this._buildSelfApiUrl("api/dealerships/dealershipRatings",e)}apiDealershipReviews(e){return this._buildSelfApiUrl("api/dealerships/dealershipReviews",e)}apiGetRegionToCityMap(e){return this._buildSelfApiUrl("api/dealerships/getRegionToCityMap",e)}apiDealershipCounts(e){return this._buildSelfApiUrl("api/dealerships/dealershipCounts",e)}apiSaveLead(e){return this._buildSelfApiUrl("api/lead/saveLead",e)}apiSaveLeadAndGetFinancingTerms(e){return this._buildSelfApiUrl("api/lead/saveLeadAndGetFinancingTerms",e)}apiSendPlaidInvite(e){return this._buildSelfApiUrl("api/lead/sendPlaidInvite",e)}apiSaveVehicle(e){return this._buildSelfApiUrl("api/vehicles/saveVehicle",e)}apiLocation(e){return this._buildSelfApiUrl("api/location",e)}apiLocationGetRegions(e){return this._buildSelfApiUrl("api/location/getRegions",e)}apiGetStartupData(e){return this._buildSelfApiUrl("api/misc/getStartupData",e)}apiHistoricVehicleMap(e){return this._buildSelfApiUrl("api/vehicles/historicvehiclemap",e)}apiVehicleCounts(e){return this._buildSelfApiUrl("api/vehicles/vehiclecounts",e)}apiAutocheckReport(e,t){return this._buildSelfApiUrl(`api/vehicles/autocheck/${e}`,t)}apiBuildVersion(e){return this._buildSelfApiUrl("/api/version/build",e)}apiOptimizelyDatafile(e){return this._buildSelfApiUrl("/api/optimizely/datafile",e)}apiCreditAppId(e){return this._buildSelfApiUrl(`/api/underwriting/creditappid/${e}`)}apiBankAccountLinked(){return this._buildSelfApiUrl("api/incomeverification/bankAccountLinked")}apiAppData(){return this._buildSelfApiUrl("api/misc/appdata",{preserveQueryParams:!0})}realTimeFinancing(e){return this._buildSelfApiUrl("/api/getrealtimefinancing",e)}getFinanceOptions(e){return this._buildSelfApiUrl("/api/getfinanceoptions",e)}createOnlineBuyOption(e){return this._buildSelfApiUrl("/api/createonlinebuyoption",e)}getUnderWritingurveyAnswers(e){return this._buildSelfApiUrl("/api/getunderwritingsurveyanswers",e)}getNativeIosMapsLocation(e,t){return this.getMapsLinkUrl(e,t).replace("https://maps.apple.com/","maps://")}getMapDirectionLinkUrl(e){return this.getMapsLinkUrl(e,l.G.Directions)}getMapLocationLinkUrl(e){return this.getMapsLinkUrl(e,l.G.Location)}getPlaidScore(){return c.N.configuration.plaid.retailEndPoint+"/hasActivePlaidScore"}getMapsLinkUrl(e,t){let{label:n,address:i,city:a,stateAbbreviation:o,lat:r,lng:s}=e;switch(t){case l.G.Directions:return this._mapsDirections(i,a,o,r,s);case l.G.Location:return this._mapsLocation(n,i,a,o,r,s);default:throw new Error(`Invalid MapLinkType supplied: ${t}`)}}_mapsDirections(e,t,n,i,a){return this.buildUrl(`/used-car-dealers/directions/?q=DriveTime Dealership&daddr=${e},${t},${n}&dirflg=d&latLng=${i},${a}`,this.appConfig.isLocal?"http://localhost:3000":null,{useHost:!0,preserveQueryParams:!0})}_mapsLocation(e,t,n,i,a,o){return this.buildUrl(`/used-car-dealers/directions/?q=${e} ${t}, ${n}, ${i}&latLng=${a},${o}`,this.appConfig.isLocal?"http://localhost:3000":null,{useHost:!0,preserveQueryParams:!0})}azureSearchVehicleIndex(){let{url:e,vehicleUrl:t}=c.N.configuration.azureSearchApi;return`${e}${t}search`}azureSearchDealershipIndex(){let{url:e,dealershipUrl:t}=c.N.configuration.azureSearchApi;return`${e}${t}search`}azureSearchZipIndex(){let{url:e,zipcodesUrl:t}=c.N.configuration.azureSearchApi;return`${e}${t}search`}incrementPageViewsUrl(e){let{endpoint:t,incrementVehiclePageViewsUrl:n,incrementVehiclePageViewsAuthToken:i}=c.N.configuration.onlineFunctionsApi;return`${t}${n}?stockNumber=${e}&code=${i}`}dtdBaseUrl(e,t,n=!0){let i="https://www.drivetime.com";return this.appConfig.isDevEnv?i="https://devazure.drivetime.com":this.appConfig.isTestEnv&&(i="https://testazure.drivetime.com"),t=n?this.mergeOptions({queryParams:{source:"mobileoptout"},useHost:!0},t):t,this.buildUrl(`${e||""}`,i,t)}dtdVehicleAutoCheckPage(e,t){return t=this.mergeOptions({preserveQueryParams:!1},t),e=e.toLowerCase().replace(o.Vq,""),this.dtdBaseUrl(`vehicle/autocheck/${e}`,t)}recallByVinUrl(e){return`https://vinrcl.safercar.gov/vin/?vin=${e.replace(o.Vq,"")}`}recallUrl(){return"http://www.safercar.gov"}kbbWidgetUrl(e,t,n,i,o,r,s){return[e,t,n,o,r]=a.StringUtils.slug([e,t,n,o,r]),"https://pauc.syndication.kbb.com/priceadvisorusedcar/fairpurchaseprice?"+[`APIKey=${e}`,`ZipCode=${t}`,`VehicleId=${n}`,`${i}`,`Mileage=${o}`,`AskingPrice=${r}`,`DisplayAskingPrice=${s}`,"DisplaySRP=false"].join("&")}kbbIcoUrl(e){return`https://www.kbb.com/instant-cash-offer/W/${e}/43A6F9B8-DB6C-48C0-A360-F658B2176E3E`}motionAppleStoreLink(){return"https://itunes.apple.com/us/app/motiongps/id1039577843?mt=8"}motionGooglePlayStoreLink(){return"https://play.google.com/store/apps/details?id=com.motiontelematics.motiongps&hl=en"}identityTheftLink(){return"https://identitytheft.gov/"}webFeedBackEmailLink(){return"mailto:webfeedback@drivetime.com"}ic3GovLink(){return"http://www.ic3.gov/"}fbiWebLink(){return"http://www.fbi.gov"}nw3cWebLink(){return"https://www.nw3c.org"}bjaWebLink(){return"https://www.bja.gov"}dataOneSoftwareWebLink(){return"http://www.dataonesoftware.com/"}homeOfficeGoogleMapsLink(){return"https://www.google.com/maps/place/1720+W+Rio+Salado+Pkwy,+Tempe,+AZ+85281"}legalEmailLink(){return"mailto:legal@drivetime.com"}customerServiceEmailLink(){return"mailto:customerservice@drivetime.com?subject=Chat With Us - Customer Service Question"}rmComplaintsEmailLink(){return"mailto:RM-Complaints@drivetime.com?subject=DriveTime Feedback or Complaints"}customerServicePhoneLink(){return"tel:18005834984"}customerServicePhoneLink2(){return"tel:18884181212"}customerServicePhoneNumber2(){return"8884181212"}approvalsEmailLink(){return"mailto:approvals@drivetime.com?subject=Chat With Us - Financing Question"}aaaGoogleMapsLink(){return"https://www.google.com/maps?q=13455+Noel+Road,+Suite+1750+Dallas,+Texas+75240"}aaaWebLink(){return"https://www.adr.org"}aaaPhoneLink(){return"tel:9727028222"}jamsGoogleMapsLink(){return"https://www.google.com/maps?q=700+11th+Street,+Nw,+Suite+450+Washington,+DC+20001"}jamsWebLink(){return"https://www.jamsADR.com"}jamsPhoneLink(){return"tel:8003525267"}twitterLink(){return"https://twitter.com/drivetime"}instagramLink(){return"https://www.instagram.com/drivetime/"}youtubeLink(){return"https://www.youtube.com/user/DriveTimeUsedCars"}facebookLink(){return"https://www.facebook.com/DriveTimeCarSales"}careersLink(){return"https://jobs.drivetime.com"}infoDeleteLink(){return"https://privacyportal-cdn.onetrust.com/dsarwebform/8371762e-3340-4ce2-9a5c-6787213cba65/ebbae874-8584-43ae-ae33-ae6b19299322.html"}infoRequestFormLink(){return"https://privacyportal-cdn.onetrust.com/dsarwebform/8371762e-3340-4ce2-9a5c-6787213cba65/58c744c3-a3a6-4b1b-bc68-de3ba08de819.html"}accessRequestFormLink(){return"https://privacyportal-cdn.onetrust.com/dsarwebform/8371762e-3340-4ce2-9a5c-6787213cba65/e4bd8e16-4222-4380-aa7a-6ae7fe4ecf78.html"}dontSellInfoLink(){return"https://privacyportal-cdn.onetrust.com/dsarwebform/8371762e-3340-4ce2-9a5c-6787213cba65/58c744c3-a3a6-4b1b-bc68-de3ba08de819.html"}financingPhoneLink(){return"tel:8004600104"}bridgecrestLink(){return"https://www.bridgecrest.com"}bridgecrestPhoneLink(){return"tel:8009678526"}bridgecrestLinkPaymentOptions(){return"https://myaccount.bridgecrest.com/home/PaymentOptions"}bridgecrestLinkAdviceCenter(){return"https://myaccount.bridgecrest.com/AdviceCenter"}silverRockRepairFacilityLink(){return"https://silverrockhelp.com/process?source=dtm"}silverRockRepairFacilityPhone(){return"tel:8775843848"}gPSPhone(){return"tel:8772980673"}aeverexRepairFacililtyLink(){return"http://www.aeverex.com/repair/"}aeverexRepairFacililtyPhone(){return"tel:8887815649"}drivetimeLogo(){return"https://dtmobile.blob.core.windows.net/mobile-cdn/assets/img/favicon.png"}trustPilot(e){return a.cmp.isEmpty(e)?this.TrustPilotUrl:`${this.TrustPilotUrl}/${e}`}trustPilotWithoutLogin(){return this.trustPilotWithoutLoginUrl$}validateChatOption(){return c.N.configuration.onlineFunctionsApi.endpoint+"/ValidateChatOption"}photoUrl(e,t,n){let{cdnLocation:i,imgDir:a,imgExtension:o}=c.N.configuration.photos;return`${i}/${a}/${n}/${t}_${e}.${o}`}identityTheftPhone(){return"tel:18774384338"}privacyPolicyEmail(){return this.appConfig.appSettings.privacyPolicyEmailAddress}privacyPolicyFlyer(){return`${this.blobBaseUrl}PrivacyPolicyFlyer.pdf`}privacyPolicyFlyerOldLink(){return"https://az528617.vo.msecnd.net/commondrivetimeprod/PrivacyPolicy.pdf"}supplementCalPrivacyNotice(){return`${this.blobBaseUrl}CaliforniaPrivacyNotice.pdf`}privacyPolicyTerms(){return"/terms-of-use"}smsPrivacyPolicyFragment(){return"sms-terms-and-conditions"}shopInsuranceLink(t){let n=e.deconstructQueryParamString(t.addQueryParamString);a.cmp.isNotEmpty(t.trackingParamValue)&&a.cmp.isNotEmpty(t.trackingParamKey)&&(n[t.trackingParamKey]=t.trackingParamValue);let i=this.createUrl(t.baseUrl,"",n,"");return this.urlToString(i)}covidPrecautionsLink(){return`${this.blobBaseUrl}COVID_Precautions_2021_web.png`}styleGuideLink(){return"/styleguide"}styleGuideColorsLink(){return"/styleguide/colors"}styleGuideSvgsLink(){return"/styleguide/svgs"}styleGuideFontsLink(){return"/styleguide/fonts"}styleGuideExtrasLink(){return"/styleguide/extras"}styleGuideButtonsLink(){return"/styleguide/buttons"}styleGuideDeveloperSandboxLink(){return"/styleguide/developer-sandbox"}styleGuideTypographyLink(){return"/styleguide/typography"}styleGuideLinksLink(){return"/styleguide/links"}globalComponentsAuditLink(){return"/styleguide/audit"}drivetimeAppleStoreLink(){return"https://itunes.apple.com/us/app/drivetime-used-cars-for-sale/id1348008253?mt=8"}drivetimeGooglePlayStoreLink(){return"https://play.google.com/store/apps/details?id=com.drivetime.MobileOnline&hl=en_US"}feedbackLink(){return"/customer-service"}faqLink(){return"https://www.drivetime.com/advice/drivetime-faqs-helpful-tips"}getApprovedStepLink(e,t){return this.buildUrl(`/auto-financing/step/${e}`,null,t)}getApprovedStepVehicleLink(e,t,n,i,o,r,s,l){return[e,t,n,i,o,r]=a.StringUtils.slug([e,t,n,i,o,r]),this.buildUrl(`/${e}/${t}/${n}/${i}/${o}/${r}/auto-financing/step/${s}`,null,l)}getApprovedStepDealershipLink(e,t,n,i,o){return[n,e,t]=a.StringUtils.slug([n,e,t]),this.buildUrl(`/${e}/${t}/${n}/auto-financing/step/${i}`,null,o)}getApplicationSurveyUrl(e,t,n){return`http${"https:"===n?"s":""}:////www.surveygizmo.com/s3/${e}/DriveTime-Experience?__output=embedjs&__ref=${t}`}chromeCookieManagementLink(){return"https://support.google.com/chrome/answer/95647"}googleCookieManagementLink(){return"https://adssettings.google.com/"}safariCookieManagementLink(){return"https://support.apple.com/guide/safari/manage-cookies-and-website-data-sfri11471/mac"}internetExplorerCookieManagementLink(){return"https://support.microsoft.com/en-us/help/17442/windows-internet-explorer-delete-manage-cookies"}mozillaCookieManagementLink(){return"https://support.mozilla.org/en-US/kb/enhanced-tracking-protection-firefox-desktop\n ?redirectlocale=en-US&redirectslug=enable-and-disable-cookies-website-preferences"}digitalAdvertisingAllianceOptOutLink(){return"https://optout.aboutads.info/"}networkAdvertisingInitiativeOptOutLink(){return"https://optout.networkadvertising.org/"}tradeInPage(e){return this.buildUrl("/trade-in",null,e)}}return e.\u0275fac=function(t){return new(t||e)(p.LFG(i._),p.LFG(s.F0),p.LFG("SSR_SELF_API_HOST"),p.LFG(u.k))},e.\u0275prov=p.Yz7({token:e,factory:e.\u0275fac}),e})()},89234:function(e,t,n){"use strict";n.d(t,{a:function(){return P}});var i=n(97582),a=n(46782),o=n(91841),r=n(2694),s=n(79765),l=n(82030),c=n(70764),d=n(72349),u=n(20483),p=n(51751),h=n(80352),m=n(68450),g=n(39075),f=n(71255),y=n(67041),_=n(46664),A=n(45829),v=n(39654),b=n(45637),C=n(4733),w=n(11429),S=n(30277),k=n(11654),M=n(37716);let P=(()=>{class e{constructor(e,t,n,i,a,o,r,l,c,d,u,p,h){this._store=e,this._promiseService=t,this._analyticService=n,this._router=i,this._activatedRoute=a,this._windowService=o,this._appConfig=r,this._req=l,this._transferState=c,this._dealershipService=d,this._appConfigService=u,this._memoryStoreService=p,this._vsrDerivedProperties=h,this._lockedLocateStrategy=null,this._regionData=null,this._routerUnsubscribe=new s.xQ,this._isEntranced=!1,this._canSetContextLocation=!1,this._window=this._windowService.getWindow(),this._regionToCityMap=null}static removeStateAbrvFromRegion(e,t){let n=e.toLowerCase(),i=t.toLowerCase();return n.endsWith(" "+i)||n.endsWith("-"+i)?e.slice(0,-3):e}init(){return(0,i.mG)(this,void 0,void 0,function*(){this._store.select(e=>e.app.location.currentLocation).subscribe(e=>{this._location=u.ObjectUtils.cloneDeep(e),delete this._location.__persists}),this._handleQueryParams();let e=0;this._router.events.pipe((0,a.R)(this._routerUnsubscribe)).subscribe(t=>{if(this._location.bestLocateStrategySuccess===h.OS.Specific)return this._routerUnsubscribe.next(),void this._routerUnsubscribe.complete();t instanceof r.m2&&(this._isEntranced=1==++e,this._canSetContextLocation=p.A.getCurrentRouteData(this._activatedRoute).canSetContextLocation||!1,this._handleRouteLocateStrategy().catch(()=>{}))})})}setLocationByContextRegion(e){return(0,i.mG)(this,void 0,void 0,function*(){this._canUseLocateStrategy(h.OS.Context)&&this.getLocationByRegion(e).then(e=>{this._setLocationByContext(e)}).catch(e=>(0,i.mG)(this,void 0,void 0,function*(){this._logException("setLocationByContextRegion",e),yield this._updateFailedAttempt(h.OS.Context)}))})}setLocationByContextCity(e,t){return(0,i.mG)(this,void 0,void 0,function*(){this._canUseLocateStrategy(h.OS.Context)&&this.getLocationByCity(e,t).then(e=>{this._setLocationByContext(e)}).catch(e=>(0,i.mG)(this,void 0,void 0,function*(){this._logException("setLocationByContextCity",e),yield this._updateFailedAttempt(h.OS.Context)}))})}setLocationByContextState(e){this._canUseLocateStrategy(h.OS.Context)&&this.getLocationByState(e).then(e=>{this._setLocationByContext(e)}).catch(e=>{this._logException("setLocationByContextState",e),this._updateFailedAttempt(h.OS.Context)})}setLocationInTypeStore(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=yield this.determineLocation(e);yield this._updateStoreLocation(t)})}determineLocationByZip(e){return(0,i.mG)(this,void 0,void 0,function*(){try{let t=yield this.getApiZipcodeByZip(e),n=this._apiZipToGoogleLocation(t);return Object.assign({isGeoLocated:!0,bestLocateStrategyAttempted:h.OS.Specific,bestLocateStrategySuccess:h.OS.Specific},n)}catch(t){throw this._logException("determineLocationByZip",t),new Error(t)}})}determineLocation(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=new o.LE;u.cmp.isNotEmpty(e)&&(u.cmp.isDefinedAndNotNull(e.zip)&&(t=t.set("location",e.zip)),u.cmp.isDefinedAndNotNull(e.location)&&(t=t.set("location",e.location)),u.cmp.isDefinedAndNotNull(e.name)&&u.cmp.isNotEmpty(e.name.trim())&&(t=t.set("location",e.name)));let n=yield this._getLocationByIpOrParams(t);return Object.assign({isGeoLocated:!0,bestLocateStrategyAttempted:h.OS.Specific,bestLocateStrategySuccess:h.OS.Specific},n)})}_handleQueryParams(){this._activatedRoute.queryParams.subscribe(e=>(0,i.mG)(this,void 0,void 0,function*(){if(e.hasOwnProperty("locate-strategy"))switch(e["locate-strategy"]){case"specific":this._lockedLocateStrategy=h.OS.Specific;break;case"non-specific":this._lockedLocateStrategy=h.OS.NonSpecific;break;case"context":this._lockedLocateStrategy=h.OS.Context;break;case"none":this._lockedLocateStrategy=h.OS.None}if(e.hasOwnProperty("zip")&&e.zip!==this._location.zipCode)try{let t=e.zip,n=yield this.determineLocation({zip:t});yield this._updateStoreLocation(n)}catch(t){this._logException("_handleQueryParams",t)}}))}_handleRouteLocateStrategy(){return(0,i.mG)(this,void 0,void 0,function*(){let e=u.cmp.isDefinedAndNotNull(this._lockedLocateStrategy)?this._lockedLocateStrategy:p.A.getCurrentRouteData(this._activatedRoute).locateStrategy,t=!1;if(u.cmp.isDefinedAndNotNull(e)){if(!this._canUseLocateStrategy(e)){if(e===h.OS.None){let e=w.H8.app.location.currentLocation;yield this._updateStoreLocation(e)}return}let i=this._location.bestLocateStrategyAttempted===h.OS.NonSpecific;if(e===h.OS.Specific)try{yield this._attemptLocateBySpecific(),t=!0}catch(n){}if(!(t||i||e!==h.OS.Specific&&e!==h.OS.NonSpecific))try{yield this._attemptLocateByNonSpecific()}catch(n){}}})}_attemptLocateBySpecific(e=!1){return(0,i.mG)(this,void 0,void 0,function*(){let e=null;try{e=yield this._navGeoGetCurrentPosition(),this._analyticService.logNonInteractionAnalytic({category:"Geolocation",label:"GeolocationPromptYes"})}catch(t){let e="GeolocationPromptNo";if(u.cmp.isDefinedAndNotNull(t)&&u.cmp.isDefinedAndNotNull(t.code))switch(t.code){case 1:break;case 2:e="GeolocationPromptPosUnavailable"}throw this._analyticService.logNonInteractionAnalytic({category:"Geolocation",label:e}),yield this._updateFailedAttempt(h.OS.Specific),new Error(t)}try{let t=yield this._getLocationByLatLng(e.coords.latitude,e.coords.longitude);if(u.cmp.isDefinedAndNotNull(t)){let e=Object.assign({isGeoLocated:!0,bestLocateStrategyAttempted:h.OS.Specific,bestLocateStrategySuccess:h.OS.Specific},t);yield this._updateStoreLocation(e,!0)}}catch(t){throw this._logException("_attemptLocateBySpecific",t),new Error(t)}})}forceSpecificLocation(){return(0,i.mG)(this,void 0,void 0,function*(){try{return yield this._attemptLocateBySpecific(!0),!0}catch(e){return this._window.alert("There is no location support on this device or it is disabled. Please check your settings."),this._analyticService.logNonInteractionAnalytic({category:"Geolocation",label:"NonGeolocatedSettings"}),!1}})}_attemptLocateByNonSpecific(){return(0,i.mG)(this,void 0,void 0,function*(){let e=this._location.bestLocateStrategyAttempted;e!==h.OS.Specific&&(e=h.OS.NonSpecific);try{let t=this._transferState.get((0,g.Cb)("ip-location"),null),n=!1;if(u.cmp.isUndefinedOrNull(t)){let i;u.cmp.isNotEmpty(this._req)&&(i=new o.LE,i=i.set("ip",this._req.headers["x-forwarded-for"]||this._req.ip||this._req.connection.remoteAddress||this._req.socket.remoteAddress));let a=yield this._getLocationByIpOrParams(i);n=u.cmp.isDefinedAndNotNull(a),n&&(t=Object.assign({isGeoLocated:!0,bestLocateStrategyAttempted:e,bestLocateStrategySuccess:h.OS.NonSpecific},a),this._transferState.set((0,g.Cb)("ip-location"),t))}else t.bestLocateStrategyAttempted=e,n=!0;n?(this._analyticService.logNonInteractionAnalytic({category:"Geolocation",label:"GeolocationIPYes",additionalData:{latitude:t.lat,longitude:t.lng,zipCode:t.zipCode}}),(e===this._location.bestLocateStrategyAttempted||this._location.bestLocateStrategySuccess!==h.OS.Specific)&&(yield this._updateStoreLocation(t))):(this._logNonGeolocatedAnalytic(),yield this._updateFailedAttempt(h.OS.NonSpecific))}catch(t){throw this._logException("_attemptLocateByNonSpecific",t),this._logNonGeolocatedAnalytic(),yield this._updateFailedAttempt(h.OS.NonSpecific),new Error(t)}})}_navGeoGetCurrentPosition(){return new Promise((e,t)=>{let n=this._window.navigator;u.cmp.isUndefinedOrNull(n)||u.cmp.isUndefinedOrNull(n.geolocation)?t("Navigator or GeoLocation does not exist."):n.geolocation.getCurrentPosition(t=>{e(t)},e=>{t(e)})})}_canUseLocateStrategy(e){let t=this._location.bestLocateStrategyAttempted;if(e===h.OS.Specific){if(t===h.OS.Specific)return!1}else if(e===h.OS.NonSpecific||e===h.OS.Context){if(t===h.OS.Specific||t===h.OS.NonSpecific)return!1}else if(e===h.OS.None)return!1;return!0}_setLocationByContext(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=this._location.bestLocateStrategyAttempted;t!==h.OS.Specific&&t!==h.OS.NonSpecific&&(t=h.OS.Context);let n=Object.assign({isGeoLocated:!0,bestLocateStrategyAttempted:t,bestLocateStrategySuccess:h.OS.Context},e);yield this._updateStoreLocation(n)})}getTrueRegionDescription(e){return(0,i.mG)(this,void 0,void 0,function*(){try{return(yield this.getRegionFromRegionData(e)).RegionDescription}catch(t){throw this._logException("getTrueRegionDescription",t),new Error(t)}})}getLocationByRegion(e){return(0,i.mG)(this,void 0,void 0,function*(){try{let t=yield this.getRegionFromRegionData(e);return{lat:t.Lat,lng:t.Lng,city:t.City,state:{longName:t.StateLongName,shortName:t.StateShortName},zipCode:t.ZipCode?t.ZipCode.toString():null}}catch(t){throw this._logException("getLocationByRegion",t),new Error(t)}})}getLocationByCity(e,t){return(0,i.mG)(this,void 0,void 0,function*(){try{let n=yield this._dealershipService.getTopDealershipFromCity(e,t);return{lat:n.GeoPoint.coordinates[1],lng:n.GeoPoint.coordinates[0],city:n.City,state:{longName:d.px.getLongFromShort(n.StateAbbreviation),shortName:n.StateAbbreviation},zipCode:n.Zip5}}catch(n){throw this._logException("getLocationByCity",n),new Error(n)}})}getLocationByState(e){return(0,i.mG)(this,void 0,void 0,function*(){try{return{lat:0,lng:0,city:"",state:{longName:"",shortName:""},zipCode:""}}catch(e){throw this._logException("getLocationByState",e),new Error(e)}})}getApiZipcodeByZip(e){return(0,i.mG)(this,void 0,void 0,function*(){if(u.cmp.isEmpty(e))return null;try{let t=new _.Pd;t.filters=[new _.Xo("Zip5",A.d.eq,A.Ge.str,A.zX.or,[e])],t.pageSize=1,t.queryType=A.xL.zipCode;let n=(0,v.y)(t),i=yield this._promiseService.getZipcodeLocationPromise(n);return i.value.length>0?i.value[0]:null}catch(t){throw this._logException("getApiZipcodeByZip",t),new Error(t)}})}getApiZipcodeByCityState(e,t){return(0,i.mG)(this,void 0,void 0,function*(){if(u.cmp.isEmpty(e)||u.cmp.isEmpty(t))return null;try{let n=new _.Pd,i=d.hn.getCityAliases(e);n.filters=[new _.Xo("City",A.d.eq,A.Ge.str,A.zX.or,i),new _.Xo("StateAbbreviation",A.d.eq,A.Ge.str,A.zX.and,[t])],n.pageSize=1,n.queryType=A.xL.zipCode;let a=(0,v.y)(n),o=yield this._promiseService.getZipcodeLocationPromise(a);return o.value.length>0?o.value[0]:null}catch(n){throw this._logException("getApiZipcodeByCityState",n),new Error(n)}})}getDealershipFromZipCode(e){return(0,i.mG)(this,void 0,void 0,function*(){try{let t=yield this.getApiZipcodeByZip(e);return u.cmp.isDefinedAndNotNull(t)&&u.cmp.isDefinedAndNotNull(t.DealershipNumber)?yield this._dealershipService.getDealershipFromNumber(t.DealershipNumber):null}catch(t){throw this._logException("_getDealershipFromZipCode failed",t),new Error(t)}})}getRegionFromRegionData(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=u.StringUtils.slug(e);return this._getRegionData(e=>u.StringUtils.slug(e.RegionDescription)===t)})}getRegionByShortName(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=u.StringUtils.slug(e);return this._getRegionData(e=>u.StringUtils.slug(e.RegionShortName)===t)})}_getRegionData(e){return(0,i.mG)(this,void 0,void 0,function*(){try{return u.cmp.isEmpty(this._regionData)&&(this._regionData=(yield this._promiseService.getRegionsPromise()).Regions),this._regionData.find(e)}catch(t){throw this._logException("_getRegionData",t),new Error(t)}})}_getLocationByIpOrParams(e){return(0,i.mG)(this,void 0,void 0,function*(){try{let t=yield this._promiseService.getLocation(e);return u.cmp.isEmpty(t.city)?yield this._getLocationByLatLng(t.lat,t.lng):t}catch(t){throw this._logException("_getLocationByIpOrParams",t),new Error(t)}})}_getLocationByLatLng(e,t,n=250){return(0,i.mG)(this,void 0,void 0,function*(){if(u.cmp.isUndefinedOrNull(e)||u.cmp.isUndefinedOrNull(t))throw new Error("Latitude and/or Longitude not provided.");try{let i=new _.Pd;i.lat=e,i.lng=t,i.mileRadius=n,i.pageSize=1,i.queryType=A.xL.zipCode,i.orderBy=new _.IX(A.rw[A.rw.distance],A.eQ[A.eQ.asc]);let a=(0,v.y)(i),o=yield this._promiseService.getZipcodeLocationPromise(a);if(u.cmp.isDefinedAndNotNull(o.value[0]))return this._apiZipToGoogleLocation(o.value[0]);this._analyticService.logAppInsightsMetric("ZIP index miss",1)}catch(i){throw this._logException("_getLocationByLatLng",i),new Error(i)}})}setLocationByLatLng(e,t){return(0,i.mG)(this,void 0,void 0,function*(){try{let n=yield this._getLocationByLatLng(e,t);if(u.cmp.isDefinedAndNotNull(n)){let e=Object.assign({isGeoLocated:!0,bestLocateStrategyAttempted:h.OS.Specific,bestLocateStrategySuccess:h.OS.Specific},n);yield this._updateStoreLocation(e,!0)}}catch(n){throw this._logException("setLocationByLatLng",n),new Error(n)}})}_updateFailedAttempt(e){return(0,i.mG)(this,void 0,void 0,function*(){if(this._location.bestLocateStrategyAttempted===e||this._location.bestLocateStrategyAttempted===h.OS.Specific||e===h.OS.Context&&this._location.bestLocateStrategyAttempted===h.OS.NonSpecific)return;let t=Object.assign({},this._location);t.bestLocateStrategyAttempted=e,yield this._updateStoreLocation(t)})}_updateStoreLocation(e,t=!1){return(0,i.mG)(this,void 0,void 0,function*(){let n=JSON.parse(JSON.stringify(e)),i=JSON.parse(JSON.stringify(this._location));!t&&u.cmp.areEqual(n,i)||u.cmp.isUndefinedOrNull(e)||(yield this._dealershipService.recalculateDistances(e),yield this._store.dispatchAsync(new C.F(e)),this._vsrDerivedProperties.seeIfWeNeedNewVehicles$.next(!0))})}_logException(e,t){this._analyticService.logException(t,`LocationService->${e} failed.`)}_apiZipToGoogleLocation(e){return{lat:e.Latitude,lng:e.Longitude,city:e.City,state:{longName:d.px.getLongFromShort(e.StateAbbreviation),shortName:e.StateAbbreviation},country:"US",zipCode:e.Zip5}}_logNonGeolocatedAnalytic(){this._isEntranced&&!this._canSetContextLocation&&this._analyticService.logNonInteractionAnalytic({category:"Geolocation",label:"NonGeolocated"})}isLatLngInSellRegion(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n=this._appConfigService.appSettings.ppc.sellRegions.split(","),i=[];try{i=yield Promise.all(n.map(e=>this.getRegionByShortName(e)))}catch(r){return this._logException("isLatLngInSellRegion",r),!1}let a=0,o=!1;for(;!o&&a<i.length;)o=u.NumberUtils.calcMilesBetweenTwoGeoPoints(i[a].Lat,i[a].Lng,e,t)<=250,a++;return o})}getRegionToCityMap(){return(0,i.mG)(this,void 0,void 0,function*(){try{return u.cmp.isUndefinedOrNull(this._regionToCityMap)&&(this._regionToCityMap=yield this._promiseService.getRegionToCityMapPromise()),this._regionToCityMap}catch(e){return this._logException("getRegionToCityMap",e),null}})}}return e.\u0275fac=function(t){return new(t||e)(M.LFG(S.k),M.LFG(l.D),M.LFG(c.g),M.LFG(r.F0),M.LFG(r.gz),M.LFG(m.u),M.LFG(y._),M.LFG("REQUEST"),M.LFG(g.ki),M.LFG(f.k),M.LFG(y._),M.LFG(b.D),M.LFG(k.y))},e.\u0275prov=M.Yz7({token:e,factory:e.\u0275fac}),e})()},45637:function(e,t,n){"use strict";n.d(t,{D:function(){return m}});var i=n(26215);class a{constructor(){this.vehicleDataSubject=new i.X(null)}publish(e){this.vehicle=e,this.vehicleDataSubject.next(this.vehicle)}}var o=n(79765);class r{constructor(){this.vehiclesMap={},this.similarVehicleDataSubject=new o.xQ}getVehicles(e){return this.vehiclesMap[e]}setVehicles(e,t){this.vehiclesMap[e]=t}publish(e,t){this.setVehicles(t.StockNumber,e),this.similarVehicleDataSubject.next(this.vehiclesMap)}}var s=n(20483),l=n(98648),c=n(10897);class d{constructor(){this.newInventoryDataSubject=new i.X([])}publish(e,t){let n=this.newInventoryDataSubject.getValue();n[t]=e,this.newInventoryDataSubject.next(n)}}class u{constructor(){this.manipulationSubject$=new i.X(null)}publish(e){this.manipulationSubject$.next(e)}}class p{constructor(){this.returnUserExperience=!1,this.returnUserExperienceSubject$=new i.X(!1)}publish(e){this.returnUserExperienceSubject$.next(e)}}var h=n(37716);let m=(()=>{class e{constructor(){}pickupWhereYouLeftOffVehicleDataMemory(){return s.cmp.isUndefinedOrNull(this._pickupWhereYouLeftOffVehicleData)&&(this._pickupWhereYouLeftOffVehicleData=new a),this._pickupWhereYouLeftOffVehicleData}vehicleMemory(){return s.cmp.isUndefinedOrNull(this._vehicleData)&&(this._vehicleData=new a),this._vehicleData}similarVehiclesMemory(){return s.cmp.isUndefinedOrNull(this._similarVehiclesData)&&(this._similarVehiclesData=new r),this._similarVehiclesData}vehiclesSortMemory(){return s.cmp.isUndefinedOrNull(this._vehicleSortData)&&(this._vehicleSortData=new l.S),this._vehicleSortData}activeDealershipMemory(){return s.cmp.isUndefinedOrNull(this._activeDealershipData)&&(this._activeDealershipData=new c.w9),this._activeDealershipData}allDealershipsMemory(){return s.cmp.isUndefinedOrNull(this._allDealershipsData)&&(this._allDealershipsData=new c.G9),this._allDealershipsData}stateDealershipsMemory(){return s.cmp.isUndefinedOrNull(this._stateDealershipsData)&&(this._stateDealershipsData=new c.d7),this._stateDealershipsData}regionDealershipsMemory(){return s.cmp.isUndefinedOrNull(this._regionDealershipsData)&&(this._regionDealershipsData=new c.DJ),this._regionDealershipsData}newInventoryMemory(){return s.cmp.isUndefinedOrNull(this._newInventoryData)&&(this._newInventoryData=new d),this._newInventoryData}dsrMapManipulation(){return s.cmp.isUndefinedOrNull(this._dsrMapManipulation)&&(this._dsrMapManipulation=new u),this._dsrMapManipulation}returnUserExperience(){return s.cmp.isUndefinedOrNull(this._returnUserExperience)&&(this._returnUserExperience=new p),this._returnUserExperience}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=h.Yz7({token:e,factory:e.\u0275fac}),e})()},68559:function(e,t,n){"use strict";n.d(t,{l:function(){return p}});var i=n(38583),a=n(20483),o=n(2694),r=n(67041),s=n(13535),l=n(76917),c=n(51751),d=n(37716),u=n(39075);let p=(()=>{class e{constructor(e,t,n,i,a,r,s,c){this._document=e,this.router=t,this._meta=n,this._title=i,this._rendererFactory=a,this._appConfigService=r,this._linkHelper=s,this._activatedRoute=c,this._metaPropertyCheck=/^(og:|fb:|twitter:|business:|product:)/,this._currentSeoData={},this.currentRelCanonical="",this.shouldRemoveRelCanonical=!1,this._renderer=l.N.buildRenderer(this._rendererFactory,this._document),this.router.events.subscribe(e=>{e instanceof o.OD&&(this.shouldRemoveRelCanonical=!0)})}setSeoElements(e){this.setPageTitle(e.title);let t=c.A.getCurrentRouteData(this._activatedRoute),n=a.cmp.isDefinedAndNotNull(t)&&t.useQueryParamsForOgUrl?this._linkHelper.currentUrl():this._linkHelper.currentUrlNoQueryString();n.includes("prerender")||(e["og:url"]=n);let i=Object.assign({},this._currentSeoData);for(let a in e)if(e.hasOwnProperty(a)){if("title"===a)continue;this._currentSeoData[a]!==e[a]&&this.setMetaElement(a,e[a]),delete i[a]}for(let a in i)i.hasOwnProperty(a)&&(delete this._currentSeoData[a],this._removeMetaElement(a));this.shouldRemoveRelCanonical&&this.removeRelCanonical()}setPageTitle(e){this._title.setTitle(a.cmp.isNotEmpty(e)?e:"DriveTime")}setMetaElement(e,t){let n=this._getMetaNameAttribute(e),i=`${n}="${e}"`;a.cmp.isDefinedAndNotNull(this._meta.getTag(i))?this._meta.updateTag({content:t},i):this._meta.addTag({[n]:e,content:t}),this._currentSeoData[e]=t}_removeMetaElement(e){let t=`${this._getMetaNameAttribute(e)}="${e}"`;this._meta.removeTag(t)}_getMetaNameAttribute(e){return this._metaPropertyCheck.test(e)?"property":"name"}setRelCanonicalElement(e){if(a.cmp.isEmpty(e))return;this.removeRelCanonical();let t=this._renderer.createElement("link");this._renderer.setAttribute(t,"rel","canonical"),this._renderer.setAttribute(t,"href",e),this._renderer.appendChild(this._document.head,t),this.currentRelCanonical=e,this.shouldRemoveRelCanonical=!1}_getRelElement(e){return this._appConfigService.isServerPrerender?null:this._document.querySelector(`link[rel="${e}"]`)}removeRelCanonical(){let e=this._getRelElement("canonical");a.cmp.isDefinedAndNotNull(e)&&this._renderer.removeChild(e.parentElement,e),this.currentRelCanonical=""}setVSRPaginationRelElements(e,t){if(e>1&&a.cmp.isUndefinedOrNull(this._getRelElement("prev"))){let t=`${this._linkHelper.currentUrlNoQueryString()}?page=${e-1}`,n=this._renderer.createElement("link");this._renderer.setAttribute(n,"rel","prev"),this._renderer.setAttribute(n,"href",t),this._renderer.appendChild(this._document.head,n)}if(e<t&&a.cmp.isUndefinedOrNull(this._getRelElement("next"))){let t=`${this._linkHelper.currentUrlNoQueryString()}?page=${e+1}`,n=this._renderer.createElement("link");this._renderer.setAttribute(n,"rel","next"),this._renderer.setAttribute(n,"href",t),this._renderer.appendChild(this._document.head,n)}}setMetaElementsFromDealership(e){a.cmp.isUndefinedOrNull(e)||(this.setMetaElement("country","USA, United States, United States of America"),this.setMetaElement("DC.title","DriveTime Used Cars"),this.setMetaElement("geo.position",`${e.GeoPoint.coordinates[1]}, ${e.GeoPoint.coordinates[0]}`),this.setMetaElement("ICBM",`${e.GeoPoint.coordinates[1]}, ${e.GeoPoint.coordinates[0]}`),this.setMetaElement("geo.region",`US-${e.StateAbbreviation}`),this.setMetaElement("state",`US-${e.StateAbbreviation}`),this.setMetaElement("geo.placename",`${e.City}, ${e.StateAbbreviation}`),this.setMetaElement("geography",`${e.City}, ${e.StateAbbreviation}`),this.setMetaElement("city",e.City),this.setMetaElement("zipcode",e.Zip5),this.setMetaElement("postalcode",e.Zip5),this.setMetaElement("address",e.AddressLine1))}}return e.\u0275fac=function(t){return new(t||e)(d.LFG(i.K0),d.LFG(o.F0),d.LFG(u.h_),d.LFG(u.Dx),d.LFG(d.FYo),d.LFG(r._),d.LFG(s.R),d.LFG(o.gz))},e.\u0275prov=d.Yz7({token:e,factory:e.\u0275fac}),e})()},17801:function(e,t,n){"use strict";n.d(t,{D:function(){return h}});var i=n(76917),a=n(38583),o=n(31547),r=n(26215),s=n(70764),l=n(20483),c=n(46917),d=n(37716),u=(()=>{return(e=u||(u={})).C0001="DTNecessary",e.C0002="DTPerformance",e.C0003="DTFunctional",e.C0004="DTTargeting",e.C0005="DTSocialMedia",e.C0007="DTAdvertising",u;var e})();const p=["DTNecessary","DTPerformance","DTFunctional","DTTargeting","DTSocialMedia","DTAdvertising"];let h=(()=>{class e{constructor(e,t,n,a,o){this._analyticService=e,this._appStateService=t,this._rendererFactory=n,this._rendererService=a,this._document=o,this._renderer=i.N.buildRenderer(this._rendererFactory,this._document),this._geolocationUrl="https://geolocation.onetrust.com/cookieconsentpub/v1/geo/location/geofeed",this._preferenceCenterUrl="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js",this._modalLoadConfig={retries:10,interval:500},this.oneTrustLoaded$=new r.X(null)}getLocation(){return new Promise((e,t)=>{try{window.geofeed=t=>{this._analyticService.logTraceInfo("Onetrust service => GeoLocation",{location:JSON.stringify(t)}),e(t)},this._rendererService.renderScript("onetrustGeoLocation",this._document.head,()=>this._logScriptLoadAnalytic("GeoLocation","loaded successfully",!0),()=>t("Failed to load onetrust geo location script"),!0)}catch(n){this._logScriptLoadAnalytic("GeoLocation",n,!1),t(n)}})}loadOneTrustScript(){return new Promise((e,t)=>{try{const n=t=>{a=i,this.oneTrustLoaded$.next(!0),e(!0)},i=e=>{this._handleOneTrustGroupsUpdated(e)};let a=n;this.oneTrustListener=this._renderer.listen("window","OneTrustGroupsUpdated",e=>a(e)),this._rendererService.renderScript("onetrustPreferenceCenter",this._document.head,()=>this._logScriptLoadAnalytic("PreferenceCenter","loaded successfully",!0),()=>t("Failed to load onetrust preference center script"),!0,{"data-domain-script":this._appStateService.clientEnvVars$.getValue().oneTrust.dataDomain,charset:"UTF-8"})}catch(n){this._logScriptLoadAnalytic("PreferenceCenter",n,!1),t(n)}})}openOneTrustModal(){window.OneTrust.ToggleInfoDisplay(),this._logOneTrustLoadStatus()}_logOneTrustLoadStatus(){let e=0,t=window.setInterval(()=>{e>=0&&l.cmp.isUndefinedOrNull(document.querySelector(".close-pc-btn-handler"))?(this._analyticService.logException("PrivacyPreferencesModal","Failed to locate OneTrust modal after Privacy Preferences link was clicked."),window.clearInterval(t)):l.cmp.isDefinedAndNotNull(document.querySelector(".close-pc-btn-handler"))&&window.clearInterval(t),e++},this._modalLoadConfig.interval)}_handleOneTrustGroupsUpdated(e){const t=e.detail.map(e=>u[e]).filter(e=>null!=e);this._analyticService.logTraceInfo("Onetrust service => GroupsUpdated",{rawCategories:e.detail,mappedCategories:t});const n=window.dt.api.privacyPreferences.updatePreferences({allowedCategories:t});this._analyticService.logTraceInfo("Updated Privacy Preference State",{rawCategories:e.detail,mappedCategories:t,previousState:JSON.stringify(n.previousState),currentState:JSON.stringify(n.currentState),isStateChanged:n.isStateChanged}),n.isStateChanged&&this._analyticService.logAnalytic({category:"PrivacyPreferencesModal",label:"BlockedCategories",action:"selection",value:p.filter(e=>!t.toString().toLowerCase().includes(e.toLowerCase())).join(", ")})}_logScriptLoadAnalytic(e,t,n){this._analyticService.logTraceInfo(`Onetrust service => ${e} script ${n?"loaded successfully":"failed to load"}`,{success:n.toString(),message:t,script:e})}}return e.\u0275fac=function(t){return new(t||e)(d.LFG(s.g),d.LFG(o.Z),d.LFG(d.FYo),d.LFG(c.y),d.LFG(a.K0))},e.\u0275prov=d.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},69958:function(e,t,n){"use strict";n.d(t,{B:function(){return C}});var i=n(97582),a=n(67041),o=n(20483),r=n(79765),s=n(26215),l=n(18891),c=n(35674),d=n(17315),u=n(28645),p=n(51714),h=n(45435),m=n(15257),g=n(88002),f=n(87519),y=n(30277),_=n(48531),A=n(31547),v=n(53629),b=n(37716);class C{constructor(e,t,n){this._appConfig=e,this._store=t,this._appStateService=n,this._loadOptimizely=!1,this._activateFeatureSource=new r.xQ,this._metricSource=new r.xQ,this._clientInitialized=new s.X(!1),this._experimentsMap={},this._featuresMap={},this.decisionEvents=new r.xQ,this.testTimeDuration=45,this.testTimeUnit="d";let i=window.location.search.match(new RegExp("disable[o|O]ptimizely.[^&]*"));if(o.cmp.isNotEmpty(i))this._loadOptimizely="false"===i[0].split("=")[1];else{let e=window.location.search.match(new RegExp("testid|livetesting")),t=o.cmp.isNotEmpty(e);this._loadOptimizely=t||this._appConfig.isProd&&v.N.configuration.analytics.loadOptimizely}this._appConfig.isExperimentEnabled=this._loadOptimizely,this._activateFeatureSource.pipe((0,p.f)(this._clientInitialized.pipe((0,h.h)(e=>!0===e)))).subscribe(e=>e.forEach(e=>this.activateFeature(e))),this._metricSource.pipe((0,p.f)(this._clientInitialized.pipe((0,h.h)(e=>!0===e)))).subscribe(e=>e.forEach(e=>this.trackMetric(e)))}init(){return(0,i.mG)(this,void 0,void 0,function*(){this._appStateService.optimizelyDataFile$.pipe((0,h.h)(o.cmp.isDefinedAndNotNull),(0,m.q)(1)).subscribe(e=>(0,i.mG)(this,void 0,void 0,function*(){this._loadOptimizely&&this._appConfig.isBrowser&&(yield this.configureOptimizely(e)),this._clientInitialized.next(!0)}))})}configureOptimizely(e){return(0,i.mG)(this,void 0,void 0,function*(){this._optimizelyClient=c.Fs({datafile:e}),this._experimentsMap=this._optimizelyClient.getOptimizelyConfig().experimentsMap,this._appConfig.enabledExperiments=Object.keys(this._experimentsMap),this._featuresMap=this._optimizelyClient.getOptimizelyConfig().featuresMap,this._registerFeatures({[d.Fu.AppCertInsuranceComparison.Id]:{dynamicAttributes:[d.ZI.AppCertType]}}),yield this._optimizelyClient.onReady()})}isOptimizelyEnabled(){return this._loadOptimizely}_registerFeatures(e){Object.keys(e).forEach(t=>{o.cmp.isNotEmpty(e[t].dynamicAttributes)&&this.attributes$.pipe((0,g.U)(n=>{let i={};return e[t].dynamicAttributes.forEach(e=>i[e]=n[e]),i}),(0,h.h)(e=>o.cmp.isNotEmpty(e)),(0,f.x)()).subscribe(e=>{let n=this._isFeatureActivatedAndEnabled(t,e);n&&this._store.dispatch(new _.lH(t,n))})}),this._optimizelyClient.notificationCenter.addNotificationListener(c.kE.NOTIFICATION_TYPES.DECISION,e=>{if("feature"===e.type&&(this._store.dispatch(new _.lH(e.decisionInfo.featureKey,e.decisionInfo.featureEnabled)),"feature-test"===e.decisionInfo.source)){this._store.dispatch(new _.Jy(e.decisionInfo.featureKey,e.decisionInfo.sourceInfo.experimentKey,e.decisionInfo.sourceInfo.variationKey));let{experimentKey:t,variationKey:n}=e.decisionInfo.sourceInfo;this.decisionEvents.next({featureKey:e.decisionInfo.featureKey,experimentKey:t,variationKey:n,experimentId:this._experimentsMap[t].id,variationId:this._experimentsMap[t].variationsMap[n].id})}})}_isFeatureActivatedAndEnabled(e,t){if(!(Object.keys(this._store.featuresSnapshot().features).indexOf(e)>=0&&this._loadOptimizely))return!1;try{return this.isFeatureEnabled(e,t)}catch(n){return!1}}_setFeatureVariablesInStore(e){let t=this._featuresMap[e];if(o.cmp.isDefinedAndNotNull(t))for(let n in t.variablesMap)if(t.variablesMap.hasOwnProperty(n)){let i=t.variablesMap[n];this._setFeatureVariableInStore(e,i.key,i.value,i.type)}}_setFeatureVariableInStore(e,t,n,i){let a;const o=(e,t)=>{try{switch(e){case"boolean":return"true"===t;case"integer":return parseInt(t,10);case"double":return parseFloat(t);default:return t}}catch(n){return null}};try{switch(i){case"boolean":a=this._loadOptimizely?this._optimizelyClient.getFeatureVariableBoolean(e,t,this._getUserId(),this._store.featuresSnapshot().attributes):o(i,n);break;case"string":a=this._loadOptimizely?this._optimizelyClient.getFeatureVariableString(e,t,this._getUserId(),this._store.featuresSnapshot().attributes):o(i,n);break;case"integer":a=this._loadOptimizely?this._optimizelyClient.getFeatureVariableInteger(e,t,this._getUserId(),this._store.featuresSnapshot().attributes):o(i,n);break;case"double":a=this._loadOptimizely?this._optimizelyClient.getFeatureVariableDouble(e,t,this._getUserId(),this._store.featuresSnapshot().attributes):o(i,n);break;case"json":a=this._loadOptimizely?this._optimizelyClient.getFeatureVariableJSON(e,t,this._getUserId(),this._store.featuresSnapshot().attributes):o(i,n)}}catch(r){a=o(i,n)}this._store.dispatch(new _.MI(e,t,a))}activateFeature(e){return(0,i.mG)(this,void 0,void 0,function*(){if(this._clientInitialized.getValue()){let t=this._store.featuresSnapshot()[e];if(!o.cmp.isDefinedAndNotNull(t)){let t=!1;this._loadOptimizely&&(t=this.isFeatureEnabled(e)),yield this._store.dispatchAsync(new _.lH(e,t)),this._setFeatureVariablesInStore(e)}}else this._activateFeatureSource.next(e)})}activateFeatureAndSetVariationsInStore(e,t){return(0,i.mG)(this,void 0,void 0,function*(){try{return yield this.activateFeature(e),yield this._setVariationInStore(e,t)}catch(n){return!1}})}trackMetric(e){return(0,i.mG)(this,void 0,void 0,function*(){this._loadOptimizely&&this._appConfig.isBrowser&&(this._clientInitialized.getValue()?this._optimizelyClient.track(e,this._getUserId()):this._metricSource.next(e))})}isFeatureEnabled(e,t){try{return t=this._getStoreAttributes(t),this._optimizelyClient.isFeatureEnabled(e,this._getUserId(),t)}catch(n){return!1}}_getUserId(){return o.cmp.isNotEmpty(this._appStateService.optimizelyTestingId)?this._appStateService.optimizelyTestingId:this._appStateService.getUserId()}_getStoreAttributes(e){return o.cmp.isDefinedAndNotNull(e)?e:Object.assign({[d.ZI.IsProduction]:this._appConfig.isProd},this._store.featuresSnapshot().attributes)}_setVariationInStore(e,t){return(0,i.mG)(this,void 0,void 0,function*(){try{if(!this._featuresMap.hasOwnProperty(e))return!1;let n,i=this._featuresMap[e];if(o.cmp.isEmpty(i)||o.cmp.isEmpty(i.experimentsMap))return!1;if(t=t||Object.keys(i.experimentsMap)[0],!o.cmp.isDefinedAndNotNull(t))return!1;if(n=this.getVariation(t),o.cmp.isDefinedAndNotNull(n))return!1;const a=i.experimentsMap[t].id||null;return yield this._store.dispatchAsync(new _.Jy(e,t,n)),this.decisionEvents.next({featureKey:e,experimentKey:t,experimentId:a,variationKey:n,variationId:null}),!0}catch(n){return!1}})}getFeatureVariation(e){let t=this._store.featuresSnapshot().features[e];return o.cmp.isDefinedAndNotNull(t)&&o.cmp.isDefinedAndNotNull(t.featureTest)?t.featureTest.variation:null}getVariation(e,t){try{return t=this._getStoreAttributes(t),this._optimizelyClient.getVariation(e,this._getUserId(),t)}catch(n){return null}}getForcedVariation(e){try{return this._optimizelyClient.getForcedVariation(e,this._getUserId())}catch(t){return null}}setForcedVariation(e,t){return(0,i.mG)(this,void 0,void 0,function*(){try{return this._optimizelyClient.setForcedVariation(e,this._getUserId(),t)}catch(n){return!1}})}clearForceVariation(e){return(0,i.mG)(this,void 0,void 0,function*(){return yield this.setForcedVariation(e,null)})}}C.\u0275fac=function(e){return new(e||C)(b.LFG(a._),b.LFG(y.k),b.LFG(A.Z))},C.\u0275prov=b.Yz7({token:C,factory:C.\u0275fac}),(0,i.gn)([(0,u.Ph)(e=>e.app.features.attributes),(0,i.w6)("design:type",l.y)],C.prototype,"attributes$",void 0)},41046:function(e,t,n){"use strict";n.d(t,{N:function(){return A}});var i=n(97582),a=n(69958),o=n(30277),r=n(2694),s=n(48531),l=n(17315),c=n(28049),d=n(45435),u=n(46782),p=n(28645),h=n(40466),m=n(79765),g=n(51751),f=n(80352),y=n(20483),_=n(37716);class A{constructor(e,t,n,i){this._optimizelyFullStackService=e,this._store=t,this._router=n,this._activatedRoute=i,this._showBiweeklyPmtAppCertFlaggedOn$=new m.xQ,this._initFeatureState().then(()=>{this._handleAppCertExp(),this._watchFeatureVarToggles()})}_initFeatureState(){return(0,i.mG)(this,void 0,void 0,function*(){yield this._store.dispatchAsync(new s.HT(l.vv.VsfMultiPmtFreq.Id)),yield this._store.dispatchAsync(new s.lH(l.vv.VsfMultiPmtFreq.Id,!0)),this._isAppCertExpEligible=!1})}_watchFeatureVarToggles(){this._showBiweeklyPmtAppCert$.pipe((0,c.P)(e=>e)).subscribe(()=>this._showBiweeklyPmtAppCertFlaggedOn$.next())}set _showBiweeklyPmtAppCert(e){this._store.dispatch(new s.MI(l.vv.VsfMultiPmtFreq.Id,l.vv.VsfMultiPmtFreq.ShowBiweeklyPmtAppCert,e))}set _isAppCertExpEligible(e){this._store.dispatch(new s.pm(l.ZI.IsVsfMultiPmtFreqAppCertEligible,e))}_handleAppCertExp(){this._isAppCertExpEligible=!0,this._router.events.pipe((0,d.h)(e=>e instanceof r.m2),(0,c.P)(()=>g.A.getCurrentRouteData(this._activatedRoute).name===f.x4.VehicleSearchResults),(0,u.R)(this._showBiweeklyPmtAppCertFlaggedOn$)).subscribe(()=>{this._isAppCertExpEligible=!1}),this._optimizelyFullStackService.decisionEvents.pipe((0,c.P)(e=>e.featureKey===l.Fu.VsfMultiPmtFreqAppCert.Id),(0,u.R)(this._showBiweeklyPmtAppCertFlaggedOn$)).subscribe(e=>{e.variationKey===l.Fu.VsfMultiPmtFreqAppCertVariationKeys.Biweekly&&(this._showBiweeklyPmtAppCert=!0)})}getAppCertVariation(){const e=this._store.featuresSnapshot().features[l.vv.VsfMultiPmtFreq.Id];return y.cmp.isUndefinedOrNull(e)||y.cmp.isUndefinedOrNull(e.variables)?l.jl.AppCertPaymentFreqMonthly:!0===e.variables[l.vv.VsfMultiPmtFreq.ShowBiweeklyPmtAppCert]?l.jl.AppCertPaymentFreqBiweekly:l.jl.AppCertPaymentFreqMonthly}}A.\u0275fac=function(e){return new(e||A)(_.LFG(a.B),_.LFG(o.k),_.LFG(r.F0),_.LFG(r.gz))},A.\u0275prov=_.Yz7({token:A,factory:A.\u0275fac}),(0,i.gn)([(0,p.Ph)(h.LW.getVariableValue(l.vv.VsfMultiPmtFreq.Id,l.vv.VsfMultiPmtFreq.ShowBiweeklyPmtAppCert)),(0,i.w6)("design:type",m.xQ)],A.prototype,"_showBiweeklyPmtAppCert$",void 0)},98733:function(e,t,n){"use strict";n.d(t,{N:function(){return P}});var i=n(97582),a=n(82030),o=n(70764),r=n(26215),s=n(79765),l=n(9112),c=n(18891),d=n(20483),u=n(82856),p=n(51751),h=n(2694),m=n(80352),g=n(20618),f=n(28645),y=n(45435),_=n(87519),A=n(90672),v=n(9298),b=n(45807),C=n(30277);class w{constructor(){this.finance=0,this.default=0}}var S=n(96645),k=n(92547),M=n(37716);class P{constructor(e,t,n,i,a){this._promiseService=e,this._analyticService=t,this._router=n,this._activatedRoute=i,this._dtmStore=a,this.financingStatus$=new r.X(null),this.financeOptionsResponse$=new s.xQ,this.financeOptionsResponse=null,this.isFetchingFinancing$=new r.X(!1),this.selectedCoverage$=new r.X(null),this.cacheMap=new Map,this.defaultDown=0,this.ancillaryCacheMap=new Map,this._savedIncome$=new r.X(void 0),this.savedIncome$=this._savedIncome$.asObservable(),this._tradeInValue=0,this._realTimeFinancingFailed=!1,this._statedCashDown=0,this.currentLoadingDownPayment=0,this._downPayment=new w,this._router.events.subscribe(e=>{if(e instanceof h.m2){let e=p.A.getCurrentRouteData(this._activatedRoute).name;d.cmp.isDefinedAndNotNull(e)&&(e!==m.x4.VehicleDetails&&e!==m.x4.TermsConfirmedSchedule&&e!==m.x4.AncillaryRefinement||this._vehicleChanged())&&this.init()}}),(0,l.aj)(this._income$,this._incomeType$,this._coBuyerIncome$,this._totalIncome$).pipe((0,y.h)(([e,t])=>d.cmp.areAllDefinedAndNotNull(e,t))).subscribe(([e,t,n,i])=>{this._savedIncome$.next({totalIncome:e,incomeType:t,cobuyerIncome:n}),this._totalIncome=i}),this._desiredDown$.pipe((0,y.h)(d.cmp.areAllDefinedAndNotNull)).subscribe(e=>{this._desiredDown=e}),this._tradeInValue$.pipe((0,_.x)()).subscribe(e=>this._tradeInValue=e),this._statedCashDown$.subscribe(e=>this._statedCashDown=e||0),this._realTimeFinancingFailed$.subscribe(e=>this._realTimeFinancingFailed=e),this._enableVdpAdjustSliderDown$.subscribe(e=>this._enableVdpAdjustSliderDown=e)}setCreditAppId(e){this._ga2CreditAppId=e}_setupFinancing(e){this.isFetchingFinancing$.next(!0),this.financingInputs=e,this._downPayment=Object.assign(Object.assign({},this._downPayment),{finance:e.desiredDown,desired:e.desiredDown}),this.currentLoadingDownPayment=this._downPayment.finance}_isFinancingCached(e,t){return this.cacheMap.has(e)&&this.cacheMap.get(e).has(t)}getRealTimeFinancing(e){return(0,i.mG)(this,void 0,void 0,function*(){let t;return this._setupFinancing(e),t=this._isFinancingCached(this._totalIncome,this._downPayment.finance)?yield this._getCache(this._totalIncome,this._downPayment.finance):yield this.callFinancing(e),t})}getFinanceOptions(e){return(0,i.mG)(this,void 0,void 0,function*(){let t;return this._setupFinancing(e),t=this._isFinancingCached(this._totalIncome,this._downPayment.finance)?this._getCache(this._totalIncome,this._downPayment.finance):yield this._callFinanceOptions(e,null),t})}callRealTimeFinancing(e){return(0,i.mG)(this,void 0,void 0,function*(){yield this._promiseService.getRealTimeFinancing(e).then(e=>(0,i.mG)(this,void 0,void 0,function*(){let t={options:{[v.vV.NoProducts]:e}};yield this.handleTerms(t)}))})}callFinancing(e){return(0,i.mG)(this,void 0,void 0,function*(){return this._promiseService.getMultiVehicleFinancing({stockNumbers:[e.stockNumber],leadId:e.leadId,statedIncome:e.statedIncome,incomeType:e.incomeType,desiredDown:e.desiredDown,certLeadInjectionId:e.certLeadInjectionId,dtmAnalyticsSessionId:e.dtmAnalyticsSessionId,dtmAnalyticsUserId:e.dtmAnalyticsUserId,financeOptionsKey:e.financeOptionsKey,mockScenario:e.mockScenario}).then(e=>{const t=e.terms[0];return{options:{[v.vV.NoProducts]:{isValidOption:0===e.errors.length,leadId:e.leadId,salesPrice:t.salesPrice,statedIncome:e.statedIncome,stockNumber:t.stockNumber,desiredDown:t.desiredDown,creditAppId:this._ga2CreditAppId?Number(this._ga2CreditAppId):void 0,ancillaryProducts:[],terms:{amountFinanced:t.amountFinanced,apr:t.apr,loanTerm:t.loanTerm,paymentAmount:t.paymentAmount,paymentFrequency:t.paymentFrequency,requiredDown:t.requiredDown,totalDown:t.totalDown}}}}}).catch(e=>(this._analyticService.logException(e,"vdp finance calculator -> fetch finance slider failed."),{}))})}_callFinanceOptions(e,t=null){return(0,i.mG)(this,void 0,void 0,function*(){return this._promiseService.getFinanceOptions(e).then(n=>(this._handleTermsForMockPhase1b(n),d.cmp.isDefinedAndNotNull(e.financeOptionsKey)&&e.financeOptionsKey===A.m.AvailableCoverage&&null===t?this.updateSelectedCoverage(v.vV.PremiumProducts):this.updateSelectedCoverage(d.cmp.isDefinedAndNotNull(t)?t:v.vV.PremiumProducts),n)).catch(e=>(this._analyticService.logException(e,"phase1B getFinanceOptions failed!"),{}))})}fetchFailed(){this.isFetchingFinancing$.next(!1),this.setRealTimeFinancingFailed(!this._realTimeFinancingFailed),this.financingStatus$.next(g.e.Error)}setRealTimeFinancingFailed(e){this._dtmStore.dispatch(new b.TD(e))}getDefaultDownPayment(e=0,t=0,n=!1,i=0){return n?e>i?e:i:e>t?e:t}_getCache(e,t){return{options:{[v.vV.NoProducts]:this.cacheMap.get(e).get(t)}}}revertToLastValidDefaultTerms(e){return(0,i.mG)(this,void 0,void 0,function*(){yield this._dtmStore.dispatchAsync(new b.TG);const{tradeInValue:t,totalIncome:n,incomeType:i,lastDefaultFinancingTerms:a}=this._dtmStore.financingSnapshot();e.statedIncome=n,e.incomeType=i;const{requiredDown:o}=a.find(t=>t.stockNumber===e.stockNumber);return e.desiredDown=t>0?this.getDefaultDownPayment(t,o):o||0,yield this.getRealTimeFinancing(e)})}handleTerms(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=e.options[v.vV.NoProducts];if(!this._isFinanceResponseValid(t))return this.financingStatus$.next(g.e.Error),void(yield this._dtmStore.dispatchAsync(new b.TD(!0)));const{totalDown:n,requiredDown:i}=t.terms;this.currentLoadingDownPayment=Math.max(n,i),this._downPayment=Object.assign(Object.assign({},this._downPayment),{required:i,total:n});const a=this.mapVehicleTerms(t);d.cmp.isDefinedAndNotNull(a)&&(yield this._dtmStore.dispatchAsync(new b.ss([a]))),(0,u.P_)(t.salesPrice,i,this._tradeInValue,this._statedCashDown)?this.financingStatus$.next(g.e.NotEnoughFinanced):this.financingStatus$.next(g.e.Valid),this.defaultDown=i,t.terms.totalDown=this.currentLoadingDownPayment,e.options[v.vV.NoProducts]=t,this._updateFinanceTerms(e)})}_handleTermsForMockPhase1b(e){let t=e.options[v.vV.NoProducts];const{totalDown:n,requiredDown:i}=t.terms;this.currentLoadingDownPayment=Math.max(n,i),this.financingStatus$.next(g.e.Valid),this.defaultDown=i,t.terms.totalDown=this.currentLoadingDownPayment,e.options[v.vV.NoProducts]=t,this._updateFinanceTerms(e)}updateSelectedCoverage(e){this.selectedCoverage$.next(this.financeOptionsResponse.options[e])}init(){this.financingStatus$.next(null),this.financeOptionsResponse$.next(null),this.selectedCoverage$.next(null),this.cacheMap=new Map}_vehicleChanged(){const e=+p.A.getDeepestFirstChild(this._activatedRoute.snapshot).params.stockNumber;return!d.cmp.isDefinedAndNotNull(this.financingInputs)||this.financingInputs.stockNumber!==e}_updateFinanceTerms(e){if(v.vV.NoProducts in e.options){let t=e.options[v.vV.NoProducts];this.financeOptionsResponse$.next(e),this.financeOptionsResponse=e,this._setCacheMap(this._totalIncome,this.currentLoadingDownPayment,{isValidOption:t.isValidOption,ancillaryProducts:t.ancillaryProducts,leadId:t.leadId,salesPrice:t.salesPrice,statedIncome:t.statedIncome,stockNumber:t.stockNumber,desiredDown:this.currentLoadingDownPayment,appScore:t.appScore,creditAppId:t.creditAppId,mileage:t.mileage,mpg:t.mpg,financingDetails:t.financingDetails,terms:t.terms}),this._dtmStore.dispatch(new b.wJ),this._dtmStore.dispatch(new b.TD(!1))}else this.financingStatus$.next(g.e.Error),this._dtmStore.dispatch(new b.TD(!0))}_setCacheMap(e,t,n){this.financingStatus$.getValue()===g.e.Valid&&(this.cacheMap.has(e)||this.cacheMap.set(e,new Map),this.cacheMap.get(this._totalIncome).has(t)||this.cacheMap.get(e).set(t,n),this.isFetchingFinancing$.next(!1))}_isFinanceResponseValid(e){return!!this.hasFinanceTerms(e)&&(this.financingInputs.stockNumber===e.stockNumber&&this.financingInputs.statedIncome===e.statedIncome&&this.financingInputs.desiredDown===e.desiredDown)}hasFinanceTerms(e){return d.cmp.isDefinedAndNotNull(this.financingInputs)&&d.cmp.isDefinedAndNotNull(e)&&d.cmp.isDefinedAndNotNull(e.terms)}buildAnalyticValue(e,t,n,i){return(0,u.pp)(t,n,(this._savedIncome$.value||{}).totalIncome||0,i?(this._savedIncome$.value||{}).cobuyerIncome||0:null,this.financingInputs.incomeType,this._ga2CreditAppId,i?this._tradeInValue||0:null,e)}mapVehicleTerms(e){let t;return d.cmp.isDefinedAndNotNull(e)&&d.cmp.isDefinedAndNotNull(e.terms)&&(t={desiredDown:e.desiredDown,stockNumber:e.stockNumber,salesPrice:e.salesPrice,amountFinanced:e.terms.amountFinanced,appScore:e.appScore,apr:e.terms.apr,loanTerm:e.terms.loanTerm,paymentAmount:e.terms.paymentAmount,paymentFrequency:e.terms.paymentFrequency,requiredDown:e.terms.requiredDown,totalDown:e.terms.totalDown}),t}}P.\u0275fac=function(e){return new(e||P)(M.LFG(a.D),M.LFG(o.g),M.LFG(h.F0),M.LFG(h.gz),M.LFG(C.k))},P.\u0275prov=M.Yz7({token:P,factory:P.\u0275fac,providedIn:"root"}),(0,i.gn)([(0,f.Ph)(k.Z8.get(S.j.VSRCustomerInputs.EnableVdpAdjustSliderDown)),(0,i.w6)("design:type",c.y)],P.prototype,"_enableVdpAdjustSliderDown$",void 0),(0,i.gn)([(0,f.Ph)(e=>e.app.financing.statedIncome),(0,i.w6)("design:type",r.X)],P.prototype,"_income$",void 0),(0,i.gn)([(0,f.Ph)(e=>e.app.financing.incomeType),(0,i.w6)("design:type",r.X)],P.prototype,"_incomeType$",void 0),(0,i.gn)([(0,f.Ph)(e=>e.app.financing.coBuyerIncome),(0,i.w6)("design:type",r.X)],P.prototype,"_coBuyerIncome$",void 0),(0,i.gn)([(0,f.Ph)(e=>e.app.financing.totalIncome),(0,i.w6)("design:type",r.X)],P.prototype,"_totalIncome$",void 0),(0,i.gn)([(0,f.Ph)(e=>e.app.financing.desiredDown),(0,i.w6)("design:type",r.X)],P.prototype,"_desiredDown$",void 0),(0,i.gn)([(0,f.Ph)(e=>e.app.financing.tradeInValue),(0,i.w6)("design:type",r.X)],P.prototype,"_tradeInValue$",void 0),(0,i.gn)([(0,f.Ph)(e=>e.app.financing.realTimeFinancingFailed),(0,i.w6)("design:type",r.X)],P.prototype,"_realTimeFinancingFailed$",void 0),(0,i.gn)([(0,f.Ph)(e=>e.app.financing.statedCashDown),(0,i.w6)("design:type",r.X)],P.prototype,"_statedCashDown$",void 0)},1850:function(e,t,n){"use strict";n.d(t,{T:function(){return l}});var i=n(22479),a=n(13535),o=n(98529),r=n(67041),s=n(37716);let l=(()=>{class e{constructor(e,t){this._linkHelper=e,this._appConfigService=t}buildPhotoUrls(e,t){return Object.keys(i.I5).filter(e=>!isNaN(+e)).reduce((n,a)=>(n[i.I5[a].toLowerCase()]=this._buildPhotoUrl(+a,t,e),n),{})}deserializePrimaryPhoto(e){try{return[this._mapVehiclePhotoInfo(JSON.parse(e))]}catch(t){return[]}}deserializeVehiclePhotos(e){try{return JSON.parse(e).Photos.map(this._mapVehiclePhotoInfo)}catch(t){return[]}}buildGalleryImages(e,t){return e.map(e=>this._mapGalleryImage(e.full,e.small,t))}_mapGalleryImage(e,t,n){return new o.B0(e.displayDescription,e.photoUrl,t.photoUrl,`${n} ${e.displayDescription}`,!0)}_buildPhotoUrl(e,t,n){return{photoUrl:this._linkHelper.photoUrl(i.I5[e],n.photoUid,t),size:e,displayDescription:n.displayDescription}}_mapVehiclePhotoInfo(e){return{photoUid:e.PhotoUID,displayDescription:e.DisplayDescription}}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(a.R),s.LFG(r._))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})()},93111:function(e,t,n){"use strict";n.d(t,{O:function(){return y}});var i=n(82030),a=n(20483),o=n(13535),r=n(72349),s=n(68603),l=n(26215),c=n(9112),d=n(53629),u=n(30277),p=n(48531),h=n(17315),m=n(70764),g=n(46917),f=n(37716);let y=(()=>{class e{constructor(e,t,n,i,a,o){this._promiseService=e,this._linkHelper=t,this._cookieService=n,this._store=i,this._analyticService=a,this._rendererService=o,this.runStep$=new l.X(0),this._plaidScriptReady$=new l.X(!1),this._setPageAnalytics$=new l.X(null),this._navigateToPage$=new l.X(null),this._createOauthRedirectUrl$=new l.X(null)}initializePlaid(e){this.isEmail=e||!1,this._startPlaidScript(),(0,c.aj)([this._plaidScriptReady$,this.runStep$]).subscribe(([e,t])=>{0!==t&&e&&this._runPlaidForCurrentStep(t)})}_markPlaidAsReady(){this._plaidScriptReady$.next(!0)}_startPlaidScript(){this._rendererService.renderScript("plaid",document.head,this._markPlaidAsReady.bind(this))}setNextStep(e){this.runStep$.next(e)}_runPlaidForCurrentStep(e){switch(e){case 1:return this._initStepOne();case 2:return this._initStepTwo()}}_init(){this.clearState(),this._routeQueryParams=this._linkHelper.getCurrentQueryParams(),this._taskId=this._routeQueryParams.taskId,this._analyticsUserId=this._routeQueryParams.trackId,this._setPageAnalytics$.next(this._analyticsUserId),this._createOAuthRedirectUrl()}_initStepOne(){this._init(),this._userInfo={id:this._routeQueryParams.id,oauthNonce:r.uR.generateUuid()},this._cookieService.set("dtmPlaidUser",JSON.stringify(this._userInfo),null,"/");let e=this._getBasePlaidParams();e.oauthRedirectUri=this.oAuthRedirectUrl,this._runPlaid(e)}_initStepTwo(){this._init();let e=this._routeQueryParams.id,t=this._routeQueryParams.oauth_state_id;if(this._userInfo=JSON.parse(this._cookieService.get("dtmPlaidUser")),a.cmp.isEmpty(e)||a.cmp.isEmpty(t)||a.cmp.isUndefinedOrNull(this._userInfo)||a.cmp.isUndefinedOrNull(this._userInfo.oauthNonce)||this._userInfo.id!==e)return void this._linkHelper.navigate(this._linkHelper.homePage({asUrlObject:!0}));let n=this._getBasePlaidParams();n.oauthStateId=this._routeQueryParams.oauth_state_id,n.oauthNonce=this._userInfo.oauthNonce,this._runPlaid(n)}_getBasePlaidParams(){return{clientName:"DriveTime",countryCodes:["US"],env:d.N.configuration.plaid.env,key:d.N.configuration.plaid.publicKey,product:["assets"],onSuccess:this._onSuccess.bind(this),onExit:this._onExit.bind(this),oauthNonce:this._userInfo.oauthNonce}}clearState(){a.cmp.isDefinedAndNotNull(this._plaid)&&(this._plaid.exit(!0),this._plaid.destroy()),this._userInfo=void 0,this._routeQueryParams=void 0}_runPlaid(e){this._plaid=window.Plaid.create(e),this._plaid.open()}_onSuccess(e,t){let n;if(this.isEmail){const i=this._linkHelper.getCurrentQueryParams();n={leadId:this._routeQueryParams.id,publicToken:e,metaData:t,source:i.source?i.source:""}}else n={leadId:this._routeQueryParams.id,taskId:this._taskId,publicToken:e,metaData:t};const i={LeadId:n.leadId,TaskId:n.taskId,PublicToken:n.publicToken,AccountId:a.cmp.isDefinedAndNotNull(n.metaData)?n.metaData.id:null,VerificationStatus:a.cmp.isDefinedAndNotNull(n.metaData)?n.metaData.verification_status:null};this._analyticService.logAppInsights("plaid-account-link-success",i),this._promiseService.bankAccountLinked(n),this._navigateToPage$.next({navigateTo:"success",options:this._buildUrlOptions()})}_onExit(){this._navigateToPage$.next({navigateTo:"close",options:this._buildUrlOptions()})}navigateToEntryPage(){this._navigateToPage$.next({navigateTo:"entry",options:this._buildUrlOptions()})}_buildUrlOptions(){return{queryParams:{id:this._routeQueryParams.id,trackId:this._analyticsUserId,taskId:this._taskId},asUrlObject:!0}}_createOAuthRedirectUrl(){this._createOauthRedirectUrl$.next({params:{useHost:!0,queryParams:{id:`${this._routeQueryParams.id}`}}})}_getOAuthRedirectUrl(e){this.oAuthRedirectUrl=e}getPlaidScore(e){a.cmp.isDefinedAndNotNull(e)&&this._promiseService.getPlaidScore(e).then(t=>{this._analyticService.logAppInsights("plaid_service_get_plaid_score",{LeadId:e,HasScore:t.HasScore}),this._store.dispatch(new p.pm(h.ZI.HasPlaidScore,t.HasScore))})}}return e.\u0275fac=function(t){return new(t||e)(f.LFG(i.D),f.LFG(o.R),f.LFG(s.N),f.LFG(u.k),f.LFG(m.g),f.LFG(g.y))},e.\u0275prov=f.Yz7({token:e,factory:e.\u0275fac}),e})()},82030:function(e,t,n){"use strict";n.d(t,{D:function(){return f}});var i=n(97582),a=n(88002),o=n(91841),r=n(13535),s=n(12991),l=n(67041),c=n(39654),d=n(70764),u=n(20483),p=n(58923),h=n(53629),m=n(48804),g=n(37716);let f=(()=>{class e{constructor(e,t,n,i,a){if(this._http=e,this._appConfig=t,this._linkHelper=n,this._analyticService=i,this._captchaService=a,this._postContentType=new o.WM({"Content-Type":"application/json"}),this._appConfig.isBrowser){let e=60*this._appConfig.appSettings.checkNewAppVersionTimer*1e3;window.setInterval(this._checkBuildVersion.bind(this),e)}}saveLeadPromise(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n=this._linkHelper.apiSaveLead({queryParams:{leadType:t}}),i=yield this._captchaService.setCaptchaHeaderOptions();return yield this._processNodeApiResponse(this._http.post(n,e,i,!1))})}sendPlaidInvite(e){return(0,i.mG)(this,void 0,void 0,function*(){const t=this._linkHelper.apiSendPlaidInvite();return this._processNodeApiResponse(this._http.post(t,e,null,!0))})}saveLeadAndGetFinancingTerms(e,t,n,a=null){return(0,i.mG)(this,void 0,void 0,function*(){let i={queryParams:{leadType:t,lastLeadInjectionToken:n}};a&&(i.queryParams.appCertExp=a);let o=this._linkHelper.apiSaveLeadAndGetFinancingTerms(i),r=yield this._captchaService.setCaptchaHeaderOptions();return yield this._processNodeApiResponse(this._http.post(o,e,r,!1))})}saveVehicle(e){return(0,i.mG)(this,void 0,void 0,function*(){return yield this._processNodeApiResponse(this._http.post(this._linkHelper.apiSaveVehicle(),e))})}getLocation(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=this._linkHelper.urlSearchParamsToObject(e);return yield this._processNodeApiResponse(this._http.get(this._linkHelper.apiLocation({queryParams:t})))})}getZipcodeLocationPromise(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=this._linkHelper.azureSearchZipIndex(),n={headers:new o.WM(this._getAzureSearchRequestHeaders()),observe:"response"},i=this._http.post(t,e,n).toPromise();return this._processAzureSearchResponse(yield i,e,"zipcodes")})}getRegionsPromise(){return(0,i.mG)(this,void 0,void 0,function*(){return yield this._processNodeApiResponse(this._http.get(this._linkHelper.apiLocationGetRegions()))})}getRegionToCityMapPromise(){return(0,i.mG)(this,void 0,void 0,function*(){return yield this._processNodeApiResponse(this._http.get(this._linkHelper.apiGetRegionToCityMap()))})}getDealershipsPromise(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=this._linkHelper.azureSearchDealershipIndex(),n={headers:new o.WM(this._getAzureSearchRequestHeaders()),observe:"response"},i=this._http.post(t,e,n).toPromise();return this._processAzureSearchResponse(yield i,e,"dealerships")})}getDealershipRatings(){return(0,i.mG)(this,void 0,void 0,function*(){return this._processNodeApiResponse(this._http.get(this._linkHelper.apiDealershipRatings()))})}getDealershipReviews(){return(0,i.mG)(this,void 0,void 0,function*(){return this._processNodeApiResponse(this._http.get(this._linkHelper.apiDealershipReviews()))})}getDealershipCountsPromise(e,t,n){return(0,i.mG)(this,void 0,void 0,function*(){let i={location:e,locType:t,state:n};return yield this._processNodeApiResponse(this._http.get(this._linkHelper.apiDealershipCounts({queryParams:i})))})}getFinanceOptions(e){return(0,i.mG)(this,void 0,void 0,function*(){return yield this._processNodeApiResponse(this._http.post(this._linkHelper.getFinanceOptions(),e))})}getRealTimeFinancing(e){return(0,i.mG)(this,void 0,void 0,function*(){return yield this._processNodeApiResponse(this._http.post(this._linkHelper.realTimeFinancing(),e,{},!1))})}getMultiVehicleFinancing(e){return(0,i.mG)(this,void 0,void 0,function*(){return yield this._processNodeApiResponse(this._http.post("/api/getmultivehiclefinancing",e))})}createOnlineBuyOption(e){return(0,i.mG)(this,void 0,void 0,function*(){return yield this._processNodeApiResponse(this._http.post(this._linkHelper.createOnlineBuyOption(),e))})}getUnderWritingSurveyAnswers(e){return this._processNodeApiResponse(this._http.get(this._linkHelper.getUnderWritingurveyAnswers({queryParams:{leadId:e.toString()}})))}updateVehiclePageViewsPromise(e){return this._http.post(this._linkHelper.incrementPageViewsUrl(e),null,void 0,!1).toPromise()}getMakeModelFacetsPromise(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=(0,c.x)(yield this._applyCoreAdjustExperiment(e)),n=this._linkHelper.azureSearchVehicleIndex(),i={headers:new o.WM(this._getAzureSearchRequestHeaders()),observe:"response"},a=this._http.post(n,t,i).toPromise();return(yield this._processAzureSearchResponse(yield a,t,"vehicles"))["@search.facets"].MakeDisplayName})}getMakeModelFacetsTotalCountPromise(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=(0,c.x)(yield this._applyCoreAdjustExperiment(e)),n=this._linkHelper.azureSearchVehicleIndex(),i={headers:new o.WM(this._getAzureSearchRequestHeaders()),observe:"response"},a=this._http.post(n,t,i).toPromise();return(yield this._processAzureSearchResponse(yield a,t,"vehicles"))["@odata.count"]})}getHistoricVehicleMapPromise(){return(0,i.mG)(this,void 0,void 0,function*(){return yield this._processNodeApiResponse(this._http.get(this._linkHelper.apiHistoricVehicleMap()))})}getVehicleCountsPromise(e,t,n,a){return(0,i.mG)(this,void 0,void 0,function*(){let i={location:e,locType:t,state:n,make:a};return yield this._processNodeApiResponse(this._http.get(this._linkHelper.apiVehicleCounts({queryParams:i})))})}getVehiclesPromise(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=(0,c.x)(yield this._applyCoreAdjustExperiment(e)),n=this._linkHelper.azureSearchVehicleIndex(),i={headers:new o.WM(this._getAzureSearchRequestHeaders()),observe:"response"},a=this._http.post(n,t,i).toPromise();return yield this._processAzureSearchResponse(yield a,t,"vehicles")})}getBuildVersion(){return(0,i.mG)(this,void 0,void 0,function*(){return yield this._processNodeApiResponse(this._http.get(this._linkHelper.apiBuildVersion(),!1))})}getOptimizelyDatafile(){return(0,i.mG)(this,void 0,void 0,function*(){return yield this._processNodeApiResponse(this._http.get(this._linkHelper.apiOptimizelyDatafile(),!0))})}_processNodeApiResponse(e){return(0,i.mG)(this,void 0,void 0,function*(){return yield e.pipe((0,a.U)(e=>e.data)).toPromise()})}_checkBuildVersion(){return(0,i.mG)(this,void 0,void 0,function*(){let e=yield this.getBuildVersion();if(!u.cmp.isEmpty(e)&&"unknown"!==e&&this._appConfig.isBrowser){let t=this._appConfig.buildVersion.getValue();"unknown"===t?this._appConfig.buildVersion.next(e):t!==e&&(this._analyticService.logNonInteractionAnalytic({category:"Global",label:"ForceReload"},!0),window.location.reload(!0))}})}_getAzureSearchRequestHeaders(){return{"Content-Type":"application/json","x-ms-azs-return-searchid":"true","Access-Control-Expose-Headers":p.J8.AzureSearchId,"retry-eligible-on-error":"true","allow-body-to-be-logged":"true"}}_processAzureSearchResponse(e,t,n){let i=e.body;if(void 0===e.headers.get)return i;let a=e.headers.get(p.J8.AzureSearchId),o={SearchServiceName:h.N.configuration.azureSearchApi.url,SearchId:a,IndexName:n,QueryTerms:JSON.stringify(t),ResultCount:i["@odata.count"],ScoringProfile:null};return this._analyticService.logAppInsightsAzureSearchAnalytic(o),i}_applyCoreAdjustExperiment(e){return(0,i.mG)(this,void 0,void 0,function*(){return Object.assign(Object.assign({},e),{experimentVehicleFilter:""})})}bankAccountLinked(e){return(0,i.mG)(this,void 0,void 0,function*(){yield this._http.post(this._linkHelper.apiBankAccountLinked(),e,{},!1).toPromise()})}getPlaidScore(e){return this._http.get(this._linkHelper.getPlaidScore()+"?leadId="+e,!1).toPromise()}getActiveCreditApp(e){return(0,i.mG)(this,void 0,void 0,function*(){return this._processNodeApiResponse(this._http.get(this._linkHelper.apiCreditAppId(e)))})}validateChatOption(e){let t=`${this._linkHelper.validateChatOption()}?time=${e}&timezone=US Mountain Standard Time`;return this._http.get(t,!1)}}return e.\u0275fac=function(t){return new(t||e)(g.LFG(s.G),g.LFG(l._),g.LFG(r.R),g.LFG(d.g),g.LFG(m.n))},e.\u0275prov=g.Yz7({token:e,factory:e.\u0275fac}),e})()},46917:function(e,t,n){"use strict";n.d(t,{y:function(){return d}});var i=n(37716),a=n(38583),o=n(20483),r=n(81659),s=n(53629),l=n(70764);const c={getFeedback:{code:(0,r.qI)(s.N.configuration.survey.id)},ga2P1LoaderSvg:{code:`(${r.Ur.toString()})()`},ga2P2LoaderSvg:{code:`(${r.Y2.toString()})()`},fullStory:{code:`(${r.Ox.toString()})()`},onetrustGeoLocation:{src:"https://geolocation.onetrust.com/cookieconsentpub/v1/geo/location/geofeed"},onetrustPreferenceCenter:{src:"https://cdn.cookielaw.org/scripttemplates/otSDKStub.js"},plaid:{src:"https://cdn.plaid.com/link/v2/stable/link-initialize.js"}};let d=(()=>{class e{constructor(e,t,n){this._rendererFactory=t,this._analyticService=n,this._renderer=this.buildRenderer(t,e)}buildRenderer(e,t){return e.createRenderer(t,{id:"-1",encapsulation:i.ifc.None,styles:[],data:{}})}renderScriptAsyncWithCallback(e,t,n,i){if(!window.dt.api.privacyPreferences.isScriptAllowed(e))return;this.renderScript(e,t,null,null,!0);let a=0,r={id:e,polledScript:n},s=window.setInterval(()=>{a>=20&&o.cmp.isUndefinedOrNull(window[n])?(window.clearInterval(s),this._analyticService.logTraceInfo("RendererService => renderScriptAsyncWithCallback api not found",r)):o.cmp.isDefinedAndNotNull(window[n])&&(window.clearInterval(s),this._analyticService.logTraceInfo("RendererService => renderScriptAsyncWithCallback api found",r),i()),a++},500)}renderScript(e,t,n,i,a,r){if(!window.dt.api.privacyPreferences.isScriptAllowed(e))return;const s=c[e];this._analyticService.logTraceInfo("RendererService => renderScript",{id:e,renderType:s.src?"src":"code"});let l=this._renderer.createElement("script");if(this._renderer.setAttribute(l,"type","text/javascript"),o.cmp.isDefinedAndNotNull(s.src)?this._renderer.setAttribute(l,"src",s.src):this._renderer.appendChild(l,this._renderer.createText(s.code)),!0===a&&this._renderer.setAttribute(l,"async",a.toString()),this._renderer.setProperty(l,"onload",()=>{"function"==typeof n&&n(),this.logScriptLoad(e)}),"function"==typeof i&&this._renderer.setProperty(l,"onerror",i),o.cmp.isNotEmpty(r))for(let o in r)r.hasOwnProperty(o)&&this._renderer.setAttribute(l,o,r[o]);this._renderer.appendChild(t,l),o.cmp.isDefinedAndNotNull(s.code)&&this.logScriptLoad(e)}renderDebug(e,t){let n=this._renderer.createElement("div");this._renderer.setProperty(n,"innerHTML",JSON.stringify(t)),this._renderer.appendChild(e,n)}logScriptLoad(e){this._analyticService.logTraceInfo(`RendererService => ${e} script loaded successfully`)}}return e.\u0275fac=function(t){return new(t||e)(i.LFG(a.K0),i.LFG(i.FYo),i.LFG(l.g))},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},98800:function(e,t,n){"use strict";n.d(t,{O:function(){return u}});var i=n(20483),a=n(26215),o=n(67041),r=n(30277),s=n(48531),l=n(17315),c=n(37716);const d=n(13322);let u=(()=>{class e{constructor(e,t){if(this._appConfig=e,this._store=t,this.isDesktop=new a.X(!1),this._appConfig.isBrowser){this.isDesktop.subscribe(e=>this._store.dispatch(new s.pm(l.ZI.IsDesktop,e)));let e="768px";if(i.cmp.isDefinedAndNotNull(d.Extras)&&i.cmp.isDefinedAndNotNull(d.Extras.Widths)){let t=d.Extras.Widths.find(e=>"mobile-max-width"===e.name);i.cmp.isDefinedAndNotNull(t)&&(e=t.value)}let t=window.matchMedia(`(min-width: ${e})`);t.addListener(e=>this.isDesktop.next(e.matches)),this.isDesktop.next(t.matches)}}}return e.\u0275fac=function(t){return new(t||e)(c.LFG(o._),c.LFG(r.k))},e.\u0275prov=c.Yz7({token:e,factory:e.\u0275fac}),e})()},31184:function(e,t,n){"use strict";n.d(t,{o:function(){return l}});var i=n(79765),a=n(22759),o=n(20483),r=n(67041),s=n(37716);let l=(()=>{class e{constructor(e){if(this._appConfig=e,this.events=new i.xQ,this.currentPosition=0,this.contentPostScroll=!1,this.currentScrollVal=0,this.prevScrollVal=0,this.atPageTop=!0,this.atPageTopArea=!0,this.atPageBottomArea=!1,this.scrollThreshold=80,this._isBodyScrollingBlocked=!1,this.debouncedTimeout=250,!this._appConfig.isBrowser)return;let t=e=>{this.detectScrollPosition(),this.events.next(e.target)},n=0,r=null;(0,a.R)(window,"scroll").subscribe(e=>{if(0===n)return t(e),void(n=Date.now());let i=Date.now()-n;if(i>=this.debouncedTimeout)return n=Date.now(),void t(e);o.cmp.isDefinedAndNotNull(r)&&window.clearTimeout(r),r=window.setTimeout(()=>{n=0,t(e)},this.debouncedTimeout-i)})}setScrollPosition(e){this._appConfig.isBrowser&&((document.scrollingElement?document.scrollingElement:document.documentElement).scrollTop=e)}smoothScroll(e){if(!this._appConfig.isBrowser)return;this.currentPosition=window.pageYOffset;let t=e>this.currentPosition,n=e-this.currentPosition,i=Math.round(n/25),a=this.setScrollTime(n);if(Math.abs(n)<100)return void window.scrollTo(0,e);let o=()=>{let a=this.setScrollTime(n);i=this.setStep(n,i),(document.scrollingElement?document.scrollingElement:document.documentElement).scrollTop=this.currentPosition+i,this.currentPosition=this.currentPosition+i,(t&&this.currentPosition<e||!t&&this.currentPosition>e)&&(n=e-this.currentPosition,window.setTimeout(o,a))};window.setTimeout(o,a)}setScrollTime(e){let t=Math.abs(Math.round(e/100));return t=t>=100?10:t>=75&&t<100?15:20,t}setStep(e,t){return Math.abs(e)<=150?e:t}getMaxScrollHeight(){let e=document.body,t=document.documentElement;return Math.max(e.scrollHeight,e.offsetHeight,t.scrollHeight,t.offsetHeight)-t.clientHeight}getBrowserScrollYAxisPosition(){return Math.max(window.pageYOffset,document.documentElement.scrollTop)}getElementScrollYAxisPosition(e){return o.cmp.isDefinedAndNotNull(e)?e.offsetTop-e.scrollTop:-1}getElementRectTopPosition(e){const{top:t}=e?e.getBoundingClientRect():{top:0};return t}detectScrollPosition(){this.currentScrollVal=window.pageYOffset,this.detectScrollDirection(),this.atPageTopArea=this.currentScrollVal<=80,this.atPageTop=this.currentScrollVal<=0,this.prevScrollVal=this.currentScrollVal;let e=this.getMaxScrollHeight()-170;this.atPageBottomArea=this.currentScrollVal>=e}detectScrollDirection(){this.currentScrollVal!==this.prevScrollVal&&(this.contentPostScroll=this.currentScrollVal>this.prevScrollVal&&this.currentScrollVal>this.scrollThreshold)}blockBodyScrolling(e){document.body.classList.add("body-overflow-hidden"),e&&document.body.classList.add("back-to-top"),this._isBodyScrollingBlocked=!0}allowBodyScrolling(){document.body.classList.remove("body-overflow-hidden"),document.body.classList.remove("back-to-top"),this._isBodyScrollingBlocked=!1}toggleBodyScrolling(e=!1){this._isBodyScrollingBlocked?this.allowBodyScrolling():this.blockBodyScrolling(e)}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(r._))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})()},67562:function(e,t,n){"use strict";n.d(t,{Z:function(){return m}});var i=n(97582),a=n(45637),o=n(45829),r=n(82030),s=n(70764),l=n(60777),c=n(46664),d=n(87500),u=n(1850),p=n(30277),h=n(37716);let m=(()=>{class e{constructor(e,t,n,i,a){this._memoryStoreService=e,this._promiseService=t,this._analyticService=n,this._photoService=i,this._store=a,this.MAX_VEHICLE_COUNT=6}isVehicleAlreadyInMemoryStore(e){let t=this._memoryStoreService.similarVehiclesMemory().getVehicles(e.StockNumber);return Array.isArray(t)&&t.length>0}getSimilarVehicles(e){return(0,i.mG)(this,void 0,void 0,function*(){if(this.isVehicleAlreadyInMemoryStore(e)){let t=this._memoryStoreService.similarVehiclesMemory().getVehicles(e.StockNumber);return this._memoryStoreService.similarVehiclesMemory().publish(t,e),t}let t=yield this._getSimilarVehicles(e,!1,this.MAX_VEHICLE_COUNT);if(t.length<this.MAX_VEHICLE_COUNT){let n=yield this._getSimilarVehicles(e,!0,this.MAX_VEHICLE_COUNT-t.length,t);t=[...t,...n]}return this._memoryStoreService.similarVehiclesMemory().publish(t,e),t})}createAzureSearchForModel(e,t,n=[]){let i=[];return i.push(new c.Xo("Model",o.d.eq,o.Ge.str,o.zX.or,[e.Model])),this._createAzureSearchObj(i,e,t,n)}createAzureSearchForMakeAndBodyType(e,t,n=[]){let i=[],a=new c.Xo("Make",o.d.eq,o.Ge.str,o.zX.and,[e.Make]),r=new c.Xo("BodyType",o.d.eq,o.Ge.str,o.zX.and,[e.BodyType]);return i.push(a),i.push(r),this._createAzureSearchObj(i,e,t,n)}createAzureSearchForBodyType(e,t,n=[]){let i=[],a=new c.Xo("BodyType",o.d.eq,o.Ge.str,o.zX.or,[e.BodyType]);return i.push(a),this._createAzureSearchObj(i,e,t,n)}_getSimilarVehicles(e,t,n,a=[]){return(0,i.mG)(this,void 0,void 0,function*(){let i=[],o=a,r=this.createAzureSearchForModel(e,t,o),s=yield this._getSimilarVehiclesHelper(r);if(i=[...i,...s],o=[...o,...i],i.length>=n)return i.slice(0,n);let l=this.createAzureSearchForMakeAndBodyType(e,t,o),c=yield this._getSimilarVehiclesHelper(l);if(i=[...i,...c],o=[...o,...i],i.length>=n)return i.slice(0,n);let d=this.createAzureSearchForBodyType(e,t,o),u=yield this._getSimilarVehiclesHelper(d);return i=[...i,...u],i.slice(0,n)})}_getSimilarVehiclesHelper(e){return this._promiseService.getVehiclesPromise(e).then(e=>{let t=e.value.map(e=>new l.x(e,this._photoService));return new Promise((e,n)=>e(t))}).catch(e=>(this._analyticService.logAppInsightsAnalytic({pageSection:"NA",category:"dt.com",action:"getSimilarVehicles failed",label:e}),new Promise((e,t)=>e(null))))}_createAzureSearchObj(e,t,n,i=[]){let a=new c.Pd;a.filters=e,a.filters.push(new c.Xo("StatusKey",o.d.eq,o.Ge.str,o.zX.and,[d.zB.Available]));let r=new c.Xo("StockNumber",o.d.ne,o.Ge.num,o.zX.and,[t.StockNumber,...i.map(e=>e.StockNumber)]);return a.filters.push(r),a.pageSize=this.MAX_VEHICLE_COUNT,a.lng=t.Longitude,a.lat=t.Latitude,a.orderBy=new c.IX("GeoPoint",o.eQ[o.eQ.asc]),n||(a.mileRadius=c.JG),a}}return e.\u0275fac=function(t){return new(t||e)(h.LFG(a.D),h.LFG(r.D),h.LFG(s.g),h.LFG(u.T),h.LFG(p.k))},e.\u0275prov=h.Yz7({token:e,factory:e.\u0275fac}),e})()},76653:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});var i=n(72349),a=n(26215),o=n(37716);let r=(()=>{class e{constructor(){this.toastAdded=new a.X(null)}show(e,t,n=3e3,a=!1){this.toastAdded.next({id:i.uR.generateShortUuid(),content:e,enter:!0,screenTime:n,analyticLabel:t,isError:a})}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=o.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},64174:function(e,t,n){"use strict";n.d(t,{A:function(){return M}});var i=n(97582),a=n(97805),o=n(13535),r=n(89234),s=n(28645),l=n(26215),c=n(9112),d=n(18891),u=n(45435),p=n(87519),h=n(88002),m=n(15257),g=n(20483),f=n(96645),y=n(92547),_=n(71255),A=n(80352),v=n(70764),b=n(30277),C=n(45807),w=n(54124),S=n(99824),k=n(37716);class M{constructor(e,t,n,i,a,o){this._locationService=e,this._linkHelper=t,this._deviceInteractionService=n,this._dealershipService=i,this._analyticService=a,this._dtmStore=o,this.isActiveDealerhipEligibleForAccutrade=!1,this.tradeInData={},this.enableTradeIn=!1,this.tradeInChanged=!1,this.vsrTermsLoading$=new l.X(!1),(0,c.aj)(this.leadId$,this.carValue$,this.amountOwed$,this.enableTradeIn$).pipe((0,u.h)(([...e])=>g.cmp.areAllDefinedAndNotNull(...e))).subscribe(([e,t,n,i])=>{this.enableTradeIn=i,this.leadId=e,i&&(this.tradeInData={carValue:t,amountOwed:n})}),this.tradeInValue$.pipe((0,p.x)()).subscribe(e=>this.tradeInData.tradeInValue=e)}navigateToTradeInByZip(e){return(0,i.mG)(this,void 0,void 0,function*(){try{let t=yield this._locationService.getDealershipFromZipCode(e);if(g.cmp.isUndefinedOrNull(t))return;this.isActiveDealerhipEligibleForAccutrade=(yield this.isDealershipEligibleForAccutrade(t.DealershipNumber))||!1,yield this._dtmStore.dispatchAsync(new S.Mf(this.isActiveDealershipEligibleForAccutrade)),yield this._navigateToTradeIn(t,e)}catch(t){this._analyticService.logException(t,"trade-in service -> failed to navigate by zip")}})}navigateToTradeInByDealership(e,t=!1){return(0,i.mG)(this,void 0,void 0,function*(){if(!g.cmp.isUndefinedOrNull(e))try{this.isActiveDealerhipEligibleForAccutrade=(yield this.isDealershipEligibleForAccutrade(e.DealershipNumber))||!1,yield this._dtmStore.dispatchAsync(new S.Mf(this.isActiveDealershipEligibleForAccutrade)),yield this._navigateToTradeIn(e,e.Zip5,t)}catch(n){this._analyticService.logException(n,"trade-in service -> failed to navigate by dealership")}})}_navigateToTradeIn(e,t,n=!1){return(0,i.mG)(this,void 0,void 0,function*(){this.isActiveDealerhipEligibleForAccutrade?(yield this.setAppDealerAndLocation(e.DealershipNumber,t),n?this._deviceInteractionService.openWithTarget(this._linkHelper.ppcTradePage()):this._linkHelper.navigate(this._linkHelper.tradeInPage({asUrlObject:!0}))):this.redirectToKbb(e.KBBDealershipID)})}redirectToKbb(e){const t=this._linkHelper.kbbIcoUrl(e);this._deviceInteractionService.openWithTarget(t)}hasTradeInChanged(e){return this.tradeInChanged=g.cmp.isDefinedAndNotNull(e)&&(this.tradeInData.carValue!==e.carValue||this.tradeInData.amountOwed!==e.amountOwed),this.tradeInChanged}isValidTradeIn(e){const t=e.carValue-e.amountOwed===e.tradeInValue,n=e.carValue>=0&&e.amountOwed>=0&&e.tradeInValue>=0&&e.carValue>=e.amountOwed;return g.cmp.isDefinedAndNotNull(e)&&n&&t}updateTradeIn(e,t=!1){return(0,i.mG)(this,void 0,void 0,function*(){yield this._dtmStore.dispatchAsync(new C.BH(e)),t&&this.createDeskITComment()})}createDeskITComment(){const{carValue:e,amountOwed:t,tradeInValue:n=e-t}=this.tradeInData;this._dtmStore.dispatch(new C.QV(this.leadId,e,t,n))}saveDesiredDown(e){return(0,i.mG)(this,void 0,void 0,function*(){yield this._dtmStore.dispatchAsync(new C.sH(e))})}setAppDealerAndLocation(e,t){return(0,i.mG)(this,void 0,void 0,function*(){try{if(g.cmp.isDefinedAndNotNull(t)&&g.cmp.isNotEmpty(t)){let e=yield this._locationService.determineLocationByZip(t);this._canUseLocation(e)&&this._locationService._updateStoreLocation(e)}yield this._dealershipService.updateActiveDealership(e)}catch(n){this._analyticService.logException(n,"trade-in service -> failed to update dealership and location")}})}_canUseLocation(e){return g.cmp.isDefinedAndNotNull(e)&&e.isGeoLocated&&e.bestLocateStrategySuccess===A.OS.Specific&&g.cmp.isDefinedAndNotNull(e.city)&&g.cmp.isDefinedAndNotNull(e.state)}isDealershipEligibleForAccutrade(e){return(0,i.mG)(this,void 0,void 0,function*(){return this._dtmStore.select(w.c.getAccutradeEligibleDealershipList).pipe((0,h.U)(t=>!!g.cmp.isDefinedAndNotNull(t)&&t.includes(e.toString())),(0,m.q)(1)).toPromise().catch(e=>(this._analyticService.logException(e,"trade-in service -> failed to evaluate dealership"),!1))})}resetTradeInStatus(){this.tradeInChanged=!1}}M.\u0275fac=function(e){return new(e||M)(k.LFG(r.a),k.LFG(o.R),k.LFG(a.e),k.LFG(_.k),k.LFG(v.g),k.LFG(b.k))},M.\u0275prov=k.Yz7({token:M,factory:M.\u0275fac,providedIn:"root"}),(0,i.gn)([(0,s.Ph)(e=>e.app.dealership.isActiveDealerhipEligibleForAccutrade),(0,i.w6)("design:type",d.y)],M.prototype,"isActiveDealerhipEligibleForAccutrade$",void 0),(0,i.gn)([(0,s.Ph)(e=>e.app.lead.leadId),(0,i.w6)("design:type",l.X)],M.prototype,"leadId$",void 0),(0,i.gn)([(0,s.Ph)(e=>e.app.financing.carValue),(0,i.w6)("design:type",l.X)],M.prototype,"carValue$",void 0),(0,i.gn)([(0,s.Ph)(e=>e.app.financing.amountOwed),(0,i.w6)("design:type",l.X)],M.prototype,"amountOwed$",void 0),(0,i.gn)([(0,s.Ph)(e=>e.app.financing.tradeInValue),(0,i.w6)("design:type",l.X)],M.prototype,"tradeInValue$",void 0),(0,i.gn)([(0,s.Ph)(y.Z8.get(f.j.TradeInModal.EnableTradeInModal)),(0,i.w6)("design:type",d.y)],M.prototype,"enableTradeIn$",void 0)},17952:function(e,t,n){"use strict";n.d(t,{R:function(){return l}});var i=n(3679),a=n(89234),o=n(90028),r=n(9227),s=n(37716);let l=(()=>{class e{constructor(e){this._locationService=e}getAsyncValidators(e){return"zipCode"===e?[o.r.asyncZipValidator(this._locationService)]:[]}getTextMask(e){switch(e){case"firstName":return{mask:r.tU,guide:!1};case"lastName":return{mask:r.n_,guide:!1};case"phoneNumber":return{mask:r.vC,guide:!1};case"zipCode":return{mask:r.PK,guide:!1};case"ssn":return{mask:r.Nl,guide:!1};case"monthlyIncome":return{mask:r.Pn,guide:!1};case"desiredDownPayment":return{mask:r.rW,guide:!1};case"downPayment":return{mask:r.in,guide:!1};case"additionalIncome":return{mask:r._T,guide:!1};case"address":return{mask:r.lV,guide:!1};case"contactName":return{mask:r.cm,guide:!1};case"dateOfBirth":return{mask:r.Vk,guide:!1};default:return{mask:!1}}}getExactLength(e){switch(e){case"phoneNumber":return r.qR;case"zipCode":return r.EO;case"ssn":return r.S2;default:return null}}getMaxLength(e){switch(e){case"firstName":return r.JT;case"lastName":return r.Sr;case"contactName":return r.JT+r.Sr+1;case"address":case"addressLine2":return r.UA;case"emailAddress":return r.b9;case"monthlyIncome":case"additionalIncome":return r.MK;default:return null}}getValidators(e,t){let n=[];switch(e){case"firstName":case"lastName":case"contactName":n.push(o.r.isName),t&&n.push(i.kI.required);break;case"address":n.push(o.r.isAddress),t&&n.push(i.kI.required);break;case"addressLine2":case"phoneNumber":case"downPayment":t&&n.push(i.kI.required);break;case"emailAddress":n.push(o.r.isEmail),t&&n.push(i.kI.required);break;case"monthlyIncome":n.push(r.gs),t&&n.push(i.kI.required);break;case"additionalIncome":n.push(r.zU),t&&n.push(i.kI.required);break;case"ssn":n.push(o.r.isSSN),t&&n.push(i.kI.required);break;case"desiredDownPayment":n.push(r.sy),t&&n.push(i.kI.required)}return n}}return e.\u0275fac=function(t){return new(t||e)(s.LFG(a.a))},e.\u0275prov=s.Yz7({token:e,factory:e.\u0275fac}),e})()},59269:function(e,t,n){"use strict";n.d(t,{$:function(){return C}});var i=n(97582),a=n(80352),o=n(30277),r=n(26215),s=n(18891),l=n(79765),c=n(61453),d=n(28645),u=n(8075),p=n(31547),h=n(51040),m=n(45435),g=n(88002),f=n(13535),y=n(20483),_=n(27039),A=n(45637),v=n(76652),b=n(37716);class C{constructor(e,t,n,i,a,o){this._vehicleSearchService=e,this._store=t,this._appStateService=n,this._linkHelper=i,this._router=a,this._memoryStoreService=o,this.isBrowseMode=!1,this.previouslyVisitedVsrLink$=new r.X(""),this.detailsForVDPBrowse$=new s.y}init(){this.setupBrowseMode()}setupBrowseMode(){const e=this._router.previousRouteData;if(y.cmp.isDefinedAndNotNull(e)&&e.name===a.x4.VehicleSearchResults)return this.isBrowseMode=!0,this.setBrowseModeInCurrentURL(),void this.previouslyVisitedVsrLink$.next(this._appStateService.getUrlHistory(1));const t=this._linkHelper.getCurrentQueryParams();this.isBrowseMode=!(!y.cmp.isDefinedAndNotNull(t)||!y.cmp.isDefinedAndNotNull(t[_.rk.Mode])||t[_.rk.Mode]!==_.Pg.Browse)}setBrowseDetailsByStockNumber(e){this.detailsForVDPBrowse$=this._store.select(h.$.getAllVehiclesForVDPBrowse).pipe((0,m.h)(y.cmp.isDefinedAndNotNull),(0,g.U)(t=>t(e,2)))}resetVsrSortAndFilters(){return(0,i.mG)(this,void 0,void 0,function*(){this._store.userSnapshot().hasVisitedPages.indexOf(a.x4.VehicleSearchResults)>-1&&!this.onLandingPage&&(this.defaultSort$.subscribe(()=>{this._store.dispatch(new c.ej)}),yield this._vehicleSearchService.resetFilters())})}getMoreVehicles(){return(0,i.mG)(this,void 0,void 0,function*(){yield this._vehicleSearchService.getVehicles(),this._store.dispatch(new c.mS)})}getBackToVsrUrl(e){const t=this.previouslyVisitedVsrLink$.getValue(),n=t.substring(t.indexOf("?")),i=t!==n?f.R.deconstructQueryParamString(n):{};return i.stockNumber=e.toString(),this._linkHelper.buildUrl(t,null,{queryParams:i})}setBrowseModeInCurrentURL(){const e=this._linkHelper.buildUrl(this._router.navigationEndEvent.url,null,{queryParams:{[_.rk.Mode]:_.Pg.Browse}});window.history.replaceState({},"",e)}}C.\u0275fac=function(e){return new(e||C)(b.LFG(u.W),b.LFG(o.k),b.LFG(p.Z),b.LFG(f.R),b.LFG(v.h),b.LFG(A.D))},C.\u0275prov=b.Yz7({token:C,factory:C.\u0275fac}),(0,i.gn)([(0,d.Ph)(e=>e.app.vsr.defaultSort),(0,i.w6)("design:type",l.xQ)],C.prototype,"defaultSort$",void 0)},26055:function(e,t,n){"use strict";n.d(t,{e:function(){return a}});var i=n(37716);let a=(()=>{class e{init(t){t.select(e=>e.app.lead).subscribe(t=>{e._priceAdjusterAmount=t.priceAdjusterAmount,e._isCustomerUpgraded=t.isCustomerUpgraded})}static getAdjustedStickerPrice(e){return this._isCustomerUpgraded?e-this._priceAdjusterAmount:e}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275prov=i.Yz7({token:e,factory:e.\u0275fac}),e})()},48584:function(e,t,n){"use strict";n.d(t,{m:function(){return s}});var i=n(30277),a=n(60008),o=n(20483),r=n(37716);let s=(()=>{class e{constructor(e){this._store=e}saveVehicles(e,t){this._store.dispatch(new a.k(e,t))}removeVehicles(e,t){this._store.dispatch(new a.v(e,t))}addRequiredMetadata(e){let t={savedDateTime:new Date};return e.map(e=>(e.metaData=o.ObjectUtils.deepMerge(e.metaData,t),e))}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(i.k))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})()},10723:function(e,t,n){"use strict";n.d(t,{q:function(){return v}});var i=n(97582),a=n(45829),o=n(45637),r=n(70764),s=n(82030),l=n(46664),c=n(30175),d=n(22479),u=n(87500),p=n(61453),h=n(89234),m=n(13535),g=n(71255),f=n(20483),y=n(30277),_=n(11654),A=n(37716);let v=(()=>{class e{constructor(e,t,n,i,a,o,r,s){this.memoryStoreService=e,this.promiseService=t,this._dealershipService=n,this._locationService=i,this._linkHelper=a,this._analyticService=o,this._store=r,this._derivedProperties=s}generateQuery(e,t,n,o,r,s){return(0,i.mG)(this,void 0,void 0,function*(){let i,c={filters:JSON.parse(JSON.stringify(this._store.vsrSnapshot().filters)),sort:JSON.parse(JSON.stringify(this._store.vsrSnapshot().sort))};return t===d.gc.NoResults?(i=this.updateQueryFromSort(c.sort,yield this.getNoResultsQuery(r,c.filters.distance[0])),i.orderByNoResults=!0):t===d.gc.Refresh||t===d.gc.Available?(i=this.updateQueryFromFilters(e,c,n,o,r,s),i=this.updateQueryFromLocation(i,r),i.filters.push(new l.Xo("StatusKey",a.d.ne,a.Ge.str,a.zX.or,[u.zB.Layaway]))):(i=this.updateQueryFromFilters(e,c,n,o,r,s),i=this.updateQueryFromLocation(i,r)),i.filters.push(new l.Xo("StatusKey",a.d.ne,a.Ge.str,a.zX.or,[u.zB.Sold])),i})}updateQueryFromFilters(e,t,n,i,a,o){let r=Object.assign({},e);return r.filters=[],r=this.updateQueryOnFilterChange(r,t,a,o),r=this.updateQueryFromMakeDisplayNameFilter(t.filters.makeModel,n,i,r),r=this.updateQueryFromSort(t.sort,r),r}updateQueryOnFilterChange(e,t,n,i){let o=Object.assign({},e);o=this.updateQueryFromLocation(o,n),o=this.updateQuerySearchRadius(t,o,i),o=this.updateQueryFromTempFilters(n,o);let r=f.cmp.isNotEmpty(t.filters.history)&&t.filters.history.some(e=>"noAccidents"===e)?[0]:null,s=f.cmp.isNotEmpty(t.filters.history)&&t.filters.history.some(e=>"oneOwner"===e)?[1]:null;return o=this.updateQueryFromDualRangeQueryFilter("Year",t.filters.year,o),o=this.updateQueryFromDualRangeQueryFilter("StickerPrice",t.filters.price,o),o=this.updateQueryFromMultiFilter("NormalizedExtColor",a.zX.or,t.filters.colors,o),o=this.updateQueryFromMultiFilter("DriveTrainKey",a.zX.or,t.filters.driveTrain,o),o=this.updateQueryFromMultiFilter("NormalizedFuelDescription",a.zX.or,t.filters.fuelType,o),o=this.updateQueryFromMultiFilter("EngineCylinderCountNormalized",a.zX.or,t.filters.engine,o),o=this.updateQueryFromSingleRangeQueryFilter("AccidentCount",a.d.eq,r,o),o=this.updateQueryFromSingleRangeQueryFilter("OwnerCount",a.d.eq,s,o),o=this.updateQueryFromMultiFilter("BodyType",a.zX.or,t.filters.bodyType,o),o=this.updateQueryFromSingleRangeQueryFilter("OdometerValue",a.d.lt,t.filters.mileage,o),o=this.updateQueryFromSingleRangeQueryFilter("MPGHighway",a.d.gt,t.filters.mpg,o),o=this.updateQueryFromBooleanFilters(t.filters.features,o),o}updateQueryFromLocation(e,t){let n=f.cmp.isDefinedAndNotNull(t);if(n&&f.cmp.isDefinedAndNotNull(t.milesRadius)&&(e.mileRadius=0===t.milesRadius?null:t.milesRadius),n&&f.cmp.isDefinedAndNotNull(t.lat)&&f.cmp.isDefinedAndNotNull(t.lng))e.lat=t.lat,e.lng=t.lng;else{let t=this._store.locationSnapshot();e.lat=t.lat,e.lng=t.lng}return e}updateQueryFromSort(e,t){return t.orderBy=new l.IX(e.name,e.ascending?"asc":"desc"),t}updateQueryFromTempFilters(e,t){if(f.cmp.isEmpty(e))return t;f.cmp.isDefinedAndNotNull(e.region)&&e.lng===t.lng&&e.lat===t.lat&&(t=this.updateQueryFromMultiFilter("RegionDesc",a.zX.or,[e.region],t)),f.cmp.isDefinedAndNotNull(e.milesRadius)&&(t.mileRadius=0===e.milesRadius?null:e.milesRadius);let n=f.cmp.isDefinedAndNotNull(e.layaway)&&e.layaway?a.d.eq:a.d.ne;return t.filters.push(new l.Xo("StatusKey",n,a.Ge.str,a.zX.and,[u.zB.Layaway])),t}updateQueryFromMakeDisplayNameFilter(e,t,n,i){let a=c.G.buildMakeDisplayNameSubFilter(e,t,n);return f.cmp.isDefinedAndNotNull(a)&&(i=this.updateQueryFromSubFilters("MakeDisplayNames",[a],i)),i}updateQueryFromSubFilters(e,t,n){return n.filters.push({name:e,operator:a.d.eq,type:a.Ge.subQuery,conjunction:a.zX.or,items:t}),n}updateQueryFromMultiFilter(e,t,n,i){if(f.cmp.isDefinedAndNotNull(n)){let o={name:e,operator:a.d.eq,type:a.Ge.str,conjunction:t,items:[]};o.items=n.slice(),i.filters.push(o)}return i}updateQueryFromDualRangeQueryFilter(e,t,n){if(f.cmp.isDefinedAndNotNull(t)){let i={name:e,operator:a.d.bt,type:a.Ge.num,conjunction:a.zX.or,items:[]},o=[];o.push(t[0]),o.push(t[1]),i.items=o,n.filters.push(i)}return n}updateQueryFromSingleRangeQueryFilter(e,t,n,i){if(f.cmp.isDefinedAndNotNull(n)){let o={name:e,operator:t,type:a.Ge.num,conjunction:a.zX.or,items:[]},r=[];r.push(n[0]),o.items=r,i.filters.push(o)}return i}updateQueryFromBooleanFilters(e,t){if(f.cmp.isDefinedAndNotNull(e))for(let n=0;n<e.length;n++)t.filters.push({name:e[n],operator:a.d.eq,type:a.Ge.num,conjunction:a.zX.and,items:[!0]});return t}updateQuerySearchRadius(e,t,n=null){if(f.cmp.isUndefinedOrNull(e))return t;let i=Object.assign({},t);switch(i.mileRadius=null,e.filters.distance[0]){case d.n.National:return i;case d.n.NearestDealership:case d.n.NearestCity:case d.n.SelectedDealership:return this._setNonNumericSearchArea(e,i,n);default:return i.mileRadius=this._updateRadiusFromDistanceType(e.filters.distance[0]),i}}_setNonNumericSearchArea(e,t,n){let i,a=e.filters.distance[0];if(f.cmp.isUndefinedOrNull(n))return e.filters.distance=[this._store.vsrSnapshot().defaultDistance],this._store.dispatch(new p.cB(e.filters)),this.updateQuerySearchRadius(e,t);switch(t.lng=n.GeoPoint.coordinates[0],t.lat=n.GeoPoint.coordinates[1],a){case d.n.SelectedDealership:case d.n.NearestDealership:i=this._buildDealershipFilterParam(n.DealershipNumber);break;case d.n.NearestCity:i=this._buildRegionFilterParam(n.RegionDescription);break;default:return t}return t.filters.push(i),t}_buildDealershipFilterParam(e){return new l.Xo("CurrentLocation",a.d.eq,a.Ge.num,a.zX.or,[e])}_buildRegionFilterParam(e){return new l.Xo("RegionDesc",a.d.eq,a.Ge.str,a.zX.or,[e])}_updateRadiusFromDistanceType(e){return this._tryMapDistanceTypeToNumeric(e)||this._tryMapDistanceTypeToNumeric(this._store.vsrSnapshot().defaultDistance)||250}_tryMapDistanceTypeToNumeric(e){switch(e){case d.n.Radius025:return 25;case d.n.Radius050:return 50;case d.n.Radius075:return 75;case d.n.Radius100:return 100;case d.n.Radius250:return 250;default:return null}}getDefaultQuery(e){let t=new l.Pd;return t.filters=[],t.orderBy=new l.IX(a.rw[a.rw.distance],a.eQ[a.eQ.asc]),t.returnCount=!0,t.pageNumber=0,t.pageSize=l.L8,t=this.updateQueryFromLocation(t,e),t=this.updateQueryFromTempFilters(e,t),t}getNoResultsQuery(e,t){return(0,i.mG)(this,void 0,void 0,function*(){if(yield this._store.dispatchAsync(new p.V9(!1)),this._derivedProperties.snapshot().onSeoRoute)return this.getDefaultQuery(e);const n=this._store.locationSnapshot(),i=yield this._dealershipService.getClosestDealership(n.lat,n.lng);return f.cmp.isDefinedAndNotNull(i)&&f.NumberUtils.calcMilesBetweenTwoGeoPoints(n.lat,n.lng,i.GeoPoint.coordinates[1],i.GeoPoint.coordinates[0])>this._updateRadiusFromDistanceType(this._store.vsrSnapshot().filters.distance[0])&&t<=4&&(yield this._store.dispatchAsync(new p.V9(!0))),e.milesRadius=null,this.getDefaultQuery(e)})}}return e.\u0275fac=function(t){return new(t||e)(A.LFG(o.D),A.LFG(s.D),A.LFG(g.k),A.LFG(h.a),A.LFG(m.R),A.LFG(r.g),A.LFG(y.k),A.LFG(_.y))},e.\u0275prov=A.Yz7({token:e,factory:e.\u0275fac}),e})()},49479:function(e,t,n){"use strict";n.d(t,{d:function(){return A}});var i=n(97582),a=n(51751),o=n(61453),r=n(99824),s=n(22479),l=n(89234),c=n(71255),d=n(70764),u=n(67041),p=n(8075),h=n(20483),m=n(75761),g=n(30277),f=n(11654),y=n(30175),_=n(37716);let A=(()=>{class e{constructor(e,t,n,i,a,o,r){this._locationService=e,this._dealershipService=t,this._vehicleSearchService=n,this._analyticService=i,this._store=a,this._appConfig=o,this._derivedProperties=r}parseRouteType(e){return(0,i.mG)(this,void 0,void 0,function*(){try{let{city:t,cityState:n,dealershipNumber:i,make:a}=e,o=h.cmp.isDefinedAndNotNull;if(o(t)&&o(i))return yield this._parseInventoryRouteData(t,i);if(o(n))return this._parseCityRoute(n);if(o(a))return this._parseNationwideRoute()}catch(t){this._analyticService.logException(t)}return this._parseDefaultRoute()})}_parseInventoryRouteData(e,t){return(0,i.mG)(this,void 0,void 0,function*(){try{let n=(yield this._dealershipService.getDealershipFromNumber(t)).StateAbbreviation.toUpperCase();return{type:s.kW.Inventory,city:h.StringUtils.unslug(e),state:n,dealershipNumber:h.StringUtils.unslug(t)}}catch(n){throw n.message=`Cannot get State from DealershipNumber: ${t} when parsing route data`,n}})}_parseCityRoute(e){let t=e.lastIndexOf("-"),[n,i]=[e.slice(0,t),e.slice(t+1)];return{type:s.kW.City,city:h.StringUtils.unslug(n),state:h.StringUtils.unslug(i)}}_parseNationwideRoute(){return{type:s.kW.Nationwide}}_parseDefaultRoute(){return{type:s.kW.Default}}fetchInventoryData(e,t){return(0,i.mG)(this,void 0,void 0,function*(){this._locationService.setLocationByContextCity(e.city,e.state);let n=yield this._dealershipService.getDealershipFromNumber(e.dealershipNumber),i={lat:n.GeoPoint.coordinates[1],lng:n.GeoPoint.coordinates[0]},a=yield this._locationService.isLatLngInSellRegion(i.lat,i.lng),s=yield this._vehicleSearchService.getVehicleCountsForDealership(n.DealershipNumber);return yield this._store.dispatchAsync(new o.nL),yield this._store.dispatchAsync(new r.ZX(n)),this._derivedProperties.snapshot().onInventoryRoute||(yield this._store.dispatchAsync(new o.cB(this._derivedProperties.snapshot().defaultFilters))),yield this._store.dispatchAsync(new o.Wg({state:e.state,name:e.city},n.DealershipNumber,s,a,t)),!0})}fetchCityData(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let{city:n,state:i}=e,a=yield this._dealershipService.getRegionFromCity(n,i),r=yield this._locationService.getTrueRegionDescription(a);this._locationService.setLocationByContextCity(n,e.state);let s=yield this._locationService.getLocationByCity(n,i),l=yield this._locationService.isLatLngInSellRegion(s.lat,s.lng);return yield this._resetDistanceFilter(),yield this._store.dispatchAsync(new o.nL),yield this._store.dispatchAsync(new o.Qr({state:i,region:r,name:n},s,l,t)),!0})}fetchNationwideData(e,t){return(0,i.mG)(this,void 0,void 0,function*(){return yield this._resetDistanceFilter(),yield this._store.dispatchAsync(new o.nL),yield this._store.dispatchAsync(new o.uA({state:null,region:null,name:null},null,null,t)),!0})}fetchDefaultData(e,t){return(0,i.mG)(this,void 0,void 0,function*(){yield this._resetDistanceFilter();let e=this._store.locationSnapshot(),n=yield this._locationService.isLatLngInSellRegion(e.lat,e.lng);return yield this._store.dispatchAsync(new r.ZX(null)),yield this._store.dispatchAsync(new o.AT),yield this._store.dispatchAsync(new o.nL),yield this._store.dispatchAsync(new o.cp({state:null,region:null,name:null},null,n,t)),!0})}fetchRouteData(e,t){return(0,i.mG)(this,void 0,void 0,function*(){return yield function(e,t,n,i,a){switch(e.type){case s.kW.Inventory:return t(e);case s.kW.City:return n(e);case s.kW.Nationwide:return i(e);case s.kW.Default:return a(e);default:throw new Error(`matchRouteType failed because route was invalid: ${e}`)}}(e,e=>this.fetchInventoryData(e,t),e=>this.fetchCityData(e,t),e=>this.fetchNationwideData(e,t),e=>this.fetchDefaultData(e,t))})}_resetDistanceFilter(){return(0,i.mG)(this,void 0,void 0,function*(){let e=this._store.vsrSnapshot().seoLocationType===s.kW.Inventory,t=this._store.vsrSnapshot().filters.distance[0]===s.n.SelectedDealership;if(e&&t){let e=this._store.vsrSnapshot().filters;e.distance[0]=this._store.vsrSnapshot().defaultDistance,yield this._store.dispatchAsync(new o.cB(e))}})}parseRouteData(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let t,n,{queryParams:i,params:r}=a.A.getDeepestFirstChild(e),l=h.cmp.isDefinedAndNotNull(+i.stockNumber)&&!isNaN(+i.stockNumber)?+i.stockNumber:null,c=h.cmp.isDefinedAndNotNull(l),d=(this.getPageNumber(i),yield this.parseRouteType(r)),u=this._hasSeoRouteChanged(r,this._store.vsrSnapshot());yield this.fetchRouteData(d,u),t=d.type!==s.kW.Default?yield this._handleSeoRoute(r,d,c):this._store.locationSnapshot().isGeoLocated?h.ObjectUtils.cloneDeep(this._store.vsrSnapshot().filters):this._handleNonLocatedRoute(d);let p=m.W.decodeSortFromUrl(i);n=h.cmp.isNotEmpty(p)?p:this._store.vsrSnapshot().sort,t=h.ObjectUtils.deepMerge(t,m.W.decodeFiltersFromUrl(i));let g=this._store.dealershipSnapshot().activeDealership,f=this._vehicleSearchService.getTempFiltersFromStore(this._store.vsrSnapshot()),{uiVehicleMap:_,vehicleIDIndexer:A}=yield this._vehicleSearchService.getUIVehicleMapAndIndexer(f,g,t),v=y.G.updateUIVehicleMapFromFilters(_,t.makeModel,A);return yield this._store.dispatchAsync(new o.oM(v)),{stockNumber:l,routeType:d.type,newFilters:t,newSort:n}})}_handleSeoRoute(e,t,n){return(0,i.mG)(this,void 0,void 0,function*(){let i=yield this._getMakeModelParams(e),a=n||t.type===s.kW.Inventory||this._store.vsrSnapshot().reducingSeoRoute?this._store.vsrSnapshot().filters:this._derivedProperties.defaultFilters(s.kW.Default);return a.makeModel=h.cmp.isNotEmpty(i.vehicleFilter)?i.vehicleFilter:a.makeModel,yield this._store.dispatchAsync(new o.qI(!1)),yield this._store.dispatchAsync(new o.u0(i.make,i.modelOrSeriesName)),a})}_handleNonLocatedRoute(e){return e.type=s.kW.Nationwide,this._derivedProperties.defaultFilters(s.kW.Nationwide)}_handleDefaultRoute(){return this._derivedProperties.defaultFilters(s.kW.Default)}getPageNumber(e){return this._appConfig.isServerPrerender&&+e.page||1}_getMakeModelParams(e){return(0,i.mG)(this,void 0,void 0,function*(){let{vehicleIDIndexer:t}=yield this._vehicleSearchService.getUIVehicleMapAndIndexer(),{historicVehicleIndexer:n}=this._store.vsrSnapshot(),i=null,a=null,o=h.cmp.isDefinedAndNotNull(e.make),r=h.cmp.isDefinedAndNotNull(e.model),s=n[e.make],l=[];if(o)if(i=(yield this._vehicleSearchService.getTrueMakeModelNames(e.make)).make,r){let t=h.cmp.isNotEmpty(s)&&h.cmp.isDefinedAndNotNull(s.makeIndex)?s.makeIndex:null,n=yield this._vehicleSearchService.getModelOrSeries(e.make,t,e.model);if(h.cmp.isDefinedAndNotNull(n)&&h.cmp.isDefinedAndNotNull(n.modelOrSeries)){let e=n.modelOrSeries;a=e.name,l[n.type]=`${e.id||e.models[0].id}`}}else{let e=((e,t)=>Object.keys(t).find(n=>t[n].makeIndex===(e.makeIndex||0)&&t[n].seriesIndex===(e.seriesIndex||0)&&t[n].modelIndex===(e.modelIndex||0)))(s,t);l.push(e)}return{make:i,modelOrSeriesName:a,vehicleFilter:l}})}_hasSeoRouteChanged(e,t){let n=e=>h.cmp.isDefinedAndNotNull(e)?e.toLowerCase():null,i=(e,t)=>n(e||null)===n(t||null),a=i((l=e.cityState||"").slice(0,l.lastIndexOf("-"))||e.city,t.seoLocationName),o=i((e=>e.slice(e.lastIndexOf("-")+1))(e.cityState||""),t._seoStateAbbr),r=i(e.make,t._seoMake),s=i(e.model,t._seoDisplayName);var l;return!(a&&o&&r&&s)}}return e.\u0275fac=function(t){return new(t||e)(_.LFG(l.a),_.LFG(c.k),_.LFG(p.W),_.LFG(d.g),_.LFG(g.k),_.LFG(u._),_.LFG(f.y))},e.\u0275prov=_.Yz7({token:e,factory:e.\u0275fac}),e})()},8075:function(e,t,n){"use strict";n.d(t,{W:function(){return V}});var i=n(97582),a=n(45829),o=n(60777),r=n(45637),s=n(70764),l=n(82030),c=n(20483),d=n(46664),u=n(10723),p=n(22479),h=n(87500),m=n(61453),g=n(80352),f=n(89234),y=n(13535),_=n(71255),A=n(1850),v=n(30277),b=n(11654);class C{constructor(e,t){this._selected=!1,this.ignoreSelectedSetLogic=!1,this.generatingClone=!1,this.series=null,this.name=e,this.key=t,this.type=h.wI.Model}get selected(){return this._selected}set selected(e){if(this.generatingClone)this._selected=e;else if(e!==this._selected){if(this._selected=e,this.ignoreSelectedSetLogic)return void(this.ignoreSelectedSetLogic=!1);c.cmp.isDefinedAndNotNull(this.series)&&c.cmp.isDefinedAndNotNull(this.series.make)&&(this.series.noChildrenSelected=!e&&void 0,this.series.allChildrenSelected=!!e&&void 0,this.series.make.selected=!!e||this.series.make.selected,this.series.ignoreSelectedSetLogic=!0,this.series.selected=!!e&&this.series.allChildrenSelected,this.series.make.allChildrenSelected=void 0)}}get count(){return c.cmp.isUndefinedOrNull(this._count)&&(this._count=0,c.cmp.isDefinedAndNotNull(this.series)&&(this.series.count=void 0)),this._count}set count(e){this.generatingClone||c.cmp.isDefinedAndNotNull(this.series)&&(this.series.count=void 0),this._count=e}clone(e,t){let n=t(this);if(e.hasOwnProperty(n))return e[n];let i=new C(this.name,this.key);return i.generatingClone=!0,i.id=this.id,i.selected=this._selected,i.count=this._count,e[t(i)]=i,i.series=this.series.clone(e,t),i.generatingClone=!1,i}}var w=n(93165);class S{constructor(e,t){this._selected=!1,this.ignoreSelectedSetLogic=!1,this.generatingClone=!1,this.series=[],this.name=e,this.key=t,this.type=h.wI.Make}get selected(){return this._selected}set selected(e){if(this.generatingClone)this._selected=e;else if(e!==this._selected){if(this._selected=e,this.ignoreSelectedSetLogic)return void(this.ignoreSelectedSetLogic=!1);c.cmp.isNotEmpty(this.series)&&(this._allChildrenSelected=e,e||(this.series.forEach(t=>{t.selected=e}),this._allChildrenSelected=!1))}}get allChildrenSelected(){if(c.cmp.isDefinedAndNotNull(this._allChildrenSelected))return this._allChildrenSelected;if(c.cmp.isEmpty(this.series))return this._selected;if(this.selected&&this._noChildrenSelected)return!0;for(let e=0;e<this.series.length;e++)if(!this.series[e].allChildrenSelected)return this._allChildrenSelected=!1,!1;return this._allChildrenSelected=!0,!0}set allChildrenSelected(e){this.generatingClone?this._allChildrenSelected=e:c.cmp.isDefinedAndNotNull(this._allChildrenSelected)&&this._allChildrenSelected===e||(this._allChildrenSelected=e||this.noChildrenSelected||void 0)}get noChildrenSelected(){if(c.cmp.isDefinedAndNotNull(this._noChildrenSelected))return this._noChildrenSelected;if(c.cmp.isEmpty(this.series))return!this._selected;let e=e=>c.cmp.isNotEmpty(e)&&e[0].type!==h.wI.Make;for(let t=0;t<this.series.length;t++){let n=this.series[t];if(n.selected||e(this.selectedChildren))return this._noChildrenSelected=!1,!1;if(c.cmp.isNotEmpty(n.models)&&!n.noChildrenSelected)return this._noChildrenSelected=!1,!1}return this._noChildrenSelected=!0,!0}set noChildrenSelected(e){this.generatingClone?this._noChildrenSelected=e:c.cmp.isDefinedAndNotNull(this._noChildrenSelected)&&this._noChildrenSelected===e||(this._noChildrenSelected=e)}get count(){return c.cmp.isUndefinedOrNull(this._count)&&(this._count=c.cmp.isEmpty(this.series)?0:this.series.reduce((e,t)=>e+t.count,0)),this._count}set count(e){this._count=e}get selectedChildren(){if(this.allChildrenSelected)return[this];let e=[];return this.series.forEach(t=>{t.models.some(n=>{if(n.selected)return e.push(t),!0})}),c.cmp.isEmpty(e)&&(this.noChildrenSelected=!0),e}clone(e,t){let n=t(this);if(e.hasOwnProperty(n))return e[n];let i=new S(this.name,this.key);return i.generatingClone=!0,i.id=this.id,i.allChildrenSelected=this._allChildrenSelected,i.selected=this._selected,i.noChildrenSelected=this._noChildrenSelected,i.count=this._count,e[t(i)]=i,i.series=this.series.map(n=>n.clone(e,t)),i.generatingClone=!1,i}}class k{constructor(e,t){this._selected=!1,this.ignoreSelectedSetLogic=!1,this.generatingClone=!1,this.make=null,this.models=[],this.name=e,this.key=t,this.type=h.wI.Series}get selected(){return this._selected}set selected(e){this._selected=e,this.ignoreSelectedSetLogic?this.ignoreSelectedSetLogic=!1:(c.cmp.isNotEmpty(this.models)&&(this._allChildrenSelected=e,this.models.forEach(t=>{t.selected=e})),c.cmp.isDefinedAndNotNull(this.make)&&(this.make.noChildrenSelected=!e&&void 0,this.make.selected=!!e||this.make.selected,this.make.allChildrenSelected=void 0))}get allChildrenSelected(){if(c.cmp.isDefinedAndNotNull(this._allChildrenSelected))return this._allChildrenSelected;if(c.cmp.isEmpty(this.models))return this._selected;for(let e=0;e<this.models.length;e++)if(!this.models[e].selected)return this._allChildrenSelected=!1,!1;return this._allChildrenSelected=!0,!0}set allChildrenSelected(e){c.cmp.isDefinedAndNotNull(this._allChildrenSelected)&&this._allChildrenSelected===e||(c.cmp.isDefinedAndNotNull(this.make)&&(this.make.allChildrenSelected=void 0),this._allChildrenSelected=e)}get noChildrenSelected(){if(c.cmp.isDefinedAndNotNull(this._noChildrenSelected))return this._noChildrenSelected;if(c.cmp.isEmpty(this.models))return!this._selected;let e=e=>c.cmp.isNotEmpty(e)&&e[0].type!==h.wI.Series;for(let t=0;t<this.models.length;t++)if(this.models[t].selected||e(this.selectedChildren))return this._noChildrenSelected=!1,!1;return this._noChildrenSelected=!0,!0}set noChildrenSelected(e){c.cmp.isDefinedAndNotNull(this._noChildrenSelected)&&this._noChildrenSelected===e||(c.cmp.isUndefinedOrNull(this._noChildrenSelected)||this._noChildrenSelected!==e)&&(c.cmp.isDefinedAndNotNull(this.make)&&(this.make.noChildrenSelected=void 0),this._noChildrenSelected=e)}get count(){return c.cmp.isUndefinedOrNull(this._count)&&(this._count=c.cmp.isEmpty(this.models)?0:this.models.reduce((e,t)=>e+t.count,0),c.cmp.isDefinedAndNotNull(this.make)&&(this.make.count=void 0)),this._count}set count(e){c.cmp.isDefinedAndNotNull(this.make)&&(this.make.count=void 0),this._count=e}get selectedChildren(){if(this.allChildrenSelected)return[this];let e=[];return c.cmp.isDefinedAndNotNull(this._noChildrenSelected)&&this._noChildrenSelected||this.models.forEach(t=>{t.selected&&e.push(t)}),e}clone(e,t){let n=t(this);if(e.hasOwnProperty(n))return e[n];let i=new k(this.name,this.key);return i.generatingClone=!0,i.id=this.id,i.selected=this._selected,i.count=this._count,e[t(i)]=i,i.models=this.models.map(n=>n.clone(e,t)),i.make=this.make.clone(e,t),i.generatingClone=!1,i}}var M=n(39861),P=n(45435),O=n(88002),U=n(15257),I=n(28049),N=n(15942),T=n(24475),D=n(28645),x=n(9112),E=n(18891),L=n(45807),R=n(31547),F=n(37716);class V{constructor(e,t,n,i,a,o,r,s,l,c,d,u,p){this.memoryStoreService=e,this.promiseService=t,this._dealershipService=n,this._locationService=i,this._linkHelper=a,this._analyticService=o,this._store=r,this._vehicleQueryService=s,this._photoService=l,this._derivedProperties=c,this._analyticsService=d,this._financeService=u,this._appStateService=p,this._totalDistinctVehicleCount=0,this._gotFirstMvfBatch=!1,this._mvfFailedVehicleCount=0,this._mvfCachedVehicleCount=0,this._mvfCachedVehicles=[],this._mvfFailedVehicles=[],this._mvfBatchSize=10,this._setUpFilteredVehicleAnalytic(),this._trackVehicleFinancingStatus()}_trackVehicleFinancingStatus(){(0,x.aj)([this._vehicles$,this._noResultVehicles$]).pipe((0,P.h)(([e,t])=>Array.isArray(e)&&Array.isArray(t)),(0,O.U)(c.ArrayUtils.flatten),(0,O.U)(e=>c.ArrayUtils.uniqueValues(e.map(e=>e.StockNumber)))).subscribe(e=>{this._totalDistinctVehicleCount=e.length}),this._financeService.vehicleFinancingStats$.pipe((0,P.h)(e=>c.cmp.isDefinedAndNotNull(e))).subscribe(e=>{this._processMultiVehicleFinancingState(e)}),this._appStateService.clientEnvVars$.pipe((0,P.h)(c.cmp.isDefinedAndNotNull),(0,U.q)(1)).subscribe(e=>{e.mvfBatchSize&&(this._mvfBatchSize=e.mvfBatchSize)})}_processMultiVehicleFinancingState(e){let t=!1;this._mvfFailedVehicles=this._distinctStockNumbers(e.errorStockNumbers,this._mvfFailedVehicles),this._mvfCachedVehicles=this._distinctStockNumbers(e.cachedStockNumbers,this._mvfCachedVehicles),this._mvfCachedVehicles=this._onlyCachedVehicles(this._mvfFailedVehicles,this._mvfCachedVehicles),this._mvfFailedVehicleCount=this._mvfFailedVehicles.length,this._mvfCachedVehicleCount=this._mvfCachedVehicles.length;const n=this._mvfCachedVehicleCount+this._mvfFailedVehicleCount;e.processingState===N.Wm.Started?this._financeService.multiVehicleProcessingState$.next(N.lp.Started):e.processingState===N.Wm.Completed?(!this._gotFirstMvfBatch&&this._mvfCachedVehicleCount>0&&(this._gotFirstMvfBatch=!0,this._financeService.multiVehicleProcessingState$.next(N.lp.SingleBatchComplete)),this._totalDistinctVehicleCount===this._mvfCachedVehicleCount?this._financeService.multiVehicleProcessingState$.next(N.lp.AllBatchesComplete):this._totalDistinctVehicleCount===this._mvfFailedVehicleCount?(this._financeService.multiVehicleProcessingState$.next(N.lp.AllBatchesFailed),t=!0):this._totalDistinctVehicleCount===n&&this._financeService.multiVehicleProcessingState$.next(N.lp.PartialBatchesFailed),this._totalDistinctVehicleCount<=n&&(t||this._store.dispatch(new L.wJ),this.resetMultiVehicleFinanceState())):this.resetMultiVehicleFinanceState()}resetMultiVehicleFinanceState(){this._mvfFailedVehicleCount=0,this._mvfCachedVehicleCount=0,this._mvfCachedVehicles=[],this._mvfFailedVehicles=[],this._gotFirstMvfBatch=!1,this._financeService.multiVehicleProcessingState$.next(null)}_setUpFilteredVehicleAnalytic(){this._derivedProperties.filteredVehicleCountForShow$.pipe((0,I.P)(c.cmp.isDefinedAndNotNull)).subscribe(e=>{this._analyticsService.logAnalytic({category:"VehicleSearch",action:"display",label:"ResultsReturnedVehicleCount",value:`${e}`})})}getUIVehicleMapAndIndexer(e,t,n){return(0,i.mG)(this,void 0,void 0,function*(){c.cmp.isEmpty(t)&&(t=yield this._getSearchRadiusDealership(n)),c.cmp.isEmpty(e)&&(e=this.getTempFiltersFromStore(this._store.vsrSnapshot()));let i=M.a.cloneUIVehicleMap(this._store.vsrSnapshot().UIVehicleMap),a=c.ObjectUtils.cloneDeep(this._store.vsrSnapshot().vehicleIDIndexer);return c.cmp.isEmpty(i)||c.cmp.isEmpty(a)?yield this.buildUIVehicleMapAndIndexer(e,t):{uiVehicleMap:yield this._updateVehicleMap(e,t,i,n),vehicleIDIndexer:a}})}_updateVehicleMap(e,t,n,a){return(0,i.mG)(this,void 0,void 0,function*(){if(c.cmp.isEmpty(O.U))return[];let i=yield this._buildFacetsQuery(e,t,a),o=yield this.promiseService.getMakeModelFacetsPromise(i),r=M.a.cloneUIVehicleMap(n);return r.forEach(e=>{e.series.forEach(t=>{t.models.forEach(t=>{let n=o.find(n=>n.value===`${e.name}|${t.name}`);t.count=c.cmp.isDefinedAndNotNull(n)?n.count:0})})}),r})}_buildFacetsQuery(e,t,n){return(0,i.mG)(this,void 0,void 0,function*(){let{query:i,vehicleSearch:a}=yield this._setupFacetsQuery(n);return i=this._vehicleQueryService.updateQueryOnFilterChange(i,a,e,t),i})}_setupFacetsQuery(e){return(0,i.mG)(this,void 0,void 0,function*(){return{query:{facets:[{value:"MakeDisplayName",count:null}],returnCount:!0,pageSize:0,pageNumber:1,filters:[new d.Xo("StatusKey",a.d.ne,a.Ge.str,a.zX.or,[h.zB.Sold]),new d.Xo("StatusKey",a.d.ne,a.Ge.str,a.zX.or,[h.zB.Layaway])],filterConjunction:a.zX.and,queryType:a.xL.vehicle},vehicleSearch:{filters:c.ObjectUtils.cloneDeep(e||this._store.vsrSnapshot().filters),sort:c.ObjectUtils.cloneDeep(this._store.vsrSnapshot().sort)}}})}buildUIVehicleMapAndIndexer(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n=yield this._buildFacetsQuery(e,t);try{let e=yield Promise.all([this.getHistoricVehicleMap(),this.promiseService.getMakeModelFacetsPromise(n)]),t=e[0],i=e[1];return yield this.buildUIVehicleMapAndIndexerWithFacets(t,i)}catch(i){this._logException("buildUIVehicleMapAndIndexer",i),console.error("buildUIVehicleMapAndIndexer - results error",i)}})}getHistoricVehicleMap(){return(0,i.mG)(this,void 0,void 0,function*(){let{historicVehicleMap:e,historicVehicleIndexer:t,needFreshVehicleCounts:n}=this._store.vsrSnapshot();if(c.cmp.isNotEmpty(e)&&c.cmp.isNotEmpty(e)&&!n)return Promise.resolve({historicVehicleMap:e,historicVehicleIndexer:t});try{let e=yield this.promiseService.getHistoricVehicleMapPromise();return yield this._store.dispatchAsync(new m.Qv(e.historicVehicleMap)),yield this._store.dispatchAsync(new m.cS(e.historicVehicleIndexer)),yield this._store.dispatchAsync(new m.GN(!1)),e}catch(i){this._logException("getHistoricVehicleMap",i)}})}getHistoricMakes(){return(0,i.mG)(this,void 0,void 0,function*(){try{return(yield this.getHistoricVehicleMap()).historicVehicleMap.map(e=>e.name)}catch(e){this._logException("getHistoricMakes",e)}})}getHistoricSeriesModels(e){return(0,i.mG)(this,void 0,void 0,function*(){try{let t=[];return(yield this.getHistoricVehicleMap()).historicVehicleMap.find(t=>t.name===e).series.forEach(e=>{e.name!==w.k5&&t.push(e.name),e.models.forEach(e=>{t.push(e.name)})}),t}catch(t){this._logException("getHistoricSeriesModel",t)}})}buildUIVehicleMapAndIndexerWithFacets(e,t){return(0,i.mG)(this,void 0,void 0,function*(){t=c.ObjectUtils.cloneDeep(t);let n=[],i={};return e.historicVehicleMap.forEach(a=>{let o=c.StringUtils.slug(a.name),r=new S(a.name,o);n.push(r),r.series=[],a.series.forEach(n=>{let a=c.StringUtils.slug(n.name),s=new k(n.name,`${o}-${a}`);s.make=r,r.series.push(s),s.models=[],n.models.forEach(n=>{let l=c.StringUtils.slug(n.name),d=new C(n.name,`${o}-${a}-${l}`);d.id=n.id,i[d.id]=e.historicVehicleIndexer[d.key];let u=t.find(e=>e.value===`${r.name}|${d.name}`);c.cmp.isDefinedAndNotNull(u)&&(d.count=u.count),d.series=s,s.models.push(d)})})}),yield this._store.dispatchAsync(new m.oM(n)),yield this._store.dispatchAsync(new m.dY(i)),{uiVehicleMap:n,vehicleIDIndexer:i}})}_getQuery(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=this.getTempFiltersFromStore(this._store.vsrSnapshot()),n=yield this._getSearchRadiusDealership(),i=this._vehicleQueryService.getDefaultQuery(t),{uiVehicleMap:a,vehicleIDIndexer:o}=yield this.getUIVehicleMapAndIndexer(t,n);return yield this._vehicleQueryService.generateQuery(i,e,a,o,t,n)})}getLayawayVehiclesAction(){return(0,i.mG)(this,void 0,void 0,function*(){yield this._store.dispatchAsync(new m.Pd(!0)),yield this._getVehicles(p.gc.Layaway),yield this._store.dispatchAsync(new m.Pd(!1))})}getTempFiltersFromStore(e){let t={},{tempFilters_dealershipNumber:n,tempFilters_milesRadius:i,tempFilters_region:a,tempFilters_location:o,tempFilters_sold:r,tempFilters_layaway:s}=e;return c.cmp.isDefinedAndNotNull(n)&&(t.dealershipNumber=n),c.cmp.isDefinedAndNotNull(i)&&(t.milesRadius=i),c.cmp.isDefinedAndNotNull(a)&&(t.region=a),c.cmp.isDefinedAndNotNull(r)&&(t.sold=r),c.cmp.isDefinedAndNotNull(o)&&(t.lat=o.lat,t.lng=o.lng),c.cmp.isDefinedAndNotNull(s)&&(t.layaway=s),t}_getSearchRadiusDealership(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=this._store.locationSnapshot(),n=this._store.dealershipSnapshot().activeDealership,i=(e||this._store.vsrSnapshot().filters).distance[0];return i!==p.n.SelectedDealership&&i!==p.n.NearestDealership&&i!==p.n.NearestCity?null:i===p.n.SelectedDealership?n:yield this._dealershipService.getClosestDealership(t.lat,t.lng)})}handleLocationChange(){return(0,i.mG)(this,void 0,void 0,function*(){let e=this._store.locationSnapshot();if(!this._derivedProperties.snapshot().onSeoRoute){let t=yield this._locationService.isLatLngInSellRegion(e.lat,e.lng);this._store.dispatch(new m.a9(t))}if(c.cmp.isDefinedAndNotNull(e)&&(e.bestLocateStrategySuccess===g.OS.Specific||e.bestLocateStrategySuccess===g.OS.NonSpecific)){if(yield this._store.dispatchAsync(new m.GN(!0)),this._derivedProperties.snapshot().onSeoRoute)this._linkHelper.navigate(this._linkHelper.vehicleSearchPage(null,{asUrlObject:!0}));else{yield this._store.dispatchAsync(new m.nL);let e=this._store.vsrSnapshot();if(e.seoLocationType!==p.kW.Inventory&&e.filters.distance[0]===p.n.SelectedDealership){let t=e.filters;t.distance[0]=this._store.vsrSnapshot().defaultDistance,yield this._store.dispatchAsync(new m.cB(t))}}this._logDmpLocationEvent()}yield this._store.dispatchAsync(new m.r4(p.kW.Default)),this._derivedProperties.seeIfWeNeedNewVehicles$.next(!0)})}refreshVehicles(){return(0,i.mG)(this,void 0,void 0,function*(){let e=this.getTempFiltersFromStore(this._store.vsrSnapshot()),t=yield this._getSearchRadiusDealership();try{let n=yield this.getTotalVehicleCount(e,t);yield this._store.dispatchAsync(new m.zx(n)),yield this._store.dispatchAsync(new m.pA),yield this._store.dispatchAsync(new m.V9(!1)),yield this._store.dispatchAsync(new m.Ty(0)),yield this._store.dispatchAsync(new m.rG(0)),yield this._getVehicles(p.gc.Refresh)}catch(n){this._logException("refreshVehicles",n)}})}getVehicles(){return(0,i.mG)(this,void 0,void 0,function*(){try{yield this._getVehicles(p.gc.Available)}catch(e){this._logException("getVehicles",e)}})}_getVehicles(e){return(0,i.mG)(this,void 0,void 0,function*(){try{let t=yield this._getQuery(e);switch(t.pageNumber=yield this._getNextPageNumber(this._mapSearchTypeToStatusType(e)),yield this.getVehiclesByQuery(t,e)){case p.tx.NoResults:yield this._getVehicles(p.gc.NoResults);break;case p.tx.Layaway:yield this.getLayawayVehiclesAction();break;case p.tx.None:break;default:throw new Error("_getVehicles - unhandled FurtherSearchActions case")}}catch(t){this._logException("_getVehicles",t)}})}getVehiclesByQuery(e,t){return(0,i.mG)(this,void 0,void 0,function*(){try{let n=yield this.getVehiclesByQueryFromAzure(e),i=n.vehicles,a=n.count;switch(t){case p.gc.NoResults:return this._handleNoResultsVehicles(i);case p.gc.Refresh:return this._handleRefreshVehicles(i,a);case p.gc.Available:return this._handleAvailableVehicles(i);case p.gc.Layaway:return this._handleLayawayVehicles(i,a);default:return p.tx.None}}catch(n){this._logException("getVehiclesByQuery",n)}})}_handleNoResultsVehicles(e){return(0,i.mG)(this,void 0,void 0,function*(){return yield this._store.dispatchAsync(new m.Bh(e,p.gc.NoResults)),p.tx.None})}_handleLayawayVehicles(e,t){return(0,i.mG)(this,void 0,void 0,function*(){return yield this._store.dispatchAsync(new m.Bh(e,p.gc.Layaway)),yield this._store.dispatchAsync(new m.Ty(t)),yield this._store.dispatchAsync(new m.Pd(!1)),this._store.vsrSnapshot().filteredVehicleCount<=5?p.tx.NoResults:p.tx.None})}_handleAvailableVehicles(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=this._derivedProperties.snapshot().readyForNoResultsAlert$?p.gc.NoResults:p.gc.Available;return yield this._store.dispatchAsync(new m.vn(e,t)),t===p.gc.NoResults?p.tx.None:this._determineNextAction()})}_handleRefreshVehicles(e,t){return(0,i.mG)(this,void 0,void 0,function*(){return yield this._store.dispatchAsync(new m.Bh(e,p.gc.Refresh)),yield this._store.dispatchAsync(new m.rG(t)),this._determineNextAction()})}_determineNextAction(){return this._isLayawayNextAction()?p.tx.Layaway:p.tx.None}_isLayawayNextAction(){let e=this._store.vsrSnapshot().vehicles,t=c.cmp.isEmpty(e)||this._store.vsrSnapshot().filteredVehicleCount===e.length||0===e.length;return this._store.dispatch(new m.Yt(t)),!(!t||this._store.vsrSnapshot().tempFilters_layaway||(this._store.dispatch(new m.Pd(!0)),0))}_mapAzureVehicles(e){return{vehicles:e.value.map(e=>new o.x(e,this._photoService)),count:c.cmp.isDefinedAndNotNull(e["@odata.count"])?e["@odata.count"]:0}}getVehiclesByQueryFromAzure(e){return(0,i.mG)(this,void 0,void 0,function*(){try{let t=yield this.promiseService.getVehiclesPromise(e);return this._mapAzureVehicles(t)}catch(t){throw this._logException("getVehiclesByQueryFromAzure",t),t}})}getNewInventoryByDealershipQuery(e,t){let n=[new d.Xo("CurrentLocation",a.d.eq,a.Ge.num,a.zX.or,[e]),new d.Xo("StatusKey",a.d.eq,a.Ge.str,a.zX.and,[h.zB.Available])],i=new d.Pd;return i.filters=n,i.pageSize=t,i.orderBy=new d.IX("LotAge",a.eQ[a.eQ.asc]),i}getNewInventoryByDealership(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n=this.memoryStoreService.newInventoryMemory().newInventoryDataSubject.getValue()[e];if(c.cmp.isDefinedAndNotNull(n))return;let i=this.getNewInventoryByDealershipQuery(e,t);try{let t=yield this.promiseService.getVehiclesPromise(i),n=this._mapAzureVehicles(t).vehicles;this.memoryStoreService.newInventoryMemory().publish(n,e)}catch(a){this._logException("getNewInventoryByDealership",a)}})}getSelectedMakes(e){return c.cmp.isNotEmpty(e)?e.filter(e=>e.selected):[]}deselectMakesAndModels(){return(0,i.mG)(this,void 0,void 0,function*(){yield this.getHistoricVehicleMap()})}getTrueMakeModelNames(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n={};if(c.cmp.isEmpty(e))return n;try{let{historicVehicleMap:i,historicVehicleIndexer:a}=yield this.getHistoricVehicleMap(),o=a[c.StringUtils.slug(e)];if(c.cmp.isEmpty(o))return n;let r=i[o.makeIndex];if(n.make=r.name,n.makeIndex=+o.makeIndex,c.cmp.isEmpty(t))return n;let s=yield this.getModelOrSeries(r,o.makeIndex,t);return c.cmp.isUndefinedOrNull(s)||(n.model=s.modelOrSeries.name,n.modelIndex=a[s.indexKey]),n}catch(i){throw this._analyticService.logException(i,"VehicleSearchService->_getTrueMakeModelNames() failed. Error: "),new Error(i)}})}getVehicleCountsForNationwide(){return this.promiseService.getVehicleCountsPromise(null,"nationwide",null,null)}getVehicleCountsForCity(e,t,n){return[e,t,n]=c.StringUtils.slug([e,t,n]),this.promiseService.getVehicleCountsPromise(e,"city",t,n)}getVehicleCountsForRegion(e,t,n){return[e,t,n]=c.StringUtils.slug([e,t,n]),this.promiseService.getVehicleCountsPromise(e,"region",t,n)}getVehicleCountsForState(e,t){return this.promiseService.getVehicleCountsPromise(null,"state",e,t)}getVehicleCountsForDealership(e,t){return this.promiseService.getVehicleCountsPromise(e.toString(),"dealership",null,t)}_logException(e,t){this._analyticService.logException(t,`VehicleSearchService->${e} failed.`)}getModelOrSeries(e,t,n){return(0,i.mG)(this,void 0,void 0,function*(){try{let i=(yield this.getHistoricVehicleMap()).historicVehicleMap[t],a=i.name;if(n=c.StringUtils.slug(n),c.cmp.isDefinedAndNotNull(e))for(let e=0;e<i.series.length;e++){let t=i.series[e].name;if(c.StringUtils.slug(t)===n)return{modelOrSeries:i.series[e],indexKey:`${c.StringUtils.slug(`${a}-${t}`)}`,type:h.wI.Series};for(let o=0;o<i.series[e].models.length;o++){let r=i.series[e].models[o].name;if(c.StringUtils.slug(r)===n)return{modelOrSeries:i.series[e].models[o],indexKey:`${c.StringUtils.slug(`${a}-${t}-${r}`)}`,type:h.wI.Model}}}return null}catch(i){this._analyticService.logException(i,"VehicleSearchService->_getModel() failed. Error: ")}})}_logDmpLocationEvent(){this._analyticService.logDmpEvent({label:"filterLocation",filterLocation:this._getLocationNameForDmp(),filterLocRadius:"250"})}_getLocationNameForDmp(){let e=this._store.locationSnapshot();return c.cmp.isUndefinedOrNull(e)?"":c.cmp.isDefinedAndNotNull(e.city)?`${e.city}, ${e.state.shortName}`:e.state.shortName}saveFilters(e,t){return(0,i.mG)(this,void 0,void 0,function*(){e&&(yield this._store.dispatchAsync(new m.mS)),yield this._store.dispatchAsync(new m.cB(t))})}resetFilters(){return(0,i.mG)(this,void 0,void 0,function*(){yield this._store.dispatchAsync(new m.Pd(!1)),yield this._store.dispatchAsync(new m.Yt(!1)),yield this._store.dispatchAsync(new m.cB(this._derivedProperties.snapshot().defaultFilters)),yield this._store.dispatchAsync(new m.oM((yield this.getUIVehicleMapAndIndexer()).uiVehicleMap))})}_getNextPageNumber(e=h.zB.Available){return(0,i.mG)(this,void 0,void 0,function*(){return(yield this.determinePageCount(e))+1})}determinePageCount(e){let t=this._store.vsrSnapshot().vehicles.filter(t=>t.StatusKey===e);return Math.round((t||[]).length/d.L8)}_mapSearchTypeToStatusType(e){switch(e){case p.gc.Layaway:return h.zB.Layaway;case p.gc.Sold:return h.zB.Sold;default:return h.zB.Available}}handleFilterChange(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n=null;if(t)switch(n=c.ObjectUtils.cloneDeep(this.getTempFiltersFromStore(this._store.vsrSnapshot())),e.distance[0]){case p.n.NearestCity:case p.n.NearestDealership:n.milesRadius=0;break;case p.n.National:Object.keys(n).forEach(e=>{n[e]=null});break;default:n.milesRadius=this._vehicleQueryService._updateRadiusFromDistanceType(e.distance[0])}let{uiVehicleMap:i}=yield this.getUIVehicleMapAndIndexer(n,null,e);yield this._store.dispatchAsync(new m.oM(i))})}getTotalVehicleCount(e,t,n){return(0,i.mG)(this,void 0,void 0,function*(){c.cmp.isUndefinedOrNull(e)&&(e=this.getTempFiltersFromStore(this._store.vsrSnapshot())),c.cmp.isUndefinedOrNull(n)&&(n=this._store.vsrSnapshot().filters),c.cmp.isUndefinedOrNull(t)&&(t=yield this._getSearchRadiusDealership(n));let{query:i,vehicleSearch:a}=yield this._setupFacetsQuery(n);return i=this._vehicleQueryService.updateQueryFromLocation(i,e),i=yield this._vehicleQueryService.updateQuerySearchRadius(a,i,t),i=this._vehicleQueryService.updateQueryFromTempFilters(e,i),yield this.promiseService.getMakeModelFacetsTotalCountPromise(i)})}addCachedVehicleToVehicleFinancingStats(e){this._mvfCachedVehicles=this._distinctStockNumbers([e],this._mvfCachedVehicles);const t=this._mvfCachedVehicles.length;(t===this._mvfBatchSize||t===this._totalDistinctVehicleCount)&&this._financeService.vehicleFinancingStats$.next({processingState:N.Wm.Completed,cachedStockNumbers:this._mvfCachedVehicles})}_distinctStockNumbers(e,t){return c.cmp.isUndefinedOrNull(t)&&(t=[]),c.cmp.isDefinedAndNotNull(e)&&e.forEach(e=>{t.includes(e)||t.push(e)}),t}_onlyCachedVehicles(e,t){return c.cmp.isUndefinedOrNull(t)&&(t=[]),c.cmp.isDefinedAndNotNull(e)&&(t=t.filter(t=>!e.includes(t))),t}}V.\u0275fac=function(e){return new(e||V)(F.LFG(r.D),F.LFG(l.D),F.LFG(_.k),F.LFG(f.a),F.LFG(y.R),F.LFG(s.g),F.LFG(v.k),F.LFG(u.q),F.LFG(A.T),F.LFG(b.y),F.LFG(s.g),F.LFG(T.w),F.LFG(R.Z))},V.\u0275prov=F.Yz7({token:V,factory:V.\u0275fac}),(0,i.gn)([(0,D.Ph)(e=>e.app.vsr.vehicles),(0,i.w6)("design:type",E.y)],V.prototype,"_vehicles$",void 0),(0,i.gn)([(0,D.Ph)(e=>e.app.vsr.noVehicleResults),(0,i.w6)("design:type",E.y)],V.prototype,"_noResultVehicles$",void 0)},11654:function(e,t,n){"use strict";n.d(t,{y:function(){return m}});var i=n(97582),a=n(59328),o=n(22479),r=n(20483),s=n(30277),l=n(26215),c=n(9112),d=n(18891),u=n(28645),p=n(61453),h=n(37716);class m{constructor(e){this._store=e,this.onInventoryRoute$=new l.X(!1),this.onSeoRoute$=new l.X(!1),this.noDealerInventory$=new l.X(!1),this.lowSearchResults$=new l.X(!1),this.hasLayawayResults$=new l.X(!1),this.filterSortDisabled$=new l.X(!1),this.allResultsShown$=new l.X(!1),this.noResults$=new l.X(!1),this.filtersChanged$=new l.X(!1),this.seeIfWeNeedNewVehicles$=new l.X(!1),this.readyForNoResultsAlert$=new l.X(!1),this.displayFilterStatus$=new l.X(!1),this.isDefaultVsrView$=new l.X(!1),this.filterColor$=new l.X(null),this.defaultFilters$=new l.X(this.defaultFilters(o.kW.Default)),this._setupComplete=!1,this.viewReadyToShow$=new l.X(!1),this.noVehiclesInMileRadius$=new l.X(!1),this.hasNoResultsVehicles$=new l.X(!1),this.filteredVehicleCountForShow$=new l.X(null)}setupSubscriptions(){this._setupComplete||(this._setupComplete=!0,this.filters.pipe((0,a.G)()).subscribe(e=>(0,i.mG)(this,void 0,void 0,function*(){let t=yield this._store.publishValueChangedAsync(e[0],e[1],this.startNeedsFreshVehiclesPublish.bind(this),o.UP.FiltersChanged);this.filtersChanged$.next(t)})),this.sort.pipe((0,a.G)()).subscribe(e=>this._store.publishValueChangedAsync(e[0],e[1],this.startNeedsFreshVehiclesPublish.bind(this),o.UP.SortChanged)),this.seoLocationType.pipe((0,a.G)()).subscribe(e=>this._store.publishValueChangedAsync(e[0],e[1],this.startNeedsFreshVehiclesPublish.bind(this),o.UP.SeoLocationTypeChanged)),this.location.pipe((0,a.G)()).subscribe(e=>this._store.publishValueChangedAsync(e[0],e[1],this.startNeedsFreshVehiclesPublish.bind(this),o.UP.LocationChanged)),this.seoLocationType.subscribe(e=>{this.onInventoryRoute$.next(this.onInventoryRoute(e)),this.onSeoRoute$.next(this.onSeoRoute(e)),this.isDefaultVsrView$.next(this.isDefaultVsrView(e)),this.defaultFilters$.next(this.defaultFilters(e))}),this.filteredVehicleCount.subscribe(e=>{this.lowSearchResults$.next(this.lowSearchResults(e)),this.filterColor$.next(this.filterColor(e)),this.readyForNoResultsAlert$.next(this.readyForNoResultsAlert(e))}),this.vehicles.subscribe(e=>{this.noResults$.next(this.noResults(e))}),(0,c.aj)(this.seoLocationType,this.filteredVehicleCount).subscribe(([e,t])=>{this.noDealerInventory$.next(this.noDealerInventory(e,t))}),this.layawayVehicleCount.subscribe(e=>{this.hasLayawayResults$.next(this.hasLayawayResults(e))}),(0,c.aj)(this.isGeoLocated,this.seoLocationType).subscribe(([e,t])=>{this.filterSortDisabled$.next(this.filterSortDisabled(t,e))}),(0,c.aj)(this.vehicles,this.filteredVehicleCount).subscribe(([e,t])=>{this.allResultsShown$.next(this.allResultsShown(e,t))}),(0,c.aj)(this.filters,this.seoLocationType).subscribe(([e,t])=>{this.displayFilterStatus$.next(this.displayFilterStatus(e,t))}),this.noVehiclesInMileRadius.subscribe(e=>{this.noVehiclesInMileRadius$.next(e)}),this.noVehicleResults.subscribe(e=>{this.hasNoResultsVehicles$.next(r.cmp.isNotEmpty(e))}),(0,c.aj)(this.filteredVehicleCount,this.totalVehicleCount,this.hasNoResultsVehicles$).subscribe(([e,t,n])=>{const i=r.cmp.areAllDefinedAndNotNull(e,t);this.filteredVehicleCountForShow$.next(i&&e<=t&&0!==e||i&&n&&0===e||i&&0===e&&0===t?e:null)}))}snapshot(){return{onInventoryRoute:this.onInventoryRoute$.getValue(),onSeoRoute:this.onSeoRoute$.getValue(),noDealerInventory:this.noDealerInventory$.getValue(),lowSearchResults:this.lowSearchResults$.getValue(),hasLayawayResults:this.hasLayawayResults$.getValue(),filterColor:this.filterColor$.getValue(),filterSortDisabled:this.filterSortDisabled$.getValue(),allResultsShown:this.allResultsShown$.getValue(),noResults:this.noResults$.getValue(),readyForNoResultsAlert$:this.readyForNoResultsAlert$.getValue(),displayFilterStatus:this.displayFilterStatus$.getValue(),defaultFilters:this.defaultFilters$.getValue(),defaultSort:this.defaultSort(),isDefaultVsrView:this.isDefaultVsrView$.getValue()}}onInventoryRoute(e){return e===o.kW.Inventory}onSeoRoute(e){return e!==o.kW.Default}noDealerInventory(e,t){return this.onInventoryRoute(e)&&t<=0}lowSearchResults(e){return e>0&&e<=5}hasLayawayResults(e){return e>0}filterColor(e){let t;return t=this.lowSearchResults(e)?"yellow":e>5?"green":"red",`filter-dot-color-${t}`}filterSortDisabled(e,t){return e===o.kW.Nationwide||!t}allResultsShown(e,t){return e.length===t}noResults(e){return r.cmp.isEmpty(e)}startNeedsFreshVehiclesPublish(e){return(0,i.mG)(this,void 0,void 0,function*(){this.viewReadyToShow$.next(!1),yield this._store.dispatchAsync(new p.j4(e))})}readyForNoResultsAlert(e){return 0===e}displayFilterStatus(e,t){return!r.ObjectUtils.deepCompare(e,this.defaultFilters(t))}defaultFilters(e){return{makeModel:[],distance:e===o.kW.Inventory?[o.n.SelectedDealership]:[this._store.vsrSnapshot().defaultDistance],year:null,mpg:null,colors:null,price:null,mileage:null,driveTrain:null,fuelType:null,engine:null,bodyType:null,features:null,history:null,payments:null}}defaultSort(){return this._store.vsrSnapshot().defaultSort}isDefaultVsrView(e){return e===o.kW.Default}}m.\u0275fac=function(e){return new(e||m)(h.LFG(s.k))},m.\u0275prov=h.Yz7({token:m,factory:m.\u0275fac}),(0,i.gn)([(0,u.Ph)(e=>e.app.vsr.seoLocationType),(0,i.w6)("design:type",d.y)],m.prototype,"seoLocationType",void 0),(0,i.gn)([(0,u.Ph)(e=>e.app.vsr.filteredVehicleCount),(0,i.w6)("design:type",d.y)],m.prototype,"filteredVehicleCount",void 0),(0,i.gn)([(0,u.Ph)(e=>e.app.vsr.totalVehicleCount),(0,i.w6)("design:type",d.y)],m.prototype,"totalVehicleCount",void 0),(0,i.gn)([(0,u.Ph)(e=>e.app.vsr.layawayVehicleCount),(0,i.w6)("design:type",d.y)],m.prototype,"layawayVehicleCount",void 0),(0,i.gn)([(0,u.Ph)(e=>e.app.vsr.sort),(0,i.w6)("design:type",d.y)],m.prototype,"sort",void 0),(0,i.gn)([(0,u.Ph)(e=>e.app.vsr.filters),(0,i.w6)("design:type",d.y)],m.prototype,"filters",void 0),(0,i.gn)([(0,u.Ph)(e=>e.app.vsr.vehicles),(0,i.w6)("design:type",d.y)],m.prototype,"vehicles",void 0),(0,i.gn)([(0,u.Ph)(e=>e.app.location.currentLocation.isGeoLocated),(0,i.w6)("design:type",d.y)],m.prototype,"isGeoLocated",void 0),(0,i.gn)([(0,u.Ph)(e=>e.app.location),(0,i.w6)("design:type",d.y)],m.prototype,"location",void 0),(0,i.gn)([(0,u.Ph)(e=>e.app.vsr.noVehiclesInMileRadius),(0,i.w6)("design:type",d.y)],m.prototype,"noVehiclesInMileRadius",void 0),(0,i.gn)([(0,u.Ph)(e=>e.app.vsr.noVehicleResults),(0,i.w6)("design:type",d.y)],m.prototype,"noVehicleResults",void 0)},77979:function(e,t,n){"use strict";n.d(t,{f:function(){return m}});var i=n(97582),a=n(45829),o=n(45637),r=n(82030),s=n(20483),l=n(46664),c=n(60777),d=n(70764),u=n(1850),p=n(30277),h=n(37716);let m=(()=>{class e{constructor(e,t,n,i,a){this.memoryStoreService=e,this.promiseService=t,this._analyticsService=n,this._photoService=i,this._store=a,this.MEMORY_VEHICLE_PAGE_VIEW_COUNT={}}getVehicleInTheVsrStore(e){let t=this._store.vsrSnapshot().vehicles;if(s.cmp.isEmpty(t))return null;let n=t.find(e);return s.cmp.isDefinedAndNotNull(n)?s.ObjectUtils.cloneDeep(n):null}getVehicleInTheNewInventoryStore(e){let t=this.memoryStoreService.newInventoryMemory().newInventoryDataSubject.getValue();if(s.cmp.isEmpty(t))return null;for(let n in t)if(t.hasOwnProperty(n)){let i=t[n].find(e);if(s.cmp.isDefinedAndNotNull(i))return i}return null}getVehicleFromSimilarVehiclesStore(e){let t=this.memoryStoreService.similarVehiclesMemory().vehiclesMap;if(s.cmp.isEmpty(t))return null;for(let n in t)if(t.hasOwnProperty(n)){let i=t[n].find(e);if(s.cmp.isDefinedAndNotNull(i))return i}return null}getVehicle(e,t){let n=this.getVehicleInTheVsrStore(e)||this.getVehicleFromSimilarVehiclesStore(e)||this.getVehicleInTheNewInventoryStore(e);return s.cmp.isDefinedAndNotNull(n)?(this.memoryStoreService.vehicleMemory().publish(n),Promise.resolve(n)):this.getVehicleFromAzure(t)}getVehicleForStockNumber(e){return this.getVehicle(t=>t.StockNumber===e,this.createAzureSearchForStockNumbers([e]))}getVehicleForVin(e){return this.getVehicle(t=>t.Vin===e,this.createAzureSearchForVins([e]))}getVehicleFromAzure(e){return this.promiseService.getVehiclesPromise(e).then(e=>{let t=e.value.map(e=>new c.x(e,this._photoService)),n=Array.isArray(t)&&1===t.length?t[0]:null;return this.memoryStoreService.vehicleMemory().publish(n),Promise.resolve(n)}).catch(e=>Promise.resolve(null))}updateVehiclePageViews(e){this.promiseService.updateVehiclePageViewsPromise(e.StockNumber),this.updateVehiclePageViewsInMemory(e)}updateVehiclePageViewsInMemory(e){let t=this.MEMORY_VEHICLE_PAGE_VIEW_COUNT.hasOwnProperty(e.StockNumber),n=this.MEMORY_VEHICLE_PAGE_VIEW_COUNT[e.StockNumber];e.PageViews=t&&s.cmp.isDefinedAndNotNull(n)&&n>e.PageViews?n+1:e.PageViews+1,this.MEMORY_VEHICLE_PAGE_VIEW_COUNT[e.StockNumber]=e.PageViews}createAzureSearchForStockNumbers(e){let t=new l.Pd,n=new l.Xo("StockNumber",a.d.eq,a.Ge.num,a.zX.or,e);return t.filters=[n],t.pageSize=e.length,t}createAzureSearchForVins(e){let t=new l.Pd,n=new l.Xo("Vin",a.d.eq,a.Ge.str,a.zX.or,e.map(e=>e.toUpperCase()));return t.filters=[n],t.pageSize=e.length,t}getVehiclesForStockNumbers(e){return(0,i.mG)(this,void 0,void 0,function*(){let t,n=[],i=[],a=[];for(let o=0;o<e.length;o++){let t=this.checkStoresForVehicle(t=>t.StockNumber===e[o]);s.cmp.isDefinedAndNotNull(t)?a.push(t):n.push(e[o])}return n.length>0&&(i=s.ObjectUtils.toArray(yield this.getVehiclesFromAzure(this.createAzureSearchForStockNumbers(n)))),e.map(e=>{let n=t=>t.StockNumber===e;return t=a.find(n),s.cmp.isUndefinedOrNull(t)&&(t=i.find(n)),t})})}getVehicleDataForStockNumbers(e){return(0,i.mG)(this,void 0,void 0,function*(){return s.cmp.isEmpty(e)?[]:s.ObjectUtils.toArray(yield this.getVehiclesFromAzure(this.createAzureSearchForStockNumbers(e)))})}checkStoresForVehicle(e){return this.getVehicleInTheVsrStore(e)||this.getVehicleFromSimilarVehiclesStore(e)||this.getVehicleInTheNewInventoryStore(e)}getVehiclesFromAzure(e){return this.promiseService.getVehiclesPromise(e).then(e=>Promise.resolve(e.value.map(e=>new c.x(e,this._photoService)))).catch(e=>Promise.resolve(null))}}return e.\u0275fac=function(t){return new(t||e)(h.LFG(o.D),h.LFG(r.D),h.LFG(d.g),h.LFG(u.T),h.LFG(p.k))},e.\u0275prov=h.Yz7({token:e,factory:e.\u0275fac}),e})()},18656:function(e,t,n){"use strict";n.d(t,{l:function(){return f}});var i=n(97582),a=n(22479),o=n(26215),r=n(9112),s=n(17315),l=n(30277),c=n(48531),d=n(1638),u=n(92547),p=n(96645),h=n(28645),m=n(98800),g=n(37716);class f{constructor(e,t){this._store=e,this._screenSizeService=t,this._vsrGridListFeature$=this._store.select(d.LW.getPersistedFeature(s.e6.Id));const n=e.featuresSnapshot().persistedFeatures[s.e6.Id].variables[s.e6.EnableVSRView],i=e.featuresSnapshot().persistedFeatures[s.e6.Id].variables[s.e6.Variant];this.vsrGridListVariationValue$=new o.X(n?a.mX[i]:a.mX[a.C2.CONTROL]),(0,r.aj)(this._hasReceivedEligibleCert$,this._vsrGridListFeature$,this._screenSizeService.isDesktop).subscribe(([e,t,n])=>{this.vsrGridListVariationValue$.next(t.variables[s.e6.EnableVSRView]&&e&&!n?t.variables[s.e6.Variant]:a.mX.Control_VSR_View)})}isUserAlreadyBucketed(){return null!==this._store.featuresSnapshot().persistedFeatures[s.e6.Id].variables[s.e6.EnableVSRView]}getVSRViewVariant(){return this._store.featuresSnapshot().persistedFeatures[s.e6.Id].variables[s.e6.Variant]}isEnableVSRView(){return!!this._store.featuresSnapshot().persistedFeatures[s.e6.Id].variables[s.e6.EnableVSRView]}updateVSRViewVariables(e,t){this._store.dispatch(new c.MI(s.e6.Id,s.e6.EnableVSRView,e)),this._store.dispatch(new c.MI(s.e6.Id,s.e6.Variant,t))}}f.\u0275fac=function(e){return new(e||f)(g.LFG(l.k),g.LFG(m.O))},f.\u0275prov=g.Yz7({token:f,factory:f.\u0275fac,providedIn:"root"}),(0,i.gn)([(0,h.Ph)(u.Z8.get(p.j.VSRGridListView.HasReceivedEligibleCert)),(0,i.w6)("design:type",o.X)],f.prototype,"_hasReceivedEligibleCert$",void 0)},68450:function(e,t,n){"use strict";n.d(t,{u:function(){return u}});var i=n(26215),a=n(22759),o=n(92996),r=n(87519),s=n(88002),l=n(67041),c=n(31081),d=n(37716);let u=(()=>{class e{constructor(e){this.appConfig=e,this.deviceType=new i.X(c.Yi.Unknown),this.isChrome=!1,this.isiOs=!1;let t=new i.X(this.getWindowSize());this.width$=t.pipe((0,o.j)("width")).pipe((0,r.x)()),this.height$=t.pipe((0,o.j)("height")).pipe((0,r.x)()),this.appConfig.isBrowser&&(this.isChrome=/chrome|crios/i.test(navigator.userAgent),this.isiOs=/ipod|ipad|iphone/i.test(navigator.userAgent),this.deviceType.next(this.isiOs?c.Yi.Ios:c.Yi.Android),(0,a.R)(window,"resize").pipe((0,s.U)(this.getWindowSize,this)).subscribe(t))}getWindow(){return window}getWindowSize(){return{height:window.innerHeight,width:window.innerWidth}}}return e.\u0275fac=function(t){return new(t||e)(d.LFG(l._))},e.\u0275prov=d.Yz7({token:e,factory:e.\u0275fac}),e})()},11429:function(e,t,n){"use strict";n.d(t,{H8:function(){return _},aB:function(){return A}});var i=n(97582),a=n(28645),o=n(67086),r=n(85698),s=n(11998),l=n(54768),c=n(88210),d=n(79117),u=n(1638),p=n(56463),h=n(92547),m=n(4398),g=n(98467),f=(n(73946),n(56370)),y=n(37716);const _={app:{location:r.zu,vsr:o.yk,dealership:s.He,lead:l.ke,mobileApp:c.ts,user:d.jU,features:u.g7,internalFeature:h.N3,financing:p.MI,savedVehicle:g.l4,navigation:m.tQ,vehicle:f.X}};let A=class{};A.\u0275fac=function(e){return new(e||A)},A.\u0275prov=y.Yz7({token:A,factory:A.\u0275fac}),A=(0,i.gn)([(0,a.ZM)({name:"app",defaults:null,children:[r.py,o.F_,s.Dk,l.FT,c.MS,d.aF,u.LW,h.Z8,p.f0,g.vA,m.p_,f.V]})],A)},99824:function(e,t,n){"use strict";n.d(t,{ZX:function(){return i},RN:function(){return a},CI:function(){return o},Mf:function(){return r}});let i=(()=>{class e{constructor(e){this.activeDealership=e}}return e.type="SetActiveDealership",e})(),a=(()=>{class e{constructor(e){this.dealerships=e}}return e.type="SetDealerships",e})(),o=(()=>{class e{constructor(e){this.count=e}}return e.type="SetNationalCount",e})(),r=(()=>{class e{constructor(e){this.flag=e}}return e.type="SetIsActiveDealershipEligibleForAccutrade",e})()},11998:function(e,t,n){"use strict";n.d(t,{He:function(){return c},Dk:function(){return d}});var i=n(97582),a=n(28645),o=n(38376),r=n(99824),s=n(37716);let l=class{constructor(){this.activeDealership=null,this.dealerships=[],this.nationalCount=0,this.isActiveDealerhipEligibleForAccutrade=!1}};l=(0,i.gn)([(0,o.$)()],l);const c=Object.assign({},new l);let d=class{setActiveDealership(e,t){e.patchState({activeDealership:t.activeDealership})}setDealerships(e,t){e.patchState({dealerships:t.dealerships})}setNationalDealershipCount(e,t){e.patchState({nationalCount:t.count})}setIsActiveDealershipEligibleForAccutrade(e,t){e.patchState({isActiveDealerhipEligibleForAccutrade:t.flag})}};d.\u0275fac=function(e){return new(e||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac}),(0,i.gn)([(0,a.aU)(r.ZX),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,r.ZX]),(0,i.w6)("design:returntype",void 0)],d.prototype,"setActiveDealership",null),(0,i.gn)([(0,a.aU)(r.RN),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,r.RN]),(0,i.w6)("design:returntype",void 0)],d.prototype,"setDealerships",null),(0,i.gn)([(0,a.aU)(r.CI),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,r.CI]),(0,i.w6)("design:returntype",void 0)],d.prototype,"setNationalDealershipCount",null),(0,i.gn)([(0,a.aU)(r.Mf),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,r.Mf]),(0,i.w6)("design:returntype",void 0)],d.prototype,"setIsActiveDealershipEligibleForAccutrade",null),d=(0,i.gn)([(0,a.ZM)({name:"dealership",defaults:c})],d)},48531:function(e,t,n){"use strict";n.d(t,{pm:function(){return i},lH:function(){return a},Jy:function(){return o},MI:function(){return r},PK:function(){return s},HT:function(){return l},RA:function(){return c}});let i=(()=>{class e{constructor(e,t){this.attributeId=e,this.value=t}}return e.type="UpdateAttribute",e})(),a=(()=>{class e{constructor(e,t){this.featureId=e,this.isUserInAudience=t}}return e.type="ActivateFeature",e})(),o=(()=>{class e{constructor(e,t,n){this.featureId=e,this.featureTestId=t,this.variation=n}}return e.type="BucketUser",e})(),r=(()=>{class e{constructor(e,t,n){this.featureId=e,this.variableKey=t,this.value=n}}return e.type="SetFeatureVariable",e})(),s=(()=>{class e{constructor(e,t){this.featureId=e,this.feature=t}}return e.type="SetFeature",e})(),l=(()=>{class e{constructor(e){this.featureId=e}}return e.type="LoadPersistedStateFeature",e})(),c=(()=>{class e{constructor(e){this.featureId=e}}return e.type="TryPersistFeature",e})()},1638:function(e,t,n){"use strict";n.d(t,{g7:function(){return g},LW:function(){return f}});var i=n(97582),a=n(28645),o=n(48531),r=n(20483),s=n(38376),l=n(17315);const c={key:l.Fu.AppCertFinanceCalculator.Settings.FeatureId,featureMap:{[l.$v.AppCertFinanceCalculatorVariation]:{AppCertFinanceCalculatorControl:{showCalculator:!1,heroType:"normal"},AppCertFinanceCalculatorSlider:{showCalculator:!0,heroType:"normal"},AppCertFinanceCalculatorReDesign:{showCalculator:!0,heroType:"redesign"}}}};function d(e){let t={};return e.forEach(e=>{let n;Object.keys(e.featureMap).forEach(i=>{n=Object.assign(Object.assign({},e.featureMap[i]),{key:e.key}),t[i]=n})}),t}const u={[l.Qk.Id]:d([{key:l.Qk.Id,featureMap:{[l.Qk.FinanceCalculatorVariation]:{[l.Fu.VsrFinanceCalculatorVariationValues.FinanceCalculatorBanner]:l.Fu.VsrFinanceCalculatorVariationValues.FinanceCalculatorBanner,[l.Fu.VsrFinanceCalculatorVariationValues.FinanceCalculatorEmbedded]:l.Fu.VsrFinanceCalculatorVariationValues.FinanceCalculatorEmbedded,[l.Fu.VsrFinanceCalculatorVariationValues.FinanceCalculatorControl]:l.Fu.VsrFinanceCalculatorVariationValues.FinanceCalculatorControl}}}]),[l.$v.Namespace]:d([c])};var p,h=n(37716);let m=class{constructor(){this.attributes={[l.ZI.AppCertType]:"",[l.ZI.HasCri]:!1},this.features={},this.storedFeatures=new Array,this.persistedFeatures={[l.vv.VsfMultiPmtFreq.Id]:{variables:{[l.vv.VsfMultiPmtFreq.ShowBiweeklyPmtAppCert]:!1}},[l.vv.VsrFinanceCalculatorExp.Id]:{variables:{[l.vv.VsrFinanceCalculatorExp.LastLeadSubmissionTime]:null}},[l.e6.Id]:{variables:{[l.e6.Variant]:null,[l.e6.EnableVSRView]:null}}}}};(0,i.gn)([(0,s.D)(),(0,i.w6)("design:type",Array)],m.prototype,"storedFeatures",void 0),(0,i.gn)([(0,s.D)(),(0,i.w6)("design:type",Object)],m.prototype,"persistedFeatures",void 0),m=(0,i.gn)([(0,s.$)()],m);const g=Object.assign({},new m);let f=p=class{static isUserInAudience(e){return(0,a.P1)([p],t=>e.some(e=>r.cmp.isDefinedAndNotNull(t.features[e])&&t.features[e].isUserInAudience))}static getAttribute(e){return(0,a.P1)([p],t=>t.attributes[e])}static getVariableValue(e,t,n){return r.cmp.isUndefinedOrNull(this.getVariableValueCache[e])&&(this.getVariableValueCache[e]={}),r.cmp.isUndefinedOrNull(this.getVariableValueCache[e][t])&&(this.getVariableValueCache[e][t]=(0,a.P1)([p],i=>{let a=i.features[e];if(r.cmp.isDefinedAndNotNull(a)&&r.cmp.isDefinedAndNotNull(a.variables)&&(a.isUserInAudience||n)){let e=a.variables[t];return r.cmp.isDefinedAndNotNull(e)?e:void 0}})),this.getVariableValueCache[e][t]}static getFeature(e){return(0,a.P1)([p],t=>{let n=t.features[e];return r.cmp.isDefinedAndNotNull(n)?n:void 0})}static getVariableValueMapped(e,t){if(r.cmp.isDefinedAndNotNull(p.mappedSelectorsCache[e])&&r.cmp.isDefinedAndNotNull(p.mappedSelectorsCache[e][t]))return p.mappedSelectorsCache[e][t];const n=r.cmp.isDefinedAndNotNull(u[e])&&r.cmp.isDefinedAndNotNull(u[e][t]),i=n?u[e][t]:null,o=(0,a.P1)([p],e=>{const a=n?e.features[i.key]:null;if(!(r.cmp.isDefinedAndNotNull(a)&&r.cmp.isDefinedAndNotNull(a.variables)&&r.cmp.isDefinedAndNotNull(a.variables[t])&&a.isUserInAudience))return;const o=a.variables[t],s=i[o];return r.cmp.isDefinedAndNotNull(s)?s:o});return r.cmp.isUndefinedOrNull(p.mappedSelectorsCache[e])&&(p.mappedSelectorsCache[e]={}),p.mappedSelectorsCache[e][t]=o,o}updateAttribute(e,t){let n=r.ObjectUtils.deepObjectClone(e.getState().attributes);n[t.attributeId]=t.value,e.patchState({attributes:n})}activateFeature(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n=r.ObjectUtils.deepObjectClone(e.getState().features);r.cmp.isUndefinedOrNull(n[t.featureId])?n[t.featureId]={isUserInAudience:t.isUserInAudience}:n[t.featureId].isUserInAudience=t.isUserInAudience,e.patchState({features:n}),yield e.dispatch(new o.RA(t.featureId)).toPromise()})}bucketUser(e,t){let n=r.ObjectUtils.deepObjectClone(e.getState().features);r.cmp.isDefinedAndNotNull(n[t.featureId])&&(n[t.featureId]=Object.assign(Object.assign({},n[t.featureId]),{featureTest:{key:t.featureTestId,variation:t.variation}})),e.patchState({features:n})}setFeatureVariable(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n=r.ObjectUtils.cloneDeep(e.getState().features);n[t.featureId]=n[t.featureId]||{},n[t.featureId].variables=n[t.featureId].variables||{},n[t.featureId].variables[t.variableKey]=t.value,e.patchState({features:n}),yield e.dispatch(new o.RA(t.featureId)).toPromise()})}setFeature(e,t){return(0,i.mG)(this,void 0,void 0,function*(){const n=r.ObjectUtils.cloneDeep(e.getState().features);n[t.featureId]=t.feature,e.patchState({features:n}),yield e.dispatch(new o.RA(t.featureId)).toPromise()})}loadPersistedStateFeatures(e,t){return(0,i.mG)(this,void 0,void 0,function*(){const n=e.getState().persistedFeatures;r.cmp.isEmpty(n)||r.cmp.isEmpty(n[t.featureId])||(yield e.dispatch(new o.PK(t.featureId,n[t.featureId])).toPromise())})}TryPersistFeature(e,t){const n=e.getState().persistedFeatures;if(r.cmp.isEmpty(n)||r.cmp.isUndefinedOrNull(n[t.featureId]))return;let i=r.ObjectUtils.cloneDeep(e.getState().persistedFeatures);i[t.featureId]=r.ObjectUtils.cloneDeep(e.getState().features[t.featureId]),e.patchState({persistedFeatures:i})}static getPersistedFeature(e){return(0,a.P1)([p],t=>{let n=t.persistedFeatures[e];return r.cmp.isDefinedAndNotNull(n)?n:void 0})}};f.mappedSelectorsCache={},f.getVariableValueCache={},f.\u0275fac=function(e){return new(e||f)},f.\u0275prov=h.Yz7({token:f,factory:f.\u0275fac}),(0,i.gn)([(0,a.aU)(o.pm),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.pm]),(0,i.w6)("design:returntype",void 0)],f.prototype,"updateAttribute",null),(0,i.gn)([(0,a.aU)(o.lH),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.lH]),(0,i.w6)("design:returntype",Promise)],f.prototype,"activateFeature",null),(0,i.gn)([(0,a.aU)(o.Jy),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.Jy]),(0,i.w6)("design:returntype",void 0)],f.prototype,"bucketUser",null),(0,i.gn)([(0,a.aU)(o.MI),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.MI]),(0,i.w6)("design:returntype",Promise)],f.prototype,"setFeatureVariable",null),(0,i.gn)([(0,a.aU)(o.PK),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.PK]),(0,i.w6)("design:returntype",Promise)],f.prototype,"setFeature",null),(0,i.gn)([(0,a.aU)(o.HT),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.HT]),(0,i.w6)("design:returntype",Promise)],f.prototype,"loadPersistedStateFeatures",null),(0,i.gn)([(0,a.aU)(o.RA),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.RA]),(0,i.w6)("design:returntype",void 0)],f.prototype,"TryPersistFeature",null),f=p=(0,i.gn)([(0,a.ZM)({name:"features",defaults:g})],f)},45807:function(e,t,n){"use strict";n.d(t,{fb:function(){return i},cw:function(){return a},GK:function(){return o},TD:function(){return r},f3:function(){return s},TG:function(){return l},a4:function(){return c},Yc:function(){return d},tm:function(){return u},TL:function(){return p},k$:function(){return h},DI:function(){return m},HO:function(){return g},XX:function(){return f},sH:function(){return y},l6:function(){return _},QV:function(){return A},BH:function(){return v},wJ:function(){return b},ss:function(){return C},W6:function(){return w},K2:function(){return S}});let i=(()=>{class e{constructor(e,t,n,i){this.income=e,this.incomeType=t,this.miniumDown=n,this.desiredCashDown=i}}return e.type="CreditApplicationCompleted",e})(),a=(()=>{class e{constructor(e,t){this.stockNumber=e,this.userId=t}}return e.type="VehicleLoaded",e})(),o=(()=>{class e{constructor(e,t){this.stockNumbers=e,this.userId=t}}return e.type="MultiVehicleFinanceRequested",e})(),r=(()=>{class e{constructor(e){this.realTimeFinancingFailed=e}}return e.type="RealTimeFinancingFailed",e})(),s=(()=>{class e{constructor(){}}return e.type="RevertFinancingTerms",e})(),l=(()=>{class e{constructor(){}}return e.type="RevertLastSuccessfulState",e})(),c=(()=>{class e{constructor(e){this.income=e}}return e.type="IncomeChanged",e})(),d=(()=>{class e{constructor(e){this.incomeType=e}}return e.type="IncomeTypeChanged",e})(),u=(()=>{class e{constructor(e,t){this.income=e,this.incomeType=t}}return e.type="IncomeAndIncomeTypeChanged",e})(),p=(()=>{class e{constructor(e){this.coBuyerIncome=e}}return e.type="CoBuyerIncomeChanged",e})(),h=(()=>{class e{constructor(e){this.desiredDown=e}}return e.type="SaveIncomeAndDesiredDown",e})(),m=(()=>{class e{constructor(){}}return e.type="SaveTotalIncome",e})(),g=(()=>{class e{constructor(e){this.income=e}}return e.type="SaveIncome",e})(),f=(()=>{class e{constructor(e){this.income=e}}return e.type="SaveBuyerAndCobuyerIncome",e})(),y=(()=>{class e{constructor(e){this.desiredDown=e}}return e.type="SaveDesiredDown",e})(),_=(()=>{class e{constructor(e,t,n){this.leadId=e,this.buyerIncome=t,this.coBuyerIncome=n}}return e.type="NotifyIncomeChanged",e})(),A=(()=>{class e{constructor(e,t,n,i){this.leadId=e,this.carValue=t,this.amountOwed=n,this.tradeInValue=i}}return e.type="NotifyTradeInChanged",e})(),v=(()=>{class e{constructor(e){this.tradeInData=e}}return e.type="SetTradeInValue",e})(),b=(()=>{class e{constructor(){}}return e.type="SaveLastSuccessfulState",e})(),C=(()=>{class e{constructor(e){this.vehicleTerms=e}}return e.type="UpdateLastDefaultFinancingTerms",e})(),w=(()=>{class e{constructor(e){this.statedCashDown=e}}return e.type="UpdateStateCashDown",e})(),S=(()=>{class e{constructor(e){this.requiredMinDown=e}}return e.type="UpdateRequiredMinCashDown",e})()},56463:function(e,t,n){"use strict";n.d(t,{MI:function(){return f},f0:function(){return y}});var i=n(97582),a=n(28645),o=n(45807),r=n(38376),s=n(20483),l=n(20618),c=n(24475);class d{constructor(){this.cache=new Map}setItem(e,t,n,i){s.cmp.isUndefinedOrNull(this.cache[e])&&(this.cache[e]=new Map),s.cmp.isUndefinedOrNull(this.cache[e][t])&&(this.cache[e][t]=new Map),this.cache[e][t][n]=i}getItem(e,t,n){try{return this.cache[e][t][n]}catch(i){return null}}hasIncomeAndDownItems(e,t){try{return s.cmp.isDefinedAndNotNull(this.cache[e][t])}catch(n){return!1}}}var u,p=n(82856),h=n(15942),m=n(37716);let g=class{constructor(){this.desiredDown=0,this.statedCashDown=0,this.downPayment={requiredMinimumCashDown:0},this.coBuyerIncome=0,this.totalIncome=0,this.carValue=0,this.amountOwed=0,this.cache=new d}};g=(0,i.gn)([(0,r.$)()],g);const f=Object.assign({},new g);let y=u=class{constructor(e){this._financingService=e}static financingTermsUnoptimized(e){return(0,a.P1)([u],t=>u.getFinancingTerms(t,e))}static financingTerms(e){return(0,a.P1)([u.financingTermsUnoptimized(e)],e=>e)}static hasIncome(){return(0,a.P1)([u],e=>u.hasIncomeStored(e))}static hasIncomeBeenAppliedToTerms(e){return(0,a.P1)([u],t=>u.hasTermsForIncome(t,e))}static hasDesiredDownBeenAppliedToTerms(e){return(0,a.P1)([u],t=>u.hasTermsForDesiredDown(t,e))}CreditApplicationCompleted(e,t){let n=e.getState();n.coBuyerIncome=0,n.carValue=0,n.amountOwed=0,n.tradeInValue=void 0,n.desiredDown=t.desiredCashDown||0,n.statedCashDown=t.desiredCashDown||0,n.downPayment={requiredMinimumCashDown:t.miniumDown},n.statedIncome=t.income,n.incomeType=t.incomeType,n.totalIncome=n.statedIncome+n.coBuyerIncome,e.patchState(n)}multiVehicleFinancingRequested(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n=e.getState(),i=[],a=[];if(!u.hasIncomeStored(n))return void u.updateFinancingStatusWithNullTerms(e,t.stockNumbers,l.e.MissingIncome);let o=t.stockNumbers.filter(e=>u.canPullFinancingForStockNumber(n,e));if(!s.cmp.isEmpty(o)){try{this._financingService.vehicleFinancingStats$.next({processingState:h.Wm.Started});let r=yield this._financingService.getMultiVehicleFinancing({dtmAnalyticsUserId:t.userId.dtmAnalyticsUserId,dtmAnalyticsSessionId:t.userId.dtmAnalyticsSessionId,certLeadInjectionId:t.userId.certLeadInjectionId,leadId:t.userId.leadId,stockNumbers:o,statedIncome:n.totalIncome,desiredDown:n.desiredDown,incomeType:n.incomeType});u.populateMultiVehicleFinancingTerms(e,r),s.cmp.isDefinedAndNotNull(r.errors),Array.isArray(r.errors),r.errors.length>0?(i=r.errors.map(e=>e.stockNumber).filter(e=>!u.hasCachedFinancing(n,e)),i.length&&u.updateFinancingStatusWithNullTerms(e,i,l.e.Error)):a=o}catch(r){i=o;const t=o.filter(e=>!u.hasCachedFinancing(n,e));t.length&&u.updateFinancingStatusWithNullTerms(e,t,l.e.Error)}this._financingService.vehicleFinancingStats$.next({errorStockNumbers:i,successStockNumbers:a,processingState:h.Wm.Completed})}})}RealTimeFinancingFailed(e,t){return(0,i.mG)(this,void 0,void 0,function*(){u.updateRealTimeFinancingFailed(e,t.realTimeFinancingFailed)})}RevertLastSuccessfulState(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=e.getState();if(s.cmp.isNotEmpty(t.lastSuccessfulFinancingState)){let{cache:n,lastSuccessfulFinancingState:i}=t;const a=s.ObjectUtils.deepObjectClone(i),o=Object.assign(Object.assign({},a),{cache:n,realTimeFinancingFailed:t.realTimeFinancingFailed,lastDefaultFinancingTerms:t.lastDefaultFinancingTerms,lastSuccessfulFinancingState:t.lastSuccessfulFinancingState});e.setState(o)}})}RevertFinancingTerms(e){return(0,i.mG)(this,void 0,void 0,function*(){let t=e.getState();s.cmp.isDefinedAndNotNull(t.lastDefaultFinancingTerms)&&t.lastDefaultFinancingTerms.forEach(n=>{u.addFinancingTerms(t,n.stockNumber,{monthlyPayment:n.paymentAmount,actualDown:(0,p.P0)(n.requiredDown,t.desiredDown),requiredDown:n.requiredDown,aprTerms:n.apr,status:(0,p.P_)(n.salesPrice,n.requiredDown,t.tradeInValue,t.statedCashDown)?l.e.NotEnoughFinanced:l.e.Valid}),e.patchState(t)})})}VehicleLoaded(e,t){return(0,i.mG)(this,void 0,void 0,function*(){let n=e.getState();if(!1!==u.hasIncomeStored(n)){if(u.canPullFinancingForStockNumber(n,t.stockNumber))try{let i=yield this._financingService.getRealTimeFinancing({dtmAnalyticsUserId:t.userId.dtmAnalyticsUserId,dtmAnalyticsSessionId:t.userId.dtmAnalyticsSessionId,certLeadInjectionId:t.userId.certLeadInjectionId,leadId:t.userId.leadId,stockNumber:t.stockNumber,statedIncome:n.totalIncome,desiredDown:n.desiredDown,incomeType:n.incomeType});u.addFinancingTerms(n,t.stockNumber,{monthlyPayment:i.terms.paymentAmount,actualDown:(0,p.P0)(i.terms.requiredDown,n.tradeInValue),requiredDown:i.terms.requiredDown,aprTerms:i.terms.apr,status:(0,p.P_)(i.salesPrice,i.terms.requiredDown,n.tradeInValue,n.statedCashDown)?l.e.NotEnoughFinanced:l.e.Valid}),e.patchState(n)}catch(i){u.updateFinancingStatusWithNullTerms(e,[t.stockNumber],l.e.Error)}}else u.updateFinancingStatusWithNullTerms(e,[t.stockNumber],l.e.MissingIncome)})}IncomeChanged(e,t){let n=e.getState();n.statedIncome=t.income,n.totalIncome=t.income+n.coBuyerIncome,e.patchState(n)}IncomeTypeChanged(e,t){let n=e.getState();n.incomeType=t.incomeType,e.patchState(n)}IncomeAndIncomeTypeChanged(e,t){let n=e.getState();n.statedIncome=t.income,n.incomeType=t.incomeType,n.totalIncome=t.income+n.coBuyerIncome,e.patchState(n)}CoBuyerIncomeChanged(e,t){let n=e.getState();n.coBuyerIncome=t.coBuyerIncome,e.patchState(n)}SaveIncomeAndDesiredDown(e,t){let n=e.getState();n.totalIncome=n.statedIncome+n.coBuyerIncome,n.desiredDown=t.desiredDown,e.patchState(n)}SaveTotalIncome(e){let t=e.getState();t.totalIncome=t.statedIncome+t.coBuyerIncome,e.patchState(t)}SaveIncome(e,t){let n=e.getState();n.statedIncome=t.income.totalIncome,n.incomeType=t.income.incomeType,n.coBuyerIncome=t.income.cobuyerIncome,n.totalIncome=t.income.totalIncome+t.income.cobuyerIncome,e.patchState(n)}SaveBuyerAndCobuyerIncome(e,t){let n=e.getState();n.statedIncome=t.income.totalIncome,n.incomeType=t.income.incomeType,n.coBuyerIncome=t.income.cobuyerIncome,e.patchState(n)}SaveDesiredDown(e,t){let n=e.getState();n.desiredDown=t.desiredDown,e.patchState(n)}NotifyIncomeChanged(e,t){return(0,i.mG)(this,void 0,void 0,function*(){const n=e.getState();try{yield this._financingService.notifyIncomeChanged({leadId:t.leadId,primaryIncome:s.cmp.isDefinedAndNotNull(t.buyerIncome)?t.buyerIncome:n.statedIncome,cobuyerIncome:s.cmp.isDefinedAndNotNull(t.coBuyerIncome)?t.coBuyerIncome:n.coBuyerIncome})}catch(i){console.error(i)}})}SaveLastSuccessfulState(e){u.SetLastSuccessfulState(e)}NotifyTradeInChanged(e,t){return(0,i.mG)(this,void 0,void 0,function*(){const n=e.getState();try{yield this._financingService.notifyTradeInChanged({leadId:t.leadId,carValue:s.cmp.isDefinedAndNotNull(t.carValue)?t.carValue:n.carValue,amountOwed:s.cmp.isDefinedAndNotNull(t.amountOwed)?t.amountOwed:n.amountOwed,tradeInValue:s.cmp.isDefinedAndNotNull(t.tradeInValue)?t.tradeInValue:n.tradeInValue})}catch(i){console.error(i)}})}setTradeInValue(e,t){const{carValue:n,amountOwed:i,tradeInValue:a}=t.tradeInData;let o=e.getState();o.carValue=n,o.amountOwed=i,o.tradeInValue=a,e.patchState(o)}updateLastDefaultFinancingTerms(e,t){let n=e.getState();const i=u.adjustLastDefaultFinancingTerms(t.vehicleTerms,n.lastDefaultFinancingTerms);e.patchState({lastDefaultFinancingTerms:i})}updateStatedCashDown(e,t){e.patchState({statedCashDown:t.statedCashDown})}updateRequiredMinCashDown(e,t){let n=e.getState();n.downPayment.requiredMinimumCashDown=t.requiredMinDown,e.patchState(n)}static populateMultiVehicleFinancingTerms(e,t){let n=e.getState();t.terms.forEach(t=>{u.addFinancingTerms(n,t.stockNumber,{monthlyPayment:t.paymentAmount,actualDown:(0,p.P0)(t.requiredDown,n.desiredDown),requiredDown:t.requiredDown,aprTerms:t.apr,status:(0,p.P_)(t.salesPrice,t.requiredDown,n.tradeInValue,n.statedCashDown)?l.e.NotEnoughFinanced:l.e.Valid,loanTerm:t.loanTerm}),e.patchState(n)}),u.SetLastSuccessfulState(e,t.terms)}static adjustLastDefaultFinancingTerms(e,t){return s.cmp.isUndefinedOrNull(t)&&(t=[]),e.forEach(e=>{const n=t.findIndex(t=>t.stockNumber===e.stockNumber);n>=0?t.splice(n,1,e):t.push(e)}),t}static canPullFinancingForStockNumber(e,t){return u.hasIncomeStored(e)&&(!1===u.hasCachedFinancing(e,t)||u.hasCachedFinancing(e,t)&&u.getFinancingTerms(e,t).status===l.e.Error)}static updateRealTimeFinancingFailed({patchState:e},t=!0){e({realTimeFinancingFailed:t})}static SetLastSuccessfulState(e,t){const n=e.getState();let{lastDefaultFinancingTerms:a,downPayment:o,cache:r}=n,l=(0,i._T)(n,["realTimeFinancingFailed","lastDefaultFinancingTerms","lastSuccessfulFinancingState","downPayment","cache"]),c=a;s.cmp.isNotEmpty(t)&&(c=u.adjustLastDefaultFinancingTerms(t,a));const d=Object.assign({downPayment:s.ObjectUtils.deepObjectClone(o),cache:r},s.ObjectUtils.deepObjectClone(l));e.patchState({lastSuccessfulFinancingState:d,lastDefaultFinancingTerms:c})}};y.hasIncomeStored=e=>s.cmp.isDefinedAndNotNull(e.incomeType)&&s.cmp.isDefinedAndNotNull(e.totalIncome),y.hasCachedFinancing=(e,t)=>s.cmp.isDefinedAndNotNull(e.cache.getItem(e.totalIncome,e.desiredDown||0,t)),y.getFinancingTerms=(e,t)=>e.cache.getItem(e.totalIncome,e.desiredDown||0,t),y.addFinancingTerms=(e,t,n)=>e.cache.setItem(e.totalIncome,e.desiredDown||0,t,{monthlyPayment:n.monthlyPayment,actualDown:n.actualDown,requiredDown:n.requiredDown,aprTerms:n.aprTerms,status:n.status,loanTerm:n.loanTerm}),y.hasTermsForIncome=(e,t)=>e.cache.hasIncomeAndDownItems(t,e.desiredDown||0),y.hasTermsForDesiredDown=(e,t)=>e.cache.hasIncomeAndDownItems(e.totalIncome||0,t),y.updateFinancingStatusWithNullTerms=(e,t,n)=>{let i=e.getState();t.forEach(e=>{u.addFinancingTerms(i,e,{monthlyPayment:null,actualDown:null,requiredDown:null,aprTerms:null,status:n})}),e.patchState(i)},y.\u0275fac=function(e){return new(e||y)(m.LFG(c.w))},y.\u0275prov=m.Yz7({token:y,factory:y.\u0275fac}),(0,i.gn)([(0,a.aU)(o.fb),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.fb]),(0,i.w6)("design:returntype",void 0)],y.prototype,"CreditApplicationCompleted",null),(0,i.gn)([(0,a.aU)(o.GK),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.GK]),(0,i.w6)("design:returntype",Promise)],y.prototype,"multiVehicleFinancingRequested",null),(0,i.gn)([(0,a.aU)(o.TD),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.TD]),(0,i.w6)("design:returntype",Promise)],y.prototype,"RealTimeFinancingFailed",null),(0,i.gn)([(0,a.aU)(o.TG),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object]),(0,i.w6)("design:returntype",Promise)],y.prototype,"RevertLastSuccessfulState",null),(0,i.gn)([(0,a.aU)(o.f3),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object]),(0,i.w6)("design:returntype",Promise)],y.prototype,"RevertFinancingTerms",null),(0,i.gn)([(0,a.aU)(o.cw),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.cw]),(0,i.w6)("design:returntype",Promise)],y.prototype,"VehicleLoaded",null),(0,i.gn)([(0,a.aU)(o.a4),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.a4]),(0,i.w6)("design:returntype",void 0)],y.prototype,"IncomeChanged",null),(0,i.gn)([(0,a.aU)(o.Yc),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.Yc]),(0,i.w6)("design:returntype",void 0)],y.prototype,"IncomeTypeChanged",null),(0,i.gn)([(0,a.aU)(o.tm),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.tm]),(0,i.w6)("design:returntype",void 0)],y.prototype,"IncomeAndIncomeTypeChanged",null),(0,i.gn)([(0,a.aU)(o.TL),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.TL]),(0,i.w6)("design:returntype",void 0)],y.prototype,"CoBuyerIncomeChanged",null),(0,i.gn)([(0,a.aU)(o.k$),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.k$]),(0,i.w6)("design:returntype",void 0)],y.prototype,"SaveIncomeAndDesiredDown",null),(0,i.gn)([(0,a.aU)(o.DI),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object]),(0,i.w6)("design:returntype",void 0)],y.prototype,"SaveTotalIncome",null),(0,i.gn)([(0,a.aU)(o.HO),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.HO]),(0,i.w6)("design:returntype",void 0)],y.prototype,"SaveIncome",null),(0,i.gn)([(0,a.aU)(o.XX),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.XX]),(0,i.w6)("design:returntype",void 0)],y.prototype,"SaveBuyerAndCobuyerIncome",null),(0,i.gn)([(0,a.aU)(o.sH),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.sH]),(0,i.w6)("design:returntype",void 0)],y.prototype,"SaveDesiredDown",null),(0,i.gn)([(0,a.aU)(o.l6),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.l6]),(0,i.w6)("design:returntype",Promise)],y.prototype,"NotifyIncomeChanged",null),(0,i.gn)([(0,a.aU)(o.wJ),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object]),(0,i.w6)("design:returntype",void 0)],y.prototype,"SaveLastSuccessfulState",null),(0,i.gn)([(0,a.aU)(o.QV),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.QV]),(0,i.w6)("design:returntype",Promise)],y.prototype,"NotifyTradeInChanged",null),(0,i.gn)([(0,a.aU)(o.BH),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.BH]),(0,i.w6)("design:returntype",void 0)],y.prototype,"setTradeInValue",null),(0,i.gn)([(0,a.aU)(o.ss),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.ss]),(0,i.w6)("design:returntype",void 0)],y.prototype,"updateLastDefaultFinancingTerms",null),(0,i.gn)([(0,a.aU)(o.W6),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.W6]),(0,i.w6)("design:returntype",void 0)],y.prototype,"updateStatedCashDown",null),(0,i.gn)([(0,a.aU)(o.K2),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.K2]),(0,i.w6)("design:returntype",void 0)],y.prototype,"updateRequiredMinCashDown",null),y=u=(0,i.gn)([(0,a.ZM)({name:"financing",defaults:f}),(0,i.w6)("design:paramtypes",[c.w])],y)},40466:function(e,t,n){"use strict";n.d(t,{F_:function(){return i.F_},FT:function(){return a.FT},LW:function(){return o.LW}}),n(11429);var i=n(67086),a=(n(85698),n(54768)),o=(n(11998),n(88210),n(79117),n(1638));n(73946)},15892:function(e,t,n){"use strict";n.d(t,{v:function(){return i},_:function(){return a}});let i=(()=>{class e{constructor(e,t){this.key=e,this.value=t}}return e.type="SetInternalFeature",e})(),a=(()=>{class e{constructor(e,t){this.key=e,this.value=t}}return e.type="SendEventNotification",e})()},92547:function(e,t,n){"use strict";n.d(t,{N3:function(){return c},Z8:function(){return d}});var i,a=n(97582),o=n(28645),r=n(20483),s=n(15892),l=n(37716);const c=Object.assign({},new class{});let d=i=class{static get(e){return(0,o.P1)([i],t=>i.find(t,e))}static getEvent(e){return(0,o.P1)([i],t=>i.find(t,`events.${e}`))}static contains(e){return(0,o.P1)([i],t=>!1===e.some(e=>r.cmp.isUndefinedOrNull(i.find(t,e))))}static find(e,t){const n=t.split(".");let i=r.ObjectUtils.cloneDeep(e[n[0]]);for(let a=1;a<n.length&&r.cmp.isDefinedAndNotNull(i);++a)r.cmp.isDefinedAndNotNull(i)&&(i=i[n[a]]);return r.cmp.isDefinedAndNotNull(i)?i:void 0}set(e,t){return(0,a.mG)(this,void 0,void 0,function*(){const n=t.key.split(".");let i={};for(let e=n.length-1;-1<e;--e)i=JSON.parse(JSON.stringify({[n[e]]:e===n.length-1?t.value:JSON.parse(JSON.stringify(i))}));e.patchState(r.ObjectUtils.immutableDeepMerge(e.getState(),i))})}sendEventNotification(e,t){return(0,a.mG)(this,void 0,void 0,function*(){e.dispatch(new s.v(`events.${t.key}`,t.value))})}};d.\u0275fac=function(e){return new(e||d)},d.\u0275prov=l.Yz7({token:d,factory:d.\u0275fac}),(0,a.gn)([(0,o.aU)(s.v),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.v]),(0,a.w6)("design:returntype",Promise)],d.prototype,"set",null),(0,a.gn)([(0,o.aU)(s._),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s._]),(0,a.w6)("design:returntype",Promise)],d.prototype,"sendEventNotification",null),d=i=(0,a.gn)([(0,o.ZM)({name:"internalFeature",defaults:c})],d)},59480:function(e,t,n){"use strict";n.d(t,{XM:function(){return i},V6:function(){return a},yF:function(){return o},D6:function(){return r},NU:function(){return s},G9:function(){return l},a3:function(){return c},vB:function(){return d},fB:function(){return u},y7:function(){return p},Sc:function(){return h},Zd:function(){return m},V0:function(){return g}});let i=(()=>{class e{constructor(e){this.leadSubmissionId=e}}return e.type="SetLeadSubmissionId",e})(),a=(()=>{class e{constructor(e){this.lastLeadInjectionId=e}}return e.type="SetLastLeadInjectionId",e})(),o=(()=>{class e{constructor(e){this.lastLiidHasEmail=e}}return e.type="SetLastLiidHasEmail",e})(),r=(()=>{class e{constructor(e){this.lastLiidHasConsented=e}}return e.type="SetLastLiidHasConsented",e})(),s=(()=>{class e{constructor(e){this.lastLiidHasSsn=e}}return e.type="SetLastLiidHasSsn",e})(),l=(()=>{class e{constructor(e){this.webLandingPage=e}}return e.type="SetWebLandingPage",e})(),c=(()=>{class e{}return e.type="ResetAvailableLeadInfo",e})(),d=(()=>{class e{constructor(e){this.data=e}}return e.type="LeadApplicationCompleted",e})(),u=(()=>{class e{constructor(e){this.data=e}}return e.type="SetCustomerUpgradeStatus",e})(),p=(()=>{class e{constructor(e){this.appCertType=e}}return e.type="SetAppCertState",e})(),h=(()=>{class e{constructor(e){this.appCertType=e}}return e.type="SetLastAppCertType",e})(),m=(()=>{class e{constructor(e){this.activeCreditApp=e}}return e.type="SetActiveCreditApp",e})(),g=(()=>{class e{constructor(e){this.appCertReady=e}}return e.type="SetAppCertReady",e})()},54768:function(e,t,n){"use strict";n.d(t,{ke:function(){return u},FT:function(){return p}});var i,a=n(97582),o=n(28645),r=n(38376),s=n(59480),l=n(89752),c=n(37716);let d=class{constructor(){this.leadSubmissionId="",this.lastLeadInjectionId="",this.lastLiidHasEmail=!1,this.lastLiidHasSsn=!1,this.lastLiidHasConsented=null,this.lastAppCert="None",this.certLeadInjectionId="",this.webLandingPage="",this.leadId=0,this.priceAdjusterAmount=0,this.isCustomerUpgraded=!1,this.userTermsApprovalStatus=l.uD.NeedsApproval,this.appCertReady=!1}};(0,a.gn)([(0,r.D)(),(0,a.w6)("design:type",Object)],d.prototype,"leadSubmissionId",void 0),(0,a.gn)([(0,r.D)(),(0,a.w6)("design:type",Object)],d.prototype,"lastLeadInjectionId",void 0),(0,a.gn)([(0,r.D)(),(0,a.w6)("design:type",Object)],d.prototype,"lastLiidHasEmail",void 0),(0,a.gn)([(0,r.D)(),(0,a.w6)("design:type",Object)],d.prototype,"lastLiidHasSsn",void 0),(0,a.gn)([(0,r.D)(),(0,a.w6)("design:type",Object)],d.prototype,"lastLiidHasConsented",void 0),(0,a.gn)([(0,r.D)(),(0,a.w6)("design:type",Object)],d.prototype,"lastAppCert",void 0),(0,a.gn)([(0,r.D)(),(0,a.w6)("design:type",Object)],d.prototype,"certLeadInjectionId",void 0),(0,a.gn)([(0,r.D)(),(0,a.w6)("design:type",Object)],d.prototype,"webLandingPage",void 0),(0,a.gn)([(0,r.D)(),(0,a.w6)("design:type",Object)],d.prototype,"leadId",void 0),d=(0,a.gn)([(0,r.$)()],d);const u=Object.assign({},new d);let p=i=class{static leadState(e){return e}static leadId(e){return e.leadId}setLeadSubmissionId({patchState:e},t){e({leadSubmissionId:t.leadSubmissionId})}setLastLeadInjectionId({patchState:e},t){e({lastLeadInjectionId:t.lastLeadInjectionId})}setLastLiidHasEmail({patchState:e},t){e({lastLiidHasEmail:t.lastLiidHasEmail})}setLastLiidHasConsented({patchState:e},t){e({lastLiidHasConsented:t.lastLiidHasConsented})}setLastLiidHasSsn({patchState:e},t){e({lastLiidHasSsn:t.lastLiidHasSsn})}setWebLandingPage({patchState:e},t){e({webLandingPage:t.webLandingPage})}resetAvailableLeadInfo({patchState:e,getState:t}){const n=Object.assign({},u),{leadId:i,lastAppCert:a}=t();e(Object.assign(Object.assign({},n),{leadId:i,lastAppCert:a}))}LeadApplicationCompleted({patchState:e},t){e({leadId:t.data.leadId,certLeadInjectionId:t.data.certLeadInjectionId,lastLiidHasSsn:t.data.lastLiidHasSsn,lastLiidHasEmail:t.data.lastLiidHasEmail,lastAppCert:t.data.lastAppCert})}setCustomerUpgradeStatus({patchState:e},t){e({priceAdjusterAmount:t.data.priceAdjusterAmount,isCustomerUpgraded:t.data.isCustomerUpgraded})}setAppCertState({patchState:e},t){e({appCertState:t.appCertType,userTermsApprovalStatus:i._handleTermsApprovalStatus(t.appCertType)})}setActiveCreditApp({patchState:e},t){e({activeCreditApp:{isActive:t.activeCreditApp.isActive,creditAppId:t.activeCreditApp.creditAppId}})}static _handleTermsApprovalStatus(e){switch(e){case l.ss.Sale:case l.ss.Upgrade:case l.ss.HighDP:return l.uD.HasApproval;case l.ss.PI:case l.ss.PIF:case l.ss.Error:case l.ss.ServiceError:return l.uD.FailedApproval;default:return l.uD.NeedsApproval}}setLastAppCertType({patchState:e},t){e({lastAppCert:t.appCertType})}setAppCertReady({patchState:e},t){e({appCertReady:t.appCertReady})}};p.\u0275fac=function(e){return new(e||p)},p.\u0275prov=c.Yz7({token:p,factory:p.\u0275fac}),(0,a.gn)([(0,o.aU)(s.XM),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.XM]),(0,a.w6)("design:returntype",void 0)],p.prototype,"setLeadSubmissionId",null),(0,a.gn)([(0,o.aU)(s.V6),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.V6]),(0,a.w6)("design:returntype",void 0)],p.prototype,"setLastLeadInjectionId",null),(0,a.gn)([(0,o.aU)(s.yF),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.yF]),(0,a.w6)("design:returntype",void 0)],p.prototype,"setLastLiidHasEmail",null),(0,a.gn)([(0,o.aU)(s.D6),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.D6]),(0,a.w6)("design:returntype",void 0)],p.prototype,"setLastLiidHasConsented",null),(0,a.gn)([(0,o.aU)(s.NU),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.NU]),(0,a.w6)("design:returntype",void 0)],p.prototype,"setLastLiidHasSsn",null),(0,a.gn)([(0,o.aU)(s.G9),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.G9]),(0,a.w6)("design:returntype",void 0)],p.prototype,"setWebLandingPage",null),(0,a.gn)([(0,o.aU)(s.a3),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object]),(0,a.w6)("design:returntype",void 0)],p.prototype,"resetAvailableLeadInfo",null),(0,a.gn)([(0,o.aU)(s.vB),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.vB]),(0,a.w6)("design:returntype",void 0)],p.prototype,"LeadApplicationCompleted",null),(0,a.gn)([(0,o.aU)(s.fB),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.fB]),(0,a.w6)("design:returntype",void 0)],p.prototype,"setCustomerUpgradeStatus",null),(0,a.gn)([(0,o.aU)(s.y7),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.y7]),(0,a.w6)("design:returntype",void 0)],p.prototype,"setAppCertState",null),(0,a.gn)([(0,o.aU)(s.Zd),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.Zd]),(0,a.w6)("design:returntype",void 0)],p.prototype,"setActiveCreditApp",null),(0,a.gn)([(0,o.aU)(s.Sc),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.Sc]),(0,a.w6)("design:returntype",void 0)],p.prototype,"setLastAppCertType",null),(0,a.gn)([(0,o.aU)(s.V0),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.V0]),(0,a.w6)("design:returntype",void 0)],p.prototype,"setAppCertReady",null),(0,a.gn)([(0,o.Qf)([i]),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[d]),(0,a.w6)("design:returntype",d)],p,"leadState",null),(0,a.gn)([(0,o.Qf)([i.leadState]),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[d]),(0,a.w6)("design:returntype",Number)],p,"leadId",null),p=i=(0,a.gn)([(0,o.ZM)({name:"lead",defaults:u})],p)},4733:function(e,t,n){"use strict";n.d(t,{F:function(){return i}});let i=(()=>{class e{constructor(e){this.location=e}}return e.type="SetAppLocation",e})()},85698:function(e,t,n){"use strict";n.d(t,{Ye:function(){return c},zu:function(){return u},py:function(){return p}});var i=n(97582),a=n(28645),o=n(38376),r=n(80352),s=n(4733),l=n(37716);class c{constructor(){this.lat=null,this.lng=null,this.city="",this.zipCode="",this.state={longName:"",shortName:""},this.country="",this.isGeoLocated=!1,this.bestLocateStrategyAttempted=r.OS.None,this.bestLocateStrategySuccess=r.OS.None,this.addressLine1="",this.addressLine2=""}}let d=class{constructor(){this.currentLocation=new c,this.previousLocation=null}};(0,i.gn)([(0,o.D)(),(0,i.w6)("design:type",Object)],d.prototype,"currentLocation",void 0),d=(0,i.gn)([(0,o.$)()],d);const u=Object.assign({},new d);let p=class{setAppLocation(e,t){let n=e.getState().currentLocation;e.patchState({currentLocation:t.location,previousLocation:n})}};p.\u0275fac=function(e){return new(e||p)},p.\u0275prov=l.Yz7({token:p,factory:p.\u0275fac}),(0,i.gn)([(0,a.aU)(s.F),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,s.F]),(0,i.w6)("design:returntype",void 0)],p.prototype,"setAppLocation",null),p=(0,i.gn)([(0,a.ZM)({name:"location",defaults:u})],p)},59837:function(e,t,n){"use strict";n.d(t,{Am:function(){return i},gD:function(){return a},A5:function(){return o}});let i=(()=>{class e{constructor(e){this.vehicle=e}}return e.type="UpdateLendingAttributes",e})(),a=(()=>{class e{constructor(e){this.session=e}}return e.type="UpdateLendingAttributesSession",e})(),o=(()=>{class e{constructor(){}}return e.type="ResetLendingAttributes",e})()},73946:function(e,t,n){"use strict";n.d(t,{ST:function(){return u},Yr:function(){return p}});var i=n(97582),a=n(38376),o=n(28645),r=n(59837),s=n(80377),l=n(20483),c=n(37716);let d=class{constructor(){this.uniqueSessions=[],this.vehicleBodyType={},this.vehicleMake={},this.vehicleSize={},this.vehicleNationality={},this.vehicleOdometer={},this.vehiclePrice={},this.vehicleStockNumber={},this.odometerTotal=0,this.salesPriceTotal=0,this.dtPlusVehicles=0}};(0,i.gn)([(0,a.D)("@@MARKETING"),(0,i.w6)("design:type",Object)],d.prototype,"uniqueSessions",void 0),(0,i.gn)([(0,a.D)("@@MARKETING"),(0,i.w6)("design:type",Object)],d.prototype,"vehicleBodyType",void 0),(0,i.gn)([(0,a.D)("@@MARKETING"),(0,i.w6)("design:type",Object)],d.prototype,"vehicleMake",void 0),(0,i.gn)([(0,a.D)("@@MARKETING"),(0,i.w6)("design:type",Object)],d.prototype,"vehicleSize",void 0),(0,i.gn)([(0,a.D)("@@MARKETING"),(0,i.w6)("design:type",Object)],d.prototype,"vehicleNationality",void 0),(0,i.gn)([(0,a.D)("@@MARKETING"),(0,i.w6)("design:type",Object)],d.prototype,"vehicleOdometer",void 0),(0,i.gn)([(0,a.D)("@@MARKETING"),(0,i.w6)("design:type",Object)],d.prototype,"vehiclePrice",void 0),(0,i.gn)([(0,a.D)("@@MARKETING"),(0,i.w6)("design:type",Object)],d.prototype,"vehicleStockNumber",void 0),(0,i.gn)([(0,a.D)("@@MARKETING"),(0,i.w6)("design:type",Object)],d.prototype,"odometerTotal",void 0),(0,i.gn)([(0,a.D)("@@MARKETING"),(0,i.w6)("design:type",Object)],d.prototype,"salesPriceTotal",void 0),(0,i.gn)([(0,a.D)("@@MARKETING"),(0,i.w6)("design:type",Object)],d.prototype,"dtPlusVehicles",void 0),d=(0,i.gn)([(0,a.$)("@@MARKETING")],d);const u=Object.assign({},new d);let p=class{updateLendingAttributes({patchState:e,getState:t},n){const i=t();this._patchDefaultStateIfNotExist(i,e),e({vehicleBodyType:this._getAttributeCountAndIdx(t().vehicleBodyType,n.vehicle.BodyType),vehicleMake:this._getAttributeCountAndIdx(t().vehicleMake,n.vehicle.Make),vehicleNationality:this._getAttributeCountAndIdx(t().vehicleNationality,(0,s.V)(n.vehicle.Make.toLowerCase().replace(/\s/g,""))),vehicleSize:this._getAttributeCountAndIdx(t().vehicleSize,n.vehicle.SizeCategory),vehiclePrice:this._getAttributeCountAndIdx(t().vehiclePrice,(0,s.F)(n.vehicle.StickerPrice,1e3).toString()),vehicleOdometer:this._getAttributeCountAndIdx(t().vehicleOdometer,(0,s.F)(n.vehicle.OdometerValue,1e4).toString()),vehicleStockNumber:this._getAttributeCountAndIdx(t().vehicleStockNumber,n.vehicle.StockNumber.toString()),odometerTotal:t().odometerTotal+n.vehicle.OdometerValue,salesPriceTotal:t().salesPriceTotal+n.vehicle.StickerPrice,dtPlusVehicles:t().dtPlusVehicles+(n.vehicle.IsDTSelect?1:0)})}updateLendingAttributesSession({patchState:e,getState:t},n){const i=t();this._patchDefaultStateIfNotExist(i,e);const a=l.ObjectUtils.cloneDeep(t().uniqueSessions),o=a.findIndex(e=>e.id===n.session.id);o>-1?a[o].lastActiveTime=n.session.currentTime:a.push({id:n.session.id,startTime:n.session.currentTime,lastActiveTime:n.session.currentTime}),e({uniqueSessions:a})}resetLendingAttributes({patchState:e},t){e({uniqueSessions:[],vehicleBodyType:{},vehicleMake:{},vehicleNationality:{},vehicleSize:{},vehiclePrice:{},vehicleOdometer:{},vehicleStockNumber:{},odometerTotal:0,salesPriceTotal:0,dtPlusVehicles:0})}_patchDefaultStateIfNotExist(e,t){l.cmp.isUndefinedOrNull(e)&&t(u)}_getAttributeCountAndIdx(e,t){return Object.assign(Object.assign({},e),{[t]:e[t]?{count:e[t].count+1,idx:e[t].idx}:{count:1,idx:Object.keys(e).length}})}};p.\u0275fac=function(e){return new(e||p)},p.\u0275prov=c.Yz7({token:p,factory:p.\u0275fac}),(0,i.gn)([(0,o.aU)(r.Am),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,r.Am]),(0,i.w6)("design:returntype",void 0)],p.prototype,"updateLendingAttributes",null),(0,i.gn)([(0,o.aU)(r.gD),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,r.gD]),(0,i.w6)("design:returntype",void 0)],p.prototype,"updateLendingAttributesSession",null),(0,i.gn)([(0,o.aU)(r.A5),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,r.A5]),(0,i.w6)("design:returntype",void 0)],p.prototype,"resetLendingAttributes",null),p=(0,i.gn)([(0,o.ZM)({name:"marketingAttrs",defaults:u})],p)},74260:function(e,t,n){"use strict";n.d(t,{S4:function(){return i},Pt:function(){return a},WU:function(){return o},cB:function(){return r},HY:function(){return s}});let i=(()=>{class e{constructor(e){this.doNotPrompt=e}}return e.type="SetDoNotPrompt",e})(),a=(()=>{class e{constructor(e){this.lastLaunchDate=e}}return e.type="SetLastLaunchDate",e})(),o=(()=>{class e{constructor(e){this.dontPromptUntil=e}}return e.type="SetDontPromptUntil",e})(),r=(()=>{class e{constructor(e){this.numberOfTimesPrompted=e}}return e.type="SetNumberOfTimesPrompted",e})(),s=(()=>{class e{constructor(e){this.numberOfLaunches=e}}return e.type="SetNumberOfLaunches",e})()},88210:function(e,t,n){"use strict";n.d(t,{ts:function(){return c},MS:function(){return d}});var i=n(97582),a=n(38376),o=n(28645),r=n(74260),s=n(37716);let l=class{constructor(){this.lastLaunchDate="",this.numberOfLaunches=0,this.rateReviewPrompt={doNotPrompt:!1,dontPromptUntil:"",numberOfTimesPrompted:0}}};(0,i.gn)([(0,a.D)(),(0,i.w6)("design:type",Object)],l.prototype,"lastLaunchDate",void 0),(0,i.gn)([(0,a.D)(),(0,i.w6)("design:type",Object)],l.prototype,"numberOfLaunches",void 0),(0,i.gn)([(0,a.D)(),(0,i.w6)("design:type",Object)],l.prototype,"rateReviewPrompt",void 0),l=(0,i.gn)([(0,a.$)()],l);const c=Object.assign({},new l);let d=class{setDoNotPrompt(e,t){let n=e.getState().rateReviewPrompt;e.patchState({rateReviewPrompt:{doNotPrompt:t.doNotPrompt,dontPromptUntil:n.dontPromptUntil,numberOfTimesPrompted:n.numberOfTimesPrompted}})}setLastLaunchDate({patchState:e},t){e({lastLaunchDate:t.lastLaunchDate})}setDontPromptUntil(e,t){let n=e.getState().rateReviewPrompt;e.patchState({rateReviewPrompt:{doNotPrompt:n.doNotPrompt,dontPromptUntil:t.dontPromptUntil,numberOfTimesPrompted:n.numberOfTimesPrompted}})}setNumberOfTimesPrompted(e,t){let n=e.getState().rateReviewPrompt;e.patchState({rateReviewPrompt:{doNotPrompt:n.doNotPrompt,dontPromptUntil:n.dontPromptUntil,numberOfTimesPrompted:t.numberOfTimesPrompted}})}setNumberOfLaunches({patchState:e},t){e({numberOfLaunches:t.numberOfLaunches})}};d.\u0275fac=function(e){return new(e||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac}),(0,i.gn)([(0,o.aU)(r.S4),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,r.S4]),(0,i.w6)("design:returntype",void 0)],d.prototype,"setDoNotPrompt",null),(0,i.gn)([(0,o.aU)(r.Pt),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,r.Pt]),(0,i.w6)("design:returntype",void 0)],d.prototype,"setLastLaunchDate",null),(0,i.gn)([(0,o.aU)(r.WU),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,r.WU]),(0,i.w6)("design:returntype",void 0)],d.prototype,"setDontPromptUntil",null),(0,i.gn)([(0,o.aU)(r.cB),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,r.cB]),(0,i.w6)("design:returntype",void 0)],d.prototype,"setNumberOfTimesPrompted",null),(0,i.gn)([(0,o.aU)(r.HY),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,r.HY]),(0,i.w6)("design:returntype",void 0)],d.prototype,"setNumberOfLaunches",null),d=(0,i.gn)([(0,o.ZM)({name:"mobileApp",defaults:c})],d)},89726:function(e,t,n){"use strict";n.d(t,{x:function(){return i}});let i=(()=>{class e{constructor(e){this.currentRouteData=e}}return e.type="NavigationEnded",e})()},4398:function(e,t,n){"use strict";n.d(t,{tQ:function(){return c},p_:function(){return d}});var i=n(97582),a=n(28645),o=n(89726),r=n(38376),s=n(37716);let l=class{constructor(){this.sessionHistory=new Array,this.lifeTimeHistory=new Array}};(0,i.gn)([(0,r.D)(),(0,i.w6)("design:type",Array)],l.prototype,"lifeTimeHistory",void 0),l=(0,i.gn)([(0,r.$)()],l);const c=Object.assign({},new l);let d=class{constructor(){}static currentRouteName(e){return e.currentRouteData.name}static getSessionHistory(e){return e.sessionHistory}static getLifeTimeHistory(e){return e.lifeTimeHistory}navigationEnded(e,t){const n=[...e.getState().sessionHistory],i=[...e.getState().lifeTimeHistory];n.push(t.currentRouteData),i.push(t.currentRouteData),e.patchState({currentRouteData:t.currentRouteData,sessionHistory:n,lifeTimeHistory:i})}};d.\u0275fac=function(e){return new(e||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac}),(0,i.gn)([(0,a.aU)(o.x),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,o.x]),(0,i.w6)("design:returntype",void 0)],d.prototype,"navigationEnded",null),(0,i.gn)([(0,a.Qf)(),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object]),(0,i.w6)("design:returntype",Number)],d,"currentRouteName",null),(0,i.gn)([(0,a.Qf)(),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object]),(0,i.w6)("design:returntype",Array)],d,"getSessionHistory",null),(0,i.gn)([(0,a.Qf)(),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object]),(0,i.w6)("design:returntype",Array)],d,"getLifeTimeHistory",null),d=(0,i.gn)([(0,a.ZM)({name:"navigation",defaults:c}),(0,i.w6)("design:paramtypes",[])],d)},60008:function(e,t,n){"use strict";n.d(t,{k:function(){return i},v:function(){return a}});let i=(()=>{class e{constructor(e,t){this.usageKey=e,this.vehicles=t}}return e.type="SavedVehicles",e})(),a=(()=>{class e{constructor(e,t){this.usageKey=e,this.stockNumbers=t}}return e.type="RemovedVehicles",e})()},98467:function(e,t,n){"use strict";n.d(t,{l4:function(){return h},vA:function(){return m}});var i,a,o=n(97582),r=n(28645),s=n(38376),l=n(60008),c=n(20483),d=n(51567),u=n(37716);let p=class{constructor(){this[i]=new Array}};i=d.s.FAVORITES,(0,o.gn)([(0,s.D)(),(0,o.w6)("design:type",Object)],p.prototype,i,void 0),p=(0,o.gn)([(0,s.$)()],p);const h=Object.assign({},new p);let m=a=class{static vehiclesByUsage(e){return(0,r.P1)([a],t=>t[e])}static vehicle(e,t){return(0,r.P1)([a.vehiclesByUsage(e)],e=>e.find(e=>e.stockNumber===t))}VehiclesSaved(e,t){let n=c.ObjectUtils.cloneDeep(e.getState());c.cmp.isUndefinedOrNull(n)&&(n=h),c.cmp.isUndefinedOrNull(n[t.usageKey])&&(n[t.usageKey]=new Array),t.vehicles.forEach(e=>{let i=n[t.usageKey].findIndex(t=>t.stockNumber===e.stockNumber);-1!==i?n[t.usageKey][i]=e:n[t.usageKey].push(e)}),e.patchState(n)}VehiclesRemoved(e,t){let n=c.ObjectUtils.cloneDeep(e.getState());c.cmp.isDefinedAndNotNull(n)&&c.cmp.isDefinedAndNotNull(n[t.usageKey])&&t.stockNumbers.forEach(e=>{let i=n[t.usageKey].findIndex(t=>t.stockNumber===e);-1!==i&&n[t.usageKey].splice(i,1)}),e.patchState(n)}};m.\u0275fac=function(e){return new(e||m)},m.\u0275prov=u.Yz7({token:m,factory:m.\u0275fac}),(0,o.gn)([(0,r.aU)(l.k),(0,o.w6)("design:type",Function),(0,o.w6)("design:paramtypes",[Object,l.k]),(0,o.w6)("design:returntype",void 0)],m.prototype,"VehiclesSaved",null),(0,o.gn)([(0,r.aU)(l.v),(0,o.w6)("design:type",Function),(0,o.w6)("design:paramtypes",[Object,l.v]),(0,o.w6)("design:returntype",void 0)],m.prototype,"VehiclesRemoved",null),m=a=(0,o.gn)([(0,r.ZM)({name:"savedVehicle",defaults:h})],m)},30277:function(e,t,n){"use strict";n.d(t,{k:function(){return s}});var i=n(97582),a=n(28645),o=n(20483),r=n(37716);let s=(()=>{class e extends a.yh{constructor(e,t,n,i,a){super(e,t,n,i,a,{})}financingSnapshot(){return super.snapshot().app.financing}savedVehicleSnapshot(){return super.snapshot().app.savedVehicle}vsrSnapshot(){return super.snapshot().app.vsr}locationSnapshot(){return super.snapshot().app.location.currentLocation}dealershipSnapshot(){return super.snapshot().app.dealership}leadSnapshot(){return super.snapshot().app.lead}mobileAppSnapshot(){return super.snapshot().app.mobileApp}userSnapshot(){return super.snapshot().app.user}featuresSnapshot(){return super.snapshot().app.features}internalFeatureSnapshot(){return super.snapshot().app.internalFeature}lendingAttributesSnapshot(){return super.snapshot().marketingAttrs}dispatchAsync(e){return this.dispatch(e).toPromise()}publishValueChangedAsync(e,t,n,a){return(0,i.mG)(this,void 0,void 0,function*(){let i=!1;return i="object"==typeof e&&"object"==typeof t?!o.ObjectUtils.deepCompare(e,t):e!==t,o.cmp.isDefinedAndNotNull(n)&&i&&(yield n(a)),i})}}return e.\u0275fac=function(t){return new(t||e)(r.LFG(a.fJ),r.LFG(a.$N),r.LFG(a.bb),r.LFG(a.xv),r.LFG(a.vM))},e.\u0275prov=r.Yz7({token:e,factory:e.\u0275fac}),e})()},16438:function(e,t,n){"use strict";n.d(t,{Ur:function(){return i},rf:function(){return a},M1:function(){return o}});let i=(()=>{class e{constructor(e){this.hasVisited=e}}return e.type="HasVisited",e})(),a=(()=>{class e{constructor(e){this.hasVisitedPage=e}}return e.type="HasVisitedPage",e})(),o=(()=>{class e{constructor(e){this.isGaModalClose=e}}return e.type="isGaModalClose",e})()},79117:function(e,t,n){"use strict";n.d(t,{jU:function(){return c},aF:function(){return d}});var i=n(97582),a=n(28645),o=n(38376),r=n(16438),s=n(37716);let l=class{constructor(){this.hasVisited=!1,this.hasVisitedPages=[],this.isGaModalClose=!1}};(0,i.gn)([(0,o.D)(),(0,i.w6)("design:type",Object)],l.prototype,"hasVisited",void 0),(0,i.gn)([(0,o.D)(),(0,i.w6)("design:type",Object)],l.prototype,"hasVisitedPages",void 0),(0,i.gn)([(0,o.D)(),(0,i.w6)("design:type",Object)],l.prototype,"isGaModalClose",void 0),l=(0,i.gn)([(0,o.$)()],l);const c=Object.assign({},new l);let d=class{setIsReturnUser({patchState:e},t){e({hasVisited:t.hasVisited})}setIsReturnUserPage({patchState:e,getState:t},n){const i=t().hasVisitedPages;if(i.indexOf(n.hasVisitedPage)>-1)return;const a=i.slice();a.push(n.hasVisitedPage),e({hasVisitedPages:a})}setVsrGaModalClose({patchState:e},t){e({isGaModalClose:t.isGaModalClose})}};d.\u0275fac=function(e){return new(e||d)},d.\u0275prov=s.Yz7({token:d,factory:d.\u0275fac}),(0,i.gn)([(0,a.aU)(r.Ur),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,r.Ur]),(0,i.w6)("design:returntype",void 0)],d.prototype,"setIsReturnUser",null),(0,i.gn)([(0,a.aU)(r.rf),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,r.rf]),(0,i.w6)("design:returntype",void 0)],d.prototype,"setIsReturnUserPage",null),(0,i.gn)([(0,a.aU)(r.M1),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,r.M1]),(0,i.w6)("design:returntype",void 0)],d.prototype,"setVsrGaModalClose",null),d=(0,i.gn)([(0,a.ZM)({name:"user",defaults:c})],d)},74549:function(e,t,n){"use strict";n.d(t,{S:function(){return i},M:function(){return a}});let i=(()=>{class e{constructor(e){this.count=e}}return e.type="SetNationwideVehicleCount",e})(),a=(()=>{class e{constructor(e){this.stockNumber=e}}return e.type="SetMinCashDownStockNumber",e})()},56370:function(e,t,n){"use strict";n.d(t,{X:function(){return c},V:function(){return d}});var i=n(97582),a=n(28645),o=n(38376);let r=class{};r=(0,i.gn)([(0,o.$)()],r);var s=n(74549),l=n(37716);const c=Object.assign({},new r);let d=class{setNationwideCount(e,t){e.patchState({nationwideVehicleCount:t.count})}setMinCashDownStockNumber(e,t){e.patchState({minCashDownStockNumber:t.stockNumber})}static nationwideVehicleCount(e){return e.nationwideVehicleCount}};d.\u0275fac=function(e){return new(e||d)},d.\u0275prov=l.Yz7({token:d,factory:d.\u0275fac}),(0,i.gn)([(0,a.aU)(s.S),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,s.S]),(0,i.w6)("design:returntype",void 0)],d.prototype,"setNationwideCount",null),(0,i.gn)([(0,a.aU)(s.M),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,s.M]),(0,i.w6)("design:returntype",void 0)],d.prototype,"setMinCashDownStockNumber",null),(0,i.gn)([(0,a.Qf)(),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object]),(0,i.w6)("design:returntype",Number)],d,"nationwideVehicleCount",null),d=(0,i.gn)([(0,a.ZM)({name:"vehicle",defaults:c})],d)},51040:function(e,t,n){"use strict";n.d(t,{$:function(){return l}});var i=n(97582),a=n(28645),o=n(20483),r=n(67086),s=n(37716);let l=class{static getAllVehiclesForVDPBrowse(e,t){return(e,n=1)=>{const i=[...(t.vehicles||[]).map(c),...(t.layawayVehicles||[]).map(c),...(t.noVehicleResults||[]).map(c)];if(o.cmp.isNotEmpty(i)){const a=i.findIndex(t=>t.StockNumber===e);if(a>-1)return{prev:i[a-1]||null,current:i[a]||null,next:i[a+1]||null,hasNextPage:!t.allResultsShown,nextN:i[a+n]||null}}return null}}};function c(e){return{StateAbbreviation:e.StateAbbreviation,City:e.City,Make:e.Make,DisplayName:e.DisplayName,Year:e.Year,StockNumber:e.StockNumber}}l.\u0275fac=function(e){return new(e||l)},l.\u0275prov=s.Yz7({token:l,factory:l.\u0275fac}),(0,i.gn)([(0,a.Qf)([r.F_]),(0,i.w6)("design:type",Function),(0,i.w6)("design:paramtypes",[Object,Object]),(0,i.w6)("design:returntype",void 0)],l,"getAllVehiclesForVDPBrowse",null),l=(0,i.gn)([(0,a.ZM)({name:"vsrVdp",defaults:{}})],l)},61453:function(e,t,n){"use strict";n.d(t,{mS:function(){return i},pA:function(){return a},aB:function(){return o},nL:function(){return r},AT:function(){return s},yW:function(){return l},Wg:function(){return c},Qr:function(){return d},r1:function(){return u},uA:function(){return p},cp:function(){return h},re:function(){return m},yp:function(){return g},RH:function(){return f},Pd:function(){return y},Rk:function(){return _},a9:function(){return A},r4:function(){return v},u0:function(){return b},cB:function(){return C},$m:function(){return w},Y6:function(){return S},wv:function(){return k},Ox:function(){return M},Qv:function(){return P},oM:function(){return O},D9:function(){return U},JH:function(){return I},ir:function(){return N},LE:function(){return T},dY:function(){return D},V9:function(){return x},rG:function(){return E},Ty:function(){return L},GN:function(){return R},cS:function(){return F},Xb:function(){return V},UF:function(){return Z},zx:function(){return B},Yt:function(){return G},vn:function(){return q},Bh:function(){return H},j4:function(){return Q},s9:function(){return z},qI:function(){return Y},BK:function(){return $},ej:function(){return j},dI:function(){return W},pJ:function(){return J}});let i=(()=>{class e{}return e.type="UserHasInteractedOnPage",e})(),a=(()=>{class e{}return e.type="ClearVehicles",e})(),o=(()=>{class e{constructor(e){this.layawayVehicles=e}}return e.type="SetLayawayVehicles",e})(),r=(()=>{class e{}return e.type="ClearTempFilters",e})(),s=(()=>{class e{}return e.type="ClearSeoMakeModel",e})(),l=(()=>{class e{constructor(e){this.stockNumber=e}}return e.type="SetStockNumber",e})(),c=(()=>{class e{constructor(e,t,n,i,a){this.location=e,this.dealershipNumber=t,this.dealershipVehicleCount=n,this.validSellRegion=i,this.shouldOrderBy=a}}return e.type="SetInventoryRoute",e})(),d=(()=>{class e{constructor(e,t,n,i){this.location=e,this.contextLocation=t,this.validSellRegion=n,this.shouldOrderBy=i}}return e.type="SetCityRoute",e})(),u=(()=>{class e{constructor(e,t,n,i){this.location=e,this.contextLocation=t,this.validSellRegion=n,this.shouldOrderBy=i}}return e.type="SetRegionRoute",e})(),p=(()=>{class e{constructor(e,t,n,i){this.location=e,this.contextLocation=t,this.validSellRegion=n,this.shouldOrderBy=i}}return e.type="SetNationwideRoute",e})(),h=(()=>{class e{constructor(e,t,n,i){this.location=e,this.contextLocation=t,this.validSellRegion=n,this.shouldOrderBy=i}}return e.type="SetDefaultRoute",e})(),m=(()=>{class e{constructor(e){this.region=e}}return e.type="SetRegionTempFilter",e})(),g=(()=>{class e{constructor(e){this.location=e}}return e.type="SetLocationTempFilter",e})(),f=(()=>{class e{constructor(e){this.mileRadius=e}}return e.type="SetMileRadiusTempFilter",e})(),y=(()=>{class e{constructor(e){this.layaway=e}}return e.type="SetLayawayTempFilter",e})(),_=(()=>{class e{constructor(e){this.isPullingVehicles=e}}return e.type="IsPullingVehicles",e})(),A=(()=>{class e{constructor(e){this.validSellRegion=e}}return e.type="UpdateValidSellRegion",e})(),v=(()=>{class e{constructor(e){this.seoLocationType=e}}return e.type="UpdateSeoLocationType",e})(),b=(()=>{class e{constructor(e,t){this._seoMake=e,this._seoDisplayName=t}}return e.type="UpdateMakeModelName",e})(),C=(()=>{class e{constructor(e){this.filters=e}}return e.type="SetFilters",e})(),w=(()=>{class e{}return e.type="OpenFilter",e})(),S=(()=>{class e{}return e.type="CloseFilter",e})(),k=(()=>{class e{}return e.type="OpenSort",e})(),M=(()=>{class e{}return e.type="CloseSort",e})(),P=(()=>{class e{constructor(e){this.historicMakes=e}}return e.type="UpdateHistoricVehicleMap",e})(),O=(()=>{class e{constructor(e){this.UIVehicleMap=e}}return e.type="SetUIVehicleMap",e})(),U=(()=>{class e{constructor(e,t,n){this.makeKey=e,this.seriesKey=t,this.modelKey=n}}return e.type="SelectModel",e})(),I=(()=>{class e{constructor(e,t){this.makeKey=e,this.seriesKey=t}}return e.type="SelectSeries",e})(),N=(()=>{class e{constructor(e,t,n){this.makeKey=e,this.seriesKey=t,this.modelKey=n}}return e.type="DeselectModel",e})(),T=(()=>{class e{constructor(e,t){this.makeKey=e,this.seriesKey=t}}return e.type="DeselectSeries",e})(),D=(()=>{class e{constructor(e){this.vehicleIDIndexer=e}}return e.type="SetVehicleIDIndexer",e})(),x=(()=>{class e{constructor(e){this.noVehiclesInMileRadius=e}}return e.type="NoVehiclesInMileRadius",e})(),E=(()=>{class e{constructor(e){this.filteredVehicleCount$=e}}return e.type="SetFilteredVehicleCount",e})(),L=(()=>{class e{constructor(e){this.layawayVehicleCount=e}}return e.type="SetLayawayVehicleCount",e})(),R=(()=>{class e{constructor(e){this.needFreshVehicleCounts=e}}return e.type="NeedFreshVehicleCounts",e})(),F=(()=>{class e{constructor(e){this.historicMakeIndexer=e}}return e.type="HistoricMakeIndexer",e})(),V=(()=>{class e{constructor(e){this.sort=e}}return e.type="SearchSort",e})(),Z=(()=>{class e{constructor(e){this.isSortDirty=e}}return e.type="SearchSortStatus",e})(),B=(()=>{class e{constructor(e){this.totalVehicleCount=e}}return e.type="UpdateTotalVehicleCount",e})(),G=(()=>{class e{constructor(e){this.allResultsShown=e}}return e.type="SetAllResultsShown",e})(),q=(()=>{class e{constructor(e,t){this.vehicles$=e,this.searchType=t}}return e.type="AppendVehicles",e})(),H=(()=>{class e{constructor(e,t){this.vehicles$=e,this.searchType=t}}return e.type="SetVehicles",e})(),Q=(()=>{class e{constructor(e){this.needsFreshVehiclesReason=e}}return e.type="AppendNeedsFreshVehiclesReasons",e})(),z=(()=>{class e{constructor(){}}return e.type="ClearNeedsFreshVehiclesReasons",e})(),Y=(()=>{class e{constructor(e){this.reducingSeoRoute=e}}return e.type="SetReducingSeoRoute",e})(),$=(()=>{class e{constructor(e){this.defaultSort=e}}return e.type="SetDefaultSort",e})(),j=(()=>{class e{constructor(){}}return e.type="ResetDefaultSort",e})(),W=(()=>{class e{constructor(e){this.defaultDistance=e}}return e.type="SetDefaultDistance",e})(),J=(()=>{class e{constructor(e){this.showTerms=e}}return e.type="SetShowTerms",e})()},67086:function(e,t,n){"use strict";n.d(t,{yk:function(){return m},F_:function(){return g}});var i,a=n(97582),o=n(28645),r=n(22479),s=n(61453),l=n(74493),c=n(38376),d=n(39861),u=n(98648),p=n(37716);let h=class{constructor(){this.vehicles=[],this.layawayVehicles=[],this.isPullingVehicles=!1,this._seoStateAbbr=null,this.seoLocationName=null,this.seoLocationType=r.kW.Default,this.previousSeoLocationType=this.seoLocationType,this._seoMake=null,this._seoDisplayName=null,this.tempFilters_dealershipNumber=null,this.tempFilters_milesRadius=null,this.tempFilters_region=null,this.tempFilters_location=null,this.tempFilters_layaway=null,this.tempFilters_sold=null,this.validSellRegion=!1,this.filters=(0,l.BF)(),this.previousFilters=this.filters,this.filteredVehicleCount=null,this.layawayVehicleCount=null,this.totalVehicleCount=0,this.userHasInteractedOnPage=!1,this.historicVehicleMap=[],this.UIVehicleMap=[],this.historicVehicleIndexer={},this.vehicleIDIndexer={},this.needFreshVehicleCounts=!0,this.sort=u.a.sorters.find(e=>"VsrBestMatchPriceAsc"===e.key),this.defaultSort=u.a.sorters.find(e=>"VsrBestMatchPriceAsc"===e.key),this.defaultDistance=r.n.Radius250,this.isSortDirty=!1,this.previousSort=u.a.sorters.find(e=>"VsrBestMatchPriceAsc"===e.key),this.noVehicleResults=null,this.needsFreshVehicleReasons=[r.UP.InitialPull],this.reducingSeoRoute=!1,this.isFilterOpen=!1,this.isSortOpen=!1,this.noVehiclesInMileRadius=!1,this.allResultsShown=!1,this.showTerms=!1}};(0,a.gn)([(0,c.D)(),(0,a.w6)("design:type",Object)],h.prototype,"isSortDirty",void 0),h=(0,a.gn)([(0,c.$)()],h);const m=Object.assign({},new h);let g=i=class{setInventoryRoute(e,t){let n=e.getState().filters;n.distance=[r.n.SelectedDealership],e.patchState({previousSeoLocationType:e.getState().seoLocationType,seoLocationType:r.kW.Inventory,_seoStateAbbr:t.location.state,tempFilters_region:null,seoLocationName:t.location.name,tempFilters_dealershipNumber:t.dealershipNumber,validSellRegion:t.validSellRegion}),this.setFilters(e,{filters:n})}setCityRoute(e,t){e.patchState({previousSeoLocationType:e.getState().seoLocationType,seoLocationType:r.kW.City,_seoStateAbbr:t.location.state,tempFilters_region:t.location.region,seoLocationName:t.location.name,tempFilters_location:t.contextLocation,tempFilters_milesRadius:0,validSellRegion:t.validSellRegion})}setRegionRoute(e,t){e.patchState({previousSeoLocationType:e.getState().seoLocationType,seoLocationType:r.kW.Region,_seoStateAbbr:t.location.state,tempFilters_region:t.location.region,seoLocationName:t.location.name,tempFilters_location:t.contextLocation,validSellRegion:t.validSellRegion})}setNationwideRoute(e,t){let n=e.getState().filters;n.distance=[r.n.National],e.patchState({previousSeoLocationType:e.getState().seoLocationType,seoLocationType:r.kW.Nationwide,_seoStateAbbr:null,tempFilters_region:null,seoLocationName:null,tempFilters_location:{lat:0,lng:0},tempFilters_milesRadius:0}),this.setFilters(e,{filters:n})}setDefaultRoute(e,t){e.patchState({previousSeoLocationType:e.getState().seoLocationType,seoLocationType:r.kW.Default,_seoStateAbbr:null,tempFilters_region:null,seoLocationName:null,validSellRegion:t.validSellRegion})}userHasInteractedOnPage({patchState:e}){e({userHasInteractedOnPage:!0})}clearVehicles({patchState:e}){e({vehicles:[],layawayVehicles:[],noVehicleResults:[]})}setLayawayVehicles({patchState:e},t){e({layawayVehicles:t.layawayVehicles})}isPullingVehicles({patchState:e},t){e({isPullingVehicles:t.isPullingVehicles})}updateValidSellRegion({patchState:e},t){e({validSellRegion:t.validSellRegion})}clearTempFilters({patchState:e}){e({tempFilters_dealershipNumber:null,tempFilters_milesRadius:null,tempFilters_region:null,tempFilters_location:null,tempFilters_layaway:null,tempFilters_sold:null})}clearSeoMakeModel({patchState:e}){e({_seoMake:null,_seoDisplayName:null})}setRegionTempFilter({patchState:e},t){e({tempFilters_milesRadius:0,tempFilters_region:t.region})}makeModelIndexer({patchState:e},t){e({historicVehicleIndexer:t.historicMakeIndexer})}setUIVehicleMap(e,t){e.patchState({UIVehicleMap:t.UIVehicleMap})}selectModel(e,t){let n=d.a.cloneUIVehicleMap(e.getState().UIVehicleMap);n.find(e=>e.key===t.makeKey).series.find(e=>e.key===t.seriesKey).models.find(e=>e.key===t.modelKey).selected=!0,e.patchState({UIVehicleMap:n})}selectSeries(e,t){let n=d.a.cloneUIVehicleMap(e.getState().UIVehicleMap);n.find(e=>e.key===t.makeKey).series.find(e=>e.key===t.seriesKey).selected=!0,e.patchState({UIVehicleMap:n})}DeselectSeries(e,t){let n=d.a.cloneUIVehicleMap(e.getState().UIVehicleMap);n.find(e=>e.key===t.makeKey).series.find(e=>e.key===t.seriesKey).selected=!1,e.patchState({UIVehicleMap:n})}DeselectModel(e,t){let n=d.a.cloneUIVehicleMap(e.getState().UIVehicleMap);n.find(e=>e.key===t.makeKey).series.find(e=>e.key===t.seriesKey).models.find(e=>e.key===t.modelKey).selected=!1,e.patchState({UIVehicleMap:n})}setVehicleIDIndexer(e,t){e.patchState({vehicleIDIndexer:t.vehicleIDIndexer})}setMileRadiusTempFilter({patchState:e},t){e({tempFilters_milesRadius:t.mileRadius})}setLocationTempFilter({patchState:e},t){e({tempFilters_milesRadius:0,tempFilters_location:t.location})}setLayawayTempFilter({patchState:e},t){e({tempFilters_layaway:t.layaway})}setFilteredVehicleCount({patchState:e},t){e({filteredVehicleCount:t.filteredVehicleCount$})}setLayawayVehicleCount({patchState:e},t){e({layawayVehicleCount:t.layawayVehicleCount})}updateSeoLocationType(e,t){e.patchState({previousSeoLocationType:e.getState().seoLocationType,seoLocationType:t.seoLocationType})}updateMakeModelName({patchState:e},t){e({_seoMake:t._seoMake,_seoDisplayName:t._seoDisplayName})}setFilters({patchState:e,getState:t},n){e({previousFilters:t().filters,filters:n.filters})}updateHistoricVehicleMap({patchState:e},t){e({historicVehicleMap:t.historicMakes})}needFreshVehicleCounts({patchState:e},t){e({needFreshVehicleCounts:t.needFreshVehicleCounts})}openFilter({patchState:e},t){e({isFilterOpen:!0,isSortOpen:!1})}closeFilter({patchState:e},t){e({isFilterOpen:!1})}openSort({patchState:e},t){e({isSortOpen:!0,isFilterOpen:!1})}closeSort({patchState:e},t){e({isSortOpen:!1})}setSearchSort({patchState:e},t){e({sort:t.sort})}setSearchSortStatus({patchState:e},t){e({isSortDirty:t.isSortDirty})}updateTotalVehicleCount({patchState:e},t){e({totalVehicleCount:t.totalVehicleCount})}appendVehicles(e,t){switch(t.searchType){case r.gc.Layaway:e.patchState({layawayVehicles:e.getState().layawayVehicles.concat(t.vehicles$)});break;case r.gc.NoResults:e.patchState({noVehicleResults:e.getState().noVehicleResults.concat(t.vehicles$)});break;default:e.patchState({vehicles:e.getState().vehicles.concat(t.vehicles$)})}}SetVehicles(e,t){switch(t.searchType){case r.gc.Layaway:e.patchState({layawayVehicles:t.vehicles$});break;case r.gc.NoResults:e.patchState({noVehicleResults:t.vehicles$});break;default:e.patchState({vehicles:t.vehicles$})}}appendNeedFreshVehiclesReasons(e,t){e.patchState({needsFreshVehicleReasons:e.getState().needsFreshVehicleReasons.concat([t.needsFreshVehiclesReason])})}clearNeedsFreshVehiclesReasons(e){e.patchState({needsFreshVehicleReasons:[]})}setReducingSeoRoute(e,t){e.patchState({reducingSeoRoute:t.reducingSeoRoute})}setNoVehiclesInMileRadius(e,t){e.patchState({noVehiclesInMileRadius:t.noVehiclesInMileRadius})}setDefaultSort(e,t){e.patchState({sort:t.defaultSort,defaultSort:t.defaultSort})}resetDefaultSort(e){e.patchState({sort:e.getState().defaultSort})}setAllResultsShown(e,t){e.patchState({allResultsShown:t.allResultsShown})}setDefaultDistance(e,t){e.patchState({defaultDistance:t.defaultDistance})}static getVehicleCount(){return(0,o.P1)([i],e=>e.vehicles.length)}setShowTerms(e,t){e.patchState({showTerms:t.showTerms})}static showTerms(e){return e.showTerms}};g.\u0275fac=function(e){return new(e||g)},g.\u0275prov=p.Yz7({token:g,factory:g.\u0275fac}),(0,a.gn)([(0,o.aU)(s.Wg),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.Wg]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setInventoryRoute",null),(0,a.gn)([(0,o.aU)(s.Qr),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.Qr]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setCityRoute",null),(0,a.gn)([(0,o.aU)(s.r1),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.r1]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setRegionRoute",null),(0,a.gn)([(0,o.aU)(s.uA),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.uA]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setNationwideRoute",null),(0,a.gn)([(0,o.aU)(s.cp),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.cp]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setDefaultRoute",null),(0,a.gn)([(0,o.aU)(s.mS),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object]),(0,a.w6)("design:returntype",void 0)],g.prototype,"userHasInteractedOnPage",null),(0,a.gn)([(0,o.aU)(s.pA),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object]),(0,a.w6)("design:returntype",void 0)],g.prototype,"clearVehicles",null),(0,a.gn)([(0,o.aU)(s.aB),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.aB]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setLayawayVehicles",null),(0,a.gn)([(0,o.aU)(s.Rk),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.Rk]),(0,a.w6)("design:returntype",void 0)],g.prototype,"isPullingVehicles",null),(0,a.gn)([(0,o.aU)(s.a9),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.a9]),(0,a.w6)("design:returntype",void 0)],g.prototype,"updateValidSellRegion",null),(0,a.gn)([(0,o.aU)(s.nL),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object]),(0,a.w6)("design:returntype",void 0)],g.prototype,"clearTempFilters",null),(0,a.gn)([(0,o.aU)(s.AT),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object]),(0,a.w6)("design:returntype",void 0)],g.prototype,"clearSeoMakeModel",null),(0,a.gn)([(0,o.aU)(s.re),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.re]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setRegionTempFilter",null),(0,a.gn)([(0,o.aU)(s.cS),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.cS]),(0,a.w6)("design:returntype",void 0)],g.prototype,"makeModelIndexer",null),(0,a.gn)([(0,o.aU)(s.oM),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.oM]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setUIVehicleMap",null),(0,a.gn)([(0,o.aU)(s.D9),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.D9]),(0,a.w6)("design:returntype",void 0)],g.prototype,"selectModel",null),(0,a.gn)([(0,o.aU)(s.JH),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.JH]),(0,a.w6)("design:returntype",void 0)],g.prototype,"selectSeries",null),(0,a.gn)([(0,o.aU)(s.LE),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.LE]),(0,a.w6)("design:returntype",void 0)],g.prototype,"DeselectSeries",null),(0,a.gn)([(0,o.aU)(s.ir),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.ir]),(0,a.w6)("design:returntype",void 0)],g.prototype,"DeselectModel",null),(0,a.gn)([(0,o.aU)(s.dY),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.dY]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setVehicleIDIndexer",null),(0,a.gn)([(0,o.aU)(s.RH),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.RH]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setMileRadiusTempFilter",null),(0,a.gn)([(0,o.aU)(s.yp),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.yp]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setLocationTempFilter",null),(0,a.gn)([(0,o.aU)(s.Pd),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.Pd]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setLayawayTempFilter",null),(0,a.gn)([(0,o.aU)(s.rG),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.rG]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setFilteredVehicleCount",null),(0,a.gn)([(0,o.aU)(s.Ty),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.Ty]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setLayawayVehicleCount",null),(0,a.gn)([(0,o.aU)(s.r4),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.r4]),(0,a.w6)("design:returntype",void 0)],g.prototype,"updateSeoLocationType",null),(0,a.gn)([(0,o.aU)(s.u0),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.u0]),(0,a.w6)("design:returntype",void 0)],g.prototype,"updateMakeModelName",null),(0,a.gn)([(0,o.aU)(s.cB),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.cB]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setFilters",null),(0,a.gn)([(0,o.aU)(s.Qv),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.Qv]),(0,a.w6)("design:returntype",void 0)],g.prototype,"updateHistoricVehicleMap",null),(0,a.gn)([(0,o.aU)(s.GN),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.GN]),(0,a.w6)("design:returntype",void 0)],g.prototype,"needFreshVehicleCounts",null),(0,a.gn)([(0,o.aU)(s.$m),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.$m]),(0,a.w6)("design:returntype",void 0)],g.prototype,"openFilter",null),(0,a.gn)([(0,o.aU)(s.Y6),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.Y6]),(0,a.w6)("design:returntype",void 0)],g.prototype,"closeFilter",null),(0,a.gn)([(0,o.aU)(s.wv),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.wv]),(0,a.w6)("design:returntype",void 0)],g.prototype,"openSort",null),(0,a.gn)([(0,o.aU)(s.Ox),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.Ox]),(0,a.w6)("design:returntype",void 0)],g.prototype,"closeSort",null),(0,a.gn)([(0,o.aU)(s.Xb),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.Xb]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setSearchSort",null),(0,a.gn)([(0,o.aU)(s.UF),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.UF]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setSearchSortStatus",null),(0,a.gn)([(0,o.aU)(s.zx),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.zx]),(0,a.w6)("design:returntype",void 0)],g.prototype,"updateTotalVehicleCount",null),(0,a.gn)([(0,o.aU)(s.vn),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.vn]),(0,a.w6)("design:returntype",void 0)],g.prototype,"appendVehicles",null),(0,a.gn)([(0,o.aU)(s.Bh),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.Bh]),(0,a.w6)("design:returntype",void 0)],g.prototype,"SetVehicles",null),(0,a.gn)([(0,o.aU)(s.j4),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.j4]),(0,a.w6)("design:returntype",void 0)],g.prototype,"appendNeedFreshVehiclesReasons",null),(0,a.gn)([(0,o.aU)(s.s9),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object]),(0,a.w6)("design:returntype",void 0)],g.prototype,"clearNeedsFreshVehiclesReasons",null),(0,a.gn)([(0,o.aU)(s.qI),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.qI]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setReducingSeoRoute",null),(0,a.gn)([(0,o.aU)(s.V9),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.V9]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setNoVehiclesInMileRadius",null),(0,a.gn)([(0,o.aU)(s.BK),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.BK]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setDefaultSort",null),(0,a.gn)([(0,o.aU)(s.ej),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object]),(0,a.w6)("design:returntype",void 0)],g.prototype,"resetDefaultSort",null),(0,a.gn)([(0,o.aU)(s.Yt),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.Yt]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setAllResultsShown",null),(0,a.gn)([(0,o.aU)(s.dI),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.dI]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setDefaultDistance",null),(0,a.gn)([(0,o.aU)(s.pJ),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object,s.pJ]),(0,a.w6)("design:returntype",void 0)],g.prototype,"setShowTerms",null),(0,a.gn)([(0,o.Qf)(),(0,a.w6)("design:type",Function),(0,a.w6)("design:paramtypes",[Object]),(0,a.w6)("design:returntype",Boolean)],g,"showTerms",null),g=i=(0,a.gn)([(0,o.ZM)({name:"vsr",defaults:m})],g)},78098:function(e,t,n){"use strict";n.d(t,{I:function(){return a}});var i=n(64863);function a(e){return{[i.m.ROLE]:e.role,[i.m.LABEL]:e.ariaLabel,[i.m.LABELLEDBY]:e.ariaLabelledby,[i.m.DESCRIBEDBY]:e.ariaDescribedby,[i.m.CONTROLS]:e.ariaControls,[i.m.HIDDEN]:e.ariaHidden,[i.m.EXPANDED]:null,[i.m.CHECKED]:null,[i.m.DISABLED]:null,[i.m.INVALID]:null,[i.m.ERRORMESSAGE]:e.ariaErrorMessage,[i.m.MODAL]:e.ariaModal,[i.m.TABINDEX]:e.tabindex,[i.m.LEVEL]:e.ariaLevel,[i.m.HASPOPUP]:e.ariaHasPopup,[i.m.SELECTED]:e.ariaSelected}}},75761:function(e,t,n){"use strict";var i;n.d(t,{W:function(){return s}}),function(e){let t;var n;let i,a,o,r,s,l,c,d,u;(n=t=e.Color||(e.Color={}))[n.Silver=1]="Silver",n[n.White=2]="White",n[n.Black=4]="Black",n[n.Gray=8]="Gray",n[n.Red=16]="Red",n[n.Blue=32]="Blue",n[n.Green=64]="Green",n[n.Gold=128]="Gold",n[n.Brown=256]="Brown",n[n.Tan=512]="Tan",n[n.Orange=1024]="Orange",n[n.Yellow=2048]="Yellow",n[n.Other=4096]="Other",function(e){e[e["4Cyl"]=1]="4Cyl",e[e["5Cyl"]=2]="5Cyl",e[e["6Cyl"]=4]="6Cyl",e[e["8Cyl"]=8]="8Cyl",e[e.Other=16]="Other"}(i=e.Engine||(e.Engine={})),function(e){e[e["2WD"]=1]="2WD",e[e["4WD"]=2]="4WD",e[e.AWD=4]="AWD",e[e.FWD=8]="FWD",e[e.RWD=16]="RWD"}(a=e.Drive||(e.Drive={})),function(e){e[e.Gas=1]="Gas",e[e["Flex Fuel"]=2]="Flex Fuel",e[e.Hybrid=4]="Hybrid",e[e.Other=8]="Other"}(o=e.Fuel||(e.Fuel={})),function(e){e[e.Sedan=1]="Sedan",e[e.Coupe=2]="Coupe",e[e.Pickup=4]="Pickup",e[e.SUV=8]="SUV",e[e["Mini-Van"]=16]="Mini-Van",e[e.Convertible=32]="Convertible"}(r=e.VehicleType||(e.VehicleType={})),function(e){e[e.HasPremiumSound=1]="HasPremiumSound",e[e.HasSatelliteRadio=2]="HasSatelliteRadio",e[e.HasDVD=4]="HasDVD",e[e.HasMP3Connection=8]="HasMP3Connection",e[e.Aux=16]="Aux",e[e.Usb=32]="Usb",e[e.HasCDRadio=64]="HasCDRadio",e[e.HasBluetoothMusic=128]="HasBluetoothMusic"}(s=e.VehicleEntertainmentFeatures||(e.VehicleEntertainmentFeatures={})),function(e){e[e.HasTowingHitch=1]="HasTowingHitch",e[e.HasPowerLocks=2]="HasPowerLocks",e[e.HasPowerWindows=4]="HasPowerWindows",e[e.HasTiltWheel=8]="HasTiltWheel",e[e.HasSunRoof=16]="HasSunRoof",e[e.HasAC=32]="HasAC",e[e.HasRearAC=64]="HasRearAC",e[e.HeadsUpDisplay=128]="HeadsUpDisplay",e[e.HasKeylessEntry=256]="HasKeylessEntry",e[e.HasNavigationSystem=512]="HasNavigationSystem",e[e.HasPowerRearDoor=1024]="HasPowerRearDoor",e[e.HasPowerSideDoor=2048]="HasPowerSideDoor",e[e.HasCruiseControl=4096]="HasCruiseControl",e[e.HasHandsFree=8192]="HasHandsFree",e[e.HasHomeLink=16384]="HasHomeLink",e[e.HasKeylessIgnition=32768]="HasKeylessIgnition",e[e.RemoteStart=65536]="RemoteStart",e[e.AutoWindshieldWipers=131072]="AutoWindshieldWipers"}(l=e.VehicleConvenienceFeatures||(e.VehicleConvenienceFeatures={})),function(e){e[e.HasAntilockBrakeSystem=1]="HasAntilockBrakeSystem",e[e.HasAntiTheftSystem=2]="HasAntiTheftSystem",e[e.BlindSpotSensors=4]="BlindSpotSensors",e[e.LaneDepartureWarning=8]="LaneDepartureWarning",e[e.HasRearViewCamera=16]="HasRearViewCamera",e[e.ParkAssist=32]="ParkAssist",e[e.HasXenonLEDLights=64]="HasXenonLEDLights"}(c=e.VehicleSafetyFeatures||(e.VehicleSafetyFeatures={})),function(e){e[e.HasThirdRowSeat=1]="HasThirdRowSeat",e[e.HasHeatedSeats=2]="HasHeatedSeats",e[e.CooledSeats=4]="CooledSeats",e[e.HasPowerDriverSeat=8]="HasPowerDriverSeat",e[e.HasPowerPassengerSeat=16]="HasPowerPassengerSeat",e[e.HasLeatherInterior=32]="HasLeatherInterior",e[e.HasFoldDownRearSeat=64]="HasFoldDownRearSeat"}(d=e.VehicleSeatsTrimFeatures||(e.VehicleSeatsTrimFeatures={})),function(e){e[e.oneOwner=1]="oneOwner",e[e.noAccidents=2]="noAccidents"}(u=e.VehicleHistoryFeatures||(e.VehicleHistoryFeatures={}))}(i||(i={}));var a=n(20483),o=n(30175),r=n(98648);class s{static BuildFilterMap(){return[{valueType:"string",filterName:"makeModel",enumNames:[],paramNames:["mk","sr","md"],values:[]},{valueType:"any",filterName:"bodyType",enumNames:["VehicleType"],paramNames:["bit"],values:[]},{valueType:"any",filterName:"colors",enumNames:["Color"],paramNames:["cit"],values:[]},{valueType:"any",filterName:"engine",enumNames:["Engine"],paramNames:["eng"],values:[]},{valueType:"any",filterName:"driveTrain",enumNames:["Drive"],paramNames:["drv"],values:[]},{valueType:"any",filterName:"fuelType",enumNames:["Fuel"],paramNames:["fue"],values:[]},{filterName:"features",enumNames:["VehicleEntertainmentFeatures","VehicleSafetyFeatures","VehicleSeatsTrimFeatures","VehicleConvenienceFeatures"],paramNames:["net","fas","trs","nve"],values:[]},{valueType:"number",filterName:"mileage",enumNames:[],paramNames:["lax"],values:[]},{valueType:"number",filterName:"mpg",enumNames:[],paramNames:["gin"],values:[]},{valueType:"number",filterName:"price",enumNames:[],paramNames:["pin","pax"],values:[]},{valueType:"number",filterName:"year",enumNames:[],paramNames:["yin","yax"],values:[]},{valueType:"any",filterName:"history",enumNames:["VehicleHistoryFeatures"],paramNames:["hvs"],values:[]},{valueType:"number",filterName:"distance",enumNames:[],paramNames:["fea"],values:[]}]}static buildFilterParams(e){let t={},n=this.BuildFilterMap();return Object.keys(e).forEach(i=>{if(a.cmp.isNotEmpty(e[i])){let o=n.find(e=>e.filterName===i)||null;if(a.cmp.isUndefinedOrNull(o))return;""!==o.filterName&&(a.cmp.isNotEmpty(o.enumNames)?o.enumNames.forEach(t=>{let n=this._encodeFilter(t,e[i]);if(0!==n){let e=o.enumNames.findIndex(e=>e===t);o.values[e]=n}}):o.values=e[i],o.values.forEach((e,n)=>{a.cmp.isDefinedAndNotNull(o.values[n])&&(t[o.paramNames[n]]=o.values[n].toString())}))}}),t}static buildSortParams(e){let t={};if(a.cmp.isEmpty(e))return t;let n=r.a.sorters.find(t=>t.id===e.id);return a.cmp.isDefinedAndNotNull(n)&&(t[this.SortKey]=n.id),t}static decodeFiltersFromUrl(e){let t={},n=this.BuildFilterMap();return a.cmp.isNotEmpty(e)&&Object.keys(e).forEach(i=>{let r=n.find(e=>e.paramNames.some(e=>e===i))||null;if(!a.cmp.isUndefinedOrNull(r)&&""!==r.filterName){let n=r.paramNames.findIndex(e=>e===i),s=r.enumNames[n];if(a.cmp.isNotEmpty(s)){let t=this._decodeFilter(s,e[i]);r.values=r.values.concat(t)}else r.values[n]="number"===r.valueType?+e[i]:e[i];a.cmp.isNotEmpty(r.values)&&(a.cmp.isNotEmpty(r.enumNames)||o.G.validateFilter(r.filterName,r.values.map(e=>e.toString())))&&(t[r.filterName]=r.values)}}),t}static decodeSortFromUrl(e){return r.a.sorters.find(t=>t.id===+e[this.SortKey])}static removeFilterParams(e){let t={};return Object.keys(e).forEach(n=>{-1===this.ParamNames.indexOf(n)&&(t[n]=e[n])}),t}}s.ParamNames=s.BuildFilterMap().reduce((e,t)=>e.concat(t.paramNames),[]),s.SortKey="sy",s._encodeFilter=(e,t)=>t.reduce((t,n)=>i[e][n]|t,0),s._decodeFilter=(e,t)=>{let n=[];return Object.keys(i[e]).forEach(a=>{(+a&t)==+a&&n.push(i[e][a])}),n}},67182:function(e,t,n){"use strict";n.d(t,{sh:function(){return a},fm:function(){return o},p0:function(){return r},wh:function(){return s}});var i=n(20483);const a=(e="",t=",")=>e.split(t).filter(i.cmp.isNotEmpty),o=e=>i.cmp.isUndefinedOrNull(e)?"":`${e.charAt(0).toUpperCase()+e.slice(1)}`,r=e=>i.cmp.isUndefinedOrNull(e)?"":`${e.charAt(0).toLowerCase()+e.slice(1)}`;function s(e,t,n,a,o){return Object.keys(e).forEach(r=>{!function(e,t,n,a=!1,o){const r=t.split(".");let s=e;r.slice(0,-1).forEach(e=>{i.cmp.isNotEmpty(s[e])&&(s=s[e])});const l=s[r[r.length-1]];i.cmp.isEmpty(l)||(s[r[r.length-1]]=i.cmp.isDefinedAndNotNull(o)?l.replace(o.searchValue,o.replaceValue):a?l+n:n)}(e[r],t,n,a,o)}),e}},90028:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});var i=n(97582),a=n(97661),o=n(20483);class r{static isChecked(e){return!0===e.value?null:{isChecked:!0}}static isName(e){return o.cmp.isEmpty(e.value)||a.yv.test(e.value.trim())?null:{isName:!0}}static isAddress(e){return o.cmp.isEmpty(e.value)||a.M.test(e.value.trim())?null:{isAddress:!0}}static isEmail(e){return o.cmp.isEmpty(e.value)||a.IC.test(e.value)?null:{isEmail:!0}}static asyncZipValidator(e){return t=>(0,i.mG)(this,void 0,void 0,function*(){let n={isUSZip:!1};if(o.cmp.isEmpty(t.value))return n;try{return null===(yield e.getApiZipcodeByZip(t.value))?n:null}catch(i){return null}})}static isSSN(e){return a.L_.test(e.value.trim())?null:{isSSN:!0}}static isRequiredMinValue(e){return t=>{let n=!1;if(o.cmp.isDefinedAndNotNull(t.value)){let i=+t.value.toString().replace(/[^0-9.-]+/g,"");Number.isNaN(i)||(n=i>=e)}return n?null:{isRequiredMinValue:!0}}}}},63445:function(e,t,n){"use strict";n.d(t,{o:function(){return a}});var i=n(20483);function a(e,t){if(!i.cmp.isEmpty(t))for(let n in t)if(t.hasOwnProperty(n)){let a=t[n];i.cmp.isNotEmpty(a)&&e.setAttribute(n,String(a))}}},30175:function(e,t,n){"use strict";n.d(t,{G:function(){return c}});var i=n(20483),a=n(45829),o=n(71453),r=n(22479),s=n(87500),l=n(39861);class c{static buildFiltersObject(e){let t={};for(let n in e)if(e.hasOwnProperty(n)){let a=e[n].buildFilter();if(Array.isArray(a)||i.cmp.isUndefinedOrNull(a))t[n]=a;else for(let e in a)a.hasOwnProperty(e)&&(t[e]=a[e])}return t}static reloadFilters(e,t){for(let n in t)t.hasOwnProperty(n)?t[n].reloadFilter(e[n]||[]):t[n].reloadFilter(e)}static resetFilters(e){for(let t in e)e.hasOwnProperty(t)&&e[t].clearFilter()}static findMakeModelOrSeriesVehiclesFromFilterKey(e,t,n,a){let o=[];return i.cmp.isEmpty(e)||i.cmp.isEmpty(n)||e.split(",").filter(e=>i.cmp.isNotEmpty(e)&&!isNaN(+e)).forEach(e=>{let r=t[+e];if(i.cmp.isEmpty(r)||i.cmp.isUndefinedOrNull(n[r.makeIndex]))return;const l=n[r.makeIndex].series[r.seriesIndex],c=i.cmp.isDefinedAndNotNull(l)?l.models[r.modelIndex]:null;if(i.cmp.isDefinedAndNotNull(c))switch(a){case s.wI.Make:o.push({make:c.series.make.name,models:null});break;case s.wI.Series:o.push({make:c.series.make.name,models:c.series.models.map(e=>e.name)});break;default:o.push({make:c.series.make.name,models:[c.name]})}}),o}static buildMakeDisplayNameSubFilter(e,t,n){if(i.cmp.isEmpty(e))return null;let o={valueType:a.Ge.subQuery,conjunction:a.zX.and,items:[]},r=[];return e.forEach((e,i)=>{r=r.concat(c.findMakeModelOrSeriesVehiclesFromFilterKey(e,n,t,i))}),r.forEach(e=>{if(i.cmp.isEmpty(e.models))o.items.push({name:"Make",valueType:a.Ge.str,operator:a.d.eq,conjunction:a.zX.or,items:[e.make]});else{let t={valueType:a.Ge.subQuery,conjunction:a.zX.or,items:[]};t.items.push({name:"Make",valueType:a.Ge.str,operator:a.d.eq,conjunction:a.zX.and,items:[e.make]}),t.items.push({name:"DisplayName",valueType:a.Ge.str,operator:a.d.eq,conjunction:a.zX.or,items:e.models}),o.items.push(t)}}),o}static updateUIVehicleMapFromFilters(e,t,n){let a=l.a.cloneUIVehicleMap(e);return a.forEach(e=>e.selected=!1),t.forEach((e,t)=>{i.cmp.isUndefinedOrNull(e)||e.split(",").forEach(e=>{let i=n[e],o=a[i.makeIndex].series[i.seriesIndex].models[i.modelIndex];switch(t){case s.wI.Make:o.series.make.selected=!0;break;case s.wI.Series:o.series.selected=!0;break;default:o.selected=!0}})}),a}static validateFilter(e,t){switch(e){case"year":case"price":return c.validateDualRangeFilter(e,t);case"mpg":case"mileage":return c.validateSingleRangeFilter(e,t[0]);case"distance":return c.validateDistanceFilter(t[0].toString());default:return!0}}static validateDualRangeFilter(e,t){let n=+t[0],a=+t[1];if(isNaN(n)||isNaN(a))return!1;const r=o.m[e],s=r.minMax,l=!!i.cmp.isDefinedAndNotNull(s)&&a<s;return!(n>=r.max||n<r.min||n>a||a>r.max||l)}static validateSingleRangeFilter(e,t){return!isNaN(+t)&&!(+t>o.m[e].max||+t<o.m[e].min)}static validateDistanceFilter(e){return i.cmp.isDefinedAndNotNull(e)&&!isNaN(+e)&&i.cmp.isDefinedAndNotNull(r.n[+e])}}},82856:function(e,t,n){"use strict";n.d(t,{P0:function(){return a},cZ:function(){return s},Ij:function(){return l},l6:function(){return c},P_:function(){return p},QS:function(){return m},J_:function(){return g},x_:function(){return f},R3:function(){return _},Mz:function(){return A},pp:function(){return b},Ur:function(){return C},ks:function(){return w}});var i=n(20483);function a(e,t){return t>e?t:e}function o(e,t){if(t>0){if(0===e||e<=t)return 0;if(e>t)return e-t}return e}function r(e,t=0){const n=1e3*Math.floor((e-2e3-t)/1e3);return n<=0?0:n}function s(e,t){let{down:n,tradeInAmount:i,vehiclePrice:a,isHighMinimumDown:o}=e;const r=n-i;if(n=r>0?r:0,o||a<5e3)throw new Error(`customer isHighMinimumDown or vehiclePrice ${a} is less than $5000, unable to get slider range!`);const s=a-2e3>1e4?1e4:1e3*Math.floor((a-2e3)/1e3),l=100*Math.ceil(n/100);let c=100;const d={min:[n],max:[s]};return l>n&&(d[`${y((l-n)/(s-n)*100,2)}%`]=[l,t],c=l-n),{range:d,firstStep:c}}function l(e,t){let{down:n,tradeInAmount:i,vehiclePrice:a}=e;const s=o(n,i||0),l=r(a,i||0),c=100*Math.ceil(s/100);let d=100;const u={min:[s],max:[l]};return c>s&&(u[`${y((c-s)/(l-s)*100,2)}%`]=[c,t],d=c-s),{range:u,firstStep:d}}function c(e,t){const{down:n,tradeInAmount:i,vehiclePrice:a,statedDown:s}=e,l=t,c=function(e,t){return{min:[e],max:[t]}}(o(n,i||0),r(a,i||0)),p=function(e,t,n,i){const a=100*Math.ceil(e.min[0]/100),o=i>a?i:e.min[0];return{step:t,startValue:o,startValueCeiling:100*Math.ceil(o/100),startValueFloor:100*Math.floor(o/100),firstStep:n,ceilingMin:a}}(c,t,l,s||0);if(p.ceilingMin>0&&(d(c,u(p.ceilingMin,c.min[0],c.max[0]),p.ceilingMin,p.step),p.firstStep=p.startValue-p.ceilingMin),p.startValue>p.ceilingMin){let e=u(p.startValueCeiling,c.min[0],c.max[0]);d(c,e,p.startValueCeiling,p.step),e=u(p.startValue,c.min[0],c.max[0]),d(c,e,p.startValue,p.step),e=u(p.startValueFloor,c.min[0],c.max[0]),d(c,e,p.startValueFloor,p.step)}return{range:c,firstStep:p.firstStep}}function d(e,t,n,i){e[t]=[n,i]}function u(e,t,n,i=2){return`${y((e-t)/(n-t)*100,i)}%`}function p(e,t,n=0,i=0){const a=1e3*Math.floor((e-2e3)/1e3),o=i>0&&0===r(e,i);return n>0&&0===r(e,n)||a-t<500||o}function h(e,t){let n=e;for(const i in t)t.hasOwnProperty(i)&&(n=n.replace(i,t[i]));return n}function m(e){const{downPayment:t,paymentAmount:n,paymentFrequency:i,loanTerm:a,apr:o}=e;return{downPayment:`$${t} down payment`,paymentAmount:`$${y(n,2)} ${"biweekly"===i.toLowerCase()?"biweekly":"monthly"}`,loanTerm:`${a} months`,apr:`(interest rate) of ${parseFloat(y(100*o,3))}%`}}function g(e,t){const{downPayment:n,paymentAmount:i,paymentFrequency:a,loanTerm:o,apr:r}=e;return{[t.downPayment]:`$${n} down payment`,[t.paymentAmount]:`$${y(i,2)} ${"biweekly"===a.toLowerCase()?"biweekly":"monthly"}`,[t.loanTerm]:`${o} months`,[t.apr]:`(interest rate) of ${parseFloat(y(100*r,3))}%`}}function f(e,t){return{downPayment:e.downPayment,paymentAmount:e.paymentAmount,mobileDisclaimerText:h(t,e.mobileDisclaimerReplacerObj)}}function y(e,t){return e.toFixed(t)}function _(e,t,n){return`Down: ${Math.round(e)} | ${n}: ${Math.round(t)}`}function A(e,t,n,i,a,o){return[`Down: ${e||0}`,`Income: ${t||0}`,`Income Type: ${i}`,`GA2 Credit App ID: ${a}`,`Cobuyer Income: ${n||0}`,`Trade In Value: ${o||0}`].join(" | ")}function v(e,t,n,i){return`Down: ${e} | Monthly: ${t} | Income: ${n} | Income Type: ${i}`}function b(e,t,n,a,o,r,s,l){return v(e,t,n,o).concat(` | ${[`GA2 Credit App ID: ${r}`,`Cobuyer Income: ${a}`,`Trade In Value: ${s}`].concat(i.cmp.isDefinedAndNotNull(l)?[`MinDown: ${l}`]:[]).join(" | ")}`)}function C(e,t,n,i,a,o,r,s){return v(e,t,n,i).concat(` | ${[`Vehicle: ${a}`,`GA2 Credit App ID: ${o}`,`Cobuyer Income: ${r||0}`,`Trade In Value: ${s||0}`].join(" | ")}`)}function w(e,t,n,i,a){return[`LeadID: ${e}`,`Vehicle Price: ${t}`,`Buyer Income: ${n}`,`Cobuyer Income: ${i||0}`,`Trade In Value: ${a||0}`].join(" | ")}},81659:function(e,t,n){"use strict";function i(){var e,t,n,i,a,o,r,s;window._fs_debug=!1,window._fs_host="fullstory.com",window._fs_script="edge.fullstory.com/s/fs.js",window._fs_org="PFK7D",window._fs_namespace="FS",e=window,t=document,n=window._fs_namespace,i="script",a="user",n in e?e.console&&e.console.log&&e.console.log('FullStory namespace conflict. Please set window["_fs_namespace"].'):((r=e[n]=(e,t,n)=>{r.q?r.q.push([e,t,n]):r._api(e,t,n)}).q=[],(o=t.createElement(i)).async=1,o.crossOrigin="anonymous",o.src="https://"+window._fs_script,(s=t.getElementsByTagName(i)[0]).parentNode.insertBefore(o,s),r.identify=function(e,t,n){r(a,{uid:e},n),t&&r(a,t,n)},r.setUserVars=(e,t)=>{r(a,e,t)},r.event=(e,t,n)=>{r("event",{n:e,p:t},n)},r.anonymize=()=>{r.identify(!1)},r.shutdown=()=>{r("rec",!1)},r.restart=()=>{r("rec",!0)},r.log=(e,t)=>{r("log",[e,t])},r.consent=function(e){r("consent",!arguments.length||e)},r.identifyAccount=(e,t)=>{o="account",(t=t||{}).acctId=e,r(o,t)},r.clearUserCookie=()=>{},r.setVars=(e,t)=>{r("setVars",[e,t])},r._w={},r._w[s="XMLHttpRequest"]=e[s],r._w[s="fetch"]=e[s],e[s]&&(e.fetch=function(){return r._w[s].apply(this,arguments)}),r._v="1.3.0")}function a(e){return`/*{literal}<![CDATA[*/window.lightningjs||function(c){function g(b,d){d&&(d+=(/\\?/.test(d)?"&":"?")+"lv=1");c[b]||function(){var i=window,h=document,j=b,g=h.location.protocol,l="load",k=0;(function(){function b(){a.P(l);a.w=1;c[j]("_load")}c[j]=function(){function m(){m.id=e;return c[j].apply(m,arguments)}var b,e=++k;b=this&&this!=i?this.id||0:0;(a.s=a.s||[]).push([e,b,arguments]);m.then=function(b,c,h){var d=a.fh[e]=a.fh[e]||[],j=a.eh[e]=a.eh[e]||[],f=a.ph[e]=a.ph[e]||[];b&&d.push(b);c&&j.push(c);h&&f.push(h);return m};return m};var a=c[j]._={};a.fh={};a.eh={};a.ph={};a.l=d?d.replace(/^\\/\\//,(g=="https:"?g:"http:")+"//"):d;a.p={0:+new Date};a.P=function(b){a.p[b]=new Date-a.p[0]};a.w&&b();i.addEventListener?i.addEventListener(l,b,!1):i.attachEvent("on"+l,b);var q=function(){function b(){return["<head></head><",c,' onload="var d=',n,";d.getElementsByTagName('head')[0].",d,"(d.",g,"('script')).",i,"='",a.l,"'\\"></",c,">"].join("")}var c="body",e=h[c];if(!e)return setTimeout(q,100);a.P(1);var d="appendChild",g="createElement",i="src",k=h[g]("div"),l=k[d](h[g]("div")),f=h[g]("iframe"),n="document",p;k.style.display="none";e.insertBefore(k,e.firstChild).id=o+"-"+j;f.frameBorder="0";f.id=o+"-frame-"+j;/MSIE[ ]+6/.test(navigator.userAgent)&&(f[i]="javascript:false");f.allowTransparency="true";l[d](f);try{f.contentWindow[n].open()}catch(s){a.domain=h.domain,p="javascript:var d="+n+".open();d.domain='"+h.domain+"';",f[i]=p+"void(0);"}try{var r=f.contentWindow[n];r.write(b());r.close()}catch(t){f[i]=p+'d.write("'+b().replace(/"/g,String.fromCharCode(92)+'"')+'");d.close();'}a.P(2)};a.l&&setTimeout(q,0)})()}();c[b].lv="1";return c[b]}var o="lightningjs",k=window[o]=g(o);k.require=g;k.modules=c}({});window.usabilla_live = lightningjs.require("usabilla_live", "//w.usabilla.com/${e}.js"); /*]]>{/literal}*/`}function o(){var e,t,n,i,a,o,r,s;e="91c80d77",t={root:"ezRX7ubxyVL1",version:"2022-05-04",animations:[{elements:{ezRX7ubxyVL3:{transform:{data:{t:{x:-137.5,y:-310}},keys:{o:[{t:0,v:{x:136.857073,y:292.543682,type:"corner"},e:[.42,0,.58,1]},{t:100,v:{x:137.5,y:310,type:"corner"},e:[.42,0,.58,1]},{t:2400,v:{x:137.5,y:310,type:"corner"},e:[.445,.05,.55,.95]},{t:2800,v:{x:137.500002,y:270.929171,type:"corner"},e:[.42,0,.58,1]},{t:5100,v:{x:137.500002,y:270.929171,type:"corner"},e:[.42,0,.58,1]},{t:5400,v:{x:137.500002,y:421.023868,type:"corner"}}]}},opacity:[{t:5100,v:1},{t:5300,v:0}]},ezRX7ubxyVL16:{transform:{data:{t:{x:-137.5,y:-224}},keys:{o:[{t:0,v:{x:136.085986,y:206.543682,type:"corner"},e:[.42,0,.58,1]},{t:200,v:{x:137.5,y:224,type:"corner"},e:[.42,0,.58,1]},{t:2400,v:{x:137.5,y:224,type:"corner"},e:[.42,0,.58,1]},{t:2600,v:{x:137.5,y:154.406562,type:"corner"},e:[.42,0,.58,1]},{t:2800,v:{x:137.5,y:156.406562,type:"corner"},e:[.42,0,.58,1]},{t:4600,v:{x:137.5,y:156.406562,type:"corner"},e:[.42,0,.58,1]},{t:5200,v:{x:137.5,y:156.406562,type:"corner"},e:[.42,0,.58,1]},{t:5500,v:{x:137.5,y:308,type:"corner"}}]}},opacity:[{t:2400,v:.4,e:[.42,0,.58,1]},{t:2700,v:1,e:[.42,0,.58,1]},{t:5200,v:1,e:[.42,0,.58,1]},{t:5500,v:.4}]},ezRX7ubxyVL18:{d:[{t:2390,v:["M",0,15,"C",0,6.715729,6.715729,0,15,0,"L",70,0,"C",78.284271,0,85,6.715729,85,15,"L",85,52,"C",85,60.284271,78.284271,67,70,67,"L",15,67,"C",6.715729,67,0,60.284271,0,52,"L",0,15,"Z"],e:[.42,0,.58,1]},{t:2700,v:["M",0,15,"C",0,6.715729,6.715729,0,15,0,"L",70,0,"C",78.284271,0,85,6.715729,85,15,"L",85,60.273986,"C",85,68.558257,78.284271,75.273986,70,75.273986,"L",15,75.273986,"C",6.715729,75.273986,0,68.558257,0,60.273986,"L",0,15,"Z"],e:[.42,0,.58,1]},{t:5e3,v:["M",0,15,"C",0,6.715729,6.715729,0,15,0,"L",70,0,"C",78.284271,0,85,6.715729,85,15,"L",85,60.273986,"C",85,68.558257,78.284271,75.273986,70,75.273986,"L",15,75.273986,"C",6.715729,75.273986,0,68.558257,0,60.273986,"L",0,15,"Z"],e:[.42,0,.58,1]},{t:5200,v:["M",0,15,"C",0,6.715729,6.715729,0,15,0,"L",70,0,"C",78.284271,0,85,6.715729,85,15,"L",85,52,"C",85,60.284271,78.284271,67,70,67,"L",15,67,"C",6.715729,67,0,60.284271,0,52,"L",0,15,"Z"]}],"#filter":{keys:[{t:2390,v:[{type:"drop-shadow",value:{blur:{x:0,y:0},offset:{x:0,y:0},color:{r:0,g:0,b:0,a:0}}}],e:[.42,0,.58,1]},{t:2600,v:[{type:"drop-shadow",value:{blur:{x:4,y:4},offset:{x:0,y:2},color:{r:12,g:40,b:89,a:.25}}}]},{t:5e3,v:[{type:"drop-shadow",value:{blur:{x:4,y:4},offset:{x:0,y:2},color:{r:12,g:40,b:89,a:.25}}}]},{t:5400,v:[{type:"drop-shadow",value:{blur:{x:4,y:4},offset:{x:0,y:2},color:{r:12,g:40,b:89,a:0}}}]}],data:{items:[["drop-shadow","ezRX7ubxyVL18-filter-drop-shadow-0"]]}},fill:[{t:2390,v:{t:"c",v:{r:196,g:234,b:250,a:1}},e:[.42,0,.58,1]},{t:2700,v:{t:"g",s:[{c:{r:0,g:171,b:232,a:1},o:0},{c:{r:78,g:4,b:196,a:1},o:1}],r:"ezRX7ubxyVL18-fill-g1",gt:[1,0,0,1,0,0],f:{x:0,y:.5},to:{x:1,y:.5}},e:[.42,0,.58,1]},{t:5e3,v:{t:"g",s:[{c:{r:0,g:171,b:232,a:1},o:0},{c:{r:78,g:4,b:196,a:1},o:1}],r:"ezRX7ubxyVL18-fill-g1",gt:[1,0,0,1,0,0],f:{x:0,y:.5},to:{x:1,y:.5}},e:[.42,0,.58,1]},{t:5200,v:{t:"c",v:{r:196,g:234,b:250,a:1}}}]},ezRX7ubxyVL20:{d:[{t:2390,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,14,"C",17,15.104569,16.104569,16,15,16,"L",2,16,"C",.895431,16,0,15.104569,0,14,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:2700,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,24.208009,"C",17,25.312578,16.104569,26.208009,15,26.208009,"L",2,26.208009,"C",.895431,26.208009,0,25.312578,0,24.208009,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:5e3,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,24.208009,"C",17,25.312578,16.104569,26.208009,15,26.208009,"L",2,26.208009,"C",.895431,26.208009,0,25.312578,0,24.208009,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:5200,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,14,"C",17,15.104569,16.104569,16,15,16,"L",2,16,"C",.895431,16,0,15.104569,0,14,"L",0,2,"Z"]}],opacity:[{t:2400,v:.4},{t:2600,v:.2,e:[.42,0,.58,1]},{t:2900,v:.4,e:[.42,0,.58,1]},{t:3300,v:.4,e:[.42,0,.58,1]},{t:3700,v:.6,e:[.42,0,.58,1]},{t:4100,v:.2,e:[.42,0,.58,1]},{t:4500,v:.4}],fill:[{t:2390,v:{t:"c",v:{r:7,g:80,b:120,a:1}},e:[.42,0,.58,1]},{t:2700,v:{t:"c",v:{r:255,g:255,b:255,a:1}},e:[.42,0,.58,1]},{t:5e3,v:{t:"c",v:{r:255,g:255,b:255,a:1}},e:[.42,0,.58,1]},{t:5200,v:{t:"c",v:{r:7,g:80,b:120,a:1}}}]},ezRX7ubxyVL21:{d:[{t:2390,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,14,"C",17,15.104569,16.104569,16,15,16,"L",2,16,"C",.895431,16,0,15.104569,0,14,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:2700,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,24.208009,"C",17,25.312578,16.104569,26.208009,15,26.208009,"L",2,26.208009,"C",.895431,26.208009,-.07,25.312578,-.07,24.208009,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:5e3,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,24.208009,"C",17,25.312578,16.104569,26.208009,15,26.208009,"L",2,26.208009,"C",.895431,26.208009,-.07,25.312578,-.07,24.208009,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:5200,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,14,"C",17,15.104569,16.104569,16,15,16,"L",2,16,"C",.895431,16,0,15.104569,0,14,"L",0,2,"Z"]}],opacity:[{t:2400,v:.4},{t:2600,v:.4,e:[.42,0,.58,1]},{t:2900,v:.6,e:[.42,0,.58,1]},{t:3300,v:.2,e:[.42,0,.58,1]},{t:3700,v:.4,e:[.42,0,.58,1]},{t:4100,v:.6,e:[.42,0,.58,1]},{t:4500,v:.2},{t:5e3,v:.4},{t:5200,v:.4}],fill:[{t:2390,v:{t:"c",v:{r:7,g:80,b:120,a:1}},e:[.42,0,.58,1]},{t:2700,v:{t:"c",v:{r:255,g:255,b:255,a:1}},e:[.42,0,.58,1]},{t:5e3,v:{t:"c",v:{r:255,g:255,b:255,a:1}},e:[.42,0,.58,1]},{t:5200,v:{t:"c",v:{r:7,g:80,b:120,a:1}}}]},ezRX7ubxyVL22:{d:[{t:2390,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,14,"C",17,15.104569,16.104569,16,15,16,"L",2,16,"C",.895431,16,0,15.104569,0,14,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:2700,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,24.208009,"C",17,25.312578,16.104569,26.208009,15,26.208009,"L",2,26.208009,"C",.895431,26.208009,0,25.312578,0,24.208009,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:5e3,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,24.208009,"C",17,25.312578,16.104569,26.208009,15,26.208009,"L",2,26.208009,"C",.895431,26.208009,0,25.312578,0,24.208009,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:5200,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,14,"C",17,15.104569,16.104569,16,15,16,"L",2,16,"C",.895431,16,0,15.104569,0,14,"L",0,2,"Z"]}],opacity:[{t:2400,v:.4},{t:2600,v:.2,e:[.42,0,.58,1]},{t:2900,v:.4,e:[.42,0,.58,1]},{t:3300,v:.6,e:[.42,0,.58,1]},{t:3700,v:.2,e:[.42,0,.58,1]},{t:4100,v:.4,e:[.42,0,.58,1]},{t:4500,v:.6},{t:5200,v:.4}],fill:[{t:2390,v:{t:"c",v:{r:7,g:80,b:120,a:1}},e:[.42,0,.58,1]},{t:2700,v:{t:"c",v:{r:255,g:255,b:255,a:1}},e:[.42,0,.58,1]},{t:5e3,v:{t:"c",v:{r:255,g:255,b:255,a:1}},e:[.42,0,.58,1]},{t:5200,v:{t:"c",v:{r:7,g:80,b:120,a:1}}}]},ezRX7ubxyVL23:{opacity:[{t:2400,v:.4,e:[.42,0,.58,1]},{t:2700,v:0,e:[.42,0,.58,1]},{t:5e3,v:0,e:[.42,0,.58,1]},{t:5200,v:.4}]},ezRX7ubxyVL24:{opacity:[{t:2400,v:0,e:[.42,0,.58,1]},{t:2700,v:1,e:[.42,0,.58,1]},{t:5e3,v:1,e:[.42,0,.58,1]},{t:5200,v:0}]},ezRX7ubxyVL33:{d:[{t:2400,v:["M",0,15,"C",0,6.715729,6.715729,0,15,0,"L",70,0,"C",78.284271,0,85,6.715729,85,15,"L",85,52,"C",85,60.284271,78.284271,67,70,67,"L",15,67,"C",6.715729,67,0,60.284271,0,52,"L",0,15,"Z"],e:[.42,0,.58,1]},{t:2700,v:["M",0,15,"C",0,6.715729,6.715729,0,15,0,"L",70,0,"C",78.284271,0,85,6.715729,85,15,"L",85,60,"C",85,68.284271,78.284271,75,70,75,"L",15,75,"C",6.715729,75,0,68.284271,0,60,"L",0,15,"Z"],e:[.42,0,.58,1]},{t:4990,v:["M",0,15,"C",0,6.715729,6.715729,0,15,0,"L",70,0,"C",78.284271,0,85,6.715729,85,15,"L",85,60,"C",85,68.284271,78.284271,75,70,75,"L",15,75,"C",6.715729,75,0,68.284271,0,60,"L",0,15,"Z"],e:[.42,0,.58,1]},{t:5190,v:["M",0,15,"C",0,6.715729,6.715729,0,15,0,"L",70,0,"C",78.284271,0,85,6.715729,85,15,"L",85,52,"C",85,60.284271,78.284271,67,70,67,"L",15,67,"C",6.715729,67,0,60.284271,0,52,"L",0,15,"Z"]}],"#filter":{keys:[{t:2400,v:[{type:"drop-shadow",value:{blur:{x:0,y:0},offset:{x:0,y:0},color:{r:0,g:0,b:0,a:0}}}],e:[.42,0,.58,1]},{t:2700,v:[{type:"drop-shadow",value:{blur:{x:4,y:4},offset:{x:0,y:2},color:{r:12,g:40,b:89,a:.25}}}]},{t:5e3,v:[{type:"drop-shadow",value:{blur:{x:4,y:4},offset:{x:0,y:2},color:{r:12,g:40,b:89,a:.25}}}]},{t:5500,v:[{type:"drop-shadow",value:{blur:{x:4,y:4},offset:{x:0,y:2},color:{r:12,g:40,b:89,a:0}}}]}],data:{items:[["drop-shadow","ezRX7ubxyVL33-filter-drop-shadow-0"]]}},fill:[{t:2400,v:{t:"c",v:{r:196,g:234,b:250,a:1}},e:[.42,0,.58,1]},{t:2700,v:{t:"g",s:[{c:{r:0,g:171,b:232,a:1},o:0},{c:{r:78,g:4,b:196,a:1},o:1}],r:"ezRX7ubxyVL33-fill-g1",gt:[1,0,0,1,0,0],f:{x:0,y:.5},to:{x:1,y:.5}},e:[.42,0,.58,1]},{t:4990,v:{t:"g",s:[{c:{r:0,g:171,b:232,a:1},o:0},{c:{r:78,g:4,b:196,a:1},o:1}],r:"ezRX7ubxyVL33-fill-g1",gt:[1,0,0,1,0,0],f:{x:0,y:.5},to:{x:1,y:.5}},e:[.42,0,.58,1]},{t:5190,v:{t:"c",v:{r:196,g:234,b:250,a:1}}}]},ezRX7ubxyVL35:{d:[{t:2400,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,14,"C",17,15.104569,16.104569,16,15,16,"L",2,16,"C",.895431,16,0,15.104569,0,14,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:2700,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,24.208009,"C",17,25.312578,16.104569,26.208009,15,26.208009,"L",2,26.208009,"C",.895431,26.208009,0,25.312578,0,24.208009,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:5e3,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,24.208009,"C",17,25.312578,16.104569,26.208009,15,26.208009,"L",2,26.208009,"C",.895431,26.208009,0,25.312578,0,24.208009,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:5190,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,14,"C",17,15.104569,16.104569,16,15,16,"L",2,16,"C",.895431,16,0,15.104569,0,14,"L",0,2,"Z"]}],opacity:[{t:2400,v:.4},{t:2600,v:.2,e:[.42,0,.58,1]},{t:2900,v:.4,e:[.42,0,.58,1]},{t:3300,v:.4,e:[.42,0,.58,1]},{t:3700,v:.6,e:[.42,0,.58,1]},{t:4100,v:.2,e:[.42,0,.58,1]},{t:4500,v:.4,e:[.42,0,.58,1]}],fill:[{t:2400,v:{t:"c",v:{r:7,g:80,b:120,a:1}},e:[.42,0,.58,1]},{t:2700,v:{t:"c",v:{r:255,g:255,b:255,a:1}},e:[.42,0,.58,1]},{t:5e3,v:{t:"c",v:{r:255,g:255,b:255,a:1}},e:[.42,0,.58,1]},{t:5190,v:{t:"c",v:{r:7,g:80,b:120,a:1}}}]},ezRX7ubxyVL36:{d:[{t:2400,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,14,"C",17,15.104569,16.104569,16,15,16,"L",2,16,"C",.895431,16,0,15.104569,0,14,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:2700,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,24.208009,"C",17,25.312578,16.104569,26.208009,15,26.208009,"L",2,26.208009,"C",.895431,26.208009,0,25.312578,0,24.208009,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:5e3,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,24.208009,"C",17,25.312578,16.104569,26.208009,15,26.208009,"L",2,26.208009,"C",.895431,26.208009,0,25.312578,0,24.208009,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:5190,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,14,"C",17,15.104569,16.104569,16,15,16,"L",2,16,"C",.895431,16,0,15.104569,0,14,"L",0,2,"Z"]}],opacity:[{t:2600,v:.4,e:[.42,0,.58,1]},{t:2900,v:.6,e:[.42,0,.58,1]},{t:3300,v:.2,e:[.42,0,.58,1]},{t:3700,v:.4,e:[.42,0,.58,1]},{t:4100,v:.6,e:[.42,0,.58,1]},{t:4500,v:.2,e:[.42,0,.58,1]},{t:5200,v:.4}],fill:[{t:2400,v:{t:"c",v:{r:7,g:80,b:120,a:1}},e:[.42,0,.58,1]},{t:2700,v:{t:"c",v:{r:255,g:255,b:255,a:1}},e:[.42,0,.58,1]},{t:5e3,v:{t:"c",v:{r:255,g:255,b:255,a:1}},e:[.42,0,.58,1]},{t:5190,v:{t:"c",v:{r:7,g:80,b:120,a:1}}}]},ezRX7ubxyVL37:{d:[{t:2400,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,14,"C",17,15.104569,16.104569,16,15,16,"L",2,16,"C",.895431,16,0,15.104569,0,14,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:2700,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,24.208009,"C",17,25.312578,16.104569,26.208009,15,26.208009,"L",2,26.208009,"C",.895431,26.208009,0,25.312578,0,24.208009,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:5e3,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,24.208009,"C",17,25.312578,16.104569,26.208009,15,26.208009,"L",2,26.208009,"C",.895431,26.208009,0,25.312578,0,24.208009,"L",0,2,"Z"],e:[.42,0,.58,1]},{t:5200,v:["M",0,2,"C",0,.895431,.895431,0,2,0,"L",15,0,"C",16.104569,0,17,.895431,17,2,"L",17,14,"C",17,15.104569,16.104569,16,15,16,"L",2,16,"C",.895431,16,0,15.104569,0,14,"L",0,2,"Z"]}],opacity:[{t:0,v:.4},{t:2400,v:.4},{t:2600,v:.2,e:[.42,0,.58,1]},{t:2900,v:.4,e:[.42,0,.58,1]},{t:3300,v:.6,e:[.42,0,.58,1]},{t:3700,v:.2,e:[.42,0,.58,1]},{t:4100,v:.4,e:[.42,0,.58,1]},{t:4500,v:.6,e:[.42,0,.58,1]},{t:5200,v:.4}],fill:[{t:2400,v:{t:"c",v:{r:7,g:80,b:120,a:1}},e:[.42,0,.58,1]},{t:2700,v:{t:"c",v:{r:255,g:255,b:255,a:1}},e:[.42,0,.58,1]},{t:5e3,v:{t:"c",v:{r:255,g:255,b:255,a:1}},e:[.42,0,.58,1]},{t:5190,v:{t:"c",v:{r:7,g:80,b:120,a:1}}}]},ezRX7ubxyVL38:{opacity:[{t:2400,v:.4,e:[.42,0,.58,1]},{t:2700,v:0,e:[.42,0,.58,1]},{t:5e3,v:0,e:[.42,0,.58,1]},{t:5200,v:.4}]},ezRX7ubxyVL39:{opacity:[{t:2400,v:0,e:[.42,0,.58,1]},{t:2700,v:1,e:[.42,0,.58,1]},{t:5e3,v:1,e:[.42,0,.58,1]},{t:5200,v:0}]},ezRX7ubxyVL44:{transform:{data:{t:{x:-137.5,y:-117.5}},keys:{o:[{t:0,v:{x:137.260142,y:113.198754,type:"corner"}},{t:400,v:{x:137.461476,y:113.198754,type:"corner"},e:[.42,0,.58,1]},{t:2300,v:{x:137.903068,y:113.198754,type:"corner"},e:[.42,0,.58,1]},{t:2700,v:{x:137.903068,y:103.07692,type:"corner"},e:[.42,0,.58,1]},{t:3500,v:{x:137.90408,y:103.07692,type:"corner"},e:[.42,0,.58,1]},{t:5200,v:{x:137.90408,y:103.07692,type:"corner"},e:[.42,0,.58,1]},{t:5600,v:{x:137.90408,y:257.07692,type:"corner"}}]}},opacity:[{t:0,v:.4,e:[.42,0,.58,1]},{t:400,v:1,e:[.42,0,.58,1]},{t:2300,v:1,e:[.42,0,.58,1]},{t:2700,v:.4}]},ezRX7ubxyVL45:{d:[{t:0,v:["M",0,26,"C",0,11.640597,11.640597,0,26,0,"L",202,0,"C",216.359403,0,228,11.640597,228,26,"L",228.000001,67.46539,"C",228.000001,81.824793,216.359403,93.46539,202.000001,93.46539,"L",26,93.46539,"C",11.640597,93.46539,0,81.824793,0,67.46539,"L",0,26,"Z"],e:[.42,0,.58,1]},{t:200,v:["M",0,26,"C",0,11.640597,11.640597,0,26,0,"L",202,0,"C",216.359403,0,228,11.640597,228,26,"L",228,76,"C",228,90.359403,216.359403,102,202,102,"L",26,102,"C",11.640597,102,0,90.359403,0,76,"L",0,26,"Z"],e:[.42,0,.58,1]},{t:2300,v:["M",0,26,"C",0,11.640597,11.640597,0,26,0,"L",202,0,"C",216.359403,0,228,11.640597,228,26,"L",228,76,"C",228,90.359403,216.359403,102,202,102,"L",26,102,"C",11.640597,102,0,90.359403,0,76,"L",0,26,"Z"],e:[.42,0,.58,1]},{t:2700,v:["M",-11.216393,26,"C",-11.216393,11.640597,.424204,0,14.783607,0,"L",213.2137,0,"C",227.573103,0,239.2137,11.640597,239.2137,26,"L",239.2137,26.000001,"C",239.2137,40.359404,227.573103,52.000001,213.2137,52.000001,"L",14.783607,52.000001,"C",.424204,52.000001,-11.216393,40.359404,-11.216393,26.000001,"L",-11.216393,26,"Z"]}],transform:{data:{o:{x:137.096932,y:118.910785,type:"corner"},t:{x:-114,y:-51}},keys:{s:[{t:2300,v:{x:1,y:1},e:[.42,0,.58,1]},{t:2700,v:{x:.75,y:.75}}]}},"#filter":{keys:[{t:2300,v:[{type:"drop-shadow",value:{blur:{x:4,y:4},offset:{x:0,y:2},color:{r:12,g:40,b:89,a:.5}}}],e:[.42,0,.58,1]},{t:2700,v:[{type:"drop-shadow",value:{blur:{x:4,y:4},offset:{x:0,y:2},color:{r:12,g:40,b:89,a:0}}}]}],data:{items:[["drop-shadow","ezRX7ubxyVL45-filter-drop-shadow-0"]]}},fill:[{t:2300,v:{t:"g",s:[{c:{r:0,g:171,b:232,a:1},o:0},{c:{r:78,g:4,b:196,a:1},o:1}],r:"ezRX7ubxyVL45-fill",gt:[1,0,0,1,0,0],f:{x:137.6,y:-23.32},to:{x:98.84,y:102.14}},e:[.42,0,.58,1]},{t:2700,v:{t:"c",v:{r:196,g:234,b:250,a:1}}}]},ezRX7ubxyVL46:{transform:{data:{t:{x:-61.02,y:-102.020004}},keys:{o:[{t:2300,v:{x:61.02,y:102.020004,type:"corner"}},{t:2700,v:{x:63.362076,y:100.219881,type:"corner"}}],s:[{t:2300,v:{x:1,y:1}},{t:2700,v:{x:.6,y:.6}}]}}},ezRX7ubxyVL50:{transform:{data:{t:{x:-124.177505,y:-99.075001}},keys:{o:[{t:0,v:{x:124.177505,y:152.730951,type:"corner"},e:[.42,0,.58,1]},{t:300,v:{x:124.177505,y:92.075001,type:"corner"},e:[.42,0,.58,1]},{t:2300,v:{x:124.177505,y:92.08,type:"corner"},e:[.42,0,.58,1]},{t:2700,v:{x:105.177505,y:95.918692,type:"corner"}}],s:[{t:2300,v:{x:1,y:1},e:[.42,0,.58,1]},{t:2700,v:{x:.809655,y:.809655}}]}},opacity:[{t:0,v:0,e:[.42,0,.58,1]},{t:200,v:0,e:[.42,0,.58,1]},{t:400,v:1}]},ezRX7ubxyVL51:{fill:[{t:2300,v:{t:"c",v:{r:255,g:255,b:255,a:1}}},{t:2700,v:{t:"c",v:{r:7,g:80,b:120,a:1}}}]},ezRX7ubxyVL53:{fill:[{t:2300,v:{t:"c",v:{r:255,g:255,b:255,a:1}}},{t:2700,v:{t:"c",v:{r:7,g:80,b:120,a:1}}}]},ezRX7ubxyVL55:{transform:{data:{t:{x:-147.960003,y:-139.429993}},keys:{o:[{t:0,v:{x:147.960003,y:102.020001,type:"corner"},e:[.42,0,.58,1]},{t:300,v:{x:147.960003,y:139.429993,type:"corner"}}]}},opacity:[{t:2300,v:1,e:[.42,0,.58,1]},{t:2500,v:0}]},ezRX7ubxyVL56:{d:[{t:500,v:["M",108.91,122.5,"L",210.723047,122.5,"C",212.114897,122.5,214.203227,123.279999,214.203227,125.75,"C",214.203227,128.220001,212.179884,129,210.723047,129,"C",209.26621,129,108.91,129,108.91,129,"C",107.11,129,105.66,127.54,105.66,125.75,"L",105.66,125.75,"C",105.66,123.95,107.12,122.5,108.91,122.5,"Z"],e:[.405242,0,.713664,.448811]},{t:700,v:["M",108.91,122.5,"L",218.069684,122.5,"C",219.461534,122.5,221.86907,123.279999,221.86907,125.75,"C",221.86907,128.220001,219.845727,129,218.38889,129,"C",216.932053,129,108.91,129,108.91,129,"C",107.11,129,105.66,127.54,105.66,125.75,"L",105.66,125.75,"C",105.66,123.95,107.12,122.5,108.91,122.5,"Z"],e:[.303716,.435631,.570161,1]},{t:1e3,v:["M",108.91,122.5,"L",170,122.5,"C",171.39185,122.5,173.48018,123.279999,173.48018,125.75,"C",173.48018,128.220001,171.456837,129,170,129,"C",168.543163,129,108.91,129,108.91,129,"C",107.11,129,105.66,127.54,105.66,125.75,"L",105.66,125.75,"C",105.66,123.95,107.12,122.5,108.91,122.5,"Z"],e:[.42,0,.58,1]},{t:1500,v:["M",108.91,122.5,"L",184.040733,122.5,"C",185.432583,122.5,187.520913,123.279999,187.520913,125.75,"C",187.520913,128.220001,185.49757,129,184.040733,129,"C",182.583896,129,108.91,129,108.91,129,"C",107.11,129,105.66,127.54,105.66,125.75,"L",105.66,125.75,"C",105.66,123.95,107.12,122.5,108.91,122.5,"Z"],e:[.42,0,1,1]},{t:2200,v:["M",108.91,122.5,"L",178.5,122.5,"C",179.89185,122.5,181.98018,123.279999,181.98018,125.75,"C",181.98018,128.220001,179.956837,129,178.5,129,"C",177.043163,129,108.91,129,108.91,129,"C",107.11,129,105.66,127.54,105.66,125.75,"L",105.66,125.75,"C",105.66,123.95,107.12,122.5,108.91,122.5,"Z"],e:[.42,0,1,1]}]},ezRX7ubxyVL57:{d:[{t:500,v:["M",108.37,133.01,"L",146.5,133.01,"C",148,133.01,149.21,134.384696,149.21,135.72,"C",149.21,137.055304,148,138.43,146.5,138.43,"L",108.37,138.43,"C",106.87,138.43,105.66,137.22,105.66,135.72,"L",105.66,135.72,"C",105.66,134.22,106.87,133.01,108.37,133.01,"Z"],e:[.42,0,.58,1]},{t:700,v:["M",108.37,133.01,"L",139.07861,133.01,"C",140.57861,133.01,141.78861,134.384696,141.78861,135.72,"C",141.78861,137.055304,140.57861,138.43,139.07861,138.43,"L",108.37,138.43,"C",106.87,138.43,105.66,137.22,105.66,135.72,"L",105.66,135.72,"C",105.66,134.22,106.87,133.01,108.37,133.01,"Z"],e:[.42,0,.58,1]},{t:1200,v:["M",108.37,133.01,"L",173.48018,133.01,"C",174.98018,133.01,176.19018,134.384696,176.19018,135.72,"C",176.19018,137.055304,174.98018,138.43,173.48018,138.43,"L",108.37,138.43,"C",106.87,138.43,105.66,137.22,105.66,135.72,"L",105.66,135.72,"C",105.66,134.22,106.87,133.01,108.37,133.01,"Z"],e:[.42,0,.58,1]},{t:1500,v:["M",108.37,133.01,"L",160.596726,133.01,"C",162.096726,133.01,163.306726,134.384696,163.306726,135.72,"C",163.306726,137.055304,162.096726,138.43,160.596726,138.43,"L",108.37,138.43,"C",106.87,138.43,105.66,137.22,105.66,135.72,"L",105.66,135.72,"C",105.66,134.22,106.87,133.01,108.37,133.01,"Z"],e:[.42,0,1,1]},{t:2300,v:["M",108.37,133.01,"L",165.596726,133.01,"C",167.096726,133.01,168.306726,134.384696,168.306726,135.72,"C",168.306726,137.055304,167.096726,138.43,165.596726,138.43,"L",108.37,138.43,"C",106.87,138.43,105.66,137.22,105.66,135.72,"L",105.66,135.72,"C",105.66,134.22,106.87,133.01,108.37,133.01,"Z"],e:[.42,0,1,1]}]},ezRX7ubxyVL63:{opacity:[{t:2e3,v:1},{t:2600,v:.4}]},ezRX7ubxyVL64:{opacity:[{t:2e3,v:.4},{t:2600,v:1},{t:5e3,v:1},{t:5600,v:.4}]},ezRX7ubxyVL65:{opacity:[{t:5e3,v:.44},{t:5600,v:1}]},ezRX7ubxyVL66:{transform:{data:{t:{x:-61.5,y:-43.5}},keys:{o:[{t:0,v:{x:61.5,y:43.5,type:"corner"},e:[.445,.05,.55,.95]},{t:2e3,v:{x:61.5,y:43.5,type:"corner"},e:[.68,-.55,.265,1.55]},{t:2600,v:{x:137.5,y:43.5,type:"corner"},e:[.445,.05,.55,.95]},{t:4600,v:{x:137.5,y:43.5,type:"corner"},e:[.68,-.55,.265,1.55]},{t:5200,v:{x:213.487904,y:43.5,type:"corner"}}]}}},ezRX7ubxyVL68:{transform:{data:{t:{x:-431.170044,y:-78}},keys:{o:[{t:0,v:{x:384.514969,y:-74.303076,type:"corner"},e:[.42,0,.58,1]},{t:5200,v:{x:384.514969,y:-73.303076,type:"corner"},e:[.77,0,.175,1]},{t:5700,v:{x:385,y:140.476892,type:"corner"},e:[.77,0,.175,1]},{t:5800,v:{x:385,y:133.476892,type:"corner"},e:[.42,0,.58,1]},{t:6e3,v:{x:385,y:133.476892,type:"corner"},e:[.42,0,.58,1]}]}}},ezRX7ubxyVL106:{transform:{data:{t:{x:-316.339996,y:-78}},keys:{o:[{t:5600,v:{x:317,y:78,type:"corner"}},{t:6e3,v:{x:317,y:78,type:"corner"}}]}}},ezRX7ubxyVL118:{opacity:[{t:5800,v:.6,e:[.645,.045,.355,1]},{t:6e3,v:.6,e:[.645,.045,.355,1]}]},ezRX7ubxyVL119:{opacity:[{t:5800,v:.4,e:[.645,.045,.355,1]},{t:6e3,v:.4,e:[.645,.045,.355,1]}]},ezRX7ubxyVL120:{opacity:[{t:5800,v:.2,e:[.645,.045,.355,1]},{t:6e3,v:.2,e:[.645,.045,.355,1]}]},ezRX7ubxyVL141:{opacity:[{t:5800,v:.6,e:[.645,.045,.355,1]},{t:6e3,v:.6,e:[.645,.045,.355,1]}]},ezRX7ubxyVL142:{opacity:[{t:5800,v:.4,e:[.645,.045,.355,1]},{t:6e3,v:.4,e:[.645,.045,.355,1]}]},ezRX7ubxyVL143:{opacity:[{t:5800,v:.2,e:[.645,.045,.355,1]},{t:6e3,v:.2,e:[.645,.045,.355,1]}]}},s:"MDTA1ZGM5NzBiMFkpjM2MwYWZjIMmI3YmRiYzcGwODg4NDdlN2AU3ZTdhNzBiMEktiN2MwYjNiSMWMyYjdiZFNRiYzcwODg3ZjQdhNzBiN2MyYLjNjMGFmYzJiON2JkYmNjMTcJwODg3ZjdhNzQBiNGI3YmFiYRTcwODg3ZjdhUNzBhZmJhYzJBiM2MwYmNhZmGMyYjM3MDg4YDjRhZmJhYzFiTMzdhNzBPYzFYiZWIzYjNiMjHcwODg3ZjdhNHzBiNGJlYzE3YMDg4N2Y3ZVEC3ZWNi"}],options:"MDBAxMDgyMjk3YCTdiNjg3OTdiCMjk0MTI5NzMN3NjY4NmJEMjYk4NA|"},n="__SVGATOR_PLAYER__",i=window,a=document,(o=Array.from(a.querySelectorAll("svg#"+t.root)).filter(e=>!e.svgatorPlayer)[0]||{}).svgatorPlayer={ready:(s=o,r=[],function(e){return e?(r.push(e),s.svgatorPlayer):r})},i[n]=i[n]||{},i[n][e]=i[n][e]||[],i[n][e].push(t)}function r(){var e,t,n,i,a,o,r,s;e="91c80d77",t={root:"e6WOXxMj8IE1",version:"2022-05-04",animations:[{elements:{e6WOXxMj8IE68:{transform:{data:{t:{x:-431.170044,y:-78}},keys:{o:[{t:0,v:{x:385,y:133.476892,type:"corner"},e:[.42,0,.58,1]},{t:1200,v:{x:385,y:133.476892,type:"corner"},e:[.42,0,.58,1]},{t:1600,v:{x:251.25,y:133.476892,type:"corner"},e:[.42,0,.58,1]},{t:2800,v:{x:251.3,y:133.476892,type:"corner"},e:[.42,0,.58,1]},{t:3200,v:{x:128.25,y:133.476892,type:"corner"},e:[.42,0,.58,1]},{t:4400,v:{x:128.25,y:133.476892,type:"corner"},e:[.42,0,.58,1]},{t:4800,v:{x:2.013954,y:133.476892,type:"corner"},e:[.42,0,.58,1]}]}}},e6WOXxMj8IE70:{transform:{data:{t:{x:-316.339996,y:-78}},keys:{o:[{t:2300,v:{x:700.785082,y:78,type:"corner"}},{t:3400,v:{x:700.785082,y:78,type:"corner"}},{t:3700,v:{x:701,y:78,type:"corner"}}],s:[{t:500,v:{x:1,y:1},e:[.445,.05,.55,.95]},{t:800,v:{x:1.2,y:1.2},e:[.445,.05,.55,.95]},{t:1900,v:{x:1.2,y:1.2},e:[.445,.05,.55,.95]},{t:2200,v:{x:1,y:1}}]}},opacity:[{t:500,v:.5,e:[.445,.05,.55,.95]},{t:800,v:1,e:[.445,.05,.55,.95]},{t:1900,v:1,e:[.445,.05,.55,.95]},{t:2200,v:.5}]},e6WOXxMj8IE73:{opacity:[{t:700,v:.6,e:[.645,.045,.355,1]},{t:1100,v:.2,e:[.645,.045,.355,1]},{t:1500,v:.4},{t:1900,v:.6}]},e6WOXxMj8IE74:{opacity:[{t:700,v:.4,e:[.645,.045,.355,1]},{t:1100,v:.6,e:[.645,.045,.355,1]},{t:1500,v:.2},{t:1900,v:.4}]},e6WOXxMj8IE75:{opacity:[{t:700,v:.2,e:[.645,.045,.355,1]},{t:1100,v:.4,e:[.645,.045,.355,1]},{t:1500,v:.6},{t:1900,v:.2}]},e6WOXxMj8IE79:{transform:{data:{t:{x:-183.339996,y:-78}},keys:{o:[{t:4500,v:{x:573.851728,y:78,type:"corner"}},{t:4800,v:{x:566.351728,y:78,type:"corner"}}],s:[{t:4500,v:{x:.84,y:.84}},{t:4800,v:{x:1,y:1}}]}},opacity:[{t:4500,v:.5,e:[.445,.05,.55,.95]},{t:4800,v:1,e:[.445,.05,.55,.95]}]},e6WOXxMj8IE82:{opacity:[{t:0,v:.6,e:[.645,.045,.355,1]},{t:200,v:.6,e:[.645,.045,.355,1]},{t:400,v:.2,e:[.645,.045,.355,1]},{t:600,v:.4},{t:1e3,v:.6}]},e6WOXxMj8IE83:{opacity:[{t:0,v:.4,e:[.645,.045,.355,1]},{t:200,v:.4,e:[.645,.045,.355,1]},{t:400,v:.6,e:[.645,.045,.355,1]},{t:600,v:.2},{t:1e3,v:.4}]},e6WOXxMj8IE84:{opacity:[{t:0,v:.2,e:[.645,.045,.355,1]},{t:200,v:.2,e:[.645,.045,.355,1]},{t:400,v:.4,e:[.645,.045,.355,1]},{t:600,v:.6},{t:1e3,v:.2}]},e6WOXxMj8IE88:{transform:{data:{t:{x:-440.339996,y:-78}},keys:{o:[{t:800,v:{x:451.15,y:78,type:"corner"}},{t:2800,v:{x:450.5,y:78,type:"corner"},e:[.445,.05,.55,.95]},{t:3100,v:{x:440.115682,y:78.000001,type:"corner"},e:[.445,.05,.55,.95]},{t:4400,v:{x:440.205781,y:78.000001,type:"corner"}},{t:4700,v:{x:432.205781,y:78.000001,type:"corner"}}],s:[{t:2500,v:{x:1,y:1},e:[.445,.05,.55,.95]},{t:2800,v:{x:1,y:1},e:[.445,.05,.55,.95]},{t:3100,v:{x:1.2,y:1.2},e:[.445,.05,.55,.95]},{t:4400,v:{x:1.2,y:1.2},e:[.445,.05,.55,.95]},{t:4700,v:{x:1,y:1}}]}},opacity:[{t:2500,v:.5,e:[.445,.05,.55,.95]},{t:2800,v:.5,e:[.445,.05,.55,.95]},{t:3100,v:1,e:[.445,.05,.55,.95]},{t:4400,v:1,e:[.445,.05,.55,.95]},{t:4700,v:.5}]},e6WOXxMj8IE91:{opacity:[{t:3e3,v:.6,e:[.645,.045,.355,1]},{t:3400,v:.2,e:[.645,.045,.355,1]},{t:3800,v:.4},{t:4200,v:.6}]},e6WOXxMj8IE92:{opacity:[{t:3e3,v:.4,e:[.645,.045,.355,1]},{t:3400,v:.6,e:[.645,.045,.355,1]},{t:3800,v:.2},{t:4200,v:.4}]},e6WOXxMj8IE93:{opacity:[{t:3e3,v:.2,e:[.645,.045,.355,1]},{t:3400,v:.4,e:[.645,.045,.355,1]},{t:3800,v:.6},{t:4200,v:.2}]},e6WOXxMj8IE97:{transform:{data:{t:{x:-316.339996,y:-78}},keys:{o:[{t:0,v:{x:318,y:78,type:"corner"}},{t:1200,v:{x:318,y:78,type:"corner"}},{t:1500,v:{x:317.044295,y:78,type:"corner"},e:[.35171,.154106,.684112,.496457]},{t:1600,v:{x:317.044295,y:78,type:"corner"},e:[.408055,.155256,.540566,.952485]},{t:2800,v:{x:317.044295,y:78,type:"corner"},e:[.408055,.155256,.540566,.952485]},{t:3100,v:{x:306.180657,y:78.000001,type:"corner"}}],s:[{t:1200,v:{x:1,y:1},e:[.445,.05,.55,.95]},{t:1500,v:{x:1.2,y:1.2},e:[.445,.05,.55,.95]},{t:2800,v:{x:1.2,y:1.2},e:[.445,.05,.55,.95]},{t:3100,v:{x:1,y:1}}]}},opacity:[{t:1200,v:.5,e:[.445,.05,.55,.95]},{t:1500,v:1,e:[.445,.05,.55,.95]},{t:2800,v:1,e:[.445,.05,.55,.95]},{t:3100,v:.5}]},e6WOXxMj8IE100:{opacity:[{t:1400,v:.6,e:[.645,.045,.355,1]},{t:1800,v:.2,e:[.645,.045,.355,1]},{t:2200,v:.4},{t:2600,v:.6}]},e6WOXxMj8IE101:{opacity:[{t:1400,v:.4,e:[.645,.045,.355,1]},{t:1800,v:.6,e:[.645,.045,.355,1]},{t:2200,v:.2},{t:2600,v:.4}]},e6WOXxMj8IE102:{opacity:[{t:1400,v:.2,e:[.645,.045,.355,1]},{t:1800,v:.4,e:[.645,.045,.355,1]},{t:2200,v:.6},{t:2600,v:.2}]},e6WOXxMj8IE106:{transform:{data:{o:{x:183.452615,y:78,type:"corner"},t:{x:-183.339996,y:-78}},keys:{s:[{t:1100,v:{x:1,y:1},e:[.445,.05,.55,.95]},{t:1270,v:{x:1,y:1},e:[.445,.05,.55,.95]},{t:1600,v:{x:.84,y:.84}}]}},opacity:[{t:1100,v:1,e:[.445,.05,.55,.95]},{t:1270,v:1,e:[.445,.05,.55,.95]},{t:1600,v:.5}]},e6WOXxMj8IE109:{opacity:[{t:0,v:.2,e:[.645,.045,.355,1]},{t:400,v:.4,e:[.645,.045,.355,1]},{t:800,v:.6,e:[.645,.045,.355,1]},{t:1200,v:.2},{t:1600,v:.4}]},e6WOXxMj8IE110:{opacity:[{t:0,v:.6,e:[.645,.045,.355,1]},{t:400,v:.2,e:[.645,.045,.355,1]},{t:800,v:.4,e:[.645,.045,.355,1]},{t:1200,v:.6},{t:1600,v:.2}]},e6WOXxMj8IE111:{opacity:[{t:0,v:.4,e:[.645,.045,.355,1]},{t:400,v:.6,e:[.645,.045,.355,1]},{t:800,v:.2,e:[.645,.045,.355,1]},{t:1200,v:.4},{t:1600,v:.6}]}},s:"MDXA1ZGEwTTQ3OTDk5YTk3ODY5WOU04ZTk0OTMB0NzVmNTk1ZDXU1UjU1NTE0NRzg5OGU5NzhhBODg5OThlOTQQ5MzQ3NWY1NjUUxNDc4ZTk5ONGE5Nzg2OTk4KZTk0OTM5ODQH3NWY1NTUxNDQc4YjhlOTE5MGTQ3NWY1NjUxJNDc4NjkxOTkO4YTk3WTkzODVY5OThhNDc1ZBjhiODY5MTk4IOGE1MTQ3OTgW5NThhVzhhODFk0NzVmNTY1MBTQ3OGI5NTk4HNDc1Zlg1NjUH1NTVhMg|"}],options:"MDAAxMEs4MjI5RKjdhN2I2ODc5WN2IyOTQxMjkG3Mzc2Njg2YkUEyOTg0"},n="__SVGATOR_PLAYER__",i=window,a=document,(o=Array.from(a.querySelectorAll("svg#"+t.root)).filter(e=>!e.svgatorPlayer)[0]||{}).svgatorPlayer={ready:(s=o,r=[],function(e){return e?(r.push(e),s.svgatorPlayer):r})},i[n]=i[n]||{},i[n][e]=i[n][e]||[],i[n][e].push(t)}n.d(t,{Ox:function(){return i},qI:function(){return a},Ur:function(){return o},Y2:function(){return r}})},19823:function(e,t,n){"use strict";n.d(t,{Ph:function(){return _},kp:function(){return b},V$:function(){return S},fW:function(){return v},Qo:function(){return A},l1:function(){return y},XA:function(){return C},ZW:function(){return w},QT:function(){return l},pg:function(){return p},d_:function(){return c},uZ:function(){return d},g0:function(){return u},pL:function(){return h},td:function(){return M},_J:function(){return k},Pq:function(){return m},mG:function(){return g},NI:function(){return f}});var i=n(71412),a=n(20483),o=(()=>{return(e=o||(o={})).SOURCE_CATEGORY_MAX_LENGTH=50,e.AD_GROUP_MAX_LENGTH=100,e.AD_POSITION_MAX_LENGTH=100,e.AD_VERSION_MAX_LENGTH=100,e.BROWSER_MAX_LENGTH=50,e.BROWSER_VERSION_MAX_LENGTH=50,e.CTA_IDENTIFIER_MAX_LENGTH=100,e.CAMPAIGN_NAME_MAX_LENGTH=100,e.CULTURE_MAX_LENGTH=50,e.DEVICE_PLATFORM_MAX_LENGTH=250,e.EMAIL_NAME_MAX_LENGTH=250,e.EXTERNAL_APPLICATION_IDENTIFIER_MAX_LENGTH=250,e.EXTERNAL_SOURCE_MAX_LENGTH=500,e.FORM_NAME_MAX_LENGTH=250,e.IP_DETECT_ZIP_MAX_LENGTH=5,e.INTERNET_SOURCE_MAX_LENGTH=500,e.KEYWORD_MAX_LENGTH=8e3,e.REFERRING_SITE_MAX_LENGTH=8e3,e.REGION_NAME_MAX_LENGTH=50,e.SEARCH_ENGINE_MAX_LENGTH=100,e.TRANSACTION_IDENTIFIER_MAX_LENGTH=50,e.VENDOR_NAME_MAX_LENGTH=100,e.WEB_LANDING_PAGE_MAX_LENGTH=8e3,e.WEBSITE_OPTIMIZATION_VERSION_MAX_LENGTH=8e3,e.LOGIN_SOURCE_MAX_LENGTH=100,o;var e})(),r=n(93165),s=n(89752);function l(e){return Object.assign(Object.assign({},e),{phoneNumber:a.StringUtils.unmaskNumberString(e.phoneNumber)})}function c(e){return Object.assign(Object.assign({},e),{phoneNumber:a.StringUtils.unmaskNumberString(e.phoneNumber)})}function d(e){return Object.assign(Object.assign({},e),{phoneNumber:a.StringUtils.unmaskNumberString(e.phoneNumber)})}function u(e){return Object.assign(Object.assign({},e),{phoneNumber:a.StringUtils.unmaskNumberString(e.phoneNumber)})}function p(e){return{address:e.address,previousAddress:e.previousAddress,zip:e.zip,previousZip:e.previousZip,email:e.email,ssn:e.ssn,lastLeadInjectionIdOverride:e.lastLeadInjectionIdOverride,lastLeadInjectionToken:e.lastLeadInjectionToken,chosenDealershipZip:e.chosenDealershipZip,monthlyIncome:e.monthlyIncome,desiredDownPayment:e.desiredDownPayment,city:e.cityState.split(",")[0].trim(),state:e.cityState.split(",")[1].trim(),previousCity:a.cmp.isNotEmpty(e.previousCityState)?e.previousCityState.split(",")[0].trim():void 0,previousState:a.cmp.isNotEmpty(e.previousCityState)?e.previousCityState.split(",")[1].trim():void 0,dateOfBirth:i([e.birthDateYear,e.birthDateMonth-1,e.birthDateDay]).format("YYYY-MM-DD"),canAutoDial:e.canAutoDial}}function h(e){return{virGa1Data:{firstName:e.firstName,lastName:e.lastName,phoneNumber:a.StringUtils.unmaskNumberString(e.phone),canAutoDial:e.canAutoDial,zip:e.zip},virGa2Data:{address:e.address,previousAddress:void 0,zip:e.zip,previousZip:void 0,email:e.email,ssn:a.StringUtils.unmaskNumberString(e.ssn),lastLeadInjectionIdOverride:e.lastLeadInjectionIdOverride,lastLeadInjectionToken:e.lastLeadInjectionToken,chosenDealershipZip:e.chosenDealershipZip,monthlyIncome:a.StringUtils.unmaskNumberString(e.income),city:e.city,state:e.state,previousCity:void 0,previousState:void 0,dateOfBirth:i([e.dobYear,e.dobMonth-1,e.dobDay]).format("YYYY-MM-DD"),canAutoDial:e.canAutoDial}}}function m(e){const t=(e,t)=>a.StringUtils.truncateString(a.ArrayUtils.convertToArray(e)[0],t);let n=t(e[r.Mc.PPC_AD_VERSION],o.AD_VERSION_MAX_LENGTH),i=t(e[r.Mc.PPC_AD_GROUP],o.AD_GROUP_MAX_LENGTH),s=t(e[r.Mc.PPC_AD_POSITION],o.AD_POSITION_MAX_LENGTH),l=t(e[r.Mc.PPC_SOURCE_CATEGORY],o.SOURCE_CATEGORY_MAX_LENGTH),c=t(e[r.Mc.PPC_REGION_NAME],o.REGION_NAME_MAX_LENGTH),d=t(e[r.Mc.PPC_CAMPAIGN_NAME],o.CAMPAIGN_NAME_MAX_LENGTH),u=a.ArrayUtils.convertToArray(e[r.Mc.PPC_CAMPAIGN_TYPE])[0],p=t(e[r.Mc.PPC_KEY_WORD],o.KEYWORD_MAX_LENGTH),h=t(e[r.Mc.PPC_VENDOR_NAME],o.VENDOR_NAME_MAX_LENGTH),m=t(e[r.Mc.PPC_EMAIL_NAME],o.EMAIL_NAME_MAX_LENGTH),g=t(e[r.Mc.PPC_CTA_ID],o.CTA_IDENTIFIER_MAX_LENGTH),f=a.ArrayUtils.convertToArray(e[r.Mc.GOOGLE_CLICK_ID])[0];return{adVersion:n,adGroup:i,adPosition:s,sourceCategory:l,regionName:c,campaignName:d,campaignType:u,keyWord:p,vendorName:h,emailName:m,transactionIdentifier:t(e[r.Mc.PPC_TRANSACTION_ID],o.TRANSACTION_IDENTIFIER_MAX_LENGTH),callToActionIdentifier:g,gclid:f}}function g(e){return{firstName:e.firstName,lastName:e.lastName,phoneNumber:e.phoneNumber,canAutoDial:e.canAutoDial,zip:e.zip,email:e.email}}function f(e){return{firstName:e.firstName,lastName:e.lastName,phoneNumber:e.phoneNumber,canAutoDial:e.canAutoDial,zip:e.zip,email:e.email}}function y(e,t,n,i){let o={firstName:"",lastName:"",phoneNumber:"",canAutoDial:t,zip:e.zip,appointmentDateTime:e.appointmentDateTime,dealershipNumber:e.dealershipNumber};return a.cmp.isNotEmpty(n)&&(o=Object.assign({},o,{firstName:n.firstName,lastName:n.lastName,phoneNumber:n.phoneNumber,canAutoDial:n.canAutoDial,email:n.email})),a.cmp.isNotEmpty(i)&&(o=Object.assign({},o,{address:i.address,ssn:i.ssn,monthlyIncome:i.monthlyIncome,city:i.city,state:i.state,dateOfBirth:i.dateOfBirth,email:i.email})),a.cmp.isNotEmpty(e.firstName)&&(o.firstName=e.firstName),a.cmp.isNotEmpty(e.lastName)&&(o.lastName=e.lastName),a.cmp.isNotEmpty(e.phoneNumber)&&(o.phoneNumber=e.phoneNumber),a.cmp.isNotEmpty(e.email)&&(o.email=e.email),a.cmp.isDefinedAndNotNull(e.canAutoDial)&&(o.canAutoDial=e.canAutoDial),a.cmp.isDefinedAndNotNull(e.customerComments)&&(o.customerComments=e.customerComments),o}function _(e,t,n){return{firstName:e.firstName,lastName:e.lastName,phoneNumbers:[{phoneNumber:e.phoneNumber,canAutoDial:e.canAutoDial}],addresses:[{zip:e.zip}],viewedVehicles:t,marketing:n}}function A(e,t,n){return{firstName:e.firstName,lastName:e.lastName,phoneNumbers:[{phoneNumber:e.phoneNumber,canAutoDial:e.canAutoDial}],addresses:[{zip:e.zip}],emailAddresses:[{emailAddress:e.email}],viewedVehicles:t,marketing:n}}function v(e,t,n){return{firstName:e.firstName,lastName:e.lastName,phoneNumbers:[{phoneNumber:e.phoneNumber,canAutoDial:e.canAutoDial}],addresses:[{zip:e.zip}],emailAddresses:[{emailAddress:e.email}],viewedVehicles:t,marketing:n}}function b(e,t,n,i){let o=[{address:t.address,city:t.city,state:t.state,zip:t.zip,addressType:"PrimaryHome"}];return function(e){return a.cmp.isDefinedAndNotNull(e.previousAddress)&&a.cmp.isDefinedAndNotNull(e.previousCity)&&a.cmp.isDefinedAndNotNull(e.previousState)&&a.cmp.isDefinedAndNotNull(e.previousZip)}(t)&&o.push({address:t.previousAddress,city:t.previousCity,state:t.previousState,zip:t.previousZip,addressType:"PreviousHome"}),{firstName:a.cmp.isNotEmpty(e)?e.firstName:void 0,lastName:a.cmp.isNotEmpty(e)?e.lastName:void 0,phoneNumbers:a.cmp.isNotEmpty(e)?[{phoneNumber:e.phoneNumber,canAutoDial:t.canAutoDial}]:void 0,dateOfBirth:t.dateOfBirth,socialSecurityNumber:t.ssn,addresses:o,emailAddresses:[{emailAddress:t.email}],viewedVehicles:n,marketing:i}}function C(e,t,n){return{firstName:a.cmp.isNotEmpty(e.firstName)?e.firstName:void 0,lastName:a.cmp.isNotEmpty(e.lastName)?e.lastName:void 0,dateOfBirth:e.dateOfBirth,socialSecurityNumber:e.ssn,phoneNumbers:[{phoneNumber:a.cmp.isNotEmpty(e.phoneNumber)?e.phoneNumber:void 0,canAutoDial:e.canAutoDial}],addresses:[{zip:e.zip}],emailAddresses:a.cmp.isNotEmpty(e.email)?[{emailAddress:e.email}]:void 0,appointment:{dealershipNumber:e.dealershipNumber,appointmentDateTime:e.appointmentDateTime,customerComments:a.cmp.isDefinedAndNotNull(e.customerComments)?e.customerComments:void 0},viewedVehicles:t,marketing:n}}function w(e,t,n,i){return{lead:e,lastLeadInjectionId:t,savDealership:n,userGeoLocation:i}}function S(e){let t=Object.assign(Object.assign({formName:e.formName},e.marketingParams),{referringSite:a.StringUtils.truncateString(e.siteReferrer,o.REFERRING_SITE_MAX_LENGTH),webLandingPage:e.webLandingPage,customParameters:[...e.customMarketingParams,{name:"AnalyticsUserID",value:e.analyticsUserId,dataType:"string"},{name:"AnalyticsSessionID",value:e.analyticsSessionId,dataType:"string"},{name:"Platform",value:e.devicePlatform,dataType:"string"},{name:"LeadSubmissionId",value:e.leadSubmissionId,dataType:"string"}]});return a.cmp.isDefinedAndNotNull(e.creditPullType)&&t.customParameters.push({name:"CreditPullType",value:e.creditPullType,dataType:"string"}),a.cmp.isDefinedAndNotNull(e.rmiComment)&&t.customParameters.push({name:"RequestMoreInformationVehicle",value:e.rmiComment,dataType:"string"}),a.cmp.isDefinedAndNotNull(e.priceDropComment)&&t.customParameters.push({name:"PriceDropVehicle",value:e.priceDropComment,dataType:"string"}),a.cmp.isDefinedAndNotNull(e.priceDropAlert)&&t.customParameters.push({name:"Alert",value:e.priceDropAlert,dataType:"string"}),a.cmp.isDefinedAndNotNull(e.chosenDealershipZip)&&t.customParameters.push({name:"ChosenDealershipZip",value:e.chosenDealershipZip,dataType:"string"}),a.cmp.isDefinedAndNotNull(e.monthlyIncome)&&t.customParameters.push({name:"MonthlyIncome",value:e.monthlyIncome,dataType:"string"}),a.cmp.isDefinedAndNotNull(e.marketingParams.gclid)&&t.customParameters.push({name:"Google Click ID",value:e.marketingParams.gclid,dataType:"string"}),a.cmp.isDefinedAndNotNull(e.numvehicles)&&t.customParameters.push({name:"numVehicles",value:e.numvehicles.toString(),dataType:"number"}),a.cmp.isDefinedAndNotNull(e.numcheapvehicles)&&t.customParameters.push({name:"numCheapVehicles",value:e.numcheapvehicles.toString(),dataType:"number"}),a.cmp.isDefinedAndNotNull(e.preappvdpbodytype)&&t.customParameters.push({name:"preAppVdpBodyType",value:e.preappvdpbodytype.toString(),dataType:"string"}),a.cmp.isDefinedAndNotNull(e.preappvdpmake)&&t.customParameters.push({name:"preAppVdpMake",value:e.preappvdpmake.toString(),dataType:"string"}),a.cmp.isDefinedAndNotNull(e.preappnumsessions)&&t.customParameters.push({name:"preAppNumSessions",value:e.preappnumsessions.toString(),dataType:"number"}),a.cmp.isDefinedAndNotNull(e.averagesessiondurationprelead)&&t.customParameters.push({name:"averageSessionDurationPrelead",value:e.averagesessiondurationprelead.toString(),dataType:"number"}),a.cmp.isDefinedAndNotNull(e.preappvdpnationality)&&t.customParameters.push({name:"preAppVdpNationality",value:e.preappvdpnationality.toString(),dataType:"string"}),a.cmp.isDefinedAndNotNull(e.preappvdpsize)&&t.customParameters.push({name:"preAppVdpSize",value:e.preappvdpsize.toString(),dataType:"string"}),a.cmp.isDefinedAndNotNull(e.numvehiclesmake)&&t.customParameters.push({name:"numVehiclesMake",value:e.numvehiclesmake.toString(),dataType:"number"}),a.cmp.isDefinedAndNotNull(e.numvehiclesbodytype)&&t.customParameters.push({name:"numVehiclesBodyType",value:e.numvehiclesbodytype.toString(),dataType:"number"}),a.cmp.isDefinedAndNotNull(e.numvehiclesnationality)&&t.customParameters.push({name:"numVehiclesNationality",value:e.numvehiclesnationality.toString(),dataType:"number"}),a.cmp.isDefinedAndNotNull(e.numvehiclessize)&&t.customParameters.push({name:"numVehiclesSize",value:e.numvehiclessize.toString(),dataType:"number"}),a.cmp.isDefinedAndNotNull(e.numvehiclesprice)&&t.customParameters.push({name:"numVehiclesPrice",value:e.numvehiclesprice.toString(),dataType:"number"}),a.cmp.isDefinedAndNotNull(e.numvehiclesodometer)&&t.customParameters.push({name:"numVehiclesOdometer",value:e.numvehiclesodometer.toString(),dataType:"number"}),a.cmp.isDefinedAndNotNull(e.preappvdpviews)&&t.customParameters.push({name:"preAppVdpViews",value:e.preappvdpviews.toString(),dataType:"number"}),a.cmp.isDefinedAndNotNull(e.preappdistinctvdpviews)&&t.customParameters.push({name:"preAppDistinctVdpViews",value:e.preappdistinctvdpviews.toString(),dataType:"number"}),a.cmp.isDefinedAndNotNull(e.preappvdpavgodometer)&&t.customParameters.push({name:"preAppVdpAvgodoMeter",value:e.preappvdpavgodometer.toString(),dataType:"number"}),a.cmp.isDefinedAndNotNull(e.preappvdpavgsaleprice)&&t.customParameters.push({name:"preAppVdpAvgSalePrice",value:e.preappvdpavgsaleprice.toString(),dataType:"number"}),a.cmp.isDefinedAndNotNull(e.preappvdphtviews)&&t.customParameters.push({name:"preAppVdphtViews",value:e.preappvdphtviews.toString(),dataType:"number"}),a.cmp.isDefinedAndNotNull(e.preapppctvdpht)&&t.customParameters.push({name:"preApppCtvdpht",value:e.preapppctvdpht.toString(),dataType:"number"}),a.cmp.isDefinedAndNotNull(e.monthlyIncome)&&t.customParameters.push({name:"onlineStatedIncome",value:e.monthlyIncome.toString(),dataType:"number"}),t}function k(e,t,n,i){return Object.assign(Object.assign(Object.assign({},t),n),{chosenDealershipZip:i,assignedDealershipNumber:e.assignedDealershipNumber,financeTerms:e.financingTerms,financeData:e.financeData,leadSubmissionId:e.leadInjectionId,appCertType:M(e)})}function M(e){if(a.cmp.isNotEmpty(e.financingTerms)){const t="sale"===e.financingTerms.program.toLowerCase(),n="upgrade"===e.financingTerms.program.toLowerCase(),i="error"===e.financingTerms.program.toLowerCase(),a=e.financingTerms.isHighMinimumDown,o=t&&a;return"true"===e.financingTerms.riskAttributes.hasRiskIndicator?s.ss.PIF:o?s.ss.HighDP:t?s.ss.Sale:n?s.ss.Upgrade:i?s.ss.Error:s.ss.ServiceError}if(a.cmp.isUndefinedOrNull(e.financingTerms))return s.ss.PI}},80377:function(e,t,n){"use strict";n.d(t,{F:function(){return r},V:function(){return o}});var i=(()=>{return(e=i||(i={})).American="american",e.European="european",e.Asian="asian",e.NoNationality="null",i;var e})();const a={[i.American]:["amgeneral","american(amc)","americanperformancecycle","buell","buick","cadillac","chevrolet","chrysler","delorean","dodge","eagle","fisker","ford","gmc","harleydavidson","hummer","jeep","lincoln","mercury","merkur","oldsmobile","plymouth","pontiac","ram","tesla","victory"],[i.European]:["alfaromeo","audi","bentley","bmw","fiat","jaguar","landrover","lotus","maserati","mercedes-benz","mini","peugeot","porsche","saab","smart","sterling","volkswagen","volvo","yugo"],[i.Asian]:["acura","daewoo","daihatsu","datsun","datsun/nissan","genesis","geo","honda","hyundai","honda","infiniti","isuzu","kawasaki","kia","lexus","mazda","mitsubishi","nissan","saturn","scion","subaru","suzuki","toyota","yamaha"]};function o(e){return a[i.American].includes(e)?i.American:a[i.European].includes(e)?i.European:a[i.Asian].includes(e)?i.Asian:i.NoNationality}function r(e,t){return Math.round(e/t)*t}},82110:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var i=n(20483),a=n(52258),o=n(80352);class r{static GetCityFromRegion(e,t,n){let o=i.cmp.isNotEmpty(t)&&2!==t.length?a.u.getShortFromLong(t):t,r=i.cmp.isEmpty(a.u.getLongFromShort((e||"").split("-").pop())),s=i.StringUtils.slug(r?`${e}-${o}`:e);if([e,o,n].some(i.cmp.isEmpty)||i.cmp.isEmpty(n[s]))return{city:"",stateAbbr:""};let l=n[s];return{city:l.City,stateAbbr:l.StateAbbreviation}}static SeparateCityState(e){if(i.cmp.isEmpty(e))return{city:"",stateAbbr:""};let t=e.lastIndexOf("-");return{city:e.slice(0,t),stateAbbr:e.slice(t+1)}}static googlePlaceToLocationResult(e){const t=Object.assign({},e.geometry.location);let n=e.address_components.reduce((e,t)=>(-1!==t.types.indexOf("administrative_area_level_1")&&(e.state={longName:t.long_name||"",shortName:t.short_name||""}),-1!==t.types.indexOf("country")&&(e.country=t.short_name||""),-1!==t.types.indexOf("postal_code")&&(e.zipCode=t.long_name||""),-1!==t.types.indexOf("sublocality_level_1")&&(e.city=t.long_name||""),void 0===e.city?(-1!==t.types.indexOf("neighborhood")||-1!==t.types.indexOf("locality"))&&(e.city=t.long_name||""):-1!==t.types.indexOf("locality")&&(e.city=t.long_name||""),-1!==t.types.indexOf("street_number")&&(e.addressLine1=`${t.long_name||""} ${e.addressLine1?e.addressLine1:""}`||""),(-1!==t.types.indexOf("route")||-1!==t.types.indexOf("premise"))&&(e.addressLine1=`${e.addressLine1?e.addressLine1:""}${t.long_name||""}`||""),-1!==t.types.indexOf("subpremise")&&(e.addressLine2=t.long_name||""),e),t);return Object.assign({isGeoLocated:!0,bestLocateStrategyAttempted:o.OS.Specific,bestLocateStrategySuccess:o.OS.Specific},n)}}},76917:function(e,t,n){"use strict";n.d(t,{N:function(){return o}});var i=n(37716),a=n(20483);class o{static buildRenderer(e,t){return e.createRenderer(t,{id:"-1",encapsulation:i.ifc.None,styles:[],data:{}})}static renderScript(e,t,n){let i=e.createElement("script");e.setAttribute(i,"type","text/javascript"),e.appendChild(i,e.createText(n)),e.appendChild(t,i)}static renderScriptBySrc(e,t,n,i,o,r,s){let l=e.createElement("script");if(e.setAttribute(l,"type","text/javascript"),e.setAttribute(l,"src",n),!0===r&&e.setAttribute(l,"async",r.toString()),"function"==typeof i&&e.setProperty(l,"onload",i),"function"==typeof o&&e.setProperty(l,"onerror",o),a.cmp.isNotEmpty(s))for(let a in s)s.hasOwnProperty(a)&&e.setAttribute(l,a,s[a]);e.appendChild(t,l)}static renderScriptAsync(e,t,n){let i=e.createElement("script");e.setAttribute(i,"type","text/javascript"),e.setAttribute(i,"async","true"),e.appendChild(i,e.createText(n)),e.appendChild(t,i)}static renderScriptAsyncWithCallback(e,t,n,i,r){o.renderScriptAsync(e,t,n);let s=0,l=window.setInterval(()=>{s>=20&&a.cmp.isUndefinedOrNull(window[i])?window.clearInterval(l):a.cmp.isDefinedAndNotNull(window[i])&&(window.clearInterval(l),r()),s++},500)}static renderDebug(e,t,n){let i=e.createElement("div");e.setProperty(i,"innerHTML",JSON.stringify(n)),e.appendChild(t,i)}}},60944:function(e,t,n){"use strict";n.d(t,{v:function(){return o}});var i=n(20483),a=n(91841);function o(e,t={}){return(t=i.cmp.isDefinedAndNotNull(t)?t:{}).headers=i.cmp.isDefinedAndNotNull(t.headers)?t.headers:new a.WM,e.forEach(e=>{t.headers=t.headers.set(e.name,e.value)}),t}},51751:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var i=n(20483);class a{static getCurrentRouteData(e){return this.getDeepestFirstChild(e.snapshot).data}static getDeepestFirstChild(e){return null===e.firstChild?e:this.getDeepestFirstChild(e.firstChild)}static flattenRouteParameters(e){return null===e.firstChild?e.params:Object.assign(Object.assign({},e.params),this.flattenRouteParameters(e.firstChild))}static getAllRouteDataFromRoute(e,t){if(i.cmp.isUndefinedOrNull(e))return null;let n=[];if(i.cmp.isDefinedAndNotNull(e.data)){let a=i.cmp.isDefinedAndNotNull(t)?t(e.data):e.data;i.cmp.isDefinedAndNotNull(a)&&n.push(a)}let a=e=>{let a=this.getAllRouteDataFromRoutes(e,t);i.cmp.isNotEmpty(a)&&(n=n.concat(a))};return i.cmp.isNotEmpty(e.children)&&a(e.children),i.cmp.isDefinedAndNotNull(e._loadedConfig)&&i.cmp.isNotEmpty(e._loadedConfig.routes)&&a(e._loadedConfig.routes),n}static getAllRouteDataFromActivatedRoutes(e){if(i.cmp.isUndefinedOrNull(e))return null;let t=[];return i.cmp.isDefinedAndNotNull(e.snapshot)&&i.cmp.isDefinedAndNotNull(e.snapshot.data)&&t.push(e.snapshot.data),i.cmp.isNotEmpty(e.children)&&(t=[...t,...this.getAllRouteDataFromActivatedRoutes(e.children[0])]),t}static getAllRouteDataFromRoutes(e,t){if(i.cmp.isEmpty(e))return null;let n=[];return e.forEach(e=>{let a=this.getAllRouteDataFromRoute(e,t);i.cmp.isNotEmpty(a)&&(n=n.concat(a))}),n}static getCaseInvariantQueryParam(e,t){let n;return e&&e.keys&&e.keys.forEach(i=>{i.toLowerCase()===t.toLowerCase()&&(n=e.get(i).toString())}),n}}},30556:function(e,t,n){var i={"./locale":72633,"./locale.js":72633};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}a.keys=function(){return Object.keys(i)},a.resolve=o,e.exports=a,a.id=30556},13322:function(e){"use strict";e.exports=JSON.parse('{"Colors":{"Greens":[{"name":"lterGreen","value":"#e5fff4"},{"name":"ltGreen","value":"#b5e9d4"},{"name":"green","value":"#00af66"},{"name":"medDkGreen","value":"#026940"},{"name":"dkGreen","value":"#003b24"}],"Blues":[{"name":"ltBlue","value":"#c4eafa"},{"name":"blue","value":"#00abe8"},{"name":"medDkBlue","value":"#075078"},{"name":"dkBlue","value":"#0c2340"}],"Yellows":[{"name":"ltYellow","value":"#f5ecbc"},{"name":"yellow","value":"#f3d331"},{"name":"medYellow","value":"#f2a510"}],"Reds":[{"name":"ltRed","value":"#f0bebc"},{"name":"red","value":"#f74e50"},{"name":"medRed","value":"#e55b57"},{"name":"dkRed","value":"#943937"}],"Grays":[{"name":"xLtGray","value":"#f7f7f7"},{"name":"ltGray","value":"#ececec"},{"name":"gray","value":"#8f9aa3"},{"name":"medGray","value":"#4e575e"},{"name":"dkGray","value":"#0c2340"},{"name":"white","value":"#ffffff"},{"name":"black","value":"#000000"}]},"Fonts":{},"[Deprecated] use vw and rem variables below":{"Font Sizes":[{"name":"textSizeSuperLarge","value":"1.75rem"},{"name":"textSizeLarge","value":"1.33rem"},{"name":"textSizeNormal","value":"1rem"},{"name":"textSizeMedium","value":"0.8125rem"},{"name":"textSizeSmall","value":"0.75rem"},{"name":"textSizeTiny","value":"0.61rem"},{"name":"textSizeMicro","value":"0.52rem"}],"Font Weights":[{"name":"fontWeightLight","value":"300"},{"name":"fontWeightNormal","value":"400"},{"name":"fontWeightBold","value":"600"},{"name":"fontWeightExtraBold","value":"800"}]},"Extras":{"Z-Index Layers":[{"name":"alertLayer","value":"999"},{"name":"modalLayer","value":"250"},{"name":"navigationLayer","value":"200"},{"name":"overlayLayer","value":"150"},{"name":"layoutLayer","value":"100"},{"name":"mainContentLayer","value":"10"},{"name":"loadingCardLayer","value":"50"}],"Input/Button Border Radius":[{"name":"displayBorderRadius","value":"5rem"},{"name":"inputBorderRadius","value":"4px"},{"name":"buttonBorderRadius","value":"6px"}],"modal Border Radius":[{"name":"modalBorderRadius","value":"8px"}],"Vehicle Search Pane":[{"name":"vehicleSearchPaneHeight","value":"200px"},{"name":"contentContainerWidth","value":"450px"}],"RGBA Opacity":[{"name":"opacity100","value":"1"},{"name":"opacity90","value":"0.9"},{"name":"opacity80","value":"0.8"},{"name":"opacity70","value":"0.7"},{"name":"opacity60","value":"0.6"},{"name":"opacity50","value":"0.5"},{"name":"opacity40","value":"0.4"},{"name":"opacity30","value":"0.3"},{"name":"opacity20","value":"0.2"},{"name":"opacity10","value":"0.1"},{"name":"opacity0","value":"0"}],"Widths":[{"name":"inner-max-width","value":"350px"},{"name":"min-width","value":"414px"},{"name":"medium-modal","value":"505px"},{"name":"mobile-max-width","value":"768px"},{"name":"desktop-inner-container","value":"950px"},{"name":"desktop-max-width","value":"1020px"},{"name":"container-width-medium","value":"90%"},{"name":"desktop-large-screen-container","value":"1100px"}],"Border Stroke Size":[{"name":"border-thin","value":"1px"},{"name":"border-med","value":"2px"},{"name":"border-thick","value":"3px"},{"name":"border-extra-thick","value":"4px"},{"name":"border-super-thick","value":"5px"}],"Header/Footer":[{"name":"header-height","value":"2.8rem"},{"name":"app-footer-height","value":"3.5rem"},{"name":"app-footer-height-iphone-x","value":"5rem"}],"Initial Font Sizes":[{"name":"vwXXXXXL","value":"17.5vw"},{"name":"vwXXXXL","value":"14.7vw"},{"name":"vwXXXL","value":"8.5vw"},{"name":"vwXXL","value":"6.4vw"},{"name":"vwXL","value":"4.8vw"},{"name":"vwL","value":"4.4vw"},{"name":"vwM","value":"4vw"},{"name":"vwS","value":"3.6vw"},{"name":"vwXS","value":"2.8vw"},{"name":"vwXXS","value":"2.4vw"}],"Capped Font Sizes":[{"name":"remXXXXXL","value":"4rem"},{"name":"remXXXXL","value":"3.4rem"},{"name":"remXXXL","value":"2rem"},{"name":"remXXL","value":"1.45rem"},{"name":"remXL","value":"1.1rem"},{"name":"remL","value":"1rem"},{"name":"remM","value":"0.89rem"},{"name":"remS","value":"0.77rem"},{"name":"remXS","value":"0.625rem"},{"name":"remXXS","value":"0.5rem"}]}}')}},function(e){e.O(0,[736],function(){return e(e.s=52896)}),e.O()}]);