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