@everymatrix/casino-page 1.87.26 → 1.87.27

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 (107) hide show
  1. package/components/CasinoCalendar-Bk2VWsYP.js +572 -0
  2. package/components/CasinoCalendar-CuMdPVUL.js +574 -0
  3. package/components/CasinoCalendar-NysJ_MQc.cjs +2 -0
  4. package/components/{CasinoCalendarDailyDetails-C9QkDeeW.js → CasinoCalendarDailyDetails-BMRyShgB.js} +84 -84
  5. package/components/CasinoCalendarDailyDetails-Ctd7GG23.cjs +1 -0
  6. package/components/{CasinoCalendarDailyDetails-DG8jTkOb.js → CasinoCalendarDailyDetails-DpRL4rZD.js} +84 -84
  7. package/components/CasinoCalendarDailyItem-Bwv-TV7n.cjs +1 -0
  8. package/components/{CasinoCalendarDailyItem-H9bFOk6V.js → CasinoCalendarDailyItem-O-m4LUQU.js} +118 -118
  9. package/components/{CasinoCalendarDailyItem-77QxCgOg.js → CasinoCalendarDailyItem-kbMnL8LX.js} +118 -118
  10. package/components/CasinoCollectionsProviders-DxCAKrxO.cjs +1 -0
  11. package/components/{CasinoCollectionsProviders-BRaAIVvV.js → CasinoCollectionsProviders-I8uaw4CX.js} +65 -65
  12. package/components/{CasinoCollectionsProviders-DOGIidgs.js → CasinoCollectionsProviders-bBtLlyhP.js} +93 -93
  13. package/components/CasinoFavoritesSection-BKpylL-E.cjs +1 -0
  14. package/components/{CasinoFavoritesSection-C-WTpxpq.js → CasinoFavoritesSection-D1NR_VbM.js} +47 -63
  15. package/components/{CasinoFavoritesSection-CZ-q50oD.js → CasinoFavoritesSection-DVEeqd8t.js} +44 -60
  16. package/components/CasinoFilter-BuCRML3F.cjs +1 -0
  17. package/components/{CasinoFilter-Dd_ByQUb.js → CasinoFilter-C-8LktQ9.js} +223 -224
  18. package/components/{CasinoFilter-BqfBTs3X.js → CasinoFilter-JysfGnIT.js} +251 -250
  19. package/components/CasinoGameThumbnail-CTIJhcZN.js +1847 -0
  20. package/components/CasinoGameThumbnail-MpCIIvr2.cjs +38 -0
  21. package/components/CasinoGameThumbnail-vCdzZgSQ.js +1831 -0
  22. package/components/CasinoGamesCategorySection-CQTfYAer.cjs +10 -0
  23. package/components/CasinoGamesCategorySection-C_uyd_r_.js +5729 -0
  24. package/components/CasinoGamesCategorySection-Cavp2XcF.js +5697 -0
  25. package/components/{CasinoJackpotBanner-BuCeq-FN.js → CasinoJackpotBanner-C6568dXk.js} +176 -176
  26. package/components/{CasinoJackpotBanner-Ba0HSy7J.js → CasinoJackpotBanner-CLADRgxD.js} +154 -154
  27. package/components/CasinoJackpotBanner-C_Gf1vLe.cjs +1 -0
  28. package/components/{CasinoLastPlayedSection-DJ9HO253.js → CasinoLastPlayedSection-Daix__De.js} +71 -72
  29. package/components/{CasinoLastPlayedSection-C5vsXbz8.js → CasinoLastPlayedSection-fA_Nko5c.js} +68 -69
  30. package/components/CasinoLastPlayedSection-i9eM46ud.cjs +1 -0
  31. package/components/CasinoMostPlayedSection-7F-BgAlY.cjs +1 -0
  32. package/components/{CasinoMostPlayedSection-_rcZwydD.js → CasinoMostPlayedSection-BG98a19d.js} +64 -65
  33. package/components/{CasinoMostPlayedSection-Cj9P1O_g.js → CasinoMostPlayedSection-DjDWyNmN.js} +66 -67
  34. package/components/{CasinoMyGames-BCWaO0Ph.js → CasinoMyGames-DbWMDQDz.js} +46 -46
  35. package/components/CasinoMyGames-FxQZFPn1.cjs +1 -0
  36. package/components/{CasinoMyGames-DA-mPnwJ.js → CasinoMyGames-fh1A5kRZ.js} +46 -46
  37. package/components/CasinoPage-CEwUBRwz.js +8914 -0
  38. package/components/CasinoPage-D1gCtQ9f.cjs +18 -0
  39. package/components/CasinoPage-DuLO92lO.js +8959 -0
  40. package/components/CasinoRandomGame-B6nMcOFW.cjs +2 -0
  41. package/components/{CasinoRandomGame-Dicpdv5N.js → CasinoRandomGame-BXeDL44i.js} +118 -118
  42. package/components/{CasinoRandomGame-Mzhi_geU.js → CasinoRandomGame-fp8-6pxV.js} +116 -116
  43. package/components/{CasinoSearch-BkcRkT-Z.js → CasinoSearch-CT_Q7Eg2.js} +75 -75
  44. package/components/{CasinoSearch-CFh1KpPL.js → CasinoSearch-D25EUsHS.js} +75 -75
  45. package/components/CasinoSearch-DSNlggOc.cjs +1 -0
  46. package/components/CasinoSort-5sOVz1es.cjs +1 -0
  47. package/components/{CasinoSort-DuvD0KkH.js → CasinoSort-CoBXSITn.js} +102 -102
  48. package/components/{CasinoSort-DHqu-YG-.js → CasinoSort-l3IilL10.js} +116 -116
  49. package/components/{CasinoWinners-C0aKkeDL.js → CasinoWinners-BeLObVW8.js} +105 -105
  50. package/components/{CasinoWinners-DdSjlEaj.js → CasinoWinners-mCHa7x4u.js} +108 -108
  51. package/components/CasinoWinners-pE3a77v3.cjs +1 -0
  52. package/components/GeneralAnimationLoading-BJ87LnuC.cjs +1 -0
  53. package/components/{GeneralAnimationLoading-DhrziAD2.js → GeneralAnimationLoading-BaLCQhkc.js} +23 -23
  54. package/components/{GeneralAnimationLoading-B00sPlMG.js → GeneralAnimationLoading-SLNmfkn9.js} +22 -22
  55. package/es2015/casino-page.cjs +1 -1
  56. package/es2015/casino-page.js +7 -7
  57. package/esnext/casino-page.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{app-globals-0f993ce5-4b17CI_n.cjs → app-globals-0f993ce5-3HCMFTIi.cjs} +1 -1
  60. package/stencil/{app-globals-0f993ce5-DfNOCk8l.js → app-globals-0f993ce5-DYjuqKIH.js} +2 -2
  61. package/stencil/{casino-play-random-game-rhXCh2EW.js → casino-play-random-game-BnjM-0qi.js} +2 -2
  62. package/stencil/{casino-play-random-game-CSy8nXT0.js → casino-play-random-game-DRQxeH3W.js} +2 -2
  63. package/stencil/{casino-play-random-game-PuRF3mXV.cjs → casino-play-random-game-dt2t2wAq.cjs} +1 -1
  64. package/stencil/{casino-play-random-game_2-CZQxP9GA.js → casino-play-random-game_2-BvZbjHRJ.js} +92 -64
  65. package/stencil/{casino-play-random-game_2-CBAgufN5.cjs → casino-play-random-game_2-ZYQBmsCp.cjs} +3 -3
  66. package/stencil/{casino-play-random-game_2-BBgMV3ws.js → casino-play-random-game_2-aWmRrJVX.js} +91 -64
  67. package/stencil/{index-328e660d-BLQrzwBv.cjs → index-328e660d-BN7c7sEP.cjs} +1 -1
  68. package/stencil/{index-328e660d-Belout2l.js → index-328e660d-CJOt0Yr_.js} +1 -1
  69. package/stencil/{index-328e660d-BqUO7ccV.js → index-328e660d-CZwFIIV5.js} +1 -1
  70. package/stencil/{index-b2193545-DuCTLpV-.cjs → index-b2193545-BYDm8FOU.cjs} +1 -1
  71. package/stencil/{index-b2193545-DG7pnr-7.js → index-b2193545-CVvOSay7.js} +1 -1
  72. package/stencil/{index-b2193545-BZAG_Jnw.js → index-b2193545-DkSkdO8p.js} +1 -1
  73. package/stencil/{ui-image-BmLAbwvr.cjs → ui-image-BNLichPz.cjs} +1 -1
  74. package/stencil/{ui-image-DDulMZDF.js → ui-image-D8_P6p7o.js} +1 -1
  75. package/stencil/{ui-image-DwWgscwP.js → ui-image-KAOdlRk_.js} +1 -1
  76. package/stencil/{ui-skeleton-DgZQnowa.js → ui-skeleton-CbcQXFpx.js} +3 -3
  77. package/stencil/{ui-skeleton-D_tu1FGi.js → ui-skeleton-DgkQtSrH.js} +3 -3
  78. package/stencil/{ui-skeleton-BWEKzqTN.cjs → ui-skeleton-TOJItxHv.cjs} +1 -1
  79. package/stencil/{ui-skeleton-ed169f8f-D2rWx_KU.js → ui-skeleton-ed169f8f-BD9hI4Jz.js} +1 -1
  80. package/stencil/{ui-skeleton-ed169f8f-Ti6Ksz7V.cjs → ui-skeleton-ed169f8f-CGu6WFdq.cjs} +1 -1
  81. package/stencil/{ui-skeleton-ed169f8f-Bs1q2JQr.js → ui-skeleton-ed169f8f-CaxkPCnR.js} +1 -1
  82. package/components/CasinoCalendar-4k288rHh.cjs +0 -19
  83. package/components/CasinoCalendar-BNbVJJdG.js +0 -5140
  84. package/components/CasinoCalendar-DAKxxPPx.js +0 -5101
  85. package/components/CasinoCalendarDailyDetails-CerVlpW4.cjs +0 -1
  86. package/components/CasinoCalendarDailyItem-B7YANGR4.cjs +0 -1
  87. package/components/CasinoCollectionsProviders-OZw09qnR.cjs +0 -1
  88. package/components/CasinoFavoritesSection-DYzKNVZJ.cjs +0 -1
  89. package/components/CasinoFilter-BP97bmoQ.cjs +0 -1
  90. package/components/CasinoGameThumbnail-CySg8Qzs.js +0 -4359
  91. package/components/CasinoGameThumbnail-W0nETKCH.cjs +0 -47
  92. package/components/CasinoGameThumbnail-ge_yVb-v.js +0 -4375
  93. package/components/CasinoGamesCategorySection-B2CXUJ-V.js +0 -3217
  94. package/components/CasinoGamesCategorySection-B8IjpDwj.js +0 -3185
  95. package/components/CasinoGamesCategorySection-DCjn0aiz.cjs +0 -1
  96. package/components/CasinoJackpotBanner-DRtiH_Mn.cjs +0 -1
  97. package/components/CasinoLastPlayedSection-CP4YzhAu.cjs +0 -1
  98. package/components/CasinoMostPlayedSection-DPG3YsM6.cjs +0 -1
  99. package/components/CasinoMyGames-Bqyyy2Me.cjs +0 -1
  100. package/components/CasinoPage-BNU69s1m.js +0 -4353
  101. package/components/CasinoPage-BRSRsp5F.js +0 -4334
  102. package/components/CasinoPage-D-FENg4m.cjs +0 -1
  103. package/components/CasinoRandomGame-DRGWOXO6.cjs +0 -2
  104. package/components/CasinoSearch-D14Ak2E9.cjs +0 -1
  105. package/components/CasinoSort-BVyHskml.cjs +0 -1
  106. package/components/CasinoWinners-5S4Rqt23.cjs +0 -1
  107. package/components/GeneralAnimationLoading-wnzFPEVd.cjs +0 -1
@@ -1,33 +1,17 @@
1
- import { $ as I, O as R, S as j, i as z, s as H, f as l, b as J, n as L, d as q, h as A, j as D, r as K, o as T, E as n, C as U, H as V, I as B, J as G, K as N } from "./CasinoCalendar-BNbVJJdG.js";
2
- if (typeof window != "undefined") {
3
- let s = function(e) {
4
- return function(...t) {
5
- try {
6
- return e.apply(this, t);
7
- } catch (a) {
8
- if (a instanceof DOMException && a.message.includes("has already been used with this registry") || a.message.includes("Cannot define multiple custom elements with the same tag name"))
9
- return !1;
10
- throw a;
11
- }
12
- };
13
- };
14
- customElements.define = s(customElements.define), import("./CasinoGamesCategorySection-B2CXUJ-V.js").then(({ default: e }) => {
15
- !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
16
- });
17
- }
18
- function P({ withLocale: s, translations: e }) {
19
- I.subscribe((t) => {
20
- t == null && (R.set(e), I.set(s));
1
+ import { $ as L, I as G, S as M, i as O, s as T, f as l, b as U, n as q, d as E, c as R, e as j, g as V, j as B, y as n, k as H, D as J, E as K, F as N, G as P } from "./CasinoPage-DuLO92lO.js";
2
+ function Q({ withLocale: s, translations: e }) {
3
+ L.subscribe((t) => {
4
+ t == null && (G.set(e), L.set(s));
21
5
  });
22
6
  }
23
- function Q(s) {
24
- J(s, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
7
+ function W(s) {
8
+ U(s, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
25
9
  }
26
- function O(s) {
10
+ function A(s) {
27
11
  let e;
28
12
  return {
29
13
  c() {
30
- e = D("casino-games-category-section"), n(
14
+ e = j("casino-games-category-section"), n(
31
15
  e,
32
16
  "session",
33
17
  /*session*/
@@ -125,7 +109,7 @@ function O(s) {
125
109
  );
126
110
  },
127
111
  m(t, a) {
128
- A(t, e, a);
112
+ R(t, e, a);
129
113
  },
130
114
  p(t, a) {
131
115
  a & /*session*/
@@ -245,81 +229,81 @@ function O(s) {
245
229
  );
246
230
  },
247
231
  d(t) {
248
- t && q(e);
232
+ t && E(e);
249
233
  }
250
234
  };
251
235
  }
252
- function W(s) {
236
+ function X(s) {
253
237
  let e, t = (
254
238
  /*session*/
255
- s[4] && O(s)
239
+ s[4] && A(s)
256
240
  );
257
241
  return {
258
242
  c() {
259
- e = D("div"), t && t.c(), K(e, "class", "CasinoFavoritesSectionContainer");
243
+ e = j("div"), t && t.c(), V(e, "class", "CasinoFavoritesSectionContainer");
260
244
  },
261
- m(a, m) {
262
- A(a, e, m), t && t.m(e, null), s[20](e);
245
+ m(a, r) {
246
+ R(a, e, r), t && t.m(e, null), s[20](e);
263
247
  },
264
- p(a, [m]) {
248
+ p(a, [r]) {
265
249
  /*session*/
266
- a[4] ? t ? t.p(a, m) : (t = O(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
250
+ a[4] ? t ? t.p(a, r) : (t = A(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
267
251
  },
268
- i: L,
269
- o: L,
252
+ i: q,
253
+ o: q,
270
254
  d(a) {
271
- a && q(e), t && t.d(), s[20](null);
255
+ a && E(e), t && t.d(), s[20](null);
272
256
  }
273
257
  };
274
258
  }
275
- function X(s, e, t) {
276
- let { endpoint: a = "" } = e, { datasource: m = "" } = e, { currency: u = "" } = e, { lang: f = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { clientstyling: g = "" } = e, { clientstylingurl: o = "" } = e, { translationurl: y = "" } = e, { livecasino: b = "false" } = e, { integratedgameframemobile: v = "false" } = e, { integratedgameframedesktop: w = "false" } = e, { showgamename: _ = "" } = e, { gamepagemodalurl: k = "false" } = e, { visiblegames: C = "" } = e, { favorites: S = "" } = e, { casinomygames: F = "false" } = e, { fetchviaevent: E = "true" } = e, { mbsource: c } = e, r;
277
- P({ withLocale: "en", translations: {} }), T(() => () => {
259
+ function Y(s, e, t) {
260
+ let { endpoint: a = "" } = e, { datasource: r = "" } = e, { currency: c = "" } = e, { lang: f = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { clientstyling: m = "" } = e, { clientstylingurl: o = "" } = e, { translationurl: b = "" } = e, { livecasino: v = "false" } = e, { integratedgameframemobile: y = "false" } = e, { integratedgameframedesktop: _ = "false" } = e, { showgamename: w = "" } = e, { gamepagemodalurl: k = "false" } = e, { visiblegames: S = "" } = e, { favorites: C = "" } = e, { casinomygames: F = "false" } = e, { fetchviaevent: I = "true" } = e, { mbsource: u } = e, z, g;
261
+ Q({ withLocale: "en", translations: {} }), B(() => () => {
278
262
  });
279
- function M(i) {
280
- U[i ? "unshift" : "push"](() => {
281
- r = i, t(19, r);
263
+ function D(i) {
264
+ H[i ? "unshift" : "push"](() => {
265
+ g = i, t(19, g);
282
266
  });
283
267
  }
284
268
  return s.$$set = (i) => {
285
- "endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, m = i.datasource), "currency" in i && t(2, u = i.currency), "lang" in i && t(3, f = i.lang), "session" in i && t(4, h = i.session), "userid" in i && t(5, d = i.userid), "clientstyling" in i && t(6, g = i.clientstyling), "clientstylingurl" in i && t(7, o = i.clientstylingurl), "translationurl" in i && t(8, y = i.translationurl), "livecasino" in i && t(9, b = i.livecasino), "integratedgameframemobile" in i && t(10, v = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(11, w = i.integratedgameframedesktop), "showgamename" in i && t(12, _ = i.showgamename), "gamepagemodalurl" in i && t(13, k = i.gamepagemodalurl), "visiblegames" in i && t(14, C = i.visiblegames), "favorites" in i && t(15, S = i.favorites), "casinomygames" in i && t(16, F = i.casinomygames), "fetchviaevent" in i && t(17, E = i.fetchviaevent), "mbsource" in i && t(18, c = i.mbsource);
269
+ "endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, r = i.datasource), "currency" in i && t(2, c = i.currency), "lang" in i && t(3, f = i.lang), "session" in i && t(4, h = i.session), "userid" in i && t(5, d = i.userid), "clientstyling" in i && t(6, m = i.clientstyling), "clientstylingurl" in i && t(7, o = i.clientstylingurl), "translationurl" in i && t(8, b = i.translationurl), "livecasino" in i && t(9, v = i.livecasino), "integratedgameframemobile" in i && t(10, y = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(11, _ = i.integratedgameframedesktop), "showgamename" in i && t(12, w = i.showgamename), "gamepagemodalurl" in i && t(13, k = i.gamepagemodalurl), "visiblegames" in i && t(14, S = i.visiblegames), "favorites" in i && t(15, C = i.favorites), "casinomygames" in i && t(16, F = i.casinomygames), "fetchviaevent" in i && t(17, I = i.fetchviaevent), "mbsource" in i && t(18, u = i.mbsource);
286
270
  }, s.$$.update = () => {
287
271
  s.$$.dirty & /*clientstyling, customStylingContainer*/
288
- 524352 && g && r && V(r, g), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
289
- 524416 && o && r && B(r, o), s.$$.dirty & /*customStylingContainer, mbsource*/
290
- 786432 && r && G(r, `${c}.Style`);
272
+ 524352 && m && g && J(g, m), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
273
+ 524416 && o && g && K(g, o), s.$$.dirty & /*customStylingContainer, mbsource*/
274
+ 786432 && g && N(g, `${u}.Style`, z);
291
275
  }, [
292
276
  a,
293
- m,
294
- u,
277
+ r,
278
+ c,
295
279
  f,
296
280
  h,
297
281
  d,
298
- g,
282
+ m,
299
283
  o,
300
- y,
301
284
  b,
302
285
  v,
303
- w,
286
+ y,
304
287
  _,
288
+ w,
305
289
  k,
306
- C,
307
290
  S,
291
+ C,
308
292
  F,
309
- E,
310
- c,
311
- r,
312
- M
293
+ I,
294
+ u,
295
+ g,
296
+ D
313
297
  ];
314
298
  }
315
- class Y extends j {
299
+ class Z extends M {
316
300
  constructor(e) {
317
- super(), z(
301
+ super(), O(
318
302
  this,
319
303
  e,
304
+ Y,
320
305
  X,
321
- W,
322
- H,
306
+ T,
323
307
  {
324
308
  endpoint: 0,
325
309
  datasource: 1,
@@ -341,7 +325,7 @@ class Y extends j {
341
325
  fetchviaevent: 17,
342
326
  mbsource: 18
343
327
  },
344
- Q
328
+ W
345
329
  );
346
330
  }
347
331
  get endpoint() {
@@ -459,7 +443,7 @@ class Y extends j {
459
443
  this.$$set({ mbsource: e }), l();
460
444
  }
461
445
  }
462
- N(Y, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
446
+ P(Z, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
463
447
  export {
464
- Y as default
448
+ Z as default
465
449
  };
@@ -1,33 +1,17 @@
1
- import { $ as I, O as R, S as j, i as z, s as H, f as l, b as J, n as L, d as q, h as A, j as D, r as K, o as T, E as n, C as U, H as V, I as B, J as G, K as N } from "./CasinoCalendar-DAKxxPPx.js";
2
- if (typeof window < "u") {
3
- let s = function(e) {
4
- return function(...t) {
5
- try {
6
- return e.apply(this, t);
7
- } catch (a) {
8
- if (a instanceof DOMException && a.message.includes("has already been used with this registry") || a.message.includes("Cannot define multiple custom elements with the same tag name"))
9
- return !1;
10
- throw a;
11
- }
12
- };
13
- };
14
- customElements.define = s(customElements.define), import("./CasinoGamesCategorySection-B8IjpDwj.js").then(({ default: e }) => {
15
- !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
16
- });
17
- }
18
- function P({ withLocale: s, translations: e }) {
1
+ import { $ as I, I as M, S as O, i as T, s as U, f as l, b as V, n as L, d as R, e as z, g as E, h as j, k as B, A as n, l as D, F as J, G as K, H as N, c as P } from "./CasinoPage-CEwUBRwz.js";
2
+ function Q({ withLocale: s, translations: e }) {
19
3
  I.subscribe((t) => {
20
- t == null && (R.set(e), I.set(s));
4
+ t == null && (M.set(e), I.set(s));
21
5
  });
22
6
  }
23
- function Q(s) {
24
- J(s, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
7
+ function W(s) {
8
+ V(s, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
25
9
  }
26
- function O(s) {
10
+ function q(s) {
27
11
  let e;
28
12
  return {
29
13
  c() {
30
- e = D("casino-games-category-section"), n(
14
+ e = E("casino-games-category-section"), n(
31
15
  e,
32
16
  "session",
33
17
  /*session*/
@@ -125,7 +109,7 @@ function O(s) {
125
109
  );
126
110
  },
127
111
  m(t, a) {
128
- A(t, e, a);
112
+ z(t, e, a);
129
113
  },
130
114
  p(t, a) {
131
115
  a & /*session*/
@@ -245,81 +229,81 @@ function O(s) {
245
229
  );
246
230
  },
247
231
  d(t) {
248
- t && q(e);
232
+ t && R(e);
249
233
  }
250
234
  };
251
235
  }
252
- function W(s) {
236
+ function X(s) {
253
237
  let e, t = (
254
238
  /*session*/
255
- s[4] && O(s)
239
+ s[4] && q(s)
256
240
  );
257
241
  return {
258
242
  c() {
259
- e = D("div"), t && t.c(), K(e, "class", "CasinoFavoritesSectionContainer");
243
+ e = E("div"), t && t.c(), j(e, "class", "CasinoFavoritesSectionContainer");
260
244
  },
261
- m(a, m) {
262
- A(a, e, m), t && t.m(e, null), s[20](e);
245
+ m(a, r) {
246
+ z(a, e, r), t && t.m(e, null), s[20](e);
263
247
  },
264
- p(a, [m]) {
248
+ p(a, [r]) {
265
249
  /*session*/
266
- a[4] ? t ? t.p(a, m) : (t = O(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
250
+ a[4] ? t ? t.p(a, r) : (t = q(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
267
251
  },
268
252
  i: L,
269
253
  o: L,
270
254
  d(a) {
271
- a && q(e), t && t.d(), s[20](null);
255
+ a && R(e), t && t.d(), s[20](null);
272
256
  }
273
257
  };
274
258
  }
275
- function X(s, e, t) {
276
- let { endpoint: a = "" } = e, { datasource: m = "" } = e, { currency: u = "" } = e, { lang: f = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { clientstyling: g = "" } = e, { clientstylingurl: o = "" } = e, { translationurl: y = "" } = e, { livecasino: b = "false" } = e, { integratedgameframemobile: v = "false" } = e, { integratedgameframedesktop: w = "false" } = e, { showgamename: _ = "" } = e, { gamepagemodalurl: k = "false" } = e, { visiblegames: C = "" } = e, { favorites: S = "" } = e, { casinomygames: F = "false" } = e, { fetchviaevent: E = "true" } = e, { mbsource: c } = e, r;
277
- P({ withLocale: "en", translations: {} }), T(() => () => {
259
+ function Y(s, e, t) {
260
+ let { endpoint: a = "" } = e, { datasource: r = "" } = e, { currency: c = "" } = e, { lang: f = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { clientstyling: m = "" } = e, { clientstylingurl: o = "" } = e, { translationurl: b = "" } = e, { livecasino: v = "false" } = e, { integratedgameframemobile: y = "false" } = e, { integratedgameframedesktop: _ = "false" } = e, { showgamename: w = "" } = e, { gamepagemodalurl: k = "false" } = e, { visiblegames: S = "" } = e, { favorites: C = "" } = e, { casinomygames: F = "false" } = e, { fetchviaevent: A = "true" } = e, { mbsource: u } = e, G, g;
261
+ Q({ withLocale: "en", translations: {} }), B(() => () => {
278
262
  });
279
- function M(i) {
280
- U[i ? "unshift" : "push"](() => {
281
- r = i, t(19, r);
263
+ function H(i) {
264
+ D[i ? "unshift" : "push"](() => {
265
+ g = i, t(19, g);
282
266
  });
283
267
  }
284
268
  return s.$$set = (i) => {
285
- "endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, m = i.datasource), "currency" in i && t(2, u = i.currency), "lang" in i && t(3, f = i.lang), "session" in i && t(4, h = i.session), "userid" in i && t(5, d = i.userid), "clientstyling" in i && t(6, g = i.clientstyling), "clientstylingurl" in i && t(7, o = i.clientstylingurl), "translationurl" in i && t(8, y = i.translationurl), "livecasino" in i && t(9, b = i.livecasino), "integratedgameframemobile" in i && t(10, v = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(11, w = i.integratedgameframedesktop), "showgamename" in i && t(12, _ = i.showgamename), "gamepagemodalurl" in i && t(13, k = i.gamepagemodalurl), "visiblegames" in i && t(14, C = i.visiblegames), "favorites" in i && t(15, S = i.favorites), "casinomygames" in i && t(16, F = i.casinomygames), "fetchviaevent" in i && t(17, E = i.fetchviaevent), "mbsource" in i && t(18, c = i.mbsource);
269
+ "endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, r = i.datasource), "currency" in i && t(2, c = i.currency), "lang" in i && t(3, f = i.lang), "session" in i && t(4, h = i.session), "userid" in i && t(5, d = i.userid), "clientstyling" in i && t(6, m = i.clientstyling), "clientstylingurl" in i && t(7, o = i.clientstylingurl), "translationurl" in i && t(8, b = i.translationurl), "livecasino" in i && t(9, v = i.livecasino), "integratedgameframemobile" in i && t(10, y = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(11, _ = i.integratedgameframedesktop), "showgamename" in i && t(12, w = i.showgamename), "gamepagemodalurl" in i && t(13, k = i.gamepagemodalurl), "visiblegames" in i && t(14, S = i.visiblegames), "favorites" in i && t(15, C = i.favorites), "casinomygames" in i && t(16, F = i.casinomygames), "fetchviaevent" in i && t(17, A = i.fetchviaevent), "mbsource" in i && t(18, u = i.mbsource);
286
270
  }, s.$$.update = () => {
287
271
  s.$$.dirty & /*clientstyling, customStylingContainer*/
288
- 524352 && g && r && V(r, g), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
289
- 524416 && o && r && B(r, o), s.$$.dirty & /*customStylingContainer, mbsource*/
290
- 786432 && r && G(r, `${c}.Style`);
272
+ 524352 && m && g && J(g, m), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
273
+ 524416 && o && g && K(g, o), s.$$.dirty & /*customStylingContainer, mbsource*/
274
+ 786432 && g && N(g, `${u}.Style`, G);
291
275
  }, [
292
276
  a,
293
- m,
294
- u,
277
+ r,
278
+ c,
295
279
  f,
296
280
  h,
297
281
  d,
298
- g,
282
+ m,
299
283
  o,
300
- y,
301
284
  b,
302
285
  v,
303
- w,
286
+ y,
304
287
  _,
288
+ w,
305
289
  k,
306
- C,
307
290
  S,
291
+ C,
308
292
  F,
309
- E,
310
- c,
311
- r,
312
- M
293
+ A,
294
+ u,
295
+ g,
296
+ H
313
297
  ];
314
298
  }
315
- class Y extends j {
299
+ class Z extends O {
316
300
  constructor(e) {
317
- super(), z(
301
+ super(), T(
318
302
  this,
319
303
  e,
304
+ Y,
320
305
  X,
321
- W,
322
- H,
306
+ U,
323
307
  {
324
308
  endpoint: 0,
325
309
  datasource: 1,
@@ -341,7 +325,7 @@ class Y extends j {
341
325
  fetchviaevent: 17,
342
326
  mbsource: 18
343
327
  },
344
- Q
328
+ W
345
329
  );
346
330
  }
347
331
  get endpoint() {
@@ -459,7 +443,7 @@ class Y extends j {
459
443
  this.$$set({ mbsource: e }), l();
460
444
  }
461
445
  }
462
- N(Y, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
446
+ P(Z, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
463
447
  export {
464
- Y as default
448
+ Z as default
465
449
  };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoPage-D1gCtQ9f.cjs");function ee({withLocale:i,translations:t}){e.$locale.subscribe(r=>{r==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function G(i,t){e.addMessages(i,t)}const K={en:{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"},zh:{providers:"Providers:",filterby:"Filter by",all:"all",clear:"Clear all"},de:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},it:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},fr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},es:{providers:"Proveedores:",filterby:"Filtrar Por:",all:"Todos",clear:"Limpiar todos"},tr:{providers:"Sağlayıcılar:",filterby:"Filtrele:",all:"Hepsi",clear:"Tümünü Temizle"},ru:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},ro:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},hr:{providers:"Brendovi igara",filterby:"Filtrirati po:",all:"Sve",clear:"Očisti sve"},hu:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},pt:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sl:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},sr:{providers:"Providers:",filterby:"Filter by:",all:"all",clear:"Clear all"},"pt-br":{providers:"Provedores:",filterby:"Filtrar por",all:"Tudo",clear:"Apagar tudo"},"es-mx":{providers:"Proveedores:",filterby:"Filtrar por",all:"Todo",clear:"Borrar todo"},"en-us":{providers:"Providers:",filterby:"Filter by:",all:"All",clear:"Clear all"}};function te(i){e.append_styles(i,"svelte-14m0j7n",':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}')}function Q(i,t,r){const a=i.slice();return a[37]=t[r],a[38]=t,a[39]=r,a}function le(i){let t,r,a,n,o,f,b,y,h=i[11]("filterby")+"",p,w,F,L,I=i[11]("providers")+"",k,x,m,u,s,S,A,E,j,v,O,J,P,B=i[11]("clear")+"",D,M,N,z,V,H;function q(l,c){return l[7]?ae:ie}let W=q(i),C=W(i),T=e.ensure_array_like(i[5]),_=[];for(let l=0;l<T.length;l+=1)_[l]=X(Q(i,T,l));return{c(){t=e.element("div"),r=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),o=e.svg_element("path"),f=e.space(),b=e.element("div"),y=e.element("span"),p=e.text(h),w=e.space(),F=e.element("div"),L=e.element("span"),k=e.text(I),x=e.space(),C.c(),m=e.space(),u=e.element("span"),s=e.svg_element("svg"),S=e.svg_element("path"),j=e.space(),v=e.element("div"),O=e.element("ul");for(let l=0;l<_.length;l+=1)_[l].c();J=e.space(),P=e.element("button"),D=e.text(B),e.attr(o,"id","noun_filter_736223"),e.attr(o,"d","M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"),e.attr(o,"transform","translate(-5 -6.2)"),e.attr(o,"fill","#fff"),e.attr(n,"xmlns","http://www.w3.org/2000/svg"),e.attr(n,"width","16"),e.attr(n,"height","16"),e.attr(n,"viewBox","0 0 16 16"),e.attr(y,"class","FilterName"),e.attr(F,"class","FilterValueContainer"),e.attr(b,"class","FilterTextContainer"),e.attr(a,"class","FilterMainArea"),e.attr(S,"id","arrow"),e.attr(S,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),e.attr(S,"transform","translate(-274.511 -441.088)"),e.attr(S,"fill","#d1d1d1"),e.attr(s,"xmlns","http://www.w3.org/2000/svg"),e.attr(s,"width","14"),e.attr(s,"height","6.835"),e.attr(s,"viewBox","0 0 14 6.835"),e.attr(u,"class",A="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(r,"class",E="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(O,"class","FilterDropdown"),e.attr(P,"class","ClearFilters"),P.disabled=M=i[7]&&i[6].length!=i[5].length,e.attr(v,"class",N="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",z="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(l,c){e.insert(l,t,c),e.append(t,r),e.append(r,a),e.append(a,n),e.append(n,o),e.append(a,f),e.append(a,b),e.append(b,y),e.append(y,p),e.append(b,w),e.append(b,F),e.append(F,L),e.append(L,k),e.append(F,x),C.m(F,null),e.append(r,m),e.append(r,u),e.append(u,s),e.append(s,S),e.append(t,j),e.append(t,v),e.append(v,O);for(let d=0;d<_.length;d+=1)_[d]&&_[d].m(O,null);e.append(v,J),e.append(v,P),e.append(P,D),V||(H=[e.listen(r,"click",i[24]),e.listen(P,"click",i[27])],V=!0)},p(l,c){if(c[0]&2048&&h!==(h=l[11]("filterby")+"")&&e.set_data(p,h),c[0]&2048&&I!==(I=l[11]("providers")+"")&&e.set_data(k,I),W===(W=q(l))&&C?C.p(l,c):(C.d(1),C=W(l),C&&(C.c(),C.m(F,null))),c[0]&16&&A!==(A="TriangleInactive "+(l[4]?"TriangleActive":""))&&e.attr(u,"class",A),c[0]&16&&E!==(E="FilterSelector "+(l[4]?"FilterSelectorOpen":""))&&e.attr(r,"class",E),c[0]&8228){T=e.ensure_array_like(l[5]);let d;for(d=0;d<T.length;d+=1){const g=Q(l,T,d);_[d]?_[d].p(g,c):(_[d]=X(g),_[d].c(),_[d].m(O,null))}for(;d<_.length;d+=1)_[d].d(1);_.length=T.length}c[0]&2048&&B!==(B=l[11]("clear")+"")&&e.set_data(D,B),c[0]&224&&M!==(M=l[7]&&l[6].length!=l[5].length)&&(P.disabled=M),c[0]&16&&N!==(N="FilterDropdownContainer "+(l[4]?"FilterOpen":""))&&e.attr(v,"class",N),c[0]&3&&z!==(z="FilterContainer "+(l[0]=="true"&&l[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",z)},d(l){l&&e.detach(t),C.d(),e.destroy_each(_,l),V=!1,e.run_all(H)}}}function re(i){let t,r=i[11]("500")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(a,n){e.insert(a,t,n),t.innerHTML=r},p(a,n){n[0]&2048&&r!==(r=a[11]("500")+"")&&(t.innerHTML=r)},d(a){a&&e.detach(t)}}}function ie(i){let t,r;return{c(){t=e.element("span"),r=e.text(i[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,r)},p(a,n){n[0]&256&&e.set_data(r,a[8])},d(a){a&&e.detach(t)}}}function ae(i){let t,r=i[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(r),e.attr(t,"class","FilterCounter")},m(n,o){e.insert(n,t,o),e.append(t,a)},p(n,o){o[0]&2048&&r!==(r=n[11]("all")+"")&&e.set_data(a,r)},d(n){n&&e.detach(t)}}}function ne(i){let t,r;return{c(){t=e.element("img"),e.src_url_equal(t.src,r=i[37].logo)||e.attr(t,"src",r),e.attr(t,"alt","vendor logo")},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&32&&!e.src_url_equal(t.src,r=a[37].logo)&&e.attr(t,"src",r)},d(a){a&&e.detach(t)}}}function oe(i){let t,r,a=i[37].name+"",n,o,f,b,y=i[37].games.total+"",h,p;return{c(){t=e.element("div"),r=e.element("span"),n=e.text(a),o=e.space(),f=e.element("span"),b=e.text("("),h=e.text(y),p=e.text(")"),e.attr(r,"class","VendorName"),e.attr(t,"class","FilterItemLabel")},m(w,F){e.insert(w,t,F),e.append(t,r),e.append(r,n),e.append(t,o),e.append(t,f),e.append(f,b),e.append(f,h),e.append(f,p)},p(w,F){F[0]&32&&a!==(a=w[37].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=w[37].games.total+"")&&e.set_data(h,y)},d(w){w&&e.detach(t)}}}function X(i){let t,r,a,n,o,f,b,y,h,p,w,F;function L(){i[25].call(a,i[38],i[39])}function I(){return i[26](i[37])}function k(u,s){if(u[2]==="false")return oe;if(u[2]==="true")return ne}let x=k(i),m=x&&x(i);return{c(){t=e.element("li"),r=e.element("label"),a=e.element("input"),o=e.space(),f=e.element("span"),b=e.space(),m&&m.c(),y=e.space(),e.attr(a,"type","checkbox"),e.attr(a,"name","checkbox"),a.__value=n=i[37].name,e.set_input_value(a,a.__value),e.attr(f,"class","FiltersCheckmark"),e.attr(r,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=p=i[37].name},m(u,s){e.insert(u,t,s),e.append(t,r),e.append(r,a),a.checked=i[37].isFilterSelected,e.append(r,o),e.append(r,f),e.append(r,b),m&&m.m(r,null),e.append(t,y),w||(F=[e.listen(a,"change",L),e.listen(a,"click",I)],w=!0)},p(u,s){i=u,s[0]&32&&n!==(n=i[37].name)&&(a.__value=n,e.set_input_value(a,a.__value)),s[0]&32&&(a.checked=i[37].isFilterSelected),x===(x=k(i))&&m?m.p(i,s):(m&&m.d(1),m=x&&x(i),m&&(m.c(),m.m(r,null))),s[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),s[0]&32&&p!==(p=i[37].name)&&(t.value=p)},d(u){u&&e.detach(t),m&&m.d(),w=!1,e.run_all(F)}}}function se(i){let t;function r(o,f){if(o[10])return re;if(!o[9])return le}let a=r(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(o,f){e.insert(o,t,f),n&&n.m(t,null),i[28](t)},p(o,f){a===(a=r(o))&&n?n.p(o,f):(n&&n.d(1),n=a&&a(o),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),n&&n.d(),i[28](null)}}}function ce(i,t,r){let a;e.component_subscribe(i,e.$format,l=>r(11,a=l));let{endpoint:n=""}=t,{datasource:o=""}=t,{lang:f=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:p=""}=t,{addfilterselector:w="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:L="false"}=t,{mbsource:I}=t,{usesinglevendorfilter:k="false"}=t,x=!1,m=window.navigator.userAgent,u=[],s=[],S={},A=!1,E=0,j=!0,v,O=!1,J;ee({withLocale:"en",translations:{}});const P=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(d=>{G(d,c[d])})}).catch(c=>{console.log(c)})};Object.keys(K).forEach(l=>{G(l,K[l])}),S[p]&&(S={[p]:[]});const B=()=>{r(4,x=!x),window.postMessage({type:"FilterOpened"},window.location.href)},D=l=>(r(9,j=!0),new Promise((c,d)=>{fetch(l).then(g=>g.json()).then(g=>{g=g.items,c(g.items),r(6,s=[]);let U=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));const $=k==="true"?"*":p;g.forEach(R=>{var Z;U||(U={currentCategoryId:[]}),((Z=U[$])==null?void 0:Z.indexOf(R.id))>=0?(R.isFilterSelected=!0,s.push(R)):R.isFilterSelected=!1}),r(5,u=g),N()}).catch(g=>{console.error(g),r(10,O=!0),d(g)}).finally(()=>{r(9,j=!1)})})),M=l=>{let c=localStorage.getItem("vendorFiltersByCategory");l.isFilterSelected=!l.isFilterSelected,!s.length||s.filter(g=>g.name===l.name).length==0?s.push(l):r(6,s=s.filter(g=>g.name!==l.name));const d=k==="true"?"*":p;c==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(S={[d]:s.map(g=>g.id)})):(c=JSON.parse(c),c[d]=s.map(g=>g.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(c))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),N()},N=()=>{r(7,A=s.length===u.length||s.length==0),r(8,E=s.length)},z=()=>{if(u.length&&k==="true")return;const l=new URL(`${n}/v1/casino/vendors`);r(4,x=!1),l.searchParams.append("fields","id,name,logo,subVendors,games"),l.searchParams.append("language",f),l.searchParams.append("datasource",o),l.searchParams.append("platform",e.getDevice(m)),k==="true"||((p.match(/\$/g)||[]).length>1?(l.searchParams.append("filter",`games(subGroups=${p})`),l.searchParams.append("subVendors",`games(subGroups=${p})`)):l.searchParams.append("filter",`games(groups=${p})`)),D(l)},V=()=>{r(6,s=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(S={[k==="true"?"*":p]:s.map(l=>l.id)})),u.forEach(l=>l.isFilterSelected=!1),r(5,u),window.postMessage({type:"ApplyFilters"},window.location.href),r(7,A=!0),r(4,x=!1)},H=l=>{l.data.type=="SortingOpened"&&r(4,x=!1)};e.onMount(()=>(window.addEventListener("message",H,!1),()=>{window.removeEventListener("message",H)}));const q=()=>B();function W(l,c){l[c].isFilterSelected=this.checked,r(5,u)}const C=l=>M(l),T=()=>V();function _(l){e.binding_callbacks[l?"unshift":"push"](()=>{v=l,r(3,v)})}return i.$$set=l=>{"endpoint"in l&&r(15,n=l.endpoint),"datasource"in l&&r(16,o=l.datasource),"lang"in l&&r(17,f=l.lang),"translationurl"in l&&r(18,b=l.translationurl),"clientstyling"in l&&r(19,y=l.clientstyling),"clientstylingurl"in l&&r(20,h=l.clientstylingurl),"categoryid"in l&&r(21,p=l.categoryid),"addfilterselector"in l&&r(0,w=l.addfilterselector),"addsortingselector"in l&&r(1,F=l.addsortingselector),"filterbylogo"in l&&r(2,L=l.filterbylogo),"mbsource"in l&&r(22,I=l.mbsource),"usesinglevendorfilter"in l&&r(23,k=l.usesinglevendorfilter)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&o&&p&&L&&z(),i.$$.dirty[0]&524296&&y&&v&&e.setClientStyling(v,y),i.$$.dirty[0]&1048584&&h&&v&&e.setClientStylingURL(v,h),i.$$.dirty[0]&4194312&&v&&e.setStreamStyling(v,`${I}.Style`,J),i.$$.dirty[0]&262144&&b&&P()},[w,F,L,v,x,u,s,A,E,j,O,a,B,M,V,n,o,f,b,y,h,p,I,k,q,W,C,T,_]}class Y extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ce,se,e.safe_not_equal,{endpoint:15,datasource:16,lang:17,translationurl:18,clientstyling:19,clientstylingurl:20,categoryid:21,addfilterselector:0,addsortingselector:1,filterbylogo:2,mbsource:22,usesinglevendorfilter:23},te,[-1,-1])}get endpoint(){return this.$$.ctx[15]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[16]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[17]}set lang(t){this.$$set({lang:t}),e.flush()}get translationurl(){return this.$$.ctx[18]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get clientstyling(){return this.$$.ctx[19]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[20]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get categoryid(){return this.$$.ctx[21]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get addfilterselector(){return this.$$.ctx[0]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[1]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[2]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get mbsource(){return this.$$.ctx[22]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get usesinglevendorfilter(){return this.$$.ctx[23]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),e.flush()}}e.create_custom_element(Y,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{},usesinglevendorfilter:{}},[],[],!0);exports.default=Y;