@everymatrix/casino-most-played-section 1.54.4 → 1.54.8

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.
@@ -0,0 +1,598 @@
1
+ import { a as ee, $ as te, S as se, i as ae, f as l, s as ne, B as ie, b as oe, n as H, d as M, h as S, j as J, k as N, e as L, o as le, v as me, w as re, g as ge, m as ce, F as n, C as de } from "./CasinoFilter-DuUevwDN.js";
2
+ function I(a, e) {
3
+ ee(a, e);
4
+ }
5
+ function ue(a) {
6
+ te.set(a);
7
+ }
8
+ const B = {
9
+ en: {
10
+ noGames: "No games in most played"
11
+ },
12
+ "zh-hk": {
13
+ noGames: "No games in most played"
14
+ },
15
+ de: {
16
+ noGames: "No games in most played"
17
+ },
18
+ it: {
19
+ noGames: "No games in most played"
20
+ },
21
+ fr: {
22
+ noGames: "No games in most played"
23
+ },
24
+ es: {
25
+ noGames: "No hay juegos en más jugados."
26
+ },
27
+ tr: {
28
+ noGames: "En çok oynananlarda oyun yok"
29
+ },
30
+ ru: {
31
+ noGames: "No games in most played"
32
+ },
33
+ ro: {
34
+ noGames: "No games in most played"
35
+ },
36
+ hr: {
37
+ noGames: "Nema igara u najigranijim"
38
+ },
39
+ hu: {
40
+ noGames: "No games in most played"
41
+ },
42
+ pl: {
43
+ noGames: "No games in most played"
44
+ },
45
+ pt: {
46
+ noGames: "No games in most played"
47
+ },
48
+ sl: {
49
+ noGames: "No games in most played"
50
+ },
51
+ sr: {
52
+ noGames: "No games in most played"
53
+ },
54
+ "pt-br": {
55
+ noGames: "Não há jogos nos mais jogados"
56
+ },
57
+ "es-mx": {
58
+ noGames: "No hay juegos en los más jugados"
59
+ },
60
+ "en-us": {
61
+ noGames: "No games in most played"
62
+ }
63
+ };
64
+ if (typeof window != "undefined") {
65
+ let a = function(e) {
66
+ return function(...s) {
67
+ try {
68
+ return e.apply(this, s);
69
+ } catch (i) {
70
+ if (i instanceof DOMException && i.message.includes("has already been used with this registry") || i.message.includes("Cannot define multiple custom elements with the same tag name"))
71
+ return !1;
72
+ throw i;
73
+ }
74
+ };
75
+ };
76
+ customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-BUCzSW6j.js").then(({ default: e }) => {
77
+ !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
78
+ });
79
+ }
80
+ function fe(a) {
81
+ oe(a, "svelte-14zqglz", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-most-played-section{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
82
+ }
83
+ function he(a) {
84
+ let e;
85
+ return {
86
+ c() {
87
+ e = N("casino-games-category-section"), n(
88
+ e,
89
+ "session",
90
+ /*session*/
91
+ a[4]
92
+ ), n(
93
+ e,
94
+ "userid",
95
+ /*userid*/
96
+ a[5]
97
+ ), n(
98
+ e,
99
+ "endpoint",
100
+ /*endpoint*/
101
+ a[0]
102
+ ), n(
103
+ e,
104
+ "datasource",
105
+ /*datasource*/
106
+ a[1]
107
+ ), n(
108
+ e,
109
+ "lang",
110
+ /*lang*/
111
+ a[3]
112
+ ), n(
113
+ e,
114
+ "currency",
115
+ /*currency*/
116
+ a[2]
117
+ ), n(
118
+ e,
119
+ "favorites",
120
+ /*favorites*/
121
+ a[14]
122
+ ), n(
123
+ e,
124
+ "fetchviaevent",
125
+ /*fetchviaevent*/
126
+ a[16]
127
+ ), n(e, "categoryid", "MOSTPLAYED"), n(e, "categoryindex", "1"), n(e, "categorygames", "9"), n(e, "class", "CategoryContainer"), n(
128
+ e,
129
+ "showgamename",
130
+ /*showgamename*/
131
+ a[12]
132
+ ), n(
133
+ e,
134
+ "clientstyling",
135
+ /*clientstyling*/
136
+ a[6]
137
+ ), n(
138
+ e,
139
+ "clientstylingurl",
140
+ /*clientstylingurl*/
141
+ a[7]
142
+ ), n(
143
+ e,
144
+ "livecasino",
145
+ /*livecasino*/
146
+ a[8]
147
+ ), n(
148
+ e,
149
+ "visiblegames",
150
+ /*visiblegames*/
151
+ a[13]
152
+ ), n(
153
+ e,
154
+ "gamepagemodalurl",
155
+ /*gamepagemodalurl*/
156
+ a[11]
157
+ ), n(
158
+ e,
159
+ "integratedgameframedesktop",
160
+ /*integratedgameframedesktop*/
161
+ a[10]
162
+ ), n(
163
+ e,
164
+ "integratedgameframemobile",
165
+ /*integratedgameframemobile*/
166
+ a[9]
167
+ ), n(
168
+ e,
169
+ "casinomygames",
170
+ /*casinomygames*/
171
+ a[15]
172
+ );
173
+ },
174
+ m(s, i) {
175
+ S(s, e, i);
176
+ },
177
+ p(s, i) {
178
+ i[0] & /*session*/
179
+ 16 && n(
180
+ e,
181
+ "session",
182
+ /*session*/
183
+ s[4]
184
+ ), i[0] & /*userid*/
185
+ 32 && n(
186
+ e,
187
+ "userid",
188
+ /*userid*/
189
+ s[5]
190
+ ), i[0] & /*endpoint*/
191
+ 1 && n(
192
+ e,
193
+ "endpoint",
194
+ /*endpoint*/
195
+ s[0]
196
+ ), i[0] & /*datasource*/
197
+ 2 && n(
198
+ e,
199
+ "datasource",
200
+ /*datasource*/
201
+ s[1]
202
+ ), i[0] & /*lang*/
203
+ 8 && n(
204
+ e,
205
+ "lang",
206
+ /*lang*/
207
+ s[3]
208
+ ), i[0] & /*currency*/
209
+ 4 && n(
210
+ e,
211
+ "currency",
212
+ /*currency*/
213
+ s[2]
214
+ ), i[0] & /*favorites*/
215
+ 16384 && n(
216
+ e,
217
+ "favorites",
218
+ /*favorites*/
219
+ s[14]
220
+ ), i[0] & /*fetchviaevent*/
221
+ 65536 && n(
222
+ e,
223
+ "fetchviaevent",
224
+ /*fetchviaevent*/
225
+ s[16]
226
+ ), i[0] & /*showgamename*/
227
+ 4096 && n(
228
+ e,
229
+ "showgamename",
230
+ /*showgamename*/
231
+ s[12]
232
+ ), i[0] & /*clientstyling*/
233
+ 64 && n(
234
+ e,
235
+ "clientstyling",
236
+ /*clientstyling*/
237
+ s[6]
238
+ ), i[0] & /*clientstylingurl*/
239
+ 128 && n(
240
+ e,
241
+ "clientstylingurl",
242
+ /*clientstylingurl*/
243
+ s[7]
244
+ ), i[0] & /*livecasino*/
245
+ 256 && n(
246
+ e,
247
+ "livecasino",
248
+ /*livecasino*/
249
+ s[8]
250
+ ), i[0] & /*visiblegames*/
251
+ 8192 && n(
252
+ e,
253
+ "visiblegames",
254
+ /*visiblegames*/
255
+ s[13]
256
+ ), i[0] & /*gamepagemodalurl*/
257
+ 2048 && n(
258
+ e,
259
+ "gamepagemodalurl",
260
+ /*gamepagemodalurl*/
261
+ s[11]
262
+ ), i[0] & /*integratedgameframedesktop*/
263
+ 1024 && n(
264
+ e,
265
+ "integratedgameframedesktop",
266
+ /*integratedgameframedesktop*/
267
+ s[10]
268
+ ), i[0] & /*integratedgameframemobile*/
269
+ 512 && n(
270
+ e,
271
+ "integratedgameframemobile",
272
+ /*integratedgameframemobile*/
273
+ s[9]
274
+ ), i[0] & /*casinomygames*/
275
+ 32768 && n(
276
+ e,
277
+ "casinomygames",
278
+ /*casinomygames*/
279
+ s[15]
280
+ );
281
+ },
282
+ d(s) {
283
+ s && M(e);
284
+ }
285
+ };
286
+ }
287
+ function ye(a) {
288
+ let e, s = (
289
+ /*$_*/
290
+ a[19]("noGames") + ""
291
+ ), i;
292
+ return {
293
+ c() {
294
+ e = N("p"), i = ce(s), L(e, "class", "SearchLoading");
295
+ },
296
+ m(r, m) {
297
+ S(r, e, m), J(e, i);
298
+ },
299
+ p(r, m) {
300
+ m[0] & /*$_*/
301
+ 524288 && s !== (s = /*$_*/
302
+ r[19]("noGames") + "") && ge(i, s);
303
+ },
304
+ d(r) {
305
+ r && M(e);
306
+ }
307
+ };
308
+ }
309
+ function ve(a) {
310
+ let e, s;
311
+ function i(g, c) {
312
+ return (
313
+ /*mostPlayedEmpty*/
314
+ g[18] ? ye : he
315
+ );
316
+ }
317
+ let r = i(a), m = r(a);
318
+ return {
319
+ c() {
320
+ e = N("div"), s = N("div"), m.c(), L(s, "class", "casino-most-played-section"), L(e, "class", "CasinoGamesCategorySectionContainer");
321
+ },
322
+ m(g, c) {
323
+ S(g, e, c), J(e, s), m.m(s, null), a[23](e);
324
+ },
325
+ p(g, c) {
326
+ r === (r = i(g)) && m ? m.p(g, c) : (m.d(1), m = r(g), m && (m.c(), m.m(s, null)));
327
+ },
328
+ i: H,
329
+ o: H,
330
+ d(g) {
331
+ g && M(e), m.d(), a[23](null);
332
+ }
333
+ };
334
+ }
335
+ function be(a, e, s) {
336
+ let i;
337
+ le(a, de, (t) => s(19, i = t));
338
+ let { endpoint: r = "" } = e, { datasource: m = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: p = "" } = e, { userid: v = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: A = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: D = "false" } = e, { showgamename: O = "" } = e, { visiblegames: C } = e, { favorites: T = "" } = e, { translationurl: k = "" } = e, { casinomygames: P = "false" } = e, { mostplayedperiod: j = "Last30Days" } = e, { mostplayedrounds: E = "10" } = e, { fetchviaevent: R = "true" } = e, Y = window.navigator.userAgent;
339
+ const K = () => {
340
+ fetch(k).then((o) => o.json()).then((o) => {
341
+ Object.keys(o).forEach((d) => {
342
+ I(d, o[d]);
343
+ });
344
+ }).catch((o) => {
345
+ console.log(o);
346
+ });
347
+ };
348
+ Object.keys(B).forEach((t) => {
349
+ I(t, B[t]);
350
+ });
351
+ let G = [], U, z = !1, h;
352
+ const Q = (t) => {
353
+ let o = new URL(`${r}/v1/player/${v}/games/most-played`);
354
+ 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);
355
+ let d = t.device;
356
+ 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), U = _ ? o : o.href, new Promise((u, y) => {
357
+ fetch(U).then((f) => f.json()).then((f) => {
358
+ f.items = f.items.filter(($) => {
359
+ let q = !0;
360
+ return $.gameCode == "OddsMatrix2" && (f.count--, q = !1), q;
361
+ }), u(f);
362
+ }).catch((f) => {
363
+ console.error(f), y(f);
364
+ });
365
+ });
366
+ }, V = () => {
367
+ Q({
368
+ limit: 100,
369
+ device: me(Y),
370
+ rounds: E
371
+ }).then((t) => {
372
+ if (t.count > 0) {
373
+ let o = [];
374
+ t.items.forEach((d) => {
375
+ let u = new URL(`${r}/v1/casino/games/${d.gameId}`);
376
+ u.searchParams.append("datasource", m), _ ? o.push(fetch(u.href).then((y) => y.json())) : o.push(fetch(u.href).then((y) => y.json()));
377
+ }), Promise.all(o).then((d) => {
378
+ G = d.filter((u) => !("error" in u)).map((u) => u[0]), P === "true" && (G = G.slice(0, JSON.parse(C))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: G }, window.location.href);
379
+ });
380
+ } else
381
+ s(18, z = !0);
382
+ });
383
+ }, W = () => {
384
+ ue(c);
385
+ }, X = () => {
386
+ let t = document.createElement("style");
387
+ t.innerHTML = b, h.appendChild(t);
388
+ }, Z = () => {
389
+ let t = document.createElement("style");
390
+ fetch(new URL(w)).then((o) => o.text()).then((o) => {
391
+ t.innerHTML = o, setTimeout(
392
+ () => {
393
+ h.appendChild(t);
394
+ },
395
+ 1
396
+ );
397
+ });
398
+ };
399
+ function x(t) {
400
+ re[t ? "unshift" : "push"](() => {
401
+ h = t, s(17, h);
402
+ });
403
+ }
404
+ return a.$$set = (t) => {
405
+ "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, p = t.session), "userid" in t && s(5, v = t.userid), "clientstyling" in t && s(6, b = t.clientstyling), "clientstylingurl" in t && s(7, w = t.clientstylingurl), "livecasino" in t && s(8, _ = t.livecasino), "integratedgameframemobile" in t && s(9, A = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(10, F = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(11, D = t.gamepagemodalurl), "showgamename" in t && s(12, O = t.showgamename), "visiblegames" in t && s(13, C = t.visiblegames), "favorites" in t && s(14, T = t.favorites), "translationurl" in t && s(20, k = t.translationurl), "casinomygames" in t && s(15, P = t.casinomygames), "mostplayedperiod" in t && s(21, j = t.mostplayedperiod), "mostplayedrounds" in t && s(22, E = t.mostplayedrounds), "fetchviaevent" in t && s(16, R = t.fetchviaevent);
406
+ }, a.$$.update = () => {
407
+ a.$$.dirty[0] & /*endpoint, userid, lang*/
408
+ 41 && r && v && c && V(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
409
+ 131136 && b && h && X(), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
410
+ 131200 && w && h && Z(), a.$$.dirty[0] & /*translationurl*/
411
+ 1048576 && k && K(), a.$$.dirty[0] & /*lang*/
412
+ 8 && c && W();
413
+ }, [
414
+ r,
415
+ m,
416
+ g,
417
+ c,
418
+ p,
419
+ v,
420
+ b,
421
+ w,
422
+ _,
423
+ A,
424
+ F,
425
+ D,
426
+ O,
427
+ C,
428
+ T,
429
+ P,
430
+ R,
431
+ h,
432
+ z,
433
+ i,
434
+ k,
435
+ j,
436
+ E,
437
+ x
438
+ ];
439
+ }
440
+ class we extends se {
441
+ constructor(e) {
442
+ super(), ae(
443
+ this,
444
+ e,
445
+ be,
446
+ ve,
447
+ ne,
448
+ {
449
+ endpoint: 0,
450
+ datasource: 1,
451
+ currency: 2,
452
+ lang: 3,
453
+ session: 4,
454
+ userid: 5,
455
+ clientstyling: 6,
456
+ clientstylingurl: 7,
457
+ livecasino: 8,
458
+ integratedgameframemobile: 9,
459
+ integratedgameframedesktop: 10,
460
+ gamepagemodalurl: 11,
461
+ showgamename: 12,
462
+ visiblegames: 13,
463
+ favorites: 14,
464
+ translationurl: 20,
465
+ casinomygames: 15,
466
+ mostplayedperiod: 21,
467
+ mostplayedrounds: 22,
468
+ fetchviaevent: 16
469
+ },
470
+ fe,
471
+ [-1, -1]
472
+ );
473
+ }
474
+ get endpoint() {
475
+ return this.$$.ctx[0];
476
+ }
477
+ set endpoint(e) {
478
+ this.$$set({ endpoint: e }), l();
479
+ }
480
+ get datasource() {
481
+ return this.$$.ctx[1];
482
+ }
483
+ set datasource(e) {
484
+ this.$$set({ datasource: e }), l();
485
+ }
486
+ get currency() {
487
+ return this.$$.ctx[2];
488
+ }
489
+ set currency(e) {
490
+ this.$$set({ currency: e }), l();
491
+ }
492
+ get lang() {
493
+ return this.$$.ctx[3];
494
+ }
495
+ set lang(e) {
496
+ this.$$set({ lang: e }), l();
497
+ }
498
+ get session() {
499
+ return this.$$.ctx[4];
500
+ }
501
+ set session(e) {
502
+ this.$$set({ session: e }), l();
503
+ }
504
+ get userid() {
505
+ return this.$$.ctx[5];
506
+ }
507
+ set userid(e) {
508
+ this.$$set({ userid: e }), l();
509
+ }
510
+ get clientstyling() {
511
+ return this.$$.ctx[6];
512
+ }
513
+ set clientstyling(e) {
514
+ this.$$set({ clientstyling: e }), l();
515
+ }
516
+ get clientstylingurl() {
517
+ return this.$$.ctx[7];
518
+ }
519
+ set clientstylingurl(e) {
520
+ this.$$set({ clientstylingurl: e }), l();
521
+ }
522
+ get livecasino() {
523
+ return this.$$.ctx[8];
524
+ }
525
+ set livecasino(e) {
526
+ this.$$set({ livecasino: e }), l();
527
+ }
528
+ get integratedgameframemobile() {
529
+ return this.$$.ctx[9];
530
+ }
531
+ set integratedgameframemobile(e) {
532
+ this.$$set({ integratedgameframemobile: e }), l();
533
+ }
534
+ get integratedgameframedesktop() {
535
+ return this.$$.ctx[10];
536
+ }
537
+ set integratedgameframedesktop(e) {
538
+ this.$$set({ integratedgameframedesktop: e }), l();
539
+ }
540
+ get gamepagemodalurl() {
541
+ return this.$$.ctx[11];
542
+ }
543
+ set gamepagemodalurl(e) {
544
+ this.$$set({ gamepagemodalurl: e }), l();
545
+ }
546
+ get showgamename() {
547
+ return this.$$.ctx[12];
548
+ }
549
+ set showgamename(e) {
550
+ this.$$set({ showgamename: e }), l();
551
+ }
552
+ get visiblegames() {
553
+ return this.$$.ctx[13];
554
+ }
555
+ set visiblegames(e) {
556
+ this.$$set({ visiblegames: e }), l();
557
+ }
558
+ get favorites() {
559
+ return this.$$.ctx[14];
560
+ }
561
+ set favorites(e) {
562
+ this.$$set({ favorites: e }), l();
563
+ }
564
+ get translationurl() {
565
+ return this.$$.ctx[20];
566
+ }
567
+ set translationurl(e) {
568
+ this.$$set({ translationurl: e }), l();
569
+ }
570
+ get casinomygames() {
571
+ return this.$$.ctx[15];
572
+ }
573
+ set casinomygames(e) {
574
+ this.$$set({ casinomygames: e }), l();
575
+ }
576
+ get mostplayedperiod() {
577
+ return this.$$.ctx[21];
578
+ }
579
+ set mostplayedperiod(e) {
580
+ this.$$set({ mostplayedperiod: e }), l();
581
+ }
582
+ get mostplayedrounds() {
583
+ return this.$$.ctx[22];
584
+ }
585
+ set mostplayedrounds(e) {
586
+ this.$$set({ mostplayedrounds: e }), l();
587
+ }
588
+ get fetchviaevent() {
589
+ return this.$$.ctx[16];
590
+ }
591
+ set fetchviaevent(e) {
592
+ this.$$set({ fetchviaevent: e }), l();
593
+ }
594
+ }
595
+ ie(we, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
596
+ export {
597
+ we as default
598
+ };
@@ -1,11 +1,11 @@
1
- import { a as ee, $ as te, c as se, S as ae, i as ne, s as ie, f as l, b as oe, e as N, h as L, k as M, l as Y, n as H, o as S, p as le, w as me, x as re, F as n, t as ge, m as ce, A as de } from "./CasinoFilter-BYeEBK-a.js";
1
+ import { a as ee, $ as te, B as se, S as ae, i as ne, s as ie, f as l, b as oe, n as H, d as M, h as S, j as J, k as N, e as L, o as le, v as me, w as re, g as ge, m as ce, F as n, C as de } from "./CasinoFilter-C_NFi_rN.js";
2
2
  function I(a, e) {
3
3
  ee(a, e);
4
4
  }
5
5
  function ue(a) {
6
6
  te.set(a);
7
7
  }
8
- const J = {
8
+ const B = {
9
9
  en: {
10
10
  noGames: "No games in most played"
11
11
  },
@@ -73,7 +73,7 @@ if (typeof window < "u") {
73
73
  }
74
74
  };
75
75
  };
76
- customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-mzPrMyYZ.js").then(({ default: e }) => {
76
+ customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-CMQyuUzV.js").then(({ default: e }) => {
77
77
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
78
78
  });
79
79
  }
@@ -172,7 +172,7 @@ function he(a) {
172
172
  );
173
173
  },
174
174
  m(s, i) {
175
- M(s, e, i);
175
+ S(s, e, i);
176
176
  },
177
177
  p(s, i) {
178
178
  i[0] & /*session*/
@@ -280,7 +280,7 @@ function he(a) {
280
280
  );
281
281
  },
282
282
  d(s) {
283
- s && S(e);
283
+ s && M(e);
284
284
  }
285
285
  };
286
286
  }
@@ -291,18 +291,18 @@ function ye(a) {
291
291
  ), i;
292
292
  return {
293
293
  c() {
294
- e = N("p"), i = ge(s), L(e, "class", "SearchLoading");
294
+ e = N("p"), i = ce(s), L(e, "class", "SearchLoading");
295
295
  },
296
296
  m(r, m) {
297
- M(r, e, m), Y(e, i);
297
+ S(r, e, m), J(e, i);
298
298
  },
299
299
  p(r, m) {
300
300
  m[0] & /*$_*/
301
301
  524288 && s !== (s = /*$_*/
302
- r[19]("noGames") + "") && ce(i, s);
302
+ r[19]("noGames") + "") && ge(i, s);
303
303
  },
304
304
  d(r) {
305
- r && S(e);
305
+ r && M(e);
306
306
  }
307
307
  };
308
308
  }
@@ -320,7 +320,7 @@ function ve(a) {
320
320
  e = N("div"), s = N("div"), m.c(), L(s, "class", "casino-most-played-section"), L(e, "class", "CasinoGamesCategorySectionContainer");
321
321
  },
322
322
  m(g, c) {
323
- M(g, e, c), Y(e, s), m.m(s, null), a[23](e);
323
+ S(g, e, c), J(e, s), m.m(s, null), a[23](e);
324
324
  },
325
325
  p(g, c) {
326
326
  r === (r = i(g)) && m ? m.p(g, c) : (m.d(1), m = r(g), m && (m.c(), m.m(s, null)));
@@ -328,14 +328,14 @@ function ve(a) {
328
328
  i: H,
329
329
  o: H,
330
330
  d(g) {
331
- g && S(e), m.d(), a[23](null);
331
+ g && M(e), m.d(), a[23](null);
332
332
  }
333
333
  };
334
334
  }
335
335
  function be(a, e, s) {
336
336
  let i;
337
337
  le(a, de, (t) => s(19, i = t));
338
- let { endpoint: r = "" } = e, { datasource: m = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: p = "" } = e, { userid: v = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: A = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: D = "false" } = e, { showgamename: O = "" } = e, { visiblegames: C } = e, { favorites: T = "" } = e, { translationurl: k = "" } = e, { casinomygames: P = "false" } = e, { mostplayedperiod: j = "Last30Days" } = e, { mostplayedrounds: E = "10" } = e, { fetchviaevent: R = "true" } = e, B = window.navigator.userAgent;
338
+ let { endpoint: r = "" } = e, { datasource: m = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: p = "" } = e, { userid: v = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: w = "" } = e, { livecasino: _ = "false" } = e, { integratedgameframemobile: A = "false" } = e, { integratedgameframedesktop: F = "false" } = e, { gamepagemodalurl: D = "false" } = e, { showgamename: O = "" } = e, { visiblegames: C } = e, { favorites: T = "" } = e, { translationurl: k = "" } = e, { casinomygames: P = "false" } = e, { mostplayedperiod: j = "Last30Days" } = e, { mostplayedrounds: E = "10" } = e, { fetchviaevent: R = "true" } = e, Y = window.navigator.userAgent;
339
339
  const K = () => {
340
340
  fetch(k).then((o) => o.json()).then((o) => {
341
341
  Object.keys(o).forEach((d) => {
@@ -345,8 +345,8 @@ function be(a, e, s) {
345
345
  console.log(o);
346
346
  });
347
347
  };
348
- Object.keys(J).forEach((t) => {
349
- I(t, J[t]);
348
+ Object.keys(B).forEach((t) => {
349
+ I(t, B[t]);
350
350
  });
351
351
  let G = [], U, z = !1, h;
352
352
  const Q = (t) => {
@@ -366,7 +366,7 @@ function be(a, e, s) {
366
366
  }, V = () => {
367
367
  Q({
368
368
  limit: 100,
369
- device: me(B),
369
+ device: me(Y),
370
370
  rounds: E
371
371
  }).then((t) => {
372
372
  if (t.count > 0) {