@adstore/templates 2.14.4 → 2.14.6
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/style.css +1 -1
- package/dist/templates.js.js +357 -353
- package/package.json +1 -1
package/dist/templates.js.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
|
-
var
|
1
|
+
var Pn = Object.defineProperty, Vn = Object.defineProperties;
|
2
2
|
var Gn = Object.getOwnPropertyDescriptors;
|
3
3
|
var ce = Object.getOwnPropertySymbols;
|
4
4
|
var ao = Object.prototype.hasOwnProperty, so = Object.prototype.propertyIsEnumerable;
|
5
|
-
var ro = (t, o, e) => o in t ?
|
5
|
+
var ro = (t, o, e) => o in t ? Pn(t, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[o] = e, k = (t, o) => {
|
6
6
|
for (var e in o || (o = {}))
|
7
7
|
ao.call(o, e) && ro(t, e, o[e]);
|
8
8
|
if (ce)
|
9
9
|
for (var e of ce(o))
|
10
10
|
so.call(o, e) && ro(t, e, o[e]);
|
11
11
|
return t;
|
12
|
-
},
|
12
|
+
}, L = (t, o) => Vn(t, Gn(o));
|
13
13
|
var Se = (t, o) => {
|
14
14
|
var e = {};
|
15
15
|
for (var n in t)
|
@@ -80,10 +80,10 @@ var dt = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
80
80
|
})();
|
81
81
|
})(zn);
|
82
82
|
const R = Re;
|
83
|
-
var Ut,
|
83
|
+
var Ut, G, xe, lo, Ft = 0, ln = [], fe = [], co = I.__b, _o = I.__r, uo = I.diffed, po = I.__c, fo = I.unmount;
|
84
84
|
function re(t, o) {
|
85
|
-
I.__h && I.__h(
|
86
|
-
var e =
|
85
|
+
I.__h && I.__h(G, t, Ft || o), Ft = 0;
|
86
|
+
var e = G.__H || (G.__H = { __: [], __h: [] });
|
87
87
|
return t >= e.__.length && e.__.push({ __V: fe }), e.__[t];
|
88
88
|
}
|
89
89
|
function yt(t) {
|
@@ -94,7 +94,7 @@ function Kn(t, o, e) {
|
|
94
94
|
if (n.t = t, !n.__c && (n.__ = [e ? e(o) : _n(void 0, o), function(l) {
|
95
95
|
var _ = n.__N ? n.__N[0] : n.__[0], d = n.t(_, l);
|
96
96
|
_ !== d && (n.__N = [d, n.__[1]], n.__c.setState({}));
|
97
|
-
}], n.__c =
|
97
|
+
}], n.__c = G, !G.u)) {
|
98
98
|
var r = function(l, _, d) {
|
99
99
|
if (!n.__c.__H)
|
100
100
|
return !0;
|
@@ -113,32 +113,32 @@ function Kn(t, o, e) {
|
|
113
113
|
}
|
114
114
|
}), !(!u && n.__c.props === l) && (!s || s.call(this, l, _, d));
|
115
115
|
};
|
116
|
-
|
117
|
-
var s =
|
118
|
-
|
116
|
+
G.u = !0;
|
117
|
+
var s = G.shouldComponentUpdate, i = G.componentWillUpdate;
|
118
|
+
G.componentWillUpdate = function(l, _, d) {
|
119
119
|
if (this.__e) {
|
120
120
|
var c = s;
|
121
121
|
s = void 0, r(l, _, d), s = c;
|
122
122
|
}
|
123
123
|
i && i.call(this, l, _, d);
|
124
|
-
},
|
124
|
+
}, G.shouldComponentUpdate = r;
|
125
125
|
}
|
126
126
|
return n.__N || n.__;
|
127
127
|
}
|
128
128
|
function Q(t, o) {
|
129
129
|
var e = re(Ut++, 3);
|
130
|
-
!I.__s &&
|
130
|
+
!I.__s && Pe(e.__H, o) && (e.__ = t, e.i = o, G.__H.__h.push(e));
|
131
131
|
}
|
132
132
|
function cn(t, o) {
|
133
133
|
var e = re(Ut++, 4);
|
134
|
-
!I.__s &&
|
134
|
+
!I.__s && Pe(e.__H, o) && (e.__ = t, e.i = o, G.__h.push(e));
|
135
135
|
}
|
136
136
|
function et(t) {
|
137
|
-
return Ft = 5,
|
137
|
+
return Ft = 5, Et(function() {
|
138
138
|
return { current: t };
|
139
139
|
}, []);
|
140
140
|
}
|
141
|
-
function
|
141
|
+
function Ee(t, o, e) {
|
142
142
|
Ft = 6, cn(function() {
|
143
143
|
return typeof t == "function" ? (t(o()), function() {
|
144
144
|
return t(null);
|
@@ -147,18 +147,18 @@ function Pe(t, o, e) {
|
|
147
147
|
}) : void 0;
|
148
148
|
}, e == null ? e : e.concat(t));
|
149
149
|
}
|
150
|
-
function
|
150
|
+
function Et(t, o) {
|
151
151
|
var e = re(Ut++, 7);
|
152
|
-
return
|
152
|
+
return Pe(e.__H, o) ? (e.__V = t(), e.i = o, e.__h = t, e.__V) : e.__;
|
153
153
|
}
|
154
154
|
function Zn(t, o) {
|
155
|
-
return Ft = 8,
|
155
|
+
return Ft = 8, Et(function() {
|
156
156
|
return t;
|
157
157
|
}, o);
|
158
158
|
}
|
159
159
|
function Jn(t) {
|
160
|
-
var o =
|
161
|
-
return e.c = t, o ? (e.__ == null && (e.__ = !0, o.sub(
|
160
|
+
var o = G.context[t.__c], e = re(Ut++, 9);
|
161
|
+
return e.c = t, o ? (e.__ == null && (e.__ = !0, o.sub(G)), o.props.value) : t.__;
|
162
162
|
}
|
163
163
|
function qn() {
|
164
164
|
for (var t; t = ln.shift(); )
|
@@ -170,19 +170,19 @@ function qn() {
|
|
170
170
|
}
|
171
171
|
}
|
172
172
|
I.__b = function(t) {
|
173
|
-
|
173
|
+
G = null, co && co(t);
|
174
174
|
}, I.__r = function(t) {
|
175
175
|
_o && _o(t), Ut = 0;
|
176
|
-
var o = (
|
177
|
-
o && (xe ===
|
176
|
+
var o = (G = t.__c).__H;
|
177
|
+
o && (xe === G ? (o.__h = [], G.__h = [], o.__.forEach(function(e) {
|
178
178
|
e.__N && (e.__ = e.__N), e.__V = fe, e.__N = e.i = void 0;
|
179
|
-
})) : (o.__h.forEach(ge), o.__h.forEach(He), o.__h = [])), xe =
|
179
|
+
})) : (o.__h.forEach(ge), o.__h.forEach(He), o.__h = [])), xe = G;
|
180
180
|
}, I.diffed = function(t) {
|
181
181
|
uo && uo(t);
|
182
182
|
var o = t.__c;
|
183
183
|
o && o.__H && (o.__H.__h.length && (ln.push(o) !== 1 && lo === I.requestAnimationFrame || ((lo = I.requestAnimationFrame) || Xn)(qn)), o.__H.__.forEach(function(e) {
|
184
184
|
e.i && (e.__H = e.i), e.__V !== fe && (e.__ = e.__V), e.i = void 0, e.__V = fe;
|
185
|
-
})), xe =
|
185
|
+
})), xe = G = null;
|
186
186
|
}, I.__c = function(t, o) {
|
187
187
|
o.some(function(e) {
|
188
188
|
try {
|
@@ -214,14 +214,14 @@ function Xn(t) {
|
|
214
214
|
go && (o = requestAnimationFrame(e));
|
215
215
|
}
|
216
216
|
function ge(t) {
|
217
|
-
var o =
|
218
|
-
typeof e == "function" && (t.__c = void 0, e()),
|
217
|
+
var o = G, e = t.__c;
|
218
|
+
typeof e == "function" && (t.__c = void 0, e()), G = o;
|
219
219
|
}
|
220
220
|
function He(t) {
|
221
|
-
var o =
|
222
|
-
t.__c = t.__(),
|
221
|
+
var o = G;
|
222
|
+
t.__c = t.__(), G = o;
|
223
223
|
}
|
224
|
-
function
|
224
|
+
function Pe(t, o) {
|
225
225
|
return !t || t.length !== o.length || o.some(function(e, n) {
|
226
226
|
return e !== t[n];
|
227
227
|
});
|
@@ -470,10 +470,10 @@ function Yr(t) {
|
|
470
470
|
return this.size = o.size, e;
|
471
471
|
}
|
472
472
|
var Br = Yr;
|
473
|
-
function
|
473
|
+
function Er(t) {
|
474
474
|
return this.__data__.get(t);
|
475
475
|
}
|
476
|
-
var
|
476
|
+
var Pr = Er;
|
477
477
|
function Vr(t) {
|
478
478
|
return this.__data__.has(t);
|
479
479
|
}
|
@@ -501,7 +501,7 @@ function ca(t) {
|
|
501
501
|
var o = typeof t;
|
502
502
|
return t != null && (o == "object" || o == "function");
|
503
503
|
}
|
504
|
-
var
|
504
|
+
var Pt = ca, _a = Me, da = Pt, ua = "[object AsyncFunction]", pa = "[object Function]", fa = "[object GeneratorFunction]", ga = "[object Proxy]";
|
505
505
|
function ma(t) {
|
506
506
|
if (!da(t))
|
507
507
|
return !1;
|
@@ -529,7 +529,7 @@ function Na(t) {
|
|
529
529
|
}
|
530
530
|
return "";
|
531
531
|
}
|
532
|
-
var Ta = Na, La = Ve, wa = $a, Ca =
|
532
|
+
var Ta = Na, La = Ve, wa = $a, Ca = Pt, Sa = Ta, xa = /[\\^$.*+?()[\]{}|]/g, Oa = /^\[object .+?Constructor\]$/, Aa = Function.prototype, ja = Object.prototype, Ia = Aa.toString, Da = ja.hasOwnProperty, Ra = RegExp(
|
533
533
|
"^" + Ia.call(Da).replace(xa, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
534
534
|
);
|
535
535
|
function Ha(t) {
|
@@ -542,10 +542,10 @@ var Ya = Ha;
|
|
542
542
|
function Ba(t, o) {
|
543
543
|
return t == null ? void 0 : t[o];
|
544
544
|
}
|
545
|
-
var
|
545
|
+
var Ea = Ba, Pa = Ya, Va = Ea;
|
546
546
|
function Ga(t, o) {
|
547
547
|
var e = Va(t, o);
|
548
|
-
return
|
548
|
+
return Pa(e) ? e : void 0;
|
549
549
|
}
|
550
550
|
var Ge = Ga, Fa = Ge, Wa = Zt, Ua = Fa(Wa, "Map"), yn = Ua, za = Ge, Ka = za(Object, "create"), Ne = Ka, So = Ne;
|
551
551
|
function Za() {
|
@@ -624,7 +624,7 @@ function Ys(t, o) {
|
|
624
624
|
var e = Hs(this, t), n = e.size;
|
625
625
|
return e.set(t, o), this.size += e.size == n ? 0 : 1, this;
|
626
626
|
}
|
627
|
-
var Bs = Ys,
|
627
|
+
var Bs = Ys, Es = Ms, Ps = xs, Vs = js, Gs = Rs, Fs = Bs;
|
628
628
|
function qt(t) {
|
629
629
|
var o = -1, e = t == null ? 0 : t.length;
|
630
630
|
for (this.clear(); ++o < e; ) {
|
@@ -632,8 +632,8 @@ function qt(t) {
|
|
632
632
|
this.set(n[0], n[1]);
|
633
633
|
}
|
634
634
|
}
|
635
|
-
qt.prototype.clear =
|
636
|
-
qt.prototype.delete =
|
635
|
+
qt.prototype.clear = Es;
|
636
|
+
qt.prototype.delete = Ps;
|
637
637
|
qt.prototype.get = Vs;
|
638
638
|
qt.prototype.has = Gs;
|
639
639
|
qt.prototype.set = Fs;
|
@@ -648,7 +648,7 @@ function Js(t, o) {
|
|
648
648
|
}
|
649
649
|
return e.set(t, o), this.size = e.size, this;
|
650
650
|
}
|
651
|
-
var qs = Js, Xs = ke, Qs = Hr, ti = Br, ei =
|
651
|
+
var qs = Js, Xs = ke, Qs = Hr, ti = Br, ei = Pr, oi = Gr, ni = qs;
|
652
652
|
function Xt(t) {
|
653
653
|
var o = this.__data__ = new Xs(t);
|
654
654
|
this.size = o.size;
|
@@ -723,7 +723,7 @@ function Ti(t, o) {
|
|
723
723
|
o[e] = t[e];
|
724
724
|
return o;
|
725
725
|
}
|
726
|
-
var Li = Ti, wi =
|
726
|
+
var Li = Ti, wi = Pt, jo = Object.create, Ci = function() {
|
727
727
|
function t() {
|
728
728
|
}
|
729
729
|
return function(o) {
|
@@ -750,11 +750,11 @@ var kn = Di, Ri = Si, Hi = $n, Yi = kn;
|
|
750
750
|
function Bi(t) {
|
751
751
|
return typeof t.constructor == "function" && !Yi(t) ? Ri(Hi(t)) : {};
|
752
752
|
}
|
753
|
-
var
|
754
|
-
function
|
753
|
+
var Ei = Bi;
|
754
|
+
function Pi(t) {
|
755
755
|
return t != null && typeof t == "object";
|
756
756
|
}
|
757
|
-
var ae =
|
757
|
+
var ae = Pi, Vi = Me, Gi = ae, Fi = "[object Arguments]";
|
758
758
|
function Wi(t) {
|
759
759
|
return Gi(t) && Vi(t) == Fi;
|
760
760
|
}
|
@@ -800,8 +800,8 @@ function yl(t) {
|
|
800
800
|
var e = ml.call(o, "constructor") && o.constructor;
|
801
801
|
return typeof e == "function" && e instanceof e && wn.call(e) == hl;
|
802
802
|
}
|
803
|
-
var vl = yl, bl = Me, $l = Ln, kl = ae, Ml = "[object Arguments]", Nl = "[object Array]", Tl = "[object Boolean]", Ll = "[object Date]", wl = "[object Error]", Cl = "[object Function]", Sl = "[object Map]", xl = "[object Number]", Ol = "[object Object]", Al = "[object RegExp]", jl = "[object Set]", Il = "[object String]", Dl = "[object WeakMap]", Rl = "[object ArrayBuffer]", Hl = "[object DataView]", Yl = "[object Float32Array]", Bl = "[object Float64Array]",
|
804
|
-
P[Yl] = P[Bl] = P[
|
803
|
+
var vl = yl, bl = Me, $l = Ln, kl = ae, Ml = "[object Arguments]", Nl = "[object Array]", Tl = "[object Boolean]", Ll = "[object Date]", wl = "[object Error]", Cl = "[object Function]", Sl = "[object Map]", xl = "[object Number]", Ol = "[object Object]", Al = "[object RegExp]", jl = "[object Set]", Il = "[object String]", Dl = "[object WeakMap]", Rl = "[object ArrayBuffer]", Hl = "[object DataView]", Yl = "[object Float32Array]", Bl = "[object Float64Array]", El = "[object Int8Array]", Pl = "[object Int16Array]", Vl = "[object Int32Array]", Gl = "[object Uint8Array]", Fl = "[object Uint8ClampedArray]", Wl = "[object Uint16Array]", Ul = "[object Uint32Array]", P = {};
|
804
|
+
P[Yl] = P[Bl] = P[El] = P[Pl] = P[Vl] = P[Gl] = P[Fl] = P[Wl] = P[Ul] = !0;
|
805
805
|
P[Ml] = P[Nl] = P[Rl] = P[Tl] = P[Hl] = P[Ll] = P[wl] = P[Cl] = P[Sl] = P[xl] = P[Ol] = P[Al] = P[jl] = P[Il] = P[Dl] = !1;
|
806
806
|
function zl(t) {
|
807
807
|
return kl(t) && $l(t.length) && !!P[bl(t)];
|
@@ -880,7 +880,7 @@ function wc(t) {
|
|
880
880
|
o.push(e);
|
881
881
|
return o;
|
882
882
|
}
|
883
|
-
var Cc = wc, Sc =
|
883
|
+
var Cc = wc, Sc = Pt, xc = kn, Oc = Cc, Ac = Object.prototype, jc = Ac.hasOwnProperty;
|
884
884
|
function Ic(t) {
|
885
885
|
if (!Sc(t))
|
886
886
|
return Oc(t);
|
@@ -893,13 +893,13 @@ var Dc = Ic, Rc = Lc, Hc = Dc, Yc = We;
|
|
893
893
|
function Bc(t) {
|
894
894
|
return Yc(t) ? Rc(t, !0) : Hc(t);
|
895
895
|
}
|
896
|
-
var On = Bc,
|
896
|
+
var On = Bc, Ec = dc, Pc = On;
|
897
897
|
function Vc(t) {
|
898
|
-
return
|
898
|
+
return Ec(t, Pc(t));
|
899
899
|
}
|
900
|
-
var Gc = Vc, Ho = bn, Fc = me, Wc = Ni, Uc = Li, zc =
|
900
|
+
var Gc = Vc, Ho = bn, Fc = me, Wc = Ni, Uc = Li, zc = Ei, Yo = Nn, Bo = Tn, Kc = sl, Zc = oe, Jc = Ve, qc = Pt, Xc = vl, Qc = Cn, Eo = Sn, t_ = Gc;
|
901
901
|
function e_(t, o, e, n, r, s, i) {
|
902
|
-
var l =
|
902
|
+
var l = Eo(t, e), _ = Eo(o, e), d = i.get(_);
|
903
903
|
if (d) {
|
904
904
|
Ho(t, e, d);
|
905
905
|
return;
|
@@ -911,7 +911,7 @@ function e_(t, o, e, n, r, s, i) {
|
|
911
911
|
}
|
912
912
|
u && (i.set(_, c), r(c, _, n, s, i), i.delete(_)), Ho(t, e, c);
|
913
913
|
}
|
914
|
-
var o_ = e_, n_ = ri, r_ = bn, a_ = gi, s_ = o_, i_ =
|
914
|
+
var o_ = e_, n_ = ri, r_ = bn, a_ = gi, s_ = o_, i_ = Pt, l_ = On, c_ = Sn;
|
915
915
|
function An(t, o, e, n, r) {
|
916
916
|
t !== o && a_(o, function(s, i) {
|
917
917
|
if (r || (r = new n_()), i_(s))
|
@@ -940,10 +940,10 @@ function u_(t, o, e) {
|
|
940
940
|
}
|
941
941
|
return t.apply(o, e);
|
942
942
|
}
|
943
|
-
var p_ = u_, f_ = p_,
|
943
|
+
var p_ = u_, f_ = p_, Po = Math.max;
|
944
944
|
function g_(t, o, e) {
|
945
|
-
return o =
|
946
|
-
for (var n = arguments, r = -1, s =
|
945
|
+
return o = Po(o === void 0 ? t.length - 1 : o, 0), function() {
|
946
|
+
for (var n = arguments, r = -1, s = Po(n.length - o, 0), i = Array(s); ++r < s; )
|
947
947
|
i[r] = n[o + r];
|
948
948
|
r = -1;
|
949
949
|
for (var l = Array(o + 1); ++r < o; )
|
@@ -981,14 +981,14 @@ var w_ = L_, C_ = k_, S_ = w_, x_ = S_(C_), O_ = x_, A_ = jn, j_ = m_, I_ = O_;
|
|
981
981
|
function D_(t, o) {
|
982
982
|
return I_(j_(t, o, A_), t + "");
|
983
983
|
}
|
984
|
-
var R_ = D_, H_ = be, Y_ = We, B_ = xn,
|
985
|
-
function
|
986
|
-
if (!
|
984
|
+
var R_ = D_, H_ = be, Y_ = We, B_ = xn, E_ = Pt;
|
985
|
+
function P_(t, o, e) {
|
986
|
+
if (!E_(e))
|
987
987
|
return !1;
|
988
988
|
var n = typeof o;
|
989
989
|
return (n == "number" ? Y_(e) && B_(o, e.length) : n == "string" && o in e) ? H_(e[o], t) : !1;
|
990
990
|
}
|
991
|
-
var V_ =
|
991
|
+
var V_ = P_, G_ = R_, F_ = V_;
|
992
992
|
function W_(t) {
|
993
993
|
return G_(function(o, e) {
|
994
994
|
var n = -1, r = e.length, s = r > 1 ? e[r - 1] : void 0, i = r > 2 ? e[2] : void 0;
|
@@ -1004,10 +1004,10 @@ K_(function(t, o, e) {
|
|
1004
1004
|
z_(t, o, e);
|
1005
1005
|
});
|
1006
1006
|
const Yt = (t, o, e) => Array.isArray(t) ? t.map((n, r) => {
|
1007
|
-
const s = [e, r].filter(
|
1007
|
+
const s = [e, r].filter(V).join(".");
|
1008
1008
|
return Yt(o(r, n, s), o, s);
|
1009
1009
|
}) : typeof t == "object" && t ? Object.entries(t).reduce((n, [r, s]) => {
|
1010
|
-
const i = [e, r].filter(
|
1010
|
+
const i = [e, r].filter(V).join(".");
|
1011
1011
|
return n[r] = Yt(o(r, s, i), o, i), n;
|
1012
1012
|
}, {}) : t, Z_ = (t) => {
|
1013
1013
|
const o = document.getElementsByTagName("head")[0], e = document.createElement("link");
|
@@ -1066,7 +1066,7 @@ const Yt = (t, o, e) => Array.isArray(t) ? t.map((n, r) => {
|
|
1066
1066
|
}, ed = (t, o) => t && typeof t == "string" && o ? Object.keys(o).reduce((n, r) => {
|
1067
1067
|
const s = o[r], i = typeof s == "string" ? s.replace(/^\s|"/gi, "") : s, l = new RegExp(`{${r}}`, "g");
|
1068
1068
|
return n.replace(l, i != null ? i : "");
|
1069
|
-
}, t) : t, od = (t = 300, o) => new Promise((e) => setTimeout(() => e(o), t)), nd = (t) => !t && t == null,
|
1069
|
+
}, t) : t, od = (t = 300, o) => new Promise((e) => setTimeout(() => e(o), t)), nd = (t) => !t && t == null, V = (t) => !nd(t), Fo = (t) => typeof t != "object" && typeof t != "function" || t === null, In = (t) => typeof t == "object" && !Array.isArray(t) && V(t), rd = (t) => t.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (o, e) => (e ? "-" : "") + o.toLowerCase()), ad = (...t) => t.reduce((o, e) => (o[e] = e, o), {}), St = (t, ...o) => o.reduce((e, n) => (e[n] = t[n], e), {});
|
1070
1070
|
function vt(t, ...o) {
|
1071
1071
|
const e = k({}, t);
|
1072
1072
|
return o.forEach((n) => {
|
@@ -1187,10 +1187,10 @@ const Dn = Fn(), xt = ({
|
|
1187
1187
|
id: e
|
1188
1188
|
}, s))
|
1189
1189
|
}), o);
|
1190
|
-
}), U = () => Jn(Dn), Id = (t = {}, o) => typeof t == "object" &&
|
1190
|
+
}), U = () => Jn(Dn), Id = (t = {}, o) => typeof t == "object" && V(t) && o.some((e) => e in t), Dd = (t, o, e = se) => t && Yt(t, (n, r) => {
|
1191
1191
|
if (Id(r, Object.keys(e))) {
|
1192
1192
|
const s = r[o];
|
1193
|
-
return s && "parent" in s &&
|
1193
|
+
return s && "parent" in s && V(s.parent) ? k(k({}, r[s.parent]), vt(s, "parent")) : s;
|
1194
1194
|
}
|
1195
1195
|
return r;
|
1196
1196
|
}), Lt = (t, o, e = se) => Dd(t, o, e), Ot = ({
|
@@ -1211,30 +1211,30 @@ const Dn = Fn(), xt = ({
|
|
1211
1211
|
const l = o.current.closest(`[data-${e}='${t}']`) || document.body;
|
1212
1212
|
l && (new ResizeObserver(() => i(l)).observe(l), i(l));
|
1213
1213
|
}, []), r;
|
1214
|
-
}, ye = (t, o) =>
|
1214
|
+
}, ye = (t, o) => V(t) && !(typeof t == "number" ? t.toString() : t).includes(o) ? `${t}${o}` : t, Rd = (t) => t.startsWith("px_"), Hd = (t) => t.startsWith("percent_"), Yd = (t, o) => {
|
1215
1215
|
let e = t, n = o;
|
1216
1216
|
return Rd(e) && (e = e.replace("px_", ""), n = ye(o, "px")), Hd(e) && (e = e.replace("percent_", ""), n = ye(o, "%")), {
|
1217
1217
|
key: e,
|
1218
1218
|
value: n
|
1219
1219
|
};
|
1220
|
-
}, Bd = "-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji'",
|
1221
|
-
|
1220
|
+
}, Bd = "-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,'Noto Sans',sans-serif,'Apple Color Emoji','Segoe UI Emoji','Segoe UI Symbol','Noto Color Emoji'", Ed = ["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"], Rn = (t) => typeof t != "object" ? t : Object.entries(t).reduce((o, [e, n]) => {
|
1221
|
+
Ed.includes(e) && (n = ye(n, "px"));
|
1222
1222
|
const {
|
1223
1223
|
key: r,
|
1224
1224
|
value: s
|
1225
1225
|
} = Yd(e, n);
|
1226
1226
|
if (In(s) && (o[r] = Rn(s)), o[r] = s, r === "hidden" && s)
|
1227
1227
|
return o.display = "none", o;
|
1228
|
-
if (r === "innerHTML" && (o.innerHTML =
|
1228
|
+
if (r === "innerHTML" && (o.innerHTML = V(s) ? `${s}` : ""), r === "innerText" && (o.innerText = V(s) ? `${s}` : ""), r === "children" && (o.children = typeof s == "string" ? V(s) ? `${s}` : "" : s), r.includes("borderWidth") && (o.borderStyle = "solid"), r === "corner" && (o.borderRadius = ye(s, "px")), r === "backgroundFit" && (o.backgroundSize = s, o.objectFit = s), r === "backgroundImage" && V(s) && (o.backgroundImage = `url(${s})`, o.backgroundRepeat = "no-repeat", o.imageSource = s), r === "backgroundColorOpacity" && V(o.backgroundColorOpacity) && V(o.backgroundColor)) {
|
1229
1229
|
const i = Wo(o.backgroundColor);
|
1230
1230
|
i && (o.backgroundColor = Uo(`rgb(${i.r}, ${i.g}, ${i.b})`, +o.backgroundColorOpacity / 100));
|
1231
1231
|
}
|
1232
|
-
if (r === "colorOpacity" &&
|
1232
|
+
if (r === "colorOpacity" && V(o.colorOpacity) && V(o.color)) {
|
1233
1233
|
const i = Wo(o.color);
|
1234
1234
|
i && (o.color = Uo(`rgb(${i.r}, ${i.g}, ${i.b})`, +o.colorOpacity / 100));
|
1235
1235
|
}
|
1236
|
-
return r === "fontFamily" && /auto/i.test(s) && (o.fontFamily = Bd), r === "isBold" && (o.fontWeight = s ? "bold" : "initial"), r === "weight" &&
|
1237
|
-
}, t),
|
1236
|
+
return r === "fontFamily" && /auto/i.test(s) && (o.fontFamily = Bd), r === "isBold" && (o.fontWeight = s ? "bold" : "initial"), r === "weight" && V(s) && (o.fontWeight = s), r === "isItalic" && (o.fontStyle = s ? "italic" : "initial"), r === "isThrough" && (o.textDecoration = s ? "line-through" : "initial"), o;
|
1237
|
+
}, t), Pd = (t) => typeof t == "object" && !Array.isArray(t) && "parent" in t, B = (t) => V(t) ? Object.entries(t).reduce((o, [e, n]) => (o[e] = Pd(n) ? Rn(k({}, t[e])) : n, o), {}) : t, Vd = (t) => t in document.createElement("div").style || t.startsWith("--"), Gd = (t) => `<span style="${t}">$1</span>`, W = (s) => {
|
1238
1238
|
var i = s, {
|
1239
1239
|
children: t,
|
1240
1240
|
typography: o,
|
@@ -1247,7 +1247,7 @@ const Dn = Fn(), xt = ({
|
|
1247
1247
|
"replacer"
|
1248
1248
|
]);
|
1249
1249
|
var d;
|
1250
|
-
const l =
|
1250
|
+
const l = Et(() => {
|
1251
1251
|
if (!e)
|
1252
1252
|
return {};
|
1253
1253
|
let c = "";
|
@@ -1255,7 +1255,7 @@ const Dn = Fn(), xt = ({
|
|
1255
1255
|
Vd(u) && (c += `${rd(u)}: ${p}; `);
|
1256
1256
|
}), c;
|
1257
1257
|
}, [e]), _ = (d = t == null ? void 0 : t.replace(/script|\n/g, "")) == null ? void 0 : d.replace(/{{(.*?)}}/g, n(l));
|
1258
|
-
return a("div",
|
1258
|
+
return a("div", L(k({}, r), {
|
1259
1259
|
style: k(k({}, o), r.style || {}),
|
1260
1260
|
dangerouslySetInnerHTML: {
|
1261
1261
|
__html: _
|
@@ -1295,8 +1295,8 @@ const Dn = Fn(), xt = ({
|
|
1295
1295
|
wiggle: `${t.wiggle} 2s linear infinite`,
|
1296
1296
|
gradient: `${t.gradient} 3s ease infinite`
|
1297
1297
|
}), Hn = (t, o) => {
|
1298
|
-
var c, u, p, h, g, f, N, A, O, D, j, C,
|
1299
|
-
const e = Fd(o), n =
|
1298
|
+
var c, u, p, h, g, f, N, A, O, D, j, C, T;
|
1299
|
+
const e = Fd(o), n = B(t), r = (c = n == null ? void 0 : n.icon) == null ? void 0 : c.hasIcon, s = {
|
1300
1300
|
left: `${+(((u = t == null ? void 0 : t.container) == null ? void 0 : u.left) || 0) * -1 + 8}px`,
|
1301
1301
|
backgroundColor: (p = n == null ? void 0 : n.container) == null ? void 0 : p.backgroundColor,
|
1302
1302
|
borderTopWidth: (h = n == null ? void 0 : n.container) == null ? void 0 : h.borderWidth,
|
@@ -1307,10 +1307,10 @@ const Dn = Fn(), xt = ({
|
|
1307
1307
|
borderLeftStyle: "solid"
|
1308
1308
|
}, i = {
|
1309
1309
|
left: (A = n == null ? void 0 : n.container) == null ? void 0 : A.left
|
1310
|
-
}, l = (((O = n == null ? void 0 : n.icon) == null ? void 0 : O.animations) || []).map((
|
1311
|
-
background: `linear-gradient(-90deg, ${(C = n.icon) == null ? void 0 : C.backgroundColor} 0%, ${(
|
1310
|
+
}, l = (((O = n == null ? void 0 : n.icon) == null ? void 0 : O.animations) || []).map((Y) => e[Y]).join(", "), _ = V((D = n == null ? void 0 : n.icon) == null ? void 0 : D.gradientColor) && ((j = n == null ? void 0 : n.icon) != null && j.animations.includes("gradient")) ? {
|
1311
|
+
background: `linear-gradient(-90deg, ${(C = n.icon) == null ? void 0 : C.backgroundColor} 0%, ${(T = n == null ? void 0 : n.icon) == null ? void 0 : T.gradientColor} 100%) 0% 0% / 400% 400%`,
|
1312
1312
|
backgroundSize: "400% 400%"
|
1313
|
-
} : n == null ? void 0 : n.icon, d = k(
|
1313
|
+
} : n == null ? void 0 : n.icon, d = k(L(k({}, (n == null ? void 0 : n.icon) || {}), {
|
1314
1314
|
animation: l
|
1315
1315
|
}), _);
|
1316
1316
|
return {
|
@@ -1325,12 +1325,12 @@ const Dn = Fn(), xt = ({
|
|
1325
1325
|
if (In(r) && "fontFamily" in r)
|
1326
1326
|
if (o.has(r.fontFamily)) {
|
1327
1327
|
const s = o.get(r.fontFamily);
|
1328
|
-
|
1328
|
+
V(r.weight) && !s.includes(r.weight) && !je.includes(r.weight) && s.push(r.weight), o.set(r.fontFamily, s);
|
1329
1329
|
} else
|
1330
|
-
|
1330
|
+
V(r.weight) && !je.includes(r.weight) ? o.set(r.fontFamily, [r.weight]) : o.set(r.fontFamily, []);
|
1331
1331
|
return r;
|
1332
1332
|
});
|
1333
|
-
const e =
|
1333
|
+
const e = Et(() => Array.from(o.entries()).filter(([n]) => !/auto/i.test(n)).map(([n, r]) => ({
|
1334
1334
|
rel: "stylesheet",
|
1335
1335
|
href: `https://fonts.googleapis.com/css?family=${n}:${[...r, ...je].join(",")}&display=swap`
|
1336
1336
|
})), [o]);
|
@@ -1344,11 +1344,11 @@ const Dn = Fn(), xt = ({
|
|
1344
1344
|
onClickClose: n,
|
1345
1345
|
onClickIcon: r
|
1346
1346
|
}) => {
|
1347
|
-
var j, C,
|
1347
|
+
var j, C, T, Y, z, v, b, y, M, $;
|
1348
1348
|
const s = et(null), [i, l] = ie(), _ = U(), d = Ot({
|
1349
1349
|
targetRef: s,
|
1350
1350
|
id: t
|
1351
|
-
}), c = Lt(_, d), u =
|
1351
|
+
}), c = Lt(_, d), u = B(c), {
|
1352
1352
|
hasIcon: p,
|
1353
1353
|
iconRules: h,
|
1354
1354
|
bodyRules: g,
|
@@ -1395,7 +1395,7 @@ const Dn = Fn(), xt = ({
|
|
1395
1395
|
style: f
|
1396
1396
|
}), a("div", {
|
1397
1397
|
className: F.close,
|
1398
|
-
style:
|
1398
|
+
style: L(k({}, qe(u == null ? void 0 : u.close)), {
|
1399
1399
|
backgroundColor: (C = u == null ? void 0 : u.close) == null ? void 0 : C.color
|
1400
1400
|
}),
|
1401
1401
|
onClick: n,
|
@@ -1404,7 +1404,7 @@ const Dn = Fn(), xt = ({
|
|
1404
1404
|
className: F.container,
|
1405
1405
|
style: A,
|
1406
1406
|
children: [a("a", {
|
1407
|
-
href: (
|
1407
|
+
href: (T = u == null ? void 0 : u.root) == null ? void 0 : T.offer,
|
1408
1408
|
style: {
|
1409
1409
|
opacity: i ? 0 : 1
|
1410
1410
|
},
|
@@ -1419,7 +1419,7 @@ const Dn = Fn(), xt = ({
|
|
1419
1419
|
}), a(W, {
|
1420
1420
|
className: F.text,
|
1421
1421
|
style: u == null ? void 0 : u.text,
|
1422
|
-
typography: (
|
1422
|
+
typography: (Y = u.text) == null ? void 0 : Y.typography,
|
1423
1423
|
accentTypography: (z = u.text) == null ? void 0 : z.accentTypography,
|
1424
1424
|
children: (v = u == null ? void 0 : u.text) == null ? void 0 : v.children
|
1425
1425
|
})]
|
@@ -1447,7 +1447,7 @@ const Dn = Fn(), xt = ({
|
|
1447
1447
|
})]
|
1448
1448
|
})]
|
1449
1449
|
});
|
1450
|
-
},
|
1450
|
+
}, Eh = Tt(a(Wd, {})), Ud = "_root_13yhu_1", zd = "_icon_13yhu_5", Kd = "_iconTarget_13yhu_17", Zd = "_body_13yhu_23", Jd = "_desktop_13yhu_30", qd = "_tablet_13yhu_30", Xd = "_laptop_13yhu_30", Qd = "_bodyOpen_13yhu_34", tu = "_complexGift_in_13yhu_1", eu = "_arrow_13yhu_47", ou = "_container_13yhu_57", nu = "_promotion_13yhu_62", ru = "_close_13yhu_68", au = "_head_13yhu_81", su = "_headIcon_13yhu_87", iu = "_headTitle_13yhu_93", lu = "_inner_13yhu_100", cu = "_fadein_13yhu_1", _u = "_pulse_13yhu_1", du = "_gradient_13yhu_1", uu = "_wiggle_13yhu_1", J = {
|
1451
1451
|
root: Ud,
|
1452
1452
|
icon: zd,
|
1453
1453
|
iconTarget: Kd,
|
@@ -1484,7 +1484,7 @@ const Dn = Fn(), xt = ({
|
|
1484
1484
|
onClick: t
|
1485
1485
|
}) => {
|
1486
1486
|
var n, r, s, i, l, _, d;
|
1487
|
-
const o = U(), e =
|
1487
|
+
const o = U(), e = B(o);
|
1488
1488
|
return a("a", {
|
1489
1489
|
href: (n = e.root) == null ? void 0 : n.offer,
|
1490
1490
|
target: "_blank",
|
@@ -1541,7 +1541,7 @@ const Dn = Fn(), xt = ({
|
|
1541
1541
|
const s = et(null), i = U(), l = Ot({
|
1542
1542
|
targetRef: s,
|
1543
1543
|
id: t
|
1544
|
-
}), _ = Lt(i, l), d =
|
1544
|
+
}), _ = Lt(i, l), d = B(_);
|
1545
1545
|
wt(_);
|
1546
1546
|
const {
|
1547
1547
|
hasIcon: c,
|
@@ -1613,7 +1613,7 @@ const Dn = Fn(), xt = ({
|
|
1613
1613
|
})]
|
1614
1614
|
})]
|
1615
1615
|
});
|
1616
|
-
},
|
1616
|
+
}, Ph = Tt(a(Nu, {})), Tu = "_root_mp148_1", Lu = "_background_mp148_11", wu = "_content_mp148_19", Cu = "_desktop_mp148_28", Su = "_laptop_mp148_28", xu = "_wrapper_mp148_33", Ou = "_overlay_mp148_37", Au = "_close_mp148_43", ju = "_closeTimer_mp148_59", Iu = "_promotion_mp148_70", Du = "_body_mp148_78", Ru = "_logo_mp148_87", Hu = "_text_mp148_93", Yu = "_button_mp148_97", Bu = "_legal_mp148_112", at = {
|
1617
1617
|
root: Tu,
|
1618
1618
|
background: Lu,
|
1619
1619
|
content: wu,
|
@@ -1633,13 +1633,13 @@ const Dn = Fn(), xt = ({
|
|
1633
1633
|
left: "flex-start",
|
1634
1634
|
center: "center",
|
1635
1635
|
right: "flex-end"
|
1636
|
-
}[t],
|
1637
|
-
root:
|
1636
|
+
}[t], Eu = "_root_mj8hr_1", Pu = {
|
1637
|
+
root: Eu
|
1638
1638
|
}, Vu = () => {
|
1639
1639
|
var e, n, r;
|
1640
|
-
const t = U(), o =
|
1640
|
+
const t = U(), o = B(t);
|
1641
1641
|
return a("div", {
|
1642
|
-
className:
|
1642
|
+
className: Pu.root,
|
1643
1643
|
style: o.root,
|
1644
1644
|
children: a(W, {
|
1645
1645
|
typography: (e = o.root) == null ? void 0 : e.typography,
|
@@ -1655,7 +1655,7 @@ const Dn = Fn(), xt = ({
|
|
1655
1655
|
};
|
1656
1656
|
return Q(() => {
|
1657
1657
|
_ && n.current.emit("visible", r);
|
1658
|
-
}, [r]),
|
1658
|
+
}, [r]), Ee(t, () => ({
|
1659
1659
|
onVisible: c,
|
1660
1660
|
onClick: u,
|
1661
1661
|
onClickHide: p,
|
@@ -1773,19 +1773,19 @@ const Qu = zt(({
|
|
1773
1773
|
id: t,
|
1774
1774
|
className: o
|
1775
1775
|
}, e) => {
|
1776
|
-
var S,
|
1776
|
+
var S, w, x, E, H, K, lt, st;
|
1777
1777
|
const [n, r] = yt(1 / 0), s = et(null), i = et(null), l = Ot({
|
1778
1778
|
targetRef: s,
|
1779
1779
|
id: t
|
1780
1780
|
}), _ = U(), d = Lt(_, l);
|
1781
|
-
wt(d), d && (Bt(d, "button.percent_width", (S = d == null ? void 0 : d.button) == null ? void 0 : S.width), Bt(d, "legal.percent_width", (
|
1782
|
-
const c =
|
1781
|
+
wt(d), d && (Bt(d, "button.percent_width", (S = d == null ? void 0 : d.button) == null ? void 0 : S.width), Bt(d, "legal.percent_width", (w = d == null ? void 0 : d.legal) == null ? void 0 : w.width));
|
1782
|
+
const c = B(d), u = m(c, "root.delay", 0), {
|
1783
1783
|
isOpen: p,
|
1784
1784
|
isReady: h,
|
1785
1785
|
setIsReady: g,
|
1786
1786
|
clickHide: f,
|
1787
1787
|
click: N
|
1788
|
-
} = Ke(e, u), A = m(c, "close.variant", "default"), O = m(c, "close.radius", 21), D = m(c, "close.colorDirection", "default"), j = m(c, "close.timeoutLock", !1), C = A === "timer" ? n <= 0 : !0,
|
1788
|
+
} = Ke(e, u), A = m(c, "close.variant", "default"), O = m(c, "close.radius", 21), D = m(c, "close.colorDirection", "default"), j = m(c, "close.timeoutLock", !1), C = A === "timer" ? n <= 0 : !0, T = A === "timer" && j && n > 0 ? "div" : "a";
|
1789
1789
|
Q(() => {
|
1790
1790
|
const it = i.current;
|
1791
1791
|
if (!it)
|
@@ -1799,11 +1799,11 @@ const Qu = zt(({
|
|
1799
1799
|
it.removeEventListener("load", bt);
|
1800
1800
|
};
|
1801
1801
|
}, [c]);
|
1802
|
-
const
|
1802
|
+
const Y = {
|
1803
1803
|
alignItems: jt((x = c.root) == null ? void 0 : x.align)
|
1804
|
-
}, z =
|
1805
|
-
justifyContent: jt((
|
1806
|
-
}), v =
|
1804
|
+
}, z = L(k({}, c == null ? void 0 : c.button), {
|
1805
|
+
justifyContent: jt((E = c.root) == null ? void 0 : E.textAlign)
|
1806
|
+
}), v = L(k({}, c == null ? void 0 : c.legal), {
|
1807
1807
|
justifyContent: jt((H = c.root) == null ? void 0 : H.textAlign)
|
1808
1808
|
}), b = (K = c.root) == null ? void 0 : K.corner, y = vt(c.root, ...zo, ...ut), M = St(c.root, ...zo), $ = p && h;
|
1809
1809
|
return a("div", {
|
@@ -1825,7 +1825,7 @@ const Qu = zt(({
|
|
1825
1825
|
children: [$ && a(Ie, {
|
1826
1826
|
children: A === "default" ? a("div", {
|
1827
1827
|
className: at.close,
|
1828
|
-
style:
|
1828
|
+
style: L(k({}, c.close), {
|
1829
1829
|
borderBottomLeftRadius: `${b}px`,
|
1830
1830
|
borderTopRightRadius: `${b}px`
|
1831
1831
|
}),
|
@@ -1848,13 +1848,13 @@ const Qu = zt(({
|
|
1848
1848
|
className: at.promotion,
|
1849
1849
|
style: c.promotion,
|
1850
1850
|
children: (lt = c.promotion) == null ? void 0 : lt.children
|
1851
|
-
}), a(
|
1851
|
+
}), a(T, {
|
1852
1852
|
href: (st = c.root) == null ? void 0 : st.offer,
|
1853
1853
|
target: "_blank",
|
1854
1854
|
rel: "nofollow noopener noreferrer",
|
1855
1855
|
className: at.content,
|
1856
1856
|
style: y,
|
1857
|
-
onClick: () =>
|
1857
|
+
onClick: () => T === "a" && N(c.id),
|
1858
1858
|
children: [a("img", {
|
1859
1859
|
ref: i,
|
1860
1860
|
className: at.background,
|
@@ -1863,7 +1863,7 @@ const Qu = zt(({
|
|
1863
1863
|
style: M
|
1864
1864
|
}), a("div", {
|
1865
1865
|
className: at.body,
|
1866
|
-
style:
|
1866
|
+
style: Y,
|
1867
1867
|
children: [a("div", {
|
1868
1868
|
className: at.logo,
|
1869
1869
|
style: c.logo
|
@@ -1913,7 +1913,7 @@ const Qu = zt(({
|
|
1913
1913
|
onClick: t
|
1914
1914
|
}) => {
|
1915
1915
|
var i, l, _, d, c, u;
|
1916
|
-
const o = U(), e =
|
1916
|
+
const o = U(), e = B(o), n = (o == null ? void 0 : o.device) || "desktop", r = (o == null ? void 0 : o.OfferTag) || "a", s = St(e.header, ...ut);
|
1917
1917
|
return a(r, {
|
1918
1918
|
href: (i = e.root) == null ? void 0 : i.offer,
|
1919
1919
|
target: "_blank",
|
@@ -1966,11 +1966,11 @@ const Qu = zt(({
|
|
1966
1966
|
}, kp = zt(({
|
1967
1967
|
id: t
|
1968
1968
|
}, o) => {
|
1969
|
-
var j, C,
|
1969
|
+
var j, C, T;
|
1970
1970
|
const [e, n] = yt(1 / 0), r = et(null), s = Ot({
|
1971
1971
|
targetRef: r,
|
1972
1972
|
id: t
|
1973
|
-
}), i = U(), l = Lt(i, s), _ =
|
1973
|
+
}), i = U(), l = Lt(i, s), _ = B(l);
|
1974
1974
|
wt(l);
|
1975
1975
|
const d = m(_, "root.delay", 0), {
|
1976
1976
|
isOpen: c,
|
@@ -1995,7 +1995,7 @@ const Qu = zt(({
|
|
1995
1995
|
style: _.root,
|
1996
1996
|
children: [h === "default" ? a("div", {
|
1997
1997
|
className: Ct.close,
|
1998
|
-
style:
|
1998
|
+
style: L(k({}, _.close), {
|
1999
1999
|
borderBottomLeftRadius: `${D}px`,
|
2000
2000
|
borderTopRightRadius: `${D}px`
|
2001
2001
|
}),
|
@@ -2020,11 +2020,11 @@ const Qu = zt(({
|
|
2020
2020
|
}), a(W, {
|
2021
2021
|
className: Ct.title,
|
2022
2022
|
style: _.title,
|
2023
|
-
children: (
|
2023
|
+
children: (T = _.title) == null ? void 0 : T.children
|
2024
2024
|
}), a("div", {
|
2025
2025
|
className: Ct.wrapper,
|
2026
|
-
children: (_.children || []).map((
|
2027
|
-
value:
|
2026
|
+
children: (_.children || []).map((Y) => a(xt, {
|
2027
|
+
value: L(k({}, Y), {
|
2028
2028
|
device: s,
|
2029
2029
|
OfferTag: O
|
2030
2030
|
}),
|
@@ -2035,7 +2035,7 @@ const Qu = zt(({
|
|
2035
2035
|
})]
|
2036
2036
|
})]
|
2037
2037
|
});
|
2038
|
-
}), Gh = Tt(a(kp, {})), Mp = "_root_ph5sn_1", Np = "_content_ph5sn_11", Tp = "_close_ph5sn_18", Lp = "_closeTimer_ph5sn_34", wp = "_desktop_ph5sn_40", Cp = "_laptop_ph5sn_40", Sp = "_promotion_ph5sn_45", xp = "_overlay_ph5sn_53", Op = "_body_ph5sn_59", Ap = "_tablet_ph5sn_69", jp = "_head_ph5sn_73", Ip = "_title_ph5sn_86", Dp = "_logo_ph5sn_98", Rp = "_wrapper_ph5sn_105", Hp = "_text_ph5sn_112", Yp = "_button_ph5sn_120", Bp = "_buttonHead_ph5sn_135",
|
2038
|
+
}), Gh = Tt(a(kp, {})), Mp = "_root_ph5sn_1", Np = "_content_ph5sn_11", Tp = "_close_ph5sn_18", Lp = "_closeTimer_ph5sn_34", wp = "_desktop_ph5sn_40", Cp = "_laptop_ph5sn_40", Sp = "_promotion_ph5sn_45", xp = "_overlay_ph5sn_53", Op = "_body_ph5sn_59", Ap = "_tablet_ph5sn_69", jp = "_head_ph5sn_73", Ip = "_title_ph5sn_86", Dp = "_logo_ph5sn_98", Rp = "_wrapper_ph5sn_105", Hp = "_text_ph5sn_112", Yp = "_button_ph5sn_120", Bp = "_buttonHead_ph5sn_135", Ep = "_buttonTarget_ph5sn_152", Pp = "_legal_ph5sn_166", tt = {
|
2039
2039
|
root: Mp,
|
2040
2040
|
content: Np,
|
2041
2041
|
close: Tp,
|
@@ -2053,8 +2053,8 @@ const Qu = zt(({
|
|
2053
2053
|
text: Hp,
|
2054
2054
|
button: Yp,
|
2055
2055
|
buttonHead: Bp,
|
2056
|
-
buttonTarget:
|
2057
|
-
legal:
|
2056
|
+
buttonTarget: Ep,
|
2057
|
+
legal: Pp
|
2058
2058
|
}, Vp = "_root_16jvv_1", Gp = "_left_16jvv_8", Fp = "_desktop_16jvv_15", Wp = "_laptop_16jvv_15", Up = "_teams_16jvv_19", zp = "_logo_16jvv_25", Kp = "_league_16jvv_32", Zp = "_name_16jvv_37", Jp = "_right_16jvv_43", qp = "_odd_16jvv_54", Xp = "_oddLabel_16jvv_67", Qp = "_oddValue_16jvv_76", tf = "_team_16jvv_19", ef = "_teamLogo_16jvv_100", of = "_teamName_16jvv_107", q = {
|
2059
2059
|
root: Vp,
|
2060
2060
|
left: Gp,
|
@@ -2379,7 +2379,7 @@ const nf = new Set(Object.keys(Yn)), ht = ({
|
|
2379
2379
|
return a("img", {
|
2380
2380
|
ref: s,
|
2381
2381
|
className: t,
|
2382
|
-
style:
|
2382
|
+
style: L(k({}, e), {
|
2383
2383
|
height: `calc(${d}px - 20%)`
|
2384
2384
|
}),
|
2385
2385
|
src: _
|
@@ -2399,9 +2399,9 @@ const nf = new Set(Object.keys(Yn)), ht = ({
|
|
2399
2399
|
}, rf = ({
|
2400
2400
|
oddFormatter: t
|
2401
2401
|
}) => {
|
2402
|
-
const o = U(), e =
|
2402
|
+
const o = U(), e = B(o), n = (o == null ? void 0 : o.device) || "desktop", r = m(e, "match.sport_slug"), s = L(k({}, e == null ? void 0 : e.teamALogo), {
|
2403
2403
|
backgroundImage: m(e, "match.teams[0].logo")
|
2404
|
-
}), i =
|
2404
|
+
}), i = L(k({}, e == null ? void 0 : e.teamBLogo), {
|
2405
2405
|
backgroundImage: m(e, "match.teams[1].logo")
|
2406
2406
|
}), l = m(e, "match.prediction.value");
|
2407
2407
|
return a("div", {
|
@@ -2524,8 +2524,8 @@ var Nt = {}, Nf = {
|
|
2524
2524
|
}, m: function v(b, y) {
|
2525
2525
|
if (b.date() < y.date())
|
2526
2526
|
return -v(y, b);
|
2527
|
-
var M = 12 * (y.year() - b.year()) + (y.month() - b.month()), $ = b.clone().add(M, _), S = y - $ < 0,
|
2528
|
-
return +(-(M + (y - $) / (S ? $ -
|
2527
|
+
var M = 12 * (y.year() - b.year()) + (y.month() - b.month()), $ = b.clone().add(M, _), S = y - $ < 0, w = b.clone().add(M + (S ? -1 : 1), _);
|
2528
|
+
return +(-(M + (y - $) / (S ? $ - w : w - $)) || 0);
|
2529
2529
|
}, a: function(v) {
|
2530
2530
|
return v < 0 ? Math.ceil(v) || 0 : Math.floor(v);
|
2531
2531
|
}, p: function(v) {
|
@@ -2535,7 +2535,7 @@ var Nt = {}, Nf = {
|
|
2535
2535
|
} }, N = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_") }, A = "en", O = {};
|
2536
2536
|
O[A] = N;
|
2537
2537
|
var D = function(v) {
|
2538
|
-
return v instanceof
|
2538
|
+
return v instanceof Y;
|
2539
2539
|
}, j = function(v, b, y) {
|
2540
2540
|
var M;
|
2541
2541
|
if (!v)
|
@@ -2551,12 +2551,12 @@ var Nt = {}, Nf = {
|
|
2551
2551
|
if (D(v))
|
2552
2552
|
return v.clone();
|
2553
2553
|
var y = typeof b == "object" ? b : {};
|
2554
|
-
return y.date = v, y.args = arguments, new
|
2555
|
-
},
|
2556
|
-
|
2554
|
+
return y.date = v, y.args = arguments, new Y(y);
|
2555
|
+
}, T = f;
|
2556
|
+
T.l = j, T.i = D, T.w = function(v, b) {
|
2557
2557
|
return C(v, { locale: b.$L, utc: b.$u, $offset: b.$offset });
|
2558
2558
|
};
|
2559
|
-
var
|
2559
|
+
var Y = function() {
|
2560
2560
|
function v(y) {
|
2561
2561
|
this.$L = this.$L || j(y.locale, null, !0), this.parse(y);
|
2562
2562
|
}
|
@@ -2566,15 +2566,15 @@ var Nt = {}, Nf = {
|
|
2566
2566
|
var $ = M.date, S = M.utc;
|
2567
2567
|
if ($ === null)
|
2568
2568
|
return /* @__PURE__ */ new Date(NaN);
|
2569
|
-
if (
|
2569
|
+
if (T.u($))
|
2570
2570
|
return /* @__PURE__ */ new Date();
|
2571
2571
|
if ($ instanceof Date)
|
2572
2572
|
return new Date($);
|
2573
2573
|
if (typeof $ == "string" && !/Z$/i.test($)) {
|
2574
|
-
var
|
2575
|
-
if (
|
2576
|
-
var x =
|
2577
|
-
return S ? new Date(Date.UTC(
|
2574
|
+
var w = $.match(p);
|
2575
|
+
if (w) {
|
2576
|
+
var x = w[2] - 1 || 0, E = (w[7] || "0").substring(0, 3);
|
2577
|
+
return S ? new Date(Date.UTC(w[1], x, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, E)) : new Date(w[1], x, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, E);
|
2578
2578
|
}
|
2579
2579
|
}
|
2580
2580
|
return new Date($);
|
@@ -2583,7 +2583,7 @@ var Nt = {}, Nf = {
|
|
2583
2583
|
var y = this.$d;
|
2584
2584
|
this.$y = y.getFullYear(), this.$M = y.getMonth(), this.$D = y.getDate(), this.$W = y.getDay(), this.$H = y.getHours(), this.$m = y.getMinutes(), this.$s = y.getSeconds(), this.$ms = y.getMilliseconds();
|
2585
2585
|
}, b.$utils = function() {
|
2586
|
-
return
|
2586
|
+
return T;
|
2587
2587
|
}, b.isValid = function() {
|
2588
2588
|
return this.$d.toString() !== "Invalid Date";
|
2589
2589
|
}, b.isSame = function(y, M) {
|
@@ -2594,19 +2594,19 @@ var Nt = {}, Nf = {
|
|
2594
2594
|
}, b.isBefore = function(y, M) {
|
2595
2595
|
return this.endOf(M) < C(y);
|
2596
2596
|
}, b.$g = function(y, M, $) {
|
2597
|
-
return
|
2597
|
+
return T.u(y) ? this[M] : this.set($, y);
|
2598
2598
|
}, b.unix = function() {
|
2599
2599
|
return Math.floor(this.valueOf() / 1e3);
|
2600
2600
|
}, b.valueOf = function() {
|
2601
2601
|
return this.$d.getTime();
|
2602
2602
|
}, b.startOf = function(y, M) {
|
2603
|
-
var $ = this, S = !!
|
2604
|
-
var $t =
|
2603
|
+
var $ = this, S = !!T.u(M) || M, w = T.p(y), x = function(At, rt) {
|
2604
|
+
var $t = T.w($.$u ? Date.UTC($.$y, rt, At) : new Date($.$y, rt, At), $);
|
2605
2605
|
return S ? $t : $t.endOf(i);
|
2606
|
-
},
|
2607
|
-
return
|
2606
|
+
}, E = function(At, rt) {
|
2607
|
+
return T.w($.toDate()[At].apply($.toDate("s"), (S ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(rt)), $);
|
2608
2608
|
}, H = this.$W, K = this.$M, lt = this.$D, st = "set" + (this.$u ? "UTC" : "");
|
2609
|
-
switch (
|
2609
|
+
switch (w) {
|
2610
2610
|
case c:
|
2611
2611
|
return S ? x(1, 0) : x(31, 11);
|
2612
2612
|
case _:
|
@@ -2616,69 +2616,69 @@ var Nt = {}, Nf = {
|
|
2616
2616
|
return x(S ? lt - bt : lt + (6 - bt), K);
|
2617
2617
|
case i:
|
2618
2618
|
case u:
|
2619
|
-
return
|
2619
|
+
return E(st + "Hours", 0);
|
2620
2620
|
case s:
|
2621
|
-
return
|
2621
|
+
return E(st + "Minutes", 1);
|
2622
2622
|
case r:
|
2623
|
-
return
|
2623
|
+
return E(st + "Seconds", 2);
|
2624
2624
|
case n:
|
2625
|
-
return
|
2625
|
+
return E(st + "Milliseconds", 3);
|
2626
2626
|
default:
|
2627
2627
|
return this.clone();
|
2628
2628
|
}
|
2629
2629
|
}, b.endOf = function(y) {
|
2630
2630
|
return this.startOf(y, !1);
|
2631
2631
|
}, b.$set = function(y, M) {
|
2632
|
-
var $, S =
|
2632
|
+
var $, S = T.p(y), w = "set" + (this.$u ? "UTC" : ""), x = ($ = {}, $[i] = w + "Date", $[u] = w + "Date", $[_] = w + "Month", $[c] = w + "FullYear", $[s] = w + "Hours", $[r] = w + "Minutes", $[n] = w + "Seconds", $[e] = w + "Milliseconds", $)[S], E = S === i ? this.$D + (M - this.$W) : M;
|
2633
2633
|
if (S === _ || S === c) {
|
2634
2634
|
var H = this.clone().set(u, 1);
|
2635
|
-
H.$d[x](
|
2635
|
+
H.$d[x](E), H.init(), this.$d = H.set(u, Math.min(this.$D, H.daysInMonth())).$d;
|
2636
2636
|
} else
|
2637
|
-
x && this.$d[x](
|
2637
|
+
x && this.$d[x](E);
|
2638
2638
|
return this.init(), this;
|
2639
2639
|
}, b.set = function(y, M) {
|
2640
2640
|
return this.clone().$set(y, M);
|
2641
2641
|
}, b.get = function(y) {
|
2642
|
-
return this[
|
2642
|
+
return this[T.p(y)]();
|
2643
2643
|
}, b.add = function(y, M) {
|
2644
2644
|
var $, S = this;
|
2645
2645
|
y = Number(y);
|
2646
|
-
var
|
2646
|
+
var w = T.p(M), x = function(K) {
|
2647
2647
|
var lt = C(S);
|
2648
|
-
return
|
2648
|
+
return T.w(lt.date(lt.date() + Math.round(K * y)), S);
|
2649
2649
|
};
|
2650
|
-
if (
|
2650
|
+
if (w === _)
|
2651
2651
|
return this.set(_, this.$M + y);
|
2652
|
-
if (
|
2652
|
+
if (w === c)
|
2653
2653
|
return this.set(c, this.$y + y);
|
2654
|
-
if (
|
2654
|
+
if (w === i)
|
2655
2655
|
return x(1);
|
2656
|
-
if (
|
2656
|
+
if (w === l)
|
2657
2657
|
return x(7);
|
2658
|
-
var
|
2659
|
-
return
|
2658
|
+
var E = ($ = {}, $[r] = 6e4, $[s] = 36e5, $[n] = 1e3, $)[w] || 1, H = this.$d.getTime() + y * E;
|
2659
|
+
return T.w(H, this);
|
2660
2660
|
}, b.subtract = function(y, M) {
|
2661
2661
|
return this.add(-1 * y, M);
|
2662
2662
|
}, b.format = function(y) {
|
2663
2663
|
var M = this;
|
2664
2664
|
if (!this.isValid())
|
2665
2665
|
return "Invalid Date";
|
2666
|
-
var $ = y || "YYYY-MM-DDTHH:mm:ssZ", S =
|
2666
|
+
var $ = y || "YYYY-MM-DDTHH:mm:ssZ", S = T.z(this), w = this.$locale(), x = this.$H, E = this.$m, H = this.$M, K = w.weekdays, lt = w.months, st = function(rt, $t, Vt, Ht) {
|
2667
2667
|
return rt && (rt[$t] || rt(M, $)) || Vt[$t].substr(0, Ht);
|
2668
2668
|
}, it = function(rt) {
|
2669
|
-
return
|
2670
|
-
}, bt =
|
2669
|
+
return T.s(x % 12 || 12, rt, "0");
|
2670
|
+
}, bt = w.meridiem || function(rt, $t, Vt) {
|
2671
2671
|
var Ht = rt < 12 ? "AM" : "PM";
|
2672
2672
|
return Vt ? Ht.toLowerCase() : Ht;
|
2673
|
-
}, At = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: H + 1, MM:
|
2673
|
+
}, At = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: H + 1, MM: T.s(H + 1, 2, "0"), MMM: st(w.monthsShort, H, lt, 3), MMMM: st(lt, H), D: this.$D, DD: T.s(this.$D, 2, "0"), d: String(this.$W), dd: st(w.weekdaysMin, this.$W, K, 2), ddd: st(w.weekdaysShort, this.$W, K, 3), dddd: K[this.$W], H: String(x), HH: T.s(x, 2, "0"), h: it(1), hh: it(2), a: bt(x, E, !0), A: bt(x, E, !1), m: String(E), mm: T.s(E, 2, "0"), s: String(this.$s), ss: T.s(this.$s, 2, "0"), SSS: T.s(this.$ms, 3, "0"), Z: S };
|
2674
2674
|
return $.replace(h, function(rt, $t) {
|
2675
2675
|
return $t || At[rt] || S.replace(":", "");
|
2676
2676
|
});
|
2677
2677
|
}, b.utcOffset = function() {
|
2678
2678
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
2679
2679
|
}, b.diff = function(y, M, $) {
|
2680
|
-
var S,
|
2681
|
-
return K = (S = {}, S[c] = K / 12, S[_] = K, S[d] = K / 3, S[l] = (H -
|
2680
|
+
var S, w = T.p(M), x = C(y), E = 6e4 * (x.utcOffset() - this.utcOffset()), H = this - x, K = T.m(this, x);
|
2681
|
+
return K = (S = {}, S[c] = K / 12, S[_] = K, S[d] = K / 3, S[l] = (H - E) / 6048e5, S[i] = (H - E) / 864e5, S[s] = H / 36e5, S[r] = H / 6e4, S[n] = H / 1e3, S)[w] || H, $ ? K : T.a(K);
|
2682
2682
|
}, b.daysInMonth = function() {
|
2683
2683
|
return this.endOf(_).$D;
|
2684
2684
|
}, b.$locale = function() {
|
@@ -2689,7 +2689,7 @@ var Nt = {}, Nf = {
|
|
2689
2689
|
var $ = this.clone(), S = j(y, M, !0);
|
2690
2690
|
return S && ($.$L = S), $;
|
2691
2691
|
}, b.clone = function() {
|
2692
|
-
return
|
2692
|
+
return T.w(this.$d, this);
|
2693
2693
|
}, b.toDate = function() {
|
2694
2694
|
return new Date(this.valueOf());
|
2695
2695
|
}, b.toJSON = function() {
|
@@ -2699,13 +2699,13 @@ var Nt = {}, Nf = {
|
|
2699
2699
|
}, b.toString = function() {
|
2700
2700
|
return this.$d.toUTCString();
|
2701
2701
|
}, v;
|
2702
|
-
}(), z =
|
2702
|
+
}(), z = Y.prototype;
|
2703
2703
|
return C.prototype = z, [["$ms", e], ["$s", n], ["$m", r], ["$H", s], ["$W", i], ["$M", _], ["$y", c], ["$D", u]].forEach(function(v) {
|
2704
2704
|
z[v[1]] = function(b) {
|
2705
2705
|
return this.$g(b, v[0], v[1]);
|
2706
2706
|
};
|
2707
2707
|
}), C.extend = function(v, b) {
|
2708
|
-
return v(b,
|
2708
|
+
return v(b, Y, C), C;
|
2709
2709
|
}, C.locale = j, C.isDayjs = D, C.unix = function(v) {
|
2710
2710
|
return C(1e3 * v);
|
2711
2711
|
}, C.en = O[A], C.Ls = O, C;
|
@@ -2913,9 +2913,9 @@ const on = (t, o = "DD.MM.YYYY", e = "en") => t ? Tf(t).locale(e).format(o) : ""
|
|
2913
2913
|
}, If = ({
|
2914
2914
|
oddFormatter: t
|
2915
2915
|
}) => {
|
2916
|
-
const o = U(), e =
|
2916
|
+
const o = U(), e = B(o), n = (o == null ? void 0 : o.device) || "desktop", r = L(k({}, e == null ? void 0 : e.teamALogo), {
|
2917
2917
|
backgroundImage: m(e, "match.teams[0].logo")
|
2918
|
-
}), s =
|
2918
|
+
}), s = L(k({}, e == null ? void 0 : e.teamBLogo), {
|
2919
2919
|
backgroundImage: m(e, "match.teams[1].logo")
|
2920
2920
|
}), i = m(e, "match.lang_slug", "ru"), l = m(e, "match.sport_slug"), _ = on(m(e, "match.match_date"), "HH:mm", i), d = on(m(e, "match.match_date"), "DD MMMM", i), u = m(e, "root.predictionLength", "full") === "full" ? m(e, "match.prediction.value") : m(e, "match.prediction.value_short") || m(e, "match.prediction.value"), p = Number(m(e, "match.prediction.factor", 0)).toFixed(2);
|
2921
2921
|
return a("div", {
|
@@ -2935,7 +2935,7 @@ const on = (t, o = "DD.MM.YYYY", e = "en") => t ? Tf(t).locale(e).format(o) : ""
|
|
2935
2935
|
}), a("div", {
|
2936
2936
|
className: ot.teamName,
|
2937
2937
|
style: e.teams,
|
2938
|
-
children: a(Dt,
|
2938
|
+
children: a(Dt, L(k({}, m(e, "match.teams[0]")), {
|
2939
2939
|
fallback: "Team A"
|
2940
2940
|
}))
|
2941
2941
|
})]
|
@@ -2975,19 +2975,19 @@ const on = (t, o = "DD.MM.YYYY", e = "en") => t ? Tf(t).locale(e).format(o) : ""
|
|
2975
2975
|
}), a("div", {
|
2976
2976
|
className: ot.teamName,
|
2977
2977
|
style: e.teams,
|
2978
|
-
children: a(Dt,
|
2978
|
+
children: a(Dt, L(k({}, m(e, "match.teams[1]")), {
|
2979
2979
|
fallback: "Team B"
|
2980
2980
|
}))
|
2981
2981
|
})]
|
2982
2982
|
})]
|
2983
2983
|
});
|
2984
|
-
},
|
2984
|
+
}, En = (t, o, e = {
|
2985
2985
|
parse: !0
|
2986
2986
|
}) => {
|
2987
2987
|
const {
|
2988
2988
|
parse: n
|
2989
2989
|
} = e;
|
2990
|
-
t =
|
2990
|
+
t = Et(() => {
|
2991
2991
|
try {
|
2992
2992
|
return ed(t || "", o);
|
2993
2993
|
} catch (r) {
|
@@ -3006,7 +3006,7 @@ const on = (t, o = "DD.MM.YYYY", e = "en") => t ? Tf(t).locale(e).format(o) : ""
|
|
3006
3006
|
method: n,
|
3007
3007
|
body: r
|
3008
3008
|
}) => {
|
3009
|
-
const [s, i] = yt(!1), [l, _] = yt(), d =
|
3009
|
+
const [s, i] = yt(!1), [l, _] = yt(), d = Et(() => {
|
3010
3010
|
if (t != null && t.includes("undefined") || t != null && t.includes("null"))
|
3011
3011
|
return;
|
3012
3012
|
let u = t;
|
@@ -3114,7 +3114,7 @@ const Df = (t) => {
|
|
3114
3114
|
}, Rf = (t, o, e) => {
|
3115
3115
|
const n = (u) => {
|
3116
3116
|
var p;
|
3117
|
-
return
|
3117
|
+
return V(u == null ? void 0 : u.matchSlug) && ((p = u == null ? void 0 : u.matchSlug) == null ? void 0 : p.length) > 0;
|
3118
3118
|
}, r = t.children || [], s = r.filter((u) => n(u.root.targetMatch)).map((u) => u.root.targetMatch), i = we(s), {
|
3119
3119
|
data: l,
|
3120
3120
|
execute: _
|
@@ -3144,8 +3144,8 @@ const Df = (t) => {
|
|
3144
3144
|
const p = (l || []).find((f) => f.slug === u.root.targetMatch.matchSlug);
|
3145
3145
|
if (!p)
|
3146
3146
|
return;
|
3147
|
-
const h = ne(p), g = ze(h, u.root.customMatch, (f, [N, A]) =>
|
3148
|
-
return
|
3147
|
+
const h = ne(p), g = ze(h, u.root.customMatch, (f, [N, A]) => V(A));
|
3148
|
+
return L(k({}, u), {
|
3149
3149
|
match: g
|
3150
3150
|
});
|
3151
3151
|
}).filter(Boolean);
|
@@ -3164,36 +3164,36 @@ const Df = (t) => {
|
|
3164
3164
|
id: t
|
3165
3165
|
}), _ = U(), d = Lt(_, l);
|
3166
3166
|
d && (Bt(d, "buttonWrapper.percent_width", (lt = d == null ? void 0 : d.buttonWrapper) == null ? void 0 : lt.width), Bt(d, "legal.percent_width", (st = d == null ? void 0 : d.legal) == null ? void 0 : st.width));
|
3167
|
-
const c =
|
3167
|
+
const c = B(d);
|
3168
3168
|
wt(d);
|
3169
3169
|
const u = m(c, "root.delay", 0), h = m(c, "children", []).find((Ce) => Ce.name === "auto"), {
|
3170
3170
|
isOpen: g,
|
3171
3171
|
apiHost: f,
|
3172
3172
|
clickHide: N,
|
3173
3173
|
click: A
|
3174
|
-
} = Ke(n, u, !0), O = m(c, "close.variant", "default"), D = m(c, "close.radius", 21), j = m(c, "close.colorDirection", "default"), C = m(c, "close.timeoutLock", !1),
|
3174
|
+
} = Ke(n, u, !0), O = m(c, "close.variant", "default"), D = m(c, "close.radius", 21), j = m(c, "close.colorDirection", "default"), C = m(c, "close.timeoutLock", !1), T = O === "timer" ? r <= 0 : !0, Y = O === "timer" && C && r > 0 ? "div" : "a", {
|
3175
3175
|
expressMatches: z,
|
3176
3176
|
autoMatch: v
|
3177
3177
|
} = Rf(d, f, h ? o : void 0);
|
3178
3178
|
h && (h.match = v);
|
3179
|
-
const b =
|
3179
|
+
const b = L(k({}, c.root), {
|
3180
3180
|
alignItems: jt((it = c.root) == null ? void 0 : it.align)
|
3181
|
-
}), y =
|
3181
|
+
}), y = L(k({}, c.content), {
|
3182
3182
|
alignItems: jt((bt = c.root) == null ? void 0 : bt.align)
|
3183
|
-
}), M =
|
3183
|
+
}), M = L(k({}, c.text), {
|
3184
3184
|
textAlign: (At = c.root) == null ? void 0 : At.align
|
3185
|
-
}), $ =
|
3185
|
+
}), $ = L(k({}, c == null ? void 0 : c.button), {
|
3186
3186
|
justifyContent: jt((rt = c.root) == null ? void 0 : rt.textAlign)
|
3187
|
-
}), S =
|
3187
|
+
}), S = L(k({}, c == null ? void 0 : c.legal), {
|
3188
3188
|
justifyContent: jt(($t = c.root) == null ? void 0 : $t.textAlign)
|
3189
|
-
}),
|
3190
|
-
bonusValue:
|
3191
|
-
clearResult: (
|
3192
|
-
rawResult: (
|
3189
|
+
}), w = +m(h, "root.bonusValue", 0), x = +m(h, "match.prediction.factor", 0), E = En((Vt = c.text) == null ? void 0 : Vt.children, {
|
3190
|
+
bonusValue: w,
|
3191
|
+
clearResult: (w * x - w).toFixed(0),
|
3192
|
+
rawResult: (w * x).toFixed(0),
|
3193
3193
|
rate: x
|
3194
3194
|
}, {
|
3195
3195
|
parse: !1
|
3196
|
-
}), H = x === 0 ? m(c, "text.fallbackChildren") :
|
3196
|
+
}), H = x === 0 ? m(c, "text.fallbackChildren") : E, K = (Ht = c.root) == null ? void 0 : Ht.corner;
|
3197
3197
|
return a("div", {
|
3198
3198
|
className: R(tt.root, {
|
3199
3199
|
[tt.desktop]: l === "desktop",
|
@@ -3207,12 +3207,12 @@ const Df = (t) => {
|
|
3207
3207
|
children: [a("div", {
|
3208
3208
|
className: tt.overlay,
|
3209
3209
|
style: c.overlay,
|
3210
|
-
onClick:
|
3210
|
+
onClick: T && N
|
3211
3211
|
}), a("div", {
|
3212
3212
|
className: tt.content,
|
3213
3213
|
children: [O === "default" ? a("div", {
|
3214
3214
|
className: tt.close,
|
3215
|
-
style:
|
3215
|
+
style: L(k({}, c.close), {
|
3216
3216
|
borderBottomLeftRadius: `${K}px`,
|
3217
3217
|
borderTopRightRadius: `${K}px`
|
3218
3218
|
}),
|
@@ -3234,12 +3234,12 @@ const Df = (t) => {
|
|
3234
3234
|
className: tt.promotion,
|
3235
3235
|
style: c.promotion,
|
3236
3236
|
children: (Xe = c.promotion) == null ? void 0 : Xe.children
|
3237
|
-
}), a(
|
3237
|
+
}), a(Y, {
|
3238
3238
|
ref: i,
|
3239
3239
|
href: (Qe = c.root) == null ? void 0 : Qe.offer,
|
3240
3240
|
target: "_blank",
|
3241
3241
|
rel: "nofollow noopener noreferrer",
|
3242
|
-
onClick: () =>
|
3242
|
+
onClick: () => Y === "a" && A(c.id),
|
3243
3243
|
children: a("div", {
|
3244
3244
|
className: tt.body,
|
3245
3245
|
style: b,
|
@@ -3257,13 +3257,13 @@ const Df = (t) => {
|
|
3257
3257
|
className: tt.wrapper,
|
3258
3258
|
style: y,
|
3259
3259
|
children: [(z != null ? z : []).map((Ce) => a(xt, {
|
3260
|
-
value:
|
3260
|
+
value: L(k({}, Ce), {
|
3261
3261
|
device: l
|
3262
3262
|
}),
|
3263
3263
|
oddFormatter: e,
|
3264
3264
|
children: a(rf, {})
|
3265
3265
|
})), h && a(xt, {
|
3266
|
-
value:
|
3266
|
+
value: L(k({}, h), {
|
3267
3267
|
device: l
|
3268
3268
|
}),
|
3269
3269
|
children: a(If, {
|
@@ -3297,11 +3297,11 @@ const Df = (t) => {
|
|
3297
3297
|
})]
|
3298
3298
|
})]
|
3299
3299
|
});
|
3300
|
-
}), Fh = Tt(a(Hf, {})), Yf = "_root_1ctra_1", Bf = "_background_1ctra_18",
|
3300
|
+
}), Fh = Tt(a(Hf, {})), Yf = "_root_1ctra_1", Bf = "_background_1ctra_18", Ef = "_body_1ctra_27", Pf = "_bookmaker_1ctra_36", Vf = "_button_1ctra_43", Gf = "_rowFirst_1ctra_58", Ff = "_rowSecond_1ctra_64", Wf = "_legal_1ctra_70", Uf = "_legalText_1ctra_89", zf = "_legalOpen_1ctra_98", Kf = "_legalStatic_1ctra_102", Zf = "_legalButton_1ctra_106", ft = {
|
3301
3301
|
root: Yf,
|
3302
3302
|
background: Bf,
|
3303
|
-
body:
|
3304
|
-
bookmaker:
|
3303
|
+
body: Ef,
|
3304
|
+
bookmaker: Pf,
|
3305
3305
|
button: Vf,
|
3306
3306
|
rowFirst: Gf,
|
3307
3307
|
rowSecond: Ff,
|
@@ -3314,7 +3314,7 @@ const Df = (t) => {
|
|
3314
3314
|
onClick: t
|
3315
3315
|
}) => {
|
3316
3316
|
var i, l, _, d, c, u, p, h, g, f, N;
|
3317
|
-
const o = U(), e =
|
3317
|
+
const o = U(), e = B(o), [n, r] = ie(), s = !!((i = e.legalInfoButton) != null && i.closeText && ((_ = (l = e.legalInfoButton) == null ? void 0 : l.closeText) == null ? void 0 : _.length) > 0);
|
3318
3318
|
return a("div", {
|
3319
3319
|
className: ft.root,
|
3320
3320
|
style: vt(e.root, ...ut),
|
@@ -3365,7 +3365,7 @@ const Df = (t) => {
|
|
3365
3365
|
});
|
3366
3366
|
}, qf = (t) => {
|
3367
3367
|
const o = et(Ue()), e = (n) => o.current.on("click", n);
|
3368
|
-
return
|
3368
|
+
return Ee(t, () => ({
|
3369
3369
|
promoId: "ContentCards",
|
3370
3370
|
onClick: e,
|
3371
3371
|
resetListeners: o.current.reset
|
@@ -3374,7 +3374,7 @@ const Df = (t) => {
|
|
3374
3374
|
onClick: e
|
3375
3375
|
};
|
3376
3376
|
}, Xf = zt((t, o) => {
|
3377
|
-
const e = et(null), n = U(), s = Lt(n, "mobile"), i =
|
3377
|
+
const e = et(null), n = U(), s = Lt(n, "mobile"), i = B(s);
|
3378
3378
|
wt(s);
|
3379
3379
|
const {
|
3380
3380
|
click: l
|
@@ -3418,7 +3418,7 @@ const Df = (t) => {
|
|
3418
3418
|
desktop: yg
|
3419
3419
|
}, vg = () => {
|
3420
3420
|
var e, n, r;
|
3421
|
-
const t = U(), o =
|
3421
|
+
const t = U(), o = B(t);
|
3422
3422
|
return a("div", {
|
3423
3423
|
className: R(nn.root, {
|
3424
3424
|
[nn.desktop]: (t == null ? void 0 : t.device) === "desktop"
|
@@ -3453,10 +3453,10 @@ const Df = (t) => {
|
|
3453
3453
|
oddFormatter: t
|
3454
3454
|
}) => {
|
3455
3455
|
var l, _;
|
3456
|
-
const o = U(), e =
|
3456
|
+
const o = U(), e = B(o), n = m(e, "match.sportSlug"), r = vt(e.root, ...ut), s = L(k({}, e.teamLogo), {
|
3457
3457
|
backgroundImage: Wt(m(e, "match.teams[0].logo"), [120, 120]),
|
3458
3458
|
backgroundColor: "transparent"
|
3459
|
-
}), i =
|
3459
|
+
}), i = L(k({}, e.teamLogo), {
|
3460
3460
|
backgroundImage: Wt(m(e, "match.teams[1].logo"), [120, 120]),
|
3461
3461
|
backgroundColor: "transparent"
|
3462
3462
|
});
|
@@ -3532,26 +3532,26 @@ const Df = (t) => {
|
|
3532
3532
|
children: [a("div", {
|
3533
3533
|
className: X.teamName,
|
3534
3534
|
style: e.teamName,
|
3535
|
-
children: a(Dt,
|
3535
|
+
children: a(Dt, L(k({}, m(e, "match.teams[0]")), {
|
3536
3536
|
fallback: "Team A"
|
3537
3537
|
}))
|
3538
3538
|
}), a("div", {
|
3539
3539
|
className: X.teamName,
|
3540
3540
|
style: e.teamName,
|
3541
|
-
children: a(Dt,
|
3541
|
+
children: a(Dt, L(k({}, m(e, "match.teams[1]")), {
|
3542
3542
|
fallback: "Team B"
|
3543
3543
|
}))
|
3544
3544
|
})]
|
3545
3545
|
})]
|
3546
3546
|
});
|
3547
|
-
}, Dg = "_root_31lck_1", Rg = "_title_31lck_8", Hg = "_titleLabel_31lck_13", Yg = "_tablet_31lck_16", Bg = "_desktop_31lck_19",
|
3547
|
+
}, Dg = "_root_31lck_1", Rg = "_title_31lck_8", Hg = "_titleLabel_31lck_13", Yg = "_tablet_31lck_16", Bg = "_desktop_31lck_19", Eg = "_laptop_31lck_19", Pg = "_titleValue_31lck_23", Vg = "_team_31lck_34", Gg = "_teamLogo_31lck_45", Fg = "_teamName_31lck_73", Wg = "_teamValue_31lck_81", Ug = "_wrapper_31lck_98", zg = "_logos_31lck_106", Kg = "_national_31lck_119", Zg = "_names_31lck_129", Jg = "_odds_31lck_129", nt = {
|
3548
3548
|
root: Dg,
|
3549
3549
|
title: Rg,
|
3550
3550
|
titleLabel: Hg,
|
3551
3551
|
tablet: Yg,
|
3552
3552
|
desktop: Bg,
|
3553
|
-
laptop:
|
3554
|
-
titleValue:
|
3553
|
+
laptop: Eg,
|
3554
|
+
titleValue: Pg,
|
3555
3555
|
team: Vg,
|
3556
3556
|
teamLogo: Gg,
|
3557
3557
|
teamName: Fg,
|
@@ -3565,10 +3565,10 @@ const Df = (t) => {
|
|
3565
3565
|
oddFormatter: t
|
3566
3566
|
}) => {
|
3567
3567
|
var i, l;
|
3568
|
-
const o = U(), e =
|
3568
|
+
const o = U(), e = B(o), n = m(e, "match.sportSlug"), r = L(k(k({}, St(e.root, ...ut)), e.teamLogo), {
|
3569
3569
|
backgroundColor: "transparent",
|
3570
3570
|
backgroundImage: Wt(m(e, "match.teams[0].logo"), [120, 120])
|
3571
|
-
}), s =
|
3571
|
+
}), s = L(k(k({}, St(e.root, ...ut)), e.teamLogo), {
|
3572
3572
|
backgroundColor: "transparent",
|
3573
3573
|
backgroundImage: Wt(m(e, "match.teams[1].logo"), [120, 120])
|
3574
3574
|
});
|
@@ -3613,13 +3613,13 @@ const Df = (t) => {
|
|
3613
3613
|
children: [a("div", {
|
3614
3614
|
className: nt.teamName,
|
3615
3615
|
style: e.teamName,
|
3616
|
-
children: a(Dt,
|
3616
|
+
children: a(Dt, L(k({}, m(e, "match.teams[0]")), {
|
3617
3617
|
fallback: "Team A"
|
3618
3618
|
}))
|
3619
3619
|
}), a("div", {
|
3620
3620
|
className: nt.teamName,
|
3621
3621
|
style: e.teamName,
|
3622
|
-
children: a(Dt,
|
3622
|
+
children: a(Dt, L(k({}, m(e, "match.teams[1]")), {
|
3623
3623
|
fallback: "Team B"
|
3624
3624
|
}))
|
3625
3625
|
})]
|
@@ -3661,8 +3661,8 @@ const Df = (t) => {
|
|
3661
3661
|
}, rn = (t) => [Qg[t]], tm = (t, o, e) => {
|
3662
3662
|
const n = (p) => {
|
3663
3663
|
var h;
|
3664
|
-
return
|
3665
|
-
}, r = (t == null ? void 0 : t.children) || [], s = r.filter((p) => n(p.root.targetMatch)).map((p) =>
|
3664
|
+
return V(p == null ? void 0 : p.matchSlug) && ((h = p == null ? void 0 : p.matchSlug) == null ? void 0 : h.length) > 0 || (p == null ? void 0 : p.isAuto);
|
3665
|
+
}, r = (t == null ? void 0 : t.children) || [], s = r.filter((p) => n(p.root.targetMatch)).map((p) => L(k({}, p.root.targetMatch), {
|
3666
3666
|
markets: rn(p.name)
|
3667
3667
|
})), i = s.find((p) => p.isAuto), l = we(s), {
|
3668
3668
|
data: _,
|
@@ -3686,7 +3686,7 @@ const Df = (t) => {
|
|
3686
3686
|
dependsOn: "markets",
|
3687
3687
|
apiHost: o,
|
3688
3688
|
pause: !i || !e,
|
3689
|
-
match:
|
3689
|
+
match: L(k({}, e), {
|
3690
3690
|
markets: i == null ? void 0 : i.markets,
|
3691
3691
|
bookmaker: i == null ? void 0 : i.bookmaker
|
3692
3692
|
})
|
@@ -3698,7 +3698,7 @@ const Df = (t) => {
|
|
3698
3698
|
if ("targetMatch" in p.root) {
|
3699
3699
|
const f = rn(p.name), N = (_ || []).find((j) => j.slug === p.root.targetMatch.matchSlug);
|
3700
3700
|
if (((g = (h = p == null ? void 0 : p.root) == null ? void 0 : h.targetMatch) == null ? void 0 : g.isAuto) && c)
|
3701
|
-
return
|
3701
|
+
return L(k({}, p), {
|
3702
3702
|
match: ne(c, {
|
3703
3703
|
markets: f
|
3704
3704
|
})
|
@@ -3707,8 +3707,8 @@ const Df = (t) => {
|
|
3707
3707
|
return;
|
3708
3708
|
const O = ne(N, {
|
3709
3709
|
markets: f
|
3710
|
-
}), D = ze(O, p.root.customMatch, (j, [C,
|
3711
|
-
return
|
3710
|
+
}), D = ze(O, p.root.customMatch, (j, [C, T]) => V(T));
|
3711
|
+
return L(k({}, p), {
|
3712
3712
|
match: D
|
3713
3713
|
});
|
3714
3714
|
}
|
@@ -3722,11 +3722,11 @@ const Df = (t) => {
|
|
3722
3722
|
onClose: r,
|
3723
3723
|
onClick: s
|
3724
3724
|
}) => {
|
3725
|
-
var j, C,
|
3725
|
+
var j, C, T, Y, z;
|
3726
3726
|
const i = et(null), l = U(), _ = Ot({
|
3727
3727
|
id: t,
|
3728
3728
|
targetRef: i
|
3729
|
-
}), d = Lt(l, _), c =
|
3729
|
+
}), d = Lt(l, _), c = B(d);
|
3730
3730
|
wt(d);
|
3731
3731
|
const u = tm(c, n, o), p = (v) => ({
|
3732
3732
|
text: a(vg, {}),
|
@@ -3738,14 +3738,14 @@ const Df = (t) => {
|
|
3738
3738
|
})
|
3739
3739
|
})[v], h = u.filter(Boolean).map((v) => {
|
3740
3740
|
var b, y;
|
3741
|
-
return
|
3741
|
+
return L(k({}, v), {
|
3742
3742
|
animationName: (b = v == null ? void 0 : v.root) == null ? void 0 : b.animationName,
|
3743
3743
|
animationDuration: ((y = v == null ? void 0 : v.root) == null ? void 0 : y.animationDuration) || em
|
3744
3744
|
});
|
3745
3745
|
}), {
|
3746
3746
|
animatedIdx: g,
|
3747
3747
|
countOfTick: f
|
3748
|
-
} = Xg(h), N =
|
3748
|
+
} = Xg(h), N = B(h[g] || {}), A = (h == null ? void 0 : h.length) > 1 && f !== 0, O = vt(c.root, ...ut), D = (j = N == null ? void 0 : N.root) != null && j.hasCustomBackground ? St((N == null ? void 0 : N.root) || {}, ...ut) : St(c.root, ...ut);
|
3749
3749
|
return a("div", {
|
3750
3750
|
ref: i,
|
3751
3751
|
className: R(Z.root, {
|
@@ -3766,9 +3766,9 @@ const Df = (t) => {
|
|
3766
3766
|
}), a("div", {
|
3767
3767
|
className: Z.promotion,
|
3768
3768
|
style: c.promotion,
|
3769
|
-
children: (
|
3769
|
+
children: (T = c.promotion) == null ? void 0 : T.children
|
3770
3770
|
}), a("a", {
|
3771
|
-
href: (
|
3771
|
+
href: (Y = c.root) == null ? void 0 : Y.offer,
|
3772
3772
|
target: "_blank",
|
3773
3773
|
rel: "nofollow noopener noreferrer",
|
3774
3774
|
onClick: s,
|
@@ -3797,7 +3797,7 @@ const Df = (t) => {
|
|
3797
3797
|
animationDuration: `${($ = v.root) == null ? void 0 : $.animationDuration}ms`
|
3798
3798
|
},
|
3799
3799
|
children: a(xt, {
|
3800
|
-
value:
|
3800
|
+
value: L(k({}, v), {
|
3801
3801
|
device: _
|
3802
3802
|
}),
|
3803
3803
|
children: p(v.name)
|
@@ -3845,8 +3845,8 @@ const Df = (t) => {
|
|
3845
3845
|
}, zh = (t, o, e, n, r = id) => {
|
3846
3846
|
const s = k({}, t);
|
3847
3847
|
return r.forEach((i) => {
|
3848
|
-
s[o] =
|
3849
|
-
[i]:
|
3848
|
+
s[o] = L(k({}, s[o]), {
|
3849
|
+
[i]: L(k({}, s[o][i]), {
|
3850
3850
|
[e]: typeof n == "function" ? n(m(s, `${o}.${i}.${e}`)) : n
|
3851
3851
|
})
|
3852
3852
|
});
|
@@ -3855,7 +3855,7 @@ const Df = (t) => {
|
|
3855
3855
|
const o = t == null ? void 0 : t.backgroundColor;
|
3856
3856
|
if (!o)
|
3857
3857
|
return t;
|
3858
|
-
const e =
|
3858
|
+
const e = L(k({}, t), {
|
3859
3859
|
color: o
|
3860
3860
|
});
|
3861
3861
|
return vt(e, "backgroundColor");
|
@@ -3888,7 +3888,7 @@ const Df = (t) => {
|
|
3888
3888
|
onClick: t
|
3889
3889
|
}) => {
|
3890
3890
|
var s, i, l, _, d, c, u, p, h;
|
3891
|
-
const o = U(), e =
|
3891
|
+
const o = U(), e = B(o), [n, r] = ie();
|
3892
3892
|
return a("div", {
|
3893
3893
|
className: Mt.root,
|
3894
3894
|
style: e.root,
|
@@ -3912,7 +3912,7 @@ const Df = (t) => {
|
|
3912
3912
|
children: e.button.children
|
3913
3913
|
}), a("div", {
|
3914
3914
|
className: Mt.backgroundLine,
|
3915
|
-
style:
|
3915
|
+
style: L(k({}, qe(e.line)), {
|
3916
3916
|
left: `calc(50% - ${(d = e.line) == null ? void 0 : d.left})`
|
3917
3917
|
}),
|
3918
3918
|
children: a(hm, {})
|
@@ -3955,7 +3955,7 @@ const Df = (t) => {
|
|
3955
3955
|
onClick: t
|
3956
3956
|
}) => {
|
3957
3957
|
var i, l, _, d, c, u, p, h, g, f, N;
|
3958
|
-
const o = U(), e =
|
3958
|
+
const o = U(), e = B(o), [n, r] = ie(), s = !!((i = e.legalInfoButton) != null && i.closeText && ((_ = (l = e.legalInfoButton) == null ? void 0 : l.closeText) == null ? void 0 : _.length) > 0);
|
3959
3959
|
return a("div", {
|
3960
3960
|
className: R(gt.root, {
|
3961
3961
|
[gt.open]: n,
|
@@ -4006,7 +4006,7 @@ const Df = (t) => {
|
|
4006
4006
|
});
|
4007
4007
|
}, Om = (t) => {
|
4008
4008
|
const o = et(Ue()), e = (r) => o.current.on("click", r), n = (r) => o.current.on("visible", r);
|
4009
|
-
return
|
4009
|
+
return Ee(t, () => ({
|
4010
4010
|
promoId: "ContentCards",
|
4011
4011
|
onClick: e,
|
4012
4012
|
onVisible: n,
|
@@ -4023,7 +4023,7 @@ const Df = (t) => {
|
|
4023
4023
|
const e = et(null), n = U(), r = Ot({
|
4024
4024
|
targetRef: e,
|
4025
4025
|
id: t
|
4026
|
-
}), s = Lt(n, r), i =
|
4026
|
+
}), s = Lt(n, r), i = B(s);
|
4027
4027
|
wt(s);
|
4028
4028
|
const {
|
4029
4029
|
click: l
|
@@ -4050,7 +4050,7 @@ const Df = (t) => {
|
|
4050
4050
|
}))
|
4051
4051
|
})
|
4052
4052
|
});
|
4053
|
-
}), Kh = Tt(a(Am, {})), jm = "_root_220na_1", Im = "_content_220na_7", Dm = "_desktop_220na_15", Rm = "_laptop_220na_15", Hm = "_text_220na_19", Ym = "_button_220na_26", Bm = "_buttonText_220na_43",
|
4053
|
+
}), Kh = Tt(a(Am, {})), jm = "_root_220na_1", Im = "_content_220na_7", Dm = "_desktop_220na_15", Rm = "_laptop_220na_15", Hm = "_text_220na_19", Ym = "_button_220na_26", Bm = "_buttonText_220na_43", Em = "_logo_220na_49", Pm = "_legal_220na_57", Vm = "_legalText_220na_68", Gm = "_legalOpen_220na_77", Fm = "_legalButton_220na_82", ct = {
|
4054
4054
|
root: jm,
|
4055
4055
|
content: Im,
|
4056
4056
|
desktop: Dm,
|
@@ -4058,8 +4058,8 @@ const Df = (t) => {
|
|
4058
4058
|
text: Hm,
|
4059
4059
|
button: Ym,
|
4060
4060
|
buttonText: Bm,
|
4061
|
-
logo:
|
4062
|
-
legal:
|
4061
|
+
logo: Em,
|
4062
|
+
legal: Pm,
|
4063
4063
|
legalText: Vm,
|
4064
4064
|
legalOpen: Gm,
|
4065
4065
|
legalButton: Fm
|
@@ -4071,7 +4071,7 @@ const Df = (t) => {
|
|
4071
4071
|
const [n, r] = ie(), s = et(null), i = U(), l = Ot({
|
4072
4072
|
targetRef: s,
|
4073
4073
|
id: t
|
4074
|
-
}), _ = Lt(i, l), d =
|
4074
|
+
}), _ = Lt(i, l), d = B(_);
|
4075
4075
|
return wt(_), a("div", {
|
4076
4076
|
className: R(ct.root, {
|
4077
4077
|
[ct.legalOpen]: n,
|
@@ -4148,42 +4148,106 @@ const Df = (t) => {
|
|
4148
4148
|
button: _h,
|
4149
4149
|
buttonContent: dh,
|
4150
4150
|
legalText: uh
|
4151
|
-
}, ph =
|
4152
|
-
|
4153
|
-
|
4154
|
-
|
4155
|
-
|
4156
|
-
|
4157
|
-
|
4158
|
-
|
4159
|
-
|
4160
|
-
|
4161
|
-
|
4162
|
-
|
4163
|
-
|
4164
|
-
}
|
4151
|
+
}, ph = {
|
4152
|
+
matches: "one_x_two",
|
4153
|
+
matchesOneTwo: "one_two"
|
4154
|
+
}, an = (t) => [ph[t]], fh = (t, o, e) => {
|
4155
|
+
const n = (g) => {
|
4156
|
+
var f;
|
4157
|
+
return V(g == null ? void 0 : g.matchSlug) && ((f = g == null ? void 0 : g.matchSlug) == null ? void 0 : f.length) > 0 || (g == null ? void 0 : g.isAuto);
|
4158
|
+
}, r = (t == null ? void 0 : t.children) || [], s = r.filter((g) => n(g.root.targetMatch)).map((g) => L(k({}, g.root.targetMatch), {
|
4159
|
+
markets: an(g.name)
|
4160
|
+
})), i = s.find((g) => g.isAuto), l = we(s), {
|
4161
|
+
data: _,
|
4162
|
+
execute: d,
|
4163
|
+
fetching: c
|
4164
|
+
} = le(`${o}/match-list`, {
|
4165
|
+
method: "POST",
|
4166
|
+
body: {
|
4167
|
+
matches: s.map((g) => ({
|
4168
|
+
slug: g.matchSlug,
|
4169
|
+
sport_slug: g.sportSlug,
|
4170
|
+
lang: g.langSlug,
|
4171
|
+
bookmaker_slug: g.bookmaker,
|
4172
|
+
offset: g.offset,
|
4173
|
+
markets: g.markets
|
4174
|
+
}))
|
4175
|
+
},
|
4176
|
+
pause: !o || s.length === 0 || i
|
4177
|
+
}), {
|
4178
|
+
match: u,
|
4179
|
+
fetching: p
|
4180
|
+
} = Je({
|
4181
|
+
dependsOn: "prediction",
|
4182
|
+
apiHost: o,
|
4183
|
+
pause: !i,
|
4184
|
+
match: L(k({}, e), {
|
4185
|
+
markets: i == null ? void 0 : i.markets,
|
4186
|
+
bookmaker: i == null ? void 0 : i.bookmaker
|
4187
|
+
})
|
4188
|
+
});
|
4189
|
+
return Q(() => {
|
4190
|
+
Le(l, s) || d();
|
4191
|
+
}, [s]), {
|
4192
|
+
resultChildren: r.map((g) => {
|
4193
|
+
var f, N;
|
4194
|
+
if ("targetMatch" in g.root) {
|
4195
|
+
const A = an(g.name), O = (_ || []).find((T) => T.slug === g.root.targetMatch.matchSlug);
|
4196
|
+
if (((N = (f = g == null ? void 0 : g.root) == null ? void 0 : f.targetMatch) == null ? void 0 : N.isAuto) && u)
|
4197
|
+
return L(k({}, g), {
|
4198
|
+
match: ne(u, {
|
4199
|
+
markets: A
|
4200
|
+
})
|
4201
|
+
});
|
4202
|
+
if (!O)
|
4203
|
+
return;
|
4204
|
+
const j = ne(O, {
|
4205
|
+
markets: A
|
4206
|
+
}), C = ze(j, g.root.customMatch, (T, [Y, z]) => V(z));
|
4207
|
+
return L(k({}, g), {
|
4208
|
+
match: C
|
4209
|
+
});
|
4210
|
+
}
|
4211
|
+
return g;
|
4212
|
+
}).filter(Boolean),
|
4213
|
+
fetching: c || p
|
4214
|
+
};
|
4215
|
+
}, gh = "_root_15dhb_1", mh = "_desktop_15dhb_9", hh = "_logos_15dhb_13", yh = "_tablet_15dhb_24", vh = "_w1440_15dhb_24", bh = "_teamLogo_15dhb_29", $h = "_teamLogoInside_15dhb_53", kh = "_teams_15dhb_66", Mh = "_oddWrapper_15dhb_88", Nh = "_oddLabel_15dhb_101", Th = "_oddValue_15dhb_111", Lh = "_text_15dhb_125", mt = {
|
4216
|
+
root: gh,
|
4217
|
+
desktop: mh,
|
4218
|
+
logos: hh,
|
4219
|
+
tablet: yh,
|
4220
|
+
w1440: vh,
|
4221
|
+
teamLogo: bh,
|
4222
|
+
teamLogoInside: $h,
|
4223
|
+
teams: kh,
|
4224
|
+
oddWrapper: Mh,
|
4225
|
+
oddLabel: Nh,
|
4226
|
+
oddValue: Th,
|
4227
|
+
text: Lh
|
4228
|
+
}, wh = ({
|
4165
4229
|
oddFormatter: t,
|
4166
4230
|
device: o,
|
4167
4231
|
rootState: e
|
4168
4232
|
}) => {
|
4169
|
-
var
|
4170
|
-
const n = U(), r =
|
4171
|
-
alignItems: jt((
|
4172
|
-
}), c =
|
4173
|
-
var
|
4174
|
-
const
|
4233
|
+
var O, D, j, C;
|
4234
|
+
const n = U(), r = B(n), s = B(e), i = m(r, "match.sportSlug"), _ = m(r, "root.predictionLength", "full") === "full" ? m(r, "match.prediction.value") : m(r, "match.prediction.value_short") || m(r, "match.prediction.value"), d = L(k({}, vt(r.root, ...ut)), {
|
4235
|
+
alignItems: jt((O = s.container) == null ? void 0 : O.align)
|
4236
|
+
}), c = Et(() => {
|
4237
|
+
var Y;
|
4238
|
+
const T = (Y = {
|
4175
4239
|
desktop: 14,
|
4176
4240
|
tablet: 12
|
4177
|
-
}[o]) != null ?
|
4178
|
-
return [Ch.mobile].includes(o) && _.length > 35 ?
|
4179
|
-
}, [o, _]), u = m(r, "coef.backgroundColor", "#fff"), p =
|
4180
|
-
bonusValue:
|
4181
|
-
clearResult: (
|
4182
|
-
rawResult: (
|
4183
|
-
rate:
|
4241
|
+
}[o]) != null ? Y : 9;
|
4242
|
+
return [Ch.mobile].includes(o) && _.length > 35 ? T - 1 : T;
|
4243
|
+
}, [o, _]), u = m(r, "coef.backgroundColor", "#fff"), p = Number(m(r, "match.prediction.factor", 0)).toFixed(2), h = +m(n, "root.bonusValue", 0), g = +p, f = g === 0, N = En((D = r.text) == null ? void 0 : D.children, {
|
4244
|
+
bonusValue: h,
|
4245
|
+
clearResult: (h * g - h).toFixed(0),
|
4246
|
+
rawResult: (h * g).toFixed(0),
|
4247
|
+
rate: g
|
4184
4248
|
}, {
|
4185
4249
|
parse: !1
|
4186
|
-
}),
|
4250
|
+
}), A = f ? m(r, "text.fallbackChildren") : N;
|
4187
4251
|
return a("div", {
|
4188
4252
|
className: R(mt.root, mt[o]),
|
4189
4253
|
style: d,
|
@@ -4211,106 +4275,46 @@ const Df = (t) => {
|
|
4211
4275
|
}), a("div", {
|
4212
4276
|
className: mt.teams,
|
4213
4277
|
style: r == null ? void 0 : r.teamName,
|
4214
|
-
children: [a(
|
4215
|
-
|
4216
|
-
|
4278
|
+
children: [a("span", {
|
4279
|
+
children: a(Dt, L(k({}, m(r, "match.teams[0]")), {
|
4280
|
+
fallback: "Team A"
|
4281
|
+
}))
|
4282
|
+
}), !f && a("span", {
|
4217
4283
|
children: "—"
|
4218
|
-
}), a(
|
4219
|
-
|
4220
|
-
|
4221
|
-
|
4284
|
+
}), a("span", {
|
4285
|
+
children: a(Dt, L(k({}, m(r, "match.teams[1]")), {
|
4286
|
+
fallback: "Team B"
|
4287
|
+
}))
|
4288
|
+
})]
|
4289
|
+
}), !f && a("div", {
|
4222
4290
|
className: mt.oddWrapper,
|
4223
4291
|
style: {
|
4224
4292
|
borderColor: u
|
4225
4293
|
},
|
4226
4294
|
children: [a("div", {
|
4227
4295
|
className: mt.oddLabel,
|
4228
|
-
style: {
|
4296
|
+
style: L(k({}, r == null ? void 0 : r.coefLabel), {
|
4229
4297
|
fontSize: c,
|
4230
4298
|
lineHeight: `${c}px`
|
4231
|
-
},
|
4299
|
+
}),
|
4232
4300
|
children: _
|
4233
4301
|
}), a("div", {
|
4234
4302
|
className: mt.oddValue,
|
4235
4303
|
style: r == null ? void 0 : r.coef,
|
4236
4304
|
children: a(It, {
|
4237
|
-
odd:
|
4305
|
+
odd: p,
|
4238
4306
|
formatter: t
|
4239
4307
|
})
|
4240
4308
|
})]
|
4241
4309
|
}), a(W, {
|
4242
4310
|
className: mt.text,
|
4243
4311
|
style: r == null ? void 0 : r.text,
|
4244
|
-
typography: (
|
4245
|
-
accentTypography: (
|
4246
|
-
children:
|
4312
|
+
typography: (j = r == null ? void 0 : r.text) == null ? void 0 : j.typography,
|
4313
|
+
accentTypography: (C = r == null ? void 0 : r.text) == null ? void 0 : C.accentTypography,
|
4314
|
+
children: A
|
4247
4315
|
})]
|
4248
4316
|
});
|
4249
|
-
},
|
4250
|
-
matches: "one_x_two",
|
4251
|
-
matchesOneTwo: "one_two"
|
4252
|
-
}, an = (t) => [Lh[t]], wh = (t, o, e) => {
|
4253
|
-
const n = (g) => {
|
4254
|
-
var f;
|
4255
|
-
return E(g == null ? void 0 : g.matchSlug) && ((f = g == null ? void 0 : g.matchSlug) == null ? void 0 : f.length) > 0 || (g == null ? void 0 : g.isAuto);
|
4256
|
-
}, r = (t == null ? void 0 : t.children) || [], s = r.filter((g) => n(g.root.targetMatch)).map((g) => T(k({}, g.root.targetMatch), {
|
4257
|
-
markets: an(g.name)
|
4258
|
-
})), i = s.find((g) => g.isAuto), l = we(s), {
|
4259
|
-
data: _,
|
4260
|
-
execute: d,
|
4261
|
-
fetching: c
|
4262
|
-
} = le(`${o}/match-list`, {
|
4263
|
-
method: "POST",
|
4264
|
-
body: {
|
4265
|
-
matches: s.map((g) => ({
|
4266
|
-
slug: g.matchSlug,
|
4267
|
-
sport_slug: g.sportSlug,
|
4268
|
-
lang: g.langSlug,
|
4269
|
-
bookmaker_slug: g.bookmaker,
|
4270
|
-
offset: g.offset,
|
4271
|
-
markets: g.markets
|
4272
|
-
}))
|
4273
|
-
},
|
4274
|
-
pause: !o || s.length === 0 || i
|
4275
|
-
}), {
|
4276
|
-
match: u,
|
4277
|
-
fetching: p
|
4278
|
-
} = Je({
|
4279
|
-
dependsOn: "prediction",
|
4280
|
-
apiHost: o,
|
4281
|
-
pause: !i,
|
4282
|
-
match: T(k({}, e), {
|
4283
|
-
markets: i == null ? void 0 : i.markets,
|
4284
|
-
bookmaker: i == null ? void 0 : i.bookmaker
|
4285
|
-
})
|
4286
|
-
});
|
4287
|
-
return Q(() => {
|
4288
|
-
Le(l, s) || d();
|
4289
|
-
}, [s]), {
|
4290
|
-
resultChildren: r.map((g) => {
|
4291
|
-
var f, N;
|
4292
|
-
if ("targetMatch" in g.root) {
|
4293
|
-
const A = an(g.name), O = (_ || []).find((w) => w.slug === g.root.targetMatch.matchSlug);
|
4294
|
-
if (((N = (f = g == null ? void 0 : g.root) == null ? void 0 : f.targetMatch) == null ? void 0 : N.isAuto) && u)
|
4295
|
-
return T(k({}, g), {
|
4296
|
-
match: ne(u, {
|
4297
|
-
markets: A
|
4298
|
-
})
|
4299
|
-
});
|
4300
|
-
if (!O)
|
4301
|
-
return;
|
4302
|
-
const j = ne(O, {
|
4303
|
-
markets: A
|
4304
|
-
}), C = ze(j, g.root.customMatch, (w, [G, z]) => E(z));
|
4305
|
-
return T(k({}, g), {
|
4306
|
-
match: C
|
4307
|
-
});
|
4308
|
-
}
|
4309
|
-
return g;
|
4310
|
-
}).filter(Boolean),
|
4311
|
-
fetching: c || p
|
4312
|
-
};
|
4313
|
-
}, Be = T(k({}, se), {
|
4317
|
+
}, Be = L(k({}, se), {
|
4314
4318
|
w375: 375,
|
4315
4319
|
w400: 400,
|
4316
4320
|
w480: 480,
|
@@ -4325,7 +4329,7 @@ const Df = (t) => {
|
|
4325
4329
|
onClose: i,
|
4326
4330
|
onClick: l
|
4327
4331
|
}) => {
|
4328
|
-
var D, j, C,
|
4332
|
+
var D, j, C, T, Y, z, v, b, y, M, $, S, w;
|
4329
4333
|
const _ = et(null), d = U(), c = Ot({
|
4330
4334
|
targetRef: _,
|
4331
4335
|
id: t,
|
@@ -4333,16 +4337,16 @@ const Df = (t) => {
|
|
4333
4337
|
}), u = Lt(d, c, Be), {
|
4334
4338
|
resultChildren: p,
|
4335
4339
|
fetching: h
|
4336
|
-
} =
|
4340
|
+
} = fh(u, o, n), g = (D = u == null ? void 0 : u.children) == null ? void 0 : D.some(({
|
4337
4341
|
name: x
|
4338
4342
|
}) => x === "match");
|
4339
4343
|
u && (Bt(u, "button.percent_width", (j = u == null ? void 0 : u.button) == null ? void 0 : j.width), Bt(u, "artifact.percent_right", (C = u == null ? void 0 : u.artifact) == null ? void 0 : C.right));
|
4340
|
-
const f =
|
4344
|
+
const f = B(u), N = !!((T = f == null ? void 0 : f.legal) != null && T.children) && !((Y = f == null ? void 0 : f.legal) != null && Y.hidden);
|
4341
4345
|
wt(u);
|
4342
|
-
const A =
|
4346
|
+
const A = L(k({}, f.container), {
|
4343
4347
|
alignItems: jt((z = f.container) == null ? void 0 : z.align)
|
4344
4348
|
}), O = (x) => ({
|
4345
|
-
match: a(
|
4349
|
+
match: a(wh, {
|
4346
4350
|
oddFormatter: e,
|
4347
4351
|
device: c,
|
4348
4352
|
rootState: u
|
@@ -4351,14 +4355,14 @@ const Df = (t) => {
|
|
4351
4355
|
return Q(() => {
|
4352
4356
|
r && r(d);
|
4353
4357
|
}, []), Q(() => {
|
4354
|
-
g && !h && p.length && s();
|
4358
|
+
s && g && !h && p.length && s();
|
4355
4359
|
}, [p, h, g]), a("div", {
|
4356
4360
|
className: R(_t.root, _t[c], {
|
4357
4361
|
[_t.withoutLegal]: !N
|
4358
4362
|
}),
|
4359
4363
|
children: [a("div", {
|
4360
4364
|
className: _t.close,
|
4361
|
-
style:
|
4365
|
+
style: L(k({}, f == null ? void 0 : f.close), {
|
4362
4366
|
borderTopRightRadius: (v = f == null ? void 0 : f.container) == null ? void 0 : v.corner
|
4363
4367
|
}),
|
4364
4368
|
onClick: () => i(),
|
@@ -4389,7 +4393,7 @@ const Df = (t) => {
|
|
4389
4393
|
children: [a("div", {
|
4390
4394
|
className: _t.containerInner,
|
4391
4395
|
children: (p || []).map((x) => a(xt, {
|
4392
|
-
value:
|
4396
|
+
value: L(k({}, x), {
|
4393
4397
|
device: c
|
4394
4398
|
}),
|
4395
4399
|
children: O(x.name)
|
@@ -4411,7 +4415,7 @@ const Df = (t) => {
|
|
4411
4415
|
}), ((S = f == null ? void 0 : f.legal) == null ? void 0 : S.children) && a(W, {
|
4412
4416
|
className: _t.legalText,
|
4413
4417
|
typography: f == null ? void 0 : f.legal,
|
4414
|
-
children: (
|
4418
|
+
children: (w = f == null ? void 0 : f.legal) == null ? void 0 : w.children
|
4415
4419
|
})]
|
4416
4420
|
})]
|
4417
4421
|
});
|
@@ -4433,7 +4437,7 @@ const Df = (t) => {
|
|
4433
4437
|
targetRef: n,
|
4434
4438
|
id: t,
|
4435
4439
|
breakpoints: sn
|
4436
|
-
}), i = Lt(r, s, sn), l =
|
4440
|
+
}), i = Lt(r, s, sn), l = B(i);
|
4437
4441
|
return wt(i), Q(() => {
|
4438
4442
|
o && o(r);
|
4439
4443
|
}, []), a("div", {
|
@@ -4460,13 +4464,13 @@ const Df = (t) => {
|
|
4460
4464
|
export {
|
4461
4465
|
Wh as BonusCard,
|
4462
4466
|
Zh as BonusVoting,
|
4463
|
-
|
4467
|
+
Ph as ComplexGift,
|
4464
4468
|
Gh as ComplexPopup,
|
4465
4469
|
Kh as ContentCards,
|
4466
4470
|
Fh as ExpressPopup,
|
4467
4471
|
qh as RatingBanner,
|
4468
4472
|
Jh as SheetCard,
|
4469
|
-
|
4473
|
+
Eh as SimpleGift,
|
4470
4474
|
Vh as SimplePopup,
|
4471
4475
|
Uh as WideCard,
|
4472
4476
|
qe as backgroundToColor,
|