60p82u21t54k 0.0.92 → 0.0.93
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
CHANGED
|
@@ -66,13 +66,13 @@ const ie = (e) => new TextEncoder().encode(e), le = (e) => {
|
|
|
66
66
|
return console.error("Failed to decode Base64:", t), "";
|
|
67
67
|
}
|
|
68
68
|
}, ue = () => {
|
|
69
|
-
const e = /* @__PURE__ */ new Date(), t = e.getFullYear(), a = e.getMonth(), u = new Date(t, a, 1, 12, 0, 0),
|
|
70
|
-
(
|
|
69
|
+
const e = /* @__PURE__ */ new Date(), t = e.getFullYear(), a = e.getMonth(), u = new Date(t, a, 1, 12, 0, 0), l = new Date(t, a + 1, 1, 12, 0, 0), i = Math.floor(
|
|
70
|
+
(l.getTime() - e.getTime()) / 1e3
|
|
71
71
|
), d = Math.floor(
|
|
72
|
-
(
|
|
73
|
-
), m = d -
|
|
72
|
+
(l.getTime() - u.getTime()) / 1e3
|
|
73
|
+
), m = d - i;
|
|
74
74
|
return {
|
|
75
|
-
monthRemainingTime:
|
|
75
|
+
monthRemainingTime: i,
|
|
76
76
|
monthProgressPercentage: Math.round(m / d * 100)
|
|
77
77
|
};
|
|
78
78
|
}, de = () => {
|
|
@@ -84,10 +84,10 @@ const ie = (e) => new TextEncoder().encode(e), le = (e) => {
|
|
|
84
84
|
0,
|
|
85
85
|
0,
|
|
86
86
|
0
|
|
87
|
-
),
|
|
88
|
-
return console.log(
|
|
89
|
-
weekRemainingTime:
|
|
90
|
-
weekProgressPercentage: Math.round(
|
|
87
|
+
), l = Math.floor((u.getTime() - e.getTime()) / 1e3), p = 7 * 24 * 60 * 60;
|
|
88
|
+
return console.log(l), console.log(p), {
|
|
89
|
+
weekRemainingTime: l,
|
|
90
|
+
weekProgressPercentage: Math.round(l / p * 100)
|
|
91
91
|
};
|
|
92
92
|
}, ce = () => {
|
|
93
93
|
const e = /* @__PURE__ */ new Date(), t = new Date(
|
|
@@ -142,15 +142,15 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
142
142
|
if (a.paymentmethod.auto.bank.length > 0 && u.push(
|
|
143
143
|
fe(a.bankid ?? 0, a.paymentmethod.auto, e)
|
|
144
144
|
), a.paymentmethod.manual.bank.length > 0) {
|
|
145
|
-
let
|
|
146
|
-
for (let
|
|
147
|
-
const d = a.paymentmethod.manual.bank[
|
|
145
|
+
let l = !1;
|
|
146
|
+
for (let i = 0; i < a.paymentmethod.manual.bank.length; i++) {
|
|
147
|
+
const d = a.paymentmethod.manual.bank[i];
|
|
148
148
|
if (d.list && d.list.length > 0) {
|
|
149
|
-
|
|
149
|
+
l = !0;
|
|
150
150
|
break;
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
|
|
153
|
+
l && u.push(Z(a.paymentmethod.manual, e));
|
|
154
154
|
}
|
|
155
155
|
a.paymentmethod.fixamount.bank.length > 0 && u.push(
|
|
156
156
|
ye(a.bankid ?? 0, a.paymentmethod.fixamount)
|
|
@@ -178,11 +178,11 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
178
178
|
}));
|
|
179
179
|
return [t, ...a];
|
|
180
180
|
}, W = (e, t, a, u) => {
|
|
181
|
-
let
|
|
182
|
-
a > 0 ?
|
|
183
|
-
const d = Math.round(
|
|
181
|
+
let l, i;
|
|
182
|
+
a > 0 ? l = e > 0 ? Math.max(a, e) : a : l = Math.max(e, 0), u > 0 ? i = t > 0 ? Math.min(u, t) : u : i = Math.max(t, 0);
|
|
183
|
+
const d = Math.round(l);
|
|
184
184
|
let m = 1e3;
|
|
185
|
-
|
|
185
|
+
i < m && (m = Math.round(i));
|
|
186
186
|
const b = m - d;
|
|
187
187
|
let p = "", _ = "";
|
|
188
188
|
if (b > 0) {
|
|
@@ -203,26 +203,26 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
203
203
|
p,
|
|
204
204
|
_,
|
|
205
205
|
m.toString()
|
|
206
|
-
], minAmount: d, maxAmount:
|
|
206
|
+
], minAmount: d, maxAmount: i };
|
|
207
207
|
}, Z = (e, t) => t ? {
|
|
208
208
|
id: 0,
|
|
209
209
|
name: "manualMethod",
|
|
210
210
|
type: C.manual,
|
|
211
211
|
promo: H(e.promo),
|
|
212
|
-
bank: e.bank.map((
|
|
213
|
-
const
|
|
214
|
-
Number(
|
|
212
|
+
bank: e.bank.map((l) => {
|
|
213
|
+
const i = l.list && l.list.length > 0 ? l.list[0].mintransaction ?? "0.00" : "0.00", d = l.list && l.list.length > 0 ? l.list[0].maxtransaction ?? "0.00" : "0.00", { amountList: m, minAmount: b, maxAmount: p } = W(
|
|
214
|
+
Number(i),
|
|
215
215
|
Number(d),
|
|
216
216
|
t.mdBankLevelDetail.deposit_min,
|
|
217
217
|
t.mdBankLevelDetail.deposit_max
|
|
218
218
|
);
|
|
219
219
|
return t.mdManualDepositRequireField.depositor = !0, {
|
|
220
|
-
id:
|
|
221
|
-
bankAccountId:
|
|
222
|
-
name:
|
|
223
|
-
accountName:
|
|
224
|
-
accountNo:
|
|
225
|
-
qrcode:
|
|
220
|
+
id: l.bankindex ?? 0,
|
|
221
|
+
bankAccountId: l.list && l.list.length > 0 ? l.list[0].bankaccountindex ?? 0 : 0,
|
|
222
|
+
name: l.list && l.list.length > 0 ? l.list[0].label ?? "" : "",
|
|
223
|
+
accountName: l.list && l.list.length > 0 ? l.list[0].bankaccountname ?? "" : "",
|
|
224
|
+
accountNo: l.list && l.list.length > 0 ? l.list[0].bankaccountno ?? "" : "",
|
|
225
|
+
qrcode: l.list && l.list.length > 0 ? l.list[0].bankaccountdesc : "",
|
|
226
226
|
amountList: m,
|
|
227
227
|
min: b,
|
|
228
228
|
max: p
|
|
@@ -241,13 +241,13 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
241
241
|
name: "onlineBankingMethod",
|
|
242
242
|
type: C.pay,
|
|
243
243
|
promo: H(e.promo),
|
|
244
|
-
bank: e.banklist.map((
|
|
245
|
-
let
|
|
246
|
-
const m =
|
|
244
|
+
bank: e.banklist.map((l) => {
|
|
245
|
+
let i = "0.00", d = "0.00";
|
|
246
|
+
const m = l.bankindex ?? 0;
|
|
247
247
|
for (let S = 0; S < t.mdGatewayMinMax.length; S++)
|
|
248
|
-
t.mdGatewayMinMax[S].bankindex == m.toString() && (
|
|
248
|
+
t.mdGatewayMinMax[S].bankindex == m.toString() && (i = t.mdGatewayMinMax[S].min, d = t.mdGatewayMinMax[S].max);
|
|
249
249
|
const { amountList: b, minAmount: p, maxAmount: _ } = W(
|
|
250
|
-
Number(
|
|
250
|
+
Number(i),
|
|
251
251
|
Number(d),
|
|
252
252
|
t.mdBankLevelDetail.onlinepayment_min,
|
|
253
253
|
t.mdBankLevelDetail.onlinepayment_max
|
|
@@ -257,7 +257,7 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
257
257
|
amountList: b,
|
|
258
258
|
min: p,
|
|
259
259
|
max: _
|
|
260
|
-
}, h =
|
|
260
|
+
}, h = l.pg.map((S) => {
|
|
261
261
|
const M = S.mintransaction ?? "0.00", I = S.maxtransaction ?? "0.00", { amountList: D, minAmount: R, maxAmount: L } = W(
|
|
262
262
|
Number(M),
|
|
263
263
|
Number(I),
|
|
@@ -273,8 +273,8 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
273
273
|
};
|
|
274
274
|
});
|
|
275
275
|
return {
|
|
276
|
-
id:
|
|
277
|
-
name:
|
|
276
|
+
id: l.bankindex ?? 0,
|
|
277
|
+
name: l.banknameenglish ?? "",
|
|
278
278
|
amountList: [],
|
|
279
279
|
min: 0,
|
|
280
280
|
max: 0,
|
|
@@ -285,10 +285,10 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
285
285
|
} : Q, fe = (e, t, a) => {
|
|
286
286
|
if (!a) return Q;
|
|
287
287
|
const u = C.auto;
|
|
288
|
-
let
|
|
289
|
-
const
|
|
288
|
+
let l = [];
|
|
289
|
+
const i = a.mdGatewayMinMax ?? [];
|
|
290
290
|
if (t.bank.length > 0 && a.mdPGSelection === "1")
|
|
291
|
-
|
|
291
|
+
l = t.bank.map((m) => {
|
|
292
292
|
const { amountList: b, minAmount: p, maxAmount: _ } = W(
|
|
293
293
|
m.mintransaction ?? 0,
|
|
294
294
|
m.maxtransaction ?? 0,
|
|
@@ -305,8 +305,8 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
305
305
|
});
|
|
306
306
|
else {
|
|
307
307
|
let m = "0.00", b = "0.00";
|
|
308
|
-
for (let g = 0; g <
|
|
309
|
-
|
|
308
|
+
for (let g = 0; g < i.length; g++)
|
|
309
|
+
i[g].bankindex === e.toString() && (m = i[g].min, b = i[g].max);
|
|
310
310
|
const { amountList: p, minAmount: _, maxAmount: O } = W(
|
|
311
311
|
Number(m),
|
|
312
312
|
Number(b),
|
|
@@ -319,14 +319,14 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
319
319
|
min: _,
|
|
320
320
|
max: O
|
|
321
321
|
};
|
|
322
|
-
|
|
322
|
+
l.push(h);
|
|
323
323
|
}
|
|
324
324
|
return {
|
|
325
325
|
id: e,
|
|
326
326
|
name: "autoMethod",
|
|
327
327
|
type: u,
|
|
328
328
|
promo: H(t.promo),
|
|
329
|
-
bank:
|
|
329
|
+
bank: l,
|
|
330
330
|
requiredField: $
|
|
331
331
|
};
|
|
332
332
|
}, ye = (e, t) => {
|
|
@@ -336,14 +336,14 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
336
336
|
name: "fixAmountMethod",
|
|
337
337
|
type: a,
|
|
338
338
|
promo: H(t.promo),
|
|
339
|
-
bank: t.bank.map((
|
|
340
|
-
const
|
|
339
|
+
bank: t.bank.map((l) => {
|
|
340
|
+
const i = l.amtlist.map(Number).sort((m, b) => m - b);
|
|
341
341
|
return {
|
|
342
|
-
id:
|
|
343
|
-
name:
|
|
344
|
-
amountList:
|
|
345
|
-
min:
|
|
346
|
-
max:
|
|
342
|
+
id: l.pgindex,
|
|
343
|
+
name: l.name,
|
|
344
|
+
amountList: l.amtlist,
|
|
345
|
+
min: i.length > 0 ? i[0] : 0,
|
|
346
|
+
max: i.length > 0 ? i[i.length - 1] : 0
|
|
347
347
|
};
|
|
348
348
|
}),
|
|
349
349
|
requiredField: $
|
|
@@ -360,16 +360,16 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
360
360
|
phoneNumber: e.mdUserDetail.mobileno ?? "",
|
|
361
361
|
profilePicUrl: e.mdUserDetail.profile_pic
|
|
362
362
|
}), he = (e) => {
|
|
363
|
-
var t, a, u,
|
|
363
|
+
var t, a, u, l;
|
|
364
364
|
return {
|
|
365
|
-
platformGame: ((t = e.mdGameListResult) == null ? void 0 : t.map((
|
|
365
|
+
platformGame: ((t = e.mdGameListResult) == null ? void 0 : t.map((i) => {
|
|
366
366
|
var d, m;
|
|
367
367
|
return {
|
|
368
|
-
code:
|
|
369
|
-
id:
|
|
370
|
-
name:
|
|
371
|
-
nextPage:
|
|
372
|
-
list: (
|
|
368
|
+
code: i.code,
|
|
369
|
+
id: i.id,
|
|
370
|
+
name: i.name,
|
|
371
|
+
nextPage: i.nextPage === 1,
|
|
372
|
+
list: (i.mdPlatformProducts !== null && ((d = i.mdPlatformProducts) == null ? void 0 : d.length)) ?? !1 ? ((m = i.mdPlatformProducts) == null ? void 0 : m.map((b) => ({
|
|
373
373
|
gameId: Number(b.id_GameMaster),
|
|
374
374
|
platformId: Number(b.id),
|
|
375
375
|
name: b.shortName,
|
|
@@ -380,36 +380,39 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
380
380
|
new: (b.flag & 8) > 0
|
|
381
381
|
},
|
|
382
382
|
imageUrl: `${e.mdDomains[b.mdDomains_id]}${b.img}?ts=${b.filemtime}`,
|
|
383
|
+
logoUrl: `/image/platform_logo/${b.img.split("/").pop()}?v=1`,
|
|
383
384
|
rate: "0.00",
|
|
384
385
|
favourite: !1
|
|
385
386
|
}))) ?? [] : []
|
|
386
387
|
};
|
|
387
388
|
})) ?? [],
|
|
388
|
-
hotGameList: e.mdGameLists !== null ? ((u = (a = e.mdGameLists) == null ? void 0 : a.data) == null ? void 0 : u.map((
|
|
389
|
-
gameId: Number(
|
|
390
|
-
platformId: Number(
|
|
391
|
-
name:
|
|
389
|
+
hotGameList: e.mdGameLists !== null ? ((u = (a = e.mdGameLists) == null ? void 0 : a.data) == null ? void 0 : u.map((i) => ({
|
|
390
|
+
gameId: Number(i.id),
|
|
391
|
+
platformId: Number(i.id_PlatformProduct),
|
|
392
|
+
name: i.name,
|
|
392
393
|
flag: {
|
|
393
|
-
value:
|
|
394
|
-
hot: (
|
|
395
|
-
trial: (
|
|
396
|
-
new: (
|
|
394
|
+
value: i.flag,
|
|
395
|
+
hot: (i.flag & 2) > 0,
|
|
396
|
+
trial: (i.flag & 4) > 0,
|
|
397
|
+
new: (i.flag & 8) > 0
|
|
397
398
|
},
|
|
398
|
-
imageUrl: `${e.mdDomains[
|
|
399
|
+
imageUrl: `${e.mdDomains[i.mdDomains_id]}${i.img}?ts=${i.filemtime}`,
|
|
400
|
+
logoUrl: `/image/platform_logo/${i.img.split("/").pop()}?v=1`,
|
|
399
401
|
rate: "0.00",
|
|
400
402
|
favourite: !1
|
|
401
403
|
}))) ?? [] : [],
|
|
402
|
-
platformGameList: e.mdGameLists !== null && e.mdGameLists.length > 0 ? ((
|
|
403
|
-
gameId: Number(
|
|
404
|
-
platformId: Number(
|
|
405
|
-
name:
|
|
404
|
+
platformGameList: e.mdGameLists !== null && e.mdGameLists.length > 0 ? ((l = e.mdGameLists) == null ? void 0 : l.map((i) => ({
|
|
405
|
+
gameId: Number(i.id),
|
|
406
|
+
platformId: Number(i.id_PlatformProduct),
|
|
407
|
+
name: i.name,
|
|
406
408
|
flag: {
|
|
407
409
|
value: 0,
|
|
408
410
|
hot: !1,
|
|
409
411
|
trial: !1,
|
|
410
412
|
new: !1
|
|
411
413
|
},
|
|
412
|
-
imageUrl: `${e.mdDomains[
|
|
414
|
+
imageUrl: `${e.mdDomains[i.mdDomains_id]}${i.img}?ts=${i.filemtime}`,
|
|
415
|
+
logoUrl: `/image/platform_logo/${i.img.split("/").pop()}?v=1`,
|
|
413
416
|
rate: "0.00",
|
|
414
417
|
favourite: !1
|
|
415
418
|
}))) ?? [] : [],
|
|
@@ -418,7 +421,7 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
418
421
|
};
|
|
419
422
|
}, Te = (e) => ({
|
|
420
423
|
list: e.mdGrade.map((t) => {
|
|
421
|
-
var a, u,
|
|
424
|
+
var a, u, l, i, d, m, b, p, _, O, h, g, S, M, I, D, R, L, N, U, A, B, J, V, E, n, c, y, r, o, v, k;
|
|
422
425
|
return {
|
|
423
426
|
id: t.gradeindex,
|
|
424
427
|
is_current_level: !1,
|
|
@@ -445,7 +448,7 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
445
448
|
benefit_list: {
|
|
446
449
|
daily: {
|
|
447
450
|
bonus: ((u = (a = t.benefit) == null ? void 0 : a.daily) == null ? void 0 : u.bonus) ?? "",
|
|
448
|
-
bonus_name: ((
|
|
451
|
+
bonus_name: ((i = (l = t.benefit) == null ? void 0 : l.daily) == null ? void 0 : i.bonus_name) ?? "",
|
|
449
452
|
turnover: ((m = (d = t.benefit) == null ? void 0 : d.daily) == null ? void 0 : m.turnover) ?? "",
|
|
450
453
|
turnover_name: ((p = (b = t.benefit) == null ? void 0 : b.daily) == null ? void 0 : p.turnover_name) ?? ""
|
|
451
454
|
},
|
|
@@ -457,8 +460,8 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
457
460
|
},
|
|
458
461
|
weekly: {
|
|
459
462
|
bonus: ((L = (R = t.benefit) == null ? void 0 : R.weekly) == null ? void 0 : L.bonus) ?? "",
|
|
460
|
-
bonus_name: ((
|
|
461
|
-
turnover: ((
|
|
463
|
+
bonus_name: ((U = (N = t.benefit) == null ? void 0 : N.weekly) == null ? void 0 : U.bonus_name) ?? "",
|
|
464
|
+
turnover: ((B = (A = t.benefit) == null ? void 0 : A.weekly) == null ? void 0 : B.turnover) ?? "",
|
|
462
465
|
turnover_name: ((V = (J = t.benefit) == null ? void 0 : J.weekly) == null ? void 0 : V.turnover_name) ?? ""
|
|
463
466
|
},
|
|
464
467
|
upgrade: {
|
|
@@ -535,20 +538,20 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
535
538
|
next_grade_id: e.mdNextGrade.gradeindex,
|
|
536
539
|
percentage: Number(e.percentage) * 100
|
|
537
540
|
}), Oe = (e) => {
|
|
538
|
-
var u,
|
|
541
|
+
var u, l;
|
|
539
542
|
let t = 4;
|
|
540
543
|
e.vipcalculation && (t = Number(e.vipcalculation));
|
|
541
544
|
let a = [];
|
|
542
545
|
return e.extralivechat && (a = JSON.parse(e.extralivechat)), {
|
|
543
546
|
vipCalculation: t,
|
|
544
547
|
livechat: e.livechat ?? "",
|
|
545
|
-
livechatList: a.filter((
|
|
546
|
-
let d =
|
|
547
|
-
return d.slice(-4) === ".png" && (d =
|
|
548
|
-
name:
|
|
548
|
+
livechatList: a.filter((i) => i.status == 1).map((i) => {
|
|
549
|
+
let d = i.imgname;
|
|
550
|
+
return d.slice(-4) === ".png" && (d = i.imgname.slice(0, -4)), {
|
|
551
|
+
name: i.name,
|
|
549
552
|
imageUrl: `/image/game/native/customer_service/${d}.png`,
|
|
550
|
-
url:
|
|
551
|
-
status:
|
|
553
|
+
url: i.url,
|
|
554
|
+
status: i.status == 1
|
|
552
555
|
};
|
|
553
556
|
}),
|
|
554
557
|
mobileValidate: e.mobilevalidate ? e.mobilevalidate === "1" : !1,
|
|
@@ -563,21 +566,21 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
563
566
|
crypto: e.crypto === "1",
|
|
564
567
|
forgetUser: {
|
|
565
568
|
email: ((u = e.forgetuser) == null ? void 0 : u.email) ?? !1,
|
|
566
|
-
sms: ((
|
|
569
|
+
sms: ((l = e.forgetuser) == null ? void 0 : l.sms) ?? !1
|
|
567
570
|
}
|
|
568
571
|
};
|
|
569
572
|
}, Me = (e) => {
|
|
570
|
-
var t, a, u,
|
|
573
|
+
var t, a, u, l;
|
|
571
574
|
return {
|
|
572
|
-
banner: ((t = e.mobileBanner) == null ? void 0 : t.map((
|
|
573
|
-
ad: ((a = e.mobileAd) == null ? void 0 : a.map((
|
|
574
|
-
about: ((u = e.about) == null ? void 0 : u.map((
|
|
575
|
-
name:
|
|
576
|
-
content:
|
|
575
|
+
banner: ((t = e.mobileBanner) == null ? void 0 : t.map((i) => `${i.imagepath}?ts=${i.filemtime}`)) ?? [],
|
|
576
|
+
ad: ((a = e.mobileAd) == null ? void 0 : a.map((i) => `${i.imagepath}?ts=${i.filemtime}`)) ?? [],
|
|
577
|
+
about: ((u = e.about) == null ? void 0 : u.map((i) => ({
|
|
578
|
+
name: i.name,
|
|
579
|
+
content: i.content
|
|
577
580
|
}))) ?? [],
|
|
578
|
-
mobileAbout: ((
|
|
579
|
-
name:
|
|
580
|
-
content:
|
|
581
|
+
mobileAbout: ((l = e.mobileAbout) == null ? void 0 : l.map((i) => ({
|
|
582
|
+
name: i.name,
|
|
583
|
+
content: i.content
|
|
581
584
|
}))) ?? []
|
|
582
585
|
};
|
|
583
586
|
}, je = (e) => {
|
|
@@ -614,13 +617,13 @@ const pe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
614
617
|
var u;
|
|
615
618
|
return {
|
|
616
619
|
id: a.key,
|
|
617
|
-
date: ((u = a.draw_date) == null ? void 0 : u.map((
|
|
620
|
+
date: ((u = a.draw_date) == null ? void 0 : u.map((l) => Ge(l.draw_tmactive))) ?? []
|
|
618
621
|
};
|
|
619
622
|
})) ?? [];
|
|
620
623
|
};
|
|
621
624
|
function Ge(e) {
|
|
622
|
-
const t = new Date(e * 1e3), a = t.getFullYear(), u = ("0" + (t.getMonth() + 1)).slice(-2),
|
|
623
|
-
return `${a}-${u}-${
|
|
625
|
+
const t = new Date(e * 1e3), a = t.getFullYear(), u = ("0" + (t.getMonth() + 1)).slice(-2), l = ("0" + t.getDate()).slice(-2);
|
|
626
|
+
return `${a}-${u}-${l}`;
|
|
624
627
|
}
|
|
625
628
|
const we = (e) => {
|
|
626
629
|
var t;
|
|
@@ -629,9 +632,9 @@ const we = (e) => {
|
|
|
629
632
|
return {
|
|
630
633
|
id: a.company_id,
|
|
631
634
|
name: a.company_name,
|
|
632
|
-
list: ((u = a.drawCount) == null ? void 0 : u.map((
|
|
633
|
-
combination:
|
|
634
|
-
total:
|
|
635
|
+
list: ((u = a.drawCount) == null ? void 0 : u.map((l) => ({
|
|
636
|
+
combination: l.combination_combination,
|
|
637
|
+
total: l.total
|
|
635
638
|
}))) ?? []
|
|
636
639
|
};
|
|
637
640
|
})) ?? [];
|
|
@@ -639,9 +642,9 @@ const we = (e) => {
|
|
|
639
642
|
companyId: t.company_id,
|
|
640
643
|
companyName: t.company_name,
|
|
641
644
|
resultByDateList: t.draws.map((a) => {
|
|
642
|
-
const u = a.results.filter((g) => g.combination_dimension == 3).map((g) => g.combination_combination),
|
|
645
|
+
const u = a.results.filter((g) => g.combination_dimension == 3).map((g) => g.combination_combination), l = a.results.filter(
|
|
643
646
|
(g) => g.combination_dimension == 4 && g.combination_position === 1
|
|
644
|
-
).map((g) => g.combination_combination),
|
|
647
|
+
).map((g) => g.combination_combination), i = a.results.filter(
|
|
645
648
|
(g) => g.combination_dimension === 4 && g.combination_position === 2
|
|
646
649
|
).map((g) => g.combination_combination), d = a.results.filter(
|
|
647
650
|
(g) => g.combination_dimension === 4 && g.combination_position === 3
|
|
@@ -658,8 +661,8 @@ const we = (e) => {
|
|
|
658
661
|
date: a.date,
|
|
659
662
|
dimension_3: u,
|
|
660
663
|
dimension_4: {
|
|
661
|
-
prize_1:
|
|
662
|
-
prize_2:
|
|
664
|
+
prize_1: l,
|
|
665
|
+
prize_2: i,
|
|
663
666
|
prize_3: d,
|
|
664
667
|
prize_4: m,
|
|
665
668
|
prize_5: b
|
|
@@ -688,11 +691,11 @@ const we = (e) => {
|
|
|
688
691
|
name: t.home,
|
|
689
692
|
logo_url: t.homeLogo
|
|
690
693
|
}
|
|
691
|
-
})),
|
|
694
|
+
})), Ue = (e) => ({
|
|
692
695
|
status: e.status == 1,
|
|
693
696
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
694
697
|
paymentUrl: e.urlpayment ?? ""
|
|
695
|
-
}),
|
|
698
|
+
}), Be = (e) => ({
|
|
696
699
|
status: e.status == 1,
|
|
697
700
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
698
701
|
flag: e.flag
|
|
@@ -700,7 +703,7 @@ const we = (e) => {
|
|
|
700
703
|
status: e.status == 1,
|
|
701
704
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? ""
|
|
702
705
|
}), qe = (e) => T(e), We = (e) => {
|
|
703
|
-
var t, a, u,
|
|
706
|
+
var t, a, u, l, i;
|
|
704
707
|
return {
|
|
705
708
|
bankCard: ((t = e.bankCard) == null ? void 0 : t.map((d) => {
|
|
706
709
|
var m, b;
|
|
@@ -734,7 +737,7 @@ const we = (e) => {
|
|
|
734
737
|
label: d.label,
|
|
735
738
|
countryIndex: d.countryindex
|
|
736
739
|
}))) ?? [],
|
|
737
|
-
cryptoAccount: ((
|
|
740
|
+
cryptoAccount: ((l = e.mdAccountCrypto) == null ? void 0 : l.map((d) => ({
|
|
738
741
|
id: d.crypto_id,
|
|
739
742
|
type: d.type,
|
|
740
743
|
name: d.crypto_name,
|
|
@@ -742,7 +745,7 @@ const we = (e) => {
|
|
|
742
745
|
}))) ?? [],
|
|
743
746
|
cryptoDetail: {
|
|
744
747
|
limit: e.mdCryptoDetail.cryptolimit,
|
|
745
|
-
protocol: ((
|
|
748
|
+
protocol: ((i = e.mdCryptoDetail.cryptoprotocol) == null ? void 0 : i.map((d) => ({
|
|
746
749
|
id: d.id,
|
|
747
750
|
name: d.name,
|
|
748
751
|
status: d.status == "1"
|
|
@@ -765,7 +768,7 @@ const we = (e) => {
|
|
|
765
768
|
withdrawMaxFee: Number(e.withdrawMaxFee),
|
|
766
769
|
withdrawCount: e.withdrawCount
|
|
767
770
|
}), Ee = (e) => T(e), $e = (e) => {
|
|
768
|
-
var t, a, u,
|
|
771
|
+
var t, a, u, l, i, d;
|
|
769
772
|
return {
|
|
770
773
|
statusMode: ((t = e.subStatusModes) == null ? void 0 : t.map((m) => ({
|
|
771
774
|
key: m.key,
|
|
@@ -777,8 +780,8 @@ const we = (e) => {
|
|
|
777
780
|
}))) ?? [],
|
|
778
781
|
data: {
|
|
779
782
|
currentPage: ((u = e.mdCashLedgers) == null ? void 0 : u.current_page) ?? 0,
|
|
780
|
-
lastPage: ((
|
|
781
|
-
data: ((d = (
|
|
783
|
+
lastPage: ((l = e.mdCashLedgers) == null ? void 0 : l.last_page) ?? 0,
|
|
784
|
+
data: ((d = (i = e.mdCashLedgers) == null ? void 0 : i.data) == null ? void 0 : d.map((m) => {
|
|
782
785
|
var b, p;
|
|
783
786
|
return {
|
|
784
787
|
transactionIndex: m.ledgerindex,
|
|
@@ -889,11 +892,11 @@ const we = (e) => {
|
|
|
889
892
|
id: t.id,
|
|
890
893
|
name: t.name,
|
|
891
894
|
list: t.gameList.map((a) => {
|
|
892
|
-
const u = e.mdDomains,
|
|
895
|
+
const u = e.mdDomains, i = `${u.length >= a.mdDomains_id ? u[a.mdDomains_id] : ""}${a.img}?${a.filemtime}`;
|
|
893
896
|
return {
|
|
894
897
|
id: a.id,
|
|
895
898
|
name: a.name,
|
|
896
|
-
imageUrl:
|
|
899
|
+
imageUrl: i
|
|
897
900
|
};
|
|
898
901
|
})
|
|
899
902
|
})), tt = (e) => e.status == 0 ? {
|
|
@@ -911,15 +914,15 @@ const we = (e) => {
|
|
|
911
914
|
totalReward: e.data.total_reward,
|
|
912
915
|
unclaimReward: e.data.unclaim_reward.toString()
|
|
913
916
|
}, at = (e) => {
|
|
914
|
-
const t = /* @__PURE__ */ new Set(), a = e.data.map((
|
|
915
|
-
id:
|
|
916
|
-
name:
|
|
917
|
-
cashback:
|
|
918
|
-
commission:
|
|
919
|
-
})), u = e.data.reduce((
|
|
917
|
+
const t = /* @__PURE__ */ new Set(), a = e.data.map((i) => (t.add(i.downline), {
|
|
918
|
+
id: i.logindex,
|
|
919
|
+
name: i.firstname,
|
|
920
|
+
cashback: i.turnover,
|
|
921
|
+
commission: i.income
|
|
922
|
+
})), u = e.data.reduce((i, d) => i + parseFloat(d.income), 0), l = t.size;
|
|
920
923
|
return {
|
|
921
924
|
totalReward: u,
|
|
922
|
-
totalCount:
|
|
925
|
+
totalCount: l,
|
|
923
926
|
list: a
|
|
924
927
|
};
|
|
925
928
|
}, nt = (e) => e.status == 0 ? {
|
|
@@ -937,17 +940,17 @@ const we = (e) => {
|
|
|
937
940
|
totalReward: e.data.total_reward,
|
|
938
941
|
unclaimReward: e.data.unclaim_reward.toString()
|
|
939
942
|
}, ot = (e) => {
|
|
940
|
-
const t = /* @__PURE__ */ new Set(), a = e.data.map((
|
|
941
|
-
id:
|
|
942
|
-
name:
|
|
943
|
-
dateCreated:
|
|
944
|
-
deposit:
|
|
945
|
-
activeBet:
|
|
946
|
-
commission:
|
|
947
|
-
})), u = e.data.reduce((
|
|
943
|
+
const t = /* @__PURE__ */ new Set(), a = e.data.map((i) => (t.add(i.accountid), {
|
|
944
|
+
id: i.id,
|
|
945
|
+
name: i.firstname,
|
|
946
|
+
dateCreated: i.created,
|
|
947
|
+
deposit: i.deposit,
|
|
948
|
+
activeBet: i.activebet,
|
|
949
|
+
commission: i.reward
|
|
950
|
+
})), u = e.data.reduce((i, d) => i + parseFloat(d.reward), 0), l = t.size;
|
|
948
951
|
return {
|
|
949
952
|
totalReward: u,
|
|
950
|
-
totalCount:
|
|
953
|
+
totalCount: l,
|
|
951
954
|
list: a
|
|
952
955
|
};
|
|
953
956
|
}, rt = (e) => e.status == 0 ? {
|
|
@@ -965,15 +968,15 @@ const we = (e) => {
|
|
|
965
968
|
totalReward: e.data.total_reward,
|
|
966
969
|
unclaimReward: e.data.unclaim_reward.toString()
|
|
967
970
|
}, st = (e) => {
|
|
968
|
-
const t = /* @__PURE__ */ new Set(), a = e.data.map((
|
|
969
|
-
id:
|
|
970
|
-
name:
|
|
971
|
-
total:
|
|
972
|
-
commission:
|
|
973
|
-
})), u = e.data.reduce((
|
|
971
|
+
const t = /* @__PURE__ */ new Set(), a = e.data.map((i) => (t.add(i.accountid), {
|
|
972
|
+
id: i.logindex,
|
|
973
|
+
name: i.firstname,
|
|
974
|
+
total: i.deposit,
|
|
975
|
+
commission: i.reward
|
|
976
|
+
})), u = e.data.reduce((i, d) => i + parseFloat(d.reward), 0), l = t.size;
|
|
974
977
|
return {
|
|
975
978
|
totalReward: u,
|
|
976
|
-
totalCount:
|
|
979
|
+
totalCount: l,
|
|
977
980
|
list: a
|
|
978
981
|
};
|
|
979
982
|
}, it = (e) => e.status == 0 ? {
|
|
@@ -1005,7 +1008,7 @@ const we = (e) => {
|
|
|
1005
1008
|
};
|
|
1006
1009
|
});
|
|
1007
1010
|
u.length > 0 && (t = u[0]);
|
|
1008
|
-
const
|
|
1011
|
+
const l = e.data.filter((p) => p.dtype == "5" && p.type == "D").map((p) => {
|
|
1009
1012
|
const _ = Math.min(
|
|
1010
1013
|
Number(p.min_deposit) * Number(p.percentage) / 100,
|
|
1011
1014
|
Number(p.max_promo_amt)
|
|
@@ -1018,14 +1021,14 @@ const we = (e) => {
|
|
|
1018
1021
|
expiryTime: p.etime
|
|
1019
1022
|
};
|
|
1020
1023
|
});
|
|
1021
|
-
let
|
|
1022
|
-
const m =
|
|
1024
|
+
let i = 0, d = ((b = l[0]) == null ? void 0 : b.expiryTime) || "";
|
|
1025
|
+
const m = l.map((p) => (i = Math.max(i, p.percentage), new Date(p.expiryTime) < new Date(d) && (d = p.expiryTime), {
|
|
1023
1026
|
name: p.name,
|
|
1024
1027
|
depositAmount: p.depositAmount,
|
|
1025
1028
|
promoAmount: p.promoAmount
|
|
1026
1029
|
}));
|
|
1027
1030
|
return a = {
|
|
1028
|
-
percentage:
|
|
1031
|
+
percentage: i,
|
|
1029
1032
|
expiryTime: d,
|
|
1030
1033
|
list: m
|
|
1031
1034
|
}, { welcomeBonus: t, dailyBonus: a };
|
|
@@ -1054,12 +1057,12 @@ const we = (e) => {
|
|
|
1054
1057
|
if (Object.prototype.hasOwnProperty.call(e.data, a)) {
|
|
1055
1058
|
const u = e.data[a];
|
|
1056
1059
|
t[a] = [];
|
|
1057
|
-
for (let
|
|
1058
|
-
const
|
|
1060
|
+
for (let l = 0; l < u.length; l++) {
|
|
1061
|
+
const i = u[l];
|
|
1059
1062
|
let d = "";
|
|
1060
|
-
u.length >
|
|
1061
|
-
rate:
|
|
1062
|
-
minValue:
|
|
1063
|
+
u.length > l + 1 && (d = (Number(u[l + 1].achievement) - 1).toString()), t[a].push({
|
|
1064
|
+
rate: i.rate,
|
|
1065
|
+
minValue: i.achievement.toString(),
|
|
1063
1066
|
maxValue: d
|
|
1064
1067
|
});
|
|
1065
1068
|
}
|
|
@@ -1073,27 +1076,27 @@ const we = (e) => {
|
|
|
1073
1076
|
if (Object.prototype.hasOwnProperty.call(e.data, a)) {
|
|
1074
1077
|
const u = e.data[a];
|
|
1075
1078
|
t[a] = [];
|
|
1076
|
-
for (let
|
|
1077
|
-
const
|
|
1079
|
+
for (let l = 0; l < u.length; l++) {
|
|
1080
|
+
const i = u[l];
|
|
1078
1081
|
let d = "";
|
|
1079
|
-
u.length >
|
|
1080
|
-
rate:
|
|
1081
|
-
minValue:
|
|
1082
|
+
u.length > l + 1 && (d = (Number(u[l + 1].achievement) - 1).toString()), t[a].push({
|
|
1083
|
+
rate: i.rate,
|
|
1084
|
+
minValue: i.achievement,
|
|
1082
1085
|
maxValue: d
|
|
1083
1086
|
});
|
|
1084
1087
|
}
|
|
1085
1088
|
}
|
|
1086
1089
|
return t;
|
|
1087
1090
|
}, bt = (e) => T(e), ft = (e) => T(e), yt = (e) => {
|
|
1088
|
-
var t, a, u,
|
|
1091
|
+
var t, a, u, l, i;
|
|
1089
1092
|
return {
|
|
1090
1093
|
status: e.status == 1,
|
|
1091
1094
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
1092
1095
|
default: ((t = e.data) == null ? void 0 : t.default) ?? [],
|
|
1093
1096
|
online: ((a = e.data) == null ? void 0 : a.online) ?? [],
|
|
1094
1097
|
mycard: ((u = e.data) == null ? void 0 : u.mycard) ?? [],
|
|
1095
|
-
qrcode: ((
|
|
1096
|
-
personal: ((
|
|
1098
|
+
qrcode: ((l = e.data) == null ? void 0 : l.qrcode) ?? [],
|
|
1099
|
+
personal: ((i = e.data) == null ? void 0 : i.personal) ?? []
|
|
1097
1100
|
};
|
|
1098
1101
|
}, Y = (e) => ({
|
|
1099
1102
|
validated: e.withdrawValidate === 1 || e.depositValidate === 1 || e.TransferCreditValidate === 1,
|
|
@@ -1140,14 +1143,14 @@ const we = (e) => {
|
|
|
1140
1143
|
status: e.status == 1,
|
|
1141
1144
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
1142
1145
|
countryList: ((t = e.data) == null ? void 0 : t.map((a) => {
|
|
1143
|
-
var u,
|
|
1146
|
+
var u, l;
|
|
1144
1147
|
return {
|
|
1145
1148
|
countryIndex: a.countryindex,
|
|
1146
1149
|
currencyName: a.currency_name ?? "",
|
|
1147
1150
|
label: a.label,
|
|
1148
1151
|
currencyRate: {
|
|
1149
1152
|
depositCurrencyRate: ((u = a.currency_rate) == null ? void 0 : u.currency_rate_deposit) ?? "",
|
|
1150
|
-
withdrawCurrencyRate: ((
|
|
1153
|
+
withdrawCurrencyRate: ((l = a.currency_rate) == null ? void 0 : l.currency_rate_withdraw) ?? ""
|
|
1151
1154
|
}
|
|
1152
1155
|
};
|
|
1153
1156
|
})) ?? []
|
|
@@ -1179,15 +1182,15 @@ const we = (e) => {
|
|
|
1179
1182
|
return {
|
|
1180
1183
|
id: a.id,
|
|
1181
1184
|
name: a.name,
|
|
1182
|
-
product: ((u = a.platformproduct) == null ? void 0 : u.map((
|
|
1183
|
-
id:
|
|
1184
|
-
name:
|
|
1185
|
-
platformId:
|
|
1186
|
-
com:
|
|
1185
|
+
product: ((u = a.platformproduct) == null ? void 0 : u.map((l) => ({
|
|
1186
|
+
id: l.id,
|
|
1187
|
+
name: l.name,
|
|
1188
|
+
platformId: l.id_PlatformMaster,
|
|
1189
|
+
com: l.com
|
|
1187
1190
|
}))) ?? []
|
|
1188
1191
|
};
|
|
1189
1192
|
})) ?? [];
|
|
1190
|
-
}, zt = (e) => T(e), Nt = (e) => T(e),
|
|
1193
|
+
}, zt = (e) => T(e), Nt = (e) => T(e), Ut = (e) => T(e), Bt = (e) => T(e), qt = (e) => T(e), Wt = (e) => T(e), Vt = (e) => T(e), Et = (e) => ({
|
|
1191
1194
|
status: e.status == 1,
|
|
1192
1195
|
message: e.msg ?? "",
|
|
1193
1196
|
data: e.data
|
|
@@ -1293,7 +1296,7 @@ const we = (e) => {
|
|
|
1293
1296
|
}))) ?? []
|
|
1294
1297
|
};
|
|
1295
1298
|
}, ea = (e) => {
|
|
1296
|
-
var t, a, u,
|
|
1299
|
+
var t, a, u, l, i, d, m, b, p, _, O;
|
|
1297
1300
|
return {
|
|
1298
1301
|
status: e.status == 1,
|
|
1299
1302
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
@@ -1301,8 +1304,8 @@ const we = (e) => {
|
|
|
1301
1304
|
total: (t = e.data) != null && t.total ? {
|
|
1302
1305
|
bet: (((a = e.data) == null ? void 0 : a.total.bet) ?? 0).toFixed(2),
|
|
1303
1306
|
activeBet: (((u = e.data) == null ? void 0 : u.total.activebet) ?? 0).toFixed(2),
|
|
1304
|
-
validBet: (((
|
|
1305
|
-
payout: (((
|
|
1307
|
+
validBet: (((l = e.data) == null ? void 0 : l.total.validbet) ?? 0).toFixed(2),
|
|
1308
|
+
payout: (((i = e.data) == null ? void 0 : i.total.payout) ?? 0).toFixed(2)
|
|
1306
1309
|
} : {
|
|
1307
1310
|
bet: "0.00",
|
|
1308
1311
|
activeBet: "0.00",
|
|
@@ -1357,22 +1360,22 @@ const we = (e) => {
|
|
|
1357
1360
|
status: e.status == 1,
|
|
1358
1361
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
1359
1362
|
data: {
|
|
1360
|
-
companyCount: ((t = e.data.companyRCount) == null ? void 0 : t.map((
|
|
1361
|
-
key:
|
|
1362
|
-
count:
|
|
1363
|
+
companyCount: ((t = e.data.companyRCount) == null ? void 0 : t.map((l) => ({
|
|
1364
|
+
key: l.key,
|
|
1365
|
+
count: l.count
|
|
1363
1366
|
}))) ?? [],
|
|
1364
|
-
prizeCount: ((a = e.data.prizeRCount) == null ? void 0 : a.map((
|
|
1365
|
-
key:
|
|
1366
|
-
count:
|
|
1367
|
+
prizeCount: ((a = e.data.prizeRCount) == null ? void 0 : a.map((l) => ({
|
|
1368
|
+
key: l.key,
|
|
1369
|
+
count: l.count
|
|
1367
1370
|
}))) ?? [],
|
|
1368
|
-
list: ((u = e.data.list) == null ? void 0 : u.map((
|
|
1369
|
-
dimension:
|
|
1370
|
-
combination:
|
|
1371
|
-
prizePosition:
|
|
1372
|
-
drawIdentifier:
|
|
1373
|
-
drawTimestamp:
|
|
1374
|
-
companyId:
|
|
1375
|
-
companyName:
|
|
1371
|
+
list: ((u = e.data.list) == null ? void 0 : u.map((l) => ({
|
|
1372
|
+
dimension: l.combination_dimension,
|
|
1373
|
+
combination: l.combination_combination,
|
|
1374
|
+
prizePosition: l.combination_position,
|
|
1375
|
+
drawIdentifier: l.draw.draw_identifier,
|
|
1376
|
+
drawTimestamp: l.draw.draw_tmactive,
|
|
1377
|
+
companyId: l.company.company_id,
|
|
1378
|
+
companyName: l.company.company_name
|
|
1376
1379
|
}))) ?? []
|
|
1377
1380
|
}
|
|
1378
1381
|
};
|
|
@@ -1506,7 +1509,7 @@ const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1506
1509
|
rate: "0.00",
|
|
1507
1510
|
favourite: !0
|
|
1508
1511
|
})), Sa = (e) => T(e), ka = (e) => T(e), Pa = (e) => T(e), Oa = async (e) => {
|
|
1509
|
-
var t, a, u,
|
|
1512
|
+
var t, a, u, l, i, d, m, b, p, _, O, h, g, S, M, I;
|
|
1510
1513
|
try {
|
|
1511
1514
|
e.findIndex((c) => c.name === s.vipList) !== -1 && e.push(
|
|
1512
1515
|
{
|
|
@@ -1549,12 +1552,12 @@ const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1549
1552
|
query: String(c)
|
|
1550
1553
|
});
|
|
1551
1554
|
}
|
|
1552
|
-
const
|
|
1553
|
-
if (
|
|
1555
|
+
const U = e.findIndex((c) => c.name === s.searchNumberHistory);
|
|
1556
|
+
if (U !== -1) {
|
|
1554
1557
|
let c = {};
|
|
1555
1558
|
e.forEach((y) => {
|
|
1556
1559
|
c = y.query;
|
|
1557
|
-
}), e.splice(
|
|
1560
|
+
}), e.splice(U), e.push({
|
|
1558
1561
|
name: s.getFourDimensionData,
|
|
1559
1562
|
query: String(c)
|
|
1560
1563
|
});
|
|
@@ -1563,15 +1566,15 @@ const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1563
1566
|
let c = {};
|
|
1564
1567
|
e.forEach((y) => {
|
|
1565
1568
|
c = y.query;
|
|
1566
|
-
}), e.splice(
|
|
1569
|
+
}), e.splice(U), e.push({
|
|
1567
1570
|
name: s.getFourDimensionData,
|
|
1568
1571
|
query: String(c)
|
|
1569
1572
|
});
|
|
1570
1573
|
}
|
|
1571
|
-
const
|
|
1574
|
+
const B = e.findIndex(
|
|
1572
1575
|
(c) => c.name === s.getFourDimensionData
|
|
1573
1576
|
);
|
|
1574
|
-
|
|
1577
|
+
B !== -1 && e[B].query == "" && (e.splice(B), e.push(
|
|
1575
1578
|
{
|
|
1576
1579
|
name: s.getFourDimensionData,
|
|
1577
1580
|
query: JSON.stringify({ action: s.getCompany, native: "1" })
|
|
@@ -1603,7 +1606,7 @@ const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1603
1606
|
for (const c of E.data.responses) {
|
|
1604
1607
|
c.error != null && c.error.code != 200 && (n.status = c.error.code, n.message = c.error.message);
|
|
1605
1608
|
const y = c.attributes !== null && c.attributes !== void 0 ? le(c.attributes) : null, r = c.name, o = y ? JSON.parse(y) : null;
|
|
1606
|
-
if (
|
|
1609
|
+
if (!o)
|
|
1607
1610
|
console.log("Not data received"), n.result[r] = null;
|
|
1608
1611
|
else
|
|
1609
1612
|
switch (r) {
|
|
@@ -1685,10 +1688,10 @@ const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1685
1688
|
);
|
|
1686
1689
|
break;
|
|
1687
1690
|
case s.deposit:
|
|
1688
|
-
n.result[r] =
|
|
1691
|
+
n.result[r] = Ue(o);
|
|
1689
1692
|
break;
|
|
1690
1693
|
case s.applyVipBonus:
|
|
1691
|
-
n.result[r] =
|
|
1694
|
+
n.result[r] = Be(o);
|
|
1692
1695
|
break;
|
|
1693
1696
|
case s.withdraw:
|
|
1694
1697
|
n.result[r] = qe(o);
|
|
@@ -1911,12 +1914,12 @@ const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1911
1914
|
);
|
|
1912
1915
|
break;
|
|
1913
1916
|
case s.commissionWithdraw:
|
|
1914
|
-
n.result[r] =
|
|
1917
|
+
n.result[r] = Ut(
|
|
1915
1918
|
o
|
|
1916
1919
|
);
|
|
1917
1920
|
break;
|
|
1918
1921
|
case s.submitWithdrawalCode:
|
|
1919
|
-
n.result[r] =
|
|
1922
|
+
n.result[r] = Bt(
|
|
1920
1923
|
o
|
|
1921
1924
|
);
|
|
1922
1925
|
break;
|
|
@@ -2108,8 +2111,8 @@ const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2108
2111
|
if (s.vipList in n.result && ((u = n.result) != null && u.vipList)) {
|
|
2109
2112
|
const c = n.result.vipList;
|
|
2110
2113
|
let y = 4;
|
|
2111
|
-
if (s.getSetting in n.result && ((
|
|
2112
|
-
if ((
|
|
2114
|
+
if (s.getSetting in n.result && ((l = n.result) != null && l.getSetting && (y = n.result.getSetting.vipCalculation), delete n.result.getSetting), s.vipStatus in n.result) {
|
|
2115
|
+
if ((i = n.result) != null && i.vipStatus) {
|
|
2113
2116
|
const r = n.result.vipStatus, {
|
|
2114
2117
|
current_grade_id: o,
|
|
2115
2118
|
current_deposit: v,
|
|
@@ -2290,6 +2293,7 @@ const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2290
2293
|
new: !1
|
|
2291
2294
|
},
|
|
2292
2295
|
imageUrl: o.imgUrl,
|
|
2296
|
+
logoUrl: "",
|
|
2293
2297
|
rate: "0.00",
|
|
2294
2298
|
favourite: !1
|
|
2295
2299
|
})), delete n.result.fishGameList;
|
|
@@ -2384,8 +2388,8 @@ const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2384
2388
|
};
|
|
2385
2389
|
}
|
|
2386
2390
|
return a;
|
|
2387
|
-
}, Da = async (e, t, a, u,
|
|
2388
|
-
let
|
|
2391
|
+
}, Da = async (e, t, a, u, l) => {
|
|
2392
|
+
let i = {
|
|
2389
2393
|
status: 200,
|
|
2390
2394
|
message: "",
|
|
2391
2395
|
accessToken: ""
|
|
@@ -2396,21 +2400,21 @@ const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2396
2400
|
usr: t,
|
|
2397
2401
|
pwd: a,
|
|
2398
2402
|
mobileno: u,
|
|
2399
|
-
type:
|
|
2403
|
+
type: l
|
|
2400
2404
|
})).data;
|
|
2401
|
-
|
|
2405
|
+
i.status === 200 && (i = {
|
|
2402
2406
|
status: 200,
|
|
2403
2407
|
message: "",
|
|
2404
2408
|
accessToken: m.access_token
|
|
2405
2409
|
});
|
|
2406
2410
|
} catch (d) {
|
|
2407
|
-
|
|
2411
|
+
i = {
|
|
2408
2412
|
status: d.status || 500,
|
|
2409
2413
|
message: d.message,
|
|
2410
2414
|
accessToken: ""
|
|
2411
2415
|
};
|
|
2412
2416
|
}
|
|
2413
|
-
return
|
|
2417
|
+
return i;
|
|
2414
2418
|
}, xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2415
2419
|
__proto__: null,
|
|
2416
2420
|
call: Da,
|
|
@@ -2485,12 +2489,12 @@ const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2485
2489
|
const u = await z.post("/setlocale", {
|
|
2486
2490
|
language: e,
|
|
2487
2491
|
udid: t ?? ""
|
|
2488
|
-
}),
|
|
2492
|
+
}), l = JSON.parse(
|
|
2489
2493
|
atob(u.data.responses[0].attributes)
|
|
2490
2494
|
);
|
|
2491
2495
|
a.data = {
|
|
2492
|
-
status:
|
|
2493
|
-
message:
|
|
2496
|
+
status: l.status == 1,
|
|
2497
|
+
message: l.message ?? ""
|
|
2494
2498
|
};
|
|
2495
2499
|
} catch (u) {
|
|
2496
2500
|
a = {
|
|
@@ -2507,10 +2511,10 @@ const ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2507
2511
|
__proto__: null
|
|
2508
2512
|
}, Symbol.toStringTag, { value: "Module" })), Na = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2509
2513
|
__proto__: null
|
|
2510
|
-
}, Symbol.toStringTag, { value: "Module" })), Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2511
|
-
__proto__: null
|
|
2512
2514
|
}, Symbol.toStringTag, { value: "Module" })), Ua = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2513
2515
|
__proto__: null
|
|
2516
|
+
}, Symbol.toStringTag, { value: "Module" })), Ba = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2517
|
+
__proto__: null
|
|
2514
2518
|
}, Symbol.toStringTag, { value: "Module" })), qa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2515
2519
|
__proto__: null
|
|
2516
2520
|
}, Symbol.toStringTag, { value: "Module" })), Wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -2623,10 +2627,10 @@ const On = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2623
2627
|
__proto__: null
|
|
2624
2628
|
}, Symbol.toStringTag, { value: "Module" })), Nn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2625
2629
|
__proto__: null
|
|
2626
|
-
}, Symbol.toStringTag, { value: "Module" })), Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2627
|
-
__proto__: null
|
|
2628
2630
|
}, Symbol.toStringTag, { value: "Module" })), Un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2629
2631
|
__proto__: null
|
|
2632
|
+
}, Symbol.toStringTag, { value: "Module" })), Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2633
|
+
__proto__: null
|
|
2630
2634
|
}, Symbol.toStringTag, { value: "Module" })), qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2631
2635
|
__proto__: null
|
|
2632
2636
|
}, Symbol.toStringTag, { value: "Module" })), Wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -2724,9 +2728,9 @@ const On = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2724
2728
|
apiType: me,
|
|
2725
2729
|
loginType: za,
|
|
2726
2730
|
logoutType: Na,
|
|
2727
|
-
announcementType:
|
|
2731
|
+
announcementType: Ua,
|
|
2728
2732
|
paymentsProviderType: pe,
|
|
2729
|
-
gameListType:
|
|
2733
|
+
gameListType: Ba,
|
|
2730
2734
|
vipListType: qa,
|
|
2731
2735
|
promotionType: Wa,
|
|
2732
2736
|
cmsListType: Va,
|
|
@@ -2783,8 +2787,8 @@ const On = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2783
2787
|
submitGiftCodeType: ae,
|
|
2784
2788
|
playGameType: ne,
|
|
2785
2789
|
transferToMainType: Nn,
|
|
2786
|
-
transferProcessType:
|
|
2787
|
-
submitValidateType:
|
|
2790
|
+
transferProcessType: Un,
|
|
2791
|
+
submitValidateType: Bn,
|
|
2788
2792
|
checkTransferCreditType: qn,
|
|
2789
2793
|
friendListType: Wn,
|
|
2790
2794
|
friendListEditType: Vn,
|
|
@@ -2838,7 +2842,7 @@ export {
|
|
|
2838
2842
|
Fo as Repository,
|
|
2839
2843
|
Ya as addBankCardType,
|
|
2840
2844
|
ro as agTransferCreditReportType,
|
|
2841
|
-
|
|
2845
|
+
Ua as announcementType,
|
|
2842
2846
|
Ma as api,
|
|
2843
2847
|
me as apiType,
|
|
2844
2848
|
Fn as applyPromoType,
|
|
@@ -2861,7 +2865,7 @@ export {
|
|
|
2861
2865
|
on as fishGameListType,
|
|
2862
2866
|
Vn as friendListEditType,
|
|
2863
2867
|
Wn as friendListType,
|
|
2864
|
-
|
|
2868
|
+
Ba as gameListType,
|
|
2865
2869
|
En as getActivePPType,
|
|
2866
2870
|
$n as getActiveProductType,
|
|
2867
2871
|
zn as getCountryType,
|
|
@@ -2932,11 +2936,11 @@ export {
|
|
|
2932
2936
|
Xn as submitTransferMoneyType,
|
|
2933
2937
|
lo as submitTwoFactorAuthenticateType,
|
|
2934
2938
|
kn as submitUpdateMobileTacCode,
|
|
2935
|
-
|
|
2939
|
+
Bn as submitValidateType,
|
|
2936
2940
|
bo as submitWithdrawalAlipayType,
|
|
2937
2941
|
Yn as submitWithdrawalCodeType,
|
|
2938
2942
|
Qa as transactionReportType,
|
|
2939
|
-
|
|
2943
|
+
Un as transferProcessType,
|
|
2940
2944
|
oo as transferReportType,
|
|
2941
2945
|
Ro as transferSettingType,
|
|
2942
2946
|
Nn as transferToMainType,
|