1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1744,5401],{14490:(e,l,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/index.old",function(){return n(83643)}])},31467:(e,l,n)=>{"use strict";n.r(l),n.d(l,{default:()=>_});var t=n(37876),o=n(14232),a=n(74695),i=n(69359),r=n(13559),d=n(25660),s=n(9280);function c(e){let{data:l,modelsData:n,perfectSuzuki:o}=e,a=(0,s.A)();return(0,t.jsx)("div",{className:"grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6",children:null==l?void 0:l.map((e,l)=>{var i,s,c,u,m,_,g,p,v,h,b,f,x,S,y,k;let C=null==n?void 0:n.filter(l=>(null==l?void 0:l._id)===(null==e?void 0:e._id))[0],j=(null==C||null==(i=C.images)?void 0:i.desk_small)||(null==C?void 0:C.image)||"";return C&&(0,t.jsx)(r.A,{Id:"HomePage"+(null==C||null==(s=C.model_code)?void 0:s.replace(/\s+/g,"")),modelCode:null==C?void 0:C.model_code,cardClassName:"",imgSrc:j?"".concat(d.configuration.IMG_URL).concat(j):"",imgSrcMob:(null==C||null==(c=C.images)?void 0:c.mob_small)?"".concat(d.configuration.IMG_URL).concat(null==C||null==(u=C.images)?void 0:u.mob_small):"",alt_text:a?(null==C||null==(m=C.images)?void 0:m.mob_small_alt)||((null==C||null==(_=C.images)?void 0:_.desk_small)?"Suzuki_".concat(null==C||null==(v=C.images)||null==(p=v.desk_small)||null==(g=p.split("/").pop())?void 0:g.split(".")[0]):""):(null==C||null==(h=C.images)?void 0:h.desk_small_alt)||((null==C||null==(b=C.images)?void 0:b.desk_small)?"Suzuki_".concat(null==C||null==(S=C.images)||null==(x=S.desk_small)||null==(f=x.split("/").pop())?void 0:f.split(".")[0]):""),cardTitle:null==C?void 0:C.model_name,cardItemPrice:null==C?void 0:C.retail_price,itemFuelType:null==C||null==(y=C.fuel_type)?void 0:y.toUpperCase(),itemSeater:null==C?void 0:C.vehicle_type,cardLink:null==C?void 0:C.page_url,offer_price:null==C?void 0:C.price4,rable_price:null==C?void 0:C.price3,price:null==C?void 0:C.price2,car_page_price_one:null==C?void 0:C.car_page_price_one,car_page_price_two:null==C?void 0:C.car_page_price_two,car_page_price_three:null==C?void 0:C.car_page_price_three,car_page_pricetext_two:null==C?void 0:C.car_page_pricetext_two,car_page_pricetext_three:null==C?void 0:C.car_page_pricetext_three,additionalInformation:null==C?void 0:C.additionalInformation,perfectSuzuki:o,disclaimerData:null==C||null==(k=C.images)?void 0:k.disclaimers},l)})})}var u=n(62219),m=n(29399);function _(e){let{sectionHeading:l,carsData:n,modelsData:r,perfectSuzuki:s}=e,[_,g]=(0,o.useState)(!1);(0,a.d4)(e=>{var l;return null==e||null==(l=e.app)?void 0:l.LobValue});let p=(0,o.useRef)([]);(0,o.useEffect)(()=>{let e=e=>{"Tab"===e.key&&document.body.classList.add("keyboard-navigation")},l=()=>{document.body.classList.remove("keyboard-navigation")};return document.addEventListener("keydown",e),document.addEventListener("mousedown",l),()=>{document.removeEventListener("keydown",e),document.removeEventListener("mousedown",l)}},[]);let v=(null==n?void 0:n.filter(e=>{var l;return(null==(l=e.cars)?void 0:l.length)>0}))||[];return(0,t.jsxs)("div",{className:"perfectSuzuki__container overflow-hidden",children:[(0,t.jsx)("div",{className:"container mx-auto",children:(0,t.jsx)("h1",{className:"perfectSuzuki__container--sectionHeading",tabIndex:0,children:l})}),(0,t.jsxs)("div",{className:"perfectSuzuki__container--tabs container-with-padding",id:"perfectSuzukiSection",children:[v.length>0&&(0,t.jsxs)(i.oz.Group,{children:[(0,t.jsx)(i.oz.List,{className:"react-tabs__tab-list border-b-2 border-b-tab-color mb-[36px] pl-[5%] md:pl-0 whitespace-nowrap overflow-x-scroll md:overflow-x-auto overflow-y-hidden md:whitespace-nowrap scrollbar-hide min-h-[48px] leading-[48px]",children:v.map((e,l)=>(0,t.jsx)(i.oz,{ref:e=>p.current[l]=e,className:e=>{let{selected:l}=e;return"react-tabs__tab multitab-tab font-SuzukiPROBold uppercase text-center text-medium min-w-[125px] px-[20px] py-[10px] relative inline-block border-b-2 bottom-[0px] border-transparent cursor-pointer focus:outline-none ".concat(l?"react-tabs__tab--selected border-b-[5px] text-primary-blue border-b-primary-blue":"text-tab-color")},onKeyDown:e=>{"Tab"===e.key&&!e.shiftKey&&l<v.length-1&&(e.preventDefault(),p.current[l+1].focus()),"Tab"===e.key&&e.shiftKey&&l>0&&(e.preventDefault(),p.current[l-1].focus())},onFocus:e=>e.target.scrollIntoView({behavior:"smooth",block:"nearest",inline:"center"}),role:"tab",tabIndex:0,children:null==e?void 0:e.title},l))}),(0,t.jsx)(i.oz.Panels,{children:v.map((e,l)=>(0,t.jsx)(i.oz.Panel,{className:"react-tabs__tab-panel react-tabs__tab-panel--selected",role:"tabpanel",tabIndex:-1,
1children:(0,t.jsx)("div",{className:"container mx-auto",children:(0,t.jsx)(c,{data:e.cars,modelsData:null==r?void 0:r.data,perfectSuzuki:s})})},l))})]}),"true"===d.configuration.SHOW_TNC_FIND_SUZUKI&&(0,t.jsxs)("div",{tabIndex:0,role:"link",className:"mt-10 ml-4 md:ml-0 underline text-[#3366CC] cursor-pointer w-fit",onClick:()=>g(!0),onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&g(!0)},children:[m.Constants.findSuzuki.TERMS_AND_CONDITIONS,"*"]})]}),_&&(0,t.jsx)(u.A,{open:_,onClose:()=>g(!1)})]})}},52454:(e,l,n)=>{"use strict";n.d(l,{A:()=>s});var t=n(37876);n(14232);var o=n(74695),a=n(45127),i=n(25660),r=n(14e3);function d(e){let{bannerDisclaimerOne:l,bannerDisclaimerTwo:n,bannerDisclaimerThree:o,dataLayout:a}=e;return(0,t.jsxs)("div",{className:"flex flex-col ".concat(2===a?"":"md:flex-row"," w-full gap-4"),children:[l&&(null==l?void 0:l.length)>0&&(0,t.jsx)("div",{className:"flex-1 bg-gray-100 pl-4 pr-4 pt-3",style:{marginBottom:"0px"},children:(0,t.jsxs)("div",{className:"flex gap-4",children:[(0,t.jsx)("p",{children:"1"}),(0,t.jsx)("div",{children:null==l?void 0:l.map((e,l)=>(0,t.jsx)("p",{style:{marginBottom:"0px"},children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:e&&(null==e?void 0:e.description)}},l)}))})]})}),n&&(null==n?void 0:n.length)>0&&(0,t.jsx)("div",{className:"flex-1 bg-gray-100 pl-4 pr-4 pt-3",style:{marginBottom:"0px"},children:(0,t.jsxs)("div",{className:"flex gap-4",children:[(0,t.jsx)("p",{children:"2"}),(0,t.jsx)("div",{children:null==n?void 0:n.map((e,l)=>(0,t.jsx)("p",{style:{marginBottom:"0px"},children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:e&&(null==e?void 0:e.description)}},l)}))})]})}),o&&(null==o?void 0:o.length)>0&&(0,t.jsx)("div",{className:"flex-1 bg-gray-100 pl-4 pr-4 pt-3",style:{marginBottom:"0px"},children:(0,t.jsxs)("div",{className:"flex gap-4",children:[(0,t.jsx)("p",{children:"3"}),(0,t.jsx)("div",{children:null==o?void 0:o.map((e,l)=>(0,t.jsx)("p",{style:{marginBottom:"0px"},children:(0,t.jsx)("div",{dangerouslySetInnerHTML:{__html:e&&(null==e?void 0:e.description)}},l)}))})]})})]})}function s(e){var l,s,c,u,m,_,g,p,v,h,b,f,x,S,y,k,C,j,w,z,T,N,F,E,L,A,I,P,D,O,M,R,B,H,U,V,G,W,q,K,X,Y,Z,J,Q,$,ee,el,en,et,eo,ea,ei,er,ed,es,ec,eu,em,e_,eg,ep,ev,eh,eb,ef,ex,eS,ey,ek,eC,ej,ew,ez,eT,eN,eF,eE;let eL,{banners:eA,dataLayout:eI,bannerOneHeight:eP,banner1ThemeData:eD,bannerTwoHeight:eO,banner2ThemeData:eM,bannerThreeHeight:eR,banner3ThemeData:eB}=e,eH=(0,o.d4)(e=>{var l;return null==e||null==(l=e.app)?void 0:l.disclaimerSetting});try{(0,r.useRouter)(),eL=(0,r.usePathname)()}catch(e){try{eL=n(89099).useRouter().asPath}catch(e){eL="/"}}return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("div",{className:"relative container-fluid",id:"homebanner",children:(0,t.jsxs)("div",{className:"banner-container",children:[(0,t.jsxs)("div",{className:"banner_slide container-fluid",children:[(0,t.jsx)("div",{className:"banner_slide--left",children:(0,t.jsx)(a.A,{Id:"HomePageBannerOne",cardClassName:"banner_card",skeletonwidthDesktop:740,imgSrc:(null==eA||null==(l=eA[0])?void 0:l.imageStatic)||(null==eA||null==(s=eA[0])?void 0:s.image)&&"".concat(i.configuration.IMG_URL).concat(eA[0].image),alt_text:(null==eA||null==(c=eA[0])?void 0:c.alt_tag_desktop1)||(null==eA||null==(u=eA[0])?void 0:u.alt_text_desktop)||((null==eA||null==(m=eA[0])?void 0:m.image)?"Suzuki_".concat(null==eA||null==(p=eA[0])||null==(g=p.image)||null==(_=g.split("/").pop())?void 0:_.split(".")[0]):""),imgWidth:"950px",imgHeight:(null==eA||eA[0],eP),imgMobileSrc:(null==eA||null==(v=eA[0])?void 0:v.imageStatic)||(null==eA||null==(h=eA[0])?void 0:h.image_mob)&&"".concat(i.configuration.IMG_URL).concat(eA[0].image_mob),alt_text_mob:(null==eA||null==(b=eA[0])?void 0:b.alt_tag_mobile)||(null==eA||null==(f=eA[0])?void 0:f.alt_text_mobile)||((null==eA||null==(x=eA[0])?void 0:x.image_mob)?"Suzuki_".concat(null==eA||null==(k=eA[0])||null==(y=k.image_mob)||null==(S=y.split("/").pop())?void 0:S.split(".")[0]):""),skeletonwidth:400,imgMobileWidth:768,imgMobileHeight:"70vh",cardTitle:null==eA||null==(C=eA[0])?void 0:C.title,cardDescription:null==eA||null==(j=eA[0])?void 0:j.desc,cardBtnText:null==eA||null==(w=eA[0])?void 0:w.ctaText,cardLink:null==eA||null==(z=eA[0])?void 0:z.ctaLink,btnType:(null==eD?void 0:eD.ctaColor)==="#001151"?"button_dark_arrow":"button_light_arrow",isBannerClickable:null==eA||null==(T=eA[0])?void 0:T.isBannerClickable,bannerTheme:eD,contentBoxClass:"/"===eL?"md:bottom-[32px]":"bottom-[32px]",target:null==eA||null==(N=eA[0])?void 0:N.target,firstBannerstyle:"md:mb-[-100px]",readmore:!1,bannerSource:"homebanner",disclaimerText:(null==(F=eA[0])?void 0:F.disclaimers)&&(null==(L=eA[0])||null==(E=L.disclaimers)?void 0:E.length)>0?"1":"",backgroundColor:(null==eD?void 0:eD.titleColor)==="#FFFFFF"?"#000000":"#FFFFFF",isPriority:!0,homepagebannerlink:!1})}),(0,t.jsxs)("div",{className:"banner_slide--right",children:[(null==eA?void 0:eA[1])&&(0,t.jsx)("div",{style:{overflow:"hidden"},children:(0,t.jsx)(a.A,{Id:"HomePageBannerTwoLob2",cardClassName:"banner_card",skeletonwidthDesktop:740,imgSrc:(null==eA||null==(A=eA[1])?void 0:A.imageStatic)||(null==eA||null==(I=eA[1])?void 0:I.image)&&"".concat(i.configuration.IMG_URL).c
1oncat(eA[1].image),alt_text:(null==eA||null==(P=eA[1])?void 0:P.alt_tag_desktop1)||(null==eA||null==(D=eA[1])?void 0:D.alt_text_desktop)||((null==eA||null==(O=eA[1])?void 0:O.image)?"Suzuki_".concat(null==eA||null==(B=eA[1])||null==(R=B.image)||null==(M=R.split("/").pop())?void 0:M.split(".")[0]):""),imgWidth:"950px",imgHeight:(null==eA||eA[1],eO),imgMobileSrc:(null==eA||null==(H=eA[1])?void 0:H.imageStatic)||(null==eA||null==(U=eA[1])?void 0:U.image_mob)&&"".concat(i.configuration.IMG_URL).concat(eA[1].image_mob),alt_text_mob:(null==eA||null==(V=eA[1])?void 0:V.alt_tag_mobile)||(null==eA||null==(G=eA[1])?void 0:G.alt_text_mobile)||((null==eA||null==(W=eA[1])?void 0:W.image_mob)?"Suzuki_".concat(null==eA||null==(X=eA[1])||null==(K=X.image_mob)||null==(q=K.split("/").pop())?void 0:q.split(".")[0]):""),skeletonwidth:400,imgMobileWidth:768,imgMobileHeight:"70vh",cardTitle:null==eA||null==(Y=eA[1])?void 0:Y.title,cardDescription:null==eA||null==(Z=eA[1])?void 0:Z.desc,cardBtnText:null==eA||null==(J=eA[1])?void 0:J.ctaText,cardLink:null==eA||null==(Q=eA[1])?void 0:Q.ctaLink,btnType:(null==eM?void 0:eM.ctaColor)==="#001151"?"button_dark_arrow":"button_light_arrow",isBannerClickable:null==eA||null==($=eA[1])?void 0:$.isBannerClickable,bannerTheme:eM,target:null==eA||null==(ee=eA[1])?void 0:ee.target,contentBoxClass:"/"===eL?"md:bottom-[32px]":"bottom-[32px]",readmore:!1,disclaimerText:(null==(el=eA[1])?void 0:el.disclaimers)&&(null==(et=eA[1])||null==(en=et.disclaimers)?void 0:en.length)>0?"2":"",bannerSource:"homebanner",backgroundColor:(null==eM?void 0:eM.titleColor)==="#FFFFFF"?"#000000":"#FFFFFF",isPriority:!1,homepagebannerlink:!1})}),(null==eA?void 0:eA[2])&&(0,t.jsx)(a.A,{Id:"HomePageBannerThreeLob3",cardClassName:"banner_card",skeletonwidthDesktop:740,imgSrc:(null==eA||null==(eo=eA[2])?void 0:eo.imageStatic)||(null==eA||null==(ea=eA[2])?void 0:ea.image)&&"".concat(i.configuration.IMG_URL).concat(eA[2].image),alt_text:(null==eA||null==(ei=eA[2])?void 0:ei.alt_tag_desktop1)||(null==eA||null==(er=eA[2])?void 0:er.alt_text_desktop)||((null==eA||null==(ed=eA[2])?void 0:ed.image)?"Suzuki_".concat(null==eA||null==(eu=eA[2])||null==(ec=eu.image)||null==(es=ec.split("/").pop())?void 0:es.split(".")[0]):""),imgWidth:"950px",imgHeight:(null==eA?void 0:eA[2])?eR:1070,imgMobileSrc:(null==eA||null==(em=eA[2])?void 0:em.imageStatic)||(null==eA||null==(e_=eA[2])?void 0:e_.image_mob)&&"".concat(i.configuration.IMG_URL).concat(eA[2].image_mob),alt_text_mob:(null==eA||null==(eg=eA[2])?void 0:eg.alt_tag_mobile)||(null==eA||null==(ep=eA[2])?void 0:ep.alt_text_mobile)||((null==eA||null==(ev=eA[2])?void 0:ev.image_mob)?"Suzuki_".concat(null==eA||null==(ef=eA[2])||null==(eb=ef.image_mob)||null==(eh=eb.split("/").pop())?void 0:eh.split(".")[0]):""),skeletonwidth:400,imgMobileWidth:768,imgMobileHeight:"70vh",cardTitle:null==eA||null==(ex=eA[2])?void 0:ex.title,cardDescription:null==eA||null==(eS=eA[2])?void 0:eS.desc,cardBtnText:null==eA||null==(ey=eA[2])?void 0:ey.ctaText,cardLink:null==eA||null==(ek=eA[2])?void 0:ek.ctaLink,disclaimerText:(null==(eC=eA[2])?void 0:eC.disclaimers)&&(null==(ew=eA[2])||null==(ej=ew.disclaimers)?void 0:ej.length)>0?"3":"",btnType:(null==eB?void 0:eB.ctaColor)==="#001151"?"button_dark_arrow":"button_light_arrow",isBannerClickable:null==eA||null==(ez=eA[2])?void 0:ez.isBannerClickable,bannerTheme:eB,contentBoxClass:"/"===eL?"md:bottom-[32px]":"bottom-[32px]",target:null==eA||null==(eT=eA[2])?void 0:eT.target,readmore:!1,bannerSource:"homebanner",backgroundColor:(null==eB?void 0:eB.titleColor)==="#FFFFFF"?"#000000":"#FFFFFF",isPriority:!1,homepagebannerlink:!1})]})]}),eH&&(null==eH?void 0:eH.publishedValue)&&(0,t.jsx)(d,{bannerDisclaimerOne:null==(eN=eA[0])?void 0:eN.disclaimers,bannerDisclaimerTwo:null==(eF=eA[1])?void 0:eF.disclaimers,bannerDisclaimerThree:null==(eE=eA[2])?void 0:eE.disclaimers,dataLayout:eI})]})})})}},62219:(e,l,n)=>{"use strict";n.d(l,{A:()=>i});var t=n(37876),o=n(6148);let a=n(29399).Constants.terms_and_conditions,i=e=>{let{open:l,onClose:n}=e;return(0,t.jsx)(o.Modal,{open:l,onClose:n,center:!0,role:"dialog",children:(0,t.jsxs)("div",{className:"mx-5 my-6",children:[(0,t.jsx)("div",{className:"uppercase font-suzukiBold mb
1-6 text-center text-sub-heading text-primary-blue",children:(null==a?void 0:a.TITLE)||"Terms & Conditions"}),(0,t.jsx)("div",{className:"text-center text-default whitespace-pre-line",children:a.LINE1}),(0,t.jsx)("div",{className:"text-center text-default mt-4",children:a.LINE2}),(0,t.jsx)("div",{className:"text-center text-default mt-4",children:a.LINE3})]})})}},73387:(e,l,n)=>{"use strict";n.d(l,{A:()=>o});var t=n(37876);function o(e){let{disclaimerList:l}=e;if(!Array.isArray(l)||0===l.length)return null;let n=Math.ceil((null==l?void 0:l.length)/2),o=null==l?void 0:l.slice(0,n),a=null==l?void 0:l.slice(n);return(0,t.jsx)("div",{className:"container mt-20",children:(0,t.jsxs)("div",{className:"flex w-full gap-4",children:[(0,t.jsx)("ul",{className:"w-1/2 list-none",children:o.map((e,l)=>(0,t.jsx)("li",{children:(0,t.jsxs)("p",{style:{fontSize:"16px"},children:[(0,t.jsx)("span",{style:{fontFamily:"SuzukiPROBold"},children:null==e?void 0:e.name})," ",null==e?void 0:e.description]})},l))}),(0,t.jsx)("ul",{className:"w-1/2 list-none",children:a.map((e,l)=>(0,t.jsx)("li",{children:(0,t.jsxs)("p",{style:{fontSize:"16px"},children:[(0,t.jsx)("span",{style:{fontFamily:"SuzukiPROBold"},children:null==e?void 0:e.name})," ",null==e?void 0:e.description]})},l+n))})]})})}n(14232)},83643:(e,l,n)=>{"use strict";n.r(l),n.d(l,{__N_SSP:()=>w,default:()=>z});var t=n(37876),o=n(25660),a=n(14232),i=n(91040),r=n(84495),d=n(74695),s=n(89099),
1c=n(73032),u=n(81815),m=n(77328),_=n.n(m),g=n(52454),p=n(54587),v=n.n(p),h=n(18847),b=n.n(h),f=n(95648),x=n(29399),S=n(73387);n(51260);let y=b()(()=>Promise.resolve().then(n.bind(n,31467)),{loadableGenerated:{webpack:()=>[31467]}}),k=b()(()=>n.e(9938).then(n.bind(n,89938)),{loadableGenerated:{webpack:()=>[89938]},ssr:!0,loading:()=>null}),C=b()(()=>Promise.all([n.e(9848),n.e(402)]).then(n.bind(n,402)),{loadableGenerated:{webpack:()=>[402]},ssr:!0}),j=e=>{var l,n,r,s,c,m,p,h,b,j,w,z,T,N,F;let[E,L]=(0,a.useState)(!1),[A,I]=(0,a.useState)(!1),[P,D]=(0,a.useState)(!0),[O,M]=(0,a.useState)(""),R={titleColor:"",titleFontSize:"",descColor:"",descFontSize:"",ctaColor:"",ctaFontSize:""},B=(0,d.wA)(),[H,U]=(0,a.useState)(R),[V,G]=(0,a.useState)(R),[W,q]=(0,a.useState)(R),K=(0,a.useRef)(null),[X,Y]=(0,a.useState)({bannerOne:"calc(100vh - 180px)",bannerTwo:"calc((100vh - 180px)/2)",bannerThree:"calc((100vh - 180px)/2)"}),Z=()=>{window.innerWidth>=768&&window.innerWidth<1025?Y({bannerOne:"40vh",bannerTwo:"20vh",bannerThree:"20vh"}):Y({bannerOne:"calc(100vh - 180px)",bannerTwo:"calc((100vh - 180px)/2)",bannerThree:"calc((100vh - 180px)/2)"})};(0,a.useEffect)(()=>(Z(),window.addEventListener("resize",Z),()=>window.removeEventListener("resize",Z)),[]);let[J,Q]=(0,a.useState)(!1),$=(0,a.useRef)(null);(0,a.useEffect)(()=>{{let e=document.getElementById(window.location.hash);e&&e.scrollIntoView({behavior:"smooth"})}},[]),(0,a.useEffect)(()=>{"#find-perfect-suzuki"===window.location.hash&&K.current&&K.current.focus()},[]),(0,a.useEffect)(()=>{if(!$.current)return;let e=$.current,l=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting&&(Q(!0),l.disconnect())})},{root:null,rootMargin:"200px",threshold:0});return l.observe(e),()=>l.disconnect()},[]),(0,a.useEffect)(()=>{let e=u.Wc.get("visitorunino");if(e){let l=atob(e),[n,t]=null==l?void 0:l.split("_");t&&en(t)}},[]);let ee=(0,d.d4)(e=>{var l;return null==e||null==(l=e.app)?void 0:l.LobValue});(0,a.useEffect)(()=>{B({type:f.y0,payload:ee||o.configuration.COMMON_MASTER_LOB})},[B,ee]);let el=(0,d.d4)(e=>{var l;return null==e||null==(l=e.app)?void 0:l.disclaimerSetting}),en=async e=>{if(!e)return void console.log("Slug is required but not provided.");if(!ee)return void console.log("LOB_VALUE is null or undefined.");try{var l,n,t,a,r;warn;let{data:d}=await i.A.get("".concat(o.configuration.APP_URL_PRODUCTS,"model/").concat(e,"?lob=").concat(ee));(null==d||null==(t=d.data)||null==(n=t.images)||null==(l=n.desk_banners)?void 0:l.length)>0&&(L(!0),M(null==d||null==(r=d.data)||null==(a=r.images)?void 0:a.desk_banners[0]))}catch(e){(null==e?void 0:e.response)?(console.log("API Error:",e.response.data),console.log("Status Code:",e.response.status)):(null==e?void 0:e.request)?console.log("No response received from API:",e.request):console.log("Request Error:",null==e?void 0:e.message)}};(0,a.useEffect)(()=>{!((null==e?void 0:e.bannerThemeData)&&Object.values(e.bannerThemeData).some(e=>""!==e))&&ee&&et()},[ee]);let et=async()=>{try{if(null!==ee){let{data:n}=await i.A.get("".concat(o.configuration.APP_URL_CONTENTS,"/settings?lob=").concat(ee));if((null==n?void 0:n.length)>0){var e,l;let t=null==(l=n.find(e=>e.lob==ee))||null==(e=l.theme_settings)?void 0:e.find(e=>(null==e?void 0:e.applied)===!0);t?(U({...H,titleColor:null==t?void 0:t.homepage_banner1_title_color,titleFontSize:null==t?void 0:t.homepage_banner1_title_font_size,descColor:null==t?void 0:t.homepage_banner1_desc_color,descFontSize:null==t?void 0:t.homepage_banner1_desc_font_size,ctaColor:null==t?void 0:t.homepage_banner1_cta_color,ctaFontSize:null==t?void 0:t.homepage_banner1_cta_font_size}),G({...V,titleColor:null==t?void 0:t.homepage_banner2_title_color,titleFontSize:null==t?void 0:t.homepage_banner2_title_font_size,descColor:null==t?void 0:t.homepage_banner2_desc_color,descFontSize:null==t?void 0:t.homepage_banner2_desc_font_size,ctaColor:null==t?void 0:t.homepage_banner2_cta_color,ctaFontSize:null==t?void 0:t.homepage_banner2_cta_font_size}),q({...W,titleColor:null==t?void 0:t.homepage_banner3_title_color,titleFontSize:null==t?void 0:t.homepage_banner3_title_font_size,de
1scColor:null==t?void 0:t.homepage_banner3_desc_color,descFontSize:null==t?void 0:t.homepage_banner3_desc_font_size,ctaColor:null==t?void 0:t.homepage_banner3_cta_color,ctaFontSize:null==t?void 0:t.homepage_banner3_cta_font_size})):console.warn("No applied theme settings found for the provided LOB_VALUE.")}else console.warn("No theme data returned from API.")}}catch(e){e.response?(console.log("API Error:",e.response.data),console.log("Status Code:",e.response.status)):e.request?console.log("No response received from API:",e.request):console.log("Error in API request:",e.message)}};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(_(),{children:[(0,t.jsx)("title",{children:(null==e?void 0:e.data)&&(null==e||null==(n=e.data[0])||null==(l=n.seo_settings)?void 0:l.meta_title)}),(0,t.jsx)("meta",{name:"description",content:(null==e?void 0:e.data)&&(null==e||null==(s=e.data[0])||null==(r=s.seo_settings)?void 0:r.meta_desc)}),(0,t.jsx)("meta",{name:"keywords",content:(null==e?void 0:e.data)&&(null==e||null==(m=e.data[0])||null==(c=m.seo_settings)?void 0:c.keywords)}),(0,t.jsx)("link",{rel:"icon",href:"".concat(o.configuration.IMG_STATIC_URL,"favicon.ico"),type:"image/x-icon"}),(0,t.jsx)("link",{rel:"shortcut icon",href:"".concat(o.configuration.IMG_STATIC_URL,"favicon.ico"),type:"image/x-icon"}),"https://auto.suzuki.ro".includes("uat")||"https://auto.suzuki.ro".includes("staging")?(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("meta",{name:"robots",content:"noindex, nofollow"})}):"","",(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("meta",{property:"og:title",content:"Suzuki Romania - Site Oficial Auto"}),(0,t.jsx)("meta",{property:"og:type",content:"website"}),(0,t.jsx)("meta",{property:"og:url",content:"https://auto.suzuki.ro/"}),(0,t.jsx)("meta",{property:"og:site_name",content:"Suzuki Romania"}),(0,t.jsx)("meta",{property:"og:description",content:"ExploraÈi site-ul oficial Suzuki Rom\xe2nia pentru cele mai recente modele, inclusiv e-Vitara, Swift Hybrid, Vitara Hybrid, S-Cross Hybrid Èi Swace Hybrid. VerificaÈi preÈurile, ofertele Èi detaliile de performanÈÄ."})]}),(null===o.configuration||void 0===o.configuration?void 0:o.configuration.COUNTRY_CODE)=="VNM"?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("meta",{property:"og:title",content:"Viá»t Nam Suzuki | Trang Th\xf4ng Tin Ch\xednh Thức"}),(0,t.jsx)("meta",{property:"og:type",content:"website"}),(0,t.jsx)("meta",{property:"og:url",content:"https://www.suzuki.com.vn/"}),(0,t.jsx)("meta",{property:"og:site_name",content:"Viá»t Nam Suzuki"}),(0,t.jsx)("meta",{property:"og:description",content:" Viá»t Nam Suzuki: Kh\xe1m ph\xe1 xe \xf4 t\xf4 Suzuki, bao gá»m Sedan, Hatchback, MPV, SUV v\xe0 xe thương mại tại Viá»t Nam. Äặt lá»ch l\xe1i thá», t\xecm kiếm Äại l\xfd gần nhất, tải xuá»ng t\xe0i liá»u quảng c\xe1o"})]}):""]}),e.data?(0,t.jsxs)(t.Fragment,{children:[(null==(p=e.data[0])?void 0:p.banners)&&(0,t.jsx)(g.A,{banners:null==(h=e.data[0])?void 0:h.banners,dataLayout:null==(b=e.data[0])?void 0:b.dataLayout,bannerOneHeight:X.bannerOne,banner1ThemeData:H,bannerTwoHeight:X.bannerTwo,banner2ThemeData:V,bannerThreeHeight:X.bannerThree,banner3ThemeData:W}),E&&(0,t.jsx)("div",{children:(0,t.jsx)("div",{className:"mt-10",children:!A&&(0,t.jsx)(v(),{src:O?"".concat(o.configuration.IMG_URL).concat(O):"",height:1080*!P,width:1920*!P,alt:"",onError:()=>I(!0),className:"w-full ".concat(P?"hidden":"block"),onLoad:()=>D(!1),style:{maxWidth:"100%",height:"auto"}})})}),(0,t.jsx)("div",{className:"scroll-mt-[5rem] overflow-hidden",id:"find-perfect-suzuki",children:(null==(j=e.data[0])?void 0:j.cars)&&(0,t.jsx)(y,{sectionHeading:x.Constants.homePage.HOMEPAGE_SUZUKI,carsData:null==(w=e.data[0])?void 0:w.cars,modelsData:null==e?void 0:e.modeldata})}),(null==(z=e.data[0])?void 0:z.placeholder)&&(0,t.jsx)(k,{cmspages:null==(T=e.data[0])?void 0:T.placeholder}),(0,t.jsx)("div",{ref:$,children:J&&(0,t.jsx)(C,{pageType:"homepage"})}),el&&(null==el?void 0:el.publishedValue)&&(0,t.jsx)("div",{children:(0,t.jsx)(S.A,{disclaimerList:null==e||null==(F=e.data[0])||null==(N=F.disclaimer_footer)?void 0:N.disclaimers})})]}):(0,t.jsx)("div",{className:"flex items-center justify-center h-screen",children:(0,t.jsx)("h1",{children:x.Constants.generic.DATA_NOT_FOUND})})]})};var w=!0;function z(e){var l,n,u;let m=(0,d.wA)(),{asPath:_}=(0,s.useRouter)();(0,a.useEffect)(()=>(m({type:f.y0,payload:null}),()=>{m({type:f.K9,payload:!1})}),[]),(0,a.useEffect)(()=>{m({type:f.y0,payload:null}),m({type:f.zp,payload:e.lobData.isDealerWebsite}),m({type:f.ag,payload:e.lobData.dealerCode})},[]);let[g,p]=(0,a.useState)([]),v=(0,d.d4)(e=>{let{app:l}=e;return l}),[h,b]=(0,a.useState)({titleColor:"",titleFontSize:"",descColor:"",descFontSize:"",ctaColor:"",ctaFontSize:""});(0,a.useEffect)(()=>{(null==v?void 0:v.dealerCode)!=""&&(async()=>{try{if(null!==x){var e;let l=null==(e=(await i.A.get("".concat(o.configuration.APP_URL_CONTENTS,"/settings?lob=").concat(o.configuration.API_LOB,"&dealer_code=").concat(v.dealerCode))).data[0].theme_settings)?void 0:e.find(e=>(null==e?void 0:e.applied)===!0);b({...h,titleColor:null==l?void 0:l.homepage_banner1_title_color,titleFontSize:null==l?void 0:l.homepage_banner1_title_font_size,de
1scColor:null==l?void 0:l.homepage_banner1_desc_color,descFontSize:null==l?void 0:l.homepage_banner1_desc_font_size,ctaColor:null==l?void 0:l.homepage_banner1_cta_color,ctaFontSize:null==l?void 0:l.homepage_banner1_cta_font_size})}}catch(e){}})()},[v.dealerCode]);let x=(0,d.d4)(e=>{var l;return null==e||null==(l=e.app)?void 0:l.LobValue});return(0,a.useEffect)(()=>{x&&""!=v.dealerCode&&(async()=>{try{if(null!==x){let e=await i.A.get("".concat(o.configuration.APP_URL_CONTENTS,"/testimonial?lob=").concat(x,"&dealer_code=").concat(v.dealerCode));p(null==e?void 0:e.data)}}catch(e){}})()},[x]),(0,a.useEffect)(()=>{x&&""!=v.dealerCode&&(async()=>{try{if(null!==x){let e=await i.A.get("".concat(o.configuration.APP_URL_CONTENTS,"/testimonial?lob=").concat(x,"&dealer_code=").concat(v.dealerCode));p(null==e?void 0:e.data)}}catch(e){console.error(e)}})()},[x]),(0,a.useEffect)(()=>{""!=v.dealerCode&&(async()=>{try{if(null!==x){var e;let l=null==(e=(await i.A.get("".concat(o.configuration.APP_URL_CONTENTS,"/settings?lob=").concat(o.configuration.API_LOB,"&dealer_code=").concat(v.dealerCode))).data[0].theme_settings)?void 0:e.find(e=>(null==e?void 0:e.applied)===!0);b({...h,titleColor:null==l?void 0:l.homepage_banner1_title_color,titleFontSize:null==l?void 0:l.homepage_banner1_title_font_size,descColor:null==l?void 0:l.homepage_banner1_desc_color,descFontSize:null==l?void 0:l.homepage_banner1_desc_font_size,ctaColor:null==l?void 0:l.homepage_banner1_cta_color,ctaFontSize:null==l?void 0:l.homepage_banner1_cta_font_size})}}catch(e){console.error(e.message)}})()},[v.dealerCode]),(0,a.useEffect)(()=>{var l,n;m({type:f.zp,payload:null==e||null==(l=e.lobData)?void 0:l.isDealerWebsite}),m({type:f.ag,payload:null==e||null==(n=e.lobData)?void 0:n.dealerCode})},[null==e?void 0:e.lobData]),(0,a.useEffect)(()=>{m({type:f.y0,payload:o.configuration.COMMON_MASTER_LOB}),"Distributor"==o.configuration.WEBSITE_TYPE&&m({type:f.ag,payload:null})},[]),(0,a.useEffect)(()=>{m({type:"SET_IS_LOB_PAGE",payload:"landing-page"===e.defaultPage}),"landing-page"===e.defaultPage?document.body.classList.add("lob-page"):document.body.classList.remove("lob-page")},[e.defaultPage]),(0,t.jsxs)(t.Fragment,{children:[console.log("skeleton-added"),"landing-page"===e.defaultPage?(0,t.jsx)(r.A,{banners:null==e||null==(l=e.data)?void 0:l.banners}):(null==e||null==(n=e.lobData)?void 0:n.isDealerWebsite)||"true"===o.configuration.SHOW_DEALER_WEBSITE?(0,t.jsx)(c.default,{data:null==e||null==(u=e.data)?void 0:u[0],modelData:e.modeldata,testimonials:g,bannerThemeData:h}):(0,t.jsx)(j,{...e})]})}},84495:(e,l,n)=>{"use strict";n.d(l,{A:()=>s});var t=n(37876),o=n(14232),a=n(52454),i=n(91040),r=n(25660),d=n(74695);let s=e=>{var l,n,s;let c=(0,d.d4)(e=>{var l;return null==e||null==(l=e.app)?void 0:l.LobValue}),u={titleColor:"",titleFontSize:"",descColor:"",descFontSize:"",ctaColor:"",ctaFontSize:""},[m,_]=(0,o.useState)(u),[g,p]=(0,o.useState)(u),[v,h]=(0,o.useState)(u),b=(null==e?void 0:e[0])?null==e||null==(n=e[0])||null==(l=n.banners)?void 0:l.filter(e=>null==e?void 0:e.is_active):null==e||null==(s=e.banners)?void 0:s.filter(e=>null==e?void 0:e.is_active),f=null==b?void 0:b.map(e=>({...e,image:1===b.length?e.image1Col:2===b.length?e.image2Col:e.image3Col,image_mob:e.image_mob1Col})),x=async()=>{try{let{data:n}=await i.A.get("".concat(r.configuration.APP_URL_CONTENTS,"/settings?lob=1"));if((null==n?void 0:n.length)>0){var e,l;let t=null==(l=n[0])||null==(e=l.theme_settings)?void 0:e.find(e=>(null==e?void 0:e.applied)===!0);t?(_({...m,titleColor:null==t?void 0:t.landingpage_banner1_title_color,titleFontSize:null==t?void 0:t.landingpage_banner1_title_font_size,descColor:null==t?void 0:t.landingpage_banner1_desc_color,descFontSize:null==t?void 0:t.landingpage_banner1_desc_font_size,ctaColor:null==t?void 0:t.landingpage_banner1_cta_color,ctaFontSize:null==t?void 0:t.landingpage_banner1_cta_font_size}),p({...g,titleColor:null==t?void 0:t.landingpage_banner2_title_color,titleFontSize:null==t?void 0:t.landingpage_banner2_title_font_size,descColor:null==t?void 0:t.landingpage_banner2_desc_color,descFontSize:null==t?void 0:t.landingpage_banner2_desc_font_size,ctaColor:null==t?void 0:t.landingpage_banner2_cta_color,ctaFontSize:null==t?void 0:t.landingpage_banner2_cta_font_size}),h({...v,titleColor:null==t?void 0:t.landingpage_banner3_title_color,titleFontSize:null==t?void 0:t.landingpage_banner3_title_font_size,de
1scColor:null==t?void 0:t.landingpage_banner3_desc_color,descFontSize:null==t?void 0:t.landingpage_banner3_desc_font_size,ctaColor:null==t?void 0:t.landingpage_banner3_cta_color,ctaFontSize:null==t?void 0:t.landingpage_banner3_cta_font_size})):console.warn("No applied theme settings found.")}else console.warn("No theme data returned from API.")}catch(e){e.response?(console.log("API Error:",e.response.data),console.log("Status Code:",e.response.status)):e.request?console.log("No response received from API:",e.request):console.log("Error in API request:",e.message)}};return(0,o.useEffect)(()=>{c&&x()},[c]),(0,t.jsx)("div",{className:"md:overflow-hidden md:h-[100vh]",children:(0,t.jsx)(a.A,{banners:f,bannerOneHeight:"100vh",banner1ThemeData:m,bannerTwoHeight:(null==f?void 0:f[2])?"50vh":"100vh",banner2ThemeData:g,bannerThreeHeight:"50vh",banner3ThemeData:v})})}}},e=>{e.O(0,[956,4587,4568,8230,4e3,126,1040,400,9098,6566,6148,9359,9311,9357,5785,8941,644,5412,9399,5643,551,5127,720,5514,3032,636,6593,8792],()=>e(e.s=14490)),_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.