@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.
Files changed (29) hide show
  1. package/dist/{CardBase-DJPEW7xu-DV1fklxs.js → CardBase-DJPEW7xu-tQy1i7nH.js} +1 -1
  2. package/dist/{CardBaseAllIndividual-CJY0KdrJ-gEN-cIsK.js → CardBaseAllIndividual-CJY0KdrJ-CI7H0Fsy.js} +1 -1
  3. package/dist/{CardGeneral-CDS08xVv-DN0atNlG.js → CardGeneral-CDS08xVv-BJD7nY0x.js} +2 -2
  4. package/dist/{CardGeneralIndividual-DoXvg6Ch-CEG-G52l.js → CardGeneralIndividual-DoXvg6Ch-DlaFRhGj.js} +2 -2
  5. package/dist/{CardGeneralTeams-FYzVxcB3-DxtsEBjE.js → CardGeneralTeams-FYzVxcB3-D0BFPC3E.js} +1 -1
  6. package/dist/{CardIndividual-u8FZLLmq-BjH-BxmI.js → CardIndividual-u8FZLLmq-DzIpktS5.js} +3 -3
  7. package/dist/{CardIndividual1vs1-C13lA1gg-0YMUoo6W.js → CardIndividual1vs1-C13lA1gg-DRnvsHJw.js} +2 -2
  8. package/dist/{CardIndividualAreas-D13F6fry-wZJYEMYb.js → CardIndividualAreas-D13F6fry-KTRmddgK.js} +2 -2
  9. package/dist/{CardIndividualCenters-If_CjK9--BwxbNHoj.js → CardIndividualCenters-If_CjK9--CjJj0fsY.js} +2 -2
  10. package/dist/{CardIndividualDistance-DtT14cRG-B5G3zzK6.js → CardIndividualDistance-DtT14cRG-a399WiHt.js} +2 -2
  11. package/dist/{CardIndividualFouls-Bsm2M4Gv-DXYknOti.js → CardIndividualFouls-Bsm2M4Gv-DFeBedfO.js} +2 -2
  12. package/dist/{CardIndividualGoalParticipation-DxJDrw64-DDGWMVe4.js → CardIndividualGoalParticipation-DxJDrw64-q36XeWIL.js} +2 -2
  13. package/dist/{CardIndividualGoals-tVv3jx9v-CNdrBm9i.js → CardIndividualGoals-tVv3jx9v-D5Od_SA-.js} +2 -2
  14. package/dist/{CardIndividualGold-B3awfrVU-CLFsrL7o.js → CardIndividualGold-B3awfrVU-CNSXBraZ.js} +3 -3
  15. package/dist/{CardIndividualNoGoalReceived-plZw_S4K-CWpmdDiJ.js → CardIndividualNoGoalReceived-plZw_S4K-D1lHkCmE.js} +2 -2
  16. package/dist/{CardIndividualPerformance-pONmvZ---D_llaQ02.js → CardIndividualPerformance-pONmvZ---CTy_hccz.js} +2 -2
  17. package/dist/{CardIndividualSaves-7NZaLckt-DUibROki.js → CardIndividualSaves-7NZaLckt-evl-Y5LD.js} +2 -2
  18. package/dist/{CardIndividualShotsOnGoal-BA2B5zK2-B9PVe8e8.js → CardIndividualShotsOnGoal-BA2B5zK2-BtfhUP_E.js} +2 -2
  19. package/dist/{CardIndividualStatistics-BdNBubd3-DQ7zFzsp.js → CardIndividualStatistics-BdNBubd3-DRCtUse3.js} +2 -2
  20. package/dist/{CardPromTournament-IvcxYf42-EF8r5e3M.js → CardPromTournament-IvcxYf42-C7wbClzj.js} +2 -2
  21. package/dist/{CardSuccessfulPasses-CvGqK_hf-BZ0qdzgh.js → CardSuccessfulPasses-CvGqK_hf-D6gOqNB5.js} +2 -2
  22. package/dist/{CardTheMostProductive-Crx3j88e-CotAtwiK.js → CardTheMostProductive-Crx3j88e-C6Ch3ma0.js} +3 -3
  23. package/dist/{PlayerProfileCircle-BQwTCjvG-B_DlmxMh.js → PlayerProfileCircle-BQwTCjvG-DRc4Cd_T.js} +1 -1
  24. package/dist/{Shield-aiuYwUJa-Bcmhvx_Q.js → Shield-aiuYwUJa-y1zd3iLy.js} +1 -1
  25. package/dist/gsc-landing.js +1 -1
  26. package/dist/gsc-landing.umd.cjs +1 -1
  27. package/dist/{index-BPb_W68m.js → index-CnB8qlww.js} +64 -65
  28. package/dist/style.css +1 -1
  29. 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-DN0atNlG.js")),
17886
- CardGeneralIndividual: Bt(() => import("./CardGeneralIndividual-DoXvg6Ch-CEG-G52l.js")),
17887
- CardGeneralTeams: Bt(() => import("./CardGeneralTeams-FYzVxcB3-DxtsEBjE.js")),
17888
- CardIndividual: Bt(() => import("./CardIndividual-u8FZLLmq-BjH-BxmI.js")),
17889
- CardIndividualDistance: Bt(() => import("./CardIndividualDistance-DtT14cRG-B5G3zzK6.js")),
17890
- CardIndividualAreas: Bt(() => import("./CardIndividualAreas-D13F6fry-wZJYEMYb.js")),
17891
- CardIndividualGoalParticipation: Bt(() => import("./CardIndividualGoalParticipation-DxJDrw64-DDGWMVe4.js")),
17892
- CardIndividualGoals: Bt(() => import("./CardIndividualGoals-tVv3jx9v-CNdrBm9i.js")),
17893
- CardIndividualShotsOnGoal: Bt(() => import("./CardIndividualShotsOnGoal-BA2B5zK2-B9PVe8e8.js")),
17894
- CardIndividualFouls: Bt(() => import("./CardIndividualFouls-Bsm2M4Gv-DXYknOti.js")),
17895
- CardIndividualCenters: Bt(() => import("./CardIndividualCenters-If_CjK9--BwxbNHoj.js")),
17896
- CardIndividualSaves: Bt(() => import("./CardIndividualSaves-7NZaLckt-DUibROki.js")),
17897
- CardIndividual1vs1: Bt(() => import("./CardIndividual1vs1-C13lA1gg-0YMUoo6W.js")),
17898
- CardIndividualStatistics: Bt(() => import("./CardIndividualStatistics-BdNBubd3-DQ7zFzsp.js")),
17899
- CardIndividualPerformance: Bt(() => import("./CardIndividualPerformance-pONmvZ---D_llaQ02.js")),
17900
- CardIndividualGold: Bt(() => import("./CardIndividualGold-B3awfrVU-CLFsrL7o.js")),
17901
- CardPromTournament: Bt(() => import("./CardPromTournament-IvcxYf42-EF8r5e3M.js")),
17902
- CardIndividualNoGoalReceived: Bt(() => import("./CardIndividualNoGoalReceived-plZw_S4K-CWpmdDiJ.js")),
17903
- CardTheMostProductive: Bt(() => import("./CardTheMostProductive-Crx3j88e-CotAtwiK.js")),
17904
- CardSuccessfulPasses: Bt(() => import("./CardSuccessfulPasses-CvGqK_hf-BZ0qdzgh.js"))
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 h = {};
31891
- return t.fontFamily && (h["font-family"] = `${t.fontFamily}`), h;
31892
- }), r = ne(() => a.value.filter((h) => !h.isHidden)), o = ne(() => r.value.find((h) => h.seasonsIds.has(t.currentSeasonId)) || r.value[0]);
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
- c();
31896
+ l();
31897
31897
  },
31898
31898
  { immediate: !0 }
31899
31899
  ), De(
31900
31900
  () => t.routeName,
31901
31901
  () => {
31902
- console.log("watcher, routeName", t.routeName), c();
31902
+ console.log("watcher, routeName", t.routeName), l();
31903
31903
  },
31904
31904
  { immediate: !0 }
31905
31905
  );
31906
- function c() {
31907
- a.value.forEach((h) => {
31908
- h.isHidden = !t.isClubesActive && h.isClub || t.isClubesActive && !h.isClub || t.routeName && h.tournament_type === 4 && i.has(t.routeName);
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 l() {
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 h = await u();
31917
- e("change-tournaments", h), a.value = h.sort((m, p) => m.tournament.order - p.tournament.order).reduce((m, p) => {
31918
- if (t.tournamentsIdsToInclude && t.tournamentsIdsToInclude.size && !t.tournamentsIdsToInclude.has(p.id))
31919
- return m;
31920
- const v = {
31921
- ...p.tournament,
31922
- seasons: p.seasons,
31923
- seasonsIds: p.seasons.reduce((w, S) => (w.add(S.id), w), /* @__PURE__ */ new Set()),
31924
- isClub: p.tournament.international_tournament === 0,
31925
- isFriendlies: p.tournament.tournament_type === 3
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 v.isHidden = !t.avoidTournamentFilter && (!t.isClubesActive && v.isClub || t.isClubesActive && !v.isClub), m.push(v), m;
31927
+ return w.isHidden = !t.avoidTournamentFilter && (!t.isClubesActive && w.isClub || t.isClubesActive && !w.isClub), p.push(w), p;
31928
31928
  }, []);
31929
31929
  }
31930
- t.areFemaleVisible || (a.value = a.value.filter((h) => !h.is_female));
31931
- } catch (h) {
31932
- throw new Error(h);
31930
+ } catch (m) {
31931
+ throw new Error(m);
31933
31932
  }
31934
31933
  }
31935
- function d(h) {
31936
- const m = new XMLHttpRequest(), p = `${t.logosUrl}${h}.${t.logoFileType}`;
31937
- return m.open("HEAD", p, !1), m.send(), m.status !== 404;
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 u() {
31938
+ async function f() {
31940
31939
  try {
31941
31940
  return (await fetch(t.apiUrl || Xj)).json();
31942
- } catch (h) {
31943
- return Promise.reject(h);
31941
+ } catch (m) {
31942
+ return Promise.reject(m);
31944
31943
  }
31945
31944
  }
31946
- function f(h) {
31947
- e("input", h);
31945
+ function g(m) {
31946
+ e("input", m);
31948
31947
  }
31949
- function g(h) {
31950
- e("input", h);
31948
+ function h(m) {
31949
+ e("input", m);
31951
31950
  }
31952
31951
  return Tt(() => {
31953
- l();
31954
- }), (h, m) => (b(), _("div", {
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: a.value,
31961
- onInput: f,
31962
- "onUpdate:modelValue": g
31959
+ items: c.value,
31960
+ onInput: g,
31961
+ "onUpdate:modelValue": h
31963
31962
  }), {
31964
- default: Ve(({ selectedItem: p }) => [
31963
+ default: Ve(({ selectedItem: v }) => [
31965
31964
  y("div", Hj, [
31966
31965
  y("div", Wj, [
31967
- d(p.id) ? (b(), _("img", {
31966
+ u(v.id) ? (b(), _("img", {
31968
31967
  key: 0,
31969
- src: `${t.logosUrl}${p.id}.${t.logoFileType}`,
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(p.name), 1)
31972
+ y("div", Kj, P(v.name), 1)
31974
31973
  ])
31975
31974
  ]),
31976
- availableItem: Ve(({ item: p }) => [
31977
- y("div", null, P(p.name), 1)
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-65f9ab6c"]]), Zj = (s, e) => {
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;