1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,71931,e=>{"use strict";var l=e.i(91398),a=e.i(40633),s=e.i(91788);e.i(53578);var t=e.i(75083),i=e.i(29444),r=e.i(94498),n=e.i(53533),o=e.i(32365),x=e.i(62343),c=e.i(79220),d=e.i(38517),g=e.i(38916),p=e.i(45317),u=e.i(17890),m=e.i(3339),h=e.i(38249),f=e.i(99496);let b=({bigCardSlider:e,isSlider:s,name:t,content:i,classes:r,layout:n,index:c,searchQuery:p})=>{let u=(0,x.useLightbox)(),f=i?.video_url,b=(()=>{switch(n){case"layout_1":return c<2;case"layout_2":case"layout_3":return!0;case"layout_5":return 0===c;default:return!1}})();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("article",{tabIndex:0,onKeyDown:e=>{"Enter"===e.key&&f&&u.open(),"Escape"===e.key&&f&&u.close()},className:`group relative h-full transition-shadow duration-300 hover:underline max-lg:snap-start min-h-[365px] ${!b?"lg:col-span-1 lg:row-span-1":"layout_1"===n||"layout_5"===n?"lg:col-span-2 lg:row-span-1":"lg:col-span-1 lg:row-span-1"} max-lg:gap-4 ${r} ${s?e&&0===c?"lg:min-w-[656px]!":" lg:min-w-[308px]!":""}`,"aria-labelledby":`dubs-card-${c}`,children:(0,l.jsxs)("div",{className:"relative h-full w-full",children:[(0,l.jsxs)("div",{role:f?"button":"img",className:"hover:shadow-shadow-lg relative h-full overflow-hidden rounded-lg",onClick:f?u.open:void 0,children:[i?.image&&i.image.filename?(0,l.jsx)(d.StoryblokImage,{storyblokAsset:i.image,alt:"Image",className:"scale inset-0 h-[365px] w-full scale-[1.4] object-cover transition-all duration-300 ease-in-out group-hover:scale-[1.7]",customWidth:640,sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"}):i.thumbnail&&"string"==typeof i.thumbnail?(0,l.jsx)(d.RemoteImage,{remoteUrl:i.thumbnail,width:640,height:480,alt:"Video thumbnail",className:"scale inset-0 h-[365px] w-full scale-[1.4] object-cover transition-all duration-300 ease-in-out group-hover:scale-[1.7]",sizes:"(max-width: 768px) 100vw, (max-width: 1200px) 50vw, 33vw"}):(0,l.jsx)(d.LocalImage,{localImage:a.default,alt:"Image",className:"scale inset-0 h-[365px] w-full scale-[1.4] object-cover transition-all duration-300 ease-in-out group-hover:scale-[1.7]"}),(0,l.jsx)("div",{className:"absolute inset-0 flex items-end",children:(0,l.jsxs)("div",{className:"w-full rounded-b-lg bg-[linear-gradient(180deg,rgba(0,0,0,0.00)_37.41%,#000_89.27%)] p-5",children:[f&&(0,l.jsx)(m.PlayButton,{className:"mt-20 -translate-y-[10px] transition-all duration-200 group-hover:scale-[1.2]"}),(0,l.jsx)("h3",{id:`dubs-card-${c}`,className:`font-heading text-base-white transition-all duration-200 group-hover:translate-y-[-2px] ${b?"text-[24px] leading-[25.2px] tracking-[0px] lg:text-[30px] lg:leading-[31.5px]":"text-[24px] leading-[25.2px] tracking-[0px]"}`,children:p?(0,o.highlightSearchTerms)(t||"",p):t}),(0,l.jsx)("div",{className:"mt-2 flex items-center justify-between",children:(0,l.jsxs)("p",{className:"text-base-white mt-1 text-[10px] leading-normal font-medium tracking-[-0.02em] lg:text-[12px]",children:[i?.category||"Match Highlights",i?.sport_field&&(0,l.jsx)("span",{className:"bg-base-white mx-2 h-[4x] px-[0.5px]"}),i?.sport_field]})})]})})]}),(0,l.jsx)(h.PopupSocials,{url:f})]})}),f&&(0,l.jsx)(x.Lightbox,{controller:u,children:(0,l.jsx)(g.Video,{src:f})})]})},y=({disabled:e,onClick:a,isPrev:s,visibilityClass:t})=>(0,l.jsx)(p.Button,{disabled:e,type:"button",onClick:a,variant:"outline",className:`${t} bg-tertiary-tertiary1 flex h-[40px] w-[40px] items-center justify-center rounded-lg border-none p-0! ${s?"-mr-[0.5px]":""} group hover:opacity-80`,children:(0,l.jsx)(u.Icon,{name:"chevron",className:`h-[12px] w-[12px] ${s?"-rotate-180":""} fill-base-white group-hover:fill-base-white`})});e.s(["SlideButton",0,y,"VideoCard",0,b,"VideosGrid",0,function({heading:e,slider_switch:a,slider_variant:o,grid:x,link:d,featured:g,sport_field:p,theme:m,editable:h}){let v=(0,s.useRef)(null),[w,j]=(0,s.useState)(0),N="layout_2"===o,[_,F]=(0,s.useState)(N?653:310),$=(0,s.useCallback)((e,l)=>{e&&e.scrollTo({behavior:"smooth",left:l*(_+15)})},[_,15]),k=(0,s.useMemo)(()=>Math.floor(w/(_+15)),[w,_,15]),C=(0,s.useCallback)(()=>{$(v.current,k+1),N&&0===k&&F(653)},[N,k,$]),S=(0,s.useCallback)(()=>{$(v.current,k-1)},[k,$]),I={layout_1:"lg:grid-rows-2 lg:grid-cols-4 gap-[10px] xl:gap-8",layout_2:"lg:grid-cols-2 lg:grid-rows-2 gap-[10px] xl:gap-8",layout_3:"lg:grid-cols-2 gap-[10px] xl:gap-8",layout_4:"lg:grid-cols-4 gap-[10px] xl:gap-8",layout_5:"lg:grid-cols-4 lg:grid-rows-1 gap-[10px] xl:gap-8"}
1,T=(0,i.useBreakpoint)(),P=(0,t.useCachedStories)("latestDubs"),B=(0,s.useMemo)(()=>{if(g&&Array.isArray(g)&&g.length>0&&g.every(e=>"string"!=typeof e))return g;let e=String(p??"").toLowerCase().trim();return"all sports"!==e&&p?P.filter(l=>String(l.content?.sport_field??"").toLowerCase().trim()===e):P},[g,p,P]).slice(0,T&&T>2?({layout_1:6,layout_2:4,layout_3:2,layout_4:4,layout_5:3})[x]||6:10);return(0,l.jsx)("section",{className:`overflow-hidden max-lg:py-[75px] max-lg:pb-[54px] lg:py-[88px] ${n.themes[(0,r.getThemeValue)(m)]?.bg||n.themes["#FFFFFF"].bg} `,...(0,r.getEditableProps)(h),children:(0,l.jsxs)("div",{className:"mx-auto",children:[(e||d?.cached_url)&&(0,l.jsx)("div",{className:"container xl:max-w-[1300px]",children:e&&(0,l.jsx)("h2",{className:`font-heading2 text-4xl md:ml-5 md:text-5xl lg:text-6xl ${n.themes[(0,r.getThemeValue)(m)]?.heading||n.themes["#FFFFFF"]?.heading}`,children:d?.cached_url?(0,l.jsxs)(c.Link,{href:d?.cached_url,className:"group inline-flex items-center gap-[20px]",children:[e," ",(0,l.jsx)(u.Icon,{name:"big-arrow",className:`h-[39px] w-[38px] transition-all duration-200 group-hover:translate-x-3 ${n.themes[(0,r.getThemeValue)(m)]?.svg||n.themes["#FFFFFF"].svg}`})]}):e})}),a?(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{children:(0,l.jsx)("ul",{ref:v,onScroll:e=>{j(e.currentTarget.scrollLeft)},className:"no-scrollbar flex snap-mandatory flex-nowrap overflow-x-auto py-[34px] pr-[2000px] max-lg:hidden",children:(B||[]).map((e,s)=>(0,l.jsx)("li",{className:`snap-start rounded-xs ${0===s?"pl-4":"pl-8"}`,children:(0,l.jsx)("div",{className:"translate-right will-change-transform",children:(0,l.jsx)(b,{...e,layout:x,index:s,classes:"w-[310px] h-[365px]",isSlider:a,bigCardSlider:N})})},s))})}),B.length>3&&(0,l.jsxs)("div",{className:"container hidden max-w-[1300px] justify-end gap-[3px] lg:flex",children:[(0,l.jsx)(y,{disabled:0===k,onClick:()=>{S()},isPrev:!0,visibilityClass:""}),(0,l.jsx)(y,{disabled:k===B.length-3,onClick:()=>{C()},isPrev:!1,visibilityClass:""})]})]}):(0,l.jsx)("div",{className:"lg:container",children:(0,l.jsxs)("div",{className:`no-scrollbar flex py-[34px] max-lg:snap-x max-lg:snap-mandatory max-lg:justify-start max-lg:overflow-x-auto lg:grid ${I[x||"layout_1"]}`,children:[(B||[]).map((e,s)=>(0,l.jsx)(b,{...e,layout:x,index:s,isSlider:a,classes:`min-w-[326px] lg:min-w-[unset] ${0===s?"pl-4 lg:pl-0":""}`},s)),B?.length===0&&(0,l.jsx)("div",{className:"col-span-full flex h-[365px] w-full items-center justify-center",children:(0,l.jsx)(f.Spinner,{})})]})}),T&&a&&T<=i.medium&&(0,l.jsxs)("div",{className:`no-scrollbar grid-flow-col py-[34px] max-lg:grid max-lg:snap-x max-lg:snap-mandatory max-lg:justify-start max-lg:gap-0 max-lg:overflow-x-auto max-lg:pr-[400px] lg:grid ${I[x||"layout_1"]} gap-[unset]!`,children:[(B||[]).map((e,a)=>(0,l.jsx)(b,{...e,layout:x,classes:`min-w-[326px] max-lg:pl-[10px] ${0===a?"pl-5! !lg:pl-0":"pl-8"}`,index:a},a)),B?.length===0&&(0,l.jsx)("div",{className:"col-span-full flex h-[365px] w-full items-center justify-center",children:(0,l.jsx)(f.Spinner,{})})]})]})})}])},61174,function(e){e.n(e.i(71931))},3339,e=>{"use strict";var l=e.i(91398),a=e.i(17890);e.s(["PlayButton",0,function({className:e,iconClasses:s}){return(0,l.jsx)("div",{className:`before:content-[" "] before:bg-base-white inline-block h-[42px] w-[42px] transition-all duration-200 before:absolute before:inset-0 before:top-1/2 before:left-1/2 before:-translate-x-1/2 before:-translate-y-1/2 before:rounded-full ${e||"relative"}`,children:(0,l.jsx)(a.Icon,{className:`fill-secondary-secondary1 relative z-1 h-full w-full ${s}`,name:"play-button"})})}])}]);
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.