@everymatrix/casino-lobby-nd 1.94.4 → 1.94.6

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 (127) hide show
  1. package/components/{CasinoCalendar-ChcHsCuv.js → CasinoCalendar-DMGmxzVB.js} +39 -39
  2. package/components/{CasinoCalendar-DeTJu3D2.js → CasinoCalendar-DUkWuTPK.js} +24 -24
  3. package/components/{CasinoCalendar-C33P31BA.cjs → CasinoCalendar-yq4SXQ8v.cjs} +1 -1
  4. package/components/{CasinoCalendarDailyDetails-BGGygTGZ.js → CasinoCalendarDailyDetails-CQcDWWy6.js} +85 -85
  5. package/components/{CasinoCalendarDailyDetails-DczEg2pu.js → CasinoCalendarDailyDetails-CTfas3Aa.js} +59 -59
  6. package/components/{CasinoCalendarDailyDetails-8huehnAq.cjs → CasinoCalendarDailyDetails-CqYGEhmY.cjs} +1 -1
  7. package/components/{CasinoCalendarDailyItem-C7uNLmuH.cjs → CasinoCalendarDailyItem-CMk3_A_Q.cjs} +1 -1
  8. package/components/{CasinoCalendarDailyItem-C_YzNz9v.js → CasinoCalendarDailyItem-D-sZ6_hr.js} +35 -35
  9. package/components/{CasinoCalendarDailyItem-C_X8nQG6.js → CasinoCalendarDailyItem-DKTnJIBn.js} +26 -26
  10. package/components/{CasinoCategoriesSliderNd-BnBt6_ow.js → CasinoCategoriesSliderNd-Bhf0qstK.js} +50 -50
  11. package/components/{CasinoCategoriesSliderNd-Brb5YWjf.js → CasinoCategoriesSliderNd-CNc5qDig.js} +44 -44
  12. package/components/{CasinoCategoriesSliderNd-C3JH5VLQ.cjs → CasinoCategoriesSliderNd-DtgWPkmm.cjs} +1 -1
  13. package/components/{CasinoCollectionsProviders-OhP-y1ey.js → CasinoCollectionsProviders-BDWwMOmd.js} +84 -84
  14. package/components/{CasinoCollectionsProviders-ChNzYyno.cjs → CasinoCollectionsProviders-BDs7Ly3u.cjs} +1 -1
  15. package/components/{CasinoCollectionsProviders-Cfvmk8dG.js → CasinoCollectionsProviders-BLQPJYNj.js} +82 -82
  16. package/components/{CasinoFavoritesSectionNd-D85u7FMj.js → CasinoFavoritesSectionNd-CJ1ke8JT.js} +30 -30
  17. package/components/{CasinoFavoritesSectionNd-CRhYZmEW.js → CasinoFavoritesSectionNd-DcmYj6VE.js} +30 -30
  18. package/components/{CasinoFavoritesSectionNd-q0MIY5K6.cjs → CasinoFavoritesSectionNd-ltZmoB_0.cjs} +1 -1
  19. package/components/{CasinoFilter-CkH29cAz.js → CasinoFilter-C9HNcVgU.js} +79 -79
  20. package/components/{CasinoFilter-5Pm1Trij.js → CasinoFilter-Cpbn5y3Y.js} +77 -77
  21. package/components/{CasinoFilter-Dy1t6Ekn.cjs → CasinoFilter-NZYgaUe7.cjs} +1 -1
  22. package/components/{CasinoGameThumbnailNd-BG1gcJ7b.cjs → CasinoGameThumbnailNd-GyyMWTbm.cjs} +1 -1
  23. package/components/{CasinoGameThumbnailNd-C4KtGZNJ.js → CasinoGameThumbnailNd-Xkj-q3y-.js} +50 -50
  24. package/components/{CasinoGameThumbnailNd-DgepZ1dY.js → CasinoGameThumbnailNd-o-vJj6jp.js} +59 -59
  25. package/components/{CasinoGamesCategorySectionNd-BUqLR4aK.js → CasinoGamesCategorySectionNd-Bgytw7dm.js} +88 -88
  26. package/components/{CasinoGamesCategorySectionNd-lHik12Kw.js → CasinoGamesCategorySectionNd-Cr_NhZnT.js} +52 -52
  27. package/components/{CasinoGamesCategorySectionNd-vBvwQHe1.cjs → CasinoGamesCategorySectionNd-D7bhRx5b.cjs} +1 -1
  28. package/components/{CasinoJackpotBanner-CVJAQzUY.js → CasinoJackpotBanner-BVTjbEXI.js} +56 -56
  29. package/components/{CasinoJackpotBanner-BTWHCq1p.js → CasinoJackpotBanner-D6dT-djT.js} +69 -69
  30. package/components/{CasinoJackpotBanner-5KiAaZQf.cjs → CasinoJackpotBanner-yiT3bIto.cjs} +1 -1
  31. package/components/{CasinoLastPlayedSectionNd-VtAZQUAI.js → CasinoLastPlayedSectionNd-BC1nK8wD.js} +28 -28
  32. package/components/{CasinoLastPlayedSectionNd-DK3Ydc-z.cjs → CasinoLastPlayedSectionNd-BSUhVbFa.cjs} +1 -1
  33. package/components/{CasinoLastPlayedSectionNd-BTZHEffg.js → CasinoLastPlayedSectionNd-DW2n1ZHh.js} +28 -28
  34. package/components/{CasinoLobbyNd-BjrEPcav.js → CasinoLobbyNd-94Y-QnBn.js} +57 -57
  35. package/components/{CasinoLobbyNd-nKTGizeD.js → CasinoLobbyNd-CU-fkwCM.js} +56 -56
  36. package/components/{CasinoLobbyNd-DqQk5N2g.cjs → CasinoLobbyNd-DwiJeUic.cjs} +1 -1
  37. package/components/{CasinoMostPlayedSectionNd-CWidZx0v.cjs → CasinoMostPlayedSectionNd-BTF6iDz8.cjs} +1 -1
  38. package/components/{CasinoMostPlayedSectionNd-aGSfcsX_.js → CasinoMostPlayedSectionNd-CFRxFjE3.js} +37 -37
  39. package/components/{CasinoMostPlayedSectionNd-C-6htH3U.js → CasinoMostPlayedSectionNd-DDyQKSek.js} +37 -37
  40. package/components/{CasinoMyGamesNd-Dqb9e8OF.js → CasinoMyGamesNd-C2VbZept.js} +34 -34
  41. package/components/{CasinoMyGamesNd-B5kStDBY.js → CasinoMyGamesNd-D8OUroe-.js} +29 -29
  42. package/components/{CasinoMyGamesNd-CwYs2yrz.cjs → CasinoMyGamesNd-yazKqSkA.cjs} +1 -1
  43. package/components/{CasinoPageNd-BaH85NRj.cjs → CasinoPageNd-CO3iM3hj.cjs} +1 -1
  44. package/components/{CasinoPageNd-D-WMWSF2.js → CasinoPageNd-CpdHX_Gy.js} +930 -930
  45. package/components/{CasinoPageNd-BtH2zbRa.js → CasinoPageNd-DLTJ958-.js} +312 -312
  46. package/components/{CasinoRandomGame-C6xTPqZx.cjs → CasinoRandomGame-BnYnvVi3.cjs} +1 -1
  47. package/components/{CasinoRandomGame-BYFwlfdd.js → CasinoRandomGame-CYkmokzi.js} +75 -75
  48. package/components/{CasinoRandomGame-y55_G_Q3.js → CasinoRandomGame-CZdMwvV3.js} +80 -80
  49. package/components/{CasinoSearchNd-DnNct-fi.js → CasinoSearchNd-BwStsrli.js} +196 -192
  50. package/components/{CasinoSearchNd-C-7uIpp6.cjs → CasinoSearchNd-CWSRaLqO.cjs} +1 -1
  51. package/components/{CasinoSearchNd-B_BIw5LO.js → CasinoSearchNd-CdCubLN_.js} +175 -171
  52. package/components/{CasinoSliderNd-dHcF4jja.js → CasinoSliderNd-CCh_IEfi.js} +190 -190
  53. package/components/{CasinoSliderNd-C6oyurMH.js → CasinoSliderNd-CLW4Kqle.js} +251 -251
  54. package/components/{CasinoSliderNd-BdTQxBma.cjs → CasinoSliderNd-CYB60X-E.cjs} +1 -1
  55. package/components/{CasinoSort-DegElhFD.cjs → CasinoSort-2gZX4yet.cjs} +1 -1
  56. package/components/{CasinoSort-BWIrZWYL.js → CasinoSort-C-Jzsx9_.js} +44 -44
  57. package/components/{CasinoSort-BqIMD4ax.js → CasinoSort-C5XOtI5h.js} +35 -35
  58. package/components/{CasinoWinners-BzvzCE4t.js → CasinoWinners-D-85kx_w.js} +108 -108
  59. package/components/{CasinoWinners-CEkJIYWg.js → CasinoWinners-FqK-DW99.js} +99 -99
  60. package/components/{CasinoWinners-BgoFEx9j.cjs → CasinoWinners-l55o_06t.cjs} +1 -1
  61. package/components/{GeneralAnimationLoading-FCX1v6hM.js → GeneralAnimationLoading-B-UCGGch.js} +8 -8
  62. package/components/{GeneralAnimationLoading-6bSpAeHG.cjs → GeneralAnimationLoading-BFzD4Tkp.cjs} +1 -1
  63. package/components/{GeneralAnimationLoading-VYd8i95b.js → GeneralAnimationLoading-BL_5-F4R.js} +8 -8
  64. package/es2015/casino-lobby-nd.cjs +1 -1
  65. package/es2015/casino-lobby-nd.js +1 -1
  66. package/esnext/casino-lobby-nd.js +1 -1
  67. package/lazy/{casino-calendar-CxEvxyDm.cjs → casino-calendar-BdRo2RW_.cjs} +1 -1
  68. package/lazy/{casino-calendar-daily-details-BU8Mgpzz.js → casino-calendar-daily-details-B2QMkhxu.js} +1 -1
  69. package/lazy/{casino-calendar-daily-details-D26CuvSf.cjs → casino-calendar-daily-details-BSK5rlkE.cjs} +1 -1
  70. package/lazy/{casino-calendar-daily-details-D2jctUHi.js → casino-calendar-daily-details-CCrM9dGA.js} +1 -1
  71. package/lazy/{casino-calendar-daily-item-CKLSdiim.js → casino-calendar-daily-item-BgkHuWxq.js} +1 -1
  72. package/lazy/{casino-calendar-daily-item-DN364T5N.cjs → casino-calendar-daily-item-Bhg4Mx1v.cjs} +1 -1
  73. package/lazy/{casino-calendar-daily-item-D_CzsvOI.js → casino-calendar-daily-item-DBW_Q8Ye.js} +1 -1
  74. package/lazy/{casino-calendar-CvjqpP-f.js → casino-calendar-i1Sv-qPY.js} +1 -1
  75. package/lazy/{casino-calendar-CfGQ9747.js → casino-calendar-rrCFXZm9.js} +1 -1
  76. package/lazy/{casino-categories-slider-nd-2jA858bV.cjs → casino-categories-slider-nd-2iRdPuig.cjs} +1 -1
  77. package/lazy/{casino-categories-slider-nd-BnUvofbc.js → casino-categories-slider-nd-DRvtLYoQ.js} +1 -1
  78. package/lazy/{casino-categories-slider-nd-DfkAd2wG.js → casino-categories-slider-nd-cAPuUHrb.js} +1 -1
  79. package/lazy/{casino-collections-providers-DK3mU73U.js → casino-collections-providers-B47WYl_m.js} +1 -1
  80. package/lazy/{casino-collections-providers-x6EJiIXk.cjs → casino-collections-providers-BbDaAiwz.cjs} +1 -1
  81. package/lazy/{casino-collections-providers-D2fI5jZ9.js → casino-collections-providers-DJxKi9oa.js} +1 -1
  82. package/lazy/{casino-favorites-section-nd-bn4OoGzn.js → casino-favorites-section-nd-7erqbf7C.js} +1 -1
  83. package/lazy/{casino-favorites-section-nd-D9PkJvqK.js → casino-favorites-section-nd-CNSZOcOl.js} +1 -1
  84. package/lazy/{casino-favorites-section-nd-DkyAmtwt.cjs → casino-favorites-section-nd-DUlUZuWB.cjs} +1 -1
  85. package/lazy/{casino-filter-CXZcVQGX.js → casino-filter-BfWMbcME.js} +1 -1
  86. package/lazy/{casino-filter-zbfb1vC2.cjs → casino-filter-CwP95rvp.cjs} +1 -1
  87. package/lazy/{casino-filter-Qy_3KZlB.js → casino-filter-CzbPMz3E.js} +1 -1
  88. package/lazy/{casino-game-thumbnail-nd-Cuyl30x2.js → casino-game-thumbnail-nd-BNpinRWp.js} +1 -1
  89. package/lazy/{casino-game-thumbnail-nd-C4DDiSFj.js → casino-game-thumbnail-nd-DPd6X5eo.js} +1 -1
  90. package/lazy/{casino-game-thumbnail-nd-BVng7UNz.cjs → casino-game-thumbnail-nd-Uwtls8hu.cjs} +1 -1
  91. package/lazy/{casino-games-category-section-nd-CalNQ2rh.js → casino-games-category-section-nd-Cpw7BW64.js} +1 -1
  92. package/lazy/{casino-games-category-section-nd-DT6WNZ7x.cjs → casino-games-category-section-nd-DHBi-mil.cjs} +1 -1
  93. package/lazy/{casino-games-category-section-nd-BXkmNF8G.js → casino-games-category-section-nd-jnICysnC.js} +1 -1
  94. package/lazy/{casino-jackpot-banner-GyV5Ktva.js → casino-jackpot-banner-BNPzmYK7.js} +1 -1
  95. package/lazy/{casino-jackpot-banner-iGCFgt2D.js → casino-jackpot-banner-BhWS7LBb.js} +1 -1
  96. package/lazy/{casino-jackpot-banner-7V5NiXIc.cjs → casino-jackpot-banner-S_1N-3Q-.cjs} +1 -1
  97. package/lazy/{casino-last-played-section-nd-Nb-h7HXR.cjs → casino-last-played-section-nd-BnO-QC1T.cjs} +1 -1
  98. package/lazy/{casino-last-played-section-nd-B62Vq4Ch.js → casino-last-played-section-nd-CFThbjSs.js} +1 -1
  99. package/lazy/{casino-last-played-section-nd-Ck1jepHb.js → casino-last-played-section-nd-CubPPkdo.js} +1 -1
  100. package/lazy/{casino-most-played-section-nd-BIkBJcXR.js → casino-most-played-section-nd-BP_ouCxi.js} +1 -1
  101. package/lazy/{casino-most-played-section-nd-BsbdXXFs.cjs → casino-most-played-section-nd-C1xOxn2b.cjs} +1 -1
  102. package/lazy/{casino-most-played-section-nd-BQXAXIp1.js → casino-most-played-section-nd-U4Jyegs2.js} +1 -1
  103. package/lazy/{casino-my-games-nd-BSkxG98U.cjs → casino-my-games-nd-BKIMgqJL.cjs} +1 -1
  104. package/lazy/{casino-my-games-nd-CsjC99Ak.js → casino-my-games-nd-BkKV8lWI.js} +1 -1
  105. package/lazy/{casino-my-games-nd-De5_WefO.js → casino-my-games-nd-DFl2zZe9.js} +1 -1
  106. package/lazy/{casino-page-nd-CFK95sF4.js → casino-page-nd-CD_bp5k3.js} +1 -1
  107. package/lazy/{casino-page-nd-DXq4gh1-.js → casino-page-nd-DZjHr0u5.js} +1 -1
  108. package/lazy/{casino-page-nd-BnbntID0.cjs → casino-page-nd-eMlywpvD.cjs} +1 -1
  109. package/lazy/{casino-random-game-MkBl0tQQ.cjs → casino-random-game-BytinWj3.cjs} +1 -1
  110. package/lazy/{casino-random-game-CAnX7Y29.js → casino-random-game-CX0NPjv6.js} +1 -1
  111. package/lazy/{casino-random-game-Cf5Lmeg8.js → casino-random-game-ekI_c2s0.js} +1 -1
  112. package/lazy/{casino-search-nd-DRrxCPoB.cjs → casino-search-nd-BGZAiOPG.cjs} +1 -1
  113. package/lazy/{casino-search-nd-AmFJiMqW.js → casino-search-nd-BymQNr-P.js} +1 -1
  114. package/lazy/{casino-search-nd-DdfgYERy.js → casino-search-nd-C74Yo74x.js} +1 -1
  115. package/lazy/{casino-slider-nd-D20aT4-w.js → casino-slider-nd-BNa5X8cl.js} +1 -1
  116. package/lazy/{casino-slider-nd-rkoi66ta.js → casino-slider-nd-CAfRmhj3.js} +1 -1
  117. package/lazy/{casino-slider-nd-BbSTnL_W.cjs → casino-slider-nd-Dr4lH1FF.cjs} +1 -1
  118. package/lazy/{casino-sort-BE45oap7.js → casino-sort-DIy9miXQ.js} +1 -1
  119. package/lazy/{casino-sort-1M8xx2Jl.cjs → casino-sort-TpshbDH0.cjs} +1 -1
  120. package/lazy/{casino-sort-BKTlW2gH.js → casino-sort-XhuNTfgS.js} +1 -1
  121. package/lazy/{casino-winners-D3QKldwq.js → casino-winners-B9qbVi66.js} +1 -1
  122. package/lazy/{casino-winners-CMjoXgpy.js → casino-winners-CGwzQoFZ.js} +1 -1
  123. package/lazy/{casino-winners-D-avk83m.cjs → casino-winners-do3xmyMU.cjs} +1 -1
  124. package/lazy/{general-animation-loading-Dak6RADx.js → general-animation-loading-B_Nl7_XG.js} +1 -1
  125. package/lazy/{general-animation-loading-bScY8JOi.js → general-animation-loading-BulqkvHX.js} +1 -1
  126. package/lazy/{general-animation-loading-CqkehvGI.cjs → general-animation-loading-Di312CCx.cjs} +1 -1
  127. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
- import { a as Ne, v as ze, S as Ue, i as Re, s as Fe, f as w, b as Oe, n as Se, d as N, e as z, g as s, o as Me, B as He, l as Pe, h as d, N as je, Z as F, m as h, p as r, J as qe, F as _, A as Ge, K as Te, X as Ke, H as Xe, D as E, E as J, q as Ye, r as Ze, t as Qe, c as $e } from "./CasinoLobbyNd-nKTGizeD.js";
1
+ import { d as Be, b as Ne, S as Ue, x as Re, K as Fe, s as w, f as Oe, D as Se, o as B, y as N, p as s, F as Me, E as Pe, h as qe, g as d, R as je, U as F, O as h, e as r, B as He, T as _, z as Ge, r as Te, n as Ke, q as Xe, P as E, X as J, L as Ye, M as Qe, N as Ze, k as $e } from "./CasinoLobbyNd-CU-fkwCM.js";
2
2
  import "../stencil/ui-image-Da7NRAu7.js";
3
3
  function We(a, e) {
4
- Ne(a, e);
4
+ Be(a, e);
5
5
  }
6
6
  function et(a) {
7
- ze.set(a);
7
+ Ne.set(a);
8
8
  }
9
9
  const Ae = {
10
10
  en: {
@@ -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
- z(c, e, m), r(e, t), r(t, i), r(i, n), r(i, p), r(i, o), f.m(o, null), r(i, C), r(i, S), r(S, j), y || (W = qe(
77
+ N(c, e, m), r(e, t), r(t, i), r(i, n), r(i, p), r(i, o), f.m(o, null), r(i, C), r(i, S), r(S, j), y || (W = He(
78
78
  t,
79
79
  "click",
80
80
  /*click_handler*/
@@ -98,7 +98,7 @@ function at(a) {
98
98
  c[13] + ")");
99
99
  },
100
100
  d(c) {
101
- c && N(e), f.d(), y = !1, W();
101
+ c && B(e), f.d(), y = !1, W();
102
102
  }
103
103
  };
104
104
  }
@@ -109,11 +109,11 @@ function it(a) {
109
109
  e = s("div"), d(e, "class", "LoadingSpinner");
110
110
  },
111
111
  m(t, i) {
112
- z(t, e, i);
112
+ N(t, e, i);
113
113
  },
114
114
  p: Se,
115
115
  d(t) {
116
- t && N(e);
116
+ t && B(e);
117
117
  }
118
118
  };
119
119
  }
@@ -124,11 +124,11 @@ function lt(a) {
124
124
  e = s("p"), e.textContent = "500 Server error";
125
125
  },
126
126
  m(t, i) {
127
- z(t, e, i);
127
+ N(t, e, i);
128
128
  },
129
129
  p: Se,
130
130
  d(t) {
131
- t && N(e);
131
+ t && B(e);
132
132
  }
133
133
  };
134
134
  }
@@ -145,7 +145,7 @@ function nt(a) {
145
145
  /*formattedJackpotValues*/
146
146
  a[10][0]
147
147
  )) + ""
148
- ), U, L, f, c, m, T, R, ne, K, P = (
148
+ ), U, L, f, c, m, T, R, ne, K, q = (
149
149
  /*formattedLabels*/
150
150
  a[11][1] + ""
151
151
  ), be, ke, O, ee, re = (
@@ -157,10 +157,10 @@ function nt(a) {
157
157
  /*formattedJackpotValues*/
158
158
  a[10][1]
159
159
  )) + ""
160
- ), se, ce, oe, q, X, Y, M, A, de, ue, te = (
160
+ ), se, ce, oe, H, X, Y, M, A, de, ue, te = (
161
161
  /*formattedLabels*/
162
162
  a[11][2] + ""
163
- ), G, ae, Z, ie, pe = (
163
+ ), G, ae, Q, ie, pe = (
164
164
  /*realtimeupdate*/
165
165
  (a[2] === "true" ? (
166
166
  /*updatedJackpotValues*/
@@ -169,7 +169,7 @@ function nt(a) {
169
169
  /*formattedJackpotValues*/
170
170
  a[10][2]
171
171
  )) + ""
172
- ), _e, ve, we, le, Q, H, ge, Ce, fe, me = (
172
+ ), _e, ve, we, le, Z, P, ge, Ce, fe, me = (
173
173
  /*formattedLabels*/
174
174
  a[11][3] + ""
175
175
  ), ye, Le, $, he, l = (
@@ -182,20 +182,20 @@ function nt(a) {
182
182
  a[10][3]
183
183
  )) + ""
184
184
  ), g, I, V = !/*currencylocale*/
185
- a[3] && Ee(a), D = !/*currencylocale*/
186
- a[3] && Je(a), x = !/*currencylocale*/
187
- a[3] && Ve(a), B = !/*currencylocale*/
188
- a[3] && De(a);
185
+ a[3] && Ee(a), x = !/*currencylocale*/
186
+ a[3] && Je(a), D = !/*currencylocale*/
187
+ a[3] && Ve(a), z = !/*currencylocale*/
188
+ a[3] && xe(a);
189
189
  return {
190
190
  c() {
191
- e = s("div"), t = s("div"), i = s("div"), n = s("ui-image"), o = _(), C = s("span"), j = J(S), k = _(), b = s("span"), y = s("span"), U = J(W), L = _(), V && V.c(), f = _(), c = s("div"), m = s("div"), T = s("ui-image"), ne = _(), K = s("span"), be = J(P), ke = _(), O = s("span"), ee = s("span"), se = J(re), ce = _(), D && D.c(), oe = _(), q = s("div"), X = s("div"), Y = s("div"), M = s("ui-image"), de = _(), ue = s("span"), G = J(te), ae = _(), Z = s("span"), ie = s("span"), _e = J(pe), ve = _(), x && x.c(), we = _(), le = s("div"), Q = s("div"), H = s("ui-image"), Ce = _(), fe = s("span"), ye = J(me), Le = _(), $ = s("span"), he = s("span"), g = J(l), I = _(), B && B.c(), h(n, "class", "displayCardIcon"), F(n.src, p = /*caticons*/
191
+ e = s("div"), t = s("div"), i = s("div"), n = s("ui-image"), o = _(), C = s("span"), j = J(S), k = _(), b = s("span"), y = s("span"), U = J(W), L = _(), V && V.c(), f = _(), c = s("div"), m = s("div"), T = s("ui-image"), ne = _(), K = s("span"), be = J(q), ke = _(), O = s("span"), ee = s("span"), se = J(re), ce = _(), x && x.c(), oe = _(), H = s("div"), X = s("div"), Y = s("div"), M = s("ui-image"), de = _(), ue = s("span"), G = J(te), ae = _(), Q = s("span"), ie = s("span"), _e = J(pe), ve = _(), D && D.c(), we = _(), le = s("div"), Z = s("div"), P = s("ui-image"), Ce = _(), fe = s("span"), ye = J(me), Le = _(), $ = s("span"), he = s("span"), g = J(l), I = _(), z && z.c(), h(n, "class", "displayCardIcon"), F(n.src, p = /*caticons*/
192
192
  a[12][0]) || h(n, "src", p), h(n, "alt", ""), d(C, "class", "cardLabel"), d(i, "class", "iconWrapper"), d(y, "class", "jackpotValue"), d(b, "class", "cardTextWrapper"), d(t, "class", "displayCard"), h(T, "class", "displayCardIcon"), F(T.src, R = /*caticons*/
193
193
  a[12][1]) || h(T, "src", R), h(T, "alt", ""), d(K, "class", "cardLabel"), d(m, "class", "iconWrapper"), d(ee, "class", "jackpotValue"), d(O, "class", "cardTextWrapper"), d(c, "class", "displayCard"), d(e, "class", "pairWrapper"), h(M, "class", "displayCardIcon"), F(M.src, A = /*caticons*/
194
- a[12][2]) || h(M, "src", A), h(M, "alt", ""), d(ue, "class", "cardLabel"), d(Y, "class", "iconWrapper"), d(ie, "class", "jackpotValue"), d(Z, "class", "cardTextWrapper"), d(X, "class", "displayCard"), h(H, "class", "displayCardIcon"), F(H.src, ge = /*caticons*/
195
- a[12][3]) || h(H, "src", ge), h(H, "alt", ""), d(fe, "class", "cardLabel"), d(Q, "class", "iconWrapper"), d(he, "class", "jackpotValue"), d($, "class", "cardTextWrapper"), d(le, "class", "displayCard"), d(q, "class", "pairWrapper");
194
+ a[12][2]) || h(M, "src", A), h(M, "alt", ""), d(ue, "class", "cardLabel"), d(Y, "class", "iconWrapper"), d(ie, "class", "jackpotValue"), d(Q, "class", "cardTextWrapper"), d(X, "class", "displayCard"), h(P, "class", "displayCardIcon"), F(P.src, ge = /*caticons*/
195
+ a[12][3]) || h(P, "src", ge), h(P, "alt", ""), d(fe, "class", "cardLabel"), d(Z, "class", "iconWrapper"), d(he, "class", "jackpotValue"), d($, "class", "cardTextWrapper"), d(le, "class", "displayCard"), d(H, "class", "pairWrapper");
196
196
  },
197
197
  m(u, v) {
198
- z(u, e, v), r(e, t), r(t, i), r(i, n), r(i, o), r(i, C), r(C, j), r(t, k), r(t, b), r(b, y), r(y, U), r(b, L), V && V.m(b, null), r(e, f), r(e, c), r(c, m), r(m, T), r(m, ne), r(m, K), r(K, be), r(c, ke), r(c, O), r(O, ee), r(ee, se), r(O, ce), D && D.m(O, null), z(u, oe, v), z(u, q, v), r(q, X), r(X, Y), r(Y, M), r(Y, de), r(Y, ue), r(ue, G), r(X, ae), r(X, Z), r(Z, ie), r(ie, _e), r(Z, ve), x && x.m(Z, null), r(q, we), r(q, le), r(le, Q), r(Q, H), r(Q, Ce), r(Q, fe), r(fe, ye), r(le, Le), r(le, $), r($, he), r(he, g), r($, I), B && B.m($, null);
198
+ N(u, e, v), r(e, t), r(t, i), r(i, n), r(i, o), r(i, C), r(C, j), r(t, k), r(t, b), r(b, y), r(y, U), r(b, L), V && V.m(b, null), r(e, f), r(e, c), r(c, m), r(m, T), r(m, ne), r(m, K), r(K, be), r(c, ke), r(c, O), r(O, ee), r(ee, se), r(O, ce), x && x.m(O, null), N(u, oe, v), N(u, H, v), r(H, X), r(X, Y), r(Y, M), r(Y, de), r(Y, ue), r(ue, G), r(X, ae), r(X, Q), r(Q, ie), r(ie, _e), r(Q, ve), D && D.m(Q, null), r(H, we), r(H, le), r(le, Z), r(Z, P), r(Z, Ce), r(Z, fe), r(fe, ye), r(le, Le), r(le, $), r($, he), r(he, g), r($, I), z && z.m($, null);
199
199
  },
200
200
  p(u, v) {
201
201
  v[0] & /*caticons*/
@@ -214,8 +214,8 @@ function nt(a) {
214
214
  u[3] ? V && (V.d(1), V = null) : V ? V.p(u, v) : (V = Ee(u), V.c(), V.m(b, null)), v[0] & /*caticons*/
215
215
  4096 && !F(T.src, R = /*caticons*/
216
216
  u[12][1]) && h(T, "src", R), v[0] & /*formattedLabels*/
217
- 2048 && P !== (P = /*formattedLabels*/
218
- u[11][1] + "") && E(be, P), v[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
217
+ 2048 && q !== (q = /*formattedLabels*/
218
+ u[11][1] + "") && E(be, q), v[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
219
219
  66564 && re !== (re = /*realtimeupdate*/
220
220
  (u[2] === "true" ? (
221
221
  /*reversedJackpotValues*/
@@ -224,7 +224,7 @@ function nt(a) {
224
224
  /*formattedJackpotValues*/
225
225
  u[10][1]
226
226
  )) + "") && E(se, re), /*currencylocale*/
227
- u[3] ? D && (D.d(1), D = null) : D ? D.p(u, v) : (D = Je(u), D.c(), D.m(O, null)), v[0] & /*caticons*/
227
+ u[3] ? x && (x.d(1), x = null) : x ? x.p(u, v) : (x = Je(u), x.c(), x.m(O, null)), v[0] & /*caticons*/
228
228
  4096 && !F(M.src, A = /*caticons*/
229
229
  u[12][2]) && h(M, "src", A), v[0] & /*formattedLabels*/
230
230
  2048 && te !== (te = /*formattedLabels*/
@@ -237,9 +237,9 @@ function nt(a) {
237
237
  /*formattedJackpotValues*/
238
238
  u[10][2]
239
239
  )) + "") && E(_e, pe), /*currencylocale*/
240
- u[3] ? x && (x.d(1), x = null) : x ? x.p(u, v) : (x = Ve(u), x.c(), x.m(Z, null)), v[0] & /*caticons*/
241
- 4096 && !F(H.src, ge = /*caticons*/
242
- u[12][3]) && h(H, "src", ge), v[0] & /*formattedLabels*/
240
+ u[3] ? D && (D.d(1), D = null) : D ? D.p(u, v) : (D = Ve(u), D.c(), D.m(Q, null)), v[0] & /*caticons*/
241
+ 4096 && !F(P.src, ge = /*caticons*/
242
+ u[12][3]) && h(P, "src", ge), v[0] & /*formattedLabels*/
243
243
  2048 && me !== (me = /*formattedLabels*/
244
244
  u[11][3] + "") && E(ye, me), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
245
245
  1092 && l !== (l = /*realtimeupdate*/
@@ -250,17 +250,17 @@ function nt(a) {
250
250
  /*formattedJackpotValues*/
251
251
  u[10][3]
252
252
  )) + "") && E(g, l), /*currencylocale*/
253
- u[3] ? B && (B.d(1), B = null) : B ? B.p(u, v) : (B = De(u), B.c(), B.m($, null));
253
+ u[3] ? z && (z.d(1), z = null) : z ? z.p(u, v) : (z = xe(u), z.c(), z.m($, null));
254
254
  },
255
255
  d(u) {
256
- u && (N(e), N(oe), N(q)), V && V.d(), D && D.d(), x && x.d(), B && B.d();
256
+ u && (B(e), B(oe), B(H)), V && V.d(), x && x.d(), D && D.d(), z && z.d();
257
257
  }
258
258
  };
259
259
  }
260
260
  function rt(a) {
261
261
  let e, t = Te(Array(4)), i = [];
262
262
  for (let n = 0; n < t.length; n += 1)
263
- i[n] = Be(Ie(a, t, n));
263
+ i[n] = ze(Ie(a, t, n));
264
264
  return {
265
265
  c() {
266
266
  for (let n = 0; n < i.length; n += 1)
@@ -270,7 +270,7 @@ function rt(a) {
270
270
  m(n, p) {
271
271
  for (let o = 0; o < i.length; o += 1)
272
272
  i[o] && i[o].m(n, p);
273
- z(n, e, p);
273
+ N(n, e, p);
274
274
  },
275
275
  p(n, p) {
276
276
  if (p[0] & /*currency, currencylocale, realtimeupdate, reversedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
@@ -279,7 +279,7 @@ function rt(a) {
279
279
  let o;
280
280
  for (o = 0; o < t.length; o += 1) {
281
281
  const C = Ie(n, t, o);
282
- i[o] ? i[o].p(C, p) : (i[o] = Be(C), i[o].c(), i[o].m(e.parentNode, e));
282
+ i[o] ? i[o].p(C, p) : (i[o] = ze(C), i[o].c(), i[o].m(e.parentNode, e));
283
283
  }
284
284
  for (; o < i.length; o += 1)
285
285
  i[o].d(1);
@@ -287,7 +287,7 @@ function rt(a) {
287
287
  }
288
288
  },
289
289
  d(n) {
290
- n && N(e), Ke(i, n);
290
+ n && B(e), Ke(i, n);
291
291
  }
292
292
  };
293
293
  }
@@ -301,7 +301,7 @@ function Ee(a) {
301
301
  ), d(e, "class", "jackpot-currency");
302
302
  },
303
303
  m(i, n) {
304
- z(i, e, n), r(e, t);
304
+ N(i, e, n), r(e, t);
305
305
  },
306
306
  p(i, n) {
307
307
  n[0] & /*currency*/
@@ -312,7 +312,7 @@ function Ee(a) {
312
312
  );
313
313
  },
314
314
  d(i) {
315
- i && N(e);
315
+ i && B(e);
316
316
  }
317
317
  };
318
318
  }
@@ -326,7 +326,7 @@ function Je(a) {
326
326
  ), d(e, "class", "jackpot-currency");
327
327
  },
328
328
  m(i, n) {
329
- z(i, e, n), r(e, t);
329
+ N(i, e, n), r(e, t);
330
330
  },
331
331
  p(i, n) {
332
332
  n[0] & /*currency*/
@@ -337,7 +337,7 @@ function Je(a) {
337
337
  );
338
338
  },
339
339
  d(i) {
340
- i && N(e);
340
+ i && B(e);
341
341
  }
342
342
  };
343
343
  }
@@ -351,7 +351,7 @@ function Ve(a) {
351
351
  ), d(e, "class", "jackpot-currency");
352
352
  },
353
353
  m(i, n) {
354
- z(i, e, n), r(e, t);
354
+ N(i, e, n), r(e, t);
355
355
  },
356
356
  p(i, n) {
357
357
  n[0] & /*currency*/
@@ -362,11 +362,11 @@ function Ve(a) {
362
362
  );
363
363
  },
364
364
  d(i) {
365
- i && N(e);
365
+ i && B(e);
366
366
  }
367
367
  };
368
368
  }
369
- function De(a) {
369
+ function xe(a) {
370
370
  let e, t;
371
371
  return {
372
372
  c() {
@@ -376,7 +376,7 @@ function De(a) {
376
376
  ), d(e, "class", "jackpot-currency");
377
377
  },
378
378
  m(i, n) {
379
- z(i, e, n), r(e, t);
379
+ N(i, e, n), r(e, t);
380
380
  },
381
381
  p(i, n) {
382
382
  n[0] & /*currency*/
@@ -387,11 +387,11 @@ function De(a) {
387
387
  );
388
388
  },
389
389
  d(i) {
390
- i && N(e);
390
+ i && B(e);
391
391
  }
392
392
  };
393
393
  }
394
- function xe(a) {
394
+ function De(a) {
395
395
  let e, t;
396
396
  return {
397
397
  c() {
@@ -401,7 +401,7 @@ function xe(a) {
401
401
  ), d(e, "class", "jackpot-currency");
402
402
  },
403
403
  m(i, n) {
404
- z(i, e, n), r(e, t);
404
+ N(i, e, n), r(e, t);
405
405
  },
406
406
  p(i, n) {
407
407
  n[0] & /*currency*/
@@ -412,11 +412,11 @@ function xe(a) {
412
412
  );
413
413
  },
414
414
  d(i) {
415
- i && N(e);
415
+ i && B(e);
416
416
  }
417
417
  };
418
418
  }
419
- function Be(a) {
419
+ function ze(a) {
420
420
  let e, t, i, n, p, o, C = (
421
421
  /*formattedLabels*/
422
422
  a[11][
@@ -439,7 +439,7 @@ function Be(a) {
439
439
  ] ?? ""
440
440
  )) + ""
441
441
  ), W, U, L, f = !/*currencylocale*/
442
- a[3] && xe(a);
442
+ a[3] && De(a);
443
443
  return {
444
444
  c() {
445
445
  e = s("div"), t = s("div"), i = s("ui-image"), p = _(), o = s("span"), S = J(C), j = _(), k = s("span"), b = s("span"), W = J(y), U = _(), f && f.c(), L = _(), h(i, "class", "displayCardIcon"), F(i.src, n = /*caticons*/
@@ -449,7 +449,7 @@ function Be(a) {
449
449
  ]) || h(i, "src", n), h(i, "alt", ""), d(o, "class", "cardLabel"), d(t, "class", "iconWrapper"), d(b, "class", "jackpotValue"), d(k, "class", "cardTextWrapper"), d(e, "class", "displayCard");
450
450
  },
451
451
  m(c, m) {
452
- z(c, e, m), r(e, t), r(t, i), r(t, p), r(t, o), r(o, S), r(e, j), r(e, k), r(k, b), r(b, W), r(k, U), f && f.m(k, null), r(e, L);
452
+ N(c, e, m), r(e, t), r(t, i), r(t, p), r(t, o), r(o, S), r(e, j), r(e, k), r(k, b), r(b, W), r(k, U), f && f.m(k, null), r(e, L);
453
453
  },
454
454
  p(c, m) {
455
455
  m[0] & /*caticons*/
@@ -477,10 +477,10 @@ function Be(a) {
477
477
  c[58]
478
478
  ] ?? ""
479
479
  )) + "") && E(W, y), /*currencylocale*/
480
- c[3] ? f && (f.d(1), f = null) : f ? f.p(c, m) : (f = xe(c), f.c(), f.m(k, null));
480
+ c[3] ? f && (f.d(1), f = null) : f ? f.p(c, m) : (f = De(c), f.c(), f.m(k, null));
481
481
  },
482
482
  d(c) {
483
- c && N(e), f && f.d();
483
+ c && B(e), f && f.d();
484
484
  }
485
485
  };
486
486
  }
@@ -501,7 +501,7 @@ function st(a) {
501
501
  e = s("div"), n.c();
502
502
  },
503
503
  m(p, o) {
504
- z(p, e, o), n.m(e, null), a[36](e);
504
+ N(p, e, o), n.m(e, null), a[36](e);
505
505
  },
506
506
  p(p, o) {
507
507
  i === (i = t(p)) && n ? n.p(p, o) : (n.d(1), n = i(p), n && (n.c(), n.m(e, null)));
@@ -509,13 +509,13 @@ function st(a) {
509
509
  i: Se,
510
510
  o: Se,
511
511
  d(p) {
512
- p && N(e), n.d(), a[36](null);
512
+ p && B(e), n.d(), a[36](null);
513
513
  }
514
514
  };
515
515
  }
516
516
  function ct(a, e, t) {
517
- let i, { visualstructure: n = "" } = e, { title: p = "" } = e, { caticon0: o = "" } = e, { caticon1: C = "" } = e, { caticon2: S = "" } = e, { caticon3: j = "" } = e, { iconlabels: k = "" } = e, { backgroundsrc: b = "" } = e, { currency: y = "" } = e, { backgroundsrcmobile: W = "" } = e, { titlelogopath: U = "" } = e, { lang: L = "en" } = e, { clientstyling: f = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: m = "" } = e, { endpoint: T = "" } = e, { gameid: R = "" } = e, { mbsource: ne } = e, { realtimeupdate: K = "false" } = e, { currencylocale: P = "" } = e, be, ke = window.navigator.userAgent, O = !1, ee = !1, re = "", se = [], ce = [], oe = [], q = [], X = [], Y = "", M = "", A, de = !0, ue = !1, te, G = null, ae = [];
518
- const Z = () => {
517
+ let i, { visualstructure: n = "" } = e, { title: p = "" } = e, { caticon0: o = "" } = e, { caticon1: C = "" } = e, { caticon2: S = "" } = e, { caticon3: j = "" } = e, { iconlabels: k = "" } = e, { backgroundsrc: b = "" } = e, { currency: y = "" } = e, { backgroundsrcmobile: W = "" } = e, { titlelogopath: U = "" } = e, { lang: L = "en" } = e, { clientstyling: f = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: m = "" } = e, { endpoint: T = "" } = e, { gameid: R = "" } = e, { mbsource: ne } = e, { realtimeupdate: K = "false" } = e, { currencylocale: q = "" } = e, be, ke = window.navigator.userAgent, O = !1, ee = !1, re = "", se = [], ce = [], oe = [], H = [], X = [], Y = "", M = "", A, de = !0, ue = !1, te, G = null, ae = [];
518
+ const Q = () => {
519
519
  fetch(m).then((g) => g.json()).then((g) => {
520
520
  Object.keys(g).forEach((I) => {
521
521
  We(I, g[I]);
@@ -551,14 +551,14 @@ function ct(a, e, t) {
551
551
  fetch(l.href).then((g) => g.json()).then((g) => {
552
552
  t(34, ce = g.egtJackpotIds.map((I) => I));
553
553
  });
554
- }, Q = () => {
555
- t(7, O = Ge(ke) && window.innerHeight / window.innerWidth > 1), t(8, ee = Ce()), se.length !== 0 && (t(10, oe = ge(se)), oe.reverse()), t(11, q = k ? k.split(",").map((l) => l.trim().toUpperCase()) : new Array(4).fill("")), ie.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 "${ie[0]}"`), t(0, n = ie[0])), t(13, Y = W && O && !ee ? W : b), t(14, M = U), t(12, X = [o, C, S, j]);
556
- }, H = (l) => Intl.NumberFormat(P, {
554
+ }, Z = () => {
555
+ t(7, O = Ge(ke) && window.innerHeight / window.innerWidth > 1), t(8, ee = Ce()), se.length !== 0 && (t(10, oe = ge(se)), oe.reverse()), t(11, H = k ? k.split(",").map((l) => l.trim().toUpperCase()) : new Array(4).fill("")), ie.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 "${ie[0]}"`), t(0, n = ie[0])), t(13, Y = W && O && !ee ? W : b), t(14, M = U), t(12, X = [o, C, S, j]);
556
+ }, P = (l) => Intl.NumberFormat(q, {
557
557
  minimumFractionDigits: 2,
558
558
  maximumFractionDigits: 2,
559
559
  style: "currency",
560
560
  currency: y
561
- }).format(l).replace(/\s/g, ""), ge = (l) => P ? l.map((g) => H(g)) : l.map((g) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(g)), Ce = () => {
561
+ }).format(l).replace(/\s/g, ""), ge = (l) => q ? l.map((g) => P(g)) : l.map((g) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(g)), Ce = () => {
562
562
  const l = window.innerHeight / window.innerWidth;
563
563
  return 0.75 < l && l < 1.6;
564
564
  }, fe = () => {
@@ -574,44 +574,44 @@ function ct(a, e, t) {
574
574
  const I = Number(g.data.jackpotAlias.split("_")[1]) - 1;
575
575
  t(
576
576
  6,
577
- ae[I] = P ? H(g.data.data[`${y}`].balance) : g.data.data[`${y}`].balance.toString(),
577
+ ae[I] = q ? P(g.data.data[`${y}`].balance) : g.data.data[`${y}`].balance.toString(),
578
578
  ae
579
579
  );
580
580
  }
581
581
  }, Le = () => {
582
- K === "true" && (Q(), t(6, ae = ["", "", "", ""]), G = new EventSource(`${T}/v1/encoder/jackpot/*/update`), G.addEventListener("message", ye));
582
+ K === "true" && (Z(), t(6, ae = ["", "", "", ""]), G = new EventSource(`${T}/v1/encoder/jackpot/*/update`), G.addEventListener("message", ye));
583
583
  };
584
584
  Me(() => () => {
585
- }), He(() => {
585
+ }), Pe(() => {
586
586
  G && (G.removeEventListener("message", ye), G.close(), G = null);
587
587
  });
588
588
  const $ = () => fe();
589
589
  function he(l) {
590
- Pe[l ? "unshift" : "push"](() => {
590
+ qe[l ? "unshift" : "push"](() => {
591
591
  A = l, t(4, A);
592
592
  });
593
593
  }
594
594
  return a.$$set = (l) => {
595
- "visualstructure" in l && t(0, n = l.visualstructure), "title" in l && t(18, p = l.title), "caticon0" in l && t(19, o = l.caticon0), "caticon1" in l && t(20, C = l.caticon1), "caticon2" in l && t(21, S = l.caticon2), "caticon3" in l && t(22, j = l.caticon3), "iconlabels" in l && t(23, k = l.iconlabels), "backgroundsrc" in l && t(24, b = l.backgroundsrc), "currency" in l && t(1, y = l.currency), "backgroundsrcmobile" in l && t(25, W = l.backgroundsrcmobile), "titlelogopath" in l && t(26, U = l.titlelogopath), "lang" in l && t(27, L = l.lang), "clientstyling" in l && t(28, f = l.clientstyling), "clientstylingurl" in l && t(29, c = l.clientstylingurl), "translationurl" in l && t(30, m = l.translationurl), "endpoint" in l && t(31, T = l.endpoint), "gameid" in l && t(32, R = l.gameid), "mbsource" in l && t(33, ne = l.mbsource), "realtimeupdate" in l && t(2, K = l.realtimeupdate), "currencylocale" in l && t(3, P = l.currencylocale);
595
+ "visualstructure" in l && t(0, n = l.visualstructure), "title" in l && t(18, p = l.title), "caticon0" in l && t(19, o = l.caticon0), "caticon1" in l && t(20, C = l.caticon1), "caticon2" in l && t(21, S = l.caticon2), "caticon3" in l && t(22, j = l.caticon3), "iconlabels" in l && t(23, k = l.iconlabels), "backgroundsrc" in l && t(24, b = l.backgroundsrc), "currency" in l && t(1, y = l.currency), "backgroundsrcmobile" in l && t(25, W = l.backgroundsrcmobile), "titlelogopath" in l && t(26, U = l.titlelogopath), "lang" in l && t(27, L = l.lang), "clientstyling" in l && t(28, f = l.clientstyling), "clientstylingurl" in l && t(29, c = l.clientstylingurl), "translationurl" in l && t(30, m = l.translationurl), "endpoint" in l && t(31, T = l.endpoint), "gameid" in l && t(32, R = l.gameid), "mbsource" in l && t(33, ne = l.mbsource), "realtimeupdate" in l && t(2, K = l.realtimeupdate), "currencylocale" in l && t(3, q = l.currencylocale);
596
596
  }, a.$$.update = () => {
597
597
  a.$$.dirty[1] & /*endpoint*/
598
598
  1 && T && le(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
599
599
  268435472 && f && A && Ye(A, f), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
600
- 536870928 && c && A && Ze(A, c), a.$$.dirty[0] & /*customStylingContainer*/
600
+ 536870928 && c && A && Qe(A, c), a.$$.dirty[0] & /*customStylingContainer*/
601
601
  16 | a.$$.dirty[1] & /*mbsource*/
602
- 4 && ne && A && Qe(A, `${ne}.Style`, be), a.$$.dirty[0] & /*lang, currency*/
602
+ 4 && ne && A && Ze(A, `${ne}.Style`, be), a.$$.dirty[0] & /*lang, currency*/
603
603
  134217730 | a.$$.dirty[1] & /*endpoint, validGameIds*/
604
604
  9 && T && L && y && ce.length > 0 && ve(), a.$$.dirty[0] & /*currency, lang, isLoading*/
605
- 134217762 && y && L && !de && Q(), a.$$.dirty[0] & /*lang*/
605
+ 134217762 && y && L && !de && Z(), a.$$.dirty[0] & /*lang*/
606
606
  134217728 && L && me(), a.$$.dirty[0] & /*translationurl*/
607
- 1073741824 && m && Z(), a.$$.dirty[0] & /*realtimeupdate*/
607
+ 1073741824 && m && Q(), a.$$.dirty[0] & /*realtimeupdate*/
608
608
  4 && K && Le(), a.$$.dirty[0] & /*updatedJackpotValues*/
609
609
  64 && t(16, i = [...ae].reverse());
610
610
  }, [
611
611
  n,
612
612
  y,
613
613
  K,
614
- P,
614
+ q,
615
615
  A,
616
616
  de,
617
617
  ae,
@@ -619,7 +619,7 @@ function ct(a, e, t) {
619
619
  ee,
620
620
  re,
621
621
  oe,
622
- q,
622
+ H,
623
623
  X,
624
624
  Y,
625
625
  M,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoLobbyNd-DqQk5N2g.cjs");require("../stencil/ui-image-D9jjPnnA.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,w,v,h,_,g,C;function I(u,o){return u[8]?Ae:Ie}let k=I(n),d=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"),d.c(),b=e.space(),w=e.element("div"),v=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(v.src,h=n[14])||e.set_custom_element_data(v,"src",h),e.set_custom_element_data(v,"alt",""),e.attr(w,"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),d.m(s,null),e.append(l,b),e.append(l,w),e.append(w,v),g||(C=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))&&d?d.p(u,o):(d.d(1),d=k(u),d&&(d.c(),d.m(s,null))),o[0]&16384&&!e.src_url_equal(v.src,h=u[14])&&e.set_custom_element_data(v,"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),d.d(),g=!1,C()}}}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,w=n[11][0]+"",v,h,_,g,C=(n[2]==="true"?n[16][0]:n[10][0])+"",I,k,d,u,o,f,S,K,B,q=n[11][1]+"",ce,de,E,P,Q=(n[2]==="true"?n[16][1]:n[10][1])+"",X,Z,$,N,U,R,J,T,ee,te,D=n[11][2]+"",z,H,O,G,ne=(n[2]==="true"?n[6][2]:n[10][2])+"",oe,pe,ue,Y,F,V,le,me,ae,ie=n[11][3]+"",re,fe,M,se,i=(n[2]==="true"?n[6][3]:n[10][3])+"",p,L,j=!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"),v=e.text(w),h=e.space(),_=e.element("span"),g=e.element("span"),I=e.text(C),k=e.space(),j&&j.c(),d=e.space(),u=e.element("div"),o=e.element("div"),f=e.element("ui-image"),K=e.space(),B=e.element("span"),ce=e.text(q),de=e.space(),E=e.element("span"),P=e.element("span"),X=e.text(Q),Z=e.space(),x&&x.c(),$=e.space(),N=e.element("div"),U=e.element("div"),R=e.element("div"),J=e.element("ui-image"),ee=e.space(),te=e.element("span"),z=e.text(D),H=e.space(),O=e.element("span"),G=e.element("span"),oe=e.text(ne),pe=e.space(),W&&W.c(),ue=e.space(),Y=e.element("div"),F=e.element("div"),V=e.element("ui-image"),me=e.space(),ae=e.element("span"),re=e.text(ie),fe=e.space(),M=e.element("span"),se=e.element("span"),p=e.text(i),L=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(B,"class","cardLabel"),e.attr(o,"class","iconWrapper"),e.attr(P,"class","jackpotValue"),e.attr(E,"class","cardTextWrapper"),e.attr(u,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.set_custom_element_data(J,"class","displayCardIcon"),e.src_url_equal(J.src,T=n[12][2])||e.set_custom_element_data(J,"src",T),e.set_custom_element_data(J,"alt",""),e.attr(te,"class","cardLabel"),e.attr(R,"class","iconWrapper"),e.attr(G,"class","jackpotValue"),e.attr(O,"class","cardTextWrapper"),e.attr(U,"class","displayCard"),e.set_custom_element_data(V,"class","displayCardIcon"),e.src_url_equal(V.src,le=n[12][3])||e.set_custom_element_data(V,"src",le),e.set_custom_element_data(V,"alt",""),e.attr(ae,"class","cardLabel"),e.attr(F,"class","iconWrapper"),e.attr(se,"class","jackpotValue"),e.attr(M,"class","cardTextWrapper"),e.attr(Y,"class","displayCard"),e.attr(N,"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,v),e.append(a,h),e.append(a,_),e.append(_,g),e.append(g,I),e.append(_,k),j&&j.m(_,null),e.append(t,d),e.append(t,u),e.append(u,o),e.append(o,f),e.append(o,K),e.append(o,B),e.append(B,ce),e.append(u,de),e.append(u,E),e.append(E,P),e.append(P,X),e.append(E,Z),x&&x.m(E,null),e.insert(c,$,y),e.insert(c,N,y),e.append(N,U),e.append(U,R),e.append(R,J),e.append(R,ee),e.append(R,te),e.append(te,z),e.append(U,H),e.append(U,O),e.append(O,G),e.append(G,oe),e.append(O,pe),W&&W.m(O,null),e.append(N,ue),e.append(N,Y),e.append(Y,F),e.append(F,V),e.append(F,me),e.append(F,ae),e.append(ae,re),e.append(Y,fe),e.append(Y,M),e.append(M,se),e.append(se,p),e.append(M,L),A&&A.m(M,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&&w!==(w=c[11][0]+"")&&e.set_data(v,w),y[0]&66564&&C!==(C=(c[2]==="true"?c[16][0]:c[10][0])+"")&&e.set_data(I,C),c[3]?j&&(j.d(1),j=null):j?j.p(c,y):(j=ye(c),j.c(),j.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(ce,q),y[0]&66564&&Q!==(Q=(c[2]==="true"?c[16][1]:c[10][1])+"")&&e.set_data(X,Q),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(J.src,T=c[12][2])&&e.set_custom_element_data(J,"src",T),y[0]&2048&&D!==(D=c[11][2]+"")&&e.set_data(z,D),y[0]&1092&&ne!==(ne=(c[2]==="true"?c[6][2]:c[10][2])+"")&&e.set_data(oe,ne),c[3]?W&&(W.d(1),W=null):W?W.p(c,y):(W=ke(c),W.c(),W.m(O,null)),y[0]&4096&&!e.src_url_equal(V.src,le=c[12][3])&&e.set_custom_element_data(V,"src",le),y[0]&2048&&ie!==(ie=c[11][3]+"")&&e.set_data(re,ie),y[0]&1092&&i!==(i=(c[2]==="true"?c[6][3]:c[10][3])+"")&&e.set_data(p,i),c[3]?A&&(A.d(1),A=null):A?A.p(c,y):(A=ve(c),A.c(),A.m(M,null))},d(c){c&&(e.detach(t),e.detach($),e.detach(N)),j&&j.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]]+"",w,v,h,_,g=(n[2]==="true"?n[16][n[58]]:(u=n[10][n[58]])!=null?u:"")+"",C,I,k,d=!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"),w=e.text(b),v=e.space(),h=e.element("span"),_=e.element("span"),C=e.text(g),I=e.space(),d&&d.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,w),e.append(t,v),e.append(t,h),e.append(h,_),e.append(_,C),e.append(h,I),d&&d.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(w,b),f[0]&66564&&g!==(g=(o[2]==="true"?o[16][o[58]]:(S=o[10][o[58]])!=null?S:"")+"")&&e.set_data(C,g),o[3]?d&&(d.d(1),d=null):d?d.p(o,f):(d=we(o),d.c(),d.m(h,null))},d(o){o&&e.detach(t),d&&d.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:w=""}=t,{caticon3:v=""}=t,{iconlabels:h=""}=t,{backgroundsrc:_=""}=t,{currency:g=""}=t,{backgroundsrcmobile:C=""}=t,{titlelogopath:I=""}=t,{lang:k="en"}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{translationurl:o=""}=t,{endpoint:f=""}=t,{gameid:S=""}=t,{mbsource:K}=t,{realtimeupdate:B="false"}=t,{currencylocale:q=""}=t,ce,de=window.navigator.userAgent,E=!1,P=!1,Q="",X=[],Z=[],$=[],N=[],U=[],R="",J="",T,ee=!0,te=!1,D,z=null,H=[];const O=()=>{fetch(o).then(p=>p.json()).then(p=>{Object.keys(p).forEach(L=>{ge(L,p[L])})}).catch(p=>{console.log(p)})};Object.keys(_e).forEach(i=>{ge(i,_e[i])});const G=["typeSpread","typeLeft"],ne=i=>{var L;const p=(L=i==null?void 0:i.items[0])==null?void 0:L.additionalData;p&&Object.values(p).forEach(j=>X.push(+j))},oe=i=>{var p;a(9,Q=((p=i==null?void 0:i.items[0])==null?void 0:p.vendorLogo)||"")},pe=()=>{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(p=>p.json().then(L=>{a(5,ee=!1),D=L,Z.includes(S)&&(ne(D),oe(D))}).catch(L=>{a(15,te=!0),a(5,ee=!1),console.error(L)}).finally(()=>{ue()}))}},ue=()=>{const i=T.getRootNode().host;i.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:i}}))},Y=()=>{let i=new URL(`${f}/v1/casino/jackpots/config`);fetch(i.href).then(p=>p.json()).then(p=>{a(34,Z=p.egtJackpotIds.map(L=>L))})},F=()=>{a(7,E=e.isMobile(de)&&window.innerHeight/window.innerWidth>1),a(8,P=me()),X.length!==0&&(a(10,$=le(X)),$.reverse()),a(11,N=h?h.split(",").map(i=>i.trim().toUpperCase()):new Array(4).fill("")),G.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 "${G[0]}"`),a(0,r=G[0])),a(13,R=C&&E&&!P?C:_),a(14,J=I),a(12,U=[s,b,w,v])},V=i=>Intl.NumberFormat(q,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:g}).format(i).replace(/\s/g,""),le=i=>q?i.map(p=>V(p)):i.map(p=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(p)),me=()=>{const i=window.innerHeight/window.innerWidth;return .75<i&&i<1.6},ae=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:S},window.location.href),typeof gtag=="function"&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${S}`})},ie=()=>{je(k)},re=i=>{const p=JSON.parse(i.data);if(p.success&&p.data.messageType==="UpdateEgtJackpotBalance"&&p.data.jackpotAlias.split("_")[0]===S){const L=Number(p.data.jackpotAlias.split("_")[1])-1;a(6,H[L]=q?V(p.data.data[`${g}`].balance):p.data.data[`${g}`].balance.toString(),H)}},fe=()=>{B==="true"&&(F(),a(6,H=["","","",""]),z=new EventSource(`${f}/v1/encoder/jackpot/*/update`),z.addEventListener("message",re))};e.onMount(()=>()=>{}),e.onDestroy(()=>{z&&(z.removeEventListener("message",re),z.close(),z=null)});const M=()=>ae();function se(i){e.binding_callbacks[i?"unshift":"push"](()=>{T=i,a(4,T)})}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,w=i.caticon2),"caticon3"in i&&a(22,v=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,C=i.backgroundsrcmobile),"titlelogopath"in i&&a(26,I=i.titlelogopath),"lang"in i&&a(27,k=i.lang),"clientstyling"in i&&a(28,d=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,B=i.realtimeupdate),"currencylocale"in i&&a(3,q=i.currencylocale)},n.$$.update=()=>{n.$$.dirty[1]&1&&f&&Y(),n.$$.dirty[0]&268435472&&d&&T&&e.setClientStyling(T,d),n.$$.dirty[0]&536870928&&u&&T&&e.setClientStylingURL(T,u),n.$$.dirty[0]&16|n.$$.dirty[1]&4&&K&&T&&e.setStreamStyling(T,`${K}.Style`,ce),n.$$.dirty[0]&134217730|n.$$.dirty[1]&9&&f&&k&&g&&Z.length>0&&pe(),n.$$.dirty[0]&134217762&&g&&k&&!ee&&F(),n.$$.dirty[0]&134217728&&k&&ie(),n.$$.dirty[0]&1073741824&&o&&O(),n.$$.dirty[0]&4&&B&&fe(),n.$$.dirty[0]&64&&a(16,l=[...H].reverse())},[r,g,B,q,T,ee,H,E,P,Q,$,N,U,R,J,te,l,ae,m,s,b,w,v,h,_,C,I,k,d,u,o,f,S,K,Z,M,se]}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("./CasinoLobbyNd-DwiJeUic.cjs");require("../stencil/ui-image-D9jjPnnA.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,w,v,h,_,g,C;function I(u,o){return u[8]?Ae:Ie}let k=I(n),d=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"),d.c(),b=e.space(),w=e.element("div"),v=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(v.src,h=n[14])||e.set_custom_element_data(v,"src",h),e.set_custom_element_data(v,"alt",""),e.attr(w,"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),d.m(s,null),e.append(l,b),e.append(l,w),e.append(w,v),g||(C=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))&&d?d.p(u,o):(d.d(1),d=k(u),d&&(d.c(),d.m(s,null))),o[0]&16384&&!e.src_url_equal(v.src,h=u[14])&&e.set_custom_element_data(v,"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),d.d(),g=!1,C()}}}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,w=n[11][0]+"",v,h,_,g,C=(n[2]==="true"?n[16][0]:n[10][0])+"",I,k,d,u,o,f,S,K,B,q=n[11][1]+"",ce,de,E,P,Q=(n[2]==="true"?n[16][1]:n[10][1])+"",X,Z,$,N,U,R,J,T,ee,te,D=n[11][2]+"",z,H,O,G,ne=(n[2]==="true"?n[6][2]:n[10][2])+"",oe,pe,ue,Y,F,V,le,me,ae,ie=n[11][3]+"",re,fe,M,se,i=(n[2]==="true"?n[6][3]:n[10][3])+"",p,L,j=!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"),v=e.text(w),h=e.space(),_=e.element("span"),g=e.element("span"),I=e.text(C),k=e.space(),j&&j.c(),d=e.space(),u=e.element("div"),o=e.element("div"),f=e.element("ui-image"),K=e.space(),B=e.element("span"),ce=e.text(q),de=e.space(),E=e.element("span"),P=e.element("span"),X=e.text(Q),Z=e.space(),x&&x.c(),$=e.space(),N=e.element("div"),U=e.element("div"),R=e.element("div"),J=e.element("ui-image"),ee=e.space(),te=e.element("span"),z=e.text(D),H=e.space(),O=e.element("span"),G=e.element("span"),oe=e.text(ne),pe=e.space(),W&&W.c(),ue=e.space(),Y=e.element("div"),F=e.element("div"),V=e.element("ui-image"),me=e.space(),ae=e.element("span"),re=e.text(ie),fe=e.space(),M=e.element("span"),se=e.element("span"),p=e.text(i),L=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(B,"class","cardLabel"),e.attr(o,"class","iconWrapper"),e.attr(P,"class","jackpotValue"),e.attr(E,"class","cardTextWrapper"),e.attr(u,"class","displayCard"),e.attr(t,"class","pairWrapper"),e.set_custom_element_data(J,"class","displayCardIcon"),e.src_url_equal(J.src,T=n[12][2])||e.set_custom_element_data(J,"src",T),e.set_custom_element_data(J,"alt",""),e.attr(te,"class","cardLabel"),e.attr(R,"class","iconWrapper"),e.attr(G,"class","jackpotValue"),e.attr(O,"class","cardTextWrapper"),e.attr(U,"class","displayCard"),e.set_custom_element_data(V,"class","displayCardIcon"),e.src_url_equal(V.src,le=n[12][3])||e.set_custom_element_data(V,"src",le),e.set_custom_element_data(V,"alt",""),e.attr(ae,"class","cardLabel"),e.attr(F,"class","iconWrapper"),e.attr(se,"class","jackpotValue"),e.attr(M,"class","cardTextWrapper"),e.attr(Y,"class","displayCard"),e.attr(N,"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,v),e.append(a,h),e.append(a,_),e.append(_,g),e.append(g,I),e.append(_,k),j&&j.m(_,null),e.append(t,d),e.append(t,u),e.append(u,o),e.append(o,f),e.append(o,K),e.append(o,B),e.append(B,ce),e.append(u,de),e.append(u,E),e.append(E,P),e.append(P,X),e.append(E,Z),x&&x.m(E,null),e.insert(c,$,y),e.insert(c,N,y),e.append(N,U),e.append(U,R),e.append(R,J),e.append(R,ee),e.append(R,te),e.append(te,z),e.append(U,H),e.append(U,O),e.append(O,G),e.append(G,oe),e.append(O,pe),W&&W.m(O,null),e.append(N,ue),e.append(N,Y),e.append(Y,F),e.append(F,V),e.append(F,me),e.append(F,ae),e.append(ae,re),e.append(Y,fe),e.append(Y,M),e.append(M,se),e.append(se,p),e.append(M,L),A&&A.m(M,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&&w!==(w=c[11][0]+"")&&e.set_data(v,w),y[0]&66564&&C!==(C=(c[2]==="true"?c[16][0]:c[10][0])+"")&&e.set_data(I,C),c[3]?j&&(j.d(1),j=null):j?j.p(c,y):(j=ye(c),j.c(),j.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(ce,q),y[0]&66564&&Q!==(Q=(c[2]==="true"?c[16][1]:c[10][1])+"")&&e.set_data(X,Q),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(J.src,T=c[12][2])&&e.set_custom_element_data(J,"src",T),y[0]&2048&&D!==(D=c[11][2]+"")&&e.set_data(z,D),y[0]&1092&&ne!==(ne=(c[2]==="true"?c[6][2]:c[10][2])+"")&&e.set_data(oe,ne),c[3]?W&&(W.d(1),W=null):W?W.p(c,y):(W=ke(c),W.c(),W.m(O,null)),y[0]&4096&&!e.src_url_equal(V.src,le=c[12][3])&&e.set_custom_element_data(V,"src",le),y[0]&2048&&ie!==(ie=c[11][3]+"")&&e.set_data(re,ie),y[0]&1092&&i!==(i=(c[2]==="true"?c[6][3]:c[10][3])+"")&&e.set_data(p,i),c[3]?A&&(A.d(1),A=null):A?A.p(c,y):(A=ve(c),A.c(),A.m(M,null))},d(c){c&&(e.detach(t),e.detach($),e.detach(N)),j&&j.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]]+"",w,v,h,_,g=(n[2]==="true"?n[16][n[58]]:(u=n[10][n[58]])!=null?u:"")+"",C,I,k,d=!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"),w=e.text(b),v=e.space(),h=e.element("span"),_=e.element("span"),C=e.text(g),I=e.space(),d&&d.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,w),e.append(t,v),e.append(t,h),e.append(h,_),e.append(_,C),e.append(h,I),d&&d.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(w,b),f[0]&66564&&g!==(g=(o[2]==="true"?o[16][o[58]]:(S=o[10][o[58]])!=null?S:"")+"")&&e.set_data(C,g),o[3]?d&&(d.d(1),d=null):d?d.p(o,f):(d=we(o),d.c(),d.m(h,null))},d(o){o&&e.detach(t),d&&d.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:w=""}=t,{caticon3:v=""}=t,{iconlabels:h=""}=t,{backgroundsrc:_=""}=t,{currency:g=""}=t,{backgroundsrcmobile:C=""}=t,{titlelogopath:I=""}=t,{lang:k="en"}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{translationurl:o=""}=t,{endpoint:f=""}=t,{gameid:S=""}=t,{mbsource:K}=t,{realtimeupdate:B="false"}=t,{currencylocale:q=""}=t,ce,de=window.navigator.userAgent,E=!1,P=!1,Q="",X=[],Z=[],$=[],N=[],U=[],R="",J="",T,ee=!0,te=!1,D,z=null,H=[];const O=()=>{fetch(o).then(p=>p.json()).then(p=>{Object.keys(p).forEach(L=>{ge(L,p[L])})}).catch(p=>{console.log(p)})};Object.keys(_e).forEach(i=>{ge(i,_e[i])});const G=["typeSpread","typeLeft"],ne=i=>{var L;const p=(L=i==null?void 0:i.items[0])==null?void 0:L.additionalData;p&&Object.values(p).forEach(j=>X.push(+j))},oe=i=>{var p;a(9,Q=((p=i==null?void 0:i.items[0])==null?void 0:p.vendorLogo)||"")},pe=()=>{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(p=>p.json().then(L=>{a(5,ee=!1),D=L,Z.includes(S)&&(ne(D),oe(D))}).catch(L=>{a(15,te=!0),a(5,ee=!1),console.error(L)}).finally(()=>{ue()}))}},ue=()=>{const i=T.getRootNode().host;i.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:i}}))},Y=()=>{let i=new URL(`${f}/v1/casino/jackpots/config`);fetch(i.href).then(p=>p.json()).then(p=>{a(34,Z=p.egtJackpotIds.map(L=>L))})},F=()=>{a(7,E=e.isMobile(de)&&window.innerHeight/window.innerWidth>1),a(8,P=me()),X.length!==0&&(a(10,$=le(X)),$.reverse()),a(11,N=h?h.split(",").map(i=>i.trim().toUpperCase()):new Array(4).fill("")),G.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 "${G[0]}"`),a(0,r=G[0])),a(13,R=C&&E&&!P?C:_),a(14,J=I),a(12,U=[s,b,w,v])},V=i=>Intl.NumberFormat(q,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:g}).format(i).replace(/\s/g,""),le=i=>q?i.map(p=>V(p)):i.map(p=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(p)),me=()=>{const i=window.innerHeight/window.innerWidth;return .75<i&&i<1.6},ae=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:S},window.location.href),typeof gtag=="function"&&gtag("event","JackpotBannerClicked",{context:"JackpotBanner",gameId:`${S}`})},ie=()=>{je(k)},re=i=>{const p=JSON.parse(i.data);if(p.success&&p.data.messageType==="UpdateEgtJackpotBalance"&&p.data.jackpotAlias.split("_")[0]===S){const L=Number(p.data.jackpotAlias.split("_")[1])-1;a(6,H[L]=q?V(p.data.data[`${g}`].balance):p.data.data[`${g}`].balance.toString(),H)}},fe=()=>{B==="true"&&(F(),a(6,H=["","","",""]),z=new EventSource(`${f}/v1/encoder/jackpot/*/update`),z.addEventListener("message",re))};e.onMount(()=>()=>{}),e.onDestroy(()=>{z&&(z.removeEventListener("message",re),z.close(),z=null)});const M=()=>ae();function se(i){e.binding_callbacks[i?"unshift":"push"](()=>{T=i,a(4,T)})}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,w=i.caticon2),"caticon3"in i&&a(22,v=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,C=i.backgroundsrcmobile),"titlelogopath"in i&&a(26,I=i.titlelogopath),"lang"in i&&a(27,k=i.lang),"clientstyling"in i&&a(28,d=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,B=i.realtimeupdate),"currencylocale"in i&&a(3,q=i.currencylocale)},n.$$.update=()=>{n.$$.dirty[1]&1&&f&&Y(),n.$$.dirty[0]&268435472&&d&&T&&e.setClientStyling(T,d),n.$$.dirty[0]&536870928&&u&&T&&e.setClientStylingURL(T,u),n.$$.dirty[0]&16|n.$$.dirty[1]&4&&K&&T&&e.setStreamStyling(T,`${K}.Style`,ce),n.$$.dirty[0]&134217730|n.$$.dirty[1]&9&&f&&k&&g&&Z.length>0&&pe(),n.$$.dirty[0]&134217762&&g&&k&&!ee&&F(),n.$$.dirty[0]&134217728&&k&&ie(),n.$$.dirty[0]&1073741824&&o&&O(),n.$$.dirty[0]&4&&B&&fe(),n.$$.dirty[0]&64&&a(16,l=[...H].reverse())},[r,g,B,q,T,ee,H,E,P,Q,$,N,U,R,J,te,l,ae,m,s,b,w,v,h,_,C,I,k,d,u,o,f,S,K,Z,M,se]}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;