@everymatrix/casino-page-nd 1.53.0 → 1.53.10

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 (48) hide show
  1. package/components/{CasinoCalendar-DOhm0UH1.js → CasinoCalendar-pVz7jYqi.js} +1458 -1427
  2. package/components/CasinoCalendarDailyDetails-D7GkfhmR.js +701 -0
  3. package/components/CasinoCalendarDailyItem-CU9qMJji.js +315 -0
  4. package/components/{CasinoCollectionsProviders--fiR9zGC.js → CasinoCollectionsProviders-DxgdPTXN.js} +237 -242
  5. package/components/{CasinoFavoritesSectionNd-NavJ5G0E.js → CasinoFavoritesSectionNd-B8EIXq01.js} +20 -20
  6. package/components/{CasinoFilter-mbUMCElM.js → CasinoFilter-C67EHGOs.js} +83 -84
  7. package/components/{CasinoGameThumbnailNd-OcelQvI7.js → CasinoGameThumbnailNd-Dj9aITsK.js} +856 -872
  8. package/components/{CasinoGamesCategorySectionNd-DbFgMvAQ.js → CasinoGamesCategorySectionNd-OZ2HaGrH.js} +611 -642
  9. package/components/{CasinoJackpotBanner-DWGfhATO.js → CasinoJackpotBanner-BRQqqpK8.js} +174 -178
  10. package/components/{CasinoLastPlayedSectionNd-CsnvGVxc.js → CasinoLastPlayedSectionNd--_9buYZx.js} +82 -82
  11. package/components/{CasinoMostPlayedSectionNd-B9YKl4yB.js → CasinoMostPlayedSectionNd-umJpV9lP.js} +23 -23
  12. package/components/{CasinoMyGamesNd-ChtvJLWX.js → CasinoMyGamesNd-Bosn4XLW.js} +74 -75
  13. package/components/{CasinoPageNd-DhFHO5Eo.js → CasinoPageNd-C2EI24cS.js} +362 -365
  14. package/components/{CasinoRandomGame-Dual7qoW.js → CasinoRandomGame-BpYrX4Cp.js} +226 -242
  15. package/components/{CasinoSearchNd-CjLT8glO.js → CasinoSearchNd-CmTarxBK.js} +222 -224
  16. package/components/{CasinoSort-Nb_NdM0g.js → CasinoSort-bFOcp6J4.js} +19 -20
  17. package/components/{CasinoWinners-ClikijEr.js → CasinoWinners-BUoqMo1a.js} +150 -152
  18. package/components/{GeneralAnimationLoading-VIiE9eDg.js → GeneralAnimationLoading-CC5IRZHm.js} +3 -3
  19. package/esnext/casino-page-nd.js +14 -0
  20. package/package.json +8 -20
  21. package/stencil/{casino-play-random-game-B5g4-G4Z.js → casino-play-random-game-BrayzMrR.js} +45 -63
  22. package/stencil/index-47910d1c-CWwDm8i3.js +623 -0
  23. package/components/CasinoCalendar-B-gPVc8F.cjs +0 -6
  24. package/components/CasinoCalendarDailyDetails-BlwMMM8a.js +0 -605
  25. package/components/CasinoCalendarDailyDetails-DHDvQM0N.cjs +0 -1
  26. package/components/CasinoCalendarDailyItem-CMQfWntR.js +0 -220
  27. package/components/CasinoCalendarDailyItem-CgIKXg2j.cjs +0 -1
  28. package/components/CasinoCollectionsProviders-Cg6Drvjc.cjs +0 -1
  29. package/components/CasinoFavoritesSectionNd-DQqjc8Wd.cjs +0 -1
  30. package/components/CasinoFilter-DJqRaz4Q.cjs +0 -1
  31. package/components/CasinoGameThumbnailNd-CvUlQLWz.cjs +0 -39
  32. package/components/CasinoGamesCategorySectionNd-BUaP-R8q.cjs +0 -1
  33. package/components/CasinoJackpotBanner-DxmBYDQZ.cjs +0 -1
  34. package/components/CasinoLastPlayedSectionNd-Dzzp6Q5U.cjs +0 -1
  35. package/components/CasinoMostPlayedSectionNd-DQVuxXZU.cjs +0 -1
  36. package/components/CasinoMyGamesNd-D4fElK7C.cjs +0 -1
  37. package/components/CasinoPageNd-D6w-jb2t.cjs +0 -1
  38. package/components/CasinoRandomGame-D6B_2z33.cjs +0 -2
  39. package/components/CasinoSearchNd-TLqLQzZi.cjs +0 -1
  40. package/components/CasinoSort-E-_378b4.cjs +0 -1
  41. package/components/CasinoWinners-DXdWQq1j.cjs +0 -1
  42. package/components/GeneralAnimationLoading-qrGVwLbv.cjs +0 -1
  43. package/es2015/casino-page-nd.cjs +0 -1
  44. package/es2015/casino-page-nd.js +0 -16
  45. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
  46. package/stencil/casino-play-random-game-CQe5iDJ8.cjs +0 -371
  47. package/stencil/index-eac6b960-BaE9i06M.cjs +0 -1
  48. package/stencil/index-eac6b960-DXIu1GM6.js +0 -579
@@ -1,5 +1,5 @@
1
- import { I as te, $ as ae, S as se, i as ie, f as l, c as ne, s as le, b as re, e as k, u as A, d as q, v as Q, C as H, j as M, J as oe, m as ce, P as i, r as ue, A as ge, N as me, Q as de } from "./CasinoCalendar-DOhm0UH1.js";
2
- import "./CasinoFavoritesSectionNd-NavJ5G0E.js";
1
+ import { a as te, $ as ae, S as se, i as ne, f as l, c as ie, s as le, b as re, e as L, v as q, d as A, w as B, D as H, j as M, k as oe, n as ce, P as n, u as ue, B as ge, F as me, Q as de } from "./CasinoCalendar-pVz7jYqi.js";
2
+ import "./CasinoFavoritesSectionNd-B8EIXq01.js";
3
3
  function I(s, e) {
4
4
  te(s, e);
5
5
  }
@@ -39,195 +39,195 @@ function ye(s) {
39
39
  let e;
40
40
  return {
41
41
  c() {
42
- e = k("casino-games-category-section-nd"), i(
42
+ e = L("casino-games-category-section-nd"), n(
43
43
  e,
44
44
  "session",
45
45
  /*session*/
46
46
  s[4]
47
- ), i(
47
+ ), n(
48
48
  e,
49
49
  "userid",
50
50
  /*userid*/
51
51
  s[5]
52
- ), i(
52
+ ), n(
53
53
  e,
54
54
  "endpoint",
55
55
  /*endpoint*/
56
56
  s[0]
57
- ), i(
57
+ ), n(
58
58
  e,
59
59
  "datasource",
60
60
  /*datasource*/
61
61
  s[1]
62
- ), i(
62
+ ), n(
63
63
  e,
64
64
  "lang",
65
65
  /*lang*/
66
66
  s[3]
67
- ), i(
67
+ ), n(
68
68
  e,
69
69
  "currency",
70
70
  /*currency*/
71
71
  s[2]
72
- ), i(
72
+ ), n(
73
73
  e,
74
74
  "favorites",
75
75
  /*favorites*/
76
76
  s[14]
77
- ), i(
77
+ ), n(
78
78
  e,
79
79
  "fetchviaevent",
80
80
  /*fetchviaevent*/
81
81
  s[16]
82
- ), i(e, "categoryid", "LASTPLAYED"), i(e, "categoryindex", "1"), i(e, "categorygames", "9"), i(e, "class", "CategoryContainer"), i(
82
+ ), n(e, "categoryid", "LASTPLAYED"), n(e, "categoryindex", "1"), n(e, "categorygames", "9"), n(e, "class", "CategoryContainer"), n(
83
83
  e,
84
84
  "showgamename",
85
85
  /*showgamename*/
86
86
  s[12]
87
- ), i(
87
+ ), n(
88
88
  e,
89
89
  "clientstyling",
90
90
  /*clientstyling*/
91
91
  s[6]
92
- ), i(
92
+ ), n(
93
93
  e,
94
94
  "clientstylingurl",
95
95
  /*clientstylingurl*/
96
96
  s[7]
97
- ), i(
97
+ ), n(
98
98
  e,
99
99
  "livecasino",
100
100
  /*livecasino*/
101
101
  s[8]
102
- ), i(
102
+ ), n(
103
103
  e,
104
104
  "visiblegames",
105
105
  /*visiblegames*/
106
106
  s[13]
107
- ), i(
107
+ ), n(
108
108
  e,
109
109
  "gamepagemodalurl",
110
110
  /*gamepagemodalurl*/
111
111
  s[11]
112
- ), i(
112
+ ), n(
113
113
  e,
114
114
  "integratedgameframedesktop",
115
115
  /*integratedgameframedesktop*/
116
116
  s[10]
117
- ), i(
117
+ ), n(
118
118
  e,
119
119
  "integratedgameframemobile",
120
120
  /*integratedgameframemobile*/
121
121
  s[9]
122
- ), i(
122
+ ), n(
123
123
  e,
124
124
  "casinomygames",
125
125
  /*casinomygames*/
126
126
  s[15]
127
127
  );
128
128
  },
129
- m(a, n) {
130
- q(a, e, n);
129
+ m(a, i) {
130
+ A(a, e, i);
131
131
  },
132
- p(a, n) {
133
- n[0] & /*session*/
134
- 16 && i(
132
+ p(a, i) {
133
+ i[0] & /*session*/
134
+ 16 && n(
135
135
  e,
136
136
  "session",
137
137
  /*session*/
138
138
  a[4]
139
- ), n[0] & /*userid*/
140
- 32 && i(
139
+ ), i[0] & /*userid*/
140
+ 32 && n(
141
141
  e,
142
142
  "userid",
143
143
  /*userid*/
144
144
  a[5]
145
- ), n[0] & /*endpoint*/
146
- 1 && i(
145
+ ), i[0] & /*endpoint*/
146
+ 1 && n(
147
147
  e,
148
148
  "endpoint",
149
149
  /*endpoint*/
150
150
  a[0]
151
- ), n[0] & /*datasource*/
152
- 2 && i(
151
+ ), i[0] & /*datasource*/
152
+ 2 && n(
153
153
  e,
154
154
  "datasource",
155
155
  /*datasource*/
156
156
  a[1]
157
- ), n[0] & /*lang*/
158
- 8 && i(
157
+ ), i[0] & /*lang*/
158
+ 8 && n(
159
159
  e,
160
160
  "lang",
161
161
  /*lang*/
162
162
  a[3]
163
- ), n[0] & /*currency*/
164
- 4 && i(
163
+ ), i[0] & /*currency*/
164
+ 4 && n(
165
165
  e,
166
166
  "currency",
167
167
  /*currency*/
168
168
  a[2]
169
- ), n[0] & /*favorites*/
170
- 16384 && i(
169
+ ), i[0] & /*favorites*/
170
+ 16384 && n(
171
171
  e,
172
172
  "favorites",
173
173
  /*favorites*/
174
174
  a[14]
175
- ), n[0] & /*fetchviaevent*/
176
- 65536 && i(
175
+ ), i[0] & /*fetchviaevent*/
176
+ 65536 && n(
177
177
  e,
178
178
  "fetchviaevent",
179
179
  /*fetchviaevent*/
180
180
  a[16]
181
- ), n[0] & /*showgamename*/
182
- 4096 && i(
181
+ ), i[0] & /*showgamename*/
182
+ 4096 && n(
183
183
  e,
184
184
  "showgamename",
185
185
  /*showgamename*/
186
186
  a[12]
187
- ), n[0] & /*clientstyling*/
188
- 64 && i(
187
+ ), i[0] & /*clientstyling*/
188
+ 64 && n(
189
189
  e,
190
190
  "clientstyling",
191
191
  /*clientstyling*/
192
192
  a[6]
193
- ), n[0] & /*clientstylingurl*/
194
- 128 && i(
193
+ ), i[0] & /*clientstylingurl*/
194
+ 128 && n(
195
195
  e,
196
196
  "clientstylingurl",
197
197
  /*clientstylingurl*/
198
198
  a[7]
199
- ), n[0] & /*livecasino*/
200
- 256 && i(
199
+ ), i[0] & /*livecasino*/
200
+ 256 && n(
201
201
  e,
202
202
  "livecasino",
203
203
  /*livecasino*/
204
204
  a[8]
205
- ), n[0] & /*visiblegames*/
206
- 8192 && i(
205
+ ), i[0] & /*visiblegames*/
206
+ 8192 && n(
207
207
  e,
208
208
  "visiblegames",
209
209
  /*visiblegames*/
210
210
  a[13]
211
- ), n[0] & /*gamepagemodalurl*/
212
- 2048 && i(
211
+ ), i[0] & /*gamepagemodalurl*/
212
+ 2048 && n(
213
213
  e,
214
214
  "gamepagemodalurl",
215
215
  /*gamepagemodalurl*/
216
216
  a[11]
217
- ), n[0] & /*integratedgameframedesktop*/
218
- 1024 && i(
217
+ ), i[0] & /*integratedgameframedesktop*/
218
+ 1024 && n(
219
219
  e,
220
220
  "integratedgameframedesktop",
221
221
  /*integratedgameframedesktop*/
222
222
  a[10]
223
- ), n[0] & /*integratedgameframemobile*/
224
- 512 && i(
223
+ ), i[0] & /*integratedgameframemobile*/
224
+ 512 && n(
225
225
  e,
226
226
  "integratedgameframemobile",
227
227
  /*integratedgameframemobile*/
228
228
  a[9]
229
- ), n[0] & /*casinomygames*/
230
- 32768 && i(
229
+ ), i[0] & /*casinomygames*/
230
+ 32768 && n(
231
231
  e,
232
232
  "casinomygames",
233
233
  /*casinomygames*/
@@ -243,18 +243,18 @@ function be(s) {
243
243
  let e, a = (
244
244
  /*$_*/
245
245
  s[19]("noRecentGames") + ""
246
- ), n;
246
+ ), i;
247
247
  return {
248
248
  c() {
249
- e = k("p"), n = ue(a), A(e, "class", "SearchLoading");
249
+ e = L("p"), i = ue(a), q(e, "class", "SearchLoading");
250
250
  },
251
251
  m(o, r) {
252
- q(o, e, r), Q(e, n);
252
+ A(o, e, r), B(e, i);
253
253
  },
254
254
  p(o, r) {
255
255
  r[0] & /*$_*/
256
256
  524288 && a !== (a = /*$_*/
257
- o[19]("noRecentGames") + "") && ge(n, a);
257
+ o[19]("noRecentGames") + "") && ge(i, a);
258
258
  },
259
259
  d(o) {
260
260
  o && M(e);
@@ -263,22 +263,22 @@ function be(s) {
263
263
  }
264
264
  function ve(s) {
265
265
  let e, a;
266
- function n(m, d) {
266
+ function i(m, d) {
267
267
  return (
268
268
  /*lastPlayedEmpty*/
269
269
  m[18] ? be : ye
270
270
  );
271
271
  }
272
- let o = n(s), r = o(s);
272
+ let o = i(s), r = o(s);
273
273
  return {
274
274
  c() {
275
- e = k("div"), a = k("div"), r.c(), A(a, "class", "CasinoLastPlayedSection"), A(e, "class", "CasinoGamesCategorySectionContainer");
275
+ e = L("div"), a = L("div"), r.c(), q(a, "class", "CasinoLastPlayedSection"), q(e, "class", "CasinoGamesCategorySectionContainer");
276
276
  },
277
277
  m(m, d) {
278
- q(m, e, d), Q(e, a), r.m(a, null), s[25](e);
278
+ A(m, e, d), B(e, a), r.m(a, null), s[25](e);
279
279
  },
280
280
  p(m, d) {
281
- o === (o = n(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(a, null)));
281
+ o === (o = i(m)) && r ? r.p(m, d) : (r.d(1), r = o(m), r && (r.c(), r.m(a, null)));
282
282
  },
283
283
  i: H,
284
284
  o: H,
@@ -288,10 +288,10 @@ function ve(s) {
288
288
  };
289
289
  }
290
290
  function we(s, e, a) {
291
- let n;
292
- oe(s, me, (t) => a(19, n = t));
293
- let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: E = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: N = "false" } = e, { integratedgameframedesktop: T = "false" } = e, { gamepagemodalurl: D = "false" } = e, { showgamename: F = "" } = e, { visiblegames: P = "" } = e, { favorites: z = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: S = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: G = "true" } = e, { fetchviaevent: O = "true" } = e, V = window.navigator.userAgent, U = !1, L = [], Y, h;
294
- const Z = () => {
291
+ let i;
292
+ oe(s, me, (t) => a(19, i = t));
293
+ let { endpoint: o = "" } = e, { datasource: r = "" } = e, { currency: m = "" } = e, { lang: d = "" } = e, { session: D = "" } = e, { userid: y = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: v = "" } = e, { translationurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: E = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: T = "false" } = e, { showgamename: N = "" } = e, { visiblegames: P = "" } = e, { favorites: z = "" } = e, { lastplayedperiod: C = "Last30Days" } = e, { lastplayedorder: j = "" } = e, { lastplayedlimit: S = "" } = e, { casinomygames: R = "false" } = e, { lastplayedunique: G = "true" } = e, { fetchviaevent: O = "true" } = e, Q = window.navigator.userAgent, U = !1, k = [], Y, h;
294
+ const V = () => {
295
295
  fetch(w).then((c) => c.json()).then((c) => {
296
296
  Object.keys(c).forEach((u) => {
297
297
  I(u, c[u]);
@@ -303,9 +303,9 @@ function we(s, e, a) {
303
303
  Object.keys(J).forEach((t) => {
304
304
  I(t, J[t]);
305
305
  });
306
- const B = () => new Promise((t, c) => {
306
+ const Z = () => new Promise((t, c) => {
307
307
  let u = new URL(`${o}/v1/player/${y}/games/last-played`);
308
- u.searchParams.append("unique", G), u.searchParams.append("limit", S), u.searchParams.append("order", j), u.searchParams.append("period", C), de(V) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), Y = _ ? u : u.href, fetch(Y).then((g) => g.json()).then((g) => {
308
+ u.searchParams.append("unique", G), u.searchParams.append("limit", S), u.searchParams.append("order", j), u.searchParams.append("period", C), de(Q) === "PC" ? u.searchParams.append("device", "Desktop") : u.searchParams.append("device", "Mobile"), Y = _ ? u : u.href, fetch(Y).then((g) => g.json()).then((g) => {
309
309
  g.items = g.items.filter((ee) => {
310
310
  let p = !0;
311
311
  return ee.gameCode == "OddsMatrix2" && (g.count--, p = !1), p;
@@ -320,14 +320,14 @@ function we(s, e, a) {
320
320
  console.error(g), c(g);
321
321
  });
322
322
  }), K = () => {
323
- B().then((t) => {
323
+ Z().then((t) => {
324
324
  if (t.count > 0) {
325
325
  let c = [];
326
326
  t.items.forEach((u) => {
327
327
  let f = new URL(`${o}/v1/casino/games/${u.gameId}`);
328
328
  f.searchParams.append("datasource", r), _ ? c.push(fetch(f.href).then((g) => g.json())) : c.push(fetch(f.href).then((g) => g.json()));
329
329
  }), Promise.all(c).then((u) => {
330
- L = u.filter((f) => !("error" in f)).map((f) => f[0]), R === "true" && (L = L.slice(0, JSON.parse(P))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: L }, window.location.href);
330
+ k = u.filter((f) => !("error" in f)).map((f) => f[0]), R === "true" && (k = k.slice(0, JSON.parse(P))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: k }, window.location.href);
331
331
  });
332
332
  } else
333
333
  a(18, U = !0);
@@ -354,11 +354,11 @@ function we(s, e, a) {
354
354
  });
355
355
  }
356
356
  return s.$$set = (t) => {
357
- "endpoint" in t && a(0, o = t.endpoint), "datasource" in t && a(1, r = t.datasource), "currency" in t && a(2, m = t.currency), "lang" in t && a(3, d = t.lang), "session" in t && a(4, E = t.session), "userid" in t && a(5, y = t.userid), "clientstyling" in t && a(6, b = t.clientstyling), "clientstylingurl" in t && a(7, v = t.clientstylingurl), "translationurl" in t && a(20, w = t.translationurl), "livecasino" in t && a(8, _ = t.livecasino), "integratedgameframemobile" in t && a(9, N = t.integratedgameframemobile), "integratedgameframedesktop" in t && a(10, T = t.integratedgameframedesktop), "gamepagemodalurl" in t && a(11, D = t.gamepagemodalurl), "showgamename" in t && a(12, F = t.showgamename), "visiblegames" in t && a(13, P = t.visiblegames), "favorites" in t && a(14, z = t.favorites), "lastplayedperiod" in t && a(21, C = t.lastplayedperiod), "lastplayedorder" in t && a(22, j = t.lastplayedorder), "lastplayedlimit" in t && a(23, S = t.lastplayedlimit), "casinomygames" in t && a(15, R = t.casinomygames), "lastplayedunique" in t && a(24, G = t.lastplayedunique), "fetchviaevent" in t && a(16, O = t.fetchviaevent);
357
+ "endpoint" in t && a(0, o = t.endpoint), "datasource" in t && a(1, r = t.datasource), "currency" in t && a(2, m = t.currency), "lang" in t && a(3, d = t.lang), "session" in t && a(4, D = t.session), "userid" in t && a(5, y = t.userid), "clientstyling" in t && a(6, b = t.clientstyling), "clientstylingurl" in t && a(7, v = t.clientstylingurl), "translationurl" in t && a(20, w = t.translationurl), "livecasino" in t && a(8, _ = t.livecasino), "integratedgameframemobile" in t && a(9, E = t.integratedgameframemobile), "integratedgameframedesktop" in t && a(10, F = t.integratedgameframedesktop), "gamepagemodalurl" in t && a(11, T = t.gamepagemodalurl), "showgamename" in t && a(12, N = t.showgamename), "visiblegames" in t && a(13, P = t.visiblegames), "favorites" in t && a(14, z = t.favorites), "lastplayedperiod" in t && a(21, C = t.lastplayedperiod), "lastplayedorder" in t && a(22, j = t.lastplayedorder), "lastplayedlimit" in t && a(23, S = t.lastplayedlimit), "casinomygames" in t && a(15, R = t.casinomygames), "lastplayedunique" in t && a(24, G = t.lastplayedunique), "fetchviaevent" in t && a(16, O = t.fetchviaevent);
358
358
  }, s.$$.update = () => {
359
359
  s.$$.dirty[0] & /*endpoint, userid, lang*/
360
360
  41 && o && y && d && K(), s.$$.dirty[0] & /*translationurl*/
361
- 1048576 && w && Z(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
361
+ 1048576 && w && V(), s.$$.dirty[0] & /*clientstyling, customStylingContainer*/
362
362
  131136 && b && h && X(), s.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
363
363
  131200 && v && h && x(), s.$$.dirty[0] & /*lang*/
364
364
  8 && d && W();
@@ -367,22 +367,22 @@ function we(s, e, a) {
367
367
  r,
368
368
  m,
369
369
  d,
370
- E,
370
+ D,
371
371
  y,
372
372
  b,
373
373
  v,
374
374
  _,
375
- N,
376
- T,
377
- D,
375
+ E,
378
376
  F,
377
+ T,
378
+ N,
379
379
  P,
380
380
  z,
381
381
  R,
382
382
  O,
383
383
  h,
384
384
  U,
385
- n,
385
+ i,
386
386
  w,
387
387
  C,
388
388
  j,
@@ -393,7 +393,7 @@ function we(s, e, a) {
393
393
  }
394
394
  class _e extends se {
395
395
  constructor(e) {
396
- super(), ie(
396
+ super(), ne(
397
397
  this,
398
398
  e,
399
399
  we,
@@ -560,7 +560,7 @@ class _e extends se {
560
560
  this.$$set({ fetchviaevent: e }), l();
561
561
  }
562
562
  }
563
- ne(_e, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
563
+ ie(_e, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {} }, [], [], !0);
564
564
  export {
565
565
  _e as default
566
566
  };
@@ -1,12 +1,12 @@
1
- import { I as ee, $ as te, S as se, i as ae, f as l, c as ne, s as ie, b as oe, e as N, u as S, d as M, v as Q, C as q, j as A, J as le, Q as me, m as re, P as n, r as ge, A as ce, N as de } from "./CasinoCalendar-DOhm0UH1.js";
2
- import "./CasinoFavoritesSectionNd-NavJ5G0E.js";
3
- function H(a, e) {
1
+ import { a as ee, $ as te, S as se, i as ae, f as l, c as ne, s as ie, b as oe, e as N, v as S, d as M, w as J, D as H, j as A, k as le, Q as me, n as re, P as n, u as ge, B as ce, F as de } from "./CasinoCalendar-pVz7jYqi.js";
2
+ import "./CasinoFavoritesSectionNd-B8EIXq01.js";
3
+ function I(a, e) {
4
4
  ee(a, e);
5
5
  }
6
6
  function ue(a) {
7
7
  te.set(a);
8
8
  }
9
- const J = {
9
+ const B = {
10
10
  en: {
11
11
  noGames: "No games in most played"
12
12
  },
@@ -279,7 +279,7 @@ function ye(a) {
279
279
  e = N("p"), i = ge(s), S(e, "class", "SearchLoading");
280
280
  },
281
281
  m(r, m) {
282
- M(r, e, m), Q(e, i);
282
+ M(r, e, m), J(e, i);
283
283
  },
284
284
  p(r, m) {
285
285
  m[0] & /*$_*/
@@ -305,13 +305,13 @@ function ve(a) {
305
305
  e = N("div"), s = N("div"), m.c(), S(s, "class", "casino-most-played-section"), S(e, "class", "CasinoGamesCategorySectionContainer");
306
306
  },
307
307
  m(g, c) {
308
- M(g, e, c), Q(e, s), m.m(s, null), a[23](e);
308
+ M(g, e, c), J(e, s), m.m(s, null), a[23](e);
309
309
  },
310
310
  p(g, c) {
311
311
  r === (r = i(g)) && m ? m.p(g, c) : (m.d(1), m = r(g), m && (m.c(), m.m(s, null)));
312
312
  },
313
- i: q,
314
- o: q,
313
+ i: H,
314
+ o: H,
315
315
  d(g) {
316
316
  g && A(e), m.d(), a[23](null);
317
317
  }
@@ -320,20 +320,20 @@ function ve(a) {
320
320
  function be(a, e, s) {
321
321
  let i;
322
322
  le(a, de, (t) => s(19, i = t));
323
- let { endpoint: r = "" } = e, { datasource: m = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: E = "" } = e, { userid: v = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: T = "false" } = e, { gamepagemodalurl: O = "false" } = e, { showgamename: D = "" } = e, { visiblegames: P } = e, { favorites: R = "" } = e, { translationurl: G = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: j = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: U = "true" } = e, Y = window.navigator.userAgent;
324
- const B = () => {
325
- fetch(G).then((o) => o.json()).then((o) => {
323
+ let { endpoint: r = "" } = e, { datasource: m = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: E = "" } = e, { userid: v = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: w = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: T = "false" } = e, { gamepagemodalurl: D = "false" } = e, { showgamename: O = "" } = e, { visiblegames: P } = e, { favorites: R = "" } = e, { translationurl: k = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: j = "Last30Days" } = e, { mostplayedrounds: L = "10" } = e, { fetchviaevent: U = "true" } = e, Q = window.navigator.userAgent;
324
+ const Y = () => {
325
+ fetch(k).then((o) => o.json()).then((o) => {
326
326
  Object.keys(o).forEach((d) => {
327
- H(d, o[d]);
327
+ I(d, o[d]);
328
328
  });
329
329
  }).catch((o) => {
330
330
  console.log(o);
331
331
  });
332
332
  };
333
- Object.keys(J).forEach((t) => {
334
- H(t, J[t]);
333
+ Object.keys(B).forEach((t) => {
334
+ I(t, B[t]);
335
335
  });
336
- let k = [], z, p = !1, h;
336
+ let G = [], z, p = !1, h;
337
337
  const K = (t) => {
338
338
  let o = new URL(`${r}/v1/player/${v}/games/most-played`);
339
339
  t.limit && o.searchParams.append("limit", t.limit), t.order && o.searchParams.append("order", t.order), o.searchParams.append("expand", "games"), o.searchParams.append("period", j);
@@ -341,8 +341,8 @@ function be(a, e, s) {
341
341
  return d ? d === "PC" ? o.searchParams.append("device", "Desktop") : o.searchParams.append("device", "Mobile") : o.searchParams.append("device", "All"), t.rounds && o.searchParams.append("rounds", t.rounds), z = w ? o : o.href, new Promise((u, y) => {
342
342
  fetch(z).then((f) => f.json()).then((f) => {
343
343
  f.items = f.items.filter(($) => {
344
- let I = !0;
345
- return $.gameCode == "OddsMatrix2" && (f.count--, I = !1), I;
344
+ let q = !0;
345
+ return $.gameCode == "OddsMatrix2" && (f.count--, q = !1), q;
346
346
  }), u(f);
347
347
  }).catch((f) => {
348
348
  console.error(f), y(f);
@@ -351,7 +351,7 @@ function be(a, e, s) {
351
351
  }, V = () => {
352
352
  K({
353
353
  limit: 100,
354
- device: me(Y),
354
+ device: me(Q),
355
355
  rounds: L
356
356
  }).then((t) => {
357
357
  if (t.count > 0) {
@@ -360,7 +360,7 @@ function be(a, e, s) {
360
360
  let u = new URL(`${r}/v1/casino/games/${d.gameId}`);
361
361
  u.searchParams.append("datasource", m), w ? o.push(fetch(u.href).then((y) => y.json())) : o.push(fetch(u.href).then((y) => y.json()));
362
362
  }), Promise.all(o).then((d) => {
363
- k = d.filter((u) => !("error" in u)).map((u) => u[0]), C === "true" && (k = k.slice(0, JSON.parse(P))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: k }, window.location.href);
363
+ G = d.filter((u) => !("error" in u)).map((u) => u[0]), C === "true" && (G = G.slice(0, JSON.parse(P))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: G }, window.location.href);
364
364
  });
365
365
  } else
366
366
  s(18, p = !0);
@@ -387,13 +387,13 @@ function be(a, e, s) {
387
387
  });
388
388
  }
389
389
  return a.$$set = (t) => {
390
- "endpoint" in t && s(0, r = t.endpoint), "datasource" in t && s(1, m = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, E = t.session), "userid" in t && s(5, v = t.userid), "clientstyling" in t && s(6, b = t.clientstyling), "clientstylingurl" in t && s(7, _ = t.clientstylingurl), "livecasino" in t && s(8, w = t.livecasino), "integratedgameframemobile" in t && s(9, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(10, T = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(11, O = t.gamepagemodalurl), "showgamename" in t && s(12, D = t.showgamename), "visiblegames" in t && s(13, P = t.visiblegames), "favorites" in t && s(14, R = t.favorites), "translationurl" in t && s(20, G = t.translationurl), "casinomygames" in t && s(15, C = t.casinomygames), "mostplayedperiod" in t && s(21, j = t.mostplayedperiod), "mostplayedrounds" in t && s(22, L = t.mostplayedrounds), "fetchviaevent" in t && s(16, U = t.fetchviaevent);
390
+ "endpoint" in t && s(0, r = t.endpoint), "datasource" in t && s(1, m = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, E = t.session), "userid" in t && s(5, v = t.userid), "clientstyling" in t && s(6, b = t.clientstyling), "clientstylingurl" in t && s(7, _ = t.clientstylingurl), "livecasino" in t && s(8, w = t.livecasino), "integratedgameframemobile" in t && s(9, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(10, T = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(11, D = t.gamepagemodalurl), "showgamename" in t && s(12, O = t.showgamename), "visiblegames" in t && s(13, P = t.visiblegames), "favorites" in t && s(14, R = t.favorites), "translationurl" in t && s(20, k = t.translationurl), "casinomygames" in t && s(15, C = t.casinomygames), "mostplayedperiod" in t && s(21, j = t.mostplayedperiod), "mostplayedrounds" in t && s(22, L = t.mostplayedrounds), "fetchviaevent" in t && s(16, U = t.fetchviaevent);
391
391
  }, a.$$.update = () => {
392
392
  a.$$.dirty[0] & /*endpoint, userid, lang*/
393
393
  41 && r && v && c && V(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
394
394
  131136 && b && h && X(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
395
395
  131200 && _ && h && Z(), a.$$.dirty[0] & /*translationurl*/
396
- 1048576 && G && B(), a.$$.dirty[0] & /*lang*/
396
+ 1048576 && k && Y(), a.$$.dirty[0] & /*lang*/
397
397
  8 && c && W();
398
398
  }, [
399
399
  r,
@@ -407,8 +407,8 @@ function be(a, e, s) {
407
407
  w,
408
408
  F,
409
409
  T,
410
- O,
411
410
  D,
411
+ O,
412
412
  P,
413
413
  R,
414
414
  C,
@@ -416,7 +416,7 @@ function be(a, e, s) {
416
416
  h,
417
417
  p,
418
418
  i,
419
- G,
419
+ k,
420
420
  j,
421
421
  L,
422
422
  x