@everymatrix/tournament-details-page 0.1.13 → 0.1.15
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-hOUvqDF2.js → TournamentDetails-CTrigRlQ.js} +85 -88
- package/components/{TournamentDetails-CYrQWwZn.cjs → TournamentDetails-CamF-OAP.cjs} +2 -2
- package/components/{TournamentDetails-BVnS_IYF.js → TournamentDetails-DxnqovRH.js} +88 -91
- package/components/{TournamentDetails-BoaqYHo1.cjs → TournamentDetails-qI01TVz6.cjs} +2 -2
- package/components/{TournamentDetailsPage-DcS7Pa0U.js → TournamentDetailsPage-BhOKeY6o.js} +139 -140
- package/components/{TournamentDetailsPage-LxAzPvhv.js → TournamentDetailsPage-CAgzJoGS.js} +147 -148
- package/components/{TournamentDetailsPage-BgoG6goQ.cjs → TournamentDetailsPage-Ch2aanZt.cjs} +3 -3
- package/components/{TournamentDetailsPage-WnIR1yO-.cjs → TournamentDetailsPage-clnwYJj-.cjs} +3 -3
- package/components/TournamentGames-05Z4kMcw.cjs +51 -0
- package/components/TournamentGames-Ba_dX246.cjs +51 -0
- package/components/{TournamentGames-B5Vr9KT7.js → TournamentGames-QGboBJGp.js} +395 -418
- package/components/{TournamentGames-Bgha2ST9.js → TournamentGames-dkEGBAmh.js} +337 -360
- package/components/TournamentLeaderboard-BZPNaquR.cjs +46 -0
- package/components/TournamentLeaderboard-CE2y2ivq.js +8127 -0
- package/components/TournamentLeaderboard-D4iLH5gS.cjs +46 -0
- package/components/{TournamentLeaderboard-cxKLflDm.js → TournamentLeaderboard-DIOfuPoN.js} +3445 -3042
- 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/TournamentGames-DXcN8tkz.cjs +0 -51
- package/components/TournamentGames-DpOh7T_F.cjs +0 -51
- package/components/TournamentLeaderboard-8MMMRNQy.cjs +0 -46
- package/components/TournamentLeaderboard-C_Ne8wC4.js +0 -7718
- package/components/TournamentLeaderboard-DpfSasWx.cjs +0 -46
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as
|
|
1
|
+
import { d as _t, a as Ie, p as We, b as wt, f as b, r as xt, s as Ge, u as St, h as Ee, i as U, j as Pt, L as Tt, D as M, k as H, t as W, n as C, m as R, I as u, x as S, y as Ne, z as O, A as j, C as g, B as kt, $ as Gt, E as h, F as Et, G as At, H as m, w as Y, M as $, N as ee, O as te, P as fe, Q as de, R as Ot, q as Ae } from "./TournamentLeaderboard-DIOfuPoN.js";
|
|
2
2
|
typeof globalThis.HTMLElement > "u" && (globalThis.HTMLElement = class {
|
|
3
3
|
}, globalThis.customElements = { define() {
|
|
4
4
|
}, get() {
|
|
@@ -18,23 +18,23 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
18
18
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
19
19
|
PERFORMANCE OF THIS SOFTWARE.
|
|
20
20
|
***************************************************************************** */
|
|
21
|
-
var
|
|
22
|
-
return
|
|
21
|
+
var me = function(r, t) {
|
|
22
|
+
return me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, n) {
|
|
23
23
|
e.__proto__ = n;
|
|
24
24
|
} || function(e, n) {
|
|
25
25
|
for (var o in n) Object.prototype.hasOwnProperty.call(n, o) && (e[o] = n[o]);
|
|
26
|
-
},
|
|
26
|
+
}, me(r, t);
|
|
27
27
|
};
|
|
28
28
|
function q(r, t) {
|
|
29
29
|
if (typeof t != "function" && t !== null)
|
|
30
30
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
31
|
-
|
|
31
|
+
me(r, t);
|
|
32
32
|
function e() {
|
|
33
33
|
this.constructor = r;
|
|
34
34
|
}
|
|
35
35
|
r.prototype = t === null ? Object.create(t) : (e.prototype = t.prototype, new e());
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function be(r) {
|
|
38
38
|
var t = typeof Symbol == "function" && Symbol.iterator, e = t && r[t], n = 0;
|
|
39
39
|
if (e) return e.call(r);
|
|
40
40
|
if (r && typeof r.length == "number") return {
|
|
@@ -44,12 +44,12 @@ function ye(r) {
|
|
|
44
44
|
};
|
|
45
45
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function he(r, t) {
|
|
48
48
|
var e = typeof Symbol == "function" && r[Symbol.iterator];
|
|
49
49
|
if (!e) return r;
|
|
50
|
-
var n = e.call(r), o,
|
|
50
|
+
var n = e.call(r), o, i = [], s;
|
|
51
51
|
try {
|
|
52
|
-
for (; (t === void 0 || t-- > 0) && !(o = n.next()).done; )
|
|
52
|
+
for (; (t === void 0 || t-- > 0) && !(o = n.next()).done; ) i.push(o.value);
|
|
53
53
|
} catch (l) {
|
|
54
54
|
s = { error: l };
|
|
55
55
|
} finally {
|
|
@@ -59,23 +59,23 @@ function ge(r, t) {
|
|
|
59
59
|
if (s) throw s.error;
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
return
|
|
62
|
+
return i;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
65
|
-
if (arguments.length === 2) for (var n = 0, o = t.length,
|
|
66
|
-
(
|
|
67
|
-
return r.concat(
|
|
64
|
+
function ye(r, t, e) {
|
|
65
|
+
if (arguments.length === 2) for (var n = 0, o = t.length, i; n < o; n++)
|
|
66
|
+
(i || !(n in t)) && (i || (i = Array.prototype.slice.call(t, 0, n)), i[n] = t[n]);
|
|
67
|
+
return r.concat(i || t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function D(r) {
|
|
70
70
|
return typeof r == "function";
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function Re(r) {
|
|
73
73
|
var t = function(n) {
|
|
74
74
|
Error.call(n), n.stack = new Error().stack;
|
|
75
75
|
}, e = r(t);
|
|
76
76
|
return e.prototype = Object.create(Error.prototype), e.prototype.constructor = e, e;
|
|
77
77
|
}
|
|
78
|
-
var
|
|
78
|
+
var ve = Re(function(r) {
|
|
79
79
|
return function(e) {
|
|
80
80
|
r(this), this.message = e ? e.length + ` errors occurred during unsubscription:
|
|
81
81
|
` + e.map(function(n, o) {
|
|
@@ -84,30 +84,30 @@ var be = ze(function(r) {
|
|
|
84
84
|
`) : "", this.name = "UnsubscriptionError", this.errors = e;
|
|
85
85
|
};
|
|
86
86
|
});
|
|
87
|
-
function
|
|
87
|
+
function ge(r, t) {
|
|
88
88
|
if (r) {
|
|
89
89
|
var e = r.indexOf(t);
|
|
90
90
|
0 <= e && r.splice(e, 1);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var oe = function() {
|
|
94
94
|
function r(t) {
|
|
95
95
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
96
96
|
}
|
|
97
97
|
return r.prototype.unsubscribe = function() {
|
|
98
|
-
var t, e, n, o,
|
|
98
|
+
var t, e, n, o, i;
|
|
99
99
|
if (!this.closed) {
|
|
100
100
|
this.closed = !0;
|
|
101
101
|
var s = this._parentage;
|
|
102
102
|
if (s)
|
|
103
103
|
if (this._parentage = null, Array.isArray(s))
|
|
104
104
|
try {
|
|
105
|
-
for (var l =
|
|
105
|
+
for (var l = be(s), d = l.next(); !d.done; d = l.next()) {
|
|
106
106
|
var w = d.value;
|
|
107
107
|
w.remove(this);
|
|
108
108
|
}
|
|
109
|
-
} catch (
|
|
110
|
-
t = { error:
|
|
109
|
+
} catch (T) {
|
|
110
|
+
t = { error: T };
|
|
111
111
|
} finally {
|
|
112
112
|
try {
|
|
113
113
|
d && !d.done && (e = l.return) && e.call(l);
|
|
@@ -118,42 +118,42 @@ var le = function() {
|
|
|
118
118
|
else
|
|
119
119
|
s.remove(this);
|
|
120
120
|
var v = this.initialTeardown;
|
|
121
|
-
if (
|
|
121
|
+
if (D(v))
|
|
122
122
|
try {
|
|
123
123
|
v();
|
|
124
|
-
} catch (
|
|
125
|
-
|
|
124
|
+
} catch (T) {
|
|
125
|
+
i = T instanceof ve ? T.errors : [T];
|
|
126
126
|
}
|
|
127
|
-
var
|
|
128
|
-
if (
|
|
127
|
+
var P = this._finalizers;
|
|
128
|
+
if (P) {
|
|
129
129
|
this._finalizers = null;
|
|
130
130
|
try {
|
|
131
|
-
for (var
|
|
132
|
-
var
|
|
131
|
+
for (var B = be(P), p = B.next(); !p.done; p = B.next()) {
|
|
132
|
+
var z = p.value;
|
|
133
133
|
try {
|
|
134
|
-
|
|
135
|
-
} catch (
|
|
136
|
-
|
|
134
|
+
Oe(z);
|
|
135
|
+
} catch (T) {
|
|
136
|
+
i = i ?? [], T instanceof ve ? i = ye(ye([], he(i)), he(T.errors)) : i.push(T);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
} catch (
|
|
140
|
-
n = { error:
|
|
139
|
+
} catch (T) {
|
|
140
|
+
n = { error: T };
|
|
141
141
|
} finally {
|
|
142
142
|
try {
|
|
143
|
-
p && !p.done && (o =
|
|
143
|
+
p && !p.done && (o = B.return) && o.call(B);
|
|
144
144
|
} finally {
|
|
145
145
|
if (n) throw n.error;
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
148
|
}
|
|
149
|
-
if (
|
|
150
|
-
throw new
|
|
149
|
+
if (i)
|
|
150
|
+
throw new ve(i);
|
|
151
151
|
}
|
|
152
152
|
}, r.prototype.add = function(t) {
|
|
153
153
|
var e;
|
|
154
154
|
if (t && t !== this)
|
|
155
155
|
if (this.closed)
|
|
156
|
-
|
|
156
|
+
Oe(t);
|
|
157
157
|
else {
|
|
158
158
|
if (t instanceof r) {
|
|
159
159
|
if (t.closed || t._hasParent(this))
|
|
@@ -170,52 +170,52 @@ var le = function() {
|
|
|
170
170
|
this._parentage = Array.isArray(e) ? (e.push(t), e) : e ? [e, t] : t;
|
|
171
171
|
}, r.prototype._removeParent = function(t) {
|
|
172
172
|
var e = this._parentage;
|
|
173
|
-
e === t ? this._parentage = null : Array.isArray(e) &&
|
|
173
|
+
e === t ? this._parentage = null : Array.isArray(e) && ge(e, t);
|
|
174
174
|
}, r.prototype.remove = function(t) {
|
|
175
175
|
var e = this._finalizers;
|
|
176
|
-
e &&
|
|
176
|
+
e && ge(e, t), t instanceof r && t._removeParent(this);
|
|
177
177
|
}, r.EMPTY = function() {
|
|
178
178
|
var t = new r();
|
|
179
179
|
return t.closed = !0, t;
|
|
180
180
|
}(), r;
|
|
181
|
-
}(),
|
|
182
|
-
function
|
|
183
|
-
return r instanceof
|
|
181
|
+
}(), ze = oe.EMPTY;
|
|
182
|
+
function Fe(r) {
|
|
183
|
+
return r instanceof oe || r && "closed" in r && D(r.remove) && D(r.add) && D(r.unsubscribe);
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
|
|
185
|
+
function Oe(r) {
|
|
186
|
+
D(r) ? r() : r.unsubscribe();
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var jt = {
|
|
189
189
|
Promise: void 0
|
|
190
|
-
},
|
|
190
|
+
}, Bt = {
|
|
191
191
|
setTimeout: function(r, t) {
|
|
192
192
|
for (var e = [], n = 2; n < arguments.length; n++)
|
|
193
193
|
e[n - 2] = arguments[n];
|
|
194
|
-
return setTimeout.apply(void 0,
|
|
194
|
+
return setTimeout.apply(void 0, ye([r, t], he(e)));
|
|
195
195
|
},
|
|
196
196
|
clearTimeout: function(r) {
|
|
197
197
|
return clearTimeout(r);
|
|
198
198
|
},
|
|
199
199
|
delegate: void 0
|
|
200
200
|
};
|
|
201
|
-
function
|
|
202
|
-
|
|
201
|
+
function Mt(r) {
|
|
202
|
+
Bt.setTimeout(function() {
|
|
203
203
|
throw r;
|
|
204
204
|
});
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function je() {
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function ne(r) {
|
|
209
209
|
r();
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var Ue = function(r) {
|
|
212
212
|
q(t, r);
|
|
213
213
|
function t(e) {
|
|
214
214
|
var n = r.call(this) || this;
|
|
215
|
-
return n.isStopped = !1, e ? (n.destination = e,
|
|
215
|
+
return n.isStopped = !1, e ? (n.destination = e, Fe(e) && e.add(n)) : n.destination = Lt, n;
|
|
216
216
|
}
|
|
217
217
|
return t.create = function(e, n, o) {
|
|
218
|
-
return new
|
|
218
|
+
return new _e(e, n, o);
|
|
219
219
|
}, t.prototype.next = function(e) {
|
|
220
220
|
this.isStopped || this._next(e);
|
|
221
221
|
}, t.prototype.error = function(e) {
|
|
@@ -239,7 +239,7 @@ var He = function(r) {
|
|
|
239
239
|
this.unsubscribe();
|
|
240
240
|
}
|
|
241
241
|
}, t;
|
|
242
|
-
}(
|
|
242
|
+
}(oe), Ct = function() {
|
|
243
243
|
function r(t) {
|
|
244
244
|
this.partialObserver = t;
|
|
245
245
|
}
|
|
@@ -249,7 +249,7 @@ var He = function(r) {
|
|
|
249
249
|
try {
|
|
250
250
|
e.next(t);
|
|
251
251
|
} catch (n) {
|
|
252
|
-
|
|
252
|
+
re(n);
|
|
253
253
|
}
|
|
254
254
|
}, r.prototype.error = function(t) {
|
|
255
255
|
var e = this.partialObserver;
|
|
@@ -257,56 +257,56 @@ var He = function(r) {
|
|
|
257
257
|
try {
|
|
258
258
|
e.error(t);
|
|
259
259
|
} catch (n) {
|
|
260
|
-
|
|
260
|
+
re(n);
|
|
261
261
|
}
|
|
262
262
|
else
|
|
263
|
-
|
|
263
|
+
re(t);
|
|
264
264
|
}, r.prototype.complete = function() {
|
|
265
265
|
var t = this.partialObserver;
|
|
266
266
|
if (t.complete)
|
|
267
267
|
try {
|
|
268
268
|
t.complete();
|
|
269
269
|
} catch (e) {
|
|
270
|
-
|
|
270
|
+
re(e);
|
|
271
271
|
}
|
|
272
272
|
}, r;
|
|
273
|
-
}(),
|
|
273
|
+
}(), _e = function(r) {
|
|
274
274
|
q(t, r);
|
|
275
275
|
function t(e, n, o) {
|
|
276
|
-
var
|
|
277
|
-
return
|
|
276
|
+
var i = r.call(this) || this, s;
|
|
277
|
+
return D(e) || !e ? s = {
|
|
278
278
|
next: e ?? void 0,
|
|
279
279
|
error: n ?? void 0,
|
|
280
280
|
complete: o ?? void 0
|
|
281
|
-
} : s = e,
|
|
281
|
+
} : s = e, i.destination = new Ct(s), i;
|
|
282
282
|
}
|
|
283
283
|
return t;
|
|
284
|
-
}(
|
|
285
|
-
function
|
|
286
|
-
|
|
284
|
+
}(Ue);
|
|
285
|
+
function re(r) {
|
|
286
|
+
Mt(r);
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function Dt(r) {
|
|
289
289
|
throw r;
|
|
290
290
|
}
|
|
291
|
-
var
|
|
291
|
+
var Lt = {
|
|
292
292
|
closed: !0,
|
|
293
|
-
next:
|
|
294
|
-
error:
|
|
295
|
-
complete:
|
|
296
|
-
},
|
|
293
|
+
next: je,
|
|
294
|
+
error: Dt,
|
|
295
|
+
complete: je
|
|
296
|
+
}, It = function() {
|
|
297
297
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
298
298
|
}();
|
|
299
|
-
function
|
|
299
|
+
function Wt(r) {
|
|
300
300
|
return r;
|
|
301
301
|
}
|
|
302
|
-
function
|
|
303
|
-
return r.length === 0 ?
|
|
302
|
+
function Nt(r) {
|
|
303
|
+
return r.length === 0 ? Wt : r.length === 1 ? r[0] : function(e) {
|
|
304
304
|
return r.reduce(function(n, o) {
|
|
305
305
|
return o(n);
|
|
306
306
|
}, e);
|
|
307
307
|
};
|
|
308
308
|
}
|
|
309
|
-
var
|
|
309
|
+
var Be = function() {
|
|
310
310
|
function r(t) {
|
|
311
311
|
t && (this._subscribe = t);
|
|
312
312
|
}
|
|
@@ -314,11 +314,11 @@ var Me = function() {
|
|
|
314
314
|
var e = new r();
|
|
315
315
|
return e.source = this, e.operator = t, e;
|
|
316
316
|
}, r.prototype.subscribe = function(t, e, n) {
|
|
317
|
-
var o = this,
|
|
318
|
-
return
|
|
317
|
+
var o = this, i = zt(t) ? t : new _e(t, e, n);
|
|
318
|
+
return ne(function() {
|
|
319
319
|
var s = o, l = s.operator, d = s.source;
|
|
320
|
-
|
|
321
|
-
}),
|
|
320
|
+
i.add(l ? l.call(i, d) : d ? o._subscribe(i) : o._trySubscribe(i));
|
|
321
|
+
}), i;
|
|
322
322
|
}, r.prototype._trySubscribe = function(t) {
|
|
323
323
|
try {
|
|
324
324
|
return this._subscribe(t);
|
|
@@ -327,16 +327,16 @@ var Me = function() {
|
|
|
327
327
|
}
|
|
328
328
|
}, r.prototype.forEach = function(t, e) {
|
|
329
329
|
var n = this;
|
|
330
|
-
return e =
|
|
331
|
-
var s = new
|
|
330
|
+
return e = Me(e), new e(function(o, i) {
|
|
331
|
+
var s = new _e({
|
|
332
332
|
next: function(l) {
|
|
333
333
|
try {
|
|
334
334
|
t(l);
|
|
335
335
|
} catch (d) {
|
|
336
|
-
|
|
336
|
+
i(d), s.unsubscribe();
|
|
337
337
|
}
|
|
338
338
|
},
|
|
339
|
-
error:
|
|
339
|
+
error: i,
|
|
340
340
|
complete: o
|
|
341
341
|
});
|
|
342
342
|
n.subscribe(s);
|
|
@@ -344,62 +344,62 @@ var Me = function() {
|
|
|
344
344
|
}, r.prototype._subscribe = function(t) {
|
|
345
345
|
var e;
|
|
346
346
|
return (e = this.source) === null || e === void 0 ? void 0 : e.subscribe(t);
|
|
347
|
-
}, r.prototype[
|
|
347
|
+
}, r.prototype[It] = function() {
|
|
348
348
|
return this;
|
|
349
349
|
}, r.prototype.pipe = function() {
|
|
350
350
|
for (var t = [], e = 0; e < arguments.length; e++)
|
|
351
351
|
t[e] = arguments[e];
|
|
352
|
-
return
|
|
352
|
+
return Nt(t)(this);
|
|
353
353
|
}, r.prototype.toPromise = function(t) {
|
|
354
354
|
var e = this;
|
|
355
|
-
return t =
|
|
356
|
-
var
|
|
355
|
+
return t = Me(t), new t(function(n, o) {
|
|
356
|
+
var i;
|
|
357
357
|
e.subscribe(function(s) {
|
|
358
|
-
return
|
|
358
|
+
return i = s;
|
|
359
359
|
}, function(s) {
|
|
360
360
|
return o(s);
|
|
361
361
|
}, function() {
|
|
362
|
-
return n(
|
|
362
|
+
return n(i);
|
|
363
363
|
});
|
|
364
364
|
});
|
|
365
365
|
}, r.create = function(t) {
|
|
366
366
|
return new r(t);
|
|
367
367
|
}, r;
|
|
368
368
|
}();
|
|
369
|
-
function
|
|
369
|
+
function Me(r) {
|
|
370
370
|
var t;
|
|
371
|
-
return (t = r ??
|
|
371
|
+
return (t = r ?? jt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
372
372
|
}
|
|
373
|
-
function
|
|
374
|
-
return r &&
|
|
373
|
+
function Rt(r) {
|
|
374
|
+
return r && D(r.next) && D(r.error) && D(r.complete);
|
|
375
375
|
}
|
|
376
|
-
function
|
|
377
|
-
return r && r instanceof
|
|
376
|
+
function zt(r) {
|
|
377
|
+
return r && r instanceof Ue || Rt(r) && Fe(r);
|
|
378
378
|
}
|
|
379
|
-
var
|
|
379
|
+
var Ft = Re(function(r) {
|
|
380
380
|
return function() {
|
|
381
381
|
r(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
382
382
|
};
|
|
383
|
-
}),
|
|
383
|
+
}), He = function(r) {
|
|
384
384
|
q(t, r);
|
|
385
385
|
function t() {
|
|
386
386
|
var e = r.call(this) || this;
|
|
387
387
|
return e.closed = !1, e.currentObservers = null, e.observers = [], e.isStopped = !1, e.hasError = !1, e.thrownError = null, e;
|
|
388
388
|
}
|
|
389
389
|
return t.prototype.lift = function(e) {
|
|
390
|
-
var n = new
|
|
390
|
+
var n = new Ce(this, this);
|
|
391
391
|
return n.operator = e, n;
|
|
392
392
|
}, t.prototype._throwIfClosed = function() {
|
|
393
393
|
if (this.closed)
|
|
394
|
-
throw new
|
|
394
|
+
throw new Ft();
|
|
395
395
|
}, t.prototype.next = function(e) {
|
|
396
396
|
var n = this;
|
|
397
|
-
|
|
398
|
-
var o,
|
|
397
|
+
ne(function() {
|
|
398
|
+
var o, i;
|
|
399
399
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
400
400
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
401
401
|
try {
|
|
402
|
-
for (var s =
|
|
402
|
+
for (var s = be(n.currentObservers), l = s.next(); !l.done; l = s.next()) {
|
|
403
403
|
var d = l.value;
|
|
404
404
|
d.next(e);
|
|
405
405
|
}
|
|
@@ -407,7 +407,7 @@ var Nt = ze(function(r) {
|
|
|
407
407
|
o = { error: w };
|
|
408
408
|
} finally {
|
|
409
409
|
try {
|
|
410
|
-
l && !l.done && (
|
|
410
|
+
l && !l.done && (i = s.return) && i.call(s);
|
|
411
411
|
} finally {
|
|
412
412
|
if (o) throw o.error;
|
|
413
413
|
}
|
|
@@ -416,7 +416,7 @@ var Nt = ze(function(r) {
|
|
|
416
416
|
});
|
|
417
417
|
}, t.prototype.error = function(e) {
|
|
418
418
|
var n = this;
|
|
419
|
-
|
|
419
|
+
ne(function() {
|
|
420
420
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
421
421
|
n.hasError = n.isStopped = !0, n.thrownError = e;
|
|
422
422
|
for (var o = n.observers; o.length; )
|
|
@@ -425,7 +425,7 @@ var Nt = ze(function(r) {
|
|
|
425
425
|
});
|
|
426
426
|
}, t.prototype.complete = function() {
|
|
427
427
|
var e = this;
|
|
428
|
-
|
|
428
|
+
ne(function() {
|
|
429
429
|
if (e._throwIfClosed(), !e.isStopped) {
|
|
430
430
|
e.isStopped = !0;
|
|
431
431
|
for (var n = e.observers; n.length; )
|
|
@@ -446,20 +446,20 @@ var Nt = ze(function(r) {
|
|
|
446
446
|
}, t.prototype._subscribe = function(e) {
|
|
447
447
|
return this._throwIfClosed(), this._checkFinalizedStatuses(e), this._innerSubscribe(e);
|
|
448
448
|
}, t.prototype._innerSubscribe = function(e) {
|
|
449
|
-
var n = this, o = this,
|
|
450
|
-
return
|
|
451
|
-
n.currentObservers = null,
|
|
449
|
+
var n = this, o = this, i = o.hasError, s = o.isStopped, l = o.observers;
|
|
450
|
+
return i || s ? ze : (this.currentObservers = null, l.push(e), new oe(function() {
|
|
451
|
+
n.currentObservers = null, ge(l, e);
|
|
452
452
|
}));
|
|
453
453
|
}, t.prototype._checkFinalizedStatuses = function(e) {
|
|
454
|
-
var n = this, o = n.hasError,
|
|
455
|
-
o ? e.error(
|
|
454
|
+
var n = this, o = n.hasError, i = n.thrownError, s = n.isStopped;
|
|
455
|
+
o ? e.error(i) : s && e.complete();
|
|
456
456
|
}, t.prototype.asObservable = function() {
|
|
457
|
-
var e = new
|
|
457
|
+
var e = new Be();
|
|
458
458
|
return e.source = this, e;
|
|
459
459
|
}, t.create = function(e, n) {
|
|
460
|
-
return new
|
|
460
|
+
return new Ce(e, n);
|
|
461
461
|
}, t;
|
|
462
|
-
}(
|
|
462
|
+
}(Be), Ce = function(r) {
|
|
463
463
|
q(t, r);
|
|
464
464
|
function t(e, n) {
|
|
465
465
|
var o = r.call(this) || this;
|
|
@@ -476,38 +476,38 @@ var Nt = ze(function(r) {
|
|
|
476
476
|
(n = (e = this.destination) === null || e === void 0 ? void 0 : e.complete) === null || n === void 0 || n.call(e);
|
|
477
477
|
}, t.prototype._subscribe = function(e) {
|
|
478
478
|
var n, o;
|
|
479
|
-
return (o = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(e)) !== null && o !== void 0 ? o :
|
|
479
|
+
return (o = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(e)) !== null && o !== void 0 ? o : ze;
|
|
480
480
|
}, t;
|
|
481
|
-
}(
|
|
481
|
+
}(He), Ye = {
|
|
482
482
|
now: function() {
|
|
483
|
-
return (
|
|
483
|
+
return (Ye.delegate || Date).now();
|
|
484
484
|
},
|
|
485
485
|
delegate: void 0
|
|
486
|
-
},
|
|
486
|
+
}, Ut = function(r) {
|
|
487
487
|
q(t, r);
|
|
488
488
|
function t(e, n, o) {
|
|
489
|
-
e === void 0 && (e = 1 / 0), n === void 0 && (n = 1 / 0), o === void 0 && (o =
|
|
490
|
-
var
|
|
491
|
-
return
|
|
489
|
+
e === void 0 && (e = 1 / 0), n === void 0 && (n = 1 / 0), o === void 0 && (o = Ye);
|
|
490
|
+
var i = r.call(this) || this;
|
|
491
|
+
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;
|
|
492
492
|
}
|
|
493
493
|
return t.prototype.next = function(e) {
|
|
494
|
-
var n = this, o = n.isStopped,
|
|
495
|
-
o || (
|
|
494
|
+
var n = this, o = n.isStopped, i = n._buffer, s = n._infiniteTimeWindow, l = n._timestampProvider, d = n._windowTime;
|
|
495
|
+
o || (i.push(e), !s && i.push(l.now() + d)), this._trimBuffer(), r.prototype.next.call(this, e);
|
|
496
496
|
}, t.prototype._subscribe = function(e) {
|
|
497
497
|
this._throwIfClosed(), this._trimBuffer();
|
|
498
|
-
for (var n = this._innerSubscribe(e), o = this,
|
|
498
|
+
for (var n = this._innerSubscribe(e), o = this, i = o._infiniteTimeWindow, s = o._buffer, l = s.slice(), d = 0; d < l.length && !e.closed; d += i ? 1 : 2)
|
|
499
499
|
e.next(l[d]);
|
|
500
500
|
return this._checkFinalizedStatuses(e), n;
|
|
501
501
|
}, t.prototype._trimBuffer = function() {
|
|
502
|
-
var e = this, n = e._bufferSize, o = e._timestampProvider,
|
|
503
|
-
if (n < 1 / 0 && l <
|
|
504
|
-
for (var d = o.now(), w = 0, v = 1; v <
|
|
502
|
+
var e = this, n = e._bufferSize, o = e._timestampProvider, i = e._buffer, s = e._infiniteTimeWindow, l = (s ? 1 : 2) * n;
|
|
503
|
+
if (n < 1 / 0 && l < i.length && i.splice(0, i.length - l), !s) {
|
|
504
|
+
for (var d = o.now(), w = 0, v = 1; v < i.length && i[v] <= d; v += 2)
|
|
505
505
|
w = v;
|
|
506
|
-
w &&
|
|
506
|
+
w && i.splice(0, w + 1);
|
|
507
507
|
}
|
|
508
508
|
}, t;
|
|
509
|
-
}(
|
|
510
|
-
const
|
|
509
|
+
}(He);
|
|
510
|
+
const Ht = {
|
|
511
511
|
en: {
|
|
512
512
|
previousButton: "Previous",
|
|
513
513
|
nextButton: "Next",
|
|
@@ -538,18 +538,18 @@ const zt = {
|
|
|
538
538
|
sportsRulesParseError: "Fejl ved parsing af turneringsregler",
|
|
539
539
|
noAvailableGames: "Der er endnu ikke konfigureret nogen spil!"
|
|
540
540
|
}
|
|
541
|
-
},
|
|
542
|
-
if (
|
|
543
|
-
const e = new
|
|
544
|
-
|
|
541
|
+
}, De = [], Le = {}, Yt = (r, t = 0) => {
|
|
542
|
+
if (De.indexOf(r) == -1) {
|
|
543
|
+
const e = new Ut(t);
|
|
544
|
+
Le[r] = e, De.push(r);
|
|
545
545
|
}
|
|
546
|
-
return
|
|
546
|
+
return Le[r];
|
|
547
547
|
};
|
|
548
|
-
typeof window < "u" && (window.emWidgets = { topic:
|
|
549
|
-
const
|
|
548
|
+
typeof window < "u" && (window.emWidgets = { topic: Yt });
|
|
549
|
+
const qt = (r) => r.toLowerCase().match(/android/i) ? "Android" : r.toLowerCase().match(/iphone/i) ? "iPhone" : r.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
550
550
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
551
|
-
var
|
|
552
|
-
const
|
|
551
|
+
var Jt = j('<div class="TournamentGamesTabs svelte-2ya82b"><button> </button> <button> </button></div>'), Kt = j('<p class="svelte-2ya82b"> </p>'), Qt = j("<div></div>"), Vt = j('<div class="TournamentGameThumbnailSkeleton svelte-2ya82b"></div>'), Xt = j("<p> </p>"), Zt = j('<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>'), $t = j('<span class="PaginationButton Elipsis svelte-2ya82b">...</span>'), er = j("<button> </button>"), tr = j('<div><button class="PaginationButton svelte-2ya82b"> </button> <div class="PageNumberWrapper svelte-2ya82b"></div> <button class="PaginationButton svelte-2ya82b"> </button></div>'), rr = j('<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>'), nr = j('<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>');
|
|
552
|
+
const or = {
|
|
553
553
|
hash: "svelte-2ya82b",
|
|
554
554
|
code: `.svelte-2ya82b,
|
|
555
555
|
.svelte-2ya82b::before,
|
|
@@ -589,301 +589,279 @@ const tr = {
|
|
|
589
589
|
}.Hidden.svelte-2ya82b {display:none;}`
|
|
590
590
|
};
|
|
591
591
|
function qe(r, t) {
|
|
592
|
-
|
|
593
|
-
const e = () =>
|
|
594
|
-
|
|
595
|
-
const
|
|
596
|
-
|
|
592
|
+
We(t, !0), wt(r, or);
|
|
593
|
+
const e = () => kt(Gt, "$_", n), [n, o] = Et(), i = b(t, "initialGames"), s = b(t, "endpoint"), l = b(t, "language", 7, "en"), d = b(t, "session"), w = b(t, "tournamentid"), v = b(t, "gamesLimit", 7, 6), P = b(t, "totalGames"), B = b(t, "platformProp", 7, null), p = b(t, "tournamentMetadata"), z = b(t, "translationurl");
|
|
594
|
+
xt(Ht), Ge(l());
|
|
595
|
+
const T = () => {
|
|
596
|
+
Ge(l());
|
|
597
597
|
};
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
}),
|
|
601
|
-
|
|
598
|
+
St(() => {
|
|
599
|
+
z() && At(z());
|
|
600
|
+
}), Ee(() => {
|
|
601
|
+
T();
|
|
602
602
|
});
|
|
603
|
-
let
|
|
604
|
-
const
|
|
605
|
-
if (!
|
|
606
|
-
|
|
603
|
+
let ie = U(Pt(i() || [])), J = U(!1), G = U(0), K = U(void 0), Q = U(!0);
|
|
604
|
+
const Ke = Tt() ? B() ?? "dk" : qt(window.navigator.userAgent), ae = async () => {
|
|
605
|
+
if (!se.has(u(V))) {
|
|
606
|
+
O(J, !0);
|
|
607
607
|
try {
|
|
608
|
-
const
|
|
608
|
+
const a = await Ot({
|
|
609
609
|
endpoint: s(),
|
|
610
610
|
language: l(),
|
|
611
|
-
platform:
|
|
611
|
+
platform: Ke,
|
|
612
612
|
session: d(),
|
|
613
613
|
tournamentid: w(),
|
|
614
614
|
filterById: !0,
|
|
615
615
|
gamesLimit: v(),
|
|
616
616
|
gamesOffset: u(G)
|
|
617
617
|
});
|
|
618
|
-
|
|
619
|
-
} catch (
|
|
620
|
-
console.log(
|
|
618
|
+
O(ie, a?.games?.items, !0), se.set(u(V), u(ie)), u(Q) || O(Q, !0);
|
|
619
|
+
} catch (a) {
|
|
620
|
+
console.log(a);
|
|
621
621
|
} finally {
|
|
622
|
-
|
|
622
|
+
O(J, !1);
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
|
-
},
|
|
626
|
-
const
|
|
627
|
-
if (
|
|
628
|
-
return Array.from({ length:
|
|
625
|
+
}, Qe = () => {
|
|
626
|
+
const a = Math.ceil(P() / v()), c = Math.floor(u(G) / v()) + 1;
|
|
627
|
+
if (a <= 5)
|
|
628
|
+
return Array.from({ length: a }, (_, x) => x + 1);
|
|
629
629
|
const f = [];
|
|
630
|
-
return f.push(1), c <= 3 ? (f.push(2, 3), f.push("..."), f.push(
|
|
630
|
+
return f.push(1), c <= 3 ? (f.push(2, 3), f.push("..."), f.push(a)) : c >= a - 2 ? (f.push("..."), f.push(a - 2, a - 1, a)) : (f.push("..."), f.push(c - 1, c, c + 1), f.push("..."), f.push(a)), f;
|
|
631
|
+
}, Ve = () => {
|
|
632
|
+
u(G) < P() && (O(G, u(G) + v()), ae());
|
|
631
633
|
}, Xe = () => {
|
|
632
|
-
u(G)
|
|
633
|
-
}, Ze = () => {
|
|
634
|
-
|
|
635
|
-
}, $e = (
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
let pe = /* @__PURE__ */ new Map([[1, a()]]), tt = me(() => pe.get(u(X)) ?? []), N = Y("casino");
|
|
639
|
-
const rt = () => {
|
|
634
|
+
u(G) !== 0 && (O(G, u(G) - v()), ae());
|
|
635
|
+
}, Ze = (a) => {
|
|
636
|
+
O(G, (a - 1) * v()), ae();
|
|
637
|
+
}, $e = $(Qe), V = $(() => Math.floor(u(G) / v()) + 1);
|
|
638
|
+
let se = /* @__PURE__ */ new Map([[1, i()]]), et = $(() => se.get(u(V)) ?? []), L = U("casino");
|
|
639
|
+
const tt = () => {
|
|
640
640
|
if (!p()) return;
|
|
641
|
-
const
|
|
641
|
+
const a = p().sports?.rules;
|
|
642
642
|
let c;
|
|
643
|
-
if (
|
|
643
|
+
if (a)
|
|
644
644
|
try {
|
|
645
|
-
c = JSON.parse(
|
|
645
|
+
c = JSON.parse(a), O(K, c[l()] || c["*"], !0);
|
|
646
646
|
} catch (f) {
|
|
647
|
-
console.log(f),
|
|
647
|
+
console.log(f), O(K, `${e()("sportsRulesParseError")}`);
|
|
648
648
|
}
|
|
649
|
-
},
|
|
649
|
+
}, rt = (a) => {
|
|
650
650
|
window.postMessage(
|
|
651
651
|
{
|
|
652
652
|
type: "Tournaments:PlayGame",
|
|
653
|
-
launchUrl:
|
|
654
|
-
id:
|
|
655
|
-
thumbnail:
|
|
656
|
-
name:
|
|
653
|
+
launchUrl: a.launchUrl,
|
|
654
|
+
id: a.gameId,
|
|
655
|
+
thumbnail: a.thumbnail,
|
|
656
|
+
name: a.name
|
|
657
657
|
},
|
|
658
658
|
window.location.href
|
|
659
659
|
);
|
|
660
660
|
};
|
|
661
|
-
|
|
662
|
-
Object.keys(p()).length !== 0 &&
|
|
661
|
+
Ee(() => {
|
|
662
|
+
Object.keys(p()).length !== 0 && tt();
|
|
663
663
|
});
|
|
664
|
-
var
|
|
664
|
+
var nt = {
|
|
665
665
|
get initialGames() {
|
|
666
|
-
return
|
|
666
|
+
return i();
|
|
667
667
|
},
|
|
668
|
-
set initialGames(
|
|
669
|
-
a
|
|
668
|
+
set initialGames(a) {
|
|
669
|
+
i(a), h();
|
|
670
670
|
},
|
|
671
671
|
get endpoint() {
|
|
672
672
|
return s();
|
|
673
673
|
},
|
|
674
|
-
set endpoint(
|
|
675
|
-
s(
|
|
674
|
+
set endpoint(a) {
|
|
675
|
+
s(a), h();
|
|
676
676
|
},
|
|
677
677
|
get language() {
|
|
678
678
|
return l();
|
|
679
679
|
},
|
|
680
|
-
set language(
|
|
681
|
-
l(
|
|
680
|
+
set language(a = "en") {
|
|
681
|
+
l(a), h();
|
|
682
682
|
},
|
|
683
683
|
get session() {
|
|
684
684
|
return d();
|
|
685
685
|
},
|
|
686
|
-
set session(
|
|
687
|
-
d(
|
|
686
|
+
set session(a) {
|
|
687
|
+
d(a), h();
|
|
688
688
|
},
|
|
689
689
|
get tournamentid() {
|
|
690
690
|
return w();
|
|
691
691
|
},
|
|
692
|
-
set tournamentid(
|
|
693
|
-
w(
|
|
692
|
+
set tournamentid(a) {
|
|
693
|
+
w(a), h();
|
|
694
694
|
},
|
|
695
695
|
get gamesLimit() {
|
|
696
696
|
return v();
|
|
697
697
|
},
|
|
698
|
-
set gamesLimit(
|
|
699
|
-
v(
|
|
698
|
+
set gamesLimit(a = 6) {
|
|
699
|
+
v(a), h();
|
|
700
700
|
},
|
|
701
701
|
get totalGames() {
|
|
702
|
-
return
|
|
702
|
+
return P();
|
|
703
703
|
},
|
|
704
|
-
set totalGames(
|
|
705
|
-
|
|
704
|
+
set totalGames(a) {
|
|
705
|
+
P(a), h();
|
|
706
706
|
},
|
|
707
707
|
get platformProp() {
|
|
708
|
-
return
|
|
708
|
+
return B();
|
|
709
709
|
},
|
|
710
|
-
set platformProp(
|
|
711
|
-
|
|
710
|
+
set platformProp(a = null) {
|
|
711
|
+
B(a), h();
|
|
712
712
|
},
|
|
713
713
|
get tournamentMetadata() {
|
|
714
714
|
return p();
|
|
715
715
|
},
|
|
716
|
-
set tournamentMetadata(
|
|
717
|
-
p(
|
|
716
|
+
set tournamentMetadata(a) {
|
|
717
|
+
p(a), h();
|
|
718
718
|
},
|
|
719
719
|
get translationurl() {
|
|
720
|
-
return
|
|
720
|
+
return z();
|
|
721
721
|
},
|
|
722
|
-
set translationurl(
|
|
723
|
-
|
|
722
|
+
set translationurl(a) {
|
|
723
|
+
z(a), h();
|
|
724
724
|
}
|
|
725
|
-
},
|
|
726
|
-
|
|
727
|
-
var
|
|
728
|
-
|
|
729
|
-
var
|
|
725
|
+
}, le = nr(), ue = g(le), ce = g(ue), ot = g(ce, !0);
|
|
726
|
+
m(ce);
|
|
727
|
+
var we = M(ce, 2), it = g(we, !0);
|
|
728
|
+
m(we), m(ue);
|
|
729
|
+
var xe = M(ue, 2);
|
|
730
730
|
{
|
|
731
|
-
var
|
|
732
|
-
var c =
|
|
733
|
-
let
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
m
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
(D, P) => {
|
|
743
|
-
x = U(f, 1, "Tab svelte-2ya82b", null, x, { Active: u(N) === "casino" }), C(B, D), g = U(m, 1, "Tab svelte-2ya82b", null, g, { Active: u(N) === "sports" }), C(E, P);
|
|
731
|
+
var at = (a) => {
|
|
732
|
+
var c = Jt(), f = g(c);
|
|
733
|
+
let _;
|
|
734
|
+
var x = g(f, !0);
|
|
735
|
+
m(f);
|
|
736
|
+
var y = M(f, 2);
|
|
737
|
+
let k;
|
|
738
|
+
var E = g(y, !0);
|
|
739
|
+
m(y), m(c), W(
|
|
740
|
+
(I, A) => {
|
|
741
|
+
_ = R(f, 1, "Tab svelte-2ya82b", null, _, { Active: u(L) === "casino" }), C(x, I), k = R(y, 1, "Tab svelte-2ya82b", null, k, { Active: u(L) === "sports" }), C(E, A);
|
|
744
742
|
},
|
|
745
743
|
[() => e()("casinoTab"), () => e()("sportsbookTab")]
|
|
746
|
-
), S(
|
|
747
|
-
};
|
|
748
|
-
|
|
749
|
-
|
|
744
|
+
), Y("click", f, () => O(L, "casino")), Y("click", y, () => O(L, "sports")), S(a, c);
|
|
745
|
+
}, st = $(() => Object.keys(p()).length !== 0);
|
|
746
|
+
H(xe, (a) => {
|
|
747
|
+
u(st) && a(at);
|
|
750
748
|
});
|
|
751
749
|
}
|
|
752
|
-
var
|
|
750
|
+
var Se = M(xe, 2);
|
|
753
751
|
{
|
|
754
|
-
var lt = (
|
|
755
|
-
var c =
|
|
752
|
+
var lt = (a) => {
|
|
753
|
+
var c = Qt();
|
|
756
754
|
let f;
|
|
757
|
-
|
|
758
|
-
var
|
|
759
|
-
|
|
760
|
-
}),
|
|
755
|
+
ee(c, 21, () => u(K), te, (_, x) => {
|
|
756
|
+
var y = Kt(), k = g(y);
|
|
757
|
+
m(y), W((E) => C(k, `${u(x).rule ?? ""} ${E ?? ""}`), [() => e()("contribution")]), S(_, y);
|
|
758
|
+
}), m(c), W(() => f = R(c, 1, "TournamentRulesWrapper svelte-2ya82b", null, f, { Hidden: u(L) === "casino" })), S(a, c);
|
|
761
759
|
};
|
|
762
|
-
|
|
763
|
-
u(
|
|
760
|
+
H(Se, (a) => {
|
|
761
|
+
u(K) && a(lt);
|
|
764
762
|
});
|
|
765
763
|
}
|
|
766
|
-
var
|
|
767
|
-
let
|
|
768
|
-
var ut =
|
|
764
|
+
var X = M(Se, 2);
|
|
765
|
+
let Pe;
|
|
766
|
+
var ut = g(X);
|
|
769
767
|
{
|
|
770
|
-
var ct = (
|
|
771
|
-
var c =
|
|
772
|
-
|
|
773
|
-
var E =
|
|
774
|
-
S(
|
|
775
|
-
}), S(
|
|
776
|
-
}, pt = (
|
|
777
|
-
var c =
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
z.__click = () => nt(u(P));
|
|
794
|
-
var $ = _(z), K = _($), ee = M(K, 2), L = _(ee), I = _(L, !0);
|
|
795
|
-
b(L), b(ee), b($), b(z), R(
|
|
796
|
-
(te) => {
|
|
797
|
-
Oe(K, "src", `https:${u(P).thumbnail}`), Oe(K, "alt", u(P).name), C(I, te);
|
|
798
|
-
},
|
|
799
|
-
[() => e()("play")]
|
|
800
|
-
), S(D, z);
|
|
801
|
-
}), S(m, g);
|
|
802
|
-
};
|
|
803
|
-
F(
|
|
804
|
-
f,
|
|
805
|
-
(m) => {
|
|
806
|
-
!u(J) && u(ue)?.length === 0 ? m(x) : m(B, !1);
|
|
768
|
+
var ct = (a) => {
|
|
769
|
+
var c = fe(), f = de(c);
|
|
770
|
+
ee(f, 17, () => Array(v()), te, (_, x, y, k) => {
|
|
771
|
+
var E = Vt();
|
|
772
|
+
S(_, E);
|
|
773
|
+
}), S(a, c);
|
|
774
|
+
}, pt = (a) => {
|
|
775
|
+
var c = Xt();
|
|
776
|
+
let f;
|
|
777
|
+
var _ = g(c, !0);
|
|
778
|
+
m(c), W(
|
|
779
|
+
(x) => {
|
|
780
|
+
f = R(c, 1, "NoGamesAvailable svelte-2ya82b", null, f, { Hidden: u(L) === "sports" }), C(_, x);
|
|
781
|
+
},
|
|
782
|
+
[() => e()("noAvailableGames")]
|
|
783
|
+
), S(a, c);
|
|
784
|
+
}, ft = (a) => {
|
|
785
|
+
var c = fe(), f = de(c);
|
|
786
|
+
ee(f, 17, () => u(et), te, (_, x) => {
|
|
787
|
+
var y = Zt(), k = g(y), E = g(k), I = M(E, 2), A = g(I), Z = g(A, !0);
|
|
788
|
+
m(A), m(I), m(k), m(y), W(
|
|
789
|
+
(pe) => {
|
|
790
|
+
Ae(E, "src", `https:${u(x).thumbnail}`), Ae(E, "alt", u(x).name), C(Z, pe);
|
|
807
791
|
},
|
|
808
|
-
|
|
809
|
-
);
|
|
810
|
-
}
|
|
811
|
-
S(i, c);
|
|
792
|
+
[() => e()("play")]
|
|
793
|
+
), Y("click", y, () => rt(u(x))), S(_, y);
|
|
794
|
+
}), S(a, c);
|
|
812
795
|
};
|
|
813
|
-
|
|
814
|
-
u(J) ?
|
|
796
|
+
H(ut, (a) => {
|
|
797
|
+
u(J) ? a(ct) : !u(J) && u(ie)?.length === 0 ? a(pt, 1) : a(ft, -1);
|
|
815
798
|
});
|
|
816
799
|
}
|
|
817
|
-
|
|
818
|
-
var
|
|
800
|
+
m(X);
|
|
801
|
+
var Te = M(X, 2);
|
|
819
802
|
{
|
|
820
|
-
var
|
|
821
|
-
var c =
|
|
803
|
+
var dt = (a) => {
|
|
804
|
+
var c = tr();
|
|
822
805
|
let f;
|
|
823
|
-
var
|
|
824
|
-
|
|
825
|
-
var
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
re(m, 21, () => u(et), ne, (D, P) => {
|
|
829
|
-
var z = oe(), $ = ae(z);
|
|
806
|
+
var _ = g(c), x = g(_, !0);
|
|
807
|
+
m(_);
|
|
808
|
+
var y = M(_, 2);
|
|
809
|
+
ee(y, 21, () => u($e), te, (I, A) => {
|
|
810
|
+
var Z = fe(), pe = de(Z);
|
|
830
811
|
{
|
|
831
|
-
var
|
|
832
|
-
var
|
|
833
|
-
S(
|
|
834
|
-
},
|
|
835
|
-
var
|
|
836
|
-
let
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
}), S(L, I);
|
|
812
|
+
var ht = (F) => {
|
|
813
|
+
var N = $t();
|
|
814
|
+
S(F, N);
|
|
815
|
+
}, yt = (F) => {
|
|
816
|
+
var N = er();
|
|
817
|
+
let ke;
|
|
818
|
+
var gt = g(N, !0);
|
|
819
|
+
m(N), W(() => {
|
|
820
|
+
ke = R(N, 1, "PaginationButton Number svelte-2ya82b", null, ke, { Active: u(A) === u(V) }), C(gt, u(A));
|
|
821
|
+
}), Y("click", N, () => Ze(u(A))), S(F, N);
|
|
842
822
|
};
|
|
843
|
-
|
|
844
|
-
typeof u(
|
|
823
|
+
H(pe, (F) => {
|
|
824
|
+
typeof u(A) != "number" ? F(ht) : F(yt, -1);
|
|
845
825
|
});
|
|
846
826
|
}
|
|
847
|
-
S(
|
|
848
|
-
}),
|
|
849
|
-
var
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
(D, P) => {
|
|
854
|
-
f = U(c, 1, "PaginationWrapper svelte-2ya82b", null, f, { Hidden: u(N) === "sports" }), x.disabled = u(G) === 0, C(B, D), g.disabled = u(G) >= T() - v(), C(E, P);
|
|
827
|
+
S(I, Z);
|
|
828
|
+
}), m(y);
|
|
829
|
+
var k = M(y, 2), E = g(k, !0);
|
|
830
|
+
m(k), m(c), W(
|
|
831
|
+
(I, A) => {
|
|
832
|
+
f = R(c, 1, "PaginationWrapper svelte-2ya82b", null, f, { Hidden: u(L) === "sports" }), _.disabled = u(G) === 0, C(x, I), k.disabled = u(G) >= P() - v(), C(E, A);
|
|
855
833
|
},
|
|
856
834
|
[() => e()("previousButton"), () => e()("nextButton")]
|
|
857
|
-
), S(
|
|
835
|
+
), Y("click", _, Xe), Y("click", k, Ve), S(a, c);
|
|
858
836
|
};
|
|
859
|
-
|
|
860
|
-
u(
|
|
837
|
+
H(Te, (a) => {
|
|
838
|
+
u(Q) && P() > v() && a(dt);
|
|
861
839
|
});
|
|
862
840
|
}
|
|
863
|
-
var
|
|
841
|
+
var vt = M(Te, 2);
|
|
864
842
|
{
|
|
865
|
-
var
|
|
866
|
-
var c =
|
|
867
|
-
S(
|
|
843
|
+
var mt = (a) => {
|
|
844
|
+
var c = rr();
|
|
845
|
+
S(a, c);
|
|
868
846
|
};
|
|
869
|
-
|
|
870
|
-
u(
|
|
847
|
+
H(vt, (a) => {
|
|
848
|
+
u(Q) || a(mt);
|
|
871
849
|
});
|
|
872
850
|
}
|
|
873
|
-
|
|
874
|
-
(
|
|
875
|
-
C(
|
|
851
|
+
m(le), W(
|
|
852
|
+
(a, c) => {
|
|
853
|
+
C(ot, a), C(it, c), Pe = R(X, 1, "TournamentGamesContainer svelte-2ya82b", null, Pe, { Hidden: u(L) === "sports" });
|
|
876
854
|
},
|
|
877
855
|
[
|
|
878
856
|
() => e()("gamesDescriptionTitle"),
|
|
879
857
|
() => e()("gamesDescriptionSubtitle")
|
|
880
858
|
]
|
|
881
|
-
), S(r,
|
|
882
|
-
var
|
|
883
|
-
return o(),
|
|
859
|
+
), S(r, le);
|
|
860
|
+
var bt = Ne(nt);
|
|
861
|
+
return o(), bt;
|
|
884
862
|
}
|
|
885
|
-
|
|
886
|
-
|
|
863
|
+
_t(["click"]);
|
|
864
|
+
Ie(
|
|
887
865
|
qe,
|
|
888
866
|
{
|
|
889
867
|
initialGames: {},
|
|
@@ -899,71 +877,71 @@ We(
|
|
|
899
877
|
},
|
|
900
878
|
[],
|
|
901
879
|
[],
|
|
902
|
-
|
|
880
|
+
{ mode: "open" }
|
|
903
881
|
);
|
|
904
882
|
function Je(r, t) {
|
|
905
|
-
|
|
906
|
-
let e =
|
|
907
|
-
var
|
|
883
|
+
We(t, !0);
|
|
884
|
+
let e = b(t, "initialGames"), n = b(t, "endpoint"), o = b(t, "language", 7, "en"), i = b(t, "session"), s = b(t, "tournamentid"), l = b(t, "gamesLimit", 7, 6), d = b(t, "totalGames"), w = b(t, "platformProp", 7, null), v = b(t, "tournamentMetadata"), P = b(t, "translationurl");
|
|
885
|
+
var B = {
|
|
908
886
|
get initialGames() {
|
|
909
887
|
return e();
|
|
910
888
|
},
|
|
911
889
|
set initialGames(p) {
|
|
912
|
-
e(p),
|
|
890
|
+
e(p), h();
|
|
913
891
|
},
|
|
914
892
|
get endpoint() {
|
|
915
893
|
return n();
|
|
916
894
|
},
|
|
917
895
|
set endpoint(p) {
|
|
918
|
-
n(p),
|
|
896
|
+
n(p), h();
|
|
919
897
|
},
|
|
920
898
|
get language() {
|
|
921
899
|
return o();
|
|
922
900
|
},
|
|
923
901
|
set language(p = "en") {
|
|
924
|
-
o(p),
|
|
902
|
+
o(p), h();
|
|
925
903
|
},
|
|
926
904
|
get session() {
|
|
927
|
-
return
|
|
905
|
+
return i();
|
|
928
906
|
},
|
|
929
907
|
set session(p) {
|
|
930
|
-
|
|
908
|
+
i(p), h();
|
|
931
909
|
},
|
|
932
910
|
get tournamentid() {
|
|
933
911
|
return s();
|
|
934
912
|
},
|
|
935
913
|
set tournamentid(p) {
|
|
936
|
-
s(p),
|
|
914
|
+
s(p), h();
|
|
937
915
|
},
|
|
938
916
|
get gamesLimit() {
|
|
939
917
|
return l();
|
|
940
918
|
},
|
|
941
919
|
set gamesLimit(p = 6) {
|
|
942
|
-
l(p),
|
|
920
|
+
l(p), h();
|
|
943
921
|
},
|
|
944
922
|
get totalGames() {
|
|
945
923
|
return d();
|
|
946
924
|
},
|
|
947
925
|
set totalGames(p) {
|
|
948
|
-
d(p),
|
|
926
|
+
d(p), h();
|
|
949
927
|
},
|
|
950
928
|
get platformProp() {
|
|
951
929
|
return w();
|
|
952
930
|
},
|
|
953
931
|
set platformProp(p = null) {
|
|
954
|
-
w(p),
|
|
932
|
+
w(p), h();
|
|
955
933
|
},
|
|
956
934
|
get tournamentMetadata() {
|
|
957
935
|
return v();
|
|
958
936
|
},
|
|
959
937
|
set tournamentMetadata(p) {
|
|
960
|
-
v(p),
|
|
938
|
+
v(p), h();
|
|
961
939
|
},
|
|
962
940
|
get translationurl() {
|
|
963
|
-
return
|
|
941
|
+
return P();
|
|
964
942
|
},
|
|
965
943
|
set translationurl(p) {
|
|
966
|
-
|
|
944
|
+
P(p), h();
|
|
967
945
|
}
|
|
968
946
|
};
|
|
969
947
|
return qe(r, {
|
|
@@ -977,10 +955,10 @@ function Je(r, t) {
|
|
|
977
955
|
return o();
|
|
978
956
|
},
|
|
979
957
|
get translationurl() {
|
|
980
|
-
return
|
|
958
|
+
return P();
|
|
981
959
|
},
|
|
982
960
|
get session() {
|
|
983
|
-
return
|
|
961
|
+
return i();
|
|
984
962
|
},
|
|
985
963
|
get tournamentid() {
|
|
986
964
|
return s();
|
|
@@ -997,9 +975,9 @@ function Je(r, t) {
|
|
|
997
975
|
get tournamentMetadata() {
|
|
998
976
|
return v();
|
|
999
977
|
}
|
|
1000
|
-
}),
|
|
978
|
+
}), Ne(B);
|
|
1001
979
|
}
|
|
1002
|
-
customElements.define("tournament-games",
|
|
980
|
+
customElements.define("tournament-games", Ie(
|
|
1003
981
|
Je,
|
|
1004
982
|
{
|
|
1005
983
|
initialGames: {},
|
|
@@ -1014,15 +992,14 @@ customElements.define("tournament-games", We(
|
|
|
1014
992
|
translationurl: {}
|
|
1015
993
|
},
|
|
1016
994
|
[],
|
|
1017
|
-
[]
|
|
1018
|
-
!1
|
|
995
|
+
[]
|
|
1019
996
|
));
|
|
1020
|
-
const
|
|
997
|
+
const ar = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1021
998
|
__proto__: null,
|
|
1022
999
|
default: Je
|
|
1023
1000
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1024
1001
|
export {
|
|
1025
|
-
|
|
1002
|
+
Ut as R,
|
|
1026
1003
|
qe as T,
|
|
1027
|
-
|
|
1004
|
+
ar as a
|
|
1028
1005
|
};
|