@everymatrix/tournament-details-page 0.1.27 → 0.2.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/StatusBadge-BVcNxptf.cjs +8 -0
- package/components/StatusBadge-BnPuCJnO.js +7097 -0
- package/components/StatusBadge-CV5WC0Fx.cjs +8 -0
- package/components/StatusBadge-DKawANSc.js +7010 -0
- package/components/TournamentDetailsPage-Cy3rGC6M.cjs +27 -0
- package/components/TournamentDetailsPage-D4ZDEGSF.cjs +27 -0
- package/components/TournamentDetailsPage-DQ5X0Dqc.js +654 -0
- package/components/TournamentDetailsPage-LzqcZox2.js +691 -0
- package/components/TournamentDetailsSkeleton-CL0BOfFu.js +77 -0
- package/components/TournamentDetailsSkeleton-CpEie2Gb.cjs +15 -0
- package/components/TournamentDetailsSkeleton-CqfwFamx.js +77 -0
- package/components/TournamentDetailsSkeleton-u1WnYDq6.cjs +15 -0
- package/components/TournamentGames-B6UkeuiX.js +821 -0
- package/components/TournamentGames-CYxz1Jcl.cjs +34 -0
- package/components/TournamentGames-DO01jBJs.js +799 -0
- package/components/TournamentGames-Dt7xzVBn.cjs +34 -0
- package/components/TournamentImage-BeCXYKda.cjs +5 -0
- package/components/TournamentImage-BxaewAcW.js +177 -0
- package/components/TournamentImage-Cp5BEQ0s.js +180 -0
- package/components/TournamentImage-Dx0Km_cw.cjs +5 -0
- package/components/TournamentLeaderboard-BufvnLFX.js +1393 -0
- package/components/TournamentLeaderboard-D1mX3sal.cjs +38 -0
- package/components/TournamentLeaderboard-D9OPwUvy.cjs +38 -0
- package/components/TournamentLeaderboard-Dqbb_r0i.js +1451 -0
- package/components/TournamentRules-BbxvSZdU.cjs +6 -0
- package/components/TournamentRules-Bsxb9Asj.js +144 -0
- package/components/TournamentRules-DX1CVsV7.cjs +6 -0
- package/components/TournamentRules-SECANCVS.js +149 -0
- package/components/TournamentSummary-Ardxi8yJ.js +159 -0
- package/components/TournamentSummary-BGk055-K.cjs +3 -0
- package/components/TournamentSummary-CizBbtzd.cjs +3 -0
- package/components/TournamentSummary-Dnj0Cnzu.js +154 -0
- package/components/TournamentTabs-DEQtwaH4.cjs +4 -0
- package/components/TournamentTabs-DpLpOYtB.js +57 -0
- package/components/TournamentTabs-EGrABVKQ.cjs +4 -0
- package/components/TournamentTabs-FzkOjNA3.js +72 -0
- package/components/translations-BQS5XycD.js +146 -0
- package/components/translations-BSe2qToO.cjs +1 -0
- package/components/translations-DPzojb4V.js +146 -0
- package/components/translations-FufS-X5l.cjs +1 -0
- package/es2015/tournament-details-page.cjs +1 -1
- package/es2015/tournament-details-page.js +2 -2
- package/esnext/tournament-details-page.cjs +1 -1
- package/esnext/tournament-details-page.js +2 -2
- package/package.json +1 -1
- package/components/TournamentDetails-BZghU11I.js +0 -436
- package/components/TournamentDetails-C_DjsiRO.js +0 -435
- package/components/TournamentDetails-DJkyA6Vc.cjs +0 -3
- package/components/TournamentDetails-_CAwLQSz.cjs +0 -3
- package/components/TournamentDetailsPage-6wv_wZG8.js +0 -715
- package/components/TournamentDetailsPage-B3pa9l3K.cjs +0 -36
- package/components/TournamentDetailsPage-D4d6LK8N.js +0 -736
- package/components/TournamentDetailsPage-Wti3EW2y.cjs +0 -36
- package/components/TournamentGames-BitHaGk1.cjs +0 -51
- package/components/TournamentGames-CPAgktBV.cjs +0 -51
- package/components/TournamentGames-D0Vx9asc.js +0 -1025
- package/components/TournamentGames-D4Zol0Yj.js +0 -999
- package/components/TournamentLeaderboard-BH1mlCiD.cjs +0 -46
- package/components/TournamentLeaderboard-BefYxI8Y.cjs +0 -46
- package/components/TournamentLeaderboard-CpJXePmH.js +0 -8055
- package/components/TournamentLeaderboard-DKFSvo2X.js +0 -8164
|
@@ -1,1025 +0,0 @@
|
|
|
1
|
-
var Ee = (r, t, e) => new Promise((n, o) => {
|
|
2
|
-
var i = (p) => {
|
|
3
|
-
try {
|
|
4
|
-
u(e.next(p));
|
|
5
|
-
} catch (h) {
|
|
6
|
-
o(h);
|
|
7
|
-
}
|
|
8
|
-
}, s = (p) => {
|
|
9
|
-
try {
|
|
10
|
-
u(e.throw(p));
|
|
11
|
-
} catch (h) {
|
|
12
|
-
o(h);
|
|
13
|
-
}
|
|
14
|
-
}, u = (p) => p.done ? n(p.value) : Promise.resolve(p.value).then(i, s);
|
|
15
|
-
u((e = e.apply(r, t)).next());
|
|
16
|
-
});
|
|
17
|
-
import { d as St, a as Ne, p as Re, b as Pt, f as m, r as Tt, s as Ae, u as kt, h as Oe, i as H, j as Gt, M as Et, D as B, k as Y, t as W, n as M, m as R, J as c, x as w, y as ze, z as E, A, C as N, B as At, $ as Ot, E as C, F as b, G as jt, H as Bt, I as D, w as J, N as ee, O as te, P as re, Q as fe, R as de, S as Mt, q as je } from "./TournamentLeaderboard-DKFSvo2X.js";
|
|
18
|
-
typeof globalThis.HTMLElement == "undefined" && (globalThis.HTMLElement = class {
|
|
19
|
-
}, globalThis.customElements = { define() {
|
|
20
|
-
}, get() {
|
|
21
|
-
}, whenDefined() {
|
|
22
|
-
} });
|
|
23
|
-
/*! *****************************************************************************
|
|
24
|
-
Copyright (c) Microsoft Corporation.
|
|
25
|
-
|
|
26
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
27
|
-
purpose with or without fee is hereby granted.
|
|
28
|
-
|
|
29
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
30
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
31
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
32
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
33
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
34
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
35
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
36
|
-
***************************************************************************** */
|
|
37
|
-
var me = function(r, t) {
|
|
38
|
-
return me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, n) {
|
|
39
|
-
e.__proto__ = n;
|
|
40
|
-
} || function(e, n) {
|
|
41
|
-
for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
|
|
42
|
-
}, me(r, t);
|
|
43
|
-
};
|
|
44
|
-
function q(r, t) {
|
|
45
|
-
if (typeof t != "function" && t !== null)
|
|
46
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
47
|
-
me(r, t);
|
|
48
|
-
function e() {
|
|
49
|
-
this.constructor = r;
|
|
50
|
-
}
|
|
51
|
-
r.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
|
|
52
|
-
}
|
|
53
|
-
function be(r) {
|
|
54
|
-
var t = typeof Symbol == "function" && Symbol.iterator, e = t && r[t], n = 0;
|
|
55
|
-
if (e) return e.call(r);
|
|
56
|
-
if (r && typeof r.length == "number") return {
|
|
57
|
-
next: function() {
|
|
58
|
-
return r && n >= r.length && (r = void 0), { value: r && r[n++], done: !r };
|
|
59
|
-
}
|
|
60
|
-
};
|
|
61
|
-
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
62
|
-
}
|
|
63
|
-
function he(r, t) {
|
|
64
|
-
var e = typeof Symbol == "function" && r[Symbol.iterator];
|
|
65
|
-
if (!e) return r;
|
|
66
|
-
var n = e.call(r), o, i = [], s;
|
|
67
|
-
try {
|
|
68
|
-
for (; (t === void 0 || t-- > 0) && !(o = n.next()).done; ) i.push(o.value);
|
|
69
|
-
} catch (u) {
|
|
70
|
-
s = { error: u };
|
|
71
|
-
} finally {
|
|
72
|
-
try {
|
|
73
|
-
o && !o.done && (e = n.return) && e.call(n);
|
|
74
|
-
} finally {
|
|
75
|
-
if (s) throw s.error;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
return i;
|
|
79
|
-
}
|
|
80
|
-
function ye(r, t, e) {
|
|
81
|
-
if (arguments.length === 2) for (var n = 0, o = t.length, i; n < o; n++)
|
|
82
|
-
(i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
|
|
83
|
-
return r.concat(i || t);
|
|
84
|
-
}
|
|
85
|
-
function I(r) {
|
|
86
|
-
return typeof r == "function";
|
|
87
|
-
}
|
|
88
|
-
function Fe(r) {
|
|
89
|
-
var t = function(n) {
|
|
90
|
-
Error.call(n), n.stack = new Error().stack;
|
|
91
|
-
}, e = r(t);
|
|
92
|
-
return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
|
|
93
|
-
}
|
|
94
|
-
var ve = Fe(function(r) {
|
|
95
|
-
return function(e) {
|
|
96
|
-
r(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
|
97
|
-
` + e.map(function(n, o) {
|
|
98
|
-
return o + 1 + ") " + n.toString();
|
|
99
|
-
}).join(`
|
|
100
|
-
`) : "", this.name = "UnsubscriptionError", this.errors = e;
|
|
101
|
-
};
|
|
102
|
-
});
|
|
103
|
-
function ge(r, t) {
|
|
104
|
-
if (r) {
|
|
105
|
-
var e = r.indexOf(t);
|
|
106
|
-
0 <= e && r.splice(e, 1);
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
var ie = function() {
|
|
110
|
-
function r(t) {
|
|
111
|
-
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
112
|
-
}
|
|
113
|
-
return r.prototype.unsubscribe = function() {
|
|
114
|
-
var t, e, n, o, i;
|
|
115
|
-
if (!this.closed) {
|
|
116
|
-
this.closed = !0;
|
|
117
|
-
var s = this._parentage;
|
|
118
|
-
if (s)
|
|
119
|
-
if (this._parentage = null, Array.isArray(s))
|
|
120
|
-
try {
|
|
121
|
-
for (var u = be(s), p = u.next(); !p.done; p = u.next()) {
|
|
122
|
-
var h = p.value;
|
|
123
|
-
h.remove(this);
|
|
124
|
-
}
|
|
125
|
-
} catch (S) {
|
|
126
|
-
t = { error: S };
|
|
127
|
-
} finally {
|
|
128
|
-
try {
|
|
129
|
-
p && !p.done && (e = u.return) && e.call(u);
|
|
130
|
-
} finally {
|
|
131
|
-
if (t) throw t.error;
|
|
132
|
-
}
|
|
133
|
-
}
|
|
134
|
-
else
|
|
135
|
-
s.remove(this);
|
|
136
|
-
var v = this.initialTeardown;
|
|
137
|
-
if (I(v))
|
|
138
|
-
try {
|
|
139
|
-
v();
|
|
140
|
-
} catch (S) {
|
|
141
|
-
i = S instanceof ve ? S.errors : [S];
|
|
142
|
-
}
|
|
143
|
-
var x = this._finalizers;
|
|
144
|
-
if (x) {
|
|
145
|
-
this._finalizers = null;
|
|
146
|
-
try {
|
|
147
|
-
for (var O = be(x), f = O.next(); !f.done; f = O.next()) {
|
|
148
|
-
var z = f.value;
|
|
149
|
-
try {
|
|
150
|
-
Be(z);
|
|
151
|
-
} catch (S) {
|
|
152
|
-
i = i != null ? i : [], S instanceof ve ? i = ye(ye([], he(i)), he(S.errors)) : i.push(S);
|
|
153
|
-
}
|
|
154
|
-
}
|
|
155
|
-
} catch (S) {
|
|
156
|
-
n = { error: S };
|
|
157
|
-
} finally {
|
|
158
|
-
try {
|
|
159
|
-
f && !f.done && (o = O.return) && o.call(O);
|
|
160
|
-
} finally {
|
|
161
|
-
if (n) throw n.error;
|
|
162
|
-
}
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
if (i)
|
|
166
|
-
throw new ve(i);
|
|
167
|
-
}
|
|
168
|
-
}, r.prototype.add = function(t) {
|
|
169
|
-
var e;
|
|
170
|
-
if (t && t !== this)
|
|
171
|
-
if (this.closed)
|
|
172
|
-
Be(t);
|
|
173
|
-
else {
|
|
174
|
-
if (t instanceof r) {
|
|
175
|
-
if (t.closed || t._hasParent(this))
|
|
176
|
-
return;
|
|
177
|
-
t._addParent(this);
|
|
178
|
-
}
|
|
179
|
-
(this._finalizers = (e = this._finalizers) !== null && e !== void 0 ? e : []).push(t);
|
|
180
|
-
}
|
|
181
|
-
}, r.prototype._hasParent = function(t) {
|
|
182
|
-
var e = this._parentage;
|
|
183
|
-
return e === t || Array.isArray(e) && e.includes(t);
|
|
184
|
-
}, r.prototype._addParent = function(t) {
|
|
185
|
-
var e = this._parentage;
|
|
186
|
-
this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
|
|
187
|
-
}, r.prototype._removeParent = function(t) {
|
|
188
|
-
var e = this._parentage;
|
|
189
|
-
e === t ? this._parentage = null : Array.isArray(e) && ge(e, t);
|
|
190
|
-
}, r.prototype.remove = function(t) {
|
|
191
|
-
var e = this._finalizers;
|
|
192
|
-
e && ge(e, t), t instanceof r && t._removeParent(this);
|
|
193
|
-
}, r.EMPTY = function() {
|
|
194
|
-
var t = new r();
|
|
195
|
-
return t.closed = !0, t;
|
|
196
|
-
}(), r;
|
|
197
|
-
}(), Ue = ie.EMPTY;
|
|
198
|
-
function He(r) {
|
|
199
|
-
return r instanceof ie || r && "closed" in r && I(r.remove) && I(r.add) && I(r.unsubscribe);
|
|
200
|
-
}
|
|
201
|
-
function Be(r) {
|
|
202
|
-
I(r) ? r() : r.unsubscribe();
|
|
203
|
-
}
|
|
204
|
-
var Ct = {
|
|
205
|
-
Promise: void 0
|
|
206
|
-
}, Dt = {
|
|
207
|
-
setTimeout: function(r, t) {
|
|
208
|
-
for (var e = [], n = 2; n < arguments.length; n++)
|
|
209
|
-
e[n - 2] = arguments[n];
|
|
210
|
-
return setTimeout.apply(void 0, ye([r, t], he(e)));
|
|
211
|
-
},
|
|
212
|
-
clearTimeout: function(r) {
|
|
213
|
-
return clearTimeout(r);
|
|
214
|
-
},
|
|
215
|
-
delegate: void 0
|
|
216
|
-
};
|
|
217
|
-
function It(r) {
|
|
218
|
-
Dt.setTimeout(function() {
|
|
219
|
-
throw r;
|
|
220
|
-
});
|
|
221
|
-
}
|
|
222
|
-
function Me() {
|
|
223
|
-
}
|
|
224
|
-
function oe(r) {
|
|
225
|
-
r();
|
|
226
|
-
}
|
|
227
|
-
var Ye = function(r) {
|
|
228
|
-
q(t, r);
|
|
229
|
-
function t(e) {
|
|
230
|
-
var n = r.call(this) || this;
|
|
231
|
-
return n.isStopped = !1, e ? (n.destination = e, He(e) && e.add(n)) : n.destination = Nt, n;
|
|
232
|
-
}
|
|
233
|
-
return t.create = function(e, n, o) {
|
|
234
|
-
return new _e(e, n, o);
|
|
235
|
-
}, t.prototype.next = function(e) {
|
|
236
|
-
this.isStopped || this._next(e);
|
|
237
|
-
}, t.prototype.error = function(e) {
|
|
238
|
-
this.isStopped || (this.isStopped = !0, this._error(e));
|
|
239
|
-
}, t.prototype.complete = function() {
|
|
240
|
-
this.isStopped || (this.isStopped = !0, this._complete());
|
|
241
|
-
}, t.prototype.unsubscribe = function() {
|
|
242
|
-
this.closed || (this.isStopped = !0, r.prototype.unsubscribe.call(this), this.destination = null);
|
|
243
|
-
}, t.prototype._next = function(e) {
|
|
244
|
-
this.destination.next(e);
|
|
245
|
-
}, t.prototype._error = function(e) {
|
|
246
|
-
try {
|
|
247
|
-
this.destination.error(e);
|
|
248
|
-
} finally {
|
|
249
|
-
this.unsubscribe();
|
|
250
|
-
}
|
|
251
|
-
}, t.prototype._complete = function() {
|
|
252
|
-
try {
|
|
253
|
-
this.destination.complete();
|
|
254
|
-
} finally {
|
|
255
|
-
this.unsubscribe();
|
|
256
|
-
}
|
|
257
|
-
}, t;
|
|
258
|
-
}(ie), Lt = function() {
|
|
259
|
-
function r(t) {
|
|
260
|
-
this.partialObserver = t;
|
|
261
|
-
}
|
|
262
|
-
return r.prototype.next = function(t) {
|
|
263
|
-
var e = this.partialObserver;
|
|
264
|
-
if (e.next)
|
|
265
|
-
try {
|
|
266
|
-
e.next(t);
|
|
267
|
-
} catch (n) {
|
|
268
|
-
ne(n);
|
|
269
|
-
}
|
|
270
|
-
}, r.prototype.error = function(t) {
|
|
271
|
-
var e = this.partialObserver;
|
|
272
|
-
if (e.error)
|
|
273
|
-
try {
|
|
274
|
-
e.error(t);
|
|
275
|
-
} catch (n) {
|
|
276
|
-
ne(n);
|
|
277
|
-
}
|
|
278
|
-
else
|
|
279
|
-
ne(t);
|
|
280
|
-
}, r.prototype.complete = function() {
|
|
281
|
-
var t = this.partialObserver;
|
|
282
|
-
if (t.complete)
|
|
283
|
-
try {
|
|
284
|
-
t.complete();
|
|
285
|
-
} catch (e) {
|
|
286
|
-
ne(e);
|
|
287
|
-
}
|
|
288
|
-
}, r;
|
|
289
|
-
}(), _e = function(r) {
|
|
290
|
-
q(t, r);
|
|
291
|
-
function t(e, n, o) {
|
|
292
|
-
var i = r.call(this) || this, s;
|
|
293
|
-
return I(e) || !e ? s = {
|
|
294
|
-
next: e != null ? e : void 0,
|
|
295
|
-
error: n != null ? n : void 0,
|
|
296
|
-
complete: o != null ? o : void 0
|
|
297
|
-
} : s = e, i.destination = new Lt(s), i;
|
|
298
|
-
}
|
|
299
|
-
return t;
|
|
300
|
-
}(Ye);
|
|
301
|
-
function ne(r) {
|
|
302
|
-
It(r);
|
|
303
|
-
}
|
|
304
|
-
function Wt(r) {
|
|
305
|
-
throw r;
|
|
306
|
-
}
|
|
307
|
-
var Nt = {
|
|
308
|
-
closed: !0,
|
|
309
|
-
next: Me,
|
|
310
|
-
error: Wt,
|
|
311
|
-
complete: Me
|
|
312
|
-
}, Rt = function() {
|
|
313
|
-
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
314
|
-
}();
|
|
315
|
-
function zt(r) {
|
|
316
|
-
return r;
|
|
317
|
-
}
|
|
318
|
-
function Ft(r) {
|
|
319
|
-
return r.length === 0 ? zt : r.length === 1 ? r[0] : function(e) {
|
|
320
|
-
return r.reduce(function(n, o) {
|
|
321
|
-
return o(n);
|
|
322
|
-
}, e);
|
|
323
|
-
};
|
|
324
|
-
}
|
|
325
|
-
var Ce = function() {
|
|
326
|
-
function r(t) {
|
|
327
|
-
t && (this._subscribe = t);
|
|
328
|
-
}
|
|
329
|
-
return r.prototype.lift = function(t) {
|
|
330
|
-
var e = new r();
|
|
331
|
-
return e.source = this, e.operator = t, e;
|
|
332
|
-
}, r.prototype.subscribe = function(t, e, n) {
|
|
333
|
-
var o = this, i = Ht(t) ? t : new _e(t, e, n);
|
|
334
|
-
return oe(function() {
|
|
335
|
-
var s = o, u = s.operator, p = s.source;
|
|
336
|
-
i.add(u ? u.call(i, p) : p ? o._subscribe(i) : o._trySubscribe(i));
|
|
337
|
-
}), i;
|
|
338
|
-
}, r.prototype._trySubscribe = function(t) {
|
|
339
|
-
try {
|
|
340
|
-
return this._subscribe(t);
|
|
341
|
-
} catch (e) {
|
|
342
|
-
t.error(e);
|
|
343
|
-
}
|
|
344
|
-
}, r.prototype.forEach = function(t, e) {
|
|
345
|
-
var n = this;
|
|
346
|
-
return e = De(e), new e(function(o, i) {
|
|
347
|
-
var s = new _e({
|
|
348
|
-
next: function(u) {
|
|
349
|
-
try {
|
|
350
|
-
t(u);
|
|
351
|
-
} catch (p) {
|
|
352
|
-
i(p), s.unsubscribe();
|
|
353
|
-
}
|
|
354
|
-
},
|
|
355
|
-
error: i,
|
|
356
|
-
complete: o
|
|
357
|
-
});
|
|
358
|
-
n.subscribe(s);
|
|
359
|
-
});
|
|
360
|
-
}, r.prototype._subscribe = function(t) {
|
|
361
|
-
var e;
|
|
362
|
-
return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
|
|
363
|
-
}, r.prototype[Rt] = function() {
|
|
364
|
-
return this;
|
|
365
|
-
}, r.prototype.pipe = function() {
|
|
366
|
-
for (var t = [], e = 0; e < arguments.length; e++)
|
|
367
|
-
t[e] = arguments[e];
|
|
368
|
-
return Ft(t)(this);
|
|
369
|
-
}, r.prototype.toPromise = function(t) {
|
|
370
|
-
var e = this;
|
|
371
|
-
return t = De(t), new t(function(n, o) {
|
|
372
|
-
var i;
|
|
373
|
-
e.subscribe(function(s) {
|
|
374
|
-
return i = s;
|
|
375
|
-
}, function(s) {
|
|
376
|
-
return o(s);
|
|
377
|
-
}, function() {
|
|
378
|
-
return n(i);
|
|
379
|
-
});
|
|
380
|
-
});
|
|
381
|
-
}, r.create = function(t) {
|
|
382
|
-
return new r(t);
|
|
383
|
-
}, r;
|
|
384
|
-
}();
|
|
385
|
-
function De(r) {
|
|
386
|
-
var t;
|
|
387
|
-
return (t = r != null ? r : Ct.Promise) !== null && t !== void 0 ? t : Promise;
|
|
388
|
-
}
|
|
389
|
-
function Ut(r) {
|
|
390
|
-
return r && I(r.next) && I(r.error) && I(r.complete);
|
|
391
|
-
}
|
|
392
|
-
function Ht(r) {
|
|
393
|
-
return r && r instanceof Ye || Ut(r) && He(r);
|
|
394
|
-
}
|
|
395
|
-
var Yt = Fe(function(r) {
|
|
396
|
-
return function() {
|
|
397
|
-
r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
398
|
-
};
|
|
399
|
-
}), Je = function(r) {
|
|
400
|
-
q(t, r);
|
|
401
|
-
function t() {
|
|
402
|
-
var e = r.call(this) || this;
|
|
403
|
-
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
404
|
-
}
|
|
405
|
-
return t.prototype.lift = function(e) {
|
|
406
|
-
var n = new Ie(this, this);
|
|
407
|
-
return n.operator = e, n;
|
|
408
|
-
}, t.prototype._throwIfClosed = function() {
|
|
409
|
-
if (this.closed)
|
|
410
|
-
throw new Yt();
|
|
411
|
-
}, t.prototype.next = function(e) {
|
|
412
|
-
var n = this;
|
|
413
|
-
oe(function() {
|
|
414
|
-
var o, i;
|
|
415
|
-
if (n._throwIfClosed(), !n.isStopped) {
|
|
416
|
-
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
417
|
-
try {
|
|
418
|
-
for (var s = be(n.currentObservers), u = s.next(); !u.done; u = s.next()) {
|
|
419
|
-
var p = u.value;
|
|
420
|
-
p.next(e);
|
|
421
|
-
}
|
|
422
|
-
} catch (h) {
|
|
423
|
-
o = { error: h };
|
|
424
|
-
} finally {
|
|
425
|
-
try {
|
|
426
|
-
u && !u.done && (i = s.return) && i.call(s);
|
|
427
|
-
} finally {
|
|
428
|
-
if (o) throw o.error;
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
}
|
|
432
|
-
});
|
|
433
|
-
}, t.prototype.error = function(e) {
|
|
434
|
-
var n = this;
|
|
435
|
-
oe(function() {
|
|
436
|
-
if (n._throwIfClosed(), !n.isStopped) {
|
|
437
|
-
n.hasError = n.isStopped = !0, n.thrownError = e;
|
|
438
|
-
for (var o = n.observers; o.length; )
|
|
439
|
-
o.shift().error(e);
|
|
440
|
-
}
|
|
441
|
-
});
|
|
442
|
-
}, t.prototype.complete = function() {
|
|
443
|
-
var e = this;
|
|
444
|
-
oe(function() {
|
|
445
|
-
if (e._throwIfClosed(), !e.isStopped) {
|
|
446
|
-
e.isStopped = !0;
|
|
447
|
-
for (var n = e.observers; n.length; )
|
|
448
|
-
n.shift().complete();
|
|
449
|
-
}
|
|
450
|
-
});
|
|
451
|
-
}, t.prototype.unsubscribe = function() {
|
|
452
|
-
this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
|
|
453
|
-
}, Object.defineProperty(t.prototype, "observed", {
|
|
454
|
-
get: function() {
|
|
455
|
-
var e;
|
|
456
|
-
return ((e = this.observers) === null || e === void 0 ? void 0 : e.length) > 0;
|
|
457
|
-
},
|
|
458
|
-
enumerable: !1,
|
|
459
|
-
configurable: !0
|
|
460
|
-
}), t.prototype._trySubscribe = function(e) {
|
|
461
|
-
return this._throwIfClosed(), r.prototype._trySubscribe.call(this, e);
|
|
462
|
-
}, t.prototype._subscribe = function(e) {
|
|
463
|
-
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
464
|
-
}, t.prototype._innerSubscribe = function(e) {
|
|
465
|
-
var n = this, o = this, i = o.hasError, s = o.isStopped, u = o.observers;
|
|
466
|
-
return i || s ? Ue : (this.currentObservers = null, u.push(e), new ie(function() {
|
|
467
|
-
n.currentObservers = null, ge(u, e);
|
|
468
|
-
}));
|
|
469
|
-
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
470
|
-
var n = this, o = n.hasError, i = n.thrownError, s = n.isStopped;
|
|
471
|
-
o ? e.error(i) : s && e.complete();
|
|
472
|
-
}, t.prototype.asObservable = function() {
|
|
473
|
-
var e = new Ce();
|
|
474
|
-
return e.source = this, e;
|
|
475
|
-
}, t.create = function(e, n) {
|
|
476
|
-
return new Ie(e, n);
|
|
477
|
-
}, t;
|
|
478
|
-
}(Ce), Ie = function(r) {
|
|
479
|
-
q(t, r);
|
|
480
|
-
function t(e, n) {
|
|
481
|
-
var o = r.call(this) || this;
|
|
482
|
-
return o.destination = e, o.source = n, o;
|
|
483
|
-
}
|
|
484
|
-
return t.prototype.next = function(e) {
|
|
485
|
-
var n, o;
|
|
486
|
-
(o = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || o === void 0 || o.call(n, e);
|
|
487
|
-
}, t.prototype.error = function(e) {
|
|
488
|
-
var n, o;
|
|
489
|
-
(o = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || o === void 0 || o.call(n, e);
|
|
490
|
-
}, t.prototype.complete = function() {
|
|
491
|
-
var e, n;
|
|
492
|
-
(n = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || n === void 0 || n.call(e);
|
|
493
|
-
}, t.prototype._subscribe = function(e) {
|
|
494
|
-
var n, o;
|
|
495
|
-
return (o = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(e)) !== null && o !== void 0 ? o : Ue;
|
|
496
|
-
}, t;
|
|
497
|
-
}(Je), qe = {
|
|
498
|
-
now: function() {
|
|
499
|
-
return (qe.delegate || Date).now();
|
|
500
|
-
},
|
|
501
|
-
delegate: void 0
|
|
502
|
-
}, Jt = function(r) {
|
|
503
|
-
q(t, r);
|
|
504
|
-
function t(e, n, o) {
|
|
505
|
-
e === void 0 && (e = 1 / 0), n === void 0 && (n = 1 / 0), o === void 0 && (o = qe);
|
|
506
|
-
var i = r.call(this) || this;
|
|
507
|
-
return i._bufferSize = e, i._windowTime = n, i._timestampProvider = o, i._buffer = [], i._infiniteTimeWindow = !0, i._infiniteTimeWindow = n === 1 / 0, i._bufferSize = Math.max(1, e), i._windowTime = Math.max(1, n), i;
|
|
508
|
-
}
|
|
509
|
-
return t.prototype.next = function(e) {
|
|
510
|
-
var n = this, o = n.isStopped, i = n._buffer, s = n._infiniteTimeWindow, u = n._timestampProvider, p = n._windowTime;
|
|
511
|
-
o || (i.push(e), !s && i.push(u.now() + p)), this._trimBuffer(), r.prototype.next.call(this, e);
|
|
512
|
-
}, t.prototype._subscribe = function(e) {
|
|
513
|
-
this._throwIfClosed(), this._trimBuffer();
|
|
514
|
-
for (var n = this._innerSubscribe(e), o = this, i = o._infiniteTimeWindow, s = o._buffer, u = s.slice(), p = 0; p < u.length && !e.closed; p += i ? 1 : 2)
|
|
515
|
-
e.next(u[p]);
|
|
516
|
-
return this._checkFinalizedStatuses(e), n;
|
|
517
|
-
}, t.prototype._trimBuffer = function() {
|
|
518
|
-
var e = this, n = e._bufferSize, o = e._timestampProvider, i = e._buffer, s = e._infiniteTimeWindow, u = (s ? 1 : 2) * n;
|
|
519
|
-
if (n < 1 / 0 && u < i.length && i.splice(0, i.length - u), !s) {
|
|
520
|
-
for (var p = o.now(), h = 0, v = 1; v < i.length && i[v] <= p; v += 2)
|
|
521
|
-
h = v;
|
|
522
|
-
h && i.splice(0, h + 1);
|
|
523
|
-
}
|
|
524
|
-
}, t;
|
|
525
|
-
}(Je);
|
|
526
|
-
const qt = {
|
|
527
|
-
en: {
|
|
528
|
-
previousButton: "Previous",
|
|
529
|
-
nextButton: "Next",
|
|
530
|
-
casinoTab: "Casino",
|
|
531
|
-
sportsbookTab: "Sportsbook",
|
|
532
|
-
gamesDescriptionTitle: "Participating games",
|
|
533
|
-
gamesDescriptionSubtitle: "Discover the games",
|
|
534
|
-
sportsRulesParseError: "Error parsing tournament rules",
|
|
535
|
-
noAvailableGames: "No games have been configured yet!"
|
|
536
|
-
},
|
|
537
|
-
tr: {
|
|
538
|
-
previousButton: "Önceki",
|
|
539
|
-
nextButton: "Sonraki",
|
|
540
|
-
casinoTab: "Casino",
|
|
541
|
-
sportsbookTab: "Spor Bahisleri",
|
|
542
|
-
gamesDescriptionTitle: "Katılımcı oyunlar",
|
|
543
|
-
gamesDescriptionSubtitle: "Oyunları keşfedin",
|
|
544
|
-
sportsRulesParseError: "Turnuva kuralları ayrıştırma hatası",
|
|
545
|
-
noAvailableGames: "Henüz oyun yapılandırılmamış!"
|
|
546
|
-
},
|
|
547
|
-
da: {
|
|
548
|
-
previousButton: "Forrige",
|
|
549
|
-
nextButton: "Næste",
|
|
550
|
-
casinoTab: "Casino",
|
|
551
|
-
sportsbookTab: "Sportsbook",
|
|
552
|
-
gamesDescriptionTitle: "Deltagende spil",
|
|
553
|
-
gamesDescriptionSubtitle: "Opdag spillene",
|
|
554
|
-
sportsRulesParseError: "Fejl ved parsing af turneringsregler",
|
|
555
|
-
noAvailableGames: "Der er endnu ikke konfigureret nogen spil!"
|
|
556
|
-
}
|
|
557
|
-
}, Le = [], We = {}, Kt = (r, t = 0) => {
|
|
558
|
-
if (Le.indexOf(r) == -1) {
|
|
559
|
-
const e = new Jt(t);
|
|
560
|
-
We[r] = e, Le.push(r);
|
|
561
|
-
}
|
|
562
|
-
return We[r];
|
|
563
|
-
};
|
|
564
|
-
typeof window != "undefined" && (window.emWidgets = { topic: Kt });
|
|
565
|
-
const Qt = (r) => r.toLowerCase().match(/android/i) ? "Android" : r.toLowerCase().match(/iphone/i) ? "iPhone" : r.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
566
|
-
String(Number.MAX_SAFE_INTEGER).length;
|
|
567
|
-
var Vt = A('<div class="TournamentGamesTabs svelte-2ya82b"><button> </button> <button> </button></div>'), Xt = A('<p class="svelte-2ya82b"> </p>'), Zt = A("<div></div>"), $t = A('<div class="TournamentGameThumbnailSkeleton svelte-2ya82b"></div>'), er = A("<p> </p>"), tr = A('<div class="TournamentGameThumbnail svelte-2ya82b"><div class="ImageContainer svelte-2ya82b"><img class="svelte-2ya82b"/> <div class="PlayButtonOverlay svelte-2ya82b"><button class="PlayGameButton svelte-2ya82b"> </button></div></div></div>'), rr = A('<span class="PaginationButton Elipsis svelte-2ya82b">...</span>'), nr = A("<button> </button>"), or = A('<div><button class="PaginationButton svelte-2ya82b"> </button> <div class="PageNumberWrapper svelte-2ya82b"></div> <button class="PaginationButton svelte-2ya82b"> </button></div>'), ir = A('<div class="PaginationSkeleton svelte-2ya82b"><div class="PaginationSkeletonButton svelte-2ya82b"></div> <div class="PaginationNumberSkeleton svelte-2ya82b"></div> <div class="PaginationNumberSkeleton svelte-2ya82b"></div> <div class="PaginationNumberSkeleton svelte-2ya82b"></div> <div class="PaginationNumberSkeleton svelte-2ya82b"></div> <div class="PaginationNumberSkeleton svelte-2ya82b"></div> <div class="PaginationSkeletonButton svelte-2ya82b"></div></div>'), ar = A('<div class="TournamentGamesWrapper svelte-2ya82b"><div class="GamesDescription svelte-2ya82b"><p class="GamesDescriptionTitle svelte-2ya82b"> </p> <p class="GamesDescriptionSubTitle svelte-2ya82b"> </p></div> <!> <!> <div><!></div> <!> <!></div>');
|
|
568
|
-
const sr = {
|
|
569
|
-
hash: "svelte-2ya82b",
|
|
570
|
-
code: `.svelte-2ya82b,
|
|
571
|
-
.svelte-2ya82b::before,
|
|
572
|
-
.svelte-2ya82b::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;}.GamesDescription.svelte-2ya82b {display:flex;flex-direction:column;gap:6px;margin:10px 0;.GamesDescriptionTitle:where(.svelte-2ya82b) {color:var(--emw-color-typography, #ffffff);font-size:16px;font-weight:600;}.GamesDescriptionSubTitle:where(.svelte-2ya82b) {color:var(--emw-color-typography, #ffffff);font-size:14px;font-weight:200;}}.TournamentGamesTabs.svelte-2ya82b {display:flex;border-radius:50px;background-color:var(--emw-color-bg-section, #434343);padding:6px;margin-bottom:6px;width:100%;justify-content:center;.Tab:where(.svelte-2ya82b) {padding:5px 20px;color:var(--emw-color-typography, #ffffff);width:100%;border-radius:50px;background-color:transparent;border:none;cursor:pointer;}.Active:where(.svelte-2ya82b) {background-color:var(--emw-color-bg-elements, #4A4A4A);border:none;}}.TournamentRulesWrapper.svelte-2ya82b {display:flex;flex-direction:column;color:var(--emw-color-typography, #ffffff);font-size:14px;font-weight:400;margin:10px 0;min-height:150px;}.TournamentGamesWrapper.svelte-2ya82b {display:flex;flex-direction:column;gap:10px;background-color:var(--emw-color-bg-secondary, #333232);padding:10px;border-radius:6px;}.TournamentGamesContainer.svelte-2ya82b {display:grid;gap:12px;grid-template-columns:repeat(auto-fill, minmax(min(170px, 100%), 1fr));.TournamentGameThumbnailSkeleton:where(.svelte-2ya82b) {position:relative;width:100%;aspect-ratio:4 / 3;overflow:hidden;border-radius:6px;background:linear-gradient(
|
|
573
|
-
to top,
|
|
574
|
-
var(--emw-color-primary, #FF1D4E),
|
|
575
|
-
transparent
|
|
576
|
-
);background-size:100% 200%;
|
|
577
|
-
animation: svelte-2ya82b-pulse 1.5s ease-in-out infinite;}.ImageContainer:where(.svelte-2ya82b) {position:relative;width:100%;aspect-ratio:4 / 3;overflow:hidden;border-radius:6px;}img:where(.svelte-2ya82b) {position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;border-radius:6px;}.PlayButtonOverlay:where(.svelte-2ya82b) {position:absolute;top:0;left:0;bottom:0;right:0;background-color:rgba(0, 0, 0, 0.6);display:flex;justify-content:center;align-items:center;opacity:0;&:hover {opacity:1;transition:opacity 0.5s;}.PlayGameButton:where(.svelte-2ya82b) {background-color:var(--emw-color-primary, #FF1D4E);border-radius:6px;color:var(--emw-color-typography, #ffffff);padding:10px;border:none;outline:none;min-width:50%;cursor:pointer;&:hover {background-color:var(--emw-color-primary-hover, #ff3a65);cursor:pointer;}&:active {transform:scale(0.9);}}}}.PaginationWrapper.svelte-2ya82b {display:flex;justify-content:space-between;.PageNumberWrapper:where(.svelte-2ya82b) {display:flex;gap:3px;}.PaginationButton:where(.svelte-2ya82b) {background-color:var(--emw-color-bg-section, #434343);color:var(--emw-color-typography, #ffffff);border-radius:6px;border:none;outline:none;padding:10px;width:auto;cursor:pointer;&.Number {background-color:transparent;min-width:0;padding:0 10px;}&:hover {background-color:var(--emw-color-bg-elements, #4A4A4A);cursor:pointer;}&:active {transform:scale(0.9);}&:disabled {opacity:60%;pointer-events:none;}&.Active {background-color:var(--emw-color-bg-elements, #4A4A4A);}&.Elipsis {pointer-events:none;background-color:transparent;min-width:0;padding:0;align-self:center;}}}.NoGamesAvailable.svelte-2ya82b {color:var(--emw-color-typography, #ffffff);font-size:14px;font-weight:300;}.PaginationSkeleton.svelte-2ya82b {display:flex;justify-content:space-between;gap:6px;.PaginationSkeletonButton:where(.svelte-2ya82b) {width:60px;height:35px;border-radius:6px;background-color:var(--emw-color-skeleton, #535353);overflow:hidden;position:relative;
|
|
578
|
-
animation: svelte-2ya82b-pulse 1s infinite;}.PaginationNumberSkeleton:where(.svelte-2ya82b) {width:40px;height:35px;border-radius:6px;background-color:var(--emw-color-skeleton, #535353);overflow:hidden;position:relative;
|
|
579
|
-
animation: svelte-2ya82b-pulse 1s infinite;}}
|
|
580
|
-
|
|
581
|
-
@keyframes svelte-2ya82b-pulse {
|
|
582
|
-
0% {
|
|
583
|
-
opacity: 0;
|
|
584
|
-
}
|
|
585
|
-
50% {
|
|
586
|
-
opacity: 1;
|
|
587
|
-
}
|
|
588
|
-
100% {
|
|
589
|
-
opacity: 0;
|
|
590
|
-
}
|
|
591
|
-
}
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
@media (min-width: 750px) {.TournamentGamesTabs.svelte-2ya82b {width:fit-content;}.PaginationWrapper.svelte-2ya82b, .PaginationSkeleton.svelte-2ya82b {justify-content:end;gap:10px;}.PaginationButton.svelte-2ya82b {min-width:75px;}.PaginationSkeleton.svelte-2ya82b {justify-content:end;gap:10px;.PaginationSkeletonButton:where(.svelte-2ya82b) {width:auto;min-width:55px;}.PaginationNumberSkeleton:where(.svelte-2ya82b) {width:35px;}}
|
|
595
|
-
|
|
596
|
-
}
|
|
597
|
-
|
|
598
|
-
@media (max-width: 475px) {.TournamentGamesContainer.svelte-2ya82b {gap:5px;grid-template-columns:repeat(auto-fill, minmax(min(150px, 100%), 1fr));}.PaginationWrapper.svelte-2ya82b {& .PaginationButton:where(.svelte-2ya82b) {font-size:11px;&.Number {font-size:11px;}}}.TournamentGamesTabs.svelte-2ya82b {font-size:12px;}
|
|
599
|
-
}
|
|
600
|
-
|
|
601
|
-
@media (max-width: 380px) {.TournamentGamesContainer.svelte-2ya82b {grid-template-columns:repeat(auto-fill, minmax(min(145px, 100%), 1fr));}
|
|
602
|
-
}
|
|
603
|
-
|
|
604
|
-
@media (min-width: 1500px) {.TournamentGamesContainer.svelte-2ya82b {gap:5px;grid-template-columns:repeat(auto-fill, minmax(min(215px, 100%), 1fr));}
|
|
605
|
-
}.Hidden.svelte-2ya82b {display:none;}`
|
|
606
|
-
};
|
|
607
|
-
function Ke(r, t) {
|
|
608
|
-
var ke;
|
|
609
|
-
Re(t, !0), Pt(r, sr);
|
|
610
|
-
const e = () => At(Ot, "$_", n), [n, o] = jt(), i = m(t, "initialGames"), s = m(t, "endpoint"), u = m(t, "language", 7, "en"), p = m(t, "session"), h = m(t, "tournamentid"), v = m(t, "gamesLimit", 7, 6), x = m(t, "totalGames"), O = m(t, "platformProp", 7, null), f = m(t, "tournamentMetadata"), z = m(t, "translationurl");
|
|
611
|
-
Tt(qt), Ae(u());
|
|
612
|
-
const S = () => {
|
|
613
|
-
Ae(u());
|
|
614
|
-
};
|
|
615
|
-
kt(() => {
|
|
616
|
-
z() && Bt(z());
|
|
617
|
-
}), Oe(() => {
|
|
618
|
-
S();
|
|
619
|
-
});
|
|
620
|
-
let ae = H(Gt(i() || [])), K = H(!1), T = H(0), Q = H(void 0), V = H(!0);
|
|
621
|
-
const Ve = Et() ? (ke = O()) != null ? ke : "dk" : Qt(window.navigator.userAgent), se = () => Ee(this, null, function* () {
|
|
622
|
-
var a;
|
|
623
|
-
if (!le.has(c(X))) {
|
|
624
|
-
E(K, !0);
|
|
625
|
-
try {
|
|
626
|
-
const l = yield Mt({
|
|
627
|
-
endpoint: s(),
|
|
628
|
-
language: u(),
|
|
629
|
-
platform: Ve,
|
|
630
|
-
session: p(),
|
|
631
|
-
tournamentid: h(),
|
|
632
|
-
filterById: !0,
|
|
633
|
-
gamesLimit: v(),
|
|
634
|
-
gamesOffset: c(T)
|
|
635
|
-
});
|
|
636
|
-
E(ae, (a = l == null ? void 0 : l.games) == null ? void 0 : a.items, !0), le.set(c(X), c(ae)), c(V) || E(V, !0);
|
|
637
|
-
} catch (l) {
|
|
638
|
-
console.log(l);
|
|
639
|
-
} finally {
|
|
640
|
-
E(K, !1);
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
}), Xe = () => {
|
|
644
|
-
const a = Math.ceil(x() / v()), l = Math.floor(c(T) / v()) + 1;
|
|
645
|
-
if (a <= 5)
|
|
646
|
-
return Array.from({ length: a }, (y, _) => _ + 1);
|
|
647
|
-
const d = [];
|
|
648
|
-
return d.push(1), l <= 3 ? (d.push(2, 3), d.push("..."), d.push(a)) : l >= a - 2 ? (d.push("..."), d.push(a - 2, a - 1, a)) : (d.push("..."), d.push(l - 1, l, l + 1), d.push("..."), d.push(a)), d;
|
|
649
|
-
}, Ze = () => {
|
|
650
|
-
c(T) < x() && (E(T, c(T) + v()), se());
|
|
651
|
-
}, $e = () => {
|
|
652
|
-
c(T) !== 0 && (E(T, c(T) - v()), se());
|
|
653
|
-
}, et = (a) => {
|
|
654
|
-
E(T, (a - 1) * v()), se();
|
|
655
|
-
}, tt = ee(Xe), X = ee(() => Math.floor(c(T) / v()) + 1);
|
|
656
|
-
let le = /* @__PURE__ */ new Map([[1, i()]]), rt = ee(() => {
|
|
657
|
-
var a;
|
|
658
|
-
return (a = le.get(c(X))) != null ? a : [];
|
|
659
|
-
}), L = H("casino");
|
|
660
|
-
const nt = () => {
|
|
661
|
-
var d;
|
|
662
|
-
if (!f()) return;
|
|
663
|
-
const a = (d = f().sports) == null ? void 0 : d.rules;
|
|
664
|
-
let l;
|
|
665
|
-
if (a)
|
|
666
|
-
try {
|
|
667
|
-
l = JSON.parse(a), E(Q, l[u()] || l["*"], !0);
|
|
668
|
-
} catch (y) {
|
|
669
|
-
console.log(y), E(Q, `${e()("sportsRulesParseError")}`);
|
|
670
|
-
}
|
|
671
|
-
}, ot = (a) => {
|
|
672
|
-
window.postMessage(
|
|
673
|
-
{
|
|
674
|
-
type: "Tournaments:PlayGame",
|
|
675
|
-
launchUrl: a.launchUrl,
|
|
676
|
-
id: a.gameId,
|
|
677
|
-
thumbnail: a.thumbnail,
|
|
678
|
-
name: a.name
|
|
679
|
-
},
|
|
680
|
-
window.location.href
|
|
681
|
-
);
|
|
682
|
-
};
|
|
683
|
-
Oe(() => {
|
|
684
|
-
Object.keys(f()).length !== 0 && nt();
|
|
685
|
-
});
|
|
686
|
-
var it = {
|
|
687
|
-
get initialGames() {
|
|
688
|
-
return i();
|
|
689
|
-
},
|
|
690
|
-
set initialGames(a) {
|
|
691
|
-
i(a), b();
|
|
692
|
-
},
|
|
693
|
-
get endpoint() {
|
|
694
|
-
return s();
|
|
695
|
-
},
|
|
696
|
-
set endpoint(a) {
|
|
697
|
-
s(a), b();
|
|
698
|
-
},
|
|
699
|
-
get language() {
|
|
700
|
-
return u();
|
|
701
|
-
},
|
|
702
|
-
set language(a = "en") {
|
|
703
|
-
u(a), b();
|
|
704
|
-
},
|
|
705
|
-
get session() {
|
|
706
|
-
return p();
|
|
707
|
-
},
|
|
708
|
-
set session(a) {
|
|
709
|
-
p(a), b();
|
|
710
|
-
},
|
|
711
|
-
get tournamentid() {
|
|
712
|
-
return h();
|
|
713
|
-
},
|
|
714
|
-
set tournamentid(a) {
|
|
715
|
-
h(a), b();
|
|
716
|
-
},
|
|
717
|
-
get gamesLimit() {
|
|
718
|
-
return v();
|
|
719
|
-
},
|
|
720
|
-
set gamesLimit(a = 6) {
|
|
721
|
-
v(a), b();
|
|
722
|
-
},
|
|
723
|
-
get totalGames() {
|
|
724
|
-
return x();
|
|
725
|
-
},
|
|
726
|
-
set totalGames(a) {
|
|
727
|
-
x(a), b();
|
|
728
|
-
},
|
|
729
|
-
get platformProp() {
|
|
730
|
-
return O();
|
|
731
|
-
},
|
|
732
|
-
set platformProp(a = null) {
|
|
733
|
-
O(a), b();
|
|
734
|
-
},
|
|
735
|
-
get tournamentMetadata() {
|
|
736
|
-
return f();
|
|
737
|
-
},
|
|
738
|
-
set tournamentMetadata(a) {
|
|
739
|
-
f(a), b();
|
|
740
|
-
},
|
|
741
|
-
get translationurl() {
|
|
742
|
-
return z();
|
|
743
|
-
},
|
|
744
|
-
set translationurl(a) {
|
|
745
|
-
z(a), b();
|
|
746
|
-
}
|
|
747
|
-
}, ue = ar(), ce = N(ue), we = N(ce), at = C(we, !0), st = B(we, 2), lt = C(st, !0);
|
|
748
|
-
D(ce);
|
|
749
|
-
var xe = B(ce, 2);
|
|
750
|
-
{
|
|
751
|
-
var ut = (a) => {
|
|
752
|
-
var l = Vt(), d = N(l);
|
|
753
|
-
let y;
|
|
754
|
-
var _ = C(d, !0), g = B(d, 2);
|
|
755
|
-
let k;
|
|
756
|
-
var P = C(g, !0);
|
|
757
|
-
D(l), W(
|
|
758
|
-
(G, j) => {
|
|
759
|
-
y = R(d, 1, "Tab svelte-2ya82b", null, y, { Active: c(L) === "casino" }), M(_, G), k = R(g, 1, "Tab svelte-2ya82b", null, k, { Active: c(L) === "sports" }), M(P, j);
|
|
760
|
-
},
|
|
761
|
-
[() => e()("casinoTab"), () => e()("sportsbookTab")]
|
|
762
|
-
), J("click", d, () => E(L, "casino")), J("click", g, () => E(L, "sports")), w(a, l);
|
|
763
|
-
}, ct = ee(() => Object.keys(f()).length !== 0);
|
|
764
|
-
Y(xe, (a) => {
|
|
765
|
-
c(ct) && a(ut);
|
|
766
|
-
});
|
|
767
|
-
}
|
|
768
|
-
var Se = B(xe, 2);
|
|
769
|
-
{
|
|
770
|
-
var pt = (a) => {
|
|
771
|
-
var l = Zt();
|
|
772
|
-
let d;
|
|
773
|
-
te(l, 21, () => c(Q), re, (y, _) => {
|
|
774
|
-
var g = Xt(), k = C(g);
|
|
775
|
-
W((P) => {
|
|
776
|
-
var G;
|
|
777
|
-
return M(k, `${(G = c(_).rule) != null ? G : ""} ${P != null ? P : ""}`);
|
|
778
|
-
}, [() => e()("contribution")]), w(y, g);
|
|
779
|
-
}), D(l), W(() => d = R(l, 1, "TournamentRulesWrapper svelte-2ya82b", null, d, { Hidden: c(L) === "casino" })), w(a, l);
|
|
780
|
-
};
|
|
781
|
-
Y(Se, (a) => {
|
|
782
|
-
c(Q) && a(pt);
|
|
783
|
-
});
|
|
784
|
-
}
|
|
785
|
-
var Z = B(Se, 2);
|
|
786
|
-
let Pe;
|
|
787
|
-
var ft = N(Z);
|
|
788
|
-
{
|
|
789
|
-
var dt = (a) => {
|
|
790
|
-
var l = fe(), d = de(l);
|
|
791
|
-
te(d, 17, () => Array(v()), re, (y, _, g, k) => {
|
|
792
|
-
var P = $t();
|
|
793
|
-
w(y, P);
|
|
794
|
-
}), w(a, l);
|
|
795
|
-
}, vt = (a) => {
|
|
796
|
-
var l = er();
|
|
797
|
-
let d;
|
|
798
|
-
var y = C(l, !0);
|
|
799
|
-
W(
|
|
800
|
-
(_) => {
|
|
801
|
-
d = R(l, 1, "NoGamesAvailable svelte-2ya82b", null, d, { Hidden: c(L) === "sports" }), M(y, _);
|
|
802
|
-
},
|
|
803
|
-
[() => e()("noAvailableGames")]
|
|
804
|
-
), w(a, l);
|
|
805
|
-
}, mt = (a) => {
|
|
806
|
-
var l = fe(), d = de(l);
|
|
807
|
-
te(d, 17, () => c(rt), re, (y, _) => {
|
|
808
|
-
var g = tr(), k = N(g), P = N(k), G = B(P, 2), j = N(G), $ = C(j, !0);
|
|
809
|
-
D(G), D(k), D(g), W(
|
|
810
|
-
(pe) => {
|
|
811
|
-
je(P, "src", `https:${c(_).thumbnail}`), je(P, "alt", c(_).name), M($, pe);
|
|
812
|
-
},
|
|
813
|
-
[() => e()("play")]
|
|
814
|
-
), J("click", g, () => ot(c(_))), w(y, g);
|
|
815
|
-
}), w(a, l);
|
|
816
|
-
};
|
|
817
|
-
Y(ft, (a) => {
|
|
818
|
-
var l;
|
|
819
|
-
c(K) ? a(dt) : !c(K) && ((l = c(ae)) == null ? void 0 : l.length) === 0 ? a(vt, 1) : a(mt, -1);
|
|
820
|
-
});
|
|
821
|
-
}
|
|
822
|
-
D(Z);
|
|
823
|
-
var Te = B(Z, 2);
|
|
824
|
-
{
|
|
825
|
-
var bt = (a) => {
|
|
826
|
-
var l = or();
|
|
827
|
-
let d;
|
|
828
|
-
var y = N(l), _ = C(y, !0), g = B(y, 2);
|
|
829
|
-
te(g, 21, () => c(tt), re, (G, j) => {
|
|
830
|
-
var $ = fe(), pe = de($);
|
|
831
|
-
{
|
|
832
|
-
var _t = (F) => {
|
|
833
|
-
var U = rr();
|
|
834
|
-
w(F, U);
|
|
835
|
-
}, wt = (F) => {
|
|
836
|
-
var U = nr();
|
|
837
|
-
let Ge;
|
|
838
|
-
var xt = C(U, !0);
|
|
839
|
-
W(() => {
|
|
840
|
-
Ge = R(U, 1, "PaginationButton Number svelte-2ya82b", null, Ge, { Active: c(j) === c(X) }), M(xt, c(j));
|
|
841
|
-
}), J("click", U, () => et(c(j))), w(F, U);
|
|
842
|
-
};
|
|
843
|
-
Y(pe, (F) => {
|
|
844
|
-
typeof c(j) != "number" ? F(_t) : F(wt, -1);
|
|
845
|
-
});
|
|
846
|
-
}
|
|
847
|
-
w(G, $);
|
|
848
|
-
}), D(g);
|
|
849
|
-
var k = B(g, 2), P = C(k, !0);
|
|
850
|
-
D(l), W(
|
|
851
|
-
(G, j) => {
|
|
852
|
-
d = R(l, 1, "PaginationWrapper svelte-2ya82b", null, d, { Hidden: c(L) === "sports" }), y.disabled = c(T) === 0, M(_, G), k.disabled = c(T) >= x() - v(), M(P, j);
|
|
853
|
-
},
|
|
854
|
-
[() => e()("previousButton"), () => e()("nextButton")]
|
|
855
|
-
), J("click", y, $e), J("click", k, Ze), w(a, l);
|
|
856
|
-
};
|
|
857
|
-
Y(Te, (a) => {
|
|
858
|
-
c(V) && x() > v() && a(bt);
|
|
859
|
-
});
|
|
860
|
-
}
|
|
861
|
-
var ht = B(Te, 2);
|
|
862
|
-
{
|
|
863
|
-
var yt = (a) => {
|
|
864
|
-
var l = ir();
|
|
865
|
-
w(a, l);
|
|
866
|
-
};
|
|
867
|
-
Y(ht, (a) => {
|
|
868
|
-
c(V) || a(yt);
|
|
869
|
-
});
|
|
870
|
-
}
|
|
871
|
-
D(ue), W(
|
|
872
|
-
(a, l) => {
|
|
873
|
-
M(at, a), M(lt, l), Pe = R(Z, 1, "TournamentGamesContainer svelte-2ya82b", null, Pe, { Hidden: c(L) === "sports" });
|
|
874
|
-
},
|
|
875
|
-
[
|
|
876
|
-
() => e()("gamesDescriptionTitle"),
|
|
877
|
-
() => e()("gamesDescriptionSubtitle")
|
|
878
|
-
]
|
|
879
|
-
), w(r, ue);
|
|
880
|
-
var gt = ze(it);
|
|
881
|
-
return o(), gt;
|
|
882
|
-
}
|
|
883
|
-
St(["click"]);
|
|
884
|
-
Ne(
|
|
885
|
-
Ke,
|
|
886
|
-
{
|
|
887
|
-
initialGames: {},
|
|
888
|
-
endpoint: {},
|
|
889
|
-
language: {},
|
|
890
|
-
session: {},
|
|
891
|
-
tournamentid: {},
|
|
892
|
-
gamesLimit: {},
|
|
893
|
-
totalGames: {},
|
|
894
|
-
platformProp: {},
|
|
895
|
-
tournamentMetadata: {},
|
|
896
|
-
translationurl: {}
|
|
897
|
-
},
|
|
898
|
-
[],
|
|
899
|
-
[],
|
|
900
|
-
{ mode: "open" }
|
|
901
|
-
);
|
|
902
|
-
function Qe(r, t) {
|
|
903
|
-
Re(t, !0);
|
|
904
|
-
let e = m(t, "initialGames"), n = m(t, "endpoint"), o = m(t, "language", 7, "en"), i = m(t, "session"), s = m(t, "tournamentid"), u = m(t, "gamesLimit", 7, 6), p = m(t, "totalGames"), h = m(t, "platformProp", 7, null), v = m(t, "tournamentMetadata"), x = m(t, "translationurl");
|
|
905
|
-
var O = {
|
|
906
|
-
get initialGames() {
|
|
907
|
-
return e();
|
|
908
|
-
},
|
|
909
|
-
set initialGames(f) {
|
|
910
|
-
e(f), b();
|
|
911
|
-
},
|
|
912
|
-
get endpoint() {
|
|
913
|
-
return n();
|
|
914
|
-
},
|
|
915
|
-
set endpoint(f) {
|
|
916
|
-
n(f), b();
|
|
917
|
-
},
|
|
918
|
-
get language() {
|
|
919
|
-
return o();
|
|
920
|
-
},
|
|
921
|
-
set language(f = "en") {
|
|
922
|
-
o(f), b();
|
|
923
|
-
},
|
|
924
|
-
get session() {
|
|
925
|
-
return i();
|
|
926
|
-
},
|
|
927
|
-
set session(f) {
|
|
928
|
-
i(f), b();
|
|
929
|
-
},
|
|
930
|
-
get tournamentid() {
|
|
931
|
-
return s();
|
|
932
|
-
},
|
|
933
|
-
set tournamentid(f) {
|
|
934
|
-
s(f), b();
|
|
935
|
-
},
|
|
936
|
-
get gamesLimit() {
|
|
937
|
-
return u();
|
|
938
|
-
},
|
|
939
|
-
set gamesLimit(f = 6) {
|
|
940
|
-
u(f), b();
|
|
941
|
-
},
|
|
942
|
-
get totalGames() {
|
|
943
|
-
return p();
|
|
944
|
-
},
|
|
945
|
-
set totalGames(f) {
|
|
946
|
-
p(f), b();
|
|
947
|
-
},
|
|
948
|
-
get platformProp() {
|
|
949
|
-
return h();
|
|
950
|
-
},
|
|
951
|
-
set platformProp(f = null) {
|
|
952
|
-
h(f), b();
|
|
953
|
-
},
|
|
954
|
-
get tournamentMetadata() {
|
|
955
|
-
return v();
|
|
956
|
-
},
|
|
957
|
-
set tournamentMetadata(f) {
|
|
958
|
-
v(f), b();
|
|
959
|
-
},
|
|
960
|
-
get translationurl() {
|
|
961
|
-
return x();
|
|
962
|
-
},
|
|
963
|
-
set translationurl(f) {
|
|
964
|
-
x(f), b();
|
|
965
|
-
}
|
|
966
|
-
};
|
|
967
|
-
return Ke(r, {
|
|
968
|
-
get initialGames() {
|
|
969
|
-
return e();
|
|
970
|
-
},
|
|
971
|
-
get endpoint() {
|
|
972
|
-
return n();
|
|
973
|
-
},
|
|
974
|
-
get language() {
|
|
975
|
-
return o();
|
|
976
|
-
},
|
|
977
|
-
get translationurl() {
|
|
978
|
-
return x();
|
|
979
|
-
},
|
|
980
|
-
get session() {
|
|
981
|
-
return i();
|
|
982
|
-
},
|
|
983
|
-
get tournamentid() {
|
|
984
|
-
return s();
|
|
985
|
-
},
|
|
986
|
-
get gamesLimit() {
|
|
987
|
-
return u();
|
|
988
|
-
},
|
|
989
|
-
get totalGames() {
|
|
990
|
-
return p();
|
|
991
|
-
},
|
|
992
|
-
get platformProp() {
|
|
993
|
-
return h();
|
|
994
|
-
},
|
|
995
|
-
get tournamentMetadata() {
|
|
996
|
-
return v();
|
|
997
|
-
}
|
|
998
|
-
}), ze(O);
|
|
999
|
-
}
|
|
1000
|
-
customElements.define("tournament-games", Ne(
|
|
1001
|
-
Qe,
|
|
1002
|
-
{
|
|
1003
|
-
initialGames: {},
|
|
1004
|
-
endpoint: {},
|
|
1005
|
-
language: {},
|
|
1006
|
-
session: {},
|
|
1007
|
-
tournamentid: {},
|
|
1008
|
-
gamesLimit: {},
|
|
1009
|
-
totalGames: {},
|
|
1010
|
-
platformProp: {},
|
|
1011
|
-
tournamentMetadata: {},
|
|
1012
|
-
translationurl: {}
|
|
1013
|
-
},
|
|
1014
|
-
[],
|
|
1015
|
-
[]
|
|
1016
|
-
));
|
|
1017
|
-
const cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1018
|
-
__proto__: null,
|
|
1019
|
-
default: Qe
|
|
1020
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
1021
|
-
export {
|
|
1022
|
-
Jt as R,
|
|
1023
|
-
Ke as T,
|
|
1024
|
-
cr as a
|
|
1025
|
-
};
|