1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="355e91b8-2d4f-5fcf-8afe-ed6b3a5f5988")}catch(e){}}(); 3import {e as ee,$ as $$1}from'./chunk-h_CpblRp.js';import {B}from'./chunk-DjHdWoc0.js';import'./chunk-BVWyTSnh.js';import {a,d}from'./chunk-BPqqJG4a.js';import {N as Nt,g as gt$1}from'./chunk-ht545Egd.js';import'./chunk-CIuHkXCF.js';import {t}from'./chunk-BIJz1oAh.js';import {C}from'./chunk-CELI5J2N.js';import {$ as $$2,Y as Y$1,H as H$1,Z}from'./chunk-QRx6OYM9.js';import {a0 as Bv,a1 as Oc,a3 as eu,bP as s,z as z_,c as ze,cE as Q_,I as Ie,l as lM,n as Bs,s as gy,q as _d,p as cN,o as _y,C as pM,d as uM,D as aC,G as my,K as hy,J as hM,M as Zy,cT as Oy,cU as PM,e as I$1,Z as Zt,d$ as de,d0 as vW,aB as ee$1,en as Um,eo as qm,aW as Ei,ep as ss,R as Ri,E as Eo,az as vr,aY as Eh,aZ as Fh,eu as yr,ev as Ss,ew as xb,ds as Qh,dt as As,T as TM,A as i_,b_ as rE,dn as fM,H as a_,b$ as pN,b5 as DN,cb as x,bh as G,de as mW,$ as Ut,ix as T,cq as ep,aQ as Nt$1,ah as be$1,v as vl,ar as Hb,a as zr,j as jb,aK as Bb,L as Lb,ad as Un$1,cP as Qn$1,da as qn$1,ae as NN,af as AN,O as Od,dH as ON,bc as Ky,N as NM,c7 as hN,F as Fp,t as jp,j2 as Pa,bk as Bf,bl as kr,bm as ui,gS as Rf,cg as Ba,y,aJ as G$1,df as hW,P as Ig,b3 as FM}from'./main-BUIS7oZx.js';import'./chunk-Bf5REvV-.js';import {l}from'./chunk-BV_-mNOs.js';import'./chunk-BGdC6nvN.js';import'./chunk-CQt_xlFv.js';var $={establishment:140,monthlyAccountKeeping:0,ppsr:0,brokerage:0};var zn=9.95,$n=23.95,Gn="https://www.driva.co.nz/fees/",wn=(()=>{let i=class i{constructor(){this.mediaSize=I$1(G$1),this.annualRatePercent=mW.required(),this.fees=mW.required(),this.totalAmountPayable=mW.required(),this.drivaUrl=mW(null),this.isDrivaLinkDisabled=mW.required(),this.close=hW(),this.interestRateMinimum=zn,this.interestRateMaximum=$n,this.drivaTermsAndFeesUrl=Gn;}closeModal(){this.close.emit();}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=z_({type:i,selectors:[["tm-motors-finance-calculator-info-modal"]],inputs:{annualRatePercent:[1,"annualRatePercent"],fees:[1,"fees"],totalAmountPayable:[1,"totalAmountPayable"],drivaUrl:[1,"drivaUrl"],isDrivaLinkDisabled:[1,"isDrivaLinkDisabled"]},outputs:{close:"close"},decls:73,vars:32,consts:[["size","medium",3,"close","fullScreen","stickyFooter"],[1,"tm-motors-finance-calculator-info-modal__heading"],[1,"tm-motors-finance-calculator-info-modal__terms-and-conditions"],[1,"tm-motors-finance-calculator-info-modal__breakdown-table"],[1,"tm-motors-finance-calculator-info-modal__breakdown-values"],[1,"tm-motors-finance-calculator-info-modal__breakdown-table-summary"],["rel","noopener noreferrer","target","_blank",3,"href"],["size","small","role","presentation","name","link-external"],[1,"tm-motors-finance-calculator-info-modal__footer-buttons"],["type","button","tgButton2","","tgStyle","secondary","fullWidth","",1,"tm-motors-finance-calculator-info-modal__cancel",3,"click"],["rel","noopener noreferrer","target","_blank","tgButton2","","tgStyle","primary","fullWidth","",1,"tm-motors-finance-calculator-info-modal__cta"],["role","presentation","name","link-external"]],template:function(o,a){o&1&&(Bs(0,"tg-modal",0),NN(1,"async"),_y("close",function(){return a.closeModal()}),Bs(2,"tg-modal-header")(3,"h2",1),cN(4,"Finance"),_d()(),Bs(5,"tg-modal-body")(6,"h3"),cN(7,"About this estimate"),_d(),Bs(8,"p")(9,"small",2),cN(10," This finance example does not include any deposit, is intended only as a guide and is not a quote or offer of finance. Buyers will need to discuss their individual circumstances and the suitability of finance with Driva directly. Terms, conditions and lending criteria apply. "),_d()(),Bs(11,"table",3)(12,"tr")(13,"th"),cN(14,"Fixed annual interest rate"),_d(),Bs(15,"td",4),cN(16),NN(17,"number"),_d()(),Bs(18,"tr")(19,"th"),cN(20,"Establishment fee"),_d(),Bs(21,"td",4),cN(22),NN(23,"currency"),_d()(),Bs(24,"tr")(25,"th"),cN(26,"Brokerage fee"),_d(),Bs(27,"td",4),cN(28),NN(29,"currency"),_d()(),Bs(30,"tr")(31,"th"),cN(32,"Monthly maintenance fee"),_d(),Bs(33,"td",4),cN(34),NN(35,"currency"),_d()(),Bs(36,"tr",5)(37,"th"),cN(38,"Total amount payable"),_d(),Bs(39,"td",4),cN(40),NN(41,"currency"),_d()()(),Bs(42,"p")(43,"small",2),cN(44),NN(45,"number"),NN(46,"number"),_d()(),Bs(47,"p")(48,"small",2),cN(49," The example does not include optional mechanical breakdown insurance or payment waiver products, or on-road costs (if applicable). "),gy(50,"br")(
351,"br"),cN(52," For more information on costs of borrowing see: "),_d()(),Bs(53,"p")(54,"small",2)(55,"a",6),gy(56,"tg-icon",7),cN(57," Driva interest rates and fees "),_d()()(),Bs(58,"h3"),cN(59,"Trade Me and Driva"),_d(),Bs(60,"p")(61,"small",2),cN(62," The above finance example is provided to you by Driva and not Trade Me. This example is not an offer of finance and neither Driva nor Trade Me accept any liability for any loss or damage of any kind arising out of, or in connection with reliance on the information in this example. "),_d()(),Bs(63,"p")(64,"small",2),cN(65," Any subsequent offer of finance, following the completion of the application process is provided by Driva and not Trade Me. Trade Me is eligible to receive a commission payment for referrals it makes to Driva. "),_d()()(),Bs(66,"tg-modal-footer")(67,"div",8)(68,"button",9),_y("click",function(){return a.closeModal()}),cN(69," Cancel "),_d(),Bs(70,"a",10),cN(71," Continue on Driva "),gy(72,"tg-icon",11),_d()()()()),o&2&&(my("fullScreen",AN(1,13,a.mediaSize.is.sm$))("stickyFooter",true),aC(16),Od(" ",ON(17,15,a.annualRatePercent(),"1.2-2"),"% "),aC(6),Od(" ",AN(23,18,a.fees().establishment)," "),aC(6),Od(" ",AN(29,20,a.fees().brokerage)," "),aC(6),Od(" ",AN(35,22,a.fees().monthlyAccountKeeping)," "),aC(6),Od(" ",AN(41,24,a.totalAmountPayable())," "),aC(4),Ky(" Fees may be higher or lower and actual interest rates may range from ",ON(45,26,a.interestRateMinimum,"1.2-2"),"% to ",ON(46,29,a.interestRateMaximum,"1.2-2"),"% per year. "),aC(11),my("href",a.drivaTermsAndFeesUrl,Ig),aC(15),hy("href",a.drivaUrl(),Ig)("aria-disabled",a.isDrivaLinkDisabled()?"true":null)("tabindex",a.isDrivaLinkDisabled()?"-1":null));},dependencies:[ze,Ie,Hb,zr,jb,Bb,Lb,Un$1,Qn$1,qn$1],styles:["tm-motors-finance-calculator-info-modal[_nghost-%COMP%]{display:block}.tm-motors-finance-calculator-info-modal__heading[_ngcontent-%COMP%]{margin-bottom:16px}.tm-motors-finance-calculator-info-modal__breakdown-table[_ngcontent-%COMP%]{width:100%;max-width:400px;margin-bottom:24px;border-collapse:collapse}.tm-motors-finance-calculator-info-modal__breakdown-table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding-bottom:4px}.tm-motors-finance-calculator-info-modal__breakdown-table-summary[_ngcontent-%COMP%] td[_ngcontent-%COMP%], .tm-motors-finance-calculator-info-modal__breakdown-table-summary[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{padding-top:4px;border-top:1px solid #d7d5d2;border-bottom:1px solid #d7d5d2;font-weight:500}.tm-motors-finance-calculator-info-modal__terms-and-conditions[_ngcontent-%COMP%]{font-size:1rem}.tm-motors-finance-calculator-info-modal__breakdown-values[_ngcontent-%COMP%]{font-weight:500;text-align:right}.tm-motors-finance-calculator-info-modal__footer-buttons[_ngcontent-%COMP%]{display:flex;gap:16px;width:100%}.tm-motors-finance-calculator-info-modal__footer-buttons[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{margin-bottom:0}.tm-motors-finance-calculator-info-modal__cancel[_ngcontent-%COMP%]{display:none}@media(min-width:1024px){.tm-motors-finance-calculator-info-modal__cancel[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}}.tm-motors-finance-calculator-info-modal__cta[aria-disabled=true][_ngcontent-%COMP%]{pointer-events:none;cursor:default;background:var(--%NS%tg-btn-primary-bg-disabled);color:var(--%NS%tg-btn-primary-text-disabled)}"]});let e=i;return e})();var On=52,we=12;function Sn(e){return e/100/we}function Hn(e,i,n){return i===0?e/n:e*i/(1-Math.pow(1+i,-n))}function qn(e,i,n){return i===0?e*n:e*(1-Math.pow(1+i,-n))/i}function kn(e){return e.establishment+e.ppsr+e.brokerage}function Kn(e,i,n){return Math.max(e+kn(n)-i,0)}function Yn(e,i,n){return Math.max(e+i-kn(n),0)}function I(e){return Math.round(e)}function Tn(e,i,n){return e+i*n}var Dn=(()=>{let i=class i{fromWeeklyPayment(t,o,a,m,d){let f=t*On/we,R=Math.max(f-d.monthlyAccountKeeping,0),re=Sn(m),le=R===0?0:Math.max(qn(R,re,a),0),jn=Yn(le,o,d);return Ba({weeklyPayment:I(t),vehiclePrice:I(jn),amountBorrowed:I(le),annualRatePercent:m,fees:d,totalAmountPayable:I(Tn(o,f,a))})}fromVehiclePrice(t,o,a,m,d){let f=Kn(t,o,d),R=Sn(m),re=f===0?0:Hn(f,R,a)+d.monthlyAccountKeeping,le=re*we/On;return Ba({weeklyPayment:I(le),vehiclePrice:I(t),amountBorrowed:I(f),annualRatePercent:m,fees:d,totalAmountPayable:I(Tn(o,re,a))})}};i.\u0275fac=function(o){return new(o||i)},i.\u0275prov=G({token:i,factory:i.\u0275fac});let e=i;return e})();var ye=new x("FINANCE_CALCULATOR_SERVICE");var In={mode:"budget",figures:null,hadInput:false,deposit:0,termMonths:60,result:{kind:"prompt",message:""}};var Jn=new Intl.NumberFormat("en-NZ",{style:"currency",currency:"NZD",maximumFractionDigits:0});function te(e){return Jn.format(e)}var Xn=new Intl.NumberFormat("en-NZ",{minimumFractionDigits:2,maximumFractionDigits:2});function Zn(e){return Xn.format(e)}function H(e){return e==="repayment"?"Please enter a vehicle price to see weekly repayments":"Please enter a weekly payment to see your budget"}var Qn="We couldn't calculate an estimate right now. Please try again shortly";function et(e,i,n){return e==="repayment"?`A loan of ${te(i)} is too small to calculate weekly repayments \u2014 our minimum is ${te(n)}`:`A loan of ${te(i)} is below our ${te(n)} minimum`}function nt(e){return e==="repayment"?"Try a smaller deposit or a higher vehicle price to increase your loan":"Try increasing your weekly payment or loan term"}function tt(e){return e==="repayment"?"Your estimated weekly repayments":"You could browse cars up to"}function it(e,i){return te(e==="repayment"?i.weeklyPayment:i.vehiclePrice)}function at(e){return `Estimate only, based on ${Zn(e.annualRatePercent)}% p.a.`}function L(e,i,n,t){return t?e===null?{kind:"unavailable",message:Qn}:e.amountBorrowed<n?{kind:"belowMinimum",headline:et(i,e.amountBorrowed,n),remedy:nt(i)}:{kind:"estimate",label:tt(i),amount:it(i,e),supporting:at(e)}:{kind:"prompt",message:H(i)}}var Me=300,Oe=$$2(t("motors-finance-calculator"),Z(In),Y$1((e,i=I$1(ye))=>({seed(n){i.fromWeeklyPayment(n.weeklyPaymentSeed,n.deposit,n.termMonths,n.annualRatePercent,n.fees).subscribe(t=>{H$1(e,{mode:n.mode,deposit:n.deposit,termMonths:n.termMonths,hadInput:true,figures:t,result:L(t,n.mode,n.minAmountBorrowed,true)});});},setMode(n,t){let o=e.figures();H$1(e,{mode:n,result:o===null?{kind:"prompt",message:H(n)}:L(o,n,t,e.hadInput())});},onWeeklyPaymentChange:C(Pa(Rf(Me),ui((n,t)=>n.weeklyPayment===t.weeklyPayment),Bf(()=>H$1(e,{hadInput:true})),kr(({weeklyPayment:n,annualRatePercent:t,fees:o,minAmountBorrowed:a})=>n===null?Ba({figures:null,minAmountBorrowed:a,hasValue:false}):i.fromWeeklyPayment(n,e.deposit(),e.termMonths(),t,o).pipe(be$1(m=>
3({figures:m,minAmountBorrowed:a,hasValue:true})))),Bf(({figures:n,minAmountBorrowed:t,hasValue:o})=>H$1(e,{figures:n,result:L(n,e.mode(),t,o)})))),onVehiclePriceChange:C(Pa(Rf(Me),ui((n,t)=>n.vehiclePrice===t.vehiclePrice),Bf(()=>H$1(e,{hadInput:true})),kr(({vehiclePrice:n,annualRatePercent:t,fees:o,minAmountBorrowed:a})=>n===null?Ba({figures:null,minAmountBorrowed:a,hasValue:false}):i.fromVehiclePrice(n,e.deposit(),e.termMonths(),t,o).pipe(be$1(m=>({figures:m,minAmountBorrowed:a,hasValue:true})))),Bf(({figures:n,minAmountBorrowed:t,hasValue:o})=>H$1(e,{figures:n,result:L(n,e.mode(),t,o)})))),onDepositChange:C(Pa(Rf(Me),ui((n,t)=>n.deposit===t.deposit),Bf(({deposit:n})=>H$1(e,{deposit:n})),kr(({annualRatePercent:n,fees:t,minAmountBorrowed:o})=>An(i,e.mode(),e.figures(),e.deposit(),e.termMonths(),n,t).pipe(be$1(a=>({figures:a,minAmountBorrowed:o})))),Bf(({figures:n,minAmountBorrowed:t})=>H$1(e,{figures:n,result:n===null?{kind:"prompt",message:H(e.mode())}:L(n,e.mode(),t,e.hadInput())})))),onTermChange:C(Pa(Rf(Me),ui((n,t)=>n.termMonths===t.termMonths),Bf(({termMonths:n})=>H$1(e,{termMonths:n})),kr(({annualRatePercent:n,fees:t,minAmountBorrowed:o})=>An(i,e.mode(),e.figures(),e.deposit(),e.termMonths(),n,t).pipe(be$1(a=>({figures:a,minAmountBorrowed:o})))),Bf(({figures:n,minAmountBorrowed:t})=>H$1(e,{figures:n,result:n===null?{kind:"prompt",message:H(e.mode())}:L(n,e.mode(),t,e.hadInput())})))),clearAmount(n){H$1(e,{figures:null,result:{kind:"prompt",message:H(n)}});}})));function An(e,i,n,t,o,a,m){return n===null?Ba(null):i==="budget"?e.fromWeeklyPayment(n.weeklyPayment,t,o,a,m):e.fromVehiclePrice(n.vehiclePrice,t,o,a,m)}var Ln=[12,24,36,48,60,72,84];function ot(e,i){if(e&1&&(Bs(0,"p",11),cN(1),_d()),e&2){NM();let n=hN(9);aC(),Zy(n.message);}}function rt(e,i){if(e&1){let n=TM();Bs(0,"p",24),cN(1),_d(),Bs(2,"p",25),cN(3),_d(),Bs(4,"p",26),cN(5),_d(),Bs(6,"button",27),_y("click",function(){Fp(n);let o=NM();return jp(o.openInfoModal())}),cN(7," How's this calculated? "),_d();}if(e&2){NM();let n=hN(9);aC(),Zy(n.label),aC(2),Zy(n.amount),aC(2),Zy(n.supporting);}}function lt(e,i){if(e&1&&(Bs(0,"p",28),cN(1),_d(),Bs(2,"p",26),cN(3),_d()),e&2){NM();let n=hN(9);aC(),Zy(n.headline),aC(2),Zy(n.remedy);}}function ct(e,i){if(e&1&&(Bs(0,"p",11),cN(1),_d()),e&2){NM();let n=hN(9);aC(),Zy(n.message);}}function st(e,i){if(e&1){let n=TM();Bs(0,"tg-input-container",16)(1,"span",19),cN(2,"$"),_d(),Bs(3,"input",29,1),_y("ngModelChange",function(o){Fp(n);let a=FM(4),m=NM();return jp(m.onWeeklyPaymentInput(o,a))})("blur",function(){Fp(n);let o=NM();return jp(o.onWeeklyPaymentBlur())}),_d(),i_(),_d();}if(e&2){let n=NM();aC(3),my("ngModel",n.weeklyPaymentRaw()),a_();}}function mt(e,i){if(e&1){let n=TM();Bs(0,"tg-input-container",17)(1,"span",19),cN(2,"$"),_d(),Bs(3,"input",30,2),_y("ngModelChange",function(o){Fp(n);let a=FM(4),m=NM();return jp(m.onVehiclePriceInput(o,a))})("blur",function(){Fp(n);let o=NM();return jp(o.onVehiclePriceBlur())}),_d(),i_(),_d();}if(e&2){let n=NM();aC(3),my("ngModel",n.vehiclePriceRaw()),a_();}}function dt(e,i){if(e&1&&(Bs(0,"option",23),cN(1),_d()),e&2){let n=i.$implicit;my("ngValue",n),aC(),Od("",n," months");}}function pt(e,i){if(e&1){let n=TM();Bs(0,"tm-motors-finance-calculator-info-modal",32),_y("close",function(){Fp(n);let o=NM(2);return jp(o.closeInfoModal())}),_d();}if(e&2){NM();let n=hN(0),t=NM();my("annualRatePercent",n.annualRatePercent)("fees",n.fees)("totalAmountPayable",n.totalAmountPayable)("drivaUrl",t.drivaUrl())("isDrivaLinkDisabled",t.isDrivaLinkDisabled());}}
3function gt(e,i){if(e&1&&(rE(0),lM(1,pt,1,5,"tm-motors-finance-calculator-info-modal",31)),e&2){let n=pN(NM().store.figures());aC(),uM(n?1:-1);}}var q=2e3,De=999999,ae=999999,ut=String(De).length,Rn=String(ae).length,_t="https://apply.driva.co.nz/trade-me-finance",ft="/a/motors/cars/search",Se="finance_calculator",Te=[1e3,2e3,3e3,4e3,5e3,7500,1e4,12500,15e3,2e4,25e3,3e4,35e3,4e4,5e4,6e4,7e4,8e4,9e4,1e5,15e4,2e5];function ht(e){return Te.find(i=>i>=e)??Te[Te.length-1]}var Ct="budget",yt=60,Nn=0,Fn=150;function K(e,i){let n=e.replace(/[^0-9.]/g,"");if(n===""||n===".")return null;let t=Math.floor(Number(n));return Number.isNaN(t)?null:Math.min(t,i)}function Y(e){return e===void 0?"":Math.round(e).toString()}function ke(e,i){let n=e.indexOf("."),t=n===-1?e:e.slice(0,n),o=n===-1?"":e.slice(n),a=t.replace(/[^0-9]/g,"");return a.length>i?a.slice(0,i)+o:e}var Bn=(()=>{let i=class i{constructor(){this.store=I$1(Oe),this._motorsGtmService=I$1($$1),this.screenName=mW.required(),this.loanTermMonths=Ln,this.weeklyPaymentRaw=Ut(Fn.toString()),this.vehiclePriceRaw=Ut(""),this.depositRaw=Ut(Y(Nn)),this.ignoredVehiclePriceSeed=null,this.ignoredWeeklyPaymentSeed=null,this._lastTrackedEstimateAmount=null,this._lastTrackedFigures=void 0,this.drivaUrl=Zt(()=>{let t=this.store.figures();if(this.store.result().kind!=="estimate"||!t)return null;let o=new URLSearchParams({utm_source:"TradeMe",utm_medium:"CalcMTFinance",purchaseprice:t.vehiclePrice.toString(),deposit:this.store.deposit().toString(),term:this.store.termMonths().toString(),purpose:"car",loanType:"purchase",partner:"TradeMe",assetType:"car"});return `${_t}?${o.toString()}`}),this.searchUrl=Zt(()=>{let t=this.store.figures();if(this.store.result().kind!=="estimate"||!t)return null;let o=new URLSearchParams({price_max:ht(t.vehiclePrice).toString()});return `${ft}?${o.toString()}`}),this.isDrivaLinkDisabled=Zt(()=>this.drivaUrl()===null),this.isSearchLinkDisabled=Zt(()=>this.searchUrl()===null),this.showInfoModal=Ut(false),this.store.seed({mode:Ct,termMonths:yt,deposit:Nn,weeklyPaymentSeed:Fn,annualRatePercent:10.7,fees:$,minAmountBorrowed:q}),this.store.onWeeklyPaymentChange(T(this.weeklyPaymentRaw).pipe(ep(1),Nt$1(t=>this.ignoredWeeklyPaymentSeed===t?(this.ignoredWeeklyPaymentSeed=null,false):true),be$1(t=>({weeklyPayment:K(t,ae),annualRatePercent:10.7,fees:$,minAmountBorrowed:q})))),this.store.onVehiclePriceChange(T(this.vehiclePriceRaw).pipe(ep(1),Nt$1(t=>this.ignoredVehiclePriceSeed===t?(this.ignoredVehiclePriceSeed=null,false):true),be$1(t=>({vehiclePrice:K(t,ae),annualRatePercent:10.7,fees:$,minAmountBorrowed:q})))),this.store.onDepositChange(T(this.depositRaw).pipe(ep(1),be$1(t=>({deposit:K(t,De)??0,annualRatePercent:10.7,fees:$,minAmountBorrowed:q})))),vl(()=>{let t=this.store.result(),o=this.store.figures(),a=this._lastTrackedFigures===void 0,m=o!==this._lastTrackedFigures;this._lastTrackedFigures=o,!(a||!m||t.kind!=="estimate")&&t.amount!==this._lastTrackedEstimateAmount&&(this._lastTrackedEstimateAmount=t.amount,this._motorsGtmService.addConsumerFinanceCalculatorEvent("consumer_finance_modify",Se,this.screenName()));});}onModeChange(t){let o=this.store.figures();if(o)if(t==="repayment"){let a=Y(o.vehiclePrice);a!==this.vehiclePriceRaw()&&(this.ignoredVehiclePriceSeed=a),this.vehiclePriceRaw.set(a);}else {let a=Y(o.weeklyPayment);a!==this.weeklyPaymentRaw()&&(this.ignoredWeeklyPaymentSeed=a),this.weeklyPaymentRaw.set(a);}this.store.setMode(t,q),this._motorsGtmService.addConsumerFinanceCalculatorEvent(t==="repayment"?"repayment_selected":"budget_selected",Se,this.screenName());}onWeeklyPaymentInput(t,o){let a=ke(t,Rn);this.weeklyPaymentRaw.set(a),a!==t&&(o.value=a),a.trim()===""&&(this.store.clearAmount("budget"),this.vehiclePriceRaw.set(""));}onWeeklyPaymentBlur(){let t=K(this.weeklyPaymentRaw(),ae);this.weeklyPaymentRaw.set(t===null?"":Y(t));}onVehiclePriceInput(t,o){let a=ke(t,Rn);this.vehiclePriceRaw.set(a),a!==t&&(o.value=a),a.trim()===""&&(this.store.clearAmount("repayment"),this.weeklyPaymentRaw.set(""));}onVehiclePriceBlur(){let t=K(this.vehiclePriceRaw(),ae);this.vehiclePriceRaw.set(t===null?"":Y(t));}onDepositInput(t,o){let a=ke(t,ut);this.depositRaw.set(a),a!==t&&(o.value=a);}onDepositBlur(){let t=K(this.depositRaw(),De);this.depositRaw.set(t===null?"":Y(t));}onTermChange(t){this.store.onTermChange({termMonths:t,annualRatePercent:10.7,fees:$,minAmountBorrowed:q});}onGetPrequalifiedClick(){this.isDrivaLinkDisabled()||this._motorsGtmService.addConsumerFinanceCalculatorEvent("consumer_finance_enquiry_modal_click_through",Se,this.screenName());}openInfoModal(){this.showInfoModal.set(true);}closeInfoModal(){this.showInfoModal.set(false);}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=z_({type:i,selectors:[["tm-motors-finance-calculator"]],inputs:{screenName:[1,"screenName"]},features:[DN([Oe,{provide:ye,useClass:Dn}])],decls:35,vars:13,consts:[["depositInput",""],["weeklyPaymentInput",""],["vehiclePriceInput",""],["tgCard","",1,"tm-motors-finance-calculator__card"],[1,"tm-motors-finance-calculator__heading"],["name","mode","label","Calculation mode","showLabel","false",1,"tm-motors-finance-calculator__toggle",3,"ngModelChange","ngModel"],["value","budget"],["value","repayment"],[1,"tm-motors-finance-calculator__left-column"],["aria-live","polite","aria-labelledby","tm-motors-finance-calculator__result-heading",1,"tm-motors-finance-calculator__result"],["id","tm-motors-finance-calculator__result-heading",1,"h-visually-hidden"],[1,"tm-motors-finance-calculator__result-message"],["target","_blank","rel","noopener noreferrer","tgButton2","","tgStyle","primary","fullWidth","",1,"tm-motors-finance-calculator__cta-primary",3,"click"],["role","presentation","name","link-external"],["tgButton2","","tgStyle","secondary","fullWidth","",1,"tm-motors-finance-calculator__cta-secondary"],[1,"tm-motors-finance-calculator__fields"],["label","Weekly payment"],["label","Vehicle price"],["label","Deposit"],["aria-hidden","true",1,"tm-motors-finance-calculator__currency-symbol"],["name","deposit","inputmode","numeric","aria-label","Deposit in dollars","tgTextInput","","type","text",3,"ngModelChange","blur","ngModel"],["label","Loan term"],["name","termMonths","tgSelect","",3,"ngModelChange","ngModel"],[3,"ngValue"],[1,"tm-motors-finance-calculator__result-label"],[1,"tm-motors-finance-calculator__result-amount"],[1,"tm-motors-finance-calculator__result-supporting"],["type","button",1,"tm-motors-finance-calculator__result-info-link",3,"click"],[1,"tm-motors-finance-calculator__result-headline"],["name","weeklyPayment","inputmode","numeric","aria-label","Weekly payment in dollars","tgTextInput","","type","text",3,"ngModelChange","blur","ngModel"],["name","vehiclePrice","inputmode","numeric","aria-label","Vehicle price in dollars","tgTextInput","","type","text",3,"ngModelChange","blur","ngModel"],[3,"annualRatePercent","fees","totalAmountPayable","drivaUrl","isDrivaLinkDisabled"],[3,"close","annualRatePercent","fees","totalAmountPayable","drivaUrl","isDrivaLinkDisabled"]],template:function(o,a){if(o&1){let m=TM();Bs(0,"div",3)(1,"h2",4),cN(2,"Find cars to match your budget"),_d(),Bs(3,"tg-toggle",5),_y("ngModelChange",function(f){return a.onModeChange(f)}),Bs(4,"tg-toggle-item",6),cN(5,"Budget"),_d(),Bs(6,"tg-toggle-item",7),cN(7,"Repayment"),_d()(),i_(),Bs(8,"div",8),rE(9),Bs(10,"section",9)(11,"h3",10),cN(12," Your estimate "),_d(),lM(13,ot,2,1,"p",11)(14,rt,8,3)(15,lt,4,2)(16,ct,2,1,"p",11),_d(),Bs(17,"a",12),_y("click",function(){return a.onGetPrequalifiedClick()}),cN(18," Get pre-qualified now "),gy(19,"tg-icon",13),_d(),Bs(20,"a",14),cN(21," Browse cars in your budget "),_d()(),Bs(22,"div",15),lM(23,st,5,1,"tg-input-container",16)(24,mt,5,1,"tg-input-container",17),Bs(25,"tg-input-container",18)(26,"span",19),cN(27,"$"),_d(),Bs(28,"input",20,0),_y("ngModelChange",function(f){Fp(m);let R=FM(29);return jp(a.onDepositInput(f,R))})("blur",function(){return a.onDepositBlur()}),_d(),i_(),_d(),Bs(30,"tg-select-container",21)(31,"select",22),_y("ngModelChange",function(f){return a.onTermChange(f)}),pM(32,dt,2,2,"option",23,fM),_d(),i_(),_d()()(),lM(34,gt,2,2);}if(o&2){let m;aC(3),my("ngModel",a.store.mode()),a_(),aC(6);let d=pN(a.store.result());aC(4),uM((m=d.kind)==="prompt"?13:m==="estimate"?14:m==="belowMinimum"?15:m==="unavailable"?16:-1),aC(4),hy("href",a.drivaUrl(),Ig)("aria-disabled",a.isDrivaLinkDisabled()?"true":null)("tabindex",a.isDrivaLinkDisabled()?"-1":null),aC(3),hy("href",a.searchUrl(),Ig)("aria-disabled",a.isSearchLinkDisabled()?"true":null)("tabindex",a.isSearchLinkDisabled()?"-1":null),aC(3),uM(a.store.mode()==="budget"?23:24),aC(5),my("ngModel",a.depositRaw()),a_(),aC(3),my("ngModel",a.store.termMonths()),a_(),aC(),hM(a.loanTermMonths),aC(2),uM(a.showInfoModal()?34:-1);}},dependencies:[ee$1,Um,qm,Ei,ss,Ri,Eo,ze,Q_,Ie,vr,Eh,Fh,yr,Ss,xb,Qh,As,wn],styles:['.tm-motors-finance-calculator__card[_ngcontent-%COMP%]{display:grid;grid-template-areas:"heading" "toggle" "result" "fields" "cta-primary" "cta-secondary";padding:24px;margin-bottom:0;border-radius:32px}@media(min-width:1024px){.tm-motors-finance-calculator__card[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr;grid-template-areas:"heading toggle" "left-column fields";column-gap:80px;padding:48px}}.tm-motors-finance-calculator__left-column[_ngcontent-%COMP%]{display:contents}@media(min-width:1024px){.tm-motors-finance-calculator__left-column[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:space-between;grid-area:left-column}}.tm-motors-finance-calculator__heading[_ngcontent-%COMP%]{grid-area:heading;font-size:22px;font-weight:700;line-height:28px}@media(min-width:1024px){.tm-motors-finance-calculator__heading[_ngcontent-%COMP%]{font-size:24px;line-height:32px}}.tm-motors-finance-calculator__toggle[_ngcontent-%COMP%]{grid-area:toggle}.tm-motors-finance-calculator__result[_ngcontent-%COMP%]{grid-area:result;display:flex;flex-direction:column;justify-content:center;gap:4px;padding:24px;margin-bottom:24px;background:#e1f3ff;border-radius:16px;min-height:156px}.tm-motors-finance-calculator__result[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{margin-bottom:0}.tm-motors-finance-calculator__result-label[_ngcontent-%COMP%]{font-size:1rem;line-height:24px}
3.tm-motors-finance-calculator__result-amount[_ngcontent-%COMP%]{font-size:32px;font-weight:700;line-height:40px}.tm-motors-finance-calculator__result-headline[_ngcontent-%COMP%]{font-size:1rem;line-height:24px;font-weight:700}.tm-motors-finance-calculator__result-supporting[_ngcontent-%COMP%]{font-size:.75rem;line-height:16px;color:#85807c}.tm-motors-finance-calculator__result-info-link[_ngcontent-%COMP%]{align-self:flex-start;padding:0;color:#2f2c28;font-size:.75rem;font-weight:500;line-height:16px;text-align:left;text-decoration:underline;background:none;border:none;cursor:pointer}.tm-motors-finance-calculator__fields[_ngcontent-%COMP%]{grid-area:fields;display:flex;flex-direction:column}@media(min-width:1024px){.tm-motors-finance-calculator__fields[_ngcontent-%COMP%]{justify-content:space-between}}.tm-motors-finance-calculator__fields[_ngcontent-%COMP%] .o-input__optional, .tm-motors-finance-calculator__fields[_ngcontent-%COMP%] .o-select__optional{display:none}.tm-motors-finance-calculator__cta-primary[_ngcontent-%COMP%]{grid-area:cta-primary}.tm-motors-finance-calculator__cta-primary[aria-disabled=true][_ngcontent-%COMP%]{pointer-events:none;cursor:default;background:var(--%NS%tg-btn-primary-bg-disabled);color:var(--%NS%tg-btn-primary-text-disabled)}.tm-motors-finance-calculator__cta-secondary[_ngcontent-%COMP%]{grid-area:cta-secondary}@media(max-width:1023px){.tm-motors-finance-calculator__cta-secondary[_ngcontent-%COMP%]{margin-bottom:0}}.tm-motors-finance-calculator__cta-secondary[aria-disabled=true][_ngcontent-%COMP%]{pointer-events:none;cursor:default;background:var(--%NS%tg-btn-secondary-bg-disabled);color:var(--%NS%tg-btn-secondary-text-disabled)}.tm-motors-finance-calculator__currency-symbol[_ngcontent-%COMP%]{margin-right:4px;color:inherit}']});let e=i;return e})();var Mt="https://apply.driva.co.nz/trade-me-finance",Un=(()=>{let i=class i{constructor(){this.type="WebApplication";}map(){let t="motorsCarLoanCalculator",m={"@type":"Offer",name:"Driva",url:Mt,itemOffered:{"@type":"LoanOrCredit",name:"Standard Auto Finance",provider:{"@type":"FinancialService",name:"Driva"}}},d={"@type":this.type,name:"Car Loan Calculator",applicationCategory:"FinanceApplication",offers:[m]},f=y({"@context":"https://schema.org"},d);return {id:t,jsonLd:f}}};i.\u0275fac=function(o){return new(o||i)},i.\u0275prov=G({token:i,factory:i.\u0275fac,providedIn:"root"});let e=i;return e})();var bt=["calculatorAnchor"],Pt=(e,i)=>i.number;function xt(e,i){e&1&&gy(0,"tm-meta-json-ld-inline",1),e&2&&my("json",i);}function vt(e,i){e&1&&gy(0,"tm-meta-json-ld-inline",1),e&2&&my("json",i);}function Et(e,i){if(e&1&&(Bs(0,"div",32)(1,"div",43),cN(2),_d(),Bs(3,"h3",44),cN(4),_d(),Bs(5,"p",45),cN(6),_d()()),e&2){let n=i.$implicit;aC(2),Zy(n.number),aC(2),Zy(n.heading),aC(2),Zy(n.body);}}var wt={ImageUrlSmall:"/images/frend/motors/finance/landing-page/finance-hero-small.jpg",ImageUrlMedium:"/images/frend/motors/finance/landing-page/finance-hero-medium.jpg",ImageUrlLarge:"/images/frend/motors/finance/landing-page/finance-hero-large.jpg",ImageUrlXl:"/images/frend/motors/finance/landing-page/finance-hero-xl.jpg"},Ot={title:"Car finance made simple",description:"Car finance NZ made easy. Estimate your repayments with our car loan calculator, compare rates, and get pre-approved through Driva on Trade Me Motors."},St={Medium:`(min-width: ${de.Md}px)`,Large:`(min-width: ${de.Lg}px)`,Xl:`(min-width: ${de.Xl}px)`},oe={Small:"/images/frend/motors/finance/landing-page/finance-ev-promo-small.jpg",Medium:"/images/frend/motors/finance/landing-page/finance-ev-promo-medium.jpg",Large:"/images/frend/motors/finance/landing-page/finance-ev-promo-large.jpg",Xl:"/images/frend/motors/finance/landing-page/finance-ev-promo-xl.jpg"},Tt=`${oe.Small} 480w, ${oe.Medium} 800w, ${oe.Large} 1200w, ${oe.Xl} 1600w`,kt=[{number:"1",heading:"Enter your details",body:"Tell Driva about the car you want to buy and how much you'd like to borrow."},{number:"2",heading:"Compare your options",body:"See personalised rates from multiple NZ lenders in one place, side by side."}
3,{number:"3",heading:"Apply with confidence",body:"Complete your application online in minutes. No branch visits required!"}],Dt="Finance arranged by Driva NZ Ltd. Trade Me Motors is not a credit provider and is not a party to any credit contract; applications are subject to Driva's assessment and lending criteria, and fees and charges may apply. Trade Me is eligible to receive a commission payment for referrals it makes to Driva. The above finance example is representative only. This example is not an offer of finance and neither Driva nor Trade Me accept any liability for any loss or damage of any kind arising out of, or in connection with, reliance on the information in this example. This page contains general information only and does not constitute financial advice.",be=(()=>{let i=class i{constructor(){this._metaDataFacade=I$1(l),this._breadcrumbListJsonLdMapper=I$1(B),this._carLoanCalculatorJsonLdMapper=I$1(Un),this.breadcrumbs=[{displayName:"Motors",canonicalPath:"/motors"},{displayName:"Car finance",canonicalPath:"/motors/car-finance",shouldDisplayAsTextOnly:true}],this.breadcrumbListJsonLd=Zt(()=>this._breadcrumbListJsonLdMapper.map(this.breadcrumbs)?.jsonLd),this.carLoanCalculatorJsonLd=Zt(()=>this._carLoanCalculatorJsonLdMapper.map()?.jsonLd),this.heroBanner=wt,this.heroImageBreakpoints=St,this.evPromoImage=oe,this.evPromoImageSrcset=Tt,this.steps=kt,this.legalDisclosure=Dt,this._calculatorAnchor=vW("calculatorAnchor");}ngOnInit(){this._metaDataFacade.updateMetaData(Ot);}scrollToCalculator(t){t.metaKey||t.ctrlKey||t.shiftKey||t.button!==0||(t.preventDefault(),this._calculatorAnchor()?.nativeElement.scrollIntoView({behavior:"smooth"}));}};i.\u0275fac=function(o){return new(o||i)},i.\u0275cmp=z_({type:i,selectors:[["tm-motors-finance-landing-page"]],viewQuery:function(o,a){o&1&&Oy(a._calculatorAnchor,bt,5),o&2&&PM();},decls:70,vars:16,consts:[["calculatorAnchor",""],[3,"json"],[1,"l-container","finance-landing-page__breadcrumbs"],[3,"breadcrumbs"],[1,"finance-landing-page__hero"],[1,"finance-landing-page__hero-image-band"],[3,"srcset"],["loading","eager","fetchpriority","high","alt","",1,"finance-landing-page__hero-image",3,"src"],[1,"l-container","finance-landing-page__hero-content"],["tgCard","",1,"finance-landing-page__hero-card"],[1,"finance-landing-page__hero-intro"],["src","/images/frend/motors/driva-powered-by-logo.svg","alt","Powered by Driva",1,"finance-landing-page__driva-logo"],[1,"finance-landing-page__heading"],[1,"finance-landing-page__checklist"],["name","basic-tick","role","presentation","aria-hidden","true"],[1,"finance-landing-page__cta-group"],["href","/a/motors/car-finance#finance-calculator","tgButton2","","tgStyle","primary","fullWidth","",1,"finance-landing-page__cta",3,"click"],[1,"finance-landing-page__disclaimer"],[1,"finance-landing-page__lenders"],[1,"l-container","finance-landing-page__lenders-content"],[1,"finance-landing-page__lenders-heading"],[1,"finance-landing-page__lenders-subheading"],[1,"finance-landing-page__lenders-logos"],[3,"expanded"],["id","finance-calculator",1,"finance-landing-page__calculator"],[1,"l-container","finance-landing-page__calculator-content"],[3,"screenName"],[1,"l-container","finance-landing-page__steps-section"],[1,"finance-landing-page__steps-heading-group"],[1,"finance-landing-page__steps-heading"],[1,"finance-landing-page__steps-subheading"],[1,"finance-landing-page__steps-grid"],[1,"finance-landing-page__step-card"],["id","ev-finance",1,"finance-landing-page__ev-promo"],[1,"l-container","finance-landing-page__ev-promo-content"],[1,"finance-landing-page__ev-promo-copy"],[1,"finance-landing-page__ev-promo-heading"],[1,"finance-landing-page__ev-promo-body"],["href","/a/motors/car-finance#finance-calculator","tgButton2","","tgStyle","primary",1,"finance-landing-page__ev-promo-cta",3,"click"],[1,"finance-landing-page__ev-promo-image-container"],["loading","lazy","alt","Electric vehicle charging at a public charging station",1,"finance-landing-page__ev-promo-image",3,"src","srcset"],[1,"l-container","finance-landing-page__legal"],[1,"p-small"],[1,"finance-landing-page__step-number"],[1,"finance-landing-page__step-heading"],[1,"finance-landing-page__step-body"]],template:function(o,a){if(o&1&&(lM(0,xt,1,1,"tm-meta-json-ld-inline",1),lM(1,vt,1,1,"tm-meta-json-ld-inline",1),Bs(2,"div",2),gy(3,"tm-breadcrumbs",3),_d(),Bs(4,"div",4)(5,"div",5)(6,"picture"),gy(7,"source",6)(8,"source",6)(9,"source",6)(10,"img",7),_d()(),Bs(11,"div",8)(12,"div",9)(13,"div",10),gy(14,"img",11),Bs(15,"h1",12),cN(16,"Car finance made simple"),_d()(),Bs(17,"ul",13)(18,"li"),gy(19,"tg-icon",14),Bs(20,"span"),cN(21,"No hidden fees"),_d()(),Bs(22,"li"),gy(23,"tg-icon",14),Bs(24,"span"),cN(25,"Compare rates from 15+ lenders"),_d()(),Bs(26,"li"),gy(27,"tg-icon",14),Bs(28,"span"),cN(29,"Loan offers in minutes"),_d()()(),Bs(30,"div",15)(31,"a",16),_y("click",function(d){return a.scrollToCalculator(d)}),cN(32," Calculate your rate "),_d(),Bs(33,"p",17),cN(34,"This won't affect your credit score"),_d()()()()(),Bs(35,"div",18)(36,"div",19)(37,"h2",20),cN(38,"Get the best rate"),_d(),Bs(39,"p",21),cN(40,"Compare rates from 15+ lenders"),_d(),Bs(41,"div",22),gy(42,"tm-motors-consumer-finance-lender-logos",23),_d()()(),Bs(43,"div",24,0)(45,"div",25),gy(46,"tm-motors-finance-calculator",26),_d()(),Bs(47,"div",27)(48,"div",28)(49,"h2",29),cN(50,"Get personalised quotes & apply in 3 simple steps"),_d(),Bs(51,"p",30),cN(52," Driva compares 15+ NZ lenders to match you and pre-approve your loan. "),_d()(),Bs(53,"div",31),pM(54,Et,7,3,"div",32,Pt),_d()(),Bs(56,"div",33)(57,"div",34)(58,"div",35)(59,"h2",36),cN(60,"Electric vehicle finance made simple"),_d(),Bs(61,"p",37),cN(62," NZ lenders are backing EVs and PHEVs more than ever. Compare loan rates from multiple NZ lenders, including Tesla finance, with no impact on your credit score. "),_d(),Bs(63,"a",38),_y("click",function(d){return a.scrollToCalculator(d)}),cN(64," Get your EV finance rate "),_d()(),Bs(65,"div",39),gy(66,"img",40),_d()()(),Bs(67,"div",41)(68,"p",42),cN(69),_d()()),o&2){let m,d;uM((m=a.breadcrumbListJsonLd())?0:-1,m),aC(),uM((d=a.carLoanCalculatorJsonLd())?1:-1,d),aC(2),my("breadcrumbs",a.breadcrumbs),aC(4),my("srcset",a.heroBanner.ImageUrlXl),hy("media",a.heroImageBreakpoints.Xl),aC(),my("srcset",a.heroBanner.ImageUrlLarge),hy("media",a.heroImageBreakpoints.Large),aC(),my("srcset",a.heroBanner.ImageUrlMedium),hy("media",a.heroImageBreakpoints.Medium),aC(),my("src",a.heroBanner.ImageUrlSmall,Ig),aC(32),my("expanded",true),aC(4),my("screenName","motors_car_finance"),aC(8),hM(a.steps),aC(12),my("src",a.evPromoImage.Medium,Ig)("srcset",a.evPromoImageSrcset),hy("sizes",a.heroImageBreakpoints.Large+" 45vw, 100vw"),aC(3),Zy(a.legalDisclosure);}},dependencies:[Nt,gt$1,ze,Q_,Ie,ee,Bn,a,d],styles:["tm-motors-finance-landing-page[_nghost-%COMP%]{display:block;overflow-x:hidden}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__breadcrumbs[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__hero[_ngcontent-%COMP%]{position:relative;min-height:152px;background:#f6f5f4}@media(min-width:768px){tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__hero[_ngcontent-%COMP%]{min-height:548px}}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__hero-image-band[_ngcontent-%COMP%]{position:absolute;inset:0;height:152px;overflow:hidden}@media(min-width:768px){tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__hero-image-band[_ngcontent-%COMP%]{height:548px}}@media(min-width:1920px){tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__hero-image-band[_ngcontent-%COMP%]{left:50%;right:auto;width:1920px;margin-left:-960px}}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__hero-image[_ngcontent-%COMP%]{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%}@media(min-width:1920px){tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__hero-image[_ngcontent-%COMP%]{object-position:center 65%}}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__hero-content[_ngcontent-%COMP%]{position:relative;padding-top:125px;padding-bottom:24px}@media(min-width:768px){tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__hero-content[_ngcontent-%COMP%]{padding-top:83px;padding-bottom:48px}}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__hero-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:24px;width:100%;max-width:420px;padding:40px;border-radius:16px;box-shadow:0 4px 16px #0000001f}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__hero-intro[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:16px;width:100%}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__driva-logo[_ngcontent-%COMP%]{height:30px}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__heading[_ngcontent-%COMP%]{margin:0}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__checklist[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:12px;margin:0;padding:0;list-style:none}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__checklist[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__cta-group[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:8px;width:100%}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__cta[_ngcontent-%COMP%]{width:100%;margin-bottom:0}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__disclaimer[_ngcontent-%COMP%]{margin:0;
3color:#65605d;font-size:14px;line-height:20px}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__lenders[_ngcontent-%COMP%]{padding-bottom:48px;background:#f6f5f4}@media(min-width:768px){tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__lenders[_ngcontent-%COMP%]{padding-top:48px}}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__lenders-heading[_ngcontent-%COMP%]{margin:0 0 16px}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__lenders-subheading[_ngcontent-%COMP%]{margin:0 0 32px;color:#65605d}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__lenders-logos[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(3,1fr);place-items:center;gap:32px}@media(min-width:1024px){tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__lenders-logos[_ngcontent-%COMP%]{display:flex;justify-content:space-between}}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__calculator[_ngcontent-%COMP%]{padding-top:48px;padding-bottom:48px;background:#f6f5f4}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__steps-section[_ngcontent-%COMP%]{padding-top:48px;padding-bottom:48px;text-align:center}@media(min-width:1024px){tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__steps-heading-group[_ngcontent-%COMP%]{max-width:700px;margin:0 auto}}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__steps-heading[_ngcontent-%COMP%]{margin:0 0 16px}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__steps-subheading[_ngcontent-%COMP%]{margin:0 0 32px;color:#65605d}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__steps-grid[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px;text-align:left}@media(min-width:1024px){tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__steps-grid[_ngcontent-%COMP%]{flex-direction:row;max-width:1120px;margin:0 auto}}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__step-card[_ngcontent-%COMP%]{flex:1;padding:24px;background:#f6f5f4;border-radius:16px}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__step-number[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin-bottom:16px;color:#fff;background:#007acd;border-radius:50%}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__step-heading[_ngcontent-%COMP%]{margin:0 0 16px}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__step-body[_ngcontent-%COMP%]{margin:0;color:#65605d}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__ev-promo[_ngcontent-%COMP%]{padding-top:32px;background:#f6f5f4}@media(min-width:1024px){tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__ev-promo[_ngcontent-%COMP%]{padding-top:48px}}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__ev-promo-content[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:24px}@media(min-width:1024px){tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__ev-promo-content[_ngcontent-%COMP%]{flex-direction:row;align-items:center;gap:32px;padding-top:80px;padding-bottom:80px}}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__ev-promo-copy[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:16px}@media(min-width:1024px){tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__ev-promo-copy[_ngcontent-%COMP%]{flex:1}}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__ev-promo-heading[_ngcontent-%COMP%], tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__ev-promo-body[_ngcontent-%COMP%]{margin:0}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__ev-promo-body[_ngcontent-%COMP%]{color:#65605d}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__ev-promo-cta[_ngcontent-%COMP%]{align-self:flex-start}@media(min-width:1024px){tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__ev-promo-cta[_ngcontent-%COMP%]{margin-top:24px}}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__ev-promo-image-container[_ngcontent-%COMP%]{position:relative;height:220px;width:100vw;margin-left:50%;transform:translate(-50%)}@media(min-width:1024px){tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__ev-promo-image-container[_ngcontent-%COMP%]{flex:1;height:344px;width:auto;margin-left:0;transform:none;overflow:hidden;border-radius:16px}}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__ev-promo-image[_ngcontent-%COMP%]{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}tm-motors-finance-landing-page[_nghost-%COMP%] .finance-landing-page__legal[_ngcontent-%COMP%]{padding-top:32px;padding-bottom:32px}"]});let e=i;return e})();var It=[{path:"",component:be,data:{areaOfSite:s.motors}}],Vn=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275mod=Bv({type:i}),i.\u0275inj=Oc({imports:[eu.forChild(It),eu]});let e=i;return e})();var Wi=(()=>{let i=class i{};i.\u0275fac=function(o){return new(o||i)},i.\u0275mod=Bv({type:i}),i.\u0275inj=Oc({imports:[Vn,be]});let e=i;return e})(); 4export{Wi as MotorsFinanceLandingPageModule};//# sourceMappingURL=motors-finance-landing-page.module-ivbQwUUg.js.map 5 6//# debugId=355e91b8-2d4f-5fcf-8afe-ed6b3a5f5988
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.