@adstore/templates 2.6.10 → 2.6.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -125,7 +125,7 @@ function Jo(e, t, o) {
125
125
  }
126
126
  return n.__N || n.__;
127
127
  }
128
- function M(e, t) {
128
+ function E(e, t) {
129
129
  var o = Le(he++, 3);
130
130
  !h.__s && st(o.__H, t) && (o.__ = e, o.i = t, w.__H.__h.push(o));
131
131
  }
@@ -1279,7 +1279,7 @@ const Mo = Wo(), ce = ({
1279
1279
  wiggle: `${e.wiggle} 2s linear infinite`,
1280
1280
  gradient: `${e.gradient} 3s ease infinite`
1281
1281
  }), Vo = (e, t) => {
1282
- var d, p, u, g, v, b, $, E, F, P, H, V, D;
1282
+ var d, p, u, g, v, b, $, F, z, P, H, R, V;
1283
1283
  const o = W_(t), n = j(e), r = (d = n == null ? void 0 : n.icon) == null ? void 0 : d.hasIcon, c = {
1284
1284
  left: `${+(((p = e == null ? void 0 : e.container) == null ? void 0 : p.left) || 0) * -1 + 8}px`,
1285
1285
  backgroundColor: (u = n == null ? void 0 : n.container) == null ? void 0 : u.backgroundColor,
@@ -1290,9 +1290,9 @@ const Mo = Wo(), ce = ({
1290
1290
  borderLeftColor: ($ = n == null ? void 0 : n.container) == null ? void 0 : $.borderColor,
1291
1291
  borderLeftStyle: "solid"
1292
1292
  }, s = {
1293
- left: (E = n == null ? void 0 : n.container) == null ? void 0 : E.left
1294
- }, l = (((F = n == null ? void 0 : n.icon) == null ? void 0 : F.animations) || []).map((k) => o[k]).join(", "), _ = S((P = n == null ? void 0 : n.icon) == null ? void 0 : P.gradientColor) && ((H = n == null ? void 0 : n.icon) != null && H.animations.includes("gradient")) ? {
1295
- background: `linear-gradient(-90deg, ${(V = n.icon) == null ? void 0 : V.backgroundColor} 0%, ${(D = n == null ? void 0 : n.icon) == null ? void 0 : D.gradientColor} 100%) 0% 0% / 400% 400%`,
1293
+ left: (F = n == null ? void 0 : n.container) == null ? void 0 : F.left
1294
+ }, l = (((z = n == null ? void 0 : n.icon) == null ? void 0 : z.animations) || []).map((k) => o[k]).join(", "), _ = S((P = n == null ? void 0 : n.icon) == null ? void 0 : P.gradientColor) && ((H = n == null ? void 0 : n.icon) != null && H.animations.includes("gradient")) ? {
1295
+ background: `linear-gradient(-90deg, ${(R = n.icon) == null ? void 0 : R.backgroundColor} 0%, ${(V = n == null ? void 0 : n.icon) == null ? void 0 : V.gradientColor} 100%) 0% 0% / 400% 400%`,
1296
1296
  backgroundSize: "400% 400%"
1297
1297
  } : n == null ? void 0 : n.icon, i = f(y(f({}, (n == null ? void 0 : n.icon) || {}), {
1298
1298
  animation: l
@@ -1310,7 +1310,7 @@ const Mo = Wo(), ce = ({
1310
1310
  rel: "stylesheet",
1311
1311
  href: `https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`
1312
1312
  })), [t]);
1313
- M(() => {
1313
+ E(() => {
1314
1314
  o.forEach(Yl);
1315
1315
  }, [o]);
1316
1316
  }, X = ["backgroundColor", "backgroundColorOpacity", "backgroundImage", "backgroundSize", "backgroundRepeat"], Z_ = ["borderWidth", "borderColor", "borderStyle"], no = ["imageSource", "objectFit"], Fe = ["marginTop", "marginBottom", "marginLeft", "marginRight", "paddingTop", "paddingBottom", "paddingLeft", "paddingRight"], K_ = ({
@@ -1328,12 +1328,12 @@ const Mo = Wo(), ce = ({
1328
1328
  }, p = () => {
1329
1329
  d(), r && r();
1330
1330
  };
1331
- return M(() => {
1331
+ return E(() => {
1332
1332
  if (!c)
1333
1333
  return _.current = setTimeout(() => {
1334
1334
  l(!0), o && o();
1335
1335
  }, e || 1e3), () => i(_.current);
1336
- }, [e, c]), M(() => {
1336
+ }, [e, c]), E(() => {
1337
1337
  s && !_.current && t && t();
1338
1338
  }, [s]), {
1339
1339
  isOpen: s,
@@ -1365,7 +1365,7 @@ const Mo = Wo(), ce = ({
1365
1365
  onClose: l,
1366
1366
  onAutoOpen: s,
1367
1367
  resetListeners: n.current.reset
1368
- })), M(() => n.current.reset, []), {
1368
+ })), E(() => n.current.reset, []), {
1369
1369
  isOpen: i,
1370
1370
  toggle: d,
1371
1371
  onCrossClick: p,
@@ -1375,7 +1375,7 @@ const Mo = Wo(), ce = ({
1375
1375
  id: e,
1376
1376
  disableAutoOpen: t
1377
1377
  }, o) => {
1378
- var P, H, V, D, k, W, G, z, re;
1378
+ var P, H, R, V, k, W, G, D, re;
1379
1379
  const n = q(null), [r, c] = Xe(), s = I(), l = fe({
1380
1380
  targetRef: n,
1381
1381
  id: e
@@ -1393,14 +1393,14 @@ const Mo = Wo(), ce = ({
1393
1393
  isOpen: v,
1394
1394
  toggle: b,
1395
1395
  click: $,
1396
- onCrossClick: E
1396
+ onCrossClick: F
1397
1397
  } = Bo({
1398
1398
  ref: o,
1399
1399
  openDelay: (P = _ == null ? void 0 : _.container) == null ? void 0 : P.delay,
1400
1400
  disableAutoOpen: t
1401
1401
  });
1402
1402
  _e(_);
1403
- const F = r ? te(i.container, ...Z_) : {};
1403
+ const z = r ? te(i.container, ...Z_) : {};
1404
1404
  return a("div", {
1405
1405
  className: A(x.root, {
1406
1406
  [x.legalOpen]: r
@@ -1425,7 +1425,7 @@ const Mo = Wo(), ce = ({
1425
1425
  }), a("div", {
1426
1426
  className: x.close,
1427
1427
  style: i == null ? void 0 : i.close,
1428
- onClick: E,
1428
+ onClick: F,
1429
1429
  children: a(ke, {})
1430
1430
  }), a("div", {
1431
1431
  className: x.container,
@@ -1443,8 +1443,8 @@ const Mo = Wo(), ce = ({
1443
1443
  }), a(K, {
1444
1444
  className: x.text,
1445
1445
  style: i == null ? void 0 : i.text,
1446
- typography: (V = i.text) == null ? void 0 : V.typography,
1447
- accentTypography: (D = i.text) == null ? void 0 : D.accentTypography,
1446
+ typography: (R = i.text) == null ? void 0 : R.typography,
1447
+ accentTypography: (V = i.text) == null ? void 0 : V.accentTypography,
1448
1448
  children: (k = i == null ? void 0 : i.text) == null ? void 0 : k.children
1449
1449
  })]
1450
1450
  }), a("div", {
@@ -1458,7 +1458,7 @@ const Mo = Wo(), ce = ({
1458
1458
  className: x.legalGap
1459
1459
  }), a("div", {
1460
1460
  className: x.legal,
1461
- style: f(f({}, i == null ? void 0 : i.legal), F),
1461
+ style: f(f({}, i == null ? void 0 : i.legal), z),
1462
1462
  children: a("span", {
1463
1463
  className: x.legalText,
1464
1464
  children: a("span", {
@@ -1467,7 +1467,7 @@ const Mo = Wo(), ce = ({
1467
1467
  }), a("span", {
1468
1468
  className: x.legalButton,
1469
1469
  onClick: c,
1470
- children: r ? (z = i == null ? void 0 : i.legal) == null ? void 0 : z.buttonOpenText : (re = i == null ? void 0 : i.legal) == null ? void 0 : re.buttonHideText
1470
+ children: r ? (D = i == null ? void 0 : i.legal) == null ? void 0 : D.buttonOpenText : (re = i == null ? void 0 : i.legal) == null ? void 0 : re.buttonHideText
1471
1471
  })]
1472
1472
  })
1473
1473
  })
@@ -1561,30 +1561,31 @@ const Mo = Wo(), ce = ({
1561
1561
  }, Ld = se(({
1562
1562
  id: e
1563
1563
  }, t) => {
1564
- var E, F, P, H;
1564
+ var z, P, H, R;
1565
1565
  const o = q(null), n = I(), r = fe({
1566
1566
  targetRef: o,
1567
1567
  id: e
1568
1568
  }), c = le(n, r), s = j(c), {
1569
1569
  isOpen: l,
1570
1570
  click: _,
1571
- toggle: i
1571
+ toggle: i,
1572
+ onCrossClick: d
1572
1573
  } = Bo({
1573
1574
  ref: t,
1574
- openDelay: (E = c == null ? void 0 : c.container) == null ? void 0 : E.delay
1575
+ openDelay: (z = c == null ? void 0 : c.container) == null ? void 0 : z.delay
1575
1576
  });
1576
1577
  _e(c);
1577
1578
  const {
1578
- hasIcon: d,
1579
- iconRules: p,
1580
- bodyRules: u,
1581
- arrowRules: g
1579
+ hasIcon: p,
1580
+ iconRules: u,
1581
+ bodyRules: g,
1582
+ arrowRules: v
1582
1583
  } = Vo(c, {
1583
1584
  fade: C.fadein,
1584
1585
  pulse: C.pulse,
1585
1586
  wiggle: C.wiggle,
1586
1587
  gradient: C.gradient
1587
- }), v = (F = s == null ? void 0 : s.title) == null ? void 0 : F.hasIcon, b = te(s == null ? void 0 : s.title, ...Fe), $ = ne(s == null ? void 0 : s.title, ...Fe);
1588
+ }), b = (P = s == null ? void 0 : s.title) == null ? void 0 : P.hasIcon, $ = te(s == null ? void 0 : s.title, ...Fe), F = ne(s == null ? void 0 : s.title, ...Fe);
1588
1589
  return a("div", {
1589
1590
  ref: o,
1590
1591
  className: A(C.root, {
@@ -1594,9 +1595,9 @@ const Mo = Wo(), ce = ({
1594
1595
  }),
1595
1596
  children: [a("div", {
1596
1597
  className: C.icon,
1597
- style: p,
1598
+ style: u,
1598
1599
  onClick: i,
1599
- children: d && a("div", {
1600
+ children: p && a("div", {
1600
1601
  className: C.iconTarget,
1601
1602
  children: a(at, {})
1602
1603
  })
@@ -1604,29 +1605,29 @@ const Mo = Wo(), ce = ({
1604
1605
  className: A(C.body, {
1605
1606
  [C.bodyOpen]: l
1606
1607
  }),
1607
- style: u,
1608
+ style: g,
1608
1609
  children: [a("div", {
1609
1610
  className: C.arrow,
1610
- style: g
1611
+ style: v
1611
1612
  }), a("div", {
1612
1613
  className: C.container,
1613
1614
  style: s.container,
1614
1615
  children: [a("div", {
1615
1616
  className: C.close,
1616
1617
  style: s.close,
1617
- onClick: i,
1618
+ onClick: d,
1618
1619
  children: a(ke, {})
1619
1620
  }), a("div", {
1620
1621
  className: C.head,
1621
- style: b,
1622
- children: [v && a("div", {
1622
+ style: $,
1623
+ children: [b && a("div", {
1623
1624
  className: C.headIcon,
1624
1625
  style: te(s.title, "color"),
1625
1626
  children: a(at, {})
1626
1627
  }), a("div", {
1627
1628
  className: C.headTitle,
1628
- style: $,
1629
- children: (P = s.title) == null ? void 0 : P.children
1629
+ style: F,
1630
+ children: (H = s.title) == null ? void 0 : H.children
1630
1631
  })]
1631
1632
  }), a("div", {
1632
1633
  className: C.inner,
@@ -1639,7 +1640,7 @@ const Mo = Wo(), ce = ({
1639
1640
  }), a("div", {
1640
1641
  className: C.promotion,
1641
1642
  style: s.promotion,
1642
- children: (H = s.promotion) == null ? void 0 : H.children
1643
+ children: (R = s.promotion) == null ? void 0 : R.children
1643
1644
  })]
1644
1645
  })]
1645
1646
  })]
@@ -1682,7 +1683,7 @@ const Mo = Wo(), ce = ({
1682
1683
  }), v = () => c(!1), b = () => {
1683
1684
  n.current.emit("clickHide"), v();
1684
1685
  };
1685
- return M(() => {
1686
+ return E(() => {
1686
1687
  _ && n.current.emit("visible", r);
1687
1688
  }, [r, _]), Ae(e, () => ({
1688
1689
  onVisible: d,
@@ -1692,7 +1693,7 @@ const Mo = Wo(), ce = ({
1692
1693
  hide: v,
1693
1694
  setApiHost: l,
1694
1695
  resetListeners: n.current.reset
1695
- })), M(() => n.current.reset, []), {
1696
+ })), E(() => n.current.reset, []), {
1696
1697
  isReady: _,
1697
1698
  isOpen: r,
1698
1699
  apiHost: s,
@@ -1712,12 +1713,12 @@ const Wd = se(({
1712
1713
  id: e,
1713
1714
  className: t
1714
1715
  }, o) => {
1715
- var H, V, D, k, W, G;
1716
+ var H, R, V, k, W, G;
1716
1717
  const n = q(null), r = q(null), c = fe({
1717
1718
  targetRef: n,
1718
1719
  id: e
1719
1720
  }), s = I(), l = le(s, c);
1720
- _e(l), Oe(l, "button.percent_width", (H = l == null ? void 0 : l.button) == null ? void 0 : H.width), Oe(l, "legal.percent_width", (V = l == null ? void 0 : l.legal) == null ? void 0 : V.width);
1721
+ _e(l), Oe(l, "button.percent_width", (H = l == null ? void 0 : l.button) == null ? void 0 : H.width), Oe(l, "legal.percent_width", (R = l == null ? void 0 : l.legal) == null ? void 0 : R.width);
1721
1722
  const _ = j(l), i = m(_, "root.delay", 0), {
1722
1723
  isOpen: d,
1723
1724
  isReady: p,
@@ -1725,26 +1726,26 @@ const Wd = se(({
1725
1726
  clickHide: g,
1726
1727
  click: v
1727
1728
  } = dt(o, i);
1728
- M(() => {
1729
- const z = r.current;
1730
- if (!z)
1729
+ E(() => {
1730
+ const D = r.current;
1731
+ if (!D)
1731
1732
  return;
1732
- if (Ud(z)) {
1733
+ if (Ud(D)) {
1733
1734
  u(!0);
1734
1735
  return;
1735
1736
  }
1736
1737
  const re = () => u(!0);
1737
- return z.addEventListener("load", re), () => {
1738
- z.removeEventListener("load", re);
1738
+ return D.addEventListener("load", re), () => {
1739
+ D.removeEventListener("load", re);
1739
1740
  };
1740
1741
  }, [_]);
1741
1742
  const b = {
1742
- alignItems: de((D = _.root) == null ? void 0 : D.align)
1743
+ alignItems: de((V = _.root) == null ? void 0 : V.align)
1743
1744
  }, $ = y(f({}, _ == null ? void 0 : _.button), {
1744
1745
  justifyContent: de((k = _.root) == null ? void 0 : k.textAlign)
1745
- }), E = y(f({}, _ == null ? void 0 : _.legal), {
1746
+ }), F = y(f({}, _ == null ? void 0 : _.legal), {
1746
1747
  justifyContent: de((W = _.root) == null ? void 0 : W.textAlign)
1747
- }), F = ne(_.root, ...no, ...X), P = te(_.root, ...no);
1748
+ }), z = ne(_.root, ...no, ...X), P = te(_.root, ...no);
1748
1749
  return a("div", {
1749
1750
  className: A(U.root, t, {
1750
1751
  [U.desktop]: c === "desktop",
@@ -1771,7 +1772,7 @@ const Wd = se(({
1771
1772
  target: "_blank",
1772
1773
  rel: "nofollow noopener noreferrer",
1773
1774
  className: U.content,
1774
- style: F,
1775
+ style: z,
1775
1776
  onClick: () => v(_.id),
1776
1777
  children: [a("img", {
1777
1778
  ref: r,
@@ -1787,8 +1788,8 @@ const Wd = se(({
1787
1788
  style: _.logo
1788
1789
  }), a("div", {
1789
1790
  className: U.text,
1790
- children: ((_ == null ? void 0 : _.children) || []).map((z) => a(ce, {
1791
- value: z,
1791
+ children: ((_ == null ? void 0 : _.children) || []).map((D) => a(ce, {
1792
+ value: D,
1792
1793
  children: a(Gd, {})
1793
1794
  }))
1794
1795
  }), a("div", {
@@ -1797,8 +1798,8 @@ const Wd = se(({
1797
1798
  children: $ == null ? void 0 : $.children
1798
1799
  }), a("div", {
1799
1800
  className: U.legal,
1800
- style: E,
1801
- children: E == null ? void 0 : E.children
1801
+ style: F,
1802
+ children: F == null ? void 0 : F.children
1802
1803
  })]
1803
1804
  })]
1804
1805
  })]
@@ -1931,7 +1932,7 @@ const Wd = se(({
1931
1932
  })]
1932
1933
  })]
1933
1934
  });
1934
- }), Kf = ie(a(fu, {})), gu = "_root_1xp54_1", hu = "_content_1xp54_11", mu = "_close_1xp54_19", vu = "_overlay_1xp54_32", yu = "_body_1xp54_38", bu = "_desktop_1xp54_46", $u = "_laptop_1xp54_46", ku = "_tablet_1xp54_50", Nu = "_head_1xp54_55", wu = "_title_1xp54_65", xu = "_logo_1xp54_78", Cu = "_wrapper_1xp54_85", Tu = "_text_1xp54_92", Ou = "_button_1xp54_100", Lu = "_buttonHead_1xp54_115", Au = "_buttonTarget_1xp54_132", ju = "_legal_1xp54_146", R = {
1935
+ }), Kf = ie(a(fu, {})), gu = "_root_1xp54_1", hu = "_content_1xp54_11", mu = "_close_1xp54_19", vu = "_overlay_1xp54_32", yu = "_body_1xp54_38", bu = "_desktop_1xp54_46", $u = "_laptop_1xp54_46", ku = "_tablet_1xp54_50", Nu = "_head_1xp54_55", wu = "_title_1xp54_65", xu = "_logo_1xp54_78", Cu = "_wrapper_1xp54_85", Tu = "_text_1xp54_92", Ou = "_button_1xp54_100", Lu = "_buttonHead_1xp54_115", Au = "_buttonTarget_1xp54_132", ju = "_legal_1xp54_146", M = {
1935
1936
  root: gu,
1936
1937
  content: hu,
1937
1938
  close: mu,
@@ -2067,7 +2068,7 @@ const Wd = se(({
2067
2068
  }).then((d) => d.json());
2068
2069
  s(i.data);
2069
2070
  }), [l, t, n, r]);
2070
- return M(() => {
2071
+ return E(() => {
2071
2072
  t || _();
2072
2073
  }, [l, t]), {
2073
2074
  data: c,
@@ -2076,7 +2077,7 @@ const Wd = se(({
2076
2077
  };
2077
2078
  function Fo(e) {
2078
2079
  const t = q();
2079
- return M(() => {
2080
+ return E(() => {
2080
2081
  t.current = e;
2081
2082
  }, [e]), t.current;
2082
2083
  }
@@ -2101,7 +2102,7 @@ const Zu = (e, t) => {
2101
2102
  },
2102
2103
  pause: !t || r.length === 0
2103
2104
  });
2104
- return M(() => {
2105
+ return E(() => {
2105
2106
  Po(c, r) || l();
2106
2107
  }, [r]), n.map((i) => {
2107
2108
  const d = (s || []).find((g) => g.slug === i.root.targetMatch.matchSlug);
@@ -2115,12 +2116,12 @@ const Zu = (e, t) => {
2115
2116
  }, Ku = se(({
2116
2117
  id: e
2117
2118
  }, t) => {
2118
- var F, P, H, V, D, k, W, G, z, re, ut, pt, ft;
2119
+ var z, P, H, R, V, k, W, G, D, re, ut, pt, ft;
2119
2120
  const o = q(null), n = fe({
2120
2121
  targetRef: o,
2121
2122
  id: e
2122
2123
  }), r = I(), c = le(r, n);
2123
- Oe(c, "buttonWrapper.percent_width", (F = c == null ? void 0 : c.buttonWrapper) == null ? void 0 : F.width), Oe(c, "legal.percent_width", (P = c == null ? void 0 : c.legal) == null ? void 0 : P.width);
2124
+ Oe(c, "buttonWrapper.percent_width", (z = c == null ? void 0 : c.buttonWrapper) == null ? void 0 : z.width), Oe(c, "legal.percent_width", (P = c == null ? void 0 : c.legal) == null ? void 0 : P.width);
2124
2125
  const s = j(c);
2125
2126
  _e(c);
2126
2127
  const l = m(s, "root.delay", 0), {
@@ -2131,32 +2132,32 @@ const Zu = (e, t) => {
2131
2132
  } = dt(t, l, !0), u = Zu(c, i), g = y(f({}, s.root), {
2132
2133
  alignItems: de((H = s.root) == null ? void 0 : H.align)
2133
2134
  }), v = y(f({}, s.content), {
2134
- alignItems: de((V = s.root) == null ? void 0 : V.align)
2135
+ alignItems: de((R = s.root) == null ? void 0 : R.align)
2135
2136
  }), b = y(f({}, s.text), {
2136
- textAlign: (D = s.root) == null ? void 0 : D.align
2137
+ textAlign: (V = s.root) == null ? void 0 : V.align
2137
2138
  }), $ = y(f({}, s == null ? void 0 : s.button), {
2138
2139
  justifyContent: de((k = s.root) == null ? void 0 : k.textAlign)
2139
- }), E = y(f({}, s == null ? void 0 : s.legal), {
2140
+ }), F = y(f({}, s == null ? void 0 : s.legal), {
2140
2141
  justifyContent: de((W = s.root) == null ? void 0 : W.textAlign)
2141
2142
  });
2142
2143
  return a("div", {
2143
- className: A(R.root, {
2144
- [R.desktop]: n === "desktop",
2145
- [R.laptop]: n === "laptop",
2146
- [R.tablet]: n === "tablet"
2144
+ className: A(M.root, {
2145
+ [M.desktop]: n === "desktop",
2146
+ [M.laptop]: n === "laptop",
2147
+ [M.tablet]: n === "tablet"
2147
2148
  }),
2148
2149
  ref: o,
2149
2150
  style: {
2150
2151
  display: _ ? "flex" : "none"
2151
2152
  },
2152
2153
  children: [a("div", {
2153
- className: R.overlay,
2154
+ className: M.overlay,
2154
2155
  style: s.overlay,
2155
2156
  onClick: d
2156
2157
  }), a("div", {
2157
- className: R.content,
2158
+ className: M.content,
2158
2159
  children: [a("div", {
2159
- className: R.close,
2160
+ className: M.close,
2160
2161
  style: Je(s.close),
2161
2162
  onClick: d,
2162
2163
  children: a(ke, {})
@@ -2167,20 +2168,20 @@ const Zu = (e, t) => {
2167
2168
  rel: "nofollow noopener noreferrer",
2168
2169
  onClick: () => p(s.id),
2169
2170
  children: a("div", {
2170
- className: R.body,
2171
+ className: M.body,
2171
2172
  style: g,
2172
2173
  children: [a("div", {
2173
- className: R.head,
2174
+ className: M.head,
2174
2175
  children: [a("div", {
2175
- className: R.title,
2176
+ className: M.title,
2176
2177
  style: s.title,
2177
- children: (z = s.title) == null ? void 0 : z.children
2178
+ children: (D = s.title) == null ? void 0 : D.children
2178
2179
  }), a("div", {
2179
- className: R.logo,
2180
+ className: M.logo,
2180
2181
  style: s.logo
2181
2182
  })]
2182
2183
  }), a("div", {
2183
- className: R.wrapper,
2184
+ className: M.wrapper,
2184
2185
  style: v,
2185
2186
  children: (u || []).map((zo) => a(ce, {
2186
2187
  value: y(f({}, zo), {
@@ -2189,26 +2190,26 @@ const Zu = (e, t) => {
2189
2190
  children: a(Wu, {})
2190
2191
  }))
2191
2192
  }), a(K, {
2192
- className: R.text,
2193
+ className: M.text,
2193
2194
  style: b,
2194
2195
  typography: b.typography,
2195
2196
  accentTypography: b.accentTypography,
2196
2197
  children: (re = s.text) == null ? void 0 : re.children
2197
2198
  }), a("div", {
2198
- className: R.button,
2199
+ className: M.button,
2199
2200
  style: s.buttonWrapper,
2200
2201
  children: [a("div", {
2201
- className: R.buttonHead,
2202
+ className: M.buttonHead,
2202
2203
  style: s.buttonHead,
2203
2204
  children: (ut = s.buttonHead) == null ? void 0 : ut.children
2204
2205
  }), a("div", {
2205
- className: R.buttonTarget,
2206
+ className: M.buttonTarget,
2206
2207
  style: $,
2207
2208
  children: (pt = s.button) == null ? void 0 : pt.children
2208
2209
  })]
2209
2210
  }), a(K, {
2210
- className: R.legal,
2211
- style: E,
2211
+ className: M.legal,
2212
+ style: F,
2212
2213
  children: (ft = s.legal) == null ? void 0 : ft.children
2213
2214
  })]
2214
2215
  })
@@ -2287,7 +2288,7 @@ const Zu = (e, t) => {
2287
2288
  promoId: "ContentCards",
2288
2289
  onClick: o,
2289
2290
  resetListeners: t.current.reset
2290
- })), M(() => t.current.reset, []), {
2291
+ })), E(() => t.current.reset, []), {
2291
2292
  click: (...n) => t.current.emit("click", ...n),
2292
2293
  onClick: o
2293
2294
  };
@@ -2520,7 +2521,7 @@ const Zu = (e, t) => {
2520
2521
  }, af = (e = []) => {
2521
2522
  var c;
2522
2523
  const t = e.length, [o, n] = oe(0), r = (c = e[o || 0]) == null ? void 0 : c.animationDuration;
2523
- return M(() => {
2524
+ return E(() => {
2524
2525
  const l = setTimeout(() => {
2525
2526
  n((_) => _ + 1 < t ? _ + 1 : 0);
2526
2527
  }, r);
@@ -2552,7 +2553,7 @@ const Zu = (e, t) => {
2552
2553
  },
2553
2554
  pause: !t || r.length === 0
2554
2555
  });
2555
- return M(() => {
2556
+ return E(() => {
2556
2557
  Po(c, r) || l();
2557
2558
  }, [r]), n.map((i) => {
2558
2559
  if ("targetMatch" in i.root) {
@@ -2574,7 +2575,7 @@ const Zu = (e, t) => {
2574
2575
  }), d = () => n(!1), p = () => {
2575
2576
  t.current.emit("clickHide"), d();
2576
2577
  };
2577
- return M(() => {
2578
+ return E(() => {
2578
2579
  t.current.emit("visible", o);
2579
2580
  }, [o]), Ae(e, () => ({
2580
2581
  onVisible: s,
@@ -2584,7 +2585,7 @@ const Zu = (e, t) => {
2584
2585
  hide: d,
2585
2586
  setApiHost: c,
2586
2587
  resetListeners: t.current.reset
2587
- })), M(() => t.current.reset, []), {
2588
+ })), E(() => t.current.reset, []), {
2588
2589
  isOpen: o,
2589
2590
  apiHost: r,
2590
2591
  show: i,
@@ -2597,7 +2598,7 @@ const Zu = (e, t) => {
2597
2598
  }, _f = 3700, df = se(({
2598
2599
  id: e
2599
2600
  }, t) => {
2600
- var F, P, H, V, D;
2601
+ var z, P, H, R, V;
2601
2602
  const o = q(null), n = I(), r = fe({
2602
2603
  id: e,
2603
2604
  targetRef: o
@@ -2618,7 +2619,7 @@ const Zu = (e, t) => {
2618
2619
  animationName: (W = k == null ? void 0 : k.root) == null ? void 0 : W.animationName,
2619
2620
  animationDuration: ((G = k == null ? void 0 : k.root) == null ? void 0 : G.animationDuration) || _f
2620
2621
  });
2621
- }), v = af(g), b = j(g[v] || {}), $ = ne(s.root, ...X), E = (F = b == null ? void 0 : b.root) != null && F.hasCustomBackground ? te((b == null ? void 0 : b.root) || {}, ...X) : te(s.root, ...X);
2622
+ }), v = af(g), b = j(g[v] || {}), $ = ne(s.root, ...X), F = (z = b == null ? void 0 : b.root) != null && z.hasCustomBackground ? te((b == null ? void 0 : b.root) || {}, ...X) : te(s.root, ...X);
2622
2623
  return a("div", {
2623
2624
  ref: o,
2624
2625
  className: A(O.root, {
@@ -2642,11 +2643,11 @@ const Zu = (e, t) => {
2642
2643
  onClick: i,
2643
2644
  children: [a("div", {
2644
2645
  className: O.background,
2645
- style: E
2646
+ style: F
2646
2647
  }), a("div", {
2647
2648
  className: O.promotion,
2648
2649
  style: s.promotion,
2649
- children: (V = s.promotion) == null ? void 0 : V.children
2650
+ children: (R = s.promotion) == null ? void 0 : R.children
2650
2651
  }), a("div", {
2651
2652
  className: O.content,
2652
2653
  children: [a("div", {
@@ -2658,12 +2659,12 @@ const Zu = (e, t) => {
2658
2659
  }), a("div", {
2659
2660
  className: O.center,
2660
2661
  children: (g || []).map((k, W) => {
2661
- var G, z;
2662
+ var G, D;
2662
2663
  return a("div", {
2663
2664
  className: O.slide,
2664
2665
  style: {
2665
2666
  animationName: v === W ? O[((G = k.root) == null ? void 0 : G.animationName) || "fade-in-out"] : "none",
2666
- animationDuration: `${(z = k.root) == null ? void 0 : z.animationDuration}ms`
2667
+ animationDuration: `${(D = k.root) == null ? void 0 : D.animationDuration}ms`
2667
2668
  },
2668
2669
  children: a(ce, {
2669
2670
  value: y(f({}, k), {
@@ -2688,7 +2689,7 @@ const Zu = (e, t) => {
2688
2689
  children: [a("div", {
2689
2690
  className: O.logo,
2690
2691
  style: s.logo
2691
- }), (D = s.button) == null ? void 0 : D.children]
2692
+ }), (V = s.button) == null ? void 0 : V.children]
2692
2693
  })
2693
2694
  })]
2694
2695
  })]
@@ -2875,9 +2876,9 @@ const Zu = (e, t) => {
2875
2876
  onClick: o,
2876
2877
  onVisible: n,
2877
2878
  resetListeners: t.current.reset
2878
- })), M(() => {
2879
+ })), E(() => {
2879
2880
  t.current.emit("visible");
2880
- }, []), M(() => t.current.reset, []), {
2881
+ }, []), E(() => t.current.reset, []), {
2881
2882
  click: (...r) => t.current.emit("click", ...r),
2882
2883
  onClick: o
2883
2884
  };
@@ -2,4 +2,4 @@
2
2
  Copyright (c) 2018 Jed Watson.
3
3
  Licensed under the MIT License (MIT), see
4
4
  http://jedwatson.github.io/classnames
5
- */(function(e){(function(){var t={}.hasOwnProperty;function o(){for(var n=[],r=0;r<arguments.length;r++){var s=arguments[r];if(s){var a=typeof s;if(a==="string"||a==="number")n.push(s);else if(Array.isArray(s)){if(s.length){var l=o.apply(null,s);l&&n.push(l)}}else if(a==="object"){if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]")){n.push(s.toString());continue}for(var d in s)t.call(s,d)&&s[d]&&n.push(d)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Ge);const T=Z;var de,k,ee,we,xe=0,Ot=[],Ue=[],St=p.options.__b,Lt=p.options.__r,At=p.options.diffed,It=p.options.__c,Rt=p.options.unmount;function Ie(e,t){p.options.__h&&p.options.__h(k,e,xe||t),xe=0;var o=k.__H||(k.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:Ue}),o.__[e]}function se(e){return xe=1,bn(Bt,e)}function bn(e,t,o){var n=Ie(de++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):Bt(void 0,t),function(l){var d=n.__N?n.__N[0]:n.__[0],c=n.t(d,l);d!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=k,!k.u)){var r=function(l,d,c){if(!n.__c.__H)return!0;var u=n.__c.__H.__.filter(function(_){return _.__c});if(u.every(function(_){return!_.__N}))return!s||s.call(this,l,d,c);var f=!1;return u.forEach(function(_){if(_.__N){var v=_.__[0];_.__=_.__N,_.__N=void 0,v!==_.__[0]&&(f=!0)}}),!(!f&&n.__c.props===l)&&(!s||s.call(this,l,d,c))};k.u=!0;var s=k.shouldComponentUpdate,a=k.componentWillUpdate;k.componentWillUpdate=function(l,d,c){if(this.__e){var u=s;s=void 0,r(l,d,c),s=u}a&&a.call(this,l,d,c)},k.shouldComponentUpdate=r}return n.__N||n.__}function q(e,t){var o=Ie(de++,3);!p.options.__s&&ft(o.__H,t)&&(o.__=e,o.i=t,k.__H.__h.push(o))}function Et(e,t){var o=Ie(de++,4);!p.options.__s&&ft(o.__H,t)&&(o.__=e,o.i=t,k.__h.push(o))}function G(e){return xe=5,Ee(function(){return{current:e}},[])}function Re(e,t,o){xe=6,Et(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},o==null?o:o.concat(e))}function Ee(e,t){var o=Ie(de++,7);return ft(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function yn(e,t){return xe=8,Ee(function(){return e},t)}function $n(e){var t=k.context[e.__c],o=Ie(de++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(k)),t.props.value):e.__}function kn(){for(var e;e=Ot.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Xe),e.__H.__h.forEach(pt),e.__H.__h=[]}catch(t){e.__H.__h=[],p.options.__e(t,e.__v)}}p.options.__b=function(e){k=null,St&&St(e)},p.options.__r=function(e){Lt&&Lt(e),de=0;var t=(k=e.__c).__H;t&&(ee===k?(t.__h=[],k.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=Ue,o.__N=o.i=void 0})):(t.__h.forEach(Xe),t.__h.forEach(pt),t.__h=[])),ee=k},p.options.diffed=function(e){At&&At(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ot.push(t)!==1&&we===p.options.requestAnimationFrame||((we=p.options.requestAnimationFrame)||wn)(kn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==Ue&&(o.__=o.__V),o.i=void 0,o.__V=Ue})),ee=k=null},p.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Xe),o.__h=o.__h.filter(function(n){return!n.__||pt(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],p.options.__e(n,o.__v)}}),It&&It(e,t)},p.options.unmount=function(e){Rt&&Rt(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Xe(n)}catch(r){t=r}}),o.__H=void 0,t&&p.options.__e(t,o.__v))};var jt=typeof requestAnimationFrame=="function";function wn(e){var t,o=function(){clearTimeout(n),jt&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);jt&&(t=requestAnimationFrame(o))}function Xe(e){var t=k,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),k=t}function pt(e){var t=k;e.__c=e.__(),k=t}function ft(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function Bt(e,t){return typeof t=="function"?t(e):t}function zt(e,t){for(var o in t)e[o]=t[o];return e}function Pt(e,t){for(var o in e)if(o!=="__source"&&!(o in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Mt(e){this.props=e}(Mt.prototype=new p.Component).isPureReactComponent=!0,Mt.prototype.shouldComponentUpdate=function(e,t){return Pt(this.props,e)||Pt(this.state,t)};var Ht=p.options.__b;p.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ht&&Ht(e)};var xn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ue(e){function t(o){var n=zt({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=xn,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Nn=p.options.__e;p.options.__e=function(e,t,o,n){if(e.then){for(var r,s=t;s=s.__;)if((r=s.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}Nn(e,t,o,n)};var Vt=p.options.unmount;function Dt(e,t,o){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=zt({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Dt(n,t,o)})),e}function qt(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return qt(n,t,o)}),e.__c&&e.__c.__P===t&&(e.__e&&o.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=o)),e}function gt(){this.__u=0,this.t=null,this.__b=null}function Ft(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ze(){this.u=null,this.o=null}p.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Vt&&Vt(e)},(gt.prototype=new p.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=Ft(n.__v),s=!1,a=function(){s||(s=!0,o.__R=null,r?r(l):l())};o.__R=a;var l=function(){if(!--n.__u){if(n.state.__a){var c=n.state.__a;n.__v.__k[0]=qt(c,c.__c.__P,c.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}},d=t.__h===!0;n.__u++||d||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},gt.prototype.componentWillUnmount=function(){this.t=[]},gt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var o=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Dt(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&p.createElement(p.Fragment,null,e.fallback);return r&&(r.__h=null),[p.createElement(p.Fragment,null,t.__a?null:e.children),r]};var Wt=function(e,t,o){if(++o[1]===o[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(o=e.u;o;){for(;o.length>3;)o.pop()();if(o[1]<o[0])break;e.u=o=o[2]}};(Ze.prototype=new p.Component).__a=function(e){var t=this,o=Ft(t.__v),n=t.o.get(e);return n[0]++,function(r){var s=function(){t.props.revealOrder?(n.push(r),Wt(t,e,n)):r()};o?o(s):s()}},Ze.prototype.render=function(e){this.u=null,this.o=new Map;var t=p.toChildArray(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var o=t.length;o--;)this.o.set(t[o],this.u=[1,0,this.u]);return e.children},Ze.prototype.componentDidUpdate=Ze.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Wt(e,o,t)})};var Cn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Tn=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,On=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Sn=/[A-Z0-9]/g,Ln=typeof document!="undefined",An=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};p.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(p.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Gt=p.options.event;function In(){}function Rn(){return this.cancelBubble}function En(){return this.defaultPrevented}p.options.event=function(e){return Gt&&(e=Gt(e)),e.persist=In,e.isPropagationStopped=Rn,e.isDefaultPrevented=En,e.nativeEvent=e};var jn={enumerable:!1,configurable:!0,get:function(){return this.class}},Ut=p.options.vnode;p.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var s in o){var a=o[s];if(!(s==="value"&&"defaultValue"in o&&a==null||Ln&&s==="children"&&n==="noscript"||s==="class"||s==="className")){var l=s.toLowerCase();s==="defaultValue"&&"value"in o&&o.value==null?s="value":s==="download"&&a===!0?a="":l==="ondoubleclick"?s="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||An(o.type)?l==="onfocus"?s="onfocusin":l==="onblur"?s="onfocusout":On.test(s)?s=l:n.indexOf("-")===-1&&Tn.test(s)?s=s.replace(Sn,"-$&").toLowerCase():a===null&&(a=void 0):l=s="oninput",l==="oninput"&&r[s=l]&&(s="oninputCapture"),r[s]=a}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=p.toChildArray(o.children).forEach(function(d){d.props.selected=r.value.indexOf(d.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=p.toChildArray(o.children).forEach(function(d){d.props.selected=r.multiple?r.defaultValue.indexOf(d.props.value)!=-1:r.defaultValue==d.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",jn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=Cn,Ut&&Ut(e)};var Xt=p.options.__r;p.options.__r=function(e){Xt&&Xt(e),e.__c};var Zt=p.options.diffed;p.options.diffed=function(e){Zt&&Zt(e);var t=e.props,o=e.__e;o!=null&&e.type==="textarea"&&"value"in t&&t.value!==o.value&&(o.value=t.value==null?"":t.value)};function Bn(){this.__data__=[],this.size=0}var zn=Bn;function Pn(e,t){return e===t||e!==e&&t!==t}var Ke=Pn,Mn=Ke;function Hn(e,t){for(var o=e.length;o--;)if(Mn(e[o][0],t))return o;return-1}var Je=Hn,Vn=Je,Dn=Array.prototype,qn=Dn.splice;function Fn(e){var t=this.__data__,o=Vn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():qn.call(t,o,1),--this.size,!0}var Wn=Fn,Gn=Je;function Un(e){var t=this.__data__,o=Gn(t,e);return o<0?void 0:t[o][1]}var Xn=Un,Zn=Je;function Kn(e){return Zn(this.__data__,e)>-1}var Jn=Kn,Yn=Je;function Qn(e,t){var o=this.__data__,n=Yn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var er=Qn,tr=zn,or=Wn,nr=Xn,rr=Jn,ar=er;function Ne(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Ne.prototype.clear=tr,Ne.prototype.delete=or,Ne.prototype.get=nr,Ne.prototype.has=rr,Ne.prototype.set=ar;var Ye=Ne,sr=Ye;function ir(){this.__data__=new sr,this.size=0}var cr=ir;function lr(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var dr=lr;function ur(e){return this.__data__.get(e)}var _r=ur;function pr(e){return this.__data__.has(e)}var fr=pr,gr=typeof C=="object"&&C&&C.Object===Object&&C,Kt=gr,hr=Kt,vr=typeof self=="object"&&self&&self.Object===Object&&self,mr=hr||vr||Function("return this")(),Ce=mr,br=Ce,yr=br.Symbol,Jt=yr,Yt=Jt,Qt=Object.prototype,$r=Qt.hasOwnProperty,kr=Qt.toString,je=Yt?Yt.toStringTag:void 0;function wr(e){var t=$r.call(e,je),o=e[je];try{e[je]=void 0;var n=!0}catch(s){}var r=kr.call(e);return n&&(t?e[je]=o:delete e[je]),r}var xr=wr,Nr=Object.prototype,Cr=Nr.toString;function Tr(e){return Cr.call(e)}var Or=Tr,eo=Jt,Sr=xr,Lr=Or,Ar="[object Null]",Ir="[object Undefined]",to=eo?eo.toStringTag:void 0;function Rr(e){return e==null?e===void 0?Ir:Ar:to&&to in Object(e)?Sr(e):Lr(e)}var Qe=Rr;function Er(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ve=Er,jr=Qe,Br=ve,zr="[object AsyncFunction]",Pr="[object Function]",Mr="[object GeneratorFunction]",Hr="[object Proxy]";function Vr(e){if(!Br(e))return!1;var t=jr(e);return t==Pr||t==Mr||t==zr||t==Hr}var ht=Vr,Dr=Ce,qr=Dr["__core-js_shared__"],Fr=qr,vt=Fr,oo=function(){var e=/[^.]+$/.exec(vt&&vt.keys&&vt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Wr(e){return!!oo&&oo in e}var Gr=Wr,Ur=Function.prototype,Xr=Ur.toString;function Zr(e){if(e!=null){try{return Xr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Kr=Zr,Jr=ht,Yr=Gr,Qr=ve,ea=Kr,ta=/[\\^$.*+?()[\]{}|]/g,oa=/^\[object .+?Constructor\]$/,na=Function.prototype,ra=Object.prototype,aa=na.toString,sa=ra.hasOwnProperty,ia=RegExp("^"+aa.call(sa).replace(ta,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ca(e){if(!Qr(e)||Yr(e))return!1;var t=Jr(e)?ia:oa;return t.test(ea(e))}var la=ca;function da(e,t){return e==null?void 0:e[t]}var ua=da,_a=la,pa=ua;function fa(e,t){var o=pa(e,t);return _a(o)?o:void 0}var mt=fa,ga=mt,ha=Ce,va=ga(ha,"Map"),no=va,ma=mt,ba=ma(Object,"create"),et=ba,ro=et;function ya(){this.__data__=ro?ro(null):{},this.size=0}var $a=ya;function ka(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var wa=ka,xa=et,Na="__lodash_hash_undefined__",Ca=Object.prototype,Ta=Ca.hasOwnProperty;function Oa(e){var t=this.__data__;if(xa){var o=t[e];return o===Na?void 0:o}return Ta.call(t,e)?t[e]:void 0}var Sa=Oa,La=et,Aa=Object.prototype,Ia=Aa.hasOwnProperty;function Ra(e){var t=this.__data__;return La?t[e]!==void 0:Ia.call(t,e)}var Ea=Ra,ja=et,Ba="__lodash_hash_undefined__";function za(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=ja&&t===void 0?Ba:t,this}var Pa=za,Ma=$a,Ha=wa,Va=Sa,Da=Ea,qa=Pa;function Te(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Te.prototype.clear=Ma,Te.prototype.delete=Ha,Te.prototype.get=Va,Te.prototype.has=Da,Te.prototype.set=qa;var Fa=Te,ao=Fa,Wa=Ye,Ga=no;function Ua(){this.size=0,this.__data__={hash:new ao,map:new(Ga||Wa),string:new ao}}var Xa=Ua;function Za(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ka=Za,Ja=Ka;function Ya(e,t){var o=e.__data__;return Ja(t)?o[typeof t=="string"?"string":"hash"]:o.map}var tt=Ya,Qa=tt;function es(e){var t=Qa(this,e).delete(e);return this.size-=t?1:0,t}var ts=es,os=tt;function ns(e){return os(this,e).get(e)}var rs=ns,as=tt;function ss(e){return as(this,e).has(e)}var is=ss,cs=tt;function ls(e,t){var o=cs(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var ds=ls,us=Xa,_s=ts,ps=rs,fs=is,gs=ds;function Oe(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Oe.prototype.clear=us,Oe.prototype.delete=_s,Oe.prototype.get=ps,Oe.prototype.has=fs,Oe.prototype.set=gs;var hs=Oe,vs=Ye,ms=no,bs=hs,ys=200;function $s(e,t){var o=this.__data__;if(o instanceof vs){var n=o.__data__;if(!ms||n.length<ys-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new bs(n)}return o.set(e,t),this.size=o.size,this}var ks=$s,ws=Ye,xs=cr,Ns=dr,Cs=_r,Ts=fr,Os=ks;function Se(e){var t=this.__data__=new ws(e);this.size=t.size}Se.prototype.clear=xs,Se.prototype.delete=Ns,Se.prototype.get=Cs,Se.prototype.has=Ts,Se.prototype.set=Os;var Ss=Se,Ls=mt,As=function(){try{var e=Ls(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),so=As,io=so;function Is(e,t,o){t=="__proto__"&&io?io(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var bt=Is,Rs=bt,Es=Ke;function js(e,t,o){(o!==void 0&&!Es(e[t],o)||o===void 0&&!(t in e))&&Rs(e,t,o)}var co=js;function Bs(e){return function(t,o,n){for(var r=-1,s=Object(t),a=n(t),l=a.length;l--;){var d=a[e?l:++r];if(o(s[d],d,s)===!1)break}return t}}var zs=Bs,Ps=zs,Ms=Ps(),Hs=Ms,ot={},Vs={get exports(){return ot},set exports(e){ot=e}};(function(e,t){var o=Ce,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,s=r&&r.exports===n,a=s?o.Buffer:void 0,l=a?a.allocUnsafe:void 0;function d(c,u){if(u)return c.slice();var f=c.length,_=l?l(f):new c.constructor(f);return c.copy(_),_}e.exports=d})(Vs,ot);var Ds=Ce,qs=Ds.Uint8Array,Fs=qs,lo=Fs;function Ws(e){var t=new e.constructor(e.byteLength);return new lo(t).set(new lo(e)),t}var Gs=Ws,Us=Gs;function Xs(e,t){var o=t?Us(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Zs=Xs;function Ks(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Js=Ks,Ys=ve,uo=Object.create,Qs=function(){function e(){}return function(t){if(!Ys(t))return{};if(uo)return uo(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),ei=Qs;function ti(e,t){return function(o){return e(t(o))}}var oi=ti,ni=oi,ri=ni(Object.getPrototypeOf,Object),_o=ri,ai=Object.prototype;function si(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||ai;return e===o}var po=si,ii=ei,ci=_o,li=po;function di(e){return typeof e.constructor=="function"&&!li(e)?ii(ci(e)):{}}var ui=di;function _i(e){return e!=null&&typeof e=="object"}var Be=_i,pi=Qe,fi=Be,gi="[object Arguments]";function hi(e){return fi(e)&&pi(e)==gi}var vi=hi,fo=vi,mi=Be,go=Object.prototype,bi=go.hasOwnProperty,yi=go.propertyIsEnumerable,$i=fo(function(){return arguments}())?fo:function(e){return mi(e)&&bi.call(e,"callee")&&!yi.call(e,"callee")},ho=$i,ki=Array.isArray,vo=ki,wi=9007199254740991;function xi(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=wi}var mo=xi,Ni=ht,Ci=mo;function Ti(e){return e!=null&&Ci(e.length)&&!Ni(e)}var yt=Ti,Oi=yt,Si=Be;function Li(e){return Si(e)&&Oi(e)}var Ai=Li,ze={},Ii={get exports(){return ze},set exports(e){ze=e}};function Ri(){return!1}var Ei=Ri;(function(e,t){var o=Ce,n=Ei,r=t&&!t.nodeType&&t,s=r&&!0&&e&&!e.nodeType&&e,a=s&&s.exports===r,l=a?o.Buffer:void 0,d=l?l.isBuffer:void 0,c=d||n;e.exports=c})(Ii,ze);var ji=Qe,Bi=_o,zi=Be,Pi="[object Object]",Mi=Function.prototype,Hi=Object.prototype,bo=Mi.toString,Vi=Hi.hasOwnProperty,Di=bo.call(Object);function qi(e){if(!zi(e)||ji(e)!=Pi)return!1;var t=Bi(e);if(t===null)return!0;var o=Vi.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&bo.call(o)==Di}var Fi=qi,Wi=Qe,Gi=mo,Ui=Be,Xi="[object Arguments]",Zi="[object Array]",Ki="[object Boolean]",Ji="[object Date]",Yi="[object Error]",Qi="[object Function]",ec="[object Map]",tc="[object Number]",oc="[object Object]",nc="[object RegExp]",rc="[object Set]",ac="[object String]",sc="[object WeakMap]",ic="[object ArrayBuffer]",cc="[object DataView]",lc="[object Float32Array]",dc="[object Float64Array]",uc="[object Int8Array]",_c="[object Int16Array]",pc="[object Int32Array]",fc="[object Uint8Array]",gc="[object Uint8ClampedArray]",hc="[object Uint16Array]",vc="[object Uint32Array]",N={};N[lc]=N[dc]=N[uc]=N[_c]=N[pc]=N[fc]=N[gc]=N[hc]=N[vc]=!0,N[Xi]=N[Zi]=N[ic]=N[Ki]=N[cc]=N[Ji]=N[Yi]=N[Qi]=N[ec]=N[tc]=N[oc]=N[nc]=N[rc]=N[ac]=N[sc]=!1;function mc(e){return Ui(e)&&Gi(e.length)&&!!N[Wi(e)]}var bc=mc;function yc(e){return function(t){return e(t)}}var $c=yc,nt={},kc={get exports(){return nt},set exports(e){nt=e}};(function(e,t){var o=Kt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,s=r&&r.exports===n,a=s&&o.process,l=function(){try{var d=r&&r.require&&r.require("util").types;return d||a&&a.binding&&a.binding("util")}catch(c){}}();e.exports=l})(kc,nt);var wc=bc,xc=$c,yo=nt,$o=yo&&yo.isTypedArray,Nc=$o?xc($o):wc,ko=Nc;function Cc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var wo=Cc,Tc=bt,Oc=Ke,Sc=Object.prototype,Lc=Sc.hasOwnProperty;function Ac(e,t,o){var n=e[t];(!(Lc.call(e,t)&&Oc(n,o))||o===void 0&&!(t in e))&&Tc(e,t,o)}var Ic=Ac,Rc=Ic,Ec=bt;function jc(e,t,o,n){var r=!o;o||(o={});for(var s=-1,a=t.length;++s<a;){var l=t[s],d=n?n(o[l],e[l],l,o,e):void 0;d===void 0&&(d=e[l]),r?Ec(o,l,d):Rc(o,l,d)}return o}var Bc=jc;function zc(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var Pc=zc,Mc=9007199254740991,Hc=/^(?:0|[1-9]\d*)$/;function Vc(e,t){var o=typeof e;return t=t==null?Mc:t,!!t&&(o=="number"||o!="symbol"&&Hc.test(e))&&e>-1&&e%1==0&&e<t}var xo=Vc,Dc=Pc,qc=ho,Fc=vo,Wc=ze,Gc=xo,Uc=ko,Xc=Object.prototype,Zc=Xc.hasOwnProperty;function Kc(e,t){var o=Fc(e),n=!o&&qc(e),r=!o&&!n&&Wc(e),s=!o&&!n&&!r&&Uc(e),a=o||n||r||s,l=a?Dc(e.length,String):[],d=l.length;for(var c in e)(t||Zc.call(e,c))&&!(a&&(c=="length"||r&&(c=="offset"||c=="parent")||s&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Gc(c,d)))&&l.push(c);return l}var Jc=Kc;function Yc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Qc=Yc,el=ve,tl=po,ol=Qc,nl=Object.prototype,rl=nl.hasOwnProperty;function al(e){if(!el(e))return ol(e);var t=tl(e),o=[];for(var n in e)n=="constructor"&&(t||!rl.call(e,n))||o.push(n);return o}var sl=al,il=Jc,cl=sl,ll=yt;function dl(e){return ll(e)?il(e,!0):cl(e)}var No=dl,ul=Bc,_l=No;function pl(e){return ul(e,_l(e))}var fl=pl,Co=co,gl=ot,hl=Zs,vl=Js,ml=ui,To=ho,Oo=vo,bl=Ai,yl=ze,$l=ht,kl=ve,wl=Fi,xl=ko,So=wo,Nl=fl;function Cl(e,t,o,n,r,s,a){var l=So(e,o),d=So(t,o),c=a.get(d);if(c){Co(e,o,c);return}var u=s?s(l,d,o+"",e,t,a):void 0,f=u===void 0;if(f){var _=Oo(d),v=!_&&yl(d),b=!_&&!v&&xl(d);u=d,_||v||b?Oo(l)?u=l:bl(l)?u=vl(l):v?(f=!1,u=gl(d,!0)):b?(f=!1,u=hl(d,!0)):u=[]:wl(d)||To(d)?(u=l,To(l)?u=Nl(l):(!kl(l)||$l(l))&&(u=ml(d))):f=!1}f&&(a.set(d,u),r(u,d,n,s,a),a.delete(d)),Co(e,o,u)}var Tl=Cl,Ol=Ss,Sl=co,Ll=Hs,Al=Tl,Il=ve,Rl=No,El=wo;function Lo(e,t,o,n,r){e!==t&&Ll(t,function(s,a){if(r||(r=new Ol),Il(s))Al(e,t,a,o,Lo,n,r);else{var l=n?n(El(e,a),s,a+"",e,t,r):void 0;l===void 0&&(l=s),Sl(e,a,l)}},Rl)}var jl=Lo;function Bl(e){return e}var Ao=Bl;function zl(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}var Pl=zl,Ml=Pl,Io=Math.max;function Hl(e,t,o){return t=Io(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,s=Io(n.length-t,0),a=Array(s);++r<s;)a[r]=n[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=n[r];return l[t]=o(a),Ml(e,this,l)}}var Vl=Hl;function Dl(e){return function(){return e}}var ql=Dl,Fl=ql,Ro=so,Wl=Ao,Gl=Ro?function(e,t){return Ro(e,"toString",{configurable:!0,enumerable:!1,value:Fl(t),writable:!0})}:Wl,Ul=Gl,Xl=800,Zl=16,Kl=Date.now;function Jl(e){var t=0,o=0;return function(){var n=Kl(),r=Zl-(n-o);if(o=n,r>0){if(++t>=Xl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Yl=Jl,Ql=Ul,ed=Yl,td=ed(Ql),od=td,nd=Ao,rd=Vl,ad=od;function sd(e,t){return ad(rd(e,t,nd),e+"")}var id=sd,cd=Ke,ld=yt,dd=xo,ud=ve;function _d(e,t,o){if(!ud(o))return!1;var n=typeof t;return(n=="number"?ld(o)&&dd(t,o.length):n=="string"&&t in o)?cd(o[t],e):!1}var pd=_d,fd=id,gd=pd;function hd(e){return fd(function(t,o){var n=-1,r=o.length,s=r>1?o[r-1]:void 0,a=r>2?o[2]:void 0;for(s=e.length>3&&typeof s=="function"?(r--,s):void 0,a&&gd(o[0],o[1],a)&&(s=r<3?void 0:s,r=1),t=Object(t);++n<r;){var l=o[n];l&&e(t,l,n,s)}return t})}var vd=hd,md=jl,bd=vd;bd(function(e,t,o){md(e,t,o)});const me=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const s=[o,r].filter(H).join(".");return me(t(r,n,s),t,s)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,s])=>{const a=[o,r].filter(H).join(".");return n[r]=me(t(r,s,a),t,a),n},{}):e,yd=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},Pe=()=>{let e={};return{on:(a,l)=>{a in e?e[a].push(l):e[a]=[l]},has:a=>a in e,get:a=>e[a],emit:(a,...l)=>a in e?e[a].map(d=>d(...l)).filter(Boolean):[],reset:()=>e={}}},$d=()=>({name:null,logo:null}),Eo=()=>({name:null,logo:null}),kd=()=>({factor:null,type:null,outcome:null,value:null}),wd=()=>({w1:null,x:null,w2:null}),xd=()=>({w1:null,w2:null}),Nd=()=>({one_x_two:wd(),one_two:xd()}),jo=(e,t)=>{var n;const o={slug:(e==null?void 0:e.slug)||null,sportSlug:(e==null?void 0:e.sport_slug)||null,matchDate:(e==null?void 0:e.match_date)||null,teams:g({},(e==null?void 0:e.teams)||{0:Eo(),1:Eo()}),league:(e==null?void 0:e.unique_tournament)||$d(),prediction:(e==null?void 0:e.prediction)||kd(),isNational:(n=e==null?void 0:e.is_national)!=null?n:null};if(t!=null&&t.markets){const r=t.markets.reduce((s,a)=>(s[a]=m(e||{},`markets.${a}`,Nd()[a||"one_two"]),s),{});Me(o,"markets",r)}return o},Cd=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),Td=e=>!e&&e==null,H=e=>!Td(e),Bo=e=>typeof e!="object"&&typeof e!="function"||e===null,Od=e=>typeof e=="object"&&!Array.isArray(e)&&H(e),Sd=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(t,o)=>(o?"-":"")+t.toLowerCase()),te=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function ie(e,...t){const o=g({},e);return t.forEach(n=>{delete o[n]}),o}const m=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((s,a)=>s&&s[a],e);return r===void 0?o:r},Me=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,s,a)=>(r[s]===void 0&&(r[s]={}),a===n.length-1&&(r[s]=o),r[s]),e)},Ld=e=>{const t=e.slice(1);return t.length===3&&(e="#"+t.split("").map(o=>`${o}${o}`).join("")),e},Ad=e=>{const t=Ld(e),o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return o?{r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}:void 0},zo=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),Id=e=>"id"in e&&"root"in e,Rd=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),Po=(e,t,o)=>me(e,(n,r,s)=>Bo(r)||Array.isArray(r)&&r.every(Bo)?o?o(n,[r,m(t,s)],s)?m(t,s,r):r:m(t,s,r):r),Ed=(e,t)=>{try{me(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},jd=(e,t)=>{const o=[];return me(e,(n,r,s)=>(t(n,r,s,o)&&o.push({key:n,value:r,path:s}),r)),o},Mo=["desktop","laptop","tablet","mobile"],Bd={mobile:320,tablet:768,laptop:1024,desktop:1920},O={root:"_root_90dqc_1",icon:"_icon_90dqc_5",iconTarget:"_iconTarget_90dqc_17",body:"_body_90dqc_23",bodyOpen:"_bodyOpen_90dqc_31",simpleGift_in:"_simpleGift_in_90dqc_1",close:"_close_90dqc_44",arrow:"_arrow_90dqc_56",container:"_container_90dqc_67",inner:"_inner_90dqc_73",logo:"_logo_90dqc_80",text:"_text_90dqc_87",button:"_button_90dqc_94",buttonAnimated:"_buttonAnimated_90dqc_103",increase:"_increase_90dqc_1",legalGap:"_legalGap_90dqc_107",legalOpen:"_legalOpen_90dqc_111",legal:"_legal_90dqc_107",legalText:"_legalText_90dqc_139",legalButton:"_legalButton_90dqc_157",fadein:"_fadein_90dqc_1",pulse:"_pulse_90dqc_1",gradient:"_gradient_90dqc_1",wiggle:"_wiggle_90dqc_1"};var zd=0;function i(e,t,o,n,r,s){var a,l,d={};for(l in t)l=="ref"?a=t[l]:d[l]=t[l];var c={type:e,props:d,key:o,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--zd,__source:r,__self:s};if(typeof e=="function"&&(a=e.defaultProps))for(l in a)d[l]===void 0&&(d[l]=a[l]);return p.options.vnode&&p.options.vnode(c),c}const Ho=p.createContext(),_e=({children:e,value:t})=>i(Ho.Provider,{value:t,children:e}),pe=e=>a=>We(this,null,function*(){var l=a,{target:t,id:o,ref:n,state:r}=l,s=Tt(l,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const d=yield Promise.resolve().then(()=>Qu);window.ResizeObserver=d.ResizeObserver}return p.render(i(_e,{value:r,children:p.cloneElement(e,g({ref:n,id:o},s))}),t)}),V=()=>$n(Ho),Pd=(e={})=>typeof e=="object"&&H(e)&&Mo.every(t=>t in e),Md=(e,t)=>e&&me(e,(o,n)=>{if(Pd(n)){const r=n[t];return r&&"parent"in r&&H(r.parent)?g(g({},n[r.parent]),ie(r,"parent")):r}return n}),fe=(e,t)=>Md(e,t),be=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=Bd})=>{const[r,s]=se("desktop"),a=l=>{var f;const d=l.getBoundingClientRect().width||0,c=Object.entries(g({},n)).sort(([_,v],[b,$])=>v-$),u=((f=c.find(([_,v],b)=>{const[$,y]=c[b+1]||[];return d>=v&&d<y}))==null?void 0:f[0])||"desktop";s(u)};return Et(()=>{const l=t.current.closest(`[data-${o}='${e}']`)||document.body;l&&(new ResizeObserver(()=>a(l)).observe(l),a(l))},[]),r},Vo=e=>console.warn(`[Adstore-templates Deprecated]: ${e}`),rt=(e,t)=>H(e)&&!(typeof e=="number"?e.toString():e).includes(t)?`${e}${t}`:e,Hd=e=>e.startsWith("px_"),Vd=e=>e.startsWith("percent_"),Dd=(e,t)=>{let o=e,n=t;return Hd(o)&&(o=o.replace("px_",""),n=rt(t,"px")),Vd(o)&&(o=o.replace("percent_",""),n=rt(t,"%")),{key:o,value:n}},qd="-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji'",Fd=["borderWidth","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","minHeight","minWidth","maxWidth","maxHeight","fontSize","height","width","letterSpacing","fontSize","left","right","top","bottom","marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Do=e=>{const t=Object.keys(e);return(t.includes("innerHTML")||t.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.'),typeof e!="object"?e:Object.entries(e).reduce((o,[n,r])=>{Fd.includes(n)&&(r=rt(r,"px"));const{key:s,value:a}=Dd(n,r);if(Od(a)&&(o[s]=Do(a)),o[s]=a,s==="hidden"&&a)return o.display="none",o;if(s==="innerHTML"&&(o.innerHTML=H(a)?`${a}`:""),s==="innerText"&&(o.innerText=H(a)?`${a}`:""),s==="children"&&(o.children=typeof a=="string"?H(a)?`${a}`:"":a),s.includes("borderWidth")&&(o.borderStyle="solid"),s==="corner"&&(o.borderRadius=rt(a,"px")),s==="backgroundFit"&&(Vo("Property 'backgroundFit' is deprecated. Use 'objectFit' instead."),o.backgroundSize=a,o.objectFit=a),s==="backgroundImage"&&H(a)&&(o.backgroundImage=`url(${a})`,o.backgroundRepeat="no-repeat",o.imageSource=a,Vo("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")),s==="backgroundColorOpacity"&&H(o.backgroundColorOpacity)&&H(o.backgroundColor)){const l=Ad(o.backgroundColor);l&&(o.backgroundColor=Rd(`rgb(${l.r}, ${l.g}, ${l.b})`,+o.backgroundColorOpacity/100))}return s==="fontFamily"&&/auto/i.test(a)&&(o.fontFamily=qd),s==="isBold"&&(o.fontWeight=a?"bold":"initial"),s==="isItalic"&&(o.fontStyle=a?"italic":"initial"),s==="isThrough"&&(o.textDecoration=a?"line-through":"initial"),o},e)},Wd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,L=e=>H(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=Wd(n)?Do(g({},e[o])):n,t),{}):e,Gd=e=>e in document.createElement("div").style||e.startsWith("--"),J=r=>{var s=r,{children:e,typography:t,accentTypography:o}=s,n=Tt(s,["children","typography","accentTypography"]);var d;const a=Ee(()=>{if(!o)return{};let c="";return Object.entries(o).forEach(([u,f])=>{Gd(u)&&(c+=`${Sd(u)}: ${f}; `)}),c},[o]),l=(d=e==null?void 0:e.replace(/script|\n/g,""))==null?void 0:d.replace(/{{(.*?)}}/g,`<span style="${a}">$1</span>`);return i("div",w(g({},n),{style:g(g({},t),n.style||{}),dangerouslySetInnerHTML:{__html:l}}))},at=()=>{const[e,t]=se(!1);return[e,()=>t(o=>!o)]},Le=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 24 24",children:i("path",{d:"M17.659 4.929a1 1 0 1 1 1.414 1.414L13.416 12l5.657 5.657a1 1 0 0 1-1.415 1.414l-5.656-5.657-5.657 5.657a1 1 0 0 1-1.414-1.414L10.587 12 4.931 6.343A1 1 0 1 1 6.345 4.93l5.657 5.657 5.656-5.657Z",fill:"currentColor"})}),$t=()=>i("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:i("path",{d:"M5.95312 2.15L7.04063 4H7H4.75C4.05937 4 3.5 3.44062 3.5 2.75C3.5 2.05938 4.05937 1.5 4.75 1.5H4.81875C5.28437 1.5 5.71875 1.74688 5.95312 2.15ZM2 2.75C2 3.2 2.10938 3.625 2.3 4H1C0.446875 4 0 4.44688 0 5V7C0 7.55312 0.446875 8 1 8H15C15.5531 8 16 7.55312 16 7V5C16 4.44688 15.5531 4 15 4H13.7C13.8906 3.625 14 3.2 14 2.75C14 1.23125 12.7688 0 11.25 0H11.1812C10.1844 0 9.25938 0.528125 8.75313 1.3875L8 2.67188L7.24687 1.39062C6.74062 0.528125 5.81562 0 4.81875 0H4.75C3.23125 0 2 1.23125 2 2.75ZM12.5 2.75C12.5 3.44062 11.9406 4 11.25 4H9H8.95938L10.0469 2.15C10.2844 1.74688 10.7156 1.5 11.1812 1.5H11.25C11.9406 1.5 12.5 2.05938 12.5 2.75ZM1 9V14.5C1 15.3281 1.67188 16 2.5 16H7V9H1ZM9 16H13.5C14.3281 16 15 15.3281 15 14.5V9H9V16Z",fill:"currentColor"})}),Ud=e=>({fade:`${e.fade} 2s linear infinite`,pulse:`${e.pulse} .3s linear 0s infinite alternate forwards`,wiggle:`${e.wiggle} 2s linear infinite`,gradient:`${e.gradient} 3s ease infinite`}),qo=(e,t)=>{var u,f,_,v,b,$,y,B,z,S,j,P,X;const o=Ud(t),n=L(e),r=(u=n==null?void 0:n.icon)==null?void 0:u.hasIcon,s={left:`${+(((f=e==null?void 0:e.container)==null?void 0:f.left)||0)*-1+8}px`,backgroundColor:(_=n==null?void 0:n.container)==null?void 0:_.backgroundColor,borderTopWidth:(v=n==null?void 0:n.container)==null?void 0:v.borderWidth,borderTopColor:(b=n==null?void 0:n.container)==null?void 0:b.borderColor,borderTopStyle:"solid",borderLeftWidth:($=n==null?void 0:n.container)==null?void 0:$.borderWidth,borderLeftColor:(y=n==null?void 0:n.container)==null?void 0:y.borderColor,borderLeftStyle:"solid"},a={left:(B=n==null?void 0:n.container)==null?void 0:B.left},l=(((z=n==null?void 0:n.icon)==null?void 0:z.animations)||[]).map(x=>o[x]).join(", "),d=H((S=n==null?void 0:n.icon)==null?void 0:S.gradientColor)&&((j=n==null?void 0:n.icon)!=null&&j.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(P=n.icon)==null?void 0:P.backgroundColor} 0%, ${(X=n==null?void 0:n.icon)==null?void 0:X.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,c=g(w(g({},(n==null?void 0:n.icon)||{}),{animation:l}),d);return{hasIcon:r,arrowRules:s,bodyRules:a,iconRules:c}},ge=e=>{const t=new Set([]);me(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=Ee(()=>Array.from(t.values()).filter(n=>!/auto/i.test(n)).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);q(()=>{o.forEach(yd)},[o])},Y=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundSize","backgroundRepeat"],Xd=["borderWidth","borderColor","borderStyle"],Fo=["imageSource","objectFit"],st=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Zd=({delay:e,openEmitter:t,autoOpenEmitter:o,closeEmitter:n,crossCloseEmitter:r,disableAutoOpen:s})=>{const[a,l]=se(!1),d=G(null),c=_=>{clearTimeout(d.current),d.current=null},u=()=>{c(d.current),l(_=>(_&&n&&n(),!_))},f=()=>{u(),r&&r()};return q(()=>{if(!s)return d.current=setTimeout(()=>{l(!0),o&&o()},e||1e3),()=>c(d.current)},[e,s]),q(()=>{a&&!d.current&&t&&t()},[a]),{isOpen:a,toggle:u,onCrossClick:f}},Wo=({ref:e,openDelay:t,disableAutoOpen:o})=>{const n=G(Pe()),r=_=>n.current.on("open",_),s=_=>n.current.on("click",_),a=_=>n.current.on("autoOpen",_),l=_=>n.current.on("close",_),d=_=>n.current.on("crossClose",_),{isOpen:c,toggle:u,onCrossClick:f}=Zd({delay:t,disableAutoOpen:o,openEmitter:()=>n.current.emit("open"),autoOpenEmitter:()=>n.current.emit("autoOpen"),closeEmitter:()=>n.current.emit("close"),crossCloseEmitter:()=>n.current.emit("crossClose")});return Re(e,()=>({toggle:u,onCrossClose:d,onOpen:r,onClick:s,onClose:l,onAutoOpen:a,resetListeners:n.current.reset})),q(()=>n.current.reset,[]),{isOpen:c,toggle:u,onCrossClick:f,click:(..._)=>n.current.emit("click",..._)}},Kd=ue(({id:e,disableAutoOpen:t},o)=>{var S,j,P,X,x,D,M,W,le;const n=G(null),[r,s]=at(),a=V(),l=be({targetRef:n,id:e}),d=fe(a,l),c=L(d),{hasIcon:u,iconRules:f,bodyRules:_,arrowRules:v}=qo(d,{fade:O.fadein,pulse:O.pulse,wiggle:O.wiggle,gradient:O.gradient}),{isOpen:b,toggle:$,click:y,onCrossClick:B}=Wo({ref:o,openDelay:(S=d==null?void 0:d.container)==null?void 0:S.delay,disableAutoOpen:t});ge(d);const z=r?te(c.container,...Xd):{};return i("div",{className:T(O.root,{[O.legalOpen]:r}),ref:n,children:[i("div",{className:O.icon,style:f,onClick:$,children:u&&i("div",{className:O.iconTarget,children:i($t,{})})}),i("div",{className:T(O.body,{[O.bodyOpen]:b}),style:_,children:[i("div",{className:O.arrow,style:v}),i("div",{className:O.close,style:c==null?void 0:c.close,onClick:B,children:i(Le,{})}),i("div",{className:O.container,style:c==null?void 0:c.container,children:[i("a",{href:(j=c==null?void 0:c.root)==null?void 0:j.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>y(c.id),children:[i("div",{className:O.inner,children:[i("div",{className:O.logo,style:c==null?void 0:c.logo}),i(J,{className:O.text,style:c==null?void 0:c.text,typography:(P=c.text)==null?void 0:P.typography,accentTypography:(X=c.text)==null?void 0:X.accentTypography,children:(x=c==null?void 0:c.text)==null?void 0:x.children})]}),i("div",{className:T(O.button,{[O.buttonAnimated]:c==null?void 0:c.button.isAnimated}),style:c==null?void 0:c.button,children:(D=c==null?void 0:c.button)==null?void 0:D.children})]}),i("div",{className:O.legalGap}),i("div",{className:O.legal,style:g(g({},c==null?void 0:c.legal),z),children:i("span",{className:O.legalText,children:i("span",{children:[i("span",{children:(M=c==null?void 0:c.legal)==null?void 0:M.children}),i("span",{className:O.legalButton,onClick:s,children:r?(W=c==null?void 0:c.legal)==null?void 0:W.buttonOpenText:(le=c==null?void 0:c.legal)==null?void 0:le.buttonHideText})]})})})]})]})]})}),Jd=pe(i(Kd,{})),A={root:"_root_9zg53_1",icon:"_icon_9zg53_5",iconTarget:"_iconTarget_9zg53_17",body:"_body_9zg53_23",desktop:"_desktop_9zg53_30",tablet:"_tablet_9zg53_30",laptop:"_laptop_9zg53_30",bodyOpen:"_bodyOpen_9zg53_34",complexGift_in:"_complexGift_in_9zg53_1",arrow:"_arrow_9zg53_47",container:"_container_9zg53_57",promotion:"_promotion_9zg53_62",close:"_close_9zg53_68",head:"_head_9zg53_80",headIcon:"_headIcon_9zg53_86",headTitle:"_headTitle_9zg53_92",inner:"_inner_9zg53_99",fadein:"_fadein_9zg53_1",pulse:"_pulse_9zg53_1",gradient:"_gradient_9zg53_1",wiggle:"_wiggle_9zg53_1"},oe={root:"_root_1y96a_1",body:"_body_1y96a_30",bodyInner:"_bodyInner_1y96a_38",line:"_line_1y96a_43",text:"_text_1y96a_53",button:"_button_1y96a_61",logo:"_logo_1y96a_73",variant2:"_variant2_1y96a_79",buttonText:"_buttonText_1y96a_83",legal:"_legal_1y96a_100"},Yd=({onClick:e})=>{var n,r,s,a,l,d,c;const t=V(),o=L(t);return i("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:T(oe.root,{[oe.variant2]:((r=o.root)==null?void 0:r.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[i("div",{className:oe.body,children:[i("div",{className:oe.line,style:o.line}),i("div",{className:oe.bodyInner,children:[i("div",{className:oe.logo,style:o.logo}),i("div",{className:oe.text,style:o.text,children:i(J,{typography:(s=o.text)==null?void 0:s.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children})})]}),i("div",{className:oe.button,style:o.button,children:[i("div",{className:oe.logo,style:o.logo}),i("div",{className:oe.buttonText,children:(d=o.button)==null?void 0:d.children})]})]}),i("div",{className:oe.legal,style:o.legal,children:(c=o.legal)==null?void 0:c.children})]})},Qd=ue(({id:e},t)=>{var B,z,S,j;const o=G(null),n=V(),r=be({targetRef:o,id:e}),s=fe(n,r),a=L(s),{isOpen:l,click:d,toggle:c}=Wo({ref:t,openDelay:(B=s==null?void 0:s.container)==null?void 0:B.delay});ge(s);const{hasIcon:u,iconRules:f,bodyRules:_,arrowRules:v}=qo(s,{fade:A.fadein,pulse:A.pulse,wiggle:A.wiggle,gradient:A.gradient}),b=(z=a==null?void 0:a.title)==null?void 0:z.hasIcon,$=te(a==null?void 0:a.title,...st),y=ie(a==null?void 0:a.title,...st);return i("div",{ref:o,className:T(A.root,{[A.desktop]:r==="desktop",[A.laptop]:r==="laptop",[A.tablet]:r==="tablet"}),children:[i("div",{className:A.icon,style:f,onClick:c,children:u&&i("div",{className:A.iconTarget,children:i($t,{})})}),i("div",{className:T(A.body,{[A.bodyOpen]:l}),style:_,children:[i("div",{className:A.arrow,style:v}),i("div",{className:A.container,style:a.container,children:[i("div",{className:A.close,style:a.close,onClick:c,children:i(Le,{})}),i("div",{className:A.head,style:$,children:[b&&i("div",{className:A.headIcon,style:te(a.title,"color"),children:i($t,{})}),i("div",{className:A.headTitle,style:y,children:(S=a.title)==null?void 0:S.children})]}),i("div",{className:A.inner,children:(a.children||[]).map(P=>i(_e,{value:P,children:i(Yd,{onClick:d})}))}),i("div",{className:A.promotion,style:a.promotion,children:(j=a.promotion)==null?void 0:j.children})]})]})]})}),eu=pe(i(Qd,{})),K={root:"_root_byy1w_1",background:"_background_byy1w_11",content:"_content_byy1w_19",desktop:"_desktop_byy1w_28",laptop:"_laptop_byy1w_28",wrapper:"_wrapper_byy1w_33",overlay:"_overlay_byy1w_37",close:"_close_byy1w_43",body:"_body_byy1w_54",logo:"_logo_byy1w_63",text:"_text_byy1w_69",button:"_button_byy1w_73",legal:"_legal_byy1w_88"},ye=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],tu={root:"_root_mj8hr_1"},ou=()=>{var o,n,r;const e=V(),t=L(e);return i("div",{className:tu.root,style:t.root,children:i(J,{typography:(o=t.root)==null?void 0:o.typography,accentTypography:(n=t.root)==null?void 0:n.accentTypography,children:(r=t==null?void 0:t.root)==null?void 0:r.children})})},kt=(e,t=0,o=!1)=>{const n=G(Pe()),[r,s]=se(!1),[a,l]=se(),[d,c]=se(o),u=y=>n.current.on("visible",y),f=y=>n.current.on("click",y),_=y=>n.current.on("clickHide",y),v=()=>We(this,null,function*(){yield Cd(+t),s(!0)}),b=()=>s(!1),$=()=>{n.current.emit("clickHide"),b()};return q(()=>{d&&n.current.emit("visible",r)},[r,d]),Re(e,()=>({onVisible:u,onClick:f,onClickHide:_,show:v,hide:b,setApiHost:l,resetListeners:n.current.reset})),q(()=>n.current.reset,[]),{isReady:d,isOpen:r,apiHost:a,show:v,hide:b,clickHide:$,setIsReady:c,click:(...y)=>{b(),n.current.emit("click",...y)}}};function nu(e){return!(!e.complete||typeof e.naturalWidth!="undefined"&&e.naturalWidth===0)}const ru=ue(({id:e,className:t},o)=>{var j,P,X,x,D,M;const n=G(null),r=G(null),s=be({targetRef:n,id:e}),a=V(),l=fe(a,s);ge(l),Me(l,"button.percent_width",(j=l==null?void 0:l.button)==null?void 0:j.width),Me(l,"legal.percent_width",(P=l==null?void 0:l.legal)==null?void 0:P.width);const d=L(l),c=m(d,"root.delay",0),{isOpen:u,isReady:f,setIsReady:_,clickHide:v,click:b}=kt(o,c);q(()=>{const W=r.current;if(!W)return;if(nu(W)){_(!0);return}const le=()=>_(!0);return W.addEventListener("load",le),()=>{W.removeEventListener("load",le)}},[d]);const $={alignItems:ye((X=d.root)==null?void 0:X.align)},y=w(g({},d==null?void 0:d.button),{justifyContent:ye((x=d.root)==null?void 0:x.textAlign)}),B=w(g({},d==null?void 0:d.legal),{justifyContent:ye((D=d.root)==null?void 0:D.textAlign)}),z=ie(d.root,...Fo,...Y),S=te(d.root,...Fo);return i("div",{className:T(K.root,t,{[K.desktop]:s==="desktop",[K.tablet]:s==="tablet",[K.laptop]:s==="laptop"}),ref:n,style:{display:u&&f?"flex":"none"},children:[i("div",{className:K.overlay,style:d.overlay,onClick:v}),i("div",{className:K.wrapper,children:[i("div",{className:K.close,style:Ve(d.close),onClick:v,children:i(Le,{})}),i("a",{href:(M=d.root)==null?void 0:M.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:K.content,style:z,onClick:()=>b(d.id),children:[i("img",{ref:r,className:K.background,src:S.imageSource,alt:"",style:S}),i("div",{className:K.body,style:$,children:[i("div",{className:K.logo,style:d.logo}),i("div",{className:K.text,children:((d==null?void 0:d.children)||[]).map(W=>i(_e,{value:W,children:i(ou,{})}))}),i("div",{className:K.button,style:y,children:y==null?void 0:y.children}),i("div",{className:K.legal,style:B,children:B==null?void 0:B.children})]})]})]})]})}),au=pe(i(ru,{})),he={root:"_root_1v94r_1",content:"_content_1v94r_11",desktop:"_desktop_1v94r_23",laptop:"_laptop_1v94r_23",overlay:"_overlay_1v94r_28",close:"_close_1v94r_34",title:"_title_1v94r_47",wrapper:"_wrapper_1v94r_62"},Q={root:"_root_1q0qc_1",desktop:"_desktop_1q0qc_9",laptop:"_laptop_1q0qc_9",header:"_header_1q0qc_14",logo:"_logo_1q0qc_25",container:"_container_1q0qc_32",body:"_body_1q0qc_43",logoWrapper:"_logoWrapper_1q0qc_51",text:"_text_1q0qc_64",button:"_button_1q0qc_79",legal:"_legal_1q0qc_97"},su=({onClick:e})=>{var s,a,l,d,c,u;const t=V(),o=L(t),n=(t==null?void 0:t.device)||"desktop",r=te(o.header,...Y);return i("a",{href:(s=o.root)==null?void 0:s.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:T(Q.root,{[Q.desktop]:n==="desktop",[Q.laptop]:n==="laptop"}),style:ie(o.root,...st),onClick:()=>e(o.id),children:[i("div",{className:Q.header,style:o.header,children:i("div",{className:Q.logo,style:o.logo})}),i("div",{className:Q.container,style:te(o.root,...st),children:[i("div",{className:Q.body,children:[i("div",{className:Q.logoWrapper,style:r,children:i("div",{className:Q.logo,style:o.logo})}),i(J,{className:Q.text,style:o.text,typography:(a=o.text)==null?void 0:a.typography,accentTypography:(l=o.text)==null?void 0:l.accentTypography,children:(d=o.text)==null?void 0:d.children})]}),i("div",{children:[i(J,{className:Q.button,style:o.button,children:(c=o.button)==null?void 0:c.children}),i(J,{className:Q.legal,style:o.legal,children:(u=o.legal)==null?void 0:u.children})]})]})]})},iu=ue(({id:e},t)=>{var f;const o=G(null),n=be({targetRef:o,id:e}),r=V(),s=fe(r,n),a=L(s);ge(s);const l=m(a,"root.delay",0),{isOpen:d,clickHide:c,click:u}=kt(t,l,!0);return i("div",{className:he.root,style:{display:d?"flex":"none"},children:[i("div",{className:he.overlay,style:a.overlay,onClick:c}),i("div",{ref:o,className:T(he.content,{[he.desktop]:n==="desktop",[he.laptop]:n==="laptop"}),style:a.root,children:[i("div",{className:he.close,style:Ve(a.close),onClick:c,children:i(Le,{})}),i(J,{className:he.title,style:a.title,children:(f=a.title)==null?void 0:f.children}),i("div",{className:he.wrapper,children:(a.children||[]).map(_=>i(_e,{value:w(g({},_),{device:n}),children:i(su,{onClick:u})}))})]})]})}),cu=pe(i(iu,{})),F={root:"_root_1xp54_1",content:"_content_1xp54_11",close:"_close_1xp54_19",overlay:"_overlay_1xp54_32",body:"_body_1xp54_38",desktop:"_desktop_1xp54_46",laptop:"_laptop_1xp54_46",tablet:"_tablet_1xp54_50",head:"_head_1xp54_55",title:"_title_1xp54_65",logo:"_logo_1xp54_78",wrapper:"_wrapper_1xp54_85",text:"_text_1xp54_92",button:"_button_1xp54_100",buttonHead:"_buttonHead_1xp54_115",buttonTarget:"_buttonTarget_1xp54_132",legal:"_legal_1xp54_146"},I={root:"_root_16jvv_1",left:"_left_16jvv_8",desktop:"_desktop_16jvv_15",laptop:"_laptop_16jvv_15",teams:"_teams_16jvv_19",logo:"_logo_16jvv_25",league:"_league_16jvv_32",name:"_name_16jvv_37",right:"_right_16jvv_43",odd:"_odd_16jvv_54",oddLabel:"_oddLabel_16jvv_67",oddValue:"_oddValue_16jvv_76",team:"_team_16jvv_19",teamLogo:"_teamLogo_16jvv_100",teamName:"_teamName_16jvv_107"},lu=()=>{const e=V(),t=L(e),o=(e==null?void 0:e.device)||"desktop",n=w(g({},t==null?void 0:t.teamALogo),{backgroundImage:m(t,"match.teams[0].logo")}),r=w(g({},t==null?void 0:t.teamBLogo),{backgroundImage:m(t,"match.teams[1].logo")});return i("div",{className:T(I.root,{[I.desktop]:o==="desktop",[I.laptop]:o==="laptop"}),children:[i("div",{className:I.left,children:[i("div",{className:I.teams,children:[i("img",{className:I.logo,src:n.backgroundImage,style:n,alt:""}),i("img",{className:I.logo,src:r.backgroundImage,style:r})]}),i("div",{className:I.body,children:[i("div",{className:I.league,style:t.league,children:m(t,"match.league.name")}),i("div",{className:I.name,style:t.teams,children:[m(t,"match.teams[0].name")," — ",m(t,"match.teams[1].name")]})]})]}),i("div",{className:I.right,children:[i("div",{className:I.team,children:[i("img",{className:I.teamLogo,style:n,src:n.backgroundImage}),i("div",{className:I.teamName,style:t.teams,children:m(t,"match.teams[0].name")})]}),i("div",{className:I.odd,children:[i("div",{className:I.oddLabel,style:t.oddLabel,children:m(t,"match.prediction.value")}),i("div",{className:I.oddValue,style:t.oddValue,children:m(t,"match.prediction.factor")})]}),i("div",{className:I.team,children:[i("img",{className:I.teamLogo,style:r,src:r.backgroundImage}),i("div",{className:I.teamName,style:t.teams,children:m(t,"match.teams[1].name")})]})]})]})},Go=(e,{pause:t,params:o,method:n,body:r})=>{const[s,a]=se(),l=Ee(()=>{let c=e;if(o){const u=new URLSearchParams(c);Object.entries(o).forEach(([f,_])=>{u.append(f,_)}),c+=u}return c},[e,o]),d=yn(()=>We(this,null,function*(){if(t)return;const c=yield fetch(l,{method:n||"GET",body:r?JSON.stringify(r):void 0,headers:{"Content-Type":"application/json"}}).then(u=>u.json());a(c.data)}),[l,t,n,r]);return q(()=>{t||d()},[l,t]),{data:s,execute:d}};function Uo(e){const t=G();return q(()=>{t.current=e},[e]),t.current}const du=(e,t)=>{const o=c=>{var u;return H(c==null?void 0:c.matchSlug)&&((u=c==null?void 0:c.matchSlug)==null?void 0:u.length)>0},n=e.children||[],r=n.filter(c=>o(c.root.targetMatch)).map(c=>c.root.targetMatch),s=Uo(r),{data:a,execute:l}=Go(`${t}/match-list`,{method:"POST",body:{matches:r.map(c=>({slug:c.matchSlug,sport_slug:c.sportSlug,lang:c.langSlug,bookmaker_slug:c.bookmaker,offset:c.offset,markets:c.markets}))},pause:!t||r.length===0});return q(()=>{zo(s,r)||l()},[r]),n.map(c=>{const u=(a||[]).find(v=>v.slug===c.root.targetMatch.matchSlug);if(!u)return;const f=jo(u),_=Po(f,c.root.customMatch,(v,[b,$])=>H($));return w(g({},c),{match:_})}).filter(Boolean)},uu=ue(({id:e},t)=>{var z,S,j,P,X,x,D,M,W,le,Fe,fn,gn;const o=G(null),n=be({targetRef:o,id:e}),r=V(),s=fe(r,n);Me(s,"buttonWrapper.percent_width",(z=s==null?void 0:s.buttonWrapper)==null?void 0:z.width),Me(s,"legal.percent_width",(S=s==null?void 0:s.legal)==null?void 0:S.width);const a=L(s);ge(s);const l=m(a,"root.delay",0),{isOpen:d,apiHost:c,clickHide:u,click:f}=kt(t,l,!0),_=du(s,c),v=w(g({},a.root),{alignItems:ye((j=a.root)==null?void 0:j.align)}),b=w(g({},a.content),{alignItems:ye((P=a.root)==null?void 0:P.align)}),$=w(g({},a.text),{textAlign:(X=a.root)==null?void 0:X.align}),y=w(g({},a==null?void 0:a.button),{justifyContent:ye((x=a.root)==null?void 0:x.textAlign)}),B=w(g({},a==null?void 0:a.legal),{justifyContent:ye((D=a.root)==null?void 0:D.textAlign)});return i("div",{className:T(F.root,{[F.desktop]:n==="desktop",[F.laptop]:n==="laptop",[F.tablet]:n==="tablet"}),ref:o,style:{display:d?"flex":"none"},children:[i("div",{className:F.overlay,style:a.overlay,onClick:u}),i("div",{className:F.content,children:[i("div",{className:F.close,style:Ve(a.close),onClick:u,children:i(Le,{})}),i("a",{ref:o,href:(M=a.root)==null?void 0:M.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>f(a.id),children:i("div",{className:F.body,style:v,children:[i("div",{className:F.head,children:[i("div",{className:F.title,style:a.title,children:(W=a.title)==null?void 0:W.children}),i("div",{className:F.logo,style:a.logo})]}),i("div",{className:F.wrapper,style:b,children:(_||[]).map(e_=>i(_e,{value:w(g({},e_),{device:n}),children:i(lu,{})}))}),i(J,{className:F.text,style:$,typography:$.typography,accentTypography:$.accentTypography,children:(le=a.text)==null?void 0:le.children}),i("div",{className:F.button,style:a.buttonWrapper,children:[i("div",{className:F.buttonHead,style:a.buttonHead,children:(Fe=a.buttonHead)==null?void 0:Fe.children}),i("div",{className:F.buttonTarget,style:y,children:(fn=a.button)==null?void 0:fn.children})]}),i(J,{className:F.legal,style:B,children:(gn=a.legal)==null?void 0:gn.children})]})})]})]})}),_u=pe(i(uu,{})),ne={root:"_root_x31x3_1",background:"_background_x31x3_18",body:"_body_x31x3_27",bookmaker:"_bookmaker_x31x3_36",button:"_button_x31x3_43",rowFirst:"_rowFirst_x31x3_57",rowSecond:"_rowSecond_x31x3_63",legal:"_legal_x31x3_69",legalText:"_legalText_x31x3_86",legalOpen:"_legalOpen_x31x3_96",legalButton:"_legalButton_x31x3_101"},pu=({onClick:e})=>{var s,a,l,d,c,u,f,_;const t=V(),o=L(t),[n,r]=at();return i("div",{className:ne.root,style:ie(o.root,...Y),children:[i("div",{className:ne.background,style:te(o.root,...Y)}),i("a",{href:(s=o.root)==null?void 0:s.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:ne.body,onClick:()=>e(o.id),children:[i("div",{children:[i("div",{className:ne.rowFirst,style:o.rowFirst,children:(a=o.rowFirst)==null?void 0:a.children}),i("div",{className:ne.rowSecond,style:o.rowSecond,children:(l=o.rowSecond)==null?void 0:l.children}),i("div",{className:ne.bookmaker,style:o.bookmaker,children:(d=o.bookmaker)==null?void 0:d.children})]}),i("div",{className:ne.button,style:o.button,children:(c=o.button)==null?void 0:c.children})]}),i("div",{className:T(ne.legal,{[ne.legalOpen]:n}),style:o.legalInfo,children:i("span",{className:ne.legalText,children:[i("span",{children:(u=o.legalInfo)==null?void 0:u.children}),i("span",{className:ne.legalButton,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(_=o.legalInfoButton)==null?void 0:_.closeText})]})})]})},fu=e=>{const t=G(Pe()),o=n=>t.current.on("click",n);return Re(e,()=>({promoId:"ContentCards",onClick:o,resetListeners:t.current.reset})),q(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},gu=ue((e,t)=>{const o=G(null),n=V(),s=fe(n,"mobile"),a=L(s);ge(s);const{click:l}=fu(t);return i("div",{ref:o,children:((a==null?void 0:a.children)||[]).map(d=>i(_e,{value:d,children:i(pu,{onClick:l})}))})}),hu=pe(i(gu,{})),R={root:"_root_1k78w_1",desktop:"_desktop_1k78w_13",laptop:"_laptop_1k78w_14",promotion:"_promotion_1k78w_18",background:"_background_1k78w_34",close:"_close_1k78w_43",content:"_content_1k78w_56",variant2:"_variant2_1k78w_69",logo:"_logo_1k78w_73",left:"_left_1k78w_85",center:"_center_1k78w_98",slide:"_slide_1k78w_104",slide_animated_default:"_slide_animated_default_1k78w_118","fade-in-out":"_fade-in-out_1k78w_1","slide_animated_bottom-top":"_slide_animated_bottom-top_1k78w_121","fade-in-bottom-out-top":"_fade-in-bottom-out-top_1k78w_1","slide_animated_top-bottom":"_slide_animated_top-bottom_1k78w_124",right:"_right_1k78w_128",buttonWrapper:"_buttonWrapper_1k78w_143",button:"_button_1k78w_143",button_animated:"_button_animated_1k78w_177",increase:"_increase_1k78w_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_1k78w_1"},Xo={root:"_root_1c4sr_1",desktop:"_desktop_1c4sr_11"},vu=()=>{var o,n,r;const e=V(),t=L(e);return i("div",{className:T(Xo.root,{[Xo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:ie(t.root,...Y),children:i(J,{accentTypography:(o=t.root)==null?void 0:o.accentTypography,typography:(n=t.root)==null?void 0:n.typography,children:(r=t.root)==null?void 0:r.children})})},E={root:"_root_gohhp_1",title:"_title_gohhp_8",desktop:"_desktop_gohhp_13",laptop:"_laptop_gohhp_13",titleLabel:"_titleLabel_gohhp_17",tablet:"_tablet_gohhp_20",titleValue:"_titleValue_gohhp_27",teamLogo:"_teamLogo_gohhp_38",teams:"_teams_gohhp_49",teamName:"_teamName_gohhp_57",odds:"_odds_gohhp_64",odd:"_odd_gohhp_64",oddX:"_oddX_gohhp_76",oddValue:"_oddValue_gohhp_84"},it=(e,t,o=1,n=!1)=>{var l;const[r,s]=[t[0],t[1]||t[0]].map(d=>d*o),a=`w${r}-h${s}${n?"-c":""}`;return(l=e==null?void 0:e.replace(/(\/(?:upload|user-avatars)\/[\w\d]+\/)origin(\/)/,`$1${a}$2`))!=null?l:e},mu=()=>{var s,a;const e=V(),t=L(e),o=ie(t.root,...Y),n=w(g({},t.teamLogo),{backgroundImage:it(m(t,"match.teams[0].logo"),[120,120]),backgroundColor:"transparent"}),r=w(g({},t.teamLogo),{backgroundImage:it(m(t,"match.teams[1].logo"),[120,120]),backgroundColor:"transparent"});return i("div",{className:T(E.root,{[E.desktop]:e.device==="desktop",[E.laptop]:e.device==="laptop",[E.tablet]:e.device==="tablet"}),style:o,children:[i("div",{className:E.title,children:[i("div",{className:E.titleLabel,style:t.titleLabel,children:(s=t.titleLabel)==null?void 0:s.children}),i("div",{className:E.titleValue,style:t.titleValue,children:(a=t.titleValue)==null?void 0:a.children})]}),i("div",{className:E.odds,children:[i("div",{className:E.odd,children:[i("img",{className:E.teamLogo,src:n.backgroundImage,style:n}),i("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.w1")})]}),i("div",{className:E.odd,children:[i("div",{className:E.oddX,style:t.coef,children:"X"}),i("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.x")})]}),i("div",{className:E.odd,children:[i("img",{className:E.teamLogo,src:r.backgroundImage,style:r}),i("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.w2")})]})]}),i("div",{className:E.teams,children:[i("div",{className:E.teamName,style:t.teamName,children:m(t,"match.teams[0].name")}),i("div",{className:E.teamName,style:t.teamName,children:m(t,"match.teams[1].name")})]})]})},U={root:"_root_1bycs_1",title:"_title_1bycs_8",titleLabel:"_titleLabel_1bycs_13",tablet:"_tablet_1bycs_16",desktop:"_desktop_1bycs_19",laptop:"_laptop_1bycs_19",titleValue:"_titleValue_1bycs_23",team:"_team_1bycs_34",teamLogo:"_teamLogo_1bycs_45",national:"_national_1bycs_56",teamName:"_teamName_1bycs_77",teamValue:"_teamValue_1bycs_89"},bu=()=>{var r,s;const e=V(),t=L(e),o=w(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:it(m(t,"match.teams[0].logo"),[120,120])}),n=w(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:it(m(t,"match.teams[1].logo"),[120,120])});return i("div",{className:T(U.root,{[U.desktop]:(e==null?void 0:e.device)==="desktop",[U.laptop]:(e==null?void 0:e.device)==="laptop",[U.tablet]:(e==null?void 0:e.device)==="tablet",[U.national]:m(t,"match.isNational")}),style:ie(t.root,...Y),children:[i("div",{className:U.title,children:[i("div",{className:U.titleLabel,style:t.titleLabel,children:(r=t.titleLabel)==null?void 0:r.children}),i("div",{className:U.titleValue,style:t.titleValue,children:(s=t.titleValue)==null?void 0:s.children})]}),i("div",{children:[i("div",{className:U.team,children:[i("img",{className:U.teamLogo,src:o.backgroundImage,style:o}),i("div",{className:U.teamName,style:t.teamName,children:m(t,"match.teams[0].name")}),i("div",{className:U.teamValue,style:t.value,children:m(t,"match.markets.one_two.w1")})]}),i("div",{className:U.team,children:[i("img",{className:U.teamLogo,src:n.backgroundImage,style:n}),i("div",{className:U.teamName,style:t.teamName,children:m(t,"match.teams[1].name")}),i("div",{className:U.teamValue,style:t.value,children:m(t,"match.markets.one_two.w2")})]})]})]})},yu=(e=[])=>{var s;const t=e.length,[o,n]=se(0),r=(s=e[o||0])==null?void 0:s.animationDuration;return q(()=>{const l=setTimeout(()=>{n(d=>d+1<t?d+1:0)},r);return()=>clearTimeout(l)},[n,t,r,o]),o},$u={matches:"one_x_two",matchesOneTwo:"one_two"},Zo=e=>[$u[e]],ku=(e,t)=>{const o=c=>{var u;return H(c==null?void 0:c.matchSlug)&&((u=c==null?void 0:c.matchSlug)==null?void 0:u.length)>0},n=(e==null?void 0:e.children)||[],r=n.filter(c=>o(c.root.targetMatch)).map(c=>w(g({},c.root.targetMatch),{markets:Zo(c.name)})),s=Uo(r),{data:a,execute:l}=Go(`${t}/match-list`,{method:"POST",body:{matches:r.map(c=>({slug:c.matchSlug,sport_slug:c.sportSlug,lang:c.langSlug,bookmaker_slug:c.bookmaker,offset:c.offset,markets:c.markets}))},pause:!t||r.length===0});return q(()=>{zo(s,r)||l()},[r]),n.map(c=>{if("targetMatch"in c.root){const u=(a||[]).find(b=>b.slug===c.root.targetMatch.matchSlug);if(!u)return;const f=Zo(c.name),_=jo(u,{markets:f}),v=Po(_,c.root.customMatch,(b,[$,y])=>H(y));return w(g({},c),{match:v})}return c}).filter(Boolean)},wu=e=>{const t=G(Pe()),[o,n]=se(!1),[r,s]=se(),a=_=>t.current.on("visible",_),l=_=>t.current.on("click",_),d=_=>t.current.on("clickHide",_),c=()=>We(this,null,function*(){n(!0)}),u=()=>n(!1),f=()=>{t.current.emit("clickHide"),u()};return q(()=>{t.current.emit("visible",o)},[o]),Re(e,()=>({onVisible:a,onClick:l,onClickHide:d,show:c,hide:u,setApiHost:s,resetListeners:t.current.reset})),q(()=>t.current.reset,[]),{isOpen:o,apiHost:r,show:c,hide:u,clickHide:f,click:(..._)=>{t.current.emit("click",..._)}}},xu=3700,Nu=ue(({id:e},t)=>{var z,S,j,P,X;const o=G(null),n=V(),r=be({id:e,targetRef:o}),s=fe(n,r),a=L(s);ge(s);const{apiHost:l,isOpen:d,click:c,clickHide:u}=wu(t),f=ku(a,l),_=x=>({text:i(vu,{}),matches:i(mu,{}),matchesOneTwo:i(bu,{})})[x],v=f.filter(Boolean).map(x=>{var D,M;return w(g({},x),{animationName:(D=x==null?void 0:x.root)==null?void 0:D.animationName,animationDuration:((M=x==null?void 0:x.root)==null?void 0:M.animationDuration)||xu})}),b=yu(v),$=L(v[b]||{}),y=ie(a.root,...Y),B=(z=$==null?void 0:$.root)!=null&&z.hasCustomBackground?te(($==null?void 0:$.root)||{},...Y):te(a.root,...Y);return i("div",{ref:o,className:T(R.root,{[R.desktop]:r==="desktop",[R.laptop]:r==="laptop",[R.tablet]:r==="tablet",[R.variant2]:((S=a.root)==null?void 0:S.variant)==="variant2"}),style:w(g({},y),{display:d?"block":"none"}),children:[i("div",{className:R.close,style:a.close,onClick:u,children:i(Le,{})}),i("a",{href:(j=a.root)==null?void 0:j.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:c,children:[i("div",{className:R.background,style:B}),i("div",{className:R.promotion,style:a.promotion,children:(P=a.promotion)==null?void 0:P.children}),i("div",{className:R.content,children:[i("div",{className:R.left,children:i("div",{className:R.logo,style:a.logo})}),i("div",{className:R.center,children:(v||[]).map((x,D)=>{var M,W;return i("div",{className:R.slide,style:{animationName:b===D?R[((M=x.root)==null?void 0:M.animationName)||"fade-in-out"]:"none",animationDuration:`${(W=x.root)==null?void 0:W.animationDuration}ms`},children:i(_e,{value:w(g({},x),{device:r}),children:_(x.name)})})})}),i("div",{className:R.right,children:[i("div",{className:R.logo,style:a.logo}),i("div",{className:R.buttonWrapper,children:i("div",{className:T(R.button,{[R.button_animated]:a.button.$animated}),style:a.button,children:[i("div",{className:R.logo,style:a.logo}),(X=a.button)==null?void 0:X.children]})})]})]})]})]})}),Cu=pe(i(Nu,{})),He={content:"_content_c8kee_1",desktop:"_desktop_c8kee_6",laptop:"_laptop_c8kee_6",tablet:"_tablet_c8kee_6"},re={root:"_root_t1sch_1",content:"_content_t1sch_8",textContent:"_textContent_t1sch_15",backgroundLine:"_backgroundLine_t1sch_20",button:"_button_t1sch_26",link:"_link_t1sch_32",legal:"_legal_t1sch_38",legalText:"_legalText_t1sch_47",open:"_open_t1sch_56",legalMore:"_legalMore_t1sch_61"},Tu=(e,t,o,n,r=Mo)=>{const s=g({},e);return r.forEach(a=>{s[t]=w(g({},s[t]),{[a]:w(g({},s[t][a]),{[o]:typeof n=="function"?n(m(s,`${t}.${a}.${o}`)):n})})}),s},Ve=e=>{const t=e==null?void 0:e.backgroundColor;if(!t)return e;const o=w(g({},e),{color:t});return ie(o,"backgroundColor")},Ou=()=>i("svg",{width:"81",height:"100%",viewBox:"0 0 81 76",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i("path",{d:"M63.0344 7.99989L7.38354 67.5171L9.86897 69.8401L65.5198 10.3229L63.0344 7.99989Z",fill:"currentColor"}),i("path",{d:"M77.8771 -23.0001L22.2263 36.5171L24.7117 38.8401L80.3626 -20.6771L77.8771 -23.0001Z",fill:"#E3E3E3"}),i("path",{d:"M66.7199 20.9999L11.0691 80.5171L13.5545 82.8401L69.2053 23.3229L66.7199 20.9999Z",fill:"#E3E3E3"}),i("path",{d:"M55.808 20.5258L0.157227 80.043L2.64266 82.366L58.2935 22.8487L55.808 20.5258Z",fill:"currentColor"}),i("path",{d:"M70.6508 -10.4742L15 49.043L17.4854 51.366L73.1362 -8.15125L70.6508 -10.4742Z",fill:"#E3E3E3"}),i("path",{d:"M72.426 8.99995L61 21.2163L62.5379 22.6541L73.9638 10.4377L72.426 8.99995Z",fill:"#E3E3E3"})]}),Su=({onClick:e})=>{var s,a,l,d,c,u,f,_,v;const t=V(),o=L(t),[n,r]=at();return i("div",{className:re.root,style:o.root,children:[i("div",{className:re.content,children:[i("div",{className:re.textContent,children:[i(J,{className:re.text,style:o.text,typography:(s=o.text)==null?void 0:s.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children}),i("div",{style:o.bookmaker,children:(d=o.bookmaker)==null?void 0:d.children})]}),i("div",{className:re.button,style:o.button,children:o.button.children}),i("div",{className:re.backgroundLine,style:w(g({},Ve(o.line)),{left:`calc(50% - ${(c=o.line)==null?void 0:c.left})`}),children:i(Ou,{})}),i("a",{className:re.link,target:"_blank",href:(u=o.root)==null?void 0:u.offer,onClick:()=>e(o.id),rel:"noreferrer"})]}),i("div",{className:T(re.legal,{[re.open]:n}),style:o.legalInfo,children:i("div",{className:re.legalText,children:[(f=o.legalInfo)==null?void 0:f.children,i("span",{className:re.legalMore,style:o.legalInfoButton,onClick:r,children:n?(_=o.legalInfoButton)==null?void 0:_.openText:(v=o.legalInfoButton)==null?void 0:v.closeText})]})})]})},ae={root:"_root_ka6mq_1",content:"_content_ka6mq_8",backgroundLine:"_backgroundLine_ka6mq_14",link:"_link_ka6mq_20",button:"_button_ka6mq_26",logo:"_logo_ka6mq_31",legal:"_legal_ka6mq_37",open:"_open_ka6mq_49",legalText:"_legalText_ka6mq_53",legalMore:"_legalMore_ka6mq_66"},Lu=({onClick:e})=>{var s,a,l,d,c,u,f,_;const t=V(),o=L(t),[n,r]=at();return i("div",{className:ae.root,style:o.root,children:[i("div",{className:ae.content,children:[i(J,{className:ae.text,style:o.text,typography:(s=o.text)==null?void 0:s.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children}),i("div",{className:ae.button,style:o.button,children:[i("div",{className:ae.logo,style:o.logo}),o.button.children]}),i("a",{className:ae.link,href:(d=o.root)==null?void 0:d.offer})]}),i("a",{className:ae.link,href:(c=o.root)==null?void 0:c.offer,target:"_blank",onClick:()=>e(o.id),rel:"noreferrer"}),i("div",{className:T(ae.legal,{[ae.open]:n}),style:o.legalInfo,children:[i("div",{className:ae.legalText,children:(u=o.legalInfo)==null?void 0:u.children}),i("div",{className:ae.legalMore,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(_=o.legalInfoButton)==null?void 0:_.closeText})]})]})},Au=e=>{const t=G(Pe()),o=r=>t.current.on("click",r),n=r=>t.current.on("visible",r);return Re(e,()=>({promoId:"ContentCards",onClick:o,onVisible:n,resetListeners:t.current.reset})),q(()=>{t.current.emit("visible")},[]),q(()=>t.current.reset,[]),{click:(...r)=>t.current.emit("click",...r),onClick:o}},Iu=ue(({id:e},t)=>{const o=G(null),n=V(),r=be({targetRef:o,id:e}),s=fe(n,r),a=L(s);ge(s);const{click:l}=Au(t),d=c=>({cardVariant1:i(Su,{onClick:l}),cardVariant2:i(Lu,{onClick:l})})[c];return i("div",{ref:o,className:T(He.root,{[He.desktop]:r==="desktop",[He.laptop]:r==="laptop",[He.tablet]:r==="tablet"}),children:i("div",{className:He.content,children:((a==null?void 0:a.children)||[]).map(c=>i(_e,{value:c,children:d(c.name)}))})})}),Ru=pe(i(Iu,{}));var $e=[],Eu=function(){return $e.some(function(e){return e.activeTargets.length>0})},ju=function(){return $e.some(function(e){return e.skippedTargets.length>0})},Ko="ResizeObserver loop completed with undelivered notifications.",Bu=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Ko}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Ko),window.dispatchEvent(e)},De;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(De||(De={}));var ke=function(e){return Object.freeze(e)},Jo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,ke(this)}return e}(),Yo=function(){function e(t,o,n,r){return this.x=t,this.y=o,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,ke(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,s=t.right,a=t.bottom,l=t.left,d=t.width,c=t.height;return{x:o,y:n,top:r,right:s,bottom:a,left:l,width:d,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),wt=function(e){return e instanceof SVGElement&&"getBBox"in e},Qo=function(e){if(wt(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,s=r.offsetWidth,a=r.offsetHeight;return!(s||a||e.getClientRects().length)},en=function(e){var t;if(e instanceof Element)return!0;var o=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(o&&e instanceof o.Element)},zu=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},qe=typeof window!="undefined"?window:{},ct=new WeakMap,tn=/auto|scroll/,Pu=/^tb|vertical/,Mu=/msie|trident/i.test(qe.navigator&&qe.navigator.userAgent),ce=function(e){return parseFloat(e||"0")},Ae=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Jo((o?t:e)||0,(o?e:t)||0)},on=ke({devicePixelContentBoxSize:Ae(),borderBoxSize:Ae(),contentBoxSize:Ae(),contentRect:new Yo(0,0,0,0)}),nn=function(e,t){if(t===void 0&&(t=!1),ct.has(e)&&!t)return ct.get(e);if(Qo(e))return ct.set(e,on),on;var o=getComputedStyle(e),n=wt(e)&&e.ownerSVGElement&&e.getBBox(),r=!Mu&&o.boxSizing==="border-box",s=Pu.test(o.writingMode||""),a=!n&&tn.test(o.overflowY||""),l=!n&&tn.test(o.overflowX||""),d=n?0:ce(o.paddingTop),c=n?0:ce(o.paddingRight),u=n?0:ce(o.paddingBottom),f=n?0:ce(o.paddingLeft),_=n?0:ce(o.borderTopWidth),v=n?0:ce(o.borderRightWidth),b=n?0:ce(o.borderBottomWidth),$=n?0:ce(o.borderLeftWidth),y=f+c,B=d+u,z=$+v,S=_+b,j=l?e.offsetHeight-S-e.clientHeight:0,P=a?e.offsetWidth-z-e.clientWidth:0,X=r?y+z:0,x=r?B+S:0,D=n?n.width:ce(o.width)-X-P,M=n?n.height:ce(o.height)-x-j,W=D+y+P+z,le=M+B+j+S,Fe=ke({devicePixelContentBoxSize:Ae(Math.round(D*devicePixelRatio),Math.round(M*devicePixelRatio),s),borderBoxSize:Ae(W,le,s),contentBoxSize:Ae(D,M,s),contentRect:new Yo(f,d,D,M)});return ct.set(e,Fe),Fe},rn=function(e,t,o){var n=nn(e,o),r=n.borderBoxSize,s=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case De.DEVICE_PIXEL_CONTENT_BOX:return a;case De.BORDER_BOX:return r;default:return s}},an=function(){function e(t){var o=nn(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=ke([o.borderBoxSize]),this.contentBoxSize=ke([o.contentBoxSize]),this.devicePixelContentBoxSize=ke([o.devicePixelContentBoxSize])}return e}(),sn=function(e){if(Qo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},Hu=function(){var e=1/0,t=[];$e.forEach(function(a){if(a.activeTargets.length!==0){var l=[];a.activeTargets.forEach(function(c){var u=new an(c.target),f=sn(c.target);l.push(u),c.lastReportedSize=rn(c.target,c.observedBox),f<e&&(e=f)}),t.push(function(){a.callback.call(a.observer,l,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},cn=function(e){$e.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(sn(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},Vu=function(){var e=0;for(cn(e);Eu();)e=Hu(),cn(e);return ju()&&Bu(),e>0},xt,ln=[],Du=function(){return ln.splice(0).forEach(function(e){return e()})},qu=function(e){if(!xt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return Du()}).observe(o,n),xt=function(){o.textContent="".concat(t?t--:t++)}}ln.push(e),xt()},Fu=function(e){qu(function(){requestAnimationFrame(e)})},lt=0,Wu=function(){return!!lt},Gu=250,Uu={attributes:!0,characterData:!0,childList:!0,subtree:!0},dn=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],un=function(e){return e===void 0&&(e=0),Date.now()+e},Nt=!1,Xu=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var o=this;if(t===void 0&&(t=Gu),!Nt){Nt=!0;var n=un(t);Fu(function(){var r=!1;try{r=Vu()}finally{if(Nt=!1,t=n-un(),!Wu())return;r?o.run(1e3):t>0?o.run(t):o.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,o=function(){return t.observer&&t.observer.observe(document.body,Uu)};document.body?o():qe.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),dn.forEach(function(o){return qe.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),dn.forEach(function(o){return qe.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),Ct=new Xu,_n=function(e){!lt&&e>0&&Ct.start(),lt+=e,!lt&&Ct.stop()},Zu=function(e){return!wt(e)&&!zu(e)&&getComputedStyle(e).display==="inline"},Ku=function(){function e(t,o){this.target=t,this.observedBox=o||De.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=rn(this.target,this.observedBox,!0);return Zu(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Ju=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),dt=new WeakMap,pn=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},ut=function(){function e(){}return e.connect=function(t,o){var n=new Ju(t,o);dt.set(t,n)},e.observe=function(t,o,n){var r=dt.get(t),s=r.observationTargets.length===0;pn(r.observationTargets,o)<0&&(s&&$e.push(r),r.observationTargets.push(new Ku(o,n&&n.box)),_n(1),Ct.schedule())},e.unobserve=function(t,o){var n=dt.get(t),r=pn(n.observationTargets,o),s=n.observationTargets.length===1;r>=0&&(s&&$e.splice($e.indexOf(n),1),n.observationTargets.splice(r,1),_n(-1))},e.disconnect=function(t){var o=this,n=dt.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Yu=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");ut.connect(this,t)}return e.prototype.observe=function(t,o){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!en(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ut.observe(this,t,o)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!en(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ut.unobserve(this,t)},e.prototype.disconnect=function(){ut.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const Qu=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:Yu,ResizeObserverEntry:an,ResizeObserverSize:Jo},Symbol.toStringTag,{value:"Module"}));h.BonusCard=hu,h.ComplexGift=eu,h.ComplexPopup=cu,h.ContentCards=Ru,h.ExpressPopup=_u,h.SimpleGift=Jd,h.SimplePopup=au,h.WideCard=Cu,h.backgroundToColor=Ve,h.filterDeep=jd,h.findDeep=Ed,h.isValidTemplate=Id,h.modifyState=Tu,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
5
+ */(function(e){(function(){var t={}.hasOwnProperty;function o(){for(var n=[],r=0;r<arguments.length;r++){var s=arguments[r];if(s){var a=typeof s;if(a==="string"||a==="number")n.push(s);else if(Array.isArray(s)){if(s.length){var l=o.apply(null,s);l&&n.push(l)}}else if(a==="object"){if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]")){n.push(s.toString());continue}for(var d in s)t.call(s,d)&&s[d]&&n.push(d)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Ge);const T=Z;var de,k,ee,we,xe=0,Ot=[],Ue=[],St=p.options.__b,Lt=p.options.__r,At=p.options.diffed,It=p.options.__c,Rt=p.options.unmount;function Ie(e,t){p.options.__h&&p.options.__h(k,e,xe||t),xe=0;var o=k.__H||(k.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:Ue}),o.__[e]}function se(e){return xe=1,bn(Bt,e)}function bn(e,t,o){var n=Ie(de++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):Bt(void 0,t),function(l){var d=n.__N?n.__N[0]:n.__[0],c=n.t(d,l);d!==c&&(n.__N=[c,n.__[1]],n.__c.setState({}))}],n.__c=k,!k.u)){var r=function(l,d,c){if(!n.__c.__H)return!0;var u=n.__c.__H.__.filter(function(_){return _.__c});if(u.every(function(_){return!_.__N}))return!s||s.call(this,l,d,c);var f=!1;return u.forEach(function(_){if(_.__N){var v=_.__[0];_.__=_.__N,_.__N=void 0,v!==_.__[0]&&(f=!0)}}),!(!f&&n.__c.props===l)&&(!s||s.call(this,l,d,c))};k.u=!0;var s=k.shouldComponentUpdate,a=k.componentWillUpdate;k.componentWillUpdate=function(l,d,c){if(this.__e){var u=s;s=void 0,r(l,d,c),s=u}a&&a.call(this,l,d,c)},k.shouldComponentUpdate=r}return n.__N||n.__}function F(e,t){var o=Ie(de++,3);!p.options.__s&&ft(o.__H,t)&&(o.__=e,o.i=t,k.__H.__h.push(o))}function Et(e,t){var o=Ie(de++,4);!p.options.__s&&ft(o.__H,t)&&(o.__=e,o.i=t,k.__h.push(o))}function U(e){return xe=5,Ee(function(){return{current:e}},[])}function Re(e,t,o){xe=6,Et(function(){return typeof e=="function"?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0},o==null?o:o.concat(e))}function Ee(e,t){var o=Ie(de++,7);return ft(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function yn(e,t){return xe=8,Ee(function(){return e},t)}function $n(e){var t=k.context[e.__c],o=Ie(de++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(k)),t.props.value):e.__}function kn(){for(var e;e=Ot.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Xe),e.__H.__h.forEach(pt),e.__H.__h=[]}catch(t){e.__H.__h=[],p.options.__e(t,e.__v)}}p.options.__b=function(e){k=null,St&&St(e)},p.options.__r=function(e){Lt&&Lt(e),de=0;var t=(k=e.__c).__H;t&&(ee===k?(t.__h=[],k.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=Ue,o.__N=o.i=void 0})):(t.__h.forEach(Xe),t.__h.forEach(pt),t.__h=[])),ee=k},p.options.diffed=function(e){At&&At(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(Ot.push(t)!==1&&we===p.options.requestAnimationFrame||((we=p.options.requestAnimationFrame)||wn)(kn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==Ue&&(o.__=o.__V),o.i=void 0,o.__V=Ue})),ee=k=null},p.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Xe),o.__h=o.__h.filter(function(n){return!n.__||pt(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],p.options.__e(n,o.__v)}}),It&&It(e,t)},p.options.unmount=function(e){Rt&&Rt(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Xe(n)}catch(r){t=r}}),o.__H=void 0,t&&p.options.__e(t,o.__v))};var jt=typeof requestAnimationFrame=="function";function wn(e){var t,o=function(){clearTimeout(n),jt&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);jt&&(t=requestAnimationFrame(o))}function Xe(e){var t=k,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),k=t}function pt(e){var t=k;e.__c=e.__(),k=t}function ft(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function Bt(e,t){return typeof t=="function"?t(e):t}function zt(e,t){for(var o in t)e[o]=t[o];return e}function Pt(e,t){for(var o in e)if(o!=="__source"&&!(o in t))return!0;for(var n in t)if(n!=="__source"&&e[n]!==t[n])return!0;return!1}function Mt(e){this.props=e}(Mt.prototype=new p.Component).isPureReactComponent=!0,Mt.prototype.shouldComponentUpdate=function(e,t){return Pt(this.props,e)||Pt(this.state,t)};var Ht=p.options.__b;p.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Ht&&Ht(e)};var xn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function ue(e){function t(o){var n=zt({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=xn,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var Nn=p.options.__e;p.options.__e=function(e,t,o,n){if(e.then){for(var r,s=t;s=s.__;)if((r=s.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}Nn(e,t,o,n)};var Vt=p.options.unmount;function Dt(e,t,o){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach(function(n){typeof n.__c=="function"&&n.__c()}),e.__c.__H=null),(e=zt({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return Dt(n,t,o)})),e}function qt(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return qt(n,t,o)}),e.__c&&e.__c.__P===t&&(e.__e&&o.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=o)),e}function gt(){this.__u=0,this.t=null,this.__b=null}function Ft(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ze(){this.u=null,this.o=null}p.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Vt&&Vt(e)},(gt.prototype=new p.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=Ft(n.__v),s=!1,a=function(){s||(s=!0,o.__R=null,r?r(l):l())};o.__R=a;var l=function(){if(!--n.__u){if(n.state.__a){var c=n.state.__a;n.__v.__k[0]=qt(c,c.__c.__P,c.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}},d=t.__h===!0;n.__u++||d||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(a,a)},gt.prototype.componentWillUnmount=function(){this.t=[]},gt.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var o=document.createElement("div"),n=this.__v.__k[0].__c;this.__v.__k[0]=Dt(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&p.createElement(p.Fragment,null,e.fallback);return r&&(r.__h=null),[p.createElement(p.Fragment,null,t.__a?null:e.children),r]};var Wt=function(e,t,o){if(++o[1]===o[0]&&e.o.delete(t),e.props.revealOrder&&(e.props.revealOrder[0]!=="t"||!e.o.size))for(o=e.u;o;){for(;o.length>3;)o.pop()();if(o[1]<o[0])break;e.u=o=o[2]}};(Ze.prototype=new p.Component).__a=function(e){var t=this,o=Ft(t.__v),n=t.o.get(e);return n[0]++,function(r){var s=function(){t.props.revealOrder?(n.push(r),Wt(t,e,n)):r()};o?o(s):s()}},Ze.prototype.render=function(e){this.u=null,this.o=new Map;var t=p.toChildArray(e.children);e.revealOrder&&e.revealOrder[0]==="b"&&t.reverse();for(var o=t.length;o--;)this.o.set(t[o],this.u=[1,0,this.u]);return e.children},Ze.prototype.componentDidUpdate=Ze.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Wt(e,o,t)})};var Cn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,Tn=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,On=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,Sn=/[A-Z0-9]/g,Ln=typeof document!="undefined",An=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};p.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(p.Component.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})});var Gt=p.options.event;function In(){}function Rn(){return this.cancelBubble}function En(){return this.defaultPrevented}p.options.event=function(e){return Gt&&(e=Gt(e)),e.persist=In,e.isPropagationStopped=Rn,e.isDefaultPrevented=En,e.nativeEvent=e};var jn={enumerable:!1,configurable:!0,get:function(){return this.class}},Ut=p.options.vnode;p.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var s in o){var a=o[s];if(!(s==="value"&&"defaultValue"in o&&a==null||Ln&&s==="children"&&n==="noscript"||s==="class"||s==="className")){var l=s.toLowerCase();s==="defaultValue"&&"value"in o&&o.value==null?s="value":s==="download"&&a===!0?a="":l==="ondoubleclick"?s="ondblclick":l!=="onchange"||n!=="input"&&n!=="textarea"||An(o.type)?l==="onfocus"?s="onfocusin":l==="onblur"?s="onfocusout":On.test(s)?s=l:n.indexOf("-")===-1&&Tn.test(s)?s=s.replace(Sn,"-$&").toLowerCase():a===null&&(a=void 0):l=s="oninput",l==="oninput"&&r[s=l]&&(s="oninputCapture"),r[s]=a}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=p.toChildArray(o.children).forEach(function(d){d.props.selected=r.value.indexOf(d.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=p.toChildArray(o.children).forEach(function(d){d.props.selected=r.multiple?r.defaultValue.indexOf(d.props.value)!=-1:r.defaultValue==d.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",jn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=Cn,Ut&&Ut(e)};var Xt=p.options.__r;p.options.__r=function(e){Xt&&Xt(e),e.__c};var Zt=p.options.diffed;p.options.diffed=function(e){Zt&&Zt(e);var t=e.props,o=e.__e;o!=null&&e.type==="textarea"&&"value"in t&&t.value!==o.value&&(o.value=t.value==null?"":t.value)};function Bn(){this.__data__=[],this.size=0}var zn=Bn;function Pn(e,t){return e===t||e!==e&&t!==t}var Ke=Pn,Mn=Ke;function Hn(e,t){for(var o=e.length;o--;)if(Mn(e[o][0],t))return o;return-1}var Je=Hn,Vn=Je,Dn=Array.prototype,qn=Dn.splice;function Fn(e){var t=this.__data__,o=Vn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():qn.call(t,o,1),--this.size,!0}var Wn=Fn,Gn=Je;function Un(e){var t=this.__data__,o=Gn(t,e);return o<0?void 0:t[o][1]}var Xn=Un,Zn=Je;function Kn(e){return Zn(this.__data__,e)>-1}var Jn=Kn,Yn=Je;function Qn(e,t){var o=this.__data__,n=Yn(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var er=Qn,tr=zn,or=Wn,nr=Xn,rr=Jn,ar=er;function Ne(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Ne.prototype.clear=tr,Ne.prototype.delete=or,Ne.prototype.get=nr,Ne.prototype.has=rr,Ne.prototype.set=ar;var Ye=Ne,sr=Ye;function ir(){this.__data__=new sr,this.size=0}var cr=ir;function lr(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var dr=lr;function ur(e){return this.__data__.get(e)}var _r=ur;function pr(e){return this.__data__.has(e)}var fr=pr,gr=typeof C=="object"&&C&&C.Object===Object&&C,Kt=gr,hr=Kt,vr=typeof self=="object"&&self&&self.Object===Object&&self,mr=hr||vr||Function("return this")(),Ce=mr,br=Ce,yr=br.Symbol,Jt=yr,Yt=Jt,Qt=Object.prototype,$r=Qt.hasOwnProperty,kr=Qt.toString,je=Yt?Yt.toStringTag:void 0;function wr(e){var t=$r.call(e,je),o=e[je];try{e[je]=void 0;var n=!0}catch(s){}var r=kr.call(e);return n&&(t?e[je]=o:delete e[je]),r}var xr=wr,Nr=Object.prototype,Cr=Nr.toString;function Tr(e){return Cr.call(e)}var Or=Tr,eo=Jt,Sr=xr,Lr=Or,Ar="[object Null]",Ir="[object Undefined]",to=eo?eo.toStringTag:void 0;function Rr(e){return e==null?e===void 0?Ir:Ar:to&&to in Object(e)?Sr(e):Lr(e)}var Qe=Rr;function Er(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var ve=Er,jr=Qe,Br=ve,zr="[object AsyncFunction]",Pr="[object Function]",Mr="[object GeneratorFunction]",Hr="[object Proxy]";function Vr(e){if(!Br(e))return!1;var t=jr(e);return t==Pr||t==Mr||t==zr||t==Hr}var ht=Vr,Dr=Ce,qr=Dr["__core-js_shared__"],Fr=qr,vt=Fr,oo=function(){var e=/[^.]+$/.exec(vt&&vt.keys&&vt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Wr(e){return!!oo&&oo in e}var Gr=Wr,Ur=Function.prototype,Xr=Ur.toString;function Zr(e){if(e!=null){try{return Xr.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var Kr=Zr,Jr=ht,Yr=Gr,Qr=ve,ea=Kr,ta=/[\\^$.*+?()[\]{}|]/g,oa=/^\[object .+?Constructor\]$/,na=Function.prototype,ra=Object.prototype,aa=na.toString,sa=ra.hasOwnProperty,ia=RegExp("^"+aa.call(sa).replace(ta,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ca(e){if(!Qr(e)||Yr(e))return!1;var t=Jr(e)?ia:oa;return t.test(ea(e))}var la=ca;function da(e,t){return e==null?void 0:e[t]}var ua=da,_a=la,pa=ua;function fa(e,t){var o=pa(e,t);return _a(o)?o:void 0}var mt=fa,ga=mt,ha=Ce,va=ga(ha,"Map"),no=va,ma=mt,ba=ma(Object,"create"),et=ba,ro=et;function ya(){this.__data__=ro?ro(null):{},this.size=0}var $a=ya;function ka(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var wa=ka,xa=et,Na="__lodash_hash_undefined__",Ca=Object.prototype,Ta=Ca.hasOwnProperty;function Oa(e){var t=this.__data__;if(xa){var o=t[e];return o===Na?void 0:o}return Ta.call(t,e)?t[e]:void 0}var Sa=Oa,La=et,Aa=Object.prototype,Ia=Aa.hasOwnProperty;function Ra(e){var t=this.__data__;return La?t[e]!==void 0:Ia.call(t,e)}var Ea=Ra,ja=et,Ba="__lodash_hash_undefined__";function za(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=ja&&t===void 0?Ba:t,this}var Pa=za,Ma=$a,Ha=wa,Va=Sa,Da=Ea,qa=Pa;function Te(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Te.prototype.clear=Ma,Te.prototype.delete=Ha,Te.prototype.get=Va,Te.prototype.has=Da,Te.prototype.set=qa;var Fa=Te,ao=Fa,Wa=Ye,Ga=no;function Ua(){this.size=0,this.__data__={hash:new ao,map:new(Ga||Wa),string:new ao}}var Xa=Ua;function Za(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var Ka=Za,Ja=Ka;function Ya(e,t){var o=e.__data__;return Ja(t)?o[typeof t=="string"?"string":"hash"]:o.map}var tt=Ya,Qa=tt;function es(e){var t=Qa(this,e).delete(e);return this.size-=t?1:0,t}var ts=es,os=tt;function ns(e){return os(this,e).get(e)}var rs=ns,as=tt;function ss(e){return as(this,e).has(e)}var is=ss,cs=tt;function ls(e,t){var o=cs(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var ds=ls,us=Xa,_s=ts,ps=rs,fs=is,gs=ds;function Oe(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var n=e[t];this.set(n[0],n[1])}}Oe.prototype.clear=us,Oe.prototype.delete=_s,Oe.prototype.get=ps,Oe.prototype.has=fs,Oe.prototype.set=gs;var hs=Oe,vs=Ye,ms=no,bs=hs,ys=200;function $s(e,t){var o=this.__data__;if(o instanceof vs){var n=o.__data__;if(!ms||n.length<ys-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new bs(n)}return o.set(e,t),this.size=o.size,this}var ks=$s,ws=Ye,xs=cr,Ns=dr,Cs=_r,Ts=fr,Os=ks;function Se(e){var t=this.__data__=new ws(e);this.size=t.size}Se.prototype.clear=xs,Se.prototype.delete=Ns,Se.prototype.get=Cs,Se.prototype.has=Ts,Se.prototype.set=Os;var Ss=Se,Ls=mt,As=function(){try{var e=Ls(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),so=As,io=so;function Is(e,t,o){t=="__proto__"&&io?io(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var bt=Is,Rs=bt,Es=Ke;function js(e,t,o){(o!==void 0&&!Es(e[t],o)||o===void 0&&!(t in e))&&Rs(e,t,o)}var co=js;function Bs(e){return function(t,o,n){for(var r=-1,s=Object(t),a=n(t),l=a.length;l--;){var d=a[e?l:++r];if(o(s[d],d,s)===!1)break}return t}}var zs=Bs,Ps=zs,Ms=Ps(),Hs=Ms,ot={},Vs={get exports(){return ot},set exports(e){ot=e}};(function(e,t){var o=Ce,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,s=r&&r.exports===n,a=s?o.Buffer:void 0,l=a?a.allocUnsafe:void 0;function d(c,u){if(u)return c.slice();var f=c.length,_=l?l(f):new c.constructor(f);return c.copy(_),_}e.exports=d})(Vs,ot);var Ds=Ce,qs=Ds.Uint8Array,Fs=qs,lo=Fs;function Ws(e){var t=new e.constructor(e.byteLength);return new lo(t).set(new lo(e)),t}var Gs=Ws,Us=Gs;function Xs(e,t){var o=t?Us(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Zs=Xs;function Ks(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Js=Ks,Ys=ve,uo=Object.create,Qs=function(){function e(){}return function(t){if(!Ys(t))return{};if(uo)return uo(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),ei=Qs;function ti(e,t){return function(o){return e(t(o))}}var oi=ti,ni=oi,ri=ni(Object.getPrototypeOf,Object),_o=ri,ai=Object.prototype;function si(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||ai;return e===o}var po=si,ii=ei,ci=_o,li=po;function di(e){return typeof e.constructor=="function"&&!li(e)?ii(ci(e)):{}}var ui=di;function _i(e){return e!=null&&typeof e=="object"}var Be=_i,pi=Qe,fi=Be,gi="[object Arguments]";function hi(e){return fi(e)&&pi(e)==gi}var vi=hi,fo=vi,mi=Be,go=Object.prototype,bi=go.hasOwnProperty,yi=go.propertyIsEnumerable,$i=fo(function(){return arguments}())?fo:function(e){return mi(e)&&bi.call(e,"callee")&&!yi.call(e,"callee")},ho=$i,ki=Array.isArray,vo=ki,wi=9007199254740991;function xi(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=wi}var mo=xi,Ni=ht,Ci=mo;function Ti(e){return e!=null&&Ci(e.length)&&!Ni(e)}var yt=Ti,Oi=yt,Si=Be;function Li(e){return Si(e)&&Oi(e)}var Ai=Li,ze={},Ii={get exports(){return ze},set exports(e){ze=e}};function Ri(){return!1}var Ei=Ri;(function(e,t){var o=Ce,n=Ei,r=t&&!t.nodeType&&t,s=r&&!0&&e&&!e.nodeType&&e,a=s&&s.exports===r,l=a?o.Buffer:void 0,d=l?l.isBuffer:void 0,c=d||n;e.exports=c})(Ii,ze);var ji=Qe,Bi=_o,zi=Be,Pi="[object Object]",Mi=Function.prototype,Hi=Object.prototype,bo=Mi.toString,Vi=Hi.hasOwnProperty,Di=bo.call(Object);function qi(e){if(!zi(e)||ji(e)!=Pi)return!1;var t=Bi(e);if(t===null)return!0;var o=Vi.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&bo.call(o)==Di}var Fi=qi,Wi=Qe,Gi=mo,Ui=Be,Xi="[object Arguments]",Zi="[object Array]",Ki="[object Boolean]",Ji="[object Date]",Yi="[object Error]",Qi="[object Function]",ec="[object Map]",tc="[object Number]",oc="[object Object]",nc="[object RegExp]",rc="[object Set]",ac="[object String]",sc="[object WeakMap]",ic="[object ArrayBuffer]",cc="[object DataView]",lc="[object Float32Array]",dc="[object Float64Array]",uc="[object Int8Array]",_c="[object Int16Array]",pc="[object Int32Array]",fc="[object Uint8Array]",gc="[object Uint8ClampedArray]",hc="[object Uint16Array]",vc="[object Uint32Array]",N={};N[lc]=N[dc]=N[uc]=N[_c]=N[pc]=N[fc]=N[gc]=N[hc]=N[vc]=!0,N[Xi]=N[Zi]=N[ic]=N[Ki]=N[cc]=N[Ji]=N[Yi]=N[Qi]=N[ec]=N[tc]=N[oc]=N[nc]=N[rc]=N[ac]=N[sc]=!1;function mc(e){return Ui(e)&&Gi(e.length)&&!!N[Wi(e)]}var bc=mc;function yc(e){return function(t){return e(t)}}var $c=yc,nt={},kc={get exports(){return nt},set exports(e){nt=e}};(function(e,t){var o=Kt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,s=r&&r.exports===n,a=s&&o.process,l=function(){try{var d=r&&r.require&&r.require("util").types;return d||a&&a.binding&&a.binding("util")}catch(c){}}();e.exports=l})(kc,nt);var wc=bc,xc=$c,yo=nt,$o=yo&&yo.isTypedArray,Nc=$o?xc($o):wc,ko=Nc;function Cc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var wo=Cc,Tc=bt,Oc=Ke,Sc=Object.prototype,Lc=Sc.hasOwnProperty;function Ac(e,t,o){var n=e[t];(!(Lc.call(e,t)&&Oc(n,o))||o===void 0&&!(t in e))&&Tc(e,t,o)}var Ic=Ac,Rc=Ic,Ec=bt;function jc(e,t,o,n){var r=!o;o||(o={});for(var s=-1,a=t.length;++s<a;){var l=t[s],d=n?n(o[l],e[l],l,o,e):void 0;d===void 0&&(d=e[l]),r?Ec(o,l,d):Rc(o,l,d)}return o}var Bc=jc;function zc(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var Pc=zc,Mc=9007199254740991,Hc=/^(?:0|[1-9]\d*)$/;function Vc(e,t){var o=typeof e;return t=t==null?Mc:t,!!t&&(o=="number"||o!="symbol"&&Hc.test(e))&&e>-1&&e%1==0&&e<t}var xo=Vc,Dc=Pc,qc=ho,Fc=vo,Wc=ze,Gc=xo,Uc=ko,Xc=Object.prototype,Zc=Xc.hasOwnProperty;function Kc(e,t){var o=Fc(e),n=!o&&qc(e),r=!o&&!n&&Wc(e),s=!o&&!n&&!r&&Uc(e),a=o||n||r||s,l=a?Dc(e.length,String):[],d=l.length;for(var c in e)(t||Zc.call(e,c))&&!(a&&(c=="length"||r&&(c=="offset"||c=="parent")||s&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Gc(c,d)))&&l.push(c);return l}var Jc=Kc;function Yc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var Qc=Yc,el=ve,tl=po,ol=Qc,nl=Object.prototype,rl=nl.hasOwnProperty;function al(e){if(!el(e))return ol(e);var t=tl(e),o=[];for(var n in e)n=="constructor"&&(t||!rl.call(e,n))||o.push(n);return o}var sl=al,il=Jc,cl=sl,ll=yt;function dl(e){return ll(e)?il(e,!0):cl(e)}var No=dl,ul=Bc,_l=No;function pl(e){return ul(e,_l(e))}var fl=pl,Co=co,gl=ot,hl=Zs,vl=Js,ml=ui,To=ho,Oo=vo,bl=Ai,yl=ze,$l=ht,kl=ve,wl=Fi,xl=ko,So=wo,Nl=fl;function Cl(e,t,o,n,r,s,a){var l=So(e,o),d=So(t,o),c=a.get(d);if(c){Co(e,o,c);return}var u=s?s(l,d,o+"",e,t,a):void 0,f=u===void 0;if(f){var _=Oo(d),v=!_&&yl(d),b=!_&&!v&&xl(d);u=d,_||v||b?Oo(l)?u=l:bl(l)?u=vl(l):v?(f=!1,u=gl(d,!0)):b?(f=!1,u=hl(d,!0)):u=[]:wl(d)||To(d)?(u=l,To(l)?u=Nl(l):(!kl(l)||$l(l))&&(u=ml(d))):f=!1}f&&(a.set(d,u),r(u,d,n,s,a),a.delete(d)),Co(e,o,u)}var Tl=Cl,Ol=Ss,Sl=co,Ll=Hs,Al=Tl,Il=ve,Rl=No,El=wo;function Lo(e,t,o,n,r){e!==t&&Ll(t,function(s,a){if(r||(r=new Ol),Il(s))Al(e,t,a,o,Lo,n,r);else{var l=n?n(El(e,a),s,a+"",e,t,r):void 0;l===void 0&&(l=s),Sl(e,a,l)}},Rl)}var jl=Lo;function Bl(e){return e}var Ao=Bl;function zl(e,t,o){switch(o.length){case 0:return e.call(t);case 1:return e.call(t,o[0]);case 2:return e.call(t,o[0],o[1]);case 3:return e.call(t,o[0],o[1],o[2])}return e.apply(t,o)}var Pl=zl,Ml=Pl,Io=Math.max;function Hl(e,t,o){return t=Io(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,s=Io(n.length-t,0),a=Array(s);++r<s;)a[r]=n[t+r];r=-1;for(var l=Array(t+1);++r<t;)l[r]=n[r];return l[t]=o(a),Ml(e,this,l)}}var Vl=Hl;function Dl(e){return function(){return e}}var ql=Dl,Fl=ql,Ro=so,Wl=Ao,Gl=Ro?function(e,t){return Ro(e,"toString",{configurable:!0,enumerable:!1,value:Fl(t),writable:!0})}:Wl,Ul=Gl,Xl=800,Zl=16,Kl=Date.now;function Jl(e){var t=0,o=0;return function(){var n=Kl(),r=Zl-(n-o);if(o=n,r>0){if(++t>=Xl)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Yl=Jl,Ql=Ul,ed=Yl,td=ed(Ql),od=td,nd=Ao,rd=Vl,ad=od;function sd(e,t){return ad(rd(e,t,nd),e+"")}var id=sd,cd=Ke,ld=yt,dd=xo,ud=ve;function _d(e,t,o){if(!ud(o))return!1;var n=typeof t;return(n=="number"?ld(o)&&dd(t,o.length):n=="string"&&t in o)?cd(o[t],e):!1}var pd=_d,fd=id,gd=pd;function hd(e){return fd(function(t,o){var n=-1,r=o.length,s=r>1?o[r-1]:void 0,a=r>2?o[2]:void 0;for(s=e.length>3&&typeof s=="function"?(r--,s):void 0,a&&gd(o[0],o[1],a)&&(s=r<3?void 0:s,r=1),t=Object(t);++n<r;){var l=o[n];l&&e(t,l,n,s)}return t})}var vd=hd,md=jl,bd=vd;bd(function(e,t,o){md(e,t,o)});const me=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const s=[o,r].filter(M).join(".");return me(t(r,n,s),t,s)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,s])=>{const a=[o,r].filter(M).join(".");return n[r]=me(t(r,s,a),t,a),n},{}):e,yd=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},Pe=()=>{let e={};return{on:(a,l)=>{a in e?e[a].push(l):e[a]=[l]},has:a=>a in e,get:a=>e[a],emit:(a,...l)=>a in e?e[a].map(d=>d(...l)).filter(Boolean):[],reset:()=>e={}}},$d=()=>({name:null,logo:null}),Eo=()=>({name:null,logo:null}),kd=()=>({factor:null,type:null,outcome:null,value:null}),wd=()=>({w1:null,x:null,w2:null}),xd=()=>({w1:null,w2:null}),Nd=()=>({one_x_two:wd(),one_two:xd()}),jo=(e,t)=>{var n;const o={slug:(e==null?void 0:e.slug)||null,sportSlug:(e==null?void 0:e.sport_slug)||null,matchDate:(e==null?void 0:e.match_date)||null,teams:g({},(e==null?void 0:e.teams)||{0:Eo(),1:Eo()}),league:(e==null?void 0:e.unique_tournament)||$d(),prediction:(e==null?void 0:e.prediction)||kd(),isNational:(n=e==null?void 0:e.is_national)!=null?n:null};if(t!=null&&t.markets){const r=t.markets.reduce((s,a)=>(s[a]=m(e||{},`markets.${a}`,Nd()[a||"one_two"]),s),{});Me(o,"markets",r)}return o},Cd=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),Td=e=>!e&&e==null,M=e=>!Td(e),Bo=e=>typeof e!="object"&&typeof e!="function"||e===null,Od=e=>typeof e=="object"&&!Array.isArray(e)&&M(e),Sd=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(t,o)=>(o?"-":"")+t.toLowerCase()),te=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function ie(e,...t){const o=g({},e);return t.forEach(n=>{delete o[n]}),o}const m=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((s,a)=>s&&s[a],e);return r===void 0?o:r},Me=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,s,a)=>(r[s]===void 0&&(r[s]={}),a===n.length-1&&(r[s]=o),r[s]),e)},Ld=e=>{const t=e.slice(1);return t.length===3&&(e="#"+t.split("").map(o=>`${o}${o}`).join("")),e},Ad=e=>{const t=Ld(e),o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);return o?{r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}:void 0},zo=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),Id=e=>"id"in e&&"root"in e,Rd=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),Po=(e,t,o)=>me(e,(n,r,s)=>Bo(r)||Array.isArray(r)&&r.every(Bo)?o?o(n,[r,m(t,s)],s)?m(t,s,r):r:m(t,s,r):r),Ed=(e,t)=>{try{me(e,(o,n,r)=>{if(t(o,n,r))throw{key:o,value:n,path:r};return n})}catch(o){return o}},jd=(e,t)=>{const o=[];return me(e,(n,r,s)=>(t(n,r,s,o)&&o.push({key:n,value:r,path:s}),r)),o},Mo=["desktop","laptop","tablet","mobile"],Bd={mobile:320,tablet:768,laptop:1024,desktop:1920},O={root:"_root_90dqc_1",icon:"_icon_90dqc_5",iconTarget:"_iconTarget_90dqc_17",body:"_body_90dqc_23",bodyOpen:"_bodyOpen_90dqc_31",simpleGift_in:"_simpleGift_in_90dqc_1",close:"_close_90dqc_44",arrow:"_arrow_90dqc_56",container:"_container_90dqc_67",inner:"_inner_90dqc_73",logo:"_logo_90dqc_80",text:"_text_90dqc_87",button:"_button_90dqc_94",buttonAnimated:"_buttonAnimated_90dqc_103",increase:"_increase_90dqc_1",legalGap:"_legalGap_90dqc_107",legalOpen:"_legalOpen_90dqc_111",legal:"_legal_90dqc_107",legalText:"_legalText_90dqc_139",legalButton:"_legalButton_90dqc_157",fadein:"_fadein_90dqc_1",pulse:"_pulse_90dqc_1",gradient:"_gradient_90dqc_1",wiggle:"_wiggle_90dqc_1"};var zd=0;function i(e,t,o,n,r,s){var a,l,d={};for(l in t)l=="ref"?a=t[l]:d[l]=t[l];var c={type:e,props:d,key:o,ref:a,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--zd,__source:r,__self:s};if(typeof e=="function"&&(a=e.defaultProps))for(l in a)d[l]===void 0&&(d[l]=a[l]);return p.options.vnode&&p.options.vnode(c),c}const Ho=p.createContext(),_e=({children:e,value:t})=>i(Ho.Provider,{value:t,children:e}),pe=e=>a=>We(this,null,function*(){var l=a,{target:t,id:o,ref:n,state:r}=l,s=Tt(l,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const d=yield Promise.resolve().then(()=>Qu);window.ResizeObserver=d.ResizeObserver}return p.render(i(_e,{value:r,children:p.cloneElement(e,g({ref:n,id:o},s))}),t)}),H=()=>$n(Ho),Pd=(e={})=>typeof e=="object"&&M(e)&&Mo.every(t=>t in e),Md=(e,t)=>e&&me(e,(o,n)=>{if(Pd(n)){const r=n[t];return r&&"parent"in r&&M(r.parent)?g(g({},n[r.parent]),ie(r,"parent")):r}return n}),fe=(e,t)=>Md(e,t),be=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=Bd})=>{const[r,s]=se("desktop"),a=l=>{var f;const d=l.getBoundingClientRect().width||0,c=Object.entries(g({},n)).sort(([_,v],[b,$])=>v-$),u=((f=c.find(([_,v],b)=>{const[$,y]=c[b+1]||[];return d>=v&&d<y}))==null?void 0:f[0])||"desktop";s(u)};return Et(()=>{const l=t.current.closest(`[data-${o}='${e}']`)||document.body;l&&(new ResizeObserver(()=>a(l)).observe(l),a(l))},[]),r},Vo=e=>console.warn(`[Adstore-templates Deprecated]: ${e}`),rt=(e,t)=>M(e)&&!(typeof e=="number"?e.toString():e).includes(t)?`${e}${t}`:e,Hd=e=>e.startsWith("px_"),Vd=e=>e.startsWith("percent_"),Dd=(e,t)=>{let o=e,n=t;return Hd(o)&&(o=o.replace("px_",""),n=rt(t,"px")),Vd(o)&&(o=o.replace("percent_",""),n=rt(t,"%")),{key:o,value:n}},qd="-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji'",Fd=["borderWidth","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth","minHeight","minWidth","maxWidth","maxHeight","fontSize","height","width","letterSpacing","fontSize","left","right","top","bottom","marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Do=e=>{const t=Object.keys(e);return(t.includes("innerHTML")||t.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.'),typeof e!="object"?e:Object.entries(e).reduce((o,[n,r])=>{Fd.includes(n)&&(r=rt(r,"px"));const{key:s,value:a}=Dd(n,r);if(Od(a)&&(o[s]=Do(a)),o[s]=a,s==="hidden"&&a)return o.display="none",o;if(s==="innerHTML"&&(o.innerHTML=M(a)?`${a}`:""),s==="innerText"&&(o.innerText=M(a)?`${a}`:""),s==="children"&&(o.children=typeof a=="string"?M(a)?`${a}`:"":a),s.includes("borderWidth")&&(o.borderStyle="solid"),s==="corner"&&(o.borderRadius=rt(a,"px")),s==="backgroundFit"&&(Vo("Property 'backgroundFit' is deprecated. Use 'objectFit' instead."),o.backgroundSize=a,o.objectFit=a),s==="backgroundImage"&&M(a)&&(o.backgroundImage=`url(${a})`,o.backgroundRepeat="no-repeat",o.imageSource=a,Vo("Property 'backgroundImage' is deprecated. Use 'imageSource' instead.")),s==="backgroundColorOpacity"&&M(o.backgroundColorOpacity)&&M(o.backgroundColor)){const l=Ad(o.backgroundColor);l&&(o.backgroundColor=Rd(`rgb(${l.r}, ${l.g}, ${l.b})`,+o.backgroundColorOpacity/100))}return s==="fontFamily"&&/auto/i.test(a)&&(o.fontFamily=qd),s==="isBold"&&(o.fontWeight=a?"bold":"initial"),s==="isItalic"&&(o.fontStyle=a?"italic":"initial"),s==="isThrough"&&(o.textDecoration=a?"line-through":"initial"),o},e)},Wd=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,L=e=>M(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=Wd(n)?Do(g({},e[o])):n,t),{}):e,Gd=e=>e in document.createElement("div").style||e.startsWith("--"),J=r=>{var s=r,{children:e,typography:t,accentTypography:o}=s,n=Tt(s,["children","typography","accentTypography"]);var d;const a=Ee(()=>{if(!o)return{};let c="";return Object.entries(o).forEach(([u,f])=>{Gd(u)&&(c+=`${Sd(u)}: ${f}; `)}),c},[o]),l=(d=e==null?void 0:e.replace(/script|\n/g,""))==null?void 0:d.replace(/{{(.*?)}}/g,`<span style="${a}">$1</span>`);return i("div",w(g({},n),{style:g(g({},t),n.style||{}),dangerouslySetInnerHTML:{__html:l}}))},at=()=>{const[e,t]=se(!1);return[e,()=>t(o=>!o)]},Le=()=>i("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",viewBox:"0 0 24 24",children:i("path",{d:"M17.659 4.929a1 1 0 1 1 1.414 1.414L13.416 12l5.657 5.657a1 1 0 0 1-1.415 1.414l-5.656-5.657-5.657 5.657a1 1 0 0 1-1.414-1.414L10.587 12 4.931 6.343A1 1 0 1 1 6.345 4.93l5.657 5.657 5.656-5.657Z",fill:"currentColor"})}),$t=()=>i("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:i("path",{d:"M5.95312 2.15L7.04063 4H7H4.75C4.05937 4 3.5 3.44062 3.5 2.75C3.5 2.05938 4.05937 1.5 4.75 1.5H4.81875C5.28437 1.5 5.71875 1.74688 5.95312 2.15ZM2 2.75C2 3.2 2.10938 3.625 2.3 4H1C0.446875 4 0 4.44688 0 5V7C0 7.55312 0.446875 8 1 8H15C15.5531 8 16 7.55312 16 7V5C16 4.44688 15.5531 4 15 4H13.7C13.8906 3.625 14 3.2 14 2.75C14 1.23125 12.7688 0 11.25 0H11.1812C10.1844 0 9.25938 0.528125 8.75313 1.3875L8 2.67188L7.24687 1.39062C6.74062 0.528125 5.81562 0 4.81875 0H4.75C3.23125 0 2 1.23125 2 2.75ZM12.5 2.75C12.5 3.44062 11.9406 4 11.25 4H9H8.95938L10.0469 2.15C10.2844 1.74688 10.7156 1.5 11.1812 1.5H11.25C11.9406 1.5 12.5 2.05938 12.5 2.75ZM1 9V14.5C1 15.3281 1.67188 16 2.5 16H7V9H1ZM9 16H13.5C14.3281 16 15 15.3281 15 14.5V9H9V16Z",fill:"currentColor"})}),Ud=e=>({fade:`${e.fade} 2s linear infinite`,pulse:`${e.pulse} .3s linear 0s infinite alternate forwards`,wiggle:`${e.wiggle} 2s linear infinite`,gradient:`${e.gradient} 3s ease infinite`}),qo=(e,t)=>{var u,f,_,v,b,$,y,V,z,S,j,B,D;const o=Ud(t),n=L(e),r=(u=n==null?void 0:n.icon)==null?void 0:u.hasIcon,s={left:`${+(((f=e==null?void 0:e.container)==null?void 0:f.left)||0)*-1+8}px`,backgroundColor:(_=n==null?void 0:n.container)==null?void 0:_.backgroundColor,borderTopWidth:(v=n==null?void 0:n.container)==null?void 0:v.borderWidth,borderTopColor:(b=n==null?void 0:n.container)==null?void 0:b.borderColor,borderTopStyle:"solid",borderLeftWidth:($=n==null?void 0:n.container)==null?void 0:$.borderWidth,borderLeftColor:(y=n==null?void 0:n.container)==null?void 0:y.borderColor,borderLeftStyle:"solid"},a={left:(V=n==null?void 0:n.container)==null?void 0:V.left},l=(((z=n==null?void 0:n.icon)==null?void 0:z.animations)||[]).map(x=>o[x]).join(", "),d=M((S=n==null?void 0:n.icon)==null?void 0:S.gradientColor)&&((j=n==null?void 0:n.icon)!=null&&j.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(B=n.icon)==null?void 0:B.backgroundColor} 0%, ${(D=n==null?void 0:n.icon)==null?void 0:D.gradientColor} 100%) 0% 0% / 400% 400%`,backgroundSize:"400% 400%"}:n==null?void 0:n.icon,c=g(w(g({},(n==null?void 0:n.icon)||{}),{animation:l}),d);return{hasIcon:r,arrowRules:s,bodyRules:a,iconRules:c}},ge=e=>{const t=new Set([]);me(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=Ee(()=>Array.from(t.values()).filter(n=>!/auto/i.test(n)).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);F(()=>{o.forEach(yd)},[o])},Y=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundSize","backgroundRepeat"],Xd=["borderWidth","borderColor","borderStyle"],Fo=["imageSource","objectFit"],st=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],Zd=({delay:e,openEmitter:t,autoOpenEmitter:o,closeEmitter:n,crossCloseEmitter:r,disableAutoOpen:s})=>{const[a,l]=se(!1),d=U(null),c=_=>{clearTimeout(d.current),d.current=null},u=()=>{c(d.current),l(_=>(_&&n&&n(),!_))},f=()=>{u(),r&&r()};return F(()=>{if(!s)return d.current=setTimeout(()=>{l(!0),o&&o()},e||1e3),()=>c(d.current)},[e,s]),F(()=>{a&&!d.current&&t&&t()},[a]),{isOpen:a,toggle:u,onCrossClick:f}},Wo=({ref:e,openDelay:t,disableAutoOpen:o})=>{const n=U(Pe()),r=_=>n.current.on("open",_),s=_=>n.current.on("click",_),a=_=>n.current.on("autoOpen",_),l=_=>n.current.on("close",_),d=_=>n.current.on("crossClose",_),{isOpen:c,toggle:u,onCrossClick:f}=Zd({delay:t,disableAutoOpen:o,openEmitter:()=>n.current.emit("open"),autoOpenEmitter:()=>n.current.emit("autoOpen"),closeEmitter:()=>n.current.emit("close"),crossCloseEmitter:()=>n.current.emit("crossClose")});return Re(e,()=>({toggle:u,onCrossClose:d,onOpen:r,onClick:s,onClose:l,onAutoOpen:a,resetListeners:n.current.reset})),F(()=>n.current.reset,[]),{isOpen:c,toggle:u,onCrossClick:f,click:(..._)=>n.current.emit("click",..._)}},Kd=ue(({id:e,disableAutoOpen:t},o)=>{var S,j,B,D,x,q,P,G,le;const n=U(null),[r,s]=at(),a=H(),l=be({targetRef:n,id:e}),d=fe(a,l),c=L(d),{hasIcon:u,iconRules:f,bodyRules:_,arrowRules:v}=qo(d,{fade:O.fadein,pulse:O.pulse,wiggle:O.wiggle,gradient:O.gradient}),{isOpen:b,toggle:$,click:y,onCrossClick:V}=Wo({ref:o,openDelay:(S=d==null?void 0:d.container)==null?void 0:S.delay,disableAutoOpen:t});ge(d);const z=r?te(c.container,...Xd):{};return i("div",{className:T(O.root,{[O.legalOpen]:r}),ref:n,children:[i("div",{className:O.icon,style:f,onClick:$,children:u&&i("div",{className:O.iconTarget,children:i($t,{})})}),i("div",{className:T(O.body,{[O.bodyOpen]:b}),style:_,children:[i("div",{className:O.arrow,style:v}),i("div",{className:O.close,style:c==null?void 0:c.close,onClick:V,children:i(Le,{})}),i("div",{className:O.container,style:c==null?void 0:c.container,children:[i("a",{href:(j=c==null?void 0:c.root)==null?void 0:j.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>y(c.id),children:[i("div",{className:O.inner,children:[i("div",{className:O.logo,style:c==null?void 0:c.logo}),i(J,{className:O.text,style:c==null?void 0:c.text,typography:(B=c.text)==null?void 0:B.typography,accentTypography:(D=c.text)==null?void 0:D.accentTypography,children:(x=c==null?void 0:c.text)==null?void 0:x.children})]}),i("div",{className:T(O.button,{[O.buttonAnimated]:c==null?void 0:c.button.isAnimated}),style:c==null?void 0:c.button,children:(q=c==null?void 0:c.button)==null?void 0:q.children})]}),i("div",{className:O.legalGap}),i("div",{className:O.legal,style:g(g({},c==null?void 0:c.legal),z),children:i("span",{className:O.legalText,children:i("span",{children:[i("span",{children:(P=c==null?void 0:c.legal)==null?void 0:P.children}),i("span",{className:O.legalButton,onClick:s,children:r?(G=c==null?void 0:c.legal)==null?void 0:G.buttonOpenText:(le=c==null?void 0:c.legal)==null?void 0:le.buttonHideText})]})})})]})]})]})}),Jd=pe(i(Kd,{})),A={root:"_root_9zg53_1",icon:"_icon_9zg53_5",iconTarget:"_iconTarget_9zg53_17",body:"_body_9zg53_23",desktop:"_desktop_9zg53_30",tablet:"_tablet_9zg53_30",laptop:"_laptop_9zg53_30",bodyOpen:"_bodyOpen_9zg53_34",complexGift_in:"_complexGift_in_9zg53_1",arrow:"_arrow_9zg53_47",container:"_container_9zg53_57",promotion:"_promotion_9zg53_62",close:"_close_9zg53_68",head:"_head_9zg53_80",headIcon:"_headIcon_9zg53_86",headTitle:"_headTitle_9zg53_92",inner:"_inner_9zg53_99",fadein:"_fadein_9zg53_1",pulse:"_pulse_9zg53_1",gradient:"_gradient_9zg53_1",wiggle:"_wiggle_9zg53_1"},oe={root:"_root_1y96a_1",body:"_body_1y96a_30",bodyInner:"_bodyInner_1y96a_38",line:"_line_1y96a_43",text:"_text_1y96a_53",button:"_button_1y96a_61",logo:"_logo_1y96a_73",variant2:"_variant2_1y96a_79",buttonText:"_buttonText_1y96a_83",legal:"_legal_1y96a_100"},Yd=({onClick:e})=>{var n,r,s,a,l,d,c;const t=H(),o=L(t);return i("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:T(oe.root,{[oe.variant2]:((r=o.root)==null?void 0:r.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[i("div",{className:oe.body,children:[i("div",{className:oe.line,style:o.line}),i("div",{className:oe.bodyInner,children:[i("div",{className:oe.logo,style:o.logo}),i("div",{className:oe.text,style:o.text,children:i(J,{typography:(s=o.text)==null?void 0:s.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children})})]}),i("div",{className:oe.button,style:o.button,children:[i("div",{className:oe.logo,style:o.logo}),i("div",{className:oe.buttonText,children:(d=o.button)==null?void 0:d.children})]})]}),i("div",{className:oe.legal,style:o.legal,children:(c=o.legal)==null?void 0:c.children})]})},Qd=ue(({id:e},t)=>{var z,S,j,B;const o=U(null),n=H(),r=be({targetRef:o,id:e}),s=fe(n,r),a=L(s),{isOpen:l,click:d,toggle:c,onCrossClick:u}=Wo({ref:t,openDelay:(z=s==null?void 0:s.container)==null?void 0:z.delay});ge(s);const{hasIcon:f,iconRules:_,bodyRules:v,arrowRules:b}=qo(s,{fade:A.fadein,pulse:A.pulse,wiggle:A.wiggle,gradient:A.gradient}),$=(S=a==null?void 0:a.title)==null?void 0:S.hasIcon,y=te(a==null?void 0:a.title,...st),V=ie(a==null?void 0:a.title,...st);return i("div",{ref:o,className:T(A.root,{[A.desktop]:r==="desktop",[A.laptop]:r==="laptop",[A.tablet]:r==="tablet"}),children:[i("div",{className:A.icon,style:_,onClick:c,children:f&&i("div",{className:A.iconTarget,children:i($t,{})})}),i("div",{className:T(A.body,{[A.bodyOpen]:l}),style:v,children:[i("div",{className:A.arrow,style:b}),i("div",{className:A.container,style:a.container,children:[i("div",{className:A.close,style:a.close,onClick:u,children:i(Le,{})}),i("div",{className:A.head,style:y,children:[$&&i("div",{className:A.headIcon,style:te(a.title,"color"),children:i($t,{})}),i("div",{className:A.headTitle,style:V,children:(j=a.title)==null?void 0:j.children})]}),i("div",{className:A.inner,children:(a.children||[]).map(D=>i(_e,{value:D,children:i(Yd,{onClick:d})}))}),i("div",{className:A.promotion,style:a.promotion,children:(B=a.promotion)==null?void 0:B.children})]})]})]})}),eu=pe(i(Qd,{})),K={root:"_root_byy1w_1",background:"_background_byy1w_11",content:"_content_byy1w_19",desktop:"_desktop_byy1w_28",laptop:"_laptop_byy1w_28",wrapper:"_wrapper_byy1w_33",overlay:"_overlay_byy1w_37",close:"_close_byy1w_43",body:"_body_byy1w_54",logo:"_logo_byy1w_63",text:"_text_byy1w_69",button:"_button_byy1w_73",legal:"_legal_byy1w_88"},ye=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],tu={root:"_root_mj8hr_1"},ou=()=>{var o,n,r;const e=H(),t=L(e);return i("div",{className:tu.root,style:t.root,children:i(J,{typography:(o=t.root)==null?void 0:o.typography,accentTypography:(n=t.root)==null?void 0:n.accentTypography,children:(r=t==null?void 0:t.root)==null?void 0:r.children})})},kt=(e,t=0,o=!1)=>{const n=U(Pe()),[r,s]=se(!1),[a,l]=se(),[d,c]=se(o),u=y=>n.current.on("visible",y),f=y=>n.current.on("click",y),_=y=>n.current.on("clickHide",y),v=()=>We(this,null,function*(){yield Cd(+t),s(!0)}),b=()=>s(!1),$=()=>{n.current.emit("clickHide"),b()};return F(()=>{d&&n.current.emit("visible",r)},[r,d]),Re(e,()=>({onVisible:u,onClick:f,onClickHide:_,show:v,hide:b,setApiHost:l,resetListeners:n.current.reset})),F(()=>n.current.reset,[]),{isReady:d,isOpen:r,apiHost:a,show:v,hide:b,clickHide:$,setIsReady:c,click:(...y)=>{b(),n.current.emit("click",...y)}}};function nu(e){return!(!e.complete||typeof e.naturalWidth!="undefined"&&e.naturalWidth===0)}const ru=ue(({id:e,className:t},o)=>{var j,B,D,x,q,P;const n=U(null),r=U(null),s=be({targetRef:n,id:e}),a=H(),l=fe(a,s);ge(l),Me(l,"button.percent_width",(j=l==null?void 0:l.button)==null?void 0:j.width),Me(l,"legal.percent_width",(B=l==null?void 0:l.legal)==null?void 0:B.width);const d=L(l),c=m(d,"root.delay",0),{isOpen:u,isReady:f,setIsReady:_,clickHide:v,click:b}=kt(o,c);F(()=>{const G=r.current;if(!G)return;if(nu(G)){_(!0);return}const le=()=>_(!0);return G.addEventListener("load",le),()=>{G.removeEventListener("load",le)}},[d]);const $={alignItems:ye((D=d.root)==null?void 0:D.align)},y=w(g({},d==null?void 0:d.button),{justifyContent:ye((x=d.root)==null?void 0:x.textAlign)}),V=w(g({},d==null?void 0:d.legal),{justifyContent:ye((q=d.root)==null?void 0:q.textAlign)}),z=ie(d.root,...Fo,...Y),S=te(d.root,...Fo);return i("div",{className:T(K.root,t,{[K.desktop]:s==="desktop",[K.tablet]:s==="tablet",[K.laptop]:s==="laptop"}),ref:n,style:{display:u&&f?"flex":"none"},children:[i("div",{className:K.overlay,style:d.overlay,onClick:v}),i("div",{className:K.wrapper,children:[i("div",{className:K.close,style:Ve(d.close),onClick:v,children:i(Le,{})}),i("a",{href:(P=d.root)==null?void 0:P.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:K.content,style:z,onClick:()=>b(d.id),children:[i("img",{ref:r,className:K.background,src:S.imageSource,alt:"",style:S}),i("div",{className:K.body,style:$,children:[i("div",{className:K.logo,style:d.logo}),i("div",{className:K.text,children:((d==null?void 0:d.children)||[]).map(G=>i(_e,{value:G,children:i(ou,{})}))}),i("div",{className:K.button,style:y,children:y==null?void 0:y.children}),i("div",{className:K.legal,style:V,children:V==null?void 0:V.children})]})]})]})]})}),au=pe(i(ru,{})),he={root:"_root_1v94r_1",content:"_content_1v94r_11",desktop:"_desktop_1v94r_23",laptop:"_laptop_1v94r_23",overlay:"_overlay_1v94r_28",close:"_close_1v94r_34",title:"_title_1v94r_47",wrapper:"_wrapper_1v94r_62"},Q={root:"_root_1q0qc_1",desktop:"_desktop_1q0qc_9",laptop:"_laptop_1q0qc_9",header:"_header_1q0qc_14",logo:"_logo_1q0qc_25",container:"_container_1q0qc_32",body:"_body_1q0qc_43",logoWrapper:"_logoWrapper_1q0qc_51",text:"_text_1q0qc_64",button:"_button_1q0qc_79",legal:"_legal_1q0qc_97"},su=({onClick:e})=>{var s,a,l,d,c,u;const t=H(),o=L(t),n=(t==null?void 0:t.device)||"desktop",r=te(o.header,...Y);return i("a",{href:(s=o.root)==null?void 0:s.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:T(Q.root,{[Q.desktop]:n==="desktop",[Q.laptop]:n==="laptop"}),style:ie(o.root,...st),onClick:()=>e(o.id),children:[i("div",{className:Q.header,style:o.header,children:i("div",{className:Q.logo,style:o.logo})}),i("div",{className:Q.container,style:te(o.root,...st),children:[i("div",{className:Q.body,children:[i("div",{className:Q.logoWrapper,style:r,children:i("div",{className:Q.logo,style:o.logo})}),i(J,{className:Q.text,style:o.text,typography:(a=o.text)==null?void 0:a.typography,accentTypography:(l=o.text)==null?void 0:l.accentTypography,children:(d=o.text)==null?void 0:d.children})]}),i("div",{children:[i(J,{className:Q.button,style:o.button,children:(c=o.button)==null?void 0:c.children}),i(J,{className:Q.legal,style:o.legal,children:(u=o.legal)==null?void 0:u.children})]})]})]})},iu=ue(({id:e},t)=>{var f;const o=U(null),n=be({targetRef:o,id:e}),r=H(),s=fe(r,n),a=L(s);ge(s);const l=m(a,"root.delay",0),{isOpen:d,clickHide:c,click:u}=kt(t,l,!0);return i("div",{className:he.root,style:{display:d?"flex":"none"},children:[i("div",{className:he.overlay,style:a.overlay,onClick:c}),i("div",{ref:o,className:T(he.content,{[he.desktop]:n==="desktop",[he.laptop]:n==="laptop"}),style:a.root,children:[i("div",{className:he.close,style:Ve(a.close),onClick:c,children:i(Le,{})}),i(J,{className:he.title,style:a.title,children:(f=a.title)==null?void 0:f.children}),i("div",{className:he.wrapper,children:(a.children||[]).map(_=>i(_e,{value:w(g({},_),{device:n}),children:i(su,{onClick:u})}))})]})]})}),cu=pe(i(iu,{})),W={root:"_root_1xp54_1",content:"_content_1xp54_11",close:"_close_1xp54_19",overlay:"_overlay_1xp54_32",body:"_body_1xp54_38",desktop:"_desktop_1xp54_46",laptop:"_laptop_1xp54_46",tablet:"_tablet_1xp54_50",head:"_head_1xp54_55",title:"_title_1xp54_65",logo:"_logo_1xp54_78",wrapper:"_wrapper_1xp54_85",text:"_text_1xp54_92",button:"_button_1xp54_100",buttonHead:"_buttonHead_1xp54_115",buttonTarget:"_buttonTarget_1xp54_132",legal:"_legal_1xp54_146"},I={root:"_root_16jvv_1",left:"_left_16jvv_8",desktop:"_desktop_16jvv_15",laptop:"_laptop_16jvv_15",teams:"_teams_16jvv_19",logo:"_logo_16jvv_25",league:"_league_16jvv_32",name:"_name_16jvv_37",right:"_right_16jvv_43",odd:"_odd_16jvv_54",oddLabel:"_oddLabel_16jvv_67",oddValue:"_oddValue_16jvv_76",team:"_team_16jvv_19",teamLogo:"_teamLogo_16jvv_100",teamName:"_teamName_16jvv_107"},lu=()=>{const e=H(),t=L(e),o=(e==null?void 0:e.device)||"desktop",n=w(g({},t==null?void 0:t.teamALogo),{backgroundImage:m(t,"match.teams[0].logo")}),r=w(g({},t==null?void 0:t.teamBLogo),{backgroundImage:m(t,"match.teams[1].logo")});return i("div",{className:T(I.root,{[I.desktop]:o==="desktop",[I.laptop]:o==="laptop"}),children:[i("div",{className:I.left,children:[i("div",{className:I.teams,children:[i("img",{className:I.logo,src:n.backgroundImage,style:n,alt:""}),i("img",{className:I.logo,src:r.backgroundImage,style:r})]}),i("div",{className:I.body,children:[i("div",{className:I.league,style:t.league,children:m(t,"match.league.name")}),i("div",{className:I.name,style:t.teams,children:[m(t,"match.teams[0].name")," — ",m(t,"match.teams[1].name")]})]})]}),i("div",{className:I.right,children:[i("div",{className:I.team,children:[i("img",{className:I.teamLogo,style:n,src:n.backgroundImage}),i("div",{className:I.teamName,style:t.teams,children:m(t,"match.teams[0].name")})]}),i("div",{className:I.odd,children:[i("div",{className:I.oddLabel,style:t.oddLabel,children:m(t,"match.prediction.value")}),i("div",{className:I.oddValue,style:t.oddValue,children:m(t,"match.prediction.factor")})]}),i("div",{className:I.team,children:[i("img",{className:I.teamLogo,style:r,src:r.backgroundImage}),i("div",{className:I.teamName,style:t.teams,children:m(t,"match.teams[1].name")})]})]})]})},Go=(e,{pause:t,params:o,method:n,body:r})=>{const[s,a]=se(),l=Ee(()=>{let c=e;if(o){const u=new URLSearchParams(c);Object.entries(o).forEach(([f,_])=>{u.append(f,_)}),c+=u}return c},[e,o]),d=yn(()=>We(this,null,function*(){if(t)return;const c=yield fetch(l,{method:n||"GET",body:r?JSON.stringify(r):void 0,headers:{"Content-Type":"application/json"}}).then(u=>u.json());a(c.data)}),[l,t,n,r]);return F(()=>{t||d()},[l,t]),{data:s,execute:d}};function Uo(e){const t=U();return F(()=>{t.current=e},[e]),t.current}const du=(e,t)=>{const o=c=>{var u;return M(c==null?void 0:c.matchSlug)&&((u=c==null?void 0:c.matchSlug)==null?void 0:u.length)>0},n=e.children||[],r=n.filter(c=>o(c.root.targetMatch)).map(c=>c.root.targetMatch),s=Uo(r),{data:a,execute:l}=Go(`${t}/match-list`,{method:"POST",body:{matches:r.map(c=>({slug:c.matchSlug,sport_slug:c.sportSlug,lang:c.langSlug,bookmaker_slug:c.bookmaker,offset:c.offset,markets:c.markets}))},pause:!t||r.length===0});return F(()=>{zo(s,r)||l()},[r]),n.map(c=>{const u=(a||[]).find(v=>v.slug===c.root.targetMatch.matchSlug);if(!u)return;const f=jo(u),_=Po(f,c.root.customMatch,(v,[b,$])=>M($));return w(g({},c),{match:_})}).filter(Boolean)},uu=ue(({id:e},t)=>{var z,S,j,B,D,x,q,P,G,le,Fe,fn,gn;const o=U(null),n=be({targetRef:o,id:e}),r=H(),s=fe(r,n);Me(s,"buttonWrapper.percent_width",(z=s==null?void 0:s.buttonWrapper)==null?void 0:z.width),Me(s,"legal.percent_width",(S=s==null?void 0:s.legal)==null?void 0:S.width);const a=L(s);ge(s);const l=m(a,"root.delay",0),{isOpen:d,apiHost:c,clickHide:u,click:f}=kt(t,l,!0),_=du(s,c),v=w(g({},a.root),{alignItems:ye((j=a.root)==null?void 0:j.align)}),b=w(g({},a.content),{alignItems:ye((B=a.root)==null?void 0:B.align)}),$=w(g({},a.text),{textAlign:(D=a.root)==null?void 0:D.align}),y=w(g({},a==null?void 0:a.button),{justifyContent:ye((x=a.root)==null?void 0:x.textAlign)}),V=w(g({},a==null?void 0:a.legal),{justifyContent:ye((q=a.root)==null?void 0:q.textAlign)});return i("div",{className:T(W.root,{[W.desktop]:n==="desktop",[W.laptop]:n==="laptop",[W.tablet]:n==="tablet"}),ref:o,style:{display:d?"flex":"none"},children:[i("div",{className:W.overlay,style:a.overlay,onClick:u}),i("div",{className:W.content,children:[i("div",{className:W.close,style:Ve(a.close),onClick:u,children:i(Le,{})}),i("a",{ref:o,href:(P=a.root)==null?void 0:P.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>f(a.id),children:i("div",{className:W.body,style:v,children:[i("div",{className:W.head,children:[i("div",{className:W.title,style:a.title,children:(G=a.title)==null?void 0:G.children}),i("div",{className:W.logo,style:a.logo})]}),i("div",{className:W.wrapper,style:b,children:(_||[]).map(e_=>i(_e,{value:w(g({},e_),{device:n}),children:i(lu,{})}))}),i(J,{className:W.text,style:$,typography:$.typography,accentTypography:$.accentTypography,children:(le=a.text)==null?void 0:le.children}),i("div",{className:W.button,style:a.buttonWrapper,children:[i("div",{className:W.buttonHead,style:a.buttonHead,children:(Fe=a.buttonHead)==null?void 0:Fe.children}),i("div",{className:W.buttonTarget,style:y,children:(fn=a.button)==null?void 0:fn.children})]}),i(J,{className:W.legal,style:V,children:(gn=a.legal)==null?void 0:gn.children})]})})]})]})}),_u=pe(i(uu,{})),ne={root:"_root_x31x3_1",background:"_background_x31x3_18",body:"_body_x31x3_27",bookmaker:"_bookmaker_x31x3_36",button:"_button_x31x3_43",rowFirst:"_rowFirst_x31x3_57",rowSecond:"_rowSecond_x31x3_63",legal:"_legal_x31x3_69",legalText:"_legalText_x31x3_86",legalOpen:"_legalOpen_x31x3_96",legalButton:"_legalButton_x31x3_101"},pu=({onClick:e})=>{var s,a,l,d,c,u,f,_;const t=H(),o=L(t),[n,r]=at();return i("div",{className:ne.root,style:ie(o.root,...Y),children:[i("div",{className:ne.background,style:te(o.root,...Y)}),i("a",{href:(s=o.root)==null?void 0:s.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:ne.body,onClick:()=>e(o.id),children:[i("div",{children:[i("div",{className:ne.rowFirst,style:o.rowFirst,children:(a=o.rowFirst)==null?void 0:a.children}),i("div",{className:ne.rowSecond,style:o.rowSecond,children:(l=o.rowSecond)==null?void 0:l.children}),i("div",{className:ne.bookmaker,style:o.bookmaker,children:(d=o.bookmaker)==null?void 0:d.children})]}),i("div",{className:ne.button,style:o.button,children:(c=o.button)==null?void 0:c.children})]}),i("div",{className:T(ne.legal,{[ne.legalOpen]:n}),style:o.legalInfo,children:i("span",{className:ne.legalText,children:[i("span",{children:(u=o.legalInfo)==null?void 0:u.children}),i("span",{className:ne.legalButton,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(_=o.legalInfoButton)==null?void 0:_.closeText})]})})]})},fu=e=>{const t=U(Pe()),o=n=>t.current.on("click",n);return Re(e,()=>({promoId:"ContentCards",onClick:o,resetListeners:t.current.reset})),F(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},gu=ue((e,t)=>{const o=U(null),n=H(),s=fe(n,"mobile"),a=L(s);ge(s);const{click:l}=fu(t);return i("div",{ref:o,children:((a==null?void 0:a.children)||[]).map(d=>i(_e,{value:d,children:i(pu,{onClick:l})}))})}),hu=pe(i(gu,{})),R={root:"_root_1k78w_1",desktop:"_desktop_1k78w_13",laptop:"_laptop_1k78w_14",promotion:"_promotion_1k78w_18",background:"_background_1k78w_34",close:"_close_1k78w_43",content:"_content_1k78w_56",variant2:"_variant2_1k78w_69",logo:"_logo_1k78w_73",left:"_left_1k78w_85",center:"_center_1k78w_98",slide:"_slide_1k78w_104",slide_animated_default:"_slide_animated_default_1k78w_118","fade-in-out":"_fade-in-out_1k78w_1","slide_animated_bottom-top":"_slide_animated_bottom-top_1k78w_121","fade-in-bottom-out-top":"_fade-in-bottom-out-top_1k78w_1","slide_animated_top-bottom":"_slide_animated_top-bottom_1k78w_124",right:"_right_1k78w_128",buttonWrapper:"_buttonWrapper_1k78w_143",button:"_button_1k78w_143",button_animated:"_button_animated_1k78w_177",increase:"_increase_1k78w_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_1k78w_1"},Xo={root:"_root_1c4sr_1",desktop:"_desktop_1c4sr_11"},vu=()=>{var o,n,r;const e=H(),t=L(e);return i("div",{className:T(Xo.root,{[Xo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:ie(t.root,...Y),children:i(J,{accentTypography:(o=t.root)==null?void 0:o.accentTypography,typography:(n=t.root)==null?void 0:n.typography,children:(r=t.root)==null?void 0:r.children})})},E={root:"_root_gohhp_1",title:"_title_gohhp_8",desktop:"_desktop_gohhp_13",laptop:"_laptop_gohhp_13",titleLabel:"_titleLabel_gohhp_17",tablet:"_tablet_gohhp_20",titleValue:"_titleValue_gohhp_27",teamLogo:"_teamLogo_gohhp_38",teams:"_teams_gohhp_49",teamName:"_teamName_gohhp_57",odds:"_odds_gohhp_64",odd:"_odd_gohhp_64",oddX:"_oddX_gohhp_76",oddValue:"_oddValue_gohhp_84"},it=(e,t,o=1,n=!1)=>{var l;const[r,s]=[t[0],t[1]||t[0]].map(d=>d*o),a=`w${r}-h${s}${n?"-c":""}`;return(l=e==null?void 0:e.replace(/(\/(?:upload|user-avatars)\/[\w\d]+\/)origin(\/)/,`$1${a}$2`))!=null?l:e},mu=()=>{var s,a;const e=H(),t=L(e),o=ie(t.root,...Y),n=w(g({},t.teamLogo),{backgroundImage:it(m(t,"match.teams[0].logo"),[120,120]),backgroundColor:"transparent"}),r=w(g({},t.teamLogo),{backgroundImage:it(m(t,"match.teams[1].logo"),[120,120]),backgroundColor:"transparent"});return i("div",{className:T(E.root,{[E.desktop]:e.device==="desktop",[E.laptop]:e.device==="laptop",[E.tablet]:e.device==="tablet"}),style:o,children:[i("div",{className:E.title,children:[i("div",{className:E.titleLabel,style:t.titleLabel,children:(s=t.titleLabel)==null?void 0:s.children}),i("div",{className:E.titleValue,style:t.titleValue,children:(a=t.titleValue)==null?void 0:a.children})]}),i("div",{className:E.odds,children:[i("div",{className:E.odd,children:[i("img",{className:E.teamLogo,src:n.backgroundImage,style:n}),i("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.w1")})]}),i("div",{className:E.odd,children:[i("div",{className:E.oddX,style:t.coef,children:"X"}),i("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.x")})]}),i("div",{className:E.odd,children:[i("img",{className:E.teamLogo,src:r.backgroundImage,style:r}),i("div",{className:E.oddValue,style:t.value,children:m(t,"match.markets.one_x_two.w2")})]})]}),i("div",{className:E.teams,children:[i("div",{className:E.teamName,style:t.teamName,children:m(t,"match.teams[0].name")}),i("div",{className:E.teamName,style:t.teamName,children:m(t,"match.teams[1].name")})]})]})},X={root:"_root_1bycs_1",title:"_title_1bycs_8",titleLabel:"_titleLabel_1bycs_13",tablet:"_tablet_1bycs_16",desktop:"_desktop_1bycs_19",laptop:"_laptop_1bycs_19",titleValue:"_titleValue_1bycs_23",team:"_team_1bycs_34",teamLogo:"_teamLogo_1bycs_45",national:"_national_1bycs_56",teamName:"_teamName_1bycs_77",teamValue:"_teamValue_1bycs_89"},bu=()=>{var r,s;const e=H(),t=L(e),o=w(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:it(m(t,"match.teams[0].logo"),[120,120])}),n=w(g(g({},te(t.root,...Y)),t.teamLogo),{backgroundColor:"transparent",backgroundImage:it(m(t,"match.teams[1].logo"),[120,120])});return i("div",{className:T(X.root,{[X.desktop]:(e==null?void 0:e.device)==="desktop",[X.laptop]:(e==null?void 0:e.device)==="laptop",[X.tablet]:(e==null?void 0:e.device)==="tablet",[X.national]:m(t,"match.isNational")}),style:ie(t.root,...Y),children:[i("div",{className:X.title,children:[i("div",{className:X.titleLabel,style:t.titleLabel,children:(r=t.titleLabel)==null?void 0:r.children}),i("div",{className:X.titleValue,style:t.titleValue,children:(s=t.titleValue)==null?void 0:s.children})]}),i("div",{children:[i("div",{className:X.team,children:[i("img",{className:X.teamLogo,src:o.backgroundImage,style:o}),i("div",{className:X.teamName,style:t.teamName,children:m(t,"match.teams[0].name")}),i("div",{className:X.teamValue,style:t.value,children:m(t,"match.markets.one_two.w1")})]}),i("div",{className:X.team,children:[i("img",{className:X.teamLogo,src:n.backgroundImage,style:n}),i("div",{className:X.teamName,style:t.teamName,children:m(t,"match.teams[1].name")}),i("div",{className:X.teamValue,style:t.value,children:m(t,"match.markets.one_two.w2")})]})]})]})},yu=(e=[])=>{var s;const t=e.length,[o,n]=se(0),r=(s=e[o||0])==null?void 0:s.animationDuration;return F(()=>{const l=setTimeout(()=>{n(d=>d+1<t?d+1:0)},r);return()=>clearTimeout(l)},[n,t,r,o]),o},$u={matches:"one_x_two",matchesOneTwo:"one_two"},Zo=e=>[$u[e]],ku=(e,t)=>{const o=c=>{var u;return M(c==null?void 0:c.matchSlug)&&((u=c==null?void 0:c.matchSlug)==null?void 0:u.length)>0},n=(e==null?void 0:e.children)||[],r=n.filter(c=>o(c.root.targetMatch)).map(c=>w(g({},c.root.targetMatch),{markets:Zo(c.name)})),s=Uo(r),{data:a,execute:l}=Go(`${t}/match-list`,{method:"POST",body:{matches:r.map(c=>({slug:c.matchSlug,sport_slug:c.sportSlug,lang:c.langSlug,bookmaker_slug:c.bookmaker,offset:c.offset,markets:c.markets}))},pause:!t||r.length===0});return F(()=>{zo(s,r)||l()},[r]),n.map(c=>{if("targetMatch"in c.root){const u=(a||[]).find(b=>b.slug===c.root.targetMatch.matchSlug);if(!u)return;const f=Zo(c.name),_=jo(u,{markets:f}),v=Po(_,c.root.customMatch,(b,[$,y])=>M(y));return w(g({},c),{match:v})}return c}).filter(Boolean)},wu=e=>{const t=U(Pe()),[o,n]=se(!1),[r,s]=se(),a=_=>t.current.on("visible",_),l=_=>t.current.on("click",_),d=_=>t.current.on("clickHide",_),c=()=>We(this,null,function*(){n(!0)}),u=()=>n(!1),f=()=>{t.current.emit("clickHide"),u()};return F(()=>{t.current.emit("visible",o)},[o]),Re(e,()=>({onVisible:a,onClick:l,onClickHide:d,show:c,hide:u,setApiHost:s,resetListeners:t.current.reset})),F(()=>t.current.reset,[]),{isOpen:o,apiHost:r,show:c,hide:u,clickHide:f,click:(..._)=>{t.current.emit("click",..._)}}},xu=3700,Nu=ue(({id:e},t)=>{var z,S,j,B,D;const o=U(null),n=H(),r=be({id:e,targetRef:o}),s=fe(n,r),a=L(s);ge(s);const{apiHost:l,isOpen:d,click:c,clickHide:u}=wu(t),f=ku(a,l),_=x=>({text:i(vu,{}),matches:i(mu,{}),matchesOneTwo:i(bu,{})})[x],v=f.filter(Boolean).map(x=>{var q,P;return w(g({},x),{animationName:(q=x==null?void 0:x.root)==null?void 0:q.animationName,animationDuration:((P=x==null?void 0:x.root)==null?void 0:P.animationDuration)||xu})}),b=yu(v),$=L(v[b]||{}),y=ie(a.root,...Y),V=(z=$==null?void 0:$.root)!=null&&z.hasCustomBackground?te(($==null?void 0:$.root)||{},...Y):te(a.root,...Y);return i("div",{ref:o,className:T(R.root,{[R.desktop]:r==="desktop",[R.laptop]:r==="laptop",[R.tablet]:r==="tablet",[R.variant2]:((S=a.root)==null?void 0:S.variant)==="variant2"}),style:w(g({},y),{display:d?"block":"none"}),children:[i("div",{className:R.close,style:a.close,onClick:u,children:i(Le,{})}),i("a",{href:(j=a.root)==null?void 0:j.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:c,children:[i("div",{className:R.background,style:V}),i("div",{className:R.promotion,style:a.promotion,children:(B=a.promotion)==null?void 0:B.children}),i("div",{className:R.content,children:[i("div",{className:R.left,children:i("div",{className:R.logo,style:a.logo})}),i("div",{className:R.center,children:(v||[]).map((x,q)=>{var P,G;return i("div",{className:R.slide,style:{animationName:b===q?R[((P=x.root)==null?void 0:P.animationName)||"fade-in-out"]:"none",animationDuration:`${(G=x.root)==null?void 0:G.animationDuration}ms`},children:i(_e,{value:w(g({},x),{device:r}),children:_(x.name)})})})}),i("div",{className:R.right,children:[i("div",{className:R.logo,style:a.logo}),i("div",{className:R.buttonWrapper,children:i("div",{className:T(R.button,{[R.button_animated]:a.button.$animated}),style:a.button,children:[i("div",{className:R.logo,style:a.logo}),(D=a.button)==null?void 0:D.children]})})]})]})]})]})}),Cu=pe(i(Nu,{})),He={content:"_content_c8kee_1",desktop:"_desktop_c8kee_6",laptop:"_laptop_c8kee_6",tablet:"_tablet_c8kee_6"},re={root:"_root_t1sch_1",content:"_content_t1sch_8",textContent:"_textContent_t1sch_15",backgroundLine:"_backgroundLine_t1sch_20",button:"_button_t1sch_26",link:"_link_t1sch_32",legal:"_legal_t1sch_38",legalText:"_legalText_t1sch_47",open:"_open_t1sch_56",legalMore:"_legalMore_t1sch_61"},Tu=(e,t,o,n,r=Mo)=>{const s=g({},e);return r.forEach(a=>{s[t]=w(g({},s[t]),{[a]:w(g({},s[t][a]),{[o]:typeof n=="function"?n(m(s,`${t}.${a}.${o}`)):n})})}),s},Ve=e=>{const t=e==null?void 0:e.backgroundColor;if(!t)return e;const o=w(g({},e),{color:t});return ie(o,"backgroundColor")},Ou=()=>i("svg",{width:"81",height:"100%",viewBox:"0 0 81 76",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[i("path",{d:"M63.0344 7.99989L7.38354 67.5171L9.86897 69.8401L65.5198 10.3229L63.0344 7.99989Z",fill:"currentColor"}),i("path",{d:"M77.8771 -23.0001L22.2263 36.5171L24.7117 38.8401L80.3626 -20.6771L77.8771 -23.0001Z",fill:"#E3E3E3"}),i("path",{d:"M66.7199 20.9999L11.0691 80.5171L13.5545 82.8401L69.2053 23.3229L66.7199 20.9999Z",fill:"#E3E3E3"}),i("path",{d:"M55.808 20.5258L0.157227 80.043L2.64266 82.366L58.2935 22.8487L55.808 20.5258Z",fill:"currentColor"}),i("path",{d:"M70.6508 -10.4742L15 49.043L17.4854 51.366L73.1362 -8.15125L70.6508 -10.4742Z",fill:"#E3E3E3"}),i("path",{d:"M72.426 8.99995L61 21.2163L62.5379 22.6541L73.9638 10.4377L72.426 8.99995Z",fill:"#E3E3E3"})]}),Su=({onClick:e})=>{var s,a,l,d,c,u,f,_,v;const t=H(),o=L(t),[n,r]=at();return i("div",{className:re.root,style:o.root,children:[i("div",{className:re.content,children:[i("div",{className:re.textContent,children:[i(J,{className:re.text,style:o.text,typography:(s=o.text)==null?void 0:s.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children}),i("div",{style:o.bookmaker,children:(d=o.bookmaker)==null?void 0:d.children})]}),i("div",{className:re.button,style:o.button,children:o.button.children}),i("div",{className:re.backgroundLine,style:w(g({},Ve(o.line)),{left:`calc(50% - ${(c=o.line)==null?void 0:c.left})`}),children:i(Ou,{})}),i("a",{className:re.link,target:"_blank",href:(u=o.root)==null?void 0:u.offer,onClick:()=>e(o.id),rel:"noreferrer"})]}),i("div",{className:T(re.legal,{[re.open]:n}),style:o.legalInfo,children:i("div",{className:re.legalText,children:[(f=o.legalInfo)==null?void 0:f.children,i("span",{className:re.legalMore,style:o.legalInfoButton,onClick:r,children:n?(_=o.legalInfoButton)==null?void 0:_.openText:(v=o.legalInfoButton)==null?void 0:v.closeText})]})})]})},ae={root:"_root_ka6mq_1",content:"_content_ka6mq_8",backgroundLine:"_backgroundLine_ka6mq_14",link:"_link_ka6mq_20",button:"_button_ka6mq_26",logo:"_logo_ka6mq_31",legal:"_legal_ka6mq_37",open:"_open_ka6mq_49",legalText:"_legalText_ka6mq_53",legalMore:"_legalMore_ka6mq_66"},Lu=({onClick:e})=>{var s,a,l,d,c,u,f,_;const t=H(),o=L(t),[n,r]=at();return i("div",{className:ae.root,style:o.root,children:[i("div",{className:ae.content,children:[i(J,{className:ae.text,style:o.text,typography:(s=o.text)==null?void 0:s.typography,accentTypography:(a=o.text)==null?void 0:a.accentTypography,children:(l=o.text)==null?void 0:l.children}),i("div",{className:ae.button,style:o.button,children:[i("div",{className:ae.logo,style:o.logo}),o.button.children]}),i("a",{className:ae.link,href:(d=o.root)==null?void 0:d.offer})]}),i("a",{className:ae.link,href:(c=o.root)==null?void 0:c.offer,target:"_blank",onClick:()=>e(o.id),rel:"noreferrer"}),i("div",{className:T(ae.legal,{[ae.open]:n}),style:o.legalInfo,children:[i("div",{className:ae.legalText,children:(u=o.legalInfo)==null?void 0:u.children}),i("div",{className:ae.legalMore,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(_=o.legalInfoButton)==null?void 0:_.closeText})]})]})},Au=e=>{const t=U(Pe()),o=r=>t.current.on("click",r),n=r=>t.current.on("visible",r);return Re(e,()=>({promoId:"ContentCards",onClick:o,onVisible:n,resetListeners:t.current.reset})),F(()=>{t.current.emit("visible")},[]),F(()=>t.current.reset,[]),{click:(...r)=>t.current.emit("click",...r),onClick:o}},Iu=ue(({id:e},t)=>{const o=U(null),n=H(),r=be({targetRef:o,id:e}),s=fe(n,r),a=L(s);ge(s);const{click:l}=Au(t),d=c=>({cardVariant1:i(Su,{onClick:l}),cardVariant2:i(Lu,{onClick:l})})[c];return i("div",{ref:o,className:T(He.root,{[He.desktop]:r==="desktop",[He.laptop]:r==="laptop",[He.tablet]:r==="tablet"}),children:i("div",{className:He.content,children:((a==null?void 0:a.children)||[]).map(c=>i(_e,{value:c,children:d(c.name)}))})})}),Ru=pe(i(Iu,{}));var $e=[],Eu=function(){return $e.some(function(e){return e.activeTargets.length>0})},ju=function(){return $e.some(function(e){return e.skippedTargets.length>0})},Ko="ResizeObserver loop completed with undelivered notifications.",Bu=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:Ko}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=Ko),window.dispatchEvent(e)},De;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(De||(De={}));var ke=function(e){return Object.freeze(e)},Jo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,ke(this)}return e}(),Yo=function(){function e(t,o,n,r){return this.x=t,this.y=o,this.width=n,this.height=r,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,ke(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,s=t.right,a=t.bottom,l=t.left,d=t.width,c=t.height;return{x:o,y:n,top:r,right:s,bottom:a,left:l,width:d,height:c}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),wt=function(e){return e instanceof SVGElement&&"getBBox"in e},Qo=function(e){if(wt(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,s=r.offsetWidth,a=r.offsetHeight;return!(s||a||e.getClientRects().length)},en=function(e){var t;if(e instanceof Element)return!0;var o=(t=e==null?void 0:e.ownerDocument)===null||t===void 0?void 0:t.defaultView;return!!(o&&e instanceof o.Element)},zu=function(e){switch(e.tagName){case"INPUT":if(e.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},qe=typeof window!="undefined"?window:{},ct=new WeakMap,tn=/auto|scroll/,Pu=/^tb|vertical/,Mu=/msie|trident/i.test(qe.navigator&&qe.navigator.userAgent),ce=function(e){return parseFloat(e||"0")},Ae=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Jo((o?t:e)||0,(o?e:t)||0)},on=ke({devicePixelContentBoxSize:Ae(),borderBoxSize:Ae(),contentBoxSize:Ae(),contentRect:new Yo(0,0,0,0)}),nn=function(e,t){if(t===void 0&&(t=!1),ct.has(e)&&!t)return ct.get(e);if(Qo(e))return ct.set(e,on),on;var o=getComputedStyle(e),n=wt(e)&&e.ownerSVGElement&&e.getBBox(),r=!Mu&&o.boxSizing==="border-box",s=Pu.test(o.writingMode||""),a=!n&&tn.test(o.overflowY||""),l=!n&&tn.test(o.overflowX||""),d=n?0:ce(o.paddingTop),c=n?0:ce(o.paddingRight),u=n?0:ce(o.paddingBottom),f=n?0:ce(o.paddingLeft),_=n?0:ce(o.borderTopWidth),v=n?0:ce(o.borderRightWidth),b=n?0:ce(o.borderBottomWidth),$=n?0:ce(o.borderLeftWidth),y=f+c,V=d+u,z=$+v,S=_+b,j=l?e.offsetHeight-S-e.clientHeight:0,B=a?e.offsetWidth-z-e.clientWidth:0,D=r?y+z:0,x=r?V+S:0,q=n?n.width:ce(o.width)-D-B,P=n?n.height:ce(o.height)-x-j,G=q+y+B+z,le=P+V+j+S,Fe=ke({devicePixelContentBoxSize:Ae(Math.round(q*devicePixelRatio),Math.round(P*devicePixelRatio),s),borderBoxSize:Ae(G,le,s),contentBoxSize:Ae(q,P,s),contentRect:new Yo(f,d,q,P)});return ct.set(e,Fe),Fe},rn=function(e,t,o){var n=nn(e,o),r=n.borderBoxSize,s=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case De.DEVICE_PIXEL_CONTENT_BOX:return a;case De.BORDER_BOX:return r;default:return s}},an=function(){function e(t){var o=nn(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=ke([o.borderBoxSize]),this.contentBoxSize=ke([o.contentBoxSize]),this.devicePixelContentBoxSize=ke([o.devicePixelContentBoxSize])}return e}(),sn=function(e){if(Qo(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},Hu=function(){var e=1/0,t=[];$e.forEach(function(a){if(a.activeTargets.length!==0){var l=[];a.activeTargets.forEach(function(c){var u=new an(c.target),f=sn(c.target);l.push(u),c.lastReportedSize=rn(c.target,c.observedBox),f<e&&(e=f)}),t.push(function(){a.callback.call(a.observer,l,a.observer)}),a.activeTargets.splice(0,a.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},cn=function(e){$e.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(sn(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},Vu=function(){var e=0;for(cn(e);Eu();)e=Hu(),cn(e);return ju()&&Bu(),e>0},xt,ln=[],Du=function(){return ln.splice(0).forEach(function(e){return e()})},qu=function(e){if(!xt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return Du()}).observe(o,n),xt=function(){o.textContent="".concat(t?t--:t++)}}ln.push(e),xt()},Fu=function(e){qu(function(){requestAnimationFrame(e)})},lt=0,Wu=function(){return!!lt},Gu=250,Uu={attributes:!0,characterData:!0,childList:!0,subtree:!0},dn=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],un=function(e){return e===void 0&&(e=0),Date.now()+e},Nt=!1,Xu=function(){function e(){var t=this;this.stopped=!0,this.listener=function(){return t.schedule()}}return e.prototype.run=function(t){var o=this;if(t===void 0&&(t=Gu),!Nt){Nt=!0;var n=un(t);Fu(function(){var r=!1;try{r=Vu()}finally{if(Nt=!1,t=n-un(),!Wu())return;r?o.run(1e3):t>0?o.run(t):o.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var t=this,o=function(){return t.observer&&t.observer.observe(document.body,Uu)};document.body?o():qe.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),dn.forEach(function(o){return qe.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),dn.forEach(function(o){return qe.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),Ct=new Xu,_n=function(e){!lt&&e>0&&Ct.start(),lt+=e,!lt&&Ct.stop()},Zu=function(e){return!wt(e)&&!zu(e)&&getComputedStyle(e).display==="inline"},Ku=function(){function e(t,o){this.target=t,this.observedBox=o||De.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=rn(this.target,this.observedBox,!0);return Zu(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),Ju=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),dt=new WeakMap,pn=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},ut=function(){function e(){}return e.connect=function(t,o){var n=new Ju(t,o);dt.set(t,n)},e.observe=function(t,o,n){var r=dt.get(t),s=r.observationTargets.length===0;pn(r.observationTargets,o)<0&&(s&&$e.push(r),r.observationTargets.push(new Ku(o,n&&n.box)),_n(1),Ct.schedule())},e.unobserve=function(t,o){var n=dt.get(t),r=pn(n.observationTargets,o),s=n.observationTargets.length===1;r>=0&&(s&&$e.splice($e.indexOf(n),1),n.observationTargets.splice(r,1),_n(-1))},e.disconnect=function(t){var o=this,n=dt.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),Yu=function(){function e(t){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof t!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");ut.connect(this,t)}return e.prototype.observe=function(t,o){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!en(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ut.observe(this,t,o)},e.prototype.unobserve=function(t){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!en(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ut.unobserve(this,t)},e.prototype.disconnect=function(){ut.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const Qu=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:Yu,ResizeObserverEntry:an,ResizeObserverSize:Jo},Symbol.toStringTag,{value:"Module"}));h.BonusCard=hu,h.ComplexGift=eu,h.ComplexPopup=cu,h.ContentCards=Ru,h.ExpressPopup=_u,h.SimpleGift=Jd,h.SimplePopup=au,h.WideCard=Cu,h.backgroundToColor=Ve,h.filterDeep=jd,h.findDeep=Ed,h.isValidTemplate=Id,h.modifyState=Tu,Object.defineProperty(h,Symbol.toStringTag,{value:"Module"})});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@adstore/templates",
3
3
  "private": false,
4
- "version": "2.6.10",
4
+ "version": "2.6.11",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"