@everymatrix/casino-tournaments-limited-controller 1.67.3 → 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,282 +0,0 @@
1
- import { o as H, S as D, i as I, f as _, c as O, s as A, a as B, e as m, b as f, d as y, n as L, g as v, h as C, j as G, t as R, k as F, l as h, m as J, p as U, q as K } from "./CasinoTournamentsLimitedController-Bfnn_Y5U.js";
2
- const N = (e) => (n) => {
3
- Object.keys(e).map((i) => {
4
- if (n.data && n.data.type == i) {
5
- const { type: l, ...o } = n.data;
6
- e[i](o);
7
- }
8
- });
9
- }, P = (e) => {
10
- const t = N(e);
11
- H(() => (window.addEventListener("message", t, !1), () => {
12
- window.removeEventListener("message", t);
13
- }));
14
- };
15
- function Q(e) {
16
- B(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}");
17
- }
18
- function M(e, t, n) {
19
- const i = e.slice();
20
- return i[15] = t[n], i;
21
- }
22
- function S(e) {
23
- let t, n = C(
24
- /*__tabs*/
25
- e[5]
26
- ), i = [];
27
- for (let l = 0; l < n.length; l += 1)
28
- i[l] = E(M(e, n, l));
29
- return {
30
- c() {
31
- t = m("ul");
32
- for (let l = 0; l < i.length; l += 1)
33
- i[l].c();
34
- f(t, "part", "ul");
35
- },
36
- m(l, o) {
37
- y(l, t, o);
38
- for (let s = 0; s < i.length; s += 1)
39
- i[s] && i[s].m(t, null);
40
- },
41
- p(l, o) {
42
- if (o & /*__tab, __tabs, window, totalReceiver, textReceiver*/
43
- 60) {
44
- n = C(
45
- /*__tabs*/
46
- l[5]
47
- );
48
- let s;
49
- for (s = 0; s < n.length; s += 1) {
50
- const c = M(l, n, s);
51
- i[s] ? i[s].p(c, o) : (i[s] = E(c), i[s].c(), i[s].m(t, null));
52
- }
53
- for (; s < i.length; s += 1)
54
- i[s].d(1);
55
- i.length = n.length;
56
- }
57
- },
58
- d(l) {
59
- l && v(t), G(i, l);
60
- }
61
- };
62
- }
63
- function z(e) {
64
- let t, n, i = (
65
- /*totalReceiver*/
66
- e[2][
67
- /*_tab*/
68
- e[15]
69
- ] + ""
70
- ), l;
71
- return {
72
- c() {
73
- t = m("sup"), n = m("span"), l = R(i), f(n, "part", "SupText"), f(t, "part", "sup");
74
- },
75
- m(o, s) {
76
- y(o, t, s), h(t, n), h(n, l);
77
- },
78
- p(o, s) {
79
- s & /*totalReceiver, __tabs*/
80
- 36 && i !== (i = /*totalReceiver*/
81
- o[2][
82
- /*_tab*/
83
- o[15]
84
- ] + "") && U(l, i);
85
- },
86
- d(o) {
87
- o && v(t);
88
- }
89
- };
90
- }
91
- function E(e) {
92
- let t, n, i = (
93
- /*textReceiver*/
94
- e[3][
95
- /*_tab*/
96
- e[15]
97
- ] + ""
98
- ), l, o, s, c, d, u, p, r = (
99
- /*totalReceiver*/
100
- e[2][
101
- /*_tab*/
102
- e[15]
103
- ] >= 0 && z(e)
104
- );
105
- function w() {
106
- return (
107
- /*click_handler*/
108
- e[10](
109
- /*_tab*/
110
- e[15]
111
- )
112
- );
113
- }
114
- return {
115
- c() {
116
- t = m("li"), n = m("span"), l = R(i), o = F(), r && r.c(), s = F(), f(n, "part", "LiText"), f(t, "class", c = /*__tab*/
117
- e[4] === /*_tab*/
118
- e[15] ? "active" : ""), f(t, "part", d = `${/*_tab*/
119
- e[15]} li ` + /*__tab*/
120
- (e[4] === /*_tab*/
121
- e[15] ? "active" : ""));
122
- },
123
- m(b, g) {
124
- y(b, t, g), h(t, n), h(n, l), h(t, o), r && r.m(t, null), h(t, s), u || (p = J(t, "click", w), u = !0);
125
- },
126
- p(b, g) {
127
- e = b, g & /*textReceiver, __tabs*/
128
- 40 && i !== (i = /*textReceiver*/
129
- e[3][
130
- /*_tab*/
131
- e[15]
132
- ] + "") && U(l, i), /*totalReceiver*/
133
- e[2][
134
- /*_tab*/
135
- e[15]
136
- ] >= 0 ? r ? r.p(e, g) : (r = z(e), r.c(), r.m(t, s)) : r && (r.d(1), r = null), g & /*__tab, __tabs*/
137
- 48 && c !== (c = /*__tab*/
138
- e[4] === /*_tab*/
139
- e[15] ? "active" : "") && f(t, "class", c), g & /*__tabs, __tab*/
140
- 48 && d !== (d = `${/*_tab*/
141
- e[15]} li ` + /*__tab*/
142
- (e[4] === /*_tab*/
143
- e[15] ? "active" : "")) && f(t, "part", d);
144
- },
145
- d(b) {
146
- b && v(t), r && r.d(), u = !1, p();
147
- }
148
- };
149
- }
150
- function V(e) {
151
- let t, n = (
152
- /*isTitleInited*/
153
- e[1] && S(e)
154
- );
155
- return {
156
- c() {
157
- t = m("div"), n && n.c(), f(t, "class", "casino-tournaments-tab"), f(t, "part", "CustomStylingContainer");
158
- },
159
- m(i, l) {
160
- y(i, t, l), n && n.m(t, null), e[11](t);
161
- },
162
- p(i, [l]) {
163
- /*isTitleInited*/
164
- i[1] ? n ? n.p(i, l) : (n = S(i), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
165
- },
166
- i: L,
167
- o: L,
168
- d(i) {
169
- i && v(t), n && n.d(), e[11](null);
170
- }
171
- };
172
- }
173
- function W(e, t, n) {
174
- let i, l, { tabs: o = "" } = t, { tab: s = void 0 } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, u, p = !1, r = {}, w = {};
175
- const b = () => {
176
- let a = document.createElement("style");
177
- a.innerHTML = c, u.appendChild(a);
178
- }, g = () => {
179
- let a = new URL(d), k = document.createElement("style");
180
- fetch(a.href).then((T) => T.text()).then((T) => {
181
- k.innerHTML = T, setTimeout(
182
- () => {
183
- u.appendChild(k);
184
- },
185
- 1
186
- ), setTimeout(
187
- () => {
188
- },
189
- 500
190
- );
191
- });
192
- };
193
- P({
194
- TournamentsTabTotalUpdate: (a) => {
195
- n(2, r = {
196
- ...r,
197
- [a.state]: a.total
198
- });
199
- },
200
- TournamentsTabLocaleTextUpdate: (a) => {
201
- n(1, p = !0), n(3, w = { ...w, [a.state]: a.text });
202
- }
203
- }), H(() => {
204
- window.postMessage({ type: "TournamentsTabListenerLoaded" }, window.location.href);
205
- });
206
- const j = (a) => {
207
- n(4, l = a), window.postMessage({ type: "TournamentsTabSwitch", tab: a }, window.location.href);
208
- };
209
- function q(a) {
210
- K[a ? "unshift" : "push"](() => {
211
- u = a, n(0, u);
212
- });
213
- }
214
- return e.$$set = (a) => {
215
- "tabs" in a && n(6, o = a.tabs), "tab" in a && n(7, s = a.tab), "clientstyling" in a && n(8, c = a.clientstyling), "clientstylingurl" in a && n(9, d = a.clientstylingurl);
216
- }, e.$$.update = () => {
217
- e.$$.dirty & /*customStylingContainer, clientstyling*/
218
- 257 && u && c && b(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
219
- 513 && u && d && g(), e.$$.dirty & /*tabs*/
220
- 64 && n(5, i = o.split(",")), e.$$.dirty & /*tab*/
221
- 128 && n(4, l = s);
222
- }, [
223
- u,
224
- p,
225
- r,
226
- w,
227
- l,
228
- i,
229
- o,
230
- s,
231
- c,
232
- d,
233
- j,
234
- q
235
- ];
236
- }
237
- class X extends D {
238
- constructor(t) {
239
- super(), I(
240
- this,
241
- t,
242
- W,
243
- V,
244
- A,
245
- {
246
- tabs: 6,
247
- tab: 7,
248
- clientstyling: 8,
249
- clientstylingurl: 9
250
- },
251
- Q
252
- );
253
- }
254
- get tabs() {
255
- return this.$$.ctx[6];
256
- }
257
- set tabs(t) {
258
- this.$$set({ tabs: t }), _();
259
- }
260
- get tab() {
261
- return this.$$.ctx[7];
262
- }
263
- set tab(t) {
264
- this.$$set({ tab: t }), _();
265
- }
266
- get clientstyling() {
267
- return this.$$.ctx[8];
268
- }
269
- set clientstyling(t) {
270
- this.$$set({ clientstyling: t }), _();
271
- }
272
- get clientstylingurl() {
273
- return this.$$.ctx[9];
274
- }
275
- set clientstylingurl(t) {
276
- this.$$set({ clientstylingurl: t }), _();
277
- }
278
- }
279
- O(X, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
280
- export {
281
- X as default
282
- };
@@ -1,302 +0,0 @@
1
- var K = Object.defineProperty, N = Object.defineProperties;
2
- var P = Object.getOwnPropertyDescriptors;
3
- var _ = Object.getOwnPropertySymbols;
4
- var S = Object.prototype.hasOwnProperty, z = Object.prototype.propertyIsEnumerable;
5
- var M = (e, t, n) => t in e ? K(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, L = (e, t) => {
6
- for (var n in t || (t = {}))
7
- S.call(t, n) && M(e, n, t[n]);
8
- if (_)
9
- for (var n of _(t))
10
- z.call(t, n) && M(e, n, t[n]);
11
- return e;
12
- }, C = (e, t) => N(e, P(t));
13
- var E = (e, t) => {
14
- var n = {};
15
- for (var i in e)
16
- S.call(e, i) && t.indexOf(i) < 0 && (n[i] = e[i]);
17
- if (e != null && _)
18
- for (var i of _(e))
19
- t.indexOf(i) < 0 && z.call(e, i) && (n[i] = e[i]);
20
- return n;
21
- };
22
- import { o as O, S as Q, i as V, f as y, c as W, s as X, a as Y, e as m, b as f, d as v, n as H, g as T, h as R, j as Z, t as A, k as U, l as h, m as x, p as B, q as $ } from "./CasinoTournamentsLimitedController-CiBWTEia.js";
23
- const tt = (e) => (n) => {
24
- Object.keys(e).map((i) => {
25
- if (n.data && n.data.type == i) {
26
- const l = n.data, { type: o } = l, s = E(l, ["type"]);
27
- e[i](s);
28
- }
29
- });
30
- }, et = (e) => {
31
- const t = tt(e);
32
- O(() => (window.addEventListener("message", t, !1), () => {
33
- window.removeEventListener("message", t);
34
- }));
35
- };
36
- function nt(e) {
37
- Y(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}");
38
- }
39
- function j(e, t, n) {
40
- const i = e.slice();
41
- return i[15] = t[n], i;
42
- }
43
- function q(e) {
44
- let t, n = R(
45
- /*__tabs*/
46
- e[5]
47
- ), i = [];
48
- for (let l = 0; l < n.length; l += 1)
49
- i[l] = I(j(e, n, l));
50
- return {
51
- c() {
52
- t = m("ul");
53
- for (let l = 0; l < i.length; l += 1)
54
- i[l].c();
55
- f(t, "part", "ul");
56
- },
57
- m(l, o) {
58
- v(l, t, o);
59
- for (let s = 0; s < i.length; s += 1)
60
- i[s] && i[s].m(t, null);
61
- },
62
- p(l, o) {
63
- if (o & /*__tab, __tabs, window, totalReceiver, textReceiver*/
64
- 60) {
65
- n = R(
66
- /*__tabs*/
67
- l[5]
68
- );
69
- let s;
70
- for (s = 0; s < n.length; s += 1) {
71
- const c = j(l, n, s);
72
- i[s] ? i[s].p(c, o) : (i[s] = I(c), i[s].c(), i[s].m(t, null));
73
- }
74
- for (; s < i.length; s += 1)
75
- i[s].d(1);
76
- i.length = n.length;
77
- }
78
- },
79
- d(l) {
80
- l && T(t), Z(i, l);
81
- }
82
- };
83
- }
84
- function D(e) {
85
- let t, n, i = (
86
- /*totalReceiver*/
87
- e[2][
88
- /*_tab*/
89
- e[15]
90
- ] + ""
91
- ), l;
92
- return {
93
- c() {
94
- t = m("sup"), n = m("span"), l = A(i), f(n, "part", "SupText"), f(t, "part", "sup");
95
- },
96
- m(o, s) {
97
- v(o, t, s), h(t, n), h(n, l);
98
- },
99
- p(o, s) {
100
- s & /*totalReceiver, __tabs*/
101
- 36 && i !== (i = /*totalReceiver*/
102
- o[2][
103
- /*_tab*/
104
- o[15]
105
- ] + "") && B(l, i);
106
- },
107
- d(o) {
108
- o && T(t);
109
- }
110
- };
111
- }
112
- function I(e) {
113
- let t, n, i = (
114
- /*textReceiver*/
115
- e[3][
116
- /*_tab*/
117
- e[15]
118
- ] + ""
119
- ), l, o, s, c, d, u, p, r = (
120
- /*totalReceiver*/
121
- e[2][
122
- /*_tab*/
123
- e[15]
124
- ] >= 0 && D(e)
125
- );
126
- function w() {
127
- return (
128
- /*click_handler*/
129
- e[10](
130
- /*_tab*/
131
- e[15]
132
- )
133
- );
134
- }
135
- return {
136
- c() {
137
- t = m("li"), n = m("span"), l = A(i), o = U(), r && r.c(), s = U(), f(n, "part", "LiText"), f(t, "class", c = /*__tab*/
138
- e[4] === /*_tab*/
139
- e[15] ? "active" : ""), f(t, "part", d = `${/*_tab*/
140
- e[15]} li ` + /*__tab*/
141
- (e[4] === /*_tab*/
142
- e[15] ? "active" : ""));
143
- },
144
- m(b, g) {
145
- v(b, t, g), h(t, n), h(n, l), h(t, o), r && r.m(t, null), h(t, s), u || (p = x(t, "click", w), u = !0);
146
- },
147
- p(b, g) {
148
- e = b, g & /*textReceiver, __tabs*/
149
- 40 && i !== (i = /*textReceiver*/
150
- e[3][
151
- /*_tab*/
152
- e[15]
153
- ] + "") && B(l, i), /*totalReceiver*/
154
- e[2][
155
- /*_tab*/
156
- e[15]
157
- ] >= 0 ? r ? r.p(e, g) : (r = D(e), r.c(), r.m(t, s)) : r && (r.d(1), r = null), g & /*__tab, __tabs*/
158
- 48 && c !== (c = /*__tab*/
159
- e[4] === /*_tab*/
160
- e[15] ? "active" : "") && f(t, "class", c), g & /*__tabs, __tab*/
161
- 48 && d !== (d = `${/*_tab*/
162
- e[15]} li ` + /*__tab*/
163
- (e[4] === /*_tab*/
164
- e[15] ? "active" : "")) && f(t, "part", d);
165
- },
166
- d(b) {
167
- b && T(t), r && r.d(), u = !1, p();
168
- }
169
- };
170
- }
171
- function it(e) {
172
- let t, n = (
173
- /*isTitleInited*/
174
- e[1] && q(e)
175
- );
176
- return {
177
- c() {
178
- t = m("div"), n && n.c(), f(t, "class", "casino-tournaments-tab"), f(t, "part", "CustomStylingContainer");
179
- },
180
- m(i, l) {
181
- v(i, t, l), n && n.m(t, null), e[11](t);
182
- },
183
- p(i, [l]) {
184
- /*isTitleInited*/
185
- i[1] ? n ? n.p(i, l) : (n = q(i), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
186
- },
187
- i: H,
188
- o: H,
189
- d(i) {
190
- i && T(t), n && n.d(), e[11](null);
191
- }
192
- };
193
- }
194
- function lt(e, t, n) {
195
- let i, l, { tabs: o = "" } = t, { tab: s = void 0 } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, u, p = !1, r = {}, w = {};
196
- const b = () => {
197
- let a = document.createElement("style");
198
- a.innerHTML = c, u.appendChild(a);
199
- }, g = () => {
200
- let a = new URL(d), F = document.createElement("style");
201
- fetch(a.href).then((k) => k.text()).then((k) => {
202
- F.innerHTML = k, setTimeout(
203
- () => {
204
- u.appendChild(F);
205
- },
206
- 1
207
- ), setTimeout(
208
- () => {
209
- },
210
- 500
211
- );
212
- });
213
- };
214
- et({
215
- TournamentsTabTotalUpdate: (a) => {
216
- n(2, r = C(L({}, r), {
217
- [a.state]: a.total
218
- }));
219
- },
220
- TournamentsTabLocaleTextUpdate: (a) => {
221
- n(1, p = !0), n(3, w = C(L({}, w), { [a.state]: a.text }));
222
- }
223
- }), O(() => {
224
- window.postMessage({ type: "TournamentsTabListenerLoaded" }, window.location.href);
225
- });
226
- const G = (a) => {
227
- n(4, l = a), window.postMessage({ type: "TournamentsTabSwitch", tab: a }, window.location.href);
228
- };
229
- function J(a) {
230
- $[a ? "unshift" : "push"](() => {
231
- u = a, n(0, u);
232
- });
233
- }
234
- return e.$$set = (a) => {
235
- "tabs" in a && n(6, o = a.tabs), "tab" in a && n(7, s = a.tab), "clientstyling" in a && n(8, c = a.clientstyling), "clientstylingurl" in a && n(9, d = a.clientstylingurl);
236
- }, e.$$.update = () => {
237
- e.$$.dirty & /*customStylingContainer, clientstyling*/
238
- 257 && u && c && b(), e.$$.dirty & /*customStylingContainer, clientstylingurl*/
239
- 513 && u && d && g(), e.$$.dirty & /*tabs*/
240
- 64 && n(5, i = o.split(",")), e.$$.dirty & /*tab*/
241
- 128 && n(4, l = s);
242
- }, [
243
- u,
244
- p,
245
- r,
246
- w,
247
- l,
248
- i,
249
- o,
250
- s,
251
- c,
252
- d,
253
- G,
254
- J
255
- ];
256
- }
257
- class st extends Q {
258
- constructor(t) {
259
- super(), V(
260
- this,
261
- t,
262
- lt,
263
- it,
264
- X,
265
- {
266
- tabs: 6,
267
- tab: 7,
268
- clientstyling: 8,
269
- clientstylingurl: 9
270
- },
271
- nt
272
- );
273
- }
274
- get tabs() {
275
- return this.$$.ctx[6];
276
- }
277
- set tabs(t) {
278
- this.$$set({ tabs: t }), y();
279
- }
280
- get tab() {
281
- return this.$$.ctx[7];
282
- }
283
- set tab(t) {
284
- this.$$set({ tab: t }), y();
285
- }
286
- get clientstyling() {
287
- return this.$$.ctx[8];
288
- }
289
- set clientstyling(t) {
290
- this.$$set({ clientstyling: t }), y();
291
- }
292
- get clientstylingurl() {
293
- return this.$$.ctx[9];
294
- }
295
- set clientstylingurl(t) {
296
- this.$$set({ clientstylingurl: t }), y();
297
- }
298
- }
299
- W(st, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
300
- export {
301
- st as default
302
- };
@@ -1 +0,0 @@
1
- "use strict";var U=Object.defineProperty,j=Object.defineProperties;var q=Object.getOwnPropertyDescriptors;var p=Object.getOwnPropertySymbols;var k=Object.prototype.hasOwnProperty,C=Object.prototype.propertyIsEnumerable;var T=(e,t,n)=>t in e?U(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t)=>{for(var n in t||(t={}))k.call(t,n)&&T(e,n,t[n]);if(p)for(var n of p(t))C.call(t,n)&&T(e,n,t[n]);return e},y=(e,t)=>j(e,q(t));var L=(e,t)=>{var n={};for(var l in e)k.call(e,l)&&t.indexOf(l)<0&&(n[l]=e[l]);if(e!=null&&p)for(var l of p(e))t.indexOf(l)<0&&C.call(e,l)&&(n[l]=e[l]);return n};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoTournamentsLimitedController-DHTqRj4u.cjs"),O=e=>n=>{Object.keys(e).map(l=>{if(n.data&&n.data.type==l){const s=n.data,{type:r}=s,a=L(s,["type"]);e[l](a)}})},D=e=>{const t=O(e);i.onMount(()=>(window.addEventListener("message",t,!1),()=>{window.removeEventListener("message",t)}))};function I(e){i.append_styles(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 F(e,t,n){const l=e.slice();return l[15]=t[n],l}function M(e){let t,n=i.ensure_array_like(e[5]),l=[];for(let s=0;s<n.length;s+=1)l[s]=z(F(e,n,s));return{c(){t=i.element("ul");for(let s=0;s<l.length;s+=1)l[s].c();i.attr(t,"part","ul")},m(s,r){i.insert(s,t,r);for(let a=0;a<l.length;a+=1)l[a]&&l[a].m(t,null)},p(s,r){if(r&60){n=i.ensure_array_like(s[5]);let a;for(a=0;a<n.length;a+=1){const c=F(s,n,a);l[a]?l[a].p(c,r):(l[a]=z(c),l[a].c(),l[a].m(t,null))}for(;a<l.length;a+=1)l[a].d(1);l.length=n.length}},d(s){s&&i.detach(t),i.destroy_each(l,s)}}}function S(e){let t,n,l=e[2][e[15]]+"",s;return{c(){t=i.element("sup"),n=i.element("span"),s=i.text(l),i.attr(n,"part","SupText"),i.attr(t,"part","sup")},m(r,a){i.insert(r,t,a),i.append(t,n),i.append(n,s)},p(r,a){a&36&&l!==(l=r[2][r[15]]+"")&&i.set_data(s,l)},d(r){r&&i.detach(t)}}}function z(e){let t,n,l=e[3][e[15]]+"",s,r,a,c,f,d,h,u=e[2][e[15]]>=0&&S(e);function m(){return e[10](e[15])}return{c(){t=i.element("li"),n=i.element("span"),s=i.text(l),r=i.space(),u&&u.c(),a=i.space(),i.attr(n,"part","LiText"),i.attr(t,"class",c=e[4]===e[15]?"active":""),i.attr(t,"part",f=`${e[15]} li `+(e[4]===e[15]?"active":""))},m(b,g){i.insert(b,t,g),i.append(t,n),i.append(n,s),i.append(t,r),u&&u.m(t,null),i.append(t,a),d||(h=i.listen(t,"click",m),d=!0)},p(b,g){e=b,g&40&&l!==(l=e[3][e[15]]+"")&&i.set_data(s,l),e[2][e[15]]>=0?u?u.p(e,g):(u=S(e),u.c(),u.m(t,a)):u&&(u.d(1),u=null),g&48&&c!==(c=e[4]===e[15]?"active":"")&&i.attr(t,"class",c),g&48&&f!==(f=`${e[15]} li `+(e[4]===e[15]?"active":""))&&i.attr(t,"part",f)},d(b){b&&i.detach(t),u&&u.d(),d=!1,h()}}}function P(e){let t,n=e[1]&&M(e);return{c(){t=i.element("div"),n&&n.c(),i.attr(t,"class","casino-tournaments-tab"),i.attr(t,"part","CustomStylingContainer")},m(l,s){i.insert(l,t,s),n&&n.m(t,null),e[11](t)},p(l,[s]){l[1]?n?n.p(l,s):(n=M(l),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},i:i.noop,o:i.noop,d(l){l&&i.detach(t),n&&n.d(),e[11](null)}}}function A(e,t,n){let l,s,{tabs:r=""}=t,{tab:a=void 0}=t,{clientstyling:c=""}=t,{clientstylingurl:f=""}=t,d,h=!1,u={},m={};const b=()=>{let o=document.createElement("style");o.innerHTML=c,d.appendChild(o)},g=()=>{let o=new URL(f),v=document.createElement("style");fetch(o.href).then(_=>_.text()).then(_=>{v.innerHTML=_,setTimeout(()=>{d.appendChild(v)},1),setTimeout(()=>{},500)})};D({TournamentsTabTotalUpdate:o=>{n(2,u=y(w({},u),{[o.state]:o.total}))},TournamentsTabLocaleTextUpdate:o=>{n(1,h=!0),n(3,m=y(w({},m),{[o.state]:o.text}))}}),i.onMount(()=>{window.postMessage({type:"TournamentsTabListenerLoaded"},window.location.href)});const H=o=>{n(4,s=o),window.postMessage({type:"TournamentsTabSwitch",tab:o},window.location.href)};function R(o){i.binding_callbacks[o?"unshift":"push"](()=>{d=o,n(0,d)})}return e.$$set=o=>{"tabs"in o&&n(6,r=o.tabs),"tab"in o&&n(7,a=o.tab),"clientstyling"in o&&n(8,c=o.clientstyling),"clientstylingurl"in o&&n(9,f=o.clientstylingurl)},e.$$.update=()=>{e.$$.dirty&257&&d&&c&&b(),e.$$.dirty&513&&d&&f&&g(),e.$$.dirty&64&&n(5,l=r.split(",")),e.$$.dirty&128&&n(4,s=a)},[d,h,u,m,s,l,r,a,c,f,H,R]}class E extends i.SvelteComponent{constructor(t){super(),i.init(this,t,A,P,i.safe_not_equal,{tabs:6,tab:7,clientstyling:8,clientstylingurl:9},I)}get tabs(){return this.$$.ctx[6]}set tabs(t){this.$$set({tabs:t}),i.flush()}get tab(){return this.$$.ctx[7]}set tab(t){this.$$set({tab:t}),i.flush()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}}i.create_custom_element(E,{tabs:{},tab:{},clientstyling:{},clientstylingurl:{}},[],[],!0);exports.default=E;