@everymatrix/casino-tournaments-tab 1.45.0 → 1.45.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
- var lt = Object.defineProperty, ot = Object.defineProperties;
2
- var rt = Object.getOwnPropertyDescriptors;
1
+ var ot = Object.defineProperty, rt = Object.defineProperties;
2
+ var lt = Object.getOwnPropertyDescriptors;
3
3
  var x = Object.getOwnPropertySymbols;
4
4
  var D = Object.prototype.hasOwnProperty, I = Object.prototype.propertyIsEnumerable;
5
- var M = (e, t, n) => t in e ? lt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, T = (e, t) => {
5
+ var F = (e, t, n) => t in e ? ot(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, j = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- D.call(t, n) && M(e, n, t[n]);
7
+ D.call(t, n) && F(e, n, t[n]);
8
8
  if (x)
9
9
  for (var n of x(t))
10
- I.call(t, n) && M(e, n, t[n]);
10
+ I.call(t, n) && F(e, n, t[n]);
11
11
  return e;
12
- }, O = (e, t) => ot(e, rt(t));
12
+ }, O = (e, t) => rt(e, lt(t));
13
13
  var J = (e, t) => {
14
14
  var n = {};
15
15
  for (var s in e)
@@ -19,35 +19,35 @@ var J = (e, t) => {
19
19
  t.indexOf(s) < 0 && I.call(e, s) && (n[s] = e[s]);
20
20
  return n;
21
21
  };
22
- var h = (e, t, n) => M(e, typeof t != "symbol" ? t + "" : t, n);
23
- var V = (e, t, n) => new Promise((s, l) => {
22
+ var d = (e, t, n) => F(e, typeof t != "symbol" ? t + "" : t, n);
23
+ var V = (e, t, n) => new Promise((s, o) => {
24
24
  var i = (u) => {
25
25
  try {
26
- o(n.next(u));
26
+ r(n.next(u));
27
27
  } catch (c) {
28
- l(c);
28
+ o(c);
29
29
  }
30
- }, r = (u) => {
30
+ }, l = (u) => {
31
31
  try {
32
- o(n.throw(u));
32
+ r(n.throw(u));
33
33
  } catch (c) {
34
- l(c);
34
+ o(c);
35
35
  }
36
- }, o = (u) => u.done ? s(u.value) : Promise.resolve(u.value).then(i, r);
37
- o((n = n.apply(e, t)).next());
36
+ }, r = (u) => u.done ? s(u.value) : Promise.resolve(u.value).then(i, l);
37
+ r((n = n.apply(e, t)).next());
38
38
  });
39
- function k() {
39
+ function L() {
40
40
  }
41
- function tt(e) {
41
+ function Z(e) {
42
42
  return e();
43
43
  }
44
44
  function q() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
47
  function A(e) {
48
- e.forEach(tt);
48
+ e.forEach(Z);
49
49
  }
50
- function et(e) {
50
+ function tt(e) {
51
51
  return typeof e == "function";
52
52
  }
53
53
  function ct(e, t) {
@@ -56,20 +56,17 @@ function ct(e, t) {
56
56
  function ut(e) {
57
57
  return Object.keys(e).length === 0;
58
58
  }
59
- function G(e) {
60
- return e == null ? "" : e;
61
- }
62
59
  function m(e, t) {
63
60
  e.appendChild(t);
64
61
  }
65
- function ft(e, t, n) {
66
- const s = at(e);
62
+ function at(e, t, n) {
63
+ const s = ft(e);
67
64
  if (!s.getElementById(t)) {
68
- const l = _("style");
69
- l.id = t, l.textContent = n, dt(s, l);
65
+ const o = _("style");
66
+ o.id = t, o.textContent = n, dt(s, o);
70
67
  }
71
68
  }
72
- function at(e) {
69
+ function ft(e) {
73
70
  if (!e) return document;
74
71
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
75
72
  return t && /** @type {ShadowRoot} */
@@ -85,10 +82,10 @@ function dt(e, t) {
85
82
  t
86
83
  ), t.sheet;
87
84
  }
88
- function N(e, t, n) {
85
+ function M(e, t, n) {
89
86
  e.insertBefore(t, n || null);
90
87
  }
91
- function L(e) {
88
+ function C(e) {
92
89
  e.parentNode && e.parentNode.removeChild(e);
93
90
  }
94
91
  function ht(e, t) {
@@ -101,19 +98,19 @@ function _(e) {
101
98
  function H(e) {
102
99
  return document.createTextNode(e);
103
100
  }
104
- function K() {
101
+ function G() {
105
102
  return H(" ");
106
103
  }
107
104
  function $t(e, t, n, s) {
108
105
  return e.addEventListener(t, n, s), () => e.removeEventListener(t, n, s);
109
106
  }
110
- function d(e, t, n) {
107
+ function g(e, t, n) {
111
108
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
112
109
  }
113
110
  function gt(e) {
114
111
  return Array.from(e.childNodes);
115
112
  }
116
- function nt(e, t) {
113
+ function et(e, t) {
117
114
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
118
115
  t);
119
116
  }
@@ -126,95 +123,95 @@ function bt(e) {
126
123
  }
127
124
  ), t;
128
125
  }
129
- let C;
130
- function E(e) {
131
- C = e;
126
+ let T;
127
+ function k(e) {
128
+ T = e;
132
129
  }
133
130
  function mt() {
134
- if (!C) throw new Error("Function called outside component initialization");
135
- return C;
131
+ if (!T) throw new Error("Function called outside component initialization");
132
+ return T;
136
133
  }
137
- function _t(e) {
134
+ function nt(e) {
138
135
  mt().$$.on_mount.push(e);
139
136
  }
140
137
  const y = [], R = [];
141
- let j = [];
142
- const Q = [], pt = /* @__PURE__ */ Promise.resolve();
138
+ let E = [];
139
+ const K = [], _t = /* @__PURE__ */ Promise.resolve();
143
140
  let z = !1;
144
- function vt() {
145
- z || (z = !0, pt.then(w));
141
+ function pt() {
142
+ z || (z = !0, _t.then(v));
146
143
  }
147
144
  function B(e) {
148
- j.push(e);
145
+ E.push(e);
149
146
  }
150
147
  const P = /* @__PURE__ */ new Set();
151
- let v = 0;
152
- function w() {
153
- if (v !== 0)
148
+ let w = 0;
149
+ function v() {
150
+ if (w !== 0)
154
151
  return;
155
- const e = C;
152
+ const e = T;
156
153
  do {
157
154
  try {
158
- for (; v < y.length; ) {
159
- const t = y[v];
160
- v++, E(t), yt(t.$$);
155
+ for (; w < y.length; ) {
156
+ const t = y[w];
157
+ w++, k(t), wt(t.$$);
161
158
  }
162
159
  } catch (t) {
163
- throw y.length = 0, v = 0, t;
160
+ throw y.length = 0, w = 0, t;
164
161
  }
165
- for (E(null), y.length = 0, v = 0; R.length; ) R.pop()();
166
- for (let t = 0; t < j.length; t += 1) {
167
- const n = j[t];
162
+ for (k(null), y.length = 0, w = 0; R.length; ) R.pop()();
163
+ for (let t = 0; t < E.length; t += 1) {
164
+ const n = E[t];
168
165
  P.has(n) || (P.add(n), n());
169
166
  }
170
- j.length = 0;
167
+ E.length = 0;
171
168
  } while (y.length);
172
- for (; Q.length; )
173
- Q.pop()();
174
- z = !1, P.clear(), E(e);
169
+ for (; K.length; )
170
+ K.pop()();
171
+ z = !1, P.clear(), k(e);
175
172
  }
176
- function yt(e) {
173
+ function wt(e) {
177
174
  if (e.fragment !== null) {
178
175
  e.update(), A(e.before_update);
179
176
  const t = e.dirty;
180
177
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(B);
181
178
  }
182
179
  }
183
- function wt(e) {
180
+ function yt(e) {
184
181
  const t = [], n = [];
185
- j.forEach((s) => e.indexOf(s) === -1 ? t.push(s) : n.push(s)), n.forEach((s) => s()), j = t;
182
+ E.forEach((s) => e.indexOf(s) === -1 ? t.push(s) : n.push(s)), n.forEach((s) => s()), E = t;
186
183
  }
187
- const jt = /* @__PURE__ */ new Set();
184
+ const vt = /* @__PURE__ */ new Set();
188
185
  function Et(e, t) {
189
- e && e.i && (jt.delete(e), e.i(t));
186
+ e && e.i && (vt.delete(e), e.i(t));
190
187
  }
191
- function W(e) {
188
+ function Q(e) {
192
189
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
193
190
  }
194
191
  function kt(e, t, n) {
195
- const { fragment: s, after_update: l } = e.$$;
192
+ const { fragment: s, after_update: o } = e.$$;
196
193
  s && s.m(t, n), B(() => {
197
- const i = e.$$.on_mount.map(tt).filter(et);
194
+ const i = e.$$.on_mount.map(Z).filter(tt);
198
195
  e.$$.on_destroy ? e.$$.on_destroy.push(...i) : A(i), e.$$.on_mount = [];
199
- }), l.forEach(B);
196
+ }), o.forEach(B);
200
197
  }
201
- function Ct(e, t) {
198
+ function Lt(e, t) {
202
199
  const n = e.$$;
203
- n.fragment !== null && (wt(n.after_update), A(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
200
+ n.fragment !== null && (yt(n.after_update), A(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
204
201
  }
205
- function Lt(e, t) {
206
- e.$$.dirty[0] === -1 && (y.push(e), vt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
202
+ function Tt(e, t) {
203
+ e.$$.dirty[0] === -1 && (y.push(e), pt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
207
204
  }
208
- function xt(e, t, n, s, l, i, r = null, o = [-1]) {
209
- const u = C;
210
- E(e);
205
+ function Ct(e, t, n, s, o, i, l = null, r = [-1]) {
206
+ const u = T;
207
+ k(e);
211
208
  const c = e.$$ = {
212
209
  fragment: null,
213
210
  ctx: [],
214
211
  // state
215
212
  props: i,
216
- update: k,
217
- not_equal: l,
213
+ update: L,
214
+ not_equal: o,
218
215
  bound: q(),
219
216
  // lifecycle
220
217
  on_mount: [],
@@ -225,60 +222,60 @@ function xt(e, t, n, s, l, i, r = null, o = [-1]) {
225
222
  context: new Map(t.context || (u ? u.$$.context : [])),
226
223
  // everything else
227
224
  callbacks: q(),
228
- dirty: o,
225
+ dirty: r,
229
226
  skip_bound: !1,
230
227
  root: t.target || u.$$.root
231
228
  };
232
- r && r(c.root);
233
- let $ = !1;
234
- if (c.ctx = n ? n(e, t.props || {}, (f, p, ...b) => {
235
- const g = b.length ? b[0] : p;
236
- return c.ctx && l(c.ctx[f], c.ctx[f] = g) && (!c.skip_bound && c.bound[f] && c.bound[f](g), $ && Lt(e, f)), p;
237
- }) : [], c.update(), $ = !0, A(c.before_update), c.fragment = s ? s(c.ctx) : !1, t.target) {
229
+ l && l(c.root);
230
+ let h = !1;
231
+ if (c.ctx = n ? n(e, t.props || {}, (a, p, ...b) => {
232
+ const $ = b.length ? b[0] : p;
233
+ return c.ctx && o(c.ctx[a], c.ctx[a] = $) && (!c.skip_bound && c.bound[a] && c.bound[a]($), h && Tt(e, a)), p;
234
+ }) : [], c.update(), h = !0, A(c.before_update), c.fragment = s ? s(c.ctx) : !1, t.target) {
238
235
  if (t.hydrate) {
239
- const f = gt(t.target);
240
- c.fragment && c.fragment.l(f), f.forEach(L);
236
+ const a = gt(t.target);
237
+ c.fragment && c.fragment.l(a), a.forEach(C);
241
238
  } else
242
239
  c.fragment && c.fragment.c();
243
- t.intro && Et(e.$$.fragment), kt(e, t.target, t.anchor), w();
240
+ t.intro && Et(e.$$.fragment), kt(e, t.target, t.anchor), v();
244
241
  }
245
- E(u);
242
+ k(u);
246
243
  }
247
244
  let st;
248
245
  typeof HTMLElement == "function" && (st = class extends HTMLElement {
249
246
  constructor(t, n, s) {
250
247
  super();
251
248
  /** The Svelte component constructor */
252
- h(this, "$$ctor");
249
+ d(this, "$$ctor");
253
250
  /** Slots */
254
- h(this, "$$s");
251
+ d(this, "$$s");
255
252
  /** The Svelte component instance */
256
- h(this, "$$c");
253
+ d(this, "$$c");
257
254
  /** Whether or not the custom element is connected */
258
- h(this, "$$cn", !1);
255
+ d(this, "$$cn", !1);
259
256
  /** Component props data */
260
- h(this, "$$d", {});
257
+ d(this, "$$d", {});
261
258
  /** `true` if currently in the process of reflecting component props back to attributes */
262
- h(this, "$$r", !1);
259
+ d(this, "$$r", !1);
263
260
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
264
- h(this, "$$p_d", {});
261
+ d(this, "$$p_d", {});
265
262
  /** @type {Record<string, Function[]>} Event listeners */
266
- h(this, "$$l", {});
263
+ d(this, "$$l", {});
267
264
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
268
- h(this, "$$l_u", /* @__PURE__ */ new Map());
265
+ d(this, "$$l_u", /* @__PURE__ */ new Map());
269
266
  this.$$ctor = t, this.$$s = n, s && this.attachShadow({ mode: "open" });
270
267
  }
271
268
  addEventListener(t, n, s) {
272
269
  if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
273
- const l = this.$$c.$on(t, n);
274
- this.$$l_u.set(n, l);
270
+ const o = this.$$c.$on(t, n);
271
+ this.$$l_u.set(n, o);
275
272
  }
276
273
  super.addEventListener(t, n, s);
277
274
  }
278
275
  removeEventListener(t, n, s) {
279
276
  if (super.removeEventListener(t, n, s), this.$$c) {
280
- const l = this.$$l_u.get(n);
281
- l && (l(), this.$$l_u.delete(n));
277
+ const o = this.$$l_u.get(n);
278
+ o && (o(), this.$$l_u.delete(n));
282
279
  }
283
280
  }
284
281
  connectedCallback() {
@@ -286,20 +283,20 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
286
283
  if (this.$$cn = !0, !this.$$c) {
287
284
  let t = function(i) {
288
285
  return () => {
289
- let r;
286
+ let l;
290
287
  return {
291
288
  c: function() {
292
- r = _("slot"), i !== "default" && d(r, "name", i);
289
+ l = _("slot"), i !== "default" && g(l, "name", i);
293
290
  },
294
291
  /**
295
292
  * @param {HTMLElement} target
296
293
  * @param {HTMLElement} [anchor]
297
294
  */
298
- m: function(c, $) {
299
- N(c, r, $);
295
+ m: function(c, h) {
296
+ M(c, l, h);
300
297
  },
301
298
  d: function(c) {
302
- c && L(r);
299
+ c && C(l);
303
300
  }
304
301
  };
305
302
  };
@@ -310,39 +307,39 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
310
307
  for (const i of this.$$s)
311
308
  i in s && (n[i] = [t(i)]);
312
309
  for (const i of this.attributes) {
313
- const r = this.$$g_p(i.name);
314
- r in this.$$d || (this.$$d[r] = S(r, i.value, this.$$p_d, "toProp"));
310
+ const l = this.$$g_p(i.name);
311
+ l in this.$$d || (this.$$d[l] = S(l, i.value, this.$$p_d, "toProp"));
315
312
  }
316
313
  for (const i in this.$$p_d)
317
314
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
318
315
  this.$$c = new this.$$ctor({
319
316
  target: this.shadowRoot || this,
320
- props: O(T({}, this.$$d), {
317
+ props: O(j({}, this.$$d), {
321
318
  $$slots: n,
322
319
  $$scope: {
323
320
  ctx: []
324
321
  }
325
322
  })
326
323
  });
327
- const l = () => {
324
+ const o = () => {
328
325
  this.$$r = !0;
329
326
  for (const i in this.$$p_d)
330
327
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
331
- const r = S(
328
+ const l = S(
332
329
  i,
333
330
  this.$$d[i],
334
331
  this.$$p_d,
335
332
  "toAttribute"
336
333
  );
337
- r == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, r);
334
+ l == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, l);
338
335
  }
339
336
  this.$$r = !1;
340
337
  };
341
- this.$$c.$$.after_update.push(l), l();
338
+ this.$$c.$$.after_update.push(o), o();
342
339
  for (const i in this.$$l)
343
- for (const r of this.$$l[i]) {
344
- const o = this.$$c.$on(i, r);
345
- this.$$l_u.set(r, o);
340
+ for (const l of this.$$l[i]) {
341
+ const r = this.$$c.$on(i, l);
342
+ this.$$l_u.set(l, r);
346
343
  }
347
344
  this.$$l = {};
348
345
  }
@@ -351,8 +348,8 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
351
348
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
352
349
  // and setting attributes through setAttribute etc, this is helpful
353
350
  attributeChangedCallback(t, n, s) {
354
- var l;
355
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = S(t, s, this.$$p_d, "toProp"), (l = this.$$c) == null || l.$set({ [t]: this.$$d[t] }));
351
+ var o;
352
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = S(t, s, this.$$p_d, "toProp"), (o = this.$$c) == null || o.$set({ [t]: this.$$d[t] }));
356
353
  }
357
354
  disconnectedCallback() {
358
355
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -367,11 +364,11 @@ typeof HTMLElement == "function" && (st = class extends HTMLElement {
367
364
  });
368
365
  function S(e, t, n, s) {
369
366
  var i;
370
- const l = (i = n[e]) == null ? void 0 : i.type;
371
- if (t = l === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !n[e])
367
+ const o = (i = n[e]) == null ? void 0 : i.type;
368
+ if (t = o === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !n[e])
372
369
  return t;
373
370
  if (s === "toAttribute")
374
- switch (l) {
371
+ switch (o) {
375
372
  case "Object":
376
373
  case "Array":
377
374
  return t == null ? null : JSON.stringify(t);
@@ -383,7 +380,7 @@ function S(e, t, n, s) {
383
380
  return t;
384
381
  }
385
382
  else
386
- switch (l) {
383
+ switch (o) {
387
384
  case "Object":
388
385
  case "Array":
389
386
  return t && JSON.parse(t);
@@ -395,38 +392,38 @@ function S(e, t, n, s) {
395
392
  return t;
396
393
  }
397
394
  }
398
- function Tt(e, t, n, s, l, i) {
399
- let r = class extends st {
395
+ function xt(e, t, n, s, o, i) {
396
+ let l = class extends st {
400
397
  constructor() {
401
- super(e, n, l), this.$$p_d = t;
398
+ super(e, n, o), this.$$p_d = t;
402
399
  }
403
400
  static get observedAttributes() {
404
401
  return Object.keys(t).map(
405
- (o) => (t[o].attribute || o).toLowerCase()
402
+ (r) => (t[r].attribute || r).toLowerCase()
406
403
  );
407
404
  }
408
405
  };
409
- return Object.keys(t).forEach((o) => {
410
- Object.defineProperty(r.prototype, o, {
406
+ return Object.keys(t).forEach((r) => {
407
+ Object.defineProperty(l.prototype, r, {
411
408
  get() {
412
- return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
409
+ return this.$$c && r in this.$$c ? this.$$c[r] : this.$$d[r];
413
410
  },
414
411
  set(u) {
415
412
  var c;
416
- u = S(o, u, t), this.$$d[o] = u, (c = this.$$c) == null || c.$set({ [o]: u });
413
+ u = S(r, u, t), this.$$d[r] = u, (c = this.$$c) == null || c.$set({ [r]: u });
417
414
  }
418
415
  });
419
- }), s.forEach((o) => {
420
- Object.defineProperty(r.prototype, o, {
416
+ }), s.forEach((r) => {
417
+ Object.defineProperty(l.prototype, r, {
421
418
  get() {
422
419
  var u;
423
- return (u = this.$$c) == null ? void 0 : u[o];
420
+ return (u = this.$$c) == null ? void 0 : u[r];
424
421
  }
425
422
  });
426
423
  }), e.element = /** @type {any} */
427
- r, r;
424
+ l, l;
428
425
  }
429
- class Ot {
426
+ class jt {
430
427
  constructor() {
431
428
  /**
432
429
  * ### PRIVATE API
@@ -435,7 +432,7 @@ class Ot {
435
432
  *
436
433
  * @type {any}
437
434
  */
438
- h(this, "$$");
435
+ d(this, "$$");
439
436
  /**
440
437
  * ### PRIVATE API
441
438
  *
@@ -443,11 +440,11 @@ class Ot {
443
440
  *
444
441
  * @type {any}
445
442
  */
446
- h(this, "$$set");
443
+ d(this, "$$set");
447
444
  }
448
445
  /** @returns {void} */
449
446
  $destroy() {
450
- Ct(this, 1), this.$destroy = k;
447
+ Lt(this, 1), this.$destroy = L;
451
448
  }
452
449
  /**
453
450
  * @template {Extract<keyof Events, string>} K
@@ -456,12 +453,12 @@ class Ot {
456
453
  * @returns {() => void}
457
454
  */
458
455
  $on(t, n) {
459
- if (!et(n))
460
- return k;
456
+ if (!tt(n))
457
+ return L;
461
458
  const s = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
462
459
  return s.push(n), () => {
463
- const l = s.indexOf(n);
464
- l !== -1 && s.splice(l, 1);
460
+ const o = s.indexOf(n);
461
+ o !== -1 && s.splice(o, 1);
465
462
  };
466
463
  }
467
464
  /**
@@ -472,69 +469,69 @@ class Ot {
472
469
  this.$$set && !ut(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
473
470
  }
474
471
  }
475
- const St = "4";
476
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(St);
477
- const At = (e) => (n) => {
472
+ const Ot = "4";
473
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ot);
474
+ const St = (e) => (n) => {
478
475
  Object.keys(e).map((s) => {
479
476
  if (n.data && n.data.type == s) {
480
- const l = n.data, { type: i } = l, r = J(l, ["type"]);
481
- e[s](r);
477
+ const o = n.data, { type: i } = o, l = J(o, ["type"]);
478
+ e[s](l);
482
479
  }
483
480
  });
484
- }, Nt = (e) => {
485
- const t = At(e);
486
- _t(() => (window.addEventListener("message", t, !1), () => {
481
+ }, At = (e) => {
482
+ const t = St(e);
483
+ nt(() => (window.addEventListener("message", t, !1), () => {
487
484
  window.removeEventListener("message", t);
488
485
  }));
489
486
  };
490
- function Ft(e) {
491
- ft(e, "svelte-1dj34fv", ".svelte-1dj34fv.svelte-1dj34fv,.svelte-1dj34fv.svelte-1dj34fv::before,.svelte-1dj34fv.svelte-1dj34fv::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab.svelte-1dj34fv.svelte-1dj34fv{color:#F7F7F7;font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab.svelte-1dj34fv ul.svelte-1dj34fv{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw #424242 solid}.casino-tournaments-tab.svelte-1dj34fv ul li.svelte-1dj34fv{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;flex:auto;display:block}.casino-tournaments-tab.svelte-1dj34fv ul li.active.svelte-1dj34fv{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab.svelte-1dj34fv ul li span.svelte-1dj34fv{margin:auto 0}.casino-tournaments-tab.svelte-1dj34fv sup.svelte-1dj34fv{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab.svelte-1dj34fv sup span.svelte-1dj34fv{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}");
487
+ function Mt(e) {
488
+ at(e, "svelte-1eq8iwl", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:#F7F7F7;font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab ul{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw #424242 solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;flex:auto;display:block}.casino-tournaments-tab ul li.active{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab ul li span{margin:auto 0}.casino-tournaments-tab sup{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab sup span{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}");
492
489
  }
493
- function X(e, t, n) {
490
+ function W(e, t, n) {
494
491
  const s = e.slice();
495
492
  return s[14] = t[n], s;
496
493
  }
497
- function Y(e) {
494
+ function X(e) {
498
495
  let t, n, s = (
499
496
  /*totalReceiver*/
500
497
  e[1][
501
498
  /*_tab*/
502
499
  e[14]
503
500
  ] + ""
504
- ), l;
501
+ ), o;
505
502
  return {
506
503
  c() {
507
- t = _("sup"), n = _("span"), l = H(s), d(n, "part", "SupText"), d(n, "class", "svelte-1dj34fv"), d(t, "part", "sup"), d(t, "class", "svelte-1dj34fv");
504
+ t = _("sup"), n = _("span"), o = H(s), g(n, "part", "SupText"), g(t, "part", "sup");
508
505
  },
509
- m(i, r) {
510
- N(i, t, r), m(t, n), m(n, l);
506
+ m(i, l) {
507
+ M(i, t, l), m(t, n), m(n, o);
511
508
  },
512
- p(i, r) {
513
- r & /*totalReceiver, __tabs*/
509
+ p(i, l) {
510
+ l & /*totalReceiver, __tabs*/
514
511
  18 && s !== (s = /*totalReceiver*/
515
512
  i[1][
516
513
  /*_tab*/
517
514
  i[14]
518
- ] + "") && nt(l, s);
515
+ ] + "") && et(o, s);
519
516
  },
520
517
  d(i) {
521
- i && L(t);
518
+ i && C(t);
522
519
  }
523
520
  };
524
521
  }
525
- function Z(e) {
522
+ function Y(e) {
526
523
  let t, n, s = (
527
524
  /*textReceiver*/
528
525
  e[2][
529
526
  /*_tab*/
530
527
  e[14]
531
528
  ] + ""
532
- ), l, i, r, o, u, c, $, f = (
529
+ ), o, i, l, r, u, c, h, a = (
533
530
  /*totalReceiver*/
534
531
  e[1][
535
532
  /*_tab*/
536
533
  e[14]
537
- ] >= 0 && Y(e)
534
+ ] >= 0 && X(e)
538
535
  );
539
536
  function p() {
540
537
  return (
@@ -547,97 +544,93 @@ function Z(e) {
547
544
  }
548
545
  return {
549
546
  c() {
550
- t = _("li"), n = _("span"), l = H(s), i = K(), f && f.c(), r = K(), d(n, "part", "LiText"), d(n, "class", "svelte-1dj34fv"), d(t, "class", o = G(
551
- /*__tab*/
552
- e[3] === /*_tab*/
553
- e[14] ? "active" : ""
554
- ) + " svelte-1dj34fv"), d(t, "part", u = `${/*_tab*/
547
+ t = _("li"), n = _("span"), o = H(s), i = G(), a && a.c(), l = G(), g(n, "part", "LiText"), g(t, "class", r = /*__tab*/
548
+ e[3] === /*_tab*/
549
+ e[14] ? "active" : ""), g(t, "part", u = `${/*_tab*/
555
550
  e[14]} li ` + /*__tab*/
556
551
  (e[3] === /*_tab*/
557
552
  e[14] ? "active" : ""));
558
553
  },
559
- m(b, g) {
560
- N(b, t, g), m(t, n), m(n, l), m(t, i), f && f.m(t, null), m(t, r), c || ($ = $t(t, "click", p), c = !0);
554
+ m(b, $) {
555
+ M(b, t, $), m(t, n), m(n, o), m(t, i), a && a.m(t, null), m(t, l), c || (h = $t(t, "click", p), c = !0);
561
556
  },
562
- p(b, g) {
563
- e = b, g & /*textReceiver, __tabs*/
557
+ p(b, $) {
558
+ e = b, $ & /*textReceiver, __tabs*/
564
559
  20 && s !== (s = /*textReceiver*/
565
560
  e[2][
566
561
  /*_tab*/
567
562
  e[14]
568
- ] + "") && nt(l, s), /*totalReceiver*/
563
+ ] + "") && et(o, s), /*totalReceiver*/
569
564
  e[1][
570
565
  /*_tab*/
571
566
  e[14]
572
- ] >= 0 ? f ? f.p(e, g) : (f = Y(e), f.c(), f.m(t, r)) : f && (f.d(1), f = null), g & /*__tab, __tabs*/
573
- 24 && o !== (o = G(
574
- /*__tab*/
575
- e[3] === /*_tab*/
576
- e[14] ? "active" : ""
577
- ) + " svelte-1dj34fv") && d(t, "class", o), g & /*__tabs, __tab*/
567
+ ] >= 0 ? a ? a.p(e, $) : (a = X(e), a.c(), a.m(t, l)) : a && (a.d(1), a = null), $ & /*__tab, __tabs*/
568
+ 24 && r !== (r = /*__tab*/
569
+ e[3] === /*_tab*/
570
+ e[14] ? "active" : "") && g(t, "class", r), $ & /*__tabs, __tab*/
578
571
  24 && u !== (u = `${/*_tab*/
579
572
  e[14]} li ` + /*__tab*/
580
573
  (e[3] === /*_tab*/
581
- e[14] ? "active" : "")) && d(t, "part", u);
574
+ e[14] ? "active" : "")) && g(t, "part", u);
582
575
  },
583
576
  d(b) {
584
- b && L(t), f && f.d(), c = !1, $();
577
+ b && C(t), a && a.d(), c = !1, h();
585
578
  }
586
579
  };
587
580
  }
588
- function Mt(e) {
589
- let t, n, s = W(
581
+ function Nt(e) {
582
+ let t, n, s = Q(
590
583
  /*__tabs*/
591
584
  e[4]
592
- ), l = [];
585
+ ), o = [];
593
586
  for (let i = 0; i < s.length; i += 1)
594
- l[i] = Z(X(e, s, i));
587
+ o[i] = Y(W(e, s, i));
595
588
  return {
596
589
  c() {
597
590
  t = _("div"), n = _("ul");
598
- for (let i = 0; i < l.length; i += 1)
599
- l[i].c();
600
- d(n, "part", "ul"), d(n, "class", "svelte-1dj34fv"), d(t, "class", "casino-tournaments-tab svelte-1dj34fv"), d(t, "part", "CustomStylingContainer");
591
+ for (let i = 0; i < o.length; i += 1)
592
+ o[i].c();
593
+ g(n, "part", "ul"), g(t, "class", "casino-tournaments-tab"), g(t, "part", "CustomStylingContainer");
601
594
  },
602
- m(i, r) {
603
- N(i, t, r), m(t, n);
604
- for (let o = 0; o < l.length; o += 1)
605
- l[o] && l[o].m(n, null);
595
+ m(i, l) {
596
+ M(i, t, l), m(t, n);
597
+ for (let r = 0; r < o.length; r += 1)
598
+ o[r] && o[r].m(n, null);
606
599
  e[10](t);
607
600
  },
608
- p(i, [r]) {
609
- if (r & /*__tab, __tabs, window, totalReceiver, textReceiver*/
601
+ p(i, [l]) {
602
+ if (l & /*__tab, __tabs, window, totalReceiver, textReceiver*/
610
603
  30) {
611
- s = W(
604
+ s = Q(
612
605
  /*__tabs*/
613
606
  i[4]
614
607
  );
615
- let o;
616
- for (o = 0; o < s.length; o += 1) {
617
- const u = X(i, s, o);
618
- l[o] ? l[o].p(u, r) : (l[o] = Z(u), l[o].c(), l[o].m(n, null));
608
+ let r;
609
+ for (r = 0; r < s.length; r += 1) {
610
+ const u = W(i, s, r);
611
+ o[r] ? o[r].p(u, l) : (o[r] = Y(u), o[r].c(), o[r].m(n, null));
619
612
  }
620
- for (; o < l.length; o += 1)
621
- l[o].d(1);
622
- l.length = s.length;
613
+ for (; r < o.length; r += 1)
614
+ o[r].d(1);
615
+ o.length = s.length;
623
616
  }
624
617
  },
625
- i: k,
626
- o: k,
618
+ i: L,
619
+ o: L,
627
620
  d(i) {
628
- i && L(t), ht(l, i), e[10](null);
621
+ i && C(t), ht(o, i), e[10](null);
629
622
  }
630
623
  };
631
624
  }
632
- function Pt(e, t, n) {
633
- let s, l, { tabs: i = "" } = t, { tab: r = void 0 } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, c, $ = {}, f = {};
625
+ function Ft(e, t, n) {
626
+ let s, o, { tabs: i = "" } = t, { tab: l = void 0 } = t, { clientstyling: r = "" } = t, { clientstylingurl: u = "" } = t, c, h = {}, a = {};
634
627
  const p = () => {
635
- let a = document.createElement("style");
636
- a.innerHTML = o, c.appendChild(a);
628
+ let f = document.createElement("style");
629
+ f.innerHTML = r, c.appendChild(f);
637
630
  }, b = () => {
638
- let a = new URL(u), U = document.createElement("style");
639
- fetch(a.href).then((F) => F.text()).then((F) => {
640
- U.innerHTML = F, setTimeout(
631
+ let f = new URL(u), U = document.createElement("style");
632
+ fetch(f.href).then((N) => N.text()).then((N) => {
633
+ U.innerHTML = N, setTimeout(
641
634
  () => {
642
635
  c.appendChild(U);
643
636
  },
@@ -649,53 +642,55 @@ function Pt(e, t, n) {
649
642
  );
650
643
  });
651
644
  };
652
- Nt({
653
- TournamentsTabTotalUpdate: (a) => {
654
- n(1, $ = O(T({}, $), {
655
- [a.state]: a.total
645
+ At({
646
+ TournamentsTabTotalUpdate: (f) => {
647
+ n(1, h = O(j({}, h), {
648
+ [f.state]: f.total
656
649
  }));
657
650
  },
658
- TournamentsTabLocaleTextUpdate: (a) => {
659
- n(2, f = O(T({}, f), { [a.state]: a.text }));
651
+ TournamentsTabLocaleTextUpdate: (f) => {
652
+ n(2, a = O(j({}, a), { [f.state]: f.text }));
660
653
  }
654
+ }), nt(() => {
655
+ window.postMessage({ type: "TournamentsTabListenerLoaded" }, window.location.href);
661
656
  });
662
- const g = (a) => {
663
- n(3, l = a), window.postMessage({ type: "TournamentsTabSwitch", tab: a }, window.location.href);
657
+ const $ = (f) => {
658
+ n(3, o = f), window.postMessage({ type: "TournamentsTabSwitch", tab: f }, window.location.href);
664
659
  };
665
- function it(a) {
666
- R[a ? "unshift" : "push"](() => {
667
- c = a, n(0, c);
660
+ function it(f) {
661
+ R[f ? "unshift" : "push"](() => {
662
+ c = f, n(0, c);
668
663
  });
669
664
  }
670
- return e.$$set = (a) => {
671
- "tabs" in a && n(5, i = a.tabs), "tab" in a && n(6, r = a.tab), "clientstyling" in a && n(7, o = a.clientstyling), "clientstylingurl" in a && n(8, u = a.clientstylingurl);
665
+ return e.$$set = (f) => {
666
+ "tabs" in f && n(5, i = f.tabs), "tab" in f && n(6, l = f.tab), "clientstyling" in f && n(7, r = f.clientstyling), "clientstylingurl" in f && n(8, u = f.clientstylingurl);
672
667
  }, e.$$.update = () => {
673
668
  e.$$.dirty & /*customStylingContainer, clientstyling*/
674
- 129 && c && o && p(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
669
+ 129 && c && r && p(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
675
670
  257 && c && u && b(), e.$$.dirty & /*tabs*/
676
671
  32 && n(4, s = i.split(",")), e.$$.dirty & /*tab*/
677
- 64 && n(3, l = r);
672
+ 64 && n(3, o = l);
678
673
  }, [
679
674
  c,
680
- $,
681
- f,
682
- l,
675
+ h,
676
+ a,
677
+ o,
683
678
  s,
684
679
  i,
680
+ l,
685
681
  r,
686
- o,
687
682
  u,
688
- g,
683
+ $,
689
684
  it
690
685
  ];
691
686
  }
692
- class Rt extends Ot {
687
+ class Pt extends jt {
693
688
  constructor(t) {
694
- super(), xt(
689
+ super(), Ct(
695
690
  this,
696
691
  t,
697
- Pt,
698
- Mt,
692
+ Ft,
693
+ Nt,
699
694
  ct,
700
695
  {
701
696
  tabs: 5,
@@ -703,35 +698,35 @@ class Rt extends Ot {
703
698
  clientstyling: 7,
704
699
  clientstylingurl: 8
705
700
  },
706
- Ft
701
+ Mt
707
702
  );
708
703
  }
709
704
  get tabs() {
710
705
  return this.$$.ctx[5];
711
706
  }
712
707
  set tabs(t) {
713
- this.$$set({ tabs: t }), w();
708
+ this.$$set({ tabs: t }), v();
714
709
  }
715
710
  get tab() {
716
711
  return this.$$.ctx[6];
717
712
  }
718
713
  set tab(t) {
719
- this.$$set({ tab: t }), w();
714
+ this.$$set({ tab: t }), v();
720
715
  }
721
716
  get clientstyling() {
722
717
  return this.$$.ctx[7];
723
718
  }
724
719
  set clientstyling(t) {
725
- this.$$set({ clientstyling: t }), w();
720
+ this.$$set({ clientstyling: t }), v();
726
721
  }
727
722
  get clientstylingurl() {
728
723
  return this.$$.ctx[8];
729
724
  }
730
725
  set clientstylingurl(t) {
731
- this.$$set({ clientstylingurl: t }), w();
726
+ this.$$set({ clientstylingurl: t }), v();
732
727
  }
733
728
  }
734
- Tt(Rt, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
729
+ xt(Pt, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
735
730
  export {
736
- Rt as default
731
+ Pt as default
737
732
  };
@@ -0,0 +1 @@
1
+ "use strict";var rt=Object.defineProperty,lt=Object.defineProperties;var ct=Object.getOwnPropertyDescriptors;var x=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var F=(e,t,n)=>t in e?rt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,S=(e,t)=>{for(var n in t||(t={}))D.call(t,n)&&F(e,n,t[n]);if(x)for(var n of x(t))I.call(t,n)&&F(e,n,t[n]);return e},j=(e,t)=>lt(e,ct(t));var J=(e,t)=>{var n={};for(var s in e)D.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&x)for(var s of x(e))t.indexOf(s)<0&&I.call(e,s)&&(n[s]=e[s]);return n};var d=(e,t,n)=>F(e,typeof t!="symbol"?t+"":t,n);var V=(e,t,n)=>new Promise((s,o)=>{var i=u=>{try{r(n.next(u))}catch(c){o(c)}},l=u=>{try{r(n.throw(u))}catch(c){o(c)}},r=u=>u.done?s(u.value):Promise.resolve(u.value).then(i,l);r((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function L(){}function Z(e){return e()}function q(){return Object.create(null)}function M(e){e.forEach(Z)}function tt(e){return typeof e=="function"}function ut(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function at(e){return Object.keys(e).length===0}function m(e,t){e.appendChild(t)}function ft(e,t,n){const s=dt(e);if(!s.getElementById(t)){const o=_("style");o.id=t,o.textContent=n,ht(s,o)}}function dt(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ht(e,t){return m(e.head||e,t),t.sheet}function A(e,t,n){e.insertBefore(t,n||null)}function C(e){e.parentNode&&e.parentNode.removeChild(e)}function $t(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function _(e){return document.createElement(e)}function H(e){return document.createTextNode(e)}function G(){return H(" ")}function gt(e,t,n,s){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n,s)}function g(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function bt(e){return Array.from(e.childNodes)}function et(e,t){t=""+t,e.data!==t&&(e.data=t)}function mt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let T;function k(e){T=e}function _t(){if(!T)throw new Error("Function called outside component initialization");return T}function nt(e){_t().$$.on_mount.push(e)}const w=[],R=[];let E=[];const K=[],pt=Promise.resolve();let z=!1;function yt(){z||(z=!0,pt.then(v))}function B(e){E.push(e)}const P=new Set;let y=0;function v(){if(y!==0)return;const e=T;do{try{for(;y<w.length;){const t=w[y];y++,k(t),wt(t.$$)}}catch(t){throw w.length=0,y=0,t}for(k(null),w.length=0,y=0;R.length;)R.pop()();for(let t=0;t<E.length;t+=1){const n=E[t];P.has(n)||(P.add(n),n())}E.length=0}while(w.length);for(;K.length;)K.pop()();z=!1,P.clear(),k(e)}function wt(e){if(e.fragment!==null){e.update(),M(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(B)}}function vt(e){const t=[],n=[];E.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),E=t}const Et=new Set;function kt(e,t){e&&e.i&&(Et.delete(e),e.i(t))}function Q(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Lt(e,t,n){const{fragment:s,after_update:o}=e.$$;s&&s.m(t,n),B(()=>{const i=e.$$.on_mount.map(Z).filter(tt);e.$$.on_destroy?e.$$.on_destroy.push(...i):M(i),e.$$.on_mount=[]}),o.forEach(B)}function Tt(e,t){const n=e.$$;n.fragment!==null&&(vt(n.after_update),M(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Ct(e,t){e.$$.dirty[0]===-1&&(w.push(e),yt(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function xt(e,t,n,s,o,i,l=null,r=[-1]){const u=T;k(e);const c=e.$$={fragment:null,ctx:[],props:i,update:L,not_equal:o,bound:q(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:q(),dirty:r,skip_bound:!1,root:t.target||u.$$.root};l&&l(c.root);let h=!1;if(c.ctx=n?n(e,t.props||{},(a,p,...b)=>{const $=b.length?b[0]:p;return c.ctx&&o(c.ctx[a],c.ctx[a]=$)&&(!c.skip_bound&&c.bound[a]&&c.bound[a]($),h&&Ct(e,a)),p}):[],c.update(),h=!0,M(c.before_update),c.fragment=s?s(c.ctx):!1,t.target){if(t.hydrate){const a=bt(t.target);c.fragment&&c.fragment.l(a),a.forEach(C)}else c.fragment&&c.fragment.c();t.intro&&kt(e.$$.fragment),Lt(e,t.target,t.anchor),v()}k(u)}let st;typeof HTMLElement=="function"&&(st=class extends HTMLElement{constructor(t,n,s){super();d(this,"$$ctor");d(this,"$$s");d(this,"$$c");d(this,"$$cn",!1);d(this,"$$d",{});d(this,"$$r",!1);d(this,"$$p_d",{});d(this,"$$l",{});d(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(t,n,s){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const o=this.$$c.$on(t,n);this.$$l_u.set(n,o)}super.addEventListener(t,n,s)}removeEventListener(t,n,s){if(super.removeEventListener(t,n,s),this.$$c){const o=this.$$l_u.get(n);o&&(o(),this.$$l_u.delete(n))}}connectedCallback(){return V(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let l;return{c:function(){l=_("slot"),i!=="default"&&g(l,"name",i)},m:function(c,h){A(c,l,h)},d:function(c){c&&C(l)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=mt(this);for(const i of this.$$s)i in s&&(n[i]=[t(i)]);for(const i of this.attributes){const l=this.$$g_p(i.name);l in this.$$d||(this.$$d[l]=O(l,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:j(S({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const o=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const l=O(i,this.$$d[i],this.$$p_d,"toAttribute");l==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,l)}this.$$r=!1};this.$$c.$$.after_update.push(o),o();for(const i in this.$$l)for(const l of this.$$l[i]){const r=this.$$c.$on(i,l);this.$$l_u.set(l,r)}this.$$l={}}})}attributeChangedCallback(t,n,s){var o;this.$$r||(t=this.$$g_p(t),this.$$d[t]=O(t,s,this.$$p_d,"toProp"),(o=this.$$c)==null||o.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function O(e,t,n,s){var i;const o=(i=n[e])==null?void 0:i.type;if(t=o==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!n[e])return t;if(s==="toAttribute")switch(o){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(o){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function St(e,t,n,s,o,i){let l=class extends st{constructor(){super(e,n,o),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(r=>(t[r].attribute||r).toLowerCase())}};return Object.keys(t).forEach(r=>{Object.defineProperty(l.prototype,r,{get(){return this.$$c&&r in this.$$c?this.$$c[r]:this.$$d[r]},set(u){var c;u=O(r,u,t),this.$$d[r]=u,(c=this.$$c)==null||c.$set({[r]:u})}})}),s.forEach(r=>{Object.defineProperty(l.prototype,r,{get(){var u;return(u=this.$$c)==null?void 0:u[r]}})}),e.element=l,l}class jt{constructor(){d(this,"$$");d(this,"$$set")}$destroy(){Tt(this,1),this.$destroy=L}$on(t,n){if(!tt(n))return L;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const o=s.indexOf(n);o!==-1&&s.splice(o,1)}}$set(t){this.$$set&&!at(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const Ot="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(Ot);const Mt=e=>n=>{Object.keys(e).map(s=>{if(n.data&&n.data.type==s){const o=n.data,{type:i}=o,l=J(o,["type"]);e[s](l)}})},At=e=>{const t=Mt(e);nt(()=>(window.addEventListener("message",t,!1),()=>{window.removeEventListener("message",t)}))};function Nt(e){ft(e,"svelte-1eq8iwl","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:#F7F7F7;font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab ul{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw #424242 solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;flex:auto;display:block}.casino-tournaments-tab ul li.active{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab ul li span{margin:auto 0}.casino-tournaments-tab sup{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab sup span{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}")}function W(e,t,n){const s=e.slice();return s[14]=t[n],s}function X(e){let t,n,s=e[1][e[14]]+"",o;return{c(){t=_("sup"),n=_("span"),o=H(s),g(n,"part","SupText"),g(t,"part","sup")},m(i,l){A(i,t,l),m(t,n),m(n,o)},p(i,l){l&18&&s!==(s=i[1][i[14]]+"")&&et(o,s)},d(i){i&&C(t)}}}function Y(e){let t,n,s=e[2][e[14]]+"",o,i,l,r,u,c,h,a=e[1][e[14]]>=0&&X(e);function p(){return e[9](e[14])}return{c(){t=_("li"),n=_("span"),o=H(s),i=G(),a&&a.c(),l=G(),g(n,"part","LiText"),g(t,"class",r=e[3]===e[14]?"active":""),g(t,"part",u=`${e[14]} li `+(e[3]===e[14]?"active":""))},m(b,$){A(b,t,$),m(t,n),m(n,o),m(t,i),a&&a.m(t,null),m(t,l),c||(h=gt(t,"click",p),c=!0)},p(b,$){e=b,$&20&&s!==(s=e[2][e[14]]+"")&&et(o,s),e[1][e[14]]>=0?a?a.p(e,$):(a=X(e),a.c(),a.m(t,l)):a&&(a.d(1),a=null),$&24&&r!==(r=e[3]===e[14]?"active":"")&&g(t,"class",r),$&24&&u!==(u=`${e[14]} li `+(e[3]===e[14]?"active":""))&&g(t,"part",u)},d(b){b&&C(t),a&&a.d(),c=!1,h()}}}function Ft(e){let t,n,s=Q(e[4]),o=[];for(let i=0;i<s.length;i+=1)o[i]=Y(W(e,s,i));return{c(){t=_("div"),n=_("ul");for(let i=0;i<o.length;i+=1)o[i].c();g(n,"part","ul"),g(t,"class","casino-tournaments-tab"),g(t,"part","CustomStylingContainer")},m(i,l){A(i,t,l),m(t,n);for(let r=0;r<o.length;r+=1)o[r]&&o[r].m(n,null);e[10](t)},p(i,[l]){if(l&30){s=Q(i[4]);let r;for(r=0;r<s.length;r+=1){const u=W(i,s,r);o[r]?o[r].p(u,l):(o[r]=Y(u),o[r].c(),o[r].m(n,null))}for(;r<o.length;r+=1)o[r].d(1);o.length=s.length}},i:L,o:L,d(i){i&&C(t),$t(o,i),e[10](null)}}}function Pt(e,t,n){let s,o,{tabs:i=""}=t,{tab:l=void 0}=t,{clientstyling:r=""}=t,{clientstylingurl:u=""}=t,c,h={},a={};const p=()=>{let f=document.createElement("style");f.innerHTML=r,c.appendChild(f)},b=()=>{let f=new URL(u),U=document.createElement("style");fetch(f.href).then(N=>N.text()).then(N=>{U.innerHTML=N,setTimeout(()=>{c.appendChild(U)},1),setTimeout(()=>{},500)})};At({TournamentsTabTotalUpdate:f=>{n(1,h=j(S({},h),{[f.state]:f.total}))},TournamentsTabLocaleTextUpdate:f=>{n(2,a=j(S({},a),{[f.state]:f.text}))}}),nt(()=>{window.postMessage({type:"TournamentsTabListenerLoaded"},window.location.href)});const $=f=>{n(3,o=f),window.postMessage({type:"TournamentsTabSwitch",tab:f},window.location.href)};function ot(f){R[f?"unshift":"push"](()=>{c=f,n(0,c)})}return e.$$set=f=>{"tabs"in f&&n(5,i=f.tabs),"tab"in f&&n(6,l=f.tab),"clientstyling"in f&&n(7,r=f.clientstyling),"clientstylingurl"in f&&n(8,u=f.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&129&&c&&r&&p(),e.$$.dirty&257&&c&&u&&b(),e.$$.dirty&32&&n(4,s=i.split(",")),e.$$.dirty&64&&n(3,o=l)},[c,h,a,o,s,i,l,r,u,$,ot]}class it extends jt{constructor(t){super(),xt(this,t,Pt,Ft,ut,{tabs:5,tab:6,clientstyling:7,clientstylingurl:8},Nt)}get tabs(){return this.$$.ctx[5]}set tabs(t){this.$$set({tabs:t}),v()}get tab(){return this.$$.ctx[6]}set tab(t){this.$$set({tab:t}),v()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),v()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),v()}}St(it,{tabs:{},tab:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=it;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsTab-CIoxIVO5.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-tab")&&customElements.define("casino-tournaments-tab",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsTab-lSTXOBfS.cjs")).then(({default:t})=>{!customElements.get("casino-tournaments-tab")&&customElements.define("casino-tournaments-tab",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoTournamentsTab-DKZLvWUv.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsTab-Cq0HAjeo.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-tournaments-tab") && customElements.define("casino-tournaments-tab", t.element);
15
15
  });
16
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournaments-tab",
3
- "version": "1.45.0",
3
+ "version": "1.45.3",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-tournaments-tab.cjs",
6
6
  "module": "es2015/casino-tournaments-tab.js",
@@ -11,7 +11,7 @@
11
11
  },
12
12
  "./es2015/casino-tournaments-tab.cjs": "./es2015/casino-tournaments-tab.cjs"
13
13
  },
14
- "files": [
14
+ "files": [
15
15
  "es2015/",
16
16
  "components"
17
17
  ],
@@ -1 +0,0 @@
1
- "use strict";var ot=Object.defineProperty,rt=Object.defineProperties;var ct=Object.getOwnPropertyDescriptors;var T=Object.getOwnPropertySymbols;var D=Object.prototype.hasOwnProperty,I=Object.prototype.propertyIsEnumerable;var F=(e,t,n)=>t in e?ot(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,x=(e,t)=>{for(var n in t||(t={}))D.call(t,n)&&F(e,n,t[n]);if(T)for(var n of T(t))I.call(t,n)&&F(e,n,t[n]);return e},S=(e,t)=>rt(e,ct(t));var J=(e,t)=>{var n={};for(var s in e)D.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(e!=null&&T)for(var s of T(e))t.indexOf(s)<0&&I.call(e,s)&&(n[s]=e[s]);return n};var h=(e,t,n)=>F(e,typeof t!="symbol"?t+"":t,n);var V=(e,t,n)=>new Promise((s,l)=>{var i=u=>{try{o(n.next(u))}catch(c){l(c)}},r=u=>{try{o(n.throw(u))}catch(c){l(c)}},o=u=>u.done?s(u.value):Promise.resolve(u.value).then(i,r);o((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function k(){}function tt(e){return e()}function q(){return Object.create(null)}function A(e){e.forEach(tt)}function et(e){return typeof e=="function"}function ut(e,t){return e!=e?t==t:e!==t||e&&typeof e=="object"||typeof e=="function"}function ft(e){return Object.keys(e).length===0}function G(e){return e==null?"":e}function m(e,t){e.appendChild(t)}function at(e,t,n){const s=dt(e);if(!s.getElementById(t)){const l=_("style");l.id=t,l.textContent=n,ht(s,l)}}function dt(e){if(!e)return document;const t=e.getRootNode?e.getRootNode():e.ownerDocument;return t&&t.host?t:e.ownerDocument}function ht(e,t){return m(e.head||e,t),t.sheet}function M(e,t,n){e.insertBefore(t,n||null)}function L(e){e.parentNode&&e.parentNode.removeChild(e)}function $t(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function _(e){return document.createElement(e)}function H(e){return document.createTextNode(e)}function K(){return H(" ")}function gt(e,t,n,s){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n,s)}function d(e,t,n){n==null?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function bt(e){return Array.from(e.childNodes)}function nt(e,t){t=""+t,e.data!==t&&(e.data=t)}function mt(e){const t={};return e.childNodes.forEach(n=>{t[n.slot||"default"]=!0}),t}let C;function E(e){C=e}function _t(){if(!C)throw new Error("Function called outside component initialization");return C}function pt(e){_t().$$.on_mount.push(e)}const y=[],R=[];let j=[];const Q=[],vt=Promise.resolve();let z=!1;function yt(){z||(z=!0,vt.then(w))}function B(e){j.push(e)}const P=new Set;let v=0;function w(){if(v!==0)return;const e=C;do{try{for(;v<y.length;){const t=y[v];v++,E(t),wt(t.$$)}}catch(t){throw y.length=0,v=0,t}for(E(null),y.length=0,v=0;R.length;)R.pop()();for(let t=0;t<j.length;t+=1){const n=j[t];P.has(n)||(P.add(n),n())}j.length=0}while(y.length);for(;Q.length;)Q.pop()();z=!1,P.clear(),E(e)}function wt(e){if(e.fragment!==null){e.update(),A(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(B)}}function jt(e){const t=[],n=[];j.forEach(s=>e.indexOf(s)===-1?t.push(s):n.push(s)),n.forEach(s=>s()),j=t}const Et=new Set;function kt(e,t){e&&e.i&&(Et.delete(e),e.i(t))}function W(e){return(e==null?void 0:e.length)!==void 0?e:Array.from(e)}function Ct(e,t,n){const{fragment:s,after_update:l}=e.$$;s&&s.m(t,n),B(()=>{const i=e.$$.on_mount.map(tt).filter(et);e.$$.on_destroy?e.$$.on_destroy.push(...i):A(i),e.$$.on_mount=[]}),l.forEach(B)}function Lt(e,t){const n=e.$$;n.fragment!==null&&(jt(n.after_update),A(n.on_destroy),n.fragment&&n.fragment.d(t),n.on_destroy=n.fragment=null,n.ctx=[])}function Tt(e,t){e.$$.dirty[0]===-1&&(y.push(e),yt(),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function xt(e,t,n,s,l,i,r=null,o=[-1]){const u=C;E(e);const c=e.$$={fragment:null,ctx:[],props:i,update:k,not_equal:l,bound:q(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(u?u.$$.context:[])),callbacks:q(),dirty:o,skip_bound:!1,root:t.target||u.$$.root};r&&r(c.root);let $=!1;if(c.ctx=n?n(e,t.props||{},(f,p,...b)=>{const g=b.length?b[0]:p;return c.ctx&&l(c.ctx[f],c.ctx[f]=g)&&(!c.skip_bound&&c.bound[f]&&c.bound[f](g),$&&Tt(e,f)),p}):[],c.update(),$=!0,A(c.before_update),c.fragment=s?s(c.ctx):!1,t.target){if(t.hydrate){const f=bt(t.target);c.fragment&&c.fragment.l(f),f.forEach(L)}else c.fragment&&c.fragment.c();t.intro&&kt(e.$$.fragment),Ct(e,t.target,t.anchor),w()}E(u)}let st;typeof HTMLElement=="function"&&(st=class extends HTMLElement{constructor(t,n,s){super();h(this,"$$ctor");h(this,"$$s");h(this,"$$c");h(this,"$$cn",!1);h(this,"$$d",{});h(this,"$$r",!1);h(this,"$$p_d",{});h(this,"$$l",{});h(this,"$$l_u",new Map);this.$$ctor=t,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(t,n,s){if(this.$$l[t]=this.$$l[t]||[],this.$$l[t].push(n),this.$$c){const l=this.$$c.$on(t,n);this.$$l_u.set(n,l)}super.addEventListener(t,n,s)}removeEventListener(t,n,s){if(super.removeEventListener(t,n,s),this.$$c){const l=this.$$l_u.get(n);l&&(l(),this.$$l_u.delete(n))}}connectedCallback(){return V(this,null,function*(){if(this.$$cn=!0,!this.$$c){let t=function(i){return()=>{let r;return{c:function(){r=_("slot"),i!=="default"&&d(r,"name",i)},m:function(c,$){M(c,r,$)},d:function(c){c&&L(r)}}}};if(yield Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=mt(this);for(const i of this.$$s)i in s&&(n[i]=[t(i)]);for(const i of this.attributes){const r=this.$$g_p(i.name);r in this.$$d||(this.$$d[r]=O(r,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:S(x({},this.$$d),{$$slots:n,$$scope:{ctx:[]}})});const l=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const r=O(i,this.$$d[i],this.$$p_d,"toAttribute");r==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,r)}this.$$r=!1};this.$$c.$$.after_update.push(l),l();for(const i in this.$$l)for(const r of this.$$l[i]){const o=this.$$c.$on(i,r);this.$$l_u.set(r,o)}this.$$l={}}})}attributeChangedCallback(t,n,s){var l;this.$$r||(t=this.$$g_p(t),this.$$d[t]=O(t,s,this.$$p_d,"toProp"),(l=this.$$c)==null||l.$set({[t]:this.$$d[t]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(t){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===t||!this.$$p_d[n].attribute&&n.toLowerCase()===t)||t}});function O(e,t,n,s){var i;const l=(i=n[e])==null?void 0:i.type;if(t=l==="Boolean"&&typeof t!="boolean"?t!=null:t,!s||!n[e])return t;if(s==="toAttribute")switch(l){case"Object":case"Array":return t==null?null:JSON.stringify(t);case"Boolean":return t?"":null;case"Number":return t==null?null:t;default:return t}else switch(l){case"Object":case"Array":return t&&JSON.parse(t);case"Boolean":return t;case"Number":return t!=null?+t:t;default:return t}}function St(e,t,n,s,l,i){let r=class extends st{constructor(){super(e,n,l),this.$$p_d=t}static get observedAttributes(){return Object.keys(t).map(o=>(t[o].attribute||o).toLowerCase())}};return Object.keys(t).forEach(o=>{Object.defineProperty(r.prototype,o,{get(){return this.$$c&&o in this.$$c?this.$$c[o]:this.$$d[o]},set(u){var c;u=O(o,u,t),this.$$d[o]=u,(c=this.$$c)==null||c.$set({[o]:u})}})}),s.forEach(o=>{Object.defineProperty(r.prototype,o,{get(){var u;return(u=this.$$c)==null?void 0:u[o]}})}),e.element=r,r}class Ot{constructor(){h(this,"$$");h(this,"$$set")}$destroy(){Lt(this,1),this.$destroy=k}$on(t,n){if(!et(n))return k;const s=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return s.push(n),()=>{const l=s.indexOf(n);l!==-1&&s.splice(l,1)}}$set(t){this.$$set&&!ft(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}}const At="4";typeof window!="undefined"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(At);const Mt=e=>n=>{Object.keys(e).map(s=>{if(n.data&&n.data.type==s){const l=n.data,{type:i}=l,r=J(l,["type"]);e[s](r)}})},Nt=e=>{const t=Mt(e);pt(()=>(window.addEventListener("message",t,!1),()=>{window.removeEventListener("message",t)}))};function Ft(e){at(e,"svelte-1dj34fv",".svelte-1dj34fv.svelte-1dj34fv,.svelte-1dj34fv.svelte-1dj34fv::before,.svelte-1dj34fv.svelte-1dj34fv::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab.svelte-1dj34fv.svelte-1dj34fv{color:#F7F7F7;font:inherit;margin:3.125vw 0 1.25vw 0}.casino-tournaments-tab.svelte-1dj34fv ul.svelte-1dj34fv{display:flex;justify-content:space-between;width:100%;font-weight:600;font-size:3.75vw;border-bottom:0.3125vw #424242 solid}.casino-tournaments-tab.svelte-1dj34fv ul li.svelte-1dj34fv{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;flex:auto;display:block}.casino-tournaments-tab.svelte-1dj34fv ul li.active.svelte-1dj34fv{color:#FF8364;border-bottom:0.625vw #FF8364 solid}.casino-tournaments-tab.svelte-1dj34fv ul li span.svelte-1dj34fv{margin:auto 0}.casino-tournaments-tab.svelte-1dj34fv sup.svelte-1dj34fv{box-sizing:border-box;position:absolute;top:2.8125vw;right:0;transform:translate(0%, -50%);transform-origin:100% 0%;overflow:hidden;direction:ltr;z-index:auto;min-width:4.375vw;height:4.375vw;color:#fff;font-weight:400;font-size:4.375vw;line-height:4.375vw;white-space:nowrap;text-align:center;background:#FF8364;border-radius:3.125vw}.casino-tournaments-tab.svelte-1dj34fv sup span.svelte-1dj34fv{font-size:3.125vw;font-weight:600;padding-right:0.15625vw;display:inline-block;vertical-align:super}")}function X(e,t,n){const s=e.slice();return s[14]=t[n],s}function Y(e){let t,n,s=e[1][e[14]]+"",l;return{c(){t=_("sup"),n=_("span"),l=H(s),d(n,"part","SupText"),d(n,"class","svelte-1dj34fv"),d(t,"part","sup"),d(t,"class","svelte-1dj34fv")},m(i,r){M(i,t,r),m(t,n),m(n,l)},p(i,r){r&18&&s!==(s=i[1][i[14]]+"")&&nt(l,s)},d(i){i&&L(t)}}}function Z(e){let t,n,s=e[2][e[14]]+"",l,i,r,o,u,c,$,f=e[1][e[14]]>=0&&Y(e);function p(){return e[9](e[14])}return{c(){t=_("li"),n=_("span"),l=H(s),i=K(),f&&f.c(),r=K(),d(n,"part","LiText"),d(n,"class","svelte-1dj34fv"),d(t,"class",o=G(e[3]===e[14]?"active":"")+" svelte-1dj34fv"),d(t,"part",u=`${e[14]} li `+(e[3]===e[14]?"active":""))},m(b,g){M(b,t,g),m(t,n),m(n,l),m(t,i),f&&f.m(t,null),m(t,r),c||($=gt(t,"click",p),c=!0)},p(b,g){e=b,g&20&&s!==(s=e[2][e[14]]+"")&&nt(l,s),e[1][e[14]]>=0?f?f.p(e,g):(f=Y(e),f.c(),f.m(t,r)):f&&(f.d(1),f=null),g&24&&o!==(o=G(e[3]===e[14]?"active":"")+" svelte-1dj34fv")&&d(t,"class",o),g&24&&u!==(u=`${e[14]} li `+(e[3]===e[14]?"active":""))&&d(t,"part",u)},d(b){b&&L(t),f&&f.d(),c=!1,$()}}}function Pt(e){let t,n,s=W(e[4]),l=[];for(let i=0;i<s.length;i+=1)l[i]=Z(X(e,s,i));return{c(){t=_("div"),n=_("ul");for(let i=0;i<l.length;i+=1)l[i].c();d(n,"part","ul"),d(n,"class","svelte-1dj34fv"),d(t,"class","casino-tournaments-tab svelte-1dj34fv"),d(t,"part","CustomStylingContainer")},m(i,r){M(i,t,r),m(t,n);for(let o=0;o<l.length;o+=1)l[o]&&l[o].m(n,null);e[10](t)},p(i,[r]){if(r&30){s=W(i[4]);let o;for(o=0;o<s.length;o+=1){const u=X(i,s,o);l[o]?l[o].p(u,r):(l[o]=Z(u),l[o].c(),l[o].m(n,null))}for(;o<l.length;o+=1)l[o].d(1);l.length=s.length}},i:k,o:k,d(i){i&&L(t),$t(l,i),e[10](null)}}}function Rt(e,t,n){let s,l,{tabs:i=""}=t,{tab:r=void 0}=t,{clientstyling:o=""}=t,{clientstylingurl:u=""}=t,c,$={},f={};const p=()=>{let a=document.createElement("style");a.innerHTML=o,c.appendChild(a)},b=()=>{let a=new URL(u),U=document.createElement("style");fetch(a.href).then(N=>N.text()).then(N=>{U.innerHTML=N,setTimeout(()=>{c.appendChild(U)},1),setTimeout(()=>{},500)})};Nt({TournamentsTabTotalUpdate:a=>{n(1,$=S(x({},$),{[a.state]:a.total}))},TournamentsTabLocaleTextUpdate:a=>{n(2,f=S(x({},f),{[a.state]:a.text}))}});const g=a=>{n(3,l=a),window.postMessage({type:"TournamentsTabSwitch",tab:a},window.location.href)};function lt(a){R[a?"unshift":"push"](()=>{c=a,n(0,c)})}return e.$$set=a=>{"tabs"in a&&n(5,i=a.tabs),"tab"in a&&n(6,r=a.tab),"clientstyling"in a&&n(7,o=a.clientstyling),"clientstylingurl"in a&&n(8,u=a.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&129&&c&&o&&p(),e.$$.dirty&257&&c&&u&&b(),e.$$.dirty&32&&n(4,s=i.split(",")),e.$$.dirty&64&&n(3,l=r)},[c,$,f,l,s,i,r,o,u,g,lt]}class it extends Ot{constructor(t){super(),xt(this,t,Rt,Pt,ut,{tabs:5,tab:6,clientstyling:7,clientstylingurl:8},Ft)}get tabs(){return this.$$.ctx[5]}set tabs(t){this.$$set({tabs:t}),w()}get tab(){return this.$$.ctx[6]}set tab(t){this.$$set({tab:t}),w()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(t){this.$$set({clientstyling:t}),w()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),w()}}St(it,{tabs:{},tab:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=it;