@everymatrix/tournament-details-page 0.0.5 → 0.0.7
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-C-zS8XGk.cjs +7 -0
- package/components/{TournamentDetails-ByOP8vGa.js → TournamentDetails-DoBMS_9T.js} +1823 -1821
- package/components/{TournamentDetails-DIGjTSwQ.js → TournamentDetails-qcyLTtSv.js} +1922 -1920
- package/components/{TournamentDetailsPage-CPVEgDYR.js → TournamentDetailsPage-C2wcS4rg.js} +295 -261
- package/components/{TournamentDetailsPage-Dlv02xHw.js → TournamentDetailsPage-CQFv3xok.js} +302 -268
- package/components/{TournamentDetailsPage-CpVOLote.cjs → TournamentDetailsPage-CR3ti0az.cjs} +8 -5
- package/components/TournamentGames-KOJ004rg.js +387 -0
- package/components/{TournamentGames-0cZY55hS.js → TournamentGames-xrJB7h-M.js} +159 -148
- package/components/TournamentGames-zikPbhES.cjs +27 -0
- package/components/{TournamentLeaderboard-D7ktm7ED.js → TournamentLeaderboard-BjBItfy9.js} +171 -171
- package/components/{TournamentLeaderboard-CXLrlJUG.cjs → TournamentLeaderboard-D9naoaD9.cjs} +7 -7
- package/components/{TournamentLeaderboard-nb3ySbAn.js → TournamentLeaderboard-Dc8xv6be.js} +159 -159
- 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-2nXu_Fl0.cjs +0 -7
- package/components/TournamentGames-3vEVB6E0.js +0 -376
- package/components/TournamentGames-54X0-O5B.cjs +0 -26
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
function
|
|
3
|
-
|
|
1
|
+
import { b as ot, $ as st, M as it, g as dt, h as Le, u as lt, o as ct, j as W, k as je, z as ve, n as L, q as vt, r as ht, v as Ne, p as ut, l as A, m as p, C as ft, E as R, e as pt, f as gt, w as l, L as Qe, t as q, s as he, F as mt, x as f, I as Xe, y as De, J as Ye, K as tt, N as yt, B as rt } from "./TournamentDetails-DoBMS_9T.js";
|
|
2
|
+
function bt(se, $) {
|
|
3
|
+
ot(se, $);
|
|
4
4
|
}
|
|
5
|
-
function
|
|
6
|
-
|
|
5
|
+
function at(se) {
|
|
6
|
+
st.set(se);
|
|
7
7
|
}
|
|
8
|
-
const
|
|
8
|
+
const nt = {
|
|
9
9
|
en: {
|
|
10
10
|
rank: "Rank",
|
|
11
11
|
user: "User",
|
|
@@ -23,16 +23,16 @@ const at = {
|
|
|
23
23
|
tr: {
|
|
24
24
|
rank: "Sıralama",
|
|
25
25
|
user: "Kullanıcı",
|
|
26
|
-
points: "
|
|
26
|
+
points: "Puan",
|
|
27
27
|
prize: "Ödül",
|
|
28
28
|
notEnrolledRank: "Şu anda bu turnuvaya kayıtlı değilsiniz",
|
|
29
29
|
myRanking: "Sıralamam",
|
|
30
30
|
showMore: "Daha Fazla Göster",
|
|
31
31
|
showLess: "Daha Az Göster",
|
|
32
|
-
emptyLeaderboard: "
|
|
33
|
-
joinButton: "
|
|
34
|
-
previousButton: "
|
|
35
|
-
nextButton: "
|
|
32
|
+
emptyLeaderboard: "Şu anda bu turnuvaya kayıtlı oyuncu bulunmuyor",
|
|
33
|
+
joinButton: "Katıl",
|
|
34
|
+
previousButton: "Önceki",
|
|
35
|
+
nextButton: "Sonraki"
|
|
36
36
|
}
|
|
37
37
|
};
|
|
38
38
|
var Ze = { exports: {} };
|
|
@@ -43,10 +43,10 @@ var Ze = { exports: {} };
|
|
|
43
43
|
*/
|
|
44
44
|
(function(se, $) {
|
|
45
45
|
(function(b) {
|
|
46
|
-
var V = b.setTimeout, ie = b.clearTimeout,
|
|
46
|
+
var V = b.setTimeout, ie = b.clearTimeout, k = b.XMLHttpRequest, K = b.XDomainRequest, J = b.ActiveXObject, Q = b.EventSource, F = b.document, qe = b.Promise, M = b.fetch, ue = b.Response, Y = b.TextDecoder, _e = b.TextEncoder, Z = b.AbortController;
|
|
47
47
|
if (typeof window < "u" && typeof F < "u" && !("readyState" in F) && F.body == null && (F.readyState = "loading", window.addEventListener("load", function(e) {
|
|
48
48
|
F.readyState = "complete";
|
|
49
|
-
}, !1)),
|
|
49
|
+
}, !1)), k == null && J != null && (k = function() {
|
|
50
50
|
return new J("Microsoft.XMLHTTP");
|
|
51
51
|
}), Object.create == null && (Object.create = function(e) {
|
|
52
52
|
function n() {
|
|
@@ -54,7 +54,7 @@ var Ze = { exports: {} };
|
|
|
54
54
|
return n.prototype = e, new n();
|
|
55
55
|
}), Date.now || (Date.now = function() {
|
|
56
56
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
57
|
-
}),
|
|
57
|
+
}), Z == null) {
|
|
58
58
|
var U = M;
|
|
59
59
|
M = function(e, n) {
|
|
60
60
|
var o = n.signal;
|
|
@@ -71,7 +71,7 @@ var Ze = { exports: {} };
|
|
|
71
71
|
}
|
|
72
72
|
};
|
|
73
73
|
});
|
|
74
|
-
},
|
|
74
|
+
}, Z = function() {
|
|
75
75
|
this.signal = {
|
|
76
76
|
_reader: null,
|
|
77
77
|
_aborted: !1
|
|
@@ -110,13 +110,13 @@ var Ze = { exports: {} };
|
|
|
110
110
|
};
|
|
111
111
|
var fe = function() {
|
|
112
112
|
try {
|
|
113
|
-
return new
|
|
113
|
+
return new Y().decode(new _e().encode("test"), { stream: !0 }) === "test";
|
|
114
114
|
} catch (e) {
|
|
115
115
|
console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + e);
|
|
116
116
|
}
|
|
117
117
|
return !1;
|
|
118
118
|
};
|
|
119
|
-
(
|
|
119
|
+
(Y == null || _e == null || !fe()) && (Y = B);
|
|
120
120
|
var N = function() {
|
|
121
121
|
};
|
|
122
122
|
function z(e) {
|
|
@@ -130,16 +130,16 @@ var Ze = { exports: {} };
|
|
|
130
130
|
};
|
|
131
131
|
var t = function() {
|
|
132
132
|
if (v === 1) {
|
|
133
|
-
var s = 0, u = "",
|
|
133
|
+
var s = 0, u = "", j = void 0;
|
|
134
134
|
if ("contentType" in a)
|
|
135
|
-
s = 200, u = "OK",
|
|
135
|
+
s = 200, u = "OK", j = a.contentType;
|
|
136
136
|
else
|
|
137
137
|
try {
|
|
138
|
-
s = a.status, u = a.statusText,
|
|
138
|
+
s = a.status, u = a.statusText, j = a.getResponseHeader("Content-Type");
|
|
139
139
|
} catch {
|
|
140
|
-
s = 0, u = "",
|
|
140
|
+
s = 0, u = "", j = void 0;
|
|
141
141
|
}
|
|
142
|
-
s !== 0 && (v = 2, o.readyState = 2, o.status = s, o.statusText = u, o._contentType =
|
|
142
|
+
s !== 0 && (v = 2, o.readyState = 2, o.status = s, o.statusText = u, o._contentType = j, o.onreadystatechange());
|
|
143
143
|
}
|
|
144
144
|
}, i = function() {
|
|
145
145
|
if (t(), v === 2 || v === 3) {
|
|
@@ -180,7 +180,7 @@ var Ze = { exports: {} };
|
|
|
180
180
|
r("abort", s);
|
|
181
181
|
}), "onprogress" in a && (a.onprogress = i), "onreadystatechange" in a && (a.onreadystatechange = function(s) {
|
|
182
182
|
c(s);
|
|
183
|
-
}), ("contentType" in a || !("ontimeout" in
|
|
183
|
+
}), ("contentType" in a || !("ontimeout" in k.prototype)) && (n += (n.indexOf("?") === -1 ? "?" : "&") + "padding=true"), a.open(e, n, !0), "readyState" in a && (d = V(function() {
|
|
184
184
|
h();
|
|
185
185
|
}, 0));
|
|
186
186
|
}, z.prototype.abort = function() {
|
|
@@ -193,7 +193,7 @@ var Ze = { exports: {} };
|
|
|
193
193
|
}, z.prototype.getAllResponseHeaders = function() {
|
|
194
194
|
return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
|
|
195
195
|
}, z.prototype.send = function() {
|
|
196
|
-
if ((!("ontimeout" in
|
|
196
|
+
if ((!("ontimeout" in k.prototype) || !("sendAsBinary" in k.prototype) && !("mozAnon" in k.prototype)) && F != null && F.readyState != null && F.readyState !== "complete") {
|
|
197
197
|
var e = this;
|
|
198
198
|
e._sendTimeout = V(function() {
|
|
199
199
|
e._sendTimeout = 0, e.send();
|
|
@@ -223,7 +223,7 @@ var Ze = { exports: {} };
|
|
|
223
223
|
}
|
|
224
224
|
pe.prototype.get = function(e) {
|
|
225
225
|
return this._map[Fe(e)];
|
|
226
|
-
},
|
|
226
|
+
}, k != null && k.HEADERS_RECEIVED == null && (k.HEADERS_RECEIVED = 2);
|
|
227
227
|
function Oe() {
|
|
228
228
|
}
|
|
229
229
|
Oe.prototype.open = function(e, n, o, a, v, d, t) {
|
|
@@ -239,7 +239,7 @@ var Ze = { exports: {} };
|
|
|
239
239
|
}, e.onabort = function() {
|
|
240
240
|
a(null);
|
|
241
241
|
}, e.onreadystatechange = function() {
|
|
242
|
-
if (e.readyState ===
|
|
242
|
+
if (e.readyState === k.HEADERS_RECEIVED) {
|
|
243
243
|
var c = e.status, h = e.statusText, s = e.getResponseHeader("Content-Type"), u = e.getAllResponseHeaders();
|
|
244
244
|
n(c, h, s, new pe(u));
|
|
245
245
|
}
|
|
@@ -257,14 +257,14 @@ var Ze = { exports: {} };
|
|
|
257
257
|
function Ie() {
|
|
258
258
|
}
|
|
259
259
|
Ie.prototype.open = function(e, n, o, a, v, d, t) {
|
|
260
|
-
var i = null, r = new
|
|
260
|
+
var i = null, r = new Z(), c = r.signal, h = new Y();
|
|
261
261
|
return M(v, {
|
|
262
262
|
headers: t,
|
|
263
263
|
credentials: d ? "include" : "same-origin",
|
|
264
264
|
signal: c,
|
|
265
265
|
cache: "no-store"
|
|
266
266
|
}).then(function(s) {
|
|
267
|
-
return i = s.body.getReader(), n(s.status, s.statusText, s.headers.get("Content-Type"), new Be(s.headers)), new qe(function(u,
|
|
267
|
+
return i = s.body.getReader(), n(s.status, s.statusText, s.headers.get("Content-Type"), new Be(s.headers)), new qe(function(u, j) {
|
|
268
268
|
var x = function() {
|
|
269
269
|
i.read().then(function(g) {
|
|
270
270
|
if (g.done)
|
|
@@ -274,7 +274,7 @@ var Ze = { exports: {} };
|
|
|
274
274
|
o(y), x();
|
|
275
275
|
}
|
|
276
276
|
}).catch(function(g) {
|
|
277
|
-
|
|
277
|
+
j(g);
|
|
278
278
|
});
|
|
279
279
|
};
|
|
280
280
|
x();
|
|
@@ -341,7 +341,7 @@ var Ze = { exports: {} };
|
|
|
341
341
|
de.call(this, e), this.error = n.error;
|
|
342
342
|
}
|
|
343
343
|
He.prototype = Object.create(de.prototype);
|
|
344
|
-
var
|
|
344
|
+
var Ee = -1, ee = 0, te = 1, le = 2, Pe = -1, re = 0, be = 1, xe = 2, Me = 3, Re = /^text\/event\-stream(;.*)?$/i, Ge = 1e3, Te = 18e6, Ce = function(e, n) {
|
|
345
345
|
var o = e == null ? n : parseInt(e, 10);
|
|
346
346
|
return o !== o && (o = n), we(o);
|
|
347
347
|
}, we = function(e) {
|
|
@@ -357,83 +357,83 @@ var Ze = { exports: {} };
|
|
|
357
357
|
ge.call(this), n = n || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, Ve(this, e, n);
|
|
358
358
|
}
|
|
359
359
|
function $e() {
|
|
360
|
-
return
|
|
360
|
+
return k != null && "withCredentials" in k.prototype || K == null ? new k() : new K();
|
|
361
361
|
}
|
|
362
362
|
var Ue = M != null && ue != null && "body" in ue.prototype;
|
|
363
363
|
function Ve(e, n, o) {
|
|
364
364
|
n = String(n);
|
|
365
|
-
var a = !!o.withCredentials, v = o.lastEventIdQueryParameterName || "lastEventId", d = we(1e3), t = Ce(o.heartbeatTimeout, 45e3), i = "", r = d, c = !1, h = 0, s = o.headers || {}, u = o.Transport,
|
|
366
|
-
if (S ===
|
|
365
|
+
var a = !!o.withCredentials, v = o.lastEventIdQueryParameterName || "lastEventId", d = we(1e3), t = Ce(o.heartbeatTimeout, 45e3), i = "", r = d, c = !1, h = 0, s = o.headers || {}, u = o.Transport, j = Ue && u == null ? void 0 : new z(u != null ? new u() : $e()), x = u != null && typeof u != "string" ? new u() : j == null ? new Ie() : new Oe(), g = void 0, y = 0, S = Ee, X = "", w = "", m = "", E = "", _ = re, ae = 0, G = 0, Se = function(T, P, I, H) {
|
|
366
|
+
if (S === ee)
|
|
367
367
|
if (T === 200 && I != null && Re.test(I)) {
|
|
368
|
-
S =
|
|
368
|
+
S = te, c = Date.now(), r = d, e.readyState = te;
|
|
369
369
|
var D = new ye("open", {
|
|
370
370
|
status: T,
|
|
371
|
-
statusText:
|
|
371
|
+
statusText: P,
|
|
372
372
|
headers: H
|
|
373
373
|
});
|
|
374
374
|
e.dispatchEvent(D), ce(e, e.onopen, D);
|
|
375
375
|
} else {
|
|
376
376
|
var C = "";
|
|
377
|
-
T !== 200 ? (
|
|
377
|
+
T !== 200 ? (P && (P = P.replace(/\s+/g, " ")), C = "EventSource's response has a status " + T + " " + P + " that is not 200. Aborting the connection.") : C = "EventSource's response has a Content-Type specifying an unsupported type: " + (I == null ? "-" : I.replace(/\s+/g, " ")) + ". Aborting the connection.", Je();
|
|
378
378
|
var D = new ye("error", {
|
|
379
379
|
status: T,
|
|
380
|
-
statusText:
|
|
380
|
+
statusText: P,
|
|
381
381
|
headers: H
|
|
382
382
|
});
|
|
383
383
|
e.dispatchEvent(D), ce(e, e.onerror, D), console.error(C);
|
|
384
384
|
}
|
|
385
|
-
},
|
|
386
|
-
if (S ===
|
|
387
|
-
for (var
|
|
385
|
+
}, Ke = function(T) {
|
|
386
|
+
if (S === te) {
|
|
387
|
+
for (var P = -1, I = 0; I < T.length; I += 1) {
|
|
388
388
|
var H = T.charCodeAt(I);
|
|
389
|
-
(H === 10 || H === 13) && (
|
|
389
|
+
(H === 10 || H === 13) && (P = I);
|
|
390
390
|
}
|
|
391
|
-
var D = (
|
|
392
|
-
|
|
391
|
+
var D = (P !== -1 ? E : "") + T.slice(0, P + 1);
|
|
392
|
+
E = (P === -1 ? E : "") + T.slice(P + 1), T !== "" && (c = Date.now(), h += T.length);
|
|
393
393
|
for (var C = 0; C < D.length; C += 1) {
|
|
394
394
|
var H = D.charCodeAt(C);
|
|
395
|
-
if (
|
|
396
|
-
|
|
397
|
-
else if (
|
|
398
|
-
if (
|
|
399
|
-
|
|
400
|
-
var ne = D.slice(
|
|
395
|
+
if (_ === Pe && H === 10)
|
|
396
|
+
_ = re;
|
|
397
|
+
else if (_ === Pe && (_ = re), H === 13 || H === 10) {
|
|
398
|
+
if (_ !== re) {
|
|
399
|
+
_ === be && (G = C + 1);
|
|
400
|
+
var ne = D.slice(ae, G - 1), oe = D.slice(G + (G < C && D.charCodeAt(G) === 32 ? 1 : 0), C);
|
|
401
401
|
ne === "data" ? (X += `
|
|
402
402
|
`, X += oe) : ne === "id" ? w = oe : ne === "event" ? m = oe : ne === "retry" ? (d = Ce(oe, d), r = d) : ne === "heartbeatTimeout" && (t = Ce(oe, t), y !== 0 && (ie(y), y = V(function() {
|
|
403
403
|
Ae();
|
|
404
404
|
}, t)));
|
|
405
405
|
}
|
|
406
|
-
if (
|
|
406
|
+
if (_ === re) {
|
|
407
407
|
if (X !== "") {
|
|
408
408
|
i = w, m === "" && (m = "message");
|
|
409
|
-
var
|
|
409
|
+
var ke = new me(m, {
|
|
410
410
|
data: X.slice(1),
|
|
411
411
|
lastEventId: w
|
|
412
412
|
});
|
|
413
|
-
if (e.dispatchEvent(
|
|
413
|
+
if (e.dispatchEvent(ke), m === "open" ? ce(e, e.onopen, ke) : m === "message" ? ce(e, e.onmessage, ke) : m === "error" && ce(e, e.onerror, ke), S === le)
|
|
414
414
|
return;
|
|
415
415
|
}
|
|
416
416
|
X = "", m = "";
|
|
417
417
|
}
|
|
418
|
-
|
|
418
|
+
_ = H === 13 ? Pe : re;
|
|
419
419
|
} else
|
|
420
|
-
|
|
420
|
+
_ === re && (ae = C, _ = be), _ === be ? H === 58 && (G = C + 1, _ = xe) : _ === xe && (_ = Me);
|
|
421
421
|
}
|
|
422
422
|
}
|
|
423
423
|
}, et = function(T) {
|
|
424
|
-
if (S ===
|
|
425
|
-
S =
|
|
424
|
+
if (S === te || S === ee) {
|
|
425
|
+
S = Ee, y !== 0 && (ie(y), y = 0), y = V(function() {
|
|
426
426
|
Ae();
|
|
427
|
-
}, r), r = we(Math.min(d * 16, r * 2)), e.readyState =
|
|
428
|
-
var
|
|
429
|
-
e.dispatchEvent(
|
|
427
|
+
}, r), r = we(Math.min(d * 16, r * 2)), e.readyState = ee;
|
|
428
|
+
var P = new He("error", { error: T });
|
|
429
|
+
e.dispatchEvent(P), ce(e, e.onerror, P), T != null && console.error(T);
|
|
430
430
|
}
|
|
431
|
-
},
|
|
431
|
+
}, Je = function() {
|
|
432
432
|
S = le, g != null && (g.abort(), g = void 0), y !== 0 && (ie(y), y = 0), e.readyState = le;
|
|
433
433
|
}, Ae = function() {
|
|
434
|
-
if (y = 0, S !==
|
|
434
|
+
if (y = 0, S !== Ee) {
|
|
435
435
|
if (!c && g != null)
|
|
436
|
-
et(new Error("No activity within " + t + " milliseconds. " + (S ===
|
|
436
|
+
et(new Error("No activity within " + t + " milliseconds. " + (S === ee ? "No response received." : h + " chars received.") + " Reconnecting.")), g != null && (g.abort(), g = void 0);
|
|
437
437
|
else {
|
|
438
438
|
var T = Math.max((c || Date.now()) + t - Date.now(), 1);
|
|
439
439
|
c = !1, y = V(function() {
|
|
@@ -444,13 +444,13 @@ var Ze = { exports: {} };
|
|
|
444
444
|
}
|
|
445
445
|
c = !1, h = 0, y = V(function() {
|
|
446
446
|
Ae();
|
|
447
|
-
}, t), S =
|
|
448
|
-
var
|
|
447
|
+
}, t), S = ee, X = "", m = "", w = i, E = "", ae = 0, G = 0, _ = re;
|
|
448
|
+
var P = n;
|
|
449
449
|
if (n.slice(0, 5) !== "data:" && n.slice(0, 5) !== "blob:" && i !== "") {
|
|
450
450
|
var I = n.indexOf("?");
|
|
451
|
-
|
|
452
|
-
return
|
|
453
|
-
}),
|
|
451
|
+
P = I === -1 ? n : n.slice(0, I + 1) + n.slice(I + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(oe, ke) {
|
|
452
|
+
return ke === v ? "" : oe;
|
|
453
|
+
}), P += (n.indexOf("?") === -1 ? "?" : "&") + v + "=" + encodeURIComponent(i);
|
|
454
454
|
}
|
|
455
455
|
var H = e.withCredentials, D = {};
|
|
456
456
|
D.Accept = "text/event-stream";
|
|
@@ -459,33 +459,33 @@ var Ze = { exports: {} };
|
|
|
459
459
|
for (var ne in C)
|
|
460
460
|
Object.prototype.hasOwnProperty.call(C, ne) && (D[ne] = C[ne]);
|
|
461
461
|
try {
|
|
462
|
-
g = x.open(
|
|
462
|
+
g = x.open(j, Se, Ke, et, P, H, D);
|
|
463
463
|
} catch (oe) {
|
|
464
|
-
throw
|
|
464
|
+
throw Je(), oe;
|
|
465
465
|
}
|
|
466
466
|
};
|
|
467
|
-
e.url = n, e.readyState =
|
|
467
|
+
e.url = n, e.readyState = ee, e.withCredentials = a, e.headers = s, e._close = Je, Ae();
|
|
468
468
|
}
|
|
469
|
-
O.prototype = Object.create(ge.prototype), O.prototype.CONNECTING =
|
|
469
|
+
O.prototype = Object.create(ge.prototype), O.prototype.CONNECTING = ee, O.prototype.OPEN = te, O.prototype.CLOSED = le, O.prototype.close = function() {
|
|
470
470
|
this._close();
|
|
471
|
-
}, O.CONNECTING =
|
|
472
|
-
var ze =
|
|
473
|
-
|
|
471
|
+
}, O.CONNECTING = ee, O.OPEN = te, O.CLOSED = le, O.prototype.withCredentials = void 0;
|
|
472
|
+
var ze = Q;
|
|
473
|
+
k != null && (Q == null || !("withCredentials" in Q.prototype)) && (ze = O), function(e) {
|
|
474
474
|
{
|
|
475
475
|
var n = e($);
|
|
476
476
|
n !== void 0 && (se.exports = n);
|
|
477
477
|
}
|
|
478
478
|
}(function(e) {
|
|
479
|
-
e.EventSourcePolyfill = O, e.NativeEventSource =
|
|
479
|
+
e.EventSourcePolyfill = O, e.NativeEventSource = Q, e.EventSource = ze;
|
|
480
480
|
});
|
|
481
|
-
})(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self :
|
|
481
|
+
})(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : it : globalThis);
|
|
482
482
|
})(Ze, Ze.exports);
|
|
483
|
-
var wt = Ze.exports,
|
|
483
|
+
var wt = Ze.exports, jt = W('<span class="svelte-75jgrh"> </span> <span class="svelte-75jgrh"> </span> <span class="svelte-75jgrh"> </span>', 1), _t = W('<p class="svelte-75jgrh"> </p>'), xt = W('<div class="PlayerRankWrapper svelte-75jgrh"><div class="PlayerRankLabels svelte-75jgrh"><span class="svelte-75jgrh"> </span> <span class="svelte-75jgrh"> </span> <span class="svelte-75jgrh"> </span></div> <div class="PlayerRankData svelte-75jgrh"><!></div></div>'), St = W('<div class="PlayerRankSkeletonWrapper svelte-75jgrh"><div class="PlayerRankSkeleton svelte-75jgrh"><div class="SkeletonShimmer svelte-75jgrh"></div></div> <div class="PlayerRankSkeleton svelte-75jgrh"><div class="SkeletonShimmer svelte-75jgrh"></div></div></div>'), kt = W('<tr class="SkeletonRow svelte-75jgrh"><td colspan="4" class="SkeletonShimmer svelte-75jgrh"><div class="svelte-75jgrh"></div></td></tr>'), Et = W('<tr><td class="svelte-75jgrh"> </td><td class="svelte-75jgrh"> </td><td class="svelte-75jgrh"> </td><td class="svelte-75jgrh"> </td></tr>'), Pt = W('<tr class="svelte-75jgrh"><td colspan="4" class="svelte-75jgrh"><div class="EmptyLeaderboard svelte-75jgrh"><p class="svelte-75jgrh"> </p></div></td></tr>'), Rt = W('<div class="PaginationSkeleton svelte-75jgrh"><div class="PaginationSkeletonButton svelte-75jgrh"><div class="SkeletonShimmer svelte-75jgrh"></div></div> <div class="PaginationNumberSkeleton svelte-75jgrh"><div class="SkeletonShimmer svelte-75jgrh"></div></div> <div class="PaginationNumberSkeleton svelte-75jgrh"><div class="SkeletonShimmer svelte-75jgrh"></div></div> <div class="PaginationNumberSkeleton svelte-75jgrh"><div class="SkeletonShimmer svelte-75jgrh"></div></div> <div class="PaginationNumberSkeleton svelte-75jgrh"><div class="SkeletonShimmer svelte-75jgrh"></div></div> <div class="PaginationNumberSkeleton svelte-75jgrh"><div class="SkeletonShimmer svelte-75jgrh"></div></div> <div class="PaginationSkeletonButton svelte-75jgrh"><div class="SkeletonShimmer svelte-75jgrh"></div></div></div>'), Tt = W('<span class="PaginationButton Elipsis svelte-75jgrh">...</span>'), Ct = W("<button> </button>"), At = W('<div class="PaginationWrapper svelte-75jgrh"><button class="PaginationButton svelte-75jgrh"> </button> <div class="PageNumberWrapper svelte-75jgrh"></div> <button class="PaginationButton svelte-75jgrh"> </button></div>'), Lt = W('<div class="LeaderboardWrapper svelte-75jgrh"><!> <table class="LeaderboardTable svelte-75jgrh"><thead class="LeaderboardTableHeader svelte-75jgrh"><tr class="svelte-75jgrh"><th class="svelte-75jgrh"> </th><th class="svelte-75jgrh"> </th><th class="svelte-75jgrh"> </th><th class="svelte-75jgrh"> </th></tr></thead><tbody class="LeaderboardTableBody svelte-75jgrh"><!></tbody></table> <!> <!></div>');
|
|
484
484
|
const Nt = {
|
|
485
485
|
hash: "svelte-75jgrh",
|
|
486
486
|
code: `.svelte-75jgrh,
|
|
487
487
|
.svelte-75jgrh::before,
|
|
488
|
-
.svelte-75jgrh::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;}.LeaderboardWrapper.svelte-75jgrh {background-color:var(--emw-color-bg-secondary, #333232);border-radius:6px;padding:16px;overflow:hidden;}.PlayerRankWrapper.svelte-75jgrh {display:flex;flex-direction:column;gap:5px;margin-top:20px;.PlayerRankLabels:where(.svelte-75jgrh), .PlayerRankData:where(.svelte-75jgrh) {display:grid;grid-template-columns:1fr 1fr 2fr;padding:6px;color:var(--emw-color-typography-secondary, #bdbdbd);font-size:14px;font-weight:400;& > span:where(.svelte-75jgrh):last-child{justify-self:end;}p:where(.svelte-75jgrh) {width:max-content;}}.PlayerRankData:where(.svelte-75jgrh) {background-color:var(--emw-color-bg-section, #434343);color:var(--emw-color-typography, #ffffff);border-radius:6px;padding:12px;}}.PaginationWrapper.svelte-75jgrh {display:flex;justify-content:space-between;.PageNumberWrapper:where(.svelte-75jgrh) {display:flex;gap:6px;}.PaginationButton:where(.svelte-75jgrh) {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;}}}.LeaderboardTable.svelte-75jgrh {border-collapse:separate;border-spacing:0 12px;width:100%;table-layout:fixed;overflow:hidden;.PlayerRow:where(.svelte-75jgrh) {color:#F9C408;}thead:where(.svelte-75jgrh) th:where(.svelte-75jgrh) {background:transparent;padding:6px 16px;text-align:center;font-weight:400;color:var(--emw-color-typography-secondary, #bdbdbd);font-size:14px;}tbody:where(.svelte-75jgrh) tr:where(.svelte-75jgrh) {background-color:var(--emw-color-bg-section, #434343);color:var(--emw-color-typography-secondary, #bdbdbd);font-size:14px;font-weight:500;&:last-child{justify-self:end;}}tbody:where(.svelte-75jgrh) td:where(.svelte-75jgrh) {padding:12px;background-color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}tbody:where(.svelte-75jgrh) td:where(.svelte-75jgrh):first-child {border-top-left-radius:8px;border-bottom-left-radius:8px;width:15%;}tbody:where(.svelte-75jgrh) td:where(.svelte-75jgrh):nth-child(2) {width:35%;}tbody:where(.svelte-75jgrh) td:where(.svelte-75jgrh):nth-child(3) {width:20%;}tbody:where(.svelte-75jgrh) td:where(.svelte-75jgrh):last-child {border-top-right-radius:8px;border-bottom-right-radius:8px;width:30%;}th:where(.svelte-75jgrh), td:where(.svelte-75jgrh) {text-align:center;vertical-align:middle;}tbody:where(.svelte-75jgrh) tr.Gold:where(.svelte-75jgrh){background:linear-gradient(to right, #a2851a, color-mix(in srgb, #a2851a 50%, var(--emw-color-bg-secondary, #434343) 50%), var(--emw-color-bg-secondary, #434343));}tbody:where(.svelte-75jgrh) tr.Silver:where(.svelte-75jgrh) {background:linear-gradient(to right, #b0aeae, color-mix(in srgb, #b0aeae, var(--emw-color-bg-secondary, #434343)), var(--emw-color-bg-secondary, #434343));}tbody:where(.svelte-75jgrh) tr.Bronze:where(.svelte-75jgrh) {background:linear-gradient(to right, #ac763c, color-mix(in srgb, #ac763c, var(--emw-color-bg-secondary, #434343)), var(--emw-color-bg-secondary, #434343));}}.EmptyLeaderboard.svelte-75jgrh {background-color:var(--emw-color-bg-secondary, #333232);color:var(--emw-color-typography-secondary, #bdbdbd);width:100%;border-radius:8px;margin:10px 0;text-align:center;padding:10px 0;}.SkeletonRow.svelte-75jgrh {height:41px;overflow:hidden;}.PlayerRankSkeletonWrapper.svelte-75jgrh {display:flex;justify-content:space-between;width:100%;gap:6px;flex-direction:column;.PlayerRankSkeleton:where(.svelte-75jgrh) {width:100%;height:40px;border-radius:6px;background-color:var(--emw-color-bg-secondary, #333232);border-radius:6px;}}.PaginationSkeleton.svelte-75jgrh {display:flex;justify-content:space-between;gap:6px;.PaginationSkeletonButton:where(.svelte-75jgrh) {width:
|
|
488
|
+
.svelte-75jgrh::after {margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit;}.LeaderboardWrapper.svelte-75jgrh {background-color:var(--emw-color-bg-secondary, #333232);border-radius:6px;padding:16px;overflow:hidden;}.PlayerRankWrapper.svelte-75jgrh {display:flex;flex-direction:column;gap:5px;margin-top:20px;.PlayerRankLabels:where(.svelte-75jgrh), .PlayerRankData:where(.svelte-75jgrh) {display:grid;grid-template-columns:1fr 1fr 2fr;padding:6px;color:var(--emw-color-typography-secondary, #bdbdbd);font-size:14px;font-weight:400;& > span:where(.svelte-75jgrh):last-child{justify-self:end;}p:where(.svelte-75jgrh) {width:max-content;}}.PlayerRankData:where(.svelte-75jgrh) {background-color:var(--emw-color-bg-section, #434343);color:var(--emw-color-typography, #ffffff);border-radius:6px;padding:12px;}}.PaginationWrapper.svelte-75jgrh {display:flex;justify-content:space-between;.PageNumberWrapper:where(.svelte-75jgrh) {display:flex;gap:6px;}.PaginationButton:where(.svelte-75jgrh) {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;}}}.LeaderboardTable.svelte-75jgrh {border-collapse:separate;border-spacing:0 12px;width:100%;table-layout:fixed;overflow:hidden;.PlayerRow:where(.svelte-75jgrh) {color:#F9C408;}thead:where(.svelte-75jgrh) th:where(.svelte-75jgrh) {background:transparent;padding:6px 16px;text-align:center;font-weight:400;color:var(--emw-color-typography-secondary, #bdbdbd);font-size:14px;}tbody:where(.svelte-75jgrh) tr:where(.svelte-75jgrh) {background-color:var(--emw-color-bg-section, #434343);color:var(--emw-color-typography-secondary, #bdbdbd);font-size:14px;font-weight:500;&:last-child{justify-self:end;}}tbody:where(.svelte-75jgrh) td:where(.svelte-75jgrh) {padding:12px;background-color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}tbody:where(.svelte-75jgrh) td:where(.svelte-75jgrh):first-child {border-top-left-radius:8px;border-bottom-left-radius:8px;width:15%;}tbody:where(.svelte-75jgrh) td:where(.svelte-75jgrh):nth-child(2) {width:35%;}tbody:where(.svelte-75jgrh) td:where(.svelte-75jgrh):nth-child(3) {width:20%;}tbody:where(.svelte-75jgrh) td:where(.svelte-75jgrh):last-child {border-top-right-radius:8px;border-bottom-right-radius:8px;width:30%;}th:where(.svelte-75jgrh), td:where(.svelte-75jgrh) {text-align:center;vertical-align:middle;}tbody:where(.svelte-75jgrh) tr.Gold:where(.svelte-75jgrh){background:linear-gradient(to right, #a2851a, color-mix(in srgb, #a2851a 50%, var(--emw-color-bg-secondary, #434343) 50%), var(--emw-color-bg-secondary, #434343));}tbody:where(.svelte-75jgrh) tr.Silver:where(.svelte-75jgrh) {background:linear-gradient(to right, #b0aeae, color-mix(in srgb, #b0aeae, var(--emw-color-bg-secondary, #434343)), var(--emw-color-bg-secondary, #434343));}tbody:where(.svelte-75jgrh) tr.Bronze:where(.svelte-75jgrh) {background:linear-gradient(to right, #ac763c, color-mix(in srgb, #ac763c, var(--emw-color-bg-secondary, #434343)), var(--emw-color-bg-secondary, #434343));}}.EmptyLeaderboard.svelte-75jgrh {background-color:var(--emw-color-bg-secondary, #333232);color:var(--emw-color-typography-secondary, #bdbdbd);width:100%;border-radius:8px;margin:10px 0;text-align:center;padding:10px 0;}.SkeletonRow.svelte-75jgrh {height:41px;overflow:hidden;}.PlayerRankSkeletonWrapper.svelte-75jgrh {display:flex;justify-content:space-between;width:100%;gap:6px;flex-direction:column;.PlayerRankSkeleton:where(.svelte-75jgrh) {width:100%;height:40px;border-radius:6px;background-color:var(--emw-color-bg-secondary, #333232);border-radius:6px;}}.PaginationSkeleton.svelte-75jgrh {display:flex;justify-content:space-between;gap:6px;.PaginationSkeletonButton:where(.svelte-75jgrh) {width:60px;height:40px;border-radius:6px;background-color:var(--emw-color-skeleton, #333232);overflow:hidden;position:relative;}.PaginationNumberSkeleton:where(.svelte-75jgrh) {width:30px;height:40px;border-radius:6px;background-color:var(--emw-color-skeleton, #333232);overflow:hidden;position:relative;}}.SkeletonShimmer.svelte-75jgrh {width:100%;height:100%;background:linear-gradient(
|
|
489
489
|
90deg,
|
|
490
490
|
transparent 0%,
|
|
491
491
|
var(--emw-color-skeleton, #333232) 50%,
|
|
@@ -505,48 +505,48 @@ const Nt = {
|
|
|
505
505
|
@media (min-width: 1000px) {.ShowPlayersButton.svelte-75jgrh {display:block;width:300px;margin:auto;background-color:var(--emw-color-bg-primary, #212121);}
|
|
506
506
|
}
|
|
507
507
|
|
|
508
|
-
@media (min-width: 750px) {.PaginationWrapper.svelte-75jgrh, .PaginationSkeleton.svelte-75jgrh {justify-content:end;gap:10px;}.PaginationButton.svelte-75jgrh {min-width:75px;}
|
|
508
|
+
@media (min-width: 750px) {.PaginationWrapper.svelte-75jgrh, .PaginationSkeleton.svelte-75jgrh {justify-content:end;gap:10px;}.PaginationButton.svelte-75jgrh {min-width:75px;}.PaginationSkeleton.svelte-75jgrh {justify-content:end;gap:10px;.PaginationSkeletonButton:where(.svelte-75jgrh) {width:auto;min-width:55px;}.PaginationNumberSkeleton:where(.svelte-75jgrh) {width:25px;}}
|
|
509
509
|
}`
|
|
510
510
|
};
|
|
511
511
|
function Dt(se, $) {
|
|
512
|
-
|
|
513
|
-
const b = () =>
|
|
514
|
-
Object.keys(
|
|
515
|
-
|
|
516
|
-
});
|
|
512
|
+
ut($, !0), dt(se, Nt);
|
|
513
|
+
const b = () => ft(mt, "$_", V), [V, ie] = ht(), k = Le($, "endpoint"), K = Le($, "language", 7, "en"), J = Le($, "session"), Q = Le($, "tournamentid"), F = Le($, "platform");
|
|
514
|
+
Object.keys(nt).forEach((t) => {
|
|
515
|
+
bt(t, nt[t]);
|
|
516
|
+
}), at(K());
|
|
517
517
|
const qe = () => {
|
|
518
|
-
|
|
518
|
+
at(K());
|
|
519
519
|
};
|
|
520
|
-
|
|
520
|
+
lt(() => {
|
|
521
521
|
qe();
|
|
522
522
|
});
|
|
523
|
-
let M = null, ue = he(void 0),
|
|
523
|
+
let M = null, ue = he(void 0), Y = he(!1), _e = he(!1), Z = he(void 0), U = he(0), B = he(10), fe = he(void 0), N = he(void 0);
|
|
524
524
|
const z = () => {
|
|
525
525
|
if (ye.has(l(me)))
|
|
526
526
|
return;
|
|
527
|
-
q(
|
|
528
|
-
const t = new URL(`${
|
|
529
|
-
J() && i.append("X-SessionId", J()), t.searchParams.append("language",
|
|
527
|
+
q(Y, !0);
|
|
528
|
+
const t = new URL(`${k()}/v1/tournaments/${Q()}/leaderboard`), i = new Headers();
|
|
529
|
+
J() && i.append("X-SessionId", J()), t.searchParams.append("language", K()), t.searchParams.append("platform", F()), t.searchParams.append("pagination", `offset=${l(U)},limit=${l(B)}`), fetch(t).then((r) => r.json()).then((r) => {
|
|
530
530
|
q(ue, r?.items, !0), q(fe, r?.pages, !0), q(N, r?.total, !0), ye.set(l(me), l(ue));
|
|
531
|
-
}).catch((r) => console.log(r)).finally(() => q(
|
|
531
|
+
}).catch((r) => console.log(r)).finally(() => q(Y, !1));
|
|
532
532
|
}, Fe = (t) => {
|
|
533
533
|
const i = JSON.parse(t.data);
|
|
534
534
|
i && i.messageType === "LeaderBoardUpdate" && q(ue, i?.items, !0);
|
|
535
535
|
}, pe = () => {
|
|
536
536
|
M && (M.close(), M = null);
|
|
537
|
-
const t = new URL(`${
|
|
538
|
-
t.searchParams.append("HeartBeat", "false"), t.searchParams.append("language",
|
|
537
|
+
const t = new URL(`${k()}/v1/tournaments/${Q()}/leaderboard/updates`);
|
|
538
|
+
t.searchParams.append("HeartBeat", "false"), t.searchParams.append("language", K()), t.searchParams.append("filter", "includeUnqualifiedPlayer=true"), t.searchParams.append("pagination", `offset=${l(U)},limit=${l(B)}`), t.searchParams.append("platform", F()), M = new wt.EventSourcePolyfill(t, {
|
|
539
539
|
headers: { accept: "text/event-stream", "X-SessionId": J() }
|
|
540
540
|
}), M.onmessage = Fe;
|
|
541
541
|
}, Oe = () => {
|
|
542
|
-
q(
|
|
543
|
-
const t = new URL(`${
|
|
544
|
-
t.searchParams.append("language",
|
|
545
|
-
const h = c?.items?.find((s) => s?.tournament?.id ===
|
|
546
|
-
q(
|
|
542
|
+
q(_e, !0);
|
|
543
|
+
const t = new URL(`${k()}/v1/tournaments/leaderboard/player`), i = new Headers();
|
|
544
|
+
t.searchParams.append("language", K()), t.searchParams.append("platform", F()), t.searchParams.append("filter", "includeUnqualifiedPlayer=false"), J() && i.append("X-SessionId", J()), fetch(t, { method: "GET", headers: i }).then((c) => c.json()).then((c) => {
|
|
545
|
+
const h = c?.items?.find((s) => s?.tournament?.id === Q());
|
|
546
|
+
q(Z, h?.leaderBoard, !0);
|
|
547
547
|
}).catch((c) => {
|
|
548
548
|
console.log(c);
|
|
549
|
-
}).finally(() => q(
|
|
549
|
+
}).finally(() => q(_e, !1));
|
|
550
550
|
}, Be = () => {
|
|
551
551
|
l(fe)?.next && (q(U, l(U) + l(B)), z(), pe());
|
|
552
552
|
}, Ie = () => {
|
|
@@ -561,25 +561,25 @@ function Dt(se, $) {
|
|
|
561
561
|
return r.push(1), i <= 3 ? (r.push(2, 3), r.push("..."), r.push(t)) : i >= t - 2 ? (r.push("..."), r.push(t - 2, t - 1, t)) : (r.push("..."), r.push(i - 1, i, i + 1), r.push("..."), r.push(t)), r;
|
|
562
562
|
}), me = Qe(() => Math.floor(l(U) / l(B)) + 1);
|
|
563
563
|
let ye = /* @__PURE__ */ new Map(), He = Qe(() => ye.get(l(me)) ?? []);
|
|
564
|
-
const
|
|
564
|
+
const Ee = (t, i) => {
|
|
565
565
|
const r = [];
|
|
566
566
|
return i && r.push("PlayerRow"), t === 1 && r.push("Gold"), t === 2 && r.push("Silver"), t === 3 && r.push("Bronze"), r.join(" ");
|
|
567
567
|
};
|
|
568
|
-
|
|
568
|
+
ct(() => (z(), Oe(), pe(), () => {
|
|
569
569
|
M?.close(), M = null;
|
|
570
570
|
}));
|
|
571
|
-
var
|
|
571
|
+
var ee = {
|
|
572
572
|
get endpoint() {
|
|
573
|
-
return
|
|
573
|
+
return k();
|
|
574
574
|
},
|
|
575
575
|
set endpoint(t) {
|
|
576
|
-
|
|
576
|
+
k(t), Ne();
|
|
577
577
|
},
|
|
578
578
|
get language() {
|
|
579
|
-
return
|
|
579
|
+
return K();
|
|
580
580
|
},
|
|
581
581
|
set language(t = "en") {
|
|
582
|
-
|
|
582
|
+
K(t), Ne();
|
|
583
583
|
},
|
|
584
584
|
get session() {
|
|
585
585
|
return J();
|
|
@@ -588,10 +588,10 @@ function Dt(se, $) {
|
|
|
588
588
|
J(t), Ne();
|
|
589
589
|
},
|
|
590
590
|
get tournamentid() {
|
|
591
|
-
return
|
|
591
|
+
return Q();
|
|
592
592
|
},
|
|
593
593
|
set tournamentid(t) {
|
|
594
|
-
|
|
594
|
+
Q(t), Ne();
|
|
595
595
|
},
|
|
596
596
|
get platform() {
|
|
597
597
|
return F();
|
|
@@ -599,37 +599,37 @@ function Dt(se, $) {
|
|
|
599
599
|
set platform(t) {
|
|
600
600
|
F(t), Ne();
|
|
601
601
|
}
|
|
602
|
-
},
|
|
602
|
+
}, te = Lt(), le = p(te);
|
|
603
603
|
{
|
|
604
|
-
var
|
|
604
|
+
var Pe = (t) => {
|
|
605
605
|
var i = xt(), r = p(i), c = p(r), h = p(c, !0);
|
|
606
606
|
f(c);
|
|
607
607
|
var s = A(c, 2), u = p(s, !0);
|
|
608
608
|
f(s);
|
|
609
|
-
var
|
|
610
|
-
f(
|
|
609
|
+
var j = A(s, 2), x = p(j, !0);
|
|
610
|
+
f(j), f(r);
|
|
611
611
|
var g = A(r, 2), y = p(g);
|
|
612
612
|
{
|
|
613
613
|
var S = (w) => {
|
|
614
|
-
var m =
|
|
615
|
-
f(
|
|
616
|
-
var
|
|
617
|
-
f(
|
|
618
|
-
var Se = A(
|
|
614
|
+
var m = jt(), E = De(m), _ = p(E);
|
|
615
|
+
f(E);
|
|
616
|
+
var ae = A(E, 2), G = p(ae, !0);
|
|
617
|
+
f(ae);
|
|
618
|
+
var Se = A(ae, 2), Ke = p(Se, !0);
|
|
619
619
|
f(Se), ve(() => {
|
|
620
|
-
R(
|
|
620
|
+
R(_, `${l(Z).rank ?? ""}.`), R(G, l(Z).score), R(Ke, l(Z).prizeName || "-");
|
|
621
621
|
}), L(w, m);
|
|
622
622
|
}, X = (w) => {
|
|
623
|
-
var m =
|
|
624
|
-
f(m), ve((
|
|
623
|
+
var m = _t(), E = p(m, !0);
|
|
624
|
+
f(m), ve((_) => R(E, _), [() => b()("notEnrolledRank")]), L(w, m);
|
|
625
625
|
};
|
|
626
|
-
|
|
627
|
-
l(
|
|
626
|
+
je(y, (w) => {
|
|
627
|
+
l(Z) ? w(S) : w(X, !1);
|
|
628
628
|
});
|
|
629
629
|
}
|
|
630
630
|
f(g), f(i), ve(
|
|
631
|
-
(w, m,
|
|
632
|
-
R(h, w), R(u, m), R(x,
|
|
631
|
+
(w, m, E) => {
|
|
632
|
+
R(h, w), R(u, m), R(x, E);
|
|
633
633
|
},
|
|
634
634
|
[
|
|
635
635
|
() => b()("myRanking"),
|
|
@@ -637,12 +637,12 @@ function Dt(se, $) {
|
|
|
637
637
|
() => b()("prize")
|
|
638
638
|
]
|
|
639
639
|
), L(t, i);
|
|
640
|
-
},
|
|
640
|
+
}, re = (t) => {
|
|
641
641
|
var i = St();
|
|
642
642
|
L(t, i);
|
|
643
643
|
};
|
|
644
|
-
|
|
645
|
-
l(
|
|
644
|
+
je(le, (t) => {
|
|
645
|
+
l(_e) ? t(re, !1) : t(Pe);
|
|
646
646
|
});
|
|
647
647
|
}
|
|
648
648
|
var be = A(le, 2), xe = p(be), Me = p(xe), Re = p(Me), Ge = p(Re, !0);
|
|
@@ -658,36 +658,36 @@ function Dt(se, $) {
|
|
|
658
658
|
var ze = (t) => {
|
|
659
659
|
var i = Xe(), r = De(i);
|
|
660
660
|
Ye(r, 17, () => Array(l(B)), tt, (c, h, s, u) => {
|
|
661
|
-
var
|
|
662
|
-
L(c,
|
|
661
|
+
var j = kt();
|
|
662
|
+
L(c, j);
|
|
663
663
|
}), L(t, i);
|
|
664
664
|
}, e = (t) => {
|
|
665
665
|
var i = Xe(), r = De(i);
|
|
666
666
|
{
|
|
667
667
|
var c = (s) => {
|
|
668
|
-
var u = Xe(),
|
|
669
|
-
Ye(
|
|
670
|
-
var y =
|
|
668
|
+
var u = Xe(), j = De(u);
|
|
669
|
+
Ye(j, 17, () => l(He), (x) => x.rank, (x, g) => {
|
|
670
|
+
var y = Et(), S = p(y), X = p(S);
|
|
671
671
|
f(S);
|
|
672
672
|
var w = A(S), m = p(w, !0);
|
|
673
673
|
f(w);
|
|
674
|
-
var
|
|
675
|
-
f(
|
|
676
|
-
var
|
|
677
|
-
f(
|
|
674
|
+
var E = A(w), _ = p(E, !0);
|
|
675
|
+
f(E);
|
|
676
|
+
var ae = A(E), G = p(ae, !0);
|
|
677
|
+
f(ae), f(y), ve(
|
|
678
678
|
(Se) => {
|
|
679
|
-
rt(y, 1, Se, "svelte-75jgrh"), R(X, `${l(g).rank ?? ""}.`), R(m, l(g).shortName || "-"), R(
|
|
679
|
+
rt(y, 1, Se, "svelte-75jgrh"), R(X, `${l(g).rank ?? ""}.`), R(m, l(g).shortName || "-"), R(_, l(g).score || "-"), R(G, l(g).prizeName || "-");
|
|
680
680
|
},
|
|
681
681
|
[
|
|
682
|
-
() =>
|
|
682
|
+
() => yt(Ee(l(g).rank, l(g).rank === l(Z)?.rank))
|
|
683
683
|
]
|
|
684
684
|
), L(x, y);
|
|
685
685
|
}), L(s, u);
|
|
686
686
|
}, h = (s) => {
|
|
687
|
-
var u =
|
|
688
|
-
f(g), f(x), f(
|
|
687
|
+
var u = Pt(), j = p(u), x = p(j), g = p(x), y = p(g, !0);
|
|
688
|
+
f(g), f(x), f(j), f(u), ve((S) => R(y, S), [() => b()("emptyLeaderboard")]), L(s, u);
|
|
689
689
|
};
|
|
690
|
-
|
|
690
|
+
je(
|
|
691
691
|
r,
|
|
692
692
|
(s) => {
|
|
693
693
|
l(ue)?.length > 0 ? s(c) : s(h, !1);
|
|
@@ -697,65 +697,65 @@ function Dt(se, $) {
|
|
|
697
697
|
}
|
|
698
698
|
L(t, i);
|
|
699
699
|
};
|
|
700
|
-
|
|
701
|
-
l(
|
|
700
|
+
je(Ve, (t) => {
|
|
701
|
+
l(Y) ? t(ze) : t(e, !1);
|
|
702
702
|
});
|
|
703
703
|
}
|
|
704
704
|
f(Ue), f(be);
|
|
705
705
|
var n = A(be, 2);
|
|
706
706
|
{
|
|
707
707
|
var o = (t) => {
|
|
708
|
-
var i =
|
|
708
|
+
var i = Rt();
|
|
709
|
+
L(t, i);
|
|
710
|
+
};
|
|
711
|
+
je(n, (t) => {
|
|
712
|
+
l(Y) && t(o);
|
|
713
|
+
});
|
|
714
|
+
}
|
|
715
|
+
var a = A(n, 2);
|
|
716
|
+
{
|
|
717
|
+
var v = (t) => {
|
|
718
|
+
var i = At(), r = p(i);
|
|
709
719
|
r.__click = Ie;
|
|
710
720
|
var c = p(r, !0);
|
|
711
721
|
f(r);
|
|
712
722
|
var h = A(r, 2);
|
|
713
|
-
Ye(h, 21, () => l(de), tt, (
|
|
723
|
+
Ye(h, 21, () => l(de), tt, (j, x) => {
|
|
714
724
|
var g = Xe(), y = De(g);
|
|
715
725
|
{
|
|
716
726
|
var S = (w) => {
|
|
717
|
-
var m =
|
|
727
|
+
var m = Tt();
|
|
718
728
|
L(w, m);
|
|
719
729
|
}, X = (w) => {
|
|
720
|
-
var m =
|
|
721
|
-
let
|
|
730
|
+
var m = Ct();
|
|
731
|
+
let E;
|
|
722
732
|
m.__click = () => ge(l(x));
|
|
723
|
-
var
|
|
733
|
+
var _ = p(m, !0);
|
|
724
734
|
f(m), ve(() => {
|
|
725
|
-
|
|
735
|
+
E = rt(m, 1, "PaginationButton Number svelte-75jgrh", null, E, { Active: l(x) === l(me) }), R(_, l(x));
|
|
726
736
|
}), L(w, m);
|
|
727
737
|
};
|
|
728
|
-
|
|
738
|
+
je(y, (w) => {
|
|
729
739
|
typeof l(x) != "number" ? w(S) : w(X, !1);
|
|
730
740
|
});
|
|
731
741
|
}
|
|
732
|
-
L(
|
|
742
|
+
L(j, g);
|
|
733
743
|
}), f(h);
|
|
734
744
|
var s = A(h, 2);
|
|
735
745
|
s.__click = Be;
|
|
736
746
|
var u = p(s, !0);
|
|
737
747
|
f(s), f(i), ve(
|
|
738
|
-
(
|
|
739
|
-
r.disabled = !l(fe)?.previous, R(c,
|
|
748
|
+
(j, x) => {
|
|
749
|
+
r.disabled = !l(fe)?.previous, R(c, j), s.disabled = !l(fe)?.next, R(u, x);
|
|
740
750
|
},
|
|
741
751
|
[() => b()("previousButton"), () => b()("nextButton")]
|
|
742
752
|
), L(t, i);
|
|
743
753
|
};
|
|
744
|
-
|
|
745
|
-
!l(
|
|
746
|
-
});
|
|
747
|
-
}
|
|
748
|
-
var a = A(n, 2);
|
|
749
|
-
{
|
|
750
|
-
var v = (t) => {
|
|
751
|
-
var i = At();
|
|
752
|
-
L(t, i);
|
|
753
|
-
};
|
|
754
|
-
_e(a, (t) => {
|
|
755
|
-
l(Q) && t(v);
|
|
754
|
+
je(a, (t) => {
|
|
755
|
+
!l(Y) && l(N) > l(B) && t(v);
|
|
756
756
|
});
|
|
757
757
|
}
|
|
758
|
-
f(
|
|
758
|
+
f(te), ve(
|
|
759
759
|
(t, i, r, c) => {
|
|
760
760
|
R(Ge, t), R(Ce, i), R(ce, r), R($e, c);
|
|
761
761
|
},
|
|
@@ -765,12 +765,12 @@ function Dt(se, $) {
|
|
|
765
765
|
() => b()("points"),
|
|
766
766
|
() => b()("prize")
|
|
767
767
|
]
|
|
768
|
-
), L(se,
|
|
769
|
-
var d =
|
|
768
|
+
), L(se, te);
|
|
769
|
+
var d = vt(ee);
|
|
770
770
|
return ie(), d;
|
|
771
771
|
}
|
|
772
|
-
|
|
773
|
-
customElements.define("tournament-leaderboard",
|
|
772
|
+
pt(["click"]);
|
|
773
|
+
customElements.define("tournament-leaderboard", gt(
|
|
774
774
|
Dt,
|
|
775
775
|
{
|
|
776
776
|
endpoint: {},
|