1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3683],{83683:(e,a,l)=>{l.r(a),l.d(a,{default:()=>N});var t=l(95155),r=l(62893),s=l(92946),i=l(89041),n=l(56396),o=l(52259),c=l(65897),d=l(80076),u=l(88697),f=l(29065),g=l(95277),m=l(81884),p=l(81156),x=l(7641),h=l(49657),v=l(83617),y=l(62059),b=l(75889);let j=e=>{let{image:a,text:l,cta:r,colorSchemaKey:s,className:i}=e;return(0,t.jsxs)(p.default,{href:r,className:(0,b.QP)("group relative aspect-3/4 min-h-0 w-full overflow-hidden","after:absolute after:inset-0 after:z-1",i),children:[(0,t.jsx)(x.A,{src:(null==a?void 0:a.templateUrl)||"",alt:"Team History",transformations:y.N.image_portrait_medium,fill:!0,className:"ease-power-4 object-cover object-top transition-transform duration-2000 group-hover:scale-110"}),(0,t.jsxs)("div",{className:"lg:y-8 absolute inset-0 z-10 flex flex-col items-center justify-end gap-y-4 p-4 lg:gap-y-8 lg:px-12 lg:py-10",children:[l&&(0,t.jsx)(h.default,{markdownText:l,colorSchemaKey:s,classNames:"text-white"}),(0,t.jsx)(v.A,{variant:v.P["navigation-1"],className:(0,b.QP)("flex cursor-pointer items-center justify-center gap-2 overflow-hidden border-2 border-white px-6 py-3 text-center whitespace-nowrap transition-all duration-300","text-white group-hover:bg-white group-hover:text-black"),as:"span",children:"Learn More"})]})]})};var w=l(95661),A=l(46286);let N=async e=>{var a,l,p,x,h,y,N,T,k,C,S,P,_,F;let{data:K}=e,{slug:Q,isAnimated:z,isFullWidth:B,removeSpacingBottom:D,removeSpacingTop:E}=K.properties;if((0,s.g)(K,["slug"]))return null;let H=await (0,i.QH)(n.aV.teams,Q,{hasLinkRulesForRelationsAndParts:!0,hasThumbnailPlaceholder:!0,variables:K.variables});if(!H)return o.A.log("Cannot find ".concat(n.aV.teams," entity with slug ").concat(Q," "),c.T.warning),null;let I=(0,d.f)(K),L=(0,d.f)(K).teamDetails,M=(0,d.k)(K),R=null==H||null==(p=H.references)||null==(l=p.historyImage)||null==(a=l[0])?void 0:a.image,V=null==H||null==(y=H.references)||null==(h=y.greatsImage)||null==(x=h[0])?void 0:x.image,W=(e=>{var a;let l=null==(a=e.fields)?void 0:a.milestones;return l?(0,w.i)(l).filter(e=>{let[a,l]=e;return a&&l}):[]})(H);return(0,t.jsx)(f.A,{childrenComponentName:"team-details",backgroundColor:I.background,textColor:I.text,removeSpacingTop:E,removeSpacingBottom:D,children:(0,t.jsxs)(u.A,{isFullWidth:(0,g.uo)(B),horizontalSpacing:(0,g.uo)(B)?r.T9.containerFullWidth:r.T9.container,className:"flex flex-col gap-6 lg:gap-12",children:[R&&(0,t.jsxs)(m.default,{isAnimated:z,className:"flex flex-col items-center justify-around gap-6 md:flex-row lg:gap-12",children:[R&&(null==(N=H.fields)?void 0:N.historyCTA)&&(0,t.jsx)(j,{image:R,text:null==(T=H.fields)?void 0:T.historySectionDescription,cta:null==(k=H.fields)?void 0:k.historyCTA,colorSchemaKey:M,className:L.afterBackground}),V&&(null==(C=H.fields)?void 0:C.greatsCTA)&&(0,t.jsx)(j,{image:V,text:null==(S=H.fields)?void 0:S.greatsSectionDescription,cta:null==(P=H.fields)?void 0:P.greatsCTA,colorSchemaKey:M,className:L.afterBackground})]}),W.length>0&&(0,t.jsx)(m.default,{delay:.2,isAnimated:z,className:"flex flex-wrap justify-center gap-4 lg:gap-6",children:W.map(e=>{let[a,l]=e;return(0,t.jsxs)("div",{role:"group","aria-label":"".concat(a,": ").concat(l),className:(0,b.QP)("flex grow basis-[calc(50%-var(--spacing)*2)] flex-col justify-center gap-4 roun
1ded-lg px-4 py-6 text-center lg:grow-0 lg:basis-auto lg:px-10",L.milestone),children:[(0,t.jsx)(v.A,{variant:v.P["h5-uppercase"],className:"relative after:absolute after:-bottom-2 after:left-1/2 after:w-full after:-translate-x-1/2 after:border-b after:border-current after:opacity-30",children:a}),(0,t.jsx)(v.A,{variant:v.P["body-5"],children:l})]},a)})}),(null==(_=H.fields)?void 0:_.factsCTA)&&(0,t.jsx)(m.default,{delay:.4,isAnimated:z,className:"flex flex-wrap justify-center gap-4 lg:gap-6",children:(0,t.jsx)(A.A,{text:"Team Facts & Milestones",url:null==(F=H.fields)?void 0:F.factsCTA,colorSchemaKey:M})})]})})}}}]);
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.