@everymatrix/casino-lobby 1.63.2 → 1.64.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 (102) hide show
  1. package/components/{CasinoCalendar-CNMPPqgx.js → CasinoCalendar-BONyZpYE.js} +121 -121
  2. package/components/{CasinoCalendar-DoxssdOG.cjs → CasinoCalendar-DglR4hXB.cjs} +4 -4
  3. package/components/{CasinoCalendar-DF0Pr_uv.js → CasinoCalendar-IdM-lXMG.js} +208 -208
  4. package/components/CasinoCalendarDailyDetails-Cprq9q2q.js +567 -0
  5. package/components/CasinoCalendarDailyDetails-MqRoHEO5.cjs +1 -0
  6. package/components/CasinoCalendarDailyDetails-Nhcvxsh6.js +567 -0
  7. package/components/CasinoCalendarDailyItem-DLR65l5h.cjs +1 -0
  8. package/components/{CasinoCalendarDailyItem-O-Ka4MG6.js → CasinoCalendarDailyItem-j9fcZJnF.js} +45 -45
  9. package/components/{CasinoCalendarDailyItem-D51VouvS.js → CasinoCalendarDailyItem-s-bZS2Jp.js} +45 -45
  10. package/components/CasinoCategoriesSlider--HeFAg7z.cjs +1 -0
  11. package/components/{CasinoCategoriesSlider-Bte1Sqxk.js → CasinoCategoriesSlider-BwaHpYXA.js} +177 -181
  12. package/components/{CasinoCategoriesSlider-BRS5bbYT.js → CasinoCategoriesSlider-Daxulx9q.js} +177 -181
  13. package/components/CasinoCollectionsProviders-B_huGyx5.cjs +1 -0
  14. package/components/CasinoCollectionsProviders-DCfKtqH3.js +653 -0
  15. package/components/{CasinoCollectionsProviders-eQakUMn6.js → CasinoCollectionsProviders-QF8UYQEH.js} +181 -182
  16. package/components/{CasinoFavoritesSection-CB9LB0WP.js → CasinoFavoritesSection-C8XELxGM.js} +23 -23
  17. package/components/{CasinoFavoritesSection-CqX1dQbA.js → CasinoFavoritesSection-CqeUShM0.js} +23 -23
  18. package/components/{CasinoFavoritesSection-tN5tvnAA.cjs → CasinoFavoritesSection-D-UkXryn.cjs} +1 -1
  19. package/components/{CasinoFilter-CaXIhjO3.cjs → CasinoFilter-1GsfPr4q.cjs} +1 -1
  20. package/components/{CasinoFilter-CE3HGSQ0.js → CasinoFilter-Dm91I-UU.js} +111 -111
  21. package/components/{CasinoFilter-g1NekVQ2.js → CasinoFilter-hFLJX_M2.js} +108 -108
  22. package/components/{CasinoGameThumbnail-ODsH-VZ2.cjs → CasinoGameThumbnail-BvOIlOOi.cjs} +2 -2
  23. package/components/{CasinoGameThumbnail-DUG_Uqdj.js → CasinoGameThumbnail-CQSUN92B.js} +3 -3
  24. package/components/{CasinoGameThumbnail-DCRwj3vq.js → CasinoGameThumbnail-CXKT4Qo5.js} +3 -3
  25. package/components/CasinoGamesCategorySection-BQlZuqHv.js +3202 -0
  26. package/components/CasinoGamesCategorySection-CKD6dg5N.cjs +1 -0
  27. package/components/CasinoGamesCategorySection-DFvVele9.js +3170 -0
  28. package/components/{CasinoJackpotBanner-DnctL7sJ.js → CasinoJackpotBanner-BpAtani6.js} +108 -108
  29. package/components/{CasinoJackpotBanner-DiFabula.js → CasinoJackpotBanner-Da7u-e53.js} +100 -100
  30. package/components/{CasinoJackpotBanner-BGP5NlAK.cjs → CasinoJackpotBanner-DhRXbZof.cjs} +1 -1
  31. package/components/{CasinoLastPlayedSection-LnAsl4Vq.js → CasinoLastPlayedSection-CLQF0gH3.js} +9 -9
  32. package/components/{CasinoLastPlayedSection-CxFhGWih.js → CasinoLastPlayedSection-Cn_6Tyrh.js} +9 -9
  33. package/components/{CasinoLastPlayedSection-DYe3Koqg.cjs → CasinoLastPlayedSection-r9eIV0bz.cjs} +1 -1
  34. package/components/{CasinoLobby-CFE_jBY7.js → CasinoLobby-BBAE1WZB.js} +135 -120
  35. package/components/CasinoLobby-CfPzMoKq.cjs +1 -0
  36. package/components/{CasinoLobby-DeIv0o2d.js → CasinoLobby-CnppP-Q0.js} +135 -120
  37. package/components/{CasinoMostPlayedSection-BLrjptUT.js → CasinoMostPlayedSection-CD3McVCV.js} +21 -21
  38. package/components/{CasinoMostPlayedSection-CcmxfoNH.js → CasinoMostPlayedSection-CEcrV8uf.js} +21 -21
  39. package/components/{CasinoMostPlayedSection-zfcQ4N68.cjs → CasinoMostPlayedSection-CYbsPd70.cjs} +1 -1
  40. package/components/{CasinoMyGames-CsLVF6jp.cjs → CasinoMyGames-BYorv67w.cjs} +1 -1
  41. package/components/{CasinoMyGames-BICHn490.js → CasinoMyGames-Clh_ZKUG.js} +39 -39
  42. package/components/{CasinoMyGames-D2JlK2FG.js → CasinoMyGames-CsEp2Q-H.js} +43 -43
  43. package/components/{CasinoPage-Dsb7hsCV.js → CasinoPage-BZesrUyc.js} +189 -189
  44. package/components/{CasinoPage-BKIXFpTy.js → CasinoPage-CPmBzeSF.js} +189 -189
  45. package/components/{CasinoPage-DldDXHiD.cjs → CasinoPage-CxXdS_KY.cjs} +1 -1
  46. package/components/{CasinoRandomGame-BB4A3Me6.js → CasinoRandomGame-FkDPrD9e.js} +52 -52
  47. package/components/{CasinoRandomGame-qzNaZ__f.cjs → CasinoRandomGame-mZ24kU0C.cjs} +2 -2
  48. package/components/{CasinoRandomGame-BalTtz4n.js → CasinoRandomGame-pFW4WJwl.js} +53 -53
  49. package/components/{CasinoSearch-CzQKu674.js → CasinoSearch--m6RPf0J.js} +52 -52
  50. package/components/{CasinoSearch-GuiyA6qP.cjs → CasinoSearch-DUQJhn3X.cjs} +1 -1
  51. package/components/{CasinoSearch-BunxlPeC.js → CasinoSearch-DZTQwy97.js} +50 -50
  52. package/components/CasinoSlider-BR0_If4T.js +797 -0
  53. package/components/{CasinoSlider-CCs2pkhA.js → CasinoSlider-CtMPHXUh.js} +136 -136
  54. package/components/CasinoSlider-e9OjOUTr.cjs +1 -0
  55. package/components/{CasinoSort-BRX2Xq-L.js → CasinoSort-CFaQhCeN.js} +32 -32
  56. package/components/{CasinoSort-Ds5Gxm-O.cjs → CasinoSort-CWyjQZ3C.cjs} +1 -1
  57. package/components/{CasinoSort-BFlIPfWc.js → CasinoSort-CjTUg9jC.js} +32 -32
  58. package/components/CasinoWinners-CJI2fDKO.js +978 -0
  59. package/components/CasinoWinners-CvtwPY7V.js +996 -0
  60. package/components/CasinoWinners-DgXBOTeI.cjs +1 -0
  61. package/components/{GeneralAnimationLoading-cgso8Mxu.cjs → GeneralAnimationLoading-Bgob1QKM.cjs} +1 -1
  62. package/components/{GeneralAnimationLoading-7OFxqSZ5.js → GeneralAnimationLoading-CcIPxHUX.js} +6 -6
  63. package/components/{GeneralAnimationLoading-BdfUf0_9.js → GeneralAnimationLoading-cKyjkdOs.js} +6 -6
  64. package/es2015/casino-lobby.cjs +1 -1
  65. package/es2015/casino-lobby.js +1 -1
  66. package/esnext/casino-lobby.js +1 -1
  67. package/package.json +1 -1
  68. package/stencil/{casino-play-random-game-BYqESYAt.js → casino-play-random-game-BLl4u8GF.js} +8 -6
  69. package/stencil/{casino-play-random-game-QQFB7p9f.js → casino-play-random-game-C0BJMsSD.js} +8 -6
  70. package/stencil/{casino-play-random-game-cxzdDqDs.cjs → casino-play-random-game-Dkk0BTsb.cjs} +8 -6
  71. package/stencil/{index-97d17652-C616IYj2.js → index-97d17652-BEnqZAxL.js} +1 -1
  72. package/stencil/{index-97d17652-C9Ph2JiE.cjs → index-97d17652-D5_8Vwfn.cjs} +1 -1
  73. package/stencil/{index-97d17652-B8yQdy7J.js → index-97d17652-WK_DbPS4.js} +1 -1
  74. package/stencil/{index-ab3202d6-CvVYHCZs.js → index-ab3202d6-CZKlrnZf.js} +1 -1
  75. package/stencil/{index-ab3202d6-ClNgaMg-.js → index-ab3202d6-ClDKsCJv.js} +1 -1
  76. package/stencil/{index-ab3202d6-4wRb7_uS.cjs → index-ab3202d6-DFbwTHas.cjs} +1 -1
  77. package/stencil/{ui-image-C3XzpHRB.cjs → ui-image-DLXwOzO2.cjs} +1 -1
  78. package/stencil/{ui-image-CYB9UUHg.js → ui-image-YGEFo8L0.js} +1 -1
  79. package/stencil/{ui-image-7da92f1f-26DzsVFt.js → ui-image-b7b48fe5-Cf9Vq5pI.js} +6 -6
  80. package/stencil/ui-image-b7b48fe5-DCck2kk1.cjs +1 -0
  81. package/stencil/{ui-image-7da92f1f-BAghvEDf.js → ui-image-b7b48fe5-V9vp4faA.js} +6 -6
  82. package/stencil/{ui-image-BSTP7sZO.js → ui-image-w38Eao2h.js} +1 -1
  83. package/stencil/{ui-image_2-BXgptLvl.js → ui-image_2-B56t6kXT.js} +2 -2
  84. package/stencil/{ui-image_2-Cyqb4u7k.js → ui-image_2-BncuYpLi.js} +2 -2
  85. package/stencil/{ui-image_2-Cctik3aF.cjs → ui-image_2-YkYxLKu7.cjs} +1 -1
  86. package/components/CasinoCalendarDailyDetails-305OBzqh.js +0 -694
  87. package/components/CasinoCalendarDailyDetails-DUp41baV.cjs +0 -1
  88. package/components/CasinoCalendarDailyDetails-OB1lJeYE.js +0 -694
  89. package/components/CasinoCalendarDailyItem-B-DrlkeE.cjs +0 -1
  90. package/components/CasinoCategoriesSlider-BiaZvSw4.cjs +0 -1
  91. package/components/CasinoCollectionsProviders-CMAAQr-q.cjs +0 -1
  92. package/components/CasinoCollectionsProviders-kaCgm3e1.js +0 -654
  93. package/components/CasinoGamesCategorySection-C3vEnV4u.cjs +0 -1
  94. package/components/CasinoGamesCategorySection-Zo8E4vzJ.js +0 -3170
  95. package/components/CasinoGamesCategorySection-duJpxi3h.js +0 -3139
  96. package/components/CasinoLobby-ByANgzRN.cjs +0 -1
  97. package/components/CasinoSlider-Q3CLkzHo.cjs +0 -1
  98. package/components/CasinoSlider-VfpP1c2C.js +0 -797
  99. package/components/CasinoWinners-B_hz9jpe.cjs +0 -1
  100. package/components/CasinoWinners-DMV8Yt40.js +0 -983
  101. package/components/CasinoWinners-j5Ay-YXI.js +0 -981
  102. package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +0 -1
@@ -1,654 +0,0 @@
1
- import { a as we, $ as Se, S as ke, i as Ge, s as Pe, f as M, b as Le, n as H, d as T, h as F, j as _, k as Me, o as xe, l as je, C as ee, r as w, v as z, w as ce, m as U, p as h, q, B as O, R as Te, A, I, D as N, E as x, T as Fe, J as Oe, K as Be, L as He, M as ze, N as Ae } from "./CasinoCalendar-CNMPPqgx.js";
2
- import "../stencil/ui-image-CYB9UUHg.js";
3
- function te(t, e) {
4
- we(t, e);
5
- }
6
- function Ne(t) {
7
- Se.set(t);
8
- }
9
- const ie = {
10
- en: {
11
- collections: "Game Collections",
12
- providers: "Game Providers",
13
- loading: "Loading, please wait ..."
14
- },
15
- "zh-hk": {
16
- collections: "收藏品",
17
- providers: "供应商",
18
- loading: "加載請稍候 ..."
19
- },
20
- de: {
21
- collections: "Game Collections",
22
- providers: "Game Providers",
23
- loading: "Laden, bitte warten..."
24
- },
25
- it: {
26
- collections: "Game Collections",
27
- providers: "Game Providers",
28
- loading: "Loading, please wait ..."
29
- },
30
- fr: {
31
- collections: "Collections",
32
- providers: "Fournisseurs",
33
- loading: "Chargement, veuillez patienter ..."
34
- },
35
- es: {
36
- collections: "Colecciones de juegos",
37
- providers: "Proveedores de juegos",
38
- loading: "Cargando…"
39
- },
40
- el: {
41
- collections: "Game Collections",
42
- providers: "Game Providers",
43
- loading: "Φορτώνει, παρακαλούμε περιμένετε ..."
44
- },
45
- tr: {
46
- collections: "Oyun Koleksiyonları",
47
- providers: "Oyun Sağlayıcıları",
48
- loading: "Yükleniyor, lütfen bekleyin..."
49
- },
50
- ru: {
51
- collections: "Game Collections",
52
- providers: "Game Providers",
53
- loading: "Loading, please wait ..."
54
- },
55
- ro: {
56
- collections: "Selectie Jocuri",
57
- providers: "Furnizori",
58
- loading: "Se încarcă, asteptati ..."
59
- },
60
- hr: {
61
- collections: "Kolekcije igara",
62
- providers: "Brendovi igara",
63
- loading: "Učitavam"
64
- },
65
- hu: {
66
- collections: "Game Collections",
67
- providers: "Game Providers",
68
- loading: "Betöltés, kérjük várjon..."
69
- },
70
- pl: {
71
- collections: "Game Collections",
72
- providers: "Game Providers",
73
- loading: "Loading, please wait ..."
74
- },
75
- pt: {
76
- collections: "Game Collections",
77
- providers: "Game Providers",
78
- loading: "Carregando, por favor espere ..."
79
- },
80
- sl: {
81
- collections: "Game Collections",
82
- providers: "Game Providers",
83
- loading: "Loading, please wait ..."
84
- },
85
- sr: {
86
- collections: "Game Collections",
87
- providers: "Game Providers",
88
- loading: "Loading, please wait ..."
89
- },
90
- "pt-br": {
91
- collections: "Coleções de jogos",
92
- providers: "Provedores de jogos",
93
- Loading: "Carregando, por favor espere..."
94
- },
95
- "es-mx": {
96
- collections: "Colecciones de juego",
97
- providers: "Proveedores de juego",
98
- Loading: "Cargando, por favor espere..."
99
- },
100
- "en-us": {
101
- collections: "Game Collections",
102
- providers: "Game Providers",
103
- loading: "Loading, please wait ..."
104
- }
105
- };
106
- function Ee(t) {
107
- Le(t, "svelte-ci1i8", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.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));background-color:inherit;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:70px;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:60px;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)}}');
108
- }
109
- function oe(t, e, i) {
110
- const n = t.slice();
111
- return n[41] = e[i], n;
112
- }
113
- function le(t, e, i) {
114
- const n = t.slice();
115
- return n[44] = e[i], n;
116
- }
117
- function Re(t) {
118
- let e, i, n, l = (
119
- /*type*/
120
- (t[0] === "vendor" ? (
121
- /*$_*/
122
- t[10]("providers")
123
- ) : (
124
- /*$_*/
125
- t[10]("collections")
126
- )) + ""
127
- ), r, d, C, v, k, s = (
128
- /*numberOfSlides*/
129
- t[7] > /*numberOfVisibleSlides*/
130
- t[8] && ne(t)
131
- ), m = z(
132
- /*gameCategories*/
133
- t[3]
134
- ), a = [];
135
- for (let c = 0; c < m.length; c += 1)
136
- a[c] = se(oe(t, m, c));
137
- return {
138
- c() {
139
- e = _("div"), i = _("div"), n = _("p"), r = q(l), d = O(), s && s.c(), C = O(), v = _("div");
140
- for (let c = 0; c < a.length; c += 1)
141
- a[c].c();
142
- w(n, "class", "Title"), w(i, "class", "CategoriesHeader"), w(v, "class", "CategoriesSlider"), w(e, "class", k = "CasinoCollectionsProviders " + /*mobile*/
143
- (t[9] ? "Mobile" : "") + " " + /*type*/
144
- (t[0] === "vendor" ? "Providers" : "Collections"));
145
- },
146
- m(c, g) {
147
- F(c, e, g), h(e, i), h(i, n), h(n, r), h(i, d), s && s.m(i, null), h(e, C), h(e, v);
148
- for (let p = 0; p < a.length; p += 1)
149
- a[p] && a[p].m(v, null);
150
- t[25](v);
151
- },
152
- p(c, g) {
153
- if (g[0] & /*type, $_*/
154
- 1025 && l !== (l = /*type*/
155
- (c[0] === "vendor" ? (
156
- /*$_*/
157
- c[10]("providers")
158
- ) : (
159
- /*$_*/
160
- c[10]("collections")
161
- )) + "") && U(r, l), /*numberOfSlides*/
162
- c[7] > /*numberOfVisibleSlides*/
163
- c[8] ? s ? s.p(c, g) : (s = ne(c), s.c(), s.m(i, null)) : s && (s.d(1), s = null), g[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
164
- 24590) {
165
- m = z(
166
- /*gameCategories*/
167
- c[3]
168
- );
169
- let p;
170
- for (p = 0; p < m.length; p += 1) {
171
- const u = oe(c, m, p);
172
- a[p] ? a[p].p(u, g) : (a[p] = se(u), a[p].c(), a[p].m(v, null));
173
- }
174
- for (; p < a.length; p += 1)
175
- a[p].d(1);
176
- a.length = m.length;
177
- }
178
- g[0] & /*mobile, type*/
179
- 513 && k !== (k = "CasinoCollectionsProviders " + /*mobile*/
180
- (c[9] ? "Mobile" : "") + " " + /*type*/
181
- (c[0] === "vendor" ? "Providers" : "Collections")) && w(e, "class", k);
182
- },
183
- d(c) {
184
- c && T(e), s && s.d(), ce(a, c), t[25](null);
185
- }
186
- };
187
- }
188
- function Ie(t) {
189
- let e;
190
- return {
191
- c() {
192
- e = _("div"), w(e, "class", "LoadingSpinner");
193
- },
194
- m(i, n) {
195
- F(i, e, n);
196
- },
197
- p: H,
198
- d(i) {
199
- i && T(e);
200
- }
201
- };
202
- }
203
- function ne(t) {
204
- let e, i, n, l, r, d;
205
- return {
206
- c() {
207
- e = _("div"), i = _("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 = O(), l = _("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>', w(e, "class", "ButtonsContainer");
208
- },
209
- m(C, v) {
210
- F(C, e, v), h(e, i), h(e, n), h(e, l), r || (d = [
211
- A(
212
- i,
213
- "click",
214
- /*sliderScrollLeft*/
215
- t[11]
216
- ),
217
- A(
218
- l,
219
- "click",
220
- /*sliderScrollRight*/
221
- t[12]
222
- )
223
- ], r = !0);
224
- },
225
- p: H,
226
- d(C) {
227
- C && T(e), r = !1, Te(d);
228
- }
229
- };
230
- }
231
- function Ue(t) {
232
- let e, i = (
233
- /*category*/
234
- t[41].name + ""
235
- ), n;
236
- return {
237
- c() {
238
- e = _("p"), n = q(i), w(e, "class", "CategorySlideTitle");
239
- },
240
- m(l, r) {
241
- F(l, e, r), h(e, n);
242
- },
243
- p(l, r) {
244
- r[0] & /*gameCategories*/
245
- 8 && i !== (i = /*category*/
246
- l[41].name + "") && U(n, i);
247
- },
248
- d(l) {
249
- l && T(e);
250
- }
251
- };
252
- }
253
- function qe(t) {
254
- let e, i, n;
255
- return {
256
- c() {
257
- e = _("ui-image"), x(e, "class", "CategorySlideLogo"), N(e.src, i = /*category*/
258
- t[41].icon) || x(e, "src", i), x(e, "alt", n = /*category*/
259
- t[41].name + " icon");
260
- },
261
- m(l, r) {
262
- F(l, e, r);
263
- },
264
- p(l, r) {
265
- r[0] & /*gameCategories*/
266
- 8 && !N(e.src, i = /*category*/
267
- l[41].icon) && x(e, "src", i), r[0] & /*gameCategories*/
268
- 8 && n !== (n = /*category*/
269
- l[41].name + " icon") && x(e, "alt", n);
270
- },
271
- d(l) {
272
- l && T(e);
273
- }
274
- };
275
- }
276
- function re(t) {
277
- let e, i = (
278
- /*game*/
279
- t[44].name + ""
280
- ), n, l;
281
- return {
282
- c() {
283
- e = _("p"), n = q(i), w(e, "title", l = /*game*/
284
- t[44].name);
285
- },
286
- m(r, d) {
287
- F(r, e, d), h(e, n);
288
- },
289
- p(r, d) {
290
- d[0] & /*gameCategories*/
291
- 8 && i !== (i = /*game*/
292
- r[44].name + "") && U(n, i), d[0] & /*gameCategories*/
293
- 8 && l !== (l = /*game*/
294
- r[44].name) && w(e, "title", l);
295
- },
296
- d(r) {
297
- r && T(e);
298
- }
299
- };
300
- }
301
- function ae(t) {
302
- let e, i, n, l, r, d, C, v;
303
- function k() {
304
- return (
305
- /*click_handler*/
306
- t[23](
307
- /*game*/
308
- t[44]
309
- )
310
- );
311
- }
312
- let s = (
313
- /*collectionprovidersgamenames*/
314
- t[2] == "true" && re(t)
315
- );
316
- return {
317
- c() {
318
- e = _("div"), i = _("ui-image"), r = O(), s && s.c(), d = O(), x(i, "class", "CategorySlideGameImage"), N(i.src, n = /*game*/
319
- t[44].defaultThumbnail) || x(i, "src", n), x(i, "alt", l = /*game*/
320
- t[44].name), w(e, "class", "CategorySlideGames");
321
- },
322
- m(m, a) {
323
- F(m, e, a), h(e, i), h(e, r), s && s.m(e, null), h(e, d), C || (v = A(i, "click", Fe(k)), C = !0);
324
- },
325
- p(m, a) {
326
- t = m, a[0] & /*gameCategories*/
327
- 8 && !N(i.src, n = /*game*/
328
- t[44].defaultThumbnail) && x(i, "src", n), a[0] & /*gameCategories*/
329
- 8 && l !== (l = /*game*/
330
- t[44].name) && x(i, "alt", l), /*collectionprovidersgamenames*/
331
- t[2] == "true" ? s ? s.p(t, a) : (s = re(t), s.c(), s.m(e, d)) : s && (s.d(1), s = null);
332
- },
333
- d(m) {
334
- m && T(e), s && s.d(), C = !1, v();
335
- }
336
- };
337
- }
338
- function se(t) {
339
- let e, i, n, l, r, d, C, v, k;
340
- function s(u, f) {
341
- if (
342
- /*titletype*/
343
- u[1] === "logo"
344
- )
345
- return qe;
346
- if (
347
- /*titletype*/
348
- u[1] === "title"
349
- )
350
- return Ue;
351
- }
352
- let m = s(t), a = m && m(t), c = z(
353
- /*category*/
354
- t[41].games
355
- ), g = [];
356
- for (let u = 0; u < c.length; u += 1)
357
- g[u] = ae(le(t, c, u));
358
- function p() {
359
- return (
360
- /*click_handler_1*/
361
- t[24](
362
- /*category*/
363
- t[41]
364
- )
365
- );
366
- }
367
- return {
368
- c() {
369
- var u, f;
370
- e = _("div"), i = _("div"), n = _("div"), a && a.c(), l = O(), r = _("div");
371
- for (let b = 0; b < g.length; b += 1)
372
- g[b].c();
373
- C = O(), w(n, "class", "CategorySlideTopContainer"), w(r, "class", "CategorySlideGameContainer"), w(i, "class", d = "CategorySlide " + /*category*/
374
- (((u = t[41]) == null ? void 0 : u.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), I(i, "background-image", "url(" + /*category*/
375
- ((f = t[41]) == null ? void 0 : f.background) + ")"), I(i, "background-size", "cover"), w(e, "class", "CategoriesSliderWrapper Animation");
376
- },
377
- m(u, f) {
378
- F(u, e, f), h(e, i), h(i, n), a && a.m(n, null), h(i, l), h(i, r);
379
- for (let b = 0; b < g.length; b += 1)
380
- g[b] && g[b].m(r, null);
381
- h(e, C), v || (k = A(i, "click", p), v = !0);
382
- },
383
- p(u, f) {
384
- var b, P;
385
- if (t = u, m === (m = s(t)) && a ? a.p(t, f) : (a && a.d(1), a = m && m(t), a && (a.c(), a.m(n, null))), f[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
386
- 8204) {
387
- c = z(
388
- /*category*/
389
- t[41].games
390
- );
391
- let S;
392
- for (S = 0; S < c.length; S += 1) {
393
- const B = le(t, c, S);
394
- g[S] ? g[S].p(B, f) : (g[S] = ae(B), g[S].c(), g[S].m(r, null));
395
- }
396
- for (; S < g.length; S += 1)
397
- g[S].d(1);
398
- g.length = c.length;
399
- }
400
- f[0] & /*gameCategories*/
401
- 8 && d !== (d = "CategorySlide " + /*category*/
402
- (((b = t[41]) == null ? void 0 : b.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && w(i, "class", d), f[0] & /*gameCategories*/
403
- 8 && I(i, "background-image", "url(" + /*category*/
404
- ((P = t[41]) == null ? void 0 : P.background) + ")");
405
- },
406
- d(u) {
407
- u && T(e), a && a.d(), ce(g, u), v = !1, k();
408
- }
409
- };
410
- }
411
- function Ve(t) {
412
- let e;
413
- function i(r, d) {
414
- return (
415
- /*isLoading*/
416
- r[6] ? Ie : Re
417
- );
418
- }
419
- let n = i(t), l = n(t);
420
- return {
421
- c() {
422
- e = _("div"), l.c();
423
- },
424
- m(r, d) {
425
- F(r, e, d), l.m(e, null), t[26](e);
426
- },
427
- p(r, d) {
428
- n === (n = i(r)) && l ? l.p(r, d) : (l.d(1), l = n(r), l && (l.c(), l.m(e, null)));
429
- },
430
- i: H,
431
- o: H,
432
- d(r) {
433
- r && T(e), l.d(), t[26](null);
434
- }
435
- };
436
- }
437
- function We(t, e, i) {
438
- let n;
439
- Me(t, Ae, (o) => i(10, n = o));
440
- let { endpoint: l = "" } = e, { datasource: r = "" } = e, { lang: d = "" } = e, { type: C = "" } = e, { titletype: v = "" } = e, { clientstyling: k = "" } = e, { clientstylingurl: s = "" } = e, { translationurl: m = "" } = e, { collectionprovidersgamenames: a = "" } = e, { mbsource: c } = e, g = [], p = !0, u, f = 0, b = 0, P = 0, S, B, V = 0, E = 50, R = !1, L, de = window.navigator.userAgent, W;
441
- const ge = () => {
442
- fetch(m).then((y) => y.json()).then((y) => {
443
- Object.keys(y).forEach((j) => {
444
- te(j, y[j]);
445
- });
446
- }).catch((y) => {
447
- console.log(y);
448
- });
449
- };
450
- Object.keys(ie).forEach((o) => {
451
- te(o, ie[o]);
452
- });
453
- const D = () => {
454
- const o = new URL(`${l}/v2/casino/groups/${r}`);
455
- o.searchParams.append("language", d), o.searchParams.append("expand", "games"), o.searchParams.append("filter", `$and(flags=${C})`), o.searchParams.append("pagination", `offset=${V},limit=${E}`), fetch(o.href).then((y) => y.json()).then((y) => {
456
- i(6, p = !1), y.total > E && (V += 50, E += 50, i(22, R = !0));
457
- let j = y.items.map((G) => {
458
- var Y, Q, $;
459
- return {
460
- id: G.id,
461
- name: G.name,
462
- icon: G.icon ? G.icon : ($ = (Q = (Y = G.vendors) == null ? void 0 : Y.items[0]) == null ? void 0 : Q.subVendors[0]) == null ? void 0 : $.logo,
463
- games: G.games.items.slice(0, 4).map((ye) => ye),
464
- background: G.background,
465
- flag: G.flags
466
- };
467
- });
468
- i(3, g = [...g, ...j]), i(7, b = g.length), ue();
469
- });
470
- }, ue = () => {
471
- const o = L.getRootNode().host;
472
- o.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: o } }));
473
- }, K = (o) => {
474
- var y;
475
- B = [...u.children], B.forEach((j, G) => {
476
- j.style.transform = `translateX(${100 * (o ? G - o : G)}%)`;
477
- }), S = (y = B[0]) == null ? void 0 : y.getBoundingClientRect().width, me();
478
- }, me = () => {
479
- i(8, P = Math.floor(u.clientWidth / S));
480
- }, J = () => {
481
- K(f);
482
- }, fe = () => {
483
- f === 0 ? f = b - P : f - P < -1 ? f = 0 : f--, J();
484
- }, pe = () => {
485
- f === b - P ? f = 0 : b - P < f + 1 ? f = b - P : f++, J();
486
- }, Z = (o, y, j, G) => {
487
- window.postMessage(
488
- {
489
- type: "OpenCollectionsProvidersGame",
490
- gameId: o,
491
- launchUrl: y,
492
- gameName: j,
493
- subVendor: G
494
- },
495
- window.location.href
496
- ), typeof gtag == "function" && gtag("event", "OpenGame", {
497
- context: "CollectionsProviders",
498
- gameName: `${j}`
499
- });
500
- }, X = (o) => {
501
- window.postMessage(
502
- {
503
- type: "OpenCollectionsProvidersCategory",
504
- categoryId: o
505
- },
506
- window.location.href
507
- );
508
- }, he = () => {
509
- Ne(d);
510
- };
511
- xe(() => (i(9, W = je(de)), () => {
512
- }));
513
- const ve = (o) => Z(o.gameId, o.launchUrl, o.name, o.subVendor), be = (o) => X(o.id);
514
- function _e(o) {
515
- ee[o ? "unshift" : "push"](() => {
516
- u = o, i(4, u);
517
- });
518
- }
519
- function Ce(o) {
520
- ee[o ? "unshift" : "push"](() => {
521
- L = o, i(5, L);
522
- });
523
- }
524
- return t.$$set = (o) => {
525
- "endpoint" in o && i(15, l = o.endpoint), "datasource" in o && i(16, r = o.datasource), "lang" in o && i(17, d = o.lang), "type" in o && i(0, C = o.type), "titletype" in o && i(1, v = o.titletype), "clientstyling" in o && i(18, k = o.clientstyling), "clientstylingurl" in o && i(19, s = o.clientstylingurl), "translationurl" in o && i(20, m = o.translationurl), "collectionprovidersgamenames" in o && i(2, a = o.collectionprovidersgamenames), "mbsource" in o && i(21, c = o.mbsource);
526
- }, t.$$.update = () => {
527
- t.$$.dirty[0] & /*endpoint, datasource, lang*/
528
- 229376 && l && r && d && D(), t.$$.dirty[0] & /*gameCategories, categoriesSlider*/
529
- 24 && g && u && K(), t.$$.dirty[0] & /*lang*/
530
- 131072 && d && he(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
531
- 262176 && k && L && Oe(L, k), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
532
- 524320 && s && L && Be(L, s), t.$$.dirty[0] & /*customStylingContainer, mbsource*/
533
- 2097184 && L && He(L, `${c}.Style`), t.$$.dirty[0] & /*translationurl*/
534
- 1048576 && m && ge(), t.$$.dirty[0] & /*paginationrequired*/
535
- 4194304 && R && D();
536
- }, [
537
- C,
538
- v,
539
- a,
540
- g,
541
- u,
542
- L,
543
- p,
544
- b,
545
- P,
546
- W,
547
- n,
548
- fe,
549
- pe,
550
- Z,
551
- X,
552
- l,
553
- r,
554
- d,
555
- k,
556
- s,
557
- m,
558
- c,
559
- R,
560
- ve,
561
- be,
562
- _e,
563
- Ce
564
- ];
565
- }
566
- class De extends ke {
567
- constructor(e) {
568
- super(), Ge(
569
- this,
570
- e,
571
- We,
572
- Ve,
573
- Pe,
574
- {
575
- endpoint: 15,
576
- datasource: 16,
577
- lang: 17,
578
- type: 0,
579
- titletype: 1,
580
- clientstyling: 18,
581
- clientstylingurl: 19,
582
- translationurl: 20,
583
- collectionprovidersgamenames: 2,
584
- mbsource: 21
585
- },
586
- Ee,
587
- [-1, -1]
588
- );
589
- }
590
- get endpoint() {
591
- return this.$$.ctx[15];
592
- }
593
- set endpoint(e) {
594
- this.$$set({ endpoint: e }), M();
595
- }
596
- get datasource() {
597
- return this.$$.ctx[16];
598
- }
599
- set datasource(e) {
600
- this.$$set({ datasource: e }), M();
601
- }
602
- get lang() {
603
- return this.$$.ctx[17];
604
- }
605
- set lang(e) {
606
- this.$$set({ lang: e }), M();
607
- }
608
- get type() {
609
- return this.$$.ctx[0];
610
- }
611
- set type(e) {
612
- this.$$set({ type: e }), M();
613
- }
614
- get titletype() {
615
- return this.$$.ctx[1];
616
- }
617
- set titletype(e) {
618
- this.$$set({ titletype: e }), M();
619
- }
620
- get clientstyling() {
621
- return this.$$.ctx[18];
622
- }
623
- set clientstyling(e) {
624
- this.$$set({ clientstyling: e }), M();
625
- }
626
- get clientstylingurl() {
627
- return this.$$.ctx[19];
628
- }
629
- set clientstylingurl(e) {
630
- this.$$set({ clientstylingurl: e }), M();
631
- }
632
- get translationurl() {
633
- return this.$$.ctx[20];
634
- }
635
- set translationurl(e) {
636
- this.$$set({ translationurl: e }), M();
637
- }
638
- get collectionprovidersgamenames() {
639
- return this.$$.ctx[2];
640
- }
641
- set collectionprovidersgamenames(e) {
642
- this.$$set({ collectionprovidersgamenames: e }), M();
643
- }
644
- get mbsource() {
645
- return this.$$.ctx[21];
646
- }
647
- set mbsource(e) {
648
- this.$$set({ mbsource: e }), M();
649
- }
650
- }
651
- ze(De, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
652
- export {
653
- De as default
654
- };