@everymatrix/casino-page-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 (109) hide show
  1. package/components/{CasinoCalendar-BsorgQtD.js → CasinoCalendar-BXqn5sSJ.js} +34 -34
  2. package/components/{CasinoCalendar-Bar1KVPb.js → CasinoCalendar-DdqyHrIi.js} +33 -33
  3. package/components/{CasinoCalendar-B-ElK3ln.cjs → CasinoCalendar-f9ob2sFv.cjs} +1 -1
  4. package/components/{CasinoCalendarDailyDetails-BoTdowtn.js → CasinoCalendarDailyDetails-BBe0-NK5.js} +35 -35
  5. package/components/{CasinoCalendarDailyDetails-DLxk4yik.cjs → CasinoCalendarDailyDetails-CHdX5zc8.cjs} +1 -1
  6. package/components/{CasinoCalendarDailyDetails-ChU8Nf17.js → CasinoCalendarDailyDetails-ewHsXmDz.js} +44 -44
  7. package/components/{CasinoCalendarDailyItem-DVlQpd2h.js → CasinoCalendarDailyItem-BisTMrw_.js} +33 -33
  8. package/components/{CasinoCalendarDailyItem-B1BOZqbk.cjs → CasinoCalendarDailyItem-Bo0BHXKg.cjs} +1 -1
  9. package/components/{CasinoCalendarDailyItem-Yoj0Yzg3.js → CasinoCalendarDailyItem-Q3MzwDts.js} +35 -35
  10. package/components/{CasinoCollectionsProviders-D-lUQePw.js → CasinoCollectionsProviders-C7YIthiK.js} +54 -54
  11. package/components/{CasinoCollectionsProviders-DDuUDFgp.cjs → CasinoCollectionsProviders-CCZelLp2.cjs} +1 -1
  12. package/components/{CasinoCollectionsProviders-BSIyPEOO.js → CasinoCollectionsProviders-CU88qQMT.js} +77 -77
  13. package/components/{CasinoFavoritesSectionNd-B1W3Wz8p.js → CasinoFavoritesSectionNd-CYfialzn.js} +19 -19
  14. package/components/{CasinoFavoritesSectionNd-CY10i3wA.cjs → CasinoFavoritesSectionNd-CZ1st2up.cjs} +1 -1
  15. package/components/{CasinoFavoritesSectionNd-aKXCReO2.js → CasinoFavoritesSectionNd-HKJugDpB.js} +30 -30
  16. package/components/{CasinoFilter-BwCwXqWa.cjs → CasinoFilter-BviseRbU.cjs} +1 -1
  17. package/components/{CasinoFilter-gCiPR__8.js → CasinoFilter-Cd3YMCjI.js} +61 -61
  18. package/components/{CasinoFilter-BQsFbRt1.js → CasinoFilter-DZtIPf04.js} +72 -72
  19. package/components/{CasinoGameThumbnailNd-C9zOKRFB.cjs → CasinoGameThumbnailNd-CIIH4ov5.cjs} +1 -1
  20. package/components/{CasinoGameThumbnailNd-B7GdVkxq.js → CasinoGameThumbnailNd-DfrIBuE8.js} +47 -47
  21. package/components/{CasinoGameThumbnailNd-Dp86Mafo.js → CasinoGameThumbnailNd-qZDUi7bK.js} +44 -44
  22. package/components/{CasinoGamesCategorySectionNd-D-Wuvl8U.js → CasinoGamesCategorySectionNd-BeGuRKUV.js} +51 -51
  23. package/components/{CasinoGamesCategorySectionNd-C2UoZFWC.cjs → CasinoGamesCategorySectionNd-DmcGqSFC.cjs} +1 -1
  24. package/components/{CasinoGamesCategorySectionNd-BBT_fRD_.js → CasinoGamesCategorySectionNd-QyzFexdL.js} +88 -88
  25. package/components/{CasinoJackpotBanner-BsZsSC5q.js → CasinoJackpotBanner-B_16bQIJ.js} +57 -57
  26. package/components/{CasinoJackpotBanner-d2UGqr4v.cjs → CasinoJackpotBanner-BgVQzBT9.cjs} +1 -1
  27. package/components/{CasinoJackpotBanner--hB_JhfK.js → CasinoJackpotBanner-Chzhtion.js} +97 -97
  28. package/components/{CasinoLastPlayedSectionNd-BS_l-cZ0.js → CasinoLastPlayedSectionNd-BOYA9BZi.js} +15 -15
  29. package/components/{CasinoLastPlayedSectionNd-ClV5hJ3T.js → CasinoLastPlayedSectionNd-CuKAruU8.js} +27 -27
  30. package/components/{CasinoLastPlayedSectionNd-CSUr2ClP.cjs → CasinoLastPlayedSectionNd-KZNXKC5c.cjs} +1 -1
  31. package/components/{CasinoMostPlayedSectionNd-D3CZA_XD.js → CasinoMostPlayedSectionNd-BNw2NHF0.js} +36 -36
  32. package/components/{CasinoMostPlayedSectionNd-CQXe7gZp.js → CasinoMostPlayedSectionNd-BYlAY4RO.js} +37 -37
  33. package/components/{CasinoMostPlayedSectionNd-DF2VZSVY.cjs → CasinoMostPlayedSectionNd-DKnN3rEW.cjs} +1 -1
  34. package/components/{CasinoMyGamesNd-oYIN8A8y.js → CasinoMyGamesNd-BGusGuB_.js} +25 -25
  35. package/components/{CasinoMyGamesNd-DUkQM67I.js → CasinoMyGamesNd-C05ASC1X.js} +139 -139
  36. package/components/{CasinoMyGamesNd-p3By5ie3.cjs → CasinoMyGamesNd-D6RmmeUO.cjs} +1 -1
  37. package/components/{CasinoPageNd-u8Nxbkgk.js → CasinoPageNd-BYwB2SrU.js} +62 -62
  38. package/components/{CasinoPageNd-BoxT7vNT.js → CasinoPageNd-CvwQrmeC.js} +63 -63
  39. package/components/{CasinoPageNd-ByOWge44.cjs → CasinoPageNd-DkcMiqM_.cjs} +1 -1
  40. package/components/{CasinoRandomGame-DYHpkkIU.cjs → CasinoRandomGame-CSKHxblX.cjs} +1 -1
  41. package/components/{CasinoRandomGame-DmdUfx7P.js → CasinoRandomGame-CoXgBuKo.js} +25 -25
  42. package/components/{CasinoRandomGame-Dub3IIU6.js → CasinoRandomGame-DZSB2qWm.js} +57 -57
  43. package/components/{CasinoSearchNd-DJKl9giS.js → CasinoSearchNd-DnPGsjFN.js} +170 -166
  44. package/components/{CasinoSearchNd-DAtlVgS9.cjs → CasinoSearchNd-Drf3R8N1.cjs} +1 -1
  45. package/components/{CasinoSearchNd-CMWbs-xQ.js → CasinoSearchNd-sS9yxFZB.js} +196 -192
  46. package/components/{CasinoSort-BdYCRTbw.cjs → CasinoSort-Be7I-Bkl.cjs} +1 -1
  47. package/components/{CasinoSort-BKNBrE2Z.js → CasinoSort-CCDDquSi.js} +23 -23
  48. package/components/{CasinoSort-Bj5VCzfQ.js → CasinoSort-CFbNQrwp.js} +40 -40
  49. package/components/{CasinoWinners-CVQnA2jb.cjs → CasinoWinners-B4wRzzvv.cjs} +1 -1
  50. package/components/{CasinoWinners-CJWsbB8X.js → CasinoWinners-BOD7ymCO.js} +55 -55
  51. package/components/{CasinoWinners-BB69_VBL.js → CasinoWinners-DYeVwT_K.js} +48 -48
  52. package/components/{GeneralAnimationLoading-BosK264F.cjs → GeneralAnimationLoading-DD1kmHGW.cjs} +1 -1
  53. package/components/{GeneralAnimationLoading-D9Xr0Ohx.js → GeneralAnimationLoading-DLWyPAPZ.js} +4 -4
  54. package/components/{GeneralAnimationLoading-Ddb3rUV4.js → GeneralAnimationLoading-DSzlRxD5.js} +6 -6
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/lazy/{casino-calendar-BsTNKtIb.cjs → casino-calendar-BMr6vuSW.cjs} +1 -1
  59. package/lazy/{casino-calendar-CRtCPSqI.js → casino-calendar-BhmwgnLf.js} +1 -1
  60. package/lazy/{casino-calendar-C3pFBr-V.js → casino-calendar-CDGAH9KV.js} +1 -1
  61. package/lazy/{casino-calendar-daily-details-CMNO8yVt.js → casino-calendar-daily-details-BZ6lWliO.js} +1 -1
  62. package/lazy/{casino-calendar-daily-details-CFdZ0y8g.cjs → casino-calendar-daily-details-CkvPWhRn.cjs} +1 -1
  63. package/lazy/{casino-calendar-daily-details--hiprlav.js → casino-calendar-daily-details-CreJXTIY.js} +1 -1
  64. package/lazy/{casino-calendar-daily-item-Dt5sMvLn.js → casino-calendar-daily-item-B294skVH.js} +1 -1
  65. package/lazy/{casino-calendar-daily-item-CcpGZGk2.js → casino-calendar-daily-item-BPg2o_ak.js} +1 -1
  66. package/lazy/{casino-calendar-daily-item-DBgzZi6h.cjs → casino-calendar-daily-item-OzC20xXV.cjs} +1 -1
  67. package/lazy/{casino-collections-providers-C-IXWoMt.js → casino-collections-providers-BmEfkamW.js} +1 -1
  68. package/lazy/{casino-collections-providers-ChwusPlU.cjs → casino-collections-providers-CS7TN5Jq.cjs} +1 -1
  69. package/lazy/{casino-collections-providers-CZlcLi3I.js → casino-collections-providers-D-Lac16c.js} +1 -1
  70. package/lazy/{casino-favorites-section-nd-IDnSx6LY.js → casino-favorites-section-nd-BazZLv4x.js} +1 -1
  71. package/lazy/{casino-favorites-section-nd-Ddu_8ZpD.cjs → casino-favorites-section-nd-BbJYgzDZ.cjs} +1 -1
  72. package/lazy/{casino-favorites-section-nd-MgjY7aDg.js → casino-favorites-section-nd-nPKsz6I2.js} +1 -1
  73. package/lazy/{casino-filter-DxJEhjqm.cjs → casino-filter-0hD3kNKp.cjs} +1 -1
  74. package/lazy/{casino-filter-CvdGS5WS.js → casino-filter-BpUtqzOq.js} +1 -1
  75. package/lazy/{casino-filter-x6iQmG8o.js → casino-filter-LrYoEa2q.js} +1 -1
  76. package/lazy/{casino-game-thumbnail-nd-fLseOtb1.js → casino-game-thumbnail-nd-BpZR5RyP.js} +1 -1
  77. package/lazy/{casino-game-thumbnail-nd-CmbS4UC5.js → casino-game-thumbnail-nd-Dw6vijuw.js} +1 -1
  78. package/lazy/{casino-game-thumbnail-nd-BNX3nQzO.cjs → casino-game-thumbnail-nd-scS9CFBJ.cjs} +1 -1
  79. package/lazy/{casino-games-category-section-nd-4wlUiWn8.cjs → casino-games-category-section-nd-BRF_H9fJ.cjs} +1 -1
  80. package/lazy/{casino-games-category-section-nd-B5b_8VTG.js → casino-games-category-section-nd-BlkiwQIq.js} +1 -1
  81. package/lazy/{casino-games-category-section-nd-mWetVUsk.js → casino-games-category-section-nd-_dwBrjcT.js} +1 -1
  82. package/lazy/{casino-jackpot-banner-CBykDPkn.js → casino-jackpot-banner-7aQVJA-u.js} +1 -1
  83. package/lazy/{casino-jackpot-banner-Dclo86eY.js → casino-jackpot-banner-BZR61rlM.js} +1 -1
  84. package/lazy/{casino-jackpot-banner-BRGk1i5x.cjs → casino-jackpot-banner-DqljUZ3D.cjs} +1 -1
  85. package/lazy/{casino-last-played-section-nd-DNynAP0O.js → casino-last-played-section-nd-BCMeN_xL.js} +1 -1
  86. package/lazy/{casino-last-played-section-nd-Y8YRdawj.js → casino-last-played-section-nd-Dk09Q6Oo.js} +1 -1
  87. package/lazy/{casino-last-played-section-nd-BENyEKvl.cjs → casino-last-played-section-nd-DyHep2bs.cjs} +1 -1
  88. package/lazy/{casino-most-played-section-nd-uOEOVr80.js → casino-most-played-section-nd-DGErR8Qy.js} +1 -1
  89. package/lazy/{casino-most-played-section-nd-CDxisfSd.cjs → casino-most-played-section-nd-DeeoJS9L.cjs} +1 -1
  90. package/lazy/{casino-most-played-section-nd--IDhBmzV.js → casino-most-played-section-nd-MahPsOcg.js} +1 -1
  91. package/lazy/{casino-my-games-nd-shBn8eVI.js → casino-my-games-nd-B9th_ITS.js} +1 -1
  92. package/lazy/{casino-my-games-nd-BzZqvl8m.cjs → casino-my-games-nd-Bavk_uVF.cjs} +1 -1
  93. package/lazy/{casino-my-games-nd-hhOAoTf-.js → casino-my-games-nd-Cr4euW7O.js} +1 -1
  94. package/lazy/{casino-random-game-Cat_tAZT.js → casino-random-game-BCbXjFco.js} +1 -1
  95. package/lazy/{casino-random-game-Doo9yzQt.js → casino-random-game-D89lDDvz.js} +1 -1
  96. package/lazy/{casino-random-game-eE6hTWNw.cjs → casino-random-game-DiBN599Y.cjs} +1 -1
  97. package/lazy/{casino-search-nd-LFipqxYz.js → casino-search-nd-B-trMEPg.js} +1 -1
  98. package/lazy/{casino-search-nd-B5qv7Mra.cjs → casino-search-nd-B313a-hZ.cjs} +1 -1
  99. package/lazy/{casino-search-nd--jk190OZ.js → casino-search-nd-DX9y7hrV.js} +1 -1
  100. package/lazy/{casino-sort-BcuCWb8z.js → casino-sort-BX6cf-yt.js} +1 -1
  101. package/lazy/{casino-sort-CVYLHFfC.cjs → casino-sort-DYdgpEhn.cjs} +1 -1
  102. package/lazy/{casino-sort-CTKb0shJ.js → casino-sort-LsdC94Za.js} +1 -1
  103. package/lazy/{casino-winners-C9Jj7SyY.cjs → casino-winners-B5_Q3bvn.cjs} +1 -1
  104. package/lazy/{casino-winners-jTx87PeA.js → casino-winners-BORY4UJw.js} +1 -1
  105. package/lazy/{casino-winners-DGiPC9oE.js → casino-winners-I74kUrkL.js} +1 -1
  106. package/lazy/{general-animation-loading-BSWx-kfp.js → general-animation-loading--byYFuL2.js} +1 -1
  107. package/lazy/{general-animation-loading-CxOn6BQv.js → general-animation-loading-D1Tz4Ui8.js} +1 -1
  108. package/lazy/{general-animation-loading-HWLiLPqG.cjs → general-animation-loading-oYXMnrSW.cjs} +1 -1
  109. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
- import { a as ze, $ as Ne, S as Ue, i as Re, s as Fe, f as w, b as Oe, n as Se, d as z, c as N, g as s, o as Me, m as He, r as Pe, j as d, X as je, E as F, B as h, e as r, F as qe, h as _, u as Ge, y as Te, D as Ke, t as Xe, w as E, x as J, H as Ye, I as Qe, J as Ze, K as $e } from "./CasinoPageNd-u8Nxbkgk.js";
1
+ import { c as Be, b as Ne, S as Ue, x as Re, I as Fe, r as w, e as Me, B as Se, n as B, y as N, o as s, E as Oe, D as Pe, g as qe, f as d, P as je, R as F, M as h, d as r, A as He, Q as _, z as Ge, q as Te, m as Ke, p as Qe, N as E, V as J, J as Ye, K as Xe, L as Ze, j as $e } from "./CasinoPageNd-BYwB2SrU.js";
2
2
  import "../stencil/ui-image-Da7NRAu7.js";
3
3
  function We(a, e) {
4
- ze(a, e);
4
+ Be(a, e);
5
5
  }
6
6
  function et(a) {
7
7
  Ne.set(a);
@@ -45,7 +45,7 @@ const Ae = {
45
45
  }
46
46
  };
47
47
  function tt(a) {
48
- Oe(a, "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)}}');
48
+ Me(a, "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)}}');
49
49
  }
50
50
  function Ie(a, e, t) {
51
51
  const i = a.slice();
@@ -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
- 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 = 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 && z(e), f.d(), y = !1, W();
101
+ c && B(e), f.d(), y = !1, W();
102
102
  }
103
103
  };
104
104
  }
@@ -113,7 +113,7 @@ function it(a) {
113
113
  },
114
114
  p: Se,
115
115
  d(t) {
116
- t && z(e);
116
+ t && B(e);
117
117
  }
118
118
  };
119
119
  }
@@ -128,7 +128,7 @@ function lt(a) {
128
128
  },
129
129
  p: Se,
130
130
  d(t) {
131
- t && z(e);
131
+ t && B(e);
132
132
  }
133
133
  };
134
134
  }
@@ -145,10 +145,10 @@ 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
- ), be, ke, O, ee, re = (
151
+ ), be, ke, M, ee, re = (
152
152
  /*realtimeupdate*/
153
153
  (a[2] === "true" ? (
154
154
  /*reversedJackpotValues*/
@@ -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, Q, Y, O, A, de, ue, te = (
161
161
  /*formattedLabels*/
162
162
  a[11][2] + ""
163
- ), G, ae, Q, ie, pe = (
163
+ ), G, ae, X, 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, Z, 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 = (
@@ -184,18 +184,18 @@ function nt(a) {
184
184
  ), g, I, V = !/*currencylocale*/
185
185
  a[3] && Ee(a), x = !/*currencylocale*/
186
186
  a[3] && Je(a), D = !/*currencylocale*/
187
- a[3] && Ve(a), B = !/*currencylocale*/
187
+ a[3] && Ve(a), z = !/*currencylocale*/
188
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 = _(), x && x.c(), oe = _(), q = 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"), 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 = _(), M = s("span"), ee = s("span"), se = J(re), ce = _(), x && x.c(), oe = _(), H = s("div"), Q = s("div"), Y = s("div"), O = s("ui-image"), de = _(), ue = s("span"), G = J(te), ae = _(), X = 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
- 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(Q, "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(Z, "class", "iconWrapper"), d(he, "class", "jackpotValue"), d($, "class", "cardTextWrapper"), d(le, "class", "displayCard"), d(q, "class", "pairWrapper");
193
+ a[12][1]) || h(T, "src", R), h(T, "alt", ""), d(K, "class", "cardLabel"), d(m, "class", "iconWrapper"), d(ee, "class", "jackpotValue"), d(M, "class", "cardTextWrapper"), d(c, "class", "displayCard"), d(e, "class", "pairWrapper"), h(O, "class", "displayCardIcon"), F(O.src, A = /*caticons*/
194
+ a[12][2]) || h(O, "src", A), h(O, "alt", ""), d(ue, "class", "cardLabel"), d(Y, "class", "iconWrapper"), d(ie, "class", "jackpotValue"), d(X, "class", "cardTextWrapper"), d(Q, "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
- 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, 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, Q), r(Q, ie), r(ie, _e), r(Q, ve), D && D.m(Q, null), r(q, we), r(q, le), r(le, Z), r(Z, H), r(Z, Ce), r(Z, 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, M), r(M, ee), r(ee, se), r(M, ce), x && x.m(M, null), N(u, oe, v), N(u, H, v), r(H, Q), r(Q, Y), r(Y, O), r(Y, de), r(Y, ue), r(ue, G), r(Q, ae), r(Q, X), r(X, ie), r(ie, _e), r(X, ve), D && D.m(X, 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,9 +224,9 @@ function nt(a) {
224
224
  /*formattedJackpotValues*/
225
225
  u[10][1]
226
226
  )) + "") && E(se, re), /*currencylocale*/
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
- 4096 && !F(M.src, A = /*caticons*/
229
- u[12][2]) && h(M, "src", A), v[0] & /*formattedLabels*/
227
+ u[3] ? x && (x.d(1), x = null) : x ? x.p(u, v) : (x = Je(u), x.c(), x.m(M, null)), v[0] & /*caticons*/
228
+ 4096 && !F(O.src, A = /*caticons*/
229
+ u[12][2]) && h(O, "src", A), v[0] & /*formattedLabels*/
230
230
  2048 && te !== (te = /*formattedLabels*/
231
231
  u[11][2] + "") && E(G, te), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
232
232
  1092 && pe !== (pe = /*realtimeupdate*/
@@ -237,9 +237,9 @@ function nt(a) {
237
237
  /*formattedJackpotValues*/
238
238
  u[10][2]
239
239
  )) + "") && E(_e, pe), /*currencylocale*/
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(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(X, 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,22 +250,22 @@ 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 = xe(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 && (z(e), z(oe), z(q)), V && V.d(), x && x.d(), D && D.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)
267
267
  i[n].c();
268
- e = Xe();
268
+ e = Qe();
269
269
  },
270
270
  m(n, p) {
271
271
  for (let o = 0; o < i.length; o += 1)
@@ -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 && z(e), Ke(i, n);
290
+ n && B(e), Ke(i, n);
291
291
  }
292
292
  };
293
293
  }
@@ -312,7 +312,7 @@ function Ee(a) {
312
312
  );
313
313
  },
314
314
  d(i) {
315
- i && z(e);
315
+ i && B(e);
316
316
  }
317
317
  };
318
318
  }
@@ -337,7 +337,7 @@ function Je(a) {
337
337
  );
338
338
  },
339
339
  d(i) {
340
- i && z(e);
340
+ i && B(e);
341
341
  }
342
342
  };
343
343
  }
@@ -362,7 +362,7 @@ function Ve(a) {
362
362
  );
363
363
  },
364
364
  d(i) {
365
- i && z(e);
365
+ i && B(e);
366
366
  }
367
367
  };
368
368
  }
@@ -387,7 +387,7 @@ function xe(a) {
387
387
  );
388
388
  },
389
389
  d(i) {
390
- i && z(e);
390
+ i && B(e);
391
391
  }
392
392
  };
393
393
  }
@@ -412,11 +412,11 @@ function De(a) {
412
412
  );
413
413
  },
414
414
  d(i) {
415
- i && z(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][
@@ -480,7 +480,7 @@ function Be(a) {
480
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 && z(e), f && f.d();
483
+ c && B(e), f && f.d();
484
484
  }
485
485
  };
486
486
  }
@@ -509,13 +509,13 @@ function st(a) {
509
509
  i: Se,
510
510
  o: Se,
511
511
  d(p) {
512
- p && z(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 Q = () => {
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, M = !1, ee = !1, re = "", se = [], ce = [], oe = [], H = [], Q = [], Y = "", O = "", A, de = !0, ue = !1, te, G = null, ae = [];
518
+ const X = () => {
519
519
  fetch(m).then((g) => g.json()).then((g) => {
520
520
  Object.keys(g).forEach((I) => {
521
521
  We(I, g[I]);
@@ -552,13 +552,13 @@ function ct(a, e, t) {
552
552
  t(34, ce = g.egtJackpotIds.map((I) => I));
553
553
  });
554
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, 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, {
555
+ t(7, M = 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 && M && !ee ? W : b), t(14, O = U), t(12, Q = [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,55 +574,55 @@ 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
582
  K === "true" && (Z(), t(6, ae = ["", "", "", ""]), G = new EventSource(`${T}/v1/encoder/jackpot/*/update`), G.addEventListener("message", ye));
583
583
  };
584
- Me(() => () => {
585
- }), He(() => {
584
+ Oe(() => () => {
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 && Qe(A, c), a.$$.dirty[0] & /*customStylingContainer*/
600
+ 536870928 && c && A && Xe(A, c), a.$$.dirty[0] & /*customStylingContainer*/
601
601
  16 | a.$$.dirty[1] & /*mbsource*/
602
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
605
  134217762 && y && L && !de && Z(), a.$$.dirty[0] & /*lang*/
606
606
  134217728 && L && me(), a.$$.dirty[0] & /*translationurl*/
607
- 1073741824 && m && Q(), a.$$.dirty[0] & /*realtimeupdate*/
607
+ 1073741824 && m && X(), 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,
618
- O,
618
+ M,
619
619
  ee,
620
620
  re,
621
621
  oe,
622
- q,
623
- X,
622
+ H,
623
+ Q,
624
624
  Y,
625
- M,
625
+ O,
626
626
  ue,
627
627
  i,
628
628
  fe,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoPageNd-ByOWge44.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("./CasinoPageNd-DkcMiqM_.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;