60p82u21t54k 0.0.67 → 0.0.69
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 +361 -346
- package/dist/60p82u21t54k.umd.js +1 -1
- package/dist/model/gameList/getGameListResponse.d.ts.map +1 -1
- package/dist/model/gameList/type.d.ts +5 -1
- package/dist/model/gameList/type.d.ts.map +1 -1
- package/dist/model/getBankCardData/getGetBankCardDataResponse.d.ts.map +1 -1
- package/dist/model/getBankCardData/type.d.ts +4 -1
- 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,11 +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:
|
|
371
|
-
flag:
|
|
372
|
-
|
|
368
|
+
list: ((l = n.mdPlatformProducts) == null ? void 0 : l.map((o) => ({
|
|
369
|
+
id: Number(o.id),
|
|
370
|
+
name: o.shortName,
|
|
371
|
+
flag: {
|
|
372
|
+
hot: (o.flag & 2) > 0,
|
|
373
|
+
trial: (o.flag & 4) > 0,
|
|
374
|
+
new: (o.flag & 8) > 0
|
|
375
|
+
},
|
|
376
|
+
imageUrl: o.img,
|
|
373
377
|
rate: "0.00"
|
|
374
378
|
}))) ?? []
|
|
375
379
|
};
|
|
@@ -472,10 +476,10 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
472
476
|
vipCalculation: t,
|
|
473
477
|
livechat: e.livechat ?? "",
|
|
474
478
|
livechatList: n.filter((l) => l.status == 1).map((l) => {
|
|
475
|
-
let
|
|
476
|
-
return
|
|
479
|
+
let o = l.imgname;
|
|
480
|
+
return o.slice(-4) === ".png" && (o = l.imgname.slice(0, -4)), {
|
|
477
481
|
name: l.name,
|
|
478
|
-
imageUrl: `/image/game/native/customer_service/${
|
|
482
|
+
imageUrl: `/image/game/native/customer_service/${o}.png`,
|
|
479
483
|
url: l.url
|
|
480
484
|
};
|
|
481
485
|
}),
|
|
@@ -491,11 +495,11 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
491
495
|
}, ve = (e) => {
|
|
492
496
|
var t, n, l;
|
|
493
497
|
return {
|
|
494
|
-
banner: ((t = e.mobileBanner) == null ? void 0 : t.map((
|
|
495
|
-
ad: ((n = e.mobileAd) == null ? void 0 : n.map((
|
|
496
|
-
about: ((l = e.mobileAbout) == null ? void 0 : l.map((
|
|
497
|
-
name:
|
|
498
|
-
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
|
|
499
503
|
}))) ?? []
|
|
500
504
|
};
|
|
501
505
|
}, Re = (e) => {
|
|
@@ -532,13 +536,13 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
532
536
|
var l;
|
|
533
537
|
return {
|
|
534
538
|
id: n.key,
|
|
535
|
-
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))) ?? []
|
|
536
540
|
};
|
|
537
541
|
})) ?? [];
|
|
538
542
|
};
|
|
539
543
|
function je(e) {
|
|
540
|
-
const t = new Date(e * 1e3), n = t.getFullYear(), l = ("0" + (t.getMonth() + 1)).slice(-2),
|
|
541
|
-
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}`;
|
|
542
546
|
}
|
|
543
547
|
const Ce = (e) => {
|
|
544
548
|
var t;
|
|
@@ -547,9 +551,9 @@ const Ce = (e) => {
|
|
|
547
551
|
return {
|
|
548
552
|
id: n.company_id,
|
|
549
553
|
name: n.company_name,
|
|
550
|
-
list: ((l = n.drawCount) == null ? void 0 : l.map((
|
|
551
|
-
combination:
|
|
552
|
-
total:
|
|
554
|
+
list: ((l = n.drawCount) == null ? void 0 : l.map((o) => ({
|
|
555
|
+
combination: o.combination_combination,
|
|
556
|
+
total: o.total
|
|
553
557
|
}))) ?? []
|
|
554
558
|
};
|
|
555
559
|
})) ?? [];
|
|
@@ -557,7 +561,7 @@ const Ce = (e) => {
|
|
|
557
561
|
companyId: t.company_id,
|
|
558
562
|
companyName: t.company_name,
|
|
559
563
|
resultByDateList: t.draws.map((n) => {
|
|
560
|
-
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(
|
|
561
565
|
(p) => p.combination_dimension == 4 && p.combination_position === 1
|
|
562
566
|
).map((p) => p.combination_combination), u = n.results.filter(
|
|
563
567
|
(p) => p.combination_dimension === 4 && p.combination_position === 2
|
|
@@ -565,7 +569,7 @@ const Ce = (e) => {
|
|
|
565
569
|
(p) => p.combination_dimension === 4 && p.combination_position === 3
|
|
566
570
|
).map((p) => p.combination_combination), m = n.results.filter(
|
|
567
571
|
(p) => p.combination_dimension === 4 && p.combination_position === 4
|
|
568
|
-
).map((p) => p.combination_combination),
|
|
572
|
+
).map((p) => p.combination_combination), f = n.results.filter(
|
|
569
573
|
(p) => p.combination_dimension === 4 && p.combination_position === 5
|
|
570
574
|
).map((p) => p.combination_combination), g = n.results.filter(
|
|
571
575
|
(p) => p.combination_dimension === 5 && p.combination_position === 1
|
|
@@ -576,11 +580,11 @@ const Ce = (e) => {
|
|
|
576
580
|
date: n.date,
|
|
577
581
|
dimension_3: l,
|
|
578
582
|
dimension_4: {
|
|
579
|
-
prize_1:
|
|
583
|
+
prize_1: o,
|
|
580
584
|
prize_2: u,
|
|
581
585
|
prize_3: c,
|
|
582
586
|
prize_4: m,
|
|
583
|
-
prize_5:
|
|
587
|
+
prize_5: f
|
|
584
588
|
},
|
|
585
589
|
dimension_5: {
|
|
586
590
|
prize_1: g,
|
|
@@ -618,17 +622,25 @@ const Ce = (e) => {
|
|
|
618
622
|
status: e.status == 1,
|
|
619
623
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? ""
|
|
620
624
|
}), ze = (e) => h(e), Ne = (e) => {
|
|
621
|
-
var t, n, l,
|
|
625
|
+
var t, n, l, o, u;
|
|
622
626
|
return {
|
|
623
|
-
bankCard: ((t = e.bankCard) == null ? void 0 : t.map((c) =>
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
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
|
+
})) ?? [],
|
|
632
644
|
bankList: ((n = e.bankList) == null ? void 0 : n.map((c) => ({
|
|
633
645
|
bankIndex: c.bankindex,
|
|
634
646
|
bankType: c.bank_type,
|
|
@@ -644,7 +656,7 @@ const Ce = (e) => {
|
|
|
644
656
|
label: c.label,
|
|
645
657
|
countryIndex: c.countryindex
|
|
646
658
|
}))) ?? [],
|
|
647
|
-
cryptoAccount: ((
|
|
659
|
+
cryptoAccount: ((o = e.mdAccountCrypto) == null ? void 0 : o.map((c) => ({
|
|
648
660
|
id: c.crypto_id,
|
|
649
661
|
type: c.type,
|
|
650
662
|
name: c.crypto_name,
|
|
@@ -674,7 +686,7 @@ const Ce = (e) => {
|
|
|
674
686
|
withdrawMaxFee: Number(e.withdrawMaxFee),
|
|
675
687
|
withdrawCount: e.withdrawCount
|
|
676
688
|
}), Be = (e) => h(e), Ge = (e) => {
|
|
677
|
-
var t, n, l,
|
|
689
|
+
var t, n, l, o, u, c;
|
|
678
690
|
return {
|
|
679
691
|
subStatusModes: ((t = e.subStatusModes) == null ? void 0 : t.map((m) => ({
|
|
680
692
|
key: m.key,
|
|
@@ -686,9 +698,9 @@ const Ce = (e) => {
|
|
|
686
698
|
}))) ?? [],
|
|
687
699
|
mdCashLedgers: {
|
|
688
700
|
currentPage: ((l = e.mdCashLedgers) == null ? void 0 : l.current_page) ?? 0,
|
|
689
|
-
lastPage: ((
|
|
701
|
+
lastPage: ((o = e.mdCashLedgers) == null ? void 0 : o.last_page) ?? 0,
|
|
690
702
|
data: ((c = (u = e.mdCashLedgers) == null ? void 0 : u.data) == null ? void 0 : c.map((m) => {
|
|
691
|
-
var
|
|
703
|
+
var f, g;
|
|
692
704
|
return {
|
|
693
705
|
ledgerIndex: m.ledgerindex,
|
|
694
706
|
transactionIndex: m.transactionindex,
|
|
@@ -700,7 +712,7 @@ const Ce = (e) => {
|
|
|
700
712
|
status: {
|
|
701
713
|
id: m.status,
|
|
702
714
|
value: m.status == 1,
|
|
703
|
-
desc: ((g = (
|
|
715
|
+
desc: ((g = (f = e.subStatusModes) == null ? void 0 : f.find((_) => _.key === m.status)) == null ? void 0 : g.value) ?? ""
|
|
704
716
|
},
|
|
705
717
|
amount: m.amount,
|
|
706
718
|
ledgerDateTime: m.ledgerdatetime,
|
|
@@ -826,10 +838,10 @@ const Ce = (e) => {
|
|
|
826
838
|
name: u.firstname,
|
|
827
839
|
cashback: u.turnover,
|
|
828
840
|
commission: u.income
|
|
829
|
-
})), l = e.data.reduce((u, c) => u + parseFloat(c.income), 0),
|
|
841
|
+
})), l = e.data.reduce((u, c) => u + parseFloat(c.income), 0), o = t.size;
|
|
830
842
|
return {
|
|
831
843
|
totalReward: l,
|
|
832
|
-
totalCount:
|
|
844
|
+
totalCount: o,
|
|
833
845
|
list: n
|
|
834
846
|
};
|
|
835
847
|
}, Qe = (e) => e.status == 0 ? {
|
|
@@ -854,10 +866,10 @@ const Ce = (e) => {
|
|
|
854
866
|
deposit: u.deposit,
|
|
855
867
|
activeBet: u.activebet,
|
|
856
868
|
commission: u.reward
|
|
857
|
-
})), l = e.data.reduce((u, c) => u + parseFloat(c.reward), 0),
|
|
869
|
+
})), l = e.data.reduce((u, c) => u + parseFloat(c.reward), 0), o = t.size;
|
|
858
870
|
return {
|
|
859
871
|
totalReward: l,
|
|
860
|
-
totalCount:
|
|
872
|
+
totalCount: o,
|
|
861
873
|
list: n
|
|
862
874
|
};
|
|
863
875
|
}, Ze = (e) => e.status == 0 ? {
|
|
@@ -880,10 +892,10 @@ const Ce = (e) => {
|
|
|
880
892
|
name: u.firstname,
|
|
881
893
|
total: u.deposit,
|
|
882
894
|
commission: u.reward
|
|
883
|
-
})), l = e.data.reduce((u, c) => u + parseFloat(c.reward), 0),
|
|
895
|
+
})), l = e.data.reduce((u, c) => u + parseFloat(c.reward), 0), o = t.size;
|
|
884
896
|
return {
|
|
885
897
|
totalReward: l,
|
|
886
|
-
totalCount:
|
|
898
|
+
totalCount: o,
|
|
887
899
|
list: n
|
|
888
900
|
};
|
|
889
901
|
}, tt = (e) => e.status == 0 ? {
|
|
@@ -897,7 +909,7 @@ const Ce = (e) => {
|
|
|
897
909
|
uplineCode: e.data.upline.accountcode,
|
|
898
910
|
referralCode: e.data.referral_code
|
|
899
911
|
}, nt = (e) => {
|
|
900
|
-
var
|
|
912
|
+
var f;
|
|
901
913
|
let t = null, n = null;
|
|
902
914
|
if (e.status == 0)
|
|
903
915
|
return { welcomeBonus: null, dailyBonus: null };
|
|
@@ -915,7 +927,7 @@ const Ce = (e) => {
|
|
|
915
927
|
};
|
|
916
928
|
});
|
|
917
929
|
l.length > 0 && (t = l[0]);
|
|
918
|
-
const
|
|
930
|
+
const o = e.data.filter((g) => g.dtype == "5" && g.type == "D").map((g) => {
|
|
919
931
|
const _ = Math.min(
|
|
920
932
|
Number(g.min_deposit) * Number(g.percentage) / 100,
|
|
921
933
|
Number(g.max_promo_amt)
|
|
@@ -928,8 +940,8 @@ const Ce = (e) => {
|
|
|
928
940
|
expiryTime: g.etime
|
|
929
941
|
};
|
|
930
942
|
});
|
|
931
|
-
let u = 0, c = ((
|
|
932
|
-
const m =
|
|
943
|
+
let u = 0, c = ((f = o[0]) == null ? void 0 : f.expiryTime) || "";
|
|
944
|
+
const m = o.map((g) => (u = Math.max(u, g.percentage), new Date(g.expiryTime) < new Date(c) && (c = g.expiryTime), {
|
|
933
945
|
name: g.name,
|
|
934
946
|
depositAmount: g.depositAmount,
|
|
935
947
|
promoAmount: g.promoAmount
|
|
@@ -964,10 +976,10 @@ const Ce = (e) => {
|
|
|
964
976
|
if (Object.prototype.hasOwnProperty.call(e.data, n)) {
|
|
965
977
|
const l = e.data[n];
|
|
966
978
|
t[n] = [];
|
|
967
|
-
for (let
|
|
968
|
-
const u = l[
|
|
979
|
+
for (let o = 0; o < l.length; o++) {
|
|
980
|
+
const u = l[o];
|
|
969
981
|
let c = "";
|
|
970
|
-
l.length >
|
|
982
|
+
l.length > o + 1 && (c = (Number(l[o + 1].achievement) - 1).toString()), t[n].push({
|
|
971
983
|
rate: u.rate,
|
|
972
984
|
minValue: u.achievement.toString(),
|
|
973
985
|
maxValue: c
|
|
@@ -983,10 +995,10 @@ const Ce = (e) => {
|
|
|
983
995
|
if (Object.prototype.hasOwnProperty.call(e.data, n)) {
|
|
984
996
|
const l = e.data[n];
|
|
985
997
|
t[n] = [];
|
|
986
|
-
for (let
|
|
987
|
-
const u = l[
|
|
998
|
+
for (let o = 0; o < l.length; o++) {
|
|
999
|
+
const u = l[o];
|
|
988
1000
|
let c = "";
|
|
989
|
-
l.length >
|
|
1001
|
+
l.length > o + 1 && (c = (Number(l[o + 1].achievement) - 1).toString()), t[n].push({
|
|
990
1002
|
rate: u.rate,
|
|
991
1003
|
minValue: u.achievement,
|
|
992
1004
|
maxValue: c
|
|
@@ -995,14 +1007,14 @@ const Ce = (e) => {
|
|
|
995
1007
|
}
|
|
996
1008
|
return t;
|
|
997
1009
|
}, ut = (e) => h(e), ct = (e) => h(e), dt = (e) => {
|
|
998
|
-
var t, n, l,
|
|
1010
|
+
var t, n, l, o, u;
|
|
999
1011
|
return {
|
|
1000
1012
|
status: e.status == 1,
|
|
1001
1013
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
1002
1014
|
default: ((t = e.data) == null ? void 0 : t.default) ?? [],
|
|
1003
1015
|
online: ((n = e.data) == null ? void 0 : n.online) ?? [],
|
|
1004
1016
|
mycard: ((l = e.data) == null ? void 0 : l.mycard) ?? [],
|
|
1005
|
-
qrcode: ((
|
|
1017
|
+
qrcode: ((o = e.data) == null ? void 0 : o.qrcode) ?? [],
|
|
1006
1018
|
personal: ((u = e.data) == null ? void 0 : u.personal) ?? []
|
|
1007
1019
|
};
|
|
1008
1020
|
}, V = (e) => (console.log(e), {
|
|
@@ -1049,15 +1061,18 @@ const Ce = (e) => {
|
|
|
1049
1061
|
return {
|
|
1050
1062
|
status: e.status == 1,
|
|
1051
1063
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
1052
|
-
countryList: ((t = e.data) == null ? void 0 : t.map((n) =>
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1064
|
+
countryList: ((t = e.data) == null ? void 0 : t.map((n) => {
|
|
1065
|
+
var l, o;
|
|
1066
|
+
return {
|
|
1067
|
+
countryIndex: n.countryindex,
|
|
1068
|
+
currencyName: n.currency_name ?? "",
|
|
1069
|
+
label: n.label,
|
|
1070
|
+
currencyRate: {
|
|
1071
|
+
depositCurrencyRate: ((l = n.currency_rate) == null ? void 0 : l.currency_rate_deposit) ?? "",
|
|
1072
|
+
withdrawCurrencyRate: ((o = n.currency_rate) == null ? void 0 : o.currency_rate_withdraw) ?? ""
|
|
1073
|
+
}
|
|
1074
|
+
};
|
|
1075
|
+
})) ?? []
|
|
1061
1076
|
};
|
|
1062
1077
|
}, Rt = (e) => ({
|
|
1063
1078
|
status: e.status == 1,
|
|
@@ -1249,22 +1264,22 @@ const Ce = (e) => {
|
|
|
1249
1264
|
status: e.status == 1,
|
|
1250
1265
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
1251
1266
|
data: {
|
|
1252
|
-
companyCount: ((t = e.data.companyRCount) == null ? void 0 : t.map((
|
|
1253
|
-
key:
|
|
1254
|
-
count:
|
|
1267
|
+
companyCount: ((t = e.data.companyRCount) == null ? void 0 : t.map((o) => ({
|
|
1268
|
+
key: o.key,
|
|
1269
|
+
count: o.count
|
|
1255
1270
|
}))) ?? [],
|
|
1256
|
-
prizeCount: ((n = e.data.prizeRCount) == null ? void 0 : n.map((
|
|
1257
|
-
key:
|
|
1258
|
-
count:
|
|
1271
|
+
prizeCount: ((n = e.data.prizeRCount) == null ? void 0 : n.map((o) => ({
|
|
1272
|
+
key: o.key,
|
|
1273
|
+
count: o.count
|
|
1259
1274
|
}))) ?? [],
|
|
1260
|
-
list: ((l = e.data.list) == null ? void 0 : l.map((
|
|
1261
|
-
dimension:
|
|
1262
|
-
combination:
|
|
1263
|
-
prizePosition:
|
|
1264
|
-
drawIdentifier:
|
|
1265
|
-
drawTimestamp:
|
|
1266
|
-
companyId:
|
|
1267
|
-
companyName:
|
|
1275
|
+
list: ((l = e.data.list) == null ? void 0 : l.map((o) => ({
|
|
1276
|
+
dimension: o.combination_dimension,
|
|
1277
|
+
combination: o.combination_combination,
|
|
1278
|
+
prizePosition: o.combination_position,
|
|
1279
|
+
drawIdentifier: o.draw.draw_identifier,
|
|
1280
|
+
drawTimestamp: o.draw.draw_tmactive,
|
|
1281
|
+
companyId: o.company.company_id,
|
|
1282
|
+
companyName: o.company.company_name
|
|
1268
1283
|
}))) ?? []
|
|
1269
1284
|
}
|
|
1270
1285
|
};
|
|
@@ -1278,7 +1293,7 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1278
1293
|
__proto__: null,
|
|
1279
1294
|
SettingType: $
|
|
1280
1295
|
}, Symbol.toStringTag, { value: "Module" })), an = async (e) => {
|
|
1281
|
-
var t, n, l,
|
|
1296
|
+
var t, n, l, o, u, c, m, f, g, _, O;
|
|
1282
1297
|
try {
|
|
1283
1298
|
e.findIndex((d) => d.name === i.vipList) !== -1 && e.push(
|
|
1284
1299
|
{
|
|
@@ -1298,8 +1313,8 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1298
1313
|
const v = e.findIndex((d) => d.name === i.searchHot);
|
|
1299
1314
|
if (v !== -1) {
|
|
1300
1315
|
let d = {};
|
|
1301
|
-
e.forEach((
|
|
1302
|
-
d =
|
|
1316
|
+
e.forEach((y) => {
|
|
1317
|
+
d = y.query;
|
|
1303
1318
|
}), e.splice(v), e.push({
|
|
1304
1319
|
name: i.getFourDimensionData,
|
|
1305
1320
|
query: String(d)
|
|
@@ -1308,8 +1323,8 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1308
1323
|
const k = e.findIndex((d) => d.name === i.searchNumberHistory);
|
|
1309
1324
|
if (k !== -1) {
|
|
1310
1325
|
let d = {};
|
|
1311
|
-
e.forEach((
|
|
1312
|
-
d =
|
|
1326
|
+
e.forEach((y) => {
|
|
1327
|
+
d = y.query;
|
|
1313
1328
|
}), e.splice(k), e.push({
|
|
1314
1329
|
name: i.getFourDimensionData,
|
|
1315
1330
|
query: String(d)
|
|
@@ -1317,8 +1332,8 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1317
1332
|
}
|
|
1318
1333
|
if (e.findIndex((d) => d.name === i.searchByDate) !== -1) {
|
|
1319
1334
|
let d = {};
|
|
1320
|
-
e.forEach((
|
|
1321
|
-
d =
|
|
1335
|
+
e.forEach((y) => {
|
|
1336
|
+
d = y.query;
|
|
1322
1337
|
}), e.splice(k), e.push({
|
|
1323
1338
|
name: i.getFourDimensionData,
|
|
1324
1339
|
query: String(d)
|
|
@@ -1358,430 +1373,430 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1358
1373
|
};
|
|
1359
1374
|
for (const d of H.data.responses) {
|
|
1360
1375
|
d.error != null && d.error.code != 200 && (a.status = d.error.code, a.message = d.error.message);
|
|
1361
|
-
const
|
|
1362
|
-
if (console.log(
|
|
1363
|
-
console.log("Not data received"), a.result[
|
|
1376
|
+
const y = d.attributes !== null && d.attributes !== void 0 ? ne(d.attributes) : null, r = d.name, s = y ? JSON.parse(y) : null;
|
|
1377
|
+
if (console.log(r), console.log(JSON.stringify(s)), !s)
|
|
1378
|
+
console.log("Not data received"), a.result[r] = null;
|
|
1364
1379
|
else
|
|
1365
|
-
switch (
|
|
1380
|
+
switch (r) {
|
|
1366
1381
|
case i.announcement:
|
|
1367
|
-
a.result[
|
|
1382
|
+
a.result[r] = me(s);
|
|
1368
1383
|
break;
|
|
1369
1384
|
case i.gameList:
|
|
1370
|
-
a.result[
|
|
1385
|
+
a.result[r] = ge(s);
|
|
1371
1386
|
break;
|
|
1372
1387
|
case i.cmsList:
|
|
1373
|
-
a.result[
|
|
1388
|
+
a.result[r] = ve(s);
|
|
1374
1389
|
break;
|
|
1375
1390
|
case i.paymentsProvider:
|
|
1376
|
-
a.result[
|
|
1377
|
-
|
|
1391
|
+
a.result[r] = le(
|
|
1392
|
+
s
|
|
1378
1393
|
);
|
|
1379
1394
|
break;
|
|
1380
1395
|
case i.getUserProfile:
|
|
1381
|
-
a.result[
|
|
1396
|
+
a.result[r] = pe(s);
|
|
1382
1397
|
break;
|
|
1383
1398
|
case i.vipList:
|
|
1384
|
-
a.result[
|
|
1399
|
+
a.result[r] = be(s);
|
|
1385
1400
|
break;
|
|
1386
1401
|
case i.vipBonus:
|
|
1387
|
-
a.result[
|
|
1402
|
+
a.result[r] = ye(s);
|
|
1388
1403
|
break;
|
|
1389
1404
|
case i.vipFieldStatus:
|
|
1390
|
-
a.result[
|
|
1405
|
+
a.result[r] = _e(s);
|
|
1391
1406
|
break;
|
|
1392
1407
|
case i.vipStatus:
|
|
1393
|
-
a.result[
|
|
1408
|
+
a.result[r] = he(s);
|
|
1394
1409
|
break;
|
|
1395
1410
|
case i.promotion:
|
|
1396
|
-
a.result[
|
|
1411
|
+
a.result[r] = fe(s);
|
|
1397
1412
|
break;
|
|
1398
1413
|
case i.getSetting:
|
|
1399
|
-
a.result[
|
|
1414
|
+
a.result[r] = Te(s);
|
|
1400
1415
|
break;
|
|
1401
1416
|
case i.getCountryMobile:
|
|
1402
|
-
a.result[
|
|
1403
|
-
|
|
1417
|
+
a.result[r] = Re(
|
|
1418
|
+
s
|
|
1404
1419
|
);
|
|
1405
1420
|
break;
|
|
1406
1421
|
case i.getPlatformTurnoverRate:
|
|
1407
|
-
a.result[
|
|
1408
|
-
|
|
1422
|
+
a.result[r] = Se(
|
|
1423
|
+
s
|
|
1409
1424
|
);
|
|
1410
1425
|
break;
|
|
1411
1426
|
case i.mainWallet:
|
|
1412
|
-
a.result[
|
|
1427
|
+
a.result[r] = ke(s);
|
|
1413
1428
|
break;
|
|
1414
1429
|
case i.getLanguageSetting:
|
|
1415
|
-
a.result[
|
|
1416
|
-
|
|
1430
|
+
a.result[r] = Pe(
|
|
1431
|
+
s
|
|
1417
1432
|
);
|
|
1418
1433
|
break;
|
|
1419
1434
|
case i.getFourDimensionData:
|
|
1420
|
-
a.result[
|
|
1421
|
-
|
|
1435
|
+
a.result[r] = Oe(
|
|
1436
|
+
s
|
|
1422
1437
|
);
|
|
1423
1438
|
break;
|
|
1424
1439
|
case i.getCompany:
|
|
1425
|
-
a.result[
|
|
1440
|
+
a.result[r] = Me(s);
|
|
1426
1441
|
break;
|
|
1427
1442
|
case i.searchResultDate:
|
|
1428
|
-
a.result[
|
|
1429
|
-
|
|
1443
|
+
a.result[r] = xe(
|
|
1444
|
+
s
|
|
1430
1445
|
);
|
|
1431
1446
|
break;
|
|
1432
1447
|
case i.searchHot:
|
|
1433
|
-
a.result[
|
|
1448
|
+
a.result[r] = Ce(s);
|
|
1434
1449
|
break;
|
|
1435
1450
|
case i.searchByDate:
|
|
1436
|
-
a.result[
|
|
1451
|
+
a.result[r] = De(s);
|
|
1437
1452
|
break;
|
|
1438
1453
|
case i.upcomingMatches:
|
|
1439
|
-
a.result[
|
|
1440
|
-
|
|
1454
|
+
a.result[r] = we(
|
|
1455
|
+
s
|
|
1441
1456
|
);
|
|
1442
1457
|
break;
|
|
1443
1458
|
case i.deposit:
|
|
1444
|
-
a.result[
|
|
1459
|
+
a.result[r] = Ie(s);
|
|
1445
1460
|
break;
|
|
1446
1461
|
case i.applyVipBonus:
|
|
1447
|
-
a.result[
|
|
1462
|
+
a.result[r] = Le(s);
|
|
1448
1463
|
break;
|
|
1449
1464
|
case i.withdraw:
|
|
1450
|
-
a.result[
|
|
1465
|
+
a.result[r] = ze(s);
|
|
1451
1466
|
break;
|
|
1452
1467
|
case i.getBankCardData:
|
|
1453
|
-
a.result[
|
|
1454
|
-
|
|
1468
|
+
a.result[r] = Ne(
|
|
1469
|
+
s
|
|
1455
1470
|
);
|
|
1456
1471
|
break;
|
|
1457
1472
|
case i.withdrawalGet:
|
|
1458
|
-
a.result[
|
|
1473
|
+
a.result[r] = Fe(s);
|
|
1459
1474
|
break;
|
|
1460
1475
|
case i.addBankCard:
|
|
1461
|
-
a.result[
|
|
1476
|
+
a.result[r] = Be(s);
|
|
1462
1477
|
break;
|
|
1463
1478
|
case i.transactionReport:
|
|
1464
|
-
a.result[
|
|
1465
|
-
|
|
1479
|
+
a.result[r] = Ge(
|
|
1480
|
+
s
|
|
1466
1481
|
);
|
|
1467
1482
|
break;
|
|
1468
1483
|
case i.changePassword:
|
|
1469
|
-
a.result[
|
|
1484
|
+
a.result[r] = Ue(s);
|
|
1470
1485
|
break;
|
|
1471
1486
|
case i.wallet:
|
|
1472
|
-
a.result[
|
|
1487
|
+
a.result[r] = Ve(s);
|
|
1473
1488
|
break;
|
|
1474
1489
|
case i.getEventList:
|
|
1475
|
-
a.result[
|
|
1490
|
+
a.result[r] = We(s);
|
|
1476
1491
|
break;
|
|
1477
1492
|
case i.getEventToken:
|
|
1478
|
-
a.result[
|
|
1493
|
+
a.result[r] = Ee(s);
|
|
1479
1494
|
break;
|
|
1480
1495
|
case i.getExtraGame:
|
|
1481
|
-
a.result[
|
|
1496
|
+
a.result[r] = $e(s);
|
|
1482
1497
|
break;
|
|
1483
1498
|
case i.mailBox:
|
|
1484
|
-
a.result[
|
|
1499
|
+
a.result[r] = He(s);
|
|
1485
1500
|
break;
|
|
1486
1501
|
case i.fishGameList:
|
|
1487
|
-
a.result[
|
|
1502
|
+
a.result[r] = Ae(s);
|
|
1488
1503
|
break;
|
|
1489
1504
|
case i.slotGameList:
|
|
1490
|
-
a.result[
|
|
1505
|
+
a.result[r] = Je(s);
|
|
1491
1506
|
break;
|
|
1492
1507
|
case i.getTurnOverRewardData:
|
|
1493
|
-
a.result[
|
|
1494
|
-
|
|
1508
|
+
a.result[r] = Ye(
|
|
1509
|
+
s
|
|
1495
1510
|
);
|
|
1496
1511
|
break;
|
|
1497
1512
|
case i.getTurnOverRewardReport:
|
|
1498
|
-
a.result[
|
|
1499
|
-
|
|
1513
|
+
a.result[r] = Ke(
|
|
1514
|
+
s
|
|
1500
1515
|
);
|
|
1501
1516
|
break;
|
|
1502
1517
|
case i.getInviteRewardData:
|
|
1503
|
-
a.result[
|
|
1504
|
-
|
|
1518
|
+
a.result[r] = Qe(
|
|
1519
|
+
s
|
|
1505
1520
|
);
|
|
1506
1521
|
break;
|
|
1507
1522
|
case i.getInviteRewardReport:
|
|
1508
|
-
a.result[
|
|
1509
|
-
|
|
1523
|
+
a.result[r] = Xe(
|
|
1524
|
+
s
|
|
1510
1525
|
);
|
|
1511
1526
|
break;
|
|
1512
1527
|
case i.getTopupRewardData:
|
|
1513
|
-
a.result[
|
|
1514
|
-
|
|
1528
|
+
a.result[r] = Ze(
|
|
1529
|
+
s
|
|
1515
1530
|
);
|
|
1516
1531
|
break;
|
|
1517
1532
|
case i.getTopupRewardReport:
|
|
1518
|
-
a.result[
|
|
1519
|
-
|
|
1533
|
+
a.result[r] = et(
|
|
1534
|
+
s
|
|
1520
1535
|
);
|
|
1521
1536
|
break;
|
|
1522
1537
|
case i.getRewardReferral:
|
|
1523
|
-
a.result[
|
|
1524
|
-
|
|
1538
|
+
a.result[r] = tt(
|
|
1539
|
+
s
|
|
1525
1540
|
);
|
|
1526
1541
|
break;
|
|
1527
1542
|
case i.submitWithdrawValidate:
|
|
1528
|
-
a.result[
|
|
1543
|
+
a.result[r] = W(s);
|
|
1529
1544
|
break;
|
|
1530
1545
|
case i.getDepositPromotion:
|
|
1531
|
-
a.result[
|
|
1532
|
-
|
|
1546
|
+
a.result[r] = nt(
|
|
1547
|
+
s
|
|
1533
1548
|
);
|
|
1534
1549
|
break;
|
|
1535
1550
|
case i.getTopUpRewardClaim:
|
|
1536
|
-
a.result[
|
|
1537
|
-
|
|
1551
|
+
a.result[r] = at(
|
|
1552
|
+
s
|
|
1538
1553
|
);
|
|
1539
1554
|
break;
|
|
1540
1555
|
case i.getInviteRewardClaim:
|
|
1541
|
-
a.result[
|
|
1542
|
-
|
|
1556
|
+
a.result[r] = ot(
|
|
1557
|
+
s
|
|
1543
1558
|
);
|
|
1544
1559
|
break;
|
|
1545
1560
|
case i.getTurnOverRewardClaim:
|
|
1546
|
-
a.result[
|
|
1547
|
-
|
|
1561
|
+
a.result[r] = rt(
|
|
1562
|
+
s
|
|
1548
1563
|
);
|
|
1549
1564
|
break;
|
|
1550
1565
|
case i.getInviteRewardSetting:
|
|
1551
|
-
a.result[
|
|
1552
|
-
|
|
1566
|
+
a.result[r] = st(
|
|
1567
|
+
s
|
|
1553
1568
|
);
|
|
1554
1569
|
break;
|
|
1555
1570
|
case i.getTurnOverRewardSetting:
|
|
1556
|
-
a.result[
|
|
1557
|
-
|
|
1571
|
+
a.result[r] = it(
|
|
1572
|
+
s
|
|
1558
1573
|
);
|
|
1559
1574
|
break;
|
|
1560
1575
|
case i.getTopUpRewardSetting:
|
|
1561
|
-
a.result[
|
|
1562
|
-
|
|
1576
|
+
a.result[r] = lt(
|
|
1577
|
+
s
|
|
1563
1578
|
);
|
|
1564
1579
|
break;
|
|
1565
1580
|
case i.requestForgetPassword:
|
|
1566
|
-
a.result[
|
|
1567
|
-
|
|
1581
|
+
a.result[r] = ut(
|
|
1582
|
+
s
|
|
1568
1583
|
);
|
|
1569
1584
|
break;
|
|
1570
1585
|
case i.submitForgetPassword:
|
|
1571
|
-
a.result[
|
|
1572
|
-
|
|
1586
|
+
a.result[r] = ct(
|
|
1587
|
+
s
|
|
1573
1588
|
);
|
|
1574
1589
|
break;
|
|
1575
1590
|
case i.getImage:
|
|
1576
|
-
a.result[
|
|
1591
|
+
a.result[r] = dt(s);
|
|
1577
1592
|
break;
|
|
1578
1593
|
case i.getDepositValidate:
|
|
1579
|
-
a.result[
|
|
1594
|
+
a.result[r] = V(s);
|
|
1580
1595
|
break;
|
|
1581
1596
|
case i.getWithdrawValidate:
|
|
1582
|
-
a.result[
|
|
1597
|
+
a.result[r] = V(s);
|
|
1583
1598
|
break;
|
|
1584
1599
|
case i.getTransferCreditValidate:
|
|
1585
|
-
a.result[
|
|
1600
|
+
a.result[r] = V(s);
|
|
1586
1601
|
break;
|
|
1587
1602
|
case i.updateProfilePicture:
|
|
1588
|
-
a.result[
|
|
1589
|
-
|
|
1603
|
+
a.result[r] = pt(
|
|
1604
|
+
s
|
|
1590
1605
|
);
|
|
1591
1606
|
break;
|
|
1592
1607
|
case i.readMail:
|
|
1593
|
-
a.result[
|
|
1608
|
+
a.result[r] = gt(s);
|
|
1594
1609
|
break;
|
|
1595
1610
|
case i.checkRedPacketValidate:
|
|
1596
|
-
a.result[
|
|
1597
|
-
|
|
1611
|
+
a.result[r] = bt(
|
|
1612
|
+
s
|
|
1598
1613
|
);
|
|
1599
1614
|
break;
|
|
1600
1615
|
case i.requestTacCode:
|
|
1601
|
-
a.result[
|
|
1616
|
+
a.result[r] = ft(s);
|
|
1602
1617
|
break;
|
|
1603
1618
|
case i.getUsernameByRefer:
|
|
1604
|
-
a.result[
|
|
1605
|
-
|
|
1619
|
+
a.result[r] = yt(
|
|
1620
|
+
s
|
|
1606
1621
|
);
|
|
1607
1622
|
break;
|
|
1608
1623
|
case i.applyPromo:
|
|
1609
|
-
a.result[
|
|
1624
|
+
a.result[r] = _t(s);
|
|
1610
1625
|
break;
|
|
1611
1626
|
case i.applyRedPacket:
|
|
1612
|
-
a.result[
|
|
1627
|
+
a.result[r] = ht(s);
|
|
1613
1628
|
break;
|
|
1614
1629
|
case i.applySignIn:
|
|
1615
|
-
a.result[
|
|
1630
|
+
a.result[r] = Tt(s);
|
|
1616
1631
|
break;
|
|
1617
1632
|
case i.getCountry:
|
|
1618
|
-
a.result[
|
|
1633
|
+
a.result[r] = vt(s);
|
|
1619
1634
|
break;
|
|
1620
1635
|
case i.submitGiftCode:
|
|
1621
|
-
a.result[
|
|
1636
|
+
a.result[r] = Rt(s);
|
|
1622
1637
|
break;
|
|
1623
1638
|
case i.playGame:
|
|
1624
|
-
a.result[
|
|
1639
|
+
a.result[r] = St(s);
|
|
1625
1640
|
break;
|
|
1626
1641
|
case i.transferToMain:
|
|
1627
|
-
a.result[
|
|
1642
|
+
a.result[r] = kt(s);
|
|
1628
1643
|
break;
|
|
1629
1644
|
case i.transferProcess:
|
|
1630
|
-
a.result[
|
|
1631
|
-
|
|
1645
|
+
a.result[r] = Pt(
|
|
1646
|
+
s
|
|
1632
1647
|
);
|
|
1633
1648
|
break;
|
|
1634
1649
|
case i.submitDepositValidate:
|
|
1635
|
-
a.result[
|
|
1650
|
+
a.result[r] = W(s);
|
|
1636
1651
|
break;
|
|
1637
1652
|
case i.submitTransferCreditValidate:
|
|
1638
|
-
a.result[
|
|
1653
|
+
a.result[r] = W(s);
|
|
1639
1654
|
break;
|
|
1640
1655
|
case i.checkTransferCredit:
|
|
1641
|
-
a.result[
|
|
1642
|
-
|
|
1656
|
+
a.result[r] = Ot(
|
|
1657
|
+
s
|
|
1643
1658
|
);
|
|
1644
1659
|
break;
|
|
1645
1660
|
case i.friendList:
|
|
1646
|
-
a.result[
|
|
1661
|
+
a.result[r] = Mt(s);
|
|
1647
1662
|
break;
|
|
1648
1663
|
case i.friendListEdit:
|
|
1649
|
-
a.result[
|
|
1664
|
+
a.result[r] = xt(s);
|
|
1650
1665
|
break;
|
|
1651
1666
|
case i.getActivePP:
|
|
1652
|
-
a.result[
|
|
1667
|
+
a.result[r] = jt(s);
|
|
1653
1668
|
break;
|
|
1654
1669
|
case i.getActiveProduct:
|
|
1655
|
-
a.result[
|
|
1656
|
-
|
|
1670
|
+
a.result[r] = Ct(
|
|
1671
|
+
s
|
|
1657
1672
|
);
|
|
1658
1673
|
break;
|
|
1659
1674
|
case i.requestWithdrawTac:
|
|
1660
|
-
a.result[
|
|
1661
|
-
|
|
1675
|
+
a.result[r] = Dt(
|
|
1676
|
+
s
|
|
1662
1677
|
);
|
|
1663
1678
|
break;
|
|
1664
1679
|
case i.requestWithdrawalCode:
|
|
1665
|
-
a.result[
|
|
1666
|
-
|
|
1680
|
+
a.result[r] = wt(
|
|
1681
|
+
s
|
|
1667
1682
|
);
|
|
1668
1683
|
break;
|
|
1669
1684
|
case i.commissionWithdraw:
|
|
1670
|
-
a.result[
|
|
1671
|
-
|
|
1685
|
+
a.result[r] = It(
|
|
1686
|
+
s
|
|
1672
1687
|
);
|
|
1673
1688
|
break;
|
|
1674
1689
|
case i.submitWithdrawalCode:
|
|
1675
|
-
a.result[
|
|
1676
|
-
|
|
1690
|
+
a.result[r] = Lt(
|
|
1691
|
+
s
|
|
1677
1692
|
);
|
|
1678
1693
|
break;
|
|
1679
1694
|
case i.submitCryptoAccount:
|
|
1680
|
-
a.result[
|
|
1681
|
-
|
|
1695
|
+
a.result[r] = zt(
|
|
1696
|
+
s
|
|
1682
1697
|
);
|
|
1683
1698
|
break;
|
|
1684
1699
|
case i.requestTransferMoney:
|
|
1685
|
-
a.result[
|
|
1686
|
-
|
|
1700
|
+
a.result[r] = Nt(
|
|
1701
|
+
s
|
|
1687
1702
|
);
|
|
1688
1703
|
break;
|
|
1689
1704
|
case i.submitTransferMoney:
|
|
1690
|
-
a.result[
|
|
1691
|
-
|
|
1705
|
+
a.result[r] = Ft(
|
|
1706
|
+
s
|
|
1692
1707
|
);
|
|
1693
1708
|
break;
|
|
1694
1709
|
case i.requestUpdateMobileTacCode:
|
|
1695
|
-
a.result[
|
|
1696
|
-
|
|
1710
|
+
a.result[r] = Bt(
|
|
1711
|
+
s
|
|
1697
1712
|
);
|
|
1698
1713
|
break;
|
|
1699
1714
|
case i.submitUpdateMobileTacCode:
|
|
1700
|
-
a.result[
|
|
1701
|
-
|
|
1715
|
+
a.result[r] = Gt(
|
|
1716
|
+
s
|
|
1702
1717
|
);
|
|
1703
1718
|
break;
|
|
1704
1719
|
case i.getVerifyPromo:
|
|
1705
|
-
a.result[
|
|
1720
|
+
a.result[r] = qt(s);
|
|
1706
1721
|
break;
|
|
1707
1722
|
case i.signInViewInfo:
|
|
1708
|
-
a.result[
|
|
1723
|
+
a.result[r] = Ut(s);
|
|
1709
1724
|
break;
|
|
1710
1725
|
case i.signInRecord:
|
|
1711
|
-
a.result[
|
|
1726
|
+
a.result[r] = Vt(s);
|
|
1712
1727
|
break;
|
|
1713
1728
|
case i.referralProfile:
|
|
1714
|
-
a.result[
|
|
1715
|
-
|
|
1729
|
+
a.result[r] = Wt(
|
|
1730
|
+
s
|
|
1716
1731
|
);
|
|
1717
1732
|
break;
|
|
1718
1733
|
case i.referralMemberProfile:
|
|
1719
|
-
a.result[
|
|
1720
|
-
|
|
1734
|
+
a.result[r] = Et(
|
|
1735
|
+
s
|
|
1721
1736
|
);
|
|
1722
1737
|
break;
|
|
1723
1738
|
case i.registerAction:
|
|
1724
|
-
a.result[
|
|
1739
|
+
a.result[r] = $t(s);
|
|
1725
1740
|
break;
|
|
1726
1741
|
case i.transferReport:
|
|
1727
|
-
a.result[
|
|
1742
|
+
a.result[r] = Ht(s);
|
|
1728
1743
|
break;
|
|
1729
1744
|
case i.agTransferCreditReport:
|
|
1730
|
-
a.result[
|
|
1731
|
-
|
|
1745
|
+
a.result[r] = At(
|
|
1746
|
+
s
|
|
1732
1747
|
);
|
|
1733
1748
|
break;
|
|
1734
1749
|
case i.betReport:
|
|
1735
|
-
a.result[
|
|
1750
|
+
a.result[r] = Jt(s);
|
|
1736
1751
|
break;
|
|
1737
1752
|
case i.getTwoFactorAuthenticate:
|
|
1738
|
-
a.result[
|
|
1739
|
-
|
|
1753
|
+
a.result[r] = Yt(
|
|
1754
|
+
s
|
|
1740
1755
|
);
|
|
1741
1756
|
break;
|
|
1742
1757
|
case i.submitTwoFactorAuthenticate:
|
|
1743
|
-
a.result[
|
|
1744
|
-
|
|
1758
|
+
a.result[r] = Kt(
|
|
1759
|
+
s
|
|
1745
1760
|
);
|
|
1746
1761
|
break;
|
|
1747
1762
|
case i.getUserDeviceList:
|
|
1748
|
-
a.result[
|
|
1749
|
-
|
|
1763
|
+
a.result[r] = Qt(
|
|
1764
|
+
s
|
|
1750
1765
|
);
|
|
1751
1766
|
break;
|
|
1752
1767
|
case i.unbindUserDevice:
|
|
1753
|
-
a.result[
|
|
1754
|
-
|
|
1768
|
+
a.result[r] = Xt(
|
|
1769
|
+
s
|
|
1755
1770
|
);
|
|
1756
1771
|
break;
|
|
1757
1772
|
case i.searchNumberHistory:
|
|
1758
|
-
a.result[
|
|
1759
|
-
|
|
1773
|
+
a.result[r] = Zt(
|
|
1774
|
+
s
|
|
1760
1775
|
);
|
|
1761
1776
|
break;
|
|
1762
1777
|
case i.changeWithdrawalCode:
|
|
1763
|
-
a.result[
|
|
1764
|
-
|
|
1778
|
+
a.result[r] = en(
|
|
1779
|
+
s
|
|
1765
1780
|
);
|
|
1766
1781
|
break;
|
|
1767
1782
|
case i.checkRedPacketToken:
|
|
1768
|
-
a.result[
|
|
1769
|
-
|
|
1783
|
+
a.result[r] = tn(
|
|
1784
|
+
s
|
|
1770
1785
|
);
|
|
1771
1786
|
break;
|
|
1772
1787
|
}
|
|
1773
1788
|
}
|
|
1774
1789
|
if (i.vipList in a.result && ((t = a.result) != null && t.vipList)) {
|
|
1775
1790
|
const d = a.result.vipList;
|
|
1776
|
-
let
|
|
1777
|
-
if (i.getSetting in a.result && ((n = a.result) != null && n.getSetting && (
|
|
1791
|
+
let y = 4;
|
|
1792
|
+
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) {
|
|
1778
1793
|
if ((l = a.result) != null && l.vipStatus) {
|
|
1779
|
-
const
|
|
1780
|
-
current_grade_id:
|
|
1794
|
+
const r = a.result.vipStatus, {
|
|
1795
|
+
current_grade_id: s,
|
|
1781
1796
|
current_deposit: P,
|
|
1782
1797
|
current_turnover: j,
|
|
1783
1798
|
percentage: L
|
|
1784
|
-
} =
|
|
1799
|
+
} = r, C = d.list.findIndex((R) => R.id === s);
|
|
1785
1800
|
d.list = d.list.map((R, D) => {
|
|
1786
1801
|
const w = D === C;
|
|
1787
1802
|
let M = "0", b = "0", N = 0;
|
|
@@ -1790,12 +1805,12 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1790
1805
|
is_current_level: w,
|
|
1791
1806
|
deposit: {
|
|
1792
1807
|
...R.deposit,
|
|
1793
|
-
isShow:
|
|
1808
|
+
isShow: y === 1 || y === 3 || y === 4,
|
|
1794
1809
|
current: M
|
|
1795
1810
|
},
|
|
1796
1811
|
turnover: {
|
|
1797
1812
|
...R.turnover,
|
|
1798
|
-
isShow:
|
|
1813
|
+
isShow: y === 2 || y === 3 || y === 4,
|
|
1799
1814
|
current: b
|
|
1800
1815
|
},
|
|
1801
1816
|
percentage: N
|
|
@@ -1805,22 +1820,22 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1805
1820
|
delete a.result.vipStatus;
|
|
1806
1821
|
}
|
|
1807
1822
|
if (i.vipBonus in a.result) {
|
|
1808
|
-
if ((
|
|
1809
|
-
const
|
|
1810
|
-
d.bonus.day.isClaimable =
|
|
1823
|
+
if ((o = a.result) != null && o.vipBonus) {
|
|
1824
|
+
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;
|
|
1825
|
+
d.bonus.day.isClaimable = r.day.isClaimable;
|
|
1811
1826
|
const { dayRemainingTime: C, dayProgressPercentage: R } = re();
|
|
1812
1827
|
d.bonus.day.timestamp = {
|
|
1813
|
-
current: !
|
|
1828
|
+
current: !r.day.isClaimable && P > 0 ? C : 0,
|
|
1814
1829
|
percentage: R
|
|
1815
|
-
}, d.bonus.week.isClaimable =
|
|
1830
|
+
}, d.bonus.week.isClaimable = r.week.isClaimable;
|
|
1816
1831
|
const { weekRemainingTime: D, weekProgressPercentage: w } = oe();
|
|
1817
1832
|
d.bonus.week.timestamp = {
|
|
1818
|
-
current: !
|
|
1833
|
+
current: !r.week.isClaimable && j > 0 ? D : 0,
|
|
1819
1834
|
percentage: w
|
|
1820
|
-
}, d.bonus.month.isClaimable =
|
|
1835
|
+
}, d.bonus.month.isClaimable = r.month.isClaimable;
|
|
1821
1836
|
const { monthRemainingTime: M, monthProgressPercentage: b } = ae();
|
|
1822
1837
|
d.bonus.month.timestamp = {
|
|
1823
|
-
current: !
|
|
1838
|
+
current: !r.month.isClaimable && L > 0 ? M : 0,
|
|
1824
1839
|
percentage: b
|
|
1825
1840
|
};
|
|
1826
1841
|
}
|
|
@@ -1828,84 +1843,84 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1828
1843
|
}
|
|
1829
1844
|
if (i.vipFieldStatus in a.result) {
|
|
1830
1845
|
if ((u = a.result) != null && u.vipFieldStatus) {
|
|
1831
|
-
const
|
|
1832
|
-
|
|
1846
|
+
const r = a.result.vipFieldStatus, s = [];
|
|
1847
|
+
s.push({
|
|
1833
1848
|
name: "",
|
|
1834
1849
|
code: "vipLevel",
|
|
1835
1850
|
value: d.list.map((b) => b.name)
|
|
1836
1851
|
});
|
|
1837
|
-
const P =
|
|
1852
|
+
const P = r.findIndex(
|
|
1838
1853
|
(b) => b.fieldName == "upgrade_bonus"
|
|
1839
1854
|
);
|
|
1840
|
-
P > -1 &&
|
|
1841
|
-
name:
|
|
1855
|
+
P > -1 && s.push({
|
|
1856
|
+
name: r[P].showName,
|
|
1842
1857
|
code: "",
|
|
1843
1858
|
value: d.list.map((b) => b.benefit_list.upgrade.bonus)
|
|
1844
1859
|
});
|
|
1845
|
-
const j =
|
|
1860
|
+
const j = r.findIndex(
|
|
1846
1861
|
(b) => b.fieldName == "upgrade_bonus_multiply"
|
|
1847
1862
|
);
|
|
1848
|
-
j > -1 &&
|
|
1849
|
-
name:
|
|
1863
|
+
j > -1 && s.push({
|
|
1864
|
+
name: r[j].showName,
|
|
1850
1865
|
code: "",
|
|
1851
1866
|
value: d.list.map((b) => b.benefit_list.upgrade.turnover)
|
|
1852
1867
|
});
|
|
1853
|
-
const L =
|
|
1868
|
+
const L = r.findIndex(
|
|
1854
1869
|
(b) => b.fieldName == "monthly_bonus"
|
|
1855
1870
|
);
|
|
1856
|
-
d.bonus.month.isShow = L > -1, L > -1 &&
|
|
1857
|
-
name:
|
|
1871
|
+
d.bonus.month.isShow = L > -1, L > -1 && s.push({
|
|
1872
|
+
name: r[L].showName,
|
|
1858
1873
|
code: "",
|
|
1859
1874
|
value: d.list.map((b) => b.benefit_list.monthly.bonus)
|
|
1860
1875
|
});
|
|
1861
|
-
const C =
|
|
1876
|
+
const C = r.findIndex(
|
|
1862
1877
|
(b) => b.fieldName == "monthly_bonus_multiply"
|
|
1863
1878
|
);
|
|
1864
|
-
C > -1 &&
|
|
1865
|
-
name:
|
|
1879
|
+
C > -1 && s.push({
|
|
1880
|
+
name: r[C].showName,
|
|
1866
1881
|
code: "",
|
|
1867
1882
|
value: d.list.map((b) => b.benefit_list.monthly.turnover)
|
|
1868
1883
|
});
|
|
1869
|
-
const R =
|
|
1884
|
+
const R = r.findIndex(
|
|
1870
1885
|
(b) => b.fieldName == "weekly_bonus"
|
|
1871
1886
|
);
|
|
1872
|
-
d.bonus.week.isShow = R > -1, R > -1 &&
|
|
1873
|
-
name:
|
|
1887
|
+
d.bonus.week.isShow = R > -1, R > -1 && s.push({
|
|
1888
|
+
name: r[R].showName,
|
|
1874
1889
|
code: "",
|
|
1875
1890
|
value: d.list.map((b) => b.benefit_list.weekly.bonus)
|
|
1876
1891
|
});
|
|
1877
|
-
const D =
|
|
1892
|
+
const D = r.findIndex(
|
|
1878
1893
|
(b) => b.fieldName == "weekly_bonus_multiply"
|
|
1879
1894
|
);
|
|
1880
|
-
D > -1 &&
|
|
1881
|
-
name:
|
|
1895
|
+
D > -1 && s.push({
|
|
1896
|
+
name: r[D].showName,
|
|
1882
1897
|
code: "",
|
|
1883
1898
|
value: d.list.map((b) => b.benefit_list.weekly.turnover)
|
|
1884
1899
|
});
|
|
1885
|
-
const w =
|
|
1900
|
+
const w = r.findIndex(
|
|
1886
1901
|
(b) => b.fieldName == "daily_bonus"
|
|
1887
1902
|
);
|
|
1888
|
-
d.bonus.day.isShow = w > -1, w > -1 &&
|
|
1889
|
-
name:
|
|
1903
|
+
d.bonus.day.isShow = w > -1, w > -1 && s.push({
|
|
1904
|
+
name: r[w].showName,
|
|
1890
1905
|
code: "",
|
|
1891
1906
|
value: d.list.map((b) => b.benefit_list.daily.bonus)
|
|
1892
1907
|
});
|
|
1893
|
-
const M =
|
|
1908
|
+
const M = r.findIndex(
|
|
1894
1909
|
(b) => b.fieldName == "daily_bonus_multiply"
|
|
1895
1910
|
);
|
|
1896
|
-
M > -1 &&
|
|
1897
|
-
name:
|
|
1911
|
+
M > -1 && s.push({
|
|
1912
|
+
name: r[M].showName,
|
|
1898
1913
|
code: "",
|
|
1899
1914
|
value: d.list.map((b) => b.benefit_list.daily.turnover)
|
|
1900
|
-
}), (
|
|
1915
|
+
}), (y === 1 || y === 3 || y === 4) && s.push({
|
|
1901
1916
|
name: "",
|
|
1902
1917
|
code: "detail_deposit",
|
|
1903
1918
|
value: d.list.map((b) => b.deposit.total)
|
|
1904
|
-
}), (
|
|
1919
|
+
}), (y === 2 || y === 3 || y === 4) && s.push({
|
|
1905
1920
|
name: "",
|
|
1906
1921
|
code: "detail_turnover",
|
|
1907
1922
|
value: d.list.map((b) => b.turnover.total)
|
|
1908
|
-
}), d.detail =
|
|
1923
|
+
}), d.detail = s;
|
|
1909
1924
|
}
|
|
1910
1925
|
delete a.result.vipFieldStatus;
|
|
1911
1926
|
}
|
|
@@ -1914,14 +1929,14 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1914
1929
|
if (i.gameList in a.result && ((c = a.result) != null && c.gameList)) {
|
|
1915
1930
|
const d = a.result.gameList;
|
|
1916
1931
|
if (i.getPlatformTurnoverRate in a.result && ((m = a.result) != null && m.getPlatformTurnoverRate)) {
|
|
1917
|
-
const
|
|
1918
|
-
d.forEach((
|
|
1919
|
-
|
|
1920
|
-
const P =
|
|
1921
|
-
(j) => j.id ===
|
|
1932
|
+
const y = a.result.getPlatformTurnoverRate;
|
|
1933
|
+
d.forEach((r) => {
|
|
1934
|
+
r.list = r.list.map((s) => {
|
|
1935
|
+
const P = y.find(
|
|
1936
|
+
(j) => j.id === s.id
|
|
1922
1937
|
);
|
|
1923
1938
|
return {
|
|
1924
|
-
...
|
|
1939
|
+
...s,
|
|
1925
1940
|
rate: (P == null ? void 0 : P.percentage) ?? "0.00"
|
|
1926
1941
|
};
|
|
1927
1942
|
});
|
|
@@ -1929,13 +1944,13 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1929
1944
|
}
|
|
1930
1945
|
a.result.gameList = d;
|
|
1931
1946
|
}
|
|
1932
|
-
if (i.getCompany in a.result && ((
|
|
1947
|
+
if (i.getCompany in a.result && ((f = a.result) != null && f.getCompany)) {
|
|
1933
1948
|
const d = a.result.getCompany;
|
|
1934
1949
|
if (i.searchResultDate in a.result && (g = a.result) != null && g.searchResultDate) {
|
|
1935
|
-
const
|
|
1936
|
-
d.forEach((
|
|
1937
|
-
const
|
|
1938
|
-
|
|
1950
|
+
const y = a.result.searchResultDate;
|
|
1951
|
+
d.forEach((r) => {
|
|
1952
|
+
const s = y.find((P) => P.id == r.id);
|
|
1953
|
+
s && (r.date = s == null ? void 0 : s.date);
|
|
1939
1954
|
}), delete a.result.searchResultDate;
|
|
1940
1955
|
}
|
|
1941
1956
|
a.result.getCompany = d;
|
|
@@ -1978,7 +1993,7 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1978
1993
|
};
|
|
1979
1994
|
}
|
|
1980
1995
|
return n;
|
|
1981
|
-
}, sn = async (e, t, n, l,
|
|
1996
|
+
}, sn = async (e, t, n, l, o) => {
|
|
1982
1997
|
let u = {
|
|
1983
1998
|
status: 200,
|
|
1984
1999
|
message: "",
|
|
@@ -1990,7 +2005,7 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1990
2005
|
usr: t,
|
|
1991
2006
|
pwd: n,
|
|
1992
2007
|
mobileno: l,
|
|
1993
|
-
type:
|
|
2008
|
+
type: o
|
|
1994
2009
|
})).data;
|
|
1995
2010
|
u.status === 200 && (u = {
|
|
1996
2011
|
status: 200,
|
|
@@ -2079,12 +2094,12 @@ const nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2079
2094
|
const l = await I.post("/setlocale", {
|
|
2080
2095
|
language: e,
|
|
2081
2096
|
udid: t ?? ""
|
|
2082
|
-
}),
|
|
2097
|
+
}), o = JSON.parse(
|
|
2083
2098
|
atob(l.data.responses[0].attributes)
|
|
2084
2099
|
);
|
|
2085
2100
|
n.data = {
|
|
2086
|
-
status:
|
|
2087
|
-
message:
|
|
2101
|
+
status: o.status == 1,
|
|
2102
|
+
message: o.message ?? ""
|
|
2088
2103
|
};
|
|
2089
2104
|
} catch (l) {
|
|
2090
2105
|
n = {
|