@adstore/templates 2.19.1 → 2.19.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.
Files changed (2) hide show
  1. package/dist/templates.js +487 -485
  2. package/package.json +1 -1
package/dist/templates.js CHANGED
@@ -102,18 +102,18 @@ function hr(t, e, n) {
102
102
  var r = function(c, l, u) {
103
103
  if (!o.__c.__H)
104
104
  return !0;
105
- var _ = o.__c.__H.__.filter(function(d) {
106
- return d.__c;
105
+ var d = o.__c.__H.__.filter(function(_) {
106
+ return _.__c;
107
107
  });
108
- if (_.every(function(d) {
109
- return !d.__N;
108
+ if (d.every(function(_) {
109
+ return !_.__N;
110
110
  }))
111
111
  return !i || i.call(this, c, l, u);
112
112
  var p = !1;
113
- return _.forEach(function(d) {
114
- if (d.__N) {
115
- var g = d.__[0];
116
- d.__ = d.__N, d.__N = void 0, g !== d.__[0] && (p = !0);
113
+ return d.forEach(function(_) {
114
+ if (_.__N) {
115
+ var m = _.__[0];
116
+ _.__ = _.__N, _.__N = void 0, m !== _.__[0] && (p = !0);
117
117
  }
118
118
  }), !(!p && o.__c.props === c) && (!i || i.call(this, c, l, u));
119
119
  };
@@ -121,8 +121,8 @@ function hr(t, e, n) {
121
121
  var i = q.shouldComponentUpdate, s = q.componentWillUpdate;
122
122
  q.componentWillUpdate = function(c, l, u) {
123
123
  if (this.__e) {
124
- var _ = i;
125
- i = void 0, r(c, l, u), i = _;
124
+ var d = i;
125
+ i = void 0, r(c, l, u), i = d;
126
126
  }
127
127
  s && s.call(this, c, l, u);
128
128
  }, q.shouldComponentUpdate = r;
@@ -323,9 +323,9 @@ E.unmount = function(t) {
323
323
  var u = o.state.__a;
324
324
  o.__v.__k[0] = Io(u, u.__c.__P, u.__c.__O);
325
325
  }
326
- var _;
327
- for (o.setState({ __a: o.__b = null }); _ = o.t.pop(); )
328
- _.forceUpdate();
326
+ var d;
327
+ for (o.setState({ __a: o.__b = null }); d = o.t.pop(); )
328
+ d.forceUpdate();
329
329
  }
330
330
  }, l = e.__h === !0;
331
331
  o.__u++ || l || o.setState({ __a: o.__b = o.__v.__k[0] }), t.then(s, s);
@@ -712,11 +712,11 @@ var Is = js, Rs = Is, Bs = Rs(), Hs = Bs, je = {}, Es = {
712
712
  };
713
713
  (function(t, e) {
714
714
  var n = le, o = e && !e.nodeType && e, r = o && !0 && t && !t.nodeType && t, i = r && r.exports === o, s = i ? n.Buffer : void 0, c = s ? s.allocUnsafe : void 0;
715
- function l(u, _) {
716
- if (_)
715
+ function l(u, d) {
716
+ if (d)
717
717
  return u.slice();
718
- var p = u.length, d = c ? c(p) : new u.constructor(p);
719
- return u.copy(d), d;
718
+ var p = u.length, _ = c ? c(p) : new u.constructor(p);
719
+ return u.copy(_), _;
720
720
  }
721
721
  t.exports = l;
722
722
  })(Es, je);
@@ -918,12 +918,12 @@ function x_(t, e, n, o, r, i, s) {
918
918
  Qn(t, n, u);
919
919
  return;
920
920
  }
921
- var _ = i ? i(c, l, n + "", t, e, s) : void 0, p = _ === void 0;
921
+ var d = i ? i(c, l, n + "", t, e, s) : void 0, p = d === void 0;
922
922
  if (p) {
923
- var d = eo(l), g = !d && b_(l), m = !d && !g && k_(l);
924
- _ = l, d || g || m ? eo(c) ? _ = c : h_(c) ? _ = g_(c) : g ? (p = !1, _ = p_(l, !0)) : m ? (p = !1, _ = f_(l, !0)) : _ = [] : $_(l) || to(l) ? (_ = c, to(c) ? _ = C_(c) : (!v_(c) || y_(c)) && (_ = m_(l))) : p = !1;
923
+ var _ = eo(l), m = !_ && b_(l), h = !_ && !m && k_(l);
924
+ d = l, _ || m || h ? eo(c) ? d = c : h_(c) ? d = g_(c) : m ? (p = !1, d = p_(l, !0)) : h ? (p = !1, d = f_(l, !0)) : d = [] : $_(l) || to(l) ? (d = c, to(c) ? d = C_(c) : (!v_(c) || y_(c)) && (d = m_(l))) : p = !1;
925
925
  }
926
- p && (s.set(l, _), r(_, l, o, i, s), s.delete(l)), Qn(t, n, _);
926
+ p && (s.set(l, d), r(d, l, o, i, s), s.delete(l)), Qn(t, n, d);
927
927
  }
928
928
  var T_ = x_, w_ = Ms, M_ = Vo, L_ = Hs, S_ = T_, N_ = Xt, A_ = Qo, O_ = Jo;
929
929
  function tr(t, e, n, o, r) {
@@ -1219,11 +1219,11 @@ const nr = ur(), Gt = ({
1219
1219
  }) => {
1220
1220
  const [r, i] = bt("desktop"), s = (c) => {
1221
1221
  var p;
1222
- const l = c.getBoundingClientRect().width || 0, u = Object.entries(k({}, o)).sort(([d, g], [m, h]) => g - h), _ = ((p = u.find(([d, g], m) => {
1223
- const [h, C] = u[m + 1] || [];
1224
- return l >= g && l < C;
1222
+ const l = c.getBoundingClientRect().width || 0, u = Object.entries(k({}, o)).sort(([_, m], [h, f]) => m - f), d = ((p = u.find(([_, m], h) => {
1223
+ const [f, C] = u[h + 1] || [];
1224
+ return l >= m && l < C;
1225
1225
  })) == null ? void 0 : p[0]) || u[u.length - 1][0] || "desktop";
1226
- i(_);
1226
+ i(d);
1227
1227
  };
1228
1228
  return Ao(() => {
1229
1229
  const c = e.current.closest(`[data-${n}='${t}']`) || document.body;
@@ -1255,15 +1255,15 @@ const nr = ur(), Gt = ({
1255
1255
  }, t), uu = (t) => typeof t == "object" && !Array.isArray(t) && "parent" in t, U = (t) => Z(t) ? Object.entries(t).reduce((e, [n, o]) => (e[n] = uu(o) ? or(k({}, t[n])) : o, e), {}) : t, pu = (t) => t in document.createElement("div").style || t.startsWith("--"), fu = ["br", "b", "strong", "i", "em", "u", "span"], gu = (t) => {
1256
1256
  if (!t)
1257
1257
  return "";
1258
- const e = t.replace(/<!--[\s\S]*?-->/g, "");
1259
- let n = "\0";
1260
- for (; e.includes(n); )
1261
- n += "\0";
1262
- const o = [];
1263
- return e.replace(/<(\/?)([a-zA-Z][a-zA-Z0-9-]*)[^>]*>/g, (s, c, l) => {
1264
- const u = l.toLowerCase();
1265
- return fu.includes(u) ? (o.push(`<${c}${u}>`), `${n}${o.length - 1}${n}`) : "";
1266
- }).replace(/</g, "&lt;").replace(new RegExp(`${n}(\\d+)${n}`, "g"), (s, c) => o[Number(c)]);
1258
+ const n = t.replace(/\r\n?|\n/g, " ").replace(/<!--[\s\S]*?-->/g, "");
1259
+ let o = "\0";
1260
+ for (; n.includes(o); )
1261
+ o += "\0";
1262
+ const r = [];
1263
+ return n.replace(/<(\/?)([a-zA-Z][a-zA-Z0-9-]*)[^>]*>/g, (c, l, u) => {
1264
+ const d = u.toLowerCase();
1265
+ return fu.includes(d) ? (r.push(`<${l}${d}>`), `${o}${r.length - 1}${o}`) : "";
1266
+ }).replace(/</g, "&lt;").replace(new RegExp(`${o}(\\d+)${o}`, "g"), (c, l) => r[Number(l)]);
1267
1267
  }, mu = (t) => `<span style="${t}">$1</span>`, S = (s) => {
1268
1268
  var c = s, {
1269
1269
  tag: t = "div",
@@ -1281,10 +1281,10 @@ const nr = ur(), Gt = ({
1281
1281
  const l = Rt(() => {
1282
1282
  if (!o)
1283
1283
  return "";
1284
- let _ = "";
1285
- return Object.entries(o).forEach(([p, d]) => {
1286
- pu(p) && (_ += `${Md(p)}: ${d}; `);
1287
- }), _;
1284
+ let d = "";
1285
+ return Object.entries(o).forEach(([p, _]) => {
1286
+ pu(p) && (d += `${Md(p)}: ${_}; `);
1287
+ }), d;
1288
1288
  }, [o]), u = gu(e).replace(/{{(.*?)}}/g, r(l));
1289
1289
  return Qe(t, w(k({}, i), {
1290
1290
  style: k(k({}, n), i.style || {}),
@@ -1343,18 +1343,18 @@ const nr = ur(), Gt = ({
1343
1343
  wiggle: `${t.wiggle} 2s linear infinite`,
1344
1344
  gradient: `${t.gradient} 3s ease infinite`
1345
1345
  }), rr = (t, e) => {
1346
- var _, p, d, g, m, h, C, f, $, L, D, I, P;
1347
- const n = hu(e), o = U(t), r = (_ = o == null ? void 0 : o.icon) == null ? void 0 : _.hasIcon, i = {
1346
+ var d, p, _, m, h, f, C, g, $, L, D, I, P;
1347
+ const n = hu(e), o = U(t), r = (d = o == null ? void 0 : o.icon) == null ? void 0 : d.hasIcon, i = {
1348
1348
  left: `${+(((p = t == null ? void 0 : t.container) == null ? void 0 : p.left) || 0) * -1 + 8}px`,
1349
- backgroundColor: (d = o == null ? void 0 : o.container) == null ? void 0 : d.backgroundColor,
1350
- borderTopWidth: (g = o == null ? void 0 : o.container) == null ? void 0 : g.borderWidth,
1351
- borderTopColor: (m = o == null ? void 0 : o.container) == null ? void 0 : m.borderColor,
1349
+ backgroundColor: (_ = o == null ? void 0 : o.container) == null ? void 0 : _.backgroundColor,
1350
+ borderTopWidth: (m = o == null ? void 0 : o.container) == null ? void 0 : m.borderWidth,
1351
+ borderTopColor: (h = o == null ? void 0 : o.container) == null ? void 0 : h.borderColor,
1352
1352
  borderTopStyle: "solid",
1353
- borderLeftWidth: (h = o == null ? void 0 : o.container) == null ? void 0 : h.borderWidth,
1353
+ borderLeftWidth: (f = o == null ? void 0 : o.container) == null ? void 0 : f.borderWidth,
1354
1354
  borderLeftColor: (C = o == null ? void 0 : o.container) == null ? void 0 : C.borderColor,
1355
1355
  borderLeftStyle: "solid"
1356
1356
  }, s = {
1357
- left: (f = o == null ? void 0 : o.container) == null ? void 0 : f.left
1357
+ left: (g = o == null ? void 0 : o.container) == null ? void 0 : g.left
1358
1358
  }, c = ((($ = o == null ? void 0 : o.icon) == null ? void 0 : $.animations) || []).map((et) => n[et]).join(", "), l = Z((L = o == null ? void 0 : o.icon) == null ? void 0 : L.gradientColor) && ((D = o == null ? void 0 : o.icon) != null && D.animations.includes("gradient")) ? {
1359
1359
  background: `linear-gradient(-90deg, ${(I = o.icon) == null ? void 0 : I.backgroundColor} 0%, ${(P = o == null ? void 0 : o.icon) == null ? void 0 : P.gradientColor} 100%) 0% 0% / 400% 400%`,
1360
1360
  backgroundSize: "400% 400%"
@@ -1394,13 +1394,13 @@ const nr = ur(), Gt = ({
1394
1394
  onClickIcon: i
1395
1395
  }) => {
1396
1396
  var Y, T, y, v, M, x, N, A, B, H, V, z;
1397
- const s = J(null), [c, l] = pe(), u = Q(), _ = Ft({
1397
+ const s = J(null), [c, l] = pe(), u = Q(), d = Ft({
1398
1398
  targetRef: s,
1399
1399
  id: t
1400
- }), p = Ht(u, _), d = U(p), {
1401
- hasIcon: g,
1402
- iconRules: m,
1403
- bodyRules: h,
1400
+ }), p = Ht(u, d), _ = U(p), {
1401
+ hasIcon: m,
1402
+ iconRules: h,
1403
+ bodyRules: f,
1404
1404
  arrowRules: C
1405
1405
  } = rr(p, {
1406
1406
  fade: F.fadein,
@@ -1409,11 +1409,11 @@ const nr = ur(), Gt = ({
1409
1409
  gradient: F.gradient
1410
1410
  });
1411
1411
  Et(p);
1412
- const f = !!(d.legal.buttonHideText && ((Y = d.legal.buttonHideText) == null ? void 0 : Y.length) > 0), $ = (T = d == null ? void 0 : d.legal) == null ? void 0 : T.children, {
1412
+ const g = !!(_.legal.buttonHideText && ((Y = _.legal.buttonHideText) == null ? void 0 : Y.length) > 0), $ = (T = _ == null ? void 0 : _.legal) == null ? void 0 : T.children, {
1413
1413
  visible: L,
1414
1414
  hidden: D
1415
- } = xe($), I = D.length > 0 && f, P = I && !c ? L : [L, D].filter(Boolean).join(" "), et = w(k({}, At(d == null ? void 0 : d.container, "left")), {
1416
- paddingBottom: (y = d == null ? void 0 : d.legal) != null && y.hidden ? 12 : 4
1415
+ } = xe($), I = D.length > 0 && g, P = I && !c ? L : [L, D].filter(Boolean).join(" "), et = w(k({}, At(_ == null ? void 0 : _.container, "left")), {
1416
+ paddingBottom: (y = _ == null ? void 0 : _.legal) != null && y.hidden ? 12 : 4
1417
1417
  }), W = {
1418
1418
  paddingTop: 5,
1419
1419
  paddingRight: 0,
@@ -1424,18 +1424,18 @@ const nr = ur(), Gt = ({
1424
1424
  paddingRight: 10,
1425
1425
  paddingBottom: 7,
1426
1426
  paddingLeft: 10
1427
- }, R = b(d, "legal.isSlideMode", !1), j = b(d, "legal.slideDuration", 1e3), nt = b(d, "legal.slideDelay", 1e3);
1427
+ }, R = b(_, "legal.isSlideMode", !1), j = b(_, "legal.slideDuration", 1e3), nt = b(_, "legal.slideDelay", 1e3);
1428
1428
  return a("div", {
1429
1429
  className: O(F.root, {
1430
1430
  [F.legalOpen]: c,
1431
- [F.legalStatic]: !f || I
1431
+ [F.legalStatic]: !g || I
1432
1432
  }, n == null ? void 0 : n.root),
1433
1433
  ref: s,
1434
1434
  children: [a("div", {
1435
1435
  className: O(F.icon, n == null ? void 0 : n.icon),
1436
- style: m,
1436
+ style: h,
1437
1437
  onClick: i,
1438
- children: g && a("div", {
1438
+ children: m && a("div", {
1439
1439
  className: F.iconTarget,
1440
1440
  children: a(on, {})
1441
1441
  })
@@ -1445,14 +1445,14 @@ const nr = ur(), Gt = ({
1445
1445
  [F.visible]: e,
1446
1446
  [F.hidden]: !e
1447
1447
  }, n == null ? void 0 : n.body),
1448
- style: h,
1448
+ style: f,
1449
1449
  children: [a("div", {
1450
1450
  className: F.arrow,
1451
1451
  style: C
1452
1452
  }), a("div", {
1453
1453
  className: F.close,
1454
- style: w(k({}, yn(d == null ? void 0 : d.close)), {
1455
- backgroundColor: (v = d == null ? void 0 : d.close) == null ? void 0 : v.color
1454
+ style: w(k({}, yn(_ == null ? void 0 : _.close)), {
1455
+ backgroundColor: (v = _ == null ? void 0 : _.close) == null ? void 0 : v.color
1456
1456
  }),
1457
1457
  onClick: r,
1458
1458
  children: a(te, {})
@@ -1460,7 +1460,7 @@ const nr = ur(), Gt = ({
1460
1460
  className: O(F.container, n == null ? void 0 : n.container),
1461
1461
  style: et,
1462
1462
  children: [a("a", {
1463
- href: (M = d == null ? void 0 : d.root) == null ? void 0 : M.offer,
1463
+ href: (M = _ == null ? void 0 : _.root) == null ? void 0 : M.offer,
1464
1464
  style: {
1465
1465
  opacity: c ? 0 : 1
1466
1466
  },
@@ -1471,45 +1471,45 @@ const nr = ur(), Gt = ({
1471
1471
  className: O(F.inner, n == null ? void 0 : n.inner),
1472
1472
  children: [a("div", {
1473
1473
  className: F.logo,
1474
- style: d == null ? void 0 : d.logo
1474
+ style: _ == null ? void 0 : _.logo
1475
1475
  }), a(S, {
1476
1476
  className: F.text,
1477
- style: d == null ? void 0 : d.text,
1478
- typography: (x = d.text) == null ? void 0 : x.typography,
1479
- accentTypography: (N = d.text) == null ? void 0 : N.accentTypography,
1480
- children: (A = d == null ? void 0 : d.text) == null ? void 0 : A.children
1477
+ style: _ == null ? void 0 : _.text,
1478
+ typography: (x = _.text) == null ? void 0 : x.typography,
1479
+ accentTypography: (N = _.text) == null ? void 0 : N.accentTypography,
1480
+ children: (A = _ == null ? void 0 : _.text) == null ? void 0 : A.children
1481
1481
  })]
1482
1482
  }), a(S, {
1483
1483
  className: O(F.button, {
1484
- [F.buttonAnimated]: d == null ? void 0 : d.button.isAnimated
1484
+ [F.buttonAnimated]: _ == null ? void 0 : _.button.isAnimated
1485
1485
  }),
1486
- style: d == null ? void 0 : d.button,
1487
- children: (B = d == null ? void 0 : d.button) == null ? void 0 : B.children
1486
+ style: _ == null ? void 0 : _.button,
1487
+ children: (B = _ == null ? void 0 : _.button) == null ? void 0 : B.children
1488
1488
  })]
1489
1489
  }), R ? a("div", {
1490
1490
  className: F.slideLegal,
1491
- style: w(k(k({}, d == null ? void 0 : d.legal), tt), {
1491
+ style: w(k(k({}, _ == null ? void 0 : _.legal), tt), {
1492
1492
  animationName: F["fade-in-out"],
1493
1493
  animationDuration: `${j}ms`,
1494
1494
  animationDelay: `${nt}ms`
1495
1495
  }),
1496
1496
  children: a(S, {
1497
1497
  className: F.slideLegalText,
1498
- children: (H = d == null ? void 0 : d.legal) == null ? void 0 : H.children
1498
+ children: (H = _ == null ? void 0 : _.legal) == null ? void 0 : H.children
1499
1499
  })
1500
1500
  }) : a(ve, {
1501
1501
  children: [a("div", {
1502
1502
  className: F.legalGap
1503
1503
  }), a("div", {
1504
1504
  className: F.legal,
1505
- style: k(k({}, d == null ? void 0 : d.legal), c ? tt : W),
1505
+ style: k(k({}, _ == null ? void 0 : _.legal), c ? tt : W),
1506
1506
  children: [a(S, {
1507
1507
  className: F.legalText,
1508
1508
  children: P
1509
1509
  }), a("div", {
1510
1510
  className: F.legalButton,
1511
1511
  onClick: l,
1512
- children: c ? (V = d == null ? void 0 : d.legal) == null ? void 0 : V.buttonOpenText : (z = d == null ? void 0 : d.legal) == null ? void 0 : z.buttonHideText
1512
+ children: c ? (V = _ == null ? void 0 : _.legal) == null ? void 0 : V.buttonOpenText : (z = _ == null ? void 0 : _.legal) == null ? void 0 : z.buttonHideText
1513
1513
  })]
1514
1514
  })]
1515
1515
  })]
@@ -1611,19 +1611,19 @@ const nr = ur(), Gt = ({
1611
1611
  const s = J(null), c = Q(), l = Ft({
1612
1612
  targetRef: s,
1613
1613
  id: t
1614
- }), u = Ht(c, l), _ = U(u);
1614
+ }), u = Ht(c, l), d = U(u);
1615
1615
  Et(u);
1616
1616
  const {
1617
1617
  hasIcon: p,
1618
- iconRules: d,
1619
- bodyRules: g,
1620
- arrowRules: m
1618
+ iconRules: _,
1619
+ bodyRules: m,
1620
+ arrowRules: h
1621
1621
  } = rr(u, {
1622
1622
  fade: at.fadein,
1623
1623
  pulse: at.pulse,
1624
1624
  wiggle: at.wiggle,
1625
1625
  gradient: at.gradient
1626
- }), h = ($ = _ == null ? void 0 : _.title) == null ? void 0 : $.hasIcon, C = zt(_ == null ? void 0 : _.title, ...uo), f = At(_ == null ? void 0 : _.title, ...uo);
1626
+ }), f = ($ = d == null ? void 0 : d.title) == null ? void 0 : $.hasIcon, C = zt(d == null ? void 0 : d.title, ...uo), g = At(d == null ? void 0 : d.title, ...uo);
1627
1627
  return a("div", {
1628
1628
  ref: s,
1629
1629
  className: O(at.root, {
@@ -1633,7 +1633,7 @@ const nr = ur(), Gt = ({
1633
1633
  }, n == null ? void 0 : n.root),
1634
1634
  children: [a("div", {
1635
1635
  className: O(at.icon, n == null ? void 0 : n.icon),
1636
- style: d,
1636
+ style: _,
1637
1637
  onClick: r,
1638
1638
  children: p && a("div", {
1639
1639
  className: at.iconTarget,
@@ -1643,36 +1643,36 @@ const nr = ur(), Gt = ({
1643
1643
  className: O(at.body, {
1644
1644
  [at.bodyOpen]: e
1645
1645
  }, n == null ? void 0 : n.body),
1646
- style: g,
1646
+ style: m,
1647
1647
  children: [a("div", {
1648
1648
  className: at.arrow,
1649
- style: m
1649
+ style: h
1650
1650
  }), a("div", {
1651
1651
  className: O(at.container, n == null ? void 0 : n.container),
1652
- style: _.container,
1652
+ style: d.container,
1653
1653
  children: [a("div", {
1654
1654
  className: at.head,
1655
1655
  style: C,
1656
- children: [h && a("div", {
1656
+ children: [f && a("div", {
1657
1657
  className: at.headIcon,
1658
- style: zt(_.title, "color"),
1658
+ style: zt(d.title, "color"),
1659
1659
  children: a(on, {
1660
1660
  width: 12,
1661
1661
  height: 12
1662
1662
  })
1663
1663
  }), a(S, {
1664
1664
  className: at.headTitle,
1665
- style: f,
1666
- children: (L = _.title) == null ? void 0 : L.children
1665
+ style: g,
1666
+ children: (L = d.title) == null ? void 0 : L.children
1667
1667
  }), a("div", {
1668
1668
  className: at.close,
1669
- style: yn(_ == null ? void 0 : _.close),
1669
+ style: yn(d == null ? void 0 : d.close),
1670
1670
  onClick: i,
1671
1671
  children: a(te, {})
1672
1672
  })]
1673
1673
  }), a("div", {
1674
1674
  className: at.inner,
1675
- children: (_.children || []).map((I) => a(Gt, {
1675
+ children: (d.children || []).map((I) => a(Gt, {
1676
1676
  value: I,
1677
1677
  children: a(qu, {
1678
1678
  onClick: (P) => o(P)
@@ -1680,8 +1680,8 @@ const nr = ur(), Gt = ({
1680
1680
  }))
1681
1681
  }), a(S, {
1682
1682
  className: at.promotion,
1683
- style: _.promotion,
1684
- children: (D = _.promotion) == null ? void 0 : D.children
1683
+ style: d.promotion,
1684
+ children: (D = d.promotion) == null ? void 0 : D.children
1685
1685
  })]
1686
1686
  })]
1687
1687
  })]
@@ -1721,31 +1721,31 @@ const nr = ur(), Gt = ({
1721
1721
  })
1722
1722
  });
1723
1723
  }, mn = (t, e = 0, n = !1) => {
1724
- const o = J(pn()), [r, i] = bt(!1), [s, c] = bt(), [l, u] = bt(n), _ = (C) => o.current.on("visible", C), p = (C) => o.current.on("click", C), d = (C) => o.current.on("clickHide", C), g = () => we(void 0, null, function* () {
1724
+ const o = J(pn()), [r, i] = bt(!1), [s, c] = bt(), [l, u] = bt(n), d = (C) => o.current.on("visible", C), p = (C) => o.current.on("click", C), _ = (C) => o.current.on("clickHide", C), m = () => we(void 0, null, function* () {
1725
1725
  yield Td(+e), i(!0), o.current.emit("visible", !0);
1726
- }), m = () => {
1726
+ }), h = () => {
1727
1727
  i(!1), o.current.emit("visible", !1);
1728
- }, h = () => {
1729
- o.current.emit("clickHide"), m();
1728
+ }, f = () => {
1729
+ o.current.emit("clickHide"), h();
1730
1730
  };
1731
1731
  return sn(t, () => ({
1732
- onVisible: _,
1732
+ onVisible: d,
1733
1733
  onClick: p,
1734
- onClickHide: d,
1735
- show: g,
1736
- hide: m,
1734
+ onClickHide: _,
1735
+ show: m,
1736
+ hide: h,
1737
1737
  setApiHost: c,
1738
1738
  resetListeners: o.current.reset
1739
1739
  })), X(() => o.current.reset, []), {
1740
1740
  isReady: l,
1741
1741
  isOpen: r,
1742
1742
  apiHost: s,
1743
- show: g,
1744
- hide: m,
1745
- clickHide: h,
1743
+ show: m,
1744
+ hide: h,
1745
+ clickHide: f,
1746
1746
  setIsReady: u,
1747
1747
  click: (...C) => {
1748
- m(), o.current.emit("click", ...C);
1748
+ h(), o.current.emit("click", ...C);
1749
1749
  }
1750
1750
  };
1751
1751
  }, mp = "_root_120y9_1", hp = "_progress_120y9_8", bp = "_countdown_120y9_1", yp = "_body_120y9_17", vp = "_body_active_120y9_31", $p = "_closeIcon_120y9_35", oe = {
@@ -1852,33 +1852,33 @@ const wp = se(({
1852
1852
  id: t
1853
1853
  }), l = Q(), u = Ht(l, c);
1854
1854
  Et(u), u && (qt(u, "button.percent_width", (T = u == null ? void 0 : u.button) == null ? void 0 : T.width), qt(u, "legal.percent_width", (y = u == null ? void 0 : u.legal) == null ? void 0 : y.width));
1855
- const _ = U(u), p = b(_, "root.delay", 0), {
1856
- isOpen: d,
1857
- isReady: g,
1858
- setIsReady: m,
1859
- clickHide: h,
1855
+ const d = U(u), p = b(d, "root.delay", 0), {
1856
+ isOpen: _,
1857
+ isReady: m,
1858
+ setIsReady: h,
1859
+ clickHide: f,
1860
1860
  click: C
1861
- } = mn(n, p), f = b(_, "close.variant", "default"), $ = b(_, "close.radius", 21), L = b(_, "close.colorDirection", "default"), D = b(_, "close.timeoutLock", !1), I = f === "timer" ? o <= 0 : !0, P = f === "timer" && D && o > 0 ? "div" : "a";
1861
+ } = mn(n, p), g = b(d, "close.variant", "default"), $ = b(d, "close.radius", 21), L = b(d, "close.colorDirection", "default"), D = b(d, "close.timeoutLock", !1), I = g === "timer" ? o <= 0 : !0, P = g === "timer" && D && o > 0 ? "div" : "a";
1862
1862
  X(() => {
1863
1863
  const H = s.current;
1864
1864
  if (!H)
1865
1865
  return;
1866
1866
  if (Tp(H)) {
1867
- m(!0);
1867
+ h(!0);
1868
1868
  return;
1869
1869
  }
1870
- const V = () => m(!0);
1870
+ const V = () => h(!0);
1871
1871
  return H.addEventListener("load", V), () => {
1872
1872
  H.removeEventListener("load", V);
1873
1873
  };
1874
- }, [_]);
1874
+ }, [d]);
1875
1875
  const et = {
1876
- alignItems: Vt((v = _.root) == null ? void 0 : v.align)
1877
- }, W = w(k({}, _ == null ? void 0 : _.button), {
1878
- justifyContent: Vt((M = _.root) == null ? void 0 : M.textAlign)
1879
- }), tt = w(k({}, _ == null ? void 0 : _.legal), {
1880
- justifyContent: Vt((x = _.root) == null ? void 0 : x.textAlign)
1881
- }), R = (N = _.root) == null ? void 0 : N.corner, j = At(_.root, ..._o, ...Nt), nt = zt(_.root, ..._o), Y = d && g;
1876
+ alignItems: Vt((v = d.root) == null ? void 0 : v.align)
1877
+ }, W = w(k({}, d == null ? void 0 : d.button), {
1878
+ justifyContent: Vt((M = d.root) == null ? void 0 : M.textAlign)
1879
+ }), tt = w(k({}, d == null ? void 0 : d.legal), {
1880
+ justifyContent: Vt((x = d.root) == null ? void 0 : x.textAlign)
1881
+ }), R = (N = d.root) == null ? void 0 : N.corner, j = At(d.root, ..._o, ...Nt), nt = zt(d.root, ..._o), Y = _ && m;
1882
1882
  return a("div", {
1883
1883
  className: O(gt.root, e, {
1884
1884
  [gt.desktop]: c === "desktop",
@@ -1891,18 +1891,18 @@ const wp = se(({
1891
1891
  },
1892
1892
  children: [a("div", {
1893
1893
  className: gt.overlay,
1894
- style: _.overlay,
1895
- onClick: I && h
1894
+ style: d.overlay,
1895
+ onClick: I && f
1896
1896
  }), a("div", {
1897
1897
  className: gt.wrapper,
1898
1898
  children: [Y && a(ve, {
1899
- children: f === "default" ? a("div", {
1899
+ children: g === "default" ? a("div", {
1900
1900
  className: gt.close,
1901
- style: w(k({}, _.close), {
1901
+ style: w(k({}, d.close), {
1902
1902
  borderBottomLeftRadius: `${R}px`,
1903
1903
  borderTopRightRadius: `${R}px`
1904
1904
  }),
1905
- onClick: h,
1905
+ onClick: f,
1906
1906
  children: a(te, {
1907
1907
  width: 11,
1908
1908
  height: 11
@@ -1910,24 +1910,24 @@ const wp = se(({
1910
1910
  }) : a("div", {
1911
1911
  className: gt.closeTimer,
1912
1912
  children: a(hn, {
1913
- timeout: b(_, "close.timeout"),
1913
+ timeout: b(d, "close.timeout"),
1914
1914
  colorDirection: L,
1915
1915
  radius: $,
1916
- onClick: h,
1916
+ onClick: f,
1917
1917
  onChange: r
1918
1918
  })
1919
1919
  })
1920
1920
  }), a(S, {
1921
1921
  className: gt.promotion,
1922
- style: _.promotion,
1923
- children: (A = _.promotion) == null ? void 0 : A.children
1922
+ style: d.promotion,
1923
+ children: (A = d.promotion) == null ? void 0 : A.children
1924
1924
  }), a(P, {
1925
- href: (B = _.root) == null ? void 0 : B.offer,
1925
+ href: (B = d.root) == null ? void 0 : B.offer,
1926
1926
  target: "_blank",
1927
1927
  rel: "nofollow noopener noreferrer",
1928
1928
  className: gt.content,
1929
1929
  style: j,
1930
- onClick: () => P === "a" && C(_.id),
1930
+ onClick: () => P === "a" && C(d.id),
1931
1931
  children: [a("img", {
1932
1932
  ref: s,
1933
1933
  className: gt.background,
@@ -1939,10 +1939,10 @@ const wp = se(({
1939
1939
  style: et,
1940
1940
  children: [a("div", {
1941
1941
  className: gt.logo,
1942
- style: _.logo
1942
+ style: d.logo
1943
1943
  }), a("div", {
1944
1944
  className: gt.text,
1945
- children: ((_ == null ? void 0 : _.children) || []).map((H) => a(Gt, {
1945
+ children: ((d == null ? void 0 : d.children) || []).map((H) => a(Gt, {
1946
1946
  value: H,
1947
1947
  children: a(gp, {})
1948
1948
  }))
@@ -1988,10 +1988,10 @@ const wp = se(({
1988
1988
  classNames: n = {},
1989
1989
  onClick: o
1990
1990
  }) => {
1991
- var l, u, _, p, d, g, m, h;
1991
+ var l, u, d, p, _, m, h, f;
1992
1992
  const r = Q(), i = U(r), s = (r == null ? void 0 : r.OfferTag) || "a", c = (u = (l = r == null ? void 0 : r.text) == null ? void 0 : l.disableOverlay) != null ? u : !1;
1993
1993
  return a(s, {
1994
- href: (_ = i.root) == null ? void 0 : _.offer,
1994
+ href: (d = i.root) == null ? void 0 : d.offer,
1995
1995
  target: "_blank",
1996
1996
  rel: "nofollow noopener noreferrer",
1997
1997
  className: O(Yt.root, t, {
@@ -2011,8 +2011,8 @@ const wp = se(({
2011
2011
  }),
2012
2012
  style: i.text,
2013
2013
  typography: (p = i.text) == null ? void 0 : p.typography,
2014
- accentTypography: (d = i.text) == null ? void 0 : d.accentTypography,
2015
- children: (g = i.text) == null ? void 0 : g.children
2014
+ accentTypography: (_ = i.text) == null ? void 0 : _.accentTypography,
2015
+ children: (m = i.text) == null ? void 0 : m.children
2016
2016
  })
2017
2017
  }), a("div", {
2018
2018
  children: a("button", {
@@ -2022,14 +2022,14 @@ const wp = se(({
2022
2022
  className: O(Yt.logo, n == null ? void 0 : n.logo),
2023
2023
  style: i.logo
2024
2024
  }), a(S, {
2025
- children: (m = i.button) == null ? void 0 : m.children
2025
+ children: (h = i.button) == null ? void 0 : h.children
2026
2026
  })]
2027
2027
  })
2028
2028
  })]
2029
2029
  }), a(S, {
2030
2030
  className: Yt.legal,
2031
2031
  typography: i.legal,
2032
- children: (h = i.legal) == null ? void 0 : h.children
2032
+ children: (f = i.legal) == null ? void 0 : f.children
2033
2033
  })]
2034
2034
  })
2035
2035
  });
@@ -2081,19 +2081,19 @@ const of = {
2081
2081
  }), s = Q(), c = Ht(s, i), l = U(c);
2082
2082
  Et(c);
2083
2083
  const u = b(l, "root.delay", 0), {
2084
- isOpen: _,
2084
+ isOpen: d,
2085
2085
  clickHide: p,
2086
- click: d
2087
- } = mn(e, u, !0), g = b(l, "close.variant", "default"), m = b(l, "close.radius", 21), h = b(l, "close.colorDirection", "default"), C = b(l, "close.timeoutLock", !1), f = g === "timer" ? n <= 0 : !0, $ = g === "timer" && C && n > 0 ? "div" : "a";
2086
+ click: _
2087
+ } = mn(e, u, !0), m = b(l, "close.variant", "default"), h = b(l, "close.radius", 21), f = b(l, "close.colorDirection", "default"), C = b(l, "close.timeoutLock", !1), g = m === "timer" ? n <= 0 : !0, $ = m === "timer" && C && n > 0 ? "div" : "a";
2088
2088
  return a("div", {
2089
2089
  className: It.root,
2090
2090
  style: {
2091
- display: _ ? "flex" : "none"
2091
+ display: d ? "flex" : "none"
2092
2092
  },
2093
2093
  children: [a("div", {
2094
2094
  className: It.overlay,
2095
2095
  style: l.overlay,
2096
- onClick: f && p
2096
+ onClick: g && p
2097
2097
  }), a("div", {
2098
2098
  ref: r,
2099
2099
  className: O(It.content, {
@@ -2101,7 +2101,7 @@ const of = {
2101
2101
  [It.mobile]: i === "mobile"
2102
2102
  }),
2103
2103
  style: l.root,
2104
- children: [g === "default" ? a("div", {
2104
+ children: [m === "default" ? a("div", {
2105
2105
  className: It.close,
2106
2106
  style: l.close,
2107
2107
  onClick: p,
@@ -2122,8 +2122,8 @@ const of = {
2122
2122
  className: It.closeTimer,
2123
2123
  children: a(hn, {
2124
2124
  timeout: b(l, "close.timeout"),
2125
- colorDirection: h,
2126
- radius: m,
2125
+ colorDirection: f,
2126
+ radius: h,
2127
2127
  onClick: p,
2128
2128
  onChange: o
2129
2129
  })
@@ -2146,7 +2146,7 @@ const of = {
2146
2146
  className: It.bonus,
2147
2147
  device: i,
2148
2148
  isColumn: !0,
2149
- onClick: d
2149
+ onClick: _
2150
2150
  })
2151
2151
  }))
2152
2152
  })]
@@ -2487,8 +2487,8 @@ const Pf = new Set(Object.keys(ir)), Lt = ({
2487
2487
  if (o === "tennis" && r) {
2488
2488
  let l = r.logo;
2489
2489
  if (!l) {
2490
- let _ = r.alpha3 || r.alpha2;
2491
- _ && _.length === 2 && (_ = sr[_]), Pf.has(_) && (l = `https://cdn.scores24.live/upload/scores24/dist/static/img/general/flags/288dpi/${_ == null ? void 0 : _.toLowerCase()}.png`);
2490
+ let d = r.alpha3 || r.alpha2;
2491
+ d && d.length === 2 && (d = sr[d]), Pf.has(d) && (l = `https://cdn.scores24.live/upload/scores24/dist/static/img/general/flags/288dpi/${d == null ? void 0 : d.toLowerCase()}.png`);
2492
2492
  }
2493
2493
  if (!l)
2494
2494
  return null;
@@ -2645,7 +2645,7 @@ function Wt() {
2645
2645
  (function(n, o) {
2646
2646
  t.exports = o();
2647
2647
  })($t, function() {
2648
- var n = 1e3, o = 6e4, r = 36e5, i = "millisecond", s = "second", c = "minute", l = "hour", u = "day", _ = "week", p = "month", d = "quarter", g = "year", m = "date", h = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, f = /\[([^\]]+)]|Y{1,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, $ = { 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("_"), ordinal: function(T) {
2648
+ var n = 1e3, o = 6e4, r = 36e5, i = "millisecond", s = "second", c = "minute", l = "hour", u = "day", d = "week", p = "month", _ = "quarter", m = "year", h = "date", f = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, g = /\[([^\]]+)]|Y{1,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, $ = { 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("_"), ordinal: function(T) {
2649
2649
  var y = ["th", "st", "nd", "rd"], v = T % 100;
2650
2650
  return "[" + T + (y[(v - 20) % 10] || y[v] || y[0]) + "]";
2651
2651
  } }, L = function(T, y, v) {
@@ -2662,7 +2662,7 @@ function Wt() {
2662
2662
  }, a: function(T) {
2663
2663
  return T < 0 ? Math.ceil(T) || 0 : Math.floor(T);
2664
2664
  }, p: function(T) {
2665
- return { M: p, y: g, w: _, d: u, D: m, h: l, m: c, s, ms: i, Q: d }[T] || String(T || "").toLowerCase().replace(/s$/, "");
2665
+ return { M: p, y: m, w: d, d: u, D: h, h: l, m: c, s, ms: i, Q: _ }[T] || String(T || "").toLowerCase().replace(/s$/, "");
2666
2666
  }, u: function(T) {
2667
2667
  return T === void 0;
2668
2668
  } }, I = "en", P = {};
@@ -2722,7 +2722,7 @@ function Wt() {
2722
2722
  }, y.$utils = function() {
2723
2723
  return j;
2724
2724
  }, y.isValid = function() {
2725
- return this.$d.toString() !== h;
2725
+ return this.$d.toString() !== f;
2726
2726
  }, y.isSame = function(v, M) {
2727
2727
  var x = R(v);
2728
2728
  return this.startOf(M) <= x && x <= this.endOf(M);
@@ -2744,15 +2744,15 @@ function Wt() {
2744
2744
  return j.w(x.toDate()[vt].apply(x.toDate("s"), (N ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(rt)), x);
2745
2745
  }, V = this.$W, z = this.$M, lt = this.$D, kt = "set" + (this.$u ? "UTC" : "");
2746
2746
  switch (A) {
2747
- case g:
2747
+ case m:
2748
2748
  return N ? B(1, 0) : B(31, 11);
2749
2749
  case p:
2750
2750
  return N ? B(1, z) : B(0, z + 1);
2751
- case _:
2751
+ case d:
2752
2752
  var yt = this.$locale().weekStart || 0, Ot = (V < yt ? V + 7 : V) - yt;
2753
2753
  return B(N ? lt - Ot : lt + (6 - Ot), z);
2754
2754
  case u:
2755
- case m:
2755
+ case h:
2756
2756
  return H(kt + "Hours", 0);
2757
2757
  case l:
2758
2758
  return H(kt + "Minutes", 1);
@@ -2766,10 +2766,10 @@ function Wt() {
2766
2766
  }, y.endOf = function(v) {
2767
2767
  return this.startOf(v, !1);
2768
2768
  }, y.$set = function(v, M) {
2769
- var x, N = j.p(v), A = "set" + (this.$u ? "UTC" : ""), B = (x = {}, x[u] = A + "Date", x[m] = A + "Date", x[p] = A + "Month", x[g] = A + "FullYear", x[l] = A + "Hours", x[c] = A + "Minutes", x[s] = A + "Seconds", x[i] = A + "Milliseconds", x)[N], H = N === u ? this.$D + (M - this.$W) : M;
2770
- if (N === p || N === g) {
2771
- var V = this.clone().set(m, 1);
2772
- V.$d[B](H), V.init(), this.$d = V.set(m, Math.min(this.$D, V.daysInMonth())).$d;
2769
+ var x, N = j.p(v), A = "set" + (this.$u ? "UTC" : ""), B = (x = {}, x[u] = A + "Date", x[h] = A + "Date", x[p] = A + "Month", x[m] = A + "FullYear", x[l] = A + "Hours", x[c] = A + "Minutes", x[s] = A + "Seconds", x[i] = A + "Milliseconds", x)[N], H = N === u ? this.$D + (M - this.$W) : M;
2770
+ if (N === p || N === m) {
2771
+ var V = this.clone().set(h, 1);
2772
+ V.$d[B](H), V.init(), this.$d = V.set(h, Math.min(this.$D, V.daysInMonth())).$d;
2773
2773
  } else
2774
2774
  B && this.$d[B](H);
2775
2775
  return this.init(), this;
@@ -2786,11 +2786,11 @@ function Wt() {
2786
2786
  };
2787
2787
  if (A === p)
2788
2788
  return this.set(p, this.$M + v);
2789
- if (A === g)
2790
- return this.set(g, this.$y + v);
2789
+ if (A === m)
2790
+ return this.set(m, this.$y + v);
2791
2791
  if (A === u)
2792
2792
  return B(1);
2793
- if (A === _)
2793
+ if (A === d)
2794
2794
  return B(7);
2795
2795
  var H = (x = {}, x[c] = o, x[l] = r, x[s] = n, x)[A] || 1, V = this.$d.getTime() + v * H;
2796
2796
  return j.w(V, this);
@@ -2799,7 +2799,7 @@ function Wt() {
2799
2799
  }, y.format = function(v) {
2800
2800
  var M = this, x = this.$locale();
2801
2801
  if (!this.isValid())
2802
- return x.invalidDate || h;
2802
+ return x.invalidDate || f;
2803
2803
  var N = v || "YYYY-MM-DDTHH:mm:ssZ", A = j.z(this), B = this.$H, H = this.$m, V = this.$M, z = x.weekdays, lt = x.months, kt = x.meridiem, yt = function(rt, mt, Dt, Pt) {
2804
2804
  return rt && (rt[mt] || rt(M, N)) || Dt[mt].slice(0, Pt);
2805
2805
  }, Ot = function(rt) {
@@ -2808,7 +2808,7 @@ function Wt() {
2808
2808
  var Pt = rt < 12 ? "AM" : "PM";
2809
2809
  return Dt ? Pt.toLowerCase() : Pt;
2810
2810
  };
2811
- return N.replace(f, function(rt, mt) {
2811
+ return N.replace(g, function(rt, mt) {
2812
2812
  return mt || function(Dt) {
2813
2813
  switch (Dt) {
2814
2814
  case "YY":
@@ -2870,16 +2870,16 @@ function Wt() {
2870
2870
  return j.m(A, H);
2871
2871
  };
2872
2872
  switch (B) {
2873
- case g:
2873
+ case m:
2874
2874
  N = lt() / 12;
2875
2875
  break;
2876
2876
  case p:
2877
2877
  N = lt();
2878
2878
  break;
2879
- case d:
2879
+ case _:
2880
2880
  N = lt() / 3;
2881
2881
  break;
2882
- case _:
2882
+ case d:
2883
2883
  N = (z - V) / 6048e5;
2884
2884
  break;
2885
2885
  case u:
@@ -2919,7 +2919,7 @@ function Wt() {
2919
2919
  return this.$d.toUTCString();
2920
2920
  }, T;
2921
2921
  }(), Y = nt.prototype;
2922
- return R.prototype = Y, [["$ms", i], ["$s", s], ["$m", c], ["$H", l], ["$W", u], ["$M", p], ["$y", g], ["$D", m]].forEach(function(T) {
2922
+ return R.prototype = Y, [["$ms", i], ["$s", s], ["$m", c], ["$H", l], ["$W", u], ["$M", p], ["$y", m], ["$D", h]].forEach(function(T) {
2923
2923
  Y[T[1]] = function(y) {
2924
2924
  return this.$g(y, T[0], T[1]);
2925
2925
  };
@@ -2945,28 +2945,28 @@ var fo = {}, lg = {
2945
2945
  (function(n, o) {
2946
2946
  t.exports = o(Wt());
2947
2947
  })($t, function(n) {
2948
- function o(m) {
2949
- return m && typeof m == "object" && "default" in m ? m : { default: m };
2948
+ function o(h) {
2949
+ return h && typeof h == "object" && "default" in h ? h : { default: h };
2950
2950
  }
2951
2951
  var r = o(n), i = "января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"), s = "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"), c = "янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"), l = "янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"), u = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;
2952
- function _(m, h, C) {
2953
- var f, $;
2954
- return C === "m" ? h ? "минута" : "минуту" : m + " " + (f = +m, $ = { mm: h ? "минута_минуты_минут" : "минуту_минуты_минут", hh: "час_часа_часов", dd: "день_дня_дней", MM: "месяц_месяца_месяцев", yy: "год_года_лет" }[C].split("_"), f % 10 == 1 && f % 100 != 11 ? $[0] : f % 10 >= 2 && f % 10 <= 4 && (f % 100 < 10 || f % 100 >= 20) ? $[1] : $[2]);
2952
+ function d(h, f, C) {
2953
+ var g, $;
2954
+ return C === "m" ? f ? "минута" : "минуту" : h + " " + (g = +h, $ = { mm: f ? "минута_минуты_минут" : "минуту_минуты_минут", hh: "час_часа_часов", dd: "день_дня_дней", MM: "месяц_месяца_месяцев", yy: "год_года_лет" }[C].split("_"), g % 10 == 1 && g % 100 != 11 ? $[0] : g % 10 >= 2 && g % 10 <= 4 && (g % 100 < 10 || g % 100 >= 20) ? $[1] : $[2]);
2955
2955
  }
2956
- var p = function(m, h) {
2957
- return u.test(h) ? i[m.month()] : s[m.month()];
2956
+ var p = function(h, f) {
2957
+ return u.test(f) ? i[h.month()] : s[h.month()];
2958
2958
  };
2959
2959
  p.s = s, p.f = i;
2960
- var d = function(m, h) {
2961
- return u.test(h) ? c[m.month()] : l[m.month()];
2960
+ var _ = function(h, f) {
2961
+ return u.test(f) ? c[h.month()] : l[h.month()];
2962
2962
  };
2963
- d.s = l, d.f = c;
2964
- var g = { name: "ru", weekdays: "воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"), weekdaysShort: "вск_пнд_втр_срд_чтв_птн_сбт".split("_"), weekdaysMin: "вс_пн_вт_ср_чт_пт_сб".split("_"), months: p, monthsShort: d, weekStart: 1, yearStart: 4, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY г.", LLL: "D MMMM YYYY г., H:mm", LLLL: "dddd, D MMMM YYYY г., H:mm" }, relativeTime: { future: "через %s", past: "%s назад", s: "несколько секунд", m: _, mm: _, h: "час", hh: _, d: "день", dd: _, M: "месяц", MM: _, y: "год", yy: _ }, ordinal: function(m) {
2965
- return m;
2966
- }, meridiem: function(m) {
2967
- return m < 4 ? "ночи" : m < 12 ? "утра" : m < 17 ? "дня" : "вечера";
2963
+ _.s = l, _.f = c;
2964
+ var m = { name: "ru", weekdays: "воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"), weekdaysShort: "вск_пнд_втр_срд_чтв_птн_сбт".split("_"), weekdaysMin: "вс_пн_вт_ср_чт_пт_сб".split("_"), months: p, monthsShort: _, weekStart: 1, yearStart: 4, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY г.", LLL: "D MMMM YYYY г., H:mm", LLLL: "dddd, D MMMM YYYY г., H:mm" }, relativeTime: { future: "через %s", past: "%s назад", s: "несколько секунд", m: d, mm: d, h: "час", hh: d, d: "день", dd: d, M: "месяц", MM: d, y: "год", yy: d }, ordinal: function(h) {
2965
+ return h;
2966
+ }, meridiem: function(h) {
2967
+ return h < 4 ? "ночи" : h < 12 ? "утра" : h < 17 ? "дня" : "вечера";
2968
2968
  } };
2969
- return r.default.locale(g, null, !0), g;
2969
+ return r.default.locale(m, null, !0), m;
2970
2970
  });
2971
2971
  })(lg);
2972
2972
  var go = {}, _g = {
@@ -3006,8 +3006,8 @@ var mo = {}, dg = {
3006
3006
  return l && typeof l == "object" && "default" in l ? l : { default: l };
3007
3007
  }
3008
3008
  var r = o(n), i = { s: "ein paar Sekunden", m: ["eine Minute", "einer Minute"], mm: "%d Minuten", h: ["eine Stunde", "einer Stunde"], hh: "%d Stunden", d: ["ein Tag", "einem Tag"], dd: ["%d Tage", "%d Tagen"], M: ["ein Monat", "einem Monat"], MM: ["%d Monate", "%d Monaten"], y: ["ein Jahr", "einem Jahr"], yy: ["%d Jahre", "%d Jahren"] };
3009
- function s(l, u, _) {
3010
- var p = i[_];
3009
+ function s(l, u, d) {
3010
+ var p = i[d];
3011
3011
  return Array.isArray(p) && (p = p[u ? 0 : 1]), p.replace("%d", l);
3012
3012
  }
3013
3013
  var c = { name: "de", weekdays: "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"), weekdaysShort: "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"), weekdaysMin: "So_Mo_Di_Mi_Do_Fr_Sa".split("_"), months: "Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"), monthsShort: "Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sept._Okt._Nov._Dez.".split("_"), ordinal: function(l) {
@@ -3114,36 +3114,36 @@ var $o = {}, mg = {
3114
3114
  (function(n, o) {
3115
3115
  t.exports = o(Wt());
3116
3116
  })($t, function(n) {
3117
- function o(d) {
3118
- return d && typeof d == "object" && "default" in d ? d : { default: d };
3117
+ function o(_) {
3118
+ return _ && typeof _ == "object" && "default" in _ ? _ : { default: _ };
3119
3119
  }
3120
3120
  var r = o(n);
3121
- function i(d) {
3122
- return d % 10 < 5 && d % 10 > 1 && ~~(d / 10) % 10 != 1;
3121
+ function i(_) {
3122
+ return _ % 10 < 5 && _ % 10 > 1 && ~~(_ / 10) % 10 != 1;
3123
3123
  }
3124
- function s(d, g, m) {
3125
- var h = d + " ";
3126
- switch (m) {
3124
+ function s(_, m, h) {
3125
+ var f = _ + " ";
3126
+ switch (h) {
3127
3127
  case "m":
3128
- return g ? "minuta" : "minutę";
3128
+ return m ? "minuta" : "minutę";
3129
3129
  case "mm":
3130
- return h + (i(d) ? "minuty" : "minut");
3130
+ return f + (i(_) ? "minuty" : "minut");
3131
3131
  case "h":
3132
- return g ? "godzina" : "godzinę";
3132
+ return m ? "godzina" : "godzinę";
3133
3133
  case "hh":
3134
- return h + (i(d) ? "godziny" : "godzin");
3134
+ return f + (i(_) ? "godziny" : "godzin");
3135
3135
  case "MM":
3136
- return h + (i(d) ? "miesiące" : "miesięcy");
3136
+ return f + (i(_) ? "miesiące" : "miesięcy");
3137
3137
  case "yy":
3138
- return h + (i(d) ? "lata" : "lat");
3138
+ return f + (i(_) ? "lata" : "lat");
3139
3139
  }
3140
3140
  }
3141
- var c = "stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"), l = "styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"), u = /D MMMM/, _ = function(d, g) {
3142
- return u.test(g) ? c[d.month()] : l[d.month()];
3141
+ var c = "stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"), l = "styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"), u = /D MMMM/, d = function(_, m) {
3142
+ return u.test(m) ? c[_.month()] : l[_.month()];
3143
3143
  };
3144
- _.s = l, _.f = c;
3145
- var p = { name: "pl", weekdays: "niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"), weekdaysShort: "ndz_pon_wt_śr_czw_pt_sob".split("_"), weekdaysMin: "Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"), months: _, monthsShort: "sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"), ordinal: function(d) {
3146
- return d + ".";
3144
+ d.s = l, d.f = c;
3145
+ var p = { name: "pl", weekdays: "niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"), weekdaysShort: "ndz_pon_wt_śr_czw_pt_sob".split("_"), weekdaysMin: "Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"), months: d, monthsShort: "sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"), ordinal: function(_) {
3146
+ return _ + ".";
3147
3147
  }, weekStart: 1, yearStart: 4, relativeTime: { future: "za %s", past: "%s temu", s: "kilka sekund", m: s, mm: s, h: s, hh: s, d: "1 dzień", dd: "%d dni", M: "miesiąc", MM: s, y: "rok", yy: s }, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd, D MMMM YYYY HH:mm" } };
3148
3148
  return r.default.locale(p, null, !0), p;
3149
3149
  });
@@ -3155,7 +3155,7 @@ const ko = (t, e = "DD.MM.YYYY", n = "en") => t ? cg(t).locale(n).format(e) : ""
3155
3155
  backgroundImage: b(n, "match.teams[0].logo")
3156
3156
  }), i = w(k({}, n == null ? void 0 : n.teamBLogo), {
3157
3157
  backgroundImage: b(n, "match.teams[1].logo")
3158
- }), s = b(n, "match.lang_slug", "ru"), c = b(n, "match.sport_slug"), l = ko(b(n, "match.match_date"), "HH:mm", s), u = ko(b(n, "match.match_date"), "DD MMMM", s), p = b(n, "root.predictionLength", "full") === "full" ? b(n, "match.prediction.value") : b(n, "match.prediction.value_short") || b(n, "match.prediction.value"), d = Number(b(n, "match.prediction.factor", 0)).toFixed(2);
3158
+ }), s = b(n, "match.lang_slug", "ru"), c = b(n, "match.sport_slug"), l = ko(b(n, "match.match_date"), "HH:mm", s), u = ko(b(n, "match.match_date"), "DD MMMM", s), p = b(n, "root.predictionLength", "full") === "full" ? b(n, "match.prediction.value") : b(n, "match.prediction.value_short") || b(n, "match.prediction.value"), _ = Number(b(n, "match.prediction.factor", 0)).toFixed(2);
3159
3159
  return a("div", {
3160
3160
  className: O(_t.root, {
3161
3161
  [_t.desktop]: o === "desktop",
@@ -3197,7 +3197,7 @@ const ko = (t, e = "DD.MM.YYYY", n = "en") => t ? cg(t).locale(n).format(e) : ""
3197
3197
  className: _t.oddValueInner,
3198
3198
  style: n.oddValueInner,
3199
3199
  children: a(Ut, {
3200
- odd: d,
3200
+ odd: _,
3201
3201
  formatter: t
3202
3202
  })
3203
3203
  })]
@@ -3249,38 +3249,38 @@ const ko = (t, e = "DD.MM.YYYY", n = "en") => t ? cg(t).locale(n).format(e) : ""
3249
3249
  return;
3250
3250
  let p = t;
3251
3251
  if (n) {
3252
- const d = new URLSearchParams();
3253
- Object.entries(n).forEach(([g, m]) => {
3254
- Array.isArray(m) ? m.forEach((h, C) => {
3255
- h && d.append(`${g}[${C}]`, h);
3256
- }) : m && d.append(g, m);
3257
- }), p += `?${d.toString()}`;
3252
+ const _ = new URLSearchParams();
3253
+ Object.entries(n).forEach(([m, h]) => {
3254
+ Array.isArray(h) ? h.forEach((f, C) => {
3255
+ f && _.append(`${m}[${C}]`, f);
3256
+ }) : h && _.append(m, h);
3257
+ }), p += `?${_.toString()}`;
3258
3258
  }
3259
3259
  return p;
3260
- }, [t, n]), _ = br(() => we(void 0, null, function* () {
3260
+ }, [t, n]), d = br(() => we(void 0, null, function* () {
3261
3261
  const p = r ? `${u}_${JSON.stringify(r)}` : u;
3262
3262
  if (e || !u)
3263
3263
  return;
3264
3264
  if (Le.has(p))
3265
3265
  return l(Le.get(p)), Le.get(p);
3266
3266
  s(!0);
3267
- const d = yield fetch(u, {
3267
+ const _ = yield fetch(u, {
3268
3268
  method: o || "GET",
3269
3269
  body: r ? JSON.stringify(r) : void 0,
3270
3270
  headers: {
3271
3271
  "Content-Type": "application/json"
3272
3272
  }
3273
- }).then((g) => g.json()).catch((g) => {
3274
- console.error(g), s(!1);
3273
+ }).then((m) => m.json()).catch((m) => {
3274
+ console.error(m), s(!1);
3275
3275
  });
3276
- d && (Le.set(p, d.data), l(d.data)), s(!1);
3276
+ _ && (Le.set(p, _.data), l(_.data)), s(!1);
3277
3277
  }), [u, e, o, r]);
3278
3278
  return X(() => {
3279
- e || _();
3279
+ e || d();
3280
3280
  }, [u, e]), {
3281
3281
  data: c,
3282
3282
  fetching: i,
3283
- execute: _
3283
+ execute: d
3284
3284
  };
3285
3285
  };
3286
3286
  function Ue(t) {
@@ -3333,7 +3333,7 @@ const bg = (t) => {
3333
3333
  pause: !t || !e || n
3334
3334
  }), l = Rt(() => !!(c || n || o === "prediction" && (i != null && i.prediction) || e != null && e.slug), [e, o, c, n, i]), {
3335
3335
  list: u,
3336
- fetching: _
3336
+ fetching: d
3337
3337
  } = bg({
3338
3338
  apiHost: t,
3339
3339
  langSlug: e == null ? void 0 : e.langSlug,
@@ -3347,12 +3347,12 @@ const bg = (t) => {
3347
3347
  We(r, e) || s();
3348
3348
  }, [e]), {
3349
3349
  match: Rt(() => e.slug ? i : o === "prediction" ? i != null && i.prediction ? i : p : i != null ? i : p, [e, i, p, o]),
3350
- fetching: c || _
3350
+ fetching: c || d
3351
3351
  };
3352
3352
  }, yg = (t, e, n) => {
3353
3353
  const o = (p) => {
3354
- var d;
3355
- return Z(p == null ? void 0 : p.matchSlug) && ((d = p == null ? void 0 : p.matchSlug) == null ? void 0 : d.length) > 0;
3354
+ var _;
3355
+ return Z(p == null ? void 0 : p.matchSlug) && ((_ = p == null ? void 0 : p.matchSlug) == null ? void 0 : _.length) > 0;
3356
3356
  }, r = t.children || [], i = r.filter((p) => o(p.root.targetMatch)).map((p) => p.root.targetMatch), s = Ue(i), {
3357
3357
  data: c,
3358
3358
  execute: l
@@ -3378,17 +3378,17 @@ const bg = (t) => {
3378
3378
  X(() => {
3379
3379
  We(s, i) || l();
3380
3380
  }, [i, n]);
3381
- const _ = r.map((p) => {
3382
- const d = (c || []).find((h) => h.slug === p.root.targetMatch.matchSlug);
3383
- if (!d)
3381
+ const d = r.map((p) => {
3382
+ const _ = (c || []).find((f) => f.slug === p.root.targetMatch.matchSlug);
3383
+ if (!_)
3384
3384
  return;
3385
- const g = ke(d), m = gn(g, p.root.customMatch, (h, [C, f]) => Z(f));
3385
+ const m = ke(_), h = gn(m, p.root.customMatch, (f, [C, g]) => Z(g));
3386
3386
  return w(k({}, p), {
3387
- match: m
3387
+ match: h
3388
3388
  });
3389
3389
  }).filter(Boolean);
3390
3390
  return u && n && (u.lang_slug = n.langSlug), {
3391
- expressMatches: _,
3391
+ expressMatches: d,
3392
3392
  autoMatch: u
3393
3393
  };
3394
3394
  }, vg = se(({
@@ -3402,36 +3402,36 @@ const bg = (t) => {
3402
3402
  id: t
3403
3403
  }), l = Q(), u = Ht(l, c);
3404
3404
  u && (qt(u, "buttonWrapper.percent_width", (A = u == null ? void 0 : u.buttonWrapper) == null ? void 0 : A.width), qt(u, "legal.percent_width", (B = u == null ? void 0 : u.legal) == null ? void 0 : B.width));
3405
- const _ = U(u);
3405
+ const d = U(u);
3406
3406
  Et(u);
3407
- const p = b(_, "root.delay", 0), g = b(_, "children", []).find((ne) => ne.name === "auto"), {
3408
- isOpen: m,
3409
- apiHost: h,
3407
+ const p = b(d, "root.delay", 0), m = b(d, "children", []).find((ne) => ne.name === "auto"), {
3408
+ isOpen: h,
3409
+ apiHost: f,
3410
3410
  clickHide: C,
3411
- click: f
3412
- } = mn(o, p, !0), $ = b(_, "close.variant", "default"), L = b(_, "close.radius", 21), D = b(_, "close.colorDirection", "default"), I = b(_, "close.timeoutLock", !1), P = $ === "timer" ? r <= 0 : !0, et = $ === "timer" && I && r > 0 ? "div" : "a", {
3411
+ click: g
3412
+ } = mn(o, p, !0), $ = b(d, "close.variant", "default"), L = b(d, "close.radius", 21), D = b(d, "close.colorDirection", "default"), I = b(d, "close.timeoutLock", !1), P = $ === "timer" ? r <= 0 : !0, et = $ === "timer" && I && r > 0 ? "div" : "a", {
3413
3413
  expressMatches: W,
3414
3414
  autoMatch: tt
3415
- } = yg(u, h, g ? e : void 0);
3416
- g && (g.match = tt);
3417
- const R = w(k({}, _.root), {
3418
- alignItems: Vt((H = _.root) == null ? void 0 : H.align)
3419
- }), j = w(k({}, _.content), {
3420
- alignItems: Vt((V = _.root) == null ? void 0 : V.align)
3421
- }), nt = w(k({}, _.text), {
3422
- textAlign: (z = _.root) == null ? void 0 : z.align
3423
- }), Y = w(k({}, _ == null ? void 0 : _.button), {
3424
- justifyContent: Vt((lt = _.root) == null ? void 0 : lt.textAlign)
3425
- }), T = w(k({}, _ == null ? void 0 : _.legal), {
3426
- justifyContent: Vt((kt = _.root) == null ? void 0 : kt.textAlign)
3427
- }), y = +b(g, "root.bonusValue", 0), v = +b(g, "match.prediction.factor", 0), M = be((yt = _.text) == null ? void 0 : yt.children, {
3415
+ } = yg(u, f, m ? e : void 0);
3416
+ m && (m.match = tt);
3417
+ const R = w(k({}, d.root), {
3418
+ alignItems: Vt((H = d.root) == null ? void 0 : H.align)
3419
+ }), j = w(k({}, d.content), {
3420
+ alignItems: Vt((V = d.root) == null ? void 0 : V.align)
3421
+ }), nt = w(k({}, d.text), {
3422
+ textAlign: (z = d.root) == null ? void 0 : z.align
3423
+ }), Y = w(k({}, d == null ? void 0 : d.button), {
3424
+ justifyContent: Vt((lt = d.root) == null ? void 0 : lt.textAlign)
3425
+ }), T = w(k({}, d == null ? void 0 : d.legal), {
3426
+ justifyContent: Vt((kt = d.root) == null ? void 0 : kt.textAlign)
3427
+ }), y = +b(m, "root.bonusValue", 0), v = +b(m, "match.prediction.factor", 0), M = be((yt = d.text) == null ? void 0 : yt.children, {
3428
3428
  bonusValue: y,
3429
3429
  clearResult: (y * v - y).toFixed(0),
3430
3430
  rawResult: (y * v).toFixed(0),
3431
3431
  rate: v
3432
3432
  }, {
3433
3433
  parse: !1
3434
- }), x = v === 0 ? b(_, "text.fallbackChildren") : M, N = (Ot = _.root) == null ? void 0 : Ot.corner;
3434
+ }), x = v === 0 ? b(d, "text.fallbackChildren") : M, N = (Ot = d.root) == null ? void 0 : Ot.corner;
3435
3435
  return a("div", {
3436
3436
  className: O(ct.root, {
3437
3437
  [ct.desktop]: c === "desktop",
@@ -3440,17 +3440,17 @@ const bg = (t) => {
3440
3440
  }),
3441
3441
  ref: s,
3442
3442
  style: {
3443
- display: m ? "flex" : "none"
3443
+ display: h ? "flex" : "none"
3444
3444
  },
3445
3445
  children: [a("div", {
3446
3446
  className: ct.overlay,
3447
- style: _.overlay,
3447
+ style: d.overlay,
3448
3448
  onClick: P && C
3449
3449
  }), a("div", {
3450
3450
  className: ct.content,
3451
3451
  children: [$ === "default" ? a("div", {
3452
3452
  className: ct.close,
3453
- style: w(k({}, _.close), {
3453
+ style: w(k({}, d.close), {
3454
3454
  borderBottomLeftRadius: `${N}px`,
3455
3455
  borderTopRightRadius: `${N}px`
3456
3456
  }),
@@ -3462,7 +3462,7 @@ const bg = (t) => {
3462
3462
  }) : a("div", {
3463
3463
  className: ct.closeTimer,
3464
3464
  children: a(hn, {
3465
- timeout: b(_, "close.timeout"),
3465
+ timeout: b(d, "close.timeout"),
3466
3466
  colorDirection: D,
3467
3467
  radius: L,
3468
3468
  onClick: C,
@@ -3470,14 +3470,14 @@ const bg = (t) => {
3470
3470
  })
3471
3471
  }), a(S, {
3472
3472
  className: ct.promotion,
3473
- style: _.promotion,
3474
- children: (vt = _.promotion) == null ? void 0 : vt.children
3473
+ style: d.promotion,
3474
+ children: (vt = d.promotion) == null ? void 0 : vt.children
3475
3475
  }), a(et, {
3476
3476
  ref: s,
3477
- href: (rt = _.root) == null ? void 0 : rt.offer,
3477
+ href: (rt = d.root) == null ? void 0 : rt.offer,
3478
3478
  target: "_blank",
3479
3479
  rel: "nofollow noopener noreferrer",
3480
- onClick: () => et === "a" && f(_.id),
3480
+ onClick: () => et === "a" && g(d.id),
3481
3481
  children: a("div", {
3482
3482
  className: ct.body,
3483
3483
  style: R,
@@ -3485,11 +3485,11 @@ const bg = (t) => {
3485
3485
  className: ct.head,
3486
3486
  children: [a(S, {
3487
3487
  className: ct.title,
3488
- style: _.title,
3489
- children: (mt = _.title) == null ? void 0 : mt.children
3488
+ style: d.title,
3489
+ children: (mt = d.title) == null ? void 0 : mt.children
3490
3490
  }), a("div", {
3491
3491
  className: ct.logo,
3492
- style: _.logo
3492
+ style: d.logo
3493
3493
  })]
3494
3494
  }), a("div", {
3495
3495
  className: ct.wrapper,
@@ -3500,8 +3500,8 @@ const bg = (t) => {
3500
3500
  }),
3501
3501
  oddFormatter: n,
3502
3502
  children: a(Yf, {})
3503
- })), g && a(Gt, {
3504
- value: w(k({}, g), {
3503
+ })), m && a(Gt, {
3504
+ value: w(k({}, m), {
3505
3505
  device: c
3506
3506
  }),
3507
3507
  children: a(hg, {
@@ -3516,20 +3516,20 @@ const bg = (t) => {
3516
3516
  children: x
3517
3517
  }), a("div", {
3518
3518
  className: ct.button,
3519
- style: _.buttonWrapper,
3519
+ style: d.buttonWrapper,
3520
3520
  children: [a(S, {
3521
3521
  className: ct.buttonHead,
3522
- style: _.buttonHead,
3523
- children: (Dt = _.buttonHead) == null ? void 0 : Dt.children
3522
+ style: d.buttonHead,
3523
+ children: (Dt = d.buttonHead) == null ? void 0 : Dt.children
3524
3524
  }), a(S, {
3525
3525
  className: ct.buttonTarget,
3526
3526
  style: Y,
3527
- children: (Pt = _.button) == null ? void 0 : Pt.children
3527
+ children: (Pt = d.button) == null ? void 0 : Pt.children
3528
3528
  })]
3529
3529
  }), a(S, {
3530
3530
  className: ct.legal,
3531
3531
  style: T,
3532
- children: (fe = _.legal) == null ? void 0 : fe.children
3532
+ children: (fe = d.legal) == null ? void 0 : fe.children
3533
3533
  })]
3534
3534
  })
3535
3535
  })]
@@ -3561,26 +3561,26 @@ const bg = (t) => {
3561
3561
  pause: !t || !(r != null && r.length)
3562
3562
  });
3563
3563
  return {
3564
- promotionValues: (i || []).reduce((u, _) => {
3564
+ promotionValues: (i || []).reduce((u, d) => {
3565
3565
  var p;
3566
- return u[(p = _.key) == null ? void 0 : p.split(":")[1]] = _.value, u;
3566
+ return u[(p = d.key) == null ? void 0 : p.split(":")[1]] = d.value, u;
3567
3567
  }, {})
3568
3568
  };
3569
3569
  }, jg = ({
3570
3570
  apiHost: t,
3571
3571
  onClick: e
3572
3572
  }) => {
3573
- var C, f, $, L, D, I, P, et, W, tt, R, j, nt;
3573
+ var C, g, $, L, D, I, P, et, W, tt, R, j, nt;
3574
3574
  const n = Q(), o = U(n), {
3575
3575
  promotionValues: r
3576
- } = Dg(t), [i, s] = pe(), c = !!((C = o.legalInfoButton) != null && C.closeText && (($ = (f = o.legalInfoButton) == null ? void 0 : f.closeText) == null ? void 0 : $.length) > 0), l = (L = o.legalInfo) == null ? void 0 : L.children, {
3576
+ } = Dg(t), [i, s] = pe(), c = !!((C = o.legalInfoButton) != null && C.closeText && (($ = (g = o.legalInfoButton) == null ? void 0 : g.closeText) == null ? void 0 : $.length) > 0), l = (L = o.legalInfo) == null ? void 0 : L.children, {
3577
3577
  visible: u,
3578
- hidden: _
3579
- } = xe(l), p = _.length > 0 && c, d = p && !i ? u : [u, _].filter(Boolean).join(" "), g = be((D = o.rowFirst) == null ? void 0 : D.children, r, {
3578
+ hidden: d
3579
+ } = xe(l), p = d.length > 0 && c, _ = p && !i ? u : [u, d].filter(Boolean).join(" "), m = be((D = o.rowFirst) == null ? void 0 : D.children, r, {
3580
3580
  parse: !1
3581
- }), m = be((I = o.rowSecond) == null ? void 0 : I.children, r, {
3581
+ }), h = be((I = o.rowSecond) == null ? void 0 : I.children, r, {
3582
3582
  parse: !1
3583
- }), h = be((P = o.bookmaker) == null ? void 0 : P.children, r, {
3583
+ }), f = be((P = o.bookmaker) == null ? void 0 : P.children, r, {
3584
3584
  parse: !1
3585
3585
  });
3586
3586
  return a("div", {
@@ -3601,17 +3601,17 @@ const bg = (t) => {
3601
3601
  style: o == null ? void 0 : o.rowFirst,
3602
3602
  typography: o == null ? void 0 : o.rowFirst,
3603
3603
  accentTypography: (W = o == null ? void 0 : o.rowFirst) == null ? void 0 : W.accentTypography,
3604
- children: g
3604
+ children: m
3605
3605
  }), a(S, {
3606
3606
  className: Ct.rowSecond,
3607
3607
  style: o == null ? void 0 : o.rowSecond,
3608
3608
  typography: o == null ? void 0 : o.rowSecond,
3609
3609
  accentTypography: (tt = o == null ? void 0 : o.rowSecond) == null ? void 0 : tt.accentTypography,
3610
- children: m
3610
+ children: h
3611
3611
  }), a(S, {
3612
3612
  className: Ct.bookmaker,
3613
3613
  style: o.bookmaker,
3614
- children: h
3614
+ children: f
3615
3615
  })]
3616
3616
  }), a(S, {
3617
3617
  className: Ct.button,
@@ -3626,7 +3626,7 @@ const bg = (t) => {
3626
3626
  style: o.legalInfo,
3627
3627
  children: [a(S, {
3628
3628
  className: Ct.legalText,
3629
- children: d
3629
+ children: _
3630
3630
  }), a("div", {
3631
3631
  className: Ct.legalButton,
3632
3632
  style: o.legalInfoButton,
@@ -3646,7 +3646,7 @@ const bg = (t) => {
3646
3646
  onClick: n
3647
3647
  };
3648
3648
  }, Rg = (t, e, n) => {
3649
- var l, u, _, p, d;
3649
+ var l, u, d, p, _;
3650
3650
  const o = (l = e == null ? void 0 : e.root) == null ? void 0 : l.orderControl, r = (o == null ? void 0 : o.type) === "spadsRating";
3651
3651
  let i = (u = e == null ? void 0 : e.children) != null ? u : [];
3652
3652
  const {
@@ -3655,23 +3655,23 @@ const bg = (t) => {
3655
3655
  method: "GET",
3656
3656
  params: {
3657
3657
  slug: o == null ? void 0 : o.rating,
3658
- location: (_ = o == null ? void 0 : o.location) == null ? void 0 : _.toLowerCase(),
3659
- audience: (d = (p = o == null ? void 0 : o.audience) == null ? void 0 : p.toLowerCase()) != null ? d : "default"
3658
+ location: (d = o == null ? void 0 : o.location) == null ? void 0 : d.toLowerCase(),
3659
+ audience: (_ = (p = o == null ? void 0 : o.audience) == null ? void 0 : p.toLowerCase()) != null ? _ : "default"
3660
3660
  },
3661
3661
  pause: !t || !r || !(o != null && o.location) || !(o != null && o.rating)
3662
3662
  });
3663
3663
  return {
3664
3664
  children: Rt(() => {
3665
- var m;
3666
- const g = s != null ? s : [];
3667
- return r && (i = i.sort((h, C) => {
3665
+ var h;
3666
+ const m = s != null ? s : [];
3667
+ return r && (i = i.sort((f, C) => {
3668
3668
  var L, D;
3669
- const f = g.indexOf((L = h.root) == null ? void 0 : L.connectorBookmakerSlug), $ = g.indexOf((D = C.root) == null ? void 0 : D.connectorBookmakerSlug);
3670
- return (f === -1 ? 1 / 0 : f) - ($ === -1 ? 1 / 0 : $);
3671
- })), typeof n == "number" && (i = (m = i.filter((h) => {
3669
+ const g = m.indexOf((L = f.root) == null ? void 0 : L.connectorBookmakerSlug), $ = m.indexOf((D = C.root) == null ? void 0 : D.connectorBookmakerSlug);
3670
+ return (g === -1 ? 1 / 0 : g) - ($ === -1 ? 1 / 0 : $);
3671
+ })), typeof n == "number" && (i = (h = i.filter((f) => {
3672
3672
  var C;
3673
- return !((C = h == null ? void 0 : h.root) != null && C.hidden);
3674
- })) == null ? void 0 : m.slice(0, n)), i;
3673
+ return !((C = f == null ? void 0 : f.root) != null && C.hidden);
3674
+ })) == null ? void 0 : h.slice(0, n)), i;
3675
3675
  }, [s, e])
3676
3676
  };
3677
3677
  }, Bg = se(({
@@ -3687,8 +3687,8 @@ const bg = (t) => {
3687
3687
  } = Rg(t, c, e);
3688
3688
  return a("div", {
3689
3689
  ref: o,
3690
- children: u.map((_) => a(Gt, {
3691
- value: _,
3690
+ children: u.map((d) => a(Gt, {
3691
+ value: d,
3692
3692
  children: a(jg, {
3693
3693
  apiHost: t,
3694
3694
  onClick: l
@@ -3760,41 +3760,43 @@ const bg = (t) => {
3760
3760
  const o = J(null), r = Kt({
3761
3761
  pause: e,
3762
3762
  duration: Se,
3763
- delay: (c) => c > 0 ? To : wo
3763
+ delay: (l) => l > 0 ? To : wo
3764
3764
  }), i = Kt({
3765
3765
  pause: e,
3766
3766
  duration: To,
3767
- delay: (c) => c === 0 ? Se + wo : Se
3768
- }), s = (c, l, u) => {
3769
- const _ = typeof c == "string" ? document.createElement("span") : c;
3770
- return typeof c == "string" && (_.textContent = c), _.classList.add(xo.word), _.style.animationDelay = `${l * u}ms`, _.style.animationDuration = `${u}ms`, _;
3767
+ delay: (l) => l === 0 ? Se + wo : Se
3768
+ }), s = (l) => l instanceof HTMLElement && l.tagName === "BR", c = (l, u, d) => {
3769
+ const p = typeof l == "string" ? document.createElement("span") : l;
3770
+ return typeof l == "string" && (p.textContent = l), p.classList.add(xo.word), p.style.animationDelay = `${u * d}ms`, p.style.animationDuration = `${d}ms`, p;
3771
3771
  };
3772
3772
  return X(() => {
3773
- var c;
3773
+ var l;
3774
3774
  if (!e) {
3775
- const l = (c = o.current) == null ? void 0 : c.childNodes[0];
3776
- if (l && l.childNodes.length > 0) {
3777
- const u = Array.from(l.childNodes), _ = [];
3778
- u.forEach((m) => {
3779
- var h, C;
3780
- if (m instanceof HTMLElement && m.getAttribute("data-wrapped") === "1")
3781
- _.push(m);
3782
- else if (m.nodeType === Node.TEXT_NODE) {
3783
- const f = ((h = m.textContent) == null ? void 0 : h.split(" ")) || [];
3784
- _.push(...f.filter(($) => $ !== "").map(($) => [$, " "]).flat());
3775
+ const u = (l = o.current) == null ? void 0 : l.childNodes[0];
3776
+ if (u && u.childNodes.length > 0) {
3777
+ const d = Array.from(u.childNodes), p = [];
3778
+ d.forEach((f) => {
3779
+ var C, g;
3780
+ if (f instanceof HTMLElement && f.getAttribute("data-wrapped") === "1")
3781
+ p.push(f);
3782
+ else if (s(f))
3783
+ p.push(f.cloneNode());
3784
+ else if (f.nodeType === Node.TEXT_NODE) {
3785
+ const $ = ((C = f.textContent) == null ? void 0 : C.split(" ")) || [];
3786
+ p.push(...$.filter((L) => L !== "").map((L) => [L, " "]).flat());
3785
3787
  } else
3786
- (((C = m.textContent) == null ? void 0 : C.split(" ")) || []).forEach(($) => {
3787
- const L = m.cloneNode();
3788
- L.textContent = $ + " ", _.push(L);
3788
+ (((g = f.textContent) == null ? void 0 : g.split(" ")) || []).filter((L) => L !== "").forEach((L) => {
3789
+ const D = f.cloneNode();
3790
+ D.textContent = L, p.push(D, " ");
3789
3791
  });
3790
3792
  });
3791
- const p = document.createElement("span");
3792
- p.setAttribute("data-wrapped", "1");
3793
- const d = Se / _.length;
3794
- let g = 0;
3795
- _.forEach((m) => {
3796
- typeof m == "string" && m === " " ? p.appendChild(document.createTextNode(" ")) : m instanceof HTMLElement && m.getAttribute("data-wrapped") === "1" ? p.appendChild(m) : (p.appendChild(s(m, g, d)), g++);
3797
- }), l.textContent = "", l.appendChild(p);
3793
+ const _ = document.createElement("span");
3794
+ _.setAttribute("data-wrapped", "1");
3795
+ const m = Se / p.length;
3796
+ let h = 0;
3797
+ p.forEach((f) => {
3798
+ typeof f == "string" && f === " " ? _.appendChild(document.createTextNode(" ")) : f instanceof HTMLElement && f.getAttribute("data-wrapped") === "1" || s(f) ? _.appendChild(f) : (_.appendChild(c(f, h, m)), h++);
3799
+ }), u.textContent = "", u.appendChild(_);
3798
3800
  }
3799
3801
  }
3800
3802
  }, [e, ...n]), a("div", {
@@ -4061,29 +4063,29 @@ const bg = (t) => {
4061
4063
  matches: "one_x_two",
4062
4064
  matchesOneTwo: "one_two"
4063
4065
  }, Mo = (t) => [Vm[t]], Gm = (t, e, n) => {
4064
- const o = (d) => {
4065
- var g;
4066
- return Z(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);
4067
- }, r = (t == null ? void 0 : t.children) || [], i = r.filter((d) => o(d.root.targetMatch)).map((d) => w(k({}, d.root.targetMatch), {
4068
- markets: Mo(d.name)
4069
- })), s = i.find((d) => d.isAuto), c = Ue(i), {
4066
+ const o = (_) => {
4067
+ var m;
4068
+ return Z(_ == null ? void 0 : _.matchSlug) && ((m = _ == null ? void 0 : _.matchSlug) == null ? void 0 : m.length) > 0 || (_ == null ? void 0 : _.isAuto);
4069
+ }, r = (t == null ? void 0 : t.children) || [], i = r.filter((_) => o(_.root.targetMatch)).map((_) => w(k({}, _.root.targetMatch), {
4070
+ markets: Mo(_.name)
4071
+ })), s = i.find((_) => _.isAuto), c = Ue(i), {
4070
4072
  data: l,
4071
4073
  execute: u
4072
4074
  } = ee(`${e}/match-list`, {
4073
4075
  method: "POST",
4074
4076
  body: {
4075
- matches: i.map((d) => ({
4076
- slug: d.matchSlug,
4077
- sport_slug: d.sportSlug,
4078
- lang: d.langSlug,
4079
- bookmaker_slug: d.bookmaker,
4080
- offset: d.offset,
4081
- markets: d.markets
4077
+ matches: i.map((_) => ({
4078
+ slug: _.matchSlug,
4079
+ sport_slug: _.sportSlug,
4080
+ lang: _.langSlug,
4081
+ bookmaker_slug: _.bookmaker,
4082
+ offset: _.offset,
4083
+ markets: _.markets
4082
4084
  }))
4083
4085
  },
4084
4086
  pause: !e || i.length === 0 || s
4085
4087
  }), {
4086
- match: _
4088
+ match: d
4087
4089
  } = bn({
4088
4090
  dependsOn: "markets",
4089
4091
  apiHost: e,
@@ -4095,26 +4097,26 @@ const bg = (t) => {
4095
4097
  });
4096
4098
  return X(() => {
4097
4099
  We(c, i) || u();
4098
- }, [i]), r.map((d) => {
4099
- var g, m;
4100
- if ("targetMatch" in d.root) {
4101
- const h = Mo(d.name), C = (l || []).find((D) => D.slug === d.root.targetMatch.matchSlug);
4102
- if (((m = (g = d == null ? void 0 : d.root) == null ? void 0 : g.targetMatch) == null ? void 0 : m.isAuto) && _)
4103
- return w(k({}, d), {
4104
- match: ke(_, {
4105
- markets: h
4100
+ }, [i]), r.map((_) => {
4101
+ var m, h;
4102
+ if ("targetMatch" in _.root) {
4103
+ const f = Mo(_.name), C = (l || []).find((D) => D.slug === _.root.targetMatch.matchSlug);
4104
+ if (((h = (m = _ == null ? void 0 : _.root) == null ? void 0 : m.targetMatch) == null ? void 0 : h.isAuto) && d)
4105
+ return w(k({}, _), {
4106
+ match: ke(d, {
4107
+ markets: f
4106
4108
  })
4107
4109
  });
4108
4110
  if (!C)
4109
4111
  return;
4110
4112
  const $ = ke(C, {
4111
- markets: h
4112
- }), L = gn($, d.root.customMatch, (D, [I, P]) => Z(P));
4113
- return w(k({}, d), {
4113
+ markets: f
4114
+ }), L = gn($, _.root.customMatch, (D, [I, P]) => Z(P));
4115
+ return w(k({}, _), {
4114
4116
  match: L
4115
4117
  });
4116
4118
  }
4117
- return d;
4119
+ return _;
4118
4120
  }).filter(Boolean);
4119
4121
  }, Fm = "_buttonWrapper_100f2_1", Wm = "_variant2_100f2_4", Um = "_variant3_100f2_4", zm = "_desktop_100f2_18", Km = "_laptop_100f2_18", Zm = "_button_100f2_1", qm = "_button_increase_100f2_47", Jm = "_increase_100f2_1", Xm = "_button_pulseWithOverlay_100f2_50", Qm = "_button_pulse_100f2_50", th = "_pulse_100f2_1", eh = "_button_clone_100f2_58", nh = "_cloneFade_100f2_1", oh = "_logo_100f2_78", rh = "_buttonInner_100f2_93", xt = {
4120
4122
  buttonWrapper: Fm,
@@ -4150,7 +4152,7 @@ const bg = (t) => {
4150
4152
  rules: t,
4151
4153
  pauseAnimation: e
4152
4154
  }) => {
4153
- var c, l, u, _, p, d, g;
4155
+ var c, l, u, d, p, _, m;
4154
4156
  const n = ((c = t == null ? void 0 : t.button) == null ? void 0 : c.animationName) === "pulseWithOverlay", o = ((l = t == null ? void 0 : t.button) == null ? void 0 : l.animationName) === "increase", {
4155
4157
  cloneAnimation: r,
4156
4158
  pulseAnimation: i
@@ -4158,7 +4160,7 @@ const bg = (t) => {
4158
4160
  return a("div", {
4159
4161
  className: O(xt.buttonWrapper, {
4160
4162
  [xt.variant2]: ((u = t == null ? void 0 : t.root) == null ? void 0 : u.variant) === "variant2",
4161
- [xt.variant3]: ((_ = t == null ? void 0 : t.root) == null ? void 0 : _.variant) === "variant3"
4163
+ [xt.variant3]: ((d = t == null ? void 0 : t.root) == null ? void 0 : d.variant) === "variant3"
4162
4164
  }),
4163
4165
  children: a("div", {
4164
4166
  className: O(xt.button, {
@@ -4174,12 +4176,12 @@ const bg = (t) => {
4174
4176
  className: xt.buttonInner,
4175
4177
  children: [!((p = t == null ? void 0 : t.logo) != null && p.hidden) && a("img", {
4176
4178
  className: xt.logo,
4177
- src: (d = t.logo) == null ? void 0 : d.imageSource,
4179
+ src: (_ = t.logo) == null ? void 0 : _.imageSource,
4178
4180
  alt: "cover",
4179
4181
  style: t == null ? void 0 : t.logo
4180
4182
  }), a(S, {
4181
4183
  tag: "span",
4182
- children: (g = t == null ? void 0 : t.button) == null ? void 0 : g.children
4184
+ children: (m = t == null ? void 0 : t.button) == null ? void 0 : m.children
4183
4185
  })]
4184
4186
  })
4185
4187
  })
@@ -4196,12 +4198,12 @@ const bg = (t) => {
4196
4198
  onClick: l
4197
4199
  }) => {
4198
4200
  var tt, R, j, nt, Y;
4199
- const u = J(null), _ = Q(), p = Ft({
4201
+ const u = J(null), d = Q(), p = Ft({
4200
4202
  id: t,
4201
4203
  targetRef: u
4202
- }), d = Ht(_, p), g = U(d), m = g.promotion, h = !!(m != null && m.isAdaptiveMode);
4203
- Et(d);
4204
- const C = Gm(g, s, n), f = (T, y, v) => ({
4204
+ }), _ = Ht(d, p), m = U(_), h = m.promotion, f = !!(h != null && h.isAdaptiveMode);
4205
+ Et(_);
4206
+ const C = Gm(m, s, n), g = (T, y, v) => ({
4205
4207
  text: a(cm, {
4206
4208
  isActive: y,
4207
4209
  pauseAnimation: o
@@ -4221,41 +4223,41 @@ const bg = (t) => {
4221
4223
  }), {
4222
4224
  animatedIdx: L,
4223
4225
  countOfTick: D
4224
- } = Ym($, o), I = U($[L] || {}), P = ($ == null ? void 0 : $.length) > 1, et = At(g.root, ...Nt), W = (tt = I == null ? void 0 : I.root) != null && tt.hasCustomBackground ? zt((I == null ? void 0 : I.root) || {}, ...Nt) : zt(g.root, ...Nt);
4226
+ } = Ym($, o), I = U($[L] || {}), P = ($ == null ? void 0 : $.length) > 1, et = At(m.root, ...Nt), W = (tt = I == null ? void 0 : I.root) != null && tt.hasCustomBackground ? zt((I == null ? void 0 : I.root) || {}, ...Nt) : zt(m.root, ...Nt);
4225
4227
  return a("div", {
4226
4228
  ref: u,
4227
4229
  className: O(ot.root, e == null ? void 0 : e.root, {
4228
4230
  [ot.desktop]: p === "desktop",
4229
4231
  [ot.laptop]: p === "laptop",
4230
4232
  [ot.tablet]: p === "tablet",
4231
- [ot.variant2]: ((R = g.root) == null ? void 0 : R.variant) === "variant2",
4232
- [ot.variant3]: ((j = g.root) == null ? void 0 : j.variant) === "variant3",
4233
- [ot.adaptiveLegal]: h
4233
+ [ot.variant2]: ((R = m.root) == null ? void 0 : R.variant) === "variant2",
4234
+ [ot.variant3]: ((j = m.root) == null ? void 0 : j.variant) === "variant3",
4235
+ [ot.adaptiveLegal]: f
4234
4236
  }),
4235
4237
  children: [a("div", {
4236
4238
  className: O(ot.close, e == null ? void 0 : e.close),
4237
- style: g.close,
4239
+ style: m.close,
4238
4240
  onClick: c,
4239
4241
  children: a(te, {
4240
4242
  width: 9,
4241
4243
  height: 9
4242
4244
  })
4243
- }), h && a("div", {
4245
+ }), f && a("div", {
4244
4246
  className: ot.background,
4245
4247
  style: W
4246
4248
  }), a("div", {
4247
4249
  className: O(ot.body, e == null ? void 0 : e.body),
4248
4250
  style: et,
4249
- children: [!h && a(S, {
4251
+ children: [!f && a(S, {
4250
4252
  className: ot.promotion,
4251
- style: m,
4252
- children: m == null ? void 0 : m.children
4253
+ style: h,
4254
+ children: h == null ? void 0 : h.children
4253
4255
  }), a("a", {
4254
- href: (nt = g.root) == null ? void 0 : nt.offer,
4256
+ href: (nt = m.root) == null ? void 0 : nt.offer,
4255
4257
  target: "_blank",
4256
4258
  rel: "nofollow noopener noreferrer",
4257
4259
  onClick: l,
4258
- children: [!h && a("div", {
4260
+ children: [!f && a("div", {
4259
4261
  className: ot.background,
4260
4262
  style: W
4261
4263
  }), a("div", {
@@ -4264,7 +4266,7 @@ const bg = (t) => {
4264
4266
  className: ot.left,
4265
4267
  children: a("div", {
4266
4268
  className: ot.logo,
4267
- style: g.logo
4269
+ style: m.logo
4268
4270
  })
4269
4271
  }), a("div", {
4270
4272
  className: ot.center,
@@ -4285,30 +4287,30 @@ const bg = (t) => {
4285
4287
  value: w(k({}, T), {
4286
4288
  device: p
4287
4289
  }),
4288
- children: f(T.name, L === y)
4290
+ children: g(T.name, L === y)
4289
4291
  })
4290
4292
  }, y))
4291
4293
  }), a("div", {
4292
4294
  className: ot.right,
4293
4295
  children: [a("img", {
4294
4296
  className: ot.logo,
4295
- src: (Y = g.logo) == null ? void 0 : Y.imageSource,
4296
- style: g.logo
4297
+ src: (Y = m.logo) == null ? void 0 : Y.imageSource,
4298
+ style: m.logo
4297
4299
  }), a(ih, {
4298
- rules: g,
4300
+ rules: m,
4299
4301
  pauseAnimation: o
4300
4302
  })]
4301
4303
  })]
4302
4304
  })]
4303
4305
  })]
4304
- }), h && // Выравнивание слоя перебиваем намеренно: растянутая полоса всегда центрует текст,
4306
+ }), f && // Выравнивание слоя перебиваем намеренно: растянутая полоса всегда центрует текст,
4305
4307
  // а инлайновый textAlign из настроек не дал бы это сделать через CSS-класс
4306
4308
  a(S, {
4307
4309
  className: ot.promotion,
4308
- style: w(k({}, m), {
4310
+ style: w(k({}, h), {
4309
4311
  textAlign: "center"
4310
4312
  }),
4311
- children: m == null ? void 0 : m.children
4313
+ children: h == null ? void 0 : h.children
4312
4314
  })]
4313
4315
  });
4314
4316
  }, Y0 = Bt(a(ch, {})), lh = "_content_c8kee_1", _h = "_desktop_c8kee_6", dh = "_laptop_c8kee_6", uh = "_tablet_c8kee_6", he = {
@@ -4373,11 +4375,11 @@ const bg = (t) => {
4373
4375
  }), Th = ({
4374
4376
  onClick: t
4375
4377
  }) => {
4376
- var d, g, m, h, C, f, $, L;
4377
- const e = Q(), n = U(e), [o, r] = pe(), i = n.legalInfoButton, s = !!(i != null && i.closeText && ((d = i == null ? void 0 : i.closeText) == null ? void 0 : d.length) > 0), c = (g = n.legalInfo) == null ? void 0 : g.children, {
4378
+ var _, m, h, f, C, g, $, L;
4379
+ const e = Q(), n = U(e), [o, r] = pe(), i = n.legalInfoButton, s = !!(i != null && i.closeText && ((_ = i == null ? void 0 : i.closeText) == null ? void 0 : _.length) > 0), c = (m = n.legalInfo) == null ? void 0 : m.children, {
4378
4380
  visible: l,
4379
4381
  hidden: u
4380
- } = xe(c), _ = u.length > 0 && s, p = _ && !o ? l : [l, u].filter(Boolean).join(" ");
4382
+ } = xe(c), d = u.length > 0 && s, p = d && !o ? l : [l, u].filter(Boolean).join(" ");
4381
4383
  return a("div", {
4382
4384
  className: Tt.root,
4383
4385
  style: n.root,
@@ -4388,12 +4390,12 @@ const bg = (t) => {
4388
4390
  children: [a(S, {
4389
4391
  className: Tt.text,
4390
4392
  style: n.text,
4391
- typography: (m = n.text) == null ? void 0 : m.typography,
4392
- accentTypography: (h = n.text) == null ? void 0 : h.accentTypography,
4393
+ typography: (h = n.text) == null ? void 0 : h.typography,
4394
+ accentTypography: (f = n.text) == null ? void 0 : f.accentTypography,
4393
4395
  children: (C = n.text) == null ? void 0 : C.children
4394
4396
  }), a(S, {
4395
4397
  style: n.bookmaker,
4396
- children: (f = n.bookmaker) == null ? void 0 : f.children
4398
+ children: (g = n.bookmaker) == null ? void 0 : g.children
4397
4399
  })]
4398
4400
  }), a(S, {
4399
4401
  className: Tt.button,
@@ -4415,7 +4417,7 @@ const bg = (t) => {
4415
4417
  }), a("div", {
4416
4418
  className: O(Tt.legal, {
4417
4419
  [Tt.open]: o,
4418
- [Tt.legalStatic]: _
4420
+ [Tt.legalStatic]: d
4419
4421
  }),
4420
4422
  style: n.legalInfo,
4421
4423
  children: a("div", {
@@ -4447,11 +4449,11 @@ const bg = (t) => {
4447
4449
  }, Bh = ({
4448
4450
  onClick: t
4449
4451
  }) => {
4450
- var p, d, g, m, h, C, f, $, L, D, I;
4451
- const e = Q(), n = U(e), [o, r] = pe(), i = !!((p = n.legalInfoButton) != null && p.closeText && ((g = (d = n.legalInfoButton) == null ? void 0 : d.closeText) == null ? void 0 : g.length) > 0), s = (m = n.legalInfo) == null ? void 0 : m.children, {
4452
+ var p, _, m, h, f, C, g, $, L, D, I;
4453
+ const e = Q(), n = U(e), [o, r] = pe(), i = !!((p = n.legalInfoButton) != null && p.closeText && ((m = (_ = n.legalInfoButton) == null ? void 0 : _.closeText) == null ? void 0 : m.length) > 0), s = (h = n.legalInfo) == null ? void 0 : h.children, {
4452
4454
  visible: c,
4453
4455
  hidden: l
4454
- } = xe(s), u = l.length > 0 && i, _ = u && !o ? c : [c, l].filter(Boolean).join(" ");
4456
+ } = xe(s), u = l.length > 0 && i, d = u && !o ? c : [c, l].filter(Boolean).join(" ");
4455
4457
  return a("div", {
4456
4458
  className: O(wt.root, {
4457
4459
  [wt.open]: o,
@@ -4466,9 +4468,9 @@ const bg = (t) => {
4466
4468
  children: [a(S, {
4467
4469
  className: wt.text,
4468
4470
  style: n.text,
4469
- typography: (h = n.text) == null ? void 0 : h.typography,
4471
+ typography: (f = n.text) == null ? void 0 : f.typography,
4470
4472
  accentTypography: (C = n.text) == null ? void 0 : C.accentTypography,
4471
- children: (f = n.text) == null ? void 0 : f.children
4473
+ children: (g = n.text) == null ? void 0 : g.children
4472
4474
  }), a("div", {
4473
4475
  className: wt.button,
4474
4476
  style: n.button,
@@ -4494,7 +4496,7 @@ const bg = (t) => {
4494
4496
  style: n.legalInfo,
4495
4497
  children: [a(S, {
4496
4498
  className: wt.legalText,
4497
- children: _
4499
+ children: d
4498
4500
  }), a("div", {
4499
4501
  className: wt.legalMore,
4500
4502
  style: n.legalInfoButton,
@@ -4566,7 +4568,7 @@ const bg = (t) => {
4566
4568
  id: t,
4567
4569
  onClick: e
4568
4570
  }, n) => {
4569
- var _, p, d, g, m, h, C, f, $, L, D;
4571
+ var d, p, _, m, h, f, C, g, $, L, D;
4570
4572
  const [o, r] = pe(), i = J(null), s = Q(), c = Ft({
4571
4573
  targetRef: i,
4572
4574
  id: t
@@ -4584,14 +4586,14 @@ const bg = (t) => {
4584
4586
  className: ht.content,
4585
4587
  target: "_blank",
4586
4588
  rel: "nofollow noopener noreferrer",
4587
- href: (_ = u.root) == null ? void 0 : _.offer,
4589
+ href: (d = u.root) == null ? void 0 : d.offer,
4588
4590
  onClick: e,
4589
4591
  children: [a("div", {
4590
4592
  className: ht.text,
4591
4593
  children: a(S, {
4592
4594
  typography: (p = u.text) == null ? void 0 : p.typography,
4593
- accentTypography: (d = u.text) == null ? void 0 : d.accentTypography,
4594
- children: (g = u.text) == null ? void 0 : g.children
4595
+ accentTypography: (_ = u.text) == null ? void 0 : _.accentTypography,
4596
+ children: (m = u.text) == null ? void 0 : m.children
4595
4597
  })
4596
4598
  }), a("div", {
4597
4599
  className: ht.button,
@@ -4602,8 +4604,8 @@ const bg = (t) => {
4602
4604
  }), a("div", {
4603
4605
  className: ht.buttonText,
4604
4606
  children: a(S, {
4605
- typography: (m = u.button) == null ? void 0 : m.typography,
4606
- accentTypography: (h = u.button) == null ? void 0 : h.accentTypography,
4607
+ typography: (h = u.button) == null ? void 0 : h.typography,
4608
+ accentTypography: (f = u.button) == null ? void 0 : f.accentTypography,
4607
4609
  children: (C = u.button) == null ? void 0 : C.children
4608
4610
  })
4609
4611
  })]
@@ -4617,7 +4619,7 @@ const bg = (t) => {
4617
4619
  className: ht.legalText,
4618
4620
  children: a(S, {
4619
4621
  tag: "span",
4620
- children: (f = u.legal) == null ? void 0 : f.children
4622
+ children: (g = u.legal) == null ? void 0 : g.children
4621
4623
  })
4622
4624
  }), (($ = u == null ? void 0 : u.legal) == null ? void 0 : $.hasButton) && a("span", {
4623
4625
  className: ht.legalButton,
@@ -4667,37 +4669,37 @@ const bg = (t) => {
4667
4669
  matches: "one_x_two",
4668
4670
  matchesOneTwo: "one_two"
4669
4671
  }, Lo = (t) => [I1[t]], R1 = (t, e, n) => {
4670
- const o = (h) => {
4672
+ const o = (f) => {
4671
4673
  var C;
4672
- return Z(h == null ? void 0 : h.matchSlug) && ((C = h == null ? void 0 : h.matchSlug) == null ? void 0 : C.length) > 0 || (h == null ? void 0 : h.isAuto);
4673
- }, r = (t == null ? void 0 : t.children) || [], i = r.filter((h) => {
4674
+ return Z(f == null ? void 0 : f.matchSlug) && ((C = f == null ? void 0 : f.matchSlug) == null ? void 0 : C.length) > 0 || (f == null ? void 0 : f.isAuto);
4675
+ }, r = (t == null ? void 0 : t.children) || [], i = r.filter((f) => {
4674
4676
  var C;
4675
- return o((C = h == null ? void 0 : h.root) == null ? void 0 : C.targetMatch);
4676
- }).map((h) => {
4677
+ return o((C = f == null ? void 0 : f.root) == null ? void 0 : C.targetMatch);
4678
+ }).map((f) => {
4677
4679
  var C;
4678
- return w(k({}, (C = h == null ? void 0 : h.root) == null ? void 0 : C.targetMatch), {
4679
- markets: Lo(h.name)
4680
+ return w(k({}, (C = f == null ? void 0 : f.root) == null ? void 0 : C.targetMatch), {
4681
+ markets: Lo(f.name)
4680
4682
  });
4681
- }), s = i.find((h) => h.isAuto), c = Ue(i), l = (i == null ? void 0 : i.length) > 0, {
4683
+ }), s = i.find((f) => f.isAuto), c = Ue(i), l = (i == null ? void 0 : i.length) > 0, {
4682
4684
  data: u,
4683
- execute: _,
4685
+ execute: d,
4684
4686
  fetching: p
4685
4687
  } = ee(`${e}/match-list`, {
4686
4688
  method: "POST",
4687
4689
  body: {
4688
- matches: i.map((h) => ({
4689
- slug: h.matchSlug,
4690
- sport_slug: h.sportSlug,
4691
- lang: h.langSlug,
4692
- bookmaker_slug: h.bookmaker,
4693
- offset: h.offset,
4694
- markets: h.markets
4690
+ matches: i.map((f) => ({
4691
+ slug: f.matchSlug,
4692
+ sport_slug: f.sportSlug,
4693
+ lang: f.langSlug,
4694
+ bookmaker_slug: f.bookmaker,
4695
+ offset: f.offset,
4696
+ markets: f.markets
4695
4697
  }))
4696
4698
  },
4697
4699
  pause: !e || i.length === 0 || s
4698
4700
  }), {
4699
- match: d,
4700
- fetching: g
4701
+ match: _,
4702
+ fetching: m
4701
4703
  } = bn({
4702
4704
  dependsOn: "prediction",
4703
4705
  apiHost: e,
@@ -4708,15 +4710,15 @@ const bg = (t) => {
4708
4710
  })
4709
4711
  });
4710
4712
  X(() => {
4711
- We(c, i) || _();
4713
+ We(c, i) || d();
4712
4714
  }, [i]);
4713
- const m = r.map((h) => {
4714
- var C, f, $;
4715
- if ("targetMatch" in ((C = h == null ? void 0 : h.root) != null ? C : {})) {
4716
- const L = Lo(h.name), D = (u || []).find((W) => W.slug === h.root.targetMatch.matchSlug);
4717
- if ((($ = (f = h == null ? void 0 : h.root) == null ? void 0 : f.targetMatch) == null ? void 0 : $.isAuto) && d)
4718
- return w(k({}, h), {
4719
- match: ke(d, {
4715
+ const h = r.map((f) => {
4716
+ var C, g, $;
4717
+ if ("targetMatch" in ((C = f == null ? void 0 : f.root) != null ? C : {})) {
4718
+ const L = Lo(f.name), D = (u || []).find((W) => W.slug === f.root.targetMatch.matchSlug);
4719
+ if ((($ = (g = f == null ? void 0 : f.root) == null ? void 0 : g.targetMatch) == null ? void 0 : $.isAuto) && _)
4720
+ return w(k({}, f), {
4721
+ match: ke(_, {
4720
4722
  markets: L
4721
4723
  })
4722
4724
  });
@@ -4724,17 +4726,17 @@ const bg = (t) => {
4724
4726
  return;
4725
4727
  const P = ke(D, {
4726
4728
  markets: L
4727
- }), et = gn(P, h.root.customMatch, (W, [tt, R]) => Z(R));
4728
- return w(k({}, h), {
4729
+ }), et = gn(P, f.root.customMatch, (W, [tt, R]) => Z(R));
4730
+ return w(k({}, f), {
4729
4731
  match: et
4730
4732
  });
4731
4733
  }
4732
- return h;
4734
+ return f;
4733
4735
  }).filter(Boolean);
4734
4736
  return {
4735
4737
  hasMatches: l,
4736
- resultChildren: m,
4737
- fetching: p || g
4738
+ resultChildren: h,
4739
+ fetching: p || m
4738
4740
  };
4739
4741
  }, B1 = "_root_15dhb_1", H1 = "_desktop_15dhb_9", E1 = "_logos_15dhb_13", P1 = "_tablet_15dhb_24", Y1 = "_w1440_15dhb_24", V1 = "_teamLogo_15dhb_29", G1 = "_teamLogoInside_15dhb_53", F1 = "_teams_15dhb_66", W1 = "_oddWrapper_15dhb_88", U1 = "_oddLabel_15dhb_101", z1 = "_oddValue_15dhb_111", K1 = "_text_15dhb_125", Mt = {
4740
4742
  root: B1,
@@ -4754,21 +4756,21 @@ const bg = (t) => {
4754
4756
  device: e,
4755
4757
  rootState: n
4756
4758
  }) => {
4757
- var f, $, L, D;
4759
+ var g, $, L, D;
4758
4760
  const o = Q(), r = U(o), i = U(n), s = b(r, "match.sportSlug"), l = b(r, "root.predictionLength", "full") === "full" ? b(r, "match.prediction.value") : b(r, "match.prediction.value_short") || b(r, "match.prediction.value"), u = w(k({}, At(r == null ? void 0 : r.root, ...Nt)), {
4759
- alignItems: Vt((f = i.container) == null ? void 0 : f.align)
4760
- }), _ = Rt(() => {
4761
+ alignItems: Vt((g = i.container) == null ? void 0 : g.align)
4762
+ }), d = Rt(() => {
4761
4763
  var P;
4762
4764
  const I = (P = {
4763
4765
  desktop: 14,
4764
4766
  tablet: 12
4765
4767
  }[e]) != null ? P : 9;
4766
4768
  return [$0.mobile].includes(e) && l.length > 35 ? I - 1 : I;
4767
- }, [e, l]), p = b(r, "coef.backgroundColor", "#fff"), d = Number(b(r, "match.prediction.factor", 0)).toFixed(2), g = +b(o, "root.bonusValue", 0), m = +d, h = m === 0, C = be(h ? b(r, "text.fallbackChildren") : ($ = r == null ? void 0 : r.text) == null ? void 0 : $.children, {
4768
- bonusValue: g,
4769
- clearResult: (g * m - g).toFixed(0),
4770
- rawResult: (g * m).toFixed(0),
4771
- rate: m
4769
+ }, [e, l]), p = b(r, "coef.backgroundColor", "#fff"), _ = Number(b(r, "match.prediction.factor", 0)).toFixed(2), m = +b(o, "root.bonusValue", 0), h = +_, f = h === 0, C = be(f ? b(r, "text.fallbackChildren") : ($ = r == null ? void 0 : r.text) == null ? void 0 : $.children, {
4770
+ bonusValue: m,
4771
+ clearResult: (m * h - m).toFixed(0),
4772
+ rawResult: (m * h).toFixed(0),
4773
+ rate: h
4772
4774
  }, {
4773
4775
  parse: !1
4774
4776
  });
@@ -4810,7 +4812,7 @@ const bg = (t) => {
4810
4812
  fallback: "Team B"
4811
4813
  }))
4812
4814
  })]
4813
- }), !h && a("div", {
4815
+ }), !f && a("div", {
4814
4816
  className: Mt.oddWrapper,
4815
4817
  style: {
4816
4818
  borderColor: p
@@ -4818,15 +4820,15 @@ const bg = (t) => {
4818
4820
  children: [a("div", {
4819
4821
  className: Mt.oddLabel,
4820
4822
  style: w(k({}, r == null ? void 0 : r.coefLabel), {
4821
- fontSize: _,
4822
- lineHeight: `${_}px`
4823
+ fontSize: d,
4824
+ lineHeight: `${d}px`
4823
4825
  }),
4824
4826
  children: l
4825
4827
  }), a("div", {
4826
4828
  className: Mt.oddValue,
4827
4829
  style: r == null ? void 0 : r.coef,
4828
4830
  children: a(Ut, {
4829
- odd: d,
4831
+ odd: _,
4830
4832
  formatter: t
4831
4833
  })
4832
4834
  })]
@@ -4865,8 +4867,8 @@ const bg = (t) => {
4865
4867
  const n = Nn(), o = Nn(), r = J(null), i = J(null), s = J(null), c = J(null), l = (u) => `${t}_${u}`;
4866
4868
  return X(() => {
4867
4869
  e || [r, i, s, c].forEach((u) => {
4868
- var _;
4869
- return (_ = u == null ? void 0 : u.current) == null ? void 0 : _.beginElement();
4870
+ var d;
4871
+ return (d = u == null ? void 0 : u.current) == null ? void 0 : d.beginElement();
4870
4872
  });
4871
4873
  }, [e]), a("svg", {
4872
4874
  xmlns: "http://www.w3.org/2000/svg",
@@ -4981,7 +4983,7 @@ const bg = (t) => {
4981
4983
  animationVariant1: n,
4982
4984
  pauseAnimation: o
4983
4985
  }) => {
4984
- var u, _, p, d, g, m, h, C, f, $;
4986
+ var u, d, p, _, m, h, f, C, g, $;
4985
4987
  const r = Kt({
4986
4988
  pause: !n,
4987
4989
  duration: pt.actionDisplayDuration,
@@ -4990,7 +4992,7 @@ const bg = (t) => {
4990
4992
  pause: r || !n,
4991
4993
  duration: 2e3,
4992
4994
  delay: 2250
4993
- }), s = (u = t == null ? void 0 : t.root) == null ? void 0 : u.boltColor, c = (_ = t == null ? void 0 : t.root) == null ? void 0 : _.boltColorAccent, l = (p = t == null ? void 0 : t.container) == null ? void 0 : p.align;
4995
+ }), s = (u = t == null ? void 0 : t.root) == null ? void 0 : u.boltColor, c = (d = t == null ? void 0 : t.root) == null ? void 0 : d.boltColorAccent, l = (p = t == null ? void 0 : t.container) == null ? void 0 : p.align;
4994
4996
  return a("div", {
4995
4997
  className: O(ut.root, {
4996
4998
  [ut.mobile]: e === "mobile",
@@ -5005,7 +5007,7 @@ const bg = (t) => {
5005
5007
  style: {
5006
5008
  "--bolt-color": s,
5007
5009
  "--bolt-accent-color": c,
5008
- "--text-accent-color": (g = (d = t == null ? void 0 : t.text) == null ? void 0 : d.typography) == null ? void 0 : g.color
5010
+ "--text-accent-color": (m = (_ = t == null ? void 0 : t.text) == null ? void 0 : _.typography) == null ? void 0 : m.color
5009
5011
  },
5010
5012
  children: r ? a("div", {
5011
5013
  className: O(ut.boxContainer, {
@@ -5046,10 +5048,10 @@ const bg = (t) => {
5046
5048
  alignItems: Vt(l),
5047
5049
  transformOrigin: l
5048
5050
  }),
5049
- typography: w(k({}, (h = (m = t == null ? void 0 : t.text) == null ? void 0 : m.typography) != null ? h : {}), {
5051
+ typography: w(k({}, (f = (h = t == null ? void 0 : t.text) == null ? void 0 : h.typography) != null ? f : {}), {
5050
5052
  textAlign: (C = t == null ? void 0 : t.container) == null ? void 0 : C.align
5051
5053
  }),
5052
- accentTypography: (f = t == null ? void 0 : t.text) == null ? void 0 : f.accentTypography,
5054
+ accentTypography: (g = t == null ? void 0 : t.text) == null ? void 0 : g.accentTypography,
5053
5055
  children: ($ = t == null ? void 0 : t.text) == null ? void 0 : $.children
5054
5056
  })
5055
5057
  });
@@ -5106,23 +5108,23 @@ const bg = (t) => {
5106
5108
  onClick: u
5107
5109
  }) => {
5108
5110
  var M, x, N, A, B, H, V, z, lt, kt, yt, Ot, vt, rt, mt, Dt, Pt, fe, ne, vn;
5109
- const _ = J(null), p = Q(), d = Ft({
5110
- targetRef: _,
5111
+ const d = J(null), p = Q(), _ = Ft({
5112
+ targetRef: d,
5111
5113
  id: t,
5112
5114
  breakpoints: an
5113
- }), g = Ht(p, d, an), {
5114
- resultChildren: m,
5115
- fetching: h
5116
- } = R1(g, n, r), C = (x = (M = g == null ? void 0 : g.children) == null ? void 0 : M.some(({
5115
+ }), m = Ht(p, _, an), {
5116
+ resultChildren: h,
5117
+ fetching: f
5118
+ } = R1(m, n, r), C = (x = (M = m == null ? void 0 : m.children) == null ? void 0 : M.some(({
5117
5119
  name: ft
5118
5120
  }) => ft === "match")) != null ? x : !1;
5119
- g && (qt(g, "button.percent_width", (N = g == null ? void 0 : g.button) == null ? void 0 : N.width), qt(g, "artifact.percent_right", (A = g == null ? void 0 : g.artifact) == null ? void 0 : A.right));
5120
- const f = U(g), $ = f == null ? void 0 : f.legal, L = !!($ != null && $.children) && !($ != null && $.hidden), [D, I] = pe(), {
5121
+ m && (qt(m, "button.percent_width", (N = m == null ? void 0 : m.button) == null ? void 0 : N.width), qt(m, "artifact.percent_right", (A = m == null ? void 0 : m.artifact) == null ? void 0 : A.right));
5122
+ const g = U(m), $ = g == null ? void 0 : g.legal, L = !!($ != null && $.children) && !($ != null && $.hidden), [D, I] = pe(), {
5121
5123
  visible: P,
5122
5124
  hidden: et
5123
5125
  } = xe($ == null ? void 0 : $.children), W = !!($ != null && $.buttonHideText) && et.length > 0, tt = W && !D ? P : [P, et].filter(Boolean).join(" ");
5124
- Et(g);
5125
- const R = (H = (B = f == null ? void 0 : f.root) == null ? void 0 : B.animation) != null ? H : "none", j = Kt({
5126
+ Et(m);
5127
+ const R = (H = (B = g == null ? void 0 : g.root) == null ? void 0 : B.animation) != null ? H : "none", j = Kt({
5126
5128
  pause: R !== "variant1",
5127
5129
  duration: pt.badgePulseDuration,
5128
5130
  delay: (ft) => ft === 0 ? pt.actionDisplayDuration : ft % pt.countPulses ? pt.badgePulseGap : pt.badgePulseDuration + pt.actionDisplayDuration
@@ -5130,43 +5132,43 @@ const bg = (t) => {
5130
5132
  pause: R === "none",
5131
5133
  duration: pt.buttonPulseDuration,
5132
5134
  delay: (ft) => C0(R, ft)
5133
- }), Y = w(k({}, f == null ? void 0 : f.container), {
5134
- alignItems: Vt((V = f == null ? void 0 : f.container) == null ? void 0 : V.align)
5135
- }), T = !!(m != null && m.some((ft) => ft.name === "bonus")), y = (ft) => ({
5135
+ }), Y = w(k({}, g == null ? void 0 : g.container), {
5136
+ alignItems: Vt((V = g == null ? void 0 : g.container) == null ? void 0 : V.align)
5137
+ }), T = !!(h != null && h.some((ft) => ft.name === "bonus")), y = (ft) => ({
5136
5138
  match: a(Z1, {
5137
5139
  oddFormatter: o,
5138
- device: d,
5139
- rootState: g,
5140
+ device: _,
5141
+ rootState: m,
5140
5142
  animationVariant: R
5141
5143
  }),
5142
5144
  bonus: a(v0, {
5143
- device: d,
5144
- rootState: g,
5145
+ device: _,
5146
+ rootState: m,
5145
5147
  onClick: (cr) => u(p, cr)
5146
5148
  })
5147
5149
  })[ft];
5148
5150
  X(() => {
5149
5151
  s && s(p);
5150
5152
  }, []), X(() => {
5151
- g && (c && C && !h && (m != null && m.length) ? c({
5153
+ m && (c && C && !f && (h != null && h.length) ? c({
5152
5154
  readyPayload: i,
5153
5155
  willWithMatches: C
5154
5156
  }) : c && !C && (c == null || c({
5155
5157
  readyPayload: i,
5156
5158
  willWithMatches: C
5157
5159
  })));
5158
- }, [m, h, C]);
5159
- const v = fn(f == null ? void 0 : f.title) && "hidden" in (f == null ? void 0 : f.title) ? (z = f == null ? void 0 : f.title) == null ? void 0 : z.hidden : !0;
5160
+ }, [h, f, C]);
5161
+ const v = fn(g == null ? void 0 : g.title) && "hidden" in (g == null ? void 0 : g.title) ? (z = g == null ? void 0 : g.title) == null ? void 0 : z.hidden : !0;
5160
5162
  return a("div", {
5161
- className: O(G.root, G[d], {
5163
+ className: O(G.root, G[_], {
5162
5164
  [G.withoutLegal]: !L,
5163
5165
  [G.isBonuses]: T,
5164
- [G.isColumn]: rn.includes(d)
5166
+ [G.isColumn]: rn.includes(_)
5165
5167
  }),
5166
5168
  children: [a("div", {
5167
5169
  className: G.close,
5168
- style: w(k({}, f == null ? void 0 : f.close), {
5169
- borderTopRightRadius: +((lt = f == null ? void 0 : f.container) == null ? void 0 : lt.corner)
5170
+ style: w(k({}, g == null ? void 0 : g.close), {
5171
+ borderTopRightRadius: +((lt = g == null ? void 0 : g.container) == null ? void 0 : lt.corner)
5170
5172
  }),
5171
5173
  onClick: () => l(),
5172
5174
  children: a(te, {
@@ -5174,25 +5176,25 @@ const bg = (t) => {
5174
5176
  height: 9
5175
5177
  })
5176
5178
  }), a("a", {
5177
- href: (kt = f == null ? void 0 : f.root) == null ? void 0 : kt.offer,
5179
+ href: (kt = g == null ? void 0 : g.root) == null ? void 0 : kt.offer,
5178
5180
  target: "_blank",
5179
5181
  rel: "nofollow noopener noreferrer",
5180
5182
  onClick: () => u(p),
5181
5183
  className: G.link,
5182
- ref: _,
5184
+ ref: d,
5183
5185
  children: [a("div", {
5184
5186
  className: O(G.badge, {
5185
5187
  [G.badge_center]: (Y == null ? void 0 : Y.align) === "center",
5186
5188
  [G.badge_right]: (Y == null ? void 0 : Y.align) === "right"
5187
5189
  }),
5188
- style: f == null ? void 0 : f.badge,
5190
+ style: g == null ? void 0 : g.badge,
5189
5191
  children: a("div", {
5190
5192
  className: G.badgeLogo,
5191
- style: f == null ? void 0 : f.logo
5193
+ style: g == null ? void 0 : g.logo
5192
5194
  })
5193
5195
  }), a("div", {
5194
5196
  className: G.artifact,
5195
- style: f == null ? void 0 : f.artifact
5197
+ style: g == null ? void 0 : g.artifact
5196
5198
  }), a("div", {
5197
5199
  className: G.container,
5198
5200
  style: Y,
@@ -5207,42 +5209,42 @@ const bg = (t) => {
5207
5209
  [G.badgeCopy_center]: (Y == null ? void 0 : Y.align) === "center",
5208
5210
  [G.badgeCopy_right]: (Y == null ? void 0 : Y.align) === "right"
5209
5211
  }),
5210
- style: f == null ? void 0 : f.badge
5212
+ style: g == null ? void 0 : g.badge
5211
5213
  })
5212
- }), !v && !!((Ot = (yt = f == null ? void 0 : f.title) == null ? void 0 : yt.children) != null && Ot.length) && a("div", {
5214
+ }), !v && !!((Ot = (yt = g == null ? void 0 : g.title) == null ? void 0 : yt.children) != null && Ot.length) && a("div", {
5213
5215
  className: G.title,
5214
5216
  children: a(S, {
5215
- typography: f == null ? void 0 : f.title,
5216
- children: (vt = f == null ? void 0 : f.title) == null ? void 0 : vt.children
5217
+ typography: g == null ? void 0 : g.title,
5218
+ children: (vt = g == null ? void 0 : g.title) == null ? void 0 : vt.children
5217
5219
  })
5218
- }), (((mt = (rt = f == null ? void 0 : f.text) == null ? void 0 : rt.children) == null ? void 0 : mt.length) === 0 || ((Dt = f == null ? void 0 : f.text) == null ? void 0 : Dt.hidden)) && a("div", {
5220
+ }), (((mt = (rt = g == null ? void 0 : g.text) == null ? void 0 : rt.children) == null ? void 0 : mt.length) === 0 || ((Dt = g == null ? void 0 : g.text) == null ? void 0 : Dt.hidden)) && a("div", {
5219
5221
  className: O(G.containerInner, {
5220
5222
  [G.containerBonuses]: T
5221
5223
  }),
5222
- children: (m || []).map((ft) => a(Gt, {
5224
+ children: (h || []).map((ft) => a(Gt, {
5223
5225
  value: w(k({}, ft), {
5224
- device: d
5226
+ device: _
5225
5227
  }),
5226
5228
  children: y(ft.name)
5227
5229
  }))
5228
- }), !((Pt = f == null ? void 0 : f.text) != null && Pt.hidden) && a(g0, {
5229
- rules: f,
5230
+ }), !((Pt = g == null ? void 0 : g.text) != null && Pt.hidden) && a(g0, {
5231
+ rules: g,
5230
5232
  pauseAnimation: e,
5231
- device: d,
5233
+ device: _,
5232
5234
  animationVariant1: R === "variant1"
5233
5235
  }), a("div", {
5234
5236
  className: O(G.button, {
5235
5237
  [G.button_increase]: nt
5236
5238
  }),
5237
- style: f == null ? void 0 : f.button,
5238
- children: [((fe = f == null ? void 0 : f.button) == null ? void 0 : fe.withLogo) && a("div", {
5239
+ style: g == null ? void 0 : g.button,
5240
+ children: [((fe = g == null ? void 0 : g.button) == null ? void 0 : fe.withLogo) && a("div", {
5239
5241
  className: G.badgeLogo,
5240
- style: f == null ? void 0 : f.logo
5242
+ style: g == null ? void 0 : g.logo
5241
5243
  }), a("div", {
5242
5244
  className: G.buttonContent,
5243
5245
  children: a(S, {
5244
- typography: (ne = f == null ? void 0 : f.button) == null ? void 0 : ne.typography,
5245
- children: (vn = f == null ? void 0 : f.button) == null ? void 0 : vn.children
5246
+ typography: (ne = g == null ? void 0 : g.button) == null ? void 0 : ne.typography,
5247
+ children: (vn = g == null ? void 0 : g.button) == null ? void 0 : vn.children
5246
5248
  })
5247
5249
  })]
5248
5250
  })]
@@ -5276,7 +5278,7 @@ const bg = (t) => {
5276
5278
  onMount: e,
5277
5279
  onClick: n
5278
5280
  }) => {
5279
- var l, u, _, p, d;
5281
+ var l, u, d, p, _;
5280
5282
  const o = J(null), r = Q(), i = Ft({
5281
5283
  targetRef: o,
5282
5284
  id: t,
@@ -5294,13 +5296,13 @@ const bg = (t) => {
5294
5296
  style: c == null ? void 0 : c.text,
5295
5297
  typography: (l = c.text) == null ? void 0 : l.typography,
5296
5298
  accentTypography: (u = c.text) == null ? void 0 : u.accentTypography,
5297
- children: (_ = c == null ? void 0 : c.text) == null ? void 0 : _.children
5299
+ children: (d = c == null ? void 0 : c.text) == null ? void 0 : d.children
5298
5300
  }), a("div", {
5299
5301
  className: Ae.button,
5300
5302
  style: c == null ? void 0 : c.button,
5301
5303
  children: a(S, {
5302
5304
  typography: (p = c == null ? void 0 : c.button) == null ? void 0 : p.typography,
5303
- children: (d = c == null ? void 0 : c.button) == null ? void 0 : d.children
5305
+ children: (_ = c == null ? void 0 : c.button) == null ? void 0 : _.children
5304
5306
  })
5305
5307
  })]
5306
5308
  });