@golstats/gsc-landing 1.0.243 → 1.0.244
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{CardBase-DJPEW7xu-DV1fklxs.js → CardBase-DJPEW7xu-tQy1i7nH.js} +1 -1
- package/dist/{CardBaseAllIndividual-CJY0KdrJ-gEN-cIsK.js → CardBaseAllIndividual-CJY0KdrJ-CI7H0Fsy.js} +1 -1
- package/dist/{CardGeneral-CDS08xVv-DN0atNlG.js → CardGeneral-CDS08xVv-BJD7nY0x.js} +2 -2
- package/dist/{CardGeneralIndividual-DoXvg6Ch-CEG-G52l.js → CardGeneralIndividual-DoXvg6Ch-DlaFRhGj.js} +2 -2
- package/dist/{CardGeneralTeams-FYzVxcB3-DxtsEBjE.js → CardGeneralTeams-FYzVxcB3-D0BFPC3E.js} +1 -1
- package/dist/{CardIndividual-u8FZLLmq-BjH-BxmI.js → CardIndividual-u8FZLLmq-DzIpktS5.js} +3 -3
- package/dist/{CardIndividual1vs1-C13lA1gg-0YMUoo6W.js → CardIndividual1vs1-C13lA1gg-DRnvsHJw.js} +2 -2
- package/dist/{CardIndividualAreas-D13F6fry-wZJYEMYb.js → CardIndividualAreas-D13F6fry-KTRmddgK.js} +2 -2
- package/dist/{CardIndividualCenters-If_CjK9--BwxbNHoj.js → CardIndividualCenters-If_CjK9--CjJj0fsY.js} +2 -2
- package/dist/{CardIndividualDistance-DtT14cRG-B5G3zzK6.js → CardIndividualDistance-DtT14cRG-a399WiHt.js} +2 -2
- package/dist/{CardIndividualFouls-Bsm2M4Gv-DXYknOti.js → CardIndividualFouls-Bsm2M4Gv-DFeBedfO.js} +2 -2
- package/dist/{CardIndividualGoalParticipation-DxJDrw64-DDGWMVe4.js → CardIndividualGoalParticipation-DxJDrw64-q36XeWIL.js} +2 -2
- package/dist/{CardIndividualGoals-tVv3jx9v-CNdrBm9i.js → CardIndividualGoals-tVv3jx9v-D5Od_SA-.js} +2 -2
- package/dist/{CardIndividualGold-B3awfrVU-CLFsrL7o.js → CardIndividualGold-B3awfrVU-CNSXBraZ.js} +3 -3
- package/dist/{CardIndividualNoGoalReceived-plZw_S4K-CWpmdDiJ.js → CardIndividualNoGoalReceived-plZw_S4K-D1lHkCmE.js} +2 -2
- package/dist/{CardIndividualPerformance-pONmvZ---D_llaQ02.js → CardIndividualPerformance-pONmvZ---CTy_hccz.js} +2 -2
- package/dist/{CardIndividualSaves-7NZaLckt-DUibROki.js → CardIndividualSaves-7NZaLckt-evl-Y5LD.js} +2 -2
- package/dist/{CardIndividualShotsOnGoal-BA2B5zK2-B9PVe8e8.js → CardIndividualShotsOnGoal-BA2B5zK2-BtfhUP_E.js} +2 -2
- package/dist/{CardIndividualStatistics-BdNBubd3-DQ7zFzsp.js → CardIndividualStatistics-BdNBubd3-DRCtUse3.js} +2 -2
- package/dist/{CardPromTournament-IvcxYf42-EF8r5e3M.js → CardPromTournament-IvcxYf42-C7wbClzj.js} +2 -2
- package/dist/{CardSuccessfulPasses-CvGqK_hf-BZ0qdzgh.js → CardSuccessfulPasses-CvGqK_hf-D6gOqNB5.js} +2 -2
- package/dist/{CardTheMostProductive-Crx3j88e-CotAtwiK.js → CardTheMostProductive-Crx3j88e-C6Ch3ma0.js} +3 -3
- package/dist/{PlayerProfileCircle-BQwTCjvG-B_DlmxMh.js → PlayerProfileCircle-BQwTCjvG-DRc4Cd_T.js} +1 -1
- package/dist/{Shield-aiuYwUJa-Bcmhvx_Q.js → Shield-aiuYwUJa-y1zd3iLy.js} +1 -1
- package/dist/gsc-landing.js +1 -1
- package/dist/gsc-landing.umd.cjs +1 -1
- package/dist/{index-BPb_W68m.js → index-CnB8qlww.js} +64 -65
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -17882,26 +17882,26 @@ const aM = /* @__PURE__ */ eM(iM), nM = {
|
|
|
17882
17882
|
emits: ["open-media"],
|
|
17883
17883
|
setup(s, { emit: e }) {
|
|
17884
17884
|
const t = {
|
|
17885
|
-
CardGeneral: Bt(() => import("./CardGeneral-CDS08xVv-
|
|
17886
|
-
CardGeneralIndividual: Bt(() => import("./CardGeneralIndividual-DoXvg6Ch-
|
|
17887
|
-
CardGeneralTeams: Bt(() => import("./CardGeneralTeams-FYzVxcB3-
|
|
17888
|
-
CardIndividual: Bt(() => import("./CardIndividual-u8FZLLmq-
|
|
17889
|
-
CardIndividualDistance: Bt(() => import("./CardIndividualDistance-DtT14cRG-
|
|
17890
|
-
CardIndividualAreas: Bt(() => import("./CardIndividualAreas-D13F6fry-
|
|
17891
|
-
CardIndividualGoalParticipation: Bt(() => import("./CardIndividualGoalParticipation-DxJDrw64-
|
|
17892
|
-
CardIndividualGoals: Bt(() => import("./CardIndividualGoals-tVv3jx9v-
|
|
17893
|
-
CardIndividualShotsOnGoal: Bt(() => import("./CardIndividualShotsOnGoal-BA2B5zK2-
|
|
17894
|
-
CardIndividualFouls: Bt(() => import("./CardIndividualFouls-Bsm2M4Gv-
|
|
17895
|
-
CardIndividualCenters: Bt(() => import("./CardIndividualCenters-If_CjK9--
|
|
17896
|
-
CardIndividualSaves: Bt(() => import("./CardIndividualSaves-7NZaLckt-
|
|
17897
|
-
CardIndividual1vs1: Bt(() => import("./CardIndividual1vs1-C13lA1gg-
|
|
17898
|
-
CardIndividualStatistics: Bt(() => import("./CardIndividualStatistics-BdNBubd3-
|
|
17899
|
-
CardIndividualPerformance: Bt(() => import("./CardIndividualPerformance-pONmvZ---
|
|
17900
|
-
CardIndividualGold: Bt(() => import("./CardIndividualGold-B3awfrVU-
|
|
17901
|
-
CardPromTournament: Bt(() => import("./CardPromTournament-IvcxYf42-
|
|
17902
|
-
CardIndividualNoGoalReceived: Bt(() => import("./CardIndividualNoGoalReceived-plZw_S4K-
|
|
17903
|
-
CardTheMostProductive: Bt(() => import("./CardTheMostProductive-Crx3j88e-
|
|
17904
|
-
CardSuccessfulPasses: Bt(() => import("./CardSuccessfulPasses-CvGqK_hf-
|
|
17885
|
+
CardGeneral: Bt(() => import("./CardGeneral-CDS08xVv-BJD7nY0x.js")),
|
|
17886
|
+
CardGeneralIndividual: Bt(() => import("./CardGeneralIndividual-DoXvg6Ch-DlaFRhGj.js")),
|
|
17887
|
+
CardGeneralTeams: Bt(() => import("./CardGeneralTeams-FYzVxcB3-D0BFPC3E.js")),
|
|
17888
|
+
CardIndividual: Bt(() => import("./CardIndividual-u8FZLLmq-DzIpktS5.js")),
|
|
17889
|
+
CardIndividualDistance: Bt(() => import("./CardIndividualDistance-DtT14cRG-a399WiHt.js")),
|
|
17890
|
+
CardIndividualAreas: Bt(() => import("./CardIndividualAreas-D13F6fry-KTRmddgK.js")),
|
|
17891
|
+
CardIndividualGoalParticipation: Bt(() => import("./CardIndividualGoalParticipation-DxJDrw64-q36XeWIL.js")),
|
|
17892
|
+
CardIndividualGoals: Bt(() => import("./CardIndividualGoals-tVv3jx9v-D5Od_SA-.js")),
|
|
17893
|
+
CardIndividualShotsOnGoal: Bt(() => import("./CardIndividualShotsOnGoal-BA2B5zK2-BtfhUP_E.js")),
|
|
17894
|
+
CardIndividualFouls: Bt(() => import("./CardIndividualFouls-Bsm2M4Gv-DFeBedfO.js")),
|
|
17895
|
+
CardIndividualCenters: Bt(() => import("./CardIndividualCenters-If_CjK9--CjJj0fsY.js")),
|
|
17896
|
+
CardIndividualSaves: Bt(() => import("./CardIndividualSaves-7NZaLckt-evl-Y5LD.js")),
|
|
17897
|
+
CardIndividual1vs1: Bt(() => import("./CardIndividual1vs1-C13lA1gg-DRnvsHJw.js")),
|
|
17898
|
+
CardIndividualStatistics: Bt(() => import("./CardIndividualStatistics-BdNBubd3-DRCtUse3.js")),
|
|
17899
|
+
CardIndividualPerformance: Bt(() => import("./CardIndividualPerformance-pONmvZ---CTy_hccz.js")),
|
|
17900
|
+
CardIndividualGold: Bt(() => import("./CardIndividualGold-B3awfrVU-CNSXBraZ.js")),
|
|
17901
|
+
CardPromTournament: Bt(() => import("./CardPromTournament-IvcxYf42-C7wbClzj.js")),
|
|
17902
|
+
CardIndividualNoGoalReceived: Bt(() => import("./CardIndividualNoGoalReceived-plZw_S4K-D1lHkCmE.js")),
|
|
17903
|
+
CardTheMostProductive: Bt(() => import("./CardTheMostProductive-Crx3j88e-C6Ch3ma0.js")),
|
|
17904
|
+
CardSuccessfulPasses: Bt(() => import("./CardSuccessfulPasses-CvGqK_hf-D6gOqNB5.js"))
|
|
17905
17905
|
}, i = [
|
|
17906
17906
|
{
|
|
17907
17907
|
componentName: "CardGeneral",
|
|
@@ -31887,100 +31887,99 @@ const Dj = /* @__PURE__ */ Ej(Jh, [["render", Oj], ["__scopeId", "data-v-f3ee6b2
|
|
|
31887
31887
|
emits: ["input", "change-tournaments"],
|
|
31888
31888
|
setup(s, { emit: e }) {
|
|
31889
31889
|
const t = s, i = /* @__PURE__ */ new Set(["tops", "table", "dataia"]), a = M([]), n = ne(() => {
|
|
31890
|
-
const
|
|
31891
|
-
return t.fontFamily && (
|
|
31892
|
-
}), r = ne(() => a.value.filter((
|
|
31890
|
+
const m = {};
|
|
31891
|
+
return t.fontFamily && (m["font-family"] = `${t.fontFamily}`), m;
|
|
31892
|
+
}), r = ne(() => a.value.filter((m) => !m.isHidden)), o = ne(() => r.value.find((m) => m.seasonsIds.has(t.currentSeasonId)) || r.value[0]), c = ne(() => t.areFemaleVisible ? a.value : a.value.filter((m) => !m.is_female));
|
|
31893
31893
|
De(
|
|
31894
31894
|
() => t.isClubesActive,
|
|
31895
31895
|
() => {
|
|
31896
|
-
|
|
31896
|
+
l();
|
|
31897
31897
|
},
|
|
31898
31898
|
{ immediate: !0 }
|
|
31899
31899
|
), De(
|
|
31900
31900
|
() => t.routeName,
|
|
31901
31901
|
() => {
|
|
31902
|
-
console.log("watcher, routeName", t.routeName),
|
|
31902
|
+
console.log("watcher, routeName", t.routeName), l();
|
|
31903
31903
|
},
|
|
31904
31904
|
{ immediate: !0 }
|
|
31905
31905
|
);
|
|
31906
|
-
function
|
|
31907
|
-
a.value.forEach((
|
|
31908
|
-
|
|
31906
|
+
function l() {
|
|
31907
|
+
a.value.forEach((m) => {
|
|
31908
|
+
m.isHidden = !t.isClubesActive && m.isClub || t.isClubesActive && !m.isClub || t.routeName && m.tournament_type === 4 && i.has(t.routeName);
|
|
31909
31909
|
});
|
|
31910
31910
|
}
|
|
31911
|
-
async function
|
|
31911
|
+
async function d() {
|
|
31912
31912
|
try {
|
|
31913
31913
|
if (t.items && t.items.length)
|
|
31914
31914
|
a.value = [...t.items];
|
|
31915
31915
|
else {
|
|
31916
|
-
const
|
|
31917
|
-
e("change-tournaments",
|
|
31918
|
-
if (t.tournamentsIdsToInclude && t.tournamentsIdsToInclude.size && !t.tournamentsIdsToInclude.has(
|
|
31919
|
-
return
|
|
31920
|
-
const
|
|
31921
|
-
...
|
|
31922
|
-
seasons:
|
|
31923
|
-
seasonsIds:
|
|
31924
|
-
isClub:
|
|
31925
|
-
isFriendlies:
|
|
31916
|
+
const m = await f();
|
|
31917
|
+
e("change-tournaments", m), a.value = m.sort((p, v) => p.tournament.order - v.tournament.order).reduce((p, v) => {
|
|
31918
|
+
if (t.tournamentsIdsToInclude && t.tournamentsIdsToInclude.size && !t.tournamentsIdsToInclude.has(v.id))
|
|
31919
|
+
return p;
|
|
31920
|
+
const w = {
|
|
31921
|
+
...v.tournament,
|
|
31922
|
+
seasons: v.seasons,
|
|
31923
|
+
seasonsIds: v.seasons.reduce((S, E) => (S.add(E.id), S), /* @__PURE__ */ new Set()),
|
|
31924
|
+
isClub: v.tournament.international_tournament === 0,
|
|
31925
|
+
isFriendlies: v.tournament.tournament_type === 3
|
|
31926
31926
|
};
|
|
31927
|
-
return
|
|
31927
|
+
return w.isHidden = !t.avoidTournamentFilter && (!t.isClubesActive && w.isClub || t.isClubesActive && !w.isClub), p.push(w), p;
|
|
31928
31928
|
}, []);
|
|
31929
31929
|
}
|
|
31930
|
-
|
|
31931
|
-
|
|
31932
|
-
throw new Error(h);
|
|
31930
|
+
} catch (m) {
|
|
31931
|
+
throw new Error(m);
|
|
31933
31932
|
}
|
|
31934
31933
|
}
|
|
31935
|
-
function
|
|
31936
|
-
const
|
|
31937
|
-
return
|
|
31934
|
+
function u(m) {
|
|
31935
|
+
const p = new XMLHttpRequest(), v = `${t.logosUrl}${m}.${t.logoFileType}`;
|
|
31936
|
+
return p.open("HEAD", v, !1), p.send(), p.status !== 404;
|
|
31938
31937
|
}
|
|
31939
|
-
async function
|
|
31938
|
+
async function f() {
|
|
31940
31939
|
try {
|
|
31941
31940
|
return (await fetch(t.apiUrl || Xj)).json();
|
|
31942
|
-
} catch (
|
|
31943
|
-
return Promise.reject(
|
|
31941
|
+
} catch (m) {
|
|
31942
|
+
return Promise.reject(m);
|
|
31944
31943
|
}
|
|
31945
31944
|
}
|
|
31946
|
-
function
|
|
31947
|
-
e("input",
|
|
31945
|
+
function g(m) {
|
|
31946
|
+
e("input", m);
|
|
31948
31947
|
}
|
|
31949
|
-
function
|
|
31950
|
-
e("input",
|
|
31948
|
+
function h(m) {
|
|
31949
|
+
e("input", m);
|
|
31951
31950
|
}
|
|
31952
31951
|
return Tt(() => {
|
|
31953
|
-
|
|
31954
|
-
}), (
|
|
31952
|
+
d();
|
|
31953
|
+
}), (m, p) => (b(), _("div", {
|
|
31955
31954
|
class: "tournament-select",
|
|
31956
31955
|
style: U(n.value)
|
|
31957
31956
|
}, [
|
|
31958
31957
|
Ce(Ne(jj), Ys(t, {
|
|
31959
31958
|
"model-value": o.value,
|
|
31960
|
-
items:
|
|
31961
|
-
onInput:
|
|
31962
|
-
"onUpdate:modelValue":
|
|
31959
|
+
items: c.value,
|
|
31960
|
+
onInput: g,
|
|
31961
|
+
"onUpdate:modelValue": h
|
|
31963
31962
|
}), {
|
|
31964
|
-
default: Ve(({ selectedItem:
|
|
31963
|
+
default: Ve(({ selectedItem: v }) => [
|
|
31965
31964
|
y("div", Hj, [
|
|
31966
31965
|
y("div", Wj, [
|
|
31967
|
-
|
|
31966
|
+
u(v.id) ? (b(), _("img", {
|
|
31968
31967
|
key: 0,
|
|
31969
|
-
src: `${t.logosUrl}${
|
|
31968
|
+
src: `${t.logosUrl}${v.id}.${t.logoFileType}`,
|
|
31970
31969
|
alt: ""
|
|
31971
31970
|
}, null, 8, qj)) : x("", !0)
|
|
31972
31971
|
]),
|
|
31973
|
-
y("div", Kj, P(
|
|
31972
|
+
y("div", Kj, P(v.name), 1)
|
|
31974
31973
|
])
|
|
31975
31974
|
]),
|
|
31976
|
-
availableItem: Ve(({ item:
|
|
31977
|
-
y("div", null, P(
|
|
31975
|
+
availableItem: Ve(({ item: v }) => [
|
|
31976
|
+
y("div", null, P(v.name), 1)
|
|
31978
31977
|
]),
|
|
31979
31978
|
_: 1
|
|
31980
31979
|
}, 16, ["model-value", "items"])
|
|
31981
31980
|
], 4));
|
|
31982
31981
|
}
|
|
31983
|
-
}, Yj = /* @__PURE__ */ zj(Jj, [["__scopeId", "data-v-
|
|
31982
|
+
}, Yj = /* @__PURE__ */ zj(Jj, [["__scopeId", "data-v-84af8f29"]]), Zj = (s, e) => {
|
|
31984
31983
|
const t = s.__vccOpts || s;
|
|
31985
31984
|
for (const [i, a] of e)
|
|
31986
31985
|
t[i] = a;
|