@golstats/gsc-game-data 1.0.57 → 1.0.59
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/gsc-game-data.js +42 -37
- package/dist/gsc-game-data.umd.cjs +54 -54
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/gsc-game-data.js
CHANGED
|
@@ -25680,6 +25680,7 @@ const JZ = { class: "alineaciones-container" }, XZ = {
|
|
|
25680
25680
|
seasonId: 1772,
|
|
25681
25681
|
status: 1,
|
|
25682
25682
|
dateTimeUTC: "2023-10-01T22:20:00Z",
|
|
25683
|
+
is_live: 0,
|
|
25683
25684
|
homeTeam: {
|
|
25684
25685
|
logo: "https://az755631.vo.msecnd.net/teams-80/18.png",
|
|
25685
25686
|
team_id: 10,
|
|
@@ -25708,7 +25709,7 @@ const JZ = { class: "alineaciones-container" }, XZ = {
|
|
|
25708
25709
|
},
|
|
25709
25710
|
{ deep: !0, immediate: !0 }
|
|
25710
25711
|
), (s, i) => (y(), f("div", JZ, [
|
|
25711
|
-
e.game.status
|
|
25712
|
+
e.game.status === 4 && !e.game.is_live ? (y(), f(E, { key: 0 }, [
|
|
25712
25713
|
Object.keys(e.game).length > 0 ? (y(), H(ve(R1), {
|
|
25713
25714
|
key: a.value,
|
|
25714
25715
|
type: "3D",
|
|
@@ -25725,7 +25726,7 @@ const JZ = { class: "alineaciones-container" }, XZ = {
|
|
|
25725
25726
|
], 64))
|
|
25726
25727
|
]));
|
|
25727
25728
|
}
|
|
25728
|
-
}, ZZ = /* @__PURE__ */ rt(XZ, [["__scopeId", "data-v-
|
|
25729
|
+
}, ZZ = /* @__PURE__ */ rt(XZ, [["__scopeId", "data-v-2915e84c"]]);
|
|
25729
25730
|
function ew(e, t) {
|
|
25730
25731
|
return function() {
|
|
25731
25732
|
return e.apply(t, arguments);
|
|
@@ -70409,7 +70410,7 @@ const oje = { class: "datagame-container" }, nje = {
|
|
|
70409
70410
|
onClick: i
|
|
70410
70411
|
}, C(e.text), 7));
|
|
70411
70412
|
}
|
|
70412
|
-
}, cje = /* @__PURE__ */ Un(lje, [["__scopeId", "data-v-
|
|
70413
|
+
}, cje = /* @__PURE__ */ Un(lje, [["__scopeId", "data-v-ea76c1c1"]]);
|
|
70413
70414
|
function H7(e, t) {
|
|
70414
70415
|
return function() {
|
|
70415
70416
|
return e.apply(t, arguments);
|
|
@@ -71896,7 +71897,7 @@ function IMe(e, t, a, s, i, o) {
|
|
|
71896
71897
|
], 2)
|
|
71897
71898
|
], 2);
|
|
71898
71899
|
}
|
|
71899
|
-
const OMe = /* @__PURE__ */ Un(AMe, [["render", IMe], ["__scopeId", "data-v-
|
|
71900
|
+
const OMe = /* @__PURE__ */ Un(AMe, [["render", IMe], ["__scopeId", "data-v-0336fa9c"]]), TMe = 1e3, dC = TMe * 60, ap = dC * 60, y4 = ap * 24, EMe = {
|
|
71900
71901
|
data() {
|
|
71901
71902
|
return {
|
|
71902
71903
|
timeLeft: "",
|
|
@@ -72758,28 +72759,28 @@ const dze = "/icn-play.svg", uze = "/icn-tiros-de-esquina.svg", mze = "/icn-tiro
|
|
|
72758
72759
|
* }}
|
|
72759
72760
|
* example object:
|
|
72760
72761
|
* {
|
|
72761
|
-
|
|
72762
|
-
|
|
72763
|
-
|
|
72764
|
-
|
|
72765
|
-
|
|
72766
|
-
|
|
72767
|
-
|
|
72768
|
-
|
|
72769
|
-
|
|
72770
|
-
|
|
72771
|
-
|
|
72772
|
-
|
|
72773
|
-
|
|
72774
|
-
|
|
72775
|
-
|
|
72776
|
-
|
|
72777
|
-
|
|
72778
|
-
|
|
72779
|
-
|
|
72780
|
-
|
|
72781
|
-
|
|
72782
|
-
|
|
72762
|
+
"category_name": "Fuera de Lugar",
|
|
72763
|
+
"comments": "Fuera de lugar de Oribe Peralta Morones",
|
|
72764
|
+
"video_status": 0,
|
|
72765
|
+
"season_id": 1325,
|
|
72766
|
+
"team_id": 1,
|
|
72767
|
+
"event_type_name": "Jugada",
|
|
72768
|
+
"team_name": "Guadalajara",
|
|
72769
|
+
"event_type_id": 5,
|
|
72770
|
+
"minute": 3,
|
|
72771
|
+
"createdAt": "-",
|
|
72772
|
+
"play_id": "62209812021193252",
|
|
72773
|
+
"total": 1,
|
|
72774
|
+
"player_id": "363",
|
|
72775
|
+
"video_link": "-",
|
|
72776
|
+
"category_id": 17,
|
|
72777
|
+
"x": 68,
|
|
72778
|
+
"y": 81,
|
|
72779
|
+
"player_name": "Peralta Morones, Oribe",
|
|
72780
|
+
"match_lapse": 1,
|
|
72781
|
+
"game_id": 62209,
|
|
72782
|
+
"status": 1
|
|
72783
|
+
}
|
|
72783
72784
|
*/
|
|
72784
72785
|
gameEvent: {
|
|
72785
72786
|
type: Object,
|
|
@@ -72843,8 +72844,8 @@ const dze = "/icn-play.svg", uze = "/icn-tiros-de-esquina.svg", mze = "/icn-tiro
|
|
|
72843
72844
|
},
|
|
72844
72845
|
methods: {
|
|
72845
72846
|
...nze("general", ["setVideoModalVisibility", "setVideoSrc"]),
|
|
72846
|
-
thumbnailClick(e
|
|
72847
|
-
|
|
72847
|
+
thumbnailClick(e) {
|
|
72848
|
+
e !== "-" && this.$emit("thumbnail-click", e);
|
|
72848
72849
|
},
|
|
72849
72850
|
showVideoTimeline(e) {
|
|
72850
72851
|
this.setVideoSrc(e), this.setVideoModalVisibility(!0);
|
|
@@ -72871,7 +72872,7 @@ const dze = "/icn-play.svg", uze = "/icn-tiros-de-esquina.svg", mze = "/icn-tiro
|
|
|
72871
72872
|
});
|
|
72872
72873
|
}
|
|
72873
72874
|
}
|
|
72874
|
-
}, Ize = (e) => (Se("data-v-
|
|
72875
|
+
}, Ize = (e) => (Se("data-v-4a7434a2"), e = e(), ke(), e), Oze = { class: "time-line-event__details" }, Tze = {
|
|
72875
72876
|
width: "127",
|
|
72876
72877
|
preload: "metadata",
|
|
72877
72878
|
style: { "border-radius": "8px" }
|
|
@@ -73032,7 +73033,9 @@ function lHe(e, t, a, s, i, o) {
|
|
|
73032
73033
|
}, [
|
|
73033
73034
|
r("img", {
|
|
73034
73035
|
src: dze,
|
|
73035
|
-
class: m(
|
|
73036
|
+
class: m(
|
|
73037
|
+
"time-line-event__details__info__header__event-play time-line-event__details__info__header__event-play__" + a.gameEvent.event_type_name
|
|
73038
|
+
)
|
|
73036
73039
|
}, null, 2),
|
|
73037
73040
|
M(" " + C(a.gameEvent.category_id ? a.gameEvent.event_type_id === 5 ? a.gameEvent.category_name : a.gameEvent.event_type_name === "Gol" ? a.gameEvent.event_type_name + " de " + a.gameEvent.team_name : a.gameEvent.event_type_name : a.gameEvent.comments), 1)
|
|
73038
73041
|
], 2)
|
|
@@ -73056,7 +73059,7 @@ function lHe(e, t, a, s, i, o) {
|
|
|
73056
73059
|
], 2)
|
|
73057
73060
|
], 6);
|
|
73058
73061
|
}
|
|
73059
|
-
const cHe = /* @__PURE__ */ Un(Aze, [["render", lHe], ["__scopeId", "data-v-
|
|
73062
|
+
const cHe = /* @__PURE__ */ Un(Aze, [["render", lHe], ["__scopeId", "data-v-4a7434a2"]]), dHe = {
|
|
73060
73063
|
"1-1": "gol",
|
|
73061
73064
|
"1-2": "gol",
|
|
73062
73065
|
"1-3": "gol",
|
|
@@ -73307,7 +73310,7 @@ const mHe = {
|
|
|
73307
73310
|
this.channelName === e && this.deleteGameEventFromChannel(t);
|
|
73308
73311
|
}
|
|
73309
73312
|
}
|
|
73310
|
-
}, kC = (e) => (Se("data-v-
|
|
73313
|
+
}, kC = (e) => (Se("data-v-00f10598"), e = e(), ke(), e), hHe = {
|
|
73311
73314
|
ref: "timeLine",
|
|
73312
73315
|
class: "time-line"
|
|
73313
73316
|
}, pHe = { class: "time-line__header" }, gHe = { class: "time-line__header__dot" }, yHe = { class: "time-line__header__dot__home-team team-logo" }, fHe = ["src"], _He = { class: "time-line__header__dot__away-team team-logo" }, bHe = ["src"], vHe = { class: "time-line__game-events" }, wHe = {
|
|
@@ -73341,7 +73344,7 @@ function IHe(e, t, a, s, i, o) {
|
|
|
73341
73344
|
])
|
|
73342
73345
|
]),
|
|
73343
73346
|
r("div", vHe, [
|
|
73344
|
-
a.gameData.status !== 4 ? (y(), H(FC, {
|
|
73347
|
+
a.gameData.status !== 4 || a.gameData.is_live ? (y(), H(FC, {
|
|
73345
73348
|
key: 0,
|
|
73346
73349
|
name: i.transitionName,
|
|
73347
73350
|
tag: "div"
|
|
@@ -73401,7 +73404,7 @@ function IHe(e, t, a, s, i, o) {
|
|
|
73401
73404
|
}, 8, ["data"])
|
|
73402
73405
|
], 64);
|
|
73403
73406
|
}
|
|
73404
|
-
const OHe = /* @__PURE__ */ Un(mHe, [["render", IHe], ["__scopeId", "data-v-
|
|
73407
|
+
const OHe = /* @__PURE__ */ Un(mHe, [["render", IHe], ["__scopeId", "data-v-00f10598"]]), THe = { class: "game-time-line__options" }, EHe = { class: "game-time-line__timeline" }, FHe = {
|
|
73405
73408
|
__name: "GSC-GameTimeLine",
|
|
73406
73409
|
props: {
|
|
73407
73410
|
game: {
|
|
@@ -73411,6 +73414,7 @@ const OHe = /* @__PURE__ */ Un(mHe, [["render", IHe], ["__scopeId", "data-v-a31f
|
|
|
73411
73414
|
seasonId: 1772,
|
|
73412
73415
|
status: 1,
|
|
73413
73416
|
dateTimeUTC: "2023-10-01T22:20:00Z",
|
|
73417
|
+
is_live: 0,
|
|
73414
73418
|
homeTeam: {
|
|
73415
73419
|
logo: "https://az755631.vo.msecnd.net/teams-80/18.png",
|
|
73416
73420
|
team_id: 18,
|
|
@@ -73508,7 +73512,7 @@ const OHe = /* @__PURE__ */ Un(mHe, [["render", IHe], ["__scopeId", "data-v-a31f
|
|
|
73508
73512
|
])
|
|
73509
73513
|
], 512));
|
|
73510
73514
|
}
|
|
73511
|
-
}, PHe = /* @__PURE__ */ Un(FHe, [["__scopeId", "data-v-
|
|
73515
|
+
}, PHe = /* @__PURE__ */ Un(FHe, [["__scopeId", "data-v-bfaa6d14"]]);
|
|
73512
73516
|
function RHe(e) {
|
|
73513
73517
|
const t = T({ width: 0, height: 0 });
|
|
73514
73518
|
function a() {
|
|
@@ -73972,7 +73976,8 @@ const rUe = ut({
|
|
|
73972
73976
|
game_status: o.value.game_status == 0 ? 4 : o.value.game_status,
|
|
73973
73977
|
dateTimeUTC: o.value.date_time_utc,
|
|
73974
73978
|
homeTeam: o.value.home_team,
|
|
73975
|
-
awayTeam: o.value.visiting_team
|
|
73979
|
+
awayTeam: o.value.visiting_team,
|
|
73980
|
+
is_live: o.value.is_live
|
|
73976
73981
|
}), P;
|
|
73977
73982
|
});
|
|
73978
73983
|
function S(P) {
|
|
@@ -74064,7 +74069,7 @@ const rUe = ut({
|
|
|
74064
74069
|
])
|
|
74065
74070
|
], 512));
|
|
74066
74071
|
}
|
|
74067
|
-
}), vVe = /* @__PURE__ */ rt(lUe, [["__scopeId", "data-v-
|
|
74072
|
+
}), vVe = /* @__PURE__ */ rt(lUe, [["__scopeId", "data-v-96da925c"]]);
|
|
74068
74073
|
async function Wt({ url: e, options: t = {}, retries: a = 3 }) {
|
|
74069
74074
|
return await Ml.get(e, t).then((s) => s).catch((s) => a > 0 ? Wt({ url: e, options: t, retries: a - 1 }) : s);
|
|
74070
74075
|
}
|