1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2203,7560],{27565:(e,n,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[...slug]",function(){return l(33175)}])},33175:(e,n,l)=>{"use strict";l.r(n),l.d(n,{__N_SSG:()=>V,default:()=>Y});var t=l(6029),i=l(55729),o=l(17771),a=l(81278),s=l(3082),r=l(40157),c=l(26084),d=l(58311),u=l(61833),p=l(17497),g=l(46169),m=l(30267),h=l(17801),x=l(80575),b=l(82889),f=l(59109),v=l(15700),k=l(66121),y=l(12482),j=l(54513);let C="\n fragment PageBasicFields on PageBasic {\n ...PageBasicLinkToFields\n aiGenerated\n introductionCaption\n introduction\n introHeading\n introColumn1\n introColumn2\n introQuickLinks {\n ...ModuleQuickLinksFields\n }\n bodyText {\n json\n links {\n entries {\n block {\n ...ComponentReferenceFields\n ... on ModuleQuote {\n ...ModuleQuoteFields\n }\n ... on ModuleImage {\n ...ModuleImageFields\n }\n ... on ModuleSpacer {\n ...ModuleSpacerFields\n }\n ... on ModuleAudioPlayer {\n ...ModuleAudioPlayerFields\n }\n ... on ModuleVideo {\n ...ModuleVideoFields\n }\n ... on ModuleCarTechSpecs {\n ...ModuleCarTechSpecsFields\n }
1\n ... on ModuleQuickLinks {\n ...ModuleQuickLinksFields\n }\n ... on ModuleCookieConsentSettingsWidget {\n __typename\n sys {\n id\n }\n }\n }\n inline {\n ...ComponentReferenceFields\n ... on Microcopy {\n ...MicrocopyFields\n }\n ... on ContentTag {\n ...ContentTagFields\n }\n }\n hyperlink {\n ... on PageHomepage {\n ...ComponentReferenceFields\n sys {\n locale\n }\n }\n ... on PageSearch {\n ...ComponentReferenceFields\n sys {\n locale\n }\n }\n ... on PageArticle {\n ...ComponentReferenceFields\n sys {\n locale\n }\n slug\n }\n ... on PageBasic {\n ...ComponentReferenceFields\n sys {\n locale\n }\n slug\n }\n ... on PageCar {\n ...ComponentReferenceFields\n sys {\n locale\n }\n slug\n }\n ... on PageCategory {\n ...ComponentReferenceFields\n sys {\n locale\n }\n mainCategory\n }\n ... on PageDriver {\n ...ComponentReferenceFields\n sys {\n locale\n }\n slug\n }\n ... on PageRaceSeries {\n ...ComponentReferenceFields\n sys {\n locale\n }\n slug\n }\n ... on PageRaceEvent {\n ...ComponentReferenceFields\n sys {\n locale\n }\n slug\n }\n ... on PageTeam {\n ...ComponentReferenceFields\n sys {\n locale\n }\n slug\n }\n }\n }\n }\n }\n modulesCollection(limit: 20) {\n __typename\n items {\n __typename\n ... on Entry {\n sys {\n id\n }\n }\n }\n }\n tagsCollection {\n items {\n ...ContentTagFields\n }\n }\n partnerSet {\n ...PartnerSetFields\n }\n seoMetaDescription\n robotFollow\n robotIndex\n}\n ",F="\n query PageBasicCollection($locale: String!, $preview: Boolean, $slug: String!) {\n pageBasicCollection(\n limit: 1\n locale: $locale\n preview: $preview\n where: {slug: $slug}\n ) {\n items {\n ...PageBasicFields\n }\n }\n}\n ".concat(C,"\n").concat(s.e3,"\n").concat(r.o,"\n").concat(c.P,"\n").concat(d.Um,"\n").concat(u.k9,"\n").concat(p.NE,"\n").concat(g.QR,"\n").concat(m.lz,"\n").concat(h.St,"\n").concat(x.$D,"\n").concat(b.Mp,"\n").concat(f.c,"\n").concat(v.d1,"\n").concat(k.cz,"\n").concat(k.Uc),S=(e,n)=>(0,y.I)({queryKey:["PageBasicCollection",e],queryFn:(0,j.x8)(F,e),...n});S.getKey=e=>["PageBasicCollection",e],S.fetcher=(e,n)=>(0,j.x8)(F,e,n);let P="\n query PageBasic($locale: String!, $preview: Boolean, $id: String!) {\n page: pageBasic(id: $id, locale: $locale, preview: $preview) {\n ...PageBasicFields\n }\n}\n ".concat(C,"\n").concat(s.e3,"\n").concat(r.o,"\n").concat(c.P,"\n").concat(d.Um,"\n").concat(u.k9,"\n").concat(p.NE,"\n").concat(g.QR,"\n").concat(m.lz,"\n").concat(h.St,"\n").concat(x.$D,"\n").concat(b.Mp,"\n").concat(f.c,"\n").concat(v.d1,"\n").concat(k.cz,"\n").concat(k.Uc),M=(e,n)=>(0,y.I)({queryKey:["PageBasic",e],queryFn:(0,j.x8)(P,e),...n});M.getKey=e=>["PageBasic",e],M.fetcher=(e,n)=>(0,j.x8)(P,e,n);var w=l(35854),R=l(81085),E=l(72813),T=l(15617),_=l(94699),L=l(48643),B=l(45253),I=l(8711),D=l(61436),Q=l(43914),$=l(33824),A=l(24561),G=l(39864),z=l(21909),q=l(3141);let N=e=>{let{title:n,heroAsset:l,subtitle:o}=e,a=(0,i.useMemo)(()=>(0,R.jT)(l)&&(0,R.Uu)(l),[l]);return(0,t.jsxs)(E.a,{bgColor:a?"black":"grey50",pb:{base:6,md:10},pt:{base:a?24:48,md:64},position:"relative",children:[a&&(0,t.jsxs)(E.a,{as:q.P.div,position:"absolute",inset:0,zIndex:0,initial:"hidden",variants:{hidden:{opacity:0}
1,visible:{opacity:1,transition:{duration:.6,ease:[0,.34,.58,1]}}},animate:"visible",children:[(0,t.jsx)(T.d,{cloudinaryAsset:e.heroAsset,hideAiTag:!0,fill:!0,wrapperProps:{borderRadius:0},aspectRatio:{base:"16:9"}}),(0,t.jsx)(E.a,{position:"absolute",inset:0,zIndex:1,sx:{...z.B}}),(0,t.jsx)(E.a,{position:"absolute",inset:0,zIndex:2,bgColor:"porscheBlack",opacity:.6,bgGradient:"radiaul(transparent, porscheBlack)"})]}),(0,t.jsx)(A.H,{position:"relative",zIndex:3,children:(0,t.jsxs)(_.x,{templateColumns:{base:"repeat(2, 1fr)",md:"repeat(12, 1fr)"},children:[(0,t.jsx)(L.E,{colStart:1,colEnd:{base:3,md:6},children:(0,t.jsxs)(B.s,{justifyContent:"space-between",flexDirection:{base:"column-reverse",md:"column"},h:"full",...a&&{color:"allWhite"},children:[n&&(0,t.jsx)($.a,{children:(0,t.jsx)(G.h,{as:"h1",size:"displaySmall",...a&&{mb:{base:"16",md:0}},children:n})}),o&&(0,t.jsx)($.a,{children:(0,t.jsx)(I.E,{mt:{base:0,md:4},mb:{base:5,md:0},size:"caption",children:o})})]})}),a&&(0,t.jsx)(L.E,{colStart:{base:1,md:7},colEnd:{base:3,md:13},children:(0,t.jsx)($.a,{children:(0,t.jsx)(D.g,{ratio:"16:9",children:(0,t.jsx)(T.d,{cloudinaryAsset:e.heroAsset,aiTagPosition:"top-right",aiTagOffset:Q.i1.wrapperAligned,aspectRatio:{base:"16:9"},fill:!0})})})})]})})]})};var O=l(40084);let W=e=>{let{bodyText:n,modulesCollection:l,...i}=e;return(0,t.jsxs)("section",{children:[(0,t.jsx)(N,{...i}),(0,t.jsx)(O.c,{...e})]})},U=e=>{let{id:n,locale:l,preview:i}=e,{data:o,isLoading:a}=M({id:n,locale:l,preview:i},{...!i&&{staleTime:1/0},refetchOnWindowFocus:!1}),s=(0,w.qM)(null==o?void 0:o.page,{locale:l});return a||!s?null:(0,t.jsx)(W,{...s})};var K=l(86776);let H=e=>{var n,l,o,s,r;let{pageId:c,siteSettingsId:d,localeSlugMap:u}=e,{locale:p,isPreview:g}=(0,a.useRouter)(),{data:m}=M({id:c,locale:p,preview:g},{...!g&&{staleTime:1/0}}),h=(0,i.useMemo)(()=>{var e,n,l,t,i;return{title:String(null==m||null==(e=m.page)?void 0:e.title),description:null==m||null==(n=m.page)?void 0:n.seoMetaDescription,openGraphImage:null==m||null==(l=m.page)?void 0:l.heroAsset,noindex:null==m||null==(t=m.page)?void 0:t.robotIndex,nofollow:null==m||null==(i=m.page)?void 0:i.robotFollow}},[null==m||null==(n=m.page)?void 0:n.heroAsset,null==m||null==(l=m.page)?void 0:l.robotFollow,null==m||null==(o=m.page)?void 0:o.robotIndex,null==m||null==(s=m.page)?void 0:s.seoMetaDescription,null==m||null==(r=m.page)?void 0:r.title]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(K.l,{...h,siteSettingsId:d,localeSlugMap:u}),(0,t.jsx)(U,{id:c,locale:p,preview:g})]})};H.getLayout=e=>(0,t.jsx)(o.Y,{children:e});var V=!0;let Y=H},33824:(e,n,l)=>{"use strict";l.d(n,{a:()=>r});var t=l(6029),i=l(72813),o=l(2667),a=l(3141),s=l(55729);let r=e=>{let{delay:n=0,children:l}=e,[r,c]=(0,s.useState)(!1),d=(0,o.s)();return(0,s.useEffect)(()=>{r||(d.start("visible"),c(!0))},[d,r]),(0,t.jsx)(i.a,{as:a.P.div,animate:d,initial:"hidden",variants:{visible:{opacity:1,y:0,transition:{duration:.6,ease:[0,.34,.58,1],delay:n}},hidden:{opacity:0,y:20}},children:l})}},40084:(e,n,l)=>{"use strict";l.d(n,{c:()=>c});var t=l(6029),i=l(68396),o=l(40063),a=l(83679),s=l(72813),r=l(77560);let c=e=>{let{bodyText:n,modulesCollection:l,...c}=e;return(0,t.jsxs)(s.a,{as:"article",pt:{base:10,l:20},children:[(0,t.jsx)(i.C,{hasTopPadding:!1,...c}),"PageBasic"===c.__typename&&c.introQuickLinks&&(0,t.jsx)(r.ModuleQuickLinks,{...c.introQuickLinks}),n&&(0,t.jsx)(s.a,{className:"rte",mb:{base:10,l:20},children:(0,o.Z)(n)}),null==l?void 0:l.items.map((e,n)=>e&&(0,t.jsx)(a.Y,{componentProps:e,index:n},e.sys.id+crypto.randomUUID()))]})}},58311:(e,n,l)=>{"use strict";l.d(n,{Um:()=>a,wd:()=>r});var t=l(40157),i=l(12482),o=l(54513);let a="\n fragment ModuleQuickLinksFields on ModuleQuickLinks {\n ...ComponentReferenceFields\n title\n description\n theme\n linksCollection(limit: 12) {\n items {\n ... on PageArticle {\n ...ComponentReferenceFields\n title\n linkTitle\n slug\n }\n ... on PageBasic {\n ...ComponentReferenceFields\n title\n linkTitle\n slug\n }\n ... on PageCar {\n ...ComponentReferenceFields\n title\n linkTitle\n slug\n }\n ... on PageCategory {\n ...ComponentReferenceFields\n title\n linkTitle\n mainCategory\n }\n ... on PageDriver {\n ...ComponentReferenceFields\n title\n linkTitle\n slug\n }\n ... on PageHomepage {\n ...ComponentReferenceFields\n title\n linkTitle\n }\n ... on PageRaceSeries {\n ...ComponentReferenceFields\n title\n linkTitle\n slug\n }\n ... on PageRaceEvent {\n ...ComponentReferenceFields\n title\n linkTitle\n slug\n }\n ... on PageSearch {\n ...ComponentReferenceFields\n title\n linkTitle\n }\n ... on PageTeam {\n ...ComponentReferenceFields\n title\n linkTitle\n slug\n }\n ... on ExternalLink {\n ...ComponentReferenceFields\n label\n url\n }\n }\n }\n}
1\n ",s="\n query ModuleQuickLinks($locale: String!, $preview: Boolean!, $id: String!) {\n moduleQuickLinks(id: $id, locale: $locale, preview: $preview) {\n ...ModuleQuickLinksFields\n }\n}\n ".concat(a,"\n").concat(t.o),r=(e,n)=>(0,i.I)({queryKey:["ModuleQuickLinks",e],queryFn:(0,o.x8)(s,e),...n});r.getKey=e=>["ModuleQuickLinks",e],r.fetcher=(e,n)=>(0,o.x8)(s,e,n)},68396:(e,n,l)=>{"use strict";l.d(n,{C:()=>p});var t=l(6029),i=l(72813),o=l(94699),a=l(48643),s=l(8711),r=l(98168),c=l(69747),d=l(15407),u=l(93972);let p=e=>{var n;let{introductionCaption:l,introduction:p,introColumn1:g,introColumn2:m,introHeading:h,hasTopPadding:x=!0}=e,b="aiGenerated"in e?e.aiGenerated:void 0,f=(0,u.DO)(b),v=h&&g&&m,k=!!(null!=(n=null!=l?l:p)?n:v);return k||f?(0,t.jsxs)(c.R,{pt:x?{base:10,s:20}:{base:0,s:0},children:[f&&(0,t.jsx)(i.a,{pb:k?{base:5,md:10}:0,children:(0,t.jsx)(u.OI,{aiGenerated:b})}),k&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(o.x,{templateColumns:d.y9,gap:d.T_,children:[l&&(0,t.jsx)(a.E,{colStart:1,colEnd:{base:3,l:4},children:(0,t.jsx)(s.E,{size:"caption",color:"grey300",mt:{base:0,s:3},children:l})}),(0,t.jsx)(a.E,{colStart:{base:1,l:4},colEnd:{base:3,l:10},children:p&&(0,t.jsx)(s.E,{size:"x-large",children:p})})]}),v&&(0,t.jsxs)(o.x,{templateColumns:d.y9,gap:d.T_,pt:{base:10,s:20},children:[(0,t.jsx)(a.E,{colStart:{base:1},colEnd:{base:3,l:4},children:(0,t.jsx)(r.D,{as:"h2",size:"headingLarge",fontWeight:400,children:h})}),(0,t.jsx)(a.E,{colStart:{base:1,l:4},colEnd:{base:3,l:7},children:(0,t.jsx)(s.E,{size:"medium",children:g})}),(0,t.jsx)(a.E,{colStart:{base:1,l:7},colEnd:{base:3,l:10},children:(0,t.jsx)(s.E,{size:"medium",children:m})})]})]})]}):null}},77560:(e,n,l)=>{"use strict";l.r(n),l.d(n,{ModuleQuickLinks:()=>h});var t=l(6029),i=l(41684),o=l(3591),a=l(94699),s=l(48643),r=l(15407),c=l(8128),d=l(39864),u=l(78852),p=l(69747),g=l(21909);let m=e=>{let{children:n,isExternal:l,theme:a="light",...s}=e;return(0,t.jsxs)(i.S,{...s,p:4,color:"light"===a?"porscheBlack":"allWhite",_hover:{backgroundColor:"light"===a?"blackOpaque":"backgroundShading",...g.B},display:"flex",gap:2,justifyContent:"space-between",h:"full",alignItems:"center",rounded:"medium",transitionProperty:"var(--transition-property-common)",transitionDuration:"var(--transition-duration-moderate)",fontSize:{base:"mobileTextMedium",md:"desktopTextMedium"},lineHeight:{base:"mobileTextMedium",md:"desktopTextMedium"},fontWeight:400,...l?{target:"_blank",rel:"noopener noreferrer"}:{},children:[n,(0,t.jsx)(o.I,{name:l?"external":"arrow-right",theme:a})]})},h=e=>{let{title:n,description:l,linksCollection:i,theme:o}=e,g=null!=o?o:"light",h="light"===o||"dark"===o?o:void 0;return(0,t.jsx)(p.R,{className:"moduleQuickLinks",bg:"light"===g?"allWhite":"porscheBlack",color:"light"===g?"porscheBlack":"allWhite",children:(0,t.jsxs)(a.x,{templateColumns:r.y9,gap:r.T_,children:[(0,t.jsxs)(s.E,{colStart:1,colEnd:{base:3,l:4},children:[(0,t.jsx)(d.h,{children:n}),(0,t.jsx)(u.V,{children:l})]}),(0,t.jsx)(s.E,{colStart:{base:1,l:4},colEnd:{base:3,l:10},children:(0,t.jsx)(a.x,{templateColumns:"repeat(2, 1fr)",gridAutoRows:"1fr",rowGap:0,columnGap:r.T_,children:null==i?void 0:i.items.map(e=>e&&(0,t.jsx)(s.E,{colSpan:{base:2,l:1},children:(0,t.jsx)(c.w,{item:e,renderAs:m,renderExternalLinkAs:m,isExternal:"ExternalLink"===e.__typename,theme:h})},e.sys.id))})})]})})}},86776:(e,n,l)=>{"use strict";l.d(n,{l:()=>u});var t=l(6029),i=l(62867),o=l(81278),a=l(15808),s=l(55729),r=l(958),c=l(28218),d=l(52229);let u=e=>{var n,l,u,p,g;let{title:m,description:h,openGraphImage:x,siteSettingsId:b,noindex:f,nofollow:v,themeColor:k="#FFFFFF",localeSlugMap:y}=e,j=(0,d.usePathname)(),{locale:C,locales:F,defaultLocale:S,isPreview:P}=(0,o.useRouter)(),{data:M}=(0,a.q$)({id:b,locale:C,preview:P},{...!P&&{staleTime:1/0}}),w=(0,s.useMemo)(()=>{var e,n,l,t,i,o,a;let s=null!=m?m:null==M||null==(e=M.siteSettings)?void 0:e.seoDefaultMetaTitle,d=null!=h?h:null==M||null==(n=M.siteSettings)?void 0:n.seoDefaultMetaDescription,u=x||(null==M||null==(l=M.siteSettings)?void 0:l.seoDefaultOpenGraphImage),p=(0,c.U8)(u,x),g=null!=(o=null!=v?v:null==M||null==(t=M.siteSettings)?void 0:t.seoDefaultRobotFollow)?o:"follow",b=null!=(a=null!=f?f:null==M||null==(i=M.siteSettings)?void 0:i.seoDefaultRobotIndex)?a:"index",k="/"===j?"":j,P=(0,r.KQ)(S===C?j:"/".concat(C).concat(k)),w=y?(0,c.Al)(y,S):(0,c.Gh)(F,S,j);return{title:String(s),description:String(d),openGraphImage:p,languageAlternates:w,nofollow:(0,r.Vw)(g),noindex:(0,r.Cw)(b),canonical:P}},[m,null==M||null==(n=M.siteSettings)?void 0:n.seoDefaultMetaTitle,null==M||null==(l=M.siteSettings)?void 0:l.seoDefaultMetaDescription,null==M||null==(u=M.siteSettings)?void 0:u.seoDefaultOpenGra
1phImage,null==M||null==(p=M.siteSettings)?void 0:p.seoDefaultRobotFollow,null==M||null==(g=M.siteSettings)?void 0:g.seoDefaultRobotIndex,h,x,v,f,S,C,j,F,y]);return(0,t.jsx)(i.bV,{title:w.title,description:w.description,nofollow:w.nofollow,noindex:w.noindex,canonical:w.canonical,languageAlternates:w.languageAlternates,themeColor:k,twitter:{cardType:"summary_large_image"},openGraph:{type:"website",title:w.title,description:w.description,...w.openGraphImage&&{images:[{url:w.openGraphImage,alt:w.description,width:c.ZL,height:c.WB}]},locale:C,siteName:"Porsche Motorsport Hub",url:w.canonical}})}},93972:(e,n,l)=>{"use strict";l.d(n,{pY:()=>u,OI:()=>d,DO:()=>c});var t=l(6029),i=l(64873),o=l(94699),a=l(48643),s=l(16505),r=l(15407);let c=e=>"generated"===e?"pageGenerated":"modified"===e?"pageModified":null,d=e=>{let{aiGenerated:n}=e,l=c(n),{label:d}=(0,i.L)(null!=l?l:"pageGenerated");return l?(0,t.jsx)(o.x,{templateColumns:r.y9,gap:r.T_,children:(0,t.jsx)(a.E,{colStart:{base:1,l:4},colEnd:{base:3,l:10},children:(0,t.jsx)(s.L,{length:"long",label:d,kind:"text",maxWidth:{base:"100%",l:"316px"}})})}):null},u=e=>{var n;let{aiGenerated:l,mode:o="standard",...a}=e,r="generated"===(n=l)?"generated":"modified"===n?"modified":null,{label:c,srLabel:d}=(0,i.L)(null!=r?r:"generated","audio");return r?(0,t.jsx)(s.L,{kind:"audio",label:c,srLabel:d,mode:o,...a}):null}}},e=>{e.O(0,[363,8181,7771,636,6593,8792],()=>e(e.s=27565)),_N_E=e.O()}]); 2//# sourceMappingURL=[...slug]-c06f724acfdc7058.js.map
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.