@golstats/gsc-landing 1.0.129 → 1.0.131

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.
@@ -44561,7 +44561,9 @@ const Yt = BL(), SB = {
44561
44561
  }
44562
44562
  },
44563
44563
  ordenarYFiltrarPartidos(s) {
44564
- const e = s.filter((t) => t.game_status === 1 || t.is_live == 1);
44564
+ const e = s.filter(
44565
+ (t) => t.game_status === 1 || t.is_live == 1
44566
+ );
44565
44567
  return e.sort((t, i) => new Date(i.date_time_utc) - new Date(t.date_time_utc)), e.slice(0, 18);
44566
44568
  },
44567
44569
  async fetchSeasonsGamesAndTeams(s, e, t = "") {
@@ -44878,8 +44880,8 @@ const Yt = BL(), SB = {
44878
44880
  if (i) {
44879
44881
  const n = bB.get(t.recent_lapse);
44880
44882
  i.currentTimeLive = n && n < t.minute ? `${n}' + ${t.minute - n}'` : `${t.minute}'`, i.score = [
44881
- t.score[i.home_team.team_id.toString()],
44882
- t.score[i.visiting_team.team_id.toString()]
44883
+ Number(t.score[i.home_team.team_id.toString()]) + Number(t.score[`own_${i.visiting_team.team_id.toString()}`]),
44884
+ Number(t.score[i.visiting_team.team_id.toString()]) + Number(t.score[`own_${i.home_team.team_id.toString()}`])
44883
44885
  ], this.removeGameIfFinished(i, t.plays);
44884
44886
  }
44885
44887
  }
@@ -44975,14 +44977,18 @@ const Yt = BL(), SB = {
44975
44977
  headers: {
44976
44978
  Authorization: `${this.token}`
44977
44979
  }
44978
- }).get("https://cpj4073446.execute-api.us-east-2.amazonaws.com/prod/live/videos/plays/seasons/" + this.gamesAllStories[s].season_id + "/games/" + this.gamesAllStories[s].game_id)).data.plays.filter((r) => r[0] === 607 || r[0] === 608 || r[0] === 12 || r[0] === 55 || r[0] === 54 || r[0] === 35 || r[0] === 15 || r[0] === 53);
44980
+ }).get(
44981
+ "https://cpj4073446.execute-api.us-east-2.amazonaws.com/prod/live/videos/plays/seasons/" + this.gamesAllStories[s].season_id + "/games/" + this.gamesAllStories[s].game_id
44982
+ )).data.plays.filter(
44983
+ (r) => r[0] === 607 || r[0] === 608 || r[0] === 12 || r[0] === 55 || r[0] === 54 || r[0] === 35 || r[0] === 15 || r[0] === 53
44984
+ );
44979
44985
  let n = i.map((r) => ({
44980
44986
  playId: r[29],
44981
44987
  gameId: r[3],
44982
44988
  player: this.seasonPlayersMap.get(r[1]),
44983
44989
  categoryId: r[0],
44984
44990
  date: new Date(r[4]),
44985
- url: "https://falconvideolive.blob.core.windows.net/video-tv/" + this.gamesAllStories[s].game_id + "_1/" + this.gamesAllStories[s].game_id + "_1.m3u8",
44991
+ url: "https://falconvideolive.blob.core.windows.net/video-hls-live/" + this.gamesAllStories[s].game_id + "/" + this.gamesAllStories[s].game_id + ".m3u8",
44986
44992
  type: "video",
44987
44993
  thumbnail: {
44988
44994
  logoHomeTeam: "https://az755631.vo.msecnd.net/teams-80/" + this.gamesAllStories[s].home_team + ".png",
@@ -45023,7 +45029,7 @@ const Yt = BL(), SB = {
45023
45029
  beforeUnmount() {
45024
45030
  this.resetGamesLiveInterval();
45025
45031
  }
45026
- }, wi = (s) => (Ye("data-v-d4f7c37c"), s = s(), Ze(), s), CB = {
45032
+ }, wi = (s) => (Ye("data-v-1776696e"), s = s(), Ze(), s), CB = {
45027
45033
  class: "gsclanding",
45028
45034
  ref: "landingref"
45029
45035
  }, TB = {
@@ -45337,7 +45343,7 @@ function tD(s, e, t, i, n, a) {
45337
45343
  ], 2)
45338
45344
  ], 512);
45339
45345
  }
45340
- const dD = /* @__PURE__ */ Ct(SB, [["render", tD], ["__scopeId", "data-v-d4f7c37c"]]);
45346
+ const dD = /* @__PURE__ */ Ct(SB, [["render", tD], ["__scopeId", "data-v-1776696e"]]);
45341
45347
  export {
45342
45348
  dD as GSCLanding
45343
45349
  };