60p82u21t54k 0.0.60 → 0.0.61

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.
@@ -1,5 +1,5 @@
1
- import U from "axios";
2
- const B = U.create({
1
+ import G from "axios";
2
+ const B = G.create({
3
3
  baseURL: "/graph",
4
4
  timeout: 5e3,
5
5
  // Request timeout
@@ -59,34 +59,65 @@ B.interceptors.response.use(
59
59
  return e.response ? (t.status = e.response.status, t.message = e.response.data.message || e.response.statusText, console.error("Error response:", JSON.stringify(t)), e.response.status === 401 ? console.error("Unauthorized access - redirecting to login.") : e.response.status === 404 ? console.error("Resource not found.") : e.response.status >= 500 && console.error("Server error. Please try again later.")) : e.request ? console.error("No response received:", e.request) : console.error("Error setting up request:", e.message), Promise.reject(t);
60
60
  }
61
61
  );
62
- const $ = (e) => new TextEncoder().encode(e), A = (e) => {
62
+ const z = (e) => new TextEncoder().encode(e), A = (e) => {
63
63
  try {
64
64
  return atob(e);
65
65
  } catch (t) {
66
66
  return console.error("Failed to decode Base64:", t), "";
67
67
  }
68
+ }, $ = () => {
69
+ const e = /* @__PURE__ */ new Date(), t = new Date(e.getTime()), n = t.getUTCFullYear(), c = t.getUTCMonth(), d = new Date(n, c + 1, 1, 12, 0, 0).getTime() - t.getTime();
70
+ return Math.floor(d / 1e3);
71
+ }, E = () => {
72
+ const e = /* @__PURE__ */ new Date(), t = new Date(e.getTime()), n = t.getUTCDay(), c = (n === 1 ? 7 : 8 - n) % 7, d = new Date(
73
+ Date.UTC(
74
+ t.getUTCFullYear(),
75
+ t.getUTCMonth(),
76
+ t.getUTCDate() + c,
77
+ 4,
78
+ 0,
79
+ 0,
80
+ 0
81
+ // 12:00 AM UTC-4
82
+ )
83
+ ).getTime() - t.getTime();
84
+ return Math.floor(d / 1e3);
85
+ }, V = () => {
86
+ const e = /* @__PURE__ */ new Date(), t = new Date(e.getTime()), c = new Date(
87
+ Date.UTC(
88
+ t.getUTCFullYear(),
89
+ t.getUTCMonth(),
90
+ t.getUTCDate() + 1,
91
+ 4,
92
+ 0,
93
+ 0,
94
+ 0
95
+ // 12:00 AM UTC-4
96
+ )
97
+ ).getTime() - t.getTime();
98
+ return Math.floor(c / 1e3);
68
99
  };
69
- var l = /* @__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))(l || {});
70
- const E = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
100
+ var m = /* @__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))(m || {});
101
+ const J = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
71
102
  __proto__: null,
72
- Api: l
103
+ Api: m
73
104
  }, Symbol.toStringTag, { value: "Module" }));
74
- var M = /* @__PURE__ */ ((e) => (e.default = "default", e.pay = "pay", e.auto = "auto", e.fix = "fix", e.manual = "manual", e.unknown = "unknown", e))(M || {});
75
- const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
105
+ var D = /* @__PURE__ */ ((e) => (e.default = "default", e.pay = "pay", e.auto = "auto", e.fix = "fix", e.manual = "manual", e.unknown = "unknown", e))(D || {});
106
+ const W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
76
107
  __proto__: null,
77
- PaymentType: M
78
- }, Symbol.toStringTag, { value: "Module" })), J = (e) => e.mdPaymentChannels.map((t) => {
108
+ PaymentType: D
109
+ }, Symbol.toStringTag, { value: "Module" })), H = (e) => e.mdPaymentChannels.map((t) => {
79
110
  const n = [];
80
111
  switch (t.name) {
81
- case M.default:
82
- n.push(z(t.paymentmethod.manual, e));
112
+ case D.default:
113
+ n.push(q(t.paymentmethod.manual, e));
83
114
  break;
84
- case M.pay:
85
- n.push(w(t.paymentmethod.onlinebanking, e));
115
+ case D.pay:
116
+ n.push(Y(t.paymentmethod.onlinebanking, e));
86
117
  break;
87
118
  default:
88
119
  if (t.paymentmethod.auto.bank.length > 0 && n.push(
89
- W(t.bankid ?? 0, t.paymentmethod.auto, e)
120
+ K(t.bankid ?? 0, t.paymentmethod.auto, e)
90
121
  ), t.paymentmethod.manual.bank.length > 0) {
91
122
  let c = !1;
92
123
  for (let s = 0; s < t.paymentmethod.manual.bank.length; s++) {
@@ -96,10 +127,10 @@ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
96
127
  break;
97
128
  }
98
129
  }
99
- c && n.push(z(t.paymentmethod.manual, e));
130
+ c && n.push(q(t.paymentmethod.manual, e));
100
131
  }
101
132
  t.paymentmethod.fixamount.bank.length > 0 && n.push(
102
- H(t.bankid ?? 0, t.paymentmethod.fixamount)
133
+ Q(t.bankid ?? 0, t.paymentmethod.fixamount)
103
134
  );
104
135
  }
105
136
  return {
@@ -107,10 +138,10 @@ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
107
138
  imageUrl: `/image/game/native/deposit/sidemenu/${t.name}.png?${e.systemtime}`,
108
139
  paymentList: n
109
140
  };
110
- }), G = {
141
+ }), I = {
111
142
  id: 0,
112
143
  name: "",
113
- type: M.unknown,
144
+ type: D.unknown,
114
145
  promo: [],
115
146
  bank: [],
116
147
  requiredField: {
@@ -121,7 +152,7 @@ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
121
152
  depositor: !1,
122
153
  uploadReceipt: !1
123
154
  }
124
- }, q = (e) => {
155
+ }, F = (e) => {
125
156
  const t = {
126
157
  id: 0,
127
158
  name: "excludePromo",
@@ -140,34 +171,34 @@ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
140
171
  const b = Math.round(s);
141
172
  let p = 1e3;
142
173
  d < p && (p = Math.round(d));
143
- const _ = p - b;
144
- let y = "", h = "";
145
- if (_ > 0) {
146
- let f = Math.round((p - b) * 0.25).toString().split(""), L = [];
174
+ const y = p - b;
175
+ let _ = "", h = "";
176
+ if (y > 0) {
177
+ let f = Math.round((p - b) * 0.25).toString().split(""), M = [];
147
178
  for (const o of f)
148
- o !== "" && L.push(o);
149
- for (let o = 0; o < L.length; o++)
150
- o === 0 ? y += (parseInt(L[o]) + 1).toString() : y += "0";
151
- f = Math.round((p - b) * 0.5).toString().split(""), L = [];
179
+ o !== "" && M.push(o);
180
+ for (let o = 0; o < M.length; o++)
181
+ o === 0 ? _ += (parseInt(M[o]) + 1).toString() : _ += "0";
182
+ f = Math.round((p - b) * 0.5).toString().split(""), M = [];
152
183
  for (const o of f)
153
- o !== "" && L.push(o);
154
- for (let o = 0; o < L.length; o++)
155
- o === 0 ? h += (parseInt(L[o]) + 1).toString() : h += "0";
184
+ o !== "" && M.push(o);
185
+ for (let o = 0; o < M.length; o++)
186
+ o === 0 ? h += (parseInt(M[o]) + 1).toString() : h += "0";
156
187
  } else
157
- y = p.toString(), h = p.toString();
188
+ _ = p.toString(), h = p.toString();
158
189
  return { amountList: [
159
190
  b.toString(),
160
- y,
191
+ _,
161
192
  h,
162
193
  p.toString()
163
194
  ], minAmount: b, maxAmount: d };
164
- }, z = (e, t) => t ? {
195
+ }, q = (e, t) => t ? {
165
196
  id: 0,
166
197
  name: "manualMethod",
167
- type: M.manual,
168
- promo: q(e.promo),
198
+ type: D.manual,
199
+ promo: F(e.promo),
169
200
  bank: e.bank.map((s) => {
170
- const d = s.list && s.list.length > 0 ? s.list[0].mintransaction ?? "0.00" : "0.00", b = s.list && s.list.length > 0 ? s.list[0].maxtransaction ?? "0.00" : "0.00", { amountList: p, minAmount: _, maxAmount: y } = P(
201
+ const d = s.list && s.list.length > 0 ? s.list[0].mintransaction ?? "0.00" : "0.00", b = s.list && s.list.length > 0 ? s.list[0].maxtransaction ?? "0.00" : "0.00", { amountList: p, minAmount: y, maxAmount: _ } = P(
171
202
  Number(d),
172
203
  Number(b),
173
204
  t.mdBankLevelDetail.deposit_min,
@@ -181,38 +212,38 @@ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
181
212
  accountNo: s.list && s.list.length > 0 ? s.list[0].bankaccountno ?? "" : "",
182
213
  qrcode: s.list && s.list.length > 0 ? s.list[0].bankaccountdesc : "",
183
214
  amountList: p,
184
- min: _,
185
- max: y
215
+ min: y,
216
+ max: _
186
217
  };
187
218
  }),
188
219
  requiredField: {
189
220
  ...t.mdManualDepositRequireField,
190
221
  uploadReceipt: t.mdUploadReceipt
191
222
  }
192
- } : G, w = (e, t) => t ? {
223
+ } : I, Y = (e, t) => t ? {
193
224
  id: 0,
194
225
  name: "onlineBankingMethod",
195
- type: M.pay,
196
- promo: q(e.promo),
226
+ type: D.pay,
227
+ promo: F(e.promo),
197
228
  bank: e.banklist.map((s) => {
198
229
  let d = "0.00", b = "0.00";
199
230
  const p = s.bankindex ?? 0;
200
231
  for (let f = 0; f < t.mdGatewayMinMax.length; f++)
201
232
  t.mdGatewayMinMax[f].bankindex == p.toString() && (d = t.mdGatewayMinMax[f].min, b = t.mdGatewayMinMax[f].max);
202
- const { amountList: _, minAmount: y, maxAmount: h } = P(
233
+ const { amountList: y, minAmount: _, maxAmount: h } = P(
203
234
  Number(d),
204
235
  Number(b),
205
236
  t.mdBankLevelDetail.onlinepayment_min,
206
237
  t.mdBankLevelDetail.onlinepayment_max
207
- ), S = {
238
+ ), T = {
208
239
  id: 0,
209
240
  name: "autoChannel",
210
- amountList: _,
211
- min: y,
241
+ amountList: y,
242
+ min: _,
212
243
  max: h
213
244
  }, v = s.pg.map((f) => {
214
- const L = f.mintransaction ?? "0.00", j = f.maxtransaction ?? "0.00", { amountList: C, minAmount: o, maxAmount: u } = P(
215
- Number(L),
245
+ const M = f.mintransaction ?? "0.00", j = f.maxtransaction ?? "0.00", { amountList: U, minAmount: o, maxAmount: l } = P(
246
+ Number(M),
216
247
  Number(j),
217
248
  t.mdBankLevelDetail.onlinepayment_min,
218
249
  t.mdBankLevelDetail.onlinepayment_max
@@ -220,9 +251,9 @@ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
220
251
  return {
221
252
  id: f.pgindex,
222
253
  name: f.bankaccountname,
223
- amountList: C,
254
+ amountList: U,
224
255
  min: o,
225
- max: u
256
+ max: l
226
257
  };
227
258
  });
228
259
  return {
@@ -231,7 +262,7 @@ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
231
262
  amountList: [],
232
263
  min: 0,
233
264
  max: 0,
234
- gateway: [S, ...v]
265
+ gateway: [T, ...v]
235
266
  };
236
267
  }),
237
268
  requiredField: {
@@ -242,14 +273,14 @@ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
242
273
  depositor: !1,
243
274
  uploadReceipt: !1
244
275
  }
245
- } : G, W = (e, t, n) => {
246
- if (!n) return G;
247
- const c = M.auto;
276
+ } : I, K = (e, t, n) => {
277
+ if (!n) return I;
278
+ const c = D.auto;
248
279
  let s = [];
249
280
  const d = n.mdGatewayMinMax;
250
281
  if (t.bank.length > 0 && n.mdPGSelection == "1")
251
282
  s = t.bank.map((p) => {
252
- const { amountList: _, minAmount: y, maxAmount: h } = P(
283
+ const { amountList: y, minAmount: _, maxAmount: h } = P(
253
284
  p.minTransaction ?? 0,
254
285
  p.maxTransaction ?? 0,
255
286
  n.mdBankLevelDetail.onlinepayment_min,
@@ -258,26 +289,26 @@ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
258
289
  return {
259
290
  id: p.pgindex,
260
291
  name: p.bankaccountname || "",
261
- amountList: _,
262
- min: y,
292
+ amountList: y,
293
+ min: _,
263
294
  max: h
264
295
  };
265
296
  });
266
297
  else {
267
- let p = "0.00", _ = "0.00";
268
- for (let a = 0; a < d.length; a++)
269
- d[a].bankindex === e.toString() && (p = d[a].min, _ = d[a].max);
270
- const { amountList: y, minAmount: h, maxAmount: S } = P(
298
+ let p = "0.00", y = "0.00";
299
+ for (let r = 0; r < d.length; r++)
300
+ d[r].bankindex === e.toString() && (p = d[r].min, y = d[r].max);
301
+ const { amountList: _, minAmount: h, maxAmount: T } = P(
271
302
  Number(p),
272
- Number(_),
303
+ Number(y),
273
304
  n.mdBankLevelDetail.onlinepayment_min,
274
305
  n.mdBankLevelDetail.onlinepayment_max
275
306
  ), v = {
276
307
  id: 0,
277
308
  name: "autoChannel",
278
- amountList: y,
309
+ amountList: _,
279
310
  min: h,
280
- max: S
311
+ max: T
281
312
  };
282
313
  s.push(v);
283
314
  }
@@ -285,7 +316,7 @@ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
285
316
  id: e,
286
317
  name: "autoMethod",
287
318
  type: c,
288
- promo: q(t.promo),
319
+ promo: F(t.promo),
289
320
  bank: s,
290
321
  requiredField: {
291
322
  deposit_bank: !1,
@@ -296,15 +327,15 @@ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
296
327
  uploadReceipt: !1
297
328
  }
298
329
  };
299
- }, H = (e, t) => {
300
- const n = M.fix;
330
+ }, Q = (e, t) => {
331
+ const n = D.fix;
301
332
  return {
302
333
  id: e,
303
334
  name: "fixAmountMethod",
304
335
  type: n,
305
- promo: q(t.promo),
336
+ promo: F(t.promo),
306
337
  bank: t.bank.map((s) => {
307
- const d = s.amtlist.map(Number).sort((p, _) => p - _);
338
+ const d = s.amtlist.map(Number).sort((p, y) => p - y);
308
339
  return {
309
340
  id: s.pgindex,
310
341
  name: s.name,
@@ -322,18 +353,18 @@ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
322
353
  uploadReceipt: !1
323
354
  }
324
355
  };
325
- }, Y = (e) => e.map((t) => ({
356
+ }, X = (e) => e.map((t) => ({
326
357
  alert: t.announcement_alert == "1",
327
358
  update_time: t.announcement_lastupdated,
328
359
  content: t.announcement_simplified
329
- })), K = (e) => ({
360
+ })), Z = (e) => ({
330
361
  username: e.username,
331
362
  birthday: e.mdUserDetail.dob,
332
363
  email: e.mdUserDetail.email,
333
364
  fullName: e.mdUserDetail.firstname,
334
365
  phoneNumber: e.mdUserDetail.mobileno,
335
366
  profilePicUrl: e.mdUserDetail.profile_pic
336
- }), Q = (e) => e.mdGameListResult.map((t) => ({
367
+ }), ee = (e) => e.mdGameListResult.map((t) => ({
337
368
  code: t.code,
338
369
  id: t.id,
339
370
  name: t.name,
@@ -345,7 +376,7 @@ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
345
376
  imageUrl: n.img,
346
377
  rate: "0.00"
347
378
  }))
348
- })), X = (e) => ({
379
+ })), te = (e) => ({
349
380
  list: e.mdGrade.map((t) => ({
350
381
  id: t.gradeindex,
351
382
  is_current_level: !1,
@@ -375,18 +406,24 @@ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
375
406
  bonus: {
376
407
  month: {
377
408
  isShow: !1,
378
- value: "M"
409
+ isClaimable: !1,
410
+ value: "M",
411
+ timestamp: 0
379
412
  },
380
413
  week: {
381
414
  isShow: !1,
382
- value: "W"
415
+ isClaimable: !1,
416
+ value: "W",
417
+ timestamp: 0
383
418
  },
384
419
  day: {
385
420
  isShow: !1,
386
- value: "D"
421
+ isClaimable: !1,
422
+ value: "D",
423
+ timestamp: 0
387
424
  }
388
425
  }
389
- }), Z = (e) => ({
426
+ }), ne = (e) => ({
390
427
  category: e.category.sort((t, n) => t.sequence - n.sequence).map((t) => ({
391
428
  id: t.catid,
392
429
  name: t.name
@@ -401,29 +438,26 @@ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
401
438
  name: t.title
402
439
  };
403
440
  })
404
- }), ee = (e) => ({
441
+ }), oe = (e) => ({
405
442
  month: {
406
- isShow: e.month === 1,
407
- value: "M"
443
+ isClaimable: e.month === 1
408
444
  },
409
445
  week: {
410
- isShow: e.week === 1,
411
- value: "W"
446
+ isClaimable: e.week === 1
412
447
  },
413
448
  day: {
414
- isShow: e.day === 1,
415
- value: "D"
449
+ isClaimable: e.day === 1
416
450
  }
417
- }), te = (e) => e.mdVipSetting.filter((n) => n.status == 1).map((n) => ({
451
+ }), se = (e) => e.mdVipSetting.filter((n) => n.status == 1).map((n) => ({
418
452
  fieldName: n.fieldname,
419
453
  showName: n.showname
420
- })), ne = (e) => ({
454
+ })), ae = (e) => ({
421
455
  current_deposit: e.deposit,
422
456
  current_turnover: e.turnOver,
423
457
  current_grade_id: e.mdCurrentGrade.gradeindex,
424
458
  next_grade_id: e.mdNextGrade.gradeindex,
425
459
  percentage: Number(e.percentage) * 100
426
- }), oe = (e) => {
460
+ }), ie = (e) => {
427
461
  let t = 4;
428
462
  e.vipcalculation && (t = Number(e.vipcalculation));
429
463
  let n = [];
@@ -436,7 +470,7 @@ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
436
470
  })),
437
471
  mobileValidate: e.mobilevalidate ? e.mobilevalidate == "1" : !1
438
472
  };
439
- }, se = (e) => {
473
+ }, re = (e) => {
440
474
  let t = [];
441
475
  e.mobileBanner && (t = e.mobileBanner);
442
476
  let n = [];
@@ -450,57 +484,57 @@ const V = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
450
484
  content: s.content
451
485
  }))
452
486
  };
453
- }, ae = (e) => e.data.filter((t) => t.status === "1").map((t) => ({
487
+ }, le = (e) => e.data.filter((t) => t.status === "1").map((t) => ({
454
488
  code: t.area_code,
455
489
  regex: t.regex,
456
490
  value: t.value
457
- })), ie = (e) => e, re = (e) => {
491
+ })), me = (e) => e, ue = (e) => {
458
492
  let t = null;
459
493
  return e ? e.status != 1 ? t = 0 : t = e.mainwallet : t = 0, {
460
494
  amount: t
461
495
  };
462
- }, le = (e) => e.data.filter((t) => t.status == "1").map((t) => ({
496
+ }, ce = (e) => e.data.filter((t) => t.status == "1").map((t) => ({
463
497
  name: t.title,
464
498
  icon_url: t.flag_icon,
465
499
  code: t.code
466
- })), ue = (e) => (console.log(e), {
500
+ })), de = (e) => (console.log(e), {
467
501
  name: ""
468
- }), me = (e) => e.data.filter((t) => t.company_status == 1).map((t) => ({
502
+ }), pe = (e) => e.data.filter((t) => t.company_status == 1).map((t) => ({
469
503
  id: t.company_id,
470
504
  name: t.company_name,
471
505
  date: []
472
- })), ce = (e) => e.data.map((t) => ({
506
+ })), ge = (e) => e.data.map((t) => ({
473
507
  id: t.key,
474
- date: t.draw_date.map((n) => de(n.draw_tmactive))
508
+ date: t.draw_date.map((n) => fe(n.draw_tmactive))
475
509
  }));
476
- function de(e) {
510
+ function fe(e) {
477
511
  const t = new Date(e * 1e3), n = t.getFullYear(), c = ("0" + (t.getMonth() + 1)).slice(-2), s = ("0" + t.getDate()).slice(-2);
478
512
  return `${n}-${c}-${s}`;
479
513
  }
480
- const pe = (e) => e.data.map((t) => ({
514
+ const be = (e) => e.data.map((t) => ({
481
515
  id: t.company_id,
482
516
  list: t.drawCount.map((n) => ({
483
517
  combination: n.combination_combination,
484
518
  total: n.total
485
519
  }))
486
- })), ge = (e) => e.data.map((t) => ({
520
+ })), ye = (e) => e.data.map((t) => ({
487
521
  id: t.company_id,
488
522
  resultByDateList: t.draws.map((n) => {
489
- const c = n.results.filter((a) => a.combination_dimension == 3).map((a) => a.combination_combination), s = n.results.filter(
490
- (a) => a.combination_dimension == 4 && a.combination_position == 1
491
- ).map((a) => a.combination_combination), d = n.results.filter(
492
- (a) => a.combination_dimension == 4 && a.combination_position == 2
493
- ).map((a) => a.combination_combination), b = n.results.filter(
494
- (a) => a.combination_dimension == 4 && a.combination_position == 3
495
- ).map((a) => a.combination_combination), p = n.results.filter(
496
- (a) => a.combination_dimension == 4 && a.combination_position == 4
497
- ).map((a) => a.combination_combination), _ = n.results.filter(
498
- (a) => a.combination_dimension == 4 && a.combination_position == 5
499
- ).map((a) => a.combination_combination), y = n.results.filter(
500
- (a) => a.combination_dimension == 5 && a.combination_position == 1
501
- ).map((a) => a.combination_combination), h = n.results.filter((a) => a.combination_dimension == 5).map((a) => a.combination_combination), S = n.results.filter(
502
- (a) => a.combination_dimension == 6 && a.combination_position == 1
503
- ).map((a) => a.combination_combination), v = n.results.filter((a) => a.combination_dimension == 6).map((a) => a.combination_combination);
523
+ const c = n.results.filter((r) => r.combination_dimension == 3).map((r) => r.combination_combination), s = n.results.filter(
524
+ (r) => r.combination_dimension == 4 && r.combination_position == 1
525
+ ).map((r) => r.combination_combination), d = n.results.filter(
526
+ (r) => r.combination_dimension == 4 && r.combination_position == 2
527
+ ).map((r) => r.combination_combination), b = n.results.filter(
528
+ (r) => r.combination_dimension == 4 && r.combination_position == 3
529
+ ).map((r) => r.combination_combination), p = n.results.filter(
530
+ (r) => r.combination_dimension == 4 && r.combination_position == 4
531
+ ).map((r) => r.combination_combination), y = n.results.filter(
532
+ (r) => r.combination_dimension == 4 && r.combination_position == 5
533
+ ).map((r) => r.combination_combination), _ = n.results.filter(
534
+ (r) => r.combination_dimension == 5 && r.combination_position == 1
535
+ ).map((r) => r.combination_combination), h = n.results.filter((r) => r.combination_dimension == 5).map((r) => r.combination_combination), T = n.results.filter(
536
+ (r) => r.combination_dimension == 6 && r.combination_position == 1
537
+ ).map((r) => r.combination_combination), v = n.results.filter((r) => r.combination_dimension == 6).map((r) => r.combination_combination);
504
538
  return {
505
539
  date: n.date,
506
540
  3: c,
@@ -509,19 +543,19 @@ const pe = (e) => e.data.map((t) => ({
509
543
  2: d,
510
544
  3: b,
511
545
  4: p,
512
- 5: _
546
+ 5: y
513
547
  },
514
548
  5: {
515
- 1: y,
549
+ 1: _,
516
550
  all: h
517
551
  },
518
552
  6: {
519
- 1: S,
553
+ 1: T,
520
554
  all: v
521
555
  }
522
556
  };
523
557
  })
524
- })), fe = (e) => e.data.map((t) => ({
558
+ })), _e = (e) => e.data.map((t) => ({
525
559
  id: t.id,
526
560
  date: t.matchDate,
527
561
  tag: t.tag,
@@ -535,36 +569,36 @@ const pe = (e) => e.data.map((t) => ({
535
569
  name: t.home,
536
570
  logo_url: t.homeLogo
537
571
  }
538
- })), be = (e) => e, _e = (e) => ({
572
+ })), he = (e) => e, ve = (e) => ({
539
573
  status: e.status == 1,
540
574
  message: e.message ?? "",
541
575
  error_message: e.errormessage ?? "",
542
576
  flag: e.flag
543
- }), ye = async (e) => {
544
- var t, n, c, s, d, b, p, _, y, h, S;
577
+ }), xe = async (e) => {
578
+ var t, n, c, s, d, b, p, y, _, h, T;
545
579
  try {
546
- e.findIndex((u) => u.name === l.vipList) !== -1 && e.push(
580
+ e.findIndex((l) => l.name === m.vipList) !== -1 && e.push(
547
581
  {
548
- name: l.vipBonus,
582
+ name: m.vipBonus,
549
583
  query: ""
550
584
  },
551
- { name: l.vipFieldStatus, query: "" },
552
- { name: l.vipStatus, query: "" },
553
- { name: l.getSetting, query: JSON.stringify({ name: ["vipcalculation"] }) }
554
- ), e.findIndex((u) => u.name === l.gameList) !== -1 && e.push({
555
- name: l.getPlatformTurnoverRate,
585
+ { name: m.vipFieldStatus, query: "" },
586
+ { name: m.vipStatus, query: "" },
587
+ { name: m.getSetting, query: JSON.stringify({ name: ["vipcalculation"] }) }
588
+ ), e.findIndex((l) => l.name === m.gameList) !== -1 && e.push({
589
+ name: m.getPlatformTurnoverRate,
556
590
  query: ""
557
591
  });
558
592
  const f = e.findIndex(
559
- (u) => u.name === l.getFourDimensionData
593
+ (l) => l.name === m.getFourDimensionData
560
594
  );
561
595
  f !== -1 && e[f].query == "" && (e.splice(f), e.push(
562
596
  {
563
- name: l.getFourDimensionData,
597
+ name: m.getFourDimensionData,
564
598
  query: JSON.stringify({ action: "getCompany", native: "1" })
565
599
  },
566
600
  {
567
- name: l.getFourDimensionData,
601
+ name: m.getFourDimensionData,
568
602
  query: JSON.stringify({
569
603
  action: "searchResultDate",
570
604
  limit: 100,
@@ -575,262 +609,271 @@ const pe = (e) => e.data.map((t) => ({
575
609
  }
576
610
  ));
577
611
  const j = {
578
- requests: e.map((u) => ({
579
- name: u.name,
580
- query: btoa(u.query)
612
+ requests: e.map((l) => ({
613
+ name: l.name,
614
+ query: btoa(l.query)
581
615
  }))
582
- }, C = await B.post(
616
+ }, U = await B.post(
583
617
  "/jwt",
584
- $(JSON.stringify(j))
618
+ z(JSON.stringify(j))
585
619
  ), o = {
586
620
  status: 200,
587
621
  message: "",
588
622
  result: {}
589
623
  };
590
- for (const u of C.data.responses) {
591
- u.error != null && u.error.code != 200 && (o.status = u.error.code, o.message = u.error.message);
592
- const g = u.attributes !== null && u.attributes !== void 0 ? A(u.attributes) : null, i = u.name, r = g ? JSON.parse(g) : null;
593
- if (!r)
594
- o.result[i] = null;
624
+ for (const l of U.data.responses) {
625
+ l.error != null && l.error.code != 200 && (o.status = l.error.code, o.message = l.error.message);
626
+ const g = l.attributes !== null && l.attributes !== void 0 ? A(l.attributes) : null, a = l.name, i = g ? JSON.parse(g) : null;
627
+ if (!i)
628
+ o.result[a] = null;
595
629
  else
596
- switch (i) {
597
- case l.announcement:
598
- o.result[i] = Y(r);
630
+ switch (a) {
631
+ case m.announcement:
632
+ o.result[a] = X(i);
599
633
  break;
600
- case l.gameList:
601
- o.result[i] = Q(r);
634
+ case m.gameList:
635
+ o.result[a] = ee(i);
602
636
  break;
603
- case l.cmsList:
604
- o.result[i] = se(r);
637
+ case m.cmsList:
638
+ o.result[a] = re(i);
605
639
  break;
606
- case l.paymentsProvider:
607
- o.result[i] = J(
608
- r
640
+ case m.paymentsProvider:
641
+ o.result[a] = H(
642
+ i
609
643
  );
610
644
  break;
611
- case l.getUserProfile:
612
- o.result[i] = K(r);
645
+ case m.getUserProfile:
646
+ o.result[a] = Z(i);
613
647
  break;
614
- case l.vipList:
615
- o.result[i] = X(r);
648
+ case m.vipList:
649
+ o.result[a] = te(i);
616
650
  break;
617
- case l.vipBonus:
618
- o.result[i] = ee(r);
651
+ case m.vipBonus:
652
+ console.log(i), o.result[a] = oe(i);
619
653
  break;
620
- case l.vipFieldStatus:
621
- o.result[i] = te(r);
654
+ case m.vipFieldStatus:
655
+ o.result[a] = se(i);
622
656
  break;
623
- case l.vipStatus:
624
- o.result[i] = ne(r);
657
+ case m.vipStatus:
658
+ o.result[a] = ae(i);
625
659
  break;
626
- case l.promotion:
627
- o.result[i] = Z(r);
660
+ case m.promotion:
661
+ o.result[a] = ne(i);
628
662
  break;
629
- case l.getSetting:
630
- o.result[i] = oe(r);
663
+ case m.getSetting:
664
+ o.result[a] = ie(i);
631
665
  break;
632
- case l.getCountryMobile:
633
- o.result[i] = ae(
634
- r
666
+ case m.getCountryMobile:
667
+ o.result[a] = le(
668
+ i
635
669
  );
636
670
  break;
637
- case l.getPlatformTurnoverRate:
638
- o.result[i] = ie(
639
- r
671
+ case m.getPlatformTurnoverRate:
672
+ o.result[a] = me(
673
+ i
640
674
  );
641
675
  break;
642
- case l.mainWallet:
643
- o.result[i] = re(r);
676
+ case m.mainWallet:
677
+ o.result[a] = ue(i);
644
678
  break;
645
- case l.getLanguageSetting:
646
- o.result[i] = le(
647
- r
679
+ case m.getLanguageSetting:
680
+ o.result[a] = ce(
681
+ i
648
682
  );
649
683
  break;
650
- case l.getFourDimensionData:
651
- o.result[i] = ue(
652
- r
684
+ case m.getFourDimensionData:
685
+ o.result[a] = de(
686
+ i
653
687
  );
654
688
  break;
655
- case l.getCompany:
656
- o.result[i] = me(r);
689
+ case m.getCompany:
690
+ o.result[a] = pe(i);
657
691
  break;
658
- case l.searchResultDate:
659
- o.result[i] = ce(
660
- r
692
+ case m.searchResultDate:
693
+ o.result[a] = ge(
694
+ i
661
695
  );
662
696
  break;
663
- case l.searchHot:
664
- o.result[i] = pe(r);
697
+ case m.searchHot:
698
+ o.result[a] = be(i);
665
699
  break;
666
- case l.searchByDate:
667
- o.result[i] = ge(r);
700
+ case m.searchByDate:
701
+ o.result[a] = ye(i);
668
702
  break;
669
- case l.upcomingMatches:
670
- o.result[i] = fe(
671
- r
703
+ case m.upcomingMatches:
704
+ o.result[a] = _e(
705
+ i
672
706
  );
673
707
  break;
674
- case l.deposit:
675
- o.result[i] = be(r);
708
+ case m.deposit:
709
+ o.result[a] = he(i);
676
710
  break;
677
- case l.applyVipBonus:
678
- o.result[i] = _e(r);
711
+ case m.applyVipBonus:
712
+ o.result[a] = ve(i);
679
713
  break;
680
714
  }
681
715
  }
682
- if (l.vipList in o.result && ((t = o.result) != null && t.vipList)) {
683
- const u = o.result.vipList;
716
+ if (m.vipList in o.result && ((t = o.result) != null && t.vipList)) {
717
+ const l = o.result.vipList;
684
718
  let g = 4;
685
- if (l.getSetting in o.result && ((n = o.result) != null && n.getSetting && (g = o.result.getSetting.vip_calculation), delete o.result.getSetting), l.vipBonus in o.result && ((c = o.result) != null && c.vipBonus && (u.bonus = o.result.vipBonus), delete o.result.vipBonus), l.vipStatus in o.result) {
686
- if ((s = o.result) != null && s.vipStatus) {
687
- const i = o.result.vipStatus, {
688
- current_grade_id: r,
689
- current_deposit: R,
690
- current_turnover: T,
691
- percentage: I
692
- } = i, D = u.list.findIndex((x) => x.id === r);
693
- u.list = u.list.map((x, N) => {
694
- const O = N === D;
695
- let k = "0", m = "0", F = 0;
696
- return O ? (k = `${Math.min(Number(R), Number(x.deposit.total))}`, m = `${Math.min(Number(T), Number(x.turnover.total))}`, F = I) : N < D ? (k = x.deposit.total, m = x.turnover.total, F = 1) : N > D && (k = "0.00", m = "0.00", F = 0), {
719
+ if (m.getSetting in o.result && ((n = o.result) != null && n.getSetting && (g = o.result.getSetting.vip_calculation), delete o.result.getSetting), m.vipStatus in o.result) {
720
+ if ((c = o.result) != null && c.vipStatus) {
721
+ const a = o.result.vipStatus, {
722
+ current_grade_id: i,
723
+ current_deposit: S,
724
+ current_turnover: C,
725
+ percentage: L
726
+ } = a, k = l.list.findIndex((x) => x.id === i);
727
+ l.list = l.list.map((x, N) => {
728
+ const O = N === k;
729
+ let R = "0", u = "0", w = 0;
730
+ return O ? (R = `${Math.min(Number(S), Number(x.deposit.total))}`, u = `${Math.min(Number(C), Number(x.turnover.total))}`, w = L) : N < k ? (R = x.deposit.total, u = x.turnover.total, w = 1) : N > k && (R = "0.00", u = "0.00", w = 0), {
697
731
  ...x,
698
732
  is_current_level: O,
699
733
  deposit: {
700
734
  ...x.deposit,
701
735
  isShow: g === 1 || g === 3 || g === 4,
702
- current: k
736
+ current: R
703
737
  },
704
738
  turnover: {
705
739
  ...x.turnover,
706
740
  isShow: g === 2 || g === 3 || g === 4,
707
- current: m
741
+ current: u
708
742
  },
709
- percentage: F
743
+ percentage: w
710
744
  };
711
745
  });
712
746
  }
713
747
  delete o.result.vipStatus;
714
748
  }
715
- if (l.vipFieldStatus in o.result) {
749
+ if (m.vipBonus in o.result) {
750
+ if ((s = o.result) != null && s.vipBonus) {
751
+ const a = o.result.vipBonus, i = l.list.find((k) => k.is_current_level == !0);
752
+ console.log(l.list);
753
+ const S = Number(i == null ? void 0 : i.benefit_list.daily.bonus) ?? 0, C = Number(i == null ? void 0 : i.benefit_list.weekly.bonus) ?? 0, L = Number(i == null ? void 0 : i.benefit_list.monthly.bonus) ?? 0;
754
+ l.bonus.day.isClaimable = a.day.isClaimable, l.bonus.day.timestamp = !a.day.isClaimable && S > 0 ? V() : 0, l.bonus.week.isClaimable = a.week.isClaimable, l.bonus.week.timestamp = !a.week.isClaimable && C > 0 ? E() : 0, l.bonus.month.isClaimable = a.month.isClaimable, l.bonus.month.timestamp = !a.month.isClaimable && L > 0 ? $() : 0;
755
+ }
756
+ delete o.result.vipBonus;
757
+ }
758
+ if (m.vipFieldStatus in o.result) {
716
759
  if ((d = o.result) != null && d.vipFieldStatus) {
717
- const i = o.result.vipFieldStatus, r = [];
718
- r.push({
760
+ const a = o.result.vipFieldStatus, i = [];
761
+ i.push({
719
762
  name: "",
720
763
  code: "vipLevel",
721
- value: u.list.map((m) => m.name)
764
+ value: l.list.map((u) => u.name)
722
765
  });
723
- const R = i.findIndex(
724
- (m) => m.fieldName == "upgrade_bonus"
766
+ const S = a.findIndex(
767
+ (u) => u.fieldName == "upgrade_bonus"
725
768
  );
726
- R > -1 && r.push({
727
- name: i[R].showName,
769
+ S > -1 && i.push({
770
+ name: a[S].showName,
728
771
  code: "",
729
- value: u.list.map((m) => m.benefit_list.upgrade.bonus)
772
+ value: l.list.map((u) => u.benefit_list.upgrade.bonus)
730
773
  });
731
- const T = i.findIndex(
732
- (m) => m.fieldName == "upgrade_bonus_multiply"
774
+ const C = a.findIndex(
775
+ (u) => u.fieldName == "upgrade_bonus_multiply"
733
776
  );
734
- T > -1 && r.push({
735
- name: i[T].showName,
777
+ C > -1 && i.push({
778
+ name: a[C].showName,
736
779
  code: "",
737
- value: u.list.map((m) => m.benefit_list.upgrade.turnover)
780
+ value: l.list.map((u) => u.benefit_list.upgrade.turnover)
738
781
  });
739
- const I = i.findIndex(
740
- (m) => m.fieldName == "monthly_bonus"
782
+ const L = a.findIndex(
783
+ (u) => u.fieldName == "monthly_bonus"
741
784
  );
742
- I > -1 && r.push({
743
- name: i[I].showName,
785
+ l.bonus.month.isShow = L > -1, L > -1 && i.push({
786
+ name: a[L].showName,
744
787
  code: "",
745
- value: u.list.map((m) => m.benefit_list.monthly.bonus)
788
+ value: l.list.map((u) => u.benefit_list.monthly.bonus)
746
789
  });
747
- const D = i.findIndex(
748
- (m) => m.fieldName == "monthly_bonus_multiply"
790
+ const k = a.findIndex(
791
+ (u) => u.fieldName == "monthly_bonus_multiply"
749
792
  );
750
- D > -1 && r.push({
751
- name: i[D].showName,
793
+ k > -1 && i.push({
794
+ name: a[k].showName,
752
795
  code: "",
753
- value: u.list.map((m) => m.benefit_list.monthly.turnover)
796
+ value: l.list.map((u) => u.benefit_list.monthly.turnover)
754
797
  });
755
- const x = i.findIndex(
756
- (m) => m.fieldName == "weekly_bonus"
798
+ const x = a.findIndex(
799
+ (u) => u.fieldName == "weekly_bonus"
757
800
  );
758
- x > -1 && r.push({
759
- name: i[x].showName,
801
+ l.bonus.week.isShow = x > -1, x > -1 && i.push({
802
+ name: a[x].showName,
760
803
  code: "",
761
- value: u.list.map((m) => m.benefit_list.weekly.bonus)
804
+ value: l.list.map((u) => u.benefit_list.weekly.bonus)
762
805
  });
763
- const N = i.findIndex(
764
- (m) => m.fieldName == "weekly_bonus_multiply"
806
+ const N = a.findIndex(
807
+ (u) => u.fieldName == "weekly_bonus_multiply"
765
808
  );
766
- N > -1 && r.push({
767
- name: i[N].showName,
809
+ N > -1 && i.push({
810
+ name: a[N].showName,
768
811
  code: "",
769
- value: u.list.map((m) => m.benefit_list.weekly.turnover)
812
+ value: l.list.map((u) => u.benefit_list.weekly.turnover)
770
813
  });
771
- const O = i.findIndex(
772
- (m) => m.fieldName == "daily_bonus"
814
+ const O = a.findIndex(
815
+ (u) => u.fieldName == "daily_bonus"
773
816
  );
774
- O > -1 && r.push({
775
- name: i[O].showName,
817
+ l.bonus.day.isShow = O > -1, O > -1 && i.push({
818
+ name: a[O].showName,
776
819
  code: "",
777
- value: u.list.map((m) => m.benefit_list.daily.bonus)
820
+ value: l.list.map((u) => u.benefit_list.daily.bonus)
778
821
  });
779
- const k = i.findIndex(
780
- (m) => m.fieldName == "daily_bonus_multiply"
822
+ const R = a.findIndex(
823
+ (u) => u.fieldName == "daily_bonus_multiply"
781
824
  );
782
- k > -1 && r.push({
783
- name: i[k].showName,
825
+ R > -1 && i.push({
826
+ name: a[R].showName,
784
827
  code: "",
785
- value: u.list.map((m) => m.benefit_list.daily.turnover)
786
- }), (g === 1 || g === 3 || g === 4) && r.push({
828
+ value: l.list.map((u) => u.benefit_list.daily.turnover)
829
+ }), (g === 1 || g === 3 || g === 4) && i.push({
787
830
  name: "",
788
831
  code: "detail_deposit",
789
- value: u.list.map((m) => m.deposit.total)
790
- }), (g === 2 || g === 3 || g === 4) && r.push({
832
+ value: l.list.map((u) => u.deposit.total)
833
+ }), (g === 2 || g === 3 || g === 4) && i.push({
791
834
  name: "",
792
835
  code: "detail_turnover",
793
- value: u.list.map((m) => m.turnover.total)
794
- }), u.detail = r;
836
+ value: l.list.map((u) => u.turnover.total)
837
+ }), l.detail = i;
795
838
  }
796
839
  delete o.result.vipFieldStatus;
797
840
  }
798
- o.result.vipList = u;
841
+ o.result.vipList = l;
799
842
  }
800
- if (l.gameList in o.result && ((b = o.result) != null && b.gameList)) {
801
- const u = o.result.gameList;
802
- if (l.getPlatformTurnoverRate in o.result && ((p = o.result) != null && p.getPlatformTurnoverRate)) {
843
+ if (m.gameList in o.result && ((b = o.result) != null && b.gameList)) {
844
+ const l = o.result.gameList;
845
+ if (m.getPlatformTurnoverRate in o.result && ((p = o.result) != null && p.getPlatformTurnoverRate)) {
803
846
  const g = o.result.getPlatformTurnoverRate;
804
- u.forEach((i) => {
805
- i.list = i.list.map((r) => {
806
- const R = g.find(
807
- (T) => T.id === r.id
847
+ l.forEach((a) => {
848
+ a.list = a.list.map((i) => {
849
+ const S = g.find(
850
+ (C) => C.id === i.id
808
851
  );
809
852
  return {
810
- ...r,
811
- rate: (R == null ? void 0 : R.percentage) ?? "0.00"
853
+ ...i,
854
+ rate: (S == null ? void 0 : S.percentage) ?? "0.00"
812
855
  };
813
856
  });
814
857
  }), delete o.result.getPlatformTurnoverRate;
815
858
  }
816
- o.result.gameList = u;
859
+ o.result.gameList = l;
817
860
  }
818
- if (l.getCompany in o.result && ((_ = o.result) != null && _.getCompany)) {
819
- const u = o.result.getCompany;
820
- if (l.searchResultDate in o.result && (y = o.result) != null && y.searchResultDate) {
861
+ if (m.getCompany in o.result && ((y = o.result) != null && y.getCompany)) {
862
+ const l = o.result.getCompany;
863
+ if (m.searchResultDate in o.result && (_ = o.result) != null && _.searchResultDate) {
821
864
  const g = o.result.searchResultDate;
822
- u.forEach((i) => {
823
- const r = g.find((R) => R.id == i.id);
824
- r && (i.date = r == null ? void 0 : r.date);
865
+ l.forEach((a) => {
866
+ const i = g.find((S) => S.id == a.id);
867
+ i && (a.date = i == null ? void 0 : i.date);
825
868
  }), delete o.result.searchResultDate;
826
869
  }
827
- o.result.getCompany = u;
870
+ o.result.getCompany = l;
828
871
  }
829
872
  return o;
830
873
  } catch (v) {
831
- return U.isAxiosError(v) ? {
874
+ return G.isAxiosError(v) ? {
832
875
  status: ((h = v.response) == null ? void 0 : h.status) || 600,
833
- message: JSON.stringify((S = v.response) == null ? void 0 : S.data),
876
+ message: JSON.stringify((T = v.response) == null ? void 0 : T.data),
834
877
  result: {}
835
878
  } : (console.error(v), {
836
879
  status: v.status || 500,
@@ -838,10 +881,10 @@ const pe = (e) => e.data.map((t) => ({
838
881
  result: {}
839
882
  });
840
883
  }
841
- }, he = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
884
+ }, Se = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
842
885
  __proto__: null,
843
- post: ye
844
- }, Symbol.toStringTag, { value: "Module" })), ve = async (e, t) => {
886
+ post: xe
887
+ }, Symbol.toStringTag, { value: "Module" })), Te = async (e, t) => {
845
888
  try {
846
889
  const n = {
847
890
  status: 200,
@@ -860,10 +903,10 @@ const pe = (e) => e.data.map((t) => ({
860
903
  message: n.message
861
904
  };
862
905
  }
863
- }, xe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
906
+ }, Me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
864
907
  __proto__: null,
865
- call: ve
866
- }, Symbol.toStringTag, { value: "Module" })), Se = async () => {
908
+ call: Te
909
+ }, Symbol.toStringTag, { value: "Module" })), De = async () => {
867
910
  try {
868
911
  const e = {
869
912
  status: 200,
@@ -876,18 +919,14 @@ const pe = (e) => e.data.map((t) => ({
876
919
  message: e.message
877
920
  };
878
921
  }
879
- }, Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
922
+ }, Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
880
923
  __proto__: null,
881
- call: Se
882
- }, Symbol.toStringTag, { value: "Module" })), Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
883
- __proto__: null
884
- }, Symbol.toStringTag, { value: "Module" })), Me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
885
- __proto__: null
924
+ call: De
886
925
  }, Symbol.toStringTag, { value: "Module" })), ke = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
887
926
  __proto__: null
888
- }, Symbol.toStringTag, { value: "Module" })), Te = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
927
+ }, Symbol.toStringTag, { value: "Module" })), Le = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
889
928
  __proto__: null
890
- }, Symbol.toStringTag, { value: "Module" })), De = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
929
+ }, Symbol.toStringTag, { value: "Module" })), Re = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
891
930
  __proto__: null
892
931
  }, Symbol.toStringTag, { value: "Module" })), Ne = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
893
932
  __proto__: null
@@ -899,46 +938,50 @@ const pe = (e) => e.data.map((t) => ({
899
938
  __proto__: null
900
939
  }, Symbol.toStringTag, { value: "Module" })), je = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
901
940
  __proto__: null
902
- }, Symbol.toStringTag, { value: "Module" })), Ce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
941
+ }, Symbol.toStringTag, { value: "Module" })), Ue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
942
+ __proto__: null
943
+ }, Symbol.toStringTag, { value: "Module" })), we = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
944
+ __proto__: null
945
+ }, Symbol.toStringTag, { value: "Module" })), Fe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
903
946
  __proto__: null
904
947
  }, Symbol.toStringTag, { value: "Module" })), Ie = {
905
- api: he,
906
- loginApi: xe,
907
- logoutApi: Le,
908
- apiType: E,
909
- loginType: Re,
910
- logoutType: Me,
911
- announcementType: ke,
912
- paymentsProviderType: V,
913
- gameListType: Te,
914
- vipListType: De,
915
- promotionType: Ne,
916
- cmsListType: Oe,
917
- mainWalletType: Pe,
918
- upcomingMatchType: Be,
919
- depositType: je,
920
- applyVipBonus: Ce
921
- }, qe = {
948
+ api: Se,
949
+ loginApi: Me,
950
+ logoutApi: Ce,
951
+ apiType: J,
952
+ loginType: ke,
953
+ logoutType: Le,
954
+ announcementType: Re,
955
+ paymentsProviderType: W,
956
+ gameListType: Ne,
957
+ vipListType: Oe,
958
+ promotionType: Pe,
959
+ cmsListType: Be,
960
+ mainWalletType: je,
961
+ upcomingMatchType: Ue,
962
+ depositType: we,
963
+ applyVipBonus: Fe
964
+ }, Ge = {
922
965
  install(e) {
923
966
  e.config.globalProperties.$library = Ie;
924
967
  }
925
968
  };
926
969
  export {
927
- qe as Repository,
928
- ke as announcementType,
929
- he as api,
930
- E as apiType,
931
- Ce as applyVipBonus,
932
- Oe as cmsListType,
933
- je as depositType,
934
- Te as gameListType,
935
- xe as loginApi,
936
- Re as loginType,
937
- Le as logoutApi,
938
- Me as logoutType,
939
- Pe as mainWalletType,
940
- V as paymentsProviderType,
941
- Ne as promotionType,
942
- Be as upcomingMatchType,
943
- De as vipListType
970
+ Ge as Repository,
971
+ Re as announcementType,
972
+ Se as api,
973
+ J as apiType,
974
+ Fe as applyVipBonus,
975
+ Be as cmsListType,
976
+ we as depositType,
977
+ Ne as gameListType,
978
+ Me as loginApi,
979
+ ke as loginType,
980
+ Ce as logoutApi,
981
+ Le as logoutType,
982
+ je as mainWalletType,
983
+ W as paymentsProviderType,
984
+ Pe as promotionType,
985
+ Ue as upcomingMatchType,
986
+ Oe as vipListType
944
987
  };