@everymatrix/tournament-details-page 0.1.2 → 0.1.3

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.
@@ -0,0 +1,850 @@
1
+ import { a as it, $ as lt, c as dt, b as ct, p as ke, u as vt, d as tt, o as ut, i as fe, t as de, e as N, f as ht, s as ft, g as J, h as Re, j as pt, k as U, l as T, m as gt, n as yt, q as V, r as o, v as f, w as mt, x as bt, y as ce, z as Ze, A as h, B as Fe, C as _e, D as $e, E as rt, F as wt, G as at, H as _t } from "./TournamentDetailsPage-6JD1drZz.js";
2
+ function nt(pe, Z) {
3
+ it(pe, Z);
4
+ }
5
+ function ot(pe) {
6
+ lt.set(pe);
7
+ }
8
+ const st = {
9
+ en: {
10
+ rank: "Rank",
11
+ user: "User",
12
+ points: "Points",
13
+ prize: "Prize",
14
+ notEnrolledRank: "You are currently not enrolled in this tournament.",
15
+ leaderboardNotAvailable: "Leaderboard will be available soon.",
16
+ myRanking: "My Ranking",
17
+ showMore: "Show More",
18
+ showLess: "Show Less",
19
+ emptyLeaderboard: "Currently there are no players enrolled in this tournament",
20
+ joinButton: "Join",
21
+ previousButton: "Previous",
22
+ nextButton: "Next"
23
+ },
24
+ tr: {
25
+ rank: "Sıralama",
26
+ user: "Kullanıcı",
27
+ points: "Puan",
28
+ prize: "Ödül",
29
+ notEnrolledRank: "Şu anda bu turnuvaya kayıtlı değilsiniz.",
30
+ leaderboardNotAvailable: "Liderlik tablosu yakında kullanıma sunulacak.",
31
+ myRanking: "Sıralamam",
32
+ showMore: "Daha Fazla Göster",
33
+ showLess: "Daha Az Göster",
34
+ emptyLeaderboard: "Şu anda bu turnuvaya kayıtlı oyuncu bulunmuyor.",
35
+ joinButton: "Katıl",
36
+ previousButton: "Önceki",
37
+ nextButton: "Sonraki"
38
+ }
39
+ };
40
+ var et = { exports: {} };
41
+ /** @license
42
+ * eventsource.js
43
+ * Available under MIT License (MIT)
44
+ * https://github.com/Yaffle/EventSource/
45
+ */
46
+ (function(pe, Z) {
47
+ (function(j) {
48
+ var te = j.setTimeout, ge = j.clearTimeout, A = j.XMLHttpRequest, re = j.XDomainRequest, ae = j.ActiveXObject, ne = j.EventSource, W = j.document, Te = j.Promise, ye = j.fetch, qe = j.Response, Ae = j.TextDecoder, oe = j.TextEncoder, me = j.AbortController;
49
+ if (typeof window < "u" && typeof W < "u" && !("readyState" in W) && W.body == null && (W.readyState = "loading", window.addEventListener("load", function(e) {
50
+ W.readyState = "complete";
51
+ }, !1)), A == null && ae != null && (A = function() {
52
+ return new ae("Microsoft.XMLHTTP");
53
+ }), Object.create == null && (Object.create = function(e) {
54
+ function a() {
55
+ }
56
+ return a.prototype = e, new a();
57
+ }), Date.now || (Date.now = function() {
58
+ return (/* @__PURE__ */ new Date()).getTime();
59
+ }), me == null) {
60
+ var Oe = ye;
61
+ ye = function(e, a) {
62
+ var n = a.signal;
63
+ return Oe(e, { headers: a.headers, credentials: a.credentials, cache: a.cache }).then(function(r) {
64
+ var d = r.body.getReader();
65
+ return n._reader = d, n._aborted && n._reader.cancel(), {
66
+ status: r.status,
67
+ statusText: r.statusText,
68
+ headers: r.headers,
69
+ body: {
70
+ getReader: function() {
71
+ return d;
72
+ }
73
+ }
74
+ };
75
+ });
76
+ }, me = function() {
77
+ this.signal = {
78
+ _reader: null,
79
+ _aborted: !1
80
+ }, this.abort = function() {
81
+ this.signal._reader != null && this.signal._reader.cancel(), this.signal._aborted = !0;
82
+ };
83
+ };
84
+ }
85
+ function Ce() {
86
+ this.bitsNeeded = 0, this.codePoint = 0;
87
+ }
88
+ Ce.prototype.decode = function(e) {
89
+ function a(g, _, c) {
90
+ if (c === 1)
91
+ return g >= 128 >> _ && g << _ <= 2047;
92
+ if (c === 2)
93
+ return g >= 2048 >> _ && g << _ <= 55295 || g >= 57344 >> _ && g << _ <= 65535;
94
+ if (c === 3)
95
+ return g >= 65536 >> _ && g << _ <= 1114111;
96
+ throw new Error();
97
+ }
98
+ function n(g, _) {
99
+ if (g === 6 * 1)
100
+ return _ >> 6 > 15 ? 3 : _ > 31 ? 2 : 1;
101
+ if (g === 6 * 2)
102
+ return _ > 15 ? 3 : 2;
103
+ if (g === 6 * 3)
104
+ return 3;
105
+ throw new Error();
106
+ }
107
+ for (var r = 65533, d = "", s = this.bitsNeeded, v = this.codePoint, x = 0; x < e.length; x += 1) {
108
+ var u = e[x];
109
+ s !== 0 && (u < 128 || u > 191 || !a(v << 6 | u & 63, s - 6, n(s, v))) && (s = 0, v = r, d += String.fromCharCode(v)), s === 0 ? (u >= 0 && u <= 127 ? (s = 0, v = u) : u >= 192 && u <= 223 ? (s = 6 * 1, v = u & 31) : u >= 224 && u <= 239 ? (s = 6 * 2, v = u & 15) : u >= 240 && u <= 247 ? (s = 6 * 3, v = u & 7) : (s = 0, v = r), s !== 0 && !a(v, s, n(s, v)) && (s = 0, v = r)) : (s -= 6, v = v << 6 | u & 63), s === 0 && (v <= 65535 ? d += String.fromCharCode(v) : (d += String.fromCharCode(55296 + (v - 65535 - 1 >> 10)), d += String.fromCharCode(56320 + (v - 65535 - 1 & 1023))));
110
+ }
111
+ return this.bitsNeeded = s, this.codePoint = v, d;
112
+ };
113
+ var be = function() {
114
+ try {
115
+ return new Ae().decode(new oe().encode("test"), { stream: !0 }) === "test";
116
+ } catch (e) {
117
+ console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + e);
118
+ }
119
+ return !1;
120
+ };
121
+ (Ae == null || oe == null || !be()) && (Ae = Ce);
122
+ var z = function() {
123
+ };
124
+ function k(e) {
125
+ this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = z, this.onload = z, this.onerror = z, this.onreadystatechange = z, this._contentType = "", this._xhr = e, this._sendTimeout = 0, this._abort = z;
126
+ }
127
+ k.prototype.open = function(e, a) {
128
+ this._abort(!0);
129
+ var n = this, r = this._xhr, d = 1, s = 0;
130
+ this._abort = function(c) {
131
+ n._sendTimeout !== 0 && (ge(n._sendTimeout), n._sendTimeout = 0), (d === 1 || d === 2 || d === 3) && (d = 4, r.onload = z, r.onerror = z, r.onabort = z, r.onprogress = z, r.onreadystatechange = z, r.abort(), s !== 0 && (ge(s), s = 0), c || (n.readyState = 4, n.onabort(null), n.onreadystatechange())), d = 0;
132
+ };
133
+ var v = function() {
134
+ if (d === 1) {
135
+ var c = 0, t = "", i = void 0;
136
+ if ("contentType" in r)
137
+ c = 200, t = "OK", i = r.contentType;
138
+ else
139
+ try {
140
+ c = r.status, t = r.statusText, i = r.getResponseHeader("Content-Type");
141
+ } catch {
142
+ c = 0, t = "", i = void 0;
143
+ }
144
+ c !== 0 && (d = 2, n.readyState = 2, n.status = c, n.statusText = t, n._contentType = i, n.onreadystatechange());
145
+ }
146
+ }, x = function() {
147
+ if (v(), d === 2 || d === 3) {
148
+ d = 3;
149
+ var c = "";
150
+ try {
151
+ c = r.responseText;
152
+ } catch {
153
+ }
154
+ n.readyState = 3, n.responseText = c, n.onprogress();
155
+ }
156
+ }, u = function(c, t) {
157
+ if ((t == null || t.preventDefault == null) && (t = {
158
+ preventDefault: z
159
+ }), x(), d === 1 || d === 2 || d === 3) {
160
+ if (d = 4, s !== 0 && (ge(s), s = 0), n.readyState = 4, c === "load")
161
+ n.onload(t);
162
+ else if (c === "error")
163
+ n.onerror(t);
164
+ else if (c === "abort")
165
+ n.onabort(t);
166
+ else
167
+ throw new TypeError();
168
+ n.onreadystatechange();
169
+ }
170
+ }, g = function(c) {
171
+ r != null && (r.readyState === 4 ? (!("onload" in r) || !("onerror" in r) || !("onabort" in r)) && u(r.responseText === "" ? "error" : "load", c) : r.readyState === 3 ? "onprogress" in r || x() : r.readyState === 2 && v());
172
+ }, _ = function() {
173
+ s = te(function() {
174
+ _();
175
+ }, 500), r.readyState === 3 && x();
176
+ };
177
+ "onload" in r && (r.onload = function(c) {
178
+ u("load", c);
179
+ }), "onerror" in r && (r.onerror = function(c) {
180
+ u("error", c);
181
+ }), "onabort" in r && (r.onabort = function(c) {
182
+ u("abort", c);
183
+ }), "onprogress" in r && (r.onprogress = x), "onreadystatechange" in r && (r.onreadystatechange = function(c) {
184
+ g(c);
185
+ }), ("contentType" in r || !("ontimeout" in A.prototype)) && (a += (a.indexOf("?") === -1 ? "?" : "&") + "padding=true"), r.open(e, a, !0), "readyState" in r && (s = te(function() {
186
+ _();
187
+ }, 0));
188
+ }, k.prototype.abort = function() {
189
+ this._abort(!1);
190
+ }, k.prototype.getResponseHeader = function(e) {
191
+ return this._contentType;
192
+ }, k.prototype.setRequestHeader = function(e, a) {
193
+ var n = this._xhr;
194
+ "setRequestHeader" in n && n.setRequestHeader(e, a);
195
+ }, k.prototype.getAllResponseHeaders = function() {
196
+ return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
197
+ }, k.prototype.send = function() {
198
+ if ((!("ontimeout" in A.prototype) || !("sendAsBinary" in A.prototype) && !("mozAnon" in A.prototype)) && W != null && W.readyState != null && W.readyState !== "complete") {
199
+ var e = this;
200
+ e._sendTimeout = te(function() {
201
+ e._sendTimeout = 0, e.send();
202
+ }, 4);
203
+ return;
204
+ }
205
+ var a = this._xhr;
206
+ "withCredentials" in a && (a.withCredentials = this.withCredentials);
207
+ try {
208
+ a.send(void 0);
209
+ } catch (n) {
210
+ throw n;
211
+ }
212
+ };
213
+ function X(e) {
214
+ return e.replace(/[A-Z]/g, function(a) {
215
+ return String.fromCharCode(a.charCodeAt(0) + 32);
216
+ });
217
+ }
218
+ function je(e) {
219
+ for (var a = /* @__PURE__ */ Object.create(null), n = e.split(`\r
220
+ `), r = 0; r < n.length; r += 1) {
221
+ var d = n[r], s = d.split(": "), v = s.shift(), x = s.join(": ");
222
+ a[X(v)] = x;
223
+ }
224
+ this._map = a;
225
+ }
226
+ je.prototype.get = function(e) {
227
+ return this._map[X(e)];
228
+ }, A != null && A.HEADERS_RECEIVED == null && (A.HEADERS_RECEIVED = 2);
229
+ function we() {
230
+ }
231
+ we.prototype.open = function(e, a, n, r, d, s, v) {
232
+ e.open("GET", d);
233
+ var x = 0;
234
+ e.onprogress = function() {
235
+ var g = e.responseText, _ = g.slice(x);
236
+ x += _.length, n(_);
237
+ }, e.onerror = function(g) {
238
+ g.preventDefault(), r(new Error("NetworkError"));
239
+ }, e.onload = function() {
240
+ r(null);
241
+ }, e.onabort = function() {
242
+ r(null);
243
+ }, e.onreadystatechange = function() {
244
+ if (e.readyState === A.HEADERS_RECEIVED) {
245
+ var g = e.status, _ = e.statusText, c = e.getResponseHeader("Content-Type"), t = e.getAllResponseHeaders();
246
+ a(g, _, c, new je(t));
247
+ }
248
+ }, e.withCredentials = s;
249
+ for (var u in v)
250
+ Object.prototype.hasOwnProperty.call(v, u) && e.setRequestHeader(u, v[u]);
251
+ return e.send(), e;
252
+ };
253
+ function Be(e) {
254
+ this._headers = e;
255
+ }
256
+ Be.prototype.get = function(e) {
257
+ return this._headers.get(e);
258
+ };
259
+ function xe() {
260
+ }
261
+ xe.prototype.open = function(e, a, n, r, d, s, v) {
262
+ var x = null, u = new me(), g = u.signal, _ = new Ae();
263
+ return ye(d, {
264
+ headers: v,
265
+ credentials: s ? "include" : "same-origin",
266
+ signal: g,
267
+ cache: "no-store"
268
+ }).then(function(c) {
269
+ return x = c.body.getReader(), a(c.status, c.statusText, c.headers.get("Content-Type"), new Be(c.headers)), new Te(function(t, i) {
270
+ var l = function() {
271
+ x.read().then(function(p) {
272
+ if (p.done)
273
+ t(void 0);
274
+ else {
275
+ var y = _.decode(p.value, { stream: !0 });
276
+ n(y), l();
277
+ }
278
+ }).catch(function(p) {
279
+ i(p);
280
+ });
281
+ };
282
+ l();
283
+ });
284
+ }).catch(function(c) {
285
+ if (c.name !== "AbortError")
286
+ return c;
287
+ }).then(function(c) {
288
+ r(c);
289
+ }), {
290
+ abort: function() {
291
+ x?.cancel(), u.abort();
292
+ }
293
+ };
294
+ };
295
+ function Ee() {
296
+ this._listeners = /* @__PURE__ */ Object.create(null);
297
+ }
298
+ function Se(e) {
299
+ te(function() {
300
+ throw e;
301
+ }, 0);
302
+ }
303
+ Ee.prototype.dispatchEvent = function(e) {
304
+ e.target = this;
305
+ var a = this._listeners[e.type];
306
+ if (a != null)
307
+ for (var n = a.length, r = 0; r < n; r += 1) {
308
+ var d = a[r];
309
+ try {
310
+ typeof d.handleEvent == "function" ? d.handleEvent(e) : d.call(this, e);
311
+ } catch (s) {
312
+ Se(s);
313
+ }
314
+ }
315
+ }, Ee.prototype.addEventListener = function(e, a) {
316
+ e = String(e);
317
+ var n = this._listeners, r = n[e];
318
+ r == null && (r = [], n[e] = r);
319
+ for (var d = !1, s = 0; s < r.length; s += 1)
320
+ r[s] === a && (d = !0);
321
+ d || r.push(a);
322
+ }, Ee.prototype.removeEventListener = function(e, a) {
323
+ e = String(e);
324
+ var n = this._listeners, r = n[e];
325
+ if (r != null) {
326
+ for (var d = [], s = 0; s < r.length; s += 1)
327
+ r[s] !== a && d.push(r[s]);
328
+ d.length === 0 ? delete n[e] : n[e] = d;
329
+ }
330
+ };
331
+ function ve(e) {
332
+ this.type = e, this.target = void 0;
333
+ }
334
+ function We(e, a) {
335
+ ve.call(this, e), this.data = a.data, this.lastEventId = a.lastEventId;
336
+ }
337
+ We.prototype = Object.create(ve.prototype);
338
+ function He(e, a) {
339
+ ve.call(this, e), this.status = a.status, this.statusText = a.statusText, this.headers = a.headers;
340
+ }
341
+ He.prototype = Object.create(ve.prototype);
342
+ function Xe(e, a) {
343
+ ve.call(this, e), this.error = a.error;
344
+ }
345
+ Xe.prototype = Object.create(ve.prototype);
346
+ var Ge = -1, se = 0, $ = 1, ue = 2, Ie = -1, ie = 0, Me = 1, Le = 2, Ue = 3, Ve = /^text\/event\-stream(;.*)?$/i, Je = 1e3, Ke = 18e6, Ne = function(e, a) {
347
+ var n = e == null ? a : parseInt(e, 10);
348
+ return n !== n && (n = a), Pe(n);
349
+ }, Pe = function(e) {
350
+ return Math.min(Math.max(e, Je), Ke);
351
+ }, he = function(e, a, n) {
352
+ try {
353
+ typeof a == "function" && a.call(e, n);
354
+ } catch (r) {
355
+ Se(r);
356
+ }
357
+ };
358
+ function q(e, a) {
359
+ Ee.call(this), a = a || {}, 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, Ye(this, e, a);
360
+ }
361
+ function Qe() {
362
+ return A != null && "withCredentials" in A.prototype || re == null ? new A() : new re();
363
+ }
364
+ var ze = ye != null && qe != null && "body" in qe.prototype;
365
+ function Ye(e, a, n) {
366
+ a = String(a);
367
+ var r = !!n.withCredentials, d = n.lastEventIdQueryParameterName || "lastEventId", s = Pe(1e3), v = Ne(n.heartbeatTimeout, 45e3), x = "", u = s, g = !1, _ = 0, c = n.headers || {}, t = n.Transport, i = ze && t == null ? void 0 : new k(t != null ? new t() : Qe()), l = t != null && typeof t != "string" ? new t() : i == null ? new xe() : new we(), p = void 0, y = 0, m = Ge, F = "", O = "", S = "", C = "", E = ie, K = 0, Q = 0, R = function(w, b, L, H) {
368
+ if (m === se)
369
+ if (w === 200 && L != null && Ve.test(L)) {
370
+ m = $, g = Date.now(), u = s, e.readyState = $;
371
+ var I = new He("open", {
372
+ status: w,
373
+ statusText: b,
374
+ headers: H
375
+ });
376
+ e.dispatchEvent(I), he(e, e.onopen, I);
377
+ } else {
378
+ var P = "";
379
+ w !== 200 ? (b && (b = b.replace(/\s+/g, " ")), P = "EventSource's response has a status " + w + " " + b + " that is not 200. Aborting the connection.") : P = "EventSource's response has a Content-Type specifying an unsupported type: " + (L == null ? "-" : L.replace(/\s+/g, " ")) + ". Aborting the connection.", ee();
380
+ var I = new He("error", {
381
+ status: w,
382
+ statusText: b,
383
+ headers: H
384
+ });
385
+ e.dispatchEvent(I), he(e, e.onerror, I), console.error(P);
386
+ }
387
+ }, D = function(w) {
388
+ if (m === $) {
389
+ for (var b = -1, L = 0; L < w.length; L += 1) {
390
+ var H = w.charCodeAt(L);
391
+ (H === 10 || H === 13) && (b = L);
392
+ }
393
+ var I = (b !== -1 ? C : "") + w.slice(0, b + 1);
394
+ C = (b === -1 ? C : "") + w.slice(b + 1), w !== "" && (g = Date.now(), _ += w.length);
395
+ for (var P = 0; P < I.length; P += 1) {
396
+ var H = I.charCodeAt(P);
397
+ if (E === Ie && H === 10)
398
+ E = ie;
399
+ else if (E === Ie && (E = ie), H === 13 || H === 10) {
400
+ if (E !== ie) {
401
+ E === Me && (Q = P + 1);
402
+ var M = I.slice(K, Q - 1), Y = I.slice(Q + (Q < P && I.charCodeAt(Q) === 32 ? 1 : 0), P);
403
+ M === "data" ? (F += `
404
+ `, F += Y) : M === "id" ? O = Y : M === "event" ? S = Y : M === "retry" ? (s = Ne(Y, s), u = s) : M === "heartbeatTimeout" && (v = Ne(Y, v), y !== 0 && (ge(y), y = te(function() {
405
+ G();
406
+ }, v)));
407
+ }
408
+ if (E === ie) {
409
+ if (F !== "") {
410
+ x = O, S === "" && (S = "message");
411
+ var le = new We(S, {
412
+ data: F.slice(1),
413
+ lastEventId: O
414
+ });
415
+ if (e.dispatchEvent(le), S === "open" ? he(e, e.onopen, le) : S === "message" ? he(e, e.onmessage, le) : S === "error" && he(e, e.onerror, le), m === ue)
416
+ return;
417
+ }
418
+ F = "", S = "";
419
+ }
420
+ E = H === 13 ? Ie : ie;
421
+ } else
422
+ E === ie && (K = P, E = Me), E === Me ? H === 58 && (Q = P + 1, E = Le) : E === Le && (E = Ue);
423
+ }
424
+ }
425
+ }, B = function(w) {
426
+ if (m === $ || m === se) {
427
+ m = Ge, y !== 0 && (ge(y), y = 0), y = te(function() {
428
+ G();
429
+ }, u), u = Pe(Math.min(s * 16, u * 2)), e.readyState = se;
430
+ var b = new Xe("error", { error: w });
431
+ e.dispatchEvent(b), he(e, e.onerror, b), w != null && console.error(w);
432
+ }
433
+ }, ee = function() {
434
+ m = ue, p != null && (p.abort(), p = void 0), y !== 0 && (ge(y), y = 0), e.readyState = ue;
435
+ }, G = function() {
436
+ if (y = 0, m !== Ge) {
437
+ if (!g && p != null)
438
+ B(new Error("No activity within " + v + " milliseconds. " + (m === se ? "No response received." : _ + " chars received.") + " Reconnecting.")), p != null && (p.abort(), p = void 0);
439
+ else {
440
+ var w = Math.max((g || Date.now()) + v - Date.now(), 1);
441
+ g = !1, y = te(function() {
442
+ G();
443
+ }, w);
444
+ }
445
+ return;
446
+ }
447
+ g = !1, _ = 0, y = te(function() {
448
+ G();
449
+ }, v), m = se, F = "", S = "", O = x, C = "", K = 0, Q = 0, E = ie;
450
+ var b = a;
451
+ if (a.slice(0, 5) !== "data:" && a.slice(0, 5) !== "blob:" && x !== "") {
452
+ var L = a.indexOf("?");
453
+ b = L === -1 ? a : a.slice(0, L + 1) + a.slice(L + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(Y, le) {
454
+ return le === d ? "" : Y;
455
+ }), b += (a.indexOf("?") === -1 ? "?" : "&") + d + "=" + encodeURIComponent(x);
456
+ }
457
+ var H = e.withCredentials, I = {};
458
+ I.Accept = "text/event-stream";
459
+ var P = e.headers;
460
+ if (P != null)
461
+ for (var M in P)
462
+ Object.prototype.hasOwnProperty.call(P, M) && (I[M] = P[M]);
463
+ try {
464
+ p = l.open(i, R, D, B, b, H, I);
465
+ } catch (Y) {
466
+ throw ee(), Y;
467
+ }
468
+ };
469
+ e.url = a, e.readyState = se, e.withCredentials = r, e.headers = c, e._close = ee, G();
470
+ }
471
+ q.prototype = Object.create(Ee.prototype), q.prototype.CONNECTING = se, q.prototype.OPEN = $, q.prototype.CLOSED = ue, q.prototype.close = function() {
472
+ this._close();
473
+ }, q.CONNECTING = se, q.OPEN = $, q.CLOSED = ue, q.prototype.withCredentials = void 0;
474
+ var De = ne;
475
+ A != null && (ne == null || !("withCredentials" in ne.prototype)) && (De = q), function(e) {
476
+ {
477
+ var a = e(Z);
478
+ a !== void 0 && (pe.exports = a);
479
+ }
480
+ }(function(e) {
481
+ e.EventSourcePolyfill = q, e.NativeEventSource = ne, e.EventSource = De;
482
+ });
483
+ })(typeof globalThis > "u" ? typeof window < "u" ? window : typeof self < "u" ? self : dt : globalThis);
484
+ })(et, et.exports);
485
+ var jt = et.exports, xt = J('<span class="svelte-75jgrh"> </span> <span class="svelte-75jgrh"> </span> <span class="svelte-75jgrh"> </span>', 1), Et = J('<span class="svelte-75jgrh"> </span> <span class="svelte-75jgrh">—</span> <span class="svelte-75jgrh">—</span>', 1), St = J('<p class="NoPlayerData svelte-75jgrh"> </p>'), Pt = J('<p class="NoPlayerData svelte-75jgrh"> </p>'), kt = J('<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>'), Rt = J('<div class="PlayerRankSkeletonWrapper svelte-75jgrh"><div class="PlayerRankSkeleton svelte-75jgrh"></div> <div class="PlayerRankSkeleton svelte-75jgrh"></div></div>'), Tt = J('<tr class="SkeletonRow svelte-75jgrh"><td colspan="4" class="svelte-75jgrh"></td></tr>'), At = J('<tr><td class="svelte-75jgrh"> </td><td class="svelte-75jgrh"> </td><td class="svelte-75jgrh"> </td><td class="svelte-75jgrh"> </td></tr>'), Ct = J('<tr class="svelte-75jgrh"><td colspan="4" class="svelte-75jgrh"><div class="EmptyLeaderboard svelte-75jgrh"><p class="svelte-75jgrh"> </p></div></td></tr>'), Lt = J('<div class="PaginationSkeleton svelte-75jgrh"><div class="PaginationSkeletonButton svelte-75jgrh"></div> <div class="PaginationNumberSkeleton svelte-75jgrh"></div> <div class="PaginationNumberSkeleton svelte-75jgrh"></div> <div class="PaginationNumberSkeleton svelte-75jgrh"></div> <div class="PaginationNumberSkeleton svelte-75jgrh"></div> <div class="PaginationNumberSkeleton svelte-75jgrh"></div> <div class="PaginationSkeletonButton svelte-75jgrh"></div></div>'), Nt = J('<span class="PaginationButton Elipsis svelte-75jgrh">...</span>'), Dt = J("<button> </button>"), Ft = J('<div class="PaginationWrapper svelte-75jgrh"><button class="PaginationButton svelte-75jgrh"> </button> <div class="PageNumberWrapper svelte-75jgrh"></div> <button class="PaginationButton svelte-75jgrh"> </button></div>'), Ot = J('<div class="LeaderboardWrapper svelte-75jgrh"><div class="RankingWrapper 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> <!> <!></div>');
486
+ const Bt = {
487
+ hash: "svelte-75jgrh",
488
+ code: `.svelte-75jgrh,
489
+ .svelte-75jgrh::before,
490
+ .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;display:flex;flex-direction:column;justify-content:space-between;}.PlayerRankWrapper.svelte-75jgrh {display:flex;flex-direction:column;gap:5px;min-height:60px;.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);opacity:70%;font-size:14px;font-weight:400;& > span:where(.svelte-75jgrh):last-child{justify-self:end;}p:where(.svelte-75jgrh) {width:max-content;}.NoPlayerData:where(.svelte-75jgrh) {grid-column:1 / -1;text-wrap:auto;width:auto;}}.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;p:where(.svelte-75jgrh) {text-wrap:auto;padding:0 15px;text-align:left;}}.SkeletonRow.svelte-75jgrh {height:41px;overflow:hidden;background-color:var(--emw-color-skeleton, #535353);
491
+ animation: svelte-75jgrh-pulse 1.5s infinite;}.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-skeleton, #535353);border-radius:6px;
492
+ animation: svelte-75jgrh-pulse 1s infinite;}}.PaginationSkeleton.svelte-75jgrh {display:flex;justify-content:space-between;gap:6px;.PaginationSkeletonButton:where(.svelte-75jgrh) {width:60px;height:35px;border-radius:6px;background-color:var(--emw-color-skeleton, #535353);overflow:hidden;position:relative;
493
+ animation: svelte-75jgrh-pulse 1s infinite;}.PaginationNumberSkeleton:where(.svelte-75jgrh) {width:40px;height:35px;border-radius:6px;background-color:var(--emw-color-skeleton, #535353);overflow:hidden;position:relative;
494
+ animation: svelte-75jgrh-pulse 1s infinite;}}
495
+
496
+ @keyframes svelte-75jgrh-pulse {
497
+ 0% {
498
+ opacity: 0;
499
+ }
500
+ 50% {
501
+ opacity: 1;
502
+ }
503
+ 100% {
504
+ opacity: 0;
505
+ }
506
+ }
507
+
508
+ @media (min-width: 1000px) {.ShowPlayersButton.svelte-75jgrh {display:block;width:300px;margin:auto;background-color:var(--emw-color-bg-primary, #212121);}
509
+ }
510
+
511
+ @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;}}
512
+ }`
513
+ };
514
+ function Ht(pe, Z) {
515
+ pt(Z, !0), ct(pe, Bt);
516
+ const j = () => mt(bt, "$_", te), [te, ge] = ft(), A = ke(Z, "endpoint"), re = ke(Z, "language", 7, "en"), ae = ke(Z, "session"), ne = ke(Z, "tournamentid"), W = ke(Z, "platform"), Te = ke(Z, "translationurl"), ye = ke(Z, "newlyEnrolled"), qe = () => {
517
+ let t = new URL(Te());
518
+ fetch(t.href).then((i) => i.json()).then((i) => {
519
+ Object.keys(i).forEach((l) => {
520
+ nt(l, i[l]);
521
+ });
522
+ }).catch((i) => {
523
+ console.log(i);
524
+ });
525
+ };
526
+ Object.keys(st).forEach((t) => {
527
+ nt(t, st[t]);
528
+ }), ot(re());
529
+ const Ae = () => {
530
+ ot(re());
531
+ };
532
+ vt(() => {
533
+ Te() && qe();
534
+ }), tt(() => {
535
+ Ae();
536
+ });
537
+ let oe = null, me = ce(void 0), Oe = ce(!1), Ce = ce(!1), be = ce(void 0), z = ce(void 0), k = ce(0), X = ce(10), je = ce(!0), we = ce(void 0), Be = ce(!1);
538
+ const xe = () => {
539
+ if (ue.has(o($)))
540
+ return;
541
+ V(Oe, !0);
542
+ const t = new URL(`${A()}/v1/tournaments/${ne()}/leaderboard`), i = new Headers();
543
+ ae() && i.append("X-SessionId", ae()), t.searchParams.append("language", re()), t.searchParams.append("platform", W()), t.searchParams.append("pagination", `offset=${o(k)},limit=${o(X)}`), fetch(t).then((l) => l.json()).then((l) => {
544
+ V(me, l?.items, !0), V(we, l?.total, !0), ue.set(o($), o(me)), o(je) || V(je, !0);
545
+ }).catch((l) => console.log(l)).finally(() => V(Oe, !1));
546
+ }, Ee = (t) => {
547
+ const i = JSON.parse(t.data);
548
+ i && i.messageType === "LeaderBoardUpdate" && V(me, i?.items, !0);
549
+ }, Se = () => {
550
+ oe && (oe.close(), oe = null);
551
+ const t = new URL(`${A()}/v1/tournaments/${ne()}/leaderboard/updates`);
552
+ t.searchParams.append("HeartBeat", "false"), t.searchParams.append("language", re()), t.searchParams.append("filter", "includeUnqualifiedPlayer=true"), t.searchParams.append("pagination", `offset=${o(k)},limit=${o(X)}`), t.searchParams.append("platform", W()), oe = new jt.EventSourcePolyfill(t, {
553
+ headers: { accept: "text/event-stream", "X-SessionId": ae() }
554
+ }), oe.onmessage = Ee;
555
+ }, ve = () => {
556
+ V(Ce, !0);
557
+ const t = new URL(`${A()}/v1/tournaments/leaderboard/player`), i = new Headers();
558
+ t.searchParams.append("language", re()), t.searchParams.append("platform", W()), t.searchParams.append("filter", "includeUnqualifiedPlayer=false"), ae() && i.append("X-SessionId", ae()), fetch(t, { method: "GET", headers: i }).then((p) => p.json()).then((p) => {
559
+ const y = p?.items?.find((m) => m?.tournament?.id === ne());
560
+ V(be, y?.tournament?.leaderBoard, !0), V(z, y?.endRank, !0), V(Be, y?.tournament?.playerEnrolled, !0);
561
+ }).catch((p) => {
562
+ console.log(p);
563
+ }).finally(() => V(Ce, !1));
564
+ }, We = () => {
565
+ o(k) < o(we) && (V(k, o(k) + o(X)), xe(), Se());
566
+ }, He = () => {
567
+ o(k) !== 0 && (V(k, o(k) - o(X)), xe(), Se());
568
+ }, Xe = (t) => {
569
+ V(k, (t - 1) * o(X)), xe(), Se();
570
+ }, se = Ze(() => {
571
+ const t = Math.ceil(o(we) / o(X)), i = Math.floor(o(k) / o(X)) + 1;
572
+ if (t <= 5)
573
+ return Array.from({ length: t }, (p, y) => y + 1);
574
+ const l = [];
575
+ return l.push(1), i <= 3 ? (l.push(2, 3), l.push("..."), l.push(t)) : i >= t - 2 ? (l.push("..."), l.push(t - 2, t - 1, t)) : (l.push("..."), l.push(i - 1, i, i + 1), l.push("..."), l.push(t)), l;
576
+ }), $ = Ze(() => Math.floor(o(k) / o(X)) + 1);
577
+ let ue = /* @__PURE__ */ new Map(), Ie = Ze(() => ue.get(o($)) ?? []);
578
+ const ie = (t, i) => {
579
+ const l = [];
580
+ return i && l.push("PlayerRow"), t === 1 && l.push("Gold"), t === 2 && l.push("Silver"), t === 3 && l.push("Bronze"), l.join(" ");
581
+ };
582
+ tt(() => {
583
+ ye() && ve();
584
+ }), ut(() => (xe(), ve(), Se(), () => {
585
+ oe?.close(), oe = null;
586
+ }));
587
+ var Me = {
588
+ get endpoint() {
589
+ return A();
590
+ },
591
+ set endpoint(t) {
592
+ A(t), Re();
593
+ },
594
+ get language() {
595
+ return re();
596
+ },
597
+ set language(t = "en") {
598
+ re(t), Re();
599
+ },
600
+ get session() {
601
+ return ae();
602
+ },
603
+ set session(t) {
604
+ ae(t), Re();
605
+ },
606
+ get tournamentid() {
607
+ return ne();
608
+ },
609
+ set tournamentid(t) {
610
+ ne(t), Re();
611
+ },
612
+ get platform() {
613
+ return W();
614
+ },
615
+ set platform(t) {
616
+ W(t), Re();
617
+ },
618
+ get translationurl() {
619
+ return Te();
620
+ },
621
+ set translationurl(t) {
622
+ Te(t), Re();
623
+ },
624
+ get newlyEnrolled() {
625
+ return ye();
626
+ },
627
+ set newlyEnrolled(t) {
628
+ ye(t), Re();
629
+ }
630
+ }, Le = Ot(), Ue = f(Le), Ve = f(Ue);
631
+ {
632
+ var Je = (t) => {
633
+ var i = kt(), l = f(i), p = f(l), y = f(p, !0);
634
+ h(p);
635
+ var m = U(p, 2), F = f(m, !0);
636
+ h(m);
637
+ var O = U(m, 2), S = f(O, !0);
638
+ h(O), h(l);
639
+ var C = U(l, 2), E = f(C);
640
+ {
641
+ var K = (R) => {
642
+ var D = xt(), B = _e(D), ee = f(B);
643
+ h(B);
644
+ var G = U(B, 2), w = f(G, !0);
645
+ h(G);
646
+ var b = U(G, 2), L = f(b, !0);
647
+ h(b), de(() => {
648
+ T(ee, `${o(be).rank ?? ""}.`), T(w, o(be).score), T(L, o(be).prizeName || "—");
649
+ }), N(R, D);
650
+ }, Q = (R) => {
651
+ var D = Fe(), B = _e(D);
652
+ {
653
+ var ee = (w) => {
654
+ var b = Et(), L = _e(b), H = f(L);
655
+ h(L), _t(4), de(() => T(H, `${o(z) ?? ""}.`)), N(w, b);
656
+ }, G = (w) => {
657
+ var b = Fe(), L = _e(b);
658
+ {
659
+ var H = (P) => {
660
+ var M = St(), Y = f(M, !0);
661
+ h(M), de((le) => T(Y, le), [() => j()("leaderboardNotAvailable")]), N(P, M);
662
+ }, I = (P) => {
663
+ var M = Pt(), Y = f(M, !0);
664
+ h(M), de((le) => T(Y, le), [() => j()("notEnrolledRank")]), N(P, M);
665
+ };
666
+ fe(
667
+ L,
668
+ (P) => {
669
+ o(Be) ? P(H) : P(I, !1);
670
+ },
671
+ !0
672
+ );
673
+ }
674
+ N(w, b);
675
+ };
676
+ fe(
677
+ B,
678
+ (w) => {
679
+ o(z) ? w(ee) : w(G, !1);
680
+ },
681
+ !0
682
+ );
683
+ }
684
+ N(R, D);
685
+ };
686
+ fe(E, (R) => {
687
+ o(be) ? R(K) : R(Q, !1);
688
+ });
689
+ }
690
+ h(C), h(i), de(
691
+ (R, D, B) => {
692
+ T(y, R), T(F, D), T(S, B);
693
+ },
694
+ [
695
+ () => j()("myRanking"),
696
+ () => j()("points"),
697
+ () => j()("prize")
698
+ ]
699
+ ), N(t, i);
700
+ }, Ke = (t) => {
701
+ var i = Rt();
702
+ N(t, i);
703
+ };
704
+ fe(Ve, (t) => {
705
+ o(Ce) ? t(Ke, !1) : t(Je);
706
+ });
707
+ }
708
+ var Ne = U(Ve, 2), Pe = f(Ne), he = f(Pe), q = f(he), Qe = f(q, !0);
709
+ h(q);
710
+ var ze = U(q), Ye = f(ze, !0);
711
+ h(ze);
712
+ var De = U(ze), e = f(De, !0);
713
+ h(De);
714
+ var a = U(De), n = f(a, !0);
715
+ h(a), h(he), h(Pe);
716
+ var r = U(Pe), d = f(r);
717
+ {
718
+ var s = (t) => {
719
+ var i = Fe(), l = _e(i);
720
+ $e(l, 17, () => Array(o(X)), rt, (p, y, m, F) => {
721
+ var O = Tt();
722
+ N(p, O);
723
+ }), N(t, i);
724
+ }, v = (t) => {
725
+ var i = Fe(), l = _e(i);
726
+ {
727
+ var p = (m) => {
728
+ var F = Fe(), O = _e(F);
729
+ $e(O, 17, () => o(Ie), (S) => S.rank, (S, C) => {
730
+ var E = At(), K = f(E), Q = f(K);
731
+ h(K);
732
+ var R = U(K), D = f(R, !0);
733
+ h(R);
734
+ var B = U(R), ee = f(B, !0);
735
+ h(B);
736
+ var G = U(B), w = f(G, !0);
737
+ h(G), h(E), de(
738
+ (b) => {
739
+ at(E, 1, b, "svelte-75jgrh"), T(Q, `${o(C).rank ?? ""}.`), T(D, o(C).shortName || "J.D"), T(ee, o(C).score || "—"), T(w, o(C).prizeName || "—");
740
+ },
741
+ [
742
+ () => wt(ie(o(C).rank, o(C).rank === o(be)?.rank))
743
+ ]
744
+ ), N(S, E);
745
+ }), N(m, F);
746
+ }, y = (m) => {
747
+ var F = Ct(), O = f(F), S = f(O), C = f(S), E = f(C, !0);
748
+ h(C), h(S), h(O), h(F), de((K) => T(E, K), [() => j()("leaderboardNotAvailable")]), N(m, F);
749
+ };
750
+ fe(
751
+ l,
752
+ (m) => {
753
+ o(me)?.length > 0 ? m(p) : m(y, !1);
754
+ },
755
+ !0
756
+ );
757
+ }
758
+ N(t, i);
759
+ };
760
+ fe(d, (t) => {
761
+ o(Oe) ? t(s) : t(v, !1);
762
+ });
763
+ }
764
+ h(r), h(Ne), h(Ue);
765
+ var x = U(Ue, 2);
766
+ {
767
+ var u = (t) => {
768
+ var i = Lt();
769
+ N(t, i);
770
+ };
771
+ fe(x, (t) => {
772
+ o(je) || t(u);
773
+ });
774
+ }
775
+ var g = U(x, 2);
776
+ {
777
+ var _ = (t) => {
778
+ var i = Ft(), l = f(i);
779
+ l.__click = He;
780
+ var p = f(l, !0);
781
+ h(l);
782
+ var y = U(l, 2);
783
+ $e(y, 21, () => o(se), rt, (O, S) => {
784
+ var C = Fe(), E = _e(C);
785
+ {
786
+ var K = (R) => {
787
+ var D = Nt();
788
+ N(R, D);
789
+ }, Q = (R) => {
790
+ var D = Dt();
791
+ let B;
792
+ D.__click = () => Xe(o(S));
793
+ var ee = f(D, !0);
794
+ h(D), de(() => {
795
+ B = at(D, 1, "PaginationButton Number svelte-75jgrh", null, B, { Active: o(S) === o($) }), T(ee, o(S));
796
+ }), N(R, D);
797
+ };
798
+ fe(E, (R) => {
799
+ typeof o(S) != "number" ? R(K) : R(Q, !1);
800
+ });
801
+ }
802
+ N(O, C);
803
+ }), h(y);
804
+ var m = U(y, 2);
805
+ m.__click = We;
806
+ var F = f(m, !0);
807
+ h(m), h(i), de(
808
+ (O, S) => {
809
+ l.disabled = o(k) === 0, T(p, O), m.disabled = o(k) >= o(we) - o(X), T(F, S);
810
+ },
811
+ [() => j()("previousButton"), () => j()("nextButton")]
812
+ ), N(t, i);
813
+ };
814
+ fe(g, (t) => {
815
+ o(je) && o(we) > o(X) && t(_);
816
+ });
817
+ }
818
+ h(Le), de(
819
+ (t, i, l, p) => {
820
+ T(Qe, t), T(Ye, i), T(e, l), T(n, p);
821
+ },
822
+ [
823
+ () => j()("rank"),
824
+ () => j()("user"),
825
+ () => j()("points"),
826
+ () => j()("prize")
827
+ ]
828
+ ), N(pe, Le);
829
+ var c = ht(Me);
830
+ return ge(), c;
831
+ }
832
+ gt(["click"]);
833
+ customElements.define("tournament-leaderboard", yt(
834
+ Ht,
835
+ {
836
+ endpoint: {},
837
+ language: {},
838
+ session: {},
839
+ tournamentid: {},
840
+ platform: {},
841
+ translationurl: {},
842
+ newlyEnrolled: {}
843
+ },
844
+ [],
845
+ [],
846
+ !1
847
+ ));
848
+ export {
849
+ Ht as default
850
+ };