@everymatrix/casino-footer-v2 1.54.12 → 1.55.1
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-AigUjOLw.cjs +1 -0
- package/components/{CasinoFooterSection-DsynzbcL.js → CasinoFooterSection-BMEnWUOD.js} +559 -460
- package/components/{CasinoFooterSection-uwHYGyJW.js → CasinoFooterSection-Dqx3SQ3f.js} +528 -429
- package/components/CasinoFooterThumbnail-DvPu9uX_.cjs +5 -0
- package/components/{CasinoFooterThumbnail-Bpq1gHvy.js → CasinoFooterThumbnail-UkEHTowY.js} +451 -440
- package/components/{CasinoFooterThumbnail-CiJeGE7y.js → CasinoFooterThumbnail-vH02E9Tr.js} +451 -440
- package/components/CasinoFooterV2-4x4wM6ai.cjs +10 -0
- package/components/{CasinoFooterV2-CYB5rpA6.js → CasinoFooterV2-B0fmltvV.js} +1649 -1552
- package/components/{CasinoFooterV2-CAoes1Hq.js → CasinoFooterV2-CI6c04_X.js} +1692 -1595
- package/components/{PlayerPanicButton-BeKyJ8xl.js → PlayerPanicButton-CRALgCEl.js} +96 -100
- package/components/{PlayerPanicButton-xSw1NtmN.js → PlayerPanicButton-DSfpauFq.js} +85 -89
- package/components/PlayerPanicButton-OxIsyHlf.cjs +1 -0
- package/es2015/casino-footer-v2.cjs +1 -1
- package/es2015/casino-footer-v2.js +1 -1
- package/esnext/casino-footer-v2.js +1 -1
- package/package.json +1 -1
- package/components/CasinoFooterSection-kQeEnCoe.cjs +0 -1
- package/components/CasinoFooterThumbnail-rDy3PLcI.cjs +0 -5
- package/components/CasinoFooterV2-DjsyEClD.cjs +0 -10
- package/components/PlayerPanicButton-yfnx_ls4.cjs +0 -1
@@ -1,12 +1,12 @@
|
|
1
|
-
import { S as
|
2
|
-
import { b as
|
3
|
-
function
|
4
|
-
|
1
|
+
import { S as T, b as V, s as N, f as g, c as O, n as B, d as H, t as R, K as C, h as b, e as U, m as P, g as S, u as q, A as K, o as G, j as F, v as J, w as Q, x as W, y as X } from "./CasinoFooterSection-BMEnWUOD.js";
|
2
|
+
import { b as Y, $ as Z, g as f, e as $ } from "./CasinoFooterThumbnail-UkEHTowY.js";
|
3
|
+
function _(e, t) {
|
4
|
+
Y(e, t);
|
5
5
|
}
|
6
|
-
function
|
7
|
-
|
6
|
+
function tt(e) {
|
7
|
+
Z.set(e);
|
8
8
|
}
|
9
|
-
const
|
9
|
+
const D = {
|
10
10
|
en: {
|
11
11
|
panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
|
12
12
|
},
|
@@ -47,199 +47,195 @@ const _ = {
|
|
47
47
|
panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
|
48
48
|
}
|
49
49
|
};
|
50
|
-
function
|
50
|
+
function et(e) {
|
51
51
|
O(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
|
54
|
-
let t, i,
|
53
|
+
function nt(e) {
|
54
|
+
let t, i, o, l = (
|
55
55
|
/*customtext*/
|
56
56
|
(e[0] || /*$_*/
|
57
57
|
e[5]("panicButtonString")) + ""
|
58
|
-
), m,
|
58
|
+
), m, c;
|
59
59
|
return {
|
60
60
|
c() {
|
61
|
-
t =
|
61
|
+
t = S("div"), i = S("div"), o = S("button"), m = q(l), b(o, "class", "PanicButton " + (f(
|
62
62
|
/*userAgent*/
|
63
63
|
e[6]
|
64
|
-
) !== "PC" ? "PanicButtonMobile" : "")),
|
64
|
+
) !== "PC" ? "PanicButtonMobile" : "")), b(o, "part", "PanicButton " + (f(
|
65
65
|
/*userAgent*/
|
66
66
|
e[6]
|
67
|
-
) !== "PC" ? "PanicButtonMobile" : "")),
|
68
|
-
|
67
|
+
) !== "PC" ? "PanicButtonMobile" : "")), C(
|
68
|
+
o,
|
69
69
|
"PanicButtonAnimation",
|
70
70
|
/*panicLoading*/
|
71
71
|
e[4]
|
72
|
-
),
|
72
|
+
), b(i, "class", "PanicSection " + (f(
|
73
73
|
/*userAgent*/
|
74
74
|
e[6]
|
75
|
-
) !== "PC" ? "PanicSectionMobile" : "")),
|
75
|
+
) !== "PC" ? "PanicSectionMobile" : "")), b(i, "part", "PanicSection " + (f(
|
76
76
|
/*userAgent*/
|
77
77
|
e[6]
|
78
|
-
) !== "PC" ? "PanicSectionMobile" : "")),
|
78
|
+
) !== "PC" ? "PanicSectionMobile" : "")), b(t, "class", c = /*alternativestyling*/
|
79
79
|
e[1] == "true" ? "PanicButtonV2" : "");
|
80
80
|
},
|
81
|
-
m(a,
|
82
|
-
|
81
|
+
m(a, s) {
|
82
|
+
U(a, t, s), P(t, i), P(i, o), P(o, m), e[12](o), e[13](t);
|
83
83
|
},
|
84
|
-
p(a, [
|
85
|
-
|
86
|
-
33 &&
|
84
|
+
p(a, [s]) {
|
85
|
+
s & /*customtext, $_*/
|
86
|
+
33 && l !== (l = /*customtext*/
|
87
87
|
(a[0] || /*$_*/
|
88
|
-
a[5]("panicButtonString")) + "") &&
|
89
|
-
16 &&
|
90
|
-
|
88
|
+
a[5]("panicButtonString")) + "") && R(m, l), s & /*panicLoading*/
|
89
|
+
16 && C(
|
90
|
+
o,
|
91
91
|
"PanicButtonAnimation",
|
92
92
|
/*panicLoading*/
|
93
93
|
a[4]
|
94
|
-
),
|
95
|
-
2 &&
|
96
|
-
a[1] == "true" ? "PanicButtonV2" : "") &&
|
94
|
+
), s & /*alternativestyling*/
|
95
|
+
2 && c !== (c = /*alternativestyling*/
|
96
|
+
a[1] == "true" ? "PanicButtonV2" : "") && b(t, "class", c);
|
97
97
|
},
|
98
|
-
i:
|
99
|
-
o:
|
98
|
+
i: B,
|
99
|
+
o: B,
|
100
100
|
d(a) {
|
101
|
-
a &&
|
101
|
+
a && H(t), e[12](null), e[13](null);
|
102
102
|
}
|
103
103
|
};
|
104
104
|
}
|
105
|
-
function
|
106
|
-
let
|
107
|
-
|
108
|
-
let { lang:
|
109
|
-
const
|
110
|
-
fetch(
|
111
|
-
Object.keys(
|
112
|
-
|
105
|
+
function rt(e, t, i) {
|
106
|
+
let o;
|
107
|
+
K(e, $, (r) => i(5, o = r));
|
108
|
+
let { lang: l = "en" } = t, { customtext: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: s } = t, { alternativestyling: x = "" } = t, { translationurl: y = "" } = t, n, u, p = !1, w = 0, k, E = window.navigator.userAgent;
|
109
|
+
const L = () => {
|
110
|
+
fetch(y).then((d) => d.json()).then((d) => {
|
111
|
+
Object.keys(d).forEach((z) => {
|
112
|
+
_(z, d[z]);
|
113
113
|
});
|
114
|
-
}).catch((
|
115
|
-
console.log(
|
114
|
+
}).catch((d) => {
|
115
|
+
console.log(d);
|
116
116
|
});
|
117
117
|
};
|
118
|
-
Object.keys(
|
119
|
-
|
118
|
+
Object.keys(D).forEach((r) => {
|
119
|
+
_(r, D[r]);
|
120
120
|
});
|
121
|
-
const
|
122
|
-
|
123
|
-
},
|
124
|
-
i(4,
|
125
|
-
},
|
126
|
-
|
121
|
+
const M = () => {
|
122
|
+
n == null || n.addEventListener("mousedown", h, !1), n == null || n.addEventListener("touchstart", h, !1), n == null || n.addEventListener("mouseup", v, !1), n == null || n.addEventListener("touchend", v, !1);
|
123
|
+
}, A = () => {
|
124
|
+
i(4, p = !1), n == null || n.removeEventListener("mousedown", h), n == null || n.removeEventListener("touchstart", h), n == null || n.removeEventListener("mouseup", v), n == null || n.removeEventListener("touchend", v);
|
125
|
+
}, h = () => {
|
126
|
+
w = 0, i(4, p = !0), k = setInterval(
|
127
127
|
() => {
|
128
|
-
|
128
|
+
w++, w >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(k), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
|
129
129
|
},
|
130
130
|
1e3
|
131
131
|
);
|
132
|
-
},
|
133
|
-
i(4,
|
134
|
-
}, A = () => {
|
135
|
-
let n = document.createElement("style");
|
136
|
-
n.innerHTML = l, g.appendChild(n);
|
137
|
-
}, T = () => {
|
138
|
-
let n = new URL(a), c = document.createElement("style");
|
139
|
-
fetch(n.href).then((d) => d.text()).then((d) => {
|
140
|
-
c.innerHTML = d, setTimeout(
|
141
|
-
() => {
|
142
|
-
g.appendChild(c);
|
143
|
-
},
|
144
|
-
1
|
145
|
-
);
|
146
|
-
});
|
132
|
+
}, v = () => {
|
133
|
+
i(4, p = !1), clearInterval(k);
|
147
134
|
};
|
148
|
-
|
149
|
-
|
135
|
+
G(() => () => {
|
136
|
+
A();
|
150
137
|
});
|
151
|
-
function I(
|
152
|
-
|
153
|
-
|
138
|
+
function I(r) {
|
139
|
+
F[r ? "unshift" : "push"](() => {
|
140
|
+
n = r, i(2, n);
|
154
141
|
});
|
155
142
|
}
|
156
|
-
function j(
|
157
|
-
|
158
|
-
|
143
|
+
function j(r) {
|
144
|
+
F[r ? "unshift" : "push"](() => {
|
145
|
+
u = r, i(3, u);
|
159
146
|
});
|
160
147
|
}
|
161
|
-
return e.$$set = (
|
162
|
-
"lang" in
|
148
|
+
return e.$$set = (r) => {
|
149
|
+
"lang" in r && i(7, l = r.lang), "customtext" in r && i(0, m = r.customtext), "clientstyling" in r && i(8, c = r.clientstyling), "clientstylingurl" in r && i(9, a = r.clientstylingurl), "mbsource" in r && i(10, s = r.mbsource), "alternativestyling" in r && i(1, x = r.alternativestyling), "translationurl" in r && i(11, y = r.translationurl);
|
163
150
|
}, e.$$.update = () => {
|
164
151
|
e.$$.dirty & /*panicButton*/
|
165
|
-
4 &&
|
166
|
-
128 &&
|
167
|
-
264 &&
|
168
|
-
520 && a &&
|
169
|
-
|
152
|
+
4 && n && M(), e.$$.dirty & /*lang*/
|
153
|
+
128 && l && tt(l), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
154
|
+
264 && c && u && J(u, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
155
|
+
520 && a && u && Q(u, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
156
|
+
1032 && s && u && W(u, `${s}.Style`), e.$$.dirty & /*translationurl*/
|
157
|
+
2048 && y && L();
|
170
158
|
}, [
|
171
159
|
m,
|
160
|
+
x,
|
161
|
+
n,
|
172
162
|
u,
|
163
|
+
p,
|
173
164
|
o,
|
174
|
-
|
175
|
-
h,
|
176
|
-
r,
|
177
|
-
D,
|
178
|
-
s,
|
165
|
+
E,
|
179
166
|
l,
|
167
|
+
c,
|
180
168
|
a,
|
181
|
-
|
169
|
+
s,
|
170
|
+
y,
|
182
171
|
I,
|
183
172
|
j
|
184
173
|
];
|
185
174
|
}
|
186
|
-
class
|
175
|
+
class it extends T {
|
187
176
|
constructor(t) {
|
188
177
|
super(), V(
|
189
178
|
this,
|
190
179
|
t,
|
180
|
+
rt,
|
191
181
|
nt,
|
192
|
-
tt,
|
193
182
|
N,
|
194
183
|
{
|
195
184
|
lang: 7,
|
196
185
|
customtext: 0,
|
197
186
|
clientstyling: 8,
|
198
187
|
clientstylingurl: 9,
|
188
|
+
mbsource: 10,
|
199
189
|
alternativestyling: 1,
|
200
|
-
translationurl:
|
190
|
+
translationurl: 11
|
201
191
|
},
|
202
|
-
|
192
|
+
et
|
203
193
|
);
|
204
194
|
}
|
205
195
|
get lang() {
|
206
196
|
return this.$$.ctx[7];
|
207
197
|
}
|
208
198
|
set lang(t) {
|
209
|
-
this.$$set({ lang: t }),
|
199
|
+
this.$$set({ lang: t }), g();
|
210
200
|
}
|
211
201
|
get customtext() {
|
212
202
|
return this.$$.ctx[0];
|
213
203
|
}
|
214
204
|
set customtext(t) {
|
215
|
-
this.$$set({ customtext: t }),
|
205
|
+
this.$$set({ customtext: t }), g();
|
216
206
|
}
|
217
207
|
get clientstyling() {
|
218
208
|
return this.$$.ctx[8];
|
219
209
|
}
|
220
210
|
set clientstyling(t) {
|
221
|
-
this.$$set({ clientstyling: t }),
|
211
|
+
this.$$set({ clientstyling: t }), g();
|
222
212
|
}
|
223
213
|
get clientstylingurl() {
|
224
214
|
return this.$$.ctx[9];
|
225
215
|
}
|
226
216
|
set clientstylingurl(t) {
|
227
|
-
this.$$set({ clientstylingurl: t }),
|
217
|
+
this.$$set({ clientstylingurl: t }), g();
|
218
|
+
}
|
219
|
+
get mbsource() {
|
220
|
+
return this.$$.ctx[10];
|
221
|
+
}
|
222
|
+
set mbsource(t) {
|
223
|
+
this.$$set({ mbsource: t }), g();
|
228
224
|
}
|
229
225
|
get alternativestyling() {
|
230
226
|
return this.$$.ctx[1];
|
231
227
|
}
|
232
228
|
set alternativestyling(t) {
|
233
|
-
this.$$set({ alternativestyling: t }),
|
229
|
+
this.$$set({ alternativestyling: t }), g();
|
234
230
|
}
|
235
231
|
get translationurl() {
|
236
|
-
return this.$$.ctx[
|
232
|
+
return this.$$.ctx[11];
|
237
233
|
}
|
238
234
|
set translationurl(t) {
|
239
|
-
this.$$set({ translationurl: t }),
|
235
|
+
this.$$set({ translationurl: t }), g();
|
240
236
|
}
|
241
237
|
}
|
242
|
-
|
238
|
+
X(it, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
|
243
239
|
export {
|
244
|
-
|
240
|
+
it as default
|
245
241
|
};
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { S as
|
2
|
-
import { b as
|
3
|
-
function
|
4
|
-
|
1
|
+
import { S as T, b as V, s as N, f as g, c as O, n as z, d as H, t as R, K as C, h as b, e as U, m as B, g as P, u as q, A as K, o as G, j as F, v as J, w as Q, x as W, y as X } from "./CasinoFooterSection-Dqx3SQ3f.js";
|
2
|
+
import { b as Y, $ as Z, g as f, e as $ } from "./CasinoFooterThumbnail-vH02E9Tr.js";
|
3
|
+
function _(n, t) {
|
4
|
+
Y(n, t);
|
5
5
|
}
|
6
|
-
function
|
7
|
-
|
6
|
+
function tt(n) {
|
7
|
+
Z.set(n);
|
8
8
|
}
|
9
|
-
const
|
9
|
+
const D = {
|
10
10
|
en: {
|
11
11
|
panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
|
12
12
|
},
|
@@ -47,199 +47,195 @@ const _ = {
|
|
47
47
|
panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
|
48
48
|
}
|
49
49
|
};
|
50
|
-
function
|
50
|
+
function nt(n) {
|
51
51
|
O(n, "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
|
54
|
-
let t, i, o,
|
53
|
+
function et(n) {
|
54
|
+
let t, i, o, c = (
|
55
55
|
/*customtext*/
|
56
56
|
(n[0] || /*$_*/
|
57
57
|
n[5]("panicButtonString")) + ""
|
58
58
|
), m, l;
|
59
59
|
return {
|
60
60
|
c() {
|
61
|
-
t =
|
61
|
+
t = P("div"), i = P("div"), o = P("button"), m = q(c), b(o, "class", "PanicButton " + (f(
|
62
62
|
/*userAgent*/
|
63
63
|
n[6]
|
64
|
-
) !== "PC" ? "PanicButtonMobile" : "")),
|
64
|
+
) !== "PC" ? "PanicButtonMobile" : "")), b(o, "part", "PanicButton " + (f(
|
65
65
|
/*userAgent*/
|
66
66
|
n[6]
|
67
|
-
) !== "PC" ? "PanicButtonMobile" : "")),
|
67
|
+
) !== "PC" ? "PanicButtonMobile" : "")), C(
|
68
68
|
o,
|
69
69
|
"PanicButtonAnimation",
|
70
70
|
/*panicLoading*/
|
71
71
|
n[4]
|
72
|
-
),
|
72
|
+
), b(i, "class", "PanicSection " + (f(
|
73
73
|
/*userAgent*/
|
74
74
|
n[6]
|
75
|
-
) !== "PC" ? "PanicSectionMobile" : "")),
|
75
|
+
) !== "PC" ? "PanicSectionMobile" : "")), b(i, "part", "PanicSection " + (f(
|
76
76
|
/*userAgent*/
|
77
77
|
n[6]
|
78
|
-
) !== "PC" ? "PanicSectionMobile" : "")),
|
78
|
+
) !== "PC" ? "PanicSectionMobile" : "")), b(t, "class", l = /*alternativestyling*/
|
79
79
|
n[1] == "true" ? "PanicButtonV2" : "");
|
80
80
|
},
|
81
|
-
m(a,
|
82
|
-
|
81
|
+
m(a, s) {
|
82
|
+
U(a, t, s), B(t, i), B(i, o), B(o, m), n[12](o), n[13](t);
|
83
83
|
},
|
84
|
-
p(a, [
|
85
|
-
|
86
|
-
33 &&
|
84
|
+
p(a, [s]) {
|
85
|
+
s & /*customtext, $_*/
|
86
|
+
33 && c !== (c = /*customtext*/
|
87
87
|
(a[0] || /*$_*/
|
88
|
-
a[5]("panicButtonString")) + "") &&
|
89
|
-
16 &&
|
88
|
+
a[5]("panicButtonString")) + "") && R(m, c), s & /*panicLoading*/
|
89
|
+
16 && C(
|
90
90
|
o,
|
91
91
|
"PanicButtonAnimation",
|
92
92
|
/*panicLoading*/
|
93
93
|
a[4]
|
94
|
-
),
|
94
|
+
), s & /*alternativestyling*/
|
95
95
|
2 && l !== (l = /*alternativestyling*/
|
96
|
-
a[1] == "true" ? "PanicButtonV2" : "") &&
|
96
|
+
a[1] == "true" ? "PanicButtonV2" : "") && b(t, "class", l);
|
97
97
|
},
|
98
98
|
i: z,
|
99
99
|
o: z,
|
100
100
|
d(a) {
|
101
|
-
a &&
|
101
|
+
a && H(t), n[12](null), n[13](null);
|
102
102
|
}
|
103
103
|
};
|
104
104
|
}
|
105
|
-
function
|
105
|
+
function it(n, t, i) {
|
106
106
|
let o;
|
107
|
-
|
108
|
-
let { lang:
|
109
|
-
const
|
110
|
-
fetch(
|
111
|
-
Object.keys(
|
112
|
-
|
107
|
+
K(n, $, (e) => i(5, o = e));
|
108
|
+
let { lang: c = "en" } = t, { customtext: m = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: s } = t, { alternativestyling: S = "" } = t, { translationurl: p = "" } = t, r, u, y = !1, w = 0, k, E = window.navigator.userAgent;
|
109
|
+
const L = () => {
|
110
|
+
fetch(p).then((d) => d.json()).then((d) => {
|
111
|
+
Object.keys(d).forEach((x) => {
|
112
|
+
_(x, d[x]);
|
113
113
|
});
|
114
|
-
}).catch((
|
115
|
-
console.log(
|
114
|
+
}).catch((d) => {
|
115
|
+
console.log(d);
|
116
116
|
});
|
117
117
|
};
|
118
|
-
Object.keys(
|
119
|
-
|
118
|
+
Object.keys(D).forEach((e) => {
|
119
|
+
_(e, D[e]);
|
120
120
|
});
|
121
|
-
const
|
122
|
-
r
|
123
|
-
},
|
124
|
-
i(4,
|
125
|
-
},
|
126
|
-
|
121
|
+
const M = () => {
|
122
|
+
r?.addEventListener("mousedown", h, !1), r?.addEventListener("touchstart", h, !1), r?.addEventListener("mouseup", v, !1), r?.addEventListener("touchend", v, !1);
|
123
|
+
}, A = () => {
|
124
|
+
i(4, y = !1), r?.removeEventListener("mousedown", h), r?.removeEventListener("touchstart", h), r?.removeEventListener("mouseup", v), r?.removeEventListener("touchend", v);
|
125
|
+
}, h = () => {
|
126
|
+
w = 0, i(4, y = !0), k = setInterval(
|
127
127
|
() => {
|
128
|
-
|
128
|
+
w++, w >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(k), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
|
129
129
|
},
|
130
130
|
1e3
|
131
131
|
);
|
132
|
-
},
|
133
|
-
i(4,
|
134
|
-
}, A = () => {
|
135
|
-
let e = document.createElement("style");
|
136
|
-
e.innerHTML = l, g.appendChild(e);
|
137
|
-
}, T = () => {
|
138
|
-
let e = new URL(a), c = document.createElement("style");
|
139
|
-
fetch(e.href).then((d) => d.text()).then((d) => {
|
140
|
-
c.innerHTML = d, setTimeout(
|
141
|
-
() => {
|
142
|
-
g.appendChild(c);
|
143
|
-
},
|
144
|
-
1
|
145
|
-
);
|
146
|
-
});
|
132
|
+
}, v = () => {
|
133
|
+
i(4, y = !1), clearInterval(k);
|
147
134
|
};
|
148
|
-
|
149
|
-
|
135
|
+
G(() => () => {
|
136
|
+
A();
|
150
137
|
});
|
151
138
|
function I(e) {
|
152
|
-
|
139
|
+
F[e ? "unshift" : "push"](() => {
|
153
140
|
r = e, i(2, r);
|
154
141
|
});
|
155
142
|
}
|
156
143
|
function j(e) {
|
157
|
-
|
158
|
-
|
144
|
+
F[e ? "unshift" : "push"](() => {
|
145
|
+
u = e, i(3, u);
|
159
146
|
});
|
160
147
|
}
|
161
148
|
return n.$$set = (e) => {
|
162
|
-
"lang" in e && i(7,
|
149
|
+
"lang" in e && i(7, c = e.lang), "customtext" in e && i(0, m = e.customtext), "clientstyling" in e && i(8, l = e.clientstyling), "clientstylingurl" in e && i(9, a = e.clientstylingurl), "mbsource" in e && i(10, s = e.mbsource), "alternativestyling" in e && i(1, S = e.alternativestyling), "translationurl" in e && i(11, p = e.translationurl);
|
163
150
|
}, n.$$.update = () => {
|
164
151
|
n.$$.dirty & /*panicButton*/
|
165
|
-
4 && r &&
|
166
|
-
128 &&
|
167
|
-
264 && l &&
|
168
|
-
520 && a &&
|
169
|
-
|
152
|
+
4 && r && M(), n.$$.dirty & /*lang*/
|
153
|
+
128 && c && tt(c), n.$$.dirty & /*clientstyling, customStylingContainer*/
|
154
|
+
264 && l && u && J(u, l), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
155
|
+
520 && a && u && Q(u, a), n.$$.dirty & /*mbsource, customStylingContainer*/
|
156
|
+
1032 && s && u && W(u, `${s}.Style`), n.$$.dirty & /*translationurl*/
|
157
|
+
2048 && p && L();
|
170
158
|
}, [
|
171
159
|
m,
|
172
|
-
|
160
|
+
S,
|
173
161
|
r,
|
174
|
-
|
175
|
-
|
162
|
+
u,
|
163
|
+
y,
|
176
164
|
o,
|
177
|
-
|
178
|
-
|
165
|
+
E,
|
166
|
+
c,
|
179
167
|
l,
|
180
168
|
a,
|
181
|
-
|
169
|
+
s,
|
170
|
+
p,
|
182
171
|
I,
|
183
172
|
j
|
184
173
|
];
|
185
174
|
}
|
186
|
-
class
|
175
|
+
class at extends T {
|
187
176
|
constructor(t) {
|
188
177
|
super(), V(
|
189
178
|
this,
|
190
179
|
t,
|
180
|
+
it,
|
191
181
|
et,
|
192
|
-
tt,
|
193
182
|
N,
|
194
183
|
{
|
195
184
|
lang: 7,
|
196
185
|
customtext: 0,
|
197
186
|
clientstyling: 8,
|
198
187
|
clientstylingurl: 9,
|
188
|
+
mbsource: 10,
|
199
189
|
alternativestyling: 1,
|
200
|
-
translationurl:
|
190
|
+
translationurl: 11
|
201
191
|
},
|
202
|
-
|
192
|
+
nt
|
203
193
|
);
|
204
194
|
}
|
205
195
|
get lang() {
|
206
196
|
return this.$$.ctx[7];
|
207
197
|
}
|
208
198
|
set lang(t) {
|
209
|
-
this.$$set({ lang: t }),
|
199
|
+
this.$$set({ lang: t }), g();
|
210
200
|
}
|
211
201
|
get customtext() {
|
212
202
|
return this.$$.ctx[0];
|
213
203
|
}
|
214
204
|
set customtext(t) {
|
215
|
-
this.$$set({ customtext: t }),
|
205
|
+
this.$$set({ customtext: t }), g();
|
216
206
|
}
|
217
207
|
get clientstyling() {
|
218
208
|
return this.$$.ctx[8];
|
219
209
|
}
|
220
210
|
set clientstyling(t) {
|
221
|
-
this.$$set({ clientstyling: t }),
|
211
|
+
this.$$set({ clientstyling: t }), g();
|
222
212
|
}
|
223
213
|
get clientstylingurl() {
|
224
214
|
return this.$$.ctx[9];
|
225
215
|
}
|
226
216
|
set clientstylingurl(t) {
|
227
|
-
this.$$set({ clientstylingurl: t }),
|
217
|
+
this.$$set({ clientstylingurl: t }), g();
|
218
|
+
}
|
219
|
+
get mbsource() {
|
220
|
+
return this.$$.ctx[10];
|
221
|
+
}
|
222
|
+
set mbsource(t) {
|
223
|
+
this.$$set({ mbsource: t }), g();
|
228
224
|
}
|
229
225
|
get alternativestyling() {
|
230
226
|
return this.$$.ctx[1];
|
231
227
|
}
|
232
228
|
set alternativestyling(t) {
|
233
|
-
this.$$set({ alternativestyling: t }),
|
229
|
+
this.$$set({ alternativestyling: t }), g();
|
234
230
|
}
|
235
231
|
get translationurl() {
|
236
|
-
return this.$$.ctx[
|
232
|
+
return this.$$.ctx[11];
|
237
233
|
}
|
238
234
|
set translationurl(t) {
|
239
|
-
this.$$set({ translationurl: t }),
|
235
|
+
this.$$set({ translationurl: t }), g();
|
240
236
|
}
|
241
237
|
}
|
242
|
-
|
238
|
+
X(at, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
|
243
239
|
export {
|
244
|
-
|
240
|
+
at as default
|
245
241
|
};
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFooterSection-AigUjOLw.cjs"),m=require("./CasinoFooterThumbnail-DvPu9uX_.cjs");function S(n,e){m.addMessages(n,e)}function M(n){m.$locale.set(n)}const x={en:{panicButtonString:"Hold button for 3 seconds to take 24-hour timeout"},"zh-hk":{panicButtonString:"长按3秒24小时即时锁定"},fr:{panicButtonString:"Maintenez le bouton enfoncé pendant 3 secondes pour prendre un verrouillage instantané de 24 heures"},ro:{panicButtonString:"Tine apasat 3 secunde pentru a lua o pauza de 24h"},es:{panicButtonString:"Dar clic durante 3 segundos para tomar un descanso de 24 horas"},de:{panicButtonString:"Button für 3 Sekunden drücken um eine 24-stündige Auszeit zu nehmen"},hr:{panicButtonString:"Držite gumb 3 sekunde za 24-satno vremensko ograničenje"},sl:{panicButtonString:"Držite gumb 3 sekunde, da bi vzeli 24 urni premor"},pl:{panicButtonString:"Przytrzymaj przycisk przez 3 sekundy, aby uzyskać 24-godzinny limit czasu"},"pt-br":{panicButtonString:"Pressione o botão por 3 segundos para fazer uma pausa de 24 horas."},"es-mx":{panicButtonString:"Presionar el botón 3 segundos para tomar una pausa de 24 horas."},tr:{panicButtonString:"24 saatlik zaman aşımına uğramak için düğmeyi 3 saniye basılı tutun"},"en-us":{panicButtonString:"Hold button for 3 seconds to take 24-hour timeout"}};function L(n){t.append_styles(n,"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}}")}function A(n){let e,o,s,c=(n[0]||n[5]("panicButtonString"))+"",d,u;return{c(){e=t.element("div"),o=t.element("div"),s=t.element("button"),d=t.text(c),t.attr(s,"class","PanicButton "+(m.getDevice(n[6])!=="PC"?"PanicButtonMobile":"")),t.attr(s,"part","PanicButton "+(m.getDevice(n[6])!=="PC"?"PanicButtonMobile":"")),t.toggle_class(s,"PanicButtonAnimation",n[4]),t.attr(o,"class","PanicSection "+(m.getDevice(n[6])!=="PC"?"PanicSectionMobile":"")),t.attr(o,"part","PanicSection "+(m.getDevice(n[6])!=="PC"?"PanicSectionMobile":"")),t.attr(e,"class",u=n[1]=="true"?"PanicButtonV2":"")},m(a,l){t.insert(a,e,l),t.append(e,o),t.append(o,s),t.append(s,d),n[12](s),n[13](e)},p(a,[l]){l&33&&c!==(c=(a[0]||a[5]("panicButtonString"))+"")&&t.set_data(d,c),l&16&&t.toggle_class(s,"PanicButtonAnimation",a[4]),l&2&&u!==(u=a[1]=="true"?"PanicButtonV2":"")&&t.attr(e,"class",u)},i:t.noop,o:t.noop,d(a){a&&t.detach(e),n[12](null),n[13](null)}}}function T(n,e,o){let s;t.component_subscribe(n,m.$format,i=>o(5,s=i));let{lang:c="en"}=e,{customtext:d=""}=e,{clientstyling:u=""}=e,{clientstylingurl:a=""}=e,{mbsource:l}=e,{alternativestyling:k=""}=e,{translationurl:y=""}=e,r,g,p=!1,f=0,w,B=window.navigator.userAgent;const C=()=>{fetch(y).then(b=>b.json()).then(b=>{Object.keys(b).forEach(P=>{S(P,b[P])})}).catch(b=>{console.log(b)})};Object.keys(x).forEach(i=>{S(i,x[i])});const _=()=>{r==null||r.addEventListener("mousedown",h,!1),r==null||r.addEventListener("touchstart",h,!1),r==null||r.addEventListener("mouseup",v,!1),r==null||r.addEventListener("touchend",v,!1)},F=()=>{o(4,p=!1),r==null||r.removeEventListener("mousedown",h),r==null||r.removeEventListener("touchstart",h),r==null||r.removeEventListener("mouseup",v),r==null||r.removeEventListener("touchend",v)},h=()=>{f=0,o(4,p=!0),w=setInterval(()=>{f++,f>=2&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(w),typeof gtag=="function"&>ag("event","PanicButtonClicked",{context:"PanicButton"}))},1e3)},v=()=>{o(4,p=!1),clearInterval(w)};t.onMount(()=>()=>{F()});function D(i){t.binding_callbacks[i?"unshift":"push"](()=>{r=i,o(2,r)})}function E(i){t.binding_callbacks[i?"unshift":"push"](()=>{g=i,o(3,g)})}return n.$$set=i=>{"lang"in i&&o(7,c=i.lang),"customtext"in i&&o(0,d=i.customtext),"clientstyling"in i&&o(8,u=i.clientstyling),"clientstylingurl"in i&&o(9,a=i.clientstylingurl),"mbsource"in i&&o(10,l=i.mbsource),"alternativestyling"in i&&o(1,k=i.alternativestyling),"translationurl"in i&&o(11,y=i.translationurl)},n.$$.update=()=>{n.$$.dirty&4&&r&&_(),n.$$.dirty&128&&c&&M(c),n.$$.dirty&264&&u&&g&&t.setClientStyling(g,u),n.$$.dirty&520&&a&&g&&t.setClientStylingURL(g,a),n.$$.dirty&1032&&l&&g&&t.setStreamStyling(g,`${l}.Style`),n.$$.dirty&2048&&y&&C()},[d,k,r,g,p,s,B,c,u,a,l,y,D,E]}class z extends t.SvelteComponent{constructor(e){super(),t.init(this,e,T,A,t.safe_not_equal,{lang:7,customtext:0,clientstyling:8,clientstylingurl:9,mbsource:10,alternativestyling:1,translationurl:11},L)}get lang(){return this.$$.ctx[7]}set lang(e){this.$$set({lang:e}),t.flush()}get customtext(){return this.$$.ctx[0]}set customtext(e){this.$$set({customtext:e}),t.flush()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get mbsource(){return this.$$.ctx[10]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get alternativestyling(){return this.$$.ctx[1]}set alternativestyling(e){this.$$set({alternativestyling:e}),t.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}}t.create_custom_element(z,{lang:{},customtext:{},clientstyling:{},clientstylingurl:{},mbsource:{},alternativestyling:{},translationurl:{}},[],[],!0);exports.default=z;
|
@@ -1 +1 @@
|
|
1
|
-
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){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"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoFooterV2-
|
1
|
+
"use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){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"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoFooterV2-4x4wM6ai.cjs")).then(({default:t})=>{!customElements.get("casino-footer-v2")&&customElements.define("casino-footer-v2",t.element)})}
|