@everymatrix/tournament-details-page 0.0.7 → 0.0.8
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/{TournamentDetails-qcyLTtSv.js → TournamentDetails-CKMkVYxd.js} +1976 -1943
- package/components/{TournamentDetails-DoBMS_9T.js → TournamentDetails-H6pHb_yG.js} +1608 -1575
- package/components/TournamentDetails-nG7lN2NT.cjs +7 -0
- package/components/TournamentDetailsPage-B5bbvugX.js +1107 -0
- package/components/TournamentDetailsPage-CjBmguAV.js +1082 -0
- package/components/TournamentDetailsPage-DrDTbkUX.cjs +59 -0
- package/components/TournamentGames-CATtl7ab.js +377 -0
- package/components/TournamentGames-CXKhYSVz.js +405 -0
- package/components/TournamentGames-Dz1Ddedp.cjs +27 -0
- package/components/TournamentLeaderboard-Bdrmjyzv.js +823 -0
- package/components/TournamentLeaderboard-Cvo-K1Xv.js +839 -0
- package/components/TournamentLeaderboard-xrrrpKix.cjs +31 -0
- package/es2015/tournament-details-page.cjs +1 -1
- package/es2015/tournament-details-page.js +1 -1
- package/esnext/tournament-details-page.js +1 -1
- package/package.json +1 -1
- package/components/TournamentDetails-C-zS8XGk.cjs +0 -7
- package/components/TournamentDetailsPage-C2wcS4rg.js +0 -987
- package/components/TournamentDetailsPage-CQFv3xok.js +0 -1010
- package/components/TournamentDetailsPage-CR3ti0az.cjs +0 -66
- package/components/TournamentGames-KOJ004rg.js +0 -387
- package/components/TournamentGames-xrJB7h-M.js +0 -359
- package/components/TournamentGames-zikPbhES.cjs +0 -27
- package/components/TournamentLeaderboard-BjBItfy9.js +0 -788
- package/components/TournamentLeaderboard-D9naoaD9.cjs +0 -30
- package/components/TournamentLeaderboard-Dc8xv6be.js +0 -804
|
@@ -0,0 +1,1082 @@
|
|
|
1
|
+
import { $ as Ie, a as J2, b as K2, d as p2, c as Q2, e as et, f as tt, p as rt, g as nt, h as z, u as it, i as at, s as M, j as Le, o as ot, k as Z, l as R, m as g, n as v, q as T, r as st, t as lt, v as x, w as l, x as D, y as ut, z as ct, A as p, B as G, C as f, D as S, E as de, F as U, G as pe, H as L, I as dt, J as Y, K as pt, L as vt } from "./TournamentDetails-H6pHb_yG.js";
|
|
2
|
+
function mt({ withLocale: r, translations: t }) {
|
|
3
|
+
Ie.subscribe((e) => {
|
|
4
|
+
e == null && (J2.set(t), Ie.set(r));
|
|
5
|
+
});
|
|
6
|
+
}
|
|
7
|
+
function e2(r, t) {
|
|
8
|
+
K2(r, t);
|
|
9
|
+
}
|
|
10
|
+
function t2(r) {
|
|
11
|
+
Ie.set(r);
|
|
12
|
+
}
|
|
13
|
+
const r2 = {
|
|
14
|
+
en: {
|
|
15
|
+
totalPrizes: "Total prizes",
|
|
16
|
+
viewPrizes: "View Prizes",
|
|
17
|
+
moreGames: "More Games",
|
|
18
|
+
play: "Play",
|
|
19
|
+
joinButton: "Join",
|
|
20
|
+
rules: "Rules",
|
|
21
|
+
scoreCriteriaType: {
|
|
22
|
+
stake: "The score criteria for this tournament is <b>Turnover</b>. For each X generated (X= amount wagered in player currency or equivalent in base currency) player will get 1 point. The player who will have the largest turnover will have the highest score and rank.",
|
|
23
|
+
mostRounds: "The score criteria for this tournament is <b>Most Rounds</b>. For every played round player will get 1 point. The player who will have the biggest number of played rounds / placed bets will have the highest score and rank.",
|
|
24
|
+
winStakeRatio: `The score criteria for this tournament is <b>Win/Stake Ratio</b>. The score will be calculated
|
|
25
|
+
as a sum of win/stake ratios for qualified rounds and bets.
|
|
26
|
+
The player who got the highest score will win the tournament.`,
|
|
27
|
+
winStakeRatioWinMinScore: `<ul class="ScoreTypeUL"><li class="ScoreTypeLI">Minimum Score: {minScore} <br/>
|
|
28
|
+
<span class="Desc">Player will not get score if Win/Stake Ratio in each rounds are lower than defined
|
|
29
|
+
minimum score value.</span>
|
|
30
|
+
</li></ul>`,
|
|
31
|
+
maxWinStakeRatio: "The score criteria for this tournament is <b>Max Win/Stake Ratio</b>. The player who got the biggest win by placing the smallest bet will win the tournament (bet = 10 EUR, win = 5000 EUR, the score will be 500). Only higher ratio will update the player's score.",
|
|
32
|
+
win: `The score criteria for this tournament is <b>Winnings</b>. The score will be calculated based on the sum of all bet winnings with the qualifying rounds/bets.
|
|
33
|
+
For example, a player has two qualifying rounds. he won €1 in one round and €3 in another. In this case.
|
|
34
|
+
the score will be calculated as 1+3=4.`,
|
|
35
|
+
winBetCount: `The score criteria for this tournament is <b>Winnings and Number of Rounds</b>. The score will be calculated based on the sum of all bet winnings and rounds number with the qualifying
|
|
36
|
+
rounds/bets. For example, a player has two qualifying rounds. he won €1 in one round and €3 in another.
|
|
37
|
+
In this case. the score will be calculated as 1+3+2=6.`
|
|
38
|
+
},
|
|
39
|
+
miniBetCount: "Minimum bet count: <b>{betCount}</b>. To be qualified for prizes, the player has to play at least <b>{betCount} rounds</b>, otherwise the prize won’t be granted.",
|
|
40
|
+
timePeriod: "The tournament starts at <b>{startTime}</b> and ends at <b>{endTime}</b>",
|
|
41
|
+
terms: 'See <a href="{tcUrl}" target="_blank" style="color: var(--emw-color-primary, #FF1D4E); font-weight: 500;">Terms & Conditions.</a>',
|
|
42
|
+
productNoLimitsBet: "For {productName}, there are no minimum and maximum bet limits set.",
|
|
43
|
+
casinoRuleMinMaxBet: "Min bet{minBet}, Max bet{maxBet}",
|
|
44
|
+
unlimited: "Unlimited",
|
|
45
|
+
forCasino: "For Casino Games",
|
|
46
|
+
forSportsbook: "For Sportsbook",
|
|
47
|
+
sportsRuleMinMaxBet: "Min bet{sportMinBet}, Max bet{sportMaxBet}",
|
|
48
|
+
sportsRuleMinMaxOdds: "Min Odds{sportMinOdds}, Max Odds{sportMaxOdds}",
|
|
49
|
+
matchTyppePre: "Prelive Sports bets",
|
|
50
|
+
matchTypeLive: "Live Sports bets",
|
|
51
|
+
matchTypePreAndLive: "Prelive and Live Sport bets",
|
|
52
|
+
betTypeSingle: "Single bet",
|
|
53
|
+
betTypeMultiple: "Multiple bet",
|
|
54
|
+
betTypeSystem: "System bet",
|
|
55
|
+
typeOfSelection: "Type of selection",
|
|
56
|
+
numberOfSelection: "Number of selections",
|
|
57
|
+
oddsPerSelection: "Odds per selections",
|
|
58
|
+
betBuilderOnly: "Bet Builder Only",
|
|
59
|
+
bankerOnly: "Banker Only",
|
|
60
|
+
typeOfSelectionAny: "Any",
|
|
61
|
+
notBuilderOnly: "Not Bet Builder Only",
|
|
62
|
+
nonBankerOnly: "Non Banker Only"
|
|
63
|
+
},
|
|
64
|
+
tr: {
|
|
65
|
+
totalPrizes: "Toplam Ödüller",
|
|
66
|
+
viewPrizes: "Ödülleri Görüntüle",
|
|
67
|
+
moreGames: "Daha Fazla Oyun",
|
|
68
|
+
play: "Oyna",
|
|
69
|
+
joinButton: "Katıl",
|
|
70
|
+
scoreCriteriaType: {
|
|
71
|
+
stake: "Bu turnuvanın puan kriteri <b>Ciro</b>'dur. Oluşturulan her X için (X= oyuncunun para biriminde veya temel para birimindeki eşdeğerinde oynanan bahis miktarı) oyuncu 1 puan alacaktır. En fazla ciroya sahip olan oyuncu en yüksek puana ve sıralamaya sahip olacaktır.",
|
|
72
|
+
mostRounds: "Bu turnuvanın puan kriteri <b>En Çok Tur</b>'dur. Oynanan her tur için oyuncu 1 puan alacaktır. En fazla oynanan tur/bahis sayısına sahip olan oyuncu, en yüksek puana ve sıralamaya sahip olacaktır.",
|
|
73
|
+
winStakeRatio: "Bu turnuvanın puan kriteri <b>Galibiyet/Durum Oranı</b>'dır. Puan, nitelikli turlar ve bahisler için kazanma/bahis oranlarının toplamı olarak hesaplanacaktır. En yüksek puanı alan oyuncu turnuvayı kazanacak.",
|
|
74
|
+
winStakeRatioWinMinScore: `<ul class="ScoreTypeUL"><li class="ScoreTypeLI">Minimum Score: {minScore} <br/>
|
|
75
|
+
<span class="Desc">Player will not get score if Win/Stake Ratio in each rounds are lower than defined
|
|
76
|
+
minimum score value.</span>
|
|
77
|
+
</li></ul>`,
|
|
78
|
+
maxWinStakeRatio: "Bu turnuvanın puan kriteri <b>Maksimum Galibiyet/Durum Oranı</b>'dır. En küçük bahsi koyarak en büyük kazancı elde eden oyuncu turnuvayı kazanacaktır (bahis = 10 EUR, galibiyet = 5000 EUR, skor 500 olacaktır). Yalnızca daha yüksek oran oyuncunun puanını güncelleyecektir."
|
|
79
|
+
},
|
|
80
|
+
miniBetCount: "Minimum bahis sayısı: <b>{betCount}</b>. Ödüllere hak kazanmak için oyuncunun en az <b>{betCount} tur</b> oynaması gerekir, aksi takdirde ödül verilmeyecektir.",
|
|
81
|
+
timePeriod: "Turnuva <b>{startTime}</b> tarihinde başlar ve <b>{endTime}</b> tarihinde sona erer",
|
|
82
|
+
terms: 'Bkz. <a href="{tcUrl}" target="_blank" style="color: var(--emw-color-primary, #FF1D4E); font-weight: 500;">Şartlar ve Koşullar.</a>',
|
|
83
|
+
productNoLimitsBet: "{productName} için minimum ve maksimum bahis limiti belirlenmemiştir.",
|
|
84
|
+
casinoRuleMinMaxBet: "Min bahis{minBet}, Maks bahis{maxBet}",
|
|
85
|
+
unlimited: "Sınırsız",
|
|
86
|
+
forCasino: "Casino Oyunları İçin",
|
|
87
|
+
forSportsbook: "Spor Bahisleri İçin",
|
|
88
|
+
sportsRuleMinMaxBet: "Min bahis{sportMinBet}, Maks bahis{sportMaxBet}",
|
|
89
|
+
sportsRuleMinMaxOdds: "Min Oran{sportMinOdds}, Maks Oran{sportMaxOdds}",
|
|
90
|
+
matchTyppePre: "Maç Öncesi Spor bahisleri",
|
|
91
|
+
matchTypeLive: "Canlı Spor bahisleri",
|
|
92
|
+
matchTypePreAndLive: "Maç Öncesi ve Canlı Spor bahisleri",
|
|
93
|
+
betTypeSingle: "Tekli bahis",
|
|
94
|
+
betTypeMultiple: "Kombine bahis",
|
|
95
|
+
betTypeSystem: "Sistem bahis",
|
|
96
|
+
typeOfSelection: "Seçim türü",
|
|
97
|
+
numberOfSelection: "Seçim sayısı",
|
|
98
|
+
oddsPerSelection: "Seçim başına oranlar",
|
|
99
|
+
betBuilderOnly: "Yalnızca Bahis Oluşturucu",
|
|
100
|
+
bankerOnly: "Yalnızca Banker",
|
|
101
|
+
typeOfSelectionAny: "Herhangi",
|
|
102
|
+
notBuilderOnly: "Bahis Oluşturucu Hariç",
|
|
103
|
+
nonBankerOnly: "Banker Hariç"
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
/*! *****************************************************************************
|
|
107
|
+
Copyright (c) Microsoft Corporation.
|
|
108
|
+
|
|
109
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
110
|
+
purpose with or without fee is hereby granted.
|
|
111
|
+
|
|
112
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
113
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
114
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
115
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
116
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
117
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
118
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
119
|
+
***************************************************************************** */
|
|
120
|
+
var He = function(r, t) {
|
|
121
|
+
return He = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, n) {
|
|
122
|
+
e.__proto__ = n;
|
|
123
|
+
} || function(e, n) {
|
|
124
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (e[i] = n[i]);
|
|
125
|
+
}, He(r, t);
|
|
126
|
+
};
|
|
127
|
+
function le(r, t) {
|
|
128
|
+
if (typeof t != "function" && t !== null)
|
|
129
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
130
|
+
He(r, t);
|
|
131
|
+
function e() {
|
|
132
|
+
this.constructor = r;
|
|
133
|
+
}
|
|
134
|
+
r.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
|
|
135
|
+
}
|
|
136
|
+
function Ae(r) {
|
|
137
|
+
var t = typeof Symbol == "function" && Symbol.iterator, e = t && r[t], n = 0;
|
|
138
|
+
if (e) return e.call(r);
|
|
139
|
+
if (r && typeof r.length == "number") return {
|
|
140
|
+
next: function() {
|
|
141
|
+
return r && n >= r.length && (r = void 0), { value: r && r[n++], done: !r };
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
145
|
+
}
|
|
146
|
+
function $e(r, t) {
|
|
147
|
+
var e = typeof Symbol == "function" && r[Symbol.iterator];
|
|
148
|
+
if (!e) return r;
|
|
149
|
+
var n = e.call(r), i, a = [], o;
|
|
150
|
+
try {
|
|
151
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) a.push(i.value);
|
|
152
|
+
} catch (u) {
|
|
153
|
+
o = { error: u };
|
|
154
|
+
} finally {
|
|
155
|
+
try {
|
|
156
|
+
i && !i.done && (e = n.return) && e.call(n);
|
|
157
|
+
} finally {
|
|
158
|
+
if (o) throw o.error;
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
return a;
|
|
162
|
+
}
|
|
163
|
+
function je(r, t, e) {
|
|
164
|
+
if (arguments.length === 2) for (var n = 0, i = t.length, a; n < i; n++)
|
|
165
|
+
(a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
|
|
166
|
+
return r.concat(a || t);
|
|
167
|
+
}
|
|
168
|
+
function V(r) {
|
|
169
|
+
return typeof r == "function";
|
|
170
|
+
}
|
|
171
|
+
function v2(r) {
|
|
172
|
+
var t = function(n) {
|
|
173
|
+
Error.call(n), n.stack = new Error().stack;
|
|
174
|
+
}, e = r(t);
|
|
175
|
+
return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
|
|
176
|
+
}
|
|
177
|
+
var Pe = v2(function(r) {
|
|
178
|
+
return function(e) {
|
|
179
|
+
r(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
|
180
|
+
` + e.map(function(n, i) {
|
|
181
|
+
return i + 1 + ") " + n.toString();
|
|
182
|
+
}).join(`
|
|
183
|
+
`) : "", this.name = "UnsubscriptionError", this.errors = e;
|
|
184
|
+
};
|
|
185
|
+
});
|
|
186
|
+
function Ve(r, t) {
|
|
187
|
+
if (r) {
|
|
188
|
+
var e = r.indexOf(t);
|
|
189
|
+
0 <= e && r.splice(e, 1);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
var fe = function() {
|
|
193
|
+
function r(t) {
|
|
194
|
+
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
195
|
+
}
|
|
196
|
+
return r.prototype.unsubscribe = function() {
|
|
197
|
+
var t, e, n, i, a;
|
|
198
|
+
if (!this.closed) {
|
|
199
|
+
this.closed = !0;
|
|
200
|
+
var o = this._parentage;
|
|
201
|
+
if (o)
|
|
202
|
+
if (this._parentage = null, Array.isArray(o))
|
|
203
|
+
try {
|
|
204
|
+
for (var u = Ae(o), c = u.next(); !c.done; c = u.next()) {
|
|
205
|
+
var k = c.value;
|
|
206
|
+
k.remove(this);
|
|
207
|
+
}
|
|
208
|
+
} catch (y) {
|
|
209
|
+
t = { error: y };
|
|
210
|
+
} finally {
|
|
211
|
+
try {
|
|
212
|
+
c && !c.done && (e = u.return) && e.call(u);
|
|
213
|
+
} finally {
|
|
214
|
+
if (t) throw t.error;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
else
|
|
218
|
+
o.remove(this);
|
|
219
|
+
var b = this.initialTeardown;
|
|
220
|
+
if (V(b))
|
|
221
|
+
try {
|
|
222
|
+
b();
|
|
223
|
+
} catch (y) {
|
|
224
|
+
a = y instanceof Pe ? y.errors : [y];
|
|
225
|
+
}
|
|
226
|
+
var E = this._finalizers;
|
|
227
|
+
if (E) {
|
|
228
|
+
this._finalizers = null;
|
|
229
|
+
try {
|
|
230
|
+
for (var O = Ae(E), A = O.next(); !A.done; A = O.next()) {
|
|
231
|
+
var J = A.value;
|
|
232
|
+
try {
|
|
233
|
+
n2(J);
|
|
234
|
+
} catch (y) {
|
|
235
|
+
a = a ?? [], y instanceof Pe ? a = je(je([], $e(a)), $e(y.errors)) : a.push(y);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
} catch (y) {
|
|
239
|
+
n = { error: y };
|
|
240
|
+
} finally {
|
|
241
|
+
try {
|
|
242
|
+
A && !A.done && (i = O.return) && i.call(O);
|
|
243
|
+
} finally {
|
|
244
|
+
if (n) throw n.error;
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
if (a)
|
|
249
|
+
throw new Pe(a);
|
|
250
|
+
}
|
|
251
|
+
}, r.prototype.add = function(t) {
|
|
252
|
+
var e;
|
|
253
|
+
if (t && t !== this)
|
|
254
|
+
if (this.closed)
|
|
255
|
+
n2(t);
|
|
256
|
+
else {
|
|
257
|
+
if (t instanceof r) {
|
|
258
|
+
if (t.closed || t._hasParent(this))
|
|
259
|
+
return;
|
|
260
|
+
t._addParent(this);
|
|
261
|
+
}
|
|
262
|
+
(this._finalizers = (e = this._finalizers) !== null && e !== void 0 ? e : []).push(t);
|
|
263
|
+
}
|
|
264
|
+
}, r.prototype._hasParent = function(t) {
|
|
265
|
+
var e = this._parentage;
|
|
266
|
+
return e === t || Array.isArray(e) && e.includes(t);
|
|
267
|
+
}, r.prototype._addParent = function(t) {
|
|
268
|
+
var e = this._parentage;
|
|
269
|
+
this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
|
|
270
|
+
}, r.prototype._removeParent = function(t) {
|
|
271
|
+
var e = this._parentage;
|
|
272
|
+
e === t ? this._parentage = null : Array.isArray(e) && Ve(e, t);
|
|
273
|
+
}, r.prototype.remove = function(t) {
|
|
274
|
+
var e = this._finalizers;
|
|
275
|
+
e && Ve(e, t), t instanceof r && t._removeParent(this);
|
|
276
|
+
}, r.EMPTY = function() {
|
|
277
|
+
var t = new r();
|
|
278
|
+
return t.closed = !0, t;
|
|
279
|
+
}(), r;
|
|
280
|
+
}(), m2 = fe.EMPTY;
|
|
281
|
+
function f2(r) {
|
|
282
|
+
return r instanceof fe || r && "closed" in r && V(r.remove) && V(r.add) && V(r.unsubscribe);
|
|
283
|
+
}
|
|
284
|
+
function n2(r) {
|
|
285
|
+
V(r) ? r() : r.unsubscribe();
|
|
286
|
+
}
|
|
287
|
+
var ft = {
|
|
288
|
+
Promise: void 0
|
|
289
|
+
}, ht = {
|
|
290
|
+
setTimeout: function(r, t) {
|
|
291
|
+
for (var e = [], n = 2; n < arguments.length; n++)
|
|
292
|
+
e[n - 2] = arguments[n];
|
|
293
|
+
return setTimeout.apply(void 0, je([r, t], $e(e)));
|
|
294
|
+
},
|
|
295
|
+
clearTimeout: function(r) {
|
|
296
|
+
return clearTimeout(r);
|
|
297
|
+
},
|
|
298
|
+
delegate: void 0
|
|
299
|
+
};
|
|
300
|
+
function gt(r) {
|
|
301
|
+
ht.setTimeout(function() {
|
|
302
|
+
throw r;
|
|
303
|
+
});
|
|
304
|
+
}
|
|
305
|
+
function i2() {
|
|
306
|
+
}
|
|
307
|
+
function me(r) {
|
|
308
|
+
r();
|
|
309
|
+
}
|
|
310
|
+
var h2 = function(r) {
|
|
311
|
+
le(t, r);
|
|
312
|
+
function t(e) {
|
|
313
|
+
var n = r.call(this) || this;
|
|
314
|
+
return n.isStopped = !1, e ? (n.destination = e, f2(e) && e.add(n)) : n.destination = Ct, n;
|
|
315
|
+
}
|
|
316
|
+
return t.create = function(e, n, i) {
|
|
317
|
+
return new Ze(e, n, i);
|
|
318
|
+
}, t.prototype.next = function(e) {
|
|
319
|
+
this.isStopped || this._next(e);
|
|
320
|
+
}, t.prototype.error = function(e) {
|
|
321
|
+
this.isStopped || (this.isStopped = !0, this._error(e));
|
|
322
|
+
}, t.prototype.complete = function() {
|
|
323
|
+
this.isStopped || (this.isStopped = !0, this._complete());
|
|
324
|
+
}, t.prototype.unsubscribe = function() {
|
|
325
|
+
this.closed || (this.isStopped = !0, r.prototype.unsubscribe.call(this), this.destination = null);
|
|
326
|
+
}, t.prototype._next = function(e) {
|
|
327
|
+
this.destination.next(e);
|
|
328
|
+
}, t.prototype._error = function(e) {
|
|
329
|
+
try {
|
|
330
|
+
this.destination.error(e);
|
|
331
|
+
} finally {
|
|
332
|
+
this.unsubscribe();
|
|
333
|
+
}
|
|
334
|
+
}, t.prototype._complete = function() {
|
|
335
|
+
try {
|
|
336
|
+
this.destination.complete();
|
|
337
|
+
} finally {
|
|
338
|
+
this.unsubscribe();
|
|
339
|
+
}
|
|
340
|
+
}, t;
|
|
341
|
+
}(fe), yt = function() {
|
|
342
|
+
function r(t) {
|
|
343
|
+
this.partialObserver = t;
|
|
344
|
+
}
|
|
345
|
+
return r.prototype.next = function(t) {
|
|
346
|
+
var e = this.partialObserver;
|
|
347
|
+
if (e.next)
|
|
348
|
+
try {
|
|
349
|
+
e.next(t);
|
|
350
|
+
} catch (n) {
|
|
351
|
+
ve(n);
|
|
352
|
+
}
|
|
353
|
+
}, r.prototype.error = function(t) {
|
|
354
|
+
var e = this.partialObserver;
|
|
355
|
+
if (e.error)
|
|
356
|
+
try {
|
|
357
|
+
e.error(t);
|
|
358
|
+
} catch (n) {
|
|
359
|
+
ve(n);
|
|
360
|
+
}
|
|
361
|
+
else
|
|
362
|
+
ve(t);
|
|
363
|
+
}, r.prototype.complete = function() {
|
|
364
|
+
var t = this.partialObserver;
|
|
365
|
+
if (t.complete)
|
|
366
|
+
try {
|
|
367
|
+
t.complete();
|
|
368
|
+
} catch (e) {
|
|
369
|
+
ve(e);
|
|
370
|
+
}
|
|
371
|
+
}, r;
|
|
372
|
+
}(), Ze = function(r) {
|
|
373
|
+
le(t, r);
|
|
374
|
+
function t(e, n, i) {
|
|
375
|
+
var a = r.call(this) || this, o;
|
|
376
|
+
return V(e) || !e ? o = {
|
|
377
|
+
next: e ?? void 0,
|
|
378
|
+
error: n ?? void 0,
|
|
379
|
+
complete: i ?? void 0
|
|
380
|
+
} : o = e, a.destination = new yt(o), a;
|
|
381
|
+
}
|
|
382
|
+
return t;
|
|
383
|
+
}(h2);
|
|
384
|
+
function ve(r) {
|
|
385
|
+
gt(r);
|
|
386
|
+
}
|
|
387
|
+
function bt(r) {
|
|
388
|
+
throw r;
|
|
389
|
+
}
|
|
390
|
+
var Ct = {
|
|
391
|
+
closed: !0,
|
|
392
|
+
next: i2,
|
|
393
|
+
error: bt,
|
|
394
|
+
complete: i2
|
|
395
|
+
}, wt = function() {
|
|
396
|
+
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
397
|
+
}();
|
|
398
|
+
function xt(r) {
|
|
399
|
+
return r;
|
|
400
|
+
}
|
|
401
|
+
function St(r) {
|
|
402
|
+
return r.length === 0 ? xt : r.length === 1 ? r[0] : function(e) {
|
|
403
|
+
return r.reduce(function(n, i) {
|
|
404
|
+
return i(n);
|
|
405
|
+
}, e);
|
|
406
|
+
};
|
|
407
|
+
}
|
|
408
|
+
var a2 = function() {
|
|
409
|
+
function r(t) {
|
|
410
|
+
t && (this._subscribe = t);
|
|
411
|
+
}
|
|
412
|
+
return r.prototype.lift = function(t) {
|
|
413
|
+
var e = new r();
|
|
414
|
+
return e.source = this, e.operator = t, e;
|
|
415
|
+
}, r.prototype.subscribe = function(t, e, n) {
|
|
416
|
+
var i = this, a = kt(t) ? t : new Ze(t, e, n);
|
|
417
|
+
return me(function() {
|
|
418
|
+
var o = i, u = o.operator, c = o.source;
|
|
419
|
+
a.add(u ? u.call(a, c) : c ? i._subscribe(a) : i._trySubscribe(a));
|
|
420
|
+
}), a;
|
|
421
|
+
}, r.prototype._trySubscribe = function(t) {
|
|
422
|
+
try {
|
|
423
|
+
return this._subscribe(t);
|
|
424
|
+
} catch (e) {
|
|
425
|
+
t.error(e);
|
|
426
|
+
}
|
|
427
|
+
}, r.prototype.forEach = function(t, e) {
|
|
428
|
+
var n = this;
|
|
429
|
+
return e = o2(e), new e(function(i, a) {
|
|
430
|
+
var o = new Ze({
|
|
431
|
+
next: function(u) {
|
|
432
|
+
try {
|
|
433
|
+
t(u);
|
|
434
|
+
} catch (c) {
|
|
435
|
+
a(c), o.unsubscribe();
|
|
436
|
+
}
|
|
437
|
+
},
|
|
438
|
+
error: a,
|
|
439
|
+
complete: i
|
|
440
|
+
});
|
|
441
|
+
n.subscribe(o);
|
|
442
|
+
});
|
|
443
|
+
}, r.prototype._subscribe = function(t) {
|
|
444
|
+
var e;
|
|
445
|
+
return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
|
|
446
|
+
}, r.prototype[wt] = function() {
|
|
447
|
+
return this;
|
|
448
|
+
}, r.prototype.pipe = function() {
|
|
449
|
+
for (var t = [], e = 0; e < arguments.length; e++)
|
|
450
|
+
t[e] = arguments[e];
|
|
451
|
+
return St(t)(this);
|
|
452
|
+
}, r.prototype.toPromise = function(t) {
|
|
453
|
+
var e = this;
|
|
454
|
+
return t = o2(t), new t(function(n, i) {
|
|
455
|
+
var a;
|
|
456
|
+
e.subscribe(function(o) {
|
|
457
|
+
return a = o;
|
|
458
|
+
}, function(o) {
|
|
459
|
+
return i(o);
|
|
460
|
+
}, function() {
|
|
461
|
+
return n(a);
|
|
462
|
+
});
|
|
463
|
+
});
|
|
464
|
+
}, r.create = function(t) {
|
|
465
|
+
return new r(t);
|
|
466
|
+
}, r;
|
|
467
|
+
}();
|
|
468
|
+
function o2(r) {
|
|
469
|
+
var t;
|
|
470
|
+
return (t = r ?? ft.Promise) !== null && t !== void 0 ? t : Promise;
|
|
471
|
+
}
|
|
472
|
+
function _t(r) {
|
|
473
|
+
return r && V(r.next) && V(r.error) && V(r.complete);
|
|
474
|
+
}
|
|
475
|
+
function kt(r) {
|
|
476
|
+
return r && r instanceof h2 || _t(r) && f2(r);
|
|
477
|
+
}
|
|
478
|
+
var Tt = v2(function(r) {
|
|
479
|
+
return function() {
|
|
480
|
+
r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
481
|
+
};
|
|
482
|
+
}), g2 = function(r) {
|
|
483
|
+
le(t, r);
|
|
484
|
+
function t() {
|
|
485
|
+
var e = r.call(this) || this;
|
|
486
|
+
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
487
|
+
}
|
|
488
|
+
return t.prototype.lift = function(e) {
|
|
489
|
+
var n = new s2(this, this);
|
|
490
|
+
return n.operator = e, n;
|
|
491
|
+
}, t.prototype._throwIfClosed = function() {
|
|
492
|
+
if (this.closed)
|
|
493
|
+
throw new Tt();
|
|
494
|
+
}, t.prototype.next = function(e) {
|
|
495
|
+
var n = this;
|
|
496
|
+
me(function() {
|
|
497
|
+
var i, a;
|
|
498
|
+
if (n._throwIfClosed(), !n.isStopped) {
|
|
499
|
+
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
500
|
+
try {
|
|
501
|
+
for (var o = Ae(n.currentObservers), u = o.next(); !u.done; u = o.next()) {
|
|
502
|
+
var c = u.value;
|
|
503
|
+
c.next(e);
|
|
504
|
+
}
|
|
505
|
+
} catch (k) {
|
|
506
|
+
i = { error: k };
|
|
507
|
+
} finally {
|
|
508
|
+
try {
|
|
509
|
+
u && !u.done && (a = o.return) && a.call(o);
|
|
510
|
+
} finally {
|
|
511
|
+
if (i) throw i.error;
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
}
|
|
515
|
+
});
|
|
516
|
+
}, t.prototype.error = function(e) {
|
|
517
|
+
var n = this;
|
|
518
|
+
me(function() {
|
|
519
|
+
if (n._throwIfClosed(), !n.isStopped) {
|
|
520
|
+
n.hasError = n.isStopped = !0, n.thrownError = e;
|
|
521
|
+
for (var i = n.observers; i.length; )
|
|
522
|
+
i.shift().error(e);
|
|
523
|
+
}
|
|
524
|
+
});
|
|
525
|
+
}, t.prototype.complete = function() {
|
|
526
|
+
var e = this;
|
|
527
|
+
me(function() {
|
|
528
|
+
if (e._throwIfClosed(), !e.isStopped) {
|
|
529
|
+
e.isStopped = !0;
|
|
530
|
+
for (var n = e.observers; n.length; )
|
|
531
|
+
n.shift().complete();
|
|
532
|
+
}
|
|
533
|
+
});
|
|
534
|
+
}, t.prototype.unsubscribe = function() {
|
|
535
|
+
this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
|
|
536
|
+
}, Object.defineProperty(t.prototype, "observed", {
|
|
537
|
+
get: function() {
|
|
538
|
+
var e;
|
|
539
|
+
return ((e = this.observers) === null || e === void 0 ? void 0 : e.length) > 0;
|
|
540
|
+
},
|
|
541
|
+
enumerable: !1,
|
|
542
|
+
configurable: !0
|
|
543
|
+
}), t.prototype._trySubscribe = function(e) {
|
|
544
|
+
return this._throwIfClosed(), r.prototype._trySubscribe.call(this, e);
|
|
545
|
+
}, t.prototype._subscribe = function(e) {
|
|
546
|
+
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
547
|
+
}, t.prototype._innerSubscribe = function(e) {
|
|
548
|
+
var n = this, i = this, a = i.hasError, o = i.isStopped, u = i.observers;
|
|
549
|
+
return a || o ? m2 : (this.currentObservers = null, u.push(e), new fe(function() {
|
|
550
|
+
n.currentObservers = null, Ve(u, e);
|
|
551
|
+
}));
|
|
552
|
+
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
553
|
+
var n = this, i = n.hasError, a = n.thrownError, o = n.isStopped;
|
|
554
|
+
i ? e.error(a) : o && e.complete();
|
|
555
|
+
}, t.prototype.asObservable = function() {
|
|
556
|
+
var e = new a2();
|
|
557
|
+
return e.source = this, e;
|
|
558
|
+
}, t.create = function(e, n) {
|
|
559
|
+
return new s2(e, n);
|
|
560
|
+
}, t;
|
|
561
|
+
}(a2), s2 = function(r) {
|
|
562
|
+
le(t, r);
|
|
563
|
+
function t(e, n) {
|
|
564
|
+
var i = r.call(this) || this;
|
|
565
|
+
return i.destination = e, i.source = n, i;
|
|
566
|
+
}
|
|
567
|
+
return t.prototype.next = function(e) {
|
|
568
|
+
var n, i;
|
|
569
|
+
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, e);
|
|
570
|
+
}, t.prototype.error = function(e) {
|
|
571
|
+
var n, i;
|
|
572
|
+
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, e);
|
|
573
|
+
}, t.prototype.complete = function() {
|
|
574
|
+
var e, n;
|
|
575
|
+
(n = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || n === void 0 || n.call(e);
|
|
576
|
+
}, t.prototype._subscribe = function(e) {
|
|
577
|
+
var n, i;
|
|
578
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(e)) !== null && i !== void 0 ? i : m2;
|
|
579
|
+
}, t;
|
|
580
|
+
}(g2), y2 = {
|
|
581
|
+
now: function() {
|
|
582
|
+
return (y2.delegate || Date).now();
|
|
583
|
+
},
|
|
584
|
+
delegate: void 0
|
|
585
|
+
}, Mt = function(r) {
|
|
586
|
+
le(t, r);
|
|
587
|
+
function t(e, n, i) {
|
|
588
|
+
e === void 0 && (e = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = y2);
|
|
589
|
+
var a = r.call(this) || this;
|
|
590
|
+
return a._bufferSize = e, a._windowTime = n, a._timestampProvider = i, a._buffer = [], a._infiniteTimeWindow = !0, a._infiniteTimeWindow = n === 1 / 0, a._bufferSize = Math.max(1, e), a._windowTime = Math.max(1, n), a;
|
|
591
|
+
}
|
|
592
|
+
return t.prototype.next = function(e) {
|
|
593
|
+
var n = this, i = n.isStopped, a = n._buffer, o = n._infiniteTimeWindow, u = n._timestampProvider, c = n._windowTime;
|
|
594
|
+
i || (a.push(e), !o && a.push(u.now() + c)), this._trimBuffer(), r.prototype.next.call(this, e);
|
|
595
|
+
}, t.prototype._subscribe = function(e) {
|
|
596
|
+
this._throwIfClosed(), this._trimBuffer();
|
|
597
|
+
for (var n = this._innerSubscribe(e), i = this, a = i._infiniteTimeWindow, o = i._buffer, u = o.slice(), c = 0; c < u.length && !e.closed; c += a ? 1 : 2)
|
|
598
|
+
e.next(u[c]);
|
|
599
|
+
return this._checkFinalizedStatuses(e), n;
|
|
600
|
+
}, t.prototype._trimBuffer = function() {
|
|
601
|
+
var e = this, n = e._bufferSize, i = e._timestampProvider, a = e._buffer, o = e._infiniteTimeWindow, u = (o ? 1 : 2) * n;
|
|
602
|
+
if (n < 1 / 0 && u < a.length && a.splice(0, a.length - u), !o) {
|
|
603
|
+
for (var c = i.now(), k = 0, b = 1; b < a.length && a[b] <= c; b += 2)
|
|
604
|
+
k = b;
|
|
605
|
+
k && a.splice(0, k + 1);
|
|
606
|
+
}
|
|
607
|
+
}, t;
|
|
608
|
+
}(g2);
|
|
609
|
+
const l2 = [], u2 = {}, Ot = (r, t = 0) => {
|
|
610
|
+
if (l2.indexOf(r) == -1) {
|
|
611
|
+
const e = new Mt(t);
|
|
612
|
+
u2[r] = e, l2.push(r);
|
|
613
|
+
}
|
|
614
|
+
return u2[r];
|
|
615
|
+
};
|
|
616
|
+
window.emWidgets = { topic: Ot };
|
|
617
|
+
const Rt = (r) => r.toLowerCase().match(/android/i) ? "Android" : r.toLowerCase().match(/iphone/i) ? "iPhone" : r.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
618
|
+
String(Number.MAX_SAFE_INTEGER).length;
|
|
619
|
+
p2.extend(Q2);
|
|
620
|
+
const c2 = (r) => p2(r).format("MMMM D, HH:mm"), Et = () => typeof window > "u";
|
|
621
|
+
class d2 {
|
|
622
|
+
constructor() {
|
|
623
|
+
}
|
|
624
|
+
static processMinMax(t, e) {
|
|
625
|
+
return {
|
|
626
|
+
minValue: t ? `: ${t}` : null,
|
|
627
|
+
maxValue: e ? `: ${e}` : null
|
|
628
|
+
};
|
|
629
|
+
}
|
|
630
|
+
static generateCasinoRule(t, e) {
|
|
631
|
+
const n = ` ~ ${t("unlimited")}`, i = e.currency || "EUR", a = e.minStake?.amount[i] ? `: ${e.minStake.amount[i]} ${i}` : n, o = e.maxStake?.amount[i] ? `: ${e.maxStake.amount[i]} ${i}` : n;
|
|
632
|
+
return t("casinoRuleMinMaxBet", { values: { minBet: a, maxBet: o } });
|
|
633
|
+
}
|
|
634
|
+
static generateSportsRule(t, e) {
|
|
635
|
+
const n = [], i = ` ~ ${t("unlimited")}`, a = e.currency || "EUR", o = e.minStake?.amount[a] ? `: ${e.minStake.amount[a]} ${a}` : i, u = e.maxStake?.amount[a] ? `: ${e.maxStake.amount[a]} ${a}` : i;
|
|
636
|
+
n.push(t("sportsRuleMinMaxBet", { values: { sportMinBet: o, sportMaxBet: u } }));
|
|
637
|
+
const c = e.config.liveMatch === "true", k = e.config.preLiveMatch === "true";
|
|
638
|
+
c && k ? n.push(t("matchTypePreAndLive")) : c ? n.push(`${t("matchTypeLive")}`) : k && n.push(`${t("matchTyppePre")}`);
|
|
639
|
+
const b = e.combination, E = [];
|
|
640
|
+
b.single.isEligible && E.push(t("betTypeSingle"));
|
|
641
|
+
const A = {
|
|
642
|
+
null: t("typeOfSelectionAny"),
|
|
643
|
+
true: t("bankerOnly"),
|
|
644
|
+
false: t("nonBankerOnly")
|
|
645
|
+
}, J = {
|
|
646
|
+
unspecific: t("typeOfSelectionAny"),
|
|
647
|
+
all: t("betBuilderOnly"),
|
|
648
|
+
none: t("notBuilderOnly")
|
|
649
|
+
};
|
|
650
|
+
let y = "", m = "";
|
|
651
|
+
const q = `${t("oddsPerSelection")}: ${e.config.minOdds || t("unlimited")} - ${e.config.maxOdds || t("unlimited")}`, N = b.system.isEligible, X = b.multiple.isEligible;
|
|
652
|
+
N && (y = ` ${t("betTypeSystem")}
|
|
653
|
+
( ${t("typeOfSelection")}: ${A[e.combination.system.banker?.include?.toString() || "null"]},
|
|
654
|
+
${t("numberOfSelection")}:
|
|
655
|
+
${b.system.minSelection?.number || t("unlimited")} - ${b.system.maxSelection?.number || t("unlimited")},
|
|
656
|
+
${q} ) `), X && (m = ` ${t("betTypeMultiple")}
|
|
657
|
+
( ${t("typeOfSelection")}: ${J[e.combination.multiple.betBuilder?.mode?.toString() || "unspecific"]},
|
|
658
|
+
${t("numberOfSelection")}:
|
|
659
|
+
${b.multiple.minSelection?.number || t("unlimited")} - ${b.multiple.maxSelection?.number || t("unlimited")},
|
|
660
|
+
${q} ) `), N && X ? E.push(m + t("and") + y) : N ? E.push(y) : X && E.push(m), n.push(E.join(", "));
|
|
661
|
+
const ue = e.config.minTotalOdds ? `: ${e.config.minTotalOdds}` : i, K = e.config.maxTotalOdds ? `: ${e.config.maxTotalOdds}` : i;
|
|
662
|
+
return n.push(`${t("sportsRuleMinMaxOdds", { values: { sportMinOdds: ue, sportMaxOdds: K } })}`), n;
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
const Bt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.1142%2013.4315C10.4965%2013.4315%2010.8065%2013.7415%2010.8065%2014.1238C10.8065%2014.353%2011.001%2014.7342%2011.708%2015.0993C12.3797%2015.4461%2013.3557%2015.6812%2014.4718%2015.6812C15.5879%2015.6812%2016.5642%2015.4461%2017.2361%2015.0993C17.9435%2014.7342%2018.138%2014.3528%2018.138%2014.1238C18.138%2013.7415%2018.448%2013.4315%2018.8303%2013.4315C19.2126%2013.4315%2019.5226%2013.7415%2019.5226%2014.1238C19.5226%2015.1368%2018.7414%2015.8804%2017.8712%2016.3296C16.9656%2016.7971%2015.7626%2017.0658%2014.4718%2017.0658C13.181%2017.0658%2011.9782%2016.7971%2011.0728%2016.3296C10.2027%2015.8803%209.42185%2015.1367%209.42185%2014.1238C9.42185%2013.7415%209.73182%2013.4315%2010.1142%2013.4315Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.78606%209.1839C4.16841%209.1839%204.47836%209.49386%204.47836%209.8762C4.47836%2010.1058%204.67303%2010.487%205.38022%2010.852C6.05207%2011.1988%207.02836%2011.4337%208.14459%2011.4337C8.52693%2011.4337%208.83689%2011.7436%208.83689%2012.126C8.83689%2012.5083%208.52693%2012.8183%208.14459%2012.8183C6.85387%2012.8183%205.65089%2012.5498%204.74522%2012.0824C3.87488%2011.6333%203.09375%2010.8896%203.09375%209.8762C3.09375%209.49386%203.40371%209.1839%203.78606%209.1839Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.78606%205.25C4.16841%205.25%204.47836%205.55996%204.47836%205.94231V13.8114C4.47836%2014.041%204.67303%2014.4222%205.38022%2014.7872C6.05207%2015.1339%207.02836%2015.3689%208.14459%2015.3689C8.52693%2015.3689%208.83689%2015.6788%208.83689%2016.0612C8.83689%2016.4436%208.52693%2016.7535%208.14459%2016.7535C6.85387%2016.7535%205.65089%2016.485%204.74522%2016.0177C3.87488%2015.5685%203.09375%2014.8249%203.09375%2013.8114V5.94231C3.09375%205.55996%203.40371%205.25%203.78606%205.25Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M5.38029%204.96658C4.67291%205.33175%204.47836%205.71303%204.47836%205.94207C4.47836%206.17164%204.67303%206.5529%205.38022%206.91786C6.05207%207.2646%207.02836%207.49953%208.14459%207.49953C8.52693%207.49953%208.83689%207.80949%208.83689%208.19184C8.83689%208.57418%208.52693%208.88414%208.14459%208.88414C6.85387%208.88414%205.65089%208.61569%204.74522%208.14829C3.87488%207.69912%203.09375%206.95549%203.09375%205.94207C3.09375%204.92903%203.87499%204.18542%204.74515%203.73624C5.65079%203.26872%206.85377%203%208.14459%203C9.43542%203%2010.6384%203.26872%2011.544%203.73624C12.4142%204.18542%2013.1954%204.92903%2013.1954%205.94207C13.1954%206.32442%2012.8854%206.63438%2012.5031%206.63438C12.1207%206.63438%2011.8108%206.32442%2011.8108%205.94207C11.8108%205.71303%2011.6163%205.33175%2010.9089%204.96658C10.237%204.61973%209.26068%204.38462%208.14459%204.38462C7.02847%204.38462%206.05218%204.61973%205.38029%204.96658Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.1142%209.49759C10.4965%209.49759%2010.8065%209.80755%2010.8065%2010.1899V18.0591C10.8065%2018.2887%2011.0011%2018.67%2011.7079%2019.0349C12.3796%2019.3816%2013.3556%2019.6165%2014.4718%2019.6165C15.588%2019.6165%2016.5643%2019.3816%2017.2362%2019.0349C17.9433%2018.6699%2018.138%2018.2886%2018.138%2018.0591V10.1899C18.138%209.80755%2018.448%209.49759%2018.8303%209.49759C19.2126%209.49759%2019.5226%209.80755%2019.5226%2010.1899V18.0591C19.5226%2019.0724%2018.7415%2019.8161%2017.8711%2020.2652C16.9655%2020.7327%2015.7626%2021.0011%2014.4718%2021.0011C13.1811%2021.0011%2011.9783%2020.7327%2011.0729%2020.2652C10.2026%2019.816%209.42185%2019.0723%209.42185%2018.0591V10.1899C9.42185%209.80755%209.73182%209.49759%2010.1142%209.49759Z'%20fill='%23999999'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.708%209.21414C11.001%209.57923%2010.8065%209.96048%2010.8065%2010.1897C10.8065%2010.4189%2011.001%2010.8001%2011.708%2011.1652C12.3797%2011.512%2013.3557%2011.7472%2014.4718%2011.7472C15.5879%2011.7472%2016.5642%2011.512%2017.2361%2011.1652C17.9435%2010.8%2018.138%2010.4187%2018.138%2010.1897C18.138%209.96063%2017.9435%209.57934%2017.2361%209.21418C16.5642%208.86733%2015.5879%208.63221%2014.4718%208.63221C13.3557%208.63221%2012.3797%208.86733%2011.708%209.21414ZM11.0728%207.98387C11.9782%207.51632%2013.181%207.24759%2014.4718%207.24759C15.7626%207.24759%2016.9656%207.51632%2017.8712%207.98383C18.7414%208.43303%2019.5226%209.17662%2019.5226%2010.1897C19.5226%2011.2027%2018.7414%2011.9463%2017.8712%2012.3955C16.9656%2012.863%2015.7626%2013.1318%2014.4718%2013.1318C13.181%2013.1318%2011.9782%2012.863%2011.0728%2012.3954C10.2027%2011.9462%209.42185%2011.2026%209.42185%2010.1897C9.42185%209.17677%2010.2027%208.43314%2011.0728%207.98387Z'%20fill='%23999999'/%3e%3c/svg%3e", Lt = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.2125%209.09375C7.44853%209.77601%206.51801%2010.2445%205.51497%2010.4519C4.51192%2010.6593%203.4719%2010.5983%202.5%2010.275C2.55651%2011.9499%203.17514%2013.557%204.25625%2014.8375L9.11875%2010L8.2125%209.09375ZM7.31875%208.20625L4.275%205.1625C3.37411%206.23087%202.78964%207.52969%202.5875%208.9125C3.95%209.675%205.8375%209.375%207.31875%208.20625ZM12.6813%2011.7938L15.725%2014.8375C16.6259%2013.7691%2017.2104%2012.4703%2017.4125%2011.0875C16.05%2010.325%2014.1625%2010.625%2012.6813%2011.7938ZM11.7938%2012.6813C10.6063%2014.1625%2010.325%2016.05%2011.0625%2017.4125C12.4453%2017.2104%2013.7441%2016.6259%2014.8125%2015.725L11.7938%2012.6813ZM10.8813%2010L11.7875%2010.9062C12.5515%2010.224%2013.482%209.75549%2014.485%209.54808C15.4881%209.34066%2016.5281%209.40169%2017.5%209.725C17.4435%208.05011%2016.8249%206.44299%2015.7438%205.1625L10.8813%2010ZM10.9062%2011.7875L10%2010.8813L5.1625%2015.725C6.44047%2016.8129%208.04784%2017.4382%209.725%2017.5C9.40169%2016.5281%209.34066%2015.4881%209.54808%2014.485C9.75549%2013.482%2010.224%2012.5515%2010.9062%2011.7875ZM10%209.11875L14.8375%204.275C13.5595%203.18712%2011.9522%202.56179%2010.275%202.5C10.5948%203.46928%2010.654%204.50563%2010.4466%205.50501C10.2393%206.5044%209.77272%207.43167%209.09375%208.19375L10%209.11875ZM8.20625%207.31875C9.375%205.8375%209.675%203.95%208.9375%202.5875C7.55469%202.78964%206.25587%203.37411%205.1875%204.275L8.20625%207.31875Z'%20fill='white'/%3e%3c/svg%3e", Pt = "data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M10.3098%207.23828L5.84025%202.76374L1.3727%207.23828L0%205.8605L5.84025%200.000186443L11.6825%205.8605L10.3098%207.23828Z'%20fill='white'/%3e%3c/svg%3e", It = "data:image/svg+xml,%3csvg%20width='12'%20height='8'%20viewBox='0%200%2012%208'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.37278%200L5.84236%204.47454L10.3099%200L11.6826%201.37778L5.84236%207.23809L7.72476e-05%201.37778L1.37278%200Z'%20fill='white'/%3e%3c/svg%3e", Ht = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.55556%204C6.32986%204%205.33333%204.96094%205.33333%206.14286V13.6429C5.33333%2014.8248%206.32986%2015.7857%207.55556%2015.7857H19.7778C21.0035%2015.7857%2022%2014.8248%2022%2013.6429V6.14286C22%204.96094%2021.0035%204%2019.7778%204H7.55556ZM13.6667%207.21429C15.2014%207.21429%2016.4444%208.41295%2016.4444%209.89286C16.4444%2011.3728%2015.2014%2012.5714%2013.6667%2012.5714C12.1319%2012.5714%2010.8889%2011.3728%2010.8889%209.89286C10.8889%208.41295%2012.1319%207.21429%2013.6667%207.21429ZM7.55556%208.01786V6.41071C7.55556%206.26339%207.68056%206.14286%207.83333%206.14286H9.5C9.65278%206.14286%209.78125%206.26339%209.76042%206.41071C9.63542%207.3817%208.83681%208.14844%207.83333%208.26897C7.68056%208.28571%207.55556%208.16518%207.55556%208.01786ZM7.55556%2011.7679C7.55556%2011.6205%207.68056%2011.4967%207.83333%2011.5167C8.84028%2011.6373%209.63542%2012.4074%209.76042%2013.375C9.77778%2013.5223%209.65278%2013.6429%209.5%2013.6429H7.83333C7.68056%2013.6429%207.55556%2013.5223%207.55556%2013.375V11.7679ZM19.5%208.26897C18.4931%208.14844%2017.6979%207.37835%2017.5729%206.41071C17.5556%206.26339%2017.6806%206.14286%2017.8333%206.14286H19.5C19.6528%206.14286%2019.7778%206.26339%2019.7778%206.41071V8.01786C19.7778%208.16518%2019.6528%208.28906%2019.5%208.26897ZM19.7778%2011.7679V13.375C19.7778%2013.5223%2019.6528%2013.6429%2019.5%2013.6429H17.8333C17.6806%2013.6429%2017.5521%2013.5223%2017.5729%2013.375C17.6979%2012.404%2018.4965%2011.6373%2019.5%2011.5167C19.6528%2011.5%2019.7778%2011.6205%2019.7778%2011.7679ZM3.66667%208.01786C3.66667%207.57254%203.29514%207.21429%202.83333%207.21429C2.37153%207.21429%202%207.57254%202%208.01786V16.8571C2%2018.0391%202.99653%2019%204.22222%2019H17.8333C18.2951%2019%2018.6667%2018.6417%2018.6667%2018.1964C18.6667%2017.7511%2018.2951%2017.3929%2017.8333%2017.3929H4.22222C3.91667%2017.3929%203.66667%2017.1518%203.66667%2016.8571V8.01786Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e", At = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%208.16216V8.23516C22%209.09516%2022%209.52616%2021.793%209.87816C21.586%2010.2302%2021.209%2010.4392%2020.457%2010.8582L19.664%2011.2982C20.21%209.45016%2020.393%207.46416%2020.46%205.76616L20.47%205.54516L20.472%205.49316C21.123%205.71916%2021.489%205.88816%2021.717%206.20416C22%206.59716%2022%207.11916%2022%208.16216ZM2%208.16216V8.23516C2%209.09516%202%209.52616%202.207%209.87816C2.414%2010.2302%202.791%2010.4392%203.543%2010.8582L4.337%2011.2982C3.79%209.45016%203.607%207.46416%203.54%205.76616L3.53%205.54516L3.529%205.49316C2.877%205.71916%202.511%205.88816%202.283%206.20416C2%206.59716%202%207.12016%202%208.16216Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M16.3774%202.34723C14.9305%202.11022%2013.4665%201.99415%2012.0004%202.00023C10.2174%202.00023%208.74737%202.15723%207.62337%202.34723C6.48437%202.53923%205.91537%202.63523%205.43937%203.22123C4.96437%203.80723%204.98937%204.44023%205.03937%205.70623C5.21237%2010.0542%206.15037%2015.4862%2011.2504%2015.9662V19.5002H9.82037C9.58928%2019.5004%209.36537%2019.5805%209.18671%2019.7271C9.00805%2019.8737%208.88567%2020.0776%208.84037%2020.3042L8.65037%2021.2502H6.00037C5.80146%2021.2502%205.61069%2021.3292%205.47004%2021.4699C5.32939%2021.6105%205.25037%2021.8013%205.25037%2022.0002C5.25037%2022.1991%205.32939%2022.3899%205.47004%2022.5306C5.61069%2022.6712%205.80146%2022.7502%206.00037%2022.7502H18.0004C18.1993%2022.7502%2018.3901%2022.6712%2018.5307%2022.5306C18.6714%2022.3899%2018.7504%2022.1991%2018.7504%2022.0002C18.7504%2021.8013%2018.6714%2021.6105%2018.5307%2021.4699C18.3901%2021.3292%2018.1993%2021.2502%2018.0004%2021.2502H15.3504L15.1604%2020.3042C15.1151%2020.0776%2014.9927%2019.8737%2014.814%2019.7271C14.6354%2019.5805%2014.4115%2019.5004%2014.1804%2019.5002H12.7504V15.9662C17.8504%2015.4862%2018.7894%2010.0552%2018.9614%205.70623C19.0114%204.44023%2019.0374%203.80623%2018.5614%203.22123C18.0854%202.63523%2017.5164%202.53923%2016.3774%202.34723ZM12.7874%205.80723C12.9244%205.864%2013.0416%205.96014%2013.124%206.08349C13.2064%206.20685%2013.2504%206.35187%2013.2504%206.50023V10.5002C13.2504%2010.6991%2013.1714%2010.8899%2013.0307%2011.0306C12.89%2011.1712%2012.6993%2011.2502%2012.5004%2011.2502C12.3015%2011.2502%2012.1107%2011.1712%2011.97%2011.0306C11.8294%2010.8899%2011.7504%2010.6991%2011.7504%2010.5002V8.31023L11.5304%208.53023C11.4617%208.60391%2011.3789%208.66302%2011.2869%208.70401C11.1949%208.745%2011.0956%208.76704%2010.9949%208.76882C10.8942%208.7706%2010.7942%208.75207%2010.7008%208.71435C10.6074%208.67663%2010.5226%208.62048%2010.4513%208.54926C10.3801%208.47805%2010.324%208.39321%2010.2862%208.29982C10.2485%208.20644%2010.23%208.10641%2010.2318%208.0057C10.2336%207.905%2010.2556%207.80569%2010.2966%207.71369C10.3376%207.62169%2010.3967%207.53889%2010.4704%207.47023L11.9704%205.97023C12.0752%205.86533%2012.2087%205.79387%2012.3542%205.76485C12.4996%205.73584%2012.6503%205.75059%2012.7874%205.80723Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e", $t = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M14.3226%202.25641C14.3226%202.18841%2014.2954%202.12319%2014.247%202.0751C14.1986%202.02701%2014.133%202%2014.0645%202H6.83871C6.08584%202%205.3638%202.29716%204.83144%202.82611C4.29908%203.35506%204%204.07247%204%204.82051V19.1795C4%2019.9275%204.29908%2020.6449%204.83144%2021.1739C5.3638%2021.7028%206.08584%2022%206.83871%2022H17.1613C17.9142%2022%2018.6362%2021.7028%2019.1686%2021.1739C19.7009%2020.6449%2020%2019.9275%2020%2019.1795V9.07385C20%209.00584%2019.9728%208.94062%2019.9244%208.89254C19.876%208.84445%2019.8104%208.81744%2019.7419%208.81744H15.0968C14.8914%208.81744%2014.6945%208.73639%2014.5493%208.59213C14.4041%208.44787%2014.3226%208.25222%2014.3226%208.04821V2.25641ZM15.0968%2012.2564C15.3021%2012.2564%2015.499%2012.3375%2015.6442%2012.4817C15.7894%2012.626%2015.871%2012.8216%2015.871%2013.0256C15.871%2013.2297%2015.7894%2013.4253%2015.6442%2013.5696C15.499%2013.7138%2015.3021%2013.7949%2015.0968%2013.7949H8.90323C8.6979%2013.7949%208.50098%2013.7138%208.35579%2013.5696C8.2106%2013.4253%208.12903%2013.2297%208.12903%2013.0256C8.12903%2012.8216%208.2106%2012.626%208.35579%2012.4817C8.50098%2012.3375%208.6979%2012.2564%208.90323%2012.2564H15.0968ZM15.0968%2016.359C15.3021%2016.359%2015.499%2016.44%2015.6442%2016.5843C15.7894%2016.7285%2015.871%2016.9242%2015.871%2017.1282C15.871%2017.3322%2015.7894%2017.5279%2015.6442%2017.6721C15.499%2017.8164%2015.3021%2017.8974%2015.0968%2017.8974H8.90323C8.6979%2017.8974%208.50098%2017.8164%208.35579%2017.6721C8.2106%2017.5279%208.12903%2017.3322%208.12903%2017.1282C8.12903%2016.9242%208.2106%2016.7285%208.35579%2016.5843C8.50098%2016.44%208.6979%2016.359%208.90323%2016.359H15.0968Z'%20fill='white'%20fill-opacity='0.5'/%3e%3cpath%20d='M15.75%202.82396C15.75%202.63996%2015.943%202.52296%2016.086%202.63796C16.2073%202.73596%2016.315%202.84996%2016.409%202.97996L19.422%207.17696C19.49%207.27296%2019.416%207.39696%2019.298%207.39696H16C15.9337%207.39696%2015.8701%207.37062%2015.8232%207.32373C15.7763%207.27685%2015.75%207.21326%2015.75%207.14696V2.82396Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e", jt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.8421%2015.8636L17.5516%2017.4L16.8411%2018.5091L13.4211%2016.5455V12H14.8421V15.8636ZM21%2015.6364C21%2019.1545%2018.0347%2022%2014.3684%2022C12.5589%2022%2010.9295%2021.3091%209.73579%2020.1818H4.89474C3.84316%2020.1818%203%2019.3727%203%2018.3636V3.81818C3%203.33597%203.19962%202.87351%203.55496%202.53253C3.91029%202.19156%204.39222%202%204.89474%202H5.84211V8.36364L8.21053%207L10.5789%208.36364V2H16.2632C16.7657%202%2017.2476%202.19156%2017.6029%202.53253C17.9583%202.87351%2018.1579%203.33597%2018.1579%203.81818V10.4182C19.8726%2011.5727%2021%2013.4727%2021%2015.6364ZM19.1053%2015.6364C19.1053%2013.1273%2016.9832%2011.0909%2014.3684%2011.0909C11.7537%2011.0909%209.63158%2013.1273%209.63158%2015.6364C9.63158%2018.1455%2011.7537%2020.1818%2014.3684%2020.1818C16.9832%2020.1818%2019.1053%2018.1455%2019.1053%2015.6364Z'%20fill='white'%20fill-opacity='0.5'/%3e%3c/svg%3e";
|
|
666
|
+
if (typeof window < "u") {
|
|
667
|
+
let r = function(t) {
|
|
668
|
+
return function(...e) {
|
|
669
|
+
try {
|
|
670
|
+
return t.apply(this, e);
|
|
671
|
+
} catch (n) {
|
|
672
|
+
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
673
|
+
return !1;
|
|
674
|
+
throw n;
|
|
675
|
+
}
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
customElements.define = r(customElements.define), import("./TournamentLeaderboard-Bdrmjyzv.js").then(({ default: t }) => {
|
|
679
|
+
!customElements.get("tournament-leaderboard") && customElements.define("tournament-leaderboard", t.element);
|
|
680
|
+
});
|
|
681
|
+
}
|
|
682
|
+
if (typeof window < "u") {
|
|
683
|
+
let r = function(t) {
|
|
684
|
+
return function(...e) {
|
|
685
|
+
try {
|
|
686
|
+
return t.apply(this, e);
|
|
687
|
+
} catch (n) {
|
|
688
|
+
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
689
|
+
return !1;
|
|
690
|
+
throw n;
|
|
691
|
+
}
|
|
692
|
+
};
|
|
693
|
+
};
|
|
694
|
+
customElements.define = r(customElements.define), import("./TournamentDetails-H6pHb_yG.js").then((t) => t.T).then(({ default: t }) => {
|
|
695
|
+
!customElements.get("tournament-details") && customElements.define("tournament-details", t.element);
|
|
696
|
+
});
|
|
697
|
+
}
|
|
698
|
+
if (typeof window < "u") {
|
|
699
|
+
let r = function(t) {
|
|
700
|
+
return function(...e) {
|
|
701
|
+
try {
|
|
702
|
+
return t.apply(this, e);
|
|
703
|
+
} catch (n) {
|
|
704
|
+
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
705
|
+
return !1;
|
|
706
|
+
throw n;
|
|
707
|
+
}
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
customElements.define = r(customElements.define), import("./TournamentGames-CATtl7ab.js").then(({ default: t }) => {
|
|
711
|
+
!customElements.get("tournament-games") && customElements.define("tournament-games", t.element);
|
|
712
|
+
});
|
|
713
|
+
}
|
|
714
|
+
var Vt = Z('<span class="Spinner svelte-gxy8gu"></span>'), Zt = Z("<button><!></button>"), zt = Z('<div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!>: <span class="RuleContent svelte-gxy8gu"> </span></div></div>'), Dt = Z('<li class="RuleTxt svelte-gxy8gu"> </li>'), Ut = Z('<div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!>: <ul class="SportsRules svelte-gxy8gu"></ul></div></div>'), Ft = Z('<div class="TournamemntRulesContent svelte-gxy8gu"><div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="svelte-gxy8gu"><!> <!> <!> <!> <!> <!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <div class="TournamentRuleRow svelte-gxy8gu"><div class="RuleIcon svelte-gxy8gu"><img alt="Icon" class="svelte-gxy8gu"/></div> <div class="RuleText svelte-gxy8gu"><!></div></div> <!> <!></div>'), Wt = Z('<div class="DetailsWrapper svelte-gxy8gu"><tournament-details></tournament-details> <!></div> <div class="LeaderboardWrapper svelte-gxy8gu"><tournament-leaderboard></tournament-leaderboard></div> <div class="TournamentRulesWrapper svelte-gxy8gu"><button class="TournamentRulesHeader svelte-gxy8gu"><span class="TournamemntRulesTitle svelte-gxy8gu"> </span> <img alt="Icon" class="Icon svelte-gxy8gu"/></button> <!></div> <div class="GamesWrapper svelte-gxy8gu"><tournament-games></tournament-games></div>', 3), Gt = Z('<div class="SkeletonWrapper svelte-gxy8gu"><div class="Skeleton Details svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Leaderboard svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Rules svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div> <div class="Skeleton Games svelte-gxy8gu"><div class="SkeletonShimmer svelte-gxy8gu"></div></div></div>'), qt = Z('<div class="TournamentDetailsPageWrapper svelte-gxy8gu"><!> <!></div>');
|
|
715
|
+
const Nt = {
|
|
716
|
+
hash: "svelte-gxy8gu",
|
|
717
|
+
code: `.svelte-gxy8gu,
|
|
718
|
+
.svelte-gxy8gu::before,
|
|
719
|
+
.svelte-gxy8gu::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;}.SkeletonWrapper.svelte-gxy8gu {display:flex;flex-direction:column;justify-content:space-between;gap:10px;}.Skeleton.svelte-gxy8gu {width:100%;border-radius:6px;background-color:var(--emw-color-skeleton, #535353);overflow:hidden;position:relative;
|
|
720
|
+
animation: svelte-gxy8gu-pulse 1.5s infinite;&.Details {height:400px;}&.Leaderboard {height:500px;}&.Rules {height:150px;}&.Games {height:300px;}}
|
|
721
|
+
|
|
722
|
+
@keyframes svelte-gxy8gu-pulse {
|
|
723
|
+
0% {
|
|
724
|
+
opacity: 0;
|
|
725
|
+
}
|
|
726
|
+
50% {
|
|
727
|
+
opacity: 1;
|
|
728
|
+
}
|
|
729
|
+
100% {
|
|
730
|
+
opacity: 0;
|
|
731
|
+
}
|
|
732
|
+
}.TournamentDetailsPageWrapper.svelte-gxy8gu {max-width:1300px;margin:auto;background-color:#2C2B2B;padding:10px;border-radius:6px;display:flex;flex-direction:column;gap:10px;.LeaderboardWrapper:where(.svelte-gxy8gu) {min-height:500px;}.GamesWrapper:where(.svelte-gxy8gu) {min-height:200px;}}.DetailsWrapper.svelte-gxy8gu {background-color:var(--emw-color-bg-secondary, #333232);border-radius:6px;padding-bottom:16px;min-height:400px;.ViewPrizesContainer:where(.svelte-gxy8gu) {display:flex;justify-content:space-between;align-items:center;background-color:var(--emw-color-bg-elements, #4A4A4A);color:var(--emw-color-typography, #ffffff);border-radius:6px;width:calc(100% - 32px);margin:auto;padding:10px;}}.ButtonPrimary.svelte-gxy8gu {display:block;width:calc(100% - 32px);margin:auto;background-color:var(--emw-color-primary, #FF1D4E);color:var(--emw-color-typography, #ffffff);border-radius:6px;padding:8px 0;border:none;outline:none;text-align:center;text-decoration:none;cursor:pointer;transition:background-color 0.2s ease, transform 0.15s ease;&:hover {background-color:var(--emw-color-primary-hover, #ff3a65);cursor:pointer;}&:active {transform:scale(0.9);}&.Enrolled {pointer-events:none;filter:saturate(50%);}}.Spinner.svelte-gxy8gu {display:inline-block;width:16px;height:16px;border:2px solid rgba(255, 255, 255, 0.3);border-top-color:var(--emw-color-typography, #ffffff);border-radius:50%;
|
|
733
|
+
animation: svelte-gxy8gu-spin 0.6s linear infinite;}
|
|
734
|
+
|
|
735
|
+
@keyframes svelte-gxy8gu-spin {
|
|
736
|
+
to { transform: rotate(360deg); }
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
@media (min-width: 1000px) {.ButtonPrimary.svelte-gxy8gu {display:block;width:300px;margin:auto;}
|
|
740
|
+
}.TournamentRulesWrapper.svelte-gxy8gu {border:1px solid var(--emw-color-bg-secondary, #333232);border-radius:4px;overflow:hidden;min-height:40px;.TournamentRulesHeader:where(.svelte-gxy8gu) {width:100%;padding:10px;background-color:var(--emw-color-bg-secondary, #333232);color:var(--emw-color-typography, #ffffff);font-weight:500;font-size:14px;border:none;text-align:left;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:1rem;transition:background 0.2s;}.TournamentRulesHeader:where(.svelte-gxy8gu):hover {background:var(--emw-color-bg-elements, #4A4A4A);}.TournamentRulesHeader:where(.svelte-gxy8gu):active {background-color:var(--emw-color-bg-secondary, #333232);}.Icon:where(.svelte-gxy8gu) {width:15px;height:15px;}.TournamemntRulesContent:where(.svelte-gxy8gu) {background-color:var(--emw-color-bg-secondary, #333232);color:var(--emw-color-typography, #ffffff);font-size:12px;font-weight:200;padding:10px;.TournamentRuleRow:where(.svelte-gxy8gu) {display:flex;gap:10px;margin:6px;.RuleText:where(.svelte-gxy8gu) {align-self:center;}.RuleIcon:where(.svelte-gxy8gu) {min-width:24px;min-height:24px;}}}}`
|
|
741
|
+
};
|
|
742
|
+
function Xt(r, t) {
|
|
743
|
+
rt(t, !0), nt(r, Nt);
|
|
744
|
+
const e = () => ut(ct, "$_", n), [n, i] = lt(), a = z(t, "initialState"), o = z(t, "endpoint"), u = z(t, "language", 7, "en"), c = z(t, "session"), k = z(t, "tournamentid"), b = z(t, "gamesLimit", 7, 6), E = z(t, "platformProp", 7, null), O = z(t, "translationurl");
|
|
745
|
+
mt({ withLocale: "en", translations: {} });
|
|
746
|
+
const A = () => {
|
|
747
|
+
let s = new URL(O());
|
|
748
|
+
fetch(s.href).then((_) => _.json()).then((_) => {
|
|
749
|
+
Object.keys(_).forEach((B) => {
|
|
750
|
+
e2(B, _[B]);
|
|
751
|
+
});
|
|
752
|
+
}).catch((_) => {
|
|
753
|
+
console.log(_);
|
|
754
|
+
});
|
|
755
|
+
};
|
|
756
|
+
Object.keys(r2).forEach((s) => {
|
|
757
|
+
e2(s, r2[s]);
|
|
758
|
+
}), t2(u());
|
|
759
|
+
const J = () => {
|
|
760
|
+
t2(u());
|
|
761
|
+
};
|
|
762
|
+
it(() => {
|
|
763
|
+
J();
|
|
764
|
+
}), at(() => {
|
|
765
|
+
O() && A();
|
|
766
|
+
});
|
|
767
|
+
const y = Et() ? E() ?? "dk" : Rt(window.navigator.userAgent);
|
|
768
|
+
let m = M(Le(a()?.tournament || null)), q = M(!1), N = M(Le([])), X = M(void 0), ue = M(void 0), K = M(!1), ce = M(!1), ze = M(!1), De = M(""), Q = M(void 0), ee = M(void 0), he = M(Le([])), Ue = M(""), te = M(!1);
|
|
769
|
+
const b2 = () => {
|
|
770
|
+
x(
|
|
771
|
+
Ue,
|
|
772
|
+
l(ee) ? d2.generateCasinoRule(e(), l(ee)) : "",
|
|
773
|
+
!0
|
|
774
|
+
), x(
|
|
775
|
+
he,
|
|
776
|
+
l(Q) ? d2.generateSportsRule(e(), l(Q)) : [],
|
|
777
|
+
!0
|
|
778
|
+
);
|
|
779
|
+
}, C2 = async () => {
|
|
780
|
+
x(q, !0);
|
|
781
|
+
const s = new URL(`${o()}/v1/tournaments/${k()}`), _ = new Headers();
|
|
782
|
+
c() && _.append("X-SessionId", c());
|
|
783
|
+
const B = { method: "GET", headers: _ };
|
|
784
|
+
s.searchParams.append("language", u()), s.searchParams.append("expand", "games"), s.searchParams.append("pagination", `games(limit=${b()},offset=0)`), s.searchParams.append("platform", y), fetch(s, B).then((C) => C.json()).then((C) => {
|
|
785
|
+
x(m, C?.item, !0), x(N, C?.item?.games?.items, !0), x(X, C?.item?.games?.total, !0), x(ue, C?.item?.metadata, !0), x(ee, C?.item?.wallet.casino, !0), x(Q, C?.item?.wallet.sports, !0), (l(Q) || l(ee)) && b2();
|
|
786
|
+
}).catch((C) => console.log(C)).finally(() => {
|
|
787
|
+
x(q, !1);
|
|
788
|
+
});
|
|
789
|
+
}, w2 = () => {
|
|
790
|
+
fetch(`${o()}/tournaments/${l(m).id}`, { headers: { "X-SessionID": c() } }).then((s) => s.json()).then((s) => {
|
|
791
|
+
s?.item?.playerEnrolled ? x(ce, !0) : (x(ze, !0), x(De, s.errorMessage, !0));
|
|
792
|
+
}).catch((s) => console.log(s));
|
|
793
|
+
}, x2 = () => {
|
|
794
|
+
x(K, !0);
|
|
795
|
+
const s = new URL(`${o()}/v1/bonus/claim`);
|
|
796
|
+
s.searchParams.append("language", u()), s.searchParams.append("platform", y);
|
|
797
|
+
const _ = new Headers();
|
|
798
|
+
_.append("Content-Type", "application/json"), _.append("X-SessionID", c());
|
|
799
|
+
let B = {};
|
|
800
|
+
l(m).wallets && l(m).wallets.length > 0 && (B = {
|
|
801
|
+
language: u(),
|
|
802
|
+
bonusCode: l(m).wallets[0].code,
|
|
803
|
+
currency: l(m).baseCurrency,
|
|
804
|
+
type: "tournament"
|
|
805
|
+
});
|
|
806
|
+
const C = {
|
|
807
|
+
method: "PUT",
|
|
808
|
+
headers: _,
|
|
809
|
+
body: JSON.stringify(B)
|
|
810
|
+
};
|
|
811
|
+
fetch(s, C).then((P) => P.json()).then((P) => {
|
|
812
|
+
P && (P.success == !0 ? x(ce, !0) : P.errorMessage.match("VersionMismatchException") && w2());
|
|
813
|
+
}).catch((P) => {
|
|
814
|
+
console.log(P), x(ze, !0), x(De, P.errorMessage, !0);
|
|
815
|
+
}).finally(() => x(K, !1));
|
|
816
|
+
}, S2 = () => {
|
|
817
|
+
x(te, !l(te));
|
|
818
|
+
};
|
|
819
|
+
ot(() => {
|
|
820
|
+
a() || c() && k() && o() && C2();
|
|
821
|
+
});
|
|
822
|
+
var _2 = {
|
|
823
|
+
get initialState() {
|
|
824
|
+
return a();
|
|
825
|
+
},
|
|
826
|
+
set initialState(s) {
|
|
827
|
+
a(s), D();
|
|
828
|
+
},
|
|
829
|
+
get endpoint() {
|
|
830
|
+
return o();
|
|
831
|
+
},
|
|
832
|
+
set endpoint(s) {
|
|
833
|
+
o(s), D();
|
|
834
|
+
},
|
|
835
|
+
get language() {
|
|
836
|
+
return u();
|
|
837
|
+
},
|
|
838
|
+
set language(s = "en") {
|
|
839
|
+
u(s), D();
|
|
840
|
+
},
|
|
841
|
+
get session() {
|
|
842
|
+
return c();
|
|
843
|
+
},
|
|
844
|
+
set session(s) {
|
|
845
|
+
c(s), D();
|
|
846
|
+
},
|
|
847
|
+
get tournamentid() {
|
|
848
|
+
return k();
|
|
849
|
+
},
|
|
850
|
+
set tournamentid(s) {
|
|
851
|
+
k(s), D();
|
|
852
|
+
},
|
|
853
|
+
get gamesLimit() {
|
|
854
|
+
return b();
|
|
855
|
+
},
|
|
856
|
+
set gamesLimit(s = 6) {
|
|
857
|
+
b(s), D();
|
|
858
|
+
},
|
|
859
|
+
get platformProp() {
|
|
860
|
+
return E();
|
|
861
|
+
},
|
|
862
|
+
set platformProp(s = null) {
|
|
863
|
+
E(s), D();
|
|
864
|
+
},
|
|
865
|
+
get translationurl() {
|
|
866
|
+
return O();
|
|
867
|
+
},
|
|
868
|
+
set translationurl(s) {
|
|
869
|
+
O(s), D();
|
|
870
|
+
}
|
|
871
|
+
}, ge = qt(), Fe = v(ge);
|
|
872
|
+
{
|
|
873
|
+
var k2 = (s) => {
|
|
874
|
+
var _ = Wt(), B = G(_), C = v(B);
|
|
875
|
+
f(() => S(C, "tournament", l(m))), f(() => S(C, "language", u())), f(() => S(C, "enrolled", l(m).playerEnrolled)), f(() => S(C, "translationurl", O())), de(C, 1, "svelte-gxy8gu");
|
|
876
|
+
var P = g(C, 2);
|
|
877
|
+
{
|
|
878
|
+
var R2 = ($) => {
|
|
879
|
+
var H = Zt();
|
|
880
|
+
H.__click = x2;
|
|
881
|
+
var ne = v(H);
|
|
882
|
+
{
|
|
883
|
+
var ie = (j) => {
|
|
884
|
+
var W = Vt();
|
|
885
|
+
T(j, W);
|
|
886
|
+
}, we = (j) => {
|
|
887
|
+
var W = dt();
|
|
888
|
+
f((xe) => pe(W, xe), [() => e()("joinButton")]), T(j, W);
|
|
889
|
+
};
|
|
890
|
+
R(ne, (j) => {
|
|
891
|
+
l(K) ? j(ie) : j(we, !1);
|
|
892
|
+
});
|
|
893
|
+
}
|
|
894
|
+
p(H), f(() => {
|
|
895
|
+
de(H, 1, `ButtonPrimary ${l(m).playerEnrolled || l(ce) ? "Enrolled" : ""}`, "svelte-gxy8gu"), H.disabled = l(m).playerEnrolled || l(ce);
|
|
896
|
+
}), T($, H);
|
|
897
|
+
};
|
|
898
|
+
R(P, ($) => {
|
|
899
|
+
!l(m).playerEnrolled && l(m).state !== "Closed" && $(R2);
|
|
900
|
+
});
|
|
901
|
+
}
|
|
902
|
+
p(B);
|
|
903
|
+
var ye = g(B, 2), F = v(ye);
|
|
904
|
+
f(() => S(F, "endpoint", o())), f(() => S(F, "language", u())), f(() => S(F, "session", c())), f(() => S(F, "tournamentid", k())), f(() => S(F, "platform", y)), f(() => S(F, "translationurl", O())), de(F, 1, "svelte-gxy8gu"), p(ye);
|
|
905
|
+
var be = g(ye, 2), re = v(be);
|
|
906
|
+
re.__click = S2;
|
|
907
|
+
var Ce = v(re), E2 = v(Ce, !0);
|
|
908
|
+
p(Ce);
|
|
909
|
+
var B2 = g(Ce, 2);
|
|
910
|
+
p(re);
|
|
911
|
+
var L2 = g(re, 2);
|
|
912
|
+
{
|
|
913
|
+
var P2 = ($) => {
|
|
914
|
+
var H = Ft(), ne = v(H), ie = v(ne), we = v(ie);
|
|
915
|
+
p(ie);
|
|
916
|
+
var j = g(ie, 2), W = v(j);
|
|
917
|
+
{
|
|
918
|
+
var xe = (d) => {
|
|
919
|
+
var h = Y(), w = G(h);
|
|
920
|
+
L(w, () => e()("scoreCriteriaType.mostRounds")), T(d, h);
|
|
921
|
+
};
|
|
922
|
+
R(W, (d) => {
|
|
923
|
+
l(m).scoreCriteria == "BetCount" && d(xe);
|
|
924
|
+
});
|
|
925
|
+
}
|
|
926
|
+
var Ge = g(W, 2);
|
|
927
|
+
{
|
|
928
|
+
var I2 = (d) => {
|
|
929
|
+
var h = Y(), w = G(h);
|
|
930
|
+
L(w, () => e()("scoreCriteriaType.winStakeRatio")), T(d, h);
|
|
931
|
+
};
|
|
932
|
+
R(Ge, (d) => {
|
|
933
|
+
l(m).scoreCriteria == "WinStakeRatio" && d(I2);
|
|
934
|
+
});
|
|
935
|
+
}
|
|
936
|
+
var qe = g(Ge, 2);
|
|
937
|
+
{
|
|
938
|
+
var H2 = (d) => {
|
|
939
|
+
var h = Y(), w = G(h);
|
|
940
|
+
L(w, () => e()("scoreCriteriaType.maxWinStakeRatio")), T(d, h);
|
|
941
|
+
};
|
|
942
|
+
R(qe, (d) => {
|
|
943
|
+
l(m).scoreCriteria == "MaxWinStakeRatio" && d(H2);
|
|
944
|
+
});
|
|
945
|
+
}
|
|
946
|
+
var Ne = g(qe, 2);
|
|
947
|
+
{
|
|
948
|
+
var A2 = (d) => {
|
|
949
|
+
var h = Y(), w = G(h);
|
|
950
|
+
L(w, () => e()("scoreCriteriaType.stake")), T(d, h);
|
|
951
|
+
};
|
|
952
|
+
R(Ne, (d) => {
|
|
953
|
+
l(m).scoreCriteria == "Stake" && d(A2);
|
|
954
|
+
});
|
|
955
|
+
}
|
|
956
|
+
var Xe = g(Ne, 2);
|
|
957
|
+
{
|
|
958
|
+
var $2 = (d) => {
|
|
959
|
+
var h = Y(), w = G(h);
|
|
960
|
+
L(w, () => e()("scoreCriteriaType.win")), T(d, h);
|
|
961
|
+
};
|
|
962
|
+
R(Xe, (d) => {
|
|
963
|
+
l(m).scoreCriteria == "Win" && d($2);
|
|
964
|
+
});
|
|
965
|
+
}
|
|
966
|
+
var j2 = g(Xe, 2);
|
|
967
|
+
{
|
|
968
|
+
var V2 = (d) => {
|
|
969
|
+
var h = Y(), w = G(h);
|
|
970
|
+
L(w, () => e()("scoreCriteriaType.winBetCount")), T(d, h);
|
|
971
|
+
};
|
|
972
|
+
R(j2, (d) => {
|
|
973
|
+
l(m).scoreCriteria == "WinBetCount" && d(V2);
|
|
974
|
+
});
|
|
975
|
+
}
|
|
976
|
+
p(j), p(ne);
|
|
977
|
+
var Se = g(ne, 2), _e = v(Se), Z2 = v(_e);
|
|
978
|
+
p(_e);
|
|
979
|
+
var Ye = g(_e, 2), z2 = v(Ye);
|
|
980
|
+
L(z2, () => e()("miniBetCount", { values: { betCount: l(m).minBetCount } })), p(Ye), p(Se);
|
|
981
|
+
var ke = g(Se, 2), Te = v(ke), D2 = v(Te);
|
|
982
|
+
p(Te);
|
|
983
|
+
var Je = g(Te, 2), U2 = v(Je);
|
|
984
|
+
L(U2, () => e()("timePeriod", {
|
|
985
|
+
values: {
|
|
986
|
+
startTime: c2(l(m).startTime),
|
|
987
|
+
endTime: c2(l(m).endTime)
|
|
988
|
+
}
|
|
989
|
+
})), p(Je), p(ke);
|
|
990
|
+
var Me = g(ke, 2), Oe = v(Me), F2 = v(Oe);
|
|
991
|
+
p(Oe);
|
|
992
|
+
var Ke = g(Oe, 2), W2 = v(Ke);
|
|
993
|
+
L(W2, () => e()("terms", { values: { tcUrl: l(m).termsUrl || "#" } })), p(Ke), p(Me);
|
|
994
|
+
var Qe = g(Me, 2);
|
|
995
|
+
{
|
|
996
|
+
var G2 = (d) => {
|
|
997
|
+
var h = zt(), w = v(h), Re = v(w);
|
|
998
|
+
p(w);
|
|
999
|
+
var ae = g(w, 2), oe = v(ae);
|
|
1000
|
+
L(oe, () => e()("forCasino"));
|
|
1001
|
+
var se = g(oe, 2), Ee = v(se, !0);
|
|
1002
|
+
p(se), p(ae), p(h), f(() => {
|
|
1003
|
+
U(Re, "src", Bt), pe(Ee, l(Ue));
|
|
1004
|
+
}), T(d, h);
|
|
1005
|
+
};
|
|
1006
|
+
R(Qe, (d) => {
|
|
1007
|
+
l(ee) && d(G2);
|
|
1008
|
+
});
|
|
1009
|
+
}
|
|
1010
|
+
var q2 = g(Qe, 2);
|
|
1011
|
+
{
|
|
1012
|
+
var N2 = (d) => {
|
|
1013
|
+
var h = Ut(), w = v(h), Re = v(w);
|
|
1014
|
+
p(w);
|
|
1015
|
+
var ae = g(w, 2), oe = v(ae);
|
|
1016
|
+
L(oe, () => e()("forSportsbook"));
|
|
1017
|
+
var se = g(oe, 2);
|
|
1018
|
+
pt(se, 21, () => l(he), vt, (Ee, X2) => {
|
|
1019
|
+
var Be = Dt(), Y2 = v(Be, !0);
|
|
1020
|
+
p(Be), f(() => pe(Y2, l(X2))), T(Ee, Be);
|
|
1021
|
+
}), p(se), p(ae), p(h), f(() => U(Re, "src", Lt)), T(d, h);
|
|
1022
|
+
};
|
|
1023
|
+
R(q2, (d) => {
|
|
1024
|
+
l(Q) && l(he).length && d(N2);
|
|
1025
|
+
});
|
|
1026
|
+
}
|
|
1027
|
+
p(H), f(() => {
|
|
1028
|
+
U(we, "src", At), U(Z2, "src", Ht), U(D2, "src", jt), U(F2, "src", $t);
|
|
1029
|
+
}), T($, H);
|
|
1030
|
+
};
|
|
1031
|
+
R(L2, ($) => {
|
|
1032
|
+
l(te) && $(P2);
|
|
1033
|
+
});
|
|
1034
|
+
}
|
|
1035
|
+
p(be);
|
|
1036
|
+
var We = g(be, 2), I = v(We);
|
|
1037
|
+
f(() => S(I, "endpoint", o())), f(() => S(I, "language", u())), f(() => S(I, "session", c())), f(() => S(I, "tournamentid", k())), f(() => S(I, "platform", y)), f(() => S(I, "initialGames", l(N))), f(() => S(I, "totalGames", l(X))), f(() => S(I, "tournamentMetadata", l(ue) || {})), f(() => S(I, "translationurl", O())), de(I, 1, "svelte-gxy8gu"), p(We), f(
|
|
1038
|
+
($) => {
|
|
1039
|
+
U(re, "aria-expanded", l(te)), pe(E2, $), U(B2, "src", l(te) ? Pt : It);
|
|
1040
|
+
},
|
|
1041
|
+
[() => e()("rules")]
|
|
1042
|
+
), T(s, _);
|
|
1043
|
+
};
|
|
1044
|
+
R(Fe, (s) => {
|
|
1045
|
+
l(m) && s(k2);
|
|
1046
|
+
});
|
|
1047
|
+
}
|
|
1048
|
+
var T2 = g(Fe, 2);
|
|
1049
|
+
{
|
|
1050
|
+
var M2 = (s) => {
|
|
1051
|
+
var _ = Gt();
|
|
1052
|
+
T(s, _);
|
|
1053
|
+
};
|
|
1054
|
+
R(T2, (s) => {
|
|
1055
|
+
l(q) && s(M2);
|
|
1056
|
+
});
|
|
1057
|
+
}
|
|
1058
|
+
p(ge), T(r, ge);
|
|
1059
|
+
var O2 = st(_2);
|
|
1060
|
+
return i(), O2;
|
|
1061
|
+
}
|
|
1062
|
+
et(["click"]);
|
|
1063
|
+
customElements.define("tournament-details-page", tt(
|
|
1064
|
+
Xt,
|
|
1065
|
+
{
|
|
1066
|
+
initialState: {},
|
|
1067
|
+
endpoint: {},
|
|
1068
|
+
language: {},
|
|
1069
|
+
session: {},
|
|
1070
|
+
tournamentid: {},
|
|
1071
|
+
gamesLimit: {},
|
|
1072
|
+
platformProp: {},
|
|
1073
|
+
translationurl: {}
|
|
1074
|
+
},
|
|
1075
|
+
[],
|
|
1076
|
+
[],
|
|
1077
|
+
!1
|
|
1078
|
+
));
|
|
1079
|
+
export {
|
|
1080
|
+
Xt as T,
|
|
1081
|
+
Rt as g
|
|
1082
|
+
};
|