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