60p82u21t54k 0.0.68 → 0.0.70
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/60p82u21t54k.es.js +320 -308
- package/dist/60p82u21t54k.umd.js +1 -1
- package/dist/model/getBankCardData/getGetBankCardDataResponse.d.ts.map +1 -1
- package/dist/model/getBankCardData/type.d.ts +10 -2
- package/dist/model/getBankCardData/type.d.ts.map +1 -1
- package/dist/model/getCountry/getGetCountryResponse.d.ts +2 -2
- package/dist/model/getCountry/getGetCountryResponse.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/60p82u21t54k.es.js
CHANGED
|
@@ -66,10 +66,10 @@ const te = (e) => new TextEncoder().encode(e), ne = (e) => {
|
|
|
66
66
|
return console.error("Failed to decode Base64:", t), "";
|
|
67
67
|
}
|
|
68
68
|
}, ae = () => {
|
|
69
|
-
const e = /* @__PURE__ */ new Date(), t = e.getFullYear(), n = e.getMonth(), l = new Date(t, n, 1, 12, 0, 0),
|
|
70
|
-
(
|
|
69
|
+
const e = /* @__PURE__ */ new Date(), t = e.getFullYear(), n = e.getMonth(), l = new Date(t, n, 1, 12, 0, 0), o = new Date(t, n + 1, 1, 12, 0, 0), u = Math.floor(
|
|
70
|
+
(o.getTime() - e.getTime()) / 1e3
|
|
71
71
|
), c = Math.floor(
|
|
72
|
-
(
|
|
72
|
+
(o.getTime() - l.getTime()) / 1e3
|
|
73
73
|
), m = c - u;
|
|
74
74
|
return {
|
|
75
75
|
monthRemainingTime: u,
|
|
@@ -84,10 +84,10 @@ const te = (e) => new TextEncoder().encode(e), ne = (e) => {
|
|
|
84
84
|
0,
|
|
85
85
|
0,
|
|
86
86
|
0
|
|
87
|
-
),
|
|
88
|
-
return console.log(
|
|
89
|
-
weekRemainingTime:
|
|
90
|
-
weekProgressPercentage: Math.round(
|
|
87
|
+
), o = Math.floor((l.getTime() - e.getTime()) / 1e3), g = 7 * 24 * 60 * 60;
|
|
88
|
+
return console.log(o), console.log(g), {
|
|
89
|
+
weekRemainingTime: o,
|
|
90
|
+
weekProgressPercentage: Math.round(o / g * 100)
|
|
91
91
|
};
|
|
92
92
|
}, re = () => {
|
|
93
93
|
const e = /* @__PURE__ */ new Date(), t = new Date(
|
|
@@ -141,8 +141,8 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
141
141
|
ce(t.bankid ?? 0, t.paymentmethod.auto, e)
|
|
142
142
|
), t.paymentmethod.manual.bank.length > 0) {
|
|
143
143
|
let l = !1;
|
|
144
|
-
for (let
|
|
145
|
-
const u = t.paymentmethod.manual.bank[
|
|
144
|
+
for (let o = 0; o < t.paymentmethod.manual.bank.length; o++) {
|
|
145
|
+
const u = t.paymentmethod.manual.bank[o];
|
|
146
146
|
if (u.list && u.list.length > 0) {
|
|
147
147
|
l = !0;
|
|
148
148
|
break;
|
|
@@ -175,14 +175,14 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
175
175
|
}));
|
|
176
176
|
return [t, ...n];
|
|
177
177
|
}, F = (e, t, n, l) => {
|
|
178
|
-
let
|
|
179
|
-
n > 0 ?
|
|
180
|
-
const c = Math.round(
|
|
178
|
+
let o, u;
|
|
179
|
+
n > 0 ? o = e > 0 ? Math.max(n, e) : n : o = Math.max(e, 0), l > 0 ? u = t > 0 ? Math.min(l, t) : l : u = Math.max(t, 0);
|
|
180
|
+
const c = Math.round(o);
|
|
181
181
|
let m = 1e3;
|
|
182
182
|
u < m && (m = Math.round(u));
|
|
183
|
-
const
|
|
183
|
+
const f = m - c;
|
|
184
184
|
let g = "", _ = "";
|
|
185
|
-
if (
|
|
185
|
+
if (f > 0) {
|
|
186
186
|
let v = Math.round((m - c) * 0.25).toString().split(""), k = [];
|
|
187
187
|
for (const T of v)
|
|
188
188
|
T !== "" && k.push(T);
|
|
@@ -206,22 +206,22 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
206
206
|
name: "manualMethod",
|
|
207
207
|
type: x.manual,
|
|
208
208
|
promo: G(e.promo),
|
|
209
|
-
bank: e.bank.map((
|
|
210
|
-
const u =
|
|
209
|
+
bank: e.bank.map((o) => {
|
|
210
|
+
const u = o.list && o.list.length > 0 ? o.list[0].mintransaction ?? "0.00" : "0.00", c = o.list && o.list.length > 0 ? o.list[0].maxtransaction ?? "0.00" : "0.00", { amountList: m, minAmount: f, maxAmount: g } = F(
|
|
211
211
|
Number(u),
|
|
212
212
|
Number(c),
|
|
213
213
|
t.mdBankLevelDetail.deposit_min,
|
|
214
214
|
t.mdBankLevelDetail.deposit_max
|
|
215
215
|
);
|
|
216
216
|
return t.mdManualDepositRequireField.depositor = !0, {
|
|
217
|
-
id:
|
|
218
|
-
bankAccountId:
|
|
219
|
-
name:
|
|
220
|
-
accountName:
|
|
221
|
-
accountNo:
|
|
222
|
-
qrcode:
|
|
217
|
+
id: o.bankindex ?? 0,
|
|
218
|
+
bankAccountId: o.list && o.list.length > 0 ? o.list[0].bankaccountindex ?? 0 : 0,
|
|
219
|
+
name: o.list && o.list.length > 0 ? o.list[0].label ?? "" : "",
|
|
220
|
+
accountName: o.list && o.list.length > 0 ? o.list[0].bankaccountname ?? "" : "",
|
|
221
|
+
accountNo: o.list && o.list.length > 0 ? o.list[0].bankaccountno ?? "" : "",
|
|
222
|
+
qrcode: o.list && o.list.length > 0 ? o.list[0].bankaccountdesc : "",
|
|
223
223
|
amountList: m,
|
|
224
|
-
min:
|
|
224
|
+
min: f,
|
|
225
225
|
max: g
|
|
226
226
|
};
|
|
227
227
|
}),
|
|
@@ -238,12 +238,12 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
238
238
|
name: "onlineBankingMethod",
|
|
239
239
|
type: x.pay,
|
|
240
240
|
promo: G(e.promo),
|
|
241
|
-
bank: e.banklist.map((
|
|
241
|
+
bank: e.banklist.map((o) => {
|
|
242
242
|
let u = "0.00", c = "0.00";
|
|
243
|
-
const m =
|
|
243
|
+
const m = o.bankindex ?? 0;
|
|
244
244
|
for (let v = 0; v < t.mdGatewayMinMax.length; v++)
|
|
245
245
|
t.mdGatewayMinMax[v].bankindex == m.toString() && (u = t.mdGatewayMinMax[v].min, c = t.mdGatewayMinMax[v].max);
|
|
246
|
-
const { amountList:
|
|
246
|
+
const { amountList: f, minAmount: g, maxAmount: _ } = F(
|
|
247
247
|
Number(u),
|
|
248
248
|
Number(c),
|
|
249
249
|
t.mdBankLevelDetail.onlinepayment_min,
|
|
@@ -251,10 +251,10 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
251
251
|
), O = {
|
|
252
252
|
id: 0,
|
|
253
253
|
name: "autoChannel",
|
|
254
|
-
amountList:
|
|
254
|
+
amountList: f,
|
|
255
255
|
min: g,
|
|
256
256
|
max: _
|
|
257
|
-
}, S =
|
|
257
|
+
}, S = o.pg.map((v) => {
|
|
258
258
|
const k = v.mintransaction ?? "0.00", q = v.maxtransaction ?? "0.00", { amountList: z, minAmount: T, maxAmount: U } = F(
|
|
259
259
|
Number(k),
|
|
260
260
|
Number(q),
|
|
@@ -270,8 +270,8 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
270
270
|
};
|
|
271
271
|
});
|
|
272
272
|
return {
|
|
273
|
-
id:
|
|
274
|
-
name:
|
|
273
|
+
id: o.bankindex ?? 0,
|
|
274
|
+
name: o.banknameenglish ?? "",
|
|
275
275
|
amountList: [],
|
|
276
276
|
min: 0,
|
|
277
277
|
max: 0,
|
|
@@ -282,11 +282,11 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
282
282
|
} : E, ce = (e, t, n) => {
|
|
283
283
|
if (!n) return E;
|
|
284
284
|
const l = x.auto;
|
|
285
|
-
let
|
|
285
|
+
let o = [];
|
|
286
286
|
const u = n.mdGatewayMinMax;
|
|
287
287
|
if (t.bank.length > 0 && n.mdPGSelection === "1")
|
|
288
|
-
|
|
289
|
-
const { amountList:
|
|
288
|
+
o = t.bank.map((m) => {
|
|
289
|
+
const { amountList: f, minAmount: g, maxAmount: _ } = F(
|
|
290
290
|
m.mintransaction ?? 0,
|
|
291
291
|
m.maxtransaction ?? 0,
|
|
292
292
|
n.mdBankLevelDetail.onlinepayment_min,
|
|
@@ -295,18 +295,18 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
295
295
|
return {
|
|
296
296
|
id: m.pgindex ?? 0,
|
|
297
297
|
name: m.bankaccountname || "",
|
|
298
|
-
amountList:
|
|
298
|
+
amountList: f,
|
|
299
299
|
min: g,
|
|
300
300
|
max: _
|
|
301
301
|
};
|
|
302
302
|
});
|
|
303
303
|
else {
|
|
304
|
-
let m = "0.00",
|
|
304
|
+
let m = "0.00", f = "0.00";
|
|
305
305
|
for (let p = 0; p < u.length; p++)
|
|
306
|
-
u[p].bankindex === e.toString() && (m = u[p].min,
|
|
306
|
+
u[p].bankindex === e.toString() && (m = u[p].min, f = u[p].max);
|
|
307
307
|
const { amountList: g, minAmount: _, maxAmount: O } = F(
|
|
308
308
|
Number(m),
|
|
309
|
-
Number(
|
|
309
|
+
Number(f),
|
|
310
310
|
n.mdBankLevelDetail.onlinepayment_min,
|
|
311
311
|
n.mdBankLevelDetail.onlinepayment_max
|
|
312
312
|
), S = {
|
|
@@ -316,14 +316,14 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
316
316
|
min: _,
|
|
317
317
|
max: O
|
|
318
318
|
};
|
|
319
|
-
|
|
319
|
+
o.push(S);
|
|
320
320
|
}
|
|
321
321
|
return {
|
|
322
322
|
id: e,
|
|
323
323
|
name: "autoMethod",
|
|
324
324
|
type: l,
|
|
325
325
|
promo: G(t.promo),
|
|
326
|
-
bank:
|
|
326
|
+
bank: o,
|
|
327
327
|
requiredField: B
|
|
328
328
|
};
|
|
329
329
|
}, de = (e, t) => {
|
|
@@ -333,12 +333,12 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
333
333
|
name: "fixAmountMethod",
|
|
334
334
|
type: n,
|
|
335
335
|
promo: G(t.promo),
|
|
336
|
-
bank: t.bank.map((
|
|
337
|
-
const u =
|
|
336
|
+
bank: t.bank.map((o) => {
|
|
337
|
+
const u = o.amtlist.map(Number).sort((m, f) => m - f);
|
|
338
338
|
return {
|
|
339
|
-
id:
|
|
340
|
-
name:
|
|
341
|
-
amountList:
|
|
339
|
+
id: o.pgindex,
|
|
340
|
+
name: o.name,
|
|
341
|
+
amountList: o.amtlist,
|
|
342
342
|
min: u.length > 0 ? u[0] : 0,
|
|
343
343
|
max: u.length > 0 ? u[u.length - 1] : 0
|
|
344
344
|
};
|
|
@@ -365,15 +365,15 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
365
365
|
id: n.id,
|
|
366
366
|
name: n.name,
|
|
367
367
|
nextPage: n.nextPage === 1,
|
|
368
|
-
list: ((l = n.mdPlatformProducts) == null ? void 0 : l.map((
|
|
369
|
-
id: Number(
|
|
370
|
-
name:
|
|
368
|
+
list: ((l = n.mdPlatformProducts) == null ? void 0 : l.map((o) => ({
|
|
369
|
+
id: Number(o.id),
|
|
370
|
+
name: o.shortName,
|
|
371
371
|
flag: {
|
|
372
|
-
hot: (
|
|
373
|
-
trial: (
|
|
374
|
-
new: (
|
|
372
|
+
hot: (o.flag & 2) > 0,
|
|
373
|
+
trial: (o.flag & 4) > 0,
|
|
374
|
+
new: (o.flag & 8) > 0
|
|
375
375
|
},
|
|
376
|
-
imageUrl:
|
|
376
|
+
imageUrl: o.img,
|
|
377
377
|
rate: "0.00"
|
|
378
378
|
}))) ?? []
|
|
379
379
|
};
|
|
@@ -476,10 +476,10 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
476
476
|
vipCalculation: t,
|
|
477
477
|
livechat: e.livechat ?? "",
|
|
478
478
|
livechatList: n.filter((l) => l.status == 1).map((l) => {
|
|
479
|
-
let
|
|
480
|
-
return
|
|
479
|
+
let o = l.imgname;
|
|
480
|
+
return o.slice(-4) === ".png" && (o = l.imgname.slice(0, -4)), {
|
|
481
481
|
name: l.name,
|
|
482
|
-
imageUrl: `/image/game/native/customer_service/${
|
|
482
|
+
imageUrl: `/image/game/native/customer_service/${o}.png`,
|
|
483
483
|
url: l.url
|
|
484
484
|
};
|
|
485
485
|
}),
|
|
@@ -495,11 +495,11 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
495
495
|
}, ve = (e) => {
|
|
496
496
|
var t, n, l;
|
|
497
497
|
return {
|
|
498
|
-
banner: ((t = e.mobileBanner) == null ? void 0 : t.map((
|
|
499
|
-
ad: ((n = e.mobileAd) == null ? void 0 : n.map((
|
|
500
|
-
about: ((l = e.mobileAbout) == null ? void 0 : l.map((
|
|
501
|
-
name:
|
|
502
|
-
content:
|
|
498
|
+
banner: ((t = e.mobileBanner) == null ? void 0 : t.map((o) => `${o.imagepath}?${o.filemtime}`)) ?? [],
|
|
499
|
+
ad: ((n = e.mobileAd) == null ? void 0 : n.map((o) => `${o.imagepath}?${o.filemtime}`)) ?? [],
|
|
500
|
+
about: ((l = e.mobileAbout) == null ? void 0 : l.map((o) => ({
|
|
501
|
+
name: o.name,
|
|
502
|
+
content: o.content
|
|
503
503
|
}))) ?? []
|
|
504
504
|
};
|
|
505
505
|
}, Re = (e) => {
|
|
@@ -536,32 +536,32 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
536
536
|
var l;
|
|
537
537
|
return {
|
|
538
538
|
id: n.key,
|
|
539
|
-
date: ((l = n.draw_date) == null ? void 0 : l.map((
|
|
539
|
+
date: ((l = n.draw_date) == null ? void 0 : l.map((o) => je(o.draw_tmactive))) ?? []
|
|
540
540
|
};
|
|
541
541
|
})) ?? [];
|
|
542
542
|
};
|
|
543
543
|
function je(e) {
|
|
544
|
-
const t = new Date(e * 1e3), n = t.getFullYear(), l = ("0" + (t.getMonth() + 1)).slice(-2),
|
|
545
|
-
return `${n}-${l}-${
|
|
544
|
+
const t = new Date(e * 1e3), n = t.getFullYear(), l = ("0" + (t.getMonth() + 1)).slice(-2), o = ("0" + t.getDate()).slice(-2);
|
|
545
|
+
return `${n}-${l}-${o}`;
|
|
546
546
|
}
|
|
547
|
-
const
|
|
547
|
+
const De = (e) => {
|
|
548
548
|
var t;
|
|
549
549
|
return ((t = e.data) == null ? void 0 : t.map((n) => {
|
|
550
550
|
var l;
|
|
551
551
|
return {
|
|
552
552
|
id: n.company_id,
|
|
553
553
|
name: n.company_name,
|
|
554
|
-
list: ((l = n.drawCount) == null ? void 0 : l.map((
|
|
555
|
-
combination:
|
|
556
|
-
total:
|
|
554
|
+
list: ((l = n.drawCount) == null ? void 0 : l.map((o) => ({
|
|
555
|
+
combination: o.combination_combination,
|
|
556
|
+
total: o.total
|
|
557
557
|
}))) ?? []
|
|
558
558
|
};
|
|
559
559
|
})) ?? [];
|
|
560
|
-
},
|
|
560
|
+
}, Ce = (e) => e.data.map((t) => ({
|
|
561
561
|
companyId: t.company_id,
|
|
562
562
|
companyName: t.company_name,
|
|
563
563
|
resultByDateList: t.draws.map((n) => {
|
|
564
|
-
const l = n.results.filter((p) => p.combination_dimension == 3).map((p) => p.combination_combination),
|
|
564
|
+
const l = n.results.filter((p) => p.combination_dimension == 3).map((p) => p.combination_combination), o = n.results.filter(
|
|
565
565
|
(p) => p.combination_dimension == 4 && p.combination_position === 1
|
|
566
566
|
).map((p) => p.combination_combination), u = n.results.filter(
|
|
567
567
|
(p) => p.combination_dimension === 4 && p.combination_position === 2
|
|
@@ -569,7 +569,7 @@ const Ce = (e) => {
|
|
|
569
569
|
(p) => p.combination_dimension === 4 && p.combination_position === 3
|
|
570
570
|
).map((p) => p.combination_combination), m = n.results.filter(
|
|
571
571
|
(p) => p.combination_dimension === 4 && p.combination_position === 4
|
|
572
|
-
).map((p) => p.combination_combination),
|
|
572
|
+
).map((p) => p.combination_combination), f = n.results.filter(
|
|
573
573
|
(p) => p.combination_dimension === 4 && p.combination_position === 5
|
|
574
574
|
).map((p) => p.combination_combination), g = n.results.filter(
|
|
575
575
|
(p) => p.combination_dimension === 5 && p.combination_position === 1
|
|
@@ -580,11 +580,11 @@ const Ce = (e) => {
|
|
|
580
580
|
date: n.date,
|
|
581
581
|
dimension_3: l,
|
|
582
582
|
dimension_4: {
|
|
583
|
-
prize_1:
|
|
583
|
+
prize_1: o,
|
|
584
584
|
prize_2: u,
|
|
585
585
|
prize_3: c,
|
|
586
586
|
prize_4: m,
|
|
587
|
-
prize_5:
|
|
587
|
+
prize_5: f
|
|
588
588
|
},
|
|
589
589
|
dimension_5: {
|
|
590
590
|
prize_1: g,
|
|
@@ -622,17 +622,25 @@ const Ce = (e) => {
|
|
|
622
622
|
status: e.status == 1,
|
|
623
623
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? ""
|
|
624
624
|
}), ze = (e) => h(e), Ne = (e) => {
|
|
625
|
-
var t, n, l,
|
|
625
|
+
var t, n, l, o, u;
|
|
626
626
|
return {
|
|
627
|
-
bankCard: ((t = e.bankCard) == null ? void 0 : t.map((c) =>
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
627
|
+
bankCard: ((t = e.bankCard) == null ? void 0 : t.map((c) => {
|
|
628
|
+
var m, f;
|
|
629
|
+
return {
|
|
630
|
+
bankIndex: c.bankindex,
|
|
631
|
+
bankProvince: {
|
|
632
|
+
id: c.bankprovince,
|
|
633
|
+
desc: ((f = (m = e.province) == null ? void 0 : m.find(
|
|
634
|
+
(g) => g.provinceindex == c.bankprovince
|
|
635
|
+
)) == null ? void 0 : f.label) ?? ""
|
|
636
|
+
},
|
|
637
|
+
bankName: c.banknamesimplified,
|
|
638
|
+
bankAccountNo: c.bankaccountno,
|
|
639
|
+
bankUrl: c.bankaddress ?? "",
|
|
640
|
+
imgUrl: c.img,
|
|
641
|
+
countryIndex: c.countryindex
|
|
642
|
+
};
|
|
643
|
+
})) ?? [],
|
|
636
644
|
bankList: ((n = e.bankList) == null ? void 0 : n.map((c) => ({
|
|
637
645
|
bankIndex: c.bankindex,
|
|
638
646
|
bankType: c.bank_type,
|
|
@@ -648,7 +656,7 @@ const Ce = (e) => {
|
|
|
648
656
|
label: c.label,
|
|
649
657
|
countryIndex: c.countryindex
|
|
650
658
|
}))) ?? [],
|
|
651
|
-
cryptoAccount: ((
|
|
659
|
+
cryptoAccount: ((o = e.mdAccountCrypto) == null ? void 0 : o.map((c) => ({
|
|
652
660
|
id: c.crypto_id,
|
|
653
661
|
type: c.type,
|
|
654
662
|
name: c.crypto_name,
|
|
@@ -662,6 +670,7 @@ const Ce = (e) => {
|
|
|
662
670
|
status: c.status == "1"
|
|
663
671
|
}))) ?? []
|
|
664
672
|
},
|
|
673
|
+
alipayData: e.subWithdrawalAlipayData,
|
|
665
674
|
user: {
|
|
666
675
|
accountId: e.user.accountid,
|
|
667
676
|
accountCode: e.user.accountcode,
|
|
@@ -678,7 +687,7 @@ const Ce = (e) => {
|
|
|
678
687
|
withdrawMaxFee: Number(e.withdrawMaxFee),
|
|
679
688
|
withdrawCount: e.withdrawCount
|
|
680
689
|
}), Be = (e) => h(e), Ge = (e) => {
|
|
681
|
-
var t, n, l,
|
|
690
|
+
var t, n, l, o, u, c;
|
|
682
691
|
return {
|
|
683
692
|
subStatusModes: ((t = e.subStatusModes) == null ? void 0 : t.map((m) => ({
|
|
684
693
|
key: m.key,
|
|
@@ -690,9 +699,9 @@ const Ce = (e) => {
|
|
|
690
699
|
}))) ?? [],
|
|
691
700
|
mdCashLedgers: {
|
|
692
701
|
currentPage: ((l = e.mdCashLedgers) == null ? void 0 : l.current_page) ?? 0,
|
|
693
|
-
lastPage: ((
|
|
702
|
+
lastPage: ((o = e.mdCashLedgers) == null ? void 0 : o.last_page) ?? 0,
|
|
694
703
|
data: ((c = (u = e.mdCashLedgers) == null ? void 0 : u.data) == null ? void 0 : c.map((m) => {
|
|
695
|
-
var
|
|
704
|
+
var f, g;
|
|
696
705
|
return {
|
|
697
706
|
ledgerIndex: m.ledgerindex,
|
|
698
707
|
transactionIndex: m.transactionindex,
|
|
@@ -704,7 +713,7 @@ const Ce = (e) => {
|
|
|
704
713
|
status: {
|
|
705
714
|
id: m.status,
|
|
706
715
|
value: m.status == 1,
|
|
707
|
-
desc: ((g = (
|
|
716
|
+
desc: ((g = (f = e.subStatusModes) == null ? void 0 : f.find((_) => _.key === m.status)) == null ? void 0 : g.value) ?? ""
|
|
708
717
|
},
|
|
709
718
|
amount: m.amount,
|
|
710
719
|
ledgerDateTime: m.ledgerdatetime,
|
|
@@ -830,10 +839,10 @@ const Ce = (e) => {
|
|
|
830
839
|
name: u.firstname,
|
|
831
840
|
cashback: u.turnover,
|
|
832
841
|
commission: u.income
|
|
833
|
-
})), l = e.data.reduce((u, c) => u + parseFloat(c.income), 0),
|
|
842
|
+
})), l = e.data.reduce((u, c) => u + parseFloat(c.income), 0), o = t.size;
|
|
834
843
|
return {
|
|
835
844
|
totalReward: l,
|
|
836
|
-
totalCount:
|
|
845
|
+
totalCount: o,
|
|
837
846
|
list: n
|
|
838
847
|
};
|
|
839
848
|
}, Qe = (e) => e.status == 0 ? {
|
|
@@ -858,10 +867,10 @@ const Ce = (e) => {
|
|
|
858
867
|
deposit: u.deposit,
|
|
859
868
|
activeBet: u.activebet,
|
|
860
869
|
commission: u.reward
|
|
861
|
-
})), l = e.data.reduce((u, c) => u + parseFloat(c.reward), 0),
|
|
870
|
+
})), l = e.data.reduce((u, c) => u + parseFloat(c.reward), 0), o = t.size;
|
|
862
871
|
return {
|
|
863
872
|
totalReward: l,
|
|
864
|
-
totalCount:
|
|
873
|
+
totalCount: o,
|
|
865
874
|
list: n
|
|
866
875
|
};
|
|
867
876
|
}, Ze = (e) => e.status == 0 ? {
|
|
@@ -884,10 +893,10 @@ const Ce = (e) => {
|
|
|
884
893
|
name: u.firstname,
|
|
885
894
|
total: u.deposit,
|
|
886
895
|
commission: u.reward
|
|
887
|
-
})), l = e.data.reduce((u, c) => u + parseFloat(c.reward), 0),
|
|
896
|
+
})), l = e.data.reduce((u, c) => u + parseFloat(c.reward), 0), o = t.size;
|
|
888
897
|
return {
|
|
889
898
|
totalReward: l,
|
|
890
|
-
totalCount:
|
|
899
|
+
totalCount: o,
|
|
891
900
|
list: n
|
|
892
901
|
};
|
|
893
902
|
}, tt = (e) => e.status == 0 ? {
|
|
@@ -901,7 +910,7 @@ const Ce = (e) => {
|
|
|
901
910
|
uplineCode: e.data.upline.accountcode,
|
|
902
911
|
referralCode: e.data.referral_code
|
|
903
912
|
}, nt = (e) => {
|
|
904
|
-
var
|
|
913
|
+
var f;
|
|
905
914
|
let t = null, n = null;
|
|
906
915
|
if (e.status == 0)
|
|
907
916
|
return { welcomeBonus: null, dailyBonus: null };
|
|
@@ -919,7 +928,7 @@ const Ce = (e) => {
|
|
|
919
928
|
};
|
|
920
929
|
});
|
|
921
930
|
l.length > 0 && (t = l[0]);
|
|
922
|
-
const
|
|
931
|
+
const o = e.data.filter((g) => g.dtype == "5" && g.type == "D").map((g) => {
|
|
923
932
|
const _ = Math.min(
|
|
924
933
|
Number(g.min_deposit) * Number(g.percentage) / 100,
|
|
925
934
|
Number(g.max_promo_amt)
|
|
@@ -932,8 +941,8 @@ const Ce = (e) => {
|
|
|
932
941
|
expiryTime: g.etime
|
|
933
942
|
};
|
|
934
943
|
});
|
|
935
|
-
let u = 0, c = ((
|
|
936
|
-
const m =
|
|
944
|
+
let u = 0, c = ((f = o[0]) == null ? void 0 : f.expiryTime) || "";
|
|
945
|
+
const m = o.map((g) => (u = Math.max(u, g.percentage), new Date(g.expiryTime) < new Date(c) && (c = g.expiryTime), {
|
|
937
946
|
name: g.name,
|
|
938
947
|
depositAmount: g.depositAmount,
|
|
939
948
|
promoAmount: g.promoAmount
|
|
@@ -968,10 +977,10 @@ const Ce = (e) => {
|
|
|
968
977
|
if (Object.prototype.hasOwnProperty.call(e.data, n)) {
|
|
969
978
|
const l = e.data[n];
|
|
970
979
|
t[n] = [];
|
|
971
|
-
for (let
|
|
972
|
-
const u = l[
|
|
980
|
+
for (let o = 0; o < l.length; o++) {
|
|
981
|
+
const u = l[o];
|
|
973
982
|
let c = "";
|
|
974
|
-
l.length >
|
|
983
|
+
l.length > o + 1 && (c = (Number(l[o + 1].achievement) - 1).toString()), t[n].push({
|
|
975
984
|
rate: u.rate,
|
|
976
985
|
minValue: u.achievement.toString(),
|
|
977
986
|
maxValue: c
|
|
@@ -987,10 +996,10 @@ const Ce = (e) => {
|
|
|
987
996
|
if (Object.prototype.hasOwnProperty.call(e.data, n)) {
|
|
988
997
|
const l = e.data[n];
|
|
989
998
|
t[n] = [];
|
|
990
|
-
for (let
|
|
991
|
-
const u = l[
|
|
999
|
+
for (let o = 0; o < l.length; o++) {
|
|
1000
|
+
const u = l[o];
|
|
992
1001
|
let c = "";
|
|
993
|
-
l.length >
|
|
1002
|
+
l.length > o + 1 && (c = (Number(l[o + 1].achievement) - 1).toString()), t[n].push({
|
|
994
1003
|
rate: u.rate,
|
|
995
1004
|
minValue: u.achievement,
|
|
996
1005
|
maxValue: c
|
|
@@ -999,14 +1008,14 @@ const Ce = (e) => {
|
|
|
999
1008
|
}
|
|
1000
1009
|
return t;
|
|
1001
1010
|
}, ut = (e) => h(e), ct = (e) => h(e), dt = (e) => {
|
|
1002
|
-
var t, n, l,
|
|
1011
|
+
var t, n, l, o, u;
|
|
1003
1012
|
return {
|
|
1004
1013
|
status: e.status == 1,
|
|
1005
1014
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
1006
1015
|
default: ((t = e.data) == null ? void 0 : t.default) ?? [],
|
|
1007
1016
|
online: ((n = e.data) == null ? void 0 : n.online) ?? [],
|
|
1008
1017
|
mycard: ((l = e.data) == null ? void 0 : l.mycard) ?? [],
|
|
1009
|
-
qrcode: ((
|
|
1018
|
+
qrcode: ((o = e.data) == null ? void 0 : o.qrcode) ?? [],
|
|
1010
1019
|
personal: ((u = e.data) == null ? void 0 : u.personal) ?? []
|
|
1011
1020
|
};
|
|
1012
1021
|
}, V = (e) => (console.log(e), {
|
|
@@ -1053,15 +1062,18 @@ const Ce = (e) => {
|
|
|
1053
1062
|
return {
|
|
1054
1063
|
status: e.status == 1,
|
|
1055
1064
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
1056
|
-
countryList: ((t = e.data) == null ? void 0 : t.map((n) =>
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
+
countryList: ((t = e.data) == null ? void 0 : t.map((n) => {
|
|
1066
|
+
var l, o;
|
|
1067
|
+
return {
|
|
1068
|
+
countryIndex: n.countryindex,
|
|
1069
|
+
currencyName: n.currency_name ?? "",
|
|
1070
|
+
label: n.label,
|
|
1071
|
+
currencyRate: {
|
|
1072
|
+
depositCurrencyRate: ((l = n.currency_rate) == null ? void 0 : l.currency_rate_deposit) ?? "",
|
|
1073
|
+
withdrawCurrencyRate: ((o = n.currency_rate) == null ? void 0 : o.currency_rate_withdraw) ?? ""
|
|
1074
|
+
}
|
|
1075
|
+
};
|
|
1076
|
+
})) ?? []
|
|
1065
1077
|
};
|
|
1066
1078
|
}, Rt = (e) => ({
|
|
1067
1079
|
status: e.status == 1,
|
|
@@ -1080,7 +1092,7 @@ const Ce = (e) => {
|
|
|
1080
1092
|
com: n.com
|
|
1081
1093
|
}))) ?? []
|
|
1082
1094
|
};
|
|
1083
|
-
},
|
|
1095
|
+
}, Dt = (e) => {
|
|
1084
1096
|
var t;
|
|
1085
1097
|
return {
|
|
1086
1098
|
productMaster: ((t = e.mdProductMaster) == null ? void 0 : t.map((n) => ({
|
|
@@ -1088,7 +1100,7 @@ const Ce = (e) => {
|
|
|
1088
1100
|
name: n.name
|
|
1089
1101
|
}))) ?? []
|
|
1090
1102
|
};
|
|
1091
|
-
},
|
|
1103
|
+
}, Ct = (e) => h(e), wt = (e) => h(e), It = (e) => h(e), Lt = (e) => h(e), zt = (e) => h(e), Nt = (e) => h(e), Ft = (e) => h(e), Bt = (e) => ({
|
|
1092
1104
|
status: e.status == 1,
|
|
1093
1105
|
message: e.msg ?? "",
|
|
1094
1106
|
data: e.data
|
|
@@ -1253,22 +1265,22 @@ const Ce = (e) => {
|
|
|
1253
1265
|
status: e.status == 1,
|
|
1254
1266
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
1255
1267
|
data: {
|
|
1256
|
-
companyCount: ((t = e.data.companyRCount) == null ? void 0 : t.map((
|
|
1257
|
-
key:
|
|
1258
|
-
count:
|
|
1268
|
+
companyCount: ((t = e.data.companyRCount) == null ? void 0 : t.map((o) => ({
|
|
1269
|
+
key: o.key,
|
|
1270
|
+
count: o.count
|
|
1259
1271
|
}))) ?? [],
|
|
1260
|
-
prizeCount: ((n = e.data.prizeRCount) == null ? void 0 : n.map((
|
|
1261
|
-
key:
|
|
1262
|
-
count:
|
|
1272
|
+
prizeCount: ((n = e.data.prizeRCount) == null ? void 0 : n.map((o) => ({
|
|
1273
|
+
key: o.key,
|
|
1274
|
+
count: o.count
|
|
1263
1275
|
}))) ?? [],
|
|
1264
|
-
list: ((l = e.data.list) == null ? void 0 : l.map((
|
|
1265
|
-
dimension:
|
|
1266
|
-
combination:
|
|
1267
|
-
prizePosition:
|
|
1268
|
-
drawIdentifier:
|
|
1269
|
-
drawTimestamp:
|
|
1270
|
-
companyId:
|
|
1271
|
-
companyName:
|
|
1276
|
+
list: ((l = e.data.list) == null ? void 0 : l.map((o) => ({
|
|
1277
|
+
dimension: o.combination_dimension,
|
|
1278
|
+
combination: o.combination_combination,
|
|
1279
|
+
prizePosition: o.combination_position,
|
|
1280
|
+
drawIdentifier: o.draw.draw_identifier,
|
|
1281
|
+
drawTimestamp: o.draw.draw_tmactive,
|
|
1282
|
+
companyId: o.company.company_id,
|
|
1283
|
+
companyName: o.company.company_name
|
|
1272
1284
|
}))) ?? []
|
|
1273
1285
|
}
|
|
1274
1286
|
};
|
|
@@ -1282,7 +1294,7 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1282
1294
|
__proto__: null,
|
|
1283
1295
|
SettingType: $
|
|
1284
1296
|
}, Symbol.toStringTag, { value: "Module" })), an = async (e) => {
|
|
1285
|
-
var t, n, l,
|
|
1297
|
+
var t, n, l, o, u, c, m, f, g, _, O;
|
|
1286
1298
|
try {
|
|
1287
1299
|
e.findIndex((d) => d.name === i.vipList) !== -1 && e.push(
|
|
1288
1300
|
{
|
|
@@ -1302,8 +1314,8 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1302
1314
|
const v = e.findIndex((d) => d.name === i.searchHot);
|
|
1303
1315
|
if (v !== -1) {
|
|
1304
1316
|
let d = {};
|
|
1305
|
-
e.forEach((
|
|
1306
|
-
d =
|
|
1317
|
+
e.forEach((y) => {
|
|
1318
|
+
d = y.query;
|
|
1307
1319
|
}), e.splice(v), e.push({
|
|
1308
1320
|
name: i.getFourDimensionData,
|
|
1309
1321
|
query: String(d)
|
|
@@ -1312,8 +1324,8 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1312
1324
|
const k = e.findIndex((d) => d.name === i.searchNumberHistory);
|
|
1313
1325
|
if (k !== -1) {
|
|
1314
1326
|
let d = {};
|
|
1315
|
-
e.forEach((
|
|
1316
|
-
d =
|
|
1327
|
+
e.forEach((y) => {
|
|
1328
|
+
d = y.query;
|
|
1317
1329
|
}), e.splice(k), e.push({
|
|
1318
1330
|
name: i.getFourDimensionData,
|
|
1319
1331
|
query: String(d)
|
|
@@ -1321,8 +1333,8 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1321
1333
|
}
|
|
1322
1334
|
if (e.findIndex((d) => d.name === i.searchByDate) !== -1) {
|
|
1323
1335
|
let d = {};
|
|
1324
|
-
e.forEach((
|
|
1325
|
-
d =
|
|
1336
|
+
e.forEach((y) => {
|
|
1337
|
+
d = y.query;
|
|
1326
1338
|
}), e.splice(k), e.push({
|
|
1327
1339
|
name: i.getFourDimensionData,
|
|
1328
1340
|
query: String(d)
|
|
@@ -1362,414 +1374,414 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1362
1374
|
};
|
|
1363
1375
|
for (const d of H.data.responses) {
|
|
1364
1376
|
d.error != null && d.error.code != 200 && (a.status = d.error.code, a.message = d.error.message);
|
|
1365
|
-
const
|
|
1366
|
-
if (console.log(
|
|
1367
|
-
console.log("Not data received"), a.result[
|
|
1377
|
+
const y = d.attributes !== null && d.attributes !== void 0 ? ne(d.attributes) : null, r = d.name, s = y ? JSON.parse(y) : null;
|
|
1378
|
+
if (console.log(r), console.log(JSON.stringify(s)), !s)
|
|
1379
|
+
console.log("Not data received"), a.result[r] = null;
|
|
1368
1380
|
else
|
|
1369
|
-
switch (
|
|
1381
|
+
switch (r) {
|
|
1370
1382
|
case i.announcement:
|
|
1371
|
-
a.result[
|
|
1383
|
+
a.result[r] = me(s);
|
|
1372
1384
|
break;
|
|
1373
1385
|
case i.gameList:
|
|
1374
|
-
a.result[
|
|
1386
|
+
a.result[r] = ge(s);
|
|
1375
1387
|
break;
|
|
1376
1388
|
case i.cmsList:
|
|
1377
|
-
a.result[
|
|
1389
|
+
a.result[r] = ve(s);
|
|
1378
1390
|
break;
|
|
1379
1391
|
case i.paymentsProvider:
|
|
1380
|
-
a.result[
|
|
1392
|
+
a.result[r] = le(
|
|
1381
1393
|
s
|
|
1382
1394
|
);
|
|
1383
1395
|
break;
|
|
1384
1396
|
case i.getUserProfile:
|
|
1385
|
-
a.result[
|
|
1397
|
+
a.result[r] = pe(s);
|
|
1386
1398
|
break;
|
|
1387
1399
|
case i.vipList:
|
|
1388
|
-
a.result[
|
|
1400
|
+
a.result[r] = be(s);
|
|
1389
1401
|
break;
|
|
1390
1402
|
case i.vipBonus:
|
|
1391
|
-
a.result[
|
|
1403
|
+
a.result[r] = ye(s);
|
|
1392
1404
|
break;
|
|
1393
1405
|
case i.vipFieldStatus:
|
|
1394
|
-
a.result[
|
|
1406
|
+
a.result[r] = _e(s);
|
|
1395
1407
|
break;
|
|
1396
1408
|
case i.vipStatus:
|
|
1397
|
-
a.result[
|
|
1409
|
+
a.result[r] = he(s);
|
|
1398
1410
|
break;
|
|
1399
1411
|
case i.promotion:
|
|
1400
|
-
a.result[
|
|
1412
|
+
a.result[r] = fe(s);
|
|
1401
1413
|
break;
|
|
1402
1414
|
case i.getSetting:
|
|
1403
|
-
a.result[
|
|
1415
|
+
a.result[r] = Te(s);
|
|
1404
1416
|
break;
|
|
1405
1417
|
case i.getCountryMobile:
|
|
1406
|
-
a.result[
|
|
1418
|
+
a.result[r] = Re(
|
|
1407
1419
|
s
|
|
1408
1420
|
);
|
|
1409
1421
|
break;
|
|
1410
1422
|
case i.getPlatformTurnoverRate:
|
|
1411
|
-
a.result[
|
|
1423
|
+
a.result[r] = Se(
|
|
1412
1424
|
s
|
|
1413
1425
|
);
|
|
1414
1426
|
break;
|
|
1415
1427
|
case i.mainWallet:
|
|
1416
|
-
a.result[
|
|
1428
|
+
a.result[r] = ke(s);
|
|
1417
1429
|
break;
|
|
1418
1430
|
case i.getLanguageSetting:
|
|
1419
|
-
a.result[
|
|
1431
|
+
a.result[r] = Pe(
|
|
1420
1432
|
s
|
|
1421
1433
|
);
|
|
1422
1434
|
break;
|
|
1423
1435
|
case i.getFourDimensionData:
|
|
1424
|
-
a.result[
|
|
1436
|
+
a.result[r] = Oe(
|
|
1425
1437
|
s
|
|
1426
1438
|
);
|
|
1427
1439
|
break;
|
|
1428
1440
|
case i.getCompany:
|
|
1429
|
-
a.result[
|
|
1441
|
+
a.result[r] = Me(s);
|
|
1430
1442
|
break;
|
|
1431
1443
|
case i.searchResultDate:
|
|
1432
|
-
a.result[
|
|
1444
|
+
a.result[r] = xe(
|
|
1433
1445
|
s
|
|
1434
1446
|
);
|
|
1435
1447
|
break;
|
|
1436
1448
|
case i.searchHot:
|
|
1437
|
-
a.result[
|
|
1449
|
+
a.result[r] = De(s);
|
|
1438
1450
|
break;
|
|
1439
1451
|
case i.searchByDate:
|
|
1440
|
-
a.result[
|
|
1452
|
+
a.result[r] = Ce(s);
|
|
1441
1453
|
break;
|
|
1442
1454
|
case i.upcomingMatches:
|
|
1443
|
-
a.result[
|
|
1455
|
+
a.result[r] = we(
|
|
1444
1456
|
s
|
|
1445
1457
|
);
|
|
1446
1458
|
break;
|
|
1447
1459
|
case i.deposit:
|
|
1448
|
-
a.result[
|
|
1460
|
+
a.result[r] = Ie(s);
|
|
1449
1461
|
break;
|
|
1450
1462
|
case i.applyVipBonus:
|
|
1451
|
-
a.result[
|
|
1463
|
+
a.result[r] = Le(s);
|
|
1452
1464
|
break;
|
|
1453
1465
|
case i.withdraw:
|
|
1454
|
-
a.result[
|
|
1466
|
+
a.result[r] = ze(s);
|
|
1455
1467
|
break;
|
|
1456
1468
|
case i.getBankCardData:
|
|
1457
|
-
a.result[
|
|
1469
|
+
a.result[r] = Ne(
|
|
1458
1470
|
s
|
|
1459
1471
|
);
|
|
1460
1472
|
break;
|
|
1461
1473
|
case i.withdrawalGet:
|
|
1462
|
-
a.result[
|
|
1474
|
+
a.result[r] = Fe(s);
|
|
1463
1475
|
break;
|
|
1464
1476
|
case i.addBankCard:
|
|
1465
|
-
a.result[
|
|
1477
|
+
a.result[r] = Be(s);
|
|
1466
1478
|
break;
|
|
1467
1479
|
case i.transactionReport:
|
|
1468
|
-
a.result[
|
|
1480
|
+
a.result[r] = Ge(
|
|
1469
1481
|
s
|
|
1470
1482
|
);
|
|
1471
1483
|
break;
|
|
1472
1484
|
case i.changePassword:
|
|
1473
|
-
a.result[
|
|
1485
|
+
a.result[r] = Ue(s);
|
|
1474
1486
|
break;
|
|
1475
1487
|
case i.wallet:
|
|
1476
|
-
a.result[
|
|
1488
|
+
a.result[r] = Ve(s);
|
|
1477
1489
|
break;
|
|
1478
1490
|
case i.getEventList:
|
|
1479
|
-
a.result[
|
|
1491
|
+
a.result[r] = We(s);
|
|
1480
1492
|
break;
|
|
1481
1493
|
case i.getEventToken:
|
|
1482
|
-
a.result[
|
|
1494
|
+
a.result[r] = Ee(s);
|
|
1483
1495
|
break;
|
|
1484
1496
|
case i.getExtraGame:
|
|
1485
|
-
a.result[
|
|
1497
|
+
a.result[r] = $e(s);
|
|
1486
1498
|
break;
|
|
1487
1499
|
case i.mailBox:
|
|
1488
|
-
a.result[
|
|
1500
|
+
a.result[r] = He(s);
|
|
1489
1501
|
break;
|
|
1490
1502
|
case i.fishGameList:
|
|
1491
|
-
a.result[
|
|
1503
|
+
a.result[r] = Ae(s);
|
|
1492
1504
|
break;
|
|
1493
1505
|
case i.slotGameList:
|
|
1494
|
-
a.result[
|
|
1506
|
+
a.result[r] = Je(s);
|
|
1495
1507
|
break;
|
|
1496
1508
|
case i.getTurnOverRewardData:
|
|
1497
|
-
a.result[
|
|
1509
|
+
a.result[r] = Ye(
|
|
1498
1510
|
s
|
|
1499
1511
|
);
|
|
1500
1512
|
break;
|
|
1501
1513
|
case i.getTurnOverRewardReport:
|
|
1502
|
-
a.result[
|
|
1514
|
+
a.result[r] = Ke(
|
|
1503
1515
|
s
|
|
1504
1516
|
);
|
|
1505
1517
|
break;
|
|
1506
1518
|
case i.getInviteRewardData:
|
|
1507
|
-
a.result[
|
|
1519
|
+
a.result[r] = Qe(
|
|
1508
1520
|
s
|
|
1509
1521
|
);
|
|
1510
1522
|
break;
|
|
1511
1523
|
case i.getInviteRewardReport:
|
|
1512
|
-
a.result[
|
|
1524
|
+
a.result[r] = Xe(
|
|
1513
1525
|
s
|
|
1514
1526
|
);
|
|
1515
1527
|
break;
|
|
1516
1528
|
case i.getTopupRewardData:
|
|
1517
|
-
a.result[
|
|
1529
|
+
a.result[r] = Ze(
|
|
1518
1530
|
s
|
|
1519
1531
|
);
|
|
1520
1532
|
break;
|
|
1521
1533
|
case i.getTopupRewardReport:
|
|
1522
|
-
a.result[
|
|
1534
|
+
a.result[r] = et(
|
|
1523
1535
|
s
|
|
1524
1536
|
);
|
|
1525
1537
|
break;
|
|
1526
1538
|
case i.getRewardReferral:
|
|
1527
|
-
a.result[
|
|
1539
|
+
a.result[r] = tt(
|
|
1528
1540
|
s
|
|
1529
1541
|
);
|
|
1530
1542
|
break;
|
|
1531
1543
|
case i.submitWithdrawValidate:
|
|
1532
|
-
a.result[
|
|
1544
|
+
a.result[r] = W(s);
|
|
1533
1545
|
break;
|
|
1534
1546
|
case i.getDepositPromotion:
|
|
1535
|
-
a.result[
|
|
1547
|
+
a.result[r] = nt(
|
|
1536
1548
|
s
|
|
1537
1549
|
);
|
|
1538
1550
|
break;
|
|
1539
1551
|
case i.getTopUpRewardClaim:
|
|
1540
|
-
a.result[
|
|
1552
|
+
a.result[r] = at(
|
|
1541
1553
|
s
|
|
1542
1554
|
);
|
|
1543
1555
|
break;
|
|
1544
1556
|
case i.getInviteRewardClaim:
|
|
1545
|
-
a.result[
|
|
1557
|
+
a.result[r] = ot(
|
|
1546
1558
|
s
|
|
1547
1559
|
);
|
|
1548
1560
|
break;
|
|
1549
1561
|
case i.getTurnOverRewardClaim:
|
|
1550
|
-
a.result[
|
|
1562
|
+
a.result[r] = rt(
|
|
1551
1563
|
s
|
|
1552
1564
|
);
|
|
1553
1565
|
break;
|
|
1554
1566
|
case i.getInviteRewardSetting:
|
|
1555
|
-
a.result[
|
|
1567
|
+
a.result[r] = st(
|
|
1556
1568
|
s
|
|
1557
1569
|
);
|
|
1558
1570
|
break;
|
|
1559
1571
|
case i.getTurnOverRewardSetting:
|
|
1560
|
-
a.result[
|
|
1572
|
+
a.result[r] = it(
|
|
1561
1573
|
s
|
|
1562
1574
|
);
|
|
1563
1575
|
break;
|
|
1564
1576
|
case i.getTopUpRewardSetting:
|
|
1565
|
-
a.result[
|
|
1577
|
+
a.result[r] = lt(
|
|
1566
1578
|
s
|
|
1567
1579
|
);
|
|
1568
1580
|
break;
|
|
1569
1581
|
case i.requestForgetPassword:
|
|
1570
|
-
a.result[
|
|
1582
|
+
a.result[r] = ut(
|
|
1571
1583
|
s
|
|
1572
1584
|
);
|
|
1573
1585
|
break;
|
|
1574
1586
|
case i.submitForgetPassword:
|
|
1575
|
-
a.result[
|
|
1587
|
+
a.result[r] = ct(
|
|
1576
1588
|
s
|
|
1577
1589
|
);
|
|
1578
1590
|
break;
|
|
1579
1591
|
case i.getImage:
|
|
1580
|
-
a.result[
|
|
1592
|
+
a.result[r] = dt(s);
|
|
1581
1593
|
break;
|
|
1582
1594
|
case i.getDepositValidate:
|
|
1583
|
-
a.result[
|
|
1595
|
+
a.result[r] = V(s);
|
|
1584
1596
|
break;
|
|
1585
1597
|
case i.getWithdrawValidate:
|
|
1586
|
-
a.result[
|
|
1598
|
+
a.result[r] = V(s);
|
|
1587
1599
|
break;
|
|
1588
1600
|
case i.getTransferCreditValidate:
|
|
1589
|
-
a.result[
|
|
1601
|
+
a.result[r] = V(s);
|
|
1590
1602
|
break;
|
|
1591
1603
|
case i.updateProfilePicture:
|
|
1592
|
-
a.result[
|
|
1604
|
+
a.result[r] = pt(
|
|
1593
1605
|
s
|
|
1594
1606
|
);
|
|
1595
1607
|
break;
|
|
1596
1608
|
case i.readMail:
|
|
1597
|
-
a.result[
|
|
1609
|
+
a.result[r] = gt(s);
|
|
1598
1610
|
break;
|
|
1599
1611
|
case i.checkRedPacketValidate:
|
|
1600
|
-
a.result[
|
|
1612
|
+
a.result[r] = bt(
|
|
1601
1613
|
s
|
|
1602
1614
|
);
|
|
1603
1615
|
break;
|
|
1604
1616
|
case i.requestTacCode:
|
|
1605
|
-
a.result[
|
|
1617
|
+
a.result[r] = ft(s);
|
|
1606
1618
|
break;
|
|
1607
1619
|
case i.getUsernameByRefer:
|
|
1608
|
-
a.result[
|
|
1620
|
+
a.result[r] = yt(
|
|
1609
1621
|
s
|
|
1610
1622
|
);
|
|
1611
1623
|
break;
|
|
1612
1624
|
case i.applyPromo:
|
|
1613
|
-
a.result[
|
|
1625
|
+
a.result[r] = _t(s);
|
|
1614
1626
|
break;
|
|
1615
1627
|
case i.applyRedPacket:
|
|
1616
|
-
a.result[
|
|
1628
|
+
a.result[r] = ht(s);
|
|
1617
1629
|
break;
|
|
1618
1630
|
case i.applySignIn:
|
|
1619
|
-
a.result[
|
|
1631
|
+
a.result[r] = Tt(s);
|
|
1620
1632
|
break;
|
|
1621
1633
|
case i.getCountry:
|
|
1622
|
-
a.result[
|
|
1634
|
+
a.result[r] = vt(s);
|
|
1623
1635
|
break;
|
|
1624
1636
|
case i.submitGiftCode:
|
|
1625
|
-
a.result[
|
|
1637
|
+
a.result[r] = Rt(s);
|
|
1626
1638
|
break;
|
|
1627
1639
|
case i.playGame:
|
|
1628
|
-
a.result[
|
|
1640
|
+
a.result[r] = St(s);
|
|
1629
1641
|
break;
|
|
1630
1642
|
case i.transferToMain:
|
|
1631
|
-
a.result[
|
|
1643
|
+
a.result[r] = kt(s);
|
|
1632
1644
|
break;
|
|
1633
1645
|
case i.transferProcess:
|
|
1634
|
-
a.result[
|
|
1646
|
+
a.result[r] = Pt(
|
|
1635
1647
|
s
|
|
1636
1648
|
);
|
|
1637
1649
|
break;
|
|
1638
1650
|
case i.submitDepositValidate:
|
|
1639
|
-
a.result[
|
|
1651
|
+
a.result[r] = W(s);
|
|
1640
1652
|
break;
|
|
1641
1653
|
case i.submitTransferCreditValidate:
|
|
1642
|
-
a.result[
|
|
1654
|
+
a.result[r] = W(s);
|
|
1643
1655
|
break;
|
|
1644
1656
|
case i.checkTransferCredit:
|
|
1645
|
-
a.result[
|
|
1657
|
+
a.result[r] = Ot(
|
|
1646
1658
|
s
|
|
1647
1659
|
);
|
|
1648
1660
|
break;
|
|
1649
1661
|
case i.friendList:
|
|
1650
|
-
a.result[
|
|
1662
|
+
a.result[r] = Mt(s);
|
|
1651
1663
|
break;
|
|
1652
1664
|
case i.friendListEdit:
|
|
1653
|
-
a.result[
|
|
1665
|
+
a.result[r] = xt(s);
|
|
1654
1666
|
break;
|
|
1655
1667
|
case i.getActivePP:
|
|
1656
|
-
a.result[
|
|
1668
|
+
a.result[r] = jt(s);
|
|
1657
1669
|
break;
|
|
1658
1670
|
case i.getActiveProduct:
|
|
1659
|
-
a.result[
|
|
1671
|
+
a.result[r] = Dt(
|
|
1660
1672
|
s
|
|
1661
1673
|
);
|
|
1662
1674
|
break;
|
|
1663
1675
|
case i.requestWithdrawTac:
|
|
1664
|
-
a.result[
|
|
1676
|
+
a.result[r] = Ct(
|
|
1665
1677
|
s
|
|
1666
1678
|
);
|
|
1667
1679
|
break;
|
|
1668
1680
|
case i.requestWithdrawalCode:
|
|
1669
|
-
a.result[
|
|
1681
|
+
a.result[r] = wt(
|
|
1670
1682
|
s
|
|
1671
1683
|
);
|
|
1672
1684
|
break;
|
|
1673
1685
|
case i.commissionWithdraw:
|
|
1674
|
-
a.result[
|
|
1686
|
+
a.result[r] = It(
|
|
1675
1687
|
s
|
|
1676
1688
|
);
|
|
1677
1689
|
break;
|
|
1678
1690
|
case i.submitWithdrawalCode:
|
|
1679
|
-
a.result[
|
|
1691
|
+
a.result[r] = Lt(
|
|
1680
1692
|
s
|
|
1681
1693
|
);
|
|
1682
1694
|
break;
|
|
1683
1695
|
case i.submitCryptoAccount:
|
|
1684
|
-
a.result[
|
|
1696
|
+
a.result[r] = zt(
|
|
1685
1697
|
s
|
|
1686
1698
|
);
|
|
1687
1699
|
break;
|
|
1688
1700
|
case i.requestTransferMoney:
|
|
1689
|
-
a.result[
|
|
1701
|
+
a.result[r] = Nt(
|
|
1690
1702
|
s
|
|
1691
1703
|
);
|
|
1692
1704
|
break;
|
|
1693
1705
|
case i.submitTransferMoney:
|
|
1694
|
-
a.result[
|
|
1706
|
+
a.result[r] = Ft(
|
|
1695
1707
|
s
|
|
1696
1708
|
);
|
|
1697
1709
|
break;
|
|
1698
1710
|
case i.requestUpdateMobileTacCode:
|
|
1699
|
-
a.result[
|
|
1711
|
+
a.result[r] = Bt(
|
|
1700
1712
|
s
|
|
1701
1713
|
);
|
|
1702
1714
|
break;
|
|
1703
1715
|
case i.submitUpdateMobileTacCode:
|
|
1704
|
-
a.result[
|
|
1716
|
+
a.result[r] = Gt(
|
|
1705
1717
|
s
|
|
1706
1718
|
);
|
|
1707
1719
|
break;
|
|
1708
1720
|
case i.getVerifyPromo:
|
|
1709
|
-
a.result[
|
|
1721
|
+
a.result[r] = qt(s);
|
|
1710
1722
|
break;
|
|
1711
1723
|
case i.signInViewInfo:
|
|
1712
|
-
a.result[
|
|
1724
|
+
a.result[r] = Ut(s);
|
|
1713
1725
|
break;
|
|
1714
1726
|
case i.signInRecord:
|
|
1715
|
-
a.result[
|
|
1727
|
+
a.result[r] = Vt(s);
|
|
1716
1728
|
break;
|
|
1717
1729
|
case i.referralProfile:
|
|
1718
|
-
a.result[
|
|
1730
|
+
a.result[r] = Wt(
|
|
1719
1731
|
s
|
|
1720
1732
|
);
|
|
1721
1733
|
break;
|
|
1722
1734
|
case i.referralMemberProfile:
|
|
1723
|
-
a.result[
|
|
1735
|
+
a.result[r] = Et(
|
|
1724
1736
|
s
|
|
1725
1737
|
);
|
|
1726
1738
|
break;
|
|
1727
1739
|
case i.registerAction:
|
|
1728
|
-
a.result[
|
|
1740
|
+
a.result[r] = $t(s);
|
|
1729
1741
|
break;
|
|
1730
1742
|
case i.transferReport:
|
|
1731
|
-
a.result[
|
|
1743
|
+
a.result[r] = Ht(s);
|
|
1732
1744
|
break;
|
|
1733
1745
|
case i.agTransferCreditReport:
|
|
1734
|
-
a.result[
|
|
1746
|
+
a.result[r] = At(
|
|
1735
1747
|
s
|
|
1736
1748
|
);
|
|
1737
1749
|
break;
|
|
1738
1750
|
case i.betReport:
|
|
1739
|
-
a.result[
|
|
1751
|
+
a.result[r] = Jt(s);
|
|
1740
1752
|
break;
|
|
1741
1753
|
case i.getTwoFactorAuthenticate:
|
|
1742
|
-
a.result[
|
|
1754
|
+
a.result[r] = Yt(
|
|
1743
1755
|
s
|
|
1744
1756
|
);
|
|
1745
1757
|
break;
|
|
1746
1758
|
case i.submitTwoFactorAuthenticate:
|
|
1747
|
-
a.result[
|
|
1759
|
+
a.result[r] = Kt(
|
|
1748
1760
|
s
|
|
1749
1761
|
);
|
|
1750
1762
|
break;
|
|
1751
1763
|
case i.getUserDeviceList:
|
|
1752
|
-
a.result[
|
|
1764
|
+
a.result[r] = Qt(
|
|
1753
1765
|
s
|
|
1754
1766
|
);
|
|
1755
1767
|
break;
|
|
1756
1768
|
case i.unbindUserDevice:
|
|
1757
|
-
a.result[
|
|
1769
|
+
a.result[r] = Xt(
|
|
1758
1770
|
s
|
|
1759
1771
|
);
|
|
1760
1772
|
break;
|
|
1761
1773
|
case i.searchNumberHistory:
|
|
1762
|
-
a.result[
|
|
1774
|
+
a.result[r] = Zt(
|
|
1763
1775
|
s
|
|
1764
1776
|
);
|
|
1765
1777
|
break;
|
|
1766
1778
|
case i.changeWithdrawalCode:
|
|
1767
|
-
a.result[
|
|
1779
|
+
a.result[r] = en(
|
|
1768
1780
|
s
|
|
1769
1781
|
);
|
|
1770
1782
|
break;
|
|
1771
1783
|
case i.checkRedPacketToken:
|
|
1772
|
-
a.result[
|
|
1784
|
+
a.result[r] = tn(
|
|
1773
1785
|
s
|
|
1774
1786
|
);
|
|
1775
1787
|
break;
|
|
@@ -1777,29 +1789,29 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1777
1789
|
}
|
|
1778
1790
|
if (i.vipList in a.result && ((t = a.result) != null && t.vipList)) {
|
|
1779
1791
|
const d = a.result.vipList;
|
|
1780
|
-
let
|
|
1781
|
-
if (i.getSetting in a.result && ((n = a.result) != null && n.getSetting && (
|
|
1792
|
+
let y = 4;
|
|
1793
|
+
if (i.getSetting in a.result && ((n = a.result) != null && n.getSetting && (y = a.result.getSetting.vipCalculation), delete a.result.getSetting), i.vipStatus in a.result) {
|
|
1782
1794
|
if ((l = a.result) != null && l.vipStatus) {
|
|
1783
|
-
const
|
|
1795
|
+
const r = a.result.vipStatus, {
|
|
1784
1796
|
current_grade_id: s,
|
|
1785
1797
|
current_deposit: P,
|
|
1786
1798
|
current_turnover: j,
|
|
1787
1799
|
percentage: L
|
|
1788
|
-
} =
|
|
1789
|
-
d.list = d.list.map((R,
|
|
1790
|
-
const w =
|
|
1800
|
+
} = r, D = d.list.findIndex((R) => R.id === s);
|
|
1801
|
+
d.list = d.list.map((R, C) => {
|
|
1802
|
+
const w = C === D;
|
|
1791
1803
|
let M = "0", b = "0", N = 0;
|
|
1792
|
-
return w ? (M = `${Math.min(Number(P), Number(R.deposit.total))}`, b = `${Math.min(Number(j), Number(R.turnover.total))}`, N = L) :
|
|
1804
|
+
return w ? (M = `${Math.min(Number(P), Number(R.deposit.total))}`, b = `${Math.min(Number(j), Number(R.turnover.total))}`, N = L) : C < D ? (M = R.deposit.total, b = R.turnover.total, N = 1) : C > D && (M = "0.00", b = "0.00", N = 0), {
|
|
1793
1805
|
...R,
|
|
1794
1806
|
is_current_level: w,
|
|
1795
1807
|
deposit: {
|
|
1796
1808
|
...R.deposit,
|
|
1797
|
-
isShow:
|
|
1809
|
+
isShow: y === 1 || y === 3 || y === 4,
|
|
1798
1810
|
current: M
|
|
1799
1811
|
},
|
|
1800
1812
|
turnover: {
|
|
1801
1813
|
...R.turnover,
|
|
1802
|
-
isShow:
|
|
1814
|
+
isShow: y === 2 || y === 3 || y === 4,
|
|
1803
1815
|
current: b
|
|
1804
1816
|
},
|
|
1805
1817
|
percentage: N
|
|
@@ -1809,22 +1821,22 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1809
1821
|
delete a.result.vipStatus;
|
|
1810
1822
|
}
|
|
1811
1823
|
if (i.vipBonus in a.result) {
|
|
1812
|
-
if ((
|
|
1813
|
-
const
|
|
1814
|
-
d.bonus.day.isClaimable =
|
|
1815
|
-
const { dayRemainingTime:
|
|
1824
|
+
if ((o = a.result) != null && o.vipBonus) {
|
|
1825
|
+
const r = a.result.vipBonus, s = d.list.find((N) => N.is_current_level == !0), P = Number(s == null ? void 0 : s.benefit_list.daily.bonus) ?? 0, j = Number(s == null ? void 0 : s.benefit_list.weekly.bonus) ?? 0, L = Number(s == null ? void 0 : s.benefit_list.monthly.bonus) ?? 0;
|
|
1826
|
+
d.bonus.day.isClaimable = r.day.isClaimable;
|
|
1827
|
+
const { dayRemainingTime: D, dayProgressPercentage: R } = re();
|
|
1816
1828
|
d.bonus.day.timestamp = {
|
|
1817
|
-
current: !
|
|
1829
|
+
current: !r.day.isClaimable && P > 0 ? D : 0,
|
|
1818
1830
|
percentage: R
|
|
1819
|
-
}, d.bonus.week.isClaimable =
|
|
1820
|
-
const { weekRemainingTime:
|
|
1831
|
+
}, d.bonus.week.isClaimable = r.week.isClaimable;
|
|
1832
|
+
const { weekRemainingTime: C, weekProgressPercentage: w } = oe();
|
|
1821
1833
|
d.bonus.week.timestamp = {
|
|
1822
|
-
current: !
|
|
1834
|
+
current: !r.week.isClaimable && j > 0 ? C : 0,
|
|
1823
1835
|
percentage: w
|
|
1824
|
-
}, d.bonus.month.isClaimable =
|
|
1836
|
+
}, d.bonus.month.isClaimable = r.month.isClaimable;
|
|
1825
1837
|
const { monthRemainingTime: M, monthProgressPercentage: b } = ae();
|
|
1826
1838
|
d.bonus.month.timestamp = {
|
|
1827
|
-
current: !
|
|
1839
|
+
current: !r.month.isClaimable && L > 0 ? M : 0,
|
|
1828
1840
|
percentage: b
|
|
1829
1841
|
};
|
|
1830
1842
|
}
|
|
@@ -1832,80 +1844,80 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1832
1844
|
}
|
|
1833
1845
|
if (i.vipFieldStatus in a.result) {
|
|
1834
1846
|
if ((u = a.result) != null && u.vipFieldStatus) {
|
|
1835
|
-
const
|
|
1847
|
+
const r = a.result.vipFieldStatus, s = [];
|
|
1836
1848
|
s.push({
|
|
1837
1849
|
name: "",
|
|
1838
1850
|
code: "vipLevel",
|
|
1839
1851
|
value: d.list.map((b) => b.name)
|
|
1840
1852
|
});
|
|
1841
|
-
const P =
|
|
1853
|
+
const P = r.findIndex(
|
|
1842
1854
|
(b) => b.fieldName == "upgrade_bonus"
|
|
1843
1855
|
);
|
|
1844
1856
|
P > -1 && s.push({
|
|
1845
|
-
name:
|
|
1857
|
+
name: r[P].showName,
|
|
1846
1858
|
code: "",
|
|
1847
1859
|
value: d.list.map((b) => b.benefit_list.upgrade.bonus)
|
|
1848
1860
|
});
|
|
1849
|
-
const j =
|
|
1861
|
+
const j = r.findIndex(
|
|
1850
1862
|
(b) => b.fieldName == "upgrade_bonus_multiply"
|
|
1851
1863
|
);
|
|
1852
1864
|
j > -1 && s.push({
|
|
1853
|
-
name:
|
|
1865
|
+
name: r[j].showName,
|
|
1854
1866
|
code: "",
|
|
1855
1867
|
value: d.list.map((b) => b.benefit_list.upgrade.turnover)
|
|
1856
1868
|
});
|
|
1857
|
-
const L =
|
|
1869
|
+
const L = r.findIndex(
|
|
1858
1870
|
(b) => b.fieldName == "monthly_bonus"
|
|
1859
1871
|
);
|
|
1860
1872
|
d.bonus.month.isShow = L > -1, L > -1 && s.push({
|
|
1861
|
-
name:
|
|
1873
|
+
name: r[L].showName,
|
|
1862
1874
|
code: "",
|
|
1863
1875
|
value: d.list.map((b) => b.benefit_list.monthly.bonus)
|
|
1864
1876
|
});
|
|
1865
|
-
const
|
|
1877
|
+
const D = r.findIndex(
|
|
1866
1878
|
(b) => b.fieldName == "monthly_bonus_multiply"
|
|
1867
1879
|
);
|
|
1868
|
-
|
|
1869
|
-
name:
|
|
1880
|
+
D > -1 && s.push({
|
|
1881
|
+
name: r[D].showName,
|
|
1870
1882
|
code: "",
|
|
1871
1883
|
value: d.list.map((b) => b.benefit_list.monthly.turnover)
|
|
1872
1884
|
});
|
|
1873
|
-
const R =
|
|
1885
|
+
const R = r.findIndex(
|
|
1874
1886
|
(b) => b.fieldName == "weekly_bonus"
|
|
1875
1887
|
);
|
|
1876
1888
|
d.bonus.week.isShow = R > -1, R > -1 && s.push({
|
|
1877
|
-
name:
|
|
1889
|
+
name: r[R].showName,
|
|
1878
1890
|
code: "",
|
|
1879
1891
|
value: d.list.map((b) => b.benefit_list.weekly.bonus)
|
|
1880
1892
|
});
|
|
1881
|
-
const
|
|
1893
|
+
const C = r.findIndex(
|
|
1882
1894
|
(b) => b.fieldName == "weekly_bonus_multiply"
|
|
1883
1895
|
);
|
|
1884
|
-
|
|
1885
|
-
name:
|
|
1896
|
+
C > -1 && s.push({
|
|
1897
|
+
name: r[C].showName,
|
|
1886
1898
|
code: "",
|
|
1887
1899
|
value: d.list.map((b) => b.benefit_list.weekly.turnover)
|
|
1888
1900
|
});
|
|
1889
|
-
const w =
|
|
1901
|
+
const w = r.findIndex(
|
|
1890
1902
|
(b) => b.fieldName == "daily_bonus"
|
|
1891
1903
|
);
|
|
1892
1904
|
d.bonus.day.isShow = w > -1, w > -1 && s.push({
|
|
1893
|
-
name:
|
|
1905
|
+
name: r[w].showName,
|
|
1894
1906
|
code: "",
|
|
1895
1907
|
value: d.list.map((b) => b.benefit_list.daily.bonus)
|
|
1896
1908
|
});
|
|
1897
|
-
const M =
|
|
1909
|
+
const M = r.findIndex(
|
|
1898
1910
|
(b) => b.fieldName == "daily_bonus_multiply"
|
|
1899
1911
|
);
|
|
1900
1912
|
M > -1 && s.push({
|
|
1901
|
-
name:
|
|
1913
|
+
name: r[M].showName,
|
|
1902
1914
|
code: "",
|
|
1903
1915
|
value: d.list.map((b) => b.benefit_list.daily.turnover)
|
|
1904
|
-
}), (
|
|
1916
|
+
}), (y === 1 || y === 3 || y === 4) && s.push({
|
|
1905
1917
|
name: "",
|
|
1906
1918
|
code: "detail_deposit",
|
|
1907
1919
|
value: d.list.map((b) => b.deposit.total)
|
|
1908
|
-
}), (
|
|
1920
|
+
}), (y === 2 || y === 3 || y === 4) && s.push({
|
|
1909
1921
|
name: "",
|
|
1910
1922
|
code: "detail_turnover",
|
|
1911
1923
|
value: d.list.map((b) => b.turnover.total)
|
|
@@ -1918,10 +1930,10 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1918
1930
|
if (i.gameList in a.result && ((c = a.result) != null && c.gameList)) {
|
|
1919
1931
|
const d = a.result.gameList;
|
|
1920
1932
|
if (i.getPlatformTurnoverRate in a.result && ((m = a.result) != null && m.getPlatformTurnoverRate)) {
|
|
1921
|
-
const
|
|
1922
|
-
d.forEach((
|
|
1923
|
-
|
|
1924
|
-
const P =
|
|
1933
|
+
const y = a.result.getPlatformTurnoverRate;
|
|
1934
|
+
d.forEach((r) => {
|
|
1935
|
+
r.list = r.list.map((s) => {
|
|
1936
|
+
const P = y.find(
|
|
1925
1937
|
(j) => j.id === s.id
|
|
1926
1938
|
);
|
|
1927
1939
|
return {
|
|
@@ -1933,13 +1945,13 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1933
1945
|
}
|
|
1934
1946
|
a.result.gameList = d;
|
|
1935
1947
|
}
|
|
1936
|
-
if (i.getCompany in a.result && ((
|
|
1948
|
+
if (i.getCompany in a.result && ((f = a.result) != null && f.getCompany)) {
|
|
1937
1949
|
const d = a.result.getCompany;
|
|
1938
1950
|
if (i.searchResultDate in a.result && (g = a.result) != null && g.searchResultDate) {
|
|
1939
|
-
const
|
|
1940
|
-
d.forEach((
|
|
1941
|
-
const s =
|
|
1942
|
-
s && (
|
|
1951
|
+
const y = a.result.searchResultDate;
|
|
1952
|
+
d.forEach((r) => {
|
|
1953
|
+
const s = y.find((P) => P.id == r.id);
|
|
1954
|
+
s && (r.date = s == null ? void 0 : s.date);
|
|
1943
1955
|
}), delete a.result.searchResultDate;
|
|
1944
1956
|
}
|
|
1945
1957
|
a.result.getCompany = d;
|
|
@@ -1982,7 +1994,7 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1982
1994
|
};
|
|
1983
1995
|
}
|
|
1984
1996
|
return n;
|
|
1985
|
-
}, sn = async (e, t, n, l,
|
|
1997
|
+
}, sn = async (e, t, n, l, o) => {
|
|
1986
1998
|
let u = {
|
|
1987
1999
|
status: 200,
|
|
1988
2000
|
message: "",
|
|
@@ -1994,7 +2006,7 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1994
2006
|
usr: t,
|
|
1995
2007
|
pwd: n,
|
|
1996
2008
|
mobileno: l,
|
|
1997
|
-
type:
|
|
2009
|
+
type: o
|
|
1998
2010
|
})).data;
|
|
1999
2011
|
u.status === 200 && (u = {
|
|
2000
2012
|
status: 200,
|
|
@@ -2083,12 +2095,12 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2083
2095
|
const l = await I.post("/setlocale", {
|
|
2084
2096
|
language: e,
|
|
2085
2097
|
udid: t ?? ""
|
|
2086
|
-
}),
|
|
2098
|
+
}), o = JSON.parse(
|
|
2087
2099
|
atob(l.data.responses[0].attributes)
|
|
2088
2100
|
);
|
|
2089
2101
|
n.data = {
|
|
2090
|
-
status:
|
|
2091
|
-
message:
|
|
2102
|
+
status: o.status == 1,
|
|
2103
|
+
message: o.message ?? ""
|
|
2092
2104
|
};
|
|
2093
2105
|
} catch (l) {
|
|
2094
2106
|
n = {
|
|
@@ -2134,10 +2146,10 @@ const vn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2134
2146
|
__proto__: null
|
|
2135
2147
|
}, Symbol.toStringTag, { value: "Module" })), jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2136
2148
|
__proto__: null
|
|
2137
|
-
}, Symbol.toStringTag, { value: "Module" })), Cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2138
|
-
__proto__: null
|
|
2139
2149
|
}, Symbol.toStringTag, { value: "Module" })), Dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2140
2150
|
__proto__: null
|
|
2151
|
+
}, Symbol.toStringTag, { value: "Module" })), Cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2152
|
+
__proto__: null
|
|
2141
2153
|
}, Symbol.toStringTag, { value: "Module" })), wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2142
2154
|
__proto__: null
|
|
2143
2155
|
}, Symbol.toStringTag, { value: "Module" })), In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -2249,10 +2261,10 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2249
2261
|
__proto__: null
|
|
2250
2262
|
}, Symbol.toStringTag, { value: "Module" })), ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2251
2263
|
__proto__: null
|
|
2252
|
-
}, Symbol.toStringTag, { value: "Module" })), Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2253
|
-
__proto__: null
|
|
2254
2264
|
}, Symbol.toStringTag, { value: "Module" })), Da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2255
2265
|
__proto__: null
|
|
2266
|
+
}, Symbol.toStringTag, { value: "Module" })), Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2267
|
+
__proto__: null
|
|
2256
2268
|
}, Symbol.toStringTag, { value: "Module" })), wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2257
2269
|
__proto__: null
|
|
2258
2270
|
}, Symbol.toStringTag, { value: "Module" })), Ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -2303,8 +2315,8 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2303
2315
|
withdrawType: xn,
|
|
2304
2316
|
getSettingType: nn,
|
|
2305
2317
|
transactionReportType: jn,
|
|
2306
|
-
changePasswordType:
|
|
2307
|
-
walletType:
|
|
2318
|
+
changePasswordType: Dn,
|
|
2319
|
+
walletType: Cn,
|
|
2308
2320
|
getEventListType: wn,
|
|
2309
2321
|
getEventTokenType: In,
|
|
2310
2322
|
getExtraGameType: Ln,
|
|
@@ -2361,8 +2373,8 @@ const aa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2361
2373
|
submitCryptoAccountType: Ma,
|
|
2362
2374
|
requestTransferMoneyType: xa,
|
|
2363
2375
|
submitTransferMoneyType: ja,
|
|
2364
|
-
signInViewInfoType:
|
|
2365
|
-
signInRecordType:
|
|
2376
|
+
signInViewInfoType: Da,
|
|
2377
|
+
signInRecordType: Ca,
|
|
2366
2378
|
referralProfileType: wa,
|
|
2367
2379
|
referralMemberProfileType: Ia,
|
|
2368
2380
|
registerActionType: La,
|
|
@@ -2394,7 +2406,7 @@ export {
|
|
|
2394
2406
|
Pn as applyVipBonusType,
|
|
2395
2407
|
mn as autoRegisterApi,
|
|
2396
2408
|
Fa as betReportType,
|
|
2397
|
-
|
|
2409
|
+
Dn as changePasswordType,
|
|
2398
2410
|
Wa as changeWithdrawalCodeType,
|
|
2399
2411
|
Ea as checkRedPacketTokenType,
|
|
2400
2412
|
ia as checkRedPacketValidateType,
|
|
@@ -2456,8 +2468,8 @@ export {
|
|
|
2456
2468
|
ka as requestWithdrawalCodeType,
|
|
2457
2469
|
Va as searchNumberHistoryType,
|
|
2458
2470
|
gn as setLocaleApi,
|
|
2459
|
-
|
|
2460
|
-
|
|
2471
|
+
Ca as signInRecordType,
|
|
2472
|
+
Da as signInViewInfoType,
|
|
2461
2473
|
Fn as slotGameListType,
|
|
2462
2474
|
Ma as submitCryptoAccountType,
|
|
2463
2475
|
Zn as submitForgetPasswordType,
|
|
@@ -2476,7 +2488,7 @@ export {
|
|
|
2476
2488
|
Sn as upcomingMatchType,
|
|
2477
2489
|
ra as updateProfilePictureType,
|
|
2478
2490
|
hn as vipListType,
|
|
2479
|
-
|
|
2491
|
+
Cn as walletType,
|
|
2480
2492
|
xn as withdrawType,
|
|
2481
2493
|
On as withdrawalGetType
|
|
2482
2494
|
};
|