60p82u21t54k 0.0.120 → 0.1.1
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 +252 -242
- package/dist/60p82u21t54k.umd.js +1 -1
- package/dist/util/tool.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/60p82u21t54k.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
const L =
|
|
1
|
+
import de from "axios";
|
|
2
|
+
const L = de.create({
|
|
3
3
|
baseURL: "",
|
|
4
4
|
timeout: 15e3,
|
|
5
5
|
// Request timeout
|
|
@@ -68,12 +68,12 @@ const fe = (e) => new TextEncoder().encode(e), ye = (e) => {
|
|
|
68
68
|
}, _e = () => {
|
|
69
69
|
const e = /* @__PURE__ */ new Date(), t = e.getFullYear(), a = e.getMonth(), l = new Date(t, a, 1, 12, 0, 0), i = new Date(t, a + 1, 1, 12, 0, 0), u = Math.floor(
|
|
70
70
|
(i.getTime() - e.getTime()) / 1e3
|
|
71
|
-
),
|
|
71
|
+
), c = Math.floor(
|
|
72
72
|
(i.getTime() - l.getTime()) / 1e3
|
|
73
|
-
), p =
|
|
73
|
+
), p = c - u;
|
|
74
74
|
return {
|
|
75
75
|
monthRemainingTime: u,
|
|
76
|
-
monthProgressPercentage: Math.round(p /
|
|
76
|
+
monthProgressPercentage: Math.round(p / c * 100)
|
|
77
77
|
};
|
|
78
78
|
}, ve = () => {
|
|
79
79
|
const e = /* @__PURE__ */ new Date(), t = e.getDay(), a = t === 1 ? 7 : 8 - t, l = new Date(
|
|
@@ -98,21 +98,31 @@ const fe = (e) => new TextEncoder().encode(e), ye = (e) => {
|
|
|
98
98
|
0,
|
|
99
99
|
0,
|
|
100
100
|
0
|
|
101
|
-
), a = Math.floor((t.getTime() - e.getTime()) / 1e3),
|
|
101
|
+
), a = Math.floor((t.getTime() - e.getTime()) / 1e3), c = 24 * 60 * 60;
|
|
102
102
|
return {
|
|
103
103
|
dayRemainingTime: a,
|
|
104
|
-
dayProgressPercentage: Math.round(a /
|
|
104
|
+
dayProgressPercentage: Math.round(a / c * 100)
|
|
105
105
|
};
|
|
106
106
|
}, Te = () => Intl.DateTimeFormat().resolvedOptions().timeZone, me = (e) => {
|
|
107
|
-
|
|
108
|
-
|
|
107
|
+
console.log("enter convertToUserTimeZone");
|
|
108
|
+
const t = /* @__PURE__ */ new Date(e + " GMT-0400");
|
|
109
|
+
console.log(`enter convertToUserTimeZone gmt4Date: ${t}`);
|
|
110
|
+
const a = new Intl.DateTimeFormat(void 0, {
|
|
109
111
|
timeZone: Te(),
|
|
110
112
|
dateStyle: "full",
|
|
111
113
|
timeStyle: "long"
|
|
112
114
|
}).format(t);
|
|
115
|
+
return console.log(`enter convertToUserTimeZone data: ${a}`), a;
|
|
113
116
|
}, pe = (e) => {
|
|
114
|
-
|
|
115
|
-
|
|
117
|
+
console.log("enter formatToISODateTime");
|
|
118
|
+
const t = e.replace(" at ", " ");
|
|
119
|
+
console.log(`enter convertToUserTimeZone processedDateTime: ${t}`);
|
|
120
|
+
const a = t.replace(/GMT([+-]\d+)/, (S, h) => `${h.padStart(3, "0")}:00`);
|
|
121
|
+
console.log(`enter convertToUserTimeZone updatedDateTime: ${a}`);
|
|
122
|
+
const l = new Date(a.replace(/0([+-]\d{1,2}:\d{2})/, "$1"));
|
|
123
|
+
console.log(`enter convertToUserTimeZone date: ${l}`);
|
|
124
|
+
const i = l.getFullYear(), u = String(l.getMonth() + 1).padStart(2, "0"), c = String(l.getDate()).padStart(2, "0"), p = String(l.getHours()).padStart(2, "0"), y = String(l.getMinutes()).padStart(2, "0"), g = String(l.getSeconds()).padStart(2, "0"), b = `${i}-${u}-${c} ${p}:${y}:${g}`;
|
|
125
|
+
return console.log(`enter convertToUserTimeZone data: ${b}`), b;
|
|
116
126
|
}, Re = () => Date.now(), Se = (e) => new Date(e).getTime(), Pe = (e) => Re() > Se(pe(me(e)));
|
|
117
127
|
var s = /* @__PURE__ */ ((e) => (e.announcement = "announcement", e.gameList = "gameList", e.fishGameList = "fishGameList", e.cmsList = "cmsList", e.paymentsProvider = "paymentsProvider", e.getUserProfile = "getUserProfile", e.vipList = "vipList", e.vipStatus = "vipStatus", e.vipBonus = "vipBonus", e.vipFieldStatus = "vipFieldStatus", e.promotion = "promotion", e.getSetting = "getSetting", e.getCountryMobile = "getCountryMobile", e.getPlatformTurnoverRate = "getPlatformTurnoverRate", e.mainWallet = "mainWallet", e.getLanguageSetting = "getLanguageSetting", e.getFourDimensionData = "getfourDimensionData", e.getCompany = "getCompany", e.searchResultDate = "searchResultDate", e.searchHot = "searchHot", e.searchByDate = "searchByDate", e.upcomingMatches = "upcomingMatches", e.deposit = "deposit", e.applyVipBonus = "applyVipBonus", e.getBankCardData = "getBankCardData", e.withdrawalGet = "withdrawalGet", e.withdraw = "withdraw", e.addBankCard = "addBankCard", e.transactionReport = "transactionReport", e.changePassword = "changePassword", e.wallet = "wallet", e.getEventList = "getEventlist", e.getEventToken = "getEventToken", e.getExtraGame = "getExtraGame", e.mailBox = "mailBox", e.slotGameList = "slotGameList", e.getTurnOverRewardData = "getTurnOverRewardData", e.getTurnOverRewardReport = "getTurnOverRewardReport", e.getInviteRewardData = "getInviteRewardData", e.getInviteRewardReport = "getInviteRewardReport", e.getTopupRewardData = "getTopupRewardData", e.getTopupRewardReport = "getTopupRewardReport", e.getRewardReferral = "getRewardReferral", e.submitWithdrawValidate = "submitWithdrawValidate", e.getDepositPromotion = "getDepositPromotion", e.getInviteRewardClaim = "getInviteRewardClaim", e.getTopUpRewardClaim = "getTopupRewardClaim", e.getTurnOverRewardClaim = "getTurnOverRewardClaim", e.getInviteRewardSetting = "getInviteRewardSetting", e.getTopUpRewardSetting = "getTopupRewardSetting", e.getTurnOverRewardSetting = "getTurnOverRewardSetting", e.requestForgetPassword = "requestForgetPassword", e.submitForgetPassword = "submitForgetPassword", e.getImage = "getImage", e.getDepositValidate = "getDepositValidate", e.getTransferCreditValidate = "getTransferCreditValidate", e.getWithdrawValidate = "getWithdrawValidate", e.updateProfilePicture = "updateProfilePicture", e.readMail = "readMail", e.checkRedPacketValidate = "checkRedpacketValidate", e.requestTacCode = "requestTacCode", e.getUsernameByRefer = "getUsernameByRefer", e.applyPromo = "applyPromo", e.applyRedPacket = "applyRedpacket", e.applySignIn = "applySignIn", e.getCountry = "getCountry", e.submitGiftCode = "submitGiftCode", e.playGame = "playGame", e.transferToMain = "transferToMain", e.transferProcess = "transferProcess", e.submitDepositValidate = "submitDepositValidate", e.submitTransferCreditValidate = "submitTransferCreditValidate", e.checkTransferCredit = "checkTransferCredit", e.friendList = "friendList", e.friendListEdit = "friendListEdit", e.getActivePP = "getActivePP", e.getActiveProduct = "getActiveProduct", e.requestWithdrawTac = "requestWithdrawTac", e.requestWithdrawalCode = "requestWithdrawalCode", e.commissionWithdraw = "commissionWithdraw", e.submitWithdrawalCode = "submitWithdrawalCode", e.submitCryptoAccount = "submitCryptoAccount", e.requestTransferMoney = "requestTransferMoney", e.submitTransferMoney = "submitTransferMoney", e.getVerifyPromo = "getVerifyPromo", e.requestUpdateMobileTacCode = "requestUpdateMobileTacCode", e.submitUpdateMobileTacCode = "submitUpdateMobileTacCode", e.signInViewInfo = "signInViewInfo", e.signInRecord = "signInRecord", e.referralProfile = "referralProfile", e.referralMemberProfile = "referralMemberProfile", e.registerAction = "registerAction", e.transferReport = "transferReport", e.agTransferCreditReport = "agTransferCreditReport", e.betReport = "betReport", e.getTwoFactorAuthenticate = "getTwoFactorAuthenticate", e.getUserDeviceList = "getUserDeviceList", e.submitTwoFactorAuthenticate = "submitTwoFactorAuthenticate", e.unbindUserDevice = "unbindUserDevice", e.searchNumberHistory = "searchNumberHistory", e.changeWithdrawalCode = "changeWithdrawalCode", e.checkRedPacketToken = "checkRedPacketToken", e.submitWithdrawalAlipay = "submitWithdrawalAlipay", e.applyReliefFund = "applyReliefFund", e.getReliefFundData = "getReliefFundData", e.getReliefFundReport = "getReliefFundReport", e.getWeekCardData = "getWeekCardData", e.applyWeekCard = "applyWeekCard", e.getWeekCardClaim = "getWeekCardClaim", e.transferSetting = "transfersetting", e.transfer = "transfer", e.getIncentiveData = "getIncentiveData", e.getIncentiveRebate = "getIncentiveRebate", e.claimIncentiveRebate = "claimIncentiveRebate", e.getMissionData = "getMissionData", e.getMissionClaim = "getMissionClaim", e.registerForm = "registerForm", e.getFavouriteGame = "getFavouriteGame", e.updateFavouriteGame = "updateFavouriteGame", e.requestForgetUsername = "requestForgetUsername", e.submitForgetUsername = "submitForgetUsername", e.getAccumulateDepositData = "getAccumulateDepositData", e.getAccumulateDepositClaim = "getAccumulateDepositClaim", e))(s || {});
|
|
118
128
|
const ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -123,7 +133,7 @@ var F = /* @__PURE__ */ ((e) => (e.default = "default", e.pay = "pay", e.auto =
|
|
|
123
133
|
const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
124
134
|
__proto__: null,
|
|
125
135
|
PaymentType: F
|
|
126
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
136
|
+
}, Symbol.toStringTag, { value: "Module" })), Z = {
|
|
127
137
|
depositBank: !1,
|
|
128
138
|
depositDateTime: !1,
|
|
129
139
|
depositDetail: !1,
|
|
@@ -136,7 +146,7 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
136
146
|
type: F.unknown,
|
|
137
147
|
promo: [],
|
|
138
148
|
bank: [],
|
|
139
|
-
requiredField:
|
|
149
|
+
requiredField: Z
|
|
140
150
|
}, Me = (e) => {
|
|
141
151
|
var t;
|
|
142
152
|
return ((t = e.mdPaymentChannels) == null ? void 0 : t.map((a) => {
|
|
@@ -154,8 +164,8 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
154
164
|
), a.paymentmethod.manual.bank.length > 0) {
|
|
155
165
|
let i = !1;
|
|
156
166
|
for (let u = 0; u < a.paymentmethod.manual.bank.length; u++) {
|
|
157
|
-
const
|
|
158
|
-
if (
|
|
167
|
+
const c = a.paymentmethod.manual.bank[u];
|
|
168
|
+
if (c.list && c.list.length > 0) {
|
|
159
169
|
i = !0;
|
|
160
170
|
break;
|
|
161
171
|
}
|
|
@@ -172,7 +182,7 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
172
182
|
paymentList: l
|
|
173
183
|
};
|
|
174
184
|
})) ?? [];
|
|
175
|
-
},
|
|
185
|
+
}, Y = (e) => {
|
|
176
186
|
const t = {
|
|
177
187
|
id: -1,
|
|
178
188
|
name: "excludePromo",
|
|
@@ -190,18 +200,18 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
190
200
|
}, A = (e, t, a, l) => {
|
|
191
201
|
let i, u;
|
|
192
202
|
a > 0 ? i = e > 0 ? Math.max(a, e) : a : i = Math.max(e, 0), l > 0 ? u = t > 0 ? Math.min(l, t) : l : u = Math.max(t, 0);
|
|
193
|
-
const
|
|
203
|
+
const c = Math.round(i);
|
|
194
204
|
let p = 1e3;
|
|
195
205
|
u < p && (p = Math.round(u));
|
|
196
|
-
const y = p -
|
|
206
|
+
const y = p - c;
|
|
197
207
|
let g = "", b = "";
|
|
198
208
|
if (y > 0) {
|
|
199
|
-
let P = Math.round((p -
|
|
209
|
+
let P = Math.round((p - c) * 0.25).toString().split(""), M = [];
|
|
200
210
|
for (const T of P)
|
|
201
211
|
T !== "" && M.push(T);
|
|
202
212
|
for (let T = 0; T < M.length; T++)
|
|
203
213
|
T === 0 ? g += (parseInt(M[T]) + 1).toString() : g += "0";
|
|
204
|
-
P = Math.round((p -
|
|
214
|
+
P = Math.round((p - c) * 0.5).toString().split(""), M = [];
|
|
205
215
|
for (const T of P)
|
|
206
216
|
T !== "" && M.push(T);
|
|
207
217
|
for (let T = 0; T < M.length; T++)
|
|
@@ -209,20 +219,20 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
209
219
|
} else
|
|
210
220
|
g = p.toString(), b = p.toString();
|
|
211
221
|
return { amountList: [
|
|
212
|
-
|
|
222
|
+
c.toString(),
|
|
213
223
|
g,
|
|
214
224
|
b,
|
|
215
225
|
p.toString()
|
|
216
|
-
], minAmount:
|
|
226
|
+
], minAmount: c, maxAmount: u };
|
|
217
227
|
}, ne = (e, t) => t ? {
|
|
218
228
|
id: 0,
|
|
219
229
|
name: "manualMethod",
|
|
220
230
|
type: F.manual,
|
|
221
|
-
promo:
|
|
231
|
+
promo: Y(e.promo),
|
|
222
232
|
bank: e.bank.map((i) => {
|
|
223
|
-
const u = i.list && i.list.length > 0 ? i.list[0].mintransaction ?? "0.00" : "0.00",
|
|
233
|
+
const u = i.list && i.list.length > 0 ? i.list[0].mintransaction ?? "0.00" : "0.00", c = i.list && i.list.length > 0 ? i.list[0].maxtransaction ?? "0.00" : "0.00", { amountList: p, minAmount: y, maxAmount: g } = A(
|
|
224
234
|
Number(u),
|
|
225
|
-
Number(
|
|
235
|
+
Number(c),
|
|
226
236
|
t.mdBankLevelDetail.deposit_min,
|
|
227
237
|
t.mdBankLevelDetail.deposit_max
|
|
228
238
|
);
|
|
@@ -250,15 +260,15 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
250
260
|
id: 0,
|
|
251
261
|
name: "onlineBankingMethod",
|
|
252
262
|
type: F.pay,
|
|
253
|
-
promo:
|
|
263
|
+
promo: Y(e.promo),
|
|
254
264
|
bank: e.banklist.map((i) => {
|
|
255
|
-
let u = "0.00",
|
|
265
|
+
let u = "0.00", c = "0.00";
|
|
256
266
|
const p = i.bankindex ?? 0;
|
|
257
267
|
for (let P = 0; P < t.mdGatewayMinMax.length; P++)
|
|
258
|
-
t.mdGatewayMinMax[P].bankindex == p.toString() && (u = t.mdGatewayMinMax[P].min,
|
|
268
|
+
t.mdGatewayMinMax[P].bankindex == p.toString() && (u = t.mdGatewayMinMax[P].min, c = t.mdGatewayMinMax[P].max);
|
|
259
269
|
const { amountList: y, minAmount: g, maxAmount: b } = A(
|
|
260
270
|
Number(u),
|
|
261
|
-
Number(
|
|
271
|
+
Number(c),
|
|
262
272
|
t.mdBankLevelDetail.onlinepayment_min,
|
|
263
273
|
t.mdBankLevelDetail.onlinepayment_max
|
|
264
274
|
), S = {
|
|
@@ -291,7 +301,7 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
291
301
|
gateway: [S, ...h]
|
|
292
302
|
};
|
|
293
303
|
}),
|
|
294
|
-
requiredField:
|
|
304
|
+
requiredField: Z
|
|
295
305
|
} : te, je = (e, t, a) => {
|
|
296
306
|
if (!a) return te;
|
|
297
307
|
const l = F.auto;
|
|
@@ -335,9 +345,9 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
335
345
|
id: e,
|
|
336
346
|
name: "autoMethod",
|
|
337
347
|
type: l,
|
|
338
|
-
promo:
|
|
348
|
+
promo: Y(t.promo),
|
|
339
349
|
bank: i,
|
|
340
|
-
requiredField:
|
|
350
|
+
requiredField: Z
|
|
341
351
|
};
|
|
342
352
|
}, xe = (e, t) => {
|
|
343
353
|
const a = F.fix;
|
|
@@ -345,7 +355,7 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
345
355
|
id: e,
|
|
346
356
|
name: "fixAmountMethod",
|
|
347
357
|
type: a,
|
|
348
|
-
promo:
|
|
358
|
+
promo: Y(t.promo),
|
|
349
359
|
bank: t.bank.map((i) => {
|
|
350
360
|
const u = i.amtlist.map(Number).sort((p, y) => p - y);
|
|
351
361
|
return {
|
|
@@ -356,7 +366,7 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
356
366
|
max: u.length > 0 ? u[u.length - 1] : 0
|
|
357
367
|
};
|
|
358
368
|
}),
|
|
359
|
-
requiredField:
|
|
369
|
+
requiredField: Z
|
|
360
370
|
};
|
|
361
371
|
}, Ce = (e) => (e == null ? void 0 : e.map((t) => ({
|
|
362
372
|
alert: t.announcement_alert === "1",
|
|
@@ -370,7 +380,7 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
370
380
|
phoneNumber: e.mdUserDetail.mobileno ?? "",
|
|
371
381
|
profilePicUrl: e.mdUserDetail.profile_pic
|
|
372
382
|
}), Fe = (e) => {
|
|
373
|
-
var t, a, l, i, u,
|
|
383
|
+
var t, a, l, i, u, c, p, y, g;
|
|
374
384
|
return {
|
|
375
385
|
platformGame: ((t = e.mdGameListResult) == null ? void 0 : t.map((b) => {
|
|
376
386
|
var S, h;
|
|
@@ -415,7 +425,7 @@ const Oe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
415
425
|
}))) ?? []
|
|
416
426
|
} : {},
|
|
417
427
|
platformGameList: Ge(e.mdGameLists.data) ? {
|
|
418
|
-
currentPage: ((
|
|
428
|
+
currentPage: ((c = e.mdGameLists) == null ? void 0 : c.current_page) ?? 1,
|
|
419
429
|
lastPage: ((p = e.mdGameLists) == null ? void 0 : p.last_page) ?? 1,
|
|
420
430
|
data: ((g = (y = e.mdGameLists) == null ? void 0 : y.data) == null ? void 0 : g.map((b) => ({
|
|
421
431
|
gameId: Number(b.id),
|
|
@@ -447,7 +457,7 @@ function Ge(e) {
|
|
|
447
457
|
}
|
|
448
458
|
const ze = (e) => ({
|
|
449
459
|
list: e.mdGrade.map((t) => {
|
|
450
|
-
var a, l, i, u,
|
|
460
|
+
var a, l, i, u, c, p, y, g, b, S, h, m, P, M, G, z, T, j, U, q, E, W, K, $, Q, H, J, n, d, v, r, o;
|
|
451
461
|
return {
|
|
452
462
|
id: t.gradeindex,
|
|
453
463
|
is_current_level: !1,
|
|
@@ -475,7 +485,7 @@ const ze = (e) => ({
|
|
|
475
485
|
daily: {
|
|
476
486
|
bonus: parseFloat(((l = (a = t.benefit) == null ? void 0 : a.daily) == null ? void 0 : l.bonus) ?? "0.00").toFixed(2),
|
|
477
487
|
bonus_name: ((u = (i = t.benefit) == null ? void 0 : i.daily) == null ? void 0 : u.bonus_name) ?? "",
|
|
478
|
-
turnover: parseFloat(((p = (
|
|
488
|
+
turnover: parseFloat(((p = (c = t.benefit) == null ? void 0 : c.daily) == null ? void 0 : p.turnover) ?? "0.00").toFixed(2),
|
|
479
489
|
turnover_name: ((g = (y = t.benefit) == null ? void 0 : y.daily) == null ? void 0 : g.turnover_name) ?? ""
|
|
480
490
|
},
|
|
481
491
|
monthly: {
|
|
@@ -486,14 +496,14 @@ const ze = (e) => ({
|
|
|
486
496
|
},
|
|
487
497
|
weekly: {
|
|
488
498
|
bonus: parseFloat(((j = (T = t.benefit) == null ? void 0 : T.weekly) == null ? void 0 : j.bonus) ?? "0.00").toFixed(2),
|
|
489
|
-
bonus_name: ((q = (
|
|
499
|
+
bonus_name: ((q = (U = t.benefit) == null ? void 0 : U.weekly) == null ? void 0 : q.bonus_name) ?? "",
|
|
490
500
|
turnover: parseFloat(((W = (E = t.benefit) == null ? void 0 : E.weekly) == null ? void 0 : W.turnover) ?? "0.00").toFixed(2),
|
|
491
501
|
turnover_name: (($ = (K = t.benefit) == null ? void 0 : K.weekly) == null ? void 0 : $.turnover_name) ?? ""
|
|
492
502
|
},
|
|
493
503
|
upgrade: {
|
|
494
504
|
bonus: parseFloat(((H = (Q = t.benefit) == null ? void 0 : Q.upgrade) == null ? void 0 : H.bonus) ?? "0.00").toFixed(2),
|
|
495
505
|
bonus_name: ((n = (J = t.benefit) == null ? void 0 : J.upgrade) == null ? void 0 : n.bonus_name) ?? "",
|
|
496
|
-
turnover: parseFloat(((v = (
|
|
506
|
+
turnover: parseFloat(((v = (d = t.benefit) == null ? void 0 : d.upgrade) == null ? void 0 : v.turnover) ?? "0.00").toFixed(2),
|
|
497
507
|
turnover_name: ((o = (r = t.benefit) == null ? void 0 : r.upgrade) == null ? void 0 : o.turnover_name) ?? ""
|
|
498
508
|
}
|
|
499
509
|
}
|
|
@@ -554,10 +564,10 @@ const ze = (e) => ({
|
|
|
554
564
|
day: {
|
|
555
565
|
isClaimable: e.day === 1
|
|
556
566
|
}
|
|
557
|
-
}),
|
|
567
|
+
}), Ue = (e) => e.mdVipSetting.filter((a) => a.status == 1).map((a) => ({
|
|
558
568
|
fieldName: a.fieldname,
|
|
559
569
|
showName: a.showname
|
|
560
|
-
})),
|
|
570
|
+
})), Be = (e) => ({
|
|
561
571
|
current_deposit: e.deposit,
|
|
562
572
|
current_turnover: e.turnOver,
|
|
563
573
|
current_grade_id: e.mdCurrentGrade ? e.mdCurrentGrade.gradeindex : 0,
|
|
@@ -572,10 +582,10 @@ const ze = (e) => ({
|
|
|
572
582
|
vipCalculation: t,
|
|
573
583
|
livechat: e.livechat ?? "",
|
|
574
584
|
livechatList: a.filter((u) => u.status == 1).map((u) => {
|
|
575
|
-
let
|
|
576
|
-
return
|
|
585
|
+
let c = u.imgname;
|
|
586
|
+
return c.slice(-4) === ".png" && (c = u.imgname.slice(0, -4)), {
|
|
577
587
|
name: u.name,
|
|
578
|
-
imageUrl: `/image/game/native/customer_service/${
|
|
588
|
+
imageUrl: `/image/game/native/customer_service/${c}.png`,
|
|
579
589
|
url: u.url,
|
|
580
590
|
status: u.status == 1
|
|
581
591
|
};
|
|
@@ -641,17 +651,17 @@ const ze = (e) => ({
|
|
|
641
651
|
name: a.company_name,
|
|
642
652
|
date: []
|
|
643
653
|
}))) ?? [];
|
|
644
|
-
},
|
|
654
|
+
}, Ze = (e) => {
|
|
645
655
|
var t;
|
|
646
656
|
return ((t = e.data) == null ? void 0 : t.map((a) => {
|
|
647
657
|
var l;
|
|
648
658
|
return {
|
|
649
659
|
id: a.key,
|
|
650
|
-
date: ((l = a.draw_date) == null ? void 0 : l.map((i) =>
|
|
660
|
+
date: ((l = a.draw_date) == null ? void 0 : l.map((i) => Ye(i.draw_tmactive))) ?? []
|
|
651
661
|
};
|
|
652
662
|
})) ?? [];
|
|
653
663
|
};
|
|
654
|
-
function
|
|
664
|
+
function Ye(e) {
|
|
655
665
|
const t = new Date(e * 1e3), a = t.getFullYear(), l = ("0" + (t.getMonth() + 1)).slice(-2), i = ("0" + t.getDate()).slice(-2);
|
|
656
666
|
return `${a}-${l}-${i}`;
|
|
657
667
|
}
|
|
@@ -676,7 +686,7 @@ const Ke = (e) => {
|
|
|
676
686
|
(m) => m.combination_dimension == 4 && m.combination_position === 1
|
|
677
687
|
).map((m) => m.combination_combination), u = a.results.filter(
|
|
678
688
|
(m) => m.combination_dimension === 4 && m.combination_position === 2
|
|
679
|
-
).map((m) => m.combination_combination),
|
|
689
|
+
).map((m) => m.combination_combination), c = a.results.filter(
|
|
680
690
|
(m) => m.combination_dimension === 4 && m.combination_position === 3
|
|
681
691
|
).map((m) => m.combination_combination), p = a.results.filter(
|
|
682
692
|
(m) => m.combination_dimension === 4 && m.combination_position === 4
|
|
@@ -693,7 +703,7 @@ const Ke = (e) => {
|
|
|
693
703
|
dimension_4: {
|
|
694
704
|
prize_1: i,
|
|
695
705
|
prize_2: u,
|
|
696
|
-
prize_3:
|
|
706
|
+
prize_3: c,
|
|
697
707
|
prize_4: p,
|
|
698
708
|
prize_5: y
|
|
699
709
|
},
|
|
@@ -741,50 +751,50 @@ const Ke = (e) => {
|
|
|
741
751
|
}), at = (e) => R(e), nt = (e) => {
|
|
742
752
|
var t, a, l, i, u;
|
|
743
753
|
return {
|
|
744
|
-
bankCard: ((t = e.bankCard) == null ? void 0 : t.map((
|
|
754
|
+
bankCard: ((t = e.bankCard) == null ? void 0 : t.map((c) => {
|
|
745
755
|
var p, y;
|
|
746
756
|
return {
|
|
747
|
-
bankIndex:
|
|
757
|
+
bankIndex: c.bankindex,
|
|
748
758
|
bankProvince: {
|
|
749
|
-
id:
|
|
759
|
+
id: c.bankprovince,
|
|
750
760
|
desc: ((y = (p = e.province) == null ? void 0 : p.find(
|
|
751
|
-
(g) => g.provinceindex ==
|
|
761
|
+
(g) => g.provinceindex == c.bankprovince
|
|
752
762
|
)) == null ? void 0 : y.label) ?? ""
|
|
753
763
|
},
|
|
754
|
-
bankName:
|
|
755
|
-
bankAccountNo:
|
|
756
|
-
bankUrl:
|
|
757
|
-
imgUrl:
|
|
758
|
-
countryIndex:
|
|
764
|
+
bankName: c.banknamesimplified,
|
|
765
|
+
bankAccountNo: c.bankaccountno,
|
|
766
|
+
bankUrl: c.bankaddress ?? "",
|
|
767
|
+
imgUrl: c.img,
|
|
768
|
+
countryIndex: c.countryindex
|
|
759
769
|
};
|
|
760
770
|
})) ?? [],
|
|
761
|
-
bankList: ((a = e.bankList) == null ? void 0 : a.map((
|
|
762
|
-
bankIndex:
|
|
763
|
-
bankType:
|
|
764
|
-
bankName:
|
|
765
|
-
bankUrl:
|
|
766
|
-
swiftCode:
|
|
767
|
-
showBind:
|
|
768
|
-
showDeposit:
|
|
769
|
-
countryIndex:
|
|
771
|
+
bankList: ((a = e.bankList) == null ? void 0 : a.map((c) => ({
|
|
772
|
+
bankIndex: c.bankindex,
|
|
773
|
+
bankType: c.bank_type,
|
|
774
|
+
bankName: c.banknamesimplified,
|
|
775
|
+
bankUrl: c.address ?? "",
|
|
776
|
+
swiftCode: c.swiftcode,
|
|
777
|
+
showBind: c.show_bind === "1",
|
|
778
|
+
showDeposit: c.show_deposit === "1",
|
|
779
|
+
countryIndex: c.countryindex
|
|
770
780
|
}))) ?? [],
|
|
771
|
-
province: ((l = e.province) == null ? void 0 : l.map((
|
|
772
|
-
index:
|
|
773
|
-
label:
|
|
774
|
-
countryIndex:
|
|
781
|
+
province: ((l = e.province) == null ? void 0 : l.map((c) => ({
|
|
782
|
+
index: c.provinceindex,
|
|
783
|
+
label: c.label,
|
|
784
|
+
countryIndex: c.countryindex
|
|
775
785
|
}))) ?? [],
|
|
776
|
-
cryptoAccount: ((i = e.mdAccountCrypto) == null ? void 0 : i.map((
|
|
777
|
-
id:
|
|
778
|
-
type:
|
|
779
|
-
name:
|
|
780
|
-
address:
|
|
786
|
+
cryptoAccount: ((i = e.mdAccountCrypto) == null ? void 0 : i.map((c) => ({
|
|
787
|
+
id: c.crypto_id,
|
|
788
|
+
type: c.type,
|
|
789
|
+
name: c.crypto_name,
|
|
790
|
+
address: c.address
|
|
781
791
|
}))) ?? [],
|
|
782
792
|
cryptoDetail: {
|
|
783
793
|
limit: e.mdCryptoDetail.cryptolimit,
|
|
784
|
-
protocol: ((u = e.mdCryptoDetail.cryptoprotocol) == null ? void 0 : u.map((
|
|
785
|
-
id:
|
|
786
|
-
name:
|
|
787
|
-
status:
|
|
794
|
+
protocol: ((u = e.mdCryptoDetail.cryptoprotocol) == null ? void 0 : u.map((c) => ({
|
|
795
|
+
id: c.id,
|
|
796
|
+
name: c.name,
|
|
797
|
+
status: c.status == "1"
|
|
788
798
|
}))) ?? []
|
|
789
799
|
},
|
|
790
800
|
alipayData: e.subWithdrawalAlipayData,
|
|
@@ -804,7 +814,7 @@ const Ke = (e) => {
|
|
|
804
814
|
withdrawMaxFee: Number(e.withdrawMaxFee),
|
|
805
815
|
withdrawCount: e.withdrawCount
|
|
806
816
|
}), rt = (e) => R(e), st = (e) => {
|
|
807
|
-
var t, a, l, i, u,
|
|
817
|
+
var t, a, l, i, u, c;
|
|
808
818
|
return {
|
|
809
819
|
statusMode: ((t = e.subStatusModes) == null ? void 0 : t.map((p) => ({
|
|
810
820
|
key: p.key,
|
|
@@ -817,7 +827,7 @@ const Ke = (e) => {
|
|
|
817
827
|
data: {
|
|
818
828
|
currentPage: ((l = e.mdCashLedgers) == null ? void 0 : l.current_page) ?? 0,
|
|
819
829
|
lastPage: ((i = e.mdCashLedgers) == null ? void 0 : i.last_page) ?? 0,
|
|
820
|
-
data: ((
|
|
830
|
+
data: ((c = (u = e.mdCashLedgers) == null ? void 0 : u.data) == null ? void 0 : c.map((p) => {
|
|
821
831
|
var y, g;
|
|
822
832
|
return {
|
|
823
833
|
transactionIndex: p.ledgerindex,
|
|
@@ -884,7 +894,7 @@ const Ke = (e) => {
|
|
|
884
894
|
com: t.com ?? "",
|
|
885
895
|
maintenance: t.maintenance ?? !1
|
|
886
896
|
};
|
|
887
|
-
})) ?? [],
|
|
897
|
+
})) ?? [], ct = (e) => ({
|
|
888
898
|
status: e.status == 1,
|
|
889
899
|
message: e.message ?? "",
|
|
890
900
|
data: e.data.map((t) => ({
|
|
@@ -894,7 +904,7 @@ const Ke = (e) => {
|
|
|
894
904
|
imageUrl: t.image_url,
|
|
895
905
|
getToken: t.getToken === 1
|
|
896
906
|
}))
|
|
897
|
-
}),
|
|
907
|
+
}), dt = (e) => {
|
|
898
908
|
var t;
|
|
899
909
|
return {
|
|
900
910
|
status: e.status == 1,
|
|
@@ -967,7 +977,7 @@ const Ke = (e) => {
|
|
|
967
977
|
name: u.firstname,
|
|
968
978
|
cashback: u.turnover,
|
|
969
979
|
commission: u.income
|
|
970
|
-
})), l = e.data.reduce((u,
|
|
980
|
+
})), l = e.data.reduce((u, c) => u + parseFloat(c.income), 0), i = t.size;
|
|
971
981
|
return {
|
|
972
982
|
totalReward: l,
|
|
973
983
|
totalCount: i,
|
|
@@ -995,7 +1005,7 @@ const Ke = (e) => {
|
|
|
995
1005
|
deposit: u.deposit,
|
|
996
1006
|
activeBet: u.activebet,
|
|
997
1007
|
commission: u.reward
|
|
998
|
-
})), l = e.data.reduce((u,
|
|
1008
|
+
})), l = e.data.reduce((u, c) => u + parseFloat(c.reward), 0), i = t.size;
|
|
999
1009
|
return {
|
|
1000
1010
|
totalReward: l,
|
|
1001
1011
|
totalCount: i,
|
|
@@ -1021,7 +1031,7 @@ const Ke = (e) => {
|
|
|
1021
1031
|
name: u.firstname,
|
|
1022
1032
|
total: u.deposit,
|
|
1023
1033
|
commission: u.reward
|
|
1024
|
-
})), l = e.data.reduce((u,
|
|
1034
|
+
})), l = e.data.reduce((u, c) => u + parseFloat(c.reward), 0), i = t.size;
|
|
1025
1035
|
return {
|
|
1026
1036
|
totalReward: l,
|
|
1027
1037
|
totalCount: i,
|
|
@@ -1069,15 +1079,15 @@ const Ke = (e) => {
|
|
|
1069
1079
|
expiryTime: g.etime
|
|
1070
1080
|
};
|
|
1071
1081
|
});
|
|
1072
|
-
let u = 0,
|
|
1073
|
-
const p = i.map((g) => (u = Math.max(u, g.percentage), new Date(g.expiryTime) < new Date(
|
|
1082
|
+
let u = 0, c = ((y = i[0]) == null ? void 0 : y.expiryTime) || "";
|
|
1083
|
+
const p = i.map((g) => (u = Math.max(u, g.percentage), new Date(g.expiryTime) < new Date(c) && (c = g.expiryTime), {
|
|
1074
1084
|
name: g.name,
|
|
1075
1085
|
depositAmount: g.depositAmount,
|
|
1076
1086
|
promoAmount: g.promoAmount
|
|
1077
1087
|
}));
|
|
1078
1088
|
return a = {
|
|
1079
1089
|
percentage: u,
|
|
1080
|
-
expiryTime:
|
|
1090
|
+
expiryTime: c,
|
|
1081
1091
|
list: p
|
|
1082
1092
|
}, { welcomeBonus: t, dailyBonus: a };
|
|
1083
1093
|
}, Pt = (e) => ({
|
|
@@ -1107,11 +1117,11 @@ const Ke = (e) => {
|
|
|
1107
1117
|
t[a] = [];
|
|
1108
1118
|
for (let i = 0; i < l.length; i++) {
|
|
1109
1119
|
const u = l[i];
|
|
1110
|
-
let
|
|
1111
|
-
l.length > i + 1 && (
|
|
1120
|
+
let c = "";
|
|
1121
|
+
l.length > i + 1 && (c = (Number(l[i + 1].achievement) - 1).toString()), t[a].push({
|
|
1112
1122
|
rate: u.rate,
|
|
1113
1123
|
minValue: u.achievement.toString(),
|
|
1114
|
-
maxValue:
|
|
1124
|
+
maxValue: c
|
|
1115
1125
|
});
|
|
1116
1126
|
}
|
|
1117
1127
|
}
|
|
@@ -1126,11 +1136,11 @@ const Ke = (e) => {
|
|
|
1126
1136
|
t[a] = [];
|
|
1127
1137
|
for (let i = 0; i < l.length; i++) {
|
|
1128
1138
|
const u = l[i];
|
|
1129
|
-
let
|
|
1130
|
-
l.length > i + 1 && (
|
|
1139
|
+
let c = "";
|
|
1140
|
+
l.length > i + 1 && (c = (Number(l[i + 1].achievement) - 1).toString()), t[a].push({
|
|
1131
1141
|
rate: u.rate,
|
|
1132
1142
|
minValue: u.achievement,
|
|
1133
|
-
maxValue:
|
|
1143
|
+
maxValue: c
|
|
1134
1144
|
});
|
|
1135
1145
|
}
|
|
1136
1146
|
}
|
|
@@ -1174,11 +1184,11 @@ const Ke = (e) => {
|
|
|
1174
1184
|
status: e.status == 1,
|
|
1175
1185
|
message: e.message,
|
|
1176
1186
|
user: e.user ?? ""
|
|
1177
|
-
}),
|
|
1187
|
+
}), Ut = (e) => ({
|
|
1178
1188
|
status: e.status == 1,
|
|
1179
1189
|
message: e.msg ?? "",
|
|
1180
1190
|
amount: e.amount ?? ""
|
|
1181
|
-
}),
|
|
1191
|
+
}), Bt = (e) => R(e), qt = (e) => {
|
|
1182
1192
|
var t;
|
|
1183
1193
|
return {
|
|
1184
1194
|
status: e.status == 1,
|
|
@@ -1215,7 +1225,7 @@ const Ke = (e) => {
|
|
|
1215
1225
|
}), Et = (e) => R(e), At = (e) => R(e), ee = (e) => ({
|
|
1216
1226
|
status: e.status == 1,
|
|
1217
1227
|
message: e.errormessage ?? ""
|
|
1218
|
-
}), Ht = (e) => R(e), Jt = (e) => e,
|
|
1228
|
+
}), Ht = (e) => R(e), Jt = (e) => e, Zt = (e) => R(e), Yt = (e) => {
|
|
1219
1229
|
var t;
|
|
1220
1230
|
return {
|
|
1221
1231
|
platformProduct: ((t = e.mdPlatformProduct) == null ? void 0 : t.map((a) => ({
|
|
@@ -1265,7 +1275,7 @@ const Ke = (e) => {
|
|
|
1265
1275
|
signedToday: e.todayIsSign === 1,
|
|
1266
1276
|
dayStreak: e.continuousDay,
|
|
1267
1277
|
canSignToday: e.canSign === 1
|
|
1268
|
-
}),
|
|
1278
|
+
}), ca = (e) => ({
|
|
1269
1279
|
status: e.status == 1,
|
|
1270
1280
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
1271
1281
|
fullName: e.fullname,
|
|
@@ -1301,7 +1311,7 @@ const Ke = (e) => {
|
|
|
1301
1311
|
commission: a.commission
|
|
1302
1312
|
}))
|
|
1303
1313
|
}))
|
|
1304
|
-
}),
|
|
1314
|
+
}), da = (e) => ({
|
|
1305
1315
|
status: e.status == 1,
|
|
1306
1316
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
1307
1317
|
id: e.id ?? 0,
|
|
@@ -1345,7 +1355,7 @@ const Ke = (e) => {
|
|
|
1345
1355
|
}))) ?? []
|
|
1346
1356
|
};
|
|
1347
1357
|
}, ba = (e) => {
|
|
1348
|
-
var t, a, l, i, u,
|
|
1358
|
+
var t, a, l, i, u, c, p, y, g, b, S;
|
|
1349
1359
|
return {
|
|
1350
1360
|
status: e.status == 1,
|
|
1351
1361
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
@@ -1361,7 +1371,7 @@ const Ke = (e) => {
|
|
|
1361
1371
|
validBet: "0.00",
|
|
1362
1372
|
payout: "0.00"
|
|
1363
1373
|
},
|
|
1364
|
-
data: ((p = (
|
|
1374
|
+
data: ((p = (c = e.data) == null ? void 0 : c.sum) == null ? void 0 : p.map((h) => ({
|
|
1365
1375
|
bet: Number(h.bet).toFixed(2),
|
|
1366
1376
|
activeBet: Number(h.activebet).toFixed(2),
|
|
1367
1377
|
payout: Number(h.payout).toFixed(2),
|
|
@@ -1591,10 +1601,10 @@ const za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1591
1601
|
}, wa = (e) => {
|
|
1592
1602
|
const t = (/* @__PURE__ */ new Date()).getTime(), a = new Date(e).getTime();
|
|
1593
1603
|
return Math.max(0, a - t);
|
|
1594
|
-
},
|
|
1604
|
+
}, Ua = (e) => ({
|
|
1595
1605
|
status: e.status,
|
|
1596
1606
|
message: e.msg ?? ""
|
|
1597
|
-
}),
|
|
1607
|
+
}), Ba = (e) => ({
|
|
1598
1608
|
status: e.status == 1,
|
|
1599
1609
|
socialLogin: e.social_login == 1,
|
|
1600
1610
|
errorMessage: e.erorrmessage ?? "",
|
|
@@ -1624,10 +1634,10 @@ const za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1624
1634
|
rate: "0.00"
|
|
1625
1635
|
})) ?? [] : []
|
|
1626
1636
|
}), Wa = (e) => R(e), $a = (e) => R(e), Va = (e) => R(e);
|
|
1627
|
-
var
|
|
1637
|
+
var B = /* @__PURE__ */ ((e) => (e.inProgress = "inProgress", e.collectable = "collectable", e.collected = "collected", e))(B || {});
|
|
1628
1638
|
const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1629
1639
|
__proto__: null,
|
|
1630
|
-
AccumulateDepositStatus:
|
|
1640
|
+
AccumulateDepositStatus: B
|
|
1631
1641
|
}, Symbol.toStringTag, { value: "Module" })), Aa = (e) => {
|
|
1632
1642
|
if (e.status == 0)
|
|
1633
1643
|
return {
|
|
@@ -1640,8 +1650,8 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1640
1650
|
const a = e.data.achieve ?? 0, l = e.data.achieve ?? 0, i = a / l * 100;
|
|
1641
1651
|
t = {
|
|
1642
1652
|
buttonStatus: e.data.tier.filter(
|
|
1643
|
-
(
|
|
1644
|
-
).length > 0 ?
|
|
1653
|
+
(c) => c.claimable == "1" && c.collected != "1"
|
|
1654
|
+
).length > 0 ? B.collectable : B.collected,
|
|
1645
1655
|
dateFrom: e.data.datefrom,
|
|
1646
1656
|
dateTo: e.data.dateto,
|
|
1647
1657
|
progress: {
|
|
@@ -1649,10 +1659,10 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1649
1659
|
total: l,
|
|
1650
1660
|
currentPercentage: i
|
|
1651
1661
|
},
|
|
1652
|
-
list: e.data.tier.map((
|
|
1653
|
-
total:
|
|
1654
|
-
reward: Number(
|
|
1655
|
-
status:
|
|
1662
|
+
list: e.data.tier.map((c) => ({
|
|
1663
|
+
total: c.requirement,
|
|
1664
|
+
reward: Number(c.reward),
|
|
1665
|
+
status: c.claimable != "1" ? B.inProgress : c.collected == "1" ? B.collected : B.collectable
|
|
1656
1666
|
}))
|
|
1657
1667
|
};
|
|
1658
1668
|
}
|
|
@@ -1665,9 +1675,9 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1665
1675
|
status: e.status == 1,
|
|
1666
1676
|
message: e.msg ?? ""
|
|
1667
1677
|
}), Ja = async (e) => {
|
|
1668
|
-
var t, a, l, i, u,
|
|
1678
|
+
var t, a, l, i, u, c, p, y, g, b, S, h, m, P, M, G, z;
|
|
1669
1679
|
try {
|
|
1670
|
-
e.findIndex((
|
|
1680
|
+
e.findIndex((d) => d.name === s.vipList) !== -1 && e.push(
|
|
1671
1681
|
{
|
|
1672
1682
|
name: s.vipBonus,
|
|
1673
1683
|
query: ""
|
|
@@ -1680,53 +1690,53 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1680
1690
|
}
|
|
1681
1691
|
);
|
|
1682
1692
|
const j = e.findIndex(
|
|
1683
|
-
(
|
|
1693
|
+
(d) => d.name === s.getFavouriteGame
|
|
1684
1694
|
);
|
|
1685
1695
|
j !== -1 && (JSON.parse(e[j].query).pid || e.push({
|
|
1686
1696
|
name: s.getPlatformTurnoverRate,
|
|
1687
1697
|
query: ""
|
|
1688
1698
|
}));
|
|
1689
|
-
const
|
|
1690
|
-
|
|
1699
|
+
const U = e.findIndex((d) => d.name === s.fishGameList);
|
|
1700
|
+
U !== -1 && (JSON.parse(e[U].query).pid || e.push({
|
|
1691
1701
|
name: s.getPlatformTurnoverRate,
|
|
1692
1702
|
query: ""
|
|
1693
1703
|
}));
|
|
1694
|
-
const q = e.findIndex((
|
|
1704
|
+
const q = e.findIndex((d) => d.name === s.gameList);
|
|
1695
1705
|
q !== -1 && (JSON.parse(e[q].query).pid || e.push({
|
|
1696
1706
|
name: s.getPlatformTurnoverRate,
|
|
1697
1707
|
query: ""
|
|
1698
1708
|
}));
|
|
1699
|
-
const E = e.findIndex((
|
|
1709
|
+
const E = e.findIndex((d) => d.name === s.searchHot);
|
|
1700
1710
|
if (E !== -1) {
|
|
1701
|
-
let
|
|
1711
|
+
let d = {};
|
|
1702
1712
|
e.forEach((v) => {
|
|
1703
|
-
|
|
1713
|
+
d = v.query;
|
|
1704
1714
|
}), e.splice(E), e.push({
|
|
1705
1715
|
name: s.getFourDimensionData,
|
|
1706
|
-
query: String(
|
|
1716
|
+
query: String(d)
|
|
1707
1717
|
});
|
|
1708
1718
|
}
|
|
1709
|
-
const W = e.findIndex((
|
|
1719
|
+
const W = e.findIndex((d) => d.name === s.searchNumberHistory);
|
|
1710
1720
|
if (W !== -1) {
|
|
1711
|
-
let
|
|
1721
|
+
let d = {};
|
|
1712
1722
|
e.forEach((v) => {
|
|
1713
|
-
|
|
1723
|
+
d = v.query;
|
|
1714
1724
|
}), e.splice(W), e.push({
|
|
1715
1725
|
name: s.getFourDimensionData,
|
|
1716
|
-
query: String(
|
|
1726
|
+
query: String(d)
|
|
1717
1727
|
});
|
|
1718
1728
|
}
|
|
1719
|
-
if (e.findIndex((
|
|
1720
|
-
let
|
|
1729
|
+
if (e.findIndex((d) => d.name === s.searchByDate) !== -1) {
|
|
1730
|
+
let d = {};
|
|
1721
1731
|
e.forEach((v) => {
|
|
1722
|
-
|
|
1732
|
+
d = v.query;
|
|
1723
1733
|
}), e.splice(W), e.push({
|
|
1724
1734
|
name: s.getFourDimensionData,
|
|
1725
|
-
query: String(
|
|
1735
|
+
query: String(d)
|
|
1726
1736
|
});
|
|
1727
1737
|
}
|
|
1728
1738
|
const $ = e.findIndex(
|
|
1729
|
-
(
|
|
1739
|
+
(d) => d.name === s.getFourDimensionData
|
|
1730
1740
|
);
|
|
1731
1741
|
$ !== -1 && e[$].query == "" && (e.splice($), e.push(
|
|
1732
1742
|
{
|
|
@@ -1745,9 +1755,9 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1745
1755
|
}
|
|
1746
1756
|
));
|
|
1747
1757
|
const H = {
|
|
1748
|
-
requests: e.map((
|
|
1749
|
-
name:
|
|
1750
|
-
query: btoa(
|
|
1758
|
+
requests: e.map((d) => ({
|
|
1759
|
+
name: d.name,
|
|
1760
|
+
query: btoa(d.query)
|
|
1751
1761
|
}))
|
|
1752
1762
|
}, J = await L.post(
|
|
1753
1763
|
"/graph/jwt",
|
|
@@ -1757,9 +1767,9 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1757
1767
|
message: "",
|
|
1758
1768
|
result: {}
|
|
1759
1769
|
};
|
|
1760
|
-
for (const
|
|
1761
|
-
|
|
1762
|
-
const v =
|
|
1770
|
+
for (const d of J.data.responses) {
|
|
1771
|
+
d.error != null && d.error.code != 200 && (n.status = d.error.code, n.message = d.error.message);
|
|
1772
|
+
const v = d.attributes !== null && d.attributes !== void 0 ? ye(d.attributes) : null, r = d.name, o = v ? JSON.parse(v) : null;
|
|
1763
1773
|
if (console.log(r), console.log(o), !o)
|
|
1764
1774
|
console.log("Not data received"), n.result[r] = null;
|
|
1765
1775
|
else
|
|
@@ -1788,10 +1798,10 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1788
1798
|
n.result[r] = we(o);
|
|
1789
1799
|
break;
|
|
1790
1800
|
case s.vipFieldStatus:
|
|
1791
|
-
n.result[r] =
|
|
1801
|
+
n.result[r] = Ue(o);
|
|
1792
1802
|
break;
|
|
1793
1803
|
case s.vipStatus:
|
|
1794
|
-
n.result[r] =
|
|
1804
|
+
n.result[r] = Be(o);
|
|
1795
1805
|
break;
|
|
1796
1806
|
case s.promotion:
|
|
1797
1807
|
n.result[r] = Ne(o);
|
|
@@ -1826,7 +1836,7 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1826
1836
|
n.result[r] = Je(o);
|
|
1827
1837
|
break;
|
|
1828
1838
|
case s.searchResultDate:
|
|
1829
|
-
n.result[r] =
|
|
1839
|
+
n.result[r] = Ze(
|
|
1830
1840
|
o
|
|
1831
1841
|
);
|
|
1832
1842
|
break;
|
|
@@ -1873,10 +1883,10 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
1873
1883
|
n.result[r] = ut(o);
|
|
1874
1884
|
break;
|
|
1875
1885
|
case s.getEventList:
|
|
1876
|
-
n.result[r] =
|
|
1886
|
+
n.result[r] = ct(o);
|
|
1877
1887
|
break;
|
|
1878
1888
|
case s.getEventToken:
|
|
1879
|
-
n.result[r] =
|
|
1889
|
+
n.result[r] = dt(o);
|
|
1880
1890
|
break;
|
|
1881
1891
|
case s.getExtraGame:
|
|
1882
1892
|
n.result[r] = mt(o);
|
|
@@ -2007,10 +2017,10 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2007
2017
|
);
|
|
2008
2018
|
break;
|
|
2009
2019
|
case s.applyPromo:
|
|
2010
|
-
n.result[r] =
|
|
2020
|
+
n.result[r] = Ut(o);
|
|
2011
2021
|
break;
|
|
2012
2022
|
case s.applyRedPacket:
|
|
2013
|
-
n.result[r] =
|
|
2023
|
+
n.result[r] = Bt(o);
|
|
2014
2024
|
break;
|
|
2015
2025
|
case s.applySignIn:
|
|
2016
2026
|
n.result[r] = qt(o);
|
|
@@ -2047,10 +2057,10 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2047
2057
|
n.result[r] = Jt(o);
|
|
2048
2058
|
break;
|
|
2049
2059
|
case s.friendListEdit:
|
|
2050
|
-
n.result[r] =
|
|
2060
|
+
n.result[r] = Zt(o);
|
|
2051
2061
|
break;
|
|
2052
2062
|
case s.getActivePP:
|
|
2053
|
-
n.result[r] =
|
|
2063
|
+
n.result[r] = Yt(o);
|
|
2054
2064
|
break;
|
|
2055
2065
|
case s.getActiveProduct:
|
|
2056
2066
|
n.result[r] = Kt(
|
|
@@ -2112,12 +2122,12 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2112
2122
|
n.result[r] = ua(o);
|
|
2113
2123
|
break;
|
|
2114
2124
|
case s.referralProfile:
|
|
2115
|
-
n.result[r] =
|
|
2125
|
+
n.result[r] = ca(
|
|
2116
2126
|
o
|
|
2117
2127
|
);
|
|
2118
2128
|
break;
|
|
2119
2129
|
case s.referralMemberProfile:
|
|
2120
|
-
n.result[r] =
|
|
2130
|
+
n.result[r] = da(
|
|
2121
2131
|
o
|
|
2122
2132
|
);
|
|
2123
2133
|
break;
|
|
@@ -2230,12 +2240,12 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2230
2240
|
n.result[r] = Na(o);
|
|
2231
2241
|
break;
|
|
2232
2242
|
case s.getMissionClaim:
|
|
2233
|
-
n.result[r] =
|
|
2243
|
+
n.result[r] = Ua(
|
|
2234
2244
|
o
|
|
2235
2245
|
);
|
|
2236
2246
|
break;
|
|
2237
2247
|
case s.registerForm:
|
|
2238
|
-
n.result[r] =
|
|
2248
|
+
n.result[r] = Ba(o);
|
|
2239
2249
|
break;
|
|
2240
2250
|
case s.getFavouriteGame:
|
|
2241
2251
|
n.result[r] = qa(
|
|
@@ -2270,18 +2280,18 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2270
2280
|
}
|
|
2271
2281
|
}
|
|
2272
2282
|
if (s.getIncentiveData in n.result && ((t = n.result) != null && t.getIncentiveData)) {
|
|
2273
|
-
const
|
|
2283
|
+
const d = n.result.getIncentiveData;
|
|
2274
2284
|
if (s.getIncentiveRebate in n.result) {
|
|
2275
2285
|
if ((a = n.result) != null && a.getIncentiveRebate) {
|
|
2276
2286
|
const v = n.result.getIncentiveRebate;
|
|
2277
|
-
|
|
2287
|
+
d.claimable = Number(v.amount);
|
|
2278
2288
|
}
|
|
2279
2289
|
delete n.result.getIncentiveRebate;
|
|
2280
2290
|
}
|
|
2281
|
-
n.result.getIncentiveData =
|
|
2291
|
+
n.result.getIncentiveData = d;
|
|
2282
2292
|
}
|
|
2283
2293
|
if (s.vipList in n.result && ((l = n.result) != null && l.vipList)) {
|
|
2284
|
-
const
|
|
2294
|
+
const d = n.result.vipList;
|
|
2285
2295
|
let v = 4;
|
|
2286
2296
|
if (s.getSetting in n.result && ((i = n.result) != null && i.getSetting && (v = n.result.getSetting.vipCalculation), delete n.result.getSetting), s.vipStatus in n.result) {
|
|
2287
2297
|
if ((u = n.result) != null && u.vipStatus) {
|
|
@@ -2290,8 +2300,8 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2290
2300
|
current_deposit: _,
|
|
2291
2301
|
current_turnover: k,
|
|
2292
2302
|
percentage: x
|
|
2293
|
-
} = r, N =
|
|
2294
|
-
|
|
2303
|
+
} = r, N = d.list.findIndex((O) => O.id === o);
|
|
2304
|
+
d.list = d.list.map((O, w) => {
|
|
2295
2305
|
const C = w === N;
|
|
2296
2306
|
let I = "0", f = "0", V = 0;
|
|
2297
2307
|
return C ? (I = `${Math.min(Number(_), Number(O.deposit.total))}`, f = `${Math.min(Number(k), Number(O.turnover.total))}`, V = x) : w < N ? (I = O.deposit.total, f = O.turnover.total, V = 1) : w > N && (I = "0.00", f = "0.00", V = 0), {
|
|
@@ -2314,21 +2324,21 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2314
2324
|
delete n.result.vipStatus;
|
|
2315
2325
|
}
|
|
2316
2326
|
if (s.vipBonus in n.result) {
|
|
2317
|
-
if ((
|
|
2318
|
-
const r = n.result.vipBonus, o =
|
|
2319
|
-
|
|
2327
|
+
if ((c = n.result) != null && c.vipBonus) {
|
|
2328
|
+
const r = n.result.vipBonus, o = d.list.find((V) => V.is_current_level == !0), _ = Number(o == null ? void 0 : o.benefit_list.daily.bonus) ?? 0, k = Number(o == null ? void 0 : o.benefit_list.weekly.bonus) ?? 0, x = Number(o == null ? void 0 : o.benefit_list.monthly.bonus) ?? 0;
|
|
2329
|
+
d.bonus.day.isClaimable = r.day.isClaimable;
|
|
2320
2330
|
const { dayRemainingTime: N, dayProgressPercentage: O } = he();
|
|
2321
|
-
|
|
2331
|
+
d.bonus.day.timestamp = {
|
|
2322
2332
|
current: !r.day.isClaimable && _ > 0 ? N : 0,
|
|
2323
2333
|
percentage: O > 100 ? 100 : O
|
|
2324
|
-
},
|
|
2334
|
+
}, d.bonus.week.isClaimable = r.week.isClaimable;
|
|
2325
2335
|
const { weekRemainingTime: w, weekProgressPercentage: C } = ve();
|
|
2326
|
-
|
|
2336
|
+
d.bonus.week.timestamp = {
|
|
2327
2337
|
current: !r.week.isClaimable && k > 0 ? w : 0,
|
|
2328
2338
|
percentage: C > 100 ? 100 : C
|
|
2329
|
-
},
|
|
2339
|
+
}, d.bonus.month.isClaimable = r.month.isClaimable;
|
|
2330
2340
|
const { monthRemainingTime: I, monthProgressPercentage: f } = _e();
|
|
2331
|
-
|
|
2341
|
+
d.bonus.month.timestamp = {
|
|
2332
2342
|
current: !r.month.isClaimable && x > 0 ? I : 0,
|
|
2333
2343
|
percentage: f > 100 ? 100 : f
|
|
2334
2344
|
};
|
|
@@ -2341,7 +2351,7 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2341
2351
|
o.push({
|
|
2342
2352
|
name: "",
|
|
2343
2353
|
code: "vipLevel",
|
|
2344
|
-
value:
|
|
2354
|
+
value: d.list.map((f) => f.name)
|
|
2345
2355
|
});
|
|
2346
2356
|
const _ = r.findIndex(
|
|
2347
2357
|
(f) => f.fieldName == "upgrade_bonus"
|
|
@@ -2349,7 +2359,7 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2349
2359
|
_ > -1 && o.push({
|
|
2350
2360
|
name: r[_].showName,
|
|
2351
2361
|
code: "",
|
|
2352
|
-
value:
|
|
2362
|
+
value: d.list.map((f) => f.benefit_list.upgrade.bonus)
|
|
2353
2363
|
});
|
|
2354
2364
|
const k = r.findIndex(
|
|
2355
2365
|
(f) => f.fieldName == "upgrade_bonus_multiply"
|
|
@@ -2357,15 +2367,15 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2357
2367
|
k > -1 && o.push({
|
|
2358
2368
|
name: r[k].showName,
|
|
2359
2369
|
code: "",
|
|
2360
|
-
value:
|
|
2370
|
+
value: d.list.map((f) => f.benefit_list.upgrade.turnover)
|
|
2361
2371
|
});
|
|
2362
2372
|
const x = r.findIndex(
|
|
2363
2373
|
(f) => f.fieldName == "monthly_bonus"
|
|
2364
2374
|
);
|
|
2365
|
-
|
|
2375
|
+
d.bonus.month.isShow = x > -1, x > -1 && o.push({
|
|
2366
2376
|
name: r[x].showName,
|
|
2367
2377
|
code: "",
|
|
2368
|
-
value:
|
|
2378
|
+
value: d.list.map((f) => f.benefit_list.monthly.bonus)
|
|
2369
2379
|
});
|
|
2370
2380
|
const N = r.findIndex(
|
|
2371
2381
|
(f) => f.fieldName == "monthly_bonus_multiply"
|
|
@@ -2373,15 +2383,15 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2373
2383
|
N > -1 && o.push({
|
|
2374
2384
|
name: r[N].showName,
|
|
2375
2385
|
code: "",
|
|
2376
|
-
value:
|
|
2386
|
+
value: d.list.map((f) => f.benefit_list.monthly.turnover)
|
|
2377
2387
|
});
|
|
2378
2388
|
const O = r.findIndex(
|
|
2379
2389
|
(f) => f.fieldName == "weekly_bonus"
|
|
2380
2390
|
);
|
|
2381
|
-
|
|
2391
|
+
d.bonus.week.isShow = O > -1, O > -1 && o.push({
|
|
2382
2392
|
name: r[O].showName,
|
|
2383
2393
|
code: "",
|
|
2384
|
-
value:
|
|
2394
|
+
value: d.list.map((f) => f.benefit_list.weekly.bonus)
|
|
2385
2395
|
});
|
|
2386
2396
|
const w = r.findIndex(
|
|
2387
2397
|
(f) => f.fieldName == "weekly_bonus_multiply"
|
|
@@ -2389,15 +2399,15 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2389
2399
|
w > -1 && o.push({
|
|
2390
2400
|
name: r[w].showName,
|
|
2391
2401
|
code: "",
|
|
2392
|
-
value:
|
|
2402
|
+
value: d.list.map((f) => f.benefit_list.weekly.turnover)
|
|
2393
2403
|
});
|
|
2394
2404
|
const C = r.findIndex(
|
|
2395
2405
|
(f) => f.fieldName == "daily_bonus"
|
|
2396
2406
|
);
|
|
2397
|
-
|
|
2407
|
+
d.bonus.day.isShow = C > -1, C > -1 && o.push({
|
|
2398
2408
|
name: r[C].showName,
|
|
2399
2409
|
code: "",
|
|
2400
|
-
value:
|
|
2410
|
+
value: d.list.map((f) => f.benefit_list.daily.bonus)
|
|
2401
2411
|
});
|
|
2402
2412
|
const I = r.findIndex(
|
|
2403
2413
|
(f) => f.fieldName == "daily_bonus_multiply"
|
|
@@ -2405,26 +2415,26 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2405
2415
|
I > -1 && o.push({
|
|
2406
2416
|
name: r[I].showName,
|
|
2407
2417
|
code: "",
|
|
2408
|
-
value:
|
|
2418
|
+
value: d.list.map((f) => f.benefit_list.daily.turnover)
|
|
2409
2419
|
}), (v === 1 || v === 3 || v === 4) && o.push({
|
|
2410
2420
|
name: "",
|
|
2411
2421
|
code: "detail_deposit",
|
|
2412
|
-
value:
|
|
2422
|
+
value: d.list.map((f) => f.deposit.total)
|
|
2413
2423
|
}), (v === 2 || v === 3 || v === 4) && o.push({
|
|
2414
2424
|
name: "",
|
|
2415
2425
|
code: "detail_turnover",
|
|
2416
|
-
value:
|
|
2417
|
-
}),
|
|
2426
|
+
value: d.list.map((f) => f.turnover.total)
|
|
2427
|
+
}), d.detail = o;
|
|
2418
2428
|
}
|
|
2419
2429
|
delete n.result.vipFieldStatus;
|
|
2420
2430
|
}
|
|
2421
|
-
n.result.vipList =
|
|
2431
|
+
n.result.vipList = d;
|
|
2422
2432
|
}
|
|
2423
2433
|
if (s.getFavouriteGame in n.result && ((y = n.result) != null && y.getFavouriteGame)) {
|
|
2424
|
-
const
|
|
2434
|
+
const d = n.result.getFavouriteGame;
|
|
2425
2435
|
if (JSON.parse(e[j].query).pid && s.getPlatformTurnoverRate in n.result && (g = n.result) != null && g.getPlatformTurnoverRate) {
|
|
2426
2436
|
const v = n.result.getPlatformTurnoverRate;
|
|
2427
|
-
n.result.getFavouriteGame =
|
|
2437
|
+
n.result.getFavouriteGame = d.data.map((r) => {
|
|
2428
2438
|
const o = v.find(
|
|
2429
2439
|
(_) => _.id === r.platformId
|
|
2430
2440
|
);
|
|
@@ -2436,10 +2446,10 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2436
2446
|
}
|
|
2437
2447
|
}
|
|
2438
2448
|
if (s.fishGameList in n.result && ((b = n.result) != null && b.fishGameList)) {
|
|
2439
|
-
const
|
|
2440
|
-
if (JSON.parse(e[
|
|
2449
|
+
const d = n.result.fishGameList;
|
|
2450
|
+
if (JSON.parse(e[U].query).pid && s.getPlatformTurnoverRate in n.result && (S = n.result) != null && S.getPlatformTurnoverRate) {
|
|
2441
2451
|
const v = n.result.getPlatformTurnoverRate;
|
|
2442
|
-
n.result.fishGameList =
|
|
2452
|
+
n.result.fishGameList = d.data.map((r) => {
|
|
2443
2453
|
const o = v.find(
|
|
2444
2454
|
(_) => _.id === r.platformId
|
|
2445
2455
|
);
|
|
@@ -2451,12 +2461,12 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2451
2461
|
}
|
|
2452
2462
|
}
|
|
2453
2463
|
if (s.gameList in n.result && ((h = n.result) != null && h.gameList)) {
|
|
2454
|
-
const
|
|
2464
|
+
const d = n.result.gameList;
|
|
2455
2465
|
if (JSON.parse(e[q].query).pid) {
|
|
2456
|
-
const v =
|
|
2457
|
-
if (
|
|
2466
|
+
const v = d.platformGame.map((r) => r.list.filter((o) => o.flag.trial && !r.nextPage).map((o) => o));
|
|
2467
|
+
if (d.trialGameList = v.flat(), s.getPlatformTurnoverRate in n.result && ((m = n.result) != null && m.getPlatformTurnoverRate)) {
|
|
2458
2468
|
const r = n.result.getPlatformTurnoverRate;
|
|
2459
|
-
|
|
2469
|
+
d.platformGame = d.platformGame.map((o) => ({
|
|
2460
2470
|
...o,
|
|
2461
2471
|
list: o.list.map((_) => {
|
|
2462
2472
|
const k = r.find(
|
|
@@ -2467,7 +2477,7 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2467
2477
|
rate: (k == null ? void 0 : k.percentage) ?? "0.00"
|
|
2468
2478
|
};
|
|
2469
2479
|
})
|
|
2470
|
-
})),
|
|
2480
|
+
})), d.platformGameList.data = d.platformGameList.data.map((o) => {
|
|
2471
2481
|
const _ = r.find(
|
|
2472
2482
|
(k) => k.id === o.platformId
|
|
2473
2483
|
);
|
|
@@ -2475,7 +2485,7 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2475
2485
|
...o,
|
|
2476
2486
|
rate: (_ == null ? void 0 : _.percentage) ?? "0.00"
|
|
2477
2487
|
};
|
|
2478
|
-
}),
|
|
2488
|
+
}), d.hotGameList.data = d.hotGameList.data.map((o) => {
|
|
2479
2489
|
const _ = r.find(
|
|
2480
2490
|
(k) => k.id === o.platformId
|
|
2481
2491
|
);
|
|
@@ -2483,7 +2493,7 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2483
2493
|
...o,
|
|
2484
2494
|
rate: (_ == null ? void 0 : _.percentage) ?? "0.00"
|
|
2485
2495
|
};
|
|
2486
|
-
}),
|
|
2496
|
+
}), d.trialGameList = d.trialGameList.map((o) => {
|
|
2487
2497
|
const _ = r.find(
|
|
2488
2498
|
(k) => k.id === o.platformId
|
|
2489
2499
|
);
|
|
@@ -2494,22 +2504,22 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2494
2504
|
}), delete n.result.getPlatformTurnoverRate;
|
|
2495
2505
|
}
|
|
2496
2506
|
}
|
|
2497
|
-
n.result.gameList =
|
|
2507
|
+
n.result.gameList = d;
|
|
2498
2508
|
}
|
|
2499
2509
|
if (s.getCompany in n.result && ((P = n.result) != null && P.getCompany)) {
|
|
2500
|
-
const
|
|
2510
|
+
const d = n.result.getCompany;
|
|
2501
2511
|
if (s.searchResultDate in n.result && (M = n.result) != null && M.searchResultDate) {
|
|
2502
2512
|
const v = n.result.searchResultDate;
|
|
2503
|
-
|
|
2513
|
+
d.forEach((r) => {
|
|
2504
2514
|
const o = v.find((_) => _.id == r.id);
|
|
2505
2515
|
o && (r.date = o == null ? void 0 : o.date);
|
|
2506
2516
|
}), delete n.result.searchResultDate;
|
|
2507
2517
|
}
|
|
2508
|
-
n.result.getCompany =
|
|
2518
|
+
n.result.getCompany = d;
|
|
2509
2519
|
}
|
|
2510
2520
|
return n;
|
|
2511
2521
|
} catch (T) {
|
|
2512
|
-
return
|
|
2522
|
+
return de.isAxiosError(T) ? {
|
|
2513
2523
|
status: ((G = T.response) == null ? void 0 : G.status) || 600,
|
|
2514
2524
|
message: JSON.stringify((z = T.response) == null ? void 0 : z.data),
|
|
2515
2525
|
result: {}
|
|
@@ -2519,10 +2529,10 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2519
2529
|
result: {}
|
|
2520
2530
|
});
|
|
2521
2531
|
}
|
|
2522
|
-
},
|
|
2532
|
+
}, Za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2523
2533
|
__proto__: null,
|
|
2524
2534
|
post: Ja
|
|
2525
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2535
|
+
}, Symbol.toStringTag, { value: "Module" })), Ya = async (e, t) => {
|
|
2526
2536
|
let a = {
|
|
2527
2537
|
status: 200,
|
|
2528
2538
|
message: ""
|
|
@@ -2544,7 +2554,7 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2544
2554
|
return a;
|
|
2545
2555
|
}, Ka = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2546
2556
|
__proto__: null,
|
|
2547
|
-
call:
|
|
2557
|
+
call: Ya
|
|
2548
2558
|
}, Symbol.toStringTag, { value: "Module" })), Qa = async () => {
|
|
2549
2559
|
let e = {
|
|
2550
2560
|
status: 200,
|
|
@@ -2643,7 +2653,7 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2643
2653
|
}
|
|
2644
2654
|
};
|
|
2645
2655
|
try {
|
|
2646
|
-
const
|
|
2656
|
+
const c = (await L.post("/loadgame/40770", {
|
|
2647
2657
|
wanturl: 1,
|
|
2648
2658
|
extra: {
|
|
2649
2659
|
Stage: e,
|
|
@@ -2656,8 +2666,8 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2656
2666
|
status: 200,
|
|
2657
2667
|
message: "",
|
|
2658
2668
|
data: {
|
|
2659
|
-
message:
|
|
2660
|
-
urlLink:
|
|
2669
|
+
message: c.msg ?? "",
|
|
2670
|
+
urlLink: c.data ?? ""
|
|
2661
2671
|
}
|
|
2662
2672
|
};
|
|
2663
2673
|
} catch (u) {
|
|
@@ -2713,10 +2723,10 @@ const Ea = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2713
2723
|
call: sn
|
|
2714
2724
|
}, Symbol.toStringTag, { value: "Module" })), un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2715
2725
|
__proto__: null
|
|
2716
|
-
}, Symbol.toStringTag, { value: "Module" })), dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2717
|
-
__proto__: null
|
|
2718
2726
|
}, Symbol.toStringTag, { value: "Module" })), cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2719
2727
|
__proto__: null
|
|
2728
|
+
}, Symbol.toStringTag, { value: "Module" })), dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2729
|
+
__proto__: null
|
|
2720
2730
|
}, Symbol.toStringTag, { value: "Module" })), mn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2721
2731
|
__proto__: null
|
|
2722
2732
|
}, Symbol.toStringTag, { value: "Module" })), pn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -2774,10 +2784,10 @@ const bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2774
2784
|
__proto__: null
|
|
2775
2785
|
}, Symbol.toStringTag, { value: "Module" })), wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2776
2786
|
__proto__: null
|
|
2777
|
-
}, Symbol.toStringTag, { value: "Module" })), Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2778
|
-
__proto__: null
|
|
2779
2787
|
}, Symbol.toStringTag, { value: "Module" })), Un = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2780
2788
|
__proto__: null
|
|
2789
|
+
}, Symbol.toStringTag, { value: "Module" })), Bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2790
|
+
__proto__: null
|
|
2781
2791
|
}, Symbol.toStringTag, { value: "Module" })), qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2782
2792
|
__proto__: null
|
|
2783
2793
|
}, Symbol.toStringTag, { value: "Module" })), Wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -2794,14 +2804,14 @@ const bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2794
2804
|
__proto__: null
|
|
2795
2805
|
}, Symbol.toStringTag, { value: "Module" })), ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2796
2806
|
__proto__: null
|
|
2797
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2807
|
+
}, Symbol.toStringTag, { value: "Module" })), ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2798
2808
|
__proto__: null
|
|
2799
2809
|
}, Symbol.toStringTag, { value: "Module" })), Jn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2800
2810
|
__proto__: null
|
|
2801
|
-
}, Symbol.toStringTag, { value: "Module" })), Yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2802
|
-
__proto__: null
|
|
2803
2811
|
}, Symbol.toStringTag, { value: "Module" })), Zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2804
2812
|
__proto__: null
|
|
2813
|
+
}, Symbol.toStringTag, { value: "Module" })), Yn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2814
|
+
__proto__: null
|
|
2805
2815
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
2806
2816
|
var be = /* @__PURE__ */ ((e) => (e.default = "default", e.online = "online", e.mycard = "mycard", e.qrcode = "qrcode", e.personal = "personal", e))(be || {});
|
|
2807
2817
|
const Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -2887,10 +2897,10 @@ const Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2887
2897
|
__proto__: null
|
|
2888
2898
|
}, Symbol.toStringTag, { value: "Module" })), wo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2889
2899
|
__proto__: null
|
|
2890
|
-
}, Symbol.toStringTag, { value: "Module" })), Bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2891
|
-
__proto__: null
|
|
2892
2900
|
}, Symbol.toStringTag, { value: "Module" })), Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2893
2901
|
__proto__: null
|
|
2902
|
+
}, Symbol.toStringTag, { value: "Module" })), Bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2903
|
+
__proto__: null
|
|
2894
2904
|
}, Symbol.toStringTag, { value: "Module" })), qo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2895
2905
|
__proto__: null
|
|
2896
2906
|
}, Symbol.toStringTag, { value: "Module" })), Wo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -2907,10 +2917,10 @@ const Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2907
2917
|
__proto__: null
|
|
2908
2918
|
}, Symbol.toStringTag, { value: "Module" })), Jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2909
2919
|
__proto__: null
|
|
2910
|
-
}, Symbol.toStringTag, { value: "Module" })), Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2911
|
-
__proto__: null
|
|
2912
2920
|
}, Symbol.toStringTag, { value: "Module" })), Zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2913
2921
|
__proto__: null
|
|
2922
|
+
}, Symbol.toStringTag, { value: "Module" })), Yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2923
|
+
__proto__: null
|
|
2914
2924
|
}, Symbol.toStringTag, { value: "Module" })), Ko = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2915
2925
|
__proto__: null
|
|
2916
2926
|
}, Symbol.toStringTag, { value: "Module" })), Qo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -2928,7 +2938,7 @@ const Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2928
2938
|
}, Symbol.toStringTag, { value: "Module" })), or = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2929
2939
|
__proto__: null
|
|
2930
2940
|
}, Symbol.toStringTag, { value: "Module" })), rr = {
|
|
2931
|
-
api:
|
|
2941
|
+
api: Za,
|
|
2932
2942
|
loginApi: Ka,
|
|
2933
2943
|
logoutApi: Xa,
|
|
2934
2944
|
autoRegisterApi: tn,
|
|
@@ -2937,8 +2947,8 @@ const Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2937
2947
|
loginWithCaptchaApi: ln,
|
|
2938
2948
|
apiType: ke,
|
|
2939
2949
|
loginType: un,
|
|
2940
|
-
logoutType:
|
|
2941
|
-
announcementType:
|
|
2950
|
+
logoutType: cn,
|
|
2951
|
+
announcementType: dn,
|
|
2942
2952
|
paymentsProviderType: Oe,
|
|
2943
2953
|
gameListType: mn,
|
|
2944
2954
|
vipListType: pn,
|
|
@@ -2968,8 +2978,8 @@ const Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2968
2978
|
getTopupRewardDataType: zn,
|
|
2969
2979
|
getTopupRewardReportType: Nn,
|
|
2970
2980
|
getRewardReferralType: wn,
|
|
2971
|
-
getDepositPromotionType:
|
|
2972
|
-
getInviteRewardClaimType:
|
|
2981
|
+
getDepositPromotionType: Un,
|
|
2982
|
+
getInviteRewardClaimType: Bn,
|
|
2973
2983
|
getTopUpRewardClaimType: qn,
|
|
2974
2984
|
getTurnOverRewardClaimType: Wn,
|
|
2975
2985
|
getInviteRewardSettingType: $n,
|
|
@@ -2978,10 +2988,10 @@ const Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2978
2988
|
requestForgetPasswordType: An,
|
|
2979
2989
|
submitForgetPasswordType: Hn,
|
|
2980
2990
|
submitGiftCode: ue,
|
|
2981
|
-
playGame:
|
|
2991
|
+
playGame: ce,
|
|
2982
2992
|
requestUpdateMobileTacCode: Jn,
|
|
2983
|
-
submitUpdateMobileTacCode:
|
|
2984
|
-
getVerifyPromo:
|
|
2993
|
+
submitUpdateMobileTacCode: Zn,
|
|
2994
|
+
getVerifyPromo: Yn,
|
|
2985
2995
|
getImageType: Kn,
|
|
2986
2996
|
getValidateType: Qn,
|
|
2987
2997
|
updateProfilePictureType: Xn,
|
|
@@ -2995,7 +3005,7 @@ const Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2995
3005
|
applyRedPacketType: io,
|
|
2996
3006
|
getCountryType: lo,
|
|
2997
3007
|
submitGiftCodeType: ue,
|
|
2998
|
-
playGameType:
|
|
3008
|
+
playGameType: ce,
|
|
2999
3009
|
transferToMainType: uo,
|
|
3000
3010
|
transferProcessType: co,
|
|
3001
3011
|
submitValidateType: mo,
|
|
@@ -3025,8 +3035,8 @@ const Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3025
3035
|
unbindUserDeviceType: zo,
|
|
3026
3036
|
searchNumberHistoryType: No,
|
|
3027
3037
|
changeWithdrawalCodeType: wo,
|
|
3028
|
-
checkRedPacketTokenType:
|
|
3029
|
-
submitWithdrawalAlipayType:
|
|
3038
|
+
checkRedPacketTokenType: Uo,
|
|
3039
|
+
submitWithdrawalAlipayType: Bo,
|
|
3030
3040
|
applyReliefFund: qo,
|
|
3031
3041
|
getReliefFundData: Wo,
|
|
3032
3042
|
getReliefFundReport: $o,
|
|
@@ -3035,8 +3045,8 @@ const Kn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3035
3045
|
applyWeekCard: Ao,
|
|
3036
3046
|
transferSettingType: Ho,
|
|
3037
3047
|
transferType: Jo,
|
|
3038
|
-
claimIncentiveRebate:
|
|
3039
|
-
getIncentiveData:
|
|
3048
|
+
claimIncentiveRebate: Zo,
|
|
3049
|
+
getIncentiveData: Yo,
|
|
3040
3050
|
getIncentiveRebate: Ko,
|
|
3041
3051
|
getMissionData: za,
|
|
3042
3052
|
getMissionClaim: Qo,
|
|
@@ -3056,8 +3066,8 @@ export {
|
|
|
3056
3066
|
ir as Repository,
|
|
3057
3067
|
Tn as addBankCardType,
|
|
3058
3068
|
Co as agTransferCreditReportType,
|
|
3059
|
-
|
|
3060
|
-
|
|
3069
|
+
dn as announcementType,
|
|
3070
|
+
Za as api,
|
|
3061
3071
|
ke as apiType,
|
|
3062
3072
|
ro as applyPromoType,
|
|
3063
3073
|
io as applyRedPacketType,
|
|
@@ -3069,10 +3079,10 @@ export {
|
|
|
3069
3079
|
Io as betReportType,
|
|
3070
3080
|
Pn as changePasswordType,
|
|
3071
3081
|
wo as changeWithdrawalCodeType,
|
|
3072
|
-
|
|
3082
|
+
Uo as checkRedPacketTokenType,
|
|
3073
3083
|
to as checkRedPacketValidateType,
|
|
3074
3084
|
po as checkTransferCreditType,
|
|
3075
|
-
|
|
3085
|
+
Zo as claimIncentiveRebate,
|
|
3076
3086
|
bn as cmsListType,
|
|
3077
3087
|
ho as commissionWithdrawType,
|
|
3078
3088
|
_n as depositType,
|
|
@@ -3085,15 +3095,15 @@ export {
|
|
|
3085
3095
|
fo as getActivePPType,
|
|
3086
3096
|
yo as getActiveProductType,
|
|
3087
3097
|
lo as getCountryType,
|
|
3088
|
-
|
|
3098
|
+
Un as getDepositPromotionType,
|
|
3089
3099
|
On as getEventListType,
|
|
3090
3100
|
Mn as getEventTokenType,
|
|
3091
3101
|
Dn as getExtraGameType,
|
|
3092
3102
|
er as getFavouriteGameType,
|
|
3093
3103
|
Kn as getImageType,
|
|
3094
|
-
|
|
3104
|
+
Yo as getIncentiveData,
|
|
3095
3105
|
Ko as getIncentiveRebate,
|
|
3096
|
-
|
|
3106
|
+
Bn as getInviteRewardClaimType,
|
|
3097
3107
|
Ln as getInviteRewardDataType,
|
|
3098
3108
|
Gn as getInviteRewardReportType,
|
|
3099
3109
|
$n as getInviteRewardSettingType,
|
|
@@ -3116,7 +3126,7 @@ export {
|
|
|
3116
3126
|
ao as getUserProfileType,
|
|
3117
3127
|
oo as getUsernameByReferType,
|
|
3118
3128
|
Qn as getValidateType,
|
|
3119
|
-
|
|
3129
|
+
Yn as getVerifyPromo,
|
|
3120
3130
|
Vo as getWeekCardClaim,
|
|
3121
3131
|
Eo as getWeekCardData,
|
|
3122
3132
|
rn as loadMatchApi,
|
|
@@ -3124,12 +3134,12 @@ export {
|
|
|
3124
3134
|
un as loginType,
|
|
3125
3135
|
ln as loginWithCaptchaApi,
|
|
3126
3136
|
Xa as logoutApi,
|
|
3127
|
-
|
|
3137
|
+
cn as logoutType,
|
|
3128
3138
|
jn as mailBoxType,
|
|
3129
3139
|
fn as mainWalletType,
|
|
3130
3140
|
Oe as paymentsProviderType,
|
|
3131
|
-
|
|
3132
|
-
|
|
3141
|
+
ce as playGame,
|
|
3142
|
+
ce as playGameType,
|
|
3133
3143
|
gn as promotionType,
|
|
3134
3144
|
eo as readMailType,
|
|
3135
3145
|
Do as referralMemberProfileType,
|
|
@@ -3155,9 +3165,9 @@ export {
|
|
|
3155
3165
|
ue as submitGiftCodeType,
|
|
3156
3166
|
Po as submitTransferMoneyType,
|
|
3157
3167
|
Lo as submitTwoFactorAuthenticateType,
|
|
3158
|
-
|
|
3168
|
+
Zn as submitUpdateMobileTacCode,
|
|
3159
3169
|
mo as submitValidateType,
|
|
3160
|
-
|
|
3170
|
+
Bo as submitWithdrawalAlipayType,
|
|
3161
3171
|
To as submitWithdrawalCodeType,
|
|
3162
3172
|
Sn as transactionReportType,
|
|
3163
3173
|
co as transferProcessType,
|