@adstore/templates 2.18.10 → 2.18.11

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 (2) hide show
  1. package/dist/templates.js.js +316 -313
  2. package/package.json +1 -1
@@ -2,14 +2,14 @@ var nr = Object.defineProperty, or = Object.defineProperties;
2
2
  var rr = Object.getOwnPropertyDescriptors;
3
3
  var we = Object.getOwnPropertySymbols;
4
4
  var hn = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable;
5
- var mn = (t, n, e) => n in t ? nr(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, $ = (t, n) => {
5
+ var mn = (t, n, e) => n in t ? nr(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, C = (t, n) => {
6
6
  for (var e in n || (n = {}))
7
7
  hn.call(n, e) && mn(t, e, n[e]);
8
8
  if (we)
9
9
  for (var e of we(n))
10
10
  vn.call(n, e) && mn(t, e, n[e]);
11
11
  return t;
12
- }, M = (t, n) => or(t, rr(n));
12
+ }, T = (t, n) => or(t, rr(n));
13
13
  var Fe = (t, n) => {
14
14
  var e = {};
15
15
  for (var o in t)
@@ -1060,7 +1060,7 @@ const Ft = (t, n, e) => Array.isArray(t) ? t.map((o, r) => {
1060
1060
  slug: (t == null ? void 0 : t.slug) || null,
1061
1061
  sportSlug: (t == null ? void 0 : t.sport_slug) || null,
1062
1062
  matchDate: (t == null ? void 0 : t.match_date) || null,
1063
- teams: $({}, (t == null ? void 0 : t.teams) || {
1063
+ teams: C({}, (t == null ? void 0 : t.teams) || {
1064
1064
  0: eo(),
1065
1065
  1: eo()
1066
1066
  }),
@@ -1078,7 +1078,7 @@ const Ft = (t, n, e) => Array.isArray(t) ? t.map((o, r) => {
1078
1078
  return o.replace(i, l != null ? l : "");
1079
1079
  }, t) : t, hd = (t = 300, n) => new Promise((e) => setTimeout(() => e(n), t)), vd = (t) => !t && t == null, W = (t) => !vd(t), no = (t) => typeof t != "object" && typeof t != "function" || t === null, _n = (t) => typeof t == "object" && !Array.isArray(t) && W(t), yd = (t) => t.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (n, e) => (e ? "-" : "") + n.toLowerCase()), Ee = (...t) => t.reduce((n, e) => (n[e] = e, n), {}), Vt = (t, ...n) => n.reduce((e, o) => (e[o] = t[o], e), {});
1080
1080
  function Ot(t, ...n) {
1081
- const e = $({}, t);
1081
+ const e = C({}, t);
1082
1082
  return n.forEach((o) => {
1083
1083
  delete e[o];
1084
1084
  }), e;
@@ -1195,7 +1195,7 @@ const Zo = ar(), Ht = ({
1195
1195
  }
1196
1196
  return sr(a(Ht, {
1197
1197
  value: r,
1198
- children: ir(t, $({
1198
+ children: ir(t, C({
1199
1199
  ref: o,
1200
1200
  id: e
1201
1201
  }, s))
@@ -1203,7 +1203,7 @@ const Zo = ar(), Ht = ({
1203
1203
  }), Z = () => dr(Zo), Zd = (t = {}, n) => typeof t == "object" && W(t) && n.some((e) => e in t), Jd = (t, n, e = qt) => t && Ft(t, (o, r) => {
1204
1204
  if (Zd(r, Object.keys(e))) {
1205
1205
  const s = r[n];
1206
- return s && "parent" in s && W(s.parent) ? $($({}, r[s.parent]), Ot(s, "parent")) : s;
1206
+ return s && "parent" in s && W(s.parent) ? C(C({}, r[s.parent]), Ot(s, "parent")) : s;
1207
1207
  }
1208
1208
  return r;
1209
1209
  }), Dt = (t, n, e = qt) => Jd(t, n, e), Pt = ({
@@ -1214,7 +1214,7 @@ const Zo = ar(), Ht = ({
1214
1214
  }) => {
1215
1215
  const [r, s] = mt("desktop"), l = (i) => {
1216
1216
  var p;
1217
- const _ = i.getBoundingClientRect().width || 0, u = Object.entries($({}, o)).sort(([d, g], [h, m]) => g - m), c = ((p = u.find(([d, g], h) => {
1217
+ const _ = i.getBoundingClientRect().width || 0, u = Object.entries(C({}, o)).sort(([d, g], [h, m]) => g - m), c = ((p = u.find(([d, g], h) => {
1218
1218
  const [m, y] = u[h + 1] || [];
1219
1219
  return _ >= g && _ < y;
1220
1220
  })) == null ? void 0 : p[0]) || u[u.length - 1][0] || "desktop";
@@ -1247,7 +1247,7 @@ const Zo = ar(), Ht = ({
1247
1247
  l && (n.color = ro(`rgb(${l.r}, ${l.g}, ${l.b})`, +n.colorOpacity / 100));
1248
1248
  }
1249
1249
  return r === "fontFamily" && /auto/i.test(s) && (n.fontFamily = eu), r === "isBold" && (n.fontWeight = s ? "bold" : "initial"), r === "weight" && W(s) && (n.fontWeight = s), r === "isItalic" && (n.fontStyle = s ? "italic" : "initial"), r === "isThrough" && (n.textDecoration = s ? "line-through" : "initial"), n;
1250
- }, t), ou = (t) => typeof t == "object" && !Array.isArray(t) && "parent" in t, G = (t) => W(t) ? Object.entries(t).reduce((n, [e, o]) => (n[e] = ou(o) ? Jo($({}, t[e])) : o, n), {}) : t, ru = (t) => t in document.createElement("div").style || t.startsWith("--"), au = (t) => `<span style="${t}">$1</span>`, E = (s) => {
1250
+ }, t), ou = (t) => typeof t == "object" && !Array.isArray(t) && "parent" in t, G = (t) => W(t) ? Object.entries(t).reduce((n, [e, o]) => (n[e] = ou(o) ? Jo(C({}, t[e])) : o, n), {}) : t, ru = (t) => t in document.createElement("div").style || t.startsWith("--"), au = (t) => `<span style="${t}">$1</span>`, E = (s) => {
1251
1251
  var l = s, {
1252
1252
  children: t,
1253
1253
  typography: n,
@@ -1268,8 +1268,8 @@ const Zo = ar(), Ht = ({
1268
1268
  ru(p) && (c += `${yd(p)}: ${d}; `);
1269
1269
  }), c;
1270
1270
  }, [e]), _ = (u = t == null ? void 0 : t.replace(/script|\n/g, "")) == null ? void 0 : u.replace(/{{(.*?)}}/g, o(i));
1271
- return a("div", M($({}, r), {
1272
- style: $($({}, n), r.style || {}),
1271
+ return a("div", T(C({}, r), {
1272
+ style: C(C({}, n), r.style || {}),
1273
1273
  dangerouslySetInnerHTML: {
1274
1274
  __html: _
1275
1275
  }
@@ -1311,7 +1311,7 @@ const Zo = ar(), Ht = ({
1311
1311
  wiggle: `${t.wiggle} 2s linear infinite`,
1312
1312
  gradient: `${t.gradient} 3s ease infinite`
1313
1313
  }), Xo = (t, n) => {
1314
- var c, p, d, g, h, m, y, f, N, S, I, D, T;
1314
+ var c, p, d, g, h, m, y, f, S, O, I, D, k;
1315
1315
  const e = su(n), o = G(t), r = (c = o == null ? void 0 : o.icon) == null ? void 0 : c.hasIcon, s = {
1316
1316
  left: `${+(((p = t == null ? void 0 : t.container) == null ? void 0 : p.left) || 0) * -1 + 8}px`,
1317
1317
  backgroundColor: (d = o == null ? void 0 : o.container) == null ? void 0 : d.backgroundColor,
@@ -1323,10 +1323,10 @@ const Zo = ar(), Ht = ({
1323
1323
  borderLeftStyle: "solid"
1324
1324
  }, l = {
1325
1325
  left: (f = o == null ? void 0 : o.container) == null ? void 0 : f.left
1326
- }, i = (((N = o == null ? void 0 : o.icon) == null ? void 0 : N.animations) || []).map((q) => e[q]).join(", "), _ = W((S = o == null ? void 0 : o.icon) == null ? void 0 : S.gradientColor) && ((I = o == null ? void 0 : o.icon) != null && I.animations.includes("gradient")) ? {
1327
- background: `linear-gradient(-90deg, ${(D = o.icon) == null ? void 0 : D.backgroundColor} 0%, ${(T = o == null ? void 0 : o.icon) == null ? void 0 : T.gradientColor} 100%) 0% 0% / 400% 400%`,
1326
+ }, i = (((S = o == null ? void 0 : o.icon) == null ? void 0 : S.animations) || []).map((q) => e[q]).join(", "), _ = W((O = o == null ? void 0 : o.icon) == null ? void 0 : O.gradientColor) && ((I = o == null ? void 0 : o.icon) != null && I.animations.includes("gradient")) ? {
1327
+ background: `linear-gradient(-90deg, ${(D = o.icon) == null ? void 0 : D.backgroundColor} 0%, ${(k = o == null ? void 0 : o.icon) == null ? void 0 : k.gradientColor} 100%) 0% 0% / 400% 400%`,
1328
1328
  backgroundSize: "400% 400%"
1329
- } : o == null ? void 0 : o.icon, u = $(M($({}, (o == null ? void 0 : o.icon) || {}), {
1329
+ } : o == null ? void 0 : o.icon, u = C(T(C({}, (o == null ? void 0 : o.icon) || {}), {
1330
1330
  animation: i
1331
1331
  }), _);
1332
1332
  return {
@@ -1361,7 +1361,7 @@ const Zo = ar(), Ht = ({
1361
1361
  onClickClose: r,
1362
1362
  onClickIcon: s
1363
1363
  }) => {
1364
- var J, x, k, b, w, C, O, L, R, H, j, P;
1364
+ var J, x, w, $, M, b, N, L, R, H, j, P;
1365
1365
  const l = K(null), [i, _] = Ce(), u = Z(), c = Pt({
1366
1366
  targetRef: l,
1367
1367
  id: t
@@ -1377,9 +1377,9 @@ const Zo = ar(), Ht = ({
1377
1377
  gradient: V.gradient
1378
1378
  });
1379
1379
  It(p);
1380
- const f = !!(d.legal.buttonHideText && ((J = d.legal.buttonHideText) == null ? void 0 : J.length) > 0), N = M($({}, Ot(d == null ? void 0 : d.container, "left")), {
1380
+ const f = !!(d.legal.buttonHideText && ((J = d.legal.buttonHideText) == null ? void 0 : J.length) > 0), S = T(C({}, Ot(d == null ? void 0 : d.container, "left")), {
1381
1381
  paddingBottom: (x = d == null ? void 0 : d.legal) != null && x.hidden ? 12 : 4
1382
- }), S = {
1382
+ }), O = {
1383
1383
  paddingTop: 5,
1384
1384
  paddingRight: 0,
1385
1385
  paddingBottom: 2,
@@ -1389,7 +1389,7 @@ const Zo = ar(), Ht = ({
1389
1389
  paddingRight: 10,
1390
1390
  paddingBottom: 7,
1391
1391
  paddingLeft: 10
1392
- }, D = v(d, "legal.isSlideMode", !1), T = v(d, "legal.slideDuration", 1e3), q = v(d, "legal.slideDelay", 1e3);
1392
+ }, D = v(d, "legal.isSlideMode", !1), k = v(d, "legal.slideDuration", 1e3), q = v(d, "legal.slideDelay", 1e3);
1393
1393
  return a("div", {
1394
1394
  className: A(V.root, {
1395
1395
  [V.legalOpen]: i,
@@ -1414,16 +1414,16 @@ const Zo = ar(), Ht = ({
1414
1414
  style: y
1415
1415
  }), a("div", {
1416
1416
  className: V.close,
1417
- style: M($({}, gn(d == null ? void 0 : d.close)), {
1418
- backgroundColor: (k = d == null ? void 0 : d.close) == null ? void 0 : k.color
1417
+ style: T(C({}, gn(d == null ? void 0 : d.close)), {
1418
+ backgroundColor: (w = d == null ? void 0 : d.close) == null ? void 0 : w.color
1419
1419
  }),
1420
1420
  onClick: r,
1421
1421
  children: a(Kt, {})
1422
1422
  }), a("div", {
1423
1423
  className: A(V.container, e == null ? void 0 : e.container),
1424
- style: N,
1424
+ style: S,
1425
1425
  children: [a("a", {
1426
- href: (b = d == null ? void 0 : d.root) == null ? void 0 : b.offer,
1426
+ href: ($ = d == null ? void 0 : d.root) == null ? void 0 : $.offer,
1427
1427
  style: {
1428
1428
  opacity: i ? 0 : 1
1429
1429
  },
@@ -1438,9 +1438,9 @@ const Zo = ar(), Ht = ({
1438
1438
  }), a(E, {
1439
1439
  className: V.text,
1440
1440
  style: d == null ? void 0 : d.text,
1441
- typography: (w = d.text) == null ? void 0 : w.typography,
1442
- accentTypography: (C = d.text) == null ? void 0 : C.accentTypography,
1443
- children: (O = d == null ? void 0 : d.text) == null ? void 0 : O.children
1441
+ typography: (M = d.text) == null ? void 0 : M.typography,
1442
+ accentTypography: (b = d.text) == null ? void 0 : b.accentTypography,
1443
+ children: (N = d == null ? void 0 : d.text) == null ? void 0 : N.children
1444
1444
  })]
1445
1445
  }), a("div", {
1446
1446
  className: A(V.button, {
@@ -1451,9 +1451,9 @@ const Zo = ar(), Ht = ({
1451
1451
  })]
1452
1452
  }), D ? a("div", {
1453
1453
  className: V.slideLegal,
1454
- style: M($($({}, d == null ? void 0 : d.legal), I), {
1454
+ style: T(C(C({}, d == null ? void 0 : d.legal), I), {
1455
1455
  animationName: V["fade-in-out"],
1456
- animationDuration: `${T}ms`,
1456
+ animationDuration: `${k}ms`,
1457
1457
  animationDelay: `${q}ms`
1458
1458
  }),
1459
1459
  children: a("div", {
@@ -1465,7 +1465,7 @@ const Zo = ar(), Ht = ({
1465
1465
  className: V.legalGap
1466
1466
  }), a("div", {
1467
1467
  className: V.legal,
1468
- style: $($({}, d == null ? void 0 : d.legal), i ? I : S),
1468
+ style: C(C({}, d == null ? void 0 : d.legal), i ? I : O),
1469
1469
  children: [a("div", {
1470
1470
  className: V.legalText,
1471
1471
  children: (H = d == null ? void 0 : d.legal) == null ? void 0 : H.children
@@ -1570,7 +1570,7 @@ const Zo = ar(), Ht = ({
1570
1570
  onClickIcon: r,
1571
1571
  onClickClose: s
1572
1572
  }) => {
1573
- var N, S, I;
1573
+ var S, O, I;
1574
1574
  const l = K(null), i = Z(), _ = Pt({
1575
1575
  targetRef: l,
1576
1576
  id: t
@@ -1586,7 +1586,7 @@ const Zo = ar(), Ht = ({
1586
1586
  pulse: Q.pulse,
1587
1587
  wiggle: Q.wiggle,
1588
1588
  gradient: Q.gradient
1589
- }), m = (N = c == null ? void 0 : c.title) == null ? void 0 : N.hasIcon, y = Vt(c == null ? void 0 : c.title, ...so), f = Ot(c == null ? void 0 : c.title, ...so);
1589
+ }), m = (S = c == null ? void 0 : c.title) == null ? void 0 : S.hasIcon, y = Vt(c == null ? void 0 : c.title, ...so), f = Ot(c == null ? void 0 : c.title, ...so);
1590
1590
  return a("div", {
1591
1591
  ref: l,
1592
1592
  className: A(Q.root, {
@@ -1626,7 +1626,7 @@ const Zo = ar(), Ht = ({
1626
1626
  }), a("div", {
1627
1627
  className: Q.headTitle,
1628
1628
  style: f,
1629
- children: (S = c.title) == null ? void 0 : S.children
1629
+ children: (O = c.title) == null ? void 0 : O.children
1630
1630
  }), a("div", {
1631
1631
  className: Q.close,
1632
1632
  style: gn(c == null ? void 0 : c.close),
@@ -1638,7 +1638,7 @@ const Zo = ar(), Ht = ({
1638
1638
  children: (c.children || []).map((D) => a(Ht, {
1639
1639
  value: D,
1640
1640
  children: a(Pu, {
1641
- onClick: (T) => o(T)
1641
+ onClick: (k) => o(k)
1642
1642
  })
1643
1643
  }))
1644
1644
  }), a("div", {
@@ -1809,19 +1809,19 @@ const gp = ee(({
1809
1809
  id: t,
1810
1810
  className: n
1811
1811
  }, e) => {
1812
- var O, L, R, H, j, P, lt, ot;
1812
+ var N, L, R, H, j, P, lt, ot;
1813
1813
  const [o, r] = mt(1 / 0), s = K(null), l = K(null), i = Pt({
1814
1814
  targetRef: s,
1815
1815
  id: t
1816
1816
  }), _ = Z(), u = Dt(_, i);
1817
- It(u), u && (Wt(u, "button.percent_width", (O = u == null ? void 0 : u.button) == null ? void 0 : O.width), Wt(u, "legal.percent_width", (L = u == null ? void 0 : u.legal) == null ? void 0 : L.width));
1817
+ It(u), u && (Wt(u, "button.percent_width", (N = u == null ? void 0 : u.button) == null ? void 0 : N.width), Wt(u, "legal.percent_width", (L = u == null ? void 0 : u.legal) == null ? void 0 : L.width));
1818
1818
  const c = G(u), p = v(c, "root.delay", 0), {
1819
1819
  isOpen: d,
1820
1820
  isReady: g,
1821
1821
  setIsReady: h,
1822
1822
  clickHide: m,
1823
1823
  click: y
1824
- } = un(e, p), f = v(c, "close.variant", "default"), N = v(c, "close.radius", 21), S = v(c, "close.colorDirection", "default"), I = v(c, "close.timeoutLock", !1), D = f === "timer" ? o <= 0 : !0, T = f === "timer" && I && o > 0 ? "div" : "a";
1824
+ } = un(e, p), f = v(c, "close.variant", "default"), S = v(c, "close.radius", 21), O = v(c, "close.colorDirection", "default"), I = v(c, "close.timeoutLock", !1), D = f === "timer" ? o <= 0 : !0, k = f === "timer" && I && o > 0 ? "div" : "a";
1825
1825
  z(() => {
1826
1826
  const rt = l.current;
1827
1827
  if (!rt)
@@ -1837,11 +1837,11 @@ const gp = ee(({
1837
1837
  }, [c]);
1838
1838
  const q = {
1839
1839
  alignItems: jt((R = c.root) == null ? void 0 : R.align)
1840
- }, J = M($({}, c == null ? void 0 : c.button), {
1840
+ }, J = T(C({}, c == null ? void 0 : c.button), {
1841
1841
  justifyContent: jt((H = c.root) == null ? void 0 : H.textAlign)
1842
- }), x = M($({}, c == null ? void 0 : c.legal), {
1842
+ }), x = T(C({}, c == null ? void 0 : c.legal), {
1843
1843
  justifyContent: jt((j = c.root) == null ? void 0 : j.textAlign)
1844
- }), k = (P = c.root) == null ? void 0 : P.corner, b = Ot(c.root, ...ao, ...Tt), w = Vt(c.root, ...ao), C = d && g;
1844
+ }), w = (P = c.root) == null ? void 0 : P.corner, $ = Ot(c.root, ...ao, ...Tt), M = Vt(c.root, ...ao), b = d && g;
1845
1845
  return a("div", {
1846
1846
  className: A(ut.root, n, {
1847
1847
  [ut.desktop]: i === "desktop",
@@ -1850,7 +1850,7 @@ const gp = ee(({
1850
1850
  }),
1851
1851
  ref: s,
1852
1852
  style: {
1853
- display: C ? "flex" : "none"
1853
+ display: b ? "flex" : "none"
1854
1854
  },
1855
1855
  children: [a("div", {
1856
1856
  className: ut.overlay,
@@ -1858,12 +1858,12 @@ const gp = ee(({
1858
1858
  onClick: D && m
1859
1859
  }), a("div", {
1860
1860
  className: ut.wrapper,
1861
- children: [C && a(ve, {
1861
+ children: [b && a(ve, {
1862
1862
  children: f === "default" ? a("div", {
1863
1863
  className: ut.close,
1864
- style: M($({}, c.close), {
1865
- borderBottomLeftRadius: `${k}px`,
1866
- borderTopRightRadius: `${k}px`
1864
+ style: T(C({}, c.close), {
1865
+ borderBottomLeftRadius: `${w}px`,
1866
+ borderTopRightRadius: `${w}px`
1867
1867
  }),
1868
1868
  onClick: m,
1869
1869
  children: a(Kt, {
@@ -1874,8 +1874,8 @@ const gp = ee(({
1874
1874
  className: ut.closeTimer,
1875
1875
  children: a(pn, {
1876
1876
  timeout: v(c, "close.timeout"),
1877
- colorDirection: S,
1878
- radius: N,
1877
+ colorDirection: O,
1878
+ radius: S,
1879
1879
  onClick: m,
1880
1880
  onChange: r
1881
1881
  })
@@ -1884,19 +1884,19 @@ const gp = ee(({
1884
1884
  className: ut.promotion,
1885
1885
  style: c.promotion,
1886
1886
  children: (lt = c.promotion) == null ? void 0 : lt.children
1887
- }), a(T, {
1887
+ }), a(k, {
1888
1888
  href: (ot = c.root) == null ? void 0 : ot.offer,
1889
1889
  target: "_blank",
1890
1890
  rel: "nofollow noopener noreferrer",
1891
1891
  className: ut.content,
1892
- style: b,
1893
- onClick: () => T === "a" && y(c.id),
1892
+ style: $,
1893
+ onClick: () => k === "a" && y(c.id),
1894
1894
  children: [a("img", {
1895
1895
  ref: l,
1896
1896
  className: ut.background,
1897
- src: w.imageSource,
1897
+ src: M.imageSource,
1898
1898
  alt: "",
1899
- style: w
1899
+ style: M
1900
1900
  }), a("div", {
1901
1901
  className: ut.body,
1902
1902
  style: q,
@@ -2016,7 +2016,7 @@ const gp = ee(({
2016
2016
  logo: fe.logo
2017
2017
  },
2018
2018
  onClick: n
2019
- }), Gp = M($({}, qt), {
2019
+ }), Gp = T(C({}, qt), {
2020
2020
  w375: 375,
2021
2021
  w400: 400,
2022
2022
  w480: 480,
@@ -2036,7 +2036,7 @@ const Up = {
2036
2036
  }, zp = ee(({
2037
2037
  id: t
2038
2038
  }, n) => {
2039
- var S, I;
2039
+ var O, I;
2040
2040
  const [e, o] = mt(1 / 0), r = K(null), s = Pt({
2041
2041
  targetRef: r,
2042
2042
  id: t,
@@ -2047,7 +2047,7 @@ const Up = {
2047
2047
  isOpen: c,
2048
2048
  clickHide: p,
2049
2049
  click: d
2050
- } = un(n, u, !0), g = v(_, "close.variant", "default"), h = v(_, "close.radius", 21), m = v(_, "close.colorDirection", "default"), y = v(_, "close.timeoutLock", !1), f = g === "timer" ? e <= 0 : !0, N = g === "timer" && y && e > 0 ? "div" : "a";
2050
+ } = un(n, u, !0), g = v(_, "close.variant", "default"), h = v(_, "close.radius", 21), m = v(_, "close.colorDirection", "default"), y = v(_, "close.timeoutLock", !1), f = g === "timer" ? e <= 0 : !0, S = g === "timer" && y && e > 0 ? "div" : "a";
2051
2051
  return a("div", {
2052
2052
  className: xt.root,
2053
2053
  style: {
@@ -2093,7 +2093,7 @@ const Up = {
2093
2093
  }), a(E, {
2094
2094
  className: xt.promotion,
2095
2095
  style: _.promotion,
2096
- children: (S = _.promotion) == null ? void 0 : S.children
2096
+ children: (O = _.promotion) == null ? void 0 : O.children
2097
2097
  }), a(E, {
2098
2098
  className: xt.title,
2099
2099
  style: _.title,
@@ -2101,9 +2101,9 @@ const Up = {
2101
2101
  }), a("div", {
2102
2102
  className: xt.wrapper,
2103
2103
  children: (_.children || []).map((D) => a(Ht, {
2104
- value: M($({}, D), {
2104
+ value: T(C({}, D), {
2105
2105
  device: s,
2106
- OfferTag: N
2106
+ OfferTag: S
2107
2107
  }),
2108
2108
  children: a(Vp, {
2109
2109
  className: xt.bonus,
@@ -2459,7 +2459,7 @@ const Nf = new Set(Object.keys(tr)), wt = ({
2459
2459
  return a("img", {
2460
2460
  ref: s,
2461
2461
  className: t,
2462
- style: M($({}, e), {
2462
+ style: T(C({}, e), {
2463
2463
  height: `calc(${u}px - 20%)`
2464
2464
  }),
2465
2465
  src: _
@@ -2483,9 +2483,9 @@ const Nf = new Set(Object.keys(tr)), wt = ({
2483
2483
  }) => n || t || e, Sf = ({
2484
2484
  oddFormatter: t
2485
2485
  }) => {
2486
- const n = Z(), e = G(n), o = (n == null ? void 0 : n.device) || "desktop", r = v(e, "match.sport_slug"), s = M($({}, e == null ? void 0 : e.teamALogo), {
2486
+ const n = Z(), e = G(n), o = (n == null ? void 0 : n.device) || "desktop", r = v(e, "match.sport_slug"), s = T(C({}, e == null ? void 0 : e.teamALogo), {
2487
2487
  backgroundImage: v(e, "match.teams[0].logo")
2488
- }), l = M($({}, e == null ? void 0 : e.teamBLogo), {
2488
+ }), l = T(C({}, e == null ? void 0 : e.teamBLogo), {
2489
2489
  backgroundImage: v(e, "match.teams[1].logo")
2490
2490
  }), i = v(e, "match.prediction.value");
2491
2491
  return a("div", {
@@ -2519,9 +2519,9 @@ const Nf = new Set(Object.keys(tr)), wt = ({
2519
2519
  }), a("div", {
2520
2520
  className: tt.name,
2521
2521
  style: e.teams,
2522
- children: [a(kt, M($({}, v(e, "match.teams[0]")), {
2522
+ children: [a(kt, T(C({}, v(e, "match.teams[0]")), {
2523
2523
  fallback: "Team A"
2524
- })), " - ", a(kt, M($({}, v(e, "match.teams[1]")), {
2524
+ })), " - ", a(kt, T(C({}, v(e, "match.teams[1]")), {
2525
2525
  fallback: "Team B"
2526
2526
  }))]
2527
2527
  })]
@@ -2539,7 +2539,7 @@ const Nf = new Set(Object.keys(tr)), wt = ({
2539
2539
  }), a("div", {
2540
2540
  className: tt.teamName,
2541
2541
  style: e.teams,
2542
- children: a(kt, M($({}, v(e, "match.teams[0]")), {
2542
+ children: a(kt, T(C({}, v(e, "match.teams[0]")), {
2543
2543
  fallback: "Team A"
2544
2544
  }))
2545
2545
  })]
@@ -2568,7 +2568,7 @@ const Nf = new Set(Object.keys(tr)), wt = ({
2568
2568
  }), a("div", {
2569
2569
  className: tt.teamName,
2570
2570
  style: e.teams,
2571
- children: a(kt, M($({}, v(e, "match.teams[1]")), {
2571
+ children: a(kt, T(C({}, v(e, "match.teams[1]")), {
2572
2572
  fallback: "Team B"
2573
2573
  }))
2574
2574
  })]
@@ -2607,105 +2607,105 @@ var St = {}, Kf = {
2607
2607
  (function(e, o) {
2608
2608
  t.exports = o();
2609
2609
  })(ht, function() {
2610
- var e = "millisecond", o = "second", r = "minute", s = "hour", l = "day", i = "week", _ = "month", u = "quarter", c = "year", p = "date", d = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/, g = /\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, h = function(x, k, b) {
2611
- var w = String(x);
2612
- return !w || w.length >= k ? x : "" + Array(k + 1 - w.length).join(b) + x;
2610
+ var e = "millisecond", o = "second", r = "minute", s = "hour", l = "day", i = "week", _ = "month", u = "quarter", c = "year", p = "date", d = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/, g = /\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, h = function(x, w, $) {
2611
+ var M = String(x);
2612
+ return !M || M.length >= w ? x : "" + Array(w + 1 - M.length).join($) + x;
2613
2613
  }, m = { s: h, z: function(x) {
2614
- var k = -x.utcOffset(), b = Math.abs(k), w = Math.floor(b / 60), C = b % 60;
2615
- return (k <= 0 ? "+" : "-") + h(w, 2, "0") + ":" + h(C, 2, "0");
2616
- }, m: function x(k, b) {
2617
- if (k.date() < b.date())
2618
- return -x(b, k);
2619
- var w = 12 * (b.year() - k.year()) + (b.month() - k.month()), C = k.clone().add(w, _), O = b - C < 0, L = k.clone().add(w + (O ? -1 : 1), _);
2620
- return +(-(w + (b - C) / (O ? C - L : L - C)) || 0);
2614
+ var w = -x.utcOffset(), $ = Math.abs(w), M = Math.floor($ / 60), b = $ % 60;
2615
+ return (w <= 0 ? "+" : "-") + h(M, 2, "0") + ":" + h(b, 2, "0");
2616
+ }, m: function x(w, $) {
2617
+ if (w.date() < $.date())
2618
+ return -x($, w);
2619
+ var M = 12 * ($.year() - w.year()) + ($.month() - w.month()), b = w.clone().add(M, _), N = $ - b < 0, L = w.clone().add(M + (N ? -1 : 1), _);
2620
+ return +(-(M + ($ - b) / (N ? b - L : L - b)) || 0);
2621
2621
  }, a: function(x) {
2622
2622
  return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
2623
2623
  }, p: function(x) {
2624
2624
  return { M: _, y: c, w: i, d: l, D: p, h: s, m: r, s: o, ms: e, Q: u }[x] || String(x || "").toLowerCase().replace(/s$/, "");
2625
2625
  }, u: function(x) {
2626
2626
  return x === void 0;
2627
- } }, y = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_") }, f = "en", N = {};
2628
- N[f] = y;
2629
- var S = function(x) {
2627
+ } }, y = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_") }, f = "en", S = {};
2628
+ S[f] = y;
2629
+ var O = function(x) {
2630
2630
  return x instanceof q;
2631
- }, I = function(x, k, b) {
2632
- var w;
2631
+ }, I = function(x, w, $) {
2632
+ var M;
2633
2633
  if (!x)
2634
2634
  return f;
2635
2635
  if (typeof x == "string")
2636
- N[x] && (w = x), k && (N[x] = k, w = x);
2636
+ S[x] && (M = x), w && (S[x] = w, M = x);
2637
2637
  else {
2638
- var C = x.name;
2639
- N[C] = x, w = C;
2638
+ var b = x.name;
2639
+ S[b] = x, M = b;
2640
2640
  }
2641
- return !b && w && (f = w), w || !b && f;
2642
- }, D = function(x, k) {
2643
- if (S(x))
2641
+ return !$ && M && (f = M), M || !$ && f;
2642
+ }, D = function(x, w) {
2643
+ if (O(x))
2644
2644
  return x.clone();
2645
- var b = typeof k == "object" ? k : {};
2646
- return b.date = x, b.args = arguments, new q(b);
2647
- }, T = m;
2648
- T.l = I, T.i = S, T.w = function(x, k) {
2649
- return D(x, { locale: k.$L, utc: k.$u, $offset: k.$offset });
2645
+ var $ = typeof w == "object" ? w : {};
2646
+ return $.date = x, $.args = arguments, new q($);
2647
+ }, k = m;
2648
+ k.l = I, k.i = O, k.w = function(x, w) {
2649
+ return D(x, { locale: w.$L, utc: w.$u, $offset: w.$offset });
2650
2650
  };
2651
2651
  var q = function() {
2652
- function x(b) {
2653
- this.$L = this.$L || I(b.locale, null, !0), this.parse(b);
2652
+ function x($) {
2653
+ this.$L = this.$L || I($.locale, null, !0), this.parse($);
2654
2654
  }
2655
- var k = x.prototype;
2656
- return k.parse = function(b) {
2657
- this.$d = function(w) {
2658
- var C = w.date, O = w.utc;
2659
- if (C === null)
2655
+ var w = x.prototype;
2656
+ return w.parse = function($) {
2657
+ this.$d = function(M) {
2658
+ var b = M.date, N = M.utc;
2659
+ if (b === null)
2660
2660
  return /* @__PURE__ */ new Date(NaN);
2661
- if (T.u(C))
2661
+ if (k.u(b))
2662
2662
  return /* @__PURE__ */ new Date();
2663
- if (C instanceof Date)
2664
- return new Date(C);
2665
- if (typeof C == "string" && !/Z$/i.test(C)) {
2666
- var L = C.match(d);
2663
+ if (b instanceof Date)
2664
+ return new Date(b);
2665
+ if (typeof b == "string" && !/Z$/i.test(b)) {
2666
+ var L = b.match(d);
2667
2667
  if (L) {
2668
2668
  var R = L[2] - 1 || 0, H = (L[7] || "0").substring(0, 3);
2669
- return O ? new Date(Date.UTC(L[1], R, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, H)) : new Date(L[1], R, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, H);
2669
+ return N ? new Date(Date.UTC(L[1], R, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, H)) : new Date(L[1], R, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, H);
2670
2670
  }
2671
2671
  }
2672
- return new Date(C);
2673
- }(b), this.init();
2674
- }, k.init = function() {
2675
- var b = this.$d;
2676
- this.$y = b.getFullYear(), this.$M = b.getMonth(), this.$D = b.getDate(), this.$W = b.getDay(), this.$H = b.getHours(), this.$m = b.getMinutes(), this.$s = b.getSeconds(), this.$ms = b.getMilliseconds();
2677
- }, k.$utils = function() {
2678
- return T;
2679
- }, k.isValid = function() {
2672
+ return new Date(b);
2673
+ }($), this.init();
2674
+ }, w.init = function() {
2675
+ var $ = this.$d;
2676
+ this.$y = $.getFullYear(), this.$M = $.getMonth(), this.$D = $.getDate(), this.$W = $.getDay(), this.$H = $.getHours(), this.$m = $.getMinutes(), this.$s = $.getSeconds(), this.$ms = $.getMilliseconds();
2677
+ }, w.$utils = function() {
2678
+ return k;
2679
+ }, w.isValid = function() {
2680
2680
  return this.$d.toString() !== "Invalid Date";
2681
- }, k.isSame = function(b, w) {
2682
- var C = D(b);
2683
- return this.startOf(w) <= C && C <= this.endOf(w);
2684
- }, k.isAfter = function(b, w) {
2685
- return D(b) < this.startOf(w);
2686
- }, k.isBefore = function(b, w) {
2687
- return this.endOf(w) < D(b);
2688
- }, k.$g = function(b, w, C) {
2689
- return T.u(b) ? this[w] : this.set(C, b);
2690
- }, k.unix = function() {
2681
+ }, w.isSame = function($, M) {
2682
+ var b = D($);
2683
+ return this.startOf(M) <= b && b <= this.endOf(M);
2684
+ }, w.isAfter = function($, M) {
2685
+ return D($) < this.startOf(M);
2686
+ }, w.isBefore = function($, M) {
2687
+ return this.endOf(M) < D($);
2688
+ }, w.$g = function($, M, b) {
2689
+ return k.u($) ? this[M] : this.set(b, $);
2690
+ }, w.unix = function() {
2691
2691
  return Math.floor(this.valueOf() / 1e3);
2692
- }, k.valueOf = function() {
2692
+ }, w.valueOf = function() {
2693
2693
  return this.$d.getTime();
2694
- }, k.startOf = function(b, w) {
2695
- var C = this, O = !!T.u(w) || w, L = T.p(b), R = function(vt, X) {
2696
- var ft = T.w(C.$u ? Date.UTC(C.$y, X, vt) : new Date(C.$y, X, vt), C);
2697
- return O ? ft : ft.endOf(l);
2694
+ }, w.startOf = function($, M) {
2695
+ var b = this, N = !!k.u(M) || M, L = k.p($), R = function(vt, X) {
2696
+ var ft = k.w(b.$u ? Date.UTC(b.$y, X, vt) : new Date(b.$y, X, vt), b);
2697
+ return N ? ft : ft.endOf(l);
2698
2698
  }, H = function(vt, X) {
2699
- return T.w(C.toDate()[vt].apply(C.toDate("s"), (O ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), C);
2699
+ return k.w(b.toDate()[vt].apply(b.toDate("s"), (N ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), b);
2700
2700
  }, j = this.$W, P = this.$M, lt = this.$D, ot = "set" + (this.$u ? "UTC" : "");
2701
2701
  switch (L) {
2702
2702
  case c:
2703
- return O ? R(1, 0) : R(31, 11);
2703
+ return N ? R(1, 0) : R(31, 11);
2704
2704
  case _:
2705
- return O ? R(1, P) : R(0, P + 1);
2705
+ return N ? R(1, P) : R(0, P + 1);
2706
2706
  case i:
2707
2707
  var rt = this.$locale().weekStart || 0, pt = (j < rt ? j + 7 : j) - rt;
2708
- return R(O ? lt - pt : lt + (6 - pt), P);
2708
+ return R(N ? lt - pt : lt + (6 - pt), P);
2709
2709
  case l:
2710
2710
  case p:
2711
2711
  return H(ot + "Hours", 0);
@@ -2718,89 +2718,89 @@ var St = {}, Kf = {
2718
2718
  default:
2719
2719
  return this.clone();
2720
2720
  }
2721
- }, k.endOf = function(b) {
2722
- return this.startOf(b, !1);
2723
- }, k.$set = function(b, w) {
2724
- var C, O = T.p(b), L = "set" + (this.$u ? "UTC" : ""), R = (C = {}, C[l] = L + "Date", C[p] = L + "Date", C[_] = L + "Month", C[c] = L + "FullYear", C[s] = L + "Hours", C[r] = L + "Minutes", C[o] = L + "Seconds", C[e] = L + "Milliseconds", C)[O], H = O === l ? this.$D + (w - this.$W) : w;
2725
- if (O === _ || O === c) {
2721
+ }, w.endOf = function($) {
2722
+ return this.startOf($, !1);
2723
+ }, w.$set = function($, M) {
2724
+ var b, N = k.p($), L = "set" + (this.$u ? "UTC" : ""), R = (b = {}, b[l] = L + "Date", b[p] = L + "Date", b[_] = L + "Month", b[c] = L + "FullYear", b[s] = L + "Hours", b[r] = L + "Minutes", b[o] = L + "Seconds", b[e] = L + "Milliseconds", b)[N], H = N === l ? this.$D + (M - this.$W) : M;
2725
+ if (N === _ || N === c) {
2726
2726
  var j = this.clone().set(p, 1);
2727
2727
  j.$d[R](H), j.init(), this.$d = j.set(p, Math.min(this.$D, j.daysInMonth())).$d;
2728
2728
  } else
2729
2729
  R && this.$d[R](H);
2730
2730
  return this.init(), this;
2731
- }, k.set = function(b, w) {
2732
- return this.clone().$set(b, w);
2733
- }, k.get = function(b) {
2734
- return this[T.p(b)]();
2735
- }, k.add = function(b, w) {
2736
- var C, O = this;
2737
- b = Number(b);
2738
- var L = T.p(w), R = function(P) {
2739
- var lt = D(O);
2740
- return T.w(lt.date(lt.date() + Math.round(P * b)), O);
2731
+ }, w.set = function($, M) {
2732
+ return this.clone().$set($, M);
2733
+ }, w.get = function($) {
2734
+ return this[k.p($)]();
2735
+ }, w.add = function($, M) {
2736
+ var b, N = this;
2737
+ $ = Number($);
2738
+ var L = k.p(M), R = function(P) {
2739
+ var lt = D(N);
2740
+ return k.w(lt.date(lt.date() + Math.round(P * $)), N);
2741
2741
  };
2742
2742
  if (L === _)
2743
- return this.set(_, this.$M + b);
2743
+ return this.set(_, this.$M + $);
2744
2744
  if (L === c)
2745
- return this.set(c, this.$y + b);
2745
+ return this.set(c, this.$y + $);
2746
2746
  if (L === l)
2747
2747
  return R(1);
2748
2748
  if (L === i)
2749
2749
  return R(7);
2750
- var H = (C = {}, C[r] = 6e4, C[s] = 36e5, C[o] = 1e3, C)[L] || 1, j = this.$d.getTime() + b * H;
2751
- return T.w(j, this);
2752
- }, k.subtract = function(b, w) {
2753
- return this.add(-1 * b, w);
2754
- }, k.format = function(b) {
2755
- var w = this;
2750
+ var H = (b = {}, b[r] = 6e4, b[s] = 36e5, b[o] = 1e3, b)[L] || 1, j = this.$d.getTime() + $ * H;
2751
+ return k.w(j, this);
2752
+ }, w.subtract = function($, M) {
2753
+ return this.add(-1 * $, M);
2754
+ }, w.format = function($) {
2755
+ var M = this;
2756
2756
  if (!this.isValid())
2757
2757
  return "Invalid Date";
2758
- var C = b || "YYYY-MM-DDTHH:mm:ssZ", O = T.z(this), L = this.$locale(), R = this.$H, H = this.$m, j = this.$M, P = L.weekdays, lt = L.months, ot = function(X, ft, Yt, Rt) {
2759
- return X && (X[ft] || X(w, C)) || Yt[ft].substr(0, Rt);
2758
+ var b = $ || "YYYY-MM-DDTHH:mm:ssZ", N = k.z(this), L = this.$locale(), R = this.$H, H = this.$m, j = this.$M, P = L.weekdays, lt = L.months, ot = function(X, ft, Yt, Rt) {
2759
+ return X && (X[ft] || X(M, b)) || Yt[ft].substr(0, Rt);
2760
2760
  }, rt = function(X) {
2761
- return T.s(R % 12 || 12, X, "0");
2761
+ return k.s(R % 12 || 12, X, "0");
2762
2762
  }, pt = L.meridiem || function(X, ft, Yt) {
2763
2763
  var Rt = X < 12 ? "AM" : "PM";
2764
2764
  return Yt ? Rt.toLowerCase() : Rt;
2765
- }, vt = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: j + 1, MM: T.s(j + 1, 2, "0"), MMM: ot(L.monthsShort, j, lt, 3), MMMM: ot(lt, j), D: this.$D, DD: T.s(this.$D, 2, "0"), d: String(this.$W), dd: ot(L.weekdaysMin, this.$W, P, 2), ddd: ot(L.weekdaysShort, this.$W, P, 3), dddd: P[this.$W], H: String(R), HH: T.s(R, 2, "0"), h: rt(1), hh: rt(2), a: pt(R, H, !0), A: pt(R, H, !1), m: String(H), mm: T.s(H, 2, "0"), s: String(this.$s), ss: T.s(this.$s, 2, "0"), SSS: T.s(this.$ms, 3, "0"), Z: O };
2766
- return C.replace(g, function(X, ft) {
2767
- return ft || vt[X] || O.replace(":", "");
2765
+ }, vt = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: j + 1, MM: k.s(j + 1, 2, "0"), MMM: ot(L.monthsShort, j, lt, 3), MMMM: ot(lt, j), D: this.$D, DD: k.s(this.$D, 2, "0"), d: String(this.$W), dd: ot(L.weekdaysMin, this.$W, P, 2), ddd: ot(L.weekdaysShort, this.$W, P, 3), dddd: P[this.$W], H: String(R), HH: k.s(R, 2, "0"), h: rt(1), hh: rt(2), a: pt(R, H, !0), A: pt(R, H, !1), m: String(H), mm: k.s(H, 2, "0"), s: String(this.$s), ss: k.s(this.$s, 2, "0"), SSS: k.s(this.$ms, 3, "0"), Z: N };
2766
+ return b.replace(g, function(X, ft) {
2767
+ return ft || vt[X] || N.replace(":", "");
2768
2768
  });
2769
- }, k.utcOffset = function() {
2769
+ }, w.utcOffset = function() {
2770
2770
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
2771
- }, k.diff = function(b, w, C) {
2772
- var O, L = T.p(w), R = D(b), H = 6e4 * (R.utcOffset() - this.utcOffset()), j = this - R, P = T.m(this, R);
2773
- return P = (O = {}, O[c] = P / 12, O[_] = P, O[u] = P / 3, O[i] = (j - H) / 6048e5, O[l] = (j - H) / 864e5, O[s] = j / 36e5, O[r] = j / 6e4, O[o] = j / 1e3, O)[L] || j, C ? P : T.a(P);
2774
- }, k.daysInMonth = function() {
2771
+ }, w.diff = function($, M, b) {
2772
+ var N, L = k.p(M), R = D($), H = 6e4 * (R.utcOffset() - this.utcOffset()), j = this - R, P = k.m(this, R);
2773
+ return P = (N = {}, N[c] = P / 12, N[_] = P, N[u] = P / 3, N[i] = (j - H) / 6048e5, N[l] = (j - H) / 864e5, N[s] = j / 36e5, N[r] = j / 6e4, N[o] = j / 1e3, N)[L] || j, b ? P : k.a(P);
2774
+ }, w.daysInMonth = function() {
2775
2775
  return this.endOf(_).$D;
2776
- }, k.$locale = function() {
2777
- return N[this.$L];
2778
- }, k.locale = function(b, w) {
2779
- if (!b)
2776
+ }, w.$locale = function() {
2777
+ return S[this.$L];
2778
+ }, w.locale = function($, M) {
2779
+ if (!$)
2780
2780
  return this.$L;
2781
- var C = this.clone(), O = I(b, w, !0);
2782
- return O && (C.$L = O), C;
2783
- }, k.clone = function() {
2784
- return T.w(this.$d, this);
2785
- }, k.toDate = function() {
2781
+ var b = this.clone(), N = I($, M, !0);
2782
+ return N && (b.$L = N), b;
2783
+ }, w.clone = function() {
2784
+ return k.w(this.$d, this);
2785
+ }, w.toDate = function() {
2786
2786
  return new Date(this.valueOf());
2787
- }, k.toJSON = function() {
2787
+ }, w.toJSON = function() {
2788
2788
  return this.isValid() ? this.toISOString() : null;
2789
- }, k.toISOString = function() {
2789
+ }, w.toISOString = function() {
2790
2790
  return this.$d.toISOString();
2791
- }, k.toString = function() {
2791
+ }, w.toString = function() {
2792
2792
  return this.$d.toUTCString();
2793
2793
  }, x;
2794
2794
  }(), J = q.prototype;
2795
2795
  return D.prototype = J, [["$ms", e], ["$s", o], ["$m", r], ["$H", s], ["$W", l], ["$M", _], ["$y", c], ["$D", p]].forEach(function(x) {
2796
- J[x[1]] = function(k) {
2797
- return this.$g(k, x[0], x[1]);
2796
+ J[x[1]] = function(w) {
2797
+ return this.$g(w, x[0], x[1]);
2798
2798
  };
2799
- }), D.extend = function(x, k) {
2800
- return x(k, q, D), D;
2801
- }, D.locale = I, D.isDayjs = S, D.unix = function(x) {
2799
+ }), D.extend = function(x, w) {
2800
+ return x(w, q, D), D;
2801
+ }, D.locale = I, D.isDayjs = O, D.unix = function(x) {
2802
2802
  return D(1e3 * x);
2803
- }, D.en = N[f], D.Ls = N, D;
2803
+ }, D.en = S[f], D.Ls = S, D;
2804
2804
  });
2805
2805
  })(Kf);
2806
2806
  const Zf = St;
@@ -2998,9 +2998,9 @@ var go = {}, rg = {
2998
2998
  const mo = (t, n = "DD.MM.YYYY", e = "en") => t ? Zf(t).locale(e).format(n) : "", ag = ({
2999
2999
  oddFormatter: t
3000
3000
  }) => {
3001
- const n = Z(), e = G(n), o = (n == null ? void 0 : n.device) || "desktop", r = M($({}, e == null ? void 0 : e.teamALogo), {
3001
+ const n = Z(), e = G(n), o = (n == null ? void 0 : n.device) || "desktop", r = T(C({}, e == null ? void 0 : e.teamALogo), {
3002
3002
  backgroundImage: v(e, "match.teams[0].logo")
3003
- }), s = M($({}, e == null ? void 0 : e.teamBLogo), {
3003
+ }), s = T(C({}, e == null ? void 0 : e.teamBLogo), {
3004
3004
  backgroundImage: v(e, "match.teams[1].logo")
3005
3005
  }), l = v(e, "match.lang_slug", "ru"), i = v(e, "match.sport_slug"), _ = mo(v(e, "match.match_date"), "HH:mm", l), u = mo(v(e, "match.match_date"), "DD MMMM", l), p = v(e, "root.predictionLength", "full") === "full" ? v(e, "match.prediction.value") : v(e, "match.prediction.value_short") || v(e, "match.prediction.value"), d = Number(v(e, "match.prediction.factor", 0)).toFixed(2);
3006
3006
  return a("div", {
@@ -3020,7 +3020,7 @@ const mo = (t, n = "DD.MM.YYYY", e = "en") => t ? Zf(t).locale(e).format(n) : ""
3020
3020
  }), a("div", {
3021
3021
  className: at.teamName,
3022
3022
  style: e.teams,
3023
- children: a(kt, M($({}, v(e, "match.teams[0]")), {
3023
+ children: a(kt, T(C({}, v(e, "match.teams[0]")), {
3024
3024
  fallback: "Team A"
3025
3025
  }))
3026
3026
  })]
@@ -3060,7 +3060,7 @@ const mo = (t, n = "DD.MM.YYYY", e = "en") => t ? Zf(t).locale(e).format(n) : ""
3060
3060
  }), a("div", {
3061
3061
  className: at.teamName,
3062
3062
  style: e.teams,
3063
- children: a(kt, M($({}, v(e, "match.teams[1]")), {
3063
+ children: a(kt, T(C({}, v(e, "match.teams[1]")), {
3064
3064
  fallback: "Team B"
3065
3065
  }))
3066
3066
  })]
@@ -3230,7 +3230,7 @@ const sg = (t) => {
3230
3230
  if (!d)
3231
3231
  return;
3232
3232
  const g = be(d), h = dn(g, p.root.customMatch, (m, [y, f]) => W(f));
3233
- return M($({}, p), {
3233
+ return T(C({}, p), {
3234
3234
  match: h
3235
3235
  });
3236
3236
  }).filter(Boolean);
@@ -3256,20 +3256,20 @@ const sg = (t) => {
3256
3256
  apiHost: m,
3257
3257
  clickHide: y,
3258
3258
  click: f
3259
- } = un(o, p, !0), N = v(c, "close.variant", "default"), S = v(c, "close.radius", 21), I = v(c, "close.colorDirection", "default"), D = v(c, "close.timeoutLock", !1), T = N === "timer" ? r <= 0 : !0, q = N === "timer" && D && r > 0 ? "div" : "a", {
3259
+ } = un(o, p, !0), S = v(c, "close.variant", "default"), O = v(c, "close.radius", 21), I = v(c, "close.colorDirection", "default"), D = v(c, "close.timeoutLock", !1), k = S === "timer" ? r <= 0 : !0, q = S === "timer" && D && r > 0 ? "div" : "a", {
3260
3260
  expressMatches: J,
3261
3261
  autoMatch: x
3262
3262
  } = ig(u, m, g ? n : void 0);
3263
3263
  g && (g.match = x);
3264
- const k = M($({}, c.root), {
3264
+ const w = T(C({}, c.root), {
3265
3265
  alignItems: jt((rt = c.root) == null ? void 0 : rt.align)
3266
- }), b = M($({}, c.content), {
3266
+ }), $ = T(C({}, c.content), {
3267
3267
  alignItems: jt((pt = c.root) == null ? void 0 : pt.align)
3268
- }), w = M($({}, c.text), {
3268
+ }), M = T(C({}, c.text), {
3269
3269
  textAlign: (vt = c.root) == null ? void 0 : vt.align
3270
- }), C = M($({}, c == null ? void 0 : c.button), {
3270
+ }), b = T(C({}, c == null ? void 0 : c.button), {
3271
3271
  justifyContent: jt((X = c.root) == null ? void 0 : X.textAlign)
3272
- }), O = M($({}, c == null ? void 0 : c.legal), {
3272
+ }), N = T(C({}, c == null ? void 0 : c.legal), {
3273
3273
  justifyContent: jt((ft = c.root) == null ? void 0 : ft.textAlign)
3274
3274
  }), L = +v(g, "root.bonusValue", 0), R = +v(g, "match.prediction.factor", 0), H = me((Yt = c.text) == null ? void 0 : Yt.children, {
3275
3275
  bonusValue: L,
@@ -3292,12 +3292,12 @@ const sg = (t) => {
3292
3292
  children: [a("div", {
3293
3293
  className: nt.overlay,
3294
3294
  style: c.overlay,
3295
- onClick: T && y
3295
+ onClick: k && y
3296
3296
  }), a("div", {
3297
3297
  className: nt.content,
3298
- children: [N === "default" ? a("div", {
3298
+ children: [S === "default" ? a("div", {
3299
3299
  className: nt.close,
3300
- style: M($({}, c.close), {
3300
+ style: T(C({}, c.close), {
3301
3301
  borderBottomLeftRadius: `${P}px`,
3302
3302
  borderTopRightRadius: `${P}px`
3303
3303
  }),
@@ -3311,7 +3311,7 @@ const sg = (t) => {
3311
3311
  children: a(pn, {
3312
3312
  timeout: v(c, "close.timeout"),
3313
3313
  colorDirection: I,
3314
- radius: S,
3314
+ radius: O,
3315
3315
  onClick: y,
3316
3316
  onChange: s
3317
3317
  })
@@ -3327,7 +3327,7 @@ const sg = (t) => {
3327
3327
  onClick: () => q === "a" && f(c.id),
3328
3328
  children: a("div", {
3329
3329
  className: nt.body,
3330
- style: k,
3330
+ style: w,
3331
3331
  children: [a("div", {
3332
3332
  className: nt.head,
3333
3333
  children: [a(E, {
@@ -3340,15 +3340,15 @@ const sg = (t) => {
3340
3340
  })]
3341
3341
  }), a("div", {
3342
3342
  className: nt.wrapper,
3343
- style: b,
3343
+ style: $,
3344
3344
  children: [(J != null ? J : []).map((ue) => a(Ht, {
3345
- value: M($({}, ue), {
3345
+ value: T(C({}, ue), {
3346
3346
  device: i
3347
3347
  }),
3348
3348
  oddFormatter: e,
3349
3349
  children: a(Sf, {})
3350
3350
  })), g && a(Ht, {
3351
- value: M($({}, g), {
3351
+ value: T(C({}, g), {
3352
3352
  device: i
3353
3353
  }),
3354
3354
  children: a(ag, {
@@ -3357,9 +3357,9 @@ const sg = (t) => {
3357
3357
  })]
3358
3358
  }), a(E, {
3359
3359
  className: nt.text,
3360
- style: w,
3361
- typography: w.typography,
3362
- accentTypography: w.accentTypography,
3360
+ style: M,
3361
+ typography: M.typography,
3362
+ accentTypography: M.accentTypography,
3363
3363
  children: j
3364
3364
  }), a("div", {
3365
3365
  className: nt.button,
@@ -3370,12 +3370,12 @@ const sg = (t) => {
3370
3370
  children: (_e = c.buttonHead) == null ? void 0 : _e.children
3371
3371
  }), a("div", {
3372
3372
  className: nt.buttonTarget,
3373
- style: C,
3373
+ style: b,
3374
3374
  children: (de = c.button) == null ? void 0 : de.children
3375
3375
  })]
3376
3376
  }), a(E, {
3377
3377
  className: nt.legal,
3378
- style: O,
3378
+ style: N,
3379
3379
  children: (dt = c.legal) == null ? void 0 : dt.children
3380
3380
  })]
3381
3381
  })
@@ -3417,7 +3417,7 @@ const sg = (t) => {
3417
3417
  apiHost: t,
3418
3418
  onClick: n
3419
3419
  }) => {
3420
- var p, d, g, h, m, y, f, N, S, I, D, T, q;
3420
+ var p, d, g, h, m, y, f, S, O, I, D, k, q;
3421
3421
  const e = Z(), o = G(e), {
3422
3422
  promotionValues: r
3423
3423
  } = $g(t), [s, l] = Ce(), i = !!((p = o.legalInfoButton) != null && p.closeText && ((g = (d = o.legalInfoButton) == null ? void 0 : d.closeText) == null ? void 0 : g.length) > 0), _ = me((h = o.rowFirst) == null ? void 0 : h.children, r, {
@@ -3444,13 +3444,13 @@ const sg = (t) => {
3444
3444
  className: yt.rowFirst,
3445
3445
  style: o == null ? void 0 : o.rowFirst,
3446
3446
  typography: o == null ? void 0 : o.rowFirst,
3447
- accentTypography: (N = o == null ? void 0 : o.rowFirst) == null ? void 0 : N.accentTypography,
3447
+ accentTypography: (S = o == null ? void 0 : o.rowFirst) == null ? void 0 : S.accentTypography,
3448
3448
  children: _
3449
3449
  }), a(E, {
3450
3450
  className: yt.rowSecond,
3451
3451
  style: o == null ? void 0 : o.rowSecond,
3452
3452
  typography: o == null ? void 0 : o.rowSecond,
3453
- accentTypography: (S = o == null ? void 0 : o.rowSecond) == null ? void 0 : S.accentTypography,
3453
+ accentTypography: (O = o == null ? void 0 : o.rowSecond) == null ? void 0 : O.accentTypography,
3454
3454
  children: u
3455
3455
  }), a("div", {
3456
3456
  className: yt.bookmaker,
@@ -3475,7 +3475,7 @@ const sg = (t) => {
3475
3475
  className: yt.legalButton,
3476
3476
  style: o.legalInfoButton,
3477
3477
  onClick: l,
3478
- children: s ? (T = o.legalInfoButton) == null ? void 0 : T.openText : (q = o.legalInfoButton) == null ? void 0 : q.closeText
3478
+ children: s ? (k = o.legalInfoButton) == null ? void 0 : k.openText : (q = o.legalInfoButton) == null ? void 0 : q.closeText
3479
3479
  })]
3480
3480
  })]
3481
3481
  });
@@ -3508,8 +3508,8 @@ const sg = (t) => {
3508
3508
  var d;
3509
3509
  const p = l != null ? l : [];
3510
3510
  return r && (s = s.sort((g, h) => {
3511
- var f, N;
3512
- const m = p.indexOf((f = g.root) == null ? void 0 : f.connectorBookmakerSlug), y = p.indexOf((N = h.root) == null ? void 0 : N.connectorBookmakerSlug);
3511
+ var f, S;
3512
+ const m = p.indexOf((f = g.root) == null ? void 0 : f.connectorBookmakerSlug), y = p.indexOf((S = h.root) == null ? void 0 : S.connectorBookmakerSlug);
3513
3513
  return (m === -1 ? 1 / 0 : m) - (y === -1 ? 1 / 0 : y);
3514
3514
  })), typeof e == "number" && (s = (d = s.filter((g) => {
3515
3515
  var h;
@@ -3622,11 +3622,11 @@ const sg = (t) => {
3622
3622
  c.push(h);
3623
3623
  else if (h.nodeType === Node.TEXT_NODE) {
3624
3624
  const f = ((m = h.textContent) == null ? void 0 : m.split(" ")) || [];
3625
- c.push(...f.filter((N) => N !== "").map((N) => [N, " "]).flat());
3625
+ c.push(...f.filter((S) => S !== "").map((S) => [S, " "]).flat());
3626
3626
  } else
3627
- (((y = h.textContent) == null ? void 0 : y.split(" ")) || []).forEach((N) => {
3628
- const S = h.cloneNode();
3629
- S.textContent = N + " ", c.push(S);
3627
+ (((y = h.textContent) == null ? void 0 : y.split(" ")) || []).forEach((S) => {
3628
+ const O = h.cloneNode();
3629
+ O.textContent = S + " ", c.push(O);
3630
3630
  });
3631
3631
  });
3632
3632
  const p = document.createElement("span");
@@ -3689,10 +3689,10 @@ const sg = (t) => {
3689
3689
  oddFormatter: t
3690
3690
  }) => {
3691
3691
  var i, _;
3692
- const n = Z(), e = G(n), o = v(e, "match.sportSlug"), r = Ot(e.root, ...Tt), s = M($({}, e.teamLogo), {
3692
+ const n = Z(), e = G(n), o = v(e, "match.sportSlug"), r = Ot(e.root, ...Tt), s = T(C({}, e.teamLogo), {
3693
3693
  backgroundImage: Qt(v(e, "match.teams[0].logo"), [120, 120]),
3694
3694
  backgroundColor: "transparent"
3695
- }), l = M($({}, e.teamLogo), {
3695
+ }), l = T(C({}, e.teamLogo), {
3696
3696
  backgroundImage: Qt(v(e, "match.teams[1].logo"), [120, 120]),
3697
3697
  backgroundColor: "transparent"
3698
3698
  });
@@ -3768,13 +3768,13 @@ const sg = (t) => {
3768
3768
  children: [a("div", {
3769
3769
  className: et.teamName,
3770
3770
  style: e.teamName,
3771
- children: a(kt, M($({}, v(e, "match.teams[0]")), {
3771
+ children: a(kt, T(C({}, v(e, "match.teams[0]")), {
3772
3772
  fallback: "Team A"
3773
3773
  }))
3774
3774
  }), a("div", {
3775
3775
  className: et.teamName,
3776
3776
  style: e.teamName,
3777
- children: a(kt, M($({}, v(e, "match.teams[1]")), {
3777
+ children: a(kt, T(C({}, v(e, "match.teams[1]")), {
3778
3778
  fallback: "Team B"
3779
3779
  }))
3780
3780
  })]
@@ -3801,10 +3801,10 @@ const sg = (t) => {
3801
3801
  oddFormatter: t
3802
3802
  }) => {
3803
3803
  var l, i;
3804
- const n = Z(), e = G(n), o = v(e, "match.sportSlug"), r = M($($({}, Vt(e.root, ...Tt)), e.teamLogo), {
3804
+ const n = Z(), e = G(n), o = v(e, "match.sportSlug"), r = T(C(C({}, Vt(e.root, ...Tt)), e.teamLogo), {
3805
3805
  backgroundColor: "transparent",
3806
3806
  backgroundImage: Qt(v(e, "match.teams[0].logo"), [120, 120])
3807
- }), s = M($($({}, Vt(e.root, ...Tt)), e.teamLogo), {
3807
+ }), s = T(C(C({}, Vt(e.root, ...Tt)), e.teamLogo), {
3808
3808
  backgroundColor: "transparent",
3809
3809
  backgroundImage: Qt(v(e, "match.teams[1].logo"), [120, 120])
3810
3810
  });
@@ -3849,13 +3849,13 @@ const sg = (t) => {
3849
3849
  children: [a("div", {
3850
3850
  className: st.teamName,
3851
3851
  style: e.teamName,
3852
- children: a(kt, M($({}, v(e, "match.teams[0]")), {
3852
+ children: a(kt, T(C({}, v(e, "match.teams[0]")), {
3853
3853
  fallback: "Team A"
3854
3854
  }))
3855
3855
  }), a("div", {
3856
3856
  className: st.teamName,
3857
3857
  style: e.teamName,
3858
- children: a(kt, M($({}, v(e, "match.teams[1]")), {
3858
+ children: a(kt, T(C({}, v(e, "match.teams[1]")), {
3859
3859
  fallback: "Team B"
3860
3860
  }))
3861
3861
  })]
@@ -3905,7 +3905,7 @@ const sg = (t) => {
3905
3905
  const o = (d) => {
3906
3906
  var g;
3907
3907
  return W(d == null ? void 0 : d.matchSlug) && ((g = d == null ? void 0 : d.matchSlug) == null ? void 0 : g.length) > 0 || (d == null ? void 0 : d.isAuto);
3908
- }, r = (t == null ? void 0 : t.children) || [], s = r.filter((d) => o(d.root.targetMatch)).map((d) => M($({}, d.root.targetMatch), {
3908
+ }, r = (t == null ? void 0 : t.children) || [], s = r.filter((d) => o(d.root.targetMatch)).map((d) => T(C({}, d.root.targetMatch), {
3909
3909
  markets: $o(d.name)
3910
3910
  })), l = s.find((d) => d.isAuto), i = Ge(s), {
3911
3911
  data: _,
@@ -3929,7 +3929,7 @@ const sg = (t) => {
3929
3929
  dependsOn: "markets",
3930
3930
  apiHost: n,
3931
3931
  pause: !l || !e,
3932
- match: M($({}, e), {
3932
+ match: T(C({}, e), {
3933
3933
  markets: l == null ? void 0 : l.markets,
3934
3934
  bookmaker: l == null ? void 0 : l.bookmaker
3935
3935
  })
@@ -3941,18 +3941,18 @@ const sg = (t) => {
3941
3941
  if ("targetMatch" in d.root) {
3942
3942
  const m = $o(d.name), y = (_ || []).find((I) => I.slug === d.root.targetMatch.matchSlug);
3943
3943
  if (((h = (g = d == null ? void 0 : d.root) == null ? void 0 : g.targetMatch) == null ? void 0 : h.isAuto) && c)
3944
- return M($({}, d), {
3944
+ return T(C({}, d), {
3945
3945
  match: be(c, {
3946
3946
  markets: m
3947
3947
  })
3948
3948
  });
3949
3949
  if (!y)
3950
3950
  return;
3951
- const N = be(y, {
3951
+ const S = be(y, {
3952
3952
  markets: m
3953
- }), S = dn(N, d.root.customMatch, (I, [D, T]) => W(T));
3954
- return M($({}, d), {
3955
- match: S
3953
+ }), O = dn(S, d.root.customMatch, (I, [D, k]) => W(k));
3954
+ return T(C({}, d), {
3955
+ match: O
3956
3956
  });
3957
3957
  }
3958
3958
  return d;
@@ -3991,7 +3991,7 @@ const sg = (t) => {
3991
3991
  rules: t,
3992
3992
  pauseAnimation: n
3993
3993
  }) => {
3994
- var i, _, u, c, p, d;
3994
+ var i, _, u, c, p, d, g;
3995
3995
  const e = ((i = t == null ? void 0 : t.button) == null ? void 0 : i.animationName) === "pulseWithOverlay", o = ((_ = t == null ? void 0 : t.button) == null ? void 0 : _.animationName) === "increase", {
3996
3996
  cloneAnimation: r,
3997
3997
  pulseAnimation: s
@@ -4008,15 +4008,17 @@ const sg = (t) => {
4008
4008
  [bt.button_clone]: r,
4009
4009
  [bt.button_pulse]: s
4010
4010
  }),
4011
- style: M($({}, t == null ? void 0 : t.button), {
4011
+ style: T(C({}, t == null ? void 0 : t.button), {
4012
4012
  animationName: l
4013
4013
  }),
4014
4014
  children: a("div", {
4015
4015
  className: bt.buttonInner,
4016
- children: [!((p = t == null ? void 0 : t.logo) != null && p.hidden) && a("div", {
4016
+ children: [!((p = t == null ? void 0 : t.logo) != null && p.hidden) && a("img", {
4017
4017
  className: bt.logo,
4018
+ src: (d = t.logo) == null ? void 0 : d.imageSource,
4019
+ alt: "cover",
4018
4020
  style: t == null ? void 0 : t.logo
4019
- }), (d = t == null ? void 0 : t.button) == null ? void 0 : d.children]
4021
+ }), (g = t == null ? void 0 : t.button) == null ? void 0 : g.children]
4020
4022
  })
4021
4023
  })
4022
4024
  });
@@ -4031,15 +4033,15 @@ const sg = (t) => {
4031
4033
  onClose: i,
4032
4034
  onClick: _
4033
4035
  }) => {
4034
- var q, J, x, k, b;
4036
+ var q, J, x, w, $, M;
4035
4037
  const u = K(null), c = Z(), p = Pt({
4036
4038
  id: t,
4037
4039
  targetRef: u
4038
4040
  }), d = Dt(c, p), g = G(d);
4039
4041
  It(d);
4040
- const h = Nm(g, l, e), m = (w, C, O) => ({
4042
+ const h = Nm(g, l, e), m = (b, N, L) => ({
4041
4043
  text: a(qg, {
4042
- isActive: C,
4044
+ isActive: N,
4043
4045
  pauseAnimation: o
4044
4046
  }),
4045
4047
  matches: a(cm, {
@@ -4048,16 +4050,16 @@ const sg = (t) => {
4048
4050
  matchesOneTwo: a(Mm, {
4049
4051
  oddFormatter: s
4050
4052
  })
4051
- })[w], y = h.filter(Boolean).map((w) => {
4052
- var C, O;
4053
- return M($({}, w), {
4054
- animationName: (C = w == null ? void 0 : w.root) == null ? void 0 : C.animationName,
4055
- animationDuration: ((O = w == null ? void 0 : w.root) == null ? void 0 : O.animationDuration) || zm
4053
+ })[b], y = h.filter(Boolean).map((b) => {
4054
+ var N, L;
4055
+ return T(C({}, b), {
4056
+ animationName: (N = b == null ? void 0 : b.root) == null ? void 0 : N.animationName,
4057
+ animationDuration: ((L = b == null ? void 0 : b.root) == null ? void 0 : L.animationDuration) || zm
4056
4058
  });
4057
4059
  }), {
4058
4060
  animatedIdx: f,
4059
- countOfTick: N
4060
- } = xm(y, o), S = G(y[f] || {}), I = (y == null ? void 0 : y.length) > 1, D = Ot(g.root, ...Tt), T = (q = S == null ? void 0 : S.root) != null && q.hasCustomBackground ? Vt((S == null ? void 0 : S.root) || {}, ...Tt) : Vt(g.root, ...Tt);
4061
+ countOfTick: S
4062
+ } = xm(y, o), O = G(y[f] || {}), I = (y == null ? void 0 : y.length) > 1, D = Ot(g.root, ...Tt), k = (q = O == null ? void 0 : O.root) != null && q.hasCustomBackground ? Vt((O == null ? void 0 : O.root) || {}, ...Tt) : Vt(g.root, ...Tt);
4061
4063
  return a("div", {
4062
4064
  ref: u,
4063
4065
  className: A(ct.root, n == null ? void 0 : n.root, {
@@ -4079,15 +4081,15 @@ const sg = (t) => {
4079
4081
  }), a("div", {
4080
4082
  className: ct.promotion,
4081
4083
  style: g.promotion,
4082
- children: (k = g.promotion) == null ? void 0 : k.children
4084
+ children: (w = g.promotion) == null ? void 0 : w.children
4083
4085
  }), a("a", {
4084
- href: (b = g.root) == null ? void 0 : b.offer,
4086
+ href: ($ = g.root) == null ? void 0 : $.offer,
4085
4087
  target: "_blank",
4086
4088
  rel: "nofollow noopener noreferrer",
4087
4089
  onClick: _,
4088
4090
  children: [a("div", {
4089
4091
  className: ct.background,
4090
- style: T
4092
+ style: k
4091
4093
  }), a("div", {
4092
4094
  className: ct.content,
4093
4095
  children: [a("div", {
@@ -4102,26 +4104,27 @@ const sg = (t) => {
4102
4104
  opacity: r && o ? 0 : 1,
4103
4105
  transition: ".3s"
4104
4106
  },
4105
- children: (y || []).map((w, C) => a("div", {
4106
- "data-active-slide": f === C,
4107
+ children: (y || []).map((b, N) => a("div", {
4108
+ "data-active-slide": f === N,
4107
4109
  className: ct.slide,
4108
- style: I && N ? {
4109
- animationName: f === C ? ct[w.animationName || "fade-in-out"] : "none",
4110
- animationDuration: `${w.animationDuration}ms`
4110
+ style: I && S ? {
4111
+ animationName: f === N ? ct[b.animationName || "fade-in-out"] : "none",
4112
+ animationDuration: `${b.animationDuration}ms`
4111
4113
  } : {
4112
- opacity: C === 0 ? 1 : 0
4114
+ opacity: N === 0 ? 1 : 0
4113
4115
  },
4114
4116
  children: a(Ht, {
4115
- value: M($({}, w), {
4117
+ value: T(C({}, b), {
4116
4118
  device: p
4117
4119
  }),
4118
- children: m(w.name, f === C)
4120
+ children: m(b.name, f === N)
4119
4121
  })
4120
- }, C))
4122
+ }, N))
4121
4123
  }), a("div", {
4122
4124
  className: ct.right,
4123
- children: [a("div", {
4125
+ children: [a("img", {
4124
4126
  className: ct.logo,
4127
+ src: (M = g.logo) == null ? void 0 : M.imageSource,
4125
4128
  style: g.logo
4126
4129
  }), a(Um, {
4127
4130
  rules: g,
@@ -4148,10 +4151,10 @@ const sg = (t) => {
4148
4151
  open: i1,
4149
4152
  legalMore: l1
4150
4153
  }, T0 = (t, n, e, o, r = $d) => {
4151
- const s = $({}, t);
4154
+ const s = C({}, t);
4152
4155
  return r.forEach((l) => {
4153
- s[n] = M($({}, s[n]), {
4154
- [l]: M($({}, s[n][l]), {
4156
+ s[n] = T(C({}, s[n]), {
4157
+ [l]: T(C({}, s[n][l]), {
4155
4158
  [e]: typeof o == "function" ? o(v(s, `${n}.${l}.${e}`)) : o
4156
4159
  })
4157
4160
  });
@@ -4160,7 +4163,7 @@ const sg = (t) => {
4160
4163
  const n = t == null ? void 0 : t.backgroundColor;
4161
4164
  if (!n)
4162
4165
  return t;
4163
- const e = M($({}, t), {
4166
+ const e = T(C({}, t), {
4164
4167
  color: n
4165
4168
  });
4166
4169
  return Ot(e, "backgroundColor");
@@ -4217,7 +4220,7 @@ const sg = (t) => {
4217
4220
  children: e.button.children
4218
4221
  }), a("div", {
4219
4222
  className: Lt.backgroundLine,
4220
- style: M($({}, gn(e.line)), {
4223
+ style: T(C({}, gn(e.line)), {
4221
4224
  left: `calc(50% - ${(u = e.line) == null ? void 0 : u.left})`
4222
4225
  }),
4223
4226
  children: a(c1, {})
@@ -4372,7 +4375,7 @@ const sg = (t) => {
4372
4375
  id: t,
4373
4376
  onClick: n
4374
4377
  }, e) => {
4375
- var c, p, d, g, h, m, y, f, N, S, I;
4378
+ var c, p, d, g, h, m, y, f, S, O, I;
4376
4379
  const [o, r] = Ce(), s = K(null), l = Z(), i = Pt({
4377
4380
  targetRef: s,
4378
4381
  id: t
@@ -4424,10 +4427,10 @@ const sg = (t) => {
4424
4427
  children: a("span", {
4425
4428
  children: (f = u.legal) == null ? void 0 : f.children
4426
4429
  })
4427
- }), ((N = u == null ? void 0 : u.legal) == null ? void 0 : N.hasButton) && a("span", {
4430
+ }), ((S = u == null ? void 0 : u.legal) == null ? void 0 : S.hasButton) && a("span", {
4428
4431
  className: gt.legalButton,
4429
4432
  onClick: r,
4430
- children: o ? (S = u.legal) == null ? void 0 : S.buttonOpenText : (I = u.legal) == null ? void 0 : I.buttonHideText
4433
+ children: o ? (O = u.legal) == null ? void 0 : O.buttonOpenText : (I = u.legal) == null ? void 0 : I.buttonHideText
4431
4434
  })]
4432
4435
  })]
4433
4436
  });
@@ -4478,7 +4481,7 @@ const sg = (t) => {
4478
4481
  return o((y = m == null ? void 0 : m.root) == null ? void 0 : y.targetMatch);
4479
4482
  }).map((m) => {
4480
4483
  var y;
4481
- return M($({}, (y = m == null ? void 0 : m.root) == null ? void 0 : y.targetMatch), {
4484
+ return T(C({}, (y = m == null ? void 0 : m.root) == null ? void 0 : y.targetMatch), {
4482
4485
  markets: Co(m.name)
4483
4486
  });
4484
4487
  }), l = s.find((m) => m.isAuto), i = Ge(s), _ = (s == null ? void 0 : s.length) > 0, {
@@ -4505,7 +4508,7 @@ const sg = (t) => {
4505
4508
  dependsOn: "prediction",
4506
4509
  apiHost: n,
4507
4510
  pause: !l,
4508
- match: M($({}, e), {
4511
+ match: T(C({}, e), {
4509
4512
  markets: l == null ? void 0 : l.markets,
4510
4513
  bookmaker: l == null ? void 0 : l.bookmaker
4511
4514
  })
@@ -4514,21 +4517,21 @@ const sg = (t) => {
4514
4517
  Ve(i, s) || c();
4515
4518
  }, [s]);
4516
4519
  const h = r.map((m) => {
4517
- var y, f, N;
4520
+ var y, f, S;
4518
4521
  if ("targetMatch" in ((y = m == null ? void 0 : m.root) != null ? y : {})) {
4519
- const S = Co(m.name), I = (u || []).find((J) => J.slug === m.root.targetMatch.matchSlug);
4520
- if (((N = (f = m == null ? void 0 : m.root) == null ? void 0 : f.targetMatch) == null ? void 0 : N.isAuto) && d)
4521
- return M($({}, m), {
4522
+ const O = Co(m.name), I = (u || []).find((J) => J.slug === m.root.targetMatch.matchSlug);
4523
+ if (((S = (f = m == null ? void 0 : m.root) == null ? void 0 : f.targetMatch) == null ? void 0 : S.isAuto) && d)
4524
+ return T(C({}, m), {
4522
4525
  match: be(d, {
4523
- markets: S
4526
+ markets: O
4524
4527
  })
4525
4528
  });
4526
4529
  if (!I)
4527
4530
  return;
4528
- const T = be(I, {
4529
- markets: S
4530
- }), q = dn(T, m.root.customMatch, (J, [x, k]) => W(k));
4531
- return M($({}, m), {
4531
+ const k = be(I, {
4532
+ markets: O
4533
+ }), q = dn(k, m.root.customMatch, (J, [x, w]) => W(w));
4534
+ return T(C({}, m), {
4532
4535
  match: q
4533
4536
  });
4534
4537
  }
@@ -4557,17 +4560,17 @@ const sg = (t) => {
4557
4560
  device: n,
4558
4561
  rootState: e
4559
4562
  }) => {
4560
- var f, N, S, I;
4561
- const o = Z(), r = G(o), s = G(e), l = v(r, "match.sportSlug"), _ = v(r, "root.predictionLength", "full") === "full" ? v(r, "match.prediction.value") : v(r, "match.prediction.value_short") || v(r, "match.prediction.value"), u = M($({}, Ot(r == null ? void 0 : r.root, ...Tt)), {
4563
+ var f, S, O, I;
4564
+ const o = Z(), r = G(o), s = G(e), l = v(r, "match.sportSlug"), _ = v(r, "root.predictionLength", "full") === "full" ? v(r, "match.prediction.value") : v(r, "match.prediction.value_short") || v(r, "match.prediction.value"), u = T(C({}, Ot(r == null ? void 0 : r.root, ...Tt)), {
4562
4565
  alignItems: jt((f = s.container) == null ? void 0 : f.align)
4563
4566
  }), c = Nt(() => {
4564
- var T;
4565
- const D = (T = {
4567
+ var k;
4568
+ const D = (k = {
4566
4569
  desktop: 14,
4567
4570
  tablet: 12
4568
- }[n]) != null ? T : 9;
4571
+ }[n]) != null ? k : 9;
4569
4572
  return [r0.mobile].includes(n) && _.length > 35 ? D - 1 : D;
4570
- }, [n, _]), p = v(r, "coef.backgroundColor", "#fff"), d = Number(v(r, "match.prediction.factor", 0)).toFixed(2), g = +v(o, "root.bonusValue", 0), h = +d, m = h === 0, y = me(m ? v(r, "text.fallbackChildren") : (N = r == null ? void 0 : r.text) == null ? void 0 : N.children, {
4573
+ }, [n, _]), p = v(r, "coef.backgroundColor", "#fff"), d = Number(v(r, "match.prediction.factor", 0)).toFixed(2), g = +v(o, "root.bonusValue", 0), h = +d, m = h === 0, y = me(m ? v(r, "text.fallbackChildren") : (S = r == null ? void 0 : r.text) == null ? void 0 : S.children, {
4571
4574
  bonusValue: g,
4572
4575
  clearResult: (g * h - g).toFixed(0),
4573
4576
  rawResult: (g * h).toFixed(0),
@@ -4603,13 +4606,13 @@ const sg = (t) => {
4603
4606
  className: Ct.teams,
4604
4607
  style: r == null ? void 0 : r.teamName,
4605
4608
  children: [a("span", {
4606
- children: a(kt, M($({}, v(r, "match.teams[0]")), {
4609
+ children: a(kt, T(C({}, v(r, "match.teams[0]")), {
4607
4610
  fallback: "Team A"
4608
4611
  }))
4609
4612
  }), a("span", {
4610
4613
  children: "—"
4611
4614
  }), a("span", {
4612
- children: a(kt, M($({}, v(r, "match.teams[1]")), {
4615
+ children: a(kt, T(C({}, v(r, "match.teams[1]")), {
4613
4616
  fallback: "Team B"
4614
4617
  }))
4615
4618
  })]
@@ -4620,7 +4623,7 @@ const sg = (t) => {
4620
4623
  },
4621
4624
  children: [a("div", {
4622
4625
  className: Ct.oddLabel,
4623
- style: M($({}, r == null ? void 0 : r.coefLabel), {
4626
+ style: T(C({}, r == null ? void 0 : r.coefLabel), {
4624
4627
  fontSize: c,
4625
4628
  lineHeight: `${c}px`
4626
4629
  }),
@@ -4636,7 +4639,7 @@ const sg = (t) => {
4636
4639
  }), a(E, {
4637
4640
  className: Ct.text,
4638
4641
  style: r == null ? void 0 : r.text,
4639
- typography: (S = r == null ? void 0 : r.text) == null ? void 0 : S.typography,
4642
+ typography: (O = r == null ? void 0 : r.text) == null ? void 0 : O.typography,
4640
4643
  accentTypography: (I = r == null ? void 0 : r.text) == null ? void 0 : I.accentTypography,
4641
4644
  children: y
4642
4645
  })]
@@ -4784,11 +4787,11 @@ const sg = (t) => {
4784
4787
  animationVariant1: e,
4785
4788
  pauseAnimation: o
4786
4789
  }) => {
4787
- var u, c, p, d, g, h, m, y, f, N;
4790
+ var u, c, p, d, g, h, m, y, f, S;
4788
4791
  const r = Gt({
4789
4792
  pause: !e,
4790
4793
  duration: _t.actionDisplayDuration,
4791
- delay: (S) => S === 0 ? 0 : _t.textDisplayDuration
4794
+ delay: (O) => O === 0 ? 0 : _t.textDisplayDuration
4792
4795
  }), s = Gt({
4793
4796
  pause: r || !e,
4794
4797
  duration: 2e3,
@@ -4841,7 +4844,7 @@ const sg = (t) => {
4841
4844
  [it.textContainer_animation]: !r && e,
4842
4845
  [it.textContainer_invertColor]: s
4843
4846
  }),
4844
- style: M($({}, t == null ? void 0 : t.text), {
4847
+ style: T(C({}, t == null ? void 0 : t.text), {
4845
4848
  animationDuration: `${_t.textDisplayDuration}ms, ${_t.inverseTextAnimationDuration}ms`,
4846
4849
  animationIterationCount: `1, ${_t.countTextInversePulses}`,
4847
4850
  animationDelay: `0s, ${_t.inverseTextAnimationDelay}ms`,
@@ -4849,11 +4852,11 @@ const sg = (t) => {
4849
4852
  alignItems: jt(_),
4850
4853
  transformOrigin: _
4851
4854
  }),
4852
- typography: M($({}, (m = (h = t == null ? void 0 : t.text) == null ? void 0 : h.typography) != null ? m : {}), {
4855
+ typography: T(C({}, (m = (h = t == null ? void 0 : t.text) == null ? void 0 : h.typography) != null ? m : {}), {
4853
4856
  textAlign: (y = t == null ? void 0 : t.container) == null ? void 0 : y.align
4854
4857
  }),
4855
4858
  accentTypography: (f = t == null ? void 0 : t.text) == null ? void 0 : f.accentTypography,
4856
- children: (N = t == null ? void 0 : t.text) == null ? void 0 : N.children
4859
+ children: (S = t == null ? void 0 : t.text) == null ? void 0 : S.children
4857
4860
  })
4858
4861
  });
4859
4862
  }, Qh = "_bonus_934sf_1", t0 = "_isColumn_934sf_13", e0 = "_button_934sf_27", n0 = "_logo_934sf_34", Le = {
@@ -4874,7 +4877,7 @@ const sg = (t) => {
4874
4877
  logo: Le.logo
4875
4878
  },
4876
4879
  onClick: n
4877
- }), en = M($({}, qt), {
4880
+ }), en = T(C({}, qt), {
4878
4881
  w375: 375,
4879
4882
  w400: 400,
4880
4883
  w480: 480,
@@ -4908,7 +4911,7 @@ const sg = (t) => {
4908
4911
  onClose: _,
4909
4912
  onClick: u
4910
4913
  }) => {
4911
- var k, b, w, C, O, L, R, H, j, P, lt, ot, rt, pt, vt, X, ft, Yt, Rt, ie, le, ce, _e, de;
4914
+ var w, $, M, b, N, L, R, H, j, P, lt, ot, rt, pt, vt, X, ft, Yt, Rt, ie, le, ce, _e, de;
4912
4915
  const c = K(null), p = Z(), d = Pt({
4913
4916
  targetRef: c,
4914
4917
  id: t,
@@ -4916,28 +4919,28 @@ const sg = (t) => {
4916
4919
  }), g = Dt(p, d, en), {
4917
4920
  resultChildren: h,
4918
4921
  fetching: m
4919
- } = yh(g, e, r), y = (b = (k = g == null ? void 0 : g.children) == null ? void 0 : k.some(({
4922
+ } = yh(g, e, r), y = ($ = (w = g == null ? void 0 : g.children) == null ? void 0 : w.some(({
4920
4923
  name: dt
4921
- }) => dt === "match")) != null ? b : !1;
4922
- g && (Wt(g, "button.percent_width", (w = g == null ? void 0 : g.button) == null ? void 0 : w.width), Wt(g, "artifact.percent_right", (C = g == null ? void 0 : g.artifact) == null ? void 0 : C.right));
4923
- const f = G(g), N = !!((O = f == null ? void 0 : f.legal) != null && O.children) && !((L = f == null ? void 0 : f.legal) != null && L.hidden);
4924
+ }) => dt === "match")) != null ? $ : !1;
4925
+ g && (Wt(g, "button.percent_width", (M = g == null ? void 0 : g.button) == null ? void 0 : M.width), Wt(g, "artifact.percent_right", (b = g == null ? void 0 : g.artifact) == null ? void 0 : b.right));
4926
+ const f = G(g), S = !!((N = f == null ? void 0 : f.legal) != null && N.children) && !((L = f == null ? void 0 : f.legal) != null && L.hidden);
4924
4927
  It(g);
4925
- const S = (H = (R = f == null ? void 0 : f.root) == null ? void 0 : R.animation) != null ? H : "none", I = Gt({
4926
- pause: S !== "variant1",
4928
+ const O = (H = (R = f == null ? void 0 : f.root) == null ? void 0 : R.animation) != null ? H : "none", I = Gt({
4929
+ pause: O !== "variant1",
4927
4930
  duration: _t.badgePulseDuration,
4928
4931
  delay: (dt) => dt === 0 ? _t.actionDisplayDuration : dt % _t.countPulses ? _t.badgePulseGap : _t.badgePulseDuration + _t.actionDisplayDuration
4929
4932
  }), D = Gt({
4930
- pause: S === "none",
4933
+ pause: O === "none",
4931
4934
  duration: _t.buttonPulseDuration,
4932
- delay: (dt) => s0(S, dt)
4933
- }), T = M($({}, f == null ? void 0 : f.container), {
4935
+ delay: (dt) => s0(O, dt)
4936
+ }), k = T(C({}, f == null ? void 0 : f.container), {
4934
4937
  alignItems: jt((j = f == null ? void 0 : f.container) == null ? void 0 : j.align)
4935
4938
  }), q = !!(h != null && h.some((dt) => dt.name === "bonus")), J = (dt) => ({
4936
4939
  match: a(Ah, {
4937
4940
  oddFormatter: o,
4938
4941
  device: d,
4939
4942
  rootState: g,
4940
- animationVariant: S
4943
+ animationVariant: O
4941
4944
  }),
4942
4945
  bonus: a(o0, {
4943
4946
  device: d,
@@ -4959,13 +4962,13 @@ const sg = (t) => {
4959
4962
  const x = _n(f == null ? void 0 : f.title) && "hidden" in (f == null ? void 0 : f.title) ? (P = f == null ? void 0 : f.title) == null ? void 0 : P.hidden : !0;
4960
4963
  return a("div", {
4961
4964
  className: A(Y.root, Y[d], {
4962
- [Y.withoutLegal]: !N,
4965
+ [Y.withoutLegal]: !S,
4963
4966
  [Y.isBonuses]: q,
4964
4967
  [Y.isColumn]: tn.includes(d)
4965
4968
  }),
4966
4969
  children: [a("div", {
4967
4970
  className: Y.close,
4968
- style: M($({}, f == null ? void 0 : f.close), {
4971
+ style: T(C({}, f == null ? void 0 : f.close), {
4969
4972
  borderTopRightRadius: (lt = f == null ? void 0 : f.container) == null ? void 0 : lt.corner
4970
4973
  }),
4971
4974
  onClick: () => _(),
@@ -4982,8 +4985,8 @@ const sg = (t) => {
4982
4985
  ref: c,
4983
4986
  children: [a("div", {
4984
4987
  className: A(Y.badge, {
4985
- [Y.badge_center]: (T == null ? void 0 : T.align) === "center",
4986
- [Y.badge_right]: (T == null ? void 0 : T.align) === "right"
4988
+ [Y.badge_center]: (k == null ? void 0 : k.align) === "center",
4989
+ [Y.badge_right]: (k == null ? void 0 : k.align) === "right"
4987
4990
  }),
4988
4991
  style: f == null ? void 0 : f.badge,
4989
4992
  children: a("div", {
@@ -4995,17 +4998,17 @@ const sg = (t) => {
4995
4998
  style: f == null ? void 0 : f.artifact
4996
4999
  }), a("div", {
4997
5000
  className: Y.container,
4998
- style: T,
5001
+ style: k,
4999
5002
  children: [a("div", {
5000
5003
  className: Y.badgeCopyWrapper,
5001
5004
  style: {
5002
- borderRadius: T == null ? void 0 : T.borderRadius
5005
+ borderRadius: k == null ? void 0 : k.borderRadius
5003
5006
  },
5004
5007
  children: a("div", {
5005
5008
  className: A(Y.badgeCopy, Y.badge, {
5006
5009
  [Y.badgeCopy_animated]: I,
5007
- [Y.badgeCopy_center]: (T == null ? void 0 : T.align) === "center",
5008
- [Y.badgeCopy_right]: (T == null ? void 0 : T.align) === "right"
5010
+ [Y.badgeCopy_center]: (k == null ? void 0 : k.align) === "center",
5011
+ [Y.badgeCopy_right]: (k == null ? void 0 : k.align) === "right"
5009
5012
  }),
5010
5013
  style: f == null ? void 0 : f.badge
5011
5014
  })
@@ -5020,7 +5023,7 @@ const sg = (t) => {
5020
5023
  [Y.containerBonuses]: q
5021
5024
  }),
5022
5025
  children: (h || []).map((dt) => a(Ht, {
5023
- value: M($({}, dt), {
5026
+ value: T(C({}, dt), {
5024
5027
  device: d
5025
5028
  }),
5026
5029
  children: J(dt.name)
@@ -5029,7 +5032,7 @@ const sg = (t) => {
5029
5032
  rules: f,
5030
5033
  pauseAnimation: n,
5031
5034
  device: d,
5032
- animationVariant1: S === "variant1"
5035
+ animationVariant1: O === "variant1"
5033
5036
  }), a("div", {
5034
5037
  className: A(Y.button, {
5035
5038
  [Y.button_increase]: D