@everymatrix/casino-footer-v2 1.54.0 → 1.54.4
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/CasinoFooterSection-DD1dew3d.js +1575 -0
- package/components/{CasinoFooterThumbnail-ClM-QitR.js → CasinoFooterThumbnail-BRNvrXA8.js} +19 -19
- package/components/{CasinoFooterV2-DTyUcOpX.js → CasinoFooterV2-6c0BSAVs.js} +902 -918
- package/components/{PlayerPanicButton-sJ90ZrM0.js → PlayerPanicButton-NlwwaRxa.js} +73 -73
- package/esnext/casino-footer-v2.js +14 -0
- package/package.json +10 -12
- package/components/CasinoFooterSection-Bu0a1vo7.js +0 -1626
- package/components/CasinoFooterSection-SII5E_U8.cjs +0 -1
- package/components/CasinoFooterThumbnail-CJmD2dfi.cjs +0 -5
- package/components/CasinoFooterV2-Bw2dn2rI.cjs +0 -10
- package/components/PlayerPanicButton-B3MVuNTL.cjs +0 -1
- package/es2015/casino-footer-v2.cjs +0 -1
- package/es2015/casino-footer-v2.js +0 -16
@@ -1,10 +1,10 @@
|
|
1
|
-
import { S as H, b as V, f as
|
2
|
-
import { b as W, $ as X, g as w, d as Y } from "./CasinoFooterThumbnail-
|
3
|
-
function F(
|
4
|
-
W(
|
1
|
+
import { S as H, b as V, f as p, c as N, a as O, d as R, e as P, t as U, g as y, H as S, h as q, o as x, u as G, n as z, j as J, v as K, w as Q, k as C } from "./CasinoFooterSection-DD1dew3d.js";
|
2
|
+
import { b as W, $ as X, g as w, d as Y } from "./CasinoFooterThumbnail-BRNvrXA8.js";
|
3
|
+
function F(e, t) {
|
4
|
+
W(e, t);
|
5
5
|
}
|
6
|
-
function Z(
|
7
|
-
X.set(
|
6
|
+
function Z(e) {
|
7
|
+
X.set(e);
|
8
8
|
}
|
9
9
|
const _ = {
|
10
10
|
en: {
|
@@ -47,65 +47,65 @@ const _ = {
|
|
47
47
|
panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
|
48
48
|
}
|
49
49
|
};
|
50
|
-
function $(
|
51
|
-
R(
|
50
|
+
function $(e) {
|
51
|
+
R(e, "svelte-1v7b25v", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:100% !important;height:30px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}");
|
52
52
|
}
|
53
|
-
function tt(
|
54
|
-
let t, i,
|
53
|
+
function tt(e) {
|
54
|
+
let t, i, r, s = (
|
55
55
|
/*customtext*/
|
56
|
-
(
|
57
|
-
|
56
|
+
(e[0] || /*$_*/
|
57
|
+
e[5]("panicButtonString")) + ""
|
58
58
|
), m, l;
|
59
59
|
return {
|
60
60
|
c() {
|
61
|
-
t =
|
61
|
+
t = P("div"), i = P("div"), r = P("button"), m = U(s), y(r, "class", "PanicButton " + (w(
|
62
62
|
/*userAgent*/
|
63
|
-
|
64
|
-
) !== "PC" ? "PanicButtonMobile" : "")),
|
63
|
+
e[6]
|
64
|
+
) !== "PC" ? "PanicButtonMobile" : "")), y(r, "part", "PanicButton " + (w(
|
65
65
|
/*userAgent*/
|
66
|
-
|
67
|
-
) !== "PC" ? "PanicButtonMobile" : "")),
|
68
|
-
|
66
|
+
e[6]
|
67
|
+
) !== "PC" ? "PanicButtonMobile" : "")), S(
|
68
|
+
r,
|
69
69
|
"PanicButtonAnimation",
|
70
70
|
/*panicLoading*/
|
71
|
-
|
72
|
-
),
|
71
|
+
e[4]
|
72
|
+
), y(i, "class", "PanicSection " + (w(
|
73
73
|
/*userAgent*/
|
74
|
-
|
75
|
-
) !== "PC" ? "PanicSectionMobile" : "")),
|
74
|
+
e[6]
|
75
|
+
) !== "PC" ? "PanicSectionMobile" : "")), y(i, "part", "PanicSection " + (w(
|
76
76
|
/*userAgent*/
|
77
|
-
|
78
|
-
) !== "PC" ? "PanicSectionMobile" : "")),
|
79
|
-
|
77
|
+
e[6]
|
78
|
+
) !== "PC" ? "PanicSectionMobile" : "")), y(t, "class", l = /*alternativestyling*/
|
79
|
+
e[1] == "true" ? "PanicButtonV2" : "");
|
80
80
|
},
|
81
81
|
m(a, u) {
|
82
|
-
q(a, t, u),
|
82
|
+
q(a, t, u), x(t, i), x(i, r), x(r, m), e[11](r), e[12](t);
|
83
83
|
},
|
84
84
|
p(a, [u]) {
|
85
85
|
u & /*customtext, $_*/
|
86
86
|
33 && s !== (s = /*customtext*/
|
87
87
|
(a[0] || /*$_*/
|
88
88
|
a[5]("panicButtonString")) + "") && G(m, s), u & /*panicLoading*/
|
89
|
-
16 &&
|
90
|
-
|
89
|
+
16 && S(
|
90
|
+
r,
|
91
91
|
"PanicButtonAnimation",
|
92
92
|
/*panicLoading*/
|
93
93
|
a[4]
|
94
94
|
), u & /*alternativestyling*/
|
95
95
|
2 && l !== (l = /*alternativestyling*/
|
96
|
-
a[1] == "true" ? "PanicButtonV2" : "") &&
|
96
|
+
a[1] == "true" ? "PanicButtonV2" : "") && y(t, "class", l);
|
97
97
|
},
|
98
|
-
i:
|
99
|
-
o:
|
98
|
+
i: z,
|
99
|
+
o: z,
|
100
100
|
d(a) {
|
101
|
-
a && J(t),
|
101
|
+
a && J(t), e[11](null), e[12](null);
|
102
102
|
}
|
103
103
|
};
|
104
104
|
}
|
105
|
-
function
|
106
|
-
let
|
107
|
-
K(
|
108
|
-
let { lang: s = "en" } = t, { customtext: m = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, { alternativestyling: u = "" } = t, { translationurl: b = "" } = t,
|
105
|
+
function nt(e, t, i) {
|
106
|
+
let r;
|
107
|
+
K(e, Y, (n) => i(5, r = n));
|
108
|
+
let { lang: s = "en" } = t, { customtext: m = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, { alternativestyling: u = "" } = t, { translationurl: b = "" } = t, o, g, h = !1, k = 0, B, D = window.navigator.userAgent;
|
109
109
|
const E = () => {
|
110
110
|
fetch(b).then((c) => c.json()).then((c) => {
|
111
111
|
Object.keys(c).forEach((d) => {
|
@@ -115,28 +115,28 @@ function et(n, t, i) {
|
|
115
115
|
console.log(c);
|
116
116
|
});
|
117
117
|
};
|
118
|
-
Object.keys(_).forEach((
|
119
|
-
F(
|
118
|
+
Object.keys(_).forEach((n) => {
|
119
|
+
F(n, _[n]);
|
120
120
|
});
|
121
121
|
const L = () => {
|
122
|
-
|
122
|
+
o?.addEventListener("mousedown", v, !1), o?.addEventListener("touchstart", v, !1), o?.addEventListener("mouseup", f, !1), o?.addEventListener("touchend", f, !1);
|
123
123
|
}, M = () => {
|
124
|
-
i(4, h = !1),
|
124
|
+
i(4, h = !1), o?.removeEventListener("mousedown", v), o?.removeEventListener("touchstart", v), o?.removeEventListener("mouseup", f), o?.removeEventListener("touchend", f);
|
125
125
|
}, v = () => {
|
126
|
-
k = 0, i(4, h = !0),
|
126
|
+
k = 0, i(4, h = !0), B = setInterval(
|
127
127
|
() => {
|
128
|
-
k++, k >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(
|
128
|
+
k++, k >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(B), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
|
129
129
|
},
|
130
130
|
1e3
|
131
131
|
);
|
132
132
|
}, f = () => {
|
133
|
-
i(4, h = !1), clearInterval(
|
133
|
+
i(4, h = !1), clearInterval(B);
|
134
134
|
}, A = () => {
|
135
|
-
let
|
136
|
-
|
135
|
+
let n = document.createElement("style");
|
136
|
+
n.innerHTML = l, g.appendChild(n);
|
137
137
|
}, T = () => {
|
138
|
-
let
|
139
|
-
fetch(
|
138
|
+
let n = new URL(a), c = document.createElement("style");
|
139
|
+
fetch(n.href).then((d) => d.text()).then((d) => {
|
140
140
|
c.innerHTML = d, setTimeout(
|
141
141
|
() => {
|
142
142
|
g.appendChild(c);
|
@@ -148,32 +148,32 @@ function et(n, t, i) {
|
|
148
148
|
Q(() => () => {
|
149
149
|
M();
|
150
150
|
});
|
151
|
-
function I(
|
152
|
-
C[
|
153
|
-
|
151
|
+
function I(n) {
|
152
|
+
C[n ? "unshift" : "push"](() => {
|
153
|
+
o = n, i(2, o);
|
154
154
|
});
|
155
155
|
}
|
156
|
-
function j(
|
157
|
-
C[
|
158
|
-
g =
|
156
|
+
function j(n) {
|
157
|
+
C[n ? "unshift" : "push"](() => {
|
158
|
+
g = n, i(3, g);
|
159
159
|
});
|
160
160
|
}
|
161
|
-
return
|
162
|
-
"lang" in
|
163
|
-
},
|
164
|
-
|
165
|
-
4 &&
|
166
|
-
128 && s && Z(s),
|
167
|
-
264 && l && g && A(),
|
168
|
-
520 && a && g && T(),
|
161
|
+
return e.$$set = (n) => {
|
162
|
+
"lang" in n && i(7, s = n.lang), "customtext" in n && i(0, m = n.customtext), "clientstyling" in n && i(8, l = n.clientstyling), "clientstylingurl" in n && i(9, a = n.clientstylingurl), "alternativestyling" in n && i(1, u = n.alternativestyling), "translationurl" in n && i(10, b = n.translationurl);
|
163
|
+
}, e.$$.update = () => {
|
164
|
+
e.$$.dirty & /*panicButton*/
|
165
|
+
4 && o && L(), e.$$.dirty & /*lang*/
|
166
|
+
128 && s && Z(s), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
167
|
+
264 && l && g && A(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
168
|
+
520 && a && g && T(), e.$$.dirty & /*translationurl*/
|
169
169
|
1024 && b && E();
|
170
170
|
}, [
|
171
171
|
m,
|
172
172
|
u,
|
173
|
-
|
173
|
+
o,
|
174
174
|
g,
|
175
175
|
h,
|
176
|
-
|
176
|
+
r,
|
177
177
|
D,
|
178
178
|
s,
|
179
179
|
l,
|
@@ -183,12 +183,12 @@ function et(n, t, i) {
|
|
183
183
|
j
|
184
184
|
];
|
185
185
|
}
|
186
|
-
class
|
186
|
+
class et extends H {
|
187
187
|
constructor(t) {
|
188
188
|
super(), V(
|
189
189
|
this,
|
190
190
|
t,
|
191
|
-
|
191
|
+
nt,
|
192
192
|
tt,
|
193
193
|
O,
|
194
194
|
{
|
@@ -206,40 +206,40 @@ class nt extends H {
|
|
206
206
|
return this.$$.ctx[7];
|
207
207
|
}
|
208
208
|
set lang(t) {
|
209
|
-
this.$$set({ lang: t }),
|
209
|
+
this.$$set({ lang: t }), p();
|
210
210
|
}
|
211
211
|
get customtext() {
|
212
212
|
return this.$$.ctx[0];
|
213
213
|
}
|
214
214
|
set customtext(t) {
|
215
|
-
this.$$set({ customtext: t }),
|
215
|
+
this.$$set({ customtext: t }), p();
|
216
216
|
}
|
217
217
|
get clientstyling() {
|
218
218
|
return this.$$.ctx[8];
|
219
219
|
}
|
220
220
|
set clientstyling(t) {
|
221
|
-
this.$$set({ clientstyling: t }),
|
221
|
+
this.$$set({ clientstyling: t }), p();
|
222
222
|
}
|
223
223
|
get clientstylingurl() {
|
224
224
|
return this.$$.ctx[9];
|
225
225
|
}
|
226
226
|
set clientstylingurl(t) {
|
227
|
-
this.$$set({ clientstylingurl: t }),
|
227
|
+
this.$$set({ clientstylingurl: t }), p();
|
228
228
|
}
|
229
229
|
get alternativestyling() {
|
230
230
|
return this.$$.ctx[1];
|
231
231
|
}
|
232
232
|
set alternativestyling(t) {
|
233
|
-
this.$$set({ alternativestyling: t }),
|
233
|
+
this.$$set({ alternativestyling: t }), p();
|
234
234
|
}
|
235
235
|
get translationurl() {
|
236
236
|
return this.$$.ctx[10];
|
237
237
|
}
|
238
238
|
set translationurl(t) {
|
239
|
-
this.$$set({ translationurl: t }),
|
239
|
+
this.$$set({ translationurl: t }), p();
|
240
240
|
}
|
241
241
|
}
|
242
|
-
N(
|
242
|
+
N(et, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
|
243
243
|
export {
|
244
|
-
|
244
|
+
et as default
|
245
245
|
};
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { C as s } from "../components/CasinoFooterV2-6c0BSAVs.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-footer-v2") && customElements.define("casino-footer-v2", s.element);
|
package/package.json
CHANGED
@@ -1,26 +1,24 @@
|
|
1
1
|
{
|
2
2
|
"name": "@everymatrix/casino-footer-v2",
|
3
|
-
"version": "1.54.
|
3
|
+
"version": "1.54.4",
|
4
4
|
"type": "module",
|
5
|
-
"main": "
|
6
|
-
"module": "
|
5
|
+
"main": "esnext/casino-footer-v2.js",
|
6
|
+
"module": "esnext/casino-footer-v2.js",
|
7
7
|
"exports": {
|
8
8
|
".": {
|
9
|
-
"import": "./
|
10
|
-
"require": "./es2015/casino-footer-v2.cjs"
|
9
|
+
"import": "./esnext/casino-footer-v2.js"
|
11
10
|
},
|
12
|
-
"./es2015/casino-footer-v2.cjs": "./es2015/casino-footer-v2.cjs"
|
11
|
+
"./es2015/casino-footer-v2.cjs": "./es2015/casino-footer-v2.cjs",
|
12
|
+
"./es2015/casino-footer-v2.js": "./es2015/casino-footer-v2.js"
|
13
13
|
},
|
14
14
|
"files": [
|
15
|
+
"components/",
|
15
16
|
"es2015/",
|
16
|
-
"
|
17
|
-
"
|
17
|
+
"stencil",
|
18
|
+
"angular",
|
19
|
+
"esnext/"
|
18
20
|
],
|
19
21
|
"publishConfig": {
|
20
22
|
"access": "public"
|
21
|
-
},
|
22
|
-
"dependencies": {
|
23
|
-
"@everymatrix/casino-footer-section": "1.45.7",
|
24
|
-
"@everymatrix/player-panic-button": "1.45.7"
|
25
23
|
}
|
26
24
|
}
|