livevegas-ui-kit 1.0.278 → 1.0.279
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.
|
@@ -129,7 +129,7 @@ function Co() {
|
|
|
129
129
|
function ie() {
|
|
130
130
|
}
|
|
131
131
|
ie.__reactDisabledLog = !0;
|
|
132
|
-
function
|
|
132
|
+
function ge() {
|
|
133
133
|
{
|
|
134
134
|
if (he === 0) {
|
|
135
135
|
ne = console.log, ae = console.info, I = console.warn, N = console.error, W = console.group, z = console.groupCollapsed, Q = console.groupEnd;
|
|
@@ -187,18 +187,18 @@ function Co() {
|
|
|
187
187
|
he < 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 me = v.ReactCurrentDispatcher, fe;
|
|
191
|
+
function pe(f, x, j) {
|
|
192
192
|
{
|
|
193
|
-
if (
|
|
193
|
+
if (fe === void 0)
|
|
194
194
|
try {
|
|
195
195
|
throw Error();
|
|
196
196
|
} catch (J) {
|
|
197
197
|
var q = J.stack.trim().match(/\n( *(at )?)/);
|
|
198
|
-
|
|
198
|
+
fe = q && q[1] || "";
|
|
199
199
|
}
|
|
200
200
|
return `
|
|
201
|
-
` +
|
|
201
|
+
` + fe + f;
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
var we = !1, Ae;
|
|
@@ -219,7 +219,7 @@ function Co() {
|
|
|
219
219
|
var J = Error.prepareStackTrace;
|
|
220
220
|
Error.prepareStackTrace = void 0;
|
|
221
221
|
var _;
|
|
222
|
-
_ =
|
|
222
|
+
_ = me.current, me.current = null, ge();
|
|
223
223
|
try {
|
|
224
224
|
if (x) {
|
|
225
225
|
var U = function() {
|
|
@@ -272,9 +272,9 @@ function Co() {
|
|
|
272
272
|
}
|
|
273
273
|
}
|
|
274
274
|
} finally {
|
|
275
|
-
we = !1,
|
|
275
|
+
we = !1, me.current = _, xe(), Error.prepareStackTrace = J;
|
|
276
276
|
}
|
|
277
|
-
var ia = f ? f.displayName || f.name : "", Ge = ia ?
|
|
277
|
+
var ia = f ? f.displayName || f.name : "", Ge = ia ? pe(ia) : "";
|
|
278
278
|
return typeof f == "function" && Ae.set(f, Ge), Ge;
|
|
279
279
|
}
|
|
280
280
|
function ta(f, x, j) {
|
|
@@ -290,12 +290,12 @@ function Co() {
|
|
|
290
290
|
if (typeof f == "function")
|
|
291
291
|
return be(f, Ea(f));
|
|
292
292
|
if (typeof f == "string")
|
|
293
|
-
return
|
|
293
|
+
return pe(f);
|
|
294
294
|
switch (f) {
|
|
295
295
|
case h:
|
|
296
|
-
return
|
|
296
|
+
return pe("Suspense");
|
|
297
297
|
case c:
|
|
298
|
-
return
|
|
298
|
+
return pe("SuspenseList");
|
|
299
299
|
}
|
|
300
300
|
if (typeof f == "object")
|
|
301
301
|
switch (f.$$typeof) {
|
|
@@ -1776,21 +1776,21 @@ function Gs(e, t, n) {
|
|
|
1776
1776
|
return function(T, S, B) {
|
|
1777
1777
|
var L = T.attrs, H = T.componentStyle, ee = T.defaultProps, oe = T.foldedComponentIds, E = T.styledComponentId, V = T.target, he = _e.useContext(or), ne = Jn(), ae = T.shouldForwardProp || ne.shouldForwardProp;
|
|
1778
1778
|
process.env.NODE_ENV !== "production" && Fn(E);
|
|
1779
|
-
var I = cs(S, he, ee) || ca, N = function(xe,
|
|
1780
|
-
for (var
|
|
1781
|
-
var $ = ua(
|
|
1779
|
+
var I = cs(S, he, ee) || ca, N = function(xe, me, fe) {
|
|
1780
|
+
for (var pe, we = Te(Te({}, me), { className: void 0, theme: fe }), Ae = 0; Ae < xe.length; Ae += 1) {
|
|
1781
|
+
var $ = ua(pe = xe[Ae]) ? pe(we) : pe;
|
|
1782
1782
|
for (var be in $) we[be] = be === "className" ? Ve(we[be], $[be]) : be === "style" ? Te(Te({}, we[be]), $[be]) : $[be];
|
|
1783
1783
|
}
|
|
1784
|
-
return
|
|
1784
|
+
return me.className && (we.className = Ve(we.className, me.className)), we;
|
|
1785
1785
|
}(L, S, I), W = N.as || V, z = {};
|
|
1786
1786
|
for (var Q in N) N[Q] === void 0 || Q[0] === "$" || Q === "as" || Q === "theme" && N.theme === I || (Q === "forwardedAs" ? z.as = N.forwardedAs : ae && !ae(Q, W) || (z[Q] = N[Q], ae || process.env.NODE_ENV !== "development" || Uo(Q) || Zn.has(Q) || !Xt.has(W) || (Zn.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 ie = function(xe,
|
|
1788
|
-
var
|
|
1789
|
-
return process.env.NODE_ENV !== "production" && Fn(
|
|
1787
|
+
var ie = function(xe, me) {
|
|
1788
|
+
var fe = Jn(), pe = xe.generateAndInjectStyles(me, fe.styleSheet, fe.stylis);
|
|
1789
|
+
return process.env.NODE_ENV !== "production" && Fn(pe), pe;
|
|
1790
1790
|
}(H, N);
|
|
1791
1791
|
process.env.NODE_ENV !== "production" && T.warnTooManyClasses && T.warnTooManyClasses(ie);
|
|
1792
|
-
var
|
|
1793
|
-
return ie && (
|
|
1792
|
+
var ge = Ve(oe, E);
|
|
1793
|
+
return ie && (ge += " " + ie), N.className && (ge += " " + N.className), z[qt(W) && !Xt.has(W) ? "class" : "className"] = ge, B && (z.ref = B), vo(W, z);
|
|
1794
1794
|
}(A, C, P);
|
|
1795
1795
|
}
|
|
1796
1796
|
w.displayName = g;
|
|
@@ -3850,8 +3850,8 @@ class ht extends vt {
|
|
|
3850
3850
|
else this.options.saveMissingTo === "all" ? I = this.languageUtils.toResolveHierarchy(r.lng || this.language) : I.push(r.lng || this.language);
|
|
3851
3851
|
const W = (z, Q, ie) => {
|
|
3852
3852
|
var xe;
|
|
3853
|
-
const
|
|
3854
|
-
this.options.missingKeyHandler ? this.options.missingKeyHandler(z, h, Q,
|
|
3853
|
+
const ge = P && ie !== u ? ie : ne;
|
|
3854
|
+
this.options.missingKeyHandler ? this.options.missingKeyHandler(z, h, Q, ge, ae, r) : (xe = this.backendConnector) != null && xe.saveMissing && this.backendConnector.saveMissing(z, h, Q, ge, ae, r), this.emit("missingKey", z, h, Q, u);
|
|
3855
3855
|
};
|
|
3856
3856
|
this.options.saveMissing && (this.options.saveMissingPlurals && C ? I.forEach((z) => {
|
|
3857
3857
|
const Q = this.pluralResolver.getSuffixes(z, r);
|
|
@@ -10978,14 +10978,14 @@ const xc = "data:image/svg+xml,%3csvg%20id='flag_ENG'%20xmlns='http://www.w3.org
|
|
|
10978
10978
|
setMusicVolume: N,
|
|
10979
10979
|
musicVolume: W
|
|
10980
10980
|
}) => {
|
|
10981
|
-
const [z, Q] = Y(0), [ie,
|
|
10982
|
-
|
|
10981
|
+
const [z, Q] = Y(0), [ie, ge] = Y(null), [xe, me] = Y(!1), { t: fe } = M(), { clickSound: pe } = He({ effectsVolume: 50 }), [we, Ae] = Y(0), [$, be] = Y(0), ta = () => {
|
|
10982
|
+
pe(), ge(null);
|
|
10983
10983
|
}, Ea = gl(ie, m, z === 1), Re = (G) => {
|
|
10984
10984
|
if (G === D.VolumeOn) {
|
|
10985
10985
|
A(u === 0 ? 100 : 0);
|
|
10986
10986
|
return;
|
|
10987
|
-
} else G !== D.closeMenu &&
|
|
10988
|
-
|
|
10987
|
+
} else G !== D.closeMenu && ge(G);
|
|
10988
|
+
pe(), me(!1);
|
|
10989
10989
|
}, We = z === 1 ? { headerClick: () => Q(2) } : {}, Da = (G) => [
|
|
10990
10990
|
{
|
|
10991
10991
|
name: "Settings",
|
|
@@ -11006,7 +11006,7 @@ const xc = "data:image/svg+xml,%3csvg%20id='flag_ENG'%20xmlns='http://www.w3.org
|
|
|
11006
11006
|
Rc,
|
|
11007
11007
|
{
|
|
11008
11008
|
onClick: () => {
|
|
11009
|
-
|
|
11009
|
+
pe(), me(!0);
|
|
11010
11010
|
},
|
|
11011
11011
|
children: /* @__PURE__ */ a.jsx(Kl, {})
|
|
11012
11012
|
}
|
|
@@ -11044,7 +11044,7 @@ const xc = "data:image/svg+xml,%3csvg%20id='flag_ENG'%20xmlns='http://www.w3.org
|
|
|
11044
11044
|
setOpenRoundHistory: Q,
|
|
11045
11045
|
limits: P,
|
|
11046
11046
|
sendTip: (G) => {
|
|
11047
|
-
|
|
11047
|
+
ge(null), me(!1), T(G);
|
|
11048
11048
|
},
|
|
11049
11049
|
handleStreamQualityChange: S,
|
|
11050
11050
|
handleDealerLangChange: B,
|
|
@@ -11071,7 +11071,7 @@ const xc = "data:image/svg+xml,%3csvg%20id='flag_ENG'%20xmlns='http://www.w3.org
|
|
|
11071
11071
|
m || bl(G, Ae);
|
|
11072
11072
|
},
|
|
11073
11073
|
onTouchMove: (G) => {
|
|
11074
|
-
m || yl(G, we,
|
|
11074
|
+
m || yl(G, we, me);
|
|
11075
11075
|
},
|
|
11076
11076
|
onTouchEnd: (G) => {
|
|
11077
11077
|
m || kl(G, Ae);
|
|
@@ -11080,10 +11080,10 @@ const xc = "data:image/svg+xml,%3csvg%20id='flag_ENG'%20xmlns='http://www.w3.org
|
|
|
11080
11080
|
children: [
|
|
11081
11081
|
/* @__PURE__ */ a.jsxs(Nc, { children: [
|
|
11082
11082
|
/* @__PURE__ */ a.jsxs(Ec, { children: [
|
|
11083
|
-
/* @__PURE__ */ a.jsx("div", { className: "name-contener", children: /* @__PURE__ */ a.jsx("p", { className: "name", "data-testid": "game-name", children:
|
|
11083
|
+
/* @__PURE__ */ a.jsx("div", { className: "name-contener", children: /* @__PURE__ */ a.jsx("p", { className: "name", "data-testid": "game-name", children: fe(e) }) }),
|
|
11084
11084
|
/* @__PURE__ */ a.jsxs("div", { className: "round-contener", children: [
|
|
11085
11085
|
/* @__PURE__ */ a.jsxs("p", { className: "round-text", children: [
|
|
11086
|
-
|
|
11086
|
+
fe("round"),
|
|
11087
11087
|
":"
|
|
11088
11088
|
] }),
|
|
11089
11089
|
/* @__PURE__ */ a.jsx("p", { className: "round", "data-testid": "game-round", children: t })
|
|
@@ -11104,10 +11104,12 @@ const xc = "data:image/svg+xml,%3csvg%20id='flag_ENG'%20xmlns='http://www.w3.org
|
|
|
11104
11104
|
Ci,
|
|
11105
11105
|
{
|
|
11106
11106
|
$isLandscape: m,
|
|
11107
|
-
onClick: () =>
|
|
11107
|
+
onClick: () => {
|
|
11108
|
+
gn(n, i, r, e), me(!1);
|
|
11109
|
+
},
|
|
11108
11110
|
children: [
|
|
11109
11111
|
/* @__PURE__ */ a.jsx(De, { position: "left", color: "rgba(197, 245, 250, 1)" }),
|
|
11110
|
-
/* @__PURE__ */ a.jsx("p", { className: "text", children:
|
|
11112
|
+
/* @__PURE__ */ a.jsx("p", { className: "text", children: fe("Back To Lobby") })
|
|
11111
11113
|
]
|
|
11112
11114
|
}
|
|
11113
11115
|
),
|
|
@@ -11121,7 +11123,7 @@ const xc = "data:image/svg+xml,%3csvg%20id='flag_ENG'%20xmlns='http://www.w3.org
|
|
|
11121
11123
|
onClick: () => Re(G.buttonType),
|
|
11122
11124
|
children: [
|
|
11123
11125
|
G.icon,
|
|
11124
|
-
/* @__PURE__ */ a.jsx("p", { className: "p", children:
|
|
11126
|
+
/* @__PURE__ */ a.jsx("p", { className: "p", children: fe(G.name) })
|
|
11125
11127
|
]
|
|
11126
11128
|
},
|
|
11127
11129
|
G.buttonType
|
|
@@ -11135,7 +11137,7 @@ const xc = "data:image/svg+xml,%3csvg%20id='flag_ENG'%20xmlns='http://www.w3.org
|
|
|
11135
11137
|
children: [
|
|
11136
11138
|
G.icon,
|
|
11137
11139
|
/* @__PURE__ */ a.jsxs("p", { className: "p", children: [
|
|
11138
|
-
|
|
11140
|
+
fe(G.name),
|
|
11139
11141
|
" ",
|
|
11140
11142
|
typeof P == "string" && G.name === "Limits & Payouts" && /* @__PURE__ */ a.jsx(a.Fragment, { children: P })
|
|
11141
11143
|
] })
|
|
@@ -11152,7 +11154,7 @@ const xc = "data:image/svg+xml,%3csvg%20id='flag_ENG'%20xmlns='http://www.w3.org
|
|
|
11152
11154
|
onClick: () => Re(D.Tournament),
|
|
11153
11155
|
children: [
|
|
11154
11156
|
/* @__PURE__ */ a.jsx("img", { src: yr, alt: "Gold" }),
|
|
11155
|
-
/* @__PURE__ */ a.jsx("p", { className: "text", children:
|
|
11157
|
+
/* @__PURE__ */ a.jsx("p", { className: "text", children: fe("Tournament") })
|
|
11156
11158
|
]
|
|
11157
11159
|
}
|
|
11158
11160
|
)
|
|
@@ -11509,19 +11511,19 @@ const xc = "data:image/svg+xml,%3csvg%20id='flag_ENG'%20xmlns='http://www.w3.org
|
|
|
11509
11511
|
musicVolume: I,
|
|
11510
11512
|
onTournamentClick: N
|
|
11511
11513
|
}) => {
|
|
11512
|
-
const [W, z] = Y(null), [Q, ie] = Y(0),
|
|
11514
|
+
const [W, z] = Y(null), [Q, ie] = Y(0), ge = ml(W, Q === 1), { clickSound: xe } = He({ effectsVolume: 100 }), me = ($, be) => {
|
|
11513
11515
|
if ($.buttonType === D.FullScreen && h(), $.buttonType === D.VolumeOn) {
|
|
11514
11516
|
m(c === 0 ? 100 : 0);
|
|
11515
11517
|
return;
|
|
11516
11518
|
} else
|
|
11517
11519
|
z(be ? null : $.buttonType), E == null || E();
|
|
11518
|
-
},
|
|
11520
|
+
}, fe = ($) => $.buttonType === D.FullScreen && d ? Jc() : $.buttonType === D.VolumeOn ? c === 0 ? Hr() : bn() : $.icon;
|
|
11519
11521
|
ye(() => {
|
|
11520
11522
|
y && (z(D.Tournament), E == null || E());
|
|
11521
11523
|
}, [y]), ye(() => {
|
|
11522
11524
|
oe && z(null);
|
|
11523
11525
|
}, [oe]);
|
|
11524
|
-
const
|
|
11526
|
+
const pe = Q === 1 ? { headerClick: () => ie(2) } : {}, we = ($) => {
|
|
11525
11527
|
z(null), E == null || E(), v($);
|
|
11526
11528
|
}, Ae = /* @__PURE__ */ a.jsx(
|
|
11527
11529
|
Dr,
|
|
@@ -11543,7 +11545,7 @@ const xc = "data:image/svg+xml,%3csvg%20id='flag_ENG'%20xmlns='http://www.w3.org
|
|
|
11543
11545
|
setEffectsVolume: b,
|
|
11544
11546
|
setStreamVolume: m,
|
|
11545
11547
|
tournamentData: u,
|
|
11546
|
-
sendTip:
|
|
11548
|
+
sendTip: ge ? we : void 0,
|
|
11547
11549
|
handleStreamQualityChange: A,
|
|
11548
11550
|
handleDealerLangChange: C,
|
|
11549
11551
|
streamQuality: P,
|
|
@@ -11568,11 +11570,11 @@ const xc = "data:image/svg+xml,%3csvg%20id='flag_ENG'%20xmlns='http://www.w3.org
|
|
|
11568
11570
|
return /* @__PURE__ */ a.jsx(
|
|
11569
11571
|
nt,
|
|
11570
11572
|
{
|
|
11571
|
-
icon:
|
|
11573
|
+
icon: fe($),
|
|
11572
11574
|
isValueButton: $.buttonType === D.VolumeOn,
|
|
11573
11575
|
isActive: ta,
|
|
11574
11576
|
onClick: () => {
|
|
11575
|
-
|
|
11577
|
+
me($, ta), xe();
|
|
11576
11578
|
},
|
|
11577
11579
|
buttonInfo: $ == null ? void 0 : $.name,
|
|
11578
11580
|
setStreamVolume: m,
|
|
@@ -11581,14 +11583,14 @@ const xc = "data:image/svg+xml,%3csvg%20id='flag_ENG'%20xmlns='http://www.w3.org
|
|
|
11581
11583
|
be
|
|
11582
11584
|
);
|
|
11583
11585
|
}) }),
|
|
11584
|
-
W && /* @__PURE__ */ a.jsx(a.Fragment, { children:
|
|
11586
|
+
W && /* @__PURE__ */ a.jsx(a.Fragment, { children: ge ? /* @__PURE__ */ a.jsx(
|
|
11585
11587
|
Rr,
|
|
11586
11588
|
{
|
|
11587
11589
|
close: () => {
|
|
11588
11590
|
z(null), E == null || E(), xe();
|
|
11589
11591
|
},
|
|
11592
|
+
...ge,
|
|
11590
11593
|
...pe,
|
|
11591
|
-
...fe,
|
|
11592
11594
|
dealerName: W === D.Tip ? B : "",
|
|
11593
11595
|
children: Ae
|
|
11594
11596
|
}
|