@golstats/gsc-landing 1.0.158 → 1.0.159

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.
@@ -45794,9 +45794,14 @@ const Xt = CD(), c7 = {
45794
45794
  const a = this.seasonsGamesMap.get(i.game_id);
45795
45795
  if (a) {
45796
45796
  const n = o7.get(i.recent_lapse);
45797
- a.currentTimeLive = n && n < i.minute ? `${n}' + ${i.minute - n}'` : `${i.minute}'`, a.score = [
45797
+ a.currentTimeLive = n && n < i.minute ? `${n}' + ${i.minute - n}'` : `${i.minute}'`;
45798
+ const r = [
45798
45799
  Number(i.score[a.home_team.team_id.toString()]) + Number(i.score[`own_${a.visiting_team.team_id.toString()}`]),
45799
45800
  Number(i.score[a.visiting_team.team_id.toString()]) + Number(i.score[`own_${a.home_team.team_id.toString()}`])
45801
+ ], o = r[0], c = r[1];
45802
+ a.score = [
45803
+ Number.isNaN(o) ? 0 : o,
45804
+ Number.isNaN(c) ? 0 : c
45800
45805
  ], this.removeGameIfFinished(a, i.plays), e && e.game_id === a.game_id && (e.currentTimeLive = a.currentTimeLive, e.score = a.score, this.removeGameIfFinished(e, i.plays, !0));
45801
45806
  }
45802
45807
  }
@@ -46043,7 +46048,7 @@ const Xt = CD(), c7 = {
46043
46048
  beforeUnmount() {
46044
46049
  this.resetGamesLiveInterval();
46045
46050
  }
46046
- }, sr = (s) => (Je("data-v-b3e18c38"), s = s(), Xe(), s), d7 = {
46051
+ }, sr = (s) => (Je("data-v-5fa4dd75"), s = s(), Xe(), s), d7 = {
46047
46052
  class: "gsclanding",
46048
46053
  ref: "landingref"
46049
46054
  }, u7 = {
@@ -46375,7 +46380,7 @@ function z7(s, e, t, i, a, n) {
46375
46380
  ], 2)
46376
46381
  ], 512);
46377
46382
  }
46378
- const Q7 = /* @__PURE__ */ Ct(c7, [["render", z7], ["__scopeId", "data-v-b3e18c38"]]);
46383
+ const Q7 = /* @__PURE__ */ Ct(c7, [["render", z7], ["__scopeId", "data-v-5fa4dd75"]]);
46379
46384
  export {
46380
46385
  Q7 as GSCLanding
46381
46386
  };