1import{L as b}from"./LeaderboardCard-DpZDD1RU.js";import{E as _}from"./EmbeddedSectionEmpty-CtJ8i08u.js";import{u as f,a as S,t as y}from"./ArticleHtmlRenderer-LISB0tww.js";import{ab as k,j as E,z as w,B as a,C as r,D as c,G as C,H as R,I as m}from"./index-Dt_Xuqw2.js";import"./legacy-style-scoping-DLBkiVNm.js";import"./useListAdSlots-Bx6h3kTT.js";const v=k({name:"EmbeddedTopScorersSection",components:{LeaderboardCard:b,EmbeddedSectionEmpty:_},setup(){const{sectionConfig:o}=f(),{resolvedPayload:s}=S();return{topScorersRows:E(()=>{const t=y(s.value),e=o.value,n=typeof(e==null?void 0:e.limit)=="number"&&e.limit>0?e.limit:t.length;return t.slice(0,n)})}}}),B={key:0,class:"embedded-top-scorers flex flex-col gap-3"};function g(o,s,p,t,e,n){const i=a("leaderboard-card"),l=a("embedded-section-empty");return o.topScorersRows.length?(r(),c("div",B,[(r(!0),c(C,null,R(o.topScorersRows,(u,d)=>(r(),m(i,{key:"embedded-top-scorer-"+d,leaderboard:u,rank:d+1},null,8,["leaderboard","rank"]))),128))])):(r(),m(l,{key:1}))}const T=w(v,[["render",g]]);export{T as default};
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.