@golstats/gsc-landing 1.0.137 → 1.0.138
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 +20 -16
- package/dist/gsc-landing.umd.cjs +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/gsc-landing.js
CHANGED
|
@@ -42711,7 +42711,7 @@ class Us {
|
|
|
42711
42711
|
}
|
|
42712
42712
|
}
|
|
42713
42713
|
Us.defaultConfig = void 0;
|
|
42714
|
-
const dB = (s) => (Ze("data-v-
|
|
42714
|
+
const dB = (s) => (Ze("data-v-f0694474"), s = s(), We(), s), uB = /* @__PURE__ */ dB(() => /* @__PURE__ */ v("svg", {
|
|
42715
42715
|
xmlns: "http://www.w3.org/2000/svg",
|
|
42716
42716
|
width: "20",
|
|
42717
42717
|
height: "20",
|
|
@@ -42760,9 +42760,9 @@ const dB = (s) => (Ze("data-v-bbb70a6a"), s = s(), We(), s), uB = /* @__PURE__ *
|
|
|
42760
42760
|
setup(s, { emit: e }) {
|
|
42761
42761
|
const t = s;
|
|
42762
42762
|
Xe((ne) => ({
|
|
42763
|
-
"
|
|
42764
|
-
|
|
42765
|
-
"
|
|
42763
|
+
"1dabaea1": g.value,
|
|
42764
|
+
af1eb700: p.value,
|
|
42765
|
+
"5a725f75": E.value
|
|
42766
42766
|
}));
|
|
42767
42767
|
const a = [
|
|
42768
42768
|
{
|
|
@@ -42813,7 +42813,7 @@ const dB = (s) => (Ze("data-v-bbb70a6a"), s = s(), We(), s), uB = /* @__PURE__ *
|
|
|
42813
42813
|
date: `${Le.date.getDate()}, ${xf[Le.date.getMonth()]} ${Le.date.getFullYear()}`,
|
|
42814
42814
|
data: `${a.get(Le.categoryId)} ${SR(Le.player.player_name)}`
|
|
42815
42815
|
})).sort((Le, st) => Le.startTime - st.startTime);
|
|
42816
|
-
t.startStoryIndex > 0 && t.startStoryIndex < we.length -
|
|
42816
|
+
t.startStoryIndex > 0 && t.startStoryIndex < we.length - 1 && (we.forEach((Le, st) => {
|
|
42817
42817
|
st <= t.startStoryIndex && (Le.progress = 100);
|
|
42818
42818
|
}), c.value = t.startStoryIndex + 1, m.value = c.value), r.value = [...we];
|
|
42819
42819
|
}
|
|
@@ -42995,7 +42995,7 @@ const dB = (s) => (Ze("data-v-bbb70a6a"), s = s(), We(), s), uB = /* @__PURE__ *
|
|
|
42995
42995
|
}, null, 4)) : T("", !0)
|
|
42996
42996
|
], 2));
|
|
42997
42997
|
}
|
|
42998
|
-
}, SB = /* @__PURE__ */ Ct(AB, [["__scopeId", "data-v-
|
|
42998
|
+
}, SB = /* @__PURE__ */ Ct(AB, [["__scopeId", "data-v-f0694474"]]), CB = {
|
|
42999
42999
|
playlist_id: "GPI_default2022-12-08T02:51:56.334+00:00-PI-0",
|
|
43000
43000
|
last_played_index: 0,
|
|
43001
43001
|
group_id: "1",
|
|
@@ -45185,16 +45185,20 @@ const Wt = jL(), IB = {
|
|
|
45185
45185
|
},
|
|
45186
45186
|
async changeIndexStory(s) {
|
|
45187
45187
|
if (this.arrayGamesAdd.length > 0) {
|
|
45188
|
-
let e = -1, t = -1;
|
|
45188
|
+
let e = -1, t = -1, i = -1;
|
|
45189
45189
|
this.arrayGamesAdd.findIndex(
|
|
45190
|
-
(
|
|
45190
|
+
(a) => a.game_id === this.currentStories[0].gameId
|
|
45191
45191
|
) != -1 && (e = this.arrayGamesAdd.findIndex(
|
|
45192
|
-
(
|
|
45192
|
+
(a) => a.game_id === this.currentStories[0].gameId
|
|
45193
|
+
)), this.gamesAllStories.findIndex(
|
|
45194
|
+
(a) => a.game_id === this.currentStories[0].gameId
|
|
45195
|
+
) != -1 && (t = this.gamesAllStories.findIndex(
|
|
45196
|
+
(a) => a.game_id === this.currentStories[0].gameId
|
|
45193
45197
|
)), this.storiesItems.findIndex(
|
|
45194
|
-
(
|
|
45195
|
-
) != -1 && (
|
|
45196
|
-
(
|
|
45197
|
-
)), e != -1 && (this.arrayGamesAdd[e].last_index = s),
|
|
45198
|
+
(a) => a.game_id === this.currentStories[0].gameId
|
|
45199
|
+
) != -1 && (i = this.storiesItems.findIndex(
|
|
45200
|
+
(a) => a.game_id === this.currentStories[0].gameId
|
|
45201
|
+
)), e != -1 && (this.gamesAllStories[t].is_live === 1 ? this.storiesItems[i].stories.length - 1 == s && this.storiesItems[i].stories.length > 1 ? this.arrayGamesAdd[e].last_index = s - 1 : this.arrayGamesAdd[e].last_index = s : this.arrayGamesAdd[e].last_index = s), i != -1 && this.arrayGamesAdd[e].status > 0 && (this.arrayGamesAdd[e].status = s >= this.storiesItems[i].stories.length - 1 ? 0 : 1);
|
|
45198
45202
|
} else {
|
|
45199
45203
|
this.arrayGamesAdd = [];
|
|
45200
45204
|
for (let e = 0; e < this.storiesItems.length; e++)
|
|
@@ -45282,7 +45286,7 @@ const Wt = jL(), IB = {
|
|
|
45282
45286
|
this.isStoriesVisible = !0;
|
|
45283
45287
|
}, 150);
|
|
45284
45288
|
},
|
|
45285
|
-
onCloseStories() {
|
|
45289
|
+
onCloseStories(s) {
|
|
45286
45290
|
this.currentStoriesLastIndex = 0, this.isStoriesVisible = !1;
|
|
45287
45291
|
},
|
|
45288
45292
|
closeStories() {
|
|
@@ -45297,7 +45301,7 @@ const Wt = jL(), IB = {
|
|
|
45297
45301
|
beforeUnmount() {
|
|
45298
45302
|
this.resetGamesLiveInterval();
|
|
45299
45303
|
}
|
|
45300
|
-
}, xi = (s) => (Ze("data-v-
|
|
45304
|
+
}, xi = (s) => (Ze("data-v-da46bda9"), s = s(), We(), s), OB = {
|
|
45301
45305
|
class: "gsclanding",
|
|
45302
45306
|
ref: "landingref"
|
|
45303
45307
|
}, FB = {
|
|
@@ -45611,7 +45615,7 @@ function lD(s, e, t, i, a, n) {
|
|
|
45611
45615
|
], 2)
|
|
45612
45616
|
], 512);
|
|
45613
45617
|
}
|
|
45614
|
-
const vD = /* @__PURE__ */ Ct(IB, [["render", lD], ["__scopeId", "data-v-
|
|
45618
|
+
const vD = /* @__PURE__ */ Ct(IB, [["render", lD], ["__scopeId", "data-v-da46bda9"]]);
|
|
45615
45619
|
export {
|
|
45616
45620
|
vD as GSCLanding
|
|
45617
45621
|
};
|