@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.
@@ -1,12 +1,12 @@
1
- import { S as H, b as V, s as N, f as p, c as O, n as S, d as R, q as U, H as z, h as y, e as q, m as P, g as x, t as G, w as J, x as K, j as C, u as Q } from "./CasinoFooterSection-uwHYGyJW.js";
2
- import { b as W, $ as X, g as w, d as Y } from "./CasinoFooterThumbnail-CiJeGE7y.js";
3
- function F(e, t) {
4
- W(e, t);
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 Z(e) {
7
- X.set(e);
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 $(e) {
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 tt(e) {
54
- let t, i, r, s = (
53
+ function nt(e) {
54
+ let t, i, o, l = (
55
55
  /*customtext*/
56
56
  (e[0] || /*$_*/
57
57
  e[5]("panicButtonString")) + ""
58
- ), m, l;
58
+ ), m, c;
59
59
  return {
60
60
  c() {
61
- t = x("div"), i = x("div"), r = x("button"), m = G(s), y(r, "class", "PanicButton " + (w(
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" : "")), y(r, "part", "PanicButton " + (w(
64
+ ) !== "PC" ? "PanicButtonMobile" : "")), b(o, "part", "PanicButton " + (f(
65
65
  /*userAgent*/
66
66
  e[6]
67
- ) !== "PC" ? "PanicButtonMobile" : "")), z(
68
- r,
67
+ ) !== "PC" ? "PanicButtonMobile" : "")), C(
68
+ o,
69
69
  "PanicButtonAnimation",
70
70
  /*panicLoading*/
71
71
  e[4]
72
- ), y(i, "class", "PanicSection " + (w(
72
+ ), b(i, "class", "PanicSection " + (f(
73
73
  /*userAgent*/
74
74
  e[6]
75
- ) !== "PC" ? "PanicSectionMobile" : "")), y(i, "part", "PanicSection " + (w(
75
+ ) !== "PC" ? "PanicSectionMobile" : "")), b(i, "part", "PanicSection " + (f(
76
76
  /*userAgent*/
77
77
  e[6]
78
- ) !== "PC" ? "PanicSectionMobile" : "")), y(t, "class", l = /*alternativestyling*/
78
+ ) !== "PC" ? "PanicSectionMobile" : "")), b(t, "class", c = /*alternativestyling*/
79
79
  e[1] == "true" ? "PanicButtonV2" : "");
80
80
  },
81
- m(a, u) {
82
- q(a, t, u), P(t, i), P(i, r), P(r, m), e[11](r), e[12](t);
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, [u]) {
85
- u & /*customtext, $_*/
86
- 33 && s !== (s = /*customtext*/
84
+ p(a, [s]) {
85
+ s & /*customtext, $_*/
86
+ 33 && l !== (l = /*customtext*/
87
87
  (a[0] || /*$_*/
88
- a[5]("panicButtonString")) + "") && U(m, s), u & /*panicLoading*/
89
- 16 && z(
90
- r,
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
- ), u & /*alternativestyling*/
95
- 2 && l !== (l = /*alternativestyling*/
96
- a[1] == "true" ? "PanicButtonV2" : "") && y(t, "class", l);
94
+ ), s & /*alternativestyling*/
95
+ 2 && c !== (c = /*alternativestyling*/
96
+ a[1] == "true" ? "PanicButtonV2" : "") && b(t, "class", c);
97
97
  },
98
- i: S,
99
- o: S,
98
+ i: B,
99
+ o: B,
100
100
  d(a) {
101
- a && R(t), e[11](null), e[12](null);
101
+ a && H(t), e[12](null), e[13](null);
102
102
  }
103
103
  };
104
104
  }
105
- function nt(e, t, i) {
106
- let r;
107
- J(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
- const E = () => {
110
- fetch(b).then((c) => c.json()).then((c) => {
111
- Object.keys(c).forEach((d) => {
112
- F(d, c[d]);
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((c) => {
115
- console.log(c);
114
+ }).catch((d) => {
115
+ console.log(d);
116
116
  });
117
117
  };
118
- Object.keys(_).forEach((n) => {
119
- F(n, _[n]);
118
+ Object.keys(D).forEach((r) => {
119
+ _(r, D[r]);
120
120
  });
121
- const L = () => {
122
- o?.addEventListener("mousedown", v, !1), o?.addEventListener("touchstart", v, !1), o?.addEventListener("mouseup", f, !1), o?.addEventListener("touchend", f, !1);
123
- }, M = () => {
124
- i(4, h = !1), o?.removeEventListener("mousedown", v), o?.removeEventListener("touchstart", v), o?.removeEventListener("mouseup", f), o?.removeEventListener("touchend", f);
125
- }, v = () => {
126
- k = 0, i(4, h = !0), B = setInterval(
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
- k++, k >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(B), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
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
- }, f = () => {
133
- i(4, h = !1), clearInterval(B);
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
- K(() => () => {
149
- M();
135
+ G(() => () => {
136
+ A();
150
137
  });
151
- function I(n) {
152
- C[n ? "unshift" : "push"](() => {
153
- o = n, i(2, o);
138
+ function I(r) {
139
+ F[r ? "unshift" : "push"](() => {
140
+ n = r, i(2, n);
154
141
  });
155
142
  }
156
- function j(n) {
157
- C[n ? "unshift" : "push"](() => {
158
- g = n, i(3, g);
143
+ function j(r) {
144
+ F[r ? "unshift" : "push"](() => {
145
+ u = r, i(3, u);
159
146
  });
160
147
  }
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);
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 && 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
- 1024 && b && E();
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
- g,
175
- h,
176
- r,
177
- D,
178
- s,
165
+ E,
179
166
  l,
167
+ c,
180
168
  a,
181
- b,
169
+ s,
170
+ y,
182
171
  I,
183
172
  j
184
173
  ];
185
174
  }
186
- class et extends H {
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: 10
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 }), p();
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 }), p();
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 }), p();
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 }), p();
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 }), p();
229
+ this.$$set({ alternativestyling: t }), g();
234
230
  }
235
231
  get translationurl() {
236
- return this.$$.ctx[10];
232
+ return this.$$.ctx[11];
237
233
  }
238
234
  set translationurl(t) {
239
- this.$$set({ translationurl: t }), p();
235
+ this.$$set({ translationurl: t }), g();
240
236
  }
241
237
  }
242
- Q(et, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
238
+ X(it, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
243
239
  export {
244
- et as default
240
+ it as default
245
241
  };
@@ -1,12 +1,12 @@
1
- import { S as H, b as V, s as N, f as y, c as O, n as z, d as R, q as U, H as B, h as p, e as q, m as x, g as S, t as G, w as J, x as K, j as C, u as Q } from "./CasinoFooterSection-DsynzbcL.js";
2
- import { b as W, $ as X, g as w, d as Y } from "./CasinoFooterThumbnail-Bpq1gHvy.js";
3
- function F(n, t) {
4
- W(n, t);
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 Z(n) {
7
- X.set(n);
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 $(n) {
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 tt(n) {
54
- let t, i, o, s = (
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 = S("div"), i = S("div"), o = S("button"), m = G(s), p(o, "class", "PanicButton " + (w(
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" : "")), p(o, "part", "PanicButton " + (w(
64
+ ) !== "PC" ? "PanicButtonMobile" : "")), b(o, "part", "PanicButton " + (f(
65
65
  /*userAgent*/
66
66
  n[6]
67
- ) !== "PC" ? "PanicButtonMobile" : "")), B(
67
+ ) !== "PC" ? "PanicButtonMobile" : "")), C(
68
68
  o,
69
69
  "PanicButtonAnimation",
70
70
  /*panicLoading*/
71
71
  n[4]
72
- ), p(i, "class", "PanicSection " + (w(
72
+ ), b(i, "class", "PanicSection " + (f(
73
73
  /*userAgent*/
74
74
  n[6]
75
- ) !== "PC" ? "PanicSectionMobile" : "")), p(i, "part", "PanicSection " + (w(
75
+ ) !== "PC" ? "PanicSectionMobile" : "")), b(i, "part", "PanicSection " + (f(
76
76
  /*userAgent*/
77
77
  n[6]
78
- ) !== "PC" ? "PanicSectionMobile" : "")), p(t, "class", l = /*alternativestyling*/
78
+ ) !== "PC" ? "PanicSectionMobile" : "")), b(t, "class", l = /*alternativestyling*/
79
79
  n[1] == "true" ? "PanicButtonV2" : "");
80
80
  },
81
- m(a, u) {
82
- q(a, t, u), x(t, i), x(i, o), x(o, m), n[11](o), n[12](t);
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, [u]) {
85
- u & /*customtext, $_*/
86
- 33 && s !== (s = /*customtext*/
84
+ p(a, [s]) {
85
+ s & /*customtext, $_*/
86
+ 33 && c !== (c = /*customtext*/
87
87
  (a[0] || /*$_*/
88
- a[5]("panicButtonString")) + "") && U(m, s), u & /*panicLoading*/
89
- 16 && B(
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
- ), u & /*alternativestyling*/
94
+ ), s & /*alternativestyling*/
95
95
  2 && l !== (l = /*alternativestyling*/
96
- a[1] == "true" ? "PanicButtonV2" : "") && p(t, "class", l);
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 && R(t), n[11](null), n[12](null);
101
+ a && H(t), n[12](null), n[13](null);
102
102
  }
103
103
  };
104
104
  }
105
- function et(n, t, i) {
105
+ function it(n, t, i) {
106
106
  let o;
107
- J(n, Y, (e) => i(5, o = e));
108
- let { lang: s = "en" } = t, { customtext: m = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: a = "" } = t, { alternativestyling: u = "" } = t, { translationurl: b = "" } = t, r, g, h = !1, k = 0, P, D = window.navigator.userAgent;
109
- const E = () => {
110
- fetch(b).then((c) => c.json()).then((c) => {
111
- Object.keys(c).forEach((d) => {
112
- F(d, c[d]);
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((c) => {
115
- console.log(c);
114
+ }).catch((d) => {
115
+ console.log(d);
116
116
  });
117
117
  };
118
- Object.keys(_).forEach((e) => {
119
- F(e, _[e]);
118
+ Object.keys(D).forEach((e) => {
119
+ _(e, D[e]);
120
120
  });
121
- const L = () => {
122
- r == null || r.addEventListener("mousedown", v, !1), r == null || r.addEventListener("touchstart", v, !1), r == null || r.addEventListener("mouseup", f, !1), r == null || r.addEventListener("touchend", f, !1);
123
- }, M = () => {
124
- i(4, h = !1), r == null || r.removeEventListener("mousedown", v), r == null || r.removeEventListener("touchstart", v), r == null || r.removeEventListener("mouseup", f), r == null || r.removeEventListener("touchend", f);
125
- }, v = () => {
126
- k = 0, i(4, h = !0), P = setInterval(
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
- k++, k >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(P), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
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
- }, f = () => {
133
- i(4, h = !1), clearInterval(P);
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
- K(() => () => {
149
- M();
135
+ G(() => () => {
136
+ A();
150
137
  });
151
138
  function I(e) {
152
- C[e ? "unshift" : "push"](() => {
139
+ F[e ? "unshift" : "push"](() => {
153
140
  r = e, i(2, r);
154
141
  });
155
142
  }
156
143
  function j(e) {
157
- C[e ? "unshift" : "push"](() => {
158
- g = e, i(3, g);
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, s = 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), "alternativestyling" in e && i(1, u = e.alternativestyling), "translationurl" in e && i(10, b = e.translationurl);
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 && L(), n.$$.dirty & /*lang*/
166
- 128 && s && Z(s), n.$$.dirty & /*clientstyling, customStylingContainer*/
167
- 264 && l && g && A(), n.$$.dirty & /*clientstylingurl, customStylingContainer*/
168
- 520 && a && g && T(), n.$$.dirty & /*translationurl*/
169
- 1024 && b && E();
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
- u,
160
+ S,
173
161
  r,
174
- g,
175
- h,
162
+ u,
163
+ y,
176
164
  o,
177
- D,
178
- s,
165
+ E,
166
+ c,
179
167
  l,
180
168
  a,
181
- b,
169
+ s,
170
+ p,
182
171
  I,
183
172
  j
184
173
  ];
185
174
  }
186
- class nt extends H {
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: 10
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 }), y();
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 }), y();
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 }), y();
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 }), y();
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 }), y();
229
+ this.$$set({ alternativestyling: t }), g();
234
230
  }
235
231
  get translationurl() {
236
- return this.$$.ctx[10];
232
+ return this.$$.ctx[11];
237
233
  }
238
234
  set translationurl(t) {
239
- this.$$set({ translationurl: t }), y();
235
+ this.$$set({ translationurl: t }), g();
240
236
  }
241
237
  }
242
- Q(nt, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
238
+ X(at, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
243
239
  export {
244
- nt as default
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"&&gtag("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-DjsyEClD.cjs")).then(({default:t})=>{!customElements.get("casino-footer-v2")&&customElements.define("casino-footer-v2",t.element)})}
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)})}