@everymatrix/casino-lobby 1.55.0 → 1.56.0

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 (110) hide show
  1. package/components/CasinoCalendar-CFPK0TM5.cjs +9 -0
  2. package/components/{CasinoCalendar-CRnGs6mI.js → CasinoCalendar-CSMUhfCr.js} +989 -989
  3. package/components/{CasinoCalendar-BKvw2GLN.js → CasinoCalendar-_T8fa3tA.js} +975 -975
  4. package/components/CasinoCalendarDailyDetails-CGRqVKFV.js +693 -0
  5. package/components/CasinoCalendarDailyDetails-DspcjY5l.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-DueCbaZn.js +693 -0
  7. package/components/CasinoCalendarDailyItem-DaSrAYwS.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-DpLOlYVI.js +306 -0
  9. package/components/CasinoCalendarDailyItem-DxYbPmky.js +306 -0
  10. package/components/{CasinoCategoriesSlider-C7hbpydX.js → CasinoCategoriesSlider-B7jmX0uM.js} +77 -77
  11. package/components/{CasinoCategoriesSlider-hJChLXnm.js → CasinoCategoriesSlider-DkmZ6uE9.js} +79 -79
  12. package/components/CasinoCategoriesSlider-Tm48k88y.cjs +1 -0
  13. package/components/{CasinoCollectionsProviders-CTvTqZY1.js → CasinoCollectionsProviders-CFJKyip5.js} +56 -56
  14. package/components/{CasinoCollectionsProviders-Cyc5HYpW.js → CasinoCollectionsProviders-XHUKRCjH.js} +54 -54
  15. package/components/CasinoCollectionsProviders-fHbyEo_l.cjs +1 -0
  16. package/components/{CasinoFavoritesSection-D4v8HNn9.js → CasinoFavoritesSection-BJKuORXc.js} +37 -36
  17. package/components/CasinoFavoritesSection-DAfQZFKH.cjs +1 -0
  18. package/components/{CasinoFavoritesSection-B4JlTRNa.js → CasinoFavoritesSection-ui8ebJSk.js} +37 -36
  19. package/components/CasinoFilter-BZrHKXm3.cjs +1 -0
  20. package/components/{CasinoFilter-CgPbbuBc.js → CasinoFilter-Cj6Ya1tA.js} +244 -245
  21. package/components/{CasinoFilter-ZQCeB5st.js → CasinoFilter-t6_A4K9e.js} +234 -233
  22. package/components/CasinoGamePage-BCpBojD8.cjs +18 -0
  23. package/components/{CasinoGamePage-DnFlR6PD.js → CasinoGamePage-DH-mxVYx.js} +750 -750
  24. package/components/{CasinoGamePage-lOejw_q6.js → CasinoGamePage-DQ1Yd_-1.js} +787 -787
  25. package/components/{CasinoGameThumbnail-h69vAUbV.js → CasinoGameThumbnail-B15M2LaO.js} +354 -370
  26. package/components/CasinoGameThumbnail-CHGG4fWS.cjs +38 -0
  27. package/components/{CasinoGameThumbnail-Aj4sPAss.js → CasinoGameThumbnail-CmtUwom1.js} +282 -266
  28. package/components/{CasinoGamesCategorySection-PiRBRWmh.js → CasinoGamesCategorySection-D9nxbG-c.js} +1084 -1120
  29. package/components/CasinoGamesCategorySection-Dw87pk8g.cjs +1 -0
  30. package/components/{CasinoGamesCategorySection-C9FCv7PW.js → CasinoGamesCategorySection-lpoHUMLN.js} +659 -695
  31. package/components/{CasinoJackpotBanner-BdzgC-lW.js → CasinoJackpotBanner-COZRcenh.js} +149 -147
  32. package/components/{CasinoJackpotBanner-Dx_3WwEw.js → CasinoJackpotBanner-DcwCa-Hp.js} +146 -144
  33. package/components/CasinoJackpotBanner-vFHgMV4j.cjs +1 -0
  34. package/components/CasinoLastPlayedSection-DUCFQv-7.cjs +1 -0
  35. package/components/{CasinoLastPlayedSection-r73sTCi9.js → CasinoLastPlayedSection-IZ9mars2.js} +56 -56
  36. package/components/{CasinoLastPlayedSection-BXGcYUad.js → CasinoLastPlayedSection-yetII3tl.js} +56 -56
  37. package/components/CasinoLobby-CZ0buhgH.cjs +1 -0
  38. package/components/{CasinoLobby-60oTKJCK.js → CasinoLobby-CoCRB4M8.js} +324 -305
  39. package/components/{CasinoLobby-DHl1_-VE.js → CasinoLobby-DOvk4Q1L.js} +320 -301
  40. package/components/CasinoModal-6keCUEEx.cjs +1 -0
  41. package/components/{CasinoModal-B7R5L0mw.js → CasinoModal-DDDhdR0c.js} +55 -55
  42. package/components/{CasinoModal-wz-kI5U1.js → CasinoModal-Dzu3FQyi.js} +55 -55
  43. package/components/CasinoMostPlayedSection-BNDdZOM6.cjs +1 -0
  44. package/components/{CasinoMostPlayedSection-CpO0b2PN.js → CasinoMostPlayedSection-CGqU9ZQv.js} +168 -159
  45. package/components/{CasinoMostPlayedSection-CxQrM8-U.js → CasinoMostPlayedSection-D0w6a_z2.js} +168 -159
  46. package/components/{CasinoMyGames-B0AvdkLy.js → CasinoMyGames-BKqlNnO1.js} +329 -296
  47. package/components/CasinoMyGames-CX5HKRLY.cjs +1 -0
  48. package/components/{CasinoMyGames-ieyBjArx.js → CasinoMyGames-Dy3IMfzN.js} +329 -296
  49. package/components/CasinoPage--1tMufa9.cjs +1 -0
  50. package/components/{CasinoPage-CcV-qeX_.js → CasinoPage-BnrghJel.js} +709 -646
  51. package/components/{CasinoPage-E4Nn1l0F.js → CasinoPage-DYcUhqdZ.js} +592 -529
  52. package/components/{CasinoRandomGame-D1gqYJkg.cjs → CasinoRandomGame-B1qCGSlR.cjs} +2 -2
  53. package/components/{CasinoRandomGame-BEOONr7N.js → CasinoRandomGame-Cup5oHY3.js} +67 -67
  54. package/components/{CasinoRandomGame-DoSJSKrA.js → CasinoRandomGame-Dq7oLh0O.js} +66 -66
  55. package/components/{CasinoSearch-3nC8pR7D.cjs → CasinoSearch-B1D8nnr0.cjs} +1 -1
  56. package/components/{CasinoSearch-BOSoxjjv.js → CasinoSearch-DlUwO5L4.js} +63 -63
  57. package/components/{CasinoSearch-DqfKG5Mj.js → CasinoSearch-jV0H_1Yg.js} +63 -63
  58. package/components/CasinoSlider-4pDZHG6x.cjs +1 -0
  59. package/components/{CasinoSlider-ylo7nRmY.js → CasinoSlider-ChnKJ8kH.js} +120 -120
  60. package/components/{CasinoSlider-DlBcdeDm.js → CasinoSlider-Ot2uFDD8.js} +103 -103
  61. package/components/CasinoSort-BnarJSWg.js +428 -0
  62. package/components/CasinoSort-DltZUpda.js +427 -0
  63. package/components/CasinoSort-jqMnIqLs.cjs +1 -0
  64. package/components/{CasinoWinners-CSDCICsh.js → CasinoWinners-BkJBCXPe.js} +157 -157
  65. package/components/{CasinoWinners-Br_rOUdI.cjs → CasinoWinners-Bs7Oh-m-.cjs} +1 -1
  66. package/components/{CasinoWinners-CeLmSRE4.js → CasinoWinners-CBgbYBfP.js} +159 -159
  67. package/components/GeneralAnimationLoading-BLss2VP4.cjs +1 -0
  68. package/components/GeneralAnimationLoading-BUY2TGQr.js +84 -0
  69. package/components/GeneralAnimationLoading-CRju5T01.js +84 -0
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/{casino-play-random-game-B5g4-G4Z.js → casino-play-random-game-CBXhEsCq.js} +55 -30
  75. package/stencil/{casino-play-random-game-Cphp76Jq.js → casino-play-random-game-PZXnDzfs.js} +74 -49
  76. package/stencil/{casino-play-random-game-CQe5iDJ8.cjs → casino-play-random-game-y8flXwPv.cjs} +2 -2
  77. package/stencil/index-29915e18-B3XYTzEC.cjs +1 -0
  78. package/stencil/index-29915e18-CQ_kWzEh.js +630 -0
  79. package/stencil/index-29915e18-MPiqo7vY.js +646 -0
  80. package/components/CasinoCalendar-P6bQ-mxN.cjs +0 -9
  81. package/components/CasinoCalendarDailyDetails-B-FOmYEZ.js +0 -701
  82. package/components/CasinoCalendarDailyDetails-DYTiZ7iE.js +0 -701
  83. package/components/CasinoCalendarDailyDetails-DicGOCGy.cjs +0 -1
  84. package/components/CasinoCalendarDailyItem-BsUUCx7a.js +0 -315
  85. package/components/CasinoCalendarDailyItem-DDm6oH8O.cjs +0 -1
  86. package/components/CasinoCalendarDailyItem-DIhsLlMC.js +0 -315
  87. package/components/CasinoCategoriesSlider-wt-dJlF9.cjs +0 -1
  88. package/components/CasinoCollectionsProviders-B0h7SupJ.cjs +0 -1
  89. package/components/CasinoFavoritesSection-CcyN5mtI.cjs +0 -1
  90. package/components/CasinoFilter-EA285UxQ.cjs +0 -1
  91. package/components/CasinoGamePage-D2VGIU0X.cjs +0 -18
  92. package/components/CasinoGameThumbnail-ClSBiG0I.cjs +0 -38
  93. package/components/CasinoGamesCategorySection-X0aDh13K.cjs +0 -1
  94. package/components/CasinoJackpotBanner-rV5P1O6d.cjs +0 -1
  95. package/components/CasinoLastPlayedSection-BP9oa18h.cjs +0 -1
  96. package/components/CasinoLobby-CB5KGhNa.cjs +0 -1
  97. package/components/CasinoModal-B7pt3Gcb.cjs +0 -1
  98. package/components/CasinoMostPlayedSection-CaHWOtw_.cjs +0 -1
  99. package/components/CasinoMyGames-R7NrCxgd.cjs +0 -1
  100. package/components/CasinoPage-azRHPGyF.cjs +0 -1
  101. package/components/CasinoSlider-Zgasc58K.cjs +0 -1
  102. package/components/CasinoSort-CVwRicsk.js +0 -427
  103. package/components/CasinoSort-D3rxrF3Z.cjs +0 -1
  104. package/components/CasinoSort-D9KTb90Q.js +0 -428
  105. package/components/GeneralAnimationLoading-BRBLoSEB.js +0 -75
  106. package/components/GeneralAnimationLoading-Bu4_iets.cjs +0 -1
  107. package/components/GeneralAnimationLoading-DoN4gYz0.js +0 -75
  108. package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
  109. package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
  110. package/stencil/index-eac6b960-Dvyvd5zP.js +0 -563
@@ -1,8 +1,8 @@
1
- import { a as le, S as ce, i as me, f as l, c as ge, s as ue, b as ye, e as h, d as j, D as S, j as F, k as fe, o as be, K as de, L as he, M as we, n as Ne, N as Le, O as Me, P as n, v as E, w as _e, Q as Ce, F as ve } from "./CasinoCalendar-BKvw2GLN.js";
2
- function x(i, e) {
3
- le(i, e);
1
+ import { a as re, S as le, i as ce, f as l, s as me, L as ge, b as ue, n as S, d as E, h as j, j as h, k as ye, o as fe, N as be, C as de, r as T, O as n, p as he, P as Ne, M as we, I as Le, J as Me, K as _e, Q as ve } from "./CasinoCalendar-_T8fa3tA.js";
2
+ function Z(i, e) {
3
+ re(i, e);
4
4
  }
5
- const p = {
5
+ const x = {
6
6
  en: {
7
7
  lobbyName: "Lobby",
8
8
  myGamesName: "My games"
@@ -88,14 +88,14 @@ if (typeof window < "u") {
88
88
  }
89
89
  };
90
90
  };
91
- customElements.define = i(customElements.define), import("./CasinoSlider-ylo7nRmY.js").then(({ default: e }) => {
91
+ customElements.define = i(customElements.define), import("./CasinoSlider-ChnKJ8kH.js").then(({ default: e }) => {
92
92
  !customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
93
93
  });
94
94
  }
95
- function Ge(i) {
96
- ye(i, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
95
+ function Ce(i) {
96
+ ue(i, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
97
97
  }
98
- function ke(i) {
98
+ function Ge(i) {
99
99
  let e, t, r, c;
100
100
  return {
101
101
  c() {
@@ -114,7 +114,7 @@ function ke(i) {
114
114
  "endpoint",
115
115
  /*endpoint*/
116
116
  i[1]
117
- ), n(t, "identity", T), n(
117
+ ), n(t, "identity", O), n(
118
118
  t,
119
119
  "favoritesnumber",
120
120
  /*numberOfFavoredGames*/
@@ -169,10 +169,10 @@ function ke(i) {
169
169
  "mygamesiconimage",
170
170
  /*mygamesiconimage*/
171
171
  i[11]
172
- ), E(e, "class", "CasinoCategoriesContainer svelte-2g6deg"), E(e, "part", "CasinoCategoriesContainer");
172
+ ), T(e, "class", "CasinoCategoriesContainer svelte-2g6deg");
173
173
  },
174
174
  m(a, o) {
175
- j(a, e, o), _e(e, t), r || (c = Ce(
175
+ j(a, e, o), he(e, t), r || (c = Ne(
176
176
  /*sendSliderData*/
177
177
  i[17].call(null, t)
178
178
  ), r = !0);
@@ -265,48 +265,48 @@ function ke(i) {
265
265
  );
266
266
  },
267
267
  d(a) {
268
- a && F(e), r = !1, c();
268
+ a && E(e), r = !1, c();
269
269
  }
270
270
  };
271
271
  }
272
- function Se(i) {
272
+ function ke(i) {
273
273
  let e;
274
274
  return {
275
275
  c() {
276
- e = h("p"), e.textContent = "500 Error - Internal Server Error.", E(e, "class", "SearchLoading svelte-2g6deg");
276
+ e = h("p"), e.textContent = "500 Error - Internal Server Error.", T(e, "class", "SearchLoading svelte-2g6deg");
277
277
  },
278
278
  m(t, r) {
279
279
  j(t, e, r);
280
280
  },
281
281
  p: S,
282
282
  d(t) {
283
- t && F(e);
283
+ t && E(e);
284
284
  }
285
285
  };
286
286
  }
287
- function Ee(i) {
287
+ function Se(i) {
288
288
  let e;
289
289
  return {
290
290
  c() {
291
- e = h("div"), E(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
291
+ e = h("div"), T(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
292
292
  },
293
293
  m(t, r) {
294
294
  j(t, e, r);
295
295
  },
296
296
  p: S,
297
297
  d(t) {
298
- t && F(e);
298
+ t && E(e);
299
299
  }
300
300
  };
301
301
  }
302
- function je(i) {
302
+ function Ee(i) {
303
303
  let e;
304
304
  function t(a, o) {
305
305
  return (
306
306
  /*isLoading*/
307
- a[13] || Fe || Pe ? Ee : (
307
+ a[13] || je || Pe ? Se : (
308
308
  /*hasErrors*/
309
- a[15] ? Se : ke
309
+ a[15] ? ke : Ge
310
310
  )
311
311
  );
312
312
  }
@@ -324,51 +324,51 @@ function je(i) {
324
324
  i: S,
325
325
  o: S,
326
326
  d(a) {
327
- a && F(e), c.d(), i[27](null);
327
+ a && E(e), c.d(), i[27](null);
328
328
  }
329
329
  };
330
330
  }
331
- let T = "CasinoSliderData", Fe = !1, Pe = !1;
332
- function De(i, e, t) {
331
+ let O = "CasinoSliderData", je = !1, Pe = !1;
332
+ function Fe(i, e, t) {
333
333
  let r;
334
- fe(i, ve, (s) => t(33, r = s));
335
- let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: R = "" } = e, { session: w = "" } = e, { mostplayed: N = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: C = "" } = e, { activecategory: u = "" } = e, { actionevent: U = "" } = e, { sessioncheck: B = "" } = e, { location: I = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: v = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, K, Q, J, y = !0, b, d = [], f = !1, $ = window.navigator.userAgent, g, V, W = !1, D = !1;
336
- const ee = () => {
334
+ ye(i, we, (s) => t(33, r = s));
335
+ let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: I = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, J, K, y = !0, b, d = [], f = !1, p = window.navigator.userAgent, g, Q, V = !1, F = !1;
336
+ const $ = () => {
337
337
  fetch(G).then((m) => m.json()).then((m) => {
338
338
  Object.keys(m).forEach((k) => {
339
- x(k, m[k]);
339
+ Z(k, m[k]);
340
340
  });
341
341
  }).catch((m) => {
342
342
  console.log(m);
343
343
  });
344
344
  };
345
- Object.keys(p).forEach((s) => {
346
- x(s, p[s]);
345
+ Object.keys(x).forEach((s) => {
346
+ Z(s, x[s]);
347
347
  });
348
- const te = () => {
349
- W == !1 && (M == "true" || N == "true" || L == "true") && d.splice(1, 0, {
348
+ const ee = () => {
349
+ V == !1 && (M == "true" || w == "true" || L == "true") && d.splice(1, 0, {
350
350
  // @ts-ignore
351
351
  id: "MYGAMES",
352
- name: Q,
352
+ name: J,
353
353
  href: "",
354
354
  games: []
355
- }), he(), W = !0, t(26, D = !0), A();
356
- }, se = () => (c || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), a || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!o || o.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(b)), f), ie = () => {
357
- if (Q = r("myGamesName"), J = r("lobbyName"), !se()) {
355
+ }), ve(), V = !0, t(26, F = !0), A();
356
+ }, te = () => (c || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), a || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!o || o.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(b)), f), se = () => {
357
+ if (J = r("myGamesName"), K = r("lobbyName"), !te()) {
358
358
  let s = new URL(`${c}/v1/casino/groups/${a}`);
359
- s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform", we($)), fetch(s).then((m) => m.json()).then(
359
+ s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform", be(p)), fetch(s).then((m) => m.json()).then(
360
360
  (m) => {
361
- let k = v.split(","), oe = m.items.filter((Z) => {
362
- let O = !1;
363
- if (Z.games.total > 0 && (O = !0, v))
364
- for (let re of k)
365
- Z.flags == re && (O = !1);
366
- return O;
361
+ let k = C.split(","), ne = m.items.filter((X) => {
362
+ let D = !1;
363
+ if (X.games.total > 0 && (D = !0, C))
364
+ for (let oe of k)
365
+ X.flags == oe && (D = !1);
366
+ return D;
367
367
  });
368
- d = [], d = d.concat(oe), d.unshift({
368
+ d = [], d = d.concat(ne), d.unshift({
369
369
  // @ts-ignore
370
370
  id: "LOBBY",
371
- name: J,
371
+ name: K,
372
372
  href: "",
373
373
  games: []
374
374
  }), t(13, y = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
@@ -380,49 +380,49 @@ function De(i, e, t) {
380
380
  t(15, f = !0), console.error("There was an error while fetching the categories", m);
381
381
  });
382
382
  }
383
- }, ae = () => {
383
+ }, ie = () => {
384
384
  let s = u.split("$");
385
385
  t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
386
386
  }, A = () => {
387
387
  window.postMessage(
388
388
  {
389
389
  type: "SliderData",
390
- identity: T,
390
+ identity: O,
391
391
  data: d
392
392
  },
393
393
  window.location.href
394
394
  );
395
- }, X = (s) => {
396
- s.data && s.data.type == "SliderLoaded" && T == s.data.identity && A();
395
+ }, W = (s) => {
396
+ s.data && s.data.type == "SliderLoaded" && O == s.data.identity && A();
397
397
  };
398
- be(() => (window.addEventListener("message", X, !1), () => {
399
- window.emMessageBus && K && K.unsubscribe(), window.removeEventListener("message", X);
398
+ fe(() => (window.addEventListener("message", W, !1), () => {
399
+ window.removeEventListener("message", W);
400
400
  }));
401
- function ne(s) {
402
- Ne[s ? "unshift" : "push"](() => {
401
+ function ae(s) {
402
+ de[s ? "unshift" : "push"](() => {
403
403
  g = s, t(14, g);
404
404
  });
405
405
  }
406
406
  return i.$$set = (s) => {
407
- "endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, R = s.userid), "session" in s && t(19, w = s.session), "mostplayed" in s && t(20, N = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, C = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, U = s.actionevent), "sessioncheck" in s && t(23, B = s.sessioncheck), "location" in s && t(7, I = s.location), "showsubgroups" in s && t(8, Y = s.showsubgroups), "filteredcategories" in s && t(24, v = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
407
+ "endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, I = s.userid), "session" in s && t(19, N = s.session), "mostplayed" in s && t(20, w = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = 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(23, U = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, Y = s.showsubgroups), "filteredcategories" in s && t(24, C = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
408
408
  }, i.$$.update = () => {
409
409
  i.$$.dirty[0] & /*endpoint, datasource, lang*/
410
- 14 && c && a && o && ie(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
411
- 7872514 && c && w && (N || L || M) && !y && te(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
412
- 67641345 && !y && u && (!w || D) && ae(), i.$$.dirty[0] & /*translationurl*/
413
- 33554432 && G && ee(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
410
+ 14 && c && a && o && se(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
411
+ 7872514 && c && N && (w || L || M) && !y && ee(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
412
+ 67641345 && !y && u && (!N || F) && ie(), i.$$.dirty[0] & /*translationurl*/
413
+ 33554432 && G && $(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
414
414
  16400 && _ && g && Le(g, _), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
415
- 16416 && C && g && de(g, C), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
416
- 20480 && g && Me(g, `${P}.Style`);
417
- }, t(16, V = 0), [
415
+ 16416 && v && g && Me(g, v), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
416
+ 20480 && g && _e(g, `${P}.Style`);
417
+ }, t(16, Q = 0), [
418
418
  u,
419
419
  c,
420
420
  a,
421
421
  o,
422
422
  _,
423
- C,
424
- U,
425
- I,
423
+ v,
424
+ R,
425
+ B,
426
426
  Y,
427
427
  q,
428
428
  z,
@@ -431,28 +431,28 @@ function De(i, e, t) {
431
431
  y,
432
432
  g,
433
433
  f,
434
- V,
434
+ Q,
435
435
  A,
436
- R,
437
- w,
436
+ I,
438
437
  N,
438
+ w,
439
439
  L,
440
440
  M,
441
- B,
442
- v,
441
+ U,
442
+ C,
443
443
  G,
444
- D,
445
- ne
444
+ F,
445
+ ae
446
446
  ];
447
447
  }
448
- class Ae extends ce {
448
+ class Ae extends le {
449
449
  constructor(e) {
450
- super(), me(
450
+ super(), ce(
451
451
  this,
452
452
  e,
453
- De,
454
- je,
455
- ue,
453
+ Fe,
454
+ Ee,
455
+ me,
456
456
  {
457
457
  endpoint: 1,
458
458
  datasource: 2,
@@ -476,7 +476,7 @@ class Ae extends ce {
476
476
  mygamesiconimage: 11,
477
477
  mbsource: 12
478
478
  },
479
- Ge,
479
+ Ce,
480
480
  [-1, -1]
481
481
  );
482
482
  }
@@ -1,8 +1,8 @@
1
- import { a as le, S as ce, i as me, f as l, c as ge, s as ue, b as ye, e as h, d as j, D as S, j as F, k as fe, o as be, K as de, L as he, M as we, n as Ne, N as Le, O as Me, P as n, v as E, w as _e, Q as Ce, F as ve } from "./CasinoCalendar-CRnGs6mI.js";
2
- function x(i, e) {
3
- le(i, e);
1
+ import { a as re, S as le, i as ce, s as me, f as l, b as ge, n as S, d as E, h as j, j as h, k as ue, o as ye, N as fe, C as be, r as T, O as n, p as de, P as he, I as Ne, J as we, K as Le, L as Me, Q as _e, M as ve } from "./CasinoCalendar-CSMUhfCr.js";
2
+ function Z(i, e) {
3
+ re(i, e);
4
4
  }
5
- const p = {
5
+ const x = {
6
6
  en: {
7
7
  lobbyName: "Lobby",
8
8
  myGamesName: "My games"
@@ -88,14 +88,14 @@ if (typeof window != "undefined") {
88
88
  }
89
89
  };
90
90
  };
91
- customElements.define = i(customElements.define), import("./CasinoSlider-DlBcdeDm.js").then(({ default: e }) => {
91
+ customElements.define = i(customElements.define), import("./CasinoSlider-Ot2uFDD8.js").then(({ default: e }) => {
92
92
  !customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
93
93
  });
94
94
  }
95
- function Ge(i) {
96
- ye(i, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
95
+ function Ce(i) {
96
+ ge(i, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
97
97
  }
98
- function ke(i) {
98
+ function Ge(i) {
99
99
  let e, t, r, c;
100
100
  return {
101
101
  c() {
@@ -114,7 +114,7 @@ function ke(i) {
114
114
  "endpoint",
115
115
  /*endpoint*/
116
116
  i[1]
117
- ), n(t, "identity", T), n(
117
+ ), n(t, "identity", O), n(
118
118
  t,
119
119
  "favoritesnumber",
120
120
  /*numberOfFavoredGames*/
@@ -169,10 +169,10 @@ function ke(i) {
169
169
  "mygamesiconimage",
170
170
  /*mygamesiconimage*/
171
171
  i[11]
172
- ), E(e, "class", "CasinoCategoriesContainer svelte-2g6deg"), E(e, "part", "CasinoCategoriesContainer");
172
+ ), T(e, "class", "CasinoCategoriesContainer svelte-2g6deg");
173
173
  },
174
174
  m(a, o) {
175
- j(a, e, o), _e(e, t), r || (c = Ce(
175
+ j(a, e, o), de(e, t), r || (c = he(
176
176
  /*sendSliderData*/
177
177
  i[17].call(null, t)
178
178
  ), r = !0);
@@ -265,48 +265,48 @@ function ke(i) {
265
265
  );
266
266
  },
267
267
  d(a) {
268
- a && F(e), r = !1, c();
268
+ a && E(e), r = !1, c();
269
269
  }
270
270
  };
271
271
  }
272
- function Se(i) {
272
+ function ke(i) {
273
273
  let e;
274
274
  return {
275
275
  c() {
276
- e = h("p"), e.textContent = "500 Error - Internal Server Error.", E(e, "class", "SearchLoading svelte-2g6deg");
276
+ e = h("p"), e.textContent = "500 Error - Internal Server Error.", T(e, "class", "SearchLoading svelte-2g6deg");
277
277
  },
278
278
  m(t, r) {
279
279
  j(t, e, r);
280
280
  },
281
281
  p: S,
282
282
  d(t) {
283
- t && F(e);
283
+ t && E(e);
284
284
  }
285
285
  };
286
286
  }
287
- function Ee(i) {
287
+ function Se(i) {
288
288
  let e;
289
289
  return {
290
290
  c() {
291
- e = h("div"), E(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
291
+ e = h("div"), T(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
292
292
  },
293
293
  m(t, r) {
294
294
  j(t, e, r);
295
295
  },
296
296
  p: S,
297
297
  d(t) {
298
- t && F(e);
298
+ t && E(e);
299
299
  }
300
300
  };
301
301
  }
302
- function je(i) {
302
+ function Ee(i) {
303
303
  let e;
304
304
  function t(a, o) {
305
305
  return (
306
306
  /*isLoading*/
307
- a[13] || Fe || Pe ? Ee : (
307
+ a[13] || je || Pe ? Se : (
308
308
  /*hasErrors*/
309
- a[15] ? Se : ke
309
+ a[15] ? ke : Ge
310
310
  )
311
311
  );
312
312
  }
@@ -324,51 +324,51 @@ function je(i) {
324
324
  i: S,
325
325
  o: S,
326
326
  d(a) {
327
- a && F(e), c.d(), i[27](null);
327
+ a && E(e), c.d(), i[27](null);
328
328
  }
329
329
  };
330
330
  }
331
- let T = "CasinoSliderData", Fe = !1, Pe = !1;
332
- function De(i, e, t) {
331
+ let O = "CasinoSliderData", je = !1, Pe = !1;
332
+ function Fe(i, e, t) {
333
333
  let r;
334
- fe(i, ve, (s) => t(33, r = s));
335
- let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: R = "" } = e, { session: w = "" } = e, { mostplayed: N = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: C = "" } = e, { activecategory: u = "" } = e, { actionevent: U = "" } = e, { sessioncheck: B = "" } = e, { location: I = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: v = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, K, Q, J, y = !0, b, d = [], f = !1, $ = window.navigator.userAgent, g, V, W = !1, D = !1;
336
- const ee = () => {
334
+ ue(i, ve, (s) => t(33, r = s));
335
+ let { endpoint: c = "" } = e, { datasource: a = "" } = e, { lang: o = "" } = e, { userid: I = "" } = e, { session: N = "" } = e, { mostplayed: w = "" } = e, { lastplayed: L = "false" } = e, { favorites: M = "" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: v = "" } = e, { activecategory: u = "" } = e, { actionevent: R = "" } = e, { sessioncheck: U = "" } = e, { location: B = "secondaryMenu" } = e, { showsubgroups: Y = "false" } = e, { filteredcategories: C = "" } = e, { translationurl: G = "" } = e, { categoriesicon: q = "" } = e, { lobbyiconimage: z = "" } = e, { mygamesiconimage: H = "" } = e, { mbsource: P } = e, J, K, y = !0, b, d = [], f = !1, p = window.navigator.userAgent, g, Q, V = !1, F = !1;
336
+ const $ = () => {
337
337
  fetch(G).then((m) => m.json()).then((m) => {
338
338
  Object.keys(m).forEach((k) => {
339
- x(k, m[k]);
339
+ Z(k, m[k]);
340
340
  });
341
341
  }).catch((m) => {
342
342
  console.log(m);
343
343
  });
344
344
  };
345
- Object.keys(p).forEach((s) => {
346
- x(s, p[s]);
345
+ Object.keys(x).forEach((s) => {
346
+ Z(s, x[s]);
347
347
  });
348
- const te = () => {
349
- W == !1 && (M == "true" || N == "true" || L == "true") && d.splice(1, 0, {
348
+ const ee = () => {
349
+ V == !1 && (M == "true" || w == "true" || L == "true") && d.splice(1, 0, {
350
350
  // @ts-ignore
351
351
  id: "MYGAMES",
352
- name: Q,
352
+ name: J,
353
353
  href: "",
354
354
  games: []
355
- }), he(), W = !0, t(26, D = !0), A();
356
- }, se = () => (c || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), a || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!o || o.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(b)), f), ie = () => {
357
- if (Q = r("myGamesName"), J = r("lobbyName"), !se()) {
355
+ }), _e(), V = !0, t(26, F = !0), A();
356
+ }, te = () => (c || (b = "Endpoint is missing! Please provide a valid endpointURL.", t(15, f = !0), t(13, y = !1), console.error(b)), a || (b = "Datasource is missing! Please provide a valid datasource.", t(15, f = !0), t(13, y = !1), console.error(b)), (!o || o.length < 2) && (b = "Language is missing! Please provide a valid language (alpha2code)", t(15, f = !0), t(13, y = !1), console.error(b)), f), se = () => {
357
+ if (J = r("myGamesName"), K = r("lobbyName"), !te()) {
358
358
  let s = new URL(`${c}/v1/casino/groups/${a}`);
359
- s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform", we($)), fetch(s).then((m) => m.json()).then(
359
+ s.searchParams.append("datasource", a), s.searchParams.append("language", o), s.searchParams.append("platform", fe(p)), fetch(s).then((m) => m.json()).then(
360
360
  (m) => {
361
- let k = v.split(","), oe = m.items.filter((Z) => {
362
- let O = !1;
363
- if (Z.games.total > 0 && (O = !0, v))
364
- for (let re of k)
365
- Z.flags == re && (O = !1);
366
- return O;
361
+ let k = C.split(","), ne = m.items.filter((X) => {
362
+ let D = !1;
363
+ if (X.games.total > 0 && (D = !0, C))
364
+ for (let oe of k)
365
+ X.flags == oe && (D = !1);
366
+ return D;
367
367
  });
368
- d = [], d = d.concat(oe), d.unshift({
368
+ d = [], d = d.concat(ne), d.unshift({
369
369
  // @ts-ignore
370
370
  id: "LOBBY",
371
- name: J,
371
+ name: K,
372
372
  href: "",
373
373
  games: []
374
374
  }), t(13, y = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
@@ -380,49 +380,49 @@ function De(i, e, t) {
380
380
  t(15, f = !0), console.error("There was an error while fetching the categories", m);
381
381
  });
382
382
  }
383
- }, ae = () => {
383
+ }, ie = () => {
384
384
  let s = u.split("$");
385
385
  t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
386
386
  }, A = () => {
387
387
  window.postMessage(
388
388
  {
389
389
  type: "SliderData",
390
- identity: T,
390
+ identity: O,
391
391
  data: d
392
392
  },
393
393
  window.location.href
394
394
  );
395
- }, X = (s) => {
396
- s.data && s.data.type == "SliderLoaded" && T == s.data.identity && A();
395
+ }, W = (s) => {
396
+ s.data && s.data.type == "SliderLoaded" && O == s.data.identity && A();
397
397
  };
398
- be(() => (window.addEventListener("message", X, !1), () => {
399
- window.emMessageBus && K && K.unsubscribe(), window.removeEventListener("message", X);
398
+ ye(() => (window.addEventListener("message", W, !1), () => {
399
+ window.removeEventListener("message", W);
400
400
  }));
401
- function ne(s) {
402
- Ne[s ? "unshift" : "push"](() => {
401
+ function ae(s) {
402
+ be[s ? "unshift" : "push"](() => {
403
403
  g = s, t(14, g);
404
404
  });
405
405
  }
406
406
  return i.$$set = (s) => {
407
- "endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, R = s.userid), "session" in s && t(19, w = s.session), "mostplayed" in s && t(20, N = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = s.favorites), "clientstyling" in s && t(4, _ = s.clientstyling), "clientstylingurl" in s && t(5, C = s.clientstylingurl), "activecategory" in s && t(0, u = s.activecategory), "actionevent" in s && t(6, U = s.actionevent), "sessioncheck" in s && t(23, B = s.sessioncheck), "location" in s && t(7, I = s.location), "showsubgroups" in s && t(8, Y = s.showsubgroups), "filteredcategories" in s && t(24, v = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
407
+ "endpoint" in s && t(1, c = s.endpoint), "datasource" in s && t(2, a = s.datasource), "lang" in s && t(3, o = s.lang), "userid" in s && t(18, I = s.userid), "session" in s && t(19, N = s.session), "mostplayed" in s && t(20, w = s.mostplayed), "lastplayed" in s && t(21, L = s.lastplayed), "favorites" in s && t(22, M = 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(23, U = s.sessioncheck), "location" in s && t(7, B = s.location), "showsubgroups" in s && t(8, Y = s.showsubgroups), "filteredcategories" in s && t(24, C = s.filteredcategories), "translationurl" in s && t(25, G = s.translationurl), "categoriesicon" in s && t(9, q = s.categoriesicon), "lobbyiconimage" in s && t(10, z = s.lobbyiconimage), "mygamesiconimage" in s && t(11, H = s.mygamesiconimage), "mbsource" in s && t(12, P = s.mbsource);
408
408
  }, i.$$.update = () => {
409
409
  i.$$.dirty[0] & /*endpoint, datasource, lang*/
410
- 14 && c && a && o && ie(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
411
- 7872514 && c && w && (N || L || M) && !y && te(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
412
- 67641345 && !y && u && (!w || D) && ae(), i.$$.dirty[0] & /*translationurl*/
413
- 33554432 && G && ee(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
414
- 16400 && _ && g && Le(g, _), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
415
- 16416 && C && g && de(g, C), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
416
- 20480 && g && Me(g, `${P}.Style`);
417
- }, t(16, V = 0), [
410
+ 14 && c && a && o && se(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
411
+ 7872514 && c && N && (w || L || M) && !y && ee(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
412
+ 67641345 && !y && u && (!N || F) && ie(), i.$$.dirty[0] & /*translationurl*/
413
+ 33554432 && G && $(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
414
+ 16400 && _ && g && Ne(g, _), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
415
+ 16416 && v && g && we(g, v), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
416
+ 20480 && g && Le(g, `${P}.Style`);
417
+ }, t(16, Q = 0), [
418
418
  u,
419
419
  c,
420
420
  a,
421
421
  o,
422
422
  _,
423
- C,
424
- U,
425
- I,
423
+ v,
424
+ R,
425
+ B,
426
426
  Y,
427
427
  q,
428
428
  z,
@@ -431,28 +431,28 @@ function De(i, e, t) {
431
431
  y,
432
432
  g,
433
433
  f,
434
- V,
434
+ Q,
435
435
  A,
436
- R,
437
- w,
436
+ I,
438
437
  N,
438
+ w,
439
439
  L,
440
440
  M,
441
- B,
442
- v,
441
+ U,
442
+ C,
443
443
  G,
444
- D,
445
- ne
444
+ F,
445
+ ae
446
446
  ];
447
447
  }
448
- class Ae extends ce {
448
+ class Ae extends le {
449
449
  constructor(e) {
450
- super(), me(
450
+ super(), ce(
451
451
  this,
452
452
  e,
453
- De,
454
- je,
455
- ue,
453
+ Fe,
454
+ Ee,
455
+ me,
456
456
  {
457
457
  endpoint: 1,
458
458
  datasource: 2,
@@ -476,7 +476,7 @@ class Ae extends ce {
476
476
  mygamesiconimage: 11,
477
477
  mbsource: 12
478
478
  },
479
- Ge,
479
+ Ce,
480
480
  [-1, -1]
481
481
  );
482
482
  }
@@ -607,7 +607,7 @@ class Ae extends ce {
607
607
  this.$$set({ mbsource: e }), l();
608
608
  }
609
609
  }
610
- ge(Ae, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
610
+ Me(Ae, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
611
611
  export {
612
612
  Ae as default
613
613
  };