1import{s as m}from"./index-CkbxFzmV.js";import{R as f,r as y}from"./vendor-vuetify-DaY1MzuL.js";try{let e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="ca700c1e-deab-4b2d-ac27-fb1aeaa20b4e",e._sentryDebugIdIdentifier="sentry-dbid-ca700c1e-deab-4b2d-ac27-fb1aeaa20b4e")}catch{}const h={average:"Average performance",total:"Season performance",percent:"Efficiency, %"};function D(e){const u=y([]),i=f(()=>e.value?e.value.player.playerId in e.value.league.averages.players:!1),o=f(()=>e.value?.league.averages.players[e.value.player.playerId]);function c(a,t){return t.map(r=>a?.[r]??0)}function g(a,t){if(!o.value)return[];const r=o.value[t];return c(r,a)}function d(a,t){const r=e.value?.league.averages.overall[t];return c(r,a)}function p(a,t){const r=e.value?.league.averages.best[t];return a.map(l=>r?.[l]?.value??0)}function b(a,t){const r=[],l=e.value?.league.averages.best[t];return a.forEach(n=>{l?.[n]&&r.push({...l[n],label:n})}),r.forEach(n=>{const s=e.value?.league.players[n.playerId];n.name=s?.shortName,n.teamImg=s?.currentTeam?.imageDataURL,n.teamName=s?.currentTeam?.name,s&&u.value.push(s)}),r}function v(a){return m.wyStatKey(a)}return{hasPlayerData:i,playerStatData:o,getDataForBestByListForDisplay:b,getDataForBestByList:p,getDataForAverageByList:d,getDataForPlayerByList:g,formatKey:v,radar_titles:h}}export{D as u}; 2//# sourceMappingURL=useWyStatsData-FkpPn0OR.js.map
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.