@adstore/templates 2.14.0 → 2.14.1
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/resize-observer-96d5715f.js +515 -0
- package/dist/style.css +1 -1
- package/dist/templates.js.js +1129 -1099
- package/package.json +1 -1
package/dist/templates.js.js
CHANGED
@@ -2,7 +2,7 @@ var Pn = Object.defineProperty, En = Object.defineProperties;
|
|
2
2
|
var Vn = Object.getOwnPropertyDescriptors;
|
3
3
|
var ce = Object.getOwnPropertySymbols;
|
4
4
|
var ro = Object.prototype.hasOwnProperty, ao = Object.prototype.propertyIsEnumerable;
|
5
|
-
var no = (t, o, e) => o in t ? Pn(t, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[o] = e,
|
5
|
+
var no = (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
|
ro.call(o, e) && no(t, e, o[e]);
|
8
8
|
if (ce)
|
@@ -20,23 +20,23 @@ var Ce = (t, o) => {
|
|
20
20
|
return e;
|
21
21
|
};
|
22
22
|
var _e = (t, o, e) => new Promise((n, r) => {
|
23
|
-
var s = (
|
23
|
+
var s = (_) => {
|
24
24
|
try {
|
25
|
-
l(e.next(
|
26
|
-
} catch (
|
27
|
-
r(
|
25
|
+
l(e.next(_));
|
26
|
+
} catch (d) {
|
27
|
+
r(d);
|
28
28
|
}
|
29
|
-
}, i = (
|
29
|
+
}, i = (_) => {
|
30
30
|
try {
|
31
|
-
l(e.throw(
|
32
|
-
} catch (
|
33
|
-
r(
|
31
|
+
l(e.throw(_));
|
32
|
+
} catch (d) {
|
33
|
+
r(d);
|
34
34
|
}
|
35
|
-
}, l = (
|
35
|
+
}, l = (_) => _.done ? n(_.value) : Promise.resolve(_.value).then(s, i);
|
36
36
|
l((e = e.apply(t, o)).next());
|
37
37
|
});
|
38
|
-
import { options as
|
39
|
-
var dt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, De = {},
|
38
|
+
import { options as I, Component as ee, createElement as so, Fragment as je, toChildArray as Ie, createContext as Gn, render as Fn, cloneElement as Wn } from "preact";
|
39
|
+
var dt = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {}, De = {}, Un = {
|
40
40
|
get exports() {
|
41
41
|
return De;
|
42
42
|
},
|
@@ -69,8 +69,8 @@ var dt = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
69
69
|
n.push(s.toString());
|
70
70
|
continue;
|
71
71
|
}
|
72
|
-
for (var
|
73
|
-
o.call(s,
|
72
|
+
for (var _ in s)
|
73
|
+
o.call(s, _) && s[_] && n.push(_);
|
74
74
|
}
|
75
75
|
}
|
76
76
|
}
|
@@ -78,11 +78,11 @@ var dt = typeof globalThis != "undefined" ? globalThis : typeof window != "undef
|
|
78
78
|
}
|
79
79
|
t.exports ? (e.default = e, t.exports = e) : window.classNames = e;
|
80
80
|
})();
|
81
|
-
})(
|
81
|
+
})(Un);
|
82
82
|
const R = De;
|
83
|
-
var
|
83
|
+
var Ut, V, Se, io, Ft = 0, sn = [], pe = [], lo = I.__b, co = I.__r, _o = I.diffed, uo = I.__c, po = I.unmount;
|
84
84
|
function re(t, o) {
|
85
|
-
|
85
|
+
I.__h && I.__h(V, t, Ft || o), Ft = 0;
|
86
86
|
var e = V.__H || (V.__H = { __: [], __h: [] });
|
87
87
|
return t >= e.__.length && e.__.push({ __V: pe }), e.__[t];
|
88
88
|
}
|
@@ -90,48 +90,48 @@ function yt(t) {
|
|
90
90
|
return Ft = 1, zn(cn, t);
|
91
91
|
}
|
92
92
|
function zn(t, o, e) {
|
93
|
-
var n = re(
|
93
|
+
var n = re(Ut++, 2);
|
94
94
|
if (n.t = t, !n.__c && (n.__ = [e ? e(o) : cn(void 0, o), function(l) {
|
95
|
-
var
|
96
|
-
|
95
|
+
var _ = n.__N ? n.__N[0] : n.__[0], d = n.t(_, l);
|
96
|
+
_ !== d && (n.__N = [d, n.__[1]], n.__c.setState({}));
|
97
97
|
}], n.__c = V, !V.u)) {
|
98
|
-
var r = function(l,
|
98
|
+
var r = function(l, _, d) {
|
99
99
|
if (!n.__c.__H)
|
100
100
|
return !0;
|
101
|
-
var c = n.__c.__H.__.filter(function(
|
102
|
-
return
|
101
|
+
var c = n.__c.__H.__.filter(function(p) {
|
102
|
+
return p.__c;
|
103
103
|
});
|
104
|
-
if (c.every(function(
|
105
|
-
return !
|
104
|
+
if (c.every(function(p) {
|
105
|
+
return !p.__N;
|
106
106
|
}))
|
107
|
-
return !s || s.call(this, l,
|
108
|
-
var
|
109
|
-
return c.forEach(function(
|
110
|
-
if (
|
111
|
-
var
|
112
|
-
|
107
|
+
return !s || s.call(this, l, _, d);
|
108
|
+
var u = !1;
|
109
|
+
return c.forEach(function(p) {
|
110
|
+
if (p.__N) {
|
111
|
+
var h = p.__[0];
|
112
|
+
p.__ = p.__N, p.__N = void 0, h !== p.__[0] && (u = !0);
|
113
113
|
}
|
114
|
-
}), !(!
|
114
|
+
}), !(!u && n.__c.props === l) && (!s || s.call(this, l, _, d));
|
115
115
|
};
|
116
116
|
V.u = !0;
|
117
117
|
var s = V.shouldComponentUpdate, i = V.componentWillUpdate;
|
118
|
-
V.componentWillUpdate = function(l,
|
118
|
+
V.componentWillUpdate = function(l, _, d) {
|
119
119
|
if (this.__e) {
|
120
120
|
var c = s;
|
121
|
-
s = void 0, r(l,
|
121
|
+
s = void 0, r(l, _, d), s = c;
|
122
122
|
}
|
123
|
-
i && i.call(this, l,
|
123
|
+
i && i.call(this, l, _, d);
|
124
124
|
}, V.shouldComponentUpdate = r;
|
125
125
|
}
|
126
126
|
return n.__N || n.__;
|
127
127
|
}
|
128
|
-
function
|
129
|
-
var e = re(
|
130
|
-
!
|
128
|
+
function Q(t, o) {
|
129
|
+
var e = re(Ut++, 3);
|
130
|
+
!I.__s && Pe(e.__H, o) && (e.__ = t, e.i = o, V.__H.__h.push(e));
|
131
131
|
}
|
132
132
|
function ln(t, o) {
|
133
|
-
var e = re(
|
134
|
-
!
|
133
|
+
var e = re(Ut++, 4);
|
134
|
+
!I.__s && Pe(e.__H, o) && (e.__ = t, e.i = o, V.__h.push(e));
|
135
135
|
}
|
136
136
|
function et(t) {
|
137
137
|
return Ft = 5, Pt(function() {
|
@@ -148,7 +148,7 @@ function Be(t, o, e) {
|
|
148
148
|
}, e == null ? e : e.concat(t));
|
149
149
|
}
|
150
150
|
function Pt(t, o) {
|
151
|
-
var e = re(
|
151
|
+
var e = re(Ut++, 7);
|
152
152
|
return Pe(e.__H, o) ? (e.__V = t(), e.i = o, e.__h = t, e.__V) : e.__;
|
153
153
|
}
|
154
154
|
function Kn(t, o) {
|
@@ -156,34 +156,34 @@ function Kn(t, o) {
|
|
156
156
|
return t;
|
157
157
|
}, o);
|
158
158
|
}
|
159
|
-
function
|
160
|
-
var o = V.context[t.__c], e = re(
|
159
|
+
function Zn(t) {
|
160
|
+
var o = V.context[t.__c], e = re(Ut++, 9);
|
161
161
|
return e.c = t, o ? (e.__ == null && (e.__ = !0, o.sub(V)), o.props.value) : t.__;
|
162
162
|
}
|
163
|
-
function
|
163
|
+
function Jn() {
|
164
164
|
for (var t; t = sn.shift(); )
|
165
165
|
if (t.__P && t.__H)
|
166
166
|
try {
|
167
167
|
t.__H.__h.forEach(fe), t.__H.__h.forEach(Re), t.__H.__h = [];
|
168
168
|
} catch (o) {
|
169
|
-
t.__H.__h = [],
|
169
|
+
t.__H.__h = [], I.__e(o, t.__v);
|
170
170
|
}
|
171
171
|
}
|
172
|
-
|
172
|
+
I.__b = function(t) {
|
173
173
|
V = null, lo && lo(t);
|
174
|
-
},
|
175
|
-
co && co(t),
|
174
|
+
}, I.__r = function(t) {
|
175
|
+
co && co(t), Ut = 0;
|
176
176
|
var o = (V = t.__c).__H;
|
177
177
|
o && (Se === V ? (o.__h = [], V.__h = [], o.__.forEach(function(e) {
|
178
178
|
e.__N && (e.__ = e.__N), e.__V = pe, e.__N = e.i = void 0;
|
179
179
|
})) : (o.__h.forEach(fe), o.__h.forEach(Re), o.__h = [])), Se = V;
|
180
|
-
},
|
180
|
+
}, I.diffed = function(t) {
|
181
181
|
_o && _o(t);
|
182
182
|
var o = t.__c;
|
183
|
-
o && o.__H && (o.__H.__h.length && (sn.push(o) !== 1 && io ===
|
183
|
+
o && o.__H && (o.__H.__h.length && (sn.push(o) !== 1 && io === I.requestAnimationFrame || ((io = I.requestAnimationFrame) || qn)(Jn)), o.__H.__.forEach(function(e) {
|
184
184
|
e.i && (e.__H = e.i), e.__V !== pe && (e.__ = e.__V), e.i = void 0, e.__V = pe;
|
185
185
|
})), Se = V = null;
|
186
|
-
},
|
186
|
+
}, I.__c = function(t, o) {
|
187
187
|
o.some(function(e) {
|
188
188
|
try {
|
189
189
|
e.__h.forEach(fe), e.__h = e.__h.filter(function(n) {
|
@@ -192,10 +192,10 @@ j.__b = function(t) {
|
|
192
192
|
} catch (n) {
|
193
193
|
o.some(function(r) {
|
194
194
|
r.__h && (r.__h = []);
|
195
|
-
}), o = [],
|
195
|
+
}), o = [], I.__e(n, e.__v);
|
196
196
|
}
|
197
197
|
}), uo && uo(t, o);
|
198
|
-
},
|
198
|
+
}, I.unmount = function(t) {
|
199
199
|
po && po(t);
|
200
200
|
var o, e = t.__c;
|
201
201
|
e && e.__H && (e.__H.__.forEach(function(n) {
|
@@ -204,10 +204,10 @@ j.__b = function(t) {
|
|
204
204
|
} catch (r) {
|
205
205
|
o = r;
|
206
206
|
}
|
207
|
-
}), e.__H = void 0, o &&
|
207
|
+
}), e.__H = void 0, o && I.__e(o, e.__v));
|
208
208
|
};
|
209
209
|
var fo = typeof requestAnimationFrame == "function";
|
210
|
-
function
|
210
|
+
function qn(t) {
|
211
211
|
var o, e = function() {
|
212
212
|
clearTimeout(n), fo && cancelAnimationFrame(o), setTimeout(t);
|
213
213
|
}, n = setTimeout(e, 100);
|
@@ -249,8 +249,8 @@ function go(t) {
|
|
249
249
|
(go.prototype = new ee()).isPureReactComponent = !0, go.prototype.shouldComponentUpdate = function(t, o) {
|
250
250
|
return mo(this.props, t) || mo(this.state, o);
|
251
251
|
};
|
252
|
-
var ho =
|
253
|
-
|
252
|
+
var ho = I.__b;
|
253
|
+
I.__b = function(t) {
|
254
254
|
t.type && t.type.__f && t.ref && (t.props.ref = t.ref, t.ref = null), ho && ho(t);
|
255
255
|
};
|
256
256
|
var Xn = typeof Symbol != "undefined" && Symbol.for && Symbol.for("react.forward_ref") || 3911;
|
@@ -261,8 +261,8 @@ function zt(t) {
|
|
261
261
|
}
|
262
262
|
return o.$$typeof = Xn, o.render = o, o.prototype.isReactComponent = o.__f = !0, o.displayName = "ForwardRef(" + (t.displayName || t.name) + ")", o;
|
263
263
|
}
|
264
|
-
var Qn =
|
265
|
-
|
264
|
+
var Qn = I.__e;
|
265
|
+
I.__e = function(t, o, e, n) {
|
266
266
|
if (t.then) {
|
267
267
|
for (var r, s = o; s = s.__; )
|
268
268
|
if ((r = s.__c) && r.__c)
|
@@ -270,7 +270,7 @@ j.__e = function(t, o, e, n) {
|
|
270
270
|
}
|
271
271
|
Qn(t, o, e, n);
|
272
272
|
};
|
273
|
-
var yo =
|
273
|
+
var yo = I.unmount;
|
274
274
|
function dn(t, o, e) {
|
275
275
|
return t && (t.__c && t.__c.__H && (t.__c.__H.__.forEach(function(n) {
|
276
276
|
typeof n.__c == "function" && n.__c();
|
@@ -293,7 +293,7 @@ function pn(t) {
|
|
293
293
|
function de() {
|
294
294
|
this.u = null, this.o = null;
|
295
295
|
}
|
296
|
-
|
296
|
+
I.unmount = function(t) {
|
297
297
|
var o = t.__c;
|
298
298
|
o && o.__R && o.__R(), o && t.__h === !0 && (t.type = null), yo && yo(t);
|
299
299
|
}, (xe.prototype = new ee()).__c = function(t, o) {
|
@@ -306,15 +306,15 @@ j.unmount = function(t) {
|
|
306
306
|
var l = function() {
|
307
307
|
if (!--n.__u) {
|
308
308
|
if (n.state.__a) {
|
309
|
-
var
|
310
|
-
n.__v.__k[0] = un(
|
309
|
+
var d = n.state.__a;
|
310
|
+
n.__v.__k[0] = un(d, d.__c.__P, d.__c.__O);
|
311
311
|
}
|
312
312
|
var c;
|
313
313
|
for (n.setState({ __a: n.__b = null }); c = n.t.pop(); )
|
314
314
|
c.forceUpdate();
|
315
315
|
}
|
316
|
-
},
|
317
|
-
n.__u++ ||
|
316
|
+
}, _ = o.__h === !0;
|
317
|
+
n.__u++ || _ || n.setState({ __a: n.__b = n.__v.__k[0] }), t.then(i, i);
|
318
318
|
}, xe.prototype.componentWillUnmount = function() {
|
319
319
|
this.t = [];
|
320
320
|
}, xe.prototype.render = function(t, o) {
|
@@ -369,7 +369,7 @@ ee.prototype.isReactComponent = {}, ["componentWillMount", "componentWillReceive
|
|
369
369
|
Object.defineProperty(this, t, { configurable: !0, writable: !0, value: o });
|
370
370
|
} });
|
371
371
|
});
|
372
|
-
var bo =
|
372
|
+
var bo = I.event;
|
373
373
|
function sr() {
|
374
374
|
}
|
375
375
|
function ir() {
|
@@ -378,13 +378,13 @@ function ir() {
|
|
378
378
|
function lr() {
|
379
379
|
return this.defaultPrevented;
|
380
380
|
}
|
381
|
-
|
381
|
+
I.event = function(t) {
|
382
382
|
return bo && (t = bo(t)), t.persist = sr, t.isPropagationStopped = ir, t.isDefaultPrevented = lr, t.nativeEvent = t;
|
383
383
|
};
|
384
384
|
var cr = { enumerable: !1, configurable: !0, get: function() {
|
385
385
|
return this.class;
|
386
|
-
} }, $o =
|
387
|
-
|
386
|
+
} }, $o = I.vnode;
|
387
|
+
I.vnode = function(t) {
|
388
388
|
typeof t.type == "string" && function(o) {
|
389
389
|
var e = o.props, n = o.type, r = {};
|
390
390
|
for (var s in e) {
|
@@ -394,19 +394,19 @@ j.vnode = function(t) {
|
|
394
394
|
s === "defaultValue" && "value" in e && e.value == null ? s = "value" : s === "download" && i === !0 ? i = "" : l === "ondoubleclick" ? s = "ondblclick" : l !== "onchange" || n !== "input" && n !== "textarea" || ar(e.type) ? l === "onfocus" ? s = "onfocusin" : l === "onblur" ? s = "onfocusout" : or.test(s) ? s = l : n.indexOf("-") === -1 && er.test(s) ? s = s.replace(nr, "-$&").toLowerCase() : i === null && (i = void 0) : l = s = "oninput", l === "oninput" && r[s = l] && (s = "oninputCapture"), r[s] = i;
|
395
395
|
}
|
396
396
|
}
|
397
|
-
n == "select" && r.multiple && Array.isArray(r.value) && (r.value = Ie(e.children).forEach(function(
|
398
|
-
|
399
|
-
})), n == "select" && r.defaultValue != null && (r.value = Ie(e.children).forEach(function(
|
400
|
-
|
397
|
+
n == "select" && r.multiple && Array.isArray(r.value) && (r.value = Ie(e.children).forEach(function(_) {
|
398
|
+
_.props.selected = r.value.indexOf(_.props.value) != -1;
|
399
|
+
})), n == "select" && r.defaultValue != null && (r.value = Ie(e.children).forEach(function(_) {
|
400
|
+
_.props.selected = r.multiple ? r.defaultValue.indexOf(_.props.value) != -1 : r.defaultValue == _.props.value;
|
401
401
|
})), e.class && !e.className ? (r.class = e.class, Object.defineProperty(r, "className", cr)) : (e.className && !e.class || e.class && e.className) && (r.class = r.className = e.className), o.props = r;
|
402
402
|
}(t), t.$$typeof = tr, $o && $o(t);
|
403
403
|
};
|
404
|
-
var ko =
|
405
|
-
|
404
|
+
var ko = I.__r;
|
405
|
+
I.__r = function(t) {
|
406
406
|
ko && ko(t), t.__c;
|
407
407
|
};
|
408
|
-
var Mo =
|
409
|
-
|
408
|
+
var Mo = I.diffed;
|
409
|
+
I.diffed = function(t) {
|
410
410
|
Mo && Mo(t);
|
411
411
|
var o = t.props, e = t.__e;
|
412
412
|
e != null && t.type === "textarea" && "value" in o && o.value !== e.value && (e.value = o.value == null ? "" : o.value);
|
@@ -477,18 +477,18 @@ var Pr = Br;
|
|
477
477
|
function Er(t) {
|
478
478
|
return this.__data__.has(t);
|
479
479
|
}
|
480
|
-
var Vr = Er, Gr = typeof dt == "object" && dt && dt.Object === Object && dt, fn = Gr, Fr = fn,
|
481
|
-
function
|
482
|
-
var o =
|
480
|
+
var Vr = Er, Gr = typeof dt == "object" && dt && dt.Object === Object && dt, fn = Gr, Fr = fn, Wr = typeof self == "object" && self && self.Object === Object && self, Ur = Fr || Wr || Function("return this")(), Zt = Ur, zr = Zt, Kr = zr.Symbol, mn = Kr, No = mn, gn = Object.prototype, Zr = gn.hasOwnProperty, Jr = gn.toString, Qt = No ? No.toStringTag : void 0;
|
481
|
+
function qr(t) {
|
482
|
+
var o = Zr.call(t, Qt), e = t[Qt];
|
483
483
|
try {
|
484
484
|
t[Qt] = void 0;
|
485
485
|
var n = !0;
|
486
486
|
} catch (s) {
|
487
487
|
}
|
488
|
-
var r =
|
488
|
+
var r = Jr.call(t);
|
489
489
|
return n && (o ? t[Qt] = e : delete t[Qt]), r;
|
490
490
|
}
|
491
|
-
var Xr =
|
491
|
+
var Xr = qr, Qr = Object.prototype, ta = Qr.toString;
|
492
492
|
function ea(t) {
|
493
493
|
return ta.call(t);
|
494
494
|
}
|
@@ -508,7 +508,7 @@ function ma(t) {
|
|
508
508
|
var o = ca(t);
|
509
509
|
return o == ua || o == pa || o == da || o == fa;
|
510
510
|
}
|
511
|
-
var Ee = ma, ga =
|
511
|
+
var Ee = ma, ga = Zt, ha = ga["__core-js_shared__"], ya = ha, Oe = ya, wo = function() {
|
512
512
|
var t = /[^.]+$/.exec(Oe && Oe.keys && Oe.keys.IE_PROTO || "");
|
513
513
|
return t ? "Symbol(src)_1." + t : "";
|
514
514
|
}();
|
@@ -547,16 +547,16 @@ function Va(t, o) {
|
|
547
547
|
var e = Ea(t, o);
|
548
548
|
return Pa(e) ? e : void 0;
|
549
549
|
}
|
550
|
-
var Ve = Va, Ga = Ve, Fa =
|
550
|
+
var Ve = Va, Ga = Ve, Fa = Zt, Wa = Ga(Fa, "Map"), hn = Wa, Ua = Ve, za = Ua(Object, "create"), Me = za, Co = Me;
|
551
551
|
function Ka() {
|
552
552
|
this.__data__ = Co ? Co(null) : {}, this.size = 0;
|
553
553
|
}
|
554
|
-
var
|
555
|
-
function
|
554
|
+
var Za = Ka;
|
555
|
+
function Ja(t) {
|
556
556
|
var o = this.has(t) && delete this.__data__[t];
|
557
557
|
return this.size -= o ? 1 : 0, o;
|
558
558
|
}
|
559
|
-
var
|
559
|
+
var qa = Ja, Xa = Me, Qa = "__lodash_hash_undefined__", ts = Object.prototype, es = ts.hasOwnProperty;
|
560
560
|
function os(t) {
|
561
561
|
var o = this.__data__;
|
562
562
|
if (Xa) {
|
@@ -575,20 +575,20 @@ function ds(t, o) {
|
|
575
575
|
var e = this.__data__;
|
576
576
|
return this.size += this.has(t) ? 0 : 1, e[t] = cs && o === void 0 ? _s : o, this;
|
577
577
|
}
|
578
|
-
var us = ds, ps =
|
579
|
-
function
|
578
|
+
var us = ds, ps = Za, fs = qa, ms = ns, gs = ls, hs = us;
|
579
|
+
function Jt(t) {
|
580
580
|
var o = -1, e = t == null ? 0 : t.length;
|
581
581
|
for (this.clear(); ++o < e; ) {
|
582
582
|
var n = t[o];
|
583
583
|
this.set(n[0], n[1]);
|
584
584
|
}
|
585
585
|
}
|
586
|
-
|
587
|
-
|
588
|
-
|
589
|
-
|
590
|
-
|
591
|
-
var ys =
|
586
|
+
Jt.prototype.clear = ps;
|
587
|
+
Jt.prototype.delete = fs;
|
588
|
+
Jt.prototype.get = ms;
|
589
|
+
Jt.prototype.has = gs;
|
590
|
+
Jt.prototype.set = hs;
|
591
|
+
var ys = Jt, So = ys, vs = $e, bs = hn;
|
592
592
|
function $s() {
|
593
593
|
this.size = 0, this.__data__ = {
|
594
594
|
hash: new So(),
|
@@ -625,32 +625,32 @@ function Hs(t, o) {
|
|
625
625
|
return e.set(t, o), this.size += e.size == n ? 0 : 1, this;
|
626
626
|
}
|
627
627
|
var Ys = Hs, Bs = ks, Ps = Ss, Es = As, Vs = Ds, Gs = Ys;
|
628
|
-
function
|
628
|
+
function qt(t) {
|
629
629
|
var o = -1, e = t == null ? 0 : t.length;
|
630
630
|
for (this.clear(); ++o < e; ) {
|
631
631
|
var n = t[o];
|
632
632
|
this.set(n[0], n[1]);
|
633
633
|
}
|
634
634
|
}
|
635
|
-
|
636
|
-
|
637
|
-
|
638
|
-
|
639
|
-
|
640
|
-
var Fs =
|
641
|
-
function
|
635
|
+
qt.prototype.clear = Bs;
|
636
|
+
qt.prototype.delete = Ps;
|
637
|
+
qt.prototype.get = Es;
|
638
|
+
qt.prototype.has = Vs;
|
639
|
+
qt.prototype.set = Gs;
|
640
|
+
var Fs = qt, Ws = $e, Us = hn, zs = Fs, Ks = 200;
|
641
|
+
function Zs(t, o) {
|
642
642
|
var e = this.__data__;
|
643
|
-
if (e instanceof
|
643
|
+
if (e instanceof Ws) {
|
644
644
|
var n = e.__data__;
|
645
|
-
if (!
|
645
|
+
if (!Us || n.length < Ks - 1)
|
646
646
|
return n.push([t, o]), this.size = ++e.size, this;
|
647
647
|
e = this.__data__ = new zs(n);
|
648
648
|
}
|
649
649
|
return e.set(t, o), this.size = e.size, this;
|
650
650
|
}
|
651
|
-
var
|
651
|
+
var Js = Zs, qs = $e, Xs = Rr, Qs = Yr, ti = Pr, ei = Vr, oi = Js;
|
652
652
|
function Xt(t) {
|
653
|
-
var o = this.__data__ = new
|
653
|
+
var o = this.__data__ = new qs(t);
|
654
654
|
this.size = o.size;
|
655
655
|
}
|
656
656
|
Xt.prototype.clear = Xs;
|
@@ -681,8 +681,8 @@ var vn = ci;
|
|
681
681
|
function _i(t) {
|
682
682
|
return function(o, e, n) {
|
683
683
|
for (var r = -1, s = Object(o), i = n(o), l = i.length; l--; ) {
|
684
|
-
var
|
685
|
-
if (e(s[
|
684
|
+
var _ = i[t ? l : ++r];
|
685
|
+
if (e(s[_], _, s) === !1)
|
686
686
|
break;
|
687
687
|
}
|
688
688
|
return o;
|
@@ -697,16 +697,16 @@ var di = _i, ui = di, pi = ui(), fi = pi, me = {}, mi = {
|
|
697
697
|
}
|
698
698
|
};
|
699
699
|
(function(t, o) {
|
700
|
-
var e =
|
701
|
-
function d
|
700
|
+
var e = Zt, n = o && !o.nodeType && o, r = n && !0 && t && !t.nodeType && t, s = r && r.exports === n, i = s ? e.Buffer : void 0, l = i ? i.allocUnsafe : void 0;
|
701
|
+
function _(d, c) {
|
702
702
|
if (c)
|
703
|
-
return
|
704
|
-
var
|
705
|
-
return
|
703
|
+
return d.slice();
|
704
|
+
var u = d.length, p = l ? l(u) : new d.constructor(u);
|
705
|
+
return d.copy(p), p;
|
706
706
|
}
|
707
|
-
t.exports =
|
707
|
+
t.exports = _;
|
708
708
|
})(mi, me);
|
709
|
-
var gi =
|
709
|
+
var gi = Zt, hi = gi.Uint8Array, yi = hi, Oo = yi;
|
710
710
|
function vi(t) {
|
711
711
|
var o = new t.constructor(t.byteLength);
|
712
712
|
return new Oo(o).set(new Oo(t)), o;
|
@@ -758,13 +758,13 @@ var ae = Pi, Ei = ke, Vi = ae, Gi = "[object Arguments]";
|
|
758
758
|
function Fi(t) {
|
759
759
|
return Vi(t) && Ei(t) == Gi;
|
760
760
|
}
|
761
|
-
var
|
761
|
+
var Wi = Fi, jo = Wi, Ui = ae, kn = Object.prototype, zi = kn.hasOwnProperty, Ki = kn.propertyIsEnumerable, Zi = jo(function() {
|
762
762
|
return arguments;
|
763
763
|
}()) ? jo : function(t) {
|
764
|
-
return
|
765
|
-
}, Mn =
|
764
|
+
return Ui(t) && zi.call(t, "callee") && !Ki.call(t, "callee");
|
765
|
+
}, Mn = Zi, Ji = Array.isArray, Nn = Ji, qi = 9007199254740991;
|
766
766
|
function Xi(t) {
|
767
|
-
return typeof t == "number" && t > -1 && t % 1 == 0 && t <=
|
767
|
+
return typeof t == "number" && t > -1 && t % 1 == 0 && t <= qi;
|
768
768
|
}
|
769
769
|
var Tn = Xi, Qi = Ee, tl = Tn;
|
770
770
|
function el(t) {
|
@@ -787,8 +787,8 @@ function il() {
|
|
787
787
|
}
|
788
788
|
var ll = il;
|
789
789
|
(function(t, o) {
|
790
|
-
var e =
|
791
|
-
t.exports =
|
790
|
+
var e = Zt, n = ll, r = o && !o.nodeType && o, s = r && !0 && t && !t.nodeType && t, i = s && s.exports === r, l = i ? e.Buffer : void 0, _ = l ? l.isBuffer : void 0, d = _ || n;
|
791
|
+
t.exports = d;
|
792
792
|
})(sl, oe);
|
793
793
|
var cl = ke, _l = bn, dl = ae, ul = "[object Object]", pl = Function.prototype, fl = Object.prototype, Ln = pl.toString, ml = fl.hasOwnProperty, gl = Ln.call(Object);
|
794
794
|
function hl(t) {
|
@@ -800,19 +800,19 @@ function hl(t) {
|
|
800
800
|
var e = ml.call(o, "constructor") && o.constructor;
|
801
801
|
return typeof e == "function" && e instanceof e && Ln.call(e) == gl;
|
802
802
|
}
|
803
|
-
var yl = hl, vl = ke, bl = Tn, $l = ae, kl = "[object Arguments]", Ml = "[object Array]", Nl = "[object Boolean]", Tl = "[object Date]", Ll = "[object Error]", wl = "[object Function]", Cl = "[object Map]", Sl = "[object Number]", xl = "[object Object]", Ol = "[object RegExp]", Al = "[object Set]", jl = "[object String]", Il = "[object WeakMap]", Dl = "[object ArrayBuffer]", Rl = "[object DataView]", Hl = "[object Float32Array]", Yl = "[object Float64Array]", Bl = "[object Int8Array]", Pl = "[object Int16Array]", El = "[object Int32Array]", Vl = "[object Uint8Array]", Gl = "[object Uint8ClampedArray]", Fl = "[object Uint16Array]",
|
804
|
-
P[Hl] = P[Yl] = P[Bl] = P[Pl] = P[El] = P[Vl] = P[Gl] = P[Fl] = P[
|
803
|
+
var yl = hl, vl = ke, bl = Tn, $l = ae, kl = "[object Arguments]", Ml = "[object Array]", Nl = "[object Boolean]", Tl = "[object Date]", Ll = "[object Error]", wl = "[object Function]", Cl = "[object Map]", Sl = "[object Number]", xl = "[object Object]", Ol = "[object RegExp]", Al = "[object Set]", jl = "[object String]", Il = "[object WeakMap]", Dl = "[object ArrayBuffer]", Rl = "[object DataView]", Hl = "[object Float32Array]", Yl = "[object Float64Array]", Bl = "[object Int8Array]", Pl = "[object Int16Array]", El = "[object Int32Array]", Vl = "[object Uint8Array]", Gl = "[object Uint8ClampedArray]", Fl = "[object Uint16Array]", Wl = "[object Uint32Array]", P = {};
|
804
|
+
P[Hl] = P[Yl] = P[Bl] = P[Pl] = P[El] = P[Vl] = P[Gl] = P[Fl] = P[Wl] = !0;
|
805
805
|
P[kl] = P[Ml] = P[Dl] = P[Nl] = P[Rl] = P[Tl] = P[Ll] = P[wl] = P[Cl] = P[Sl] = P[xl] = P[Ol] = P[Al] = P[jl] = P[Il] = !1;
|
806
|
-
function
|
806
|
+
function Ul(t) {
|
807
807
|
return $l(t) && bl(t.length) && !!P[vl(t)];
|
808
808
|
}
|
809
|
-
var zl =
|
809
|
+
var zl = Ul;
|
810
810
|
function Kl(t) {
|
811
811
|
return function(o) {
|
812
812
|
return t(o);
|
813
813
|
};
|
814
814
|
}
|
815
|
-
var
|
815
|
+
var Zl = Kl, ge = {}, Jl = {
|
816
816
|
get exports() {
|
817
817
|
return ge;
|
818
818
|
},
|
@@ -823,14 +823,14 @@ var ql = Kl, ge = {}, Zl = {
|
|
823
823
|
(function(t, o) {
|
824
824
|
var e = fn, n = o && !o.nodeType && o, r = n && !0 && t && !t.nodeType && t, s = r && r.exports === n, i = s && e.process, l = function() {
|
825
825
|
try {
|
826
|
-
var
|
827
|
-
return
|
828
|
-
} catch (
|
826
|
+
var _ = r && r.require && r.require("util").types;
|
827
|
+
return _ || i && i.binding && i.binding("util");
|
828
|
+
} catch (d) {
|
829
829
|
}
|
830
830
|
}();
|
831
831
|
t.exports = l;
|
832
|
-
})(
|
833
|
-
var
|
832
|
+
})(Jl, ge);
|
833
|
+
var ql = zl, Xl = Zl, Io = ge, Do = Io && Io.isTypedArray, Ql = Do ? Xl(Do) : ql, wn = Ql;
|
834
834
|
function tc(t, o) {
|
835
835
|
if (!(o === "constructor" && typeof t[o] == "function") && o != "__proto__")
|
836
836
|
return t[o];
|
@@ -845,8 +845,8 @@ function cc(t, o, e, n) {
|
|
845
845
|
var r = !e;
|
846
846
|
e || (e = {});
|
847
847
|
for (var s = -1, i = o.length; ++s < i; ) {
|
848
|
-
var l = o[s],
|
849
|
-
|
848
|
+
var l = o[s], _ = n ? n(e[l], t[l], l, e, t) : void 0;
|
849
|
+
_ === void 0 && (_ = t[l]), r ? lc(e, l, _) : ic(e, l, _);
|
850
850
|
}
|
851
851
|
return e;
|
852
852
|
}
|
@@ -863,13 +863,13 @@ function mc(t, o) {
|
|
863
863
|
}
|
864
864
|
var Sn = mc, gc = uc, hc = Mn, yc = Nn, vc = oe, bc = Sn, $c = wn, kc = Object.prototype, Mc = kc.hasOwnProperty;
|
865
865
|
function Nc(t, o) {
|
866
|
-
var e = yc(t), n = !e && hc(t), r = !e && !n && vc(t), s = !e && !n && !r && $c(t), i = e || n || r || s, l = i ? gc(t.length, String) : [],
|
867
|
-
for (var
|
868
|
-
(o || Mc.call(t,
|
869
|
-
(
|
870
|
-
r && (
|
871
|
-
s && (
|
872
|
-
bc(
|
866
|
+
var e = yc(t), n = !e && hc(t), r = !e && !n && vc(t), s = !e && !n && !r && $c(t), i = e || n || r || s, l = i ? gc(t.length, String) : [], _ = l.length;
|
867
|
+
for (var d in t)
|
868
|
+
(o || Mc.call(t, d)) && !(i && // Safari 9 has enumerable `arguments.length` in strict mode.
|
869
|
+
(d == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
870
|
+
r && (d == "offset" || d == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
871
|
+
s && (d == "buffer" || d == "byteLength" || d == "byteOffset") || // Skip index properties.
|
872
|
+
bc(d, _))) && l.push(d);
|
873
873
|
return l;
|
874
874
|
}
|
875
875
|
var Tc = Nc;
|
@@ -897,19 +897,19 @@ var xn = Yc, Bc = _c, Pc = xn;
|
|
897
897
|
function Ec(t) {
|
898
898
|
return Bc(t, Pc(t));
|
899
899
|
}
|
900
|
-
var Vc = Ec, Ro = vn, Gc = me, Fc = Mi,
|
900
|
+
var Vc = Ec, Ro = vn, Gc = me, Fc = Mi, Wc = Ti, Uc = Bi, Ho = Mn, Yo = Nn, zc = al, Kc = oe, Zc = Ee, Jc = Et, qc = yl, Xc = wn, Bo = Cn, Qc = Vc;
|
901
901
|
function t_(t, o, e, n, r, s, i) {
|
902
|
-
var l = Bo(t, e),
|
903
|
-
if (
|
904
|
-
Ro(t, e,
|
902
|
+
var l = Bo(t, e), _ = Bo(o, e), d = i.get(_);
|
903
|
+
if (d) {
|
904
|
+
Ro(t, e, d);
|
905
905
|
return;
|
906
906
|
}
|
907
|
-
var c = s ? s(l,
|
908
|
-
if (
|
909
|
-
var
|
910
|
-
c =
|
907
|
+
var c = s ? s(l, _, e + "", t, o, i) : void 0, u = c === void 0;
|
908
|
+
if (u) {
|
909
|
+
var p = Yo(_), h = !p && Kc(_), m = !p && !h && Xc(_);
|
910
|
+
c = _, p || h || m ? Yo(l) ? c = l : zc(l) ? c = Wc(l) : h ? (u = !1, c = Gc(_, !0)) : m ? (u = !1, c = Fc(_, !0)) : c = [] : qc(_) || Ho(_) ? (c = l, Ho(l) ? c = Qc(l) : (!Jc(l) || Zc(l)) && (c = Uc(_))) : u = !1;
|
911
911
|
}
|
912
|
-
|
912
|
+
u && (i.set(_, c), r(c, _, n, s, i), i.delete(_)), Ro(t, e, c);
|
913
913
|
}
|
914
914
|
var e_ = t_, o_ = ni, n_ = vn, r_ = fi, a_ = e_, s_ = Et, i_ = xn, l_ = Cn;
|
915
915
|
function On(t, o, e, n, r) {
|
@@ -999,9 +999,9 @@ function F_(t) {
|
|
999
999
|
return o;
|
1000
1000
|
});
|
1001
1001
|
}
|
1002
|
-
var
|
1002
|
+
var W_ = F_, U_ = c_, z_ = W_;
|
1003
1003
|
z_(function(t, o, e) {
|
1004
|
-
|
1004
|
+
U_(t, o, e);
|
1005
1005
|
});
|
1006
1006
|
const Yt = (t, o, e) => Array.isArray(t) ? t.map((n, r) => {
|
1007
1007
|
const s = [e, r].filter(E).join(".");
|
@@ -1012,7 +1012,7 @@ const Yt = (t, o, e) => Array.isArray(t) ? t.map((n, r) => {
|
|
1012
1012
|
}, {}) : t, K_ = (t) => {
|
1013
1013
|
const o = document.getElementsByTagName("head")[0], e = document.createElement("link");
|
1014
1014
|
document.querySelector(`link[href="${t.href}"]`) || (Object.entries(t).forEach(([r, s]) => e.setAttribute(r, s)), o.appendChild(e));
|
1015
|
-
},
|
1015
|
+
}, We = () => {
|
1016
1016
|
let t = {};
|
1017
1017
|
return {
|
1018
1018
|
on: (i, l) => {
|
@@ -1020,21 +1020,21 @@ const Yt = (t, o, e) => Array.isArray(t) ? t.map((n, r) => {
|
|
1020
1020
|
},
|
1021
1021
|
has: (i) => i in t,
|
1022
1022
|
get: (i) => t[i],
|
1023
|
-
emit: (i, ...l) => i in t ? t[i].map((
|
1023
|
+
emit: (i, ...l) => i in t ? t[i].map((_) => _(...l)).filter(Boolean) : [],
|
1024
1024
|
reset: () => t = {}
|
1025
1025
|
};
|
1026
|
-
},
|
1026
|
+
}, Z_ = () => ({
|
1027
1027
|
name: null,
|
1028
1028
|
logo: null
|
1029
1029
|
}), Vo = () => ({
|
1030
1030
|
name: null,
|
1031
1031
|
logo: null
|
1032
|
-
}),
|
1032
|
+
}), J_ = () => ({
|
1033
1033
|
factor: null,
|
1034
1034
|
type: null,
|
1035
1035
|
outcome: null,
|
1036
1036
|
value: null
|
1037
|
-
}),
|
1037
|
+
}), q_ = () => ({
|
1038
1038
|
w1: null,
|
1039
1039
|
x: null,
|
1040
1040
|
w2: null
|
@@ -1042,7 +1042,7 @@ const Yt = (t, o, e) => Array.isArray(t) ? t.map((n, r) => {
|
|
1042
1042
|
w1: null,
|
1043
1043
|
w2: null
|
1044
1044
|
}), Q_ = () => ({
|
1045
|
-
one_x_two:
|
1045
|
+
one_x_two: q_(),
|
1046
1046
|
one_two: X_()
|
1047
1047
|
}), ne = (t, o) => {
|
1048
1048
|
var n;
|
@@ -1050,16 +1050,16 @@ const Yt = (t, o, e) => Array.isArray(t) ? t.map((n, r) => {
|
|
1050
1050
|
slug: (t == null ? void 0 : t.slug) || null,
|
1051
1051
|
sportSlug: (t == null ? void 0 : t.sport_slug) || null,
|
1052
1052
|
matchDate: (t == null ? void 0 : t.match_date) || null,
|
1053
|
-
teams:
|
1053
|
+
teams: k({}, (t == null ? void 0 : t.teams) || {
|
1054
1054
|
0: Vo(),
|
1055
1055
|
1: Vo()
|
1056
1056
|
}),
|
1057
|
-
league: (t == null ? void 0 : t.unique_tournament) ||
|
1058
|
-
prediction: (t == null ? void 0 : t.prediction) ||
|
1057
|
+
league: (t == null ? void 0 : t.unique_tournament) || Z_(),
|
1058
|
+
prediction: (t == null ? void 0 : t.prediction) || J_(),
|
1059
1059
|
isNational: (n = t == null ? void 0 : t.is_national) != null ? n : null
|
1060
1060
|
};
|
1061
1061
|
if (o != null && o.markets) {
|
1062
|
-
const r = o.markets.reduce((s, i) => (s[i] =
|
1062
|
+
const r = o.markets.reduce((s, i) => (s[i] = g(t || {}, `markets.${i}`, Q_()[i || "one_two"]), s), {});
|
1063
1063
|
Bt(e, "markets", r);
|
1064
1064
|
}
|
1065
1065
|
return e;
|
@@ -1068,12 +1068,12 @@ const Yt = (t, o, e) => Array.isArray(t) ? t.map((n, r) => {
|
|
1068
1068
|
return n.replace(l, i != null ? i : "");
|
1069
1069
|
}, t) : t, ed = (t = 300, o) => new Promise((e) => setTimeout(() => e(o), t)), od = (t) => !t && t == null, E = (t) => !od(t), Go = (t) => typeof t != "object" && typeof t != "function" || t === null, jn = (t) => typeof t == "object" && !Array.isArray(t) && E(t), nd = (t) => t.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (o, e) => (e ? "-" : "") + o.toLowerCase()), rd = (...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
|
-
const e =
|
1071
|
+
const e = k({}, t);
|
1072
1072
|
return o.forEach((n) => {
|
1073
1073
|
delete e[n];
|
1074
1074
|
}), e;
|
1075
1075
|
}
|
1076
|
-
const
|
1076
|
+
const g = (t, o, e) => {
|
1077
1077
|
if (!o)
|
1078
1078
|
return;
|
1079
1079
|
const r = (Array.isArray(o) ? o : o.match(/([^[.\]])+/g)).reduce((s, i) => s && s[i], t);
|
@@ -1094,7 +1094,7 @@ const f = (t, o, e) => {
|
|
1094
1094
|
g: parseInt(e[2], 16),
|
1095
1095
|
b: parseInt(e[3], 16)
|
1096
1096
|
} : void 0;
|
1097
|
-
}, Te = (...t) => t.map((o) => JSON.stringify(o)).every((o, e, n) => o === n[0]), Rh = (t) => "id" in t && "root" in t,
|
1097
|
+
}, Te = (...t) => t.map((o) => JSON.stringify(o)).every((o, e, n) => o === n[0]), Rh = (t) => "id" in t && "root" in t, Wo = (t, o = 1) => t.replace(")", `, ${o})`).replace("rgb", "rgba"), Ue = (t, o, e) => Yt(t, (n, r, s) => Go(r) || Array.isArray(r) && r.every(Go) ? e ? e(n, [r, g(o, s)], s) ? g(o, s, r) : r : g(o, s, r) : r), Hh = (t, o) => {
|
1098
1098
|
try {
|
1099
1099
|
Yt(t, (e, n, r) => {
|
1100
1100
|
if (o(e, n, r))
|
@@ -1120,7 +1120,7 @@ const f = (t, o, e) => {
|
|
1120
1120
|
tablet: 768,
|
1121
1121
|
laptop: 1024,
|
1122
1122
|
desktop: 1920
|
1123
|
-
}, sd = Object.keys(se), id = "_root_1kocr_1", ld = "_icon_1kocr_5", cd = "_iconTarget_1kocr_17", _d = "_body_1kocr_23", dd = "_bodyOpen_1kocr_31", ud = "_simpleGift_in_1kocr_1", pd = "_close_1kocr_44", fd = "_arrow_1kocr_61", md = "_container_1kocr_72", gd = "_inner_1kocr_79", hd = "_logo_1kocr_86", yd = "_text_1kocr_94", vd = "_button_1kocr_100", bd = "_buttonAnimated_1kocr_110", $d = "_increase_1kocr_1", kd = "_legalGap_1kocr_114", Md = "_legalOpen_1kocr_118", Nd = "_legal_1kocr_114", Td = "_legalText_1kocr_143", Ld = "_legalStatic_1kocr_156", wd = "_legalButton_1kocr_160", Cd = "_fadein_1kocr_1", Sd = "_pulse_1kocr_1", xd = "_gradient_1kocr_1", Od = "_wiggle_1kocr_1",
|
1123
|
+
}, sd = Object.keys(se), id = "_root_1kocr_1", ld = "_icon_1kocr_5", cd = "_iconTarget_1kocr_17", _d = "_body_1kocr_23", dd = "_bodyOpen_1kocr_31", ud = "_simpleGift_in_1kocr_1", pd = "_close_1kocr_44", fd = "_arrow_1kocr_61", md = "_container_1kocr_72", gd = "_inner_1kocr_79", hd = "_logo_1kocr_86", yd = "_text_1kocr_94", vd = "_button_1kocr_100", bd = "_buttonAnimated_1kocr_110", $d = "_increase_1kocr_1", kd = "_legalGap_1kocr_114", Md = "_legalOpen_1kocr_118", Nd = "_legal_1kocr_114", Td = "_legalText_1kocr_143", Ld = "_legalStatic_1kocr_156", wd = "_legalButton_1kocr_160", Cd = "_fadein_1kocr_1", Sd = "_pulse_1kocr_1", xd = "_gradient_1kocr_1", Od = "_wiggle_1kocr_1", F = {
|
1124
1124
|
root: id,
|
1125
1125
|
icon: ld,
|
1126
1126
|
iconTarget: cd,
|
@@ -1149,14 +1149,14 @@ const f = (t, o, e) => {
|
|
1149
1149
|
};
|
1150
1150
|
var Ad = 0;
|
1151
1151
|
function a(t, o, e, n, r, s) {
|
1152
|
-
var i, l,
|
1152
|
+
var i, l, _ = {};
|
1153
1153
|
for (l in o)
|
1154
|
-
l == "ref" ? i = o[l] :
|
1155
|
-
var
|
1154
|
+
l == "ref" ? i = o[l] : _[l] = o[l];
|
1155
|
+
var d = { type: t, props: _, key: e, ref: i, __k: null, __: null, __b: 0, __e: null, __d: void 0, __c: null, __h: null, constructor: void 0, __v: --Ad, __source: r, __self: s };
|
1156
1156
|
if (typeof t == "function" && (i = t.defaultProps))
|
1157
1157
|
for (l in i)
|
1158
|
-
|
1159
|
-
return
|
1158
|
+
_[l] === void 0 && (_[l] = i[l]);
|
1159
|
+
return I.vnode && I.vnode(d), d;
|
1160
1160
|
}
|
1161
1161
|
const In = Gn(), xt = ({
|
1162
1162
|
children: t,
|
@@ -1177,20 +1177,20 @@ const In = Gn(), xt = ({
|
|
1177
1177
|
"state"
|
1178
1178
|
]);
|
1179
1179
|
if (!("ResizeObserver" in window)) {
|
1180
|
-
const
|
1181
|
-
window.ResizeObserver =
|
1180
|
+
const _ = yield import("./resize-observer-15e7a1bf.js");
|
1181
|
+
window.ResizeObserver = _.ResizeObserver;
|
1182
1182
|
}
|
1183
1183
|
return Fn(a(xt, {
|
1184
1184
|
value: r,
|
1185
|
-
children:
|
1185
|
+
children: Wn(t, k({
|
1186
1186
|
ref: n,
|
1187
1187
|
id: e
|
1188
1188
|
}, s))
|
1189
1189
|
}), o);
|
1190
|
-
}), U = () =>
|
1190
|
+
}), U = () => Zn(In), jd = (t = {}, o) => typeof t == "object" && E(t) && o.some((e) => e in t), Id = (t, o, e = se) => t && Yt(t, (n, r) => {
|
1191
1191
|
if (jd(r, Object.keys(e))) {
|
1192
1192
|
const s = r[o];
|
1193
|
-
return s && "parent" in s && E(s.parent) ?
|
1193
|
+
return s && "parent" in s && E(s.parent) ? k(k({}, r[s.parent]), vt(s, "parent")) : s;
|
1194
1194
|
}
|
1195
1195
|
return r;
|
1196
1196
|
}), Lt = (t, o, e = se) => Id(t, o, e), Ot = ({
|
@@ -1200,11 +1200,11 @@ const In = Gn(), xt = ({
|
|
1200
1200
|
breakpoints: n = se
|
1201
1201
|
}) => {
|
1202
1202
|
const [r, s] = yt("desktop"), i = (l) => {
|
1203
|
-
var
|
1204
|
-
const
|
1205
|
-
const [
|
1206
|
-
return
|
1207
|
-
})) == null ? void 0 :
|
1203
|
+
var u;
|
1204
|
+
const _ = l.getBoundingClientRect().width || 0, d = Object.entries(k({}, n)).sort(([p, h], [m, f]) => h - f), c = ((u = d.find(([p, h], m) => {
|
1205
|
+
const [f, N] = d[m + 1] || [];
|
1206
|
+
return _ >= h && _ < N;
|
1207
|
+
})) == null ? void 0 : u[0]) || d[d.length - 1][0] || "desktop";
|
1208
1208
|
s(c);
|
1209
1209
|
};
|
1210
1210
|
return ln(() => {
|
@@ -1227,14 +1227,14 @@ const In = Gn(), xt = ({
|
|
1227
1227
|
return o.display = "none", o;
|
1228
1228
|
if (r === "innerHTML" && (o.innerHTML = E(s) ? `${s}` : ""), r === "innerText" && (o.innerText = E(s) ? `${s}` : ""), r === "children" && (o.children = typeof s == "string" ? E(s) ? `${s}` : "" : s), r.includes("borderWidth") && (o.borderStyle = "solid"), r === "corner" && (o.borderRadius = he(s, "px")), r === "backgroundFit" && (o.backgroundSize = s, o.objectFit = s), r === "backgroundImage" && E(s) && (o.backgroundImage = `url(${s})`, o.backgroundRepeat = "no-repeat", o.imageSource = s), r === "backgroundColorOpacity" && E(o.backgroundColorOpacity) && E(o.backgroundColor)) {
|
1229
1229
|
const i = Fo(o.backgroundColor);
|
1230
|
-
i && (o.backgroundColor =
|
1230
|
+
i && (o.backgroundColor = Wo(`rgb(${i.r}, ${i.g}, ${i.b})`, +o.backgroundColorOpacity / 100));
|
1231
1231
|
}
|
1232
1232
|
if (r === "colorOpacity" && E(o.colorOpacity) && E(o.color)) {
|
1233
1233
|
const i = Fo(o.color);
|
1234
|
-
i && (o.color =
|
1234
|
+
i && (o.color = Wo(`rgb(${i.r}, ${i.g}, ${i.b})`, +o.colorOpacity / 100));
|
1235
1235
|
}
|
1236
1236
|
return r === "fontFamily" && /auto/i.test(s) && (o.fontFamily = Yd), r === "isBold" && (o.fontWeight = s ? "bold" : "initial"), r === "weight" && E(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, Y = (t) => E(t) ? Object.entries(t).reduce((o, [e, n]) => (o[e] = Pd(n) ? Dn(
|
1237
|
+
}, t), Pd = (t) => typeof t == "object" && !Array.isArray(t) && "parent" in t, Y = (t) => E(t) ? Object.entries(t).reduce((o, [e, n]) => (o[e] = Pd(n) ? Dn(k({}, t[e])) : n, o), {}) : t, Ed = (t) => t in document.createElement("div").style || t.startsWith("--"), Vd = (t) => `<span style="${t}">$1</span>`, W = (s) => {
|
1238
1238
|
var i = s, {
|
1239
1239
|
children: t,
|
1240
1240
|
typography: o,
|
@@ -1246,19 +1246,19 @@ const In = Gn(), xt = ({
|
|
1246
1246
|
"accentTypography",
|
1247
1247
|
"replacer"
|
1248
1248
|
]);
|
1249
|
-
var
|
1249
|
+
var d;
|
1250
1250
|
const l = Pt(() => {
|
1251
1251
|
if (!e)
|
1252
1252
|
return {};
|
1253
1253
|
let c = "";
|
1254
|
-
return Object.entries(e).forEach(([
|
1255
|
-
Ed(
|
1254
|
+
return Object.entries(e).forEach(([u, p]) => {
|
1255
|
+
Ed(u) && (c += `${nd(u)}: ${p}; `);
|
1256
1256
|
}), c;
|
1257
|
-
}, [e]),
|
1258
|
-
return a("div", T(
|
1259
|
-
style:
|
1257
|
+
}, [e]), _ = (d = t == null ? void 0 : t.replace(/script|\n/g, "")) == null ? void 0 : d.replace(/{{(.*?)}}/g, n(l));
|
1258
|
+
return a("div", T(k({}, r), {
|
1259
|
+
style: k(k({}, o), r.style || {}),
|
1260
1260
|
dangerouslySetInnerHTML: {
|
1261
|
-
__html:
|
1261
|
+
__html: _
|
1262
1262
|
}
|
1263
1263
|
}));
|
1264
1264
|
}, ie = () => {
|
@@ -1295,29 +1295,29 @@ const In = Gn(), xt = ({
|
|
1295
1295
|
wiggle: `${t.wiggle} 2s linear infinite`,
|
1296
1296
|
gradient: `${t.gradient} 3s ease infinite`
|
1297
1297
|
}), Rn = (t, o) => {
|
1298
|
-
var c, p,
|
1298
|
+
var c, u, p, h, m, f, N, A, O, D, j, C, w;
|
1299
1299
|
const e = Gd(o), n = Y(t), r = (c = n == null ? void 0 : n.icon) == null ? void 0 : c.hasIcon, s = {
|
1300
|
-
left: `${+(((
|
1301
|
-
backgroundColor: (
|
1302
|
-
borderTopWidth: (
|
1303
|
-
borderTopColor: (
|
1300
|
+
left: `${+(((u = t == null ? void 0 : t.container) == null ? void 0 : u.left) || 0) * -1 + 8}px`,
|
1301
|
+
backgroundColor: (p = n == null ? void 0 : n.container) == null ? void 0 : p.backgroundColor,
|
1302
|
+
borderTopWidth: (h = n == null ? void 0 : n.container) == null ? void 0 : h.borderWidth,
|
1303
|
+
borderTopColor: (m = n == null ? void 0 : n.container) == null ? void 0 : m.borderColor,
|
1304
1304
|
borderTopStyle: "solid",
|
1305
|
-
borderLeftWidth: (
|
1306
|
-
borderLeftColor: (
|
1305
|
+
borderLeftWidth: (f = n == null ? void 0 : n.container) == null ? void 0 : f.borderWidth,
|
1306
|
+
borderLeftColor: (N = n == null ? void 0 : n.container) == null ? void 0 : N.borderColor,
|
1307
1307
|
borderLeftStyle: "solid"
|
1308
1308
|
}, i = {
|
1309
1309
|
left: (A = n == null ? void 0 : n.container) == null ? void 0 : A.left
|
1310
|
-
}, l = (((
|
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((G) => e[G]).join(", "), _ = E((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%, ${(w = n == null ? void 0 : n.icon) == null ? void 0 : w.gradientColor} 100%) 0% 0% / 400% 400%`,
|
1312
1312
|
backgroundSize: "400% 400%"
|
1313
|
-
} : n == null ? void 0 : n.icon,
|
1313
|
+
} : n == null ? void 0 : n.icon, d = k(T(k({}, (n == null ? void 0 : n.icon) || {}), {
|
1314
1314
|
animation: l
|
1315
|
-
}),
|
1315
|
+
}), _);
|
1316
1316
|
return {
|
1317
1317
|
hasIcon: r,
|
1318
1318
|
arrowRules: s,
|
1319
1319
|
bodyRules: i,
|
1320
|
-
iconRules:
|
1320
|
+
iconRules: d
|
1321
1321
|
};
|
1322
1322
|
}, Ae = [400, 700], wt = (t) => {
|
1323
1323
|
const o = /* @__PURE__ */ new Map();
|
@@ -1334,7 +1334,7 @@ const In = Gn(), xt = ({
|
|
1334
1334
|
rel: "stylesheet",
|
1335
1335
|
href: `https://fonts.googleapis.com/css?family=${n}:${[...r, ...Ae].join(",")}&display=swap`
|
1336
1336
|
})), [o]);
|
1337
|
-
|
1337
|
+
Q(() => {
|
1338
1338
|
e.forEach(K_);
|
1339
1339
|
}, [e]);
|
1340
1340
|
}, Fd = ({
|
@@ -1344,67 +1344,67 @@ const In = Gn(), xt = ({
|
|
1344
1344
|
onClickClose: n,
|
1345
1345
|
onClickIcon: r
|
1346
1346
|
}) => {
|
1347
|
-
var
|
1348
|
-
const s = et(null), [i, l] = ie(),
|
1347
|
+
var j, C, w, G, z, v, b, y, M, $;
|
1348
|
+
const s = et(null), [i, l] = ie(), _ = U(), d = Ot({
|
1349
1349
|
targetRef: s,
|
1350
1350
|
id: t
|
1351
|
-
}), c = Lt(
|
1352
|
-
hasIcon:
|
1353
|
-
iconRules:
|
1354
|
-
bodyRules:
|
1355
|
-
arrowRules:
|
1351
|
+
}), c = Lt(_, d), u = Y(c), {
|
1352
|
+
hasIcon: p,
|
1353
|
+
iconRules: h,
|
1354
|
+
bodyRules: m,
|
1355
|
+
arrowRules: f
|
1356
1356
|
} = Rn(c, {
|
1357
|
-
fade:
|
1358
|
-
pulse:
|
1359
|
-
wiggle:
|
1360
|
-
gradient:
|
1357
|
+
fade: F.fadein,
|
1358
|
+
pulse: F.pulse,
|
1359
|
+
wiggle: F.wiggle,
|
1360
|
+
gradient: F.gradient
|
1361
1361
|
});
|
1362
1362
|
wt(c);
|
1363
|
-
const
|
1363
|
+
const N = !!(u.legal.buttonHideText && ((j = u.legal.buttonHideText) == null ? void 0 : j.length) > 0), A = vt(u == null ? void 0 : u.container, "left"), O = {
|
1364
1364
|
paddingTop: 5,
|
1365
1365
|
paddingRight: 0,
|
1366
1366
|
paddingBottom: 2,
|
1367
1367
|
paddingLeft: 0
|
1368
|
-
},
|
1368
|
+
}, D = {
|
1369
1369
|
paddingTop: 7,
|
1370
1370
|
paddingRight: 10,
|
1371
1371
|
paddingBottom: 7,
|
1372
1372
|
paddingLeft: 10
|
1373
1373
|
};
|
1374
1374
|
return a("div", {
|
1375
|
-
className: R(
|
1376
|
-
[
|
1377
|
-
[
|
1375
|
+
className: R(F.root, {
|
1376
|
+
[F.legalOpen]: i,
|
1377
|
+
[F.legalStatic]: !N
|
1378
1378
|
}),
|
1379
1379
|
ref: s,
|
1380
1380
|
children: [a("div", {
|
1381
|
-
className:
|
1382
|
-
style:
|
1381
|
+
className: F.icon,
|
1382
|
+
style: h,
|
1383
1383
|
onClick: r,
|
1384
|
-
children:
|
1385
|
-
className:
|
1384
|
+
children: p && a("div", {
|
1385
|
+
className: F.iconTarget,
|
1386
1386
|
children: a(He, {})
|
1387
1387
|
})
|
1388
1388
|
}), a("div", {
|
1389
|
-
className: R(
|
1390
|
-
[
|
1389
|
+
className: R(F.body, {
|
1390
|
+
[F.bodyOpen]: o
|
1391
1391
|
}),
|
1392
|
-
style:
|
1392
|
+
style: m,
|
1393
1393
|
children: [a("div", {
|
1394
|
-
className:
|
1395
|
-
style:
|
1394
|
+
className: F.arrow,
|
1395
|
+
style: f
|
1396
1396
|
}), a("div", {
|
1397
|
-
className:
|
1398
|
-
style: T(
|
1399
|
-
backgroundColor: (C =
|
1397
|
+
className: F.close,
|
1398
|
+
style: T(k({}, Je(u == null ? void 0 : u.close)), {
|
1399
|
+
backgroundColor: (C = u == null ? void 0 : u.close) == null ? void 0 : C.color
|
1400
1400
|
}),
|
1401
1401
|
onClick: n,
|
1402
1402
|
children: a(Rt, {})
|
1403
1403
|
}), a("div", {
|
1404
|
-
className:
|
1404
|
+
className: F.container,
|
1405
1405
|
style: A,
|
1406
1406
|
children: [a("a", {
|
1407
|
-
href: (
|
1407
|
+
href: (w = u == null ? void 0 : u.root) == null ? void 0 : w.offer,
|
1408
1408
|
style: {
|
1409
1409
|
opacity: i ? 0 : 1
|
1410
1410
|
},
|
@@ -1412,49 +1412,49 @@ const In = Gn(), xt = ({
|
|
1412
1412
|
rel: "nofollow noopener noreferrer",
|
1413
1413
|
onClick: () => e(),
|
1414
1414
|
children: [a("div", {
|
1415
|
-
className:
|
1415
|
+
className: F.inner,
|
1416
1416
|
children: [a("div", {
|
1417
|
-
className:
|
1418
|
-
style:
|
1419
|
-
}), a(
|
1420
|
-
className:
|
1421
|
-
style:
|
1422
|
-
typography: (
|
1423
|
-
accentTypography: (
|
1424
|
-
children: (
|
1417
|
+
className: F.logo,
|
1418
|
+
style: u == null ? void 0 : u.logo
|
1419
|
+
}), a(W, {
|
1420
|
+
className: F.text,
|
1421
|
+
style: u == null ? void 0 : u.text,
|
1422
|
+
typography: (G = u.text) == null ? void 0 : G.typography,
|
1423
|
+
accentTypography: (z = u.text) == null ? void 0 : z.accentTypography,
|
1424
|
+
children: (v = u == null ? void 0 : u.text) == null ? void 0 : v.children
|
1425
1425
|
})]
|
1426
1426
|
}), a("div", {
|
1427
|
-
className: R(
|
1428
|
-
[
|
1427
|
+
className: R(F.button, {
|
1428
|
+
[F.buttonAnimated]: u == null ? void 0 : u.button.isAnimated
|
1429
1429
|
}),
|
1430
|
-
style:
|
1431
|
-
children: (
|
1430
|
+
style: u == null ? void 0 : u.button,
|
1431
|
+
children: (b = u == null ? void 0 : u.button) == null ? void 0 : b.children
|
1432
1432
|
})]
|
1433
1433
|
}), a("div", {
|
1434
|
-
className:
|
1434
|
+
className: F.legalGap
|
1435
1435
|
}), a("div", {
|
1436
|
-
className:
|
1437
|
-
style:
|
1436
|
+
className: F.legal,
|
1437
|
+
style: k(k({}, u == null ? void 0 : u.legal), i ? D : O),
|
1438
1438
|
children: [a("div", {
|
1439
|
-
className:
|
1440
|
-
children: (
|
1439
|
+
className: F.legalText,
|
1440
|
+
children: (y = u == null ? void 0 : u.legal) == null ? void 0 : y.children
|
1441
1441
|
}), a("div", {
|
1442
|
-
className:
|
1442
|
+
className: F.legalButton,
|
1443
1443
|
onClick: l,
|
1444
|
-
children: i ? (
|
1444
|
+
children: i ? (M = u == null ? void 0 : u.legal) == null ? void 0 : M.buttonOpenText : ($ = u == null ? void 0 : u.legal) == null ? void 0 : $.buttonHideText
|
1445
1445
|
})]
|
1446
1446
|
})]
|
1447
1447
|
})]
|
1448
1448
|
})]
|
1449
1449
|
});
|
1450
|
-
}, Bh = Tt(a(Fd, {})),
|
1451
|
-
root:
|
1452
|
-
icon:
|
1450
|
+
}, Bh = Tt(a(Fd, {})), Wd = "_root_13yhu_1", Ud = "_icon_13yhu_5", zd = "_iconTarget_13yhu_17", Kd = "_body_13yhu_23", Zd = "_desktop_13yhu_30", Jd = "_tablet_13yhu_30", qd = "_laptop_13yhu_30", Xd = "_bodyOpen_13yhu_34", Qd = "_complexGift_in_13yhu_1", tu = "_arrow_13yhu_47", eu = "_container_13yhu_57", ou = "_promotion_13yhu_62", nu = "_close_13yhu_68", ru = "_head_13yhu_81", au = "_headIcon_13yhu_87", su = "_headTitle_13yhu_93", iu = "_inner_13yhu_100", lu = "_fadein_13yhu_1", cu = "_pulse_13yhu_1", _u = "_gradient_13yhu_1", du = "_wiggle_13yhu_1", J = {
|
1451
|
+
root: Wd,
|
1452
|
+
icon: Ud,
|
1453
1453
|
iconTarget: zd,
|
1454
1454
|
body: Kd,
|
1455
|
-
desktop:
|
1456
|
-
tablet:
|
1457
|
-
laptop:
|
1455
|
+
desktop: Zd,
|
1456
|
+
tablet: Jd,
|
1457
|
+
laptop: qd,
|
1458
1458
|
bodyOpen: Xd,
|
1459
1459
|
complexGift_in: Qd,
|
1460
1460
|
arrow: tu,
|
@@ -1483,7 +1483,7 @@ const In = Gn(), xt = ({
|
|
1483
1483
|
}, ku = ({
|
1484
1484
|
onClick: t
|
1485
1485
|
}) => {
|
1486
|
-
var n, r, s, i, l,
|
1486
|
+
var n, r, s, i, l, _, d;
|
1487
1487
|
const o = U(), e = Y(o);
|
1488
1488
|
return a("a", {
|
1489
1489
|
href: (n = e.root) == null ? void 0 : n.offer,
|
@@ -1507,7 +1507,7 @@ const In = Gn(), xt = ({
|
|
1507
1507
|
}), a("div", {
|
1508
1508
|
className: kt.text,
|
1509
1509
|
style: e.text,
|
1510
|
-
children: a(
|
1510
|
+
children: a(W, {
|
1511
1511
|
typography: (s = e.text) == null ? void 0 : s.typography,
|
1512
1512
|
accentTypography: (i = e.text) == null ? void 0 : i.accentTypography,
|
1513
1513
|
children: (l = e.text) == null ? void 0 : l.children
|
@@ -1521,94 +1521,94 @@ const In = Gn(), xt = ({
|
|
1521
1521
|
style: e.logo
|
1522
1522
|
}), a("div", {
|
1523
1523
|
className: kt.buttonText,
|
1524
|
-
children: (
|
1524
|
+
children: (_ = e.button) == null ? void 0 : _.children
|
1525
1525
|
})]
|
1526
1526
|
})]
|
1527
1527
|
}), a("div", {
|
1528
1528
|
className: kt.legal,
|
1529
1529
|
style: e.legal,
|
1530
|
-
children: (
|
1530
|
+
children: (d = e.legal) == null ? void 0 : d.children
|
1531
1531
|
})]
|
1532
1532
|
});
|
1533
|
-
}, ut = ["backgroundColor", "backgroundColorOpacity", "backgroundImage", "backgroundSize", "backgroundRepeat"],
|
1533
|
+
}, ut = ["backgroundColor", "backgroundColorOpacity", "backgroundImage", "backgroundSize", "backgroundRepeat"], Uo = ["imageSource", "objectFit"], ye = ["marginTop", "marginBottom", "marginLeft", "marginRight", "paddingTop", "paddingBottom", "paddingLeft", "paddingRight"], Mu = ({
|
1534
1534
|
id: t,
|
1535
1535
|
isOpen: o,
|
1536
1536
|
onClick: e,
|
1537
1537
|
onClickIcon: n,
|
1538
1538
|
onClickClose: r
|
1539
1539
|
}) => {
|
1540
|
-
var A,
|
1540
|
+
var A, O, D;
|
1541
1541
|
const s = et(null), i = U(), l = Ot({
|
1542
1542
|
targetRef: s,
|
1543
1543
|
id: t
|
1544
|
-
}),
|
1545
|
-
wt(
|
1544
|
+
}), _ = Lt(i, l), d = Y(_);
|
1545
|
+
wt(_);
|
1546
1546
|
const {
|
1547
1547
|
hasIcon: c,
|
1548
|
-
iconRules:
|
1549
|
-
bodyRules:
|
1550
|
-
arrowRules:
|
1551
|
-
} = Rn(
|
1552
|
-
fade:
|
1553
|
-
pulse:
|
1554
|
-
wiggle:
|
1555
|
-
gradient:
|
1556
|
-
}),
|
1548
|
+
iconRules: u,
|
1549
|
+
bodyRules: p,
|
1550
|
+
arrowRules: h
|
1551
|
+
} = Rn(_, {
|
1552
|
+
fade: J.fadein,
|
1553
|
+
pulse: J.pulse,
|
1554
|
+
wiggle: J.wiggle,
|
1555
|
+
gradient: J.gradient
|
1556
|
+
}), m = (A = d == null ? void 0 : d.title) == null ? void 0 : A.hasIcon, f = St(d == null ? void 0 : d.title, ...ye), N = vt(d == null ? void 0 : d.title, ...ye);
|
1557
1557
|
return a("div", {
|
1558
1558
|
ref: s,
|
1559
|
-
className: R(
|
1560
|
-
[
|
1561
|
-
[
|
1562
|
-
[
|
1559
|
+
className: R(J.root, {
|
1560
|
+
[J.desktop]: l === "desktop",
|
1561
|
+
[J.laptop]: l === "laptop",
|
1562
|
+
[J.tablet]: l === "tablet"
|
1563
1563
|
}),
|
1564
1564
|
children: [a("div", {
|
1565
|
-
className:
|
1566
|
-
style:
|
1565
|
+
className: J.icon,
|
1566
|
+
style: u,
|
1567
1567
|
onClick: n,
|
1568
1568
|
children: c && a("div", {
|
1569
|
-
className:
|
1569
|
+
className: J.iconTarget,
|
1570
1570
|
children: a(He, {})
|
1571
1571
|
})
|
1572
1572
|
}), a("div", {
|
1573
|
-
className: R(
|
1574
|
-
[
|
1573
|
+
className: R(J.body, {
|
1574
|
+
[J.bodyOpen]: o
|
1575
1575
|
}),
|
1576
|
-
style:
|
1576
|
+
style: p,
|
1577
1577
|
children: [a("div", {
|
1578
|
-
className:
|
1579
|
-
style:
|
1578
|
+
className: J.arrow,
|
1579
|
+
style: h
|
1580
1580
|
}), a("div", {
|
1581
|
-
className:
|
1582
|
-
style:
|
1581
|
+
className: J.container,
|
1582
|
+
style: d.container,
|
1583
1583
|
children: [a("div", {
|
1584
|
-
className:
|
1585
|
-
style:
|
1586
|
-
children: [
|
1587
|
-
className:
|
1588
|
-
style: St(
|
1584
|
+
className: J.head,
|
1585
|
+
style: f,
|
1586
|
+
children: [m && a("div", {
|
1587
|
+
className: J.headIcon,
|
1588
|
+
style: St(d.title, "color"),
|
1589
1589
|
children: a(He, {})
|
1590
1590
|
}), a("div", {
|
1591
|
-
className:
|
1592
|
-
style:
|
1593
|
-
children: (
|
1591
|
+
className: J.headTitle,
|
1592
|
+
style: N,
|
1593
|
+
children: (O = d.title) == null ? void 0 : O.children
|
1594
1594
|
}), a("div", {
|
1595
|
-
className:
|
1596
|
-
style:
|
1595
|
+
className: J.close,
|
1596
|
+
style: Je(d == null ? void 0 : d.close),
|
1597
1597
|
onClick: r,
|
1598
1598
|
children: a(Rt, {})
|
1599
1599
|
})]
|
1600
1600
|
}), a("div", {
|
1601
|
-
className:
|
1602
|
-
children: (
|
1603
|
-
value:
|
1601
|
+
className: J.inner,
|
1602
|
+
children: (d.children || []).map((j) => a(xt, {
|
1603
|
+
value: j,
|
1604
1604
|
children: a(ku, {
|
1605
1605
|
onClick: (C) => e(C)
|
1606
1606
|
})
|
1607
1607
|
}))
|
1608
1608
|
}), a("div", {
|
1609
|
-
className:
|
1610
|
-
style:
|
1611
|
-
children: (
|
1609
|
+
className: J.promotion,
|
1610
|
+
style: d.promotion,
|
1611
|
+
children: (D = d.promotion) == null ? void 0 : D.children
|
1612
1612
|
})]
|
1613
1613
|
})]
|
1614
1614
|
})]
|
@@ -1641,63 +1641,63 @@ const In = Gn(), xt = ({
|
|
1641
1641
|
return a("div", {
|
1642
1642
|
className: Pu.root,
|
1643
1643
|
style: o.root,
|
1644
|
-
children: a(
|
1644
|
+
children: a(W, {
|
1645
1645
|
typography: (e = o.root) == null ? void 0 : e.typography,
|
1646
1646
|
accentTypography: (n = o.root) == null ? void 0 : n.accentTypography,
|
1647
1647
|
children: (r = o == null ? void 0 : o.root) == null ? void 0 : r.children
|
1648
1648
|
})
|
1649
1649
|
});
|
1650
1650
|
}, ze = (t, o = 0, e = !1) => {
|
1651
|
-
const n = et(
|
1651
|
+
const n = et(We()), [r, s] = yt(!1), [i, l] = yt(), [_, d] = yt(e), c = (N) => n.current.on("visible", N), u = (N) => n.current.on("click", N), p = (N) => n.current.on("clickHide", N), h = () => _e(void 0, null, function* () {
|
1652
1652
|
yield ed(+o), s(!0);
|
1653
|
-
}),
|
1654
|
-
n.current.emit("clickHide"),
|
1653
|
+
}), m = () => s(!1), f = () => {
|
1654
|
+
n.current.emit("clickHide"), m();
|
1655
1655
|
};
|
1656
|
-
return
|
1657
|
-
|
1656
|
+
return Q(() => {
|
1657
|
+
_ && n.current.emit("visible", r);
|
1658
1658
|
}, [r]), Be(t, () => ({
|
1659
1659
|
onVisible: c,
|
1660
|
-
onClick:
|
1661
|
-
onClickHide:
|
1662
|
-
show:
|
1663
|
-
hide:
|
1660
|
+
onClick: u,
|
1661
|
+
onClickHide: p,
|
1662
|
+
show: h,
|
1663
|
+
hide: m,
|
1664
1664
|
setApiHost: l,
|
1665
1665
|
resetListeners: n.current.reset
|
1666
|
-
})),
|
1667
|
-
isReady:
|
1666
|
+
})), Q(() => n.current.reset, []), {
|
1667
|
+
isReady: _,
|
1668
1668
|
isOpen: r,
|
1669
1669
|
apiHost: i,
|
1670
|
-
show:
|
1671
|
-
hide:
|
1672
|
-
clickHide:
|
1673
|
-
setIsReady:
|
1674
|
-
click: (...
|
1675
|
-
|
1670
|
+
show: h,
|
1671
|
+
hide: m,
|
1672
|
+
clickHide: f,
|
1673
|
+
setIsReady: d,
|
1674
|
+
click: (...N) => {
|
1675
|
+
m(), n.current.emit("click", ...N);
|
1676
1676
|
}
|
1677
1677
|
};
|
1678
|
-
}, Vu = "_root_120y9_1", Gu = "_progress_120y9_8", Fu = "_countdown_120y9_1",
|
1678
|
+
}, Vu = "_root_120y9_1", Gu = "_progress_120y9_8", Fu = "_countdown_120y9_1", Wu = "_body_120y9_17", Uu = "_body_active_120y9_31", zu = "_closeIcon_120y9_35", Gt = {
|
1679
1679
|
root: Vu,
|
1680
1680
|
progress: Gu,
|
1681
1681
|
countdown: Fu,
|
1682
|
-
body:
|
1683
|
-
body_active:
|
1682
|
+
body: Wu,
|
1683
|
+
body_active: Uu,
|
1684
1684
|
closeIcon: zu
|
1685
1685
|
}, Ku = {
|
1686
1686
|
low: "#00C85D",
|
1687
1687
|
medium: "#F8CC11",
|
1688
1688
|
high: "#c80000"
|
1689
|
-
},
|
1689
|
+
}, Zu = {
|
1690
1690
|
low: "#c80000",
|
1691
1691
|
medium: "#F8CC11",
|
1692
1692
|
high: "#00C85D"
|
1693
|
-
},
|
1694
|
-
const n = o === "default" ? Ku :
|
1695
|
-
return
|
1693
|
+
}, Ju = (t = 5e3, o = "default", e) => {
|
1694
|
+
const n = o === "default" ? Ku : Zu, [r, s] = yt(+t), i = et(), l = r / +t * 100, _ = l > 66 ? n.low : l > 33 ? n.medium : n.high;
|
1695
|
+
return Q(() => {
|
1696
1696
|
r <= 0 && clearInterval(i.current);
|
1697
|
-
}, [r]),
|
1697
|
+
}, [r]), Q(() => (s(t), i.current = setInterval(() => s((d) => d - 1e3), 1e3), () => clearInterval(i.current)), [t, o]), Q(() => {
|
1698
1698
|
e(r);
|
1699
1699
|
}, [r]), {
|
1700
|
-
color:
|
1700
|
+
color: _,
|
1701
1701
|
progress: l,
|
1702
1702
|
timeLeft: +r / 1e3
|
1703
1703
|
};
|
@@ -1712,12 +1712,12 @@ const In = Gn(), xt = ({
|
|
1712
1712
|
progress: s,
|
1713
1713
|
timeLeft: i,
|
1714
1714
|
color: l
|
1715
|
-
} =
|
1715
|
+
} = Ju(+o, e, r), _ = Math.PI * (t * 2);
|
1716
1716
|
return a("div", {
|
1717
1717
|
className: Gt.root,
|
1718
1718
|
style: {
|
1719
1719
|
"--duration": `${o}ms`,
|
1720
|
-
"--offset": `${
|
1720
|
+
"--offset": `${_}px`
|
1721
1721
|
},
|
1722
1722
|
children: [a("svg", {
|
1723
1723
|
className: R(Gt.progress, {
|
@@ -1737,7 +1737,7 @@ const In = Gn(), xt = ({
|
|
1737
1737
|
cx: t,
|
1738
1738
|
cy: t,
|
1739
1739
|
fill: "transparent",
|
1740
|
-
strokeDasharray:
|
1740
|
+
strokeDasharray: _,
|
1741
1741
|
strokeDashoffset: "0",
|
1742
1742
|
strokeWidth: 3
|
1743
1743
|
}), a("circle", {
|
@@ -1766,46 +1766,46 @@ const In = Gn(), xt = ({
|
|
1766
1766
|
})]
|
1767
1767
|
});
|
1768
1768
|
};
|
1769
|
-
function
|
1769
|
+
function qu(t) {
|
1770
1770
|
return !(!t.complete || typeof t.naturalWidth != "undefined" && t.naturalWidth === 0);
|
1771
1771
|
}
|
1772
1772
|
const Xu = zt(({
|
1773
1773
|
id: t,
|
1774
1774
|
className: o
|
1775
1775
|
}, e) => {
|
1776
|
-
var S,
|
1776
|
+
var S, L, x, B, 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
|
-
}),
|
1781
|
-
wt(
|
1782
|
-
const c = Y(
|
1783
|
-
isOpen:
|
1784
|
-
isReady:
|
1785
|
-
setIsReady:
|
1786
|
-
clickHide:
|
1787
|
-
click:
|
1788
|
-
} = ze(e,
|
1789
|
-
|
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", (L = d == null ? void 0 : d.legal) == null ? void 0 : L.width));
|
1782
|
+
const c = Y(d), u = g(c, "root.delay", 0), {
|
1783
|
+
isOpen: p,
|
1784
|
+
isReady: h,
|
1785
|
+
setIsReady: m,
|
1786
|
+
clickHide: f,
|
1787
|
+
click: N
|
1788
|
+
} = ze(e, u), A = g(c, "close.variant", "default"), O = g(c, "close.radius", 21), D = g(c, "close.colorDirection", "default"), j = g(c, "close.timeoutLock", !1), C = A === "timer" ? n <= 0 : !0, w = A === "timer" && j && n > 0 ? "div" : "a";
|
1789
|
+
Q(() => {
|
1790
1790
|
const it = i.current;
|
1791
1791
|
if (!it)
|
1792
1792
|
return;
|
1793
|
-
if (
|
1794
|
-
|
1793
|
+
if (qu(it)) {
|
1794
|
+
m(!0);
|
1795
1795
|
return;
|
1796
1796
|
}
|
1797
|
-
const bt = () =>
|
1797
|
+
const bt = () => m(!0);
|
1798
1798
|
return it.addEventListener("load", bt), () => {
|
1799
1799
|
it.removeEventListener("load", bt);
|
1800
1800
|
};
|
1801
1801
|
}, [c]);
|
1802
|
-
const
|
1803
|
-
alignItems: jt((
|
1804
|
-
},
|
1802
|
+
const G = {
|
1803
|
+
alignItems: jt((x = c.root) == null ? void 0 : x.align)
|
1804
|
+
}, z = T(k({}, c == null ? void 0 : c.button), {
|
1805
1805
|
justifyContent: jt((B = c.root) == null ? void 0 : B.textAlign)
|
1806
|
-
}),
|
1806
|
+
}), v = T(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, ...Uo, ...ut), M = St(c.root, ...Uo), $ = p && h;
|
1809
1809
|
return a("div", {
|
1810
1810
|
className: R(at.root, o, {
|
1811
1811
|
[at.desktop]: l === "desktop",
|
@@ -1814,22 +1814,22 @@ const Xu = zt(({
|
|
1814
1814
|
}),
|
1815
1815
|
ref: s,
|
1816
1816
|
style: {
|
1817
|
-
display:
|
1817
|
+
display: $ ? "flex" : "none"
|
1818
1818
|
},
|
1819
1819
|
children: [a("div", {
|
1820
1820
|
className: at.overlay,
|
1821
1821
|
style: c.overlay,
|
1822
|
-
onClick: C &&
|
1822
|
+
onClick: C && f
|
1823
1823
|
}), a("div", {
|
1824
1824
|
className: at.wrapper,
|
1825
|
-
children: [
|
1825
|
+
children: [$ && a(je, {
|
1826
1826
|
children: A === "default" ? a("div", {
|
1827
1827
|
className: at.close,
|
1828
|
-
style: T(
|
1829
|
-
borderBottomLeftRadius: `${
|
1830
|
-
borderTopRightRadius: `${
|
1828
|
+
style: T(k({}, c.close), {
|
1829
|
+
borderBottomLeftRadius: `${b}px`,
|
1830
|
+
borderTopRightRadius: `${b}px`
|
1831
1831
|
}),
|
1832
|
-
onClick:
|
1832
|
+
onClick: f,
|
1833
1833
|
children: a(Rt, {
|
1834
1834
|
width: 11,
|
1835
1835
|
height: 11
|
@@ -1837,33 +1837,33 @@ const Xu = zt(({
|
|
1837
1837
|
}) : a("div", {
|
1838
1838
|
className: at.closeTimer,
|
1839
1839
|
children: a(Ke, {
|
1840
|
-
timeout:
|
1841
|
-
colorDirection:
|
1842
|
-
radius:
|
1843
|
-
onClick:
|
1840
|
+
timeout: g(c, "close.timeout"),
|
1841
|
+
colorDirection: D,
|
1842
|
+
radius: O,
|
1843
|
+
onClick: f,
|
1844
1844
|
onChange: r
|
1845
1845
|
})
|
1846
1846
|
})
|
1847
|
-
}), a(
|
1847
|
+
}), a(W, {
|
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(w, {
|
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
|
-
style:
|
1857
|
-
onClick: () =>
|
1856
|
+
style: y,
|
1857
|
+
onClick: () => w === "a" && N(c.id),
|
1858
1858
|
children: [a("img", {
|
1859
1859
|
ref: i,
|
1860
1860
|
className: at.background,
|
1861
|
-
src:
|
1861
|
+
src: M.imageSource,
|
1862
1862
|
alt: "",
|
1863
|
-
style:
|
1863
|
+
style: M
|
1864
1864
|
}), a("div", {
|
1865
1865
|
className: at.body,
|
1866
|
-
style:
|
1866
|
+
style: G,
|
1867
1867
|
children: [a("div", {
|
1868
1868
|
className: at.logo,
|
1869
1869
|
style: c.logo
|
@@ -1875,12 +1875,12 @@ const Xu = zt(({
|
|
1875
1875
|
}))
|
1876
1876
|
}), a("div", {
|
1877
1877
|
className: at.button,
|
1878
|
-
style:
|
1879
|
-
children:
|
1878
|
+
style: z,
|
1879
|
+
children: z == null ? void 0 : z.children
|
1880
1880
|
}), a("div", {
|
1881
1881
|
className: at.legal,
|
1882
|
-
style:
|
1883
|
-
children:
|
1882
|
+
style: v,
|
1883
|
+
children: v == null ? void 0 : v.children
|
1884
1884
|
})]
|
1885
1885
|
})]
|
1886
1886
|
})]
|
@@ -1912,7 +1912,7 @@ const Xu = zt(({
|
|
1912
1912
|
}, bp = ({
|
1913
1913
|
onClick: t
|
1914
1914
|
}) => {
|
1915
|
-
var i, l,
|
1915
|
+
var i, l, _, d, c, u;
|
1916
1916
|
const o = U(), e = Y(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,
|
@@ -1943,22 +1943,22 @@ const Xu = zt(({
|
|
1943
1943
|
className: pt.logo,
|
1944
1944
|
style: e.logo
|
1945
1945
|
})
|
1946
|
-
}), a(
|
1946
|
+
}), a(W, {
|
1947
1947
|
className: pt.text,
|
1948
1948
|
style: e.text,
|
1949
1949
|
typography: (l = e.text) == null ? void 0 : l.typography,
|
1950
|
-
accentTypography: (
|
1951
|
-
children: (
|
1950
|
+
accentTypography: (_ = e.text) == null ? void 0 : _.accentTypography,
|
1951
|
+
children: (d = e.text) == null ? void 0 : d.children
|
1952
1952
|
})]
|
1953
1953
|
}), a("div", {
|
1954
|
-
children: [a(
|
1954
|
+
children: [a(W, {
|
1955
1955
|
className: pt.button,
|
1956
1956
|
style: e.button,
|
1957
1957
|
children: (c = e.button) == null ? void 0 : c.children
|
1958
|
-
}), a(
|
1958
|
+
}), a(W, {
|
1959
1959
|
className: pt.legal,
|
1960
1960
|
style: e.legal,
|
1961
|
-
children: (
|
1961
|
+
children: (u = e.legal) == null ? void 0 : u.children
|
1962
1962
|
})]
|
1963
1963
|
})]
|
1964
1964
|
})]
|
@@ -1966,17 +1966,17 @@ const Xu = zt(({
|
|
1966
1966
|
}, $p = zt(({
|
1967
1967
|
id: t
|
1968
1968
|
}, o) => {
|
1969
|
-
var
|
1969
|
+
var j, C, w;
|
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), _ = Y(l);
|
1974
1974
|
wt(l);
|
1975
|
-
const
|
1975
|
+
const d = g(_, "root.delay", 0), {
|
1976
1976
|
isOpen: c,
|
1977
|
-
clickHide:
|
1978
|
-
click:
|
1979
|
-
} = ze(o,
|
1977
|
+
clickHide: u,
|
1978
|
+
click: p
|
1979
|
+
} = ze(o, d, !0), h = g(_, "close.variant", "default"), m = g(_, "close.radius", 21), f = g(_, "close.colorDirection", "default"), N = g(_, "close.timeoutLock", !1), A = h === "timer" ? e <= 0 : !0, O = h === "timer" && N && e > 0 ? "div" : "a", D = (j = _.root) == null ? void 0 : j.corner;
|
1980
1980
|
return a("div", {
|
1981
1981
|
className: Ct.root,
|
1982
1982
|
style: {
|
@@ -1984,22 +1984,22 @@ const Xu = zt(({
|
|
1984
1984
|
},
|
1985
1985
|
children: [a("div", {
|
1986
1986
|
className: Ct.overlay,
|
1987
|
-
style:
|
1988
|
-
onClick: A &&
|
1987
|
+
style: _.overlay,
|
1988
|
+
onClick: A && u
|
1989
1989
|
}), a("div", {
|
1990
1990
|
ref: r,
|
1991
1991
|
className: R(Ct.content, {
|
1992
1992
|
[Ct.desktop]: s === "desktop",
|
1993
1993
|
[Ct.laptop]: s === "laptop"
|
1994
1994
|
}),
|
1995
|
-
style:
|
1996
|
-
children: [
|
1995
|
+
style: _.root,
|
1996
|
+
children: [h === "default" ? a("div", {
|
1997
1997
|
className: Ct.close,
|
1998
|
-
style: T(
|
1999
|
-
borderBottomLeftRadius: `${
|
2000
|
-
borderTopRightRadius: `${
|
1998
|
+
style: T(k({}, _.close), {
|
1999
|
+
borderBottomLeftRadius: `${D}px`,
|
2000
|
+
borderTopRightRadius: `${D}px`
|
2001
2001
|
}),
|
2002
|
-
onClick:
|
2002
|
+
onClick: u,
|
2003
2003
|
children: a(Rt, {
|
2004
2004
|
width: 11,
|
2005
2005
|
height: 11
|
@@ -2007,35 +2007,35 @@ const Xu = zt(({
|
|
2007
2007
|
}) : a("div", {
|
2008
2008
|
className: Ct.closeTimer,
|
2009
2009
|
children: a(Ke, {
|
2010
|
-
timeout:
|
2011
|
-
colorDirection:
|
2012
|
-
radius:
|
2013
|
-
onClick:
|
2010
|
+
timeout: g(_, "close.timeout"),
|
2011
|
+
colorDirection: f,
|
2012
|
+
radius: m,
|
2013
|
+
onClick: u,
|
2014
2014
|
onChange: n
|
2015
2015
|
})
|
2016
|
-
}), a(
|
2016
|
+
}), a(W, {
|
2017
2017
|
className: Ct.promotion,
|
2018
|
-
style:
|
2019
|
-
children: (C =
|
2020
|
-
}), a(
|
2018
|
+
style: _.promotion,
|
2019
|
+
children: (C = _.promotion) == null ? void 0 : C.children
|
2020
|
+
}), a(W, {
|
2021
2021
|
className: Ct.title,
|
2022
|
-
style:
|
2023
|
-
children: (
|
2022
|
+
style: _.title,
|
2023
|
+
children: (w = _.title) == null ? void 0 : w.children
|
2024
2024
|
}), a("div", {
|
2025
2025
|
className: Ct.wrapper,
|
2026
|
-
children: (
|
2027
|
-
value: T(
|
2026
|
+
children: (_.children || []).map((G) => a(xt, {
|
2027
|
+
value: T(k({}, G), {
|
2028
2028
|
device: s,
|
2029
|
-
OfferTag:
|
2029
|
+
OfferTag: O
|
2030
2030
|
}),
|
2031
2031
|
children: a(bp, {
|
2032
|
-
onClick:
|
2032
|
+
onClick: p
|
2033
2033
|
})
|
2034
2034
|
}))
|
2035
2035
|
})]
|
2036
2036
|
})]
|
2037
2037
|
});
|
2038
|
-
}), Vh = Tt(a($p, {})), kp = "_root_ph5sn_1", Mp = "_content_ph5sn_11", Np = "_close_ph5sn_18", Tp = "_closeTimer_ph5sn_34", Lp = "_desktop_ph5sn_40", wp = "_laptop_ph5sn_40", Cp = "_promotion_ph5sn_45", Sp = "_overlay_ph5sn_53", xp = "_body_ph5sn_59", Op = "_tablet_ph5sn_69", Ap = "_head_ph5sn_73", jp = "_title_ph5sn_86", Ip = "_logo_ph5sn_98", Dp = "_wrapper_ph5sn_105", Rp = "_text_ph5sn_112", Hp = "_button_ph5sn_120", Yp = "_buttonHead_ph5sn_135", Bp = "_buttonTarget_ph5sn_152", Pp = "_legal_ph5sn_166",
|
2038
|
+
}), Vh = Tt(a($p, {})), kp = "_root_ph5sn_1", Mp = "_content_ph5sn_11", Np = "_close_ph5sn_18", Tp = "_closeTimer_ph5sn_34", Lp = "_desktop_ph5sn_40", wp = "_laptop_ph5sn_40", Cp = "_promotion_ph5sn_45", Sp = "_overlay_ph5sn_53", xp = "_body_ph5sn_59", Op = "_tablet_ph5sn_69", Ap = "_head_ph5sn_73", jp = "_title_ph5sn_86", Ip = "_logo_ph5sn_98", Dp = "_wrapper_ph5sn_105", Rp = "_text_ph5sn_112", Hp = "_button_ph5sn_120", Yp = "_buttonHead_ph5sn_135", Bp = "_buttonTarget_ph5sn_152", Pp = "_legal_ph5sn_166", tt = {
|
2039
2039
|
root: kp,
|
2040
2040
|
content: Mp,
|
2041
2041
|
close: Np,
|
@@ -2055,18 +2055,18 @@ const Xu = zt(({
|
|
2055
2055
|
buttonHead: Yp,
|
2056
2056
|
buttonTarget: Bp,
|
2057
2057
|
legal: Pp
|
2058
|
-
}, Ep = "_root_16jvv_1", Vp = "_left_16jvv_8", Gp = "_desktop_16jvv_15", Fp = "_laptop_16jvv_15",
|
2058
|
+
}, Ep = "_root_16jvv_1", Vp = "_left_16jvv_8", Gp = "_desktop_16jvv_15", Fp = "_laptop_16jvv_15", Wp = "_teams_16jvv_19", Up = "_logo_16jvv_25", zp = "_league_16jvv_32", Kp = "_name_16jvv_37", Zp = "_right_16jvv_43", Jp = "_odd_16jvv_54", qp = "_oddLabel_16jvv_67", Xp = "_oddValue_16jvv_76", Qp = "_team_16jvv_19", tf = "_teamLogo_16jvv_100", ef = "_teamName_16jvv_107", q = {
|
2059
2059
|
root: Ep,
|
2060
2060
|
left: Vp,
|
2061
2061
|
desktop: Gp,
|
2062
2062
|
laptop: Fp,
|
2063
|
-
teams:
|
2064
|
-
logo:
|
2063
|
+
teams: Wp,
|
2064
|
+
logo: Up,
|
2065
2065
|
league: zp,
|
2066
2066
|
name: Kp,
|
2067
|
-
right:
|
2068
|
-
odd:
|
2069
|
-
oddLabel:
|
2067
|
+
right: Zp,
|
2068
|
+
odd: Jp,
|
2069
|
+
oddLabel: qp,
|
2070
2070
|
oddValue: Xp,
|
2071
2071
|
team: Qp,
|
2072
2072
|
teamLogo: tf,
|
@@ -2368,21 +2368,21 @@ const of = new Set(Object.keys(Hn)), ht = ({
|
|
2368
2368
|
var i, l;
|
2369
2369
|
const s = et(null);
|
2370
2370
|
if (n === "tennis" && r) {
|
2371
|
-
let
|
2372
|
-
if (!
|
2371
|
+
let _ = r.logo;
|
2372
|
+
if (!_) {
|
2373
2373
|
let c = r.alpha3 || r.alpha2;
|
2374
|
-
c && c.length === 2 && (c = Yn[c]), of.has(c) && (
|
2374
|
+
c && c.length === 2 && (c = Yn[c]), of.has(c) && (_ = `https://cdn.scores24.live/upload/scores24/dist/static/img/general/flags/288dpi/${c == null ? void 0 : c.toLowerCase()}.png`);
|
2375
2375
|
}
|
2376
|
-
if (!
|
2376
|
+
if (!_)
|
2377
2377
|
return null;
|
2378
|
-
const
|
2378
|
+
const d = (l = (i = s.current) == null ? void 0 : i.getBoundingClientRect().width) != null ? l : 0;
|
2379
2379
|
return a("img", {
|
2380
2380
|
ref: s,
|
2381
2381
|
className: t,
|
2382
|
-
style: T(
|
2383
|
-
height: `calc(${
|
2382
|
+
style: T(k({}, e), {
|
2383
|
+
height: `calc(${d}px - 20%)`
|
2384
2384
|
}),
|
2385
|
-
src:
|
2385
|
+
src: _
|
2386
2386
|
});
|
2387
2387
|
}
|
2388
2388
|
return a("img", {
|
@@ -2399,86 +2399,86 @@ const of = new Set(Object.keys(Hn)), ht = ({
|
|
2399
2399
|
}, nf = ({
|
2400
2400
|
oddFormatter: t
|
2401
2401
|
}) => {
|
2402
|
-
const o = U(), e = Y(o), n = (o == null ? void 0 : o.device) || "desktop", r =
|
2403
|
-
backgroundImage:
|
2404
|
-
}), i = T(
|
2405
|
-
backgroundImage:
|
2406
|
-
}), l =
|
2402
|
+
const o = U(), e = Y(o), n = (o == null ? void 0 : o.device) || "desktop", r = g(e, "match.sport_slug"), s = T(k({}, e == null ? void 0 : e.teamALogo), {
|
2403
|
+
backgroundImage: g(e, "match.teams[0].logo")
|
2404
|
+
}), i = T(k({}, e == null ? void 0 : e.teamBLogo), {
|
2405
|
+
backgroundImage: g(e, "match.teams[1].logo")
|
2406
|
+
}), l = g(e, "match.prediction.value");
|
2407
2407
|
return a("div", {
|
2408
|
-
className: R(
|
2409
|
-
[
|
2410
|
-
[
|
2408
|
+
className: R(q.root, {
|
2409
|
+
[q.desktop]: n === "desktop",
|
2410
|
+
[q.laptop]: n === "laptop"
|
2411
2411
|
}),
|
2412
2412
|
children: [a("div", {
|
2413
|
-
className:
|
2413
|
+
className: q.left,
|
2414
2414
|
children: [a("div", {
|
2415
|
-
className:
|
2415
|
+
className: q.teams,
|
2416
2416
|
children: [a(ht, {
|
2417
|
-
className:
|
2417
|
+
className: q.logo,
|
2418
2418
|
style: s,
|
2419
2419
|
src: s.backgroundImage,
|
2420
2420
|
sportSlug: r,
|
2421
|
-
country:
|
2421
|
+
country: g(e, "match.teams[0].country")
|
2422
2422
|
}), a(ht, {
|
2423
|
-
className:
|
2423
|
+
className: q.logo,
|
2424
2424
|
style: i,
|
2425
2425
|
src: i.backgroundImage,
|
2426
2426
|
sportSlug: r,
|
2427
|
-
country:
|
2427
|
+
country: g(e, "match.teams[1].country")
|
2428
2428
|
})]
|
2429
2429
|
}), a("div", {
|
2430
|
-
className:
|
2430
|
+
className: q.body,
|
2431
2431
|
children: [a("div", {
|
2432
|
-
className:
|
2432
|
+
className: q.league,
|
2433
2433
|
style: e.league,
|
2434
|
-
children:
|
2434
|
+
children: g(e, "match.league.name")
|
2435
2435
|
}), a("div", {
|
2436
|
-
className:
|
2436
|
+
className: q.name,
|
2437
2437
|
style: e.teams,
|
2438
|
-
children: [
|
2438
|
+
children: [g(e, "match.teams[0].name"), " — ", g(e, "match.teams[1].name")]
|
2439
2439
|
})]
|
2440
2440
|
})]
|
2441
2441
|
}), a("div", {
|
2442
|
-
className:
|
2442
|
+
className: q.right,
|
2443
2443
|
children: [a("div", {
|
2444
|
-
className:
|
2444
|
+
className: q.team,
|
2445
2445
|
children: [a(ht, {
|
2446
|
-
className:
|
2446
|
+
className: q.teamLogo,
|
2447
2447
|
style: s,
|
2448
2448
|
src: s.backgroundImage,
|
2449
2449
|
sportSlug: r,
|
2450
|
-
country:
|
2450
|
+
country: g(e, "match.teams[0].country")
|
2451
2451
|
}), a("div", {
|
2452
|
-
className:
|
2452
|
+
className: q.teamName,
|
2453
2453
|
style: e.teams,
|
2454
|
-
children:
|
2454
|
+
children: g(e, "match.teams[0].name")
|
2455
2455
|
})]
|
2456
2456
|
}), a("div", {
|
2457
|
-
className:
|
2457
|
+
className: q.odd,
|
2458
2458
|
children: [a("div", {
|
2459
|
-
className:
|
2459
|
+
className: q.oddLabel,
|
2460
2460
|
style: e.oddLabel,
|
2461
2461
|
children: a(It, {
|
2462
2462
|
odd: l,
|
2463
2463
|
formatter: t
|
2464
2464
|
})
|
2465
2465
|
}), a("div", {
|
2466
|
-
className:
|
2466
|
+
className: q.oddValue,
|
2467
2467
|
style: e.oddValue,
|
2468
|
-
children:
|
2468
|
+
children: g(e, "match.prediction.factor")
|
2469
2469
|
})]
|
2470
2470
|
}), a("div", {
|
2471
|
-
className:
|
2471
|
+
className: q.team,
|
2472
2472
|
children: [a(ht, {
|
2473
|
-
className:
|
2473
|
+
className: q.teamLogo,
|
2474
2474
|
style: i,
|
2475
2475
|
src: i.backgroundImage,
|
2476
2476
|
sportSlug: r,
|
2477
|
-
country:
|
2477
|
+
country: g(e, "match.teams[1].country")
|
2478
2478
|
}), a("div", {
|
2479
|
-
className:
|
2479
|
+
className: q.teamName,
|
2480
2480
|
style: e.teams,
|
2481
|
-
children:
|
2481
|
+
children: g(e, "match.teams[1].name")
|
2482
2482
|
})]
|
2483
2483
|
})]
|
2484
2484
|
})]
|
@@ -2515,107 +2515,107 @@ var Nt = {}, Mf = {
|
|
2515
2515
|
(function(e, n) {
|
2516
2516
|
t.exports = n();
|
2517
2517
|
})(dt, function() {
|
2518
|
-
var e = "millisecond", n = "second", r = "minute", s = "hour", i = "day", l = "week",
|
2519
|
-
var
|
2520
|
-
return
|
2521
|
-
},
|
2522
|
-
var
|
2523
|
-
return (
|
2524
|
-
}, m: function
|
2525
|
-
if (
|
2526
|
-
return -
|
2527
|
-
var
|
2528
|
-
return +(-(
|
2529
|
-
}, a: function(
|
2530
|
-
return
|
2531
|
-
}, p: function(
|
2532
|
-
return { M:
|
2533
|
-
}, u: function(
|
2534
|
-
return
|
2535
|
-
} },
|
2536
|
-
|
2537
|
-
var
|
2538
|
-
return
|
2539
|
-
},
|
2540
|
-
var
|
2541
|
-
if (!
|
2518
|
+
var e = "millisecond", n = "second", r = "minute", s = "hour", i = "day", l = "week", _ = "month", d = "quarter", c = "year", u = "date", p = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d+)?$/, h = /\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, m = function(v, b, y) {
|
2519
|
+
var M = String(v);
|
2520
|
+
return !M || M.length >= b ? v : "" + Array(b + 1 - M.length).join(y) + v;
|
2521
|
+
}, f = { s: m, z: function(v) {
|
2522
|
+
var b = -v.utcOffset(), y = Math.abs(b), M = Math.floor(y / 60), $ = y % 60;
|
2523
|
+
return (b <= 0 ? "+" : "-") + m(M, 2, "0") + ":" + m($, 2, "0");
|
2524
|
+
}, m: function v(b, y) {
|
2525
|
+
if (b.date() < y.date())
|
2526
|
+
return -v(y, b);
|
2527
|
+
var M = 12 * (y.year() - b.year()) + (y.month() - b.month()), $ = b.clone().add(M, _), S = y - $ < 0, L = b.clone().add(M + (S ? -1 : 1), _);
|
2528
|
+
return +(-(M + (y - $) / (S ? $ - L : L - $)) || 0);
|
2529
|
+
}, a: function(v) {
|
2530
|
+
return v < 0 ? Math.ceil(v) || 0 : Math.floor(v);
|
2531
|
+
}, p: function(v) {
|
2532
|
+
return { M: _, y: c, w: l, d: i, D: u, h: s, m: r, s: n, ms: e, Q: d }[v] || String(v || "").toLowerCase().replace(/s$/, "");
|
2533
|
+
}, u: function(v) {
|
2534
|
+
return v === void 0;
|
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
|
+
O[A] = N;
|
2537
|
+
var D = function(v) {
|
2538
|
+
return v instanceof G;
|
2539
|
+
}, j = function(v, b, y) {
|
2540
|
+
var M;
|
2541
|
+
if (!v)
|
2542
2542
|
return A;
|
2543
|
-
if (typeof
|
2544
|
-
|
2543
|
+
if (typeof v == "string")
|
2544
|
+
O[v] && (M = v), b && (O[v] = b, M = v);
|
2545
2545
|
else {
|
2546
|
-
var
|
2547
|
-
|
2546
|
+
var $ = v.name;
|
2547
|
+
O[$] = v, M = $;
|
2548
2548
|
}
|
2549
|
-
return !
|
2550
|
-
}, C = function(
|
2551
|
-
if (
|
2552
|
-
return
|
2553
|
-
var
|
2554
|
-
return
|
2555
|
-
},
|
2556
|
-
|
2557
|
-
return C(
|
2549
|
+
return !y && M && (A = M), M || !y && A;
|
2550
|
+
}, C = function(v, b) {
|
2551
|
+
if (D(v))
|
2552
|
+
return v.clone();
|
2553
|
+
var y = typeof b == "object" ? b : {};
|
2554
|
+
return y.date = v, y.args = arguments, new G(y);
|
2555
|
+
}, w = f;
|
2556
|
+
w.l = j, w.i = D, w.w = function(v, b) {
|
2557
|
+
return C(v, { locale: b.$L, utc: b.$u, $offset: b.$offset });
|
2558
2558
|
};
|
2559
|
-
var
|
2560
|
-
function
|
2561
|
-
this.$L = this.$L ||
|
2559
|
+
var G = function() {
|
2560
|
+
function v(y) {
|
2561
|
+
this.$L = this.$L || j(y.locale, null, !0), this.parse(y);
|
2562
2562
|
}
|
2563
|
-
var
|
2564
|
-
return
|
2565
|
-
this.$d = function(
|
2566
|
-
var
|
2567
|
-
if (
|
2563
|
+
var b = v.prototype;
|
2564
|
+
return b.parse = function(y) {
|
2565
|
+
this.$d = function(M) {
|
2566
|
+
var $ = M.date, S = M.utc;
|
2567
|
+
if ($ === null)
|
2568
2568
|
return /* @__PURE__ */ new Date(NaN);
|
2569
|
-
if (
|
2569
|
+
if (w.u($))
|
2570
2570
|
return /* @__PURE__ */ new Date();
|
2571
|
-
if (
|
2572
|
-
return new Date(
|
2573
|
-
if (typeof
|
2574
|
-
var
|
2575
|
-
if (
|
2576
|
-
var
|
2577
|
-
return S ? new Date(Date.UTC(
|
2571
|
+
if ($ instanceof Date)
|
2572
|
+
return new Date($);
|
2573
|
+
if (typeof $ == "string" && !/Z$/i.test($)) {
|
2574
|
+
var L = $.match(p);
|
2575
|
+
if (L) {
|
2576
|
+
var x = L[2] - 1 || 0, B = (L[7] || "0").substring(0, 3);
|
2577
|
+
return S ? new Date(Date.UTC(L[1], x, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, B)) : new Date(L[1], x, L[3] || 1, L[4] || 0, L[5] || 0, L[6] || 0, B);
|
2578
2578
|
}
|
2579
2579
|
}
|
2580
|
-
return new Date(
|
2581
|
-
}(
|
2582
|
-
},
|
2583
|
-
var
|
2584
|
-
this.$y =
|
2585
|
-
},
|
2586
|
-
return
|
2587
|
-
},
|
2580
|
+
return new Date($);
|
2581
|
+
}(y), this.init();
|
2582
|
+
}, b.init = function() {
|
2583
|
+
var y = this.$d;
|
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
|
+
}, b.$utils = function() {
|
2586
|
+
return w;
|
2587
|
+
}, b.isValid = function() {
|
2588
2588
|
return this.$d.toString() !== "Invalid Date";
|
2589
|
-
},
|
2590
|
-
var
|
2591
|
-
return this.startOf(
|
2592
|
-
},
|
2593
|
-
return C(
|
2594
|
-
},
|
2595
|
-
return this.endOf(
|
2596
|
-
},
|
2597
|
-
return
|
2598
|
-
},
|
2589
|
+
}, b.isSame = function(y, M) {
|
2590
|
+
var $ = C(y);
|
2591
|
+
return this.startOf(M) <= $ && $ <= this.endOf(M);
|
2592
|
+
}, b.isAfter = function(y, M) {
|
2593
|
+
return C(y) < this.startOf(M);
|
2594
|
+
}, b.isBefore = function(y, M) {
|
2595
|
+
return this.endOf(M) < C(y);
|
2596
|
+
}, b.$g = function(y, M, $) {
|
2597
|
+
return w.u(y) ? this[M] : this.set($, y);
|
2598
|
+
}, b.unix = function() {
|
2599
2599
|
return Math.floor(this.valueOf() / 1e3);
|
2600
|
-
},
|
2600
|
+
}, b.valueOf = function() {
|
2601
2601
|
return this.$d.getTime();
|
2602
|
-
},
|
2603
|
-
var
|
2604
|
-
var $t =
|
2602
|
+
}, b.startOf = function(y, M) {
|
2603
|
+
var $ = this, S = !!w.u(M) || M, L = w.p(y), x = function(At, rt) {
|
2604
|
+
var $t = w.w($.$u ? Date.UTC($.$y, rt, At) : new Date($.$y, rt, At), $);
|
2605
2605
|
return S ? $t : $t.endOf(i);
|
2606
2606
|
}, B = function(At, rt) {
|
2607
|
-
return
|
2608
|
-
}, H = this.$W,
|
2609
|
-
switch (
|
2607
|
+
return w.w($.toDate()[At].apply($.toDate("s"), (S ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(rt)), $);
|
2608
|
+
}, H = this.$W, K = this.$M, lt = this.$D, st = "set" + (this.$u ? "UTC" : "");
|
2609
|
+
switch (L) {
|
2610
2610
|
case c:
|
2611
|
-
return S ?
|
2612
|
-
case
|
2613
|
-
return S ?
|
2611
|
+
return S ? x(1, 0) : x(31, 11);
|
2612
|
+
case _:
|
2613
|
+
return S ? x(1, K) : x(0, K + 1);
|
2614
2614
|
case l:
|
2615
2615
|
var it = this.$locale().weekStart || 0, bt = (H < it ? H + 7 : H) - it;
|
2616
|
-
return
|
2616
|
+
return x(S ? lt - bt : lt + (6 - bt), K);
|
2617
2617
|
case i:
|
2618
|
-
case
|
2618
|
+
case u:
|
2619
2619
|
return B(st + "Hours", 0);
|
2620
2620
|
case s:
|
2621
2621
|
return B(st + "Minutes", 1);
|
@@ -2626,89 +2626,89 @@ var Nt = {}, Mf = {
|
|
2626
2626
|
default:
|
2627
2627
|
return this.clone();
|
2628
2628
|
}
|
2629
|
-
},
|
2630
|
-
return this.startOf(
|
2631
|
-
},
|
2632
|
-
var
|
2633
|
-
if (S ===
|
2634
|
-
var H = this.clone().set(
|
2635
|
-
H.$d[
|
2629
|
+
}, b.endOf = function(y) {
|
2630
|
+
return this.startOf(y, !1);
|
2631
|
+
}, b.$set = function(y, M) {
|
2632
|
+
var $, S = w.p(y), L = "set" + (this.$u ? "UTC" : ""), x = ($ = {}, $[i] = L + "Date", $[u] = L + "Date", $[_] = L + "Month", $[c] = L + "FullYear", $[s] = L + "Hours", $[r] = L + "Minutes", $[n] = L + "Seconds", $[e] = L + "Milliseconds", $)[S], B = S === i ? this.$D + (M - this.$W) : M;
|
2633
|
+
if (S === _ || S === c) {
|
2634
|
+
var H = this.clone().set(u, 1);
|
2635
|
+
H.$d[x](B), H.init(), this.$d = H.set(u, Math.min(this.$D, H.daysInMonth())).$d;
|
2636
2636
|
} else
|
2637
|
-
|
2637
|
+
x && this.$d[x](B);
|
2638
2638
|
return this.init(), this;
|
2639
|
-
},
|
2640
|
-
return this.clone().$set(
|
2641
|
-
},
|
2642
|
-
return this[
|
2643
|
-
},
|
2644
|
-
var
|
2645
|
-
|
2646
|
-
var
|
2639
|
+
}, b.set = function(y, M) {
|
2640
|
+
return this.clone().$set(y, M);
|
2641
|
+
}, b.get = function(y) {
|
2642
|
+
return this[w.p(y)]();
|
2643
|
+
}, b.add = function(y, M) {
|
2644
|
+
var $, S = this;
|
2645
|
+
y = Number(y);
|
2646
|
+
var L = w.p(M), x = function(K) {
|
2647
2647
|
var lt = C(S);
|
2648
|
-
return
|
2648
|
+
return w.w(lt.date(lt.date() + Math.round(K * y)), S);
|
2649
2649
|
};
|
2650
|
-
if (
|
2651
|
-
return this.set(
|
2652
|
-
if (
|
2653
|
-
return this.set(c, this.$y +
|
2654
|
-
if (
|
2655
|
-
return
|
2656
|
-
if (
|
2657
|
-
return
|
2658
|
-
var B = (
|
2659
|
-
return
|
2660
|
-
},
|
2661
|
-
return this.add(-1 *
|
2662
|
-
},
|
2663
|
-
var
|
2650
|
+
if (L === _)
|
2651
|
+
return this.set(_, this.$M + y);
|
2652
|
+
if (L === c)
|
2653
|
+
return this.set(c, this.$y + y);
|
2654
|
+
if (L === i)
|
2655
|
+
return x(1);
|
2656
|
+
if (L === l)
|
2657
|
+
return x(7);
|
2658
|
+
var B = ($ = {}, $[r] = 6e4, $[s] = 36e5, $[n] = 1e3, $)[L] || 1, H = this.$d.getTime() + y * B;
|
2659
|
+
return w.w(H, this);
|
2660
|
+
}, b.subtract = function(y, M) {
|
2661
|
+
return this.add(-1 * y, M);
|
2662
|
+
}, b.format = function(y) {
|
2663
|
+
var M = this;
|
2664
2664
|
if (!this.isValid())
|
2665
2665
|
return "Invalid Date";
|
2666
|
-
var
|
2667
|
-
return rt && (rt[$t] || rt(
|
2666
|
+
var $ = y || "YYYY-MM-DDTHH:mm:ssZ", S = w.z(this), L = this.$locale(), x = this.$H, B = this.$m, H = this.$M, K = L.weekdays, lt = L.months, st = function(rt, $t, Vt, Ht) {
|
2667
|
+
return rt && (rt[$t] || rt(M, $)) || Vt[$t].substr(0, Ht);
|
2668
2668
|
}, it = function(rt) {
|
2669
|
-
return
|
2670
|
-
}, bt =
|
2669
|
+
return w.s(x % 12 || 12, rt, "0");
|
2670
|
+
}, bt = L.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:
|
2674
|
-
return
|
2673
|
+
}, At = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: H + 1, MM: w.s(H + 1, 2, "0"), MMM: st(L.monthsShort, H, lt, 3), MMMM: st(lt, H), D: this.$D, DD: w.s(this.$D, 2, "0"), d: String(this.$W), dd: st(L.weekdaysMin, this.$W, K, 2), ddd: st(L.weekdaysShort, this.$W, K, 3), dddd: K[this.$W], H: String(x), HH: w.s(x, 2, "0"), h: it(1), hh: it(2), a: bt(x, B, !0), A: bt(x, B, !1), m: String(B), mm: w.s(B, 2, "0"), s: String(this.$s), ss: w.s(this.$s, 2, "0"), SSS: w.s(this.$ms, 3, "0"), Z: S };
|
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
|
-
},
|
2680
|
-
var S,
|
2681
|
-
return
|
2682
|
-
},
|
2683
|
-
return this.endOf(
|
2684
|
-
},
|
2685
|
-
return
|
2686
|
-
},
|
2687
|
-
if (!
|
2679
|
+
}, b.diff = function(y, M, $) {
|
2680
|
+
var S, L = w.p(M), x = C(y), B = 6e4 * (x.utcOffset() - this.utcOffset()), H = this - x, K = w.m(this, x);
|
2681
|
+
return K = (S = {}, S[c] = K / 12, S[_] = K, S[d] = K / 3, S[l] = (H - B) / 6048e5, S[i] = (H - B) / 864e5, S[s] = H / 36e5, S[r] = H / 6e4, S[n] = H / 1e3, S)[L] || H, $ ? K : w.a(K);
|
2682
|
+
}, b.daysInMonth = function() {
|
2683
|
+
return this.endOf(_).$D;
|
2684
|
+
}, b.$locale = function() {
|
2685
|
+
return O[this.$L];
|
2686
|
+
}, b.locale = function(y, M) {
|
2687
|
+
if (!y)
|
2688
2688
|
return this.$L;
|
2689
|
-
var
|
2690
|
-
return S && (
|
2691
|
-
},
|
2692
|
-
return
|
2693
|
-
},
|
2689
|
+
var $ = this.clone(), S = j(y, M, !0);
|
2690
|
+
return S && ($.$L = S), $;
|
2691
|
+
}, b.clone = function() {
|
2692
|
+
return w.w(this.$d, this);
|
2693
|
+
}, b.toDate = function() {
|
2694
2694
|
return new Date(this.valueOf());
|
2695
|
-
},
|
2695
|
+
}, b.toJSON = function() {
|
2696
2696
|
return this.isValid() ? this.toISOString() : null;
|
2697
|
-
},
|
2697
|
+
}, b.toISOString = function() {
|
2698
2698
|
return this.$d.toISOString();
|
2699
|
-
},
|
2699
|
+
}, b.toString = function() {
|
2700
2700
|
return this.$d.toUTCString();
|
2701
|
-
},
|
2702
|
-
}(),
|
2703
|
-
return C.prototype =
|
2704
|
-
|
2705
|
-
return this.$g(
|
2701
|
+
}, v;
|
2702
|
+
}(), z = G.prototype;
|
2703
|
+
return C.prototype = z, [["$ms", e], ["$s", n], ["$m", r], ["$H", s], ["$W", i], ["$M", _], ["$y", c], ["$D", u]].forEach(function(v) {
|
2704
|
+
z[v[1]] = function(b) {
|
2705
|
+
return this.$g(b, v[0], v[1]);
|
2706
2706
|
};
|
2707
|
-
}), C.extend = function(
|
2708
|
-
return
|
2709
|
-
}, C.locale =
|
2710
|
-
return C(1e3 *
|
2711
|
-
}, C.en =
|
2707
|
+
}), C.extend = function(v, b) {
|
2708
|
+
return v(b, G, C), C;
|
2709
|
+
}, C.locale = j, C.isDayjs = D, C.unix = function(v) {
|
2710
|
+
return C(1e3 * v);
|
2711
|
+
}, C.en = O[A], C.Ls = O, C;
|
2712
2712
|
});
|
2713
2713
|
})(Mf);
|
2714
2714
|
const Nf = Nt;
|
@@ -2726,22 +2726,22 @@ var zo = {}, Tf = {
|
|
2726
2726
|
})(dt, function(e) {
|
2727
2727
|
e = e && e.hasOwnProperty("default") ? e.default : e;
|
2728
2728
|
var n = "января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря".split("_"), r = "январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь".split("_"), s = "янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.".split("_"), i = "янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.".split("_"), l = /D[oD]?(\[[^[\]]*\]|\s)+MMMM?/;
|
2729
|
-
function
|
2730
|
-
var
|
2731
|
-
return
|
2729
|
+
function _(p, h, m) {
|
2730
|
+
var f, N;
|
2731
|
+
return m === "m" ? h ? "минута" : "минуту" : p + " " + (f = +p, N = { mm: h ? "минута_минуты_минут" : "минуту_минуты_минут", hh: "час_часа_часов", dd: "день_дня_дней", MM: "месяц_месяца_месяцев", yy: "год_года_лет" }[m].split("_"), f % 10 == 1 && f % 100 != 11 ? N[0] : f % 10 >= 2 && f % 10 <= 4 && (f % 100 < 10 || f % 100 >= 20) ? N[1] : N[2]);
|
2732
2732
|
}
|
2733
|
-
var
|
2734
|
-
return l.test(
|
2733
|
+
var d = function(p, h) {
|
2734
|
+
return l.test(h) ? n[p.month()] : r[p.month()];
|
2735
2735
|
};
|
2736
|
-
|
2737
|
-
var c = function(
|
2738
|
-
return l.test(
|
2736
|
+
d.s = r, d.f = n;
|
2737
|
+
var c = function(p, h) {
|
2738
|
+
return l.test(h) ? s[p.month()] : i[p.month()];
|
2739
2739
|
};
|
2740
2740
|
c.s = i, c.f = s;
|
2741
|
-
var
|
2742
|
-
return
|
2741
|
+
var u = { name: "ru", weekdays: "воскресенье_понедельник_вторник_среда_четверг_пятница_суббота".split("_"), weekdaysShort: "вск_пнд_втр_срд_чтв_птн_сбт".split("_"), weekdaysMin: "вс_пн_вт_ср_чт_пт_сб".split("_"), months: d, monthsShort: c, weekStart: 1, formats: { LT: "H:mm", LTS: "H:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY г.", LLL: "D MMMM YYYY г., H:mm", LLLL: "dddd, D MMMM YYYY г., H:mm" }, relativeTime: { future: "через %s", past: "%s назад", s: "несколько секунд", m: _, mm: _, h: "час", hh: _, d: "день", dd: _, M: "месяц", MM: _, y: "год", yy: _ }, ordinal: function(p) {
|
2742
|
+
return p;
|
2743
2743
|
} };
|
2744
|
-
return e.locale(
|
2744
|
+
return e.locale(u, null, !0), u;
|
2745
2745
|
});
|
2746
2746
|
})(Tf);
|
2747
2747
|
var Ko = {}, Lf = {
|
@@ -2763,12 +2763,12 @@ var Ko = {}, Lf = {
|
|
2763
2763
|
return e.locale(n, null, !0), n;
|
2764
2764
|
});
|
2765
2765
|
})(Lf);
|
2766
|
-
var
|
2766
|
+
var Zo = {}, wf = {
|
2767
2767
|
get exports() {
|
2768
|
-
return
|
2768
|
+
return Zo;
|
2769
2769
|
},
|
2770
2770
|
set exports(t) {
|
2771
|
-
|
2771
|
+
Zo = t;
|
2772
2772
|
}
|
2773
2773
|
};
|
2774
2774
|
(function(t, o) {
|
@@ -2782,12 +2782,12 @@ var qo = {}, wf = {
|
|
2782
2782
|
return e.locale(n, null, !0), n;
|
2783
2783
|
});
|
2784
2784
|
})(wf);
|
2785
|
-
var
|
2785
|
+
var Jo = {}, Cf = {
|
2786
2786
|
get exports() {
|
2787
|
-
return
|
2787
|
+
return Jo;
|
2788
2788
|
},
|
2789
2789
|
set exports(t) {
|
2790
|
-
|
2790
|
+
Jo = t;
|
2791
2791
|
}
|
2792
2792
|
};
|
2793
2793
|
(function(t, o) {
|
@@ -2801,12 +2801,12 @@ var Zo = {}, Cf = {
|
|
2801
2801
|
return e.locale(n, null, !0), n;
|
2802
2802
|
});
|
2803
2803
|
})(Cf);
|
2804
|
-
var
|
2804
|
+
var qo = {}, Sf = {
|
2805
2805
|
get exports() {
|
2806
|
-
return
|
2806
|
+
return qo;
|
2807
2807
|
},
|
2808
2808
|
set exports(t) {
|
2809
|
-
|
2809
|
+
qo = t;
|
2810
2810
|
}
|
2811
2811
|
};
|
2812
2812
|
(function(t, o) {
|
@@ -2875,32 +2875,32 @@ var tn = {}, Af = {
|
|
2875
2875
|
function n(c) {
|
2876
2876
|
return c % 10 < 5 && c % 10 > 1 && ~~(c / 10) % 10 != 1;
|
2877
2877
|
}
|
2878
|
-
function r(c,
|
2879
|
-
var
|
2880
|
-
switch (
|
2878
|
+
function r(c, u, p) {
|
2879
|
+
var h = c + " ";
|
2880
|
+
switch (p) {
|
2881
2881
|
case "m":
|
2882
|
-
return
|
2882
|
+
return u ? "minuta" : "minutę";
|
2883
2883
|
case "mm":
|
2884
|
-
return
|
2884
|
+
return h + (n(c) ? "minuty" : "minut");
|
2885
2885
|
case "h":
|
2886
|
-
return
|
2886
|
+
return u ? "godzina" : "godzinę";
|
2887
2887
|
case "hh":
|
2888
|
-
return
|
2888
|
+
return h + (n(c) ? "godziny" : "godzin");
|
2889
2889
|
case "MM":
|
2890
|
-
return
|
2890
|
+
return h + (n(c) ? "miesiące" : "miesięcy");
|
2891
2891
|
case "yy":
|
2892
|
-
return
|
2892
|
+
return h + (n(c) ? "lata" : "lat");
|
2893
2893
|
}
|
2894
2894
|
}
|
2895
2895
|
e = e && e.hasOwnProperty("default") ? e.default : e;
|
2896
|
-
var s = "stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"), i = "styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"), l = /D MMMM/,
|
2897
|
-
return l.test(
|
2896
|
+
var s = "stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia".split("_"), i = "styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień".split("_"), l = /D MMMM/, _ = function(c, u) {
|
2897
|
+
return l.test(u) ? s[c.month()] : i[c.month()];
|
2898
2898
|
};
|
2899
|
-
|
2900
|
-
var
|
2899
|
+
_.s = i, _.f = s;
|
2900
|
+
var d = { name: "pl", weekdays: "niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota".split("_"), weekdaysShort: "ndz_pon_wt_śr_czw_pt_sob".split("_"), weekdaysMin: "Nd_Pn_Wt_Śr_Cz_Pt_So".split("_"), months: _, monthsShort: "sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru".split("_"), ordinal: function(c) {
|
2901
2901
|
return c + ".";
|
2902
2902
|
}, weekStart: 1, relativeTime: { future: "za %s", past: "%s temu", s: "kilka sekund", m: r, mm: r, h: r, hh: r, d: "1 dzień", dd: "%d dni", M: "miesiąc", MM: r, y: "rok", yy: r }, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd, D MMMM YYYY HH:mm" } };
|
2903
|
-
return e.locale(
|
2903
|
+
return e.locale(d, null, !0), d;
|
2904
2904
|
});
|
2905
2905
|
})(Af);
|
2906
2906
|
const en = (t, o = "DD.MM.YYYY", e = "en") => t ? Nf(t).locale(e).format(o) : "", Dt = ({
|
@@ -2913,11 +2913,11 @@ const en = (t, o = "DD.MM.YYYY", e = "en") => t ? Nf(t).locale(e).format(o) : ""
|
|
2913
2913
|
}, jf = ({
|
2914
2914
|
oddFormatter: t
|
2915
2915
|
}) => {
|
2916
|
-
const o = U(), e = Y(o), n = (o == null ? void 0 : o.device) || "desktop", r = T(
|
2917
|
-
backgroundImage:
|
2918
|
-
}), s = T(
|
2919
|
-
backgroundImage:
|
2920
|
-
}), i =
|
2916
|
+
const o = U(), e = Y(o), n = (o == null ? void 0 : o.device) || "desktop", r = T(k({}, e == null ? void 0 : e.teamALogo), {
|
2917
|
+
backgroundImage: g(e, "match.teams[0].logo")
|
2918
|
+
}), s = T(k({}, e == null ? void 0 : e.teamBLogo), {
|
2919
|
+
backgroundImage: g(e, "match.teams[1].logo")
|
2920
|
+
}), i = g(e, "match.lang_slug", "ru"), l = g(e, "match.sport_slug"), _ = en(g(e, "match.match_date"), "HH:mm", i), d = en(g(e, "match.match_date"), "DD MMMM", i), u = g(e, "root.predictionLength", "full") === "full" ? g(e, "match.prediction.value") : g(e, "match.prediction.value_short") || g(e, "match.prediction.value"), p = Number(g(e, "match.prediction.factor", 0)).toFixed(2);
|
2921
2921
|
return a("div", {
|
2922
2922
|
className: R(ot.root, {
|
2923
2923
|
[ot.desktop]: n === "desktop",
|
@@ -2931,11 +2931,11 @@ const en = (t, o = "DD.MM.YYYY", e = "en") => t ? Nf(t).locale(e).format(o) : ""
|
|
2931
2931
|
style: r,
|
2932
2932
|
src: r.backgroundImage,
|
2933
2933
|
sportSlug: l,
|
2934
|
-
country:
|
2934
|
+
country: g(e, "match.teams[0].country")
|
2935
2935
|
}), a("div", {
|
2936
2936
|
className: ot.teamName,
|
2937
2937
|
style: e.teams,
|
2938
|
-
children: a(Dt, T(
|
2938
|
+
children: a(Dt, T(k({}, g(e, "match.teams[0]")), {
|
2939
2939
|
fallback: "Team A"
|
2940
2940
|
}))
|
2941
2941
|
})]
|
@@ -2946,20 +2946,20 @@ const en = (t, o = "DD.MM.YYYY", e = "en") => t ? Nf(t).locale(e).format(o) : ""
|
|
2946
2946
|
children: [a("div", {
|
2947
2947
|
className: ot.time,
|
2948
2948
|
style: e.time,
|
2949
|
-
children:
|
2949
|
+
children: _
|
2950
2950
|
}), a("div", {
|
2951
2951
|
className: ot.date,
|
2952
2952
|
style: e.date,
|
2953
|
-
children:
|
2953
|
+
children: d
|
2954
2954
|
})]
|
2955
|
-
}),
|
2955
|
+
}), u && a("div", {
|
2956
2956
|
className: ot.oddValue,
|
2957
2957
|
style: e.oddValue,
|
2958
|
-
children: [
|
2958
|
+
children: [u, a("div", {
|
2959
2959
|
className: ot.oddValueInner,
|
2960
2960
|
style: e.oddValueInner,
|
2961
2961
|
children: a(It, {
|
2962
|
-
odd:
|
2962
|
+
odd: p,
|
2963
2963
|
formatter: t
|
2964
2964
|
})
|
2965
2965
|
})]
|
@@ -2971,11 +2971,11 @@ const en = (t, o = "DD.MM.YYYY", e = "en") => t ? Nf(t).locale(e).format(o) : ""
|
|
2971
2971
|
style: s,
|
2972
2972
|
src: s.backgroundImage,
|
2973
2973
|
sportSlug: l,
|
2974
|
-
country:
|
2974
|
+
country: g(e, "match.teams[1].country")
|
2975
2975
|
}), a("div", {
|
2976
2976
|
className: ot.teamName,
|
2977
2977
|
style: e.teams,
|
2978
|
-
children: a(Dt, T(
|
2978
|
+
children: a(Dt, T(k({}, g(e, "match.teams[1]")), {
|
2979
2979
|
fallback: "Team B"
|
2980
2980
|
}))
|
2981
2981
|
})]
|
@@ -3006,35 +3006,37 @@ const en = (t, o = "DD.MM.YYYY", e = "en") => t ? Nf(t).locale(e).format(o) : ""
|
|
3006
3006
|
method: n,
|
3007
3007
|
body: r
|
3008
3008
|
}) => {
|
3009
|
-
const [s, i] = yt(!1), [l,
|
3009
|
+
const [s, i] = yt(!1), [l, _] = yt(), d = Pt(() => {
|
3010
3010
|
if (t != null && t.includes("undefined") || t != null && t.includes("null"))
|
3011
3011
|
return;
|
3012
|
-
let
|
3012
|
+
let u = t;
|
3013
3013
|
if (e) {
|
3014
|
-
const
|
3015
|
-
Object.entries(e).forEach(([
|
3016
|
-
Array.isArray(
|
3017
|
-
|
3018
|
-
}) :
|
3019
|
-
}),
|
3014
|
+
const p = new URLSearchParams();
|
3015
|
+
Object.entries(e).forEach(([h, m]) => {
|
3016
|
+
Array.isArray(m) ? m.forEach((f, N) => {
|
3017
|
+
f && p.append(`${h}[${N}]`, f);
|
3018
|
+
}) : m && p.append(h, m);
|
3019
|
+
}), u += `?${p.toString()}`;
|
3020
3020
|
}
|
3021
|
-
return
|
3021
|
+
return u;
|
3022
3022
|
}, [t, e]), c = Kn(() => _e(void 0, null, function* () {
|
3023
|
-
if (o || !
|
3023
|
+
if (o || !d)
|
3024
3024
|
return;
|
3025
3025
|
i(!0);
|
3026
|
-
const
|
3026
|
+
const u = yield fetch(d, {
|
3027
3027
|
method: n || "GET",
|
3028
3028
|
body: r ? JSON.stringify(r) : void 0,
|
3029
3029
|
headers: {
|
3030
3030
|
"Content-Type": "application/json"
|
3031
3031
|
}
|
3032
|
-
}).then((
|
3033
|
-
|
3034
|
-
|
3035
|
-
|
3032
|
+
}).then((p) => p.json()).catch((p) => {
|
3033
|
+
console.error(p), i(!1);
|
3034
|
+
});
|
3035
|
+
_(u.data), i(!1);
|
3036
|
+
}), [d, o, n, r]);
|
3037
|
+
return Q(() => {
|
3036
3038
|
o || c();
|
3037
|
-
}, [
|
3039
|
+
}, [d, o]), {
|
3038
3040
|
data: l,
|
3039
3041
|
fetching: s,
|
3040
3042
|
execute: c
|
@@ -3042,14 +3044,15 @@ const en = (t, o = "DD.MM.YYYY", e = "en") => t ? Nf(t).locale(e).format(o) : ""
|
|
3042
3044
|
};
|
3043
3045
|
function Le(t) {
|
3044
3046
|
const o = et();
|
3045
|
-
return
|
3047
|
+
return Q(() => {
|
3046
3048
|
o.current = t;
|
3047
3049
|
}, [t]), o.current;
|
3048
3050
|
}
|
3049
3051
|
const If = (t) => {
|
3050
|
-
var
|
3052
|
+
var r;
|
3051
3053
|
const o = !["apiHost", "sportSlug", "langSlug", "bookmakerSlug"].every(Boolean) || (t == null ? void 0 : t.pause), {
|
3052
|
-
data: e
|
3054
|
+
data: e,
|
3055
|
+
fetching: n
|
3053
3056
|
} = le(`${t == null ? void 0 : t.apiHost}/top-matches`, {
|
3054
3057
|
method: "GET",
|
3055
3058
|
params: {
|
@@ -3058,18 +3061,20 @@ const If = (t) => {
|
|
3058
3061
|
bookmaker_slug: t == null ? void 0 : t.bookmakerSlug,
|
3059
3062
|
markets: t == null ? void 0 : t.markets,
|
3060
3063
|
with_prediction: t != null && t.withPrediction ? 1 : 0,
|
3061
|
-
limit: (
|
3064
|
+
limit: (r = t == null ? void 0 : t.limit) != null ? r : 1
|
3062
3065
|
},
|
3063
3066
|
pause: o
|
3064
3067
|
});
|
3065
|
-
return
|
3066
|
-
|
3068
|
+
return {
|
3069
|
+
list: e != null ? e : [],
|
3070
|
+
fetching: n
|
3071
|
+
};
|
3072
|
+
}, Ze = ({
|
3067
3073
|
apiHost: t,
|
3068
3074
|
match: o,
|
3069
3075
|
pause: e,
|
3070
3076
|
dependsOn: n = "prediction"
|
3071
3077
|
}) => {
|
3072
|
-
var u;
|
3073
3078
|
const r = Le(o), {
|
3074
3079
|
data: s,
|
3075
3080
|
execute: i,
|
@@ -3085,7 +3090,10 @@ const If = (t) => {
|
|
3085
3090
|
withMarket: o != null && o.markets ? 1 : 0
|
3086
3091
|
},
|
3087
3092
|
pause: !t || !o || e
|
3088
|
-
}),
|
3093
|
+
}), {
|
3094
|
+
list: _,
|
3095
|
+
fetching: d
|
3096
|
+
} = If({
|
3089
3097
|
apiHost: t,
|
3090
3098
|
langSlug: o == null ? void 0 : o.langSlug,
|
3091
3099
|
sportSlug: o == null ? void 0 : o.sportSlug,
|
@@ -3093,187 +3101,192 @@ const If = (t) => {
|
|
3093
3101
|
bookmakerSlug: o == null ? void 0 : o.bookmaker,
|
3094
3102
|
withPrediction: n === "prediction",
|
3095
3103
|
pause: l || e || n === "prediction" ? s == null ? void 0 : s.prediction : !!s
|
3096
|
-
})
|
3097
|
-
return
|
3104
|
+
}), c = _[0];
|
3105
|
+
return Q(() => {
|
3098
3106
|
Te(r, o) || i();
|
3099
|
-
}, [o]),
|
3107
|
+
}, [o]), {
|
3108
|
+
match: n === "prediction" ? s != null && s.prediction ? s : c : s != null ? s : c,
|
3109
|
+
fetching: l || d
|
3110
|
+
};
|
3100
3111
|
}, Df = (t, o, e) => {
|
3101
|
-
const n = (
|
3102
|
-
var
|
3103
|
-
return E(
|
3104
|
-
}, r = t.children || [], s = r.filter((
|
3112
|
+
const n = (u) => {
|
3113
|
+
var p;
|
3114
|
+
return E(u == null ? void 0 : u.matchSlug) && ((p = u == null ? void 0 : u.matchSlug) == null ? void 0 : p.length) > 0;
|
3115
|
+
}, r = t.children || [], s = r.filter((u) => n(u.root.targetMatch)).map((u) => u.root.targetMatch), i = Le(s), {
|
3105
3116
|
data: l,
|
3106
|
-
execute:
|
3117
|
+
execute: _
|
3107
3118
|
} = le(`${o}/match-list`, {
|
3108
3119
|
method: "POST",
|
3109
3120
|
body: {
|
3110
|
-
matches: s.map((
|
3111
|
-
slug:
|
3112
|
-
sport_slug:
|
3113
|
-
lang:
|
3114
|
-
bookmaker_slug:
|
3115
|
-
offset:
|
3116
|
-
markets:
|
3121
|
+
matches: s.map((u) => ({
|
3122
|
+
slug: u.matchSlug,
|
3123
|
+
sport_slug: u.sportSlug,
|
3124
|
+
lang: u.langSlug,
|
3125
|
+
bookmaker_slug: u.bookmaker,
|
3126
|
+
offset: u.offset,
|
3127
|
+
markets: u.markets
|
3117
3128
|
}))
|
3118
3129
|
},
|
3119
3130
|
pause: !o || s.length === 0
|
3120
|
-
}),
|
3131
|
+
}), {
|
3132
|
+
match: d
|
3133
|
+
} = Ze({
|
3121
3134
|
apiHost: o,
|
3122
3135
|
match: e
|
3123
3136
|
});
|
3124
|
-
|
3125
|
-
Te(i, s) ||
|
3137
|
+
Q(() => {
|
3138
|
+
Te(i, s) || _();
|
3126
3139
|
}, [s, e]);
|
3127
|
-
const c = r.map((
|
3128
|
-
const
|
3129
|
-
if (!
|
3140
|
+
const c = r.map((u) => {
|
3141
|
+
const p = (l || []).find((f) => f.slug === u.root.targetMatch.matchSlug);
|
3142
|
+
if (!p)
|
3130
3143
|
return;
|
3131
|
-
const
|
3132
|
-
return T(
|
3133
|
-
match:
|
3144
|
+
const h = ne(p), m = Ue(h, u.root.customMatch, (f, [N, A]) => E(A));
|
3145
|
+
return T(k({}, u), {
|
3146
|
+
match: m
|
3134
3147
|
});
|
3135
3148
|
}).filter(Boolean);
|
3136
|
-
return
|
3149
|
+
return d && e && (d.lang_slug = e.langSlug), {
|
3137
3150
|
expressMatches: c,
|
3138
|
-
autoMatch:
|
3151
|
+
autoMatch: d
|
3139
3152
|
};
|
3140
3153
|
}, Rf = zt(({
|
3141
3154
|
id: t,
|
3142
3155
|
baseMatch: o,
|
3143
3156
|
oddFormatter: e
|
3144
3157
|
}, n) => {
|
3145
|
-
var lt, st, it, bt, At, rt, $t, Vt, Ht,
|
3158
|
+
var lt, st, it, bt, At, rt, $t, Vt, Ht, qe, Xe, Qe, to, eo, oo;
|
3146
3159
|
const [r, s] = yt(1 / 0), i = et(null), l = Ot({
|
3147
3160
|
targetRef: i,
|
3148
3161
|
id: t
|
3149
|
-
}),
|
3150
|
-
|
3151
|
-
const c = Y(
|
3152
|
-
wt(
|
3153
|
-
const
|
3154
|
-
isOpen:
|
3155
|
-
apiHost:
|
3156
|
-
clickHide:
|
3162
|
+
}), _ = U(), d = Lt(_, l);
|
3163
|
+
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));
|
3164
|
+
const c = Y(d);
|
3165
|
+
wt(d);
|
3166
|
+
const u = g(c, "root.delay", 0), h = g(c, "children", []).find((we) => we.name === "auto"), {
|
3167
|
+
isOpen: m,
|
3168
|
+
apiHost: f,
|
3169
|
+
clickHide: N,
|
3157
3170
|
click: A
|
3158
|
-
} = ze(n,
|
3159
|
-
expressMatches:
|
3160
|
-
autoMatch:
|
3161
|
-
} = Df(
|
3162
|
-
|
3163
|
-
const
|
3171
|
+
} = ze(n, u, !0), O = g(c, "close.variant", "default"), D = g(c, "close.radius", 21), j = g(c, "close.colorDirection", "default"), C = g(c, "close.timeoutLock", !1), w = O === "timer" ? r <= 0 : !0, G = O === "timer" && C && r > 0 ? "div" : "a", {
|
3172
|
+
expressMatches: z,
|
3173
|
+
autoMatch: v
|
3174
|
+
} = Df(d, f, h ? o : void 0);
|
3175
|
+
h && (h.match = v);
|
3176
|
+
const b = T(k({}, c.root), {
|
3164
3177
|
alignItems: jt((it = c.root) == null ? void 0 : it.align)
|
3165
|
-
}),
|
3178
|
+
}), y = T(k({}, c.content), {
|
3166
3179
|
alignItems: jt((bt = c.root) == null ? void 0 : bt.align)
|
3167
|
-
}),
|
3180
|
+
}), M = T(k({}, c.text), {
|
3168
3181
|
textAlign: (At = c.root) == null ? void 0 : At.align
|
3169
|
-
}),
|
3182
|
+
}), $ = T(k({}, c == null ? void 0 : c.button), {
|
3170
3183
|
justifyContent: jt((rt = c.root) == null ? void 0 : rt.textAlign)
|
3171
|
-
}), S = T(
|
3184
|
+
}), S = T(k({}, c == null ? void 0 : c.legal), {
|
3172
3185
|
justifyContent: jt(($t = c.root) == null ? void 0 : $t.textAlign)
|
3173
|
-
}),
|
3174
|
-
bonusValue:
|
3175
|
-
clearResult: (
|
3176
|
-
rawResult: (
|
3177
|
-
rate:
|
3186
|
+
}), L = +g(h, "root.bonusValue", 0), x = +g(h, "match.prediction.factor", 0), B = Bn((Vt = c.text) == null ? void 0 : Vt.children, {
|
3187
|
+
bonusValue: L,
|
3188
|
+
clearResult: (L * x - L).toFixed(0),
|
3189
|
+
rawResult: (L * x).toFixed(0),
|
3190
|
+
rate: x
|
3178
3191
|
}, {
|
3179
3192
|
parse: !1
|
3180
|
-
}), H =
|
3193
|
+
}), H = x === 0 ? g(c, "text.fallbackChildren") : B, K = (Ht = c.root) == null ? void 0 : Ht.corner;
|
3181
3194
|
return a("div", {
|
3182
|
-
className: R(
|
3183
|
-
[
|
3184
|
-
[
|
3185
|
-
[
|
3195
|
+
className: R(tt.root, {
|
3196
|
+
[tt.desktop]: l === "desktop",
|
3197
|
+
[tt.laptop]: l === "laptop",
|
3198
|
+
[tt.tablet]: l === "tablet"
|
3186
3199
|
}),
|
3187
3200
|
ref: i,
|
3188
3201
|
style: {
|
3189
|
-
display:
|
3202
|
+
display: m ? "flex" : "none"
|
3190
3203
|
},
|
3191
3204
|
children: [a("div", {
|
3192
|
-
className:
|
3205
|
+
className: tt.overlay,
|
3193
3206
|
style: c.overlay,
|
3194
|
-
onClick:
|
3207
|
+
onClick: w && N
|
3195
3208
|
}), a("div", {
|
3196
|
-
className:
|
3197
|
-
children: [
|
3198
|
-
className:
|
3199
|
-
style: T(
|
3200
|
-
borderBottomLeftRadius: `${
|
3201
|
-
borderTopRightRadius: `${
|
3209
|
+
className: tt.content,
|
3210
|
+
children: [O === "default" ? a("div", {
|
3211
|
+
className: tt.close,
|
3212
|
+
style: T(k({}, c.close), {
|
3213
|
+
borderBottomLeftRadius: `${K}px`,
|
3214
|
+
borderTopRightRadius: `${K}px`
|
3202
3215
|
}),
|
3203
|
-
onClick:
|
3216
|
+
onClick: N,
|
3204
3217
|
children: a(Rt, {
|
3205
3218
|
width: 11,
|
3206
3219
|
height: 11
|
3207
3220
|
})
|
3208
3221
|
}) : a("div", {
|
3209
|
-
className:
|
3222
|
+
className: tt.closeTimer,
|
3210
3223
|
children: a(Ke, {
|
3211
|
-
timeout:
|
3212
|
-
colorDirection:
|
3213
|
-
radius:
|
3214
|
-
onClick:
|
3224
|
+
timeout: g(c, "close.timeout"),
|
3225
|
+
colorDirection: j,
|
3226
|
+
radius: D,
|
3227
|
+
onClick: N,
|
3215
3228
|
onChange: s
|
3216
3229
|
})
|
3217
|
-
}), a(F, {
|
3218
|
-
className: Q.promotion,
|
3219
|
-
style: c.promotion,
|
3220
|
-
children: (Je = c.promotion) == null ? void 0 : Je.children
|
3221
3230
|
}), a(W, {
|
3231
|
+
className: tt.promotion,
|
3232
|
+
style: c.promotion,
|
3233
|
+
children: (qe = c.promotion) == null ? void 0 : qe.children
|
3234
|
+
}), a(G, {
|
3222
3235
|
ref: i,
|
3223
3236
|
href: (Xe = c.root) == null ? void 0 : Xe.offer,
|
3224
3237
|
target: "_blank",
|
3225
3238
|
rel: "nofollow noopener noreferrer",
|
3226
|
-
onClick: () =>
|
3239
|
+
onClick: () => G === "a" && A(c.id),
|
3227
3240
|
children: a("div", {
|
3228
|
-
className:
|
3229
|
-
style:
|
3241
|
+
className: tt.body,
|
3242
|
+
style: b,
|
3230
3243
|
children: [a("div", {
|
3231
|
-
className:
|
3232
|
-
children: [a(
|
3233
|
-
className:
|
3244
|
+
className: tt.head,
|
3245
|
+
children: [a(W, {
|
3246
|
+
className: tt.title,
|
3234
3247
|
style: c.title,
|
3235
3248
|
children: (Qe = c.title) == null ? void 0 : Qe.children
|
3236
3249
|
}), a("div", {
|
3237
|
-
className:
|
3250
|
+
className: tt.logo,
|
3238
3251
|
style: c.logo
|
3239
3252
|
})]
|
3240
3253
|
}), a("div", {
|
3241
|
-
className:
|
3242
|
-
style:
|
3243
|
-
children: [(
|
3244
|
-
value: T(
|
3254
|
+
className: tt.wrapper,
|
3255
|
+
style: y,
|
3256
|
+
children: [(z != null ? z : []).map((we) => a(xt, {
|
3257
|
+
value: T(k({}, we), {
|
3245
3258
|
device: l
|
3246
3259
|
}),
|
3247
3260
|
oddFormatter: e,
|
3248
3261
|
children: a(nf, {})
|
3249
|
-
})),
|
3250
|
-
value: T(
|
3262
|
+
})), h && a(xt, {
|
3263
|
+
value: T(k({}, h), {
|
3251
3264
|
device: l
|
3252
3265
|
}),
|
3253
3266
|
children: a(jf, {
|
3254
3267
|
oddFormatter: e
|
3255
3268
|
})
|
3256
3269
|
})]
|
3257
|
-
}), a(
|
3258
|
-
className:
|
3259
|
-
style:
|
3260
|
-
typography:
|
3261
|
-
accentTypography:
|
3270
|
+
}), a(W, {
|
3271
|
+
className: tt.text,
|
3272
|
+
style: M,
|
3273
|
+
typography: M.typography,
|
3274
|
+
accentTypography: M.accentTypography,
|
3262
3275
|
children: H
|
3263
3276
|
}), a("div", {
|
3264
|
-
className:
|
3277
|
+
className: tt.button,
|
3265
3278
|
style: c.buttonWrapper,
|
3266
3279
|
children: [a("div", {
|
3267
|
-
className:
|
3280
|
+
className: tt.buttonHead,
|
3268
3281
|
style: c.buttonHead,
|
3269
3282
|
children: (to = c.buttonHead) == null ? void 0 : to.children
|
3270
3283
|
}), a("div", {
|
3271
|
-
className:
|
3272
|
-
style:
|
3284
|
+
className: tt.buttonTarget,
|
3285
|
+
style: $,
|
3273
3286
|
children: (eo = c.button) == null ? void 0 : eo.children
|
3274
3287
|
})]
|
3275
|
-
}), a(
|
3276
|
-
className:
|
3288
|
+
}), a(W, {
|
3289
|
+
className: tt.legal,
|
3277
3290
|
style: S,
|
3278
3291
|
children: (oo = c.legal) == null ? void 0 : oo.children
|
3279
3292
|
})]
|
@@ -3281,7 +3294,7 @@ const If = (t) => {
|
|
3281
3294
|
})]
|
3282
3295
|
})]
|
3283
3296
|
});
|
3284
|
-
}), Gh = Tt(a(Rf, {})), Hf = "_root_1ctra_1", Yf = "_background_1ctra_18", Bf = "_body_1ctra_27", Pf = "_bookmaker_1ctra_36", Ef = "_button_1ctra_43", Vf = "_rowFirst_1ctra_58", Gf = "_rowSecond_1ctra_64", Ff = "_legal_1ctra_70",
|
3297
|
+
}), Gh = Tt(a(Rf, {})), Hf = "_root_1ctra_1", Yf = "_background_1ctra_18", Bf = "_body_1ctra_27", Pf = "_bookmaker_1ctra_36", Ef = "_button_1ctra_43", Vf = "_rowFirst_1ctra_58", Gf = "_rowSecond_1ctra_64", Ff = "_legal_1ctra_70", Wf = "_legalText_1ctra_89", Uf = "_legalOpen_1ctra_98", zf = "_legalStatic_1ctra_102", Kf = "_legalButton_1ctra_106", ft = {
|
3285
3298
|
root: Hf,
|
3286
3299
|
background: Yf,
|
3287
3300
|
body: Bf,
|
@@ -3290,15 +3303,15 @@ const If = (t) => {
|
|
3290
3303
|
rowFirst: Vf,
|
3291
3304
|
rowSecond: Gf,
|
3292
3305
|
legal: Ff,
|
3293
|
-
legalText:
|
3294
|
-
legalOpen:
|
3306
|
+
legalText: Wf,
|
3307
|
+
legalOpen: Uf,
|
3295
3308
|
legalStatic: zf,
|
3296
3309
|
legalButton: Kf
|
3297
|
-
},
|
3310
|
+
}, Zf = ({
|
3298
3311
|
onClick: t
|
3299
3312
|
}) => {
|
3300
|
-
var i, l,
|
3301
|
-
const o = U(), e = Y(o), [n, r] = ie(), s = !!((i = e.legalInfoButton) != null && i.closeText && ((
|
3313
|
+
var i, l, _, d, c, u, p, h, m, f, N;
|
3314
|
+
const o = U(), e = Y(o), [n, r] = ie(), s = !!((i = e.legalInfoButton) != null && i.closeText && ((_ = (l = e.legalInfoButton) == null ? void 0 : l.closeText) == null ? void 0 : _.length) > 0);
|
3302
3315
|
return a("div", {
|
3303
3316
|
className: ft.root,
|
3304
3317
|
style: vt(e.root, ...ut),
|
@@ -3306,7 +3319,7 @@ const If = (t) => {
|
|
3306
3319
|
className: ft.background,
|
3307
3320
|
style: St(e.root, ...ut)
|
3308
3321
|
}), a("a", {
|
3309
|
-
href: (
|
3322
|
+
href: (d = e.root) == null ? void 0 : d.offer,
|
3310
3323
|
target: "_blank",
|
3311
3324
|
rel: "nofollow noopener noreferrer",
|
3312
3325
|
className: ft.body,
|
@@ -3319,16 +3332,16 @@ const If = (t) => {
|
|
3319
3332
|
}), a("div", {
|
3320
3333
|
className: ft.rowSecond,
|
3321
3334
|
style: e.rowSecond,
|
3322
|
-
children: (
|
3335
|
+
children: (u = e.rowSecond) == null ? void 0 : u.children
|
3323
3336
|
}), a("div", {
|
3324
3337
|
className: ft.bookmaker,
|
3325
3338
|
style: e.bookmaker,
|
3326
|
-
children: (
|
3339
|
+
children: (p = e.bookmaker) == null ? void 0 : p.children
|
3327
3340
|
})]
|
3328
3341
|
}), a("div", {
|
3329
3342
|
className: ft.button,
|
3330
3343
|
style: e.button,
|
3331
|
-
children: (
|
3344
|
+
children: (h = e.button) == null ? void 0 : h.children
|
3332
3345
|
})]
|
3333
3346
|
}), a("div", {
|
3334
3347
|
className: R(ft.legal, {
|
@@ -3338,41 +3351,41 @@ const If = (t) => {
|
|
3338
3351
|
style: e.legalInfo,
|
3339
3352
|
children: [a("div", {
|
3340
3353
|
className: ft.legalText,
|
3341
|
-
children: (
|
3354
|
+
children: (m = e.legalInfo) == null ? void 0 : m.children
|
3342
3355
|
}), a("div", {
|
3343
3356
|
className: ft.legalButton,
|
3344
3357
|
style: e.legalInfoButton,
|
3345
3358
|
onClick: r,
|
3346
|
-
children: n ? (
|
3359
|
+
children: n ? (f = e.legalInfoButton) == null ? void 0 : f.openText : (N = e.legalInfoButton) == null ? void 0 : N.closeText
|
3347
3360
|
})]
|
3348
3361
|
})]
|
3349
3362
|
});
|
3350
|
-
},
|
3351
|
-
const o = et(
|
3363
|
+
}, Jf = (t) => {
|
3364
|
+
const o = et(We()), e = (n) => o.current.on("click", n);
|
3352
3365
|
return Be(t, () => ({
|
3353
3366
|
promoId: "ContentCards",
|
3354
3367
|
onClick: e,
|
3355
3368
|
resetListeners: o.current.reset
|
3356
|
-
})),
|
3369
|
+
})), Q(() => o.current.reset, []), {
|
3357
3370
|
click: (...n) => o.current.emit("click", ...n),
|
3358
3371
|
onClick: e
|
3359
3372
|
};
|
3360
|
-
},
|
3373
|
+
}, qf = zt((t, o) => {
|
3361
3374
|
const e = et(null), n = U(), s = Lt(n, "mobile"), i = Y(s);
|
3362
3375
|
wt(s);
|
3363
3376
|
const {
|
3364
3377
|
click: l
|
3365
|
-
} =
|
3378
|
+
} = Jf(o);
|
3366
3379
|
return a("div", {
|
3367
3380
|
ref: e,
|
3368
|
-
children: ((i == null ? void 0 : i.children) || []).map((
|
3369
|
-
value:
|
3370
|
-
children: a(
|
3381
|
+
children: ((i == null ? void 0 : i.children) || []).map((_) => a(xt, {
|
3382
|
+
value: _,
|
3383
|
+
children: a(Zf, {
|
3371
3384
|
onClick: l
|
3372
3385
|
})
|
3373
3386
|
}))
|
3374
3387
|
});
|
3375
|
-
}), Fh = Tt(a(
|
3388
|
+
}), Fh = Tt(a(qf, {})), Xf = "_root_1ljj2_1", Qf = "_desktop_1ljj2_13", tm = "_laptop_1ljj2_14", em = "_promotion_1ljj2_18", om = "_background_1ljj2_35", nm = "_close_1ljj2_44", rm = "_content_1ljj2_61", am = "_variant2_1ljj2_74", sm = "_logo_1ljj2_78", im = "_left_1ljj2_90", lm = "_center_1ljj2_103", cm = "_slide_1ljj2_109", _m = "_slide_animated_default_1ljj2_123", dm = "_right_1ljj2_133", um = "_buttonWrapper_1ljj2_148", pm = "_button_1ljj2_148", fm = "_button_animated_1ljj2_182", mm = "_increase_1ljj2_1", Z = {
|
3376
3389
|
root: Xf,
|
3377
3390
|
desktop: Qf,
|
3378
3391
|
laptop: tm,
|
@@ -3408,7 +3421,7 @@ const If = (t) => {
|
|
3408
3421
|
[on.desktop]: (t == null ? void 0 : t.device) === "desktop"
|
3409
3422
|
}),
|
3410
3423
|
style: vt(o.root, ...ut),
|
3411
|
-
children: a(
|
3424
|
+
children: a(W, {
|
3412
3425
|
accentTypography: (e = o.root) == null ? void 0 : e.accentTypography,
|
3413
3426
|
typography: (n = o.root) == null ? void 0 : n.typography,
|
3414
3427
|
children: (r = o.root) == null ? void 0 : r.children
|
@@ -3429,19 +3442,19 @@ const If = (t) => {
|
|
3429
3442
|
odd: xm,
|
3430
3443
|
oddX: Om,
|
3431
3444
|
oddValue: Am
|
3432
|
-
},
|
3445
|
+
}, Wt = (t, o, e = 1, n = !1) => {
|
3433
3446
|
var l;
|
3434
|
-
const [r, s] = [o[0], o[1] || o[0]].map((
|
3447
|
+
const [r, s] = [o[0], o[1] || o[0]].map((_) => _ * e), i = `w${r}-h${s}${n ? "-c" : ""}`;
|
3435
3448
|
return (l = t == null ? void 0 : t.replace(/(\/(?:upload|user-avatars)\/[\w\d]+\/)origin(\/)/, `$1${i}$2`)) != null ? l : t;
|
3436
3449
|
}, jm = ({
|
3437
3450
|
oddFormatter: t
|
3438
3451
|
}) => {
|
3439
|
-
var l,
|
3440
|
-
const o = U(), e = Y(o), n =
|
3441
|
-
backgroundImage:
|
3452
|
+
var l, _;
|
3453
|
+
const o = U(), e = Y(o), n = g(e, "match.sportSlug"), r = vt(e.root, ...ut), s = T(k({}, e.teamLogo), {
|
3454
|
+
backgroundImage: Wt(g(e, "match.teams[0].logo"), [120, 120]),
|
3442
3455
|
backgroundColor: "transparent"
|
3443
|
-
}), i = T(
|
3444
|
-
backgroundImage:
|
3456
|
+
}), i = T(k({}, e.teamLogo), {
|
3457
|
+
backgroundImage: Wt(g(e, "match.teams[1].logo"), [120, 120]),
|
3445
3458
|
backgroundColor: "transparent"
|
3446
3459
|
});
|
3447
3460
|
return a("div", {
|
@@ -3460,7 +3473,7 @@ const If = (t) => {
|
|
3460
3473
|
}), a("div", {
|
3461
3474
|
className: X.titleValue,
|
3462
3475
|
style: e.titleValue,
|
3463
|
-
children: (
|
3476
|
+
children: (_ = e.titleValue) == null ? void 0 : _.children
|
3464
3477
|
})]
|
3465
3478
|
}), a("div", {
|
3466
3479
|
className: X.odds,
|
@@ -3471,12 +3484,12 @@ const If = (t) => {
|
|
3471
3484
|
style: s,
|
3472
3485
|
src: s.backgroundImage,
|
3473
3486
|
sportSlug: n,
|
3474
|
-
country:
|
3487
|
+
country: g(e, "match.teams[0].country")
|
3475
3488
|
}), a("div", {
|
3476
3489
|
className: X.oddValue,
|
3477
3490
|
style: e.value,
|
3478
3491
|
children: a(It, {
|
3479
|
-
odd:
|
3492
|
+
odd: g(e, "match.markets.one_x_two.w1"),
|
3480
3493
|
formatter: t
|
3481
3494
|
})
|
3482
3495
|
})]
|
@@ -3490,7 +3503,7 @@ const If = (t) => {
|
|
3490
3503
|
className: X.oddValue,
|
3491
3504
|
style: e.value,
|
3492
3505
|
children: a(It, {
|
3493
|
-
odd:
|
3506
|
+
odd: g(e, "match.markets.one_x_two.x"),
|
3494
3507
|
formatter: t
|
3495
3508
|
})
|
3496
3509
|
})]
|
@@ -3501,12 +3514,12 @@ const If = (t) => {
|
|
3501
3514
|
style: i,
|
3502
3515
|
src: i.backgroundImage,
|
3503
3516
|
sportSlug: n,
|
3504
|
-
country:
|
3517
|
+
country: g(e, "match.teams[1].country")
|
3505
3518
|
}), a("div", {
|
3506
3519
|
className: X.oddValue,
|
3507
3520
|
style: e.value,
|
3508
3521
|
children: a(It, {
|
3509
|
-
odd:
|
3522
|
+
odd: g(e, "match.markets.one_x_two.w2"),
|
3510
3523
|
formatter: t
|
3511
3524
|
})
|
3512
3525
|
})]
|
@@ -3516,19 +3529,19 @@ const If = (t) => {
|
|
3516
3529
|
children: [a("div", {
|
3517
3530
|
className: X.teamName,
|
3518
3531
|
style: e.teamName,
|
3519
|
-
children: a(Dt, T(
|
3532
|
+
children: a(Dt, T(k({}, g(e, "match.teams[0]")), {
|
3520
3533
|
fallback: "Team A"
|
3521
3534
|
}))
|
3522
3535
|
}), a("div", {
|
3523
3536
|
className: X.teamName,
|
3524
3537
|
style: e.teamName,
|
3525
|
-
children: a(Dt, T(
|
3538
|
+
children: a(Dt, T(k({}, g(e, "match.teams[1]")), {
|
3526
3539
|
fallback: "Team B"
|
3527
3540
|
}))
|
3528
3541
|
})]
|
3529
3542
|
})]
|
3530
3543
|
});
|
3531
|
-
}, Im = "_root_31lck_1", Dm = "_title_31lck_8", Rm = "_titleLabel_31lck_13", Hm = "_tablet_31lck_16", Ym = "_desktop_31lck_19", Bm = "_laptop_31lck_19", Pm = "_titleValue_31lck_23", Em = "_team_31lck_34", Vm = "_teamLogo_31lck_45", Gm = "_teamName_31lck_73", Fm = "_teamValue_31lck_81",
|
3544
|
+
}, Im = "_root_31lck_1", Dm = "_title_31lck_8", Rm = "_titleLabel_31lck_13", Hm = "_tablet_31lck_16", Ym = "_desktop_31lck_19", Bm = "_laptop_31lck_19", Pm = "_titleValue_31lck_23", Em = "_team_31lck_34", Vm = "_teamLogo_31lck_45", Gm = "_teamName_31lck_73", Fm = "_teamValue_31lck_81", Wm = "_wrapper_31lck_98", Um = "_logos_31lck_106", zm = "_national_31lck_119", Km = "_names_31lck_129", Zm = "_odds_31lck_129", nt = {
|
3532
3545
|
root: Im,
|
3533
3546
|
title: Dm,
|
3534
3547
|
titleLabel: Rm,
|
@@ -3540,28 +3553,28 @@ const If = (t) => {
|
|
3540
3553
|
teamLogo: Vm,
|
3541
3554
|
teamName: Gm,
|
3542
3555
|
teamValue: Fm,
|
3543
|
-
wrapper:
|
3544
|
-
logos:
|
3556
|
+
wrapper: Wm,
|
3557
|
+
logos: Um,
|
3545
3558
|
national: zm,
|
3546
3559
|
names: Km,
|
3547
|
-
odds:
|
3548
|
-
},
|
3560
|
+
odds: Zm
|
3561
|
+
}, Jm = ({
|
3549
3562
|
oddFormatter: t
|
3550
3563
|
}) => {
|
3551
3564
|
var i, l;
|
3552
|
-
const o = U(), e = Y(o), n =
|
3565
|
+
const o = U(), e = Y(o), n = g(e, "match.sportSlug"), r = T(k(k({}, St(e.root, ...ut)), e.teamLogo), {
|
3553
3566
|
backgroundColor: "transparent",
|
3554
|
-
backgroundImage:
|
3555
|
-
}), s = T(
|
3567
|
+
backgroundImage: Wt(g(e, "match.teams[0].logo"), [120, 120])
|
3568
|
+
}), s = T(k(k({}, St(e.root, ...ut)), e.teamLogo), {
|
3556
3569
|
backgroundColor: "transparent",
|
3557
|
-
backgroundImage:
|
3570
|
+
backgroundImage: Wt(g(e, "match.teams[1].logo"), [120, 120])
|
3558
3571
|
});
|
3559
3572
|
return a("div", {
|
3560
3573
|
className: R(nt.root, {
|
3561
3574
|
[nt.desktop]: (o == null ? void 0 : o.device) === "desktop",
|
3562
3575
|
[nt.laptop]: (o == null ? void 0 : o.device) === "laptop",
|
3563
3576
|
[nt.tablet]: (o == null ? void 0 : o.device) === "tablet",
|
3564
|
-
[nt.national]:
|
3577
|
+
[nt.national]: g(e, "match.isNational") || n === "tennis"
|
3565
3578
|
}),
|
3566
3579
|
style: vt(e.root, ...ut),
|
3567
3580
|
children: [a("div", {
|
@@ -3584,26 +3597,26 @@ const If = (t) => {
|
|
3584
3597
|
style: r,
|
3585
3598
|
src: r.backgroundImage,
|
3586
3599
|
sportSlug: n,
|
3587
|
-
country:
|
3600
|
+
country: g(e, "match.teams[0].country")
|
3588
3601
|
}), a(ht, {
|
3589
3602
|
className: nt.teamLogo,
|
3590
3603
|
style: s,
|
3591
3604
|
src: s.backgroundImage,
|
3592
3605
|
sportSlug: n,
|
3593
|
-
country:
|
3606
|
+
country: g(e, "match.teams[1].country")
|
3594
3607
|
})]
|
3595
3608
|
}), a("div", {
|
3596
3609
|
className: nt.names,
|
3597
3610
|
children: [a("div", {
|
3598
3611
|
className: nt.teamName,
|
3599
3612
|
style: e.teamName,
|
3600
|
-
children: a(Dt, T(
|
3613
|
+
children: a(Dt, T(k({}, g(e, "match.teams[0]")), {
|
3601
3614
|
fallback: "Team A"
|
3602
3615
|
}))
|
3603
3616
|
}), a("div", {
|
3604
3617
|
className: nt.teamName,
|
3605
3618
|
style: e.teamName,
|
3606
|
-
children: a(Dt, T(
|
3619
|
+
children: a(Dt, T(k({}, g(e, "match.teams[1]")), {
|
3607
3620
|
fallback: "Team B"
|
3608
3621
|
}))
|
3609
3622
|
})]
|
@@ -3613,28 +3626,28 @@ const If = (t) => {
|
|
3613
3626
|
className: nt.teamValue,
|
3614
3627
|
style: e.value,
|
3615
3628
|
children: a(It, {
|
3616
|
-
odd:
|
3629
|
+
odd: g(e, "match.markets.one_two.w1"),
|
3617
3630
|
formatter: t
|
3618
3631
|
})
|
3619
3632
|
}), a("div", {
|
3620
3633
|
className: nt.teamValue,
|
3621
3634
|
style: e.value,
|
3622
3635
|
children: a(It, {
|
3623
|
-
odd:
|
3636
|
+
odd: g(e, "match.markets.one_two.w2"),
|
3624
3637
|
formatter: t
|
3625
3638
|
})
|
3626
3639
|
})]
|
3627
3640
|
})]
|
3628
3641
|
})]
|
3629
3642
|
});
|
3630
|
-
},
|
3643
|
+
}, qm = (t = []) => {
|
3631
3644
|
var i;
|
3632
3645
|
const o = et(0), e = t.length, [n, r] = yt(0), s = (i = t[n || 0]) == null ? void 0 : i.animationDuration;
|
3633
|
-
return
|
3634
|
-
const
|
3635
|
-
o.current += 1, r((
|
3646
|
+
return Q(() => {
|
3647
|
+
const _ = setTimeout(() => {
|
3648
|
+
o.current += 1, r((d) => d + 1 < e ? d + 1 : 0);
|
3636
3649
|
}, s);
|
3637
|
-
return () => clearTimeout(
|
3650
|
+
return () => clearTimeout(_);
|
3638
3651
|
}, [r, e, s, n]), {
|
3639
3652
|
animatedIdx: n,
|
3640
3653
|
countOfTick: o.current
|
@@ -3643,58 +3656,60 @@ const If = (t) => {
|
|
3643
3656
|
matches: "one_x_two",
|
3644
3657
|
matchesOneTwo: "one_two"
|
3645
3658
|
}, nn = (t) => [Xm[t]], Qm = (t, o, e) => {
|
3646
|
-
const n = (
|
3647
|
-
var
|
3648
|
-
return E(
|
3649
|
-
}, r = (t == null ? void 0 : t.children) || [], s = r.filter((
|
3650
|
-
markets: nn(
|
3651
|
-
})), i = s.find((
|
3652
|
-
data:
|
3653
|
-
execute:
|
3659
|
+
const n = (p) => {
|
3660
|
+
var h;
|
3661
|
+
return E(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);
|
3662
|
+
}, r = (t == null ? void 0 : t.children) || [], s = r.filter((p) => n(p.root.targetMatch)).map((p) => T(k({}, p.root.targetMatch), {
|
3663
|
+
markets: nn(p.name)
|
3664
|
+
})), i = s.find((p) => p.isAuto), l = Le(s), {
|
3665
|
+
data: _,
|
3666
|
+
execute: d
|
3654
3667
|
} = le(`${o}/match-list`, {
|
3655
3668
|
method: "POST",
|
3656
3669
|
body: {
|
3657
|
-
matches: s.map((
|
3658
|
-
slug:
|
3659
|
-
sport_slug:
|
3660
|
-
lang:
|
3661
|
-
bookmaker_slug:
|
3662
|
-
offset:
|
3663
|
-
markets:
|
3670
|
+
matches: s.map((p) => ({
|
3671
|
+
slug: p.matchSlug,
|
3672
|
+
sport_slug: p.sportSlug,
|
3673
|
+
lang: p.langSlug,
|
3674
|
+
bookmaker_slug: p.bookmaker,
|
3675
|
+
offset: p.offset,
|
3676
|
+
markets: p.markets
|
3664
3677
|
}))
|
3665
3678
|
},
|
3666
3679
|
pause: !o || s.length === 0 || i
|
3667
|
-
}),
|
3680
|
+
}), {
|
3681
|
+
match: c
|
3682
|
+
} = Ze({
|
3668
3683
|
dependsOn: "markets",
|
3669
3684
|
apiHost: o,
|
3670
3685
|
pause: !i || !e,
|
3671
|
-
match: T(
|
3686
|
+
match: T(k({}, e), {
|
3672
3687
|
markets: i == null ? void 0 : i.markets,
|
3673
3688
|
bookmaker: i == null ? void 0 : i.bookmaker
|
3674
3689
|
})
|
3675
3690
|
});
|
3676
|
-
return
|
3677
|
-
Te(l, s) ||
|
3678
|
-
}, [s]), r.map((
|
3679
|
-
var
|
3680
|
-
if ("targetMatch" in
|
3681
|
-
const
|
3682
|
-
if (((
|
3683
|
-
return T(
|
3691
|
+
return Q(() => {
|
3692
|
+
Te(l, s) || d();
|
3693
|
+
}, [s]), r.map((p) => {
|
3694
|
+
var h, m;
|
3695
|
+
if ("targetMatch" in p.root) {
|
3696
|
+
const f = nn(p.name), N = (_ || []).find((j) => j.slug === p.root.targetMatch.matchSlug);
|
3697
|
+
if (((m = (h = p == null ? void 0 : p.root) == null ? void 0 : h.targetMatch) == null ? void 0 : m.isAuto) && c)
|
3698
|
+
return T(k({}, p), {
|
3684
3699
|
match: ne(c, {
|
3685
|
-
markets:
|
3700
|
+
markets: f
|
3686
3701
|
})
|
3687
3702
|
});
|
3688
|
-
if (!
|
3703
|
+
if (!N)
|
3689
3704
|
return;
|
3690
|
-
const
|
3691
|
-
markets:
|
3692
|
-
}),
|
3693
|
-
return T(
|
3694
|
-
match:
|
3705
|
+
const O = ne(N, {
|
3706
|
+
markets: f
|
3707
|
+
}), D = Ue(O, p.root.customMatch, (j, [C, w]) => E(w));
|
3708
|
+
return T(k({}, p), {
|
3709
|
+
match: D
|
3695
3710
|
});
|
3696
3711
|
}
|
3697
|
-
return
|
3712
|
+
return p;
|
3698
3713
|
}).filter(Boolean);
|
3699
3714
|
}, tg = 3700, eg = ({
|
3700
3715
|
id: t,
|
@@ -3704,41 +3719,41 @@ const If = (t) => {
|
|
3704
3719
|
onClose: r,
|
3705
3720
|
onClick: s
|
3706
3721
|
}) => {
|
3707
|
-
var
|
3708
|
-
const i = et(null), l = U(),
|
3722
|
+
var j, C, w, G, z;
|
3723
|
+
const i = et(null), l = U(), _ = Ot({
|
3709
3724
|
id: t,
|
3710
3725
|
targetRef: i
|
3711
|
-
}),
|
3712
|
-
wt(
|
3713
|
-
const
|
3726
|
+
}), d = Lt(l, _), c = Y(d);
|
3727
|
+
wt(d);
|
3728
|
+
const u = Qm(c, n, o), p = (v) => ({
|
3714
3729
|
text: a(ym, {}),
|
3715
3730
|
matches: a(jm, {
|
3716
3731
|
oddFormatter: e
|
3717
3732
|
}),
|
3718
|
-
matchesOneTwo: a(
|
3733
|
+
matchesOneTwo: a(Jm, {
|
3719
3734
|
oddFormatter: e
|
3720
3735
|
})
|
3721
|
-
})[
|
3722
|
-
var
|
3723
|
-
return T(
|
3724
|
-
animationName: (
|
3725
|
-
animationDuration: ((
|
3736
|
+
})[v], h = u.filter(Boolean).map((v) => {
|
3737
|
+
var b, y;
|
3738
|
+
return T(k({}, v), {
|
3739
|
+
animationName: (b = v == null ? void 0 : v.root) == null ? void 0 : b.animationName,
|
3740
|
+
animationDuration: ((y = v == null ? void 0 : v.root) == null ? void 0 : y.animationDuration) || tg
|
3726
3741
|
});
|
3727
3742
|
}), {
|
3728
|
-
animatedIdx:
|
3729
|
-
countOfTick:
|
3730
|
-
} =
|
3743
|
+
animatedIdx: m,
|
3744
|
+
countOfTick: f
|
3745
|
+
} = qm(h), N = Y(h[m] || {}), 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);
|
3731
3746
|
return a("div", {
|
3732
3747
|
ref: i,
|
3733
|
-
className: R(
|
3734
|
-
[
|
3735
|
-
[
|
3736
|
-
[
|
3737
|
-
[
|
3748
|
+
className: R(Z.root, {
|
3749
|
+
[Z.desktop]: _ === "desktop",
|
3750
|
+
[Z.laptop]: _ === "laptop",
|
3751
|
+
[Z.tablet]: _ === "tablet",
|
3752
|
+
[Z.variant2]: ((C = c.root) == null ? void 0 : C.variant) === "variant2"
|
3738
3753
|
}),
|
3739
|
-
style:
|
3754
|
+
style: O,
|
3740
3755
|
children: [a("div", {
|
3741
|
-
className:
|
3756
|
+
className: Z.close,
|
3742
3757
|
style: c.close,
|
3743
3758
|
onClick: r,
|
3744
3759
|
children: a(Rt, {
|
@@ -3746,69 +3761,69 @@ const If = (t) => {
|
|
3746
3761
|
height: 9
|
3747
3762
|
})
|
3748
3763
|
}), a("div", {
|
3749
|
-
className:
|
3764
|
+
className: Z.promotion,
|
3750
3765
|
style: c.promotion,
|
3751
|
-
children: (
|
3766
|
+
children: (w = c.promotion) == null ? void 0 : w.children
|
3752
3767
|
}), a("a", {
|
3753
|
-
href: (
|
3768
|
+
href: (G = c.root) == null ? void 0 : G.offer,
|
3754
3769
|
target: "_blank",
|
3755
3770
|
rel: "nofollow noopener noreferrer",
|
3756
3771
|
onClick: s,
|
3757
3772
|
children: [a("div", {
|
3758
|
-
className:
|
3759
|
-
style:
|
3773
|
+
className: Z.background,
|
3774
|
+
style: D
|
3760
3775
|
}), a("div", {
|
3761
|
-
className:
|
3776
|
+
className: Z.content,
|
3762
3777
|
children: [a("div", {
|
3763
|
-
className:
|
3778
|
+
className: Z.left,
|
3764
3779
|
children: a("div", {
|
3765
|
-
className:
|
3780
|
+
className: Z.logo,
|
3766
3781
|
style: c.logo
|
3767
3782
|
})
|
3768
3783
|
}), a("div", {
|
3769
|
-
className:
|
3770
|
-
children: (
|
3771
|
-
var
|
3784
|
+
className: Z.center,
|
3785
|
+
children: (h || []).map((v, b) => {
|
3786
|
+
var y, M, $;
|
3772
3787
|
return a("div", {
|
3773
|
-
className:
|
3788
|
+
className: Z.slide,
|
3774
3789
|
style: A ? {
|
3775
|
-
animationName:
|
3776
|
-
animationDuration: `${(
|
3790
|
+
animationName: m === b ? Z[((y = v.root) == null ? void 0 : y.animationName) || "fade-in-out"] : "none",
|
3791
|
+
animationDuration: `${(M = v.root) == null ? void 0 : M.animationDuration}ms`
|
3777
3792
|
} : {
|
3778
|
-
animationName:
|
3779
|
-
animationDuration: `${(
|
3793
|
+
animationName: m === b ? Z["fade-in-out-initial"] : "none",
|
3794
|
+
animationDuration: `${($ = v.root) == null ? void 0 : $.animationDuration}ms`
|
3780
3795
|
},
|
3781
3796
|
children: a(xt, {
|
3782
|
-
value: T(
|
3783
|
-
device:
|
3797
|
+
value: T(k({}, v), {
|
3798
|
+
device: _
|
3784
3799
|
}),
|
3785
|
-
children:
|
3800
|
+
children: p(v.name)
|
3786
3801
|
})
|
3787
3802
|
});
|
3788
3803
|
})
|
3789
3804
|
}), a("div", {
|
3790
|
-
className:
|
3805
|
+
className: Z.right,
|
3791
3806
|
children: [a("div", {
|
3792
|
-
className:
|
3807
|
+
className: Z.logo,
|
3793
3808
|
style: c.logo
|
3794
3809
|
}), a("div", {
|
3795
|
-
className:
|
3810
|
+
className: Z.buttonWrapper,
|
3796
3811
|
children: a("div", {
|
3797
|
-
className: R(
|
3798
|
-
[
|
3812
|
+
className: R(Z.button, {
|
3813
|
+
[Z.button_animated]: c.button.$animated
|
3799
3814
|
}),
|
3800
3815
|
style: c.button,
|
3801
3816
|
children: [a("div", {
|
3802
|
-
className:
|
3817
|
+
className: Z.logo,
|
3803
3818
|
style: c.logo
|
3804
|
-
}), (
|
3819
|
+
}), (z = c.button) == null ? void 0 : z.children]
|
3805
3820
|
})
|
3806
3821
|
})]
|
3807
3822
|
})]
|
3808
3823
|
})]
|
3809
3824
|
})]
|
3810
3825
|
});
|
3811
|
-
},
|
3826
|
+
}, Wh = Tt(a(eg, {})), og = "_content_c8kee_1", ng = "_desktop_c8kee_6", rg = "_laptop_c8kee_6", ag = "_tablet_c8kee_6", te = {
|
3812
3827
|
content: og,
|
3813
3828
|
desktop: ng,
|
3814
3829
|
laptop: rg,
|
@@ -3824,20 +3839,20 @@ const If = (t) => {
|
|
3824
3839
|
legalText: pg,
|
3825
3840
|
open: fg,
|
3826
3841
|
legalMore: mg
|
3827
|
-
},
|
3828
|
-
const s =
|
3842
|
+
}, Uh = (t, o, e, n, r = sd) => {
|
3843
|
+
const s = k({}, t);
|
3829
3844
|
return r.forEach((i) => {
|
3830
|
-
s[o] = T(
|
3831
|
-
[i]: T(
|
3832
|
-
[e]: typeof n == "function" ? n(
|
3845
|
+
s[o] = T(k({}, s[o]), {
|
3846
|
+
[i]: T(k({}, s[o][i]), {
|
3847
|
+
[e]: typeof n == "function" ? n(g(s, `${o}.${i}.${e}`)) : n
|
3833
3848
|
})
|
3834
3849
|
});
|
3835
3850
|
}), s;
|
3836
|
-
},
|
3851
|
+
}, Je = (t) => {
|
3837
3852
|
const o = t == null ? void 0 : t.backgroundColor;
|
3838
3853
|
if (!o)
|
3839
3854
|
return t;
|
3840
|
-
const e = T(
|
3855
|
+
const e = T(k({}, t), {
|
3841
3856
|
color: o
|
3842
3857
|
});
|
3843
3858
|
return vt(e, "backgroundColor");
|
@@ -3869,7 +3884,7 @@ const If = (t) => {
|
|
3869
3884
|
}), hg = ({
|
3870
3885
|
onClick: t
|
3871
3886
|
}) => {
|
3872
|
-
var s, i, l,
|
3887
|
+
var s, i, l, _, d, c, u, p, h;
|
3873
3888
|
const o = U(), e = Y(o), [n, r] = ie();
|
3874
3889
|
return a("div", {
|
3875
3890
|
className: Mt.root,
|
@@ -3878,7 +3893,7 @@ const If = (t) => {
|
|
3878
3893
|
className: Mt.content,
|
3879
3894
|
children: [a("div", {
|
3880
3895
|
className: Mt.textContent,
|
3881
|
-
children: [a(
|
3896
|
+
children: [a(W, {
|
3882
3897
|
className: Mt.text,
|
3883
3898
|
style: e.text,
|
3884
3899
|
typography: (s = e.text) == null ? void 0 : s.typography,
|
@@ -3886,7 +3901,7 @@ const If = (t) => {
|
|
3886
3901
|
children: (l = e.text) == null ? void 0 : l.children
|
3887
3902
|
}), a("div", {
|
3888
3903
|
style: e.bookmaker,
|
3889
|
-
children: (
|
3904
|
+
children: (_ = e.bookmaker) == null ? void 0 : _.children
|
3890
3905
|
})]
|
3891
3906
|
}), a("div", {
|
3892
3907
|
className: Mt.button,
|
@@ -3894,8 +3909,8 @@ const If = (t) => {
|
|
3894
3909
|
children: e.button.children
|
3895
3910
|
}), a("div", {
|
3896
3911
|
className: Mt.backgroundLine,
|
3897
|
-
style: T(
|
3898
|
-
left: `calc(50% - ${(
|
3912
|
+
style: T(k({}, Je(e.line)), {
|
3913
|
+
left: `calc(50% - ${(d = e.line) == null ? void 0 : d.left})`
|
3899
3914
|
}),
|
3900
3915
|
children: a(gg, {})
|
3901
3916
|
}), a("a", {
|
@@ -3912,11 +3927,11 @@ const If = (t) => {
|
|
3912
3927
|
style: e.legalInfo,
|
3913
3928
|
children: a("div", {
|
3914
3929
|
className: Mt.legalText,
|
3915
|
-
children: [(
|
3930
|
+
children: [(u = e.legalInfo) == null ? void 0 : u.children, a("span", {
|
3916
3931
|
className: Mt.legalMore,
|
3917
3932
|
style: e.legalInfoButton,
|
3918
3933
|
onClick: r,
|
3919
|
-
children: n ? (
|
3934
|
+
children: n ? (p = e.legalInfoButton) == null ? void 0 : p.openText : (h = e.legalInfoButton) == null ? void 0 : h.closeText
|
3920
3935
|
})]
|
3921
3936
|
})
|
3922
3937
|
})]
|
@@ -3936,8 +3951,8 @@ const If = (t) => {
|
|
3936
3951
|
}, Sg = ({
|
3937
3952
|
onClick: t
|
3938
3953
|
}) => {
|
3939
|
-
var i, l,
|
3940
|
-
const o = U(), e = Y(o), [n, r] = ie(), s = !!((i = e.legalInfoButton) != null && i.closeText && ((
|
3954
|
+
var i, l, _, d, c, u, p, h, m, f, N;
|
3955
|
+
const o = U(), e = Y(o), [n, r] = ie(), s = !!((i = e.legalInfoButton) != null && i.closeText && ((_ = (l = e.legalInfoButton) == null ? void 0 : l.closeText) == null ? void 0 : _.length) > 0);
|
3941
3956
|
return a("div", {
|
3942
3957
|
className: R(mt.root, {
|
3943
3958
|
[mt.open]: n,
|
@@ -3949,12 +3964,12 @@ const If = (t) => {
|
|
3949
3964
|
style: {
|
3950
3965
|
opacity: n ? 0 : 1
|
3951
3966
|
},
|
3952
|
-
children: [a(
|
3967
|
+
children: [a(W, {
|
3953
3968
|
className: mt.text,
|
3954
3969
|
style: e.text,
|
3955
|
-
typography: (
|
3970
|
+
typography: (d = e.text) == null ? void 0 : d.typography,
|
3956
3971
|
accentTypography: (c = e.text) == null ? void 0 : c.accentTypography,
|
3957
|
-
children: (
|
3972
|
+
children: (u = e.text) == null ? void 0 : u.children
|
3958
3973
|
}), a("div", {
|
3959
3974
|
className: mt.button,
|
3960
3975
|
style: e.button,
|
@@ -3964,11 +3979,11 @@ const If = (t) => {
|
|
3964
3979
|
}), e.button.children]
|
3965
3980
|
}), a("a", {
|
3966
3981
|
className: mt.link,
|
3967
|
-
href: (
|
3982
|
+
href: (p = e.root) == null ? void 0 : p.offer
|
3968
3983
|
})]
|
3969
3984
|
}), a("a", {
|
3970
3985
|
className: mt.link,
|
3971
|
-
href: (
|
3986
|
+
href: (h = e.root) == null ? void 0 : h.offer,
|
3972
3987
|
target: "_blank",
|
3973
3988
|
onClick: () => t(e.id),
|
3974
3989
|
rel: "noreferrer"
|
@@ -3977,25 +3992,25 @@ const If = (t) => {
|
|
3977
3992
|
style: e.legalInfo,
|
3978
3993
|
children: [a("div", {
|
3979
3994
|
className: mt.legalText,
|
3980
|
-
children: (
|
3995
|
+
children: (m = e.legalInfo) == null ? void 0 : m.children
|
3981
3996
|
}), a("div", {
|
3982
3997
|
className: mt.legalMore,
|
3983
3998
|
style: e.legalInfoButton,
|
3984
3999
|
onClick: r,
|
3985
|
-
children: n ? (
|
4000
|
+
children: n ? (f = e.legalInfoButton) == null ? void 0 : f.openText : (N = e.legalInfoButton) == null ? void 0 : N.closeText
|
3986
4001
|
})]
|
3987
4002
|
})]
|
3988
4003
|
});
|
3989
4004
|
}, xg = (t) => {
|
3990
|
-
const o = et(
|
4005
|
+
const o = et(We()), e = (r) => o.current.on("click", r), n = (r) => o.current.on("visible", r);
|
3991
4006
|
return Be(t, () => ({
|
3992
4007
|
promoId: "ContentCards",
|
3993
4008
|
onClick: e,
|
3994
4009
|
onVisible: n,
|
3995
4010
|
resetListeners: o.current.reset
|
3996
|
-
})),
|
4011
|
+
})), Q(() => {
|
3997
4012
|
o.current.emit("visible");
|
3998
|
-
}, []),
|
4013
|
+
}, []), Q(() => o.current.reset, []), {
|
3999
4014
|
click: (...r) => o.current.emit("click", ...r),
|
4000
4015
|
onClick: e
|
4001
4016
|
};
|
@@ -4009,14 +4024,14 @@ const If = (t) => {
|
|
4009
4024
|
wt(s);
|
4010
4025
|
const {
|
4011
4026
|
click: l
|
4012
|
-
} = xg(o),
|
4027
|
+
} = xg(o), _ = (d) => ({
|
4013
4028
|
cardVariant1: a(hg, {
|
4014
4029
|
onClick: l
|
4015
4030
|
}),
|
4016
4031
|
cardVariant2: a(Sg, {
|
4017
4032
|
onClick: l
|
4018
4033
|
})
|
4019
|
-
})[
|
4034
|
+
})[d];
|
4020
4035
|
return a("div", {
|
4021
4036
|
ref: e,
|
4022
4037
|
className: R(te.root, {
|
@@ -4026,9 +4041,9 @@ const If = (t) => {
|
|
4026
4041
|
}),
|
4027
4042
|
children: a("div", {
|
4028
4043
|
className: te.content,
|
4029
|
-
children: ((i == null ? void 0 : i.children) || []).map((
|
4030
|
-
value:
|
4031
|
-
children: d
|
4044
|
+
children: ((i == null ? void 0 : i.children) || []).map((d) => a(xt, {
|
4045
|
+
value: d,
|
4046
|
+
children: _(d.name)
|
4032
4047
|
}))
|
4033
4048
|
})
|
4034
4049
|
});
|
@@ -4049,12 +4064,12 @@ const If = (t) => {
|
|
4049
4064
|
id: t,
|
4050
4065
|
onClick: o
|
4051
4066
|
}, e) => {
|
4052
|
-
var c, p,
|
4067
|
+
var c, u, p, h, m, f, N, A, O, D, j;
|
4053
4068
|
const [n, r] = ie(), s = et(null), i = U(), l = Ot({
|
4054
4069
|
targetRef: s,
|
4055
4070
|
id: t
|
4056
|
-
}),
|
4057
|
-
return wt(
|
4071
|
+
}), _ = Lt(i, l), d = Y(_);
|
4072
|
+
return wt(_), a("div", {
|
4058
4073
|
className: R(ct.root, {
|
4059
4074
|
[ct.legalOpen]: n,
|
4060
4075
|
[ct.desktop]: l === "desktop",
|
@@ -4062,32 +4077,32 @@ const If = (t) => {
|
|
4062
4077
|
[ct.tablet]: l === "tablet"
|
4063
4078
|
}),
|
4064
4079
|
ref: s,
|
4065
|
-
style:
|
4080
|
+
style: d.root,
|
4066
4081
|
children: [a("a", {
|
4067
4082
|
className: ct.content,
|
4068
4083
|
target: "_blank",
|
4069
4084
|
rel: "nofollow noopener noreferrer",
|
4070
|
-
href: (c =
|
4085
|
+
href: (c = d.root) == null ? void 0 : c.offer,
|
4071
4086
|
onClick: o,
|
4072
4087
|
children: [a("div", {
|
4073
4088
|
className: ct.text,
|
4074
|
-
children: a(
|
4075
|
-
typography: (
|
4076
|
-
accentTypography: (
|
4077
|
-
children: (
|
4089
|
+
children: a(W, {
|
4090
|
+
typography: (u = d.text) == null ? void 0 : u.typography,
|
4091
|
+
accentTypography: (p = d.text) == null ? void 0 : p.accentTypography,
|
4092
|
+
children: (h = d.text) == null ? void 0 : h.children
|
4078
4093
|
})
|
4079
4094
|
}), a("div", {
|
4080
4095
|
className: ct.button,
|
4081
|
-
style:
|
4096
|
+
style: d.button,
|
4082
4097
|
children: [a("div", {
|
4083
4098
|
className: ct.logo,
|
4084
|
-
style:
|
4099
|
+
style: d.logo
|
4085
4100
|
}), a("div", {
|
4086
4101
|
className: ct.buttonText,
|
4087
|
-
children: a(
|
4088
|
-
typography: (
|
4089
|
-
accentTypography: (
|
4090
|
-
children: (
|
4102
|
+
children: a(W, {
|
4103
|
+
typography: (m = d.button) == null ? void 0 : m.typography,
|
4104
|
+
accentTypography: (f = d.button) == null ? void 0 : f.accentTypography,
|
4105
|
+
children: (N = d.button) == null ? void 0 : N.children
|
4091
4106
|
})
|
4092
4107
|
})]
|
4093
4108
|
})]
|
@@ -4095,27 +4110,27 @@ const If = (t) => {
|
|
4095
4110
|
className: R(ct.legal, {
|
4096
4111
|
[ct.legalOpen]: n
|
4097
4112
|
}),
|
4098
|
-
style:
|
4113
|
+
style: d.legal,
|
4099
4114
|
children: [a("span", {
|
4100
4115
|
className: ct.legalText,
|
4101
4116
|
children: a("span", {
|
4102
|
-
children: (A =
|
4117
|
+
children: (A = d.legal) == null ? void 0 : A.children
|
4103
4118
|
})
|
4104
|
-
}), ((
|
4119
|
+
}), ((O = d == null ? void 0 : d.legal) == null ? void 0 : O.hasButton) && a("span", {
|
4105
4120
|
className: ct.legalButton,
|
4106
4121
|
onClick: r,
|
4107
|
-
children: n ? (
|
4122
|
+
children: n ? (D = d.legal) == null ? void 0 : D.buttonOpenText : (j = d.legal) == null ? void 0 : j.buttonHideText
|
4108
4123
|
})]
|
4109
4124
|
})]
|
4110
4125
|
});
|
4111
|
-
}), Kh = Tt(a(Fg, {})),
|
4112
|
-
root:
|
4113
|
-
withoutLegal:
|
4126
|
+
}), Kh = Tt(a(Fg, {})), Wg = "_root_9apk4_1", Ug = "_withoutLegal_9apk4_8", zg = "_desktop_9apk4_12", Kg = "_tablet_9apk4_12", Zg = "_w1440_9apk4_12", Jg = "_w480_9apk4_17", qg = "_laptop_9apk4_17", Xg = "_w400_9apk4_22", Qg = "_w375_9apk4_27", th = "_mobile_9apk4_32", eh = "_link_9apk4_37", oh = "_close_9apk4_41", nh = "_container_9apk4_64", rh = "_containerInner_9apk4_85", ah = "_badge_9apk4_91", sh = "_badgeLogo_9apk4_108", ih = "_artifact_9apk4_113", lh = "_textContainer_9apk4_118", ch = "_button_9apk4_134", _h = "_buttonContent_9apk4_144", dh = "_legalText_9apk4_151", _t = {
|
4127
|
+
root: Wg,
|
4128
|
+
withoutLegal: Ug,
|
4114
4129
|
desktop: zg,
|
4115
4130
|
tablet: Kg,
|
4116
|
-
w1440:
|
4117
|
-
w480:
|
4118
|
-
laptop:
|
4131
|
+
w1440: Zg,
|
4132
|
+
w480: Jg,
|
4133
|
+
laptop: qg,
|
4119
4134
|
w400: Xg,
|
4120
4135
|
w375: Qg,
|
4121
4136
|
mobile: th,
|
@@ -4130,7 +4145,7 @@ const If = (t) => {
|
|
4130
4145
|
button: ch,
|
4131
4146
|
buttonContent: _h,
|
4132
4147
|
legalText: dh
|
4133
|
-
}, uh = "
|
4148
|
+
}, uh = "_root_5bjrs_1", ph = "_desktop_5bjrs_9", fh = "_logos_5bjrs_13", mh = "_tablet_5bjrs_24", gh = "_w1440_5bjrs_24", hh = "_teamLogo_5bjrs_29", yh = "_teamLogoInside_5bjrs_53", vh = "_teams_5bjrs_66", bh = "_oddWrapper_5bjrs_87", $h = "_oddLabel_5bjrs_100", kh = "_oddValue_5bjrs_110", Mh = "_text_5bjrs_124", gt = {
|
4134
4149
|
root: uh,
|
4135
4150
|
desktop: ph,
|
4136
4151
|
logos: fh,
|
@@ -4148,27 +4163,27 @@ const If = (t) => {
|
|
4148
4163
|
device: o,
|
4149
4164
|
rootState: e
|
4150
4165
|
}) => {
|
4151
|
-
var
|
4152
|
-
const n = U(), r = Y(n), s = Y(e), i =
|
4153
|
-
alignItems: jt((
|
4166
|
+
var N, A, O, D;
|
4167
|
+
const n = U(), r = Y(n), s = Y(e), i = g(r, "match.sportSlug"), _ = g(r, "root.predictionLength", "full") === "full" ? g(r, "match.prediction.value") : g(r, "match.prediction.value_short") || g(r, "match.prediction.value"), d = T(k({}, vt(r.root, ...ut)), {
|
4168
|
+
alignItems: jt((N = s.container) == null ? void 0 : N.align)
|
4154
4169
|
}), c = Pt(() => {
|
4155
4170
|
var C;
|
4156
|
-
const
|
4171
|
+
const j = (C = {
|
4157
4172
|
desktop: 14,
|
4158
4173
|
tablet: 12
|
4159
4174
|
}[o]) != null ? C : 9;
|
4160
|
-
return [wh.mobile].includes(o) &&
|
4161
|
-
}, [o,
|
4162
|
-
bonusValue:
|
4163
|
-
clearResult: (
|
4164
|
-
rawResult: (
|
4165
|
-
rate:
|
4175
|
+
return [wh.mobile].includes(o) && _.length > 35 ? j - 1 : j;
|
4176
|
+
}, [o, _]), u = g(r, "coef.backgroundColor", "#fff"), p = +g(n, "root.bonusValue", 0), h = +g(n, "match.prediction.factor", 0), m = Bn((A = r.text) == null ? void 0 : A.children, {
|
4177
|
+
bonusValue: p,
|
4178
|
+
clearResult: (p * h - p).toFixed(0),
|
4179
|
+
rawResult: (p * h).toFixed(0),
|
4180
|
+
rate: h
|
4166
4181
|
}, {
|
4167
4182
|
parse: !1
|
4168
|
-
}),
|
4183
|
+
}), f = h === 0 ? g(r, "text.fallbackChildren") : m;
|
4169
4184
|
return a("div", {
|
4170
4185
|
className: R(gt.root, gt[o]),
|
4171
|
-
style:
|
4186
|
+
style: d,
|
4172
4187
|
children: [a("div", {
|
4173
4188
|
className: gt.logos,
|
4174
4189
|
children: [a("div", {
|
@@ -4176,34 +4191,34 @@ const If = (t) => {
|
|
4176
4191
|
style: r.teamLogo,
|
4177
4192
|
children: a(ht, {
|
4178
4193
|
className: gt.teamLogoInside,
|
4179
|
-
src:
|
4194
|
+
src: Wt(g(r, "match.teams[0].logo"), [120, 120]),
|
4180
4195
|
sportSlug: i,
|
4181
|
-
country:
|
4196
|
+
country: g(r, "match.teams[0].country")
|
4182
4197
|
})
|
4183
4198
|
}), a("div", {
|
4184
4199
|
className: gt.teamLogo,
|
4185
4200
|
style: r.teamLogo,
|
4186
4201
|
children: a(ht, {
|
4187
4202
|
className: gt.teamLogoInside,
|
4188
|
-
src:
|
4203
|
+
src: Wt(g(r, "match.teams[1].logo"), [120, 120]),
|
4189
4204
|
sportSlug: i,
|
4190
|
-
country:
|
4205
|
+
country: g(r, "match.teams[1].country")
|
4191
4206
|
})
|
4192
4207
|
})]
|
4193
4208
|
}), a("div", {
|
4194
4209
|
className: gt.teams,
|
4195
4210
|
style: r == null ? void 0 : r.teamName,
|
4196
|
-
children: [a(Dt, T(
|
4211
|
+
children: [a(Dt, T(k({}, g(r, "match.teams[0]")), {
|
4197
4212
|
fallback: "Team A"
|
4198
4213
|
})), a("span", {
|
4199
4214
|
children: "—"
|
4200
|
-
}), a(Dt, T(
|
4215
|
+
}), a(Dt, T(k({}, g(r, "match.teams[1]")), {
|
4201
4216
|
fallback: "Team B"
|
4202
4217
|
}))]
|
4203
4218
|
}), a("div", {
|
4204
4219
|
className: gt.oddWrapper,
|
4205
4220
|
style: {
|
4206
|
-
borderColor:
|
4221
|
+
borderColor: u
|
4207
4222
|
},
|
4208
4223
|
children: [a("div", {
|
4209
4224
|
className: gt.oddLabel,
|
@@ -4211,81 +4226,88 @@ const If = (t) => {
|
|
4211
4226
|
fontSize: c,
|
4212
4227
|
lineHeight: `${c}px`
|
4213
4228
|
},
|
4214
|
-
children:
|
4229
|
+
children: _
|
4215
4230
|
}), a("div", {
|
4216
4231
|
className: gt.oddValue,
|
4217
4232
|
style: r == null ? void 0 : r.coef,
|
4218
4233
|
children: a(It, {
|
4219
|
-
odd: Number(
|
4234
|
+
odd: Number(g(r, "match.prediction.factor", 0)).toFixed(2),
|
4220
4235
|
formatter: t
|
4221
4236
|
})
|
4222
4237
|
})]
|
4223
|
-
}), a(
|
4238
|
+
}), a(W, {
|
4224
4239
|
className: gt.text,
|
4225
4240
|
style: r == null ? void 0 : r.text,
|
4226
|
-
typography: (
|
4227
|
-
accentTypography: (
|
4228
|
-
children:
|
4241
|
+
typography: (O = r == null ? void 0 : r.text) == null ? void 0 : O.typography,
|
4242
|
+
accentTypography: (D = r == null ? void 0 : r.text) == null ? void 0 : D.accentTypography,
|
4243
|
+
children: f
|
4229
4244
|
})]
|
4230
4245
|
});
|
4231
4246
|
}, Th = {
|
4232
4247
|
matches: "one_x_two",
|
4233
4248
|
matchesOneTwo: "one_two"
|
4234
4249
|
}, rn = (t) => [Th[t]], Lh = (t, o, e) => {
|
4235
|
-
const n = (
|
4236
|
-
var
|
4237
|
-
return E(
|
4238
|
-
}, r = (t == null ? void 0 : t.children) || [], s = r.filter((
|
4239
|
-
markets: rn(
|
4240
|
-
})), i = s.find((
|
4241
|
-
data:
|
4242
|
-
execute:
|
4250
|
+
const n = (m) => {
|
4251
|
+
var f;
|
4252
|
+
return E(m == null ? void 0 : m.matchSlug) && ((f = m == null ? void 0 : m.matchSlug) == null ? void 0 : f.length) > 0 || (m == null ? void 0 : m.isAuto);
|
4253
|
+
}, r = (t == null ? void 0 : t.children) || [], s = r.filter((m) => n(m.root.targetMatch)).map((m) => T(k({}, m.root.targetMatch), {
|
4254
|
+
markets: rn(m.name)
|
4255
|
+
})), i = s.find((m) => m.isAuto), l = Le(s), {
|
4256
|
+
data: _,
|
4257
|
+
execute: d,
|
4258
|
+
fetching: c
|
4243
4259
|
} = le(`${o}/match-list`, {
|
4244
4260
|
method: "POST",
|
4245
4261
|
body: {
|
4246
|
-
matches: s.map((
|
4247
|
-
slug:
|
4248
|
-
sport_slug:
|
4249
|
-
lang:
|
4250
|
-
bookmaker_slug:
|
4251
|
-
offset:
|
4252
|
-
markets:
|
4262
|
+
matches: s.map((m) => ({
|
4263
|
+
slug: m.matchSlug,
|
4264
|
+
sport_slug: m.sportSlug,
|
4265
|
+
lang: m.langSlug,
|
4266
|
+
bookmaker_slug: m.bookmaker,
|
4267
|
+
offset: m.offset,
|
4268
|
+
markets: m.markets
|
4253
4269
|
}))
|
4254
4270
|
},
|
4255
4271
|
pause: !o || s.length === 0 || i
|
4256
|
-
}),
|
4272
|
+
}), {
|
4273
|
+
match: u,
|
4274
|
+
fetching: p
|
4275
|
+
} = Ze({
|
4257
4276
|
dependsOn: "markets",
|
4258
4277
|
apiHost: o,
|
4259
4278
|
pause: !i || !e,
|
4260
|
-
match: T(
|
4279
|
+
match: T(k({}, e), {
|
4261
4280
|
markets: i == null ? void 0 : i.markets,
|
4262
4281
|
bookmaker: i == null ? void 0 : i.bookmaker
|
4263
4282
|
})
|
4264
4283
|
});
|
4265
|
-
return
|
4266
|
-
Te(l, s) ||
|
4267
|
-
}, [s]),
|
4268
|
-
|
4269
|
-
|
4270
|
-
|
4271
|
-
|
4272
|
-
|
4273
|
-
|
4274
|
-
|
4275
|
-
|
4284
|
+
return Q(() => {
|
4285
|
+
Te(l, s) || d();
|
4286
|
+
}, [s]), {
|
4287
|
+
resultChildren: r.map((m) => {
|
4288
|
+
var f, N;
|
4289
|
+
if ("targetMatch" in m.root) {
|
4290
|
+
const A = rn(m.name), O = (_ || []).find((w) => w.slug === m.root.targetMatch.matchSlug);
|
4291
|
+
if (((N = (f = m == null ? void 0 : m.root) == null ? void 0 : f.targetMatch) == null ? void 0 : N.isAuto) && u)
|
4292
|
+
return T(k({}, m), {
|
4293
|
+
match: ne(u, {
|
4294
|
+
markets: A
|
4295
|
+
})
|
4296
|
+
});
|
4297
|
+
if (!O)
|
4298
|
+
return;
|
4299
|
+
const j = ne(O, {
|
4300
|
+
markets: A
|
4301
|
+
}), C = Ue(j, m.root.customMatch, (w, [G, z]) => E(z));
|
4302
|
+
return T(k({}, m), {
|
4303
|
+
match: C
|
4276
4304
|
});
|
4277
|
-
|
4278
|
-
|
4279
|
-
|
4280
|
-
|
4281
|
-
|
4282
|
-
|
4283
|
-
match: I
|
4284
|
-
});
|
4285
|
-
}
|
4286
|
-
return _;
|
4287
|
-
}).filter(Boolean);
|
4288
|
-
}, Ye = T(v({}, se), {
|
4305
|
+
}
|
4306
|
+
return m;
|
4307
|
+
}).filter(Boolean),
|
4308
|
+
fetching: c || p
|
4309
|
+
};
|
4310
|
+
}, Ye = T(k({}, se), {
|
4289
4311
|
w375: 375,
|
4290
4312
|
w400: 400,
|
4291
4313
|
w480: 480,
|
@@ -4296,93 +4318,101 @@ const If = (t) => {
|
|
4296
4318
|
oddFormatter: e,
|
4297
4319
|
baseMatch: n,
|
4298
4320
|
onMount: r,
|
4299
|
-
|
4300
|
-
|
4321
|
+
onReady: s,
|
4322
|
+
onClose: i,
|
4323
|
+
onClick: l
|
4301
4324
|
}) => {
|
4302
|
-
var
|
4303
|
-
const
|
4304
|
-
targetRef:
|
4325
|
+
var D, j, C, w, G, z, v, b, y, M, $, S, L;
|
4326
|
+
const _ = et(null), d = U(), c = Ot({
|
4327
|
+
targetRef: _,
|
4305
4328
|
id: t,
|
4306
4329
|
breakpoints: Ye
|
4307
|
-
}),
|
4308
|
-
|
4309
|
-
|
4310
|
-
|
4311
|
-
|
4312
|
-
|
4313
|
-
|
4330
|
+
}), u = Lt(d, c, Ye), {
|
4331
|
+
resultChildren: p,
|
4332
|
+
fetching: h
|
4333
|
+
} = Lh(u, o, n), m = (D = u == null ? void 0 : u.children) == null ? void 0 : D.some(({
|
4334
|
+
name: x
|
4335
|
+
}) => x === "match");
|
4336
|
+
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));
|
4337
|
+
const f = Y(u), N = !!((w = f == null ? void 0 : f.legal) != null && w.children) && !((G = f == null ? void 0 : f.legal) != null && G.hidden);
|
4338
|
+
wt(u);
|
4339
|
+
const A = T(k({}, f.container), {
|
4340
|
+
alignItems: jt((z = f.container) == null ? void 0 : z.align)
|
4341
|
+
}), O = (x) => ({
|
4314
4342
|
match: a(Nh, {
|
4315
4343
|
oddFormatter: e,
|
4316
|
-
device:
|
4317
|
-
rootState:
|
4344
|
+
device: c,
|
4345
|
+
rootState: u
|
4318
4346
|
})
|
4319
|
-
})[
|
4320
|
-
return
|
4347
|
+
})[x];
|
4348
|
+
return Q(() => {
|
4321
4349
|
r && r(d);
|
4322
|
-
}, []),
|
4323
|
-
|
4324
|
-
|
4350
|
+
}, []), Q(() => {
|
4351
|
+
m && !h && p.length && s();
|
4352
|
+
}, [p, h, m]), a("div", {
|
4353
|
+
className: R(_t.root, _t[c], {
|
4354
|
+
[_t.withoutLegal]: !N
|
4325
4355
|
}),
|
4326
4356
|
children: [a("div", {
|
4327
4357
|
className: _t.close,
|
4328
|
-
style: T(
|
4329
|
-
borderTopRightRadius: (
|
4358
|
+
style: T(k({}, f == null ? void 0 : f.close), {
|
4359
|
+
borderTopRightRadius: (v = f == null ? void 0 : f.container) == null ? void 0 : v.corner
|
4330
4360
|
}),
|
4331
|
-
onClick: () =>
|
4361
|
+
onClick: () => i(),
|
4332
4362
|
children: a(Rt, {
|
4333
4363
|
width: 9,
|
4334
4364
|
height: 9
|
4335
4365
|
})
|
4336
4366
|
}), a("a", {
|
4337
|
-
href: (
|
4367
|
+
href: (b = f == null ? void 0 : f.root) == null ? void 0 : b.offer,
|
4338
4368
|
target: "_blank",
|
4339
4369
|
rel: "nofollow noopener noreferrer",
|
4340
|
-
onClick: () =>
|
4370
|
+
onClick: () => l(d),
|
4341
4371
|
className: _t.link,
|
4342
|
-
ref:
|
4372
|
+
ref: _,
|
4343
4373
|
children: [a("div", {
|
4344
4374
|
className: _t.badge,
|
4345
|
-
style:
|
4375
|
+
style: f == null ? void 0 : f.badge,
|
4346
4376
|
children: a("div", {
|
4347
4377
|
className: _t.badgeLogo,
|
4348
|
-
style:
|
4378
|
+
style: f == null ? void 0 : f.logo
|
4349
4379
|
})
|
4350
4380
|
}), a("div", {
|
4351
4381
|
className: _t.artifact,
|
4352
|
-
style:
|
4382
|
+
style: f == null ? void 0 : f.artifact
|
4353
4383
|
}), a("div", {
|
4354
4384
|
className: _t.container,
|
4355
|
-
style:
|
4385
|
+
style: A,
|
4356
4386
|
children: [a("div", {
|
4357
4387
|
className: _t.containerInner,
|
4358
|
-
children: (p || []).map((
|
4359
|
-
value: T(
|
4360
|
-
device:
|
4388
|
+
children: (p || []).map((x) => a(xt, {
|
4389
|
+
value: T(k({}, x), {
|
4390
|
+
device: c
|
4361
4391
|
}),
|
4362
|
-
children:
|
4392
|
+
children: O(x.name)
|
4363
4393
|
}))
|
4364
4394
|
}), a("div", {
|
4365
4395
|
className: _t.button,
|
4366
|
-
style:
|
4367
|
-
children: [((
|
4396
|
+
style: f == null ? void 0 : f.button,
|
4397
|
+
children: [((y = f == null ? void 0 : f.button) == null ? void 0 : y.withLogo) && a("div", {
|
4368
4398
|
className: _t.badgeLogo,
|
4369
|
-
style:
|
4399
|
+
style: f == null ? void 0 : f.logo
|
4370
4400
|
}), a("div", {
|
4371
4401
|
className: _t.buttonContent,
|
4372
|
-
children: a(
|
4373
|
-
typography: (
|
4374
|
-
children: (
|
4402
|
+
children: a(W, {
|
4403
|
+
typography: (M = f == null ? void 0 : f.button) == null ? void 0 : M.typography,
|
4404
|
+
children: ($ = f == null ? void 0 : f.button) == null ? void 0 : $.children
|
4375
4405
|
})
|
4376
4406
|
})]
|
4377
4407
|
})]
|
4378
|
-
}), ((
|
4408
|
+
}), ((S = f == null ? void 0 : f.legal) == null ? void 0 : S.children) && a(W, {
|
4379
4409
|
className: _t.legalText,
|
4380
|
-
typography:
|
4381
|
-
children: (
|
4410
|
+
typography: f == null ? void 0 : f.legal,
|
4411
|
+
children: (L = f == null ? void 0 : f.legal) == null ? void 0 : L.children
|
4382
4412
|
})]
|
4383
4413
|
})]
|
4384
4414
|
});
|
4385
|
-
},
|
4415
|
+
}, Zh = Tt(a(Ch, {})), Sh = "_root_1f3gv_1", xh = "_tablet_1f3gv_11", Oh = "_textContainer_1f3gv_15", Ah = "_button_1f3gv_25", ue = {
|
4386
4416
|
root: Sh,
|
4387
4417
|
tablet: xh,
|
4388
4418
|
textContainer: Oh,
|
@@ -4395,35 +4425,35 @@ const If = (t) => {
|
|
4395
4425
|
onMount: o,
|
4396
4426
|
onClick: e
|
4397
4427
|
}) => {
|
4398
|
-
var
|
4428
|
+
var _, d, c, u, p;
|
4399
4429
|
const n = et(null), r = U(), s = Ot({
|
4400
4430
|
targetRef: n,
|
4401
4431
|
id: t,
|
4402
4432
|
breakpoints: an
|
4403
4433
|
}), i = Lt(r, s, an), l = Y(i);
|
4404
|
-
return wt(i),
|
4434
|
+
return wt(i), Q(() => {
|
4405
4435
|
o && o(r);
|
4406
4436
|
}, []), a("div", {
|
4407
4437
|
ref: n,
|
4408
4438
|
className: R(ue.root, ue[s]),
|
4409
4439
|
style: l == null ? void 0 : l.root,
|
4410
4440
|
onClick: e,
|
4411
|
-
children: [a(
|
4441
|
+
children: [a(W, {
|
4412
4442
|
className: ue.textContainer,
|
4413
4443
|
style: l == null ? void 0 : l.text,
|
4414
|
-
typography: (
|
4415
|
-
accentTypography: (
|
4444
|
+
typography: (_ = l.text) == null ? void 0 : _.typography,
|
4445
|
+
accentTypography: (d = l.text) == null ? void 0 : d.accentTypography,
|
4416
4446
|
children: (c = l == null ? void 0 : l.text) == null ? void 0 : c.children
|
4417
4447
|
}), a("div", {
|
4418
4448
|
className: ue.button,
|
4419
4449
|
style: l == null ? void 0 : l.button,
|
4420
|
-
children: a(
|
4421
|
-
typography: (
|
4422
|
-
children: (
|
4450
|
+
children: a(W, {
|
4451
|
+
typography: (u = l == null ? void 0 : l.button) == null ? void 0 : u.typography,
|
4452
|
+
children: (p = l == null ? void 0 : l.button) == null ? void 0 : p.children
|
4423
4453
|
})
|
4424
4454
|
})]
|
4425
4455
|
});
|
4426
|
-
},
|
4456
|
+
}, Jh = Tt(a(jh, {}));
|
4427
4457
|
export {
|
4428
4458
|
Fh as BonusCard,
|
4429
4459
|
Kh as BonusVoting,
|
@@ -4431,15 +4461,15 @@ export {
|
|
4431
4461
|
Vh as ComplexPopup,
|
4432
4462
|
zh as ContentCards,
|
4433
4463
|
Gh as ExpressPopup,
|
4434
|
-
|
4435
|
-
|
4464
|
+
Jh as RatingBanner,
|
4465
|
+
Zh as SheetCard,
|
4436
4466
|
Bh as SimpleGift,
|
4437
4467
|
Eh as SimplePopup,
|
4438
|
-
|
4439
|
-
|
4468
|
+
Wh as WideCard,
|
4469
|
+
Je as backgroundToColor,
|
4440
4470
|
Yh as filterDeep,
|
4441
4471
|
Hh as findDeep,
|
4442
4472
|
Rh as isValidTemplate,
|
4443
4473
|
Yt as iterator,
|
4444
|
-
|
4474
|
+
Uh as modifyState
|
4445
4475
|
};
|