1import{A as e,D as t,E as n,Et as r,F as i,Gt as a,Kt as o,N as s,O as c,P as l,Q as u,S as d,W as f,Wt as p,X as m,a as h,ct as g,it as _,k as v,lt as y,nt as b,o as x,q as S,rt as C,st as w,t as T,tt as E,vt as D,y as O,yt as k}from"./j805_Ayl.js";import{$ as A,Jn as j,K as ee,Tn as M,Un as N,Vn as P,Yn as F,Z as I,fn as te,h as L,i as R,l as ne,mn as z,n as re,qn as ie,r as B,s as V,t as H}from"./DjDQgMwf.js";import{t as U}from"./DyByWxJI.js";import{a as ae,n as W,t as oe}from"./BHqOeGVn.js";import{n as se,t as G}from"./DYXzrHsP.js";import{t as ce}from"./JEVm9HfY.js";import{n as le,t as ue}from"./yoGAMUf4.js";import{t as K}from"./r7ZPRTjb.js";import{n as de,r as fe,t as pe}from"./BdP_CIv-.js";import{t as me}from"./HsNJDS-j.js";import{n as he,t as ge}from"./jO23ucnK.js";import{a as _e,c as q,d as ve,f as ye,i as be,l as xe,n as Se,o as Ce,p as we,r as Te,s as Ee,t as J,u as De}from"./B1edVuox.js";import{a as Oe,i as ke,n as Ae,r as je,t as Me}from"./BxS6TGMK.js";import{t as Ne}from"./B4bMqezT.js";var Pe={name:`MotorsportDivider`};function Fe(n,r,i,a,o,s){return u(),e(`div`,null,[...r[0]||=[t(`div`,{class:`absolute bottom-20 z-20 left-0 h-8 w-full bg-motorsport`},null,-1),t(`div`,{class:`absolute bottom-0 z-20 left-0 h-13 w-full bg-motorsport`},null,-1)]])}var Y=Object.assign(T(Pe,[[`render`,Fe]]),{__name:`MotorsportDivider`}),Ie={__name:`ButtonStyle`,props:{color:{type:String,default:`forza`}},setup(n){return(r,i)=>(u(),e(`span`,{class:p([`shiny shiny--sm btn inline-block rounded px-30 py-10 text-lg font-semibold`,[{"bg-darkGrey text-white":n.color===`grey`},{"bg-forza text-white":n.color===`forza`},{"bg-horizon text-black":n.color===`horizon`},{"bg-motorsport text-dark":n.color===`motorsport`},{"bg-horizon6 text-dark":n.color===`horizon6`},{"bg-xbox text-white":n.color===`xbox`},{"bg-safety text-white":n.color===`safety`},{"shiny--white bg-white text-horizonDark":n.color===`white`},{"bg-white text-dark":n.color===`whiteAlt`},{"border border-white/50":n.color===`transparent`}]])},[i[0]||=t(`div`,{class:`shiny__reflect`},null,-1),b(r.$slots,`default`)],2))}},Le=z(`/images/background/fh6-pink-origiami-banner-mobile.png`),Re={name:`FiltersPart`,props:{tags:{type:Array,default:()=>[]},allTag:{type:Boolean,default:!0},groupName:{type:String,default:``}},emits:[`update-filter`],setup(){return{store:V()}},data(){return{activeIndex:-1,activeFilter:`All`}},computed:{allButton(){return this.store.settings?.allButton||`All`}},watch:{activeFilter(){this.$emit(`update-filter`,this.activeFilter)}},created(){!this.allTag&&this.tags.length>0&&(this.activeFilter=this.tags[0].documentId,this.activeIndex=0)},methods:{prevTab(){let e=this.allTag?-1:0;this.activeIndex>e&&this.selectTab(this.activeIndex-1,!0)},nextTab(){this.activeIndex<this.tags.length-1&&this.selectTab(this.activeIndex+1,!0)},selectTab(e,t=!1){if(this.activeIndex=e,this.activeFilter=e===-1?`All`:this.tags[e].documentId,t){let t=this.allTag?e+1:e;this.$refs.filters.children[t].focus()}}}},ze={key:0,ref:`filters`,class:`filters flex flex-wrap items-end gap-30 gap-y-10 pt-2 xl:gap-55`,role:`tablist`},Be=[`tabindex`,`aria-selected`,`textContent`],Ve=[`tabindex`,`aria-selected`,`aria-label`,`onClick`,`textContent`];function He(t,n,r,i,a,s){return r.tags.length>1||r.tags.length>0&&r.allTag?(u(),e(`div`,ze,[r.allTag?(u(),e(`button`,{key:0,role:`tab`,tabindex:a.activeFilter===`All`?0:-1,class:p([`post_filter underlinelink fadeInLeft relative pb-5`,{active:a.activeFilter===`All`}]),"aria-selected":a.activeFilter===`All`?`true`:`false`,"aria-label":`All`,onClick:n[0]||=e=>s.selectTab(-1),onKeydown:n[1]||=j((...e)=>s.nextTab&&s.nextTab(...e),[`right`]),textContent:o(s.allButton)},null,42,Be)):v(``,!0),(u(!0),e(O,null,E(r.tags,(t,r)=>(u(),e(`button`,{key:`filter-${r}`,role:`tab`,tabindex:a.activeFilter===t.documentId?0:-1,class:p([`post_filter underlinelink fadeInLeft relative min-w-content pb-5`,[{active:a.activeFilter===t.documentId},`delay-${r*100}`]]),"aria-selected":a.activeFilter===t.documentId?`true`:`false`,"aria-label":t.name,onClick:e=>s.selectTab(r),onKeydown:[n[2]||=j((...e)=>s.prevTab&&s.prevTab(...e),[`left`]),n[3]||=j((...e)=>s.nextTab&&s.nextTab(...e),[`right`])],textContent:o(t.name)},null,42,Ve))),128))],512)):v(``,!0)}var Ue=T(Re,[[`render`,He]]),We={name:`CardPart`,props:{card:{type:Object,default:()=>{}},theme:{type:String,default:()=>`dark`},collection:{type:String,default:()=>`articles`},index:{type:Number,default:0},pageCategory:{type:String,default:()=>``}},setup(){let e=V(),{locale:t}=L();return{store:e,locale:t,localePath:ne()}},computed:{style(){return{"--card-delay":`${this.index*.2}s`}},iconClasses(){return`w-auto h-20 mr-15 max-w-[85%] object-contain`+(this.theme===`dark`?``:` brightness-0`)},localizedPost(){return this.card.localizations&&this.card.localizations.length>0?this.card.localizations.find(e=>e.locale===this.locale):null},postHeading(){return this.localizedPost&&this.localizedPost.heading?this.localizedPost.heading:this.card.heading?this.card.heading:``},postExcerpt(){return this.localizedPost&&this.localizedPost.excerpt?this.localizedPost.excerpt:this.card.excerpt?this.card.excerpt:``},cardCategory(){return this.card.category?this.card.category:null},categoryName(){return this.cardCategory&&this.cardCategory.name?this.cardCategory.name.toLowerCase():`forza`},postUrl(){return this.card.slug?`/${this.collection===`articles`?`news`:this.collection}/${this.card.slug}`:null},hasMp4Video(){return this.card.mp4||!1},cardLink(){let e=this.postUrl;return this.card.externalLink&&(e=this.card.externalLink.url),this.card.youtube&&(e=this.card.youtube),this.card.facebook&&(e=this.card.facebook),this.hasMp4Video&&(e=null),{url:e}},labelText(){let e=``;return this.collection===`articles`?e=this.store?.settings?.viewArticle||`View Article`:this.collection===`events`&&(e=this.store?.settings?.viewEvent||`View Event`),e},labelLink(){return{label:this.card.externalLink?this.card.externalLink.label:this.labelText,image:this.card.externalLink?this.card.externalLink.image:null}},date(){let e=``;if(this.card.date)return e=new Date(this.card.date),e=e.toLocaleDateString(this.locale,{day:`numeric`,month:`long`,year:`numeric`}),e;if(this.card?.start){let e=new Date(this.card.start),t=this.card.end?new Date(this.card.end):null,n=this.locale||void 0,r=new Intl.DateTimeFormat(n,{year:`numeric`,month:`long`,day:`numeric`});return!t||isNaN(t.getTime())||e>=t?r.format(e):r.formatRange(e,t)}return e}}
1,mounted(){this.$bus.$on(`closeModal`,this.focusOnCard)},beforeUnmount(){this.$bus.$off(`closeModal`,this.focusOnCard)},methods:{focusOnCard(e){e===this.$refs.linkRef.$el&&setTimeout(()=>{this.$refs.linkRef.$el.focus({focusVisible:!0})},500)},handleClick(){this.hasMp4Video&&(this.store.videoModal=this.card,this.store.previousFocus=this.$refs.linkRef)}}},Ge={class:`flex`},Ke={key:0,class:`imagewrapper relative block h-full max-h-200 w-full cursor-pointer overflow-hidden`},qe={key:1,class:`playicon`},Je={class:`wrapper`},Ye=[`textContent`],Xe=[`textContent`],Ze=[`innerHTML`];function Qe(n,r,s,l,d,f){let m=R,h=H;return u(),e(`div`,Ge,[i(h,{ref:`linkRef`,class:p([`card imagewrapper flex !h-auto w-full overflow-hidden rounded`,[{pagelink:f.hasMp4Video||s.card.youtube||s.card.facebook},s.pageCategory===`horizon6`?`rounded-[20px]`:`rounded-br-[30px] rounded-tr-none`]]),style:a(f.style),link:f.cardLink,"aria-label":s.collection===`videos`?`View ${s.card.heading}`:`Read more about ${s.card.heading}`,role:f.hasMp4Video?`button`:`link`,tabindex:`0`,onKeypress:j(f.handleClick,[`enter`]),onClick:f.handleClick},{default:g(()=>[s.pageCategory===`horizon6`?v(``,!0):(u(),e(`div`,{key:0,class:p([`card_highlight block w-10`,`bg-${f.categoryName}`])},null,2)),t(`div`,{class:p([`card_inner relative flex w-full flex-col`,[s.pageCategory===`horizon6`?` text-white`:s.theme===`dark`?`bg-shade text-body`:`bg-white text-bodyDark`]])},[s.card.image?(u(),e(`div`,Ke,[s.card.image?(u(),c(m,{key:0,image:s.card.image,max:`large`,classname:`object-cover object-center h-200 w-full card__image imagescale`},null,8,[`image`])):v(``,!0),s.collection===`videos`?(u(),e(`div`,qe)):v(``,!0)])):v(``,!0),t(`div`,{class:p([`card__body flex h-full flex-col justify-between p-25`,{"h6-gradient":s.pageCategory===`horizon6`}])},[t(`div`,Je,[f.date?(u(),e(`p`,{key:0,class:`card__date mb-8 block text-sm`,textContent:o(f.date)},null,8,Ye)):v(``,!0),f.postHeading?(u(),e(`h3`,{key:1,class:p([`card__heading heading mb-20 line-clamp-2 text-xl`,s.pageCategory===`horizon6`||s.theme===`dark`?`text-white`:`text-dark`]),textContent:o(f.postHeading)},null,10,Xe)):v(``,!0),f.postExcerpt?(u(),e(`p`,{key:2,class:p([s.pageCategory===`horizon6`?`text-white`:s.theme===`dark`?`text-body`:`text-bodyDark`,`card__excerpt mb-20 line-clamp-3`]),innerHTML:f.postExcerpt},null,10,Ze)):v(``,!0)]),s.card.slug&&s.collection!==`videos`?(u(),c(h,{key:0,class:p([`card__link flex items-center font-acuminPro font-bold capitalize`,s.pageCategory===`horizon6`||s.theme===`dark`?`text-white`:`text-dark`]),link:f.labelLink,"icon-class":f.iconClasses,chevron:`chevronSingle`,"chevron-color":s.theme===`dark`?`light`:`dark`,tabindex:``},null,8,[`class`,`link`,`icon-class`,`chevron-color`])):v(``,!0)],2)],2)]),_:1},8,[`class`,`style`,`link`,`aria-label`,`role`,`onKeypress`,`onClick`])])}var $e=T(We,[[`render`,Qe]]),et={name:`PlaceholderCard`,components:{InfoButton:oe},props:{theme:{type:String,default:()=>`dark`},collection:{type:String,default:()=>`articles`}},setup(){return{store:V()}},computed:{placeholderText(){return this.store?.settings?.noResults||`There arent any ${this.collection} that match these filters.`}}},tt={class:`card !h-auto overflow-hidden rounded rounded-tr-none rounded-br-[30px] flex w-full`};function nt(n,r,a,s,c,l){let d=C(`InfoButton`);return u(),e(`div`,tt,[r[0]||=t(`div`,{class:`block w-10 h-full card_highlight bg-forza`},null,-1),t(`div`,{class:p([`relative flex flex-col w-full p-25 h-440 card_inner`,a.theme===`dark`?`bg-shade text-body`:`bg-white text-bodyDark`])},[t(`p`,null,o(l.placeholderText),1),i(d,{color:a.theme===`dark`?`#FFFF`:`#1D1D1D`,class:`absolute opacity-25 bottom-25 right-25 w-75 h-75`},null,8,[`color`])],2)])}var rt=T(et,[[`render`,nt]]),it={name:`SearchIconPart`},at={viewBox:`0 0 512 512`,width:`512px`,height:`512px`,"xml:space":`preserve`,xmlns:`http://www.w3.org/2000/svg`};function ot(n,r,i,a,o,s){return u(),e(`svg`,at,[...r[0]||=[t(`path`,{d:`M344.5,298c15-23.6,23.8-51.6,23.8-81.7c0-84.1-68.1-152.3-152.1-152.3C132.1,64,64,132.2,64,216.3 c0,84.1,68.1,152.3,152.1,152.3c30.5,0,58.9-9,82.7-24.4l6.9-4.8L414.3,448l33.7-34.3L339.5,305.1L344.5,298z M301.4,131.2 c22.7,22.7,35.2,52.9,35.2,85c0,32.1-12.5,62.3-35.2,85c-22.7,22.7-52.9,35.2-85,35.2c-32.1,0-62.3-12.5-85-35.2 c-22.7-22.7-35.2-52.9-35.2-85c0-32.1,12.5-62.3,35.2-85c22.7-22.7,52.9-35.2,85-35.2C248.5,96,278.7,108.5,301.4,131.2z`,fill:`currentColor`},null,-1)]])}var st=T(it,[[`render`,ot]]),ct={class:`container flex flex-col`},lt={class:`list__heading mb-15 flex flex-col justify-between xl:flex-row`},ut=[`textContent`],dt={key:0,class:`fadeIn delay-500`},ft={class:`table-filter-inner p-0`},pt={class:`table-search-inner`},mt=[`placeholder`,`tabindex`],ht=[`tabindex`],gt={class:`block w-full whitespace-nowrap`},_t=[`aria-expanded`],vt={class:`mt-30 mb-20 min-h-[460px]`}
1,yt={class:`mb-35 grid grid-cols-12 gap-20 2xl:grid-rows-12`},bt={__name:`PostGrid`,props:{section:{default:()=>{},type:Object},category:{default:()=>{},type:Object},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},async setup(a){let s,l,{$updatePage:d,$updateWindowSize:_,$scrollToOffset:b}=h(),x=V(),C=a,T=k(),A=k(),ee=k(!1),M=k(null),P=k(),I=k(!1),te=k(``),L=n(()=>{let e=C.section.__component.split(`.`);return e=e[1].split(`-`),e=`${e[0]}s`,e}),R=n(()=>x.settings?.search||`Search`),ne=n(()=>L.value===`articles`?x.settings?.searchArticles||`Search Articles`:L.value===`events`?x.settings?.searchEvents||`Search Events`:``),z=C.category?.name,re=L.value+(z?`_${z}`:``),{data:B}=([s,l]=w(()=>me(re,L.value,1e3)),s=await s,l(),s),H=n(()=>{let e=[];return Array.isArray(B.value)?e=B.value:B.value?.data?.results?e=B.value.data.results:B.value?.results&&(e=B.value.results),z&&e.length?e.filter(e=>e.category?.name===z):e}),U=D({pageSize:6,page:0,pageCount:Math.ceil(H.value.length/6),activeFilter:`All`}),ae=n(()=>{let e=[],t=H.value;return t.length&&(e=U.activeFilter===`All`?t:t.filter(e=>e.tags?.map(e=>e.documentId).includes(U.activeFilter)),te.value&&(e=e.filter(e=>e.heading?.toLowerCase().includes(te.value)))),W(e.length),e}),W=e=>{U.page=0,U.pageCount=Math.ceil(e/6)},oe=e=>{U.page=e-1,G()},se=e=>{U.activeFilter=e===`All`?`All`:C.section?.tags?.filter(t=>t.documentId===e)[0].documentId,G()},G=()=>{if(T.value){let e=T.value.closest(`.sections`).offsetTop+T.value.offsetTop-150;b(e,1e3)}},ce=()=>{_()},le=e=>{e.split(` `).includes(`onscreen`)&&(ee.value=!0,M.value.disconnect(),f(()=>{A.value&&A.value.updateSwiper!==void 0&&A.value.updateSwiper()}))},ue=()=>{I.value=!I.value,I.value?f(()=>{P.value.focus()}):P.value.value=``},K=()=>{te.value=P.value.value.toLowerCase()};return m(()=>{M.value=new MutationObserver(e=>{for(let t of e){let e=t.target.getAttribute(t.attributeName);le(e,t.oldValue)}}),M.value.observe(T.value,{attributes:!0,attributeOldValue:!0,attributeFilter:[`class`]}),d()}),S(()=>{M.value&&M.value.disconnect()}),(n,s)=>(u(),e(`section`,{ref_key:`sectionRef`,ref:T,class:`postGrid padsection`},[t(`div`,ct,[t(`div`,lt,[a.section.heading?(u(),e(`h2`,{key:0,class:`heading tiltIn padsection__heading mb-20 inline-block text-6xl lg:text-7xl xl:mb-0`,textContent:o(a.section.heading)},null,8,ut)):v(``,!0),a.section.tags?(u(),c(Ue,{key:1,tags:a.section.tags,"all-tag":a.section.allTag,onUpdateFilter:se},null,8,[`tags`,`all-tag`])):v(``,!0)]),a.section.search?(u(),e(`div`,dt,[t(`div`,{class:p([`table-filter w-full ml-auto open transition-all duration-300`,r(I)?`max-w-640`:`max-w-40`])},[t(`div`,ft,[t(`div`,pt,[t(`form`,{class:`flex gap-10 p-5`,onSubmit:F(K,[`prevent`])},[t(`input`,{ref_key:`searchInput`,ref:P,type:`text`,placeholder:r(ne),tabindex:r(I)?0:-1,class:`form-input rounded-4 bg-white px-15 py-10 text-dark`},null,8,mt),t(`button`,{type:`submit`,class:`shiny shiny--sm button relative min-w-100 flex overflow-hidden rounded border-2 border-white px-20 py-6 text-white transition-all duration-300 hover:border-forza hover:bg-forza`,tabindex:r(I)?0:-1},[s[0]||=t(`div`,{class:`shiny__reflect`},null,-1),t(`span`,gt,o(r(R)),1)],8,ht)],32)]),t(`div`,{class:`relative w-30 h-30 min-w-30 fadelink`,title:`Toggle search`,"aria-expanded":r(I)?`true`:`false`,tabindex:`0`,role:`button`,onClick:ue,onKeypress:j(ue,[`enter`])},[i(st,{class:`absolute top-0 left-0 w-full h-full`})],40,_t)])],2)])):v(``,!0),t(`div`,vt,[i(N,{name:`cardList`,mode:`out-in`,onEnter:ce},{default:g(()=>[r(ee)?(u(),e(`div`,{key:r(ae).length+Math.random()},[t(`div`,yt,[(u(!0),e(O,null,E(r(ae).slice(r(U).page*r(U).pageSize,r(U).page*r(U).pageSize+r(U).pageSize),(e,t)=>y((u(),c($e,{key:e.id,card:e,index:t,class:p([`post__grid__card col-span-12 row-span-4`,`delay-${t*100+100}`]),collection:r(L)},null,8,[`card`,`index`,`class`,`collection`])),[[ie,e]])),128)),r(ae).length<1?(u(),c(rt,{key:0,class:`post__grid__card col-span-12 row-span-2`,collection:r(L)},null,8,[`collection`])):v(``,!0)])])):v(``,!0)]),_:1}),y((u(),c(ge,{key:r(U).pageCount,class:`fadeIn mb-0 delay-1000`,meta:r(U),onPageChange:oe},null,8,[`meta`])),[[ie,r(U).pageCount>1]])])])],512))}},xt=z(`/images/background/fh6-paper.webp`),St=z(`/images/background/fh6-pink-origami-top-left2.webp`),Ct=z(`/images/background/fh6-pink-origami-bottom-right.webp`),wt={name:`PanelListItem`,props:{post:{type:Object,default:()=>{}},theme:{type:String,default:()=>`dark`},collection:{type:String,default:()=>`articles`},index:{type:Number,default:()=>0},pageCategory:{type:String,default:()=>``}},setup(){let e=V(),{locale:t}=L();return{store:e,locale:t,localePath:ne()}},computed:{iconClasses(){return`w-auto h-20 mr-15`+(this.theme===`dark`?``:` brightness-0`)},postCategory(){return this.post.category?this.post.category:null},categoryImage(){return this.postCategory?this.postCategory.image:null},localizedPost(){return this.post.localizations&&this.post.localizations.length>0?this.post.localizations.find(e=>e.locale===this.locale):null},postHeading(){return this.localizedPost&&this.localizedPost.heading?this.localizedPost.heading:this.post.heading?this.post.heading:``},postExcerpt(){return this.localizedPost&&this.localizedPost.excerpt?this.localizedPost.excerpt:this.post.excerpt?this.post.excerpt:``},categoryName(){return this.postCategory&&this.postCategory.name?this.postCategory.name.toLowerCase():`forza`},postUrl(){return this.post.slug?`/${this.collection===`articles`?`news`:this.collection}/${this.post.slug}`:null},hasMp4Video(){return this.post.mp4||!1},cardLink(){let e=this.postUrl;return this.post.externalLink&&(e=this.post.externalLink.url),this.post.youtube&&(e=this.post.youtube),this.post.facebook&&(e=this.post.facebook),this.hasMp4Video&&(e=null),{url:e}},labelText(){let e=``;return this.collection===`articles`?e=this.store?.settings?.viewArticle||`View Article`:this.collection===`events`&&(e=this.store?.settings?.viewEvent||`View Event`),e},labelLink(){return{label:this.post.externalLink?this.post.externalLink.label:this.labelText,image:this.post.externalLink?this.post.externalLink.image:null}},date(){let e=``;if(this.post.date)return e=new Date(this.post.date),e=e.toLocaleDateString(this.locale,{day:`numeric`,month:`long`,year:`numeric`}),e;if(this.post?.start){let e=new Date(this.post.start),t=this.post.end?new Date(this.post.end):null,n=this.locale||void 0,r=new Intl.DateTimeFormat(n,{year:`numeric`,month:`long`,day:`numeric`});return!t||isNaN(t.getTime())||e>=t?r.format(e):r.formatRange(e,t)}return e},delayOffset(){return this.index*250}},methods:{handleClick(){this.hasMp4Video&&(this.store.videoModal=this.post)}}},Tt={key:1,class:`playicon`},Et={class:`wrapper pt-5`},Dt=[`textContent`],Ot=[`textContent`];
1function kt(n,r,i,s,l,d){let f=R,m=G,h=H;return i.post?(u(),c(h,{key:0,class:p([`post grid !h-auto grid-cols-12 gap-20`,[{pagelink:d.hasMp4Video},{"xl:gap-50":i.index===0}]]),link:d.cardLink,tabindex:`0`,role:d.hasMp4Video?`button`:`link`,onKeyup:j(d.handleClick,[`enter`]),onClick:d.handleClick},{default:g(()=>[i.post.image?(u(),e(`div`,{key:0,class:p([`imagewrapper relative col-span-full block aspect-video h-full w-full overflow-hidden`,i.index===0?`lg:col-span-8`:``])},[t(`div`,{class:p([`slideLeft overflow-hidden rounded`,i.pageCategory===`horizon6`?`rounded-[20px]`:`rounded-br-[30px] rounded-tr-none`]),style:a(`transition-delay: ${d.delayOffset}ms`)},[i.post.image?(u(),c(f,{key:0,image:i.post.image,class:``,max:`xlarge`,classname:`object-cover object-center aspect-video w-full imagescale`},null,8,[`image`])):v(``,!0),i.collection===`videos`?(u(),e(`div`,Tt)):v(``,!0)],6)],2)):v(``,!0),t(`div`,{class:p([`post__body col-span-full flex h-full flex-col`,i.index===0?`lg:col-span-4`:``])},[t(`div`,Et,[d.date?(u(),e(`span`,{key:0,class:p([`date mb-8 block text-sm`,[{"font-bold":i.post.start},i.post.start?`text-${d.categoryName}Dark`:``]]),style:a(`transition-delay: ${d.delayOffset+150}ms`),textContent:o(d.date)},null,14,Dt)):v(``,!0),d.postHeading?(u(),e(`h3`,{key:1,class:p([`post__heading heading tilt mb-20 line-clamp-2`,[`text-${d.categoryName}Dark`,i.index===0?`text-5xl`:`text-xl`]]),style:a(`transition-delay: ${d.delayOffset+250}ms`),textContent:o(d.postHeading)},null,14,Ot)):v(``,!0),d.postExcerpt?(u(),c(m,{key:2,class:p([[`horizon`,`horizon6`].includes(i.pageCategory)?`text-bodyDark`:`text-body`,`excerpt mb-20 line-clamp-3`]),style:a(`transition-delay: ${d.delayOffset+350}ms`),body:d.postExcerpt},null,8,[`class`,`style`,`body`])):v(``,!0)]),i.post.slug&&i.collection!==`videos`?(u(),c(h,{key:0,class:p([`readMore flex items-center font-acuminPro font-bold`,[`horizon`,`horizon6`].includes(i.pageCategory)?`text-dark`:`text-white`]),link:d.labelLink,"icon-class":d.iconClasses,chevron:`chevronSingle`,"chevron-color":[`horizon`,`horizon6`].includes(i.pageCategory)?`dark`:`light`,style:a(`transition-delay: ${d.delayOffset+500}ms`)},null,8,[`class`,`link`,`icon-class`,`chevron-color`,`style`])):v(``,!0)],2)]),_:1},8,[`class`,`link`,`role`,`onKeyup`,`onClick`])):v(``,!0)}var At=T(wt,[[`render`,kt]]),jt={name:`PlaceholderPanel`,components:{InfoButton:oe},props:{theme:{type:String,default:()=>`dark`},collection:{type:String,default:()=>`articles`}},setup(){return{store:V()}},computed:{placeholderText(){return this.store?.settings?.noResults||`There arent any ${this.collection} that match these filters.`}}},Mt={class:`relative panel__placeholder`};function Nt(n,r,a,s,c,l){let d=C(`InfoButton`);return u(),e(`div`,Mt,[t(`p`,null,o(l.placeholderText),1),i(d,{color:a.theme===`dark`?`#FFFF`:`#1D1D1D`,class:`absolute opacity-25 -bottom-50 -right-50 w-75 h-75`},null,8,[`color`])])}var Pt={components:{PanelListItem:At,Placeholder:T(jt,[[`render`,Nt]])},props:{list:{type:Array,default:()=>[]},theme:{type:String,default:()=>`dark`},collection:{type:String,default:()=>`articles`},pageCategory:{type:String,default:()=>``}},data(){return{}}},Ft={class:`panel_deck grid grid-cols-12 gap-20 overflow-visible lg:gap-50`};function It(t,n,r,i,a,o){let s=C(`PanelListItem`),l=C(`Placeholder`);return u(),e(`div`,Ft,[(u(!0),e(O,null,E(r.list,(e,t)=>(u(),c(s,{key:t,post:e,theme:r.theme,index:t,collection:r.collection,"page-category":r.pageCategory,class:p([`swiper-slide fadeInLeft col-span-full w-full`,[`delay-${t*100+100}`,t===0?`lg:col-span-full`:`lg:col-span-6`]])},null,8,[`post`,`theme`,`index`,`collection`,`page-category`,`class`]))),128)),r.list.length<1?(u(),c(l,{key:0,class:`fadeInLeft col-span-4`,theme:`light`,collection:r.collection},null,8,[`collection`])):v(``,!0)])}var Lt=T(Pt,[[`render`,It]]),Rt={key:0,class:`pointer-events-none absolute left-0 top-0 z-0 h-full w-full`},zt={key:0,class:`-bottom-20 left-0 inline-block h-5 w-full flex-1 rounded bg-horizon6Pink lg-max:absolute`},Bt={class:`flex lg:justify-end`},Vt={__name:`PostPanels`,props:{section:{default:()=>{},type:Object},category:{default:()=>{},type:Object},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},async setup(a){let s,d,{$updatePage:_,$updateWindowSize:y}=h(),b=a,x=k(),C=k(),T=k(`All`),E=k(!1),D=k(null),O=n(()=>b.section.theme||`dark`),A=n(()=>{let e=b.section.__component.split(`.`);return e=e[1].split(`-`),e=`${e[0]}s`,e}),j=b.category?.name,ee=A.value+(j?`_${j}`:``),{data:M}=([s,d]=w(()=>me(ee,A.value,1e3)),s=await s,d(),s),P=n(()=>{let e=[];return Array.isArray(M.value)?e=M.value:M.value?.data?.results?e=M.value.data.results:M.value?.results&&(e=M.value.results),j&&e.length?e.filter(e=>e.category?.name===j):e}),F=n(()=>{let e=P.value;return e.length?T.value===`All`?e.slice(0,3):e.filter(e=>e.tags?.map(e=>e.documentId).includes(T.value)).slice(0,3):[]}),I=()=>{y()},te=e=>{T.value=e===`All`?`All`:b.section?.tags?.filter(t=>t.documentId===e)[0].documentId},L=e=>{e.split(` `).includes(`onscreen`)&&(E.value=!0,D.value.disconnect(),f(()=>{C.value&&C.value.updateSwiper!==void 0&&C.value.updateSwiper()}))};return m(()=>{D.value=new MutationObserver(e=>{for(let t of e){let e=t.target.getAttribute(t.attributeName);L(e,t.oldValue)}}),D.value.observe(x.value,{attributes:!0,attributeOldValue:!0,attributeFilter:[`class`]}),_()}),S(()=>{D.value&&D.value.disconnect()}),(n,s)=>{let d=H;return u(),e(`section`,{ref_key:`sectionRef`,ref:x,class:`articleslist padsection`},[a.categoryName===`horizon6`?(u(),e(`div`,Rt,[...s[0]||=[t(`img`,{src:xt,alt:`Paper background`,role:`presentation`,class:`absolute left-0 top-0 z-0 h-full w-full object-cover object-top`},null,-1),t(`img`,{src:St,alt:``,class:`absolute left-0 top-0 z-0 h-100 w-auto object-contain object-top md:h-120 xl:h-180`},null,-1),t(`img`,{src:Ct,alt:``,class:`absolute bottom-0 right-0 z-0 h-100 w-auto object-contain object-bottom md:h-180 xl:h-200`},null,-1)]])):v(``,!0),t(`div`,{class:p([`container`,{"pt-120 text-dark lg:pt-160":a.categoryName===`horizon6`}])},[t(`div`,{class:p([`list__heading xl:mb-35`,{block:a.categoryName===`horizon6`,"flex flex-col justify-between align-baseline xl:flex-row xl:items-end":a.categoryName!==`horizon6`}])},[a.section.heading?(u(),e(`h2`,{key:0,class:p([`heading swipeFromLeft mb-50 w-max text-6xl delay-100 lg:text-7xl`,{"flex-row items-center gap-50 lg:flex lg:w-full":a.categoryName===`horizon6`,"xl:mb-0":a.categoryName!==`horizon6`}])},[l(o(a.section.heading)+` `,1),a.categoryName===`horizon6`?(u(),e(`span`,zt)):v(``,!0)],2)):v(``,!0),a.section.tags?(u(),c(Ue,{key:1,class:`mb-2
10 xl:mb-0`,tags:a.section.tags,"all-tag":a.section.allTag,onUpdateFilter:te},null,8,[`tags`,`all-tag`])):v(``,!0)],2),i(N,{name:`panels`,mode:`out-in`,onEnter:I},{default:g(()=>[r(E)?(u(),c(Lt,{key:r(F)?.length+Math.random(),ref_key:`cardListRef`,ref:C,class:`mb-20`,list:r(F).map(e=>e),theme:r(O),collection:r(A),"page-category":a.categoryName},null,8,[`list`,`theme`,`collection`,`page-category`])):v(``,!0)]),_:1}),t(`div`,Bt,[a.section.link?(u(),c(d,{key:0,class:p([`fadeInLeft flex items-center font-acuminPro font-bold`,`delay-${r(F)?.length*100+100}`]),link:a.section.link,chevron:`chevronTriple`,"chevron-color":[`horizon`,`horizon6`].includes(a.categoryName)?`dark`:`light`,tabindex:`0`},null,8,[`class`,`link`,`chevron-color`])):v(``,!0)])],2)],512)}}};function Ht({swiper:e,extendParams:t,on:n,emit:r}){let i=we(),a=!1,o=null,s=null,c,l,u,d;t({scrollbar:{el:null,dragSize:`auto`,hide:!1,draggable:!1,snapOnRelease:!0,lockClass:`swiper-scrollbar-lock`,dragClass:`swiper-scrollbar-drag`,scrollbarDisabledClass:`swiper-scrollbar-disabled`,horizontalClass:`swiper-scrollbar-horizontal`,verticalClass:`swiper-scrollbar-vertical`}}),e.scrollbar={el:null,dragEl:null};function f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;let{scrollbar:t,rtlTranslate:n}=e,{dragEl:r,el:i}=t,a=e.params.scrollbar,s=e.params.loop?e.progressLoop:e.progress,c=l,d=(u-l)*s;n?(d=-d,d>0?(c=l-d,d=0):-d+l>u&&(c=u+d)):d<0?(c=l+d,d=0):d+l>u&&(c=u-d),e.isHorizontal()?(r.style.transform=`translate3d(${d}px, 0, 0)`,r.style.width=`${c}px`):(r.style.transform=`translate3d(0px, ${d}px, 0)`,r.style.height=`${c}px`),a.hide&&(clearTimeout(o),i.style.opacity=1,o=setTimeout(()=>{i.style.opacity=0,i.style.transitionDuration=`400ms`},1e3))}function p(t){e.params.scrollbar.el&&e.scrollbar.el&&(e.scrollbar.dragEl.style.transitionDuration=`${t}ms`)}function m(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;let{scrollbar:t}=e,{dragEl:n,el:r}=t;n.style.width=``,n.style.height=``,u=e.isHorizontal()?r.offsetWidth:r.offsetHeight,d=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),l=e.params.scrollbar.dragSize===`auto`?u*d:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?n.style.width=`${l}px`:n.style.height=`${l}px`,d>=1?r.style.display=`none`:r.style.display=``,e.params.scrollbar.hide&&(r.style.opacity=0),e.params.watchOverflow&&e.enabled&&t.el.classList[e.isLocked?`add`:`remove`](e.params.scrollbar.lockClass)}function h(t){return e.isHorizontal()?t.clientX:t.clientY}function g(t){let{scrollbar:n,rtlTranslate:r}=e,{el:i}=n,a;a=(h(t)-De(i)[e.isHorizontal()?`left`:`top`]-(c===null?l/2:c))/(u-l),a=Math.max(Math.min(a,1),0),r&&(a=1-a);let o=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*a;e.updateProgress(o),e.setTranslate(o),e.updateActiveIndex(),e.updateSlidesClasses()}function _(t){let n=e.params.scrollbar,{scrollbar:i,wrapperEl:o}=e,{el:l,dragEl:u}=i;a=!0,c=t.target===u?h(t)-t.target.getBoundingClientRect()[e.isHorizontal()?`left`:`top`]:null,t.preventDefault(),t.stopPropagation(),o.style.transitionDuration=`100ms`,u.style.transitionDuration=`100ms`,g(t),clearTimeout(s),l.style.transitionDuration=`0ms`,n.hide&&(l.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style[`scroll-snap-type`]=`none`),r(`scrollbarDragStart`,t)}function v(t){let{scrollbar:n,wrapperEl:i}=e,{el:o,dragEl:s}=n;a&&(t.preventDefault&&t.cancelable?t.preventDefault():t.returnValue=!1,g(t),i.style.transitionDuration=`0ms`,o.style.transitionDuration=`0ms`,s.style.transitionDuration=`0ms`,r(`scrollbarDragMove`,t))}function y(t){let n=e.params.scrollbar,{scrollbar:i,wrapperEl:o}=e,{el:c}=i;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style[`scroll-snap-type`]=``,o.style.transitionDuration=``),n.hide&&(clearTimeout(s),s=ye(()=>{c.style.opacity=0,c.style.transitionDuration=`400ms`},1e3)),r(`scrollbarDragEnd`,t),n.snapOnRelease&&e.slideToClosest())}function b(t){let{scrollbar:n,params:r}=e,a=n.el;if(!a)return;let o=a,s=r.passiveListeners?{passive:!1,capture:!1}:!1,c=r.passiveListeners?{passive:!0,capture:!1}:!1;if(!o)return;let l=t===`on`?`addEventListener`:`removeEventListener`;o[l](`pointerdown`,_,s),i[l](`pointermove`,v,s),i[l](`pointerup`,y,c)}function x(){e.params.scrollbar.el&&e.scrollbar.el&&b(`on`)}function S(){e.params.scrollbar.el&&e.scrollbar.el&&b(`off`)}function C(){let{scrollbar:t,el:n}=e;e.params.scrollbar=Ce(e,e.originalParams.scrollbar,e.params.scrollbar,{el:`swiper-scrollbar`});let r=e.params.scrollbar;if(!r.el)return;let a;if(typeof r.el==`string`&&e.isElement&&(a=e.el.querySelector(r.el)),!a&&typeof r.el==`string`){if(a=i.querySelectorAll(r.el),!a.length)return}else a||=r.el;e.params.uniqueNavElements&&typeof r.el==`string`&&a.length>1&&n.querySelectorAll(r.el).length===1&&(a=n.querySelector(r.el)),a.length>0&&(a=a[0]),a.classList.add(e.isHorizontal()?r.horizontalClass:r.verticalClass);let o;a&&(o=a.querySelector(be(e.params.scrollbar.dragClass)),o||(o=xe(`div`,e.params.scrollbar.dragClass),a.append(o))),Object.assign(t,{el:a,dragEl:o}),r.draggable&&x(),a&&a.classList[e.enabled?`remove`:`add`](...q(e.params.scrollbar.lockClass))}function w(){let t=e.params.scrollbar,n=e.scrollbar.el;n&&n.classList.remove(...q(e.isHorizontal()?t.horizontalClass:t.verticalClass)),S()}n(`changeDirection`,()=>{if(!e.scrollbar||!e.scrollbar.el)return;let t=e.params.scrollbar,{el:n}=e.scrollbar;
1n=ve(n),n.forEach(n=>{n.classList.remove(t.horizontalClass,t.verticalClass),n.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),n(`init`,()=>{e.params.scrollbar.enabled===!1?E():(C(),m(),f())}),n(`update resize observerUpdate lock unlock changeDirection`,()=>{m()}),n(`setTranslate`,()=>{f()}),n(`setTransition`,(e,t)=>{p(t)}),n(`enable disable`,()=>{let{el:t}=e.scrollbar;t&&t.classList[e.enabled?`remove`:`add`](...q(e.params.scrollbar.lockClass))}),n(`destroy`,()=>{w()});let T=()=>{e.el.classList.remove(...q(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...q(e.params.scrollbar.scrollbarDisabledClass)),C(),m(),f()},E=()=>{e.el.classList.add(...q(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...q(e.params.scrollbar.scrollbarDisabledClass)),w()};Object.assign(e.scrollbar,{enable:T,disable:E,updateSize:m,setTranslate:f,init:C,destroy:w})}var Ut={components:{Card:$e,Swiper:J,CardPlaceholder:rt},props:{list:{type:Array,default:()=>[]},theme:{type:String,default:()=>`dark`},collection:{type:String,default:()=>`articles`},pageCategory:{type:String,default:()=>``}},data(){return{swiperOptions:{modules:[Ht],slidesPerView:1.2,spaceBetween:20,observer:!0,grabCursor:!0,scrollbar:{el:null,draggable:!0},breakpoints:{1024:{slidesPerView:2,grabCursor:!0,allowTouchMove:!0},1280:{slidesPerView:4,grabCursor:!1,allowTouchMove:!1}}},initSwiper:!1}},mounted(){this.swiperOptions.scrollbar.el=this.$refs.scrollbarRef,this.initSwiper=!0,window.addEventListener(`focus`,this.focusChange,!0)},beforeUnmount(){window.removeEventListener(`focus`,this.focusChange,!0)},methods:{focusChange(e){if(e.target?.nodeType&&this.$refs.swiperRef?.swiper&&this.$refs.swiperRef.swiper.el.contains(e.target)){let t=this.$refs.swiperRef.swiper.slides.findIndex(t=>t.contains(e.target));t>-1&&this.$refs.swiperRef.swiper.slideTo(t)}},updateSwiper(){this.$refs.swiperRef?.swiper&&this.$refs.swiperRef.swiper.update()}}},Wt={class:`card_deck overflow-visible`},Gt={ref:`scrollbarRef`,class:`swiper-scrollbar`};function Kt(n,r,a,o,s,l){let d=C(`Card`),f=C(`CardPlaceholder`),p=C(`Swiper`);return u(),e(`div`,Wt,[i(p,{ref:`swiperRef`,options:s.swiperOptions,init:s.initSwiper,"container-class":`!overflow-visible`},{scrollbar:g(()=>[t(`div`,Gt,null,512)]),default:g(()=>[(u(!0),e(O,null,E(a.list,(e,t)=>y((u(),c(d,{key:t,index:t,card:e,theme:a.theme,collection:a.collection,class:`swiper-slide !h-auto w-full`,"page-category":a.pageCategory},null,8,[`index`,`card`,`theme`,`collection`,`page-category`])),[[ie,e]])),128)),a.list?.length<1?(u(),c(f,{key:0,class:`swiper-slide`,theme:a.theme,collection:a.collection},null,8,[`theme`,`collection`])):v(``,!0)]),_:1},8,[`options`,`init`])])}var qt=T(Ut,[[`render`,Kt]]),Jt={key:0,class:`pointer-events-none absolute left-0 top-0 z-0 h-full w-full bg-gradient-to-b from-horizon6Veridian to-horizon6VeridianDark`},Yt={class:`container`},Xt=[`textContent`],Zt={key:0,class:`hidden h-5 w-full flex-1 rounded bg-horizon6 sm:inline-block`},Qt={class:`mb-20 min-h-[460px]`},$t={class:`flex lg:justify-end`},en={__name:`PostRow`,props:{section:{default:()=>{},type:Object},category:{default:()=>{},type:Object},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},async setup(a){let s,l,{$updatePage:d,$updateWindowSize:_}=h(),y=a,b=k(),x=k(),C=k(`All`),T=k(!1),E=k(null),D=n(()=>y.section.theme||`dark`),O=n(()=>{let e=y.section.__component.split(`.`);return e=e[1].split(`-`),e=`${e[0]}s`,e}),A=n(()=>y?.category?.name??``),j=()=>{_()},ee=O.value+(A?.value?`_${A.value}`:``)+`_row`,{data:M}=([s,l]=w(()=>me(ee,O.value,1e3)),s=await s,l(),s),P=n(()=>{let e=[];return Array.isArray(M.value)?e=M.value:M.value?.data?.results?e=M.value.data.results:M.value?.results&&(e=M.value.results),A.value&&e.length?e.filter(e=>e.category?.name===A.value):e}),F=n(()=>{let e=P.value;return e.length?C.value===`All`?e.slice(0,4):e.filter(e=>e.tags?.map(e=>e.documentId).includes(C.value))?.slice(0,4):[]}),I=e=>{C.value=e===`All`?`All`:y.section?.tags?.filter(t=>t.documentId===e)[0].documentId},te=e=>{e.split(` `).includes(`onscreen`)&&(T.value=!0,E.value.disconnect(),f(()=>{x.value&&x.value.updateSwiper!==void 0&&x.value.updateSwiper()}))};return m(()=>{E.value=new MutationObserver(e=>{for(let t of e){let e=t.target.getAttribute(t.attributeName);te(e,t.oldValue)}}),E.value.observe(b.value,{attributes:!0,attributeOldValue:!0,attributeFilter:[`class`]}),d()}),S(()=>{E.value&&E.value.disconnect()}),(n,s)=>{let l=H;return u(),e(`section`,{ref_key:`sectionRef`,ref:b,class:`articleslist padsection`},[a.categoryName===`horizon6`?(u(),e(`div`,Jt,[...s[0]||=[t(`div`,{class:`absolute left-0 top-0 z-0 h-full w-full bg-repeat`,style:{"background-image":`url('/images/background/fh6-origami-repeated.svg')`}},null,-1),t(`div`,{class:`absolute left-0 top-0 z-0 h-15 w-full bg-gradient-to-b from-black/40 to-transparent`},null,-1),t(`div`,{class:`absolute bottom-0 left-0 z-0 h-15 w-full bg-gradient-to-t from-black/40 to-transparent`},null,-1)]])):v(``,!0),t(`div`,Yt,[t(`div`,{class:p([`list__heading xl:mb-35`,{block:a.categoryName===`horizon6`,"flex flex-col justify-between align-baseline xl:flex-row xl:items-end":a.categoryName!==`horizon6`}])},[a.section.heading?(u(),e(`h2`,{key:0,class:p([`tiltIn heading padsection__heading mb-50 text-6xl lg:text-7xl`,{"xl:mb-0":a.categoryName!==`horizon6`,"flex w-full flex-row items-center gap-50":a.categoryName===`horizon6`}])},[t(`span`,{class:`swipeFromLeft`,textContent:o(a.section.heading)},null,8,Xt),a.categoryName===`horizon6`?(u(),e(`span`,Zt)):v(``,!0)],2)):v(``,!0),a.section.tags?(u(),c(Ue,{key:1,class:`mb-30 sm:mb-20 xl:mb-0`,tags:a.section.tags,"group-name":a.section.heading,"all-tag":a.section.allTag,onUpdateFilter:I},null,8,[`tags`,`group-name`,`all-tag`])):v(``,!0)],2),t(`div`,Qt,[i(N,{name:`cardList`,mode:`out-in`,onEnter:j},{default:g(()=>[r(T)?(u(),c(qt,{ref_key:`cardListRef`,ref:x,key:r(F).length+Math.random(),list:r(F).map(e=>e),theme:r(D),collection:r(O),"page-category":a.categoryName},null,8,[`list`,`theme`,`collection`,`page-category`])):v(``,!0)]),_:1})]),t(`div`,$t,[a.section.link?(u(),c(l,{key:0,class:p([`fadeInLeft flex items-center font-acuminPro font-bold`,`delay-${r(F)?.length*100+100}`]),link:a.section.link,chevron:`chevronTriple`,"chevron-color":a.categoryName===`horizon`?`dark`:`light`,tabindex:`0`},null,8,[`class`,`link`,`chevron-color`])):v(``,!0)])])],512)}}},tn={name:`ParcelPart`,props:{parcelData:{type:Object,default:()=>{}},theme:{type:String,default:()=>`dark`},collection:{type:String,default:()=>`articles`},index:{type:Number,default:()=>0}},setup(){return{store:V(),localePath:ne()}},computed:{parcel(){return this.parcelData?this.parcelData:null},localizedPost(){return this.parcel.localizations&&this.parcel.localizations.length>0?this.parcel.localizations.find(e=>e.locale===this.locale):null},postHeading(){return this.localizedPost&&this.localizedPost.heading?this.localizedPost.heading:this.parcel.heading?this.parcel.heading:``},postExcerpt(){return this.localizedPost&&this.localizedPost.excerpt?this.localizedPost.excerpt:this.parcel.excerpt?this.parcel.excerpt:``},iconClasses(){return`w-auto h-20 mr-15`+(this.theme===`dark`?``:` brightness-0`)},parcelCategory(){return this.parcel.category?this.parcel.category:null},categoryName(){return this.parcelCategory&&this.parcelCategory.name?this.parcelCategory.name.toLowerCase():`forza`},postUrl(){return this.parcel.slug?`/${this.collection===`articles`?`news`:this.collection}/${this.parcel.slug}`:null},hasMp4Video(){return this.parcel.mp4||!1},cardLink(){let e=this.postUrl;return this.parcel.externalLink&&(e=this.parcel.externalLink.url),this.parcel.youtube&&(e=this.parcel.youtube),this.parcel.facebook&&(e=this.parcel.facebook),this.hasMp4Video&&(e=null),{url:e}},labelText(){let e=``;return this.collection===`articles`?e=this.store?.settings?.viewArticle||`View Article`:this.collection===`events`&&(e=this.store?.settings?.viewEvent||`View Event`),e},labelLink(){return{label:this.parcel.externalLink?this.parcel.externalLink.label:this.labelText,image:this.parcel.externalLink?this.parcel.externalLink.image:null}}},mounted(){this.$bus.$on(`closeModal`,this.focusOnCard)},beforeUnmount(){this.$bus.$off(`closeModal`,this.focusOnCard)},methods:{focusOnCard(e){e===this.$refs.linkRef.$el&&setTimeout(()=>{this.$refs.linkRef.$el.focus({focusVisible:!0})},500)},handleClick(){this.hasMp4Video&&(this.store.videoModal=this.parcel,this.store.previousFocus=this.$refs.linkRef)}}},nn={class:`parcel_inner relative flex h-full w-full flex-col`},rn={key:0,class:`imagewrapper relative h-200 w-full overflow-hidden rounded rounded-br-[30px] lg:h-300`},an={key:1,class:`playicon`},on={class:`parcel__body flex h-full flex-col justify-between py-25`},sn={class:`wrapper`},cn=[`textContent`];
1function ln(n,r,i,s,l,d){let f=R,m=G,h=H;return d.parcel?(u(),c(h,{key:0,ref:`linkRef`,class:p([`parcel flex !h-auto`,[{pagelink:d.hasMp4Video||d.parcel.youtube||d.parcel.facebook}]]),link:d.cardLink,"aria-label":i.collection===`videos`?`View ${d.parcel.heading}`:`Read more about ${d.parcel.heading}`,tabindex:`0`,role:d.hasMp4Video?`button`:`link`,onKeypress:j(d.handleClick,[`enter`]),onClick:d.handleClick},{default:g(()=>[t(`div`,nn,[d.parcel.image?(u(),e(`div`,rn,[d.parcel.image?(u(),c(f,{key:0,image:d.parcel.image,max:`medium`,classname:`z-0 inset-0 object-cover object-center w-full h-full imagescale`},null,8,[`image`])):v(``,!0),i.collection===`videos`?(u(),e(`div`,an)):v(``,!0)])):v(``,!0),t(`div`,on,[t(`div`,sn,[d.postHeading?(u(),e(`h3`,{key:0,class:`heading swipeFromLeft mb-15 text-xl`,style:a(`transition-delay: ${i.index*250+300}ms`),textContent:o(d.postHeading)},null,12,cn)):v(``,!0),d.postExcerpt?(u(),c(m,{key:1,class:`text-gray-600 fadeIn mb-15`,style:a(`transition-delay: ${i.index*250+1e3}ms`),body:d.postExcerpt,tabindex:`0`,role:`region`,"aria-label":d.postExcerpt},null,8,[`style`,`body`,`aria-label`])):v(``,!0),d.parcel.slug&&i.collection!==`videos`?(u(),c(h,{key:2,class:p([`flex items-center font-acuminPro font-bold text-white`,i.theme===`dark`?`text-white`:`text-dark`]),link:d.labelLink,"icon-class":d.iconClasses,chevron:`chevronSingle`,"chevron-color":i.theme===`dark`?`light`:`dark`},null,8,[`class`,`link`,`icon-class`,`chevron-color`])):v(``,!0)])])])]),_:1},8,[`class`,`link`,`aria-label`,`role`,`onKeypress`,`onClick`])):v(``,!0)}var un={name:`PostDouble`,components:{Parcel:T(tn,[[`render`,ln]])},props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},computed:{theme(){let e=`dark`;return this.categoryName&&this.categoryName===`horizon`&&(e=`light`),e},collectionType(){let e=this.section.__component.split(`.`);return e=e[1].split(`-`),e=`${e[0]}s`,e},posts(){return this.section[this.collectionType]&&this.section[this.collectionType]?this.section[this.collectionType]:null}},mounted(){this.$updatePage()}},dn={class:`postdouble padsection`},fn={class:`container`},pn={class:`grid-cols-12 gap-20 lg:grid`},mn={class:`col-span-4 xl:col-span-3`},hn=[`textContent`];function gn(n,r,s,c,l,d){let f=C(`Parcel`);return u(),e(`section`,dn,[t(`div`,fn,[t(`div`,pn,[t(`div`,mn,[s.section.heading?(u(),e(`h2`,{key:0,class:`heading padsection__heading tiltIn mb-30 text-6xl lg:text-7xl`,textContent:o(s.section.heading)},null,8,hn)):v(``,!0)]),(u(!0),e(O,null,E(d.posts,(t,n)=>(u(),e(`div`,{key:n,class:p([`swipeFromLeft`,[{"col-start-5":n===0},d.posts.length>1?`col-span-4`:`col-span-8`]]),style:a(`transition-delay: ${n*250+100}ms`)},[i(f,{"parcel-data":t,collection:d.collectionType,theme:d.theme,index:n},null,8,[`parcel-data`,`collection`,`theme`,`index`])],6))),128))])])])}var _n=T(un,[[`render`,gn]]),vn={props:{card:{type:Object,default:()=>{}},theme:{type:String,default:()=>`light`},collection:{type:String,default:()=>`articles`}},setup(){let e=V(),{locale:t}=L();return{store:e,locale:t,localePath:ne()}},computed:{categoryName(){return this.card.category&&this.card.category.name?this.card.category.name.toLowerCase():`forza`},postUrl(){if(!this.card.slug)return null;let e=`/${this.collection===`articles`?`news`:this.collection}/${this.card.slug}`;return this.card.locale===this.locale?this.localePath(e):e},hasMp4Video(){return this.card.mp4||!1},cardLink(){let e=this.postUrl;return this.card.externalLink&&(e=this.card.externalLink.url),this.card.youtube&&(e=this.card.youtube),this.card.facebook&&(e=this.card.facebook),this.hasMp4Video&&(e=null),{url:e}},labelText(){let e=``;return this.collection===`articles`?e=this.store?.settings?.viewArticle||`View Article`:this.collection===`events`&&(e=this.store?.settings?.viewEvent||`View Event`),e},labelLink(){return{label:this.card.externalLink?this.card.externalLink.label:this.labelText,image:this.card.externalLink?this.card.externalLink.image:null}},date(){let e=``;if(this.card.date)return e=new Date(this.card.date),e=e.toLocaleDateString(this.locale,{day:`numeric`,month:`long`,year:`numeric`}),e;if(this.card?.start){let e=new Date(this.card.start),t=this.card.end?new Date(this.card.end):null,n=this.locale||void 0,r=new Intl.DateTimeFormat(n,{year:`numeric`,month:`long`,day:`numeric`});return!t||isNaN(t.getTime())||e>=t?r.format(e):r.formatRange(e,t)}return e}}
1,mounted(){this.$bus.$on(`closeModal`,this.focusOnCard)},beforeUnmount(){this.$bus.$off(`closeModal`,this.focusOnCard)},methods:{focusOnCard(e){e===this.$refs.linkRef.$el&&setTimeout(()=>{this.$refs.linkRef.$el.focus({focusVisible:!0})},500)},handleClick(){this.hasMp4Video&&(this.store.videoModal=this.card,this.store.previousFocus=this.$refs.linkRef)}}},yn={class:`card__content grid w-full grid-cols-12 gap-20`},bn={class:`relative col-span-12 w-full overflow-hidden lg:col-span-8`},xn={key:0,class:`imagewrapper relative block min-h-full w-full overflow-hidden pb-6/12`},Sn={key:1,class:`playicon`},Cn={class:`card__content relative col-span-12 p-30 pt-0 lg:col-span-4 lg:pl-0 lg:pr-30 lg:pt-30`},wn=[`textContent`],Tn=[`textContent`],En=[`innerHTML`];function Dn(n,r,i,a,s,l){let d=R,f=H;return i.card?(u(),c(f,{key:0,ref:`linkRef`,class:p([`card featured__card__item flex !h-auto overflow-hidden rounded rounded-br-[30px] rounded-tr-none`,[i.theme===`dark`?`bg-shade text-body`:`bg-white text-bodyDark`,{pagelink:l.hasMp4Video||i.card.youtube||i.card.facebook}]]),link:l.cardLink,tabindex:`0`,role:l.hasMp4Video?`button`:`link`,onKeypress:j(l.handleClick,[`enter`]),onClick:l.handleClick},{default:g(()=>[t(`div`,yn,[t(`div`,bn,[i.card.image?(u(),e(`div`,xn,[i.card.image?(u(),c(d,{key:0,image:i.card.image,max:`large`,classname:`absolute z-0 top-0 left-0 w-full h-full object-cover object-center imagescale`},null,8,[`image`])):v(``,!0),i.collection===`videos`?(u(),e(`div`,Sn)):v(``,!0)])):v(``,!0),t(`div`,{class:p([`card_highlight absolute inset-y-0 left-0 block min-w-10`,`bg-${l.categoryName}`])},null,2)]),t(`div`,Cn,[l.date?(u(),e(`span`,{key:0,class:p([`card__date mb-15 block text-sm lg:text-base`,i.theme===`dark`?`text-body`:`text-bodyDark`]),textContent:o(l.date)},null,10,wn)):v(``,!0),i.card.heading?(u(),e(`h3`,{key:1,class:p([`card__text heading mb-15 text-lg lg:mb-30 lg:text-5xl`,i.theme===`dark`?`text-body`:`text-dark`]),textContent:o(i.card.heading)},null,10,Tn)):v(``,!0),i.card.excerpt?(u(),e(`div`,{key:2,class:p([i.theme===`dark`?`text-body`:`text-bodyDark`,`mb-20`]),innerHTML:i.card.excerpt},null,10,En)):v(``,!0),i.card.slug&&i.collection!==`videos`?(u(),c(f,{key:3,class:p([`flex items-center font-acuminPro font-bold capitalize`,i.theme===`dark`?`text-white`:`text-dark`]),link:l.labelLink,"icon-class":`w-auto h-20 mr-15 brightness-0`,chevron:`chevronSingle`,"chevron-color":i.theme===`dark`?`light`:`dark`},null,8,[`class`,`link`,`chevron-color`])):v(``,!0)])])]),_:1},8,[`class`,`link`,`role`,`onKeypress`,`onClick`])):v(``,!0)}var On={name:`PostSingle`,components:{FeaturedPostCard:T(vn,[[`render`,Dn]])},props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},computed:{card(){return this.section.article?this.section.article:this.section.event?this.section.event:this.section.video?this.section.video:null},collectionType(){return this.section.article?`articles`:this.section.event?`events`:this.section.video?`videos`:null}},mounted(){this.$updatePage()}},kn={class:`featured_post padsection`},An={class:`container`},jn=[`textContent`];function Mn(n,r,i,a,s,l){let d=C(`FeaturedPostCard`);return u(),e(`section`,kn,[t(`div`,An,[t(`h2`,{class:`heading articleList__heading tiltIn mb-20 text-6xl text-white lg:text-7xl xl:mb-35`,textContent:o(i.section.heading)},null,8,jn),l.card?(u(),c(d,{key:0,theme:`light`,card:l.card,collection:l.collectionType,class:`fadeInLeft delay-200`},null,8,[`card`,`collection`])):v(``,!0)])])}var Nn=T(On,[[`render`,Mn]]),Pn={name:`RepeatedCTAs`,props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},mounted(){this.$updatePage()}},Fn={class:`repeated-ctas relative bg-dark text-white lg:pb-100`},In={key:0,class:`pointer-events-none absolute left-0 top-0 z-0 h-full w-full`},Ln={class:`relative z-10`},Rn={class:`pb-32 container pt-100 text-center lg:py-100`},zn={class:`mx-auto`},Bn={key:0,class:`heading swipeFromLeft mx-auto mb-50 inline-block text-7xl delay-100 lg:text-9xl`},Vn={key:0,class:`absolute -bottom-20 left-0 h-5 w-full rounded bg-horizon6Pink`},Hn={class:`article__content fadeIn mx-auto max-w-640 gap-x-540 delay-500`},Un={key:0,class:`container`},Wn={class:``},Gn=[`textContent`],Kn={class:`fadeIn order-first col-span-12 block lg:order-none lg:col-span-7 xl:col-span-8`};function qn(n,r,i,a,s,d){let f=G,m=R;return u(),e(`section`,Fn,[i.categoryName===`horizon6`?(u(),e(`div`,In,[...r[0]||=[t(`div`,{class:`absolute inset-0 bg-repeat opacity-40`,style:{"background-image":`url('/images/background/fh6-black-tiles.png')`}},null,-1),t(`div`,{class:`absolute inset-0`,style:{background:`radial-gradient(50% 50% at 50% 50%, transparent 0%, #0d0d0d 100%)`}},null,-1),t(`img`,{src:Oe,alt:``,class:`absolute left-0 top-0 z-0 h-100 w-auto object-contain object-top md:h-120 xl:h-180`},null,-1),t(`img`,{src:ke,alt:``,class:`absolute bottom-0 right-0 z-0 h-100 w-auto object-contain object-bottom md:h-180 xl:h-200`},null,-1)]])):v(``,!0),t(`div`,Ln,[t(`div`,Rn,[t(`div`,zn,[i.section.heading?(u(),e(`h2`,Bn,[l(o(i.section.heading)+` `,1),i.categoryName===`horizon6`?(u(),e(`span`,Vn)):v(``,!0)])):v(``,!0),t(`div`,Hn,[i.section.text?(u(),c(f,{key:0,class:`relative mb-50 w-full text-2xl leading-[28px]`,body:i.section.text},null,8,[`body`])):v(``,!0)])])]),i.section.gallery.length?(u(),e(`div`,Un,[(u(!0),e(O,
1null,E(i.section.gallery,(n,r)=>(u(),e(`div`,{key:r,class:`container--grid gap-20 lg:gap-10 lg:mb-100`},[t(`div`,{class:p([`z-10 col-span-12 flex items-center lg:col-span-5 xl:col-span-4`,r%2==0?`2xl:pr-100`:`lg:order-last 2xl:pl-100`])},[t(`div`,Wn,[n.heading?(u(),e(`h2`,{key:0,class:`heading swipeFromLeft mb-20 text-5xl xl:text-6xl`,textContent:o(n.heading)},null,8,Gn)):v(``,!0),n.text?(u(),c(f,{key:1,class:`relative mb-50 w-full`,body:n.text},null,8,[`body`])):v(``,!0)])],2),t(`div`,Kn,[t(`div`,null,[n.image?(u(),c(m,{key:0,image:n.image,classname:`w-auto md:w-content shadow-lg object-contain ${i.categoryName===`horizon6`?`rounded-xl`:`rounded rounded-br-[30px]`}`,max:`xlarge`},null,8,[`image`,`classname`])):v(``,!0)])])]))),128))])):v(``,!0)])])}var Jn=T(Pn,[[`render`,qn]]),Yn=z(`/images/background/bg-diagonal.svg`),Xn={name:`BriefSection`,props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},mounted(){this.$updatePage()}},Zn={class:`brief`},Qn={class:`relative bg-black`},$n={class:`relative z-20 container !max-w-1790`},er={class:`grid grid-cols-12 items-center xl:items-end gap-30 lg:gap-60 xl:gap-100 pt-60 pb-100 lg:pt-90 lg:pb-110`},tr={class:`relative col-span-full lg:col-span-6`},nr={class:`col-span-full lg:col-span-6`},rr=[`textContent`],ir={key:2,class:`flex gap-15 xl:gap-y-20 xl:gap-x-30 flex-wrap mt-40`};function ar(n,r,i,a,s,l){let d=R,f=G,m=K,h=Y;return u(),e(`section`,Zn,[t(`div`,Qn,[t(`div`,$n,[t(`div`,er,[t(`div`,tr,[i.section.image?(u(),c(d,{key:0,image:i.section.image,classname:`w-full aspect-video rounded-4 rounded-br-30 swipeFromLeft`,max:`large`},null,8,[`image`])):v(``,!0)]),t(`div`,nr,[i.section.heading?(u(),e(`h2`,{key:0,class:p([`delay-100 heading mb-20 tiltIn text-6xl 2xl:text-7xl`,{"text-white":i.categoryName!==`motorsport`,"text-motorsportDark":i.categoryName===`motorsport`}]),textContent:o(i.section.heading)},null,10,rr)):v(``,!0),i.section.body?(u(),c(f,{key:1,class:`prose text-white leading-6 delay-300 fadeInLeft`,body:i.section.body},null,8,[`body`])):v(``,!0),i.section.button?(u(),e(`div`,ir,[(u(!0),e(O,null,E(i.section.button,(e,t)=>(u(),c(m,{key:t,button:e,class:`delay-300 fadeInLeft`},null,8,[`button`]))),128))])):v(``,!0)])])]),r[0]||=t(`div`,{class:`absolute z-10 top-0 left-0 w-full h-4/12 bg-gradient-to-b from-black to-transparent pointer-events-none`},null,-1),r[1]||=t(`div`,{class:`absolute z-10 bottom-0 left-0 w-full h-4/12 bg-gradient-to-t from-black to-transparent pointer-events-none`},null,-1),r[2]||=t(`img`,{src:Yn,alt:`Diagonal stripes`,class:`absolute z-0 top-0 left-0 w-full h-full object-cover object-center opacity-40`},null,-1),i.categoryName===`motorsport`?(u(),c(h,{key:0})):v(``,!0)])])}var or=T(Xn,[[`render`,ar]]),sr=z(`/images/brush-bottom-white.svg`),cr={class:`boxlinks padsection padsection--top--xs relative pb-0 bg-gradient-to-t from-[#02060e] to-[#02060e] text-white`},lr={key:0,class:`pointer-events-none absolute left-0 top-0 z-0 h-full w-full`},ur={key:1,class:`from-horizon6Veridian to-horizon6VeridianDark pointer-events-none absolute left-0 top-0 z-0 h-full w-full bg-gradient-to-b`},dr={class:`container container-md relative z-10 theme-horizon6`},fr={key:0,class:`text-sm mb-15`},pr={key:1},mr=[`textContent`],hr={key:2,class:`fadeIn delay-600`},gr={class:`relative h-0 overflow-hidden pb-5/12 bg-white`},_r={class:`text-center p-15 h-full flex flex-col justify-center`},vr=[`textContent`],yr=[`textContent`],br={key:2,class:`mt-80`},xr={__name:`BoxLinks`,props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},setup(n){let{$updatePage:s}=h(),d=M(),f=k([]);if(d.params.slug)for(let e of d.params.slug)e!==``&&f.value.push(e);return m(()=>{s()}),(s,d)=>{let m=R,h=A,_=G,y=H;return u(),e(`section`,cr,[n.section.background?(u(),e(`div`,lr,[i(m,{image:n.section.background,min:`small`,max:`massive`,classname:`absolute z-0 top-0 left-0 h-full w-full object-cover object-center`},null,8,[`image`])])):v(``,!0),n.categoryName===`horizon6`?(u(),e(`div`,ur,[...d[0]||=[t(`div`,{class:`absolute left-0 top-0 z-0 h-full w-full bg-repeat`,style:{"background-image":`url('/images/background/fh6-origami-repeated.svg')`}},null,-1),t(`div`,{class:`absolute left-0 top-0 z-0 h-15 w-full bg-gradient-to-b from-black/40 to-transparent`},null,-1),t(`div`,{class:`absolute bottom-0 left-0 z-0 h-15 w-full bg-gradient-to-t from-black/40 to-transparent`},null,-1),t(`img`,{src:ke,alt:``,class:`absolute bottom-0 right-0 z-0 h-100 w-auto object-contain object-bottom md:h-180 xl:h-200`},null,-1)]])):v(``,!0),t(`div`,dr,[r(f).length>
11?(u(),e(`div`,fr,[(u(!0),e(O,null,E(r(f),(t,r)=>(u(),e(`span`,{key:r},[r===0?(u(),c(h,{key:0,to:`/${t}`,class:p([`underline fadelink`,[{"text-motorsport":n.categoryName===`motorsport`}]])},{default:g(()=>[...d[1]||=[l(` Forza `,-1)]]),_:1},8,[`to`,`class`])):(u(),e(`span`,pr,`\xA0\xA0/\xA0\xA0`+o(n.section.heading),1))]))),128))])):v(``,!0),n.section.heading?(u(),e(`h2`,{key:1,class:`heading swipeFromLeft mb-5 delay-100 text-5xl`,textContent:o(n.section.heading)},null,8,mr)):v(``,!0),n.section.body?(u(),e(`div`,hr,[i(_,{class:`mb-20`,body:n.section.body},null,8,[`body`])])):v(``,!0),t(`div`,{class:p([`grid gap-15 sm:grid-cols-2 lg:grid-cols-3`,{"pb-2/12 2xl:pb-4/12":n.categoryName!==`horizon`}])},[(u(!0),e(O,null,E(n.section.boxLinks,(n,r)=>(u(),c(y,{key:`boxLink-${r}`,to:n.url?n.url:``,link:{url:n.url?n.url:``},class:p([`rounded-2xl overflow-hidden h-full border-4 border-transparent transition-all duration-500 shadow-[0_16px_32px_0_rgba(0,0,0,0.3)] hover:border-white hover:shadow-[0_16px_32px_0_rgba(0,0,0,0.6)]`,n.url?`cursor-pointer`:`pointer-events-none grayscale opacity-50`])},{default:g(()=>[t(`div`,{class:p([`h-full flex flex-col`,[{"bg-darkGrey text-white":n.color===`grey`},{"bg-forza text-white":n.color===`forza`},{"bg-horizon text-black":n.color===`horizon`},{"bg-motorsport text-dark":n.color===`motorsport`},{"bg-horizon6 text-black":n.color===`horizon6`},{"bg-xbox text-white":n.color===`xbox`},{"bg-safety text-white":n.color===`safety`},{"bg-white text-black":n.color===`white`}]])},[t(`div`,gr,[n.image?(u(),c(m,{key:0,image:n.image,min:`small`,max:`medium`,classname:`absolute z-0 top-0 left-0 w-full h-full object-center ${n.imageCover?`object-cover`:`p-30 object-contain`}`},null,8,[`image`,`classname`])):v(``,!0)]),t(`div`,_r,[n.heading?(u(),e(`h3`,{key:0,class:`heading tiltIn mb-0 text-lg capitalize`,style:a(`transition-delay: ${r*100+200+150}ms`),textContent:o(n.heading)},null,12,vr)):v(``,!0),n.text?(u(),e(`p`,{key:1,class:`fadeIn mb-0`,style:a(`transition-delay: ${r*100+200+200}ms`),textContent:o(n.text)},null,12,yr)):v(``,!0)])],2)]),_:2},1032,[`to`,`link`,`class`]))),128))],2)]),n.categoryName===`horizon`?(u(),e(`div`,br,[...d[2]||=[t(`div`,{class:`bg-horizon pointer-events-none absolute left-0 top-0 z-0 h-full w-full`},null,-1),t(`div`,{class:`relative z-0 h-160 w-full bg-white mt-60`},[t(`img`,{src:sr,alt:`Brush bottom white`,role:`presentation`,class:`pointer-events-none absolute h-auto w-full top-0 left-0 -translate-y-full -scale-y-100`})],-1)]])):v(``,!0)])}}},Sr={name:`CalendarRows`,props:{section:{type:Object,default:()=>({})},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},setup(){let{setupTables:e}=ue(),{outputMonthDay:t}=ae();return{setupTables:e,outputMonthDay:t}},computed:{hasAnyDates(){let e=!1;return this.section.dates&&this.section.dates.length>0&&(e=this.section.dates.some(e=>!!e.date)),e},validDates(){return this.section.dates}},mounted(){this.$refs.content&&this.setupTables(this.$refs.content,[],!1),this.$updatePage()},methods:{getDate(e,t){if(e){let n=new Date(e);if(t){let e=new Date(t);return`${this.outputMonthDay(n)} - ${this.outputMonthDay(e)}`}return this.outputMonthDay(n)}return null}}},Cr={class:`section calendarrows`},wr={class:`relative pt-100 pb-150`},Tr={key:0,class:`pointer-events-none absolute left-0 top-0 z-0 h-full w-full`},Er={class:`container !max-w-1790`},Dr={key:0,class:`absolute z-0 inset-0 bg-motorsportDark`},Or={class:`relative z-30`},kr={class:`grid grid-cols-12 mb-20`},Ar={class:`col-span-full lg:col-span-5`},jr=[`textContent`],Mr=[`textContent`],Nr={ref:`content`},Pr={class:`sortable`},Fr={key:0,class:`min-w-200 lg:w-2/12`},Ir={key:0,class:`!align-middle`},Lr=[`textContent`],Rr={class:`!align-middle heading text-2xl`},zr=[`textContent`],Br={class:`!align-middle`};function Vr(n,r,s,l,d,f){let m=R,h=G,g=H,_=Y;return u(),e(`section`,Cr,[t(`div`,wr,[s.categoryName===`horizon6`?(u(),e(`div`,Tr,[...r[0]||=[t(`div`,{class:`absolute inset-0 bg-repeat opacity-40`,style:{"background-image":`url('/images/background/fh6-black-tiles.png')`}},null,-1),t(`div`,{class:`absolute inset-0`,style:{background:`radial-gradient(50% 50% at 50% 50%, transparent 0%, #0d0d0d 100%)`}},null,-1),t(`img`,{src:Oe,alt:``,class:`absolute left-0 top-0 z-0 h-100 w-auto object-contain object-top md:h-120 xl:h-180`},null,-1),t(`img`,{src:ke,alt:``,class:`absolute bottom-0 right-0 z-0 h-100 w-auto object-contain object-bottom md:h-180 xl:h-200`},null,-1)]])):v(``,!0),t(`div`,Er,[t(`div`,{class:p([`relative px-20 lg:px-100 py-150 lg:py-120 overflow-hidden`,{"rounded-30":s.categoryName===`horizon6`}]),style:a(s.categoryName===`motorsport`?{clipPath:`polygon(100px 0%, 100% 0%, 100% calc(100% - 160px), calc(100% - 100px) 100%, 0% 100%, 0% 160px)`}:{})},[s.categoryName===`motorsport`?(u(),e(`div`,Dr)):v(``,!0),s.section.image?(u(),e(`div`,{key:1,class:`absolute z-10 top-0 left-0 w-full h-full`,style:a(s.categoryName===`motorsport`?{clipPath:`polygon(4px 160px, 80px 40px, 96px 40px, 120px 4px, calc(100% - 4px) 4px, calc(100% - 4px) calc(100% - 160px), calc(100% - 80px) calc(100% - 40px), calc(100% - 96px) calc(100% - 40px), calc(100% - 120px) calc(100% - 4px), 4px calc(100% - 4px))`}:{})},[i(m,{classname:`absolute z-10 top-0 left-0 w-full h-full object-cover`,image:s.section.image,max:`massive`},null,8,[`image`]),r[1]||=t(`div`,{class:`absolute z-20 inset-0 bg-black opacity-30`},null,-1)],4)):v(``,!0),t(`div`,Or,[t(`div`,kr,[t(`div`,Ar,[s.section.subheading?(u(),e(`p`,{key:0,class:p([`leading-6 delay-300 fadeInLeft`,{"text-horizon6":s.categoryName===`horizon6`,"text-horizon":s.categoryName===`horizon`,"text-motorsport":s.categoryName===`motorsport`}]),textContent:o(s.section.subheading)},null,10,jr)):v(``,!0),s.section.heading?(u(),e(`h2`,{key:1,class:`text-6xl delay-100 lg:text-7xl heading mb-40 tiltIn`,textContent:o(s.section.heading)},null,8,Mr)):v(``,!0),s.section.body?(u(),c(h,{key:2,class:`leading-6 delay-300 fadeInLeft`,body:s.section.body},null,8,[`body`])):v(``,!0)])]),s.section.dates?(u(),e(`div`,{key:0,class:p([`!block article__content article__content--page`,`theme-${s.categoryName}`])},[t(`div`,Nr,[t(`table`,Pr,[t(`thead`,null,[t(`tr`,null,[f.hasAnyDates?(u(),e(`th`,Fr,[...r[2]||=[t(`strong`,null,`Date`,-1)]])):v(``,!0),r[3]||=t(`th`,{class:`min-w-540 lg:w-8/12`},[t(`strong`,null,`Event`)],-1),r[4]||=t(`th`,{class:`min-w-200 lg:w-2/12`},[t(`strong`,null,`Info link`)],-1)])]),t(`tbody`,null,[(u(!0),e(O,
1null,E(f.validDates,n=>(u(),e(`tr`,{key:`date-${n.id}`},[f.hasAnyDates?(u(),e(`td`,Ir,[n.date?(u(),e(`span`,{key:0,textContent:o(f.getDate(n.date,n.endDate))},null,8,Lr)):v(``,!0)])):v(``,!0),t(`td`,Rr,[n.heading?(u(),e(`div`,{key:0,class:`lg:pr-50`,textContent:o(n.heading)},null,8,zr)):v(``,!0)]),t(`td`,Br,[n.link?(u(),c(g,{key:0,link:n.link,class:p([`!no-underline underlinelink`,{"text-horizon6":s.categoryName===`horizon6`,"text-horizon":s.categoryName===`horizon`,"text-motorsport":s.categoryName===`motorsport`}])},null,8,[`link`,`class`])):v(``,!0)])]))),128))])])],512)],2)):v(``,!0)])],6)]),s.categoryName===`motorsport`?(u(),c(_,{key:1})):v(``,!0)])])}var Hr=T(Sr,[[`render`,Vr]]),Ur={name:`CTALightbox`,props:{image:{type:Object,default:()=>{}}},emits:[`close-modal`],mounted(){this.$nextTick(()=>{this.$refs.closeButton.focus()}),window.addEventListener(`focus`,this.focusChange,!0)},beforeUnmount(){window.removeEventListener(`focus`,this.focusChange,!0)},methods:{closeModal(){this.$emit(`close-modal`)},focusChange(e){this.$refs.closeButton&&e.target!==this.$refs.closeButton&&this.$refs.closeButton.focus()}}},Wr={class:`fixed inset-0 z-[10000] flex max-h-screen items-center justify-center bg-black/80 p-20 lg:p-100`},Gr={class:`relative lg:h-11/12`},Kr={class:`absolute inset-0 flex items-start justify-end p-20`};function qr(n,r,i,a,o,s){let l=R;return u(),e(`div`,Wr,[t(`div`,Gr,[i.image?(u(),c(l,{key:0,image:i.image,classname:`h-full w-auto object-contain rounded-lg`,max:`massive`},null,8,[`image`])):v(``,!0),t(`div`,Kr,[t(`button`,{ref:`closeButton`,tabindex:`0`,role:`button`,"aria-label":`Close lightbox image`,title:`Close lightbox image`,onClick:r[0]||=(...e)=>s.closeModal&&s.closeModal(...e),onKeypress:r[1]||=j((...e)=>s.closeModal&&s.closeModal(...e),[`enter`])},[...r[2]||=[t(`svg`,{width:`66`,height:`66`,viewBox:`0 0 66 66`,class:`rotate-45`},[t(`circle`,{cx:`33`,cy:`33`,r:`33`,fill:`#CAFF02`}),t(`rect`,{x:`30.8789`,y:`21`,width:`4.74194`,height:`24.5`,fill:`black`}),t(`rect`,{x:`45.5`,y:`30.8789`,width:`4.74194`,height:`24.5`,transform:`rotate(90 45.5 30.8789)`,fill:`black`})],-1)]],544)])])])}var Jr=T(Ur,[[`render`,qr]]),Yr=z(`/images/brush-top-offwhite-fade.svg`),Xr=z(`/images/brush-bottom-offwhite-fade.svg`),Zr={name:`CallToAction`,components:{CTALightbox:Jr},props:{section:{type:Object,default:()=>{}},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},data(){return{modal:!1}},computed:{imagesLength(){return this?.section?.images?.length?this.section.images.length:0},imageCropEnabled(){return this?.section?.imageCrop?this?.section?.imageCrop===`none`?``:`flex justify-center`:``},imageCrop(){if(this?.section?.customImageCrop)return``;if(this?.section?.imageCrop){let e=this?.section?.imageCrop;if(e===`small`)return`lg:max-h-[350px]`;if(e===`medium`)return`lg:max-h-[550px]`;if(e===`large`)return`lg:max-h-[700px]`;if(e===`none`)return`w-full`}return`w-full`},theme(){let e=`text-white`;return this.categoryName&&(this.categoryName===`motorsport`&&(e=`text-white`),this.categoryName===`horizon`&&(e=`bg-horizon text-black`),this.categoryName===`horizon6`&&(e=`text-white lg:pt-50 lg:pb-50`)),e},body(){return this.section?.text?.replace(/\n/g,`<br>`)}},mounted(){this.$updatePage()},methods:{closeModal(){this.modal=!1,this.$nextTick(()=>{this.$refs.openModalButton.focus()})}}},Qr={class:`calltoaction relative`},$r={key:0,src:Yr,alt:`Brush bottom white`,role:`presentation`,class:`pointer-events-none absolute bottom-0 left-0 z-0 h-auto w-full translate-y-7/10`},ei={key:1,src:Xr,alt:`Brush top white`,role:`presentation`,class:`pointer-events-none absolute left-0 top-0 z-0 h-auto w-full -translate-y-7/10`},ti={key:2,class:`pointer-events-none absolute left-0 top-0 z-0 h-full w-full bg-gradient-to-b from-horizon6Veridian to-horizon6VeridianDark`},ni={key:3,class:`pointer-events-none absolute left-0 top-0 z-0 h-full w-full`},ri={class:``},ii=[`textContent`],ai=[`innerHTML`],oi={key:2,class:`mt-20 flex gap-20`},si=[`href`,`title`,`aria-label`],ci={key:3,class:`mt-20 flex flex-wrap gap-15 xl:gap-x-30 xl:gap-y-20`},li={key:1,class:`absolute inset-0 flex items-center justify-center p-20 duration-500 hover:opacity-100 lg:opacity-0 focus-within:opacity-100`},ui={key:1,class:`pb-540 lg:pb-0`},di={key:4,class:`container pointer-events-none relative inset-0 z-10 -mt-540 grid grid-cols-12 lg:absolute lg:mt-0`},fi={class:`tiles col-span-12 pb-540 lg:col-span-8 lg:col-start-5 lg:-translate-y-50 lg:translate-x-220 xl:translate-x-440 xl:translate-y-100 xl:scale-150`},pi=[`data-parallax`];function mi(n,r,a,s,l,f){let m=R,h=K,_=C(`CTALightbox`);return u(),e(`section`,Qr,[a.sectionindex>
1-1&&a.categoryName===`horizon`?(u(),e(`img`,$r)):v(``,!0),a.sectionindex>-1&&a.categoryName===`horizon`?(u(),e(`img`,ei)):v(``,!0),a.categoryName===`horizon6`&&!a.section.alternate?(u(),e(`div`,ti,[...r[2]||=[t(`div`,{class:`absolute left-0 top-0 z-0 h-full w-full bg-repeat`,style:{"background-image":`url('/images/background/fh6-origami-repeated.svg')`}},null,-1),t(`div`,{class:`absolute left-0 top-0 z-0 h-15 w-full bg-gradient-to-b from-black/40 to-transparent`},null,-1),t(`div`,{class:`absolute bottom-0 left-0 z-0 h-15 w-full bg-gradient-to-t from-black/40 to-transparent`},null,-1)]])):v(``,!0),a.categoryName===`horizon6`&&a.section.alternate?(u(),e(`div`,ni,[...r[3]||=[t(`div`,{class:`absolute inset-0 bg-repeat opacity-40`,style:{"background-image":`url('/images/background/fh6-black-tiles.png')`}},null,-1),t(`div`,{class:`absolute inset-0`,style:{background:`radial-gradient(50% 50% at 50% 50%, transparent 0%, #0d0d0d 100%)`}},null,-1)]])):v(``,!0),t(`div`,{class:p(f.theme)},[a.section.background?(u(),c(m,{key:0,image:a.section.background,classname:`absolute object-cover w-full h-full inset-0 z-0 object-bottom`},null,8,[`image`])):v(``,!0),t(`div`,{class:p([`container relative z-0 flex grid-cols-12 flex-col gap-50 py-75 lg:grid`,{"xl:py-300":f.imagesLength>1}])},[t(`div`,{class:p([`z-10 col-span-12 flex items-center lg:col-span-5 xl:col-span-4`,{"lg:order-2":a.section.alternate}])},[t(`div`,ri,[a.section.heading?(u(),e(`h2`,{key:0,class:`heading swipeFromLeft delay-200 mb-20 text-5xl lg:text-6xl`,textContent:o(a.section.heading)},null,8,ii)):v(``,!0),f.body?(u(),e(`p`,{key:1,class:`fadeIn delay-400`,innerHTML:f.body},null,8,ai)):v(``,!0),a.section.icons?(u(),e(`div`,oi,[(u(!0),e(O,null,E(a.section.icons,(t,n)=>(u(),e(`a`,{key:n,href:t.url,target:`_blank`,title:t.label,"aria-label":t.label,rel:`noopener noreferrer`,class:`transition-opacity duration-300 ease-in-out hover:opacity-60`},[t.image?(u(),c(m,{key:0,image:t.image,classname:`w-auto h-40 delay-300 fadeInLeft`,max:`small`},null,8,[`image`])):v(``,!0)],8,si))),128))])):v(``,!0),a.section.button?(u(),e(`div`,ci,[(u(!0),e(O,null,E(a.section.button,(e,t)=>(u(),c(h,{key:t,button:e,class:`fadeInLeft delay-300`},null,8,[`button`]))),128))])):v(``,!0)])],2),f.imagesLength===1?(u(),e(`div`,{key:0,class:p([`fadeIn col-span-12 block lg:col-span-7 xl:col-span-8`,{"lg:order-1":a.section.alternate}])},[t(`div`,{class:p([`${f.imageCropEnabled}`,`relative`])},[a.section.images[0]?(u(),c(m,{key:0,image:a.section.images[0],classname:`w-auto md:w-content object-contain ${f.imageCrop} ${a.categoryName===`horizon6`?`h6-shadow rounded-xl`:`rounded shadow-lg rounded-br-[30px]`}`,"custom-height":a.section.customImageCrop,max:`xlarge`},null,8,[`image`,`classname`,`custom-height`])):v(``,!0),a.section.showLightbox?(u(),e(`div`,li,[t(`button`,{ref:`openModalButton`,type:`button`,role:`button`,"aria-label":`Open image lightbox`,title:`Open image lightbox`,onClick:r[0]||=e=>l.modal=!0,onKeypress:r[1]||=j(e=>l.modal=!0,[`enter`])},[...r[4]||=[t(`svg`,{width:`66`,height:`66`,viewBox:`0 0 66 66`},[t(`circle`,{cx:`33`,cy:`33`,r:`33`,fill:`#CAFF02`}),t(`rect`,{x:`30.8789`,y:`21`,width:`4.74194`,height:`24.5`,fill:`black`}),t(`rect`,{x:`45.5`,y:`30.8789`,width:`4.74194`,height:`24.5`,transform:`rotate(90 45.5 30.8789)`,fill:`black`})],-1)]],544)])):v(``,!0)],2)],2)):v(``,!0)],2),f.imagesLength>1?(u(),e(`div`,ui)):v(``,!0)],2),f.imagesLength>1?(u(),e(`div`,di,[t(`div`,fi,[(u(!0),e(O,null,E(a.section.images,(n,r)=>
1(u(),e(`div`,{key:r,class:p([`tile fadeIn relative translate-y-50 lg:-translate-x-50 lg:translate-y-200`,`delay-${r*200+500}`])},[t(`div`,{class:`parallax-element`,"data-parallax":r*100-100,"data-parallaxstart":`75`},[i(m,{image:n,classname:`w-auto h-250 mx-auto absolute transform-gpu overflow-hidden rounded rounded-tr-none rounded-br-[30px] tile_img`,max:`large`},null,8,[`image`])],8,pi)],2))),128))])])):v(``,!0),(u(),c(d,{to:`body`},[i(N,{name:`fade`},{default:g(()=>[l.modal?(u(),c(_,{key:0,image:a.section.images[0],onCloseModal:f.closeModal},null,8,[`image`,`onCloseModal`])):v(``,!0)]),_:1})]))])}var hi=T(Zr,[[`render`,mi]]),gi={name:`CardGrid`,props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},mounted(){this.$updatePage()}},_i={class:`cardgrid`},vi={class:`relative`},yi={class:`relative z-20 container !max-w-1790 py-80`},bi={class:`grid grid-cols-12 mb-40`},xi={class:`relative col-span-full lg:col-span-6`},Si=[`innerHTML`],Ci=[`textContent`],wi=[`innerHTML`],Ti={key:0,class:`grid grid-cols-12 gap-20`},Ei={class:`bg-dark h-full overflow-hidden rounded-4 rounded-br-30 text-white hover:bg-motorsportDark hover:text-black transition-colors duration-500 ease-in-out`},Di={class:`overflow-hidden bg-white`},Oi={class:`p-20`},ki=[`textContent`];function Ai(n,r,i,a,s,l){let d=G,f=R;return u(),e(`section`,_i,[t(`div`,vi,[t(`div`,yi,[t(`div`,bi,[t(`div`,xi,[i.section.subheading?(u(),e(`p`,{key:0,class:`text-motorsport leading-6 mb-5 delay-300 fadeInLeft`,innerHTML:i.section.subheading},null,8,Si)):v(``,!0),i.section.heading?(u(),e(`h2`,{key:1,class:`text-white text-6xl delay-100 lg:text-7xl heading mb-15 tiltIn`,textContent:o(i.section.heading)},null,8,Ci)):v(``,!0),i.section.tagline?(u(),e(`p`,{key:2,class:`text-white leading-6 delay-300 fadeInLeft`,innerHTML:i.section.tagline},null,8,wi)):v(``,!0),i.section.body?(u(),c(d,{key:3,class:`prose text-white leading-6 delay-300 fadeInLeft`,body:i.section.body},null,8,[`body`])):v(``,!0)])]),i.section.cards?(u(),e(`div`,Ti,[(u(!0),e(O,null,E(i.section.cards,(n,r)=>(u(),e(`div`,{key:r,class:`col-span-full md:col-span-6 xl:col-span-4 2xl:col-span-3`},[t(`div`,Ei,[t(`div`,Di,[n.image?(u(),c(f,{key:0,image:n.image,class:``,max:`small`,classname:`object-contain object-center h-200 w-full p-10`},null,8,[`image`])):v(``,!0)]),t(`div`,Oi,[n.heading?(u(),e(`h3`,{key:0,class:`heading text-3xl mb-10`,textContent:o(n.heading)},null,8,ki)):v(``,!0),n.text?(u(),c(d,{key:1,class:`text-sm leading-6 mb-20`,body:n.text},null,8,[`body`])):v(``,!0)])])]))),128))])):v(``,!0)]),r[0]||=t(`div`,{class:`absolute z-10 top-0 left-0 w-full h-full bg-gradient-to-b from-black to-transparent pointer-events-none`},null,-1)])])}var ji=T(gi,[[`render`,Ai]]),Mi={name:`Concept`,props:{section:{type:Object,default:()=>({})},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},mounted(){this.$updatePage()}},Ni={class:`section concept`},Pi={class:`relative z-10 flex flex-col lg:grid lg:container lg:container--grid pt-50 lg:gap-y-0`},Fi={class:`lg:row-start-1 lg:col-start-1 lg:col-span-6 flex flex-col items-end`},Ii={key:0,class:`overflow-hidden lg:rounded-tr-4 lg:rounded-br-30 relative aspect-[9/8] xl:mb-0`},Li={class:`lg-max:container lg:row-start-1 lg:col-span-6 lg:col-start-6 h-full flex items-center relative z-10 lg:mb-0 -mt-30 lg:mt-0`},Ri=[`textContent`],zi={class:`z-10 lg-max:container xl:col-start-8 lg:col-span-10 lg:col-start-2 xl:col-span-4 mt-50 xl:-mt-50 2xl:-mt-90 3xl:-mt-140 4xl:-mt-250`},Bi={key:1,class:`flex gap-15 xl:gap-y-20 xl:gap-x-30 flex-wrap mt-20`};function Vi(n,r,i,a,s,l){let d=R,f=G,m=K;return u(),e(`section`,Ni,[t(`div`,{class:p([`relative pt-50 mb-80 2xl:pt-100`,{"lg:mb-140":!i.section.spacing||i.section.spacing===`large`}])},[i.section.background?(u(),c(d,{key:0,classname:`absolute z-0 top-0 left-0 w-full h-full object-cover object-center opacity-10`,image:i.section.background},null,8,[`image`])):v(``,!0),t(`div`,Pi,[t(`div`,Fi,[i.section.image?(u(),e(`div`,Ii,[i.section.image?(u(),c(d,{key:0,image:i.section.image,class:`w-screen lg:w-full h-full`,classname:`w-full h-full object-cover`,max:`large`},null,8,[`image`])):v(``,!0),r[0]||=t(`div`,{class:`absolute inset-0 w-full h-full bg-gradient-to-t lg:bg-gradient-to-r from-transparent to-blackTransparent pointer-events-none`},null,-1)])):v(``,!0)]),t(`div`,Li,[i.section.heading?(u(),e(`h2`,{key:0,class:`heading text-white text-7xl sm:text-8xl lg:text-9xl 2xl:text-10xl`,textContent:o(i.section.heading)},null,8,Ri)):v(``,!0)]),t(`div`,zi,[i.section.body?(u(),c(f,{key:0,class:p([`prose prose--insiders prose-headings:text-white prose-a:text-offwhite prose-ol:text-white text-white`,{"lg:mb-30 xl:mb-50":!i.section.spacing||i.section.spacing===`large`}]),body:i.section.body},null,8,[`class`,`body`])):v(``,!0),i.section.button?(u(),e(`div`,Bi,[(u(!0),e(O,
1null,E(i.section.button,(e,t)=>(u(),c(m,{key:t,button:e,class:`delay-300 fadeInLeft`},null,8,[`button`]))),128))])):v(``,!0)])])],2)])}var Hi=T(Mi,[[`render`,Vi]]),Ui={name:`ContentReleases`,components:{Swiper:J},props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},data(){return{initSwiper:!1,swiperOptions:{modules:[Ht],slidesPerView:1.25,spaceBetween:0,loop:!1,breakpoints:{640:{slidesPerView:2,spaceBetween:0},768:{slidesPerView:2.5,spaceBetween:0},1024:{slidesPerView:3.5,spaceBetween:0},1280:{slidesPerView:4.5,spaceBetween:0},1440:{slidesPerView:6,spaceBetween:0}}}}},mounted(){this.swiperOptions.navigation={nextEl:this.$refs.galleryNext,prevEl:this.$refs.galleryPrev},this.swiperOptions.scrollbar={el:this.$refs.galleryScroll,draggable:!0,hide:!1},this.initSwiper=!0,this.$updatePage()},methods:{isInFuture(e){let t=new Date;return new Date(e)>t}}},Wi={class:`contentreleases`},Gi={class:`relative bg-black py-90`},Ki={class:`relative z-20 container`},qi={class:`grid grid-cols-12 items-center xl:items-end gap-30 mb-40 lg:gap-60 xl:gap-100`},Ji={class:`relative col-span-full lg:col-span-6`},Yi=[`innerHTML`],Xi=[`textContent`],Zi=[`innerHTML`],Qi={class:`relative col-span-full lg:col-span-6`},$i={key:0,class:`px-20`},ea={class:`releases-swiper relative`},ta={key:1,class:`absolute z-10 top-0 left-0 w-full h-full bg-dark bg-opacity-85 px-15 flex items-center justify-center`},na={class:`absolute z-10 top-auto -bottom-1 w-full h-auto flex flex-col lg:items-center justify-center bg-dark p-15 hover:opacity-100 lg:top-0 lg:bg-black lg:text-center lg:bg-opacity-80 lg:opacity-0 transition-opacity duration-300 ease-in-out`},ra=[`textContent`],ia={ref:`galleryNext`,class:`swiper-button-next`},aa={ref:`galleryPrev`,class:`swiper-button-prev`},oa={ref:`galleryScroll`,class:`swiper-scrollbar`},sa={key:1,class:`flex lg:justify-end mt-40`};function ca(n,r,a,s,d,f){let m=R,h=G,y=C(`Swiper`),b=H;return u(),e(`section`,Wi,[t(`div`,Gi,[a.section.background?(u(),c(m,{key:0,classname:`absolute z-0 top-0 left-0 w-full h-full object-cover object-center opacity-20`,image:a.section.background},null,8,[`image`])):v(``,!0),r[1]||=t(`div`,{class:`absolute z-10 top-0 left-0 w-full h-4/12 bg-gradient-to-b from-black to-transparent pointer-events-none`},null,-1),r[2]||=t(`div`,{class:`absolute z-10 bottom-0 left-0 w-full h-4/12 bg-gradient-to-t from-black to-transparent pointer-events-none`},null,-1),t(`div`,Ki,[t(`div`,qi,[t(`div`,Ji,[a.section.subheading?(u(),e(`p`,{key:0,class:`text-motorsport leading-6 delay-300 fadeInLeft`,innerHTML:a.section.subheading},null,8,Yi)):v(``,!0),a.section.heading?(u(),e(`h2`,{key:1,class:`text-white text-6xl delay-100 lg:text-7xl heading mb-20 tiltIn`,textContent:o(a.section.heading)},null,8,Xi)):v(``,!0),a.section.tagline?(u(),e(`p`,{key:2,class:`text-white leading-6 delay-300 fadeInLeft`,innerHTML:a.section.tagline},null,8,Zi)):v(``,!0)]),t(`div`,Qi,[a.section.body?(u(),c(h,{key:0,class:`prose text-white leading-6 delay-300 fadeInLeft`,body:a.section.body},null,8,[`body`])):v(``,!0)])]),a.section.releases?(u(),e(`div`,$i,[t(`div`,ea,[i(y,{ref:`swiperRef`,options:d.swiperOptions,init:d.initSwiper,class:`overflow-hidden`},{default:g(()=>[(u(!0),e(O,null,E(a.section.releases,(n,i)=>(u(),e(`div`,{key:i,class:`swiper-slide`},[(u(),c(_(n.url?`a`:`div`),{href:n.url?n.url:null,target:n.url?`_blank`:null,class:p([{"cursor-pointer":n.url},`relative`]),tabindex:n.url?0:null,"aria-label":n.url?n.heading:null},{default:g(()=>[n.image?(u(),c(m,{key:0,image:n.image,max:`medium`,classname:`object-cover object-center aspect-[3/5] w-full`},null,8,[`image`])):v(``,!0),f.isInFuture(n.date)?(u(),e(`div`,ta,[...r[0]||=[t(`div`,{class:`heading w-auto text-center text-5xl border border-white rounded-lg pt-4 pb-6 px-30`},[l(` Coming `),t(`br`),l(` Soon `)],-1)]])):v(``,!0),t(`div`,na,[n.heading?(u(),e(`h3`,{key:0,class:`heading text-motorsportDark text-3xl mb-5 lg:mb-15`,textContent:o(n.heading)},null,8,ra)):v(``,!0),n.text?(u(),c(h,{key:1,class:`prose text-sm text-white leading-5 delay-300 fadeInLeft`,body:n.text},null,8,[`body`])):v(``,!0)])]),_:2},1032,[`href`,`target`,`class`,`tabindex`,`aria-label`]))]))),128))]),_:1},8,[`options`,`init`]),t(`div`,ia,null,512),t(`div`,aa,null,512),t(`div`,oa,null,512)])])):v(``,!0),a.section.link?(u(),e(`div`,sa,[i(b,{class:`fadeInLeft flex items-center font-bold delay-500`,link:a.section.link,chevron:`chevronTriple`,"chevron-color":a.categoryName===`horizon`?`dark`:`light`,tabindex:`0`},null,8,[`link`,`chevron-color`])])):v(``,!0)])])])}var la=T(Ui,[[`render`,ca]]),ua={name:`CoverPoster`,props:{section:{type:Object,default:()=>({})},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},mounted(){this.$updatePage()}},da={class:`relative coverposter`},fa={class:`absolute z-20 top-0 left-0 w-full h-full`},pa={class:`container py-80`},ma=[`textContent`],ha=[`textContent`];function ga(n,r,i,a,s,l){let d=R;return u(),e(`section`,da,[i.section.image?(u(),c(d,{key:0,image:i.section.image,classname:`relative z-0 w-full object-cover object-center h-480 lg:h-640`},null,8,[`image`])):v(``,!0),r[0]||=t(`div`,{class:`absolute inset-0 z-10 bg-black opacity-30`},null,-1),t(`div`,fa,[t(`div`,pa,[i.section.subheading?(u(),e(`p`,{key:0,class:`mb-5 text-3xl sm:text-4xl xl:text-5xl swipeFromLeft`,textContent:o(i.section.subheading)},null,8,ma)):v(``,!0),i.section.subheading?(u(),e(`h2`,{key:1,class:`heading text-7xl sm:text-8xl md:text-9xl swipeFromLeft`,textContent:o(i.section.heading)},null,8,ha)):v(``,!0)])])])}var _a=T(ua,[[`render`,ga]]),va={name:`ExpansionSection`,props:{section:{type:Object,default:()=>({})},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},mounted(){this.$updatePage()}},ya={class:`relative poster overflow-hidden`},ba={class:`parallax-element absolute z-0 -top-300 bottom-0 w-full`,"data-
1parallax":`300`,"data-parallaxstart":`0`},xa={class:`relative z-10 flex flex-col items-center justify-center px-15 py-100 sm:py-200`},Sa=[`textContent`],Ca=[`textContent`],wa=[`textContent`],Ta={key:0,class:`absolute z-10 bottom-0 left-0 w-full text-sm text-center text-white pt-50 pb-20 px-15`},Ea=[`textContent`];function Da(n,r,i,a,s,l){let d=R;return u(),e(`section`,ya,[t(`div`,ba,[i.section.background?(u(),c(d,{key:0,image:i.section.background,max:`massive`,classname:`absolute z-0 w-full h-full object-cover`},null,8,[`image`])):v(``,!0)]),t(`div`,xa,[i.section.headingLayer1?(u(),e(`div`,{key:0,class:`heading [text-shadow:_2px_3px_5px_#5A5A5A] mb-5 md:mb-15 xl:mb-40 text-2xl xl:text-7xl`,textContent:o(i.section.headingLayer1)},null,8,Sa)):v(``,!0),i.section.headingLayer2?(u(),e(`div`,{key:1,class:`heading text-horizon6 [text-shadow:_2px_3px_5px_#5A5A5A] mb-5 md:mb-10 xl:mb-30 text-6xl sm:text-7xl md:text-8xl lg:text-9xl xl:text-10xl`,textContent:o(i.section.headingLayer2)},null,8,Ca)):v(``,!0),i.section.headingLayer3?(u(),e(`div`,{key:2,class:`heading [text-shadow:_2px_3px_5px_#5A5A5A] mb-50 text-6xl sm:text-7xl md:text-8xl lg:text-9xl xl:text-10xl`,textContent:o(i.section.headingLayer3)},null,8,wa)):v(``,!0)]),i.section.legal?(u(),e(`div`,Ta,[r[0]||=t(`div`,{class:`absolute z-0 inset-0 bg-gradient-to-t from-black to-transparent`},null,-1),t(`span`,{class:`relative z-10`,textContent:o(i.section.legal)},null,8,Ea)])):v(``,!0)])}var Oa=T(va,[[`render`,Da]]),ka={name:`BarsIcon`,props:{color:{type:String,default:`#FFFFFF`}}},Aa=[`fill`],ja=[`fill`],Ma=[`fill`],Na=[`fill`],Pa=[`fill`];function Fa(n,r,i,a,o,s){return u(),e(`svg`,{width:`24`,height:`18`,viewBox:`0 0 24 18`,fill:i.color,xmlns:`http://www.w3.org/2000/svg`,"aria-hidden":`true`},[t(`path`,{d:`M3.40968 12.8691H1.72535C0.795117 12.8691 0.0410156 13.7708 0.0410156 14.8831V15.9082C0.0410156 17.0205 0.795117 17.9221 1.72535 17.9221H3.40968C4.33991 17.9221 5.09402 17.0205 5.09402 15.9082V14.8831C5.09402 13.7708 4.33991 12.8691 3.40968 12.8691Z`,fill:i.color},null,8,ja),t(`path`,{d:`M9.47218 9.83789H7.78785C6.85762 9.83789 6.10352 10.6781 6.10352 11.7146V16.046C6.10352 17.0825 6.85762 17.9227 7.78785 17.9227H9.47218C10.4024 17.9227 11.1565 17.0825 11.1565 16.046V11.7146C11.1565 10.6781 10.4024 9.83789 9.47218 9.83789Z`,fill:i.color},null,8,Ma),t(`path`,{d:`M15.5366 5.79688H13.8523C12.9221 5.79688 12.168 6.62417 12.168 7.64469V16.0763C12.168 17.0968 12.9221 17.9241 13.8523 17.9241H15.5366C16.4669 17.9241 17.221 17.0968 17.221 16.0763V7.64469C17.221 6.62417 16.4669 5.79688 15.5366 5.79688Z`,fill:i.color},null,8,Na),t(`path`,{d:`M21.5991 0.742188H19.9148C18.9846 0.742188 18.2305 1.53787 18.2305 2.51939V16.1452C18.2305 17.1267 18.9846 17.9224 19.9148 17.9224H21.5991C22.5294 17.9224 23.2835 17.1267 23.2835 16.1452V2.51939C23.2835 1.53787 22.5294 0.742188 21.5991 0.742188Z`,fill:i.color},null,8,Pa)],8,Aa)}var Ia=T(ka,[[`render`,Fa]]),La={name:`ScrollBar`,props:{scrollerOptions:{type:Object,default:()=>({alwaysShowTracks:!1,continuousScrolling:!1,disableScrollX:!1,parallax:!1,disableMobile:!1,disableSmooth:!1,hideBars:{x:!1,y:!1}})}},data(){return{scrollbar:null}},computed:{hideX(){return this.scrollerOptions.hideBars?this.scrollerOptions.hideBars.x:!1},hideY(){return this.scrollerOptions.hideBars?this.scrollerOptions.hideBars.y:!1}},mounted(){this.$device.isMobile&&this.scrollerOptions.disableMobile||this.scrollerOptions.disableSmooth?this.scrollbar=null:this.insertScroller()},methods:{destroyScroller(){this.scrollbar&&=(this.scrollbar.destroy(),this.$destroyScrollbar(),null)},insertScroller(){this.scrollbar=le.init(this.$refs.scrollbar,this.scrollerOptions),this.scrollerOptions.parallax&&this.$insertParallaxScroller(this.scrollbar)}}};function Ra(t,n,r,i,a,o){return u(),e(`div`,{ref:`scrollbar`,class:p([{"disable-x-scroll":r.scrollerOptions.disableScrollX},{mobile:!a.scrollbar},{hide_x:o.hideX},{hide_y:o.hideY}])},[b(t.$slots,`default`)],2)}var za=T(La,[[`render`,Ra]]),Ba={name:`GamerSlide`,components:{Bars:Ia,ScrollBar:za},props:{slide:{type:Object,default:()=>{}},slideIndex:{type:Number,default:0},totalSlides:{type:Number,default:0}},data(){return{scrollOptions:{hideBars:{x:!0}}}},computed:{...I(V,{logos:`getLogos`})},mounted(){this.resetScroll(),this.announceSlide()},methods:{resetScroll(){this.$nextTick(()=>{setTimeout(()=>{this.$refs.scrollBarRef.$el.tabIndex=0},100)})},announceSlide(){let e=this.$refs.slideRef.querySelector(`.gamer__image`);e&&e.focus()}}},Va={ref:`slideRef`,class:`relative col-span-full text-dark xl:col-span-2`},Ha={class:`relative inset-x-0 bottom-0 grid h-auto w-full gap-20 overflow-hidden rounded rounded-br-[30px] bg-white lg:grid-cols-12 lg:gap-0 xl:absolute`},Ua={class:`swipeFromLeft relative bottom-0 z-10 col-span-full h-full overflow-hidden rounded rounded-br-[30px] bg-dark delay-400 lg:col-span-6 xl:rounded-none`},Wa=[`aria-label`],Ga={class:`z-10 col-span-full flex flex-col p-30 pt-20 lg:col-span-6`},Ka=[`textContent`],qa={class:`slide__info relative mb-20 pb-5 font-acuminPro font-bold xl:text-lg`},Ja={class:`fadeInLeft mb-20 flex flex-wrap gap-10 divide-x-2 divide-body delay-700`},Ya={key:0,class:`slide__meta flex items-center gap-10`},Xa=[`textContent`],Za=[`textContent`],Qa=[`textContent`],$a=[`textContent`],eo=[`textContent`],to={key:4,class:`slide__meta flex items-center gap-10`},no={key:0,class:`flex items-center gap-10`},ro={class:`fadeInLeft mb-20 flex flex-wrap gap-10 divide-x-2 divide-body delay-800`},io=[`textContent`],ao=[`textContent`],oo={key:1,class:`slide__meta flex items-center gap-5`},so=[`textContent`],co={class:`slide__body flex h-full flex-col justify-between text-bodyDark`},lo={class:`relative mb-15 pb-15`},uo={key:0,class:`swipeFromLeft absolute inset-x-0 bottom-0 h-2 bg-body delay-1000`},fo={class:`socials fadeInLeft flex flex-wrap items-center gap-30 delay-1200`};function po(n,r,a,s,d,f){let p=R,m=C(`Bars`),h=G,_=C(`ScrollBar`),y=H;return u(),e(`div`,Va,[t(`div`,Ha,[t(`div`,Ua,[t(`div`,{class:`gamer__image`,tabindex:`0`,"aria-label":`slide ${a.slideIndex+1} of ${a.totalSlides}. ${a.slide.name}`},[a.slide.image?(u(),c(p,{key:0,image:a.slide.image,classname:`w-full h-full xl:min-h-[480px] object-cover object-center`,max:`medium`},null,8,[`image`])):n.logos.headerLogo?(u(),c(p,{key:1,image:n.logos.headerLogo,classname:`w-full h-full xl:min-h-[480px] object-contain object-center p-50`,max:`medium`},null,8,[`image`])):v(``,!0)],8,Wa)]),t(`div`,Ga,[a.slide.name?(u(),e(`h3`,{
1key:0,class:`heading fadeInLeft mb-20 text-4xl delay-600`,textContent:o(a.slide.name)},null,8,Ka)):v(``,!0),t(`div`,qa,[t(`div`,Ja,[a.slide.tag||a.slide.leader?(u(),e(`div`,Ya,[a.slide.avatar?(u(),c(p,{key:0,classname:`w-30 h-30 rounded-full overflow-hidden`,image:a.slide.avatar,max:`small`},null,8,[`image`])):v(``,!0),a.slide.tag?(u(),e(`span`,{key:1,textContent:o(`@${a.slide.tag}`)},null,8,Xa)):v(``,!0),a.slide.leader?(u(),e(`span`,{key:2,class:`slide__meta`,textContent:o(`Leader: @${a.slide.leader}`)},null,8,Za)):v(``,!0)])):v(``,!0),a.slide.age?(u(),e(`span`,{key:1,class:`slide__meta flex items-center gap-10`,textContent:o(`Age: ${a.slide.age}`)},null,8,Qa)):v(``,!0),a.slide.members?(u(),e(`span`,{key:2,class:`slide__meta`,textContent:o(`Members: ${a.slide.members}`)},null,8,$a)):v(``,!0),a.slide.est?(u(),e(`span`,{key:3,class:`slide__meta`,textContent:o(`Est: ${a.slide.est}`)},null,8,eo)):v(``,!0),a.slide.country?(u(),e(`div`,to,[a.slide.country?(u(),e(`span`,no,[l(o(`Location: ${a.slide.country.name}`)+` `,1),a.slide.country.flag?(u(),c(p,{key:0,image:a.slide.country.flag,classname:`h-15 w-20 xl:h-20 xl:w-[28px]`,max:`small`},null,8,[`image`])):v(``,!0)])):v(``,!0)])):v(``,!0)]),t(`div`,ro,[(u(!0),e(O,null,E(a.slide.categories,(n,r)=>(u(),e(`div`,{key:r,class:`slide__meta flex items-center gap-5`},[t(`span`,{textContent:o(n.name)},null,8,io)]))),128)),a.slide.meetups?(u(),e(`span`,{key:0,class:`slide__meta`,textContent:o(`Meetups: ${a.slide.meetups}`)},null,8,ao)):v(``,!0),a.slide.years?(u(),e(`div`,oo,[i(m,{color:`#000000`}),t(`span`,{textContent:o(a.slide.years+` Years`)},null,8,so)])):v(``,!0)]),r[0]||=t(`div`,{class:`swipeFromLeft absolute inset-x-0 bottom-0 h-2 bg-body delay-900`},null,-1)]),t(`div`,co,[t(`div`,lo,[i(_,{ref:`scrollBarRef`,"scroller-options":d.scrollOptions,class:`lg:max-h-360`,tabindex:`0`},{default:g(()=>[a.slide.description?(u(),c(h,{key:0,class:`content fadeInLeft prose leading-normal delay-1000`,body:a.slide.description},null,8,[`body`])):v(``,!0)]),_:1},8,[`scroller-options`]),a.slide.socialMedia.length>0?(u(),e(`div`,uo)):v(``,!0)]),t(`div`,fo,[(u(!0),e(O,null,E(a.slide.socialMedia,(e,t)=>(u(),c(y,{key:t,link:e,"sr-only":!0,tooltip:`View on ${e.label}`,class:`fadelink`,"icon-class":`w-auto h-25`},null,8,[`link`,`tooltip`]))),128))])])])])],512)}var mo={name:`FeaturedGamers`,components:{ChevronSingle:B,ChevronSingleBack:he,GamerSlide:T(Ba,[[`render`,po]])},props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},data(){return{swiper:null,activeTabIndex:0,slideIndex:0}},computed:{swiperOptions(){return{modules:[Te,_e],slidesPerView:4,loop:!0,slideToClickedSlide:!0,grabCursor:!0,spaceBetween:20,navigation:{nextEl:this.$refs.nextRef,prevEl:this.$refs.prevRef},pagination:{el:this.$refs.paginationRef,type:`fraction`,formatFractionCurrent:e=>this.halfIndex(e-1)+1,formatFractionTotal:e=>e/4}}},slides(){let e=this.activeTab.slides;return e.concat(e,e,e)},...I(V,{logos:`getLogos`}),activeTab(){return this.tabs[this.activeTabIndex]},totalSlides(){return this.activeTab?.slides?.length||0},activeSlide(){return this.activeTab?this.activeTab.slides[this.slideIndex]:{}},players(){let e=[];
1if(this.section.players)for(let t=0;t<this.section.players.length;t++)this.section.players[t]&&e.push(this.section.players[t]);return e},teams(){let e=[];if(this.section.teams)for(let t=0;t<this.section.teams.length;t++)this.section.teams[t]&&e.push(this.section.teams[t]);return e},tabs(){return[{title:`Individuals`,text:this.section.playersText,slides:this.players},{title:`Groups`,text:this.section.teamsText,slides:this.teams}]}},mounted(){this.$nextTick(()=>{this.swiper=new Ee(this.$refs.swiperRef,this.swiperOptions),this.swiper.on(`slideChange`,e=>{this.slideIndex=this.halfIndex(e.realIndex)}),this.$updatePage()})},methods:{updateSize(){this.$updateWindowSize()},toggleTab(e){this.tabs.length>e&&(this.activeTabIndex=e),this.$nextTick(()=>{this.swiper.update(),this.swiper.slideToLoop(0),this.updateSize()})},halfIndex(e){return e%=this.activeTab.slides.length}}},ho={ref:`sectionRef`,class:`featuredgamers padsection`},go={class:`relative overflow-x-clip overflow-y-visible`},_o={class:`container--grid container`},vo=[`textContent`],yo={class:`underline-white relative text-white`},bo={class:`container relative z-10 pb-100 pt-40`},xo={class:`grid grid-cols-3 gap-20`},So={class:`col-span-full xl:col-span-1`},Co={class:`mb-30 flex gap-20`},wo=[`aria-label`,`aria-selected`,`onKeyup`,`onClick`,`textContent`],To=[`textContent`],Eo={ref:`swiperRef`,class:`swiper h-full`},Do={class:`fadeInLeft order-first mb-30 flex items-center gap-30 delay-300 xl:flex`},Oo={class:`flex gap-30`},ko={ref:`prevRef`,class:`controls__button prev transition-opacity duration-300 hover:opacity-80`,"aria-label":`Previous slide`},Ao={ref:`nextRef`,class:`controls__button next transition-opacity duration-300 hover:opacity-80`,"aria-label":`Next Slide`},jo={ref:`paginationRef`,class:`slider_pagination`},Mo={class:`swiper-wrapper`};function No(n,r,s,l,d,f){let m=C(`ChevronSingleBack`),h=C(`ChevronSingle`),_=R,y=C(`GamerSlide`);return u(),e(`section`,ho,[t(`div`,go,[r[1]||=t(`div`,{class:`absolute bottom-5 left-0 z-10 h-10 w-full bg-dark`},null,-1),r[2]||=t(`div`,{class:`absolute bottom-25 left-0 z-10 h-10 w-full bg-dark`},null,-1),t(`div`,_o,[s.section.heading?(u(),e(`h2`,{key:0,class:`heading col-span-full mb-40 text-6xl lg:col-span-3 lg:text-7xl`,textContent:o(s.section.heading)},null,8,vo)):v(``,!0)]),t(`div`,yo,[r[0]||=t(`div`,{class:`moveUpFull absolute inset-0 h-full w-full bg-forza`},null,-1),t(`div`,bo,[t(`div`,xo,[t(`div`,So,[t(`div`,Co,[(u(!0),e(O,null,E(f.tabs,(t,n)=>(u(),e(`div`,{key:`tablink-${n}`,class:p([`underlinelink fadeInLeft font-bold`,{active:d.activeTabIndex===n}]),style:a(`transition-delay: ${n*.1+.1}s`),tabindex:`0`,role:`tab`,"aria-label":`${t.title} tab`,"aria-selected":d.activeTabIndex===n,onKeyup:j(e=>f.toggleTab(n),[`enter`]),onClick:e=>f.toggleTab(n),textContent:o(t.title)},null,46,wo))),128))]),i(N,{name:`fade`,mode:`out-in`},{default:g(()=>[(u(),e(`div`,{key:`tab-${d.activeTabIndex}`,class:`tab grid grid-cols-4 gap-20`},[f.activeTab.text?(u(),e(`p`,{key:0,class:`fadeInLeft col-span-full mb-30 delay-200 xl:col-span-3`,textContent:o(f.activeTab.text)},null,8,To)):v(``,!0)]))]),_:1}),t(`div`,null,[t(`div`,Eo,[t(`div`,Do,[t(`div`,Oo,[t(`button`,ko,[i(m,{"chevron-color":`white`,class:`h-30 w-20`})],512),t(`button`,Ao,[i(h,{"chevron-color":`white`,class:`h-30 w-20`})],512)]),t(`div`,jo,null,512)]),t(`div`,Mo,[(u(!0),e(O,null,E(f.slides,(t,r)=>(u(),e(`div`,{key:`${d.activeTabIndex} + ${r}`,class:`swiper-slide !h-auto`},[t.image?(u(),c(_,{key:0,image:t.image,max:`tiny`,classname:`w-full object-cover h-full rounded overflow-hidden aspect-square XYXY`},null,8,[`image`])):n.logos.headerLogo?(u(),c(_,{key:1,image:n.logos.headerLogo,classname:`w-full object-contain h-full p-1/10`,max:`tiny`},null,8,[`image`])):v(``,!0)]))),128))])],512)])]),i(N,{name:`fade`,mode:`out-in`},{default:g(()=>[f.activeSlide?(u(),c(y,{key:`${d.activeTabIndex} + ${d.slideIndex}`,"slide-index":d.slideIndex,"total-slides":f.totalSlides,slide:f.activeSlide},null,8,[`slide-index`,`total-slides`,`slide`])):v(``,!0)]),_:1})])])])])],512)}var Po=T(mo,[[`render`,No]]),Fo={name:`GallerySection`,components:{FiltersLayout:je,PhotoGalleryItem:Ae,ChevronSingle:B,ChevronSingleBack:he,Pagination:ge},props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},setup(){return{store:V()}},data(){return{currentPage:1,pageSize:12,layout:`grid`,currentEleFocus:-1,slideStatus:``,swiper:{activeIndex:0,activeInfo:!1}}},computed:{topPhotos(){return this.section.gallery?.length>0?this.section.gallery.slice(0,100):[]},totalPhotos(){return this.topPhotos.length},paginatedGallery(){if(!this.section.gallery)return[];let e=(this.currentPage-1)*this.pageSize,t=e+this.pageSize;return this.section.gallery.slice(e,t)},paginationMeta(){return{page:this.currentPage,pageSize:this.pageSize,pageCount:Math.ceil((this.section.gallery?.length||0)/this.pageSize)}}},watch:{"store.pictureModal":{handler(e){if(!e&&this.currentEleFocus>-1){let e=this.$refs.section.getElementsByClassName(`photo_grid__item`)[this.currentEleFocus];e&&e.focus()}}}},mounted(){this.$updatePage()},methods:{updateGalleryPage(e){this.currentPage=e,this.$refs.section.scrollIntoView({behavior:`smooth`})},updateLayout(e){this.layout=e},setModal(e,t){this.currentEleFocus=t,this.store.pictureModal=e},setActive(e){this.activeIndex=e,this.swiper.activeIndex=e,this.closeInfo()},prev(){this.swiper.activeIndex>0?this.swiper.activeIndex--:this.swiper.activeIndex=this.totalPhotos-1,this.closeInfo(),this.announceSlide()},next(){this.swiper.activeIndex<this.totalPhotos-1?this.swiper.activeIndex++:this.swiper.activeIndex=0,this.closeInfo(),this.announceSlide()},announceSlide(){this.slideStatus=`Slide `+(this.swiper.activeIndex+1)+` of `+this.totalPhotos},toggleInfo(){this.swiper.activeInfo=!this.swiper.activeInfo,this.swiper.activeInfo&&this.announceSlide()},closeInfo(){this.swiper.activeInfo=!1}}},Io={ref:`section`,class:`gallery`},Lo={class:`relative`},Ro={class:`z-20 container !max-w-1790 py-80`},zo={class:`grid grid-cols-12`},Bo={class:`col-span-full lg:col-span-6 mb-30`},Vo=[`innerHTML`],Ho=[`textContent`],Uo={key:0,class:`col-span-full lg:col-span-6 mb-30`},Wo={class:`photo__toggles h-full flex items-end lg:justify-end`},Go={key:0},Ko={key:`gallery`,class:`photo__gallery container mb-50 py-50`},qo={ref:`gallery`,class:`gallery__wrapper relative h-[340px] sm:h-[380px] md:h-440 lg:mb-100 lg:h-[630px] xl:mb-50`},Jo={class:`controls relative w-full`},Yo=[`textContent`],Xo=[`textContent`],Zo={class:`fadeIn absolute right-0 top-0 z-20 flex gap-40 xl:-top-[150px] xl:right-[950px]`},Qo={class:`container--grid photo__grid relative mb-50 gap-0`},$o=[`data-index`,`onClick`,`onKeypress`],es={key:0,class:`flex justify-center mt-30`};function ts(n,r,s,l,d,f){let m=G,h=C(`FiltersLayout`),_=C(`PhotoGalleryItem`),y=C(`ChevronSingleBack`),b=C(`ChevronSingle`),x=R,S=C(`Pagination`);return u(),e(`section`,Io,[t(`div`,Lo,[t(`div`,Ro,[t(`div`,zo,[t(`div`,Bo,[s.section.subheading?(u(),e(`p`,{key:0,class:`text-motorsport leading-6 mb
1-5 delay-300 fadeInLeft`,innerHTML:s.section.subheading},null,8,Vo)):v(``,!0),s.section.heading?(u(),e(`h2`,{key:1,class:`text-white text-6xl delay-100 lg:text-7xl heading mb-15 tiltIn`,textContent:o(s.section.heading)},null,8,Ho)):v(``,!0),s.section.body?(u(),c(m,{key:2,class:`prose text-white leading-6 delay-300 fadeInLeft`,body:s.section.body},null,8,[`body`])):v(``,!0)]),s.section.gallery?(u(),e(`div`,Uo,[t(`div`,Wo,[i(h,{"games-length":s.section.gallery.length,"default-layout":`grid`,onUpdateLayout:f.updateLayout},null,8,[`games-length`,`onUpdateLayout`])])])):v(``,!0)]),s.section.gallery?(u(),e(`div`,Go,[i(N,{name:`fade`,mode:`out-in`},{default:g(()=>[d.layout===`gallery`?(u(),e(`div`,Ko,[t(`div`,qo,[(u(!0),e(O,null,E(f.topPhotos,(e,t)=>(u(),c(_,{key:`gallery-item-${e.id}`,item:e,index:t,swiper:d.swiper,class:p([`absolute`,{active:t===d.swiper.activeIndex}]),"is-active":t===d.swiper.activeIndex,"total-photos":f.totalPhotos,onSetIndex:f.setActive,onPhotoOverlay:f.toggleInfo},null,8,[`item`,`index`,`swiper`,`class`,`is-active`,`total-photos`,`onSetIndex`,`onPhotoOverlay`]))),128))],512),t(`div`,Jo,[t(`span`,{"aria-live":`polite`,"aria-atomic":`true`,class:`sr-only`,textContent:o(d.slideStatus)},null,8,Yo),t(`span`,{class:`block w-full text-center text-white xl:hidden`,textContent:o(d.swiper.activeIndex+1+`/`+f.totalPhotos)},null,8,Xo),t(`div`,Zo,[t(`button`,{tabindex:`0`,class:`controls__button`,"aria-label":`Previous screenshot`,title:`Previous screenshot`,onClick:r[0]||=(...e)=>f.prev&&f.prev(...e)},[i(y,{"chevron-color":`white`})]),t(`button`,{tabindex:`0`,class:`controls__button`,"aria-label":`Next screenshot`,title:`Next screenshot`,onClick:r[1]||=(...e)=>f.next&&f.next(...e)},[i(b,{"chevron-color":`white`})])])])])):d.layout===`grid`?(u(),e(`div`,{key:`grid-${d.currentPage}`},[t(`div`,Qo,[(u(!0),e(O,null,E(f.paginatedGallery,(n,r)=>(u(),e(`div`,{key:`photo-${n.id}`,class:`photo_grid__item imagewrapper pagelink fadeIn col-span-full overflow-hidden md:col-span-6 lg:col-span-4 xl:col-span-3`,tabindex:`0`,role:`button`,"aria-label":`View photo`,"data-index":r,style:a({transitionDelay:r*100+`ms`}),onClick:e=>f.setModal(n,r),onKeypress:j(e=>f.setModal(n,r),[`enter`])},[t(`picture`,null,[n.image?(u(),c(x,{key:0,image:n.image,max:`small`,classname:`object-cover object-center w-full imagescale h-auto sm:h-200`},null,8,[`image`])):v(``,!0)])],44,$o))),128))]),f.paginationMeta.pageCount>1?(u(),e(`div`,es,[i(S,{meta:f.paginationMeta,"page-override":d.currentPage,onPageChange:f.updateGalleryPage},null,8,[`meta`,`page-override`,`onPageChange`])])):v(``,!0)])):v(``,!0)]),_:1})])):v(``,!0)])])],512)}var ns=T(Fo,[[`render`,ts]]),rs={class:`highlights padsection relative`},is={key:0,class:`from-horizon6Veridian to-horizon6VeridianDark pointer-events-none absolute left-0 top-0 z-0 h-full w-full bg-gradient-to-b`},as={class:`container relative z-10`},os={key:0,class:`-bottom-20 left-0 inline-block h-5 w-full flex-1 rounded bg-horizon6 lg-max:absolute`},ss=[`textContent`],cs=[`textContent`],ls={key:1,class:`container pt-40 text-center lg:pt-100`},us={key:0,class:`heading swipeFromLeft mb-30 inline-block max-w-640 text-6xl delay-100 lg:text-7xl`},ds={class:`article__content mx-auto max-w-440`},fs={key:1,class:`flex flex-wrap justify-center gap-20`},ps={__name:`Highlights`,props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},setup(n){let{$updatePage:r}=h(),i=e=>e.url?A:`div`;return m(()=>{r()}),(r,s)=>{let d=R,f=G,m=K;return u(),e(`section`,rs,[n.categoryName===`horizon6`?(u(),e(`div`,is,[...s[0]||=[t(`div`,{class:`absolute left-0 top-0 z-0 h-full w-full bg-repeat`,style:{"background-image":`url('/images/background/fh6-origami-repeated.svg')`}},null,-1),t(`div`,{class:`absolute left-0 top-0 z-0 h-15 w-full bg-gradient-to-b from-black/40 to-transparent`},null,-1),t(`div`,{class:`absolute bottom-0 left-0 z-0 h-15 w-full bg-gradient-to-t from-black/40 to-transparent`},null,-1)]])):v(``,!0),t(`div`,as,[n.section.heading?(u(),e(`h2`,{key:0,class:p([`heading swipeFromLeft mx-auto mb-50 w-max text-6xl delay-100 lg:text-7xl lg-max:text-center`,{"flex-row items-center gap-50 lg:flex lg:w-full":n.categoryName===`horizon6`}])},[l(o(n.section.heading)+` `,1),n.categoryName===`horizon6`?(u(),e(`span`,os)):v(``,!0)],2)):v(``,!0),t(`div`,{class:p([`grid gap-25 sm:grid-cols-2`,{"lg:grid-cols-3":n.section.columns===`three`,"lg:grid-cols-4":n.section.columns===`four`}])}
1,[(u(!0),e(O,null,E(n.section.highlights,(r,s)=>(u(),c(_(i(r)),{key:s,to:r.url?r.url:``,class:`imagewrapper`},{default:g(()=>[t(`div`,{class:p([`fadeInLeft relative mb-20 h-0 overflow-hidden pb-7/12`,{"h6-shadow rounded-xl":n.categoryName===`horizon6`,"rounded rounded-br-[30px]":n.categoryName!==`horizon6`}]),style:a(`transition-delay: ${s*200+200}ms`)},[r.image?(u(),c(d,{key:0,image:r.image,min:`small`,max:`large`,classname:`imagescale absolute z-0 top-0 left-0 w-full h-full object-cover object-center duration-10000`},null,8,[`image`])):v(``,!0)],6),r.label?(u(),e(`h3`,{key:0,class:`heading tiltIn mb-10 w-content text-2xl`,style:a(`transition-delay: ${s*300+200+150}ms`),textContent:o(r.label)},null,12,ss)):v(``,!0),r.text?(u(),e(`p`,{key:1,class:`fadeIn mb-20 max-w-9/12`,style:a(`transition-delay: ${s*300+200+200}ms`),textContent:o(r.text)},null,12,cs)):v(``,!0)]),_:2},1032,[`to`]))),128))],2)]),n.section.cta?(u(),e(`div`,ls,[s[1]||=t(`div`,{class:`relative mb-40 h-5 w-full rounded bg-horizon6 lg:mb-100`},null,-1),t(`div`,null,[n.section.cta.heading?(u(),e(`h2`,us,o(n.section.cta.heading),1)):v(``,!0),t(`div`,ds,[n.section.cta.text?(u(),c(f,{key:0,class:`relative mb-50 w-full`,body:n.section.cta.text},null,8,[`body`])):v(``,!0)]),n.section.cta.buttons.length?(u(),e(`div`,fs,[(u(!0),e(O,null,E(n.section.cta.buttons,(e,t)=>(u(),c(m,{key:t,button:e},null,8,[`button`]))),128))])):v(``,!0)])])):v(``,!0)])}}},ms={name:`HtmlBlock`,props:{section:{type:Object,default:()=>{}},sectionindex:{type:Number,default:()=>0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},mounted(){this.$updatePage()}},hs={class:`padsection padsection--top`},gs=[`innerHTML`];function _s(n,r,i,a,o,s){return u(),e(`section`,hs,[t(`div`,{class:p([`container`,[n.theme,{"container-sm":i.section.width===`narrow`},{"container-lg":i.section.width===`wide`}]])},[i.section.html?(u(),e(`div`,{key:0,class:`relative custom-html`,innerHTML:i.section.html},null,8,gs)):v(``,!0)],2)])}var vs=T(ms,[[`render`,_s]]),ys={class:`col-span-12 md:col-span-6 xl:col-span-3`},bs={class:`relative z-0 h-200 min-h-200 overflow-hidden`},xs={class:`flex h-full flex-col justify-between px-30 py-20`},Ss={class:`wrapper`},Cs=[`textContent`],ws=[`textContent`],Ts={class:`flex justify-end`},Es={__name:`ListItem`,props:{item:{type:Object,required:!0},path:{type:String,required:!0},label:{type:String,required:!0},highlight:{type:String,default:`bg-forza`}},setup(n){let{outputFullDate:a}=ae();return(s,l)=>{let d=R,f=H,m=A;return u(),e(`div`,ys,[i(m,{to:`/${n.path}/${n.item.slug}`,class:`card imagewrapper relative flex h-full flex-col overflow-hidden rounded-4 bg-shade xl:rounded-br-30`},{default:g(()=>[t(`div`,{class:p([`card_highlight absolute z-10 h-full w-10`,n.highlight])},null,2),t(`div`,bs,[n.item.image?(u(),c(d,{key:0,image:n.item.image,max:`medium`,classname:`imagescale w-full h-full object-cover`},null,8,[`image`])):v(``,!0)]),t(`div`,xs,[t(`div`,Ss,[n.item.date?(u(),e(`p`,{key:0,class:`mb-5 text-sm text-offwhite`,textContent:o(r(a)(n.item.date))},null,8,Cs)):v(``,!0),t(`h2`,{class:`heading mb-10 text-2xl`,textContent:o(n.item.title)},null,8,ws)]),t(`div`,Ts,[i(f,{class:`card__link flex items-center font-acuminPro font-bold capitalize text-white`,link:{label:n.label},"icon-class":`w-auto h-20 mr-15 max-w-[85%] object-contain`,chevron:`chevronSingle`,"chevron-color":`light`,tabindex:``},null,8,[`link`])])])]),_:1},8,[`to`])])}}},Ds={class:`sections-leaderboardGrid padsection`},Os=[`textContent`],ks={class:`grid grid-cols-12 gap-30`},As={__name:`LeaderboardGrid`,props:{section:{type:Object,required:!0},sectionindex:{type:Number,required:!0}},async setup(n){let i,a,{$updatePage:s}=h(),l=e=>e.data.results.map(e=>{let t={title:e.title,slug:e.slug,date:e.date};return e.image&&(t.image={alternativeText:e.image.alternativeText,caption:e.image.caption,formats:{small:e.image.formats?.small}}),t}),d=x(),{data:f}=([i,a]=w(()=>ee(`leaderboards`,()=>te(`/api/leaderboards`,{baseURL:d.public.API_BASE_URL,headers:{Authorization:`Bearer ${d.public.STRAPI_API_TOKEN}`},params:{"pagination[limit]":1e3,sort:`date:desc`}}),{transform:e=>l(e),server:!0})),i=await i,a(),i);return m(()=>{s()}),(i,a)=>(u(),e(`section`,Ds,[t(`div`,{class:p([`container`,{"pt-100":n.sectionindex===0}])},[n.section.text?(u(),e(`p`,{key:0,class:`mx-auto my-60 max-w-540 text-center opacity-90`,textContent:o(n.section.text)}
1,null,8,Os)):v(``,!0),t(`div`,ks,[(u(!0),e(O,null,E(r(f),(e,t)=>(u(),c(Es,{key:`leaderboard-${t}`,item:e,path:`leaderboards`,label:`View Leaderboard`,highlight:`bg-motorsport`},null,8,[`item`]))),128))])],2)]))}},js={name:`ArrowTriple`,props:{chevronColor:{type:String,default:()=>``}}},Ms={viewBox:`0 0 70 44`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`,class:`arrows`,"aria-hidden":`true`};function Ns(n,r,i,a,o,s){return u(),e(`svg`,Ms,[t(`path`,{fill:`white`,class:p(`stroke-${i.chevronColor}`),d:`M0 0.375H13.6465L29.9464 21.875L13.6465 43.375H0L16.3 21.875L0 0.375Z`},null,2),t(`path`,{fill:`white`,class:p(`stroke-${i.chevronColor}`),d:`M19.9648 0.375H33.6113L49.9113 21.875L33.6113 43.375H19.9648L36.2648 21.875L19.9648 0.375Z`},null,2),t(`path`,{fill:`white`,class:p(`stroke-${i.chevronColor}`),d:`M39.9297 0.375H53.5762L69.8761 21.875L53.5762 43.375H39.9297L56.2296 21.875L39.9297 0.375Z`},null,2)])}var Ps=T(js,[[`render`,Ns]]),Fs={name:`LogoButtons`,components:{ArrowTriple:Ps},props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},computed:{theme(){let e=`text-white`;return this.categoryName&&this.categoryName===`horizon`&&!this.section.background&&(e=`text-dark`),e}},mounted(){this.$updatePage()}},Is={key:0,class:`pointer-events-none absolute left-0 top-0 z-0 h-full w-full`},Ls={key:1,class:`pointer-events-none absolute inset-0 z-0`},Rs={class:`relative z-10`},zs={class:`mx-auto max-w-640`},Bs=[`textContent`],Vs=[`textContent`],Hs=[`textContent`],Us={key:0,class:`justify-center gap-25 md:flex`},Ws={class:`absolute bottom-0 right-40 z-10 translate-y-1/2`};function Gs(n,r,s,l,d,f){let m=R,h=C(`ArrowTriple`),_=H;return u(),e(`section`,null,[t(`div`,{class:p([`logobuttons container py-100 text-center`,[f.theme]])},[s.categoryName===`horizon6`?(u(),e(`div`,Is,[...r[0]||=[t(`div`,{class:`absolute inset-0 bg-repeat opacity-40`,style:{"background-image":`url('/images/background/fh6-black-tiles.png')`}},null,-1),t(`div`,{class:`absolute inset-0`,style:{background:`radial-gradient(50% 50% at 50% 50%, transparent 0%, #0d0d0d 100%)`}},null,-1)]])):v(``,!0),s.section.background?(u(),e(`div`,Ls,[i(m,{image:s.section.background,classname:`w-full h-full object-cover`,max:`xlarge`},null,8,[`image`])])):v(``,!0),t(`div`,Rs,[t(`div`,zs,[s.section.heading?(u(),e(`h2`,{key:0,class:`heading tiltIn mx-auto mb-20 w-content text-6xl delay-100 lg:text-7xl`,textContent:o(s.section.heading)},null,8,Bs)):v(``,!0),s.section.subheading?(u(),e(`p`,{key:1,class:`tiltIn mb-20 text-xl font-bold delay-200`,textContent:o(s.section.subheading)},null,8,Vs)):v(``,!0),s.section.text?(u(),e(`p`,{key:2,class:`fadeIn mb-50 delay-300`,textContent:o(s.section.text)},null,8,Hs)):v(``,!0)]),s.section.logos?(u(),e(`div`,Us,[(u(!0),e(O,null,E(s.section.logos,(e,n)=>(u(),c(_,{key:n,class:`relative mb-40 flex w-full md:max-w-5/10`,link:{url:e.url,label:e.label},"sr-only":!0},{default:g(()=>[t(`div`,{class:`shiny swipeFromLeft relative flex w-full items-center justify-center overflow-hidden rounded rounded-br-[30px] bg-dark bg-gradient-to-r from-black to-dark p-60`,style:a(`transition-delay: ${n*200+400}ms`)},[r[1]||=t(`div`,{class:`shiny__reflect`},null,-1),t(`div`,{class:p([`absolute bottom-0 left-0 top-0 z-10 w-10`,`bg-${e.color}`])},null,2),e.image?(u(),c(m,{key:0,image:e.image,classname:`svglogo w-auto h-880 max-h-60`,max:`small`},null,8,[`image`])):v(``,!0)],4),t(`div`,Ws,[t(`div`,{class:`fadeInLeft`,style:a(`transition-delay: ${n*200+550}ms`)},[i(h,{class:`logo-arrow w-70`})],4)])]),_:2},1032,[`link`]))),128))])):v(``,!0)])],2)])}var Ks=T(Fs,[[`render`,Gs]]),qs={name:`LinkPills`,props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},computed:{catName(){return this.categoryName?this.categoryName:`forza`}},mounted(){this.$updatePage()}},Js={key:0,class:`absolute z-0 top-0 left-0 w-full h-full pointer-events-none`},Ys={class:`container text-center`},Xs={key:0,class:`heading inline-block swipeFromLeft mb-50 text-6xl max-w-640 mx-auto delay-100 lg:text-7xl`}
1,Zs={key:0,class:`absolute -bottom-20 left-0 w-full h-5 bg-horizon6Pink round`},Qs={class:`article__content max-w-440 mx-auto`},$s={class:`flex gap-20 justify-center`};function ec(n,r,i,a,s,d){let f=G,m=H;return u(),e(`section`,{class:p([`linkpills relative padsection`,{"bg-white text-dark":i.categoryName===`horizon6`}])},[i.categoryName===`horizon6`?(u(),e(`div`,Js,[...r[0]||=[t(`img`,{src:xt,alt:`Paper background`,role:`presentation`,class:`absolute z-0 top-0 left-0 w-full h-full object-cover`},null,-1),t(`img`,{src:Oe,alt:``,class:`absolute z-0 top-0 left-0 w-auto h-100 md:h-180 xl:h-250 object-contain object-top`},null,-1),t(`img`,{src:Ct,alt:``,class:`absolute z-0 bottom-0 right-0 w-auto h-100 md:h-180 xl:h-200 object-contain object-bottom`},null,-1)]])):v(``,!0),t(`div`,Ys,[i.section.heading?(u(),e(`h2`,Xs,[l(o(i.section.heading)+` `,1),i.categoryName===`horizon6`?(u(),e(`div`,Zs)):v(``,!0)])):v(``,!0),t(`div`,Qs,[i.section.text?(u(),c(f,{key:0,class:`relative w-full mb-50`,body:i.section.text},null,8,[`body`])):v(``,!0)]),t(`div`,$s,[(u(!0),e(O,null,E(i.section.pills,(t,r)=>(u(),c(m,{key:` linkpill-${r}`,link:t,class:p([`relative flex gap-20 items-center justify-between rounded overflow-hidden`,{"bg-dark text-white py-10 px-40":i.categoryName===`horizon6`,"bg-white text-dark py-15 pl-30 pr-20 lg:rounded-br-xl":i.categoryName!==`horizon6`}]),chevron:i.categoryName===`horizon6`?null:n.ChevronSingle,"chevron-color":`dark`},{default:g(()=>[i.categoryName===`horizon6`?v(``,!0):(u(),e(`div`,{key:0,class:p([`absolute z-10 top-0 left-0 w-10 h-full`,`bg-${d.catName}`])},null,2))]),_:1},8,[`link`,`class`,`chevron`]))),128))])])],2)}var tc=T(qs,[[`render`,ec]]),nc={name:`PanelsSection`,components:{ArrowTriple:Ps},props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},computed:{theme(){return this.categoryName===`horizon`?`bg-offwhite`:`bg-dark`}},mounted(){this.$updatePage()}},rc={class:`panels`},ic={class:`lg:container`},ac={class:`container relative z-10 grid grid-cols-6 lg:px-0`},oc={class:``},sc=[`textContent`];function cc(n,r,s,d,f,m){let h=R,g=C(`ArrowTriple`),_=H;return u(),e(`section`,rc,[t(`div`,ic,[s.section.panels?(u(),e(`div`,{key:0,class:p([`grid grid-cols-12 gap-0`,m.theme])},[(u(!0),e(O,null,E(s.section.panels,(n,r)=>(u(),e(`div`,{key:r,class:`relative col-span-full mb-10 py-100 text-white sm:mx-0 lg:col-span-6`},[t(`div`,{class:p([`absolute inset-0 z-0 overflow-hidden rounded rounded-br-[30px] rounded-tr-none lg:w-out-6/12`,[r===0?`bg-forza lg:left-auto`:`bg-dark lg:right-auto`]])},null,2),t(`div`,ac,[t(`div`,{class:p([`col-span-full lg:col-span-4`,r===0?``:`lg:col-start-3`])},[t(`div`,{class:`fadeIn mb-40 mr-40 h-60 w-70 lg:h-80 lg:w-145`,style:a(`transition-delay: ${r*200+100}ms`)},[n.image?(u(),c(h,{key:0,image:n.image,classname:`svglogo w-full h-full mb-20 lg:mb-0 object-contain object-left`},null,8,[`image`])):v(``,!0)],4),t(`div`,null,[n.heading?(u(),e(`h2`,{key:0,class:`heading tiltIn mb-20 flex items-baseline gap-20 text-6xl lg:text-7xl`,style:a(`transition-delay: ${r*200+200}ms`)},[l(o(n.heading)+` `,1),t(`div`,oc,[i(g,{class:`h-40`})])],4)):v(``,!0),n.text?(u(),e(`p`,{key:1,class:`fadeInLeft mb-40 block text-base text-white brightness-90 lg:text-lg`,style:a(`transition-delay: ${r*200+300}ms`),textContent:o(n.text)},null,12,sc)):v(``,!0),n.link?(u(),e(`div`,{key:2,class:`fadeInLeft flex`,style:a(`transition-delay: ${r*200+400}ms`)},[i(_,{class:`flex items-center font-acuminPro font-bold`,link:n.link,chevron:`ChevronSingle`},null,8,[`link`])],4)):v(``,!0)])],2)])]))),128))],2)):v(``,!0)])])}var lc=T(nc,[[`render`,cc]]),uc={name:`ParagraphSection`,props:{section:{type:Object,default:()=>{}},sectionindex:{type:Number,default:()=>0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},setup(){let{setupTables:e}=ue();return{setupTables:e}},computed:{theme(){return this.categoryName?`theme-${this.categoryName}`:``}},mounted(){this.$refs.content&&this.setupTables(this.$refs.content,this.section.columnWidths,this.section.tableFilters),this.$updatePage()}},dc={class:`padsection padsection--top--sm`},fc={key:0,class:`pointer-events-none absolute left-0 top-0 z-0 h-full w-full`};function pc(n,r,i,a,o,s){let l=G;return u(),e(`section`,dc,[i.categoryName===`horizon6`?(u(),e(`div`,fc,[...r[0]||=[t(`div`,{class:`absolute inset-0 bg-repeat opacity-40`,style:{"background-image":`url('/images/background/fh6-black-tiles.png')`}},null,-1),t(`div`,{class:`absolute inset-0`,style:{background:`radial-gradient(50% 50% at 50% 50%, transparent 0%, #0d0d0d 100%)`}},null,-1),t(`img`,{src:Oe,alt:``,class:`absolute left-0 top-0 z-0 h-100 w-auto object-contain object-top md:h-120 xl:h-180`},null,-1),t(`img`,{src:ke,alt:``,class:`absolute bottom-0 right-0 z-0 h-100 w-auto object-contain object-bottom md:h-180 xl:h-200`}
1,null,-1)]])):v(``,!0),t(`div`,{ref:`content`,class:p([`article__content article__content--page container`,[s.theme,{"container-sm":i.section.width===`narrow`},{"container-lg":i.section.width===`wide`}]])},[i.section.text?(u(),c(l,{key:0,class:`relative grid w-full`,body:i.section.text},null,8,[`body`])):v(``,!0)],2)])}var mc=T(uc,[[`render`,pc]]),hc={name:`PlatformLinks`,props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},computed:{catName(){return this.categoryName?this.categoryName:`forza`}},mounted(){this.$updatePage()}},gc={key:0,class:`absolute z-0 top-0 left-0 w-full h-full pointer-events-none`},_c={class:`relative z-10 container text-center`},vc={key:0,class:`heading relative inline-block mb-60 text-xl mx-auto fadeIn delay-100 lg:text-5xl`},yc={key:0,class:`absolute -bottom-20 left-0 w-full h-5 bg-horizon6Pink round`},bc={key:1,class:`flex flex-wrap items-center justify-center gap-20 lg:gap-40`},xc={key:0,src:Le,class:`absolute z-0 top-0 left-0 w-full h-full object-cover object-top`},Sc={class:`relative rounded-2xl border-2 border-transparent group-hover:border-white duration-300`},Cc={class:`relative flex items-center justify-center w-full py-8 px-30 rounded-2xl border-[3px] border-transparent group-hover:border-dark duration-300 lg:py-[13px] lg:px-50`};function wc(n,r,i,a,s,d){let f=R,m=H;return u(),e(`section`,{class:p([`linkpills relative padsection`,{"bg-white text-dark":i.categoryName===`horizon6`}])},[i.categoryName===`horizon6`?(u(),e(`div`,gc,[...r[0]||=[t(`img`,{src:xt,alt:`Paper background`,role:`presentation`,class:`absolute z-0 top-0 left-0 w-full h-full object-cover`},null,-1)]])):v(``,!0),t(`div`,_c,[i.section.heading?(u(),e(`h2`,vc,[l(o(i.section.heading)+` `,1),i.categoryName===`horizon6`?(u(),e(`div`,yc)):v(``,!0)])):v(``,!0),i.section.icons?(u(),e(`div`,bc,[(u(!0),e(O,null,E(i.section.icons,(n,r)=>(u(),c(m,{key:`icon-${r}`,class:p([`relative overflow-hidden w-full rounded-2xl shadow-[0_0_15px_0_rgba(0,0,0,0.7)] fadeIn group lg:w-auto`,[{"bg-horizon":i.categoryName===`horizon`,"bg-motorsport":i.categoryName===`motorsport`,"bg-forza":!i.categoryName},`delay-${r*200}`]]),"aria-label":n.label,link:{url:n.url}},{default:g(()=>[i.categoryName===`horizon6`?(u(),e(`img`,xc)):v(``,!0),t(`div`,Sc,[t(`div`,Cc,[n.image?(u(),c(f,{key:0,image:n.image,max:`small`,classname:`relative z-10 h-25 w-auto group-hover:scale-[1.03] duration-500 lg:h-30`},null,8,[`image`])):v(``,!0)])])]),_:2},1032,[`class`,`aria-label`,`link`]))),128))])):v(``,!0)])],2)}var Tc=T(hc,[[`render`,wc]]),Ec={name:`PopupBrief`,props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},mounted(){this.$updatePage()}},Dc={class:`relative popupbrief`},Oc={key:0,src:Yr,alt:`Brush bottom white`,class:`absolute bottom-0 left-0 z-20 w-full h-auto pointer-events-none translate-y-7/10`},kc={key:1,class:`absolute left-0 z-20 w-full h-10 pointer-events-none bottom-10 bg-dark`},Ac={key:2,class:`absolute left-0 z-20 w-full h-5 pointer-events-none bottom-30 bg-dark`},jc={class:`container relative z-10`},Mc={class:`swipeFromLeft delay-200 max-w-640 p-30 sm:p-50 lg:p-60 bg-white text-dark rounded rounded-br-[30px] lg:ml-50`},Nc=[`textContent`],Pc=[`textContent`],Fc={class:`relative z-0 overflow-hidden -mt-200 fadeIn delay-1300`};function Ic(n,r,i,a,s,l){let d=K,f=R;return u(),e(`section`,Dc,[i.categoryName===`horizon`?(u(),e(`img`,Oc)):v(``,!0),i.categoryName!==`horizon`&&i.section.divider?(u(),e(`div`,kc)):v(``,!0),i.categoryName!==`horizon`&&i.section.divider?(u(),e(`div`,Ac)):v(``,!0),t(`div`,jc,[t(`div`,Mc,[i.section.heading?(u(),e(`h2`,{key:0,class:`mb-20 text-4xl uppercase sm:text-6xl lg:text-7xl heading tiltIn delay-450`,textContent:o(i.section.heading)},null,8,Nc)):v(``,!0),i.section.text?(u(),e(`p`,{key:1,class:`mb-40 delay-1000 fadeIn`,textContent:o(i.section.text)},null,8,Pc)):v(``,!0),i.section.button?(u(),c(d,{key:2,class:`focusbutton fadeIn delay-1200`,button:i.section.button},null,8,[`button`])):v(``,!0)])]),t(`div`,Fc,[i.section.image?(u(),c(f,{key:0,image:i.section.image,min:`small`,max:`xlarge`,classname:`scaleout w-full h-auto min-h-440 max-h-700 object-cover`},null,8,[`image`])):v(``,!0)])])}var Lc=T(Ec,[[`render`,Ic]]),Rc={name:`PosterSection`,props:{section:{type:Object,default:()=>({})},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},mounted(){this.$updatePage()}},zc={class:`relative poster`},Bc={class:`lg:container lg:pb-80 xl:pb-120`};function Vc(n,r,i,a,o,s){let l=R,d=Y;return u(),e(`section`,zc,[t(`div`,Bc,[i.section.image?(u(),c(l,{key:0,image:i.section.image,max:`massive`,classname:`relative z-0 w-full h-auto`},null,8,[`image`])):v(``,!0)]),i.categoryName===`motorsport`?(u(),c(d,{key:0})):v(``,!0)])}var Hc=T(Rc,[[`render`,Vc]]),Uc={name:`TickIcon`},Wc={viewBox:`0 0 29 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Gc(n,r,i,a,o,s){return u(),e(`svg`,Wc,[...r[0]||=[t(`path`,{d:`M9.56225 13.058L13.5273 16.8037L19 8`,stroke:`currentColor`,"stroke-width":`2`},null,-1)]])}var Kc=T(Uc,[[`render`,Gc]]),qc={name:`XIcon`},Jc={viewBox:`0 0 1300 1300`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Yc(n,r,i,a,o,s){return u(),e(`svg`,Jc,[...r[0]||=[t(`path`,{d:`M22.1,55.1L504,699.4L19.1,1223.3h109.1l424.6-458.7l343,458.7h371.4l-509-680.6l451.4-487.6h-109.1l-391,422.4L393.5,55.1H22.1z M182.6,135.5h170.6l753.5,1007.4H936.1L182.6,135.5z`,fill:`currentColor`},null,-1)]])}var Xc=T(qc,[[`render`,Yc]]),Zc={name:`Facebook`},Qc={version:`1.1`,viewBox:`0 0 480 480`,"xml:space":`preserve`};function $c(n,r,i,a,o,s){return u(),e(`svg`,Qc,[...r[0]||=[t(`path`,{d:`M288,192v-38.1c0-17.2,3.8-25.9,30.5-25.9H352V64h-55.9c-68.5,0-91.1,31.4-91.1,85.3V192h-45v64h45v192h83V256h56.4l7.6-64 H288z`,fill:`currentColor`},null,-1)]])}var el={name:`QuizSocial`,components:{ChevronSingle:B,Close:Me,Tick:Kc,XIcon:Xc,Facebook:T(Zc,[[`render`,$c]])},props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},data(){return{activeResult:null,activeQuestionIndex:0,activeQuestion:null,quizCompleted:!1,userAnswers:[],userScore:0,nextQuestionTimeout:null}},computed:{shareResultTwitter(){let e=`https://twitter.com/intent/tweet?text=I%20just%20completed%20the%2020th%20Anniversary%20quiz%20on%20Forza%20Motorsport!%20My%20score%2
10is`;return e+=`%20${this.userScore}%20out%20of%20${this.section.questions.length}`,e+=`&url=${window.location.href}`,e},shareFacebook(){let e=`https://www.facebook.com/sharer/sharer.php?u=`;return e+=`${e}${window.location.href}`,e}},mounted(){this.section?.questions?.length>0&&(this.activeQuestion=this.section.questions[0]),this.$updatePage()},methods:{completeQuiz(){if(this.section.results.length>0){let e=this.section.results;e.sort((e,t)=>e.score-t.score);for(let t=0;t<e.length;t++)this.userScore>=e[t].score&&(this.activeResult=e[t])}this.quizCompleted=!0},prevQuestion(){this.nextQuestionTimeout&&clearTimeout(this.nextQuestionTimeout),this.activeQuestionIndex>0&&(this.activeQuestionIndex--,this.activeQuestion=this.section.questions[this.activeQuestionIndex])},nextQuestion(){this.nextQuestionTimeout&&clearTimeout(this.nextQuestionTimeout),this.activeQuestionIndex<this.section.questions.length-1&&(this.activeQuestionIndex++,this.activeQuestion=this.section.questions[this.activeQuestionIndex])},convertNumberToLetter(e){return`ABCDEFGHIJKLMNOPQRSTUVWXYZ`.split(``)[e]||e},selectAnswer(e){this.userAnswers.push({questionId:this.activeQuestion.id,answerId:e.id,correct:e.correct}),this.userScore+=+!!e.correct,this.setNextQuestionTimeout()},setNextQuestionTimeout(){this.nextQuestionTimeout&&clearTimeout(this.nextQuestionTimeout),this.nextQuestionTimeout=setTimeout(()=>{this.userAnswers.length===this.section.questions.length?this.completeQuiz():this.nextQuestion()},1500)},questionCorrect(e,t){let n=this.userAnswers.find(n=>n.questionId===e&&n.answerId===t);return n&&n.correct},questionFailed(e,t){let n=this.userAnswers.find(n=>n.questionId===e&&n.answerId===t);return n&&!n.correct},questionAnswered(e){return this.userAnswers.find(t=>t.questionId===e)},questionUnanswered(e){return!this.questionAnswered(e)}}},tl={ref:`section`,class:`quizsocial`},nl={class:`relative bg-black`},rl={class:`z-20 relative container !max-w-1790 pt-100 pb-150`},il={class:`grid grid-cols-12`},al={class:`col-span-full lg:col-span-3 mb-50`},ol=[`innerHTML`],sl=[`textContent`],cl={class:`col-span-full lg:col-span-8 lg:col-start-5`},ll={key:`quiz-completed`,class:`flex flex-col gap-10`},ul={class:`grid grid-cols-2 bg-shade rounded overflow-hidden`},dl={class:`col-span-full lg:col-span-1`},fl={class:`col-span-full lg:col-span-1 px-20 py-30 lg:px-50 lg:py-40`},pl={class:`text-motorsportDark mb-10`},ml={class:`ml-10`},hl={key:1},gl=[`textContent`],_l={class:`flex gap-30 items-center`},vl={class:`flex gap-8`},yl=[`href`],bl=[`href`],xl={class:`grid grid-cols-2 bg-shade rounded overflow-hidden`},Sl={class:`col-span-full lg:col-span-1`},Cl={class:`col-span-full lg:col-span-1 px-30 py-30 lg:px-50 lg:py-40`},wl={class:`flex justify-end gap-5`},Tl={class:`text-motorsportDark mb-5`},El=[`textContent`],Dl=[`textContent`],Ol=[`textContent`],kl={key:0,class:`bg-xbox rounded-full w-30 min-w-30 h-30 flex items-center justify-center`},Al={key:1,class:`bg-forza rounded-full w-30 min-w-30 h-30 flex items-center justify-center`},jl=[`onClick`],Ml={class:`flex items-center text-left whitespace-normal lg:hidden gap-x-30`},Nl=[`textContent`],Pl=[`textContent`],Fl=[`textContent`];function Il(n,r,a,s,d,f){let m=R,h=G,_=C(`XIcon`),y=C(`Facebook`),b=C(`ChevronSingle`),x=C(`Tick`),S=C(`Close`);return u(),e(`section`,tl,[t(`div`,nl,[a.section.background?(u(),c(m,{key:0,classname:`absolute z-0 top-0 left-0 w-full h-full object-cover object-center opacity-20`,max:`massive`,image:a.section.background},null,8,[`image`])):v(``,!0),t(`div`,rl,[t(`div`,il,[t(`div`,al,[a.section.subheading?(u(),e(`p`,{key:0,class:`text-motorsport leading-6 mb-5 delay-300 fadeInLeft`,innerHTML:a.section.subheading},null,8,ol)):v(``,!0),a.section.heading?(u(),e(`h2`,{key:1,class:`text-white text-6xl delay-100 lg:text-7xl heading mb-40 tiltIn`,textContent:o(a.section.heading)},null,8,sl)):v(``,!0),a.section.body?(u(),c(h,{key:2,class:`prose text-white leading-6 delay-300 fadeInLeft`,body:a.section.body},null,8,[`body`])):v(``,!0)]),t(`div`,cl,[i(N,{name:`fade`,mode:`out-in`},{default:g(()=>[d.quizCompleted?(u(),e(`div`,ll,[t(`div`,ul,[t(`div`,dl,[d.activeQuestion.image?(u(),c(m,{key:0,classname:`w-full h-full object-cover object-center aspect-video`,max:`medium`,image:d.activeQuestion.image},null,8,[`image`])):v(``,!0)]),t(`div`,fl,[a.section.logo?(u(),c(m,{key:0,classname:`w-180 h-auto mb-30`,max:`small`,image:a.section.logo},null,8,[`image`])):v(``,!0),t(`p`,pl,[r[2]||=l(` YOUR SCORE: `,-1),t(`span`,ml,o(d.userScore)+` / `+o(a.section.questions.length),1)]),d.activeResult?(u(),e(`div`,hl,[d.activeResult.heading?(u(),e(`h3`,{
1key:0,class:`heading text-white text-3xl mb-20`,textContent:o(d.activeResult.heading)},null,8,gl)):v(``,!0),d.activeResult.body?(u(),c(h,{key:1,class:`prose text-white leading-6 delay-300 fadeInLeft mb-30`,body:d.activeResult.body},null,8,[`body`])):v(``,!0)])):v(``,!0),t(`div`,_l,[r[3]||=t(`p`,{class:`heading text-white text-3xl`},` Share your result `,-1),t(`div`,vl,[t(`a`,{href:f.shareResultTwitter,target:`_blank`,rel:`noopener noreferrer`,class:`flex items-center justify-center`},[i(_,{class:`w-30 h-30 text-motorsport`})],8,yl),t(`a`,{href:f.shareFacebook,target:`_blank`,rel:`noopener noreferrer`,class:`flex items-center justify-center`},[i(y,{class:`w-35 h-35 -mt-1 text-motorsport`})],8,bl)])])])])])):d.activeQuestion?(u(),e(`div`,{key:d.activeQuestion.id,class:`flex flex-col gap-10`},[t(`div`,xl,[t(`div`,Sl,[d.activeQuestion.image?(u(),c(m,{key:0,classname:`w-full h-full object-cover object-center aspect-video`,max:`medium`,image:d.activeQuestion.image},null,8,[`image`])):v(``,!0)]),t(`div`,Cl,[t(`div`,wl,[t(`button`,{class:p([`bg-motorsportDark rounded-full w-30 h-30 flex items-center justify-center`,d.activeQuestionIndex>0?`opacity-100 fadelink`:`opacity-20`]),onClick:r[0]||=(...e)=>f.prevQuestion&&f.prevQuestion(...e)},[i(b,{"chevron-color":`black`,class:`w-10 h-10 mr-2 rotate-180`})],2),t(`button`,{class:p([`bg-motorsportDark rounded-full w-30 h-30 flex items-center justify-center`,d.activeQuestionIndex<a.section.questions.length-1?`opacity-100 fadelink`:`opacity-20`]),onClick:r[1]||=(...e)=>f.nextQuestion&&f.nextQuestion(...e)},[i(b,{"chevron-color":`black`,class:`w-10 h-10 ml-2`})],2)]),t(`p`,Tl,` Question `+o(d.activeQuestionIndex+1)+` of `+o(a.section.questions.length),1),d.activeQuestion.question?(u(),e(`h3`,{key:0,class:`heading text-white text-3xl`,textContent:o(d.activeQuestion.question)},null,8,El)):v(``,!0)])]),(u(!0),e(O,null,E(d.activeQuestion.answers,(n,r)=>(u(),e(`div`,{key:`answer-${n.id}`,class:`bg-shade rounded px-20 py-10 flex flex-row gap-20 items-center justify-between`},[t(`div`,{class:p([`flex lg:flex gap-30 min-h-30 leading-7`,{hidden:f.questionUnanswered(d.activeQuestion.id)}])},[t(`span`,{class:`text-motorsportDark uppercase`,textContent:o(f.convertNumberToLetter(r))},null,8,Dl),t(`span`,{textContent:o(n.answer)},null,8,Ol)],2),f.questionAnswered(d.activeQuestion.id)&&n.correct?(u(),e(`div`,kl,[i(x,{class:`w-30 min-w-30 h-30`})])):f.questionFailed(d.activeQuestion.id,n.id)?(u(),e(`div`,Al,[i(S,{class:`w-10 min-w-10 h-10`})])):v(``,!0),f.questionUnanswered(d.activeQuestion.id)?(u(),e(`button`,{key:2,class:`pagelink bg-motorsportDark text-dark px-10 py-2 min-h-30 rounded-2xl flex items-center justify-between whitespace-nowrap w-full lg:w-auto`,onClick:e=>f.selectAnswer(n)},[t(`div`,Ml,[t(`span`,{class:`text-dark uppercase`,textContent:o(f.convertNumberToLetter(r))},null,8,Nl),t(`span`,{textContent:o(n.answer)},null,8,Pl)]),t(`span`,{class:`hidden lg:block`,textContent:o(`Answer ${f.convertNumberToLetter(r)}`)},null,8,Fl),i(b,{"chevron-color":`black`,class:`w-10 h-10 ml-20 mr-5`})],8,jl)):v(``,!0)]))),128))])):v(``,!0)]),_:1})])])])])],512)}var Ll=T(el,[[`render`,Il]]),Rl={components:{Swiper:J,ChevronSingle:B,ChevronSingleBack:he,ScrollBar:za},props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},data(){return{isMounted:!1,swiperOptions:{modules:[],slidesPerView:1,speed:500,loop:!0,navigation:{nextEl:`.slider_quote.slider_nav .next`,prevEl:`.slider_quote.slider_nav .prev`},pagination:{el:`.slider_quote .slider_pagination`,type:`fraction`}},scrollOptions:{hideBars:{x:!0}}}},computed:{swiper(){return this.isMounted?null:this.$refs.swiperRef}},mounted(){this.isMounted=!0,this.$updatePage()}},zl={class:`quote-slider container mt-65`},Bl={class:`container--grid overflow-hidden rounded rounded-br-[30px] rounded-tr-none bg-shade text-white`},Vl={class:`order-2 col-span-full divide-bodyDark p-25 sm:p-30 lg:order-1 lg:col-span-6 xl:px-100 xl:py-80 xl:pr-30`},Hl={class:`pb-20 pl-10 xl:pr-50`},Ul=[`textContent`],Wl={class:`quote__links fadeInLeft mb-25 flex flex-wrap items-center gap-10 divide-x-2 divide-bodyDark font-bold text-white delay-100`},Gl=[`href`],Kl={class:`fadeInLeft pt-25 italic delay-300 xl:pr-50`},ql=[`textContent`],Jl=[`textContent`],Yl=[`textContent`],Xl={class:`swipeFromLeft relative order-1 col-span-full delay-200 lg:order-2 lg:col-span-6`},Zl={class:`fadeIn flex items-center gap-30`},Ql={class:`controls__button prev transition-opacity duration-300 hover:opacity-80`},$l={class:`controls__button next transition-opacity duration-300 hover:opacity-80`};function eu(n,r,a,s,d,f){let m=R,h=H,_=G,y=C(`ScrollBar`),b=C(`ChevronSingleBack`),x=C(`ChevronSingle`),S=C(`Swiper`);return u(),e(`section`,zl,[t(`div`,Bl,[t(`div`,Vl,[i(y,{"scroller-options":d.scrollOptions,class:`grid grid-cols-1 divide-y-2 lg:max-h-440`},{default:g(()=>[t(`div`,Hl,[a.section.heading?(u(),e(`h2`,{key:0,class:`heading tiltIn col-span-4 mb-50 text-6xl lg:text-7xl`,textContent:o(a.section.heading)},null,8,Ul)):v(``,!0),t(`div`,Wl,[a.section.author?(u(),e(`a`,{key:0,class:`link fadelink flex items-center gap-5`,href:a.section.author.url,target:`_blank`},[i(m,{image:a.section.avatar,classname:`svg-icon w-30 h-30 rounded-full overflow-hidden`},null,8,[`image`]),l(` `+o(a.section.author.label),1)],8,Gl)):v(``,!0),(u(!0),e(O,
1null,E(a.section.link,(e,t)=>(u(),c(h,{key:t,class:`link fadelink`,link:e},null,8,[`link`]))),128))]),a.section.body?(u(),c(_,{key:1,class:`quote__body fadeInLeft prose text-body delay-200 prose-a:text-forza prose-a:no-underline`,body:a.section.body},null,8,[`body`])):v(``,!0)]),t(`div`,Kl,[a.section.subheading?(u(),e(`h3`,{key:0,class:`mb-20 font-bold text-white`,textContent:o(a.section.subheading)},null,8,ql)):v(``,!0),a.section.text?(u(),e(`p`,{key:1,class:`mb-20 text-body`,textContent:o(a.section.text)},null,8,Jl)):v(``,!0),a.section.attribution?(u(),e(`span`,{key:2,class:`text-white`,textContent:o(`- `+a.section.attribution)},null,8,Yl)):v(``,!0)])]),_:1},8,[`scroller-options`])]),t(`div`,Xl,[i(S,{ref:`swiperRef`,options:d.swiperOptions,"container-class":`h-full`,class:`h-full overflow-hidden`,init:d.isMounted},{navigation:g(()=>[t(`div`,{class:p([`slider_nav slider_quote`,`absolute bottom-30 left-30 z-10`])},[t(`div`,Zl,[t(`button`,Ql,[r[0]||=t(`span`,{class:`sr-only`},`Prev`,-1),i(b,{"chevron-color":`white`,class:`h-30 w-20`})]),t(`button`,$l,[r[1]||=t(`span`,{class:`sr-only`},`Next`,-1),i(x,{"chevron-color":`white`,class:`h-30 w-20`})]),r[2]||=t(`div`,{class:`slider_pagination`},null,-1)])])]),default:g(()=>[(u(!0),e(O,null,E(a.section.images,(t,n)=>(u(),e(`div`,{key:n,class:`swiper-slide h-full`},[i(m,{image:t,min:`medium`,max:`xlarge`,classname:`w-full object-cover h-full`},null,8,[`image`])]))),128))]),_:1},8,[`options`,`init`])])])])}var tu=T(Rl,[[`render`,eu]]),nu={name:`SampleSection`,props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},mounted(){this.$updatePage()}},ru={class:`sample`},iu={class:`lg:pt-60`},au={class:`bg-white text-dark`},ou={class:`lg:container`},su={class:`grid grid-cols-12 lg:gap-30 xl:gap-20 2xl:pb-80`},cu={class:`relative order-3 sample__col--image lg:order-1 col-span-full lg:col-span-7 xl:pr-30 lg:py-60 xl:py-0`},lu={class:`sample__col--text py-60 px-50 lg:px-0 col-span-full lg:col-span-4`},uu=[`textContent`];function du(n,r,i,a,s,l){let d=R,f=G;return u(),e(`section`,ru,[t(`div`,iu,[t(`div`,au,[t(`div`,ou,[t(`div`,su,[t(`div`,cu,[i.section.image?(u(),c(d,{key:0,image:i.section.image,classname:`xl:-mt-60 w-full aspect-video lg:rounded rounded-tr-none lg:rounded-br-[30px] swipeFromLeft`,max:`large`},null,8,[`image`])):v(``,!0)]),t(`div`,lu,[i.section.heading?(u(),e(`h2`,{key:0,class:`text-6xl delay-100 lg:text-7xl heading mb-30 tiltIn`,textContent:o(i.section.heading)},null,8,uu)):v(``,!0),i.section.text?(u(),c(f,{key:1,class:`prose delay-300 fadeInLeft`,body:i.section.text},null,8,[`body`])):v(``,!0)])])])]),r[0]||=t(`img`,{src:sr,alt:`Brush white`,class:`hidden w-full h-auto -mt-1 lg:block`},null,-1)])])}var fu=T(nu,[[`render`,du]]),pu={name:`SampleSlider`,components:{Swiper:J,ChevronSingle:B,ChevronSingleBack:he},props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},data(){return{isMounted:!1,swiperOptions:{modules:[],slidesPerView:1,speed:500,loop:!0,parallax:!0,navigation:{nextEl:`.sampleslider .next`,prevEl:`.sampleslider .prev`},pagination:{el:`.sampleslider .slider_pagination`,type:`fraction`}}}},computed:{swiper(){return this.isMounted?null:this.$refs.swiperRef}},mounted(){this.isMounted=!0,this.$updatePage()}},mu={class:`sampleslider`},hu={class:`lg:pt-60`},gu={class:`bg-white text-dark pb-30`},_u={class:`lg:container`},vu={class:`grid grid-cols-12 lg:gap-30 xl:gap-20 2xl:pb-80`},yu={class:`relative col-span-full lg:col-span-7 xl:pr-30 lg:py-60 xl:py-0`},bu={class:`py-60 px-50 lg:px-0 col-span-full lg:col-span-4`},xu=[`textContent`],Su={class:`fadeIn flex items-center gap-30`},Cu={class:`controls__button prev transition-opacity duration-300 hover:opacity-80`},wu={class:`controls__button next transition-opacity duration-300 hover:opacity-80`};function Tu(n,r,a,s,l,d){let f=R,m=G,h=C(`ChevronSingleBack`),_=C(`ChevronSingle`),y=C(`Swiper`);return u(),e(`section`,mu,[t(`div`,hu,[t(`div`,gu,[i(y,{ref:`swiperRef`,options:l.swiperOptions,"container-class":`h-full`,class:`h-full`,init:l.isMounted},{navigation:g(()=>[t(`div`,{class:p([`slider_nav slider_sample`,`absolute bottom-0 right-30 z-10`])},[t(`div`,Su,[t(`button`,Cu,[r[0]||=t(`span`,{class:`sr-only`},`Prev`,-1),i(h,{"chevron-color":`dark`,class:`h-30 w-20`})]),t(`button`,wu,[r[1]||=t(`span`,{class:`sr-only`},`Next`,-1),i(_,{"chevron-color":`dark`,class:`h-30 w-20`})]),r[2]||=t(`div`,{class:`slider_pagination`},null,-1)])])]),default:g(()=>
1[(u(!0),e(O,null,E(a.section.samples,(n,r)=>(u(),e(`div`,{key:`sample-${r}`,class:`swiper-slide h-full`},[t(`div`,_u,[t(`div`,vu,[t(`div`,yu,[n.image?(u(),c(f,{key:0,image:n.image,classname:`w-full aspect-video lg:rounded rounded-tr-none lg:rounded-br-[30px] xl:-mt-60`,max:`medium`},null,8,[`image`])):v(``,!0)]),t(`div`,bu,[n.heading?(u(),e(`h2`,{key:0,class:`text-6xl lg:text-7xl heading mb-30`,"data-swiper-parallax":`-100`,textContent:o(n.heading)},null,8,xu)):v(``,!0),n.text?(u(),c(m,{key:1,body:n.text,class:`prose`,"data-swiper-parallax":`-200`},null,8,[`body`])):v(``,!0)])])])]))),128))]),_:1},8,[`options`,`init`])]),r[3]||=t(`img`,{src:sr,alt:`Brush white`,class:`w-full h-auto -mt-1`},null,-1)])])}var Eu=T(pu,[[`render`,Tu]]),Du={name:`SnippetsSection`,props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},computed:{theme(){let e=`text-white`;return this.categoryName===`horizon`&&(e=`text-dark`),e}},mounted(){this.$updatePage()}},Ou={class:`snippets padsection`},ku={class:`container--grid container gap-20 lg:gap-50`},Au=[`textContent`],ju=[`textContent`],Mu={key:3,class:`h-30`};function Nu(n,r,i,s,l,d){let f=R,m=K;return u(),e(`section`,Ou,[t(`div`,{class:p(d.theme)},[t(`div`,ku,[(u(!0),e(O,null,E(i.section.snippets,(n,s)=>(u(),e(`div`,{key:s,class:p([`snippet__item relative col-span-full mb-50 text-center before:border before:border-body after:border after:border-body`,[i.section.snippets.length===1?`xl:col-span-8 xl:col-start-3`:`xl:col-span-6`]]),style:a({"--delay":`${s*400}ms`})},[t(`div`,{class:p([`perspective flex h-full flex-col justify-between px-20 md:px-100`,[i.section.snippets.length===1?`xl:px-150`:``]])},[t(`div`,{class:`fadeIn relative mx-auto w-90 xl:w-120`,style:a(`transition-delay: ${s*400}ms`)},[n.image?(u(),c(f,{key:0,image:n.image,classname:`svglogo w-full mb-20 xl:mb-40`},null,8,[`image`])):v(``,!0)],4),n.heading?(u(),e(`h2`,{key:0,class:`heading swipeFromLeft mb-20 text-6xl lg:mb-30 lg:text-7xl`,style:a(`transition-delay: ${s*400+150}ms`),textContent:o(n.heading)},null,12,Au)):v(``,!0),n.text?(u(),e(`p`,{key:1,class:`fadeIn mb-40`,style:a(`transition-delay: ${s*400+300}ms`),textContent:o(n.text)},null,12,ju)):v(``,!0),n.button?(u(),c(m,{key:2,button:n.button,style:a(`transition-delay: ${s*400+500}ms`),class:`fadeIn mx-auto w-max`},null,8,[`button`,`style`])):v(``,!0),n.button?v(``,!0):(u(),e(`div`,Mu,[...r[0]||=[t(`div`,{class:`absolute bottom-[22px] left-5 right-5 h-1 bg-body`},null,-1)]]))],2)],6))),128))])],2)])}var Pu=T(Du,[[`render`,Nu]]),Fu={name:`FeedSnap`,props:{snap:{type:Object,default:()=>{}},tall:{type:Boolean,default:()=>!1},platform:{type:String,default:()=>``},index:{type:Number,default:()=>0},total:{type:Number,default:()=>0}},setup(){let{localePath:e}=L();return{localePath:e}},computed:{ariaLabel(){let e=`View post ${this.index+1}`;return this.platform&&(e+=` on ${this.platform}`),e},linkProps(){return this.snap.url?this.snap.url.match(/^(http(s)?|ftp):/)||this.snap.url.match(/mailto:/gm)?{tag:`a`,link:this.snap.url,target:`_blank`,rel:`noopener`}:{tag:`nuxt-link`,to:this.localePath(this.snap.url)}:{tag:`div`}}}};function Iu(e,n,r,i,a,o){let s=R;return u(),c(_(o.linkProps.tag),{href:o.linkProps.link,to:o.linkProps.to,target:o.linkProps.target,tabindex:`0`,"aria-label":o.ariaLabel,class:p([`relative block w-full h-0 overflow-hidden imagewrapper pb-full focus:z-10`,{"pb-18/10":r.tall,"sm:rounded-l":r.index===0,"sm:rounded-br-[30px]":r.index===r.total-1}])},{default:g(()=>[t(`div`,{class:p([`absolute inset-0 w-full h-full slideInLeft`,`delay-${r.index*100+200}`])},[r.snap.image?(u(),c(s,{key:0,image:r.snap.image,max:`tiny`,classname:`imagescale absolute top-0 left-0 w-full h-full object-cover`,tabindex:`-1`},null,8,[`image`])):v(``,!0)],2)]),_:1},8,[`href`,`to`,`target`,`aria-label`,`class`])}var Lu={name:`SocialRow`,components:{Swiper:J,FeedSnap:T(Fu,[[`render`,Iu]])},props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},data(){return{swiperInit:!1,swiperOptions:{modules:[Ht],slidesPerView:3,spaceBetween:0,grabCursor:!0,scrollbar:{el:null,draggable:!0},breakpoints:{640:{slidesPerView:6,grabCursor:!1,allowTouchMove:!1}}}}},computed:{ariaLabel(){return this.section&&this.section.link&&this.section.platform&&this.section.link.label?`${this.section.link.label} on ${this.section.platform}`:``}}
1,mounted(){this.swiperOptions.scrollbar.el=this.$refs.scrollbarRef,this.swiperInit=!0,this.$updatePage()}},Ru={class:`socialrow`},zu={class:`feedrow container my-80`},Bu={class:`heading mb-30 flex items-center gap-10 text-6xl lg:text-7xl`},Vu=[`textContent`],Hu={key:0,class:`mb-30 sm:rounded sm:rounded-br-[30px]`},Uu={ref:`scrollbarRef`,class:`swiper-scrollbar`};function Wu(n,r,s,l,d,f){let p=R,m=C(`FeedSnap`),h=C(`Swiper`),_=H;return u(),e(`section`,Ru,[t(`div`,zu,[t(`h2`,Bu,[s.section.icon?(u(),c(p,{key:0,image:s.section.icon,classname:`inline-block w-40 h-40 object-contain fadeInLeft`},null,8,[`image`])):v(``,!0),t(`span`,{class:`tiltIn delay-100`,textContent:o(s.section.heading)},null,8,Vu)]),s.section.snaps?(u(),e(`div`,Hu,[i(h,{ref:`swiper`,init:d.swiperInit,options:d.swiperOptions},{scrollbar:g(()=>[t(`div`,Uu,null,512)]),default:g(()=>[(u(!0),e(O,null,E(s.section.snaps,(t,n)=>(u(),e(`div`,{key:`media-${n}`,class:`swiper-slide relative w-full`},[i(m,{snap:t,tall:s.section.tall,platform:s.section.platform,index:n,total:s.section.snaps.length},null,8,[`snap`,`tall`,`platform`,`index`,`total`])]))),128))]),_:1},8,[`init`,`options`])])):v(``,!0),t(`div`,{class:`fadeIn flex justify-center sm:justify-end`,style:a(`transition-delay: ${s.section.snaps.length*.1+.3}s`)},[s.section.link?(u(),c(_,{key:0,class:`flex items-center font-acuminPro font-bold text-white`,link:{image:s.section.icon,label:s.section.link.label,url:s.section.link.url},"aria-label":f.ariaLabel,"icon-class":`w-auto h-20 mr-15`,chevron:`ChevronTriple`},null,8,[`link`,`aria-label`])):v(``,!0)],4)])])}var Gu=T(Lu,[[`render`,Wu]]),Ku={name:`StorePoster`,props:{section:{type:Object,default:()=>({})},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},mounted(){this.$updatePage()}},qu={class:`relative storeposter`},Ju={class:`absolute inset-0 z-0`},Yu={class:`relative z-20 flex items-baseline py-80 lg:pb-100 lg:pt-440 2xl:pt-540`},Xu={class:`container`},Zu={class:`flex flex-col lg:flex-row h-full items-center lg:items-baseline justify-between`},Qu={class:`flex gap-30 items-center`},$u={class:`flex flex-col items-center justify-center`},ed=[`textContent`],td={key:1,class:`flex gap-15 flex-wrap mb-30`},nd=[`textContent`],rd=[`textContent`];function id(n,r,i,a,s,l){let d=R,f=K,p=Y;return u(),e(`section`,qu,[t(`div`,Ju,[i.section.background?(u(),c(d,{key:0,image:i.section.background,classname:`relative z-0 top-0 left-0 w-full h-full object-cover object-center`},null,8,[`image`])):v(``,!0),r[0]||=t(`div`,{class:`absolute inset-0 z-10 bg-gradient-to-b from-black to-transparent pointer-events-none opacity-70 lg:hidden`},null,-1),r[1]||=t(`div`,{class:`absolute inset-0 z-10 bg-gradient-to-t from-black to-transparent pointer-events-none opacity-80`},null,-1)]),t(`div`,Yu,[t(`div`,Xu,[t(`div`,Zu,[i.section.logo?(u(),c(d,{key:0,image:i.section.logo,classname:`w-220 h-auto mb-200 lg:mb-0 lg:max-w-200`},null,8,[`image`])):v(``,!0),t(`div`,Qu,[t(`div`,null,[i.section.image?(u(),c(d,{key:0,image:i.section.image,max:`small`,classname:`h-auto w-175`},null,8,[`image`])):v(``,!0)]),t(`div`,$u,[i.section.subheading?(u(),e(`h2`,{key:0,class:`heading font-light swipeFromLeft text-lg lg:text-sm mb-20 lg:mb-30`,textContent:o(i.section.heading)},null,8,ed)):v(``,!0),i.section.logos?(u(),e(`div`,td,[(u(!0),e(O,null,E(i.section.logos,(e,t)=>(u(),c(f,{key:t,button:e,class:`delay-300 fadeInLeft text-center w-full lg:w-auto`},null,8,[`button`]))),128))])):v(``,!0),i.section.subheading?(u(),e(`span`,{key:2,class:`font-extralight text-5xl uppercase rounded-md border border-white pt-5 pb-8 px-15 swipeFromLeft hidden lg:inline`,textContent:o(i.section.subheading)},null,8,nd)):v(``,!0)])]),i.section.subheading?(u(),e(`span`,{key:1,class:`font-extralight text-5xl uppercase rounded-md border border-white pt-5 pb-8 px-15 swipeFromLeft lg:hidden`,textContent:o(i.section.subheading)},null,8,rd)):v(``,!0)])])]),i.categoryName===`motorsport`?(u(),c(p,{key:0})):v(``,!0)])}var ad=T(Ku,[[`render`,id]]),od={name:`ThumbGallery`,components:{Swiper:J},props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},data(){return{initThumbsSwiper:!1,initSwiper:!1,swiperThumbsOptions:{modules:[],slidesPerView:6,spaceBetween:10,watchSlidesProgress:!0},swiperOptions:{modules:[Se],slidesPerView:1,spaceBetween:20}}},mounted(){this.initThumbsSwiper=!0,this.$refs.swiperThumbsRef&&(this.swiperOptions.thumbs=this.$refs.swiperThumbsRef,this.swiperOptions.thumbs.slideThumbActiveClass=`swiper-slide-thumb-active`),this.swiperOptions.navigation={nextEl:this.$refs.galleryNext,prevEl:this.$refs.galleryPrev},this.initSwiper=!0,this.$updatePage()}},sd={ref:`section`,class:`thumbgallery`},cd={class:`relative`},ld={class:`z-20 relative container !max-w-1790 pt-80 pb-120`},ud={class:`grid grid-cols-12`},dd={class:`col-span-full lg:col-span-7 mb-30`},fd=[`innerHTML`],pd=[`textContent`],md={key:0,class:`relative block mb-8 w-full`},hd={class:`thumbs-swiper relative`},gd={class:`px-20`},_d={class:`thumbgallery-swiper relative`},vd={class:`relative z-20 mt-20 md:mt-0 md:absolute md:max-w-360 md:bottom-30 md:left-40 xl:bottom-50 xl:left-60`},yd=[`textContent`],bd={ref:`galleryNext`,class:`swiper-button-next`},xd={ref:`galleryPrev`,class:`swiper-button-prev`};function Sd(n,r,a,s,l,d){let f=R,p=G,m=C(`Swiper`),h=Y;return u(),e(`section`,sd,[t(`div`,cd,[a.section.background?(u(),c(f,{key:0,classname:`absolute z-0 top-0 left-0 w-full h-full object-cover object-center opacity-20`,image:a.section.background},null,8,[`image`])):v(``,!0),r[2]||=t(`div`,{class:`absolute z-10 top-0 left-0 w-full h-4/12 bg-gradient-to-b from-black to-transparent pointer-events-none`},null,-1),r[3]||=t(`div`,{class:`absolute z-10 bottom-0 left-0 w-full h-4/12 bg-gradient-to-t from-black to-transparent pointer-events-none`},null,-1),t(`div`,ld,[t(`div`,ud,[t(`div`,dd,[a.section.subheading?(u(),e(`p`,{key:0,class:`text-motorsport leading-6 mb
1-5 delay-300 fadeInLeft`,innerHTML:a.section.subheading},null,8,fd)):v(``,!0),a.section.heading?(u(),e(`h2`,{key:1,class:`text-white text-6xl delay-100 lg:text-7xl heading mb-15 tiltIn`,textContent:o(a.section.heading)},null,8,pd)):v(``,!0),a.section.body?(u(),c(p,{key:2,class:`prose text-white leading-6 delay-300 fadeInLeft`,body:a.section.body},null,8,[`body`])):v(``,!0)])]),a.section.gallery?(u(),e(`div`,md,[t(`div`,hd,[i(m,{ref:`swiperThumbsRef`,options:l.swiperThumbsOptions,init:l.initThumbsSwiper,class:`overflow-hidden mb-10`},{default:g(()=>[(u(!0),e(O,null,E(a.section.gallery,n=>(u(),e(`div`,{key:`thumb-${n.id}`,class:`swiper-slide relative`},[r[0]||=t(`div`,{class:`absolute z-0 inset-0 w-full h-full bg-dark`},null,-1),n.image?(u(),c(f,{key:0,image:n.image,max:`small`,classname:`thumb-swiper__image relative z-10 block cursor-pointer object-cover object-center aspect-video w-full overflow-hidden lg:rounded lg:rounded-tr-none lg:rounded-br-[15px]`},null,8,[`image`])):v(``,!0)]))),128))]),_:1},8,[`options`,`init`])]),t(`div`,gd,[t(`div`,_d,[i(m,{ref:`swiperRef`,options:l.swiperOptions,init:l.initSwiper,class:`overflow-hidden`},{default:g(()=>[(u(!0),e(O,null,E(a.section.gallery,n=>(u(),e(`div`,{key:`slide-${n.id}`,class:`swiper-slide relative`},[n.image?(u(),c(f,{key:0,image:n.image,max:`massive`,classname:`relative z-0 object-cover object-center aspect-video w-full`},null,8,[`image`])):v(``,!0),r[1]||=t(`div`,{class:`absolute z-10 -bottom-20 left-0 w-full h-6/12 bg-gradient-to-t from-black to-transparent pointer-events-none hidden md:block`},null,-1),t(`div`,vd,[n.heading?(u(),e(`h3`,{key:0,class:`heading text-white text-4xl mb-10`,textContent:o(n.heading)},null,8,yd)):v(``,!0),n.text?(u(),c(p,{key:1,class:`prose text-white leading-5 font-sm`,body:n.text},null,8,[`body`])):v(``,!0)])]))),128))]),_:1},8,[`options`,`init`]),t(`div`,bd,null,512),t(`div`,xd,null,512)])])])):v(``,!0)]),a.categoryName===`motorsport`?(u(),c(h,{key:1})):v(``,!0)])],512)}var Cd=T(od,[[`render`,Sd]]),wd={name:`ThumbnailsSection`,props:{section:{type:Object,default:()=>{}},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},mounted(){this.$updatePage()}},Td={class:`thumbnails`},Ed={class:`relative`},Dd={key:0,src:Xr,alt:`Brush top white`,class:`absolute z-10 top-0 left-0 w-full h-auto pointer-events-none -translate-y-7/10`},Od={key:1,class:`absolute left-0 z-10 w-full h-10 top-10 bg-dark`},kd={key:2,class:`absolute left-0 z-10 w-full h-5 top-30 bg-dark`},Ad={class:`relative z-0 overflow-hidden`},jd={class:`relative z-20 -mt-200 md:-mt-250 md:mb-120`},Md={class:`container gap-20 lg:grid lg:grid-cols-12`},Nd=[`textContent`],Pd={class:`sm:container`},Fd={key:0,class:`grid-cols-2 md:grid gap-25`},Id={class:`w-70 min-w-70 md:min-w-90 lg:min-w-120 lg:mr-40`},Ld=[`textContent`],Rd=[`textContent`];function zd(n,r,s,l,d,f){let m=R,h=H;return u(),e(`section`,Td,[t(`div`,Ed,[s.categoryName===`horizon`?(u(),e(`img`,Dd)):v(``,!0),[`horizon`,`horizon6`].includes(s.categoryName)?v(``,!0):(u(),e(`div`,Od)),[`horizon`,`horizon6`].includes(s.categoryName)?v(``,!0):(u(),e(`div`,kd)),t(`div`,Ad,[s.section.image?(u(),c(m,{key:0,image:s.section.image,max:`xlarge`,min:`small`,classname:`scaleout relative z-0 w-full h-360 md:h-640 object-cover`},null,8,[`image`])):v(``,!0)]),t(`div`,jd,[t(`div`,Md,[s.section.heading?(u(),e(`h2`,{key:0,class:`col-span-4 text-6xl text-white lg:text-7xl heading mb-50 tiltIn`,textContent:o(s.section.heading)},null,8,Nd)):v(``,!0)]),t(`div`,Pd,[s.section.thumbnails?(u(),e(`div`,Fd,[(u(!0),e(O,null,E(s.section.thumbnails,(n,r)=>
1(u(),e(`div`,{key:r,class:p([`bg-white text-dark p-40 sm:rounded sm:rounded-br-[30px] lg:flex mb-10 fadeInLeft`,`delay-${r*800+400}`])},[t(`div`,Id,[n.image?(u(),c(m,{key:0,max:`medium`,image:n.image,classname:`svg-icon w-full mb-20 lg:mb-0 fadeIndelay-${r*800+600}`},null,8,[`image`,`classname`])):v(``,!0)]),t(`div`,null,[n.heading?(u(),e(`h3`,{key:0,class:`mb-20 text-4xl heading swipeFromLeft`,style:a(`transition-delay: ${r*800+650}ms`),textContent:o(n.heading)},null,12,Ld)):v(``,!0),n.text?(u(),e(`p`,{key:1,class:`mb-20 fadeIn`,style:a(`transition-delay: ${r*800+750}ms`),textContent:o(n.text)},null,12,Rd)):v(``,!0),n.link?(u(),e(`div`,{key:2,class:`flex fadeInLeft`,style:a(`transition-delay: ${r*800+800}ms`)},[i(h,{class:`flex items-center font-bold font-acuminPro`,link:n.link,chevron:`ChevronSingle`,"chevron-color":`dark`},null,8,[`link`])],4)):v(``,!0)])],2))),128))])):v(``,!0)])])])])}var Bd=T(wd,[[`render`,zd]]),Vd={name:`PlayIcon`},Hd={width:`248`,height:`250`,viewBox:`0 0 248 250`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Ud(t,n,r,i,a,o){return u(),e(`svg`,Hd,[...n[0]||=[s(`<g filter="url(#filter0_d_748_321)"><path fill-rule="evenodd" clip-rule="evenodd" d="M207.423 104.583C207.423 151.297 169.943 189.167 123.711 189.167C77.4788 189.167 40 151.297 40 104.583C40 57.8692 77.4788 20 123.711 20C169.943 20 207.423 57.8692 207.423 104.583ZM112.774 137.112L152.288 113.541C158.831 109.636 158.831 99.5303 152.288 95.626L112.774 72.0542C106.414 68.26 98.5976 73.1984 98.5976 81.0113V128.155C98.5976 135.968 106.414 140.907 112.774 137.112Z" fill="white"></path></g><defs><filter id="filter0_d_748_321" x="0" y="0" width="247.423" height="249.167" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB"><feFlood flood-opacity="0" result="BackgroundImageFix"></feFlood><feColorMatrix in="SourceAlpha" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0" result="hardAlpha"></feColorMatrix><feOffset dy="20"></feOffset><feGaussianBlur stdDeviation="20"></feGaussianBlur><feComposite in2="hardAlpha" operator="out"></feComposite><feColorMatrix type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.15 0"></feColorMatrix><feBlend mode="normal" in2="BackgroundImageFix" result="effect1_dropShadow_748_321"></feBlend><feBlend mode="normal" in="SourceGraphic" in2="effect1_dropShadow_748_321" result="shape"></feBlend></filter></defs>`,2)]])}var Wd={name:`Trailer`,components:{VideoLocal:U,PlayIcon:T(Vd,[[`render`,Ud]])},props:{section:{type:Object,default:()=>({})},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},data(){return{videoClicked:!1}},mounted(){this.$updatePage()},methods:{startVideo(){this.videoClicked=!0}}},Gd={class:`trailer z-20`},Kd={class:`px-15 lg:container !max-w-1790`},qd={class:`relative z-10 grid grid-cols-12 pb-50 xl:pb-50`},Jd={class:`col-span-full px-15 xl:px-20 xl:col-span-8 xl:col-start-6 xl:order-2`},Yd={key:0,class:`relative -mt-40 aspect-video overflow-hidden rounded rounded-br-[30px]`},Xd={class:`absolute inset-0 flex items-center justify-center`},Zd={class:`col-span-full xl:col-span-3 xl:col-start-2 px-15 md:px-30 xl:px-0 pt-50 xl:pt-50`},Qd=[`textContent`],$d=[`textContent`],ef={key:3,class:`flex gap-30 mt-10`},tf=[`href`,`title`,`aria-label`],nf={key:4,class:`flex gap-15 xl:gap-y-20 xl:gap-x-30 flex-wrap mt-30`};function rf(n,r,a,s,l,d){let f=R,m=C(`VideoLocal`),h=C(`PlayIcon`),g=G,_=K;return u(),e(`section`,Gd,[t(`div`,{class:p({"pt-100":!a.section.overlap,"-mb-30":a.section.overlap,"bg-dark":a.section.theme===`dark`,"bg-black":a.section.theme===`black`})},[t(`div`,Kd,[t(`div`,{class:p([`relative`,a.section.background?`text-white`:`text-dark`])},[t(`div`,{class:p([`absolute z-0 -top-20 left-0 right-0 bottom-0 overflow-hidden rounded rounded-br-[30px]`,a.section.background?``:`bg-motorsportDark`]),style:{"clip-path":`polygon(100px 0%, 100% 0%, 100% 100%, 0% 100%, 0% 160px)`}},[a.section.background?(u(),c(f,{key:0,image:a.section.background,classname:`relative w-full h-full object-cover object-center`},null,8,[`image`])):v(``,!0)],2),t(`div`,qd,[t(`div`,Jd,[a.section.video?(u(),e(`div`,Yd,[l.videoClicked?(u(),c(m,{key:0,video:a.section.video,autoplay:!0,class:`w-full h-full object-contain object-center`},null,8,[`video`])):(u(),e(`div`,{key:1,class:`w-full h-full cursor-pointer`,onClick:r[0]||=(...e)=>d.startVideo&&d.startVideo(...e)}
1,[a.section.video.image?(u(),c(f,{key:0,image:a.section.video.image,classname:`relative w-full h-full object-cover object-center`},null,8,[`image`])):v(``,!0),t(`div`,Xd,[i(h,{class:`w-150 h-150`})])]))])):v(``,!0)]),t(`div`,Zd,[a.section.subheading?(u(),e(`p`,{key:0,class:`mb-5 swipeFromLeft`,textContent:o(a.section.subheading)},null,8,Qd)):v(``,!0),a.section.subheading?(u(),e(`h2`,{key:1,class:`heading mb-20 text-5xl md:text-6xl swipeFromLeft`,textContent:o(a.section.heading)},null,8,$d)):v(``,!0),a.section.body?(u(),c(g,{key:2,class:p([`prose relative leading-6 w-full`,a.section.background?`text-white`:`text-dark`]),body:a.section.body},null,8,[`class`,`body`])):v(``,!0),a.section.icons?(u(),e(`div`,ef,[(u(!0),e(O,null,E(a.section.icons,(t,n)=>(u(),e(`a`,{key:n,href:t.url,target:`_blank`,title:t.label,"aria-label":t.label,rel:`noopener noreferrer`,class:`hover:opacity-60 duration-300 transition-opacity ease-in-out`},[t.image?(u(),c(f,{key:0,image:t.image,classname:`w-auto h-40 delay-300 fadeInLeft`,max:`small`},null,8,[`image`])):v(``,!0)],8,tf))),128))])):v(``,!0),a.section.button?(u(),e(`div`,nf,[(u(!0),e(O,null,E(a.section.button,(e,t)=>(u(),c(_,{key:t,button:e,class:`heading font-extralight delay-300 fadeInLeft`},null,8,[`button`]))),128))])):v(``,!0)])])],2)])],2)])}var af=T(Wd,[[`render`,rf]]),of={name:`InsidersCallToAction`,components:{SignIn:fe,ButtonStyle:Ie},props:{section:{type:Object,default:()=>({})},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},computed:{renderedBody(){return this.section?.body?se(this.section.body):``}}},sf={class:`flex flex-col lg:grid lg:container lg:container--grid lg:gap-y-0`},cf={class:`lg-max:order-2 lg:row-start-1 lg:col-start-1 lg:col-span-6 flex flex-col items-end`},lf={class:`lg-max:container lg-max:order-1 lg:row-start-1 lg:col-span-6 lg:col-start-6 h-full flex items-center relative z-10 -mb-30 lg:mb-0`},uf=[`textContent`],df={class:`z-10 lg-max:container lg-max:order-3 xl:col-start-8 lg:col-span-10 lg:col-start-2 xl:col-span-4 2xl:-mt-90 3xl:-mt-140 4xl:-mt-180`},ff=[`innerHTML`],pf={key:1},mf={key:2};function hf(n,r,a,s,d,f){let m=R,h=K,_=Ie,y=C(`SignIn`);return u(),e(`section`,{class:p([`section insidersCallToAction pt-50 mb-80 2xl:pt-30`,{"lg:mb-140":!a.section.spacing||a.section.spacing===`large`}])},[t(`div`,sf,[t(`div`,cf,[a.section.image?(u(),e(`div`,{key:0,class:p([`lg:w-out-6/12 overflow-hidden lg:rounded-tr-4 lg:rounded-br-30 relative lg:min-h-[400px] mb-40 xl:mb-0`,{"2xl:min-h-[720px]":!a.section.spacing||a.section.spacing===`large`}])},[i(m,{image:a.section.image,class:`w-screen lg:w-full h-full`,classname:`w-screen lg:w-full lg-max:max-w-screen h-full object-cover`},null,8,[`image`]),r[0]||=t(`div`,{class:`absolute inset-0 w-full h-full bg-gradient-to-t lg:bg-gradient-to-r from-transparent to-blackTransparent pointer-events-none`},null,-1)],2)):v(``,!0)]),t(`div`,lf,[a.section.heading?(u(),e(`h2`,{key:0,class:`text-white uppercase italic text-7xl sm:text-8xl lg:text-9xl 2xl:text-11xl font-black font-acuminProCondensed`,textContent:o(a.section.heading)},null,8,uf)):v(``,!0)]),t(`div`,df,[f.renderedBody?(u(),e(`div`,{key:0,class:p([`prose prose--insiders prose-headings:text-white prose-a:text-offwhite prose-ol:text-white text-white mb-40`,{"lg:mb-60 xl:mb-80":!a.section.spacing||a.section.spacing===`large`}]),innerHTML:f.renderedBody},null,10,ff)):v(``,!0),a.showLoginBtns?(u(),e(`div`,mf,[i(y,{class:`fadeInLeft mx-auto w-full lg:mx-0 lg:w-max`},{default:g(()=>[i(_,null,{default:g(()=>[...r[1]||=[l(`Sign In`,-1)]]),_:1})]),_:1})])):(u(),e(`div`,pf,[a.section.link&&a.section.link.url&&a.section.link.label?(u(),c(h,{key:0,button:a.section.link},null,8,[`button`])):v(``,!0)]))])])],2)}var gf=T(of,[[`render`,hf]]),_f={name:`AccordionItem`,components:{ChevronSingle:B},props:{item:{type:Object,default:()=>({})},activeIndex:{type:Number,default:null},index:{type:Number,default:0}},data(){return{isOpen:!1}},mounted(){this.calculateHeight(),this.$refs.itemRef.style.height=this.closeHeight,this.activeIndex===this.index&&this.toggleOpen(),this.$updatePage(),window.addEventListener(`resize`,this.resize)},beforeUnmount(){window.removeEventListener(`resize`,this.resize)},methods:{toggleOpen(){this.isOpen=!this.isOpen,this.$refs.itemRef.style.height=this.isOpen?this.openHeight:this.closeHeight,this.$refs.bodyRef.classList.toggle(`opacity-0`),this.$updatePage()},calculateHeight(){this.isOpen&&this.toggleOpen(),this.openHeight=`${this.$refs.itemRef.offsetHeight+this.$refs.bodyRef.offsetHeight}px`,this.closeHeight=`${this.$refs.itemRef.offsetHeight}px`,this.isOpen?this.$refs.itemRef.style.height=this.openHeight:this.$refs.itemRef.style.height=this.closeHeight},resize(){this.$refs.itemRef.style.height=`auto`,this.openHeight=`${this.$refs.itemRef.offsetHeight+this.$refs.bodyRef.offsetHeight}px`,this.closeHeight=`${this.$refs.itemRef.offsetHeight}px`,this.$refs.itemRef.style.height=this.isOpen?this.openHeight:this.closeHeight}}},vf={class:`parts-insidersAccordionItem`},yf={ref:`itemRef`,class:`relative w-full overflow-hidden rounded-4 bg-shade py-10 pl-15 pr-15 text-left lg:py-20 lg:pl-30`,style:{transition:`height 0.5s ease-in-out`}},bf={class:`relative`},xf={class:`mr-auto pr-20 lg:flex lg:pr-40`},Sf=[`textContent`],Cf={ref:`bodyRef`,class:`absolute inset-x-0 top-full w-full pr-80 pt-10 o
1pacity-0 transition-opacity duration-500`},wf=[`textContent`];function Tf(n,r,a,s,c,l){let d=C(`ChevronSingle`);return u(),e(`div`,vf,[t(`div`,yf,[t(`div`,bf,[t(`button`,{ref:`triggerRef`,class:`flex w-full items-center`,onClick:r[0]||=(...e)=>l.toggleOpen&&l.toggleOpen(...e)},[t(`div`,xf,[a.item.heading?(u(),e(`h3`,{key:0,class:`mr-auto line-clamp-1 text-base font-bold`,textContent:o(a.item.heading)},null,8,Sf)):v(``,!0)]),t(`span`,{class:p([`flex aspect-square h-30 w-30 items-center justify-center rounded-full bg-dark transition-transform duration-300`,{"rotate-90":c.isOpen}])},[i(d,{class:`w-10`})],2)],512),t(`div`,Cf,[a.item.body?(u(),e(`p`,{key:0,textContent:o(a.item.body)},null,8,wf)):v(``,!0)],512)])],512)])}var Ef=T(_f,[[`render`,Tf]]),Df={name:`InsidersAccordion`,components:{AccordionItem:Ef,ForzaLogo:W},props:{section:{type:Object,default:()=>{}},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},data(){return{content:{items:{data:[{attributes:{name:`Lorem ipsum dolor sit amet`,body:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio.`}},{attributes:{name:`Lorem ipsum dolor sit amet`,body:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio.`}},{attributes:{name:`Lorem ipsum dolor sit amet`,body:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio.`}},{attributes:{name:`Lorem ipsum dolor sit amet`,body:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio.`}}]}}}},computed:{accordionLeft(){return this.section?.listSide===`left`}}},Of={key:0,class:`sections-insidersAccordion padsection`},kf={class:`container container--grid`},Af=[`textContent`],jf=[`textContent`],Mf={key:1,class:`w-full h-full flex lg-max:flex-col justify-center items-center`};function Nf(n,r,a,s,l,d){let f=C(`AccordionItem`),m=C(`forza-logo`);return a.section?(u(),e(`section`,Of,[t(`div`,kf,[t(`div`,{class:p([`col-span-12 lg:col-span-4 row-start-1 lg-max:mb-40 flex flex-col`,{"lg:col-start-9 lg:items-end":d.accordionLeft}])},[a.section.heading?(u(),e(`h2`,{key:0,class:`heading text-6xl lg:text-7xl mb-30 lg:mb-50`,textContent:o(a.section.heading)},null,8,Af)):v(``,!0),a.section.body?(u(),e(`p`,{key:1,class:p([`text-white`,d.accordionLeft?`lg:pl-2/12 lg:text-right`:`lg:pr-2/12 lg:text-left`]),textContent:o(a.section.body)},null,10,jf)):v(``,!0)],2),t(`div`,{class:p([`col-span-12 lg:col-span-8 lg:row-start-1 flex flex-col gap-y-10`,{"lg:col-start-5":!d.accordionLeft}])},[a.section.accordions&&a.section.accordions.length>0?(u(!0),e(O,{key:0},E(a.section.accordions,(e,t)=>(u(),c(f,{key:e.id,item:e,index:t},null,8,[`item`,`index`]))),128)):(u(),e(`div`,Mf,[i(m,{fill:`white`,class:`lg:mr-20 lg:mt-15 lg-max:mb-10`}),r[0]||=t(`h3`,{class:`heading text-4xl lg:text-6xl`},` No FAQs Found `,-1)]))],2)])])):v(``,!0)}var Pf=T(Df,[[`render`,Nf]]),Ff={name:`InsidersAccordionList`,components:{AccordionItem:Ef,ForzaLogo:W},props:{section:{type:Object,default:()=>{}},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},data(){return{content:{items:{data:[{attributes:{name:`Lorem ipsum dolor sit amet`,body:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio.`}},{attributes:{name:`Lorem ipsum dolor sit amet`,body:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio.`}},{attributes:{name:`Lorem ipsum dolor sit amet`,body:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio.`}},{attributes:{name:`Lorem ipsum dolor sit amet`,body:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio.`}}]}}}},computed:{accordionLeft(){return this.section?.listSide===`left`}}},If={key:0,class:`sections-insidersAccordion pb-80 lg:pb-140`},Lf={class:`container container--grid`},Rf=[`textContent`],zf=[`textContent`],Bf={key:1,class:`w-full h-full flex lg-max:flex-col justify-center items-center`};function Vf(n,r,a,s,l,d){let f=C(`AccordionItem`),m=C(`forza-logo`);return a.section?(u(),e(`section`,If,[t(`div`,Lf,[t(`div`,{class:p([`col-span-12 lg:col-span-4 row-start-1 lg-max:mb-40 flex flex-col`,{"lg:col-start-9 lg:items-end":d.accordionLeft}])},[a.section.heading?(u(),e(`h2`,{key:0,class:`heading text-6xl lg:text-7xl mb-30 lg:mb-50`,textContent:o(a.section.heading)},null,8,Rf)):v(``,!0),a.section.body?(u(),e(`p`,{key:1,class:p([`text-white`,d.accordionLeft?`lg:pl-2/12 lg:text-right`:`lg:pr-2/12 lg:text-left`]),textContent:o(a.section.body)},null,10,zf)):v(``,!0)],2),t(`div`,{class:p([`col-span-12 lg:col-span-8 lg:row-start-1 flex flex-col gap-y-10`,{"lg:col-start-5":!d.accordionLeft}])},[a.section.faqs&&a.section.faqs.length>0?(u(!0),e(O,{key:0},E(a.section.faqs,(e,t)=>(u(),c(f,{key:t,item:e,index:t},null,8,[`item`,`index`]))),128)):(u(),e(`div`,Bf,[i(m,{fill:`white`,class:`lg:mr-20 lg:mt-15 lg-max:mb-10`}),r[0]||=t(`h3`,{class:`heading text-4xl lg:text-6xl`},` No FAQs Found `,-1)]))],2)])])):v(``,!0)}var Hf=T(Ff,[[`render`,Vf]]),Uf={name:`InsidersFlightsItem`,components:{ChevronSingle:B},props:{flight:{type:Object,default:()=>({})},index:{type:Number,default:0}},data(){return{isOpen:!1}},computed:{parseTime(){let e=new Date(0,0);
1return e.setSeconds(this.flight.hours*60*60),e.toTimeString().slice(0,8)}},mounted(){this.index===0&&(this.isOpen=!0)},methods:{convertDateToShort(e){if(!e||!e.includes(`T`))return``;let t=e.split(`T`);if(t.length===0)return``;let n=t[0].split(`-`);if(n.length<3)return``;let r=n[0],i=n[1];return`${n[2]} ${this.getMonthName(i)} ${r}`},getMonthName(e){switch(e){case`01`:return`Jan`;case`02`:return`Feb`;case`03`:return`Mar`;case`04`:return`Apr`;case`05`:return`May`;case`06`:return`Jun`;case`07`:return`Jul`;case`08`:return`Aug`;case`09`:return`Sep`;case`10`:return`Oct`;case`11`:return`Nov`;case`12`:return`Dec`;default:return``}},toggleOpen(){this.isOpen=!this.isOpen,this.$updatePage()}}},Wf={class:`parts-insidersFlightsItem relative`},Gf={key:0,class:`relative w-full overflow-hidden rounded-4 bg-shade lg:flex`},Kf={class:`p-15 text-left lg:px-30 lg:py-30`},qf=[`textContent`],Jf=[`textContent`],Yf=[`textContent`],Xf={class:`flex items-center gap-40 text-sm text-body`},Zf={key:0},Qf={class:`mr-auto lg:flex`},$f=[`textContent`],ep=[`textContent`],tp={class:`flex h-30 w-30 items-center justify-center rounded-full bg-dark`};function np(n,r,a,s,l,d){let f=H,p=C(`ChevronSingle`);return u(),e(`div`,Wf,[l.isOpen?(u(),e(`div`,Gf,[t(`div`,Kf,[a.flight.date?(u(),e(`p`,{key:0,class:`mb-5 text-sm text-body`,textContent:o(d.convertDateToShort(a.flight.date))},null,8,qf)):v(``,!0),a.flight.heading?(u(),e(`h3`,{key:1,class:`heading mb-25 text-4xl lg:mb-35`,textContent:o(a.flight.heading)},null,8,Jf)):v(``,!0),a.flight.text?(u(),e(`p`,{key:2,class:`mb-25 text-white lg:mb-35`,textContent:o(a.flight.text)},null,8,Yf)):v(``,!0),a.flight.url&&!a.flight.status?(u(),c(f,{key:3,class:`my-25 flex items-center font-bold hover:underline`,link:{url:a.flight.url,label:`View details`},chevron:`ChevronSingle`,"chevron-color":`light`},null,8,[`link`])):v(``,!0),t(`div`,Xf,[t(`p`,null,` PARTICIPATED: `+o(a.flight.participated?`YES`:`NO`),1),a.flight.participated&&a.flight.hours?(u(),e(`p`,Zf,` TIME: `+o(d.parseTime),1)):v(``,!0)])]),t(`button`,{class:`absolute right-15 top-[12.5px] flex h-30 w-30 items-center justify-center rounded-full bg-dark lg:top-20`,onClick:r[0]||=(...e)=>d.toggleOpen&&d.toggleOpen(...e)},[i(p,{class:`w-10 rotate-90`})])])):(u(),e(`button`,{key:1,class:`flex w-full items-center rounded-4 bg-shade py-10 pl-15 pr-15 text-left lg:py-20 lg:pl-30`,onClick:r[1]||=(...e)=>d.toggleOpen&&d.toggleOpen(...e)},[t(`div`,Qf,[a.flight.date?(u(),e(`p`,{key:0,class:`text-sm lg:mr-45 lg:text-base lg-max:mb-5`,textContent:o(d.convertDateToShort(a.flight.date))},null,8,$f)):v(``,!0),a.flight.heading?(u(),e(`h3`,{key:1,class:`mr-auto line-clamp-1 text-base`,textContent:o(a.flight.heading)},null,8,ep)):v(``,!0)]),t(`span`,tp,[i(p,{class:`w-10`})])]))])}var rp=T(Uf,[[`render`,np]]),ip={name:`PlaceholderCard`,components:{InfoButton:oe},props:{theme:{type:String,default:()=>`dark`},message:{type:String,default:()=>`There has been an error.`}}},ap={class:`card !h-auto overflow-hidden rounded rounded-tr-none rounded-br-[30px] flex w-full`},op=[`textContent`];function sp(n,r,a,s,c,l){let d=C(`InfoButton`);return u(),e(`div`,ap,[r[0]||=t(`div`,{class:`block w-10 h-full card_highlight bg-forza`},null,-1),t(`div`,{class:p([`relative flex flex-col w-full p-25 min-h-150 card_inner`,a.theme===`dark`?`bg-shade text-body`:`bg-white text-bodyDark`])},[t(`p`,{textContent:o(a.message)},null,8,op),i(d,{color:a.theme===`dark`?`#FFFF`:`#1D1D1D`,class:`absolute opacity-25 bottom-25 right-25 w-75 h-75`},null,8,[`color`])],2)])}var cp=T(ip,[[`render`,sp]]),lp={name:`InsidersFlights`,components:{FlightsItem:rp,ForzaLogo:W,Error:cp,Lottie:ce},props:{section:{type:Object,default:()=>{}},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},setup(){return{useClientApi:de}},data(){return{flights:[],loading:!1,error:null,filters:[`Invited`,`History`],activeFilter:`Invited`}},computed:{filteredFlights(){return this.flights.filter(e=>this.activeFilter===`History`?e.status:!e.status)}},mounted(){this.error=null,this.loading=!0,this.useClientApi(`${this.$config.public.FORZA_API_BASE_URL}/api/v4/me/profile/programs/insiders/playtests`,{headers:{Authorization:`Bearer ${this.$auth.accessToken}`},server:!1,lazy:!0}).then(e=>{if(e.length>0){let t=[];
1e.forEach(e=>{t.push({id:e.playtestId,heading:e.playtestName,text:e.playtestDescription,url:e.playtestUrl,date:e.playtestStartDate,status:e.status===`Completed`,invited:e.playtestInvited,participated:e.playtestParticipated,hours:e.playtestParticipatedHours})}),t.sort((e,t)=>new Date(t.date)-new Date(e.date)),this.flights=t}this.loading=!1,this.$updatePage()}).catch(e=>{console.error(e),this.error=`There was an error retrieving playtests. Please refresh the page and try again.`,this.loading=!1})},methods:{setFilter(e){this.activeFilter=e}}},up={class:`sections-insidersFlights mb-80 lg:mb-140`},dp={class:`container--grid container`},fp={class:`col-span-12 lg:col-span-4 lg-max:mb-40`},pp=[`textContent`],mp={class:`mb-30 flex gap-x-60 lg:mb-50`},hp=[`onClick`,`textContent`],gp=[`textContent`],_p={class:`col-span-12 flex flex-col gap-y-10 lg:col-span-8 lg:col-start-5`},vp={key:0,class:`container relative flex items-center justify-center py-50`},yp={key:1,class:`container`},bp={key:3,class:`flex h-full w-full items-center justify-center lg-max:flex-col`};function xp(n,r,a,s,l,d){let f=C(`Lottie`),m=C(`Error`),h=C(`FlightsItem`),g=C(`forza-logo`);return u(),e(`section`,up,[t(`div`,dp,[t(`div`,fp,[a.section.heading?(u(),e(`h2`,{key:0,class:`heading mb-30 text-6xl lg:mb-50 lg:text-7xl`,textContent:o(a.section.heading)},null,8,pp)):v(``,!0),t(`div`,mp,[(u(!0),e(O,null,E(l.filters,(t,n)=>(u(),e(`button`,{key:`filter-${n}`,class:p([`font-bold transition-colors duration-200 hover:text-motorsport`,{"text-motorsport underline decoration-2 underline-offset-8 ":l.activeFilter===t}]),onClick:e=>d.setFilter(t),textContent:o(t)},null,10,hp))),128))]),a.section.body?(u(),e(`p`,{key:1,class:`text-white lg:pr-3/12`,textContent:o(a.section.body)},null,8,gp)):v(``,!0)]),t(`div`,_p,[l.loading?(u(),e(`div`,vp,[i(f,{lottie:`forza`,start:!0,class:`h-100 w-175`,speed:2})])):l.error?(u(),e(`div`,yp,[i(m,{message:l.error},null,8,[`message`])])):d.filteredFlights&&d.filteredFlights.length?(u(!0),e(O,{key:2},E(d.filteredFlights,(e,t)=>(u(),c(h,{key:e.id,flight:e,index:t},null,8,[`flight`,`index`]))),128)):(u(),e(`div`,bp,[i(g,{fill:`white`,class:`lg:mr-20 lg:mt-15 lg-max:mb-10`}),r[0]||=t(`h3`,{class:`heading text-4xl lg:text-6xl`},`No Playtest Actvity`,-1)]))])])])}var Sp=T(lp,[[`render`,xp]]),Cp={name:`InsidersImageContent`,props:{section:{type:Object,default:()=>({})},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},computed:{imageClasses(){return this.section?.imageSide===`left`?`lg:col-start-1`:`lg:col-start-7`},bodyClasses(){return this.section?.imageSide===`left`?`lg:col-start-8`:`lg:col-start-2`}}},wp={class:`section insidersImageContent relative z-10 pt-20 lg:pt-0 mb-80 lg:mb-140`},Tp={class:`container container--grid`},Ep={class:`relative w-full pt-7/10`};function Dp(n,r,i,a,o,s){let l=G,d=K,f=R;return u(),e(`section`,wp,[t(`div`,Tp,[t(`div`,{class:p([`row-start-2 lg:row-start-1 md:col-span-10 lg:col-span-4 flex flex-col justify-end items-start col-span-12 lg:pt-100`,s.bodyClasses])},[i.section.body?(u(),c(l,{key:0,class:`prose prose-base text-white mb-40 2xl:mb-70`,body:i.section.body},null,8,[`body`])):v(``,!0),i.section.link&&i.section.link.url&&i.section.link.label?(u(),c(d,{key:1,button:i.section.link},null,8,[`button`])):v(``,!0)],2),t(`div`,{class:p([`col-span-12 row-start-1 lg:col-span-6 mb-40 lg:mb-0`,s.imageClasses])},[t(`div`,Ep,[i.section.image?(u(),c(f,{key:0,image:i.section.image,class:`w-full h-full absolute inset-0 rounded-4 rounded-br-30 overflow-hidden`,classname:`w-full h-full object-cover`},null,8,[`image`])):v(``,!0)])],2)])])}var Op=T(Cp,[[`render`,Dp]]),kp={name:`InsidersInfo`,props:{section:{type:Object,default:()=>({})},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}}},Ap={class:`sections-insidersInfo mb-80 lg:mb-140`},jp={class:`container container--grid`},Mp={class:`col-span-12 lg:col-span-8`},Np=[`textContent`],Pp=[`textContent`],Fp=[`textContent`];function Ip(n,r,i,a,s,l){let d=K;return u(),e(`section`,Ap,[t(`div`,jp,[t(`div`,Mp,[i.section.heading?(u(),e(`h2`,{key:0,class:`heading text-6xl lg:text-7xl mb-50`,textContent:o(i.section.heading)}
1,null,8,Np)):v(``,!0),i.section.subheading?(u(),e(`h3`,{key:1,class:`heading text-2xl lg:text-4xl normal-case mb-20`,textContent:o(i.section.subheading)},null,8,Pp)):v(``,!0),i.section.body?(u(),e(`p`,{key:2,class:p([`copy text-white mb-50`,{"text-sm":i.section.fontSize===`small`,"text-lg leading-7":i.section.fontSize===`large`,"text-xl leading-7":i.section.fontSize===`extraLarge`}]),textContent:o(i.section.body)},null,10,Fp)):v(``,!0),i.section.link&&i.section.link.url&&i.section.link.label?(u(),c(d,{key:3,button:i.section.link,icon:i.section.link.icon},null,8,[`button`,`icon`])):v(``,!0)])])])}var Lp=T(kp,[[`render`,Ip]]),Rp={name:`ListItem`,components:{ChevronSingle:B},props:{item:{type:Object,default:()=>({})},index:{type:Number,default:0}},emits:[`openModal`],methods:{convertDateToShort(e){if(!e||!e.includes(`T`))return``;let t=e.split(`T`);if(t.length===0)return``;let n=t[0].split(`-`);if(n.length<3)return``;let r=n[0],i=n[1];return`${n[2]} ${this.getMonthName(i)} ${r}`},getMonthName(e){switch(e){case`01`:return`Jan`;case`02`:return`Feb`;case`03`:return`Mar`;case`04`:return`Apr`;case`05`:return`May`;case`06`:return`Jun`;case`07`:return`Jul`;case`08`:return`Aug`;case`09`:return`Sep`;case`10`:return`Oct`;case`11`:return`Nov`;case`12`:return`Dec`;default:return``}},openModal(){this.$emit(`openModal`,this.item.id)}}},zp={class:`w-full py-10 lg:py-20 pl-15 lg:pl-30 pr-15 flex items-center bg-shade rounded-4 text-left`},Bp={class:`lg:flex mr-auto pr-20 lg:pr-40`},Vp=[`textContent`],Hp=[`textContent`],Up={class:`rounded-full bg-dark w-30 h-30 aspect-square flex items-center justify-center`};function Wp(n,r,a,s,c,l){let d=C(`ChevronSingle`);return u(),e(`button`,{class:`parts-insidersListItem`,onClick:r[0]||=(...e)=>l.openModal&&l.openModal(...e)},[t(`div`,zp,[t(`div`,Bp,[a.item.date?(u(),e(`p`,{key:0,class:`text-sm lg:text-base lg-max:mb-5 lg:mr-45`,textContent:o(l.convertDateToShort(a.item.date))},null,8,Vp)):v(``,!0),a.item.heading?(u(),e(`h3`,{key:1,class:`text-base mr-auto line-clamp-1`,textContent:o(a.item.heading)},null,8,Hp)):v(``,!0)]),t(`span`,Up,[i(d,{class:`w-10`})])])])}var Gp=T(Rp,[[`render`,Wp]]),Kp=[`input:not([inert]):not([inert] *)`,`select:not([inert]):not([inert] *)`,`textarea:not([inert]):not([inert] *)`,`a[href]:not([inert]):not([inert] *)`,`area[href]:not([inert]):not([inert] *)`,`button:not([inert]):not([inert] *)`,`[tabindex]:not(slot):not([inert]):not([inert] *)`,`audio[controls]:not([inert]):not([inert] *)`,`video[controls]:not([inert]):not([inert] *)`,`[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *)`,`details>summary:first-of-type:not([inert]):not([inert] *)`,`details:not([inert]):not([inert] *)`],qp=Kp.join(`,`),Jp=typeof Element>`u`,X=Jp?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Yp=!Jp&&Element.prototype.getRootNode?function(e){return e?.getRootNode?.call(e)}:function(e){return e?.ownerDocument},Xp=function(e,t){t===void 0&&(t=!0);var n=e?.getAttribute?.call(e,`inert`);return n===``||n===`true`||t&&e&&(typeof e.closest==`function`?e.closest(`[inert]`):Xp(e.parentNode))},Zp=function(e){var t=e?.getAttribute?.call(e,`contenteditable`);return t===``||t===`true`},Qp=function(e,t,n){if(Xp(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(qp));return t&&X.call(e,qp)&&r.unshift(e),r=r.filter(n),r},$p=function(e,t,n){for(var r=[],i=Array.from(e);i.length;){var a=i.shift();if(!Xp(a,!1)){if(a.tagName===`SLOT`){var o=a.assignedElements(),s=$p(o.length?o:a.children,!0,n);
vendor: 4,590 bytes, line 1
1n.flatten?r.push.apply(r,s):r.push({scopeParent:a,candidates:s})}else{X.call(a,qp)&&n.filter(a)&&(t||!e.includes(a))&&r.push(a);var c=a.shadowRoot||typeof n.getShadowRoot==`function`&&n.getShadowRoot(a),l=!Xp(c,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(a));if(c&&l){var u=$p(c===!0?a.children:c.children,!0,n);n.flatten?r.push.apply(r,u):r.push({scopeParent:a,candidates:u})}else i.unshift.apply(i,a.children)}}}return r},em=function(e){return!isNaN(parseInt(e.getAttribute(`tabindex`),10))},Z=function(e){if(!e)throw Error(`No node provided`);return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||Zp(e))&&!em(e)?0:e.tabIndex},tm=function(e,t){var n=Z(e);return n<0&&t&&!em(e)?0:n},nm=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},rm=function(e){return e.tagName===`INPUT`},im=function(e){return rm(e)&&e.type===`hidden`},am=function(e){return e.tagName===`DETAILS`&&Array.prototype.slice.apply(e.children).some(function(e){return e.tagName===`SUMMARY`})},om=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]},sm=function(e){if(!e.name)return!0;var t=e.form||Yp(e),n=function(e){return t.querySelectorAll(`input[type="radio"][name="`+e+`"]`)},r;if(typeof window<`u`&&window.CSS!==void 0&&typeof window.CSS.escape==`function`)r=n(window.CSS.escape(e.name));else try{r=n(e.name)}catch(e){return console.error(`Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s`,e.message),!1}var i=om(r,e.form);return!i||i===e},cm=function(e){return rm(e)&&e.type===`radio`},lm=function(e){return cm(e)&&!sm(e)},um=function(e){var t=e&&Yp(e),n=t?.host,r=!1;if(t&&t!==e){var i,a,o;for(r=!!((i=n)!=null&&(a=i.ownerDocument)!=null&&a.contains(n)||e!=null&&(o=e.ownerDocument)!=null&&o.contains(e));!r&&n;){var s,c;t=Yp(n),n=t?.host,r=!!((s=n)!=null&&(c=s.ownerDocument)!=null&&c.contains(n))}}return r},dm=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return n===0&&r===0},fm=function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if(n===`full-native`&&`checkVisibility`in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});var i=getComputedStyle(e).visibility;if(i===`hidden`||i===`collapse`)return!0;var a=X.call(e,`details>summary:first-of-type`)?e.parentElement:e;if(X.call(a,`details:not([open]) *`))return!0;if(!n||n===`full`||n===`full-native`||n===`legacy-full`){if(typeof r==`function`){for(var o=e;e;){var s=e.parentElement,c=Yp(e);if(s&&!s.shadowRoot&&r(s)===!0)return dm(e);e=e.assignedSlot?e.assignedSlot:!s&&c!==e.ownerDocument?c.host:s}e=o}if(um(e))return!e.getClientRects().length;if(n!==`legacy-full`)return!0}else if(n===`non-zero-area`)return dm(e);return!1},pm=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName===`FIELDSET`&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if(r.tagName===`LEGEND`)return X.call(t,`fieldset[disabled] *`)?!0:!r.contains(e)}return!0}t=t.parentElement}return!1},mm=function(e,t){return!(t.disabled||im(t)||fm(t,e)||am(t)||pm(t))},hm=function(e,t){return!(lm(t)||Z(t)<0||!mm(e,t))},gm=function(e){var t=parseInt(e.getAttribute(`tabindex`),10);return!!(isNaN(t)||t>=0)},_m=function(e){var t=[],n=[];return e.forEach(function(e,r){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=tm(a,i),s=i?_m(e.candidates):a;o===0?i?t.push.apply(t,s):t.push(a):n.push({documentOrder:r,tabIndex:o,item:e,isScope:i,content:s})}),n.sort(nm).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},vm=function(e,t){return t||={},_m(t.getShadowRoot?$p([e],t.includeContainer,{filter:hm.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:gm}):Qp(e,t.includeContainer,hm.bind(null,t)))},ym=function(e,t){return t||={},t.getShadowRoot?$p([e],t.includeContainer,{filter:mm.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):Qp(e,t.includeContainer,mm.bind(null,t))},Q=function(e,t){if(t||={},!e)throw Error(`No node provided`);return X.call(e,qp)!==!1&&hm(t,e)},bm=Kp.concat(`iframe:not([inert]):not([inert] *)`).join(`,`),xm=function(e,t){if(t||={},!e)throw Error(`No node provided`);return X.call(e,bm)!==!1&&mm(t,e)};function Sm(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function Cm(e){if(Array.isArray(e))return Sm(e)}function wm(e,t){var n=typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];
vendor: 12,048 bytes, lines 1-3
1if(!n){if(Array.isArray(e)||(n=Nm(e))||t){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw TypeError(`Invalid attempt to iterate non-iterable instance. 2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||n.return==null||n.return()}finally{if(s)throw a}}}}function Tm(e,t,n){return(t=Mm(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Em(e){if(typeof Symbol<`u`&&e[Symbol.iterator]!=null||e[`@@iterator`]!=null)return Array.from(e)}function Dm(){throw TypeError(`Invalid attempt to spread non-iterable instance. 3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Om(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function km(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?Om(Object(n),!0).forEach(function(t){Tm(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Om(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Am(e){return Cm(e)||Em(e)||Nm(e)||Dm()}function jm(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function Mm(e){var t=jm(e,`string`);return typeof t==`symbol`?t:t+``}function Nm(e,t){if(e){if(typeof e==`string`)return Sm(e,t);var n={}.toString.call(e).slice(8,-1);return n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`?Array.from(e):n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Sm(e,t):void 0}}var $={getActiveTrap:function(e){return e?.length>0?e[e.length-1]:null},activateTrap:function(e,t){t!==$.getActiveTrap(e)&&$.pauseTrap(e);var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var n=e.indexOf(t);n!==-1&&e.splice(n,1),$.unpauseTrap(e)},pauseTrap:function(e){$.getActiveTrap(e)?._setPausedState(!0)},unpauseTrap:function(e){var t=$.getActiveTrap(e);t&&!t._isManuallyPaused()&&t._setPausedState(!1)}},Pm=function(e){return e.tagName&&e.tagName.toLowerCase()===`input`&&typeof e.select==`function`},Fm=function(e){return e?.key===`Escape`||e?.key===`Esc`||e?.keyCode===27},Im=function(e){return e?.key===`Tab`||e?.keyCode===9},Lm=function(e){return Im(e)&&!e.shiftKey},Rm=function(e){return Im(e)&&e.shiftKey},zm=function(e){return setTimeout(e,0)},Bm=function(e){var t=[...arguments].slice(1);return typeof e==`function`?e.apply(void 0,t):e},Vm=function(e){return e.target.shadowRoot&&typeof e.composedPath==`function`?e.composedPath()[0]:e.target},Hm=[],Um=function(e,t){var n=t?.document||document,r=t?.trapStack||Hm,i=km({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isolateSubtrees:!1,isKeyForward:Lm,isKeyBackward:Rm},t),a={containers:[],containerGroups:[],tabbableGroups:[],adjacentElements:new Set,alreadySilent:new Set,nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},o,s=function(e,t,n){return e&&e[t]!==void 0?e[t]:i[n||t]},c=function(e,t){var n=typeof t?.composedPath==`function`?t.composedPath():void 0;return a.containerGroups.findIndex(function(t){var r=t.container,i=t.tabbableNodes;return r.contains(e)||n?.includes(r)||i.find(function(t){return t===e})})},l=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.hasFallback,a=r!==void 0&&r,o=t.params,s=o===void 0?[]:o,c=i[e];if(typeof c==`function`&&(c=c.apply(void 0,Am(s))),c===!0&&(c=void 0),!c){if(c===void 0||c===!1)return c;throw Error(`\`${e}\` was specified but was not a node, or did not return a node`)}var l=c;if(typeof c==`string`){try{l=n.querySelector(c)}catch(t){throw Error(`\`${e}\` appears to be an invalid selector; error="${t.message}"`)}if(!l&&!a)throw Error(`\`${e}\` as selector refers to no known node`)}return l},u=function(){var e=l(`initialFocus`,{hasFallback:!0});if(e===!1)return!1;if(e===void 0||e&&!xm(e,i.tabbableOptions)){if(c(n.activeElement)>=0)e=n.activeElement;else{var t=a.tabbableGroups[0];e=t&&t.firstTabbableNode||l(`fallbackFocus`)}}else e===null&&(e=l(`fallbackFocus`));if(!e)throw Error(`Your focus-trap needs to have at least one focusable element`);return e},d=function(){if(a.containerGroups=a.containers.map(function(e){var t=vm(e,i.tabbableOptions),n=ym(e,i.tabbableOptions),r=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,o=n.find(function(e){return Q(e)}),s=n.slice().reverse().find(function(e){return Q(e)});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:!!t.find(function(e){return Z(e)>0}),firstTabbableNode:r,lastTabbableNode:a,firstDomTabbableNode:o,lastDomTabbableNode:s,nextTabbableNode:function(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,i=t.indexOf(e);return i<0?r?n.slice(n.indexOf(e)+1).find(function(e){return Q(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return Q(e)}):t[i+(r?1:-1)]}}}),a.tabbableGroups=a.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),a.tabbableGroups.length<=0&&!l(`fallbackFocus`))throw Error(`Your focus-trap must have at least one container with at least one tabbable node in it at all times`);if(a.containerGroups.find(function(e){return e.posTabIndexesFound})&&a.containerGroups.length>1)throw Error(`At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.`)},f=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&t.shadowRoot.activeElement!==null?f(t.shadowRoot):t},p=function(e){if(e!==!1&&e!==f(document)){if(!e||!e.focus){p(u());return}e.focus({preventScroll:!!i.preventScroll}),a.mostRecentlyFocusedNode=e,Pm(e)&&e.select()}},m=function(e){var t=l(`setReturnFocus`,{params:[e]});return t||t!==!1&&e},h=function(e){var t=e.target,n=e.event,r=e.isBackward,o=r!==void 0&&r;t||=Vm(n),d();var s=null;if(a.tabbableGroups.length>0){var u=c(t,n),f=u>=0?a.containerGroups[u]:void 0;if(u<0)s=o?a.tabbableGroups[a.tabbableGroups.length-1].lastTabbableNode:a.tabbableGroups[0].firstTabbableNode;else if(o){var p=a.tabbableGroups.findIndex(function(e){var n=e.firstTabbableNode;return t===n});if(p<0&&(f.container===t||xm(t,i.tabbableOptions)&&!Q(t,i.tabbableOptions)&&!f.nextTabbableNode(t,!1))&&(p=u),p>=0){var m=p===0?a.tabbableGroups.length-1:p-1,h=a.tabbableGroups[m];s=Z(t)>=0?h.lastTabbableNode:h.lastDomTabbableNode}else Im(n)||(s=f.nextTabbableNode(t,!1))}else{var g=a.tabbableGroups.findIndex(function(e){var n=e.lastTabbableNode;return t===n});if(g<0&&(f.container===t||xm(t,i.tabbableOptions)&&!Q(t,i.tabbableOptions)&&!f.nextTabbableNode(t))&&(g=u),g>=0){var _=g===a.tabbableGroups.length-1?0:g+1,v=a.tabbableGroups[_];s=Z(t)>=0?v.firstTabbableNode:v.firstDomTabbableNode}else Im(n)||(s=f.nextTabbableNode(t))}}else s=l(`fallbackFocus`);return s},g=function(e){if(!(c(Vm(e),e)>=0)){if(Bm(i.clickOutsideDeactivates,e)){o.deactivate({returnFocus:i.returnFocusOnDeactivate});return}Bm(i.allowOutsideClick,e)||e.preventDefault()}},_=function(e){var t=Vm(e),n=c(t,e)>=0;if(n||t instanceof Document)n&&(a.mostRecentlyFocusedNode=t);else{e.stopImmediatePropagation();var r,o=!0;if(a.mostRecentlyFocusedNode){if(Z(a.mostRecentlyFocusedNode)>0){var s=c(a.mostRecentlyFocusedNode),l=a.containerGroups[s].tabbableNodes;if(l.length>0){var d=l.findIndex(function(e){return e===a.mostRecentlyFocusedNode});d>=0&&(i.isKeyForward(a.recentNavEvent)?d+1<l.length&&(r=l[d+1],o=!1):d-1>=0&&(r=l[d-1],o=!1))}}else a.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return Z(e)>0})})||(o=!1)}else o=!1;o&&(r=h({target:a.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(a.recentNavEvent)})),p(r||a.mostRecentlyFocusedNode||u())}a.recentNavEvent=void 0},v=function(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1];a.recentNavEvent=e;var n=h({event:e,isBackward:t});n&&(Im(e)&&e.preventDefault(),p(n))},y=function(e){(i.isKeyForward(e)||i.isKeyBackward(e))&&v(e,i.isKeyBackward(e))},b=function(e){Fm(e)&&Bm(i.escapeDeactivates,e)!==!1&&(e.preventDefault(),o.deactivate())},x=function(e){c(Vm(e),e)>=0||Bm(i.clickOutsideDeactivates,e)||Bm(i.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},S=function(){if(a.active)return $.activateTrap(r,o),a.delayInitialFocusTimer=i.delayInitialFocus?zm(function(){p(u())}):p(u()),n.addEventListener(`focusin`,_,!0),n.addEventListener(`mousedown`,g,{capture:!0,passive:!1}),n.addEventListener(`touchstart`,g,{capture:!0,passive:!1}),n.addEventListener(`click`,x,{capture:!0,passive:!1}),n.addEventListener(`keydown`,y,{capture:!0,passive:!1}),n.addEventListener(`keydown`,b),o},C=function(e){a.active&&!a.paused&&o._setSubtreeIsolation(!1),a.adjacentElements.clear(),a.alreadySilent.clear();var t=new Set,n=new Set,r=wm(e),i;try{for(r.s();!(i=r.n()).done;){var s=i.value;t.add(s);for(var c=typeof ShadowRoot<`u`&&s.getRootNode()instanceof ShadowRoot,l=s;l;){t.add(l);var u=l.parentElement,d=[];u?d=u.children:!u&&c&&(d=l.getRootNode().children,u=l.getRootNode().host,c=typeof ShadowRoot<`u`&&u.getRootNode()instanceof ShadowRoot);var f=wm(d),p;try{for(f.s();!(p=f.n()).done;){var m=p.value;n.add(m)}}catch(e){f.e(e)}finally{f.f()}l=u}}}catch(e){r.e(e)}finally{r.f()}t.forEach(function(e){n.delete(e)}),a.adjacentElements=n},w=function(){if(a.active)return n.removeEventListener(`focusin`,_,!0),n.removeEventListener(`mousedown`,g,!0),n.removeEventListener(`touchstart`,g,!0),n.removeEventListener(`click`,x,!0),n.removeEventListener(`keydown`,y,!0),n.removeEventListener(`keydown`,b),o},T=typeof window<`u`&&`MutationObserver`in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===a.mostRecentlyFocusedNode})})&&p(u())}):void 0,E=function(){T&&(T.disconnect(),a.active&&!a.paused&&a.containers.map(function(e){T.observe(e,{subtree:!0,childList:!0})}))};return o={get active(){return a.active},get paused(){return a.paused},activate:function(e){if(a.active)return this;var t=s(e,`onActivate`),c=s(e,`onPostActivate`),l=s(e,`checkCanFocusTrap`),u=$.getActiveTrap(r),p=!1;if(u&&!u.paused){var m;(m=u._setSubtreeIsolation)==null||m.call(u,!1),p=!0}try{l||d(),a.active=!0,a.paused=!1,a.nodeFocusedBeforeActivation=f(n),t?.();var h=function(){l&&d(),S(),E(),i.isolateSubtrees&&o._setSubtreeIsolation(!0),c?.()};if(l)return l(a.containers.concat()).then(h,h),this;h()}catch(e){if(u===$.getActiveTrap(r)&&p){var g;(g=u._setSubtreeIsolation)==null||g.call(u,!0)}throw e}return this},deactivate:function(e){if(!a.active)return this;var t=km({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},e);clearTimeout(a.delayInitialFocusTimer),a.delayInitialFocusTimer=void 0,a.paused||o._setSubtreeIsolation(!1),a.alreadySilent.clear(),w(),a.active=!1,a.paused=!1,E(),$.deactivateTrap(r,o);var n=s(t,`onDeactivate`),c=s(t,`onPostDeactivate`),l=s(t,`checkCanReturnFocus`),u=s(t,`returnFocus`,`returnFocusOnDeactivate`);n?.();var d=function(){zm(function(){u&&p(m(a.nodeFocusedBeforeActivation)),c?.()})};return u&&l?(l(m(a.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){return a.active?(a.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return!a.active||(a.manuallyPaused=!1,r[r.length-1]!==this)?this:this._setPausedState(!1,e)},updateContainerElements:function(e){return a.containers=[].concat(e).filter(
3Boolean).map(function(e){return typeof e==`string`?n.querySelector(e):e}),i.isolateSubtrees&&C(a.containers),a.active&&(d(),i.isolateSubtrees&&!a.paused&&o._setSubtreeIsolation(!0)),E(),this}},Object.defineProperties(o,{_isManuallyPaused:{value:function(){return a.manuallyPaused}},_setPausedState:{value:function(e,t){if(a.paused===e)return this;if(a.paused=e,e){var n=s(t,`onPause`),r=s(t,`onPostPause`);n?.(),w(),E(),o._setSubtreeIsolation(!1),r?.()}else{var i=s(t,`onUnpause`),c=s(t,`onPostUnpause`);i?.(),o._setSubtreeIsolation(!0),d(),S(),E(),c?.()}return this}},_setSubtreeIsolation:{value:function(e){i.isolateSubtrees&&a.adjacentElements.forEach(function(t){if(e)switch(i.isolateSubtrees){case`aria-hidden`:(t.ariaHidden===`true`||t.getAttribute(`aria-hidden`)?.toLowerCase()===`true`)&&a.alreadySilent.add(t),t.setAttribute(`aria-hidden`,`true`);break;default:(t.inert||t.hasAttribute(`inert`))&&a.alreadySilent.add(t),t.setAttribute(`inert`,!0)}else if(!a.alreadySilent.has(t))switch(i.isolateSubtrees){case`aria-hidden`:t.removeAttribute(`aria-hidden`);break;default:t.removeAttribute(`inert`)}})}}}),o.updateContainerElements(e),o},Wm={name:`InsidersContentModal`,components:{Chevron:Ne,Close:Me},props:{content:{type:Array,default:()=>[]},activeId:{type:Number,default:0}},emits:[`changeContent`,`closeModal`],computed:{activeIndex(){return this.content.findIndex(e=>e.id===this.activeId)},activeContent(){return this.content[this.activeIndex]?this.content[this.activeIndex]:{}}},mounted(){this.trap=Um(this.$el,{onDeactivate:this.closeModal}),this.trap.activate(),document.body.style.overflow=`hidden`},beforeUnmount(){this.trap.deactivate(),document.body.style.overflow=`auto`},methods:{convertDateToShort(e){if(!e||!e.includes(`T`))return``;let t=e.split(`T`);if(t.length===0)return``;let n=t[0].split(`-`);if(n.length<3)return``;let r=n[0],i=n[1];return`${n[2]} ${this.getMonthName(i)} ${r}`},getMonthName(e){switch(e){case`01`:return`Jan`;case`02`:return`Feb`;case`03`:return`Mar`;case`04`:return`Apr`;case`05`:return`May`;case`06`:return`Jun`;case`07`:return`Jul`;case`08`:return`Aug`;case`09`:return`Sep`;case`10`:return`Oct`;case`11`:return`Nov`;case`12`:return`Dec`;default:return``}},closeModal(){this.$emit(`closeModal`,this.activeIndex)},nextContent(){let e=this.activeIndex<this.content.length-1?this.activeIndex+1:0,t=this.content[e].id;this.$emit(`changeContent`,t)},previousContent(){let e=this.activeIndex>0?this.activeIndex-1:this.content.length-1,t=this.content[e].id;this.$emit(`changeContent`,t)}}},Gm={class:`section-contentModal fixed inset-0 z-40 h-screen w-screen bg-dark/80 lg:pt-100`,tabIndex:`0`},Km={class:`container--grid lg:container`},qm={class:`col-span-12 flex h-screen flex-col bg-white px-20 py-20 sm:px-40 sm:py-40 lg:col-span-10 lg:col-start-2 lg:max-h-[calc(100vh-200px)] lg:px-130 lg:py-60`},Jm={class:`mb-30 flex items-center lg:mb-50 lg-max:flex-col-reverse`},Ym={class:`mr-auto lg:pr-40`},Xm=[`textContent`],Zm=[`textContent`],Qm={class:`flex items-center lg-max:mb-40 lg-max:w-full`};function $m(n,r,a,s,l,d){let f=C(`Chevron`),p=C(`Close`),m=G;return u(),e(`section`,Gm,[t(`div`,Km,[t(`div`,qm,[t(`div`,Jm,[t(`div`,Ym,[d.activeContent.date?(u(),e(`p`,{key:0,class:`text-black`,textContent:o(d.convertDateToShort(d.activeContent.date))},null,8,Xm)):v(``,!0),d.activeContent.heading?(u(),e(`h2`,{key:1,class:`heading text-4xl text-black`,textContent:o(d.activeContent.heading)},null,8,Zm)):v(``,!0)]),t(`div`,Qm,[t(`button`,{ref:`prevRef`,class:`mr-60 w-[12px] rotate-180 text-black`,tabIndex:`0`,onClick:r[0]||=(...e)=>d.previousContent&&d.previousContent(...e)},[i(f)],512),t(`button`,{ref:`nextRef`,class:`mr-auto w-[12px] text-black lg:mr-60`,tabIndex:`0`,onClick:r[1]||=(...e)=>d.nextContent&&d.nextContent(...e)},[i(f)],512),t(`button`,{ref:`closeRef`,class:`w-20 text-black`,tabIndex:`0`,onClick:r[2]||=(...e)=>d.closeModal&&d.closeModal(...e)},[i(p)],512)])]),d.activeContent.body?(u(),c(m,{key:0,class:`prose h-full w-full max-w-none overflow-y-scroll bg-offWhite p-20 lg:p-50`,"tab-index":`0`,body:d.activeContent.body},null,8,[`body`])):v(``,!0)])])])}var eh=T(Wm,[[`render`,$m]]),th={name:`InsidersList`,components:{ListItem:Gp,ContentModal:eh,ForzaLogo:W},props:{section:{type:Object,default:()=>{}},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},data(){return{modalActive:!1,activeId:0}},computed:{accordionLeft(){return this.section?.listSide===`left`}},methods:{setActiveItem(e){this.activeId=e},closeModal(){this.modalActive=!1},openContentModal(e){this.modalActive=!0,this.activeId=e}}},nh={class:`sections-insidersListWithFilter mb-80 lg:mb-140`},rh={class:`container--grid container`},ih=[`textContent`],ah=[`textContent`],oh={key:1,class:`flex h-full w-full items-center justify-center lg-max:flex-col`};function sh(n,r,a,s,l,f){let m=C(`ListItem`),h=C(`forza-logo`),g=C(`ContentModal`);return u(),e(`section`,nh,[t(`div`,rh,[t(`div`,{class:p([`col-span-12 row-start-1 flex flex-col lg:col-span-4 lg-max:mb-40`,{"lg:col-start-9 lg:items-end":f.accordionLeft}])},[a.section.heading?(u(),e(`h2`,{key:0,class:`heading mb-30 text-6xl lg:mb-50 lg:text-7xl`,textContent:o(a.section.heading)},null,8,ih)):v(``,!0),a.section.body?(u(),e(`p`,{key:1,class:p([`text-white`,f.accordionLeft?`lg:pl-2/12 lg:text-right`:`lg:pr-2/12 lg:text-left`]),textContent:o(a.section.body)},null,10,ah)):v(``,!0)],2),t(`div`,{class:p([`col-span-12 flex flex-col gap-y-10 lg:col-span-8 lg:row-start-1`,{"lg:col-start-5":!f.accordionLeft}])},[a.section.items.length>0?(u(!0),e(O,{key:0},E(a.section.items,(e,t)=>(u(),c(m,{key:e.id,ref_for:!0,ref:`listItemsRef`,item:e,index:t,onOpenModal:f.openContentModal},null,8,[`item`,`index`,`onOpenModal`]))),128)):(u(),e(`div`,oh,[i(h,{fill:`white`,class:`lg:mr-20 lg:mt-15 lg-max:mb-10`}),r[0]||=t(`h3`,{class:`heading text-4xl lg:text-6xl`},`No Newsletters Found`,-1)]))],2)]),(u(),c(d,{to:`#modal`},[l.modalActive?(u(),c(g,{key:0,content:a.section.items,"active-id":l.activeId,onChangeContent:f.setActiveItem,onCloseModal:f.closeModal},null,8,[`content`,`active-id`,`onChangeContent`,`onCloseModal`])):v(``,!0)]))])}var ch=T(th,[[`render`,sh]]),lh={name:`InsidersListWithFilter`,components:{ListItem:Gp,ForzaLogo:W,ContentModal:eh},props:{section:{type:Object,default:()=>{}},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},data(){return{content:{categories:{data:[{attributes:{name:`Available`,slug:`available`}},{attributes:{name:`Completed`,slug:`completed`}}]},items:{data:[{attributes:{heading:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. 1`,body:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio.`,date:`2022-04-25T00:00:00.000Z`,category:{data:{attributes:{name:`Available`,slug:`available`}}}}},{attributes:{heading:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. 2`,body:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio.`,date:`2022-04-25T00:00:00.000Z`,category:{data:{attributes:{name:`Available`,slug:`available`}}}}},{attributes:{heading:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. 3`,body:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio.`,date:`2022-04-25T00:00:00.000Z`,category:{data:{attributes:{name:`Available`,slug:`available`}}}}},{attributes:{heading:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. 4`,body:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio.`,date:`2022-04-25T00:00:00.000Z`,category:{data:{attributes:{name:`Available`,slug:`available`}}}}},{attributes:{heading:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. 5`,body:`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ac commodo risus, nec egestas enim. Duis tortor lacus, eleifend eu magna ac, dapibus rhoncus odio.`,date:`2022-04-25T00:00:00.000Z`,category:{data:{attributes:{name:`Available`,slug:`available`}}}}}]}},activeCategory:`available`,modalActive:!1,activeIndex:0}},computed:{filteredItems(){return!this.content?.items&&!this.content?.items?[]:this.content.items.filter(e=>e.category.slug===this.activeCategory)},accordionLeft(){return this.section?.listSide===`left`}},methods:{changeCategory(e){this.activeCategory=e},setActiveItem(e){this.activeIndex=e},closeModal(){this.modalActive=!1},openContentModal(e){this.modalActive=!0,this.activeIndex=e}}},uh={class:`sections-insidersListWithFilter mb-80 lg:mb-140`},dh={class:`container--grid container`},fh=[`textContent`],ph={key:1,class:`mb-30 flex gap-x-60 lg:mb-50`},mh=[`onClick`,`textContent`],hh=[`textContent`],gh={key:1,class:`flex h-full w-full items-center justify-center lg-max:flex-col`};function _h(n,r,a,s,l,f){let m=C(`ListItem`),h=C(`forza-logo`),g=C(`ContentModal`);return u(),e(`section`,uh,[t(`div`,dh,[t(`div`,{class:p([`col-span-12 row-start-1 flex flex-col lg:col-span-4 lg-max:mb-40`,{"lg:col-start-9 lg:items-end":f.accordionLeft}])},[a.section.heading?(u(),e(`h2`,{key:0,class:`heading mb-30 text-6xl lg:mb-50 lg:text-7xl`,textContent:o(a.section.heading)},null,8,fh)):v(``,!0),l.content.categories&&l.content.categories?(u(),e(`div`,ph,[(u(!0),e(O,
3null,E(l.content.categories,(t,n)=>(u(),e(`button`,{key:n,class:p({"font-bold text-motorsport underline decoration-2 underline-offset-8 ":l.activeCategory===t.slug}),onClick:e=>f.changeCategory(t.slug),textContent:o(t.name)},null,10,mh))),128))])):v(``,!0),a.section.body?(u(),e(`p`,{key:2,class:p([`text-white`,f.accordionLeft?`lg:pl-2/12 lg:text-right`:`lg:pr-2/12 lg:text-left`]),textContent:o(a.section.body)},null,10,hh)):v(``,!0)],2),t(`div`,{class:p([`col-span-12 flex flex-col gap-y-10 lg:col-span-8 lg:row-start-1`,{"lg:col-start-5":!f.accordionLeft}])},[f.filteredItems.length>0?(u(!0),e(O,{key:0},E(f.filteredItems,(e,t)=>(u(),c(m,{key:e.heading,item:e,index:t,onOpenModal:f.openContentModal},null,8,[`item`,`index`,`onOpenModal`]))),128)):(u(),e(`div`,gh,[i(h,{fill:`white`,class:`lg:mr-20 lg:mt-15 lg-max:mb-10`}),r[0]||=t(`h3`,{class:`heading text-4xl lg:text-6xl`},`No Surveys Found`,-1)]))],2)]),(u(),c(d,{to:`#modal`},[l.modalActive?(u(),c(g,{key:0,content:l.content.items,"active-index":l.activeIndex,onChangeContent:f.setActiveItem,onCloseModal:f.closeModal},null,8,[`content`,`active-index`,`onChangeContent`,`onCloseModal`])):v(``,!0)]))])}var vh=T(lh,[[`render`,_h]]),yh={name:`NewslettersList`,components:{ListItem:Es,Lottie:ce},setup(){let{outputFullDate:e}=ae();return{outputFullDate:e}},data(){return{loading:!0,newsletters:[]}},mounted(){this.getNewsletters(),this.$updatePage()},methods:{async getNewsletters(){this.loading=!0;let e=await de(`/api/newsletters?sort=date:desc&pagination[limit]=1000`);if(e?.data?.length){let t=[];for(let n=0;n<e.data.length;n++)t.push(e.data[n]);this.newsletters=t}this.loading=!1,this.$updatePage()}}},bh={key:0,class:`flex h-300 items-center justify-center`},xh={key:1,class:`grid grid-cols-12 gap-30`};function Sh(t,n,r,a,o,s){let l=C(`Lottie`),d=C(`ListItem`);return u(),c(N,{name:`fade`,mode:`out-in`},{default:g(()=>[o.loading?(u(),e(`div`,bh,[i(l,{lottie:`forza`,start:!0,class:`h-100 w-175`,speed:2})])):o.newsletters.length?(u(),e(`div`,xh,[(u(!0),e(O,null,E(o.newsletters,(e,t)=>(u(),c(d,{key:`newsletter-${t}`,item:e,path:`newsletter`,label:`View Newsletter`},null,8,[`item`]))),128))])):v(``,!0)]),_:1})}var Ch={name:`NewslettersArchive`,components:{NewslettersList:T(yh,[[`render`,Sh]])},props:{section:{type:Object,default:()=>({})},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},data(){return{profileState:null,currentProfile:null,pendingChange:!1,statusChecked:!1}
3},computed:{isNewsletterSubscriber(){let e=this.currentProfile?.forzaNewsletterProgramState??null,t=this.currentProfile?.forzaHorizonNewsletterProgramState??null,n=this.currentProfile?.forzaMotorsportNewsletterProgramState??null;return e===`Confirmed`||e===`Pending`||t===`Confirmed`||t===`Pending`||n===`Confirmed`||n===`Pending`}},mounted(){this.checkUser(),this.$updatePage()},methods:{checkUser(){let e=this.$auth.crmProfile;this.profileState=e?.profileState,this.currentProfile=e,this.pendingChange=e?.pendingUpdateCount>0,this.statusChecked=!0}}},wh={class:`sections-newslettersArchive mb-80 lg:mb-140`},Th={class:`container`},Eh={class:`justify-between items-center lg:flex`},Dh=[`textContent`],Oh={class:`flex justify-center items-center mb-50`};function kh(n,r,i,a,s,l){let d=K,f=C(`NewslettersList`);return u(),e(`section`,wh,[t(`div`,Th,[t(`div`,Eh,[i.section.heading?(u(),e(`h2`,{key:0,class:`heading mb-50 text-6xl lg:text-7xl`,textContent:o(i.section.heading)},null,8,Dh)):v(``,!0),t(`div`,Oh,[i.section.button?(u(),c(d,{key:0,button:i.section.button},null,8,[`button`])):v(``,!0)])]),s.statusChecked&&l.isNewsletterSubscriber?(u(),c(f,{key:0})):v(``,!0)])])}var Ah=T(Ch,[[`render`,kh]]),jh={name:`TickCircleIcon`},Mh={viewBox:`0 0 29 25`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`};function Nh(t,n,r,i,a,o){return u(),e(`svg`,Mh,[...n[0]||=[s(`<path d="M6.08789 17C9.93116 23.6667 19.5393 23.6667 23.3826 17C24.3143 15.3838 24.7378 13.6696 24.7352 12" stroke="currentColor" stroke-width="2"></path><path d="M4.73633 12C4.74442 6.78259 8.91325 2 14.7363 2C18.6245 2 21.7751 4.13231 23.442 7.1026" stroke="currentColor" stroke-width="2"></path><path d="M10.0646 20.8271C16.8607 24.4364 25.0031 19.3356 24.7209 11.6456C24.6525 9.78135 24.1013 8.10386 23.2128 6.69031" stroke="currentColor" stroke-width="2"></path><path d="M6.26389 17.3084C3.50093 12.8827 4.49479 6.61654 9.42954 3.52517C12.7246 1.461 16.5266 1.59541 19.516 3.22764" stroke="currentColor" stroke-width="2"></path><path d="M9.56225 13.058L13.5273 16.8037L19 8" stroke="currentColor" stroke-width="2"></path>`,5)]])}var Ph=T(jh,[[`render`,Nh]]),Fh={name:`IconLoading`},Ih={id:`L9`,version:`1.1`,xmlns:`http://www.w3.org/2000/svg`,"xmlns:xlink":`http://www.w3.org/1999/xlink`,x:`0px`,y:`0px`,viewBox:`0 0 100 100`,"enable-background":`new 0 0 0 0`,"xml:space":`preserve`};function Lh(n,r,i,a,o,s){return u(),e(`svg`,Ih,[...r[0]||=[t(`path`,{fill:`currentColor`,d:`M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50`},[t(`animateTransform`,{attributeName:`transform`,attributeType:`XML`,type:`rotate`,dur:`1s`,from:`0 50 50`,to:`360 50 50`,repeatCount:`indefinite`})],-1)]])}var Rh={name:`SurveyItem`,components:{ChevronSingle:B,TickCircle:Ph,Loading:T(Fh,[[`render`,Lh]])},props:{survey:{type:Object,default:()=>({})},index:{type:Number,default:0},recentlyClosedModal:{type:String,default:``}},emits:[`openModal`],computed:{surveyRecentlyClosed(){return this.survey.id===this.recentlyClosedModal}},methods:{convertDateToShort(e){if(!e||!e.includes(`T`))return``;let t=e.split(`T`);if(t.length===0)return``;let n=t[0].split(`-`);if(n.length<3)return``;let r=n[0],i=n[1];return`${n[2]} ${this.getMonthName(i)} ${r}`},getMonthName(e){switch(e){case`01`:return`Jan`;case`02`:return`Feb`;case`03`:return`Mar`;case`04`:return`Apr`;case`05`:return`May`;case`06`:return`Jun`;case`07`:return`Jul`;case`08`:return`Aug`;case`09`:return`Sep`;case`10`:return`Oct`;case`11`:return`Nov`;case`12`:return`Dec`;default:return``}},openModal(){this.$emit(`openModal`,this.survey.id)}}},zh=[`disabled`],Bh={class:`w-full py-10 lg:py-20 pl-15 lg:pl-30 pr-15 flex items-center bg-shade rounded-4 text-left`},Vh={class:`lg:flex mr-auto pr-20 lg:pr-40`},Hh=[`textContent`],Uh=[`textContent`],Wh={key:0,class:`rounded-full w-30 h-30 aspect-square flex items-center justify-center`},Gh={key:1,class:`rounded-full bg-dark w-30 h-30 aspect-square flex items-center justify-center`},Kh={key:2,class:`aspect-square w-30 h-30 flex items-center justify-center`};function qh(n,r,a,s,c,l){let d=C(`Loading`),f=C(`ChevronSingle`),p=C(`TickCircle`);return u(),e(`button`,{disabled:l.surveyRecentlyClosed||a.survey.completed,class:`parts-insidersListItem`,onClick:r[0]||=(...e)=>l.openModal&&l.openModal(...e)},[t(`div`,Bh,[t(`div`,Vh,[a.survey.date?(u(),e(`p`,{key:0,class:`text-sm lg:text-base lg-max:mb-5 lg:mr-45`,textContent:o(l.convertDateToShort(a.survey.date))}
3,null,8,Hh)):v(``,!0),a.survey.heading?(u(),e(`h3`,{key:1,class:`text-base mr-auto line-clamp-1`,textContent:o(a.survey.heading)},null,8,Uh)):v(``,!0)]),l.surveyRecentlyClosed?(u(),e(`span`,Wh,[i(d,{class:`w-full h-full`})])):a.survey.completed?(u(),e(`span`,Kh,[i(p,{class:`w-full h-full`})])):(u(),e(`span`,Gh,[i(f,{class:`w-10`})]))])],8,zh)}var Jh=T(Rh,[[`render`,qh]]),Yh={name:`InsidersSurveyModal`,components:{Close:Me},props:{survey:{type:Object,default:()=>{}}},emits:[`closeModal`],data:()=>({trap:null,currentProfile:null}),computed:{isInsidersSubscriber(){let e=this.currentProfile?.insiderProgramState??null;return e===`Confirmed`||e===`Pending`}},mounted(){this.trap=Um(this.$el,{onDeactivate:this.closeModal}),this.trap.activate(),document.body.style.overflow=`hidden`,this.checkUser()},beforeUnmount(){this.trap.deactivate(),document.body.style.overflow=`auto`},methods:{convertDateToShort(e){if(!e||!e.includes(`T`))return``;let t=e.split(`T`);if(t.length===0)return``;let n=t[0].split(`-`);if(n.length<3)return``;let r=n[0],i=n[1];return`${n[2]} ${this.getMonthName(i)} ${r}`},getMonthName(e){switch(e){case`01`:return`Jan`;case`02`:return`Feb`;case`03`:return`Mar`;case`04`:return`Apr`;case`05`:return`May`;case`06`:return`Jun`;case`07`:return`Jul`;case`08`:return`Aug`;case`09`:return`Sep`;case`10`:return`Oct`;case`11`:return`Nov`;case`12`:return`Dec`;default:return``}},checkUser(){let e=this.$auth.crmProfile;this.currentProfile=e,this.initSurvey(e)},closeModal(){this.$emit(`closeModal`,this.survey.id)},initSurvey(e){if(!this.survey?.surveyUrl||!this.isInsidersSubscriber||!e.xuid||!e.gamertag||!e.email)return!1;let t=this.survey.surveyUrl.split(`FormId=`).pop();if(!t||t.length<1)return!1}}},Xh={class:`section-surveyModal fixed inset-0 z-40 h-screen w-screen bg-dark/80 lg:pt-100`,tabIndex:`0`},Zh={class:`container--grid lg:container`},Qh={class:`col-span-12 flex h-screen flex-col bg-white px-20 py-20 sm:px-40 sm:py-40 lg:max-h-[calc(100vh-200px)] xl:col-span-10 xl:col-start-2 xl:px-130 xl:py-60 2xl:col-span-8 2xl:col-start-3`},$h={class:`mb-30 flex items-center lg:mb-50 lg-max:flex-col-reverse`},eg={class:`mr-auto lg:pr-40`},tg=[`textContent`],ng=[`textContent`],rg={class:`flex items-center lg-max:mb-40 lg-max:w-full`},ig={id:`surveyDiv`,ref:`surveyRef`,class:`prose h-full w-full max-w-none overflow-y-scroll bg-offWhite`};function ag(n,r,a,s,c,l){let d=C(`Close`);return u(),e(`section`,Xh,[t(`div`,Zh,[t(`div`,Qh,[t(`div`,$h,[t(`div`,eg,[a.survey.date?(u(),e(`p`,{key:0,class:`text-black`,textContent:o(l.convertDateToShort(a.survey.date))},null,8,tg)):v(``,!0),a.survey.heading?(u(),e(`h2`,{key:1,class:`heading text-4xl text-black`,textContent:o(a.survey.heading)},null,8,ng)):v(``,!0)]),t(`div`,rg,[t(`button`,{ref:`closeRef`,class:`w-20 text-black`,tabIndex:`0`,onClick:r[0]||=(...e)=>l.closeModal&&l.closeModal(...e)},[i(d)],512)])]),t(`div`,ig,null,512)])])])}var og={name:`InsidersSurveys`,components:{SurveyItem:Jh,ForzaLogo:W,SurveyModal:T(Yh,[[`render`,ag]]),Error:cp,Lottie:ce},props:{section:{type:Object,default:()=>{}},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}},setup(){return{useClientApi:de}},data(){return{apiTimeout:null,surveys:[],loading:!0,error:null,filters:[`Available`,`Completed`],activeFilter:`Available`,currentModal:null,recentlyClosedModal:null,recentlyClosedModalTimeout:null}},computed:{filteredSurveys(){let e=this.surveys.filter(e=>this.activeFilter===`Completed`?e.completed:!e.completed);return this.$updatePage(),e},accordionLeft(){return this.section?.listSide===`left`}},mounted(){this.getSurveys()},methods:{determineSurveyDirectLink(){if((this._.provides[P]||this.$route).query.survey){let e=this.surveys.find(e=>e.id===(this._.provides[P]||this.$route).query.survey);e&&!e.completed&&(this.$refs.section.scrollIntoView({behavior:`smooth`,block:`center`}),this.openContentModal(e.id))}},setFilter(e){this.activeFilter=e},closeModal(e){this.currentModal=null,this.recentlyClosedModal=e,this.setRecentlyClosedModalTimeout()},setRecentlyClosedModalTimeout(){clearTimeout(this.recentlyClosedModalTimeout),this.recentlyClosedModalTimeout=setTimeout(()=>
3{this.recentlyClosedModal=null,this.getSurveys()},12e4)},openContentModal(e){this.currentModal=this.surveys.find(t=>t.id===e)},getSurveys(){this.$refs.section.scrollIntoView({behavior:`smooth`,block:`center`}),this.error=null,this.loading=!0,this.surveys=[],this.useClientApi(`${this.$config.public.FORZA_API_BASE_URL}/api/v4/me/profile/programs/insiders/surveys`,{headers:{Authorization:`Bearer ${this.$auth.accessToken}`},server:!1,lazy:!0}).then(e=>{let t=[];e.length>0&&e.forEach(e=>{t.push({id:e.surveyId,date:e.createdDateTime,heading:e.surveyName,completed:e.isCompleted,surveyUrl:e.surveyUrl})}),t.sort((e,t)=>new Date(t.date)-new Date(e.date)),this.surveys=t,this.loading=!1,this.determineSurveyDirectLink(),this.$updatePage()}).catch(e=>{this.error=`There was an error retrieving surveys. Please refresh the page and try again.`,this.loading=!1})}}},sg={ref:`section`,class:`sections-insidersListWithFilter mb-80 lg:mb-140`},cg={class:`container--grid container`},lg=[`textContent`],ug={class:`mb-30 flex gap-x-60 lg:mb-50`},dg=[`onClick`,`textContent`],fg=[`textContent`],pg={key:0,class:`relative flex items-center justify-center py-50`},mg={key:3,class:`flex h-full w-full items-center justify-center lg-max:flex-col`};function hg(n,r,a,s,l,f){let m=C(`Lottie`),h=C(`Error`),g=C(`SurveyItem`),_=C(`forza-logo`),y=C(`SurveyModal`);return u(),e(`section`,sg,[t(`div`,cg,[t(`div`,{class:p([`col-span-12 row-start-1 flex flex-col lg:col-span-4 lg-max:mb-40`,{"lg:col-start-9 lg:items-end":f.accordionLeft}])},[a.section.heading?(u(),e(`h2`,{key:0,class:`heading mb-30 text-6xl lg:mb-50 lg:text-7xl`,textContent:o(a.section.heading)},null,8,lg)):v(``,!0),t(`div`,ug,[(u(!0),e(O,null,E(l.filters,(t,n)=>(u(),e(`button`,{key:`filter-${n}`,class:p([`font-bold transition-colors duration-200 hover:text-motorsport`,{"text-motorsport underline decoration-2 underline-offset-8 ":l.activeFilter===t}]),onClick:e=>f.setFilter(t),textContent:o(t)},null,10,dg))),128))]),a.section.body?(u(),e(`p`,{key:1,class:p([`text-white`,f.accordionLeft?`lg:pl-2/12 lg:text-right`:`lg:pr-2/12 lg:text-left`]),textContent:o(a.section.body)},null,10,fg)):v(``,!0)],2),t(`div`,{class:p([`col-span-12 flex flex-col gap-y-10 lg:col-span-8 lg:row-start-1`,{"lg:col-start-5":!f.accordionLeft}])},[l.loading?(u(),e(`div`,pg,[i(m,{lottie:`forza`,start:!0,class:`h-100 w-175`,speed:2})])):l.error?(u(),c(h,{key:1,message:l.error},null,8,[`message`])):f.filteredSurveys&&f.filteredSurveys.length?(u(!0),e(O,{key:2},E(f.filteredSurveys,(e,t)=>(u(),c(g,{key:e.id,survey:e,index:t,"recently-closed-modal":l.recentlyClosedModal,onOpenModal:f.openContentModal},null,8,[`survey`,`index`,`recently-closed-modal`,`onOpenModal`]))),128)):(u(),e(`div`,mg,[i(_,{fill:`white`,class:`lg:mr-20 lg:mt-15 lg-max:mb-10`}),r[0]||=t(`h3`,{class:`heading text-4xl lg:text-6xl`},`No Surveys Found`,-1)]))],2)]),(u(),c(d,{to:`#modal`},[l.currentModal?(u(),c(y,{key:0,survey:l.currentModal,onCloseModal:f.closeModal},null,8,[`survey`,`onCloseModal`])):v(``,!0)]))],512)}var gg=T(og,[[`render`,hg]]),_g={name:`InsidersWideImage`,props:{section:{type:Object,default:()=>({})},sectionindex:{type:Number,default:0},category:{type:Object,default:()=>{}},categoryName:{type:String,default:null},showLoginBtns:{default:!1,type:Boolean}}},vg={class:`sections-insiderWideImage mb-80 lg:mb-140`},yg={class:`lg:container container--grid`},bg={class:`col-span-12 w-full`};function xg(n,r,i,a,o,s){let l=R;return u(),e(`section`,vg,[t(`div`,yg,[t(`div`,bg,[i.section.image?(u(),c(l,{key:0,image:i.section.image,classname:`w-full`},null,8,[`image`])):v(``,!0)])])])}var Sg=T(_g,[[`render`,xg]]),Cg={name:`SectionSelector`,components:{PostGrid:bt,PostPanels:Vt,PostRow:en,PostDouble:_n,PostSingle:Nn,Brief:or,BoxLinks:xr,CalendarRows:Hr,CallToAction:hi,CardGrid:ji,Concept:Hi,ContentReleases:la,CoverPoster:_a,Expansion:Oa,FeaturedGamers:Po,Gallery:ns,Highlights:ps,HtmlBlock:vs,LeaderboardGrid:As,LinkPills:tc,LogoButtons:Ks,Panels:lc,Paragraph:mc,PlatformLinks:Tc,PopupBrief:Lc,Poster:Hc,QuizSocial:Ll,QuoteSlider:tu,RepeatedCTAs:Jn,Sample:fu,SampleSlider:Eu,Snippets:Pu,SocialRow:Gu,StorePoster:ad,ThumbGallery:Cd,Thumbnails:Bd,Trailer:af,Accordion:Pf,AccordionList:Hf,Flights:Sp,ImageContent:Op,Info:Lp,InsidersCallToAction:gf,List:ch,ListWithFilter:vh,NewslettersArchive:Ah,Surveys:gg,WideImage:Sg,Backgroun
3dTexture:pe,ChevronTriple:re},props:{page:{default:()=>{},type:Object},showLoginBtns:{default:!1,type:Boolean},showBackgroundTexture:{default:!0,type:Boolean}},setup(){return{store:V()}},computed:{isInsidersPage(){return(this._.provides[P]||this.$route)?.path===`/insiders`},isNewsletterPage(){return(this._.provides[P]||this.$route)?.path===`/newsletter`},is20thAnniversaryPage(){return(this._.provides[P]||this.$route)?.path===`/20th-anniversary`},categoryName(){return this.page?.category?.name?this.page.category.name.toLowerCase():null}},methods:{getComponent(e){let t=e.split(`.`),n=t[0].trim(),r=t[1].trim();if(n===`insiders`)switch(r){case`accordion`:return Pf;case`accordion-list`:return Hf;case`call-to-action`:return gf;case`flights`:return Sp;case`image-content`:return Op;case`info`:return Lp;case`list`:return ch;case`list-with-filter`:return vh;case`newsletters-archive`:return Ah;case`surveys`:return gg;case`wide-image`:return Sg}switch(r){case`article-grid`:return bt;case`article-panels`:return Vt;case`article-row`:return en;case`article-double`:return _n;case`article-single`:return Nn;case`event-grid`:return bt;case`event-panels`:return Vt;case`event-row`:return en;case`event-double`:return _n;case`event-single`:return Nn;case`video-grid`:return bt;case`video-panels`:return Vt;case`video-row`:return en;case`video-double`:return _n;case`video-single`:return Nn;case`image-content`:return Op;case`repeated-ctas`:return Jn;case`brief`:return or;case`box-links`:return xr;case`calendar-rows`:return Hr;case`call-to-action`:return hi;case`featured-gamers`:return Po;case`highlights`:return ps;case`insiders-controls`:return InsidersControls;case`insiders-join`:return InsidersJoin;case`insiders-leave`:return InsidersLeave;case`leaderboard-grid`:return As;case`logo-buttons`:return Ks;case`panels`:return lc;case`paragraph`:return mc;case`popup-brief`:return Lc;case`quote-slider`:return tu;case`sample`:return fu;case`sample-slider`:return Eu;case`snippets`:return Pu;case`social-row`:return Gu;case`thumbnails`:return Bd;default:return r}},marginTopSection(e){return!!(e===0&&this.page?.banner?.length>0&&this.page?.banner[0]?.__component&&![`banners.hero-small`,`banners.hero-cover-art`,`banners.hero-event`,`banners.hero-teaser`,`banners.hero-cta`,`banners.hero-platforms`].includes(this.page?.banner[0]?.__component))},marginBackground(){return!!(this.page?.banner?.length>0&&this.page?.banner[0]?.__component&&![`banners.hero-small`,`banners.hero-cta`,`banners.hero-platforms`].includes(this.page?.banner[0]?.__component))},topNoBanner(e){return!this.page?.hero&&e===0&&!this.page?.banner?.length},scrollToTop(){window.scrollTo({top:0,behavior:`smooth`})}}},wg={class:`sections relative`};function Tg(n,r,a,o,s,l){let d=C(`ChevronTriple`),f=C(`BackgroundTexture`);return u(),e(`div`,wg,[l.is20thAnniversaryPage?(u(),e(`div`,{key:0,class:p([`fixed right-20 top-[78%] z-30 hidden cursor-pointer overflow-hidden opacity-50 transition-opacity duration-300 ease-in-out hover:opacity-100 lg:block`,{"pointer-events-none":!o.store.scrolled}]),onClick:r[0]||=(...e)=>l.scrollToTop&&l.scrollToTop(...e)},[t(`div`,{class:p([`flex flex-col items-center justify-center gap-5 opacity-0 transition-opacity duration-300 ease-in-out`,{"opacity-100":o.store.scrolled}])},[r[1]||=t(`span`,{class:`text-center text-white`},`Top`,-1),i(d,{class:`h-15 w-15 -rotate-90`})],2)],2)):v(``,!0),(u(!0),e(O,null,E(a.page.sections,(e,t)=>(u(),c(_(l.getComponent(e.__component)),{key:t,section:e,category:a.page.category,"category-name":l.categoryName,class:p([`section parallax-section z-10`,{"-mt-100 sm:-mt-60 short:-mt-120 short:lg:-mt-200":l.marginTopSection(t),"top-no-banner":l.topNoBanner(t)}]),"data-sectionindex":t,sectionindex:t,"show-login-btns":a.showLoginBtns},null,8,[`section`,`category`,`category-name`,`class`,`data-sectionindex`,`sectionindex`,`show-login-btns`]))),128)),a.showBackgroundTexture?(u(),c(f,{key:1,"category-name":l.categoryName,class:p({"-mt-100 sm:-mt-60 short:-mt-120 short:lg:-mt-200":l.isInsidersPage||l.isNewsletterPage,"mt-140 lg:mt-200":!l.isInsidersPage&&!l.isNewsletterPage&&l.marginBackgroun
3d()})},null,8,[`category-name`,`class`])):v(``,!0)])}var Eg=T(Cg,[[`render`,Tg]]);export{Y as i,Le as n,Ie as r,Eg as t};
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.