@everymatrix/casino-lobby 1.60.1 → 1.61.0

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 (128) hide show
  1. package/components/CasinoCalendar-CR3NqEmo.cjs +22 -0
  2. package/components/{CasinoCalendar-Km8tdNHN.js → CasinoCalendar-DoAbSivX.js} +690 -712
  3. package/components/{CasinoCalendar-6ncpIgng.js → CasinoCalendar-m598e8c0.js} +696 -718
  4. package/components/CasinoCalendarDailyDetails-B-xYqIE0.js +694 -0
  5. package/components/CasinoCalendarDailyDetails-DwcDf4x5.js +694 -0
  6. package/components/CasinoCalendarDailyDetails-ihh2Fdl-.cjs +1 -0
  7. package/components/CasinoCalendarDailyItem-CVcykkiO.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-DD1zORXJ.js +307 -0
  9. package/components/CasinoCalendarDailyItem-Jx2wAoY3.js +307 -0
  10. package/components/CasinoCategoriesSlider-BqUXbvm-.cjs +1 -0
  11. package/components/{CasinoCategoriesSlider-DRIsr69C.js → CasinoCategoriesSlider-DE0uzQfF.js} +68 -68
  12. package/components/{CasinoCategoriesSlider-DYab11Z3.js → CasinoCategoriesSlider-DW81y1el.js} +69 -69
  13. package/components/{CasinoCollectionsProviders-pk8jpLQt.js → CasinoCollectionsProviders-CkxoIQMQ.js} +205 -203
  14. package/components/{CasinoCollectionsProviders-B7d5LuGP.js → CasinoCollectionsProviders-FTsSIZe7.js} +161 -160
  15. package/components/CasinoCollectionsProviders-tBs9i_s1.cjs +1 -0
  16. package/components/{CasinoFavoritesSection-a8e9F8Ga.js → CasinoFavoritesSection-CKWkFYb4.js} +26 -26
  17. package/components/{CasinoFavoritesSection-51a03OgV.cjs → CasinoFavoritesSection-CtF6Vrcg.cjs} +1 -1
  18. package/components/{CasinoFavoritesSection-uCNlSq84.js → CasinoFavoritesSection-MnxoGd6P.js} +26 -26
  19. package/components/CasinoFilter-C_1U3dc9.cjs +1 -0
  20. package/components/CasinoFilter-Cs9ZMDdP.js +633 -0
  21. package/components/CasinoFilter-D80YfaXW.js +632 -0
  22. package/components/{CasinoGamePage-ssKF-ZD1.js → CasinoGamePage-B8-ifO-z.js} +898 -897
  23. package/components/CasinoGamePage-BhfZPeFB.cjs +18 -0
  24. package/components/{CasinoGamePage-Cp2CKRka.js → CasinoGamePage-CLMVY2d0.js} +972 -971
  25. package/components/CasinoGameThumbnail-C3GiNGVC.js +1084 -0
  26. package/components/CasinoGameThumbnail-D6vWUaB6.js +1068 -0
  27. package/components/CasinoGameThumbnail-p0ydxgWU.cjs +30 -0
  28. package/components/{CasinoGamesCategorySection-CYKXSIYS.cjs → CasinoGamesCategorySection-BfmPSDQ9.cjs} +1 -1
  29. package/components/{CasinoGamesCategorySection-BGemjnwH.js → CasinoGamesCategorySection-CIfBLzjC.js} +247 -247
  30. package/components/{CasinoGamesCategorySection-CHynVnZ8.js → CasinoGamesCategorySection-o-CZJ4iD.js} +247 -247
  31. package/components/CasinoJackpotBanner-B3ZF9rcH.js +698 -0
  32. package/components/CasinoJackpotBanner-C8HGJTlE.cjs +1 -0
  33. package/components/CasinoJackpotBanner-CdD_15mU.js +694 -0
  34. package/components/{CasinoLastPlayedSection-B64b2eJF.cjs → CasinoLastPlayedSection-BKNOgkbn.cjs} +1 -1
  35. package/components/{CasinoLastPlayedSection-CyKppEbZ.js → CasinoLastPlayedSection-BPD5poPp.js} +44 -44
  36. package/components/{CasinoLastPlayedSection-BGk4k--h.js → CasinoLastPlayedSection-Dxbzb-4o.js} +44 -44
  37. package/components/{CasinoLobby-PcRgXAeR.js → CasinoLobby-6kkVRa0v.js} +54 -54
  38. package/components/{CasinoLobby-DddN7Gev.cjs → CasinoLobby-BfVpgZO6.cjs} +1 -1
  39. package/components/{CasinoLobby-CN5AmC5K.js → CasinoLobby-Bntp7e5i.js} +56 -56
  40. package/components/{CasinoModal-d1VUXUWj.cjs → CasinoModal-CX70u0Ty.cjs} +1 -1
  41. package/components/{CasinoModal-B9Gmdwc0.js → CasinoModal-QtSV_GhN.js} +37 -37
  42. package/components/{CasinoModal-DLgyWFbs.js → CasinoModal-bTxbu9d4.js} +37 -37
  43. package/components/{CasinoMostPlayedSection-C-D6CJKY.js → CasinoMostPlayedSection-B9_yeLMk.js} +49 -49
  44. package/components/{CasinoMostPlayedSection-qIiZdQQG.js → CasinoMostPlayedSection-D-VpqDyh.js} +49 -49
  45. package/components/{CasinoMostPlayedSection-QIdWMIjm.cjs → CasinoMostPlayedSection-mgY7J84H.cjs} +1 -1
  46. package/components/{CasinoMyGames-DjXz5K51.js → CasinoMyGames-BEUz5puH.js} +46 -46
  47. package/components/{CasinoMyGames-Wpdq0oL6.js → CasinoMyGames-BQtk1EEq.js} +49 -49
  48. package/components/{CasinoMyGames-Dy1sj15h.cjs → CasinoMyGames-CoK6Wgxp.cjs} +1 -1
  49. package/components/{CasinoPage-DhSkte5y.cjs → CasinoPage-CO6a5Btu.cjs} +1 -1
  50. package/components/{CasinoPage-DMCyJTE2.js → CasinoPage-CiONVvV8.js} +85 -85
  51. package/components/{CasinoPage-D1fSPDEj.js → CasinoPage-DOSD686t.js} +93 -93
  52. package/components/{CasinoRandomGame-CfOiAKHl.js → CasinoRandomGame-C7o1QBcd.js} +195 -194
  53. package/components/CasinoRandomGame-CpRxEK7p.cjs +2 -0
  54. package/components/{CasinoRandomGame-CqripZYr.js → CasinoRandomGame-DQXmOLue.js} +157 -156
  55. package/components/{CasinoSearch-BgD0xvTa.js → CasinoSearch-CTxffz7Z.js} +65 -65
  56. package/components/{CasinoSearch-CRhnd9Yq.cjs → CasinoSearch-D8oEWBOH.cjs} +1 -1
  57. package/components/{CasinoSearch-DOguc7Dt.js → CasinoSearch-DTglx2jN.js} +65 -65
  58. package/components/CasinoSlider-BU163_5n.cjs +1 -0
  59. package/components/{CasinoSlider---x4M_hm.js → CasinoSlider-CGpDul3G.js} +221 -220
  60. package/components/{CasinoSlider-PeKujgAE.js → CasinoSlider-pPfml1-U.js} +166 -165
  61. package/components/{CasinoSort-xZsxfLYC.js → CasinoSort-BSaxbC32.js} +110 -111
  62. package/components/{CasinoSort-C78a6veQ.cjs → CasinoSort-BVq-FyEW.cjs} +1 -1
  63. package/components/{CasinoSort-BRC8Jmi_.js → CasinoSort-DGdM4QXv.js} +104 -103
  64. package/components/{CasinoWinners-DD8ZyQkV.js → CasinoWinners-BwwKfUuN.js} +176 -175
  65. package/components/CasinoWinners-CtwqFnag.cjs +1 -0
  66. package/components/{CasinoWinners-BEOhs5WG.js → CasinoWinners-i5RqXY4N.js} +185 -184
  67. package/components/{GeneralAnimationLoading-CURVDkRT.js → GeneralAnimationLoading-BszAoL3H.js} +18 -18
  68. package/components/{GeneralAnimationLoading-Bl6_sP-d.cjs → GeneralAnimationLoading-CDwioZhT.cjs} +1 -1
  69. package/components/{GeneralAnimationLoading-uswxvfCW.js → GeneralAnimationLoading-Xq-D41Fg.js} +18 -18
  70. package/es2015/casino-lobby.cjs +1 -1
  71. package/es2015/casino-lobby.js +1 -1
  72. package/esnext/casino-lobby.js +1 -1
  73. package/package.json +1 -1
  74. package/stencil/app-globals-0f993ce5-4b17CI_n.cjs +1 -0
  75. package/stencil/{app-globals-0f993ce5-Cgk0KVAu.js → app-globals-0f993ce5-DfNOCk8l.js} +3 -1
  76. package/stencil/{casino-play-random-game-Bk7toWLj.js → casino-play-random-game-6EpPs13y.js} +4 -9
  77. package/stencil/{casino-play-random-game-BW66Civ1.js → casino-play-random-game-BUvMKyaw.js} +7 -12
  78. package/stencil/{casino-play-random-game-CKM_xKne.cjs → casino-play-random-game-IjQER553.cjs} +2 -2
  79. package/stencil/index-ab3202d6-9zuW-dLG.js +575 -0
  80. package/stencil/index-ab3202d6-CGVciVSL.js +559 -0
  81. package/stencil/index-ab3202d6-c7Vf1NJ1.cjs +1 -0
  82. package/stencil/index-b2193545-CGYrx6SV.js +503 -0
  83. package/stencil/index-b2193545-DU7jU8hT.cjs +1 -0
  84. package/stencil/index-b2193545-k_uiu1dU.js +519 -0
  85. package/stencil/index-b7bbd57e-BMsMsYAr.js +550 -0
  86. package/stencil/index-b7bbd57e-CPxyz2y0.js +534 -0
  87. package/stencil/index-b7bbd57e-CiQAmzc6.cjs +1 -0
  88. package/stencil/ui-image-38c3c15f--IPbitii.js +39 -0
  89. package/stencil/ui-image-38c3c15f-CQXMTl7T.js +39 -0
  90. package/stencil/ui-image-38c3c15f-Dv8v2u8d.cjs +1 -0
  91. package/stencil/ui-image-CV8AJ9cY.js +29 -0
  92. package/stencil/ui-image-DG3xEaHN.js +11 -0
  93. package/stencil/ui-image-LuWVcxjH.cjs +1 -0
  94. package/stencil/{ui-skeleton-sAoxznwb.js → ui-skeleton-22AocHRT.js} +8 -8
  95. package/stencil/{ui-skeleton-ea659b95-CaDtZrvR.js → ui-skeleton-6d1c12ae-4HBL8qol.js} +2 -2
  96. package/stencil/{ui-skeleton-ea659b95-CvOjl779.cjs → ui-skeleton-6d1c12ae-C3POR2WV.cjs} +2 -2
  97. package/stencil/{ui-skeleton-ea659b95-DmKUoob8.js → ui-skeleton-6d1c12ae-f1sFu8zZ.js} +2 -2
  98. package/stencil/{ui-skeleton-BpUWeWAr.js → ui-skeleton-CMD3xF0X.js} +5 -5
  99. package/stencil/{ui-skeleton-D2GYc4Vd.cjs → ui-skeleton-Di9b-pPK.cjs} +1 -1
  100. package/components/CasinoCalendar-CkNAiTx8.cjs +0 -22
  101. package/components/CasinoCalendarDailyDetails-CAbwFBvZ.js +0 -693
  102. package/components/CasinoCalendarDailyDetails-CGaAU2gc.js +0 -693
  103. package/components/CasinoCalendarDailyDetails-CsEZhtVE.cjs +0 -1
  104. package/components/CasinoCalendarDailyItem-5aqnKIMr.js +0 -306
  105. package/components/CasinoCalendarDailyItem-DSlC0F3s.cjs +0 -1
  106. package/components/CasinoCalendarDailyItem-D_MTrKed.js +0 -306
  107. package/components/CasinoCategoriesSlider-_X531XfJ.cjs +0 -1
  108. package/components/CasinoCollectionsProviders-B6occ8TF.cjs +0 -1
  109. package/components/CasinoFilter-BTof425X.js +0 -632
  110. package/components/CasinoFilter-BWjq7W1e.js +0 -631
  111. package/components/CasinoFilter-C2Q93qQz.cjs +0 -1
  112. package/components/CasinoGamePage-D2huRBJX.cjs +0 -18
  113. package/components/CasinoGameThumbnail-CrrXNmw1.js +0 -1882
  114. package/components/CasinoGameThumbnail-Dq26TPSU.cjs +0 -38
  115. package/components/CasinoGameThumbnail-GBvTkmL8.js +0 -1866
  116. package/components/CasinoJackpotBanner-CuP8WP5Q.js +0 -697
  117. package/components/CasinoJackpotBanner-Dl2rX6vI.js +0 -693
  118. package/components/CasinoJackpotBanner-DredUN6K.cjs +0 -1
  119. package/components/CasinoRandomGame-CBcSHzZL.cjs +0 -2
  120. package/components/CasinoSlider-BsszznrS.cjs +0 -1
  121. package/components/CasinoWinners-Cp1yMlzb.cjs +0 -1
  122. package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
  123. package/stencil/index-ab3202d6-BW1TSmQg.js +0 -575
  124. package/stencil/index-ab3202d6-C6VFhXtX.cjs +0 -1
  125. package/stencil/index-ab3202d6-CkTejM5U.js +0 -559
  126. package/stencil/index-b2193545-BDVBrmNo.js +0 -503
  127. package/stencil/index-b2193545-CY979_sp.js +0 -519
  128. package/stencil/index-b2193545-DPplmtxO.cjs +0 -1
@@ -1,693 +0,0 @@
1
- import { a as Te, $ as xe, S as We, i as Ae, f as w, c as Ie, s as Ve, b as Je, e as o, d as P, G as be, j as q, o as Ee, a1 as De, l as ze, m as Ue, p as Ne, q as Re, r as Be, w as B, y as r, L as ye, H as V, z as n, A as Oe, x as W, E as A, v as we, K as Me, F as He } from "./CasinoCalendar-Km8tdNHN.js";
2
- function Ce(t, e) {
3
- Te(t, e);
4
- }
5
- function Pe(t) {
6
- xe.set(t);
7
- }
8
- const Le = {
9
- en: {
10
- loadingText: "Loading, please wait..."
11
- },
12
- "zh-hk": {
13
- loadingText: "加载请稍候 ..."
14
- },
15
- fr: {
16
- loadingText: "Chargement, veuillez patienter..."
17
- },
18
- ro: {
19
- loadingText: "Se incarca, va rugam asteptati..."
20
- },
21
- es: {
22
- loadingText: "Cargando"
23
- },
24
- pt: {
25
- loadingText: "Carregando, por favor espere..."
26
- },
27
- de: {
28
- loadingText: "Laden, bitte warten..."
29
- },
30
- hr: {
31
- loadingText: "Učitavanje"
32
- },
33
- "pt-br": {
34
- CarregandoText: "Carregando"
35
- },
36
- "es-mx": {
37
- CargandoText: "Cargando, por favor espere…"
38
- },
39
- tr: {
40
- loadingText: "Yükleniyor, lütfen bekleyin..."
41
- },
42
- "en-us": {
43
- loadingText: "Loading, please wait..."
44
- }
45
- };
46
- function qe(t) {
47
- Je(t, "svelte-5y37b4", ':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 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 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, #D0046C);border-color:var(--emw--color-primary, #D0046C) transparent var(--emw--color-primary, #D0046C) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
48
- }
49
- function je(t, e, a) {
50
- const l = t.slice();
51
- return l[53] = e[a], l[55] = a, l;
52
- }
53
- function Fe(t) {
54
- let e, a, l, s, d, c, C, _, h, L, b, x, I;
55
- function k(f, y) {
56
- return (
57
- /*tabletView*/
58
- f[6] ? Ye : Qe
59
- );
60
- }
61
- let p = k(t), m = p(t);
62
- return {
63
- c() {
64
- e = o("div"), a = o("div"), l = o("div"), s = o("div"), d = B(), c = o("div"), m.c(), C = B(), _ = o("div"), h = o("img"), r(s, "class", "vendorLogo"), ye(s, "background-image", "url(" + /*vendorIcon*/
65
- t[7] + ")"), r(c, "class", "displayContainer"), V(h.src, L = /*titleLogoImg*/
66
- t[12]) || r(h, "src", L), r(h, "alt", ""), r(_, "class", "title"), r(l, "class", b = "mainWrapper " + /*visualstructure*/
67
- t[0] + " " + /*mobileView*/
68
- (t[5] && !/*tabletView*/
69
- t[6] ? "mobile" : (
70
- /*tabletView*/
71
- t[6] ? "tablet" : ""
72
- ))), ye(l, "background", "url(" + /*backgroundImg*/
73
- t[11] + ")"), r(a, "class", "jackpotBanner"), r(e, "class", "");
74
- },
75
- m(f, y) {
76
- P(f, e, y), n(e, a), n(a, l), n(l, s), n(l, d), n(l, c), m.m(c, null), n(l, C), n(l, _), n(_, h), x || (I = Oe(
77
- a,
78
- "click",
79
- /*click_handler*/
80
- t[33]
81
- ), x = !0);
82
- },
83
- p(f, y) {
84
- y[0] & /*vendorIcon*/
85
- 128 && ye(s, "background-image", "url(" + /*vendorIcon*/
86
- f[7] + ")"), p === (p = k(f)) && m ? m.p(f, y) : (m.d(1), m = p(f), m && (m.c(), m.m(c, null))), y[0] & /*titleLogoImg*/
87
- 4096 && !V(h.src, L = /*titleLogoImg*/
88
- f[12]) && r(h, "src", L), y[0] & /*visualstructure, mobileView, tabletView*/
89
- 97 && b !== (b = "mainWrapper " + /*visualstructure*/
90
- f[0] + " " + /*mobileView*/
91
- (f[5] && !/*tabletView*/
92
- f[6] ? "mobile" : (
93
- /*tabletView*/
94
- f[6] ? "tablet" : ""
95
- ))) && r(l, "class", b), y[0] & /*backgroundImg*/
96
- 2048 && ye(l, "background", "url(" + /*backgroundImg*/
97
- f[11] + ")");
98
- },
99
- d(f) {
100
- f && q(e), m.d(), x = !1, I();
101
- }
102
- };
103
- }
104
- function Ge(t) {
105
- let e;
106
- return {
107
- c() {
108
- e = o("div"), r(e, "class", "LoadingSpinner");
109
- },
110
- m(a, l) {
111
- P(a, e, l);
112
- },
113
- p: be,
114
- d(a) {
115
- a && q(e);
116
- }
117
- };
118
- }
119
- function Ke(t) {
120
- let e;
121
- return {
122
- c() {
123
- e = o("p"), e.textContent = "500 Server error";
124
- },
125
- m(a, l) {
126
- P(a, e, l);
127
- },
128
- p: be,
129
- d(a) {
130
- a && q(e);
131
- }
132
- };
133
- }
134
- function Ye(t) {
135
- let e, a, l, s, d, c, C = (
136
- /*formattedLabels*/
137
- t[9][0] + ""
138
- ), _, h, L, b = (
139
- /*realtimeupdate*/
140
- (t[2] === "true" ? (
141
- /*updatedJackpotValues*/
142
- t[14][0]
143
- ) : (
144
- /*formattedJackpotValues*/
145
- t[8][0]
146
- )) + ""
147
- ), x, I, k, p, m, f, y, S, O, M, te = (
148
- /*formattedLabels*/
149
- t[9][1] + ""
150
- ), Q, D, X, F = (
151
- /*realtimeupdate*/
152
- (t[2] === "true" ? (
153
- /*updatedJackpotValues*/
154
- t[14][1]
155
- ) : (
156
- /*formattedJackpotValues*/
157
- t[8][1]
158
- )) + ""
159
- ), G, de, Z, ae, ie, z, T, U, J, K, E, H = (
160
- /*formattedLabels*/
161
- t[9][2] + ""
162
- ), ue, N, ne, le = (
163
- /*realtimeupdate*/
164
- (t[2] === "true" ? (
165
- /*updatedJackpotValues*/
166
- t[14][2]
167
- ) : (
168
- /*formattedJackpotValues*/
169
- t[8][2]
170
- )) + ""
171
- ), pe, fe, re, se, me, $, Y, R, ee, oe, ce = (
172
- /*formattedLabels*/
173
- t[9][3] + ""
174
- ), ge, i, g, j = (
175
- /*realtimeupdate*/
176
- (t[2] === "true" ? (
177
- /*updatedJackpotValues*/
178
- t[14][3]
179
- ) : (
180
- /*formattedJackpotValues*/
181
- t[8][3]
182
- )) + ""
183
- ), ke, _e, he, ve;
184
- return {
185
- c() {
186
- e = o("div"), a = o("div"), l = o("div"), s = o("img"), c = o("span"), _ = W(C), h = o("span"), L = o("span"), x = W(b), I = B(), k = o("span"), p = W(
187
- /*currency*/
188
- t[1]
189
- ), m = B(), f = o("div"), y = o("div"), S = o("img"), M = o("span"), Q = W(te), D = o("span"), X = o("span"), G = W(F), de = B(), Z = o("span"), ae = W(
190
- /*currency*/
191
- t[1]
192
- ), ie = B(), z = o("div"), T = o("div"), U = o("div"), J = o("img"), E = o("span"), ue = W(H), N = o("span"), ne = o("span"), pe = W(le), fe = B(), re = o("span"), se = W(
193
- /*currency*/
194
- t[1]
195
- ), me = B(), $ = o("div"), Y = o("div"), R = o("img"), oe = o("span"), ge = W(ce), i = o("span"), g = o("span"), ke = W(j), _e = B(), he = o("span"), ve = W(
196
- /*currency*/
197
- t[1]
198
- ), r(s, "class", "displayCardIcon"), V(s.src, d = /*caticons*/
199
- t[10][0]) || r(s, "src", d), r(s, "alt", ""), r(c, "class", "cardLabel"), r(l, "class", "iconWrapper"), r(L, "class", "jackpotValue"), r(k, "class", "jackpot-currency"), r(h, "class", "cardTextWrapper"), r(a, "class", "displayCard"), r(S, "class", "displayCardIcon"), V(S.src, O = /*caticons*/
200
- t[10][1]) || r(S, "src", O), r(S, "alt", ""), r(M, "class", "cardLabel"), r(y, "class", "iconWrapper"), r(X, "class", "jackpotValue"), r(Z, "class", "jackpot-currency"), r(D, "class", "cardTextWrapper"), r(f, "class", "displayCard"), r(e, "class", "pairWrapper"), r(J, "class", "displayCardIcon"), V(J.src, K = /*caticons*/
201
- t[10][2]) || r(J, "src", K), r(J, "alt", ""), r(E, "class", "cardLabel"), r(U, "class", "iconWrapper"), r(ne, "class", "jackpotValue"), r(re, "class", "jackpot-currency"), r(N, "class", "cardTextWrapper"), r(T, "class", "displayCard"), r(R, "class", "displayCardIcon"), V(R.src, ee = /*caticons*/
202
- t[10][3]) || r(R, "src", ee), r(R, "alt", ""), r(oe, "class", "cardLabel"), r(Y, "class", "iconWrapper"), r(g, "class", "jackpotValue"), r(he, "class", "jackpot-currency"), r(i, "class", "cardTextWrapper"), r($, "class", "displayCard"), r(z, "class", "pairWrapper");
203
- },
204
- m(u, v) {
205
- P(u, e, v), n(e, a), n(a, l), n(l, s), n(l, c), n(c, _), n(a, h), n(h, L), n(L, x), n(h, I), n(h, k), n(k, p), n(e, m), n(e, f), n(f, y), n(y, S), n(y, M), n(M, Q), n(f, D), n(D, X), n(X, G), n(D, de), n(D, Z), n(Z, ae), P(u, ie, v), P(u, z, v), n(z, T), n(T, U), n(U, J), n(U, E), n(E, ue), n(T, N), n(N, ne), n(ne, pe), n(N, fe), n(N, re), n(re, se), n(z, me), n(z, $), n($, Y), n(Y, R), n(Y, oe), n(oe, ge), n($, i), n(i, g), n(g, ke), n(i, _e), n(i, he), n(he, ve);
206
- },
207
- p(u, v) {
208
- v[0] & /*caticons*/
209
- 1024 && !V(s.src, d = /*caticons*/
210
- u[10][0]) && r(s, "src", d), v[0] & /*formattedLabels*/
211
- 512 && C !== (C = /*formattedLabels*/
212
- u[9][0] + "") && A(_, C), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
213
- 16644 && b !== (b = /*realtimeupdate*/
214
- (u[2] === "true" ? (
215
- /*updatedJackpotValues*/
216
- u[14][0]
217
- ) : (
218
- /*formattedJackpotValues*/
219
- u[8][0]
220
- )) + "") && A(x, b), v[0] & /*currency*/
221
- 2 && A(
222
- p,
223
- /*currency*/
224
- u[1]
225
- ), v[0] & /*caticons*/
226
- 1024 && !V(S.src, O = /*caticons*/
227
- u[10][1]) && r(S, "src", O), v[0] & /*formattedLabels*/
228
- 512 && te !== (te = /*formattedLabels*/
229
- u[9][1] + "") && A(Q, te), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
230
- 16644 && F !== (F = /*realtimeupdate*/
231
- (u[2] === "true" ? (
232
- /*updatedJackpotValues*/
233
- u[14][1]
234
- ) : (
235
- /*formattedJackpotValues*/
236
- u[8][1]
237
- )) + "") && A(G, F), v[0] & /*currency*/
238
- 2 && A(
239
- ae,
240
- /*currency*/
241
- u[1]
242
- ), v[0] & /*caticons*/
243
- 1024 && !V(J.src, K = /*caticons*/
244
- u[10][2]) && r(J, "src", K), v[0] & /*formattedLabels*/
245
- 512 && H !== (H = /*formattedLabels*/
246
- u[9][2] + "") && A(ue, H), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
247
- 16644 && le !== (le = /*realtimeupdate*/
248
- (u[2] === "true" ? (
249
- /*updatedJackpotValues*/
250
- u[14][2]
251
- ) : (
252
- /*formattedJackpotValues*/
253
- u[8][2]
254
- )) + "") && A(pe, le), v[0] & /*currency*/
255
- 2 && A(
256
- se,
257
- /*currency*/
258
- u[1]
259
- ), v[0] & /*caticons*/
260
- 1024 && !V(R.src, ee = /*caticons*/
261
- u[10][3]) && r(R, "src", ee), v[0] & /*formattedLabels*/
262
- 512 && ce !== (ce = /*formattedLabels*/
263
- u[9][3] + "") && A(ge, ce), v[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
264
- 16644 && j !== (j = /*realtimeupdate*/
265
- (u[2] === "true" ? (
266
- /*updatedJackpotValues*/
267
- u[14][3]
268
- ) : (
269
- /*formattedJackpotValues*/
270
- u[8][3]
271
- )) + "") && A(ke, j), v[0] & /*currency*/
272
- 2 && A(
273
- ve,
274
- /*currency*/
275
- u[1]
276
- );
277
- },
278
- d(u) {
279
- u && (q(e), q(ie), q(z));
280
- }
281
- };
282
- }
283
- function Qe(t) {
284
- let e, a = we(Array(4)), l = [];
285
- for (let s = 0; s < a.length; s += 1)
286
- l[s] = Se(je(t, a, s));
287
- return {
288
- c() {
289
- for (let s = 0; s < l.length; s += 1)
290
- l[s].c();
291
- e = Me();
292
- },
293
- m(s, d) {
294
- for (let c = 0; c < l.length; c += 1)
295
- l[c] && l[c].m(s, d);
296
- P(s, e, d);
297
- },
298
- p(s, d) {
299
- if (d[0] & /*currency, realtimeupdate, updatedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
300
- 18182) {
301
- a = we(Array(4));
302
- let c;
303
- for (c = 0; c < a.length; c += 1) {
304
- const C = je(s, a, c);
305
- l[c] ? l[c].p(C, d) : (l[c] = Se(C), l[c].c(), l[c].m(e.parentNode, e));
306
- }
307
- for (; c < l.length; c += 1)
308
- l[c].d(1);
309
- l.length = a.length;
310
- }
311
- },
312
- d(s) {
313
- s && q(e), He(l, s);
314
- }
315
- };
316
- }
317
- function Se(t) {
318
- let e, a, l, s, d, c = (
319
- /*formattedLabels*/
320
- t[9][
321
- /*i*/
322
- t[55]
323
- ] + ""
324
- ), C, _, h, L = (
325
- /*realtimeupdate*/
326
- (t[2] === "true" ? (
327
- /*updatedJackpotValues*/
328
- t[14][
329
- /*i*/
330
- t[55]
331
- ]
332
- ) : (
333
- /*formattedJackpotValues*/
334
- t[8][
335
- /*i*/
336
- t[55]
337
- ] ?? ""
338
- )) + ""
339
- ), b, x, I, k;
340
- return {
341
- c() {
342
- e = o("div"), a = o("div"), l = o("img"), d = o("span"), C = W(c), _ = o("span"), h = o("span"), b = W(L), x = B(), I = o("span"), k = W(
343
- /*currency*/
344
- t[1]
345
- ), r(l, "class", "displayCardIcon"), V(l.src, s = /*caticons*/
346
- t[10][
347
- /*i*/
348
- t[55]
349
- ]) || r(l, "src", s), r(l, "alt", ""), r(d, "class", "cardLabel"), r(a, "class", "iconWrapper"), r(h, "class", "jackpotValue"), r(I, "class", "jackpot-currency"), r(_, "class", "cardTextWrapper"), r(e, "class", "displayCard");
350
- },
351
- m(p, m) {
352
- P(p, e, m), n(e, a), n(a, l), n(a, d), n(d, C), n(e, _), n(_, h), n(h, b), n(_, x), n(_, I), n(I, k);
353
- },
354
- p(p, m) {
355
- m[0] & /*caticons*/
356
- 1024 && !V(l.src, s = /*caticons*/
357
- p[10][
358
- /*i*/
359
- p[55]
360
- ]) && r(l, "src", s), m[0] & /*formattedLabels*/
361
- 512 && c !== (c = /*formattedLabels*/
362
- p[9][
363
- /*i*/
364
- p[55]
365
- ] + "") && A(C, c), m[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
366
- 16644 && L !== (L = /*realtimeupdate*/
367
- (p[2] === "true" ? (
368
- /*updatedJackpotValues*/
369
- p[14][
370
- /*i*/
371
- p[55]
372
- ]
373
- ) : (
374
- /*formattedJackpotValues*/
375
- p[8][
376
- /*i*/
377
- p[55]
378
- ] ?? ""
379
- )) + "") && A(b, L), m[0] & /*currency*/
380
- 2 && A(
381
- k,
382
- /*currency*/
383
- p[1]
384
- );
385
- },
386
- d(p) {
387
- p && q(e);
388
- }
389
- };
390
- }
391
- function Xe(t) {
392
- let e;
393
- function a(d, c) {
394
- return (
395
- /*hasErrors*/
396
- d[13] ? Ke : (
397
- /*isLoading*/
398
- d[4] ? Ge : Fe
399
- )
400
- );
401
- }
402
- let l = a(t), s = l(t);
403
- return {
404
- c() {
405
- e = o("div"), s.c();
406
- },
407
- m(d, c) {
408
- P(d, e, c), s.m(e, null), t[34](e);
409
- },
410
- p(d, c) {
411
- l === (l = a(d)) && s ? s.p(d, c) : (s.d(1), s = l(d), s && (s.c(), s.m(e, null)));
412
- },
413
- i: be,
414
- o: be,
415
- d(d) {
416
- d && q(e), s.d(), t[34](null);
417
- }
418
- };
419
- }
420
- function Ze(t, e, a) {
421
- let { visualstructure: l = "" } = e, { title: s = "" } = e, { caticon0: d = "" } = e, { caticon1: c = "" } = e, { caticon2: C = "" } = e, { caticon3: _ = "" } = e, { iconlabels: h = "" } = e, { backgroundsrc: L = "" } = e, { currency: b = "" } = e, { backgroundsrcmobile: x = "" } = e, { titlelogopath: I = "" } = e, { lang: k = "en" } = e, { clientstyling: p = "" } = e, { clientstylingurl: m = "" } = e, { translationurl: f = "" } = e, { endpoint: y = "" } = e, { gameid: S = "" } = e, { mbsource: O } = e, { realtimeupdate: M = "false" } = e, te = window.navigator.userAgent, Q = !1, D = !1, X = "", F = [], G = [], de = [], Z = [], ae = [], ie = "", z = "", T, U = !0, J = !1, K, E = null, H = [];
422
- const ue = () => {
423
- fetch(f).then((g) => g.json()).then((g) => {
424
- Object.keys(g).forEach((j) => {
425
- Ce(j, g[j]);
426
- });
427
- }).catch((g) => {
428
- console.log(g);
429
- });
430
- };
431
- Object.keys(Le).forEach((i) => {
432
- Ce(i, Le[i]);
433
- });
434
- const N = ["typeSpread", "typeLeft"], ne = (i) => {
435
- const g = i?.items[0]?.additionalData;
436
- g && Object.values(g).forEach((j) => F.push(+j));
437
- }, le = (i) => {
438
- a(7, X = i?.items[0]?.vendorLogo || "");
439
- }, pe = () => {
440
- if (y && k && b) {
441
- let i = new URL(`${y}/v1/casino/jackpots`);
442
- i.searchParams.append("filter", `id=${S}`), i.searchParams.append("language", k), i.searchParams.append("additionalDataCurrency", b), fetch(i.href).then((g) => g.json().then((j) => {
443
- a(4, U = !1), K = j, G.includes(S) && (ne(K), le(K));
444
- }).catch((j) => {
445
- a(13, J = !0), a(4, U = !1), console.error(j);
446
- }).finally(() => {
447
- fe();
448
- }));
449
- }
450
- }, fe = () => {
451
- const i = T.getRootNode().host;
452
- i.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: i } }));
453
- }, re = () => {
454
- let i = new URL(`${y}/v1/casino/jackpots/config`);
455
- fetch(i.href).then((g) => g.json()).then((g) => {
456
- a(32, G = g.egtJackpotIds.map((j) => j));
457
- });
458
- }, se = () => {
459
- a(5, Q = Ne(te) && window.innerHeight / window.innerWidth > 1), a(6, D = $()), F.length !== 0 && a(8, de = me(F)), a(9, Z = h ? h.split(",").map((i) => i.trim().toUpperCase()) : new Array(4).fill("")), N.includes(l.trim()) ? a(0, l = l.trim()) : (console.warn(`Invalid Attribute Value: "${l}" is not a valid value for the "visualstructure" attribute. Defaulting to "${N[0]}"`), a(0, l = N[0])), a(11, ie = x && Q && !D ? x : L), a(12, z = I), a(10, ae = [d, c, C, _]);
460
- }, me = (i) => i.map((g) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(g)), $ = () => {
461
- const i = window.innerHeight / window.innerWidth;
462
- return 0.75 < i && i < 1.6;
463
- }, Y = () => {
464
- window.postMessage({ type: "JackpotBannerClicked", gameid: S }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
465
- context: "JackpotBanner",
466
- gameId: `${S}`
467
- });
468
- }, R = () => {
469
- Pe(k);
470
- }, ee = (i) => {
471
- const g = JSON.parse(i.data);
472
- if (g.success && g.data.messageType === "UpdateEgtJackpotBalance" && g.data.jackpotAlias.split("_")[0] === S) {
473
- const j = Number(g.data.jackpotAlias.split("_")[1]) - 1;
474
- a(14, H[j] = g.data.data[`${b}`].balance.toString(), H);
475
- }
476
- }, oe = () => {
477
- M === "true" && (se(), a(14, H = ["", "", "", ""]), E = new EventSource(`${y}/v1/encoder/jackpot/*/update`), E.addEventListener("message", ee));
478
- };
479
- Ee(() => () => {
480
- }), De(() => {
481
- E && (E.removeEventListener("message", ee), E.close(), E = null);
482
- });
483
- const ce = () => Y();
484
- function ge(i) {
485
- Re[i ? "unshift" : "push"](() => {
486
- T = i, a(3, T);
487
- });
488
- }
489
- return t.$$set = (i) => {
490
- "visualstructure" in i && a(0, l = i.visualstructure), "title" in i && a(16, s = i.title), "caticon0" in i && a(17, d = i.caticon0), "caticon1" in i && a(18, c = i.caticon1), "caticon2" in i && a(19, C = i.caticon2), "caticon3" in i && a(20, _ = i.caticon3), "iconlabels" in i && a(21, h = i.iconlabels), "backgroundsrc" in i && a(22, L = i.backgroundsrc), "currency" in i && a(1, b = i.currency), "backgroundsrcmobile" in i && a(23, x = i.backgroundsrcmobile), "titlelogopath" in i && a(24, I = i.titlelogopath), "lang" in i && a(25, k = i.lang), "clientstyling" in i && a(26, p = i.clientstyling), "clientstylingurl" in i && a(27, m = i.clientstylingurl), "translationurl" in i && a(28, f = i.translationurl), "endpoint" in i && a(29, y = i.endpoint), "gameid" in i && a(30, S = i.gameid), "mbsource" in i && a(31, O = i.mbsource), "realtimeupdate" in i && a(2, M = i.realtimeupdate);
491
- }, t.$$.update = () => {
492
- t.$$.dirty[0] & /*endpoint*/
493
- 536870912 && y && re(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
494
- 67108872 && p && T && Be(T, p), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
495
- 134217736 && m && T && ze(T, m), t.$$.dirty[0] & /*customStylingContainer*/
496
- 8 | t.$$.dirty[1] & /*mbsource*/
497
- 1 && O && T && Ue(T, `${O}.Style`), t.$$.dirty[0] & /*endpoint, lang, currency*/
498
- 570425346 | t.$$.dirty[1] & /*validGameIds*/
499
- 2 && y && k && b && G.length > 0 && pe(), t.$$.dirty[0] & /*currency, lang, isLoading*/
500
- 33554450 && b && k && !U && se(), t.$$.dirty[0] & /*lang*/
501
- 33554432 && k && R(), t.$$.dirty[0] & /*translationurl*/
502
- 268435456 && f && ue(), t.$$.dirty[0] & /*realtimeupdate*/
503
- 4 && M && oe();
504
- }, [
505
- l,
506
- b,
507
- M,
508
- T,
509
- U,
510
- Q,
511
- D,
512
- X,
513
- de,
514
- Z,
515
- ae,
516
- ie,
517
- z,
518
- J,
519
- H,
520
- Y,
521
- s,
522
- d,
523
- c,
524
- C,
525
- _,
526
- h,
527
- L,
528
- x,
529
- I,
530
- k,
531
- p,
532
- m,
533
- f,
534
- y,
535
- S,
536
- O,
537
- G,
538
- ce,
539
- ge
540
- ];
541
- }
542
- class $e extends We {
543
- constructor(e) {
544
- super(), Ae(
545
- this,
546
- e,
547
- Ze,
548
- Xe,
549
- Ve,
550
- {
551
- visualstructure: 0,
552
- title: 16,
553
- caticon0: 17,
554
- caticon1: 18,
555
- caticon2: 19,
556
- caticon3: 20,
557
- iconlabels: 21,
558
- backgroundsrc: 22,
559
- currency: 1,
560
- backgroundsrcmobile: 23,
561
- titlelogopath: 24,
562
- lang: 25,
563
- clientstyling: 26,
564
- clientstylingurl: 27,
565
- translationurl: 28,
566
- endpoint: 29,
567
- gameid: 30,
568
- mbsource: 31,
569
- realtimeupdate: 2
570
- },
571
- qe,
572
- [-1, -1]
573
- );
574
- }
575
- get visualstructure() {
576
- return this.$$.ctx[0];
577
- }
578
- set visualstructure(e) {
579
- this.$$set({ visualstructure: e }), w();
580
- }
581
- get title() {
582
- return this.$$.ctx[16];
583
- }
584
- set title(e) {
585
- this.$$set({ title: e }), w();
586
- }
587
- get caticon0() {
588
- return this.$$.ctx[17];
589
- }
590
- set caticon0(e) {
591
- this.$$set({ caticon0: e }), w();
592
- }
593
- get caticon1() {
594
- return this.$$.ctx[18];
595
- }
596
- set caticon1(e) {
597
- this.$$set({ caticon1: e }), w();
598
- }
599
- get caticon2() {
600
- return this.$$.ctx[19];
601
- }
602
- set caticon2(e) {
603
- this.$$set({ caticon2: e }), w();
604
- }
605
- get caticon3() {
606
- return this.$$.ctx[20];
607
- }
608
- set caticon3(e) {
609
- this.$$set({ caticon3: e }), w();
610
- }
611
- get iconlabels() {
612
- return this.$$.ctx[21];
613
- }
614
- set iconlabels(e) {
615
- this.$$set({ iconlabels: e }), w();
616
- }
617
- get backgroundsrc() {
618
- return this.$$.ctx[22];
619
- }
620
- set backgroundsrc(e) {
621
- this.$$set({ backgroundsrc: e }), w();
622
- }
623
- get currency() {
624
- return this.$$.ctx[1];
625
- }
626
- set currency(e) {
627
- this.$$set({ currency: e }), w();
628
- }
629
- get backgroundsrcmobile() {
630
- return this.$$.ctx[23];
631
- }
632
- set backgroundsrcmobile(e) {
633
- this.$$set({ backgroundsrcmobile: e }), w();
634
- }
635
- get titlelogopath() {
636
- return this.$$.ctx[24];
637
- }
638
- set titlelogopath(e) {
639
- this.$$set({ titlelogopath: e }), w();
640
- }
641
- get lang() {
642
- return this.$$.ctx[25];
643
- }
644
- set lang(e) {
645
- this.$$set({ lang: e }), w();
646
- }
647
- get clientstyling() {
648
- return this.$$.ctx[26];
649
- }
650
- set clientstyling(e) {
651
- this.$$set({ clientstyling: e }), w();
652
- }
653
- get clientstylingurl() {
654
- return this.$$.ctx[27];
655
- }
656
- set clientstylingurl(e) {
657
- this.$$set({ clientstylingurl: e }), w();
658
- }
659
- get translationurl() {
660
- return this.$$.ctx[28];
661
- }
662
- set translationurl(e) {
663
- this.$$set({ translationurl: e }), w();
664
- }
665
- get endpoint() {
666
- return this.$$.ctx[29];
667
- }
668
- set endpoint(e) {
669
- this.$$set({ endpoint: e }), w();
670
- }
671
- get gameid() {
672
- return this.$$.ctx[30];
673
- }
674
- set gameid(e) {
675
- this.$$set({ gameid: e }), w();
676
- }
677
- get mbsource() {
678
- return this.$$.ctx[31];
679
- }
680
- set mbsource(e) {
681
- this.$$set({ mbsource: e }), w();
682
- }
683
- get realtimeupdate() {
684
- return this.$$.ctx[2];
685
- }
686
- set realtimeupdate(e) {
687
- this.$$set({ realtimeupdate: e }), w();
688
- }
689
- }
690
- Ie($e, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {} }, [], [], !0);
691
- export {
692
- $e as default
693
- };