1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="87f1eb13-41c1-cdcf-3f9d-36638fa57585")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,723892,e=>{"use strict";var l=e.i(78775),t=e.i(449975),a=e.i(35685),s=e.i(396585),i=e.i(178082),n=e.i(139499),r=e.i(74927);let o="col-span-2 flex w-full items-start justify-center self-start",c="hidden";function d(e){return e>=728?{boxClassName:"aspect-[728/90] h-auto w-full max-w-[728px]",unit:i.HOME_FEED_LEADERBOARD_WIDE_UNIT}:{boxClassName:"aspect-[320/50] h-auto w-full max-w-[320px]",unit:i.HOME_FEED_LEADERBOARD_NARROW_UNIT}}function m(e){let l=e.parentElement,t=l?.getBoundingClientRect().width??0;if(t>0)return t;let a=e.getBoundingClientRect().width;return a>0?a:window.innerWidth}e.s(["HomeFeedAd",0,function({position:e,variant:u}){let[h,x]=(0,s.useAdSlotFillState)(),g=(0,r.useRef)(null),p=function(e){let[l,t]=(0,r.useState)(null);return(0,r.useLayoutEffect)(()=>{let l=e.current;l&&t(d(m(l)))},[e]),(0,r.useEffect)(()=>{let l=e.current;if(!l)return;let a=new ResizeObserver(()=>{let e=d(m(l));t(l=>l?.unit.adUnitPath===e.unit.adUnitPath&&l.unit.size[0]===e.unit.size[0]&&l.unit.size[1]===e.unit.size[1]?l:e)});return a.observe(l),l.parentElement&&a.observe(l.parentElement),()=>{a.disconnect()}},[e]),l}(g),f={page:"home",placement:"home-feed",position:String(e),variant:u};return"square"===u?(0,l.jsx)("div",{className:(0,n.cn)("col-span-1 flex w-full items-start justify-center self-start",!1===h&&c),children:(0,l.jsx)(t.AdSlotShell,{adUnitBreakpoints:i.HOME_FEED_SQUARE_AD_UNIT_BREAKPOINTS,boxClassName:"aspect-[300/250] h-auto w-full max-w-[300px]",className:"w-full items-start",fallback:(0,l.jsx)(a.HouseAdFallback,{format:"mpu300x250"}),onFillChange:x,reserveSpace:!1,slotId:"home-feed",targeting:f})}):p?(0,l.jsx)("div",{className:(0,n.cn)(o,!1===h&&c),ref:g,children:(0,l.jsx)(t.AdSlotShell,{adUnitBreakpoints:[p.unit],boxClassName:p.boxClassName,className:"w-full items-start",fallback:(0,l.jsx)(a.HouseAdFallback,{size:p.unit.size}),onFillChange:x,reserveSpace:!1,slotId:"home-feed",targeting:f})}):(0,l.jsx)("div",{"aria-hidden":!0,className:o,ref:g})}])},158519,e=>{"use strict";var l=e.i(78775),t=e.i(449975),a=e.i(516326),s=e.i(396585),i=e.i(139499);e.s(["HomeSectionLeaderboardAd",0,function({position:e}){let[n,r]=(0,s.useAdSlotFillState)();return(0,l.jsx)("div",{className:(0,i.cn)("w-full",!0===n&&"bg-background py-4 sm:py-6",!1===n&&"hidden"),children:(0,l.jsx)("div",{className:"mx-auto flex max-w-[1920px] justify-center px-4 sm:px-6 lg:px-16",children:(0,l.jsx)(t.AdSlotShell,{fallback:(0,l.jsx)(a.ResponsiveHouseAdFallback,{slotId:"leaderboard"}),onFillChange:r,reserveSpace:!1,slotId:"leaderboard",targeting:{page:"home",placement:"featured-videos",position:e}})})})}])},20311,e=>{"use strict";var l=e.i(78775),t=e.i(139499),a=e.i(74927);let s=["fs","gr","ww"];e.s(["WorldRankingsHomeGrid",0,function({children:e}){let i=a.Children.toArray(e);return(0,l.jsx)("div",{className:(0,t.cn)("mb-4 grid auto-cols-[350px] grid-flow-col gap-6 overflow-x-auto pb-4 [-webkit-overflow-scrolling:touch]","md:mb-0 md:auto-cols-auto md:grid-flow-row md:grid-cols-2 md:overflow-x-visible md:pr-6 md:pb-0","lg:grid-cols-3 lg:pr-16"),children:i.map((e,a)=>(0,l.jsx)("div",{className:(0,t.cn)("min-w-0",2===a&&"md:col-span-2 lg:col-span-1"),children:e},s[a]??a))})}])},849140,e=>{"use strict";let l=(0,e.i(577927).default)("calendar-days",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);e.s(["CalendarDays",0,l],849140)},403783,e=>{"use strict";var l=e.i(78775),t=e.i(908584),a=e.i(139499),s=e.i(733873);e.s(["ArticleCardSkeleton",0,function({compact:e=!1,compactOnMobile:i=!1,delay:n=0,titleLineClamp:r=2}){let o=i&&!e,c=e?3:r,d=e?"gap-2":o?"gap-2 sm:gap-3":"gap-3",m=e||o?"h-3.5 sm:h-4":"h-4";return(0,l.jsx)("div",{className:(0,a.cn)("group flex cursor-pointer flex-col",d),children:(0,l.jsxs)(s.motion.div,{animate:{o
2pacity:1,y:0},className:(0,a.cn)("flex flex-col",d),initial:!1,transition:{duration:.5,delay:n},children:[(0,l.jsx)("div",{className:"relative aspect-[16/9] overflow-hidden rounded-xl border border-2 bg-card",children:(0,l.jsx)(t.Skeleton,{className:"absolute inset-0 rounded-xl"})}),(0,l.jsxs)("div",{className:(0,a.cn)("flex flex-col",e?"gap-1":o?"gap-1 sm:min-h-[3.5rem] sm:gap-1.5":"min-h-[3.5rem] gap-1.5"),children:[e||o?(0,l.jsx)(t.Skeleton,{className:(0,a.cn)("w-3/4",e?"h-3":"h-3 sm:hidden")}):null,(0,l.jsxs)("div",{className:(0,a.cn)("flex flex-col whitespace-normal",3===c?"line-clamp-3 gap-1":"line-clamp-2 gap-1.5"),children:[(0,l.jsx)(t.Skeleton,{className:(0,a.cn)(m,"w-full max-w-[240px]")}),(0,l.jsx)(t.Skeleton,{className:(0,a.cn)(m,e||o?"w-[90%] sm:w-[85%]":"w-[85%]","max-w-[200px]")}),3===c?(0,l.jsx)(t.Skeleton,{className:"h-3.5 w-[70%] max-w-[160px]"}):null]}),(0,l.jsx)("span",{className:"text-foreground/80",children:(0,l.jsx)(t.Skeleton,{className:e||o?"h-2.5 w-20 sm:h-3 sm:w-28":"h-3 w-28"})})]})]})})}])},876418,e=>{"use strict";var l=e.i(78775),t=e.i(355674),a=e.i(357578),s=e.i(93705),i=e.i(781166),n=e.i(139499),r=e.i(607435);e.i(612942);var o=e.i(560328),c=e.i(733873);e.s(["ArticleCard",0,function({article:e,compact:d=!1,compactOnMobile:m=!1,delay:u=0,titleLineClamp:h=2}){let x=(0,r.useLocale)(),g=e.created?(0,s.formatDateOnly)(e.created,x):null,p=(0,i.getMediaImage)(e.cover),f=m&&!d,v=d?"gap-2":f?"gap-2 sm:gap-3":"gap-3";return(0,l.jsx)(o.Link,{className:(0,n.cn)("group flex cursor-pointer flex-col",v),href:`/articles/${e.slug}`,children:(0,l.jsxs)(c.motion.div,{animate:{opacity:1,y:0},className:(0,n.cn)("flex flex-col",v),initial:{opacity:0,y:20},transition:{duration:.5,delay:u},children:[(0,l.jsx)("div",{className:"relative aspect-[16/9] overflow-hidden rounded-xl border border-2 bg-card",children:p?(0,l.jsx)(a.MediaImage,{alt:e.title,className:"object-cover transition-transform duration-500 group-hover:scale-105",fill:!0,media:p,sizes:d||f?"(max-width: 640px) 50vw, (max-width: 1024px) 50vw, 33vw":"(max-width: 640px) 100vw, (max-width: 1024px) 50vw, 33vw",src:(0,i.getImageUrl)(p,"max_650_16_9")??void 0}):null}),(0,l.jsxs)("div",{className:(0,n.cn)("flex flex-col",d?"gap-1":f?"gap-1 sm:min-h-[3.5rem] sm:gap-1.5":"min-h-[3.5rem] gap-1.5"),children:[e.tags&&e.tags.length>0?(0,l.jsx)("div",{className:d?"truncate":f?"truncate sm:flex sm:flex-wrap sm:gap-2 sm:overflow-visible":"flex flex-wrap gap-2",children:(d?e.tags.slice(0,1):e.tags).map((e,a)=>(0,l.jsx)(t.ThemedText,{as:"span",className:(0,n.cn)("font-bold text-primary",d?"truncate":f?(0,n.cn)("truncate text-xs leading-5 sm:whitespace-nowrap sm:text-sm sm:leading-normal",a>0&&"hidden sm:inline"):"whitespace-nowrap"),variant:d?"eyebrow":"body2Bold",children:e.name},e.slug))}):null,(0,l.jsx)(t.ThemedText,{as:"p",className:(0,n.cn)("whitespace-normal font-bold transition-colors group-hover:text-primary",3===(d?3:h)?"line-clamp-3 leading-snug":"line-clamp-2",f&&"text-sm leading-snug sm:text-lg sm:leading-6"),variant:d?"body2Bold":"bodyLarge",children:e.title}),g&&(0,l.jsx)(t.ThemedText,{as:"span",className:(0,n.cn)("text-foreground/80",f&&"text-xs leading-4 sm:text-sm sm:leading-6"),variant:d?"legal":"descriptive",children:g})]})]})})}])},915249,e=>{"use strict";var l=e.i(78775),t=e.i(355674),a=e.i(876418),s=e.i(139499),i=e.i(733873);e.s(["ArticleGrid",0,function({title:e,articles:n,className:r,mobileTwoColumn:o=!1,titleLineClamp:c=2}){return(0,l.jsxs)(l.Fragment,{children:[e&&(0,l.jsx)(i.motion.div,{animate:{opacity:1,y:0},className:"mb-8",initial:{opacity:0,y:20},transition:{duration:.5,delay:.1},children:(0,l.jsx)(t.ThemedText,{as:"h4",className:(0,s.cn)("uppercase"),variant:"headline5Bold",children:e})}),0===n.length?(0,l.jsx)(t.ThemedText,{as:"p",variant:"bodyLarge",children:"No articles found"}):(0,l.jsx)("div",{className:(0,s.cn)(o?"grid grid-cols-2 gap-4 sm:grid-cols-2 sm:gap-8 lg:grid-cols-4":"grid grid-cols-1 gap-6 sm:grid-cols-2 sm:gap-8 lg:grid-cols-4",r),children:n.map((e,t)=>(0,l.jsx)("div",{children:(0,l.jsx)(a.ArticleCard,{article:e,compactOnMobile:o,delay:.15+.05*t,titleLineClamp:c})},e.id))})]})}])},663478,e=>{"use strict";var l=e.i(78775),t=e.i(537827),a=e.i(355674),s=e.i(539950),i=e.i(973008),n=e.i(781166),r=e.i(139499),o=e.i(75164);e.i(612942);var c=e.i(560328);e.s(["ArticleHero",0,function({item:e,playable:d=!0,backgroundContent:m}){let u=(0,o.useTranslations)("web.hero.article"),h=e.article;if(!h)return null;let x=h.cover;!d&&x&&(x=(0,n.getMediaImage)(x));let g=e.cta.uri,p=g.startsWith("http");return(0,l.jsxs)("section",{className:(0,r.cn)("dark relative w-full overflow-hidden",s.HERO_MIN_HEIGHT_CLASS,s.HERO_AURA_BASE_BG_CLASS),children:[(0,l.jsx)("div",{className:"absolute inset-0 h-full w-full overflow-hidden",children:m?(0,l.jsx)("div",{className:(0,r.cn)(s.HERO_MEDIA_COVER_CLASS,x?.type===t.MediaTypeEnum.IMAGE&&s.HERO_MEDIA_COVER_MOBILE_IMAGE_CLASS),children:m}):null}),(0,l.jsx)(s.HeroOverlay,{}),(0,l.jsx)("div",{className:(0,r.cn)("relative z-10 flex flex-col justify-end pt-8 pb-14 sm:pt-12 sm:pb-64 lg:justify-center lg:py-16",s.HERO_MIN_HEIGHT_CLASS),children:(0,l.jsx)("div",{className:"max-w-[1920px] px-4 sm:px-6 lg:px-16",children:(0,l.jsx)("div",{className:"flex flex-col gap-8 lg:flex-row lg:items-center lg:justify-between lg:gap-16",children:(0,l.jsxs)("div",{className:"flex w-full flex-col items-start lg:w-1/2 lg:max-w-[50vw]",children:[p?(0,l.jsx)("a",{href:g,rel:"noopener noreferrer",target:"_blank",children:(0,l.jsx)(a.ThemedText,{as:"h2",className:"uppercase",variant:"headline1",children:e.headline})}):(0,l.jsx)(c.Link,{href:g,children:(0,l.jsx)(a.ThemedText,{as:"h2",className:"uppercase",variant:"headline1",children:e.headline})}),(0,l.jsx)("div",{className:"mt-4 w-full sm:mt-8",children:(0,l.jsx)(i.Button,{asChild:!0,className:"w-full px-24 sm:w-auto",size:"xl",variant:"hero",children:p?(0,l.jsx)("a",{href:g,rel:"noopener noreferrer",target:"_blank",children:e.cta.label??u("cta")}):(0,l.jsx)(c.Link,{href:g,children:e.cta.label??u("cta")})})})]})})})})]})}])},321614,e=>{"use strict";var l=e.i(78775),t=e.i(876418),a=e.i(355674),s=e.i(357578),i=e.i(973008),n=e.i(93705),r=e.i(781166),o=e.i(139499),c=e.i(607435);e.i(612942);var d=e.i(560328),m=e.i(733873);function u({article:e,coverContent:t}){let h=(0,c.useLocale)(),x=(0,r.getMediaImage)(e.author?.cover),g=e.created?(0,n.formatDateOnly)(e.created,h):null,p=e?.tags;return(0,l.jsxs)("div",{className:"mb-8 grid grid-cols-1 items-center gap-8",children:[(0,l.jsx)(m.motion.div,{animate:{o
2pacity:1,scale:1},className:"relative h-auto w-full",initial:{opacity:0,scale:.95},transition:{duration:.6,delay:.3},children:(0,l.jsx)("div",{className:"relative aspect-video w-full overflow-hidden rounded-xl bg-card",children:(0,l.jsx)(d.Link,{href:`/articles/${e.slug}`,children:t})})}),(0,l.jsxs)("div",{className:"flex flex-col space-y-3 sm:space-y-4",children:[p&&p.length>0?(0,l.jsx)(m.motion.div,{animate:{opacity:1,y:0},className:"z-20 -mt-20 ml-4 flex w-fit cursor-pointer items-center gap-2 rounded-full p-1 transition-colors sm:gap-3",initial:{opacity:0,y:20},transition:{duration:.5,delay:.1},children:p.map((e,t)=>(0,l.jsx)("span",{className:(0,o.cn)(0===t?"inline-flex items-center rounded-full bg-neutral-black px-3 py-1 font-medium text-white text-xs sm:text-sm dark:bg-white dark:text-black":"text-neutral-900 text-sm sm:text-base dark:text-foreground"),children:(0,l.jsx)(d.Link,{href:`/tags/${e.slug}`,children:e.name})},e.slug))}):null,e.author?(0,l.jsxs)(m.motion.div,{animate:{opacity:1,y:0},className:"flex select-none items-center gap-3 pt-2 lg:gap-4 lg:pt-4",initial:{opacity:0,y:20},transition:{duration:.5,delay:.5},children:[(0,l.jsx)("div",{className:"flex -space-x-2",children:(0,l.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-full border-2 bg-card sm:h-12 sm:w-12",children:(0,l.jsx)(d.Link,{href:`/authors/${e.author.slug}`,children:x?(0,l.jsx)(s.MediaImage,{alt:e.author.title,className:"h-10 w-10 rounded-full object-cover",height:80,media:x,src:(0,r.getImageUrl)(x,"thumbnail_square")??void 0,width:80}):(0,l.jsx)("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-muted text-muted-foreground",children:(0,l.jsx)(a.ThemedText,{as:"span",className:"text-foreground/80",variant:"body2Bold",children:e.author.title.charAt(0)})})})})}),(0,l.jsxs)("div",{className:"flex flex-col",children:[(0,l.jsx)(a.ThemedText,{as:"span",className:"text-primary",variant:"body2Bold",children:(0,l.jsx)(d.Link,{className:"transition-colors hover:text-primary/80",href:`/authors/${e.author.slug}`,children:e.author.title})}),(0,l.jsx)(a.ThemedText,{as:"span",className:"text-foreground/80",variant:"descriptive",children:g})]})]}):null,(0,l.jsx)(m.motion.div,{animate:{opacity:1,y:0},initial:{opacity:0,y:20},transition:{duration:.5,delay:.2},children:(0,l.jsx)(a.ThemedText,{as:"h3",className:"text-lg uppercase leading-6 md:text-4xl md:leading-11",variant:"headline3Bold",children:(0,l.jsx)(d.Link,{className:"transition-colors hover:text-primary",href:`/articles/${e.slug}`,children:e.title})})}),(0,l.jsx)(m.motion.div,{animate:{opacity:1,y:0},initial:{opacity:0,y:20},transition:{duration:.5,delay:.3},children:(0,l.jsx)(a.ThemedText,{as:"p",className:"text-sm leading-5 md:text-xl md:leading-normal",variant:"bodyLarge",children:e.teasing?(0,o.stripHtml)(e.teasing):null})}),(0,l.jsx)(m.motion.div,{animate:{opacity:1,y:0},className:"hidden flex-col items-start gap-3 lg:flex lg:flex-row lg:items-center lg:gap-4",initial:{opacity:0,y:20},transition:{duration:.5,delay:.4},children:(0,l.jsx)(i.Button,{asChild:!0,className:"w-full cursor-pointer rounded-full bg-[#F58220] px-6 py-2.5 font-medium text-sm text-white transition-colors duration-200 hover:bg-[#F58220]/80 sm:w-auto sm:text-base dark:bg-[#F58220] dark:text-white dark:hover:bg-[#F58220]/80",variant:"hero",children:(0,l.jsx)(d.Link,{href:`/articles/${e.slug}`,children:"Read now"})})})]})]})}var h=e.i(75164),x=e.i(235198);let g=(0,e.i(577927).default)("newspaper",[["path",{d:"M15 18h-5",key:"95g1m2"}],["path",{d:"M18 14h-8",key:"sponae"}],["path",{d:"M4 22h16a2 2 0 0 0 2-2V4a2 2 0 0 0-2-2H8a2 2 0 0 0-2 2v16a2 2 0 0 1-4 0v-9a2 2 0 0 1 2-2h2",key:"39pd36"}],["rect",{width:"8",height:"4",x:"10",y:"6",rx:"1",key:"aywv1n"}]]);var p=e.i(74927);e.s(["ArticleShowcaseHero2",0,function({inFeedAds:e=[],items:a}){let s=(0,h.useTranslations)("web.articles.cta");if(0===a.length)return null;let n=a[0],r=a.slice(1),o=e.reduce((e,l)=>{let t=e.get(l.afterArticleIndex)??[];return t.push(l),e.set(l.afterArticleIndex,t),e},new Map);return(0,l.jsxs)("div",{className:"grid grid-cols-1 items-start gap-8 lg:grid-cols-2 lg:gap-12",children:[(0,l.jsx)("div",{className:"lg:sticky lg:top-24",children:(0,l.jsx)(u,{article:n.article,coverContent:n.coverContent})}),(0,l.jsxs)("div",{children:[(0,l.jsx)("div",{className:"grid grid-cols-2 gap-4 sm:gap-8",children:r.map((e,a)=>(0,l.jsxs)(p.Fragment,{children:[(0,l.jsx)("div",{children:(0,l.jsx)(t.ArticleCard,{article:e.article,compact:!0,delay:.15+.05*a})}),o.get(a)?.map(e=>(0,l.jsx)(p.Fragment,{children:e.node},e.key))]}
2,e.article.id))}),(0,l.jsx)("div",{className:"mt-4 text-right",children:(0,l.jsx)(i.Button,{asChild:!0,className:"pr-0 font-bold text-lg",size:"lg",variant:"link",children:(0,l.jsxs)(x.Link,{className:"inline-flex items-center gap-2",href:"/articles",prefetch:!1,children:[(0,l.jsx)(g,{"aria-hidden":!0,className:"size-5 sm:hidden"}),s("label")]})})})]})]})}],321614)},833300,e=>{"use strict";var l=e.i(78775),t=e.i(139499);e.i(612942);var a=e.i(560328),s=e.i(785266),i=e.i(733873),n=e.i(74927);e.s(["ArticleShowcase",0,function({items:e}){let r=e.map(e=>e.article),[o,c]=(0,n.useState)(r[0]?.id??null),d=e.find(e=>e.article.id===o),m=d?.article,u=d?.coverContent??null;return 0===r.length?null:(0,l.jsxs)("div",{className:"grid grid-cols-1 gap-2 2xl:grid-cols-[1fr_600px] 2xl:gap-4",children:[(0,l.jsx)("div",{className:"relative flex flex-col",children:r.map((e,s)=>{let n=o===e.id,r=(0,l.jsxs)(l.Fragment,{children:[n&&(0,l.jsx)(i.motion.div,{className:"absolute inset-0 rounded-lg bg-[#F58220] dark:bg-white",layoutId:"active-background",transition:{type:"spring",stiffness:300,damping:30}}),(0,l.jsx)("div",{className:`relative flex items-center justify-between gap-4 px-4 sm:px-6 ${n?"":"transition-opacity duration-300 hover:opacity-60"}`,children:(0,l.jsxs)("div",{className:"min-w-0 flex-1",children:[(0,l.jsx)("h2",{className:`mb-2 line-clamp-2 font-medium text-md tracking-tight sm:text-md md:text-lg lg:text-xl ${n?"text-white dark:text-neutral-900":"text-neutral-900 dark:text-white"}`,children:e.title}),e.teasing&&(0,l.jsx)("p",{className:`text-sm ${n?"text-neutral-300 dark:text-neutral-600":"text-neutral-600 dar
2k:text-neutral-400"}`,children:(0,t.stripHtml)(e.teasing??"")})]})})]});return n?(0,l.jsx)(a.Link,{href:`/articles/${e.slug}`,children:(0,l.jsx)(i.motion.div,{animate:{opacity:1},className:"relative w-full py-6 text-left sm:py-8",initial:{opacity:.5},transition:{duration:.4,delay:.1*s},children:r})},e.id):(0,l.jsx)(i.motion.button,{animate:{opacity:1},className:"relative w-full py-6 text-left sm:py-8",initial:{opacity:.5},onClick:()=>c(e.id),transition:{duration:.4,delay:.1*s},children:r},e.id)})}),(0,l.jsx)("div",{className:"relative order-first h-[300px] w-full overflow-hidden sm:h-[400px] 2xl:mb-0 2xl:h-full 2xl:rounded-none",children:(0,l.jsx)(s.AnimatePresence,{initial:!1,children:m&&(0,l.jsx)(i.motion.div,{animate:{opacity:1},className:"absolute inset-0 h-full w-full object-cover",initial:{opacity:.5},transition:{duration:.6,ease:[.4,0,.2,1]},children:(0,l.jsx)(a.Link,{href:`/articles/${m.slug}`,children:u})},m.id)})})]})}])},467999,e=>{"use strict";var l=e.i(78775),t=e.i(355674),a=e.i(416523),s=e.i(786713),i=e.i(826516),n=e.i(973008),r=e.i(719521),o=e.i(139499),c=e.i(75164),d=e.i(235198),m=e.i(849140),u=e.i(733873);function h({cardCtaLabel:e,event:t,onCardClick:a,wrapperClassName:s}){return(0,l.jsx)("div",{className:s,children:(0,l.jsx)(i.EventCard,{ctaLabel:e,event:t,...a?{onClick:()=>{a(t)}}:{}})})}function x({branding:e,className:t,label:a,icon:s="none",onColor:i=!1}){return(0,l.jsx)(n.Button,{asChild:!0,className:(0,o.cn)("font-bold text-lg",i&&"text-white hover:text-white",t),size:"lg",variant:"link",children:(0,l.jsxs)(d.Link,{className:"none"===s?void 0:"inline-flex items-center gap-2",href:"/events",prefetch:!1,style:{color:i?"#fff":e?`var(--${e}-primary)`:void 0},children:["before-mobile"===s||"before"===s?(0,l.jsx)(m.CalendarDays,{"aria-hidden":!0,className:(0,o.cn)("size-5","before-mobile"===s&&"sm:hidden")}):null,(0,l.jsx)("span",{className:"before-mobile"===s?"max-sm:sr-only":void 0,children:a})]})})}e.s(["EventGrid",0,function({branding:e,cardCtaLabel:i,events:n,mobileCarousel:d=!1,title:m,limit:g,onCardClick:p}){let f=(0,c.useTranslations)("web.events.cta");if(!n||0===n.length)return null;let v=i??f("viewEvent"),j=3;g&&(g>=4||1===g?j=4:g<3&&(j=2));let w="xl:max-w-[calc((100%-4rem)/3)]";return 2===j?w="xl:max-w-[calc((100%-2rem)/2)]":j>=4&&(w="xl:max-w-[calc((100%-6rem)/4)]"),(0,l.jsxs)(l.Fragment,{children:[m&&(0,l.jsx)("div",{className:"dark grid grid-cols-1 gap-6 sm:gap-8 md:grid-cols-1 md:items-stretch lg:grid-cols-1 xl:grid-cols-1",children:(0,l.jsxs)(u.motion.div,{animate:{opacity:1,y:0},className:"mb-8 flex items-center justify-between",initial:{opacity:0,y:20},transition:{duration:.5,delay:.1},children:[(0,l.jsx)(t.ThemedText,{as:"h4",className:(0,o.cn)(r.fontFedra,"uppercase"),variant:"headline3Bold",children:m}),(0,l.jsx)(x,{branding:e,className:d?"hidden sm:mr-6 sm:inline-flex sm:pr-0 lg:mr-16":"pr-0",icon:d?"none":"before-mobile",label:f("label"),onColor:!!e})]})}),d?(0,l.jsxs)(a.ScrollArea,{className:"w-full md:hidden",children:[(0,l.jsx)("div",{className:"mb-4 flex w-max flex-nowrap items-stretch gap-6",children:n.map(e=>(0,l.jsx)(h,{cardCtaLabel:v,event:e,onCardClick:p,wrapperClassName:(0,o.cn)("min-h-0 min-w-0 self-stretch",s.EXPANDABLE_CAROUSEL_SLIDE_WIDTH_CLASS)},e.id))}),(0,l.jsx)(a.ScrollBar,{orientation:"horizontal"})]}):null,(0,l.jsx)("div",{className:(0,o.cn)(d?"hidden md:grid md:pr-6 lg:pr-16":"grid grid-cols-1 gap-6 sm:gap-8 md:grid-cols-2 md:items-stretch lg:grid-cols-2 xl:grid-cols-4",d&&"gap-6 sm:gap-8 md:grid-cols-2 md:items-stretch lg:grid-cols-2 xl:grid-cols-4",j&&`xl:grid-cols-${j}`),children:n.map(e=>(0,l.jsx)(h,{cardCtaLabel:v,event:e,onCardClick:p,wrapperClassName:(0,o.cn)("h-full min-w-0",j>1&&1===n.length&&(0,o.cn)("md:col-span-2 md:mx-auto md:w-full md:max-w-[calc((100%-2rem)/2)] xl:col-span-full",w))},e.id))}),m&&d?(0,l.jsx)("div",{className:"mt-2 flex justify-end sm:hidden",children:(0,l.jsx)(x,{branding:e,className:"pr-6",icon:"before",label:f("label")})}):null]})}])},597559,e=>{"use strict";var l=e.i(78775),t=e.i(537827),a=e.i(355674),s=e.i(539950),i=e.i(973008),n=e.i(93705),r=e.i(781166),o=e.i(139499),c=e.i(607435),d=e.i(75164);e.i(612942);var m=e.i(560328),u=e.i(733873);e.s(["EventHero",0,function({item:e,playable:h=!0,backgroundContent:x}){let g=(0,c.useLocale)(),p=(0,d.useTranslations)("web.hero.event"),f=e.event;if(!f)return null;let v=f.date.start?(0,n.formatDateOnly)(f.date.start.toISOString(),g):null,j=f.date.end?(0,n.formatDateOnly)(f.date.end.toISOString(),g):null,w=v&&j?`${v} - ${j}`:null,b=f.cover??null;!h&&b&&(b=(0,r.getMediaImage)(b));let y=e.cta.uri,N=y.startsWith("http");return(0,l.jsxs)("section",{className:(0,o.cn)("dark relative w-full overflow-hidden",s.HERO_MIN_HEIGHT_CLASS,s.HERO_AURA_BASE_BG_CLASS),children:[(0,l.jsx)("div",{className:"absolute inset-0 h-full w-full overflow-hidden",children:x?(0,l.jsx)("div",{className:(0,o.cn)(s.HERO_MEDIA_COVER_CLASS,b?.type===t.MediaTypeEnum.IMAGE&&s.HERO_MEDIA_COVER_MOBILE_IMAGE_CLASS),children:x}):null}),(0,l.jsx)(s.HeroOverlay,{}),(0,l.jsx)("div",{className:(0,o.cn)("dark relative z-10 flex flex-col justify-end pt-8 pb-14 sm:pt-12 sm:pb-64 lg:justify-center lg:py-16",s.HERO_MIN_HEIGHT_CLASS),children:(0,l.jsx)("div",{className:"max-w-[1920px] px-4 sm:px-6 lg:px-16",children:(0,l.jsx)("div",{className:"flex flex-col gap-8 lg:flex-row lg:items-center lg:justify-between lg:gap-16",children:(0,l.jsxs)("div",{className:"flex w-full flex-col items-start lg:w-1/2 lg:max-w-[50vw]",children:[(0,l.jsxs)(u.motion.p,{animate:{o
2pacity:1,y:0},className:"mb-2 flex items-center justify-center gap-2 text-white text-xs sm:text-sm",initial:{opacity:0,y:10},transition:{duration:.5,delay:.3},children:[(0,l.jsx)("span",{children:f.age.join(", ").toUpperCase()}),(0,l.jsx)("span",{className:"text-white",children:"â¢"}),(0,l.jsx)("span",{children:f.sport.join(", ").toUpperCase()})]}),N?(0,l.jsx)("a",{href:y,rel:"noopener noreferrer",target:"_blank",children:(0,l.jsx)(a.ThemedText,{as:"h2",className:"uppercase",variant:"headline1",children:e.headline})}):(0,l.jsx)(m.Link,{href:y,children:(0,l.jsx)(a.ThemedText,{as:"h2",className:"uppercase",variant:"headline1",children:e.headline})}),(0,l.jsxs)(u.motion.div,{animate:{opacity:1,y:0},className:"mb-6 flex items-center gap-2 text-sm text-white sm:text-base",initial:{opacity:0,y:10},transition:{duration:.5,delay:.5},children:[(0,l.jsxs)("span",{className:"font-bold",children:[f.location.city?.[0]?.name,","," ",f.location.city?.[0]?.country?.name]}),(0,l.jsx)("span",{children:"·"}),(0,l.jsx)("span",{children:w})]}),(0,l.jsx)("div",{className:"mt-4 w-full sm:mt-8",children:(0,l.jsx)(i.Button,{asChild:!0,className:"w-full px-24 sm:w-auto",size:"xl",variant:"hero",children:N?(0,l.jsx)("a",{href:y,rel:"noopener noreferrer",target:"_blank",children:e.cta.label??p("cta")}):(0,l.jsx)(m.Link,{href:y,children:e.cta.label??p("cta")})})})]})})})})]})}])},254188,e=>{"use strict";var l=e.i(78775),t=e.i(202873),a=e.i(539950),s=e.i(139499);let i={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function n(e={}){let l,t,a,s,r=null,o=0,c=!1,d=!1,m=!1,u=!1;function h(){if(!a){if(p()){m=!0;return}c||t.emit("autoplay:play"),function(){let{ownerWindow:e}=t.internalEngine();e.clearTimeout(o),o=e.setTimeout(b,s[t.selectedScrollSnap()]),r=new Date().getTime(),t.emit("autoplay:timerset")}(),c=!0}}function x(){a||(c&&t.emit("autoplay:stop"),function(){let{ownerWindow:e}=t.internalEngine();e.clearTimeout(o),o=0,r=null,t.emit("autoplay:timerstopped")}(),c=!1)}function g(){if(p())return m=c,x();m&&h()}function p(){let{ownerDocument:e}=t.internalEngine();return"hidden"===e.visibilityState}function f(){d||x()}function v(){d||h()}function j(){d=!0,x()}function w(){d=!1,h()}function b(){let{index:e}=t.internalEngine(),a=e.clone().add(1).get(),s=t.scrollSnapList().length-1,i=l.stopOnLastSnap&&a===s;if(t.canScrollNext()?t.scrollNext(u):t.scrollTo(0,u),t.emit("autoplay:select"),i)return x();h()}return{name:"autoplay",options:e,init:function(r,o){var c,d,m,p;let b,y;t=r;let{mergeOptions:N,optionsAtMedia:S}=o,k=N(i,n.globalOptions);if(l=S(N(k,e)),t.scrollSnapList().length<=1)return;u=l.jump,a=!1,c=t,d=l.delay,b=c.scrollSnapList(),s="number"==typeof d?b.map(()=>d):d(b,c);let{eventStore:_,ownerDocument:C}=t.internalEngine(),T=!!t.internalEngine().options.watchDrag,A=(m=t,p=l.rootNode,y=m.rootNode(),p&&p(y)||y);_.add(C,"visibilitychange",g),T&&t.on("pointerDown",f),T&&!l.stopOnInteraction&&t.on("pointerUp",v),l.stopOnMouseEnter&&_.add(A,"mouseenter",j),l.stopOnMouseEnter&&!l.stopOnInteraction&&_.add(A,"mouseleave",w),l.stopOnFocusIn&&t.on("slideFocusStart",x),l.stopOnFocusIn&&!l.stopOnInteraction&&_.add(t.containerNode(),"focusout",h),l.playOnInit&&h()},destroy:function(){t.off("pointerDown",f).off("pointerUp",v).off("slideFocusStart",x),x(),a=!0,c=!1},play:function(e){void 0!==e&&(u=e),h()},stop:function(){c&&x()},reset:function(){c&&h()},isPlaying:function(){return c},timeUntilNext:function(){return r?s[t.selectedScrollSnap()]-(new Date().getTime()-r):null}}}n.globalOptions=void 0;var r=e.i(74927);function o({api:e,autoplayDelay:t,slideCount:a}){let[i,n]=(0,r.useState)(0),[c,d]=(0,r.useState)([]),m=(0,r.useRef)(null),u=(0,r.useCallback)(e=>{n(e.selectedScrollSnap())},[]);(0,r.useEffect)(()=>{if(!e)return;let l=()=>{d(e.scrollSnapList()),u(e)};return l(),e.on("reInit",l),e.on("select",u),()=>{e.off("reInit",l),e.off("select",u)}},[e,u]),(0,r.useEffect)(()=>{if(!(e&&t))return;let l=0,a=()=>{let s=m.current,i=e?.plugins()?.autoplay;if(s&&i){let e=i.timeUntilNext();if("number"==typeof e){let l=Math.min(1,Math.max(0,1-e/t));s.style.transform=`scaleX(${l})`}}l=requestAnimationFrame(a)};return l=requestAnimationFrame(a),()=>{cancelAnimationFrame(l)}},[e,t]);let h=c.length>0?c.length:a;return h<=1?null:(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{className:"absolute bottom-7 left-1/2 z-20 flex -translate-x-1/2 items-center gap-2 sm:bottom-12 lg:bottom-16",role:"tablist",children:Array.from({length:h},(a,n)=>{let r=n===i;return(0,l.jsx)("button",{"aria-label":`Go to slide ${n+1}`,"aria-selected":r,className:(0,s.cn)("relative h-1 w-6 overflow-hidden rounded-full bg-white/40 transition-colors sm:w-8",!r&&"hover:bg-white/70"),onClick:()=>e?.scrollTo(n),role:"tab",type:"button",children:r?(0,l.jsx)("span",{className:"absolute inset-y-0 left-0 w-full origin-left rounded-full bg-white",ref:t?m:void 0,style:{transform:t?"scaleX(0)":"scaleX(1)"}}):null},`hero-carousel-dot-${n}`)})})})}e.s(["HeroCarousel",0,function({autoplayDelay:e,children:i,slideCount:c=0}){let[d,m]=(0,r.useState)(),u="number"==typeof e&&e>0,h=(0,r.useRef)(null);u?null===h.current&&(h.current=n({delay:e,stopOnInteraction:!1})):h.current=null;let x=u?h.current:null;return(0,l.jsxs)(t.Carousel,{className:(0,s.cn)("w-full overflow-hidden",a.HERO_MIN_HEIGHT_CLASS,"[&_[data-slot=carou
2sel-content]]:h-full [&_[data-slot=carousel-content]]:min-h-[inherit]"),opts:{loop:!0},plugins:x?[x]:[],setApi:m,children:[(0,l.jsx)(t.CarouselContent,{className:"ml-0 h-full min-h-[inherit]",children:i}),(0,l.jsx)(o,{api:d,autoplayDelay:"number"==typeof e?e:null,slideCount:c})]})}],254188)},539950,e=>{"use strict";var l=e.i(78775);e.s(["HERO_AURA_BASE_BG_CLASS",0,"bg-[#04003f]","HERO_MEDIA_COVER_CLASS",0,"absolute top-1/2 left-1/2 h-[max(100vh,56.25vw)] w-[max(100vw,177.78vh)] -translate-x-1/2 -translate-y-1/2","HERO_MEDIA_COVER_MOBILE_IMAGE_CLASS",0,"max-md:top-28 max-md:left-0 max-md:h-[125vw] max-md:w-full max-md:translate-x-0 max-md:translate-y-0","HERO_MIN_HEIGHT_CLASS",0,"min-h-[calc(125vw+7rem)] w-full md:min-h-screen","HeroOverlay",0,function(){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{"aria-hidden":!0,className:"absolute inset-0 md:hidden",style:{background:"radial-gradient(ellipse 100% 100% at center, transparent 0%, rgba(24, 24, 24, 0.45) 20%, rgba(4, 0, 63, 0.68) 46%, rgba(4, 0, 63, 0.86) 100%)"}}),(0,l.jsx)("div",{"aria-hidden":!0,className:"absolute inset-0 hidden md:block",style:{background:"radial-gradient(ellipse 100% 100% at center, transparent 0%, rgba(24, 24, 24, 0.55) 20%, rgba(4, 0, 63, 0.78) 45%, rgba(4, 0, 63, 0.92) 100%)"}})]})}])},308787,e=>{"use strict";var l=e.i(78775),t=e.i(562323),a=e.i(781166),s=e.i(357578);e.s(["MediaImageResponsive",0,function({media:e,mobileSize:i,desktopSize:n,...r}){let o=(0,t.useIsMobile)(),c=(0,a.getImageUrl)(e,o?i:n)??void 0;return(0,l.jsx)(s.MediaImage,{...r,media:e,src:c})}])},353375,e=>{"use strict";var l=e.i(78775),t=e.i(537827),a=e.i(355674),s=e.i(539950),i=e.i(973008),n=e.i(781166),r=e.i(139499),o=e.i(75164);e.i(612942);var c=e.i(560328);e.s(["VideoHero",0,function({item:e,playable:d=!0,backgroundContent:m}){let u=(0,o.useTranslations)("web.hero.video"),h=e.video;if(!h)return null;let x=h;!d&&x&&(x=(0,n.getMediaImage)(x));let g=e.cta.uri,p=g.startsWith("http");return(0,l.jsxs)("section",{className:(0,r.cn)("dark relative w-full overflow-hidden",s.HERO_MIN_HEIGHT_CLASS,s.HERO_AURA_BASE_BG_CLASS),children:[(0,l.jsx)("div",{className:(0,r.cn)("absolute inset-0 h-full w-full overflow-hidden",s.HERO_AURA_BASE_BG_CLASS),children:m?(0,l.jsx)("div",{className:(0,r.cn)(s.HERO_MEDIA_COVER_CLASS,s.HERO_AURA_BASE_BG_CLASS,x?.type===t.MediaTypeEnum.IMAGE&&s.HERO_MEDIA_COVER_MOBILE_IMAGE_CLASS),children:m}):null}),(0,l.jsx)(s.HeroOverlay,{}),(0,l.jsx)("div",{className:(0,r.cn)("dark relative z-10 flex flex-col justify-end pt-8 pb-14 sm:pt-12 sm:pb-64 lg:justify-center lg:py-16",s.HERO_MIN_HEIGHT_CLASS),children:(0,l.jsx)("div",{className:"max-w-[1920px] px-4 sm:px-6 lg:px-16",children:(0,l.jsx)("div",{className:"flex flex-col gap-8 lg:flex-row lg:items-center lg:justify-between lg:gap-16",children:(0,l.jsxs)("div",{className:"flex w-full flex-col items-start lg:w-1/2 lg:max-w-[50vw]",children:[p?(0,l.jsx)("a",{href:g,rel:"noopener noreferrer",target:"_blank",children:(0,l.jsx)(a.ThemedText,{as:"h2",className:"uppercase",variant:"headline1",children:e.headline})}):(0,l.jsx)(c.Link,{href:g,children:(0,l.jsx)(a.ThemedText,{as:"h2",className:"uppercase",variant:"headline1",children:e.headline})}),(0,l.jsx)("div",{className:"mt-4 w-full sm:mt-8",children:(0,l.jsx)(i.Button,{asChild:!0,className:"w-full px-24 sm:w-auto",size:"xl",variant:"hero",children:p?(0,l.jsx)("a",{href:g,rel:"noopener noreferrer",target:"_blank",children:e.cta.label??u("cta")}):(0,l.jsx)(c.Link,{href:g,children:e.cta.label??u("cta")})})})]})})})})]})}])},124456,e=>{"use strict";var l=e.i(78775),t=e.i(416523),a=e.i(908584),s=e.i(980571),i=e.i(666975),n=e.i(445200),r=e.i(139499),o=e.i(733873),c=e.i(74927);function d({delay:e=0,isRankOne:t=!1,variant:s="widget"}){let i=(0,l.jsxs)("div",{className:(0,r.cn)("flex gap-3",t&&"page"===s?"items-end":"items-center"),children:[(0,l.jsx)(a.Skeleton,{className:(0,r.cn)("shrink-0 rounded-full",t&&"page"===s?"-mb-5 size-20":"size-9")}),(0,l.jsxs)("div",{className:"flex min-w-0 flex-col gap-1.5",children:[(0,l.jsx)(a.Skeleton,{className:(0,r.cn)("h-3 w-20 truncate",t&&"w-24")}),(0,l.jsx)(a.Skeleton,{className:(0,r.cn)("h-4 w-28 truncate",t&&"w-32")})]})]},"athlete"),n="page"===s?[(0,l.jsx)("span",{},"weightCategory"),(0,l.jsx)(a.Skeleton,{className:(0,r.cn)("h-4 w-5 font-medium",t&&"w-6")},"rank"),i,(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(a.Skeleton,{className:"size-6 shrink-0 rounded-full"}),(0,l.jsx)(a.Skeleton,{className:"h-4 w-10"})]},"country"),(0,l.jsxs)("div",{className:"flex items-center justify-end gap-1",children:[(0,l.jsx)(a.Skeleton,{className:"h-4 w-16"}),!t&&(0,l.jsx)(a.Skeleton,{className:"size-5 shrink-0"})]},"points")]:[(0,l.jsx)(a.Skeleton,{className:"h-4 w-5"},"rank"),i,(0,l.jsxs)("div",{className:"flex items-center justify-end gap-2",children:[(0,l.jsx)(a.Skeleton,{className:"size-6 shrink-0 rounded-full"}),(0,l.jsx)(a.Skeleton,{className:"h-4 w-10"})]},"country"),(0,l.jsx)(a.Skeleton,{className:"h-4 w-16"},"points")];
2return(0,l.jsx)(o.motion.tr,{animate:{opacity:1,y:0},className:(0,r.cn)("relative border-background/80 border-b","page"===s?"bg-muted":"bg-background"),initial:!1,transition:{duration:.4,delay:e},children:n.map(e=>(0,l.jsx)("td",{className:"min-w-0 px-4 py-5 align-middle",children:e},e.key))})}function m({numberOfItems:e=5}){let s=(0,c.useMemo)(()=>Array.from({length:e},(e,l)=>`row-${l}`),[e]);return(0,l.jsxs)("div",{className:"relative overflow-hidden rounded-sm border border-2",children:[(0,l.jsx)("div",{className:"reverse bg-background-120 px-4 py-4 text-center",children:(0,l.jsx)(a.Skeleton,{className:"mx-auto h-5 w-24 bg-white/20"})}),(0,l.jsx)("div",{className:"reverse bg-background-120 px-4 pb-0",children:(0,l.jsxs)(t.ScrollArea,{className:"w-full whitespace-nowrap",children:[(0,l.jsx)("div",{className:"flex w-max items-center gap-2 pb-4",children:Array.from({length:6},(e,l)=>`pill-${l}`).map((e,t)=>(0,l.jsx)(a.Skeleton,{className:(0,r.cn)("h-8 shrink-0 rounded-full",0===t?"w-16 bg-primary/40":"w-14 bg-white/20")},e))}),(0,l.jsx)(t.ScrollBar,{orientation:"horizontal"})]})}),(0,l.jsx)("div",{className:"min-w-0 overflow-hidden",children:(0,l.jsxs)("table",{className:"light w-full table-fixed text-base",children:[(0,l.jsxs)("colgroup",{children:[(0,l.jsx)("col",{style:{width:"1%"}}),(0,l.jsx)("col",{style:{width:"8%"}}),(0,l.jsx)("col",{style:{width:"51%"}}),(0,l.jsx)("col",{style:{width:"30%"}})]}),(0,l.jsx)("tbody",{children:s.map((e,t)=>(0,l.jsx)(d,{delay:.05*t,variant:"widget"},e))})]})})]})}function u({numberOfItems:e=5,numberOfGroups:t=2}){let m=(0,c.useMemo)(()=>Array.from({length:t},(e,l)=>`group-${l}`),[t]),h=(0,c.useMemo)(()=>Array.from({length:e},(e,l)=>`row-${l}`),[e]);return(0,l.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,l.jsx)(i.FilterStickyToolbar,{children:(0,l.jsxs)("div",{className:(0,r.cn)(n.filterToolbarLayoutClassName,"pb-2"),children:[(0,l.jsxs)("div",{className:(0,r.cn)("flex gap-3 sm:items-center sm:justify-between sm:gap-4","max-sm:flex-col max-sm:items-stretch"),children:[(0,l.jsx)(a.Skeleton,{className:"order-1 h-9 w-full rounded-full sm:order-2 sm:w-72 sm:shrink-0"}),(0,l.jsxs)("div",{className:(0,r.cn)("order-2 flex shrink-0 items-center gap-2 sm:order-1","max-sm:-mx-4 max-sm:overflow-x-auto max-sm:px-4","max-sm:[-ms-overflow-style:none] max-sm:[scrollbar-width:none] max-sm:[&::-webkit-scrollbar]:hidden"),children:[(0,l.jsx)(a.Skeleton,{className:"h-9 w-[96px] shrink-0 rounded-full"}),(0,l.jsx)(a.Skeleton,{className:"h-9 w-[140px] shrink-0 rounded-full"}),(0,l.jsx)(a.Skeleton,{className:"h-9 w-28 shrink-0 rounded-full"})]})]}),(0,l.jsx)("div",{className:"flex flex-wrap items-center gap-2.5 sm:gap-3",children:Array.from({length:8},(e,l)=>`pill-${l}`).map((e,t)=>(0,l.jsx)(a.Skeleton,{className:(0,r.cn)("h-9 shrink-0 rounded-full",0===t?"w-16":"w-24")},e))})]})}),(0,l.jsx)("div",{className:"grid grid-cols-1 gap-16 md:grid-cols-2",children:m.map((t,i)=>(0,l.jsx)(o.motion.div,{animate:{opacity:1,y:0},className:"min-w-0 overflow-hidden rounded-sm border border-1",initial:!1,transition:{duration:.3,delay:.05*i},children:(0,l.jsxs)(s.Table,{className:"w-full table-fixed text-base",children:[(0,l.jsxs)("colgroup",{children:[(0,l.jsx)("col",{style:{width:"1%"}}),(0,l.jsx)("col",{style:{width:"8%"}}),(0,l.jsx)("col",{style:{width:"41%"}}),(0,l.jsx)("col",{style:{width:"18%"}}),(0,l.jsx)("col",{style:{width:"22%"}})]}),(0,l.jsxs)(s.TableBody,{children:[(0,l.jsx)(s.TableRow,{className:"border-b-0 bg-muted",children:(0,l.jsx)(s.TableCell,{className:"px-4 py-8",colSpan:5,children:(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)(a.Skeleton,{className:"h-6 w-36"}),(0,l.jsx)(a.Skeleton,{className:"h-4 w-12 rounded"})]})})}),h.map((t,a)=>(0,l.jsx)(d,{delay:.03*(i*e+a),isRankOne:0===a,variant:"page"},t))]})]})},t))}),(0,l.jsxs)("div",{className:"flex items-center justify-between px-2",children:[(0,l.jsx)(a.Skeleton,{className:"h-4 w-24"}),(0,l.jsxs)("div",{className:"flex items-center gap-4",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2",children:[(0,l.jsx)(a.Skeleton,{className:"h-4 w-20"}),(0,l.jsx)(a.Skeleton,{className:"h-8 w-[70px] rounded-md"})]}),(0,l.jsxs)("div",{className:"flex items-center gap-1",children:[(0,l.jsx)(a.Skeleton,{className:"size-8 rounded-md"}),(0,l.jsx)(a.Skeleton,{className:"size-8 rounded-md"}),(0,l.jsx)(a.Skeleton,{className:"size-8 rounded-md"}),(0,l.jsx)(a.Skeleton,{className:"size-8 rounded-md"})]})]})]})]})}e.s(["WorldRankingsTableSkeleton",0,function({numberOfItems:e=5,numberOfGroups:t=2,variant:a="widget"}){return"page"===a?(0,l.jsx)(u,{numberOfGroups:t,numberOfItems:e}):(0,l.jsx)(m,{numberOfItems:e})}])},139976,e=>{"use strict";var l=e.i(78775),t=e.i(355674),a=e.i(980571),s=e.i(787610),i=e.i(997922),n=e.i(74828),r=e.i(973008),o=e.i(719521
2),c=e.i(139499),d=e.i(75164),m=e.i(744617),u=e.i(761922),h=e.i(733873),x=e.i(699407),g=e.i(74927),p=e.i(701435),f=e.i(781166),v=e.i(628572),j=e.i(386290),j=j,w=e.i(515724);function b({entry:e,uniformStyle:a=!1}){let s,i,n,r,o=e.athlete,c=!a&&1===e.rank,{first:d,last:m}=(s=o.name,i=s?.firstname??(s?.fullname?s.fullname.split(" ").slice(0,-1).join(" "):void 0),n=s?.lastname??(s?.fullname?s.fullname.split(" ").at(-1):void 0)??o.title,r=o.title.split(" "),{first:i??(r.slice(0,-1).join(" ")||o.title),last:n??r.at(-1)??o.title});return(0,l.jsxs)("div",{className:`flex gap-3 ${c?"items-end":"items-center"}`,children:[o.picture_url?(0,l.jsx)("div",{className:`relative shrink-0 overflow-hidden ${c?"-mb-5 size-20 bg-inherit":"size-9 rounded-full bg-muted-foreground/25"}`,children:(0,l.jsx)(w.default,{alt:o.title,className:"object-cover",fill:!0,sizes:c?"80px":"36px",src:(0,f.withAthletePictureFormat)(o.picture_url,c?"medium":"small")??o.picture_url,unoptimized:!0})}):(0,l.jsx)("div",{"aria-hidden":!0,className:`shrink-0 ${c?"-mb-5 size-20 bg-inherit":"size-9 rounded-full bg-muted-foreground/25"}`}),(0,l.jsxs)("div",{className:"flex min-w-0 flex-col gap-0",children:[(0,l.jsx)(t.ThemedText,{as:"span",className:"truncate text-[10px] text-muted-foreground leading-3 sm:text-sm sm:leading-normal",variant:"body2",children:d}),(0,l.jsx)(t.ThemedText,{as:"span",className:"truncate font-bold text-xs sm:text-base",variant:"body2",children:m})]})]})}function y({entry:e}){let a=e.athlete.country;return a?(0,l.jsxs)("div",{className:"flex min-w-[5.5rem] items-center gap-2",children:[a.ioc_code&&(0,l.jsx)(p.Flag,{alt:a.name,className:"size-6 shrink-0 rounded-full object-cover",countryCode:a.ioc_code,height:24,width:24}),(0,l.jsx)(t.ThemedText,{as:"span",className:"shrink-0 whitespace-nowrap text-muted-foreground",variant:"body2",children:a.ioc_code??a.name})]}):(0,l.jsx)("span",{className:"text-muted-foreground",children:"â"})}function N({entry:e}){let a=e.rank,s=e.previous_rank;if(null==s||"number"!=typeof s||a===s)return(0,l.jsx)("span",{className:"inline-block w-4 shrink-0"});let i=a<s?s-a:-(a-s),n=a<s?`+${i}`:String(i),r="font-medium text-[10px]";return a<s?(0,l.jsxs)("div",{className:"flex flex-col items-center",children:[(0,l.jsx)(t.ThemedText,{"aria-hidden":!0,as:"span",className:`invisible text-green-600 ${r}`,variant:"descriptive",children:n}),(0,l.jsx)(j.default,{"aria-hidden":!0,className:"-my-px size-5 shrink-0 text-green-600"}),(0,l.jsx)(t.ThemedText,{as:"span",className:`text-green-600 ${r}`,variant:"descriptive",children:n})]}):(0,l.jsxs)("div",{className:"flex flex-col items-center",children:[(0,l.jsx)(t.ThemedText,{"aria-hidden":!0,as:"span",className:`invisible text-red-600 ${r}`,variant:"descriptive",children:n}),(0,l.jsx)(v.ChevronDown,{"aria-hidden":!0,className:"-my-px size-5 shrink-0 text-red-600"}),(0,l.jsx)(t.ThemedText,{as:"span",className:`text-red-600 ${r}`,variant:"descriptive",children:n})]})}var S=e.i(928679),k=e.i(537827),_=e.i(846590),C=e.i(416523),T=e.i(521888),A=e.i(832046),E=e.i(666975),R=e.i(445200),M=e.i(158229),O=e.i(763857);let I=[{value:k.TaxonomySportEnum.FS,labelKey:"fs"},{value:k.TaxonomySportEnum.GR,labelKey:"gr"},{value:k.TaxonomySportEnum.WW,labelKey:"ww"}],F=(0,c.cn)(R.filterYearSelectTriggerClassName,"w-[140px]"),L=e=>(0,c.cn)("h-9 shrink-0 rounded-full border-0 px-4 font-medium text-sm shadow-none",e?"bg-primary text-primary-foreground hover:bg-primary/90 hover:text-primary-foreground":(0,c.cn)(R.filterPillControlClassName,"hover:bg-neutral-200/70 hover:text-foreground dark:hover:bg-neutral-700/80"));function H({isNonOlympicSelected:e,isOlympicSelected:t,nonOlympicIds:a,olympicIds:s,selectedWeightCategories:i,setWeightCategoryFilter:n,t:o,toggleWeightCategory:c,weightCategoryOptions:d}){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(r.Button,{className:L(0===i.length),onClick:()=>n(void 0),size:"sm",variant:"ghost",children:o("filters.all")}),s.length>0&&(0,l.jsx)(r.Button,{className:L(t),onClick:()=>n(s.length>0?s:void 0),size:"sm",variant:"ghost",children:o("filters.olympic")}),a.length>0&&(0,l.jsx)(r.Button,{className:L(e),onClick:()=>n(a.length>0?a:void 0),size:"sm",variant:"ghost",children:o("filters.nonOlympic")}),d.map(e=>{let t=i.includes(e.value);return(0,l.jsx)(r.Button,{className:L(t),onClick:()=>c(e.value),size:"sm",variant:"ghost",children:e.label},e.value)})]})}function B({disableSportFilter:e=!1,onSeasonChange:t,onSportChange:a,season:s,sport:i,table:n,variant:o="page"}){let m,u,h=(0,d.useTranslations)("web.athletes-results.world-rankings"),x=(0,d.useTranslations)("sports"),f=(0,g.useMemo)(()=>I.map(({value:e,labelKey:l})=>({label:x(l),value:e})),[x]),v=(m=n.getCoreRowModel().rows,(0,g.useMemo)(()=>{let e=new Map;for(let l of m){let t=l.original.weight_category;
2t&&(e.has(t.identifier)||e.set(t.identifier,{weight:t.weight,is_olympic:t.is_olympic??!1}))}return Array.from(e.entries()).sort(([,e],[,l])=>Number.parseFloat(e.weight)-Number.parseFloat(l.weight)).map(([e,{weight:l,is_olympic:t}])=>({label:`${l} kg`,value:e,is_olympic:t}))},[m])),j=(u=n.getCoreRowModel().rows,(0,g.useMemo)(()=>{let e=new Map;for(let l of u){let t=l.original.athlete.country;t?.ioc_code&&!e.has(t.ioc_code)&&e.set(t.ioc_code,{ioc_code:t.ioc_code,name:t.name??t.ioc_code})}return Array.from(e.values()).sort((e,l)=>e.name.localeCompare(l.name)).map(e=>({label:e.name,value:e.ioc_code,prefix:(0,l.jsx)(p.Flag,{className:"size-4 shrink-0 rounded-full object-cover",countryCode:e.ioc_code,height:16,width:16})}))},[u])),w=n.getColumn("weightCategory"),b=n.getColumn("country"),y=n.getColumn("athlete"),N=w?.getFilterValue()??[],k=b?.getFilterValue()??[],L=y?.getFilterValue()??"",z=e=>{w?.setFilterValue(e)},$=e=>{y?.setFilterValue(e||void 0)},D=()=>{$(""),b?.setFilterValue(void 0),z(void 0)},U=L.length>0||k.length>0||N.length>0;if("widget"===o)return(0,l.jsxs)("div",{className:"reverse flex flex-col gap-2 bg-background-120 px-4 pb-0",children:[(0,l.jsx)("div",{className:"flex flex-wrap items-center gap-2",children:!e&&a&&(0,l.jsx)("div",{className:"flex items-center gap-4",children:f.map(e=>i===e.value?(0,l.jsx)("span",{className:"cursor-default whitespace-nowrap py-1.5 font-bold text-foreground text-sm underline underline-offset-4",children:e.label},e.value):(0,l.jsx)(r.Button,{className:"px-0 text-foreground text-sm hover:no-underline hover:opacity-80",onClick:()=>a(e.value),size:"sm",variant:"link",children:e.label},e.value))})}),w&&v.length>0&&(0,l.jsx)("div",{className:"w-full overflow-hidden",children:(0,l.jsxs)(C.ScrollArea,{className:"w-full whitespace-nowrap",children:[(0,l.jsx)("div",{className:"flex w-max items-center gap-2 pb-4",children:v.map(e=>{let t=N.includes(e.value);return(0,l.jsx)(r.Button,{className:(0,c.cn)("shrink-0",!t&&"bg-transparent text-foreground"),onClick:()=>z([e.value]),size:"sm",variant:t?"default":"outline",children:e.label},e.value)})}),(0,l.jsx)(C.ScrollBar,{orientation:"horizontal"})]})})]});let V=v.filter(e=>e.is_olympic).map(e=>e.value),G=V.length>0&&N.length===V.length&&V.every(e=>N.includes(e)),P=v.filter(e=>!e.is_olympic).map(e=>e.value),W=P.length>0&&N.length===P.length&&P.every(e=>N.includes(e));return(0,l.jsx)(E.FilterStickyToolbar,{children:(0,l.jsxs)("div",{className:(0,c.cn)(R.filterToolbarLayoutClassName,"pb-2"),children:[(0,l.jsxs)("div",{className:(0,c.cn)(R.filterToolbarTopRowClassName,"max-sm:flex-col max-sm:items-stretch max-sm:gap-3"),children:[y&&(0,l.jsx)("div",{className:(0,c.cn)(R.filterToolbarSearchRowClassName,"order-1 w-full max-sm:justify-stretch sm:order-2"),children:(0,l.jsxs)("div",{className:"relative w-full sm:w-72",children:[(0,l.jsx)(_.Input,{"aria-label":h("filters.searchAthlete"),autoComplete:"off",className:R.filterSearchInputClassName,onChange:e=>$(e.target.value),placeholder:h("filters.searchAthlete"),type:"search",value:L}),(0,l.jsx)(M.Search,{"aria-hidden":!0,className:"pointer-events-none absolute top-1/2 right-3.5 size-4 -translate-y-1/2 text-muted-foreground",strokeWidth:2})]})}),(0,l.jsxs)("div",{className:(0,c.cn)("flex shrink-0 items-center gap-2","order-2 sm:order-1","max-sm:-mx-4 max-sm:overflow-x-auto max-sm:px-4","max-sm:[-ms-overflow-style:none] max-sm:[scrollbar-width:none] max-sm:[&::-webkit-scrollbar]:hidden"),children:[null!=t&&(0,l.jsxs)(T.Select,{onValueChange:e=>t(Number(e)),value:String(s),children:[(0,l.jsx)(T.SelectTrigger,{className:R.filterYearSelectTriggerClassName,children:(0,l.jsx)(T.SelectValue,{})}),(0,l.jsx)(T.SelectContent,{children:[...S.SEASON_OPTIONS].reverse().map(e=>(0,l.jsx)(T.SelectItem,{value:String(e),children:e},e))})]}),!e&&a&&(0,l.jsxs)(T.Select,{onValueChange:a,value:i,children:[(0,l.jsx)(T.SelectTrigger,{className:F,children:(0,l.jsx)(T.SelectValue,{})}),(0,l.jsx)(T.SelectContent,{children:f.map(e=>(0,l.jsx)(T.SelectItem,{value:e.value,children:e.label},e.value))})]}),b&&j.length>0&&(0,l.jsx)(A.TableFacetedFilter,{column:b,options:j,pill:!0,title:h("filters.country")})]})]}),w&&v.length>0?(0,l.jsxs)("div",{className:R.filterFacetRowClassName,children:[(0,l.jsx)(H,{isNonOlympicSelected:W,isOlympicSelected:G,
2nonOlympicIds:P,olympicIds:V,selectedWeightCategories:N,setWeightCategoryFilter:z,t:h,toggleWeightCategory:e=>{let l=N.includes(e)?N.filter(l=>l!==e):[...N,e];z(l.length>0?l:void 0)},weightCategoryOptions:v}),U&&(0,l.jsxs)(r.Button,{className:R.filterResetButtonClassName,onClick:D,size:"sm",variant:"ghost",children:[h("filters.reset"),(0,l.jsx)(O.X,{})]})]}):U&&(0,l.jsx)("div",{className:R.filterFacetRowClassName,children:(0,l.jsxs)(r.Button,{className:R.filterResetButtonClassName,onClick:D,size:"sm",variant:"ghost",children:[h("filters.reset"),(0,l.jsx)(O.X,{})]})})]})})}function z({lastCellSuffix:e,row:t,rowClassName:s}){let n=t.original.athlete,r=n?.slug?`/athletes/${n.slug}`:null;return(0,l.jsx)(a.TableRow,{className:s,children:t.getVisibleCells().map((t,s)=>{let o="points"===t.column.id;return(0,l.jsxs)(a.TableCell,{className:"relative min-w-0 whitespace-normal px-4 py-5",children:[r?(0,l.jsx)(i.TableRowHitAreaLink,{href:r,isPrimary:0===s,label:n.title}):null,(0,m.flexRender)(t.column.columnDef.cell,t.getContext()),e?.(o)]},t.id)})})}e.s(["WorldRankingsTable",0,function({columnFilters:e,data:i,title:p,defaultSeason:f,disableSportFilter:v=!1,isLoading:j=!1,onColumnFiltersChange:w,onSeasonChange:k,onSportChange:_,season:C,sport:T,variant:A="page"}){let E=(0,x.useRouter)(),R=(0,x.usePathname)(),M=(0,x.useSearchParams)(),O=(0,d.useTranslations)("web.athletes-results.world-rankings"),I=(0,d.useTranslations)("sports"),F=(0,g.useMemo)(()=>(function(e="page"){let a="widget"===e;return[{id:"weightCategory",accessorFn:e=>e.weight_category?.identifier??"__none__",header:()=>null,cell:()=>null,filterFn:(e,l,t)=>{if(null==t||0===t.length)return!0;let a=e.getValue(l);return t.includes(a)},enableSorting:!1,enableHiding:!1},{accessorKey:"rank",header:()=>null,cell:({row:e})=>(0,l.jsx)(t.ThemedText,{as:"span",className:a||1!==e.original.rank?"font-medium":"font-bold",variant:"body2",children:e.getValue("rank")}),enableHiding:!1},{id:"athlete",accessorFn:e=>e.athlete.title,header:()=>null,cell:({row:e})=>(0,l.jsx)(b,{entry:e.original,uniformStyle:a}),filterFn:(e,l,t)=>{let a=(t??"").toLowerCase().trim();return!a||e.original.athlete.title.toLowerCase().includes(a)},enableSorting:!1,enableHiding:!1},{id:"country",accessorFn:e=>e.athlete.country?.ioc_code??"",header:()=>null,cell:({row:e})=>(0,l.jsx)(y,{entry:e.original}),filterFn:(e,l,t)=>null==t||0===t.length||t.includes(e.getValue(l)),enableSorting:!1},{id:"points",accessorFn:e=>e.uww_points,header:()=>null,cell:({row:e})=>(0,l.jsxs)("div",{className:"flex items-center justify-end gap-1",children:[(0,l.jsx)(N,{entry:e.original}),(0,l.jsx)(t.ThemedText,{as:"span",variant:"body2",children:null==e.original.uww_points?"â":(0,l.jsxs)(l.Fragment,{children:[Number(e.original.uww_points).toLocaleString(),(0,l.jsx)("span",{className:"hidden xl:inline",children:" pts"})]})})]})}]})(A),[O,A]),[L,H]=(0,g.useState)([]),$=void 0!==e,D=e??L,U=(0,g.useCallback)(e=>{let l="function"==typeof e?e(D):e;w?w(l):H(l)},[D,w]);(0,g.useEffect)(()=>{$||H([])},[T,$]),(0,g.useEffect)(()=>{if("widget"!==A||0===i.length)return;let e=D.find(e=>"weightCategory"===e.id&&Array.isArray(e.value)&&e.value.length>0),l=e?.value??[],t=new Set(i.map(e=>e.weight_category?.identifier).filter(Boolean));if(l.every(e=>t.has(e))&&l.length>0)return;let a=new Map;for(let e of i){let l=e.weight_category;l&&(a.has(l.identifier)||a.set(l.identifier,{weight:l.weight,is_olympic:l.is_olympic??!1}))}let s=Array.from(a.entries()).filter(([,e])=>e.is_olympic).sort(([,e],[,l])=>Number.parseFloat(e.weight)-Number.parseFloat(l.weight))[0]?.[0];s&&H(e=>[...e.filter(e=>"weightCategory"!==e.id),{id:"weightCategory",value:[s]}])},[A,i,D]);let V=(0,m.useReactTable)({data:i,columns:F,state:{columnVisibility:"widget"===A?{points:!1}:void 0,sorting:[{id:"weightCategory",desc:!1},{id:"rank",desc:!1}],columnFilters:D},manualSorting:!0,initialState:{pagination:{pageSize:1e3}},onColumnFiltersChange:U,getCoreRowModel:(0,u.getCoreRowModel)(),getFilteredRowModel:(0,u.getFilteredRowModel)(),getPaginationRowModel:(0,u.getPaginationRowModel)(),getSortedRowModel:(0,u.getSortedRowModel)(),getFacetedRowModel:(0,u.getFacetedRowModel)(),getFacetedUniqueValues:(0,u.getFacetedUniqueValues)()}),G=(0,g.useCallback)(e=>{if(!e||e<S.SEASON_MIN||e>S.SEASON_MAX)return;if(k)return void k(e);let l=new URLSearchParams(M.toString());l.set("season",String(e)),l.set("style",T),E.push(`${R}?${l.toString()}`,{scroll:!1})},[k,E,R,M,T]),P=(0,g.useCallback)(e=>{if(_)return void _(e);let l=new URLSearchParams(M.toString());l.set("season",String(C)),l.set("style",e),E.push(`${R}?${l.toString()}`)}
2,[_,E,R,M,C]);return(0,l.jsxs)(l.Fragment,{children:[p&&(0,l.jsx)(h.motion.div,{animate:{opacity:1,y:0},className:"reverse bg-background-120 px-4 py-4 text-center",initial:{opacity:0,y:20},transition:{duration:.5,delay:.1},children:(0,l.jsx)(t.ThemedText,{as:"h4",className:(0,c.cn)(o.fontFedra,"uppercase"),variant:"headline6",children:p})}),(0,l.jsxs)("div",{"aria-busy":j,className:(0,c.cn)("relative flex flex-col","widget"!==A&&"gap-4",j&&"pointer-events-none opacity-50"),children:[(0,l.jsx)(B,{disableSportFilter:v,onSeasonChange:"page"===A?G:void 0,onSportChange:v?void 0:P,season:C,sport:T,table:V,variant:A}),V.getRowModel().rows?.length?(()=>{let e=V.getVisibleFlatColumns().length,s=V.getRowModel().rows;if("widget"===A)return(0,l.jsx)("div",{className:"min-w-0 overflow-hidden [&_[data-slot=table-container]]:overflow-x-hidden",children:(0,l.jsxs)(a.Table,{className:"light w-full table-fixed text-base",children:[(0,l.jsxs)("colgroup",{children:[(0,l.jsx)("col",{style:{width:"1%"}}),(0,l.jsx)("col",{style:{width:"8%"}}),(0,l.jsx)("col",{style:{width:"47%"}}),(0,l.jsx)("col",{style:{width:"34%"}})]}),(0,l.jsx)(a.TableBody,{children:s.map((e,t)=>(0,l.jsx)(z,{row:e,rowClassName:["relative cursor-pointer border-background/80 border-b border-b-1 hover:shadow-md",0===t&&"bg-background hover:bg-background/95",t>0&&"bg-background hover:bg-background/95"].filter(Boolean).join(" ")},e.id))})]})});let i=[],o=null;for(let e of s){let l=e.original.weight_category,t=l?.identifier??"__none__";o&&o.key===t||(o={key:t,wc:l,rows:[]},i.push(o)),o.rows.push(e)}let c=1===i.length,d=c?void 0:5;return(0,l.jsx)("div",{className:c?"grid grid-cols-1":"grid grid-cols-1 gap-16 md:grid-cols-2",children:i.map(s=>(0,l.jsx)("div",{className:"min-w-0 overflow-hidden rounded-sm border border-1 [&_[data-slot=table-container]]:overflow-x-hidden",children:(0,l.jsxs)(a.Table,{className:"w-full table-fixed text-base",children:[(0,l.jsxs)("colgroup",{children:[(0,l.jsx)("col",{style:{width:"1%"}}),(0,l.jsx)("col",{style:{width:"8%"}}),(0,l.jsx)("col",{style:{width:"38%"}}),(0,l.jsx)("col",{style:{width:"21%"}}),(0,l.jsx)("col",{style:{width:"22%"}})]}),(0,l.jsxs)(a.TableBody,{children:[(0,l.jsx)(a.TableRow,{className:"border-b-0 bg-muted",children:(0,l.jsx)(a.TableCell,{className:"px-4 py-8",colSpan:e,children:(0,l.jsxs)("div",{className:"flex items-center justify-between",children:[(0,l.jsx)(t.ThemedText,{as:"span",variant:"headline5Bold",children:s.wc?`${I(s.wc.sport)} ${s.wc.weight} kg`:O("labels.uncategorized")}),s.wc&&!c&&(0,l.jsx)(r.Button,{onClick:()=>{let e=s.wc?.identifier;e&&V.getColumn("weightCategory")?.setFilterValue([e])},size:"sm",variant:"link",children:O("labels.view")})]})})}),(d?s.rows.slice(0,d):s.rows).map((e,t)=>{let a=null!=f&&C===f&&1===e.original.previous_season_rank;return(0,l.jsx)(z,{lastCellSuffix:e=>e&&a&&null!=f?(0,l.jsxs)(n.Badge,{className:"pointer-events-none absolute right-4 bottom-2 z-[1] bg-amber-500 px-2 py-0.5 font-medium text-amber-950 text-xs hover:bg-amber-500",variant:"default",children:[C-1," winner"]}):null,row:e,rowClassName:["relative cursor-pointer hover:shadow-md",0===t&&"bg-card hover:bg-card",t>0&&"bg-muted hover:bg-muted",a&&"border-2 border-amber-500/60"].filter(Boolean).join(" ")},e.id)})]})]})},s.key))})})():(0,l.jsx)(a.Table,{className:"text-base",children:(0,l.jsx)(a.TableBody,{children:(0,l.jsx)(a.TableRow,{children:(0,l.jsx)(a.TableCell,{className:"h-24 text-center",colSpan:F.length,children:(0,l.jsx)(t.ThemedText,{as:"span",className:"text-muted-foreground",variant:"body1",children:O("labels.noResults")})})})})}),"page"===A&&(0,l.jsx)(s.TablePagination,{table:V})]})]})}],139976)}]); 3 4//# debugId=87f1eb13-41c1-cdcf-3f9d-36638fa57585
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.