1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[81055,20475],{89151:function(e,a,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/blogs",function(){return t(91769)}])},91769:function(e,a,t){"use strict";t.r(a),t.d(a,{__N_SSG:function(){return y}});var s=t(85893),n=t(8396),c=t(9753),r=t(61141),o=t(74289),l=t(81961),_=t(67294),i=t(63195),p=t(35837),d=t(5152),u=t.n(d);let g=e=>{let[a,t]=(0,_.useState)(!1),[n,d]=(0,_.useState)(!1),[u,g]=(0,_.useState)(0),[y,f]=(0,_.useState)(),h=async()=>{try{let e=new Headers;e.append("Content-Type","application/json"),await fetch("/api/getBlogList?offset=".concat(u,"&limit=6"),{method:"GET",headers:e}).then(e=>e.json()).then(e=>{200===e.code&&f(e)})}catch(a){console.log(a)}},w=e=>{t(e)},C=e=>{d(e)};(0,_.useEffect)(()=>{h()},[]);let m={pageType:"blogs",event:{sectionInteract:"all_page_79_section_interaction",cardImpression:"all_page_80_section_card_impression",ctaClick:"all_page_81_cta_click",formInteract:"all_page_82_form_interaction",popUpInteract:"all_page_83_pop_up_interaction",footerInteract:"all_pages_2_footer_navigation_interaction",sectionInteractionGA4:"all_pages_7_section_interaction",bannerImpression:"all_pages_3_banner_impression",ctaClickGA4:"all_pages_11_cta_click",cardSectionInteraction:"all_pages_6_card_section_interaction",plusMenuInteraction:"all_pages_16_plus_menu_interaction",cardImpressionGA4:"all_pages_38_card_impression",carouselInteraction:"all_pages_4_carousel_interaction",vrCTAClick:"all_pages_18_vr_cta_click",sectionImpression:"all_pages_39_section_impression"}};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.default,{handleOverlay:w,handleCpService:C,cars:e.carsData,dataLayerProps:m}),y&&y.data.length&&(0,s.jsx)(c.Z,{showHead:!0,secTypeClass:"typ-latest-news typ-latest-news-sec",secTypeGradient:"typ-release-center",secTitle:"Blogs",secDesc:"Updates, stories and insider scoops",secCont:(0,s.jsx)(i.default,{latestNewsData:y.data.slice(0,3),loadMore:!1,newsType:"typ-blog",dataLayerProps:m})}),e.bannerData&&0!==e.bannerData.length&&(0,s.jsx)(c.Z,{secTypeClass:"typ-latest-news-banner",showHead:!1,secCont:(0,s.jsx)(p.Z,{data:e.bannerData})}),y&&y.data.length>3&&(0,s.jsx)(c.Z,{secTypeClass:"typ-news-cards",showHead:!1,secTypeGradient:"typ-release-center",secCont:(0,s.jsx)(i.default,{latestNewsData:y.data.slice(3,6),loadMore:!0,newsType:"typ-blog",dataLayerProps:m})}),(0,s.jsx)(c.Z,{secTypeClass:"typ-bg",showHead:!1,secCont:(0,s.jsx)(l.default,{dataLayerProps:m})}),(0,s.jsx)(r.Z,{dataLayerProps:m,isOverlayActive:a})]})};var y=!0;a.default=(0,n.withSuperJSONPage)(u()(()=>Promise.resolve(g),{ssr:!1}))}},function(e){e.O(0,[74885,41664,25675,26882,8396,79614,42160,61141,74289,8611,63195,24764,49774,92888,40179],function(){return e(e.s=89151)}),_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.