livevegas-ui-kit 1.0.75 → 1.0.77
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.
|
@@ -5,6 +5,7 @@ interface IActionWrapper {
|
|
|
5
5
|
export declare const ActionWrapper: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, IActionWrapper>> & string;
|
|
6
6
|
interface IStandAllButton {
|
|
7
7
|
$surrender: boolean;
|
|
8
|
+
$isDisabled?: boolean;
|
|
8
9
|
}
|
|
9
10
|
export declare const StandAllButton: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, IStandAllButton>> & string;
|
|
10
11
|
export {};
|
|
@@ -18,7 +18,7 @@ export interface IToLobby {
|
|
|
18
18
|
onSendMessageSupport: (message: string) => void;
|
|
19
19
|
messagesSupport: IMessage[];
|
|
20
20
|
isLandscape: boolean;
|
|
21
|
-
historyData: IHistoryData;
|
|
21
|
+
historyData: IHistoryData | null;
|
|
22
22
|
streamVolume: number;
|
|
23
23
|
effectsVolume: number;
|
|
24
24
|
setEffectsVolume: (volume: number) => void;
|
|
@@ -256,18 +256,18 @@ function Ht() {
|
|
|
256
256
|
if (Y && v && typeof Y.stack == "string") {
|
|
257
257
|
for (var A = Y.stack.split(`
|
|
258
258
|
`), Q = v.stack.split(`
|
|
259
|
-
`),
|
|
260
|
-
|
|
261
|
-
for (;
|
|
262
|
-
if (A[
|
|
263
|
-
if (
|
|
259
|
+
`), P = A.length - 1, U = Q.length - 1; P >= 1 && U >= 0 && A[P] !== Q[U]; )
|
|
260
|
+
U--;
|
|
261
|
+
for (; P >= 1 && U >= 0; P--, U--)
|
|
262
|
+
if (A[P] !== Q[U]) {
|
|
263
|
+
if (P !== 1 || U !== 1)
|
|
264
264
|
do
|
|
265
|
-
if (
|
|
265
|
+
if (P--, U--, U < 0 || A[P] !== Q[U]) {
|
|
266
266
|
var e1 = `
|
|
267
|
-
` + A[
|
|
267
|
+
` + A[P].replace(" at new ", " at ");
|
|
268
268
|
return o.displayName && e1.includes("<anonymous>") && (e1 = e1.replace("<anonymous>", o.displayName)), typeof o == "function" && m1.set(o, e1), e1;
|
|
269
269
|
}
|
|
270
|
-
while (
|
|
270
|
+
while (P >= 1 && U >= 0);
|
|
271
271
|
break;
|
|
272
272
|
}
|
|
273
273
|
}
|
|
@@ -333,8 +333,8 @@ function Ht() {
|
|
|
333
333
|
throw Q.name = "Invariant Violation", Q;
|
|
334
334
|
}
|
|
335
335
|
A = o[M](h, M, v, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
336
|
-
} catch (
|
|
337
|
-
A =
|
|
336
|
+
} catch (P) {
|
|
337
|
+
A = P;
|
|
338
338
|
}
|
|
339
339
|
A && !(A instanceof Error) && (n2(W), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", m, M, typeof A), n2(null)), A instanceof Error && !(A.message in y0) && (y0[A.message] = !0, n2(W), b("Failed %s type: %s", m, A.message), n2(null));
|
|
340
340
|
}
|
|
@@ -447,13 +447,13 @@ function Ht() {
|
|
|
447
447
|
for (O in h)
|
|
448
448
|
K1.call(h, O) && !gt.hasOwnProperty(O) && (M[O] = h[O]);
|
|
449
449
|
if (o && o.defaultProps) {
|
|
450
|
-
var
|
|
451
|
-
for (O in
|
|
452
|
-
M[O] === void 0 && (M[O] =
|
|
450
|
+
var P = o.defaultProps;
|
|
451
|
+
for (O in P)
|
|
452
|
+
M[O] === void 0 && (M[O] = P[O]);
|
|
453
453
|
}
|
|
454
454
|
if (A || Q) {
|
|
455
|
-
var
|
|
456
|
-
A && wt(M,
|
|
455
|
+
var U = typeof o == "function" ? o.displayName || o.name || "Unknown" : o;
|
|
456
|
+
A && wt(M, U), Q && bt(M, U);
|
|
457
457
|
}
|
|
458
458
|
return vt(o, A, Q, W, v, j0.current, M);
|
|
459
459
|
}
|
|
@@ -577,12 +577,12 @@ Check the top-level render call using <` + m + ">.");
|
|
|
577
577
|
(o === void 0 || typeof o == "object" && o !== null && Object.keys(o).length === 0) && (A += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
578
578
|
var Q = Lt();
|
|
579
579
|
Q ? A += Q : A += A0();
|
|
580
|
-
var
|
|
581
|
-
o === null ?
|
|
580
|
+
var P;
|
|
581
|
+
o === null ? P = "null" : W2(o) ? P = "array" : o !== void 0 && o.$$typeof === n ? (P = "<" + (X(o.type) || "Unknown") + " />", A = " Did you accidentally export a JSX literal instead of a component?") : P = typeof o, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, A);
|
|
582
582
|
}
|
|
583
|
-
var
|
|
584
|
-
if (
|
|
585
|
-
return
|
|
583
|
+
var U = jt(o, h, m, W, O);
|
|
584
|
+
if (U == null)
|
|
585
|
+
return U;
|
|
586
586
|
if (M) {
|
|
587
587
|
var e1 = h.children;
|
|
588
588
|
if (e1 !== void 0)
|
|
@@ -610,7 +610,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
610
610
|
<%s key={someKey} {...props} />`, V2, v1, Ft, v1), M0[v1 + V2] = !0;
|
|
611
611
|
}
|
|
612
612
|
}
|
|
613
|
-
return o === i ? At(
|
|
613
|
+
return o === i ? At(U) : St(U), U;
|
|
614
614
|
}
|
|
615
615
|
}
|
|
616
616
|
function It(o, h, m) {
|
|
@@ -688,7 +688,7 @@ function R0(e, n) {
|
|
|
688
688
|
return !p1(r, n);
|
|
689
689
|
});
|
|
690
690
|
}
|
|
691
|
-
var I2 = 1, V1 = 1, Ce = 0, t1 = 0,
|
|
691
|
+
var I2 = 1, V1 = 1, Ce = 0, t1 = 0, Z = 0, U1 = "";
|
|
692
692
|
function B2(e, n, r, i, s, a, l, p) {
|
|
693
693
|
return { value: e, root: n, parent: r, type: i, props: s, children: a, line: I2, column: V1, length: l, return: "", siblings: p };
|
|
694
694
|
}
|
|
@@ -701,13 +701,13 @@ function H1(e) {
|
|
|
701
701
|
Y1(e, e.siblings);
|
|
702
702
|
}
|
|
703
703
|
function Et() {
|
|
704
|
-
return
|
|
704
|
+
return Z;
|
|
705
705
|
}
|
|
706
706
|
function _t() {
|
|
707
|
-
return
|
|
707
|
+
return Z = t1 > 0 ? _(U1, --t1) : 0, V1--, Z === 10 && (V1 = 1, I2--), Z;
|
|
708
708
|
}
|
|
709
709
|
function s1() {
|
|
710
|
-
return
|
|
710
|
+
return Z = t1 < Ce ? _(U1, t1++) : 0, V1++, Z === 10 && (V1 = 1, I2++), Z;
|
|
711
711
|
}
|
|
712
712
|
function k1() {
|
|
713
713
|
return _(U1, t1);
|
|
@@ -760,23 +760,23 @@ function T2(e) {
|
|
|
760
760
|
return ge(N2(t1 - 1, J2(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
761
761
|
}
|
|
762
762
|
function qt(e) {
|
|
763
|
-
for (; (
|
|
763
|
+
for (; (Z = k1()) && Z < 33; )
|
|
764
764
|
s1();
|
|
765
|
-
return Y2(e) > 2 || Y2(
|
|
765
|
+
return Y2(e) > 2 || Y2(Z) > 3 ? "" : " ";
|
|
766
766
|
}
|
|
767
767
|
function Qt(e, n) {
|
|
768
|
-
for (; --n && s1() && !(
|
|
768
|
+
for (; --n && s1() && !(Z < 48 || Z > 102 || Z > 57 && Z < 65 || Z > 70 && Z < 97); )
|
|
769
769
|
;
|
|
770
770
|
return N2(e, m2() + (n < 6 && k1() == 32 && s1() == 32));
|
|
771
771
|
}
|
|
772
772
|
function J2(e) {
|
|
773
773
|
for (; s1(); )
|
|
774
|
-
switch (
|
|
774
|
+
switch (Z) {
|
|
775
775
|
case e:
|
|
776
776
|
return t1;
|
|
777
777
|
case 34:
|
|
778
778
|
case 39:
|
|
779
|
-
e !== 34 && e !== 39 && J2(
|
|
779
|
+
e !== 34 && e !== 39 && J2(Z);
|
|
780
780
|
break;
|
|
781
781
|
case 40:
|
|
782
782
|
e === 41 && J2(e);
|
|
@@ -788,8 +788,8 @@ function J2(e) {
|
|
|
788
788
|
return t1;
|
|
789
789
|
}
|
|
790
790
|
function Yt(e, n) {
|
|
791
|
-
for (; s1() && e +
|
|
792
|
-
if (e +
|
|
791
|
+
for (; s1() && e + Z !== 57; )
|
|
792
|
+
if (e + Z === 84 && k1() === 47)
|
|
793
793
|
break;
|
|
794
794
|
return "/*" + N2(n, t1 - 1) + "*" + d0(e === 47 ? e : s1());
|
|
795
795
|
}
|
|
@@ -3208,7 +3208,7 @@ const a5 = [
|
|
|
3208
3208
|
return "";
|
|
3209
3209
|
}
|
|
3210
3210
|
};
|
|
3211
|
-
var
|
|
3211
|
+
var G = /* @__PURE__ */ ((e) => (e[e.Ante = 0] = "Ante", e[e.Insurance = 3] = "Insurance", e[e.Tip = 9] = "Tip", e[e.Hit = 10] = "Hit", e[e.Double = 11] = "Double", e[e.Split = 12] = "Split", e[e.Stand = 13] = "Stand", e[e.Surrender = 14] = "Surrender", e[e.TwentyOnePlusThree = 15] = "TwentyOnePlusThree", e[e.PerfectPairs = 16] = "PerfectPairs", e[e.DraftAnte = 17] = "DraftAnte", e[e.DraftTwentyOnePlusThree = 18] = "DraftTwentyOnePlusThree", e[e.DraftPerfectPairs = 19] = "DraftPerfectPairs", e[e.Occupy = 20] = "Occupy", e[e.Leave = 21] = "Leave", e[e.DraftBetBehind = 22] = "DraftBetBehind", e[e.BetBehind = 23] = "BetBehind", e[e.Undo = 24] = "Undo", e[e.Repeat = 25] = "Repeat", e[e.Deal = 26] = "Deal", e[e.DoubleBets = 27] = "DoubleBets", e[e.StandAll = 49] = "StandAll", e))(G || {}), A1 = /* @__PURE__ */ ((e) => (e[e.WaitingForInit = 0] = "WaitingForInit", e[e.WaitingRoundStart = 1] = "WaitingRoundStart", e[e.WaitingForBet = 2] = "WaitingForBet", e[e.WaitingCard = 3] = "WaitingCard", e[e.WaitingForUserAction = 4] = "WaitingForUserAction", e[e.WaitingOpenDealerCards = 5] = "WaitingOpenDealerCards", e[e.WaitingDealerCards = 6] = "WaitingDealerCards", e[e.WaitingForWins = 7] = "WaitingForWins", e[e.WaitingRoundEnd = 8] = "WaitingRoundEnd", e[e.WaitingInsurance = 9] = "WaitingInsurance", e[e.CalculateWins = 10] = "CalculateWins", e[e.WaitingRebuyCards = 11] = "WaitingRebuyCards", e[e.RoundEnd = 12] = "RoundEnd", e[e.CancelRound = 13] = "CancelRound", e[e.WaitingOpenBoxCards = 14] = "WaitingOpenBoxCards", e[e.CrashRound = 16] = "CrashRound", e))(A1 || {});
|
|
3212
3212
|
const v5 = {
|
|
3213
3213
|
0: "Ante",
|
|
3214
3214
|
3: "Insurance",
|
|
@@ -3764,10 +3764,10 @@ const v5 = {
|
|
|
3764
3764
|
indexHistory: r
|
|
3765
3765
|
}) => {
|
|
3766
3766
|
const i = [
|
|
3767
|
-
|
|
3768
|
-
|
|
3769
|
-
|
|
3770
|
-
|
|
3767
|
+
G.Ante,
|
|
3768
|
+
G.Insurance,
|
|
3769
|
+
G.PerfectPairs,
|
|
3770
|
+
G.TwentyOnePlusThree
|
|
3771
3771
|
];
|
|
3772
3772
|
return /* @__PURE__ */ t.jsxs(I5, { children: [
|
|
3773
3773
|
/* @__PURE__ */ t.jsxs(B5, { children: [
|
|
@@ -7272,11 +7272,11 @@ const J5 = d.div`
|
|
|
7272
7272
|
)
|
|
7273
7273
|
}
|
|
7274
7274
|
), V6 = {
|
|
7275
|
-
[
|
|
7276
|
-
[
|
|
7277
|
-
[
|
|
7278
|
-
[
|
|
7279
|
-
[
|
|
7275
|
+
[G.Double]: "#eb6200",
|
|
7276
|
+
[G.Hit]: "#33A54C",
|
|
7277
|
+
[G.Stand]: "#E34747",
|
|
7278
|
+
[G.Split]: "#C344FA",
|
|
7279
|
+
[G.Surrender]: "#11111199"
|
|
7280
7280
|
};
|
|
7281
7281
|
var $1 = /* @__PURE__ */ ((e) => (e[e.Small = 0] = "Small", e[e.Big = 1] = "Big", e))($1 || {});
|
|
7282
7282
|
const le = {
|
|
@@ -7284,48 +7284,48 @@ const le = {
|
|
|
7284
7284
|
1: { buttonSize: 44, iconSize: 24, radius: 12 }
|
|
7285
7285
|
}, T6 = [
|
|
7286
7286
|
{
|
|
7287
|
-
betType:
|
|
7287
|
+
betType: G.Double,
|
|
7288
7288
|
name: "double",
|
|
7289
7289
|
icon: z2
|
|
7290
7290
|
},
|
|
7291
7291
|
{
|
|
7292
|
-
betType:
|
|
7292
|
+
betType: G.Hit,
|
|
7293
7293
|
name: "hit",
|
|
7294
7294
|
icon: at
|
|
7295
7295
|
},
|
|
7296
7296
|
{
|
|
7297
|
-
betType:
|
|
7297
|
+
betType: G.Stand,
|
|
7298
7298
|
name: "stand",
|
|
7299
7299
|
icon: C0
|
|
7300
7300
|
},
|
|
7301
7301
|
{
|
|
7302
|
-
betType:
|
|
7302
|
+
betType: G.Split,
|
|
7303
7303
|
name: "split",
|
|
7304
7304
|
icon: lt
|
|
7305
7305
|
},
|
|
7306
7306
|
{
|
|
7307
|
-
betType:
|
|
7307
|
+
betType: G.Surrender,
|
|
7308
7308
|
name: "surrender",
|
|
7309
7309
|
icon: ot
|
|
7310
7310
|
}
|
|
7311
7311
|
], G6 = [
|
|
7312
7312
|
{
|
|
7313
|
-
betType:
|
|
7313
|
+
betType: G.Double,
|
|
7314
7314
|
name: "double",
|
|
7315
7315
|
icon: z2
|
|
7316
7316
|
},
|
|
7317
7317
|
{
|
|
7318
|
-
betType:
|
|
7318
|
+
betType: G.Hit,
|
|
7319
7319
|
name: "hit",
|
|
7320
7320
|
icon: at
|
|
7321
7321
|
},
|
|
7322
7322
|
{
|
|
7323
|
-
betType:
|
|
7323
|
+
betType: G.Stand,
|
|
7324
7324
|
name: "stand",
|
|
7325
7325
|
icon: C0
|
|
7326
7326
|
},
|
|
7327
7327
|
{
|
|
7328
|
-
betType:
|
|
7328
|
+
betType: G.Split,
|
|
7329
7329
|
name: "split",
|
|
7330
7330
|
icon: lt
|
|
7331
7331
|
}
|
|
@@ -7420,6 +7420,7 @@ const le = {
|
|
|
7420
7420
|
justify-content: center;
|
|
7421
7421
|
align-items: center;
|
|
7422
7422
|
cursor: pointer;
|
|
7423
|
+
${({ $isDisabled: e }) => e && "opacity: 0.4;"}
|
|
7423
7424
|
|
|
7424
7425
|
.name {
|
|
7425
7426
|
font-family: Inter;
|
|
@@ -7473,10 +7474,19 @@ const le = {
|
|
|
7473
7474
|
/* @__PURE__ */ t.jsx("div", { className: "icon", children: /* @__PURE__ */ t.jsx(C0, { size: i === $1.Big ? 20 : 12 }) }),
|
|
7474
7475
|
/* @__PURE__ */ t.jsx("p", { className: "name", children: "Stand All" })
|
|
7475
7476
|
] }),
|
|
7476
|
-
s && /* @__PURE__ */ t.jsxs(
|
|
7477
|
-
|
|
7478
|
-
|
|
7479
|
-
|
|
7477
|
+
s && /* @__PURE__ */ t.jsxs(
|
|
7478
|
+
ce,
|
|
7479
|
+
{
|
|
7480
|
+
onClick: n[G.Surrender].onHandle,
|
|
7481
|
+
$surrender: !0,
|
|
7482
|
+
$isDisabled: n[G.Surrender].isDisabled,
|
|
7483
|
+
disabled: n[G.Surrender].isDisabled,
|
|
7484
|
+
children: [
|
|
7485
|
+
/* @__PURE__ */ t.jsx("div", { className: "icon", children: /* @__PURE__ */ t.jsx(ot, { size: i === $1.Big ? 20 : 12 }) }),
|
|
7486
|
+
/* @__PURE__ */ t.jsx("p", { className: "name", children: "Stand All" })
|
|
7487
|
+
]
|
|
7488
|
+
}
|
|
7489
|
+
)
|
|
7480
7490
|
] })
|
|
7481
7491
|
] });
|
|
7482
7492
|
}, Z6 = d.div`
|