PageSourceSearch

https://www.yamaha-motor.com.ph/_next/static/chunks/8159-f1a39597766aa019.js

js yamaha-motor.com.ph collected 2026-10-02 13:18:39 UTC 29,945 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8159],{76827:function(e,n,t){"use strict";var r=t(59499),i=t(67294),o=t(94442),c=t(67161),a=t(85893);function l(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function s(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?l(Object(t),!0).forEach((function(n){(0,r.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):l(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}n.Z=function(e){var n=e.buttons,t=e.style,r=e.defaultActive,l=e.className,u=(0,i.useState)(r||0),d=u[0],p=u[1],f=(0,o.Z)().darkMode;return(0,a.jsx)("div",{className:l,style:s({display:"flex",flexWrap:"wrap"},t),children:n.map((function(e,n){return(0,a.jsx)(c.zx,{type:f?"ghost":"ghost-invert",style:s({border:"none",flex:1,background:d===n?"#505050":"transparent",color:d===n?"#fff":""},e.style),onClick:function(){e.onClick(),p(n)},children:e.children},n)}))})}},12901:function(e,n,t){"use strict";t.d(n,{Z:function(){return B}});t(58136);var r=t(5789),i=t(59499),o=(t(30467),t(55673)),c=(t(23461),t(53740)),a=t(67294),l=t(32349),s=t(94485),u=(t(54277),t(74048)),d=t(50029),p=t(87794),f=t.n(p),v=t
1(11163),h=t.n(v),x=t(67161),m=(t(6373),t(82891)),g=(t(54214),t(12386)),y=t(80651),j=t(85893);function b(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function k(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?b(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):b(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var w=function(e){var n,t=e.options,r=e.style,i=e.icon,o=e.title,c=e.onSelect,l=(0,a.useState)(""),s=l[0],u=l[1];(0,a.useEffect)((function(){null===c||void 0===c||c(s)}),[c,s]);var d=(0,j.jsx)(g.default,{selectable:!0,onSelect:function(e){var n=e.key;return u(n)},theme:"dark",style:{background:null!==r&&void 0!==r&&r.background||"none"!==(null===r||void 0===r?void 0:r.background)?null===r||void 0===r?void 0:r.background:"white",backdropFilter:"blur(20px)",border:"none",maxHeight:"250px",overflowY:"auto"},items:null===t||void 0===t?void 0:t.map((function(e){return{key:e.key,label:(0,j.jsx)("span",{style:{fontSize:(null===r||void 0===r?void 0:r.fontSize)||"1.2rem",color:(null===r||void 0===r?void 0:r.color)||"#fff"},children:e.label}),disabled:e.disabled}}))});return(0,j.jsx)(m.default,{trigger:["click"],overlay:d,children:(0,j.jsxs)("div",{style:k({fontSize:"1.2rem",display:"flex",background:(null===r||void 0===r?void 0:r.background)||"#202020",alignItems:"center",padding:".5rem 0",color:(null===r||void 0===r?void 0:r.color)||"#fff",flexDirection:"row"},r),children:[(0,j.jsx)("div",{style:{flex:1,textAlign:(null===r||void 0===r?void 0:r.textAlign)||"left"},children:(null===t||void 0===t||null===(n=t.find((function(e){return e.key===s})))||void 0===n?void 0:n.label)||o}),i||(0,j.jsx)(y.Z,{})]})})},S=(0,a.memo)(w),_=t(88767),Z=t(21182),C=t(94442),O=t(14141),P=t(10581),z=function(){var e=(0,d.Z)(f().mark((function e(){var n;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Z.rQ)("/model-comparison/interest-options");case 2:return n=e.sent,e.next=5,n.data;case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),E=function(){var e=(0,d.Z)(f().mark((function e(n){var t;return f().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Z.rQ)("/model-comparison",{params:n});case 2:return t=e.sent,e.next=5,t.data;case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),N=function(e){var n,t=(0,C.Z)().darkMode,i=(0,O.Fg)(),c=(0,_.useQuery)("interests",z).data,l=(0,_.useMutation)("monthlyInstallment",E),s=l.mutate,d=l.data,p=l.isLoading,f=(0,a.useState)(0),v=f[0],m=f[1],g=(0,a.useState)(0),y=g[0],b=g[1];(0,a.useEffect)((function(){var n;v&&y&&null!==(n=e.variant)&&void 0!==n&&n.id&&s({downpayment:v,duration_id:y,variant_id:e.variant.id})}),[v,y,null===(n=e.variant)||void 0===n?void 0:n.id]);var k=(0,a.useMemo)((function(){return(null===c||void 0===c?void 0:c.map((function(e){return{key:e.id.toString(),label:e.months+" months"}})))||[]}),[c]);return(0,a.useEffect)((function(){var n;d&&e.onCompute({downpayment:v,installmentDuration:(null===c||void 0===c||null===(n=c.find((function(e){return e.id===y})))||void 0===n?void 0:n.months)||0,monthlyInstallment:null===d||void 0===d?void 0:d.monthly})}),[d]),(0,j.jsxs)(u.default,{size:40,direction:"vertical",children:[(0,j.jsx)(S,{onSelect:function(e){return m(parseInt(e))},title:"DOWNPAYMENT",style:{background:"none",borderBottom:"1px solid ".concat(null===i||void 0===i?void 0:i.textColor),color:null===i||void 0===i?void 0:i.textColor,fontSize:"16px",textAlign:"center"},options:[10,15,20,25,30,35,40,45,50].map((function(n){var t;return{key:n.toString(),label:"".concat(n,"% / P ").concat((0,P.hB)(((null===(t=e.variant)||void 0===t?void 0:t.price)||0)*(n/100)))}}))}),(0,j.jsx)(S,{onSelect:function(e){return b(parseInt(e))},title:"NUMBER OF PERIOD",style:{background:"none",borderBottom:"1px solid ".concat(null===i||void 0===i?void 0:i.textColor),color:null===i||void 0===i?void 0:i.textColor,fontSize:"16px",textAlign:"center"},options:k}),(0,j.jsxs)(o.Z,{justify:"center",children:[(0,j.jsx)(r.Z,{span:24,style:{fontSize:"16px",o
1pacity:.5,textAlign:"center"},children:"Monthly installment price"}),(0,j.jsx)(r.Z,{style:{fontSize:"20px",fontWeight:800},children:p?"Computing...":"P ".concat((0,P.hB)((null===d||void 0===d?void 0:d.monthly)||0))})]}),(0,j.jsxs)(o.Z,{gutter:[20,20],justify:"center",children:[(0,j.jsx)(r.Z,{children:(0,j.jsx)(x.zx,{type:t?"ghost":"ghost-invert",style:{background:"transparent"},onClick:function(){return h().push("/inquiry/".concat(e.variant.vehicle_slug))},children:"INQUIRE"})}),(0,j.jsx)(r.Z,{children:(0,j.jsx)(x.zx,{style:{background:"transparent"},type:t?"ghost":"ghost-invert",onClick:function(){return h().push("https://find-dealer.yamaha-motor.com.ph/")},children:"CHECK LOCATIONS"})})]})]})};function D(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function A(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?D(Object(t),!0).forEach((function(n){(0,i.Z)(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):D(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}var B=function(){var e=(0,a.useContext)(l.VariantsContext),n=e.variants,t=e.setVariants;return(0,j.jsxs)(s.GE,{size:50,direction:"vertical",className:"glassmorphism",children:[(0,j.jsx)(o.Z,{justify:"center",children:(0,j.jsx)(c.Z.Title,{children:"FINANCING COMPARISON"})}),(0,j.jsxs)(o.Z,{justify:"space-around",gutter:[0,50],children:[(0,j.jsx)(r.Z,{span:24,md:9,children:(0,j.jsx)(N,{variant:n[0],onCompute:function(e){t((function(n){return[A(A({},n[0]),{},{finance:e}),n[1]]}))}})}),(0,j.jsx)(r.Z,{span:24,md:9,children:(0,j.jsx)(N,{variant:n[1],onCompute:function(e){t((function(n){return[n[0],A(A({},n[1]),{},{finance:e})]}))}})})]}),(0,j.jsx)(o.Z,{justify:"center",style:{fontSize:"16px",textAlign:"center"},children:(0,j.jsx)(r.Z,{children:"*This finance comparison only provides an estimated amount based on provided information and prices may vary depending on selected branch of purchase."})})]})}},41122:function(e,n,t){"use strict";var r=t(6733),i=t(1835),o=t(10581),c=t(85893);n.Z=function(e){var n=e.variants,t=e.variantType,a=function(e){var n=e.key,t=e.value;return(0,c.jsxs)(r.G7,{style:{padding:"5px",flexDirection:"row",borderBottom:"1px solid black"},children:[n&&(0,c.jsx)(r.xv,{style:{fontWeight:"black",marginRight:"2px",fontSize:"12px"},children:n}),(0,c.jsx)(r.xv,{style:{fontSize:"12px",opacity:.6},children:t})]})};return(0,c.jsx)(r.BB,{children:(0,c.jsxs)(r.T3,{size:"A4",children:[(0,c.jsxs)(r.G7,{style:{flexDirection:"column"},children:[(0,c.jsx)(r.Ee,{src:"/images/model-comparison/pdf-header.png",style:{height:"50px",objectFit:"cover"}}),(0,c.jsx)(r.xv,{style:{fontSize:"16px",textAlign:"right",marginRight:"20px"},children:"Model Comparison"})]}),(0,c.jsx)(r.G7,{style:{flexDirection:"row",borderBottom:"1px solid black",margin:"20px"},children:n.map((function(e,n){var l,s,u,d,p,f,v;return(0,c.jsxs)(r.G7,{style:{flex:1,border:"1px solid black",borderBottom:"none",borderLeft:n?"none":"1px solid black"},children:[(0,c.jsx)(r.G7,{style:{backgroundColor:"black",padding:"5px"},children:(0,c.jsxs)(r.xv,{style:{fontSize:"14px",color:"white",textAlign:"center"},children:["MODEL ",n+1]})}),a({key:"Type:",value:"Personal Commuter"===t?t:"Sport Machines"}),(0,c.jsx)(r.G7,{style:{padding:"2px",borderBottom:"1px solid black"},children:(0,c.jsx)(r.Ee,{src:"".concat(i.Z.AWS_S3,"/").concat(null===e||void 0===e?void 0:e.image),style:{height:"150px",objectFit:"contain"}})}),a({key:"Vehicle Model:",value:null===e||void 0===e?void 0:e.version_name}),a({key:"Version:",value:null===e||void 0===e?void 0:e.version.name}),a({key:"Price:",value:"P ".concat((0,o.hB)((null===e||void 0===e?void 0:e.price)||0))}),!(null===e||void 0===e||null===(l=e.finance)||void 0===l||!l.downpayment)&&a({key:"Downpayment:",value:"".concat(null===e||void 0===e||null===(s=e.finance)||void 0===s?void 0:s.downpayment,"% / P ").concat((0,o.hB)((null===e||void 0===e||null===(u=e.finance)||void 0===u?void 0:u.downpayment)/100*(null===e||void 0===e?void 0:e.price)))}),!(null===e||void 0===e||null===(d=e.finance)||void 0===d||!d.installmentDuration)&&a({key:"Number of Perio
1d:",value:"".concat(null===e||void 0===e||null===(p=e.finance)||void 0===p?void 0:p.installmentDuration," months")}),!(null===e||void 0===e||null===(f=e.finance)||void 0===f||!f.monthlyInstallment)&&a({key:"Monthly installment price:",value:"P ".concat((0,o.hB)(null===e||void 0===e||null===(v=e.finance)||void 0===v?void 0:v.monthlyInstallment))}),null===e||void 0===e?void 0:e.vehicle_specs.map((function(n,t){var i;if(null!==n&&void 0!==n&&null!==(i=n.description)&&void 0!==i&&i.length)return(0,c.jsxs)(r.G7,{style:{borderBottom:(null===e||void 0===e?void 0:e.vehicle_specs.length)>t+1?"1px solid black":"none"},children:[(0,c.jsx)(r.G7,{children:(0,c.jsx)(r.xv,{style:{textAlign:"center",padding:"5px",fontSize:"14px"},children:null===n||void 0===n?void 0:n.name.toUpperCase()})}),null===n||void 0===n?void 0:n.description.map((function(e,n){return(0,c.jsxs)(r.G7,{style:{padding:"5px"},children:[(0,c.jsx)(r.xv,{style:{fontSize:"12px"},children:e.split(":")[0]}),(0,c.jsx)(r.xv,{style:{fontSize:"12px",opacity:.6},children:e.split(":").splice(1).join(":")})]},n)}))]},t)}))]},n)}))}),(0,c.jsx)(r.xv,{style:{fontSize:"12px",opacity:.7,margin:"0 20px"},children:"* This may change according to the promotion of the dealer shop. Please ask for details at the dealer near you."})]})})}},73108:function(e,n,t){"use strict";t.d(n,{Z:function(){return _}});t(58136);var r=t(5789),i=(t(30467),t(55673)),o=(t(23461),t(53740)),c=t(50029),a=t(87794),l=t.n(a),s=t(76827),u=t(94485),d=t(67294),p=t(96486),f=t(25675),v=t.n(f),h=t(89583),x=t(1835),m=t(14141),g=t(85893),y=function(e){var n=e.variants,t=e.onSelect,o=(0,m.Fg)(),c=(0,d.useState)(),a=c[0],l=c[1];(0,d.useEffect)((function(){l(n[0])}),[n]),(0,d.useEffect)((function(){t(a)}),[a]);var s=(0,d.useMemo)((function(){return(0,p.uniqBy)(n,(function(e){return e.version.id}))}),[n]);return(0,g.jsxs)("div",{className:"glassmorphism",style:{height:"600px",marginTop:"1.5rem",display:"flex",flexDirection:"column",padding:"0% 5% 5% 5%",color:"white",gap:"25px"},children:[(0,g.jsx)(i.Z,{justify:"center",align:"middle",style:{flex:1,width:"100%",position:"relative",marginBottom:"1rem"},children:null!==a&&void 0!==a&&a.image?(0,g.jsx)(v(),{alt:"motorcycle variat image",src:"".concat(x.Z.AWS_S3,"/").concat(a.image),layout:"fill",objectFit:"contain",objectPosition:"center"}):(0,g.jsx)(h.VJF,{size:250,style:{opacity:.2}})}),(0,g.jsxs)(i.Z,{align:"middle",style:{flexDirection:"column"},children:[(0,g.jsx)(r.Z,{style:{fontSize:"2rem",fontWeight:700,marginBottom:"20px",letterSpacing:"1px",color:null===o||void 0===o?void 0:o.textColor,textTransform:"uppercase"},children:(null===a||void 0===a?void 0:a.version_name)||""}),(0,g.jsx)(r.Z,{style:{width:"100%"},children:(0,g.jsx)("div",{style:{fontSize:"1.5rem",borderBottom:"1px solid ".concat(null===o||void 0===o?void 0:o.textColor),color:null===o||void 0===o?void 0:o.textColor,width:"100%",maxWidth:"300px",margin:"auto"},children:(0,g.jsx)("select",{style:{background:"inherit",outline:"none",border:"none",width:"100%",padding:"0 .5rem",textAlign:"center",textTransform:"uppercase",fontSize:"16px",color:null===o||void 0===o?void 0:o.textColor},onChange:function(e){l(n.find((function(n){var t=n.id;return+e.target.value===t})))},children:s.map((function(e){return(0,g.jsx)("option",{value:e.id,style:{background:null===o||void 0===o?void 0:o.pageBg},children:e.version.name},e.id)}))})})})]}),(0,g.jsxs)(i.Z,{align:"middle",style:{flexDirection:"column",color:null===o||void 0===o?void 0:o.textColor},children:[(0,g.jsx)(r.Z,{style:{fontSize:"16px",opacity:.5},children:"PRICE"}),(0,g.jsxs)(r.Z,{style:{fontSize:"20px",fontWeight:700},children:["P"," ",(null===a||void 0===a?void 0:a.price.toLocaleString(void 0,{minimumFractionDigits:2,maximumFractionDigits:2}))||0]})]})]})},j=t(98165),b=function(e){var n,t=e.options,o=e.onSelect,c=(0,d.useState)(""),a=c[0],l=c[1],s=(0,d.useState)(t[0].vehicles[0].pivot.vehicle_id),u=s[0],p=s[1],f=(0,m.Fg)();(0,d.useEffect)((function(){var e,n=null===(e=t.find((function(e){return e.slug===a})))||void 0===e?void 0:e.vehicles[0].pivot.vehicle_id;p(n||t[0].vehicles[0].pivot.vehicle_id)}),[a,t]),(0,d.useEffect)((function(){o(u)}),[u]);return(0,g.jsxs)(i.Z,{justify:"space-between",align:"middle",className:"glassmorphism",style:{height:"70px",padding:"0 1.5rem 0"},children:[(0,g.jsx)(r.Z,{span:12,style:{paddingRight:"1rem"},children:(0,g.jsx)("div",{style:{fontSize:"1.5rem",borderBottom:"1px solid ".concat(null===f||void 0===f?void 0:f.textColor)},children:(0,g.jsxs)("select",{style:{background:"inherit",width:"100%",outline:"none",border:"none",padding:"0.5 0",fontSize:"16px"},onChange:function(e){l(e.target.value)},children:[(0,g.jsx)("option",{value:"",style:{background:null===f||void 0===f?void 0:f.pageBg},children:"ALL"}),null===t||void 0===t?void 0:t.map((function(e){return(0,g.jsx)("option",{value:e.slug,style:{background:null===f||void 0===f?void 0:f.pageBg},children:e.title.toUpperCase()},e.id)}))]})})}),(0,g.jsx)(r.Z,{span:12,style:{paddingLeft:"1rem"},children:(0,g.jsx)("div",{style:{borderBottom:"1px solid ".concat(null===f||void 0===f?void 0:f.textColor),fontSize:"1.5rem"},children:(0,g.jsx)("select",{style:{background:"inherit",width:"100%",outline:"none",border:"none",padding:"0.5 0",fontSize:"16px"},onChange:function(e){p(+e.target.value)},children:(null===(n=t.find((function(e){return e.slug===a})))||void 0===n?void 0:n.vehicles.map((function(e){return(0,g.jsx)("option",{value:e.pivot.vehicle_id,style:{background:null===f||void 0===f?void 0:f.pageBg},children:e.vehicle_model.toUpperCase()},e.pivot.vehicle_id)})))||t.map((function(e){var n=e.vehicles;return null===n||void 0===n?void 0:n.map((function(e){return(0,g.jsx)("option",{value:e.pivot.vehicle_id,style:{background:null===f||void 0===f?void 0:f.pageBg},children:e.vehicle_model.toUpperCase()},e.pivot.vehicle_id)}))}))})})})]})},k=t(21182),w=t(32349),S=function(){var e=(0,c.Z)(l().mark((function e(n){var t;return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,k.rQ)("/model-comparison/vehicle-variants/".concat(n));case 2:return t=e.sent,e.next=5,t.data;case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),_=function(e){var n=(0,d.useContext)(w.VariantTypeContext),t=n.variantType,a=n.setVariantType,p=(0,d.useState)(!1),f=p[0],v=p[1],h=(0,d.useState)(!1),x=h[0],m=h[1],k=(0,d.useState)([]),_=k[0],Z=k[1],C=(0,d.useState)([]),O=C[0],P=C[1],z=(0,d.useContext)(w.VariantsContext).setVariants,E=(0,d.useMemo)((function(){return e.options.filter((function(e){var n;return(null===(n=e.category)||void 0===n?void 0:n.type)===t&&e.vehicles.length}))}),[e.options,t]),N=function(){var e=(0,c.Z)(l().mark((function e(n){return l().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=Z,e.next=3,S(n);case 3:e.t1=e.sent,(0,e.t0)(e.t1);case 5:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),D=function(){var e=(0,c.Z)(l().mark((function e(n){return l().wrap((function(e){for(;;
1)switch(e.prev=e.next){case 0:return e.t0=P,e.next=3,S(n);case 3:e.t1=e.sent,(0,e.t0)(e.t1);case 5:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}();return(0,g.jsxs)(u.RR,{size:40,direction:"vertical",children:[(0,g.jsx)(i.Z,{justify:"center",children:(0,g.jsx)(o.Z.Title,{className:"title",children:"MODEL COMPARISON"})}),(0,g.jsx)(i.Z,{justify:"center",className:"header",children:(0,g.jsx)(r.Z,{span:24,md:14,children:(0,g.jsx)(s.Z,{className:"btns",buttons:[{children:"PERSONAL COMMUTER",onClick:function(){return a("Personal Commuter")},style:{flex:1}},{children:"SPORT MACHINES",onClick:function(){return a("Sports Machine")},style:{flex:1}}]})})}),(0,g.jsxs)(i.Z,{justify:"end",gutter:[30,10],className:"options",children:[(0,g.jsx)(r.Z,{span:24,lg:12,children:(0,g.jsxs)(i.Z,{justify:"end",children:[(0,g.jsx)(r.Z,{span:24,children:(0,g.jsx)(b,{options:E,onSelect:function(e){return N(e)}},Number(f))}),(0,g.jsx)(r.Z,{children:(0,g.jsxs)("div",{style:{fontSize:"16px",margin:"1rem 0",cursor:"pointer",opacity:.5,letterSpacing:"1px"},onClick:function(){return v((function(e){return!e}))},children:[(0,g.jsx)(j.Z,{size:20})," RESET"]})})]})}),(0,g.jsx)(r.Z,{span:24,lg:12,children:(0,g.jsxs)(i.Z,{justify:"end",children:[(0,g.jsx)(r.Z,{span:24,children:(0,g.jsx)(b,{options:E,onSelect:function(e){return D(e)}},Number(x))}),(0,g.jsx)(r.Z,{children:(0,g.jsxs)("div",{style:{fontSize:"16px",margin:"1rem 0",cursor:"pointer",opacity:.5,letterSpacing:"1px"},onClick:function(){return m((function(e){return!e}))},children:[(0,g.jsx)(j.Z,{size:20})," RESET"]})})]})})]}),(0,g.jsxs)(i.Z,{justify:"center",gutter:[30,30],children:[(0,g.jsx)(r.Z,{md:12,span:24,children:(0,g.jsx)(y,{variants:_,onSelect:function(e){return z((function(n){return[e,n[1]]}))}})}),(0,g.jsx)(r.Z,{md:12,span:24,children:(0,g.jsx)(y,{variants:O,onSelect:function(e){return z((function(n){return[n[0],e]}))}})})]}),(0,g.jsx)(i.Z,{justify:"center",style:{fontSize:"16px",textAlign:"center"},children:(0,g.jsx)(r.Z,{children:"* This may change according to the promotion of the dealer shop. Please ask for details at the dealer near you."})})]})}},60039:function(e,n,t){"use strict";t(54277);var r=t(74048),i=(t(30467),t(55673)),o=(t(58136),t(5789)),c=(t(23461),t(53740)),a=t(90116),l=(t(70643),t(68469)),s=t(14313),u=t(67294),d=t(32349),p=t(96486),f=t(94485),v=t(94442),h=t(85893),x=l.Z.Panel;n.Z=function(){var e=(0,u.useContext)(d.VariantsContext).variants,n=(0,v.Z)().darkMode,t=(0,u.useState)([]),l=t[0],m=t[1];return(0,u.useEffect)((function(){var n=e.map((function(e){return null===e||void 0===e?void 0:e.vehicle_specs.map((function(e){return e.name}))}));m((0,p.uniq)(p.concat.apply(void 0,(0,a.Z)(n))))}),[e]),(0,h.jsx)(f.aG,{bordered:!1,defaultActiveKey:["1"],expandIconPosition:"right",expandIcon:function(e){var n=e.isActive;return(0,h.jsx)(s.Z,{rotate:n?90:0})},style:{background:n?"#6a6a6a12":"#ebebeb"},className:"site-collapse-custom-collapse",children:l.map((function(n,t){return(0,h.jsx)(x,{header:(0,h.jsx)(c.Z.Title,{className:"header__title",children:null===n||void 0===n?void 0:n.toUpperCase()}),className:"site-collapse-custom-panel",style:{background:"inherit",borderColor:"#8b8b8b24"},children:(0,h.jsx)(r.default,{size:20,direction:"vertical",children:(0,h.jsx)(i.Z,{style:{width:"100%"},className:"content",children:e.map((function(e,t){var r;return(0,h.jsx)(o.Z,{span:12,children:null===e||void 0===e||null===(r=e.vehicle_specs.find((function(e){return e.name.toLowerCase()===(null===n||void 0===n?void 0:n.toLowerCase())})))||void 0===r?void 0:r.description.map((function(e,n){var t;return(0,h.jsxs)("div",{style:{fontSize:"16px",padding:".5rem 1rem 2rem .5rem",wordBreak:"break-word"},children:[(0,h.jsx)("div",{children:null===(t=e.split(":")[0])||void 0===t?void 0:t.split(" ").map((function(e){return"".concat(e[0].toUpperCase()).concat(e.slice(1).toLowerCase())})).join(" ")}),(0,h.jsx)("div",{children:(0,h.jsx)("b",{children:e.split(":").slice(1).join(":")})})]},n)}))},t)}))})})},t+1)}))})}},94485:function(e,n,t){"use strict";t.d(n,{GE:function(){return s},RR:function(){return l},aG:function(){return u},vk:function(){return a}});t(70643);var r=t(68469),i=(t(54277),t(74048)),o=(t(30467),t(55673)),c=t(14141),a=(0,c.ZP)(o.Z).withConfig({displayName:"style__StyledModelComparison",componentId:"sc-145lczr-0"})([".content{padding:calc(5% + 1rem);width:100%;}@media screen and (max-width:700px){.content{padding:0;}}"]),l=(0,c.ZP)(i.default).withConfig({displayName:"style__StyledModelComparisonSection",componentId:"sc-145lczr-1"})(["padding:5% 1rem;.header{.btns{border:1px solid ",";}}"],(function(e){return e.theme.textColor})),s=(0,c.ZP)(i.default).withConfig({displayName:"style__StyledFinancingComparisonSection",componentId:"sc-145lczr-2"})(["padding:5% 1rem;@media screen and (max-width:700px){margin:1rem;}"]),u=(0,c.ZP)(r.Z).withConfig({displayName:"style__StyledSpecListComparison",componentId:"sc-145lczr-3"})(["border-radius:0;width:100%;margin:0 1rem;box-shadow:0px 4px 4px rgba(0,0,0,0.305);.header__title{font-size:2rem;text-align:center;width:100%;padding:1rem;color:",";}.content{color:",";}"],(function(e){return e.theme.textColor}),(function(e){return e.theme.textColor}))},84448:function(e,n,t){"use strict";t.d(n,{bx:function(){return v}});var r=t(1835),i=t(96486),o=t(11163),c=t.n(o),a=t(5152),l=t.n(a),s=t(85893),u=l()((function(){return Promise.all([t.e(4617),t.e(4885),t.e(1228),t.e(972),t.e(5675),t.e(7273),t.e(1033),t.e(9473),t.e(3596),t.e(8826),t.e(2960),t.e(519),t.e(719),t.e(7275),t.e(2498)]).then(t.bind(t,71745))}),{loadableGenerated:{webpack:function(){return[71745]}}}),d=l()((function(){return Promise.all([t.e(4617),t.e(4885),t.e(972),t.e(5675),t.e(7273),t.e(1033),t.e(9473),t.e(3596),t.e(8826),t.e(2960),t.e(519),t.e(719),t.e(7275),t.e(4521)]).then(t.bind(t,11881))}),{loadableGenerated:{webpack:function(){return[11881]}}}),p=l()((function(){return t.e(7472).then(t.bind(t,37472))}),{loadableGenerated:{webpack:function(){return[37472]}}}),f=l()((function(){return Promise.all([t.e(1228),t.e(5675),t.e(719),t.e(4717)]).then(t.bind(t,37480))}),{loadableGenerated:{webpack:function(){return[37480]}}}),v=function(e){var n=e.sections;return(0,s.jsx)(s.Fragment,{children:(0,i.orderBy)(n,"section_order").map((function(e,n){return(0,s.jsx)(h,{section:e},n)}))})},h=function(e){var n=e.section,t=n.section_type,r=n.page_contents;return(0,s.jsx)(s.Fragment,{children:function(){switch(t){case"hero":return(0,s.jsx)(x,{heroes:r});case"embed_social":return r.map((function(e,n){return(0,s.jsx)(y,{embedID:e.embed_id},n)}));case"news_carousel":return r.map((function(e,n){return(0,s.jsx)(g,{news:e},n)}));case"carousel":return(0,s.jsx)(m,{carousels:r})}}()})},x=function(e){var n=e.heroes;return n.length?(0,s.jsx)(u,{data:n.map((function(e){return{title:"".concat(e.hero_title),description:"".concat(e.hero_description),align:{vertical:e.hero_align_vertical,horizontal:e.hero_align_horizontal},background:{source:"".concat(r.Z.AWS_S3,"/").concat(e.hero_background)},backgroundMobile:{source:"".concat(r.Z.AWS_S3,"/").concat(e.hero_mobile_image)},buttons:e.hero_buttons.map((function(e){return{text:e.hero_text,onClick:function(){if(e.hero_downloadable){var n=document.createElement("a");return n.setAttribute("src",e.hero_url),n.download="",n.click()}return e.hero_new_tab?window.open(e.hero_url,"_blank"):c().push(e.hero_url)}}})),contentMaxWidth:"700px"}}))}):null},m=function(e){var n=e.carousels;return(0,s.jsx)(f,{data:n.map((function(e){return{title:e.carousel_text_sm,description:e.carousel_text_lg,cardImage:"".concat(r.Z.AWS_S3,"/").concat(e.carousel_mobile_image),background:{src:"".concat(r.Z.AWS_S3,"/").concat(e.carousel_background),objectFit:"cover",alt:e.carousel_text_sm+" "+e.carousel_text_lg},onClick:function(){if(e.carousel_downloadable){var n=document.createElement("a");return n.setAttribute("src",e.carousel_url),n.download="",n.click()}if(e.carousel_new_tab)return window.open(e.carousel_url,"_blank");c().push(e.carousel_url)}}}))})},g=function(e){var n=e.news;return(0,s.jsx)(d,{news:n.news_article.map((function(e){return{id:e.id,title:e.title,categories:[{name:e.category.name,slug:e.category.slug}],description:e.description,slug:e.slug,backgroundImage:e.banner,date:e.date,image:e.banner}}))})},y=function(e){var n=e.embedID;return(0,s.jsx)("div",{className:"w-full min-h-screen relative",children:(0,s.jsx)(p,{embedId:n})})}},32349:function(e,n,t){"use strict";t.r(n),t.d(n,{VariantTypeContext:function(){return Z},VariantsContext:function(){return _},__N_SSP:function(){return S}});t(30467);var r=t(55673),i=(t(58136),t(5789)),o=t(5152),c=t.n(o),a=t(67294),l=t(97104),s=t(67161),u=t(12901),d=t(60039),p=t(94485),f=t(94442),v=t(11163),h=t(6733),x=t(41122),m=t(73108),g=t(6192),y=t(84448),j=t(85893),b=c()((function(){return Promise.resolve().then(t.bind(t,7022)).then((function(e){return e.Media}))}),{ssr:!1,loadableGenerated:{webpack:function(){return[7022]}}}),k=c()((function(){return Promise.all([t.e(3255),t.e(6893),t.e(458),t.e(4143)]).then(t.bind(t,458))}),{loadableGenerated:{webpack:function(){return[458]}}}),w=c()((function(){return t.e(2784).then(t.bind(t,34329))}),{loadableGenerated:{webpack:function(){return[34329]}}}),S=!0,_=(0,a.createContext)({variants:[],setVariants:function(){}}),Z=(0,a.createContext)({variantType:"Sport Machines",setVariantType:function(e){}});n.default=function(e){var n=(0,f.Z)().darkMode,t=(0,v.useRouter)(),o=(0,a.useState)([]),c=o[0],S=o[1],C=(0,a.useState)("Personal Commuter"),O=C[0],P=C[1];return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(g.default,{title:"".concat(e.page.meta_title),description:"".concat(e.page.meta_description),keywords:"".concat(e.page.meta_keywords),imagePath:"/".concat(e.page.meta_image),imageOrigin:"s3",pagePath:"".concat(e.page.meta_canonical)}),(0,j.jsx)(_.Provider,{value:{variants:c,setVariants:S},children:(0,j.jsx)(Z.Provider,{value:{variantType:O,setVariantType:P},children:(0,j.jsx)(l._z,{children:(0,j.jsxs)(b,{greaterThanOrEqual:"xs",children:[(0,j.jsx)(k,{autoHide:!0}),(0,j.jsx)(s.JH,{direction:"vertical",children:(0,j.jsxs)(p.vk,{justify:"center",children:[(0,j.jsx)(y.bx,{sections:e.page.page_sections}),(0,j.jsxs)(r.Z,{id:"main",justify:"center",className:"content",gutter:[50,100],children:[(0,j.jsx)(m.Z,{options:e.options}),(0,j.jsx)(u.Z,{}),(0,j.jsx)(d.Z,{}),(0,j.jsxs)(r.Z,{justify:"center",gutter:[20,20],style:{width:"100%"},children:[(0,j.jsx)(i.Z,{children:(0,j.jsx)(h.WD,{document:(0,j.jsx)(x.Z,{variantType:O,variants:c}),fileName:"model-comparison",children:function(e){return e.loading?(0,j.jsx)(s.zx,{type:n?"ghost":"ghost-invert",style:{background:"transparent"},disabled:!0,children:"Generating PDF"}):(0,j.jsx)(s.zx,{type:n?"ghost":"ghost-invert",style:{background:"transparent"},children:"DOWNLOAD"})}})}),(0,j.jsx)(i.Z,{children:(0,j.jsx)(s.zx,{style:{background:"transparent"},type:n?"ghost":"ghost-invert",onClick:function(){return t.push("Personal Commuter"===O?"/personal-commuter":"/sport-machines")},children:"CHECK MORE"})})]})]})]})}),(0,j.jsx)(w,{})]})})})})]})}},21182:function(e,n,t){"use strict";t.d(n,{dc:function(){return p},qC:function(){return d},rQ:function(){return u}});t(94125);var r=t(50029),i=t(87794),o=t.n(i),c=t(9669),a=t.n(c),l=t(1835),s=a().create({baseURL:l.Z.BASE_URL}),u=function(){var e=(0,r.Z)(o().mark((function e(n,t){var r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,s.get(n,t);case 3:return r=e.sent,e.next=6,r.data;case 6:return e.abrupt("return",e.sent);case 9:throw e.prev=9,e.t0=e.catch(0),e.t0;case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(n,t){return e.apply(this,arguments)}}(),d=function(){var e=(0,r.Z)(o().mark((function e(n,t,r){var i;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,s.post(n,t,r);case 3:return i=e.sent,e.abrupt("return",i.data);case 7:throw e.prev=7,e.t0=e.catch(0),e.t0;case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(n,t,r){return e.apply(this,arguments)}}(),p=function(){var e=(0,r.Z)(o().mark((function e(n){var t;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,d("/files/download",{file:n},{responseType:"blob"});case 3:return t=e.sent,e.abrupt("return",URL.createObjectURL(new Blob([t])));case 7:return e.prev=7,e.t0=e.catch(0),e.abrupt("return",n);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})));return function(n){return e.apply(this,arguments)}}()},42480:function(){}}]);

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.