@everymatrix/casino-page-nd 1.55.0 → 1.56.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 (94) hide show
  1. package/components/CasinoCalendar-BUWW4Xzj.cjs +6 -0
  2. package/components/{CasinoCalendar-C1drIkmy.js → CasinoCalendar-DwKH1vl3.js} +1101 -1101
  3. package/components/{CasinoCalendar-Dp2YIBXE.js → CasinoCalendar-tMtCN0uW.js} +960 -960
  4. package/components/CasinoCalendarDailyDetails-B1yNq5WP.cjs +1 -0
  5. package/components/CasinoCalendarDailyDetails-BP_ANGdX.js +693 -0
  6. package/components/CasinoCalendarDailyDetails-CehhK4Vt.js +693 -0
  7. package/components/CasinoCalendarDailyItem-C08Z_td-.cjs +1 -0
  8. package/components/CasinoCalendarDailyItem-Cf-elj80.js +306 -0
  9. package/components/CasinoCalendarDailyItem-DE7Q_O2x.js +306 -0
  10. package/components/CasinoCollectionsProviders-C0mIOrt5.cjs +1 -0
  11. package/components/{CasinoCollectionsProviders-BzqyvgJV.js → CasinoCollectionsProviders-DoRepmON.js} +54 -54
  12. package/components/{CasinoCollectionsProviders-CSskAm-D.js → CasinoCollectionsProviders-Yt2ApEP5.js} +52 -52
  13. package/components/{CasinoFavoritesSectionNd-pNJTskAC.js → CasinoFavoritesSectionNd-B02g5uyD.js} +150 -143
  14. package/components/{CasinoFavoritesSectionNd-CuDySzEb.js → CasinoFavoritesSectionNd-Bza8UQ0r.js} +150 -143
  15. package/components/CasinoFavoritesSectionNd-CnSYWIJi.cjs +1 -0
  16. package/components/CasinoFilter-BYz1zKUs.cjs +1 -0
  17. package/components/{CasinoFilter-Bm5nGmim.js → CasinoFilter-BbKgy4VX.js} +246 -247
  18. package/components/{CasinoFilter-xEI9NRP7.js → CasinoFilter-Cb7FySTm.js} +235 -234
  19. package/components/{CasinoGameThumbnailNd-D2UjvU5o.js → CasinoGameThumbnailNd-6P122Pbb.js} +1330 -1333
  20. package/components/CasinoGameThumbnailNd-DlUJ8jo8.cjs +39 -0
  21. package/components/{CasinoGameThumbnailNd-DZ5EJquh.js → CasinoGameThumbnailNd-Dtq6Pf7M.js} +1330 -1333
  22. package/components/{CasinoGamesCategorySectionNd-BgeZaX3s.js → CasinoGamesCategorySectionNd-C1OvVakY.js} +1099 -1100
  23. package/components/CasinoGamesCategorySectionNd-C1iO2_SR.cjs +1 -0
  24. package/components/CasinoGamesCategorySectionNd-vmZnCjR8.js +3056 -0
  25. package/components/{CasinoJackpotBanner-rIlKc9yB.js → CasinoJackpotBanner-BaqwOwIt.js} +146 -144
  26. package/components/CasinoJackpotBanner-DZZsX8IW.cjs +1 -0
  27. package/components/{CasinoJackpotBanner-BIHc0ZJN.js → CasinoJackpotBanner-Dnu1YGvy.js} +149 -147
  28. package/components/CasinoLastPlayedSectionNd-CYoHFQEu.js +575 -0
  29. package/components/CasinoLastPlayedSectionNd-D-71OOLA.cjs +1 -0
  30. package/components/CasinoLastPlayedSectionNd-DVAEB9Kf.js +575 -0
  31. package/components/{CasinoMostPlayedSectionNd-6T1QffJK.js → CasinoMostPlayedSectionNd-Ce4mFMX2.js} +170 -161
  32. package/components/{CasinoMostPlayedSectionNd-BZLYBtpa.js → CasinoMostPlayedSectionNd-Comi_0uw.js} +170 -161
  33. package/components/CasinoMostPlayedSectionNd-DOFhn6t3.cjs +1 -0
  34. package/components/{CasinoMyGamesNd-ddeJWUGs.js → CasinoMyGamesNd-C2159D_C.js} +498 -469
  35. package/components/{CasinoMyGamesNd-C1mKXnRw.js → CasinoMyGamesNd-CI-YgB5L.js} +499 -468
  36. package/components/CasinoMyGamesNd-Do0Jd4Yy.cjs +1 -0
  37. package/components/{CasinoPageNd-tLjlJcsj.js → CasinoPageNd-CHw9KY4G.js} +1319 -1160
  38. package/components/{CasinoPageNd-C2L_-oKQ.js → CasinoPageNd-Cl9m0NgT.js} +1312 -1153
  39. package/components/CasinoPageNd-q_CaW-NM.cjs +1 -0
  40. package/components/{CasinoRandomGame-XLB_bCSb.cjs → CasinoRandomGame-B2FGgsW1.cjs} +2 -2
  41. package/components/{CasinoRandomGame-BB1xnS-3.js → CasinoRandomGame-D9BEuIS2.js} +60 -60
  42. package/components/{CasinoRandomGame-Os6RvrQW.js → CasinoRandomGame-T1GVZYOt.js} +60 -60
  43. package/components/{CasinoSearchNd-DQqoQRhE.js → CasinoSearchNd-8l70r1-j.js} +482 -477
  44. package/components/{CasinoSearchNd-CG9DW_9F.js → CasinoSearchNd-DI3QD6gc.js} +446 -437
  45. package/components/CasinoSearchNd-r3Xsk168.cjs +1 -0
  46. package/components/CasinoSort-BmkqSaqQ.cjs +1 -0
  47. package/components/CasinoSort-BwNRVsYT.js +427 -0
  48. package/components/CasinoSort-DykEVPy1.js +428 -0
  49. package/components/{CasinoWinners-CGsgZ7OE.cjs → CasinoWinners-4fX-Jkcx.cjs} +1 -1
  50. package/components/{CasinoWinners-DNTYhXqC.js → CasinoWinners-DbNw8Ecj.js} +151 -151
  51. package/components/{CasinoWinners-BhzxeUZ8.js → CasinoWinners-Dn6mLcJT.js} +171 -171
  52. package/components/GeneralAnimationLoading-C3AulHDZ.js +84 -0
  53. package/components/GeneralAnimationLoading-CKfD84TR.js +84 -0
  54. package/components/GeneralAnimationLoading-D4L1aOk8.cjs +1 -0
  55. package/es2015/casino-page-nd.cjs +1 -1
  56. package/es2015/casino-page-nd.js +1 -1
  57. package/esnext/casino-page-nd.js +1 -1
  58. package/package.json +1 -1
  59. package/stencil/{casino-play-random-game-B5g4-G4Z.js → casino-play-random-game-CBXhEsCq.js} +55 -30
  60. package/stencil/{casino-play-random-game-Cphp76Jq.js → casino-play-random-game-PZXnDzfs.js} +74 -49
  61. package/stencil/{casino-play-random-game-CQe5iDJ8.cjs → casino-play-random-game-y8flXwPv.cjs} +2 -2
  62. package/stencil/index-29915e18-B3XYTzEC.cjs +1 -0
  63. package/stencil/index-29915e18-CQ_kWzEh.js +630 -0
  64. package/stencil/index-29915e18-MPiqo7vY.js +646 -0
  65. package/components/CasinoCalendar-hlupOGnG.cjs +0 -6
  66. package/components/CasinoCalendarDailyDetails-BVWbjQFD.js +0 -701
  67. package/components/CasinoCalendarDailyDetails-CUTyAice.cjs +0 -1
  68. package/components/CasinoCalendarDailyDetails-D7SMZkT6.js +0 -701
  69. package/components/CasinoCalendarDailyItem-BTxF_iOC.js +0 -315
  70. package/components/CasinoCalendarDailyItem-CSD4crn_.cjs +0 -1
  71. package/components/CasinoCalendarDailyItem-Cpx3YOPg.js +0 -315
  72. package/components/CasinoCollectionsProviders-CAOXt4qM.cjs +0 -1
  73. package/components/CasinoFavoritesSectionNd-247dKDFC.cjs +0 -1
  74. package/components/CasinoFilter-Dca8BAHj.cjs +0 -1
  75. package/components/CasinoGameThumbnailNd-BfWisWyd.cjs +0 -39
  76. package/components/CasinoGamesCategorySectionNd-B-A_G5UN.cjs +0 -1
  77. package/components/CasinoGamesCategorySectionNd-ma7TF55B.js +0 -3003
  78. package/components/CasinoJackpotBanner-C7IpKgXw.cjs +0 -1
  79. package/components/CasinoLastPlayedSectionNd-5kInnaFM.js +0 -566
  80. package/components/CasinoLastPlayedSectionNd-BvnsjzpW.cjs +0 -1
  81. package/components/CasinoLastPlayedSectionNd-D5LPHn4E.js +0 -566
  82. package/components/CasinoMostPlayedSectionNd-BTglRQ5Z.cjs +0 -1
  83. package/components/CasinoMyGamesNd-Cy4rvXQw.cjs +0 -1
  84. package/components/CasinoPageNd-CRr4o1nm.cjs +0 -1
  85. package/components/CasinoSearchNd-BFH_Q8-4.cjs +0 -1
  86. package/components/CasinoSort-85kTtPeQ.cjs +0 -1
  87. package/components/CasinoSort-B6tKDPof.js +0 -428
  88. package/components/CasinoSort-D05yyakn.js +0 -427
  89. package/components/GeneralAnimationLoading--i35RrmV.cjs +0 -1
  90. package/components/GeneralAnimationLoading-BTpSb-no.js +0 -75
  91. package/components/GeneralAnimationLoading-DUpN0ANa.js +0 -75
  92. package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
  93. package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
  94. package/stencil/index-eac6b960-Dvyvd5zP.js +0 -563
@@ -0,0 +1,575 @@
1
+ import { a as ee, $ as te, S as ae, i as se, s as ie, f as l, b as ne, n as H, d as M, h as D, p as Z, j as P, r as A, k as le, o as re, C as oe, m as ue, q as ce, T as i, U as me, I as ge, J as de, K as fe, L as he, M as ye } from "./CasinoCalendar-tMtCN0uW.js";
2
+ import "./CasinoFavoritesSectionNd-Bza8UQ0r.js";
3
+ function K(s, e) {
4
+ ee(s, e);
5
+ }
6
+ function be(s) {
7
+ te.set(s);
8
+ }
9
+ const V = {
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 ve(s) {
36
+ ne(s, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.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 we(s) {
39
+ let e;
40
+ return {
41
+ c() {
42
+ e = P("casino-games-category-section-nd"), 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[15]
77
+ ), i(
78
+ e,
79
+ "fetchviaevent",
80
+ /*fetchviaevent*/
81
+ s[17]
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[13]
87
+ ), i(
88
+ e,
89
+ "clientstyling",
90
+ /*clientstyling*/
91
+ s[7]
92
+ ), i(
93
+ e,
94
+ "clientstylingurl",
95
+ /*clientstylingurl*/
96
+ s[8]
97
+ ), i(
98
+ e,
99
+ "livecasino",
100
+ /*livecasino*/
101
+ s[9]
102
+ ), i(
103
+ e,
104
+ "visiblegames",
105
+ /*visiblegames*/
106
+ s[14]
107
+ ), i(
108
+ e,
109
+ "gamepagemodalurl",
110
+ /*gamepagemodalurl*/
111
+ s[12]
112
+ ), i(
113
+ e,
114
+ "integratedgameframedesktop",
115
+ /*integratedgameframedesktop*/
116
+ s[11]
117
+ ), i(
118
+ e,
119
+ "integratedgameframemobile",
120
+ /*integratedgameframemobile*/
121
+ s[10]
122
+ ), i(
123
+ e,
124
+ "casinomygames",
125
+ /*casinomygames*/
126
+ s[16]
127
+ ), i(
128
+ e,
129
+ "mbsource",
130
+ /*mbsource*/
131
+ s[6]
132
+ );
133
+ },
134
+ m(t, n) {
135
+ D(t, e, n);
136
+ },
137
+ p(t, n) {
138
+ n[0] & /*session*/
139
+ 16 && i(
140
+ e,
141
+ "session",
142
+ /*session*/
143
+ t[4]
144
+ ), n[0] & /*userid*/
145
+ 32 && i(
146
+ e,
147
+ "userid",
148
+ /*userid*/
149
+ t[5]
150
+ ), n[0] & /*endpoint*/
151
+ 1 && i(
152
+ e,
153
+ "endpoint",
154
+ /*endpoint*/
155
+ t[0]
156
+ ), n[0] & /*datasource*/
157
+ 2 && i(
158
+ e,
159
+ "datasource",
160
+ /*datasource*/
161
+ t[1]
162
+ ), n[0] & /*lang*/
163
+ 8 && i(
164
+ e,
165
+ "lang",
166
+ /*lang*/
167
+ t[3]
168
+ ), n[0] & /*currency*/
169
+ 4 && i(
170
+ e,
171
+ "currency",
172
+ /*currency*/
173
+ t[2]
174
+ ), n[0] & /*favorites*/
175
+ 32768 && i(
176
+ e,
177
+ "favorites",
178
+ /*favorites*/
179
+ t[15]
180
+ ), n[0] & /*fetchviaevent*/
181
+ 131072 && i(
182
+ e,
183
+ "fetchviaevent",
184
+ /*fetchviaevent*/
185
+ t[17]
186
+ ), n[0] & /*showgamename*/
187
+ 8192 && i(
188
+ e,
189
+ "showgamename",
190
+ /*showgamename*/
191
+ t[13]
192
+ ), n[0] & /*clientstyling*/
193
+ 128 && i(
194
+ e,
195
+ "clientstyling",
196
+ /*clientstyling*/
197
+ t[7]
198
+ ), n[0] & /*clientstylingurl*/
199
+ 256 && i(
200
+ e,
201
+ "clientstylingurl",
202
+ /*clientstylingurl*/
203
+ t[8]
204
+ ), n[0] & /*livecasino*/
205
+ 512 && i(
206
+ e,
207
+ "livecasino",
208
+ /*livecasino*/
209
+ t[9]
210
+ ), n[0] & /*visiblegames*/
211
+ 16384 && i(
212
+ e,
213
+ "visiblegames",
214
+ /*visiblegames*/
215
+ t[14]
216
+ ), n[0] & /*gamepagemodalurl*/
217
+ 4096 && i(
218
+ e,
219
+ "gamepagemodalurl",
220
+ /*gamepagemodalurl*/
221
+ t[12]
222
+ ), n[0] & /*integratedgameframedesktop*/
223
+ 2048 && i(
224
+ e,
225
+ "integratedgameframedesktop",
226
+ /*integratedgameframedesktop*/
227
+ t[11]
228
+ ), n[0] & /*integratedgameframemobile*/
229
+ 1024 && i(
230
+ e,
231
+ "integratedgameframemobile",
232
+ /*integratedgameframemobile*/
233
+ t[10]
234
+ ), n[0] & /*casinomygames*/
235
+ 65536 && i(
236
+ e,
237
+ "casinomygames",
238
+ /*casinomygames*/
239
+ t[16]
240
+ ), n[0] & /*mbsource*/
241
+ 64 && i(
242
+ e,
243
+ "mbsource",
244
+ /*mbsource*/
245
+ t[6]
246
+ );
247
+ },
248
+ d(t) {
249
+ t && M(e);
250
+ }
251
+ };
252
+ }
253
+ function _e(s) {
254
+ let e, t = (
255
+ /*$_*/
256
+ s[20]("noRecentGames") + ""
257
+ ), n;
258
+ return {
259
+ c() {
260
+ e = P("p"), n = ce(t), A(e, "class", "SearchLoading");
261
+ },
262
+ m(o, r) {
263
+ D(o, e, r), Z(e, n);
264
+ },
265
+ p(o, r) {
266
+ r[0] & /*$_*/
267
+ 1048576 && t !== (t = /*$_*/
268
+ o[20]("noRecentGames") + "") && ue(n, t);
269
+ },
270
+ d(o) {
271
+ o && M(e);
272
+ }
273
+ };
274
+ }
275
+ function ke(s) {
276
+ let e, t;
277
+ function n(m, d) {
278
+ return (
279
+ /*lastPlayedEmpty*/
280
+ m[19] ? _e : we
281
+ );
282
+ }
283
+ let o = n(s), r = o(s);
284
+ return {
285
+ c() {
286
+ e = P("div"), t = P("div"), r.c(), A(t, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
287
+ },
288
+ m(m, d) {
289
+ D(m, e, d), Z(e, t), r.m(t, null), s[26](e);
290
+ },
291
+ p(m, d) {
292
+ o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(t, null)));
293
+ },
294
+ i: H,
295
+ o: H,
296
+ d(m) {
297
+ m && M(e), r.d(), s[26](null);
298
+ }
299
+ };
300
+ }
301
+ function Le(s, e, t) {
302
+ let n;
303
+ le(s, ye, (a) => t(20, n = a));
304
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: N = "" } = e, { userid: y = "" } = e, { mbsource: b } = e, { clientstyling: v = "" } = e, { clientstylingurl: w = "" } = e, { translationurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: E = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: T = "false" } = e, { showgamename: z = "" } = e, { visiblegames: C = "" } = e, { favorites: O = "" } = e, { lastplayedperiod: S = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: G = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: q = "true" } = e, { fetchviaevent: U = "true" } = e, B = window.navigator.userAgent, Y = !1, L = [], I, f;
305
+ const Q = () => {
306
+ fetch(_).then((g) => g.json()).then((g) => {
307
+ Object.keys(g).forEach((u) => {
308
+ K(u, g[u]);
309
+ });
310
+ }).catch((g) => {
311
+ console.log(g);
312
+ });
313
+ };
314
+ Object.keys(V).forEach((a) => {
315
+ K(a, V[a]);
316
+ });
317
+ const W = () => new Promise((a, g) => {
318
+ let u = new URL(`${o}/v1/player/${y}/games/last-played`);
319
+ u.searchParams.append("unique", q), u.searchParams.append("limit", G), u.searchParams.append("order", j), u.searchParams.append("period", S), me(B) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), I = k ? u : u.href, fetch(I).then((c) => c.json()).then((c) => {
320
+ c.items = c.items.filter(($) => {
321
+ let J = !0;
322
+ return $.gameCode == "OddsMatrix2" && (c.count--, J = !1), J;
323
+ }), a(c), window.postMessage(
324
+ {
325
+ type: "AddNewCategory",
326
+ category: { name: "Last Played", id: "LASTPLAYED" }
327
+ },
328
+ window.location.href
329
+ ), window.postMessage({ type: "LastPlayedGames", data: c }, window.location.href);
330
+ }).catch((c) => {
331
+ console.error(c), g(c);
332
+ });
333
+ }), X = () => {
334
+ W().then((a) => {
335
+ if (a.count > 0) {
336
+ let g = [];
337
+ a.items.forEach((u) => {
338
+ let h = new URL(`${o}/v1/casino/games/${u.gameId}`);
339
+ h.searchParams.append("datasource", r), k ? g.push(fetch(h.href).then((c) => c.json())) : g.push(fetch(h.href).then((c) => c.json()));
340
+ }), Promise.all(g).then((u) => {
341
+ L = u.filter((h) => !("error" in h)).map((h) => h[0]), R === "true" && (L = L.slice(0, JSON.parse(C))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
342
+ });
343
+ } else
344
+ t(19, Y = !0);
345
+ });
346
+ }, p = () => {
347
+ be(d);
348
+ };
349
+ re(() => () => {
350
+ });
351
+ function x(a) {
352
+ oe[a ? "unshift" : "push"](() => {
353
+ f = a, t(18, f);
354
+ });
355
+ }
356
+ return s.$$set = (a) => {
357
+ "endpoint" in a && t(0, o = a.endpoint), "datasource" in a && t(1, r = a.datasource), "currency" in a && t(2, m = a.currency), "lang" in a && t(3, d = a.lang), "session" in a && t(4, N = a.session), "userid" in a && t(5, y = a.userid), "mbsource" in a && t(6, b = a.mbsource), "clientstyling" in a && t(7, v = a.clientstyling), "clientstylingurl" in a && t(8, w = a.clientstylingurl), "translationurl" in a && t(21, _ = a.translationurl), "livecasino" in a && t(9, k = a.livecasino), "integratedgameframemobile" in a && t(10, E = a.integratedgameframemobile), "integratedgameframedesktop" in a && t(11, F = a.integratedgameframedesktop), "gamepagemodalurl" in a && t(12, T = a.gamepagemodalurl), "showgamename" in a && t(13, z = a.showgamename), "visiblegames" in a && t(14, C = a.visiblegames), "favorites" in a && t(15, O = a.favorites), "lastplayedperiod" in a && t(22, S = a.lastplayedperiod), "lastplayedorder" in a && t(23, j = a.lastplayedorder), "lastplayedlimit" in a && t(24, G = a.lastplayedlimit), "casinomygames" in a && t(16, R = a.casinomygames), "lastplayedunique" in a && t(25, q = a.lastplayedunique), "fetchviaevent" in a && t(17, U = a.fetchviaevent);
358
+ }, s.$$.update = () => {
359
+ s.$$.dirty[0] & /*endpoint, userid, lang*/
360
+ 41 && o && y && d && X(), s.$$.dirty[0] & /*translationurl*/
361
+ 2097152 && _ && Q(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
362
+ 262272 && v && f && ge(f, v), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
+ 262400 && w && f && de(f, w), s.$$.dirty[0] & /*mbsource, customStylingContainer*/
364
+ 262208 && b && f && fe(f, `${b}.Style`), s.$$.dirty[0] & /*lang*/
365
+ 8 && d && p();
366
+ }, [
367
+ o,
368
+ r,
369
+ m,
370
+ d,
371
+ N,
372
+ y,
373
+ b,
374
+ v,
375
+ w,
376
+ k,
377
+ E,
378
+ F,
379
+ T,
380
+ z,
381
+ C,
382
+ O,
383
+ R,
384
+ U,
385
+ f,
386
+ Y,
387
+ n,
388
+ _,
389
+ S,
390
+ j,
391
+ G,
392
+ q,
393
+ x
394
+ ];
395
+ }
396
+ class Pe extends ae {
397
+ constructor(e) {
398
+ super(), se(
399
+ this,
400
+ e,
401
+ Le,
402
+ ke,
403
+ ie,
404
+ {
405
+ endpoint: 0,
406
+ datasource: 1,
407
+ currency: 2,
408
+ lang: 3,
409
+ session: 4,
410
+ userid: 5,
411
+ mbsource: 6,
412
+ clientstyling: 7,
413
+ clientstylingurl: 8,
414
+ translationurl: 21,
415
+ livecasino: 9,
416
+ integratedgameframemobile: 10,
417
+ integratedgameframedesktop: 11,
418
+ gamepagemodalurl: 12,
419
+ showgamename: 13,
420
+ visiblegames: 14,
421
+ favorites: 15,
422
+ lastplayedperiod: 22,
423
+ lastplayedorder: 23,
424
+ lastplayedlimit: 24,
425
+ casinomygames: 16,
426
+ lastplayedunique: 25,
427
+ fetchviaevent: 17
428
+ },
429
+ ve,
430
+ [-1, -1]
431
+ );
432
+ }
433
+ get endpoint() {
434
+ return this.$$.ctx[0];
435
+ }
436
+ set endpoint(e) {
437
+ this.$$set({ endpoint: e }), l();
438
+ }
439
+ get datasource() {
440
+ return this.$$.ctx[1];
441
+ }
442
+ set datasource(e) {
443
+ this.$$set({ datasource: e }), l();
444
+ }
445
+ get currency() {
446
+ return this.$$.ctx[2];
447
+ }
448
+ set currency(e) {
449
+ this.$$set({ currency: e }), l();
450
+ }
451
+ get lang() {
452
+ return this.$$.ctx[3];
453
+ }
454
+ set lang(e) {
455
+ this.$$set({ lang: e }), l();
456
+ }
457
+ get session() {
458
+ return this.$$.ctx[4];
459
+ }
460
+ set session(e) {
461
+ this.$$set({ session: e }), l();
462
+ }
463
+ get userid() {
464
+ return this.$$.ctx[5];
465
+ }
466
+ set userid(e) {
467
+ this.$$set({ userid: e }), l();
468
+ }
469
+ get mbsource() {
470
+ return this.$$.ctx[6];
471
+ }
472
+ set mbsource(e) {
473
+ this.$$set({ mbsource: e }), l();
474
+ }
475
+ get clientstyling() {
476
+ return this.$$.ctx[7];
477
+ }
478
+ set clientstyling(e) {
479
+ this.$$set({ clientstyling: e }), l();
480
+ }
481
+ get clientstylingurl() {
482
+ return this.$$.ctx[8];
483
+ }
484
+ set clientstylingurl(e) {
485
+ this.$$set({ clientstylingurl: e }), l();
486
+ }
487
+ get translationurl() {
488
+ return this.$$.ctx[21];
489
+ }
490
+ set translationurl(e) {
491
+ this.$$set({ translationurl: e }), l();
492
+ }
493
+ get livecasino() {
494
+ return this.$$.ctx[9];
495
+ }
496
+ set livecasino(e) {
497
+ this.$$set({ livecasino: e }), l();
498
+ }
499
+ get integratedgameframemobile() {
500
+ return this.$$.ctx[10];
501
+ }
502
+ set integratedgameframemobile(e) {
503
+ this.$$set({ integratedgameframemobile: e }), l();
504
+ }
505
+ get integratedgameframedesktop() {
506
+ return this.$$.ctx[11];
507
+ }
508
+ set integratedgameframedesktop(e) {
509
+ this.$$set({ integratedgameframedesktop: e }), l();
510
+ }
511
+ get gamepagemodalurl() {
512
+ return this.$$.ctx[12];
513
+ }
514
+ set gamepagemodalurl(e) {
515
+ this.$$set({ gamepagemodalurl: e }), l();
516
+ }
517
+ get showgamename() {
518
+ return this.$$.ctx[13];
519
+ }
520
+ set showgamename(e) {
521
+ this.$$set({ showgamename: e }), l();
522
+ }
523
+ get visiblegames() {
524
+ return this.$$.ctx[14];
525
+ }
526
+ set visiblegames(e) {
527
+ this.$$set({ visiblegames: e }), l();
528
+ }
529
+ get favorites() {
530
+ return this.$$.ctx[15];
531
+ }
532
+ set favorites(e) {
533
+ this.$$set({ favorites: e }), l();
534
+ }
535
+ get lastplayedperiod() {
536
+ return this.$$.ctx[22];
537
+ }
538
+ set lastplayedperiod(e) {
539
+ this.$$set({ lastplayedperiod: e }), l();
540
+ }
541
+ get lastplayedorder() {
542
+ return this.$$.ctx[23];
543
+ }
544
+ set lastplayedorder(e) {
545
+ this.$$set({ lastplayedorder: e }), l();
546
+ }
547
+ get lastplayedlimit() {
548
+ return this.$$.ctx[24];
549
+ }
550
+ set lastplayedlimit(e) {
551
+ this.$$set({ lastplayedlimit: e }), l();
552
+ }
553
+ get casinomygames() {
554
+ return this.$$.ctx[16];
555
+ }
556
+ set casinomygames(e) {
557
+ this.$$set({ casinomygames: e }), l();
558
+ }
559
+ get lastplayedunique() {
560
+ return this.$$.ctx[25];
561
+ }
562
+ set lastplayedunique(e) {
563
+ this.$$set({ lastplayedunique: e }), l();
564
+ }
565
+ get fetchviaevent() {
566
+ return this.$$.ctx[17];
567
+ }
568
+ set fetchviaevent(e) {
569
+ this.$$set({ fetchviaevent: e }), l();
570
+ }
571
+ }
572
+ he(Pe, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
573
+ export {
574
+ Pe as default
575
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoCalendar-BUWW4Xzj.cjs");require("./CasinoFavoritesSectionNd-CnSYWIJi.cjs");function z(n,e){t.addMessages(n,e)}function Q(n){t.$locale.set(n)}const U={en:{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."},de:{noRecentGames:"Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."},es:{noRecentGames:"No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."},hr:{noRecentGames:"Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."},"pt-br":{noRecentGames:"Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."},"es-mx":{noRecentGames:"Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."},tr:{noRecentGames:"Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."},"en-us":{noRecentGames:"You haven't played yet but here you will find in the future a list of your games."}};function W(n){t.append_styles(n,"svelte-9pcrt1","*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}")}function X(n){let e;return{c(){e=t.element("casino-games-category-section-nd"),t.set_custom_element_data(e,"session",n[4]),t.set_custom_element_data(e,"userid",n[5]),t.set_custom_element_data(e,"endpoint",n[0]),t.set_custom_element_data(e,"datasource",n[1]),t.set_custom_element_data(e,"lang",n[3]),t.set_custom_element_data(e,"currency",n[2]),t.set_custom_element_data(e,"favorites",n[15]),t.set_custom_element_data(e,"fetchviaevent",n[17]),t.set_custom_element_data(e,"categoryid","LASTPLAYED"),t.set_custom_element_data(e,"categoryindex","1"),t.set_custom_element_data(e,"categorygames","9"),t.set_custom_element_data(e,"class","CategoryContainer"),t.set_custom_element_data(e,"showgamename",n[13]),t.set_custom_element_data(e,"clientstyling",n[7]),t.set_custom_element_data(e,"clientstylingurl",n[8]),t.set_custom_element_data(e,"livecasino",n[9]),t.set_custom_element_data(e,"visiblegames",n[14]),t.set_custom_element_data(e,"gamepagemodalurl",n[12]),t.set_custom_element_data(e,"integratedgameframedesktop",n[11]),t.set_custom_element_data(e,"integratedgameframemobile",n[10]),t.set_custom_element_data(e,"casinomygames",n[16]),t.set_custom_element_data(e,"mbsource",n[6])},m(a,i){t.insert(a,e,i)},p(a,i){i[0]&16&&t.set_custom_element_data(e,"session",a[4]),i[0]&32&&t.set_custom_element_data(e,"userid",a[5]),i[0]&1&&t.set_custom_element_data(e,"endpoint",a[0]),i[0]&2&&t.set_custom_element_data(e,"datasource",a[1]),i[0]&8&&t.set_custom_element_data(e,"lang",a[3]),i[0]&4&&t.set_custom_element_data(e,"currency",a[2]),i[0]&32768&&t.set_custom_element_data(e,"favorites",a[15]),i[0]&131072&&t.set_custom_element_data(e,"fetchviaevent",a[17]),i[0]&8192&&t.set_custom_element_data(e,"showgamename",a[13]),i[0]&128&&t.set_custom_element_data(e,"clientstyling",a[7]),i[0]&256&&t.set_custom_element_data(e,"clientstylingurl",a[8]),i[0]&512&&t.set_custom_element_data(e,"livecasino",a[9]),i[0]&16384&&t.set_custom_element_data(e,"visiblegames",a[14]),i[0]&4096&&t.set_custom_element_data(e,"gamepagemodalurl",a[12]),i[0]&2048&&t.set_custom_element_data(e,"integratedgameframedesktop",a[11]),i[0]&1024&&t.set_custom_element_data(e,"integratedgameframemobile",a[10]),i[0]&65536&&t.set_custom_element_data(e,"casinomygames",a[16]),i[0]&64&&t.set_custom_element_data(e,"mbsource",a[6])},d(a){a&&t.detach(e)}}}function p(n){let e,a=n[20]("noRecentGames")+"",i;return{c(){e=t.element("p"),i=t.text(a),t.attr(e,"class","SearchLoading")},m(o,l){t.insert(o,e,l),t.append(e,i)},p(o,l){l[0]&1048576&&a!==(a=o[20]("noRecentGames")+"")&&t.set_data(i,a)},d(o){o&&t.detach(e)}}}function x(n){let e,a;function i(u,d){return u[19]?p:X}let o=i(n),l=o(n);return{c(){e=t.element("div"),a=t.element("div"),l.c(),t.attr(a,"class","CasinoLastPlayedSection"),t.attr(e,"class","CasinoGamesCategorySectionContainer")},m(u,d){t.insert(u,e,d),t.append(e,a),l.m(a,null),n[26](e)},p(u,d){o===(o=i(u))&&l?l.p(u,d):(l.d(1),l=o(u),l&&(l.c(),l.m(a,null)))},i:t.noop,o:t.noop,d(u){u&&t.detach(e),l.d(),n[26](null)}}}function $(n,e,a){let i;t.component_subscribe(n,t.$format,s=>a(20,i=s));let{endpoint:o=""}=e,{datasource:l=""}=e,{currency:u=""}=e,{lang:d=""}=e,{session:G=""}=e,{userid:_=""}=e,{mbsource:h}=e,{clientstyling:y=""}=e,{clientstylingurl:b=""}=e,{translationurl:v=""}=e,{livecasino:w="false"}=e,{integratedgameframemobile:R="false"}=e,{integratedgameframedesktop:A="false"}=e,{gamepagemodalurl:M="false"}=e,{showgamename:D=""}=e,{visiblegames:P=""}=e,{favorites:N=""}=e,{lastplayedperiod:L="Last30Days"}=e,{lastplayedorder:C=""}=e,{lastplayedlimit:S=""}=e,{casinomygames:j="false"}=e,{lastplayedunique:q="true"}=e,{fetchviaevent:E="true"}=e,I=window.navigator.userAgent,F=!1,k=[],O,g;const J=()=>{fetch(v).then(c=>c.json()).then(c=>{Object.keys(c).forEach(r=>{z(r,c[r])})}).catch(c=>{console.log(c)})};Object.keys(U).forEach(s=>{z(s,U[s])});const H=()=>new Promise((s,c)=>{let r=new URL(`${o}/v1/player/${_}/games/last-played`);r.searchParams.append("unique",q),r.searchParams.append("limit",S),r.searchParams.append("order",C),r.searchParams.append("period",L),t.getDevice(I)==="PC"?r.searchParams.append("device","Desktop"):r.searchParams.append("device","Mobile"),O=w?r:r.href,fetch(O).then(m=>m.json()).then(m=>{m.items=m.items.filter(K=>{let T=!0;return K.gameCode=="OddsMatrix2"&&(m.count--,T=!1),T}),s(m),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:m},window.location.href)}).catch(m=>{console.error(m),c(m)})}),V=()=>{H().then(s=>{if(s.count>0){let c=[];s.items.forEach(r=>{let f=new URL(`${o}/v1/casino/games/${r.gameId}`);f.searchParams.append("datasource",l),w?c.push(fetch(f.href).then(m=>m.json())):c.push(fetch(f.href).then(m=>m.json()))}),Promise.all(c).then(r=>{k=r.filter(f=>!("error"in f)).map(f=>f[0]),j==="true"&&(k=k.slice(0,JSON.parse(P))),window.postMessage({type:"LastPlayedData",lastPlayedGames:k},window.location.href)})}else a(19,F=!0)})},Z=()=>{Q(d)};t.onMount(()=>()=>{});function B(s){t.binding_callbacks[s?"unshift":"push"](()=>{g=s,a(18,g)})}return n.$$set=s=>{"endpoint"in s&&a(0,o=s.endpoint),"datasource"in s&&a(1,l=s.datasource),"currency"in s&&a(2,u=s.currency),"lang"in s&&a(3,d=s.lang),"session"in s&&a(4,G=s.session),"userid"in s&&a(5,_=s.userid),"mbsource"in s&&a(6,h=s.mbsource),"clientstyling"in s&&a(7,y=s.clientstyling),"clientstylingurl"in s&&a(8,b=s.clientstylingurl),"translationurl"in s&&a(21,v=s.translationurl),"livecasino"in s&&a(9,w=s.livecasino),"integratedgameframemobile"in s&&a(10,R=s.integratedgameframemobile),"integratedgameframedesktop"in s&&a(11,A=s.integratedgameframedesktop),"gamepagemodalurl"in s&&a(12,M=s.gamepagemodalurl),"showgamename"in s&&a(13,D=s.showgamename),"visiblegames"in s&&a(14,P=s.visiblegames),"favorites"in s&&a(15,N=s.favorites),"lastplayedperiod"in s&&a(22,L=s.lastplayedperiod),"lastplayedorder"in s&&a(23,C=s.lastplayedorder),"lastplayedlimit"in s&&a(24,S=s.lastplayedlimit),"casinomygames"in s&&a(16,j=s.casinomygames),"lastplayedunique"in s&&a(25,q=s.lastplayedunique),"fetchviaevent"in s&&a(17,E=s.fetchviaevent)},n.$$.update=()=>{n.$$.dirty[0]&41&&o&&_&&d&&V(),n.$$.dirty[0]&2097152&&v&&J(),n.$$.dirty[0]&262272&&y&&g&&t.setClientStyling(g,y),n.$$.dirty[0]&262400&&b&&g&&t.setClientStylingURL(g,b),n.$$.dirty[0]&262208&&h&&g&&t.setStreamStyling(g,`${h}.Style`),n.$$.dirty[0]&8&&d&&Z()},[o,l,u,d,G,_,h,y,b,w,R,A,M,D,P,N,j,E,g,F,i,v,L,C,S,q,B]}class Y extends t.SvelteComponent{constructor(e){super(),t.init(this,e,$,x,t.safe_not_equal,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,mbsource:6,clientstyling:7,clientstylingurl:8,translationurl:21,livecasino:9,integratedgameframemobile:10,integratedgameframedesktop:11,gamepagemodalurl:12,showgamename:13,visiblegames:14,favorites:15,lastplayedperiod:22,lastplayedorder:23,lastplayedlimit:24,casinomygames:16,lastplayedunique:25,fetchviaevent:17},W,[-1,-1])}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),t.flush()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),t.flush()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),t.flush()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),t.flush()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),t.flush()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),t.flush()}get mbsource(){return this.$$.ctx[6]}set mbsource(e){this.$$set({mbsource:e}),t.flush()}get clientstyling(){return this.$$.ctx[7]}set clientstyling(e){this.$$set({clientstyling:e}),t.flush()}get clientstylingurl(){return this.$$.ctx[8]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),t.flush()}get translationurl(){return this.$$.ctx[21]}set translationurl(e){this.$$set({translationurl:e}),t.flush()}get livecasino(){return this.$$.ctx[9]}set livecasino(e){this.$$set({livecasino:e}),t.flush()}get integratedgameframemobile(){return this.$$.ctx[10]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),t.flush()}get integratedgameframedesktop(){return this.$$.ctx[11]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),t.flush()}get gamepagemodalurl(){return this.$$.ctx[12]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),t.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(e){this.$$set({showgamename:e}),t.flush()}get visiblegames(){return this.$$.ctx[14]}set visiblegames(e){this.$$set({visiblegames:e}),t.flush()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),t.flush()}get lastplayedperiod(){return this.$$.ctx[22]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),t.flush()}get lastplayedorder(){return this.$$.ctx[23]}set lastplayedorder(e){this.$$set({lastplayedorder:e}),t.flush()}get lastplayedlimit(){return this.$$.ctx[24]}set lastplayedlimit(e){this.$$set({lastplayedlimit:e}),t.flush()}get casinomygames(){return this.$$.ctx[16]}set casinomygames(e){this.$$set({casinomygames:e}),t.flush()}get lastplayedunique(){return this.$$.ctx[25]}set lastplayedunique(e){this.$$set({lastplayedunique:e}),t.flush()}get fetchviaevent(){return this.$$.ctx[17]}set fetchviaevent(e){this.$$set({fetchviaevent:e}),t.flush()}}t.create_custom_element(Y,{endpoint:{},datasource:{},currency:{},lang:{},session:{},userid:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},livecasino:{},integratedgameframemobile:{},integratedgameframedesktop:{},gamepagemodalurl:{},showgamename:{},visiblegames:{},favorites:{},lastplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},casinomygames:{},lastplayedunique:{},fetchviaevent:{}},[],[],!0);exports.default=Y;