@adstore/templates 2.16.1 → 2.16.2

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.
@@ -3439,26 +3439,26 @@ const zf = (t) => {
3439
3439
  onClick: e
3440
3440
  };
3441
3441
  }, dm = (t, n) => {
3442
- var c;
3442
+ var c, i;
3443
3443
  const e = (c = n == null ? void 0 : n.root) == null ? void 0 : c.orderControl, o = e.type === "spadsRating", {
3444
3444
  data: r
3445
3445
  } = qt(`${t}/bookmaker/rating`, {
3446
3446
  method: "GET",
3447
3447
  params: {
3448
3448
  slug: e.rating,
3449
- location: e.location
3449
+ location: (i = e.location) == null ? void 0 : i.toLowerCase()
3450
3450
  },
3451
3451
  pause: !t || !o || !e.location || !e.rating
3452
3452
  });
3453
3453
  return {
3454
3454
  children: xt(() => {
3455
- var l, _;
3456
- const i = r != null ? r : [];
3457
- return o ? ((l = n == null ? void 0 : n.children) != null ? l : []).sort((d, u) => {
3458
- var b, g;
3459
- const p = i.indexOf((b = d.root) == null ? void 0 : b.connectorBookmakerSlug), m = i.indexOf((g = u.root) == null ? void 0 : g.connectorBookmakerSlug);
3460
- return (p === -1 ? 1 / 0 : p) - (m === -1 ? 1 / 0 : m);
3461
- }) : (_ = n == null ? void 0 : n.children) != null ? _ : [];
3455
+ var _, d;
3456
+ const l = r != null ? r : [];
3457
+ return o ? ((_ = n == null ? void 0 : n.children) != null ? _ : []).sort((u, p) => {
3458
+ var g, C;
3459
+ const m = l.indexOf((g = u.root) == null ? void 0 : g.connectorBookmakerSlug), b = l.indexOf((C = p.root) == null ? void 0 : C.connectorBookmakerSlug);
3460
+ return (m === -1 ? 1 / 0 : m) - (b === -1 ? 1 / 0 : b);
3461
+ }) : (d = n == null ? void 0 : n.children) != null ? d : [];
3462
3462
  }, [r, n])
3463
3463
  };
3464
3464
  }, um = Qt(({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adstore/templates",
3
3
  "private": false,
4
- "version": "2.16.1",
4
+ "version": "2.16.2",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"