@everymatrix/casino-tournaments-slider-controller 1.67.0 → 1.68.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,6 +1,6 @@
1
1
  function M() {
2
2
  }
3
- const kt = (t) => t;
3
+ const yt = (t) => t;
4
4
  function gt(t) {
5
5
  return t();
6
6
  }
@@ -10,20 +10,20 @@ function at() {
10
10
  function H(t) {
11
11
  t.forEach(gt);
12
12
  }
13
- function rt(t) {
13
+ function st(t) {
14
14
  return typeof t == "function";
15
15
  }
16
16
  function bt(t, e) {
17
17
  return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
18
18
  }
19
- let V;
20
- function ct(t, e) {
21
- return t === e ? !0 : (V || (V = document.createElement("a")), V.href = e, t === V.href);
19
+ let J;
20
+ function lt(t, e) {
21
+ return t === e ? !0 : (J || (J = document.createElement("a")), J.href = e, t === J.href);
22
22
  }
23
- function xt(t) {
23
+ function kt(t) {
24
24
  return Object.keys(t).length === 0;
25
25
  }
26
- function vt(t, ...e) {
26
+ function xt(t, ...e) {
27
27
  if (t == null) {
28
28
  for (const i of e)
29
29
  i(void 0);
@@ -32,39 +32,39 @@ function vt(t, ...e) {
32
32
  const n = t.subscribe(...e);
33
33
  return n.unsubscribe ? () => n.unsubscribe() : n;
34
34
  }
35
- function ie(t, e, n) {
36
- t.$$.on_destroy.push(vt(e, n));
35
+ function re(t, e, n) {
36
+ t.$$.on_destroy.push(xt(e, n));
37
37
  }
38
38
  const mt = typeof window < "u";
39
- let Ct = mt ? () => window.performance.now() : () => Date.now(), ot = mt ? (t) => requestAnimationFrame(t) : M;
40
- const j = /* @__PURE__ */ new Set();
39
+ let vt = mt ? () => window.performance.now() : () => Date.now(), rt = mt ? (t) => requestAnimationFrame(t) : M;
40
+ const I = /* @__PURE__ */ new Set();
41
41
  function _t(t) {
42
- j.forEach((e) => {
43
- e.c(t) || (j.delete(e), e.f());
44
- }), j.size !== 0 && ot(_t);
42
+ I.forEach((e) => {
43
+ e.c(t) || (I.delete(e), e.f());
44
+ }), I.size !== 0 && rt(_t);
45
45
  }
46
- function At(t) {
46
+ function St(t) {
47
47
  let e;
48
- return j.size === 0 && ot(_t), {
48
+ return I.size === 0 && rt(_t), {
49
49
  promise: new Promise((n) => {
50
- j.add(e = { c: t, f: n });
50
+ I.add(e = { c: t, f: n });
51
51
  }),
52
52
  abort() {
53
- j.delete(e);
53
+ I.delete(e);
54
54
  }
55
55
  };
56
56
  }
57
- function v(t, e) {
57
+ function x(t, e) {
58
58
  t.appendChild(e);
59
59
  }
60
- function St(t, e, n) {
61
- const i = lt(t);
60
+ function Ct(t, e, n) {
61
+ const i = ot(t);
62
62
  if (!i.getElementById(e)) {
63
- const s = R("style");
63
+ const s = E("style");
64
64
  s.id = e, s.textContent = n, $t(i, s);
65
65
  }
66
66
  }
67
- function lt(t) {
67
+ function ot(t) {
68
68
  if (!t)
69
69
  return document;
70
70
  const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
@@ -74,40 +74,40 @@ function lt(t) {
74
74
  e
75
75
  ) : t.ownerDocument;
76
76
  }
77
- function Et(t) {
78
- const e = R("style");
79
- return e.textContent = "/* empty */", $t(lt(t), e), e.sheet;
77
+ function At(t) {
78
+ const e = E("style");
79
+ return e.textContent = "/* empty */", $t(ot(t), e), e.sheet;
80
80
  }
81
81
  function $t(t, e) {
82
- return v(
82
+ return x(
83
83
  /** @type {Document} */
84
84
  t.head || t,
85
85
  e
86
86
  ), e.sheet;
87
87
  }
88
- function Y(t, e, n) {
88
+ function X(t, e, n) {
89
89
  t.insertBefore(e, n || null);
90
90
  }
91
- function D(t) {
91
+ function O(t) {
92
92
  t.parentNode && t.parentNode.removeChild(t);
93
93
  }
94
- function se(t, e) {
94
+ function oe(t, e) {
95
95
  for (let n = 0; n < t.length; n += 1)
96
96
  t[n] && t[n].d(e);
97
97
  }
98
- function R(t) {
98
+ function E(t) {
99
99
  return document.createElement(t);
100
100
  }
101
- function re(t) {
101
+ function ce(t) {
102
102
  return document.createElementNS("http://www.w3.org/2000/svg", t);
103
103
  }
104
- function Z(t) {
104
+ function V(t) {
105
105
  return document.createTextNode(t);
106
106
  }
107
- function B() {
108
- return Z(" ");
107
+ function D() {
108
+ return V(" ");
109
109
  }
110
- function oe(t, e, n, i) {
110
+ function ae(t, e, n, i) {
111
111
  return t.addEventListener(e, n, i), () => t.removeEventListener(e, n, i);
112
112
  }
113
113
  function h(t, e, n) {
@@ -117,23 +117,23 @@ function le(t, e, n) {
117
117
  const i = e.toLowerCase();
118
118
  i in t ? t[i] = typeof t[i] == "boolean" && n === "" ? !0 : n : e in t ? t[e] = typeof t[e] == "boolean" && n === "" ? !0 : n : h(t, e, n);
119
119
  }
120
- function ae(t, e, n) {
120
+ function ue(t, e, n) {
121
121
  t.setAttributeNS("http://www.w3.org/1999/xlink", e, n);
122
122
  }
123
- function Rt(t) {
123
+ function Et(t) {
124
124
  return Array.from(t.childNodes);
125
125
  }
126
- function tt(t, e) {
126
+ function Y(t, e) {
127
127
  e = "" + e, t.data !== e && (t.data = /** @type {string} */
128
128
  e);
129
129
  }
130
- function ce(t, e, n, i) {
130
+ function fe(t, e, n, i) {
131
131
  t.style.setProperty(e, n, "");
132
132
  }
133
- function zt(t, e, { bubbles: n = !1, cancelable: i = !1 } = {}) {
133
+ function Rt(t, e, { bubbles: n = !1, cancelable: i = !1 } = {}) {
134
134
  return new CustomEvent(t, { detail: e, bubbles: n, cancelable: i });
135
135
  }
136
- function Pt(t) {
136
+ function zt(t) {
137
137
  const e = {};
138
138
  return t.childNodes.forEach(
139
139
  /** @param {Element} node */
@@ -142,232 +142,232 @@ function Pt(t) {
142
142
  }
143
143
  ), e;
144
144
  }
145
- const Q = /* @__PURE__ */ new Map();
146
- let W = 0;
145
+ const K = /* @__PURE__ */ new Map();
146
+ let Q = 0;
147
147
  function Lt(t) {
148
148
  let e = 5381, n = t.length;
149
149
  for (; n--; )
150
150
  e = (e << 5) - e ^ t.charCodeAt(n);
151
151
  return e >>> 0;
152
152
  }
153
- function Tt(t, e) {
154
- const n = { stylesheet: Et(e), rules: {} };
155
- return Q.set(t, n), n;
153
+ function Pt(t, e) {
154
+ const n = { stylesheet: At(e), rules: {} };
155
+ return K.set(t, n), n;
156
156
  }
157
- function ut(t, e, n, i, s, l, c, o = 0) {
157
+ function ut(t, e, n, i, s, c, l, o = 0) {
158
158
  const r = 16.666 / i;
159
159
  let f = `{
160
160
  `;
161
- for (let m = 0; m <= 1; m += r) {
162
- const C = e + (n - e) * l(m);
163
- f += m * 100 + `%{${c(C, 1 - C)}}
161
+ for (let g = 0; g <= 1; g += r) {
162
+ const v = e + (n - e) * c(g);
163
+ f += g * 100 + `%{${l(v, 1 - v)}}
164
164
  `;
165
165
  }
166
- const p = f + `100% {${c(n, 1 - n)}}
167
- }`, d = `__svelte_${Lt(p)}_${o}`, g = lt(t), { stylesheet: _, rules: u } = Q.get(g) || Tt(g, t);
168
- u[d] || (u[d] = !0, _.insertRule(`@keyframes ${d} ${p}`, _.cssRules.length));
169
- const w = t.style.animation || "";
170
- return t.style.animation = `${w ? `${w}, ` : ""}${d} ${i}ms linear ${s}ms 1 both`, W += 1, d;
166
+ const p = f + `100% {${l(n, 1 - n)}}
167
+ }`, d = `__svelte_${Lt(p)}_${o}`, m = ot(t), { stylesheet: w, rules: a } = K.get(m) || Pt(m, t);
168
+ a[d] || (a[d] = !0, w.insertRule(`@keyframes ${d} ${p}`, w.cssRules.length));
169
+ const $ = t.style.animation || "";
170
+ return t.style.animation = `${$ ? `${$}, ` : ""}${d} ${i}ms linear ${s}ms 1 both`, Q += 1, d;
171
171
  }
172
172
  function Mt(t, e) {
173
173
  const n = (t.style.animation || "").split(", "), i = n.filter(
174
- e ? (l) => l.indexOf(e) < 0 : (l) => l.indexOf("__svelte") === -1
174
+ e ? (c) => c.indexOf(e) < 0 : (c) => c.indexOf("__svelte") === -1
175
175
  // remove all Svelte animations
176
176
  ), s = n.length - i.length;
177
- s && (t.style.animation = i.join(", "), W -= s, W || It());
177
+ s && (t.style.animation = i.join(", "), Q -= s, Q || Tt());
178
178
  }
179
- function It() {
180
- ot(() => {
181
- W || (Q.forEach((t) => {
179
+ function Tt() {
180
+ rt(() => {
181
+ Q || (K.forEach((t) => {
182
182
  const { ownerNode: e } = t.stylesheet;
183
- e && D(e);
184
- }), Q.clear());
183
+ e && O(e);
184
+ }), K.clear());
185
185
  });
186
186
  }
187
- let J;
188
- function F(t) {
189
- J = t;
187
+ let q;
188
+ function B(t) {
189
+ q = t;
190
190
  }
191
191
  function Ut() {
192
- if (!J)
192
+ if (!q)
193
193
  throw new Error("Function called outside component initialization");
194
- return J;
194
+ return q;
195
195
  }
196
- function jt(t) {
196
+ function It(t) {
197
197
  Ut().$$.on_mount.push(t);
198
198
  }
199
- const U = [], it = [];
200
- let O = [];
201
- const ft = [], Ot = /* @__PURE__ */ Promise.resolve();
202
- let st = !1;
199
+ const U = [], nt = [];
200
+ let j = [];
201
+ const ft = [], jt = /* @__PURE__ */ Promise.resolve();
202
+ let it = !1;
203
203
  function Ht() {
204
- st || (st = !0, Ot.then(E));
204
+ it || (it = !0, jt.then(S));
205
205
  }
206
- function X(t) {
207
- O.push(t);
206
+ function W(t) {
207
+ j.push(t);
208
208
  }
209
- const et = /* @__PURE__ */ new Set();
210
- let I = 0;
211
- function E() {
212
- if (I !== 0)
209
+ const tt = /* @__PURE__ */ new Set();
210
+ let T = 0;
211
+ function S() {
212
+ if (T !== 0)
213
213
  return;
214
- const t = J;
214
+ const t = q;
215
215
  do {
216
216
  try {
217
- for (; I < U.length; ) {
218
- const e = U[I];
219
- I++, F(e), Dt(e.$$);
217
+ for (; T < U.length; ) {
218
+ const e = U[T];
219
+ T++, B(e), Ot(e.$$);
220
220
  }
221
221
  } catch (e) {
222
- throw U.length = 0, I = 0, e;
222
+ throw U.length = 0, T = 0, e;
223
223
  }
224
- for (F(null), U.length = 0, I = 0; it.length; )
225
- it.pop()();
226
- for (let e = 0; e < O.length; e += 1) {
227
- const n = O[e];
228
- et.has(n) || (et.add(n), n());
224
+ for (B(null), U.length = 0, T = 0; nt.length; )
225
+ nt.pop()();
226
+ for (let e = 0; e < j.length; e += 1) {
227
+ const n = j[e];
228
+ tt.has(n) || (tt.add(n), n());
229
229
  }
230
- O.length = 0;
230
+ j.length = 0;
231
231
  } while (U.length);
232
232
  for (; ft.length; )
233
233
  ft.pop()();
234
- st = !1, et.clear(), F(t);
234
+ it = !1, tt.clear(), B(t);
235
235
  }
236
- function Dt(t) {
236
+ function Ot(t) {
237
237
  if (t.fragment !== null) {
238
238
  t.update(), H(t.before_update);
239
239
  const e = t.dirty;
240
- t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(X);
240
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(W);
241
241
  }
242
242
  }
243
- function Nt(t) {
243
+ function Dt(t) {
244
244
  const e = [], n = [];
245
- O.forEach((i) => t.indexOf(i) === -1 ? e.push(i) : n.push(i)), n.forEach((i) => i()), O = e;
245
+ j.forEach((i) => t.indexOf(i) === -1 ? e.push(i) : n.push(i)), n.forEach((i) => i()), j = e;
246
246
  }
247
- let q;
248
- function Bt() {
249
- return q || (q = Promise.resolve(), q.then(() => {
250
- q = null;
251
- })), q;
252
- }
253
- function nt(t, e, n) {
254
- t.dispatchEvent(zt(`${e ? "intro" : "outro"}${n}`));
255
- }
256
- const G = /* @__PURE__ */ new Set();
257
- let L;
258
- function ue() {
259
- L = {
247
+ let N;
248
+ function Nt() {
249
+ return N || (N = Promise.resolve(), N.then(() => {
250
+ N = null;
251
+ })), N;
252
+ }
253
+ function et(t, e, n) {
254
+ t.dispatchEvent(Rt(`${e ? "intro" : "outro"}${n}`));
255
+ }
256
+ const Z = /* @__PURE__ */ new Set();
257
+ let P;
258
+ function he() {
259
+ P = {
260
260
  r: 0,
261
261
  c: [],
262
- p: L
262
+ p: P
263
263
  // parent group
264
264
  };
265
265
  }
266
- function fe() {
267
- L.r || H(L.c), L = L.p;
266
+ function de() {
267
+ P.r || H(P.c), P = P.p;
268
268
  }
269
- function qt(t, e) {
270
- t && t.i && (G.delete(t), t.i(e));
269
+ function Bt(t, e) {
270
+ t && t.i && (Z.delete(t), t.i(e));
271
271
  }
272
- function he(t, e, n, i) {
272
+ function ge(t, e, n, i) {
273
273
  if (t && t.o) {
274
- if (G.has(t))
274
+ if (Z.has(t))
275
275
  return;
276
- G.add(t), L.c.push(() => {
277
- G.delete(t), i && (n && t.d(1), i());
276
+ Z.add(t), P.c.push(() => {
277
+ Z.delete(t), i && (n && t.d(1), i());
278
278
  }), t.o(e);
279
279
  } else
280
280
  i && i();
281
281
  }
282
- const Ft = { duration: 0 };
283
- function de(t, e, n, i) {
284
- let l = e(t, n, { direction: "both" }), c = i ? 0 : 1, o = null, r = null, f = null, p;
282
+ const qt = { duration: 0 };
283
+ function me(t, e, n, i) {
284
+ let c = e(t, n, { direction: "both" }), l = i ? 0 : 1, o = null, r = null, f = null, p;
285
285
  function d() {
286
286
  f && Mt(t, f);
287
287
  }
288
- function g(u, w) {
289
- const m = (
288
+ function m(a, $) {
289
+ const g = (
290
290
  /** @type {Program['d']} */
291
- u.b - c
291
+ a.b - l
292
292
  );
293
- return w *= Math.abs(m), {
294
- a: c,
295
- b: u.b,
296
- d: m,
297
- duration: w,
298
- start: u.start,
299
- end: u.start + w,
300
- group: u.group
293
+ return $ *= Math.abs(g), {
294
+ a: l,
295
+ b: a.b,
296
+ d: g,
297
+ duration: $,
298
+ start: a.start,
299
+ end: a.start + $,
300
+ group: a.group
301
301
  };
302
302
  }
303
- function _(u) {
303
+ function w(a) {
304
304
  const {
305
- delay: w = 0,
306
- duration: m = 300,
307
- easing: C = kt,
308
- tick: A = M,
305
+ delay: $ = 0,
306
+ duration: g = 300,
307
+ easing: v = yt,
308
+ tick: C = M,
309
309
  css: z
310
- } = l || Ft, y = {
311
- start: Ct() + w,
312
- b: u
310
+ } = c || qt, R = {
311
+ start: vt() + $,
312
+ b: a
313
313
  };
314
- u || (y.group = L, L.r += 1), "inert" in t && (u ? p !== void 0 && (t.inert = p) : (p = /** @type {HTMLElement} */
315
- t.inert, t.inert = !0)), o || r ? r = y : (z && (d(), f = ut(t, c, u, m, w, C, z)), u && A(0, 1), o = g(y, m), X(() => nt(t, u, "start")), At((S) => {
316
- if (r && S > r.start && (o = g(r, m), r = null, nt(t, o.b, "start"), z && (d(), f = ut(
314
+ a || (R.group = P, P.r += 1), "inert" in t && (a ? p !== void 0 && (t.inert = p) : (p = /** @type {HTMLElement} */
315
+ t.inert, t.inert = !0)), o || r ? r = R : (z && (d(), f = ut(t, l, a, g, $, v, z)), a && C(0, 1), o = m(R, g), W(() => et(t, a, "start")), St((y) => {
316
+ if (r && y > r.start && (o = m(r, g), r = null, et(t, o.b, "start"), z && (d(), f = ut(
317
317
  t,
318
- c,
318
+ l,
319
319
  o.b,
320
320
  o.duration,
321
321
  0,
322
- C,
323
- l.css
322
+ v,
323
+ c.css
324
324
  ))), o) {
325
- if (S >= o.end)
326
- A(c = o.b, 1 - c), nt(t, o.b, "end"), r || (o.b ? d() : --o.group.r || H(o.group.c)), o = null;
327
- else if (S >= o.start) {
328
- const P = S - o.start;
329
- c = o.a + o.d * C(P / o.duration), A(c, 1 - c);
325
+ if (y >= o.end)
326
+ C(l = o.b, 1 - l), et(t, o.b, "end"), r || (o.b ? d() : --o.group.r || H(o.group.c)), o = null;
327
+ else if (y >= o.start) {
328
+ const L = y - o.start;
329
+ l = o.a + o.d * v(L / o.duration), C(l, 1 - l);
330
330
  }
331
331
  }
332
332
  return !!(o || r);
333
333
  }));
334
334
  }
335
335
  return {
336
- run(u) {
337
- rt(l) ? Bt().then(() => {
338
- l = l({ direction: u ? "in" : "out" }), _(u);
339
- }) : _(u);
336
+ run(a) {
337
+ st(c) ? Nt().then(() => {
338
+ c = c({ direction: a ? "in" : "out" }), w(a);
339
+ }) : w(a);
340
340
  },
341
341
  end() {
342
342
  d(), o = r = null;
343
343
  }
344
344
  };
345
345
  }
346
- function ge(t) {
346
+ function _e(t) {
347
347
  return t?.length !== void 0 ? t : Array.from(t);
348
348
  }
349
- function Jt(t, e, n) {
349
+ function Ft(t, e, n) {
350
350
  const { fragment: i, after_update: s } = t.$$;
351
- i && i.m(e, n), X(() => {
352
- const l = t.$$.on_mount.map(gt).filter(rt);
353
- t.$$.on_destroy ? t.$$.on_destroy.push(...l) : H(l), t.$$.on_mount = [];
354
- }), s.forEach(X);
351
+ i && i.m(e, n), W(() => {
352
+ const c = t.$$.on_mount.map(gt).filter(st);
353
+ t.$$.on_destroy ? t.$$.on_destroy.push(...c) : H(c), t.$$.on_mount = [];
354
+ }), s.forEach(W);
355
355
  }
356
- function Vt(t, e) {
356
+ function Jt(t, e) {
357
357
  const n = t.$$;
358
- n.fragment !== null && (Nt(n.after_update), H(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
358
+ n.fragment !== null && (Dt(n.after_update), H(n.on_destroy), n.fragment && n.fragment.d(e), n.on_destroy = n.fragment = null, n.ctx = []);
359
359
  }
360
- function Zt(t, e) {
360
+ function Vt(t, e) {
361
361
  t.$$.dirty[0] === -1 && (U.push(t), Ht(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
362
362
  }
363
- function Gt(t, e, n, i, s, l, c = null, o = [-1]) {
364
- const r = J;
365
- F(t);
363
+ function Zt(t, e, n, i, s, c, l = null, o = [-1]) {
364
+ const r = q;
365
+ B(t);
366
366
  const f = t.$$ = {
367
367
  fragment: null,
368
368
  ctx: [],
369
369
  // state
370
- props: l,
370
+ props: c,
371
371
  update: M,
372
372
  not_equal: s,
373
373
  bound: at(),
@@ -384,20 +384,20 @@ function Gt(t, e, n, i, s, l, c = null, o = [-1]) {
384
384
  skip_bound: !1,
385
385
  root: e.target || r.$$.root
386
386
  };
387
- c && c(f.root);
387
+ l && l(f.root);
388
388
  let p = !1;
389
- if (f.ctx = n ? n(t, e.props || {}, (d, g, ..._) => {
390
- const u = _.length ? _[0] : g;
391
- return f.ctx && s(f.ctx[d], f.ctx[d] = u) && (!f.skip_bound && f.bound[d] && f.bound[d](u), p && Zt(t, d)), g;
389
+ if (f.ctx = n ? n(t, e.props || {}, (d, m, ...w) => {
390
+ const a = w.length ? w[0] : m;
391
+ return f.ctx && s(f.ctx[d], f.ctx[d] = a) && (!f.skip_bound && f.bound[d] && f.bound[d](a), p && Vt(t, d)), m;
392
392
  }) : [], f.update(), p = !0, H(f.before_update), f.fragment = i ? i(f.ctx) : !1, e.target) {
393
393
  if (e.hydrate) {
394
- const d = Rt(e.target);
395
- f.fragment && f.fragment.l(d), d.forEach(D);
394
+ const d = Et(e.target);
395
+ f.fragment && f.fragment.l(d), d.forEach(O);
396
396
  } else
397
397
  f.fragment && f.fragment.c();
398
- e.intro && qt(t.$$.fragment), Jt(t, e.target, e.anchor), E();
398
+ e.intro && Bt(t.$$.fragment), Ft(t, e.target, e.anchor), S();
399
399
  }
400
- F(r);
400
+ B(r);
401
401
  }
402
402
  let pt;
403
403
  typeof HTMLElement == "function" && (pt = class extends HTMLElement {
@@ -439,32 +439,32 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
439
439
  if (this.$$cn = !0, !this.$$c) {
440
440
  let t = function(s) {
441
441
  return () => {
442
- let l;
442
+ let c;
443
443
  return {
444
444
  c: function() {
445
- l = R("slot"), s !== "default" && h(l, "name", s);
445
+ c = E("slot"), s !== "default" && h(c, "name", s);
446
446
  },
447
447
  /**
448
448
  * @param {HTMLElement} target
449
449
  * @param {HTMLElement} [anchor]
450
450
  */
451
451
  m: function(r, f) {
452
- Y(r, l, f);
452
+ X(r, c, f);
453
453
  },
454
454
  d: function(r) {
455
- r && D(l);
455
+ r && O(c);
456
456
  }
457
457
  };
458
458
  };
459
459
  };
460
460
  if (await Promise.resolve(), !this.$$cn || this.$$c)
461
461
  return;
462
- const e = {}, n = Pt(this);
462
+ const e = {}, n = zt(this);
463
463
  for (const s of this.$$s)
464
464
  s in n && (e[s] = [t(s)]);
465
465
  for (const s of this.attributes) {
466
- const l = this.$$g_p(s.name);
467
- l in this.$$d || (this.$$d[l] = K(l, s.value, this.$$p_d, "toProp"));
466
+ const c = this.$$g_p(s.name);
467
+ c in this.$$d || (this.$$d[c] = G(c, s.value, this.$$p_d, "toProp"));
468
468
  }
469
469
  for (const s in this.$$p_d)
470
470
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
@@ -482,21 +482,21 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
482
482
  this.$$r = !0;
483
483
  for (const s in this.$$p_d)
484
484
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
485
- const l = K(
485
+ const c = G(
486
486
  s,
487
487
  this.$$d[s],
488
488
  this.$$p_d,
489
489
  "toAttribute"
490
490
  );
491
- l == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, l);
491
+ c == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, c);
492
492
  }
493
493
  this.$$r = !1;
494
494
  };
495
495
  this.$$c.$$.after_update.push(i), i();
496
496
  for (const s in this.$$l)
497
- for (const l of this.$$l[s]) {
498
- const c = this.$$c.$on(s, l);
499
- this.$$l_u.set(l, c);
497
+ for (const c of this.$$l[s]) {
498
+ const l = this.$$c.$on(s, c);
499
+ this.$$l_u.set(c, l);
500
500
  }
501
501
  this.$$l = {};
502
502
  }
@@ -504,7 +504,7 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
504
504
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
505
505
  // and setting attributes through setAttribute etc, this is helpful
506
506
  attributeChangedCallback(t, e, n) {
507
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = K(t, n, this.$$p_d, "toProp"), this.$$c?.$set({ [t]: this.$$d[t] }));
507
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = G(t, n, this.$$p_d, "toProp"), this.$$c?.$set({ [t]: this.$$d[t] }));
508
508
  }
509
509
  disconnectedCallback() {
510
510
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -517,7 +517,7 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
517
517
  ) || t;
518
518
  }
519
519
  });
520
- function K(t, e, n, i) {
520
+ function G(t, e, n, i) {
521
521
  const s = n[t]?.type;
522
522
  if (e = s === "Boolean" && typeof e != "boolean" ? e != null : e, !i || !n[t])
523
523
  return e;
@@ -546,8 +546,8 @@ function K(t, e, n, i) {
546
546
  return e;
547
547
  }
548
548
  }
549
- function Kt(t, e, n, i, s, l) {
550
- let c = class extends pt {
549
+ function Gt(t, e, n, i, s, c) {
550
+ let l = class extends pt {
551
551
  constructor() {
552
552
  super(t, n, s), this.$$p_d = e;
553
553
  }
@@ -558,24 +558,24 @@ function Kt(t, e, n, i, s, l) {
558
558
  }
559
559
  };
560
560
  return Object.keys(e).forEach((o) => {
561
- Object.defineProperty(c.prototype, o, {
561
+ Object.defineProperty(l.prototype, o, {
562
562
  get() {
563
563
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
564
564
  },
565
565
  set(r) {
566
- r = K(o, r, e), this.$$d[o] = r, this.$$c?.$set({ [o]: r });
566
+ r = G(o, r, e), this.$$d[o] = r, this.$$c?.$set({ [o]: r });
567
567
  }
568
568
  });
569
569
  }), i.forEach((o) => {
570
- Object.defineProperty(c.prototype, o, {
570
+ Object.defineProperty(l.prototype, o, {
571
571
  get() {
572
572
  return this.$$c?.[o];
573
573
  }
574
574
  });
575
575
  }), t.element = /** @type {any} */
576
- c, c;
576
+ l, l;
577
577
  }
578
- class Qt {
578
+ class Kt {
579
579
  /**
580
580
  * ### PRIVATE API
581
581
  *
@@ -594,7 +594,7 @@ class Qt {
594
594
  $$set = void 0;
595
595
  /** @returns {void} */
596
596
  $destroy() {
597
- Vt(this, 1), this.$destroy = M;
597
+ Jt(this, 1), this.$destroy = M;
598
598
  }
599
599
  /**
600
600
  * @template {Extract<keyof Events, string>} K
@@ -603,7 +603,7 @@ class Qt {
603
603
  * @returns {() => void}
604
604
  */
605
605
  $on(e, n) {
606
- if (!rt(n))
606
+ if (!st(n))
607
607
  return M;
608
608
  const i = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
609
609
  return i.push(n), () => {
@@ -616,26 +616,49 @@ class Qt {
616
616
  * @returns {void}
617
617
  */
618
618
  $set(e) {
619
- this.$$set && !xt(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
619
+ this.$$set && !kt(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
620
+ }
621
+ }
622
+ const Qt = "4";
623
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qt);
624
+ function Wt(t, e) {
625
+ if (t) {
626
+ const n = document.createElement("style");
627
+ n.innerHTML = e, t.appendChild(n);
628
+ }
629
+ }
630
+ function Xt(t, e) {
631
+ const n = new URL(e);
632
+ fetch(n.href).then((i) => i.text()).then((i) => {
633
+ const s = document.createElement("style");
634
+ s.innerHTML = i, t && t.appendChild(s);
635
+ }).catch((i) => {
636
+ console.error("There was an error while trying to load client styling from URL", i);
637
+ });
638
+ }
639
+ function Yt(t, e, n) {
640
+ if (window.emMessageBus) {
641
+ const i = document.createElement("style");
642
+ window.emMessageBus.subscribe(e, (s) => {
643
+ i.innerHTML = s, t && t.appendChild(i);
644
+ });
620
645
  }
621
646
  }
622
- const Wt = "4";
623
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Wt);
624
- const Xt = "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", Yt = "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";
625
- function te(t) {
626
- St(t, "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}}");
647
+ const te = "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", ee = "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";
648
+ function ne(t) {
649
+ Ct(t, "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}}");
627
650
  }
628
651
  function ht(t) {
629
652
  let e;
630
653
  return {
631
654
  c() {
632
- e = R("span"), e.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(e, "class", "Icon UserIcon"), h(e, "part", "Icon UserIcon");
655
+ e = E("span"), e.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(e, "class", "Icon UserIcon"), h(e, "part", "Icon UserIcon");
633
656
  },
634
657
  m(n, i) {
635
- Y(n, e, i);
658
+ X(n, e, i);
636
659
  },
637
660
  d(n) {
638
- n && D(e);
661
+ n && O(e);
639
662
  }
640
663
  };
641
664
  }
@@ -643,166 +666,151 @@ function dt(t) {
643
666
  let e;
644
667
  return {
645
668
  c() {
646
- e = R("span"), e.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(e, "class", "Icon PrizeIcon"), h(e, "part", "Icon PrizeIcon");
669
+ e = E("span"), e.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(e, "class", "Icon PrizeIcon"), h(e, "part", "Icon PrizeIcon");
647
670
  },
648
671
  m(n, i) {
649
- Y(n, e, i);
672
+ X(n, e, i);
650
673
  },
651
674
  d(n) {
652
- n && D(e);
675
+ n && O(e);
653
676
  }
654
677
  };
655
678
  }
656
- function ee(t) {
657
- let e, n, i, s, l, c, o, r, f, p, d, g, _, u, w, m, C, A, z, y, S, P, k = (
679
+ function ie(t) {
680
+ let e, n, i, s, c, l, o, r, f, p, d, m, w, a, $, g, v, C, z, R, y, L, b = (
658
681
  /*showicon*/
659
682
  t[2] == "true" && ht()
660
- ), b = (
683
+ ), k = (
661
684
  /*showicon*/
662
685
  t[2] == "true" && dt()
663
686
  );
664
687
  return {
665
688
  c() {
666
- e = R("div"), n = R("div"), k && k.c(), i = B(), s = R("span"), l = Z(
689
+ e = E("div"), n = E("div"), b && b.c(), i = D(), s = E("span"), c = V(
667
690
  /*rankprefix*/
668
691
  t[1]
669
- ), c = Z(
692
+ ), l = V(
670
693
  /*rankinfo*/
671
694
  t[7]
672
- ), o = B(), r = R("img"), d = B(), g = R("img"), w = B(), m = R("div"), b && b.c(), C = B(), A = R("span"), z = Z(
695
+ ), o = D(), r = E("img"), d = D(), m = E("img"), $ = D(), g = E("div"), k && k.c(), v = D(), C = E("span"), z = V(
673
696
  /*prize*/
674
697
  t[0]
675
- ), h(r, "part", "Rank_Arror_UP"), h(r, "alt", "Rank Up"), ct(r.src, f = Xt) || h(r, "src", f), h(r, "width", "20"), h(r, "height", "20"), h(r, "class", p = "svg Arrow Up " + /*userRankChanged*/
698
+ ), h(r, "part", "Rank_Arror_UP"), h(r, "alt", "Rank Up"), lt(r.src, f = te) || h(r, "src", f), h(r, "width", "20"), h(r, "height", "20"), h(r, "class", p = "svg Arrow Up " + /*userRankChanged*/
676
699
  (t[5] && /*isRankingUp*/
677
- t[6] ? "Show" : "Hidden")), h(g, "part", "Rank_Arror_Down"), h(g, "alt", "Rank Down"), ct(g.src, _ = Yt) || h(g, "src", _), h(g, "width", "10"), h(g, "height", "10"), h(g, "class", u = "svg Arrow Down " + /*userRankChanged*/
700
+ t[6] ? "Show" : "Hidden")), h(m, "part", "Rank_Arror_Down"), h(m, "alt", "Rank Down"), lt(m.src, w = ee) || h(m, "src", w), h(m, "width", "10"), h(m, "height", "10"), h(m, "class", a = "svg Arrow Down " + /*userRankChanged*/
678
701
  (t[5] && !/*isRankingUp*/
679
- t[6] ? "Show" : "Hidden")), h(s, "class", "RankInfo"), h(s, "part", "RankText"), h(n, "class", "RankSec"), h(n, "part", "Rank"), h(A, "class", "RankInfo UserPrize"), h(A, "part", "PrizeText"), h(m, "class", y = /*displayin*/
680
- t[3] + " PrizeSec"), h(m, "part", "Prize"), h(e, "class", S = /*displayin*/
681
- t[3] + " casino-tournaments-rank"), h(e, "part", P = /*displayin*/
702
+ t[6] ? "Show" : "Hidden")), h(s, "class", "RankInfo"), h(s, "part", "RankText"), h(n, "class", "RankSec"), h(n, "part", "Rank"), h(C, "class", "RankInfo UserPrize"), h(C, "part", "PrizeText"), h(g, "class", R = /*displayin*/
703
+ t[3] + " PrizeSec"), h(g, "part", "Prize"), h(e, "class", y = /*displayin*/
704
+ t[3] + " casino-tournaments-rank"), h(e, "part", L = /*displayin*/
682
705
  t[3] + " casino-tournaments-rank");
683
706
  },
684
- m($, x) {
685
- Y($, e, x), v(e, n), k && k.m(n, null), v(n, i), v(n, s), v(s, l), v(s, c), v(s, o), v(s, r), v(s, d), v(s, g), v(e, w), v(e, m), b && b.m(m, null), v(m, C), v(m, A), v(A, z), t[14](e);
707
+ m(_, A) {
708
+ X(_, e, A), x(e, n), b && b.m(n, null), x(n, i), x(n, s), x(s, c), x(s, l), x(s, o), x(s, r), x(s, d), x(s, m), x(e, $), x(e, g), k && k.m(g, null), x(g, v), x(g, C), x(C, z), t[15](e);
686
709
  },
687
- p($, [x]) {
710
+ p(_, [A]) {
688
711
  /*showicon*/
689
- $[2] == "true" ? k || (k = ht(), k.c(), k.m(n, i)) : k && (k.d(1), k = null), x & /*rankprefix*/
690
- 2 && tt(
691
- l,
692
- /*rankprefix*/
693
- $[1]
694
- ), x & /*rankinfo*/
695
- 128 && tt(
712
+ _[2] == "true" ? b || (b = ht(), b.c(), b.m(n, i)) : b && (b.d(1), b = null), A & /*rankprefix*/
713
+ 2 && Y(
696
714
  c,
715
+ /*rankprefix*/
716
+ _[1]
717
+ ), A & /*rankinfo*/
718
+ 128 && Y(
719
+ l,
697
720
  /*rankinfo*/
698
- $[7]
699
- ), x & /*userRankChanged, isRankingUp*/
721
+ _[7]
722
+ ), A & /*userRankChanged, isRankingUp*/
700
723
  96 && p !== (p = "svg Arrow Up " + /*userRankChanged*/
701
- ($[5] && /*isRankingUp*/
702
- $[6] ? "Show" : "Hidden")) && h(r, "class", p), x & /*userRankChanged, isRankingUp*/
703
- 96 && u !== (u = "svg Arrow Down " + /*userRankChanged*/
704
- ($[5] && !/*isRankingUp*/
705
- $[6] ? "Show" : "Hidden")) && h(g, "class", u), /*showicon*/
706
- $[2] == "true" ? b || (b = dt(), b.c(), b.m(m, C)) : b && (b.d(1), b = null), x & /*prize*/
707
- 1 && tt(
724
+ (_[5] && /*isRankingUp*/
725
+ _[6] ? "Show" : "Hidden")) && h(r, "class", p), A & /*userRankChanged, isRankingUp*/
726
+ 96 && a !== (a = "svg Arrow Down " + /*userRankChanged*/
727
+ (_[5] && !/*isRankingUp*/
728
+ _[6] ? "Show" : "Hidden")) && h(m, "class", a), /*showicon*/
729
+ _[2] == "true" ? k || (k = dt(), k.c(), k.m(g, v)) : k && (k.d(1), k = null), A & /*prize*/
730
+ 1 && Y(
708
731
  z,
709
732
  /*prize*/
710
- $[0]
711
- ), x & /*displayin*/
733
+ _[0]
734
+ ), A & /*displayin*/
735
+ 8 && R !== (R = /*displayin*/
736
+ _[3] + " PrizeSec") && h(g, "class", R), A & /*displayin*/
712
737
  8 && y !== (y = /*displayin*/
713
- $[3] + " PrizeSec") && h(m, "class", y), x & /*displayin*/
714
- 8 && S !== (S = /*displayin*/
715
- $[3] + " casino-tournaments-rank") && h(e, "class", S), x & /*displayin*/
716
- 8 && P !== (P = /*displayin*/
717
- $[3] + " casino-tournaments-rank") && h(e, "part", P);
738
+ _[3] + " casino-tournaments-rank") && h(e, "class", y), A & /*displayin*/
739
+ 8 && L !== (L = /*displayin*/
740
+ _[3] + " casino-tournaments-rank") && h(e, "part", L);
718
741
  },
719
742
  i: M,
720
743
  o: M,
721
- d($) {
722
- $ && D(e), k && k.d(), b && b.d(), t[14](null);
744
+ d(_) {
745
+ _ && O(e), b && b.d(), k && k.d(), t[15](null);
723
746
  }
724
747
  };
725
748
  }
726
- function ne(t, e, n) {
727
- let { rankprefix: i = "#" } = e, { showicon: s = "true" } = e, { tournamentid: l = "" } = e, { overallrank: c = "0" } = e, { showoverallrank: o = "true" } = e, { userrank: r = "0" } = e, { prize: f = "PrizeName" } = e, { displayin: p = "row" } = e, { clientstyling: d = "" } = e, { clientstylingurl: g = "" } = e, _, u, w = !1, m = !0, C, A, z, y, S = "";
728
- const P = (a) => {
729
- a.data && a.data.type == `TournamentRankInfo_${l}` && (k(a.data.rankInfo), x());
730
- }, k = (a) => {
731
- let N = (T) => {
732
- n(9, r = T.rank), n(8, c = T.overallRank), n(0, f = T.prize);
749
+ function se(t, e, n) {
750
+ let { rankprefix: i = "#" } = e, { showicon: s = "true" } = e, { tournamentid: c = "" } = e, { overallrank: l = "0" } = e, { showoverallrank: o = "true" } = e, { userrank: r = "0" } = e, { prize: f = "PrizeName" } = e, { mbsource: p } = e, { displayin: d = "row" } = e, { clientstyling: m = "" } = e, { clientstylingurl: w = "" } = e, a, $, g = !1, v = !0, C, z, R, y, L = "";
751
+ const b = (u) => {
752
+ u.data && u.data.type == `TournamentRankInfo_${c}` && (k(u.data.rankInfo), _());
753
+ }, k = (u) => {
754
+ let ct = (F) => {
755
+ n(9, r = F.rank), n(8, l = F.overallRank), n(0, f = F.prize);
733
756
  };
734
757
  if (!y) {
735
- y = u, N(a);
758
+ y = $, ct(u);
736
759
  return;
737
760
  }
738
- u && (n(5, w = y != a.rank), n(6, m = y > a.rank), C = (/* @__PURE__ */ new Date()).getTime(), z = setTimeout(
761
+ $ && (n(5, g = y != u.rank), n(6, v = y > u.rank), C = (/* @__PURE__ */ new Date()).getTime(), R = setTimeout(
739
762
  () => {
740
- A = (/* @__PURE__ */ new Date()).getTime(), (A - C) / 1e3 > 4 && n(5, w = !1), y = u;
763
+ z = (/* @__PURE__ */ new Date()).getTime(), (z - C) / 1e3 > 4 && n(5, g = !1), y = $;
741
764
  },
742
765
  5e3
743
- ), N(a));
744
- }, b = () => {
745
- let a = document.createElement("style");
746
- a.innerHTML = d, _.appendChild(a);
747
- }, $ = () => {
748
- let a = new URL(g), N = document.createElement("style");
749
- fetch(a.href).then((T) => T.text()).then((T) => {
750
- N.innerHTML = T, setTimeout(
751
- () => {
752
- _.appendChild(N);
753
- },
754
- 1
755
- ), setTimeout(
756
- () => {
757
- },
758
- 500
759
- );
760
- });
761
- }, x = () => {
762
- n(7, S = o == "true" ? `${+r == 0 ? "-" : r || "-"}/${+c == 0 ? "-" : c}` : r);
766
+ ), ct(u));
767
+ }, _ = () => {
768
+ n(7, L = o == "true" ? `${+r == 0 ? "-" : r || "-"}/${+l == 0 ? "-" : l}` : r);
763
769
  };
764
- jt(() => (u = r == null ? void 0 : parseInt(r), y = u, n(9, r = r ?? "-"), window.addEventListener("message", P, !0), x(), () => {
765
- window.removeEventListener("message", P), clearTimeout(z);
770
+ It(() => ($ = r == null ? void 0 : parseInt(r), y = $, n(9, r = r ?? "-"), window.addEventListener("message", b, !0), _(), () => {
771
+ window.removeEventListener("message", b), clearTimeout(R);
766
772
  }));
767
- function yt(a) {
768
- it[a ? "unshift" : "push"](() => {
769
- _ = a, n(4, _);
773
+ function A(u) {
774
+ nt[u ? "unshift" : "push"](() => {
775
+ a = u, n(4, a);
770
776
  });
771
777
  }
772
- return t.$$set = (a) => {
773
- "rankprefix" in a && n(1, i = a.rankprefix), "showicon" in a && n(2, s = a.showicon), "tournamentid" in a && n(10, l = a.tournamentid), "overallrank" in a && n(8, c = a.overallrank), "showoverallrank" in a && n(11, o = a.showoverallrank), "userrank" in a && n(9, r = a.userrank), "prize" in a && n(0, f = a.prize), "displayin" in a && n(3, p = a.displayin), "clientstyling" in a && n(12, d = a.clientstyling), "clientstylingurl" in a && n(13, g = a.clientstylingurl);
778
+ return t.$$set = (u) => {
779
+ "rankprefix" in u && n(1, i = u.rankprefix), "showicon" in u && n(2, s = u.showicon), "tournamentid" in u && n(10, c = u.tournamentid), "overallrank" in u && n(8, l = u.overallrank), "showoverallrank" in u && n(11, o = u.showoverallrank), "userrank" in u && n(9, r = u.userrank), "prize" in u && n(0, f = u.prize), "mbsource" in u && n(12, p = u.mbsource), "displayin" in u && n(3, d = u.displayin), "clientstyling" in u && n(13, m = u.clientstyling), "clientstylingurl" in u && n(14, w = u.clientstylingurl);
774
780
  }, t.$$.update = () => {
775
- t.$$.dirty & /*customStylingContainer, clientstyling*/
776
- 4112 && _ && d && b(), t.$$.dirty & /*customStylingContainer, clientstylingurl*/
777
- 8208 && _ && g && $(), t.$$.dirty & /*userrank*/
778
- 512 && (u = parseInt(r)), t.$$.dirty & /*userrank*/
779
- 512 && r && x(), t.$$.dirty & /*overallrank*/
780
- 256 && c && x();
781
+ t.$$.dirty & /*clientstyling, customStylingContainer*/
782
+ 8208 && m && a && Wt(a, m), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
783
+ 16400 && w && a && Xt(a, w), t.$$.dirty & /*mbsource, customStylingContainer*/
784
+ 4112 && p && a && Yt(a, `${p}.Style`), t.$$.dirty & /*userrank*/
785
+ 512 && ($ = parseInt(r)), t.$$.dirty & /*userrank*/
786
+ 512 && r && _(), t.$$.dirty & /*overallrank*/
787
+ 256 && l && _();
781
788
  }, [
782
789
  f,
783
790
  i,
784
791
  s,
785
- p,
786
- _,
787
- w,
788
- m,
789
- S,
790
- c,
791
- r,
792
- l,
793
- o,
794
792
  d,
793
+ a,
795
794
  g,
796
- yt
795
+ v,
796
+ L,
797
+ l,
798
+ r,
799
+ c,
800
+ o,
801
+ p,
802
+ m,
803
+ w,
804
+ A
797
805
  ];
798
806
  }
799
- class wt extends Qt {
807
+ class wt extends Kt {
800
808
  constructor(e) {
801
- super(), Gt(
809
+ super(), Zt(
802
810
  this,
803
811
  e,
804
- ne,
805
- ee,
812
+ se,
813
+ ie,
806
814
  bt,
807
815
  {
808
816
  rankprefix: 1,
@@ -812,114 +820,124 @@ class wt extends Qt {
812
820
  showoverallrank: 11,
813
821
  userrank: 9,
814
822
  prize: 0,
823
+ mbsource: 12,
815
824
  displayin: 3,
816
- clientstyling: 12,
817
- clientstylingurl: 13
825
+ clientstyling: 13,
826
+ clientstylingurl: 14
818
827
  },
819
- te
828
+ ne
820
829
  );
821
830
  }
822
831
  get rankprefix() {
823
832
  return this.$$.ctx[1];
824
833
  }
825
834
  set rankprefix(e) {
826
- this.$$set({ rankprefix: e }), E();
835
+ this.$$set({ rankprefix: e }), S();
827
836
  }
828
837
  get showicon() {
829
838
  return this.$$.ctx[2];
830
839
  }
831
840
  set showicon(e) {
832
- this.$$set({ showicon: e }), E();
841
+ this.$$set({ showicon: e }), S();
833
842
  }
834
843
  get tournamentid() {
835
844
  return this.$$.ctx[10];
836
845
  }
837
846
  set tournamentid(e) {
838
- this.$$set({ tournamentid: e }), E();
847
+ this.$$set({ tournamentid: e }), S();
839
848
  }
840
849
  get overallrank() {
841
850
  return this.$$.ctx[8];
842
851
  }
843
852
  set overallrank(e) {
844
- this.$$set({ overallrank: e }), E();
853
+ this.$$set({ overallrank: e }), S();
845
854
  }
846
855
  get showoverallrank() {
847
856
  return this.$$.ctx[11];
848
857
  }
849
858
  set showoverallrank(e) {
850
- this.$$set({ showoverallrank: e }), E();
859
+ this.$$set({ showoverallrank: e }), S();
851
860
  }
852
861
  get userrank() {
853
862
  return this.$$.ctx[9];
854
863
  }
855
864
  set userrank(e) {
856
- this.$$set({ userrank: e }), E();
865
+ this.$$set({ userrank: e }), S();
857
866
  }
858
867
  get prize() {
859
868
  return this.$$.ctx[0];
860
869
  }
861
870
  set prize(e) {
862
- this.$$set({ prize: e }), E();
871
+ this.$$set({ prize: e }), S();
872
+ }
873
+ get mbsource() {
874
+ return this.$$.ctx[12];
875
+ }
876
+ set mbsource(e) {
877
+ this.$$set({ mbsource: e }), S();
863
878
  }
864
879
  get displayin() {
865
880
  return this.$$.ctx[3];
866
881
  }
867
882
  set displayin(e) {
868
- this.$$set({ displayin: e }), E();
883
+ this.$$set({ displayin: e }), S();
869
884
  }
870
885
  get clientstyling() {
871
- return this.$$.ctx[12];
886
+ return this.$$.ctx[13];
872
887
  }
873
888
  set clientstyling(e) {
874
- this.$$set({ clientstyling: e }), E();
889
+ this.$$set({ clientstyling: e }), S();
875
890
  }
876
891
  get clientstylingurl() {
877
- return this.$$.ctx[13];
892
+ return this.$$.ctx[14];
878
893
  }
879
894
  set clientstylingurl(e) {
880
- this.$$set({ clientstylingurl: e }), E();
895
+ this.$$set({ clientstylingurl: e }), S();
881
896
  }
882
897
  }
883
- Kt(wt, { rankprefix: {}, showicon: {}, tournamentid: {}, overallrank: {}, showoverallrank: {}, userrank: {}, prize: {}, displayin: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
884
- const me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
898
+ Gt(wt, { rankprefix: {}, showicon: {}, tournamentid: {}, overallrank: {}, showoverallrank: {}, userrank: {}, prize: {}, mbsource: {}, displayin: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
899
+ const $e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
885
900
  __proto__: null,
886
901
  default: wt
887
902
  }, Symbol.toStringTag, { value: "Module" }));
888
903
  export {
889
- Z as A,
890
- ce as B,
891
- ge as C,
892
- se as D,
893
- de as E,
894
- X as F,
895
- it as G,
896
- ue as H,
897
- me as I,
898
- Qt as S,
899
- vt as a,
900
- rt as b,
901
- Kt as c,
902
- Gt as d,
903
- St as e,
904
- E as f,
905
- D as g,
906
- qt as h,
907
- kt as i,
904
+ V as A,
905
+ fe as B,
906
+ _e as C,
907
+ oe as D,
908
+ me as E,
909
+ W as F,
910
+ nt as G,
911
+ he as H,
912
+ Wt as I,
913
+ Xt as J,
914
+ Yt as K,
915
+ $e as L,
916
+ Kt as S,
917
+ xt as a,
918
+ st as b,
919
+ Gt as c,
920
+ Zt as d,
921
+ Ct as e,
922
+ S as f,
923
+ O as g,
924
+ Bt as h,
925
+ yt as i,
908
926
  h as j,
909
- fe as k,
910
- Y as l,
911
- v as m,
927
+ de as k,
928
+ X as l,
929
+ x as m,
912
930
  M as n,
913
- oe as o,
914
- R as p,
915
- re as q,
931
+ ae as o,
932
+ E as p,
933
+ ce as q,
916
934
  H as r,
917
935
  bt as s,
918
- he as t,
919
- B as u,
920
- ie as v,
921
- jt as w,
922
- ae as x,
923
- tt as y,
936
+ ge as t,
937
+ D as u,
938
+ re as v,
939
+ It as w,
940
+ ue as x,
941
+ Y as y,
924
942
  le as z
925
943
  };