@everymatrix/casino-tournaments-list-controller 1.71.0 → 1.72.0
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/CasinoTournamentsListController-B1XzpG4J.cjs +15 -0
- package/components/{CasinoTournamentsListController-CNr53zQh.js → CasinoTournamentsListController-BCnAtVmn.js} +1030 -1062
- package/components/{CasinoTournamentsListController-B91Lyqax.js → CasinoTournamentsListController-D3MaGDVN.js} +1627 -1659
- package/components/{CasinoTournamentsThumbnail-siUGtR0g.cjs → CasinoTournamentsThumbnail-BRGkoFoC.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnail-dZ1sm6ym.js → CasinoTournamentsThumbnail-B_xXwN02.js} +34 -34
- package/components/{CasinoTournamentsThumbnail-DJR17vOA.js → CasinoTournamentsThumbnail-COVVmhez.js} +34 -34
- package/components/{CasinoTournamentsThumbnailController-By0nIi_-.js → CasinoTournamentsThumbnailController-BDILw0kU.js} +612 -580
- package/components/CasinoTournamentsThumbnailController-DPkY8Pvh.cjs +16 -0
- package/components/{CasinoTournamentsThumbnailController-DClFnhM2.js → CasinoTournamentsThumbnailController-DsFja4VF.js} +626 -560
- package/components/{CasinoTournamentsThumbnailDuration-DNm3kZA6.js → CasinoTournamentsThumbnailDuration-Ci2doxnu.js} +55 -55
- package/components/{CasinoTournamentsThumbnailDuration-DY7DHyLw.cjs → CasinoTournamentsThumbnailDuration-pMXg-yuf.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailDuration-Dknze1IO.js → CasinoTournamentsThumbnailDuration-uSfT4bb8.js} +55 -55
- package/components/{CasinoTournamentsThumbnailGamesSlider-D_kUDgO5.cjs → CasinoTournamentsThumbnailGamesSlider--fmvMYlS.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailGamesSlider-D45WQ2Dp.js → CasinoTournamentsThumbnailGamesSlider-CmRGgGUe.js} +57 -57
- package/components/{CasinoTournamentsThumbnailGamesSlider-Cawyju7x.js → CasinoTournamentsThumbnailGamesSlider-nITF-3nk.js} +57 -57
- package/components/{CasinoTournamentsThumbnailPrizes-7u2QNaQE.js → CasinoTournamentsThumbnailPrizes-BSH-8Cm5.js} +66 -66
- package/components/{CasinoTournamentsThumbnailPrizes-2H2CQrq-.cjs → CasinoTournamentsThumbnailPrizes-CEAzqLRh.cjs} +1 -1
- package/components/{CasinoTournamentsThumbnailPrizes-BcFwjh1i.js → CasinoTournamentsThumbnailPrizes-D6rXEjM4.js} +66 -66
- package/es2015/casino-tournaments-list-controller.cjs +1 -1
- package/es2015/casino-tournaments-list-controller.js +1 -1
- package/esnext/casino-tournaments-list-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652--F7PvMq9.js +542 -0
- package/stencil/index-97d17652-BhLhk_xz.cjs +1 -0
- package/stencil/index-97d17652-CCFHkzJw.js +558 -0
- package/stencil/index-b2193545-BS7xFIk4.js +503 -0
- package/stencil/index-b2193545-BTdVi7--.cjs +1 -0
- package/stencil/index-b2193545-rfNAj6ri.js +519 -0
- package/stencil/{ui-image-CDCn_LHy.cjs → ui-image-Bk8cIvcH.cjs} +1 -1
- package/stencil/{ui-image-CNrnXPP3.js → ui-image-CXqPvnQ2.js} +1 -1
- package/stencil/{ui-image-CDGN3Ekj.js → ui-image-DgbODkuX.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-ByRuJtdE.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-D6iig_uN.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-DG83WzAo.cjs} +1 -1
- package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-Bm97-wkj.js} +2 -2
- package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-DdFjzzNO.cjs} +1 -1
- package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-qO3reSlr.js} +2 -2
- package/stencil/{ui-skeleton-Caiy-FEL.cjs → ui-skeleton-B0BB970e.cjs} +1 -1
- package/stencil/{ui-skeleton-CzV3R1-p.js → ui-skeleton-D8L-WY77.js} +2 -2
- package/stencil/{ui-skeleton-C73UqtBQ.js → ui-skeleton-DSebcnN1.js} +2 -2
- package/stencil/{ui-skeleton-ae35c6f2-CLOd38Ia.js → ui-skeleton-ae35c6f2-BH4D8vHD.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-SCby2j53.js → ui-skeleton-ae35c6f2-CcPx4a2P.js} +1 -1
- package/stencil/{ui-skeleton-ae35c6f2-C9l5j8aK.cjs → ui-skeleton-ae35c6f2-DDiK5zGt.cjs} +1 -1
- package/components/CasinoTournamentsListController-Xh8cK8m7.cjs +0 -28
- package/components/CasinoTournamentsThumbnailController-D0OPXphy.cjs +0 -3
- package/stencil/index-97d17652-BD-QREJe.js +0 -558
- package/stencil/index-97d17652-DJqGt8q2.js +0 -542
- package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
- package/stencil/index-b2193545-CF9C6kiu.cjs +0 -1
- package/stencil/index-b2193545-OH6E7v51.js +0 -519
- package/stencil/index-b2193545-eoIiLcDl.js +0 -503
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
function N(
|
|
3
|
-
|
|
1
|
+
import { b as C, S as L, i as Z, s as j, f as _, c as B, n as F, d as w, m as b, g as T, h as d, j as g, k as v, t as y, e as p, l as I, o as R, G as S, H as O, p as D, z as U, A as V, B as W, C as q, D as G } from "./CasinoTournamentsListController-D3MaGDVN.js";
|
|
2
|
+
function N(l, e) {
|
|
3
|
+
C(l, e);
|
|
4
4
|
}
|
|
5
5
|
const M = {
|
|
6
6
|
en: {
|
|
@@ -59,33 +59,33 @@ const M = {
|
|
|
59
59
|
place: "place"
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
function
|
|
63
|
-
B(
|
|
62
|
+
function J(l) {
|
|
63
|
+
B(l, "svelte-1bsrm1d", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}");
|
|
64
64
|
}
|
|
65
|
-
function H(
|
|
66
|
-
const i =
|
|
65
|
+
function H(l, e, t) {
|
|
66
|
+
const i = l.slice();
|
|
67
67
|
return i[12] = e[t], i[14] = t, i;
|
|
68
68
|
}
|
|
69
|
-
function A(
|
|
69
|
+
function A(l) {
|
|
70
70
|
let e, t = S(
|
|
71
71
|
/*prizes*/
|
|
72
|
-
|
|
72
|
+
l[1]
|
|
73
73
|
), i = [];
|
|
74
74
|
for (let n = 0; n < t.length; n += 1)
|
|
75
|
-
i[n] = x(H(
|
|
76
|
-
let
|
|
77
|
-
return t.length || (
|
|
75
|
+
i[n] = x(H(l, t, n));
|
|
76
|
+
let r = null;
|
|
77
|
+
return t.length || (r = E(l)), {
|
|
78
78
|
c() {
|
|
79
79
|
e = g("div");
|
|
80
80
|
for (let n = 0; n < i.length; n += 1)
|
|
81
81
|
i[n].c();
|
|
82
|
-
|
|
82
|
+
r && r.c(), p(e, "class", "Prizes"), p(e, "part", "Prizes");
|
|
83
83
|
},
|
|
84
84
|
m(n, c) {
|
|
85
|
-
|
|
85
|
+
T(n, e, c);
|
|
86
86
|
for (let s = 0; s < i.length; s += 1)
|
|
87
87
|
i[s] && i[s].m(e, null);
|
|
88
|
-
|
|
88
|
+
r && r.m(e, null);
|
|
89
89
|
},
|
|
90
90
|
p(n, c) {
|
|
91
91
|
if (c & /*prizes, $_*/
|
|
@@ -101,96 +101,96 @@ function A(r) {
|
|
|
101
101
|
}
|
|
102
102
|
for (; s < i.length; s += 1)
|
|
103
103
|
i[s].d(1);
|
|
104
|
-
i.length = t.length, !t.length &&
|
|
104
|
+
i.length = t.length, !t.length && r ? r.p(n, c) : t.length ? r && (r.d(1), r = null) : (r = E(n), r.c(), r.m(e, null));
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
d(n) {
|
|
108
|
-
n &&
|
|
108
|
+
n && w(e), O(i, n), r && r.d();
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
|
-
function E(
|
|
112
|
+
function E(l) {
|
|
113
113
|
let e, t = (
|
|
114
114
|
/*$_*/
|
|
115
|
-
|
|
115
|
+
l[2]("noprizes") + ""
|
|
116
116
|
), i;
|
|
117
117
|
return {
|
|
118
118
|
c() {
|
|
119
119
|
e = g("p"), i = y(t);
|
|
120
120
|
},
|
|
121
|
-
m(
|
|
122
|
-
|
|
121
|
+
m(r, n) {
|
|
122
|
+
T(r, e, n), d(e, i);
|
|
123
123
|
},
|
|
124
|
-
p(
|
|
124
|
+
p(r, n) {
|
|
125
125
|
n & /*$_*/
|
|
126
126
|
4 && t !== (t = /*$_*/
|
|
127
|
-
|
|
127
|
+
r[2]("noprizes") + "") && b(i, t);
|
|
128
128
|
},
|
|
129
|
-
d(
|
|
130
|
-
|
|
129
|
+
d(r) {
|
|
130
|
+
r && w(e);
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
function x(
|
|
135
|
-
let e, t, i,
|
|
134
|
+
function x(l) {
|
|
135
|
+
let e, t, i, r = (
|
|
136
136
|
/*prize*/
|
|
137
|
-
(
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
137
|
+
(l[12].count > 1 ? `${/*prize*/
|
|
138
|
+
l[12].rank}~${/*prize*/
|
|
139
|
+
l[12].rank + /*prize*/
|
|
140
|
+
l[12].count - 1}` : (
|
|
141
141
|
/*prize*/
|
|
142
|
-
|
|
142
|
+
l[12].rank
|
|
143
143
|
)) + ""
|
|
144
144
|
), n, c, s = (
|
|
145
145
|
/*$_*/
|
|
146
|
-
|
|
146
|
+
l[2]("place") + ""
|
|
147
147
|
), f, o, u = (
|
|
148
148
|
/*prize*/
|
|
149
|
-
|
|
149
|
+
l[12].name + ""
|
|
150
150
|
), m, P;
|
|
151
151
|
return {
|
|
152
152
|
c() {
|
|
153
|
-
e = g("div"), t = g("p"), i = g("span"), n = y(
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
e = g("div"), t = g("p"), i = g("span"), n = y(r), c = v(), f = y(s), o = y(": "), m = y(u), P = v(), p(i, "class", "PrizeRank"), p(i, "part", "PrizeRank"), p(t, "class", "PrizeText"), p(t, "part", "PrizeText"), p(e, "class", "Prize Prize" + /*index*/
|
|
154
|
+
l[14]), p(e, "part", "Prize Prize" + /*index*/
|
|
155
|
+
l[14]);
|
|
156
156
|
},
|
|
157
157
|
m(z, a) {
|
|
158
|
-
|
|
158
|
+
T(z, e, a), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, o), d(t, m), d(e, P);
|
|
159
159
|
},
|
|
160
160
|
p(z, a) {
|
|
161
161
|
a & /*prizes*/
|
|
162
|
-
2 &&
|
|
162
|
+
2 && r !== (r = /*prize*/
|
|
163
163
|
(z[12].count > 1 ? `${/*prize*/
|
|
164
164
|
z[12].rank}~${/*prize*/
|
|
165
165
|
z[12].rank + /*prize*/
|
|
166
166
|
z[12].count - 1}` : (
|
|
167
167
|
/*prize*/
|
|
168
168
|
z[12].rank
|
|
169
|
-
)) + "") && b(n,
|
|
169
|
+
)) + "") && b(n, r), a & /*$_*/
|
|
170
170
|
4 && s !== (s = /*$_*/
|
|
171
171
|
z[2]("place") + "") && b(f, s), a & /*prizes*/
|
|
172
172
|
2 && u !== (u = /*prize*/
|
|
173
173
|
z[12].name + "") && b(m, u);
|
|
174
174
|
},
|
|
175
175
|
d(z) {
|
|
176
|
-
z &&
|
|
176
|
+
z && w(e);
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
|
-
function K(
|
|
181
|
-
let e, t, i,
|
|
180
|
+
function K(l) {
|
|
181
|
+
let e, t, i, r, n, c = (
|
|
182
182
|
/*$_*/
|
|
183
|
-
|
|
183
|
+
l[2]("prizes") + ""
|
|
184
184
|
), s, f, o = (
|
|
185
185
|
/*prizes*/
|
|
186
|
-
|
|
186
|
+
l[1] && A(l)
|
|
187
187
|
);
|
|
188
188
|
return {
|
|
189
189
|
c() {
|
|
190
|
-
e = g("div"), t = g("div"), i = g("span"), i.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',
|
|
190
|
+
e = g("div"), t = g("div"), i = g("span"), i.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', r = v(), n = g("p"), s = y(c), f = v(), o && o.c(), p(i, "class", "TournamentPrizesIconWrapper"), p(i, "part", "TournamentPrizesIconWrapper"), p(n, "class", "PrizesTitle"), p(n, "part", "PrizesTitle"), p(t, "class", "TournamentPrizesIconSection"), p(t, "part", "TournamentPrizesIconSection"), p(e, "class", "TournamentPrizes"), p(e, "part", "TournamentPrizes");
|
|
191
191
|
},
|
|
192
192
|
m(u, m) {
|
|
193
|
-
|
|
193
|
+
T(u, e, m), d(e, t), d(t, i), d(t, r), d(t, n), d(n, s), d(e, f), o && o.m(e, null), l[8](e);
|
|
194
194
|
},
|
|
195
195
|
p(u, [m]) {
|
|
196
196
|
m & /*$_*/
|
|
@@ -201,14 +201,14 @@ function K(r) {
|
|
|
201
201
|
i: F,
|
|
202
202
|
o: F,
|
|
203
203
|
d(u) {
|
|
204
|
-
u &&
|
|
204
|
+
u && w(e), o && o.d(), l[8](null);
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
}
|
|
208
|
-
function Q(
|
|
208
|
+
function Q(l, e, t) {
|
|
209
209
|
let i;
|
|
210
|
-
|
|
211
|
-
let { tourid:
|
|
210
|
+
I(l, G, (a) => t(2, i = a));
|
|
211
|
+
let { tourid: r = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, { mbsource: f } = e, o, u;
|
|
212
212
|
const m = () => {
|
|
213
213
|
fetch(s).then((h) => h.json()).then((h) => {
|
|
214
214
|
Object.keys(h).forEach((k) => {
|
|
@@ -222,29 +222,29 @@ function Q(r, e, t) {
|
|
|
222
222
|
N(a, M[a]);
|
|
223
223
|
});
|
|
224
224
|
const P = (a) => {
|
|
225
|
-
a.data && a.data.type == `TournamentPrizes_${
|
|
225
|
+
a.data && a.data.type == `TournamentPrizes_${r}` && t(1, u = a.data.prizes);
|
|
226
226
|
};
|
|
227
|
-
|
|
227
|
+
R(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", P, !1), () => {
|
|
228
228
|
window.removeEventListener("message", P);
|
|
229
229
|
}));
|
|
230
230
|
function z(a) {
|
|
231
|
-
|
|
231
|
+
D[a ? "unshift" : "push"](() => {
|
|
232
232
|
o = a, t(0, o);
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
|
-
return
|
|
236
|
-
"tourid" in a && t(3,
|
|
237
|
-
},
|
|
238
|
-
|
|
239
|
-
17 && n && o &&
|
|
240
|
-
33 && c && o &&
|
|
241
|
-
129 && f && o &&
|
|
235
|
+
return l.$$set = (a) => {
|
|
236
|
+
"tourid" in a && t(3, r = a.tourid), "clientstyling" in a && t(4, n = a.clientstyling), "clientstylingurl" in a && t(5, c = a.clientstylingurl), "translationurl" in a && t(6, s = a.translationurl), "mbsource" in a && t(7, f = a.mbsource);
|
|
237
|
+
}, l.$$.update = () => {
|
|
238
|
+
l.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
239
|
+
17 && n && o && U(o, n), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
240
|
+
33 && c && o && V(o, c), l.$$.dirty & /*mbsource, customStylingContainer*/
|
|
241
|
+
129 && f && o && W(o, `${f}.Style`), l.$$.dirty & /*translationurl*/
|
|
242
242
|
64 && s && m();
|
|
243
243
|
}, [
|
|
244
244
|
o,
|
|
245
245
|
u,
|
|
246
246
|
i,
|
|
247
|
-
|
|
247
|
+
r,
|
|
248
248
|
n,
|
|
249
249
|
c,
|
|
250
250
|
s,
|
|
@@ -252,14 +252,14 @@ function Q(r, e, t) {
|
|
|
252
252
|
z
|
|
253
253
|
];
|
|
254
254
|
}
|
|
255
|
-
class X extends
|
|
255
|
+
class X extends L {
|
|
256
256
|
constructor(e) {
|
|
257
257
|
super(), Z(
|
|
258
258
|
this,
|
|
259
259
|
e,
|
|
260
260
|
Q,
|
|
261
261
|
K,
|
|
262
|
-
|
|
262
|
+
j,
|
|
263
263
|
{
|
|
264
264
|
tourid: 3,
|
|
265
265
|
clientstyling: 4,
|
|
@@ -267,7 +267,7 @@ class X extends C {
|
|
|
267
267
|
translationurl: 6,
|
|
268
268
|
mbsource: 7
|
|
269
269
|
},
|
|
270
|
-
|
|
270
|
+
J
|
|
271
271
|
);
|
|
272
272
|
}
|
|
273
273
|
get tourid() {
|
|
@@ -301,7 +301,7 @@ class X extends C {
|
|
|
301
301
|
this.$$set({ mbsource: e }), _();
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
|
|
304
|
+
q(X, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
305
305
|
export {
|
|
306
306
|
X as default
|
|
307
307
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsListController-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoTournamentsListController-B1XzpG4J.cjs");function _(l,t){e.addMessages(l,t)}const y={en:{prizes:"Prizes",noprizes:"No available prizes",place:"place"},hr:{prizes:"Nagrade",noprizes:"Nema dostupnih nagrada",place:"mjesto"},"zh-hk":{prizes:"獎品",noprizes:"沒有可用的獎品",place:"位置"},fr:{prizes:"Prix",noprizes:"Aucun prix disponible",place:"place"},ro:{prizes:"Premii",noprizes:"Nu sunt disponibile premii",place:"poziție"},tr:{prizes:"Ödüller",noprizes:"Mevcut ödül yok",place:"yer"},el:{prizes:"Έπαθλα",noprizes:"Μη διαθέσιμα έπαθλα",place:"θέση"},es:{prizes:"Premios",noprizes:"No hay premios disponibles",place:"lugar"},hu:{prizes:"Nyeremények",noprizes:"Nincs elérhető nyeremény",place:"helyezés"},pt:{prizes:"Prêmios",noprizes:"Não há prêmios disponíveis",place:"place"},"en-us":{prizes:"Prizes",noprizes:"No available prizes",place:"place"}};function k(l){e.append_styles(l,"svelte-1bsrm1d","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}")}function P(l,t,n){const i=l.slice();return i[12]=t[n],i[14]=n,i}function b(l){let t,n=e.ensure_array_like(l[1]),i=[];for(let r=0;r<n.length;r+=1)i[r]=w(P(l,n,r));let a=null;return n.length||(a=v(l)),{c(){t=e.element("div");for(let r=0;r<i.length;r+=1)i[r].c();a&&a.c(),e.attr(t,"class","Prizes"),e.attr(t,"part","Prizes")},m(r,c){e.insert(r,t,c);for(let s=0;s<i.length;s+=1)i[s]&&i[s].m(t,null);a&&a.m(t,null)},p(r,c){if(c&6){n=e.ensure_array_like(r[1]);let s;for(s=0;s<n.length;s+=1){const d=P(r,n,s);i[s]?i[s].p(d,c):(i[s]=w(d),i[s].c(),i[s].m(t,null))}for(;s<i.length;s+=1)i[s].d(1);i.length=n.length,!n.length&&a?a.p(r,c):n.length?a&&(a.d(1),a=null):(a=v(r),a.c(),a.m(t,null))}},d(r){r&&e.detach(t),e.destroy_each(i,r),a&&a.d()}}}function v(l){let t,n=l[2]("noprizes")+"",i;return{c(){t=e.element("p"),i=e.text(n)},m(a,r){e.insert(a,t,r),e.append(t,i)},p(a,r){r&4&&n!==(n=a[2]("noprizes")+"")&&e.set_data(i,n)},d(a){a&&e.detach(t)}}}function w(l){let t,n,i,a=(l[12].count>1?`${l[12].rank}~${l[12].rank+l[12].count-1}`:l[12].rank)+"",r,c,s=l[2]("place")+"",d,p,u=l[12].name+"",f,g;return{c(){t=e.element("div"),n=e.element("p"),i=e.element("span"),r=e.text(a),c=e.space(),d=e.text(s),p=e.text(": "),f=e.text(u),g=e.space(),e.attr(i,"class","PrizeRank"),e.attr(i,"part","PrizeRank"),e.attr(n,"class","PrizeText"),e.attr(n,"part","PrizeText"),e.attr(t,"class","Prize Prize"+l[14]),e.attr(t,"part","Prize Prize"+l[14])},m(m,o){e.insert(m,t,o),e.append(t,n),e.append(n,i),e.append(i,r),e.append(n,c),e.append(n,d),e.append(n,p),e.append(n,f),e.append(t,g)},p(m,o){o&2&&a!==(a=(m[12].count>1?`${m[12].rank}~${m[12].rank+m[12].count-1}`:m[12].rank)+"")&&e.set_data(r,a),o&4&&s!==(s=m[2]("place")+"")&&e.set_data(d,s),o&2&&u!==(u=m[12].name+"")&&e.set_data(f,u)},d(m){m&&e.detach(t)}}}function S(l){let t,n,i,a,r,c=l[2]("prizes")+"",s,d,p=l[1]&&b(l);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("span"),i.innerHTML='<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',a=e.space(),r=e.element("p"),s=e.text(c),d=e.space(),p&&p.c(),e.attr(i,"class","TournamentPrizesIconWrapper"),e.attr(i,"part","TournamentPrizesIconWrapper"),e.attr(r,"class","PrizesTitle"),e.attr(r,"part","PrizesTitle"),e.attr(n,"class","TournamentPrizesIconSection"),e.attr(n,"part","TournamentPrizesIconSection"),e.attr(t,"class","TournamentPrizes"),e.attr(t,"part","TournamentPrizes")},m(u,f){e.insert(u,t,f),e.append(t,n),e.append(n,i),e.append(n,a),e.append(n,r),e.append(r,s),e.append(t,d),p&&p.m(t,null),l[8](t)},p(u,[f]){f&4&&c!==(c=u[2]("prizes")+"")&&e.set_data(s,c),u[1]?p?p.p(u,f):(p=b(u),p.c(),p.m(t,null)):p&&(p.d(1),p=null)},i:e.noop,o:e.noop,d(u){u&&e.detach(t),p&&p.d(),l[8](null)}}}function F(l,t,n){let i;e.component_subscribe(l,e.$format,o=>n(2,i=o));let{tourid:a=""}=t,{clientstyling:r=""}=t,{clientstylingurl:c=""}=t,{translationurl:s=""}=t,{mbsource:d}=t,p,u;const f=()=>{fetch(s).then(h=>h.json()).then(h=>{Object.keys(h).forEach(z=>{_(z,h[z])})}).catch(h=>{console.log(h)})};Object.keys(y).forEach(o=>{_(o,y[o])});const g=o=>{o.data&&o.data.type==`TournamentPrizes_${a}`&&n(1,u=o.data.prizes)};e.onMount(()=>(window.postMessage({type:"TournamentThumbnailMounted"},window.location.href),window.addEventListener("message",g,!1),()=>{window.removeEventListener("message",g)}));function m(o){e.binding_callbacks[o?"unshift":"push"](()=>{p=o,n(0,p)})}return l.$$set=o=>{"tourid"in o&&n(3,a=o.tourid),"clientstyling"in o&&n(4,r=o.clientstyling),"clientstylingurl"in o&&n(5,c=o.clientstylingurl),"translationurl"in o&&n(6,s=o.translationurl),"mbsource"in o&&n(7,d=o.mbsource)},l.$$.update=()=>{l.$$.dirty&17&&r&&p&&e.setClientStyling(p,r),l.$$.dirty&33&&c&&p&&e.setClientStylingURL(p,c),l.$$.dirty&129&&d&&p&&e.setStreamStyling(p,`${d}.Style`),l.$$.dirty&64&&s&&f()},[p,u,i,a,r,c,s,d,m]}class T extends e.SvelteComponent{constructor(t){super(),e.init(this,t,F,S,e.safe_not_equal,{tourid:3,clientstyling:4,clientstylingurl:5,translationurl:6,mbsource:7},k)}get tourid(){return this.$$.ctx[3]}set tourid(t){this.$$set({tourid:t}),e.flush()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[6]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get mbsource(){return this.$$.ctx[7]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}}e.create_custom_element(T,{tourid:{},clientstyling:{},clientstylingurl:{},translationurl:{},mbsource:{}},[],[],!0);exports.default=T;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
function N(
|
|
3
|
-
|
|
1
|
+
import { b as C, S as L, i as Z, s as j, f as _, c as B, n as F, d as w, m as b, g as T, h as d, j as g, k as v, t as y, e as p, l as I, o as R, G as S, H as O, p as D, z as U, A as V, B as W, C as q, D as G } from "./CasinoTournamentsListController-BCnAtVmn.js";
|
|
2
|
+
function N(l, e) {
|
|
3
|
+
C(l, e);
|
|
4
4
|
}
|
|
5
5
|
const M = {
|
|
6
6
|
en: {
|
|
@@ -59,33 +59,33 @@ const M = {
|
|
|
59
59
|
place: "place"
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
function
|
|
63
|
-
B(
|
|
62
|
+
function J(l) {
|
|
63
|
+
B(l, "svelte-1bsrm1d", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}span{color:var(--emw--color-gray-100, #E6E6E6)}.TournamentPrizes{font-size:11px;margin-left:20px;margin-right:20px;display:flex;gap:5px}.PrizesTitle{padding-top:8px}.Prizes{padding-left:20px;flex-wrap:wrap;display:flex;gap:20px;width:100%;min-height:50px;padding-top:8px}.Prize{flex-grow:1;color:var(--emw--color-gray-300, #58586B)}.Prize.Prize0 span{color:#FECF00}.Prize.Prize1 span{color:#D9B206}.Prize.Prize2 span{color:#9B8007}.Prize p{color:var(--emw--color-white, #FFFFFF)}");
|
|
64
64
|
}
|
|
65
|
-
function H(
|
|
66
|
-
const i =
|
|
65
|
+
function H(l, e, t) {
|
|
66
|
+
const i = l.slice();
|
|
67
67
|
return i[12] = e[t], i[14] = t, i;
|
|
68
68
|
}
|
|
69
|
-
function A(
|
|
69
|
+
function A(l) {
|
|
70
70
|
let e, t = S(
|
|
71
71
|
/*prizes*/
|
|
72
|
-
|
|
72
|
+
l[1]
|
|
73
73
|
), i = [];
|
|
74
74
|
for (let n = 0; n < t.length; n += 1)
|
|
75
|
-
i[n] = x(H(
|
|
76
|
-
let
|
|
77
|
-
return t.length || (
|
|
75
|
+
i[n] = x(H(l, t, n));
|
|
76
|
+
let r = null;
|
|
77
|
+
return t.length || (r = E(l)), {
|
|
78
78
|
c() {
|
|
79
79
|
e = g("div");
|
|
80
80
|
for (let n = 0; n < i.length; n += 1)
|
|
81
81
|
i[n].c();
|
|
82
|
-
|
|
82
|
+
r && r.c(), p(e, "class", "Prizes"), p(e, "part", "Prizes");
|
|
83
83
|
},
|
|
84
84
|
m(n, c) {
|
|
85
|
-
|
|
85
|
+
T(n, e, c);
|
|
86
86
|
for (let s = 0; s < i.length; s += 1)
|
|
87
87
|
i[s] && i[s].m(e, null);
|
|
88
|
-
|
|
88
|
+
r && r.m(e, null);
|
|
89
89
|
},
|
|
90
90
|
p(n, c) {
|
|
91
91
|
if (c & /*prizes, $_*/
|
|
@@ -101,96 +101,96 @@ function A(r) {
|
|
|
101
101
|
}
|
|
102
102
|
for (; s < i.length; s += 1)
|
|
103
103
|
i[s].d(1);
|
|
104
|
-
i.length = t.length, !t.length &&
|
|
104
|
+
i.length = t.length, !t.length && r ? r.p(n, c) : t.length ? r && (r.d(1), r = null) : (r = E(n), r.c(), r.m(e, null));
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
d(n) {
|
|
108
|
-
n &&
|
|
108
|
+
n && w(e), O(i, n), r && r.d();
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
|
-
function E(
|
|
112
|
+
function E(l) {
|
|
113
113
|
let e, t = (
|
|
114
114
|
/*$_*/
|
|
115
|
-
|
|
115
|
+
l[2]("noprizes") + ""
|
|
116
116
|
), i;
|
|
117
117
|
return {
|
|
118
118
|
c() {
|
|
119
119
|
e = g("p"), i = y(t);
|
|
120
120
|
},
|
|
121
|
-
m(
|
|
122
|
-
|
|
121
|
+
m(r, n) {
|
|
122
|
+
T(r, e, n), d(e, i);
|
|
123
123
|
},
|
|
124
|
-
p(
|
|
124
|
+
p(r, n) {
|
|
125
125
|
n & /*$_*/
|
|
126
126
|
4 && t !== (t = /*$_*/
|
|
127
|
-
|
|
127
|
+
r[2]("noprizes") + "") && b(i, t);
|
|
128
128
|
},
|
|
129
|
-
d(
|
|
130
|
-
|
|
129
|
+
d(r) {
|
|
130
|
+
r && w(e);
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
function x(
|
|
135
|
-
let e, t, i,
|
|
134
|
+
function x(l) {
|
|
135
|
+
let e, t, i, r = (
|
|
136
136
|
/*prize*/
|
|
137
|
-
(
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
137
|
+
(l[12].count > 1 ? `${/*prize*/
|
|
138
|
+
l[12].rank}~${/*prize*/
|
|
139
|
+
l[12].rank + /*prize*/
|
|
140
|
+
l[12].count - 1}` : (
|
|
141
141
|
/*prize*/
|
|
142
|
-
|
|
142
|
+
l[12].rank
|
|
143
143
|
)) + ""
|
|
144
144
|
), n, c, s = (
|
|
145
145
|
/*$_*/
|
|
146
|
-
|
|
146
|
+
l[2]("place") + ""
|
|
147
147
|
), f, o, u = (
|
|
148
148
|
/*prize*/
|
|
149
|
-
|
|
149
|
+
l[12].name + ""
|
|
150
150
|
), m, P;
|
|
151
151
|
return {
|
|
152
152
|
c() {
|
|
153
|
-
e = g("div"), t = g("p"), i = g("span"), n = y(
|
|
154
|
-
|
|
155
|
-
|
|
153
|
+
e = g("div"), t = g("p"), i = g("span"), n = y(r), c = v(), f = y(s), o = y(": "), m = y(u), P = v(), p(i, "class", "PrizeRank"), p(i, "part", "PrizeRank"), p(t, "class", "PrizeText"), p(t, "part", "PrizeText"), p(e, "class", "Prize Prize" + /*index*/
|
|
154
|
+
l[14]), p(e, "part", "Prize Prize" + /*index*/
|
|
155
|
+
l[14]);
|
|
156
156
|
},
|
|
157
157
|
m(z, a) {
|
|
158
|
-
|
|
158
|
+
T(z, e, a), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, o), d(t, m), d(e, P);
|
|
159
159
|
},
|
|
160
160
|
p(z, a) {
|
|
161
161
|
a & /*prizes*/
|
|
162
|
-
2 &&
|
|
162
|
+
2 && r !== (r = /*prize*/
|
|
163
163
|
(z[12].count > 1 ? `${/*prize*/
|
|
164
164
|
z[12].rank}~${/*prize*/
|
|
165
165
|
z[12].rank + /*prize*/
|
|
166
166
|
z[12].count - 1}` : (
|
|
167
167
|
/*prize*/
|
|
168
168
|
z[12].rank
|
|
169
|
-
)) + "") && b(n,
|
|
169
|
+
)) + "") && b(n, r), a & /*$_*/
|
|
170
170
|
4 && s !== (s = /*$_*/
|
|
171
171
|
z[2]("place") + "") && b(f, s), a & /*prizes*/
|
|
172
172
|
2 && u !== (u = /*prize*/
|
|
173
173
|
z[12].name + "") && b(m, u);
|
|
174
174
|
},
|
|
175
175
|
d(z) {
|
|
176
|
-
z &&
|
|
176
|
+
z && w(e);
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
|
-
function K(
|
|
181
|
-
let e, t, i,
|
|
180
|
+
function K(l) {
|
|
181
|
+
let e, t, i, r, n, c = (
|
|
182
182
|
/*$_*/
|
|
183
|
-
|
|
183
|
+
l[2]("prizes") + ""
|
|
184
184
|
), s, f, o = (
|
|
185
185
|
/*prizes*/
|
|
186
|
-
|
|
186
|
+
l[1] && A(l)
|
|
187
187
|
);
|
|
188
188
|
return {
|
|
189
189
|
c() {
|
|
190
|
-
e = g("div"), t = g("div"), i = g("span"), i.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>',
|
|
190
|
+
e = g("div"), t = g("div"), i = g("span"), i.innerHTML = '<svg part="TournamentPrizesSvg" xmlns="http://www.w3.org/2000/svg" width="30" height="27.454" viewBox="0 0 30 27.454"><defs><style>.a{fill:var(--emw--color-white, #FFFFFF);}</style></defs><path class="a" part="a TournamentPrizesSvgA" d="M35.84,12.887a1.023,1.023,0,0,0-.853-.481h-5.2l.242-1.456a1.023,1.023,0,0,0-1.023-1.19H12.977a1.023,1.023,0,0,0-1.023,1.19l.242,1.456H7.022a1.023,1.023,0,0,0-.921,1.47l2.967,6.077a6.48,6.48,0,0,0,5.163,3.581,7.227,7.227,0,0,0,3.7,3.963v2.667h-.426a3.525,3.525,0,1,0,0,7.049H24.5a3.525,3.525,0,1,0,0-7.049h-.426V27.5a7.227,7.227,0,0,0,3.7-3.963,6.48,6.48,0,0,0,5.167-3.581L35.9,13.876a1.023,1.023,0,0,0-.058-.989ZM10.914,19.05l-2.241-4.6h3.891l1.153,6.916A4.406,4.406,0,0,1,10.914,19.05ZM25.977,33.687A1.477,1.477,0,0,1,24.5,35.164H17.509a1.478,1.478,0,0,1,0-2.957H24.5A1.48,1.48,0,0,1,25.977,33.687Zm-3.949-3.526H19.982V28.094a6.729,6.729,0,0,0,2.046,0Zm4.123-8.383a5.218,5.218,0,0,1-10.293,0L14.184,11.8H27.826ZM31.1,19.05a4.406,4.406,0,0,1-2.8,2.309l1.153-6.916h3.891Z" transform="translate(-5.999 -9.76)"></path></svg>', r = v(), n = g("p"), s = y(c), f = v(), o && o.c(), p(i, "class", "TournamentPrizesIconWrapper"), p(i, "part", "TournamentPrizesIconWrapper"), p(n, "class", "PrizesTitle"), p(n, "part", "PrizesTitle"), p(t, "class", "TournamentPrizesIconSection"), p(t, "part", "TournamentPrizesIconSection"), p(e, "class", "TournamentPrizes"), p(e, "part", "TournamentPrizes");
|
|
191
191
|
},
|
|
192
192
|
m(u, m) {
|
|
193
|
-
|
|
193
|
+
T(u, e, m), d(e, t), d(t, i), d(t, r), d(t, n), d(n, s), d(e, f), o && o.m(e, null), l[8](e);
|
|
194
194
|
},
|
|
195
195
|
p(u, [m]) {
|
|
196
196
|
m & /*$_*/
|
|
@@ -201,14 +201,14 @@ function K(r) {
|
|
|
201
201
|
i: F,
|
|
202
202
|
o: F,
|
|
203
203
|
d(u) {
|
|
204
|
-
u &&
|
|
204
|
+
u && w(e), o && o.d(), l[8](null);
|
|
205
205
|
}
|
|
206
206
|
};
|
|
207
207
|
}
|
|
208
|
-
function Q(
|
|
208
|
+
function Q(l, e, t) {
|
|
209
209
|
let i;
|
|
210
|
-
|
|
211
|
-
let { tourid:
|
|
210
|
+
I(l, G, (a) => t(2, i = a));
|
|
211
|
+
let { tourid: r = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: s = "" } = e, { mbsource: f } = e, o, u;
|
|
212
212
|
const m = () => {
|
|
213
213
|
fetch(s).then((h) => h.json()).then((h) => {
|
|
214
214
|
Object.keys(h).forEach((k) => {
|
|
@@ -222,29 +222,29 @@ function Q(r, e, t) {
|
|
|
222
222
|
N(a, M[a]);
|
|
223
223
|
});
|
|
224
224
|
const P = (a) => {
|
|
225
|
-
a.data && a.data.type == `TournamentPrizes_${
|
|
225
|
+
a.data && a.data.type == `TournamentPrizes_${r}` && t(1, u = a.data.prizes);
|
|
226
226
|
};
|
|
227
|
-
|
|
227
|
+
R(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", P, !1), () => {
|
|
228
228
|
window.removeEventListener("message", P);
|
|
229
229
|
}));
|
|
230
230
|
function z(a) {
|
|
231
|
-
|
|
231
|
+
D[a ? "unshift" : "push"](() => {
|
|
232
232
|
o = a, t(0, o);
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
|
-
return
|
|
236
|
-
"tourid" in a && t(3,
|
|
237
|
-
},
|
|
238
|
-
|
|
239
|
-
17 && n && o &&
|
|
240
|
-
33 && c && o &&
|
|
241
|
-
129 && f && o &&
|
|
235
|
+
return l.$$set = (a) => {
|
|
236
|
+
"tourid" in a && t(3, r = a.tourid), "clientstyling" in a && t(4, n = a.clientstyling), "clientstylingurl" in a && t(5, c = a.clientstylingurl), "translationurl" in a && t(6, s = a.translationurl), "mbsource" in a && t(7, f = a.mbsource);
|
|
237
|
+
}, l.$$.update = () => {
|
|
238
|
+
l.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
239
|
+
17 && n && o && U(o, n), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
240
|
+
33 && c && o && V(o, c), l.$$.dirty & /*mbsource, customStylingContainer*/
|
|
241
|
+
129 && f && o && W(o, `${f}.Style`), l.$$.dirty & /*translationurl*/
|
|
242
242
|
64 && s && m();
|
|
243
243
|
}, [
|
|
244
244
|
o,
|
|
245
245
|
u,
|
|
246
246
|
i,
|
|
247
|
-
|
|
247
|
+
r,
|
|
248
248
|
n,
|
|
249
249
|
c,
|
|
250
250
|
s,
|
|
@@ -252,14 +252,14 @@ function Q(r, e, t) {
|
|
|
252
252
|
z
|
|
253
253
|
];
|
|
254
254
|
}
|
|
255
|
-
class X extends
|
|
255
|
+
class X extends L {
|
|
256
256
|
constructor(e) {
|
|
257
257
|
super(), Z(
|
|
258
258
|
this,
|
|
259
259
|
e,
|
|
260
260
|
Q,
|
|
261
261
|
K,
|
|
262
|
-
|
|
262
|
+
j,
|
|
263
263
|
{
|
|
264
264
|
tourid: 3,
|
|
265
265
|
clientstyling: 4,
|
|
@@ -267,7 +267,7 @@ class X extends C {
|
|
|
267
267
|
translationurl: 6,
|
|
268
268
|
mbsource: 7
|
|
269
269
|
},
|
|
270
|
-
|
|
270
|
+
J
|
|
271
271
|
);
|
|
272
272
|
}
|
|
273
273
|
get tourid() {
|
|
@@ -301,7 +301,7 @@ class X extends C {
|
|
|
301
301
|
this.$$set({ mbsource: e }), _();
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
|
-
|
|
304
|
+
q(X, { tourid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
305
305
|
export {
|
|
306
306
|
X as default
|
|
307
307
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsListController-
|
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsListController-B1XzpG4J.cjs")).then(e=>e.CasinoTournamentsListController_ce).then(({default:e})=>{!customElements.get("casino-tournaments-list-controller")&&customElements.define("casino-tournaments-list-controller",e.element)})}
|
|
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
|
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
|
-
customElements.define = n(customElements.define), import("../components/CasinoTournamentsListController-
|
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoTournamentsListController-BCnAtVmn.js").then((e) => e.L).then(({ default: e }) => {
|
|
14
14
|
!customElements.get("casino-tournaments-list-controller") && customElements.define("casino-tournaments-list-controller", e.element);
|
|
15
15
|
});
|
|
16
16
|
}
|