@everymatrix/casino-most-played-section 1.58.1 → 1.59.1

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 (31) hide show
  1. package/components/{CasinoFilter-CBoZ_RpC.js → CasinoFilter-B89QTVUk.js} +152 -148
  2. package/components/{CasinoFilter-D9VOcS4e.js → CasinoFilter-BuJFRvPM.js} +156 -152
  3. package/components/{CasinoFilter-CP2SsYcD.cjs → CasinoFilter-OPj81-Zy.cjs} +4 -4
  4. package/components/CasinoGameThumbnail-BadbB37q.cjs +47 -0
  5. package/components/{CasinoGameThumbnail-Cwm-Tv9Z.js → CasinoGameThumbnail-D7d2CH9f.js} +1449 -1433
  6. package/components/{CasinoGameThumbnail-8SSlDp2s.js → CasinoGameThumbnail-De-MNb5C.js} +1516 -1500
  7. package/components/{CasinoGamesCategorySection-Dd6Sbxl3.js → CasinoGamesCategorySection-BZda8xTc.js} +402 -397
  8. package/components/{CasinoGamesCategorySection-CIDyNXT6.js → CasinoGamesCategorySection-BpG8cEx6.js} +296 -291
  9. package/components/{CasinoGamesCategorySection-BYQrH9_B.cjs → CasinoGamesCategorySection-itQeJrW_.cjs} +1 -1
  10. package/components/{CasinoMostPlayedSection-Bdpwrllj.js → CasinoMostPlayedSection-BE1AytOD.js} +60 -60
  11. package/components/{CasinoMostPlayedSection-C2atcWQN.cjs → CasinoMostPlayedSection-CmAWXh3D.cjs} +1 -1
  12. package/components/{CasinoMostPlayedSection-ZCvcv5TT.js → CasinoMostPlayedSection-awe5OQbs.js} +70 -70
  13. package/components/{CasinoSort-BUVnl6Xi.js → CasinoSort-BeHiiUhs.js} +19 -19
  14. package/components/{CasinoSort-Td9dTUIe.cjs → CasinoSort-CrDBxoGC.cjs} +1 -1
  15. package/components/{CasinoSort-fSuvj-fz.js → CasinoSort-CrQRKk5p.js} +19 -19
  16. package/es2015/casino-most-played-section.cjs +1 -1
  17. package/es2015/casino-most-played-section.js +1 -1
  18. package/esnext/casino-most-played-section.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
  21. package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
  22. package/stencil/index-ae04a8b1-BxaX26xW.js +516 -0
  23. package/stencil/index-ae04a8b1-D7qYBP-T.js +532 -0
  24. package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +1 -0
  25. package/stencil/ui-skeleton-DFpfaKvi.js +11 -0
  26. package/stencil/ui-skeleton-IHMCRYEX.cjs +1 -0
  27. package/stencil/ui-skeleton-UUT_AJxa.js +29 -0
  28. package/stencil/ui-skeleton-a642cced-5nW6b8_l.cjs +1 -0
  29. package/stencil/ui-skeleton-a642cced-BNXFvvk_.js +122 -0
  30. package/stencil/ui-skeleton-a642cced-DdY2eEM0.js +122 -0
  31. package/components/CasinoGameThumbnail-CHQxvhi_.cjs +0 -47
@@ -1,5 +1,5 @@
1
- import { a as $, $ as ee, S as te, i as se, f as m, s as ae, E as ne, b as ie, n as B, d as L, h as A, j as K, k as P, e as M, o as oe, p as me, v as re, w as le, g as ge, m as ce, J as n, F as ue, B as de, C as fe, D as he } from "./CasinoFilter-D9VOcS4e.js";
2
- function Y(a, e) {
1
+ import { a as $, $ as ee, S as te, i as se, f as r, s as ae, G as ne, b as ie, n as Y, d as L, h as A, j as K, l as P, e as M, p as oe, q as re, x as le, y as me, g as ge, o as ce, r as n, I as ue, D as de, E as fe, F as he } from "./CasinoFilter-BuJFRvPM.js";
2
+ function B(a, e) {
3
3
  $(a, e);
4
4
  }
5
5
  function ye(a) {
@@ -73,7 +73,7 @@ if (typeof window != "undefined") {
73
73
  }
74
74
  };
75
75
  };
76
- customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-Dd6Sbxl3.js").then(({ default: e }) => {
76
+ customElements.define = a(customElements.define), import("./CasinoGamesCategorySection-BZda8xTc.js").then(({ default: e }) => {
77
77
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
78
78
  });
79
79
  }
@@ -304,16 +304,16 @@ function we(a) {
304
304
  c() {
305
305
  e = P("p"), i = ce(s), M(e, "class", "SearchLoading");
306
306
  },
307
- m(l, r) {
308
- A(l, e, r), K(e, i);
307
+ m(m, l) {
308
+ A(m, e, l), K(e, i);
309
309
  },
310
- p(l, r) {
311
- r[0] & /*$_*/
310
+ p(m, l) {
311
+ l[0] & /*$_*/
312
312
  1048576 && s !== (s = /*$_*/
313
- l[20]("noGames") + "") && ge(i, s);
313
+ m[20]("noGames") + "") && ge(i, s);
314
314
  },
315
- d(l) {
316
- l && L(e);
315
+ d(m) {
316
+ m && L(e);
317
317
  }
318
318
  };
319
319
  }
@@ -325,50 +325,50 @@ function _e(a) {
325
325
  g[19] ? we : ve
326
326
  );
327
327
  }
328
- let l = i(a), r = l(a);
328
+ let m = i(a), l = m(a);
329
329
  return {
330
330
  c() {
331
- e = P("div"), s = P("div"), r.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
331
+ e = P("div"), s = P("div"), l.c(), M(s, "class", "casino-most-played-section"), M(e, "class", "CasinoGamesCategorySectionContainer");
332
332
  },
333
333
  m(g, c) {
334
- A(g, e, c), K(e, s), r.m(s, null), a[24](e);
334
+ A(g, e, c), K(e, s), l.m(s, null), a[24](e);
335
335
  },
336
336
  p(g, c) {
337
- l === (l = i(g)) && r ? r.p(g, c) : (r.d(1), r = l(g), r && (r.c(), r.m(s, null)));
337
+ m === (m = i(g)) && l ? l.p(g, c) : (l.d(1), l = m(g), l && (l.c(), l.m(s, null)));
338
338
  },
339
- i: B,
340
- o: B,
339
+ i: Y,
340
+ o: Y,
341
341
  d(g) {
342
- g && L(e), r.d(), a[24](null);
342
+ g && L(e), l.d(), a[24](null);
343
343
  }
344
344
  };
345
345
  }
346
- function ke(a, e, s) {
346
+ function Ge(a, e, s) {
347
347
  let i;
348
348
  oe(a, ue, (t) => s(20, i = t));
349
- let { endpoint: l = "" } = e, { datasource: r = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: D = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: w = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: k = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: O = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: C } = e, { favorites: U = "" } = e, { translationurl: G = "" } = e, { casinomygames: j = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: E = "10" } = e, { fetchviaevent: z = "true" } = e, Q = window.navigator.userAgent;
349
+ let { endpoint: m = "" } = e, { datasource: l = "" } = e, { currency: g = "" } = e, { lang: c = "" } = e, { session: D = "" } = e, { userid: b = "" } = e, { mbsource: v } = e, { clientstyling: w = "" } = e, { clientstylingurl: _ = "" } = e, { livecasino: G = "false" } = e, { integratedgameframemobile: F = "false" } = e, { integratedgameframedesktop: O = "false" } = e, { gamepagemodalurl: R = "false" } = e, { showgamename: T = "" } = e, { visiblegames: j } = e, { favorites: U = "" } = e, { translationurl: k = "" } = e, { casinomygames: C = "false" } = e, { mostplayedperiod: S = "Last30Days" } = e, { mostplayedrounds: E = "10" } = e, { fetchviaevent: I = "true" } = e, Q = window.navigator.userAgent;
350
350
  const V = () => {
351
- fetch(G).then((o) => o.json()).then((o) => {
351
+ fetch(k).then((o) => o.json()).then((o) => {
352
352
  Object.keys(o).forEach((d) => {
353
- Y(d, o[d]);
353
+ B(d, o[d]);
354
354
  });
355
355
  }).catch((o) => {
356
356
  console.log(o);
357
357
  });
358
358
  };
359
359
  Object.keys(H).forEach((t) => {
360
- Y(t, H[t]);
360
+ B(t, H[t]);
361
361
  });
362
- let N = [], I, J = !1, u;
362
+ let N = [], q, z = !1, u;
363
363
  const W = (t) => {
364
- let o = new URL(`${l}/v1/player/${b}/games/most-played`);
364
+ let o = new URL(`${m}/v1/player/${b}/games/most-played`);
365
365
  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", S);
366
366
  let d = t.device;
367
- 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), I = k ? o : o.href, new Promise((f, y) => {
368
- fetch(I).then((h) => h.json()).then((h) => {
367
+ 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), q = G ? o : o.href, new Promise((f, y) => {
368
+ fetch(q).then((h) => h.json()).then((h) => {
369
369
  h.items = h.items.filter((x) => {
370
- let q = !0;
371
- return x.gameCode == "OddsMatrix2" && (h.count--, q = !1), q;
370
+ let J = !0;
371
+ return x.gameCode == "OddsMatrix2" && (h.count--, J = !1), J;
372
372
  }), f(h);
373
373
  }).catch((h) => {
374
374
  console.error(h), y(h);
@@ -377,43 +377,43 @@ function ke(a, e, s) {
377
377
  }, X = () => {
378
378
  W({
379
379
  limit: 100,
380
- device: re(Q),
380
+ device: le(Q),
381
381
  rounds: E
382
382
  }).then((t) => {
383
383
  if (t.count > 0) {
384
384
  let o = [];
385
385
  t.items.forEach((d) => {
386
- let f = new URL(`${l}/v1/casino/games/${d.gameId}`);
387
- f.searchParams.append("datasource", r), k ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
386
+ let f = new URL(`${m}/v1/casino/games/${d.gameId}`);
387
+ f.searchParams.append("datasource", l), G ? o.push(fetch(f.href).then((y) => y.json())) : o.push(fetch(f.href).then((y) => y.json()));
388
388
  }), Promise.all(o).then((d) => {
389
- N = d.filter((f) => !("error" in f)).map((f) => f[0]), j === "true" && (N = N.slice(0, JSON.parse(C))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
389
+ N = d.filter((f) => !("error" in f)).map((f) => f[0]), C === "true" && (N = N.slice(0, JSON.parse(j))), window.postMessage({ type: "MostPlayedData", mostPlayedGames: N }, window.location.href);
390
390
  });
391
391
  } else
392
- s(19, J = !0);
392
+ s(19, z = !0);
393
393
  });
394
394
  }, Z = () => {
395
395
  ye(c);
396
396
  };
397
- me(() => () => {
397
+ re(() => () => {
398
398
  });
399
399
  function p(t) {
400
- le[t ? "unshift" : "push"](() => {
400
+ me[t ? "unshift" : "push"](() => {
401
401
  u = t, s(18, u);
402
402
  });
403
403
  }
404
404
  return a.$$set = (t) => {
405
- "endpoint" in t && s(0, l = t.endpoint), "datasource" in t && s(1, r = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, D = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, w = t.clientstyling), "clientstylingurl" in t && s(8, _ = t.clientstylingurl), "livecasino" in t && s(9, k = t.livecasino), "integratedgameframemobile" in t && s(10, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, O = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, C = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, G = t.translationurl), "casinomygames" in t && s(16, j = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, E = t.mostplayedrounds), "fetchviaevent" in t && s(17, z = t.fetchviaevent);
405
+ "endpoint" in t && s(0, m = t.endpoint), "datasource" in t && s(1, l = t.datasource), "currency" in t && s(2, g = t.currency), "lang" in t && s(3, c = t.lang), "session" in t && s(4, D = t.session), "userid" in t && s(5, b = t.userid), "mbsource" in t && s(6, v = t.mbsource), "clientstyling" in t && s(7, w = t.clientstyling), "clientstylingurl" in t && s(8, _ = t.clientstylingurl), "livecasino" in t && s(9, G = t.livecasino), "integratedgameframemobile" in t && s(10, F = t.integratedgameframemobile), "integratedgameframedesktop" in t && s(11, O = t.integratedgameframedesktop), "gamepagemodalurl" in t && s(12, R = t.gamepagemodalurl), "showgamename" in t && s(13, T = t.showgamename), "visiblegames" in t && s(14, j = t.visiblegames), "favorites" in t && s(15, U = t.favorites), "translationurl" in t && s(21, k = t.translationurl), "casinomygames" in t && s(16, C = t.casinomygames), "mostplayedperiod" in t && s(22, S = t.mostplayedperiod), "mostplayedrounds" in t && s(23, E = t.mostplayedrounds), "fetchviaevent" in t && s(17, I = t.fetchviaevent);
406
406
  }, a.$$.update = () => {
407
407
  a.$$.dirty[0] & /*endpoint, userid, lang*/
408
- 41 && l && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
408
+ 41 && m && b && c && X(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
409
409
  262272 && w && u && de(u, w), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
410
410
  262400 && _ && u && fe(u, _), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
411
411
  262208 && v && u && he(u, `${v}.Style`), a.$$.dirty[0] & /*translationurl*/
412
- 2097152 && G && V(), a.$$.dirty[0] & /*lang*/
412
+ 2097152 && k && V(), a.$$.dirty[0] & /*lang*/
413
413
  8 && c && Z();
414
414
  }, [
415
+ m,
415
416
  l,
416
- r,
417
417
  g,
418
418
  c,
419
419
  D,
@@ -421,30 +421,30 @@ function ke(a, e, s) {
421
421
  v,
422
422
  w,
423
423
  _,
424
- k,
424
+ G,
425
425
  F,
426
426
  O,
427
427
  R,
428
428
  T,
429
- C,
430
- U,
431
429
  j,
432
- z,
430
+ U,
431
+ C,
432
+ I,
433
433
  u,
434
- J,
434
+ z,
435
435
  i,
436
- G,
436
+ k,
437
437
  S,
438
438
  E,
439
439
  p
440
440
  ];
441
441
  }
442
- class Ge extends te {
442
+ class ke extends te {
443
443
  constructor(e) {
444
444
  super(), se(
445
445
  this,
446
446
  e,
447
- ke,
447
+ Ge,
448
448
  _e,
449
449
  ae,
450
450
  {
@@ -478,130 +478,130 @@ class Ge extends te {
478
478
  return this.$$.ctx[0];
479
479
  }
480
480
  set endpoint(e) {
481
- this.$$set({ endpoint: e }), m();
481
+ this.$$set({ endpoint: e }), r();
482
482
  }
483
483
  get datasource() {
484
484
  return this.$$.ctx[1];
485
485
  }
486
486
  set datasource(e) {
487
- this.$$set({ datasource: e }), m();
487
+ this.$$set({ datasource: e }), r();
488
488
  }
489
489
  get currency() {
490
490
  return this.$$.ctx[2];
491
491
  }
492
492
  set currency(e) {
493
- this.$$set({ currency: e }), m();
493
+ this.$$set({ currency: e }), r();
494
494
  }
495
495
  get lang() {
496
496
  return this.$$.ctx[3];
497
497
  }
498
498
  set lang(e) {
499
- this.$$set({ lang: e }), m();
499
+ this.$$set({ lang: e }), r();
500
500
  }
501
501
  get session() {
502
502
  return this.$$.ctx[4];
503
503
  }
504
504
  set session(e) {
505
- this.$$set({ session: e }), m();
505
+ this.$$set({ session: e }), r();
506
506
  }
507
507
  get userid() {
508
508
  return this.$$.ctx[5];
509
509
  }
510
510
  set userid(e) {
511
- this.$$set({ userid: e }), m();
511
+ this.$$set({ userid: e }), r();
512
512
  }
513
513
  get mbsource() {
514
514
  return this.$$.ctx[6];
515
515
  }
516
516
  set mbsource(e) {
517
- this.$$set({ mbsource: e }), m();
517
+ this.$$set({ mbsource: e }), r();
518
518
  }
519
519
  get clientstyling() {
520
520
  return this.$$.ctx[7];
521
521
  }
522
522
  set clientstyling(e) {
523
- this.$$set({ clientstyling: e }), m();
523
+ this.$$set({ clientstyling: e }), r();
524
524
  }
525
525
  get clientstylingurl() {
526
526
  return this.$$.ctx[8];
527
527
  }
528
528
  set clientstylingurl(e) {
529
- this.$$set({ clientstylingurl: e }), m();
529
+ this.$$set({ clientstylingurl: e }), r();
530
530
  }
531
531
  get livecasino() {
532
532
  return this.$$.ctx[9];
533
533
  }
534
534
  set livecasino(e) {
535
- this.$$set({ livecasino: e }), m();
535
+ this.$$set({ livecasino: e }), r();
536
536
  }
537
537
  get integratedgameframemobile() {
538
538
  return this.$$.ctx[10];
539
539
  }
540
540
  set integratedgameframemobile(e) {
541
- this.$$set({ integratedgameframemobile: e }), m();
541
+ this.$$set({ integratedgameframemobile: e }), r();
542
542
  }
543
543
  get integratedgameframedesktop() {
544
544
  return this.$$.ctx[11];
545
545
  }
546
546
  set integratedgameframedesktop(e) {
547
- this.$$set({ integratedgameframedesktop: e }), m();
547
+ this.$$set({ integratedgameframedesktop: e }), r();
548
548
  }
549
549
  get gamepagemodalurl() {
550
550
  return this.$$.ctx[12];
551
551
  }
552
552
  set gamepagemodalurl(e) {
553
- this.$$set({ gamepagemodalurl: e }), m();
553
+ this.$$set({ gamepagemodalurl: e }), r();
554
554
  }
555
555
  get showgamename() {
556
556
  return this.$$.ctx[13];
557
557
  }
558
558
  set showgamename(e) {
559
- this.$$set({ showgamename: e }), m();
559
+ this.$$set({ showgamename: e }), r();
560
560
  }
561
561
  get visiblegames() {
562
562
  return this.$$.ctx[14];
563
563
  }
564
564
  set visiblegames(e) {
565
- this.$$set({ visiblegames: e }), m();
565
+ this.$$set({ visiblegames: e }), r();
566
566
  }
567
567
  get favorites() {
568
568
  return this.$$.ctx[15];
569
569
  }
570
570
  set favorites(e) {
571
- this.$$set({ favorites: e }), m();
571
+ this.$$set({ favorites: e }), r();
572
572
  }
573
573
  get translationurl() {
574
574
  return this.$$.ctx[21];
575
575
  }
576
576
  set translationurl(e) {
577
- this.$$set({ translationurl: e }), m();
577
+ this.$$set({ translationurl: e }), r();
578
578
  }
579
579
  get casinomygames() {
580
580
  return this.$$.ctx[16];
581
581
  }
582
582
  set casinomygames(e) {
583
- this.$$set({ casinomygames: e }), m();
583
+ this.$$set({ casinomygames: e }), r();
584
584
  }
585
585
  get mostplayedperiod() {
586
586
  return this.$$.ctx[22];
587
587
  }
588
588
  set mostplayedperiod(e) {
589
- this.$$set({ mostplayedperiod: e }), m();
589
+ this.$$set({ mostplayedperiod: e }), r();
590
590
  }
591
591
  get mostplayedrounds() {
592
592
  return this.$$.ctx[23];
593
593
  }
594
594
  set mostplayedrounds(e) {
595
- this.$$set({ mostplayedrounds: e }), m();
595
+ this.$$set({ mostplayedrounds: e }), r();
596
596
  }
597
597
  get fetchviaevent() {
598
598
  return this.$$.ctx[17];
599
599
  }
600
600
  set fetchviaevent(e) {
601
- this.$$set({ fetchviaevent: e }), m();
601
+ this.$$set({ fetchviaevent: e }), r();
602
602
  }
603
603
  }
604
- ne(Ge, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
604
+ ne(ke, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, translationurl: {}, casinomygames: {}, mostplayedperiod: {}, mostplayedrounds: {}, fetchviaevent: {} }, [], [], !0);
605
605
  export {
606
- Ge as default
606
+ ke as default
607
607
  };
@@ -1,4 +1,4 @@
1
- import { $ as q, L as et, a as rt, S as ot, i as nt, s as at, f as D, b as st, n as U, d as P, h as R, k as m, o as lt, p as it, w as ct, x as G, y as dt, g as K, e as r, j as l, q as tt, A as N, l as Z, m as Q, B as pt, C as gt, D as ut, E as ht, F as mt } from "./CasinoFilter-D9VOcS4e.js";
1
+ import { $ as q, M as et, a as rt, S as ot, i as nt, s as at, f as D, b as st, n as U, d as P, h as R, l as m, p as lt, q as it, y as ct, z as G, A as dt, g as K, e as r, j as l, u as tt, C as N, m as Z, o as Q, D as pt, E as gt, F as ut, G as ht, I as mt } from "./CasinoFilter-BuJFRvPM.js";
2
2
  function ft({ withLocale: t, translations: e }) {
3
3
  q.subscribe((o) => {
4
4
  o == null && (et.set(e), q.set(t));
@@ -150,24 +150,24 @@ function wt(t) {
150
150
  /*vendorSortingBy*/
151
151
  (t[3] || /*$_*/
152
152
  t[4]("all")) + ""
153
- ), B, L, z, A, F, H, n, u, v, T, j, E, V, M = G(Object.values(
153
+ ), M, L, z, A, F, B, n, u, v, T, j, E, V, H = G(Object.values(
154
154
  /*vendorMap*/
155
155
  t[5]
156
156
  )), b = [];
157
- for (let c = 0; c < M.length; c += 1)
158
- b[c] = $(Y(t, M, c));
157
+ for (let c = 0; c < H.length; c += 1)
158
+ b[c] = $(Y(t, H, c));
159
159
  return {
160
160
  c() {
161
- e = m("div"), o = m("div"), a = m("div"), s = N("svg"), i = N("g"), d = N("path"), f = N("path"), g = N("path"), x = Z(), p = m("div"), y = m("span"), w = Q(_), S = Z(), I = m("div"), C = m("span"), B = Q(O), L = Z(), z = m("span"), A = N("svg"), F = N("path"), u = Z(), v = m("div"), T = m("ul");
161
+ e = m("div"), o = m("div"), a = m("div"), s = N("svg"), i = N("g"), d = N("path"), f = N("path"), g = N("path"), x = Z(), p = m("div"), y = m("span"), w = Q(_), S = Z(), I = m("div"), C = m("span"), M = Q(O), L = Z(), z = m("span"), A = N("svg"), F = N("path"), u = Z(), v = m("div"), T = m("ul");
162
162
  for (let c = 0; c < b.length; c += 1)
163
163
  b[c].c();
164
- r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(f, "id", "Path_5268"), r(f, "data-name", "Path 5268"), r(f, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(f, "transform", "translate(0 0)"), r(f, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(s, "xmlns", "http://www.w3.org/2000/svg"), r(s, "width", "20"), r(s, "height", "20"), r(s, "viewBox", "0 0 26.003 22.819"), r(y, "class", "SorterName"), r(I, "class", "SorterValueContainer"), r(p, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(F, "id", "arrow"), r(F, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), r(F, "transform", "translate(-274.511 -441.088)"), r(F, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(z, "class", H = "TriangleInactive " + /*isSorterActive*/
164
+ r(d, "id", "Path_5267"), r(d, "data-name", "Path 5267"), r(d, "d", "M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"), r(d, "transform", "translate(-206.448 0)"), r(d, "fill", "#fff"), r(f, "id", "Path_5268"), r(f, "data-name", "Path 5268"), r(f, "d", "M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"), r(f, "transform", "translate(0 0)"), r(f, "fill", "#fff"), r(g, "id", "Path_5269"), r(g, "data-name", "Path 5269"), r(g, "d", "M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"), r(g, "transform", "translate(-412.896 0)"), r(g, "fill", "#fff"), r(i, "id", "sortby"), r(i, "transform", "translate(-306 -342)"), r(s, "xmlns", "http://www.w3.org/2000/svg"), r(s, "width", "20"), r(s, "height", "20"), r(s, "viewBox", "0 0 26.003 22.819"), r(y, "class", "SorterName"), r(I, "class", "SorterValueContainer"), r(p, "class", "SorterTextContainer"), r(a, "class", "SorterMainArea"), r(F, "id", "arrow"), r(F, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), r(F, "transform", "translate(-274.511 -441.088)"), r(F, "fill", "#d1d1d1"), r(A, "xmlns", "http://www.w3.org/2000/svg"), r(A, "width", "14"), r(A, "height", "6.835"), r(A, "viewBox", "0 0 14 6.835"), r(z, "class", B = "TriangleInactive " + /*isSorterActive*/
165
165
  (t[1] ? "TriangleActive" : "")), r(o, "class", n = "SorterSelector " + /*isSorterActive*/
166
166
  (t[1] ? "SorterSelectorOpen" : "")), r(T, "class", "SorterDropdown"), r(v, "class", j = "SorterDropdownContainer " + /*isSorterActive*/
167
167
  (t[1] ? "SorterOpen" : "")), r(e, "class", "SorterContainer");
168
168
  },
169
169
  m(c, k) {
170
- R(c, e, k), l(e, o), l(o, a), l(a, s), l(s, i), l(i, d), l(i, f), l(i, g), l(a, x), l(a, p), l(p, y), l(y, w), l(p, S), l(p, I), l(I, C), l(C, B), l(o, L), l(o, z), l(z, A), l(A, F), l(e, u), l(e, v), l(v, T);
170
+ R(c, e, k), l(e, o), l(o, a), l(a, s), l(s, i), l(i, d), l(i, f), l(i, g), l(a, x), l(a, p), l(p, y), l(y, w), l(p, S), l(p, I), l(I, C), l(C, M), l(o, L), l(o, z), l(z, A), l(A, F), l(e, u), l(e, v), l(v, T);
171
171
  for (let h = 0; h < b.length; h += 1)
172
172
  b[h] && b[h].m(T, null);
173
173
  E || (V = tt(
@@ -183,24 +183,24 @@ function wt(t) {
183
183
  c[4]("sortby") + "") && K(w, _), k & /*vendorSortingBy, $_*/
184
184
  24 && O !== (O = /*vendorSortingBy*/
185
185
  (c[3] || /*$_*/
186
- c[4]("all")) + "") && K(B, O), k & /*isSorterActive*/
187
- 2 && H !== (H = "TriangleInactive " + /*isSorterActive*/
188
- (c[1] ? "TriangleActive" : "")) && r(z, "class", H), k & /*isSorterActive*/
186
+ c[4]("all")) + "") && K(M, O), k & /*isSorterActive*/
187
+ 2 && B !== (B = "TriangleInactive " + /*isSorterActive*/
188
+ (c[1] ? "TriangleActive" : "")) && r(z, "class", B), k & /*isSorterActive*/
189
189
  2 && n !== (n = "SorterSelector " + /*isSorterActive*/
190
190
  (c[1] ? "SorterSelectorOpen" : "")) && r(o, "class", n), k & /*Object, vendorMap, vendorSortingBy, undefined, $_, sortBy*/
191
191
  120) {
192
- M = G(Object.values(
192
+ H = G(Object.values(
193
193
  /*vendorMap*/
194
194
  c[5]
195
195
  ));
196
196
  let h;
197
- for (h = 0; h < M.length; h += 1) {
198
- const J = Y(c, M, h);
197
+ for (h = 0; h < H.length; h += 1) {
198
+ const J = Y(c, H, h);
199
199
  b[h] ? b[h].p(J, k) : (b[h] = $(J), b[h].c(), b[h].m(T, null));
200
200
  }
201
201
  for (; h < b.length; h += 1)
202
202
  b[h].d(1);
203
- b.length = M.length;
203
+ b.length = H.length;
204
204
  }
205
205
  k & /*isSorterActive*/
206
206
  2 && j !== (j = "SorterDropdownContainer " + /*isSorterActive*/
@@ -307,7 +307,7 @@ function St(t, e, o) {
307
307
  o(3, S = "All"), o(2, _ = !1), o(1, y = !1);
308
308
  let n = (u = JSON.parse(localStorage.getItem("vendorSortingBy"))) == null ? void 0 : u[g];
309
309
  n ? o(3, S = n) : o(3, S = "All"), o(3, S = C[n]);
310
- }, B = (n) => {
310
+ }, M = (n) => {
311
311
  o(3, S = n);
312
312
  let u = localStorage.getItem("vendorSortingBy");
313
313
  w = n;
@@ -332,8 +332,8 @@ function St(t, e, o) {
332
332
  it(() => (window.addEventListener("message", z, !1), () => {
333
333
  window.removeEventListener("message", z);
334
334
  }));
335
- const A = () => L(), F = (n) => B(n);
336
- function H(n) {
335
+ const A = () => L(), F = (n) => M(n);
336
+ function B(n) {
337
337
  ct[n ? "unshift" : "push"](() => {
338
338
  p = n, o(0, p);
339
339
  });
@@ -354,7 +354,7 @@ function St(t, e, o) {
354
354
  S,
355
355
  a,
356
356
  C,
357
- B,
357
+ M,
358
358
  L,
359
359
  s,
360
360
  i,
@@ -364,7 +364,7 @@ function St(t, e, o) {
364
364
  x,
365
365
  A,
366
366
  F,
367
- H
367
+ B
368
368
  ];
369
369
  }
370
370
  class vt extends ot {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-CP2SsYcD.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function T(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-54zse8",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function E(e,r,n){const o=e.slice();return o[23]=r[n],o}function q(e){let r,n,o,l,s,p,h,d,S,c,m,v=e[4]("sortby")+"",f,w,z,A,F=(e[3]||e[4]("all"))+"",N,O,k,_,C,Z,a,g,b,M,B,H,D,I=t.ensure_array_like(Object.values(e[5])),y=[];for(let i=0;i<I.length;i+=1)y[i]=P(E(e,I,i));return{c(){r=t.element("div"),n=t.element("div"),o=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),h=t.svg_element("path"),d=t.svg_element("path"),S=t.space(),c=t.element("div"),m=t.element("span"),f=t.text(v),w=t.space(),z=t.element("div"),A=t.element("span"),N=t.text(F),O=t.space(),k=t.element("span"),_=t.svg_element("svg"),C=t.svg_element("path"),g=t.space(),b=t.element("div"),M=t.element("ul");for(let i=0;i<y.length;i+=1)y[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(h,"id","Path_5268"),t.attr(h,"data-name","Path 5268"),t.attr(h,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(h,"transform","translate(0 0)"),t.attr(h,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(m,"class","SorterName"),t.attr(z,"class","SorterValueContainer"),t.attr(c,"class","SorterTextContainer"),t.attr(o,"class","SorterMainArea"),t.attr(C,"id","arrow"),t.attr(C,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),t.attr(C,"transform","translate(-274.511 -441.088)"),t.attr(C,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(k,"class",Z="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",a="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(M,"class","SorterDropdown"),t.attr(b,"class",B="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,x){t.insert(i,r,x),t.append(r,n),t.append(n,o),t.append(o,l),t.append(l,s),t.append(s,p),t.append(s,h),t.append(s,d),t.append(o,S),t.append(o,c),t.append(c,m),t.append(m,f),t.append(c,w),t.append(c,z),t.append(z,A),t.append(A,N),t.append(n,O),t.append(n,k),t.append(k,_),t.append(_,C),t.append(r,g),t.append(r,b),t.append(b,M);for(let u=0;u<y.length;u+=1)y[u]&&y[u].m(M,null);H||(D=t.listen(n,"click",e[14]),H=!0)},p(i,x){if(x&16&&v!==(v=i[4]("sortby")+"")&&t.set_data(f,v),x&24&&F!==(F=(i[3]||i[4]("all"))+"")&&t.set_data(N,F),x&2&&Z!==(Z="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(k,"class",Z),x&2&&a!==(a="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",a),x&120){I=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<I.length;u+=1){const L=E(i,I,u);y[u]?y[u].p(L,x):(y[u]=P(L),y[u].c(),y[u].m(M,null))}for(;u<y.length;u+=1)y[u].d(1);y.length=I.length}x&2&&B!==(B="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(b,"class",B)},d(i){i&&t.detach(r),t.destroy_each(y,i),H=!1,D()}}}function P(e){let r,n,o,l,s,p,h,d,S,c,m;function v(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),o=t.element("input"),s=t.space(),p=t.element("span"),h=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,S=t.space(),t.attr(o,"type","radio"),t.attr(o,"name","radio"),o.value=e[23],o.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(f,w){t.insert(f,r,w),t.append(r,n),t.append(n,o),t.append(n,s),t.append(n,p),t.append(n,h),t.append(n,d),t.append(r,S),c||(m=t.listen(o,"click",v),c=!0)},p(f,w){e=f,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(o.checked=l)},d(f){f&&t.detach(r),c=!1,m()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let o=n(e),l=o&&o(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){o===(o=n(s))&&l?l.p(s,p):(l&&l.d(1),l=o&&o(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let o;t.component_subscribe(e,t.$format,a=>n(4,o=a));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:h=""}=r,{categoryid:d=""}=r,{mbsource:S}=r,c,m=!1,v=!0,f="",w="All";V({withLocale:"en",translations:{}});const z=()=>{fetch(s).then(g=>g.json()).then(g=>{Object.keys(g).forEach(b=>{T(b,g[b])})}).catch(g=>{console.log(g)})};Object.keys(j).forEach(a=>{T(a,j[a])});const A={All:o("all"),name:o("az"),isNew:o("newest"),"advancedTags(name(hot))":o("hottest")},F=()=>{var g;n(3,w="All"),n(2,v=!1),n(1,m=!1);let a=(g=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:g[d];a?n(3,w=a):n(3,w="All"),n(3,w=A[a])},N=a=>{n(3,w=a);let g=localStorage.getItem("vendorSortingBy");f=a;for(let b in A)if(A[b]===a){f=b;break}g==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:f})):(g=JSON.parse(g),g[d]=f,localStorage.setItem("vendorSortingBy",JSON.stringify(g))),window.postMessage({type:"ApplySorter",sortBy:f,itemId:d},window.location.href),n(1,m=!m)},O=()=>{n(1,m=!m),window.postMessage({type:"SortingOpened"},window.location.href)},k=a=>{a.data.type=="FilterOpened"&&n(1,m=!1)};t.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));const _=()=>O(),C=a=>N(a);function Z(a){t.binding_callbacks[a?"unshift":"push"](()=>{c=a,n(0,c)})}return e.$$set=a=>{"lang"in a&&n(8,l=a.lang),"translationurl"in a&&n(9,s=a.translationurl),"clientstyling"in a&&n(10,p=a.clientstyling),"clientstylingurl"in a&&n(11,h=a.clientstylingurl),"categoryid"in a&&n(12,d=a.categoryid),"mbsource"in a&&n(13,S=a.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&F(),e.$$.dirty&1025&&p&&c&&t.setClientStyling(c,p),e.$$.dirty&2049&&h&&c&&t.setClientStylingURL(c,h),e.$$.dirty&8193&&c&&t.setStreamStyling(c,`${S}.Style`),e.$$.dirty&512&&s&&z()},[c,m,v,w,o,A,N,O,l,s,p,h,d,S,_,C,Z]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoFilter-OPj81-Zy.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function T(e,r){t.addMessages(e,r)}const j={en:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},zh:{sortby:"Sort by",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},de:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},it:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},fr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},es:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},tr:{sortby:"Sırala:",all:"Hepsi",az:"A-Z",newest:"En yeni",hottest:"Öne Çıkan"},ru:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},ro:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},hr:{sortby:"Poredaj po:",all:"Sve",az:"A-Z",newest:"Najnovije",hottest:"Hot igre"},hu:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},pt:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sl:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},sr:{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"},"pt-br":{sortby:"Organizar por:",all:"Todos",az:"A-Z",newest:"Mais recente",hottest:"mais quente"},"es-mx":{sortby:"Ordenar Por:",all:"Todo",az:"A-Z",newest:"Más nuevos",hottest:"Más calientes"},"en-us":{sortby:"Sort by:",all:"All",az:"A-Z",newest:"Newest",hottest:"Hottest"}};function J(e){t.append_styles(e,"svelte-54zse8",':root{--min-height:50px}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.SorterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:16}.SorterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;cursor:pointer}.SorterSelector.SorterSelectorOpen{border-radius:5px 5px 0 0}.SorterMainArea{display:flex;align-items:center}.SorterMainArea svg{margin-right:16px}.SorterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.SorterTextContainer{display:flex;flex-direction:column}.SorterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.SorterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:35px;margin-bottom:40px;overflow:hidden;margin:0}.SorterDropdownContainer.SorterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:10px}.SorterDropdown{width:100%;max-height:300px;display:grid;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none;list-style-type:none;padding:10px;margin:0;box-sizing:border-box}.SorterDropdown::-webkit-scrollbar{display:none}.SorterItem{position:relative}.SorterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;-webkit-user-select:none;-ms-user-select:none;user-select:none}.SorterItem input{cursor:pointer;margin-right:10px}.SorterItem .SortersCheckmark{margin:0 15px}.SorterItem .CustomRadioButton input[type=radio]{position:absolute;left:-9999px}.SorterItem .CustomRadioButton input[type=radio]+span{position:relative;cursor:pointer;width:30px;height:30px;display:flex;justify-content:center;align-items:center}.SorterItem .CustomRadioButton input[type=radio]+span:before{content:"";background:transparent;border:1px solid var(--emw--color-white, #FFFFFF);height:18px;width:18px;border-radius:50%;position:absolute}.SorterItem .CustomRadioButton input[type=radio]+span:after{content:"";background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:14px;height:14px;border-radius:50%;position:absolute;opacity:0;transform:scale(2);transition:transform 0.3s linear, opacity 0.3s linear}.SorterItem .CustomRadioButton input[type=radio]:checked+span:after{opacity:1;transform:scale(1)}.SorterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SorterLabel input:checked+span{font-weight:600}.ClearSorters{margin:20px auto;border:0;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearSorters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.SorterSelector{max-width:initial;padding:7px 16px}.SorterDropdownContainer{width:100%;margin-bottom:20px}.SorterDropdown{display:flex;flex-direction:column;gap:12px;margin-block-start:0}.SorterDropdown .SorterLabel{line-height:24px}.SorterDropdown .SorterLabel>*{pointer-events:none}}@media(max-width: 480px){.SorterSelector{min-height:var(--min-height)}.SorterDropdownContainer{top:var(--min-height)}}')}function E(e,r,n){const o=e.slice();return o[23]=r[n],o}function q(e){let r,n,o,l,s,p,h,d,S,c,m,v=e[4]("sortby")+"",f,w,z,A,F=(e[3]||e[4]("all"))+"",N,O,k,_,C,Z,a,g,b,M,B,H,D,I=t.ensure_array_like(Object.values(e[5])),y=[];for(let i=0;i<I.length;i+=1)y[i]=P(E(e,I,i));return{c(){r=t.element("div"),n=t.element("div"),o=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),h=t.svg_element("path"),d=t.svg_element("path"),S=t.space(),c=t.element("div"),m=t.element("span"),f=t.text(v),w=t.space(),z=t.element("div"),A=t.element("span"),N=t.text(F),O=t.space(),k=t.element("span"),_=t.svg_element("svg"),C=t.svg_element("path"),g=t.space(),b=t.element("div"),M=t.element("ul");for(let i=0;i<y.length;i+=1)y[i].c();t.attr(p,"id","Path_5267"),t.attr(p,"data-name","Path 5267"),t.attr(p,"d","M526.245,343.685a3.45,3.45,0,0,1,0,6.714v13.625a.8.8,0,0,1-1.592,0V350.4a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,523.592,347.041Z"),t.attr(p,"transform","translate(-206.448 0)"),t.attr(p,"fill","#fff"),t.attr(h,"id","Path_5268"),t.attr(h,"data-name","Path 5268"),t.attr(h,"d","M310.245,356.421a3.45,3.45,0,0,1,0,6.714v.888a.8.8,0,0,1-1.592,0v-.888a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0Zm-2.653,3.357a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,307.592,359.777Z"),t.attr(h,"transform","translate(0 0)"),t.attr(h,"fill","#fff"),t.attr(d,"id","Path_5269"),t.attr(d,"data-name","Path 5269"),t.attr(d,"d","M742.245,351.645a3.45,3.45,0,0,1,0,6.714v5.665a.8.8,0,1,1-1.592,0v-5.665a3.45,3.45,0,0,1,0-6.714V342.8a.8.8,0,1,1,1.592,0ZM739.592,355a1.857,1.857,0,1,0,1.857-1.857A1.859,1.859,0,0,0,739.592,355Z"),t.attr(d,"transform","translate(-412.896 0)"),t.attr(d,"fill","#fff"),t.attr(s,"id","sortby"),t.attr(s,"transform","translate(-306 -342)"),t.attr(l,"xmlns","http://www.w3.org/2000/svg"),t.attr(l,"width","20"),t.attr(l,"height","20"),t.attr(l,"viewBox","0 0 26.003 22.819"),t.attr(m,"class","SorterName"),t.attr(z,"class","SorterValueContainer"),t.attr(c,"class","SorterTextContainer"),t.attr(o,"class","SorterMainArea"),t.attr(C,"id","arrow"),t.attr(C,"d","M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"),t.attr(C,"transform","translate(-274.511 -441.088)"),t.attr(C,"fill","#d1d1d1"),t.attr(_,"xmlns","http://www.w3.org/2000/svg"),t.attr(_,"width","14"),t.attr(_,"height","6.835"),t.attr(_,"viewBox","0 0 14 6.835"),t.attr(k,"class",Z="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",a="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(M,"class","SorterDropdown"),t.attr(b,"class",B="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,x){t.insert(i,r,x),t.append(r,n),t.append(n,o),t.append(o,l),t.append(l,s),t.append(s,p),t.append(s,h),t.append(s,d),t.append(o,S),t.append(o,c),t.append(c,m),t.append(m,f),t.append(c,w),t.append(c,z),t.append(z,A),t.append(A,N),t.append(n,O),t.append(n,k),t.append(k,_),t.append(_,C),t.append(r,g),t.append(r,b),t.append(b,M);for(let u=0;u<y.length;u+=1)y[u]&&y[u].m(M,null);H||(D=t.listen(n,"click",e[14]),H=!0)},p(i,x){if(x&16&&v!==(v=i[4]("sortby")+"")&&t.set_data(f,v),x&24&&F!==(F=(i[3]||i[4]("all"))+"")&&t.set_data(N,F),x&2&&Z!==(Z="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(k,"class",Z),x&2&&a!==(a="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",a),x&120){I=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<I.length;u+=1){const L=E(i,I,u);y[u]?y[u].p(L,x):(y[u]=P(L),y[u].c(),y[u].m(M,null))}for(;u<y.length;u+=1)y[u].d(1);y.length=I.length}x&2&&B!==(B="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(b,"class",B)},d(i){i&&t.detach(r),t.destroy_each(y,i),H=!1,D()}}}function P(e){let r,n,o,l,s,p,h,d,S,c,m;function v(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),o=t.element("input"),s=t.space(),p=t.element("span"),h=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,S=t.space(),t.attr(o,"type","radio"),t.attr(o,"name","radio"),o.value=e[23],o.checked=l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"),t.attr(p,"class","SortersCheckmark"),t.attr(n,"class","SorterLabel CustomRadioButton"),t.attr(r,"class","SorterItem"),r.value=e[23]},m(f,w){t.insert(f,r,w),t.append(r,n),t.append(n,o),t.append(n,s),t.append(n,p),t.append(n,h),t.append(n,d),t.append(r,S),c||(m=t.listen(o,"click",v),c=!0)},p(f,w){e=f,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(o.checked=l)},d(f){f&&t.detach(r),c=!1,m()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let o=n(e),l=o&&o(e);return{c(){r=t.element("div"),l&&l.c()},m(s,p){t.insert(s,r,p),l&&l.m(r,null),e[16](r)},p(s,[p]){o===(o=n(s))&&l?l.p(s,p):(l&&l.d(1),l=o&&o(s),l&&(l.c(),l.m(r,null)))},i:t.noop,o:t.noop,d(s){s&&t.detach(r),l&&l.d(),e[16](null)}}}function G(e,r,n){let o;t.component_subscribe(e,t.$format,a=>n(4,o=a));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:h=""}=r,{categoryid:d=""}=r,{mbsource:S}=r,c,m=!1,v=!0,f="",w="All";V({withLocale:"en",translations:{}});const z=()=>{fetch(s).then(g=>g.json()).then(g=>{Object.keys(g).forEach(b=>{T(b,g[b])})}).catch(g=>{console.log(g)})};Object.keys(j).forEach(a=>{T(a,j[a])});const A={All:o("all"),name:o("az"),isNew:o("newest"),"advancedTags(name(hot))":o("hottest")},F=()=>{var g;n(3,w="All"),n(2,v=!1),n(1,m=!1);let a=(g=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:g[d];a?n(3,w=a):n(3,w="All"),n(3,w=A[a])},N=a=>{n(3,w=a);let g=localStorage.getItem("vendorSortingBy");f=a;for(let b in A)if(A[b]===a){f=b;break}g==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:f})):(g=JSON.parse(g),g[d]=f,localStorage.setItem("vendorSortingBy",JSON.stringify(g))),window.postMessage({type:"ApplySorter",sortBy:f,itemId:d},window.location.href),n(1,m=!m)},O=()=>{n(1,m=!m),window.postMessage({type:"SortingOpened"},window.location.href)},k=a=>{a.data.type=="FilterOpened"&&n(1,m=!1)};t.onMount(()=>(window.addEventListener("message",k,!1),()=>{window.removeEventListener("message",k)}));const _=()=>O(),C=a=>N(a);function Z(a){t.binding_callbacks[a?"unshift":"push"](()=>{c=a,n(0,c)})}return e.$$set=a=>{"lang"in a&&n(8,l=a.lang),"translationurl"in a&&n(9,s=a.translationurl),"clientstyling"in a&&n(10,p=a.clientstyling),"clientstylingurl"in a&&n(11,h=a.clientstylingurl),"categoryid"in a&&n(12,d=a.categoryid),"mbsource"in a&&n(13,S=a.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&F(),e.$$.dirty&1025&&p&&c&&t.setClientStyling(c,p),e.$$.dirty&2049&&h&&c&&t.setClientStylingURL(c,h),e.$$.dirty&8193&&c&&t.setStreamStyling(c,`${S}.Style`),e.$$.dirty&512&&s&&z()},[c,m,v,w,o,A,N,O,l,s,p,h,d,S,_,C,Z]}class R extends t.SvelteComponent{constructor(r){super(),t.init(this,r,G,U,t.safe_not_equal,{lang:8,translationurl:9,clientstyling:10,clientstylingurl:11,categoryid:12,mbsource:13},J)}get lang(){return this.$$.ctx[8]}set lang(r){this.$$set({lang:r}),t.flush()}get translationurl(){return this.$$.ctx[9]}set translationurl(r){this.$$set({translationurl:r}),t.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(r){this.$$set({clientstyling:r}),t.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(r){this.$$set({clientstylingurl:r}),t.flush()}get categoryid(){return this.$$.ctx[12]}set categoryid(r){this.$$set({categoryid:r}),t.flush()}get mbsource(){return this.$$.ctx[13]}set mbsource(r){this.$$set({mbsource:r}),t.flush()}}t.create_custom_element(R,{lang:{},translationurl:{},clientstyling:{},clientstylingurl:{},categoryid:{},mbsource:{}},[],[],!0);exports.default=R;