@everymatrix/casino-tournaments-page-controller 1.74.2 → 1.74.4
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/components/{CasinoTournamentsDetails-CD1l412D.js → CasinoTournamentsDetails-BsekkKcF.js} +19 -19
- package/components/{CasinoTournamentsDetails-mcFh7vHI.js → CasinoTournamentsDetails-DPKqCPr7.js} +19 -19
- package/components/CasinoTournamentsPageController-AaQpF8iW.cjs +37 -0
- package/components/CasinoTournamentsPageController-B7tGUhTu.js +8547 -0
- package/components/CasinoTournamentsPageController-DqhbL_lu.js +8539 -0
- package/components/{CasinoTournamentsRank-DzhFRRsR.js → CasinoTournamentsRank-CNnWcewC.js} +21 -21
- package/components/{CasinoTournamentsRank-LlOGVyGx.js → CasinoTournamentsRank-Cc5pidJ-.js} +21 -21
- package/components/CasinoTournamentsTab-BhUqppkA.js +320 -0
- package/components/CasinoTournamentsTab-UV1F3GMS.cjs +1 -0
- package/components/CasinoTournamentsTab-_IDbc7rC.js +303 -0
- package/components/{CasinoTournamentsTable-DhyXvDOL.cjs → CasinoTournamentsTable-10_AWWZo.cjs} +1 -1
- package/components/{CasinoTournamentsTable-B3yyoBa_.js → CasinoTournamentsTable-CsIgIQG-.js} +2 -2
- package/components/{CasinoTournamentsTable-UYyiKGDs.js → CasinoTournamentsTable-X-rV7_Lz.js} +2 -2
- package/components/{CasinoTournamentsThumbnail-78tp9CyZ.js → CasinoTournamentsThumbnail-DH2Orb8Y.js} +19 -19
- package/components/{CasinoTournamentsThumbnail-D-4nXRLq.cjs → CasinoTournamentsThumbnail-DaJ4vbyp.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-CgxNqGtr.js → CasinoTournamentsThumbnail-lUyJI2DJ.js} +19 -19
- package/components/{CasinoTournamentsThumbnailController-5Wo13e9u.cjs → CasinoTournamentsThumbnailController-Cd8LJRCx.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailController-HpD8FbRA.js → CasinoTournamentsThumbnailController-FloLdZgl.js} +6 -6
- package/components/{CasinoTournamentsThumbnailController-DJ57Pr_X.js → CasinoTournamentsThumbnailController-vSOxGy9d.js} +6 -6
- package/components/{CasinoTournamentsThumbnailDuration-DYm_lbVh.cjs → CasinoTournamentsThumbnailDuration-CAA4mIiV.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-CUcihq_K.js → CasinoTournamentsThumbnailDuration-DWL7fNmG.js} +26 -26
- package/components/{CasinoTournamentsThumbnailDuration-DGbu10Lv.js → CasinoTournamentsThumbnailDuration-u8JSr0q-.js} +26 -26
- package/components/CasinoTournamentsThumbnailGames-BhcNQqZ7.cjs +1 -0
- package/components/CasinoTournamentsThumbnailGames-CgqVsZlB.js +424 -0
- package/components/CasinoTournamentsThumbnailGames-CqvpgOoi.js +421 -0
- package/components/{CasinoTournamentsThumbnailGamesSlider-B1CuvY9F.js → CasinoTournamentsThumbnailGamesSlider-CAYRXnXx.js} +44 -44
- package/components/{CasinoTournamentsThumbnailGamesSlider-BQAOmCwL.js → CasinoTournamentsThumbnailGamesSlider-Fi5QDmul.js} +44 -44
- package/components/{CasinoTournamentsThumbnailGamesSlider-Bm4joopU.cjs → CasinoTournamentsThumbnailGamesSlider-kmdZBPuV.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-Dfvs586O.js → CasinoTournamentsThumbnailPrizes-BL1HtN3p.js} +15 -15
- package/components/{CasinoTournamentsThumbnailPrizes-DjjyWWPZ.js → CasinoTournamentsThumbnailPrizes-C8iysP1o.js} +15 -15
- package/components/{CasinoTournamentsThumbnailPrizes-W_oLRTaY.cjs → CasinoTournamentsThumbnailPrizes-NroicTIN.cjs} +1 -1
- package/components/CasinoTournamentsThumbnailRule-BAatFJuT.cjs +10 -0
- package/components/CasinoTournamentsThumbnailRule-D9R1SMy6.js +620 -0
- package/components/CasinoTournamentsThumbnailRule-MDMyKumh.js +621 -0
- package/es2015/casino-tournaments-page-controller.cjs +1 -1
- package/es2015/casino-tournaments-page-controller.js +1 -1
- package/esnext/casino-tournaments-page-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsPageController-A2Co53Ej.js +0 -8642
- package/components/CasinoTournamentsPageController-BW0tQ9JT.js +0 -8649
- package/components/CasinoTournamentsPageController-JWctyFcT.cjs +0 -38
- package/components/CasinoTournamentsTab-CWhMQiQ0.cjs +0 -1
- package/components/CasinoTournamentsTab-CrDmK4lY.js +0 -292
- package/components/CasinoTournamentsTab-Ih-_3vfM.js +0 -272
- package/components/CasinoTournamentsThumbnailRule-BE6UoGqA.cjs +0 -1
- package/components/CasinoTournamentsThumbnailRule-CYoOnc7S.js +0 -1103
- package/components/CasinoTournamentsThumbnailRule-D0kbuwDt.js +0 -1103
|
@@ -0,0 +1,424 @@
|
|
|
1
|
+
import { S as te, b as ne, f as S, c as ae, a as se, d as ie, A as W, g as T, e as M, j as y, l as z, m as _, n as H, q as j, C as J, u as le, v as oe, w as re, x as ce, k as f, t as B, D as K, o as ue, i as me, p as R, y as de, z as ge } from "./CasinoTournamentsDetails-BsekkKcF.js";
|
|
2
|
+
import { $ as F, c as fe, a as pe, i as he, b as be } from "./CasinoTournamentsPageController-B7tGUhTu.js";
|
|
3
|
+
import "../stencil/ui-image-CDGN3Ekj.js";
|
|
4
|
+
function _e({ withLocale: t, translations: e }) {
|
|
5
|
+
F.subscribe((n) => {
|
|
6
|
+
n == null && (fe.set(e), F.set(t));
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
function X(t, e) {
|
|
10
|
+
pe(t, e);
|
|
11
|
+
}
|
|
12
|
+
function we(t) {
|
|
13
|
+
F.set(t);
|
|
14
|
+
}
|
|
15
|
+
const Q = {
|
|
16
|
+
en: {
|
|
17
|
+
loading: "Loading, please wait ...",
|
|
18
|
+
playNow: "Play Now",
|
|
19
|
+
casino: "CASINO",
|
|
20
|
+
sports: "SPORTSBOOK",
|
|
21
|
+
contribution: "Contribution"
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
function ye(t) {
|
|
25
|
+
ie(t, "svelte-1jxmngn", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .SportsPage{padding:30px 30px;color:var(--emw--color-gray-100, #B5B5B5)}.GamesWrapper .SportsPage li{text-decoration:underline}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}");
|
|
26
|
+
}
|
|
27
|
+
function V(t, e, n) {
|
|
28
|
+
const i = t.slice();
|
|
29
|
+
return i[19] = e[n], i;
|
|
30
|
+
}
|
|
31
|
+
function Y(t, e, n) {
|
|
32
|
+
const i = t.slice();
|
|
33
|
+
return i[22] = e[n], i[24] = n, i;
|
|
34
|
+
}
|
|
35
|
+
function Z(t) {
|
|
36
|
+
let e, n;
|
|
37
|
+
return {
|
|
38
|
+
c() {
|
|
39
|
+
e = T("div"), n = T("casino-tournaments-tab"), f(n, "part", "TournamentGames"), f(n, "tabs", "casino,sports"), f(n, "tab", "casino"), f(n, "tid", E), f(
|
|
40
|
+
n,
|
|
41
|
+
"clientstyling",
|
|
42
|
+
/*clientstyling*/
|
|
43
|
+
t[0]
|
|
44
|
+
), f(
|
|
45
|
+
n,
|
|
46
|
+
"clientstylingurl",
|
|
47
|
+
/*clientstylingurl*/
|
|
48
|
+
t[1]
|
|
49
|
+
), f(
|
|
50
|
+
n,
|
|
51
|
+
"mbsource",
|
|
52
|
+
/*mbsource*/
|
|
53
|
+
t[2]
|
|
54
|
+
), y(e, "class", "GamesTabNav");
|
|
55
|
+
},
|
|
56
|
+
m(i, c) {
|
|
57
|
+
z(i, e, c), _(e, n);
|
|
58
|
+
},
|
|
59
|
+
p(i, c) {
|
|
60
|
+
c & /*clientstyling*/
|
|
61
|
+
1 && f(
|
|
62
|
+
n,
|
|
63
|
+
"clientstyling",
|
|
64
|
+
/*clientstyling*/
|
|
65
|
+
i[0]
|
|
66
|
+
), c & /*clientstylingurl*/
|
|
67
|
+
2 && f(
|
|
68
|
+
n,
|
|
69
|
+
"clientstylingurl",
|
|
70
|
+
/*clientstylingurl*/
|
|
71
|
+
i[1]
|
|
72
|
+
), c & /*mbsource*/
|
|
73
|
+
4 && f(
|
|
74
|
+
n,
|
|
75
|
+
"mbsource",
|
|
76
|
+
/*mbsource*/
|
|
77
|
+
i[2]
|
|
78
|
+
);
|
|
79
|
+
},
|
|
80
|
+
d(i) {
|
|
81
|
+
i && j(e);
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
}
|
|
85
|
+
function $(t) {
|
|
86
|
+
let e, n, i = (
|
|
87
|
+
/*$_*/
|
|
88
|
+
t[7]("playNow") + ""
|
|
89
|
+
), c, g, o, u, d, b, G, m, k;
|
|
90
|
+
return {
|
|
91
|
+
c() {
|
|
92
|
+
e = T("div"), n = T("span"), c = B(i), g = M(), o = T("ui-image"), G = M(), y(n, "class", "PlayNowButton"), K(o.src, u = /*game*/
|
|
93
|
+
t[22].thumbnail) || f(o, "src", u), f(o, "width", "132px"), f(o, "height", "100px"), f(o, "alt", d = /*game*/
|
|
94
|
+
t[22].name), f(o, "title", b = /*game*/
|
|
95
|
+
t[22].name), y(e, "class", "item"), y(e, "role", "button"), y(e, "tabindex", "0");
|
|
96
|
+
},
|
|
97
|
+
m(l, w) {
|
|
98
|
+
z(l, e, w), _(e, n), _(n, c), _(e, g), _(e, o), _(e, G), m || (k = ue(e, "click", function() {
|
|
99
|
+
me(
|
|
100
|
+
/*gameClicked*/
|
|
101
|
+
t[9](
|
|
102
|
+
/*game*/
|
|
103
|
+
t[22]
|
|
104
|
+
)
|
|
105
|
+
) && t[9](
|
|
106
|
+
/*game*/
|
|
107
|
+
t[22]
|
|
108
|
+
).apply(this, arguments);
|
|
109
|
+
}), m = !0);
|
|
110
|
+
},
|
|
111
|
+
p(l, w) {
|
|
112
|
+
t = l, w & /*$_*/
|
|
113
|
+
128 && i !== (i = /*$_*/
|
|
114
|
+
t[7]("playNow") + "") && R(c, i), w & /*tournamentdetails*/
|
|
115
|
+
8 && !K(o.src, u = /*game*/
|
|
116
|
+
t[22].thumbnail) && f(o, "src", u), w & /*tournamentdetails*/
|
|
117
|
+
8 && d !== (d = /*game*/
|
|
118
|
+
t[22].name) && f(o, "alt", d), w & /*tournamentdetails*/
|
|
119
|
+
8 && b !== (b = /*game*/
|
|
120
|
+
t[22].name) && f(o, "title", b);
|
|
121
|
+
},
|
|
122
|
+
d(l) {
|
|
123
|
+
l && j(e), m = !1, k();
|
|
124
|
+
}
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
function ee(t) {
|
|
128
|
+
let e, n = (
|
|
129
|
+
/*item*/
|
|
130
|
+
t[19].rule + ""
|
|
131
|
+
), i, c, g = (
|
|
132
|
+
/*item*/
|
|
133
|
+
(t[19].excluded ? "" : (
|
|
134
|
+
/*$_*/
|
|
135
|
+
t[7]("contribution")
|
|
136
|
+
)) + ""
|
|
137
|
+
), o;
|
|
138
|
+
return {
|
|
139
|
+
c() {
|
|
140
|
+
e = T("li"), i = B(n), c = M(), o = B(g), y(e, "part", "li"), y(e, "class", "Market");
|
|
141
|
+
},
|
|
142
|
+
m(u, d) {
|
|
143
|
+
z(u, e, d), _(e, i), _(e, c), _(e, o);
|
|
144
|
+
},
|
|
145
|
+
p(u, d) {
|
|
146
|
+
d & /*sportsRules*/
|
|
147
|
+
64 && n !== (n = /*item*/
|
|
148
|
+
u[19].rule + "") && R(i, n), d & /*sportsRules, $_*/
|
|
149
|
+
192 && g !== (g = /*item*/
|
|
150
|
+
(u[19].excluded ? "" : (
|
|
151
|
+
/*$_*/
|
|
152
|
+
u[7]("contribution")
|
|
153
|
+
)) + "") && R(o, g);
|
|
154
|
+
},
|
|
155
|
+
d(u) {
|
|
156
|
+
u && j(e);
|
|
157
|
+
}
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
function ve(t) {
|
|
161
|
+
var C, A, O, L, P, a;
|
|
162
|
+
let e, n, i, c, g, o, u, d, b, G, m = (
|
|
163
|
+
/*tournamentdetails*/
|
|
164
|
+
t[3] && /*tournamentdetails*/
|
|
165
|
+
((A = (C = t[3]) == null ? void 0 : C.wallet) == null ? void 0 : A.sports) && /*tournamentdetails*/
|
|
166
|
+
((L = (O = t[3]) == null ? void 0 : O.wallet) == null ? void 0 : L.casino) && Z(t)
|
|
167
|
+
), k = W(
|
|
168
|
+
/*tournamentdetails*/
|
|
169
|
+
((a = (P = t[3]) == null ? void 0 : P.games) == null ? void 0 : a.items) || []
|
|
170
|
+
), l = [];
|
|
171
|
+
for (let s = 0; s < k.length; s += 1)
|
|
172
|
+
l[s] = $(Y(t, k, s));
|
|
173
|
+
let w = W(
|
|
174
|
+
/*sportsRules*/
|
|
175
|
+
t[6]
|
|
176
|
+
), p = [];
|
|
177
|
+
for (let s = 0; s < w.length; s += 1)
|
|
178
|
+
p[s] = ee(V(t, w, s));
|
|
179
|
+
return {
|
|
180
|
+
c() {
|
|
181
|
+
e = T("div"), m && m.c(), n = M(), i = T("div"), c = T("div"), g = T("div");
|
|
182
|
+
for (let s = 0; s < l.length; s += 1)
|
|
183
|
+
l[s].c();
|
|
184
|
+
u = M(), d = T("div"), b = T("ul");
|
|
185
|
+
for (let s = 0; s < p.length; s += 1)
|
|
186
|
+
p[s].c();
|
|
187
|
+
y(g, "class", "GameList items"), y(c, "class", o = "TabContent GamesContent " + /*activeTab*/
|
|
188
|
+
(t[5] != "casino" ? "hidden" : "")), y(b, "class", "SportsPage"), y(d, "class", G = "TabContent GamesContent " + /*activeTab*/
|
|
189
|
+
(t[5] != "sports" ? "hidden" : "")), y(i, "class", "GamesWrapper"), y(e, "class", he(
|
|
190
|
+
/*userAgent*/
|
|
191
|
+
t[8]
|
|
192
|
+
) ? "MobileClass" : "");
|
|
193
|
+
},
|
|
194
|
+
m(s, v) {
|
|
195
|
+
z(s, e, v), m && m.m(e, null), _(e, n), _(e, i), _(i, c), _(c, g);
|
|
196
|
+
for (let h = 0; h < l.length; h += 1)
|
|
197
|
+
l[h] && l[h].m(g, null);
|
|
198
|
+
_(i, u), _(i, d), _(d, b);
|
|
199
|
+
for (let h = 0; h < p.length; h += 1)
|
|
200
|
+
p[h] && p[h].m(b, null);
|
|
201
|
+
t[12](e);
|
|
202
|
+
},
|
|
203
|
+
p(s, [v]) {
|
|
204
|
+
var h, U, x, I, q, D;
|
|
205
|
+
if (/*tournamentdetails*/
|
|
206
|
+
s[3] && /*tournamentdetails*/
|
|
207
|
+
((U = (h = s[3]) == null ? void 0 : h.wallet) != null && U.sports) && /*tournamentdetails*/
|
|
208
|
+
((I = (x = s[3]) == null ? void 0 : x.wallet) != null && I.casino) ? m ? m.p(s, v) : (m = Z(s), m.c(), m.m(e, n)) : m && (m.d(1), m = null), v & /*gameClicked, tournamentdetails, $_*/
|
|
209
|
+
648) {
|
|
210
|
+
k = W(
|
|
211
|
+
/*tournamentdetails*/
|
|
212
|
+
((D = (q = s[3]) == null ? void 0 : q.games) == null ? void 0 : D.items) || []
|
|
213
|
+
);
|
|
214
|
+
let r;
|
|
215
|
+
for (r = 0; r < k.length; r += 1) {
|
|
216
|
+
const N = Y(s, k, r);
|
|
217
|
+
l[r] ? l[r].p(N, v) : (l[r] = $(N), l[r].c(), l[r].m(g, null));
|
|
218
|
+
}
|
|
219
|
+
for (; r < l.length; r += 1)
|
|
220
|
+
l[r].d(1);
|
|
221
|
+
l.length = k.length;
|
|
222
|
+
}
|
|
223
|
+
if (v & /*activeTab*/
|
|
224
|
+
32 && o !== (o = "TabContent GamesContent " + /*activeTab*/
|
|
225
|
+
(s[5] != "casino" ? "hidden" : "")) && y(c, "class", o), v & /*sportsRules, $_*/
|
|
226
|
+
192) {
|
|
227
|
+
w = W(
|
|
228
|
+
/*sportsRules*/
|
|
229
|
+
s[6]
|
|
230
|
+
);
|
|
231
|
+
let r;
|
|
232
|
+
for (r = 0; r < w.length; r += 1) {
|
|
233
|
+
const N = V(s, w, r);
|
|
234
|
+
p[r] ? p[r].p(N, v) : (p[r] = ee(N), p[r].c(), p[r].m(b, null));
|
|
235
|
+
}
|
|
236
|
+
for (; r < p.length; r += 1)
|
|
237
|
+
p[r].d(1);
|
|
238
|
+
p.length = w.length;
|
|
239
|
+
}
|
|
240
|
+
v & /*activeTab*/
|
|
241
|
+
32 && G !== (G = "TabContent GamesContent " + /*activeTab*/
|
|
242
|
+
(s[5] != "sports" ? "hidden" : "")) && y(d, "class", G);
|
|
243
|
+
},
|
|
244
|
+
i: H,
|
|
245
|
+
o: H,
|
|
246
|
+
d(s) {
|
|
247
|
+
s && j(e), m && m.d(), J(l, s), J(p, s), t[12](null);
|
|
248
|
+
}
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
let E = "gameTab";
|
|
252
|
+
function Te(t, e, n) {
|
|
253
|
+
let i;
|
|
254
|
+
le(t, be, (a) => n(7, i = a));
|
|
255
|
+
let { clientstyling: c = "" } = e, { clientstylingurl: g = "" } = e, { mbsource: o } = e, { tournamentdetails: u } = e, { translationurl: d } = e, { lang: b = "en" } = e, G = "casino", m, k = window.navigator.userAgent, l;
|
|
256
|
+
_e({ withLocale: "en", translations: {} });
|
|
257
|
+
const w = () => {
|
|
258
|
+
fetch(d).then((a) => a.json()).then((a) => {
|
|
259
|
+
Object.keys(a).forEach((s) => {
|
|
260
|
+
X(s, a[s]);
|
|
261
|
+
});
|
|
262
|
+
}).catch((a) => {
|
|
263
|
+
console.log(a);
|
|
264
|
+
});
|
|
265
|
+
};
|
|
266
|
+
Object.keys(Q).forEach((a) => {
|
|
267
|
+
X(a, Q[a]);
|
|
268
|
+
});
|
|
269
|
+
const p = () => {
|
|
270
|
+
we(b), setTimeout(
|
|
271
|
+
() => {
|
|
272
|
+
C();
|
|
273
|
+
},
|
|
274
|
+
10
|
|
275
|
+
);
|
|
276
|
+
}, C = () => {
|
|
277
|
+
window.postMessage(
|
|
278
|
+
{
|
|
279
|
+
type: "TournamentsTabsLocalize",
|
|
280
|
+
tabTitleTranslations: {
|
|
281
|
+
casino: i("casino"),
|
|
282
|
+
sports: i("sports")
|
|
283
|
+
}
|
|
284
|
+
},
|
|
285
|
+
window.location.href
|
|
286
|
+
);
|
|
287
|
+
}, A = (a) => {
|
|
288
|
+
window.postMessage(
|
|
289
|
+
{
|
|
290
|
+
type: "TournamentGameAction",
|
|
291
|
+
gameId: a.id,
|
|
292
|
+
name: a.name,
|
|
293
|
+
launchUrl: a.launchUrl
|
|
294
|
+
},
|
|
295
|
+
window.location.href
|
|
296
|
+
);
|
|
297
|
+
}, O = () => {
|
|
298
|
+
var s, v;
|
|
299
|
+
const a = (v = (s = u.metadata) == null ? void 0 : s.sports) == null ? void 0 : v.rules;
|
|
300
|
+
if (a) {
|
|
301
|
+
n(5, G = u.wallet.casino ? "casino" : "sports");
|
|
302
|
+
try {
|
|
303
|
+
const h = JSON.parse(a);
|
|
304
|
+
n(6, m = h[b] || h["*"]);
|
|
305
|
+
} catch (h) {
|
|
306
|
+
console.error("Error parsing tournament rules", h);
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
}, L = (a) => {
|
|
310
|
+
if (!a.data || !a.data.type)
|
|
311
|
+
return;
|
|
312
|
+
const s = a.data.tid || "";
|
|
313
|
+
switch (a.data.type) {
|
|
314
|
+
case "TournamentsTabSwitch":
|
|
315
|
+
s === E && n(5, G = a.data.tab);
|
|
316
|
+
break;
|
|
317
|
+
case "TournamentsTabListenerLoaded":
|
|
318
|
+
C();
|
|
319
|
+
break;
|
|
320
|
+
default:
|
|
321
|
+
console.warn(`Unhandled message type: ${a.data.type}`);
|
|
322
|
+
break;
|
|
323
|
+
}
|
|
324
|
+
};
|
|
325
|
+
oe(() => (window.postMessage(
|
|
326
|
+
{
|
|
327
|
+
type: "TournamentsGamesListenerLoaded",
|
|
328
|
+
gamesTabTid: E
|
|
329
|
+
},
|
|
330
|
+
window.location.href
|
|
331
|
+
), window.addEventListener("message", L, !1), () => {
|
|
332
|
+
window.removeEventListener("message", L);
|
|
333
|
+
}));
|
|
334
|
+
function P(a) {
|
|
335
|
+
de[a ? "unshift" : "push"](() => {
|
|
336
|
+
l = a, n(4, l);
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
return t.$$set = (a) => {
|
|
340
|
+
"clientstyling" in a && n(0, c = a.clientstyling), "clientstylingurl" in a && n(1, g = a.clientstylingurl), "mbsource" in a && n(2, o = a.mbsource), "tournamentdetails" in a && n(3, u = a.tournamentdetails), "translationurl" in a && n(10, d = a.translationurl), "lang" in a && n(11, b = a.lang);
|
|
341
|
+
}, t.$$.update = () => {
|
|
342
|
+
t.$$.dirty & /*tournamentdetails*/
|
|
343
|
+
8 && u && O(), t.$$.dirty & /*lang*/
|
|
344
|
+
2048 && b && p(), t.$$.dirty & /*translationurl*/
|
|
345
|
+
1024 && d && w(), t.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
346
|
+
17 && c && l && ge(l, c), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
347
|
+
18 && g && l && re(l, g), t.$$.dirty & /*mbsource, customStylingContainer*/
|
|
348
|
+
20 && o && l && ce(l, `${o}.Style`);
|
|
349
|
+
}, [
|
|
350
|
+
c,
|
|
351
|
+
g,
|
|
352
|
+
o,
|
|
353
|
+
u,
|
|
354
|
+
l,
|
|
355
|
+
G,
|
|
356
|
+
m,
|
|
357
|
+
i,
|
|
358
|
+
k,
|
|
359
|
+
A,
|
|
360
|
+
d,
|
|
361
|
+
b,
|
|
362
|
+
P
|
|
363
|
+
];
|
|
364
|
+
}
|
|
365
|
+
class Ge extends te {
|
|
366
|
+
constructor(e) {
|
|
367
|
+
super(), ne(
|
|
368
|
+
this,
|
|
369
|
+
e,
|
|
370
|
+
Te,
|
|
371
|
+
ve,
|
|
372
|
+
se,
|
|
373
|
+
{
|
|
374
|
+
clientstyling: 0,
|
|
375
|
+
clientstylingurl: 1,
|
|
376
|
+
mbsource: 2,
|
|
377
|
+
tournamentdetails: 3,
|
|
378
|
+
translationurl: 10,
|
|
379
|
+
lang: 11
|
|
380
|
+
},
|
|
381
|
+
ye
|
|
382
|
+
);
|
|
383
|
+
}
|
|
384
|
+
get clientstyling() {
|
|
385
|
+
return this.$$.ctx[0];
|
|
386
|
+
}
|
|
387
|
+
set clientstyling(e) {
|
|
388
|
+
this.$$set({ clientstyling: e }), S();
|
|
389
|
+
}
|
|
390
|
+
get clientstylingurl() {
|
|
391
|
+
return this.$$.ctx[1];
|
|
392
|
+
}
|
|
393
|
+
set clientstylingurl(e) {
|
|
394
|
+
this.$$set({ clientstylingurl: e }), S();
|
|
395
|
+
}
|
|
396
|
+
get mbsource() {
|
|
397
|
+
return this.$$.ctx[2];
|
|
398
|
+
}
|
|
399
|
+
set mbsource(e) {
|
|
400
|
+
this.$$set({ mbsource: e }), S();
|
|
401
|
+
}
|
|
402
|
+
get tournamentdetails() {
|
|
403
|
+
return this.$$.ctx[3];
|
|
404
|
+
}
|
|
405
|
+
set tournamentdetails(e) {
|
|
406
|
+
this.$$set({ tournamentdetails: e }), S();
|
|
407
|
+
}
|
|
408
|
+
get translationurl() {
|
|
409
|
+
return this.$$.ctx[10];
|
|
410
|
+
}
|
|
411
|
+
set translationurl(e) {
|
|
412
|
+
this.$$set({ translationurl: e }), S();
|
|
413
|
+
}
|
|
414
|
+
get lang() {
|
|
415
|
+
return this.$$.ctx[11];
|
|
416
|
+
}
|
|
417
|
+
set lang(e) {
|
|
418
|
+
this.$$set({ lang: e }), S();
|
|
419
|
+
}
|
|
420
|
+
}
|
|
421
|
+
ae(Ge, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, tournamentdetails: {}, translationurl: {}, lang: {} }, [], [], !0);
|
|
422
|
+
export {
|
|
423
|
+
Ge as default
|
|
424
|
+
};
|