@everymatrix/casino-lobby 1.74.8 → 1.74.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/components/{CasinoCalendar-BMDbprh6.js → CasinoCalendar-B0K8z0GJ.js} +781 -795
  2. package/components/CasinoCalendar-Bo-lripz.cjs +19 -0
  3. package/components/{CasinoCalendar-FUyH3So6.js → CasinoCalendar-CzMBlFEu.js} +995 -1009
  4. package/components/{CasinoCalendarDailyDetails-PT-ciuLj.js → CasinoCalendarDailyDetails-8b-Ie2Hl.js} +75 -75
  5. package/components/{CasinoCalendarDailyDetails-qb4mpvz6.js → CasinoCalendarDailyDetails-D5cq8_6v.js} +75 -75
  6. package/components/CasinoCalendarDailyDetails-DZ2juA5b.cjs +1 -0
  7. package/components/{CasinoCalendarDailyItem-E_UK8J-P.js → CasinoCalendarDailyItem-BglEC2TQ.js} +6 -6
  8. package/components/{CasinoCalendarDailyItem-BJAYmacx.cjs → CasinoCalendarDailyItem-Cl7eHYxY.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-Ddvjsin9.js → CasinoCalendarDailyItem-DXREwm9q.js} +6 -6
  10. package/components/CasinoCategoriesSlider-B6_EYUBm.cjs +1 -0
  11. package/components/{CasinoCategoriesSlider-CyY1HQ0P.js → CasinoCategoriesSlider-BKQxQQyV.js} +64 -64
  12. package/components/{CasinoCategoriesSlider-DTKia-BC.js → CasinoCategoriesSlider-C7_ke4uB.js} +64 -64
  13. package/components/{CasinoCollectionsProviders-DnxgcymV.cjs → CasinoCollectionsProviders-Abg7c3OD.cjs} +1 -1
  14. package/components/{CasinoCollectionsProviders-G6IEHMff.js → CasinoCollectionsProviders-BpkF43eH.js} +4 -4
  15. package/components/{CasinoCollectionsProviders-C66vF5px.js → CasinoCollectionsProviders-BzU-DnW_.js} +4 -4
  16. package/components/{CasinoFavoritesSection-DvljpfJ3.js → CasinoFavoritesSection-9lyxUggQ.js} +5 -5
  17. package/components/{CasinoFavoritesSection-Cv6jIUlD.js → CasinoFavoritesSection-CYeNzAvT.js} +5 -5
  18. package/components/{CasinoFavoritesSection-BQm3vLN4.cjs → CasinoFavoritesSection-yx4YyO7z.cjs} +1 -1
  19. package/components/CasinoFilter-Bc_k_xiT.cjs +1 -0
  20. package/components/{CasinoFilter-CFd1r73g.js → CasinoFilter-CekYy95Z.js} +225 -224
  21. package/components/{CasinoFilter-BW0CkIQU.js → CasinoFilter-Cve0ticX.js} +253 -254
  22. package/components/{CasinoGameThumbnail-CP707TN8.js → CasinoGameThumbnail-1vnHRePz.js} +1239 -1255
  23. package/components/{CasinoGameThumbnail-Cl2nd2Ao.js → CasinoGameThumbnail-CWVvNagJ.js} +768 -752
  24. package/components/CasinoGameThumbnail-MNCUvtBB.cjs +47 -0
  25. package/components/{CasinoGamesCategorySection-_5PoZwz5.js → CasinoGamesCategorySection-Cfjz1dku.js} +179 -179
  26. package/components/CasinoGamesCategorySection-D5XSzosp.cjs +1 -0
  27. package/components/{CasinoGamesCategorySection-BexCIH6G.js → CasinoGamesCategorySection-DmOLQ3Vd.js} +182 -182
  28. package/components/{CasinoJackpotBanner-DdPrmZDs.js → CasinoJackpotBanner-B_dYLQp4.js} +8 -8
  29. package/components/{CasinoJackpotBanner-nsvJTIO2.js → CasinoJackpotBanner-CBz6E__7.js} +8 -8
  30. package/components/{CasinoJackpotBanner-0uMNuf8D.cjs → CasinoJackpotBanner-DrTQC7xJ.cjs} +1 -1
  31. package/components/{CasinoLastPlayedSection-B7Zksu4A.js → CasinoLastPlayedSection--Qe6ZhCg.js} +8 -8
  32. package/components/{CasinoLastPlayedSection-BvLbRXcm.js → CasinoLastPlayedSection-BDaudheg.js} +8 -8
  33. package/components/{CasinoLastPlayedSection-DbfXEbef.cjs → CasinoLastPlayedSection-gXkDFCLp.cjs} +1 -1
  34. package/components/{CasinoLobby-BN2EJtl2.js → CasinoLobby-2yiegknV.js} +7 -7
  35. package/components/{CasinoLobby-D8qvx3h6.js → CasinoLobby-C-nPEaqC.js} +7 -7
  36. package/components/{CasinoLobby-nUsTGR-H.cjs → CasinoLobby-Yi98Oora.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSection-Bol1_zkd.js → CasinoMostPlayedSection--ioyWjg0.js} +13 -13
  38. package/components/{CasinoMostPlayedSection-ts0YqE3Q.js → CasinoMostPlayedSection-OQTrFFYj.js} +13 -13
  39. package/components/{CasinoMostPlayedSection-Du_UlvPc.cjs → CasinoMostPlayedSection-ahrkwe03.cjs} +1 -1
  40. package/components/{CasinoMyGames-a2l-w517.js → CasinoMyGames-C3d24Otj.js} +8 -8
  41. package/components/{CasinoMyGames-D9v-iYaj.js → CasinoMyGames-CdCBPj7p.js} +8 -8
  42. package/components/{CasinoMyGames-DqGcye1D.cjs → CasinoMyGames-nNbPPI-D.cjs} +1 -1
  43. package/components/{CasinoPage-C9nOimHH.js → CasinoPage-5bRpNKaS.js} +15 -15
  44. package/components/{CasinoPage-BOiAVVXu.cjs → CasinoPage-BzYIzPcD.cjs} +1 -1
  45. package/components/{CasinoPage-KebAtIf2.js → CasinoPage-D-B9FS4G.js} +15 -15
  46. package/components/{CasinoRandomGame-CytI5GjM.js → CasinoRandomGame-Bqh0v1th.js} +83 -83
  47. package/components/{CasinoRandomGame-R-0QqjwX.js → CasinoRandomGame-DUQ2O7Ih.js} +12 -12
  48. package/components/{CasinoRandomGame-D6dNIU7H.cjs → CasinoRandomGame-DwpEKRBx.cjs} +2 -2
  49. package/components/{CasinoSearch-PQxlpdIr.js → CasinoSearch-B4WLyXex.js} +5 -5
  50. package/components/{CasinoSearch-CgNC2d7t.cjs → CasinoSearch-CAVnTiiU.cjs} +1 -1
  51. package/components/{CasinoSearch-DMIFjlPK.js → CasinoSearch-RDMeVLj-.js} +5 -5
  52. package/components/{CasinoSlider-BUdXNBUn.js → CasinoSlider-BSy-pbt8.js} +5 -5
  53. package/components/{CasinoSlider-CgGTFca7.js → CasinoSlider-BZe1q5jA.js} +5 -5
  54. package/components/{CasinoSlider-B_4OKAXx.cjs → CasinoSlider-Gf_263k6.cjs} +1 -1
  55. package/components/{CasinoSort-d_O_44vv.js → CasinoSort-B25h8Cud.js} +102 -103
  56. package/components/{CasinoSort-_My6LmSq.cjs → CasinoSort-BjPW0QaZ.cjs} +1 -1
  57. package/components/{CasinoSort-CFRGv5Ze.js → CasinoSort-DHRPAHDE.js} +94 -93
  58. package/components/{CasinoWinners-BX9jBJGA.cjs → CasinoWinners-D1tkG_oD.cjs} +1 -1
  59. package/components/{CasinoWinners-Co-G3_VH.js → CasinoWinners-DUN0A3--.js} +122 -122
  60. package/components/{CasinoWinners-DBM7TeCL.js → CasinoWinners-DYd8q5Sh.js} +126 -126
  61. package/components/{GeneralAnimationLoading-CfouZ-sx.js → GeneralAnimationLoading-8efHmhFw.js} +7 -7
  62. package/components/{GeneralAnimationLoading-D47HGjTy.cjs → GeneralAnimationLoading-CUK4MKI8.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-eg8O-l55.js → GeneralAnimationLoading-DUAt1hpi.js} +7 -7
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/stencil/casino-play-random-game-BGnpW6-t.js +25 -0
  69. package/stencil/casino-play-random-game-Dkt8_s5i.js +7 -0
  70. package/stencil/casino-play-random-game-DxDk4Aim.cjs +1 -0
  71. package/stencil/casino-play-random-game_2-BxEiwCaH.cjs +432 -0
  72. package/stencil/{casino-play-random-game-uBjWXXLi.js → casino-play-random-game_2-CO_ycbvG.js} +216 -66
  73. package/stencil/{casino-play-random-game-qroM0e64.js → casino-play-random-game_2-OLkBGlKQ.js} +223 -91
  74. package/stencil/{index-ab3202d6-CoRS04SH.js → index-328e660d-CgCMs0nk.js} +198 -197
  75. package/stencil/{index-ab3202d6-CSUArOSv.js → index-328e660d-DIiqSVTN.js} +194 -193
  76. package/stencil/index-328e660d-pKNw3-4H.cjs +1 -0
  77. package/stencil/index-97d17652-BgKdDb-e.cjs +1 -0
  78. package/stencil/{index-97d17652-DJqGt8q2.js → index-97d17652-C7V2DWFg.js} +147 -147
  79. package/stencil/{index-97d17652-BD-QREJe.js → index-97d17652-DIpvPU9H.js} +151 -151
  80. package/stencil/{index-b2193545-kN0z2MLt.js → index-b2193545-BL364Gzq.js} +169 -169
  81. package/stencil/{index-b2193545-D_cUvAA-.js → index-b2193545-DdqB2rk5.js} +176 -176
  82. package/stencil/index-b2193545-DmjUkkS8.cjs +1 -0
  83. package/stencil/{ui-image-I_uR7pAI.js → ui-image-B_HWMBI-.js} +1 -1
  84. package/stencil/{ui-image-BAqS-hS6.js → ui-image-CzGNxx73.js} +1 -1
  85. package/stencil/{ui-image-b7b48fe5-AJGQkQBu.js → ui-image-b7b48fe5-B-k0kWgx.js} +1 -1
  86. package/stencil/{ui-image-b7b48fe5-2Ir9VtWc.js → ui-image-b7b48fe5-D8-wEkoZ.js} +1 -1
  87. package/stencil/{ui-image-b7b48fe5-pdIH5TBa.cjs → ui-image-b7b48fe5-yceZ9WkN.cjs} +1 -1
  88. package/stencil/{ui-image-CH2Jdp7k.cjs → ui-image-wubI3fkK.cjs} +1 -1
  89. package/stencil/{ui-image_2-_K8Pt3w9.js → ui-image_2-CzFe50WB.js} +2 -2
  90. package/stencil/{ui-image_2-BGf0VFLf.cjs → ui-image_2-Ha_4GYwN.cjs} +1 -1
  91. package/stencil/{ui-image_2-Dh5Eqdlm.js → ui-image_2-z5LhXZY2.js} +2 -2
  92. package/stencil/{ui-skeleton-C0GZ2ncD.js → ui-skeleton-CsmgJUYN.js} +2 -2
  93. package/stencil/{ui-skeleton-5mt1L8pA.cjs → ui-skeleton-DTQ__6LQ.cjs} +1 -1
  94. package/stencil/{ui-skeleton-ae35c6f2-BmKf7IvD.js → ui-skeleton-ae35c6f2-BRNiEwlg.js} +1 -1
  95. package/stencil/{ui-skeleton-ae35c6f2-CQ3pH6qH.cjs → ui-skeleton-ae35c6f2-CZuWo9GO.cjs} +1 -1
  96. package/stencil/{ui-skeleton-ae35c6f2-BSwiS43c.js → ui-skeleton-ae35c6f2-CxSezPtG.js} +1 -1
  97. package/stencil/{ui-skeleton-CYeeBz0Q.js → ui-skeleton-yRWBmyfK.js} +2 -2
  98. package/components/CasinoCalendar-BGhJ1cEV.cjs +0 -19
  99. package/components/CasinoCalendarDailyDetails-DyNw1uMX.cjs +0 -1
  100. package/components/CasinoCategoriesSlider-CMchkLFc.cjs +0 -1
  101. package/components/CasinoFilter-BKrzmU_V.cjs +0 -1
  102. package/components/CasinoGameThumbnail-xpkz1cUi.cjs +0 -47
  103. package/components/CasinoGamesCategorySection-DkolOoEE.cjs +0 -1
  104. package/stencil/casino-play-random-game-C3hhQjhn.cjs +0 -378
  105. package/stencil/index-97d17652-tiiCeQFu.cjs +0 -1
  106. package/stencil/index-ab3202d6-DitihRZv.cjs +0 -1
  107. package/stencil/index-b2193545-3zPNeE9v.cjs +0 -1
@@ -1,5 +1,5 @@
1
- import { a as Be, $ as Ne, S as Re, i as Fe, f as C, c as Oe, s as Me, b as He, e as s, d as N, G as Se, j as R, o as Pe, W as qe, l as De, m as Ge, p as Ye, q as Ke, r as Qe, w as k, y as o, L as je, I as O, H as b, z as r, A as Xe, x as J, E as V, v as Te, U as Ze, F as $e } from "./CasinoCalendar-BMDbprh6.js";
2
- import "../stencil/ui-image-BAqS-hS6.js";
1
+ import { a as Be, $ as Ne, S as Re, i as Fe, f as C, c as Oe, s as Me, b as He, e as s, d as N, G as Se, j as R, o as Pe, W as qe, n as De, p as Ge, q as Ye, r as Ke, w as k, y as o, L as je, I as O, H as b, z as r, A as Qe, m as Xe, x as J, E as V, v as Te, U as Ze, F as $e } from "./CasinoCalendar-B0K8z0GJ.js";
2
+ import "../stencil/ui-image-CzGNxx73.js";
3
3
  function We(i, e) {
4
4
  Be(i, e);
5
5
  }
@@ -74,7 +74,7 @@ function it(i) {
74
74
  i[13] + ")"), o(t, "class", "jackpotBanner"), o(e, "class", "");
75
75
  },
76
76
  m(g, u) {
77
- N(g, e, u), r(e, t), r(t, a), r(a, n), r(a, m), r(a, c), p.m(c, null), r(a, L), r(a, W), r(W, T), h || (I = Xe(
77
+ N(g, e, u), r(e, t), r(t, a), r(a, n), r(a, m), r(a, c), p.m(c, null), r(a, L), r(a, W), r(W, T), h || (I = Qe(
78
78
  t,
79
79
  "click",
80
80
  /*click_handler*/
@@ -556,7 +556,7 @@ function ct(i, e, t) {
556
556
  t(34, ae = f.egtJackpotIds.map((A) => A));
557
557
  });
558
558
  }, $ = () => {
559
- t(7, ce = Ye(me) && window.innerHeight / window.innerWidth > 1), t(8, M = pe()), ie.length !== 0 && (t(10, oe = G(ie)), oe.reverse()), t(11, de = v ? v.split(",").map((l) => l.trim().toUpperCase()) : new Array(4).fill("")), P.includes(n.trim()) ? t(0, n = n.trim()) : (console.warn(`Invalid Attribute Value: "${n}" is not a valid value for the "visualstructure" attribute. Defaulting to "${P[0]}"`), t(0, n = P[0])), t(13, K = I && ce && !M ? I : _), t(14, Q = F), t(12, D = [c, L, W, T]);
559
+ t(7, ce = Xe(me) && window.innerHeight / window.innerWidth > 1), t(8, M = pe()), ie.length !== 0 && (t(10, oe = G(ie)), oe.reverse()), t(11, de = v ? v.split(",").map((l) => l.trim().toUpperCase()) : new Array(4).fill("")), P.includes(n.trim()) ? t(0, n = n.trim()) : (console.warn(`Invalid Attribute Value: "${n}" is not a valid value for the "visualstructure" attribute. Defaulting to "${P[0]}"`), t(0, n = P[0])), t(13, K = I && ce && !M ? I : _), t(14, Q = F), t(12, D = [c, L, W, T]);
560
560
  }, ee = (l) => Intl.NumberFormat(q, {
561
561
  minimumFractionDigits: 2,
562
562
  maximumFractionDigits: 2,
@@ -591,7 +591,7 @@ function ct(i, e, t) {
591
591
  });
592
592
  const Ce = () => be();
593
593
  function te(l) {
594
- Ke[l ? "unshift" : "push"](() => {
594
+ De[l ? "unshift" : "push"](() => {
595
595
  S = l, t(4, S);
596
596
  });
597
597
  }
@@ -600,10 +600,10 @@ function ct(i, e, t) {
600
600
  }, i.$$.update = () => {
601
601
  i.$$.dirty[1] & /*endpoint*/
602
602
  1 && y && we(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
603
- 268435472 && p && S && Qe(S, p), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
604
- 536870928 && g && S && De(S, g), i.$$.dirty[0] & /*customStylingContainer*/
603
+ 268435472 && p && S && Ge(S, p), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
604
+ 536870928 && g && S && Ye(S, g), i.$$.dirty[0] & /*customStylingContainer*/
605
605
  16 | i.$$.dirty[1] & /*mbsource*/
606
- 4 && ne && S && Ge(S, `${ne}.Style`), i.$$.dirty[0] & /*lang, currency*/
606
+ 4 && ne && S && Ke(S, `${ne}.Style`), i.$$.dirty[0] & /*lang, currency*/
607
607
  134217730 | i.$$.dirty[1] & /*endpoint, validGameIds*/
608
608
  9 && y && j && h && ae.length > 0 && he(), i.$$.dirty[0] & /*currency, lang, isLoading*/
609
609
  134217762 && h && j && !X && $(), i.$$.dirty[0] & /*lang*/
@@ -1,5 +1,5 @@
1
- import { a as Ue, $ as Be, S as Ne, i as Re, f as w, c as Fe, s as Oe, b as Me, e as s, d as U, G as je, j as B, o as He, W as Pe, l as qe, m as Ge, p as Ye, q as Ke, r as Qe, w as _, y as d, L as Le, I as F, H as h, z as r, A as Xe, x as E, E as J, v as Te, U as Ze, F as $e } from "./CasinoCalendar-FUyH3So6.js";
2
- import "../stencil/ui-image-I_uR7pAI.js";
1
+ import { a as Ue, $ as Be, S as Ne, i as Re, f as w, c as Fe, s as Oe, b as Me, e as s, d as U, G as je, j as B, o as He, W as Pe, n as qe, p as Ge, q as Ye, r as Ke, w as _, y as d, L as Le, I as F, H as h, z as r, A as Qe, m as Xe, x as E, E as J, v as Te, U as Ze, F as $e } from "./CasinoCalendar-CzMBlFEu.js";
2
+ import "../stencil/ui-image-B_HWMBI-.js";
3
3
  function We(a, e) {
4
4
  Ue(a, e);
5
5
  }
@@ -74,7 +74,7 @@ function at(a) {
74
74
  a[13] + ")"), d(t, "class", "jackpotBanner"), d(e, "class", "");
75
75
  },
76
76
  m(c, m) {
77
- U(c, e, m), r(e, t), r(t, i), r(i, n), r(i, g), r(i, o), f.m(o, null), r(i, C), r(i, T), r(T, S), y || (A = Xe(
77
+ U(c, e, m), r(e, t), r(t, i), r(i, n), r(i, g), r(i, o), f.m(o, null), r(i, C), r(i, T), r(T, S), y || (A = Qe(
78
78
  t,
79
79
  "click",
80
80
  /*click_handler*/
@@ -552,7 +552,7 @@ function ct(a, e, t) {
552
552
  t(34, ie = p.egtJackpotIds.map((I) => I));
553
553
  });
554
554
  }, $ = () => {
555
- t(7, ce = Ye(me) && window.innerHeight / window.innerWidth > 1), t(8, O = pe()), ae.length !== 0 && (t(10, oe = G(ae)), oe.reverse()), t(11, de = k ? k.split(",").map((l) => l.trim().toUpperCase()) : new Array(4).fill("")), H.includes(n.trim()) ? t(0, n = n.trim()) : (console.warn(`Invalid Attribute Value: "${n}" is not a valid value for the "visualstructure" attribute. Defaulting to "${H[0]}"`), t(0, n = H[0])), t(13, K = A && ce && !O ? A : b), t(14, Q = N), t(12, q = [o, C, T, S]);
555
+ t(7, ce = Xe(me) && window.innerHeight / window.innerWidth > 1), t(8, O = pe()), ae.length !== 0 && (t(10, oe = G(ae)), oe.reverse()), t(11, de = k ? k.split(",").map((l) => l.trim().toUpperCase()) : new Array(4).fill("")), H.includes(n.trim()) ? t(0, n = n.trim()) : (console.warn(`Invalid Attribute Value: "${n}" is not a valid value for the "visualstructure" attribute. Defaulting to "${H[0]}"`), t(0, n = H[0])), t(13, K = A && ce && !O ? A : b), t(14, Q = N), t(12, q = [o, C, T, S]);
556
556
  }, ee = (l) => Intl.NumberFormat(P, {
557
557
  minimumFractionDigits: 2,
558
558
  maximumFractionDigits: 2,
@@ -587,7 +587,7 @@ function ct(a, e, t) {
587
587
  });
588
588
  const Ce = () => be();
589
589
  function te(l) {
590
- Ke[l ? "unshift" : "push"](() => {
590
+ qe[l ? "unshift" : "push"](() => {
591
591
  j = l, t(4, j);
592
592
  });
593
593
  }
@@ -596,10 +596,10 @@ function ct(a, e, t) {
596
596
  }, a.$$.update = () => {
597
597
  a.$$.dirty[1] & /*endpoint*/
598
598
  1 && W && we(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
599
- 268435472 && f && j && Qe(j, f), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
600
- 536870928 && c && j && qe(j, c), a.$$.dirty[0] & /*customStylingContainer*/
599
+ 268435472 && f && j && Ge(j, f), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
600
+ 536870928 && c && j && Ye(j, c), a.$$.dirty[0] & /*customStylingContainer*/
601
601
  16 | a.$$.dirty[1] & /*mbsource*/
602
- 4 && ne && j && Ge(j, `${ne}.Style`), a.$$.dirty[0] & /*lang, currency*/
602
+ 4 && ne && j && Ke(j, `${ne}.Style`), a.$$.dirty[0] & /*lang, currency*/
603
603
  134217730 | a.$$.dirty[1] & /*endpoint, validGameIds*/
604
604
  9 && W && L && y && ie.length > 0 && he(), a.$$.dirty[0] & /*currency, lang, isLoading*/
605
605
  134217762 && y && L && !X && $(), a.$$.dirty[0] & /*lang*/
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-BGhJ1cEV.cjs");require("../stencil/ui-image-CH2Jdp7k.cjs");function ge(n,t){e.addMessages(n,t)}function je(n){e.$locale.set(n)}const _e={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function Se(n){e.append_styles(n,"svelte-w5pa6u",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function he(n,t,a){const l=n.slice();return l[56]=t[a],l[58]=a,l}function Te(n){let t,a,l,r,m,s,b,C,w,h,_,g,j;function I(u,o){return u[8]?Ae:Ie}let k=I(n),p=k(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("div"),m=e.space(),s=e.element("div"),p.c(),b=e.space(),C=e.element("div"),w=e.element("ui-image"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+n[9]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(w.src,h=n[14])||e.set_custom_element_data(w,"src",h),e.set_custom_element_data(w,"alt",""),e.attr(C,"class","title"),e.attr(l,"class",_="mainWrapper "+n[0]+" "+(n[7]&&!n[8]?"mobile":n[8]?"tablet":"")),e.set_style(l,"background","url("+n[13]+")"),e.attr(a,"class","jackpotBanner"),e.attr(t,"class","")},m(u,o){e.insert(u,t,o),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,m),e.append(l,s),p.m(s,null),e.append(l,b),e.append(l,C),e.append(C,w),g||(j=e.listen(a,"click",n[35]),g=!0)},p(u,o){o[0]&512&&e.set_style(r,"background-image","url("+u[9]+")"),k===(k=I(u))&&p?p.p(u,o):(p.d(1),p=k(u),p&&(p.c(),p.m(s,null))),o[0]&16384&&!e.src_url_equal(w.src,h=u[14])&&e.set_custom_element_data(w,"src",h),o[0]&385&&_!==(_="mainWrapper "+u[0]+" "+(u[7]&&!u[8]?"mobile":u[8]?"tablet":""))&&e.attr(l,"class",_),o[0]&8192&&e.set_style(l,"background","url("+u[13]+")")},d(u){u&&e.detach(t),p.d(),g=!1,j()}}}function xe(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function We(n){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function Ae(n){let t,a,l,r,m,s,b,C=n[11][0]+"",w,h,_,g,j=(n[2]==="true"?n[16][0]:n[10][0])+"",I,k,p,u,o,f,S,K,N,q=n[11][1]+"",ie,Z,E,Q,H=(n[2]==="true"?n[16][1]:n[10][1])+"",G,$,ee,z,U,R,v,O,re,Y,J=n[11][2]+"",F,de,V,te,ae=(n[2]==="true"?n[6][2]:n[10][2])+"",se,pe,ue,M,P,B,ne,ce,le,X=n[11][3]+"",oe,me,D,i,d=(n[2]==="true"?n[6][3]:n[10][3])+"",L,fe,T=!n[3]&&ye(n),x=!n[3]&&be(n),W=!n[3]&&ke(n),A=!n[3]&&ve(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("ui-image"),s=e.space(),b=e.element("span"),w=e.text(C),h=e.space(),_=e.element("span"),g=e.element("span"),I=e.text(j),k=e.space(),T&&T.c(),p=e.space(),u=e.element("div"),o=e.element("div"),f=e.element("ui-image"),K=e.space(),N=e.element("span"),ie=e.text(q),Z=e.space(),E=e.element("span"),Q=e.element("span"),G=e.text(H),$=e.space(),x&&x.c(),ee=e.space(),z=e.element("div"),U=e.element("div"),R=e.element("div"),v=e.element("ui-image"),re=e.space(),Y=e.element("span"),F=e.text(J),de=e.space(),V=e.element("span"),te=e.element("span"),se=e.text(ae),pe=e.space(),W&&W.c(),ue=e.space(),M=e.element("div"),P=e.element("div"),B=e.element("ui-image"),ce=e.space(),le=e.element("span"),oe=e.text(X),me=e.space(),D=e.element("span"),i=e.element("span"),L=e.text(d),fe=e.space(),A&&A.c(),e.set_custom_element_data(r,"class","displayCardIcon"),e.src_url_equal(r.src,m=n[12][0])||e.set_custom_element_data(r,"src",m),e.set_custom_element_data(r,"alt",""),e.attr(b,"class","cardLabel"),e.attr(l,"class","iconWrapper"),e.attr(g,"class","jackpotValue"),e.attr(_,"class","cardTextWrapper"),e.attr(a,"class","displayCard"),e.set_custom_element_data(f,"class","displayCardIcon"),e.src_url_equal(f.src,S=n[12][1])||e.set_custom_element_data(f,"src",S),e.set_custom_element_data(f,"alt",""),e.attr(N,"class","cardLabel"),e.attr(o,"class","iconWrapper"),e.attr(Q,"class","jackpotValue"),e.attr(E,"class","cardTextWrapper"),e.attr(u,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.set_custom_element_data(v,"class","displayCardIcon"),e.src_url_equal(v.src,O=n[12][2])||e.set_custom_element_data(v,"src",O),e.set_custom_element_data(v,"alt",""),e.attr(Y,"class","cardLabel"),e.attr(R,"class","iconWrapper"),e.attr(te,"class","jackpotValue"),e.attr(V,"class","cardTextWrapper"),e.attr(U,"class","displayCard"),e.set_custom_element_data(B,"class","displayCardIcon"),e.src_url_equal(B.src,ne=n[12][3])||e.set_custom_element_data(B,"src",ne),e.set_custom_element_data(B,"alt",""),e.attr(le,"class","cardLabel"),e.attr(P,"class","iconWrapper"),e.attr(i,"class","jackpotValue"),e.attr(D,"class","cardTextWrapper"),e.attr(M,"class","displayCard"),e.attr(z,"class","pairWrapper")},m(c,y){e.insert(c,t,y),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,s),e.append(l,b),e.append(b,w),e.append(a,h),e.append(a,_),e.append(_,g),e.append(g,I),e.append(_,k),T&&T.m(_,null),e.append(t,p),e.append(t,u),e.append(u,o),e.append(o,f),e.append(o,K),e.append(o,N),e.append(N,ie),e.append(u,Z),e.append(u,E),e.append(E,Q),e.append(Q,G),e.append(E,$),x&&x.m(E,null),e.insert(c,ee,y),e.insert(c,z,y),e.append(z,U),e.append(U,R),e.append(R,v),e.append(R,re),e.append(R,Y),e.append(Y,F),e.append(U,de),e.append(U,V),e.append(V,te),e.append(te,se),e.append(V,pe),W&&W.m(V,null),e.append(z,ue),e.append(z,M),e.append(M,P),e.append(P,B),e.append(P,ce),e.append(P,le),e.append(le,oe),e.append(M,me),e.append(M,D),e.append(D,i),e.append(i,L),e.append(D,fe),A&&A.m(D,null)},p(c,y){y[0]&4096&&!e.src_url_equal(r.src,m=c[12][0])&&e.set_custom_element_data(r,"src",m),y[0]&2048&&C!==(C=c[11][0]+"")&&e.set_data(w,C),y[0]&66564&&j!==(j=(c[2]==="true"?c[16][0]:c[10][0])+"")&&e.set_data(I,j),c[3]?T&&(T.d(1),T=null):T?T.p(c,y):(T=ye(c),T.c(),T.m(_,null)),y[0]&4096&&!e.src_url_equal(f.src,S=c[12][1])&&e.set_custom_element_data(f,"src",S),y[0]&2048&&q!==(q=c[11][1]+"")&&e.set_data(ie,q),y[0]&66564&&H!==(H=(c[2]==="true"?c[16][1]:c[10][1])+"")&&e.set_data(G,H),c[3]?x&&(x.d(1),x=null):x?x.p(c,y):(x=be(c),x.c(),x.m(E,null)),y[0]&4096&&!e.src_url_equal(v.src,O=c[12][2])&&e.set_custom_element_data(v,"src",O),y[0]&2048&&J!==(J=c[11][2]+"")&&e.set_data(F,J),y[0]&1092&&ae!==(ae=(c[2]==="true"?c[6][2]:c[10][2])+"")&&e.set_data(se,ae),c[3]?W&&(W.d(1),W=null):W?W.p(c,y):(W=ke(c),W.c(),W.m(V,null)),y[0]&4096&&!e.src_url_equal(B.src,ne=c[12][3])&&e.set_custom_element_data(B,"src",ne),y[0]&2048&&X!==(X=c[11][3]+"")&&e.set_data(oe,X),y[0]&1092&&d!==(d=(c[2]==="true"?c[6][3]:c[10][3])+"")&&e.set_data(L,d),c[3]?A&&(A.d(1),A=null):A?A.p(c,y):(A=ve(c),A.c(),A.m(D,null))},d(c){c&&(e.detach(t),e.detach(ee),e.detach(z)),T&&T.d(),x&&x.d(),W&&W.d(),A&&A.d()}}}function Ie(n){let t,a=e.ensure_array_like(Array(4)),l=[];for(let r=0;r<a.length;r+=1)l[r]=Ce(he(n,a,r));return{c(){for(let r=0;r<l.length;r+=1)l[r].c();t=e.empty()},m(r,m){for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(r,m);e.insert(r,t,m)},p(r,m){if(m[0]&72718){a=e.ensure_array_like(Array(4));let s;for(s=0;s<a.length;s+=1){const b=he(r,a,s);l[s]?l[s].p(b,m):(l[s]=Ce(b),l[s].c(),l[s].m(t.parentNode,t))}for(;s<l.length;s+=1)l[s].d(1);l.length=a.length}},d(r){r&&e.detach(t),e.destroy_each(l,r)}}}function ye(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function be(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ke(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ve(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function we(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function Ce(n){var u;let t,a,l,r,m,s,b=n[11][n[58]]+"",C,w,h,_,g=(n[2]==="true"?n[16][n[58]]:(u=n[10][n[58]])!=null?u:"")+"",j,I,k,p=!n[3]&&we(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("ui-image"),m=e.space(),s=e.element("span"),C=e.text(b),w=e.space(),h=e.element("span"),_=e.element("span"),j=e.text(g),I=e.space(),p&&p.c(),k=e.space(),e.set_custom_element_data(l,"class","displayCardIcon"),e.src_url_equal(l.src,r=n[12][n[58]])||e.set_custom_element_data(l,"src",r),e.set_custom_element_data(l,"alt",""),e.attr(s,"class","cardLabel"),e.attr(a,"class","iconWrapper"),e.attr(_,"class","jackpotValue"),e.attr(h,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(o,f){e.insert(o,t,f),e.append(t,a),e.append(a,l),e.append(a,m),e.append(a,s),e.append(s,C),e.append(t,w),e.append(t,h),e.append(h,_),e.append(_,j),e.append(h,I),p&&p.m(h,null),e.append(t,k)},p(o,f){var S;f[0]&4096&&!e.src_url_equal(l.src,r=o[12][o[58]])&&e.set_custom_element_data(l,"src",r),f[0]&2048&&b!==(b=o[11][o[58]]+"")&&e.set_data(C,b),f[0]&66564&&g!==(g=(o[2]==="true"?o[16][o[58]]:(S=o[10][o[58]])!=null?S:"")+"")&&e.set_data(j,g),o[3]?p&&(p.d(1),p=null):p?p.p(o,f):(p=we(o),p.c(),p.m(h,null))},d(o){o&&e.detach(t),p&&p.d()}}}function Ee(n){let t;function a(m,s){return m[15]?We:m[5]?xe:Te}let l=a(n),r=l(n);return{c(){t=e.element("div"),r.c()},m(m,s){e.insert(m,t,s),r.m(t,null),n[36](t)},p(m,s){l===(l=a(m))&&r?r.p(m,s):(r.d(1),r=l(m),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(m){m&&e.detach(t),r.d(),n[36](null)}}}function Je(n,t,a){let l,{visualstructure:r=""}=t,{title:m=""}=t,{caticon0:s=""}=t,{caticon1:b=""}=t,{caticon2:C=""}=t,{caticon3:w=""}=t,{iconlabels:h=""}=t,{backgroundsrc:_=""}=t,{currency:g=""}=t,{backgroundsrcmobile:j=""}=t,{titlelogopath:I=""}=t,{lang:k="en"}=t,{clientstyling:p=""}=t,{clientstylingurl:u=""}=t,{translationurl:o=""}=t,{endpoint:f=""}=t,{gameid:S=""}=t,{mbsource:K}=t,{realtimeupdate:N="false"}=t,{currencylocale:q=""}=t,ie=window.navigator.userAgent,Z=!1,E=!1,Q="",H=[],G=[],$=[],ee=[],z=[],U="",R="",v,O=!0,re=!1,Y,J=null,F=[];const de=()=>{fetch(o).then(d=>d.json()).then(d=>{Object.keys(d).forEach(L=>{ge(L,d[L])})}).catch(d=>{console.log(d)})};Object.keys(_e).forEach(i=>{ge(i,_e[i])});const V=["typeSpread","typeLeft"],te=i=>{var L;const d=(L=i==null?void 0:i.items[0])==null?void 0:L.additionalData;d&&Object.values(d).forEach(fe=>H.push(+fe))},ae=i=>{var d;a(9,Q=((d=i==null?void 0:i.items[0])==null?void 0:d.vendorLogo)||"")},se=()=>{if(f&&k&&g){let i=new URL(`${f}/v1/casino/jackpots`);i.searchParams.append("filter",`id=${S}`),i.searchParams.append("language",k),i.searchParams.append("additionalDataCurrency",g),fetch(i.href).then(d=>d.json().then(L=>{a(5,O=!1),Y=L,G.includes(S)&&(te(Y),ae(Y))}).catch(L=>{a(15,re=!0),a(5,O=!1),console.error(L)}).finally(()=>{pe()}))}},pe=()=>{const i=v.getRootNode().host;i.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:i}}))},ue=()=>{let i=new URL(`${f}/v1/casino/jackpots/config`);fetch(i.href).then(d=>d.json()).then(d=>{a(34,G=d.egtJackpotIds.map(L=>L))})},M=()=>{a(7,Z=e.isMobile(ie)&&window.innerHeight/window.innerWidth>1),a(8,E=ne()),H.length!==0&&(a(10,$=B(H)),$.reverse()),a(11,ee=h?h.split(",").map(i=>i.trim().toUpperCase()):new Array(4).fill("")),V.includes(r.trim())?a(0,r=r.trim()):(console.warn(`Invalid Attribute Value: "${r}" is not a valid value for the "visualstructure" attribute. Defaulting to "${V[0]}"`),a(0,r=V[0])),a(13,U=j&&Z&&!E?j:_),a(14,R=I),a(12,z=[s,b,C,w])},P=i=>Intl.NumberFormat(q,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:g}).format(i).replace(/\s/g,""),B=i=>q?i.map(d=>P(d)):i.map(d=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(d)),ne=()=>{const i=window.innerHeight/window.innerWidth;return .75<i&&i<1.6},ce=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:S},window.location.href),typeof gtag=="function"&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${S}`})},le=()=>{je(k)},X=i=>{const d=JSON.parse(i.data);if(d.success&&d.data.messageType==="UpdateEgtJackpotBalance"&&d.data.jackpotAlias.split("_")[0]===S){const L=Number(d.data.jackpotAlias.split("_")[1])-1;a(6,F[L]=q?P(d.data.data[`${g}`].balance):d.data.data[`${g}`].balance.toString(),F)}},oe=()=>{N==="true"&&(M(),a(6,F=["","","",""]),J=new EventSource(`${f}/v1/encoder/jackpot/*/update`),J.addEventListener("message",X))};e.onMount(()=>()=>{}),e.onDestroy(()=>{J&&(J.removeEventListener("message",X),J.close(),J=null)});const me=()=>ce();function D(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,a(4,v)})}return n.$$set=i=>{"visualstructure"in i&&a(0,r=i.visualstructure),"title"in i&&a(18,m=i.title),"caticon0"in i&&a(19,s=i.caticon0),"caticon1"in i&&a(20,b=i.caticon1),"caticon2"in i&&a(21,C=i.caticon2),"caticon3"in i&&a(22,w=i.caticon3),"iconlabels"in i&&a(23,h=i.iconlabels),"backgroundsrc"in i&&a(24,_=i.backgroundsrc),"currency"in i&&a(1,g=i.currency),"backgroundsrcmobile"in i&&a(25,j=i.backgroundsrcmobile),"titlelogopath"in i&&a(26,I=i.titlelogopath),"lang"in i&&a(27,k=i.lang),"clientstyling"in i&&a(28,p=i.clientstyling),"clientstylingurl"in i&&a(29,u=i.clientstylingurl),"translationurl"in i&&a(30,o=i.translationurl),"endpoint"in i&&a(31,f=i.endpoint),"gameid"in i&&a(32,S=i.gameid),"mbsource"in i&&a(33,K=i.mbsource),"realtimeupdate"in i&&a(2,N=i.realtimeupdate),"currencylocale"in i&&a(3,q=i.currencylocale)},n.$$.update=()=>{n.$$.dirty[1]&1&&f&&ue(),n.$$.dirty[0]&268435472&&p&&v&&e.setClientStyling(v,p),n.$$.dirty[0]&536870928&&u&&v&&e.setClientStylingURL(v,u),n.$$.dirty[0]&16|n.$$.dirty[1]&4&&K&&v&&e.setStreamStyling(v,`${K}.Style`),n.$$.dirty[0]&134217730|n.$$.dirty[1]&9&&f&&k&&g&&G.length>0&&se(),n.$$.dirty[0]&134217762&&g&&k&&!O&&M(),n.$$.dirty[0]&134217728&&k&&le(),n.$$.dirty[0]&1073741824&&o&&de(),n.$$.dirty[0]&4&&N&&oe(),n.$$.dirty[0]&64&&a(16,l=[...F].reverse())},[r,g,N,q,v,O,F,Z,E,Q,$,ee,z,U,R,re,l,ce,m,s,b,C,w,h,_,j,I,k,p,u,o,f,S,K,G,me,D]}class Le extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Je,Ee,e.safe_not_equal,{visualstructure:0,title:18,caticon0:19,caticon1:20,caticon2:21,caticon3:22,iconlabels:23,backgroundsrc:24,currency:1,backgroundsrcmobile:25,titlelogopath:26,lang:27,clientstyling:28,clientstylingurl:29,translationurl:30,endpoint:31,gameid:32,mbsource:33,realtimeupdate:2,currencylocale:3},Se,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[18]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[19]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[20]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[21]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[22]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[23]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[24]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[25]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[26]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[27]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[30]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[31]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[32]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[33]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}get currencylocale(){return this.$$.ctx[3]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(Le,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{},currencylocale:{}},[],[],!0);exports.default=Le;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-Bo-lripz.cjs");require("../stencil/ui-image-wubI3fkK.cjs");function ge(n,t){e.addMessages(n,t)}function je(n){e.$locale.set(n)}const _e={en:{loadingText:"Loading, please wait..."},"zh-hk":{loadingText:"加载请稍候 ..."},fr:{loadingText:"Chargement, veuillez patienter..."},ro:{loadingText:"Se incarca, va rugam asteptati..."},es:{loadingText:"Cargando"},pt:{loadingText:"Carregando, por favor espere..."},de:{loadingText:"Laden, bitte warten..."},hr:{loadingText:"Učitavanje"},"pt-br":{CarregandoText:"Carregando"},"es-mx":{CargandoText:"Cargando, por favor espere…"},tr:{loadingText:"Yükleniyor, lütfen bekleyin..."},"en-us":{loadingText:"Loading, please wait..."}};function Se(n){e.append_styles(n,"svelte-w5pa6u",':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}')}function he(n,t,a){const l=n.slice();return l[56]=t[a],l[58]=a,l}function Te(n){let t,a,l,r,m,s,b,C,w,h,_,g,j;function I(u,o){return u[8]?Ae:Ie}let k=I(n),p=k(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("div"),m=e.space(),s=e.element("div"),p.c(),b=e.space(),C=e.element("div"),w=e.element("ui-image"),e.attr(r,"class","vendorLogo"),e.set_style(r,"background-image","url("+n[9]+")"),e.attr(s,"class","displayContainer"),e.src_url_equal(w.src,h=n[14])||e.set_custom_element_data(w,"src",h),e.set_custom_element_data(w,"alt",""),e.attr(C,"class","title"),e.attr(l,"class",_="mainWrapper "+n[0]+" "+(n[7]&&!n[8]?"mobile":n[8]?"tablet":"")),e.set_style(l,"background","url("+n[13]+")"),e.attr(a,"class","jackpotBanner"),e.attr(t,"class","")},m(u,o){e.insert(u,t,o),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,m),e.append(l,s),p.m(s,null),e.append(l,b),e.append(l,C),e.append(C,w),g||(j=e.listen(a,"click",n[35]),g=!0)},p(u,o){o[0]&512&&e.set_style(r,"background-image","url("+u[9]+")"),k===(k=I(u))&&p?p.p(u,o):(p.d(1),p=k(u),p&&(p.c(),p.m(s,null))),o[0]&16384&&!e.src_url_equal(w.src,h=u[14])&&e.set_custom_element_data(w,"src",h),o[0]&385&&_!==(_="mainWrapper "+u[0]+" "+(u[7]&&!u[8]?"mobile":u[8]?"tablet":""))&&e.attr(l,"class",_),o[0]&8192&&e.set_style(l,"background","url("+u[13]+")")},d(u){u&&e.detach(t),p.d(),g=!1,j()}}}function xe(n){let t;return{c(){t=e.element("div"),e.attr(t,"class","LoadingSpinner")},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function We(n){let t;return{c(){t=e.element("p"),t.textContent="500 Server error"},m(a,l){e.insert(a,t,l)},p:e.noop,d(a){a&&e.detach(t)}}}function Ae(n){let t,a,l,r,m,s,b,C=n[11][0]+"",w,h,_,g,j=(n[2]==="true"?n[16][0]:n[10][0])+"",I,k,p,u,o,f,S,K,N,q=n[11][1]+"",ie,Z,E,Q,H=(n[2]==="true"?n[16][1]:n[10][1])+"",G,$,ee,z,U,R,v,O,re,Y,J=n[11][2]+"",F,de,V,te,ae=(n[2]==="true"?n[6][2]:n[10][2])+"",se,pe,ue,M,P,B,ne,ce,le,X=n[11][3]+"",oe,me,D,i,d=(n[2]==="true"?n[6][3]:n[10][3])+"",L,fe,T=!n[3]&&ye(n),x=!n[3]&&be(n),W=!n[3]&&ke(n),A=!n[3]&&ve(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("div"),r=e.element("ui-image"),s=e.space(),b=e.element("span"),w=e.text(C),h=e.space(),_=e.element("span"),g=e.element("span"),I=e.text(j),k=e.space(),T&&T.c(),p=e.space(),u=e.element("div"),o=e.element("div"),f=e.element("ui-image"),K=e.space(),N=e.element("span"),ie=e.text(q),Z=e.space(),E=e.element("span"),Q=e.element("span"),G=e.text(H),$=e.space(),x&&x.c(),ee=e.space(),z=e.element("div"),U=e.element("div"),R=e.element("div"),v=e.element("ui-image"),re=e.space(),Y=e.element("span"),F=e.text(J),de=e.space(),V=e.element("span"),te=e.element("span"),se=e.text(ae),pe=e.space(),W&&W.c(),ue=e.space(),M=e.element("div"),P=e.element("div"),B=e.element("ui-image"),ce=e.space(),le=e.element("span"),oe=e.text(X),me=e.space(),D=e.element("span"),i=e.element("span"),L=e.text(d),fe=e.space(),A&&A.c(),e.set_custom_element_data(r,"class","displayCardIcon"),e.src_url_equal(r.src,m=n[12][0])||e.set_custom_element_data(r,"src",m),e.set_custom_element_data(r,"alt",""),e.attr(b,"class","cardLabel"),e.attr(l,"class","iconWrapper"),e.attr(g,"class","jackpotValue"),e.attr(_,"class","cardTextWrapper"),e.attr(a,"class","displayCard"),e.set_custom_element_data(f,"class","displayCardIcon"),e.src_url_equal(f.src,S=n[12][1])||e.set_custom_element_data(f,"src",S),e.set_custom_element_data(f,"alt",""),e.attr(N,"class","cardLabel"),e.attr(o,"class","iconWrapper"),e.attr(Q,"class","jackpotValue"),e.attr(E,"class","cardTextWrapper"),e.attr(u,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.set_custom_element_data(v,"class","displayCardIcon"),e.src_url_equal(v.src,O=n[12][2])||e.set_custom_element_data(v,"src",O),e.set_custom_element_data(v,"alt",""),e.attr(Y,"class","cardLabel"),e.attr(R,"class","iconWrapper"),e.attr(te,"class","jackpotValue"),e.attr(V,"class","cardTextWrapper"),e.attr(U,"class","displayCard"),e.set_custom_element_data(B,"class","displayCardIcon"),e.src_url_equal(B.src,ne=n[12][3])||e.set_custom_element_data(B,"src",ne),e.set_custom_element_data(B,"alt",""),e.attr(le,"class","cardLabel"),e.attr(P,"class","iconWrapper"),e.attr(i,"class","jackpotValue"),e.attr(D,"class","cardTextWrapper"),e.attr(M,"class","displayCard"),e.attr(z,"class","pairWrapper")},m(c,y){e.insert(c,t,y),e.append(t,a),e.append(a,l),e.append(l,r),e.append(l,s),e.append(l,b),e.append(b,w),e.append(a,h),e.append(a,_),e.append(_,g),e.append(g,I),e.append(_,k),T&&T.m(_,null),e.append(t,p),e.append(t,u),e.append(u,o),e.append(o,f),e.append(o,K),e.append(o,N),e.append(N,ie),e.append(u,Z),e.append(u,E),e.append(E,Q),e.append(Q,G),e.append(E,$),x&&x.m(E,null),e.insert(c,ee,y),e.insert(c,z,y),e.append(z,U),e.append(U,R),e.append(R,v),e.append(R,re),e.append(R,Y),e.append(Y,F),e.append(U,de),e.append(U,V),e.append(V,te),e.append(te,se),e.append(V,pe),W&&W.m(V,null),e.append(z,ue),e.append(z,M),e.append(M,P),e.append(P,B),e.append(P,ce),e.append(P,le),e.append(le,oe),e.append(M,me),e.append(M,D),e.append(D,i),e.append(i,L),e.append(D,fe),A&&A.m(D,null)},p(c,y){y[0]&4096&&!e.src_url_equal(r.src,m=c[12][0])&&e.set_custom_element_data(r,"src",m),y[0]&2048&&C!==(C=c[11][0]+"")&&e.set_data(w,C),y[0]&66564&&j!==(j=(c[2]==="true"?c[16][0]:c[10][0])+"")&&e.set_data(I,j),c[3]?T&&(T.d(1),T=null):T?T.p(c,y):(T=ye(c),T.c(),T.m(_,null)),y[0]&4096&&!e.src_url_equal(f.src,S=c[12][1])&&e.set_custom_element_data(f,"src",S),y[0]&2048&&q!==(q=c[11][1]+"")&&e.set_data(ie,q),y[0]&66564&&H!==(H=(c[2]==="true"?c[16][1]:c[10][1])+"")&&e.set_data(G,H),c[3]?x&&(x.d(1),x=null):x?x.p(c,y):(x=be(c),x.c(),x.m(E,null)),y[0]&4096&&!e.src_url_equal(v.src,O=c[12][2])&&e.set_custom_element_data(v,"src",O),y[0]&2048&&J!==(J=c[11][2]+"")&&e.set_data(F,J),y[0]&1092&&ae!==(ae=(c[2]==="true"?c[6][2]:c[10][2])+"")&&e.set_data(se,ae),c[3]?W&&(W.d(1),W=null):W?W.p(c,y):(W=ke(c),W.c(),W.m(V,null)),y[0]&4096&&!e.src_url_equal(B.src,ne=c[12][3])&&e.set_custom_element_data(B,"src",ne),y[0]&2048&&X!==(X=c[11][3]+"")&&e.set_data(oe,X),y[0]&1092&&d!==(d=(c[2]==="true"?c[6][3]:c[10][3])+"")&&e.set_data(L,d),c[3]?A&&(A.d(1),A=null):A?A.p(c,y):(A=ve(c),A.c(),A.m(D,null))},d(c){c&&(e.detach(t),e.detach(ee),e.detach(z)),T&&T.d(),x&&x.d(),W&&W.d(),A&&A.d()}}}function Ie(n){let t,a=e.ensure_array_like(Array(4)),l=[];for(let r=0;r<a.length;r+=1)l[r]=Ce(he(n,a,r));return{c(){for(let r=0;r<l.length;r+=1)l[r].c();t=e.empty()},m(r,m){for(let s=0;s<l.length;s+=1)l[s]&&l[s].m(r,m);e.insert(r,t,m)},p(r,m){if(m[0]&72718){a=e.ensure_array_like(Array(4));let s;for(s=0;s<a.length;s+=1){const b=he(r,a,s);l[s]?l[s].p(b,m):(l[s]=Ce(b),l[s].c(),l[s].m(t.parentNode,t))}for(;s<l.length;s+=1)l[s].d(1);l.length=a.length}},d(r){r&&e.detach(t),e.destroy_each(l,r)}}}function ye(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function be(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ke(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function ve(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function we(n){let t,a;return{c(){t=e.element("span"),a=e.text(n[1]),e.attr(t,"class","jackpot-currency")},m(l,r){e.insert(l,t,r),e.append(t,a)},p(l,r){r[0]&2&&e.set_data(a,l[1])},d(l){l&&e.detach(t)}}}function Ce(n){var u;let t,a,l,r,m,s,b=n[11][n[58]]+"",C,w,h,_,g=(n[2]==="true"?n[16][n[58]]:(u=n[10][n[58]])!=null?u:"")+"",j,I,k,p=!n[3]&&we(n);return{c(){t=e.element("div"),a=e.element("div"),l=e.element("ui-image"),m=e.space(),s=e.element("span"),C=e.text(b),w=e.space(),h=e.element("span"),_=e.element("span"),j=e.text(g),I=e.space(),p&&p.c(),k=e.space(),e.set_custom_element_data(l,"class","displayCardIcon"),e.src_url_equal(l.src,r=n[12][n[58]])||e.set_custom_element_data(l,"src",r),e.set_custom_element_data(l,"alt",""),e.attr(s,"class","cardLabel"),e.attr(a,"class","iconWrapper"),e.attr(_,"class","jackpotValue"),e.attr(h,"class","cardTextWrapper"),e.attr(t,"class","displayCard")},m(o,f){e.insert(o,t,f),e.append(t,a),e.append(a,l),e.append(a,m),e.append(a,s),e.append(s,C),e.append(t,w),e.append(t,h),e.append(h,_),e.append(_,j),e.append(h,I),p&&p.m(h,null),e.append(t,k)},p(o,f){var S;f[0]&4096&&!e.src_url_equal(l.src,r=o[12][o[58]])&&e.set_custom_element_data(l,"src",r),f[0]&2048&&b!==(b=o[11][o[58]]+"")&&e.set_data(C,b),f[0]&66564&&g!==(g=(o[2]==="true"?o[16][o[58]]:(S=o[10][o[58]])!=null?S:"")+"")&&e.set_data(j,g),o[3]?p&&(p.d(1),p=null):p?p.p(o,f):(p=we(o),p.c(),p.m(h,null))},d(o){o&&e.detach(t),p&&p.d()}}}function Ee(n){let t;function a(m,s){return m[15]?We:m[5]?xe:Te}let l=a(n),r=l(n);return{c(){t=e.element("div"),r.c()},m(m,s){e.insert(m,t,s),r.m(t,null),n[36](t)},p(m,s){l===(l=a(m))&&r?r.p(m,s):(r.d(1),r=l(m),r&&(r.c(),r.m(t,null)))},i:e.noop,o:e.noop,d(m){m&&e.detach(t),r.d(),n[36](null)}}}function Je(n,t,a){let l,{visualstructure:r=""}=t,{title:m=""}=t,{caticon0:s=""}=t,{caticon1:b=""}=t,{caticon2:C=""}=t,{caticon3:w=""}=t,{iconlabels:h=""}=t,{backgroundsrc:_=""}=t,{currency:g=""}=t,{backgroundsrcmobile:j=""}=t,{titlelogopath:I=""}=t,{lang:k="en"}=t,{clientstyling:p=""}=t,{clientstylingurl:u=""}=t,{translationurl:o=""}=t,{endpoint:f=""}=t,{gameid:S=""}=t,{mbsource:K}=t,{realtimeupdate:N="false"}=t,{currencylocale:q=""}=t,ie=window.navigator.userAgent,Z=!1,E=!1,Q="",H=[],G=[],$=[],ee=[],z=[],U="",R="",v,O=!0,re=!1,Y,J=null,F=[];const de=()=>{fetch(o).then(d=>d.json()).then(d=>{Object.keys(d).forEach(L=>{ge(L,d[L])})}).catch(d=>{console.log(d)})};Object.keys(_e).forEach(i=>{ge(i,_e[i])});const V=["typeSpread","typeLeft"],te=i=>{var L;const d=(L=i==null?void 0:i.items[0])==null?void 0:L.additionalData;d&&Object.values(d).forEach(fe=>H.push(+fe))},ae=i=>{var d;a(9,Q=((d=i==null?void 0:i.items[0])==null?void 0:d.vendorLogo)||"")},se=()=>{if(f&&k&&g){let i=new URL(`${f}/v1/casino/jackpots`);i.searchParams.append("filter",`id=${S}`),i.searchParams.append("language",k),i.searchParams.append("additionalDataCurrency",g),fetch(i.href).then(d=>d.json().then(L=>{a(5,O=!1),Y=L,G.includes(S)&&(te(Y),ae(Y))}).catch(L=>{a(15,re=!0),a(5,O=!1),console.error(L)}).finally(()=>{pe()}))}},pe=()=>{const i=v.getRootNode().host;i.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:i}}))},ue=()=>{let i=new URL(`${f}/v1/casino/jackpots/config`);fetch(i.href).then(d=>d.json()).then(d=>{a(34,G=d.egtJackpotIds.map(L=>L))})},M=()=>{a(7,Z=e.isMobile(ie)&&window.innerHeight/window.innerWidth>1),a(8,E=ne()),H.length!==0&&(a(10,$=B(H)),$.reverse()),a(11,ee=h?h.split(",").map(i=>i.trim().toUpperCase()):new Array(4).fill("")),V.includes(r.trim())?a(0,r=r.trim()):(console.warn(`Invalid Attribute Value: "${r}" is not a valid value for the "visualstructure" attribute. Defaulting to "${V[0]}"`),a(0,r=V[0])),a(13,U=j&&Z&&!E?j:_),a(14,R=I),a(12,z=[s,b,C,w])},P=i=>Intl.NumberFormat(q,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:g}).format(i).replace(/\s/g,""),B=i=>q?i.map(d=>P(d)):i.map(d=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(d)),ne=()=>{const i=window.innerHeight/window.innerWidth;return .75<i&&i<1.6},ce=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:S},window.location.href),typeof gtag=="function"&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${S}`})},le=()=>{je(k)},X=i=>{const d=JSON.parse(i.data);if(d.success&&d.data.messageType==="UpdateEgtJackpotBalance"&&d.data.jackpotAlias.split("_")[0]===S){const L=Number(d.data.jackpotAlias.split("_")[1])-1;a(6,F[L]=q?P(d.data.data[`${g}`].balance):d.data.data[`${g}`].balance.toString(),F)}},oe=()=>{N==="true"&&(M(),a(6,F=["","","",""]),J=new EventSource(`${f}/v1/encoder/jackpot/*/update`),J.addEventListener("message",X))};e.onMount(()=>()=>{}),e.onDestroy(()=>{J&&(J.removeEventListener("message",X),J.close(),J=null)});const me=()=>ce();function D(i){e.binding_callbacks[i?"unshift":"push"](()=>{v=i,a(4,v)})}return n.$$set=i=>{"visualstructure"in i&&a(0,r=i.visualstructure),"title"in i&&a(18,m=i.title),"caticon0"in i&&a(19,s=i.caticon0),"caticon1"in i&&a(20,b=i.caticon1),"caticon2"in i&&a(21,C=i.caticon2),"caticon3"in i&&a(22,w=i.caticon3),"iconlabels"in i&&a(23,h=i.iconlabels),"backgroundsrc"in i&&a(24,_=i.backgroundsrc),"currency"in i&&a(1,g=i.currency),"backgroundsrcmobile"in i&&a(25,j=i.backgroundsrcmobile),"titlelogopath"in i&&a(26,I=i.titlelogopath),"lang"in i&&a(27,k=i.lang),"clientstyling"in i&&a(28,p=i.clientstyling),"clientstylingurl"in i&&a(29,u=i.clientstylingurl),"translationurl"in i&&a(30,o=i.translationurl),"endpoint"in i&&a(31,f=i.endpoint),"gameid"in i&&a(32,S=i.gameid),"mbsource"in i&&a(33,K=i.mbsource),"realtimeupdate"in i&&a(2,N=i.realtimeupdate),"currencylocale"in i&&a(3,q=i.currencylocale)},n.$$.update=()=>{n.$$.dirty[1]&1&&f&&ue(),n.$$.dirty[0]&268435472&&p&&v&&e.setClientStyling(v,p),n.$$.dirty[0]&536870928&&u&&v&&e.setClientStylingURL(v,u),n.$$.dirty[0]&16|n.$$.dirty[1]&4&&K&&v&&e.setStreamStyling(v,`${K}.Style`),n.$$.dirty[0]&134217730|n.$$.dirty[1]&9&&f&&k&&g&&G.length>0&&se(),n.$$.dirty[0]&134217762&&g&&k&&!O&&M(),n.$$.dirty[0]&134217728&&k&&le(),n.$$.dirty[0]&1073741824&&o&&de(),n.$$.dirty[0]&4&&N&&oe(),n.$$.dirty[0]&64&&a(16,l=[...F].reverse())},[r,g,N,q,v,O,F,Z,E,Q,$,ee,z,U,R,re,l,ce,m,s,b,C,w,h,_,j,I,k,p,u,o,f,S,K,G,me,D]}class Le extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Je,Ee,e.safe_not_equal,{visualstructure:0,title:18,caticon0:19,caticon1:20,caticon2:21,caticon3:22,iconlabels:23,backgroundsrc:24,currency:1,backgroundsrcmobile:25,titlelogopath:26,lang:27,clientstyling:28,clientstylingurl:29,translationurl:30,endpoint:31,gameid:32,mbsource:33,realtimeupdate:2,currencylocale:3},Se,[-1,-1])}get visualstructure(){return this.$$.ctx[0]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get title(){return this.$$.ctx[18]}set title(t){this.$$set({title:t}),e.flush()}get caticon0(){return this.$$.ctx[19]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[20]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[21]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[22]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get iconlabels(){return this.$$.ctx[23]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[24]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get currency(){return this.$$.ctx[1]}set currency(t){this.$$set({currency:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[25]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[26]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get lang(){return this.$$.ctx[27]}set lang(t){this.$$set({lang:t}),e.flush()}get clientstyling(){return this.$$.ctx[28]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[29]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[30]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get endpoint(){return this.$$.ctx[31]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get gameid(){return this.$$.ctx[32]}set gameid(t){this.$$set({gameid:t}),e.flush()}get mbsource(){return this.$$.ctx[33]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[2]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}get currencylocale(){return this.$$.ctx[3]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(Le,{visualstructure:{},title:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},iconlabels:{},backgroundsrc:{},currency:{},backgroundsrcmobile:{},titlelogopath:{},lang:{},clientstyling:{},clientstylingurl:{},translationurl:{},endpoint:{},gameid:{},mbsource:{},realtimeupdate:{},currencylocale:{}},[],[],!0);exports.default=Le;
@@ -1,5 +1,5 @@
1
- import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as L, y as A, d as M, z as B, G as I, j as D, k as re, o as oe, l as ue, q as ce, r as me, m as ge, H as i, x as de, E as fe, J as he, N as ye } from "./CasinoCalendar-FUyH3So6.js";
2
- import "./CasinoFavoritesSection-Cv6jIUlD.js";
1
+ import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as L, y as A, d as M, z as B, G as I, j as D, k as re, o as oe, n as ue, p as ce, q as me, r as ge, H as i, x as de, E as fe, J as he, M as ye } from "./CasinoCalendar-CzMBlFEu.js";
2
+ import "./CasinoFavoritesSection-CYeNzAvT.js";
3
3
  function V(s, e) {
4
4
  ee(s, e);
5
5
  }
@@ -312,7 +312,7 @@ function ke(s) {
312
312
  function Le(s, e, t) {
313
313
  let n;
314
314
  re(s, he, (a) => t(21, n = a));
315
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: C = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, K = window.navigator.userAgent, Y = !1, k = [], J, f;
315
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: z = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: N = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: C = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, K = window.navigator.userAgent, Y = !1, k = [], J, f;
316
316
  const Q = () => {
317
317
  fetch(w).then((g) => g.json()).then((g) => {
318
318
  Object.keys(g).forEach((u) => {
@@ -360,18 +360,18 @@ function Le(s, e, t) {
360
360
  oe(() => () => {
361
361
  });
362
362
  function x(a) {
363
- ce[a ? "unshift" : "push"](() => {
363
+ ue[a ? "unshift" : "push"](() => {
364
364
  f = a, t(19, f);
365
365
  });
366
366
  }
367
367
  return s.$$set = (a) => {
368
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(8, w = a.translationurl), "livecasino" in a && t(9, _ = a.livecasino), "integratedgameframemobile" in a && t(10, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, F = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, P = a.visiblegames), "favorites" in a && t(15, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, C = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(16, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent), "mbsource" in a && t(18, q = a.mbsource);
368
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(8, w = a.translationurl), "livecasino" in a && t(9, _ = a.livecasino), "integratedgameframemobile" in a && t(10, z = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, N = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, P = a.visiblegames), "favorites" in a && t(15, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, C = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(16, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent), "mbsource" in a && t(18, q = a.mbsource);
369
369
  }, s.$$.update = () => {
370
370
  s.$$.dirty[0] & /*endpoint, userid, lang*/
371
371
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
372
372
  256 && w && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
373
- 524352 && b && f && me(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
374
- 524416 && v && f && ue(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
373
+ 524352 && b && f && ce(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
374
+ 524416 && v && f && me(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
375
375
  786432 && f && ge(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
376
376
  8 && d && p();
377
377
  }, [
@@ -385,9 +385,9 @@ function Le(s, e, t) {
385
385
  v,
386
386
  w,
387
387
  _,
388
- N,
389
388
  z,
390
389
  F,
390
+ N,
391
391
  O,
392
392
  P,
393
393
  T,
@@ -1,5 +1,5 @@
1
- import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as L, y as A, d as M, z as B, G as I, j as D, k as re, o as oe, l as ue, q as ce, r as me, m as ge, H as i, x as de, E as fe, J as he, N as ye } from "./CasinoCalendar-BMDbprh6.js";
2
- import "./CasinoFavoritesSection-DvljpfJ3.js";
1
+ import { a as ee, $ as te, S as ae, i as se, f as l, c as ie, s as ne, b as le, e as L, y as A, d as M, z as B, G as I, j as D, k as re, o as oe, n as ue, p as ce, q as me, r as ge, H as i, x as de, E as fe, J as he, M as ye } from "./CasinoCalendar-B0K8z0GJ.js";
2
+ import "./CasinoFavoritesSection-9lyxUggQ.js";
3
3
  function V(s, e) {
4
4
  ee(s, e);
5
5
  }
@@ -312,7 +312,7 @@ function ke(s) {
312
312
  function Le(s, e, t) {
313
313
  let n;
314
314
  re(s, he, (a) => t(21, n = a));
315
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: z = "false" } = e, { gamepagemodalurl: F = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: C = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, K = window.navigator.userAgent, Y = !1, k = [], J, f;
315
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: z = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: N = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P = "" } = e, { favorites: T = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: C = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: U = "true" } = e, { mbsource: q } = e, K = window.navigator.userAgent, Y = !1, k = [], J, f;
316
316
  const Q = () => {
317
317
  fetch(w).then((g) => g.json()).then((g) => {
318
318
  Object.keys(g).forEach((u) => {
@@ -360,18 +360,18 @@ function Le(s, e, t) {
360
360
  oe(() => () => {
361
361
  });
362
362
  function x(a) {
363
- ce[a ? "unshift" : "push"](() => {
363
+ ue[a ? "unshift" : "push"](() => {
364
364
  f = a, t(19, f);
365
365
  });
366
366
  }
367
367
  return s.$$set = (a) => {
368
- "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(8, w = a.translationurl), "livecasino" in a && t(9, _ = a.livecasino), "integratedgameframemobile" in a && t(10, N = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, z = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, F = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, P = a.visiblegames), "favorites" in a && t(15, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, C = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(16, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent), "mbsource" in a && t(18, q = a.mbsource);
368
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, E = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, v = a.clientstylingurl), "translationurl" in a && t(8, w = a.translationurl), "livecasino" in a && t(9, _ = a.livecasino), "integratedgameframemobile" in a && t(10, z = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, N = a.gamepagemodalurl), "showgamename" in a && t(13, O = a.showgamename), "visiblegames" in a && t(14, P = a.visiblegames), "favorites" in a && t(15, T = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, C = a.lastplayedorder), "lastplayedlimit" in a && t(24, j = a.lastplayedlimit), "casinomygames" in a && t(16, G = a.casinomygames), "lastplayedunique" in a && t(25, R = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent), "mbsource" in a && t(18, q = a.mbsource);
369
369
  }, s.$$.update = () => {
370
370
  s.$$.dirty[0] & /*endpoint, userid, lang*/
371
371
  41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
372
372
  256 && w && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
373
- 524352 && b && f && me(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
374
- 524416 && v && f && ue(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
373
+ 524352 && b && f && ce(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
374
+ 524416 && v && f && me(f, v), s.$$.dirty[0] & /*customStylingContainer, mbsource*/
375
375
  786432 && f && ge(f, `${q}.Style`), s.$$.dirty[0] & /*lang*/
376
376
  8 && d && p();
377
377
  }, [
@@ -385,9 +385,9 @@ function Le(s, e, t) {
385
385
  v,
386
386
  w,
387
387
  _,
388
- N,
389
388
  z,
390
389
  F,
390
+ N,
391
391
  O,
392
392
  P,
393
393
  T,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BGhJ1cEV.cjs");require("./CasinoFavoritesSection-BQm3vLN4.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"mbsource",n[18]),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"translationurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&262144&&t.set_custom_element_data(e,"mbsource",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"translationurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[20]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:k=""}=e,{favorites:E=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let m=new URL(`${o}/v1/player/${_}/games/last-played`);m.searchParams.append("unique",j),m.searchParams.append("limit",C),m.searchParams.append("order",L),m.searchParams.append("period",P),t.getDevice(I)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),O=v?m:m.href,fetch(O).then(r=>r.json()).then(r=>{r.items=r.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(r.count--,T=!1),T}),s(r),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:r},window.location.href)}).catch(r=>{console.error(r),c(r)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(m=>{let f=new URL(`${o}/v1/casino/games/${m.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(r=>r.json())):c.push(fetch(f.href).then(r=>r.json()))}),Promise.all(c).then(m=>{w=m.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(20,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(8,b=s.translationurl),"livecasino"in s&&a(9,v=s.livecasino),"integratedgameframemobile"in s&&a(10,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,M=s.gamepagemodalurl),"showgamename"in s&&a(13,D=s.showgamename),"visiblegames"in s&&a(14,k=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(16,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(17,F=s.fetchviaevent),"mbsource"in s&&a(18,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&256&&b&&J(),n.$$.dirty[0]&524352&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&524416&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&786432&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,v,R,A,M,D,k,E,S,F,q,g,N,i,P,L,C,j,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:16,lastplayedunique:25,fetchviaevent:17,mbsource:18},W,[-1,-1])}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 clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[8]}set translationurl(e){this.$$set({translationurl: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 gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename: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 lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[18]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-Bo-lripz.cjs");require("./CasinoFavoritesSection-yx4YyO7z.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"mbsource",n[18]),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[6]),t.set_custom_element_data(e,"clientstylingurl",n[7]),t.set_custom_element_data(e,"translationurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&262144&&t.set_custom_element_data(e,"mbsource",a[18]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&64&&t.set_custom_element_data(e,"clientstyling",a[6]),i[0]&128&&t.set_custom_element_data(e,"clientstylingurl",a[7]),i[0]&256&&t.set_custom_element_data(e,"translationurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[21]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&2097152&&a!==(a=o[21]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[20]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(21,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{clientstyling:h=""}=e,{clientstylingurl:y=""}=e,{translationurl:b=""}=e,{livecasino:v="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:k=""}=e,{favorites:E=""}=e,{lastplayedperiod:P="Last30Days"}=e,{lastplayedorder:L=""}=e,{lastplayedlimit:C=""}=e,{casinomygames:S="false"}=e,{lastplayedunique:j="true"}=e,{fetchviaevent:F="true"}=e,{mbsource:q}=e,I=window.navigator.userAgent,N=!1,w=[],O,g;const J=()=>{fetch(b).then(c=>c.json()).then(c=>{Object.keys(c).forEach(m=>{z(m,c[m])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let m=new URL(`${o}/v1/player/${_}/games/last-played`);m.searchParams.append("unique",j),m.searchParams.append("limit",C),m.searchParams.append("order",L),m.searchParams.append("period",P),t.getDevice(I)==="PC"?m.searchParams.append("device","Desktop"):m.searchParams.append("device","Mobile"),O=v?m:m.href,fetch(O).then(r=>r.json()).then(r=>{r.items=r.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(r.count--,T=!1),T}),s(r),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:r},window.location.href)}).catch(r=>{console.error(r),c(r)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(m=>{let f=new URL(`${o}/v1/casino/games/${m.gameId}`);f.searchParams.append("datasource",l),v?c.push(fetch(f.href).then(r=>r.json())):c.push(fetch(f.href).then(r=>r.json()))}),Promise.all(c).then(m=>{w=m.filter(f=>!("error"in f)).map(f=>f[0]),S==="true"&&(w=w.slice(0,JSON.parse(k))),window.postMessage({type:"LastPlayedData",lastPlayedGames:w},window.location.href)})}else a(20,N=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(19,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"clientstyling"in s&&a(6,h=s.clientstyling),"clientstylingurl"in s&&a(7,y=s.clientstylingurl),"translationurl"in s&&a(8,b=s.translationurl),"livecasino"in s&&a(9,v=s.livecasino),"integratedgameframemobile"in s&&a(10,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,M=s.gamepagemodalurl),"showgamename"in s&&a(13,D=s.showgamename),"visiblegames"in s&&a(14,k=s.visiblegames),"favorites"in s&&a(15,E=s.favorites),"lastplayedperiod"in s&&a(22,P=s.lastplayedperiod),"lastplayedorder"in s&&a(23,L=s.lastplayedorder),"lastplayedlimit"in s&&a(24,C=s.lastplayedlimit),"casinomygames"in s&&a(16,S=s.casinomygames),"lastplayedunique"in s&&a(25,j=s.lastplayedunique),"fetchviaevent"in s&&a(17,F=s.fetchviaevent),"mbsource"in s&&a(18,q=s.mbsource)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&256&&b&&J(),n.$$.dirty[0]&524352&&h&&g&&t.setClientStyling(g,h),n.$$.dirty[0]&524416&&y&&g&&t.setClientStylingURL(g,y),n.$$.dirty[0]&786432&&g&&t.setStreamStyling(g,`${q}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,v,R,A,M,D,k,E,S,F,q,g,N,i,P,L,C,j,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,translationurl:8,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:16,lastplayedunique:25,fetchviaevent:17,mbsource:18},W,[-1,-1])}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 clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[8]}set translationurl(e){this.$$set({translationurl: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 gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename: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 lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}get mbsource(){return this.$$.ctx[18]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{},mbsource:{}},[],[],!0);exports.default=Y;
@@ -1,4 +1,4 @@
1
- import { $ as B, Q as _t, S as vt, i as jt, f as c, c as Ct, s as Lt, b as St, e as _, y as L, d as V, t as H, g as Et, h as N, j as Y, o as Dt, l as It, n as qt, _ as Mt, N as W, q as ct, r as Pt, m as Tt, u as Ft, w as z, L as Q, H as t, z as w, B as Rt, C as At, D as Ot, x as Ut, E as Gt, G as gt, p as Wt } from "./CasinoCalendar-BMDbprh6.js";
1
+ import { $ as B, Q as _t, S as vt, i as jt, f as c, c as Ct, s as Lt, b as St, e as _, y as L, d as V, t as H, g as Et, h as N, j as Y, o as Dt, l as It, _ as qt, M as W, n as ct, p as Mt, q as Pt, r as Tt, u as Ft, w as z, L as Q, H as t, z as w, B as Rt, C as At, D as Ot, x as Ut, E as Gt, G as gt, m as Wt } from "./CasinoCalendar-B0K8z0GJ.js";
2
2
  function zt({ withLocale: a, translations: e }) {
3
3
  B.subscribe((n) => {
4
4
  n == null && (_t.set(e), B.set(a));
@@ -19,7 +19,7 @@ if (typeof window != "undefined") {
19
19
  }
20
20
  };
21
21
  };
22
- customElements.define = a(customElements.define), import("./CasinoCategoriesSlider-CyY1HQ0P.js").then(({ default: e }) => {
22
+ customElements.define = a(customElements.define), import("./CasinoCategoriesSlider-BKQxQQyV.js").then(({ default: e }) => {
23
23
  !customElements.get("casino-categories-slider") && customElements.define("casino-categories-slider", e.element);
24
24
  });
25
25
  }
@@ -35,7 +35,7 @@ if (typeof window != "undefined") {
35
35
  }
36
36
  };
37
37
  };
38
- customElements.define = a(customElements.define), import("./CasinoPage-C9nOimHH.js").then(({ default: e }) => {
38
+ customElements.define = a(customElements.define), import("./CasinoPage-5bRpNKaS.js").then(({ default: e }) => {
39
39
  !customElements.get("casino-page") && customElements.define("casino-page", e.element);
40
40
  });
41
41
  }
@@ -1217,7 +1217,7 @@ function Vt(a) {
1217
1217
  },
1218
1218
  p(m, s) {
1219
1219
  let y = n;
1220
- n = g(m), n === y ? h[n].p(m, s) : (qt(), H(h[y], 1, 1, () => {
1220
+ n = g(m), n === y ? h[n].p(m, s) : (It(), H(h[y], 1, 1, () => {
1221
1221
  h[y] = null;
1222
1222
  }), Et(), u = h[n], u ? u.p(m, s) : (u = h[n] = b[n](m), u.c()), N(u, 1), u.m(e, null));
1223
1223
  },
@@ -1278,7 +1278,7 @@ function Jt(a, e, n) {
1278
1278
  }, bt = () => {
1279
1279
  ft(), ut(s), n(79, at = b), n(80, ot = m), n(81, lt = s), n(82, C = !1);
1280
1280
  }, ht = () => {
1281
- Mt(b, y).then(
1281
+ qt(b, y).then(
1282
1282
  (i) => {
1283
1283
  n(84, I = i.Guid), i.UserID, n(0, P = i.Currency);
1284
1284
  },
@@ -1314,9 +1314,9 @@ function Jt(a, e, n) {
1314
1314
  234881024 && b && m && s && R && A && T && bt(), a.$$.dirty[2] & /*opsession*/
1315
1315
  536870912 && v && yt(), a.$$.dirty[0] & /*clientstyling*/
1316
1316
  32 | a.$$.dirty[2] & /*customStylingContainer*/
1317
- 65536 && f && k && Pt(k, f), a.$$.dirty[0] & /*clientstylingurl*/
1317
+ 65536 && f && k && Mt(k, f), a.$$.dirty[0] & /*clientstylingurl*/
1318
1318
  64 | a.$$.dirty[2] & /*customStylingContainer*/
1319
- 65536 && o && k && It(k, o), a.$$.dirty[2] & /*customStylingContainer, mbsource*/
1319
+ 65536 && o && k && Pt(k, o), a.$$.dirty[2] & /*customStylingContainer, mbsource*/
1320
1320
  67584 && k && Tt(k, `${O}.Style`);
1321
1321
  }, [
1322
1322
  P,
@@ -1,4 +1,4 @@
1
- import { $ as B, Q as _t, c as vt, S as jt, i as Ct, s as Lt, f as c, b as St, e as _, y as L, d as V, t as H, g as Et, h as N, j as Y, o as Dt, l as It, n as qt, _ as Mt, N as W, q as ct, r as Pt, m as Tt, u as Ft, w as z, L as Q, H as t, z as w, B as Rt, C as At, D as Ot, x as Ut, E as Gt, G as gt, p as Wt } from "./CasinoCalendar-FUyH3So6.js";
1
+ import { $ as B, Q as _t, c as vt, S as jt, i as Ct, s as Lt, f as c, b as St, e as _, y as L, d as V, t as H, g as Et, h as N, j as Y, o as Dt, l as It, _ as qt, M as W, n as ct, p as Mt, q as Pt, r as Tt, u as Ft, w as z, L as Q, H as t, z as w, B as Rt, C as At, D as Ot, x as Ut, E as Gt, G as gt, m as Wt } from "./CasinoCalendar-CzMBlFEu.js";
2
2
  function zt({ withLocale: a, translations: e }) {
3
3
  B.subscribe((n) => {
4
4
  n == null && (_t.set(e), B.set(a));
@@ -19,7 +19,7 @@ if (typeof window < "u") {
19
19
  }
20
20
  };
21
21
  };
22
- customElements.define = a(customElements.define), import("./CasinoCategoriesSlider-DTKia-BC.js").then(({ default: e }) => {
22
+ customElements.define = a(customElements.define), import("./CasinoCategoriesSlider-C7_ke4uB.js").then(({ default: e }) => {
23
23
  !customElements.get("casino-categories-slider") && customElements.define("casino-categories-slider", e.element);
24
24
  });
25
25
  }
@@ -35,7 +35,7 @@ if (typeof window < "u") {
35
35
  }
36
36
  };
37
37
  };
38
- customElements.define = a(customElements.define), import("./CasinoPage-KebAtIf2.js").then(({ default: e }) => {
38
+ customElements.define = a(customElements.define), import("./CasinoPage-D-B9FS4G.js").then(({ default: e }) => {
39
39
  !customElements.get("casino-page") && customElements.define("casino-page", e.element);
40
40
  });
41
41
  }
@@ -1217,7 +1217,7 @@ function Vt(a) {
1217
1217
  },
1218
1218
  p(m, s) {
1219
1219
  let y = n;
1220
- n = g(m), n === y ? h[n].p(m, s) : (qt(), H(h[y], 1, 1, () => {
1220
+ n = g(m), n === y ? h[n].p(m, s) : (It(), H(h[y], 1, 1, () => {
1221
1221
  h[y] = null;
1222
1222
  }), Et(), u = h[n], u ? u.p(m, s) : (u = h[n] = b[n](m), u.c()), N(u, 1), u.m(e, null));
1223
1223
  },
@@ -1278,7 +1278,7 @@ function Jt(a, e, n) {
1278
1278
  }, bt = () => {
1279
1279
  ft(), ut(s), n(79, at = b), n(80, ot = m), n(81, lt = s), n(82, C = !1);
1280
1280
  }, ht = () => {
1281
- Mt(b, y).then(
1281
+ qt(b, y).then(
1282
1282
  (i) => {
1283
1283
  n(84, I = i.Guid), i.UserID, n(0, P = i.Currency);
1284
1284
  },
@@ -1314,9 +1314,9 @@ function Jt(a, e, n) {
1314
1314
  234881024 && b && m && s && R && A && T && bt(), a.$$.dirty[2] & /*opsession*/
1315
1315
  536870912 && v && yt(), a.$$.dirty[0] & /*clientstyling*/
1316
1316
  32 | a.$$.dirty[2] & /*customStylingContainer*/
1317
- 65536 && f && k && Pt(k, f), a.$$.dirty[0] & /*clientstylingurl*/
1317
+ 65536 && f && k && Mt(k, f), a.$$.dirty[0] & /*clientstylingurl*/
1318
1318
  64 | a.$$.dirty[2] & /*customStylingContainer*/
1319
- 65536 && o && k && It(k, o), a.$$.dirty[2] & /*customStylingContainer, mbsource*/
1319
+ 65536 && o && k && Pt(k, o), a.$$.dirty[2] & /*customStylingContainer, mbsource*/
1320
1320
  67584 && k && Tt(k, `${O}.Style`);
1321
1321
  }, [
1322
1322
  P,