livevegas-ui-kit 1.0.121 → 1.0.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/livevegas-ui-kit.es.js +69 -67
- package/dist/livevegas-ui-kit.umd.js +24 -24
- package/package.json +1 -1
|
@@ -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 U, useRef as dt, useEffect as pe, useDebugValue as s1, createElement as Bi } from "react";
|
|
2
2
|
var xn = { exports: {} }, at = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
@@ -55,10 +55,10 @@ function Mi() {
|
|
|
55
55
|
{
|
|
56
56
|
var I = A.ReactDebugCurrentFrame, P = I.getStackAddendum();
|
|
57
57
|
P !== "" && (b += "%s", C = C.concat([P]));
|
|
58
|
-
var
|
|
58
|
+
var K = C.map(function(W) {
|
|
59
59
|
return String(W);
|
|
60
60
|
});
|
|
61
|
-
|
|
61
|
+
K.unshift("Warning: " + b), Function.prototype.apply.call(console[h], console, K);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
var j = !1, T = !1, S = !1, k = !1, D = !1, z;
|
|
@@ -115,9 +115,9 @@ function Mi() {
|
|
|
115
115
|
var I = h.displayName || null;
|
|
116
116
|
return I !== null ? I : V(h.type) || "Memo";
|
|
117
117
|
case x: {
|
|
118
|
-
var P = h,
|
|
118
|
+
var P = h, K = P._payload, W = P._init;
|
|
119
119
|
try {
|
|
120
|
-
return V(W(
|
|
120
|
+
return V(W(K));
|
|
121
121
|
} catch {
|
|
122
122
|
return null;
|
|
123
123
|
}
|
|
@@ -218,8 +218,8 @@ function Mi() {
|
|
|
218
218
|
ye = !0;
|
|
219
219
|
var P = Error.prepareStackTrace;
|
|
220
220
|
Error.prepareStackTrace = void 0;
|
|
221
|
-
var
|
|
222
|
-
|
|
221
|
+
var K;
|
|
222
|
+
K = H.current, H.current = null, ve();
|
|
223
223
|
try {
|
|
224
224
|
if (b) {
|
|
225
225
|
var W = function() {
|
|
@@ -272,7 +272,7 @@ function Mi() {
|
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
} finally {
|
|
275
|
-
ye = !1, H.current =
|
|
275
|
+
ye = !1, H.current = K, me(), Error.prepareStackTrace = P;
|
|
276
276
|
}
|
|
277
277
|
var Ye = h ? h.displayName || h.name : "", Be = Ye ? xe(Ye) : "";
|
|
278
278
|
return typeof h == "function" && Ne.set(h, Be), Be;
|
|
@@ -304,9 +304,9 @@ function Mi() {
|
|
|
304
304
|
case p:
|
|
305
305
|
return ft(h.type, b, C);
|
|
306
306
|
case x: {
|
|
307
|
-
var I = h, P = I._payload,
|
|
307
|
+
var I = h, P = I._payload, K = I._init;
|
|
308
308
|
try {
|
|
309
|
-
return ft(
|
|
309
|
+
return ft(K(P), b, C);
|
|
310
310
|
} catch {
|
|
311
311
|
}
|
|
312
312
|
}
|
|
@@ -323,9 +323,9 @@ function Mi() {
|
|
|
323
323
|
}
|
|
324
324
|
function li(h, b, C, I, P) {
|
|
325
325
|
{
|
|
326
|
-
var
|
|
326
|
+
var K = Function.call.bind(nt);
|
|
327
327
|
for (var W in h)
|
|
328
|
-
if (
|
|
328
|
+
if (K(h, W)) {
|
|
329
329
|
var F = void 0;
|
|
330
330
|
try {
|
|
331
331
|
if (typeof h[W] != "function") {
|
|
@@ -411,7 +411,7 @@ function Mi() {
|
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
var yi = function(h, b, C, I, P,
|
|
414
|
+
var yi = function(h, b, C, I, P, K, W) {
|
|
415
415
|
var F = {
|
|
416
416
|
// This tag allows us to uniquely identify this as a React Element
|
|
417
417
|
$$typeof: t,
|
|
@@ -421,7 +421,7 @@ function Mi() {
|
|
|
421
421
|
ref: C,
|
|
422
422
|
props: W,
|
|
423
423
|
// Record the component responsible for creating this element.
|
|
424
|
-
_owner:
|
|
424
|
+
_owner: K
|
|
425
425
|
};
|
|
426
426
|
return F._store = {}, Object.defineProperty(F._store, "validated", {
|
|
427
427
|
configurable: !1,
|
|
@@ -442,14 +442,14 @@ function Mi() {
|
|
|
442
442
|
};
|
|
443
443
|
function bi(h, b, C, I, P) {
|
|
444
444
|
{
|
|
445
|
-
var
|
|
445
|
+
var K, W = {}, F = null, le = null;
|
|
446
446
|
C !== void 0 && (qn(C), F = "" + C), fi(b) && (qn(b.key), F = "" + b.key), pi(b) && (le = b.ref, gi(b, P));
|
|
447
|
-
for (
|
|
448
|
-
nt.call(b,
|
|
447
|
+
for (K in b)
|
|
448
|
+
nt.call(b, K) && !ui.hasOwnProperty(K) && (W[K] = b[K]);
|
|
449
449
|
if (h && h.defaultProps) {
|
|
450
450
|
var ee = h.defaultProps;
|
|
451
|
-
for (
|
|
452
|
-
W[
|
|
451
|
+
for (K in ee)
|
|
452
|
+
W[K] === void 0 && (W[K] = ee[K]);
|
|
453
453
|
}
|
|
454
454
|
if (F || le) {
|
|
455
455
|
var te = typeof h == "function" ? h.displayName || h.name || "Unknown" : h;
|
|
@@ -526,7 +526,7 @@ Check the top-level render call using <` + C + ">.");
|
|
|
526
526
|
else if (h) {
|
|
527
527
|
var P = v(h);
|
|
528
528
|
if (typeof P == "function" && P !== h.entries)
|
|
529
|
-
for (var
|
|
529
|
+
for (var K = P.call(h), W; !(W = K.next()).done; )
|
|
530
530
|
cn(W.value) && n1(W.value, b);
|
|
531
531
|
}
|
|
532
532
|
}
|
|
@@ -569,7 +569,7 @@ Check the top-level render call using <` + C + ">.");
|
|
|
569
569
|
}
|
|
570
570
|
}
|
|
571
571
|
var i1 = {};
|
|
572
|
-
function r1(h, b, C, I, P,
|
|
572
|
+
function r1(h, b, C, I, P, K) {
|
|
573
573
|
{
|
|
574
574
|
var W = R(h);
|
|
575
575
|
if (!W) {
|
|
@@ -580,7 +580,7 @@ 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 te = bi(h, b, C, P,
|
|
583
|
+
var te = bi(h, b, C, P, K);
|
|
584
584
|
if (te == null)
|
|
585
585
|
return te;
|
|
586
586
|
if (W) {
|
|
@@ -726,7 +726,7 @@ const qi = (e, t) => {
|
|
|
726
726
|
return pe(() => {
|
|
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]),
|
|
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]), Y = (e, t = {}) => {
|
|
730
730
|
var j, T, S, k;
|
|
731
731
|
const {
|
|
732
732
|
i18n: a
|
|
@@ -750,7 +750,7 @@ const qi = (e, t) => {
|
|
|
750
750
|
} = o;
|
|
751
751
|
let d = r || ((T = s.options) == null ? void 0 : T.defaultNS);
|
|
752
752
|
d = He(d) ? [d] : d || ["translation"], (k = (S = s.reportNamespaces).addUsedNamespaces) == null || k.call(S, d);
|
|
753
|
-
const u = (s.isInitialized || s.initializedStoreOnce) && d.every((D) => Hi(D, s, o)), p = Qi(s, t.lng || null, o.nsMode === "fallback" ? d : d[0], c), x = () => p, m = () => ia(s, t.lng || null, o.nsMode === "fallback" ? d : d[0], c), [g, y] =
|
|
753
|
+
const u = (s.isInitialized || s.initializedStoreOnce) && d.every((D) => Hi(D, s, o)), p = Qi(s, t.lng || null, o.nsMode === "fallback" ? d : d[0], c), x = () => p, m = () => ia(s, t.lng || null, o.nsMode === "fallback" ? d : d[0], c), [g, y] = U(x);
|
|
754
754
|
let v = d.join();
|
|
755
755
|
t.lng && (v = `${t.lng}${v}`);
|
|
756
756
|
const A = qi(v), w = dt(!0);
|
|
@@ -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 } = Y();
|
|
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 } = Y();
|
|
2077
2077
|
return /* @__PURE__ */ n.jsxs(cs, { $isSettings: e, children: [
|
|
2078
2078
|
/* @__PURE__ */ n.jsx("p", { children: r(t ?? "") }),
|
|
2079
2079
|
/* @__PURE__ */ n.jsx(
|
|
@@ -2107,7 +2107,7 @@ const ns = f.div`
|
|
|
2107
2107
|
isHoverActive: x = !0,
|
|
2108
2108
|
positonHover: m = "bottom"
|
|
2109
2109
|
}) => {
|
|
2110
|
-
const [g, y] =
|
|
2110
|
+
const [g, y] = U(!1), { t: v } = Y(), A = () => {
|
|
2111
2111
|
if (a)
|
|
2112
2112
|
return /* @__PURE__ */ n.jsxs(rs, { $positonHover: m, "data-testid": "button-info", children: [
|
|
2113
2113
|
/* @__PURE__ */ n.jsx(ls, { position: m }),
|
|
@@ -4939,7 +4939,7 @@ 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] = U([]), [s, o] = U([]), [l, c] = U([]), d = Array.from({ length: e }, (g, y) => y + 1), u = () => {
|
|
4943
4943
|
t !== e && a(t + 1);
|
|
4944
4944
|
}, p = () => {
|
|
4945
4945
|
t !== 1 && a(t - 1);
|
|
@@ -5399,7 +5399,7 @@ const to = {
|
|
|
5399
5399
|
handleClickRound: i,
|
|
5400
5400
|
historyData: r
|
|
5401
5401
|
}) => {
|
|
5402
|
-
const { t: s } =
|
|
5402
|
+
const { t: s } = Y();
|
|
5403
5403
|
return /* @__PURE__ */ n.jsxs(Ea, { children: [
|
|
5404
5404
|
/* @__PURE__ */ n.jsxs(fo, { children: [
|
|
5405
5405
|
/* @__PURE__ */ n.jsxs("div", { className: "header", children: [
|
|
@@ -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 } = Y(), s = [
|
|
5630
5630
|
X.Ante,
|
|
5631
5631
|
X.Insurance,
|
|
5632
5632
|
X.PerfectPairs,
|
|
@@ -5766,7 +5766,7 @@ const pt = Array(4).fill([
|
|
|
5766
5766
|
openRoundHistory: i,
|
|
5767
5767
|
isMobile: r = !0
|
|
5768
5768
|
}) => {
|
|
5769
|
-
const [s, o] =
|
|
5769
|
+
const [s, o] = U(1), [l, c] = U(null), [d, u] = U(null);
|
|
5770
5770
|
pe(() => {
|
|
5771
5771
|
t(s);
|
|
5772
5772
|
}, [s]);
|
|
@@ -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] = U(e[0]), { t: l } = Y();
|
|
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,
|
|
@@ -6023,10 +6023,10 @@ 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] = U(
|
|
6027
6027
|
"Leaderboard"
|
|
6028
6028
|
/* Leaderboard */
|
|
6029
|
-
), [i, r] =
|
|
6029
|
+
), [i, r] = U(N1(e)), { t: s } = Y();
|
|
6030
6030
|
pe(() => {
|
|
6031
6031
|
const l = setInterval(() => {
|
|
6032
6032
|
r(N1(e));
|
|
@@ -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 } = Y(), 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 } = Y(), 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] = U(""), a = dt(null), i = dt({}), { t: r } = Y(), s = (o) => {
|
|
6478
6478
|
t(o);
|
|
6479
6479
|
const l = i.current[o], c = a.current;
|
|
6480
6480
|
if (l && c) {
|
|
@@ -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 } = Y(), [r, s] = U(""), 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] = U(""), { t: s } = Y(), o = (c) => {
|
|
6834
6834
|
const d = c.target.value;
|
|
6835
6835
|
(d.trim().length || i.length === 1) && r(d);
|
|
6836
6836
|
}, l = () => {
|
|
@@ -7024,9 +7024,9 @@ 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 } = Y(), [u, p] = U(
|
|
7028
7028
|
s || "Auto"
|
|
7029
|
-
), [x, m] =
|
|
7029
|
+
), [x, m] = U(""), g = () => {
|
|
7030
7030
|
o(x), m("");
|
|
7031
7031
|
};
|
|
7032
7032
|
return /* @__PURE__ */ n.jsxs(w2, { children: [
|
|
@@ -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 } = Y();
|
|
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") }),
|
|
@@ -7617,7 +7617,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
7617
7617
|
dealerName: R,
|
|
7618
7618
|
errorCode: J
|
|
7619
7619
|
}) => {
|
|
7620
|
-
const [ce, V] =
|
|
7620
|
+
const [ce, V] = U(0), [E, se] = U(null), [ae, O] = U(!1), { t: $ } = Y(), [_, de] = U(0), Q = () => se(null), Z = ks(E, x, ce === 1), re = (H) => {
|
|
7621
7621
|
if (H === B.VolumeOn) {
|
|
7622
7622
|
w(m === 0 ? 100 : 0);
|
|
7623
7623
|
return;
|
|
@@ -7812,7 +7812,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
7812
7812
|
headerClick: s,
|
|
7813
7813
|
dealerName: o
|
|
7814
7814
|
}) => {
|
|
7815
|
-
const { t: l } =
|
|
7815
|
+
const { t: l } = Y();
|
|
7816
7816
|
return /* @__PURE__ */ n.jsxs(M2, { height: i, width: a, children: [
|
|
7817
7817
|
/* @__PURE__ */ n.jsxs("div", { className: "header", children: [
|
|
7818
7818
|
/* @__PURE__ */ n.jsxs("div", { className: "icon", onClick: s, children: [
|
|
@@ -7996,7 +7996,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
7996
7996
|
urlParam: s,
|
|
7997
7997
|
limits: o
|
|
7998
7998
|
}) => {
|
|
7999
|
-
const [l, c] =
|
|
7999
|
+
const [l, c] = U(!1), { t: d } = Y();
|
|
8000
8000
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
8001
8001
|
/* @__PURE__ */ n.jsxs(F2, { children: [
|
|
8002
8002
|
/* @__PURE__ */ n.jsxs(W2, { onClick: () => Vn(i, r, s), children: [
|
|
@@ -8085,7 +8085,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8085
8085
|
dealerName: k,
|
|
8086
8086
|
errorCode: D
|
|
8087
8087
|
}) => {
|
|
8088
|
-
const [z, R] =
|
|
8088
|
+
const [z, R] = U(null), [J, ce] = U(0), V = ws(z, J === 1), E = (O, $) => {
|
|
8089
8089
|
if (O.buttonType === B.FullScreen && d(), O.buttonType === B.VolumeOn) {
|
|
8090
8090
|
m(u === 0 ? 100 : 0);
|
|
8091
8091
|
return;
|
|
@@ -8301,7 +8301,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8301
8301
|
onClose: i,
|
|
8302
8302
|
onViewDetails: r
|
|
8303
8303
|
}) => {
|
|
8304
|
-
const [s, o] =
|
|
8304
|
+
const [s, o] = U({
|
|
8305
8305
|
days: "0",
|
|
8306
8306
|
hours: "00",
|
|
8307
8307
|
minutes: "00",
|
|
@@ -8636,25 +8636,27 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8636
8636
|
}
|
|
8637
8637
|
}
|
|
8638
8638
|
`, Yn = ({ time: e, timerType: t }) => {
|
|
8639
|
-
const { t: a } =
|
|
8639
|
+
const { t: a } = Y(), i = {
|
|
8640
8640
|
[We.WaitingInsurance]: a("Insure Your Hand?"),
|
|
8641
8641
|
[We.WaitingForUserAction]: a("Make your descision"),
|
|
8642
8642
|
[We.WaitingForBet]: a("Please, Place Your Bets")
|
|
8643
|
-
}, [r, s] =
|
|
8643
|
+
}, [r, s] = U(!1), [o, l] = U(
|
|
8644
8644
|
null
|
|
8645
|
-
),
|
|
8645
|
+
), c = e / 1e3;
|
|
8646
8646
|
if (pe(() => {
|
|
8647
|
-
|
|
8648
|
-
|
|
8649
|
-
|
|
8650
|
-
|
|
8651
|
-
|
|
8647
|
+
s(!0);
|
|
8648
|
+
}, []), pe(() => {
|
|
8649
|
+
e > 0 && o ? setTimeout(() => {
|
|
8650
|
+
l(o - 1);
|
|
8651
|
+
}, 1e3) : e > 0 && o === null ? l((e + 1e3) / 1e3) : (s(!1), l(null));
|
|
8652
|
+
}, [e, o]), e > 0 && r)
|
|
8653
|
+
return /* @__PURE__ */ n.jsxs(n0, { $time: c, children: [
|
|
8652
8654
|
/* @__PURE__ */ n.jsx("div", { className: "timer-line" }),
|
|
8653
8655
|
/* @__PURE__ */ n.jsx("div", { className: "line-time" }),
|
|
8654
8656
|
/* @__PURE__ */ n.jsxs("div", { className: "text-wrapper", children: [
|
|
8655
8657
|
/* @__PURE__ */ n.jsx("p", { className: "p", children: a(i[t]) }),
|
|
8656
8658
|
/* @__PURE__ */ n.jsx("div", { className: "line" }),
|
|
8657
|
-
/* @__PURE__ */ n.jsx("p", { className: "p", children:
|
|
8659
|
+
/* @__PURE__ */ n.jsx("p", { className: "p", children: o })
|
|
8658
8660
|
] })
|
|
8659
8661
|
] });
|
|
8660
8662
|
}, _a = () => /* @__PURE__ */ n.jsx(
|
|
@@ -8688,7 +8690,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8688
8690
|
isDeal: p,
|
|
8689
8691
|
isRepeat: x
|
|
8690
8692
|
}) => {
|
|
8691
|
-
const { t: m } =
|
|
8693
|
+
const { t: m } = Y();
|
|
8692
8694
|
return /* @__PURE__ */ n.jsxs($2, { children: [
|
|
8693
8695
|
/* @__PURE__ */ n.jsx(Yn, { time: e, timerType: We.WaitingForBet }),
|
|
8694
8696
|
/* @__PURE__ */ n.jsxs(_2, { children: [
|
|
@@ -8831,7 +8833,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8831
8833
|
name: i,
|
|
8832
8834
|
round: r
|
|
8833
8835
|
}) => {
|
|
8834
|
-
const { t: s } =
|
|
8836
|
+
const { t: s } = Y();
|
|
8835
8837
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
8836
8838
|
/* @__PURE__ */ n.jsxs(r0, { children: [
|
|
8837
8839
|
/* @__PURE__ */ n.jsx("div", { className: "name-contener", children: /* @__PURE__ */ n.jsx("p", { className: "name", "data-testid": "game-name", children: s(i) }) }),
|
|
@@ -8904,7 +8906,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8904
8906
|
font-size: 14px;
|
|
8905
8907
|
color: rgba(255, 255, 255, 0.8);
|
|
8906
8908
|
`, i4 = () => {
|
|
8907
|
-
const { t: e } =
|
|
8909
|
+
const { t: e } = Y();
|
|
8908
8910
|
return /* @__PURE__ */ n.jsx(o0, { children: /* @__PURE__ */ n.jsxs(l0, { children: [
|
|
8909
8911
|
/* @__PURE__ */ n.jsx(d0, { children: /* @__PURE__ */ n.jsx(h0, {}) }),
|
|
8910
8912
|
/* @__PURE__ */ n.jsx(u0, { children: e("We lost connection for a moment") }),
|
|
@@ -8960,7 +8962,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
8960
8962
|
urlParam: a,
|
|
8961
8963
|
stayInTheGame: i
|
|
8962
8964
|
}) => {
|
|
8963
|
-
const { t: r } =
|
|
8965
|
+
const { t: r } = Y();
|
|
8964
8966
|
return /* @__PURE__ */ n.jsx(f0, { children: /* @__PURE__ */ n.jsxs(g0, { children: [
|
|
8965
8967
|
/* @__PURE__ */ n.jsx(x0, { children: r("Still with us, Player?") }),
|
|
8966
8968
|
/* @__PURE__ */ n.jsx(y0, { children: r("We haven’t seen any moves from you. Want to keep playing?") }),
|
|
@@ -9228,7 +9230,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
9228
9230
|
amount: e,
|
|
9229
9231
|
currencyId: t
|
|
9230
9232
|
}) => {
|
|
9231
|
-
const { t: a } =
|
|
9233
|
+
const { t: a } = Y();
|
|
9232
9234
|
return /* @__PURE__ */ n.jsxs(C0, { children: [
|
|
9233
9235
|
/* @__PURE__ */ n.jsx(b0, {}),
|
|
9234
9236
|
/* @__PURE__ */ n.jsxs("div", { className: "text-wrapper", children: [
|
|
@@ -9287,7 +9289,7 @@ const A2 = ["Min", "Low", "Med", "High", "Auto"], k2 = ({
|
|
|
9287
9289
|
position: absolute;
|
|
9288
9290
|
top: -25px;
|
|
9289
9291
|
`, o4 = ({ code: e, type: t = "error" }) => {
|
|
9290
|
-
const { t: a } =
|
|
9292
|
+
const { t: a } = Y(), i = ms[e] || a("Unknown error");
|
|
9291
9293
|
return /* @__PURE__ */ n.jsxs(k0, { type: t, children: [
|
|
9292
9294
|
/* @__PURE__ */ n.jsx(S0, { type: t }),
|
|
9293
9295
|
/* @__PURE__ */ n.jsx(j0, { children: a(i) })
|
|
@@ -9529,7 +9531,7 @@ const I0 = {
|
|
|
9529
9531
|
size: a,
|
|
9530
9532
|
isMobile: i
|
|
9531
9533
|
}) => {
|
|
9532
|
-
const r = a === Zt.Big, { t: s } =
|
|
9534
|
+
const r = a === Zt.Big, { t: s } = Y();
|
|
9533
9535
|
return /* @__PURE__ */ n.jsxs(O0, { $isBig: r, $isMobile: i, children: [
|
|
9534
9536
|
r && !i && /* @__PURE__ */ n.jsx(Yn, { time: e, timerType: We.WaitingForUserAction }),
|
|
9535
9537
|
/* @__PURE__ */ n.jsx("div", { className: "aciton", children: z0[a].map((o, l) => {
|
|
@@ -9614,7 +9616,7 @@ const I0 = {
|
|
|
9614
9616
|
top: -13px;
|
|
9615
9617
|
object-fit: contain;
|
|
9616
9618
|
`, c4 = ({ activeBonus: e }) => {
|
|
9617
|
-
const t = e.freeSpinsCount && e.freeSpinsCount > 0, { t: a } =
|
|
9619
|
+
const t = e.freeSpinsCount && e.freeSpinsCount > 0, { t: a } = Y();
|
|
9618
9620
|
return /* @__PURE__ */ n.jsxs(D0, { children: [
|
|
9619
9621
|
!t && /* @__PURE__ */ n.jsx(G0, { src: an, alt: "stars" }),
|
|
9620
9622
|
t ? /* @__PURE__ */ n.jsx(R0, { children: a("Freespins left") }) : /* @__PURE__ */ n.jsxs(H0, { children: [
|
|
@@ -9793,7 +9795,7 @@ const I0 = {
|
|
|
9793
9795
|
onClose: t,
|
|
9794
9796
|
onClaim: a
|
|
9795
9797
|
}) => {
|
|
9796
|
-
const { t: i } =
|
|
9798
|
+
const { t: i } = Y(), [r, s] = U({
|
|
9797
9799
|
days: "0",
|
|
9798
9800
|
hours: "00",
|
|
9799
9801
|
minutes: "00",
|
|
@@ -10029,7 +10031,7 @@ const I0 = {
|
|
|
10029
10031
|
points: r,
|
|
10030
10032
|
isPlayer: s
|
|
10031
10033
|
}) => {
|
|
10032
|
-
const { t: o } =
|
|
10034
|
+
const { t: o } = Y();
|
|
10033
10035
|
return /* @__PURE__ */ n.jsxs(el, { children: [
|
|
10034
10036
|
!!e.length && /* @__PURE__ */ n.jsxs("div", { className: "info-item", children: [
|
|
10035
10037
|
/* @__PURE__ */ n.jsx("span", { className: "item-owner", children: o("Dealer") }),
|
|
@@ -10309,7 +10311,7 @@ const I0 = {
|
|
|
10309
10311
|
isRepeat: p,
|
|
10310
10312
|
isLandscape: x
|
|
10311
10313
|
}) => {
|
|
10312
|
-
const [m, g] =
|
|
10314
|
+
const [m, g] = U(!1);
|
|
10313
10315
|
return /* @__PURE__ */ n.jsxs(pl, { $isLandscape: x, children: [
|
|
10314
10316
|
/* @__PURE__ */ n.jsxs(fl, { children: [
|
|
10315
10317
|
/* @__PURE__ */ n.jsx(
|