@everymatrix/casino-lobby 1.41.0 → 1.42.69

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 (165) hide show
  1. package/components/CasinoCalendar-BQx5-rlk.cjs +9 -0
  2. package/components/CasinoCalendar-CGBzMgQt.cjs +9 -0
  3. package/components/CasinoCalendar-C_GWg7fU.js +5215 -0
  4. package/components/CasinoCalendar-D8A7V_p_.js +5176 -0
  5. package/components/CasinoCalendar-T2eu_ijJ.js +5213 -0
  6. package/components/CasinoCalendar-wabXB62Y.js +5174 -0
  7. package/components/CasinoCalendarDailyDetails-BsuvGAH5.js +701 -0
  8. package/components/CasinoCalendarDailyDetails-CXJQEBiD.js +701 -0
  9. package/components/CasinoCalendarDailyDetails-DD9ivry_.js +701 -0
  10. package/components/CasinoCalendarDailyDetails-DuTGv4cR.cjs +1 -0
  11. package/components/CasinoCalendarDailyDetails-DxoETvny.cjs +1 -0
  12. package/components/CasinoCalendarDailyDetails-HgqSzjsm.js +701 -0
  13. package/components/CasinoCalendarDailyItem-9ZdOdWc1.js +315 -0
  14. package/components/CasinoCalendarDailyItem-BQH_cu-K.cjs +1 -0
  15. package/components/CasinoCalendarDailyItem-Cij4qSkW.js +315 -0
  16. package/components/CasinoCalendarDailyItem-DieqmO8j.js +315 -0
  17. package/components/CasinoCalendarDailyItem-DynzkhlT.js +315 -0
  18. package/components/CasinoCalendarDailyItem-W6jJ8Vef.cjs +1 -0
  19. package/components/CasinoCategoriesSlider-CCBzNNkz.cjs +1 -0
  20. package/components/CasinoCategoriesSlider-Dg6UQ05U.js +594 -0
  21. package/components/CasinoCategoriesSlider-DqNp_BOt.js +594 -0
  22. package/components/CasinoCategoriesSlider-GrF0HXC7.cjs +1 -0
  23. package/components/CasinoCategoriesSlider-_w_55gG7.js +594 -0
  24. package/components/CasinoCategoriesSlider-pHVM7RZL.js +594 -0
  25. package/components/CasinoCollectionsProviders-BIcovGJ8.js +646 -0
  26. package/components/CasinoCollectionsProviders-CH2GAKzC.cjs +1 -0
  27. package/components/CasinoCollectionsProviders-D45_hU-I.js +646 -0
  28. package/components/CasinoCollectionsProviders-DMj_7QBU.cjs +1 -0
  29. package/components/CasinoCollectionsProviders-DfgvvOqL.js +651 -0
  30. package/components/CasinoCollectionsProviders-N_n3oOYS.js +651 -0
  31. package/components/CasinoFavoritesSection-B0uLh581.js +426 -0
  32. package/components/CasinoFavoritesSection-BD3Pecym.cjs +1 -0
  33. package/components/CasinoFavoritesSection-BMVarhje.cjs +1 -0
  34. package/components/CasinoFavoritesSection-B_tSVGIY.js +426 -0
  35. package/components/CasinoFavoritesSection-Da-NSsar.js +426 -0
  36. package/components/CasinoFavoritesSection-Dm0HviHl.js +426 -0
  37. package/components/CasinoFilter-B9sKxzVS.js +620 -0
  38. package/components/CasinoFilter-CMVqOmbG.js +619 -0
  39. package/components/CasinoFilter-Cf00T9dk.js +620 -0
  40. package/components/CasinoFilter-D3HxH1PB.cjs +1 -0
  41. package/components/CasinoFilter-DD3HMkSy.js +619 -0
  42. package/components/CasinoFilter-c8_bvC4c.cjs +1 -0
  43. package/components/CasinoGamePage-BundiLLb.js +4266 -0
  44. package/components/CasinoGamePage-C10RyyZp.cjs +18 -0
  45. package/components/CasinoGamePage-CfbBY5CU.cjs +18 -0
  46. package/components/CasinoGamePage-DC-LoQTc.js +4266 -0
  47. package/components/CasinoGamePage-OZnVr_Bg.js +4287 -0
  48. package/components/CasinoGamePage-yVND0I7w.js +4287 -0
  49. package/components/CasinoGameThumbnail-B1NNWJ0K.js +1820 -0
  50. package/components/CasinoGameThumbnail-Bc66QenW.cjs +38 -0
  51. package/components/CasinoGameThumbnail-CIGOC4uM.js +1820 -0
  52. package/components/CasinoGameThumbnail-DA3jcFAi.js +1836 -0
  53. package/components/CasinoGameThumbnail-DT9ORm8q.js +1836 -0
  54. package/components/CasinoGameThumbnail-DcqwhTjb.cjs +38 -0
  55. package/components/CasinoGamesCategorySection-BNYOO745.cjs +1 -0
  56. package/components/CasinoGamesCategorySection-C78ehK4U.js +2991 -0
  57. package/components/CasinoGamesCategorySection-Cagm02Ih.js +3020 -0
  58. package/components/CasinoGamesCategorySection-DBr4EIfz.js +2991 -0
  59. package/components/CasinoGamesCategorySection-Kzwpz7w5.js +3020 -0
  60. package/components/CasinoGamesCategorySection-_vABwskz.cjs +1 -0
  61. package/components/CasinoJackpotBanner-5cCB-mh2.js +592 -0
  62. package/components/CasinoJackpotBanner-Agfg0mZ0.js +592 -0
  63. package/components/CasinoJackpotBanner-BAhiOMZp.cjs +1 -0
  64. package/components/CasinoJackpotBanner-D7ZMZfDV.cjs +1 -0
  65. package/components/CasinoJackpotBanner-DR-ZzHCR.js +596 -0
  66. package/components/CasinoJackpotBanner-QB6MSrF4.js +596 -0
  67. package/components/CasinoLastPlayedSection-BjhQKUSK.js +556 -0
  68. package/components/CasinoLastPlayedSection-BxzCwcL-.js +556 -0
  69. package/components/CasinoLastPlayedSection-D4vCeonE.js +556 -0
  70. package/components/CasinoLastPlayedSection-Dwe4Td9f.cjs +1 -0
  71. package/components/CasinoLastPlayedSection-XK5dzsj-.js +556 -0
  72. package/components/CasinoLastPlayedSection-v0aQnExT.cjs +1 -0
  73. package/components/CasinoLobby-AFKKESbR.cjs +1 -0
  74. package/components/CasinoLobby-CHvuexFs.js +2315 -0
  75. package/components/CasinoLobby-ClhYpfUU.js +2315 -0
  76. package/components/CasinoLobby-DALY2Dhs.cjs +1 -0
  77. package/components/CasinoLobby-hrKaH7qN.js +2315 -0
  78. package/components/CasinoLobby-ouSesgdC.js +2315 -0
  79. package/components/CasinoModal-BIVMlWQX.js +359 -0
  80. package/components/CasinoModal-BYKM2vRV.cjs +1 -0
  81. package/components/CasinoModal-C3wpERtX.js +359 -0
  82. package/components/CasinoModal-Cabai4o3.js +359 -0
  83. package/components/CasinoModal-DRyqJh1Q.cjs +1 -0
  84. package/components/CasinoModal-Dw_y4THL.js +359 -0
  85. package/components/CasinoMostPlayedSection-C3K0hu8_.js +583 -0
  86. package/components/CasinoMostPlayedSection-CJYMI9VB.js +583 -0
  87. package/components/CasinoMostPlayedSection-DJQuOa6_.js +583 -0
  88. package/components/CasinoMostPlayedSection-DmUpsWqs.cjs +1 -0
  89. package/components/CasinoMostPlayedSection-OUtCsU0t.cjs +1 -0
  90. package/components/CasinoMostPlayedSection-Y5er9Bjh.js +583 -0
  91. package/components/CasinoMyGames-BIxyEUtK.js +1306 -0
  92. package/components/CasinoMyGames-D5rJT74m.cjs +1 -0
  93. package/components/CasinoMyGames-DI1lwYc8.js +1305 -0
  94. package/components/CasinoMyGames-DTHVNaKn.cjs +1 -0
  95. package/components/CasinoMyGames-DwUV6CBn.js +1305 -0
  96. package/components/CasinoMyGames-ctBoKyAg.js +1306 -0
  97. package/components/CasinoPage-BGO7Qjz8.js +3535 -0
  98. package/components/CasinoPage-Bw9pVfhj.cjs +1 -0
  99. package/components/CasinoPage-Ccz2mt9L.js +3535 -0
  100. package/components/CasinoPage-D4SKFGBe.cjs +1 -0
  101. package/components/CasinoPage-DLYXRAgH.js +3538 -0
  102. package/components/CasinoPage-OtILzfbb.js +3538 -0
  103. package/components/CasinoRandomGame-CtZOIJcN.js +658 -0
  104. package/components/CasinoRandomGame-Cveyjhn1.js +642 -0
  105. package/components/CasinoRandomGame-DALiyns2.cjs +2 -0
  106. package/components/CasinoRandomGame-DVoXDVJK.cjs +2 -0
  107. package/components/CasinoRandomGame-DbeS8lnM.js +642 -0
  108. package/components/CasinoRandomGame-HLWP49DK.js +658 -0
  109. package/components/CasinoSearch-B8OpEZBN.cjs +1 -0
  110. package/components/CasinoSearch-BMZWS8yv.js +1058 -0
  111. package/components/CasinoSearch-BQe9Q-5N.js +1060 -0
  112. package/components/CasinoSearch-B_Yrv4Uo.cjs +1 -0
  113. package/components/CasinoSearch-CbqN_jyR.js +1058 -0
  114. package/components/CasinoSearch-D9U7Yh_K.js +1060 -0
  115. package/components/CasinoSlider-BOVT94iB.js +794 -0
  116. package/components/CasinoSlider-BSHGeAYd.js +788 -0
  117. package/components/CasinoSlider-BvS3IBvk.cjs +1 -0
  118. package/components/CasinoSlider-CF-wUwQR.cjs +1 -0
  119. package/components/CasinoSlider-CrHKe4Xk.js +803 -0
  120. package/components/CasinoSlider-Cxh3sOkP.js +797 -0
  121. package/components/CasinoSort-BOWrHLh_.js +420 -0
  122. package/components/CasinoSort-BwnNTnFA.js +420 -0
  123. package/components/CasinoSort-DTw1r10v.js +419 -0
  124. package/components/CasinoSort-DWtBvm9D.cjs +1 -0
  125. package/components/CasinoSort-LblMuLP4.js +419 -0
  126. package/components/CasinoSort-hnzXlXWX.cjs +1 -0
  127. package/components/CasinoWinners-C9izX5Hz.js +955 -0
  128. package/components/CasinoWinners-CO3x7y86.js +955 -0
  129. package/components/CasinoWinners-CZWuAxEs.js +953 -0
  130. package/components/CasinoWinners-CjaKY4pX.cjs +1 -0
  131. package/components/CasinoWinners-DOucg2Bq.js +953 -0
  132. package/components/CasinoWinners-xdJkyzy9.cjs +1 -0
  133. package/components/GeneralAnimationLoading-C4-n6eKC.cjs +1 -0
  134. package/components/GeneralAnimationLoading-CGGvPAzb.js +75 -0
  135. package/components/GeneralAnimationLoading-Ch_RgnSg.js +75 -0
  136. package/components/GeneralAnimationLoading-DBrwarIl.js +75 -0
  137. package/components/GeneralAnimationLoading-YY_Qislb.cjs +1 -0
  138. package/components/GeneralAnimationLoading-qKrL3K2W.js +75 -0
  139. package/es2015/casino-lobby.cjs +1 -0
  140. package/es2015/casino-lobby.js +16 -0
  141. package/esnext/casino-lobby.js +14 -0
  142. package/package.json +19 -34
  143. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  144. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  145. package/stencil/casino-play-random-game-CE7d8ftV.js +559 -0
  146. package/stencil/casino-play-random-game-JlSgoZ7I.js +577 -0
  147. package/stencil/casino-play-random-game-fmski7eY.cjs +371 -0
  148. package/stencil/index-bc02f5d1-CGWk9tpa.js +609 -0
  149. package/stencil/index-bc02f5d1-Cfiraoh4.js +625 -0
  150. package/stencil/index-bc02f5d1-zY9WEQOW.cjs +1 -0
  151. package/CHANGELOG.md +0 -39
  152. package/README.md +0 -0
  153. package/dist/casino-lobby.js +0 -33
  154. package/dist/casino-lobby.js.map +0 -1
  155. package/documentation.md +0 -176
  156. package/index.html +0 -50
  157. package/index.js +0 -1
  158. package/public/favicon.png +0 -0
  159. package/public/reset.css +0 -48
  160. package/rollup.config.js +0 -67
  161. package/src/CasinoLobby.svelte +0 -454
  162. package/src/i18n.js +0 -25
  163. package/src/index.ts +0 -4
  164. package/stories/CasinoLobby.stories.js +0 -13
  165. package/tsconfig.json +0 -6
@@ -0,0 +1,651 @@
1
+ import { a as be, $ as ye, S as we, i as Se, f as M, c as ke, s as Ge, b as Pe, e as C, d as j, D as B, j as x, k as Le, o as Me, m as je, n as Y, L as xe, M as Fe, N as Te, q as O, u as I, r as F, v as m, R as ze, w as _, T as Be, B as R, C as re, x as H, U as Oe, I as N, F as He, E as A, V as Ae } from "./CasinoCalendar-T2eu_ijJ.js";
2
+ function Q(t, e) {
3
+ be(t, e);
4
+ }
5
+ function Ne(t) {
6
+ ye.set(t);
7
+ }
8
+ const $ = {
9
+ en: {
10
+ collections: "Game Collections",
11
+ providers: "Game Providers",
12
+ loading: "Loading, please wait ..."
13
+ },
14
+ "zh-hk": {
15
+ collections: "收藏品",
16
+ providers: "供应商",
17
+ loading: "加載請稍候 ..."
18
+ },
19
+ de: {
20
+ collections: "Game Collections",
21
+ providers: "Game Providers",
22
+ loading: "Laden, bitte warten..."
23
+ },
24
+ it: {
25
+ collections: "Game Collections",
26
+ providers: "Game Providers",
27
+ loading: "Loading, please wait ..."
28
+ },
29
+ fr: {
30
+ collections: "Collections",
31
+ providers: "Fournisseurs",
32
+ loading: "Chargement, veuillez patienter ..."
33
+ },
34
+ es: {
35
+ collections: "Colecciones de juegos",
36
+ providers: "Proveedores de juegos",
37
+ loading: "Cargando…"
38
+ },
39
+ el: {
40
+ collections: "Game Collections",
41
+ providers: "Game Providers",
42
+ loading: "Φορτώνει, παρακαλούμε περιμένετε ..."
43
+ },
44
+ tr: {
45
+ collections: "Oyun Koleksiyonları",
46
+ providers: "Oyun Sağlayıcıları",
47
+ loading: "Yükleniyor, lütfen bekleyin..."
48
+ },
49
+ ru: {
50
+ collections: "Game Collections",
51
+ providers: "Game Providers",
52
+ loading: "Loading, please wait ..."
53
+ },
54
+ ro: {
55
+ collections: "Selectie Jocuri",
56
+ providers: "Furnizori",
57
+ loading: "Se încarcă, asteptati ..."
58
+ },
59
+ hr: {
60
+ collections: "Kolekcije igara",
61
+ providers: "Brendovi igara",
62
+ loading: "Učitavam"
63
+ },
64
+ hu: {
65
+ collections: "Game Collections",
66
+ providers: "Game Providers",
67
+ loading: "Betöltés, kérjük várjon..."
68
+ },
69
+ pl: {
70
+ collections: "Game Collections",
71
+ providers: "Game Providers",
72
+ loading: "Loading, please wait ..."
73
+ },
74
+ pt: {
75
+ collections: "Game Collections",
76
+ providers: "Game Providers",
77
+ loading: "Carregando, por favor espere ..."
78
+ },
79
+ sl: {
80
+ collections: "Game Collections",
81
+ providers: "Game Providers",
82
+ loading: "Loading, please wait ..."
83
+ },
84
+ sr: {
85
+ collections: "Game Collections",
86
+ providers: "Game Providers",
87
+ loading: "Loading, please wait ..."
88
+ },
89
+ "pt-br": {
90
+ collections: "Coleções de jogos",
91
+ providers: "Provedores de jogos",
92
+ Loading: "Carregando, por favor espere..."
93
+ },
94
+ "es-mx": {
95
+ collections: "Colecciones de juego",
96
+ providers: "Proveedores de juego",
97
+ Loading: "Cargando, por favor espere..."
98
+ },
99
+ "en-us": {
100
+ collections: "Game Collections",
101
+ providers: "Game Providers",
102
+ loading: "Loading, please wait ..."
103
+ }
104
+ };
105
+ function Ie(t) {
106
+ Pe(t, "svelte-1myc38z", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.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--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
107
+ }
108
+ function ee(t, e, i) {
109
+ const n = t.slice();
110
+ return n[40] = e[i], n;
111
+ }
112
+ function te(t, e, i) {
113
+ const n = t.slice();
114
+ return n[43] = e[i], n;
115
+ }
116
+ function Re(t) {
117
+ let e, i, n, l = (
118
+ /*type*/
119
+ (t[0] == "vendor" ? (
120
+ /*$_*/
121
+ t[11]("providers")
122
+ ) : (
123
+ /*$_*/
124
+ t[11]("collections")
125
+ )) + ""
126
+ ), r, c, b, p, k, f, d = (
127
+ /*numberOfSlides*/
128
+ t[8] > /*numberOfVisibleSlides*/
129
+ t[9] && ie(t)
130
+ ), g = O(
131
+ /*gameCategories*/
132
+ t[3]
133
+ ), u = [];
134
+ for (let s = 0; s < g.length; s += 1)
135
+ u[s] = ne(ee(t, g, s));
136
+ return {
137
+ c() {
138
+ e = C("div"), i = C("div"), n = C("p"), r = I(l), c = F(), d && d.c(), b = F(), p = C("div");
139
+ for (let s = 0; s < u.length; s += 1)
140
+ u[s].c();
141
+ m(n, "class", "Title"), m(i, "class", "CategoriesHeader"), m(p, "class", "CategoriesSlider"), ze(() => (
142
+ /*div1_elementresize_handler*/
143
+ t[27].call(p)
144
+ )), m(e, "class", f = "CasinoCollectionsProviders " + /*mobile*/
145
+ (t[10] ? "Mobile" : "") + " " + /*type*/
146
+ (t[0] === "vendor" ? "Providers" : "Collections"));
147
+ },
148
+ m(s, w) {
149
+ j(s, e, w), _(e, i), _(i, n), _(n, r), _(i, c), d && d.m(i, null), _(e, b), _(e, p);
150
+ for (let a = 0; a < u.length; a += 1)
151
+ u[a] && u[a].m(p, null);
152
+ t[26](p), k = Be(
153
+ p,
154
+ /*div1_elementresize_handler*/
155
+ t[27].bind(p)
156
+ );
157
+ },
158
+ p(s, w) {
159
+ if (w[0] & /*type, $_*/
160
+ 2049 && l !== (l = /*type*/
161
+ (s[0] == "vendor" ? (
162
+ /*$_*/
163
+ s[11]("providers")
164
+ ) : (
165
+ /*$_*/
166
+ s[11]("collections")
167
+ )) + "") && R(r, l), /*numberOfSlides*/
168
+ s[8] > /*numberOfVisibleSlides*/
169
+ s[9] ? d ? d.p(s, w) : (d = ie(s), d.c(), d.m(i, null)) : d && (d.d(1), d = null), w[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
170
+ 49166) {
171
+ g = O(
172
+ /*gameCategories*/
173
+ s[3]
174
+ );
175
+ let a;
176
+ for (a = 0; a < g.length; a += 1) {
177
+ const h = ee(s, g, a);
178
+ u[a] ? u[a].p(h, w) : (u[a] = ne(h), u[a].c(), u[a].m(p, null));
179
+ }
180
+ for (; a < u.length; a += 1)
181
+ u[a].d(1);
182
+ u.length = g.length;
183
+ }
184
+ w[0] & /*mobile, type*/
185
+ 1025 && f !== (f = "CasinoCollectionsProviders " + /*mobile*/
186
+ (s[10] ? "Mobile" : "") + " " + /*type*/
187
+ (s[0] === "vendor" ? "Providers" : "Collections")) && m(e, "class", f);
188
+ },
189
+ d(s) {
190
+ s && x(e), d && d.d(), re(u, s), t[26](null), k();
191
+ }
192
+ };
193
+ }
194
+ function Ue(t) {
195
+ let e;
196
+ return {
197
+ c() {
198
+ e = C("div"), m(e, "class", "LoadingSpinner");
199
+ },
200
+ m(i, n) {
201
+ j(i, e, n);
202
+ },
203
+ p: B,
204
+ d(i) {
205
+ i && x(e);
206
+ }
207
+ };
208
+ }
209
+ function ie(t) {
210
+ let e, i, n, l, r, c;
211
+ return {
212
+ c() {
213
+ e = C("div"), i = C("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = F(), l = C("button"), l.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', m(e, "class", "ButtonsContainer");
214
+ },
215
+ m(b, p) {
216
+ j(b, e, p), _(e, i), _(e, n), _(e, l), r || (c = [
217
+ H(
218
+ i,
219
+ "click",
220
+ /*click_handler*/
221
+ t[22]
222
+ ),
223
+ H(
224
+ l,
225
+ "click",
226
+ /*click_handler_1*/
227
+ t[23]
228
+ )
229
+ ], r = !0);
230
+ },
231
+ p: B,
232
+ d(b) {
233
+ b && x(e), r = !1, Oe(c);
234
+ }
235
+ };
236
+ }
237
+ function Ve(t) {
238
+ let e, i = (
239
+ /*category*/
240
+ t[40].name + ""
241
+ ), n;
242
+ return {
243
+ c() {
244
+ e = C("p"), n = I(i), m(e, "class", "CategorySlideTitle");
245
+ },
246
+ m(l, r) {
247
+ j(l, e, r), _(e, n);
248
+ },
249
+ p(l, r) {
250
+ r[0] & /*gameCategories*/
251
+ 8 && i !== (i = /*category*/
252
+ l[40].name + "") && R(n, i);
253
+ },
254
+ d(l) {
255
+ l && x(e);
256
+ }
257
+ };
258
+ }
259
+ function We(t) {
260
+ let e, i, n;
261
+ return {
262
+ c() {
263
+ e = C("img"), m(e, "class", "CategorySlideLogo"), A(e.src, i = /*category*/
264
+ t[40].icon) || m(e, "src", i), m(e, "alt", n = /*category*/
265
+ t[40].name + " icon");
266
+ },
267
+ m(l, r) {
268
+ j(l, e, r);
269
+ },
270
+ p(l, r) {
271
+ r[0] & /*gameCategories*/
272
+ 8 && !A(e.src, i = /*category*/
273
+ l[40].icon) && m(e, "src", i), r[0] & /*gameCategories*/
274
+ 8 && n !== (n = /*category*/
275
+ l[40].name + " icon") && m(e, "alt", n);
276
+ },
277
+ d(l) {
278
+ l && x(e);
279
+ }
280
+ };
281
+ }
282
+ function le(t) {
283
+ let e, i = (
284
+ /*game*/
285
+ t[43].name + ""
286
+ ), n, l;
287
+ return {
288
+ c() {
289
+ e = C("p"), n = I(i), m(e, "title", l = /*game*/
290
+ t[43].name);
291
+ },
292
+ m(r, c) {
293
+ j(r, e, c), _(e, n);
294
+ },
295
+ p(r, c) {
296
+ c[0] & /*gameCategories*/
297
+ 8 && i !== (i = /*game*/
298
+ r[43].name + "") && R(n, i), c[0] & /*gameCategories*/
299
+ 8 && l !== (l = /*game*/
300
+ r[43].name) && m(e, "title", l);
301
+ },
302
+ d(r) {
303
+ r && x(e);
304
+ }
305
+ };
306
+ }
307
+ function oe(t) {
308
+ let e, i, n, l, r, c, b, p;
309
+ function k() {
310
+ return (
311
+ /*click_handler_2*/
312
+ t[24](
313
+ /*game*/
314
+ t[43]
315
+ )
316
+ );
317
+ }
318
+ let f = (
319
+ /*collectionprovidersgamenames*/
320
+ t[2] == "true" && le(t)
321
+ );
322
+ return {
323
+ c() {
324
+ e = C("div"), i = C("img"), r = F(), f && f.c(), c = F(), m(i, "class", "CategorySlideGameImage"), A(i.src, n = /*game*/
325
+ t[43].defaultThumbnail) || m(i, "src", n), m(i, "alt", l = /*game*/
326
+ t[43].name), m(e, "class", "CategorySlideGames");
327
+ },
328
+ m(d, g) {
329
+ j(d, e, g), _(e, i), _(e, r), f && f.m(e, null), _(e, c), b || (p = H(i, "click", Ae(k)), b = !0);
330
+ },
331
+ p(d, g) {
332
+ t = d, g[0] & /*gameCategories*/
333
+ 8 && !A(i.src, n = /*game*/
334
+ t[43].defaultThumbnail) && m(i, "src", n), g[0] & /*gameCategories*/
335
+ 8 && l !== (l = /*game*/
336
+ t[43].name) && m(i, "alt", l), /*collectionprovidersgamenames*/
337
+ t[2] == "true" ? f ? f.p(t, g) : (f = le(t), f.c(), f.m(e, c)) : f && (f.d(1), f = null);
338
+ },
339
+ d(d) {
340
+ d && x(e), f && f.d(), b = !1, p();
341
+ }
342
+ };
343
+ }
344
+ function ne(t) {
345
+ let e, i, n, l, r, c, b, p, k;
346
+ function f(a, h) {
347
+ if (
348
+ /*titletype*/
349
+ a[1] == "logo"
350
+ ) return We;
351
+ if (
352
+ /*titletype*/
353
+ a[1] == "title"
354
+ ) return Ve;
355
+ }
356
+ let d = f(t), g = d && d(t), u = O(
357
+ /*category*/
358
+ t[40].games
359
+ ), s = [];
360
+ for (let a = 0; a < u.length; a += 1)
361
+ s[a] = oe(te(t, u, a));
362
+ function w() {
363
+ return (
364
+ /*click_handler_3*/
365
+ t[25](
366
+ /*category*/
367
+ t[40]
368
+ )
369
+ );
370
+ }
371
+ return {
372
+ c() {
373
+ var a, h;
374
+ e = C("div"), i = C("div"), n = C("div"), g && g.c(), l = F(), r = C("div");
375
+ for (let v = 0; v < s.length; v += 1)
376
+ s[v].c();
377
+ b = F(), m(n, "class", "CategorySlideTopContainer"), m(r, "class", "CategorySlideGameContainer"), m(i, "class", c = "CategorySlide " + /*category*/
378
+ (((a = t[40]) == null ? void 0 : a.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")), N(i, "background-image", "url(" + /*category*/
379
+ ((h = t[40]) == null ? void 0 : h.background) + ")"), N(i, "background-size", "cover"), m(e, "class", "CategoriesSliderWrapper Animation");
380
+ },
381
+ m(a, h) {
382
+ j(a, e, h), _(e, i), _(i, n), g && g.m(n, null), _(i, l), _(i, r);
383
+ for (let v = 0; v < s.length; v += 1)
384
+ s[v] && s[v].m(r, null);
385
+ _(e, b), p || (k = H(i, "click", w), p = !0);
386
+ },
387
+ p(a, h) {
388
+ var v, T;
389
+ if (t = a, d === (d = f(t)) && g ? g.p(t, h) : (g && g.d(1), g = d && d(t), g && (g.c(), g.m(n, null))), h[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
390
+ 16396) {
391
+ u = O(
392
+ /*category*/
393
+ t[40].games
394
+ );
395
+ let y;
396
+ for (y = 0; y < u.length; y += 1) {
397
+ const G = te(t, u, y);
398
+ s[y] ? s[y].p(G, h) : (s[y] = oe(G), s[y].c(), s[y].m(r, null));
399
+ }
400
+ for (; y < s.length; y += 1)
401
+ s[y].d(1);
402
+ s.length = u.length;
403
+ }
404
+ h[0] & /*gameCategories*/
405
+ 8 && c !== (c = "CategorySlide " + /*category*/
406
+ (((v = t[40]) == null ? void 0 : v.flag[0]) == "vendor" ? "CategorySlideNoHighlight" : "")) && m(i, "class", c), h[0] & /*gameCategories*/
407
+ 8 && N(i, "background-image", "url(" + /*category*/
408
+ ((T = t[40]) == null ? void 0 : T.background) + ")");
409
+ },
410
+ d(a) {
411
+ a && x(e), g && g.d(), re(s, a), p = !1, k();
412
+ }
413
+ };
414
+ }
415
+ function De(t) {
416
+ let e;
417
+ function i(r, c) {
418
+ return (
419
+ /*isLoading*/
420
+ r[7] ? Ue : Re
421
+ );
422
+ }
423
+ let n = i(t), l = n(t);
424
+ return {
425
+ c() {
426
+ e = C("div"), l.c();
427
+ },
428
+ m(r, c) {
429
+ j(r, e, c), l.m(e, null), t[28](e);
430
+ },
431
+ p(r, c) {
432
+ n === (n = i(r)) && l ? l.p(r, c) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
433
+ },
434
+ i: B,
435
+ o: B,
436
+ d(r) {
437
+ r && x(e), l.d(), t[28](null);
438
+ }
439
+ };
440
+ }
441
+ function Ee(t, e, i) {
442
+ let n;
443
+ Le(t, He, (o) => i(11, n = o));
444
+ let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: c = "" } = e, { type: b = "" } = e, { titletype: p = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: f = "" } = e, { translationurl: d = "" } = e, { collectionprovidersgamenames: g = "" } = e, u = [], s = !0, w, a = 0, h = 0, v = 0, T, y, G, ae = window.navigator.userAgent, U, z = 0;
445
+ const se = () => {
446
+ fetch(d).then((S) => S.json()).then((S) => {
447
+ Object.keys(S).forEach((L) => {
448
+ Q(L, S[L]);
449
+ });
450
+ }).catch((S) => {
451
+ console.log(S);
452
+ });
453
+ };
454
+ Object.keys($).forEach((o) => {
455
+ Q(o, $[o]);
456
+ });
457
+ const de = () => {
458
+ const o = new URL(`${l}/v2/casino/groups/${r}`);
459
+ o.searchParams.append("language", c), o.searchParams.append("expand", "games"), fetch(o.href).then((S) => S.json()).then((S) => {
460
+ i(7, s = !1);
461
+ let L = S.items.filter((P) => P.flags == b);
462
+ i(3, u = L.map((P) => {
463
+ var Z, J, X;
464
+ return {
465
+ id: P.id,
466
+ name: P.name,
467
+ icon: P.icon ? P.icon : (X = (J = (Z = P.vendors) == null ? void 0 : Z.items[0]) == null ? void 0 : J.subVendors[0]) == null ? void 0 : X.logo,
468
+ games: P.games.items.slice(0, 4).map((Ce) => Ce),
469
+ background: P.background,
470
+ flag: P.flags
471
+ };
472
+ })), i(8, h = u.length);
473
+ });
474
+ }, V = (o) => {
475
+ y = [...w.children], y.forEach((S, L) => {
476
+ S.style.transform = `translateX(${100 * (o ? L - o : L)}%)`;
477
+ }), T = y[0].getBoundingClientRect().width, ce();
478
+ }, ce = () => {
479
+ i(9, v = Math.floor(z / T));
480
+ }, W = () => {
481
+ V(a);
482
+ }, D = () => {
483
+ a === 0 ? a = h - v : a - v < -1 ? a = 0 : a--, W();
484
+ }, E = () => {
485
+ a === h - v ? a = 0 : h - v < a + 1 ? a = h - v : a++, W();
486
+ }, q = (o, S, L, P) => {
487
+ window.postMessage(
488
+ {
489
+ type: "OpenCollectionsProvidersGame",
490
+ gameId: o,
491
+ launchUrl: S,
492
+ gameName: L,
493
+ subVendor: P
494
+ },
495
+ window.location.href
496
+ ), typeof gtag == "function" && gtag("event", "OpenGame", {
497
+ context: "CollectionsProviders",
498
+ gameName: `${L}`
499
+ });
500
+ }, K = (o) => {
501
+ window.postMessage(
502
+ {
503
+ type: "OpenCollectionsProvidersCategory",
504
+ categoryId: o
505
+ },
506
+ window.location.href
507
+ );
508
+ }, ge = () => {
509
+ Ne(c);
510
+ };
511
+ Me(() => (i(10, U = je(ae)), () => {
512
+ }));
513
+ const ue = () => D(), fe = () => E(), me = (o) => q(o.gameId, o.launchUrl, o.name, o.subVendor), pe = (o) => K(o.id);
514
+ function he(o) {
515
+ Y[o ? "unshift" : "push"](() => {
516
+ w = o, i(4, w);
517
+ });
518
+ }
519
+ function ve() {
520
+ z = this.clientWidth, i(6, z);
521
+ }
522
+ function _e(o) {
523
+ Y[o ? "unshift" : "push"](() => {
524
+ G = o, i(5, G);
525
+ });
526
+ }
527
+ return t.$$set = (o) => {
528
+ "endpoint" in o && i(16, l = o.endpoint), "datasource" in o && i(17, r = o.datasource), "lang" in o && i(18, c = o.lang), "type" in o && i(0, b = o.type), "titletype" in o && i(1, p = o.titletype), "clientstyling" in o && i(19, k = o.clientstyling), "clientstylingurl" in o && i(20, f = o.clientstylingurl), "translationurl" in o && i(21, d = o.translationurl), "collectionprovidersgamenames" in o && i(2, g = o.collectionprovidersgamenames);
529
+ }, t.$$.update = () => {
530
+ t.$$.dirty[0] & /*endpoint, datasource, lang*/
531
+ 458752 && l && r && c && de(), t.$$.dirty[0] & /*categoriesSliderWidth, gameCategories, categoriesSlider*/
532
+ 88 && z && u && w && V(), t.$$.dirty[0] & /*lang*/
533
+ 262144 && c && ge(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
534
+ 524320 && k && G && xe(G, k), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
535
+ 1048608 && f && G && Fe(G), t.$$.dirty[0] & /*customStylingContainer*/
536
+ 32 && G && Te(G, "Casino.Style"), t.$$.dirty[0] & /*translationurl*/
537
+ 2097152 && d && se();
538
+ }, [
539
+ b,
540
+ p,
541
+ g,
542
+ u,
543
+ w,
544
+ G,
545
+ z,
546
+ s,
547
+ h,
548
+ v,
549
+ U,
550
+ n,
551
+ D,
552
+ E,
553
+ q,
554
+ K,
555
+ l,
556
+ r,
557
+ c,
558
+ k,
559
+ f,
560
+ d,
561
+ ue,
562
+ fe,
563
+ me,
564
+ pe,
565
+ he,
566
+ ve,
567
+ _e
568
+ ];
569
+ }
570
+ class qe extends we {
571
+ constructor(e) {
572
+ super(), Se(
573
+ this,
574
+ e,
575
+ Ee,
576
+ De,
577
+ Ge,
578
+ {
579
+ endpoint: 16,
580
+ datasource: 17,
581
+ lang: 18,
582
+ type: 0,
583
+ titletype: 1,
584
+ clientstyling: 19,
585
+ clientstylingurl: 20,
586
+ translationurl: 21,
587
+ collectionprovidersgamenames: 2
588
+ },
589
+ Ie,
590
+ [-1, -1]
591
+ );
592
+ }
593
+ get endpoint() {
594
+ return this.$$.ctx[16];
595
+ }
596
+ set endpoint(e) {
597
+ this.$$set({ endpoint: e }), M();
598
+ }
599
+ get datasource() {
600
+ return this.$$.ctx[17];
601
+ }
602
+ set datasource(e) {
603
+ this.$$set({ datasource: e }), M();
604
+ }
605
+ get lang() {
606
+ return this.$$.ctx[18];
607
+ }
608
+ set lang(e) {
609
+ this.$$set({ lang: e }), M();
610
+ }
611
+ get type() {
612
+ return this.$$.ctx[0];
613
+ }
614
+ set type(e) {
615
+ this.$$set({ type: e }), M();
616
+ }
617
+ get titletype() {
618
+ return this.$$.ctx[1];
619
+ }
620
+ set titletype(e) {
621
+ this.$$set({ titletype: e }), M();
622
+ }
623
+ get clientstyling() {
624
+ return this.$$.ctx[19];
625
+ }
626
+ set clientstyling(e) {
627
+ this.$$set({ clientstyling: e }), M();
628
+ }
629
+ get clientstylingurl() {
630
+ return this.$$.ctx[20];
631
+ }
632
+ set clientstylingurl(e) {
633
+ this.$$set({ clientstylingurl: e }), M();
634
+ }
635
+ get translationurl() {
636
+ return this.$$.ctx[21];
637
+ }
638
+ set translationurl(e) {
639
+ this.$$set({ translationurl: e }), M();
640
+ }
641
+ get collectionprovidersgamenames() {
642
+ return this.$$.ctx[2];
643
+ }
644
+ set collectionprovidersgamenames(e) {
645
+ this.$$set({ collectionprovidersgamenames: e }), M();
646
+ }
647
+ }
648
+ ke(qe, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {} }, [], [], !0);
649
+ export {
650
+ qe as default
651
+ };