1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7029],{13087:e=>{e.exports={section:"C_Section3_section__lnIXz",sectionHeader:"C_Section3_sectionHeader__7BoRH",presentation:"C_Section3_presentation__9wktJ",slideCounter:"C_Section3_slideCounter__eXzd_",left:"C_Section3_left__3PcrO",textItem:"C_Section3_textItem__DBh3P",textItemHidden:"C_Section3_textItemHidden__3p5ZT",textItemShown:"C_Section3_textItemShown__8EE7o",header:"C_Section3_header__JiKjQ",description:"C_Section3_description__zABEp",redBtn:"C_Section3_redBtn__Vv_m8",right:"C_Section3_right__iKu_3",image:"C_Section3_image__G7tFh",bk:"C_Section3_bk__5lpg5",spinning:"C_Section3_spinning__SLS1S"}},28785:e=>{e.exports={section:"D_Events_section__lenX1",bkWrapper:"D_Events_bkWrapper__mYn_T",noOffRoad:"D_Events_noOffRoad__0yG13",noOnRoad:"D_Events_noOnRoad__kDOX7",middleContent:"D_Events_middleContent__SjrfN",header:"D_Events_header__kn4L3",description:"D_Events_description__yGY81",spinning:"D_Events_spinning__r2ZXQ"}},31005:e=>{e.exports={section:"B_MsSection2_section__967gj",bkWrapper:"B_MsSection2_bkWrapper__0AKed",bigText:"B_MsSection2_bigText__wseU2",textContent:"B_MsSection2_textContent__c8z7v",header:"B_MsSection2_header__SKSb9",description:"B_MsSection2_description__alkjb",spinning:"B_MsSection2_spinning__Sizy8"}},47029:(e,n,t)=>{"use strict";t.d(n,{A:()=>Z});var s=t(37876),r=t(79467),i=t(14938),a=t(22762),o=t(95212);let _=()=>(0,o.b1)();var c=t(67233),l=t(48013),d=t.n(l),h=t(28897),x=t(24328),m=t(65564),p=t.n(m);let j=()=>{let{motorsportsHome1:e=[]}=_()||{},[n]=e||[];return n?(0,s.jsxs)("section",{className:p().introContent,children:[(0,s.jsx)("div",{className:p().imageSection,children:(0,s.jsx)(h.A,{layers:[{background:"rgba(0, 0, 0, .5)"},{url:n?.image[0]?.url}],className:p().bk,addPositioning:!0})}),(0,s.jsx)(r.A,{className:p().container,children:(0,s.jsxs)("div",{className:p().textContent,children:[(0,s.jsx)("h2",{className:p().header,children:n?.header}),(0,s.jsx)("div",{className:p().description,children:(0,x.q)(n?.description)})]})})]}):(0,s.jsx)("section",{className:p().introContent,style:{minHeight:"400px"}})};var g=t(74678),N=t(87082),u=t(53253),v=t(31005),b=t.n(v);let A=()=>{let{motorsportsHome2:e=[]}=_()||{},[n]=e||[];return n?(0,s.jsx)("section",{className:b().section,children:(0,s.jsxs)("div",{className:b().bkWrapper,children:[(0,s.jsx)(u.A,{children:e=>(0,s.jsx)(h.A,{className:b().bk,addPositioning:!0,layers:[{url:e?n.image[0]?.url:""},{background:(0,N.q)(0,"rgba(0,0,0,.31) 0%","rgba(0,0,0,.8) 100%")}]})}),(0,s.jsxs)(r.A,{className:b().textContent,children:[(0,s.jsx)("h2",{className:b().header,children:n.header}),(0,s.jsxs)("div",{className:b().description,children:[(0,x.q)(n.description),(0,s.jsx)(g.$P,{...n,theme:"clearHover"})]})]}),n.bigText&&(0,s.jsx)("div",{className:b().bigText,children:n.bigText})]})}):null};var C=t(17461),k=t(407),S=t(2679),w=t(13087),F=t.n(w);let I=()=>{let{motorsportsHome3:e=[],sectionHeader:n}=_()||{};return(0,s.jsx)("section",{className:F().section,children:(0,s.jsxs)(r.A,{className:F().container,children:[(0,s.jsx)("h2",{className:F().sectionHeader,children:n}),(0,s.jsx)(f,{presentation:e||[]})]})})},f=({presentation:e})=>{let n=(0,S.e)({total:e.length});return(0,s.jsxs)("div",{className:F().presentation,children:[(0,s.jsxs)("div",{className:F().left,children:[e.map((e,n)=>(0,s.jsx)("div",{className:(0,N.A)(F().textItem,F().textItemHidden),children:(0,s.jsx)(T,{p:e})},n)),e.map((e,t)=>(0,s.jsx)(C.A,{className:(0,N.A)(F().textItem,F().textItemShown),active:n.current===t,...H,children:(0,s.jsx)(T,{p:e})},t))]}),(0,s.jsx)("div",{className:F().right,children:e.map((e,t)=>(0,s.jsx)(C.A,{className:(0,N.A)(F().image),active:n.current===t,...H,children:(0,s.jsx)(u.A,{children:n=>(0,s.jsx)(h.A,{addPositioning:!0,className:F().bk,layers:[{background:"rgba(0,0,0,.5)"},{url:n?e.image[0]?.url:""}]})})},t))}),e.length>1&&(0,s.jsx)(k.A,{className:F().slideCounter,current:n.current,total:e.length,goToNext:n.goToNext,goToPrev:n.goToPrev})]})},T=({p:e})=>(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h3",{className:F().header,children:e.header}),(0,s.jsx)("div",{className:F().description,children:(0,x.q)(e.description)}),e.linkText&&(0,s.jsx)(g.$P,{...e,className:F().redBtn})]}),H={animationDuration:"350ms",from:{opacity:"0"},to:{opacity:"1"},afterInActive:{visibility:"hidden"}};var D=t(28785),M=t.n(D),y=t(96509);let E=()=>{let{onRoadEvents:e=[],offRoadEvents:n=[],motorsportsHome5:t=[],onRoadEventsTitle:i,offRoadEventsTitle:a}=_()||{},[o]=t||[];return(e.length||n.length)&&o?(0,s.jsxs)("section",{className:(0,N.A)(M().section,[0===e.length,M().noOnRoad],[0===n.length,M().noOffRoad]),children:[!!e.length&&(0,s.jsx)(y.A,{events:e,eventsTitle:i}),(0,s.jsx)("div",{className:M().middleContent,children:(0,s.jsxs)(r.A,{children:[(0,s.jsx)("h2",{className:M().header,children:o.header}),(0,s.jsx)("div",{className:M().description,children:(0,x.q)(o.description)})]})}),!!n.length&&(0,s.jsx)(y.A,{events:n,colorInvert:!0,eventsTitle:a}),(0,s.jsx)("div",{className:M().bkWrapper,children:(0,s.jsx)(u.A,{children:e=>(0,s.jsx)(h.A,{className:M().bk,addPositioning:!0,layers:[{background:"rgba(0, 0, 0, .5)"},{url:e?o.image[0]?.url:""},{background:(0,N.q)(0,"rgba(7, 6, 31, 1) 0%","rgba(7, 6, 31, .77) 50%","rgba(7, 6, 31, 1) 100%")}]})})})]}):null};var W=t(38100),B=t(32008),P=t(28116),R=t(94739),O=t(48230),X=t.n(O),q=t(48851),z=t.n(q);let K=()=>{let{featuredNews:e=[]}=_()||{};return(0,s.jsxs)("section",{className:z().section,children:[(0,s.jsxs)(r.A,{className:z().container,children:[(0,s.jsxs)("div",{className:z().topRow,children:[(0,s.jsx)("h2",{className:z().header,children:"Featured News"}),(0,s.jsx)(B.A,{theme:"bwRedHover",className:z().btn,children:(0,s.jsxs)(X(),{href:"/newsroom?category=108007",children:["View all Motorsports News ",(0,s.jsx)(P.dq,{})]})})]}),(0,s.jsx)("div",{className:z().decorator})]}),(0,s.jsx)(u.A,{children:(0,s.jsx)(V,{featuredNews:e})})]})},V=({featuredNews:e})=>{let n=(0,o.cc)(),t=e.length?e:n,i=(0,R.A)(),a=(0,S.e)({total:t.length,visibleItems:3,infinite:!1}),_={transform:`translateX(${a.getTranslation()}) translateX(${a.xDrag}px)`,transition:12>Math.abs(a.xDrag)?"transform 400ms":"none",touchAction:"none"};return(0,s.jsx)(r.A,{className:z().outerWrapper,children:(0,s.jsx)("div",{...a.swipeHandlers,className:z().innerWrapper,style:i.isLtDesktop?_:void 0,children:t.map((e,n)=>(0,s.jsx)("div",{className:z().slide,children:(0,s.jsx)(W.A,{newsPreview:e},n)}
1,n))})})},Z=()=>(0,s.jsxs)("div",{className:d().page,children:[(0,s.jsx)(G,{}),(0,s.jsx)(j,{}),(0,s.jsx)(A,{}),(0,s.jsx)(I,{}),(0,s.jsx)(E,{}),(0,s.jsx)(L,{}),(0,s.jsx)(K,{})]}),G=()=>{let{bannerImage:e,bannerTitle:n,bannerSubTitle:t}=_();return(0,s.jsx)(c.A,{preTitle:"Motorsports",title:n??"",subTitle:t??"",bannerUrl:e[0]?.url,bkIsVideo:"video"===(0,a.Z)(e[0]?.mimeType)})},L=()=>{let{khorosId:e}=_();return e?(0,s.jsxs)("section",{className:d().khorosSection,children:[(0,s.jsx)(r.A,{children:(0,s.jsx)("h2",{className:d().khorosHeader,children:"Motorsports Community"})}),(0,s.jsx)(i.A,{widgetNum:e})]}):null}},48013:e=>{e.exports={khorosSection:"MotorsportsHome_khorosSection__xAdHd",khorosHeader:"MotorsportsHome_khorosHeader__r9JNF",spinning:"MotorsportsHome_spinning__Ori7Z"}},48851:e=>{e.exports={section:"F_FeaturedNews_section__GDuEe",container:"F_FeaturedNews_container__Vwk4r",topRow:"F_FeaturedNews_topRow__TsWQY",header:"F_FeaturedNews_header__Ooz0R",btn:"F_FeaturedNews_btn__1WA3x",decorator:"F_FeaturedNews_decorator__71aoM",outerWrapper:"F_FeaturedNews_outerWrapper__A8dbM",innerWrapper:"F_FeaturedNews_innerWrapper__OvD0V",slide:"F_FeaturedNews_slide__Avb_f",spinning:"F_FeaturedNews_spinning__8bpuh"}},65564:e=>{e.exports={introContent:"A_IntroContent_introContent__K75XY",container:"A_IntroContent_container__lFM70",textContent:"A_IntroContent_textContent__rL_2d",header:"A_IntroContent_header__Z28Xu",description:"A_IntroContent_description__I7QPD",imageSection:"A_IntroContent_imageSection__k2ee6",bk:"A_IntroContent_bk___79bU",spinning:"A_IntroContent_spinning___tn__"}}}]);
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.