1import{Q as E,bR as j,T as B,h as C,w as F,bt as L,t as k,j as T,z as O,B as d,C as o,D as u,E as n,F as h,G as x,H as N,J as r,N as U,I as _,aa as w}from"./index-BO6Ka_k5.js";import{L as R}from"./LeaderboardCard-CY4NGEks.js";import{F as A}from"./FeaturedTeam-SO0EVa3w.js";import{S as I}from"./SingleGameBox-DCQMy67n.js";import{L as V,S as z}from"./SeasonStats-BjV1nSC5.js";import"./SyTooltip-CDUUPweC.js";import"./popper.esm-d__YpLP1.js";import"./TeamNameIcon-DlkAhuz7.js";import"./index-U3FaD8rQ.js";const M={name:"TeamAthleteSpotlight",components:{LeaderboardCard:R,FeaturedTeam:A,SingleGameBox:I,SeasonStats:z,LatestGames:V,SyHeading:E},props:{siteSection:{type:Object,required:!0},leaderboardData:{type:Array,default:()=>[]},featuredTeam:{type:Object,default:()=>{}},upcomingGame:{type:Object,default:()=>{}},seasonStatsData:{type:Object,default:()=>{}},playedGamesData:{type:Object,default:()=>{}},teamDetails:{type:Object,default:()=>{}}},setup(s){var l,c,g;const y=j(),{upcomingGame:e}=B(s),a=C({leaderboardHeader:((l=s.siteSection.config)==null?void 0:l.heading)??"Leaderboard",formHeader:((c=s.siteSection.config)==null?void 0:c.formHeading)??"Form",teamStatsHeader:((g=s.siteSection.config)==null?void 0:g.statsHeading)??"Stats"}),f=T(()=>{var t,i;return(i=(t=e==null?void 0:e.value)==null?void 0:t.upcomingGames)==null?void 0:i[0]}),b=T(()=>{var t;return!k((t=e==null?void 0:e.value)==null?void 0:t.upcomingGames)}),m=()=>{var i;const t=(i=f.value)==null?void 0:i.uuid;t&&y.setGameMetadataByGameUuidsInFeaturedNewsUpcomingGames([t])};return F(()=>s==null?void 0:s.upcomingGame,()=>{m()}),{headers:a,isEmpty:k,getGameCenterRoute:L,upcomingGames:f,hasUpcomingGame:b}}},q={class:"athlete-spotlight-container"},J={class:"athlete-spotlight-inner"}
1,Q={key:0,class:"@lg:col-span-2"},K={class:"athlete-spotlight-form-container grid @lg:col-span-2 @md:grid-cols-2"},P={class:"athlete-spotlight-form"},W={class:"form-heading"},X={class:"form-label"},Y={class:"athlete-profile-form mb-20 mt-8"};function Z(s,y,e,a,f,b){var p,G,S,v,D;const m=d("sy-heading"),l=d("leaderboard-card"),c=d("season-stats"),g=d("latest-games"),t=d("featured-team"),i=d("single-game-box");return o(),u("div",q,[n("div",J,[a.isEmpty(e.leaderboardData)?r("",!0):(o(),u("div",Q,[h(m,{primary:"",uppercase:"",heading:"heading 3","heading-label":a.headers.leaderboardHeader,"is-section-heading":!0},null,8,["heading-label"]),(o(!0),u(x,null,N(e.leaderboardData,H=>(o(),u("div",{key:H.id,class:"mb-8"},[h(l,{leaderboard:H},null,8,["leaderboard"])]))),128))])),n("div",K,[n("div",P,[n("div",W,[h(m,{primary:"",uppercase:"",heading:"heading 3","heading-label":a.headers.formHeader,"is-section-heading":!0},null,8,["heading-label"]),n("p",X,U(s.$t("featured_team.last_game")),1)]),n("div",Y,[h(c,{"team-stats":e.seasonStatsData,"team-info":e.teamDetails},null,8,["team-stats","team-info"]),a.isEmpty((p=e.playedGamesData)==null?void 0:p.playedGames)?r("",!0):(o(),_(g,{key:0,"played-games":(G=e.playedGamesData)==null?void 0:G.playedGames},null,8,["played-games"]))])]),n("div",null,[n("div",null,[a.isEmpty(e.featuredTeam.seasonStats)?r("",!0):(o(),_(m,{key:0,primary:"",uppercase:"",heading:"heading 3","heading-label":a.headers.teamStatsHeader,"is-section-heading":!0},null,8,["heading-label"])),a.isEmpty(e.featuredTeam.seasonStats)?r("",!0):(o(),_(t,{key:1,"featured-team":e.featuredTeam,"team-info":e.teamDetails,"is-show-logo":!0},null,8,["featured-team","team-info"])),n("div",{class:w(a.isEmpty(e.featuredTeam.seasonStats)?"mt-0":"mt-10")},[a.hasUpcomingGame?(o(),_(i,{key:0,"game-data":a.upcomingGames,"game-center-route":a.getGameCenterRoute((S=a.upcomingGames)==null?void 0:S.uuid,(v=a.upcomingGames)==null?void 0:v.state,(D=a.upcomingGames)==null?void 0:D.ssgtUuid)},null,8,["game-data","game-center-route"])):r("",!0)],2)])])])])])}const me=O(M,[["render",Z],["__scopeId","data-v-61536439"]]);export{me 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.