@everymatrix/casino-tournaments-limited-controller 1.54.6 → 1.54.9
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-FdHGDKUF.js → CasinoTournamentsLimitedController-CLPNsTog.js} +570 -578
- package/components/CasinoTournamentsLimitedController-DON4OB5B.cjs +13 -0
- package/components/CasinoTournamentsLimitedController-V8UDp9L8.js +5679 -0
- package/components/CasinoTournamentsTab-BV-aNemr.cjs +1 -0
- package/components/{CasinoTournamentsTab-Bwbm-bju.js → CasinoTournamentsTab-CIqnibzp.js} +16 -16
- package/components/CasinoTournamentsTab-CkTV80wb.js +302 -0
- package/es2015/casino-tournaments-limited-controller.cjs +1 -0
- package/es2015/casino-tournaments-limited-controller.js +19 -0
- package/esnext/casino-tournaments-limited-controller.js +1 -1
- package/package.json +1 -1
@@ -0,0 +1 @@
|
|
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-DON4OB5B.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;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { o as H, S as D, i as I, f as _,
|
1
|
+
import { o as H, S as D, i as I, f as _, s as O, c as A, a as B, n as L, d as y, b as v, e as m, g as f, h as C, j as G, k as J, l as R, m as h, p as K, t as U, q as F } from "./CasinoTournamentsLimitedController-CLPNsTog.js";
|
2
2
|
const N = (e) => (n) => {
|
3
3
|
Object.keys(e).map((i) => {
|
4
4
|
if (n.data && n.data.type == i) {
|
@@ -34,7 +34,7 @@ function S(e) {
|
|
34
34
|
f(t, "part", "ul");
|
35
35
|
},
|
36
36
|
m(l, o) {
|
37
|
-
|
37
|
+
v(l, t, o);
|
38
38
|
for (let s = 0; s < i.length; s += 1)
|
39
39
|
i[s] && i[s].m(t, null);
|
40
40
|
},
|
@@ -56,7 +56,7 @@ function S(e) {
|
|
56
56
|
}
|
57
57
|
},
|
58
58
|
d(l) {
|
59
|
-
l &&
|
59
|
+
l && y(t), G(i, l);
|
60
60
|
}
|
61
61
|
};
|
62
62
|
}
|
@@ -70,10 +70,10 @@ function z(e) {
|
|
70
70
|
), l;
|
71
71
|
return {
|
72
72
|
c() {
|
73
|
-
t = m("sup"), n = m("span"), l =
|
73
|
+
t = m("sup"), n = m("span"), l = U(i), f(n, "part", "SupText"), f(t, "part", "sup");
|
74
74
|
},
|
75
75
|
m(o, s) {
|
76
|
-
|
76
|
+
v(o, t, s), h(t, n), h(n, l);
|
77
77
|
},
|
78
78
|
p(o, s) {
|
79
79
|
s & /*totalReceiver, __tabs*/
|
@@ -81,10 +81,10 @@ function z(e) {
|
|
81
81
|
o[2][
|
82
82
|
/*_tab*/
|
83
83
|
o[15]
|
84
|
-
] + "") &&
|
84
|
+
] + "") && R(l, i);
|
85
85
|
},
|
86
86
|
d(o) {
|
87
|
-
o &&
|
87
|
+
o && y(t);
|
88
88
|
}
|
89
89
|
};
|
90
90
|
}
|
@@ -113,7 +113,7 @@ function E(e) {
|
|
113
113
|
}
|
114
114
|
return {
|
115
115
|
c() {
|
116
|
-
t = m("li"), n = m("span"), l =
|
116
|
+
t = m("li"), n = m("span"), l = U(i), o = F(), r && r.c(), s = F(), f(n, "part", "LiText"), f(t, "class", c = /*__tab*/
|
117
117
|
e[4] === /*_tab*/
|
118
118
|
e[15] ? "active" : ""), f(t, "part", d = `${/*_tab*/
|
119
119
|
e[15]} li ` + /*__tab*/
|
@@ -121,7 +121,7 @@ function E(e) {
|
|
121
121
|
e[15] ? "active" : ""));
|
122
122
|
},
|
123
123
|
m(b, g) {
|
124
|
-
|
124
|
+
v(b, t, g), h(t, n), h(n, l), h(t, o), r && r.m(t, null), h(t, s), u || (p = K(t, "click", w), u = !0);
|
125
125
|
},
|
126
126
|
p(b, g) {
|
127
127
|
e = b, g & /*textReceiver, __tabs*/
|
@@ -129,7 +129,7 @@ function E(e) {
|
|
129
129
|
e[3][
|
130
130
|
/*_tab*/
|
131
131
|
e[15]
|
132
|
-
] + "") &&
|
132
|
+
] + "") && R(l, i), /*totalReceiver*/
|
133
133
|
e[2][
|
134
134
|
/*_tab*/
|
135
135
|
e[15]
|
@@ -143,7 +143,7 @@ function E(e) {
|
|
143
143
|
e[15] ? "active" : "")) && f(t, "part", d);
|
144
144
|
},
|
145
145
|
d(b) {
|
146
|
-
b &&
|
146
|
+
b && y(t), r && r.d(), u = !1, p();
|
147
147
|
}
|
148
148
|
};
|
149
149
|
}
|
@@ -157,7 +157,7 @@ function V(e) {
|
|
157
157
|
t = m("div"), n && n.c(), f(t, "class", "casino-tournaments-tab"), f(t, "part", "CustomStylingContainer");
|
158
158
|
},
|
159
159
|
m(i, l) {
|
160
|
-
|
160
|
+
v(i, t, l), n && n.m(t, null), e[11](t);
|
161
161
|
},
|
162
162
|
p(i, [l]) {
|
163
163
|
/*isTitleInited*/
|
@@ -166,7 +166,7 @@ function V(e) {
|
|
166
166
|
i: L,
|
167
167
|
o: L,
|
168
168
|
d(i) {
|
169
|
-
i &&
|
169
|
+
i && y(t), n && n.d(), e[11](null);
|
170
170
|
}
|
171
171
|
};
|
172
172
|
}
|
@@ -207,7 +207,7 @@ function W(e, t, n) {
|
|
207
207
|
n(4, l = a), window.postMessage({ type: "TournamentsTabSwitch", tab: a }, window.location.href);
|
208
208
|
};
|
209
209
|
function q(a) {
|
210
|
-
|
210
|
+
J[a ? "unshift" : "push"](() => {
|
211
211
|
u = a, n(0, u);
|
212
212
|
});
|
213
213
|
}
|
@@ -241,7 +241,7 @@ class X extends D {
|
|
241
241
|
t,
|
242
242
|
W,
|
243
243
|
V,
|
244
|
-
|
244
|
+
O,
|
245
245
|
{
|
246
246
|
tabs: 6,
|
247
247
|
tab: 7,
|
@@ -276,7 +276,7 @@ class X extends D {
|
|
276
276
|
this.$$set({ clientstylingurl: t }), _();
|
277
277
|
}
|
278
278
|
}
|
279
|
-
|
279
|
+
A(X, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
280
280
|
export {
|
281
281
|
X as default
|
282
282
|
};
|
@@ -0,0 +1,302 @@
|
|
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, s as W, f as y, a as X, n as H, d as v, b as T, e as m, c as f, g as R, h as Y, j as Z, k as A, l as h, m as x, t as B, p as U, q as $ } from "./CasinoTournamentsLimitedController-V8UDp9L8.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
|
+
X(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
|
+
T(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 && v(t), Y(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 = B(i), f(n, "part", "SupText"), f(t, "part", "sup");
|
95
|
+
},
|
96
|
+
m(o, s) {
|
97
|
+
T(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
|
+
] + "") && A(l, i);
|
106
|
+
},
|
107
|
+
d(o) {
|
108
|
+
o && v(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 = B(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
|
+
T(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
|
+
] + "") && A(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 && v(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
|
+
T(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 && v(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
|
+
Z[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
|
+
W,
|
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
|
+
$(st, { tabs: {}, tab: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
300
|
+
export {
|
301
|
+
st as default
|
302
|
+
};
|
@@ -0,0 +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-DON4OB5B.cjs")).then(e=>e.CasinoTournamentsLimitedController_ce).then(({default:e})=>{!customElements.get("casino-tournaments-limited-controller")&&customElements.define("casino-tournaments-limited-controller",e.element)})}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
if (typeof window != "undefined") {
|
2
|
+
let n = function(e) {
|
3
|
+
return function(...s) {
|
4
|
+
try {
|
5
|
+
return e.apply(this, s);
|
6
|
+
} catch (t) {
|
7
|
+
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"))
|
8
|
+
return !1;
|
9
|
+
throw t;
|
10
|
+
}
|
11
|
+
};
|
12
|
+
};
|
13
|
+
customElements.define = n(customElements.define), import("../components/CasinoTournamentsLimitedController-V8UDp9L8.js").then((e) => e.C).then(({ default: e }) => {
|
14
|
+
!customElements.get("casino-tournaments-limited-controller") && customElements.define(
|
15
|
+
"casino-tournaments-limited-controller",
|
16
|
+
e.element
|
17
|
+
);
|
18
|
+
});
|
19
|
+
}
|
package/package.json
CHANGED