@everymatrix/casino-tournaments-slider-controller 1.67.3 → 1.69.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,33 +1,33 @@
1
- var St = Object.defineProperty, Et = Object.defineProperties;
2
- var Rt = Object.getOwnPropertyDescriptors;
1
+ var Ct = Object.defineProperty, At = Object.defineProperties;
2
+ var Et = Object.getOwnPropertyDescriptors;
3
3
  var ut = Object.getOwnPropertySymbols;
4
- var zt = Object.prototype.hasOwnProperty, Pt = Object.prototype.propertyIsEnumerable;
5
- var et = (e, t, n) => t in e ? St(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ft = (e, t) => {
4
+ var Rt = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable;
5
+ var tt = (e, t, n) => t in e ? Ct(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ft = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- zt.call(t, n) && et(e, n, t[n]);
7
+ Rt.call(t, n) && tt(e, n, t[n]);
8
8
  if (ut)
9
9
  for (var n of ut(t))
10
- Pt.call(t, n) && et(e, n, t[n]);
10
+ zt.call(t, n) && tt(e, n, t[n]);
11
11
  return e;
12
- }, ht = (e, t) => Et(e, Rt(t));
13
- var E = (e, t, n) => (et(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var dt = (e, t, n) => new Promise((i, l) => {
12
+ }, ht = (e, t) => At(e, Et(t));
13
+ var E = (e, t, n) => (tt(e, typeof t != "symbol" ? t + "" : t, n), n);
14
+ var dt = (e, t, n) => new Promise((i, o) => {
15
15
  var r = (s) => {
16
16
  try {
17
- o(n.next(s));
17
+ c(n.next(s));
18
18
  } catch (a) {
19
- l(a);
19
+ o(a);
20
20
  }
21
- }, c = (s) => {
21
+ }, l = (s) => {
22
22
  try {
23
- o(n.throw(s));
23
+ c(n.throw(s));
24
24
  } catch (a) {
25
- l(a);
25
+ o(a);
26
26
  }
27
- }, o = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(r, c);
28
- o((n = n.apply(e, t)).next());
27
+ }, c = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(r, l);
28
+ c((n = n.apply(e, t)).next());
29
29
  });
30
- function I() {
30
+ function T() {
31
31
  }
32
32
  const Lt = (e) => e;
33
33
  function yt(e) {
@@ -36,64 +36,64 @@ function yt(e) {
36
36
  function gt() {
37
37
  return /* @__PURE__ */ Object.create(null);
38
38
  }
39
- function D(e) {
39
+ function O(e) {
40
40
  e.forEach(yt);
41
41
  }
42
- function lt(e) {
42
+ function ot(e) {
43
43
  return typeof e == "function";
44
44
  }
45
- function Tt(e, t) {
45
+ function Pt(e, t) {
46
46
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
47
47
  }
48
- let Z;
48
+ let V;
49
49
  function mt(e, t) {
50
- return e === t ? !0 : (Z || (Z = document.createElement("a")), Z.href = t, e === Z.href);
50
+ return e === t ? !0 : (V || (V = document.createElement("a")), V.href = t, e === V.href);
51
51
  }
52
52
  function Mt(e) {
53
53
  return Object.keys(e).length === 0;
54
54
  }
55
- function It(e, ...t) {
55
+ function Tt(e, ...t) {
56
56
  if (e == null) {
57
57
  for (const i of t)
58
58
  i(void 0);
59
- return I;
59
+ return T;
60
60
  }
61
61
  const n = e.subscribe(...t);
62
62
  return n.unsubscribe ? () => n.unsubscribe() : n;
63
63
  }
64
- function me(e, t, n) {
65
- e.$$.on_destroy.push(It(t, n));
64
+ function pe(e, t, n) {
65
+ e.$$.on_destroy.push(Tt(t, n));
66
66
  }
67
- const kt = typeof window != "undefined";
68
- let Ut = kt ? () => window.performance.now() : () => Date.now(), ct = kt ? (e) => requestAnimationFrame(e) : I;
69
- const O = /* @__PURE__ */ new Set();
70
- function bt(e) {
71
- O.forEach((t) => {
72
- t.c(e) || (O.delete(t), t.f());
73
- }), O.size !== 0 && ct(bt);
67
+ const bt = typeof window != "undefined";
68
+ let Ut = bt ? () => window.performance.now() : () => Date.now(), ct = bt ? (e) => requestAnimationFrame(e) : T;
69
+ const j = /* @__PURE__ */ new Set();
70
+ function kt(e) {
71
+ j.forEach((t) => {
72
+ t.c(e) || (j.delete(t), t.f());
73
+ }), j.size !== 0 && ct(kt);
74
74
  }
75
- function jt(e) {
75
+ function It(e) {
76
76
  let t;
77
- return O.size === 0 && ct(bt), {
77
+ return j.size === 0 && ct(kt), {
78
78
  promise: new Promise((n) => {
79
- O.add(t = { c: e, f: n });
79
+ j.add(t = { c: e, f: n });
80
80
  }),
81
81
  abort() {
82
- O.delete(t);
82
+ j.delete(t);
83
83
  }
84
84
  };
85
85
  }
86
- function v(e, t) {
86
+ function x(e, t) {
87
87
  e.appendChild(t);
88
88
  }
89
- function Ot(e, t, n) {
90
- const i = at(e);
89
+ function jt(e, t, n) {
90
+ const i = lt(e);
91
91
  if (!i.getElementById(t)) {
92
- const l = z("style");
93
- l.id = t, l.textContent = n, xt(i, l);
92
+ const o = R("style");
93
+ o.id = t, o.textContent = n, xt(i, o);
94
94
  }
95
95
  }
96
- function at(e) {
96
+ function lt(e) {
97
97
  if (!e)
98
98
  return document;
99
99
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -104,65 +104,65 @@ function at(e) {
104
104
  ) : e.ownerDocument;
105
105
  }
106
106
  function Ht(e) {
107
- const t = z("style");
108
- return t.textContent = "/* empty */", xt(at(e), t), t.sheet;
107
+ const t = R("style");
108
+ return t.textContent = "/* empty */", xt(lt(e), t), t.sheet;
109
109
  }
110
110
  function xt(e, t) {
111
- return v(
111
+ return x(
112
112
  /** @type {Document} */
113
113
  e.head || e,
114
114
  t
115
115
  ), t.sheet;
116
116
  }
117
- function tt(e, t, n) {
117
+ function Y(e, t, n) {
118
118
  e.insertBefore(t, n || null);
119
119
  }
120
- function N(e) {
120
+ function D(e) {
121
121
  e.parentNode && e.parentNode.removeChild(e);
122
122
  }
123
- function $e(e, t) {
123
+ function _e(e, t) {
124
124
  for (let n = 0; n < e.length; n += 1)
125
125
  e[n] && e[n].d(t);
126
126
  }
127
- function z(e) {
127
+ function R(e) {
128
128
  return document.createElement(e);
129
129
  }
130
- function pe(e) {
130
+ function we(e) {
131
131
  return document.createElementNS("http://www.w3.org/2000/svg", e);
132
132
  }
133
- function G(e) {
133
+ function Z(e) {
134
134
  return document.createTextNode(e);
135
135
  }
136
- function q() {
137
- return G(" ");
136
+ function N() {
137
+ return Z(" ");
138
138
  }
139
- function _e(e, t, n, i) {
139
+ function ye(e, t, n, i) {
140
140
  return e.addEventListener(t, n, i), () => e.removeEventListener(t, n, i);
141
141
  }
142
142
  function h(e, t, n) {
143
143
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
144
144
  }
145
- function we(e, t, n) {
145
+ function be(e, t, n) {
146
146
  const i = t.toLowerCase();
147
147
  i in e ? e[i] = typeof e[i] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : h(e, t, n);
148
148
  }
149
- function ye(e, t, n) {
149
+ function ke(e, t, n) {
150
150
  e.setAttributeNS("http://www.w3.org/1999/xlink", t, n);
151
151
  }
152
- function Dt(e) {
152
+ function Ot(e) {
153
153
  return Array.from(e.childNodes);
154
154
  }
155
- function nt(e, t) {
155
+ function et(e, t) {
156
156
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
157
157
  t);
158
158
  }
159
- function ke(e, t, n, i) {
159
+ function xe(e, t, n, i) {
160
160
  e.style.setProperty(t, n, "");
161
161
  }
162
- function Nt(e, t, { bubbles: n = !1, cancelable: i = !1 } = {}) {
162
+ function Dt(e, t, { bubbles: n = !1, cancelable: i = !1 } = {}) {
163
163
  return new CustomEvent(e, { detail: t, bubbles: n, cancelable: i });
164
164
  }
165
- function Bt(e) {
165
+ function Nt(e) {
166
166
  const t = {};
167
167
  return e.childNodes.forEach(
168
168
  /** @param {Element} node */
@@ -171,234 +171,234 @@ function Bt(e) {
171
171
  }
172
172
  ), t;
173
173
  }
174
- const W = /* @__PURE__ */ new Map();
175
- let X = 0;
176
- function qt(e) {
174
+ const Q = /* @__PURE__ */ new Map();
175
+ let W = 0;
176
+ function Bt(e) {
177
177
  let t = 5381, n = e.length;
178
178
  for (; n--; )
179
179
  t = (t << 5) - t ^ e.charCodeAt(n);
180
180
  return t >>> 0;
181
181
  }
182
- function Ft(e, t) {
182
+ function qt(e, t) {
183
183
  const n = { stylesheet: Ht(t), rules: {} };
184
- return W.set(e, n), n;
184
+ return Q.set(e, n), n;
185
185
  }
186
- function $t(e, t, n, i, l, r, c, o = 0) {
186
+ function $t(e, t, n, i, o, r, l, c = 0) {
187
187
  const s = 16.666 / i;
188
188
  let a = `{
189
189
  `;
190
- for (let m = 0; m <= 1; m += s) {
191
- const C = t + (n - t) * r(m);
192
- a += m * 100 + `%{${c(C, 1 - C)}}
190
+ for (let g = 0; g <= 1; g += s) {
191
+ const v = t + (n - t) * r(g);
192
+ a += g * 100 + `%{${l(v, 1 - v)}}
193
193
  `;
194
194
  }
195
- const $ = a + `100% {${c(n, 1 - n)}}
196
- }`, d = `__svelte_${qt($)}_${o}`, g = at(e), { stylesheet: p, rules: f } = W.get(g) || Ft(g, e);
197
- f[d] || (f[d] = !0, p.insertRule(`@keyframes ${d} ${$}`, p.cssRules.length));
198
- const w = e.style.animation || "";
199
- return e.style.animation = `${w ? `${w}, ` : ""}${d} ${i}ms linear ${l}ms 1 both`, X += 1, d;
195
+ const $ = a + `100% {${l(n, 1 - n)}}
196
+ }`, d = `__svelte_${Bt($)}_${c}`, m = lt(e), { stylesheet: w, rules: u } = Q.get(m) || qt(m, e);
197
+ u[d] || (u[d] = !0, w.insertRule(`@keyframes ${d} ${$}`, w.cssRules.length));
198
+ const _ = e.style.animation || "";
199
+ return e.style.animation = `${_ ? `${_}, ` : ""}${d} ${i}ms linear ${o}ms 1 both`, W += 1, d;
200
200
  }
201
- function Jt(e, t) {
201
+ function Ft(e, t) {
202
202
  const n = (e.style.animation || "").split(", "), i = n.filter(
203
203
  t ? (r) => r.indexOf(t) < 0 : (r) => r.indexOf("__svelte") === -1
204
204
  // remove all Svelte animations
205
- ), l = n.length - i.length;
206
- l && (e.style.animation = i.join(", "), X -= l, X || Vt());
205
+ ), o = n.length - i.length;
206
+ o && (e.style.animation = i.join(", "), W -= o, W || Jt());
207
207
  }
208
- function Vt() {
208
+ function Jt() {
209
209
  ct(() => {
210
- X || (W.forEach((e) => {
210
+ W || (Q.forEach((e) => {
211
211
  const { ownerNode: t } = e.stylesheet;
212
- t && N(t);
213
- }), W.clear());
212
+ t && D(t);
213
+ }), Q.clear());
214
214
  });
215
215
  }
216
- let V;
217
- function J(e) {
218
- V = e;
216
+ let F;
217
+ function q(e) {
218
+ F = e;
219
219
  }
220
- function Zt() {
221
- if (!V)
220
+ function Vt() {
221
+ if (!F)
222
222
  throw new Error("Function called outside component initialization");
223
- return V;
223
+ return F;
224
224
  }
225
- function Gt(e) {
226
- Zt().$$.on_mount.push(e);
225
+ function Zt(e) {
226
+ Vt().$$.on_mount.push(e);
227
227
  }
228
- const j = [], rt = [];
228
+ const I = [], st = [];
229
229
  let H = [];
230
- const pt = [], Kt = /* @__PURE__ */ Promise.resolve();
231
- let ot = !1;
232
- function Qt() {
233
- ot || (ot = !0, Kt.then(R));
230
+ const pt = [], Gt = /* @__PURE__ */ Promise.resolve();
231
+ let rt = !1;
232
+ function Kt() {
233
+ rt || (rt = !0, Gt.then(S));
234
234
  }
235
- function Y(e) {
235
+ function X(e) {
236
236
  H.push(e);
237
237
  }
238
- const it = /* @__PURE__ */ new Set();
238
+ const nt = /* @__PURE__ */ new Set();
239
239
  let U = 0;
240
- function R() {
240
+ function S() {
241
241
  if (U !== 0)
242
242
  return;
243
- const e = V;
243
+ const e = F;
244
244
  do {
245
245
  try {
246
- for (; U < j.length; ) {
247
- const t = j[U];
248
- U++, J(t), Wt(t.$$);
246
+ for (; U < I.length; ) {
247
+ const t = I[U];
248
+ U++, q(t), Qt(t.$$);
249
249
  }
250
250
  } catch (t) {
251
- throw j.length = 0, U = 0, t;
251
+ throw I.length = 0, U = 0, t;
252
252
  }
253
- for (J(null), j.length = 0, U = 0; rt.length; )
254
- rt.pop()();
253
+ for (q(null), I.length = 0, U = 0; st.length; )
254
+ st.pop()();
255
255
  for (let t = 0; t < H.length; t += 1) {
256
256
  const n = H[t];
257
- it.has(n) || (it.add(n), n());
257
+ nt.has(n) || (nt.add(n), n());
258
258
  }
259
259
  H.length = 0;
260
- } while (j.length);
260
+ } while (I.length);
261
261
  for (; pt.length; )
262
262
  pt.pop()();
263
- ot = !1, it.clear(), J(e);
263
+ rt = !1, nt.clear(), q(e);
264
264
  }
265
- function Wt(e) {
265
+ function Qt(e) {
266
266
  if (e.fragment !== null) {
267
- e.update(), D(e.before_update);
267
+ e.update(), O(e.before_update);
268
268
  const t = e.dirty;
269
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Y);
269
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(X);
270
270
  }
271
271
  }
272
- function Xt(e) {
272
+ function Wt(e) {
273
273
  const t = [], n = [];
274
274
  H.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : n.push(i)), n.forEach((i) => i()), H = t;
275
275
  }
276
- let F;
277
- function Yt() {
278
- return F || (F = Promise.resolve(), F.then(() => {
279
- F = null;
280
- })), F;
281
- }
282
- function st(e, t, n) {
283
- e.dispatchEvent(Nt(`${t ? "intro" : "outro"}${n}`));
284
- }
285
- const K = /* @__PURE__ */ new Set();
286
- let T;
287
- function be() {
288
- T = {
276
+ let B;
277
+ function Xt() {
278
+ return B || (B = Promise.resolve(), B.then(() => {
279
+ B = null;
280
+ })), B;
281
+ }
282
+ function it(e, t, n) {
283
+ e.dispatchEvent(Dt(`${t ? "intro" : "outro"}${n}`));
284
+ }
285
+ const G = /* @__PURE__ */ new Set();
286
+ let M;
287
+ function ve() {
288
+ M = {
289
289
  r: 0,
290
290
  c: [],
291
- p: T
291
+ p: M
292
292
  // parent group
293
293
  };
294
294
  }
295
- function xe() {
296
- T.r || D(T.c), T = T.p;
295
+ function Se() {
296
+ M.r || O(M.c), M = M.p;
297
297
  }
298
- function te(e, t) {
299
- e && e.i && (K.delete(e), e.i(t));
298
+ function Yt(e, t) {
299
+ e && e.i && (G.delete(e), e.i(t));
300
300
  }
301
- function ve(e, t, n, i) {
301
+ function Ce(e, t, n, i) {
302
302
  if (e && e.o) {
303
- if (K.has(e))
303
+ if (G.has(e))
304
304
  return;
305
- K.add(e), T.c.push(() => {
306
- K.delete(e), i && (n && e.d(1), i());
305
+ G.add(e), M.c.push(() => {
306
+ G.delete(e), i && (n && e.d(1), i());
307
307
  }), e.o(t);
308
308
  } else
309
309
  i && i();
310
310
  }
311
- const ee = { duration: 0 };
312
- function Ce(e, t, n, i) {
313
- let r = t(e, n, { direction: "both" }), c = i ? 0 : 1, o = null, s = null, a = null, $;
311
+ const te = { duration: 0 };
312
+ function Ae(e, t, n, i) {
313
+ let r = t(e, n, { direction: "both" }), l = i ? 0 : 1, c = null, s = null, a = null, $;
314
314
  function d() {
315
- a && Jt(e, a);
315
+ a && Ft(e, a);
316
316
  }
317
- function g(f, w) {
318
- const m = (
317
+ function m(u, _) {
318
+ const g = (
319
319
  /** @type {Program['d']} */
320
- f.b - c
320
+ u.b - l
321
321
  );
322
- return w *= Math.abs(m), {
323
- a: c,
324
- b: f.b,
325
- d: m,
326
- duration: w,
327
- start: f.start,
328
- end: f.start + w,
329
- group: f.group
322
+ return _ *= Math.abs(g), {
323
+ a: l,
324
+ b: u.b,
325
+ d: g,
326
+ duration: _,
327
+ start: u.start,
328
+ end: u.start + _,
329
+ group: u.group
330
330
  };
331
331
  }
332
- function p(f) {
332
+ function w(u) {
333
333
  const {
334
- delay: w = 0,
335
- duration: m = 300,
336
- easing: C = Lt,
337
- tick: A = I,
338
- css: P
339
- } = r || ee, y = {
340
- start: Ut() + w,
341
- b: f
334
+ delay: _ = 0,
335
+ duration: g = 300,
336
+ easing: v = Lt,
337
+ tick: C = T,
338
+ css: L
339
+ } = r || te, z = {
340
+ start: Ut() + _,
341
+ b: u
342
342
  };
343
- f || (y.group = T, T.r += 1), "inert" in e && (f ? $ !== void 0 && (e.inert = $) : ($ = /** @type {HTMLElement} */
344
- e.inert, e.inert = !0)), o || s ? s = y : (P && (d(), a = $t(e, c, f, m, w, C, P)), f && A(0, 1), o = g(y, m), Y(() => st(e, f, "start")), jt((S) => {
345
- if (s && S > s.start && (o = g(s, m), s = null, st(e, o.b, "start"), P && (d(), a = $t(
343
+ u || (z.group = M, M.r += 1), "inert" in e && (u ? $ !== void 0 && (e.inert = $) : ($ = /** @type {HTMLElement} */
344
+ e.inert, e.inert = !0)), c || s ? s = z : (L && (d(), a = $t(e, l, u, g, _, v, L)), u && C(0, 1), c = m(z, g), X(() => it(e, u, "start")), It((y) => {
345
+ if (s && y > s.start && (c = m(s, g), s = null, it(e, c.b, "start"), L && (d(), a = $t(
346
346
  e,
347
- c,
348
- o.b,
349
- o.duration,
347
+ l,
348
+ c.b,
349
+ c.duration,
350
350
  0,
351
- C,
351
+ v,
352
352
  r.css
353
- ))), o) {
354
- if (S >= o.end)
355
- A(c = o.b, 1 - c), st(e, o.b, "end"), s || (o.b ? d() : --o.group.r || D(o.group.c)), o = null;
356
- else if (S >= o.start) {
357
- const L = S - o.start;
358
- c = o.a + o.d * C(L / o.duration), A(c, 1 - c);
353
+ ))), c) {
354
+ if (y >= c.end)
355
+ C(l = c.b, 1 - l), it(e, c.b, "end"), s || (c.b ? d() : --c.group.r || O(c.group.c)), c = null;
356
+ else if (y >= c.start) {
357
+ const P = y - c.start;
358
+ l = c.a + c.d * v(P / c.duration), C(l, 1 - l);
359
359
  }
360
360
  }
361
- return !!(o || s);
361
+ return !!(c || s);
362
362
  }));
363
363
  }
364
364
  return {
365
- run(f) {
366
- lt(r) ? Yt().then(() => {
367
- r = r({ direction: f ? "in" : "out" }), p(f);
368
- }) : p(f);
365
+ run(u) {
366
+ ot(r) ? Xt().then(() => {
367
+ r = r({ direction: u ? "in" : "out" }), w(u);
368
+ }) : w(u);
369
369
  },
370
370
  end() {
371
- d(), o = s = null;
371
+ d(), c = s = null;
372
372
  }
373
373
  };
374
374
  }
375
- function Ae(e) {
375
+ function Ee(e) {
376
376
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
377
377
  }
378
- function ne(e, t, n) {
379
- const { fragment: i, after_update: l } = e.$$;
380
- i && i.m(t, n), Y(() => {
381
- const r = e.$$.on_mount.map(yt).filter(lt);
382
- e.$$.on_destroy ? e.$$.on_destroy.push(...r) : D(r), e.$$.on_mount = [];
383
- }), l.forEach(Y);
378
+ function ee(e, t, n) {
379
+ const { fragment: i, after_update: o } = e.$$;
380
+ i && i.m(t, n), X(() => {
381
+ const r = e.$$.on_mount.map(yt).filter(ot);
382
+ e.$$.on_destroy ? e.$$.on_destroy.push(...r) : O(r), e.$$.on_mount = [];
383
+ }), o.forEach(X);
384
384
  }
385
- function ie(e, t) {
385
+ function ne(e, t) {
386
386
  const n = e.$$;
387
- n.fragment !== null && (Xt(n.after_update), D(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
387
+ n.fragment !== null && (Wt(n.after_update), O(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
388
388
  }
389
- function se(e, t) {
390
- e.$$.dirty[0] === -1 && (j.push(e), Qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
389
+ function ie(e, t) {
390
+ e.$$.dirty[0] === -1 && (I.push(e), Kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
391
391
  }
392
- function re(e, t, n, i, l, r, c = null, o = [-1]) {
393
- const s = V;
394
- J(e);
392
+ function se(e, t, n, i, o, r, l = null, c = [-1]) {
393
+ const s = F;
394
+ q(e);
395
395
  const a = e.$$ = {
396
396
  fragment: null,
397
397
  ctx: [],
398
398
  // state
399
399
  props: r,
400
- update: I,
401
- not_equal: l,
400
+ update: T,
401
+ not_equal: o,
402
402
  bound: gt(),
403
403
  // lifecycle
404
404
  on_mount: [],
@@ -409,24 +409,24 @@ function re(e, t, n, i, l, r, c = null, o = [-1]) {
409
409
  context: new Map(t.context || (s ? s.$$.context : [])),
410
410
  // everything else
411
411
  callbacks: gt(),
412
- dirty: o,
412
+ dirty: c,
413
413
  skip_bound: !1,
414
414
  root: t.target || s.$$.root
415
415
  };
416
- c && c(a.root);
416
+ l && l(a.root);
417
417
  let $ = !1;
418
- if (a.ctx = n ? n(e, t.props || {}, (d, g, ...p) => {
419
- const f = p.length ? p[0] : g;
420
- return a.ctx && l(a.ctx[d], a.ctx[d] = f) && (!a.skip_bound && a.bound[d] && a.bound[d](f), $ && se(e, d)), g;
421
- }) : [], a.update(), $ = !0, D(a.before_update), a.fragment = i ? i(a.ctx) : !1, t.target) {
418
+ if (a.ctx = n ? n(e, t.props || {}, (d, m, ...w) => {
419
+ const u = w.length ? w[0] : m;
420
+ return a.ctx && o(a.ctx[d], a.ctx[d] = u) && (!a.skip_bound && a.bound[d] && a.bound[d](u), $ && ie(e, d)), m;
421
+ }) : [], a.update(), $ = !0, O(a.before_update), a.fragment = i ? i(a.ctx) : !1, t.target) {
422
422
  if (t.hydrate) {
423
- const d = Dt(t.target);
424
- a.fragment && a.fragment.l(d), d.forEach(N);
423
+ const d = Ot(t.target);
424
+ a.fragment && a.fragment.l(d), d.forEach(D);
425
425
  } else
426
426
  a.fragment && a.fragment.c();
427
- t.intro && te(e.$$.fragment), ne(e, t.target, t.anchor), R();
427
+ t.intro && Yt(e.$$.fragment), ee(e, t.target, t.anchor), S();
428
428
  }
429
- J(s);
429
+ q(s);
430
430
  }
431
431
  let vt;
432
432
  typeof HTMLElement == "function" && (vt = class extends HTMLElement {
@@ -454,15 +454,15 @@ typeof HTMLElement == "function" && (vt = class extends HTMLElement {
454
454
  }
455
455
  addEventListener(t, n, i) {
456
456
  if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
457
- const l = this.$$c.$on(t, n);
458
- this.$$l_u.set(n, l);
457
+ const o = this.$$c.$on(t, n);
458
+ this.$$l_u.set(n, o);
459
459
  }
460
460
  super.addEventListener(t, n, i);
461
461
  }
462
462
  removeEventListener(t, n, i) {
463
463
  if (super.removeEventListener(t, n, i), this.$$c) {
464
- const l = this.$$l_u.get(n);
465
- l && (l(), this.$$l_u.delete(n));
464
+ const o = this.$$l_u.get(n);
465
+ o && (o(), this.$$l_u.delete(n));
466
466
  }
467
467
  }
468
468
  connectedCallback() {
@@ -470,32 +470,32 @@ typeof HTMLElement == "function" && (vt = class extends HTMLElement {
470
470
  if (this.$$cn = !0, !this.$$c) {
471
471
  let t = function(r) {
472
472
  return () => {
473
- let c;
473
+ let l;
474
474
  return {
475
475
  c: function() {
476
- c = z("slot"), r !== "default" && h(c, "name", r);
476
+ l = R("slot"), r !== "default" && h(l, "name", r);
477
477
  },
478
478
  /**
479
479
  * @param {HTMLElement} target
480
480
  * @param {HTMLElement} [anchor]
481
481
  */
482
482
  m: function(a, $) {
483
- tt(a, c, $);
483
+ Y(a, l, $);
484
484
  },
485
485
  d: function(a) {
486
- a && N(c);
486
+ a && D(l);
487
487
  }
488
488
  };
489
489
  };
490
490
  };
491
491
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
492
492
  return;
493
- const n = {}, i = Bt(this);
493
+ const n = {}, i = Nt(this);
494
494
  for (const r of this.$$s)
495
495
  r in i && (n[r] = [t(r)]);
496
496
  for (const r of this.attributes) {
497
- const c = this.$$g_p(r.name);
498
- c in this.$$d || (this.$$d[c] = Q(c, r.value, this.$$p_d, "toProp"));
497
+ const l = this.$$g_p(r.name);
498
+ l in this.$$d || (this.$$d[l] = K(l, r.value, this.$$p_d, "toProp"));
499
499
  }
500
500
  for (const r in this.$$p_d)
501
501
  !(r in this.$$d) && this[r] !== void 0 && (this.$$d[r] = this[r], delete this[r]);
@@ -508,25 +508,25 @@ typeof HTMLElement == "function" && (vt = class extends HTMLElement {
508
508
  }
509
509
  })
510
510
  });
511
- const l = () => {
511
+ const o = () => {
512
512
  this.$$r = !0;
513
513
  for (const r in this.$$p_d)
514
514
  if (this.$$d[r] = this.$$c.$$.ctx[this.$$c.$$.props[r]], this.$$p_d[r].reflect) {
515
- const c = Q(
515
+ const l = K(
516
516
  r,
517
517
  this.$$d[r],
518
518
  this.$$p_d,
519
519
  "toAttribute"
520
520
  );
521
- c == null ? this.removeAttribute(this.$$p_d[r].attribute || r) : this.setAttribute(this.$$p_d[r].attribute || r, c);
521
+ l == null ? this.removeAttribute(this.$$p_d[r].attribute || r) : this.setAttribute(this.$$p_d[r].attribute || r, l);
522
522
  }
523
523
  this.$$r = !1;
524
524
  };
525
- this.$$c.$$.after_update.push(l), l();
525
+ this.$$c.$$.after_update.push(o), o();
526
526
  for (const r in this.$$l)
527
- for (const c of this.$$l[r]) {
528
- const o = this.$$c.$on(r, c);
529
- this.$$l_u.set(c, o);
527
+ for (const l of this.$$l[r]) {
528
+ const c = this.$$c.$on(r, l);
529
+ this.$$l_u.set(l, c);
530
530
  }
531
531
  this.$$l = {};
532
532
  }
@@ -535,8 +535,8 @@ typeof HTMLElement == "function" && (vt = class extends HTMLElement {
535
535
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
536
536
  // and setting attributes through setAttribute etc, this is helpful
537
537
  attributeChangedCallback(t, n, i) {
538
- var l;
539
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Q(t, i, this.$$p_d, "toProp"), (l = this.$$c) == null || l.$set({ [t]: this.$$d[t] }));
538
+ var o;
539
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = K(t, i, this.$$p_d, "toProp"), (o = this.$$c) == null || o.$set({ [t]: this.$$d[t] }));
540
540
  }
541
541
  disconnectedCallback() {
542
542
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -549,13 +549,13 @@ typeof HTMLElement == "function" && (vt = class extends HTMLElement {
549
549
  ) || t;
550
550
  }
551
551
  });
552
- function Q(e, t, n, i) {
552
+ function K(e, t, n, i) {
553
553
  var r;
554
- const l = (r = n[e]) == null ? void 0 : r.type;
555
- if (t = l === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !n[e])
554
+ const o = (r = n[e]) == null ? void 0 : r.type;
555
+ if (t = o === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !n[e])
556
556
  return t;
557
557
  if (i === "toAttribute")
558
- switch (l) {
558
+ switch (o) {
559
559
  case "Object":
560
560
  case "Array":
561
561
  return t == null ? null : JSON.stringify(t);
@@ -567,7 +567,7 @@ function Q(e, t, n, i) {
567
567
  return t;
568
568
  }
569
569
  else
570
- switch (l) {
570
+ switch (o) {
571
571
  case "Object":
572
572
  case "Array":
573
573
  return t && JSON.parse(t);
@@ -579,38 +579,38 @@ function Q(e, t, n, i) {
579
579
  return t;
580
580
  }
581
581
  }
582
- function oe(e, t, n, i, l, r) {
583
- let c = class extends vt {
582
+ function re(e, t, n, i, o, r) {
583
+ let l = class extends vt {
584
584
  constructor() {
585
- super(e, n, l), this.$$p_d = t;
585
+ super(e, n, o), this.$$p_d = t;
586
586
  }
587
587
  static get observedAttributes() {
588
588
  return Object.keys(t).map(
589
- (o) => (t[o].attribute || o).toLowerCase()
589
+ (c) => (t[c].attribute || c).toLowerCase()
590
590
  );
591
591
  }
592
592
  };
593
- return Object.keys(t).forEach((o) => {
594
- Object.defineProperty(c.prototype, o, {
593
+ return Object.keys(t).forEach((c) => {
594
+ Object.defineProperty(l.prototype, c, {
595
595
  get() {
596
- return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
596
+ return this.$$c && c in this.$$c ? this.$$c[c] : this.$$d[c];
597
597
  },
598
598
  set(s) {
599
599
  var a;
600
- s = Q(o, s, t), this.$$d[o] = s, (a = this.$$c) == null || a.$set({ [o]: s });
600
+ s = K(c, s, t), this.$$d[c] = s, (a = this.$$c) == null || a.$set({ [c]: s });
601
601
  }
602
602
  });
603
- }), i.forEach((o) => {
604
- Object.defineProperty(c.prototype, o, {
603
+ }), i.forEach((c) => {
604
+ Object.defineProperty(l.prototype, c, {
605
605
  get() {
606
606
  var s;
607
- return (s = this.$$c) == null ? void 0 : s[o];
607
+ return (s = this.$$c) == null ? void 0 : s[c];
608
608
  }
609
609
  });
610
610
  }), e.element = /** @type {any} */
611
- c, c;
611
+ l, l;
612
612
  }
613
- class le {
613
+ class oe {
614
614
  constructor() {
615
615
  /**
616
616
  * ### PRIVATE API
@@ -631,7 +631,7 @@ class le {
631
631
  }
632
632
  /** @returns {void} */
633
633
  $destroy() {
634
- ie(this, 1), this.$destroy = I;
634
+ ne(this, 1), this.$destroy = T;
635
635
  }
636
636
  /**
637
637
  * @template {Extract<keyof Events, string>} K
@@ -640,12 +640,12 @@ class le {
640
640
  * @returns {() => void}
641
641
  */
642
642
  $on(t, n) {
643
- if (!lt(n))
644
- return I;
643
+ if (!ot(n))
644
+ return T;
645
645
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
646
646
  return i.push(n), () => {
647
- const l = i.indexOf(n);
648
- l !== -1 && i.splice(l, 1);
647
+ const o = i.indexOf(n);
648
+ o !== -1 && i.splice(o, 1);
649
649
  };
650
650
  }
651
651
  /**
@@ -658,21 +658,44 @@ class le {
658
658
  }
659
659
  const ce = "4";
660
660
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ce);
661
- const ae = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", ue = "data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
662
- function fe(e) {
663
- Ot(e, "svelte-1njm5xr", ".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}");
661
+ function le(e, t) {
662
+ if (e) {
663
+ const n = document.createElement("style");
664
+ n.innerHTML = t, e.appendChild(n);
665
+ }
666
+ }
667
+ function ae(e, t) {
668
+ const n = new URL(t);
669
+ fetch(n.href).then((i) => i.text()).then((i) => {
670
+ const o = document.createElement("style");
671
+ o.innerHTML = i, e && e.appendChild(o);
672
+ }).catch((i) => {
673
+ console.error("There was an error while trying to load client styling from URL", i);
674
+ });
675
+ }
676
+ function ue(e, t, n) {
677
+ if (window.emMessageBus) {
678
+ const i = document.createElement("style");
679
+ window.emMessageBus.subscribe(t, (o) => {
680
+ i.innerHTML = o, e && e.appendChild(i);
681
+ });
682
+ }
683
+ }
684
+ const fe = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='4.9999'%20cy='4.9999'%20r='4.9999'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1149)'%3e%3cline%20x1='4.93332'%20y1='4'%20x2='4.93332'%20y2='7.99992'%20stroke='%2359CA00'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%202L7.59699%204.99994H2.40094L4.99896%202Z'%20fill='%2359CA00'%3e%3c/path%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1149'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='translate(1.99902%202)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", he = "data:image/svg+xml,%3csvg%20width='10'%20height='10'%20viewBox='0%200%2010%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20r='4.9999'%20transform='matrix(1%200%200%20-1%204.9999%205.0001)'%20fill='%23434647'/%3e%3cg%20clip-path='url(%23clip0_2591_1154)'%3e%3cline%20y1='-0.933315'%20x2='3.99992'%20y2='-0.933315'%20transform='matrix(0%20-1%20-1%200%204%206)'%20stroke='%23CA0000'%20stroke-width='1.86663'/%3e%3cpath%20d='M4.99896%208L7.59699%205.00006H2.40094L4.99896%208Z'%20fill='%23CA0000'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_1154'%3e%3crect%20width='5.99988'%20height='5.99928'%20fill='white'%20transform='matrix(1%200%200%20-1%201.99902%208)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
685
+ function de(e) {
686
+ jt(e, "svelte-1njm5xr", ".row{display:flex}.row .RankSec,.row .PrizeSec{width:49%}.col{display:inline-block}.RankSec,.PrizeSec{background-color:#c4c4c4;display:flex;padding:5px;margin:5px}.RankSec span,.PrizeSec span{text-align:center}.casino-tournaments-rank{background:transparent;min-height:22px;width:100%}.Icon{width:22px;height:22px;display:flex;border-right:2px solid;margin-right:5px;padding-right:3px}.Icon svg{width:15px;height:15px;margin:auto}.RankInfo{vertical-align:middle;line-height:22px;font-weight:bold;padding-left:5px;padding-right:10px}.svg.Arrow.Up,.svg.Arrow.Down{position:absolute;width:15px;height:15px;vertical-align:bottom;padding-left:3px;display:none;padding:3px;padding:3px}.svg.Arrow.Up.Show,.svg.Arrow.Down.Show{display:inline-flex}.svg.Arrow.Up.Hidden,.svg.Arrow.Down.Hidden{display:none}svg.Arrow.Up,svg.Arrow.Down,.svg.Arrow.Up,.svg.Arrow.Down{animation-name:twinkle;animation-duration:1s;animation-iteration-count:infinite}@keyframes twinkle{0%{opacity:0}25%{opacity:1}100%{opacity:0}}");
664
687
  }
665
688
  function _t(e) {
666
689
  let t;
667
690
  return {
668
691
  c() {
669
- t = z("span"), t.innerHTML = '<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="user" class="svg-inline--fa fa-user" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"></path></svg>', h(t, "class", "Icon UserIcon"), h(t, "part", "Icon UserIcon");
692
+ t = R("span"), t.innerHTML = '<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="user" class="svg-inline--fa fa-user" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M224 256c70.7 0 128-57.31 128-128s-57.3-128-128-128C153.3 0 96 57.31 96 128S153.3 256 224 256zM274.7 304H173.3C77.61 304 0 381.6 0 477.3c0 19.14 15.52 34.67 34.66 34.67h378.7C432.5 512 448 496.5 448 477.3C448 381.6 370.4 304 274.7 304z"></path></svg>', h(t, "class", "Icon UserIcon"), h(t, "part", "Icon UserIcon");
670
693
  },
671
694
  m(n, i) {
672
- tt(n, t, i);
695
+ Y(n, t, i);
673
696
  },
674
697
  d(n) {
675
- n && N(t);
698
+ n && D(t);
676
699
  }
677
700
  };
678
701
  }
@@ -680,167 +703,152 @@ function wt(e) {
680
703
  let t;
681
704
  return {
682
705
  c() {
683
- t = z("span"), t.innerHTML = '<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="award" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" class="svg-inline--fa fa-award fa-w-12 fa-3x"><path fill="currentColor" d="M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z" class=""></path></svg>', h(t, "class", "Icon PrizeIcon"), h(t, "part", "Icon PrizeIcon");
706
+ t = R("span"), t.innerHTML = '<svg width="17" height="17" aria-hidden="true" focusable="false" data-prefix="fas" data-icon="award" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512" class="svg-inline--fa fa-award fa-w-12 fa-3x"><path fill="currentColor" d="M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z" class=""></path></svg>', h(t, "class", "Icon PrizeIcon"), h(t, "part", "Icon PrizeIcon");
684
707
  },
685
708
  m(n, i) {
686
- tt(n, t, i);
709
+ Y(n, t, i);
687
710
  },
688
711
  d(n) {
689
- n && N(t);
712
+ n && D(t);
690
713
  }
691
714
  };
692
715
  }
693
- function he(e) {
694
- let t, n, i, l, r, c, o, s, a, $, d, g, p, f, w, m, C, A, P, y, S, L, k = (
716
+ function ge(e) {
717
+ let t, n, i, o, r, l, c, s, a, $, d, m, w, u, _, g, v, C, L, z, y, P, b = (
695
718
  /*showicon*/
696
719
  e[2] == "true" && _t()
697
- ), b = (
720
+ ), k = (
698
721
  /*showicon*/
699
722
  e[2] == "true" && wt()
700
723
  );
701
724
  return {
702
725
  c() {
703
- t = z("div"), n = z("div"), k && k.c(), i = q(), l = z("span"), r = G(
726
+ t = R("div"), n = R("div"), b && b.c(), i = N(), o = R("span"), r = Z(
704
727
  /*rankprefix*/
705
728
  e[1]
706
- ), c = G(
729
+ ), l = Z(
707
730
  /*rankinfo*/
708
731
  e[7]
709
- ), o = q(), s = z("img"), d = q(), g = z("img"), w = q(), m = z("div"), b && b.c(), C = q(), A = z("span"), P = G(
732
+ ), c = N(), s = R("img"), d = N(), m = R("img"), _ = N(), g = R("div"), k && k.c(), v = N(), C = R("span"), L = Z(
710
733
  /*prize*/
711
734
  e[0]
712
- ), h(s, "part", "Rank_Arror_UP"), h(s, "alt", "Rank Up"), mt(s.src, a = ae) || h(s, "src", a), h(s, "width", "20"), h(s, "height", "20"), h(s, "class", $ = "svg Arrow Up " + /*userRankChanged*/
735
+ ), h(s, "part", "Rank_Arror_UP"), h(s, "alt", "Rank Up"), mt(s.src, a = fe) || h(s, "src", a), h(s, "width", "20"), h(s, "height", "20"), h(s, "class", $ = "svg Arrow Up " + /*userRankChanged*/
713
736
  (e[5] && /*isRankingUp*/
714
- e[6] ? "Show" : "Hidden")), h(g, "part", "Rank_Arror_Down"), h(g, "alt", "Rank Down"), mt(g.src, p = ue) || h(g, "src", p), h(g, "width", "10"), h(g, "height", "10"), h(g, "class", f = "svg Arrow Down " + /*userRankChanged*/
737
+ e[6] ? "Show" : "Hidden")), h(m, "part", "Rank_Arror_Down"), h(m, "alt", "Rank Down"), mt(m.src, w = he) || h(m, "src", w), h(m, "width", "10"), h(m, "height", "10"), h(m, "class", u = "svg Arrow Down " + /*userRankChanged*/
715
738
  (e[5] && !/*isRankingUp*/
716
- e[6] ? "Show" : "Hidden")), h(l, "class", "RankInfo"), h(l, "part", "RankText"), h(n, "class", "RankSec"), h(n, "part", "Rank"), h(A, "class", "RankInfo UserPrize"), h(A, "part", "PrizeText"), h(m, "class", y = /*displayin*/
717
- e[3] + " PrizeSec"), h(m, "part", "Prize"), h(t, "class", S = /*displayin*/
718
- e[3] + " casino-tournaments-rank"), h(t, "part", L = /*displayin*/
739
+ e[6] ? "Show" : "Hidden")), h(o, "class", "RankInfo"), h(o, "part", "RankText"), h(n, "class", "RankSec"), h(n, "part", "Rank"), h(C, "class", "RankInfo UserPrize"), h(C, "part", "PrizeText"), h(g, "class", z = /*displayin*/
740
+ e[3] + " PrizeSec"), h(g, "part", "Prize"), h(t, "class", y = /*displayin*/
741
+ e[3] + " casino-tournaments-rank"), h(t, "part", P = /*displayin*/
719
742
  e[3] + " casino-tournaments-rank");
720
743
  },
721
- m(_, x) {
722
- tt(_, t, x), v(t, n), k && k.m(n, null), v(n, i), v(n, l), v(l, r), v(l, c), v(l, o), v(l, s), v(l, d), v(l, g), v(t, w), v(t, m), b && b.m(m, null), v(m, C), v(m, A), v(A, P), e[14](t);
744
+ m(p, A) {
745
+ Y(p, t, A), x(t, n), b && b.m(n, null), x(n, i), x(n, o), x(o, r), x(o, l), x(o, c), x(o, s), x(o, d), x(o, m), x(t, _), x(t, g), k && k.m(g, null), x(g, v), x(g, C), x(C, L), e[15](t);
723
746
  },
724
- p(_, [x]) {
747
+ p(p, [A]) {
725
748
  /*showicon*/
726
- _[2] == "true" ? k || (k = _t(), k.c(), k.m(n, i)) : k && (k.d(1), k = null), x & /*rankprefix*/
727
- 2 && nt(
749
+ p[2] == "true" ? b || (b = _t(), b.c(), b.m(n, i)) : b && (b.d(1), b = null), A & /*rankprefix*/
750
+ 2 && et(
728
751
  r,
729
752
  /*rankprefix*/
730
- _[1]
731
- ), x & /*rankinfo*/
732
- 128 && nt(
733
- c,
753
+ p[1]
754
+ ), A & /*rankinfo*/
755
+ 128 && et(
756
+ l,
734
757
  /*rankinfo*/
735
- _[7]
736
- ), x & /*userRankChanged, isRankingUp*/
758
+ p[7]
759
+ ), A & /*userRankChanged, isRankingUp*/
737
760
  96 && $ !== ($ = "svg Arrow Up " + /*userRankChanged*/
738
- (_[5] && /*isRankingUp*/
739
- _[6] ? "Show" : "Hidden")) && h(s, "class", $), x & /*userRankChanged, isRankingUp*/
740
- 96 && f !== (f = "svg Arrow Down " + /*userRankChanged*/
741
- (_[5] && !/*isRankingUp*/
742
- _[6] ? "Show" : "Hidden")) && h(g, "class", f), /*showicon*/
743
- _[2] == "true" ? b || (b = wt(), b.c(), b.m(m, C)) : b && (b.d(1), b = null), x & /*prize*/
744
- 1 && nt(
745
- P,
761
+ (p[5] && /*isRankingUp*/
762
+ p[6] ? "Show" : "Hidden")) && h(s, "class", $), A & /*userRankChanged, isRankingUp*/
763
+ 96 && u !== (u = "svg Arrow Down " + /*userRankChanged*/
764
+ (p[5] && !/*isRankingUp*/
765
+ p[6] ? "Show" : "Hidden")) && h(m, "class", u), /*showicon*/
766
+ p[2] == "true" ? k || (k = wt(), k.c(), k.m(g, v)) : k && (k.d(1), k = null), A & /*prize*/
767
+ 1 && et(
768
+ L,
746
769
  /*prize*/
747
- _[0]
748
- ), x & /*displayin*/
770
+ p[0]
771
+ ), A & /*displayin*/
772
+ 8 && z !== (z = /*displayin*/
773
+ p[3] + " PrizeSec") && h(g, "class", z), A & /*displayin*/
749
774
  8 && y !== (y = /*displayin*/
750
- _[3] + " PrizeSec") && h(m, "class", y), x & /*displayin*/
751
- 8 && S !== (S = /*displayin*/
752
- _[3] + " casino-tournaments-rank") && h(t, "class", S), x & /*displayin*/
753
- 8 && L !== (L = /*displayin*/
754
- _[3] + " casino-tournaments-rank") && h(t, "part", L);
775
+ p[3] + " casino-tournaments-rank") && h(t, "class", y), A & /*displayin*/
776
+ 8 && P !== (P = /*displayin*/
777
+ p[3] + " casino-tournaments-rank") && h(t, "part", P);
755
778
  },
756
- i: I,
757
- o: I,
758
- d(_) {
759
- _ && N(t), k && k.d(), b && b.d(), e[14](null);
779
+ i: T,
780
+ o: T,
781
+ d(p) {
782
+ p && D(t), b && b.d(), k && k.d(), e[15](null);
760
783
  }
761
784
  };
762
785
  }
763
- function de(e, t, n) {
764
- let { rankprefix: i = "#" } = t, { showicon: l = "true" } = t, { tournamentid: r = "" } = t, { overallrank: c = "0" } = t, { showoverallrank: o = "true" } = t, { userrank: s = "0" } = t, { prize: a = "PrizeName" } = t, { displayin: $ = "row" } = t, { clientstyling: d = "" } = t, { clientstylingurl: g = "" } = t, p, f, w = !1, m = !0, C, A, P, y, S = "";
765
- const L = (u) => {
766
- u.data && u.data.type == `TournamentRankInfo_${r}` && (k(u.data.rankInfo), x());
767
- }, k = (u) => {
768
- let B = (M) => {
769
- n(9, s = M.rank), n(8, c = M.overallRank), n(0, a = M.prize);
786
+ function me(e, t, n) {
787
+ let { rankprefix: i = "#" } = t, { showicon: o = "true" } = t, { tournamentid: r = "" } = t, { overallrank: l = "0" } = t, { showoverallrank: c = "true" } = t, { userrank: s = "0" } = t, { prize: a = "PrizeName" } = t, { mbsource: $ } = t, { displayin: d = "row" } = t, { clientstyling: m = "" } = t, { clientstylingurl: w = "" } = t, u, _, g = !1, v = !0, C, L, z, y, P = "";
788
+ const b = (f) => {
789
+ f.data && f.data.type == `TournamentRankInfo_${r}` && (k(f.data.rankInfo), p());
790
+ }, k = (f) => {
791
+ let at = (J) => {
792
+ n(9, s = J.rank), n(8, l = J.overallRank), n(0, a = J.prize);
770
793
  };
771
794
  if (!y) {
772
- y = f, B(u);
795
+ y = _, at(f);
773
796
  return;
774
797
  }
775
- f && (n(5, w = y != u.rank), n(6, m = y > u.rank), C = (/* @__PURE__ */ new Date()).getTime(), P = setTimeout(
798
+ _ && (n(5, g = y != f.rank), n(6, v = y > f.rank), C = (/* @__PURE__ */ new Date()).getTime(), z = setTimeout(
776
799
  () => {
777
- A = (/* @__PURE__ */ new Date()).getTime(), (A - C) / 1e3 > 4 && n(5, w = !1), y = f;
800
+ L = (/* @__PURE__ */ new Date()).getTime(), (L - C) / 1e3 > 4 && n(5, g = !1), y = _;
778
801
  },
779
802
  5e3
780
- ), B(u));
781
- }, b = () => {
782
- let u = document.createElement("style");
783
- u.innerHTML = d, p.appendChild(u);
784
- }, _ = () => {
785
- let u = new URL(g), B = document.createElement("style");
786
- fetch(u.href).then((M) => M.text()).then((M) => {
787
- B.innerHTML = M, setTimeout(
788
- () => {
789
- p.appendChild(B);
790
- },
791
- 1
792
- ), setTimeout(
793
- () => {
794
- },
795
- 500
796
- );
797
- });
798
- }, x = () => {
799
- n(7, S = o == "true" ? `${+s == 0 ? "-" : s || "-"}/${+c == 0 ? "-" : c}` : s);
803
+ ), at(f));
804
+ }, p = () => {
805
+ n(7, P = c == "true" ? `${+s == 0 ? "-" : s || "-"}/${+l == 0 ? "-" : l}` : s);
800
806
  };
801
- Gt(() => (f = s == null ? void 0 : parseInt(s), y = f, n(9, s = s == null ? "-" : s), window.addEventListener("message", L, !0), x(), () => {
802
- window.removeEventListener("message", L), clearTimeout(P);
807
+ Zt(() => (_ = s == null ? void 0 : parseInt(s), y = _, n(9, s = s == null ? "-" : s), window.addEventListener("message", b, !0), p(), () => {
808
+ window.removeEventListener("message", b), clearTimeout(z);
803
809
  }));
804
- function At(u) {
805
- rt[u ? "unshift" : "push"](() => {
806
- p = u, n(4, p);
810
+ function A(f) {
811
+ st[f ? "unshift" : "push"](() => {
812
+ u = f, n(4, u);
807
813
  });
808
814
  }
809
- return e.$$set = (u) => {
810
- "rankprefix" in u && n(1, i = u.rankprefix), "showicon" in u && n(2, l = u.showicon), "tournamentid" in u && n(10, r = u.tournamentid), "overallrank" in u && n(8, c = u.overallrank), "showoverallrank" in u && n(11, o = u.showoverallrank), "userrank" in u && n(9, s = u.userrank), "prize" in u && n(0, a = u.prize), "displayin" in u && n(3, $ = u.displayin), "clientstyling" in u && n(12, d = u.clientstyling), "clientstylingurl" in u && n(13, g = u.clientstylingurl);
815
+ return e.$$set = (f) => {
816
+ "rankprefix" in f && n(1, i = f.rankprefix), "showicon" in f && n(2, o = f.showicon), "tournamentid" in f && n(10, r = f.tournamentid), "overallrank" in f && n(8, l = f.overallrank), "showoverallrank" in f && n(11, c = f.showoverallrank), "userrank" in f && n(9, s = f.userrank), "prize" in f && n(0, a = f.prize), "mbsource" in f && n(12, $ = f.mbsource), "displayin" in f && n(3, d = f.displayin), "clientstyling" in f && n(13, m = f.clientstyling), "clientstylingurl" in f && n(14, w = f.clientstylingurl);
811
817
  }, e.$$.update = () => {
812
- e.$$.dirty & /*customStylingContainer, clientstyling*/
813
- 4112 && p && d && b(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
814
- 8208 && p && g && _(), e.$$.dirty & /*userrank*/
815
- 512 && (f = parseInt(s)), e.$$.dirty & /*userrank*/
816
- 512 && s && x(), e.$$.dirty & /*overallrank*/
817
- 256 && c && x();
818
+ e.$$.dirty & /*clientstyling, customStylingContainer*/
819
+ 8208 && m && u && le(u, m), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
820
+ 16400 && w && u && ae(u, w), e.$$.dirty & /*mbsource, customStylingContainer*/
821
+ 4112 && $ && u && ue(u, `${$}.Style`), e.$$.dirty & /*userrank*/
822
+ 512 && (_ = parseInt(s)), e.$$.dirty & /*userrank*/
823
+ 512 && s && p(), e.$$.dirty & /*overallrank*/
824
+ 256 && l && p();
818
825
  }, [
819
826
  a,
820
827
  i,
821
- l,
822
- $,
823
- p,
824
- w,
825
- m,
826
- S,
827
- c,
828
- s,
829
- r,
830
828
  o,
831
829
  d,
830
+ u,
832
831
  g,
833
- At
832
+ v,
833
+ P,
834
+ l,
835
+ s,
836
+ r,
837
+ c,
838
+ $,
839
+ m,
840
+ w,
841
+ A
834
842
  ];
835
843
  }
836
- class Ct extends le {
844
+ class St extends oe {
837
845
  constructor(t) {
838
- super(), re(
846
+ super(), se(
839
847
  this,
840
848
  t,
841
- de,
842
- he,
843
- Tt,
849
+ me,
850
+ ge,
851
+ Pt,
844
852
  {
845
853
  rankprefix: 1,
846
854
  showicon: 2,
@@ -849,114 +857,124 @@ class Ct extends le {
849
857
  showoverallrank: 11,
850
858
  userrank: 9,
851
859
  prize: 0,
860
+ mbsource: 12,
852
861
  displayin: 3,
853
- clientstyling: 12,
854
- clientstylingurl: 13
862
+ clientstyling: 13,
863
+ clientstylingurl: 14
855
864
  },
856
- fe
865
+ de
857
866
  );
858
867
  }
859
868
  get rankprefix() {
860
869
  return this.$$.ctx[1];
861
870
  }
862
871
  set rankprefix(t) {
863
- this.$$set({ rankprefix: t }), R();
872
+ this.$$set({ rankprefix: t }), S();
864
873
  }
865
874
  get showicon() {
866
875
  return this.$$.ctx[2];
867
876
  }
868
877
  set showicon(t) {
869
- this.$$set({ showicon: t }), R();
878
+ this.$$set({ showicon: t }), S();
870
879
  }
871
880
  get tournamentid() {
872
881
  return this.$$.ctx[10];
873
882
  }
874
883
  set tournamentid(t) {
875
- this.$$set({ tournamentid: t }), R();
884
+ this.$$set({ tournamentid: t }), S();
876
885
  }
877
886
  get overallrank() {
878
887
  return this.$$.ctx[8];
879
888
  }
880
889
  set overallrank(t) {
881
- this.$$set({ overallrank: t }), R();
890
+ this.$$set({ overallrank: t }), S();
882
891
  }
883
892
  get showoverallrank() {
884
893
  return this.$$.ctx[11];
885
894
  }
886
895
  set showoverallrank(t) {
887
- this.$$set({ showoverallrank: t }), R();
896
+ this.$$set({ showoverallrank: t }), S();
888
897
  }
889
898
  get userrank() {
890
899
  return this.$$.ctx[9];
891
900
  }
892
901
  set userrank(t) {
893
- this.$$set({ userrank: t }), R();
902
+ this.$$set({ userrank: t }), S();
894
903
  }
895
904
  get prize() {
896
905
  return this.$$.ctx[0];
897
906
  }
898
907
  set prize(t) {
899
- this.$$set({ prize: t }), R();
908
+ this.$$set({ prize: t }), S();
909
+ }
910
+ get mbsource() {
911
+ return this.$$.ctx[12];
912
+ }
913
+ set mbsource(t) {
914
+ this.$$set({ mbsource: t }), S();
900
915
  }
901
916
  get displayin() {
902
917
  return this.$$.ctx[3];
903
918
  }
904
919
  set displayin(t) {
905
- this.$$set({ displayin: t }), R();
920
+ this.$$set({ displayin: t }), S();
906
921
  }
907
922
  get clientstyling() {
908
- return this.$$.ctx[12];
923
+ return this.$$.ctx[13];
909
924
  }
910
925
  set clientstyling(t) {
911
- this.$$set({ clientstyling: t }), R();
926
+ this.$$set({ clientstyling: t }), S();
912
927
  }
913
928
  get clientstylingurl() {
914
- return this.$$.ctx[13];
929
+ return this.$$.ctx[14];
915
930
  }
916
931
  set clientstylingurl(t) {
917
- this.$$set({ clientstylingurl: t }), R();
932
+ this.$$set({ clientstylingurl: t }), S();
918
933
  }
919
934
  }
920
- oe(Ct, { rankprefix: {}, showicon: {}, tournamentid: {}, overallrank: {}, showoverallrank: {}, userrank: {}, prize: {}, displayin: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
921
- const Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
935
+ re(St, { rankprefix: {}, showicon: {}, tournamentid: {}, overallrank: {}, showoverallrank: {}, userrank: {}, prize: {}, mbsource: {}, displayin: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
936
+ const Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
922
937
  __proto__: null,
923
- default: Ct
938
+ default: St
924
939
  }, Symbol.toStringTag, { value: "Module" }));
925
940
  export {
926
- ke as A,
927
- nt as B,
928
- Ae as C,
929
- Y as D,
930
- Ce as E,
931
- $e as F,
932
- be as G,
933
- rt as H,
934
- Se as I,
935
- le as S,
941
+ Z as A,
942
+ xe as B,
943
+ Ee as C,
944
+ _e as D,
945
+ Ae as E,
946
+ X as F,
947
+ st as G,
948
+ ve as H,
949
+ le as I,
950
+ ae as J,
951
+ ue as K,
952
+ Re as L,
953
+ oe as S,
936
954
  Tt as a,
937
- lt as b,
938
- re as c,
939
- oe as d,
940
- Ot as e,
941
- R as f,
942
- z as g,
943
- pe as h,
955
+ ot as b,
956
+ se as c,
957
+ re as d,
958
+ jt as e,
959
+ S as f,
960
+ D as g,
961
+ Yt as h,
944
962
  Lt as i,
945
- q as j,
946
- h as k,
947
- tt as l,
948
- v as m,
949
- I as n,
950
- _e as o,
951
- ve as p,
952
- xe as q,
953
- D as r,
954
- It as s,
955
- te as t,
963
+ h as j,
964
+ Se as k,
965
+ Y as l,
966
+ x as m,
967
+ T as n,
968
+ ye as o,
969
+ R as p,
970
+ we as q,
971
+ O as r,
972
+ Pt as s,
973
+ Ce as t,
956
974
  N as u,
957
- me as v,
958
- Gt as w,
959
- ye as x,
960
- G as y,
961
- we as z
975
+ pe as v,
976
+ Zt as w,
977
+ ke as x,
978
+ et as y,
979
+ be as z
962
980
  };