60p82u21t54k 0.0.77 → 0.0.79

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.
@@ -109,10 +109,10 @@ const ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
109
109
  __proto__: null,
110
110
  Api: s
111
111
  }, Symbol.toStringTag, { value: "Module" }));
112
- var D = /* @__PURE__ */ ((e) => (e.default = "default", e.pay = "pay", e.auto = "auto", e.fix = "fix", e.manual = "manual", e.unknown = "unknown", e))(D || {});
112
+ var C = /* @__PURE__ */ ((e) => (e.default = "default", e.pay = "pay", e.auto = "auto", e.fix = "fix", e.manual = "manual", e.unknown = "unknown", e))(C || {});
113
113
  const le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
114
114
  __proto__: null,
115
- PaymentType: D
115
+ PaymentType: C
116
116
  }, Symbol.toStringTag, { value: "Module" })), F = {
117
117
  depositBank: !1,
118
118
  depositDateTime: !1,
@@ -123,7 +123,7 @@ const le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
123
123
  }, V = {
124
124
  id: 0,
125
125
  name: "",
126
- type: D.unknown,
126
+ type: C.unknown,
127
127
  promo: [],
128
128
  bank: [],
129
129
  requiredField: F
@@ -132,10 +132,10 @@ const le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
132
132
  return ((t = e.mdPaymentChannels) == null ? void 0 : t.map((a) => {
133
133
  const u = [];
134
134
  switch (a.name) {
135
- case D.default:
135
+ case C.default:
136
136
  u.push(H(a.paymentmethod.manual, e));
137
137
  break;
138
- case D.pay:
138
+ case C.pay:
139
139
  u.push(de(a.paymentmethod.onlinebanking, e));
140
140
  break;
141
141
  default:
@@ -186,16 +186,16 @@ const le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
186
186
  const f = m - d;
187
187
  let g = "", _ = "";
188
188
  if (f > 0) {
189
- let S = Math.round((m - d) * 0.25).toString().split(""), O = [];
189
+ let S = Math.round((m - d) * 0.25).toString().split(""), M = [];
190
190
  for (const R of S)
191
- R !== "" && O.push(R);
192
- for (let R = 0; R < O.length; R++)
193
- R === 0 ? g += (parseInt(O[R]) + 1).toString() : g += "0";
194
- S = Math.round((m - d) * 0.5).toString().split(""), O = [];
191
+ R !== "" && M.push(R);
192
+ for (let R = 0; R < M.length; R++)
193
+ R === 0 ? g += (parseInt(M[R]) + 1).toString() : g += "0";
194
+ S = Math.round((m - d) * 0.5).toString().split(""), M = [];
195
195
  for (const R of S)
196
- R !== "" && O.push(R);
197
- for (let R = 0; R < O.length; R++)
198
- R === 0 ? _ += (parseInt(O[R]) + 1).toString() : _ += "0";
196
+ R !== "" && M.push(R);
197
+ for (let R = 0; R < M.length; R++)
198
+ R === 0 ? _ += (parseInt(M[R]) + 1).toString() : _ += "0";
199
199
  } else
200
200
  g = m.toString(), _ = m.toString();
201
201
  return { amountList: [
@@ -207,7 +207,7 @@ const le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
207
207
  }, H = (e, t) => t ? {
208
208
  id: 0,
209
209
  name: "manualMethod",
210
- type: D.manual,
210
+ type: C.manual,
211
211
  promo: B(e.promo),
212
212
  bank: e.bank.map((i) => {
213
213
  const l = i.list && i.list.length > 0 ? i.list[0].mintransaction ?? "0.00" : "0.00", d = i.list && i.list.length > 0 ? i.list[0].maxtransaction ?? "0.00" : "0.00", { amountList: m, minAmount: f, maxAmount: g } = N(
@@ -239,7 +239,7 @@ const le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
239
239
  } : V, de = (e, t) => t ? {
240
240
  id: 0,
241
241
  name: "onlineBankingMethod",
242
- type: D.pay,
242
+ type: C.pay,
243
243
  promo: B(e.promo),
244
244
  bank: e.banklist.map((i) => {
245
245
  let l = "0.00", d = "0.00";
@@ -251,15 +251,15 @@ const le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
251
251
  Number(d),
252
252
  t.mdBankLevelDetail.onlinepayment_min,
253
253
  t.mdBankLevelDetail.onlinepayment_max
254
- ), h = {
254
+ ), O = {
255
255
  id: 0,
256
256
  name: "autoChannel",
257
257
  amountList: f,
258
258
  min: g,
259
259
  max: _
260
- }, M = i.pg.map((S) => {
261
- const O = S.mintransaction ?? "0.00", G = S.maxtransaction ?? "0.00", { amountList: U, minAmount: R, maxAmount: $ } = N(
262
- Number(O),
260
+ }, T = i.pg.map((S) => {
261
+ const M = S.mintransaction ?? "0.00", G = S.maxtransaction ?? "0.00", { amountList: U, minAmount: R, maxAmount: $ } = N(
262
+ Number(M),
263
263
  Number(G),
264
264
  t.mdBankLevelDetail.onlinepayment_min,
265
265
  t.mdBankLevelDetail.onlinepayment_max
@@ -278,13 +278,13 @@ const le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
278
278
  amountList: [],
279
279
  min: 0,
280
280
  max: 0,
281
- gateway: [h, ...M]
281
+ gateway: [O, ...T]
282
282
  };
283
283
  }),
284
284
  requiredField: F
285
285
  } : V, ce = (e, t, a) => {
286
286
  if (!a) return V;
287
- const u = D.auto;
287
+ const u = C.auto;
288
288
  let i = [];
289
289
  const l = a.mdGatewayMinMax ?? [];
290
290
  if (t.bank.length > 0 && a.mdPGSelection === "1")
@@ -307,19 +307,19 @@ const le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
307
307
  let m = "0.00", f = "0.00";
308
308
  for (let p = 0; p < l.length; p++)
309
309
  l[p].bankindex === e.toString() && (m = l[p].min, f = l[p].max);
310
- const { amountList: g, minAmount: _, maxAmount: h } = N(
310
+ const { amountList: g, minAmount: _, maxAmount: O } = N(
311
311
  Number(m),
312
312
  Number(f),
313
313
  a.mdBankLevelDetail.onlinepayment_min,
314
314
  a.mdBankLevelDetail.onlinepayment_max
315
- ), M = {
315
+ ), T = {
316
316
  id: 0,
317
317
  name: "autoChannel",
318
318
  amountList: g,
319
319
  min: _,
320
- max: h
320
+ max: O
321
321
  };
322
- i.push(M);
322
+ i.push(T);
323
323
  }
324
324
  return {
325
325
  id: e,
@@ -330,7 +330,7 @@ const le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
330
330
  requiredField: F
331
331
  };
332
332
  }, me = (e, t) => {
333
- const a = D.fix;
333
+ const a = C.fix;
334
334
  return {
335
335
  id: e,
336
336
  name: "fixAmountMethod",
@@ -573,15 +573,15 @@ const le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
573
573
  var u;
574
574
  return {
575
575
  id: a.key,
576
- date: ((u = a.draw_date) == null ? void 0 : u.map((i) => De(i.draw_tmactive))) ?? []
576
+ date: ((u = a.draw_date) == null ? void 0 : u.map((i) => Ce(i.draw_tmactive))) ?? []
577
577
  };
578
578
  })) ?? [];
579
579
  };
580
- function De(e) {
580
+ function Ce(e) {
581
581
  const t = new Date(e * 1e3), a = t.getFullYear(), u = ("0" + (t.getMonth() + 1)).slice(-2), i = ("0" + t.getDate()).slice(-2);
582
582
  return `${a}-${u}-${i}`;
583
583
  }
584
- const Ce = (e) => {
584
+ const De = (e) => {
585
585
  var t;
586
586
  return ((t = e.data) == null ? void 0 : t.map((a) => {
587
587
  var u;
@@ -594,7 +594,7 @@ const Ce = (e) => {
594
594
  }))) ?? []
595
595
  };
596
596
  })) ?? [];
597
- }, we = (e) => e.data.map((t) => ({
597
+ }, Ie = (e) => e.data.map((t) => ({
598
598
  companyId: t.company_id,
599
599
  companyName: t.company_name,
600
600
  resultByDateList: t.draws.map((a) => {
@@ -610,9 +610,9 @@ const Ce = (e) => {
610
610
  (p) => p.combination_dimension === 4 && p.combination_position === 5
611
611
  ).map((p) => p.combination_combination), g = a.results.filter(
612
612
  (p) => p.combination_dimension === 5 && p.combination_position === 1
613
- ).map((p) => p.combination_combination), _ = a.results.filter((p) => p.combination_dimension == 5).map((p) => p.combination_combination), h = a.results.filter(
613
+ ).map((p) => p.combination_combination), _ = a.results.filter((p) => p.combination_dimension == 5).map((p) => p.combination_combination), O = a.results.filter(
614
614
  (p) => p.combination_dimension === 6 && p.combination_position === 1
615
- ).map((p) => p.combination_combination), M = a.results.filter((p) => p.combination_dimension === 6).map((p) => p.combination_combination);
615
+ ).map((p) => p.combination_combination), T = a.results.filter((p) => p.combination_dimension === 6).map((p) => p.combination_combination);
616
616
  return {
617
617
  date: a.date,
618
618
  dimension_3: u,
@@ -628,12 +628,12 @@ const Ce = (e) => {
628
628
  all: _
629
629
  },
630
630
  dimension_6: {
631
- prize_1: h,
632
- all: M
631
+ prize_1: O,
632
+ all: T
633
633
  }
634
634
  };
635
635
  })
636
- })), Ie = (e) => e.data.map((t) => ({
636
+ })), we = (e) => e.data.map((t) => ({
637
637
  id: t.id,
638
638
  date: t.matchDate,
639
639
  tag: t.tag,
@@ -726,37 +726,35 @@ const Ce = (e) => {
726
726
  }), Be = (e) => v(e), Ue = (e) => {
727
727
  var t, a, u, i, l, d;
728
728
  return {
729
- subStatusModes: ((t = e.subStatusModes) == null ? void 0 : t.map((m) => ({
729
+ statusMode: ((t = e.subStatusModes) == null ? void 0 : t.map((m) => ({
730
730
  key: m.key,
731
731
  value: m.value
732
732
  }))) ?? [],
733
- subTransactionMethods: ((a = e.subTransactionMethods) == null ? void 0 : a.map((m) => ({
733
+ transactionMethod: ((a = e.subTransactionMethods) == null ? void 0 : a.map((m) => ({
734
734
  key: m.key,
735
735
  value: m.value
736
736
  }))) ?? [],
737
- mdCashLedgers: {
737
+ data: {
738
738
  currentPage: ((u = e.mdCashLedgers) == null ? void 0 : u.current_page) ?? 0,
739
739
  lastPage: ((i = e.mdCashLedgers) == null ? void 0 : i.last_page) ?? 0,
740
740
  data: ((d = (l = e.mdCashLedgers) == null ? void 0 : l.data) == null ? void 0 : d.map((m) => {
741
741
  var f, g;
742
742
  return {
743
- ledgerIndex: m.ledgerindex,
744
- transactionIndex: m.transactionindex,
745
- fund: {
743
+ transactionIndex: m.ledgerindex,
744
+ transactionInfo: {
746
745
  id: m.fundindex,
747
746
  desc: We(m.fundindex, m.transactionindex),
748
747
  ext: m.fundindex === 3 ? `(${m.promo_cash})` : ""
749
748
  },
750
- status: {
749
+ statusInfo: {
751
750
  id: m.status,
752
751
  value: m.status == 1,
753
752
  desc: ((g = (f = e.subStatusModes) == null ? void 0 : f.find((_) => _.key === m.status)) == null ? void 0 : g.value) ?? ""
754
753
  },
755
754
  amount: m.amount,
756
- ledgerDateTime: m.ledgerdatetime,
757
- promoCash: m.promo_cash,
758
- reasonSimplified: m.reasonsimplified,
759
- fundMethod: m.fundmethod
755
+ dateTime: m.ledgerdatetime,
756
+ reason: m.reasonsimplified,
757
+ method: m.fundmethod
760
758
  };
761
759
  })) ?? []
762
760
  }
@@ -1123,7 +1121,7 @@ const Ce = (e) => {
1123
1121
  }), Pt = (e) => v(e), Ot = (e) => v(e), q = (e) => ({
1124
1122
  status: e.status == 1,
1125
1123
  message: e.errormessage ?? ""
1126
- }), Mt = (e) => v(e), jt = (e) => e, xt = (e) => v(e), Dt = (e) => {
1124
+ }), Mt = (e) => v(e), jt = (e) => e, xt = (e) => v(e), Ct = (e) => {
1127
1125
  var t;
1128
1126
  return {
1129
1127
  platformProduct: ((t = e.mdPlatformProduct) == null ? void 0 : t.map((a) => ({
@@ -1132,7 +1130,7 @@ const Ce = (e) => {
1132
1130
  com: a.com
1133
1131
  }))) ?? []
1134
1132
  };
1135
- }, Ct = (e) => {
1133
+ }, Dt = (e) => {
1136
1134
  var t;
1137
1135
  return {
1138
1136
  productMaster: ((t = e.mdProductMaster) == null ? void 0 : t.map((a) => ({
@@ -1140,7 +1138,7 @@ const Ce = (e) => {
1140
1138
  name: a.name
1141
1139
  }))) ?? []
1142
1140
  };
1143
- }, wt = (e) => v(e), It = (e) => v(e), Lt = (e) => v(e), Gt = (e) => v(e), zt = (e) => v(e), Nt = (e) => v(e), Ft = (e) => v(e), Bt = (e) => ({
1141
+ }, It = (e) => v(e), wt = (e) => v(e), Lt = (e) => v(e), Gt = (e) => v(e), zt = (e) => v(e), Nt = (e) => v(e), Ft = (e) => v(e), Bt = (e) => ({
1144
1142
  status: e.status == 1,
1145
1143
  message: e.msg ?? "",
1146
1144
  data: e.data
@@ -1226,10 +1224,10 @@ const Ce = (e) => {
1226
1224
  lastPage: e.mdGameCreditLimitTransfers.last_page,
1227
1225
  data: ((t = e.mdGameCreditLimitTransfers.data) == null ? void 0 : t.map((a) => ({
1228
1226
  transferIndex: a.clindex,
1229
- comFrom: a.com_from,
1230
- comTo: a.com_to,
1227
+ target: a.com_from !== "" ? a.com_from : a.com_to,
1228
+ category: a.com_from !== "" ? "transferOut" : "transferIn",
1231
1229
  amount: a.amount,
1232
- transferDateTime: a.transferdatetime
1230
+ dateTime: a.transferdatetime
1233
1231
  }))) ?? []
1234
1232
  };
1235
1233
  }, Jt = (e) => {
@@ -1240,42 +1238,47 @@ const Ce = (e) => {
1240
1238
  data: ((t = e.mdAgTransfeReport.data) == null ? void 0 : t.map((a) => ({
1241
1239
  sender: a.sender,
1242
1240
  receiver: a.receiver,
1243
- id: a.id,
1241
+ transferId: a.id,
1244
1242
  amount: a.amount,
1245
- transferDateTime: a.transferdatetime
1243
+ dateTime: a.transferdatetime
1246
1244
  }))) ?? []
1247
1245
  };
1248
1246
  }, Yt = (e) => {
1249
- var t, a, u, i, l, d, m, f, g, _;
1247
+ var t, a, u, i, l, d, m, f, g, _, O;
1250
1248
  return {
1251
1249
  status: e.status == 1,
1252
1250
  message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
1253
1251
  data: {
1254
- total: {
1255
- bet: (((t = e.data) == null ? void 0 : t.total.bet) ?? 0).toFixed(2),
1256
- activeBet: (((a = e.data) == null ? void 0 : a.total.activebet) ?? 0).toFixed(2),
1257
- validBet: (((u = e.data) == null ? void 0 : u.total.validbet) ?? 0).toFixed(2),
1258
- payout: (((i = e.data) == null ? void 0 : i.total.payout) ?? 0).toFixed(2)
1252
+ total: (t = e.data) != null && t.total ? {
1253
+ bet: (((a = e.data) == null ? void 0 : a.total.bet) ?? 0).toFixed(2),
1254
+ activeBet: (((u = e.data) == null ? void 0 : u.total.activebet) ?? 0).toFixed(2),
1255
+ validBet: (((i = e.data) == null ? void 0 : i.total.validbet) ?? 0).toFixed(2),
1256
+ payout: (((l = e.data) == null ? void 0 : l.total.payout) ?? 0).toFixed(2)
1257
+ } : {
1258
+ bet: "0.00",
1259
+ activeBet: "0.00",
1260
+ validBet: "0.00",
1261
+ payout: "0.00"
1259
1262
  },
1260
- sum: ((d = (l = e.data) == null ? void 0 : l.sum) == null ? void 0 : d.map((h) => ({
1261
- bet: h.bet,
1262
- activeBet: h.activebet,
1263
- name: h.name,
1264
- com: h.com
1263
+ data: ((m = (d = e.data) == null ? void 0 : d.sum) == null ? void 0 : m.map((T) => ({
1264
+ bet: T.bet,
1265
+ activeBet: T.activebet,
1266
+ target: T.name,
1267
+ com: T.com
1265
1268
  }))) ?? [],
1266
- wagers: ((f = (m = e.data) == null ? void 0 : m.wagers) == null ? void 0 : f.map((h) => ({
1267
- payout: h.payout,
1268
- betType: h.betType,
1269
- stakeF: h.stakeF,
1270
- stakeL: h.stakeL,
1271
- date: h.date,
1272
- key: h.key,
1273
- detailSA: h.detailsa,
1274
- detailSC: h.detailsc,
1275
- resultL: h.resultL
1269
+ wagers: ((g = (f = e.data) == null ? void 0 : f.wagers) == null ? void 0 : g.map((T) => ({
1270
+ payout: T.payout,
1271
+ betType: T.betType,
1272
+ stakeF: T.stakeF,
1273
+ stakeL: T.stakeL,
1274
+ date: T.date,
1275
+ key: T.key,
1276
+ detailSA: T.detailsa,
1277
+ detailSC: T.detailsc,
1278
+ resultL: T.resultL
1276
1279
  }))) ?? [],
1277
- currentPage: ((g = e.data) == null ? void 0 : g.page.current_page) ?? 1,
1278
- totalPage: ((_ = e.data) == null ? void 0 : _.page.last_page) ?? 1
1280
+ currentPage: ((_ = e.data) == null ? void 0 : _.page.current_page) ?? 1,
1281
+ totalPage: ((O = e.data) == null ? void 0 : O.page.last_page) ?? 1
1279
1282
  }
1280
1283
  };
1281
1284
  }, Kt = (e) => {
@@ -1387,8 +1390,14 @@ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1387
1390
  message: "",
1388
1391
  data: {
1389
1392
  price: e.data.price,
1390
- instantReward: e.data.instant_reward,
1391
- dailyReward: e.data.daily_reward,
1393
+ instantReward: {
1394
+ value: e.data.instant_reward,
1395
+ percentage: (Number(e.data.instant_reward) / Number(e.data.price) * 100).toFixed(0)
1396
+ },
1397
+ dailyReward: {
1398
+ value: e.data.daily_reward,
1399
+ percentage: (Number(e.data.daily_reward) / Number(e.data.price) * 100).toFixed(0)
1400
+ },
1392
1401
  period: e.data.period,
1393
1402
  purchasable: e.data.purchasable,
1394
1403
  collectable: e.data.collectable,
@@ -1398,7 +1407,7 @@ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1398
1407
  status: e.status,
1399
1408
  message: e.msg ?? ""
1400
1409
  }), ca = async (e) => {
1401
- var t, a, u, i, l, d, m, f, g, _, h, M;
1410
+ var t, a, u, i, l, d, m, f, g, _, O, T;
1402
1411
  try {
1403
1412
  e.findIndex((c) => c.name === s.vipList) !== -1 && e.push(
1404
1413
  {
@@ -1424,12 +1433,12 @@ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1424
1433
  name: s.getPlatformTurnoverRate,
1425
1434
  query: ""
1426
1435
  }));
1427
- const O = e.findIndex((c) => c.name === s.searchHot);
1428
- if (O !== -1) {
1436
+ const M = e.findIndex((c) => c.name === s.searchHot);
1437
+ if (M !== -1) {
1429
1438
  let c = {};
1430
1439
  e.forEach((y) => {
1431
1440
  c = y.query;
1432
- }), e.splice(O), e.push({
1441
+ }), e.splice(M), e.push({
1433
1442
  name: s.getFourDimensionData,
1434
1443
  query: String(c)
1435
1444
  });
@@ -1559,13 +1568,13 @@ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1559
1568
  );
1560
1569
  break;
1561
1570
  case s.searchHot:
1562
- o.result[r] = Ce(n);
1571
+ o.result[r] = De(n);
1563
1572
  break;
1564
1573
  case s.searchByDate:
1565
- o.result[r] = we(n);
1574
+ o.result[r] = Ie(n);
1566
1575
  break;
1567
1576
  case s.upcomingMatches:
1568
- o.result[r] = Ie(
1577
+ o.result[r] = we(
1569
1578
  n
1570
1579
  );
1571
1580
  break;
@@ -1778,20 +1787,20 @@ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1778
1787
  o.result[r] = xt(n);
1779
1788
  break;
1780
1789
  case s.getActivePP:
1781
- o.result[r] = Dt(n);
1790
+ o.result[r] = Ct(n);
1782
1791
  break;
1783
1792
  case s.getActiveProduct:
1784
- o.result[r] = Ct(
1793
+ o.result[r] = Dt(
1785
1794
  n
1786
1795
  );
1787
1796
  break;
1788
1797
  case s.requestWithdrawTac:
1789
- o.result[r] = wt(
1798
+ o.result[r] = It(
1790
1799
  n
1791
1800
  );
1792
1801
  break;
1793
1802
  case s.requestWithdrawalCode:
1794
- o.result[r] = It(
1803
+ o.result[r] = wt(
1795
1804
  n
1796
1805
  );
1797
1806
  break;
@@ -1940,16 +1949,16 @@ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1940
1949
  if ((u = o.result) != null && u.vipStatus) {
1941
1950
  const r = o.result.vipStatus, {
1942
1951
  current_grade_id: n,
1943
- current_deposit: T,
1952
+ current_deposit: h,
1944
1953
  current_turnover: k,
1945
1954
  percentage: j
1946
- } = r, C = c.list.findIndex((P) => P.id === n);
1947
- c.list = c.list.map((P, w) => {
1948
- const I = w === C;
1955
+ } = r, D = c.list.findIndex((P) => P.id === n);
1956
+ c.list = c.list.map((P, I) => {
1957
+ const w = I === D;
1949
1958
  let x = "0", b = "0", z = 0;
1950
- return I ? (x = `${Math.min(Number(T), Number(P.deposit.total))}`, b = `${Math.min(Number(k), Number(P.turnover.total))}`, z = j) : w < C ? (x = P.deposit.total, b = P.turnover.total, z = 1) : w > C && (x = "0.00", b = "0.00", z = 0), {
1959
+ return w ? (x = `${Math.min(Number(h), Number(P.deposit.total))}`, b = `${Math.min(Number(k), Number(P.turnover.total))}`, z = j) : I < D ? (x = P.deposit.total, b = P.turnover.total, z = 1) : I > D && (x = "0.00", b = "0.00", z = 0), {
1951
1960
  ...P,
1952
- is_current_level: I,
1961
+ is_current_level: w,
1953
1962
  deposit: {
1954
1963
  ...P.deposit,
1955
1964
  isShow: y === 1 || y === 3 || y === 4,
@@ -1968,17 +1977,17 @@ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1968
1977
  }
1969
1978
  if (s.vipBonus in o.result) {
1970
1979
  if ((i = o.result) != null && i.vipBonus) {
1971
- const r = o.result.vipBonus, n = c.list.find((z) => z.is_current_level == !0), T = Number(n == null ? void 0 : n.benefit_list.daily.bonus) ?? 0, k = Number(n == null ? void 0 : n.benefit_list.weekly.bonus) ?? 0, j = Number(n == null ? void 0 : n.benefit_list.monthly.bonus) ?? 0;
1980
+ const r = o.result.vipBonus, n = c.list.find((z) => z.is_current_level == !0), h = Number(n == null ? void 0 : n.benefit_list.daily.bonus) ?? 0, k = Number(n == null ? void 0 : n.benefit_list.weekly.bonus) ?? 0, j = Number(n == null ? void 0 : n.benefit_list.monthly.bonus) ?? 0;
1972
1981
  c.bonus.day.isClaimable = r.day.isClaimable;
1973
- const { dayRemainingTime: C, dayProgressPercentage: P } = se();
1982
+ const { dayRemainingTime: D, dayProgressPercentage: P } = se();
1974
1983
  c.bonus.day.timestamp = {
1975
- current: !r.day.isClaimable && T > 0 ? C : 0,
1984
+ current: !r.day.isClaimable && h > 0 ? D : 0,
1976
1985
  percentage: P
1977
1986
  }, c.bonus.week.isClaimable = r.week.isClaimable;
1978
- const { weekRemainingTime: w, weekProgressPercentage: I } = re();
1987
+ const { weekRemainingTime: I, weekProgressPercentage: w } = re();
1979
1988
  c.bonus.week.timestamp = {
1980
- current: !r.week.isClaimable && k > 0 ? w : 0,
1981
- percentage: I
1989
+ current: !r.week.isClaimable && k > 0 ? I : 0,
1990
+ percentage: w
1982
1991
  }, c.bonus.month.isClaimable = r.month.isClaimable;
1983
1992
  const { monthRemainingTime: x, monthProgressPercentage: b } = oe();
1984
1993
  c.bonus.month.timestamp = {
@@ -1996,11 +2005,11 @@ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1996
2005
  code: "vipLevel",
1997
2006
  value: c.list.map((b) => b.name)
1998
2007
  });
1999
- const T = r.findIndex(
2008
+ const h = r.findIndex(
2000
2009
  (b) => b.fieldName == "upgrade_bonus"
2001
2010
  );
2002
- T > -1 && n.push({
2003
- name: r[T].showName,
2011
+ h > -1 && n.push({
2012
+ name: r[h].showName,
2004
2013
  code: "",
2005
2014
  value: c.list.map((b) => b.benefit_list.upgrade.bonus)
2006
2015
  });
@@ -2020,11 +2029,11 @@ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2020
2029
  code: "",
2021
2030
  value: c.list.map((b) => b.benefit_list.monthly.bonus)
2022
2031
  });
2023
- const C = r.findIndex(
2032
+ const D = r.findIndex(
2024
2033
  (b) => b.fieldName == "monthly_bonus_multiply"
2025
2034
  );
2026
- C > -1 && n.push({
2027
- name: r[C].showName,
2035
+ D > -1 && n.push({
2036
+ name: r[D].showName,
2028
2037
  code: "",
2029
2038
  value: c.list.map((b) => b.benefit_list.monthly.turnover)
2030
2039
  });
@@ -2036,19 +2045,19 @@ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2036
2045
  code: "",
2037
2046
  value: c.list.map((b) => b.benefit_list.weekly.bonus)
2038
2047
  });
2039
- const w = r.findIndex(
2048
+ const I = r.findIndex(
2040
2049
  (b) => b.fieldName == "weekly_bonus_multiply"
2041
2050
  );
2042
- w > -1 && n.push({
2043
- name: r[w].showName,
2051
+ I > -1 && n.push({
2052
+ name: r[I].showName,
2044
2053
  code: "",
2045
2054
  value: c.list.map((b) => b.benefit_list.weekly.turnover)
2046
2055
  });
2047
- const I = r.findIndex(
2056
+ const w = r.findIndex(
2048
2057
  (b) => b.fieldName == "daily_bonus"
2049
2058
  );
2050
- c.bonus.day.isShow = I > -1, I > -1 && n.push({
2051
- name: r[I].showName,
2059
+ c.bonus.day.isShow = w > -1, w > -1 && n.push({
2060
+ name: r[w].showName,
2052
2061
  code: "",
2053
2062
  value: c.list.map((b) => b.benefit_list.daily.bonus)
2054
2063
  });
@@ -2080,7 +2089,7 @@ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2080
2089
  const y = o.result.getPlatformTurnoverRate;
2081
2090
  c.platformGameList = c.platformGameList.map((r) => {
2082
2091
  const n = y.find(
2083
- (T) => T.id === r.platformId
2092
+ (h) => h.id === r.platformId
2084
2093
  );
2085
2094
  return {
2086
2095
  ...r,
@@ -2109,38 +2118,38 @@ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2109
2118
  if (s.getPlatformTurnoverRate in o.result && ((f = o.result) != null && f.getPlatformTurnoverRate)) {
2110
2119
  const r = o.result.getPlatformTurnoverRate;
2111
2120
  c.platformGame.forEach((n) => {
2112
- n.list = n.list.map((T) => {
2121
+ n.list = n.list.map((h) => {
2113
2122
  const k = r.find(
2114
- (j) => j.id === T.platformId
2123
+ (j) => j.id === h.platformId
2115
2124
  );
2116
2125
  return {
2117
- ...T,
2126
+ ...h,
2118
2127
  rate: (k == null ? void 0 : k.percentage) ?? "0.00"
2119
2128
  };
2120
2129
  });
2121
2130
  }), c.hotGameList = c.hotGameList.map((n) => {
2122
- const T = r.find(
2131
+ const h = r.find(
2123
2132
  (k) => k.id === n.platformId
2124
2133
  );
2125
2134
  return {
2126
2135
  ...n,
2127
- rate: (T == null ? void 0 : T.percentage) ?? "0.00"
2136
+ rate: (h == null ? void 0 : h.percentage) ?? "0.00"
2128
2137
  };
2129
2138
  }), c.trialGameList = c.trialGameList.map((n) => {
2130
- const T = r.find(
2139
+ const h = r.find(
2131
2140
  (k) => k.id === n.platformId
2132
2141
  );
2133
2142
  return {
2134
2143
  ...n,
2135
- rate: (T == null ? void 0 : T.percentage) ?? "0.00"
2144
+ rate: (h == null ? void 0 : h.percentage) ?? "0.00"
2136
2145
  };
2137
2146
  }), c.fishGameList = c.fishGameList.map((n) => {
2138
- const T = r.find(
2147
+ const h = r.find(
2139
2148
  (k) => k.id === n.platformId
2140
2149
  );
2141
2150
  return {
2142
2151
  ...n,
2143
- rate: (T == null ? void 0 : T.percentage) ?? "0.00"
2152
+ rate: (h == null ? void 0 : h.percentage) ?? "0.00"
2144
2153
  };
2145
2154
  }), delete o.result.getPlatformTurnoverRate;
2146
2155
  }
@@ -2152,7 +2161,7 @@ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2152
2161
  if (s.searchResultDate in o.result && (_ = o.result) != null && _.searchResultDate) {
2153
2162
  const y = o.result.searchResultDate;
2154
2163
  c.forEach((r) => {
2155
- const n = y.find((T) => T.id == r.id);
2164
+ const n = y.find((h) => h.id == r.id);
2156
2165
  n && (r.date = n == null ? void 0 : n.date);
2157
2166
  }), delete o.result.searchResultDate;
2158
2167
  }
@@ -2161,8 +2170,8 @@ const oa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2161
2170
  return o;
2162
2171
  } catch (p) {
2163
2172
  return X.isAxiosError(p) ? {
2164
- status: ((h = p.response) == null ? void 0 : h.status) || 600,
2165
- message: JSON.stringify((M = p.response) == null ? void 0 : M.data),
2173
+ status: ((O = p.response) == null ? void 0 : O.status) || 600,
2174
+ message: JSON.stringify((T = p.response) == null ? void 0 : T.data),
2166
2175
  result: {}
2167
2176
  } : (console.error(p), {
2168
2177
  status: p.status || 500,
@@ -2334,14 +2343,14 @@ const ja = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2334
2343
  CmsType: Z
2335
2344
  }, Symbol.toStringTag, { value: "Module" })), xa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2336
2345
  __proto__: null
2337
- }, Symbol.toStringTag, { value: "Module" })), Da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2338
- __proto__: null
2339
2346
  }, Symbol.toStringTag, { value: "Module" })), Ca = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2340
2347
  __proto__: null
2341
- }, Symbol.toStringTag, { value: "Module" })), wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2348
+ }, Symbol.toStringTag, { value: "Module" })), Da = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2342
2349
  __proto__: null
2343
2350
  }, Symbol.toStringTag, { value: "Module" })), Ia = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2344
2351
  __proto__: null
2352
+ }, Symbol.toStringTag, { value: "Module" })), wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2353
+ __proto__: null
2345
2354
  }, Symbol.toStringTag, { value: "Module" })), La = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2346
2355
  __proto__: null
2347
2356
  }, Symbol.toStringTag, { value: "Module" })), Ga = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -2447,14 +2456,14 @@ const cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2447
2456
  __proto__: null
2448
2457
  }, Symbol.toStringTag, { value: "Module" })), xn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2449
2458
  __proto__: null
2450
- }, Symbol.toStringTag, { value: "Module" })), Dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2451
- __proto__: null
2452
2459
  }, Symbol.toStringTag, { value: "Module" })), Cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2453
2460
  __proto__: null
2454
- }, Symbol.toStringTag, { value: "Module" })), wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2461
+ }, Symbol.toStringTag, { value: "Module" })), Dn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2455
2462
  __proto__: null
2456
2463
  }, Symbol.toStringTag, { value: "Module" })), In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2457
2464
  __proto__: null
2465
+ }, Symbol.toStringTag, { value: "Module" })), wn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2466
+ __proto__: null
2458
2467
  }, Symbol.toStringTag, { value: "Module" })), Ln = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2459
2468
  __proto__: null
2460
2469
  }, Symbol.toStringTag, { value: "Module" })), Gn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -2501,7 +2510,13 @@ const cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2501
2510
  __proto__: null
2502
2511
  }, Symbol.toStringTag, { value: "Module" })), ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2503
2512
  __proto__: null
2504
- }, Symbol.toStringTag, { value: "Module" })), no = {
2513
+ }, Symbol.toStringTag, { value: "Module" })), no = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2514
+ __proto__: null
2515
+ }, Symbol.toStringTag, { value: "Module" })), oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2516
+ __proto__: null
2517
+ }, Symbol.toStringTag, { value: "Module" })), ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2518
+ __proto__: null
2519
+ }, Symbol.toStringTag, { value: "Module" })), so = {
2505
2520
  api: ma,
2506
2521
  loginApi: ba,
2507
2522
  logoutApi: ya,
@@ -2517,10 +2532,10 @@ const cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2517
2532
  promotionType: Ma,
2518
2533
  cmsListType: ja,
2519
2534
  mainWalletType: xa,
2520
- upcomingMatchType: Da,
2521
- depositType: Ca,
2522
- applyVipBonusType: wa,
2523
- withdrawalGetType: Ia,
2535
+ upcomingMatchType: Ca,
2536
+ depositType: Da,
2537
+ applyVipBonusType: Ia,
2538
+ withdrawalGetType: wa,
2524
2539
  addBankCardType: La,
2525
2540
  withdrawType: Ga,
2526
2541
  getSettingType: oa,
@@ -2575,10 +2590,10 @@ const cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2575
2590
  friendListType: Mn,
2576
2591
  friendListEditType: jn,
2577
2592
  getActivePPType: xn,
2578
- getActiveProductType: Dn,
2579
- requestWithdrawTacType: Cn,
2580
- requestWithdrawalCodeType: wn,
2581
- commissionWithdrawType: In,
2593
+ getActiveProductType: Cn,
2594
+ requestWithdrawTacType: Dn,
2595
+ requestWithdrawalCodeType: In,
2596
+ commissionWithdrawType: wn,
2582
2597
  submitWithdrawalCodeType: Ln,
2583
2598
  submitCryptoAccountType: Gn,
2584
2599
  requestTransferMoneyType: zn,
@@ -2601,14 +2616,17 @@ const cn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2601
2616
  submitWithdrawalAlipayType: Zn,
2602
2617
  applyReliefFund: eo,
2603
2618
  getReliefFundData: to,
2604
- getReliefFundReport: ao
2605
- }, ro = {
2619
+ getReliefFundReport: ao,
2620
+ getWeekCardClaim: no,
2621
+ getWeekCardData: oo,
2622
+ applyWeekCard: ro
2623
+ }, lo = {
2606
2624
  install(e) {
2607
- e.config.globalProperties.$library = no;
2625
+ e.config.globalProperties.$library = so;
2608
2626
  }
2609
2627
  };
2610
2628
  export {
2611
- ro as Repository,
2629
+ lo as Repository,
2612
2630
  La as addBankCardType,
2613
2631
  En as agTransferCreditReportType,
2614
2632
  ka as announcementType,
@@ -2618,7 +2636,8 @@ export {
2618
2636
  vn as applyRedPacketType,
2619
2637
  eo as applyReliefFund,
2620
2638
  Tn as applySignInType,
2621
- wa as applyVipBonusType,
2639
+ Ia as applyVipBonusType,
2640
+ ro as applyWeekCard,
2622
2641
  ha as autoRegisterApi,
2623
2642
  $n as betReportType,
2624
2643
  Na as changePasswordType,
@@ -2627,14 +2646,14 @@ export {
2627
2646
  bn as checkRedPacketValidateType,
2628
2647
  On as checkTransferCreditType,
2629
2648
  ja as cmsListType,
2630
- In as commissionWithdrawType,
2631
- Ca as depositType,
2649
+ wn as commissionWithdrawType,
2650
+ Da as depositType,
2632
2651
  Va as fishGameListType,
2633
2652
  jn as friendListEditType,
2634
2653
  Mn as friendListType,
2635
2654
  Pa as gameListType,
2636
2655
  xn as getActivePPType,
2637
- Dn as getActiveProductType,
2656
+ Cn as getActiveProductType,
2638
2657
  Rn as getCountryType,
2639
2658
  Xa as getDepositPromotionType,
2640
2659
  Ba as getEventListType,
@@ -2663,6 +2682,8 @@ export {
2663
2682
  _n as getUsernameByReferType,
2664
2683
  mn as getValidateType,
2665
2684
  dn as getVerifyPromo,
2685
+ no as getWeekCardClaim,
2686
+ oo as getWeekCardData,
2666
2687
  ba as loginApi,
2667
2688
  Ra as loginType,
2668
2689
  ya as logoutApi,
@@ -2681,8 +2702,8 @@ export {
2681
2702
  yn as requestTacCodeType,
2682
2703
  zn as requestTransferMoneyType,
2683
2704
  ln as requestUpdateMobileTacCode,
2684
- Cn as requestWithdrawTacType,
2685
- wn as requestWithdrawalCodeType,
2705
+ Dn as requestWithdrawTacType,
2706
+ In as requestWithdrawalCodeType,
2686
2707
  Kn as searchNumberHistoryType,
2687
2708
  va as setLocaleApi,
2688
2709
  Bn as signInRecordType,
@@ -2703,10 +2724,10 @@ export {
2703
2724
  Vn as transferReportType,
2704
2725
  Sn as transferToMainType,
2705
2726
  Yn as unbindUserDeviceType,
2706
- Da as upcomingMatchType,
2727
+ Ca as upcomingMatchType,
2707
2728
  pn as updateProfilePictureType,
2708
2729
  Oa as vipListType,
2709
2730
  Fa as walletType,
2710
2731
  Ga as withdrawType,
2711
- Ia as withdrawalGetType
2732
+ wa as withdrawalGetType
2712
2733
  };