@everymatrix/casino-lobby 1.53.0 → 1.53.11

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.
Files changed (58) hide show
  1. package/components/{CasinoCalendar-0AyYaYr6.js → CasinoCalendar-Ic3lq1UY.js} +1738 -1707
  2. package/components/CasinoCalendarDailyDetails-buDoufAV.js +701 -0
  3. package/components/CasinoCalendarDailyItem-koPRd703.js +315 -0
  4. package/components/{CasinoCategoriesSlider-DZ3Xi2sD.js → CasinoCategoriesSlider-Bp9JHeM_.js} +24 -24
  5. package/components/{CasinoCollectionsProviders-CNZ2cCAe.js → CasinoCollectionsProviders-CrpNb22N.js} +241 -246
  6. package/components/{CasinoFavoritesSection-nPP9uMBT.js → CasinoFavoritesSection-C1XEW6Z6.js} +19 -19
  7. package/components/{CasinoFilter-CxB9D2A4.js → CasinoFilter-CYZHW74M.js} +79 -80
  8. package/components/{CasinoGamePage-CDh-e6Wj.js → CasinoGamePage-CCqWDOmI.js} +1280 -1301
  9. package/components/{CasinoGameThumbnail-B7A74Vsr.js → CasinoGameThumbnail-zLPpnkNm.js} +342 -358
  10. package/components/{CasinoGamesCategorySection-DcPbkQ1J.js → CasinoGamesCategorySection-DMGyKJ-j.js} +1104 -1135
  11. package/components/{CasinoJackpotBanner-DPuhYIS9.js → CasinoJackpotBanner-CL7SMQDH.js} +174 -178
  12. package/components/{CasinoLastPlayedSection-Bh4HPjN6.js → CasinoLastPlayedSection-Cm6BF1pV.js} +20 -20
  13. package/components/{CasinoLobby-D9bnqJ-e.js → CasinoLobby-DPo1HzH2.js} +56 -56
  14. package/components/{CasinoModal-CDlxjS83.js → CasinoModal-z0xixUlG.js} +66 -66
  15. package/components/{CasinoMostPlayedSection-Dvzz1ZMp.js → CasinoMostPlayedSection-CA67PY54.js} +26 -26
  16. package/components/{CasinoMyGames-DcQjF0G5.js → CasinoMyGames-DvJ46R6O.js} +72 -73
  17. package/components/{CasinoPage-HvM3Nh7b.js → CasinoPage-CfEe4r2D.js} +812 -815
  18. package/components/{CasinoRandomGame-Cw331FLx.js → CasinoRandomGame-efA8CEqy.js} +232 -248
  19. package/components/{CasinoSearch-DE7Dd1yO.js → CasinoSearch-CZ5ggDbP.js} +232 -234
  20. package/components/{CasinoSlider-b2MX1hWZ.js → CasinoSlider-BPqJIB5d.js} +226 -232
  21. package/components/{CasinoSort-ContI1pC.js → CasinoSort-CBtcK7i0.js} +19 -20
  22. package/components/{CasinoWinners-BZNLRgvw.js → CasinoWinners-Db2ivy-R.js} +151 -153
  23. package/components/{GeneralAnimationLoading-C-B40oIV.js → GeneralAnimationLoading-DiwFEyef.js} +3 -3
  24. package/esnext/casino-lobby.js +14 -0
  25. package/package.json +12 -14
  26. package/stencil/{casino-play-random-game-B5g4-G4Z.js → casino-play-random-game-BrayzMrR.js} +45 -63
  27. package/stencil/index-47910d1c-CWwDm8i3.js +623 -0
  28. package/components/CasinoCalendar-aMUXtMPt.cjs +0 -9
  29. package/components/CasinoCalendarDailyDetails-Djpw089y.js +0 -605
  30. package/components/CasinoCalendarDailyDetails-DvaXsJ6J.cjs +0 -1
  31. package/components/CasinoCalendarDailyItem-BNFG5z35.js +0 -220
  32. package/components/CasinoCalendarDailyItem-CMMlKWuC.cjs +0 -1
  33. package/components/CasinoCategoriesSlider-C6tCM7PI.cjs +0 -1
  34. package/components/CasinoCollectionsProviders-BrLC6Grn.cjs +0 -1
  35. package/components/CasinoFavoritesSection-BKjicWtD.cjs +0 -1
  36. package/components/CasinoFilter-DdhssY81.cjs +0 -1
  37. package/components/CasinoGamePage-D-wyPyQN.cjs +0 -18
  38. package/components/CasinoGameThumbnail-DpkiaEqW.cjs +0 -38
  39. package/components/CasinoGamesCategorySection-Cc1Rm1Na.cjs +0 -1
  40. package/components/CasinoJackpotBanner-BlShS5Vc.cjs +0 -1
  41. package/components/CasinoLastPlayedSection-B31ODrlT.cjs +0 -1
  42. package/components/CasinoLobby-Div4S8Zy.cjs +0 -1
  43. package/components/CasinoModal-BYPHyNGp.cjs +0 -1
  44. package/components/CasinoMostPlayedSection-DqIAwpb6.cjs +0 -1
  45. package/components/CasinoMyGames-BFpFNq0j.cjs +0 -1
  46. package/components/CasinoPage-DuifBwkY.cjs +0 -1
  47. package/components/CasinoRandomGame-BpdxwlFB.cjs +0 -2
  48. package/components/CasinoSearch-Btc8Ivnp.cjs +0 -1
  49. package/components/CasinoSlider-GXmtset2.cjs +0 -1
  50. package/components/CasinoSort-Bb3WIr_q.cjs +0 -1
  51. package/components/CasinoWinners-B4eUo0-6.cjs +0 -1
  52. package/components/GeneralAnimationLoading-CtmRY9AI.cjs +0 -1
  53. package/es2015/casino-lobby.cjs +0 -1
  54. package/es2015/casino-lobby.js +0 -16
  55. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  56. package/stencil/casino-play-random-game-CQe5iDJ8.cjs +0 -371
  57. package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
  58. package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
@@ -0,0 +1,315 @@
1
+ import { a as U, $ as q, S as V, i as G, f as g, c as J, s as K, b as Q, e as c, r as D, u as R, v as o, E as O, I as _, d as X, w as r, x as Y, B as W, D as A, j as Z, k as $, o as ee, m as te, n as H, F as ae } from "./CasinoCalendar-Ic3lq1UY.js";
2
+ function P(a, t) {
3
+ U(a, t);
4
+ }
5
+ function ne(a) {
6
+ q.set(a);
7
+ }
8
+ const N = {
9
+ en: {
10
+ error: "500 Error - Internal Server Error",
11
+ loading: "Loading ...",
12
+ monday: "Monday",
13
+ tuesday: "Tuesday",
14
+ wednesday: "Wednesday",
15
+ thursday: "Thursday",
16
+ friday: "Friday",
17
+ saturday: "Saturday",
18
+ sunday: "Sunday"
19
+ },
20
+ hr: {
21
+ error: "500 Error - Internal Server Error",
22
+ loading: "Loading ...",
23
+ monday: "ponedjeljak",
24
+ tuesday: "utorak",
25
+ wednesday: "srijeda",
26
+ thursday: "četvrtak",
27
+ friday: "petak",
28
+ saturday: "subota",
29
+ sunday: "nedjelja"
30
+ },
31
+ "pt-br": {
32
+ error: "500 Error - Internal Server Error",
33
+ loading: "Loading ...",
34
+ monday: "Monday",
35
+ tuesday: "Tuesday",
36
+ wednesday: "Wednesday",
37
+ thursday: "Thursday",
38
+ friday: "Friday",
39
+ saturday: "Saturday",
40
+ sunday: "Sunday"
41
+ },
42
+ "es-mx": {
43
+ error: "500 Error - Internal Server Error",
44
+ loading: "Loading ...",
45
+ monday: "Monday",
46
+ tuesday: "Tuesday",
47
+ wednesday: "Wednesday",
48
+ thursday: "Thursday",
49
+ friday: "Friday",
50
+ saturday: "Saturday",
51
+ sunday: "Sunday"
52
+ },
53
+ tr: {
54
+ error: "500 Error - Internal Server Error",
55
+ loading: "Loading ...",
56
+ monday: "Monday",
57
+ tuesday: "Tuesday",
58
+ wednesday: "Wednesday",
59
+ thursday: "Thursday",
60
+ friday: "Friday",
61
+ saturday: "Saturday",
62
+ sunday: "Sunday"
63
+ },
64
+ "en-us": {
65
+ error: "500 Error - Internal Server Error",
66
+ loading: "Loading ...",
67
+ monday: "Monday",
68
+ tuesday: "Tuesday",
69
+ wednesday: "Wednesday",
70
+ thursday: "Thursday",
71
+ friday: "Friday",
72
+ saturday: "Saturday",
73
+ sunday: "Sunday"
74
+ }
75
+ };
76
+ function ie(a) {
77
+ Q(a, "svelte-1jtwzs1", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Container{display:flex;overflow-x:unset;justify-content:space-between;position:relative;width:100%;border-radius:0 0 5px 5px}.Container::-webkit-scrollbar{display:none}.CalendarBar{width:100%;height:28px;background:rgba(156, 163, 175, 0.25);border-radius:4px 4px 0 0;border-bottom:3px solid rgba(156, 163, 175, 0.5);display:block;z-index:2}.CalendarBar::before{content:"";position:absolute;z-index:-1}.RingLeft::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;left:22px;position:absolute;z-index:1}.RingLeft::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px var(--emw--color-white, #FFFFFF);top:6px;right:20px;position:absolute;z-index:0}.RingRight::before{content:"";width:8px;height:24px;border-radius:20px;background:linear-gradient(#fff, #ccc);box-shadow:inset 0 -4px 6px rgba(0, 0, 0, 0.5);top:-8px;right:22px;position:absolute;z-index:1}.RingRight::after{content:"";float:left;top:15px;width:12px;height:12px;background:#111;border-radius:10px;box-shadow:0 1px 1px #fff;top:6px;left:20px;position:absolute;z-index:0}.CalendarPage{width:100%;min-width:170px;height:170px;padding:8px 8px 30px 8px;text-align:center;border-radius:0 0 2px 2px;color:var(--emw--color-white, #FFFFFF);position:relative;z-index:0}.CalendarPage.Tear{animation:tearoff 1.5s both;transform-origin:0 100%;box-shadow:-1px -1px 4px rgba(0, 0, 0, 0.4)}@keyframes tearoff{0%{top:0}40%{transform:rotate(4deg);top:10px;opacity:1}65%{opacity:1}90%{transform:rotate(4deg);top:20px;opacity:0}95%{transform:rotate(0deg);top:0px;opacity:0}100%{transform:rotate(0deg);top:0px;opacity:1}}.CalendarCard{margin:16px 0 12px;width:170px;height:240px;text-align:center;border-radius:5px;color:var(--emw--color-white, #FFFFFF);position:relative;display:block}.CasinoCalendarItems{width:100%}.CasinoCalendarItemBackground{display:flex;justify-content:flex-start;flex-direction:column;align-items:center;color:var(--emw--color-white, #FFFFFF);background:var(--emw--color-gray-300, #58586B);background-image:url("https://breakthrough.org/wp-content/uploads/2018/10/default-placeholder-image.png");background-position:center;background-size:cover;background-blend-mode:multiply;height:100%;width:100%;border-radius:0 0 5px 5px}.CasinoCalendarDailyIcon{height:20px;margin:15px}.CasinoCalendarDailyIcon img{max-height:28px}.CasinoCalendarDailyTitle{text-transform:capitalize;font-weight:600;font-size:16px}.CasinoCalendarDailyItemDescription{padding:15px;margin-bottom:20px;font-size:14px;height:90px;white-space:unset;overflow:hidden;text-overflow:ellipsis}.CasinoCalendarDailyItemButton{width:100%;text-align:center}.MoreInfoButton{display:flex;justify-content:center;width:100%;padding:8px 6px;border-radius:5px;border:none;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-color-contrast, #000000) 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, var(--emw--casino-thumbnail-animation-color, #FFFFFF) 30%));color:var(--emw--button-typography, #FFFFFF);font-size:var(--emw--font-size-small, 14px);border:2px solid var(--emw--button-border-color, #073B17);border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;transition:border 150ms ease-in-out}');
78
+ }
79
+ function re(a) {
80
+ let t, i, C, l, m, T, n, h, s, w, v, f, p = (
81
+ /*$_*/
82
+ a[8](`${/*dailyday*/
83
+ a[2]}`) + ""
84
+ ), b, y, k, B, S, F, z, I, E, L, j;
85
+ return {
86
+ c() {
87
+ t = c("div"), i = c("div"), C = c("div"), l = c("div"), m = c("div"), m.innerHTML = '<div class="RingLeft"></div> <div class="RingRight"></div>', T = D(), n = c("div"), h = c("div"), s = c("img"), v = D(), f = c("div"), b = R(p), y = D(), k = c("div"), B = D(), S = c("div"), F = c("button"), z = R(
88
+ /*dailybuttontitle*/
89
+ a[3]
90
+ ), o(m, "class", "CalendarBar"), O(s.src, w = /*dailyicon*/
91
+ a[1]) || o(s, "src", w), o(
92
+ s,
93
+ "alt",
94
+ /*dailyicon*/
95
+ a[1]
96
+ ), o(h, "class", "CasinoCalendarDailyIcon"), o(f, "class", "CasinoCalendarDailyTitle"), o(k, "class", "CasinoCalendarDailyItemDescription"), o(F, "class", "MoreInfoButton"), o(S, "class", "CasinoCalendarDailyItemButton"), o(n, "class", I = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
97
+ a[4] == "OpenCalendarModal" ? "Tear" : "")), _(n, "background-image", "url('" + /*dailybackground*/
98
+ a[0] + "')"), _(n, "background-size", "cover"), _(n, "background-position", "center"), _(n, "-webkit-background-size", "cover"), _(n, "-moz-background-size", "cover"), _(n, "-o-background-size", "cover"), o(l, "class", "CalendarCard"), o(C, "class", "CasinoCalendarItems"), o(i, "class", E = "Container " + /*mobileView*/
99
+ (a[7] ? "Mobile" : ""));
100
+ },
101
+ m(d, u) {
102
+ X(d, t, u), r(t, i), r(i, C), r(C, l), r(l, m), r(l, T), r(l, n), r(n, h), r(h, s), r(n, v), r(n, f), r(f, b), r(n, y), r(n, k), a[15](k), r(n, B), r(n, S), r(S, F), r(F, z), a[17](t), L || (j = Y(
103
+ F,
104
+ "click",
105
+ /*click_handler*/
106
+ a[16]
107
+ ), L = !0);
108
+ },
109
+ p(d, [u]) {
110
+ u & /*dailyicon*/
111
+ 2 && !O(s.src, w = /*dailyicon*/
112
+ d[1]) && o(s, "src", w), u & /*dailyicon*/
113
+ 2 && o(
114
+ s,
115
+ "alt",
116
+ /*dailyicon*/
117
+ d[1]
118
+ ), u & /*$_, dailyday*/
119
+ 260 && p !== (p = /*$_*/
120
+ d[8](`${/*dailyday*/
121
+ d[2]}`) + "") && W(b, p), u & /*dailybuttontitle*/
122
+ 8 && W(
123
+ z,
124
+ /*dailybuttontitle*/
125
+ d[3]
126
+ ), u & /*index*/
127
+ 16 && I !== (I = "CasinoCalendarItemBackground CalendarPage " + (/*index*/
128
+ d[4] == "OpenCalendarModal" ? "Tear" : "")) && o(n, "class", I), u & /*dailybackground*/
129
+ 1 && _(n, "background-image", "url('" + /*dailybackground*/
130
+ d[0] + "')"), u & /*mobileView*/
131
+ 128 && E !== (E = "Container " + /*mobileView*/
132
+ (d[7] ? "Mobile" : "")) && o(i, "class", E);
133
+ },
134
+ i: A,
135
+ o: A,
136
+ d(d) {
137
+ d && Z(t), a[15](null), a[17](null), L = !1, j();
138
+ }
139
+ };
140
+ }
141
+ function oe(a, t, i) {
142
+ let C;
143
+ $(a, ae, (e) => i(8, C = e));
144
+ let { lang: l = "" } = t, { dailybackground: m = "" } = t, { dailyicon: T = "" } = t, { dailyday: n = "" } = t, { dailydescription: h = "<p></p>" } = t, { dailybuttontitle: s = "" } = t, { index: w = "0" } = t, { clientstyling: v = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: p = "" } = t, b, y, k = !1, B = window.navigator.userAgent;
145
+ const S = () => {
146
+ ne(l);
147
+ };
148
+ Object.keys(N).forEach((e) => {
149
+ P(e, N[e]);
150
+ });
151
+ const F = () => {
152
+ let e = p;
153
+ if (e)
154
+ return fetch(e).then((x) => x.json()).then((x) => {
155
+ Object.keys(x).forEach((M) => {
156
+ P(M, x[M]);
157
+ });
158
+ }).catch((x) => {
159
+ console.log(x);
160
+ });
161
+ }, z = () => {
162
+ let e = document.createElement("div");
163
+ e.innerHTML = h, b && b.append(e);
164
+ }, I = () => {
165
+ window.postMessage({ type: "OpenCalendar", index: w }, window.location.href), typeof gtag == "function" && gtag("event", "MoreInfo", { context: "CalendarWidgetItem" });
166
+ }, E = () => {
167
+ let e = document.createElement("style");
168
+ e.innerHTML = v, y.appendChild(e);
169
+ }, L = () => {
170
+ let e = new URL(f), x = document.createElement("style");
171
+ fetch(e.href).then((M) => M.text()).then((M) => {
172
+ x.innerHTML = M, setTimeout(
173
+ () => {
174
+ y.appendChild(x);
175
+ },
176
+ 1
177
+ ), setTimeout(
178
+ () => {
179
+ },
180
+ 500
181
+ );
182
+ });
183
+ };
184
+ ee(() => {
185
+ te(B) && i(7, k = !0);
186
+ });
187
+ function j(e) {
188
+ H[e ? "unshift" : "push"](() => {
189
+ b = e, i(6, b);
190
+ });
191
+ }
192
+ const d = () => I();
193
+ function u(e) {
194
+ H[e ? "unshift" : "push"](() => {
195
+ y = e, i(5, y);
196
+ });
197
+ }
198
+ return a.$$set = (e) => {
199
+ "lang" in e && i(10, l = e.lang), "dailybackground" in e && i(0, m = e.dailybackground), "dailyicon" in e && i(1, T = e.dailyicon), "dailyday" in e && i(2, n = e.dailyday), "dailydescription" in e && i(11, h = e.dailydescription), "dailybuttontitle" in e && i(3, s = e.dailybuttontitle), "index" in e && i(4, w = e.index), "clientstyling" in e && i(12, v = e.clientstyling), "clientstylingurl" in e && i(13, f = e.clientstylingurl), "translationurl" in e && i(14, p = e.translationurl);
200
+ }, a.$$.update = () => {
201
+ a.$$.dirty & /*lang*/
202
+ 1024 && l && S(), a.$$.dirty & /*lang, translationurl*/
203
+ 17408 && l && p && F(), a.$$.dirty & /*dailyicon, dailyday, dailydescription, dailybuttontitle, dailybackground*/
204
+ 2063 && T && n && h && s && m && z(), a.$$.dirty & /*clientstyling, customStylingContainer*/
205
+ 4128 && v && y && E(), a.$$.dirty & /*clientstylingurl, customStylingContainer*/
206
+ 8224 && f && y && L();
207
+ }, [
208
+ m,
209
+ T,
210
+ n,
211
+ s,
212
+ w,
213
+ y,
214
+ b,
215
+ k,
216
+ C,
217
+ I,
218
+ l,
219
+ h,
220
+ v,
221
+ f,
222
+ p,
223
+ j,
224
+ d,
225
+ u
226
+ ];
227
+ }
228
+ class de extends V {
229
+ constructor(t) {
230
+ super(), G(
231
+ this,
232
+ t,
233
+ oe,
234
+ re,
235
+ K,
236
+ {
237
+ lang: 10,
238
+ dailybackground: 0,
239
+ dailyicon: 1,
240
+ dailyday: 2,
241
+ dailydescription: 11,
242
+ dailybuttontitle: 3,
243
+ index: 4,
244
+ clientstyling: 12,
245
+ clientstylingurl: 13,
246
+ translationurl: 14
247
+ },
248
+ ie
249
+ );
250
+ }
251
+ get lang() {
252
+ return this.$$.ctx[10];
253
+ }
254
+ set lang(t) {
255
+ this.$$set({ lang: t }), g();
256
+ }
257
+ get dailybackground() {
258
+ return this.$$.ctx[0];
259
+ }
260
+ set dailybackground(t) {
261
+ this.$$set({ dailybackground: t }), g();
262
+ }
263
+ get dailyicon() {
264
+ return this.$$.ctx[1];
265
+ }
266
+ set dailyicon(t) {
267
+ this.$$set({ dailyicon: t }), g();
268
+ }
269
+ get dailyday() {
270
+ return this.$$.ctx[2];
271
+ }
272
+ set dailyday(t) {
273
+ this.$$set({ dailyday: t }), g();
274
+ }
275
+ get dailydescription() {
276
+ return this.$$.ctx[11];
277
+ }
278
+ set dailydescription(t) {
279
+ this.$$set({ dailydescription: t }), g();
280
+ }
281
+ get dailybuttontitle() {
282
+ return this.$$.ctx[3];
283
+ }
284
+ set dailybuttontitle(t) {
285
+ this.$$set({ dailybuttontitle: t }), g();
286
+ }
287
+ get index() {
288
+ return this.$$.ctx[4];
289
+ }
290
+ set index(t) {
291
+ this.$$set({ index: t }), g();
292
+ }
293
+ get clientstyling() {
294
+ return this.$$.ctx[12];
295
+ }
296
+ set clientstyling(t) {
297
+ this.$$set({ clientstyling: t }), g();
298
+ }
299
+ get clientstylingurl() {
300
+ return this.$$.ctx[13];
301
+ }
302
+ set clientstylingurl(t) {
303
+ this.$$set({ clientstylingurl: t }), g();
304
+ }
305
+ get translationurl() {
306
+ return this.$$.ctx[14];
307
+ }
308
+ set translationurl(t) {
309
+ this.$$set({ translationurl: t }), g();
310
+ }
311
+ }
312
+ J(de, { lang: {}, dailybackground: {}, dailyicon: {}, dailyday: {}, dailydescription: {}, dailybuttontitle: {}, index: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
313
+ export {
314
+ de as default
315
+ };
@@ -1,4 +1,4 @@
1
- import { I as re, S as ce, i as me, f as c, c as ge, s as ue, b as ye, e as N, d as j, C as S, j as F, J as fe, o as de, K as be, L as he, m as Ne, M as o, u as E, v as we, N as Le, O as Me } from "./CasinoCalendar-0AyYaYr6.js";
1
+ import { a as re, S as ce, i as me, f as c, c as ge, s as ue, b as ye, e as N, d as j, D as S, j as F, k as fe, o as de, K as be, n as he, L as o, v as E, w as Ne, M as we, F as Le, N as Me } from "./CasinoCalendar-Ic3lq1UY.js";
2
2
  function W(i, e) {
3
3
  re(i, e);
4
4
  }
@@ -76,7 +76,7 @@ const X = {
76
76
  myGamesName: "My games"
77
77
  }
78
78
  };
79
- if (typeof window != "undefined") {
79
+ if (typeof window < "u") {
80
80
  let i = function(e) {
81
81
  return function(...t) {
82
82
  try {
@@ -88,7 +88,7 @@ if (typeof window != "undefined") {
88
88
  }
89
89
  };
90
90
  };
91
- customElements.define = i(customElements.define), import("./CasinoSlider-b2MX1hWZ.js").then(({ default: e }) => {
91
+ customElements.define = i(customElements.define), import("./CasinoSlider-BPqJIB5d.js").then(({ default: e }) => {
92
92
  !customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
93
93
  });
94
94
  }
@@ -114,7 +114,7 @@ function _e(i) {
114
114
  "endpoint",
115
115
  /*endpoint*/
116
116
  i[1]
117
- ), o(t, "identity", D), o(
117
+ ), o(t, "identity", A), o(
118
118
  t,
119
119
  "favoritesnumber",
120
120
  /*numberOfFavoredGames*/
@@ -167,7 +167,7 @@ function _e(i) {
167
167
  ), E(e, "class", "CasinoCategoriesContainer svelte-2g6deg"), E(e, "part", "CasinoCategoriesContainer");
168
168
  },
169
169
  m(a, n) {
170
- j(a, e, n), we(e, t), l || (r = Le(
170
+ j(a, e, n), Ne(e, t), l || (r = we(
171
171
  /*sendSliderData*/
172
172
  i[16].call(null, t)
173
173
  ), l = !0);
@@ -317,11 +317,11 @@ function ke(i) {
317
317
  }
318
318
  };
319
319
  }
320
- let D = "CasinoSliderData", Se = !1, Ee = !1;
320
+ let A = "CasinoSliderData", Se = !1, Ee = !1;
321
321
  function je(i, e, t) {
322
322
  let l;
323
- fe(i, Me, (s) => t(32, l = s));
324
- let { endpoint: r = "" } = e, { datasource: a = "" } = e, { lang: n = "" } = e, { userid: O = "" } = e, { session: w = "" } = e, { mostplayed: L = "" } = e, { lastplayed: M = "false" } = e, { favorites: C = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: I = "secondaryMenu" } = e, { showsubgroups: H = "false" } = e, { filteredcategories: G = "" } = e, { translationurl: k = "" } = e, { categoriesicon: B = "" } = e, { lobbyiconimage: Y = "" } = e, { mygamesiconimage: q = "" } = e, x, z, y = !0, b, h = [], f = !1, Z = window.navigator.userAgent, d, J, K = !1, T = !1;
323
+ fe(i, Le, (s) => t(32, l = s));
324
+ let { endpoint: r = "" } = e, { datasource: a = "" } = e, { lang: n = "" } = e, { userid: O = "" } = e, { session: w = "" } = e, { mostplayed: L = "" } = e, { lastplayed: M = "false" } = e, { favorites: C = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: H = "secondaryMenu" } = e, { showsubgroups: I = "false" } = e, { filteredcategories: G = "" } = e, { translationurl: k = "" } = e, { categoriesicon: B = "" } = e, { lobbyiconimage: Y = "" } = e, { mygamesiconimage: q = "" } = e, x, z, y = !0, b, h = [], f = !1, Z = window.navigator.userAgent, d, K, J = !1, T = !1;
325
325
  const p = () => {
326
326
  fetch(k).then((m) => m.json()).then((m) => {
327
327
  Object.keys(m).forEach((g) => {
@@ -335,24 +335,24 @@ function je(i, e, t) {
335
335
  W(s, X[s]);
336
336
  });
337
337
  const $ = () => {
338
- K == !1 && (C == "true" || L == "true" || M == "true") && h.splice(1, 0, {
338
+ J == !1 && (C == "true" || L == "true" || M == "true") && h.splice(1, 0, {
339
339
  // @ts-ignore
340
340
  id: "MYGAMES",
341
341
  name: x,
342
342
  href: "",
343
343
  games: []
344
- }), be(), K = !0, t(25, T = !0), P();
344
+ }), Me(), J = !0, t(25, T = !0), D();
345
345
  }, ee = () => (r || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(14, f = !0), t(12, y = !1), console.error(b)), a || (b = "Datasource is missing! Please provide a valid datasource.", t(14, f = !0), t(12, y = !1), console.error(b)), (!n || n.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(14, f = !0), t(12, y = !1), console.error(b)), f), te = () => {
346
346
  if (x = l("myGamesName"), z = l("lobbyName"), !ee()) {
347
347
  let s = new URL(`${r}/v1/casino/groups/${a}`);
348
- s.searchParams.append("datasource", a), s.searchParams.append("language", n), s.searchParams.append("platform", he(Z)), fetch(s).then((m) => m.json()).then(
348
+ s.searchParams.append("datasource", a), s.searchParams.append("language", n), s.searchParams.append("platform", be(Z)), fetch(s).then((m) => m.json()).then(
349
349
  (m) => {
350
350
  let g = G.split(","), oe = m.items.filter((V) => {
351
- let A = !1;
352
- if (V.games.total > 0 && (A = !0, G))
351
+ let P = !1;
352
+ if (V.games.total > 0 && (P = !0, G))
353
353
  for (let le of g)
354
- V.flags == le && (A = !1);
355
- return A;
354
+ V.flags == le && (P = !1);
355
+ return P;
356
356
  });
357
357
  h = [], h = h.concat(oe), h.unshift({
358
358
  // @ts-ignore
@@ -385,28 +385,28 @@ function je(i, e, t) {
385
385
  1
386
386
  );
387
387
  });
388
- }, P = () => {
388
+ }, D = () => {
389
389
  window.postMessage(
390
390
  {
391
391
  type: "SliderData",
392
- identity: D,
392
+ identity: A,
393
393
  data: h
394
394
  },
395
395
  window.location.href
396
396
  );
397
397
  }, Q = (s) => {
398
- s.data && s.data.type == "SliderLoaded" && D == s.data.identity && P();
398
+ s.data && s.data.type == "SliderLoaded" && A == s.data.identity && D();
399
399
  };
400
400
  de(() => (window.addEventListener("message", Q, !1), () => {
401
401
  window.removeEventListener("message", Q);
402
402
  }));
403
403
  function ne(s) {
404
- Ne[s ? "unshift" : "push"](() => {
404
+ he[s ? "unshift" : "push"](() => {
405
405
  d = s, t(13, d);
406
406
  });
407
407
  }
408
408
  return i.$$set = (s) => {
409
- "endpoint" in s && t(1, r = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, n = s.lang), "userid" in s && t(17, O = s.userid), "session" in s && t(18, w = s.session), "mostplayed" in s && t(19, L = s.mostplayed), "lastplayed" in s && t(20, M = s.lastplayed), "favorites" in s && t(21, C = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, R = s.actionevent), "sessioncheck" in s && t(22, U = s.sessioncheck), "location" in s && t(7, I = s.location), "showsubgroups" in s && t(8, H = s.showsubgroups), "filteredcategories" in s && t(23, G = s.filteredcategories), "translationurl" in s && t(24, k = s.translationurl), "categoriesicon" in s && t(9, B = s.categoriesicon), "lobbyiconimage" in s && t(10, Y = s.lobbyiconimage), "mygamesiconimage" in s && t(11, q = s.mygamesiconimage);
409
+ "endpoint" in s && t(1, r = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, n = s.lang), "userid" in s && t(17, O = s.userid), "session" in s && t(18, w = s.session), "mostplayed" in s && t(19, L = s.mostplayed), "lastplayed" in s && t(20, M = s.lastplayed), "favorites" in s && t(21, C = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, v = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, R = s.actionevent), "sessioncheck" in s && t(22, U = s.sessioncheck), "location" in s && t(7, H = s.location), "showsubgroups" in s && t(8, I = s.showsubgroups), "filteredcategories" in s && t(23, G = s.filteredcategories), "translationurl" in s && t(24, k = s.translationurl), "categoriesicon" in s && t(9, B = s.categoriesicon), "lobbyiconimage" in s && t(10, Y = s.lobbyiconimage), "mygamesiconimage" in s && t(11, q = s.mygamesiconimage);
410
410
  }, i.$$.update = () => {
411
411
  i.$$.dirty[0] & /*endpoint, datasource, lang*/
412
412
  14 && r && a && n && te(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
@@ -415,7 +415,7 @@ function je(i, e, t) {
415
415
  8208 && _ && d && ie(), i.$$.dirty[0] & /*translationurl*/
416
416
  16777216 && k && p(), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
417
417
  8224 && v && d && ae();
418
- }, t(15, J = 0), [
418
+ }, t(15, K = 0), [
419
419
  u,
420
420
  r,
421
421
  a,
@@ -423,16 +423,16 @@ function je(i, e, t) {
423
423
  _,
424
424
  v,
425
425
  R,
426
- I,
427
426
  H,
427
+ I,
428
428
  B,
429
429
  Y,
430
430
  q,
431
431
  y,
432
432
  d,
433
433
  f,
434
- J,
435
- P,
434
+ K,
435
+ D,
436
436
  O,
437
437
  w,
438
438
  L,