@everymatrix/casino-page-nd 1.74.1 → 1.74.3

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 (95) hide show
  1. package/components/{CasinoCalendar-nkrznZpo.js → CasinoCalendar-BuZNkBai.js} +1032 -1067
  2. package/components/CasinoCalendar-CFUoQxq0.cjs +19 -0
  3. package/components/{CasinoCalendar-OJZrTCla.js → CasinoCalendar-DdMvhCOA.js} +1070 -1105
  4. package/components/{CasinoCalendarDailyDetails-D-PrPj8s.js → CasinoCalendarDailyDetails-BCVIut1W.js} +91 -91
  5. package/components/{CasinoCalendarDailyDetails-Jxs5L-1T.js → CasinoCalendarDailyDetails-ClfGxbko.js} +91 -91
  6. package/components/CasinoCalendarDailyDetails-Dqb6yp--.cjs +1 -0
  7. package/components/{CasinoCalendarDailyItem-BJHwZkKJ.cjs → CasinoCalendarDailyItem-BdDom59r.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-DrZ46wZq.js → CasinoCalendarDailyItem-C1ADnaTt.js} +34 -34
  9. package/components/{CasinoCalendarDailyItem-D24LBmnc.js → CasinoCalendarDailyItem-CYfiDQkf.js} +34 -34
  10. package/components/{CasinoCollectionsProviders-CTlOHOW4.js → CasinoCollectionsProviders-4kHMGeo6.js} +44 -44
  11. package/components/{CasinoCollectionsProviders-DBLRCWWo.js → CasinoCollectionsProviders-Br5ZzIwL.js} +68 -68
  12. package/components/{CasinoCollectionsProviders-CzBxsowK.cjs → CasinoCollectionsProviders-CM25qKz7.cjs} +1 -1
  13. package/components/{CasinoFavoritesSectionNd-BvtEpQ6i.js → CasinoFavoritesSectionNd-BpKau9du.js} +20 -20
  14. package/components/{CasinoFavoritesSectionNd-DjCGMH2J.js → CasinoFavoritesSectionNd-BpQfUsRD.js} +20 -20
  15. package/components/{CasinoFavoritesSectionNd-Ddlbb4CB.cjs → CasinoFavoritesSectionNd-DtMLhJwE.cjs} +1 -1
  16. package/components/{CasinoFilter-CTkRb1UC.js → CasinoFilter-1-YLqdq0.js} +50 -50
  17. package/components/{CasinoFilter-BAo8wmWH.cjs → CasinoFilter-Cc3Yv48X.cjs} +1 -1
  18. package/components/{CasinoFilter-5hTa8CKw.js → CasinoFilter-akdowSz4.js} +50 -50
  19. package/components/{CasinoGameThumbnailNd-DpkvK-o0.js → CasinoGameThumbnailNd-027TQl9L.js} +670 -668
  20. package/components/{CasinoGameThumbnailNd-OvhXfQYD.js → CasinoGameThumbnailNd-4vkDFOTQ.js} +672 -670
  21. package/components/CasinoGameThumbnailNd-Ca2b8Stl.cjs +30 -0
  22. package/components/CasinoGamesCategorySectionNd-BAynLaaR.cjs +1 -0
  23. package/components/{CasinoGamesCategorySectionNd-Dyi26BBy.js → CasinoGamesCategorySectionNd-CGOJc4eo.js} +139 -139
  24. package/components/{CasinoGamesCategorySectionNd-DDWXdavX.js → CasinoGamesCategorySectionNd-FSqr3CSC.js} +150 -150
  25. package/components/{CasinoJackpotBanner-C51E4rGA.js → CasinoJackpotBanner--90-l4pm.js} +84 -84
  26. package/components/{CasinoJackpotBanner-CTxmfDSK.js → CasinoJackpotBanner-Bdzek1XC.js} +90 -90
  27. package/components/{CasinoJackpotBanner-DBer4LlE.cjs → CasinoJackpotBanner-CyyNiIY2.cjs} +1 -1
  28. package/components/{CasinoLastPlayedSectionNd-CFi7Gnb3.cjs → CasinoLastPlayedSectionNd-6oMHidCr.cjs} +1 -1
  29. package/components/{CasinoLastPlayedSectionNd-2O2TZp0a.js → CasinoLastPlayedSectionNd-DSncRKaO.js} +41 -41
  30. package/components/{CasinoLastPlayedSectionNd-CsvEU20d.js → CasinoLastPlayedSectionNd-DilDkELD.js} +41 -41
  31. package/components/{CasinoMostPlayedSectionNd-emZWvqJZ.cjs → CasinoMostPlayedSectionNd-B1xoI2QM.cjs} +1 -1
  32. package/components/{CasinoMostPlayedSectionNd-DTZYTXkp.js → CasinoMostPlayedSectionNd-BrdGaj7a.js} +46 -46
  33. package/components/{CasinoMostPlayedSectionNd-fUIG4YVh.js → CasinoMostPlayedSectionNd-S6ts_CYh.js} +46 -46
  34. package/components/{CasinoMyGamesNd-C7EhUNcw.cjs → CasinoMyGamesNd-BS2PoJ2a.cjs} +1 -1
  35. package/components/{CasinoMyGamesNd-BWcI8LIL.js → CasinoMyGamesNd-C2FLMGUe.js} +42 -42
  36. package/components/{CasinoMyGamesNd-C-mFyaRP.js → CasinoMyGamesNd-CkEhzUen.js} +41 -41
  37. package/components/{CasinoPageNd-DPcb44Qe.js → CasinoPageNd-BRWbTx8q.js} +93 -93
  38. package/components/{CasinoPageNd-Df3xbGnc.cjs → CasinoPageNd-DqENu2Tu.cjs} +1 -1
  39. package/components/{CasinoPageNd-C8cezRi1.js → CasinoPageNd-mPiA5_16.js} +95 -95
  40. package/components/{CasinoRandomGame-KabCqklE.cjs → CasinoRandomGame-CdQVMLbd.cjs} +2 -2
  41. package/components/{CasinoRandomGame-BAEkb2tu.js → CasinoRandomGame-CtAOJXnF.js} +110 -110
  42. package/components/{CasinoRandomGame-BmMyshhG.js → CasinoRandomGame-D7RweU9Y.js} +59 -59
  43. package/components/{CasinoSearchNd-Du-3roUg.js → CasinoSearchNd-CtwL1Nv0.js} +32 -32
  44. package/components/{CasinoSearchNd-BwzgUiVX.js → CasinoSearchNd-DCZ8s3vo.js} +50 -50
  45. package/components/{CasinoSearchNd-p14Fvfva.cjs → CasinoSearchNd-DFcbrjhC.cjs} +1 -1
  46. package/components/{CasinoSort-DuhCSjcj.js → CasinoSort-5WNP_G3S.js} +37 -37
  47. package/components/{CasinoSort-Bq2rlwaB.js → CasinoSort-BawqALZV.js} +37 -37
  48. package/components/{CasinoSort-DoQJjcDE.cjs → CasinoSort-Du3lmlNe.cjs} +1 -1
  49. package/components/{CasinoWinners-DrPaYn8M.js → CasinoWinners-BE029Vxq.js} +92 -92
  50. package/components/{CasinoWinners-BW3nKr2t.js → CasinoWinners-DCiuykjq.js} +91 -91
  51. package/components/{CasinoWinners-D7mQLu0o.cjs → CasinoWinners-XkR8Kmij.cjs} +1 -1
  52. package/components/{GeneralAnimationLoading-BK4eHT2E.js → GeneralAnimationLoading-BETs-Kib.js} +14 -14
  53. package/components/{GeneralAnimationLoading-BlaU9rOM.js → GeneralAnimationLoading-BlN4kA08.js} +14 -14
  54. package/components/{GeneralAnimationLoading-QrfZPZRh.cjs → GeneralAnimationLoading-lIyg2-0l.cjs} +1 -1
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-Ct3VSPhq.js → casino-play-random-game-Bc2XLGRl.js} +1 -1
  60. package/stencil/{casino-play-random-game-DyfvRpYv.js → casino-play-random-game-d1PoE_Vf.js} +1 -1
  61. package/stencil/{casino-play-random-game-BMX5GkhL.cjs → casino-play-random-game-wi94nFPy.cjs} +1 -1
  62. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  63. package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-C7V2DWFg.js} +176 -176
  64. package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-DIpvPU9H.js} +187 -187
  65. package/stencil/index-ab3202d6-BwBGn0Oj.cjs +1 -0
  66. package/stencil/index-ab3202d6-CiI9jxo9.js +575 -0
  67. package/stencil/{index-ab3202d6-BXlsno-y.js → index-ab3202d6-Cowbr6qN.js} +195 -195
  68. package/stencil/index-b2193545-BL364Gzq.js +503 -0
  69. package/stencil/index-b2193545-DdqB2rk5.js +519 -0
  70. package/stencil/index-b2193545-DmjUkkS8.cjs +1 -0
  71. package/stencil/{ui-image-bN_3pDWc.js → ui-image-B_HWMBI-.js} +1 -1
  72. package/stencil/{ui-image-2_i-_1cj.js → ui-image-CzGNxx73.js} +1 -1
  73. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  74. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  75. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  76. package/stencil/{ui-image-eY8BEG3a.cjs → ui-image-wubI3fkK.cjs} +1 -1
  77. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-CzFe50WB.js} +2 -2
  78. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  79. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-z5LhXZY2.js} +2 -2
  80. package/stencil/{ui-skeleton-CSMUbPcJ.js → ui-skeleton-CsmgJUYN.js} +2 -2
  81. package/stencil/{ui-skeleton-DcmFcn7k.cjs → ui-skeleton-DTQ__6LQ.cjs} +1 -1
  82. package/stencil/{ui-skeleton-ae35c6f2-DDHvWmVB.js → ui-skeleton-ae35c6f2-BRNiEwlg.js} +1 -1
  83. package/stencil/{ui-skeleton-ae35c6f2-D1Tb0H8D.cjs → ui-skeleton-ae35c6f2-CZuWo9GO.cjs} +1 -1
  84. package/stencil/{ui-skeleton-ae35c6f2-9hZ7WFQc.js → ui-skeleton-ae35c6f2-CxSezPtG.js} +1 -1
  85. package/stencil/{ui-skeleton-CiszU04_.js → ui-skeleton-yRWBmyfK.js} +2 -2
  86. package/components/CasinoCalendar-BEFWuyZL.cjs +0 -19
  87. package/components/CasinoCalendarDailyDetails-B0uEWbbt.cjs +0 -1
  88. package/components/CasinoGameThumbnailNd-Cl4NaQ7h.cjs +0 -30
  89. package/components/CasinoGamesCategorySectionNd-COgh4Qnu.cjs +0 -1
  90. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
  91. package/stencil/index-ab3202d6-Dv-5ZSZX.cjs +0 -1
  92. package/stencil/index-ab3202d6-ncf4oQhs.js +0 -575
  93. package/stencil/index-b2193545-DVT8jgVo.cjs +0 -1
  94. package/stencil/index-b2193545-Dxw-xjac.js +0 -503
  95. package/stencil/index-b2193545-TbRClz6K.js +0 -519
@@ -1,4 +1,4 @@
1
- import { $ as E, O as M, S as R, i as j, s as z, f as l, b as H, n as I, d as O, h as q, j as A, r as J, o as K, E as n, C as N, H as T, I as U, J as V, K as B } from "./CasinoCalendar-OJZrTCla.js";
1
+ import { $ as E, O as M, S as R, i as j, f as l, c as z, s as G, b as H, e as O, y as N, d as A, G as q, j as D, o as T, H as n, n as U, p as V, q as B, r as J } from "./CasinoCalendar-DdMvhCOA.js";
2
2
  if (typeof window != "undefined") {
3
3
  let s = function(e) {
4
4
  return function(...t) {
@@ -11,11 +11,11 @@ if (typeof window != "undefined") {
11
11
  }
12
12
  };
13
13
  };
14
- customElements.define = s(customElements.define), import("./CasinoGamesCategorySectionNd-Dyi26BBy.js").then(({ default: e }) => {
14
+ customElements.define = s(customElements.define), import("./CasinoGamesCategorySectionNd-CGOJc4eo.js").then(({ default: e }) => {
15
15
  !customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", e.element);
16
16
  });
17
17
  }
18
- function G({ withLocale: s, translations: e }) {
18
+ function K({ withLocale: s, translations: e }) {
19
19
  E.subscribe((t) => {
20
20
  t == null && (M.set(e), E.set(s));
21
21
  });
@@ -27,7 +27,7 @@ function L(s) {
27
27
  let e;
28
28
  return {
29
29
  c() {
30
- e = A("casino-games-category-section-nd"), n(
30
+ e = O("casino-games-category-section-nd"), n(
31
31
  e,
32
32
  "session",
33
33
  /*session*/
@@ -120,7 +120,7 @@ function L(s) {
120
120
  );
121
121
  },
122
122
  m(t, a) {
123
- q(t, e, a);
123
+ A(t, e, a);
124
124
  },
125
125
  p(t, a) {
126
126
  a & /*session*/
@@ -234,7 +234,7 @@ function L(s) {
234
234
  );
235
235
  },
236
236
  d(t) {
237
- t && O(e);
237
+ t && D(e);
238
238
  }
239
239
  };
240
240
  }
@@ -245,28 +245,28 @@ function Q(s) {
245
245
  );
246
246
  return {
247
247
  c() {
248
- e = A("div"), t && t.c(), J(e, "class", "CasinoFavoritesSectionContainer");
248
+ e = O("div"), t && t.c(), N(e, "class", "CasinoFavoritesSectionContainer");
249
249
  },
250
250
  m(a, g) {
251
- q(a, e, g), t && t.m(e, null), s[19](e);
251
+ A(a, e, g), t && t.m(e, null), s[19](e);
252
252
  },
253
253
  p(a, [g]) {
254
254
  /*session*/
255
255
  a[4] ? t ? t.p(a, g) : (t = L(a), t.c(), t.m(e, null)) : t && (t.d(1), t = null);
256
256
  },
257
- i: I,
258
- o: I,
257
+ i: q,
258
+ o: q,
259
259
  d(a) {
260
- a && O(e), t && t.d(), s[19](null);
260
+ a && D(e), t && t.d(), s[19](null);
261
261
  }
262
262
  };
263
263
  }
264
264
  function W(s, e, t) {
265
265
  let { endpoint: a = "" } = e, { datasource: g = "" } = e, { currency: u = "" } = e, { lang: f = "" } = e, { session: h = "" } = e, { userid: d = "" } = e, { mbsource: r } = e, { clientstyling: o = "" } = e, { clientstylingurl: c = "" } = e, { livecasino: y = "false" } = e, { integratedgameframemobile: b = "false" } = e, { integratedgameframedesktop: v = "false" } = e, { showgamename: w = "" } = e, { gamepagemodalurl: _ = "false" } = e, { visiblegames: k = "" } = e, { favorites: C = "" } = e, { casinomygames: S = "false" } = e, { fetchviaevent: F = "true" } = e, m;
266
- G({ withLocale: "en", translations: {} }), K(() => () => {
266
+ K({ withLocale: "en", translations: {} }), T(() => () => {
267
267
  });
268
- function D(i) {
269
- N[i ? "unshift" : "push"](() => {
268
+ function I(i) {
269
+ U[i ? "unshift" : "push"](() => {
270
270
  m = i, t(18, m);
271
271
  });
272
272
  }
@@ -274,9 +274,9 @@ function W(s, e, t) {
274
274
  "endpoint" in i && t(0, a = i.endpoint), "datasource" in i && t(1, g = 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), "mbsource" in i && t(6, r = i.mbsource), "clientstyling" in i && t(7, o = i.clientstyling), "clientstylingurl" in i && t(8, c = i.clientstylingurl), "livecasino" in i && t(9, y = i.livecasino), "integratedgameframemobile" in i && t(10, b = i.integratedgameframemobile), "integratedgameframedesktop" in i && t(11, v = i.integratedgameframedesktop), "showgamename" in i && t(12, w = i.showgamename), "gamepagemodalurl" in i && t(13, _ = i.gamepagemodalurl), "visiblegames" in i && t(14, k = i.visiblegames), "favorites" in i && t(15, C = i.favorites), "casinomygames" in i && t(16, S = i.casinomygames), "fetchviaevent" in i && t(17, F = i.fetchviaevent);
275
275
  }, s.$$.update = () => {
276
276
  s.$$.dirty & /*clientstyling, customStylingContainer*/
277
- 262272 && o && m && T(m, o), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
278
- 262400 && c && m && U(m, c), s.$$.dirty & /*mbsource, customStylingContainer*/
279
- 262208 && r && m && V(m, `${r}.Style`);
277
+ 262272 && o && m && V(m, o), s.$$.dirty & /*clientstylingurl, customStylingContainer*/
278
+ 262400 && c && m && B(m, c), s.$$.dirty & /*mbsource, customStylingContainer*/
279
+ 262208 && r && m && J(m, `${r}.Style`);
280
280
  }, [
281
281
  a,
282
282
  g,
@@ -297,7 +297,7 @@ function W(s, e, t) {
297
297
  S,
298
298
  F,
299
299
  m,
300
- D
300
+ I
301
301
  ];
302
302
  }
303
303
  class X extends R {
@@ -307,7 +307,7 @@ class X extends R {
307
307
  e,
308
308
  W,
309
309
  Q,
310
- z,
310
+ G,
311
311
  {
312
312
  endpoint: 0,
313
313
  datasource: 1,
@@ -440,7 +440,7 @@ class X extends R {
440
440
  this.$$set({ fetchviaevent: e }), l();
441
441
  }
442
442
  }
443
- B(X, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
443
+ z(X, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
444
444
  export {
445
445
  X as default
446
446
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BEFWuyZL.cjs");if(typeof window!="undefined"){let a=function(e){return function(...s){try{return e.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySectionNd-COgh4Qnu.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-nd",e.element)})}function L({withLocale:a,translations:e}){t.$locale.subscribe(s=>{s==null&&(t.$dictionary.set(e),t.$locale.set(a))})}function M(a){t.append_styles(a,"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))}")}function F(a){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",a[4]),t.set_custom_element_data(e,"userid",a[5]),t.set_custom_element_data(e,"endpoint",a[0]),t.set_custom_element_data(e,"datasource",a[1]),t.set_custom_element_data(e,"lang",a[3]),t.set_custom_element_data(e,"currency",a[2]),t.set_custom_element_data(e,"favorites",a[15]),t.set_custom_element_data(e,"fetchviaevent",a[17]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",a[12]),t.set_custom_element_data(e,"clientstyling",a[7]),t.set_custom_element_data(e,"clientstylingurl",a[8]),t.set_custom_element_data(e,"livecasino",a[9]),t.set_custom_element_data(e,"visiblegames",a[14]),t.set_custom_element_data(e,"gamepagemodalurl",a[13]),t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),t.set_custom_element_data(e,"integratedgameframemobile",a[10]),t.set_custom_element_data(e,"casinomygames",a[16]),t.set_custom_element_data(e,"mbsource",a[6])},m(s,i){t.insert(s,e,i)},p(s,i){i&16&&t.set_custom_element_data(e,"session",s[4]),i&32&&t.set_custom_element_data(e,"userid",s[5]),i&1&&t.set_custom_element_data(e,"endpoint",s[0]),i&2&&t.set_custom_element_data(e,"datasource",s[1]),i&8&&t.set_custom_element_data(e,"lang",s[3]),i&4&&t.set_custom_element_data(e,"currency",s[2]),i&32768&&t.set_custom_element_data(e,"favorites",s[15]),i&131072&&t.set_custom_element_data(e,"fetchviaevent",s[17]),i&4096&&t.set_custom_element_data(e,"showgamename",s[12]),i&128&&t.set_custom_element_data(e,"clientstyling",s[7]),i&256&&t.set_custom_element_data(e,"clientstylingurl",s[8]),i&512&&t.set_custom_element_data(e,"livecasino",s[9]),i&16384&&t.set_custom_element_data(e,"visiblegames",s[14]),i&8192&&t.set_custom_element_data(e,"gamepagemodalurl",s[13]),i&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",s[11]),i&1024&&t.set_custom_element_data(e,"integratedgameframemobile",s[10]),i&65536&&t.set_custom_element_data(e,"casinomygames",s[16]),i&64&&t.set_custom_element_data(e,"mbsource",s[6])},d(s){s&&t.detach(e)}}}function O(a){let e,s=a[4]&&F(a);return{c(){e=t.element("div"),s&&s.c(),t.attr(e,"class","CasinoFavoritesSectionContainer")},m(i,l){t.insert(i,e,l),s&&s.m(e,null),a[19](e)},p(i,[l]){i[4]?s?s.p(i,l):(s=F(i),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(i){i&&t.detach(e),s&&s.d(),a[19](null)}}}function A(a,e,s){let{endpoint:i=""}=e,{datasource:l=""}=e,{currency:g=""}=e,{lang:r=""}=e,{session:f=""}=e,{userid:_=""}=e,{mbsource:o}=e,{clientstyling:u=""}=e,{clientstylingurl:c=""}=e,{livecasino:d="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:y="false"}=e,{showgamename:b=""}=e,{gamepagemodalurl:v="false"}=e,{visiblegames:w=""}=e,{favorites:k=""}=e,{casinomygames:C="false"}=e,{fetchviaevent:S="true"}=e,m;L({withLocale:"en",translations:{}}),t.onMount(()=>()=>{});function q(n){t.binding_callbacks[n?"unshift":"push"](()=>{m=n,s(18,m)})}return a.$$set=n=>{"endpoint"in n&&s(0,i=n.endpoint),"datasource"in n&&s(1,l=n.datasource),"currency"in n&&s(2,g=n.currency),"lang"in n&&s(3,r=n.lang),"session"in n&&s(4,f=n.session),"userid"in n&&s(5,_=n.userid),"mbsource"in n&&s(6,o=n.mbsource),"clientstyling"in n&&s(7,u=n.clientstyling),"clientstylingurl"in n&&s(8,c=n.clientstylingurl),"livecasino"in n&&s(9,d=n.livecasino),"integratedgameframemobile"in n&&s(10,h=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(11,y=n.integratedgameframedesktop),"showgamename"in n&&s(12,b=n.showgamename),"gamepagemodalurl"in n&&s(13,v=n.gamepagemodalurl),"visiblegames"in n&&s(14,w=n.visiblegames),"favorites"in n&&s(15,k=n.favorites),"casinomygames"in n&&s(16,C=n.casinomygames),"fetchviaevent"in n&&s(17,S=n.fetchviaevent)},a.$$.update=()=>{a.$$.dirty&262272&&u&&m&&t.setClientStyling(m,u),a.$$.dirty&262400&&c&&m&&t.setClientStylingURL(m,c),a.$$.dirty&262208&&o&&m&&t.setStreamStyling(m,`${o}.Style`)},[i,l,g,r,f,_,o,u,c,d,h,y,b,v,w,k,C,S,m,q]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,A,O,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,showgamename:12,gamepagemodalurl:13,visiblegames:14,favorites:15,casinomygames:16,fetchviaevent:17},M)}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(E,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{}},[],[],!0);exports.default=E;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-CFUoQxq0.cjs");if(typeof window!="undefined"){let a=function(e){return function(...s){try{return e.apply(this,s)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=a(customElements.define),Promise.resolve().then(()=>require("./CasinoGamesCategorySectionNd-BAynLaaR.cjs")).then(({default:e})=>{!customElements.get("casino-games-category-section-nd")&&customElements.define("casino-games-category-section-nd",e.element)})}function L({withLocale:a,translations:e}){t.$locale.subscribe(s=>{s==null&&(t.$dictionary.set(e),t.$locale.set(a))})}function M(a){t.append_styles(a,"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))}")}function F(a){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",a[4]),t.set_custom_element_data(e,"userid",a[5]),t.set_custom_element_data(e,"endpoint",a[0]),t.set_custom_element_data(e,"datasource",a[1]),t.set_custom_element_data(e,"lang",a[3]),t.set_custom_element_data(e,"currency",a[2]),t.set_custom_element_data(e,"favorites",a[15]),t.set_custom_element_data(e,"fetchviaevent",a[17]),t.set_custom_element_data(e,"categoryid","FAVORITES"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",a[12]),t.set_custom_element_data(e,"clientstyling",a[7]),t.set_custom_element_data(e,"clientstylingurl",a[8]),t.set_custom_element_data(e,"livecasino",a[9]),t.set_custom_element_data(e,"visiblegames",a[14]),t.set_custom_element_data(e,"gamepagemodalurl",a[13]),t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),t.set_custom_element_data(e,"integratedgameframemobile",a[10]),t.set_custom_element_data(e,"casinomygames",a[16]),t.set_custom_element_data(e,"mbsource",a[6])},m(s,i){t.insert(s,e,i)},p(s,i){i&16&&t.set_custom_element_data(e,"session",s[4]),i&32&&t.set_custom_element_data(e,"userid",s[5]),i&1&&t.set_custom_element_data(e,"endpoint",s[0]),i&2&&t.set_custom_element_data(e,"datasource",s[1]),i&8&&t.set_custom_element_data(e,"lang",s[3]),i&4&&t.set_custom_element_data(e,"currency",s[2]),i&32768&&t.set_custom_element_data(e,"favorites",s[15]),i&131072&&t.set_custom_element_data(e,"fetchviaevent",s[17]),i&4096&&t.set_custom_element_data(e,"showgamename",s[12]),i&128&&t.set_custom_element_data(e,"clientstyling",s[7]),i&256&&t.set_custom_element_data(e,"clientstylingurl",s[8]),i&512&&t.set_custom_element_data(e,"livecasino",s[9]),i&16384&&t.set_custom_element_data(e,"visiblegames",s[14]),i&8192&&t.set_custom_element_data(e,"gamepagemodalurl",s[13]),i&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",s[11]),i&1024&&t.set_custom_element_data(e,"integratedgameframemobile",s[10]),i&65536&&t.set_custom_element_data(e,"casinomygames",s[16]),i&64&&t.set_custom_element_data(e,"mbsource",s[6])},d(s){s&&t.detach(e)}}}function O(a){let e,s=a[4]&&F(a);return{c(){e=t.element("div"),s&&s.c(),t.attr(e,"class","CasinoFavoritesSectionContainer")},m(i,l){t.insert(i,e,l),s&&s.m(e,null),a[19](e)},p(i,[l]){i[4]?s?s.p(i,l):(s=F(i),s.c(),s.m(e,null)):s&&(s.d(1),s=null)},i:t.noop,o:t.noop,d(i){i&&t.detach(e),s&&s.d(),a[19](null)}}}function A(a,e,s){let{endpoint:i=""}=e,{datasource:l=""}=e,{currency:g=""}=e,{lang:r=""}=e,{session:f=""}=e,{userid:_=""}=e,{mbsource:o}=e,{clientstyling:u=""}=e,{clientstylingurl:c=""}=e,{livecasino:d="false"}=e,{integratedgameframemobile:h="false"}=e,{integratedgameframedesktop:y="false"}=e,{showgamename:b=""}=e,{gamepagemodalurl:v="false"}=e,{visiblegames:w=""}=e,{favorites:k=""}=e,{casinomygames:C="false"}=e,{fetchviaevent:S="true"}=e,m;L({withLocale:"en",translations:{}}),t.onMount(()=>()=>{});function q(n){t.binding_callbacks[n?"unshift":"push"](()=>{m=n,s(18,m)})}return a.$$set=n=>{"endpoint"in n&&s(0,i=n.endpoint),"datasource"in n&&s(1,l=n.datasource),"currency"in n&&s(2,g=n.currency),"lang"in n&&s(3,r=n.lang),"session"in n&&s(4,f=n.session),"userid"in n&&s(5,_=n.userid),"mbsource"in n&&s(6,o=n.mbsource),"clientstyling"in n&&s(7,u=n.clientstyling),"clientstylingurl"in n&&s(8,c=n.clientstylingurl),"livecasino"in n&&s(9,d=n.livecasino),"integratedgameframemobile"in n&&s(10,h=n.integratedgameframemobile),"integratedgameframedesktop"in n&&s(11,y=n.integratedgameframedesktop),"showgamename"in n&&s(12,b=n.showgamename),"gamepagemodalurl"in n&&s(13,v=n.gamepagemodalurl),"visiblegames"in n&&s(14,w=n.visiblegames),"favorites"in n&&s(15,k=n.favorites),"casinomygames"in n&&s(16,C=n.casinomygames),"fetchviaevent"in n&&s(17,S=n.fetchviaevent)},a.$$.update=()=>{a.$$.dirty&262272&&u&&m&&t.setClientStyling(m,u),a.$$.dirty&262400&&c&&m&&t.setClientStylingURL(m,c),a.$$.dirty&262208&&o&&m&&t.setStreamStyling(m,`${o}.Style`)},[i,l,g,r,f,_,o,u,c,d,h,y,b,v,w,k,C,S,m,q]}class E extends t.SvelteComponent{constructor(e){super(),t.init(this,e,A,O,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,showgamename:12,gamepagemodalurl:13,visiblegames:14,favorites:15,casinomygames:16,fetchviaevent:17},M)}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get showgamename(){return this.$$.ctx[12]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[13]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(E,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},showgamename:{},gamepagemodalurl:{},visiblegames:{},favorites:{},casinomygames:{},fetchviaevent:{}},[],[],!0);exports.default=E;
@@ -1,4 +1,4 @@
1
- import { $ as re, O as pe, a as me, S as he, i as Fe, s as be, f as I, b as ye, n as ie, d as D, h as j, j as u, k as ve, o as we, P as _e, C as ke, r as o, v as ae, w as Ce, M as ge, m as J, p as s, A as te, F as ee, B as O, q as T, Q as ne, D as oe, H as xe, I as Se, J as Ie, K as Le, L as Pe } from "./CasinoCalendar-OJZrTCla.js";
1
+ import { $ as re, O as pe, a as me, S as he, i as Fe, f as I, c as be, s as ye, b as ve, e as u, d as j, G as ie, j as z, k as we, o as _e, P as ke, n as Ce, p as xe, q as Se, r as Ie, v as ae, K as ee, w as O, x as T, y as o, z as s, A as te, E as J, F as Le, M as ge, Q as ne, J as Pe, I as oe } from "./CasinoCalendar-DdMvhCOA.js";
2
2
  function Ae({ withLocale: r, translations: e }) {
3
3
  re.subscribe((t) => {
4
4
  t == null && (pe.set(e), re.set(r));
@@ -118,7 +118,7 @@ const ce = {
118
118
  }
119
119
  };
120
120
  function Oe(r) {
121
- ye(r, "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%}}');
121
+ ve(r, "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%}}');
122
122
  }
123
123
  function de(r, e, t) {
124
124
  const i = r.slice();
@@ -131,17 +131,17 @@ function Ee(r) {
131
131
  ), g, k, y, E, P = (
132
132
  /*$_*/
133
133
  r[11]("providers") + ""
134
- ), x, C, F, p, f, L, B, z, q, _, M, Q, A, V = (
134
+ ), x, C, F, p, f, L, B, D, q, _, M, Q, A, V = (
135
135
  /*$_*/
136
136
  r[11]("clear") + ""
137
- ), K, W, R, H, U, X;
137
+ ), G, W, K, H, R, X;
138
138
  function Y(n, m) {
139
139
  return (
140
140
  /*fullSelection*/
141
141
  n[7] ? Me : Be
142
142
  );
143
143
  }
144
- let Z = Y(r), S = Z(r), N = ae(
144
+ let U = Y(r), S = U(r), N = ae(
145
145
  /*vendorArray*/
146
146
  r[5]
147
147
  ), l = [];
@@ -152,12 +152,12 @@ function Ee(r) {
152
152
  e = u("div"), t = u("div"), i = u("div"), a = ee("svg"), d = ee("path"), h = O(), v = u("div"), w = u("span"), g = T(b), k = O(), y = u("div"), E = u("span"), x = T(P), C = O(), S.c(), F = O(), p = u("span"), f = ee("svg"), L = ee("path"), q = O(), _ = u("div"), M = u("ul");
153
153
  for (let n = 0; n < l.length; n += 1)
154
154
  l[n].c();
155
- Q = O(), A = u("button"), K = T(V), o(d, "id", "noun_filter_736223"), o(d, "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"), o(d, "transform", "translate(-5 -6.2)"), o(d, "fill", "#fff"), o(a, "xmlns", "http://www.w3.org/2000/svg"), o(a, "width", "16"), o(a, "height", "16"), o(a, "viewBox", "0 0 16 16"), o(w, "class", "FilterName"), o(y, "class", "FilterValueContainer"), o(v, "class", "FilterTextContainer"), o(i, "class", "FilterMainArea"), o(L, "id", "arrow"), o(L, "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"), o(L, "transform", "translate(-274.511 -441.088)"), o(L, "fill", "#d1d1d1"), o(f, "xmlns", "http://www.w3.org/2000/svg"), o(f, "width", "14"), o(f, "height", "6.835"), o(f, "viewBox", "0 0 14 6.835"), o(p, "class", B = "TriangleInactive " + /*isFilterActive*/
156
- (r[4] ? "TriangleActive" : "")), o(t, "class", z = "FilterSelector " + /*isFilterActive*/
155
+ Q = O(), A = u("button"), G = T(V), o(d, "id", "noun_filter_736223"), o(d, "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"), o(d, "transform", "translate(-5 -6.2)"), o(d, "fill", "#fff"), o(a, "xmlns", "http://www.w3.org/2000/svg"), o(a, "width", "16"), o(a, "height", "16"), o(a, "viewBox", "0 0 16 16"), o(w, "class", "FilterName"), o(y, "class", "FilterValueContainer"), o(v, "class", "FilterTextContainer"), o(i, "class", "FilterMainArea"), o(L, "id", "arrow"), o(L, "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"), o(L, "transform", "translate(-274.511 -441.088)"), o(L, "fill", "#d1d1d1"), o(f, "xmlns", "http://www.w3.org/2000/svg"), o(f, "width", "14"), o(f, "height", "6.835"), o(f, "viewBox", "0 0 14 6.835"), o(p, "class", B = "TriangleInactive " + /*isFilterActive*/
156
+ (r[4] ? "TriangleActive" : "")), o(t, "class", D = "FilterSelector " + /*isFilterActive*/
157
157
  (r[4] ? "FilterSelectorOpen" : "")), o(M, "class", "FilterDropdown"), o(A, "class", "ClearFilters"), A.disabled = W = /*fullSelection*/
158
158
  r[7] && /*selectedVendorArray*/
159
159
  r[6].length != /*vendorArray*/
160
- r[5].length, o(_, "class", R = "FilterDropdownContainer " + /*isFilterActive*/
160
+ r[5].length, o(_, "class", K = "FilterDropdownContainer " + /*isFilterActive*/
161
161
  (r[4] ? "FilterOpen" : "")), o(e, "class", H = "FilterContainer " + /*addfilterselector*/
162
162
  (r[0] == "true" && /*addsortingselector*/
163
163
  r[1] == "true" ? "FilerContainerSplit" : ""));
@@ -166,7 +166,7 @@ function Ee(r) {
166
166
  j(n, e, m), s(e, t), s(t, i), s(i, a), s(a, d), s(i, h), s(i, v), s(v, w), s(w, g), s(v, k), s(v, y), s(y, E), s(E, x), s(y, C), S.m(y, null), s(t, F), s(t, p), s(p, f), s(f, L), s(e, q), s(e, _), s(_, M);
167
167
  for (let c = 0; c < l.length; c += 1)
168
168
  l[c] && l[c].m(M, null);
169
- s(_, Q), s(_, A), s(A, K), U || (X = [
169
+ s(_, Q), s(_, A), s(A, G), R || (X = [
170
170
  te(
171
171
  t,
172
172
  "click",
@@ -179,18 +179,18 @@ function Ee(r) {
179
179
  /*click_handler_2*/
180
180
  r[27]
181
181
  )
182
- ], U = !0);
182
+ ], R = !0);
183
183
  },
184
184
  p(n, m) {
185
185
  if (m[0] & /*$_*/
186
186
  2048 && b !== (b = /*$_*/
187
187
  n[11]("filterby") + "") && J(g, b), m[0] & /*$_*/
188
188
  2048 && P !== (P = /*$_*/
189
- n[11]("providers") + "") && J(x, P), Z === (Z = Y(n)) && S ? S.p(n, m) : (S.d(1), S = Z(n), S && (S.c(), S.m(y, null))), m[0] & /*isFilterActive*/
189
+ n[11]("providers") + "") && J(x, P), U === (U = Y(n)) && S ? S.p(n, m) : (S.d(1), S = U(n), S && (S.c(), S.m(y, null))), m[0] & /*isFilterActive*/
190
190
  16 && B !== (B = "TriangleInactive " + /*isFilterActive*/
191
191
  (n[4] ? "TriangleActive" : "")) && o(p, "class", B), m[0] & /*isFilterActive*/
192
- 16 && z !== (z = "FilterSelector " + /*isFilterActive*/
193
- (n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", z), m[0] & /*filterbylogo, vendorArray, filterByVendors*/
192
+ 16 && D !== (D = "FilterSelector " + /*isFilterActive*/
193
+ (n[4] ? "FilterSelectorOpen" : "")) && o(t, "class", D), m[0] & /*filterbylogo, vendorArray, filterByVendors*/
194
194
  8228) {
195
195
  N = ae(
196
196
  /*vendorArray*/
@@ -198,8 +198,8 @@ function Ee(r) {
198
198
  );
199
199
  let c;
200
200
  for (c = 0; c < N.length; c += 1) {
201
- const G = de(n, N, c);
202
- l[c] ? l[c].p(G, m) : (l[c] = fe(G), l[c].c(), l[c].m(M, null));
201
+ const Z = de(n, N, c);
202
+ l[c] ? l[c].p(Z, m) : (l[c] = fe(Z), l[c].c(), l[c].m(M, null));
203
203
  }
204
204
  for (; c < l.length; c += 1)
205
205
  l[c].d(1);
@@ -207,19 +207,19 @@ function Ee(r) {
207
207
  }
208
208
  m[0] & /*$_*/
209
209
  2048 && V !== (V = /*$_*/
210
- n[11]("clear") + "") && J(K, V), m[0] & /*fullSelection, selectedVendorArray, vendorArray*/
210
+ n[11]("clear") + "") && J(G, V), m[0] & /*fullSelection, selectedVendorArray, vendorArray*/
211
211
  224 && W !== (W = /*fullSelection*/
212
212
  n[7] && /*selectedVendorArray*/
213
213
  n[6].length != /*vendorArray*/
214
214
  n[5].length) && (A.disabled = W), m[0] & /*isFilterActive*/
215
- 16 && R !== (R = "FilterDropdownContainer " + /*isFilterActive*/
216
- (n[4] ? "FilterOpen" : "")) && o(_, "class", R), m[0] & /*addfilterselector, addsortingselector*/
215
+ 16 && K !== (K = "FilterDropdownContainer " + /*isFilterActive*/
216
+ (n[4] ? "FilterOpen" : "")) && o(_, "class", K), m[0] & /*addfilterselector, addsortingselector*/
217
217
  3 && H !== (H = "FilterContainer " + /*addfilterselector*/
218
218
  (n[0] == "true" && /*addsortingselector*/
219
219
  n[1] == "true" ? "FilerContainerSplit" : "")) && o(e, "class", H);
220
220
  },
221
221
  d(n) {
222
- n && D(e), S.d(), Ce(l, n), U = !1, ge(X);
222
+ n && z(e), S.d(), Le(l, n), R = !1, ge(X);
223
223
  }
224
224
  };
225
225
  }
@@ -241,7 +241,7 @@ function Te(r) {
241
241
  i[11]("500") + "") && (e.innerHTML = t);
242
242
  },
243
243
  d(i) {
244
- i && D(e);
244
+ i && z(e);
245
245
  }
246
246
  };
247
247
  }
@@ -266,7 +266,7 @@ function Be(r) {
266
266
  );
267
267
  },
268
268
  d(i) {
269
- i && D(e);
269
+ i && z(e);
270
270
  }
271
271
  };
272
272
  }
@@ -288,7 +288,7 @@ function Me(r) {
288
288
  a[11]("all") + "") && J(i, t);
289
289
  },
290
290
  d(a) {
291
- a && D(e);
291
+ a && z(e);
292
292
  }
293
293
  };
294
294
  }
@@ -308,11 +308,11 @@ function Ne(r) {
308
308
  i[37].logo) && o(e, "src", t);
309
309
  },
310
310
  d(i) {
311
- i && D(e);
311
+ i && z(e);
312
312
  }
313
313
  };
314
314
  }
315
- function De(r) {
315
+ function je(r) {
316
316
  let e, t, i = (
317
317
  /*vendor*/
318
318
  r[37].name + ""
@@ -335,7 +335,7 @@ function De(r) {
335
335
  k[37].games.total + "") && J(b, w);
336
336
  },
337
337
  d(k) {
338
- k && D(e);
338
+ k && z(e);
339
339
  }
340
340
  };
341
341
  }
@@ -364,7 +364,7 @@ function fe(r) {
364
364
  /*filterbylogo*/
365
365
  p[2] === "false"
366
366
  )
367
- return De;
367
+ return je;
368
368
  if (
369
369
  /*filterbylogo*/
370
370
  p[2] === "true"
@@ -398,11 +398,11 @@ function fe(r) {
398
398
  r[37].name) && (e.value = g);
399
399
  },
400
400
  d(p) {
401
- p && D(e), F && F.d(), k = !1, ge(y);
401
+ p && z(e), F && F.d(), k = !1, ge(y);
402
402
  }
403
403
  };
404
404
  }
405
- function je(r) {
405
+ function ze(r) {
406
406
  let e;
407
407
  function t(d, h) {
408
408
  if (
@@ -428,14 +428,14 @@ function je(r) {
428
428
  i: ie,
429
429
  o: ie,
430
430
  d(d) {
431
- d && D(e), a && a.d(), r[28](null);
431
+ d && z(e), a && a.d(), r[28](null);
432
432
  }
433
433
  };
434
434
  }
435
- function ze(r, e, t) {
435
+ function De(r, e, t) {
436
436
  let i;
437
- ve(r, Pe, (l) => t(11, i = l));
438
- let { endpoint: a = "" } = e, { datasource: d = "" } = e, { lang: h = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: g = "" } = e, { addfilterselector: k = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: E = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: x = "false" } = e, C = !1, F = window.navigator.userAgent, p = [], f = [], L = {}, B = !1, z = 0, q = !0, _, M = !1;
437
+ we(r, Pe, (l) => t(11, i = l));
438
+ let { endpoint: a = "" } = e, { datasource: d = "" } = e, { lang: h = "" } = e, { translationurl: v = "" } = e, { clientstyling: w = "" } = e, { clientstylingurl: b = "" } = e, { categoryid: g = "" } = e, { addfilterselector: k = "false" } = e, { addsortingselector: y = "false" } = e, { filterbylogo: E = "false" } = e, { mbsource: P } = e, { usesinglevendorfilter: x = "false" } = e, C = !1, F = window.navigator.userAgent, p = [], f = [], L = {}, B = !1, D = 0, q = !0, _, M = !1;
439
439
  Ae({ withLocale: "en", translations: {} });
440
440
  const Q = () => {
441
441
  fetch(v).then((n) => n.json()).then((n) => {
@@ -454,18 +454,18 @@ function ze(r, e, t) {
454
454
  }, V = (l) => (t(9, q = !0), new Promise((n, m) => {
455
455
  fetch(l).then((c) => c.json()).then((c) => {
456
456
  c = c.items, n(c.items), t(6, f = []);
457
- let G = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
457
+ let Z = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
458
458
  const ue = x === "true" ? "*" : g;
459
459
  c.forEach(($) => {
460
460
  var le;
461
- G || (G = { currentCategoryId: [] }), ((le = G[ue]) == null ? void 0 : le.indexOf($.id)) >= 0 ? ($.isFilterSelected = !0, f.push($)) : $.isFilterSelected = !1;
461
+ Z || (Z = { currentCategoryId: [] }), ((le = Z[ue]) == null ? void 0 : le.indexOf($.id)) >= 0 ? ($.isFilterSelected = !0, f.push($)) : $.isFilterSelected = !1;
462
462
  }), t(5, p = c), W();
463
463
  }).catch((c) => {
464
464
  console.error(c), t(10, M = !0), m(c);
465
465
  }).finally(() => {
466
466
  t(9, q = !1);
467
467
  });
468
- })), K = (l) => {
468
+ })), G = (l) => {
469
469
  let n = localStorage.getItem("vendorFiltersByCategory");
470
470
  l.isFilterSelected = !l.isFilterSelected, !f.length || f.filter((c) => c.name === l.name).length == 0 ? f.push(l) : t(6, f = f.filter((c) => c.name !== l.name));
471
471
  const m = x === "true" ? "*" : g;
@@ -473,29 +473,29 @@ function ze(r, e, t) {
473
473
  [m]: f.map((c) => c.id)
474
474
  })) : (n = JSON.parse(n), n[m] = f.map((c) => c.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(n))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), W();
475
475
  }, W = () => {
476
- t(7, B = f.length === p.length || f.length == 0), t(8, z = f.length);
477
- }, R = () => {
476
+ t(7, B = f.length === p.length || f.length == 0), t(8, D = f.length);
477
+ }, K = () => {
478
478
  if (p.length && x === "true")
479
479
  return;
480
480
  const l = new URL(`${a}/v1/casino/vendors`);
481
- t(4, C = !1), l.searchParams.append("fields", "id,name,logo,subVendors,games"), l.searchParams.append("language", h), l.searchParams.append("datasource", d), l.searchParams.append("platform", _e(F)), x === "true" || ((g.match(/\$/g) || []).length > 1 ? (l.searchParams.append("filter", `games(subGroups=${g})`), l.searchParams.append("subVendors", `games(subGroups=${g})`)) : l.searchParams.append("filter", `games(groups=${g})`)), V(l);
481
+ t(4, C = !1), l.searchParams.append("fields", "id,name,logo,subVendors,games"), l.searchParams.append("language", h), l.searchParams.append("datasource", d), l.searchParams.append("platform", ke(F)), x === "true" || ((g.match(/\$/g) || []).length > 1 ? (l.searchParams.append("filter", `games(subGroups=${g})`), l.searchParams.append("subVendors", `games(subGroups=${g})`)) : l.searchParams.append("filter", `games(groups=${g})`)), V(l);
482
482
  }, H = () => {
483
483
  t(6, f = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(L = {
484
484
  [x === "true" ? "*" : g]: f.map((l) => l.id)
485
485
  })), p.forEach((l) => l.isFilterSelected = !1), t(5, p), window.postMessage({ type: "ApplyFilters" }, window.location.href), t(7, B = !0), t(4, C = !1);
486
- }, U = (l) => {
486
+ }, R = (l) => {
487
487
  l.data.type == "SortingOpened" && t(4, C = !1);
488
488
  };
489
- we(() => (window.addEventListener("message", U, !1), () => {
490
- window.removeEventListener("message", U);
489
+ _e(() => (window.addEventListener("message", R, !1), () => {
490
+ window.removeEventListener("message", R);
491
491
  }));
492
492
  const X = () => A();
493
493
  function Y(l, n) {
494
494
  l[n].isFilterSelected = this.checked, t(5, p);
495
495
  }
496
- const Z = (l) => K(l), S = () => H();
496
+ const U = (l) => G(l), S = () => H();
497
497
  function N(l) {
498
- ke[l ? "unshift" : "push"](() => {
498
+ Ce[l ? "unshift" : "push"](() => {
499
499
  _ = l, t(3, _);
500
500
  });
501
501
  }
@@ -503,7 +503,7 @@ function ze(r, e, t) {
503
503
  "endpoint" in l && t(15, a = l.endpoint), "datasource" in l && t(16, d = l.datasource), "lang" in l && t(17, h = l.lang), "translationurl" in l && t(18, v = l.translationurl), "clientstyling" in l && t(19, w = l.clientstyling), "clientstylingurl" in l && t(20, b = l.clientstylingurl), "categoryid" in l && t(21, g = l.categoryid), "addfilterselector" in l && t(0, k = l.addfilterselector), "addsortingselector" in l && t(1, y = l.addsortingselector), "filterbylogo" in l && t(2, E = l.filterbylogo), "mbsource" in l && t(22, P = l.mbsource), "usesinglevendorfilter" in l && t(23, x = l.usesinglevendorfilter);
504
504
  }, r.$$.update = () => {
505
505
  r.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
506
- 2195460 && a && d && g && E && R(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
506
+ 2195460 && a && d && g && E && K(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
507
507
  524296 && w && _ && xe(_, w), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
508
508
  1048584 && b && _ && Se(_, b), r.$$.dirty[0] & /*customStylingContainer, mbsource*/
509
509
  4194312 && _ && Ie(_, `${P}.Style`), r.$$.dirty[0] & /*translationurl*/
@@ -517,12 +517,12 @@ function ze(r, e, t) {
517
517
  p,
518
518
  f,
519
519
  B,
520
- z,
520
+ D,
521
521
  q,
522
522
  M,
523
523
  i,
524
524
  A,
525
- K,
525
+ G,
526
526
  H,
527
527
  a,
528
528
  d,
@@ -535,7 +535,7 @@ function ze(r, e, t) {
535
535
  x,
536
536
  X,
537
537
  Y,
538
- Z,
538
+ U,
539
539
  S,
540
540
  N
541
541
  ];
@@ -545,9 +545,9 @@ class Ve extends he {
545
545
  super(), Fe(
546
546
  this,
547
547
  e,
548
+ De,
548
549
  ze,
549
- je,
550
- be,
550
+ ye,
551
551
  {
552
552
  endpoint: 15,
553
553
  datasource: 16,
@@ -639,7 +639,7 @@ class Ve extends he {
639
639
  this.$$set({ usesinglevendorfilter: e }), I();
640
640
  }
641
641
  }
642
- Le(Ve, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
642
+ be(Ve, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
643
643
  export {
644
644
  Ve as default
645
645
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BEFWuyZL.cjs");function $({withLocale:i,translations:t}){e.$locale.subscribe(l=>{l==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function Z(i,t){e.addMessages(i,t)}const G={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 ee(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 K(i,t,l){const a=i.slice();return a[37]=t[l],a[38]=t,a[39]=l,a}function te(i){let t,l,a,n,c,g,b,y,h=i[11]("filterby")+"",p,_,F,L,S=i[11]("providers")+"",x,w,m,u,d,C,P,T,N,v,A,H,I,E=i[11]("clear")+"",j,B,D,M,z,J;function q(o,f){return o[7]?ie:re}let V=q(i),k=V(i),O=e.ensure_array_like(i[5]),r=[];for(let o=0;o<O.length;o+=1)r[o]=Q(K(i,O,o));return{c(){t=e.element("div"),l=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),c=e.svg_element("path"),g=e.space(),b=e.element("div"),y=e.element("span"),p=e.text(h),_=e.space(),F=e.element("div"),L=e.element("span"),x=e.text(S),w=e.space(),k.c(),m=e.space(),u=e.element("span"),d=e.svg_element("svg"),C=e.svg_element("path"),N=e.space(),v=e.element("div"),A=e.element("ul");for(let o=0;o<r.length;o+=1)r[o].c();H=e.space(),I=e.element("button"),j=e.text(E),e.attr(c,"id","noun_filter_736223"),e.attr(c,"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(c,"transform","translate(-5 -6.2)"),e.attr(c,"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(C,"id","arrow"),e.attr(C,"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(C,"transform","translate(-274.511 -441.088)"),e.attr(C,"fill","#d1d1d1"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"width","14"),e.attr(d,"height","6.835"),e.attr(d,"viewBox","0 0 14 6.835"),e.attr(u,"class",P="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(l,"class",T="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(A,"class","FilterDropdown"),e.attr(I,"class","ClearFilters"),I.disabled=B=i[7]&&i[6].length!=i[5].length,e.attr(v,"class",D="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",M="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(o,f){e.insert(o,t,f),e.append(t,l),e.append(l,a),e.append(a,n),e.append(n,c),e.append(a,g),e.append(a,b),e.append(b,y),e.append(y,p),e.append(b,_),e.append(b,F),e.append(F,L),e.append(L,x),e.append(F,w),k.m(F,null),e.append(l,m),e.append(l,u),e.append(u,d),e.append(d,C),e.append(t,N),e.append(t,v),e.append(v,A);for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(A,null);e.append(v,H),e.append(v,I),e.append(I,j),z||(J=[e.listen(l,"click",i[24]),e.listen(I,"click",i[27])],z=!0)},p(o,f){if(f[0]&2048&&h!==(h=o[11]("filterby")+"")&&e.set_data(p,h),f[0]&2048&&S!==(S=o[11]("providers")+"")&&e.set_data(x,S),V===(V=q(o))&&k?k.p(o,f):(k.d(1),k=V(o),k&&(k.c(),k.m(F,null))),f[0]&16&&P!==(P="TriangleInactive "+(o[4]?"TriangleActive":""))&&e.attr(u,"class",P),f[0]&16&&T!==(T="FilterSelector "+(o[4]?"FilterSelectorOpen":""))&&e.attr(l,"class",T),f[0]&8228){O=e.ensure_array_like(o[5]);let s;for(s=0;s<O.length;s+=1){const W=K(o,O,s);r[s]?r[s].p(W,f):(r[s]=Q(W),r[s].c(),r[s].m(A,null))}for(;s<r.length;s+=1)r[s].d(1);r.length=O.length}f[0]&2048&&E!==(E=o[11]("clear")+"")&&e.set_data(j,E),f[0]&224&&B!==(B=o[7]&&o[6].length!=o[5].length)&&(I.disabled=B),f[0]&16&&D!==(D="FilterDropdownContainer "+(o[4]?"FilterOpen":""))&&e.attr(v,"class",D),f[0]&3&&M!==(M="FilterContainer "+(o[0]=="true"&&o[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",M)},d(o){o&&e.detach(t),k.d(),e.destroy_each(r,o),z=!1,e.run_all(J)}}}function le(i){let t,l=i[11]("500")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(a,n){e.insert(a,t,n),t.innerHTML=l},p(a,n){n[0]&2048&&l!==(l=a[11]("500")+"")&&(t.innerHTML=l)},d(a){a&&e.detach(t)}}}function re(i){let t,l;return{c(){t=e.element("span"),l=e.text(i[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,l)},p(a,n){n[0]&256&&e.set_data(l,a[8])},d(a){a&&e.detach(t)}}}function ie(i){let t,l=i[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(l),e.attr(t,"class","FilterCounter")},m(n,c){e.insert(n,t,c),e.append(t,a)},p(n,c){c[0]&2048&&l!==(l=n[11]("all")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function ae(i){let t,l;return{c(){t=e.element("img"),e.src_url_equal(t.src,l=i[37].logo)||e.attr(t,"src",l),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,l=a[37].logo)&&e.attr(t,"src",l)},d(a){a&&e.detach(t)}}}function ne(i){let t,l,a=i[37].name+"",n,c,g,b,y=i[37].games.total+"",h,p;return{c(){t=e.element("div"),l=e.element("span"),n=e.text(a),c=e.space(),g=e.element("span"),b=e.text("("),h=e.text(y),p=e.text(")"),e.attr(l,"class","VendorName"),e.attr(t,"class","FilterItemLabel")},m(_,F){e.insert(_,t,F),e.append(t,l),e.append(l,n),e.append(t,c),e.append(t,g),e.append(g,b),e.append(g,h),e.append(g,p)},p(_,F){F[0]&32&&a!==(a=_[37].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=_[37].games.total+"")&&e.set_data(h,y)},d(_){_&&e.detach(t)}}}function Q(i){let t,l,a,n,c,g,b,y,h,p,_,F;function L(){i[25].call(a,i[38],i[39])}function S(){return i[26](i[37])}function x(u,d){if(u[2]==="false")return ne;if(u[2]==="true")return ae}let w=x(i),m=w&&w(i);return{c(){t=e.element("li"),l=e.element("label"),a=e.element("input"),c=e.space(),g=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(g,"class","FiltersCheckmark"),e.attr(l,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=p=i[37].name},m(u,d){e.insert(u,t,d),e.append(t,l),e.append(l,a),a.checked=i[37].isFilterSelected,e.append(l,c),e.append(l,g),e.append(l,b),m&&m.m(l,null),e.append(t,y),_||(F=[e.listen(a,"change",L),e.listen(a,"click",S)],_=!0)},p(u,d){i=u,d[0]&32&&n!==(n=i[37].name)&&(a.__value=n,e.set_input_value(a,a.__value)),d[0]&32&&(a.checked=i[37].isFilterSelected),w===(w=x(i))&&m?m.p(i,d):(m&&m.d(1),m=w&&w(i),m&&(m.c(),m.m(l,null))),d[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),d[0]&32&&p!==(p=i[37].name)&&(t.value=p)},d(u){u&&e.detach(t),m&&m.d(),_=!1,e.run_all(F)}}}function oe(i){let t;function l(c,g){if(c[10])return le;if(!c[9])return te}let a=l(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(c,g){e.insert(c,t,g),n&&n.m(t,null),i[28](t)},p(c,g){a===(a=l(c))&&n?n.p(c,g):(n&&n.d(1),n=a&&a(c),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(c){c&&e.detach(t),n&&n.d(),i[28](null)}}}function se(i,t,l){let a;e.component_subscribe(i,e.$format,r=>l(11,a=r));let{endpoint:n=""}=t,{datasource:c=""}=t,{lang:g=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:p=""}=t,{addfilterselector:_="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:L="false"}=t,{mbsource:S}=t,{usesinglevendorfilter:x="false"}=t,w=!1,m=window.navigator.userAgent,u=[],d=[],C={},P=!1,T=0,N=!0,v,A=!1;$({withLocale:"en",translations:{}});const H=()=>{fetch(b).then(o=>o.json()).then(o=>{Object.keys(o).forEach(f=>{Z(f,o[f])})}).catch(o=>{console.log(o)})};Object.keys(G).forEach(r=>{Z(r,G[r])}),C[p]&&(C={[p]:[]});const I=()=>{l(4,w=!w),window.postMessage({type:"FilterOpened"},window.location.href)},E=r=>(l(9,N=!0),new Promise((o,f)=>{fetch(r).then(s=>s.json()).then(s=>{s=s.items,o(s.items),l(6,d=[]);let W=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));const Y=x==="true"?"*":p;s.forEach(R=>{var U;W||(W={currentCategoryId:[]}),((U=W[Y])==null?void 0:U.indexOf(R.id))>=0?(R.isFilterSelected=!0,d.push(R)):R.isFilterSelected=!1}),l(5,u=s),B()}).catch(s=>{console.error(s),l(10,A=!0),f(s)}).finally(()=>{l(9,N=!1)})})),j=r=>{let o=localStorage.getItem("vendorFiltersByCategory");r.isFilterSelected=!r.isFilterSelected,!d.length||d.filter(s=>s.name===r.name).length==0?d.push(r):l(6,d=d.filter(s=>s.name!==r.name));const f=x==="true"?"*":p;o==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(C={[f]:d.map(s=>s.id)})):(o=JSON.parse(o),o[f]=d.map(s=>s.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(o))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),B()},B=()=>{l(7,P=d.length===u.length||d.length==0),l(8,T=d.length)},D=()=>{if(u.length&&x==="true")return;const r=new URL(`${n}/v1/casino/vendors`);l(4,w=!1),r.searchParams.append("fields","id,name,logo,subVendors,games"),r.searchParams.append("language",g),r.searchParams.append("datasource",c),r.searchParams.append("platform",e.getDevice(m)),x==="true"||((p.match(/\$/g)||[]).length>1?(r.searchParams.append("filter",`games(subGroups=${p})`),r.searchParams.append("subVendors",`games(subGroups=${p})`)):r.searchParams.append("filter",`games(groups=${p})`)),E(r)},M=()=>{l(6,d=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(C={[x==="true"?"*":p]:d.map(r=>r.id)})),u.forEach(r=>r.isFilterSelected=!1),l(5,u),window.postMessage({type:"ApplyFilters"},window.location.href),l(7,P=!0),l(4,w=!1)},z=r=>{r.data.type=="SortingOpened"&&l(4,w=!1)};e.onMount(()=>(window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));const J=()=>I();function q(r,o){r[o].isFilterSelected=this.checked,l(5,u)}const V=r=>j(r),k=()=>M();function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{v=r,l(3,v)})}return i.$$set=r=>{"endpoint"in r&&l(15,n=r.endpoint),"datasource"in r&&l(16,c=r.datasource),"lang"in r&&l(17,g=r.lang),"translationurl"in r&&l(18,b=r.translationurl),"clientstyling"in r&&l(19,y=r.clientstyling),"clientstylingurl"in r&&l(20,h=r.clientstylingurl),"categoryid"in r&&l(21,p=r.categoryid),"addfilterselector"in r&&l(0,_=r.addfilterselector),"addsortingselector"in r&&l(1,F=r.addsortingselector),"filterbylogo"in r&&l(2,L=r.filterbylogo),"mbsource"in r&&l(22,S=r.mbsource),"usesinglevendorfilter"in r&&l(23,x=r.usesinglevendorfilter)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&c&&p&&L&&D(),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,`${S}.Style`),i.$$.dirty[0]&262144&&b&&H()},[_,F,L,v,w,u,d,P,T,N,A,a,I,j,M,n,c,g,b,y,h,p,S,x,J,q,V,k,O]}class X extends e.SvelteComponent{constructor(t){super(),e.init(this,t,se,oe,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},ee,[-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(X,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{},usesinglevendorfilter:{}},[],[],!0);exports.default=X;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-CFUoQxq0.cjs");function $({withLocale:i,translations:t}){e.$locale.subscribe(l=>{l==null&&(e.$dictionary.set(t),e.$locale.set(i))})}function Z(i,t){e.addMessages(i,t)}const G={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 ee(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 K(i,t,l){const a=i.slice();return a[37]=t[l],a[38]=t,a[39]=l,a}function te(i){let t,l,a,n,c,g,b,y,h=i[11]("filterby")+"",p,_,F,L,S=i[11]("providers")+"",x,w,m,u,d,C,P,T,N,v,A,H,I,E=i[11]("clear")+"",j,B,D,M,z,J;function q(o,f){return o[7]?ie:re}let V=q(i),k=V(i),O=e.ensure_array_like(i[5]),r=[];for(let o=0;o<O.length;o+=1)r[o]=Q(K(i,O,o));return{c(){t=e.element("div"),l=e.element("div"),a=e.element("div"),n=e.svg_element("svg"),c=e.svg_element("path"),g=e.space(),b=e.element("div"),y=e.element("span"),p=e.text(h),_=e.space(),F=e.element("div"),L=e.element("span"),x=e.text(S),w=e.space(),k.c(),m=e.space(),u=e.element("span"),d=e.svg_element("svg"),C=e.svg_element("path"),N=e.space(),v=e.element("div"),A=e.element("ul");for(let o=0;o<r.length;o+=1)r[o].c();H=e.space(),I=e.element("button"),j=e.text(E),e.attr(c,"id","noun_filter_736223"),e.attr(c,"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(c,"transform","translate(-5 -6.2)"),e.attr(c,"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(C,"id","arrow"),e.attr(C,"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(C,"transform","translate(-274.511 -441.088)"),e.attr(C,"fill","#d1d1d1"),e.attr(d,"xmlns","http://www.w3.org/2000/svg"),e.attr(d,"width","14"),e.attr(d,"height","6.835"),e.attr(d,"viewBox","0 0 14 6.835"),e.attr(u,"class",P="TriangleInactive "+(i[4]?"TriangleActive":"")),e.attr(l,"class",T="FilterSelector "+(i[4]?"FilterSelectorOpen":"")),e.attr(A,"class","FilterDropdown"),e.attr(I,"class","ClearFilters"),I.disabled=B=i[7]&&i[6].length!=i[5].length,e.attr(v,"class",D="FilterDropdownContainer "+(i[4]?"FilterOpen":"")),e.attr(t,"class",M="FilterContainer "+(i[0]=="true"&&i[1]=="true"?"FilerContainerSplit":""))},m(o,f){e.insert(o,t,f),e.append(t,l),e.append(l,a),e.append(a,n),e.append(n,c),e.append(a,g),e.append(a,b),e.append(b,y),e.append(y,p),e.append(b,_),e.append(b,F),e.append(F,L),e.append(L,x),e.append(F,w),k.m(F,null),e.append(l,m),e.append(l,u),e.append(u,d),e.append(d,C),e.append(t,N),e.append(t,v),e.append(v,A);for(let s=0;s<r.length;s+=1)r[s]&&r[s].m(A,null);e.append(v,H),e.append(v,I),e.append(I,j),z||(J=[e.listen(l,"click",i[24]),e.listen(I,"click",i[27])],z=!0)},p(o,f){if(f[0]&2048&&h!==(h=o[11]("filterby")+"")&&e.set_data(p,h),f[0]&2048&&S!==(S=o[11]("providers")+"")&&e.set_data(x,S),V===(V=q(o))&&k?k.p(o,f):(k.d(1),k=V(o),k&&(k.c(),k.m(F,null))),f[0]&16&&P!==(P="TriangleInactive "+(o[4]?"TriangleActive":""))&&e.attr(u,"class",P),f[0]&16&&T!==(T="FilterSelector "+(o[4]?"FilterSelectorOpen":""))&&e.attr(l,"class",T),f[0]&8228){O=e.ensure_array_like(o[5]);let s;for(s=0;s<O.length;s+=1){const W=K(o,O,s);r[s]?r[s].p(W,f):(r[s]=Q(W),r[s].c(),r[s].m(A,null))}for(;s<r.length;s+=1)r[s].d(1);r.length=O.length}f[0]&2048&&E!==(E=o[11]("clear")+"")&&e.set_data(j,E),f[0]&224&&B!==(B=o[7]&&o[6].length!=o[5].length)&&(I.disabled=B),f[0]&16&&D!==(D="FilterDropdownContainer "+(o[4]?"FilterOpen":""))&&e.attr(v,"class",D),f[0]&3&&M!==(M="FilterContainer "+(o[0]=="true"&&o[1]=="true"?"FilerContainerSplit":""))&&e.attr(t,"class",M)},d(o){o&&e.detach(t),k.d(),e.destroy_each(r,o),z=!1,e.run_all(J)}}}function le(i){let t,l=i[11]("500")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(a,n){e.insert(a,t,n),t.innerHTML=l},p(a,n){n[0]&2048&&l!==(l=a[11]("500")+"")&&(t.innerHTML=l)},d(a){a&&e.detach(t)}}}function re(i){let t,l;return{c(){t=e.element("span"),l=e.text(i[8]),e.attr(t,"class","FilterCounter")},m(a,n){e.insert(a,t,n),e.append(t,l)},p(a,n){n[0]&256&&e.set_data(l,a[8])},d(a){a&&e.detach(t)}}}function ie(i){let t,l=i[11]("all")+"",a;return{c(){t=e.element("span"),a=e.text(l),e.attr(t,"class","FilterCounter")},m(n,c){e.insert(n,t,c),e.append(t,a)},p(n,c){c[0]&2048&&l!==(l=n[11]("all")+"")&&e.set_data(a,l)},d(n){n&&e.detach(t)}}}function ae(i){let t,l;return{c(){t=e.element("img"),e.src_url_equal(t.src,l=i[37].logo)||e.attr(t,"src",l),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,l=a[37].logo)&&e.attr(t,"src",l)},d(a){a&&e.detach(t)}}}function ne(i){let t,l,a=i[37].name+"",n,c,g,b,y=i[37].games.total+"",h,p;return{c(){t=e.element("div"),l=e.element("span"),n=e.text(a),c=e.space(),g=e.element("span"),b=e.text("("),h=e.text(y),p=e.text(")"),e.attr(l,"class","VendorName"),e.attr(t,"class","FilterItemLabel")},m(_,F){e.insert(_,t,F),e.append(t,l),e.append(l,n),e.append(t,c),e.append(t,g),e.append(g,b),e.append(g,h),e.append(g,p)},p(_,F){F[0]&32&&a!==(a=_[37].name+"")&&e.set_data(n,a),F[0]&32&&y!==(y=_[37].games.total+"")&&e.set_data(h,y)},d(_){_&&e.detach(t)}}}function Q(i){let t,l,a,n,c,g,b,y,h,p,_,F;function L(){i[25].call(a,i[38],i[39])}function S(){return i[26](i[37])}function x(u,d){if(u[2]==="false")return ne;if(u[2]==="true")return ae}let w=x(i),m=w&&w(i);return{c(){t=e.element("li"),l=e.element("label"),a=e.element("input"),c=e.space(),g=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(g,"class","FiltersCheckmark"),e.attr(l,"class","FilterLabel"),e.attr(t,"class",h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":"")),t.value=p=i[37].name},m(u,d){e.insert(u,t,d),e.append(t,l),e.append(l,a),a.checked=i[37].isFilterSelected,e.append(l,c),e.append(l,g),e.append(l,b),m&&m.m(l,null),e.append(t,y),_||(F=[e.listen(a,"change",L),e.listen(a,"click",S)],_=!0)},p(u,d){i=u,d[0]&32&&n!==(n=i[37].name)&&(a.__value=n,e.set_input_value(a,a.__value)),d[0]&32&&(a.checked=i[37].isFilterSelected),w===(w=x(i))&&m?m.p(i,d):(m&&m.d(1),m=w&&w(i),m&&(m.c(),m.m(l,null))),d[0]&4&&h!==(h="FilterItem "+(i[2]==="true"?"FilterItemWithLogos":""))&&e.attr(t,"class",h),d[0]&32&&p!==(p=i[37].name)&&(t.value=p)},d(u){u&&e.detach(t),m&&m.d(),_=!1,e.run_all(F)}}}function oe(i){let t;function l(c,g){if(c[10])return le;if(!c[9])return te}let a=l(i),n=a&&a(i);return{c(){t=e.element("div"),n&&n.c()},m(c,g){e.insert(c,t,g),n&&n.m(t,null),i[28](t)},p(c,g){a===(a=l(c))&&n?n.p(c,g):(n&&n.d(1),n=a&&a(c),n&&(n.c(),n.m(t,null)))},i:e.noop,o:e.noop,d(c){c&&e.detach(t),n&&n.d(),i[28](null)}}}function se(i,t,l){let a;e.component_subscribe(i,e.$format,r=>l(11,a=r));let{endpoint:n=""}=t,{datasource:c=""}=t,{lang:g=""}=t,{translationurl:b=""}=t,{clientstyling:y=""}=t,{clientstylingurl:h=""}=t,{categoryid:p=""}=t,{addfilterselector:_="false"}=t,{addsortingselector:F="false"}=t,{filterbylogo:L="false"}=t,{mbsource:S}=t,{usesinglevendorfilter:x="false"}=t,w=!1,m=window.navigator.userAgent,u=[],d=[],C={},P=!1,T=0,N=!0,v,A=!1;$({withLocale:"en",translations:{}});const H=()=>{fetch(b).then(o=>o.json()).then(o=>{Object.keys(o).forEach(f=>{Z(f,o[f])})}).catch(o=>{console.log(o)})};Object.keys(G).forEach(r=>{Z(r,G[r])}),C[p]&&(C={[p]:[]});const I=()=>{l(4,w=!w),window.postMessage({type:"FilterOpened"},window.location.href)},E=r=>(l(9,N=!0),new Promise((o,f)=>{fetch(r).then(s=>s.json()).then(s=>{s=s.items,o(s.items),l(6,d=[]);let W=JSON.parse(localStorage.getItem("vendorFiltersByCategory"));const Y=x==="true"?"*":p;s.forEach(R=>{var U;W||(W={currentCategoryId:[]}),((U=W[Y])==null?void 0:U.indexOf(R.id))>=0?(R.isFilterSelected=!0,d.push(R)):R.isFilterSelected=!1}),l(5,u=s),B()}).catch(s=>{console.error(s),l(10,A=!0),f(s)}).finally(()=>{l(9,N=!1)})})),j=r=>{let o=localStorage.getItem("vendorFiltersByCategory");r.isFilterSelected=!r.isFilterSelected,!d.length||d.filter(s=>s.name===r.name).length==0?d.push(r):l(6,d=d.filter(s=>s.name!==r.name));const f=x==="true"?"*":p;o==null?localStorage.setItem("vendorFiltersByCategory",JSON.stringify(C={[f]:d.map(s=>s.id)})):(o=JSON.parse(o),o[f]=d.map(s=>s.id),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(o))),window.postMessage({type:"ApplyFilters",origin:"filters"},window.location.href),B()},B=()=>{l(7,P=d.length===u.length||d.length==0),l(8,T=d.length)},D=()=>{if(u.length&&x==="true")return;const r=new URL(`${n}/v1/casino/vendors`);l(4,w=!1),r.searchParams.append("fields","id,name,logo,subVendors,games"),r.searchParams.append("language",g),r.searchParams.append("datasource",c),r.searchParams.append("platform",e.getDevice(m)),x==="true"||((p.match(/\$/g)||[]).length>1?(r.searchParams.append("filter",`games(subGroups=${p})`),r.searchParams.append("subVendors",`games(subGroups=${p})`)):r.searchParams.append("filter",`games(groups=${p})`)),E(r)},M=()=>{l(6,d=[]),localStorage.setItem("vendorFiltersByCategory",JSON.stringify(C={[x==="true"?"*":p]:d.map(r=>r.id)})),u.forEach(r=>r.isFilterSelected=!1),l(5,u),window.postMessage({type:"ApplyFilters"},window.location.href),l(7,P=!0),l(4,w=!1)},z=r=>{r.data.type=="SortingOpened"&&l(4,w=!1)};e.onMount(()=>(window.addEventListener("message",z,!1),()=>{window.removeEventListener("message",z)}));const J=()=>I();function q(r,o){r[o].isFilterSelected=this.checked,l(5,u)}const V=r=>j(r),k=()=>M();function O(r){e.binding_callbacks[r?"unshift":"push"](()=>{v=r,l(3,v)})}return i.$$set=r=>{"endpoint"in r&&l(15,n=r.endpoint),"datasource"in r&&l(16,c=r.datasource),"lang"in r&&l(17,g=r.lang),"translationurl"in r&&l(18,b=r.translationurl),"clientstyling"in r&&l(19,y=r.clientstyling),"clientstylingurl"in r&&l(20,h=r.clientstylingurl),"categoryid"in r&&l(21,p=r.categoryid),"addfilterselector"in r&&l(0,_=r.addfilterselector),"addsortingselector"in r&&l(1,F=r.addsortingselector),"filterbylogo"in r&&l(2,L=r.filterbylogo),"mbsource"in r&&l(22,S=r.mbsource),"usesinglevendorfilter"in r&&l(23,x=r.usesinglevendorfilter)},i.$$.update=()=>{i.$$.dirty[0]&2195460&&n&&c&&p&&L&&D(),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,`${S}.Style`),i.$$.dirty[0]&262144&&b&&H()},[_,F,L,v,w,u,d,P,T,N,A,a,I,j,M,n,c,g,b,y,h,p,S,x,J,q,V,k,O]}class X extends e.SvelteComponent{constructor(t){super(),e.init(this,t,se,oe,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},ee,[-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(X,{endpoint:{},datasource:{},lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},mbsource:{},usesinglevendorfilter:{}},[],[],!0);exports.default=X;