@everymatrix/casino-tournaments-tab 1.74.3 → 1.74.5

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,769 +0,0 @@
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
- for (var n in t || (t = {}))
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
- return e;
12
- }, M = (e, t) => ot(e, rt(t));
13
- var I = (e, t) => {
14
- var n = {};
15
- for (var s in e)
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
- return n;
21
- };
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
- var o = (u) => {
25
- try {
26
- l(n.next(u));
27
- } catch (c) {
28
- i(c);
29
- }
30
- }, r = (u) => {
31
- try {
32
- l(n.throw(u));
33
- } catch (c) {
34
- i(c);
35
- }
36
- }, l = (u) => u.done ? s(u.value) : Promise.resolve(u.value).then(o, r);
37
- l((n = n.apply(e, t)).next());
38
- });
39
- function T() {
40
- }
41
- function Y(e) {
42
- return e();
43
- }
44
- function J() {
45
- return /* @__PURE__ */ Object.create(null);
46
- }
47
- function A(e) {
48
- e.forEach(Y);
49
- }
50
- function Z(e) {
51
- return typeof e == "function";
52
- }
53
- function ct(e, t) {
54
- return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
- }
56
- function lt(e) {
57
- return Object.keys(e).length === 0;
58
- }
59
- function w(e, t) {
60
- e.appendChild(t);
61
- }
62
- function ut(e, t, n) {
63
- const s = at(e);
64
- if (!s.getElementById(t)) {
65
- const i = _("style");
66
- i.id = t, i.textContent = n, ft(s, i);
67
- }
68
- }
69
- function at(e) {
70
- if (!e)
71
- return document;
72
- const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
73
- return t && /** @type {ShadowRoot} */
74
- t.host ? (
75
- /** @type {ShadowRoot} */
76
- t
77
- ) : e.ownerDocument;
78
- }
79
- function ft(e, t) {
80
- return w(
81
- /** @type {Document} */
82
- e.head || e,
83
- t
84
- ), t.sheet;
85
- }
86
- function S(e, t, n) {
87
- e.insertBefore(t, n || null);
88
- }
89
- function E(e) {
90
- e.parentNode && e.parentNode.removeChild(e);
91
- }
92
- function dt(e, t) {
93
- for (let n = 0; n < e.length; n += 1)
94
- e[n] && e[n].d(t);
95
- }
96
- function _(e) {
97
- return document.createElement(e);
98
- }
99
- function z(e) {
100
- return document.createTextNode(e);
101
- }
102
- function V() {
103
- return z(" ");
104
- }
105
- function ht(e, t, n, s) {
106
- return e.addEventListener(t, n, s), () => e.removeEventListener(t, n, s);
107
- }
108
- function m(e, t, n) {
109
- n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
110
- }
111
- function $t(e) {
112
- return Array.from(e.childNodes);
113
- }
114
- function tt(e, t) {
115
- t = "" + t, e.data !== t && (e.data = /** @type {string} */
116
- t);
117
- }
118
- function bt(e) {
119
- const t = {};
120
- return e.childNodes.forEach(
121
- /** @param {Element} node */
122
- (n) => {
123
- t[n.slot || "default"] = !0;
124
- }
125
- ), t;
126
- }
127
- let C;
128
- function L(e) {
129
- C = e;
130
- }
131
- function mt() {
132
- if (!C)
133
- throw new Error("Function called outside component initialization");
134
- return C;
135
- }
136
- function et(e) {
137
- mt().$$.on_mount.push(e);
138
- }
139
- const v = [], R = [];
140
- let k = [];
141
- const q = [], gt = /* @__PURE__ */ Promise.resolve();
142
- let B = !1;
143
- function _t() {
144
- B || (B = !0, gt.then(p));
145
- }
146
- function P(e) {
147
- k.push(e);
148
- }
149
- const F = /* @__PURE__ */ new Set();
150
- let y = 0;
151
- function p() {
152
- if (y !== 0)
153
- return;
154
- const e = C;
155
- do {
156
- try {
157
- for (; y < v.length; ) {
158
- const t = v[y];
159
- y++, L(t), pt(t.$$);
160
- }
161
- } catch (t) {
162
- throw v.length = 0, y = 0, t;
163
- }
164
- for (L(null), v.length = 0, y = 0; R.length; )
165
- R.pop()();
166
- for (let t = 0; t < k.length; t += 1) {
167
- const n = k[t];
168
- F.has(n) || (F.add(n), n());
169
- }
170
- k.length = 0;
171
- } while (v.length);
172
- for (; q.length; )
173
- q.pop()();
174
- B = !1, F.clear(), L(e);
175
- }
176
- function pt(e) {
177
- if (e.fragment !== null) {
178
- e.update(), A(e.before_update);
179
- const t = e.dirty;
180
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(P);
181
- }
182
- }
183
- function wt(e) {
184
- const t = [], n = [];
185
- k.forEach((s) => e.indexOf(s) === -1 ? t.push(s) : n.push(s)), n.forEach((s) => s()), k = t;
186
- }
187
- const yt = /* @__PURE__ */ new Set();
188
- function vt(e, t) {
189
- e && e.i && (yt.delete(e), e.i(t));
190
- }
191
- function G(e) {
192
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
193
- }
194
- function kt(e, t, n) {
195
- const { fragment: s, after_update: i } = e.$$;
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
- }
201
- function Et(e, t) {
202
- 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 = []);
204
- }
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
- }
208
- function Tt(e, t, n, s, i, o, r = null, l = [-1]) {
209
- const u = C;
210
- L(e);
211
- const c = e.$$ = {
212
- fragment: null,
213
- ctx: [],
214
- // state
215
- props: o,
216
- update: T,
217
- not_equal: i,
218
- bound: J(),
219
- // lifecycle
220
- on_mount: [],
221
- on_destroy: [],
222
- on_disconnect: [],
223
- before_update: [],
224
- after_update: [],
225
- context: new Map(t.context || (u ? u.$$.context : [])),
226
- // everything else
227
- callbacks: J(),
228
- dirty: l,
229
- skip_bound: !1,
230
- root: t.target || u.$$.root
231
- };
232
- r && r(c.root);
233
- let d = !1;
234
- if (c.ctx = n(e, t.props || {}, (a, g, ...h) => {
235
- const b = h.length ? h[0] : g;
236
- return c.ctx && i(c.ctx[a], c.ctx[a] = b) && (!c.skip_bound && c.bound[a] && c.bound[a](b), d && Lt(e, a)), g;
237
- }), c.update(), d = !0, A(c.before_update), c.fragment = s(c.ctx), t.target) {
238
- if (t.hydrate) {
239
- const a = $t(t.target);
240
- c.fragment && c.fragment.l(a), a.forEach(E);
241
- } else
242
- c.fragment && c.fragment.c();
243
- t.intro && vt(e.$$.fragment), kt(e, t.target, t.anchor), p();
244
- }
245
- L(u);
246
- }
247
- let nt;
248
- typeof HTMLElement == "function" && (nt = class extends HTMLElement {
249
- constructor(t, n, s) {
250
- super();
251
- /** The Svelte component constructor */
252
- $(this, "$$ctor");
253
- /** Slots */
254
- $(this, "$$s");
255
- /** The Svelte component instance */
256
- $(this, "$$c");
257
- /** Whether or not the custom element is connected */
258
- $(this, "$$cn", !1);
259
- /** Component props data */
260
- $(this, "$$d", {});
261
- /** `true` if currently in the process of reflecting component props back to attributes */
262
- $(this, "$$r", !1);
263
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
264
- $(this, "$$p_d", {});
265
- /** @type {Record<string, Function[]>} Event listeners */
266
- $(this, "$$l", {});
267
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
268
- $(this, "$$l_u", /* @__PURE__ */ new Map());
269
- this.$$ctor = t, this.$$s = n, s && this.attachShadow({ mode: "open" });
270
- }
271
- addEventListener(t, n, s) {
272
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
273
- const i = this.$$c.$on(t, n);
274
- this.$$l_u.set(n, i);
275
- }
276
- super.addEventListener(t, n, s);
277
- }
278
- removeEventListener(t, n, s) {
279
- if (super.removeEventListener(t, n, s), this.$$c) {
280
- const i = this.$$l_u.get(n);
281
- i && (i(), this.$$l_u.delete(n));
282
- }
283
- }
284
- connectedCallback() {
285
- return D(this, null, function* () {
286
- if (this.$$cn = !0, !this.$$c) {
287
- let t = function(o) {
288
- return () => {
289
- let r;
290
- return {
291
- c: function() {
292
- r = _("slot"), o !== "default" && m(r, "name", o);
293
- },
294
- /**
295
- * @param {HTMLElement} target
296
- * @param {HTMLElement} [anchor]
297
- */
298
- m: function(c, d) {
299
- S(c, r, d);
300
- },
301
- d: function(c) {
302
- c && E(r);
303
- }
304
- };
305
- };
306
- };
307
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
308
- return;
309
- const n = {}, s = bt(this);
310
- for (const o of this.$$s)
311
- o in s && (n[o] = [t(o)]);
312
- for (const o of this.attributes) {
313
- const r = this.$$g_p(o.name);
314
- r in this.$$d || (this.$$d[r] = O(r, o.value, this.$$p_d, "toProp"));
315
- }
316
- for (const o in this.$$p_d)
317
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
318
- this.$$c = new this.$$ctor({
319
- target: this.shadowRoot || this,
320
- props: M(j({}, this.$$d), {
321
- $$slots: n,
322
- $$scope: {
323
- ctx: []
324
- }
325
- })
326
- });
327
- const i = () => {
328
- this.$$r = !0;
329
- for (const o in this.$$p_d)
330
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
331
- const r = O(
332
- o,
333
- this.$$d[o],
334
- this.$$p_d,
335
- "toAttribute"
336
- );
337
- r == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, r);
338
- }
339
- this.$$r = !1;
340
- };
341
- this.$$c.$$.after_update.push(i), i();
342
- for (const o in this.$$l)
343
- for (const r of this.$$l[o]) {
344
- const l = this.$$c.$on(o, r);
345
- this.$$l_u.set(r, l);
346
- }
347
- this.$$l = {};
348
- }
349
- });
350
- }
351
- // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
352
- // and setting attributes through setAttribute etc, this is helpful
353
- attributeChangedCallback(t, n, s) {
354
- var i;
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
- }
357
- disconnectedCallback() {
358
- this.$$cn = !1, Promise.resolve().then(() => {
359
- !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
360
- });
361
- }
362
- $$g_p(t) {
363
- return Object.keys(this.$$p_d).find(
364
- (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
365
- ) || t;
366
- }
367
- });
368
- function O(e, t, n, s) {
369
- var o;
370
- const i = (o = n[e]) == null ? void 0 : o.type;
371
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !s || !n[e])
372
- return t;
373
- if (s === "toAttribute")
374
- switch (i) {
375
- case "Object":
376
- case "Array":
377
- return t == null ? null : JSON.stringify(t);
378
- case "Boolean":
379
- return t ? "" : null;
380
- case "Number":
381
- return t == null ? null : t;
382
- default:
383
- return t;
384
- }
385
- else
386
- switch (i) {
387
- case "Object":
388
- case "Array":
389
- return t && JSON.parse(t);
390
- case "Boolean":
391
- return t;
392
- case "Number":
393
- return t != null ? +t : t;
394
- default:
395
- return t;
396
- }
397
- }
398
- function Ct(e, t, n, s, i, o) {
399
- let r = class extends nt {
400
- constructor() {
401
- super(e, n, i), this.$$p_d = t;
402
- }
403
- static get observedAttributes() {
404
- return Object.keys(t).map(
405
- (l) => (t[l].attribute || l).toLowerCase()
406
- );
407
- }
408
- };
409
- return Object.keys(t).forEach((l) => {
410
- Object.defineProperty(r.prototype, l, {
411
- get() {
412
- return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
413
- },
414
- set(u) {
415
- var c;
416
- u = O(l, u, t), this.$$d[l] = u, (c = this.$$c) == null || c.$set({ [l]: u });
417
- }
418
- });
419
- }), s.forEach((l) => {
420
- Object.defineProperty(r.prototype, l, {
421
- get() {
422
- var u;
423
- return (u = this.$$c) == null ? void 0 : u[l];
424
- }
425
- });
426
- }), e.element = /** @type {any} */
427
- r, r;
428
- }
429
- class St {
430
- constructor() {
431
- /**
432
- * ### PRIVATE API
433
- *
434
- * Do not use, may change at any time
435
- *
436
- * @type {any}
437
- */
438
- $(this, "$$");
439
- /**
440
- * ### PRIVATE API
441
- *
442
- * Do not use, may change at any time
443
- *
444
- * @type {any}
445
- */
446
- $(this, "$$set");
447
- }
448
- /** @returns {void} */
449
- $destroy() {
450
- Et(this, 1), this.$destroy = T;
451
- }
452
- /**
453
- * @template {Extract<keyof Events, string>} K
454
- * @param {K} type
455
- * @param {((e: Events[K]) => void) | null | undefined} callback
456
- * @returns {() => void}
457
- */
458
- $on(t, n) {
459
- if (!Z(n))
460
- return T;
461
- const s = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
462
- return s.push(n), () => {
463
- const i = s.indexOf(n);
464
- i !== -1 && s.splice(i, 1);
465
- };
466
- }
467
- /**
468
- * @param {Partial<Props>} props
469
- * @returns {void}
470
- */
471
- $set(t) {
472
- this.$$set && !lt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
473
- }
474
- }
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
- Object.keys(e).map((s) => {
479
- if (n.data && n.data.type == s) {
480
- const i = n.data, { type: o } = i, r = I(i, ["type"]);
481
- e[s](r);
482
- }
483
- });
484
- }, Mt = (e) => {
485
- const t = jt(e);
486
- et(() => (window.addEventListener("message", t, !1), () => {
487
- window.removeEventListener("message", t);
488
- }));
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
- }
513
- function Ft(e) {
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}");
515
- }
516
- function K(e, t, n) {
517
- const s = e.slice();
518
- return s[14] = t[n], s;
519
- }
520
- function Q(e) {
521
- let t, n = G(
522
- /*__tabs*/
523
- e[5]
524
- ), s = [];
525
- for (let i = 0; i < n.length; i += 1)
526
- s[i] = X(K(e, n, i));
527
- return {
528
- c() {
529
- t = _("ul");
530
- for (let i = 0; i < s.length; i += 1)
531
- s[i].c();
532
- m(t, "part", "ul");
533
- },
534
- m(i, o) {
535
- S(i, t, o);
536
- for (let r = 0; r < s.length; r += 1)
537
- s[r] && s[r].m(t, null);
538
- },
539
- p(i, o) {
540
- if (o & /*__tab, __tabs, window, totalReceiver, textReceiver*/
541
- 60) {
542
- n = G(
543
- /*__tabs*/
544
- i[5]
545
- );
546
- let r;
547
- for (r = 0; r < n.length; r += 1) {
548
- const l = K(i, n, r);
549
- s[r] ? s[r].p(l, o) : (s[r] = X(l), s[r].c(), s[r].m(t, null));
550
- }
551
- for (; r < s.length; r += 1)
552
- s[r].d(1);
553
- s.length = n.length;
554
- }
555
- },
556
- d(i) {
557
- i && E(t), dt(s, i);
558
- }
559
- };
560
- }
561
- function W(e) {
562
- let t, n, s = (
563
- /*totalReceiver*/
564
- e[2][
565
- /*_tab*/
566
- e[14]
567
- ] + ""
568
- ), i;
569
- return {
570
- c() {
571
- t = _("sup"), n = _("span"), i = z(s), m(n, "part", "SupText"), m(t, "part", "sup");
572
- },
573
- m(o, r) {
574
- S(o, t, r), w(t, n), w(n, i);
575
- },
576
- p(o, r) {
577
- r & /*totalReceiver, __tabs*/
578
- 36 && s !== (s = /*totalReceiver*/
579
- o[2][
580
- /*_tab*/
581
- o[14]
582
- ] + "") && tt(i, s);
583
- },
584
- d(o) {
585
- o && E(t);
586
- }
587
- };
588
- }
589
- function X(e) {
590
- let t, n, s = (
591
- /*textReceiver*/
592
- e[3][
593
- /*_tab*/
594
- e[14]
595
- ] + ""
596
- ), i, o, r, l, u, c, d, a = (
597
- /*totalReceiver*/
598
- e[2][
599
- /*_tab*/
600
- e[14]
601
- ] >= 0 && W(e)
602
- );
603
- function g() {
604
- return (
605
- /*click_handler*/
606
- e[11](
607
- /*_tab*/
608
- e[14]
609
- )
610
- );
611
- }
612
- return {
613
- c() {
614
- t = _("li"), n = _("span"), i = z(s), o = V(), a && a.c(), r = V(), m(n, "part", "LiText"), m(t, "class", l = /*__tab*/
615
- e[4] === /*_tab*/
616
- e[14] ? "active" : ""), m(t, "part", u = `${/*_tab*/
617
- e[14]} li ` + /*__tab*/
618
- (e[4] === /*_tab*/
619
- e[14] ? "active" : ""));
620
- },
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), c || (d = ht(t, "click", g), c = !0);
623
- },
624
- p(h, b) {
625
- e = h, b & /*textReceiver, __tabs*/
626
- 40 && s !== (s = /*textReceiver*/
627
- e[3][
628
- /*_tab*/
629
- e[14]
630
- ] + "") && tt(i, s), /*totalReceiver*/
631
- e[2][
632
- /*_tab*/
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*/
635
- 48 && l !== (l = /*__tab*/
636
- e[4] === /*_tab*/
637
- e[14] ? "active" : "") && m(t, "class", l), b & /*__tabs, __tab*/
638
- 48 && u !== (u = `${/*_tab*/
639
- e[14]} li ` + /*__tab*/
640
- (e[4] === /*_tab*/
641
- e[14] ? "active" : "")) && m(t, "part", u);
642
- },
643
- d(h) {
644
- h && E(t), a && a.d(), c = !1, d();
645
- }
646
- };
647
- }
648
- function Rt(e) {
649
- let t, n = (
650
- /*isTitleInited*/
651
- e[1] && Q(e)
652
- );
653
- return {
654
- c() {
655
- t = _("div"), n && n.c(), m(t, "class", "casino-tournaments-tab"), m(t, "part", "CustomStylingContainer");
656
- },
657
- m(s, i) {
658
- S(s, t, i), n && n.m(t, null), e[12](t);
659
- },
660
- p(s, [i]) {
661
- /*isTitleInited*/
662
- s[1] ? n ? n.p(s, i) : (n = Q(s), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
663
- },
664
- i: T,
665
- o: T,
666
- d(s) {
667
- s && E(t), n && n.d(), e[12](null);
668
- }
669
- };
670
- }
671
- function Bt(e, t, n) {
672
- let s, i, { tabs: o = "" } = t, { tab: r = void 0 } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { mbsource: c } = t, d, a = !1, g = {}, h = {};
673
- Mt({
674
- TournamentsTabTotalUpdate: (f) => {
675
- n(2, g = M(j({}, g), {
676
- [f.state]: f.total
677
- }));
678
- },
679
- TournamentsTabLocaleTextUpdate: (f) => {
680
- n(1, a = !0), n(3, h = M(j({}, h), { [f.state]: f.text }));
681
- }
682
- }), et(() => (window.postMessage({ type: "TournamentsTabListenerLoaded" }, window.location.href), () => {
683
- }));
684
- const b = (f) => {
685
- n(4, i = f), window.postMessage({ type: "TournamentsTabSwitch", tab: f }, window.location.href);
686
- };
687
- function st(f) {
688
- R[f ? "unshift" : "push"](() => {
689
- d = f, n(0, d);
690
- });
691
- }
692
- return e.$$set = (f) => {
693
- "tabs" in f && n(6, o = f.tabs), "tab" in f && n(7, r = f.tab), "clientstyling" in f && n(8, l = f.clientstyling), "clientstylingurl" in f && n(9, u = f.clientstylingurl), "mbsource" in f && n(10, c = f.mbsource);
694
- }, e.$$.update = () => {
695
- e.$$.dirty & /*clientstyling, customStylingContainer*/
696
- 257 && l && d && Ot(d, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
697
- 513 && u && d && At(d, u), e.$$.dirty & /*mbsource, customStylingContainer*/
698
- 1025 && c && d && Nt(d, `${c}.Style`), e.$$.dirty & /*tabs*/
699
- 64 && n(5, s = o.split(",")), e.$$.dirty & /*tab*/
700
- 128 && n(4, i = r);
701
- }, [
702
- d,
703
- a,
704
- g,
705
- h,
706
- i,
707
- s,
708
- o,
709
- r,
710
- l,
711
- u,
712
- c,
713
- b,
714
- st
715
- ];
716
- }
717
- class Pt extends St {
718
- constructor(t) {
719
- super(), Tt(
720
- this,
721
- t,
722
- Bt,
723
- Rt,
724
- ct,
725
- {
726
- tabs: 6,
727
- tab: 7,
728
- clientstyling: 8,
729
- clientstylingurl: 9,
730
- mbsource: 10
731
- },
732
- Ft
733
- );
734
- }
735
- get tabs() {
736
- return this.$$.ctx[6];
737
- }
738
- set tabs(t) {
739
- this.$$set({ tabs: t }), p();
740
- }
741
- get tab() {
742
- return this.$$.ctx[7];
743
- }
744
- set tab(t) {
745
- this.$$set({ tab: t }), p();
746
- }
747
- get clientstyling() {
748
- return this.$$.ctx[8];
749
- }
750
- set clientstyling(t) {
751
- this.$$set({ clientstyling: t }), p();
752
- }
753
- get clientstylingurl() {
754
- return this.$$.ctx[9];
755
- }
756
- set clientstylingurl(t) {
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();
764
- }
765
- }
766
- Ct(Pt, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
767
- export {
768
- Pt as default
769
- };