livevegas-ui-kit 1.0.123 → 1.0.125
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import Pe, { createContext as Ti, useContext as ta, useCallback as zi, useState as
|
|
1
|
+
import Pe, { createContext as Ti, useContext as ta, useCallback as zi, useState as E, useRef as dt, useEffect as he, useDebugValue as s1, createElement as Bi } from "react";
|
|
2
2
|
var xn = { exports: {} }, at = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
@@ -15,11 +15,11 @@ function Oi() {
|
|
|
15
15
|
o1 = 1;
|
|
16
16
|
var e = Pe, t = Symbol.for("react.element"), a = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, r = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
17
17
|
function o(l, c, d) {
|
|
18
|
-
var u, p = {}, x = null,
|
|
19
|
-
d !== void 0 && (x = "" + d), c.key !== void 0 && (x = "" + c.key), c.ref !== void 0 && (
|
|
18
|
+
var u, p = {}, x = null, g = null;
|
|
19
|
+
d !== void 0 && (x = "" + d), c.key !== void 0 && (x = "" + c.key), c.ref !== void 0 && (g = c.ref);
|
|
20
20
|
for (u in c) i.call(c, u) && !s.hasOwnProperty(u) && (p[u] = c[u]);
|
|
21
21
|
if (l && l.defaultProps) for (u in c = l.defaultProps, c) p[u] === void 0 && (p[u] = c[u]);
|
|
22
|
-
return { $$typeof: t, type: l, key: x, ref:
|
|
22
|
+
return { $$typeof: t, type: l, key: x, ref: g, props: p, _owner: r.current };
|
|
23
23
|
}
|
|
24
24
|
return at.Fragment = a, at.jsx = o, at.jsxs = o, at;
|
|
25
25
|
}
|
|
@@ -36,11 +36,11 @@ var it = {};
|
|
|
36
36
|
var l1;
|
|
37
37
|
function Mi() {
|
|
38
38
|
return l1 || (l1 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
39
|
-
var e = Pe, t = Symbol.for("react.element"), a = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), x = Symbol.for("react.lazy"),
|
|
39
|
+
var e = Pe, t = Symbol.for("react.element"), a = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), o = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), x = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), m = Symbol.iterator, y = "@@iterator";
|
|
40
40
|
function v(h) {
|
|
41
41
|
if (h === null || typeof h != "object")
|
|
42
42
|
return null;
|
|
43
|
-
var b =
|
|
43
|
+
var b = m && h[m] || h[y];
|
|
44
44
|
return typeof b == "function" ? b : null;
|
|
45
45
|
}
|
|
46
46
|
var A = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -48,10 +48,10 @@ function Mi() {
|
|
|
48
48
|
{
|
|
49
49
|
for (var b = arguments.length, C = new Array(b > 1 ? b - 1 : 0), I = 1; I < b; I++)
|
|
50
50
|
C[I - 1] = arguments[I];
|
|
51
|
-
|
|
51
|
+
S("error", h, C);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function S(h, b, C) {
|
|
55
55
|
{
|
|
56
56
|
var I = A.ReactDebugCurrentFrame, P = I.getStackAddendum();
|
|
57
57
|
P !== "" && (b += "%s", C = C.concat([P]));
|
|
@@ -61,23 +61,23 @@ function Mi() {
|
|
|
61
61
|
K.unshift("Warning: " + b), Function.prototype.apply.call(console[h], console, K);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
var j = !1, T = !1,
|
|
64
|
+
var j = !1, T = !1, L = !1, k = !1, M = !1, z;
|
|
65
65
|
z = Symbol.for("react.module.reference");
|
|
66
|
-
function
|
|
67
|
-
return !!(typeof h == "string" || typeof h == "function" || h === i || h === s ||
|
|
66
|
+
function H(h) {
|
|
67
|
+
return !!(typeof h == "string" || typeof h == "function" || h === i || h === s || M || h === r || h === d || h === u || k || h === g || j || T || L || typeof h == "object" && h !== null && (h.$$typeof === x || h.$$typeof === p || h.$$typeof === o || h.$$typeof === l || h.$$typeof === c || // This needs to include all possible module reference object
|
|
68
68
|
// types supported by any Flight configuration anywhere since
|
|
69
69
|
// we don't know which Flight build this will end up being used
|
|
70
70
|
// with.
|
|
71
71
|
h.$$typeof === z || h.getModuleId !== void 0));
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function $(h, b, C) {
|
|
74
74
|
var I = h.displayName;
|
|
75
75
|
if (I)
|
|
76
76
|
return I;
|
|
77
77
|
var P = b.displayName || b.name || "";
|
|
78
78
|
return P !== "" ? C + "(" + P + ")" : C;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function fe(h) {
|
|
81
81
|
return h.displayName || "Context";
|
|
82
82
|
}
|
|
83
83
|
function V(h) {
|
|
@@ -105,12 +105,12 @@ function Mi() {
|
|
|
105
105
|
switch (h.$$typeof) {
|
|
106
106
|
case l:
|
|
107
107
|
var b = h;
|
|
108
|
-
return
|
|
108
|
+
return fe(b) + ".Consumer";
|
|
109
109
|
case o:
|
|
110
110
|
var C = h;
|
|
111
|
-
return
|
|
111
|
+
return fe(C._context) + ".Provider";
|
|
112
112
|
case c:
|
|
113
|
-
return
|
|
113
|
+
return $(h, h.render, "ForwardRef");
|
|
114
114
|
case p:
|
|
115
115
|
var I = h.displayName || null;
|
|
116
116
|
return I !== null ? I : V(h.type) || "Memo";
|
|
@@ -125,18 +125,18 @@ function Mi() {
|
|
|
125
125
|
}
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
128
|
-
var
|
|
129
|
-
function
|
|
128
|
+
var Z = Object.assign, re = 0, _, D, te, Y, ue, q, Q;
|
|
129
|
+
function oe() {
|
|
130
130
|
}
|
|
131
|
-
|
|
132
|
-
function
|
|
131
|
+
oe.__reactDisabledLog = !0;
|
|
132
|
+
function pe() {
|
|
133
133
|
{
|
|
134
|
-
if (
|
|
135
|
-
|
|
134
|
+
if (re === 0) {
|
|
135
|
+
_ = console.log, D = console.info, te = console.warn, Y = console.error, ue = console.group, q = console.groupCollapsed, Q = console.groupEnd;
|
|
136
136
|
var h = {
|
|
137
137
|
configurable: !0,
|
|
138
138
|
enumerable: !0,
|
|
139
|
-
value:
|
|
139
|
+
value: oe,
|
|
140
140
|
writable: !0
|
|
141
141
|
};
|
|
142
142
|
Object.defineProperties(console, {
|
|
@@ -149,65 +149,65 @@ function Mi() {
|
|
|
149
149
|
groupEnd: h
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
|
-
|
|
152
|
+
re++;
|
|
153
153
|
}
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function xe() {
|
|
156
156
|
{
|
|
157
|
-
if (
|
|
157
|
+
if (re--, re === 0) {
|
|
158
158
|
var h = {
|
|
159
159
|
configurable: !0,
|
|
160
160
|
enumerable: !0,
|
|
161
161
|
writable: !0
|
|
162
162
|
};
|
|
163
163
|
Object.defineProperties(console, {
|
|
164
|
-
log:
|
|
165
|
-
value:
|
|
164
|
+
log: Z({}, h, {
|
|
165
|
+
value: _
|
|
166
166
|
}),
|
|
167
|
-
info:
|
|
168
|
-
value:
|
|
167
|
+
info: Z({}, h, {
|
|
168
|
+
value: D
|
|
169
169
|
}),
|
|
170
|
-
warn:
|
|
171
|
-
value:
|
|
170
|
+
warn: Z({}, h, {
|
|
171
|
+
value: te
|
|
172
172
|
}),
|
|
173
|
-
error:
|
|
174
|
-
value:
|
|
173
|
+
error: Z({}, h, {
|
|
174
|
+
value: Y
|
|
175
175
|
}),
|
|
176
|
-
group:
|
|
177
|
-
value:
|
|
176
|
+
group: Z({}, h, {
|
|
177
|
+
value: ue
|
|
178
178
|
}),
|
|
179
|
-
groupCollapsed:
|
|
180
|
-
value:
|
|
179
|
+
groupCollapsed: Z({}, h, {
|
|
180
|
+
value: q
|
|
181
181
|
}),
|
|
182
|
-
groupEnd:
|
|
183
|
-
value:
|
|
182
|
+
groupEnd: Z({}, h, {
|
|
183
|
+
value: Q
|
|
184
184
|
})
|
|
185
185
|
});
|
|
186
186
|
}
|
|
187
|
-
|
|
187
|
+
re < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
|
-
var
|
|
191
|
-
function
|
|
190
|
+
var ye = A.ReactCurrentDispatcher, R;
|
|
191
|
+
function be(h, b, C) {
|
|
192
192
|
{
|
|
193
|
-
if (
|
|
193
|
+
if (R === void 0)
|
|
194
194
|
try {
|
|
195
195
|
throw Error();
|
|
196
196
|
} catch (P) {
|
|
197
197
|
var I = P.stack.trim().match(/\n( *(at )?)/);
|
|
198
|
-
|
|
198
|
+
R = I && I[1] || "";
|
|
199
199
|
}
|
|
200
200
|
return `
|
|
201
|
-
` +
|
|
201
|
+
` + R + h;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
var
|
|
204
|
+
var Ce = !1, Ne;
|
|
205
205
|
{
|
|
206
206
|
var Ee = typeof WeakMap == "function" ? WeakMap : Map;
|
|
207
207
|
Ne = new Ee();
|
|
208
208
|
}
|
|
209
|
-
function
|
|
210
|
-
if (!h ||
|
|
209
|
+
function we(h, b) {
|
|
210
|
+
if (!h || Ce)
|
|
211
211
|
return "";
|
|
212
212
|
{
|
|
213
213
|
var C = Ne.get(h);
|
|
@@ -215,11 +215,11 @@ function Mi() {
|
|
|
215
215
|
return C;
|
|
216
216
|
}
|
|
217
217
|
var I;
|
|
218
|
-
|
|
218
|
+
Ce = !0;
|
|
219
219
|
var P = Error.prepareStackTrace;
|
|
220
220
|
Error.prepareStackTrace = void 0;
|
|
221
221
|
var K;
|
|
222
|
-
K =
|
|
222
|
+
K = ye.current, ye.current = null, pe();
|
|
223
223
|
try {
|
|
224
224
|
if (b) {
|
|
225
225
|
var W = function() {
|
|
@@ -232,53 +232,53 @@ function Mi() {
|
|
|
232
232
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
233
233
|
try {
|
|
234
234
|
Reflect.construct(W, []);
|
|
235
|
-
} catch (
|
|
236
|
-
I =
|
|
235
|
+
} catch (ce) {
|
|
236
|
+
I = ce;
|
|
237
237
|
}
|
|
238
238
|
Reflect.construct(h, [], W);
|
|
239
239
|
} else {
|
|
240
240
|
try {
|
|
241
241
|
W.call();
|
|
242
|
-
} catch (
|
|
243
|
-
I =
|
|
242
|
+
} catch (ce) {
|
|
243
|
+
I = ce;
|
|
244
244
|
}
|
|
245
245
|
h.call(W.prototype);
|
|
246
246
|
}
|
|
247
247
|
} else {
|
|
248
248
|
try {
|
|
249
249
|
throw Error();
|
|
250
|
-
} catch (
|
|
251
|
-
I =
|
|
250
|
+
} catch (ce) {
|
|
251
|
+
I = ce;
|
|
252
252
|
}
|
|
253
253
|
h();
|
|
254
254
|
}
|
|
255
|
-
} catch (
|
|
256
|
-
if (
|
|
257
|
-
for (var F =
|
|
255
|
+
} catch (ce) {
|
|
256
|
+
if (ce && I && typeof ce.stack == "string") {
|
|
257
|
+
for (var F = ce.stack.split(`
|
|
258
258
|
`), le = I.stack.split(`
|
|
259
|
-
`), ee = F.length - 1,
|
|
260
|
-
|
|
261
|
-
for (; ee >= 1 &&
|
|
262
|
-
if (F[ee] !== le[
|
|
263
|
-
if (ee !== 1 ||
|
|
259
|
+
`), ee = F.length - 1, ne = le.length - 1; ee >= 1 && ne >= 0 && F[ee] !== le[ne]; )
|
|
260
|
+
ne--;
|
|
261
|
+
for (; ee >= 1 && ne >= 0; ee--, ne--)
|
|
262
|
+
if (F[ee] !== le[ne]) {
|
|
263
|
+
if (ee !== 1 || ne !== 1)
|
|
264
264
|
do
|
|
265
|
-
if (ee--,
|
|
266
|
-
var
|
|
265
|
+
if (ee--, ne--, ne < 0 || F[ee] !== le[ne]) {
|
|
266
|
+
var ge = `
|
|
267
267
|
` + F[ee].replace(" at new ", " at ");
|
|
268
|
-
return h.displayName &&
|
|
268
|
+
return h.displayName && ge.includes("<anonymous>") && (ge = ge.replace("<anonymous>", h.displayName)), typeof h == "function" && Ne.set(h, ge), ge;
|
|
269
269
|
}
|
|
270
|
-
while (ee >= 1 &&
|
|
270
|
+
while (ee >= 1 && ne >= 0);
|
|
271
271
|
break;
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
} finally {
|
|
275
|
-
|
|
275
|
+
Ce = !1, ye.current = K, xe(), Error.prepareStackTrace = P;
|
|
276
276
|
}
|
|
277
|
-
var Ye = h ? h.displayName || h.name : "", Be = Ye ?
|
|
277
|
+
var Ye = h ? h.displayName || h.name : "", Be = Ye ? be(Ye) : "";
|
|
278
278
|
return typeof h == "function" && Ne.set(h, Be), Be;
|
|
279
279
|
}
|
|
280
280
|
function si(h, b, C) {
|
|
281
|
-
return
|
|
281
|
+
return we(h, !1);
|
|
282
282
|
}
|
|
283
283
|
function oi(h) {
|
|
284
284
|
var b = h.prototype;
|
|
@@ -288,14 +288,14 @@ function Mi() {
|
|
|
288
288
|
if (h == null)
|
|
289
289
|
return "";
|
|
290
290
|
if (typeof h == "function")
|
|
291
|
-
return
|
|
291
|
+
return we(h, oi(h));
|
|
292
292
|
if (typeof h == "string")
|
|
293
|
-
return
|
|
293
|
+
return be(h);
|
|
294
294
|
switch (h) {
|
|
295
295
|
case d:
|
|
296
|
-
return
|
|
296
|
+
return be("Suspense");
|
|
297
297
|
case u:
|
|
298
|
-
return
|
|
298
|
+
return be("SuspenseList");
|
|
299
299
|
}
|
|
300
300
|
if (typeof h == "object")
|
|
301
301
|
switch (h.$$typeof) {
|
|
@@ -452,8 +452,8 @@ function Mi() {
|
|
|
452
452
|
W[K] === void 0 && (W[K] = ee[K]);
|
|
453
453
|
}
|
|
454
454
|
if (F || le) {
|
|
455
|
-
var
|
|
456
|
-
F && mi(W,
|
|
455
|
+
var ne = typeof h == "function" ? h.displayName || h.name || "Unknown" : h;
|
|
456
|
+
F && mi(W, ne), le && xi(W, ne);
|
|
457
457
|
}
|
|
458
458
|
return yi(h, F, le, P, I, Qn.current, W);
|
|
459
459
|
}
|
|
@@ -571,7 +571,7 @@ Check the top-level render call using <` + C + ">.");
|
|
|
571
571
|
var i1 = {};
|
|
572
572
|
function r1(h, b, C, I, P, K) {
|
|
573
573
|
{
|
|
574
|
-
var W =
|
|
574
|
+
var W = H(h);
|
|
575
575
|
if (!W) {
|
|
576
576
|
var F = "";
|
|
577
577
|
(h === void 0 || typeof h == "object" && h !== null && Object.keys(h).length === 0) && (F += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
@@ -580,28 +580,28 @@ Check the top-level render call using <` + C + ">.");
|
|
|
580
580
|
var ee;
|
|
581
581
|
h === null ? ee = "null" : sn(h) ? ee = "array" : h !== void 0 && h.$$typeof === t ? (ee = "<" + (V(h.type) || "Unknown") + " />", F = " Did you accidentally export a JSX literal instead of a component?") : ee = typeof h, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ee, F);
|
|
582
582
|
}
|
|
583
|
-
var
|
|
584
|
-
if (
|
|
585
|
-
return
|
|
583
|
+
var ne = bi(h, b, C, P, K);
|
|
584
|
+
if (ne == null)
|
|
585
|
+
return ne;
|
|
586
586
|
if (W) {
|
|
587
|
-
var
|
|
588
|
-
if (
|
|
587
|
+
var ge = b.children;
|
|
588
|
+
if (ge !== void 0)
|
|
589
589
|
if (I)
|
|
590
|
-
if (sn(
|
|
591
|
-
for (var Ye = 0; Ye <
|
|
592
|
-
a1(
|
|
593
|
-
Object.freeze && Object.freeze(
|
|
590
|
+
if (sn(ge)) {
|
|
591
|
+
for (var Ye = 0; Ye < ge.length; Ye++)
|
|
592
|
+
a1(ge[Ye], h);
|
|
593
|
+
Object.freeze && Object.freeze(ge);
|
|
594
594
|
} else
|
|
595
595
|
w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
596
596
|
else
|
|
597
|
-
a1(
|
|
597
|
+
a1(ge, h);
|
|
598
598
|
}
|
|
599
599
|
if (nt.call(b, "key")) {
|
|
600
|
-
var Be = V(h),
|
|
600
|
+
var Be = V(h), ce = Object.keys(b).filter(function(Ni) {
|
|
601
601
|
return Ni !== "key";
|
|
602
|
-
}), dn =
|
|
602
|
+
}), dn = ce.length > 0 ? "{key: someKey, " + ce.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
603
603
|
if (!i1[Be + dn]) {
|
|
604
|
-
var Ii =
|
|
604
|
+
var Ii = ce.length > 0 ? "{" + ce.join(": ..., ") + ": ...}" : "{}";
|
|
605
605
|
w(`A props object containing a "key" prop is being spread into JSX:
|
|
606
606
|
let props = %s;
|
|
607
607
|
<%s {...props} />
|
|
@@ -610,7 +610,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
610
610
|
<%s key={someKey} {...props} />`, dn, Be, Ii, Be), i1[Be + dn] = !0;
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
return h === i ? Ai(
|
|
613
|
+
return h === i ? Ai(ne) : vi(ne), ne;
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
616
|
function ki(h, b, C) {
|
|
@@ -723,11 +723,11 @@ class Xi {
|
|
|
723
723
|
}
|
|
724
724
|
const qi = (e, t) => {
|
|
725
725
|
const a = dt();
|
|
726
|
-
return
|
|
726
|
+
return he(() => {
|
|
727
727
|
a.current = e;
|
|
728
728
|
}, [e, t]), a.current;
|
|
729
|
-
}, ia = (e, t, a, i) => e.getFixedT(t, a, i), Qi = (e, t, a, i) => zi(ia(e, t, a, i), [e, t, a, i]),
|
|
730
|
-
var j, T,
|
|
729
|
+
}, ia = (e, t, a, i) => e.getFixedT(t, a, i), Qi = (e, t, a, i) => zi(ia(e, t, a, i), [e, t, a, i]), U = (e, t = {}) => {
|
|
730
|
+
var j, T, L, k;
|
|
731
731
|
const {
|
|
732
732
|
i18n: a
|
|
733
733
|
} = t, {
|
|
@@ -736,8 +736,8 @@ const qi = (e, t) => {
|
|
|
736
736
|
} = ta(Zi) || {}, s = a || i || Yi();
|
|
737
737
|
if (s && !s.reportNamespaces && (s.reportNamespaces = new Xi()), !s) {
|
|
738
738
|
yn(s, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next");
|
|
739
|
-
const
|
|
740
|
-
return z.t =
|
|
739
|
+
const M = (H, $) => He($) ? $ : Ri($) && He($.defaultValue) ? $.defaultValue : Array.isArray(H) ? H[H.length - 1] : H, z = [M, {}, !1];
|
|
740
|
+
return z.t = M, z.i18n = {}, z.ready = !1, z;
|
|
741
741
|
}
|
|
742
742
|
(j = s.options.react) != null && j.wait && yn(s, "DEPRECATED_OPTION", "useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
|
|
743
743
|
const o = {
|
|
@@ -749,44 +749,44 @@ const qi = (e, t) => {
|
|
|
749
749
|
keyPrefix: c
|
|
750
750
|
} = o;
|
|
751
751
|
let d = r || ((T = s.options) == null ? void 0 : T.defaultNS);
|
|
752
|
-
d = He(d) ? [d] : d || ["translation"], (k = (
|
|
753
|
-
const u = (s.isInitialized || s.initializedStoreOnce) && d.every((
|
|
752
|
+
d = He(d) ? [d] : d || ["translation"], (k = (L = s.reportNamespaces).addUsedNamespaces) == null || k.call(L, d);
|
|
753
|
+
const u = (s.isInitialized || s.initializedStoreOnce) && d.every((M) => Hi(M, s, o)), p = Qi(s, t.lng || null, o.nsMode === "fallback" ? d : d[0], c), x = () => p, g = () => ia(s, t.lng || null, o.nsMode === "fallback" ? d : d[0], c), [m, y] = E(x);
|
|
754
754
|
let v = d.join();
|
|
755
755
|
t.lng && (v = `${t.lng}${v}`);
|
|
756
756
|
const A = qi(v), w = dt(!0);
|
|
757
|
-
|
|
757
|
+
he(() => {
|
|
758
758
|
const {
|
|
759
|
-
bindI18n:
|
|
759
|
+
bindI18n: M,
|
|
760
760
|
bindI18nStore: z
|
|
761
761
|
} = o;
|
|
762
762
|
w.current = !0, !u && !l && (t.lng ? d1(s, t.lng, d, () => {
|
|
763
|
-
w.current && y(
|
|
763
|
+
w.current && y(g);
|
|
764
764
|
}) : bn(s, d, () => {
|
|
765
|
-
w.current && y(
|
|
766
|
-
})), u && A && A !== v && w.current && y(
|
|
767
|
-
const
|
|
768
|
-
w.current && y(
|
|
765
|
+
w.current && y(g);
|
|
766
|
+
})), u && A && A !== v && w.current && y(g);
|
|
767
|
+
const H = () => {
|
|
768
|
+
w.current && y(g);
|
|
769
769
|
};
|
|
770
|
-
return
|
|
771
|
-
w.current = !1, s &&
|
|
770
|
+
return M && (s == null || s.on(M, H)), z && (s == null || s.store.on(z, H)), () => {
|
|
771
|
+
w.current = !1, s && M && (M == null || M.split(" ").forEach(($) => s.off($, H))), z && s && z.split(" ").forEach(($) => s.store.off($, H));
|
|
772
772
|
};
|
|
773
|
-
}, [s, v]),
|
|
773
|
+
}, [s, v]), he(() => {
|
|
774
774
|
w.current && u && y(x);
|
|
775
775
|
}, [s, c, u]);
|
|
776
|
-
const
|
|
777
|
-
if (
|
|
778
|
-
throw new Promise((
|
|
779
|
-
t.lng ? d1(s, t.lng, d, () =>
|
|
776
|
+
const S = [m, s, u];
|
|
777
|
+
if (S.t = m, S.i18n = s, S.ready = u, u || !u && !l) return S;
|
|
778
|
+
throw new Promise((M) => {
|
|
779
|
+
t.lng ? d1(s, t.lng, d, () => M()) : bn(s, d, () => M());
|
|
780
780
|
});
|
|
781
781
|
};
|
|
782
|
-
var
|
|
783
|
-
return
|
|
782
|
+
var de = function() {
|
|
783
|
+
return de = Object.assign || function(t) {
|
|
784
784
|
for (var a, i = 1, r = arguments.length; i < r; i++) {
|
|
785
785
|
a = arguments[i];
|
|
786
786
|
for (var s in a) Object.prototype.hasOwnProperty.call(a, s) && (t[s] = a[s]);
|
|
787
787
|
}
|
|
788
788
|
return t;
|
|
789
|
-
},
|
|
789
|
+
}, de.apply(this, arguments);
|
|
790
790
|
};
|
|
791
791
|
function Ge(e, t, a) {
|
|
792
792
|
if (a || arguments.length === 2) for (var i = 0, r = t.length, s; i < r; i++)
|
|
@@ -804,17 +804,17 @@ var $i = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|def
|
|
|
804
804
|
return $i.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
805
805
|
}
|
|
806
806
|
/* Z+1 */
|
|
807
|
-
),
|
|
807
|
+
), J = "-ms-", lt = "-moz-", G = "-webkit-", ra = "comm", Xt = "rule", Hn = "decl", er = "@import", sa = "@keyframes", tr = "@layer", oa = Math.abs, Rn = String.fromCharCode, wn = Object.assign;
|
|
808
808
|
function nr(e, t) {
|
|
809
809
|
return ie(e, 0) ^ 45 ? (((t << 2 ^ ie(e, 0)) << 2 ^ ie(e, 1)) << 2 ^ ie(e, 2)) << 2 ^ ie(e, 3) : 0;
|
|
810
810
|
}
|
|
811
811
|
function la(e) {
|
|
812
812
|
return e.trim();
|
|
813
813
|
}
|
|
814
|
-
function
|
|
814
|
+
function Ie(e, t) {
|
|
815
815
|
return (e = t.exec(e)) ? e[0] : e;
|
|
816
816
|
}
|
|
817
|
-
function
|
|
817
|
+
function O(e, t, a) {
|
|
818
818
|
return e.replace(t, a);
|
|
819
819
|
}
|
|
820
820
|
function zt(e, t, a) {
|
|
@@ -826,7 +826,7 @@ function ie(e, t) {
|
|
|
826
826
|
function qe(e, t, a) {
|
|
827
827
|
return e.slice(t, a);
|
|
828
828
|
}
|
|
829
|
-
function
|
|
829
|
+
function je(e) {
|
|
830
830
|
return e.length;
|
|
831
831
|
}
|
|
832
832
|
function ca(e) {
|
|
@@ -840,10 +840,10 @@ function ar(e, t) {
|
|
|
840
840
|
}
|
|
841
841
|
function h1(e, t) {
|
|
842
842
|
return e.filter(function(a) {
|
|
843
|
-
return !
|
|
843
|
+
return !Ie(a, t);
|
|
844
844
|
});
|
|
845
845
|
}
|
|
846
|
-
var qt = 1, Qe = 1, da = 0,
|
|
846
|
+
var qt = 1, Qe = 1, da = 0, me = 0, ae = 0, et = "";
|
|
847
847
|
function Qt(e, t, a, i, r, s, o, l) {
|
|
848
848
|
return { value: e, root: t, parent: a, type: i, props: r, children: s, line: qt, column: Qe, length: o, return: "", siblings: l };
|
|
849
849
|
}
|
|
@@ -856,19 +856,19 @@ function Ke(e) {
|
|
|
856
856
|
ot(e, e.siblings);
|
|
857
857
|
}
|
|
858
858
|
function ir() {
|
|
859
|
-
return
|
|
859
|
+
return ae;
|
|
860
860
|
}
|
|
861
861
|
function rr() {
|
|
862
|
-
return
|
|
862
|
+
return ae = me > 0 ? ie(et, --me) : 0, Qe--, ae === 10 && (Qe = 1, qt--), ae;
|
|
863
863
|
}
|
|
864
|
-
function
|
|
865
|
-
return
|
|
864
|
+
function Ae() {
|
|
865
|
+
return ae = me < da ? ie(et, me++) : 0, Qe++, ae === 10 && (Qe = 1, qt++), ae;
|
|
866
866
|
}
|
|
867
867
|
function Re() {
|
|
868
|
-
return ie(et,
|
|
868
|
+
return ie(et, me);
|
|
869
869
|
}
|
|
870
870
|
function Bt() {
|
|
871
|
-
return
|
|
871
|
+
return me;
|
|
872
872
|
}
|
|
873
873
|
function Jt(e, t) {
|
|
874
874
|
return qe(et, e, t);
|
|
@@ -906,62 +906,62 @@ function vn(e) {
|
|
|
906
906
|
return 0;
|
|
907
907
|
}
|
|
908
908
|
function sr(e) {
|
|
909
|
-
return qt = Qe = 1, da =
|
|
909
|
+
return qt = Qe = 1, da = je(et = e), me = 0, [];
|
|
910
910
|
}
|
|
911
911
|
function or(e) {
|
|
912
912
|
return et = "", e;
|
|
913
913
|
}
|
|
914
914
|
function hn(e) {
|
|
915
|
-
return la(Jt(
|
|
915
|
+
return la(Jt(me - 1, An(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
916
916
|
}
|
|
917
917
|
function lr(e) {
|
|
918
|
-
for (; (
|
|
919
|
-
|
|
920
|
-
return vn(e) > 2 || vn(
|
|
918
|
+
for (; (ae = Re()) && ae < 33; )
|
|
919
|
+
Ae();
|
|
920
|
+
return vn(e) > 2 || vn(ae) > 3 ? "" : " ";
|
|
921
921
|
}
|
|
922
922
|
function cr(e, t) {
|
|
923
|
-
for (; --t &&
|
|
923
|
+
for (; --t && Ae() && !(ae < 48 || ae > 102 || ae > 57 && ae < 65 || ae > 70 && ae < 97); )
|
|
924
924
|
;
|
|
925
|
-
return Jt(e, Bt() + (t < 6 && Re() == 32 &&
|
|
925
|
+
return Jt(e, Bt() + (t < 6 && Re() == 32 && Ae() == 32));
|
|
926
926
|
}
|
|
927
927
|
function An(e) {
|
|
928
|
-
for (;
|
|
929
|
-
switch (
|
|
928
|
+
for (; Ae(); )
|
|
929
|
+
switch (ae) {
|
|
930
930
|
case e:
|
|
931
|
-
return
|
|
931
|
+
return me;
|
|
932
932
|
case 34:
|
|
933
933
|
case 39:
|
|
934
|
-
e !== 34 && e !== 39 && An(
|
|
934
|
+
e !== 34 && e !== 39 && An(ae);
|
|
935
935
|
break;
|
|
936
936
|
case 40:
|
|
937
937
|
e === 41 && An(e);
|
|
938
938
|
break;
|
|
939
939
|
case 92:
|
|
940
|
-
|
|
940
|
+
Ae();
|
|
941
941
|
break;
|
|
942
942
|
}
|
|
943
|
-
return
|
|
943
|
+
return me;
|
|
944
944
|
}
|
|
945
945
|
function dr(e, t) {
|
|
946
|
-
for (;
|
|
947
|
-
if (e +
|
|
946
|
+
for (; Ae() && e + ae !== 57; )
|
|
947
|
+
if (e + ae === 84 && Re() === 47)
|
|
948
948
|
break;
|
|
949
|
-
return "/*" + Jt(t,
|
|
949
|
+
return "/*" + Jt(t, me - 1) + "*" + Rn(e === 47 ? e : Ae());
|
|
950
950
|
}
|
|
951
951
|
function hr(e) {
|
|
952
952
|
for (; !vn(Re()); )
|
|
953
|
-
|
|
954
|
-
return Jt(e,
|
|
953
|
+
Ae();
|
|
954
|
+
return Jt(e, me);
|
|
955
955
|
}
|
|
956
956
|
function ur(e) {
|
|
957
957
|
return or(Ot("", null, null, null, [""], e = sr(e), 0, [0], e));
|
|
958
958
|
}
|
|
959
959
|
function Ot(e, t, a, i, r, s, o, l, c) {
|
|
960
|
-
for (var d = 0, u = 0, p = o, x = 0,
|
|
961
|
-
switch (
|
|
960
|
+
for (var d = 0, u = 0, p = o, x = 0, g = 0, m = 0, y = 1, v = 1, A = 1, w = 0, S = "", j = r, T = s, L = i, k = S; v; )
|
|
961
|
+
switch (m = w, w = Ae()) {
|
|
962
962
|
case 40:
|
|
963
|
-
if (
|
|
964
|
-
zt(k +=
|
|
963
|
+
if (m != 108 && ie(k, p - 1) == 58) {
|
|
964
|
+
zt(k += O(hn(w), "&", "&\f"), "&\f", oa(d ? l[d - 1] : 0)) != -1 && (A = -1);
|
|
965
965
|
break;
|
|
966
966
|
}
|
|
967
967
|
case 34:
|
|
@@ -973,7 +973,7 @@ function Ot(e, t, a, i, r, s, o, l, c) {
|
|
|
973
973
|
case 10:
|
|
974
974
|
case 13:
|
|
975
975
|
case 32:
|
|
976
|
-
k += lr(
|
|
976
|
+
k += lr(m);
|
|
977
977
|
break;
|
|
978
978
|
case 92:
|
|
979
979
|
k += cr(Bt() - 1, 7);
|
|
@@ -982,14 +982,14 @@ function Ot(e, t, a, i, r, s, o, l, c) {
|
|
|
982
982
|
switch (Re()) {
|
|
983
983
|
case 42:
|
|
984
984
|
case 47:
|
|
985
|
-
ot(pr(dr(
|
|
985
|
+
ot(pr(dr(Ae(), Bt()), t, a, c), c);
|
|
986
986
|
break;
|
|
987
987
|
default:
|
|
988
988
|
k += "/";
|
|
989
989
|
}
|
|
990
990
|
break;
|
|
991
991
|
case 123 * y:
|
|
992
|
-
l[d++] =
|
|
992
|
+
l[d++] = je(k) * A;
|
|
993
993
|
case 125 * y:
|
|
994
994
|
case 59:
|
|
995
995
|
case 0:
|
|
@@ -998,30 +998,30 @@ function Ot(e, t, a, i, r, s, o, l, c) {
|
|
|
998
998
|
case 125:
|
|
999
999
|
v = 0;
|
|
1000
1000
|
case 59 + u:
|
|
1001
|
-
A == -1 && (k =
|
|
1001
|
+
A == -1 && (k = O(k, /\f/g, "")), g > 0 && je(k) - p && ot(g > 32 ? p1(k + ";", i, a, p - 1, c) : p1(O(k, " ", "") + ";", i, a, p - 2, c), c);
|
|
1002
1002
|
break;
|
|
1003
1003
|
case 59:
|
|
1004
1004
|
k += ";";
|
|
1005
1005
|
default:
|
|
1006
|
-
if (ot(
|
|
1006
|
+
if (ot(L = u1(k, t, a, d, u, r, l, S, j = [], T = [], p, s), s), w === 123)
|
|
1007
1007
|
if (u === 0)
|
|
1008
|
-
Ot(k, t,
|
|
1008
|
+
Ot(k, t, L, L, j, s, p, l, T);
|
|
1009
1009
|
else
|
|
1010
1010
|
switch (x === 99 && ie(k, 3) === 110 ? 100 : x) {
|
|
1011
1011
|
case 100:
|
|
1012
1012
|
case 108:
|
|
1013
1013
|
case 109:
|
|
1014
1014
|
case 115:
|
|
1015
|
-
Ot(e,
|
|
1015
|
+
Ot(e, L, L, i && ot(u1(e, L, L, 0, 0, r, l, S, r, j = [], p, T), T), r, T, p, l, i ? j : T);
|
|
1016
1016
|
break;
|
|
1017
1017
|
default:
|
|
1018
|
-
Ot(k,
|
|
1018
|
+
Ot(k, L, L, L, [""], T, 0, l, T);
|
|
1019
1019
|
}
|
|
1020
1020
|
}
|
|
1021
|
-
d = u =
|
|
1021
|
+
d = u = g = 0, y = A = 1, S = k = "", p = o;
|
|
1022
1022
|
break;
|
|
1023
1023
|
case 58:
|
|
1024
|
-
p = 1 +
|
|
1024
|
+
p = 1 + je(k), g = m;
|
|
1025
1025
|
default:
|
|
1026
1026
|
if (y < 1) {
|
|
1027
1027
|
if (w == 123)
|
|
@@ -1034,21 +1034,21 @@ function Ot(e, t, a, i, r, s, o, l, c) {
|
|
|
1034
1034
|
A = u > 0 ? 1 : (k += "\f", -1);
|
|
1035
1035
|
break;
|
|
1036
1036
|
case 44:
|
|
1037
|
-
l[d++] = (
|
|
1037
|
+
l[d++] = (je(k) - 1) * A, A = 1;
|
|
1038
1038
|
break;
|
|
1039
1039
|
case 64:
|
|
1040
|
-
Re() === 45 && (k += hn(
|
|
1040
|
+
Re() === 45 && (k += hn(Ae())), x = Re(), u = p = je(S = k += hr(Bt())), w++;
|
|
1041
1041
|
break;
|
|
1042
1042
|
case 45:
|
|
1043
|
-
|
|
1043
|
+
m === 45 && je(k) == 2 && (y = 0);
|
|
1044
1044
|
}
|
|
1045
1045
|
}
|
|
1046
1046
|
return s;
|
|
1047
1047
|
}
|
|
1048
1048
|
function u1(e, t, a, i, r, s, o, l, c, d, u, p) {
|
|
1049
|
-
for (var x = r - 1,
|
|
1050
|
-
for (var w = 0,
|
|
1051
|
-
(j = la(v > 0 ?
|
|
1049
|
+
for (var x = r - 1, g = r === 0 ? s : [""], m = ca(g), y = 0, v = 0, A = 0; y < i; ++y)
|
|
1050
|
+
for (var w = 0, S = qe(e, x + 1, x = oa(v = o[y])), j = e; w < m; ++w)
|
|
1051
|
+
(j = la(v > 0 ? g[w] + " " + S : O(S, /&\f/g, g[w]))) && (c[A++] = j);
|
|
1052
1052
|
return Qt(e, t, a, r === 0 ? Xt : l, c, d, u, p);
|
|
1053
1053
|
}
|
|
1054
1054
|
function pr(e, t, a, i) {
|
|
@@ -1094,64 +1094,64 @@ function ha(e, t, a) {
|
|
|
1094
1094
|
case 4810:
|
|
1095
1095
|
case 6968:
|
|
1096
1096
|
case 2756:
|
|
1097
|
-
return G + e + lt + e +
|
|
1097
|
+
return G + e + lt + e + J + e + e;
|
|
1098
1098
|
case 5936:
|
|
1099
1099
|
switch (ie(e, t + 11)) {
|
|
1100
1100
|
case 114:
|
|
1101
|
-
return G + e +
|
|
1101
|
+
return G + e + J + O(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
|
|
1102
1102
|
case 108:
|
|
1103
|
-
return G + e +
|
|
1103
|
+
return G + e + J + O(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
|
|
1104
1104
|
case 45:
|
|
1105
|
-
return G + e +
|
|
1105
|
+
return G + e + J + O(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
|
|
1106
1106
|
}
|
|
1107
1107
|
case 6828:
|
|
1108
1108
|
case 4268:
|
|
1109
1109
|
case 2903:
|
|
1110
|
-
return G + e +
|
|
1110
|
+
return G + e + J + e + e;
|
|
1111
1111
|
case 6165:
|
|
1112
|
-
return G + e +
|
|
1112
|
+
return G + e + J + "flex-" + e + e;
|
|
1113
1113
|
case 5187:
|
|
1114
|
-
return G + e +
|
|
1114
|
+
return G + e + O(e, /(\w+).+(:[^]+)/, G + "box-$1$2" + J + "flex-$1$2") + e;
|
|
1115
1115
|
case 5443:
|
|
1116
|
-
return G + e +
|
|
1116
|
+
return G + e + J + "flex-item-" + O(e, /flex-|-self/g, "") + (Ie(e, /flex-|baseline/) ? "" : J + "grid-row-" + O(e, /flex-|-self/g, "")) + e;
|
|
1117
1117
|
case 4675:
|
|
1118
|
-
return G + e +
|
|
1118
|
+
return G + e + J + "flex-line-pack" + O(e, /align-content|flex-|-self/g, "") + e;
|
|
1119
1119
|
case 5548:
|
|
1120
|
-
return G + e +
|
|
1120
|
+
return G + e + J + O(e, "shrink", "negative") + e;
|
|
1121
1121
|
case 5292:
|
|
1122
|
-
return G + e +
|
|
1122
|
+
return G + e + J + O(e, "basis", "preferred-size") + e;
|
|
1123
1123
|
case 6060:
|
|
1124
|
-
return G + "box-" +
|
|
1124
|
+
return G + "box-" + O(e, "-grow", "") + G + e + J + O(e, "grow", "positive") + e;
|
|
1125
1125
|
case 4554:
|
|
1126
|
-
return G +
|
|
1126
|
+
return G + O(e, /([^-])(transform)/g, "$1" + G + "$2") + e;
|
|
1127
1127
|
case 6187:
|
|
1128
|
-
return
|
|
1128
|
+
return O(O(O(e, /(zoom-|grab)/, G + "$1"), /(image-set)/, G + "$1"), e, "") + e;
|
|
1129
1129
|
case 5495:
|
|
1130
1130
|
case 3959:
|
|
1131
|
-
return
|
|
1131
|
+
return O(e, /(image-set\([^]*)/, G + "$1$`$1");
|
|
1132
1132
|
case 4968:
|
|
1133
|
-
return
|
|
1133
|
+
return O(O(e, /(.+:)(flex-)?(.*)/, G + "box-pack:$3" + J + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + G + e + e;
|
|
1134
1134
|
case 4200:
|
|
1135
|
-
if (!
|
|
1135
|
+
if (!Ie(e, /flex-|baseline/)) return J + "grid-column-align" + qe(e, t) + e;
|
|
1136
1136
|
break;
|
|
1137
1137
|
case 2592:
|
|
1138
1138
|
case 3360:
|
|
1139
|
-
return
|
|
1139
|
+
return J + O(e, "template-", "") + e;
|
|
1140
1140
|
case 4384:
|
|
1141
1141
|
case 3616:
|
|
1142
1142
|
return a && a.some(function(i, r) {
|
|
1143
|
-
return t = r,
|
|
1144
|
-
}) ? ~zt(e + (a = a[t].value), "span", 0) ? e :
|
|
1143
|
+
return t = r, Ie(i.props, /grid-\w+-end/);
|
|
1144
|
+
}) ? ~zt(e + (a = a[t].value), "span", 0) ? e : J + O(e, "-start", "") + e + J + "grid-row-span:" + (~zt(a, "span", 0) ? Ie(a, /\d+/) : +Ie(a, /\d+/) - +Ie(e, /\d+/)) + ";" : J + O(e, "-start", "") + e;
|
|
1145
1145
|
case 4896:
|
|
1146
1146
|
case 4128:
|
|
1147
1147
|
return a && a.some(function(i) {
|
|
1148
|
-
return
|
|
1149
|
-
}) ? e :
|
|
1148
|
+
return Ie(i.props, /grid-\w+-start/);
|
|
1149
|
+
}) ? e : J + O(O(e, "-end", "-span"), "span ", "") + e;
|
|
1150
1150
|
case 4095:
|
|
1151
1151
|
case 3583:
|
|
1152
1152
|
case 4068:
|
|
1153
1153
|
case 2532:
|
|
1154
|
-
return
|
|
1154
|
+
return O(e, /(.+)-inline(.+)/, G + "$1$2") + e;
|
|
1155
1155
|
case 8116:
|
|
1156
1156
|
case 7059:
|
|
1157
1157
|
case 5753:
|
|
@@ -1164,32 +1164,32 @@ function ha(e, t, a) {
|
|
|
1164
1164
|
case 5789:
|
|
1165
1165
|
case 5021:
|
|
1166
1166
|
case 4765:
|
|
1167
|
-
if (
|
|
1167
|
+
if (je(e) - 1 - t > 6)
|
|
1168
1168
|
switch (ie(e, t + 1)) {
|
|
1169
1169
|
case 109:
|
|
1170
1170
|
if (ie(e, t + 4) !== 45)
|
|
1171
1171
|
break;
|
|
1172
1172
|
case 102:
|
|
1173
|
-
return
|
|
1173
|
+
return O(e, /(.+:)(.+)-([^]+)/, "$1" + G + "$2-$3$1" + lt + (ie(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
|
|
1174
1174
|
case 115:
|
|
1175
|
-
return ~zt(e, "stretch", 0) ? ha(
|
|
1175
|
+
return ~zt(e, "stretch", 0) ? ha(O(e, "stretch", "fill-available"), t, a) + e : e;
|
|
1176
1176
|
}
|
|
1177
1177
|
break;
|
|
1178
1178
|
case 5152:
|
|
1179
1179
|
case 5920:
|
|
1180
|
-
return
|
|
1181
|
-
return
|
|
1180
|
+
return O(e, /(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/, function(i, r, s, o, l, c, d) {
|
|
1181
|
+
return J + r + ":" + s + d + (o ? J + r + "-span:" + (l ? c : +c - +s) + d : "") + e;
|
|
1182
1182
|
});
|
|
1183
1183
|
case 4949:
|
|
1184
1184
|
if (ie(e, t + 6) === 121)
|
|
1185
|
-
return
|
|
1185
|
+
return O(e, ":", ":" + G) + e;
|
|
1186
1186
|
break;
|
|
1187
1187
|
case 6444:
|
|
1188
1188
|
switch (ie(e, ie(e, 14) === 45 ? 18 : 11)) {
|
|
1189
1189
|
case 120:
|
|
1190
|
-
return
|
|
1190
|
+
return O(e, /(.+:)([^;\s!]+)(;|(\s+)?!.+)?/, "$1" + G + (ie(e, 14) === 45 ? "inline-" : "") + "box$3$1" + G + "$2$3$1" + J + "$2box$3") + e;
|
|
1191
1191
|
case 100:
|
|
1192
|
-
return
|
|
1192
|
+
return O(e, ":", ":" + J) + e;
|
|
1193
1193
|
}
|
|
1194
1194
|
break;
|
|
1195
1195
|
case 5719:
|
|
@@ -1197,7 +1197,7 @@ function ha(e, t, a) {
|
|
|
1197
1197
|
case 2135:
|
|
1198
1198
|
case 3927:
|
|
1199
1199
|
case 2391:
|
|
1200
|
-
return
|
|
1200
|
+
return O(e, "scroll-", "scroll-snap-") + e;
|
|
1201
1201
|
}
|
|
1202
1202
|
return e;
|
|
1203
1203
|
}
|
|
@@ -1218,9 +1218,9 @@ function fr(e, t, a, i) {
|
|
|
1218
1218
|
case sa:
|
|
1219
1219
|
return e.return = e.value + "{" + Rt(e.children, i) + "}";
|
|
1220
1220
|
case Xt:
|
|
1221
|
-
if (!
|
|
1221
|
+
if (!je(e.value = e.props.join(","))) return "";
|
|
1222
1222
|
}
|
|
1223
|
-
return
|
|
1223
|
+
return je(a = Rt(e.children, i)) ? e.return = e.value + "{" + a + "}" : "";
|
|
1224
1224
|
}
|
|
1225
1225
|
function gr(e) {
|
|
1226
1226
|
var t = ca(e);
|
|
@@ -1242,17 +1242,17 @@ function xr(e, t, a, i) {
|
|
|
1242
1242
|
e.return = ha(e.value, e.length, a);
|
|
1243
1243
|
return;
|
|
1244
1244
|
case sa:
|
|
1245
|
-
return Rt([Te(e, { value:
|
|
1245
|
+
return Rt([Te(e, { value: O(e.value, "@", "@" + G) })], i);
|
|
1246
1246
|
case Xt:
|
|
1247
1247
|
if (e.length)
|
|
1248
1248
|
return ar(a = e.props, function(r) {
|
|
1249
|
-
switch (
|
|
1249
|
+
switch (Ie(r, i = /(::plac\w+|:read-\w+)/)) {
|
|
1250
1250
|
case ":read-only":
|
|
1251
1251
|
case ":read-write":
|
|
1252
|
-
Ke(Te(e, { props: [
|
|
1252
|
+
Ke(Te(e, { props: [O(r, /:(read-\w+)/, ":" + lt + "$1")] })), Ke(Te(e, { props: [r] })), wn(e, { props: h1(a, i) });
|
|
1253
1253
|
break;
|
|
1254
1254
|
case "::placeholder":
|
|
1255
|
-
Ke(Te(e, { props: [
|
|
1255
|
+
Ke(Te(e, { props: [O(r, /:(plac\w+)/, ":" + G + "input-$1")] })), Ke(Te(e, { props: [O(r, /:(plac\w+)/, ":" + lt + "$1")] })), Ke(Te(e, { props: [O(r, /:(plac\w+)/, J + "input-$1")] })), Ke(Te(e, { props: [r] })), wn(e, { props: h1(a, i) });
|
|
1256
1256
|
break;
|
|
1257
1257
|
}
|
|
1258
1258
|
return "";
|
|
@@ -1581,19 +1581,19 @@ var va = function(e) {
|
|
|
1581
1581
|
function e(t, a, i) {
|
|
1582
1582
|
t === void 0 && (t = Je), a === void 0 && (a = {});
|
|
1583
1583
|
var r = this;
|
|
1584
|
-
this.options =
|
|
1584
|
+
this.options = de(de({}, Kr), t), this.gs = a, this.names = new Map(i), this.server = !!t.isServer, !this.server && Ft && w1 && (w1 = !1, C1(this)), Pn(this, function() {
|
|
1585
1585
|
return function(s) {
|
|
1586
1586
|
for (var o = s.getTag(), l = o.length, c = "", d = function(p) {
|
|
1587
1587
|
var x = function(A) {
|
|
1588
1588
|
return Wt.get(A);
|
|
1589
1589
|
}(p);
|
|
1590
1590
|
if (x === void 0) return "continue";
|
|
1591
|
-
var
|
|
1592
|
-
if (
|
|
1591
|
+
var g = s.names.get(x), m = o.getGroup(p);
|
|
1592
|
+
if (g === void 0 || !g.size || m.length === 0) return "continue";
|
|
1593
1593
|
var y = "".concat(Ve, ".g").concat(p, '[id="').concat(x, '"]'), v = "";
|
|
1594
|
-
|
|
1594
|
+
g !== void 0 && g.forEach(function(A) {
|
|
1595
1595
|
A.length > 0 && (v += "".concat(A, ","));
|
|
1596
|
-
}), c += "".concat(
|
|
1596
|
+
}), c += "".concat(m).concat(y, '{content:"').concat(v, '"}').concat(Fn);
|
|
1597
1597
|
}, u = 0; u < l; u++) d(u);
|
|
1598
1598
|
return c;
|
|
1599
1599
|
}(r);
|
|
@@ -1604,7 +1604,7 @@ var va = function(e) {
|
|
|
1604
1604
|
}, e.prototype.rehydrate = function() {
|
|
1605
1605
|
!this.server && Ft && C1(this);
|
|
1606
1606
|
}, e.prototype.reconstructWithOptions = function(t, a) {
|
|
1607
|
-
return a === void 0 && (a = !0), new e(
|
|
1607
|
+
return a === void 0 && (a = !0), new e(de(de({}, this.options), t), this.gs, a && this.names || void 0);
|
|
1608
1608
|
}, e.prototype.allocateGSInstance = function(t) {
|
|
1609
1609
|
return this.gs[t] = (this.gs[t] || 0) + 1;
|
|
1610
1610
|
}, e.prototype.getTag = function() {
|
|
@@ -1639,23 +1639,23 @@ function ka(e, t) {
|
|
|
1639
1639
|
});
|
|
1640
1640
|
}
|
|
1641
1641
|
function qr(e) {
|
|
1642
|
-
var t, a, i, r = Je, s = r.options, o = s === void 0 ? Je : s, l = r.plugins, c = l === void 0 ? _t : l, d = function(x,
|
|
1643
|
-
return
|
|
1642
|
+
var t, a, i, r = Je, s = r.options, o = s === void 0 ? Je : s, l = r.plugins, c = l === void 0 ? _t : l, d = function(x, g, m) {
|
|
1643
|
+
return m.startsWith(a) && m.endsWith(a) && m.replaceAll(a, "").length > 0 ? ".".concat(t) : x;
|
|
1644
1644
|
}, u = c.slice();
|
|
1645
1645
|
u.push(function(x) {
|
|
1646
1646
|
x.type === Xt && x.value.includes("&") && (x.props[0] = x.props[0].replace(Zr, a).replace(i, d));
|
|
1647
1647
|
}), o.prefix && u.push(xr), u.push(fr);
|
|
1648
|
-
var p = function(x,
|
|
1649
|
-
|
|
1650
|
-
var v = x.replace(Xr, ""), A = ur(
|
|
1648
|
+
var p = function(x, g, m, y) {
|
|
1649
|
+
g === void 0 && (g = ""), m === void 0 && (m = ""), y === void 0 && (y = "&"), t = y, a = g, i = new RegExp("\\".concat(a, "\\b"), "g");
|
|
1650
|
+
var v = x.replace(Xr, ""), A = ur(m || g ? "".concat(m, " ").concat(g, " { ").concat(v, " }") : v);
|
|
1651
1651
|
o.namespace && (A = ka(A, o.namespace));
|
|
1652
1652
|
var w = [];
|
|
1653
|
-
return Rt(A, gr(u.concat(mr(function(
|
|
1654
|
-
return w.push(
|
|
1653
|
+
return Rt(A, gr(u.concat(mr(function(S) {
|
|
1654
|
+
return w.push(S);
|
|
1655
1655
|
})))), w;
|
|
1656
1656
|
};
|
|
1657
|
-
return p.hash = c.length ? c.reduce(function(x,
|
|
1658
|
-
return
|
|
1657
|
+
return p.hash = c.length ? c.reduce(function(x, g) {
|
|
1658
|
+
return g.name || tt(15), Oe(x, g.name);
|
|
1659
1659
|
}, fa).toString() : "", p;
|
|
1660
1660
|
}
|
|
1661
1661
|
var Qr = new Aa(), In = qr(), ja = Pe.createContext({ shouldForwardProp: void 0, styleSheet: Qr, stylis: In });
|
|
@@ -1744,8 +1744,8 @@ var _r = ga($t), es = function() {
|
|
|
1744
1744
|
}
|
|
1745
1745
|
}
|
|
1746
1746
|
if (d) {
|
|
1747
|
-
var
|
|
1748
|
-
a.hasNameForId(this.componentId,
|
|
1747
|
+
var g = jn(c >>> 0);
|
|
1748
|
+
a.hasNameForId(this.componentId, g) || a.insertRules(this.componentId, g, i(d, ".".concat(g), void 0, this.componentId)), r = Me(r, g);
|
|
1749
1749
|
}
|
|
1750
1750
|
}
|
|
1751
1751
|
return r;
|
|
@@ -1755,58 +1755,58 @@ Ia.Consumer;
|
|
|
1755
1755
|
var fn = {}, k1 = /* @__PURE__ */ new Set();
|
|
1756
1756
|
function ts(e, t, a) {
|
|
1757
1757
|
var i = Wn(e), r = e, s = !pn(e), o = t.attrs, l = o === void 0 ? _t : o, c = t.componentId, d = c === void 0 ? function(j, T) {
|
|
1758
|
-
var
|
|
1759
|
-
fn[
|
|
1760
|
-
var k = "".concat(
|
|
1758
|
+
var L = typeof j != "string" ? "sc" : g1(j);
|
|
1759
|
+
fn[L] = (fn[L] || 0) + 1;
|
|
1760
|
+
var k = "".concat(L, "-").concat(ma($t + L + fn[L]));
|
|
1761
1761
|
return T ? "".concat(T, "-").concat(k) : k;
|
|
1762
1762
|
}(t.displayName, t.parentComponentId) : c, u = t.displayName, p = u === void 0 ? function(j) {
|
|
1763
1763
|
return pn(j) ? "styled.".concat(j) : "Styled(".concat(xa(j), ")");
|
|
1764
|
-
}(e) : u, x = t.displayName && t.componentId ? "".concat(g1(t.displayName), "-").concat(t.componentId) : t.componentId || d,
|
|
1764
|
+
}(e) : u, x = t.displayName && t.componentId ? "".concat(g1(t.displayName), "-").concat(t.componentId) : t.componentId || d, g = i && r.attrs ? r.attrs.concat(l).filter(Boolean) : l, m = t.shouldForwardProp;
|
|
1765
1765
|
if (i && r.shouldForwardProp) {
|
|
1766
1766
|
var y = r.shouldForwardProp;
|
|
1767
1767
|
if (t.shouldForwardProp) {
|
|
1768
1768
|
var v = t.shouldForwardProp;
|
|
1769
|
-
|
|
1769
|
+
m = function(j, T) {
|
|
1770
1770
|
return y(j, T) && v(j, T);
|
|
1771
1771
|
};
|
|
1772
|
-
} else
|
|
1772
|
+
} else m = y;
|
|
1773
1773
|
}
|
|
1774
1774
|
var A = new es(a, x, i ? r.componentStyle : void 0);
|
|
1775
1775
|
function w(j, T) {
|
|
1776
|
-
return function(
|
|
1777
|
-
var z =
|
|
1776
|
+
return function(L, k, M) {
|
|
1777
|
+
var z = L.attrs, H = L.componentStyle, $ = L.defaultProps, fe = L.foldedComponentIds, V = L.styledComponentId, Z = L.target, re = Pe.useContext(Ia), _ = v1(), D = L.shouldForwardProp || _.shouldForwardProp;
|
|
1778
1778
|
process.env.NODE_ENV !== "production" && s1(V);
|
|
1779
|
-
var
|
|
1780
|
-
for (var
|
|
1781
|
-
var Ee = $e(
|
|
1782
|
-
for (var
|
|
1779
|
+
var te = wr(k, re, $) || Je, Y = function(xe, ye, R) {
|
|
1780
|
+
for (var be, Ce = de(de({}, ye), { className: void 0, theme: R }), Ne = 0; Ne < xe.length; Ne += 1) {
|
|
1781
|
+
var Ee = $e(be = xe[Ne]) ? be(Ce) : be;
|
|
1782
|
+
for (var we in Ee) Ce[we] = we === "className" ? Me(Ce[we], Ee[we]) : we === "style" ? de(de({}, Ce[we]), Ee[we]) : Ee[we];
|
|
1783
1783
|
}
|
|
1784
|
-
return
|
|
1785
|
-
}(z, k,
|
|
1786
|
-
for (var
|
|
1787
|
-
var
|
|
1788
|
-
var
|
|
1789
|
-
return process.env.NODE_ENV !== "production" && s1(
|
|
1790
|
-
}(
|
|
1791
|
-
process.env.NODE_ENV !== "production" &&
|
|
1792
|
-
var
|
|
1793
|
-
return
|
|
1794
|
-
}(
|
|
1784
|
+
return ye.className && (Ce.className = Me(Ce.className, ye.className)), Ce;
|
|
1785
|
+
}(z, k, te), ue = Y.as || Z, q = {};
|
|
1786
|
+
for (var Q in Y) Y[Q] === void 0 || Q[0] === "$" || Q === "as" || Q === "theme" && Y.theme === te || (Q === "forwardedAs" ? q.as = Y.forwardedAs : D && !D(Q, ue) || (q[Q] = Y[Q], D || process.env.NODE_ENV !== "development" || _i(Q) || k1.has(Q) || !kn.has(ue) || (k1.add(Q), console.warn('styled-components: it looks like an unknown prop "'.concat(Q, '" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));
|
|
1787
|
+
var oe = function(xe, ye) {
|
|
1788
|
+
var R = v1(), be = xe.generateAndInjectStyles(ye, R.styleSheet, R.stylis);
|
|
1789
|
+
return process.env.NODE_ENV !== "production" && s1(be), be;
|
|
1790
|
+
}(H, Y);
|
|
1791
|
+
process.env.NODE_ENV !== "production" && L.warnTooManyClasses && L.warnTooManyClasses(oe);
|
|
1792
|
+
var pe = Me(fe, V);
|
|
1793
|
+
return oe && (pe += " " + oe), Y.className && (pe += " " + Y.className), q[pn(ue) && !kn.has(ue) ? "class" : "className"] = pe, M && (q.ref = M), Bi(ue, q);
|
|
1794
|
+
}(S, j, T);
|
|
1795
1795
|
}
|
|
1796
1796
|
w.displayName = p;
|
|
1797
|
-
var
|
|
1798
|
-
return
|
|
1797
|
+
var S = Pe.forwardRef(w);
|
|
1798
|
+
return S.attrs = g, S.componentStyle = A, S.displayName = p, S.shouldForwardProp = m, S.foldedComponentIds = i ? Me(r.foldedComponentIds, r.styledComponentId) : "", S.styledComponentId = x, S.target = i ? r.target : e, Object.defineProperty(S, "defaultProps", { get: function() {
|
|
1799
1799
|
return this._foldedDefaultProps;
|
|
1800
1800
|
}, set: function(j) {
|
|
1801
1801
|
this._foldedDefaultProps = i ? function(T) {
|
|
1802
|
-
for (var
|
|
1803
|
-
for (var
|
|
1802
|
+
for (var L = [], k = 1; k < arguments.length; k++) L[k - 1] = arguments[k];
|
|
1803
|
+
for (var M = 0, z = L; M < z.length; M++) Ln(T, z[M], !0);
|
|
1804
1804
|
return T;
|
|
1805
1805
|
}({}, r.defaultProps, j) : j;
|
|
1806
|
-
} }), process.env.NODE_ENV !== "production" && (Cr(p, x),
|
|
1807
|
-
var
|
|
1808
|
-
return function(
|
|
1809
|
-
if (!k && (
|
|
1806
|
+
} }), process.env.NODE_ENV !== "production" && (Cr(p, x), S.warnTooManyClasses = /* @__PURE__ */ function(j, T) {
|
|
1807
|
+
var L = {}, k = !1;
|
|
1808
|
+
return function(M) {
|
|
1809
|
+
if (!k && (L[M] = !0, Object.keys(L).length >= 200)) {
|
|
1810
1810
|
var z = T ? ' with the id of "'.concat(T, '"') : "";
|
|
1811
1811
|
console.warn("Over ".concat(200, " classes were generated for component ").concat(j).concat(z, `.
|
|
1812
1812
|
`) + `Consider using the attrs method, together with a style object for frequently changed styles.
|
|
@@ -1817,12 +1817,12 @@ Example:
|
|
|
1817
1817
|
},
|
|
1818
1818
|
}))\`width: 100%;\`
|
|
1819
1819
|
|
|
1820
|
-
<Component />`), k = !0,
|
|
1820
|
+
<Component />`), k = !0, L = {};
|
|
1821
1821
|
}
|
|
1822
1822
|
};
|
|
1823
|
-
}(p, x)), Pn(
|
|
1824
|
-
return ".".concat(
|
|
1825
|
-
}), s && wa(
|
|
1823
|
+
}(p, x)), Pn(S, function() {
|
|
1824
|
+
return ".".concat(S.styledComponentId);
|
|
1825
|
+
}), s && wa(S, e, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0 }), S;
|
|
1826
1826
|
}
|
|
1827
1827
|
function j1(e, t) {
|
|
1828
1828
|
for (var a = [e[0]], i = 0, r = t.length; i < r; i += 1) a.push(t[i], e[i + 1]);
|
|
@@ -1844,9 +1844,9 @@ function Tn(e, t, a) {
|
|
|
1844
1844
|
return e(t, a, Gn.apply(void 0, Ge([r], s, !1)));
|
|
1845
1845
|
};
|
|
1846
1846
|
return i.attrs = function(r) {
|
|
1847
|
-
return Tn(e, t,
|
|
1847
|
+
return Tn(e, t, de(de({}, a), { attrs: Array.prototype.concat(a.attrs, r).filter(Boolean) }));
|
|
1848
1848
|
}, i.withConfig = function(r) {
|
|
1849
|
-
return Tn(e, t,
|
|
1849
|
+
return Tn(e, t, de(de({}, a), r));
|
|
1850
1850
|
}, i;
|
|
1851
1851
|
}
|
|
1852
1852
|
var Na = function(e) {
|
|
@@ -1929,7 +1929,7 @@ const ns = f.div`
|
|
|
1929
1929
|
color: #ffffff;
|
|
1930
1930
|
}
|
|
1931
1931
|
`, J9 = ({ balance: e, bet: t, currencyId: a }) => {
|
|
1932
|
-
const { t: i } =
|
|
1932
|
+
const { t: i } = U();
|
|
1933
1933
|
return /* @__PURE__ */ n.jsxs(ns, { children: [
|
|
1934
1934
|
/* @__PURE__ */ n.jsxs(L1, { children: [
|
|
1935
1935
|
/* @__PURE__ */ n.jsx("p", { className: "text-title", children: i("Balance") }),
|
|
@@ -2073,7 +2073,7 @@ const ns = f.div`
|
|
|
2073
2073
|
volume: a,
|
|
2074
2074
|
setVolume: i
|
|
2075
2075
|
}) => {
|
|
2076
|
-
const { t: r } =
|
|
2076
|
+
const { t: r } = U();
|
|
2077
2077
|
return /* @__PURE__ */ n.jsxs(cs, { $isSettings: e, children: [
|
|
2078
2078
|
/* @__PURE__ */ n.jsx("p", { children: r(t ?? "") }),
|
|
2079
2079
|
/* @__PURE__ */ n.jsx(
|
|
@@ -2105,12 +2105,12 @@ const ns = f.div`
|
|
|
2105
2105
|
streamVolume: u,
|
|
2106
2106
|
setStreamVolume: p,
|
|
2107
2107
|
isHoverActive: x = !0,
|
|
2108
|
-
positonHover:
|
|
2108
|
+
positonHover: g = "bottom"
|
|
2109
2109
|
}) => {
|
|
2110
|
-
const [
|
|
2110
|
+
const [m, y] = E(!1), { t: v } = U(), A = () => {
|
|
2111
2111
|
if (a)
|
|
2112
|
-
return /* @__PURE__ */ n.jsxs(rs, { $positonHover:
|
|
2113
|
-
/* @__PURE__ */ n.jsx(ls, { position:
|
|
2112
|
+
return /* @__PURE__ */ n.jsxs(rs, { $positonHover: g, "data-testid": "button-info", children: [
|
|
2113
|
+
/* @__PURE__ */ n.jsx(ls, { position: g }),
|
|
2114
2114
|
v(a)
|
|
2115
2115
|
] });
|
|
2116
2116
|
if (r && p && typeof u == "number")
|
|
@@ -2133,7 +2133,7 @@ const ns = f.div`
|
|
|
2133
2133
|
children: [
|
|
2134
2134
|
c && l && /* @__PURE__ */ n.jsx("p", { className: c, children: v(l) }),
|
|
2135
2135
|
e,
|
|
2136
|
-
|
|
2136
|
+
m && !i && A()
|
|
2137
2137
|
]
|
|
2138
2138
|
}
|
|
2139
2139
|
) });
|
|
@@ -3556,7 +3556,7 @@ class Vt {
|
|
|
3556
3556
|
return t = t || this.options, t.prefix = t.prefix || this.prefix, new Vt(this.logger, t);
|
|
3557
3557
|
}
|
|
3558
3558
|
}
|
|
3559
|
-
var
|
|
3559
|
+
var Se = new Vt();
|
|
3560
3560
|
class nn {
|
|
3561
3561
|
constructor() {
|
|
3562
3562
|
this.observers = {};
|
|
@@ -3687,7 +3687,7 @@ function Ps(e, t) {
|
|
|
3687
3687
|
const H1 = {}, R1 = (e) => !N(e) && typeof e != "boolean" && typeof e != "number";
|
|
3688
3688
|
class Et extends nn {
|
|
3689
3689
|
constructor(t, a = {}) {
|
|
3690
|
-
super(), Is(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = a, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger =
|
|
3690
|
+
super(), Is(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = a, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Se.create("translator");
|
|
3691
3691
|
}
|
|
3692
3692
|
changeLanguage(t) {
|
|
3693
3693
|
t && (this.language = t);
|
|
@@ -3754,76 +3754,76 @@ class Et extends nn {
|
|
|
3754
3754
|
usedNS: d,
|
|
3755
3755
|
usedParams: this.getUsedParamsDetails(r)
|
|
3756
3756
|
} : l;
|
|
3757
|
-
const
|
|
3758
|
-
let
|
|
3759
|
-
const y = (
|
|
3757
|
+
const g = this.resolve(t, r);
|
|
3758
|
+
let m = g == null ? void 0 : g.res;
|
|
3759
|
+
const y = (g == null ? void 0 : g.usedKey) || l, v = (g == null ? void 0 : g.exactUsedKey) || l, A = ["[object Number]", "[object Function]", "[object RegExp]"], w = r.joinArrays !== void 0 ? r.joinArrays : this.options.joinArrays, S = !this.i18nFormat || this.i18nFormat.handleAsObject, j = r.count !== void 0 && !N(r.count), T = Et.hasDefaultValue(r), L = j ? this.pluralResolver.getSuffix(p, r.count, r) : "", k = r.ordinal && j ? this.pluralResolver.getSuffix(p, r.count, {
|
|
3760
3760
|
ordinal: !1
|
|
3761
|
-
}) : "",
|
|
3762
|
-
let
|
|
3763
|
-
|
|
3764
|
-
const
|
|
3765
|
-
if (
|
|
3761
|
+
}) : "", M = j && !r.ordinal && r.count === 0, z = M && r[`defaultValue${this.options.pluralSeparator}zero`] || r[`defaultValue${L}`] || r[`defaultValue${k}`] || r.defaultValue;
|
|
3762
|
+
let H = m;
|
|
3763
|
+
S && !m && T && (H = z);
|
|
3764
|
+
const $ = R1(H), fe = Object.prototype.toString.apply(H);
|
|
3765
|
+
if (S && H && $ && A.indexOf(fe) < 0 && !(N(w) && Array.isArray(H))) {
|
|
3766
3766
|
if (!r.returnObjects && !this.options.returnObjects) {
|
|
3767
3767
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
3768
|
-
const V = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(y,
|
|
3768
|
+
const V = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(y, H, {
|
|
3769
3769
|
...r,
|
|
3770
3770
|
ns: c
|
|
3771
3771
|
}) : `key '${l} (${this.language})' returned an object instead of string.`;
|
|
3772
|
-
return s ? (
|
|
3772
|
+
return s ? (g.res = V, g.usedParams = this.getUsedParamsDetails(r), g) : V;
|
|
3773
3773
|
}
|
|
3774
3774
|
if (o) {
|
|
3775
|
-
const V = Array.isArray(
|
|
3776
|
-
for (const
|
|
3777
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
3778
|
-
const
|
|
3779
|
-
T && !
|
|
3775
|
+
const V = Array.isArray(H), Z = V ? [] : {}, re = V ? v : y;
|
|
3776
|
+
for (const _ in H)
|
|
3777
|
+
if (Object.prototype.hasOwnProperty.call(H, _)) {
|
|
3778
|
+
const D = `${re}${o}${_}`;
|
|
3779
|
+
T && !m ? Z[_] = this.translate(D, {
|
|
3780
3780
|
...r,
|
|
3781
|
-
defaultValue: R1(z) ? z[
|
|
3781
|
+
defaultValue: R1(z) ? z[_] : void 0,
|
|
3782
3782
|
joinArrays: !1,
|
|
3783
3783
|
ns: c
|
|
3784
|
-
}) :
|
|
3784
|
+
}) : Z[_] = this.translate(D, {
|
|
3785
3785
|
...r,
|
|
3786
3786
|
joinArrays: !1,
|
|
3787
3787
|
ns: c
|
|
3788
|
-
}),
|
|
3788
|
+
}), Z[_] === D && (Z[_] = H[_]);
|
|
3789
3789
|
}
|
|
3790
|
-
|
|
3790
|
+
m = Z;
|
|
3791
3791
|
}
|
|
3792
|
-
} else if (
|
|
3793
|
-
|
|
3792
|
+
} else if (S && N(w) && Array.isArray(m))
|
|
3793
|
+
m = m.join(w), m && (m = this.extendTranslation(m, t, r, i));
|
|
3794
3794
|
else {
|
|
3795
|
-
let V = !1,
|
|
3796
|
-
!this.isValidLookup(
|
|
3797
|
-
const
|
|
3798
|
-
if (
|
|
3799
|
-
if (this.logger.log(
|
|
3800
|
-
const
|
|
3795
|
+
let V = !1, Z = !1;
|
|
3796
|
+
!this.isValidLookup(m) && T && (V = !0, m = z), this.isValidLookup(m) || (Z = !0, m = l);
|
|
3797
|
+
const _ = (r.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && Z ? void 0 : m, D = T && z !== m && this.options.updateMissing;
|
|
3798
|
+
if (Z || V || D) {
|
|
3799
|
+
if (this.logger.log(D ? "updateKey" : "missingKey", p, d, l, D ? z : m), o) {
|
|
3800
|
+
const q = this.resolve(l, {
|
|
3801
3801
|
...r,
|
|
3802
3802
|
keySeparator: !1
|
|
3803
3803
|
});
|
|
3804
|
-
|
|
3804
|
+
q && q.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
|
|
3805
3805
|
}
|
|
3806
|
-
let
|
|
3807
|
-
const
|
|
3808
|
-
if (this.options.saveMissingTo === "fallback" &&
|
|
3809
|
-
for (let
|
|
3810
|
-
|
|
3811
|
-
else this.options.saveMissingTo === "all" ?
|
|
3812
|
-
const
|
|
3813
|
-
var
|
|
3814
|
-
const
|
|
3815
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(
|
|
3806
|
+
let te = [];
|
|
3807
|
+
const Y = this.languageUtils.getFallbackCodes(this.options.fallbackLng, r.lng || this.language);
|
|
3808
|
+
if (this.options.saveMissingTo === "fallback" && Y && Y[0])
|
|
3809
|
+
for (let q = 0; q < Y.length; q++)
|
|
3810
|
+
te.push(Y[q]);
|
|
3811
|
+
else this.options.saveMissingTo === "all" ? te = this.languageUtils.toResolveHierarchy(r.lng || this.language) : te.push(r.lng || this.language);
|
|
3812
|
+
const ue = (q, Q, oe) => {
|
|
3813
|
+
var xe;
|
|
3814
|
+
const pe = T && oe !== m ? oe : _;
|
|
3815
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(q, d, Q, pe, D, r) : (xe = this.backendConnector) != null && xe.saveMissing && this.backendConnector.saveMissing(q, d, Q, pe, D, r), this.emit("missingKey", q, d, Q, m);
|
|
3816
3816
|
};
|
|
3817
|
-
this.options.saveMissing && (this.options.saveMissingPlurals && j ?
|
|
3818
|
-
const
|
|
3819
|
-
|
|
3820
|
-
|
|
3817
|
+
this.options.saveMissing && (this.options.saveMissingPlurals && j ? te.forEach((q) => {
|
|
3818
|
+
const Q = this.pluralResolver.getSuffixes(q, r);
|
|
3819
|
+
M && r[`defaultValue${this.options.pluralSeparator}zero`] && Q.indexOf(`${this.options.pluralSeparator}zero`) < 0 && Q.push(`${this.options.pluralSeparator}zero`), Q.forEach((oe) => {
|
|
3820
|
+
ue([q], l + oe, r[`defaultValue${oe}`] || z);
|
|
3821
3821
|
});
|
|
3822
|
-
}) :
|
|
3822
|
+
}) : ue(te, l, z));
|
|
3823
3823
|
}
|
|
3824
|
-
|
|
3824
|
+
m = this.extendTranslation(m, t, r, g, i), Z && m === l && this.options.appendNamespaceToMissingKey && (m = `${d}${u}${l}`), (Z || V) && this.options.parseMissingKeyHandler && (m = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${d}${u}${l}` : l, V ? m : void 0, r));
|
|
3825
3825
|
}
|
|
3826
|
-
return s ? (
|
|
3826
|
+
return s ? (g.res = m, g.usedParams = this.getUsedParamsDetails(r), g) : m;
|
|
3827
3827
|
}
|
|
3828
3828
|
extendTranslation(t, a, i, r, s) {
|
|
3829
3829
|
var c, d;
|
|
@@ -3845,18 +3845,18 @@ class Et extends nn {
|
|
|
3845
3845
|
const u = N(t) && (((d = i == null ? void 0 : i.interpolation) == null ? void 0 : d.skipOnVariables) !== void 0 ? i.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
|
|
3846
3846
|
let p;
|
|
3847
3847
|
if (u) {
|
|
3848
|
-
const
|
|
3849
|
-
p =
|
|
3848
|
+
const g = t.match(this.interpolator.nestingRegexp);
|
|
3849
|
+
p = g && g.length;
|
|
3850
3850
|
}
|
|
3851
3851
|
let x = i.replace && !N(i.replace) ? i.replace : i;
|
|
3852
3852
|
if (this.options.interpolation.defaultVariables && (x = {
|
|
3853
3853
|
...this.options.interpolation.defaultVariables,
|
|
3854
3854
|
...x
|
|
3855
3855
|
}), t = this.interpolator.interpolate(t, x, i.lng || this.language || r.usedLng, i), u) {
|
|
3856
|
-
const
|
|
3857
|
-
p <
|
|
3856
|
+
const g = t.match(this.interpolator.nestingRegexp), m = g && g.length;
|
|
3857
|
+
p < m && (i.nest = !1);
|
|
3858
3858
|
}
|
|
3859
|
-
!i.lng && r && r.res && (i.lng = this.language || r.usedLng), i.nest !== !1 && (t = this.interpolator.nest(t, (...
|
|
3859
|
+
!i.lng && r && r.res && (i.lng = this.language || r.usedLng), i.nest !== !1 && (t = this.interpolator.nest(t, (...g) => (s == null ? void 0 : s[0]) === g[0] && !i.context ? (this.logger.warn(`It seems you are nesting recursively key: ${g[0]} in key: ${a[0]}`), null) : this.translate(...g, a), i)), i.interpolation && this.interpolator.reset();
|
|
3860
3860
|
}
|
|
3861
3861
|
const o = i.postProcess || this.options.postProcess, l = N(o) ? [o] : o;
|
|
3862
3862
|
return t != null && (l != null && l.length) && i.applyPostProcessor !== !1 && (t = Wa.handle(l, t, a, this.options && this.options.postProcessPassResolved ? {
|
|
@@ -3875,28 +3875,28 @@ class Et extends nn {
|
|
|
3875
3875
|
r = u;
|
|
3876
3876
|
let p = d.namespaces;
|
|
3877
3877
|
this.options.fallbackNS && (p = p.concat(this.options.fallbackNS));
|
|
3878
|
-
const x = a.count !== void 0 && !N(a.count),
|
|
3878
|
+
const x = a.count !== void 0 && !N(a.count), g = x && !a.ordinal && a.count === 0, m = a.context !== void 0 && (N(a.context) || typeof a.context == "number") && a.context !== "", y = a.lngs ? a.lngs : this.languageUtils.toResolveHierarchy(a.lng || this.language, a.fallbackLng);
|
|
3879
3879
|
p.forEach((v) => {
|
|
3880
3880
|
var A, w;
|
|
3881
|
-
this.isValidLookup(i) || (l = v, !H1[`${y[0]}-${v}`] && ((A = this.utils) != null && A.hasLoadedNamespace) && !((w = this.utils) != null && w.hasLoadedNamespace(l)) && (H1[`${y[0]}-${v}`] = !0, this.logger.warn(`key "${r}" for languages "${y.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), y.forEach((
|
|
3882
|
-
var
|
|
3881
|
+
this.isValidLookup(i) || (l = v, !H1[`${y[0]}-${v}`] && ((A = this.utils) != null && A.hasLoadedNamespace) && !((w = this.utils) != null && w.hasLoadedNamespace(l)) && (H1[`${y[0]}-${v}`] = !0, this.logger.warn(`key "${r}" for languages "${y.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), y.forEach((S) => {
|
|
3882
|
+
var L;
|
|
3883
3883
|
if (this.isValidLookup(i)) return;
|
|
3884
|
-
o =
|
|
3884
|
+
o = S;
|
|
3885
3885
|
const j = [u];
|
|
3886
|
-
if ((
|
|
3887
|
-
this.i18nFormat.addLookupKeys(j, u,
|
|
3886
|
+
if ((L = this.i18nFormat) != null && L.addLookupKeys)
|
|
3887
|
+
this.i18nFormat.addLookupKeys(j, u, S, v, a);
|
|
3888
3888
|
else {
|
|
3889
3889
|
let k;
|
|
3890
|
-
x && (k = this.pluralResolver.getSuffix(
|
|
3891
|
-
const
|
|
3892
|
-
if (x && (a.ordinal && k.indexOf(z) === 0 && j.push(u + k.replace(z, this.options.pluralSeparator)), j.push(u + k),
|
|
3893
|
-
const
|
|
3894
|
-
j.push(
|
|
3890
|
+
x && (k = this.pluralResolver.getSuffix(S, a.count, a));
|
|
3891
|
+
const M = `${this.options.pluralSeparator}zero`, z = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
|
|
3892
|
+
if (x && (a.ordinal && k.indexOf(z) === 0 && j.push(u + k.replace(z, this.options.pluralSeparator)), j.push(u + k), g && j.push(u + M)), m) {
|
|
3893
|
+
const H = `${u}${this.options.contextSeparator || "_"}${a.context}`;
|
|
3894
|
+
j.push(H), x && (a.ordinal && k.indexOf(z) === 0 && j.push(H + k.replace(z, this.options.pluralSeparator)), j.push(H + k), g && j.push(H + M));
|
|
3895
3895
|
}
|
|
3896
3896
|
}
|
|
3897
3897
|
let T;
|
|
3898
3898
|
for (; T = j.pop(); )
|
|
3899
|
-
this.isValidLookup(i) || (s = T, i = this.getResource(
|
|
3899
|
+
this.isValidLookup(i) || (s = T, i = this.getResource(S, v, T, a));
|
|
3900
3900
|
}));
|
|
3901
3901
|
});
|
|
3902
3902
|
}), {
|
|
@@ -3939,7 +3939,7 @@ class Et extends nn {
|
|
|
3939
3939
|
}
|
|
3940
3940
|
class F1 {
|
|
3941
3941
|
constructor(t) {
|
|
3942
|
-
this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger =
|
|
3942
|
+
this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Se.create("languageUtils");
|
|
3943
3943
|
}
|
|
3944
3944
|
getScriptPartFromCode(t) {
|
|
3945
3945
|
if (t = ht(t), !t || t.indexOf("-") < 0) return null;
|
|
@@ -4016,7 +4016,7 @@ const W1 = {
|
|
|
4016
4016
|
};
|
|
4017
4017
|
class Gs {
|
|
4018
4018
|
constructor(t, a = {}) {
|
|
4019
|
-
this.languageUtils = t, this.options = a, this.logger =
|
|
4019
|
+
this.languageUtils = t, this.options = a, this.logger = Se.create("pluralResolver"), this.pluralRulesCache = {};
|
|
4020
4020
|
}
|
|
4021
4021
|
addRule(t, a) {
|
|
4022
4022
|
this.rules[t] = a;
|
|
@@ -4068,7 +4068,7 @@ const G1 = (e, t, a, i = ".", r = !0) => {
|
|
|
4068
4068
|
class Vs {
|
|
4069
4069
|
constructor(t = {}) {
|
|
4070
4070
|
var a;
|
|
4071
|
-
this.logger =
|
|
4071
|
+
this.logger = Se.create("interpolator"), this.options = t, this.format = ((a = t == null ? void 0 : t.interpolation) == null ? void 0 : a.format) || ((i) => i), this.init(t);
|
|
4072
4072
|
}
|
|
4073
4073
|
init(t = {}) {
|
|
4074
4074
|
t.interpolation || (t.interpolation = {
|
|
@@ -4086,14 +4086,14 @@ class Vs {
|
|
|
4086
4086
|
unescapeSuffix: u,
|
|
4087
4087
|
unescapePrefix: p,
|
|
4088
4088
|
nestingPrefix: x,
|
|
4089
|
-
nestingPrefixEscaped:
|
|
4090
|
-
nestingSuffix:
|
|
4089
|
+
nestingPrefixEscaped: g,
|
|
4090
|
+
nestingSuffix: m,
|
|
4091
4091
|
nestingSuffixEscaped: y,
|
|
4092
4092
|
nestingOptionsSeparator: v,
|
|
4093
4093
|
maxReplaces: A,
|
|
4094
4094
|
alwaysFormat: w
|
|
4095
4095
|
} = t.interpolation;
|
|
4096
|
-
this.escape = a !== void 0 ? a : Os, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = r !== void 0 ? r : !1, this.prefix = s ? Ze(s) : o || "{{", this.suffix = l ? Ze(l) : c || "}}", this.formatSeparator = d || ",", this.unescapePrefix = u ? "" : p || "-", this.unescapeSuffix = this.unescapePrefix ? "" : u || "", this.nestingPrefix = x ? Ze(x) :
|
|
4096
|
+
this.escape = a !== void 0 ? a : Os, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = r !== void 0 ? r : !1, this.prefix = s ? Ze(s) : o || "{{", this.suffix = l ? Ze(l) : c || "}}", this.formatSeparator = d || ",", this.unescapePrefix = u ? "" : p || "-", this.unescapeSuffix = this.unescapePrefix ? "" : u || "", this.nestingPrefix = x ? Ze(x) : g || Ze("$t("), this.nestingSuffix = m ? Ze(m) : y || Ze(")"), this.nestingOptionsSeparator = v || ",", this.maxReplaces = A || 1e3, this.alwaysFormat = w !== void 0 ? w : !1, this.resetRegExp();
|
|
4097
4097
|
}
|
|
4098
4098
|
reset() {
|
|
4099
4099
|
this.options && this.init(this.options);
|
|
@@ -4103,18 +4103,18 @@ class Vs {
|
|
|
4103
4103
|
this.regexp = t(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = t(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = t(this.nestingRegexp, `${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`);
|
|
4104
4104
|
}
|
|
4105
4105
|
interpolate(t, a, i, r) {
|
|
4106
|
-
var
|
|
4106
|
+
var g;
|
|
4107
4107
|
let s, o, l;
|
|
4108
|
-
const c = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (
|
|
4109
|
-
if (
|
|
4110
|
-
const w = G1(a, c,
|
|
4108
|
+
const c = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, d = (m) => {
|
|
4109
|
+
if (m.indexOf(this.formatSeparator) < 0) {
|
|
4110
|
+
const w = G1(a, c, m, this.options.keySeparator, this.options.ignoreJSONStructure);
|
|
4111
4111
|
return this.alwaysFormat ? this.format(w, void 0, i, {
|
|
4112
4112
|
...r,
|
|
4113
4113
|
...a,
|
|
4114
|
-
interpolationkey:
|
|
4114
|
+
interpolationkey: m
|
|
4115
4115
|
}) : w;
|
|
4116
4116
|
}
|
|
4117
|
-
const y =
|
|
4117
|
+
const y = m.split(this.formatSeparator), v = y.shift().trim(), A = y.join(this.formatSeparator).trim();
|
|
4118
4118
|
return this.format(G1(a, c, v, this.options.keySeparator, this.options.ignoreJSONStructure), A, i, {
|
|
4119
4119
|
...r,
|
|
4120
4120
|
...a,
|
|
@@ -4122,15 +4122,15 @@ class Vs {
|
|
|
4122
4122
|
});
|
|
4123
4123
|
};
|
|
4124
4124
|
this.resetRegExp();
|
|
4125
|
-
const u = (r == null ? void 0 : r.missingInterpolationHandler) || this.options.missingInterpolationHandler, p = ((
|
|
4125
|
+
const u = (r == null ? void 0 : r.missingInterpolationHandler) || this.options.missingInterpolationHandler, p = ((g = r == null ? void 0 : r.interpolation) == null ? void 0 : g.skipOnVariables) !== void 0 ? r.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
|
|
4126
4126
|
return [{
|
|
4127
4127
|
regex: this.regexpUnescape,
|
|
4128
|
-
safeValue: (
|
|
4128
|
+
safeValue: (m) => mn(m)
|
|
4129
4129
|
}, {
|
|
4130
4130
|
regex: this.regexp,
|
|
4131
|
-
safeValue: (
|
|
4132
|
-
}].forEach((
|
|
4133
|
-
for (l = 0; s =
|
|
4131
|
+
safeValue: (m) => this.escapeValue ? mn(this.escape(m)) : mn(m)
|
|
4132
|
+
}].forEach((m) => {
|
|
4133
|
+
for (l = 0; s = m.regex.exec(t); ) {
|
|
4134
4134
|
const y = s[1].trim();
|
|
4135
4135
|
if (o = d(y), o === void 0)
|
|
4136
4136
|
if (typeof u == "function") {
|
|
@@ -4144,8 +4144,8 @@ class Vs {
|
|
|
4144
4144
|
} else
|
|
4145
4145
|
this.logger.warn(`missed to pass in variable ${y} for interpolating ${t}`), o = "";
|
|
4146
4146
|
else !N(o) && !this.useRawValueToEscape && (o = z1(o));
|
|
4147
|
-
const v =
|
|
4148
|
-
if (t = t.replace(s[0], v), p ? (
|
|
4147
|
+
const v = m.safeValue(o);
|
|
4148
|
+
if (t = t.replace(s[0], v), p ? (m.regex.lastIndex += o.length, m.regex.lastIndex -= s[0].length) : m.regex.lastIndex = 0, l++, l >= this.maxReplaces)
|
|
4149
4149
|
break;
|
|
4150
4150
|
}
|
|
4151
4151
|
}), t;
|
|
@@ -4158,8 +4158,8 @@ class Vs {
|
|
|
4158
4158
|
const p = c.split(new RegExp(`${u}[ ]*{`));
|
|
4159
4159
|
let x = `{${p[1]}`;
|
|
4160
4160
|
c = p[0], x = this.interpolate(x, o);
|
|
4161
|
-
const
|
|
4162
|
-
(((
|
|
4161
|
+
const g = x.match(/'/g), m = x.match(/"/g);
|
|
4162
|
+
(((g == null ? void 0 : g.length) ?? 0) % 2 === 0 && !m || m.length % 2 !== 0) && (x = x.replace(/'/g, '"'));
|
|
4163
4163
|
try {
|
|
4164
4164
|
o = JSON.parse(x), d && (o = {
|
|
4165
4165
|
...d,
|
|
@@ -4218,7 +4218,7 @@ const Es = (e) => {
|
|
|
4218
4218
|
}, Us = (e) => (t, a, i) => e(ht(a), i)(t);
|
|
4219
4219
|
class Ys {
|
|
4220
4220
|
constructor(t = {}) {
|
|
4221
|
-
this.logger =
|
|
4221
|
+
this.logger = Se.create("formatter"), this.options = t, this.init(t);
|
|
4222
4222
|
}
|
|
4223
4223
|
init(t, a = {
|
|
4224
4224
|
interpolation: {}
|
|
@@ -4280,14 +4280,14 @@ class Ys {
|
|
|
4280
4280
|
if (this.formats[d]) {
|
|
4281
4281
|
let x = l;
|
|
4282
4282
|
try {
|
|
4283
|
-
const
|
|
4284
|
-
x = this.formats[d](l,
|
|
4283
|
+
const g = ((p = r == null ? void 0 : r.formatParams) == null ? void 0 : p[r.interpolationkey]) || {}, m = g.locale || g.lng || r.locale || r.lng || i;
|
|
4284
|
+
x = this.formats[d](l, m, {
|
|
4285
4285
|
...u,
|
|
4286
4286
|
...r,
|
|
4287
|
-
...
|
|
4287
|
+
...g
|
|
4288
4288
|
});
|
|
4289
|
-
} catch (
|
|
4290
|
-
this.logger.warn(
|
|
4289
|
+
} catch (g) {
|
|
4290
|
+
this.logger.warn(g);
|
|
4291
4291
|
}
|
|
4292
4292
|
return x;
|
|
4293
4293
|
} else
|
|
@@ -4302,7 +4302,7 @@ const Ks = (e, t) => {
|
|
|
4302
4302
|
class Zs extends nn {
|
|
4303
4303
|
constructor(t, a, i, r = {}) {
|
|
4304
4304
|
var s, o;
|
|
4305
|
-
super(), this.backend = t, this.store = a, this.services = i, this.languageUtils = i.languageUtils, this.options = r, this.logger =
|
|
4305
|
+
super(), this.backend = t, this.store = a, this.services = i, this.languageUtils = i.languageUtils, this.options = r, this.logger = Se.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = r.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = r.maxRetries >= 0 ? r.maxRetries : 5, this.retryTimeout = r.retryTimeout >= 1 ? r.retryTimeout : 350, this.state = {}, this.queue = [], (o = (s = this.backend) == null ? void 0 : s.init) == null || o.call(s, i, r.backend, r);
|
|
4306
4306
|
}
|
|
4307
4307
|
queueLoad(t, a, i, r) {
|
|
4308
4308
|
const s = {}, o = {}, l = {}, c = {};
|
|
@@ -4413,19 +4413,19 @@ class Zs extends nn {
|
|
|
4413
4413
|
}
|
|
4414
4414
|
if (!(i == null || i === "")) {
|
|
4415
4415
|
if ((x = this.backend) != null && x.create) {
|
|
4416
|
-
const
|
|
4416
|
+
const g = {
|
|
4417
4417
|
...o,
|
|
4418
4418
|
isUpdate: s
|
|
4419
|
-
},
|
|
4420
|
-
if (
|
|
4419
|
+
}, m = this.backend.create.bind(this.backend);
|
|
4420
|
+
if (m.length < 6)
|
|
4421
4421
|
try {
|
|
4422
4422
|
let y;
|
|
4423
|
-
|
|
4423
|
+
m.length === 5 ? y = m(t, a, i, r, g) : y = m(t, a, i, r), y && typeof y.then == "function" ? y.then((v) => l(null, v)).catch(l) : l(null, y);
|
|
4424
4424
|
} catch (y) {
|
|
4425
4425
|
l(y);
|
|
4426
4426
|
}
|
|
4427
4427
|
else
|
|
4428
|
-
|
|
4428
|
+
m(t, a, i, r, l, g);
|
|
4429
4429
|
}
|
|
4430
4430
|
!t || !t[0] || this.store.addResource(t[0], a, i, r);
|
|
4431
4431
|
}
|
|
@@ -4499,7 +4499,7 @@ const E1 = () => ({
|
|
|
4499
4499
|
};
|
|
4500
4500
|
class ut extends nn {
|
|
4501
4501
|
constructor(t = {}, a) {
|
|
4502
|
-
if (super(), this.options = U1(t), this.services = {}, this.logger =
|
|
4502
|
+
if (super(), this.options = U1(t), this.services = {}, this.logger = Se, this.modules = {
|
|
4503
4503
|
external: []
|
|
4504
4504
|
}, Xs(this), a && !this.isInitialized && !t.isClone) {
|
|
4505
4505
|
if (!this.options.initAsync)
|
|
@@ -4522,23 +4522,23 @@ class ut extends nn {
|
|
|
4522
4522
|
}, t.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = t.keySeparator), t.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = t.nsSeparator);
|
|
4523
4523
|
const r = (d) => d ? typeof d == "function" ? new d() : d : null;
|
|
4524
4524
|
if (!this.options.isClone) {
|
|
4525
|
-
this.modules.logger ?
|
|
4525
|
+
this.modules.logger ? Se.init(r(this.modules.logger), this.options) : Se.init(null, this.options);
|
|
4526
4526
|
let d;
|
|
4527
4527
|
this.modules.formatter ? d = this.modules.formatter : d = Ys;
|
|
4528
4528
|
const u = new F1(this.options);
|
|
4529
4529
|
this.store = new D1(this.options.resources, this.options);
|
|
4530
4530
|
const p = this.services;
|
|
4531
|
-
p.logger =
|
|
4531
|
+
p.logger = Se, p.resourceStore = this.store, p.languageUtils = u, p.pluralResolver = new Gs(u, {
|
|
4532
4532
|
prepend: this.options.pluralSeparator,
|
|
4533
4533
|
simplifyPluralSuffix: this.options.simplifyPluralSuffix
|
|
4534
4534
|
}), this.options.interpolation.format && this.options.interpolation.format !== i.interpolation.format && this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"), d && (!this.options.interpolation.format || this.options.interpolation.format === i.interpolation.format) && (p.formatter = r(d), p.formatter.init && p.formatter.init(p, this.options), this.options.interpolation.format = p.formatter.format.bind(p.formatter)), p.interpolator = new Vs(this.options), p.utils = {
|
|
4535
4535
|
hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
|
|
4536
|
-
}, p.backendConnector = new Zs(r(this.modules.backend), p.resourceStore, p, this.options), p.backendConnector.on("*", (
|
|
4537
|
-
this.emit(
|
|
4538
|
-
}), this.modules.languageDetector && (p.languageDetector = r(this.modules.languageDetector), p.languageDetector.init && p.languageDetector.init(p, this.options.detection, this.options)), this.modules.i18nFormat && (p.i18nFormat = r(this.modules.i18nFormat), p.i18nFormat.init && p.i18nFormat.init(this)), this.translator = new Et(this.services, this.options), this.translator.on("*", (
|
|
4539
|
-
this.emit(
|
|
4540
|
-
}), this.modules.external.forEach((
|
|
4541
|
-
|
|
4536
|
+
}, p.backendConnector = new Zs(r(this.modules.backend), p.resourceStore, p, this.options), p.backendConnector.on("*", (g, ...m) => {
|
|
4537
|
+
this.emit(g, ...m);
|
|
4538
|
+
}), this.modules.languageDetector && (p.languageDetector = r(this.modules.languageDetector), p.languageDetector.init && p.languageDetector.init(p, this.options.detection, this.options)), this.modules.i18nFormat && (p.i18nFormat = r(this.modules.i18nFormat), p.i18nFormat.init && p.i18nFormat.init(this)), this.translator = new Et(this.services, this.options), this.translator.on("*", (g, ...m) => {
|
|
4539
|
+
this.emit(g, ...m);
|
|
4540
|
+
}), this.modules.external.forEach((g) => {
|
|
4541
|
+
g.init && g.init(this);
|
|
4542
4542
|
});
|
|
4543
4543
|
}
|
|
4544
4544
|
if (this.format = this.options.interpolation.format, a || (a = wt), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
|
|
@@ -4729,29 +4729,29 @@ class ut extends nn {
|
|
|
4729
4729
|
};
|
|
4730
4730
|
}
|
|
4731
4731
|
}
|
|
4732
|
-
const
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
const
|
|
4743
|
-
|
|
4744
|
-
|
|
4745
|
-
|
|
4746
|
-
|
|
4747
|
-
|
|
4732
|
+
const se = ut.createInstance();
|
|
4733
|
+
se.createInstance = ut.createInstance;
|
|
4734
|
+
se.createInstance;
|
|
4735
|
+
se.dir;
|
|
4736
|
+
se.init;
|
|
4737
|
+
se.loadResources;
|
|
4738
|
+
se.reloadResources;
|
|
4739
|
+
se.use;
|
|
4740
|
+
se.changeLanguage;
|
|
4741
|
+
se.getFixedT;
|
|
4742
|
+
const ve = se.t;
|
|
4743
|
+
se.exists;
|
|
4744
|
+
se.setDefaultNamespace;
|
|
4745
|
+
se.hasLoadedNamespace;
|
|
4746
|
+
se.loadNamespaces;
|
|
4747
|
+
se.loadLanguages;
|
|
4748
4748
|
const qs = {
|
|
4749
4749
|
bottom: "270deg",
|
|
4750
4750
|
left: "0deg",
|
|
4751
4751
|
right: "180deg",
|
|
4752
4752
|
top: "90deg",
|
|
4753
4753
|
forLobby: "0deg"
|
|
4754
|
-
},
|
|
4754
|
+
}, Le = ({
|
|
4755
4755
|
position: e = "forLobby",
|
|
4756
4756
|
width: t = 9,
|
|
4757
4757
|
height: a = 14
|
|
@@ -4777,7 +4777,7 @@ const qs = {
|
|
|
4777
4777
|
)
|
|
4778
4778
|
}
|
|
4779
4779
|
),
|
|
4780
|
-
e === "forLobby" && /* @__PURE__ */ n.jsx("span", { className: "text", children:
|
|
4780
|
+
e === "forLobby" && /* @__PURE__ */ n.jsx("span", { className: "text", children: ve("Lobby") })
|
|
4781
4781
|
] }), Ga = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2014%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.45402%200.399902C9.87463%200.399915%2010.2805%200.554948%2010.594%200.835361C10.9075%201.11577%2011.1066%201.50189%2011.1534%201.9199H12.1171C12.4507%201.92011%2012.7721%202.04571%2013.0175%202.2718C13.2628%202.49788%2013.4143%202.80794%2013.4417%203.14046L13.4463%203.2499V5.5299C13.4463%206.16081%2013.205%206.76781%2012.7717%207.2264C12.3384%207.68498%2011.746%207.96038%2011.1161%207.9961L10.9565%208.00066C10.7032%208.79031%2010.2308%209.49174%209.59422%2010.0232C8.95765%2010.5547%208.18316%2010.8944%207.36098%2011.0027V12.1799H8.69326C9.32403%2012.1801%209.93085%2012.4215%2010.3893%2012.8548C10.8477%2013.2881%2011.123%2013.8803%2011.1587%2014.5101L11.1633%2014.6499V15.0299C11.1632%2015.1678%2011.1132%2015.3009%2011.0226%2015.4048C10.9319%2015.5086%2010.8066%2015.576%2010.67%2015.5946L10.5933%2015.5999H2.99174C2.85387%2015.6001%202.72061%2015.5503%202.61664%2015.4597C2.51267%2015.3692%202.44505%2015.244%202.4263%2015.1074L2.42174%2015.0299V14.6499C2.42169%2014.0191%202.66296%2013.4122%203.09609%2012.9537C3.52922%2012.4951%204.12138%2012.2196%204.75114%2012.1837L4.89174%2012.1799H6.22174V11.0027C5.39983%2010.8941%204.62567%2010.5543%203.98939%2010.0229C3.3531%209.49138%202.88088%208.7901%202.6277%208.00066L2.60794%207.9999C1.95285%207.9999%201.3246%207.73967%200.861386%207.27646C0.398171%206.81324%200.137939%206.18499%200.137939%205.5299V3.2499C0.137939%202.51574%200.733779%201.9199%201.46794%201.9199H2.43162C2.47837%201.50176%202.67763%201.11554%202.9913%200.835108C3.30496%200.554677%203.711%200.399728%204.13174%200.399902H9.45402ZM12.1171%203.0599H11.164V6.84698C11.4613%206.80474%2011.7355%206.66316%2011.9421%206.44527C12.1486%206.22739%2012.2754%205.94602%2012.3017%205.64694L12.3071%205.5299V3.2499C12.307%203.2071%2012.2925%203.16557%2012.2658%203.13205C12.2392%203.09853%2012.2021%203.07498%2012.1604%203.06522L12.1171%203.0599ZM2.42174%203.0599H1.46794C1.41755%203.0599%201.36922%203.07992%201.33359%203.11555C1.29796%203.15118%201.27794%203.19951%201.27794%203.2499V5.5299C1.2779%205.85041%201.3936%206.16016%201.60375%206.40215C1.81391%206.64415%202.10439%206.80211%202.42174%206.84698V3.0599Z'%20fill='url(%23paint0_linear_851_822)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_851_822'%20x1='-0.221746'%20y1='-2.13343'%20x2='19.2003'%20y2='7.59061'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23B97304'/%3e%3cstop%20offset='0.368995'%20stop-color='%23FFC15D'/%3e%3cstop%20offset='0.5'%20stop-color='%23FFD38B'/%3e%3cstop%20offset='0.611316'%20stop-color='%23FFC15D'/%3e%3cstop%20offset='1'%20stop-color='%23B97304'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", Qs = () => /* @__PURE__ */ n.jsx(
|
|
4782
4782
|
"svg",
|
|
4783
4783
|
{
|
|
@@ -4846,11 +4846,11 @@ const qs = {
|
|
|
4846
4846
|
}) => /* @__PURE__ */ n.jsxs(Js, { $height: i, $width: a, $isLandscape: s, children: [
|
|
4847
4847
|
/* @__PURE__ */ n.jsxs("div", { className: "header", children: [
|
|
4848
4848
|
/* @__PURE__ */ n.jsxs("div", { className: "icon", onClick: o, children: [
|
|
4849
|
-
o && /* @__PURE__ */ n.jsx(
|
|
4849
|
+
o && /* @__PURE__ */ n.jsx(Le, { height: 7, width: 12, position: "left" }),
|
|
4850
4850
|
/* @__PURE__ */ n.jsxs("p", { children: [
|
|
4851
|
-
|
|
4851
|
+
ve(e),
|
|
4852
4852
|
" ",
|
|
4853
|
-
/* @__PURE__ */ n.jsx("span", { children: !!l && `${
|
|
4853
|
+
/* @__PURE__ */ n.jsx("span", { children: !!l && `${ve("Dealer")} ${l}` })
|
|
4854
4854
|
] })
|
|
4855
4855
|
] }),
|
|
4856
4856
|
/* @__PURE__ */ n.jsx("div", { onClick: t, children: /* @__PURE__ */ n.jsx(en, {}) })
|
|
@@ -4939,32 +4939,32 @@ const to = {
|
|
|
4939
4939
|
color: ${({ $isActive: e }) => e ? "#111111" : "#ffffff"};
|
|
4940
4940
|
}
|
|
4941
4941
|
`, so = ({ count: e, active: t, setActive: a }) => {
|
|
4942
|
-
const [i, r] =
|
|
4942
|
+
const [i, r] = E([]), [s, o] = E([]), [l, c] = E([]), d = Array.from({ length: e }, (m, y) => y + 1), u = () => {
|
|
4943
4943
|
t !== e && a(t + 1);
|
|
4944
4944
|
}, p = () => {
|
|
4945
4945
|
t !== 1 && a(t - 1);
|
|
4946
4946
|
};
|
|
4947
|
-
|
|
4947
|
+
he(() => {
|
|
4948
4948
|
x();
|
|
4949
4949
|
}, [t]);
|
|
4950
4950
|
const x = () => {
|
|
4951
4951
|
if (e >= 10) {
|
|
4952
4952
|
if (t < 3) {
|
|
4953
|
-
const
|
|
4954
|
-
r(
|
|
4953
|
+
const m = d.slice(0, 3);
|
|
4954
|
+
r(m), o(["...", e]);
|
|
4955
4955
|
} else
|
|
4956
4956
|
r([1, "..."]);
|
|
4957
4957
|
if (t > e - 3) {
|
|
4958
|
-
const
|
|
4959
|
-
o(
|
|
4958
|
+
const m = d.slice(e - 3);
|
|
4959
|
+
o(m);
|
|
4960
4960
|
} else
|
|
4961
4961
|
o(["...", e]);
|
|
4962
4962
|
t >= 3 && t <= e - 3 ? c([t]) : c([]);
|
|
4963
4963
|
} else
|
|
4964
4964
|
c([...d]);
|
|
4965
|
-
},
|
|
4966
|
-
if (
|
|
4967
|
-
if (typeof
|
|
4965
|
+
}, g = (m, y) => {
|
|
4966
|
+
if (m !== t)
|
|
4967
|
+
if (typeof m == "string") {
|
|
4968
4968
|
if (y === 4 || y === 5) {
|
|
4969
4969
|
const v = d.slice(t, e), A = (v.length / 2).toFixed();
|
|
4970
4970
|
a(v[+A - 1]);
|
|
@@ -4973,7 +4973,7 @@ const to = {
|
|
|
4973
4973
|
a(v[+A - 1]);
|
|
4974
4974
|
}
|
|
4975
4975
|
} else
|
|
4976
|
-
a(
|
|
4976
|
+
a(m);
|
|
4977
4977
|
};
|
|
4978
4978
|
return /* @__PURE__ */ n.jsx(io, { children: /* @__PURE__ */ n.jsxs("div", { className: "wrapper", children: [
|
|
4979
4979
|
/* @__PURE__ */ n.jsx(
|
|
@@ -4983,19 +4983,19 @@ const to = {
|
|
|
4983
4983
|
isHoverActive: !1,
|
|
4984
4984
|
width: 26,
|
|
4985
4985
|
onClick: p,
|
|
4986
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
4986
|
+
icon: /* @__PURE__ */ n.jsx(Le, { height: 7, width: 12, position: "left" })
|
|
4987
4987
|
}
|
|
4988
4988
|
),
|
|
4989
4989
|
[...i, ...l, ...s].map(
|
|
4990
|
-
(
|
|
4990
|
+
(m, y) => /* @__PURE__ */ n.jsx(ro, { $isActive: t === m, children: /* @__PURE__ */ n.jsx(
|
|
4991
4991
|
Ht,
|
|
4992
4992
|
{
|
|
4993
4993
|
height: 26,
|
|
4994
4994
|
width: 26,
|
|
4995
|
-
onClick: () => m
|
|
4995
|
+
onClick: () => g(m, y),
|
|
4996
4996
|
isHoverActive: !1,
|
|
4997
|
-
text: String(
|
|
4998
|
-
isActiveBlue: t ===
|
|
4997
|
+
text: String(m),
|
|
4998
|
+
isActiveBlue: t === m,
|
|
4999
4999
|
textStyle: "p"
|
|
5000
5000
|
},
|
|
5001
5001
|
y
|
|
@@ -5008,7 +5008,7 @@ const to = {
|
|
|
5008
5008
|
width: 26,
|
|
5009
5009
|
onClick: u,
|
|
5010
5010
|
isHoverActive: !1,
|
|
5011
|
-
icon: /* @__PURE__ */ n.jsx(
|
|
5011
|
+
icon: /* @__PURE__ */ n.jsx(Le, { height: 7, width: 12, position: "right" })
|
|
5012
5012
|
}
|
|
5013
5013
|
)
|
|
5014
5014
|
] }) });
|
|
@@ -5399,7 +5399,7 @@ const to = {
|
|
|
5399
5399
|
handleClickRound: i,
|
|
5400
5400
|
historyData: r
|
|
5401
5401
|
}) => {
|
|
5402
|
-
const { t: s } =
|
|
5402
|
+
const { t: s } = U();
|
|
5403
5403
|
return /* @__PURE__ */ n.jsxs(Ea, { children: [
|
|
5404
5404
|
/* @__PURE__ */ n.jsxs(fo, { children: [
|
|
5405
5405
|
/* @__PURE__ */ n.jsxs("div", { className: "header", children: [
|
|
@@ -5509,12 +5509,12 @@ const pt = Array(4).fill([
|
|
|
5509
5509
|
textY: { top: 23, bottom: 23 },
|
|
5510
5510
|
iconX: { top: -2.5, bottom: 0.71 },
|
|
5511
5511
|
iconY: { top: -12, bottom: 0.92 }
|
|
5512
|
-
}, u = `rotate(180 ${t / 2} ${a / 2})`, p = (
|
|
5512
|
+
}, u = `rotate(180 ${t / 2} ${a / 2})`, p = (g, m, y) => /* @__PURE__ */ n.jsx(
|
|
5513
5513
|
"text",
|
|
5514
5514
|
{
|
|
5515
5515
|
className: "text",
|
|
5516
|
-
x: `${
|
|
5517
|
-
y: `${
|
|
5516
|
+
x: `${g}%`,
|
|
5517
|
+
y: `${m}%`,
|
|
5518
5518
|
fill: s,
|
|
5519
5519
|
style: { fontSize: l },
|
|
5520
5520
|
dominantBaseline: "middle",
|
|
@@ -5522,10 +5522,10 @@ const pt = Array(4).fill([
|
|
|
5522
5522
|
transform: `${c ? "scale(0.9, 1)" : ""} ${y || ""}`,
|
|
5523
5523
|
children: i
|
|
5524
5524
|
}
|
|
5525
|
-
), x = (
|
|
5525
|
+
), x = (g, m, y = "") => /* @__PURE__ */ n.jsx(
|
|
5526
5526
|
"path",
|
|
5527
5527
|
{
|
|
5528
|
-
transform: `translate(${t /
|
|
5528
|
+
transform: `translate(${t / g} ${a / m}) scale(${o}) ${y}`,
|
|
5529
5529
|
d: r,
|
|
5530
5530
|
fill: s
|
|
5531
5531
|
}
|
|
@@ -5583,12 +5583,12 @@ const pt = Array(4).fill([
|
|
|
5583
5583
|
}
|
|
5584
5584
|
`, Oo = ({ handleClickRound: e, indexHistory: t }) => /* @__PURE__ */ n.jsxs(Bo, { children: [
|
|
5585
5585
|
/* @__PURE__ */ n.jsxs(K1, { onClick: () => e((t ?? 0) - 1), children: [
|
|
5586
|
-
/* @__PURE__ */ n.jsx(
|
|
5586
|
+
/* @__PURE__ */ n.jsx(Le, { height: 8, width: 12, position: "left" }),
|
|
5587
5587
|
"Previous"
|
|
5588
5588
|
] }),
|
|
5589
5589
|
/* @__PURE__ */ n.jsxs(K1, { onClick: () => e((t ?? 0) + 1), children: [
|
|
5590
5590
|
"Next",
|
|
5591
|
-
/* @__PURE__ */ n.jsx(
|
|
5591
|
+
/* @__PURE__ */ n.jsx(Le, { height: 8, width: 12, position: "right" })
|
|
5592
5592
|
] })
|
|
5593
5593
|
] }), Un = ({ size: e = 17 }) => /* @__PURE__ */ n.jsx(
|
|
5594
5594
|
"svg",
|
|
@@ -5626,7 +5626,7 @@ const pt = Array(4).fill([
|
|
|
5626
5626
|
indexHistory: a,
|
|
5627
5627
|
isMobile: i = !0
|
|
5628
5628
|
}) => {
|
|
5629
|
-
const { t: r } =
|
|
5629
|
+
const { t: r } = U(), s = [
|
|
5630
5630
|
X.Ante,
|
|
5631
5631
|
X.Insurance,
|
|
5632
5632
|
X.PerfectPairs,
|
|
@@ -5702,13 +5702,13 @@ const pt = Array(4).fill([
|
|
|
5702
5702
|
c.splittedHands.length === 0 && /* @__PURE__ */ n.jsxs("div", { className: "hand", children: [
|
|
5703
5703
|
/* @__PURE__ */ n.jsx("span", { className: "final-value", children: c.hand.finalValue }),
|
|
5704
5704
|
c.hand.cards.map(({ scannerIndex: u }, p) => {
|
|
5705
|
-
const x = pt[u - 1].value,
|
|
5705
|
+
const x = pt[u - 1].value, g = Ut(u), m = Yt(u);
|
|
5706
5706
|
return /* @__PURE__ */ n.jsx(
|
|
5707
5707
|
Kt,
|
|
5708
5708
|
{
|
|
5709
|
-
color:
|
|
5709
|
+
color: m,
|
|
5710
5710
|
value: x,
|
|
5711
|
-
suit:
|
|
5711
|
+
suit: g
|
|
5712
5712
|
},
|
|
5713
5713
|
p
|
|
5714
5714
|
);
|
|
@@ -5717,8 +5717,8 @@ const pt = Array(4).fill([
|
|
|
5717
5717
|
c.splittedHands.map(
|
|
5718
5718
|
({ cards: u, finalValue: p }, x) => /* @__PURE__ */ n.jsxs("div", { className: "hand", children: [
|
|
5719
5719
|
/* @__PURE__ */ n.jsx("span", { className: "final-value", children: p }),
|
|
5720
|
-
u.map(({ scannerIndex:
|
|
5721
|
-
const y = pt[
|
|
5720
|
+
u.map(({ scannerIndex: g }, m) => {
|
|
5721
|
+
const y = pt[g - 1].value, v = Ut(g), A = Yt(g);
|
|
5722
5722
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: /* @__PURE__ */ n.jsx(
|
|
5723
5723
|
Kt,
|
|
5724
5724
|
{
|
|
@@ -5726,7 +5726,7 @@ const pt = Array(4).fill([
|
|
|
5726
5726
|
value: y,
|
|
5727
5727
|
suit: v
|
|
5728
5728
|
},
|
|
5729
|
-
|
|
5729
|
+
m
|
|
5730
5730
|
) });
|
|
5731
5731
|
}),
|
|
5732
5732
|
/* @__PURE__ */ n.jsx(Un, {})
|
|
@@ -5766,16 +5766,16 @@ const pt = Array(4).fill([
|
|
|
5766
5766
|
openRoundHistory: i,
|
|
5767
5767
|
isMobile: r = !0
|
|
5768
5768
|
}) => {
|
|
5769
|
-
const [s, o] =
|
|
5770
|
-
|
|
5769
|
+
const [s, o] = E(1), [l, c] = E(null), [d, u] = E(null);
|
|
5770
|
+
he(() => {
|
|
5771
5771
|
t(s);
|
|
5772
5772
|
}, [s]);
|
|
5773
5773
|
const p = (x) => {
|
|
5774
5774
|
c(e.rounds[x]), u(x), a(1);
|
|
5775
5775
|
};
|
|
5776
|
-
return
|
|
5776
|
+
return he(() => {
|
|
5777
5777
|
(d === null || d < 0) && a(0);
|
|
5778
|
-
}, [d]),
|
|
5778
|
+
}, [d]), he(() => {
|
|
5779
5779
|
i === 2 && (a(0), c(null), u(null));
|
|
5780
5780
|
}, [i]), /* @__PURE__ */ n.jsx(Ea, { children: l ? /* @__PURE__ */ n.jsx(
|
|
5781
5781
|
Do,
|
|
@@ -5861,7 +5861,7 @@ const pt = Array(4).fill([
|
|
|
5861
5861
|
sendTip: i,
|
|
5862
5862
|
currencyId: r
|
|
5863
5863
|
}) => {
|
|
5864
|
-
const [s, o] =
|
|
5864
|
+
const [s, o] = E(e[0]), { t: l } = U();
|
|
5865
5865
|
return /* @__PURE__ */ n.jsxs(Ro, { children: [
|
|
5866
5866
|
/* @__PURE__ */ n.jsx("div", { className: "chip-wrapper", children: e.map((c, d) => /* @__PURE__ */ n.jsx(
|
|
5867
5867
|
Pt,
|
|
@@ -5950,7 +5950,7 @@ const Po = f.div`
|
|
|
5950
5950
|
);
|
|
5951
5951
|
border-image-slice: 1;
|
|
5952
5952
|
}
|
|
5953
|
-
`,
|
|
5953
|
+
`, ke = f.div`
|
|
5954
5954
|
flex: ${({ align: e }) => e === "left" ? 2 : 1};
|
|
5955
5955
|
text-align: ${({ align: e }) => e || "center"};
|
|
5956
5956
|
font-size: 13px;
|
|
@@ -6023,11 +6023,11 @@ const Po = f.div`
|
|
|
6023
6023
|
var Ya = /* @__PURE__ */ ((e) => (e.Prizes = "Prizes", e.Leaderboard = "Leaderboard", e.Rules = "Rules", e))(Ya || {});
|
|
6024
6024
|
const $o = ({ tournamentData: e }) => {
|
|
6025
6025
|
if (!e) return null;
|
|
6026
|
-
const [t, a] =
|
|
6026
|
+
const [t, a] = E(
|
|
6027
6027
|
"Leaderboard"
|
|
6028
6028
|
/* Leaderboard */
|
|
6029
|
-
), [i, r] =
|
|
6030
|
-
|
|
6029
|
+
), [i, r] = E(N1(e)), { t: s } = U();
|
|
6030
|
+
he(() => {
|
|
6031
6031
|
const l = setInterval(() => {
|
|
6032
6032
|
r(N1(e));
|
|
6033
6033
|
}, 1e3);
|
|
@@ -6058,28 +6058,28 @@ const $o = ({ tournamentData: e }) => {
|
|
|
6058
6058
|
/* @__PURE__ */ n.jsxs(Eo, { children: [
|
|
6059
6059
|
t === "Prizes" && /* @__PURE__ */ n.jsxs("div", { children: [
|
|
6060
6060
|
/* @__PURE__ */ n.jsxs(vt, { children: [
|
|
6061
|
-
/* @__PURE__ */ n.jsx(
|
|
6062
|
-
/* @__PURE__ */ n.jsx(
|
|
6061
|
+
/* @__PURE__ */ n.jsx(ke, { align: "left", children: /* @__PURE__ */ n.jsx("span", { children: s("Place") }) }),
|
|
6062
|
+
/* @__PURE__ */ n.jsx(ke, { align: "right", children: /* @__PURE__ */ n.jsx("span", { children: s("Score") }) })
|
|
6063
6063
|
] }),
|
|
6064
6064
|
e.prizes.map((l, c) => /* @__PURE__ */ n.jsxs(vt, { children: [
|
|
6065
|
-
/* @__PURE__ */ n.jsx(
|
|
6066
|
-
/* @__PURE__ */ n.jsx(
|
|
6065
|
+
/* @__PURE__ */ n.jsx(ke, { align: "left", children: l.positionStart === l.positionEnd ? l.positionStart : `${l.positionStart} - ${l.positionEnd}` }),
|
|
6066
|
+
/* @__PURE__ */ n.jsx(ke, { align: "right", children: l.winning.toFixed(2) })
|
|
6067
6067
|
] }, c))
|
|
6068
6068
|
] }),
|
|
6069
6069
|
t === "Leaderboard" && /* @__PURE__ */ n.jsxs(Uo, { children: [
|
|
6070
6070
|
/* @__PURE__ */ n.jsxs(vt, { header: !0, children: [
|
|
6071
|
-
/* @__PURE__ */ n.jsx(
|
|
6072
|
-
/* @__PURE__ */ n.jsx(
|
|
6073
|
-
/* @__PURE__ */ n.jsx(
|
|
6071
|
+
/* @__PURE__ */ n.jsx(ke, { align: "left", children: s("Place") }),
|
|
6072
|
+
/* @__PURE__ */ n.jsx(ke, { align: "left", children: s("Nickname") }),
|
|
6073
|
+
/* @__PURE__ */ n.jsx(ke, { children: s("Score") })
|
|
6074
6074
|
] }),
|
|
6075
6075
|
e.leaderBoard.map((l) => /* @__PURE__ */ n.jsxs(
|
|
6076
6076
|
vt,
|
|
6077
6077
|
{
|
|
6078
6078
|
highlight: l.nickname === "You",
|
|
6079
6079
|
children: [
|
|
6080
|
-
/* @__PURE__ */ n.jsx(
|
|
6081
|
-
/* @__PURE__ */ n.jsx(
|
|
6082
|
-
/* @__PURE__ */ n.jsx(
|
|
6080
|
+
/* @__PURE__ */ n.jsx(ke, { align: "left", children: o(l.position) }),
|
|
6081
|
+
/* @__PURE__ */ n.jsx(ke, { align: "left", children: l.nickname }),
|
|
6082
|
+
/* @__PURE__ */ n.jsx(ke, { children: l.points })
|
|
6083
6083
|
]
|
|
6084
6084
|
},
|
|
6085
6085
|
l.position
|
|
@@ -6397,7 +6397,7 @@ const $o = ({ tournamentData: e }) => {
|
|
|
6397
6397
|
"Clicking on the Recycle bin button all the bets made up to that point will be cleared."
|
|
6398
6398
|
]
|
|
6399
6399
|
}, a2 = /<Card(\d+)\/>/g, i2 = ({ textKey: e }) => {
|
|
6400
|
-
const { t } =
|
|
6400
|
+
const { t } = U(), i = t(e).split(a2);
|
|
6401
6401
|
return /* @__PURE__ */ n.jsx(n.Fragment, { children: i.map((r, s) => {
|
|
6402
6402
|
if (s % 2 === 1) {
|
|
6403
6403
|
const o = Number(r);
|
|
@@ -6414,7 +6414,7 @@ const $o = ({ tournamentData: e }) => {
|
|
|
6414
6414
|
return r;
|
|
6415
6415
|
}) });
|
|
6416
6416
|
}, r2 = ({ textKey: e, value: t, index: a }) => {
|
|
6417
|
-
const { t: i } =
|
|
6417
|
+
const { t: i } = U(), r = () => /* @__PURE__ */ n.jsxs("div", { className: "table-wrapper", children: [
|
|
6418
6418
|
/* @__PURE__ */ n.jsx("p", { className: "title", children: i("Payments") }),
|
|
6419
6419
|
/* @__PURE__ */ n.jsxs("table", { className: "table", children: [
|
|
6420
6420
|
/* @__PURE__ */ n.jsx("thead", { children: /* @__PURE__ */ n.jsxs("tr", { className: "tr", children: [
|
|
@@ -6474,7 +6474,7 @@ const $o = ({ tournamentData: e }) => {
|
|
|
6474
6474
|
] }, d)) }, s))
|
|
6475
6475
|
] }, a);
|
|
6476
6476
|
}, s2 = () => {
|
|
6477
|
-
const [e, t] =
|
|
6477
|
+
const [e, t] = E(""), a = dt(null), i = dt({}), { t: r } = U(), s = (o) => {
|
|
6478
6478
|
t(o);
|
|
6479
6479
|
const l = i.current[o], c = a.current;
|
|
6480
6480
|
if (l && c) {
|
|
@@ -6485,7 +6485,7 @@ const $o = ({ tournamentData: e }) => {
|
|
|
6485
6485
|
});
|
|
6486
6486
|
}
|
|
6487
6487
|
};
|
|
6488
|
-
return
|
|
6488
|
+
return he(() => {
|
|
6489
6489
|
if (!a.current) return;
|
|
6490
6490
|
const o = {
|
|
6491
6491
|
root: a.current,
|
|
@@ -6514,7 +6514,7 @@ const $o = ({ tournamentData: e }) => {
|
|
|
6514
6514
|
onClick: () => s(o),
|
|
6515
6515
|
children: [
|
|
6516
6516
|
/* @__PURE__ */ n.jsx("p", { className: "item-text", children: r(o) }),
|
|
6517
|
-
/* @__PURE__ */ n.jsx(
|
|
6517
|
+
/* @__PURE__ */ n.jsx(Le, { position: "right", height: 6, width: 9 })
|
|
6518
6518
|
]
|
|
6519
6519
|
},
|
|
6520
6520
|
`name_${l}`
|
|
@@ -6685,7 +6685,7 @@ const $o = ({ tournamentData: e }) => {
|
|
|
6685
6685
|
outline: none;
|
|
6686
6686
|
}
|
|
6687
6687
|
`, h2 = ({ onSendMessage: e, messages: t, isMobile: a }) => {
|
|
6688
|
-
const { t: i } =
|
|
6688
|
+
const { t: i } = U(), [r, s] = E(""), o = 0, l = (d) => {
|
|
6689
6689
|
const u = d.target.value;
|
|
6690
6690
|
(u.trim().length || r.length === 1) && s(u);
|
|
6691
6691
|
}, c = () => {
|
|
@@ -6830,7 +6830,7 @@ const $o = ({ tournamentData: e }) => {
|
|
|
6830
6830
|
}
|
|
6831
6831
|
}
|
|
6832
6832
|
`, m2 = ({ onSendMessage: e, messages: t, isMobile: a = !1 }) => {
|
|
6833
|
-
const [i, r] =
|
|
6833
|
+
const [i, r] = E(""), { t: s } = U(), o = (c) => {
|
|
6834
6834
|
const d = c.target.value;
|
|
6835
6835
|
(d.trim().length || i.length === 1) && r(d);
|
|
6836
6836
|
}, l = () => {
|
|
@@ -7024,10 +7024,10 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
7024
7024
|
nickName: l,
|
|
7025
7025
|
errorCode: c
|
|
7026
7026
|
}) => {
|
|
7027
|
-
const { t: d } =
|
|
7027
|
+
const { t: d } = U(), [u, p] = E(
|
|
7028
7028
|
s || "Auto"
|
|
7029
|
-
), [x,
|
|
7030
|
-
o(x),
|
|
7029
|
+
), [x, g] = E(""), m = () => {
|
|
7030
|
+
o(x), g("");
|
|
7031
7031
|
};
|
|
7032
7032
|
return /* @__PURE__ */ n.jsxs(w2, { children: [
|
|
7033
7033
|
/* @__PURE__ */ n.jsxs("div", { className: "video-quality", children: [
|
|
@@ -7079,12 +7079,12 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
7079
7079
|
C2,
|
|
7080
7080
|
{
|
|
7081
7081
|
value: x,
|
|
7082
|
-
onChange: ({ target: y }) =>
|
|
7082
|
+
onChange: ({ target: y }) => g(y.value),
|
|
7083
7083
|
placeholder: d("Enter new nickname"),
|
|
7084
7084
|
error: c === Za.NicknameAlreadyExists ? d("Nickname already in use") : void 0
|
|
7085
7085
|
}
|
|
7086
7086
|
),
|
|
7087
|
-
/* @__PURE__ */ n.jsx("button", { onClick:
|
|
7087
|
+
/* @__PURE__ */ n.jsx("button", { onClick: m, children: d("Change") })
|
|
7088
7088
|
] })
|
|
7089
7089
|
] })
|
|
7090
7090
|
] });
|
|
@@ -7272,7 +7272,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
7272
7272
|
width: 35%;
|
|
7273
7273
|
}
|
|
7274
7274
|
`, Xa = (e) => {
|
|
7275
|
-
const { t } =
|
|
7275
|
+
const { t } = U();
|
|
7276
7276
|
return /* @__PURE__ */ n.jsxs(L2, { children: [
|
|
7277
7277
|
/* @__PURE__ */ n.jsxs("div", { className: "main-title", children: [
|
|
7278
7278
|
/* @__PURE__ */ n.jsx("p", { children: t("Bet") }),
|
|
@@ -7309,19 +7309,19 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
7309
7309
|
streamVolume: u,
|
|
7310
7310
|
effectsVolume: p,
|
|
7311
7311
|
setEffectsVolume: x,
|
|
7312
|
-
setStreamVolume:
|
|
7313
|
-
tournamentData:
|
|
7312
|
+
setStreamVolume: g,
|
|
7313
|
+
tournamentData: m,
|
|
7314
7314
|
openRoundHistory: y,
|
|
7315
7315
|
balance: v,
|
|
7316
7316
|
getHistory: A,
|
|
7317
7317
|
sendTip: w = () => {
|
|
7318
7318
|
},
|
|
7319
|
-
limits:
|
|
7319
|
+
limits: S = S2,
|
|
7320
7320
|
currencyId: j,
|
|
7321
7321
|
handleStreamQualityChange: T,
|
|
7322
|
-
streamQuality:
|
|
7322
|
+
streamQuality: L,
|
|
7323
7323
|
nickNameChange: k,
|
|
7324
|
-
nickName:
|
|
7324
|
+
nickName: M,
|
|
7325
7325
|
errorCode: z
|
|
7326
7326
|
}) => {
|
|
7327
7327
|
switch (e) {
|
|
@@ -7341,11 +7341,11 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
7341
7341
|
streamVolume: u,
|
|
7342
7342
|
effectsVolume: p,
|
|
7343
7343
|
setEffectsVolume: x,
|
|
7344
|
-
setStreamVolume:
|
|
7344
|
+
setStreamVolume: g,
|
|
7345
7345
|
handleStreamQualityChange: T,
|
|
7346
|
-
streamQuality:
|
|
7346
|
+
streamQuality: L,
|
|
7347
7347
|
nickNameChange: k,
|
|
7348
|
-
nickName:
|
|
7348
|
+
nickName: M,
|
|
7349
7349
|
errorCode: z
|
|
7350
7350
|
}
|
|
7351
7351
|
);
|
|
@@ -7372,7 +7372,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
7372
7372
|
}
|
|
7373
7373
|
);
|
|
7374
7374
|
case B.Tournament:
|
|
7375
|
-
return /* @__PURE__ */ n.jsx($o, { tournamentData:
|
|
7375
|
+
return /* @__PURE__ */ n.jsx($o, { tournamentData: m });
|
|
7376
7376
|
case B.Info:
|
|
7377
7377
|
return /* @__PURE__ */ n.jsx(s2, {});
|
|
7378
7378
|
case B.Support:
|
|
@@ -7385,7 +7385,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
7385
7385
|
}
|
|
7386
7386
|
);
|
|
7387
7387
|
case B.Limit:
|
|
7388
|
-
return /* @__PURE__ */ n.jsx(Xa, { ...
|
|
7388
|
+
return /* @__PURE__ */ n.jsx(Xa, { ...S });
|
|
7389
7389
|
default:
|
|
7390
7390
|
return /* @__PURE__ */ n.jsx(n.Fragment, {});
|
|
7391
7391
|
}
|
|
@@ -7596,34 +7596,35 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
7596
7596
|
messages: s,
|
|
7597
7597
|
historyData: o,
|
|
7598
7598
|
onSendMessage: l,
|
|
7599
|
-
|
|
7600
|
-
|
|
7601
|
-
|
|
7602
|
-
|
|
7603
|
-
|
|
7599
|
+
tournamentData: c,
|
|
7600
|
+
isTournamentActive: d,
|
|
7601
|
+
chipAmounts: u,
|
|
7602
|
+
messagesSupport: p,
|
|
7603
|
+
onSendMessageSupport: x,
|
|
7604
|
+
isLandscape: g,
|
|
7604
7605
|
streamVolume: m,
|
|
7605
|
-
balance:
|
|
7606
|
-
currencyId:
|
|
7607
|
-
effectsVolume:
|
|
7608
|
-
setEffectsVolume:
|
|
7609
|
-
setStreamVolume:
|
|
7610
|
-
getHistory:
|
|
7611
|
-
limits:
|
|
7612
|
-
sendTip:
|
|
7613
|
-
handleStreamQualityChange:
|
|
7614
|
-
streamQuality:
|
|
7615
|
-
nickNameChange:
|
|
7616
|
-
nickName:
|
|
7617
|
-
dealerName:
|
|
7618
|
-
errorCode:
|
|
7606
|
+
balance: y,
|
|
7607
|
+
currencyId: v,
|
|
7608
|
+
effectsVolume: A,
|
|
7609
|
+
setEffectsVolume: w,
|
|
7610
|
+
setStreamVolume: S,
|
|
7611
|
+
getHistory: j,
|
|
7612
|
+
limits: T,
|
|
7613
|
+
sendTip: L,
|
|
7614
|
+
handleStreamQualityChange: k,
|
|
7615
|
+
streamQuality: M,
|
|
7616
|
+
nickNameChange: z,
|
|
7617
|
+
nickName: H,
|
|
7618
|
+
dealerName: $,
|
|
7619
|
+
errorCode: fe
|
|
7619
7620
|
}) => {
|
|
7620
|
-
const [
|
|
7621
|
-
if (
|
|
7622
|
-
|
|
7621
|
+
const [V, Z] = E(0), [re, _] = E(null), [D, te] = E(!1), { t: Y } = U(), [ue, q] = E(0), Q = () => _(null), oe = ks(re, g, V === 1), pe = (R) => {
|
|
7622
|
+
if (R === B.VolumeOn) {
|
|
7623
|
+
S(m === 0 ? 100 : 0);
|
|
7623
7624
|
return;
|
|
7624
|
-
} else
|
|
7625
|
-
|
|
7626
|
-
},
|
|
7625
|
+
} else R !== B.closeMenu && _(R);
|
|
7626
|
+
te(!1);
|
|
7627
|
+
}, xe = V === 1 ? { headerClick: () => Z(2) } : {}, ye = (R) => [
|
|
7627
7628
|
{
|
|
7628
7629
|
name: "Settings",
|
|
7629
7630
|
buttonType: B.Settings,
|
|
@@ -7631,7 +7632,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
7631
7632
|
},
|
|
7632
7633
|
{
|
|
7633
7634
|
buttonType: B.VolumeOn,
|
|
7634
|
-
icon:
|
|
7635
|
+
icon: R === 0 ? qa() : tn()
|
|
7635
7636
|
},
|
|
7636
7637
|
{
|
|
7637
7638
|
buttonType: B.closeMenu,
|
|
@@ -7639,125 +7640,126 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
7639
7640
|
}
|
|
7640
7641
|
];
|
|
7641
7642
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
7642
|
-
/* @__PURE__ */ n.jsx(O2, { onClick: () =>
|
|
7643
|
-
|
|
7643
|
+
/* @__PURE__ */ n.jsx(O2, { onClick: () => te(!0), children: /* @__PURE__ */ n.jsx(Qs, {}) }),
|
|
7644
|
+
re && oe && /* @__PURE__ */ n.jsx(
|
|
7644
7645
|
_s,
|
|
7645
7646
|
{
|
|
7646
|
-
isLandscape:
|
|
7647
|
+
isLandscape: g,
|
|
7647
7648
|
close: Q,
|
|
7648
|
-
...
|
|
7649
|
-
...
|
|
7650
|
-
dealerName:
|
|
7649
|
+
...oe,
|
|
7650
|
+
...xe,
|
|
7651
|
+
dealerName: re === B.Tip ? $ : "",
|
|
7651
7652
|
children: /* @__PURE__ */ n.jsx(
|
|
7652
7653
|
Mn,
|
|
7653
7654
|
{
|
|
7654
|
-
|
|
7655
|
+
tournamentData: c,
|
|
7656
|
+
getHistory: j,
|
|
7655
7657
|
streamVolume: m,
|
|
7656
|
-
effectsVolume:
|
|
7657
|
-
setEffectsVolume:
|
|
7658
|
-
setStreamVolume:
|
|
7659
|
-
activeAction:
|
|
7658
|
+
effectsVolume: A,
|
|
7659
|
+
setEffectsVolume: w,
|
|
7660
|
+
setStreamVolume: S,
|
|
7661
|
+
activeAction: re,
|
|
7660
7662
|
messages: s,
|
|
7661
|
-
currencyId:
|
|
7663
|
+
currencyId: v,
|
|
7662
7664
|
onSendMessage: l,
|
|
7663
|
-
chipAmounts:
|
|
7664
|
-
balance:
|
|
7665
|
-
messagesSupport:
|
|
7666
|
-
onSendMessageSupport:
|
|
7665
|
+
chipAmounts: u,
|
|
7666
|
+
balance: y,
|
|
7667
|
+
messagesSupport: p,
|
|
7668
|
+
onSendMessageSupport: x,
|
|
7667
7669
|
historyData: o,
|
|
7668
7670
|
isMobile: !0,
|
|
7669
|
-
isLandscape:
|
|
7670
|
-
openRoundHistory:
|
|
7671
|
-
setOpenRoundHistory:
|
|
7672
|
-
limits:
|
|
7673
|
-
sendTip: (
|
|
7674
|
-
|
|
7671
|
+
isLandscape: g,
|
|
7672
|
+
openRoundHistory: V,
|
|
7673
|
+
setOpenRoundHistory: Z,
|
|
7674
|
+
limits: T,
|
|
7675
|
+
sendTip: (R) => {
|
|
7676
|
+
_(null), te(!1), L(R);
|
|
7675
7677
|
},
|
|
7676
|
-
handleStreamQualityChange:
|
|
7677
|
-
streamQuality:
|
|
7678
|
-
nickNameChange:
|
|
7679
|
-
nickName:
|
|
7680
|
-
errorCode:
|
|
7678
|
+
handleStreamQualityChange: k,
|
|
7679
|
+
streamQuality: M,
|
|
7680
|
+
nickNameChange: z,
|
|
7681
|
+
nickName: H,
|
|
7682
|
+
errorCode: fe
|
|
7681
7683
|
}
|
|
7682
7684
|
)
|
|
7683
7685
|
}
|
|
7684
7686
|
),
|
|
7685
|
-
|
|
7687
|
+
D && /* @__PURE__ */ n.jsxs(
|
|
7686
7688
|
I2,
|
|
7687
7689
|
{
|
|
7688
|
-
onTouchStart: (
|
|
7689
|
-
onTouchMove: (
|
|
7690
|
-
onTouchEnd: (
|
|
7691
|
-
$isLandscape:
|
|
7690
|
+
onTouchStart: (R) => js(R, q),
|
|
7691
|
+
onTouchMove: (R) => Ss(R, ue, te),
|
|
7692
|
+
onTouchEnd: (R) => Ls(R, q),
|
|
7693
|
+
$isLandscape: g,
|
|
7692
7694
|
children: [
|
|
7693
7695
|
/* @__PURE__ */ n.jsxs(N2, { children: [
|
|
7694
7696
|
/* @__PURE__ */ n.jsxs(T2, { children: [
|
|
7695
|
-
/* @__PURE__ */ n.jsx("div", { className: "name-contener", children: /* @__PURE__ */ n.jsx("p", { className: "name", "data-testid": "game-name", children:
|
|
7697
|
+
/* @__PURE__ */ n.jsx("div", { className: "name-contener", children: /* @__PURE__ */ n.jsx("p", { className: "name", "data-testid": "game-name", children: Y(e) }) }),
|
|
7696
7698
|
/* @__PURE__ */ n.jsxs("div", { className: "round-contener", children: [
|
|
7697
7699
|
/* @__PURE__ */ n.jsxs("p", { className: "round-text", children: [
|
|
7698
|
-
|
|
7700
|
+
Y("round"),
|
|
7699
7701
|
":"
|
|
7700
7702
|
] }),
|
|
7701
7703
|
/* @__PURE__ */ n.jsx("p", { className: "round", "data-testid": "game-round", children: t })
|
|
7702
7704
|
] })
|
|
7703
7705
|
] }),
|
|
7704
|
-
/* @__PURE__ */ n.jsx("div", { className: "button-wrapper", children:
|
|
7706
|
+
/* @__PURE__ */ n.jsx("div", { className: "button-wrapper", children: ye(m).map((R) => /* @__PURE__ */ n.jsx(
|
|
7705
7707
|
"button",
|
|
7706
7708
|
{
|
|
7707
7709
|
className: "button",
|
|
7708
|
-
onClick: () =>
|
|
7709
|
-
children:
|
|
7710
|
+
onClick: () => pe(R.buttonType),
|
|
7711
|
+
children: R.icon
|
|
7710
7712
|
},
|
|
7711
|
-
|
|
7713
|
+
R.buttonType
|
|
7712
7714
|
)) })
|
|
7713
7715
|
] }),
|
|
7714
7716
|
/* @__PURE__ */ n.jsxs(z2, { children: [
|
|
7715
7717
|
/* @__PURE__ */ n.jsxs(
|
|
7716
7718
|
Z1,
|
|
7717
7719
|
{
|
|
7718
|
-
$isLandscape:
|
|
7720
|
+
$isLandscape: g,
|
|
7719
7721
|
onClick: () => Vn(a, i, r),
|
|
7720
7722
|
children: [
|
|
7721
|
-
/* @__PURE__ */ n.jsx(
|
|
7722
|
-
/* @__PURE__ */ n.jsx("p", { className: "text", children:
|
|
7723
|
+
/* @__PURE__ */ n.jsx(Le, { position: "left" }),
|
|
7724
|
+
/* @__PURE__ */ n.jsx("p", { className: "text", children: Y("Back To Lobby") })
|
|
7723
7725
|
]
|
|
7724
7726
|
}
|
|
7725
7727
|
),
|
|
7726
|
-
/* @__PURE__ */ n.jsxs(B2, { $isLandscape:
|
|
7727
|
-
/* @__PURE__ */ n.jsx("div", { className: "menu-line", children: vs.map((
|
|
7728
|
+
/* @__PURE__ */ n.jsxs(B2, { $isLandscape: g, children: [
|
|
7729
|
+
/* @__PURE__ */ n.jsx("div", { className: "menu-line", children: vs.map((R) => /* @__PURE__ */ n.jsxs(
|
|
7728
7730
|
X1,
|
|
7729
7731
|
{
|
|
7730
|
-
$isLandscape:
|
|
7731
|
-
onClick: () =>
|
|
7732
|
+
$isLandscape: g,
|
|
7733
|
+
onClick: () => pe(R.buttonType),
|
|
7732
7734
|
children: [
|
|
7733
|
-
|
|
7734
|
-
/* @__PURE__ */ n.jsx("p", { className: "p", children:
|
|
7735
|
+
R.icon,
|
|
7736
|
+
/* @__PURE__ */ n.jsx("p", { className: "p", children: Y(R.name) })
|
|
7735
7737
|
]
|
|
7736
7738
|
},
|
|
7737
|
-
|
|
7739
|
+
R.buttonType
|
|
7738
7740
|
)) }),
|
|
7739
|
-
/* @__PURE__ */ n.jsx("div", { className: "menu-line", children: As.map((
|
|
7741
|
+
/* @__PURE__ */ n.jsx("div", { className: "menu-line", children: As.map((R) => /* @__PURE__ */ n.jsxs(
|
|
7740
7742
|
X1,
|
|
7741
7743
|
{
|
|
7742
|
-
$isLandscape:
|
|
7743
|
-
onClick: () =>
|
|
7744
|
+
$isLandscape: g,
|
|
7745
|
+
onClick: () => pe(R.buttonType),
|
|
7744
7746
|
children: [
|
|
7745
|
-
|
|
7746
|
-
/* @__PURE__ */ n.jsx("p", { className: "p", children:
|
|
7747
|
+
R.icon,
|
|
7748
|
+
/* @__PURE__ */ n.jsx("p", { className: "p", children: Y(R.name) })
|
|
7747
7749
|
]
|
|
7748
7750
|
},
|
|
7749
|
-
|
|
7751
|
+
R.buttonType
|
|
7750
7752
|
)) })
|
|
7751
7753
|
] }),
|
|
7752
|
-
|
|
7754
|
+
d && /* @__PURE__ */ n.jsxs(
|
|
7753
7755
|
Z1,
|
|
7754
7756
|
{
|
|
7755
|
-
$isLandscape:
|
|
7757
|
+
$isLandscape: g,
|
|
7756
7758
|
$tournament: !0,
|
|
7757
|
-
onClick: () =>
|
|
7759
|
+
onClick: () => pe(B.Tournament),
|
|
7758
7760
|
children: [
|
|
7759
7761
|
/* @__PURE__ */ n.jsx("img", { src: Ga, alt: "Gold" }),
|
|
7760
|
-
/* @__PURE__ */ n.jsx("p", { className: "text", children:
|
|
7762
|
+
/* @__PURE__ */ n.jsx("p", { className: "text", children: Y("Tournament") })
|
|
7761
7763
|
]
|
|
7762
7764
|
}
|
|
7763
7765
|
)
|
|
@@ -7812,11 +7814,11 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
7812
7814
|
headerClick: s,
|
|
7813
7815
|
dealerName: o
|
|
7814
7816
|
}) => {
|
|
7815
|
-
const { t: l } =
|
|
7817
|
+
const { t: l } = U();
|
|
7816
7818
|
return /* @__PURE__ */ n.jsxs(M2, { height: i, width: a, children: [
|
|
7817
7819
|
/* @__PURE__ */ n.jsxs("div", { className: "header", children: [
|
|
7818
7820
|
/* @__PURE__ */ n.jsxs("div", { className: "icon", onClick: s, children: [
|
|
7819
|
-
s && /* @__PURE__ */ n.jsx(
|
|
7821
|
+
s && /* @__PURE__ */ n.jsx(Le, { height: 7, width: 12, position: "left" }),
|
|
7820
7822
|
/* @__PURE__ */ n.jsxs("p", { children: [
|
|
7821
7823
|
l(e),
|
|
7822
7824
|
" ",
|
|
@@ -7996,11 +7998,11 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
7996
7998
|
urlParam: s,
|
|
7997
7999
|
limits: o
|
|
7998
8000
|
}) => {
|
|
7999
|
-
const [l, c] =
|
|
8001
|
+
const [l, c] = E(!1), { t: d } = U();
|
|
8000
8002
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
8001
8003
|
/* @__PURE__ */ n.jsxs(F2, { children: [
|
|
8002
8004
|
/* @__PURE__ */ n.jsxs(W2, { onClick: () => Vn(i, r, s), children: [
|
|
8003
|
-
/* @__PURE__ */ n.jsx("div", { className: "lobby-content", children: /* @__PURE__ */ n.jsx(
|
|
8005
|
+
/* @__PURE__ */ n.jsx("div", { className: "lobby-content", children: /* @__PURE__ */ n.jsx(Le, { height: 7, width: 12 }) }),
|
|
8004
8006
|
/* @__PURE__ */ n.jsx("div", { className: "company-logo", children: /* @__PURE__ */ n.jsx(H2, {}) })
|
|
8005
8007
|
] }),
|
|
8006
8008
|
/* @__PURE__ */ n.jsx(G2, {}),
|
|
@@ -8014,7 +8016,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8014
8016
|
className: "button",
|
|
8015
8017
|
onClick: () => c(!l),
|
|
8016
8018
|
children: /* @__PURE__ */ n.jsx(
|
|
8017
|
-
|
|
8019
|
+
Le,
|
|
8018
8020
|
{
|
|
8019
8021
|
height: 7,
|
|
8020
8022
|
width: 12,
|
|
@@ -8072,62 +8074,62 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8072
8074
|
streamVolume: u,
|
|
8073
8075
|
effectsVolume: p,
|
|
8074
8076
|
setEffectsVolume: x,
|
|
8075
|
-
setStreamVolume:
|
|
8076
|
-
tournamentData:
|
|
8077
|
+
setStreamVolume: g,
|
|
8078
|
+
tournamentData: m,
|
|
8077
8079
|
isTournamentDetailsVisible: y,
|
|
8078
8080
|
getHistory: v,
|
|
8079
8081
|
sendTip: A,
|
|
8080
8082
|
currencyId: w,
|
|
8081
|
-
handleStreamQualityChange:
|
|
8083
|
+
handleStreamQualityChange: S,
|
|
8082
8084
|
streamQuality: j,
|
|
8083
8085
|
nickNameChange: T,
|
|
8084
|
-
nickName:
|
|
8086
|
+
nickName: L,
|
|
8085
8087
|
dealerName: k,
|
|
8086
|
-
errorCode:
|
|
8088
|
+
errorCode: M
|
|
8087
8089
|
}) => {
|
|
8088
|
-
const [z,
|
|
8089
|
-
if (
|
|
8090
|
-
|
|
8090
|
+
const [z, H] = E(null), [$, fe] = E(0), V = ws(z, $ === 1), Z = (D, te) => {
|
|
8091
|
+
if (D.buttonType === B.FullScreen && d(), D.buttonType === B.VolumeOn) {
|
|
8092
|
+
g(u === 0 ? 100 : 0);
|
|
8091
8093
|
return;
|
|
8092
8094
|
} else
|
|
8093
|
-
|
|
8094
|
-
},
|
|
8095
|
-
|
|
8096
|
-
y &&
|
|
8095
|
+
H(te ? null : D.buttonType);
|
|
8096
|
+
}, re = (D) => D.buttonType === B.FullScreen && c ? U2() : D.buttonType === B.VolumeOn ? u === 0 ? qa() : tn() : D.icon;
|
|
8097
|
+
he(() => {
|
|
8098
|
+
y && H(B.Tournament);
|
|
8097
8099
|
}, [y]);
|
|
8098
|
-
const
|
|
8100
|
+
const _ = $ === 1 ? { headerClick: () => fe(2) } : {};
|
|
8099
8101
|
return /* @__PURE__ */ n.jsxs(E2, { children: [
|
|
8100
|
-
/* @__PURE__ */ n.jsx(V2, { children: Cs.map((
|
|
8101
|
-
const
|
|
8102
|
-
return
|
|
8102
|
+
/* @__PURE__ */ n.jsx(V2, { children: Cs.map((D, te) => {
|
|
8103
|
+
const Y = z === D.buttonType;
|
|
8104
|
+
return D.buttonType === B.Tournament && !a ? null : /* @__PURE__ */ n.jsx(
|
|
8103
8105
|
Ht,
|
|
8104
8106
|
{
|
|
8105
|
-
icon:
|
|
8106
|
-
isValueButton:
|
|
8107
|
-
isActive:
|
|
8108
|
-
onClick: () =>
|
|
8109
|
-
buttonInfo:
|
|
8110
|
-
setStreamVolume:
|
|
8107
|
+
icon: re(D),
|
|
8108
|
+
isValueButton: D.buttonType === B.VolumeOn,
|
|
8109
|
+
isActive: Y,
|
|
8110
|
+
onClick: () => Z(D, Y),
|
|
8111
|
+
buttonInfo: D == null ? void 0 : D.name,
|
|
8112
|
+
setStreamVolume: g,
|
|
8111
8113
|
streamVolume: u
|
|
8112
8114
|
},
|
|
8113
|
-
|
|
8115
|
+
te
|
|
8114
8116
|
);
|
|
8115
8117
|
}) }),
|
|
8116
8118
|
z && /* @__PURE__ */ n.jsx(n.Fragment, { children: V ? /* @__PURE__ */ n.jsx(
|
|
8117
8119
|
Qa,
|
|
8118
8120
|
{
|
|
8119
|
-
close: () =>
|
|
8121
|
+
close: () => H(null),
|
|
8120
8122
|
...V,
|
|
8121
|
-
...
|
|
8123
|
+
..._,
|
|
8122
8124
|
dealerName: z === B.Tip ? k : "",
|
|
8123
8125
|
children: /* @__PURE__ */ n.jsx(
|
|
8124
8126
|
Mn,
|
|
8125
8127
|
{
|
|
8126
8128
|
getHistory: v,
|
|
8127
8129
|
historyData: o,
|
|
8128
|
-
setOpenRoundHistory:
|
|
8130
|
+
setOpenRoundHistory: fe,
|
|
8129
8131
|
activeAction: z,
|
|
8130
|
-
openRoundHistory:
|
|
8132
|
+
openRoundHistory: $,
|
|
8131
8133
|
messages: e,
|
|
8132
8134
|
currencyId: w,
|
|
8133
8135
|
onSendMessage: t,
|
|
@@ -8138,16 +8140,16 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8138
8140
|
streamVolume: u,
|
|
8139
8141
|
effectsVolume: p,
|
|
8140
8142
|
setEffectsVolume: x,
|
|
8141
|
-
setStreamVolume:
|
|
8142
|
-
tournamentData:
|
|
8143
|
-
sendTip: (
|
|
8144
|
-
|
|
8143
|
+
setStreamVolume: g,
|
|
8144
|
+
tournamentData: m,
|
|
8145
|
+
sendTip: (D) => {
|
|
8146
|
+
H(null), A(D);
|
|
8145
8147
|
},
|
|
8146
|
-
handleStreamQualityChange:
|
|
8148
|
+
handleStreamQualityChange: S,
|
|
8147
8149
|
streamQuality: j,
|
|
8148
8150
|
nickNameChange: T,
|
|
8149
|
-
nickName:
|
|
8150
|
-
errorCode:
|
|
8151
|
+
nickName: L,
|
|
8152
|
+
errorCode: M
|
|
8151
8153
|
}
|
|
8152
8154
|
)
|
|
8153
8155
|
}
|
|
@@ -8155,9 +8157,9 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8155
8157
|
Mn,
|
|
8156
8158
|
{
|
|
8157
8159
|
getHistory: v,
|
|
8158
|
-
setOpenRoundHistory:
|
|
8160
|
+
setOpenRoundHistory: fe,
|
|
8159
8161
|
activeAction: z,
|
|
8160
|
-
openRoundHistory:
|
|
8162
|
+
openRoundHistory: $,
|
|
8161
8163
|
historyData: o,
|
|
8162
8164
|
messages: e,
|
|
8163
8165
|
onSendMessage: t,
|
|
@@ -8169,13 +8171,13 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8169
8171
|
streamVolume: u,
|
|
8170
8172
|
effectsVolume: p,
|
|
8171
8173
|
setEffectsVolume: x,
|
|
8172
|
-
setStreamVolume:
|
|
8173
|
-
tournamentData:
|
|
8174
|
-
handleStreamQualityChange:
|
|
8174
|
+
setStreamVolume: g,
|
|
8175
|
+
tournamentData: m,
|
|
8176
|
+
handleStreamQualityChange: S,
|
|
8175
8177
|
streamQuality: j,
|
|
8176
8178
|
nickNameChange: T,
|
|
8177
|
-
nickName:
|
|
8178
|
-
errorCode:
|
|
8179
|
+
nickName: L,
|
|
8180
|
+
errorCode: M
|
|
8179
8181
|
}
|
|
8180
8182
|
) })
|
|
8181
8183
|
] });
|
|
@@ -8301,13 +8303,13 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8301
8303
|
onClose: i,
|
|
8302
8304
|
onViewDetails: r
|
|
8303
8305
|
}) => {
|
|
8304
|
-
const [s, o] =
|
|
8306
|
+
const [s, o] = E({
|
|
8305
8307
|
days: "0",
|
|
8306
8308
|
hours: "00",
|
|
8307
8309
|
minutes: "00",
|
|
8308
8310
|
seconds: "00"
|
|
8309
8311
|
});
|
|
8310
|
-
return
|
|
8312
|
+
return he(() => {
|
|
8311
8313
|
const l = setInterval(() => {
|
|
8312
8314
|
const c = (/* @__PURE__ */ new Date()).getTime(), u = new Date(a).getTime() - c;
|
|
8313
8315
|
if (u <= 0) {
|
|
@@ -8317,42 +8319,42 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8317
8319
|
const p = Math.floor(u / (1e3 * 60 * 60 * 24)).toString(), x = String(Math.floor(u / (1e3 * 60 * 60) % 24)).padStart(
|
|
8318
8320
|
2,
|
|
8319
8321
|
"0"
|
|
8320
|
-
),
|
|
8322
|
+
), g = String(Math.floor(u / 1e3 / 60 % 60)).padStart(
|
|
8321
8323
|
2,
|
|
8322
8324
|
"0"
|
|
8323
|
-
),
|
|
8324
|
-
o({ days: p, hours: x, minutes:
|
|
8325
|
+
), m = String(Math.floor(u / 1e3 % 60)).padStart(2, "0");
|
|
8326
|
+
o({ days: p, hours: x, minutes: g, seconds: m });
|
|
8325
8327
|
}, 1e3);
|
|
8326
8328
|
return () => clearInterval(l);
|
|
8327
8329
|
}, [a]), /* @__PURE__ */ n.jsxs(Y2, { children: [
|
|
8328
8330
|
/* @__PURE__ */ n.jsx(K2, { src: an, alt: "stars" }),
|
|
8329
8331
|
/* @__PURE__ */ n.jsx(Z2, { children: e }),
|
|
8330
8332
|
/* @__PURE__ */ n.jsx(X2, { children: t }),
|
|
8331
|
-
/* @__PURE__ */ n.jsx(q2, { children:
|
|
8333
|
+
/* @__PURE__ */ n.jsx(q2, { children: ve("Ends in") }),
|
|
8332
8334
|
/* @__PURE__ */ n.jsxs(Q2, { children: [
|
|
8333
8335
|
/* @__PURE__ */ n.jsxs(Lt, { children: [
|
|
8334
8336
|
/* @__PURE__ */ n.jsx("div", { children: s.days }),
|
|
8335
|
-
/* @__PURE__ */ n.jsx(It, { children:
|
|
8337
|
+
/* @__PURE__ */ n.jsx(It, { children: ve("day") })
|
|
8336
8338
|
] }),
|
|
8337
8339
|
":",
|
|
8338
8340
|
/* @__PURE__ */ n.jsxs(Lt, { children: [
|
|
8339
8341
|
/* @__PURE__ */ n.jsx("div", { children: s.hours }),
|
|
8340
|
-
/* @__PURE__ */ n.jsx(It, { children:
|
|
8342
|
+
/* @__PURE__ */ n.jsx(It, { children: ve("hour") })
|
|
8341
8343
|
] }),
|
|
8342
8344
|
":",
|
|
8343
8345
|
/* @__PURE__ */ n.jsxs(Lt, { children: [
|
|
8344
8346
|
/* @__PURE__ */ n.jsx("div", { children: s.minutes }),
|
|
8345
|
-
/* @__PURE__ */ n.jsx(It, { children:
|
|
8347
|
+
/* @__PURE__ */ n.jsx(It, { children: ve("min") })
|
|
8346
8348
|
] }),
|
|
8347
8349
|
":",
|
|
8348
8350
|
/* @__PURE__ */ n.jsxs(Lt, { children: [
|
|
8349
8351
|
/* @__PURE__ */ n.jsx("div", { children: s.seconds }),
|
|
8350
|
-
/* @__PURE__ */ n.jsx(It, { children:
|
|
8352
|
+
/* @__PURE__ */ n.jsx(It, { children: ve("sec") })
|
|
8351
8353
|
] })
|
|
8352
8354
|
] }),
|
|
8353
8355
|
/* @__PURE__ */ n.jsxs(J2, { children: [
|
|
8354
|
-
/* @__PURE__ */ n.jsx(q1, { variant: "dark", onClick: i, children:
|
|
8355
|
-
/* @__PURE__ */ n.jsx(q1, { variant: "light", onClick: r, children:
|
|
8356
|
+
/* @__PURE__ */ n.jsx(q1, { variant: "dark", onClick: i, children: ve("Close") }),
|
|
8357
|
+
/* @__PURE__ */ n.jsx(q1, { variant: "light", onClick: r, children: ve("View Details") })
|
|
8356
8358
|
] })
|
|
8357
8359
|
] });
|
|
8358
8360
|
}, $2 = f.div`
|
|
@@ -8636,16 +8638,16 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8636
8638
|
}
|
|
8637
8639
|
}
|
|
8638
8640
|
`, Yn = ({ time: e, timerType: t }) => {
|
|
8639
|
-
const { t: a } =
|
|
8641
|
+
const { t: a } = U(), i = {
|
|
8640
8642
|
[We.WaitingInsurance]: a("Insure Your Hand?"),
|
|
8641
8643
|
[We.WaitingForUserAction]: a("Make your descision"),
|
|
8642
8644
|
[We.WaitingForBet]: a("Please, Place Your Bets")
|
|
8643
|
-
}, [r, s] =
|
|
8645
|
+
}, [r, s] = E(!1), [o, l] = E(
|
|
8644
8646
|
null
|
|
8645
8647
|
), c = e / 1e3;
|
|
8646
|
-
if (
|
|
8648
|
+
if (he(() => {
|
|
8647
8649
|
s(!0);
|
|
8648
|
-
}, []),
|
|
8650
|
+
}, []), he(() => {
|
|
8649
8651
|
e > 0 && o ? setTimeout(() => {
|
|
8650
8652
|
l(o - 1);
|
|
8651
8653
|
}, 1e3) : e > 0 && o === null ? l((e + 1e3) / 1e3) : (s(!1), l(null));
|
|
@@ -8690,24 +8692,24 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8690
8692
|
isDeal: p,
|
|
8691
8693
|
isRepeat: x
|
|
8692
8694
|
}) => {
|
|
8693
|
-
const { t:
|
|
8695
|
+
const { t: g } = U();
|
|
8694
8696
|
return /* @__PURE__ */ n.jsxs($2, { children: [
|
|
8695
8697
|
/* @__PURE__ */ n.jsx(Yn, { time: e, timerType: We.WaitingForBet }),
|
|
8696
8698
|
/* @__PURE__ */ n.jsxs(_2, { children: [
|
|
8697
8699
|
/* @__PURE__ */ n.jsx(Q1, { $isDisabled: d, onClick: r, children: /* @__PURE__ */ n.jsx("div", { className: "icon", children: /* @__PURE__ */ n.jsx(Ja, {}) }) }),
|
|
8698
|
-
t.map((
|
|
8700
|
+
t.map((m, y) => {
|
|
8699
8701
|
const A = y === a ? 64 : 48;
|
|
8700
8702
|
return /* @__PURE__ */ n.jsx(e0, { $chipSize: A, children: /* @__PURE__ */ n.jsx(
|
|
8701
8703
|
Pt,
|
|
8702
8704
|
{
|
|
8703
|
-
amount:
|
|
8705
|
+
amount: m,
|
|
8704
8706
|
chipAmounts: t,
|
|
8705
8707
|
height: A,
|
|
8706
8708
|
width: A,
|
|
8707
8709
|
onClick: () => i(y),
|
|
8708
|
-
isDisabled:
|
|
8710
|
+
isDisabled: m > c
|
|
8709
8711
|
}
|
|
8710
|
-
) },
|
|
8712
|
+
) }, m);
|
|
8711
8713
|
}),
|
|
8712
8714
|
/* @__PURE__ */ n.jsx(
|
|
8713
8715
|
Q1,
|
|
@@ -8720,7 +8722,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8720
8722
|
] }),
|
|
8721
8723
|
/* @__PURE__ */ n.jsxs(t0, { $isDisabled: p, onClick: o, children: [
|
|
8722
8724
|
/* @__PURE__ */ n.jsx("div", { className: "icon", children: /* @__PURE__ */ n.jsx($a, {}) }),
|
|
8723
|
-
/* @__PURE__ */ n.jsx("p", { className: "text-button", children:
|
|
8725
|
+
/* @__PURE__ */ n.jsx("p", { className: "text-button", children: g("Deal Now") })
|
|
8724
8726
|
] })
|
|
8725
8727
|
] });
|
|
8726
8728
|
}, a0 = () => /* @__PURE__ */ n.jsx(
|
|
@@ -8833,7 +8835,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8833
8835
|
name: i,
|
|
8834
8836
|
round: r
|
|
8835
8837
|
}) => {
|
|
8836
|
-
const { t: s } =
|
|
8838
|
+
const { t: s } = U();
|
|
8837
8839
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
8838
8840
|
/* @__PURE__ */ n.jsxs(r0, { children: [
|
|
8839
8841
|
/* @__PURE__ */ n.jsx("div", { className: "name-contener", children: /* @__PURE__ */ n.jsx("p", { className: "name", "data-testid": "game-name", children: s(i) }) }),
|
|
@@ -8906,7 +8908,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8906
8908
|
font-size: 14px;
|
|
8907
8909
|
color: rgba(255, 255, 255, 0.8);
|
|
8908
8910
|
`, i4 = () => {
|
|
8909
|
-
const { t: e } =
|
|
8911
|
+
const { t: e } = U();
|
|
8910
8912
|
return /* @__PURE__ */ n.jsx(o0, { children: /* @__PURE__ */ n.jsxs(l0, { children: [
|
|
8911
8913
|
/* @__PURE__ */ n.jsx(d0, { children: /* @__PURE__ */ n.jsx(h0, {}) }),
|
|
8912
8914
|
/* @__PURE__ */ n.jsx(u0, { children: e("We lost connection for a moment") }),
|
|
@@ -8962,7 +8964,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8962
8964
|
urlParam: a,
|
|
8963
8965
|
stayInTheGame: i
|
|
8964
8966
|
}) => {
|
|
8965
|
-
const { t: r } =
|
|
8967
|
+
const { t: r } = U();
|
|
8966
8968
|
return /* @__PURE__ */ n.jsx(f0, { children: /* @__PURE__ */ n.jsxs(g0, { children: [
|
|
8967
8969
|
/* @__PURE__ */ n.jsx(x0, { children: r("Still with us, Player?") }),
|
|
8968
8970
|
/* @__PURE__ */ n.jsx(y0, { children: r("We haven’t seen any moves from you. Want to keep playing?") }),
|
|
@@ -9168,7 +9170,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
9168
9170
|
transform: translate(-50%, -50%);
|
|
9169
9171
|
background: radial-gradient(
|
|
9170
9172
|
50% 50% at 50% 50%,
|
|
9171
|
-
rgba(17, 17, 17, 0.
|
|
9173
|
+
rgba(17, 17, 17, 0.5) 60.58%,
|
|
9172
9174
|
rgba(17, 17, 17, 0) 100%
|
|
9173
9175
|
);
|
|
9174
9176
|
|
|
@@ -9230,7 +9232,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
9230
9232
|
amount: e,
|
|
9231
9233
|
currencyId: t
|
|
9232
9234
|
}) => {
|
|
9233
|
-
const { t: a } =
|
|
9235
|
+
const { t: a } = U();
|
|
9234
9236
|
return /* @__PURE__ */ n.jsxs(C0, { children: [
|
|
9235
9237
|
/* @__PURE__ */ n.jsx(b0, {}),
|
|
9236
9238
|
/* @__PURE__ */ n.jsxs("div", { className: "text-wrapper", children: [
|
|
@@ -9289,7 +9291,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
9289
9291
|
position: absolute;
|
|
9290
9292
|
top: -25px;
|
|
9291
9293
|
`, o4 = ({ code: e, type: t = "error" }) => {
|
|
9292
|
-
const { t: a } =
|
|
9294
|
+
const { t: a } = U(), i = ms[e] || a("Unknown error");
|
|
9293
9295
|
return /* @__PURE__ */ n.jsxs(k0, { type: t, children: [
|
|
9294
9296
|
/* @__PURE__ */ n.jsx(S0, { type: t }),
|
|
9295
9297
|
/* @__PURE__ */ n.jsx(j0, { children: a(i) })
|
|
@@ -9531,7 +9533,7 @@ const I0 = {
|
|
|
9531
9533
|
size: a,
|
|
9532
9534
|
isMobile: i
|
|
9533
9535
|
}) => {
|
|
9534
|
-
const r = a === Zt.Big, { t: s } =
|
|
9536
|
+
const r = a === Zt.Big, { t: s } = U();
|
|
9535
9537
|
return /* @__PURE__ */ n.jsxs(O0, { $isBig: r, $isMobile: i, children: [
|
|
9536
9538
|
r && !i && /* @__PURE__ */ n.jsx(Yn, { time: e, timerType: We.WaitingForUserAction }),
|
|
9537
9539
|
/* @__PURE__ */ n.jsx("div", { className: "aciton", children: z0[a].map((o, l) => {
|
|
@@ -9616,7 +9618,7 @@ const I0 = {
|
|
|
9616
9618
|
top: -13px;
|
|
9617
9619
|
object-fit: contain;
|
|
9618
9620
|
`, c4 = ({ activeBonus: e }) => {
|
|
9619
|
-
const t = e.freeSpinsCount && e.freeSpinsCount > 0, { t: a } =
|
|
9621
|
+
const t = e.freeSpinsCount && e.freeSpinsCount > 0, { t: a } = U();
|
|
9620
9622
|
return /* @__PURE__ */ n.jsxs(D0, { children: [
|
|
9621
9623
|
!t && /* @__PURE__ */ n.jsx(G0, { src: an, alt: "stars" }),
|
|
9622
9624
|
t ? /* @__PURE__ */ n.jsx(R0, { children: a("Freespins left") }) : /* @__PURE__ */ n.jsxs(H0, { children: [
|
|
@@ -9795,21 +9797,21 @@ const I0 = {
|
|
|
9795
9797
|
onClose: t,
|
|
9796
9798
|
onClaim: a
|
|
9797
9799
|
}) => {
|
|
9798
|
-
const { t: i } =
|
|
9800
|
+
const { t: i } = U(), [r, s] = E({
|
|
9799
9801
|
days: "0",
|
|
9800
9802
|
hours: "00",
|
|
9801
9803
|
minutes: "00",
|
|
9802
9804
|
seconds: "00"
|
|
9803
9805
|
});
|
|
9804
|
-
|
|
9806
|
+
he(() => {
|
|
9805
9807
|
const l = setInterval(() => {
|
|
9806
9808
|
const c = (/* @__PURE__ */ new Date()).getTime(), u = new Date(e.expireDate).getTime() - c;
|
|
9807
9809
|
if (u <= 0) {
|
|
9808
9810
|
clearInterval(l);
|
|
9809
9811
|
return;
|
|
9810
9812
|
}
|
|
9811
|
-
const p = Math.floor(u / (1e3 * 60 * 60 * 24)).toString(), x = String(Math.floor(u / (1e3 * 60 * 60) % 24)).padStart(2, "0"),
|
|
9812
|
-
s({ days: p, hours: x, minutes:
|
|
9813
|
+
const p = Math.floor(u / (1e3 * 60 * 60 * 24)).toString(), x = String(Math.floor(u / (1e3 * 60 * 60) % 24)).padStart(2, "0"), g = String(Math.floor(u / 1e3 / 60 % 60)).padStart(2, "0"), m = String(Math.floor(u / 1e3 % 60)).padStart(2, "0");
|
|
9814
|
+
s({ days: p, hours: x, minutes: g, seconds: m });
|
|
9813
9815
|
}, 1e3);
|
|
9814
9816
|
return () => clearInterval(l);
|
|
9815
9817
|
}, [e.expireDate]);
|
|
@@ -9939,7 +9941,7 @@ const I0 = {
|
|
|
9939
9941
|
customColor: i.color
|
|
9940
9942
|
}
|
|
9941
9943
|
),
|
|
9942
|
-
/* @__PURE__ */ n.jsx("p", { className: "name", children:
|
|
9944
|
+
/* @__PURE__ */ n.jsx("p", { className: "name", children: ve(i.name) })
|
|
9943
9945
|
] }, r);
|
|
9944
9946
|
}) })
|
|
9945
9947
|
] }), el = f.div`
|
|
@@ -10031,7 +10033,7 @@ const I0 = {
|
|
|
10031
10033
|
points: r,
|
|
10032
10034
|
isPlayer: s
|
|
10033
10035
|
}) => {
|
|
10034
|
-
const { t: o } =
|
|
10036
|
+
const { t: o } = U();
|
|
10035
10037
|
return /* @__PURE__ */ n.jsxs(el, { children: [
|
|
10036
10038
|
!!e.length && /* @__PURE__ */ n.jsxs("div", { className: "info-item", children: [
|
|
10037
10039
|
/* @__PURE__ */ n.jsx("span", { className: "item-owner", children: o("Dealer") }),
|
|
@@ -10311,7 +10313,7 @@ const I0 = {
|
|
|
10311
10313
|
isRepeat: p,
|
|
10312
10314
|
isLandscape: x
|
|
10313
10315
|
}) => {
|
|
10314
|
-
const [
|
|
10316
|
+
const [g, m] = E(!1);
|
|
10315
10317
|
return /* @__PURE__ */ n.jsxs(pl, { $isLandscape: x, children: [
|
|
10316
10318
|
/* @__PURE__ */ n.jsxs(fl, { children: [
|
|
10317
10319
|
/* @__PURE__ */ n.jsx(
|
|
@@ -10323,16 +10325,16 @@ const I0 = {
|
|
|
10323
10325
|
children: /* @__PURE__ */ n.jsx("div", { className: "icon", children: /* @__PURE__ */ n.jsx(Ja, {}) })
|
|
10324
10326
|
}
|
|
10325
10327
|
),
|
|
10326
|
-
/* @__PURE__ */ n.jsxs(xl, { $isLandscape: x, $isChipsSelector:
|
|
10328
|
+
/* @__PURE__ */ n.jsxs(xl, { $isLandscape: x, $isChipsSelector: g, children: [
|
|
10327
10329
|
/* @__PURE__ */ n.jsx("div", { className: "chip", children: /* @__PURE__ */ n.jsx(
|
|
10328
10330
|
Pt,
|
|
10329
10331
|
{
|
|
10330
10332
|
amount: e[t],
|
|
10331
10333
|
chipAmounts: e,
|
|
10332
|
-
height:
|
|
10333
|
-
width:
|
|
10334
|
+
height: g ? 64 : 56,
|
|
10335
|
+
width: g ? 64 : 56,
|
|
10334
10336
|
onClick: () => {
|
|
10335
|
-
|
|
10337
|
+
m(!g);
|
|
10336
10338
|
}
|
|
10337
10339
|
}
|
|
10338
10340
|
) }),
|
|
@@ -10340,7 +10342,7 @@ const I0 = {
|
|
|
10340
10342
|
ml,
|
|
10341
10343
|
{
|
|
10342
10344
|
$isLandscape: x,
|
|
10343
|
-
$isActiveChips:
|
|
10345
|
+
$isActiveChips: g,
|
|
10344
10346
|
$index: v,
|
|
10345
10347
|
children: [
|
|
10346
10348
|
/* @__PURE__ */ n.jsx(
|
|
@@ -10348,7 +10350,7 @@ const I0 = {
|
|
|
10348
10350
|
{
|
|
10349
10351
|
index: v,
|
|
10350
10352
|
isActive: v === t,
|
|
10351
|
-
isChipsSelector:
|
|
10353
|
+
isChipsSelector: g
|
|
10352
10354
|
}
|
|
10353
10355
|
),
|
|
10354
10356
|
/* @__PURE__ */ n.jsx("div", { className: "chips-select", children: /* @__PURE__ */ n.jsx(
|
|
@@ -10359,7 +10361,7 @@ const I0 = {
|
|
|
10359
10361
|
height: 42,
|
|
10360
10362
|
width: 42,
|
|
10361
10363
|
onClick: () => {
|
|
10362
|
-
|
|
10364
|
+
m(!1), a(v);
|
|
10363
10365
|
},
|
|
10364
10366
|
isDisabled: y > o
|
|
10365
10367
|
}
|
|
@@ -11320,7 +11322,7 @@ const Tl = "Your bets have been refunded", zl = "Limits", Bl = "Dealer", Ol = "B
|
|
|
11320
11322
|
[De.Armenian]: { translation: h5 },
|
|
11321
11323
|
[De.Russia]: { translation: Td },
|
|
11322
11324
|
[De.Turkey]: { translation: X9 }
|
|
11323
|
-
}, ea =
|
|
11325
|
+
}, ea = se.use(Ki);
|
|
11324
11326
|
function g4() {
|
|
11325
11327
|
const e = Dn.get(Dn.language) || De.English;
|
|
11326
11328
|
return ea.init({
|