1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8807],{387:e=>{e.exports={"!container":"error___container__Yi_eV",container:"error_container__qI6u9","container-fluid":"error_container-fluid__k6onT",row:"error_row__aGSeo",col:"error_col__dzziW",col_12:"error_col_12__8jkxi",error_page_banner:"error_error_page_banner__074R3",error_page_img:"error_error_page_img__CoOKw",error_page_content:"error_error_page_content__Q1ot1",error_page_head:"error_error_page_head__YRCUn",error_page_desc:"error_error_page_desc__kiVuj",error_page_btn:"error_error_page_btn__Ap4h_","sm:col_12":"error_sm__col_12__vDODO","md:container":"error_md__container__GQvug","md:row":"error_md__row__tExJK","md:col_4":"error_md__col_4__gJbyQ","md:col_6":"error_md__col_6__fnd1_","md:col_8":"error_md__col_8__hLp06"}},9119:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var l=r(95155),n=r(12115);function i(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}function o(e){let{Bmenu:t,transparent:r,activeLink:o,setActiveLink:a,onItemClick:s}=e;return(0,n.useEffect)(()=>{let e=window.location.hash;if(!e)return;a(e);let t=e.replace("#",""),r=null,l=0,n=null,i=null,o=()=>{let e=document.getElementById(t);if(!e)return!1;let n=e.getBoundingClientRect().top+window.pageYOffset-100;return window.scrollTo({top:n,behavior:"auto"}),n===r?l++:l=0,r=n,l>=2},s=new ResizeObserver(()=>{n&&cancelAnimationFrame(n),n=requestAnimationFrame(()=>{o()&&c()})}),c=()=>{s.disconnect(),n&&cancelAnimationFrame(n),i&&clearTimeout(i)};return s.observe(document.body),o(),i=setTimeout(c,2e3),c},[]),(0,n.useEffect)(()=>{let e=()=>{if(!t)return;let e=null,r=-1/0;for(let l of t){let t=l.url.indexOf("#");if(-1===t)continue;let n=l.url.substring(t),i=n.slice(1);if(!i)continue;let o=document.getElementById(i);if(!o)continue;let a=o.getBoundingClientRect().top-100;a<=8&&a>r&&(r=a,e=n)}e!==o&&a(e)};return window.addEventListener("scroll",e),e(),()=>window.removeEventListener("scroll",e)},[t,o,a]),(0,l.jsx)("nav",{children:(0,l.jsx)("ul",{className:"flex justify-end mt-2 gap-1 font-suzukiBold flex-col md:flex-row",children:t&&t.map((e,t)=>{let n=e.url.startsWith("http"),c="blank"===e.target?"_blank":(e.target,"_self"),d=e.url.includes("#"),u=d?"#"+e.url.split("#")[1]:null,m=d?o===u:o===e.url;return(0,l.jsx)("li",{className:i(r?"bk-menu":"hover:text-inverted hover:bg-primary-blue","text-default","uppercase"),onClick:()=>s(),children:n&&!d?(0,l.jsx)("a",{href:e.url,target:c,className:i(r?"text-[#000]":"border-t-0","px-3 py-[20px] md:h-[10px] flex justify-center items-center font-SuzukiPROBold",m?"bg-primary-blue text-inverted font-suzukiBold":""),children:e.text}):(0,l.jsx)("a",{href:d?u:e.url.includes("/")?e.url:"/".concat(e.url),onClick:e=>{d&&((e,t)=>{e.preventDefault();let r=document.getElementById(t.replace("#",""));if(r){let e=r.getBoundingClientRect().top+window.pageYOffset-100;window.scrollTo({top:e,behavior:"smooth"})}a(t),window.history.pushState(null,null,t),s&&s()})(e,u)},className:i(r?"text-[#000]":"border-t-0","px-3 py-[20px] md:h-[10px] flex justify-center items-center font-SuzukiPROBold",m?"bg-primary-blue text-inverted font-suzukiBold":""),"aria-current":m?"page":void 0,children:e.text})},t)})})})}var a=r(52166),s=r(96779),c=r(24099);function d(e){var t,r;let{menuId:i,menudata:d,title:u=c.Constants.bookMarkMenu.CAR_DETAILS}=e,m=null==d?void 0:d.filter(e=>e._id===i),[_,f]=(0,n.useState)(!0),[h,x]=(0,n.useState)(!1),[v,p]=(0,n.useState)(null);return((0,n.useEffect)(()=>{"undefined"!=typeof document&&x(document.body.classList.contains("skip-visible"))},[]),(0,n.useEffect)(()=>{let e=()=>{f(0===window.scrollY)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[]),(null==m||null==(t=m[0])?void 0:t.nestableArray)&&!(m[0].nestableArray.length<1))?(0,l.jsx)("div",{className:"background-subNav ".concat(h?"static mt-[1px]":"fixed z-[50]"," ").concat("top-[60px]"," \n left-0 right-0 w-full md:z-[2] z-[2] transition-all duration-500 container-fluid"),children:(0,l.jsxs)("div",{className:"container mx-auto",children:[(0,l.jsx)("div",{className:"md:hidden car_details__select",children:(0,l.jsx)(a.EN,{children:e=>{var t,r,n,i;let{open:c,close:d}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(a.EN.Button,{className:"flex justify-between w-full px-4 py-2 text-sm font-medium text-left bg-purple-100 rounded-lg hover:bg-purple-200 focus:outline-none focus-visible:ring focus-visible:ring-purple-500 focus-visible:ring-opacity-75",children:[(0,l.jsx)("span",{children:(null==m||null==(n=m[0])||null==(r=n.nestableArray)||null==(t=r.find(e=>(e.url.includes("#")?"#"+e.url.split("#")[1]:e.url)===v))?void 0:t.text)||u}),(0,l.jsx)(s.A,{className:"".concat(c?"":"rotate-180 transform"," h-5 w-5 text-purple-500")})]}),(0,l.jsx)(a.EN.Panel,{children:(0,l.jsx)("ul",{className:"flex flex-col text-center max-h-[75vh] overflow-y-auto scrollbar-thin",children:(0,l.jsx)(o,{Bmenu:null==m||null==(i=m[0])?void 0:i.nestableArray,transparent:_,activeLink:v,setActiveLink:p,onItemClick:()=>d()})})})]})}})}),(0,l.jsx)("div",{className:"hidden md:block",children:(0,l.jsx)(o,{Bmenu:null==m||null==(r=m[0])?void 0:r.nestableArray,transparent:_,activeLink:v,setActiveLink:p})})]})}):null}},17931:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var l=r(95155),n=r(12115),i=r(15239);r(14643);var o=r(52619),a=r.n(o);let s=e=>{let{icon:t,title:r,href:o,onClick:s,Id:c,alt_text:d,target:u}
1=e,[m,_]=(0,n.useState)(!0),[f,h]=(0,n.useState)(!1);return(0,l.jsx)("div",{className:"icons-grid text-center",id:c,children:o?(0,l.jsx)(a(),{id:c,href:o||"#",onClick:s,passHref:!0,target:u,rel:"_blank"===u?"noopener noreferrer":void 0,legacyBehavior:!0,children:(0,l.jsxs)("div",{className:"text-center inline-block cursor-pointer my-10",tabIndex:0,role:"link",onClick:()=>{o&&window.open(o,u||"_self"),s&&s()},onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),o&&window.open(o,u||"_self"),s&&s())},children:[!f&&(0,l.jsx)(i.default,{id:c,height:40,width:40,className:"text-center mx-auto fixed-size-icon",onLoadingComplete:()=>_(!1),onError:()=>h(!0),src:t,alt:d||"Experience Icon",style:{opacity:+!m,transition:"opacity 150ms ease"}}),(0,l.jsx)("p",{className:"font-bold mt-3 text-[16px] ".concat(["HUN","CZ"].includes("CRA")&&"eVITARA SHOWROOM"==r?"":"uppercase"),children:r})]})}):(0,l.jsxs)("a",{className:"text-center mx-auto inline-block cursor-pointer my-10",id:c,target:u,rel:"noopener noreferrer",onClick:s,tabIndex:"0",role:"button",onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&s&&(e.preventDefault(),s(e))},children:[!f&&(0,l.jsx)(i.default,{id:c,height:40,width:40,className:"text-center mx-auto fixed-size-icon",onLoadingComplete:()=>_(!1),onError:()=>h(!0),src:t,alt:d||"Experience Icon",style:{opacity:+!m,transition:"opacity 150ms ease"}}),(0,l.jsx)("p",{className:"font-bold mt-3 text-[16px] ".concat(["HUN","CZ"].includes("CRA")&&"eVITARA SHOWROOM"==r?"":"uppercase",' aria-hidden="true"'),children:r})]})})}},46526:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var l=r(95155),n=r(15239),i=r(52619),o=r.n(i),a=r(89293),s=r(387),c=r.n(s),d=r(24099);let u=e=>{let t=(0,a.default)();return(0,l.jsx)(l.Fragment,{children:(0,l.jsxs)("div",{className:c().error_page_banner+" bg-defaut-color",children:[(0,l.jsx)("div",{className:c().error_page_img,children:(0,l.jsx)(n.default,{src:t?e.imageMob:e.image,fill:!0,sizes:"100vw",alt:"Error page banner",style:{objectFit:"cover"}})}),(0,l.jsxs)("div",{className:c().error_page_content,children:[(0,l.jsx)("h1",{className:c().error_page_head,children:e.error}),(0,l.jsx)("p",{className:c().error_page_desc,children:d.Constants.generic.Four0Four}),(0,l.jsx)(o(),{href:"/",className:c().error_page_btn,children:e.btn})]})]})})}},55002:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});var l=r(95155);function n(e){let{disclaimerList:t}=e;if(!Array.isArray(t)||0===t.length)return null;let r=Math.ceil((null==t?void 0:t.length)/2),n=null==t?void 0:t.slice(0,r),i=null==t?void 0:t.slice(r);return(0,l.jsx)("div",{className:"container mt-20",children:(0,l.jsxs)("div",{className:"flex w-full gap-4",children:[(0,l.jsx)("ul",{className:"w-1/2 list-none",children:n.map((e,t)=>(0,l.jsx)("li",{children:(0,l.jsxs)("p",{style:{fontSize:"16px"},children:[(0,l.jsx)("span",{style:{fontFamily:"SuzukiPROBold"},children:null==e?void 0:e.name})," ",null==e?void 0:e.description]})},t))}),(0,l.jsx)("ul",{className:"w-1/2 list-none",children:i.map((e,t)=>(0,l.jsx)("li",{children:(0,l.jsxs)("p",{style:{fontSize:"16px"},children:[(0,l.jsx)("span",{style:{fontFamily:"SuzukiPROBold"},children:null==e?void 0:e.name})," ",null==e?void 0:e.description]})},t+r))})]})})}r(12115)},84006:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var l=r(12115),n=r(95125),i=r(14643),o=r(22408);function a(){let{modelCode:e,lobValue:t,priceKeys:r,cmsVariants:a,overrides:s,enabled:c=!0,extraQueryParams:d=""}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[u,m]=(0,l.useState)(0),[_,f]=(0,l.useState)(0),[h,x]=(0,l.useState)(0),[v,p]=(0,l.useState)(!1),[g,b]=(0,l.useState)([]),[j,w]=(0,l.useState)(null),N=(0,l.useMemo)(()=>{let e=new Map;return(j||[]).forEach(t=>{var r,l;if((null==t?void 0:t.visibility)&&(null==t||null==(r=t.visibility)?void 0:r.website)!==!0)return;let n=null==t||null==(l=t.variant_code)?void 0:l.toString().toLowerCase();if(!n)return;let i=new Set;((null==t?void 0:t.colors)||[]).forEach(e=>{var t;let r=null==e||null==(t=e.color_code)?void 0:t.toString().toLowerCase();r&&i.add(r)}),e.set(n,i)}),e},[j]);return(0,l.useEffect)(()=>{if(!c||!e||null==t)return;if(a&&a.length)return void w(a);let r=!1;return(async()=>{let l=(await (null==t?Promise.resolve([]):n.A.get("".concat(i.HF.APP_URL_PRODUCTS,"v2/model?lob=").concat(t,"&variantDetails=true")).then(e=>{var t;return(null==e||null==(t=e.data)?void 0:t.data)||[]}).catch(()=>[]))).find(t=>{var r;return(null==t||null==(r=t.model_code)?void 0:r.toLowerCase())===e.toLowerCase()}),o=(null==l?void 0:l.variants)||[];r||w(o)})(),()=>{r=!0}},[e,t,c,a]),(0,l.useEffect)(()=>
1{if(!c||!e||null==t||null===j)return;let l=!1;return(async()=>{var a,c,u,_,h,v;let g,j=(0,o.us)(),w="".concat(i.HF.COMMON_MASTER_API,"/sellingPrices?modelCode=").concat(e)+"&startDate=".concat(j,"&endDate=").concat(j)+"&dealerCode=".concat(i.HF.DEALER_CODE,"&lob=").concat(t).concat(d);try{g=await n.A.get(w,i.HF.HEADER_DEALER_LOCATOR)}catch(e){return}if(l)return;let y=(null==g||null==(a=g.data)?void 0:a.data)||[];b([...y]);let k=N.size>0,C=1/0,E=1/0,S=1/0;for(let e of y)for(let t of(null==e?void 0:e.sellingPriceDetails)||[]){if(k){let e=null==t||null==(c=t.variantCode)?void 0:c.toString().toLowerCase(),r=null==t||null==(u=t.colorCode)?void 0:u.toString().toLowerCase();if("*"!==e){if(!N.has(e))continue;let t=N.get(e);if("*"!==r&&!t.has(r))continue}}let e=Number(t[null==r?void 0:r.first]),l=Number(t[null==r?void 0:r.second]),n=Number(t[null==r?void 0:r.third]);(0,o.EM)(e)&&(C=Math.min(C,e)),(0,o.EM)(l)&&(E=Math.min(E,l)),(0,o.EM)(n)&&(S=Math.min(S,n))}let A=Number.isFinite(C)?C:0,R=Number.isFinite(E)?E:0,F=Number.isFinite(S)?S:0,O={modelCode:e,countryCode:null===i.HF||void 0===i.HF?void 0:i.HF.COUNTRY_CODE};(null==s?void 0:s.firstPrice)&&(A=null!=(_=s.firstPrice(A,O))?_:A),(null==s?void 0:s.secondPrice)&&(R=null!=(h=s.secondPrice(R,O))?h:R),(null==s?void 0:s.thirdPrice)&&(F=null!=(v=s.thirdPrice(F,O))?v:F),m(A),f(R),x(F),y.length>0&&p(!0)})(),()=>{l=!0}},[e,t,c,d,N,j]),{firstPrice:u,secondPrice:_,thirdPrice:h,isPriceLoaded:v,variantPrice:g}}},96286:(e,t,r)=>{"use strict";r.d(t,{A:()=>w});var l=r(95155),n=r(12115),i=r(11467),o=r(33862),a=r(15239),s=r(14643),c=r(24099),d=r(22408),u=r(59565),m=r(52619),_=r.n(m);r(55817);var f=r(67909),h=r(63958);r(70750);var x=r(36692),v=r(53298),p=r(89293),g=r(84006);let b=(0,f.default)(()=>Promise.resolve().then(r.bind(r,87585)).then(e=>e.Modal),{loadableGenerated:{webpack:()=>[87585]},ssr:!1}),j=c.Constants.homeSuzukiCard;function w(e){var t;let{cardClassName:r,imgSrc:c,imgSrcMob:m,alt_text:f,Id:w,cardTitle:N,cardItemPrice:y,itemFuelType:k,itemSeater:C,cardLink:E,modelCode:S,borderProp:A,offer_price:R,rable_price:F,price:O,local:H,car_page_price_one:z,car_page_price_two:D,car_page_price_three:I,car_page_pricetext_two:M,car_page_pricetext_three:P,additionalInformation:L,cardIndex:T=0,perfectSuzuki:B,disclaimerData:U,carData:Y}=e,[V,K]=(0,n.useState)(!1),[W,G]=(0,n.useState)(!1),[Q,Z]=(0,n.useState)(!1),[J,q]=(0,n.use
1State)(!1),[$,X]=(0,n.useState)(!1),ee=(0,n.useRef)(null),[et,er]=(0,n.useState)(""),el=(0,i.d4)(e=>{var t;return null==e||null==(t=e.app)?void 0:t.LobValue}),en=null==B||null==(t=B[0])?void 0:t.cta_list,ei=(0,i.wA)(),eo=(0,p.default)(),ea=(0,i.d4)(e=>{var t;return null==e||null==(t=e.app)?void 0:t.disclaimerSetting}),{firstPrice:es,secondPrice:ec,thirdPrice:ed,isPriceLoaded:eu}=(0,g.A)({modelCode:S,lobValue:el,priceKeys:{first:z,second:D,third:I},cmsVariants:null==Y?void 0:Y.variants,overrides:{firstPrice:(e,t)=>{let{countryCode:r,modelCode:l}=t;if("PH"===r){if("DZ"===l)return 92e4;if("JA"===l)return 1698e3;if("ER"===l)return 1178e3}return"IDN"===r&&"NEW-CARRY-03"===l?1707e5:e}},enabled:null!==el&&$,extraQueryParams:"&status=true"});return(0,n.useEffect)(()=>{q(!0)},[]),(0,n.useEffect)(()=>{if(!ee.current)return;let e=new IntersectionObserver(t=>{t.forEach(t=>{t.isIntersecting&&(X(!0),e.disconnect())})},{rootMargin:"200px 0px"});return e.observe(ee.current),()=>e.disconnect()},[]),(0,n.useEffect)(()=>{er(window.location.origin)},[]),(0,l.jsxs)("div",{className:r?r+" homeSuzukiCard":"homeSuzukiCard",ref:ee,children:[(0,l.jsx)(_(),{className:"cursor-pointer",href:H||(null==E?void 0:E.includes("http"))?E:(0,u.c$)("/".concat(3==el?"marine":2==el?"bike":"cars","/").concat(E)),onClick:e=>{var t;disableLink&&e.preventDefault(),null==(t=onClick)||t(e)},tabIndex:0,children:(0,l.jsx)("div",{className:"cursor-pointer homeSuzukiCard__image",id:w,children:(0,l.jsxs)("div",{style:{position:"relative",width:"100%",aspectRatio:"310 / 200"},children:[!W&&!Q&&(0,l.jsx)("div",{style:{position:"absolute",inset:0},children:(0,l.jsx)(h.A,{height:"100%",width:"100%"})}),!Q&&(0,l.jsx)(a.default,{src:eo?m:c,className:A,width:310,height:200,alt:f||"Image",onError:()=>Z(!0),onLoadingComplete:()=>G(!0),style:{opacity:+!!W,transition:"opacity 200ms ease",width:"100%",height:"100%",objectFit:"contain"}})]})})}),(0,l.jsx)("div",{className:"homeSuzukiCard__details",children:(0,l.jsxs)("div",{className:"homeSuzukiCard__details--info",style:{width:"100%"},children:[(0,l.jsxs)("div",{className:"flex gap-3 justify-between",children:[(0,l.jsxs)("div",{className:"flex gap-[10px]",style:{width:"100%"},children:[(0,l.jsx)("h2",{className:"homeSuzukiCard__details--title ".concat(["HUN","RO","IDN","SLA","SK","CZ","PH"].includes(null===s.HF||void 0===s.HF?void 0:s.HF.COUNTRY_CODE)?"normal-case":""),style:{width:"90%"},children:N}),L&&(null==L?void 0:L.enable)&&(0,l.jsxs)("div",{className:"homeSuzukiCard__priceInfo",style:{flexShrink:"0"},children:[(0,l.jsxs)("div",{className:"tool-tip-img inline-flex items-center align-middle cursor-pointer",tabIndex:0,onMouseEnter:()=>K(!0),role:"button",onClick:()=>K(!0),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),K(!0))},children:[(0,l.jsx)(a.default,{src:"".concat(s.HF.IMG_STATIC_URL,"assets/images/infoIcon.svg"),height:15,width:15,alt:"Info Icon",style:{width:15,height:15,objectFit:"contain"}}),(0,l.jsx)("p",{className:"homeSuzukiCard__priceInfo_title",children:null==L?void 0:L.title})]}),(0,l.jsx)(b,{open:V,closeIcon:(0,l.jsx)("span",{style:{color:"#fff",fontSize:"20px",fontWeight:"bold"},children:"\xd7"}),onClose:()=>K(!1),center:!0,classNames:{modal:"customModal"},children:(0,l.jsx)("div",{className:"tool-tip-wrap md:max-w-[925px] max-w-[350px] md:max-h-[300px] max-h-[500px]",children:(0,l.jsx)("p",{className:"mb-0 text-[12px] text-inverted font-suzukiRegular m-[10px]",children:null==L?void 0:L.description})})})]})]}),(0,l.jsx)(o.A,{type:"button_dark_arrow",buttontext:"",Id:w,href:H||(null==E?void 0:E.includes("http"))?E:(0,u.c$)("/".concat(3==el?"marine":2==el?"bike":"cars","/").concat(E)),enableFocus:!0,classname:"button_dark_arrow",target:(null==E?void 0:E.includes("http"))?"_blank":"_self"})]}),eu&&(0,d.EM)(es)&&es>0?(0,l.jsxs)("h3",{className:"homeSuzukiCard__details--price",children:[(null===s.HF||void 0===s.HF?void 0:s.HF.COUNTRY_CODE)!="HUN"&&j.FROM," ",(0,d.vv)(es||y),(null===s.HF||void 0===s.HF?void 0:s.HF.COUNTRY_CODE)=="HUN"&&"-"+j.FROM]}):"",eu&&(0,d.EM)(ec)&&ec>
10&&M?(0,l.jsxs)("div",{className:"mb-[5px] font-suzukiPRORegular text-small2 md:text-medium",children:[M," ",(null===s.HF||void 0===s.HF?void 0:s.HF.COUNTRY_CODE)!="HUN"&&j.FROM,":"," ",(0,l.jsxs)("span",{className:"mb-[5px] font-suzukiPRORegular text-small2 md:text-medium",children:[(0,d.vv)(ec),(null===s.HF||void 0===s.HF?void 0:s.HF.COUNTRY_CODE)=="HUN"&&"-"+j.FROM,"*"]})]}):"",eu&&(0,d.EM)(ed)&&ed>0&&P?(0,l.jsxs)("div",{className:"mb-[5px] font-suzukiPRORegular text-small2 md:text-medium",children:[P,": ",(0,d.vv)(ed)+"*"]}):""]})}),(0,l.jsx)("div",{className:"offer-grid-content",children:(null==en?void 0:en.length)>0?(0,l.jsx)(l.Fragment,{children:null==en?void 0:en.map((e,t)=>{let r=null!=e.form&&"text"!=e.form&&""!=e.form;return(0,l.jsx)("div",{className:"compareItem__CTAs ".concat(0==t?"mt-[10px]":""),children:(0,l.jsx)(o.A,{hideBorder:!1,type:"button_dark_arrow_button",buttontext:null==e?void 0:e.cta_name,href:r?null:e.cta_link.includes("http")||e.cta_link.includes("https")?e.cta_link:et+"/"+e.cta_link,target:(null==e?void 0:e.cta_target)=="true"?"_blank":"_self",onClick:()=>!!r&&ei((0,x.fi)(null==e?void 0:e.form)),fontManage:"md:text-[12px] lg:text-[12px] text-[10px]"})},t)})}):""}),ea&&(null==ea?void 0:ea.publishedValue)&&(0,l.jsx)(v.A,{disclaimerData:U})]})}}}]);
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.