PageSourceSearch

https://ronsonequipment.com/2679-ec463d69169f20fd113b.js

js ronsonequipment.com collected 2026-10-09 03:58:31 UTC 3,614 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[2679],{92679:function(e,t,o){o.r(t),o.d(t,{FormDynamicVehicleLookup:function(){return N}});var a=o(63696),i=o(3369),s=o(91806),n=o(95777),r=o(97290),l=o(25350),u=o(65658),d=o(91976),c=o(43346),p=o(78887),m=o(46035),h=o(19443),f=o(19951),g=o(63866),C=o(72418),b=o(46232),L=o(59957),v=o(67428),I=o(91785);const N=e=>{let{stepShortName:t,handleErrors:o,handleValidityChange:N}=e;const{pricing:O}=(0,c.V)(),{enableWriteOffQuestion:y,requireRegoAndState:R}=O||{},{state:V,dispatch:k}=(0,d.a)(),{valuationVehicleInfo:S}=V,{isWriteOff:E,odometer:F,registration:w,state:W,vehicleCondition:Y,vehicleDescription:x}=S,{defaultLookup:j,odometerLabel:A,regoLookupEnabled:T,registrationLabel:_,stateLabel:H,vehicleConditionLabel:q,writeOffHeadingText:K,writeOffLabel:D}=u.j4,{0:G,1:B}=(0,a.useState)(!0),{0:U,1:M}=(0,a.useState)(!T||j!==n.uy.byRegistration),Q=e=>{"object"==typeof e&&(G&&B(!1),k({type:l.xL.SET_VALUATION_VEHICLE_INFO,payload:Object.assign({},e)}),V.formInteracted||k({type:l.xL.SET_FORM_INTERACTED,payload:!0}))},{search:J}=(0,i.useLocation)(),X=s.A.parse(J,{parseBooleans:!0}),z=!0===X[l.xt.valuationSearch]&&G;return(0,a.useEffect)((()=>{const e=!x;o((t=>Object.assign({},t,{valuationVehicleDescription:e}))),N(Boolean(F&&x&&(!R||w&&W)))}),[S]),(0,a.useEffect)((()=>{const e=Object.keys(X).reduce(((e,t)=>{const o=X[t]||"";return t===l.xt.valuationRego?Object.assign({},e,{registration:o.toString()}):t===l.xt.valuationState&&r.LK.includes(o.toString().toUpperCase())?Object.assign({},e,{state:o.toString().toUpperCase()}):t===l.xt.valuationCondition&&u.Sl[o]?Object.assign({},e,{vehicleCondition:o}):t!==l.xt.valuationOdometer||Number.isNaN(Number(o))?t===l.xt.valuationWriteOff&&"boolean"==typeof o&&y?Object.assign({},e,{isWriteOff:o}):e:Object.assign({},e,{odometer:o.toString()})}),{});Object.keys(e).length>0&&k({type:l.xL.SET_VALUATION_VEHICLE_INFO,payload:e})}),[]),(0,I.Y)(a.Fragment,null,(0,I.Y)(b.w,{otherInfo:S,defaultLookup:j,regoLookupEnabled:T,handleOtherInfoChange:Q,setIsManualLookup:M,fsvlWrapperCustom:v.GB,fsvlHeadingIconCustom:v.yH,fsvlHeadingCustom:v.p5,fsvlFormWrapperCustom:v.qe,fsvlResultWrapperCustom:v.lW,fsvlFormRegoWrapperCustom:v.JG,fsvlBtnsWrapperCustom:v.tG,regoLookupIsAutomaticConfirm:!0,regoLookupIsAutomaticSearch:z,isDynamicForm:!0}),x&&(0,I.Y)("div",{className:"classImFormInputRowGroup",css:p.uH},(0,I.Y)(g.RadioLabelGroupNestedControlled,{groupName:t+"VehicleCondition",options:u.HL,radioValue:Y||"",radioValueKey:"vehicleCondition",handleChange:Q,isRequired:!0,imFormRadiosRowCustom:v.iX,imFormRadioLabelCustom:v.aQ},q),(0,I.Y)("div",{className:"classImFormInputRow",css:p.lp},(0,I.Y)(f.InputLabelNestedControlled,{isRequired:!0,idName:t+"Odometer",typeName:"number",placeholder:"Odometer",inputValue:F||"",inputValueKey:"odometer",handleChange:Q,validationRequired:!0,validateFieldType:"odometer",handleErrors:o},A)),R&&U&&(0,I.Y)("div",{className:"classImFormInputRow",css:[p.lp,p.bW,""]},(0,I.Y)(f.InputLabelNestedControlled,{isRequired:!0,idName:t+"Registration",typeName:"text",placeholder:"Registration",inputValue:w||"",inputValueKey:"registration",handleChange:Q},_),(0,I.Y)(C.SelectLabelNestedControlled,{idName:t+"State",selectValue:W||"",selectValueKey:"state",handleChange:Q,options:(0,r._I)(),isRequired:!0},H)),y&&(0,I.Y)("div",{css:L.hr},(0,I.Y)("div",{style:{width:"100%"},css:h.Lf},K),(0,I.Y)("div",{className:"classImFormInputRow",css:p.lp},(0,I.Y)(m.CheckboxLabelNestedControlled,{idName:t+"WriteOff",checkValue:E||!1,handleChange:Q,checkValueKey:"isWriteOff"},D)))))}}}]);

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.