@adstore/templates 2.2.8 → 2.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/templates.es.js +36 -36
- package/dist/templates.umd.js +2 -2
- package/package.json +1 -1
package/dist/templates.es.js
CHANGED
@@ -125,7 +125,7 @@ function Ln(e, t, n) {
|
|
125
125
|
}
|
126
126
|
return o.__N || o.__;
|
127
127
|
}
|
128
|
-
function
|
128
|
+
function G(e, t) {
|
129
129
|
var n = ve(oe++, 3);
|
130
130
|
!f.__s && We(n.__H, t) && (n.__ = e, n.i = t, b.__H.__h.push(n));
|
131
131
|
}
|
@@ -1019,7 +1019,7 @@ const ne = (e, t, n) => Array.isArray(e) ? e.map((o, r) => {
|
|
1019
1019
|
reset: () => e = {}
|
1020
1020
|
};
|
1021
1021
|
}, Rl = (e = 300, t) => new Promise((n) => setTimeout(() => n(t), e)), yn = (e) => !e && e == null, R = (e) => !yn(e), J = (e, ...t) => t.reduce((n, o) => (n[o] = e[o], n), {});
|
1022
|
-
function
|
1022
|
+
function z(e, ...t) {
|
1023
1023
|
const n = v({}, e);
|
1024
1024
|
return t.forEach((o) => {
|
1025
1025
|
delete n[o];
|
@@ -1137,7 +1137,7 @@ const kn = jn(), Q = ({
|
|
1137
1137
|
}), L = () => Pn(kn), u_ = (e = {}) => typeof e == "object" && R(e) && $n.every((t) => t in e), p_ = (e, t) => e && ne(e, (n, o) => {
|
1138
1138
|
if (u_(o)) {
|
1139
1139
|
const r = o[t];
|
1140
|
-
return r && "parent" in r && R(r.parent) ? v(v({}, o[r.parent]),
|
1140
|
+
return r && "parent" in r && R(r.parent) ? v(v({}, o[r.parent]), z(r, "parent")) : r;
|
1141
1141
|
}
|
1142
1142
|
return o;
|
1143
1143
|
}), te = (e, t) => p_(e, t), _e = ({
|
@@ -1228,7 +1228,7 @@ const kn = jn(), Q = ({
|
|
1228
1228
|
wiggle: `${e.wiggle} 2s linear infinite`,
|
1229
1229
|
gradient: `${e.gradient} 3s ease infinite`
|
1230
1230
|
}), Nn = (e, t) => {
|
1231
|
-
var d, u, p, g, y, O, h, w, k, q, E, F,
|
1231
|
+
var d, u, p, g, y, O, h, w, k, q, E, F, U;
|
1232
1232
|
const n = y_(t), o = S(e), r = (d = o == null ? void 0 : o.icon) == null ? void 0 : d.hasIcon, a = {
|
1233
1233
|
left: `${+(((u = e == null ? void 0 : e.container) == null ? void 0 : u.left) || 0) * -1 + 8}px`,
|
1234
1234
|
backgroundColor: (p = o == null ? void 0 : o.container) == null ? void 0 : p.backgroundColor,
|
@@ -1241,7 +1241,7 @@ const kn = jn(), Q = ({
|
|
1241
1241
|
}, i = {
|
1242
1242
|
left: (w = o == null ? void 0 : o.container) == null ? void 0 : w.left
|
1243
1243
|
}, c = (((k = o == null ? void 0 : o.icon) == null ? void 0 : k.animations) || []).map((K) => n[K]).join(", "), l = R((q = o == null ? void 0 : o.icon) == null ? void 0 : q.gradientColor) && ((E = o == null ? void 0 : o.icon) != null && E.animations.includes("gradient")) ? {
|
1244
|
-
background: `linear-gradient(-90deg, ${(F = o.icon) == null ? void 0 : F.backgroundColor} 0%, ${(
|
1244
|
+
background: `linear-gradient(-90deg, ${(F = o.icon) == null ? void 0 : F.backgroundColor} 0%, ${(U = o == null ? void 0 : o.icon) == null ? void 0 : U.gradientColor} 100%) 0% 0% / 400% 400%`,
|
1245
1245
|
backgroundSize: "400% 400%"
|
1246
1246
|
} : o == null ? void 0 : o.icon, _ = v(C(v({}, (o == null ? void 0 : o.icon) || {}), {
|
1247
1247
|
animation: c
|
@@ -1259,7 +1259,7 @@ const kn = jn(), Q = ({
|
|
1259
1259
|
rel: "stylesheet",
|
1260
1260
|
href: `https://fonts.googleapis.com/css?family=${o}:300,400,500,700&display=swap`
|
1261
1261
|
})), [t]);
|
1262
|
-
|
1262
|
+
G(() => {
|
1263
1263
|
n.forEach((o) => Pl(o));
|
1264
1264
|
}, [n]);
|
1265
1265
|
}, Z = ["backgroundColor", "backgroundColorOpacity", "backgroundImage", "backgroundFit"], $_ = ["borderWidth", "borderColor", "borderStyle"], Gt = ["marginTop", "marginBottom", "marginLeft", "marginRight", "paddingTop", "paddingBottom", "paddingLeft", "paddingRight"], k_ = (e) => console.log(`Noop YaMektika reach goal: ${e}`), x_ = (e) => console.log(`Noop AdFox reach goal: ${e}`), N_ = ({
|
@@ -1272,9 +1272,9 @@ const kn = jn(), Q = ({
|
|
1272
1272
|
}, c = () => {
|
1273
1273
|
i(a.current), r((l) => !l);
|
1274
1274
|
};
|
1275
|
-
return
|
1275
|
+
return G(() => (a.current = setTimeout(() => {
|
1276
1276
|
r(!0), n && n();
|
1277
|
-
}, e || 1e3), () => i(a.current)), [e]),
|
1277
|
+
}, e || 1e3), () => i(a.current)), [e]), G(() => {
|
1278
1278
|
o && !a.current && t && t();
|
1279
1279
|
}, [o]), {
|
1280
1280
|
isOpen: o,
|
@@ -1296,7 +1296,7 @@ const kn = jn(), Q = ({
|
|
1296
1296
|
onOpen: o,
|
1297
1297
|
onClick: r,
|
1298
1298
|
onAutoOpen: a
|
1299
|
-
})),
|
1299
|
+
})), G(() => n.current.reset, []), {
|
1300
1300
|
isOpen: i,
|
1301
1301
|
toggle: c,
|
1302
1302
|
click: () => n.current.emit("click")
|
@@ -1304,7 +1304,7 @@ const kn = jn(), Q = ({
|
|
1304
1304
|
}, w_ = re(({
|
1305
1305
|
id: e
|
1306
1306
|
}, t) => {
|
1307
|
-
var w, k, q, E, F,
|
1307
|
+
var w, k, q, E, F, U, K;
|
1308
1308
|
const n = H(null), [o, r] = xn(), a = L(), i = _e({
|
1309
1309
|
targetRef: n,
|
1310
1310
|
id: e
|
@@ -1392,7 +1392,7 @@ const kn = jn(), Q = ({
|
|
1392
1392
|
}), s("span", {
|
1393
1393
|
className: $.legalButton,
|
1394
1394
|
onClick: r,
|
1395
|
-
children: o ? (
|
1395
|
+
children: o ? (U = l == null ? void 0 : l.legal) == null ? void 0 : U.buttonOpenText : (K = l == null ? void 0 : l.legal) == null ? void 0 : K.buttonHideText
|
1396
1396
|
})]
|
1397
1397
|
})
|
1398
1398
|
})
|
@@ -1601,7 +1601,7 @@ const kn = jn(), Q = ({
|
|
1601
1601
|
}), _ = () => r(!1), d = () => {
|
1602
1602
|
n.current.emit("clickHide"), _();
|
1603
1603
|
};
|
1604
|
-
return
|
1604
|
+
return G(() => {
|
1605
1605
|
n.current.emit("visible", o);
|
1606
1606
|
}, [o]), Ue(e, () => ({
|
1607
1607
|
onVisible: a,
|
@@ -1609,7 +1609,7 @@ const kn = jn(), Q = ({
|
|
1609
1609
|
onClickHide: c,
|
1610
1610
|
show: l,
|
1611
1611
|
hide: _
|
1612
|
-
})),
|
1612
|
+
})), G(() => n.current.reset, []), {
|
1613
1613
|
isOpen: o,
|
1614
1614
|
show: l,
|
1615
1615
|
hide: _,
|
@@ -1653,7 +1653,7 @@ const kn = jn(), Q = ({
|
|
1653
1653
|
className: P.wrapper,
|
1654
1654
|
children: [s("div", {
|
1655
1655
|
className: P.close,
|
1656
|
-
style:
|
1656
|
+
style: z(c.close, "backgroundColor"),
|
1657
1657
|
onClick: d,
|
1658
1658
|
children: s(ye, {})
|
1659
1659
|
}), s("a", {
|
@@ -1692,7 +1692,7 @@ const kn = jn(), Q = ({
|
|
1692
1692
|
})]
|
1693
1693
|
})]
|
1694
1694
|
});
|
1695
|
-
}), Ip = ee(s(yd, {})), $d = "_root_y4quu_1", kd = "_content_y4quu_11", xd = "_desktop_y4quu_23", Nd = "_laptop_y4quu_23", wd = "_overlay_y4quu_28", Od = "_close_y4quu_34", Td = "_title_y4quu_42", Cd = "_wrapper_y4quu_57",
|
1695
|
+
}), Ip = ee(s(yd, {})), $d = "_root_y4quu_1", kd = "_content_y4quu_11", xd = "_desktop_y4quu_23", Nd = "_laptop_y4quu_23", wd = "_overlay_y4quu_28", Od = "_close_y4quu_34", Td = "_title_y4quu_42", Cd = "_wrapper_y4quu_57", W = {
|
1696
1696
|
root: $d,
|
1697
1697
|
content: kd,
|
1698
1698
|
desktop: xd,
|
@@ -1725,7 +1725,7 @@ const kn = jn(), Q = ({
|
|
1725
1725
|
[M.desktop]: o === "desktop",
|
1726
1726
|
[M.laptop]: o === "laptop"
|
1727
1727
|
}),
|
1728
|
-
style:
|
1728
|
+
style: z(n.root, ...Gt),
|
1729
1729
|
onClick: () => e(n.id),
|
1730
1730
|
children: [s("div", {
|
1731
1731
|
className: M.header,
|
@@ -1775,32 +1775,32 @@ const kn = jn(), Q = ({
|
|
1775
1775
|
click: d
|
1776
1776
|
} = Qe(t, c);
|
1777
1777
|
return s("div", {
|
1778
|
-
className:
|
1778
|
+
className: W.root,
|
1779
1779
|
style: {
|
1780
1780
|
display: l ? "flex" : "none"
|
1781
1781
|
},
|
1782
1782
|
children: [s("div", {
|
1783
|
-
className:
|
1783
|
+
className: W.overlay,
|
1784
1784
|
style: i.overlay,
|
1785
1785
|
onClick: _
|
1786
1786
|
}), s("div", {
|
1787
1787
|
ref: n,
|
1788
|
-
className: j(
|
1789
|
-
[
|
1790
|
-
[
|
1788
|
+
className: j(W.content, {
|
1789
|
+
[W.desktop]: o === "desktop",
|
1790
|
+
[W.laptop]: o === "laptop"
|
1791
1791
|
}),
|
1792
1792
|
style: i.root,
|
1793
1793
|
children: [s("div", {
|
1794
|
-
className:
|
1795
|
-
style:
|
1794
|
+
className: W.close,
|
1795
|
+
style: z(i.close, "backgroundColor"),
|
1796
1796
|
onClick: _,
|
1797
1797
|
children: s(ye, {})
|
1798
1798
|
}), s("div", {
|
1799
|
-
className:
|
1799
|
+
className: W.title,
|
1800
1800
|
style: i.title,
|
1801
1801
|
children: (u = i.title) == null ? void 0 : u.children
|
1802
1802
|
}), s("div", {
|
1803
|
-
className:
|
1803
|
+
className: W.wrapper,
|
1804
1804
|
children: (i.children || []).map((p) => s(Q, {
|
1805
1805
|
value: C(v({}, p), {
|
1806
1806
|
device: o
|
@@ -1916,7 +1916,7 @@ const kn = jn(), Q = ({
|
|
1916
1916
|
}, yu = re(({
|
1917
1917
|
id: e
|
1918
1918
|
}, t) => {
|
1919
|
-
var h, w, k, q, E, F,
|
1919
|
+
var h, w, k, q, E, F, U, K, et, tt, nt, ot, rt;
|
1920
1920
|
const n = H(null), o = _e({
|
1921
1921
|
targetRef: n,
|
1922
1922
|
id: e
|
@@ -1937,7 +1937,7 @@ const kn = jn(), Q = ({
|
|
1937
1937
|
}), y = C(v({}, i == null ? void 0 : i.button), {
|
1938
1938
|
justifyContent: X((F = i.root) == null ? void 0 : F.textAlign)
|
1939
1939
|
}), O = C(v({}, i == null ? void 0 : i.legal), {
|
1940
|
-
justifyContent: X((
|
1940
|
+
justifyContent: X((U = i.root) == null ? void 0 : U.textAlign)
|
1941
1941
|
});
|
1942
1942
|
return s("div", {
|
1943
1943
|
className: j(A.root, {
|
@@ -1957,7 +1957,7 @@ const kn = jn(), Q = ({
|
|
1957
1957
|
className: A.content,
|
1958
1958
|
children: [s("div", {
|
1959
1959
|
className: A.close,
|
1960
|
-
style:
|
1960
|
+
style: z(i.close, "backgroundColor"),
|
1961
1961
|
onClick: _,
|
1962
1962
|
children: s(ye, {})
|
1963
1963
|
}), s("a", {
|
@@ -2032,7 +2032,7 @@ const kn = jn(), Q = ({
|
|
2032
2032
|
const t = L(), n = S(t), [o, r] = xn();
|
2033
2033
|
return s("div", {
|
2034
2034
|
className: V.root,
|
2035
|
-
style:
|
2035
|
+
style: z(n.root, ...Z),
|
2036
2036
|
children: [s("div", {
|
2037
2037
|
className: V.background,
|
2038
2038
|
style: J(n.root, ...Z)
|
@@ -2083,12 +2083,12 @@ const kn = jn(), Q = ({
|
|
2083
2083
|
const t = H(Ye()), n = (o) => t.current.on("click", o);
|
2084
2084
|
return Ue(e, () => ({
|
2085
2085
|
onClick: n
|
2086
|
-
})), {
|
2086
|
+
})), G(() => t.current.reset, []), {
|
2087
2087
|
click: (...o) => t.current.emit("click", ...o),
|
2088
2088
|
onClick: n
|
2089
2089
|
};
|
2090
2090
|
}, Lu = re((e, t) => {
|
2091
|
-
const n = H(null), o = L(), a = te(o, "
|
2091
|
+
const n = H(null), o = L(), a = te(o, "mobile"), i = S(a);
|
2092
2092
|
de(a);
|
2093
2093
|
const {
|
2094
2094
|
click: c
|
@@ -2135,7 +2135,7 @@ const kn = jn(), Q = ({
|
|
2135
2135
|
className: j(zt.root, {
|
2136
2136
|
[zt.desktop]: (e == null ? void 0 : e.device) === "desktop"
|
2137
2137
|
}),
|
2138
|
-
style:
|
2138
|
+
style: z(t.root, ...Z),
|
2139
2139
|
children: (n = t.root) == null ? void 0 : n.children
|
2140
2140
|
});
|
2141
2141
|
}, tp = "_root_vjs41_1", np = "_odd_vjs41_7", op = "_oddReverse_vjs41_14", rp = "_oddLabel_vjs41_18", ap = "_oddLogo_vjs41_30", ip = "_coef_vjs41_36", sp = "_coefHead_vjs41_42", cp = "_coefValue_vjs41_47", D = {
|
@@ -2149,7 +2149,7 @@ const kn = jn(), Q = ({
|
|
2149
2149
|
coefValue: cp
|
2150
2150
|
}, lp = () => {
|
2151
2151
|
var o, r, a;
|
2152
|
-
const e = L(), t = S(e), n =
|
2152
|
+
const e = L(), t = S(e), n = z(t.root, ...Z);
|
2153
2153
|
return s("div", {
|
2154
2154
|
className: D.root,
|
2155
2155
|
children: [s("div", {
|
@@ -2205,7 +2205,7 @@ const kn = jn(), Q = ({
|
|
2205
2205
|
[I.laptop]: (e == null ? void 0 : e.device) === "laptop",
|
2206
2206
|
[I.tablet]: (e == null ? void 0 : e.device) === "tablet"
|
2207
2207
|
}),
|
2208
|
-
style:
|
2208
|
+
style: z(t.root, ...Z),
|
2209
2209
|
children: [s("div", {
|
2210
2210
|
className: I.title,
|
2211
2211
|
children: [s("div", {
|
@@ -2252,7 +2252,7 @@ const kn = jn(), Q = ({
|
|
2252
2252
|
}, kp = (e = []) => {
|
2253
2253
|
var a;
|
2254
2254
|
const t = e.length, [n, o] = ge(0), r = (a = e[n || 0]) == null ? void 0 : a.animationDuration;
|
2255
|
-
return
|
2255
|
+
return G(() => {
|
2256
2256
|
const c = setTimeout(() => {
|
2257
2257
|
o((l) => l + 1 < t ? l + 1 : 0);
|
2258
2258
|
}, r);
|
@@ -2260,7 +2260,7 @@ const kn = jn(), Q = ({
|
|
2260
2260
|
}, [o, t, r, n]), n;
|
2261
2261
|
}, xp = (e, t = "root") => {
|
2262
2262
|
const n = H(), o = (e == null ? void 0 : e.yaReachGoal) || k_, r = (e == null ? void 0 : e.adfoxReachGoal) || x_, a = R(e) ? J(e[t], "yaShow", "yaClick", "adfoxShow", "adfoxClick") : {};
|
2263
|
-
return
|
2263
|
+
return G(() => {
|
2264
2264
|
El(n.current, a) || (a.yaShow && o(a.yaShow), a.adfoxShow && r(a.adfoxShow)), n.current = a;
|
2265
2265
|
}, [a]), () => {
|
2266
2266
|
a.yaClick && o(a.yaClick), a.adfoxClick && r(a.adfoxClick);
|
package/dist/templates.umd.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
(function(v,_){typeof exports=="object"&&typeof module!="undefined"?_(exports,require("preact")):typeof define=="function"&&define.amd?define(["exports","preact"],_):(v=typeof globalThis!="undefined"?globalThis:v||self,_(v["@adstore/templates"]={},v.preact))})(this,function(v,_){"use strict";var m_=Object.defineProperty,y_=Object.defineProperties;var $_=Object.getOwnPropertyDescriptors;var tt=Object.getOwnPropertySymbols;var Qo=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable;var Zo=(v,_,x)=>_ in v?m_(v,_,{enumerable:!0,configurable:!0,writable:!0,value:x}):v[_]=x,m=(v,_)=>{for(var x in _||(_={}))Qo.call(_,x)&&Zo(v,x,_[x]);if(tt)for(var x of tt(_))en.call(_,x)&&Zo(v,x,_[x]);return v},L=(v,_)=>y_(v,$_(_));var bt=(v,_)=>{var x={};for(var z in v)Qo.call(v,z)&&_.indexOf(z)<0&&(x[z]=v[z]);if(v!=null&&tt)for(var z of tt(v))_.indexOf(z)<0&&en.call(v,z)&&(x[z]=v[z]);return x};var mt=(v,_,x)=>new Promise((z,Le)=>{var A=V=>{try{g(x.next(V))}catch(ue){Le(ue)}},
|
1
|
+
(function(v,_){typeof exports=="object"&&typeof module!="undefined"?_(exports,require("preact")):typeof define=="function"&&define.amd?define(["exports","preact"],_):(v=typeof globalThis!="undefined"?globalThis:v||self,_(v["@adstore/templates"]={},v.preact))})(this,function(v,_){"use strict";var m_=Object.defineProperty,y_=Object.defineProperties;var $_=Object.getOwnPropertyDescriptors;var tt=Object.getOwnPropertySymbols;var Qo=Object.prototype.hasOwnProperty,en=Object.prototype.propertyIsEnumerable;var Zo=(v,_,x)=>_ in v?m_(v,_,{enumerable:!0,configurable:!0,writable:!0,value:x}):v[_]=x,m=(v,_)=>{for(var x in _||(_={}))Qo.call(_,x)&&Zo(v,x,_[x]);if(tt)for(var x of tt(_))en.call(_,x)&&Zo(v,x,_[x]);return v},L=(v,_)=>y_(v,$_(_));var bt=(v,_)=>{var x={};for(var z in v)Qo.call(v,z)&&_.indexOf(z)<0&&(x[z]=v[z]);if(v!=null&&tt)for(var z of tt(v))_.indexOf(z)<0&&en.call(v,z)&&(x[z]=v[z]);return x};var mt=(v,_,x)=>new Promise((z,Le)=>{var A=V=>{try{g(x.next(V))}catch(ue){Le(ue)}},Q=V=>{try{g(x.throw(V))}catch(ue){Le(ue)}},g=V=>V.done?z(V.value):Promise.resolve(V.value).then(A,Q);g((x=x.apply(v,_)).next())});var x=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},z={},Le={get exports(){return z},set exports(e){z=e}};/*!
|
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 a=arguments[r];if(a){var i=typeof a;if(i==="string"||i==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var c=o.apply(null,a);c&&n.push(c)}}else if(i==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var l in a)t.call(a,l)&&a[l]&&n.push(l)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Le);const A=z;var Z,g,V,ue,ke=0,yt=[],ze=[],$t=_.options.__b,xt=_.options.__r,kt=_.options.diffed,wt=_.options.__c,Ot=_.options.unmount;function we(e,t){_.options.__h&&_.options.__h(g,e,ke||t),ke=0;var o=g.__H||(g.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:ze}),o.__[e]}function Oe(e){return ke=1,tn(St,e)}function tn(e,t,o){var n=we(Z++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):St(void 0,t),function(c){var l=n.__N?n.__N[0]:n.__[0],d=n.t(l,c);l!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=g,!g.u)){var r=function(c,l,d){if(!n.__c.__H)return!0;var u=n.__c.__H.__.filter(function(p){return p.__c});if(u.every(function(p){return!p.__N}))return!a||a.call(this,c,l,d);var f=!1;return u.forEach(function(p){if(p.__N){var b=p.__[0];p.__=p.__N,p.__N=void 0,b!==p.__[0]&&(f=!0)}}),!(!f&&n.__c.props===c)&&(!a||a.call(this,c,l,d))};g.u=!0;var a=g.shouldComponentUpdate,i=g.componentWillUpdate;g.componentWillUpdate=function(c,l,d){if(this.__e){var u=a;a=void 0,r(c,l,d),a=u}i&&i.call(this,c,l,d)},g.shouldComponentUpdate=r}return n.__N||n.__}function Q(e,t){var o=we(Z++,3);!_.options.__s&&rt(o.__H,t)&&(o.__=e,o.i=t,g.__H.__h.push(o))}function Tt(e,t){var o=we(Z++,4);!_.options.__s&&rt(o.__H,t)&&(o.__=e,o.i=t,g.__h.push(o))}function M(e){return ke=5,Nt(function(){return{current:e}},[])}function ot(e,t,o){ke=6,Tt(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 Nt(e,t){var o=we(Z++,7);return rt(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function on(e){var t=g.context[e.__c],o=we(Z++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(g)),t.props.value):e.__}function nn(){for(var e;e=yt.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Be),e.__H.__h.forEach(nt),e.__H.__h=[]}catch(t){e.__H.__h=[],_.options.__e(t,e.__v)}}_.options.__b=function(e){g=null,$t&&$t(e)},_.options.__r=function(e){xt&&xt(e),Z=0;var t=(g=e.__c).__H;t&&(V===g?(t.__h=[],g.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=ze,o.__N=o.i=void 0})):(t.__h.forEach(Be),t.__h.forEach(nt),t.__h=[])),V=g},_.options.diffed=function(e){kt&&kt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(yt.push(t)!==1&&ue===_.options.requestAnimationFrame||((ue=_.options.requestAnimationFrame)||rn)(nn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==ze&&(o.__=o.__V),o.i=void 0,o.__V=ze})),V=g=null},_.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Be),o.__h=o.__h.filter(function(n){return!n.__||nt(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],_.options.__e(n,o.__v)}}),wt&&wt(e,t)},_.options.unmount=function(e){Ot&&Ot(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Be(n)}catch(r){t=r}}),o.__H=void 0,t&&_.options.__e(t,o.__v))};var Ct=typeof requestAnimationFrame=="function";function rn(e){var t,o=function(){clearTimeout(n),Ct&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);Ct&&(t=requestAnimationFrame(o))}function Be(e){var t=g,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),g=t}function nt(e){var t=g;e.__c=e.__(),g=t}function rt(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function St(e,t){return typeof t=="function"?t(e):t}function At(e,t){for(var o in t)e[o]=t[o];return e}function Rt(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 jt(e){this.props=e}(jt.prototype=new _.Component).isPureReactComponent=!0,jt.prototype.shouldComponentUpdate=function(e,t){return Rt(this.props,e)||Rt(this.state,t)};var Et=_.options.__b;_.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Et&&Et(e)};var an=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function fe(e){function t(o){var n=At({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=an,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var sn=_.options.__e;_.options.__e=function(e,t,o,n){if(e.then){for(var r,a=t;a=a.__;)if((r=a.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}sn(e,t,o,n)};var Lt=_.options.unmount;function zt(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=At({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return zt(n,t,o)})),e}function Bt(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Bt(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 at(){this.__u=0,this.t=null,this.__b=null}function It(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ie(){this.u=null,this.o=null}_.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Lt&&Lt(e)},(at.prototype=new _.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=It(n.__v),a=!1,i=function(){a||(a=!0,o.__R=null,r?r(c):c())};o.__R=i;var c=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=Bt(d,d.__c.__P,d.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}},l=t.__h===!0;n.__u++||l||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(i,i)},at.prototype.componentWillUnmount=function(){this.t=[]},at.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]=zt(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&_.createElement(_.Fragment,null,e.fallback);return r&&(r.__h=null),[_.createElement(_.Fragment,null,t.__a?null:e.children),r]};var Pt=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]}};(Ie.prototype=new _.Component).__a=function(e){var t=this,o=It(t.__v),n=t.o.get(e);return n[0]++,function(r){var a=function(){t.props.revealOrder?(n.push(r),Pt(t,e,n)):r()};o?o(a):a()}},Ie.prototype.render=function(e){this.u=null,this.o=new Map;var t=_.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},Ie.prototype.componentDidUpdate=Ie.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Pt(e,o,t)})};var cn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,ln=/^(?: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]/,dn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,_n=/[A-Z0-9]/g,un=typeof document!="undefined",fn=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};_.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(_.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 qt=_.options.event;function pn(){}function vn(){return this.cancelBubble}function hn(){return this.defaultPrevented}_.options.event=function(e){return qt&&(e=qt(e)),e.persist=pn,e.isPropagationStopped=vn,e.isDefaultPrevented=hn,e.nativeEvent=e};var gn={enumerable:!1,configurable:!0,get:function(){return this.class}},Ht=_.options.vnode;_.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var a in o){var i=o[a];if(!(a==="value"&&"defaultValue"in o&&i==null||un&&a==="children"&&n==="noscript"||a==="class"||a==="className")){var c=a.toLowerCase();a==="defaultValue"&&"value"in o&&o.value==null?a="value":a==="download"&&i===!0?i="":c==="ondoubleclick"?a="ondblclick":c!=="onchange"||n!=="input"&&n!=="textarea"||fn(o.type)?c==="onfocus"?a="onfocusin":c==="onblur"?a="onfocusout":dn.test(a)?a=c:n.indexOf("-")===-1&&ln.test(a)?a=a.replace(_n,"-$&").toLowerCase():i===null&&(i=void 0):c=a="oninput",c==="oninput"&&r[a=c]&&(a="oninputCapture"),r[a]=i}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=_.toChildArray(o.children).forEach(function(l){l.props.selected=r.value.indexOf(l.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=_.toChildArray(o.children).forEach(function(l){l.props.selected=r.multiple?r.defaultValue.indexOf(l.props.value)!=-1:r.defaultValue==l.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",gn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=cn,Ht&&Ht(e)};var Dt=_.options.__r;_.options.__r=function(e){Dt&&Dt(e),e.__c};var Mt=_.options.diffed;_.options.diffed=function(e){Mt&&Mt(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 mn=bn;function yn(e,t){return e===t||e!==e&&t!==t}var Pe=yn,$n=Pe;function xn(e,t){for(var o=e.length;o--;)if($n(e[o][0],t))return o;return-1}var qe=xn,kn=qe,wn=Array.prototype,On=wn.splice;function Tn(e){var t=this.__data__,o=kn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():On.call(t,o,1),--this.size,!0}var Nn=Tn,Cn=qe;function Sn(e){var t=this.__data__,o=Cn(t,e);return o<0?void 0:t[o][1]}var An=Sn,Rn=qe;function jn(e){return Rn(this.__data__,e)>-1}var En=jn,Ln=qe;function zn(e,t){var o=this.__data__,n=Ln(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var Bn=zn,In=mn,Pn=Nn,qn=An,Hn=En,Dn=Bn;function pe(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])}}pe.prototype.clear=In,pe.prototype.delete=Pn,pe.prototype.get=qn,pe.prototype.has=Hn,pe.prototype.set=Dn;var He=pe,Mn=He;function Vn(){this.__data__=new Mn,this.size=0}var Fn=Vn;function Gn(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var Wn=Gn;function Un(e){return this.__data__.get(e)}var Kn=Un;function Xn(e){return this.__data__.has(e)}var Jn=Xn,Yn=typeof x=="object"&&x&&x.Object===Object&&x,Vt=Yn,Zn=Vt,Qn=typeof self=="object"&&self&&self.Object===Object&&self,er=Zn||Qn||Function("return this")(),ve=er,tr=ve,or=tr.Symbol,Ft=or,Gt=Ft,Wt=Object.prototype,nr=Wt.hasOwnProperty,rr=Wt.toString,Te=Gt?Gt.toStringTag:void 0;function ar(e){var t=nr.call(e,Te),o=e[Te];try{e[Te]=void 0;var n=!0}catch(a){}var r=rr.call(e);return n&&(t?e[Te]=o:delete e[Te]),r}var ir=ar,sr=Object.prototype,cr=sr.toString;function lr(e){return cr.call(e)}var dr=lr,Ut=Ft,_r=ir,ur=dr,fr="[object Null]",pr="[object Undefined]",Kt=Ut?Ut.toStringTag:void 0;function vr(e){return e==null?e===void 0?pr:fr:Kt&&Kt in Object(e)?_r(e):ur(e)}var De=vr;function hr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var te=hr,gr=De,br=te,mr="[object AsyncFunction]",yr="[object Function]",$r="[object GeneratorFunction]",xr="[object Proxy]";function kr(e){if(!br(e))return!1;var t=gr(e);return t==yr||t==$r||t==mr||t==xr}var it=kr,wr=ve,Or=wr["__core-js_shared__"],Tr=Or,st=Tr,Xt=function(){var e=/[^.]+$/.exec(st&&st.keys&&st.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Nr(e){return!!Xt&&Xt in e}var Cr=Nr,Sr=Function.prototype,Ar=Sr.toString;function Rr(e){if(e!=null){try{return Ar.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var jr=Rr,Er=it,Lr=Cr,zr=te,Br=jr,Ir=/[\\^$.*+?()[\]{}|]/g,Pr=/^\[object .+?Constructor\]$/,qr=Function.prototype,Hr=Object.prototype,Dr=qr.toString,Mr=Hr.hasOwnProperty,Vr=RegExp("^"+Dr.call(Mr).replace(Ir,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Fr(e){if(!zr(e)||Lr(e))return!1;var t=Er(e)?Vr:Pr;return t.test(Br(e))}var Gr=Fr;function Wr(e,t){return e==null?void 0:e[t]}var Ur=Wr,Kr=Gr,Xr=Ur;function Jr(e,t){var o=Xr(e,t);return Kr(o)?o:void 0}var ct=Jr,Yr=ct,Zr=ve,Qr=Yr(Zr,"Map"),Jt=Qr,ea=ct,ta=ea(Object,"create"),Me=ta,Yt=Me;function oa(){this.__data__=Yt?Yt(null):{},this.size=0}var na=oa;function ra(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var aa=ra,ia=Me,sa="__lodash_hash_undefined__",ca=Object.prototype,la=ca.hasOwnProperty;function da(e){var t=this.__data__;if(ia){var o=t[e];return o===sa?void 0:o}return la.call(t,e)?t[e]:void 0}var _a=da,ua=Me,fa=Object.prototype,pa=fa.hasOwnProperty;function va(e){var t=this.__data__;return ua?t[e]!==void 0:pa.call(t,e)}var ha=va,ga=Me,ba="__lodash_hash_undefined__";function ma(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=ga&&t===void 0?ba:t,this}var ya=ma,$a=na,xa=aa,ka=_a,wa=ha,Oa=ya;function he(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])}}he.prototype.clear=$a,he.prototype.delete=xa,he.prototype.get=ka,he.prototype.has=wa,he.prototype.set=Oa;var Ta=he,Zt=Ta,Na=He,Ca=Jt;function Sa(){this.size=0,this.__data__={hash:new Zt,map:new(Ca||Na),string:new Zt}}var Aa=Sa;function Ra(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var ja=Ra,Ea=ja;function La(e,t){var o=e.__data__;return Ea(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Ve=La,za=Ve;function Ba(e){var t=za(this,e).delete(e);return this.size-=t?1:0,t}var Ia=Ba,Pa=Ve;function qa(e){return Pa(this,e).get(e)}var Ha=qa,Da=Ve;function Ma(e){return Da(this,e).has(e)}var Va=Ma,Fa=Ve;function Ga(e,t){var o=Fa(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var Wa=Ga,Ua=Aa,Ka=Ia,Xa=Ha,Ja=Va,Ya=Wa;function ge(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])}}ge.prototype.clear=Ua,ge.prototype.delete=Ka,ge.prototype.get=Xa,ge.prototype.has=Ja,ge.prototype.set=Ya;var Za=ge,Qa=He,ei=Jt,ti=Za,oi=200;function ni(e,t){var o=this.__data__;if(o instanceof Qa){var n=o.__data__;if(!ei||n.length<oi-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new ti(n)}return o.set(e,t),this.size=o.size,this}var ri=ni,ai=He,ii=Fn,si=Wn,ci=Kn,li=Jn,di=ri;function be(e){var t=this.__data__=new ai(e);this.size=t.size}be.prototype.clear=ii,be.prototype.delete=si,be.prototype.get=ci,be.prototype.has=li,be.prototype.set=di;var _i=be,ui=ct,fi=function(){try{var e=ui(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),Qt=fi,eo=Qt;function pi(e,t,o){t=="__proto__"&&eo?eo(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var lt=pi,vi=lt,hi=Pe;function gi(e,t,o){(o!==void 0&&!hi(e[t],o)||o===void 0&&!(t in e))&&vi(e,t,o)}var to=gi;function bi(e){return function(t,o,n){for(var r=-1,a=Object(t),i=n(t),c=i.length;c--;){var l=i[e?c:++r];if(o(a[l],l,a)===!1)break}return t}}var mi=bi,yi=mi,$i=yi(),xi=$i,Fe={},ki={get exports(){return Fe},set exports(e){Fe=e}};(function(e,t){var o=ve,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,i=a?o.Buffer:void 0,c=i?i.allocUnsafe:void 0;function l(d,u){if(u)return d.slice();var f=d.length,p=c?c(f):new d.constructor(f);return d.copy(p),p}e.exports=l})(ki,Fe);var wi=ve,Oi=wi.Uint8Array,Ti=Oi,oo=Ti;function Ni(e){var t=new e.constructor(e.byteLength);return new oo(t).set(new oo(e)),t}var Ci=Ni,Si=Ci;function Ai(e,t){var o=t?Si(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Ri=Ai;function ji(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Ei=ji,Li=te,no=Object.create,zi=function(){function e(){}return function(t){if(!Li(t))return{};if(no)return no(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),Bi=zi;function Ii(e,t){return function(o){return e(t(o))}}var Pi=Ii,qi=Pi,Hi=qi(Object.getPrototypeOf,Object),ro=Hi,Di=Object.prototype;function Mi(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Di;return e===o}var ao=Mi,Vi=Bi,Fi=ro,Gi=ao;function Wi(e){return typeof e.constructor=="function"&&!Gi(e)?Vi(Fi(e)):{}}var Ui=Wi;function Ki(e){return e!=null&&typeof e=="object"}var Ne=Ki,Xi=De,Ji=Ne,Yi="[object Arguments]";function Zi(e){return Ji(e)&&Xi(e)==Yi}var Qi=Zi,io=Qi,es=Ne,so=Object.prototype,ts=so.hasOwnProperty,os=so.propertyIsEnumerable,ns=io(function(){return arguments}())?io:function(e){return es(e)&&ts.call(e,"callee")&&!os.call(e,"callee")},co=ns,rs=Array.isArray,lo=rs,as=9007199254740991;function is(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=as}var _o=is,ss=it,cs=_o;function ls(e){return e!=null&&cs(e.length)&&!ss(e)}var dt=ls,ds=dt,_s=Ne;function us(e){return _s(e)&&ds(e)}var fs=us,Ce={},ps={get exports(){return Ce},set exports(e){Ce=e}};function vs(){return!1}var hs=vs;(function(e,t){var o=ve,n=hs,r=t&&!t.nodeType&&t,a=r&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===r,c=i?o.Buffer:void 0,l=c?c.isBuffer:void 0,d=l||n;e.exports=d})(ps,Ce);var gs=De,bs=ro,ms=Ne,ys="[object Object]",$s=Function.prototype,xs=Object.prototype,uo=$s.toString,ks=xs.hasOwnProperty,ws=uo.call(Object);function Os(e){if(!ms(e)||gs(e)!=ys)return!1;var t=bs(e);if(t===null)return!0;var o=ks.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&uo.call(o)==ws}var Ts=Os,Ns=De,Cs=_o,Ss=Ne,As="[object Arguments]",Rs="[object Array]",js="[object Boolean]",Es="[object Date]",Ls="[object Error]",zs="[object Function]",Bs="[object Map]",Is="[object Number]",Ps="[object Object]",qs="[object RegExp]",Hs="[object Set]",Ds="[object String]",Ms="[object WeakMap]",Vs="[object ArrayBuffer]",Fs="[object DataView]",Gs="[object Float32Array]",Ws="[object Float64Array]",Us="[object Int8Array]",Ks="[object Int16Array]",Xs="[object Int32Array]",Js="[object Uint8Array]",Ys="[object Uint8ClampedArray]",Zs="[object Uint16Array]",Qs="[object Uint32Array]",y={};y[Gs]=y[Ws]=y[Us]=y[Ks]=y[Xs]=y[Js]=y[Ys]=y[Zs]=y[Qs]=!0,y[As]=y[Rs]=y[Vs]=y[js]=y[Fs]=y[Es]=y[Ls]=y[zs]=y[Bs]=y[Is]=y[Ps]=y[qs]=y[Hs]=y[Ds]=y[Ms]=!1;function ec(e){return Ss(e)&&Cs(e.length)&&!!y[Ns(e)]}var tc=ec;function oc(e){return function(t){return e(t)}}var nc=oc,Ge={},rc={get exports(){return Ge},set exports(e){Ge=e}};(function(e,t){var o=Vt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,i=a&&o.process,c=function(){try{var l=r&&r.require&&r.require("util").types;return l||i&&i.binding&&i.binding("util")}catch(d){}}();e.exports=c})(rc,Ge);var ac=tc,ic=nc,fo=Ge,po=fo&&fo.isTypedArray,sc=po?ic(po):ac,vo=sc;function cc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ho=cc,lc=lt,dc=Pe,_c=Object.prototype,uc=_c.hasOwnProperty;function fc(e,t,o){var n=e[t];(!(uc.call(e,t)&&dc(n,o))||o===void 0&&!(t in e))&&lc(e,t,o)}var pc=fc,vc=pc,hc=lt;function gc(e,t,o,n){var r=!o;o||(o={});for(var a=-1,i=t.length;++a<i;){var c=t[a],l=n?n(o[c],e[c],c,o,e):void 0;l===void 0&&(l=e[c]),r?hc(o,c,l):vc(o,c,l)}return o}var bc=gc;function mc(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var yc=mc,$c=9007199254740991,xc=/^(?:0|[1-9]\d*)$/;function kc(e,t){var o=typeof e;return t=t==null?$c:t,!!t&&(o=="number"||o!="symbol"&&xc.test(e))&&e>-1&&e%1==0&&e<t}var go=kc,wc=yc,Oc=co,Tc=lo,Nc=Ce,Cc=go,Sc=vo,Ac=Object.prototype,Rc=Ac.hasOwnProperty;function jc(e,t){var o=Tc(e),n=!o&&Oc(e),r=!o&&!n&&Nc(e),a=!o&&!n&&!r&&Sc(e),i=o||n||r||a,c=i?wc(e.length,String):[],l=c.length;for(var d in e)(t||Rc.call(e,d))&&!(i&&(d=="length"||r&&(d=="offset"||d=="parent")||a&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Cc(d,l)))&&c.push(d);return c}var Ec=jc;function Lc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var zc=Lc,Bc=te,Ic=ao,Pc=zc,qc=Object.prototype,Hc=qc.hasOwnProperty;function Dc(e){if(!Bc(e))return Pc(e);var t=Ic(e),o=[];for(var n in e)n=="constructor"&&(t||!Hc.call(e,n))||o.push(n);return o}var Mc=Dc,Vc=Ec,Fc=Mc,Gc=dt;function Wc(e){return Gc(e)?Vc(e,!0):Fc(e)}var bo=Wc,Uc=bc,Kc=bo;function Xc(e){return Uc(e,Kc(e))}var Jc=Xc,mo=to,Yc=Fe,Zc=Ri,Qc=Ei,el=Ui,yo=co,$o=lo,tl=fs,ol=Ce,nl=it,rl=te,al=Ts,il=vo,xo=ho,sl=Jc;function cl(e,t,o,n,r,a,i){var c=xo(e,o),l=xo(t,o),d=i.get(l);if(d){mo(e,o,d);return}var u=a?a(c,l,o+"",e,t,i):void 0,f=u===void 0;if(f){var p=$o(l),b=!p&&ol(l),$=!p&&!b&&il(l);u=l,p||b||$?$o(c)?u=c:tl(c)?u=Qc(c):b?(f=!1,u=Yc(l,!0)):$?(f=!1,u=Zc(l,!0)):u=[]:al(l)||yo(l)?(u=c,yo(c)?u=sl(c):(!rl(c)||nl(c))&&(u=el(l))):f=!1}f&&(i.set(l,u),r(u,l,n,a,i),i.delete(l)),mo(e,o,u)}var ll=cl,dl=_i,_l=to,ul=xi,fl=ll,pl=te,vl=bo,hl=ho;function ko(e,t,o,n,r){e!==t&&ul(t,function(a,i){if(r||(r=new dl),pl(a))fl(e,t,i,o,ko,n,r);else{var c=n?n(hl(e,i),a,i+"",e,t,r):void 0;c===void 0&&(c=a),_l(e,i,c)}},vl)}var gl=ko;function bl(e){return e}var wo=bl;function ml(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 yl=ml,$l=yl,Oo=Math.max;function xl(e,t,o){return t=Oo(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,a=Oo(n.length-t,0),i=Array(a);++r<a;)i[r]=n[t+r];r=-1;for(var c=Array(t+1);++r<t;)c[r]=n[r];return c[t]=o(i),$l(e,this,c)}}var kl=xl;function wl(e){return function(){return e}}var Ol=wl,Tl=Ol,To=Qt,Nl=wo,Cl=To?function(e,t){return To(e,"toString",{configurable:!0,enumerable:!1,value:Tl(t),writable:!0})}:Nl,Sl=Cl,Al=800,Rl=16,jl=Date.now;function El(e){var t=0,o=0;return function(){var n=jl(),r=Rl-(n-o);if(o=n,r>0){if(++t>=Al)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Ll=El,zl=Sl,Bl=Ll,Il=Bl(zl),Pl=Il,ql=wo,Hl=kl,Dl=Pl;function Ml(e,t){return Dl(Hl(e,t,ql),e+"")}var Vl=Ml,Fl=Pe,Gl=dt,Wl=go,Ul=te;function Kl(e,t,o){if(!Ul(o))return!1;var n=typeof t;return(n=="number"?Gl(o)&&Wl(t,o.length):n=="string"&&t in o)?Fl(o[t],e):!1}var Xl=Kl,Jl=Vl,Yl=Xl;function Zl(e){return Jl(function(t,o){var n=-1,r=o.length,a=r>1?o[r-1]:void 0,i=r>2?o[2]:void 0;for(a=e.length>3&&typeof a=="function"?(r--,a):void 0,i&&Yl(o[0],o[1],i)&&(a=r<3?void 0:a,r=1),t=Object(t);++n<r;){var c=o[n];c&&e(t,c,n,a)}return t})}var Ql=Zl,ed=gl,td=Ql;td(function(e,t,o){ed(e,t,o)});const me=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const a=[o,r].filter(q).join(".");return me(t(r,n,a),t,a)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,a])=>{const i=[o,r].filter(q).join(".");return n[r]=me(t(r,a,i),t,i),n},{}):e,od=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},_t=()=>{let e={};return{on:(i,c)=>{i in e?e[i].push(c):e[i]=[c]},has:i=>i in e,get:i=>e[i],emit:(i,...c)=>i in e?e[i].map(l=>l(...c)).filter(Boolean):[],reset:()=>e={}}},nd=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),No=e=>!e&&e==null,q=e=>!No(e),oe=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function J(e,...t){const o=m({},e);return t.forEach(n=>{delete o[n]}),o}const We=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((a,i)=>a&&a[i],e);return r===void 0?o:r},Ue=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,a,i)=>(r[a]===void 0&&(r[a]={}),i===n.length-1&&(r[a]=o),r[a]),e)},rd=e=>{const t=e.slice(1);t.length===3&&(e=t.split("").map(n=>`${n}${n}`).join(""));const o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return o?{r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}:void 0},ad=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),id=e=>"id"in e&&"root"in e,sd=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),cd=(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}},ld=(e,t)=>{const o=[];return me(e,(n,r,a)=>(t(n,r,a,o)&&o.push({key:n,value:r,path:a}),r)),o},Co=["desktop","laptop","tablet","mobile"],dd={mobile:320,tablet:768,laptop:1024,desktop:1920},w={root:"_root_24bq9_1",icon:"_icon_24bq9_5",iconTarget:"_iconTarget_24bq9_17",body:"_body_24bq9_22",bodyOpen:"_bodyOpen_24bq9_30",simpleGift_in:"_simpleGift_in_24bq9_1",close:"_close_24bq9_43",arrow:"_arrow_24bq9_57",container:"_container_24bq9_68",inner:"_inner_24bq9_74",logo:"_logo_24bq9_81",text:"_text_24bq9_88",button:"_button_24bq9_103",buttonAnimated:"_buttonAnimated_24bq9_112",increase:"_increase_24bq9_1",legalGap:"_legalGap_24bq9_116",legalOpen:"_legalOpen_24bq9_120",legal:"_legal_24bq9_116",legalText:"_legalText_24bq9_148",legalButton:"_legalButton_24bq9_166",fadein:"_fadein_24bq9_1",pulse:"_pulse_24bq9_1",gradient:"_gradient_24bq9_1",wiggle:"_wiggle_24bq9_1"};var _d=0;function s(e,t,o,n,r,a){var i,c,l={};for(c in t)c=="ref"?i=t[c]:l[c]=t[c];var d={type:e,props:l,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--_d,__source:r,__self:a};if(typeof e=="function"&&(i=e.defaultProps))for(c in i)l[c]===void 0&&(l[c]=i[c]);return _.options.vnode&&_.options.vnode(d),d}const So=_.createContext(),ne=({children:e,value:t})=>s(So.Provider,{value:t,children:e}),re=e=>i=>mt(this,null,function*(){var c=i,{target:t,id:o,ref:n,state:r}=c,a=bt(c,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const l=yield Promise.resolve().then(()=>g_);window.ResizeObserver=l.ResizeObserver}return _.render(s(ne,{value:r,children:_.cloneElement(e,m({ref:n,id:o},a))}),t)}),B=()=>on(So),ud=(e={})=>typeof e=="object"&&q(e)&&Co.every(t=>t in e),fd=(e,t)=>e&&me(e,(o,n)=>{if(ud(n)){const r=n[t];return r&&"parent"in r&&q(r.parent)?m(m({},n[r.parent]),J(r,"parent")):r}return n}),ae=(e,t)=>fd(e,t),ye=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=dd})=>{const[r,a]=Oe("desktop"),i=c=>{var f;const l=c.getBoundingClientRect().width||0,d=Object.entries(m({},n)).sort(([p,b],[$,C])=>b-C),u=((f=d.find(([p,b],$)=>{const[C,h]=d[$+1]||[];return l>=b&&l<h}))==null?void 0:f[0])||"desktop";a(u)};return Tt(()=>{const c=t.current.closest(`[data-${o}='${e}']`)||document.body;c&&(new ResizeObserver(()=>i(c)).observe(c),i(c))},[]),r},Ke=(e,t)=>`${e}${t}`,pd=e=>e.startsWith("px_"),vd=e=>e.startsWith("percent_"),hd=(e,t)=>{let o=e,n=t;return pd(o)&&(o=o.replace("px_",""),n=Ke(t,"px")),vd(o)&&(o=o.replace("percent_",""),n=Ke(t,"%")),{key:o,value:n}},gd=["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"],bd=(e,t)=>{const o=Object.keys(e);if((o.includes("innerHTML")||o.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.',t),typeof e!="object")return e;if("typography"in e&&"accentTypography"in e){const n=e.typography,r=e.accentTypography;e=L(m(m({},e),n),{"--font-family":r.fontFamily,"--accent-color":r.color,"px_--accent-size":r.fontSize})}return Object.entries(e).reduce((n,[r,a])=>{gd.includes(r)&&(a=Ke(a,"px"));const{key:i,value:c}=hd(r,a);if(n[i]=c,i==="hidden"&&c)return n.display="none",n;if(i==="innerHTML"&&(n.innerHTML=q(c)?`${c}`:""),i==="innerText"&&(n.innerText=q(c)?`${c}`:""),i==="children"&&(n.children=typeof c=="string"?q(c)?`${c}`:"":c),(i==="innerHTML"||i==="innerText"||i==="children")&&(typeof c=="string"&&c.length===0||No(c))&&(n.display="none"),i.includes("borderWidth")&&(n.borderStyle="solid"),i==="corner"&&(n.borderRadius=Ke(c,"px")),i==="backgroundFit"&&(n.backgroundSize=c),i==="backgroundImage"&&q(c)&&(n.backgroundImage=`url(${c})`,n.backgroundRepeat="no-repeat"),i==="backgroundColorOpacity"&&q(n.backgroundColorOpacity)&&q(n.backgroundColor)){const l=rd(n.backgroundColor);l&&(n.backgroundColor=sd(`rgb(${l.r}, ${l.g}, ${l.b})`,+n.backgroundColorOpacity/100))}return i==="isBold"&&(n.fontWeight=c?"bold":"initial"),i==="isItalic"&&(n.fontStyle=c?"italic":"initial"),i==="isThrough"&&(n.textDecoration=c?"line-through":"initial"),n},e)},md=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,j=e=>q(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=md(n)?bd(m({},e[o]),o):n,t),{}):e,Se=o=>{var n=o,{children:e}=n,t=bt(n,["children"]);var a;const r=(a=e==null?void 0:e.replace(/script|\n/g,""))==null?void 0:a.replace(/{{(.*?)}}/g,"<span>$1</span>");return s("div",L(m({},t),{dangerouslySetInnerHTML:{__html:r}}))},Ao=()=>{const[e,t]=Oe(!1);return[e,()=>t(o=>!o)]},Ae=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:s("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"})}),ut=()=>s("svg",{viewBox:"0 0 16 16",children:s("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.13 8H7v7.31H3.22a1.09 1.09 0 01-1.09-1.09zM9 15.34h3.81a1.09 1.09 0 001.09-1.09V8H9zm5.8-9.94v1.19a.48.48 0 01-.48.48H1.71a.48.48 0 01-.48-.48V5.4c0-.596.484-1.08 1.08-1.08H5a2.48 2.48 0 01-1.47-1.65 1.62 1.62 0 01.26-1.4 1.57 1.57 0 011-.58c.11-.01.22-.01.33 0a2.5 2.5 0 012 1A9 9 0 018 3.22a10.38 10.38 0 01.91-1.54 2.49 2.49 0 011.93-1h.36c.369.065.702.26.94.55.31.407.414.936.28 1.43a2.48 2.48 0 01-1.45 1.64h2.77a1.08 1.08 0 011.03 1.1zM8.66 4a9.81 9.81 0 001.9-.55 1.52 1.52 0 00.88-1 .68.68 0 00-.1-.59.6.6 0 00-.34-.22.58.58 0 00-.18 0 1.52 1.52 0 00-1.17.63A9.06 9.06 0 008.66 4zm-3.32-.58A9.62 9.62 0 007.25 4a8.59 8.59 0 00-1-1.72 1.51 1.51 0 00-1.18-.63h-.13a.66.66 0 00-.39.22.66.66 0 00-.09.57c.13.443.453.804.88.98z"})}),yd=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`}),Ro=(e,t)=>{var u,f,p,b,$,C,h,O,k,S,P,D,X;const o=yd(t),n=j(e),r=(u=n==null?void 0:n.icon)==null?void 0:u.hasIcon,a={left:`${+(((f=e==null?void 0:e.container)==null?void 0:f.left)||0)*-1+8}px`,backgroundColor:(p=n==null?void 0:n.container)==null?void 0:p.backgroundColor,borderTopWidth:(b=n==null?void 0:n.container)==null?void 0:b.borderWidth,borderTopColor:($=n==null?void 0:n.container)==null?void 0:$.borderColor,borderTopStyle:"solid",borderLeftWidth:(C=n==null?void 0:n.container)==null?void 0:C.borderWidth,borderLeftColor:(h=n==null?void 0:n.container)==null?void 0:h.borderColor,borderLeftStyle:"solid"},i={left:(O=n==null?void 0:n.container)==null?void 0:O.left},c=(((k=n==null?void 0:n.icon)==null?void 0:k.animations)||[]).map(Y=>o[Y]).join(", "),l=q((S=n==null?void 0:n.icon)==null?void 0:S.gradientColor)&&((P=n==null?void 0:n.icon)!=null&&P.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(D=n.icon)==null?void 0:D.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,d=m(L(m({},(n==null?void 0:n.icon)||{}),{animation:c}),l);return{hasIcon:r,arrowRules:a,bodyRules:i,iconRules:d}},$e=e=>{const t=new Set([]);me(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=Nt(()=>Array.from(t.values()).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);Q(()=>{o.forEach(n=>od(n))},[o])},ie=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundFit"],$d=["borderWidth","borderColor","borderStyle"],jo=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],xd=e=>console.log(`Noop YaMektika reach goal: ${e}`),kd=e=>console.log(`Noop AdFox reach goal: ${e}`),wd=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=Oe(!1),a=M(null),i=l=>{clearTimeout(a.current),a.current=null},c=()=>{i(a.current),r(l=>!l)};return Q(()=>(a.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>i(a.current)),[e]),Q(()=>{n&&!a.current&&t&&t()},[n]),{isOpen:n,toggle:c}},Eo=({ref:e,openDelay:t})=>{const o=M(_t()),n=l=>o.current.on("open",l),r=l=>o.current.on("click",l),a=l=>o.current.on("autoOpen",l),{isOpen:i,toggle:c}=wd({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return ot(e,()=>({onOpen:n,onClick:r,onAutoOpen:a})),Q(()=>o.current.reset,[]),{isOpen:i,toggle:c,click:()=>o.current.emit("click")}},Od=fe(({id:e},t)=>{var O,k,S,P,D,X,Y;const o=M(null),[n,r]=Ao(),a=B(),i=ye({targetRef:o,id:e}),c=ae(a,i),l=j(c),{hasIcon:d,iconRules:u,bodyRules:f,arrowRules:p}=Ro(c,{fade:w.fadein,pulse:w.pulse,wiggle:w.wiggle,gradient:w.gradient}),{isOpen:b,toggle:$,click:C}=Eo({ref:t,openDelay:(O=c==null?void 0:c.container)==null?void 0:O.delay});$e(c);const h=n?oe(l.container,...$d):{};return s("div",{className:A(w.root,{[w.legalOpen]:n}),ref:o,children:[s("div",{className:w.icon,style:u,onClick:$,children:d&&s("div",{className:w.iconTarget,children:s(ut,{})})}),s("div",{className:A(w.body,{[w.bodyOpen]:b}),style:f,children:[s("div",{className:w.arrow,style:p}),s("div",{className:w.close,style:l==null?void 0:l.close,onClick:$,children:s(Ae,{})}),s("div",{className:w.container,style:l==null?void 0:l.container,children:[s("a",{href:(k=l==null?void 0:l.root)==null?void 0:k.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>C(l.id),children:[s("div",{className:w.inner,children:[s("div",{className:w.logo,style:l==null?void 0:l.logo}),s(Se,{className:w.text,style:l==null?void 0:l.text,children:(S=l==null?void 0:l.text)==null?void 0:S.children})]}),s("div",{className:A(w.button,{[w.buttonAnimated]:l==null?void 0:l.button.isAnimated}),style:l==null?void 0:l.button,children:(P=l==null?void 0:l.button)==null?void 0:P.children})]}),s("div",{className:w.legalGap}),s("div",{className:w.legal,style:m(m({},l==null?void 0:l.legal),h),children:s("span",{className:w.legalText,children:s("span",{children:[s("span",{children:(D=l==null?void 0:l.legal)==null?void 0:D.children}),s("span",{className:w.legalButton,onClick:r,children:n?(X=l==null?void 0:l.legal)==null?void 0:X.buttonOpenText:(Y=l==null?void 0:l.legal)==null?void 0:Y.buttonHideText})]})})})]})]})]})}),Td=re(s(Od,{})),T={root:"_root_1hrqs_1",icon:"_icon_1hrqs_5",iconTarget:"_iconTarget_1hrqs_17",body:"_body_1hrqs_22",desktop:"_desktop_1hrqs_29",tablet:"_tablet_1hrqs_29",laptop:"_laptop_1hrqs_29",bodyOpen:"_bodyOpen_1hrqs_33",complexGift_in:"_complexGift_in_1hrqs_1",arrow:"_arrow_1hrqs_46",container:"_container_1hrqs_56",promotion:"_promotion_1hrqs_61",close:"_close_1hrqs_69",head:"_head_1hrqs_83",headIcon:"_headIcon_1hrqs_90",headTitle:"_headTitle_1hrqs_96",inner:"_inner_1hrqs_103",fadein:"_fadein_1hrqs_1",pulse:"_pulse_1hrqs_1",gradient:"_gradient_1hrqs_1",wiggle:"_wiggle_1hrqs_1"},F={root:"_root_tv8qf_1",body:"_body_tv8qf_30",bodyInner:"_bodyInner_tv8qf_38",line:"_line_tv8qf_43",text:"_text_tv8qf_53",button:"_button_tv8qf_69",logo:"_logo_tv8qf_81",variant2:"_variant2_tv8qf_87",buttonText:"_buttonText_tv8qf_91",legal:"_legal_tv8qf_108"},Nd=({onClick:e})=>{var n,r,a,i,c;const t=B(),o=j(t);return s("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(F.root,{[F.variant2]:((r=o.root)==null?void 0:r.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[s("div",{className:F.body,children:[s("div",{className:F.line,style:o.line}),s("div",{className:F.bodyInner,children:[s("div",{className:F.logo,style:o.logo}),s("div",{className:F.text,style:o.text,children:s(Se,{children:(a=o.text)==null?void 0:a.children})})]}),s("div",{className:F.button,style:o.button,children:[s("div",{className:F.logo,style:o.logo}),s("div",{className:F.buttonText,children:(i=o.button)==null?void 0:i.children})]})]}),s("div",{className:F.legal,style:o.legal,children:(c=o.legal)==null?void 0:c.children})]})},Cd=fe(({id:e},t)=>{var C,h,O,k;const o=M(null),n=B(),r=ye({targetRef:o,id:e}),a=ae(n,r),i=j(a),{isOpen:c,click:l,toggle:d}=Eo({ref:t,openDelay:(C=a==null?void 0:a.container)==null?void 0:C.delay});$e(a);const{hasIcon:u,iconRules:f,bodyRules:p,arrowRules:b}=Ro(a,{fade:T.fadein,pulse:T.pulse,wiggle:T.wiggle,gradient:T.gradient}),$=(h=i==null?void 0:i.title)==null?void 0:h.hasIcon;return s("div",{ref:o,className:A(T.root,{[T.desktop]:r==="desktop",[T.laptop]:r==="laptop",[T.tablet]:r==="tablet"}),children:[s("div",{className:T.icon,style:f,onClick:d,children:u&&s("div",{className:T.iconTarget,children:s(ut,{})})}),s("div",{className:A(T.body,{[T.bodyOpen]:c}),style:p,children:[s("div",{className:T.arrow,style:b}),s("div",{className:T.container,style:i.container,children:[s("div",{className:T.close,style:i.close,onClick:d,children:s(Ae,{})}),s("div",{className:T.promotion,style:i.promotion,children:(O=i.promotion)==null?void 0:O.children}),s("div",{className:T.head,children:[$&&s("div",{className:T.headIcon,style:oe(i.title,"color"),children:s(ut,{})}),s("div",{className:T.headTitle,style:i.title,children:(k=i.title)==null?void 0:k.children})]}),s("div",{className:T.inner,children:(i.children||[]).map(S=>s(ne,{value:S,children:s(Nd,{onClick:l})}))})]})]})]})}),Sd=re(s(Cd,{})),H={root:"_root_1qzwb_1",content:"_content_1qzwb_11",laptop:"_laptop_1qzwb_20",desktop:"_desktop_1qzwb_24",wrapper:"_wrapper_1qzwb_28",overlay:"_overlay_1qzwb_32",close:"_close_1qzwb_38",body:"_body_1qzwb_46",logo:"_logo_1qzwb_54",text:"_text_1qzwb_60",button:"_button_1qzwb_64",legal:"_legal_1qzwb_79"},se=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],Ad={root:"_root_2ic16_1"},Rd=()=>{var o;const e=B(),t=j(e);return s("div",{className:Ad.root,style:t.root,children:s(Se,{children:(o=t==null?void 0:t.root)==null?void 0:o.children})})},ft=(e,t=0)=>{const o=M(_t()),[n,r]=Oe(!1),a=f=>o.current.on("visible",f),i=f=>o.current.on("click",f),c=f=>o.current.on("clickHide",f),l=()=>mt(this,null,function*(){yield nd(+t),r(!0)}),d=()=>r(!1),u=()=>{o.current.emit("clickHide"),d()};return Q(()=>{o.current.emit("visible",n)},[n]),ot(e,()=>({onVisible:a,onClick:i,onClickHide:c,show:l,hide:d})),Q(()=>o.current.reset,[]),{isOpen:n,show:l,hide:d,clickHide:u,click:(...f)=>{d(),o.current.emit("click",...f)}}},jd=fe(({id:e,className:t},o)=>{var C,h,O,k,S,P;const n=M(null),r=ye({targetRef:n,id:e}),a=B(),i=ae(a,r);$e(i),Ue(i,"button.percent_width",(C=i==null?void 0:i.button)==null?void 0:C.width),Ue(i,"legal.percent_width",(h=i==null?void 0:i.legal)==null?void 0:h.width);const c=j(i),l=We(c,"root.delay",0),{isOpen:d,clickHide:u,click:f}=ft(o,l),p={alignItems:se((O=c.root)==null?void 0:O.align)},b=L(m({},c==null?void 0:c.button),{justifyContent:se((k=c.root)==null?void 0:k.textAlign)}),$=L(m({},c==null?void 0:c.legal),{justifyContent:se((S=c.root)==null?void 0:S.textAlign)});return s("div",{className:A(H.root,t),ref:n,style:{display:d?"flex":"none"},children:[s("div",{className:H.overlay,style:c.overlay,onClick:u}),s("div",{className:H.wrapper,children:[s("div",{className:H.close,style:J(c.close,"backgroundColor"),onClick:u,children:s(Ae,{})}),s("a",{href:(P=c.root)==null?void 0:P.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(H.content,{[H.desktop]:r==="desktop",[H.tablet]:r==="tablet",[H.laptop]:r==="laptop"}),style:c.root,onClick:()=>f(c.id),children:s("div",{className:H.body,style:p,children:[s("div",{className:H.logo,style:c.logo}),s("div",{className:H.text,children:((c==null?void 0:c.children)||[]).map(D=>s(ne,{value:D,children:s(Rd,{})}))}),s("div",{className:H.button,style:b,children:b==null?void 0:b.children}),s("div",{className:H.legal,style:$,children:$==null?void 0:$.children})]})})]})]})}),Ed=re(s(jd,{})),ee={root:"_root_y4quu_1",content:"_content_y4quu_11",desktop:"_desktop_y4quu_23",laptop:"_laptop_y4quu_23",overlay:"_overlay_y4quu_28",close:"_close_y4quu_34",title:"_title_y4quu_42",wrapper:"_wrapper_y4quu_57"},G={root:"_root_1oxkc_1",desktop:"_desktop_1oxkc_9",laptop:"_laptop_1oxkc_9",header:"_header_1oxkc_14",logo:"_logo_1oxkc_25",container:"_container_1oxkc_32",body:"_body_1oxkc_43",text:"_text_1oxkc_60",button:"_button_1oxkc_83",legal:"_legal_1oxkc_101"},Ld=({onClick:e})=>{var r,a,i,c;const t=B(),o=j(t),n=(t==null?void 0:t.device)||"desktop";return s("a",{href:(r=o.root)==null?void 0:r.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(G.root,{[G.desktop]:n==="desktop",[G.laptop]:n==="laptop"}),style:J(o.root,...jo),onClick:()=>e(o.id),children:[s("div",{className:G.header,style:o.header,children:s("div",{className:G.logo,style:o.logo})}),s("div",{className:G.container,style:oe(o.root,...jo),children:[s("div",{className:G.body,children:[s("div",{className:G.logo,style:o.logo}),s(Se,{className:G.text,style:o.text,children:(a=o.text)==null?void 0:a.children})]}),s("div",{children:[s("div",{className:G.button,style:o.button,children:(i=o.button)==null?void 0:i.children}),s("div",{className:G.legal,style:o.legal,children:(c=o.legal)==null?void 0:c.children})]})]})]})},zd=fe(({id:e},t)=>{var f;const o=M(null),n=ye({targetRef:o,id:e}),r=B(),a=ae(r,n),i=j(a);$e(a);const c=We(i,"root.delay",0),{isOpen:l,clickHide:d,click:u}=ft(t,c);return s("div",{className:ee.root,style:{display:l?"flex":"none"},children:[s("div",{className:ee.overlay,style:i.overlay,onClick:d}),s("div",{ref:o,className:A(ee.content,{[ee.desktop]:n==="desktop",[ee.laptop]:n==="laptop"}),style:i.root,children:[s("div",{className:ee.close,style:J(i.close,"backgroundColor"),onClick:d,children:s(Ae,{})}),s("div",{className:ee.title,style:i.title,children:(f=i.title)==null?void 0:f.children}),s("div",{className:ee.wrapper,children:(i.children||[]).map(p=>s(ne,{value:L(m({},p),{device:n}),children:s(Ld,{onClick:u})}))})]})]})}),Bd=re(s(zd,{})),E={root:"_root_4lmgn_1",content:"_content_4lmgn_11",close:"_close_4lmgn_19",overlay:"_overlay_4lmgn_27",body:"_body_4lmgn_33",desktop:"_desktop_4lmgn_41",laptop:"_laptop_4lmgn_41",tablet:"_tablet_4lmgn_45",head:"_head_4lmgn_50",title:"_title_4lmgn_60",logo:"_logo_4lmgn_73",wrapper:"_wrapper_4lmgn_80",text:"_text_4lmgn_87",button:"_button_4lmgn_102",buttonHead:"_buttonHead_4lmgn_117",buttonTarget:"_buttonTarget_4lmgn_134",legal:"_legal_4lmgn_148"},N={root:"_root_1qxck_1",left:"_left_1qxck_8",desktop:"_desktop_1qxck_15",laptop:"_laptop_1qxck_15",teams:"_teams_1qxck_19",logo:"_logo_1qxck_25",league:"_league_1qxck_32",name:"_name_1qxck_37",right:"_right_1qxck_43",odd:"_odd_1qxck_54",oddLabel:"_oddLabel_1qxck_67",oddValue:"_oddValue_1qxck_76",team:"_team_1qxck_19",teamLogo:"_teamLogo_1qxck_102",teamName:"_teamName_1qxck_109"},Id=()=>{var n,r,a,i,c,l,d;const e=B(),t=j(e),o=(e==null?void 0:e.device)||"desktop";return s("div",{className:A(N.root,{[N.desktop]:o==="desktop",[N.laptop]:o==="laptop"}),children:[s("div",{className:N.left,children:[s("div",{className:N.teams,children:[s("div",{className:N.logo,style:t.teamALogo}),s("div",{className:N.logo,style:t.teamBLogo})]}),s("div",{className:N.body,children:[s("div",{className:N.league,style:t.league,children:(n=t.league)==null?void 0:n.children}),s("div",{className:N.name,style:t.teams,children:[(r=t.teams)==null?void 0:r.teamA," — ",(a=t.teams)==null?void 0:a.teamB]})]})]}),s("div",{className:N.right,children:[s("div",{className:N.team,children:[s("div",{className:N.teamLogo,style:t.teamALogo}),s("div",{className:N.teamName,style:t.teams,children:(i=t.teams)==null?void 0:i.teamA})]}),s("div",{className:N.odd,children:[s("div",{className:N.oddLabel,style:t.oddLabel,children:(c=t.oddLabel)==null?void 0:c.children}),s("div",{className:N.oddValue,style:t.oddValue,children:(l=t.oddValue)==null?void 0:l.children})]}),s("div",{className:N.team,children:[s("div",{className:N.teamLogo,style:t.teamBLogo}),s("div",{className:N.teamName,style:t.teams,children:(d=t.teams)==null?void 0:d.teamB})]})]})]})},Pd=fe(({id:e},t)=>{var h,O,k,S,P,D,X,Y,de,_e,Qe,et,Ee;const o=M(null),n=ye({targetRef:o,id:e}),r=B(),a=ae(r,n);Ue(a,"buttonWrapper.percent_width",(h=a==null?void 0:a.buttonWrapper)==null?void 0:h.width),Ue(a,"legal.percent_width",(O=a==null?void 0:a.legal)==null?void 0:O.width);const i=j(a);$e(a);const c=We(i,"root.delay",0),{isOpen:l,clickHide:d,click:u}=ft(t,c),f=L(m({},i.root),{alignItems:se((k=i.root)==null?void 0:k.align)}),p=L(m({},i.content),{alignItems:se((S=i.root)==null?void 0:S.align)}),b=L(m({},i.text),{textAlign:(P=i.root)==null?void 0:P.align}),$=L(m({},i==null?void 0:i.button),{justifyContent:se((D=i.root)==null?void 0:D.textAlign)}),C=L(m({},i==null?void 0:i.legal),{justifyContent:se((X=i.root)==null?void 0:X.textAlign)});return s("div",{className:A(E.root,{[E.desktop]:n==="desktop",[E.laptop]:n==="laptop",[E.tablet]:n==="tablet"}),ref:o,style:{display:l?"flex":"none"},children:[s("div",{className:E.overlay,style:i.overlay,onClick:d}),s("div",{className:E.content,children:[s("div",{className:E.close,style:J(i.close,"backgroundColor"),onClick:d,children:s(Ae,{})}),s("a",{ref:o,href:(Y=i.root)==null?void 0:Y.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>u(i.id),children:s("div",{className:E.body,style:f,children:[s("div",{className:E.head,children:[s("div",{className:E.title,style:i.title,children:(de=i.title)==null?void 0:de.children}),s("div",{className:E.logo,style:i.logo})]}),s("div",{className:E.wrapper,style:p,children:(i.children||[]).map(b_=>s(ne,{value:L(m({},b_),{device:n}),children:s(Id,{})}))}),s(Se,{className:E.text,style:b,children:(_e=i.text)==null?void 0:_e.children}),s("div",{className:E.button,style:i.buttonWrapper,children:[s("div",{className:E.buttonHead,style:i.buttonHead,children:(Qe=i.buttonHead)==null?void 0:Qe.children}),s("div",{className:E.buttonTarget,style:$,children:(et=i.button)==null?void 0:et.children})]}),s("div",{className:E.legal,style:C,children:(Ee=i.legal)==null?void 0:Ee.children})]})})]})]})}),qd=re(s(Pd,{})),W={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"},Hd=({onClick:e})=>{var a,i,c,l,d,u,f,p;const t=B(),o=j(t),[n,r]=Ao();return s("div",{className:W.root,style:J(o.root,...ie),children:[s("div",{className:W.background,style:oe(o.root,...ie)}),s("a",{href:(a=o.root)==null?void 0:a.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:W.body,onClick:()=>e(o.id),children:[s("div",{children:[s("div",{className:W.rowFirst,style:o.rowFirst,children:(i=o.rowFirst)==null?void 0:i.children}),s("div",{className:W.rowSecond,style:o.rowSecond,children:(c=o.rowSecond)==null?void 0:c.children}),s("div",{className:W.bookmaker,style:o.bookmaker,children:(l=o.bookmaker)==null?void 0:l.children})]}),s("div",{className:W.button,style:o.button,children:(d=o.button)==null?void 0:d.children})]}),s("div",{className:A(W.legal,{[W.legalOpen]:n}),style:o.legalInfo,children:s("span",{className:W.legalText,children:[s("span",{children:(u=o.legalInfo)==null?void 0:u.children}),s("span",{className:W.legalButton,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})})]})},Dd=e=>{const t=M(_t()),o=n=>t.current.on("click",n);return ot(e,()=>({onClick:o})),{click:(...n)=>t.current.emit("click",...n),onClick:o}},Md=fe((e,t)=>{const o=M(null),n=B(),a=ae(n,"desktop"),i=j(a);$e(a);const{click:c}=Dd(t);return s("div",{ref:o,children:((i==null?void 0:i.children)||[]).map(l=>s(ne,{value:l,children:s(Hd,{onClick:c})}))})}),Vd=re(s(Md,{})),R={root:"_root_a3kem_1",desktop:"_desktop_a3kem_13",laptop:"_laptop_a3kem_14",promotion:"_promotion_a3kem_18",background:"_background_a3kem_34",content:"_content_a3kem_43",variant2:"_variant2_a3kem_56",logo:"_logo_a3kem_60",left:"_left_a3kem_72",center:"_center_a3kem_86",slide:"_slide_a3kem_92",slide_animated_default:"_slide_animated_default_a3kem_106","fade-in-out":"_fade-in-out_a3kem_1","slide_animated_bottom-top":"_slide_animated_bottom-top_a3kem_109","fade-in-bottom-out-top":"_fade-in-bottom-out-top_a3kem_1","slide_animated_top-bottom":"_slide_animated_top-bottom_a3kem_112",right:"_right_a3kem_116",buttonWrapper:"_buttonWrapper_a3kem_131",button:"_button_a3kem_131",button_animated:"_button_animated_a3kem_162",increase:"_increase_a3kem_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_a3kem_1"},Lo={root:"_root_1cgtj_1",desktop:"_desktop_1cgtj_19"},Fd=()=>{var o;const e=B(),t=j(e);return s("div",{className:A(Lo.root,{[Lo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:J(t.root,...ie),children:(o=t.root)==null?void 0:o.children})},U={root:"_root_vjs41_1",odd:"_odd_vjs41_7",oddReverse:"_oddReverse_vjs41_14",oddLabel:"_oddLabel_vjs41_18",oddLogo:"_oddLogo_vjs41_30",coef:"_coef_vjs41_36",coefHead:"_coefHead_vjs41_42",coefValue:"_coefValue_vjs41_47"},Gd=()=>{var n,r,a;const e=B(),t=j(e),o=J(t.root,...ie);return s("div",{className:U.root,children:[s("div",{className:U.odd,children:[s("div",{className:U.oddLogo,style:o}),s("div",{className:U.oddLabel,style:o,children:(n=t.root)==null?void 0:n.valueOne})]}),s("div",{className:U.coef,children:[s("div",{className:U.coefHead,style:t.coef,children:"X"}),s("div",{className:U.coefValue,style:o,children:(r=t.root)==null?void 0:r.valueX})]}),s("div",{className:A(U.odd,U.oddReverse),children:[s("div",{className:U.oddLogo,style:o}),s("div",{className:U.oddLabel,style:o,children:(a=t.root)==null?void 0:a.valueTwo})]})]})},I={root:"_root_1va5h_1",title:"_title_1va5h_8",titleLabel:"_titleLabel_1va5h_12",tablet:"_tablet_1va5h_16",desktop:"_desktop_1va5h_19",laptop:"_laptop_1va5h_19",titleValue:"_titleValue_1va5h_23",team:"_team_1va5h_34",teamLogo:"_teamLogo_1va5h_44",teamName:"_teamName_1va5h_72",teamValue:"_teamValue_1va5h_84"},Wd=()=>{const e=B(),t=j(e);return s("div",{className:A(I.root,{[I.desktop]:(e==null?void 0:e.device)==="desktop",[I.laptop]:(e==null?void 0:e.device)==="laptop",[I.tablet]:(e==null?void 0:e.device)==="tablet"}),style:J(t.root,...ie),children:[s("div",{className:I.title,children:[s("div",{className:I.titleLabel,style:t.titleLabel,children:t.titleLabel.children}),s("div",{className:I.titleValue,style:t.titleValue,children:t.titleValue.children})]}),s("div",{children:[s("div",{className:I.team,children:[s("div",{className:I.teamLogo,style:t.logo}),s("div",{className:I.teamName,style:t.teamName,children:t.team1Name.children}),s("div",{className:I.teamValue,style:t.value,children:t.value1.children})]}),s("div",{className:I.team,children:[s("div",{className:I.teamLogo,style:t.logo}),s("div",{className:I.teamName,style:t.teamName,children:t.team2Name.children}),s("div",{className:I.teamValue,style:t.value,children:t.value2.children})]})]})]})},Ud=(e=[])=>{var a;const t=e.length,[o,n]=Oe(0),r=(a=e[o||0])==null?void 0:a.animationDuration;return Q(()=>{const c=setTimeout(()=>{n(l=>l+1<t?l+1:0)},r);return()=>clearTimeout(c)},[n,t,r,o]),o},Kd=(e,t="root")=>{const o=M(),n=(e==null?void 0:e.yaReachGoal)||xd,r=(e==null?void 0:e.adfoxReachGoal)||kd,a=q(e)?oe(e[t],"yaShow","yaClick","adfoxShow","adfoxClick"):{};return Q(()=>{ad(o.current,a)||(a.yaShow&&n(a.yaShow),a.adfoxShow&&r(a.adfoxShow)),o.current=a},[a]),()=>{a.yaClick&&n(a.yaClick),a.adfoxClick&&r(a.adfoxClick)}},Xd=3700,Jd=re(s(()=>{var f,p,b,$,C;const e=M(null),t=B(),o=ye({targetRef:e}),n=ae(t,o),r=j(n),a=Kd(n),i=h=>({text:s(Fd,{}),matches:s(Gd,{}),matchesOneTwo:s(Wd,{})})[h],c=(r.children||[]).filter(Boolean).map(h=>{var O,k;return L(m({},h),{animationName:(O=h==null?void 0:h.root)==null?void 0:O.animationName,animationDuration:((k=h==null?void 0:h.root)==null?void 0:k.animationDuration)||Xd})}),l=Ud(c),d=j(c[l]||{}),u=(f=d==null?void 0:d.root)!=null&&f.hasCustomBackground?oe((d==null?void 0:d.root)||{},...ie):oe(r.background,...ie);return s("a",{ref:e,href:(p=r.root)==null?void 0:p.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(R.root,{[R.desktop]:o==="desktop",[R.laptop]:o==="laptop",[R.tablet]:o==="tablet",[R.variant2]:((b=r.root)==null?void 0:b.variant)==="variant2"}),style:r.root,onClick:a,children:[s("div",{className:R.background,style:u}),s("div",{className:R.promotion,style:r.promotion,children:($=r.promotion)==null?void 0:$.children}),s("div",{className:R.content,children:[s("div",{className:R.left,children:s("div",{className:R.logo,style:r.logo})}),s("div",{className:R.center,children:(r.children||[]).map((h,O)=>{var k,S;return s("div",{className:R.slide,style:{animationName:l===O?R[((k=h.root)==null?void 0:k.animationName)||"fade-in-out"]:"none",animationDuration:`${(S=h.root)==null?void 0:S.animationDuration}ms`},children:s(ne,{value:L(m({},h),{device:o}),children:i(h.name)})})})}),s("div",{className:R.right,children:[s("div",{className:R.logo,style:r.logo}),s("div",{className:R.buttonWrapper,children:s("div",{className:R.button,style:r.button,children:[s("div",{className:R.logo,style:r.logo}),(C=r.button)==null?void 0:C.children]})})]})]})]})},{})),Yd=(e,t,o,n,r=Co)=>{const a=m({},e);return r.forEach(i=>{a[t]=L(m({},a[t]),{[i]:L(m({},a[t][i]),{[o]:typeof n=="function"?n(We(a,`${t}.${i}.${o}`)):n})})}),a};var ce=[],Zd=function(){return ce.some(function(e){return e.activeTargets.length>0})},Qd=function(){return ce.some(function(e){return e.skippedTargets.length>0})},zo="ResizeObserver loop completed with undelivered notifications.",e_=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:zo}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=zo),window.dispatchEvent(e)},Re;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Re||(Re={}));var le=function(e){return Object.freeze(e)},Bo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,le(this)}return e}(),Io=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,le(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,a=t.right,i=t.bottom,c=t.left,l=t.width,d=t.height;return{x:o,y:n,top:r,right:a,bottom:i,left:c,width:l,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),pt=function(e){return e instanceof SVGElement&&"getBBox"in e},Po=function(e){if(pt(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,a=r.offsetWidth,i=r.offsetHeight;return!(a||i||e.getClientRects().length)},qo=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)},t_=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},je=typeof window!="undefined"?window:{},Xe=new WeakMap,Ho=/auto|scroll/,o_=/^tb|vertical/,n_=/msie|trident/i.test(je.navigator&&je.navigator.userAgent),K=function(e){return parseFloat(e||"0")},xe=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Bo((o?t:e)||0,(o?e:t)||0)},Do=le({devicePixelContentBoxSize:xe(),borderBoxSize:xe(),contentBoxSize:xe(),contentRect:new Io(0,0,0,0)}),Mo=function(e,t){if(t===void 0&&(t=!1),Xe.has(e)&&!t)return Xe.get(e);if(Po(e))return Xe.set(e,Do),Do;var o=getComputedStyle(e),n=pt(e)&&e.ownerSVGElement&&e.getBBox(),r=!n_&&o.boxSizing==="border-box",a=o_.test(o.writingMode||""),i=!n&&Ho.test(o.overflowY||""),c=!n&&Ho.test(o.overflowX||""),l=n?0:K(o.paddingTop),d=n?0:K(o.paddingRight),u=n?0:K(o.paddingBottom),f=n?0:K(o.paddingLeft),p=n?0:K(o.borderTopWidth),b=n?0:K(o.borderRightWidth),$=n?0:K(o.borderBottomWidth),C=n?0:K(o.borderLeftWidth),h=f+d,O=l+u,k=C+b,S=p+$,P=c?e.offsetHeight-S-e.clientHeight:0,D=i?e.offsetWidth-k-e.clientWidth:0,X=r?h+k:0,Y=r?O+S:0,de=n?n.width:K(o.width)-X-D,_e=n?n.height:K(o.height)-Y-P,Qe=de+h+D+k,et=_e+O+P+S,Ee=le({devicePixelContentBoxSize:xe(Math.round(de*devicePixelRatio),Math.round(_e*devicePixelRatio),a),borderBoxSize:xe(Qe,et,a),contentBoxSize:xe(de,_e,a),contentRect:new Io(f,l,de,_e)});return Xe.set(e,Ee),Ee},Vo=function(e,t,o){var n=Mo(e,o),r=n.borderBoxSize,a=n.contentBoxSize,i=n.devicePixelContentBoxSize;switch(t){case Re.DEVICE_PIXEL_CONTENT_BOX:return i;case Re.BORDER_BOX:return r;default:return a}},Fo=function(){function e(t){var o=Mo(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=le([o.borderBoxSize]),this.contentBoxSize=le([o.contentBoxSize]),this.devicePixelContentBoxSize=le([o.devicePixelContentBoxSize])}return e}(),Go=function(e){if(Po(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},r_=function(){var e=1/0,t=[];ce.forEach(function(i){if(i.activeTargets.length!==0){var c=[];i.activeTargets.forEach(function(d){var u=new Fo(d.target),f=Go(d.target);c.push(u),d.lastReportedSize=Vo(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){i.callback.call(i.observer,c,i.observer)}),i.activeTargets.splice(0,i.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},Wo=function(e){ce.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(Go(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},a_=function(){var e=0;for(Wo(e);Zd();)e=r_(),Wo(e);return Qd()&&e_(),e>0},vt,Uo=[],i_=function(){return Uo.splice(0).forEach(function(e){return e()})},s_=function(e){if(!vt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return i_()}).observe(o,n),vt=function(){o.textContent="".concat(t?t--:t++)}}Uo.push(e),vt()},c_=function(e){s_(function(){requestAnimationFrame(e)})},Je=0,l_=function(){return!!Je},d_=250,__={attributes:!0,characterData:!0,childList:!0,subtree:!0},Ko=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Xo=function(e){return e===void 0&&(e=0),Date.now()+e},ht=!1,u_=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=d_),!ht){ht=!0;var n=Xo(t);c_(function(){var r=!1;try{r=a_()}finally{if(ht=!1,t=n-Xo(),!l_())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,__)};document.body?o():je.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Ko.forEach(function(o){return je.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Ko.forEach(function(o){return je.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),gt=new u_,Jo=function(e){!Je&&e>0&>.start(),Je+=e,!Je&>.stop()},f_=function(e){return!pt(e)&&!t_(e)&&getComputedStyle(e).display==="inline"},p_=function(){function e(t,o){this.target=t,this.observedBox=o||Re.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Vo(this.target,this.observedBox,!0);return f_(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),v_=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),Ye=new WeakMap,Yo=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},Ze=function(){function e(){}return e.connect=function(t,o){var n=new v_(t,o);Ye.set(t,n)},e.observe=function(t,o,n){var r=Ye.get(t),a=r.observationTargets.length===0;Yo(r.observationTargets,o)<0&&(a&&ce.push(r),r.observationTargets.push(new p_(o,n&&n.box)),Jo(1),gt.schedule())},e.unobserve=function(t,o){var n=Ye.get(t),r=Yo(n.observationTargets,o),a=n.observationTargets.length===1;r>=0&&(a&&ce.splice(ce.indexOf(n),1),n.observationTargets.splice(r,1),Jo(-1))},e.disconnect=function(t){var o=this,n=Ye.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),h_=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.");Ze.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(!qo(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ze.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(!qo(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ze.unobserve(this,t)},e.prototype.disconnect=function(){Ze.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const g_=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:h_,ResizeObserverEntry:Fo,ResizeObserverSize:Bo},Symbol.toStringTag,{value:"Module"}));v.BonusCard=Vd,v.ComplexGift=Sd,v.ComplexPopup=Bd,v.ExpressPopup=qd,v.SimpleGift=Td,v.SimplePopup=Ed,v.WideCard=Jd,v.filterDeep=ld,v.findDeep=cd,v.isValidTemplate=id,v.modifyState=Yd,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})});
|
5
|
+
*/(function(e){(function(){var t={}.hasOwnProperty;function o(){for(var n=[],r=0;r<arguments.length;r++){var a=arguments[r];if(a){var i=typeof a;if(i==="string"||i==="number")n.push(a);else if(Array.isArray(a)){if(a.length){var c=o.apply(null,a);c&&n.push(c)}}else if(i==="object"){if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]")){n.push(a.toString());continue}for(var l in a)t.call(a,l)&&a[l]&&n.push(l)}}}return n.join(" ")}e.exports?(o.default=o,e.exports=o):window.classNames=o})()})(Le);const A=z;var Q,g,V,ue,ke=0,yt=[],ze=[],$t=_.options.__b,xt=_.options.__r,kt=_.options.diffed,wt=_.options.__c,Ot=_.options.unmount;function we(e,t){_.options.__h&&_.options.__h(g,e,ke||t),ke=0;var o=g.__H||(g.__H={__:[],__h:[]});return e>=o.__.length&&o.__.push({__V:ze}),o.__[e]}function Oe(e){return ke=1,tn(St,e)}function tn(e,t,o){var n=we(Q++,2);if(n.t=e,!n.__c&&(n.__=[o?o(t):St(void 0,t),function(c){var l=n.__N?n.__N[0]:n.__[0],d=n.t(l,c);l!==d&&(n.__N=[d,n.__[1]],n.__c.setState({}))}],n.__c=g,!g.u)){var r=function(c,l,d){if(!n.__c.__H)return!0;var u=n.__c.__H.__.filter(function(p){return p.__c});if(u.every(function(p){return!p.__N}))return!a||a.call(this,c,l,d);var f=!1;return u.forEach(function(p){if(p.__N){var b=p.__[0];p.__=p.__N,p.__N=void 0,b!==p.__[0]&&(f=!0)}}),!(!f&&n.__c.props===c)&&(!a||a.call(this,c,l,d))};g.u=!0;var a=g.shouldComponentUpdate,i=g.componentWillUpdate;g.componentWillUpdate=function(c,l,d){if(this.__e){var u=a;a=void 0,r(c,l,d),a=u}i&&i.call(this,c,l,d)},g.shouldComponentUpdate=r}return n.__N||n.__}function J(e,t){var o=we(Q++,3);!_.options.__s&&rt(o.__H,t)&&(o.__=e,o.i=t,g.__H.__h.push(o))}function Tt(e,t){var o=we(Q++,4);!_.options.__s&&rt(o.__H,t)&&(o.__=e,o.i=t,g.__h.push(o))}function M(e){return ke=5,Nt(function(){return{current:e}},[])}function ot(e,t,o){ke=6,Tt(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 Nt(e,t){var o=we(Q++,7);return rt(o.__H,t)?(o.__V=e(),o.i=t,o.__h=e,o.__V):o.__}function on(e){var t=g.context[e.__c],o=we(Q++,9);return o.c=e,t?(o.__==null&&(o.__=!0,t.sub(g)),t.props.value):e.__}function nn(){for(var e;e=yt.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(Be),e.__H.__h.forEach(nt),e.__H.__h=[]}catch(t){e.__H.__h=[],_.options.__e(t,e.__v)}}_.options.__b=function(e){g=null,$t&&$t(e)},_.options.__r=function(e){xt&&xt(e),Q=0;var t=(g=e.__c).__H;t&&(V===g?(t.__h=[],g.__h=[],t.__.forEach(function(o){o.__N&&(o.__=o.__N),o.__V=ze,o.__N=o.i=void 0})):(t.__h.forEach(Be),t.__h.forEach(nt),t.__h=[])),V=g},_.options.diffed=function(e){kt&&kt(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(yt.push(t)!==1&&ue===_.options.requestAnimationFrame||((ue=_.options.requestAnimationFrame)||rn)(nn)),t.__H.__.forEach(function(o){o.i&&(o.__H=o.i),o.__V!==ze&&(o.__=o.__V),o.i=void 0,o.__V=ze})),V=g=null},_.options.__c=function(e,t){t.some(function(o){try{o.__h.forEach(Be),o.__h=o.__h.filter(function(n){return!n.__||nt(n)})}catch(n){t.some(function(r){r.__h&&(r.__h=[])}),t=[],_.options.__e(n,o.__v)}}),wt&&wt(e,t)},_.options.unmount=function(e){Ot&&Ot(e);var t,o=e.__c;o&&o.__H&&(o.__H.__.forEach(function(n){try{Be(n)}catch(r){t=r}}),o.__H=void 0,t&&_.options.__e(t,o.__v))};var Ct=typeof requestAnimationFrame=="function";function rn(e){var t,o=function(){clearTimeout(n),Ct&&cancelAnimationFrame(t),setTimeout(e)},n=setTimeout(o,100);Ct&&(t=requestAnimationFrame(o))}function Be(e){var t=g,o=e.__c;typeof o=="function"&&(e.__c=void 0,o()),g=t}function nt(e){var t=g;e.__c=e.__(),g=t}function rt(e,t){return!e||e.length!==t.length||t.some(function(o,n){return o!==e[n]})}function St(e,t){return typeof t=="function"?t(e):t}function At(e,t){for(var o in t)e[o]=t[o];return e}function Rt(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 jt(e){this.props=e}(jt.prototype=new _.Component).isPureReactComponent=!0,jt.prototype.shouldComponentUpdate=function(e,t){return Rt(this.props,e)||Rt(this.state,t)};var Et=_.options.__b;_.options.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),Et&&Et(e)};var an=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function fe(e){function t(o){var n=At({},o);return delete n.ref,e(n,o.ref||null)}return t.$$typeof=an,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t}var sn=_.options.__e;_.options.__e=function(e,t,o,n){if(e.then){for(var r,a=t;a=a.__;)if((r=a.__c)&&r.__c)return t.__e==null&&(t.__e=o.__e,t.__k=o.__k),r.__c(e,t)}sn(e,t,o,n)};var Lt=_.options.unmount;function zt(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=At({},e)).__c!=null&&(e.__c.__P===o&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map(function(n){return zt(n,t,o)})),e}function Bt(e,t,o){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map(function(n){return Bt(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 at(){this.__u=0,this.t=null,this.__b=null}function It(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ie(){this.u=null,this.o=null}_.options.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&e.__h===!0&&(e.type=null),Lt&&Lt(e)},(at.prototype=new _.Component).__c=function(e,t){var o=t.__c,n=this;n.t==null&&(n.t=[]),n.t.push(o);var r=It(n.__v),a=!1,i=function(){a||(a=!0,o.__R=null,r?r(c):c())};o.__R=i;var c=function(){if(!--n.__u){if(n.state.__a){var d=n.state.__a;n.__v.__k[0]=Bt(d,d.__c.__P,d.__c.__O)}var u;for(n.setState({__a:n.__b=null});u=n.t.pop();)u.forceUpdate()}},l=t.__h===!0;n.__u++||l||n.setState({__a:n.__b=n.__v.__k[0]}),e.then(i,i)},at.prototype.componentWillUnmount=function(){this.t=[]},at.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]=zt(this.__b,o,n.__O=n.__P)}this.__b=null}var r=t.__a&&_.createElement(_.Fragment,null,e.fallback);return r&&(r.__h=null),[_.createElement(_.Fragment,null,t.__a?null:e.children),r]};var Pt=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]}};(Ie.prototype=new _.Component).__a=function(e){var t=this,o=It(t.__v),n=t.o.get(e);return n[0]++,function(r){var a=function(){t.props.revealOrder?(n.push(r),Pt(t,e,n)):r()};o?o(a):a()}},Ie.prototype.render=function(e){this.u=null,this.o=new Map;var t=_.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},Ie.prototype.componentDidUpdate=Ie.prototype.componentDidMount=function(){var e=this;this.o.forEach(function(t,o){Pt(e,o,t)})};var cn=typeof Symbol!="undefined"&&Symbol.for&&Symbol.for("react.element")||60103,ln=/^(?: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]/,dn=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,_n=/[A-Z0-9]/g,un=typeof document!="undefined",fn=function(e){return(typeof Symbol!="undefined"&&typeof Symbol()=="symbol"?/fil|che|rad/:/fil|che|ra/).test(e)};_.Component.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach(function(e){Object.defineProperty(_.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 qt=_.options.event;function pn(){}function vn(){return this.cancelBubble}function hn(){return this.defaultPrevented}_.options.event=function(e){return qt&&(e=qt(e)),e.persist=pn,e.isPropagationStopped=vn,e.isDefaultPrevented=hn,e.nativeEvent=e};var gn={enumerable:!1,configurable:!0,get:function(){return this.class}},Ht=_.options.vnode;_.options.vnode=function(e){typeof e.type=="string"&&function(t){var o=t.props,n=t.type,r={};for(var a in o){var i=o[a];if(!(a==="value"&&"defaultValue"in o&&i==null||un&&a==="children"&&n==="noscript"||a==="class"||a==="className")){var c=a.toLowerCase();a==="defaultValue"&&"value"in o&&o.value==null?a="value":a==="download"&&i===!0?i="":c==="ondoubleclick"?a="ondblclick":c!=="onchange"||n!=="input"&&n!=="textarea"||fn(o.type)?c==="onfocus"?a="onfocusin":c==="onblur"?a="onfocusout":dn.test(a)?a=c:n.indexOf("-")===-1&&ln.test(a)?a=a.replace(_n,"-$&").toLowerCase():i===null&&(i=void 0):c=a="oninput",c==="oninput"&&r[a=c]&&(a="oninputCapture"),r[a]=i}}n=="select"&&r.multiple&&Array.isArray(r.value)&&(r.value=_.toChildArray(o.children).forEach(function(l){l.props.selected=r.value.indexOf(l.props.value)!=-1})),n=="select"&&r.defaultValue!=null&&(r.value=_.toChildArray(o.children).forEach(function(l){l.props.selected=r.multiple?r.defaultValue.indexOf(l.props.value)!=-1:r.defaultValue==l.props.value})),o.class&&!o.className?(r.class=o.class,Object.defineProperty(r,"className",gn)):(o.className&&!o.class||o.class&&o.className)&&(r.class=r.className=o.className),t.props=r}(e),e.$$typeof=cn,Ht&&Ht(e)};var Dt=_.options.__r;_.options.__r=function(e){Dt&&Dt(e),e.__c};var Mt=_.options.diffed;_.options.diffed=function(e){Mt&&Mt(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 mn=bn;function yn(e,t){return e===t||e!==e&&t!==t}var Pe=yn,$n=Pe;function xn(e,t){for(var o=e.length;o--;)if($n(e[o][0],t))return o;return-1}var qe=xn,kn=qe,wn=Array.prototype,On=wn.splice;function Tn(e){var t=this.__data__,o=kn(t,e);if(o<0)return!1;var n=t.length-1;return o==n?t.pop():On.call(t,o,1),--this.size,!0}var Nn=Tn,Cn=qe;function Sn(e){var t=this.__data__,o=Cn(t,e);return o<0?void 0:t[o][1]}var An=Sn,Rn=qe;function jn(e){return Rn(this.__data__,e)>-1}var En=jn,Ln=qe;function zn(e,t){var o=this.__data__,n=Ln(o,e);return n<0?(++this.size,o.push([e,t])):o[n][1]=t,this}var Bn=zn,In=mn,Pn=Nn,qn=An,Hn=En,Dn=Bn;function pe(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])}}pe.prototype.clear=In,pe.prototype.delete=Pn,pe.prototype.get=qn,pe.prototype.has=Hn,pe.prototype.set=Dn;var He=pe,Mn=He;function Vn(){this.__data__=new Mn,this.size=0}var Fn=Vn;function Gn(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}var Wn=Gn;function Un(e){return this.__data__.get(e)}var Kn=Un;function Xn(e){return this.__data__.has(e)}var Jn=Xn,Yn=typeof x=="object"&&x&&x.Object===Object&&x,Vt=Yn,Zn=Vt,Qn=typeof self=="object"&&self&&self.Object===Object&&self,er=Zn||Qn||Function("return this")(),ve=er,tr=ve,or=tr.Symbol,Ft=or,Gt=Ft,Wt=Object.prototype,nr=Wt.hasOwnProperty,rr=Wt.toString,Te=Gt?Gt.toStringTag:void 0;function ar(e){var t=nr.call(e,Te),o=e[Te];try{e[Te]=void 0;var n=!0}catch(a){}var r=rr.call(e);return n&&(t?e[Te]=o:delete e[Te]),r}var ir=ar,sr=Object.prototype,cr=sr.toString;function lr(e){return cr.call(e)}var dr=lr,Ut=Ft,_r=ir,ur=dr,fr="[object Null]",pr="[object Undefined]",Kt=Ut?Ut.toStringTag:void 0;function vr(e){return e==null?e===void 0?pr:fr:Kt&&Kt in Object(e)?_r(e):ur(e)}var De=vr;function hr(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var te=hr,gr=De,br=te,mr="[object AsyncFunction]",yr="[object Function]",$r="[object GeneratorFunction]",xr="[object Proxy]";function kr(e){if(!br(e))return!1;var t=gr(e);return t==yr||t==$r||t==mr||t==xr}var it=kr,wr=ve,Or=wr["__core-js_shared__"],Tr=Or,st=Tr,Xt=function(){var e=/[^.]+$/.exec(st&&st.keys&&st.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function Nr(e){return!!Xt&&Xt in e}var Cr=Nr,Sr=Function.prototype,Ar=Sr.toString;function Rr(e){if(e!=null){try{return Ar.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var jr=Rr,Er=it,Lr=Cr,zr=te,Br=jr,Ir=/[\\^$.*+?()[\]{}|]/g,Pr=/^\[object .+?Constructor\]$/,qr=Function.prototype,Hr=Object.prototype,Dr=qr.toString,Mr=Hr.hasOwnProperty,Vr=RegExp("^"+Dr.call(Mr).replace(Ir,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Fr(e){if(!zr(e)||Lr(e))return!1;var t=Er(e)?Vr:Pr;return t.test(Br(e))}var Gr=Fr;function Wr(e,t){return e==null?void 0:e[t]}var Ur=Wr,Kr=Gr,Xr=Ur;function Jr(e,t){var o=Xr(e,t);return Kr(o)?o:void 0}var ct=Jr,Yr=ct,Zr=ve,Qr=Yr(Zr,"Map"),Jt=Qr,ea=ct,ta=ea(Object,"create"),Me=ta,Yt=Me;function oa(){this.__data__=Yt?Yt(null):{},this.size=0}var na=oa;function ra(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var aa=ra,ia=Me,sa="__lodash_hash_undefined__",ca=Object.prototype,la=ca.hasOwnProperty;function da(e){var t=this.__data__;if(ia){var o=t[e];return o===sa?void 0:o}return la.call(t,e)?t[e]:void 0}var _a=da,ua=Me,fa=Object.prototype,pa=fa.hasOwnProperty;function va(e){var t=this.__data__;return ua?t[e]!==void 0:pa.call(t,e)}var ha=va,ga=Me,ba="__lodash_hash_undefined__";function ma(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=ga&&t===void 0?ba:t,this}var ya=ma,$a=na,xa=aa,ka=_a,wa=ha,Oa=ya;function he(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])}}he.prototype.clear=$a,he.prototype.delete=xa,he.prototype.get=ka,he.prototype.has=wa,he.prototype.set=Oa;var Ta=he,Zt=Ta,Na=He,Ca=Jt;function Sa(){this.size=0,this.__data__={hash:new Zt,map:new(Ca||Na),string:new Zt}}var Aa=Sa;function Ra(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}var ja=Ra,Ea=ja;function La(e,t){var o=e.__data__;return Ea(t)?o[typeof t=="string"?"string":"hash"]:o.map}var Ve=La,za=Ve;function Ba(e){var t=za(this,e).delete(e);return this.size-=t?1:0,t}var Ia=Ba,Pa=Ve;function qa(e){return Pa(this,e).get(e)}var Ha=qa,Da=Ve;function Ma(e){return Da(this,e).has(e)}var Va=Ma,Fa=Ve;function Ga(e,t){var o=Fa(this,e),n=o.size;return o.set(e,t),this.size+=o.size==n?0:1,this}var Wa=Ga,Ua=Aa,Ka=Ia,Xa=Ha,Ja=Va,Ya=Wa;function ge(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])}}ge.prototype.clear=Ua,ge.prototype.delete=Ka,ge.prototype.get=Xa,ge.prototype.has=Ja,ge.prototype.set=Ya;var Za=ge,Qa=He,ei=Jt,ti=Za,oi=200;function ni(e,t){var o=this.__data__;if(o instanceof Qa){var n=o.__data__;if(!ei||n.length<oi-1)return n.push([e,t]),this.size=++o.size,this;o=this.__data__=new ti(n)}return o.set(e,t),this.size=o.size,this}var ri=ni,ai=He,ii=Fn,si=Wn,ci=Kn,li=Jn,di=ri;function be(e){var t=this.__data__=new ai(e);this.size=t.size}be.prototype.clear=ii,be.prototype.delete=si,be.prototype.get=ci,be.prototype.has=li,be.prototype.set=di;var _i=be,ui=ct,fi=function(){try{var e=ui(Object,"defineProperty");return e({},"",{}),e}catch(t){}}(),Qt=fi,eo=Qt;function pi(e,t,o){t=="__proto__"&&eo?eo(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}var lt=pi,vi=lt,hi=Pe;function gi(e,t,o){(o!==void 0&&!hi(e[t],o)||o===void 0&&!(t in e))&&vi(e,t,o)}var to=gi;function bi(e){return function(t,o,n){for(var r=-1,a=Object(t),i=n(t),c=i.length;c--;){var l=i[e?c:++r];if(o(a[l],l,a)===!1)break}return t}}var mi=bi,yi=mi,$i=yi(),xi=$i,Fe={},ki={get exports(){return Fe},set exports(e){Fe=e}};(function(e,t){var o=ve,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,i=a?o.Buffer:void 0,c=i?i.allocUnsafe:void 0;function l(d,u){if(u)return d.slice();var f=d.length,p=c?c(f):new d.constructor(f);return d.copy(p),p}e.exports=l})(ki,Fe);var wi=ve,Oi=wi.Uint8Array,Ti=Oi,oo=Ti;function Ni(e){var t=new e.constructor(e.byteLength);return new oo(t).set(new oo(e)),t}var Ci=Ni,Si=Ci;function Ai(e,t){var o=t?Si(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}var Ri=Ai;function ji(e,t){var o=-1,n=e.length;for(t||(t=Array(n));++o<n;)t[o]=e[o];return t}var Ei=ji,Li=te,no=Object.create,zi=function(){function e(){}return function(t){if(!Li(t))return{};if(no)return no(t);e.prototype=t;var o=new e;return e.prototype=void 0,o}}(),Bi=zi;function Ii(e,t){return function(o){return e(t(o))}}var Pi=Ii,qi=Pi,Hi=qi(Object.getPrototypeOf,Object),ro=Hi,Di=Object.prototype;function Mi(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Di;return e===o}var ao=Mi,Vi=Bi,Fi=ro,Gi=ao;function Wi(e){return typeof e.constructor=="function"&&!Gi(e)?Vi(Fi(e)):{}}var Ui=Wi;function Ki(e){return e!=null&&typeof e=="object"}var Ne=Ki,Xi=De,Ji=Ne,Yi="[object Arguments]";function Zi(e){return Ji(e)&&Xi(e)==Yi}var Qi=Zi,io=Qi,es=Ne,so=Object.prototype,ts=so.hasOwnProperty,os=so.propertyIsEnumerable,ns=io(function(){return arguments}())?io:function(e){return es(e)&&ts.call(e,"callee")&&!os.call(e,"callee")},co=ns,rs=Array.isArray,lo=rs,as=9007199254740991;function is(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=as}var _o=is,ss=it,cs=_o;function ls(e){return e!=null&&cs(e.length)&&!ss(e)}var dt=ls,ds=dt,_s=Ne;function us(e){return _s(e)&&ds(e)}var fs=us,Ce={},ps={get exports(){return Ce},set exports(e){Ce=e}};function vs(){return!1}var hs=vs;(function(e,t){var o=ve,n=hs,r=t&&!t.nodeType&&t,a=r&&!0&&e&&!e.nodeType&&e,i=a&&a.exports===r,c=i?o.Buffer:void 0,l=c?c.isBuffer:void 0,d=l||n;e.exports=d})(ps,Ce);var gs=De,bs=ro,ms=Ne,ys="[object Object]",$s=Function.prototype,xs=Object.prototype,uo=$s.toString,ks=xs.hasOwnProperty,ws=uo.call(Object);function Os(e){if(!ms(e)||gs(e)!=ys)return!1;var t=bs(e);if(t===null)return!0;var o=ks.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&uo.call(o)==ws}var Ts=Os,Ns=De,Cs=_o,Ss=Ne,As="[object Arguments]",Rs="[object Array]",js="[object Boolean]",Es="[object Date]",Ls="[object Error]",zs="[object Function]",Bs="[object Map]",Is="[object Number]",Ps="[object Object]",qs="[object RegExp]",Hs="[object Set]",Ds="[object String]",Ms="[object WeakMap]",Vs="[object ArrayBuffer]",Fs="[object DataView]",Gs="[object Float32Array]",Ws="[object Float64Array]",Us="[object Int8Array]",Ks="[object Int16Array]",Xs="[object Int32Array]",Js="[object Uint8Array]",Ys="[object Uint8ClampedArray]",Zs="[object Uint16Array]",Qs="[object Uint32Array]",y={};y[Gs]=y[Ws]=y[Us]=y[Ks]=y[Xs]=y[Js]=y[Ys]=y[Zs]=y[Qs]=!0,y[As]=y[Rs]=y[Vs]=y[js]=y[Fs]=y[Es]=y[Ls]=y[zs]=y[Bs]=y[Is]=y[Ps]=y[qs]=y[Hs]=y[Ds]=y[Ms]=!1;function ec(e){return Ss(e)&&Cs(e.length)&&!!y[Ns(e)]}var tc=ec;function oc(e){return function(t){return e(t)}}var nc=oc,Ge={},rc={get exports(){return Ge},set exports(e){Ge=e}};(function(e,t){var o=Vt,n=t&&!t.nodeType&&t,r=n&&!0&&e&&!e.nodeType&&e,a=r&&r.exports===n,i=a&&o.process,c=function(){try{var l=r&&r.require&&r.require("util").types;return l||i&&i.binding&&i.binding("util")}catch(d){}}();e.exports=c})(rc,Ge);var ac=tc,ic=nc,fo=Ge,po=fo&&fo.isTypedArray,sc=po?ic(po):ac,vo=sc;function cc(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ho=cc,lc=lt,dc=Pe,_c=Object.prototype,uc=_c.hasOwnProperty;function fc(e,t,o){var n=e[t];(!(uc.call(e,t)&&dc(n,o))||o===void 0&&!(t in e))&&lc(e,t,o)}var pc=fc,vc=pc,hc=lt;function gc(e,t,o,n){var r=!o;o||(o={});for(var a=-1,i=t.length;++a<i;){var c=t[a],l=n?n(o[c],e[c],c,o,e):void 0;l===void 0&&(l=e[c]),r?hc(o,c,l):vc(o,c,l)}return o}var bc=gc;function mc(e,t){for(var o=-1,n=Array(e);++o<e;)n[o]=t(o);return n}var yc=mc,$c=9007199254740991,xc=/^(?:0|[1-9]\d*)$/;function kc(e,t){var o=typeof e;return t=t==null?$c:t,!!t&&(o=="number"||o!="symbol"&&xc.test(e))&&e>-1&&e%1==0&&e<t}var go=kc,wc=yc,Oc=co,Tc=lo,Nc=Ce,Cc=go,Sc=vo,Ac=Object.prototype,Rc=Ac.hasOwnProperty;function jc(e,t){var o=Tc(e),n=!o&&Oc(e),r=!o&&!n&&Nc(e),a=!o&&!n&&!r&&Sc(e),i=o||n||r||a,c=i?wc(e.length,String):[],l=c.length;for(var d in e)(t||Rc.call(e,d))&&!(i&&(d=="length"||r&&(d=="offset"||d=="parent")||a&&(d=="buffer"||d=="byteLength"||d=="byteOffset")||Cc(d,l)))&&c.push(d);return c}var Ec=jc;function Lc(e){var t=[];if(e!=null)for(var o in Object(e))t.push(o);return t}var zc=Lc,Bc=te,Ic=ao,Pc=zc,qc=Object.prototype,Hc=qc.hasOwnProperty;function Dc(e){if(!Bc(e))return Pc(e);var t=Ic(e),o=[];for(var n in e)n=="constructor"&&(t||!Hc.call(e,n))||o.push(n);return o}var Mc=Dc,Vc=Ec,Fc=Mc,Gc=dt;function Wc(e){return Gc(e)?Vc(e,!0):Fc(e)}var bo=Wc,Uc=bc,Kc=bo;function Xc(e){return Uc(e,Kc(e))}var Jc=Xc,mo=to,Yc=Fe,Zc=Ri,Qc=Ei,el=Ui,yo=co,$o=lo,tl=fs,ol=Ce,nl=it,rl=te,al=Ts,il=vo,xo=ho,sl=Jc;function cl(e,t,o,n,r,a,i){var c=xo(e,o),l=xo(t,o),d=i.get(l);if(d){mo(e,o,d);return}var u=a?a(c,l,o+"",e,t,i):void 0,f=u===void 0;if(f){var p=$o(l),b=!p&&ol(l),$=!p&&!b&&il(l);u=l,p||b||$?$o(c)?u=c:tl(c)?u=Qc(c):b?(f=!1,u=Yc(l,!0)):$?(f=!1,u=Zc(l,!0)):u=[]:al(l)||yo(l)?(u=c,yo(c)?u=sl(c):(!rl(c)||nl(c))&&(u=el(l))):f=!1}f&&(i.set(l,u),r(u,l,n,a,i),i.delete(l)),mo(e,o,u)}var ll=cl,dl=_i,_l=to,ul=xi,fl=ll,pl=te,vl=bo,hl=ho;function ko(e,t,o,n,r){e!==t&&ul(t,function(a,i){if(r||(r=new dl),pl(a))fl(e,t,i,o,ko,n,r);else{var c=n?n(hl(e,i),a,i+"",e,t,r):void 0;c===void 0&&(c=a),_l(e,i,c)}},vl)}var gl=ko;function bl(e){return e}var wo=bl;function ml(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 yl=ml,$l=yl,Oo=Math.max;function xl(e,t,o){return t=Oo(t===void 0?e.length-1:t,0),function(){for(var n=arguments,r=-1,a=Oo(n.length-t,0),i=Array(a);++r<a;)i[r]=n[t+r];r=-1;for(var c=Array(t+1);++r<t;)c[r]=n[r];return c[t]=o(i),$l(e,this,c)}}var kl=xl;function wl(e){return function(){return e}}var Ol=wl,Tl=Ol,To=Qt,Nl=wo,Cl=To?function(e,t){return To(e,"toString",{configurable:!0,enumerable:!1,value:Tl(t),writable:!0})}:Nl,Sl=Cl,Al=800,Rl=16,jl=Date.now;function El(e){var t=0,o=0;return function(){var n=jl(),r=Rl-(n-o);if(o=n,r>0){if(++t>=Al)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}var Ll=El,zl=Sl,Bl=Ll,Il=Bl(zl),Pl=Il,ql=wo,Hl=kl,Dl=Pl;function Ml(e,t){return Dl(Hl(e,t,ql),e+"")}var Vl=Ml,Fl=Pe,Gl=dt,Wl=go,Ul=te;function Kl(e,t,o){if(!Ul(o))return!1;var n=typeof t;return(n=="number"?Gl(o)&&Wl(t,o.length):n=="string"&&t in o)?Fl(o[t],e):!1}var Xl=Kl,Jl=Vl,Yl=Xl;function Zl(e){return Jl(function(t,o){var n=-1,r=o.length,a=r>1?o[r-1]:void 0,i=r>2?o[2]:void 0;for(a=e.length>3&&typeof a=="function"?(r--,a):void 0,i&&Yl(o[0],o[1],i)&&(a=r<3?void 0:a,r=1),t=Object(t);++n<r;){var c=o[n];c&&e(t,c,n,a)}return t})}var Ql=Zl,ed=gl,td=Ql;td(function(e,t,o){ed(e,t,o)});const me=(e,t,o)=>Array.isArray(e)?e.map((n,r)=>{const a=[o,r].filter(q).join(".");return me(t(r,n,a),t,a)}):typeof e=="object"&&e?Object.entries(e).reduce((n,[r,a])=>{const i=[o,r].filter(q).join(".");return n[r]=me(t(r,a,i),t,i),n},{}):e,od=e=>{const t=document.getElementsByTagName("head")[0],o=document.createElement("link");Object.entries(e).forEach(([n,r])=>o.setAttribute(n,r)),t.appendChild(o)},_t=()=>{let e={};return{on:(i,c)=>{i in e?e[i].push(c):e[i]=[c]},has:i=>i in e,get:i=>e[i],emit:(i,...c)=>i in e?e[i].map(l=>l(...c)).filter(Boolean):[],reset:()=>e={}}},nd=(e=300,t)=>new Promise(o=>setTimeout(()=>o(t),e)),No=e=>!e&&e==null,q=e=>!No(e),oe=(e,...t)=>t.reduce((o,n)=>(o[n]=e[n],o),{});function Y(e,...t){const o=m({},e);return t.forEach(n=>{delete o[n]}),o}const We=(e,t,o)=>{if(!t)return;const r=(Array.isArray(t)?t:t.match(/([^[.\]])+/g)).reduce((a,i)=>a&&a[i],e);return r===void 0?o:r},Ue=(e,t,o)=>{const n=Array.isArray(t)?t:t.match(/([^[.\]])+/g);return n.reduce((r,a,i)=>(r[a]===void 0&&(r[a]={}),i===n.length-1&&(r[a]=o),r[a]),e)},rd=e=>{const t=e.slice(1);t.length===3&&(e=t.split("").map(n=>`${n}${n}`).join(""));const o=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return o?{r:parseInt(o[1],16),g:parseInt(o[2],16),b:parseInt(o[3],16)}:void 0},ad=(...e)=>e.map(t=>JSON.stringify(t)).every((t,o,n)=>t===n[0]),id=e=>"id"in e&&"root"in e,sd=(e,t=1)=>e.replace(")",`, ${t})`).replace("rgb","rgba"),cd=(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}},ld=(e,t)=>{const o=[];return me(e,(n,r,a)=>(t(n,r,a,o)&&o.push({key:n,value:r,path:a}),r)),o},Co=["desktop","laptop","tablet","mobile"],dd={mobile:320,tablet:768,laptop:1024,desktop:1920},w={root:"_root_24bq9_1",icon:"_icon_24bq9_5",iconTarget:"_iconTarget_24bq9_17",body:"_body_24bq9_22",bodyOpen:"_bodyOpen_24bq9_30",simpleGift_in:"_simpleGift_in_24bq9_1",close:"_close_24bq9_43",arrow:"_arrow_24bq9_57",container:"_container_24bq9_68",inner:"_inner_24bq9_74",logo:"_logo_24bq9_81",text:"_text_24bq9_88",button:"_button_24bq9_103",buttonAnimated:"_buttonAnimated_24bq9_112",increase:"_increase_24bq9_1",legalGap:"_legalGap_24bq9_116",legalOpen:"_legalOpen_24bq9_120",legal:"_legal_24bq9_116",legalText:"_legalText_24bq9_148",legalButton:"_legalButton_24bq9_166",fadein:"_fadein_24bq9_1",pulse:"_pulse_24bq9_1",gradient:"_gradient_24bq9_1",wiggle:"_wiggle_24bq9_1"};var _d=0;function s(e,t,o,n,r,a){var i,c,l={};for(c in t)c=="ref"?i=t[c]:l[c]=t[c];var d={type:e,props:l,key:o,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:--_d,__source:r,__self:a};if(typeof e=="function"&&(i=e.defaultProps))for(c in i)l[c]===void 0&&(l[c]=i[c]);return _.options.vnode&&_.options.vnode(d),d}const So=_.createContext(),ne=({children:e,value:t})=>s(So.Provider,{value:t,children:e}),re=e=>i=>mt(this,null,function*(){var c=i,{target:t,id:o,ref:n,state:r}=c,a=bt(c,["target","id","ref","state"]);if(!("ResizeObserver"in window)){const l=yield Promise.resolve().then(()=>g_);window.ResizeObserver=l.ResizeObserver}return _.render(s(ne,{value:r,children:_.cloneElement(e,m({ref:n,id:o},a))}),t)}),B=()=>on(So),ud=(e={})=>typeof e=="object"&&q(e)&&Co.every(t=>t in e),fd=(e,t)=>e&&me(e,(o,n)=>{if(ud(n)){const r=n[t];return r&&"parent"in r&&q(r.parent)?m(m({},n[r.parent]),Y(r,"parent")):r}return n}),ae=(e,t)=>fd(e,t),ye=({id:e,targetRef:t,parentKey:o="device-container",breakpoints:n=dd})=>{const[r,a]=Oe("desktop"),i=c=>{var f;const l=c.getBoundingClientRect().width||0,d=Object.entries(m({},n)).sort(([p,b],[$,C])=>b-C),u=((f=d.find(([p,b],$)=>{const[C,h]=d[$+1]||[];return l>=b&&l<h}))==null?void 0:f[0])||"desktop";a(u)};return Tt(()=>{const c=t.current.closest(`[data-${o}='${e}']`)||document.body;c&&(new ResizeObserver(()=>i(c)).observe(c),i(c))},[]),r},Ke=(e,t)=>`${e}${t}`,pd=e=>e.startsWith("px_"),vd=e=>e.startsWith("percent_"),hd=(e,t)=>{let o=e,n=t;return pd(o)&&(o=o.replace("px_",""),n=Ke(t,"px")),vd(o)&&(o=o.replace("percent_",""),n=Ke(t,"%")),{key:o,value:n}},gd=["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"],bd=(e,t)=>{const o=Object.keys(e);if((o.includes("innerHTML")||o.includes("innerText"))&&console.warn('Warning! InnerHTML and innerText is deprecated. Use "children" property.',t),typeof e!="object")return e;if("typography"in e&&"accentTypography"in e){const n=e.typography,r=e.accentTypography;e=L(m(m({},e),n),{"--font-family":r.fontFamily,"--accent-color":r.color,"px_--accent-size":r.fontSize})}return Object.entries(e).reduce((n,[r,a])=>{gd.includes(r)&&(a=Ke(a,"px"));const{key:i,value:c}=hd(r,a);if(n[i]=c,i==="hidden"&&c)return n.display="none",n;if(i==="innerHTML"&&(n.innerHTML=q(c)?`${c}`:""),i==="innerText"&&(n.innerText=q(c)?`${c}`:""),i==="children"&&(n.children=typeof c=="string"?q(c)?`${c}`:"":c),(i==="innerHTML"||i==="innerText"||i==="children")&&(typeof c=="string"&&c.length===0||No(c))&&(n.display="none"),i.includes("borderWidth")&&(n.borderStyle="solid"),i==="corner"&&(n.borderRadius=Ke(c,"px")),i==="backgroundFit"&&(n.backgroundSize=c),i==="backgroundImage"&&q(c)&&(n.backgroundImage=`url(${c})`,n.backgroundRepeat="no-repeat"),i==="backgroundColorOpacity"&&q(n.backgroundColorOpacity)&&q(n.backgroundColor)){const l=rd(n.backgroundColor);l&&(n.backgroundColor=sd(`rgb(${l.r}, ${l.g}, ${l.b})`,+n.backgroundColorOpacity/100))}return i==="isBold"&&(n.fontWeight=c?"bold":"initial"),i==="isItalic"&&(n.fontStyle=c?"italic":"initial"),i==="isThrough"&&(n.textDecoration=c?"line-through":"initial"),n},e)},md=e=>typeof e=="object"&&!Array.isArray(e)&&"parent"in e,j=e=>q(e)?Object.entries(e).reduce((t,[o,n])=>(t[o]=md(n)?bd(m({},e[o]),o):n,t),{}):e,Se=o=>{var n=o,{children:e}=n,t=bt(n,["children"]);var a;const r=(a=e==null?void 0:e.replace(/script|\n/g,""))==null?void 0:a.replace(/{{(.*?)}}/g,"<span>$1</span>");return s("div",L(m({},t),{dangerouslySetInnerHTML:{__html:r}}))},Ao=()=>{const[e,t]=Oe(!1);return[e,()=>t(o=>!o)]},Ae=()=>s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 24 24",children:s("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"})}),ut=()=>s("svg",{viewBox:"0 0 16 16",children:s("path",{fill:"currentColor",fillRule:"evenodd",d:"M2.13 8H7v7.31H3.22a1.09 1.09 0 01-1.09-1.09zM9 15.34h3.81a1.09 1.09 0 001.09-1.09V8H9zm5.8-9.94v1.19a.48.48 0 01-.48.48H1.71a.48.48 0 01-.48-.48V5.4c0-.596.484-1.08 1.08-1.08H5a2.48 2.48 0 01-1.47-1.65 1.62 1.62 0 01.26-1.4 1.57 1.57 0 011-.58c.11-.01.22-.01.33 0a2.5 2.5 0 012 1A9 9 0 018 3.22a10.38 10.38 0 01.91-1.54 2.49 2.49 0 011.93-1h.36c.369.065.702.26.94.55.31.407.414.936.28 1.43a2.48 2.48 0 01-1.45 1.64h2.77a1.08 1.08 0 011.03 1.1zM8.66 4a9.81 9.81 0 001.9-.55 1.52 1.52 0 00.88-1 .68.68 0 00-.1-.59.6.6 0 00-.34-.22.58.58 0 00-.18 0 1.52 1.52 0 00-1.17.63A9.06 9.06 0 008.66 4zm-3.32-.58A9.62 9.62 0 007.25 4a8.59 8.59 0 00-1-1.72 1.51 1.51 0 00-1.18-.63h-.13a.66.66 0 00-.39.22.66.66 0 00-.09.57c.13.443.453.804.88.98z"})}),yd=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`}),Ro=(e,t)=>{var u,f,p,b,$,C,h,O,k,S,P,D,X;const o=yd(t),n=j(e),r=(u=n==null?void 0:n.icon)==null?void 0:u.hasIcon,a={left:`${+(((f=e==null?void 0:e.container)==null?void 0:f.left)||0)*-1+8}px`,backgroundColor:(p=n==null?void 0:n.container)==null?void 0:p.backgroundColor,borderTopWidth:(b=n==null?void 0:n.container)==null?void 0:b.borderWidth,borderTopColor:($=n==null?void 0:n.container)==null?void 0:$.borderColor,borderTopStyle:"solid",borderLeftWidth:(C=n==null?void 0:n.container)==null?void 0:C.borderWidth,borderLeftColor:(h=n==null?void 0:n.container)==null?void 0:h.borderColor,borderLeftStyle:"solid"},i={left:(O=n==null?void 0:n.container)==null?void 0:O.left},c=(((k=n==null?void 0:n.icon)==null?void 0:k.animations)||[]).map(Z=>o[Z]).join(", "),l=q((S=n==null?void 0:n.icon)==null?void 0:S.gradientColor)&&((P=n==null?void 0:n.icon)!=null&&P.animations.includes("gradient"))?{background:`linear-gradient(-90deg, ${(D=n.icon)==null?void 0:D.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,d=m(L(m({},(n==null?void 0:n.icon)||{}),{animation:c}),l);return{hasIcon:r,arrowRules:a,bodyRules:i,iconRules:d}},$e=e=>{const t=new Set([]);me(e,(n,r)=>(n==="fontFamily"&&t.add(r),r));const o=Nt(()=>Array.from(t.values()).map(n=>({rel:"stylesheet",href:`https://fonts.googleapis.com/css?family=${n}:300,400,500,700&display=swap`})),[t]);J(()=>{o.forEach(n=>od(n))},[o])},ie=["backgroundColor","backgroundColorOpacity","backgroundImage","backgroundFit"],$d=["borderWidth","borderColor","borderStyle"],jo=["marginTop","marginBottom","marginLeft","marginRight","paddingTop","paddingBottom","paddingLeft","paddingRight"],xd=e=>console.log(`Noop YaMektika reach goal: ${e}`),kd=e=>console.log(`Noop AdFox reach goal: ${e}`),wd=({delay:e,onOpen:t,onAutoOpen:o})=>{const[n,r]=Oe(!1),a=M(null),i=l=>{clearTimeout(a.current),a.current=null},c=()=>{i(a.current),r(l=>!l)};return J(()=>(a.current=setTimeout(()=>{r(!0),o&&o()},e||1e3),()=>i(a.current)),[e]),J(()=>{n&&!a.current&&t&&t()},[n]),{isOpen:n,toggle:c}},Eo=({ref:e,openDelay:t})=>{const o=M(_t()),n=l=>o.current.on("open",l),r=l=>o.current.on("click",l),a=l=>o.current.on("autoOpen",l),{isOpen:i,toggle:c}=wd({delay:t,onOpen:()=>o.current.emit("open"),onAutoOpen:()=>o.current.emit("autoOpen")});return ot(e,()=>({onOpen:n,onClick:r,onAutoOpen:a})),J(()=>o.current.reset,[]),{isOpen:i,toggle:c,click:()=>o.current.emit("click")}},Od=fe(({id:e},t)=>{var O,k,S,P,D,X,Z;const o=M(null),[n,r]=Ao(),a=B(),i=ye({targetRef:o,id:e}),c=ae(a,i),l=j(c),{hasIcon:d,iconRules:u,bodyRules:f,arrowRules:p}=Ro(c,{fade:w.fadein,pulse:w.pulse,wiggle:w.wiggle,gradient:w.gradient}),{isOpen:b,toggle:$,click:C}=Eo({ref:t,openDelay:(O=c==null?void 0:c.container)==null?void 0:O.delay});$e(c);const h=n?oe(l.container,...$d):{};return s("div",{className:A(w.root,{[w.legalOpen]:n}),ref:o,children:[s("div",{className:w.icon,style:u,onClick:$,children:d&&s("div",{className:w.iconTarget,children:s(ut,{})})}),s("div",{className:A(w.body,{[w.bodyOpen]:b}),style:f,children:[s("div",{className:w.arrow,style:p}),s("div",{className:w.close,style:l==null?void 0:l.close,onClick:$,children:s(Ae,{})}),s("div",{className:w.container,style:l==null?void 0:l.container,children:[s("a",{href:(k=l==null?void 0:l.root)==null?void 0:k.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>C(l.id),children:[s("div",{className:w.inner,children:[s("div",{className:w.logo,style:l==null?void 0:l.logo}),s(Se,{className:w.text,style:l==null?void 0:l.text,children:(S=l==null?void 0:l.text)==null?void 0:S.children})]}),s("div",{className:A(w.button,{[w.buttonAnimated]:l==null?void 0:l.button.isAnimated}),style:l==null?void 0:l.button,children:(P=l==null?void 0:l.button)==null?void 0:P.children})]}),s("div",{className:w.legalGap}),s("div",{className:w.legal,style:m(m({},l==null?void 0:l.legal),h),children:s("span",{className:w.legalText,children:s("span",{children:[s("span",{children:(D=l==null?void 0:l.legal)==null?void 0:D.children}),s("span",{className:w.legalButton,onClick:r,children:n?(X=l==null?void 0:l.legal)==null?void 0:X.buttonOpenText:(Z=l==null?void 0:l.legal)==null?void 0:Z.buttonHideText})]})})})]})]})]})}),Td=re(s(Od,{})),T={root:"_root_1hrqs_1",icon:"_icon_1hrqs_5",iconTarget:"_iconTarget_1hrqs_17",body:"_body_1hrqs_22",desktop:"_desktop_1hrqs_29",tablet:"_tablet_1hrqs_29",laptop:"_laptop_1hrqs_29",bodyOpen:"_bodyOpen_1hrqs_33",complexGift_in:"_complexGift_in_1hrqs_1",arrow:"_arrow_1hrqs_46",container:"_container_1hrqs_56",promotion:"_promotion_1hrqs_61",close:"_close_1hrqs_69",head:"_head_1hrqs_83",headIcon:"_headIcon_1hrqs_90",headTitle:"_headTitle_1hrqs_96",inner:"_inner_1hrqs_103",fadein:"_fadein_1hrqs_1",pulse:"_pulse_1hrqs_1",gradient:"_gradient_1hrqs_1",wiggle:"_wiggle_1hrqs_1"},F={root:"_root_tv8qf_1",body:"_body_tv8qf_30",bodyInner:"_bodyInner_tv8qf_38",line:"_line_tv8qf_43",text:"_text_tv8qf_53",button:"_button_tv8qf_69",logo:"_logo_tv8qf_81",variant2:"_variant2_tv8qf_87",buttonText:"_buttonText_tv8qf_91",legal:"_legal_tv8qf_108"},Nd=({onClick:e})=>{var n,r,a,i,c;const t=B(),o=j(t);return s("a",{href:(n=o.root)==null?void 0:n.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(F.root,{[F.variant2]:((r=o.root)==null?void 0:r.variant)==="variant2"}),style:o.root,onClick:()=>e(o.id),children:[s("div",{className:F.body,children:[s("div",{className:F.line,style:o.line}),s("div",{className:F.bodyInner,children:[s("div",{className:F.logo,style:o.logo}),s("div",{className:F.text,style:o.text,children:s(Se,{children:(a=o.text)==null?void 0:a.children})})]}),s("div",{className:F.button,style:o.button,children:[s("div",{className:F.logo,style:o.logo}),s("div",{className:F.buttonText,children:(i=o.button)==null?void 0:i.children})]})]}),s("div",{className:F.legal,style:o.legal,children:(c=o.legal)==null?void 0:c.children})]})},Cd=fe(({id:e},t)=>{var C,h,O,k;const o=M(null),n=B(),r=ye({targetRef:o,id:e}),a=ae(n,r),i=j(a),{isOpen:c,click:l,toggle:d}=Eo({ref:t,openDelay:(C=a==null?void 0:a.container)==null?void 0:C.delay});$e(a);const{hasIcon:u,iconRules:f,bodyRules:p,arrowRules:b}=Ro(a,{fade:T.fadein,pulse:T.pulse,wiggle:T.wiggle,gradient:T.gradient}),$=(h=i==null?void 0:i.title)==null?void 0:h.hasIcon;return s("div",{ref:o,className:A(T.root,{[T.desktop]:r==="desktop",[T.laptop]:r==="laptop",[T.tablet]:r==="tablet"}),children:[s("div",{className:T.icon,style:f,onClick:d,children:u&&s("div",{className:T.iconTarget,children:s(ut,{})})}),s("div",{className:A(T.body,{[T.bodyOpen]:c}),style:p,children:[s("div",{className:T.arrow,style:b}),s("div",{className:T.container,style:i.container,children:[s("div",{className:T.close,style:i.close,onClick:d,children:s(Ae,{})}),s("div",{className:T.promotion,style:i.promotion,children:(O=i.promotion)==null?void 0:O.children}),s("div",{className:T.head,children:[$&&s("div",{className:T.headIcon,style:oe(i.title,"color"),children:s(ut,{})}),s("div",{className:T.headTitle,style:i.title,children:(k=i.title)==null?void 0:k.children})]}),s("div",{className:T.inner,children:(i.children||[]).map(S=>s(ne,{value:S,children:s(Nd,{onClick:l})}))})]})]})]})}),Sd=re(s(Cd,{})),H={root:"_root_1qzwb_1",content:"_content_1qzwb_11",laptop:"_laptop_1qzwb_20",desktop:"_desktop_1qzwb_24",wrapper:"_wrapper_1qzwb_28",overlay:"_overlay_1qzwb_32",close:"_close_1qzwb_38",body:"_body_1qzwb_46",logo:"_logo_1qzwb_54",text:"_text_1qzwb_60",button:"_button_1qzwb_64",legal:"_legal_1qzwb_79"},se=e=>e&&{left:"flex-start",center:"center",right:"flex-end"}[e],Ad={root:"_root_2ic16_1"},Rd=()=>{var o;const e=B(),t=j(e);return s("div",{className:Ad.root,style:t.root,children:s(Se,{children:(o=t==null?void 0:t.root)==null?void 0:o.children})})},ft=(e,t=0)=>{const o=M(_t()),[n,r]=Oe(!1),a=f=>o.current.on("visible",f),i=f=>o.current.on("click",f),c=f=>o.current.on("clickHide",f),l=()=>mt(this,null,function*(){yield nd(+t),r(!0)}),d=()=>r(!1),u=()=>{o.current.emit("clickHide"),d()};return J(()=>{o.current.emit("visible",n)},[n]),ot(e,()=>({onVisible:a,onClick:i,onClickHide:c,show:l,hide:d})),J(()=>o.current.reset,[]),{isOpen:n,show:l,hide:d,clickHide:u,click:(...f)=>{d(),o.current.emit("click",...f)}}},jd=fe(({id:e,className:t},o)=>{var C,h,O,k,S,P;const n=M(null),r=ye({targetRef:n,id:e}),a=B(),i=ae(a,r);$e(i),Ue(i,"button.percent_width",(C=i==null?void 0:i.button)==null?void 0:C.width),Ue(i,"legal.percent_width",(h=i==null?void 0:i.legal)==null?void 0:h.width);const c=j(i),l=We(c,"root.delay",0),{isOpen:d,clickHide:u,click:f}=ft(o,l),p={alignItems:se((O=c.root)==null?void 0:O.align)},b=L(m({},c==null?void 0:c.button),{justifyContent:se((k=c.root)==null?void 0:k.textAlign)}),$=L(m({},c==null?void 0:c.legal),{justifyContent:se((S=c.root)==null?void 0:S.textAlign)});return s("div",{className:A(H.root,t),ref:n,style:{display:d?"flex":"none"},children:[s("div",{className:H.overlay,style:c.overlay,onClick:u}),s("div",{className:H.wrapper,children:[s("div",{className:H.close,style:Y(c.close,"backgroundColor"),onClick:u,children:s(Ae,{})}),s("a",{href:(P=c.root)==null?void 0:P.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(H.content,{[H.desktop]:r==="desktop",[H.tablet]:r==="tablet",[H.laptop]:r==="laptop"}),style:c.root,onClick:()=>f(c.id),children:s("div",{className:H.body,style:p,children:[s("div",{className:H.logo,style:c.logo}),s("div",{className:H.text,children:((c==null?void 0:c.children)||[]).map(D=>s(ne,{value:D,children:s(Rd,{})}))}),s("div",{className:H.button,style:b,children:b==null?void 0:b.children}),s("div",{className:H.legal,style:$,children:$==null?void 0:$.children})]})})]})]})}),Ed=re(s(jd,{})),ee={root:"_root_y4quu_1",content:"_content_y4quu_11",desktop:"_desktop_y4quu_23",laptop:"_laptop_y4quu_23",overlay:"_overlay_y4quu_28",close:"_close_y4quu_34",title:"_title_y4quu_42",wrapper:"_wrapper_y4quu_57"},G={root:"_root_1oxkc_1",desktop:"_desktop_1oxkc_9",laptop:"_laptop_1oxkc_9",header:"_header_1oxkc_14",logo:"_logo_1oxkc_25",container:"_container_1oxkc_32",body:"_body_1oxkc_43",text:"_text_1oxkc_60",button:"_button_1oxkc_83",legal:"_legal_1oxkc_101"},Ld=({onClick:e})=>{var r,a,i,c;const t=B(),o=j(t),n=(t==null?void 0:t.device)||"desktop";return s("a",{href:(r=o.root)==null?void 0:r.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(G.root,{[G.desktop]:n==="desktop",[G.laptop]:n==="laptop"}),style:Y(o.root,...jo),onClick:()=>e(o.id),children:[s("div",{className:G.header,style:o.header,children:s("div",{className:G.logo,style:o.logo})}),s("div",{className:G.container,style:oe(o.root,...jo),children:[s("div",{className:G.body,children:[s("div",{className:G.logo,style:o.logo}),s(Se,{className:G.text,style:o.text,children:(a=o.text)==null?void 0:a.children})]}),s("div",{children:[s("div",{className:G.button,style:o.button,children:(i=o.button)==null?void 0:i.children}),s("div",{className:G.legal,style:o.legal,children:(c=o.legal)==null?void 0:c.children})]})]})]})},zd=fe(({id:e},t)=>{var f;const o=M(null),n=ye({targetRef:o,id:e}),r=B(),a=ae(r,n),i=j(a);$e(a);const c=We(i,"root.delay",0),{isOpen:l,clickHide:d,click:u}=ft(t,c);return s("div",{className:ee.root,style:{display:l?"flex":"none"},children:[s("div",{className:ee.overlay,style:i.overlay,onClick:d}),s("div",{ref:o,className:A(ee.content,{[ee.desktop]:n==="desktop",[ee.laptop]:n==="laptop"}),style:i.root,children:[s("div",{className:ee.close,style:Y(i.close,"backgroundColor"),onClick:d,children:s(Ae,{})}),s("div",{className:ee.title,style:i.title,children:(f=i.title)==null?void 0:f.children}),s("div",{className:ee.wrapper,children:(i.children||[]).map(p=>s(ne,{value:L(m({},p),{device:n}),children:s(Ld,{onClick:u})}))})]})]})}),Bd=re(s(zd,{})),E={root:"_root_4lmgn_1",content:"_content_4lmgn_11",close:"_close_4lmgn_19",overlay:"_overlay_4lmgn_27",body:"_body_4lmgn_33",desktop:"_desktop_4lmgn_41",laptop:"_laptop_4lmgn_41",tablet:"_tablet_4lmgn_45",head:"_head_4lmgn_50",title:"_title_4lmgn_60",logo:"_logo_4lmgn_73",wrapper:"_wrapper_4lmgn_80",text:"_text_4lmgn_87",button:"_button_4lmgn_102",buttonHead:"_buttonHead_4lmgn_117",buttonTarget:"_buttonTarget_4lmgn_134",legal:"_legal_4lmgn_148"},N={root:"_root_1qxck_1",left:"_left_1qxck_8",desktop:"_desktop_1qxck_15",laptop:"_laptop_1qxck_15",teams:"_teams_1qxck_19",logo:"_logo_1qxck_25",league:"_league_1qxck_32",name:"_name_1qxck_37",right:"_right_1qxck_43",odd:"_odd_1qxck_54",oddLabel:"_oddLabel_1qxck_67",oddValue:"_oddValue_1qxck_76",team:"_team_1qxck_19",teamLogo:"_teamLogo_1qxck_102",teamName:"_teamName_1qxck_109"},Id=()=>{var n,r,a,i,c,l,d;const e=B(),t=j(e),o=(e==null?void 0:e.device)||"desktop";return s("div",{className:A(N.root,{[N.desktop]:o==="desktop",[N.laptop]:o==="laptop"}),children:[s("div",{className:N.left,children:[s("div",{className:N.teams,children:[s("div",{className:N.logo,style:t.teamALogo}),s("div",{className:N.logo,style:t.teamBLogo})]}),s("div",{className:N.body,children:[s("div",{className:N.league,style:t.league,children:(n=t.league)==null?void 0:n.children}),s("div",{className:N.name,style:t.teams,children:[(r=t.teams)==null?void 0:r.teamA," — ",(a=t.teams)==null?void 0:a.teamB]})]})]}),s("div",{className:N.right,children:[s("div",{className:N.team,children:[s("div",{className:N.teamLogo,style:t.teamALogo}),s("div",{className:N.teamName,style:t.teams,children:(i=t.teams)==null?void 0:i.teamA})]}),s("div",{className:N.odd,children:[s("div",{className:N.oddLabel,style:t.oddLabel,children:(c=t.oddLabel)==null?void 0:c.children}),s("div",{className:N.oddValue,style:t.oddValue,children:(l=t.oddValue)==null?void 0:l.children})]}),s("div",{className:N.team,children:[s("div",{className:N.teamLogo,style:t.teamBLogo}),s("div",{className:N.teamName,style:t.teams,children:(d=t.teams)==null?void 0:d.teamB})]})]})]})},Pd=fe(({id:e},t)=>{var h,O,k,S,P,D,X,Z,de,_e,Qe,et,Ee;const o=M(null),n=ye({targetRef:o,id:e}),r=B(),a=ae(r,n);Ue(a,"buttonWrapper.percent_width",(h=a==null?void 0:a.buttonWrapper)==null?void 0:h.width),Ue(a,"legal.percent_width",(O=a==null?void 0:a.legal)==null?void 0:O.width);const i=j(a);$e(a);const c=We(i,"root.delay",0),{isOpen:l,clickHide:d,click:u}=ft(t,c),f=L(m({},i.root),{alignItems:se((k=i.root)==null?void 0:k.align)}),p=L(m({},i.content),{alignItems:se((S=i.root)==null?void 0:S.align)}),b=L(m({},i.text),{textAlign:(P=i.root)==null?void 0:P.align}),$=L(m({},i==null?void 0:i.button),{justifyContent:se((D=i.root)==null?void 0:D.textAlign)}),C=L(m({},i==null?void 0:i.legal),{justifyContent:se((X=i.root)==null?void 0:X.textAlign)});return s("div",{className:A(E.root,{[E.desktop]:n==="desktop",[E.laptop]:n==="laptop",[E.tablet]:n==="tablet"}),ref:o,style:{display:l?"flex":"none"},children:[s("div",{className:E.overlay,style:i.overlay,onClick:d}),s("div",{className:E.content,children:[s("div",{className:E.close,style:Y(i.close,"backgroundColor"),onClick:d,children:s(Ae,{})}),s("a",{ref:o,href:(Z=i.root)==null?void 0:Z.offer,target:"_blank",rel:"nofollow noopener noreferrer",onClick:()=>u(i.id),children:s("div",{className:E.body,style:f,children:[s("div",{className:E.head,children:[s("div",{className:E.title,style:i.title,children:(de=i.title)==null?void 0:de.children}),s("div",{className:E.logo,style:i.logo})]}),s("div",{className:E.wrapper,style:p,children:(i.children||[]).map(b_=>s(ne,{value:L(m({},b_),{device:n}),children:s(Id,{})}))}),s(Se,{className:E.text,style:b,children:(_e=i.text)==null?void 0:_e.children}),s("div",{className:E.button,style:i.buttonWrapper,children:[s("div",{className:E.buttonHead,style:i.buttonHead,children:(Qe=i.buttonHead)==null?void 0:Qe.children}),s("div",{className:E.buttonTarget,style:$,children:(et=i.button)==null?void 0:et.children})]}),s("div",{className:E.legal,style:C,children:(Ee=i.legal)==null?void 0:Ee.children})]})})]})]})}),qd=re(s(Pd,{})),W={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"},Hd=({onClick:e})=>{var a,i,c,l,d,u,f,p;const t=B(),o=j(t),[n,r]=Ao();return s("div",{className:W.root,style:Y(o.root,...ie),children:[s("div",{className:W.background,style:oe(o.root,...ie)}),s("a",{href:(a=o.root)==null?void 0:a.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:W.body,onClick:()=>e(o.id),children:[s("div",{children:[s("div",{className:W.rowFirst,style:o.rowFirst,children:(i=o.rowFirst)==null?void 0:i.children}),s("div",{className:W.rowSecond,style:o.rowSecond,children:(c=o.rowSecond)==null?void 0:c.children}),s("div",{className:W.bookmaker,style:o.bookmaker,children:(l=o.bookmaker)==null?void 0:l.children})]}),s("div",{className:W.button,style:o.button,children:(d=o.button)==null?void 0:d.children})]}),s("div",{className:A(W.legal,{[W.legalOpen]:n}),style:o.legalInfo,children:s("span",{className:W.legalText,children:[s("span",{children:(u=o.legalInfo)==null?void 0:u.children}),s("span",{className:W.legalButton,style:o.legalInfoButton,onClick:r,children:n?(f=o.legalInfoButton)==null?void 0:f.openText:(p=o.legalInfoButton)==null?void 0:p.closeText})]})})]})},Dd=e=>{const t=M(_t()),o=n=>t.current.on("click",n);return ot(e,()=>({onClick:o})),J(()=>t.current.reset,[]),{click:(...n)=>t.current.emit("click",...n),onClick:o}},Md=fe((e,t)=>{const o=M(null),n=B(),a=ae(n,"mobile"),i=j(a);$e(a);const{click:c}=Dd(t);return s("div",{ref:o,children:((i==null?void 0:i.children)||[]).map(l=>s(ne,{value:l,children:s(Hd,{onClick:c})}))})}),Vd=re(s(Md,{})),R={root:"_root_a3kem_1",desktop:"_desktop_a3kem_13",laptop:"_laptop_a3kem_14",promotion:"_promotion_a3kem_18",background:"_background_a3kem_34",content:"_content_a3kem_43",variant2:"_variant2_a3kem_56",logo:"_logo_a3kem_60",left:"_left_a3kem_72",center:"_center_a3kem_86",slide:"_slide_a3kem_92",slide_animated_default:"_slide_animated_default_a3kem_106","fade-in-out":"_fade-in-out_a3kem_1","slide_animated_bottom-top":"_slide_animated_bottom-top_a3kem_109","fade-in-bottom-out-top":"_fade-in-bottom-out-top_a3kem_1","slide_animated_top-bottom":"_slide_animated_top-bottom_a3kem_112",right:"_right_a3kem_116",buttonWrapper:"_buttonWrapper_a3kem_131",button:"_button_a3kem_131",button_animated:"_button_animated_a3kem_162",increase:"_increase_a3kem_1","fade-in-top-out-bottom":"_fade-in-top-out-bottom_a3kem_1"},Lo={root:"_root_1cgtj_1",desktop:"_desktop_1cgtj_19"},Fd=()=>{var o;const e=B(),t=j(e);return s("div",{className:A(Lo.root,{[Lo.desktop]:(e==null?void 0:e.device)==="desktop"}),style:Y(t.root,...ie),children:(o=t.root)==null?void 0:o.children})},U={root:"_root_vjs41_1",odd:"_odd_vjs41_7",oddReverse:"_oddReverse_vjs41_14",oddLabel:"_oddLabel_vjs41_18",oddLogo:"_oddLogo_vjs41_30",coef:"_coef_vjs41_36",coefHead:"_coefHead_vjs41_42",coefValue:"_coefValue_vjs41_47"},Gd=()=>{var n,r,a;const e=B(),t=j(e),o=Y(t.root,...ie);return s("div",{className:U.root,children:[s("div",{className:U.odd,children:[s("div",{className:U.oddLogo,style:o}),s("div",{className:U.oddLabel,style:o,children:(n=t.root)==null?void 0:n.valueOne})]}),s("div",{className:U.coef,children:[s("div",{className:U.coefHead,style:t.coef,children:"X"}),s("div",{className:U.coefValue,style:o,children:(r=t.root)==null?void 0:r.valueX})]}),s("div",{className:A(U.odd,U.oddReverse),children:[s("div",{className:U.oddLogo,style:o}),s("div",{className:U.oddLabel,style:o,children:(a=t.root)==null?void 0:a.valueTwo})]})]})},I={root:"_root_1va5h_1",title:"_title_1va5h_8",titleLabel:"_titleLabel_1va5h_12",tablet:"_tablet_1va5h_16",desktop:"_desktop_1va5h_19",laptop:"_laptop_1va5h_19",titleValue:"_titleValue_1va5h_23",team:"_team_1va5h_34",teamLogo:"_teamLogo_1va5h_44",teamName:"_teamName_1va5h_72",teamValue:"_teamValue_1va5h_84"},Wd=()=>{const e=B(),t=j(e);return s("div",{className:A(I.root,{[I.desktop]:(e==null?void 0:e.device)==="desktop",[I.laptop]:(e==null?void 0:e.device)==="laptop",[I.tablet]:(e==null?void 0:e.device)==="tablet"}),style:Y(t.root,...ie),children:[s("div",{className:I.title,children:[s("div",{className:I.titleLabel,style:t.titleLabel,children:t.titleLabel.children}),s("div",{className:I.titleValue,style:t.titleValue,children:t.titleValue.children})]}),s("div",{children:[s("div",{className:I.team,children:[s("div",{className:I.teamLogo,style:t.logo}),s("div",{className:I.teamName,style:t.teamName,children:t.team1Name.children}),s("div",{className:I.teamValue,style:t.value,children:t.value1.children})]}),s("div",{className:I.team,children:[s("div",{className:I.teamLogo,style:t.logo}),s("div",{className:I.teamName,style:t.teamName,children:t.team2Name.children}),s("div",{className:I.teamValue,style:t.value,children:t.value2.children})]})]})]})},Ud=(e=[])=>{var a;const t=e.length,[o,n]=Oe(0),r=(a=e[o||0])==null?void 0:a.animationDuration;return J(()=>{const c=setTimeout(()=>{n(l=>l+1<t?l+1:0)},r);return()=>clearTimeout(c)},[n,t,r,o]),o},Kd=(e,t="root")=>{const o=M(),n=(e==null?void 0:e.yaReachGoal)||xd,r=(e==null?void 0:e.adfoxReachGoal)||kd,a=q(e)?oe(e[t],"yaShow","yaClick","adfoxShow","adfoxClick"):{};return J(()=>{ad(o.current,a)||(a.yaShow&&n(a.yaShow),a.adfoxShow&&r(a.adfoxShow)),o.current=a},[a]),()=>{a.yaClick&&n(a.yaClick),a.adfoxClick&&r(a.adfoxClick)}},Xd=3700,Jd=re(s(()=>{var f,p,b,$,C;const e=M(null),t=B(),o=ye({targetRef:e}),n=ae(t,o),r=j(n),a=Kd(n),i=h=>({text:s(Fd,{}),matches:s(Gd,{}),matchesOneTwo:s(Wd,{})})[h],c=(r.children||[]).filter(Boolean).map(h=>{var O,k;return L(m({},h),{animationName:(O=h==null?void 0:h.root)==null?void 0:O.animationName,animationDuration:((k=h==null?void 0:h.root)==null?void 0:k.animationDuration)||Xd})}),l=Ud(c),d=j(c[l]||{}),u=(f=d==null?void 0:d.root)!=null&&f.hasCustomBackground?oe((d==null?void 0:d.root)||{},...ie):oe(r.background,...ie);return s("a",{ref:e,href:(p=r.root)==null?void 0:p.offer,target:"_blank",rel:"nofollow noopener noreferrer",className:A(R.root,{[R.desktop]:o==="desktop",[R.laptop]:o==="laptop",[R.tablet]:o==="tablet",[R.variant2]:((b=r.root)==null?void 0:b.variant)==="variant2"}),style:r.root,onClick:a,children:[s("div",{className:R.background,style:u}),s("div",{className:R.promotion,style:r.promotion,children:($=r.promotion)==null?void 0:$.children}),s("div",{className:R.content,children:[s("div",{className:R.left,children:s("div",{className:R.logo,style:r.logo})}),s("div",{className:R.center,children:(r.children||[]).map((h,O)=>{var k,S;return s("div",{className:R.slide,style:{animationName:l===O?R[((k=h.root)==null?void 0:k.animationName)||"fade-in-out"]:"none",animationDuration:`${(S=h.root)==null?void 0:S.animationDuration}ms`},children:s(ne,{value:L(m({},h),{device:o}),children:i(h.name)})})})}),s("div",{className:R.right,children:[s("div",{className:R.logo,style:r.logo}),s("div",{className:R.buttonWrapper,children:s("div",{className:R.button,style:r.button,children:[s("div",{className:R.logo,style:r.logo}),(C=r.button)==null?void 0:C.children]})})]})]})]})},{})),Yd=(e,t,o,n,r=Co)=>{const a=m({},e);return r.forEach(i=>{a[t]=L(m({},a[t]),{[i]:L(m({},a[t][i]),{[o]:typeof n=="function"?n(We(a,`${t}.${i}.${o}`)):n})})}),a};var ce=[],Zd=function(){return ce.some(function(e){return e.activeTargets.length>0})},Qd=function(){return ce.some(function(e){return e.skippedTargets.length>0})},zo="ResizeObserver loop completed with undelivered notifications.",e_=function(){var e;typeof ErrorEvent=="function"?e=new ErrorEvent("error",{message:zo}):(e=document.createEvent("Event"),e.initEvent("error",!1,!1),e.message=zo),window.dispatchEvent(e)},Re;(function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(Re||(Re={}));var le=function(e){return Object.freeze(e)},Bo=function(){function e(t,o){this.inlineSize=t,this.blockSize=o,le(this)}return e}(),Io=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,le(this)}return e.prototype.toJSON=function(){var t=this,o=t.x,n=t.y,r=t.top,a=t.right,i=t.bottom,c=t.left,l=t.width,d=t.height;return{x:o,y:n,top:r,right:a,bottom:i,left:c,width:l,height:d}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),pt=function(e){return e instanceof SVGElement&&"getBBox"in e},Po=function(e){if(pt(e)){var t=e.getBBox(),o=t.width,n=t.height;return!o&&!n}var r=e,a=r.offsetWidth,i=r.offsetHeight;return!(a||i||e.getClientRects().length)},qo=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)},t_=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},je=typeof window!="undefined"?window:{},Xe=new WeakMap,Ho=/auto|scroll/,o_=/^tb|vertical/,n_=/msie|trident/i.test(je.navigator&&je.navigator.userAgent),K=function(e){return parseFloat(e||"0")},xe=function(e,t,o){return e===void 0&&(e=0),t===void 0&&(t=0),o===void 0&&(o=!1),new Bo((o?t:e)||0,(o?e:t)||0)},Do=le({devicePixelContentBoxSize:xe(),borderBoxSize:xe(),contentBoxSize:xe(),contentRect:new Io(0,0,0,0)}),Mo=function(e,t){if(t===void 0&&(t=!1),Xe.has(e)&&!t)return Xe.get(e);if(Po(e))return Xe.set(e,Do),Do;var o=getComputedStyle(e),n=pt(e)&&e.ownerSVGElement&&e.getBBox(),r=!n_&&o.boxSizing==="border-box",a=o_.test(o.writingMode||""),i=!n&&Ho.test(o.overflowY||""),c=!n&&Ho.test(o.overflowX||""),l=n?0:K(o.paddingTop),d=n?0:K(o.paddingRight),u=n?0:K(o.paddingBottom),f=n?0:K(o.paddingLeft),p=n?0:K(o.borderTopWidth),b=n?0:K(o.borderRightWidth),$=n?0:K(o.borderBottomWidth),C=n?0:K(o.borderLeftWidth),h=f+d,O=l+u,k=C+b,S=p+$,P=c?e.offsetHeight-S-e.clientHeight:0,D=i?e.offsetWidth-k-e.clientWidth:0,X=r?h+k:0,Z=r?O+S:0,de=n?n.width:K(o.width)-X-D,_e=n?n.height:K(o.height)-Z-P,Qe=de+h+D+k,et=_e+O+P+S,Ee=le({devicePixelContentBoxSize:xe(Math.round(de*devicePixelRatio),Math.round(_e*devicePixelRatio),a),borderBoxSize:xe(Qe,et,a),contentBoxSize:xe(de,_e,a),contentRect:new Io(f,l,de,_e)});return Xe.set(e,Ee),Ee},Vo=function(e,t,o){var n=Mo(e,o),r=n.borderBoxSize,a=n.contentBoxSize,i=n.devicePixelContentBoxSize;switch(t){case Re.DEVICE_PIXEL_CONTENT_BOX:return i;case Re.BORDER_BOX:return r;default:return a}},Fo=function(){function e(t){var o=Mo(t);this.target=t,this.contentRect=o.contentRect,this.borderBoxSize=le([o.borderBoxSize]),this.contentBoxSize=le([o.contentBoxSize]),this.devicePixelContentBoxSize=le([o.devicePixelContentBoxSize])}return e}(),Go=function(e){if(Po(e))return 1/0;for(var t=0,o=e.parentNode;o;)t+=1,o=o.parentNode;return t},r_=function(){var e=1/0,t=[];ce.forEach(function(i){if(i.activeTargets.length!==0){var c=[];i.activeTargets.forEach(function(d){var u=new Fo(d.target),f=Go(d.target);c.push(u),d.lastReportedSize=Vo(d.target,d.observedBox),f<e&&(e=f)}),t.push(function(){i.callback.call(i.observer,c,i.observer)}),i.activeTargets.splice(0,i.activeTargets.length)}});for(var o=0,n=t;o<n.length;o++){var r=n[o];r()}return e},Wo=function(e){ce.forEach(function(o){o.activeTargets.splice(0,o.activeTargets.length),o.skippedTargets.splice(0,o.skippedTargets.length),o.observationTargets.forEach(function(r){r.isActive()&&(Go(r.target)>e?o.activeTargets.push(r):o.skippedTargets.push(r))})})},a_=function(){var e=0;for(Wo(e);Zd();)e=r_(),Wo(e);return Qd()&&e_(),e>0},vt,Uo=[],i_=function(){return Uo.splice(0).forEach(function(e){return e()})},s_=function(e){if(!vt){var t=0,o=document.createTextNode(""),n={characterData:!0};new MutationObserver(function(){return i_()}).observe(o,n),vt=function(){o.textContent="".concat(t?t--:t++)}}Uo.push(e),vt()},c_=function(e){s_(function(){requestAnimationFrame(e)})},Je=0,l_=function(){return!!Je},d_=250,__={attributes:!0,characterData:!0,childList:!0,subtree:!0},Ko=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Xo=function(e){return e===void 0&&(e=0),Date.now()+e},ht=!1,u_=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=d_),!ht){ht=!0;var n=Xo(t);c_(function(){var r=!1;try{r=a_()}finally{if(ht=!1,t=n-Xo(),!l_())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,__)};document.body?o():je.addEventListener("DOMContentLoaded",o)},e.prototype.start=function(){var t=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),Ko.forEach(function(o){return je.addEventListener(o,t.listener,!0)}))},e.prototype.stop=function(){var t=this;this.stopped||(this.observer&&this.observer.disconnect(),Ko.forEach(function(o){return je.removeEventListener(o,t.listener,!0)}),this.stopped=!0)},e}(),gt=new u_,Jo=function(e){!Je&&e>0&>.start(),Je+=e,!Je&>.stop()},f_=function(e){return!pt(e)&&!t_(e)&&getComputedStyle(e).display==="inline"},p_=function(){function e(t,o){this.target=t,this.observedBox=o||Re.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var t=Vo(this.target,this.observedBox,!0);return f_(this.target)&&(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),v_=function(){function e(t,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=t,this.callback=o}return e}(),Ye=new WeakMap,Yo=function(e,t){for(var o=0;o<e.length;o+=1)if(e[o].target===t)return o;return-1},Ze=function(){function e(){}return e.connect=function(t,o){var n=new v_(t,o);Ye.set(t,n)},e.observe=function(t,o,n){var r=Ye.get(t),a=r.observationTargets.length===0;Yo(r.observationTargets,o)<0&&(a&&ce.push(r),r.observationTargets.push(new p_(o,n&&n.box)),Jo(1),gt.schedule())},e.unobserve=function(t,o){var n=Ye.get(t),r=Yo(n.observationTargets,o),a=n.observationTargets.length===1;r>=0&&(a&&ce.splice(ce.indexOf(n),1),n.observationTargets.splice(r,1),Jo(-1))},e.disconnect=function(t){var o=this,n=Ye.get(t);n.observationTargets.slice().forEach(function(r){return o.unobserve(t,r.target)}),n.activeTargets.splice(0,n.activeTargets.length)},e}(),h_=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.");Ze.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(!qo(t))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Ze.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(!qo(t))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Ze.unobserve(this,t)},e.prototype.disconnect=function(){Ze.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}();const g_=Object.freeze(Object.defineProperty({__proto__:null,ResizeObserver:h_,ResizeObserverEntry:Fo,ResizeObserverSize:Bo},Symbol.toStringTag,{value:"Module"}));v.BonusCard=Vd,v.ComplexGift=Sd,v.ComplexPopup=Bd,v.ExpressPopup=qd,v.SimpleGift=Td,v.SimplePopup=Ed,v.WideCard=Jd,v.filterDeep=ld,v.findDeep=cd,v.isValidTemplate=id,v.modifyState=Yd,Object.defineProperty(v,Symbol.toStringTag,{value:"Module"})});
|