PageSourceSearch

https://form.racq.com.au/dist/racqforms20/js/1464.4e24f6a8.js

js racq.com.au collected 2026-09-24 09:07:51 UTC 4,988 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunkracqforms20"]=self["webpackChunkracqforms20"]||[]).push([[1464],{8661:function(e,t,n){n.d(t,{_:function(){return a},d:function(){return i}});var s=n(82172);const i=(e,t)=>({nvic:e.nvic,acceptance:e.acceptCode,body:{code:e.body.code,description:e.body.description,doors:(0,s.Ro)(e.option.doors),colour:e.colour},cylinders:e.cylinders,driveType:e.driveType,engineCapacity:e.engineCapacity,fuelType:{code:e.fuelType.code},gears:e.gears,glassesId:e.glassesId,hasTurbo:e.hasTurbo,highPerformance:e.highPerformance,id:e.vehicleId,kerbWeight:e.kerbWeight,kerbWeightUnit:e.kerbWeightUnit,marketValue:e.marketValue,length:e.length,lengthUnit:e.lengthUnit,loadCapacity:e.loadCapacity,loadCapacityUnit:e.loadCapacityUnit,make:{code:e.make.code,description:e.make.description},model:{code:e.model.code,description:e.model.description},manufacturingYear:e.manufacturingYear,option:e.option,registrationNumber:t?e.registrationNumber:"",points:e.points,vehicleType:e.vehicleType,retailValue:e.retailValue,source:e.source,stateCode:e.stateCode,totalWeight:e.totalWeight,tradeLowValue:e.tradeLowValue,tradeValue:e.tradeValue,variant:{code:e.variant.code,description:e.variant.description},weight:e.weight,weightUnit:e.weightUnit});var a;(function(e){e["hpExcess"]="hpExcess"})(a||(a={}))},61464:function(e,t,n){n.r(t),n.d(t,{default:function(){return x}});var s=n(20641),i=n(50953),a=n(64096),r=n(1260),o=n(86366),l=n(5520),u=n(56820),c=n(84552),p=n(77283),d=n(12177),m=n(99885),v=n(20903),g=n(37753),y=n(8661),h=n(82172),f=n(79583),w=n(6821);const b={class:"flex flex-col gap-8 md:gap-6"};var R=(0,s.pM)({__name:"ChangeVehicle_Review",props:{step:{}},setup(e){const t=e,n=(0,r.xt)(),R=(0,r.J5)(),T=(0,r.tv)(),x=(0,m.s9)(),k=x.getLocaleMessage("en"),C=(0,i.KR)({}),P=(0,i.KR)(),D=(0,s.EW)((()=>n.currentStepIndex===t.step.stepIndex)),V=(0,i.KR)(null),I=(0,s.EW)((()=>T.businessRuleResponse?.viewModel?.quotePremiumDetails?.annualResponsiveAmountDue&&T.businessRuleResponse?.viewModel?.quotePremiumDetails?.annualResponsiveAmountDue>0));(0,s.sV)((async()=>{await E(),await T.pushAnalytics({event:d.c.STEP},k)})),(0,s.wB)(D,(async e=>{e&&await E()}));const S=(0,s.EW)((()=>{if(T.businessRuleResponse?.viewModel?.highPerformanceExcess){const e=(0,v.A)(t.step.formInputs?.additionalHighPerformanceExcesses.label);return e.value=(0,g.t3)(y._.hpExcess,e.value,(0,h.zQ)(T.businessRuleResponse?.viewModel?.highPerformanceExcess,!1)),e}return t.step.formInputs?.additionalExcesses.label}));async function E(){const e=t.step.formInputs?.reviewSummary?.fields;
1P.value=await T.getReviewSummaryModel(e)}function M(e){R.showJeopardyPanel({jpCode:e})}async function W(e){if(I.value)n.goNextStep();else try{n.showLoadingForCurrentStep(),await T.applyBusinessRules(!0,!0),n.showLoadingForCurrentStep(!1),n.goToStep(n.currentStepIndex+2)}catch(t){console.error(t),M(t)}finally{n.showLoadingForCurrentStep(!1)}}return(e,t)=>{const n=(0,s.g2)("FormKit");return(0,s.uX)(),(0,s.Wv)(n,{modelValue:C.value,"onUpdate:modelValue":t[0]||(t[0]=e=>C.value=e),type:"form",actions:!1,incompleteMessage:!1,onSubmit:W},{default:(0,s.k6)((()=>[(0,s.Lk)("div",b,[(0,i.R1)(T)?.businessRuleResponse?.viewModel?.quotePremiumDetails&&(0,i.R1)(T).currentPolicy?((0,s.uX)(),(0,s.Wv)(o.A,{key:0,fields:e.step.formInputs?.premiumDetails,premiumDetails:(0,i.R1)(T)?.businessRuleResponse?.viewModel?.quotePremiumDetails,currentTermPaymentDetails:(0,i.R1)(T).currentPolicy.currentTermPaymentDetails,policyInRenewal:(0,i.R1)(T).currentPolicy.state.isInRenewal,renewalTermStart:(0,i.R1)(T).currentPolicy.renewalTermStart,renewalTermEnd:(0,i.R1)(T).currentPolicy.renewalTermEnd},null,8,["fields","premiumDetails","currentTermPaymentDetails","policyInRenewal","renewalTermStart","renewalTermEnd"])):(0,s.Q3)("",!0),P.value?((0,s.uX)(),(0,s.Wv)(l.A,{key:1,isConfirmationStep:!1,reviewSummaries:P.value},{"subContent-CV-InsuranceType":(0,s.k6)((()=>[(0,i.R1)(T).businessRuleResponse?.viewModel?.isLowValueVehicle&&(0,i.R1)(T).model?.lowValueVehicleWarningAccepted?((0,s.uX)(),(0,s.Wv)(f.A,{key:0,class:"mt-4",description:e.step.formInputs?.lowValueVehicleInfoAccepted.label.value,type:(0,i.R1)(w.Z).INFO},null,8,["description","type"])):(0,s.Q3)("",!0)])),policyDiscounts:(0,s.k6)((()=>[(0,s.bF)(c.A,{policyDiscounts:(0,i.R1)(T).businessRuleResponse?.viewModel?.discounts},null,8,["policyDiscounts"])])),_:1},8,["reviewSummaries"])):(0,s.Q3)("",!0),(0,s.bF)((0,i.R1)(u.s),{id:"otherExcesses",field:S.value},null,8,["field"]),(0,s.bF)(p.A,{ref_key:"discardModal",ref:V,description:e.step.formInputs?.discardChangesModal?.label},null,8,["description"])]),(0,s.bF)(a.A,{step:e.step,btnNextText:I.value?e.step.btnNext:e.step.btnNextAlternate,btnPrevText:e.step.btnPrev,btnDisagreeText:e.step.btnDisagree,btnDisagreeClick:()=>V.value?.showHideModal(!0)},null,8,["step","btnNextText","btnPrevText","btnDisagreeText","btnDisagreeClick"])])),_:1},8,["modelValue"])}}});const T=R;var x=T}}]);
2//# sourceMappingURL=1464.4e24f6a8.js.map

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.