@everymatrix/casino-tournaments-thumbnail-controller 1.94.19 → 1.94.21
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/{CasinoTournamentsThumbnail-DM8EGqWS.js → CasinoTournamentsThumbnail-BL75WNzi.js} +24 -24
- package/components/{CasinoTournamentsThumbnail-CAZpfJPa.js → CasinoTournamentsThumbnail-Civ_C0vk.js} +24 -24
- package/components/{CasinoTournamentsThumbnailController-CJ5s9xEE.js → CasinoTournamentsThumbnailController-BR8vFeoL.js} +42 -42
- package/components/{CasinoTournamentsThumbnailController-B9Drlihg.js → CasinoTournamentsThumbnailController-DfF0ST18.js} +43 -43
- package/components/{CasinoTournamentsThumbnailDuration-DdhidD-2.js → CasinoTournamentsThumbnailDuration-CpApYtOU.js} +32 -32
- package/components/{CasinoTournamentsThumbnailDuration-D4zk4rIy.js → CasinoTournamentsThumbnailDuration-DeZXKho7.js} +20 -20
- package/components/{CasinoTournamentsThumbnailGamesSlider-aOfmY4aY.js → CasinoTournamentsThumbnailGamesSlider-BmKMW-_F.js} +33 -33
- package/components/{CasinoTournamentsThumbnailGamesSlider-BefA_osy.js → CasinoTournamentsThumbnailGamesSlider-DCJrxHV7.js} +25 -25
- package/components/{CasinoTournamentsThumbnailPrizes-Q7mMT7sI.js → CasinoTournamentsThumbnailPrizes-CSMbvz-Z.js} +81 -81
- package/components/{CasinoTournamentsThumbnailPrizes-8ksBjfQc.js → CasinoTournamentsThumbnailPrizes-ChghFUJV.js} +62 -62
- package/es2015/casino-tournaments-thumbnail-controller.js +1 -1
- package/esnext/casino-tournaments-thumbnail-controller.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as be, S as ve, i as ke, s as Ne, f as T, d as Se, n as Y, e as W, h as q, k as N, m as Te, o as Fe, F as K, G as Be, r as le, H as C, E as Z, j as v, I as Pe, q as H, l as D, g as o, J as Me, K as Ee, v as G, p as je, x as Q, u as Ae, B as He, C as Le, D as ze, c as Ce, A as De } from "./CasinoTournamentsThumbnailController-BR8vFeoL.js";
|
|
2
2
|
function V(e, n) {
|
|
3
3
|
be(e, n);
|
|
4
4
|
}
|
|
@@ -78,13 +78,13 @@ function te(e) {
|
|
|
78
78
|
/*main_elementresize_handler*/
|
|
79
79
|
e[29].bind(m)
|
|
80
80
|
), v(n, w), v(n, s), e[31](n), _ || (b = [
|
|
81
|
-
|
|
81
|
+
H(
|
|
82
82
|
t,
|
|
83
83
|
"click",
|
|
84
84
|
/*click_handler*/
|
|
85
85
|
e[24]
|
|
86
86
|
),
|
|
87
|
-
|
|
87
|
+
H(
|
|
88
88
|
s,
|
|
89
89
|
"click",
|
|
90
90
|
/*click_handler_2*/
|
|
@@ -125,7 +125,7 @@ function te(e) {
|
|
|
125
125
|
);
|
|
126
126
|
},
|
|
127
127
|
d(r) {
|
|
128
|
-
r && W(n),
|
|
128
|
+
r && W(n), Be(i, r), e[28](null), y(), e[31](null), _ = !1, le(b);
|
|
129
129
|
}
|
|
130
130
|
};
|
|
131
131
|
}
|
|
@@ -154,7 +154,7 @@ function ne(e) {
|
|
|
154
154
|
}
|
|
155
155
|
return {
|
|
156
156
|
c() {
|
|
157
|
-
n = N("div"), t = N("span"), m =
|
|
157
|
+
n = N("div"), t = N("span"), m = Ae(a), w = D(), s = N("img"), i = D(), o(t, "class", d = "PlayNowButton " + /*hover*/
|
|
158
158
|
(e[5] && /*hoverIndex*/
|
|
159
159
|
e[6] == /*i*/
|
|
160
160
|
e[51] ? "itemHover" : "")), o(t, "part", y = "PlayNowButton " + /*hover*/
|
|
@@ -167,9 +167,9 @@ function ne(e) {
|
|
|
167
167
|
},
|
|
168
168
|
m(k, g) {
|
|
169
169
|
q(k, n, g), v(n, t), v(t, m), v(n, w), v(n, s), v(n, i), r || (u = [
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
170
|
+
H(n, "click", c),
|
|
171
|
+
H(n, "mouseenter", P),
|
|
172
|
+
H(
|
|
173
173
|
n,
|
|
174
174
|
"mouseleave",
|
|
175
175
|
/*mouseleave_handler*/
|
|
@@ -230,11 +230,11 @@ let Ge = 30;
|
|
|
230
230
|
function We(e, n, t) {
|
|
231
231
|
let a, m, d;
|
|
232
232
|
Te(e, De, (l) => t(10, d = l));
|
|
233
|
-
let { tournamenturl: y = "" } = n, { scrollby: w = "3" } = n, { pagfactor: s = "175" } = n, { lang: _ = "" } = n, { translationurl: b = "" } = n, { clientstyling: h = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, u, c, P = window.navigator.userAgent, k, g = [], f = 0, S,
|
|
233
|
+
let { tournamenturl: y = "" } = n, { scrollby: w = "3" } = n, { pagfactor: s = "175" } = n, { lang: _ = "" } = n, { translationurl: b = "" } = n, { clientstyling: h = "" } = n, { clientstylingurl: i = "" } = n, { mbsource: r } = n, u, c, P = window.navigator.userAgent, k, g = [], f = 0, S, L = null, z = null, I = !1, U, M, E = 0, F;
|
|
234
234
|
const se = () => {
|
|
235
235
|
fetch(b).then((p) => p.json()).then((p) => {
|
|
236
|
-
Object.keys(p).forEach((
|
|
237
|
-
V(
|
|
236
|
+
Object.keys(p).forEach((A) => {
|
|
237
|
+
V(A, p[A]);
|
|
238
238
|
});
|
|
239
239
|
}).catch((p) => {
|
|
240
240
|
console.log(p);
|
|
@@ -249,12 +249,12 @@ function We(e, n, t) {
|
|
|
249
249
|
t(5, I = !1), t(6, U = -1);
|
|
250
250
|
}, re = (l) => l.touches || l.originalEvent.touches, O = (l) => {
|
|
251
251
|
const p = re(l)[0];
|
|
252
|
-
|
|
252
|
+
L = p.clientX, z = p.clientY;
|
|
253
253
|
}, X = (l) => {
|
|
254
|
-
if (!
|
|
254
|
+
if (!L || !z)
|
|
255
255
|
return;
|
|
256
|
-
let p = l.touches[0].clientX,
|
|
257
|
-
Math.abs(
|
|
256
|
+
let p = l.touches[0].clientX, A = l.touches[0].clientY, B = L - p, _e = z - A;
|
|
257
|
+
Math.abs(B) > Math.abs(_e) && (B > 0 ? j(1) : j(-1)), L = null, z = null;
|
|
258
258
|
}, j = (l) => {
|
|
259
259
|
l > 0 && !m ? (t(2, f -= k), t(2, f = f < E ? E : f)) : l < 0 && !a && (t(2, f += k), t(2, f = f > 0 ? 0 : f));
|
|
260
260
|
}, R = (l) => {
|
|
@@ -269,8 +269,8 @@ function We(e, n, t) {
|
|
|
269
269
|
);
|
|
270
270
|
}, ae = () => {
|
|
271
271
|
let l = new URL(y), p = new Headers();
|
|
272
|
-
l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${Ge},offset=${f})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", _), l.searchParams.append("platform", Ee(P)), fetch(l, { method: "GET", headers: p }).then((
|
|
273
|
-
t(1, g =
|
|
272
|
+
l.searchParams.append("expand", "games"), l.searchParams.append("pagination", `games(limit=${Ge},offset=${f})`), l.searchParams.append("fields", "games(id,name,thumbnail,launchUrl)"), l.searchParams.append("language", _), l.searchParams.append("platform", Ee(P)), fetch(l, { method: "GET", headers: p }).then((B) => B.json()).then((B) => {
|
|
273
|
+
t(1, g = B.item.games.items), B.item.games.total;
|
|
274
274
|
});
|
|
275
275
|
}, ie = () => {
|
|
276
276
|
S.addEventListener("touchstart", O, { passive: !0 }), S.addEventListener("touchmove", X, { passive: !0 });
|
|
@@ -282,9 +282,9 @@ function We(e, n, t) {
|
|
|
282
282
|
1e3
|
|
283
283
|
);
|
|
284
284
|
}, ce = () => {
|
|
285
|
-
|
|
285
|
+
F > 0 && F < Math.floor((parseInt(w) + 1) * s) && t(15, w = Math.ceil(F / s).toString());
|
|
286
286
|
};
|
|
287
|
-
|
|
287
|
+
Fe(() => (k = parseInt(w, 10) * parseInt(s, 10), () => {
|
|
288
288
|
S.removeEventListener("touchstart", O), S.removeEventListener("touchmove", X);
|
|
289
289
|
}));
|
|
290
290
|
const ue = () => j(-1), me = (l) => R(l), de = (l) => x(l), he = () => J();
|
|
@@ -294,7 +294,7 @@ function We(e, n, t) {
|
|
|
294
294
|
});
|
|
295
295
|
}
|
|
296
296
|
function fe() {
|
|
297
|
-
|
|
297
|
+
F = this.clientWidth, t(4, F);
|
|
298
298
|
}
|
|
299
299
|
const pe = () => j(1);
|
|
300
300
|
function ye(l) {
|
|
@@ -313,20 +313,20 @@ function We(e, n, t) {
|
|
|
313
313
|
e.$$.dirty[0] & /*offset*/
|
|
314
314
|
4 && t(8, a = f === 0), e.$$.dirty[0] & /*offset, gamesElementWidth*/
|
|
315
315
|
8388612 && t(9, m = f <= E), e.$$.dirty[0] & /*sliderMainWidth*/
|
|
316
|
-
16 &&
|
|
316
|
+
16 && F && ce(), e.$$.dirty[0] & /*tournamenturl*/
|
|
317
317
|
131072 && y && ae(), e.$$.dirty[0] & /*slider*/
|
|
318
318
|
8 && S && ie(), e.$$.dirty[0] & /*translationurl*/
|
|
319
319
|
524288 && b && se(), e.$$.dirty[0] & /*games*/
|
|
320
320
|
2 && g.length && oe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
321
|
-
1048577 && h && u &&
|
|
322
|
-
2097153 && i && u &&
|
|
323
|
-
4194305 && r && u &&
|
|
321
|
+
1048577 && h && u && He(u, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
322
|
+
2097153 && i && u && Le(u, i), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
323
|
+
4194305 && r && u && ze(u, `${r}.Style`, c);
|
|
324
324
|
}, t(2, f = 0), [
|
|
325
325
|
u,
|
|
326
326
|
g,
|
|
327
327
|
f,
|
|
328
328
|
S,
|
|
329
|
-
|
|
329
|
+
F,
|
|
330
330
|
I,
|
|
331
331
|
U,
|
|
332
332
|
M,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { b as L, S as Z, i as j, s as B, f as _, c as I, n as F, d as T, m as b, g as k, h as d, j as g, k as w, t as P, e as u, l as R, o as O, F as N, G as D, u as U, z as V, A as W, B as q, C as G, D as J } from "./CasinoTournamentsThumbnailController-DfF0ST18.js";
|
|
2
2
|
function M(l, e) {
|
|
3
|
-
|
|
3
|
+
L(l, e);
|
|
4
4
|
}
|
|
5
|
-
const
|
|
5
|
+
const H = {
|
|
6
6
|
en: {
|
|
7
7
|
prizes: "Prizes",
|
|
8
8
|
noprizes: "No available prizes",
|
|
@@ -59,33 +59,33 @@ const E = {
|
|
|
59
59
|
place: "place"
|
|
60
60
|
}
|
|
61
61
|
};
|
|
62
|
-
function
|
|
63
|
-
|
|
62
|
+
function K(l) {
|
|
63
|
+
I(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
|
|
65
|
+
function A(l, e, t) {
|
|
66
66
|
const i = l.slice();
|
|
67
67
|
return i[12] = e[t], i[14] = t, i;
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function E(l) {
|
|
70
70
|
let e, t = N(
|
|
71
71
|
/*prizes*/
|
|
72
72
|
l[1]
|
|
73
73
|
), i = [];
|
|
74
74
|
for (let n = 0; n < t.length; n += 1)
|
|
75
|
-
i[n] =
|
|
76
|
-
let
|
|
77
|
-
return t.length || (
|
|
75
|
+
i[n] = C(A(l, t, n));
|
|
76
|
+
let s = null;
|
|
77
|
+
return t.length || (s = x(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
|
+
s && s.c(), u(e, "class", "Prizes"), u(e, "part", "Prizes");
|
|
83
83
|
},
|
|
84
84
|
m(n, c) {
|
|
85
85
|
k(n, e, c);
|
|
86
|
-
for (let
|
|
87
|
-
i[
|
|
88
|
-
|
|
86
|
+
for (let r = 0; r < i.length; r += 1)
|
|
87
|
+
i[r] && i[r].m(e, null);
|
|
88
|
+
s && s.m(e, null);
|
|
89
89
|
},
|
|
90
90
|
p(n, c) {
|
|
91
91
|
if (c & /*prizes, $_*/
|
|
@@ -94,22 +94,22 @@ function x(l) {
|
|
|
94
94
|
/*prizes*/
|
|
95
95
|
n[1]
|
|
96
96
|
);
|
|
97
|
-
let
|
|
98
|
-
for (
|
|
99
|
-
const f =
|
|
100
|
-
i[
|
|
97
|
+
let r;
|
|
98
|
+
for (r = 0; r < t.length; r += 1) {
|
|
99
|
+
const f = A(n, t, r);
|
|
100
|
+
i[r] ? i[r].p(f, c) : (i[r] = C(f), i[r].c(), i[r].m(e, null));
|
|
101
101
|
}
|
|
102
|
-
for (;
|
|
103
|
-
i[
|
|
104
|
-
i.length = t.length, !t.length &&
|
|
102
|
+
for (; r < i.length; r += 1)
|
|
103
|
+
i[r].d(1);
|
|
104
|
+
i.length = t.length, !t.length && s ? s.p(n, c) : t.length ? s && (s.d(1), s = null) : (s = x(n), s.c(), s.m(e, null));
|
|
105
105
|
}
|
|
106
106
|
},
|
|
107
107
|
d(n) {
|
|
108
|
-
n && T(e),
|
|
108
|
+
n && T(e), D(i, n), s && s.d();
|
|
109
109
|
}
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function x(l) {
|
|
113
113
|
let e, t = (
|
|
114
114
|
/*$_*/
|
|
115
115
|
l[2]("noprizes") + ""
|
|
@@ -118,21 +118,21 @@ function A(l) {
|
|
|
118
118
|
c() {
|
|
119
119
|
e = g("p"), i = P(t);
|
|
120
120
|
},
|
|
121
|
-
m(
|
|
122
|
-
k(
|
|
121
|
+
m(s, n) {
|
|
122
|
+
k(s, e, n), d(e, i);
|
|
123
123
|
},
|
|
124
|
-
p(
|
|
124
|
+
p(s, n) {
|
|
125
125
|
n & /*$_*/
|
|
126
126
|
4 && t !== (t = /*$_*/
|
|
127
|
-
|
|
127
|
+
s[2]("noprizes") + "") && b(i, t);
|
|
128
128
|
},
|
|
129
|
-
d(
|
|
130
|
-
|
|
129
|
+
d(s) {
|
|
130
|
+
s && T(e);
|
|
131
131
|
}
|
|
132
132
|
};
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
let e, t, i,
|
|
134
|
+
function C(l) {
|
|
135
|
+
let e, t, i, s = (
|
|
136
136
|
/*prize*/
|
|
137
137
|
(l[12].count > 1 ? `${/*prize*/
|
|
138
138
|
l[12].rank}~${/*prize*/
|
|
@@ -141,62 +141,62 @@ function L(l) {
|
|
|
141
141
|
/*prize*/
|
|
142
142
|
l[12].rank
|
|
143
143
|
)) + ""
|
|
144
|
-
), n, c,
|
|
144
|
+
), n, c, r = (
|
|
145
145
|
/*$_*/
|
|
146
146
|
l[2]("place") + ""
|
|
147
147
|
), f, a, p = (
|
|
148
148
|
/*prize*/
|
|
149
149
|
l[12].name + ""
|
|
150
|
-
),
|
|
150
|
+
), m, v;
|
|
151
151
|
return {
|
|
152
152
|
c() {
|
|
153
|
-
e = g("div"), t = g("p"), i = g("span"), n = P(
|
|
153
|
+
e = g("div"), t = g("p"), i = g("span"), n = P(s), c = w(), f = P(r), a = P(": "), m = P(p), v = w(), u(i, "class", "PrizeRank"), u(i, "part", "PrizeRank"), u(t, "class", "PrizeText"), u(t, "part", "PrizeText"), u(e, "class", "Prize Prize" + /*index*/
|
|
154
154
|
l[14]), u(e, "part", "Prize Prize" + /*index*/
|
|
155
155
|
l[14]);
|
|
156
156
|
},
|
|
157
|
-
m(
|
|
158
|
-
k(
|
|
157
|
+
m(z, h) {
|
|
158
|
+
k(z, e, h), d(e, t), d(t, i), d(i, n), d(t, c), d(t, f), d(t, a), d(t, m), d(e, v);
|
|
159
159
|
},
|
|
160
|
-
p(
|
|
160
|
+
p(z, h) {
|
|
161
161
|
h & /*prizes*/
|
|
162
|
-
2 &&
|
|
163
|
-
(
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
162
|
+
2 && s !== (s = /*prize*/
|
|
163
|
+
(z[12].count > 1 ? `${/*prize*/
|
|
164
|
+
z[12].rank}~${/*prize*/
|
|
165
|
+
z[12].rank + /*prize*/
|
|
166
|
+
z[12].count - 1}` : (
|
|
167
167
|
/*prize*/
|
|
168
|
-
|
|
169
|
-
)) + "") && b(n,
|
|
170
|
-
4 &&
|
|
171
|
-
|
|
168
|
+
z[12].rank
|
|
169
|
+
)) + "") && b(n, s), h & /*$_*/
|
|
170
|
+
4 && r !== (r = /*$_*/
|
|
171
|
+
z[2]("place") + "") && b(f, r), h & /*prizes*/
|
|
172
172
|
2 && p !== (p = /*prize*/
|
|
173
|
-
|
|
173
|
+
z[12].name + "") && b(m, p);
|
|
174
174
|
},
|
|
175
|
-
d(
|
|
176
|
-
|
|
175
|
+
d(z) {
|
|
176
|
+
z && T(e);
|
|
177
177
|
}
|
|
178
178
|
};
|
|
179
179
|
}
|
|
180
180
|
function Q(l) {
|
|
181
|
-
let e, t, i,
|
|
181
|
+
let e, t, i, s, n, c = (
|
|
182
182
|
/*$_*/
|
|
183
183
|
l[2]("prizes") + ""
|
|
184
|
-
),
|
|
184
|
+
), r, f, a = (
|
|
185
185
|
/*prizes*/
|
|
186
|
-
l[1] &&
|
|
186
|
+
l[1] && E(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>', s = w(), n = g("p"), r = P(c), f = w(), a && a.c(), u(i, "class", "TournamentPrizesIconWrapper"), u(i, "part", "TournamentPrizesIconWrapper"), u(n, "class", "PrizesTitle"), u(n, "part", "PrizesTitle"), u(t, "class", "TournamentPrizesIconSection"), u(t, "part", "TournamentPrizesIconSection"), u(e, "class", "TournamentPrizes"), u(e, "part", "TournamentPrizes");
|
|
191
191
|
},
|
|
192
|
-
m(p,
|
|
193
|
-
k(p, e,
|
|
192
|
+
m(p, m) {
|
|
193
|
+
k(p, e, m), d(e, t), d(t, i), d(t, s), d(t, n), d(n, r), d(e, f), a && a.m(e, null), l[8](e);
|
|
194
194
|
},
|
|
195
|
-
p(p, [
|
|
196
|
-
|
|
195
|
+
p(p, [m]) {
|
|
196
|
+
m & /*$_*/
|
|
197
197
|
4 && c !== (c = /*$_*/
|
|
198
|
-
p[2]("prizes") + "") && b(
|
|
199
|
-
p[1] ? a ? a.p(p,
|
|
198
|
+
p[2]("prizes") + "") && b(r, c), /*prizes*/
|
|
199
|
+
p[1] ? a ? a.p(p, m) : (a = E(p), a.c(), a.m(e, null)) : a && (a.d(1), a = null);
|
|
200
200
|
},
|
|
201
201
|
i: F,
|
|
202
202
|
o: F,
|
|
@@ -207,10 +207,10 @@ function Q(l) {
|
|
|
207
207
|
}
|
|
208
208
|
function X(l, e, t) {
|
|
209
209
|
let i;
|
|
210
|
-
R(l,
|
|
211
|
-
let { tourid:
|
|
210
|
+
R(l, J, (o) => t(2, i = o));
|
|
211
|
+
let { tourid: s = "" } = e, { clientstyling: n = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: r = "" } = e, { mbsource: f } = e, a, p, m;
|
|
212
212
|
const v = () => {
|
|
213
|
-
fetch(
|
|
213
|
+
fetch(r).then((y) => y.json()).then((y) => {
|
|
214
214
|
Object.keys(y).forEach((S) => {
|
|
215
215
|
M(S, y[S]);
|
|
216
216
|
});
|
|
@@ -218,48 +218,48 @@ function X(l, e, t) {
|
|
|
218
218
|
console.log(y);
|
|
219
219
|
});
|
|
220
220
|
};
|
|
221
|
-
Object.keys(
|
|
222
|
-
M(o,
|
|
221
|
+
Object.keys(H).forEach((o) => {
|
|
222
|
+
M(o, H[o]);
|
|
223
223
|
});
|
|
224
|
-
const
|
|
225
|
-
o.data && o.data.type == `TournamentPrizes_${
|
|
224
|
+
const z = (o) => {
|
|
225
|
+
o.data && o.data.type == `TournamentPrizes_${s}` && t(1, m = o.data.prizes);
|
|
226
226
|
};
|
|
227
|
-
O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message",
|
|
228
|
-
window.removeEventListener("message",
|
|
227
|
+
O(() => (window.postMessage({ type: "TournamentThumbnailMounted" }, window.location.href), window.addEventListener("message", z, !1), () => {
|
|
228
|
+
window.removeEventListener("message", z);
|
|
229
229
|
}));
|
|
230
230
|
function h(o) {
|
|
231
|
-
|
|
231
|
+
U[o ? "unshift" : "push"](() => {
|
|
232
232
|
a = o, t(0, a);
|
|
233
233
|
});
|
|
234
234
|
}
|
|
235
235
|
return l.$$set = (o) => {
|
|
236
|
-
"tourid" in o && t(3,
|
|
236
|
+
"tourid" in o && t(3, s = o.tourid), "clientstyling" in o && t(4, n = o.clientstyling), "clientstylingurl" in o && t(5, c = o.clientstylingurl), "translationurl" in o && t(6, r = o.translationurl), "mbsource" in o && t(7, f = o.mbsource);
|
|
237
237
|
}, l.$$.update = () => {
|
|
238
238
|
l.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
239
|
-
17 && n && a &&
|
|
240
|
-
33 && c && a &&
|
|
241
|
-
129 && f && a &&
|
|
242
|
-
64 &&
|
|
239
|
+
17 && n && a && V(a, n), l.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
240
|
+
33 && c && a && W(a, c), l.$$.dirty & /*mbsource, customStylingContainer*/
|
|
241
|
+
129 && f && a && q(a, `${f}.Style`, p), l.$$.dirty & /*translationurl*/
|
|
242
|
+
64 && r && v();
|
|
243
243
|
}, [
|
|
244
244
|
a,
|
|
245
|
-
|
|
245
|
+
m,
|
|
246
246
|
i,
|
|
247
|
-
|
|
247
|
+
s,
|
|
248
248
|
n,
|
|
249
249
|
c,
|
|
250
|
-
|
|
250
|
+
r,
|
|
251
251
|
f,
|
|
252
252
|
h
|
|
253
253
|
];
|
|
254
254
|
}
|
|
255
|
-
class Y extends
|
|
255
|
+
class Y extends Z {
|
|
256
256
|
constructor(e) {
|
|
257
|
-
super(),
|
|
257
|
+
super(), j(
|
|
258
258
|
this,
|
|
259
259
|
e,
|
|
260
260
|
X,
|
|
261
261
|
Q,
|
|
262
|
-
|
|
262
|
+
B,
|
|
263
263
|
{
|
|
264
264
|
tourid: 3,
|
|
265
265
|
clientstyling: 4,
|
|
@@ -267,7 +267,7 @@ class Y extends I {
|
|
|
267
267
|
translationurl: 6,
|
|
268
268
|
mbsource: 7
|
|
269
269
|
},
|
|
270
|
-
|
|
270
|
+
K
|
|
271
271
|
);
|
|
272
272
|
}
|
|
273
273
|
get tourid() {
|