@everymatrix/casino-games-category-section 1.99.56 → 1.99.59

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 (24) hide show
  1. package/components/{CasinoFilter-CYbOEQqX.js → CasinoFilter-C-ufWKkT.js} +6 -11
  2. package/components/{CasinoFilter-B2N4kldC.js → CasinoFilter-Dj89_yE4.js} +6 -11
  3. package/components/{CasinoFilter-Bp6gnqYZ.cjs → CasinoFilter-fmMhVDvL.cjs} +1 -1
  4. package/components/{CasinoGameThumbnail-niUOnPWy.js → CasinoGameThumbnail-B1_0sV9S.js} +7 -12
  5. package/components/{CasinoGameThumbnail-VWcgqBin.cjs → CasinoGameThumbnail-Dmiff46M.cjs} +1 -1
  6. package/components/{CasinoGameThumbnail-DCQfbfT7.js → CasinoGameThumbnail-UmbKqZYw.js} +7 -12
  7. package/components/{CasinoGamesCategorySection-gUMOVWMj.js → CasinoGamesCategorySection-0SaR-cAF.js} +44 -78
  8. package/components/{CasinoGamesCategorySection-iuUJmQ46.cjs → CasinoGamesCategorySection-CzEPzTXt.cjs} +2 -2
  9. package/components/{CasinoGamesCategorySection-B9nzGUfF.js → CasinoGamesCategorySection-HglBHtzd.js} +43 -77
  10. package/components/{CasinoSort-nia8mK-N.js → CasinoSort-BAXF_qan.js} +2 -3
  11. package/components/{CasinoSort-BIde-x15.js → CasinoSort-Bt1G7uFq.js} +2 -3
  12. package/components/{CasinoSort-CO8Mv2d1.cjs → CasinoSort-op7ZMN3f.cjs} +1 -1
  13. package/es2015/casino-games-category-section.cjs +1 -1
  14. package/es2015/casino-games-category-section.js +1 -1
  15. package/esnext/casino-games-category-section.js +1 -1
  16. package/package.json +1 -1
  17. package/stencil/{index-97d17652-B6BYeRne.js → index-97d17652-B7kuyr7B.js} +22 -24
  18. package/stencil/{index-97d17652-BOr4KAqq.js → index-97d17652-Cylnizw0.js} +22 -24
  19. package/stencil/{ui-image-Ch-GHki1.js → ui-image-CBZB9VGk.js} +1 -1
  20. package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-C1j5WYU1.js} +1 -1
  21. package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-Yz-NwCB5.js} +1 -1
  22. package/stencil/{ui-image-CP8Lp7fB.js → ui-image-z7WRgMwb.js} +1 -1
  23. package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-B6hxNvK2.js} +2 -2
  24. package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-CeEpO7fa.js} +2 -2
@@ -45,8 +45,7 @@ function Eo(e, t, r) {
45
45
  }
46
46
  }
47
47
  function Mo(e) {
48
- if (!e)
49
- return document;
48
+ if (!e) return document;
50
49
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
51
50
  return t && /** @type {ShadowRoot} */
52
51
  t.host ? (
@@ -193,8 +192,7 @@ function qt(e) {
193
192
  $t = e;
194
193
  }
195
194
  function Ea() {
196
- if (!$t)
197
- throw new Error("Function called outside component initialization");
195
+ if (!$t) throw new Error("Function called outside component initialization");
198
196
  return $t;
199
197
  }
200
198
  function No(e) {
@@ -231,8 +229,7 @@ function R() {
231
229
  } catch (t) {
232
230
  throw bt.length = 0, pt = 0, t;
233
231
  }
234
- for (qt(null), bt.length = 0, pt = 0; tt.length; )
235
- tt.pop()();
232
+ for (qt(null), bt.length = 0, pt = 0; tt.length; ) tt.pop()();
236
233
  for (let t = 0; t < Et.length; t += 1) {
237
234
  const r = Et[t];
238
235
  bn.has(r) || (bn.add(r), r());
@@ -267,8 +264,7 @@ function Oa(e, t) {
267
264
  function Da(e, t, r, n, i, a, s, o, u, h, c, g) {
268
265
  let p = e.length, E = a.length, y = p;
269
266
  const d = {};
270
- for (; y--; )
271
- d[e[y].key] = y;
267
+ for (; y--; ) d[e[y].key] = y;
272
268
  const m = [], se = /* @__PURE__ */ new Map(), z = /* @__PURE__ */ new Map(), M = [];
273
269
  for (y = E; y--; ) {
274
270
  const V = g(i, a, y), _e = r(V);
@@ -287,8 +283,7 @@ function Da(e, t, r, n, i, a, s, o, u, h, c, g) {
287
283
  const V = e[p];
288
284
  se.has(V.key) || u(V, s);
289
285
  }
290
- for (; E; )
291
- pe(m[E - 1]);
286
+ for (; E; ) pe(m[E - 1]);
292
287
  return xt(M), m;
293
288
  }
294
289
  function Ho(e, t, r) {
@@ -584,8 +579,7 @@ var xn = function(e, t) {
584
579
  return xn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
585
580
  r.__proto__ = n;
586
581
  } || function(r, n) {
587
- for (var i in n)
588
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
582
+ for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
589
583
  }, xn(e, t);
590
584
  };
591
585
  function ir(e, t) {
@@ -599,40 +593,34 @@ function ir(e, t) {
599
593
  }
600
594
  function Fn(e) {
601
595
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
602
- if (r)
603
- return r.call(e);
604
- if (e && typeof e.length == "number")
605
- return {
606
- next: function() {
607
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
608
- }
609
- };
596
+ if (r) return r.call(e);
597
+ if (e && typeof e.length == "number") return {
598
+ next: function() {
599
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
600
+ }
601
+ };
610
602
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
611
603
  }
612
604
  function Hn(e, t) {
613
605
  var r = typeof Symbol == "function" && e[Symbol.iterator];
614
- if (!r)
615
- return e;
606
+ if (!r) return e;
616
607
  var n = r.call(e), i, a = [], s;
617
608
  try {
618
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
619
- a.push(i.value);
609
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) a.push(i.value);
620
610
  } catch (o) {
621
611
  s = { error: o };
622
612
  } finally {
623
613
  try {
624
614
  i && !i.done && (r = n.return) && r.call(n);
625
615
  } finally {
626
- if (s)
627
- throw s.error;
616
+ if (s) throw s.error;
628
617
  }
629
618
  }
630
619
  return a;
631
620
  }
632
621
  function In(e, t, r) {
633
- if (arguments.length === 2)
634
- for (var n = 0, i = t.length, a; n < i; n++)
635
- (a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
622
+ if (arguments.length === 2) for (var n = 0, i = t.length, a; n < i; n++)
623
+ (a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
636
624
  return e.concat(a || t);
637
625
  }
638
626
  function ze(e) {
@@ -681,8 +669,7 @@ var Yr = function() {
681
669
  try {
682
670
  u && !u.done && (r = o.return) && r.call(o);
683
671
  } finally {
684
- if (t)
685
- throw t.error;
672
+ if (t) throw t.error;
686
673
  }
687
674
  }
688
675
  else
@@ -712,8 +699,7 @@ var Yr = function() {
712
699
  try {
713
700
  E && !E.done && (i = p.return) && i.call(p);
714
701
  } finally {
715
- if (n)
716
- throw n.error;
702
+ if (n) throw n.error;
717
703
  }
718
704
  }
719
705
  }
@@ -980,8 +966,7 @@ var Ko = Na(function(e) {
980
966
  try {
981
967
  o && !o.done && (a = s.return) && a.call(s);
982
968
  } finally {
983
- if (i)
984
- throw i.error;
969
+ if (i) throw i.error;
985
970
  }
986
971
  }
987
972
  }
@@ -1226,8 +1211,7 @@ var Gn = function(e, t) {
1226
1211
  return Gn = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1227
1212
  r.__proto__ = n;
1228
1213
  } || function(r, n) {
1229
- for (var i in n)
1230
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1214
+ for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1231
1215
  }, Gn(e, t);
1232
1216
  };
1233
1217
  function jr(e, t) {
@@ -1243,25 +1227,22 @@ var Ce = function() {
1243
1227
  return Ce = Object.assign || function(t) {
1244
1228
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1245
1229
  r = arguments[n];
1246
- for (var a in r)
1247
- Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
1230
+ for (var a in r) Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
1248
1231
  }
1249
1232
  return t;
1250
1233
  }, Ce.apply(this, arguments);
1251
1234
  };
1252
1235
  function bl(e, t) {
1253
1236
  var r = {};
1254
- for (var n in e)
1255
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1237
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1256
1238
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
1257
1239
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1258
1240
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1259
1241
  return r;
1260
1242
  }
1261
1243
  function wn(e, t, r) {
1262
- if (r || arguments.length === 2)
1263
- for (var n = 0, i = t.length, a; n < i; n++)
1264
- (a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
1244
+ if (r || arguments.length === 2) for (var n = 0, i = t.length, a; n < i; n++)
1245
+ (a || !(n in t)) && (a || (a = Array.prototype.slice.call(t, 0, n)), a[n] = t[n]);
1265
1246
  return e.concat(a || Array.prototype.slice.call(t));
1266
1247
  }
1267
1248
  function Sn(e, t) {
@@ -1316,8 +1297,7 @@ var Ml = function() {
1316
1297
  return Ar = Object.assign || function(t) {
1317
1298
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1318
1299
  r = arguments[n];
1319
- for (var a in r)
1320
- Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
1300
+ for (var a in r) Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
1321
1301
  }
1322
1302
  return t;
1323
1303
  }, Ar.apply(this, arguments);
@@ -1463,8 +1443,7 @@ var J = function() {
1463
1443
  return J = Object.assign || function(t) {
1464
1444
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1465
1445
  r = arguments[n];
1466
- for (var a in r)
1467
- Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
1446
+ for (var a in r) Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
1468
1447
  }
1469
1448
  return t;
1470
1449
  }, J.apply(this, arguments);
@@ -3106,8 +3085,7 @@ function Rl(e, t) {
3106
3085
  r += u;
3107
3086
  for (; s-- > 0; )
3108
3087
  r = h + r;
3109
- } else
3110
- i === "J" ? r += "H" : r += i;
3088
+ } else i === "J" ? r += "H" : r += i;
3111
3089
  }
3112
3090
  return r;
3113
3091
  }
@@ -3710,8 +3688,7 @@ function zn(e) {
3710
3688
  if (delete t.location, Ua(t) || ja(t))
3711
3689
  for (var r in t.options)
3712
3690
  delete t.options[r].location, zn(t.options[r].value);
3713
- else
3714
- Ga(t) && za(t.style) || (Ba(t) || Ya(t)) && Bn(t.style) ? delete t.style.location : Wa(t) && zn(t.children);
3691
+ else Ga(t) && za(t.style) || (Ba(t) || Ya(t)) && Bn(t.style) ? delete t.style.location : Wa(t) && zn(t.children);
3715
3692
  });
3716
3693
  }
3717
3694
  function ru(e, t) {
@@ -4366,8 +4343,7 @@ function zu(e, t) {
4366
4343
  }
4367
4344
  }
4368
4345
  function Vu(e, t) {
4369
- if (!e || !t)
4370
- return;
4346
+ if (!e || !t) return;
4371
4347
  const r = new URL(t);
4372
4348
  fetch(r.href).then((n) => n.text()).then((n) => {
4373
4349
  const i = document.createElement("style");
@@ -4377,8 +4353,7 @@ function Vu(e, t) {
4377
4353
  });
4378
4354
  }
4379
4355
  function Xu(e, t, r, n = !1) {
4380
- if (!window.emMessageBus)
4381
- return;
4356
+ if (!window.emMessageBus) return;
4382
4357
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
4383
4358
  return r = Zu(e, t), r;
4384
4359
  window[vt] || (window[vt] = {}), r = qu(e, t);
@@ -4399,8 +4374,7 @@ function Zu(e, t) {
4399
4374
  }
4400
4375
  function qu(e, t) {
4401
4376
  return window.emMessageBus.subscribe(t, (r) => {
4402
- if (!e)
4403
- return;
4377
+ if (!e) return;
4404
4378
  const n = e.getRootNode(), i = window[vt];
4405
4379
  let a = i[t] && i[t].sheet;
4406
4380
  a ? i[t].refCount = i[t].refCount + 1 : (a = new CSSStyleSheet(), a.replaceSync(r), i[t] = {
@@ -5971,8 +5945,7 @@ function Zf(e, t, r) {
5971
5945
  if (typeof e == "string") {
5972
5946
  if (e = bi(Kr, e), e === null)
5973
5947
  return this;
5974
- } else
5975
- Math.abs(e) < 16 && !r && (e = e * 60);
5948
+ } else Math.abs(e) < 16 && !r && (e = e * 60);
5976
5949
  return !this._isUTC && t && (i = Kn(this)), this._offset = e, this._isUTC = !0, i != null && this.add(i, "m"), n !== e && (!t || this._changeInProgress ? Is(
5977
5950
  this,
5978
5951
  Pe(e - n, "m"),
@@ -7188,7 +7161,7 @@ if (typeof window < "u") {
7188
7161
  }
7189
7162
  };
7190
7163
  };
7191
- customElements.define = e(customElements.define), import("./CasinoGameThumbnail-DCQfbfT7.js").then(({ default: t }) => {
7164
+ customElements.define = e(customElements.define), import("./CasinoGameThumbnail-UmbKqZYw.js").then(({ default: t }) => {
7192
7165
  !customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", t.element);
7193
7166
  });
7194
7167
  }
@@ -7204,7 +7177,7 @@ if (typeof window < "u") {
7204
7177
  }
7205
7178
  };
7206
7179
  };
7207
- customElements.define = e(customElements.define), import("./CasinoFilter-B2N4kldC.js").then(({ default: t }) => {
7180
+ customElements.define = e(customElements.define), import("./CasinoFilter-Dj89_yE4.js").then(({ default: t }) => {
7208
7181
  !customElements.get("casino-filter") && customElements.define("casino-filter", t.element);
7209
7182
  });
7210
7183
  }
@@ -7220,7 +7193,7 @@ if (typeof window < "u") {
7220
7193
  }
7221
7194
  };
7222
7195
  };
7223
- customElements.define = e(customElements.define), import("./CasinoSort-nia8mK-N.js").then(({ default: t }) => {
7196
+ customElements.define = e(customElements.define), import("./CasinoSort-BAXF_qan.js").then(({ default: t }) => {
7224
7197
  !customElements.get("casino-sort") && customElements.define("casino-sort", t.element);
7225
7198
  });
7226
7199
  }
@@ -7245,13 +7218,11 @@ function em(e) {
7245
7218
  if (
7246
7219
  /*categoryData*/
7247
7220
  a[28]
7248
- )
7249
- return im;
7221
+ ) return im;
7250
7222
  if (
7251
7223
  /*showFavGamesCategory*/
7252
7224
  a[39]
7253
- )
7254
- return nm;
7225
+ ) return nm;
7255
7226
  }
7256
7227
  let n = r(e), i = n && n(e);
7257
7228
  return {
@@ -7624,11 +7595,9 @@ function hm(e) {
7624
7595
  2048 && (r = null), t == null && (t = !!At(
7625
7596
  /*userAgent*/
7626
7597
  o[44]
7627
- )), t)
7628
- return cm;
7598
+ )), t) return cm;
7629
7599
  if (r == null && (r = !!/*gameprops*/
7630
- o[95].gameModel.platform.includes("PC")), r)
7631
- return fm;
7600
+ o[95].gameModel.platform.includes("PC")), r) return fm;
7632
7601
  }
7633
7602
  let a = i(e, [-1, -1, -1, -1]), s = a && a(e);
7634
7603
  return {
@@ -9533,8 +9502,7 @@ function Dm(e, t, r) {
9533
9502
  return ne.json();
9534
9503
  }).then((ne) => {
9535
9504
  Q.aborted || (r(25, $e = !1), (f.match(/\$/g) || []).length > 1 && (ne = ne.items.filter((et) => {
9536
- if (et.id == f)
9537
- return et;
9505
+ if (et.id == f) return et;
9538
9506
  })[0]), r(54, gn = !0), r(26, hn = !1), dn = ne.games.total, U && ne.games.items.forEach((et) => {
9539
9507
  et.isFavorite = we(et.id);
9540
9508
  }), r(36, mt = !0), bo(ne));
@@ -9718,8 +9686,7 @@ function Dm(e, t, r) {
9718
9686
  }).catch((U) => {
9719
9687
  console.error(U);
9720
9688
  }), yn = (f) => {
9721
- if (!f)
9722
- return;
9689
+ if (!f) return;
9723
9690
  let w;
9724
9691
  w = f?.items || f || [], w.length > 0 && w.forEach((P) => {
9725
9692
  P.gameModel && (P.gameModel.isFavorite = !0);
@@ -9732,8 +9699,7 @@ function Dm(e, t, r) {
9732
9699
  });
9733
9700
  }, so = (f) => {
9734
9701
  const w = f ?? [];
9735
- if (w?.length === 0)
9736
- return "";
9702
+ if (w?.length === 0) return "";
9737
9703
  let P = "", U = 999999999999, Q;
9738
9704
  const X = new Date(Date.now());
9739
9705
  return w.forEach((x, Ge) => {
@@ -1,4 +1,4 @@
1
- import { $ as q, J as et, a as rt, S as ot, i as nt, s as at, f as M, b as lt, n as U, d as P, k as R, m, q as st, r as it, y as ct, A as G, B as dt, h as K, j as r, l as s, u as tt, D as Z, o as B, p as Q, F as pt, G as gt, I as ut, c as ht, E as mt } from "./CasinoGamesCategorySection-B9nzGUfF.js";
1
+ import { $ as q, J as et, a as rt, S as ot, i as nt, s as at, f as M, b as lt, n as U, d as P, k as R, m, q as st, r as it, y as ct, A as G, B as dt, h as K, j as r, l as s, u as tt, D as Z, o as B, p as Q, F as pt, G as gt, I as ut, c as ht, E as mt } from "./CasinoGamesCategorySection-HglBHtzd.js";
2
2
  function ft({ withLocale: t, translations: e }) {
3
3
  q.subscribe((o) => {
4
4
  o == null && (et.set(e), q.set(t));
@@ -259,8 +259,7 @@ function bt(t) {
259
259
  let e;
260
260
  function o(i, d) {
261
261
  if (!/*isLoading*/
262
- i[2])
263
- return wt;
262
+ i[2]) return wt;
264
263
  }
265
264
  let a = o(t), l = a && a(t);
266
265
  return {
@@ -1,4 +1,4 @@
1
- import { $ as q, J as et, a as rt, S as ot, i as nt, s as at, f as M, b as lt, n as U, d as P, j as R, l as m, p as st, q as it, x as ct, z as G, A as dt, g as K, h as r, k as s, r as tt, C as Z, m as I, o as Q, D as pt, E as gt, F as ut, G as ht, I as mt } from "./CasinoGamesCategorySection-gUMOVWMj.js";
1
+ import { $ as q, J as et, a as rt, S as ot, i as nt, s as at, f as M, b as lt, n as U, d as P, j as R, l as m, p as st, q as it, x as ct, z as G, A as dt, g as K, h as r, k as s, r as tt, C as Z, m as I, o as Q, D as pt, E as gt, F as ut, G as ht, I as mt } from "./CasinoGamesCategorySection-0SaR-cAF.js";
2
2
  function ft({ withLocale: t, translations: e }) {
3
3
  q.subscribe((o) => {
4
4
  o == null && (et.set(e), q.set(t));
@@ -259,8 +259,7 @@ function bt(t) {
259
259
  let e;
260
260
  function o(i, d) {
261
261
  if (!/*isLoading*/
262
- i[2])
263
- return wt;
262
+ i[2]) return wt;
264
263
  }
265
264
  let a = o(t), l = a && a(t);
266
265
  return {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./CasinoGamesCategorySection-iuUJmQ46.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function E(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-p37neu",':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, #22B04E));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, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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 D(e,r,n){const a=e.slice();return a[23]=r[n],a}function q(e){let r,n,a,l,s,p,m,d,x,y,g,f=e[4]("sortby")+"",b,w,S,B,A=(e[3]||e[4]("all"))+"",I,O,C,_,z,F,N,o,c,v,M,H,L,Z=t.ensure_array_like(Object.values(e[5])),h=[];for(let i=0;i<Z.length;i+=1)h[i]=P(D(e,Z,i));return{c(){r=t.element("div"),n=t.element("div"),a=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),m=t.svg_element("path"),d=t.svg_element("path"),x=t.space(),y=t.element("div"),g=t.element("span"),b=t.text(f),w=t.space(),S=t.element("div"),B=t.element("span"),I=t.text(A),O=t.space(),C=t.element("span"),_=t.svg_element("svg"),z=t.svg_element("path"),o=t.space(),c=t.element("div"),v=t.element("ul");for(let i=0;i<h.length;i+=1)h[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(m,"id","Path_5268"),t.attr(m,"data-name","Path 5268"),t.attr(m,"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(m,"transform","translate(0 0)"),t.attr(m,"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(g,"class","SorterName"),t.attr(S,"class","SorterValueContainer"),t.attr(y,"class","SorterTextContainer"),t.attr(a,"class","SorterMainArea"),t.attr(z,"id","arrow"),t.attr(z,"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(z,"transform","translate(-274.511 -441.088)"),t.attr(z,"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(C,"class",F="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",N="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(v,"class","SorterDropdown"),t.attr(c,"class",M="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,k){t.insert(i,r,k),t.append(r,n),t.append(n,a),t.append(a,l),t.append(l,s),t.append(s,p),t.append(s,m),t.append(s,d),t.append(a,x),t.append(a,y),t.append(y,g),t.append(g,b),t.append(y,w),t.append(y,S),t.append(S,B),t.append(B,I),t.append(n,O),t.append(n,C),t.append(C,_),t.append(_,z),t.append(r,o),t.append(r,c),t.append(c,v);for(let u=0;u<h.length;u+=1)h[u]&&h[u].m(v,null);H||(L=t.listen(n,"click",e[14]),H=!0)},p(i,k){if(k&16&&f!==(f=i[4]("sortby")+"")&&t.set_data(b,f),k&24&&A!==(A=(i[3]||i[4]("all"))+"")&&t.set_data(I,A),k&2&&F!==(F="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(C,"class",F),k&2&&N!==(N="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",N),k&120){Z=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<Z.length;u+=1){const T=D(i,Z,u);h[u]?h[u].p(T,k):(h[u]=P(T),h[u].c(),h[u].m(v,null))}for(;u<h.length;u+=1)h[u].d(1);h.length=Z.length}k&2&&M!==(M="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(c,"class",M)},d(i){i&&t.detach(r),t.destroy_each(h,i),H=!1,L()}}}function P(e){let r,n,a,l,s,p,m,d,x,y,g;function f(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),a=t.element("input"),s=t.space(),p=t.element("span"),m=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,x=t.space(),t.attr(a,"type","radio"),t.attr(a,"name","radio"),a.value=e[23],a.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(b,w){t.insert(b,r,w),t.append(r,n),t.append(n,a),t.append(n,s),t.append(n,p),t.append(n,m),t.append(n,d),t.append(r,x),y||(g=t.listen(a,"click",f),y=!0)},p(b,w){e=b,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(a.checked=l)},d(b){b&&t.detach(r),y=!1,g()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let a=n(e),l=a&&a(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]){a===(a=n(s))&&l?l.p(s,p):(l&&l.d(1),l=a&&a(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 a;t.component_subscribe(e,t.$format,o=>n(4,a=o));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:m=""}=r,{categoryid:d=""}=r,{mbsource:x}=r,y,g,f=!1,b=!0,w="",S="All";V({withLocale:"en",translations:{}});const B=()=>{fetch(s).then(c=>c.json()).then(c=>{Object.keys(c).forEach(v=>{E(v,c[v])})}).catch(c=>{console.log(c)})};Object.keys(j).forEach(o=>{E(o,j[o])});const A={All:a("all"),name:a("az"),isNew:a("newest"),"advancedTags(name(hot))":a("hottest")},I=()=>{var c;n(3,S="All"),n(2,b=!1),n(1,f=!1);let o=(c=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:c[d];o?n(3,S=o):n(3,S="All"),n(3,S=A[o])},O=o=>{n(3,S=o);let c=localStorage.getItem("vendorSortingBy");w=o;for(let v in A)if(A[v]===o){w=v;break}c==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:w})):(c=JSON.parse(c),c[d]=w,localStorage.setItem("vendorSortingBy",JSON.stringify(c))),window.postMessage({type:"ApplySorter",sortBy:w,itemId:d},window.location.href),n(1,f=!f)},C=()=>{n(1,f=!f),window.postMessage({type:"SortingOpened"},window.location.href)},_=o=>{o.data.type=="FilterOpened"&&n(1,f=!1)};t.onMount(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)}));const z=()=>C(),F=o=>O(o);function N(o){t.binding_callbacks[o?"unshift":"push"](()=>{g=o,n(0,g)})}return e.$$set=o=>{"lang"in o&&n(8,l=o.lang),"translationurl"in o&&n(9,s=o.translationurl),"clientstyling"in o&&n(10,p=o.clientstyling),"clientstylingurl"in o&&n(11,m=o.clientstylingurl),"categoryid"in o&&n(12,d=o.categoryid),"mbsource"in o&&n(13,x=o.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&I(),e.$$.dirty&1025&&p&&g&&t.setClientStyling(g,p),e.$$.dirty&2049&&m&&g&&t.setClientStylingURL(g,m),e.$$.dirty&8193&&g&&t.setStreamStyling(g,`${x}.Style`,y),e.$$.dirty&512&&s&&B()},[g,f,b,S,a,A,O,C,l,s,p,m,d,x,z,F,N]}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("./CasinoGamesCategorySection-CzEPzTXt.cjs");function V({withLocale:e,translations:r}){t.$locale.subscribe(n=>{n==null&&(t.$dictionary.set(r),t.$locale.set(e))})}function E(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-p37neu",':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, #22B04E));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, #22B04E));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));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 D(e,r,n){const a=e.slice();return a[23]=r[n],a}function q(e){let r,n,a,l,s,p,m,d,x,y,g,f=e[4]("sortby")+"",b,w,S,B,A=(e[3]||e[4]("all"))+"",I,O,C,_,z,F,N,o,c,v,M,H,L,Z=t.ensure_array_like(Object.values(e[5])),h=[];for(let i=0;i<Z.length;i+=1)h[i]=P(D(e,Z,i));return{c(){r=t.element("div"),n=t.element("div"),a=t.element("div"),l=t.svg_element("svg"),s=t.svg_element("g"),p=t.svg_element("path"),m=t.svg_element("path"),d=t.svg_element("path"),x=t.space(),y=t.element("div"),g=t.element("span"),b=t.text(f),w=t.space(),S=t.element("div"),B=t.element("span"),I=t.text(A),O=t.space(),C=t.element("span"),_=t.svg_element("svg"),z=t.svg_element("path"),o=t.space(),c=t.element("div"),v=t.element("ul");for(let i=0;i<h.length;i+=1)h[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(m,"id","Path_5268"),t.attr(m,"data-name","Path 5268"),t.attr(m,"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(m,"transform","translate(0 0)"),t.attr(m,"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(g,"class","SorterName"),t.attr(S,"class","SorterValueContainer"),t.attr(y,"class","SorterTextContainer"),t.attr(a,"class","SorterMainArea"),t.attr(z,"id","arrow"),t.attr(z,"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(z,"transform","translate(-274.511 -441.088)"),t.attr(z,"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(C,"class",F="TriangleInactive "+(e[1]?"TriangleActive":"")),t.attr(n,"class",N="SorterSelector "+(e[1]?"SorterSelectorOpen":"")),t.attr(v,"class","SorterDropdown"),t.attr(c,"class",M="SorterDropdownContainer "+(e[1]?"SorterOpen":"")),t.attr(r,"class","SorterContainer")},m(i,k){t.insert(i,r,k),t.append(r,n),t.append(n,a),t.append(a,l),t.append(l,s),t.append(s,p),t.append(s,m),t.append(s,d),t.append(a,x),t.append(a,y),t.append(y,g),t.append(g,b),t.append(y,w),t.append(y,S),t.append(S,B),t.append(B,I),t.append(n,O),t.append(n,C),t.append(C,_),t.append(_,z),t.append(r,o),t.append(r,c),t.append(c,v);for(let u=0;u<h.length;u+=1)h[u]&&h[u].m(v,null);H||(L=t.listen(n,"click",e[14]),H=!0)},p(i,k){if(k&16&&f!==(f=i[4]("sortby")+"")&&t.set_data(b,f),k&24&&A!==(A=(i[3]||i[4]("all"))+"")&&t.set_data(I,A),k&2&&F!==(F="TriangleInactive "+(i[1]?"TriangleActive":""))&&t.attr(C,"class",F),k&2&&N!==(N="SorterSelector "+(i[1]?"SorterSelectorOpen":""))&&t.attr(n,"class",N),k&120){Z=t.ensure_array_like(Object.values(i[5]));let u;for(u=0;u<Z.length;u+=1){const T=D(i,Z,u);h[u]?h[u].p(T,k):(h[u]=P(T),h[u].c(),h[u].m(v,null))}for(;u<h.length;u+=1)h[u].d(1);h.length=Z.length}k&2&&M!==(M="SorterDropdownContainer "+(i[1]?"SorterOpen":""))&&t.attr(c,"class",M)},d(i){i&&t.detach(r),t.destroy_each(h,i),H=!1,L()}}}function P(e){let r,n,a,l,s,p,m,d,x,y,g;function f(){return e[15](e[23])}return{c(){r=t.element("li"),n=t.element("label"),a=t.element("input"),s=t.space(),p=t.element("span"),m=t.space(),d=t.element("span"),d.textContent=`${e[23]}`,x=t.space(),t.attr(a,"type","radio"),t.attr(a,"name","radio"),a.value=e[23],a.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(b,w){t.insert(b,r,w),t.append(r,n),t.append(n,a),t.append(n,s),t.append(n,p),t.append(n,m),t.append(n,d),t.append(r,x),y||(g=t.listen(a,"click",f),y=!0)},p(b,w){e=b,w&24&&l!==(l=e[3]==e[23]?!0:e[3]==null&&e[23]==e[4]("all"))&&(a.checked=l)},d(b){b&&t.detach(r),y=!1,g()}}}function U(e){let r;function n(s,p){if(!s[2])return q}let a=n(e),l=a&&a(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]){a===(a=n(s))&&l?l.p(s,p):(l&&l.d(1),l=a&&a(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 a;t.component_subscribe(e,t.$format,o=>n(4,a=o));let{lang:l=""}=r,{translationurl:s=""}=r,{clientstyling:p=""}=r,{clientstylingurl:m=""}=r,{categoryid:d=""}=r,{mbsource:x}=r,y,g,f=!1,b=!0,w="",S="All";V({withLocale:"en",translations:{}});const B=()=>{fetch(s).then(c=>c.json()).then(c=>{Object.keys(c).forEach(v=>{E(v,c[v])})}).catch(c=>{console.log(c)})};Object.keys(j).forEach(o=>{E(o,j[o])});const A={All:a("all"),name:a("az"),isNew:a("newest"),"advancedTags(name(hot))":a("hottest")},I=()=>{var c;n(3,S="All"),n(2,b=!1),n(1,f=!1);let o=(c=JSON.parse(localStorage.getItem("vendorSortingBy")))==null?void 0:c[d];o?n(3,S=o):n(3,S="All"),n(3,S=A[o])},O=o=>{n(3,S=o);let c=localStorage.getItem("vendorSortingBy");w=o;for(let v in A)if(A[v]===o){w=v;break}c==null?localStorage.setItem("vendorSortingBy",JSON.stringify({[d]:w})):(c=JSON.parse(c),c[d]=w,localStorage.setItem("vendorSortingBy",JSON.stringify(c))),window.postMessage({type:"ApplySorter",sortBy:w,itemId:d},window.location.href),n(1,f=!f)},C=()=>{n(1,f=!f),window.postMessage({type:"SortingOpened"},window.location.href)},_=o=>{o.data.type=="FilterOpened"&&n(1,f=!1)};t.onMount(()=>(window.addEventListener("message",_,!1),()=>{window.removeEventListener("message",_)}));const z=()=>C(),F=o=>O(o);function N(o){t.binding_callbacks[o?"unshift":"push"](()=>{g=o,n(0,g)})}return e.$$set=o=>{"lang"in o&&n(8,l=o.lang),"translationurl"in o&&n(9,s=o.translationurl),"clientstyling"in o&&n(10,p=o.clientstyling),"clientstylingurl"in o&&n(11,m=o.clientstylingurl),"categoryid"in o&&n(12,d=o.categoryid),"mbsource"in o&&n(13,x=o.mbsource)},e.$$.update=()=>{e.$$.dirty&4096&&d&&I(),e.$$.dirty&1025&&p&&g&&t.setClientStyling(g,p),e.$$.dirty&2049&&m&&g&&t.setClientStylingURL(g,m),e.$$.dirty&8193&&g&&t.setStreamStyling(g,`${x}.Style`,y),e.$$.dirty&512&&s&&B()},[g,f,b,S,a,A,O,C,l,s,p,m,d,x,z,F,N]}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 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoGamesCategorySection-iuUJmQ46.cjs")).then(e=>e.CasinoGamesCategorySection_ce).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(e){return function(...s){try{return e.apply(this,s)}catch(t){if(t instanceof DOMException&&t.message.includes("has already been used with this registry")||t.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw t}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoGamesCategorySection-CzEPzTXt.cjs")).then(e=>e.CasinoGamesCategorySection_ce).then(({default:e})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",e.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoGamesCategorySection-gUMOVWMj.js").then((e) => e.M).then(({ default: e }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoGamesCategorySection-0SaR-cAF.js").then((e) => e.M).then(({ default: e }) => {
14
14
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", e.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { M as n } from "../components/CasinoGamesCategorySection-B9nzGUfF.js";
1
+ import { M as n } from "../components/CasinoGamesCategorySection-HglBHtzd.js";
2
2
  function a(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-games-category-section",
3
- "version": "1.99.56",
3
+ "version": "1.99.59",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-games-category-section.cjs",
6
6
  "module": "esnext/casino-games-category-section.js",
@@ -26,7 +26,7 @@ var de = Object.defineProperty, ve = (e, t) => {
26
26
  case "ui-image_2":
27
27
  return import(
28
28
  /* webpackMode: "lazy" */
29
- "./ui-image_2-Daq38JGa.js"
29
+ "./ui-image_2-CeEpO7fa.js"
30
30
  ).then(l, k);
31
31
  }
32
32
  }
@@ -151,8 +151,7 @@ var xe = (e) => {
151
151
  }
152
152
  t.$flags$ & 4 && ($.innerHTML += K), l && l.add(r);
153
153
  }
154
- } else
155
- e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
154
+ } else e.adoptedStyleSheets.includes(a) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, a]);
156
155
  return r;
157
156
  }, Ue = (e) => {
158
157
  const t = e.$cmpMeta$, n = e.$hostElement$, s = S("attachStyles", t.$tagName$);
@@ -171,28 +170,27 @@ var xe = (e) => {
171
170
  (!s || s[i] == null) && (i.includes("-") ? e.style.removeProperty(i) : e.style[i] = "");
172
171
  for (const i in s)
173
172
  (!n || s[i] !== n[i]) && (i.includes("-") ? e.style.setProperty(i, s[i]) : e.style[i] = s[i]);
174
- } else if (t !== "key")
175
- if (t === "ref")
176
- s && s(e);
177
- else if (!l && t[0] === "o" && t[1] === "n") {
178
- if (t[2] === "-" ? t = t.slice(3) : F(L, $) ? t = $.slice(2) : t = $[2] + t.slice(3), n || s) {
179
- const i = t.endsWith(V);
180
- t = t.replace(Be, ""), n && p.rel(e, t, n, i), s && p.ael(e, t, s, i);
181
- }
182
- } else {
183
- const i = C(s);
184
- if ((l || i && s !== null) && !r)
185
- try {
186
- if (e.tagName.includes("-"))
187
- e[t] = s;
188
- else {
189
- const o = s ?? "";
190
- t === "list" ? l = !1 : (n == null || e[t] != o) && (e[t] = o);
191
- }
192
- } catch {
193
- }
194
- s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || r) && !i && (s = s === !0 ? "" : s, e.setAttribute(t, s));
173
+ } else if (t !== "key") if (t === "ref")
174
+ s && s(e);
175
+ else if (!l && t[0] === "o" && t[1] === "n") {
176
+ if (t[2] === "-" ? t = t.slice(3) : F(L, $) ? t = $.slice(2) : t = $[2] + t.slice(3), n || s) {
177
+ const i = t.endsWith(V);
178
+ t = t.replace(Be, ""), n && p.rel(e, t, n, i), s && p.ael(e, t, s, i);
195
179
  }
180
+ } else {
181
+ const i = C(s);
182
+ if ((l || i && s !== null) && !r)
183
+ try {
184
+ if (e.tagName.includes("-"))
185
+ e[t] = s;
186
+ else {
187
+ const o = s ?? "";
188
+ t === "list" ? l = !1 : (n == null || e[t] != o) && (e[t] = o);
189
+ }
190
+ } catch {
191
+ }
192
+ s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || a & 4 || r) && !i && (s = s === !0 ? "" : s, e.setAttribute(t, s));
193
+ }
196
194
  }
197
195
  }, He = /\s/, Y = (e) => e ? e.split(He) : [], V = "Capture", Be = new RegExp(V + "$"), ee = (e, t, n) => {
198
196
  const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || M, a = t.$attrs$ || M;
@@ -42,7 +42,7 @@ var ve = Object.defineProperty, ge = (e, t) => {
42
42
  case "ui-image_2":
43
43
  return import(
44
44
  /* webpackMode: "lazy" */
45
- "./ui-image_2-CmVho0dS.js"
45
+ "./ui-image_2-B6hxNvK2.js"
46
46
  ).then(l, k);
47
47
  }
48
48
  }
@@ -167,8 +167,7 @@ var Pe = (e) => {
167
167
  }
168
168
  t.$flags$ & 4 && ($.innerHTML += Q), l && l.add(r);
169
169
  }
170
- } else
171
- e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
170
+ } else e.adoptedStyleSheets.includes(i) || (e.adoptedStyleSheets = [...e.adoptedStyleSheets, i]);
172
171
  return r;
173
172
  }, He = (e) => {
174
173
  const t = e.$cmpMeta$, n = e.$hostElement$, s = S("attachStyles", t.$tagName$);
@@ -187,28 +186,27 @@ var Pe = (e) => {
187
186
  (!s || s[a] == null) && (a.includes("-") ? e.style.removeProperty(a) : e.style[a] = "");
188
187
  for (const a in s)
189
188
  (!n || s[a] !== n[a]) && (a.includes("-") ? e.style.setProperty(a, s[a]) : e.style[a] = s[a]);
190
- } else if (t !== "key")
191
- if (t === "ref")
192
- s && s(e);
193
- else if (!l && t[0] === "o" && t[1] === "n") {
194
- if (t[2] === "-" ? t = t.slice(3) : D(j, $) ? t = $.slice(2) : t = $[2] + t.slice(3), n || s) {
195
- const a = t.endsWith(ee);
196
- t = t.replace(ze, ""), n && p.rel(e, t, n, a), s && p.ael(e, t, s, a);
197
- }
198
- } else {
199
- const a = q(s);
200
- if ((l || a && s !== null) && !r)
201
- try {
202
- if (e.tagName.includes("-"))
203
- e[t] = s;
204
- else {
205
- const o = s == null ? "" : s;
206
- t === "list" ? l = !1 : (n == null || e[t] != o) && (e[t] = o);
207
- }
208
- } catch (o) {
209
- }
210
- s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || i & 4 || r) && !a && (s = s === !0 ? "" : s, e.setAttribute(t, s));
189
+ } else if (t !== "key") if (t === "ref")
190
+ s && s(e);
191
+ else if (!l && t[0] === "o" && t[1] === "n") {
192
+ if (t[2] === "-" ? t = t.slice(3) : D(j, $) ? t = $.slice(2) : t = $[2] + t.slice(3), n || s) {
193
+ const a = t.endsWith(ee);
194
+ t = t.replace(ze, ""), n && p.rel(e, t, n, a), s && p.ael(e, t, s, a);
211
195
  }
196
+ } else {
197
+ const a = q(s);
198
+ if ((l || a && s !== null) && !r)
199
+ try {
200
+ if (e.tagName.includes("-"))
201
+ e[t] = s;
202
+ else {
203
+ const o = s == null ? "" : s;
204
+ t === "list" ? l = !1 : (n == null || e[t] != o) && (e[t] = o);
205
+ }
206
+ } catch (o) {
207
+ }
208
+ s == null || s === !1 ? (s !== !1 || e.getAttribute(t) === "") && e.removeAttribute(t) : (!l || i & 4 || r) && !a && (s = s === !0 ? "" : s, e.setAttribute(t, s));
209
+ }
212
210
  }
213
211
  }, Be = /\s/, J = (e) => e ? e.split(Be) : [], ee = "Capture", ze = new RegExp(ee + "$"), te = (e, t, n) => {
214
212
  const s = t.$elm$.nodeType === 11 && t.$elm$.host ? t.$elm$.host : t.$elm$, r = e && e.$attrs$ || G, i = t.$attrs$ || G;
@@ -1,4 +1,4 @@
1
- import { b as e, p as a } from "./index-97d17652-B6BYeRne.js";
1
+ import { b as e, p as a } from "./index-97d17652-B7kuyr7B.js";
2
2
  import { g as i } from "./app-globals-0f993ce5-D-kw1sls.js";
3
3
  var o = () => {
4
4
  const t = import.meta.url, r = {};
@@ -1,4 +1,4 @@
1
- import { r, h as s, H as n, g as a } from "./index-97d17652-B6BYeRne.js";
1
+ import { r, h as s, H as n, g as a } from "./index-97d17652-B7kuyr7B.js";
2
2
  const d = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}", o = d, h = class {
3
3
  constructor(e) {
4
4
  r(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;
@@ -1,4 +1,4 @@
1
- import { r, h as s, H as n, g as a } from "./index-97d17652-BOr4KAqq.js";
1
+ import { r, h as s, H as n, g as a } from "./index-97d17652-Cylnizw0.js";
2
2
  const d = ".HostContainer{display:block}.UiContainer{height:100%;width:100%;border-radius:inherit;object-fit:inherit}.UiContainer .Image{border-radius:inherit}.Hidden{opacity:0;transition:opacity 0.5s ease-in-out}.Visible{opacity:1;border-radius:var(--emw--border-radius-medium, 10px);transition:opacity 0.5s ease-in-out}", o = d, h = class {
3
3
  constructor(e) {
4
4
  r(this, e), this.src = void 0, this.width = void 0, this.height = void 0, this.alt = void 0, this.styles = void 0, this.detectDistance = "200px", this.imgLoaded = !1, this.shouldLoad = !1;