@everymatrix/casino-lobby 1.54.11 → 1.55.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 (101) hide show
  1. package/components/{CasinoCalendar-CKCvu8d9.js → CasinoCalendar-BKvw2GLN.js} +1135 -1091
  2. package/components/{CasinoCalendar-D3cTwZsW.js → CasinoCalendar-CRnGs6mI.js} +953 -909
  3. package/components/CasinoCalendar-P6bQ-mxN.cjs +9 -0
  4. package/components/{CasinoCalendarDailyDetails-CCIR8eIp.js → CasinoCalendarDailyDetails-B-FOmYEZ.js} +45 -45
  5. package/components/{CasinoCalendarDailyDetails-B7hChP4v.js → CasinoCalendarDailyDetails-DYTiZ7iE.js} +45 -45
  6. package/components/{CasinoCalendarDailyDetails-C1T0xNcn.cjs → CasinoCalendarDailyDetails-DicGOCGy.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-1iPwEmjb.js → CasinoCalendarDailyItem-BsUUCx7a.js} +46 -46
  8. package/components/{CasinoCalendarDailyItem-Bp_PImhJ.cjs → CasinoCalendarDailyItem-DDm6oH8O.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-BNNa1Jdv.js → CasinoCalendarDailyItem-DIhsLlMC.js} +46 -46
  10. package/components/{CasinoCategoriesSlider-06Zx2Iq-.js → CasinoCategoriesSlider-C7hbpydX.js} +204 -197
  11. package/components/{CasinoCategoriesSlider-Bjd1r5S5.js → CasinoCategoriesSlider-hJChLXnm.js} +205 -198
  12. package/components/CasinoCategoriesSlider-wt-dJlF9.cjs +1 -0
  13. package/components/CasinoCollectionsProviders-B0h7SupJ.cjs +1 -0
  14. package/components/{CasinoCollectionsProviders-BQPjVzK8.js → CasinoCollectionsProviders-CTvTqZY1.js} +273 -278
  15. package/components/{CasinoCollectionsProviders-CVDFBiI0.js → CasinoCollectionsProviders-Cyc5HYpW.js} +260 -265
  16. package/components/{CasinoFavoritesSection-BwdERTZb.js → CasinoFavoritesSection-B4JlTRNa.js} +139 -133
  17. package/components/CasinoFavoritesSection-CcyN5mtI.cjs +1 -0
  18. package/components/{CasinoFavoritesSection-gMRxUIMi.js → CasinoFavoritesSection-D4v8HNn9.js} +139 -133
  19. package/components/{CasinoFilter-CT6gjm3V.js → CasinoFilter-CgPbbuBc.js} +178 -184
  20. package/components/{CasinoFilter-C10Tgn3c.cjs → CasinoFilter-EA285UxQ.cjs} +1 -1
  21. package/components/{CasinoFilter-ckjDwsuD.js → CasinoFilter-ZQCeB5st.js} +175 -181
  22. package/components/{CasinoGamePage-CbP_7_PQ.cjs → CasinoGamePage-D2VGIU0X.cjs} +6 -6
  23. package/components/{CasinoGamePage-CG1vsycM.js → CasinoGamePage-DnFlR6PD.js} +1045 -1051
  24. package/components/{CasinoGamePage-BPRW6RjY.js → CasinoGamePage-lOejw_q6.js} +1019 -1025
  25. package/components/{CasinoGameThumbnail-Df_azhvx.js → CasinoGameThumbnail-Aj4sPAss.js} +403 -424
  26. package/components/{CasinoGameThumbnail-vXsL4BCy.cjs → CasinoGameThumbnail-ClSBiG0I.cjs} +13 -13
  27. package/components/{CasinoGameThumbnail-0781Z_CK.js → CasinoGameThumbnail-h69vAUbV.js} +523 -512
  28. package/components/{CasinoGamesCategorySection-DF00rAx9.js → CasinoGamesCategorySection-C9FCv7PW.js} +736 -674
  29. package/components/{CasinoGamesCategorySection-yYd08sVK.js → CasinoGamesCategorySection-PiRBRWmh.js} +1168 -1106
  30. package/components/CasinoGamesCategorySection-X0aDh13K.cjs +1 -0
  31. package/components/CasinoJackpotBanner-BdzgC-lW.js +690 -0
  32. package/components/CasinoJackpotBanner-Dx_3WwEw.js +686 -0
  33. package/components/CasinoJackpotBanner-rV5P1O6d.cjs +1 -0
  34. package/components/CasinoLastPlayedSection-BP9oa18h.cjs +1 -0
  35. package/components/{CasinoLastPlayedSection-w8zOVM9X.js → CasinoLastPlayedSection-BXGcYUad.js} +148 -139
  36. package/components/{CasinoLastPlayedSection-BfV-LbIj.js → CasinoLastPlayedSection-r73sTCi9.js} +148 -139
  37. package/components/{CasinoLobby-DdHDWF7K.js → CasinoLobby-60oTKJCK.js} +555 -525
  38. package/components/CasinoLobby-CB5KGhNa.cjs +1 -0
  39. package/components/{CasinoLobby-BW9aCXLG.js → CasinoLobby-DHl1_-VE.js} +555 -525
  40. package/components/CasinoModal-B7R5L0mw.js +368 -0
  41. package/components/CasinoModal-B7pt3Gcb.cjs +1 -0
  42. package/components/CasinoModal-wz-kI5U1.js +368 -0
  43. package/components/{CasinoMostPlayedSection-C98oA8O7.cjs → CasinoMostPlayedSection-CaHWOtw_.cjs} +1 -1
  44. package/components/{CasinoMostPlayedSection-CGdqfFFk.js → CasinoMostPlayedSection-CpO0b2PN.js} +34 -34
  45. package/components/{CasinoMostPlayedSection-KHPtPjRC.js → CasinoMostPlayedSection-CxQrM8-U.js} +34 -34
  46. package/components/{CasinoMyGames-UYSc9Inu.js → CasinoMyGames-B0AvdkLy.js} +124 -128
  47. package/components/{CasinoMyGames-9-nh8GWP.cjs → CasinoMyGames-R7NrCxgd.cjs} +1 -1
  48. package/components/{CasinoMyGames-BoiJpm4z.js → CasinoMyGames-ieyBjArx.js} +139 -141
  49. package/components/{CasinoPage-qAL3jMh2.js → CasinoPage-CcV-qeX_.js} +903 -805
  50. package/components/{CasinoPage-BiY0180U.js → CasinoPage-E4Nn1l0F.js} +573 -481
  51. package/components/CasinoPage-azRHPGyF.cjs +1 -0
  52. package/components/{CasinoRandomGame-Df62wtxc.js → CasinoRandomGame-BEOONr7N.js} +244 -246
  53. package/components/{CasinoRandomGame-C6-dDxie.cjs → CasinoRandomGame-D1gqYJkg.cjs} +2 -2
  54. package/components/{CasinoRandomGame-DXFHIw0O.js → CasinoRandomGame-DoSJSKrA.js} +225 -227
  55. package/components/CasinoSearch-3nC8pR7D.cjs +1 -0
  56. package/components/{CasinoSearch-DOczB-K5.js → CasinoSearch-BOSoxjjv.js} +394 -387
  57. package/components/{CasinoSearch-CslIZjzw.js → CasinoSearch-DqfKG5Mj.js} +443 -436
  58. package/components/{CasinoSlider-BjpV4pLV.js → CasinoSlider-DlBcdeDm.js} +294 -297
  59. package/components/{CasinoSlider-BDjskQjI.cjs → CasinoSlider-Zgasc58K.cjs} +1 -1
  60. package/components/{CasinoSlider-BWEc4YT5.js → CasinoSlider-ylo7nRmY.js} +317 -320
  61. package/components/CasinoSort-CVwRicsk.js +427 -0
  62. package/components/CasinoSort-D3rxrF3Z.cjs +1 -0
  63. package/components/CasinoSort-D9KTb90Q.js +428 -0
  64. package/components/CasinoWinners-Br_rOUdI.cjs +1 -0
  65. package/components/{CasinoWinners-6mr0X-kZ.js → CasinoWinners-CSDCICsh.js} +355 -352
  66. package/components/{CasinoWinners-CADOvOsd.js → CasinoWinners-CeLmSRE4.js} +338 -335
  67. package/components/{GeneralAnimationLoading-CX9baArf.js → GeneralAnimationLoading-BRBLoSEB.js} +8 -8
  68. package/components/{GeneralAnimationLoading-BG_QynCK.cjs → GeneralAnimationLoading-Bu4_iets.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-DVLCsjn0.js → GeneralAnimationLoading-DoN4gYz0.js} +8 -8
  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-NI77_BKB.js → casino-play-random-game-B5g4-G4Z.js} +3 -3
  75. package/stencil/{casino-play-random-game-DEBmcc-I.cjs → casino-play-random-game-CQe5iDJ8.cjs} +2 -2
  76. package/stencil/{casino-play-random-game-BxdfOAZj.js → casino-play-random-game-Cphp76Jq.js} +3 -3
  77. package/stencil/index-eac6b960-BaE9i06M.cjs +1 -0
  78. package/stencil/index-eac6b960-DXIu1GM6.js +579 -0
  79. package/stencil/index-eac6b960-Dvyvd5zP.js +563 -0
  80. package/components/CasinoCalendar-BlfnJwZ-.cjs +0 -9
  81. package/components/CasinoCategoriesSlider-DVgkuNtk.cjs +0 -1
  82. package/components/CasinoCollectionsProviders-CSISd5u6.cjs +0 -1
  83. package/components/CasinoFavoritesSection-DcLVpINE.cjs +0 -1
  84. package/components/CasinoGamesCategorySection-C1-Tejye.cjs +0 -1
  85. package/components/CasinoJackpotBanner-D3s92J-3.js +0 -614
  86. package/components/CasinoJackpotBanner-q02RPv4N.js +0 -618
  87. package/components/CasinoJackpotBanner-uWVFzOiI.cjs +0 -1
  88. package/components/CasinoLastPlayedSection-emN1r4Gd.cjs +0 -1
  89. package/components/CasinoLobby-B_rjtvgs.cjs +0 -1
  90. package/components/CasinoModal-C1oW3YF4.js +0 -372
  91. package/components/CasinoModal-DRtZi6gR.cjs +0 -1
  92. package/components/CasinoModal-IbVlgg7Z.js +0 -372
  93. package/components/CasinoPage-7rPVpOym.cjs +0 -1
  94. package/components/CasinoSearch-BgPbWb_t.cjs +0 -1
  95. package/components/CasinoSort-CS53Uvnz.cjs +0 -1
  96. package/components/CasinoSort-DFdgT3Dt.js +0 -432
  97. package/components/CasinoSort-DFljh5Sg.js +0 -431
  98. package/components/CasinoWinners-DU3xFq2b.cjs +0 -1
  99. package/stencil/index-8b2c4ca7-BNDGCsVn.js +0 -629
  100. package/stencil/index-8b2c4ca7-CtUqBgXG.js +0 -645
  101. package/stencil/index-8b2c4ca7-DAQdcMA3.cjs +0 -1
@@ -1,8 +1,8 @@
1
- import { a as re, S as ce, i as me, f as c, s as ge, I as ue, b as ye, n as S, d as j, h as F, j as N, k as fe, o as de, K as be, C as he, r as E, L as o, p as Ne, M as we, J as Le, N as Me } from "./CasinoCalendar-CKCvu8d9.js";
2
- function W(i, e) {
3
- re(i, e);
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);
4
4
  }
5
- const X = {
5
+ const p = {
6
6
  en: {
7
7
  lobbyName: "Lobby",
8
8
  myGamesName: "My games"
@@ -81,172 +81,183 @@ if (typeof window < "u") {
81
81
  return function(...t) {
82
82
  try {
83
83
  return e.apply(this, t);
84
- } catch (l) {
85
- if (l instanceof DOMException && l.message.includes("has already been used with this registry") || l.message.includes("Cannot define multiple custom elements with the same tag name"))
84
+ } catch (r) {
85
+ if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
86
86
  return !1;
87
- throw l;
87
+ throw r;
88
88
  }
89
89
  };
90
90
  };
91
- customElements.define = i(customElements.define), import("./CasinoSlider-BWEc4YT5.js").then(({ default: e }) => {
91
+ customElements.define = i(customElements.define), import("./CasinoSlider-ylo7nRmY.js").then(({ default: e }) => {
92
92
  !customElements.get("casino-slider") && customElements.define("casino-slider", e.element);
93
93
  });
94
94
  }
95
- function Ce(i) {
95
+ function Ge(i) {
96
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))}");
97
97
  }
98
- function _e(i) {
99
- let e, t, l, r;
98
+ function ke(i) {
99
+ let e, t, r, c;
100
100
  return {
101
101
  c() {
102
- e = N("div"), t = N("casino-slider"), o(
102
+ e = h("div"), t = h("casino-slider"), n(
103
103
  t,
104
104
  "lang",
105
105
  /*lang*/
106
106
  i[3]
107
- ), o(
107
+ ), n(
108
108
  t,
109
109
  "datasource",
110
110
  /*datasource*/
111
111
  i[2]
112
- ), o(
112
+ ), n(
113
113
  t,
114
114
  "endpoint",
115
115
  /*endpoint*/
116
116
  i[1]
117
- ), o(t, "identity", D), o(
117
+ ), n(t, "identity", T), n(
118
118
  t,
119
119
  "favoritesnumber",
120
120
  /*numberOfFavoredGames*/
121
- i[15]
122
- ), o(
121
+ i[16]
122
+ ), n(
123
123
  t,
124
124
  "showsubgroups",
125
125
  /*showsubgroups*/
126
126
  i[8]
127
- ), o(
127
+ ), n(
128
128
  t,
129
129
  "clientstyling",
130
130
  /*clientstyling*/
131
131
  i[4]
132
- ), o(
132
+ ), n(
133
133
  t,
134
134
  "clientstylingurl",
135
135
  /*clientstylingurl*/
136
136
  i[5]
137
- ), o(
137
+ ), n(
138
+ t,
139
+ "mbsource",
140
+ /*mbsource*/
141
+ i[12]
142
+ ), n(
138
143
  t,
139
144
  "activeindex",
140
145
  /*activecategory*/
141
146
  i[0]
142
- ), o(
147
+ ), n(
143
148
  t,
144
149
  "actionevent",
145
150
  /*actionevent*/
146
151
  i[6]
147
- ), o(
152
+ ), n(
148
153
  t,
149
154
  "location",
150
155
  /*location*/
151
156
  i[7]
152
- ), o(
157
+ ), n(
153
158
  t,
154
159
  "categoriesicon",
155
160
  /*categoriesicon*/
156
161
  i[9]
157
- ), o(
162
+ ), n(
158
163
  t,
159
164
  "lobbyiconimage",
160
165
  /*lobbyiconimage*/
161
166
  i[10]
162
- ), o(
167
+ ), n(
163
168
  t,
164
169
  "mygamesiconimage",
165
170
  /*mygamesiconimage*/
166
171
  i[11]
167
172
  ), E(e, "class", "CasinoCategoriesContainer svelte-2g6deg"), E(e, "part", "CasinoCategoriesContainer");
168
173
  },
169
- m(a, n) {
170
- F(a, e, n), Ne(e, t), l || (r = we(
174
+ m(a, o) {
175
+ j(a, e, o), _e(e, t), r || (c = Ce(
171
176
  /*sendSliderData*/
172
- i[16].call(null, t)
173
- ), l = !0);
177
+ i[17].call(null, t)
178
+ ), r = !0);
174
179
  },
175
- p(a, n) {
176
- n[0] & /*lang*/
177
- 8 && o(
180
+ p(a, o) {
181
+ o[0] & /*lang*/
182
+ 8 && n(
178
183
  t,
179
184
  "lang",
180
185
  /*lang*/
181
186
  a[3]
182
- ), n[0] & /*datasource*/
183
- 4 && o(
187
+ ), o[0] & /*datasource*/
188
+ 4 && n(
184
189
  t,
185
190
  "datasource",
186
191
  /*datasource*/
187
192
  a[2]
188
- ), n[0] & /*endpoint*/
189
- 2 && o(
193
+ ), o[0] & /*endpoint*/
194
+ 2 && n(
190
195
  t,
191
196
  "endpoint",
192
197
  /*endpoint*/
193
198
  a[1]
194
- ), n[0] & /*numberOfFavoredGames*/
195
- 32768 && o(
199
+ ), o[0] & /*numberOfFavoredGames*/
200
+ 65536 && n(
196
201
  t,
197
202
  "favoritesnumber",
198
203
  /*numberOfFavoredGames*/
199
- a[15]
200
- ), n[0] & /*showsubgroups*/
201
- 256 && o(
204
+ a[16]
205
+ ), o[0] & /*showsubgroups*/
206
+ 256 && n(
202
207
  t,
203
208
  "showsubgroups",
204
209
  /*showsubgroups*/
205
210
  a[8]
206
- ), n[0] & /*clientstyling*/
207
- 16 && o(
211
+ ), o[0] & /*clientstyling*/
212
+ 16 && n(
208
213
  t,
209
214
  "clientstyling",
210
215
  /*clientstyling*/
211
216
  a[4]
212
- ), n[0] & /*clientstylingurl*/
213
- 32 && o(
217
+ ), o[0] & /*clientstylingurl*/
218
+ 32 && n(
214
219
  t,
215
220
  "clientstylingurl",
216
221
  /*clientstylingurl*/
217
222
  a[5]
218
- ), n[0] & /*activecategory*/
219
- 1 && o(
223
+ ), o[0] & /*mbsource*/
224
+ 4096 && n(
225
+ t,
226
+ "mbsource",
227
+ /*mbsource*/
228
+ a[12]
229
+ ), o[0] & /*activecategory*/
230
+ 1 && n(
220
231
  t,
221
232
  "activeindex",
222
233
  /*activecategory*/
223
234
  a[0]
224
- ), n[0] & /*actionevent*/
225
- 64 && o(
235
+ ), o[0] & /*actionevent*/
236
+ 64 && n(
226
237
  t,
227
238
  "actionevent",
228
239
  /*actionevent*/
229
240
  a[6]
230
- ), n[0] & /*location*/
231
- 128 && o(
241
+ ), o[0] & /*location*/
242
+ 128 && n(
232
243
  t,
233
244
  "location",
234
245
  /*location*/
235
246
  a[7]
236
- ), n[0] & /*categoriesicon*/
237
- 512 && o(
247
+ ), o[0] & /*categoriesicon*/
248
+ 512 && n(
238
249
  t,
239
250
  "categoriesicon",
240
251
  /*categoriesicon*/
241
252
  a[9]
242
- ), n[0] & /*lobbyiconimage*/
243
- 1024 && o(
253
+ ), o[0] & /*lobbyiconimage*/
254
+ 1024 && n(
244
255
  t,
245
256
  "lobbyiconimage",
246
257
  /*lobbyiconimage*/
247
258
  a[10]
248
- ), n[0] & /*mygamesiconimage*/
249
- 2048 && o(
259
+ ), o[0] & /*mygamesiconimage*/
260
+ 2048 && n(
250
261
  t,
251
262
  "mygamesiconimage",
252
263
  /*mygamesiconimage*/
@@ -254,228 +265,218 @@ function _e(i) {
254
265
  );
255
266
  },
256
267
  d(a) {
257
- a && j(e), l = !1, r();
268
+ a && F(e), r = !1, c();
258
269
  }
259
270
  };
260
271
  }
261
- function ve(i) {
272
+ function Se(i) {
262
273
  let e;
263
274
  return {
264
275
  c() {
265
- e = N("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.", E(e, "class", "SearchLoading svelte-2g6deg");
266
277
  },
267
- m(t, l) {
268
- F(t, e, l);
278
+ m(t, r) {
279
+ j(t, e, r);
269
280
  },
270
281
  p: S,
271
282
  d(t) {
272
- t && j(e);
283
+ t && F(e);
273
284
  }
274
285
  };
275
286
  }
276
- function Ge(i) {
287
+ function Ee(i) {
277
288
  let e;
278
289
  return {
279
290
  c() {
280
- e = N("div"), E(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
291
+ e = h("div"), E(e, "class", "CasinoCategoriesLoading svelte-2g6deg");
281
292
  },
282
- m(t, l) {
283
- F(t, e, l);
293
+ m(t, r) {
294
+ j(t, e, r);
284
295
  },
285
296
  p: S,
286
297
  d(t) {
287
- t && j(e);
298
+ t && F(e);
288
299
  }
289
300
  };
290
301
  }
291
- function ke(i) {
302
+ function je(i) {
292
303
  let e;
293
- function t(a, n) {
304
+ function t(a, o) {
294
305
  return (
295
306
  /*isLoading*/
296
- a[12] || Se || Ee ? Ge : (
307
+ a[13] || Fe || Pe ? Ee : (
297
308
  /*hasErrors*/
298
- a[14] ? ve : _e
309
+ a[15] ? Se : ke
299
310
  )
300
311
  );
301
312
  }
302
- let l = t(i), r = l(i);
313
+ let r = t(i), c = r(i);
303
314
  return {
304
315
  c() {
305
- e = N("div"), r.c();
316
+ e = h("div"), c.c();
306
317
  },
307
- m(a, n) {
308
- F(a, e, n), r.m(e, null), i[26](e);
318
+ m(a, o) {
319
+ j(a, e, o), c.m(e, null), i[27](e);
309
320
  },
310
- p(a, n) {
311
- l === (l = t(a)) && r ? r.p(a, n) : (r.d(1), r = l(a), r && (r.c(), r.m(e, null)));
321
+ p(a, o) {
322
+ r === (r = t(a)) && c ? c.p(a, o) : (c.d(1), c = r(a), c && (c.c(), c.m(e, null)));
312
323
  },
313
324
  i: S,
314
325
  o: S,
315
326
  d(a) {
316
- a && j(e), r.d(), i[26](null);
327
+ a && F(e), c.d(), i[27](null);
317
328
  }
318
329
  };
319
330
  }
320
- let D = "CasinoSliderData", Se = !1, Ee = !1;
321
- function je(i, e, t) {
322
- let l;
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: 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;
325
- const p = () => {
326
- fetch(k).then((m) => m.json()).then((m) => {
327
- Object.keys(m).forEach((g) => {
328
- W(g, m[g]);
331
+ let T = "CasinoSliderData", Fe = !1, Pe = !1;
332
+ function De(i, e, t) {
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 = () => {
337
+ fetch(G).then((m) => m.json()).then((m) => {
338
+ Object.keys(m).forEach((k) => {
339
+ x(k, m[k]);
329
340
  });
330
341
  }).catch((m) => {
331
342
  console.log(m);
332
343
  });
333
344
  };
334
- Object.keys(X).forEach((s) => {
335
- W(s, X[s]);
345
+ Object.keys(p).forEach((s) => {
346
+ x(s, p[s]);
336
347
  });
337
- const $ = () => {
338
- K == !1 && (C == "true" || L == "true" || M == "true") && h.splice(1, 0, {
348
+ const te = () => {
349
+ W == !1 && (M == "true" || N == "true" || L == "true") && d.splice(1, 0, {
339
350
  // @ts-ignore
340
351
  id: "MYGAMES",
341
- name: x,
352
+ name: Q,
342
353
  href: "",
343
354
  games: []
344
- }), Me(), K = !0, t(25, T = !0), P();
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
- if (x = l("myGamesName"), z = l("lobbyName"), !ee()) {
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", be(Z)), fetch(s).then((m) => m.json()).then(
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()) {
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(
349
360
  (m) => {
350
- let g = G.split(","), oe = m.items.filter((V) => {
351
- let A = !1;
352
- if (V.games.total > 0 && (A = !0, G))
353
- for (let le of g)
354
- V.flags == le && (A = !1);
355
- return A;
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;
356
367
  });
357
- h = [], h = h.concat(oe), h.unshift({
368
+ d = [], d = d.concat(oe), d.unshift({
358
369
  // @ts-ignore
359
370
  id: "LOBBY",
360
- name: z,
371
+ name: J,
361
372
  href: "",
362
373
  games: []
363
- }), t(12, y = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
374
+ }), t(13, y = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
364
375
  },
365
376
  (m) => {
366
- t(14, f = !0), console.error("There was an error while fetching the categories", m);
377
+ t(15, f = !0), console.error("There was an error while fetching the categories", m);
367
378
  }
368
379
  ).catch((m) => {
369
- t(14, f = !0), console.error("There was an error while fetching the categories", m);
380
+ t(15, f = !0), console.error("There was an error while fetching the categories", m);
370
381
  });
371
382
  }
372
- }, se = () => {
383
+ }, ae = () => {
373
384
  let s = u.split("$");
374
385
  t(0, u = s.length > 2 ? u.split("$").slice(0, 2).join("$") : u);
375
- }, ie = () => {
376
- let s = document.createElement("style");
377
- s.innerHTML = _, d.appendChild(s);
378
- }, ae = () => {
379
- let s = document.createElement("style"), m = new URL(v);
380
- fetch(m.href).then((g) => g.text()).then((g) => {
381
- s.innerHTML = g, setTimeout(
382
- () => {
383
- d.appendChild(s);
384
- },
385
- 1
386
- );
387
- });
388
- }, P = () => {
386
+ }, A = () => {
389
387
  window.postMessage(
390
388
  {
391
389
  type: "SliderData",
392
- identity: D,
393
- data: h
390
+ identity: T,
391
+ data: d
394
392
  },
395
393
  window.location.href
396
394
  );
397
- }, Q = (s) => {
398
- s.data && s.data.type == "SliderLoaded" && D == s.data.identity && P();
395
+ }, X = (s) => {
396
+ s.data && s.data.type == "SliderLoaded" && T == s.data.identity && A();
399
397
  };
400
- de(() => (window.addEventListener("message", Q, !1), () => {
401
- window.removeEventListener("message", Q);
398
+ be(() => (window.addEventListener("message", X, !1), () => {
399
+ window.emMessageBus && K && K.unsubscribe(), window.removeEventListener("message", X);
402
400
  }));
403
401
  function ne(s) {
404
- he[s ? "unshift" : "push"](() => {
405
- d = s, t(13, d);
402
+ Ne[s ? "unshift" : "push"](() => {
403
+ g = s, t(14, g);
406
404
  });
407
405
  }
408
406
  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);
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);
410
408
  }, i.$$.update = () => {
411
409
  i.$$.dirty[0] & /*endpoint, datasource, lang*/
412
- 14 && r && a && n && te(), i.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
413
- 3936258 && r && w && (L || M || C) && !y && $(), i.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
414
- 33820673 && !y && u && (!w || T) && se(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
415
- 8208 && _ && d && ie(), i.$$.dirty[0] & /*translationurl*/
416
- 16777216 && k && p(), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
417
- 8224 && v && d && ae();
418
- }, t(15, J = 0), [
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), [
419
418
  u,
420
- r,
419
+ c,
421
420
  a,
422
- n,
421
+ o,
423
422
  _,
424
- v,
425
- R,
423
+ C,
424
+ U,
426
425
  I,
427
- H,
428
- B,
429
426
  Y,
430
427
  q,
428
+ z,
429
+ H,
430
+ P,
431
431
  y,
432
- d,
432
+ g,
433
433
  f,
434
- J,
435
- P,
436
- O,
434
+ V,
435
+ A,
436
+ R,
437
437
  w,
438
+ N,
438
439
  L,
439
440
  M,
440
- C,
441
- U,
441
+ B,
442
+ v,
442
443
  G,
443
- k,
444
- T,
444
+ D,
445
445
  ne
446
446
  ];
447
447
  }
448
- class Fe extends ce {
448
+ class Ae extends ce {
449
449
  constructor(e) {
450
450
  super(), me(
451
451
  this,
452
452
  e,
453
+ De,
453
454
  je,
454
- ke,
455
- ge,
455
+ ue,
456
456
  {
457
457
  endpoint: 1,
458
458
  datasource: 2,
459
459
  lang: 3,
460
- userid: 17,
461
- session: 18,
462
- mostplayed: 19,
463
- lastplayed: 20,
464
- favorites: 21,
460
+ userid: 18,
461
+ session: 19,
462
+ mostplayed: 20,
463
+ lastplayed: 21,
464
+ favorites: 22,
465
465
  clientstyling: 4,
466
466
  clientstylingurl: 5,
467
467
  activecategory: 0,
468
468
  actionevent: 6,
469
- sessioncheck: 22,
469
+ sessioncheck: 23,
470
470
  location: 7,
471
471
  showsubgroups: 8,
472
- filteredcategories: 23,
473
- translationurl: 24,
472
+ filteredcategories: 24,
473
+ translationurl: 25,
474
474
  categoriesicon: 9,
475
475
  lobbyiconimage: 10,
476
- mygamesiconimage: 11
476
+ mygamesiconimage: 11,
477
+ mbsource: 12
477
478
  },
478
- Ce,
479
+ Ge,
479
480
  [-1, -1]
480
481
  );
481
482
  }
@@ -483,124 +484,130 @@ class Fe extends ce {
483
484
  return this.$$.ctx[1];
484
485
  }
485
486
  set endpoint(e) {
486
- this.$$set({ endpoint: e }), c();
487
+ this.$$set({ endpoint: e }), l();
487
488
  }
488
489
  get datasource() {
489
490
  return this.$$.ctx[2];
490
491
  }
491
492
  set datasource(e) {
492
- this.$$set({ datasource: e }), c();
493
+ this.$$set({ datasource: e }), l();
493
494
  }
494
495
  get lang() {
495
496
  return this.$$.ctx[3];
496
497
  }
497
498
  set lang(e) {
498
- this.$$set({ lang: e }), c();
499
+ this.$$set({ lang: e }), l();
499
500
  }
500
501
  get userid() {
501
- return this.$$.ctx[17];
502
+ return this.$$.ctx[18];
502
503
  }
503
504
  set userid(e) {
504
- this.$$set({ userid: e }), c();
505
+ this.$$set({ userid: e }), l();
505
506
  }
506
507
  get session() {
507
- return this.$$.ctx[18];
508
+ return this.$$.ctx[19];
508
509
  }
509
510
  set session(e) {
510
- this.$$set({ session: e }), c();
511
+ this.$$set({ session: e }), l();
511
512
  }
512
513
  get mostplayed() {
513
- return this.$$.ctx[19];
514
+ return this.$$.ctx[20];
514
515
  }
515
516
  set mostplayed(e) {
516
- this.$$set({ mostplayed: e }), c();
517
+ this.$$set({ mostplayed: e }), l();
517
518
  }
518
519
  get lastplayed() {
519
- return this.$$.ctx[20];
520
+ return this.$$.ctx[21];
520
521
  }
521
522
  set lastplayed(e) {
522
- this.$$set({ lastplayed: e }), c();
523
+ this.$$set({ lastplayed: e }), l();
523
524
  }
524
525
  get favorites() {
525
- return this.$$.ctx[21];
526
+ return this.$$.ctx[22];
526
527
  }
527
528
  set favorites(e) {
528
- this.$$set({ favorites: e }), c();
529
+ this.$$set({ favorites: e }), l();
529
530
  }
530
531
  get clientstyling() {
531
532
  return this.$$.ctx[4];
532
533
  }
533
534
  set clientstyling(e) {
534
- this.$$set({ clientstyling: e }), c();
535
+ this.$$set({ clientstyling: e }), l();
535
536
  }
536
537
  get clientstylingurl() {
537
538
  return this.$$.ctx[5];
538
539
  }
539
540
  set clientstylingurl(e) {
540
- this.$$set({ clientstylingurl: e }), c();
541
+ this.$$set({ clientstylingurl: e }), l();
541
542
  }
542
543
  get activecategory() {
543
544
  return this.$$.ctx[0];
544
545
  }
545
546
  set activecategory(e) {
546
- this.$$set({ activecategory: e }), c();
547
+ this.$$set({ activecategory: e }), l();
547
548
  }
548
549
  get actionevent() {
549
550
  return this.$$.ctx[6];
550
551
  }
551
552
  set actionevent(e) {
552
- this.$$set({ actionevent: e }), c();
553
+ this.$$set({ actionevent: e }), l();
553
554
  }
554
555
  get sessioncheck() {
555
- return this.$$.ctx[22];
556
+ return this.$$.ctx[23];
556
557
  }
557
558
  set sessioncheck(e) {
558
- this.$$set({ sessioncheck: e }), c();
559
+ this.$$set({ sessioncheck: e }), l();
559
560
  }
560
561
  get location() {
561
562
  return this.$$.ctx[7];
562
563
  }
563
564
  set location(e) {
564
- this.$$set({ location: e }), c();
565
+ this.$$set({ location: e }), l();
565
566
  }
566
567
  get showsubgroups() {
567
568
  return this.$$.ctx[8];
568
569
  }
569
570
  set showsubgroups(e) {
570
- this.$$set({ showsubgroups: e }), c();
571
+ this.$$set({ showsubgroups: e }), l();
571
572
  }
572
573
  get filteredcategories() {
573
- return this.$$.ctx[23];
574
+ return this.$$.ctx[24];
574
575
  }
575
576
  set filteredcategories(e) {
576
- this.$$set({ filteredcategories: e }), c();
577
+ this.$$set({ filteredcategories: e }), l();
577
578
  }
578
579
  get translationurl() {
579
- return this.$$.ctx[24];
580
+ return this.$$.ctx[25];
580
581
  }
581
582
  set translationurl(e) {
582
- this.$$set({ translationurl: e }), c();
583
+ this.$$set({ translationurl: e }), l();
583
584
  }
584
585
  get categoriesicon() {
585
586
  return this.$$.ctx[9];
586
587
  }
587
588
  set categoriesicon(e) {
588
- this.$$set({ categoriesicon: e }), c();
589
+ this.$$set({ categoriesicon: e }), l();
589
590
  }
590
591
  get lobbyiconimage() {
591
592
  return this.$$.ctx[10];
592
593
  }
593
594
  set lobbyiconimage(e) {
594
- this.$$set({ lobbyiconimage: e }), c();
595
+ this.$$set({ lobbyiconimage: e }), l();
595
596
  }
596
597
  get mygamesiconimage() {
597
598
  return this.$$.ctx[11];
598
599
  }
599
600
  set mygamesiconimage(e) {
600
- this.$$set({ mygamesiconimage: e }), c();
601
+ this.$$set({ mygamesiconimage: e }), l();
602
+ }
603
+ get mbsource() {
604
+ return this.$$.ctx[12];
605
+ }
606
+ set mbsource(e) {
607
+ this.$$set({ mbsource: e }), l();
601
608
  }
602
609
  }
603
- ue(Fe, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
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);
604
611
  export {
605
- Fe as default
612
+ Ae as default
606
613
  };