@everymatrix/casino-lobby 1.42.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,556 @@
1
+ import { a as $, $ as ee, S as te, i as ae, f as l, c as se, s as ie, b as ne, e as k, v as q, d as A, w as K, D as I, j as M, k as le, o as re, n as oe, L as ge, M as ue, N as ce, O as i, u as me, B as de, F as fe, K as he } from "./CasinoCalendar-wabXB62Y.js";
2
+ import "./CasinoFavoritesSection-Da-NSsar.js";
3
+ function J(s, e) {
4
+ $(s, e);
5
+ }
6
+ function ye(s) {
7
+ ee.set(s);
8
+ }
9
+ const H = {
10
+ en: {
11
+ noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
12
+ },
13
+ de: {
14
+ noRecentGames: "Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."
15
+ },
16
+ es: {
17
+ noRecentGames: "No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."
18
+ },
19
+ hr: {
20
+ noRecentGames: "Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."
21
+ },
22
+ "pt-br": {
23
+ noRecentGames: "Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."
24
+ },
25
+ "es-mx": {
26
+ noRecentGames: "Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."
27
+ },
28
+ tr: {
29
+ noRecentGames: "Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."
30
+ },
31
+ "en-us": {
32
+ noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
33
+ }
34
+ };
35
+ function be(s) {
36
+ ne(s, "svelte-w4ziup", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
37
+ }
38
+ function ve(s) {
39
+ let e;
40
+ return {
41
+ c() {
42
+ e = k("casino-games-category-section"), i(
43
+ e,
44
+ "session",
45
+ /*session*/
46
+ s[4]
47
+ ), i(
48
+ e,
49
+ "userid",
50
+ /*userid*/
51
+ s[5]
52
+ ), i(
53
+ e,
54
+ "endpoint",
55
+ /*endpoint*/
56
+ s[0]
57
+ ), i(
58
+ e,
59
+ "datasource",
60
+ /*datasource*/
61
+ s[1]
62
+ ), i(
63
+ e,
64
+ "lang",
65
+ /*lang*/
66
+ s[3]
67
+ ), i(
68
+ e,
69
+ "currency",
70
+ /*currency*/
71
+ s[2]
72
+ ), i(
73
+ e,
74
+ "favorites",
75
+ /*favorites*/
76
+ s[14]
77
+ ), i(
78
+ e,
79
+ "fetchviaevent",
80
+ /*fetchviaevent*/
81
+ s[16]
82
+ ), i(e, "categoryid", "LASTPLAYED"), i(e, "categoryindex", "1"), i(e, "categorygames", "9"), i(e, "class", "CategoryContainer"), i(
83
+ e,
84
+ "showgamename",
85
+ /*showgamename*/
86
+ s[12]
87
+ ), i(
88
+ e,
89
+ "clientstyling",
90
+ /*clientstyling*/
91
+ s[6]
92
+ ), i(
93
+ e,
94
+ "clientstylingurl",
95
+ /*clientstylingurl*/
96
+ s[7]
97
+ ), i(
98
+ e,
99
+ "livecasino",
100
+ /*livecasino*/
101
+ s[8]
102
+ ), i(
103
+ e,
104
+ "visiblegames",
105
+ /*visiblegames*/
106
+ s[13]
107
+ ), i(
108
+ e,
109
+ "gamepagemodalurl",
110
+ /*gamepagemodalurl*/
111
+ s[11]
112
+ ), i(
113
+ e,
114
+ "integratedgameframedesktop",
115
+ /*integratedgameframedesktop*/
116
+ s[10]
117
+ ), i(
118
+ e,
119
+ "integratedgameframemobile",
120
+ /*integratedgameframemobile*/
121
+ s[9]
122
+ ), i(
123
+ e,
124
+ "casinomygames",
125
+ /*casinomygames*/
126
+ s[15]
127
+ );
128
+ },
129
+ m(t, n) {
130
+ A(t, e, n);
131
+ },
132
+ p(t, n) {
133
+ n[0] & /*session*/
134
+ 16 && i(
135
+ e,
136
+ "session",
137
+ /*session*/
138
+ t[4]
139
+ ), n[0] & /*userid*/
140
+ 32 && i(
141
+ e,
142
+ "userid",
143
+ /*userid*/
144
+ t[5]
145
+ ), n[0] & /*endpoint*/
146
+ 1 && i(
147
+ e,
148
+ "endpoint",
149
+ /*endpoint*/
150
+ t[0]
151
+ ), n[0] & /*datasource*/
152
+ 2 && i(
153
+ e,
154
+ "datasource",
155
+ /*datasource*/
156
+ t[1]
157
+ ), n[0] & /*lang*/
158
+ 8 && i(
159
+ e,
160
+ "lang",
161
+ /*lang*/
162
+ t[3]
163
+ ), n[0] & /*currency*/
164
+ 4 && i(
165
+ e,
166
+ "currency",
167
+ /*currency*/
168
+ t[2]
169
+ ), n[0] & /*favorites*/
170
+ 16384 && i(
171
+ e,
172
+ "favorites",
173
+ /*favorites*/
174
+ t[14]
175
+ ), n[0] & /*fetchviaevent*/
176
+ 65536 && i(
177
+ e,
178
+ "fetchviaevent",
179
+ /*fetchviaevent*/
180
+ t[16]
181
+ ), n[0] & /*showgamename*/
182
+ 4096 && i(
183
+ e,
184
+ "showgamename",
185
+ /*showgamename*/
186
+ t[12]
187
+ ), n[0] & /*clientstyling*/
188
+ 64 && i(
189
+ e,
190
+ "clientstyling",
191
+ /*clientstyling*/
192
+ t[6]
193
+ ), n[0] & /*clientstylingurl*/
194
+ 128 && i(
195
+ e,
196
+ "clientstylingurl",
197
+ /*clientstylingurl*/
198
+ t[7]
199
+ ), n[0] & /*livecasino*/
200
+ 256 && i(
201
+ e,
202
+ "livecasino",
203
+ /*livecasino*/
204
+ t[8]
205
+ ), n[0] & /*visiblegames*/
206
+ 8192 && i(
207
+ e,
208
+ "visiblegames",
209
+ /*visiblegames*/
210
+ t[13]
211
+ ), n[0] & /*gamepagemodalurl*/
212
+ 2048 && i(
213
+ e,
214
+ "gamepagemodalurl",
215
+ /*gamepagemodalurl*/
216
+ t[11]
217
+ ), n[0] & /*integratedgameframedesktop*/
218
+ 1024 && i(
219
+ e,
220
+ "integratedgameframedesktop",
221
+ /*integratedgameframedesktop*/
222
+ t[10]
223
+ ), n[0] & /*integratedgameframemobile*/
224
+ 512 && i(
225
+ e,
226
+ "integratedgameframemobile",
227
+ /*integratedgameframemobile*/
228
+ t[9]
229
+ ), n[0] & /*casinomygames*/
230
+ 32768 && i(
231
+ e,
232
+ "casinomygames",
233
+ /*casinomygames*/
234
+ t[15]
235
+ );
236
+ },
237
+ d(t) {
238
+ t && M(e);
239
+ }
240
+ };
241
+ }
242
+ function we(s) {
243
+ let e, t = (
244
+ /*$_*/
245
+ s[19]("noRecentGames") + ""
246
+ ), n;
247
+ return {
248
+ c() {
249
+ e = k("p"), n = me(t), q(e, "class", "SearchLoading");
250
+ },
251
+ m(o, r) {
252
+ A(o, e, r), K(e, n);
253
+ },
254
+ p(o, r) {
255
+ r[0] & /*$_*/
256
+ 524288 && t !== (t = /*$_*/
257
+ o[19]("noRecentGames") + "") && de(n, t);
258
+ },
259
+ d(o) {
260
+ o && M(e);
261
+ }
262
+ };
263
+ }
264
+ function _e(s) {
265
+ let e, t;
266
+ function n(c, d) {
267
+ return (
268
+ /*lastPlayedEmpty*/
269
+ c[18] ? we : ve
270
+ );
271
+ }
272
+ let o = n(s), r = o(s);
273
+ return {
274
+ c() {
275
+ e = k("div"), t = k("div"), r.c(), q(t, "class", "CasinoLastPlayedSection"), q(e, "class", "CasinoGamesCategorySectionContainer");
276
+ },
277
+ m(c, d) {
278
+ A(c, e, d), K(e, t), r.m(t, null), s[25](e);
279
+ },
280
+ p(c, d) {
281
+ o === (o = n(c)) && r ? r.p(c, d) : (r.d(1), r = o(c), r && (r.c(), r.m(t, null)));
282
+ },
283
+ i: I,
284
+ o: I,
285
+ d(c) {
286
+ c && M(e), r.d(), s[25](null);
287
+ }
288
+ };
289
+ }
290
+ function ke(s, e, t) {
291
+ let n;
292
+ le(s, fe, (a) => t(19, n = a));
293
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: c = "" } = e, { lang: d = "" } = e, { session: D = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: L = "" } = e, { translationurl: v = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: N = "false" } = e, { gamepagemodalurl: z = "false" } = e, { showgamename: E = "" } = e, { visiblegames: P = "" } = e, { favorites: O = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: S = "" } = e, { lastplayedlimit: j = "" } = e, { casinomygames: G = "false" } = e, { lastplayedunique: R = "true" } = e, { fetchviaevent: T = "true" } = e, V = window.navigator.userAgent, U = !1, _ = [], Y, f;
294
+ const Z = () => {
295
+ fetch(v).then((m) => m.json()).then((m) => {
296
+ Object.keys(m).forEach((g) => {
297
+ J(g, m[g]);
298
+ });
299
+ }).catch((m) => {
300
+ console.log(m);
301
+ });
302
+ };
303
+ Object.keys(H).forEach((a) => {
304
+ J(a, H[a]);
305
+ });
306
+ const Q = () => new Promise((a, m) => {
307
+ let g = new URL(`${o}/v1/player/${y}/games/last-played`);
308
+ g.searchParams.append("unique", R), g.searchParams.append("limit", j), g.searchParams.append("order", S), g.searchParams.append("period", C), he(V) === "PC" ? g.searchParams.append("device", "Desktop") : g.searchParams.append("device", "Mobile"), Y = w ? g : g.href, fetch(Y).then((u) => u.json()).then((u) => {
309
+ u.items = u.items.filter((x) => {
310
+ let B = !0;
311
+ return x.gameCode == "OddsMatrix2" && (u.count--, B = !1), B;
312
+ }), a(u), window.postMessage(
313
+ {
314
+ type: "AddNewCategory",
315
+ category: { name: "Last Played", id: "LASTPLAYED" }
316
+ },
317
+ window.location.href
318
+ ), window.postMessage({ type: "LastPlayedGames", data: u }, window.location.href);
319
+ }).catch((u) => {
320
+ console.error(u), m(u);
321
+ });
322
+ }), W = () => {
323
+ Q().then((a) => {
324
+ if (a.count > 0) {
325
+ let m = [];
326
+ a.items.forEach((g) => {
327
+ let h = new URL(`${o}/v1/casino/games/${g.gameId}`);
328
+ h.searchParams.append("datasource", r), w ? m.push(fetch(h.href).then((u) => u.json())) : m.push(fetch(h.href).then((u) => u.json()));
329
+ }), Promise.all(m).then((g) => {
330
+ _ = g.filter((h) => !("error" in h)).map((h) => h[0]), G === "true" && (_ = _.slice(0, JSON.parse(P))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: _ }, window.location.href);
331
+ });
332
+ } else
333
+ t(18, U = !0);
334
+ });
335
+ }, X = () => {
336
+ ye(d);
337
+ };
338
+ re(() => () => {
339
+ });
340
+ function p(a) {
341
+ oe[a ? "unshift" : "push"](() => {
342
+ f = a, t(17, f);
343
+ });
344
+ }
345
+ return s.$$set = (a) => {
346
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, c = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, D = a.session), "userid" in a && t(5, y = a.userid), "clientstyling" in a && t(6, b = a.clientstyling), "clientstylingurl" in a && t(7, L = a.clientstylingurl), "translationurl" in a && t(20, v = a.translationurl), "livecasino" in a && t(8, w = a.livecasino), "integratedgameframemobile" in a && t(9, F = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(10, N = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(11, z = a.gamepagemodalurl), "showgamename" in a && t(12, E = a.showgamename), "visiblegames" in a && t(13, P = a.visiblegames), "favorites" in a && t(14, O = a.favorites), "lastplayedperiod" in a && t(21, C = a.lastplayedperiod), "lastplayedorder" in a && t(22, S = a.lastplayedorder), "lastplayedlimit" in a && t(23, j = a.lastplayedlimit), "casinomygames" in a && t(15, G = a.casinomygames), "lastplayedunique" in a && t(24, R = a.lastplayedunique), "fetchviaevent" in a && t(16, T = a.fetchviaevent);
347
+ }, s.$$.update = () => {
348
+ s.$$.dirty[0] & /*endpoint, userid, lang*/
349
+ 41 && o && y && d && W(), s.$$.dirty[0] & /*translationurl*/
350
+ 1048576 && v && Z(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
351
+ 131136 && b && f && ge(f, b), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
352
+ 131200 && L && f && ue(f), s.$$.dirty[0] & /*customStylingContainer*/
353
+ 131072 && f && ce(f, "Casino.Style"), s.$$.dirty[0] & /*lang*/
354
+ 8 && d && X();
355
+ }, [
356
+ o,
357
+ r,
358
+ c,
359
+ d,
360
+ D,
361
+ y,
362
+ b,
363
+ L,
364
+ w,
365
+ F,
366
+ N,
367
+ z,
368
+ E,
369
+ P,
370
+ O,
371
+ G,
372
+ T,
373
+ f,
374
+ U,
375
+ n,
376
+ v,
377
+ C,
378
+ S,
379
+ j,
380
+ R,
381
+ p
382
+ ];
383
+ }
384
+ class Le extends te {
385
+ constructor(e) {
386
+ super(), ae(
387
+ this,
388
+ e,
389
+ ke,
390
+ _e,
391
+ ie,
392
+ {
393
+ endpoint: 0,
394
+ datasource: 1,
395
+ currency: 2,
396
+ lang: 3,
397
+ session: 4,
398
+ userid: 5,
399
+ clientstyling: 6,
400
+ clientstylingurl: 7,
401
+ translationurl: 20,
402
+ livecasino: 8,
403
+ integratedgameframemobile: 9,
404
+ integratedgameframedesktop: 10,
405
+ gamepagemodalurl: 11,
406
+ showgamename: 12,
407
+ visiblegames: 13,
408
+ favorites: 14,
409
+ lastplayedperiod: 21,
410
+ lastplayedorder: 22,
411
+ lastplayedlimit: 23,
412
+ casinomygames: 15,
413
+ lastplayedunique: 24,
414
+ fetchviaevent: 16
415
+ },
416
+ be,
417
+ [-1, -1]
418
+ );
419
+ }
420
+ get endpoint() {
421
+ return this.$$.ctx[0];
422
+ }
423
+ set endpoint(e) {
424
+ this.$$set({ endpoint: e }), l();
425
+ }
426
+ get datasource() {
427
+ return this.$$.ctx[1];
428
+ }
429
+ set datasource(e) {
430
+ this.$$set({ datasource: e }), l();
431
+ }
432
+ get currency() {
433
+ return this.$$.ctx[2];
434
+ }
435
+ set currency(e) {
436
+ this.$$set({ currency: e }), l();
437
+ }
438
+ get lang() {
439
+ return this.$$.ctx[3];
440
+ }
441
+ set lang(e) {
442
+ this.$$set({ lang: e }), l();
443
+ }
444
+ get session() {
445
+ return this.$$.ctx[4];
446
+ }
447
+ set session(e) {
448
+ this.$$set({ session: e }), l();
449
+ }
450
+ get userid() {
451
+ return this.$$.ctx[5];
452
+ }
453
+ set userid(e) {
454
+ this.$$set({ userid: e }), l();
455
+ }
456
+ get clientstyling() {
457
+ return this.$$.ctx[6];
458
+ }
459
+ set clientstyling(e) {
460
+ this.$$set({ clientstyling: e }), l();
461
+ }
462
+ get clientstylingurl() {
463
+ return this.$$.ctx[7];
464
+ }
465
+ set clientstylingurl(e) {
466
+ this.$$set({ clientstylingurl: e }), l();
467
+ }
468
+ get translationurl() {
469
+ return this.$$.ctx[20];
470
+ }
471
+ set translationurl(e) {
472
+ this.$$set({ translationurl: e }), l();
473
+ }
474
+ get livecasino() {
475
+ return this.$$.ctx[8];
476
+ }
477
+ set livecasino(e) {
478
+ this.$$set({ livecasino: e }), l();
479
+ }
480
+ get integratedgameframemobile() {
481
+ return this.$$.ctx[9];
482
+ }
483
+ set integratedgameframemobile(e) {
484
+ this.$$set({ integratedgameframemobile: e }), l();
485
+ }
486
+ get integratedgameframedesktop() {
487
+ return this.$$.ctx[10];
488
+ }
489
+ set integratedgameframedesktop(e) {
490
+ this.$$set({ integratedgameframedesktop: e }), l();
491
+ }
492
+ get gamepagemodalurl() {
493
+ return this.$$.ctx[11];
494
+ }
495
+ set gamepagemodalurl(e) {
496
+ this.$$set({ gamepagemodalurl: e }), l();
497
+ }
498
+ get showgamename() {
499
+ return this.$$.ctx[12];
500
+ }
501
+ set showgamename(e) {
502
+ this.$$set({ showgamename: e }), l();
503
+ }
504
+ get visiblegames() {
505
+ return this.$$.ctx[13];
506
+ }
507
+ set visiblegames(e) {
508
+ this.$$set({ visiblegames: e }), l();
509
+ }
510
+ get favorites() {
511
+ return this.$$.ctx[14];
512
+ }
513
+ set favorites(e) {
514
+ this.$$set({ favorites: e }), l();
515
+ }
516
+ get lastplayedperiod() {
517
+ return this.$$.ctx[21];
518
+ }
519
+ set lastplayedperiod(e) {
520
+ this.$$set({ lastplayedperiod: e }), l();
521
+ }
522
+ get lastplayedorder() {
523
+ return this.$$.ctx[22];
524
+ }
525
+ set lastplayedorder(e) {
526
+ this.$$set({ lastplayedorder: e }), l();
527
+ }
528
+ get lastplayedlimit() {
529
+ return this.$$.ctx[23];
530
+ }
531
+ set lastplayedlimit(e) {
532
+ this.$$set({ lastplayedlimit: e }), l();
533
+ }
534
+ get casinomygames() {
535
+ return this.$$.ctx[15];
536
+ }
537
+ set casinomygames(e) {
538
+ this.$$set({ casinomygames: e }), l();
539
+ }
540
+ get lastplayedunique() {
541
+ return this.$$.ctx[24];
542
+ }
543
+ set lastplayedunique(e) {
544
+ this.$$set({ lastplayedunique: e }), l();
545
+ }
546
+ get fetchviaevent() {
547
+ return this.$$.ctx[16];
548
+ }
549
+ set fetchviaevent(e) {
550
+ this.$$set({ fetchviaevent: e }), l();
551
+ }
552
+ }
553
+ se(Le, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
554
+ export {
555
+ Le as default
556
+ };