PageSourceSearch

https://www.volvostock.be/_next/static/chunks/pages/vehicle/[slug]/contact/[type]-8dea8a5cbe525bd0.js

js volvostock.be collected 2026-10-07 18:59:38 UTC 24,180 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7551,5198,3140,6565],{65903:function(e,t,r){var n=r(66188),i=r(23779);e.exports=function(e){return i(n(e).toLowerCase())}},85505:function(e,t,r){var n=r(53366),i=r(86152),o=r(15125);e.exports=function(e){return"string"==typeof e||!i(e)&&o(e)&&"[object String]"==n(e)}},63839:function(e,t,r){"use strict";var n,i;r.d(t,{L:function(){return n}}),(i=n||(n={})).enquiry="enquiry",i.testdrive="testdrive",i.general="general",i.lease="lease"},9654:function(e,t,r){"use strict";var n=r(52746),i=r(2784),o=r(39097),c=r.n(o),l=r(45884),a=r(5632),s=r(45802),d=r.n(s),u=r(43554),p=r(52322);t.Z=function(e){var t=e.breadcrumbs,r=(e.className,e.showReturnWhenDisabled),o=(0,l.$G)().t,s=(0,a.useRouter)(),f=s.locale,m=s.back,y=(0,u.S8)().disableBreadcrumbs,v=(0,i.useMemo)(function(){return[{label:o("NAVIGATION_LINK_HOME",{lng:f}),path:"/"}].concat((0,n.Z)(t||[]))},[t,o]);return y?void 0!==r&&r?(0,p.jsx)("div",{className:d().breadcrumbs,children:(0,p.jsx)("div",{className:"breadcrumbs-container d-flex align-items-center py-3 w-100 overflow-auto",children:(0,p.jsx)("div",{className:"d-inline-block mr-2",children:(0,p.jsxs)("button",{className:"button-back py-1 px-2",onClick:m,children:[(0,p.jsx)("span",{className:"mr-2",children:"<"}),o("NAVIGATION__BACK",{lng:f})]})})})}):(0,p.jsx)("div",{className:"w-100 mb-4"}):(0,p.jsx)("div",{className:d().breadcrumbs,children:(0,p.jsxs)("div",{className:"breadcrumbs-container d-flex align-items-center py-3 w-100 overflow-auto",children:[(0,p.jsx)("div",{className:"d-inline-block mr-2",children:(0,p.jsxs)("button",{className:"button-back py-1 px-2",onClick:m,children:[(0,p.jsx)("span",{className:"mr-2",children:"<"}),o("NAVIGATION__BACK",{lng:f})]})}),(0,p.jsx)("div",{className:"d-inline-block ml-4",children:(0,p.jsx)("div",{className:"row justify-content-start align-items-center flex-nowrap",children:v.map(function(e,t){return(0,p.jsx)("div",{className:"bread-item text-nowrap",children:e.path&&t!==v.length-1?(0,p.jsx)(c(),{passHref:!0,scroll:!1,prefetch:!1,href:e.path,locale:f,children:e.label}):e.label},"_breadcrumbs"+t)})})})]})})}},56565:function(e,t,r){"use strict";r.r(t),r(2784);var n=r(38001),i=r(52322);t.default=function(e){var t=e.show,r=e.size,o=e.className,c=e.url;return t?(0,i.jsx)(n.Z,{className:void 0===o?"mt-3":o,value:c||window.location.href,size:void 0===r?256:r}):null}},24117:function(e,t,r){"use strict";
1var n=r(2784),i=r(43554),o=r(18830),c=r.n(o),l=r(75614),a=r(52322);t.Z=function(e){var t=e.smallImage,r=void 0!==t&&t,o=(0,i.S8)(),s=(0,n.useMemo)(function(){if(!o.overlayImagePosition)return"";var e=[];return["top","bottom","left","right","cover"].forEach(function(t){o.overlayImagePosition.includes(t)&&e.push(t)}),e.join(" ")},[o.overlayImagePosition]),d=(0,n.useMemo)(function(){var e="cover"===o.overlayImagePosition?void 0:{width:r?50:150};return(0,l.Jn)(o.id,o.overlayImage,e)},[o.id,o.overlayImage]);return o.overlayImage&&o.overlayImagePosition?(0,a.jsx)("div",{className:c().vehicleOverlay,children:(0,a.jsx)("img",{src:d,className:"vehicleOverlayImage ".concat(s),loading:"lazy",alt:""})}):null}},83562:function(e,t,r){"use strict";var n=r(2784),i=r(18227),o=r.n(i),c=r(77726),l=r(5632),a=r(45884),s=r(43554),d=r(64238),u=r(52322);t.Z=function(e){var t=e.vehicle,r=e.optionsPrice,i=void 0===r?0:r,p=e.className,f=(0,l.useRouter)().locale,m=(0,a.$G)().t,y=(0,s.S8)().showLeasePrice,v=(0,n.useMemo)(function(){return(0,d.l)(t,i)},[t,i]),h=v.price,I=v.isRealPromoPrice,P=(0,n.useMemo)(function(){return!!y&&Math.round(t.balloonLeasePrice)},[t.balloonLeasePrice,y]);return t&&h?(0,u.jsxs)("div",{className:"".concat(o().price," price-preview ").concat(p),children:[(0,u.jsx)("span",{className:"text-primary font-weight-bold price",children:!!P&&(0,u.jsxs)(u.Fragment,{children:[(0,c._B)(P||0,f),(0,u.jsxs)("small",{children:["/",m("MONTH",{lng:f})]})]})}),(0,u.jsxs)("div",{className:"position-relative",children:[I&&(0,u.jsx)("span",{className:"old-price",children:(0,c._B)(Math.round(t.priceVat||0),f)}),(0,u.jsx)("span",{className:"text-primary font-weight-bold price ".concat(P?"with-lease":""),children:(0,c._B)(h||0,f)})]})]}):null}},46268:function(e,t,r){"use strict";r.d(t,{Z:function(){return results_ResultCard}});var n=r(45455),i=r.n(n),o=r(19034),c=r.n(o),l=r(2784),a=r(45884),s=r(39097),d=r.n(s),u=r(43554),p=r(83562),f=r(85701),m=r.n(f),y=r(29289),v=r(80420),h=r.n(v),I=r(5632),P=r(75614),b=r(96365),g=r(52322),results_SpecPreview=function(e){var t=e.vehicle,r=e.className,n=(0,I.useRouter)().locale,i=(0,l.useMemo)(function(){var e,r,i=[];t.kilometrage&&i.push(parseInt(t.kilometrage).toLocaleString(n)+"km");var o=(0,P.H0)(t.fuel,"title",n);o&&i.push(o),t[b.cIl]&&(null===(e=t[b.gJR])||void 0===e?void 0:e[b.o5z])!==y.lf.new&&i.push(c()(t[b.cIl]).format("MM/YYYY"));var l=(0,P.H0)(t.color,"title",n);l&&i.push(l);var a=(0,P.H0)(t.transmission,"title",n);return a&&i.push(a),null!==(r=t.spec)&&void 0!==r&&r.euronorm&&i.push("".concat(t.spec.euronorm.toLowerCase().includes("euro")?t.spec.euronorm:"Euro "+t.spec.euronorm)),i},[t]);return(0,g.jsx)("div",{className:"".concat(h().spec," ").concat(r||""),children:m()(i,3).join(" | ")})},O=r(40171),x=r.n(O),_=r(3140),N=r(42224),j=r(24117),R=r(96577),w=r.n(R),T=r(60964),E={width:500,height:300},results_ResultCard=function(e){var t=e.vehicle,r=e.optionsPrice,n=e.className,o=e.preloadImage,s=(0,u.S8)(),f=(0,a.$G)().t,m=(0,I.useRouter)().locale,v=(0,N.Yj)(),h=v.vehicles,O=v.addVehicle,R=v.removeVehicle,C=(0,l.useState)(!1),S=C[0],M=C[1];(0,l.useEffect)(function(){M(h.findIndex(function(e){return e.entityId===t.entityId})>=0)},[h,t.entityId]);var A=(0,l.useMemo)(function(){return t&&!i()(t.pictures)?(0,P.Jn)(s.id,t.pictures[0],E):s.defaultImage?(0,P.Jn)(s.id,s.defaultImage,E):b.vHY},[s.id,t]);(0,l.useMemo)(function(){var e=c()(t.createdAt).startOf("day"),r=c()().startOf("day").clone().subtract(1,"month").startOf("day");return e.isAfter(r)},[t]);var L=(0,l.useMemo)(function(){return(0,P.H0)(t,"label",m)},[t,m]),k=(null==t?void 0:t.condition)===y.lf.demo,D=(0,l.useMemo)(function(){return(0,P.H0)(t,"customTitle",m)||(0,P.YQ)(t)},[m,t]),V=(0,l.useMemo)(function(){return(s.enableIcons?285:170)+(s.enableComparison?50:0)},[s.enableIcons,s.enableComparison]),K=(0,l.useCallback)(function(e){e.preventDefault(),e.stopPropagation(),S?R(t.entityId):O(t)},[S,t,R,O]),B=(0,l.useCallback)(function(e){e.preventDefault(),e.stopPropagation(),K(e)},[S,t,R,O]);return(0,g.jsx)("div",{className:"".concat(x().resultCard," ").concat(n||""," vehicle pb-3 px-2"),children:(0,g.jsx)(d(),{prefetch:!1,scroll:!0,passHref:!0,href:(0,P.k)("vehicle",t),className:"d-block h-100 position-relative",children:(0,g.jsxs)(g.Fragment,{children:[(0,g.jsx)("div",{className:"new-label ".concat(L?"":"disabled"," text-center p-1 bg-primary"),children:L}),!!k&&(0,g.jsx)("div",{className:"demo-label position-absolute text-center p-1 text-white",children:f("VEHICLE__CONDITION_DEMO",{lng:m})}),(0,g.jsxs)("div",{className:"card h-100",children:[(0,g.jsxs)("div",{className:"w-100 h-100 position-relative d-flex justify-content-center align-items-center overflow-hidden",children:[(0,g.jsx)(w(),{loader:T.XI,className:"img",style:{aspectRatio:s.imageAspectRatio},alt:(0,P.L0)(f,t,void 0,m),src:A,loading:o?"eager":"lazy",priority:o,fill:!0,objectFit:s.imageCover?"cover":"contain"}),(0,g.jsx)(j.Z,{})]}),(0,g.jsxs)("div",{className:"details text-right py-2 px-3 ",style:{height:"".concat(V,"px")}
1,children:[t.priceVat||t.computedPrice?(0,g.jsx)(p.Z,{className:"w-100 py-2 no-text-overflow",vehicle:t,optionsPrice:r}):(0,g.jsx)("div",{className:"no-price w-100 px-1 py-2",children:f("BROWSE__LABEL_ENQUIRY",{lng:m})}),(0,g.jsxs)("div",{className:"row mt-2 mb-1 overflow-hidden",children:[(0,g.jsx)("div",{className:"col no-text-overflow text-left overflow-hidden ",children:t.orderId}),(0,g.jsx)("div",{className:"col text-right overflow-hidden",children:!t[b.F_o]&&(t.priceVat||t.computedPrice)?(0,g.jsx)("p",{className:"vat m-0",children:f(s.isVatIncluded?"VEHICLE__LABEL_VAT_INCLUDED":"VEHICLE__LABEL_VAT_NOT_INCLUDED",{lng:m})}):null})]}),(0,g.jsx)("div",{className:"title text-left text-primary d-flex h-100 align-items-center overflow-hidden",children:(0,g.jsx)("h3",{children:D})}),(0,g.jsx)(results_SpecPreview,{className:"my-2 text-left no-text-overflow text-wrap",vehicle:t}),s.enableIcons&&(0,g.jsx)(_.default,{vehicle:t}),s.enableComparison&&(0,g.jsxs)("div",{className:"d-flex flex-row justify-content-start align-items-center",onClick:S?null:K,children:[(0,g.jsx)("div",{className:"d-flex p-1",onClick:K,children:(0,g.jsx)("input",{type:"checkbox",checked:S})}),(0,g.jsx)("span",{className:"pl-2",children:S?(0,g.jsx)(d(),{prefetch:!1,scroll:!1,href:"/comparison",children:(0,g.jsx)("button",{className:"btn-primary text-white rounded border-0 text",children:f("COMPARISON__SHOW_COMPARISON",{lng:m})})}):(0,g.jsx)("span",{className:"compareLabel",onClick:B,children:f("COMPARISON__COMPARE",{lng:m})})})]})]})]})]})})})}},3140:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return SpecWithIcons}});var n=r(95235),i=r(2784),o=r(85505),c=r.n(o),l=r(5632),a=r(52322);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var s=[{icon:"/images/icon-year.svg",alt:"Year",getValue:function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1],e.dateFirstRegistration?new Date(e.dateFirstRegistration).getFullYear():e.dateModelYear||null}},{icon:"/images/icon-gearbox.svg",alt:"Gearbox",getValue:function(e){var t;return arguments.length>1&&void 0!==arguments[1]&&arguments[1],null===(t=e.transmission)||void 0===t?void 0:t.title}},{icon:"/images/icon-distance.svg",alt:"Distance",getValue:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return e.kilometrage?parseInt(e.kilometrage).toLocaleString(t,{style:"unit",unit:"kilometer"}):null}},{icon:"/images/icon-axles.svg",alt:"Axles",getValue:function(e){var t;return arguments.length>1&&void 0!==arguments[1]&&arguments[1],null===(t=e.driveType)||void 0===t?void 0:t.title}},{icon:"/images/icon-eco.svg",alt:"Euro norm",getValue:function(e){var t,r,n,i,o,c;return arguments.length>1&&void 0!==arguments[1]&&arguments[1],(null===(t=e.emissionClass)||void 0===t?void 0:t.title)||(null!==(r=e.spec)&&void 0!==r&&null!==(n=r.euronorm)&&void 0!==n&&n.toLowerCase().includes("euro")?null===(i=e.spec)||void 0===i?void 0:i.euronorm:null!==(o=e.spec)&&void 0!==o&&o.euronorm?"Euro "+(null===(c=e.spec)||void 0===c?void 0:c.euronorm):null)}},{icon:"/images/icon-power.svg",alt:"Power",getValue:function(e){var t;return arguments.length>1&&void 0!==arguments[1]&&arguments[1],e.pk?e.pk+" HP":e.kW?e.kW+" kW":null===(t=e.fuel)||void 0===t?void 0:t.title}},{icon:"/images/icon-mass.svg",alt:"Max autorized mass",getValue:function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1],!!e.maximumWeightLoadedWeight&&e.maximumWeightLoadedWeight+" kg"}},{icon:"/images/icon-seats.svg",alt:"Seats",getValue:function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1],e.seats}},{icon:"/images/icon-size.svg",alt:"L x B x H",getValue:function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1],e.lbh}},{icon:"/images/icon-sleeping-places.svg",alt:"Sleeping places",getValue:function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1],e.sleepingPlaces}},{icon:"/images/icon-load-volume.svg",alt:"Load volume",getValue:function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1],e.loadVolume}},{icon:"/images/icon-range.svg",alt:"Range",getValue:function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1],e.rangeWltpCityKm}},{icon:"/images/icon-hitch.svg",alt:"Hitch option",getValue:function(e){return arguments.length>1&&void 0!==arguments[1]&&arguments[1],e.hitchOption}}];function SpecWithIcons(e){var t=e.vehicle,r=e.className,n=(0,l.useRouter)().locale,o=(0,i.useMemo)(function(){return s.map(function(e){return _objectSpread(_objectSpread({},e),{},{value:e.getValue(t,n)})}).filter(function(e){return!!(c()(e.value)?e.value.trim():e.value)}).slice(0,6)},[t,n]);return(0,a.jsx)("div",{className:"specification-icons-block-wrapper ".concat(r||""),children:(0,a.jsx)("div",{className:"specification-icons-block d-flex flex-row flex-wrap",children:o.map(function(e){return(0,a.jsxs)("div",{className:"specification-item d-flex flex-row align-items-center",children:[(0,a.jsx)("div",{className:"icon-wrapper mr-2",children:(0,a.jsx)("img",{src:e.icon,alt:e.alt,loading:"lazy"})}),(0,a.jsx)("div",{className:"text-left",children:e.value||"-"})]},e.icon)})})})}},96138:function(e,t,r){"use strict";r.d(t,{g:function(){return getLabelIdByType}});var n=r(63839),getLabelIdByType=function(e){switch(e){case n.L.enquiry:return"CONTACT_FORM__TYPE_ENQUIRY";case n.L.testdrive:return"CONTACT_FORM__TYPE_TESTDRIVE";case n.L.general:return"CONTACT_FORM__TYPE_GENERAL";case n.L.lease:return"CONTACT_FORM__TYPE_LEASE"}}},52034:function(e,t,r){"use strict";r.d(t,{D3:function(){return a},De:function(){return l},iA:function(){return s},vt:function(){return c}});var n=r(1279),i=r(96365),o=r(77726),c=[{definitionId:i.RKf,field:i.ga3,propertyId:i.ga3,labelId:"PROP_ORDER_ID",type:n.PropertyTypes.text},{definitionId:i.ESi,field:"".concat(i.wmI,".title"),propertyId:i.wmI,labelId:"PROP_MAKE",type:n.PropertyTypes.text},{definitionId:i.IjS,field:"".concat(i.XRW,".title"),propertyId:i.XRW,labelId:"PROP_PRODUCT_LINE",type:n.PropertyTypes.text},{definitionId:i.r$K,propertyId:i.r$K,field:i.r$K,labelId:"PROP_VERSION",type:n.PropertyTypes.text},{definitionId:i.qL3,propertyId:i.$AH,field:"".concat(i.$AH,".title"),labelId:"PROP_FINISH",type:n.PropertyTypes.text},{definitionId:i.cty,propertyId:i.J_u,field:"".concat(i.J_u,".title"),labelId:"PROP_SILHOUETTE",type:n.PropertyTypes.text},{definitionId:i.RKf,field:i.EGc,propertyId:i.EGc,labelId:"PROP_MODEL_YEAR",type:n.PropertyTypes.number},{definitionId:i.zCH,field:"".concat(i.ED4,".title"),propertyId:i.ED4,labelId:"PROP_FUEL",type:n.PropertyTypes.text},{definitionId:i.xSf,field:"".concat(i.oSf,".title"),propertyId:i.oSf,labelId:"PROP_COLOR",type:n.PropertyTypes.text},{definitionId:i.gHe,field:"".concat(i.sye,".title"),propertyId:i.sye,labelId:"PROP_TRIM",type:n.PropertyTypes.text},{definitionId:i.Eyx,field:"".concat(i.KwP,".title"),propertyId:i.KwP,labelId:"PROP_PAINT_TYPE",type:n.PropertyTypes.text},{definitionId:i.xSf,field:"".concat(i.CiW,".title"),propertyId:i.CiW,labelId:"PROP_INTERIOR_COLOR",type:n.PropertyTypes.text},{definitionId:i.wnt,field:"".concat(i.kvJ,".title"),propertyId:i.kvJ,labelId:"PROP_UPHOLSTERY",type:n.PropertyTypes.text},{definitionId:i.qBu,field:"".concat(i.TNG,".").concat(i.JJd),propertyId:i.JJd,labelId:"PROP_EURONORM",type:n.PropertyTypes.text},{definitionId:i.qBu,field:"".concat(i.TNG,".").concat(i.SJX),propertyId:i.SJX,labelId:"PROP_COMBINED_CO2",type:n.PropertyTypes.number},{definitionId:i.qBu,field:"".concat(i.TNG,".").concat(i.GSs),propertyId:i.GSs,labelId:"PROP_URBAN_CONSUMPTION",type:n.PropertyTypes.number},{definitionId:i.qBu,field:"".concat(i.TNG,".").concat(i.SBD),propertyId:i.SBD,labelId:"PROP_COMBINED_CONSUMPTION",type:n.PropertyTypes.number},{definitionId:i.et8,propertyId:i.wJJ,field:"".concat(i.wJJ,".title"),labelId:"PROP_TRANSMISSION",type:n.PropertyTypes.text},{definitionId:i.qBu,field:"".concat(i.TNG,".").concat(i.NU2),propertyId:i.NU2,labelId:"PROP_ENGINE_SIZE",type:n.PropertyTypes.number},{definitionId:i.qBu,field:"".concat(i.TNG,".").concat(i.rQe),propertyId:i.rQe,labelId:"PROP_MAX_POWER",type:n.PropertyTypes.text},{definitionId:i.qBu,field:"".concat(i.TNG,".").concat(i.ojq),propertyId:i.ojq,labelId:"PROP_MAX_TORQUE",type:n.PropertyTypes.text},{definitionId:i.xaZ,propertyId:i.KwL,field:"".concat(i.KwL,".title"),labelId:"PROP_PURPOSE",type:n.PropertyTypes.text},{definitionId:i.qBu,propertyId:i.TNG,field:"".concat(i.TNG,".title"),labelId:"PROP_SPEC",type:n.PropertyTypes.text},{definitionId:i.RKf,field:i.BM6,propertyId:i.BM6,labelId:"PROP_KILOMETRAGE",type:n.PropertyTypes.number,format:function(e,t,r){return"".concat(e,"km")}},{definitionId:i.RKf,field:i.cIl,propertyId:i.cIl,labelId:"PROP_FIRST_REGISTRATION",type:n.PropertyTypes.date,format:"MM/YYYY"},{definitionId:i.RKf,field:i.Woh,propertyId:i.Woh,labelId:"PROP_WARRANTY",type:n.PropertyTypes.number,format:function(e,t,r){return"".concat(e).concat(t("MONTHS",{lng:r}))}}],l=[{field:"".concat(i.wmI,".title"),propertyId:i.wmI,labelId:"PROP_MAKE"},{field:"".concat(i.XRW,".title"),propertyId:i.XRW,labelId:"PROP_PRODUCT_LINE"},{propertyId:i.r$K,field:i.r$K,labelId:"PROP_VERSION",format:function(e){return e.substr(0,35)}},{field:i.vws,propertyId:i.vws,labelId:"PROP_PRICE",format:function(e,t,r){return(0,o._B)(Math.round(e||0),r)}}],a=[{definitionId:i.RKf,propertyId:i.i4c,field:i.i4c,labelId:"PROP_OPTIONS",type:n.PropertyTypes.multitext},{definitionId:i.RKf,propertyId:i.FZ_,field:i.FZ_,labelId:"PROP_OPTIONS",type:n.PropertyTypes.multitext}],s=[].concat(c,a,[{definitionId:i.RKf,field:i.$0S,propertyId:i.$0S,labelId:"PROP_PRICE",type:n.PropertyTypes.number},{definitionId:i.RKf,field:i.vws,propertyId:i.vws,labelId:"PROP_PRICE",type:n.PropertyTypes.number}])},29289:function(e,t,r){"use strict";var n,i;r.d(t,{lf:function(){return n}}),(i=n||(n={})).new="new",i.used="used",i.demo="demo",i.all="all"},69016:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSP:function(){return x},default:function(){return _type_}});var n=r(95235),i=r(2784),o=r(45884),c=r(65903),l=r.n(c),a=r(5632),s=r(55351),d=r(37068),u=r(43554),p=r(70529),f=r(96138),m=r(75614),y=r(25237),v=r.n(y),h=r(46268),I=r(63728),P=r(56565),b=r(52322),g=v()(function(){return Promise.all([r.e(2445),r.e(5589),r.e(2182),r.e(1030),r.e(8820),r.e(2280),r.e(3228),r.e(4195),r.e(9157)]).then(r.bind(r,30647))},{ssr:!1,loadableGenerated:{webpack:function(){return[30647]}}}
1),vehicle_VehicleContact=function(e){var t=e.vehicle,r=e.type,n=e.dynamicPricing,c=(0,o.$G)().t,l=(0,a.useRouter)(),s=l.query,d=l.replace,u=l.locale,p=(0,i.useRef)(!0),y=(0,I.i)().isKioskMode;(0,i.useMemo)(function(){return c((0,f.g)(r)||r||"")},[c,r]);var v=(0,i.useMemo)(function(){var e;return Array.isArray(s.options)?s.options:(null===(e=s.options)||void 0===e?void 0:e.split("%2C"))||[]},[s.options]),O=(0,i.useMemo)(function(){var e=0;return n.filter(function(e){return v.includes(e.entityId)||e.group&&v.includes(e.group.entityId)}).forEach(function(t){return e+=t.price}),e},[v,n]),x=(0,i.useCallback)(function(e){e.type!==r&&e.type&&!p.current&&d("".concat((0,m.k)("vehicle",t),"/contact/").concat(e.type))},[d,r,t]),_=(0,i.useCallback)(function(e){return e.form.data.type=r,e.form.data.vehicle=t.entityId,e},[r,t.entityId]);return(0,b.jsxs)("div",{className:y?"text-center":"",children:[(0,b.jsx)("h3",{className:"text-uppercase",children:c("CONTACT_FORM__TITLE",{lng:u})}),(0,b.jsxs)("div",{className:"row row-cols-1 row-cols-lg-2",children:[(0,b.jsx)("div",{className:"col order-2 order-lg-1",children:(0,b.jsx)("div",{className:"mt-5",children:t?(0,b.jsx)(h.Z,{vehicle:t,optionsPrice:O}):null})}),(0,b.jsxs)("div",{className:"col order-1 order-lg-2",children:[!y&&(0,b.jsx)(g,{formId:"hyperDealerVehicleContactForm",onFormLoaded:_,onChanged:x,onLoading:function(e){return p.current=e},vehicleId:t.entityId,className:"bg-dark p-3 text-white"}),(0,b.jsx)(P.default,{show:y})]})]})]})},O=r(9654);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var x=!0,_type_=function(e){var t=e.vehicle,r=e.dynamicPricing,n=(0,a.useRouter)(),c=n.locale,y=n.query,v=(0,u.S8)(),h=(0,o.$G)().t,I=(0,i.useMemo)(function(){var e=h((0,f.g)(y.type)||l()(y.type||"")),r=[v.name,e||h("CONTACT_FORM__TITLE",{lng:c})].join(" ");return{metaTitle:r.slice(0,60),metaDescription:"".concat(r," - ").concat((0,m.YQ)(t)).slice(0,160)}},[y.type,h,v.name,t]),P=I.metaTitle,g=I.metaDescription,x=(0,i.useMemo)(function(){var e,r;return[{label:"".concat((null===(e=t.condition)||void 0===e?void 0:e.code)==="used"?h("NAVIGATION_STOCK_USED",{lng:c}):h("NAVIGATION_STOCK_NEW",{lng:c}
1)),path:"/vehicles/".concat((null===(r=t.condition)||void 0===r?void 0:r.code)==="used"?"used":"new")},{label:(0,m.YQ)(t),path:(0,m.k)("vehicle",t)},{label:h((0,f.g)(y.type)||l()(y.type||""))}]},[y.type,h,t]);return(0,b.jsxs)(d.Z,_objectSpread(_objectSpread({},e),{},{children:[(0,b.jsx)(s.PB,{title:P,description:g,openGraph:{title:P}}),(0,b.jsx)(O.Z,{className:"mt-3",breadcrumbs:x}),(0,b.jsx)("div",{className:"vehicle-contact-page py-3",children:(0,b.jsx)(p.jn,{children:(0,b.jsx)(vehicle_VehicleContact,{vehicle:t,type:y.type,dynamicPricing:r})})})]}))}},70529:function(e,t,r){"use strict";r.d(t,{DQ:function(){return usePropertiesDefinitions},jn:function(){return PropertiesDefinitionsProvider}});var n=r(95235),i=r(96365),o=r(2784),c=r(45884),l=r(52034),a=r(5632),s=r(52322);function ownKeys(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var d=(0,o.createContext)(void 0),PropertiesDefinitionsProvider=function(e){var t=(0,c.$G)().t,r=(0,a.useRouter)().locale,o={properties:(0,n.Z)({},i.RKf,l.iA.reduce(function(e,i){var o=i.propertyId,c=i.type,l=i.labelId;return e[o]={propertyId:o,type:c,labelId:l,labels:(0,n.Z)({},r,t(l,{lng:r})),meta:{}},e},{})),definitions:e.definitions};return(0,s.jsx)(d.Provider,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(r),!0).forEach(function(t){(0,n.Z)(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ownKeys(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({value:o},e))},usePropertiesDefinitions=function(){var e=(0,o.useContext)(d);if(void 0===e)throw Error("usePropertiesDefinitions must be used inside a PropertiesDefinitionsProvider");return e}},64238:function(e,t,r){"use strict";r.d(t,{l:function(){return getVehiclePrice}});var getVehiclePrice=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=!!e&&!!e.computedPrice&&Number(e.computedPrice||0)<Number(e.priceVat||0),n=Math.round(r?Number(e.computedPrice)+t:(e.priceVat?e.priceVat+t:Number(e.computedPrice)+t)||0);Number(e.masterPrice||0)&&Number(e.masterPrice)>Number(e.priceVat)&&(n=Number(e.masterPrice));var i=r&&Math.round(e.priceVat)!==n;return{price:n,isRealPromoPrice:i}}},22684:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/vehicle/[slug]/contact/[type]",function(){return r(69016)}])},45802:function(e){e.exports={breadcrumbs:"Breadcrumbs_breadcrumbs__udWtW"}},18830:function(e){e.exports={vehicleOverlay:"VehicleOverlayImage_vehicleOverlay__ed6FZ"}},18227:function(e){e.exports={price:"PricePreview_price__Bzk7x"}},40171:function(e){e.exports={resultCard:"ResultCard_resultCard__BPNpN"}},80420:function(e){e.exports={spec:"SpecPreview_spec__1wkVN"}}},function(e){e.O(0,[3661,9097,6547,8001,7068,9774,2888,179],function(){return e(e.s=22684)}),_N_E=e.O()}]);

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.