@golstats/gsc-landing 1.0.39 → 1.0.41
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-landing.js +96 -71
- package/dist/gsc-landing.umd.cjs +22 -22
- package/dist/style.css +1 -1
- package/package.json +3 -3
package/dist/gsc-landing.js
CHANGED
|
@@ -12059,7 +12059,7 @@ const b2 = /* @__PURE__ */ ot(h2, [["render", y2], ["__scopeId", "data-v-6b8889e
|
|
|
12059
12059
|
}, "Analizar partido →")
|
|
12060
12060
|
]));
|
|
12061
12061
|
}
|
|
12062
|
-
}, Qs = /* @__PURE__ */ ot(G2, [["__scopeId", "data-v-8a51a354"]]), q2 =
|
|
12062
|
+
}, Qs = /* @__PURE__ */ ot(G2, [["__scopeId", "data-v-8a51a354"]]), q2 = ["src"], J2 = ["src"], K2 = { class: "coming-match__body" }, Z2 = { class: "coming-match__data" }, X2 = ["src"], Y2 = { style: { "margin-top": "16px" } }, Q2 = { class: "coming-match__time" }, ev = { class: "coming-match__cst" }, tv = { key: 0 }, av = ["src"], ov = {
|
|
12063
12063
|
__name: "ComingMatch",
|
|
12064
12064
|
props: {
|
|
12065
12065
|
small: {
|
|
@@ -12100,17 +12100,17 @@ const b2 = /* @__PURE__ */ ot(h2, [["render", y2], ["__scopeId", "data-v-6b8889e
|
|
|
12100
12100
|
class: S(["coming-match__bg", { small: e.small }]),
|
|
12101
12101
|
src: typeof e.data.home_team == "object" ? "https://az755631.vo.msecnd.net/teams-150/" + ((o = e.data) == null ? void 0 : o.home_team.team_id) + ".png" : "https://az755631.vo.msecnd.net/teams-150/" + ((i = e.data) == null ? void 0 : i.home_team) + ".png",
|
|
12102
12102
|
alt: "team-img"
|
|
12103
|
-
}, null, 10,
|
|
12103
|
+
}, null, 10, q2),
|
|
12104
12104
|
m("img", {
|
|
12105
12105
|
class: S(["coming-match__bg", { small: e.small }]),
|
|
12106
12106
|
src: typeof e.data.visiting_team == "object" ? "https://az755631.vo.msecnd.net/teams-150/" + ((n = e.data) == null ? void 0 : n.visiting_team.team_id) + ".png" : "https://az755631.vo.msecnd.net/teams-150/" + ((s = e.data) == null ? void 0 : s.visiting_team) + ".png",
|
|
12107
12107
|
alt: "team-img"
|
|
12108
|
-
}, null, 10,
|
|
12109
|
-
m("div",
|
|
12108
|
+
}, null, 10, J2),
|
|
12109
|
+
m("div", K2, [
|
|
12110
12110
|
m("div", {
|
|
12111
12111
|
class: S(["coming-match__date", { small: e.small }])
|
|
12112
12112
|
}, O(e.data.matchday_abbreviation.replace("M", "J")), 3),
|
|
12113
|
-
m("div",
|
|
12113
|
+
m("div", Z2, [
|
|
12114
12114
|
m("div", {
|
|
12115
12115
|
class: S(["coming-match__team", { small: e.small }])
|
|
12116
12116
|
}, [
|
|
@@ -12118,20 +12118,22 @@ const b2 = /* @__PURE__ */ ot(h2, [["render", y2], ["__scopeId", "data-v-6b8889e
|
|
|
12118
12118
|
class: S(["coming-match__img", { small: e.small }]),
|
|
12119
12119
|
src: typeof e.data.home_team == "object" ? "https://az755631.vo.msecnd.net/teams-80/" + ((r = e.data) == null ? void 0 : r.home_team.team_id) + ".png" : "https://az755631.vo.msecnd.net/teams-80/" + ((u = e.data) == null ? void 0 : u.home_team) + ".png",
|
|
12120
12120
|
alt: "team-img"
|
|
12121
|
-
}, null, 10,
|
|
12121
|
+
}, null, 10, X2),
|
|
12122
12122
|
m("div", {
|
|
12123
12123
|
class: S(["coming-match__acronym", { small: e.small }])
|
|
12124
12124
|
}, O((l = e.data) == null ? void 0 : l.home_team_name), 3)
|
|
12125
12125
|
], 2),
|
|
12126
|
-
m("div",
|
|
12127
|
-
m("div",
|
|
12128
|
-
e.data.game_status
|
|
12126
|
+
m("div", Y2, [
|
|
12127
|
+
m("div", Q2, [
|
|
12128
|
+
e.data.game_status !== 4 ? (y(), b(U, { key: 0 }, [
|
|
12129
12129
|
Me(O((d = e.data) == null ? void 0 : d.score[0]) + " - " + O((h = e.data) == null ? void 0 : h.score[1]), 1)
|
|
12130
12130
|
], 64)) : (y(), b(U, { key: 1 }, [
|
|
12131
12131
|
Me(O((f = e.data) == null ? void 0 : f.schedule.replace(":00", "")), 1)
|
|
12132
12132
|
], 64))
|
|
12133
12133
|
]),
|
|
12134
|
-
|
|
12134
|
+
m("div", ev, [
|
|
12135
|
+
e.data.game_status === 4 ? (y(), b("span", tv, "CST")) : T("", !0)
|
|
12136
|
+
])
|
|
12135
12137
|
]),
|
|
12136
12138
|
m("div", {
|
|
12137
12139
|
class: S(["coming-match__team", { small: e.small }])
|
|
@@ -12154,7 +12156,7 @@ const b2 = /* @__PURE__ */ ot(h2, [["render", y2], ["__scopeId", "data-v-6b8889e
|
|
|
12154
12156
|
], 2);
|
|
12155
12157
|
};
|
|
12156
12158
|
}
|
|
12157
|
-
}, Jo = /* @__PURE__ */ ot(ov, [["__scopeId", "data-v-
|
|
12159
|
+
}, Jo = /* @__PURE__ */ ot(ov, [["__scopeId", "data-v-a8f092d2"]]), nv = (e) => (ye("data-v-90640930"), e = e(), be(), e), iv = ["src"], sv = ["src"], rv = { class: "coming-match__body" }, lv = { class: "coming-match__data" }, cv = ["src"], dv = { style: { "margin-top": "16px" } }, uv = { class: "coming-match__time" }, mv = /* @__PURE__ */ nv(() => /* @__PURE__ */ m("div", { class: "coming-match__cst" }, "CST", -1)), hv = ["src"], pv = {
|
|
12158
12160
|
__name: "ComingMatchGame",
|
|
12159
12161
|
props: {
|
|
12160
12162
|
small: {
|
|
@@ -20281,6 +20283,7 @@ const Mr = ze, G4 = (e, a) => {
|
|
|
20281
20283
|
backgroundColor: { type: String, default: "#0D1D29" },
|
|
20282
20284
|
pxScroll: { type: Number, default: 100 },
|
|
20283
20285
|
arrows: { type: Boolean, default: !0 },
|
|
20286
|
+
arrowsHideOnNoScroll: { type: Boolean, default: !1 },
|
|
20284
20287
|
arrowsScrollHide: { type: Boolean, default: !1 },
|
|
20285
20288
|
arrowsColor: { type: String, default: "#CBEE6B" },
|
|
20286
20289
|
arrowsHeight: { type: Number, default: 15 },
|
|
@@ -20299,11 +20302,15 @@ const Mr = ze, G4 = (e, a) => {
|
|
|
20299
20302
|
data() {
|
|
20300
20303
|
return {
|
|
20301
20304
|
showLeftArrow: !1,
|
|
20302
|
-
showRightArrow: !0
|
|
20305
|
+
showRightArrow: !0,
|
|
20306
|
+
intervalid1: ""
|
|
20303
20307
|
};
|
|
20304
20308
|
},
|
|
20305
20309
|
mounted() {
|
|
20306
|
-
this.getScroll();
|
|
20310
|
+
this.getScroll(), this.arrowsHideOnNoScroll && window.addEventListener("resize", this.resizeSlider), this.arrowsHideOnNoScroll && this.listenerLoad();
|
|
20311
|
+
},
|
|
20312
|
+
beforeUnmount() {
|
|
20313
|
+
this.arrowsHideOnNoScroll && window.removeEventListener("resize", this.resizeSlider), this.arrowsHideOnNoScroll && clearInterval(this.intervalid1);
|
|
20307
20314
|
},
|
|
20308
20315
|
computed: {
|
|
20309
20316
|
getViewBox() {
|
|
@@ -20327,28 +20334,42 @@ const Mr = ze, G4 = (e, a) => {
|
|
|
20327
20334
|
},
|
|
20328
20335
|
getScroll() {
|
|
20329
20336
|
let e = 0;
|
|
20330
|
-
this.arrowsPosition == "relative" ? e = this.$refs.content.scrollWidth - this.$el.clientWidth + this.arrowsMargin * 2 + this.arrowsWidth *
|
|
20337
|
+
this.arrowsPosition == "relative" ? e = this.$refs.content.scrollWidth - this.$el.clientWidth + this.arrowsMargin * 2 + this.arrowsWidth * 4 : e = this.$refs.content.scrollWidth - this.$el.clientWidth, this.$refs.content.scrollLeft == 0 ? this.showLeftArrow = !1 : this.showLeftArrow = !0, e > 0 && (this.$refs.content.scrollLeft == e ? this.showRightArrow = !1 : this.showRightArrow = !0), this.arrowsHideOnNoScroll && this.$refs.content.clientWidth === this.$refs.content.scrollWidth && (this.showRightArrow = !1);
|
|
20338
|
+
},
|
|
20339
|
+
resizeSlider() {
|
|
20340
|
+
this.getScroll();
|
|
20341
|
+
let e;
|
|
20342
|
+
clearTimeout(e), e = setTimeout(this.getScroll, 1e3);
|
|
20343
|
+
},
|
|
20344
|
+
listenerLoad() {
|
|
20345
|
+
this.intervalid1 = setInterval((function() {
|
|
20346
|
+
var e = this.$el.clientWidth, a = this.$refs.content.scrollWidth;
|
|
20347
|
+
a > 0 && e > 0 && (a > e ? (this.showRightArrow = !0, clearInterval(this.intervalid1)) : clearInterval(this.intervalid1));
|
|
20348
|
+
}).bind(this), 3e3);
|
|
20331
20349
|
}
|
|
20332
20350
|
}
|
|
20333
20351
|
}, Fr = () => {
|
|
20334
20352
|
$e((e) => ({
|
|
20335
|
-
|
|
20336
|
-
"
|
|
20337
|
-
"
|
|
20338
|
-
"
|
|
20339
|
-
"
|
|
20340
|
-
"
|
|
20341
|
-
"
|
|
20342
|
-
"
|
|
20343
|
-
"
|
|
20344
|
-
|
|
20345
|
-
"
|
|
20346
|
-
"
|
|
20347
|
-
"
|
|
20353
|
+
"42d3dba6": e.backgroundColor,
|
|
20354
|
+
"4de5d2cf": e.height,
|
|
20355
|
+
"67bafa7b": e.arrowsPosition,
|
|
20356
|
+
"61e1032e": e.arrowsPadding + "px",
|
|
20357
|
+
"79a4ac00": e.arrowsBackground,
|
|
20358
|
+
"6b8355c6": e.arrowsHeight * 2 + "px",
|
|
20359
|
+
"29a58368": e.arrowsWidth * 2 + "px",
|
|
20360
|
+
"3622fa64": e.arrowsRadius,
|
|
20361
|
+
"1ba101fe": e.arrowsBorder,
|
|
20362
|
+
"0bafb5e6": e.arrowsMargin + "px",
|
|
20363
|
+
"423a44b8": e.arrowsContainerBgL,
|
|
20364
|
+
"423a44be": e.arrowsContainerBgR,
|
|
20365
|
+
"10b117ee": e.scrollColor
|
|
20348
20366
|
}));
|
|
20349
20367
|
}, Dr = Mi.setup;
|
|
20350
20368
|
Mi.setup = Dr ? (e, a) => (Fr(), Dr(e, a)) : Fr;
|
|
20351
|
-
const q4 = {
|
|
20369
|
+
const q4 = {
|
|
20370
|
+
ref: "gscScrollableContainer",
|
|
20371
|
+
class: "scrollable-container"
|
|
20372
|
+
}, J4 = { class: "scrollable-arrows" }, K4 = ["width", "height", "viewBox"], Z4 = ["stroke"], X4 = { class: "scrollable-wrapper" }, Y4 = { class: "scrollable-arrows" }, Q4 = ["width", "height", "viewBox"], e3 = ["stroke"];
|
|
20352
20373
|
function t3(e, a, t, o, i, n) {
|
|
20353
20374
|
return y(), b("div", q4, [
|
|
20354
20375
|
t.arrows ? (y(), b("div", {
|
|
@@ -20372,7 +20393,7 @@ function t3(e, a, t, o, i, n) {
|
|
|
20372
20393
|
])
|
|
20373
20394
|
], 2)) : T("", !0),
|
|
20374
20395
|
m("div", {
|
|
20375
|
-
class: "scrollable-content",
|
|
20396
|
+
class: "scrollable-content scrollable-content-slider",
|
|
20376
20397
|
ref: "content",
|
|
20377
20398
|
onScroll: a[1] || (a[1] = (...s) => n.getScroll && n.getScroll(...s))
|
|
20378
20399
|
}, [
|
|
@@ -20382,6 +20403,7 @@ function t3(e, a, t, o, i, n) {
|
|
|
20382
20403
|
], 544),
|
|
20383
20404
|
t.arrows ? (y(), b("div", {
|
|
20384
20405
|
key: 1,
|
|
20406
|
+
id: "arrows-container-right",
|
|
20385
20407
|
class: S(["arrows-container", n.hideShowRightArrow]),
|
|
20386
20408
|
onClick: a[2] || (a[2] = (...s) => n.scrollRight && n.scrollRight(...s))
|
|
20387
20409
|
}, [
|
|
@@ -20400,9 +20422,9 @@ function t3(e, a, t, o, i, n) {
|
|
|
20400
20422
|
], 8, Q4))
|
|
20401
20423
|
])
|
|
20402
20424
|
], 2)) : T("", !0)
|
|
20403
|
-
]);
|
|
20425
|
+
], 512);
|
|
20404
20426
|
}
|
|
20405
|
-
const a3 = /* @__PURE__ */ G4(Mi, [["render", t3], ["__scopeId", "data-v-
|
|
20427
|
+
const a3 = /* @__PURE__ */ G4(Mi, [["render", t3], ["__scopeId", "data-v-b548a08d"]]), Jt = (e, a) => {
|
|
20406
20428
|
const t = e.__vccOpts || e;
|
|
20407
20429
|
for (const [o, i] of a)
|
|
20408
20430
|
t[o] = i;
|
|
@@ -21721,6 +21743,7 @@ const F6 = "_ptg_lp0fw_5", D6 = "_ptgtitle_lp0fw_15", z6 = "_ptgtitle450_lp0fw_4
|
|
|
21721
21743
|
teamsInfo: [],
|
|
21722
21744
|
playerPhoto: !0,
|
|
21723
21745
|
homeTeam: 0,
|
|
21746
|
+
flagGames: [],
|
|
21724
21747
|
lastseason: 0,
|
|
21725
21748
|
arrayMatchdays: [],
|
|
21726
21749
|
awayTeam: 0,
|
|
@@ -21733,7 +21756,7 @@ const F6 = "_ptg_lp0fw_5", D6 = "_ptgtitle_lp0fw_15", z6 = "_ptgtitle450_lp0fw_4
|
|
|
21733
21756
|
// the callback will be called immediately after the start of the observation
|
|
21734
21757
|
immediate: !0,
|
|
21735
21758
|
handler(e) {
|
|
21736
|
-
|
|
21759
|
+
this.type != 14 && this.getTeamsInfo(e), this.getStats(e);
|
|
21737
21760
|
}
|
|
21738
21761
|
}
|
|
21739
21762
|
},
|
|
@@ -22074,7 +22097,7 @@ const F6 = "_ptg_lp0fw_5", D6 = "_ptgtitle_lp0fw_15", z6 = "_ptgtitle450_lp0fw_4
|
|
|
22074
22097
|
] : a = e.data.category : e.type == 3 ? e.data.category == 0 ? a = [607, 608, 12, 55, 54, 35, 14, 52, 15, 53, 466, 477, 40, 257, 39] : a = e.data.category : e.data.category != 0 ? a = e.data.category : a = [607, 608, 12, 55, 54, 35, 14, 52, 15, 53, 466, 477], this.data.isPrematch === 1 && (t = null);
|
|
22075
22098
|
const o = [1, 2, 3];
|
|
22076
22099
|
let i = {
|
|
22077
|
-
type: e.data.
|
|
22100
|
+
type: e.data.plays_status == 0 || !e.data.plays_status ? 0 : 1,
|
|
22078
22101
|
seasonId: e.data.season_id,
|
|
22079
22102
|
//seasonid
|
|
22080
22103
|
//tournaments: this.tournamentsForMediaPlayer,
|
|
@@ -22094,7 +22117,7 @@ const F6 = "_ptg_lp0fw_5", D6 = "_ptgtitle_lp0fw_15", z6 = "_ptgtitle450_lp0fw_4
|
|
|
22094
22117
|
playListTitle: ""
|
|
22095
22118
|
}
|
|
22096
22119
|
};
|
|
22097
|
-
e.data.category !== 0 && (i.advancedFilter.mainCategoryId = e.data.category),
|
|
22120
|
+
e.data.category !== 0 && (i.advancedFilter.mainCategoryId = e.data.category), this.$emit("openmedia", i);
|
|
22098
22121
|
},
|
|
22099
22122
|
onClickVideos(e) {
|
|
22100
22123
|
this.$emit("onClickVideos", e);
|
|
@@ -22245,7 +22268,7 @@ const F6 = "_ptg_lp0fw_5", D6 = "_ptgtitle_lp0fw_15", z6 = "_ptgtitle450_lp0fw_4
|
|
|
22245
22268
|
}
|
|
22246
22269
|
}
|
|
22247
22270
|
if (this.type == 4) {
|
|
22248
|
-
|
|
22271
|
+
this.playerPhoto = !1, i = await a.get(
|
|
22249
22272
|
"https://wlduw4woy3.execute-api.us-east-2.amazonaws.com/prod/specifics-plays/seasons/" + e.season + "/games/" + e.game
|
|
22250
22273
|
);
|
|
22251
22274
|
for (let n = 0; n < i.data.home_team.categories.length; n++) {
|
|
@@ -22525,45 +22548,47 @@ const F6 = "_ptg_lp0fw_5", D6 = "_ptgtitle_lp0fw_15", z6 = "_ptgtitle450_lp0fw_4
|
|
|
22525
22548
|
score: n.data[s].best_plays[r].score[0] + " : " + n.data[s].best_plays[r].score[1]
|
|
22526
22549
|
}, t.push(o);
|
|
22527
22550
|
}
|
|
22528
|
-
if (this.type == 14)
|
|
22551
|
+
if (this.type == 14 && (t = [], e.season)) {
|
|
22529
22552
|
if (this.lastseason != e.season) {
|
|
22530
|
-
this.arrayMatchdays = [];
|
|
22531
22553
|
const n = await a.get(
|
|
22532
22554
|
"https://wlduw4woy3.execute-api.us-east-2.amazonaws.com/prod/best-plays/seasons/" + e.season + "/categories/" + e.category
|
|
22533
22555
|
);
|
|
22534
|
-
|
|
22535
|
-
for (let
|
|
22536
|
-
for (let
|
|
22556
|
+
this.flagGames = [], this.arrayMatchdays = [];
|
|
22557
|
+
for (let s = 0; s < n.data.length; s++)
|
|
22558
|
+
for (let r = 0; r < n.data[s].best_plays.length; r++)
|
|
22537
22559
|
o = {
|
|
22538
|
-
category: n.data[
|
|
22539
|
-
game_id: n.data[
|
|
22540
|
-
|
|
22541
|
-
season_id: n.data[
|
|
22542
|
-
backgroundhome: n.data[
|
|
22543
|
-
backgroundaway: n.data[
|
|
22544
|
-
colorfont_home: n.data[
|
|
22545
|
-
colorfont_away: n.data[
|
|
22546
|
-
logohome: "https://az755631.vo.msecnd.net/teams-150/" + n.data[
|
|
22547
|
-
logoaway: "https://az755631.vo.msecnd.net/teams-150/" + n.data[
|
|
22548
|
-
background: "https://golstatsimages.blob.core.windows.net/images-library/" + n.data[
|
|
22560
|
+
category: n.data[s].best_plays[r].categories,
|
|
22561
|
+
game_id: n.data[s].best_plays[r].game_id,
|
|
22562
|
+
plays_status: n.data[s].best_plays[r].plays_status,
|
|
22563
|
+
season_id: n.data[s].season_id,
|
|
22564
|
+
backgroundhome: n.data[s].best_plays[r].info_thumbnails.home_colors.background_color,
|
|
22565
|
+
backgroundaway: n.data[s].best_plays[r].info_thumbnails.away_colors.background_color,
|
|
22566
|
+
colorfont_home: n.data[s].best_plays[r].info_thumbnails.home_colors.font_color,
|
|
22567
|
+
colorfont_away: n.data[s].best_plays[r].info_thumbnails.away_colors.font_color,
|
|
22568
|
+
logohome: "https://az755631.vo.msecnd.net/teams-150/" + n.data[s].best_plays[r].info_thumbnails.home_team_logo,
|
|
22569
|
+
logoaway: "https://az755631.vo.msecnd.net/teams-150/" + n.data[s].best_plays[r].info_thumbnails.away_team_logo,
|
|
22570
|
+
background: "https://golstatsimages.blob.core.windows.net/images-library/" + n.data[s].best_plays[r].info_thumbnails.images.background_default_categories[0],
|
|
22549
22571
|
match: "",
|
|
22550
|
-
scorehome: n.data[
|
|
22551
|
-
scoreaway: n.data[
|
|
22572
|
+
scorehome: n.data[s].best_plays[r].score[0],
|
|
22573
|
+
scoreaway: n.data[s].best_plays[r].score[1],
|
|
22552
22574
|
seasonname: "",
|
|
22553
|
-
photo_profile: "https://az755631.vo.msecnd.net/players-profile/" + n.data[
|
|
22554
|
-
score: n.data[
|
|
22555
|
-
matchday_id: n.data[
|
|
22556
|
-
}, this.arrayMatchdays[n.data[
|
|
22575
|
+
photo_profile: "https://az755631.vo.msecnd.net/players-profile/" + n.data[s].best_plays[r].info_thumbnails.player_logo,
|
|
22576
|
+
score: n.data[s].best_plays[r].score[0] + " : " + n.data[s].best_plays[r].score[1],
|
|
22577
|
+
matchday_id: n.data[s].best_plays[r].matchday_id
|
|
22578
|
+
}, this.arrayMatchdays[n.data[s].best_plays[r].matchday_id] ? this.flagGames.includes(o.game_id) || (this.arrayMatchdays[n.data[s].best_plays[r].matchday_id].push(o), this.flagGames.push(o.game_id)) : (this.arrayMatchdays[n.data[s].best_plays[r].matchday_id] = [], this.flagGames.includes(o.game_id) || (this.arrayMatchdays[n.data[s].best_plays[r].matchday_id].push(o), this.flagGames.push(o.game_id)));
|
|
22579
|
+
t = this.arrayMatchdays[this.matchdayView];
|
|
22557
22580
|
} else
|
|
22558
22581
|
t = this.arrayMatchdays[this.matchdayView];
|
|
22559
|
-
|
|
22582
|
+
this.lastseason = e.season;
|
|
22583
|
+
}
|
|
22584
|
+
this.printData = t;
|
|
22560
22585
|
}
|
|
22561
22586
|
},
|
|
22562
22587
|
async created() {
|
|
22563
22588
|
}
|
|
22564
22589
|
}, nl = () => {
|
|
22565
22590
|
$e((e) => ({
|
|
22566
|
-
|
|
22591
|
+
eed013c6: e.backgroundColor
|
|
22567
22592
|
}));
|
|
22568
22593
|
}, il = Ui.setup;
|
|
22569
22594
|
Ui.setup = il ? (e, a) => (nl(), il(e, a)) : nl;
|
|
@@ -22791,7 +22816,7 @@ function U6(e, a, t, o, i, n) {
|
|
|
22791
22816
|
key: 12,
|
|
22792
22817
|
items: c,
|
|
22793
22818
|
type: 2,
|
|
22794
|
-
"play-status": c.
|
|
22819
|
+
"play-status": c.plays_status ? c.plays_status : 0,
|
|
22795
22820
|
"name-category": "GOLES",
|
|
22796
22821
|
"color-background-home": c.backgroundhome,
|
|
22797
22822
|
"color-background-away": c.backgroundaway,
|
|
@@ -23031,7 +23056,7 @@ const H6 = {
|
|
|
23031
23056
|
this.$emit("openmedia", h);
|
|
23032
23057
|
}
|
|
23033
23058
|
}
|
|
23034
|
-
}, J6 = (e) => (ye("data-v-
|
|
23059
|
+
}, J6 = (e) => (ye("data-v-53b7a61d"), e = e(), be(), e), K6 = {
|
|
23035
23060
|
class: "discover-videos",
|
|
23036
23061
|
ref: "discoverVideosRef"
|
|
23037
23062
|
}, Z6 = { class: "title-and-button" }, X6 = { class: "menu-container" }, Y6 = /* @__PURE__ */ J6(() => /* @__PURE__ */ m("div", { class: "title-value" }, "Videos", -1)), Q6 = { class: "btn-search-videos" }, eC = { class: "calendar-container" }, tC = { class: "drop-down-innercontainer-text" }, aC = { class: "drop-down-innercontainer-arrow" };
|
|
@@ -23090,7 +23115,7 @@ function oC(e, a, t, o, i, n) {
|
|
|
23090
23115
|
m("div", tC, [
|
|
23091
23116
|
Me("Jornada "),
|
|
23092
23117
|
Object.keys(i.matchdayActive).length > 0 ? (y(), b(U, { key: 0 }, [
|
|
23093
|
-
Me(O(i.matchdayActive.
|
|
23118
|
+
Me(O(i.matchdayActive.valueText), 1)
|
|
23094
23119
|
], 64)) : (y(), b(U, { key: 1 }, [
|
|
23095
23120
|
Me(O(t.defaultMatchDayKey), 1)
|
|
23096
23121
|
], 64))
|
|
@@ -23121,7 +23146,7 @@ function oC(e, a, t, o, i, n) {
|
|
|
23121
23146
|
type: 14,
|
|
23122
23147
|
data: { season: t.seasonSelected.id, category: i.goalsCategory },
|
|
23123
23148
|
width: "100%",
|
|
23124
|
-
"matchday-view": i.matchdayActive.value,
|
|
23149
|
+
"matchday-view": Object.keys(i.matchdayActive).length > 0 ? i.matchdayActive.value : t.defaultMatchDayKey,
|
|
23125
23150
|
backgroundColor: "transparent",
|
|
23126
23151
|
title: "",
|
|
23127
23152
|
onOpenmedia: n.onOpenMedia
|
|
@@ -23172,7 +23197,7 @@ function oC(e, a, t, o, i, n) {
|
|
|
23172
23197
|
}, null, 8, ["data", "onOpenmedia"])) : T("", !0)
|
|
23173
23198
|
], 512);
|
|
23174
23199
|
}
|
|
23175
|
-
const nC = /* @__PURE__ */ ot(q6, [["render", oC], ["__scopeId", "data-v-
|
|
23200
|
+
const nC = /* @__PURE__ */ ot(q6, [["render", oC], ["__scopeId", "data-v-53b7a61d"]]), iC = {
|
|
23176
23201
|
components: {
|
|
23177
23202
|
GSCSeasonSelect: ES,
|
|
23178
23203
|
GSCTournamentSelect: rS,
|
|
@@ -23357,7 +23382,7 @@ const nC = /* @__PURE__ */ ot(q6, [["render", oC], ["__scopeId", "data-v-c63f9fb
|
|
|
23357
23382
|
async onClickOpenCarouselVideos(e) {
|
|
23358
23383
|
try {
|
|
23359
23384
|
const a = await this.fetchGameEvents(e);
|
|
23360
|
-
this.carouselPlayerQueue = a.filter((t) => t.event_type_id === 1), this.isCarouselFullScreenVisible = !0;
|
|
23385
|
+
this.carouselPlayerQueue = a.filter((t) => t.event_type_id === 1 && t.video_link !== "-"), this.isCarouselFullScreenVisible = !0;
|
|
23361
23386
|
} catch (a) {
|
|
23362
23387
|
throw new Error(a);
|
|
23363
23388
|
}
|
|
@@ -23427,10 +23452,10 @@ const nC = /* @__PURE__ */ ot(q6, [["render", oC], ["__scopeId", "data-v-c63f9fb
|
|
|
23427
23452
|
), a;
|
|
23428
23453
|
},
|
|
23429
23454
|
async onInputTournament(e) {
|
|
23430
|
-
this.tournamentSelected = e, this.tournamentSelectedDropDowns.id !== e.id && (this.tournamentSelectedDropDowns = e);
|
|
23455
|
+
this.tournamentSelected = e, this.selectedRoundKeyIndexVideo = 0, this.selectedRoundVideos = "0", this.tournamentSelectedDropDowns.id !== e.id && (this.tournamentSelectedDropDowns = e);
|
|
23431
23456
|
},
|
|
23432
23457
|
async onInputSeason(e) {
|
|
23433
|
-
if (this.seasonSelected = e, this.tournamentSelected.id != this.user.tournament) {
|
|
23458
|
+
if (this.seasonSelected = e, this.selectedRoundKeyIndexVideo = 0, this.selectedRoundVideos = "0", this.tournamentSelected.id != this.user.tournament) {
|
|
23434
23459
|
const a = await this.generateSeasons(this.seasonSelected);
|
|
23435
23460
|
this.seasonsSelected = a, await this.createFullTournamentScheme(a, !1);
|
|
23436
23461
|
} else {
|
|
@@ -23518,9 +23543,9 @@ const nC = /* @__PURE__ */ ot(q6, [["render", oC], ["__scopeId", "data-v-c63f9fb
|
|
|
23518
23543
|
}) : [], l = n && n.seasonsGames ? r.map((d) => {
|
|
23519
23544
|
const h = d.games.reduce((f, c) => {
|
|
23520
23545
|
const p = { ...c };
|
|
23521
|
-
return p.dateTimeMillis = new Date(p.date_time_utc).valueOf(), p.home_team = s.find((g) => g.team_id === c.home_team), p.visiting_team = s.find((g) => g.team_id === c.visiting_team), f[c.matchday_abbreviation] ? f[c.matchday_abbreviation][c.game_status === 3 ? "canceled" : c.date] ?
|
|
23546
|
+
return p.dateTimeMillis = new Date(p.date_time_utc).valueOf(), p.home_team = s.find((g) => g.team_id === c.home_team), p.visiting_team = s.find((g) => g.team_id === c.visiting_team), f[c.matchday_abbreviation] ? f[c.matchday_abbreviation][c.game_status === 3 ? "canceled" : c.date] ? f[c.matchday_abbreviation][c.game_status === 3 ? "canceled" : c.date].push(p) : f[c.matchday_abbreviation][c.game_status === 3 ? "canceled" : c.date] = [p] : f[c.matchday_abbreviation] = {
|
|
23522
23547
|
[c.game_status === 3 ? "canceled" : c.date]: [p]
|
|
23523
|
-
}
|
|
23548
|
+
}, f;
|
|
23524
23549
|
}, {});
|
|
23525
23550
|
this.userTeamGames.sort((f, c) => f.dateTimeMillis - c.dateTimeMillis);
|
|
23526
23551
|
for (let [f, c] of Object.entries(h))
|
|
@@ -23653,7 +23678,7 @@ const nC = /* @__PURE__ */ ot(q6, [["render", oC], ["__scopeId", "data-v-c63f9fb
|
|
|
23653
23678
|
},
|
|
23654
23679
|
async created() {
|
|
23655
23680
|
}
|
|
23656
|
-
}, sC = (e) => (ye("data-v-
|
|
23681
|
+
}, sC = (e) => (ye("data-v-92a1f12b"), e = e(), be(), e), rC = {
|
|
23657
23682
|
class: "gsclanding",
|
|
23658
23683
|
ref: "landingref"
|
|
23659
23684
|
}, lC = {
|
|
@@ -23823,7 +23848,7 @@ function kC(e, a, t, o, i, n) {
|
|
|
23823
23848
|
], 2)
|
|
23824
23849
|
], 512);
|
|
23825
23850
|
}
|
|
23826
|
-
const PC = /* @__PURE__ */ ot(iC, [["render", kC], ["__scopeId", "data-v-
|
|
23851
|
+
const PC = /* @__PURE__ */ ot(iC, [["render", kC], ["__scopeId", "data-v-92a1f12b"]]);
|
|
23827
23852
|
export {
|
|
23828
23853
|
PC as GSCLanding
|
|
23829
23854
|
};
|