@everymatrix/casino-tournaments-tab 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,26 +1,26 @@
1
- var lt = Object.defineProperty, ct = Object.defineProperties;
2
- var ut = Object.getOwnPropertyDescriptors;
3
- var j = Object.getOwnPropertySymbols;
4
- var I = Object.prototype.hasOwnProperty, D = Object.prototype.propertyIsEnumerable;
5
- var F = (e, t, n) => t in e ? lt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, O = (e, t) => {
1
+ var it = Object.defineProperty, ot = Object.defineProperties;
2
+ var rt = Object.getOwnPropertyDescriptors;
3
+ var x = Object.getOwnPropertySymbols;
4
+ var H = Object.prototype.hasOwnProperty, U = Object.prototype.propertyIsEnumerable;
5
+ var N = (e, t, n) => t in e ? it(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
- I.call(t, n) && F(e, n, t[n]);
8
- if (j)
9
- for (var n of j(t))
10
- D.call(t, n) && F(e, n, t[n]);
7
+ H.call(t, n) && N(e, n, t[n]);
8
+ if (x)
9
+ for (var n of x(t))
10
+ U.call(t, n) && N(e, n, t[n]);
11
11
  return e;
12
- }, S = (e, t) => ct(e, ut(t));
13
- var J = (e, t) => {
12
+ }, M = (e, t) => ot(e, rt(t));
13
+ var I = (e, t) => {
14
14
  var n = {};
15
15
  for (var s in e)
16
- I.call(e, s) && t.indexOf(s) < 0 && (n[s] = e[s]);
17
- if (e != null && j)
18
- for (var s of j(e))
19
- t.indexOf(s) < 0 && D.call(e, s) && (n[s] = e[s]);
16
+ H.call(e, s) && t.indexOf(s) < 0 && (n[s] = e[s]);
17
+ if (e != null && x)
18
+ for (var s of x(e))
19
+ t.indexOf(s) < 0 && U.call(e, s) && (n[s] = e[s]);
20
20
  return n;
21
21
  };
22
- var d = (e, t, n) => (F(e, typeof t != "symbol" ? t + "" : t, n), n);
23
- var V = (e, t, n) => new Promise((s, i) => {
22
+ var $ = (e, t, n) => (N(e, typeof t != "symbol" ? t + "" : t, n), n);
23
+ var D = (e, t, n) => new Promise((s, i) => {
24
24
  var o = (u) => {
25
25
  try {
26
26
  c(n.next(u));
@@ -38,35 +38,35 @@ var V = (e, t, n) => new Promise((s, i) => {
38
38
  });
39
39
  function T() {
40
40
  }
41
- function tt(e) {
41
+ function Y(e) {
42
42
  return e();
43
43
  }
44
- function q() {
44
+ function J() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function M(e) {
48
- e.forEach(tt);
47
+ function A(e) {
48
+ e.forEach(Y);
49
49
  }
50
- function et(e) {
50
+ function Z(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function at(e, t) {
53
+ function lt(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- function ft(e) {
56
+ function ct(e) {
57
57
  return Object.keys(e).length === 0;
58
58
  }
59
- function p(e, t) {
59
+ function w(e, t) {
60
60
  e.appendChild(t);
61
61
  }
62
- function dt(e, t, n) {
63
- const s = ht(e);
62
+ function ut(e, t, n) {
63
+ const s = at(e);
64
64
  if (!s.getElementById(t)) {
65
65
  const i = _("style");
66
- i.id = t, i.textContent = n, $t(s, i);
66
+ i.id = t, i.textContent = n, ft(s, i);
67
67
  }
68
68
  }
69
- function ht(e) {
69
+ function at(e) {
70
70
  if (!e)
71
71
  return document;
72
72
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -76,46 +76,46 @@ function ht(e) {
76
76
  t
77
77
  ) : e.ownerDocument;
78
78
  }
79
- function $t(e, t) {
80
- return p(
79
+ function ft(e, t) {
80
+ return w(
81
81
  /** @type {Document} */
82
82
  e.head || e,
83
83
  t
84
84
  ), t.sheet;
85
85
  }
86
- function x(e, t, n) {
86
+ function S(e, t, n) {
87
87
  e.insertBefore(t, n || null);
88
88
  }
89
89
  function E(e) {
90
90
  e.parentNode && e.parentNode.removeChild(e);
91
91
  }
92
- function gt(e, t) {
92
+ function dt(e, t) {
93
93
  for (let n = 0; n < e.length; n += 1)
94
94
  e[n] && e[n].d(t);
95
95
  }
96
96
  function _(e) {
97
97
  return document.createElement(e);
98
98
  }
99
- function H(e) {
99
+ function z(e) {
100
100
  return document.createTextNode(e);
101
101
  }
102
- function G() {
103
- return H(" ");
102
+ function V() {
103
+ return z(" ");
104
104
  }
105
- function bt(e, t, n, s) {
105
+ function ht(e, t, n, s) {
106
106
  return e.addEventListener(t, n, s), () => e.removeEventListener(t, n, s);
107
107
  }
108
- function $(e, t, n) {
108
+ function m(e, t, n) {
109
109
  n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
110
110
  }
111
- function mt(e) {
111
+ function $t(e) {
112
112
  return Array.from(e.childNodes);
113
113
  }
114
- function nt(e, t) {
114
+ function tt(e, t) {
115
115
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
116
116
  t);
117
117
  }
118
- function _t(e) {
118
+ function bt(e) {
119
119
  const t = {};
120
120
  return e.childNodes.forEach(
121
121
  /** @param {Element} node */
@@ -128,84 +128,84 @@ let C;
128
128
  function L(e) {
129
129
  C = e;
130
130
  }
131
- function pt() {
131
+ function mt() {
132
132
  if (!C)
133
133
  throw new Error("Function called outside component initialization");
134
134
  return C;
135
135
  }
136
- function st(e) {
137
- pt().$$.on_mount.push(e);
136
+ function et(e) {
137
+ mt().$$.on_mount.push(e);
138
138
  }
139
- const y = [], R = [];
139
+ const v = [], R = [];
140
140
  let k = [];
141
- const K = [], wt = /* @__PURE__ */ Promise.resolve();
142
- let z = !1;
143
- function yt() {
144
- z || (z = !0, wt.then(v));
141
+ const q = [], gt = /* @__PURE__ */ Promise.resolve();
142
+ let B = !1;
143
+ function _t() {
144
+ B || (B = !0, gt.then(p));
145
145
  }
146
- function B(e) {
146
+ function P(e) {
147
147
  k.push(e);
148
148
  }
149
- const P = /* @__PURE__ */ new Set();
150
- let w = 0;
151
- function v() {
152
- if (w !== 0)
149
+ const F = /* @__PURE__ */ new Set();
150
+ let y = 0;
151
+ function p() {
152
+ if (y !== 0)
153
153
  return;
154
154
  const e = C;
155
155
  do {
156
156
  try {
157
- for (; w < y.length; ) {
158
- const t = y[w];
159
- w++, L(t), vt(t.$$);
157
+ for (; y < v.length; ) {
158
+ const t = v[y];
159
+ y++, L(t), pt(t.$$);
160
160
  }
161
161
  } catch (t) {
162
- throw y.length = 0, w = 0, t;
162
+ throw v.length = 0, y = 0, t;
163
163
  }
164
- for (L(null), y.length = 0, w = 0; R.length; )
164
+ for (L(null), v.length = 0, y = 0; R.length; )
165
165
  R.pop()();
166
166
  for (let t = 0; t < k.length; t += 1) {
167
167
  const n = k[t];
168
- P.has(n) || (P.add(n), n());
168
+ F.has(n) || (F.add(n), n());
169
169
  }
170
170
  k.length = 0;
171
- } while (y.length);
172
- for (; K.length; )
173
- K.pop()();
174
- z = !1, P.clear(), L(e);
171
+ } while (v.length);
172
+ for (; q.length; )
173
+ q.pop()();
174
+ B = !1, F.clear(), L(e);
175
175
  }
176
- function vt(e) {
176
+ function pt(e) {
177
177
  if (e.fragment !== null) {
178
- e.update(), M(e.before_update);
178
+ e.update(), A(e.before_update);
179
179
  const t = e.dirty;
180
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(B);
180
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(P);
181
181
  }
182
182
  }
183
- function kt(e) {
183
+ function wt(e) {
184
184
  const t = [], n = [];
185
185
  k.forEach((s) => e.indexOf(s) === -1 ? t.push(s) : n.push(s)), n.forEach((s) => s()), k = t;
186
186
  }
187
- const Et = /* @__PURE__ */ new Set();
188
- function Lt(e, t) {
189
- e && e.i && (Et.delete(e), e.i(t));
187
+ const yt = /* @__PURE__ */ new Set();
188
+ function vt(e, t) {
189
+ e && e.i && (yt.delete(e), e.i(t));
190
190
  }
191
- function Q(e) {
191
+ function G(e) {
192
192
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
193
193
  }
194
- function Tt(e, t, n) {
194
+ function kt(e, t, n) {
195
195
  const { fragment: s, after_update: i } = e.$$;
196
- s && s.m(t, n), B(() => {
197
- const o = e.$$.on_mount.map(tt).filter(et);
198
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : M(o), e.$$.on_mount = [];
199
- }), i.forEach(B);
196
+ s && s.m(t, n), P(() => {
197
+ const o = e.$$.on_mount.map(Y).filter(Z);
198
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : A(o), e.$$.on_mount = [];
199
+ }), i.forEach(P);
200
200
  }
201
- function Ct(e, t) {
201
+ function Et(e, t) {
202
202
  const n = e.$$;
203
- n.fragment !== null && (kt(n.after_update), M(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
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 = []);
204
204
  }
205
- function xt(e, t) {
206
- e.$$.dirty[0] === -1 && (y.push(e), yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
205
+ function Lt(e, t) {
206
+ e.$$.dirty[0] === -1 && (v.push(e), _t(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
207
207
  }
208
- function jt(e, t, n, s, i, o, r = null, c = [-1]) {
208
+ function Tt(e, t, n, s, i, o, r = null, c = [-1]) {
209
209
  const u = C;
210
210
  L(e);
211
211
  const l = e.$$ = {
@@ -215,7 +215,7 @@ function jt(e, t, n, s, i, o, r = null, c = [-1]) {
215
215
  props: o,
216
216
  update: T,
217
217
  not_equal: i,
218
- bound: q(),
218
+ bound: J(),
219
219
  // lifecycle
220
220
  on_mount: [],
221
221
  on_destroy: [],
@@ -224,48 +224,48 @@ function jt(e, t, n, s, i, o, r = null, c = [-1]) {
224
224
  after_update: [],
225
225
  context: new Map(t.context || (u ? u.$$.context : [])),
226
226
  // everything else
227
- callbacks: q(),
227
+ callbacks: J(),
228
228
  dirty: c,
229
229
  skip_bound: !1,
230
230
  root: t.target || u.$$.root
231
231
  };
232
232
  r && r(l.root);
233
- let g = !1;
234
- if (l.ctx = n ? n(e, t.props || {}, (a, m, ...b) => {
235
- const h = b.length ? b[0] : m;
236
- return l.ctx && i(l.ctx[a], l.ctx[a] = h) && (!l.skip_bound && l.bound[a] && l.bound[a](h), g && xt(e, a)), m;
237
- }) : [], l.update(), g = !0, M(l.before_update), l.fragment = s ? s(l.ctx) : !1, t.target) {
233
+ let d = !1;
234
+ if (l.ctx = n ? n(e, t.props || {}, (a, g, ...h) => {
235
+ const b = h.length ? h[0] : g;
236
+ return l.ctx && i(l.ctx[a], l.ctx[a] = b) && (!l.skip_bound && l.bound[a] && l.bound[a](b), d && Lt(e, a)), g;
237
+ }) : [], l.update(), d = !0, A(l.before_update), l.fragment = s ? s(l.ctx) : !1, t.target) {
238
238
  if (t.hydrate) {
239
- const a = mt(t.target);
239
+ const a = $t(t.target);
240
240
  l.fragment && l.fragment.l(a), a.forEach(E);
241
241
  } else
242
242
  l.fragment && l.fragment.c();
243
- t.intro && Lt(e.$$.fragment), Tt(e, t.target, t.anchor), v();
243
+ t.intro && vt(e.$$.fragment), kt(e, t.target, t.anchor), p();
244
244
  }
245
245
  L(u);
246
246
  }
247
- let it;
248
- typeof HTMLElement == "function" && (it = class extends HTMLElement {
247
+ let nt;
248
+ typeof HTMLElement == "function" && (nt = class extends HTMLElement {
249
249
  constructor(t, n, s) {
250
250
  super();
251
251
  /** The Svelte component constructor */
252
- d(this, "$$ctor");
252
+ $(this, "$$ctor");
253
253
  /** Slots */
254
- d(this, "$$s");
254
+ $(this, "$$s");
255
255
  /** The Svelte component instance */
256
- d(this, "$$c");
256
+ $(this, "$$c");
257
257
  /** Whether or not the custom element is connected */
258
- d(this, "$$cn", !1);
258
+ $(this, "$$cn", !1);
259
259
  /** Component props data */
260
- d(this, "$$d", {});
260
+ $(this, "$$d", {});
261
261
  /** `true` if currently in the process of reflecting component props back to attributes */
262
- d(this, "$$r", !1);
262
+ $(this, "$$r", !1);
263
263
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
264
- d(this, "$$p_d", {});
264
+ $(this, "$$p_d", {});
265
265
  /** @type {Record<string, Function[]>} Event listeners */
266
- d(this, "$$l", {});
266
+ $(this, "$$l", {});
267
267
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
268
- d(this, "$$l_u", /* @__PURE__ */ new Map());
268
+ $(this, "$$l_u", /* @__PURE__ */ new Map());
269
269
  this.$$ctor = t, this.$$s = n, s && this.attachShadow({ mode: "open" });
270
270
  }
271
271
  addEventListener(t, n, s) {
@@ -282,21 +282,21 @@ typeof HTMLElement == "function" && (it = class extends HTMLElement {
282
282
  }
283
283
  }
284
284
  connectedCallback() {
285
- return V(this, null, function* () {
285
+ return D(this, null, function* () {
286
286
  if (this.$$cn = !0, !this.$$c) {
287
287
  let t = function(o) {
288
288
  return () => {
289
289
  let r;
290
290
  return {
291
291
  c: function() {
292
- r = _("slot"), o !== "default" && $(r, "name", o);
292
+ r = _("slot"), o !== "default" && m(r, "name", o);
293
293
  },
294
294
  /**
295
295
  * @param {HTMLElement} target
296
296
  * @param {HTMLElement} [anchor]
297
297
  */
298
- m: function(l, g) {
299
- x(l, r, g);
298
+ m: function(l, d) {
299
+ S(l, r, d);
300
300
  },
301
301
  d: function(l) {
302
302
  l && E(r);
@@ -306,18 +306,18 @@ typeof HTMLElement == "function" && (it = class extends HTMLElement {
306
306
  };
307
307
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
308
308
  return;
309
- const n = {}, s = _t(this);
309
+ const n = {}, s = bt(this);
310
310
  for (const o of this.$$s)
311
311
  o in s && (n[o] = [t(o)]);
312
312
  for (const o of this.attributes) {
313
313
  const r = this.$$g_p(o.name);
314
- r in this.$$d || (this.$$d[r] = A(r, o.value, this.$$p_d, "toProp"));
314
+ r in this.$$d || (this.$$d[r] = O(r, o.value, this.$$p_d, "toProp"));
315
315
  }
316
316
  for (const o in this.$$p_d)
317
317
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
318
318
  this.$$c = new this.$$ctor({
319
319
  target: this.shadowRoot || this,
320
- props: S(O({}, this.$$d), {
320
+ props: M(j({}, this.$$d), {
321
321
  $$slots: n,
322
322
  $$scope: {
323
323
  ctx: []
@@ -328,7 +328,7 @@ typeof HTMLElement == "function" && (it = class extends HTMLElement {
328
328
  this.$$r = !0;
329
329
  for (const o in this.$$p_d)
330
330
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
331
- const r = A(
331
+ const r = O(
332
332
  o,
333
333
  this.$$d[o],
334
334
  this.$$p_d,
@@ -352,7 +352,7 @@ typeof HTMLElement == "function" && (it = class extends HTMLElement {
352
352
  // and setting attributes through setAttribute etc, this is helpful
353
353
  attributeChangedCallback(t, n, s) {
354
354
  var i;
355
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = A(t, s, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
355
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = O(t, s, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
356
356
  }
357
357
  disconnectedCallback() {
358
358
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -365,7 +365,7 @@ typeof HTMLElement == "function" && (it = class extends HTMLElement {
365
365
  ) || t;
366
366
  }
367
367
  });
368
- function A(e, t, n, s) {
368
+ function O(e, t, n, s) {
369
369
  var o;
370
370
  const i = (o = n[e]) == null ? void 0 : o.type;
371
371
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !n[e])
@@ -395,8 +395,8 @@ function A(e, t, n, s) {
395
395
  return t;
396
396
  }
397
397
  }
398
- function Ot(e, t, n, s, i, o) {
399
- let r = class extends it {
398
+ function Ct(e, t, n, s, i, o) {
399
+ let r = class extends nt {
400
400
  constructor() {
401
401
  super(e, n, i), this.$$p_d = t;
402
402
  }
@@ -413,7 +413,7 @@ function Ot(e, t, n, s, i, o) {
413
413
  },
414
414
  set(u) {
415
415
  var l;
416
- u = A(c, u, t), this.$$d[c] = u, (l = this.$$c) == null || l.$set({ [c]: u });
416
+ u = O(c, u, t), this.$$d[c] = u, (l = this.$$c) == null || l.$set({ [c]: u });
417
417
  }
418
418
  });
419
419
  }), s.forEach((c) => {
@@ -435,7 +435,7 @@ class St {
435
435
  *
436
436
  * @type {any}
437
437
  */
438
- d(this, "$$");
438
+ $(this, "$$");
439
439
  /**
440
440
  * ### PRIVATE API
441
441
  *
@@ -443,11 +443,11 @@ class St {
443
443
  *
444
444
  * @type {any}
445
445
  */
446
- d(this, "$$set");
446
+ $(this, "$$set");
447
447
  }
448
448
  /** @returns {void} */
449
449
  $destroy() {
450
- Ct(this, 1), this.$destroy = T;
450
+ Et(this, 1), this.$destroy = T;
451
451
  }
452
452
  /**
453
453
  * @template {Extract<keyof Events, string>} K
@@ -456,7 +456,7 @@ class St {
456
456
  * @returns {() => void}
457
457
  */
458
458
  $on(t, n) {
459
- if (!et(n))
459
+ if (!Z(n))
460
460
  return T;
461
461
  const s = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
462
462
  return s.push(n), () => {
@@ -469,61 +469,84 @@ class St {
469
469
  * @returns {void}
470
470
  */
471
471
  $set(t) {
472
- this.$$set && !ft(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
+ this.$$set && !ct(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
473
473
  }
474
474
  }
475
- const At = "4";
476
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(At);
477
- const Mt = (e) => (n) => {
475
+ const xt = "4";
476
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xt);
477
+ const jt = (e) => (n) => {
478
478
  Object.keys(e).map((s) => {
479
479
  if (n.data && n.data.type == s) {
480
- const i = n.data, { type: o } = i, r = J(i, ["type"]);
480
+ const i = n.data, { type: o } = i, r = I(i, ["type"]);
481
481
  e[s](r);
482
482
  }
483
483
  });
484
- }, Nt = (e) => {
485
- const t = Mt(e);
486
- st(() => (window.addEventListener("message", t, !1), () => {
484
+ }, Mt = (e) => {
485
+ const t = jt(e);
486
+ et(() => (window.addEventListener("message", t, !1), () => {
487
487
  window.removeEventListener("message", t);
488
488
  }));
489
489
  };
490
+ function Ot(e, t) {
491
+ if (e) {
492
+ const n = document.createElement("style");
493
+ n.innerHTML = t, e.appendChild(n);
494
+ }
495
+ }
496
+ function At(e, t) {
497
+ const n = new URL(t);
498
+ fetch(n.href).then((s) => s.text()).then((s) => {
499
+ const i = document.createElement("style");
500
+ i.innerHTML = s, e && e.appendChild(i);
501
+ }).catch((s) => {
502
+ console.error("There was an error while trying to load client styling from URL", s);
503
+ });
504
+ }
505
+ function Nt(e, t, n) {
506
+ if (window.emMessageBus) {
507
+ const s = document.createElement("style");
508
+ window.emMessageBus.subscribe(t, (i) => {
509
+ s.innerHTML = i, e && e.appendChild(s);
510
+ });
511
+ }
512
+ }
490
513
  function Ft(e) {
491
- dt(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}");
514
+ ut(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
515
  }
493
- function W(e, t, n) {
516
+ function K(e, t, n) {
494
517
  const s = e.slice();
495
- return s[15] = t[n], s;
518
+ return s[14] = t[n], s;
496
519
  }
497
- function X(e) {
498
- let t, n = Q(
520
+ function Q(e) {
521
+ let t, n = G(
499
522
  /*__tabs*/
500
523
  e[5]
501
524
  ), s = [];
502
525
  for (let i = 0; i < n.length; i += 1)
503
- s[i] = Z(W(e, n, i));
526
+ s[i] = X(K(e, n, i));
504
527
  return {
505
528
  c() {
506
529
  t = _("ul");
507
530
  for (let i = 0; i < s.length; i += 1)
508
531
  s[i].c();
509
- $(t, "part", "ul");
532
+ m(t, "part", "ul");
510
533
  },
511
534
  m(i, o) {
512
- x(i, t, o);
535
+ S(i, t, o);
513
536
  for (let r = 0; r < s.length; r += 1)
514
537
  s[r] && s[r].m(t, null);
515
538
  },
516
539
  p(i, o) {
517
540
  if (o & /*__tab, __tabs, window, totalReceiver, textReceiver*/
518
541
  60) {
519
- n = Q(
542
+ n = G(
520
543
  /*__tabs*/
521
544
  i[5]
522
545
  );
523
546
  let r;
524
547
  for (r = 0; r < n.length; r += 1) {
525
- const c = W(i, n, r);
526
- s[r] ? s[r].p(c, o) : (s[r] = Z(c), s[r].c(), s[r].m(t, null));
548
+ const c = K(i, n, r);
549
+ s[r] ? s[r].p(c, o) : (s[r] = X(c), s[r].c(), s[r].m(t, null));
527
550
  }
528
551
  for (; r < s.length; r += 1)
529
552
  s[r].d(1);
@@ -531,196 +554,180 @@ function X(e) {
531
554
  }
532
555
  },
533
556
  d(i) {
534
- i && E(t), gt(s, i);
557
+ i && E(t), dt(s, i);
535
558
  }
536
559
  };
537
560
  }
538
- function Y(e) {
561
+ function W(e) {
539
562
  let t, n, s = (
540
563
  /*totalReceiver*/
541
564
  e[2][
542
565
  /*_tab*/
543
- e[15]
566
+ e[14]
544
567
  ] + ""
545
568
  ), i;
546
569
  return {
547
570
  c() {
548
- t = _("sup"), n = _("span"), i = H(s), $(n, "part", "SupText"), $(t, "part", "sup");
571
+ t = _("sup"), n = _("span"), i = z(s), m(n, "part", "SupText"), m(t, "part", "sup");
549
572
  },
550
573
  m(o, r) {
551
- x(o, t, r), p(t, n), p(n, i);
574
+ S(o, t, r), w(t, n), w(n, i);
552
575
  },
553
576
  p(o, r) {
554
577
  r & /*totalReceiver, __tabs*/
555
578
  36 && s !== (s = /*totalReceiver*/
556
579
  o[2][
557
580
  /*_tab*/
558
- o[15]
559
- ] + "") && nt(i, s);
581
+ o[14]
582
+ ] + "") && tt(i, s);
560
583
  },
561
584
  d(o) {
562
585
  o && E(t);
563
586
  }
564
587
  };
565
588
  }
566
- function Z(e) {
589
+ function X(e) {
567
590
  let t, n, s = (
568
591
  /*textReceiver*/
569
592
  e[3][
570
593
  /*_tab*/
571
- e[15]
594
+ e[14]
572
595
  ] + ""
573
- ), i, o, r, c, u, l, g, a = (
596
+ ), i, o, r, c, u, l, d, a = (
574
597
  /*totalReceiver*/
575
598
  e[2][
576
599
  /*_tab*/
577
- e[15]
578
- ] >= 0 && Y(e)
600
+ e[14]
601
+ ] >= 0 && W(e)
579
602
  );
580
- function m() {
603
+ function g() {
581
604
  return (
582
605
  /*click_handler*/
583
- e[10](
606
+ e[11](
584
607
  /*_tab*/
585
- e[15]
608
+ e[14]
586
609
  )
587
610
  );
588
611
  }
589
612
  return {
590
613
  c() {
591
- t = _("li"), n = _("span"), i = H(s), o = G(), a && a.c(), r = G(), $(n, "part", "LiText"), $(t, "class", c = /*__tab*/
614
+ t = _("li"), n = _("span"), i = z(s), o = V(), a && a.c(), r = V(), m(n, "part", "LiText"), m(t, "class", c = /*__tab*/
592
615
  e[4] === /*_tab*/
593
- e[15] ? "active" : ""), $(t, "part", u = `${/*_tab*/
594
- e[15]} li ` + /*__tab*/
616
+ e[14] ? "active" : ""), m(t, "part", u = `${/*_tab*/
617
+ e[14]} li ` + /*__tab*/
595
618
  (e[4] === /*_tab*/
596
- e[15] ? "active" : ""));
619
+ e[14] ? "active" : ""));
597
620
  },
598
- m(b, h) {
599
- x(b, t, h), p(t, n), p(n, i), p(t, o), a && a.m(t, null), p(t, r), l || (g = bt(t, "click", m), l = !0);
621
+ m(h, b) {
622
+ S(h, t, b), w(t, n), w(n, i), w(t, o), a && a.m(t, null), w(t, r), l || (d = ht(t, "click", g), l = !0);
600
623
  },
601
- p(b, h) {
602
- e = b, h & /*textReceiver, __tabs*/
624
+ p(h, b) {
625
+ e = h, b & /*textReceiver, __tabs*/
603
626
  40 && s !== (s = /*textReceiver*/
604
627
  e[3][
605
628
  /*_tab*/
606
- e[15]
607
- ] + "") && nt(i, s), /*totalReceiver*/
629
+ e[14]
630
+ ] + "") && tt(i, s), /*totalReceiver*/
608
631
  e[2][
609
632
  /*_tab*/
610
- e[15]
611
- ] >= 0 ? a ? a.p(e, h) : (a = Y(e), a.c(), a.m(t, r)) : a && (a.d(1), a = null), h & /*__tab, __tabs*/
633
+ e[14]
634
+ ] >= 0 ? a ? a.p(e, b) : (a = W(e), a.c(), a.m(t, r)) : a && (a.d(1), a = null), b & /*__tab, __tabs*/
612
635
  48 && c !== (c = /*__tab*/
613
636
  e[4] === /*_tab*/
614
- e[15] ? "active" : "") && $(t, "class", c), h & /*__tabs, __tab*/
637
+ e[14] ? "active" : "") && m(t, "class", c), b & /*__tabs, __tab*/
615
638
  48 && u !== (u = `${/*_tab*/
616
- e[15]} li ` + /*__tab*/
639
+ e[14]} li ` + /*__tab*/
617
640
  (e[4] === /*_tab*/
618
- e[15] ? "active" : "")) && $(t, "part", u);
641
+ e[14] ? "active" : "")) && m(t, "part", u);
619
642
  },
620
- d(b) {
621
- b && E(t), a && a.d(), l = !1, g();
643
+ d(h) {
644
+ h && E(t), a && a.d(), l = !1, d();
622
645
  }
623
646
  };
624
647
  }
625
- function Pt(e) {
648
+ function Rt(e) {
626
649
  let t, n = (
627
650
  /*isTitleInited*/
628
- e[1] && X(e)
651
+ e[1] && Q(e)
629
652
  );
630
653
  return {
631
654
  c() {
632
- t = _("div"), n && n.c(), $(t, "class", "casino-tournaments-tab"), $(t, "part", "CustomStylingContainer");
655
+ t = _("div"), n && n.c(), m(t, "class", "casino-tournaments-tab"), m(t, "part", "CustomStylingContainer");
633
656
  },
634
657
  m(s, i) {
635
- x(s, t, i), n && n.m(t, null), e[11](t);
658
+ S(s, t, i), n && n.m(t, null), e[12](t);
636
659
  },
637
660
  p(s, [i]) {
638
661
  /*isTitleInited*/
639
- s[1] ? n ? n.p(s, i) : (n = X(s), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
662
+ s[1] ? n ? n.p(s, i) : (n = Q(s), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
640
663
  },
641
664
  i: T,
642
665
  o: T,
643
666
  d(s) {
644
- s && E(t), n && n.d(), e[11](null);
667
+ s && E(t), n && n.d(), e[12](null);
645
668
  }
646
669
  };
647
670
  }
648
- function Rt(e, t, n) {
649
- let s, i, { tabs: o = "" } = t, { tab: r = void 0 } = t, { clientstyling: c = "" } = t, { clientstylingurl: u = "" } = t, l, g = !1, a = {}, m = {};
650
- const b = () => {
651
- let f = document.createElement("style");
652
- f.innerHTML = c, l.appendChild(f);
653
- }, h = () => {
654
- let f = new URL(u), U = document.createElement("style");
655
- fetch(f.href).then((N) => N.text()).then((N) => {
656
- U.innerHTML = N, setTimeout(
657
- () => {
658
- l.appendChild(U);
659
- },
660
- 1
661
- ), setTimeout(
662
- () => {
663
- },
664
- 500
665
- );
666
- });
667
- };
668
- Nt({
671
+ function Bt(e, t, n) {
672
+ let s, i, { tabs: o = "" } = t, { tab: r = void 0 } = t, { clientstyling: c = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: l } = t, d, a = !1, g = {}, h = {};
673
+ Mt({
669
674
  TournamentsTabTotalUpdate: (f) => {
670
- n(2, a = S(O({}, a), {
675
+ n(2, g = M(j({}, g), {
671
676
  [f.state]: f.total
672
677
  }));
673
678
  },
674
679
  TournamentsTabLocaleTextUpdate: (f) => {
675
- n(1, g = !0), n(3, m = S(O({}, m), { [f.state]: f.text }));
680
+ n(1, a = !0), n(3, h = M(j({}, h), { [f.state]: f.text }));
676
681
  }
677
- }), st(() => {
678
- window.postMessage({ type: "TournamentsTabListenerLoaded" }, window.location.href);
679
- });
680
- const ot = (f) => {
682
+ }), et(() => (window.postMessage({ type: "TournamentsTabListenerLoaded" }, window.location.href), () => {
683
+ }));
684
+ const b = (f) => {
681
685
  n(4, i = f), window.postMessage({ type: "TournamentsTabSwitch", tab: f }, window.location.href);
682
686
  };
683
- function rt(f) {
687
+ function st(f) {
684
688
  R[f ? "unshift" : "push"](() => {
685
- l = f, n(0, l);
689
+ d = f, n(0, d);
686
690
  });
687
691
  }
688
692
  return e.$$set = (f) => {
689
- "tabs" in f && n(6, o = f.tabs), "tab" in f && n(7, r = f.tab), "clientstyling" in f && n(8, c = f.clientstyling), "clientstylingurl" in f && n(9, u = f.clientstylingurl);
693
+ "tabs" in f && n(6, o = f.tabs), "tab" in f && n(7, r = f.tab), "clientstyling" in f && n(8, c = f.clientstyling), "clientstylingurl" in f && n(9, u = f.clientstylingurl), "mbsource" in f && n(10, l = f.mbsource);
690
694
  }, e.$$.update = () => {
691
- e.$$.dirty & /*customStylingContainer, clientstyling*/
692
- 257 && l && c && b(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
693
- 513 && l && u && h(), e.$$.dirty & /*tabs*/
695
+ e.$$.dirty & /*clientstyling, customStylingContainer*/
696
+ 257 && c && d && Ot(d, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
697
+ 513 && u && d && At(d, u), e.$$.dirty & /*mbsource, customStylingContainer*/
698
+ 1025 && l && d && Nt(d, `${l}.Style`), e.$$.dirty & /*tabs*/
694
699
  64 && n(5, s = o.split(",")), e.$$.dirty & /*tab*/
695
700
  128 && n(4, i = r);
696
701
  }, [
697
- l,
698
- g,
702
+ d,
699
703
  a,
700
- m,
704
+ g,
705
+ h,
701
706
  i,
702
707
  s,
703
708
  o,
704
709
  r,
705
710
  c,
706
711
  u,
707
- ot,
708
- rt
712
+ l,
713
+ b,
714
+ st
709
715
  ];
710
716
  }
711
- class zt extends St {
717
+ class Pt extends St {
712
718
  constructor(t) {
713
- super(), jt(
719
+ super(), Tt(
714
720
  this,
715
721
  t,
722
+ Bt,
716
723
  Rt,
717
- Pt,
718
- at,
724
+ lt,
719
725
  {
720
726
  tabs: 6,
721
727
  tab: 7,
722
728
  clientstyling: 8,
723
- clientstylingurl: 9
729
+ clientstylingurl: 9,
730
+ mbsource: 10
724
731
  },
725
732
  Ft
726
733
  );
@@ -729,28 +736,34 @@ class zt extends St {
729
736
  return this.$$.ctx[6];
730
737
  }
731
738
  set tabs(t) {
732
- this.$$set({ tabs: t }), v();
739
+ this.$$set({ tabs: t }), p();
733
740
  }
734
741
  get tab() {
735
742
  return this.$$.ctx[7];
736
743
  }
737
744
  set tab(t) {
738
- this.$$set({ tab: t }), v();
745
+ this.$$set({ tab: t }), p();
739
746
  }
740
747
  get clientstyling() {
741
748
  return this.$$.ctx[8];
742
749
  }
743
750
  set clientstyling(t) {
744
- this.$$set({ clientstyling: t }), v();
751
+ this.$$set({ clientstyling: t }), p();
745
752
  }
746
753
  get clientstylingurl() {
747
754
  return this.$$.ctx[9];
748
755
  }
749
756
  set clientstylingurl(t) {
750
- this.$$set({ clientstylingurl: t }), v();
757
+ this.$$set({ clientstylingurl: t }), p();
758
+ }
759
+ get mbsource() {
760
+ return this.$$.ctx[10];
761
+ }
762
+ set mbsource(t) {
763
+ this.$$set({ mbsource: t }), p();
751
764
  }
752
765
  }
753
- Ot(zt, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
766
+ Ct(Pt, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
754
767
  export {
755
- zt as default
768
+ Pt as default
756
769
  };