@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.
@@ -1,11 +1,11 @@
1
- import { a as nr, $ as or, M as sr, m as ir, e as lr, p as De, u as dr, o as cr, g as W, i as je, n as c, s as he, q as g, r as A, y as ue, h as L, j as vr, k as hr, L as Ye, w as q, l as Fe, I as We, x as Oe, J as Ze, C as ur, E as R, K as rr, t as fr, v as pr, F as gr, B as f, N as mr, A as tr } from "./TournamentDetails-DIGjTSwQ.js";
2
- function yr(ie, $) {
3
- nr(ie, $);
1
+ import { a as or, $ as sr, M as ir, m as lr, e as dr, p as De, u as cr, o as vr, g as W, i as _e, n as c, s as he, q as g, r as A, y as ue, h as L, j as hr, k as ur, L as Ye, w as q, l as Fe, I as We, x as Oe, J as Ze, C as fr, E as R, K as rr, t as pr, v as gr, F as mr, B as f, N as yr, A as tr } from "./TournamentDetails-qcyLTtSv.js";
2
+ function br(ie, $) {
3
+ or(ie, $);
4
4
  }
5
- function br(ie) {
6
- or.set(ie);
5
+ function ar(ie) {
6
+ sr.set(ie);
7
7
  }
8
- const ar = {
8
+ const nr = {
9
9
  en: {
10
10
  rank: "Rank",
11
11
  user: "User",
@@ -23,16 +23,16 @@ const ar = {
23
23
  tr: {
24
24
  rank: "Sıralama",
25
25
  user: "Kullanıcı",
26
- points: "Puanlar",
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: "Currently there are no players enrolled in this tournament",
33
- joinButton: "Join",
34
- previousButton: "Previous",
35
- nextButton: "Next"
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 er = { exports: {} };
@@ -43,10 +43,10 @@ var er = { exports: {} };
43
43
  */
44
44
  (function(ie, $) {
45
45
  (function(w) {
46
- var V = w.setTimeout, le = w.clearTimeout, E = w.XMLHttpRequest, ae = w.XDomainRequest, J = w.ActiveXObject, K = w.EventSource, F = w.document, Ge = w.Promise, O = w.fetch, fe = w.Response, Q = w.TextDecoder, xe = w.TextEncoder, Y = w.AbortController;
46
+ var V = w.setTimeout, le = w.clearTimeout, k = w.XMLHttpRequest, K = w.XDomainRequest, J = w.ActiveXObject, Q = w.EventSource, F = w.document, Ge = w.Promise, O = w.fetch, fe = w.Response, Y = w.TextDecoder, xe = w.TextEncoder, Z = w.AbortController;
47
47
  if (typeof window != "undefined" && typeof F != "undefined" && !("readyState" in F) && F.body == null && (F.readyState = "loading", window.addEventListener("load", function(e) {
48
48
  F.readyState = "complete";
49
- }, !1)), E == null && J != null && (E = function() {
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 er = { exports: {} };
54
54
  return n.prototype = e, new n();
55
55
  }), Date.now || (Date.now = function() {
56
56
  return (/* @__PURE__ */ new Date()).getTime();
57
- }), Y == null) {
57
+ }), Z == null) {
58
58
  var z = O;
59
59
  O = function(e, n) {
60
60
  var s = n.signal;
@@ -71,7 +71,7 @@ var er = { exports: {} };
71
71
  }
72
72
  };
73
73
  });
74
- }, Y = function() {
74
+ }, Z = function() {
75
75
  this.signal = {
76
76
  _reader: null,
77
77
  _aborted: !1
@@ -110,13 +110,13 @@ var er = { exports: {} };
110
110
  };
111
111
  var pe = function() {
112
112
  try {
113
- return new Q().decode(new xe().encode("test"), { stream: !0 }) === "test";
113
+ return new Y().decode(new xe().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
- (Q == null || xe == null || !pe()) && (Q = I);
119
+ (Y == null || xe == null || !pe()) && (Y = I);
120
120
  var N = function() {
121
121
  };
122
122
  function U(e) {
@@ -180,7 +180,7 @@ var er = { exports: {} };
180
180
  t("abort", o);
181
181
  }), "onprogress" in a && (a.onprogress = i), "onreadystatechange" in a && (a.onreadystatechange = function(o) {
182
182
  d(o);
183
- }), ("contentType" in a || !("ontimeout" in E.prototype)) && (n += (n.indexOf("?") === -1 ? "?" : "&") + "padding=true"), a.open(e, n, !0), "readyState" in a && (l = V(function() {
183
+ }), ("contentType" in a || !("ontimeout" in k.prototype)) && (n += (n.indexOf("?") === -1 ? "?" : "&") + "padding=true"), a.open(e, n, !0), "readyState" in a && (l = V(function() {
184
184
  u();
185
185
  }, 0));
186
186
  }, U.prototype.abort = function() {
@@ -193,7 +193,7 @@ var er = { exports: {} };
193
193
  }, U.prototype.getAllResponseHeaders = function() {
194
194
  return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
195
195
  }, U.prototype.send = function() {
196
- if ((!("ontimeout" in E.prototype) || !("sendAsBinary" in E.prototype) && !("mozAnon" in E.prototype)) && F != null && F.readyState != null && F.readyState !== "complete") {
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 er = { exports: {} };
223
223
  }
224
224
  ge.prototype.get = function(e) {
225
225
  return this._map[Be(e)];
226
- }, E != null && E.HEADERS_RECEIVED == null && (E.HEADERS_RECEIVED = 2);
226
+ }, k != null && k.HEADERS_RECEIVED == null && (k.HEADERS_RECEIVED = 2);
227
227
  function Ie() {
228
228
  }
229
229
  Ie.prototype.open = function(e, n, s, a, v, l, r) {
@@ -239,7 +239,7 @@ var er = { exports: {} };
239
239
  }, e.onabort = function() {
240
240
  a(null);
241
241
  }, e.onreadystatechange = function() {
242
- if (e.readyState === E.HEADERS_RECEIVED) {
242
+ if (e.readyState === k.HEADERS_RECEIVED) {
243
243
  var d = e.status, u = e.statusText, o = e.getResponseHeader("Content-Type"), h = e.getAllResponseHeaders();
244
244
  n(d, u, o, new ge(h));
245
245
  }
@@ -257,7 +257,7 @@ var er = { exports: {} };
257
257
  function Me() {
258
258
  }
259
259
  Me.prototype.open = function(e, n, s, a, v, l, r) {
260
- var i = null, t = new Y(), d = t.signal, u = new Q();
260
+ var i = null, t = new Z(), d = t.signal, u = new Y();
261
261
  return O(v, {
262
262
  headers: r,
263
263
  credentials: l ? "include" : "same-origin",
@@ -341,10 +341,10 @@ var er = { exports: {} };
341
341
  de.call(this, e), this.error = n.error;
342
342
  }
343
343
  ze.prototype = Object.create(de.prototype);
344
- var Pe = -1, Z = 0, ee = 1, ce = 2, Re = -1, re = 0, we = 1, Se = 2, Ue = 3, Te = /^text\/event\-stream(;.*)?$/i, Ve = 1e3, Ce = 18e6, Ae = function(e, n) {
344
+ var Pe = -1, ee = 0, re = 1, ce = 2, Re = -1, te = 0, we = 1, Se = 2, Ue = 3, Te = /^text\/event\-stream(;.*)?$/i, Ve = 1e3, Ce = 18e6, Ae = function(e, n) {
345
345
  var s = e == null ? n : parseInt(e, 10);
346
- return s !== s && (s = n), _e(s);
347
- }, _e = function(e) {
346
+ return s !== s && (s = n), je(s);
347
+ }, je = function(e) {
348
348
  return Math.min(Math.max(e, Ve), Ce);
349
349
  }, ve = function(e, n, s) {
350
350
  try {
@@ -354,18 +354,18 @@ var er = { exports: {} };
354
354
  }
355
355
  };
356
356
  function B(e, n) {
357
- me.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, Ke(this, e, n);
357
+ me.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, Je(this, e, n);
358
358
  }
359
- function Je() {
360
- return E != null && "withCredentials" in E.prototype || ae == null ? new E() : new ae();
359
+ function Ke() {
360
+ return k != null && "withCredentials" in k.prototype || K == null ? new k() : new K();
361
361
  }
362
362
  var Xe = O != null && fe != null && "body" in fe.prototype;
363
- function Ke(e, n, s) {
363
+ function Je(e, n, s) {
364
364
  n = String(n);
365
- var a = !!s.withCredentials, v = s.lastEventIdQueryParameterName || "lastEventId", l = _e(1e3), r = Ae(s.heartbeatTimeout, 45e3), i = "", t = l, d = !1, u = 0, o = s.headers || {}, h = s.Transport, b = Xe && h == null ? void 0 : new U(h != null ? new h() : Je()), x = h != null && typeof h != "string" ? new h() : b == null ? new Me() : new Ie(), p = void 0, m = 0, S = Pe, X = "", _ = "", y = "", k = "", j = re, te = 0, G = 0, ne = function(T, P, H, M) {
366
- if (S === Z)
365
+ var a = !!s.withCredentials, v = s.lastEventIdQueryParameterName || "lastEventId", l = je(1e3), r = Ae(s.heartbeatTimeout, 45e3), i = "", t = l, d = !1, u = 0, o = s.headers || {}, h = s.Transport, b = Xe && h == null ? void 0 : new U(h != null ? new h() : Ke()), x = h != null && typeof h != "string" ? new h() : b == null ? new Me() : new Ie(), p = void 0, m = 0, S = Pe, X = "", j = "", y = "", E = "", _ = te, ae = 0, G = 0, ne = function(T, P, H, M) {
366
+ if (S === ee)
367
367
  if (T === 200 && H != null && Te.test(H)) {
368
- S = ee, d = Date.now(), t = l, e.readyState = ee;
368
+ S = re, d = Date.now(), t = l, e.readyState = re;
369
369
  var D = new be("open", {
370
370
  status: T,
371
371
  statusText: P,
@@ -382,49 +382,49 @@ var er = { exports: {} };
382
382
  });
383
383
  e.dispatchEvent(D), ve(e, e.onerror, D), console.error(C);
384
384
  }
385
- }, Ee = function(T) {
386
- if (S === ee) {
385
+ }, ke = function(T) {
386
+ if (S === re) {
387
387
  for (var P = -1, H = 0; H < T.length; H += 1) {
388
388
  var M = T.charCodeAt(H);
389
389
  (M === 10 || M === 13) && (P = H);
390
390
  }
391
- var D = (P !== -1 ? k : "") + T.slice(0, P + 1);
392
- k = (P === -1 ? k : "") + T.slice(P + 1), T !== "" && (d = Date.now(), u += T.length);
391
+ var D = (P !== -1 ? E : "") + T.slice(0, P + 1);
392
+ E = (P === -1 ? E : "") + T.slice(P + 1), T !== "" && (d = Date.now(), u += T.length);
393
393
  for (var C = 0; C < D.length; C += 1) {
394
394
  var M = D.charCodeAt(C);
395
- if (j === Re && M === 10)
396
- j = re;
397
- else if (j === Re && (j = re), M === 13 || M === 10) {
398
- if (j !== re) {
399
- j === we && (G = C + 1);
400
- var oe = D.slice(te, G - 1), se = D.slice(G + (G < C && D.charCodeAt(G) === 32 ? 1 : 0), C);
395
+ if (_ === Re && M === 10)
396
+ _ = te;
397
+ else if (_ === Re && (_ = te), M === 13 || M === 10) {
398
+ if (_ !== te) {
399
+ _ === we && (G = C + 1);
400
+ var oe = D.slice(ae, G - 1), se = D.slice(G + (G < C && D.charCodeAt(G) === 32 ? 1 : 0), C);
401
401
  oe === "data" ? (X += `
402
- `, X += se) : oe === "id" ? _ = se : oe === "event" ? y = se : oe === "retry" ? (l = Ae(se, l), t = l) : oe === "heartbeatTimeout" && (r = Ae(se, r), m !== 0 && (le(m), m = V(function() {
402
+ `, X += se) : oe === "id" ? j = se : oe === "event" ? y = se : oe === "retry" ? (l = Ae(se, l), t = l) : oe === "heartbeatTimeout" && (r = Ae(se, r), m !== 0 && (le(m), m = V(function() {
403
403
  Ne();
404
404
  }, r)));
405
405
  }
406
- if (j === re) {
406
+ if (_ === te) {
407
407
  if (X !== "") {
408
- i = _, y === "" && (y = "message");
409
- var ke = new ye(y, {
408
+ i = j, y === "" && (y = "message");
409
+ var Ee = new ye(y, {
410
410
  data: X.slice(1),
411
- lastEventId: _
411
+ lastEventId: j
412
412
  });
413
- if (e.dispatchEvent(ke), y === "open" ? ve(e, e.onopen, ke) : y === "message" ? ve(e, e.onmessage, ke) : y === "error" && ve(e, e.onerror, ke), S === ce)
413
+ if (e.dispatchEvent(Ee), y === "open" ? ve(e, e.onopen, Ee) : y === "message" ? ve(e, e.onmessage, Ee) : y === "error" && ve(e, e.onerror, Ee), S === ce)
414
414
  return;
415
415
  }
416
416
  X = "", y = "";
417
417
  }
418
- j = M === 13 ? Re : re;
418
+ _ = M === 13 ? Re : te;
419
419
  } else
420
- j === re && (te = C, j = we), j === we ? M === 58 && (G = C + 1, j = Se) : j === Se && (j = Ue);
420
+ _ === te && (ae = C, _ = we), _ === we ? M === 58 && (G = C + 1, _ = Se) : _ === Se && (_ = Ue);
421
421
  }
422
422
  }
423
423
  }, Le = function(T) {
424
- if (S === ee || S === Z) {
424
+ if (S === re || S === ee) {
425
425
  S = Pe, m !== 0 && (le(m), m = 0), m = V(function() {
426
426
  Ne();
427
- }, t), t = _e(Math.min(l * 16, t * 2)), e.readyState = Z;
427
+ }, t), t = je(Math.min(l * 16, t * 2)), e.readyState = ee;
428
428
  var P = new ze("error", { error: T });
429
429
  e.dispatchEvent(P), ve(e, e.onerror, P), T != null && console.error(T);
430
430
  }
@@ -433,7 +433,7 @@ var er = { exports: {} };
433
433
  }, Ne = function() {
434
434
  if (m = 0, S !== Pe) {
435
435
  if (!d && p != null)
436
- Le(new Error("No activity within " + r + " milliseconds. " + (S === Z ? "No response received." : u + " chars received.") + " Reconnecting.")), p != null && (p.abort(), p = void 0);
436
+ Le(new Error("No activity within " + r + " milliseconds. " + (S === ee ? "No response received." : u + " chars received.") + " Reconnecting.")), p != null && (p.abort(), p = void 0);
437
437
  else {
438
438
  var T = Math.max((d || Date.now()) + r - Date.now(), 1);
439
439
  d = !1, m = V(function() {
@@ -444,12 +444,12 @@ var er = { exports: {} };
444
444
  }
445
445
  d = !1, u = 0, m = V(function() {
446
446
  Ne();
447
- }, r), S = Z, X = "", y = "", _ = i, k = "", te = 0, G = 0, j = re;
447
+ }, r), S = ee, X = "", y = "", j = i, E = "", ae = 0, G = 0, _ = te;
448
448
  var P = n;
449
449
  if (n.slice(0, 5) !== "data:" && n.slice(0, 5) !== "blob:" && i !== "") {
450
450
  var H = n.indexOf("?");
451
- P = H === -1 ? n : n.slice(0, H + 1) + n.slice(H + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(se, ke) {
452
- return ke === v ? "" : se;
451
+ P = H === -1 ? n : n.slice(0, H + 1) + n.slice(H + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(se, Ee) {
452
+ return Ee === v ? "" : se;
453
453
  }), P += (n.indexOf("?") === -1 ? "?" : "&") + v + "=" + encodeURIComponent(i);
454
454
  }
455
455
  var M = e.withCredentials, D = {};
@@ -459,33 +459,33 @@ var er = { exports: {} };
459
459
  for (var oe in C)
460
460
  Object.prototype.hasOwnProperty.call(C, oe) && (D[oe] = C[oe]);
461
461
  try {
462
- p = x.open(b, ne, Ee, Le, P, M, D);
462
+ p = x.open(b, ne, ke, Le, P, M, D);
463
463
  } catch (se) {
464
464
  throw Qe(), se;
465
465
  }
466
466
  };
467
- e.url = n, e.readyState = Z, e.withCredentials = a, e.headers = o, e._close = Qe, Ne();
467
+ e.url = n, e.readyState = ee, e.withCredentials = a, e.headers = o, e._close = Qe, Ne();
468
468
  }
469
- B.prototype = Object.create(me.prototype), B.prototype.CONNECTING = Z, B.prototype.OPEN = ee, B.prototype.CLOSED = ce, B.prototype.close = function() {
469
+ B.prototype = Object.create(me.prototype), B.prototype.CONNECTING = ee, B.prototype.OPEN = re, B.prototype.CLOSED = ce, B.prototype.close = function() {
470
470
  this._close();
471
- }, B.CONNECTING = Z, B.OPEN = ee, B.CLOSED = ce, B.prototype.withCredentials = void 0;
472
- var qe = K;
473
- E != null && (K == null || !("withCredentials" in K.prototype)) && (qe = B), function(e) {
471
+ }, B.CONNECTING = ee, B.OPEN = re, B.CLOSED = ce, B.prototype.withCredentials = void 0;
472
+ var qe = Q;
473
+ k != null && (Q == null || !("withCredentials" in Q.prototype)) && (qe = B), function(e) {
474
474
  {
475
475
  var n = e($);
476
476
  n !== void 0 && (ie.exports = n);
477
477
  }
478
478
  }(function(e) {
479
- e.EventSourcePolyfill = B, e.NativeEventSource = K, e.EventSource = qe;
479
+ e.EventSourcePolyfill = B, e.NativeEventSource = Q, e.EventSource = qe;
480
480
  });
481
- })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : sr : globalThis);
481
+ })(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : ir : globalThis);
482
482
  })(er, er.exports);
483
- var wr = er.exports, _r = W('<span class="svelte-75jgrh"> </span> <span class="svelte-75jgrh"> </span> <span class="svelte-75jgrh"> </span>', 1), jr = W('<p class="svelte-75jgrh"> </p>'), xr = 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>'), Sr = 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>'), Er = W('<tr class="SkeletonRow svelte-75jgrh"><td colspan="4" class="SkeletonShimmer svelte-75jgrh"><div class="svelte-75jgrh"></div></td></tr>'), kr = W('<tr><td class="svelte-75jgrh"> </td><td class="svelte-75jgrh"> </td><td class="svelte-75jgrh"> </td><td class="svelte-75jgrh"> </td></tr>'), Pr = W('<tr class="svelte-75jgrh"><td colspan="4" class="svelte-75jgrh"><div class="EmptyLeaderboard svelte-75jgrh"><p class="svelte-75jgrh"> </p></div></td></tr>'), Rr = W('<span class="PaginationButton Elipsis svelte-75jgrh">...</span>'), Tr = W("<button> </button>"), Cr = 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>'), Ar = 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>'), Lr = 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>');
483
+ var wr = er.exports, jr = W('<span class="svelte-75jgrh"> </span> <span class="svelte-75jgrh"> </span> <span class="svelte-75jgrh"> </span>', 1), _r = W('<p class="svelte-75jgrh"> </p>'), xr = 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>'), Sr = 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>'), kr = W('<tr class="SkeletonRow svelte-75jgrh"><td colspan="4" class="SkeletonShimmer svelte-75jgrh"><div class="svelte-75jgrh"></div></td></tr>'), Er = W('<tr><td class="svelte-75jgrh"> </td><td class="svelte-75jgrh"> </td><td class="svelte-75jgrh"> </td><td class="svelte-75jgrh"> </td></tr>'), Pr = W('<tr class="svelte-75jgrh"><td colspan="4" class="svelte-75jgrh"><div class="EmptyLeaderboard svelte-75jgrh"><p class="svelte-75jgrh"> </p></div></td></tr>'), Rr = 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>'), Tr = W('<span class="PaginationButton Elipsis svelte-75jgrh">...</span>'), Cr = W("<button> </button>"), Ar = 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>'), Lr = 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 Nr = {
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:80px;height:40px;border-radius:6px;background-color:var(--emw-color-skeleton, #333232);overflow:hidden;position:relative;}.PaginationNumberSkeleton:where(.svelte-75jgrh) {width:40px;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(
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,49 +505,49 @@ const Nr = {
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 Dr(ie, $) {
512
- ir($, !0), lr(ie, Nr);
513
- const w = () => ur(gr, "$_", V), [V, le] = hr(), E = De($, "endpoint"), ae = De($, "language", 7, "en"), J = De($, "session"), K = De($, "tournamentid"), F = De($, "platform");
514
- Object.keys(ar).forEach((r) => {
515
- yr(r, ar[r]);
516
- });
512
+ lr($, !0), dr(ie, Nr);
513
+ const w = () => fr(mr, "$_", V), [V, le] = ur(), k = De($, "endpoint"), K = De($, "language", 7, "en"), J = De($, "session"), Q = De($, "tournamentid"), F = De($, "platform");
514
+ Object.keys(nr).forEach((r) => {
515
+ br(r, nr[r]);
516
+ }), ar(K());
517
517
  const Ge = () => {
518
- br(ae());
518
+ ar(K());
519
519
  };
520
- dr(() => {
520
+ cr(() => {
521
521
  Ge();
522
522
  });
523
- let O = null, fe = he(void 0), Q = he(!1), xe = he(!1), Y = he(void 0), z = he(0), I = he(10), pe = he(void 0), N = he(void 0);
523
+ let O = null, fe = he(void 0), Y = he(!1), xe = he(!1), Z = he(void 0), z = he(0), I = he(10), pe = he(void 0), N = he(void 0);
524
524
  const U = () => {
525
525
  if (be.has(c(ye)))
526
526
  return;
527
- q(Q, !0);
528
- const r = new URL(`${E()}/v1/tournaments/${K()}/leaderboard`), i = new Headers();
529
- J() && i.append("X-SessionId", J()), r.searchParams.append("language", ae()), r.searchParams.append("platform", F()), r.searchParams.append("pagination", `offset=${c(z)},limit=${c(I)}`), fetch(r).then((t) => t.json()).then((t) => {
527
+ q(Y, !0);
528
+ const r = new URL(`${k()}/v1/tournaments/${Q()}/leaderboard`), i = new Headers();
529
+ J() && i.append("X-SessionId", J()), r.searchParams.append("language", K()), r.searchParams.append("platform", F()), r.searchParams.append("pagination", `offset=${c(z)},limit=${c(I)}`), fetch(r).then((t) => t.json()).then((t) => {
530
530
  q(fe, t == null ? void 0 : t.items, !0), q(pe, t == null ? void 0 : t.pages, !0), q(N, t == null ? void 0 : t.total, !0), be.set(c(ye), c(fe));
531
- }).catch((t) => console.log(t)).finally(() => q(Q, !1));
531
+ }).catch((t) => console.log(t)).finally(() => q(Y, !1));
532
532
  }, Be = (r) => {
533
533
  const i = JSON.parse(r.data);
534
534
  i && i.messageType === "LeaderBoardUpdate" && q(fe, i == null ? void 0 : i.items, !0);
535
535
  }, ge = () => {
536
536
  O && (O.close(), O = null);
537
- const r = new URL(`${E()}/v1/tournaments/${K()}/leaderboard/updates`);
538
- r.searchParams.append("HeartBeat", "false"), r.searchParams.append("language", ae()), r.searchParams.append("filter", "includeUnqualifiedPlayer=true"), r.searchParams.append("pagination", `offset=${c(z)},limit=${c(I)}`), r.searchParams.append("platform", F()), O = new wr.EventSourcePolyfill(r, {
537
+ const r = new URL(`${k()}/v1/tournaments/${Q()}/leaderboard/updates`);
538
+ r.searchParams.append("HeartBeat", "false"), r.searchParams.append("language", K()), r.searchParams.append("filter", "includeUnqualifiedPlayer=true"), r.searchParams.append("pagination", `offset=${c(z)},limit=${c(I)}`), r.searchParams.append("platform", F()), O = new wr.EventSourcePolyfill(r, {
539
539
  headers: { accept: "text/event-stream", "X-SessionId": J() }
540
540
  }), O.onmessage = Be;
541
541
  }, Ie = () => {
542
542
  q(xe, !0);
543
- const r = new URL(`${E()}/v1/tournaments/leaderboard/player`), i = new Headers();
544
- r.searchParams.append("language", ae()), r.searchParams.append("platform", F()), r.searchParams.append("filter", "includeUnqualifiedPlayer=false"), J() && i.append("X-SessionId", J()), fetch(r, { method: "GET", headers: i }).then((d) => d.json()).then((d) => {
543
+ const r = new URL(`${k()}/v1/tournaments/leaderboard/player`), i = new Headers();
544
+ r.searchParams.append("language", K()), r.searchParams.append("platform", F()), r.searchParams.append("filter", "includeUnqualifiedPlayer=false"), J() && i.append("X-SessionId", J()), fetch(r, { method: "GET", headers: i }).then((d) => d.json()).then((d) => {
545
545
  var o;
546
546
  const u = (o = d == null ? void 0 : d.items) == null ? void 0 : o.find((h) => {
547
547
  var b;
548
- return ((b = h == null ? void 0 : h.tournament) == null ? void 0 : b.id) === K();
548
+ return ((b = h == null ? void 0 : h.tournament) == null ? void 0 : b.id) === Q();
549
549
  });
550
- q(Y, u == null ? void 0 : u.leaderBoard, !0);
550
+ q(Z, u == null ? void 0 : u.leaderBoard, !0);
551
551
  }).catch((d) => {
552
552
  console.log(d);
553
553
  }).finally(() => q(xe, !1));
@@ -574,21 +574,21 @@ function Dr(ie, $) {
574
574
  const t = [];
575
575
  return i && t.push("PlayerRow"), r === 1 && t.push("Gold"), r === 2 && t.push("Silver"), r === 3 && t.push("Bronze"), t.join(" ");
576
576
  };
577
- cr(() => (U(), Ie(), ge(), () => {
577
+ vr(() => (U(), Ie(), ge(), () => {
578
578
  O == null || O.close(), O = null;
579
579
  }));
580
- var Z = {
580
+ var ee = {
581
581
  get endpoint() {
582
- return E();
582
+ return k();
583
583
  },
584
584
  set endpoint(r) {
585
- E(r), Fe();
585
+ k(r), Fe();
586
586
  },
587
587
  get language() {
588
- return ae();
588
+ return K();
589
589
  },
590
590
  set language(r = "en") {
591
- ae(r), Fe();
591
+ K(r), Fe();
592
592
  },
593
593
  get session() {
594
594
  return J();
@@ -597,10 +597,10 @@ function Dr(ie, $) {
597
597
  J(r), Fe();
598
598
  },
599
599
  get tournamentid() {
600
- return K();
600
+ return Q();
601
601
  },
602
602
  set tournamentid(r) {
603
- K(r), Fe();
603
+ Q(r), Fe();
604
604
  },
605
605
  get platform() {
606
606
  return F();
@@ -608,7 +608,7 @@ function Dr(ie, $) {
608
608
  set platform(r) {
609
609
  F(r), Fe();
610
610
  }
611
- }, ee = Lr(), ce = g(ee);
611
+ }, re = Lr(), ce = g(re);
612
612
  {
613
613
  var Re = (r) => {
614
614
  var i = xr(), t = g(i), d = g(t), u = g(d, !0);
@@ -619,27 +619,27 @@ function Dr(ie, $) {
619
619
  f(b), f(t);
620
620
  var p = A(t, 2), m = g(p);
621
621
  {
622
- var S = (_) => {
623
- var y = _r(), k = Oe(y), j = g(k);
624
- f(k);
625
- var te = A(k, 2), G = g(te, !0);
626
- f(te);
627
- var ne = A(te, 2), Ee = g(ne, !0);
622
+ var S = (j) => {
623
+ var y = jr(), E = Oe(y), _ = g(E);
624
+ f(E);
625
+ var ae = A(E, 2), G = g(ae, !0);
626
+ f(ae);
627
+ var ne = A(ae, 2), ke = g(ne, !0);
628
628
  f(ne), ue(() => {
629
629
  var Le;
630
- R(j, `${(Le = c(Y).rank) != null ? Le : ""}.`), R(G, c(Y).score), R(Ee, c(Y).prizeName || "-");
631
- }), L(_, y);
632
- }, X = (_) => {
633
- var y = jr(), k = g(y, !0);
634
- f(y), ue((j) => R(k, j), [() => w()("notEnrolledRank")]), L(_, y);
630
+ R(_, `${(Le = c(Z).rank) != null ? Le : ""}.`), R(G, c(Z).score), R(ke, c(Z).prizeName || "-");
631
+ }), L(j, y);
632
+ }, X = (j) => {
633
+ var y = _r(), E = g(y, !0);
634
+ f(y), ue((_) => R(E, _), [() => w()("notEnrolledRank")]), L(j, y);
635
635
  };
636
- je(m, (_) => {
637
- c(Y) ? _(S) : _(X, !1);
636
+ _e(m, (j) => {
637
+ c(Z) ? j(S) : j(X, !1);
638
638
  });
639
639
  }
640
640
  f(p), f(i), ue(
641
- (_, y, k) => {
642
- R(u, _), R(h, y), R(x, k);
641
+ (j, y, E) => {
642
+ R(u, j), R(h, y), R(x, E);
643
643
  },
644
644
  [
645
645
  () => w()("myRanking"),
@@ -647,28 +647,28 @@ function Dr(ie, $) {
647
647
  () => w()("prize")
648
648
  ]
649
649
  ), L(r, i);
650
- }, re = (r) => {
650
+ }, te = (r) => {
651
651
  var i = Sr();
652
652
  L(r, i);
653
653
  };
654
- je(ce, (r) => {
655
- c(xe) ? r(re, !1) : r(Re);
654
+ _e(ce, (r) => {
655
+ c(xe) ? r(te, !1) : r(Re);
656
656
  });
657
657
  }
658
658
  var we = A(ce, 2), Se = g(we), Ue = g(Se), Te = g(Ue), Ve = g(Te, !0);
659
659
  f(Te);
660
660
  var Ce = A(Te), Ae = g(Ce, !0);
661
661
  f(Ce);
662
- var _e = A(Ce), ve = g(_e, !0);
663
- f(_e);
664
- var B = A(_e), Je = g(B, !0);
662
+ var je = A(Ce), ve = g(je, !0);
663
+ f(je);
664
+ var B = A(je), Ke = g(B, !0);
665
665
  f(B), f(Ue), f(Se);
666
- var Xe = A(Se), Ke = g(Xe);
666
+ var Xe = A(Se), Je = g(Xe);
667
667
  {
668
668
  var qe = (r) => {
669
669
  var i = We(), t = Oe(i);
670
670
  Ze(t, 17, () => Array(c(I)), rr, (d, u, o, h) => {
671
- var b = Er();
671
+ var b = kr();
672
672
  L(d, b);
673
673
  }), L(r, i);
674
674
  }, e = (r) => {
@@ -677,22 +677,22 @@ function Dr(ie, $) {
677
677
  var d = (o) => {
678
678
  var h = We(), b = Oe(h);
679
679
  Ze(b, 17, () => c(ze), (x) => x.rank, (x, p) => {
680
- var m = kr(), S = g(m), X = g(S);
680
+ var m = Er(), S = g(m), X = g(S);
681
681
  f(S);
682
- var _ = A(S), y = g(_, !0);
683
- f(_);
684
- var k = A(_), j = g(k, !0);
685
- f(k);
686
- var te = A(k), G = g(te, !0);
687
- f(te), f(m), ue(
682
+ var j = A(S), y = g(j, !0);
683
+ f(j);
684
+ var E = A(j), _ = g(E, !0);
685
+ f(E);
686
+ var ae = A(E), G = g(ae, !0);
687
+ f(ae), f(m), ue(
688
688
  (ne) => {
689
- var Ee;
690
- tr(m, 1, ne, "svelte-75jgrh"), R(X, `${(Ee = c(p).rank) != null ? Ee : ""}.`), R(y, c(p).shortName || "-"), R(j, c(p).score || "-"), R(G, c(p).prizeName || "-");
689
+ var ke;
690
+ tr(m, 1, ne, "svelte-75jgrh"), R(X, `${(ke = c(p).rank) != null ? ke : ""}.`), R(y, c(p).shortName || "-"), R(_, c(p).score || "-"), R(G, c(p).prizeName || "-");
691
691
  },
692
692
  [
693
693
  () => {
694
694
  var ne;
695
- return mr(Pe(c(p).rank, c(p).rank === ((ne = c(Y)) == null ? void 0 : ne.rank)));
695
+ return yr(Pe(c(p).rank, c(p).rank === ((ne = c(Z)) == null ? void 0 : ne.rank)));
696
696
  }
697
697
  ]
698
698
  ), L(x, m);
@@ -701,7 +701,7 @@ function Dr(ie, $) {
701
701
  var h = Pr(), b = g(h), x = g(b), p = g(x), m = g(p, !0);
702
702
  f(p), f(x), f(b), f(h), ue((S) => R(m, S), [() => w()("emptyLeaderboard")]), L(o, h);
703
703
  };
704
- je(
704
+ _e(
705
705
  t,
706
706
  (o) => {
707
707
  var h;
@@ -712,15 +712,25 @@ function Dr(ie, $) {
712
712
  }
713
713
  L(r, i);
714
714
  };
715
- je(Ke, (r) => {
716
- c(Q) ? r(qe) : r(e, !1);
715
+ _e(Je, (r) => {
716
+ c(Y) ? r(qe) : r(e, !1);
717
717
  });
718
718
  }
719
719
  f(Xe), f(we);
720
720
  var n = A(we, 2);
721
721
  {
722
722
  var s = (r) => {
723
- var i = Cr(), t = g(i);
723
+ var i = Rr();
724
+ L(r, i);
725
+ };
726
+ _e(n, (r) => {
727
+ c(Y) && r(s);
728
+ });
729
+ }
730
+ var a = A(n, 2);
731
+ {
732
+ var v = (r) => {
733
+ var i = Ar(), t = g(i);
724
734
  t.__click = Me;
725
735
  var d = g(t, !0);
726
736
  f(t);
@@ -728,20 +738,20 @@ function Dr(ie, $) {
728
738
  Ze(u, 21, () => c(de), rr, (b, x) => {
729
739
  var p = We(), m = Oe(p);
730
740
  {
731
- var S = (_) => {
732
- var y = Rr();
733
- L(_, y);
734
- }, X = (_) => {
741
+ var S = (j) => {
735
742
  var y = Tr();
736
- let k;
743
+ L(j, y);
744
+ }, X = (j) => {
745
+ var y = Cr();
746
+ let E;
737
747
  y.__click = () => me(c(x));
738
- var j = g(y, !0);
748
+ var _ = g(y, !0);
739
749
  f(y), ue(() => {
740
- k = tr(y, 1, "PaginationButton Number svelte-75jgrh", null, k, { Active: c(x) === c(ye) }), R(j, c(x));
741
- }), L(_, y);
750
+ E = tr(y, 1, "PaginationButton Number svelte-75jgrh", null, E, { Active: c(x) === c(ye) }), R(_, c(x));
751
+ }), L(j, y);
742
752
  };
743
- je(m, (_) => {
744
- typeof c(x) != "number" ? _(S) : _(X, !1);
753
+ _e(m, (j) => {
754
+ typeof c(x) != "number" ? j(S) : j(X, !1);
745
755
  });
746
756
  }
747
757
  L(b, p);
@@ -757,23 +767,13 @@ function Dr(ie, $) {
757
767
  [() => w()("previousButton"), () => w()("nextButton")]
758
768
  ), L(r, i);
759
769
  };
760
- je(n, (r) => {
761
- !c(Q) && c(N) > c(I) && r(s);
762
- });
763
- }
764
- var a = A(n, 2);
765
- {
766
- var v = (r) => {
767
- var i = Ar();
768
- L(r, i);
769
- };
770
- je(a, (r) => {
771
- c(Q) && r(v);
770
+ _e(a, (r) => {
771
+ !c(Y) && c(N) > c(I) && r(v);
772
772
  });
773
773
  }
774
- f(ee), ue(
774
+ f(re), ue(
775
775
  (r, i, t, d) => {
776
- R(Ve, r), R(Ae, i), R(ve, t), R(Je, d);
776
+ R(Ve, r), R(Ae, i), R(ve, t), R(Ke, d);
777
777
  },
778
778
  [
779
779
  () => w()("rank"),
@@ -781,12 +781,12 @@ function Dr(ie, $) {
781
781
  () => w()("points"),
782
782
  () => w()("prize")
783
783
  ]
784
- ), L(ie, ee);
785
- var l = vr(Z);
784
+ ), L(ie, re);
785
+ var l = hr(ee);
786
786
  return le(), l;
787
787
  }
788
- fr(["click"]);
789
- customElements.define("tournament-leaderboard", pr(
788
+ pr(["click"]);
789
+ customElements.define("tournament-leaderboard", gr(
790
790
  Dr,
791
791
  {
792
792
  endpoint: {},