@everymatrix/casino-navigation-search 1.94.57 → 1.94.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 (22) hide show
  1. package/components/{CasinoCategories-DPlQAMMs.js → CasinoCategories-0z95Zr6X.js} +2 -2
  2. package/components/{CasinoCategories-DPZ9O23N.cjs → CasinoCategories-BlfPG0x2.cjs} +1 -1
  3. package/components/{CasinoCategories-DUHuUF3Y.js → CasinoCategories-DUXogC3c.js} +2 -2
  4. package/components/{CasinoCategoriesProviders-DnAFzl9y.js → CasinoCategoriesProviders-CLfVa__L.js} +4 -4
  5. package/components/{CasinoCategoriesProviders-b868yoe6.cjs → CasinoCategoriesProviders-DxKmwl6e.cjs} +1 -1
  6. package/components/{CasinoCategoriesProviders-AZK-LyHz.js → CasinoCategoriesProviders-sy4CqkL0.js} +4 -4
  7. package/components/{CasinoGameThumbnail-CxoRJp_b.cjs → CasinoGameThumbnail-BHm_y5d3.cjs} +1 -1
  8. package/components/{CasinoGameThumbnail-BmHSvVP3.js → CasinoGameThumbnail-BUO6p3jL.js} +2 -2
  9. package/components/{CasinoGameThumbnail-BMUwvi16.js → CasinoGameThumbnail-DPH_lsJ4.js} +2 -2
  10. package/components/{CasinoNavigationSearch-D2TFQtTD.js → CasinoNavigationSearch-Chy4UUVM.js} +2 -2
  11. package/components/{CasinoNavigationSearch-CCkQbdS5.js → CasinoNavigationSearch-D1kW0fKC.js} +2 -2
  12. package/components/{CasinoNavigationSearch-CvEgXDMX.cjs → CasinoNavigationSearch-T97ixxPr.cjs} +1 -1
  13. package/components/{CasinoProviders-B9qHUUqw.cjs → CasinoProviders-CMVS-Ewf.cjs} +1 -1
  14. package/components/{CasinoProviders-COFyT8ms.js → CasinoProviders-ZNNE6KdV.js} +2 -2
  15. package/components/{CasinoProviders-Ba3olyJg.js → CasinoProviders-cGkzaAkJ.js} +2 -2
  16. package/components/{CasinoSearch-DAbJt683.cjs → CasinoSearch-B-URKwds.cjs} +2 -2
  17. package/components/{CasinoSearch-B8ruAPZm.js → CasinoSearch-Czy2BrGR.js} +74 -74
  18. package/components/{CasinoSearch-y9Hu7PaC.js → CasinoSearch-Du5QvUcO.js} +74 -74
  19. package/es2015/casino-navigation-search.cjs +1 -1
  20. package/es2015/casino-navigation-search.js +1 -1
  21. package/esnext/casino-navigation-search.js +1 -1
  22. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { n as K, s as $t, a as Qr, r as er, i as Yr, S as Kr, b as $r, f as N, c as en, d as tn, e as G, g as b, h as bt, j as F, k as x, l as ne, m as P, o as X, p as vt, q as rn, t as nn, u as $, v as ee, w as yt, x as _t, y as an, z as tr, A as g, B as on, C as sn, D as un } from "./CasinoNavigationSearch-D2TFQtTD.js";
1
+ import { n as K, s as $t, a as Qr, r as er, i as Yr, S as Kr, b as $r, f as N, c as en, d as tn, e as G, g as b, h as bt, j as F, k as x, l as ne, m as A, o as X, p as vt, q as rn, t as nn, u as $, v as ee, w as yt, x as _t, y as an, z as tr, A as g, B as on, C as sn, D as un } from "./CasinoNavigationSearch-Chy4UUVM.js";
2
2
  const re = [];
3
3
  function ln(e, t) {
4
4
  return {
@@ -49,8 +49,8 @@ function le(e, t, r) {
49
49
  }, p = i.map(
50
50
  (d, y) => Qr(
51
51
  d,
52
- (A) => {
53
- h[y] = A, u &= ~(1 << y), l && m();
52
+ (C) => {
53
+ h[y] = C, u &= ~(1 << y), l && m();
54
54
  },
55
55
  () => {
56
56
  u |= 1 << y;
@@ -373,15 +373,15 @@ function Dn(e) {
373
373
  return "";
374
374
  }), t;
375
375
  }
376
- var H = function() {
377
- return H = Object.assign || function(t) {
376
+ var B = function() {
377
+ return B = Object.assign || function(t) {
378
378
  for (var r, n = 1, i = arguments.length; n < i; n++) {
379
379
  r = arguments[n];
380
380
  for (var a in r)
381
381
  Object.prototype.hasOwnProperty.call(r, a) && (t[a] = r[a]);
382
382
  }
383
383
  return t;
384
- }, H.apply(this, arguments);
384
+ }, B.apply(this, arguments);
385
385
  };
386
386
  var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
387
387
  function Fn(e) {
@@ -505,13 +505,13 @@ function Vn(e) {
505
505
  t.notation = "compact", t.compactDisplay = "long";
506
506
  continue;
507
507
  case "scientific":
508
- t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
509
- return H(H({}, l), Tt(h));
508
+ t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
509
+ return B(B({}, l), Tt(h));
510
510
  }, {}));
511
511
  continue;
512
512
  case "engineering":
513
- t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
514
- return H(H({}, l), Tt(h));
513
+ t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
514
+ return B(B({}, l), Tt(h));
515
515
  }, {}));
516
516
  continue;
517
517
  case "notation-simple":
@@ -580,17 +580,17 @@ function Vn(e) {
580
580
  return u === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && p ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + p.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
581
581
  });
582
582
  var a = i.options[0];
583
- a === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = H(H({}, t), wt(a)));
583
+ a === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : a && (t = B(B({}, t), wt(a)));
584
584
  continue;
585
585
  }
586
586
  if (mr.test(i.stem)) {
587
- t = H(H({}, t), wt(i.stem));
587
+ t = B(B({}, t), wt(i.stem));
588
588
  continue;
589
589
  }
590
590
  var o = dr(i.stem);
591
- o && (t = H(H({}, t), o));
591
+ o && (t = B(B({}, t), o));
592
592
  var s = jn(i.stem);
593
- s && (t = H(H({}, t), s));
593
+ s && (t = B(B({}, t), s));
594
594
  }
595
595
  return t;
596
596
  }
@@ -2360,18 +2360,18 @@ var ai = (
2360
2360
  return d;
2361
2361
  var y = _(i, this.clonePosition());
2362
2362
  if (h && Ht(h?.style, "::", 0)) {
2363
- var A = ni(h.style.slice(2));
2363
+ var C = ni(h.style.slice(2));
2364
2364
  if (s === "number") {
2365
- var c = this.parseNumberSkeletonFromString(A, h.styleLocation);
2365
+ var c = this.parseNumberSkeletonFromString(C, h.styleLocation);
2366
2366
  return c.err ? c : {
2367
2367
  val: { type: T.number, value: n, location: y, style: c.val },
2368
2368
  err: null
2369
2369
  };
2370
2370
  } else {
2371
- if (A.length === 0)
2371
+ if (C.length === 0)
2372
2372
  return this.error(v.EXPECT_DATE_TIME_SKELETON, y);
2373
- var U = A;
2374
- this.locale && (U = zn(A, this.locale));
2373
+ var U = C;
2374
+ this.locale && (U = zn(C, this.locale));
2375
2375
  var m = {
2376
2376
  type: ae.dateTime,
2377
2377
  pattern: U,
@@ -2753,10 +2753,10 @@ function Te(e, t, r, n, i, a, o) {
2753
2753
  continue;
2754
2754
  }
2755
2755
  if (hr(u)) {
2756
- var d = u.children, y = u.value, A = i[y];
2757
- if (!mi(A))
2756
+ var d = u.children, y = u.value, C = i[y];
2757
+ if (!mi(C))
2758
2758
  throw new hi(y, "function", o);
2759
- var U = Te(d, t, r, n, i, a), k = A(U.map(function(E) {
2759
+ var U = Te(d, t, r, n, i, a), k = C(U.map(function(E) {
2760
2760
  return E.value;
2761
2761
  }));
2762
2762
  Array.isArray(k) || (k = [k]), s.push.apply(s, k.map(function(E) {
@@ -3988,7 +3988,7 @@ if (typeof window < "u") {
3988
3988
  }
3989
3989
  };
3990
3990
  };
3991
- customElements.define = e(customElements.define), import("./CasinoGameThumbnail-BMUwvi16.js").then(({ default: t }) => {
3991
+ customElements.define = e(customElements.define), import("./CasinoGameThumbnail-DPH_lsJ4.js").then(({ default: t }) => {
3992
3992
  !customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", t.element);
3993
3993
  });
3994
3994
  }
@@ -4036,7 +4036,7 @@ function Wt(e) {
4036
4036
  ), n, i, a, o;
4037
4037
  return {
4038
4038
  c() {
4039
- t = P("small"), n = ee(r), b(t, "class", i = "SearchCancelButton " + /*searchCancelled*/
4039
+ t = A("small"), n = ee(r), b(t, "class", i = "SearchCancelButton " + /*searchCancelled*/
4040
4040
  (e[16] ? "NotVisible" : ""));
4041
4041
  },
4042
4042
  m(s, l) {
@@ -4084,7 +4084,7 @@ function ga(e) {
4084
4084
  );
4085
4085
  return {
4086
4086
  c() {
4087
- s && s.c(), t = X(), r = P("div"), l && l.c(), n = X(), h && h.c(), b(r, "class", i = "SearchResultsContainer " + /*searchActive*/
4087
+ s && s.c(), t = X(), r = A("div"), l && l.c(), n = X(), h && h.c(), b(r, "class", i = "SearchResultsContainer " + /*searchActive*/
4088
4088
  (e[17] == !0 ? "" : "NotVisible"));
4089
4089
  },
4090
4090
  m(u, c) {
@@ -4110,7 +4110,7 @@ function ba(e) {
4110
4110
  ), n;
4111
4111
  return {
4112
4112
  c() {
4113
- t = P("p"), n = ee(r), b(t, "class", "LoadingContent");
4113
+ t = A("p"), n = ee(r), b(t, "class", "LoadingContent");
4114
4114
  },
4115
4115
  m(i, a) {
4116
4116
  F(i, t, a), x(t, n);
@@ -4132,7 +4132,7 @@ function va(e) {
4132
4132
  ), n;
4133
4133
  return {
4134
4134
  c() {
4135
- t = P("p"), n = ee(r), b(t, "class", "SearchMessage");
4135
+ t = A("p"), n = ee(r), b(t, "class", "SearchMessage");
4136
4136
  },
4137
4137
  m(i, a) {
4138
4138
  F(i, t, a), x(t, n);
@@ -4179,7 +4179,7 @@ function Xt(e) {
4179
4179
  ), n;
4180
4180
  return {
4181
4181
  c() {
4182
- t = P("p"), n = ee(r), b(t, "class", "SearchMessage");
4182
+ t = A("p"), n = ee(r), b(t, "class", "SearchMessage");
4183
4183
  },
4184
4184
  m(i, a) {
4185
4185
  F(i, t, a), x(t, n);
@@ -4204,7 +4204,7 @@ function qt(e) {
4204
4204
  );
4205
4205
  return {
4206
4206
  c() {
4207
- t = P("div"), s && s.c(), r = X(), n = P("p"), a = ee(i), b(n, "class", "SearchMessage"), b(t, "class", o = "ResultsContainerError " + /*notfoundicon*/
4207
+ t = A("div"), s && s.c(), r = X(), n = A("p"), a = ee(i), b(n, "class", "SearchMessage"), b(t, "class", o = "ResultsContainerError " + /*notfoundicon*/
4208
4208
  (e[10] == "true" ? "WithIcon" : ""));
4209
4209
  },
4210
4210
  m(l, h) {
@@ -4227,7 +4227,7 @@ function Zt(e) {
4227
4227
  let t;
4228
4228
  return {
4229
4229
  c() {
4230
- t = P("div"), t.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', b(t, "class", "SearchErrorIcon");
4230
+ t = A("div"), t.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', b(t, "class", "SearchErrorIcon");
4231
4231
  },
4232
4232
  m(r, n) {
4233
4233
  F(r, t, n);
@@ -4281,7 +4281,7 @@ function Qt(e) {
4281
4281
  let t, r, n, i, a, o, s, l, h, u, c, m;
4282
4282
  return {
4283
4283
  c() {
4284
- t = P("casino-game-thumbnail"), g(
4284
+ t = A("casino-game-thumbnail"), g(
4285
4285
  t,
4286
4286
  "endpoint",
4287
4287
  /*endpoint*/
@@ -4486,7 +4486,7 @@ function Yt(e) {
4486
4486
  );
4487
4487
  return {
4488
4488
  c() {
4489
- t = P("div"), c && c.c(), r = X(), n = P("p"), a = ee(i), o = X(), s = P("p"), h = ee(l), b(n, "class", "SearchMessage"), b(t, "class", u = "ResultsContainerError " + /*notfoundicon*/
4489
+ t = A("div"), c && c.c(), r = X(), n = A("p"), a = ee(i), o = X(), s = A("p"), h = ee(l), b(n, "class", "SearchMessage"), b(t, "class", u = "ResultsContainerError " + /*notfoundicon*/
4490
4490
  (e[10] == "true" ? "WithIcon" : ""));
4491
4491
  },
4492
4492
  m(m, p) {
@@ -4511,7 +4511,7 @@ function Kt(e) {
4511
4511
  let t;
4512
4512
  return {
4513
4513
  c() {
4514
- t = P("div"), t.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', b(t, "class", "SearchErrorIcon");
4514
+ t = A("div"), t.innerHTML = '<svg width="" height="" viewBox="0 0 240 160" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x="40" width="160" height="160" rx="80" fill="var(--emw--color-contrast, #E6E6E6)" fill-opacity="0.6"></rect><path d="M152 112L136 96" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="square" stroke-linejoin="round"></path><path d="M116 104C131.464 104 144 91.464 144 76C144 60.536 131.464 48 116 48C100.536 48 88 60.536 88 76C88 91.464 100.536 104 116 104Z" stroke="var(--emw--color-contrast, #131313)" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M116.001 78.1221L121.88 84.0009L124.001 81.8796L118.122 76.0008L124.002 70.1214L121.88 68L116.001 73.8795L110.121 68L108 70.1214L113.879 76.0008L108.001 81.8796L110.122 84.0009L116.001 78.1221Z" fill="var(--emw--color-contrast, #131313)"></path></svg>', b(t, "class", "SearchErrorIcon");
4515
4515
  },
4516
4516
  m(r, n) {
4517
4517
  F(r, t, n);
@@ -4522,7 +4522,7 @@ function Kt(e) {
4522
4522
  };
4523
4523
  }
4524
4524
  function _a(e) {
4525
- let t, r, n, i, a, o, s, l, h, u, c, m, p, d, y, A, U, k, O, j, E = (
4525
+ let t, r, n, i, a, o, s, l, h, u, c, m, p, d, y, C, U, k, O, j, E = (
4526
4526
  /*cancelbutton*/
4527
4527
  e[9] === "true" && Wt(e)
4528
4528
  );
@@ -4532,14 +4532,14 @@ function _a(e) {
4532
4532
  w[18] ? ba : ga
4533
4533
  );
4534
4534
  }
4535
- let z = L(e), C = z(e);
4535
+ let z = L(e), I = z(e);
4536
4536
  return {
4537
4537
  c() {
4538
- t = P("div"), r = P("div"), n = P("div"), i = P("div"), i.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', a = X(), o = P("input"), l = X(), h = P("span"), u = vt("svg"), c = vt("path"), p = X(), E && E.c(), y = X(), A = P("div"), k = X(), C.c(), b(i, "class", "SearchIcon"), b(o, "class", "SearchInput"), b(o, "type", "search"), b(o, "placeholder", s = /*$_*/
4538
+ t = A("div"), r = A("div"), n = A("div"), i = A("div"), i.innerHTML = '<svg width="14" height="15" fill="none" xmlns="http://www.w3.org/2000/svg"><path stroke="#212121" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" d="m10.48 10.985 2.21 2.373"></path><circle cx="6.5" cy="6.5" r="5.75" stroke="#212121" stroke-width="1.5"></circle></svg>', a = X(), o = A("input"), l = X(), h = A("span"), u = vt("svg"), c = vt("path"), p = X(), E && E.c(), y = X(), C = A("div"), k = X(), I.c(), b(i, "class", "SearchIcon"), b(o, "class", "SearchInput"), b(o, "type", "search"), b(o, "placeholder", s = /*$_*/
4539
4539
  e[21]("placeHolderSearchGames")), b(o, "maxlength", Sa), b(c, "d", "m1.45 1.5 8.1 8M1.45 9.5l8.1-8"), b(c, "stroke", "#717171"), b(c, "stroke-width", "2"), b(c, "stroke-linecap", "round"), b(c, "stroke-linejoin", "round"), b(u, "width", "11"), b(u, "height", "11"), b(u, "fill", "none"), b(u, "xmlns", "http://www.w3.org/2000/svg"), b(h, "class", m = "SearchClearButton " + /*cancelbutton*/
4540
4540
  (e[9] != "true" ? "WithoutCancel" : "") + " " + /*searchValue*/
4541
4541
  (e[14].length != 0 ? "" : "NotVisible")), b(n, "class", d = "Search " + /*searchCancelled*/
4542
- (e[16] ? "" : "SearchAnimation")), b(r, "class", "SearchWrap"), b(A, "class", U = /*cancelbutton*/
4542
+ (e[16] ? "" : "SearchAnimation")), b(r, "class", "SearchWrap"), b(C, "class", U = /*cancelbutton*/
4543
4543
  e[9] != "true" ? "OverlayCancel" : ""), b(t, "class", (st(
4544
4544
  /*userAgent*/
4545
4545
  e[22]
@@ -4550,7 +4550,7 @@ function _a(e) {
4550
4550
  o,
4551
4551
  /*searchValue*/
4552
4552
  e[14]
4553
- ), e[35](o), x(n, l), x(n, h), x(h, u), x(u, c), x(n, p), E && E.m(n, null), x(t, y), x(t, A), x(t, k), C.m(t, null), e[38](t), O || (j = [
4553
+ ), e[35](o), x(n, l), x(n, h), x(h, u), x(u, c), x(n, p), E && E.m(n, null), x(t, y), x(t, C), x(t, k), I.m(t, null), e[38](t), O || (j = [
4554
4554
  ne(
4555
4555
  o,
4556
4556
  "input",
@@ -4576,7 +4576,7 @@ function _a(e) {
4576
4576
  e[36]
4577
4577
  ),
4578
4578
  ne(
4579
- A,
4579
+ C,
4580
4580
  "click",
4581
4581
  /*handleOverlay*/
4582
4582
  e[24]
@@ -4600,12 +4600,12 @@ function _a(e) {
4600
4600
  65536 && d !== (d = "Search " + /*searchCancelled*/
4601
4601
  (w[16] ? "" : "SearchAnimation")) && b(n, "class", d), M[0] & /*cancelbutton*/
4602
4602
  512 && U !== (U = /*cancelbutton*/
4603
- w[9] != "true" ? "OverlayCancel" : "") && b(A, "class", U), z === (z = L(w)) && C ? C.p(w, M) : (C.d(1), C = z(w), C && (C.c(), C.m(t, null)));
4603
+ w[9] != "true" ? "OverlayCancel" : "") && b(C, "class", U), z === (z = L(w)) && I ? I.p(w, M) : (I.d(1), I = z(w), I && (I.c(), I.m(t, null)));
4604
4604
  },
4605
4605
  i: K,
4606
4606
  o: K,
4607
4607
  d(w) {
4608
- w && G(t), e[35](null), E && E.d(), C.d(), e[38](null), O = !1, er(j);
4608
+ w && G(t), e[35](null), E && E.d(), I.d(), e[38](null), O = !1, er(j);
4609
4609
  }
4610
4610
  };
4611
4611
  }
@@ -4613,11 +4613,11 @@ let Sa = 50;
4613
4613
  function Ea(e, t, r) {
4614
4614
  let n;
4615
4615
  rn(e, Qi, (f) => r(21, n = f));
4616
- let { endpoint: i = "" } = t, { datasource: a = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { lang: l = "en" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { integratedgameframedesktop: c = "false" } = t, { integratedgameframemobile: m = "false" } = t, { showgamename: p = "" } = t, { gamepagemodalurl: d = "true" } = t, { translationurl: y = "" } = t, { showfavorites: A = "" } = t, { cancelbutton: U = "true" } = t, { notfoundicon: k = "false" } = t, { mbsource: O } = t, j = window.navigator.userAgent, E = [], L = [], z = {}, C = "", w, M = !0, fe = !1, W = !1, Z, ye = !1, _e, Se, ct = [], Rr;
4616
+ let { endpoint: i = "" } = t, { datasource: a = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { lang: l = "en" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { integratedgameframedesktop: c = "false" } = t, { integratedgameframemobile: m = "false" } = t, { showgamename: p = "" } = t, { gamepagemodalurl: d = "true" } = t, { translationurl: y = "" } = t, { showfavorites: C = "" } = t, { cancelbutton: U = "true" } = t, { notfoundicon: k = "false" } = t, { mbsource: O } = t, j = window.navigator.userAgent, E = [], L = [], z = {}, I = "", w, M = !0, fe = !1, W = !1, Z, ye = !1, _e, Se, ct = [], Rr;
4617
4617
  const Lr = () => {
4618
4618
  fetch(y).then((S) => S.json()).then((S) => {
4619
- Object.keys(S).forEach((B) => {
4620
- Lt(B, S[B]);
4619
+ Object.keys(S).forEach((P) => {
4620
+ Lt(P, S[P]);
4621
4621
  });
4622
4622
  }).catch((S) => {
4623
4623
  console.log(S);
@@ -4629,17 +4629,17 @@ function Ea(e, t, r) {
4629
4629
  const ft = (f) => {
4630
4630
  f.data && f.data.type == "SearchedItemClicked" && kr(f.data.gameId), f.data.type == "UserSessionID" && (r(19, _e = f.data.session), r(20, Se = f.data.userid), r(33, ye = !0)), f.data.type == "CategoryChange" && Ee();
4631
4631
  }, mt = () => {
4632
- if (r(16, M = !1), r(17, fe = !0), i && a && l && C.length < 2) {
4632
+ if (r(16, M = !1), r(17, fe = !0), i && a && l && I.length < 2) {
4633
4633
  r(13, E = []);
4634
4634
  let f = localStorage.getItem("searchedGamesWds_casino"), S = [];
4635
4635
  f && (S = f.split(","));
4636
- let B = [], I = 0, R = S.length;
4636
+ let P = [], H = 0, R = S.length;
4637
4637
  if (R > 0) {
4638
- for (I = 0; I < R; I++) {
4639
- let V = new URL(`${i}/v1/casino/games/${S[I]}`);
4640
- V.searchParams.append("language", l), V.searchParams.append("datasource", a), V.searchParams.append("platform", st(j)), B.push(Dr(V, S[I]));
4638
+ for (H = 0; H < R; H++) {
4639
+ let V = new URL(`${i}/v1/casino/games/${S[H]}`);
4640
+ V.searchParams.append("language", l), V.searchParams.append("datasource", a), V.searchParams.append("platform", st(j)), P.push(Dr(V, S[H]));
4641
4641
  }
4642
- Promise.all(B).then((V) => {
4642
+ Promise.all(P).then((V) => {
4643
4643
  V = V.filter(function(Y) {
4644
4644
  return !!Y;
4645
4645
  }), r(13, E = V.map((Y) => (Y.isFavorite = pt(Y.id), Y))), E.length ? me("searchSuccess", "SearchWidget") : me("searchFail", "SearchWidget");
@@ -4653,17 +4653,17 @@ function Ea(e, t, r) {
4653
4653
  typeof gtag == "function" && gtag("event", f, { context: S });
4654
4654
  }, Nr = () => {
4655
4655
  U != "true" && Ee();
4656
- }, Mr = (f) => new Promise((S, B) => {
4657
- r(18, W = !0), fetch(f.href).then((I) => I.json()).then((I) => {
4658
- r(18, W = !1), S(I);
4659
- }).catch((I) => {
4660
- r(18, W = !1), console.error(I), B(I);
4656
+ }, Mr = (f) => new Promise((S, P) => {
4657
+ r(18, W = !0), fetch(f.href).then((H) => H.json()).then((H) => {
4658
+ r(18, W = !1), S(H);
4659
+ }).catch((H) => {
4660
+ r(18, W = !1), console.error(H), P(H);
4661
4661
  });
4662
- }), Dr = (f, S) => new Promise((B, I) => {
4663
- r(18, W = !0), S && Object.keys(z).indexOf(S) >= 0 ? (r(18, W = !1), B(z[S])) : fetch(f).then((R) => R.json()).then((R) => {
4664
- r(18, W = !1), R.error || (z[R[0].gameId] = R[0]), B(R[0]);
4662
+ }), Dr = (f, S) => new Promise((P, H) => {
4663
+ r(18, W = !0), S && Object.keys(z).indexOf(S) >= 0 ? (r(18, W = !1), P(z[S])) : fetch(f).then((R) => R.json()).then((R) => {
4664
+ r(18, W = !1), R.error || (z[R[0].gameId] = R[0]), P(R[0]);
4665
4665
  }).catch((R) => {
4666
- r(18, W = !1), console.error(R), I(R);
4666
+ r(18, W = !1), console.error(R), H(R);
4667
4667
  });
4668
4668
  }), Gr = () => {
4669
4669
  const f = new URL(`${i}/v1/player/${Se}/favorites/`);
@@ -4672,19 +4672,19 @@ function Ea(e, t, r) {
4672
4672
  method: "GET",
4673
4673
  headers: { "X-SessionID": _e }
4674
4674
  };
4675
- fetch(f.href, S).then((B) => B.json()).then((B) => {
4676
- r(18, W = !1), ct = B.items.map((I) => I.id);
4675
+ fetch(f.href, S).then((P) => P.json()).then((P) => {
4676
+ r(18, W = !1), ct = P.items.map((H) => H.id);
4677
4677
  });
4678
4678
  }, Fr = () => {
4679
4679
  r(33, ye = !0), r(19, _e = o), r(20, Se = s);
4680
4680
  }, pt = (f) => ct.findIndex((S) => S == f) !== -1, Ur = (f) => {
4681
4681
  if (f?.length === 0)
4682
4682
  return "";
4683
- let S, B = 99999999999, I;
4683
+ let S, P = 99999999999, H;
4684
4684
  const R = new Date(Date.now());
4685
4685
  return f.forEach((V, Y) => {
4686
4686
  const Jr = new Date(V.schedules[0].startTime), Ge = new Date(V.schedules[0].endTime);
4687
- Vt(new Date(Ge), new Date(R)) < B && (B = Vt(new Date(Ge), new Date(R)), I = Y), ma(new Date(R), new Date(Jr)) && pa(new Date(R), new Date(Ge)) && (S = f[I].name);
4687
+ Vt(new Date(Ge), new Date(R)) < P && (P = Vt(new Date(Ge), new Date(R)), H = Y), ma(new Date(R), new Date(Jr)) && pa(new Date(R), new Date(Ge)) && (S = f[H].name);
4688
4688
  }), S;
4689
4689
  }, kr = (f) => {
4690
4690
  if (L = localStorage.getItem("searchedGamesWds_casino"), L ? L = L.split(",") : L = [], L.indexOf(f) === -1) {
@@ -4692,9 +4692,9 @@ function Ea(e, t, r) {
4692
4692
  L.unshift(f), S = L.join(","), localStorage.setItem("searchedGamesWds_casino", S);
4693
4693
  }
4694
4694
  }, Ee = () => {
4695
- r(14, C = ""), r(16, M = !0), r(18, W = !1), r(13, E = []), r(17, fe = !1), gt(fe);
4695
+ r(14, I = ""), r(16, M = !0), r(18, W = !1), r(13, E = []), r(17, fe = !1), gt(fe);
4696
4696
  }, dt = () => {
4697
- r(14, C = ""), w.focus();
4697
+ r(14, I = ""), w.focus();
4698
4698
  }, gt = (f) => {
4699
4699
  window.postMessage(
4700
4700
  {
@@ -4706,10 +4706,10 @@ function Ea(e, t, r) {
4706
4706
  }, jr = () => {
4707
4707
  Yi(l);
4708
4708
  }, Vr = fa(async () => {
4709
- if (C.length >= 2) {
4710
- const f = new URL(`${i}/v1/casino/games`);
4711
- f.searchParams.append("datasource", a), f.searchParams.append("expand", "vendor"), f.searchParams.append("platform", st(j)), f.searchParams.append("language", l), f.searchParams.append("pagination", "offset=0,limit=30"), f.searchParams.append("filter", `name=${C}`), Mr(f).then((S) => {
4712
- r(13, E = S.items.map((B) => (B.isFavorite = pt(B.id), B)));
4709
+ if (I.length >= 2) {
4710
+ const f = new URL(`${i}/v1/casino/games`), S = I.trim().split(/[\s,.]+/).filter(Boolean);
4711
+ f.searchParams.append("datasource", a), f.searchParams.append("expand", "vendor"), f.searchParams.append("platform", st(j)), f.searchParams.append("language", l), f.searchParams.append("pagination", "offset=0,limit=30"), f.searchParams.append("filter", S.map((P) => `name=${P}`).join(",")), Mr(f).then((P) => {
4712
+ r(13, E = P.items.map((H) => (H.isFavorite = pt(H.id), H)));
4713
4713
  });
4714
4714
  } else
4715
4715
  M || mt();
@@ -4718,7 +4718,7 @@ function Ea(e, t, r) {
4718
4718
  window.removeEventListener("message", ft);
4719
4719
  }));
4720
4720
  function zr() {
4721
- C = this.value, r(14, C);
4721
+ I = this.value, r(14, I);
4722
4722
  }
4723
4723
  function Wr(f) {
4724
4724
  yt[f ? "unshift" : "push"](() => {
@@ -4732,7 +4732,7 @@ function Ea(e, t, r) {
4732
4732
  });
4733
4733
  }
4734
4734
  return e.$$set = (f) => {
4735
- "endpoint" in f && r(0, i = f.endpoint), "datasource" in f && r(29, a = f.datasource), "session" in f && r(30, o = f.session), "userid" in f && r(31, s = f.userid), "lang" in f && r(1, l = f.lang), "clientstyling" in f && r(2, h = f.clientstyling), "clientstylingurl" in f && r(3, u = f.clientstylingurl), "integratedgameframedesktop" in f && r(4, c = f.integratedgameframedesktop), "integratedgameframemobile" in f && r(5, m = f.integratedgameframemobile), "showgamename" in f && r(6, p = f.showgamename), "gamepagemodalurl" in f && r(7, d = f.gamepagemodalurl), "translationurl" in f && r(32, y = f.translationurl), "showfavorites" in f && r(8, A = f.showfavorites), "cancelbutton" in f && r(9, U = f.cancelbutton), "notfoundicon" in f && r(10, k = f.notfoundicon), "mbsource" in f && r(11, O = f.mbsource);
4735
+ "endpoint" in f && r(0, i = f.endpoint), "datasource" in f && r(29, a = f.datasource), "session" in f && r(30, o = f.session), "userid" in f && r(31, s = f.userid), "lang" in f && r(1, l = f.lang), "clientstyling" in f && r(2, h = f.clientstyling), "clientstylingurl" in f && r(3, u = f.clientstylingurl), "integratedgameframedesktop" in f && r(4, c = f.integratedgameframedesktop), "integratedgameframemobile" in f && r(5, m = f.integratedgameframemobile), "showgamename" in f && r(6, p = f.showgamename), "gamepagemodalurl" in f && r(7, d = f.gamepagemodalurl), "translationurl" in f && r(32, y = f.translationurl), "showfavorites" in f && r(8, C = f.showfavorites), "cancelbutton" in f && r(9, U = f.cancelbutton), "notfoundicon" in f && r(10, k = f.notfoundicon), "mbsource" in f && r(11, O = f.mbsource);
4736
4736
  }, e.$$.update = () => {
4737
4737
  e.$$.dirty[0] & /*lang*/
4738
4738
  2 && l && jr(), e.$$.dirty[1] & /*translationurl*/
@@ -4740,7 +4740,7 @@ function Ea(e, t, r) {
4740
4740
  1073741824 | e.$$.dirty[1] & /*userid*/
4741
4741
  1 && o && s && Fr(), e.$$.dirty[0] & /*showfavorites*/
4742
4742
  256 | e.$$.dirty[1] & /*isLoggedIn*/
4743
- 4 && A && ye && Gr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4743
+ 4 && C && ye && Gr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4744
4744
  4100 && h && Z && on(Z, h), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4745
4745
  4104 && u && Z && sn(Z, u), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
4746
4746
  6144 && Z && un(Z, `${O}.Style`, Rr);
@@ -4753,13 +4753,13 @@ function Ea(e, t, r) {
4753
4753
  m,
4754
4754
  p,
4755
4755
  d,
4756
- A,
4756
+ C,
4757
4757
  U,
4758
4758
  k,
4759
4759
  O,
4760
4760
  Z,
4761
4761
  E,
4762
- C,
4762
+ I,
4763
4763
  w,
4764
4764
  M,
4765
4765
  fe,