@everymatrix/casino-tournaments-limited-controller 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.
@@ -0,0 +1,319 @@
1
+ var J = Object.defineProperty, K = Object.defineProperties;
2
+ var N = Object.getOwnPropertyDescriptors;
3
+ var y = Object.getOwnPropertySymbols;
4
+ var S = Object.prototype.hasOwnProperty, C = Object.prototype.propertyIsEnumerable;
5
+ var z = (e, t, n) => t in e ? J(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, v = (e, t) => {
6
+ for (var n in t || (t = {}))
7
+ S.call(t, n) && z(e, n, t[n]);
8
+ if (y)
9
+ for (var n of y(t))
10
+ C.call(t, n) && z(e, n, t[n]);
11
+ return e;
12
+ }, L = (e, t) => K(e, N(t));
13
+ var M = (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 && y)
18
+ for (var i of y(e))
19
+ t.indexOf(i) < 0 && C.call(e, i) && (n[i] = e[i]);
20
+ return n;
21
+ };
22
+ import { o as U, S as P, i as Q, f as h, c as V, s as W, a as X, e as w, b, d as Y, g as T, n as D, h as k, j as Z, k as x, l as j, m as $, t as I, p as q, q as p, r as tt, u as O, v as et, w as nt } from "./CasinoTournamentsLimitedController-DPSp6MHt.js";
23
+ const it = (e) => (n) => {
24
+ Object.keys(e).map((i) => {
25
+ if (n.data && n.data.type == i) {
26
+ const s = n.data, { type: r } = s, a = M(s, ["type"]);
27
+ e[i](a);
28
+ }
29
+ });
30
+ }, st = (e) => {
31
+ const t = it(e);
32
+ U(() => (window.addEventListener("message", t, !1), () => {
33
+ window.removeEventListener("message", t);
34
+ }));
35
+ };
36
+ function at(e) {
37
+ X(e, "svelte-qazmct", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:var(--emw--color-primary, #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 var(--emw--color-grey-105, #424242) solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;font-size:var(--emw--font-size-small, 14px);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}.TabDesktop.casino-tournaments-tab{margin:10px}.TabDesktop.casino-tournaments-tab ul{font-size:inherit;border-bottom:2px var(--emw--color-grey-105, #424242) solid}.TabDesktop.casino-tournaments-tab ul li{padding:10px 20px;cursor:pointer}.TabDesktop.casino-tournaments-tab ul li.active{color:var(--emw--color-primary, #FF8364);border-bottom:3px var(--emw--color-primary, #FF8364) solid}.TabDesktop.casino-tournaments-tab ul li span{margin:auto 0}");
38
+ }
39
+ function R(e, t, n) {
40
+ const i = e.slice();
41
+ return i[16] = t[n], i;
42
+ }
43
+ function A(e) {
44
+ let t, n = j(
45
+ /*__tabs*/
46
+ e[6]
47
+ ), i = [];
48
+ for (let s = 0; s < n.length; s += 1)
49
+ i[s] = H(R(e, n, s));
50
+ return {
51
+ c() {
52
+ t = w("ul");
53
+ for (let s = 0; s < i.length; s += 1)
54
+ i[s].c();
55
+ b(t, "part", "ul");
56
+ },
57
+ m(s, r) {
58
+ T(s, t, r);
59
+ for (let a = 0; a < i.length; a += 1)
60
+ i[a] && i[a].m(t, null);
61
+ },
62
+ p(s, r) {
63
+ if (r & /*__tab, __tabs, window, tid, totalReceiver, textReceiver*/
64
+ 121) {
65
+ n = j(
66
+ /*__tabs*/
67
+ s[6]
68
+ );
69
+ let a;
70
+ for (a = 0; a < n.length; a += 1) {
71
+ const u = R(s, n, a);
72
+ i[a] ? i[a].p(u, r) : (i[a] = H(u), i[a].c(), i[a].m(t, null));
73
+ }
74
+ for (; a < i.length; a += 1)
75
+ i[a].d(1);
76
+ i.length = n.length;
77
+ }
78
+ },
79
+ d(s) {
80
+ s && k(t), $(i, s);
81
+ }
82
+ };
83
+ }
84
+ function E(e) {
85
+ let t, n, i = (
86
+ /*totalReceiver*/
87
+ e[3][
88
+ /*_tab*/
89
+ e[16]
90
+ ] + ""
91
+ ), s;
92
+ return {
93
+ c() {
94
+ t = w("sup"), n = w("span"), s = I(i), b(n, "part", "SupText"), b(t, "part", "sup");
95
+ },
96
+ m(r, a) {
97
+ T(r, t, a), p(t, n), p(n, s);
98
+ },
99
+ p(r, a) {
100
+ a & /*totalReceiver, __tabs*/
101
+ 72 && i !== (i = /*totalReceiver*/
102
+ r[3][
103
+ /*_tab*/
104
+ r[16]
105
+ ] + "") && O(s, i);
106
+ },
107
+ d(r) {
108
+ r && k(t);
109
+ }
110
+ };
111
+ }
112
+ function H(e) {
113
+ let t, n, i = (
114
+ /*textReceiver*/
115
+ e[4][
116
+ /*_tab*/
117
+ e[16]
118
+ ] + ""
119
+ ), s, r, a, u, f, d, m, l = (
120
+ /*totalReceiver*/
121
+ e[3][
122
+ /*_tab*/
123
+ e[16]
124
+ ] >= 0 && E(e)
125
+ );
126
+ function _() {
127
+ return (
128
+ /*click_handler*/
129
+ e[13](
130
+ /*_tab*/
131
+ e[16]
132
+ )
133
+ );
134
+ }
135
+ return {
136
+ c() {
137
+ t = w("li"), n = w("span"), s = I(i), r = q(), l && l.c(), a = q(), b(n, "part", "LiText"), b(t, "class", u = /*__tab*/
138
+ e[5] === /*_tab*/
139
+ e[16] ? "active" : ""), b(t, "part", f = `${/*_tab*/
140
+ e[16]} li ` + /*__tab*/
141
+ (e[5] === /*_tab*/
142
+ e[16] ? "active" : ""));
143
+ },
144
+ m(g, c) {
145
+ T(g, t, c), p(t, n), p(n, s), p(t, r), l && l.m(t, null), p(t, a), d || (m = tt(t, "click", _), d = !0);
146
+ },
147
+ p(g, c) {
148
+ e = g, c & /*textReceiver, __tabs*/
149
+ 80 && i !== (i = /*textReceiver*/
150
+ e[4][
151
+ /*_tab*/
152
+ e[16]
153
+ ] + "") && O(s, i), /*totalReceiver*/
154
+ e[3][
155
+ /*_tab*/
156
+ e[16]
157
+ ] >= 0 ? l ? l.p(e, c) : (l = E(e), l.c(), l.m(t, a)) : l && (l.d(1), l = null), c & /*__tab, __tabs*/
158
+ 96 && u !== (u = /*__tab*/
159
+ e[5] === /*_tab*/
160
+ e[16] ? "active" : "") && b(t, "class", u), c & /*__tabs, __tab*/
161
+ 96 && f !== (f = `${/*_tab*/
162
+ e[16]} li ` + /*__tab*/
163
+ (e[5] === /*_tab*/
164
+ e[16] ? "active" : "")) && b(t, "part", f);
165
+ },
166
+ d(g) {
167
+ g && k(t), l && l.d(), d = !1, m();
168
+ }
169
+ };
170
+ }
171
+ function lt(e) {
172
+ let t, n = (
173
+ /*isTitleInited*/
174
+ e[2] && A(e)
175
+ );
176
+ return {
177
+ c() {
178
+ t = w("div"), n && n.c(), b(t, "class", "casino-tournaments-tab " + (Y(
179
+ /*userAgent*/
180
+ e[7]
181
+ ) ? "TabMobile" : "TabDesktop")), b(t, "part", "CustomStylingContainer");
182
+ },
183
+ m(i, s) {
184
+ T(i, t, s), n && n.m(t, null), e[14](t);
185
+ },
186
+ p(i, [s]) {
187
+ /*isTitleInited*/
188
+ i[2] ? n ? n.p(i, s) : (n = A(i), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
189
+ },
190
+ i: D,
191
+ o: D,
192
+ d(i) {
193
+ i && k(t), n && n.d(), e[14](null);
194
+ }
195
+ };
196
+ }
197
+ function ot(e, t, n) {
198
+ let i, s, { tabs: r = "" } = t, { tab: a = void 0 } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: d } = t, { tid: m = "pageTab" } = t, l, _ = !1;
199
+ const g = window.navigator.userAgent;
200
+ let c = {}, F = {};
201
+ st({
202
+ TournamentsTabTotalUpdate: (o) => {
203
+ n(3, c = L(v({}, c), {
204
+ [o.state]: o.total
205
+ }));
206
+ },
207
+ TournamentsTabsLocalize: (o) => {
208
+ n(2, _ = !0), n(4, F = v(v({}, F), o.tabTitleTranslations));
209
+ }
210
+ }), U(() => (window.postMessage(
211
+ {
212
+ type: "TournamentsTabListenerLoaded",
213
+ tid: m
214
+ },
215
+ window.location.href
216
+ ), () => {
217
+ }));
218
+ const B = (o) => {
219
+ n(5, s = o), window.postMessage(
220
+ {
221
+ type: "TournamentsTabSwitch",
222
+ tab: o,
223
+ tid: m
224
+ },
225
+ window.location.href
226
+ );
227
+ };
228
+ function G(o) {
229
+ et[o ? "unshift" : "push"](() => {
230
+ l = o, n(1, l);
231
+ });
232
+ }
233
+ return e.$$set = (o) => {
234
+ "tabs" in o && n(8, r = o.tabs), "tab" in o && n(9, a = o.tab), "clientstyling" in o && n(10, u = o.clientstyling), "clientstylingurl" in o && n(11, f = o.clientstylingurl), "mbsource" in o && n(12, d = o.mbsource), "tid" in o && n(0, m = o.tid);
235
+ }, e.$$.update = () => {
236
+ e.$$.dirty & /*clientstyling, customStylingContainer*/
237
+ 1026 && u && l && nt(l, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
238
+ 2050 && f && l && Z(l, f), e.$$.dirty & /*mbsource, customStylingContainer*/
239
+ 4098 && d && l && x(l, `${d}.Style`), e.$$.dirty & /*tabs*/
240
+ 256 && n(6, i = r.split(",")), e.$$.dirty & /*tab*/
241
+ 512 && n(5, s = a);
242
+ }, [
243
+ m,
244
+ l,
245
+ _,
246
+ c,
247
+ F,
248
+ s,
249
+ i,
250
+ g,
251
+ r,
252
+ a,
253
+ u,
254
+ f,
255
+ d,
256
+ B,
257
+ G
258
+ ];
259
+ }
260
+ class rt extends P {
261
+ constructor(t) {
262
+ super(), Q(
263
+ this,
264
+ t,
265
+ ot,
266
+ lt,
267
+ W,
268
+ {
269
+ tabs: 8,
270
+ tab: 9,
271
+ clientstyling: 10,
272
+ clientstylingurl: 11,
273
+ mbsource: 12,
274
+ tid: 0
275
+ },
276
+ at
277
+ );
278
+ }
279
+ get tabs() {
280
+ return this.$$.ctx[8];
281
+ }
282
+ set tabs(t) {
283
+ this.$$set({ tabs: t }), h();
284
+ }
285
+ get tab() {
286
+ return this.$$.ctx[9];
287
+ }
288
+ set tab(t) {
289
+ this.$$set({ tab: t }), h();
290
+ }
291
+ get clientstyling() {
292
+ return this.$$.ctx[10];
293
+ }
294
+ set clientstyling(t) {
295
+ this.$$set({ clientstyling: t }), h();
296
+ }
297
+ get clientstylingurl() {
298
+ return this.$$.ctx[11];
299
+ }
300
+ set clientstylingurl(t) {
301
+ this.$$set({ clientstylingurl: t }), h();
302
+ }
303
+ get mbsource() {
304
+ return this.$$.ctx[12];
305
+ }
306
+ set mbsource(t) {
307
+ this.$$set({ mbsource: t }), h();
308
+ }
309
+ get tid() {
310
+ return this.$$.ctx[0];
311
+ }
312
+ set tid(t) {
313
+ this.$$set({ tid: t }), h();
314
+ }
315
+ }
316
+ V(rt, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
317
+ export {
318
+ rt as default
319
+ };
@@ -0,0 +1,302 @@
1
+ import { o as D, S as E, i as H, f as h, c as U, s as I, a as O, e as w, b, d as B, g as y, n as k, h as v, j as G, k as J, l as F, m as K, t as j, p as z, q as p, r as N, u as q, v as P, w as Q } from "./CasinoTournamentsLimitedController-B-EjUmEq.js";
2
+ const V = (e) => (n) => {
3
+ Object.keys(e).map((i) => {
4
+ if (n.data && n.data.type == i) {
5
+ const { type: s, ...r } = n.data;
6
+ e[i](r);
7
+ }
8
+ });
9
+ }, W = (e) => {
10
+ const t = V(e);
11
+ D(() => (window.addEventListener("message", t, !1), () => {
12
+ window.removeEventListener("message", t);
13
+ }));
14
+ };
15
+ function X(e) {
16
+ O(e, "svelte-qazmct", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:var(--emw--color-primary, #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 var(--emw--color-grey-105, #424242) solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;font-size:var(--emw--font-size-small, 14px);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}.TabDesktop.casino-tournaments-tab{margin:10px}.TabDesktop.casino-tournaments-tab ul{font-size:inherit;border-bottom:2px var(--emw--color-grey-105, #424242) solid}.TabDesktop.casino-tournaments-tab ul li{padding:10px 20px;cursor:pointer}.TabDesktop.casino-tournaments-tab ul li.active{color:var(--emw--color-primary, #FF8364);border-bottom:3px var(--emw--color-primary, #FF8364) solid}.TabDesktop.casino-tournaments-tab ul li span{margin:auto 0}");
17
+ }
18
+ function S(e, t, n) {
19
+ const i = e.slice();
20
+ return i[16] = t[n], i;
21
+ }
22
+ function C(e) {
23
+ let t, n = F(
24
+ /*__tabs*/
25
+ e[6]
26
+ ), i = [];
27
+ for (let s = 0; s < n.length; s += 1)
28
+ i[s] = M(S(e, n, s));
29
+ return {
30
+ c() {
31
+ t = w("ul");
32
+ for (let s = 0; s < i.length; s += 1)
33
+ i[s].c();
34
+ b(t, "part", "ul");
35
+ },
36
+ m(s, r) {
37
+ y(s, t, r);
38
+ for (let a = 0; a < i.length; a += 1)
39
+ i[a] && i[a].m(t, null);
40
+ },
41
+ p(s, r) {
42
+ if (r & /*__tab, __tabs, window, tid, totalReceiver, textReceiver*/
43
+ 121) {
44
+ n = F(
45
+ /*__tabs*/
46
+ s[6]
47
+ );
48
+ let a;
49
+ for (a = 0; a < n.length; a += 1) {
50
+ const u = S(s, n, a);
51
+ i[a] ? i[a].p(u, r) : (i[a] = M(u), i[a].c(), i[a].m(t, null));
52
+ }
53
+ for (; a < i.length; a += 1)
54
+ i[a].d(1);
55
+ i.length = n.length;
56
+ }
57
+ },
58
+ d(s) {
59
+ s && v(t), K(i, s);
60
+ }
61
+ };
62
+ }
63
+ function L(e) {
64
+ let t, n, i = (
65
+ /*totalReceiver*/
66
+ e[3][
67
+ /*_tab*/
68
+ e[16]
69
+ ] + ""
70
+ ), s;
71
+ return {
72
+ c() {
73
+ t = w("sup"), n = w("span"), s = j(i), b(n, "part", "SupText"), b(t, "part", "sup");
74
+ },
75
+ m(r, a) {
76
+ y(r, t, a), p(t, n), p(n, s);
77
+ },
78
+ p(r, a) {
79
+ a & /*totalReceiver, __tabs*/
80
+ 72 && i !== (i = /*totalReceiver*/
81
+ r[3][
82
+ /*_tab*/
83
+ r[16]
84
+ ] + "") && q(s, i);
85
+ },
86
+ d(r) {
87
+ r && v(t);
88
+ }
89
+ };
90
+ }
91
+ function M(e) {
92
+ let t, n, i = (
93
+ /*textReceiver*/
94
+ e[4][
95
+ /*_tab*/
96
+ e[16]
97
+ ] + ""
98
+ ), s, r, a, u, f, d, m, l = (
99
+ /*totalReceiver*/
100
+ e[3][
101
+ /*_tab*/
102
+ e[16]
103
+ ] >= 0 && L(e)
104
+ );
105
+ function _() {
106
+ return (
107
+ /*click_handler*/
108
+ e[13](
109
+ /*_tab*/
110
+ e[16]
111
+ )
112
+ );
113
+ }
114
+ return {
115
+ c() {
116
+ t = w("li"), n = w("span"), s = j(i), r = z(), l && l.c(), a = z(), b(n, "part", "LiText"), b(t, "class", u = /*__tab*/
117
+ e[5] === /*_tab*/
118
+ e[16] ? "active" : ""), b(t, "part", f = `${/*_tab*/
119
+ e[16]} li ` + /*__tab*/
120
+ (e[5] === /*_tab*/
121
+ e[16] ? "active" : ""));
122
+ },
123
+ m(g, c) {
124
+ y(g, t, c), p(t, n), p(n, s), p(t, r), l && l.m(t, null), p(t, a), d || (m = N(t, "click", _), d = !0);
125
+ },
126
+ p(g, c) {
127
+ e = g, c & /*textReceiver, __tabs*/
128
+ 80 && i !== (i = /*textReceiver*/
129
+ e[4][
130
+ /*_tab*/
131
+ e[16]
132
+ ] + "") && q(s, i), /*totalReceiver*/
133
+ e[3][
134
+ /*_tab*/
135
+ e[16]
136
+ ] >= 0 ? l ? l.p(e, c) : (l = L(e), l.c(), l.m(t, a)) : l && (l.d(1), l = null), c & /*__tab, __tabs*/
137
+ 96 && u !== (u = /*__tab*/
138
+ e[5] === /*_tab*/
139
+ e[16] ? "active" : "") && b(t, "class", u), c & /*__tabs, __tab*/
140
+ 96 && f !== (f = `${/*_tab*/
141
+ e[16]} li ` + /*__tab*/
142
+ (e[5] === /*_tab*/
143
+ e[16] ? "active" : "")) && b(t, "part", f);
144
+ },
145
+ d(g) {
146
+ g && v(t), l && l.d(), d = !1, m();
147
+ }
148
+ };
149
+ }
150
+ function Y(e) {
151
+ let t, n = (
152
+ /*isTitleInited*/
153
+ e[2] && C(e)
154
+ );
155
+ return {
156
+ c() {
157
+ t = w("div"), n && n.c(), b(t, "class", "casino-tournaments-tab " + (B(
158
+ /*userAgent*/
159
+ e[7]
160
+ ) ? "TabMobile" : "TabDesktop")), b(t, "part", "CustomStylingContainer");
161
+ },
162
+ m(i, s) {
163
+ y(i, t, s), n && n.m(t, null), e[14](t);
164
+ },
165
+ p(i, [s]) {
166
+ /*isTitleInited*/
167
+ i[2] ? n ? n.p(i, s) : (n = C(i), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
168
+ },
169
+ i: k,
170
+ o: k,
171
+ d(i) {
172
+ i && v(t), n && n.d(), e[14](null);
173
+ }
174
+ };
175
+ }
176
+ function Z(e, t, n) {
177
+ let i, s, { tabs: r = "" } = t, { tab: a = void 0 } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { mbsource: d } = t, { tid: m = "pageTab" } = t, l, _ = !1;
178
+ const g = window.navigator.userAgent;
179
+ let c = {}, T = {};
180
+ W({
181
+ TournamentsTabTotalUpdate: (o) => {
182
+ n(3, c = {
183
+ ...c,
184
+ [o.state]: o.total
185
+ });
186
+ },
187
+ TournamentsTabsLocalize: (o) => {
188
+ n(2, _ = !0), n(4, T = {
189
+ ...T,
190
+ ...o.tabTitleTranslations
191
+ });
192
+ }
193
+ }), D(() => (window.postMessage(
194
+ {
195
+ type: "TournamentsTabListenerLoaded",
196
+ tid: m
197
+ },
198
+ window.location.href
199
+ ), () => {
200
+ }));
201
+ const R = (o) => {
202
+ n(5, s = o), window.postMessage(
203
+ {
204
+ type: "TournamentsTabSwitch",
205
+ tab: o,
206
+ tid: m
207
+ },
208
+ window.location.href
209
+ );
210
+ };
211
+ function A(o) {
212
+ P[o ? "unshift" : "push"](() => {
213
+ l = o, n(1, l);
214
+ });
215
+ }
216
+ return e.$$set = (o) => {
217
+ "tabs" in o && n(8, r = o.tabs), "tab" in o && n(9, a = o.tab), "clientstyling" in o && n(10, u = o.clientstyling), "clientstylingurl" in o && n(11, f = o.clientstylingurl), "mbsource" in o && n(12, d = o.mbsource), "tid" in o && n(0, m = o.tid);
218
+ }, e.$$.update = () => {
219
+ e.$$.dirty & /*clientstyling, customStylingContainer*/
220
+ 1026 && u && l && Q(l, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
221
+ 2050 && f && l && G(l, f), e.$$.dirty & /*mbsource, customStylingContainer*/
222
+ 4098 && d && l && J(l, `${d}.Style`), e.$$.dirty & /*tabs*/
223
+ 256 && n(6, i = r.split(",")), e.$$.dirty & /*tab*/
224
+ 512 && n(5, s = a);
225
+ }, [
226
+ m,
227
+ l,
228
+ _,
229
+ c,
230
+ T,
231
+ s,
232
+ i,
233
+ g,
234
+ r,
235
+ a,
236
+ u,
237
+ f,
238
+ d,
239
+ R,
240
+ A
241
+ ];
242
+ }
243
+ class x extends E {
244
+ constructor(t) {
245
+ super(), H(
246
+ this,
247
+ t,
248
+ Z,
249
+ Y,
250
+ I,
251
+ {
252
+ tabs: 8,
253
+ tab: 9,
254
+ clientstyling: 10,
255
+ clientstylingurl: 11,
256
+ mbsource: 12,
257
+ tid: 0
258
+ },
259
+ X
260
+ );
261
+ }
262
+ get tabs() {
263
+ return this.$$.ctx[8];
264
+ }
265
+ set tabs(t) {
266
+ this.$$set({ tabs: t }), h();
267
+ }
268
+ get tab() {
269
+ return this.$$.ctx[9];
270
+ }
271
+ set tab(t) {
272
+ this.$$set({ tab: t }), h();
273
+ }
274
+ get clientstyling() {
275
+ return this.$$.ctx[10];
276
+ }
277
+ set clientstyling(t) {
278
+ this.$$set({ clientstyling: t }), h();
279
+ }
280
+ get clientstylingurl() {
281
+ return this.$$.ctx[11];
282
+ }
283
+ set clientstylingurl(t) {
284
+ this.$$set({ clientstylingurl: t }), h();
285
+ }
286
+ get mbsource() {
287
+ return this.$$.ctx[12];
288
+ }
289
+ set mbsource(t) {
290
+ this.$$set({ mbsource: t }), h();
291
+ }
292
+ get tid() {
293
+ return this.$$.ctx[0];
294
+ }
295
+ set tid(t) {
296
+ this.$$set({ tid: t }), h();
297
+ }
298
+ }
299
+ U(x, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, tid: {} }, [], [], !0);
300
+ export {
301
+ x as default
302
+ };
@@ -0,0 +1 @@
1
+ "use strict";var q=Object.defineProperty,R=Object.defineProperties;var A=Object.getOwnPropertyDescriptors;var h=Object.getOwnPropertySymbols;var v=Object.prototype.hasOwnProperty,T=Object.prototype.propertyIsEnumerable;var y=(e,t,n)=>t in e?q(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,w=(e,t)=>{for(var n in t||(t={}))v.call(t,n)&&y(e,n,t[n]);if(h)for(var n of h(t))T.call(t,n)&&y(e,n,t[n]);return e},k=(e,t)=>R(e,A(t));var F=(e,t)=>{var n={};for(var a in e)v.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(e!=null&&h)for(var a of h(e))t.indexOf(a)<0&&T.call(e,a)&&(n[a]=e[a]);return n};Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./CasinoTournamentsLimitedController-Bx2TvUSY.cjs"),E=e=>n=>{Object.keys(e).map(a=>{if(n.data&&n.data.type==a){const l=n.data,{type:u}=l,s=F(l,["type"]);e[a](s)}})},H=e=>{const t=E(e);i.onMount(()=>(window.addEventListener("message",t,!1),()=>{window.removeEventListener("message",t)}))};function O(e){i.append_styles(e,"svelte-qazmct","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-tab{color:var(--emw--color-primary, #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 var(--emw--color-grey-105, #424242) solid}.casino-tournaments-tab ul li{position:relative;text-align:center;padding:2.5vw 3.125vw;word-break:break-word;font-size:var(--emw--font-size-small, 14px);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}.TabDesktop.casino-tournaments-tab{margin:10px}.TabDesktop.casino-tournaments-tab ul{font-size:inherit;border-bottom:2px var(--emw--color-grey-105, #424242) solid}.TabDesktop.casino-tournaments-tab ul li{padding:10px 20px;cursor:pointer}.TabDesktop.casino-tournaments-tab ul li.active{color:var(--emw--color-primary, #FF8364);border-bottom:3px var(--emw--color-primary, #FF8364) solid}.TabDesktop.casino-tournaments-tab ul li span{margin:auto 0}")}function S(e,t,n){const a=e.slice();return a[16]=t[n],a}function z(e){let t,n=i.ensure_array_like(e[6]),a=[];for(let l=0;l<n.length;l+=1)a[l]=M(S(e,n,l));return{c(){t=i.element("ul");for(let l=0;l<a.length;l+=1)a[l].c();i.attr(t,"part","ul")},m(l,u){i.insert(l,t,u);for(let s=0;s<a.length;s+=1)a[s]&&a[s].m(t,null)},p(l,u){if(u&121){n=i.ensure_array_like(l[6]);let s;for(s=0;s<n.length;s+=1){const c=S(l,n,s);a[s]?a[s].p(c,u):(a[s]=M(c),a[s].c(),a[s].m(t,null))}for(;s<a.length;s+=1)a[s].d(1);a.length=n.length}},d(l){l&&i.detach(t),i.destroy_each(a,l)}}}function C(e){let t,n,a=e[3][e[16]]+"",l;return{c(){t=i.element("sup"),n=i.element("span"),l=i.text(a),i.attr(n,"part","SupText"),i.attr(t,"part","sup")},m(u,s){i.insert(u,t,s),i.append(t,n),i.append(n,l)},p(u,s){s&72&&a!==(a=u[3][u[16]]+"")&&i.set_data(l,a)},d(u){u&&i.detach(t)}}}function M(e){let t,n,a=e[4][e[16]]+"",l,u,s,c,b,f,m,o=e[3][e[16]]>=0&&C(e);function p(){return e[13](e[16])}return{c(){t=i.element("li"),n=i.element("span"),l=i.text(a),u=i.space(),o&&o.c(),s=i.space(),i.attr(n,"part","LiText"),i.attr(t,"class",c=e[5]===e[16]?"active":""),i.attr(t,"part",b=`${e[16]} li `+(e[5]===e[16]?"active":""))},m(g,d){i.insert(g,t,d),i.append(t,n),i.append(n,l),i.append(t,u),o&&o.m(t,null),i.append(t,s),f||(m=i.listen(t,"click",p),f=!0)},p(g,d){e=g,d&80&&a!==(a=e[4][e[16]]+"")&&i.set_data(l,a),e[3][e[16]]>=0?o?o.p(e,d):(o=C(e),o.c(),o.m(t,s)):o&&(o.d(1),o=null),d&96&&c!==(c=e[5]===e[16]?"active":"")&&i.attr(t,"class",c),d&96&&b!==(b=`${e[16]} li `+(e[5]===e[16]?"active":""))&&i.attr(t,"part",b)},d(g){g&&i.detach(t),o&&o.d(),f=!1,m()}}}function U(e){let t,n=e[2]&&z(e);return{c(){t=i.element("div"),n&&n.c(),i.attr(t,"class","casino-tournaments-tab "+(i.isMobile(e[7])?"TabMobile":"TabDesktop")),i.attr(t,"part","CustomStylingContainer")},m(a,l){i.insert(a,t,l),n&&n.m(t,null),e[14](t)},p(a,[l]){a[2]?n?n.p(a,l):(n=z(a),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},i:i.noop,o:i.noop,d(a){a&&i.detach(t),n&&n.d(),e[14](null)}}}function I(e,t,n){let a,l,{tabs:u=""}=t,{tab:s=void 0}=t,{clientstyling:c=""}=t,{clientstylingurl:b=""}=t,{mbsource:f}=t,{tid:m="pageTab"}=t,o,p=!1;const g=window.navigator.userAgent;let d={},_={};H({TournamentsTabTotalUpdate:r=>{n(3,d=k(w({},d),{[r.state]:r.total}))},TournamentsTabsLocalize:r=>{n(2,p=!0),n(4,_=w(w({},_),r.tabTitleTranslations))}}),i.onMount(()=>(window.postMessage({type:"TournamentsTabListenerLoaded",tid:m},window.location.href),()=>{}));const D=r=>{n(5,l=r),window.postMessage({type:"TournamentsTabSwitch",tab:r,tid:m},window.location.href)};function j(r){i.binding_callbacks[r?"unshift":"push"](()=>{o=r,n(1,o)})}return e.$$set=r=>{"tabs"in r&&n(8,u=r.tabs),"tab"in r&&n(9,s=r.tab),"clientstyling"in r&&n(10,c=r.clientstyling),"clientstylingurl"in r&&n(11,b=r.clientstylingurl),"mbsource"in r&&n(12,f=r.mbsource),"tid"in r&&n(0,m=r.tid)},e.$$.update=()=>{e.$$.dirty&1026&&c&&o&&i.setClientStyling(o,c),e.$$.dirty&2050&&b&&o&&i.setClientStylingURL(o,b),e.$$.dirty&4098&&f&&o&&i.setStreamStyling(o,`${f}.Style`),e.$$.dirty&256&&n(6,a=u.split(",")),e.$$.dirty&512&&n(5,l=s)},[m,o,p,d,_,l,a,g,u,s,c,b,f,D,j]}class L extends i.SvelteComponent{constructor(t){super(),i.init(this,t,I,U,i.safe_not_equal,{tabs:8,tab:9,clientstyling:10,clientstylingurl:11,mbsource:12,tid:0},O)}get tabs(){return this.$$.ctx[8]}set tabs(t){this.$$set({tabs:t}),i.flush()}get tab(){return this.$$.ctx[9]}set tab(t){this.$$set({tab:t}),i.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),i.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),i.flush()}get mbsource(){return this.$$.ctx[12]}set mbsource(t){this.$$set({mbsource:t}),i.flush()}get tid(){return this.$$.ctx[0]}set tid(t){this.$$set({tid:t}),i.flush()}}i.create_custom_element(L,{tabs:{},tab:{},clientstyling:{},clientstylingurl:{},mbsource:{},tid:{}},[],[],!0);exports.default=L;
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsLimitedController-Cj8ibr0T.cjs")).then(e=>e.CasinoTournamentsLimitedController_ce).then(({default:e})=>{!customElements.get("casino-tournaments-limited-controller")&&customElements.define("casino-tournaments-limited-controller",e.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoTournamentsLimitedController-Bx2TvUSY.cjs")).then(e=>e.CasinoTournamentsLimitedController_ce).then(({default:e})=>{!customElements.get("casino-tournaments-limited-controller")&&customElements.define("casino-tournaments-limited-controller",e.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoTournamentsLimitedController-BOmujPX-.js").then((e) => e.C).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoTournamentsLimitedController-DPSp6MHt.js").then((e) => e.C).then(({ default: e }) => {
14
14
  !customElements.get("casino-tournaments-limited-controller") && customElements.define(
15
15
  "casino-tournaments-limited-controller",
16
16
  e.element
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoTournamentsLimitedController-C-9W_k2n.js";
1
+ import { C as s } from "../components/CasinoTournamentsLimitedController-B-EjUmEq.js";
2
2
  function o(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-tournaments-limited-controller",
3
- "version": "1.74.3",
3
+ "version": "1.74.5",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-tournaments-limited-controller.cjs",
6
6
  "module": "esnext/casino-tournaments-limited-controller.js",