1import{P as d}from"./PromoStats-DGoqB4Ud.js";import{T as p,b0 as _,j as i,z as f,B as g,C as v,D as u,E as m,N as h,F as b,aa as C,J as P}from"./index-kaynfdtx.js";const S=4,D={name:"PromoBar",components:{PromoStats:d},props:{sectionData:{type:Object,default:()=>{}},gamePromo:{type:Object,default:()=>{}},bgColor:{type:String,default:"bg-gradient-to-r from-primary-dark to-primary-xDark"}},setup(a){const{gamePromo:s}=p(a),t=i(()=>{var o;return(((o=s.value)==null?void 0:o.careerStats)??[]).slice(0,S)});return{hasData:i(()=>t.value.length>0),visibleCareerStats:t,getStatisticsNameTranslation:_}}},y={key:0,class:"promo-root"},B={class:"promo-header text-sm pb-2"};function k(a,s,t,e,o,N){var r,c,n;const l=g("promo-stats");return e.hasData?(v(),u("div",y,[m("div",{class:C("promo "+t.bgColor)},[m("div",B,h(((c=(r=t.sectionData)==null?void 0:r.config)==null?void 0:c.heading)??a.$t("athlete.overall_career_stats")),1),b(l,{"career-stats":e.visibleCareerStats,"statistics-provider":(n=t.gamePromo)==null?void 0:n.statisticsProvider},null,8,["career-stats","statistics-provider"])],2)])):P("",!0)}const T=f(D,[["render",k],["__scopeId","data-v-60e451cf"]]);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.