@obb871001/api-integration-sdk 1.0.420 → 1.0.422

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/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import Ce, { createContext as Yt, useContext as bi, useState as da, useMemo as Ia, useCallback as O, useRef as le, useEffect as fe } from "react";
1
+ import Ce, { createContext as Yt, useContext as bi, useState as da, useMemo as Ia, useCallback as O, useRef as re, useEffect as _e } from "react";
2
2
  import { useQueries as $n, useQuery as X, useQueryClient as Da, useMutation as te, QueryClient as Kr, QueryClientProvider as qr } from "@tanstack/react-query";
3
3
  import $r from "axios";
4
4
  import { get as ee, replace as at, isEmpty as we, find as We, entries as Qn, forEach as Qr, map as De, isArray as aa, toLower as Gi, omit as jr, keyBy as Yr, includes as Xr, isObject as Xt, flatMap as ei, values as el, keys as Mi } from "lodash";
@@ -67,8 +67,8 @@ function nl() {
67
67
  }
68
68
  function U(k, Z, $) {
69
69
  {
70
- var ae = b.ReactDebugCurrentFrame, ce = ae.getStackAddendum();
71
- ce !== "" && (Z += "%s", $ = $.concat([ce]));
70
+ var ae = b.ReactDebugCurrentFrame, fe = ae.getStackAddendum();
71
+ fe !== "" && (Z += "%s", $ = $.concat([fe]));
72
72
  var be = $.map(function(pe) {
73
73
  return String(pe);
74
74
  });
@@ -88,8 +88,8 @@ function nl() {
88
88
  var ae = k.displayName;
89
89
  if (ae)
90
90
  return ae;
91
- var ce = Z.displayName || Z.name || "";
92
- return ce !== "" ? $ + "(" + ce + ")" : $;
91
+ var fe = Z.displayName || Z.name || "";
92
+ return fe !== "" ? $ + "(" + fe + ")" : $;
93
93
  }
94
94
  function F(k) {
95
95
  return k.displayName || "Context";
@@ -129,7 +129,7 @@ function nl() {
129
129
  var ae = k.displayName || null;
130
130
  return ae !== null ? ae : R(k.type) || "Memo";
131
131
  case s: {
132
- var ce = k, be = ce._payload, pe = ce._init;
132
+ var fe = k, be = fe._payload, pe = fe._init;
133
133
  try {
134
134
  return R(pe(be));
135
135
  } catch {
@@ -207,8 +207,8 @@ function nl() {
207
207
  if (J === void 0)
208
208
  try {
209
209
  throw Error();
210
- } catch (ce) {
211
- var ae = ce.stack.trim().match(/\n( *(at )?)/);
210
+ } catch (fe) {
211
+ var ae = fe.stack.trim().match(/\n( *(at )?)/);
212
212
  J = ae && ae[1] || "";
213
213
  }
214
214
  return `
@@ -217,8 +217,8 @@ function nl() {
217
217
  }
218
218
  var q = !1, Q;
219
219
  {
220
- var re = typeof WeakMap == "function" ? WeakMap : Map;
221
- Q = new re();
220
+ var ne = typeof WeakMap == "function" ? WeakMap : Map;
221
+ Q = new ne();
222
222
  }
223
223
  function Y(k, Z) {
224
224
  if (!k || q)
@@ -230,7 +230,7 @@ function nl() {
230
230
  }
231
231
  var ae;
232
232
  q = !0;
233
- var ce = Error.prepareStackTrace;
233
+ var fe = Error.prepareStackTrace;
234
234
  Error.prepareStackTrace = void 0;
235
235
  var be;
236
236
  be = I.current, I.current = null, P();
@@ -286,15 +286,15 @@ function nl() {
286
286
  }
287
287
  }
288
288
  } finally {
289
- q = !1, I.current = be, j(), Error.prepareStackTrace = ce;
289
+ q = !1, I.current = be, j(), Error.prepareStackTrace = fe;
290
290
  }
291
291
  var Oa = k ? k.displayName || k.name : "", ha = Oa ? z(Oa) : "";
292
292
  return typeof k == "function" && Q.set(k, ha), ha;
293
293
  }
294
- function ie(k, Z, $) {
294
+ function le(k, Z, $) {
295
295
  return Y(k, !1);
296
296
  }
297
- function _e(k) {
297
+ function de(k) {
298
298
  var Z = k.prototype;
299
299
  return !!(Z && Z.isReactComponent);
300
300
  }
@@ -302,7 +302,7 @@ function nl() {
302
302
  if (k == null)
303
303
  return "";
304
304
  if (typeof k == "function")
305
- return Y(k, _e(k));
305
+ return Y(k, de(k));
306
306
  if (typeof k == "string")
307
307
  return z(k);
308
308
  switch (k) {
@@ -314,13 +314,13 @@ function nl() {
314
314
  if (typeof k == "object")
315
315
  switch (k.$$typeof) {
316
316
  case l:
317
- return ie(k.render);
317
+ return le(k.render);
318
318
  case o:
319
319
  return Ne(k.type, Z, $);
320
320
  case s: {
321
- var ae = k, ce = ae._payload, be = ae._init;
321
+ var ae = k, fe = ae._payload, be = ae._init;
322
322
  try {
323
- return Ne(be(ce), Z, $);
323
+ return Ne(be(fe), Z, $);
324
324
  } catch {
325
325
  }
326
326
  }
@@ -335,7 +335,7 @@ function nl() {
335
335
  } else
336
336
  ve.setExtraStackFrame(null);
337
337
  }
338
- function Ye(k, Z, $, ae, ce) {
338
+ function Ye(k, Z, $, ae, fe) {
339
339
  {
340
340
  var be = Function.call.bind(Te);
341
341
  for (var pe in k)
@@ -350,13 +350,13 @@ function nl() {
350
350
  } catch (ke) {
351
351
  se = ke;
352
352
  }
353
- se && !(se instanceof Error) && (Le(ce), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ae || "React class", $, pe, typeof se), Le(null)), se instanceof Error && !(se.message in je) && (je[se.message] = !0, Le(ce), _("Failed %s type: %s", $, se.message), Le(null));
353
+ se && !(se instanceof Error) && (Le(fe), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ae || "React class", $, pe, typeof se), Le(null)), se instanceof Error && !(se.message in je) && (je[se.message] = !0, Le(fe), _("Failed %s type: %s", $, se.message), Le(null));
354
354
  }
355
355
  }
356
356
  }
357
- var de = Array.isArray;
357
+ var ce = Array.isArray;
358
358
  function ye(k) {
359
- return de(k);
359
+ return ce(k);
360
360
  }
361
361
  function xe(k) {
362
362
  {
@@ -425,7 +425,7 @@ function nl() {
425
425
  });
426
426
  }
427
427
  }
428
- var qa = function(k, Z, $, ae, ce, be, pe) {
428
+ var qa = function(k, Z, $, ae, fe, be, pe) {
429
429
  var se = {
430
430
  // This tag allows us to uniquely identify this as a React Element
431
431
  $$typeof: i,
@@ -451,13 +451,13 @@ function nl() {
451
451
  configurable: !1,
452
452
  enumerable: !1,
453
453
  writable: !1,
454
- value: ce
454
+ value: fe
455
455
  }), Object.freeze && (Object.freeze(se.props), Object.freeze(se)), se;
456
456
  };
457
- function $a(k, Z, $, ae, ce) {
457
+ function $a(k, Z, $, ae, fe) {
458
458
  {
459
459
  var be, pe = {}, se = null, ze = null;
460
- $ !== void 0 && (Ge($), se = "" + $), ia(Z) && (Ge(Z.key), se = "" + Z.key), Ke(Z) && (ze = Z.ref, Ka(Z, ce));
460
+ $ !== void 0 && (Ge($), se = "" + $), ia(Z) && (Ge(Z.key), se = "" + Z.key), Ke(Z) && (ze = Z.ref, Ka(Z, fe));
461
461
  for (be in Z)
462
462
  Te.call(Z, be) && !ta.hasOwnProperty(be) && (pe[be] = Z[be]);
463
463
  if (k && k.defaultProps) {
@@ -469,7 +469,7 @@ function nl() {
469
469
  var Se = typeof k == "function" ? k.displayName || k.name || "Unknown" : k;
470
470
  se && Ma(pe, Se), ze && Ra(pe, Se);
471
471
  }
472
- return qa(k, se, ze, ce, ae, Be.current, pe);
472
+ return qa(k, se, ze, fe, ae, Be.current, pe);
473
473
  }
474
474
  }
475
475
  var fa = b.ReactCurrentOwner, Ca = b.ReactDebugCurrentFrame;
@@ -538,9 +538,9 @@ Check the top-level render call using <` + $ + ">.");
538
538
  else if (ya(k))
539
539
  k._store && (k._store.validated = !0);
540
540
  else if (k) {
541
- var ce = c(k);
542
- if (typeof ce == "function" && ce !== k.entries)
543
- for (var be = ce.call(k), pe; !(pe = be.next()).done; )
541
+ var fe = c(k);
542
+ if (typeof fe == "function" && fe !== k.entries)
543
+ for (var be = fe.call(k), pe; !(pe = be.next()).done; )
544
544
  ya(pe.value) && Aa(pe.value, Z);
545
545
  }
546
546
  }
@@ -564,8 +564,8 @@ Check the top-level render call using <` + $ + ">.");
564
564
  Ye($, k.props, "prop", ae, k);
565
565
  } else if (Z.PropTypes !== void 0 && !_a) {
566
566
  _a = !0;
567
- var ce = R(Z);
568
- _("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ce || "Unknown");
567
+ var fe = R(Z);
568
+ _("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", fe || "Unknown");
569
569
  }
570
570
  typeof Z.getDefaultProps == "function" && !Z.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
571
571
  }
@@ -583,7 +583,7 @@ Check the top-level render call using <` + $ + ">.");
583
583
  }
584
584
  }
585
585
  var ra = {};
586
- function He(k, Z, $, ae, ce, be) {
586
+ function He(k, Z, $, ae, fe, be) {
587
587
  {
588
588
  var pe = T(k);
589
589
  if (!pe) {
@@ -594,7 +594,7 @@ Check the top-level render call using <` + $ + ">.");
594
594
  var ke;
595
595
  k === null ? ke = "null" : ye(k) ? ke = "array" : k !== void 0 && k.$$typeof === i ? (ke = "<" + (R(k.type) || "Unknown") + " />", se = " Did you accidentally export a JSX literal instead of a component?") : ke = typeof k, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ke, se);
596
596
  }
597
- var Se = $a(k, Z, $, ce, be);
597
+ var Se = $a(k, Z, $, fe, be);
598
598
  if (Se == null)
599
599
  return Se;
600
600
  if (pe) {
@@ -938,8 +938,8 @@ function fl() {
938
938
  return this.$d.getTime();
939
939
  }, L.startOf = function(G, W) {
940
940
  var H = this, A = !!x.u(W) || W, V = x.p(G), D = function(q, Q) {
941
- var re = x.w(H.$u ? Date.UTC(H.$y, Q, q) : new Date(H.$y, Q, q), H);
942
- return A ? re : re.endOf(t);
941
+ var ne = x.w(H.$u ? Date.UTC(H.$y, Q, q) : new Date(H.$y, Q, q), H);
942
+ return A ? ne : ne.endOf(t);
943
943
  }, E = function(q, Q) {
944
944
  return x.w(H.toDate()[q].apply(H.toDate("s"), (A ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Q)), H);
945
945
  }, w = this.$W, P = this.$M, j = this.$D, I = "set" + (this.$u ? "UTC" : "");
@@ -994,16 +994,16 @@ function fl() {
994
994
  }, L.format = function(G) {
995
995
  var W = this, H = this.$locale();
996
996
  if (!this.isValid()) return H.invalidDate || f;
997
- var A = G || "YYYY-MM-DDTHH:mm:ssZ", V = x.z(this), D = this.$H, E = this.$m, w = this.$M, P = H.weekdays, j = H.months, I = H.meridiem, J = function(Q, re, Y, ie) {
998
- return Q && (Q[re] || Q(W, A)) || Y[re].slice(0, ie);
997
+ var A = G || "YYYY-MM-DDTHH:mm:ssZ", V = x.z(this), D = this.$H, E = this.$m, w = this.$M, P = H.weekdays, j = H.months, I = H.meridiem, J = function(Q, ne, Y, le) {
998
+ return Q && (Q[ne] || Q(W, A)) || Y[ne].slice(0, le);
999
999
  }, z = function(Q) {
1000
1000
  return x.s(D % 12 || 12, Q, "0");
1001
- }, q = I || function(Q, re, Y) {
1002
- var ie = Q < 12 ? "AM" : "PM";
1003
- return Y ? ie.toLowerCase() : ie;
1001
+ }, q = I || function(Q, ne, Y) {
1002
+ var le = Q < 12 ? "AM" : "PM";
1003
+ return Y ? le.toLowerCase() : le;
1004
1004
  };
1005
- return A.replace(b, (function(Q, re) {
1006
- return re || (function(Y) {
1005
+ return A.replace(b, (function(Q, ne) {
1006
+ return ne || (function(Y) {
1007
1007
  switch (Y) {
1008
1008
  case "YY":
1009
1009
  return String(W.$y).slice(-2);
@@ -2442,18 +2442,18 @@ function mr() {
2442
2442
  ]);
2443
2443
  },
2444
2444
  _doProcessBlock: function(u, f) {
2445
- for (var c = this._hash.words, b = c[0], _ = c[1], U = c[2], C = c[3], v = c[4], h = c[5], S = c[6], N = c[7], B = b.high, T = b.low, x = _.high, F = _.low, R = U.high, M = U.low, L = C.high, G = C.low, W = v.high, H = v.low, A = h.high, V = h.low, D = S.high, E = S.low, w = N.high, P = N.low, j = B, I = T, J = x, z = F, q = R, Q = M, re = L, Y = G, ie = W, _e = H, Ne = A, Te = V, je = D, ve = E, Le = w, Ye = P, de = 0; de < 80; de++) {
2446
- var ye, xe, Ie = s[de];
2447
- if (de < 16)
2448
- xe = Ie.high = u[f + de * 2] | 0, ye = Ie.low = u[f + de * 2 + 1] | 0;
2445
+ for (var c = this._hash.words, b = c[0], _ = c[1], U = c[2], C = c[3], v = c[4], h = c[5], S = c[6], N = c[7], B = b.high, T = b.low, x = _.high, F = _.low, R = U.high, M = U.low, L = C.high, G = C.low, W = v.high, H = v.low, A = h.high, V = h.low, D = S.high, E = S.low, w = N.high, P = N.low, j = B, I = T, J = x, z = F, q = R, Q = M, ne = L, Y = G, le = W, de = H, Ne = A, Te = V, je = D, ve = E, Le = w, Ye = P, ce = 0; ce < 80; ce++) {
2446
+ var ye, xe, Ie = s[ce];
2447
+ if (ce < 16)
2448
+ xe = Ie.high = u[f + ce * 2] | 0, ye = Ie.low = u[f + ce * 2 + 1] | 0;
2449
2449
  else {
2450
- var Ze = s[de - 15], Ge = Ze.high, Be = Ze.low, ta = (Ge >>> 1 | Be << 31) ^ (Ge >>> 8 | Be << 24) ^ Ge >>> 7, sa = (Be >>> 1 | Ge << 31) ^ (Be >>> 8 | Ge << 24) ^ (Be >>> 7 | Ge << 25), ca = s[de - 2], Ke = ca.high, ia = ca.low, Ka = (Ke >>> 19 | ia << 13) ^ (Ke << 3 | ia >>> 29) ^ Ke >>> 6, Ma = (ia >>> 19 | Ke << 13) ^ (ia << 3 | Ke >>> 29) ^ (ia >>> 6 | Ke << 26), Ra = s[de - 7], qa = Ra.high, $a = Ra.low, fa = s[de - 16], Ca = fa.high, Xe = fa.low;
2450
+ var Ze = s[ce - 15], Ge = Ze.high, Be = Ze.low, ta = (Ge >>> 1 | Be << 31) ^ (Ge >>> 8 | Be << 24) ^ Ge >>> 7, sa = (Be >>> 1 | Ge << 31) ^ (Be >>> 8 | Ge << 24) ^ (Be >>> 7 | Ge << 25), ca = s[ce - 2], Ke = ca.high, ia = ca.low, Ka = (Ke >>> 19 | ia << 13) ^ (Ke << 3 | ia >>> 29) ^ Ke >>> 6, Ma = (ia >>> 19 | Ke << 13) ^ (ia << 3 | Ke >>> 29) ^ (ia >>> 6 | Ke << 26), Ra = s[ce - 7], qa = Ra.high, $a = Ra.low, fa = s[ce - 16], Ca = fa.high, Xe = fa.low;
2451
2451
  ye = sa + $a, xe = ta + qa + (ye >>> 0 < sa >>> 0 ? 1 : 0), ye = ye + Ma, xe = xe + Ka + (ye >>> 0 < Ma >>> 0 ? 1 : 0), ye = ye + Xe, xe = xe + Ca + (ye >>> 0 < Xe >>> 0 ? 1 : 0), Ie.high = xe, Ie.low = ye;
2452
2452
  }
2453
- var _a = ie & Ne ^ ~ie & je, ya = _e & Te ^ ~_e & ve, Pa = j & J ^ j & q ^ J & q, wa = I & z ^ I & Q ^ z & Q, va = (j >>> 28 | I << 4) ^ (j << 30 | I >>> 2) ^ (j << 25 | I >>> 7), Fa = (I >>> 28 | j << 4) ^ (I << 30 | j >>> 2) ^ (I << 25 | j >>> 7), Aa = (ie >>> 14 | _e << 18) ^ (ie >>> 18 | _e << 14) ^ (ie << 23 | _e >>> 9), Me = (_e >>> 14 | ie << 18) ^ (_e >>> 18 | ie << 14) ^ (_e << 23 | ie >>> 9), K = o[de], Re = K.high, ra = K.low, He = Ye + Me, la = Le + Aa + (He >>> 0 < Ye >>> 0 ? 1 : 0), He = He + ya, la = la + _a + (He >>> 0 < ya >>> 0 ? 1 : 0), He = He + ra, la = la + Re + (He >>> 0 < ra >>> 0 ? 1 : 0), He = He + ye, la = la + xe + (He >>> 0 < ye >>> 0 ? 1 : 0), ot = Fa + wa, ti = va + Pa + (ot >>> 0 < Fa >>> 0 ? 1 : 0);
2454
- Le = je, Ye = ve, je = Ne, ve = Te, Ne = ie, Te = _e, _e = Y + He | 0, ie = re + la + (_e >>> 0 < Y >>> 0 ? 1 : 0) | 0, re = q, Y = Q, q = J, Q = z, J = j, z = I, I = He + ot | 0, j = la + ti + (I >>> 0 < He >>> 0 ? 1 : 0) | 0;
2453
+ var _a = le & Ne ^ ~le & je, ya = de & Te ^ ~de & ve, Pa = j & J ^ j & q ^ J & q, wa = I & z ^ I & Q ^ z & Q, va = (j >>> 28 | I << 4) ^ (j << 30 | I >>> 2) ^ (j << 25 | I >>> 7), Fa = (I >>> 28 | j << 4) ^ (I << 30 | j >>> 2) ^ (I << 25 | j >>> 7), Aa = (le >>> 14 | de << 18) ^ (le >>> 18 | de << 14) ^ (le << 23 | de >>> 9), Me = (de >>> 14 | le << 18) ^ (de >>> 18 | le << 14) ^ (de << 23 | le >>> 9), K = o[ce], Re = K.high, ra = K.low, He = Ye + Me, la = Le + Aa + (He >>> 0 < Ye >>> 0 ? 1 : 0), He = He + ya, la = la + _a + (He >>> 0 < ya >>> 0 ? 1 : 0), He = He + ra, la = la + Re + (He >>> 0 < ra >>> 0 ? 1 : 0), He = He + ye, la = la + xe + (He >>> 0 < ye >>> 0 ? 1 : 0), ot = Fa + wa, ti = va + Pa + (ot >>> 0 < Fa >>> 0 ? 1 : 0);
2454
+ Le = je, Ye = ve, je = Ne, ve = Te, Ne = le, Te = de, de = Y + He | 0, le = ne + la + (de >>> 0 < Y >>> 0 ? 1 : 0) | 0, ne = q, Y = Q, q = J, Q = z, J = j, z = I, I = He + ot | 0, j = la + ti + (I >>> 0 < He >>> 0 ? 1 : 0) | 0;
2455
2455
  }
2456
- T = b.low = T + I, b.high = B + j + (T >>> 0 < I >>> 0 ? 1 : 0), F = _.low = F + z, _.high = x + J + (F >>> 0 < z >>> 0 ? 1 : 0), M = U.low = M + Q, U.high = R + q + (M >>> 0 < Q >>> 0 ? 1 : 0), G = C.low = G + Y, C.high = L + re + (G >>> 0 < Y >>> 0 ? 1 : 0), H = v.low = H + _e, v.high = W + ie + (H >>> 0 < _e >>> 0 ? 1 : 0), V = h.low = V + Te, h.high = A + Ne + (V >>> 0 < Te >>> 0 ? 1 : 0), E = S.low = E + ve, S.high = D + je + (E >>> 0 < ve >>> 0 ? 1 : 0), P = N.low = P + Ye, N.high = w + Le + (P >>> 0 < Ye >>> 0 ? 1 : 0);
2456
+ T = b.low = T + I, b.high = B + j + (T >>> 0 < I >>> 0 ? 1 : 0), F = _.low = F + z, _.high = x + J + (F >>> 0 < z >>> 0 ? 1 : 0), M = U.low = M + Q, U.high = R + q + (M >>> 0 < Q >>> 0 ? 1 : 0), G = C.low = G + Y, C.high = L + ne + (G >>> 0 < Y >>> 0 ? 1 : 0), H = v.low = H + de, v.high = W + le + (H >>> 0 < de >>> 0 ? 1 : 0), V = h.low = V + Te, h.high = A + Ne + (V >>> 0 < Te >>> 0 ? 1 : 0), E = S.low = E + ve, S.high = D + je + (E >>> 0 < ve >>> 0 ? 1 : 0), P = N.low = P + Ye, N.high = w + Le + (P >>> 0 < Ye >>> 0 ? 1 : 0);
2457
2457
  },
2458
2458
  _doFinalize: function() {
2459
2459
  var u = this._data, f = u.words, c = this._nDataBytes * 8, b = u.sigBytes * 8;
@@ -6115,7 +6115,7 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
6115
6115
  padding: ba.pad.Pkcs7
6116
6116
  }), g = a.toString(ba.enc.Base64), y = ba.enc.Base64.stringify(m.ciphertext);
6117
6117
  return g + ":" + y;
6118
- }, Lo = (e) => e === "aes" ? Sa : (i) => nt.MD5(i).toString(), ne = () => {
6118
+ }, Lo = (e) => e === "aes" ? Sa : (i) => nt.MD5(i).toString(), ie = () => {
6119
6119
  const {
6120
6120
  client: e,
6121
6121
  formDataClient: i,
@@ -6160,17 +6160,19 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
6160
6160
  unlimitCode: z,
6161
6161
  email: q,
6162
6162
  inviteCode: Q,
6163
- currencyCode: re,
6164
- validCode: Y
6163
+ currencyCode: ne,
6164
+ validCode: Y,
6165
+ nickName: le
6165
6166
  }) => {
6166
- const ie = {
6167
+ const de = {
6167
6168
  memId: I,
6168
6169
  passwd: Sa(J),
6169
6170
  email: q,
6170
- currency_code: re,
6171
- code: Y
6171
+ currency_code: ne,
6172
+ code: Y,
6173
+ nick_name: le
6172
6174
  };
6173
- return z && (ie.unlimit_code = z), Q && (ie.invite = Q), e.post("/signUp", ie);
6175
+ return z && (de.unlimit_code = z), Q && (de.invite = Q), e.post("/siginUp", de);
6174
6176
  },
6175
6177
  [e]
6176
6178
  ), p = O(
@@ -6271,9 +6273,9 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
6271
6273
  bank_account_name: z,
6272
6274
  bank_branch_name: q,
6273
6275
  bank_account: Q,
6274
- bank_card_number: re,
6276
+ bank_card_number: ne,
6275
6277
  id_card: Y,
6276
- id_pic: ie
6278
+ id_pic: le
6277
6279
  } = I;
6278
6280
  return await i.post("/bindBankAccount", I);
6279
6281
  },
@@ -6346,37 +6348,37 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
6346
6348
  [e]
6347
6349
  ), L = O(
6348
6350
  async (I) => {
6349
- const { mobile: J, verifyCode: z, snCode: q, invoiceType: Q, invoiceCode: re } = I;
6351
+ const { mobile: J, verifyCode: z, snCode: q, invoiceType: Q, invoiceCode: ne } = I;
6350
6352
  return await e.post("/goMobile", {
6351
6353
  mobile: J,
6352
6354
  verification_code: z,
6353
6355
  sn_code: q,
6354
6356
  invoice_type: Q,
6355
- invoice_code: re
6357
+ invoice_code: ne
6356
6358
  });
6357
6359
  },
6358
6360
  [e]
6359
6361
  ), G = O(
6360
6362
  async (I) => {
6361
- const { mobile: J, verifyCode: z, invite: q, invoiceType: Q, invoiceCode: re } = I;
6363
+ const { mobile: J, verifyCode: z, invite: q, invoiceType: Q, invoiceCode: ne } = I;
6362
6364
  return await e.post("/goMobileByInvite", {
6363
6365
  mobile: J,
6364
6366
  verification_code: z,
6365
6367
  invite: q,
6366
6368
  invoice_type: Q,
6367
- invoice_code: re
6369
+ invoice_code: ne
6368
6370
  });
6369
6371
  },
6370
6372
  [e]
6371
6373
  ), W = O(
6372
6374
  async (I) => {
6373
- const { mobile: J, password: z, invite: q, invoiceType: Q, invoiceCode: re } = I;
6375
+ const { mobile: J, password: z, invite: q, invoiceType: Q, invoiceCode: ne } = I;
6374
6376
  return await e.post("/goMobileByPassword", {
6375
6377
  mobile: J,
6376
6378
  password: nt.MD5(z).toString(),
6377
6379
  invite: q,
6378
6380
  invoice_type: Q,
6379
- invoice_code: re
6381
+ invoice_code: ne
6380
6382
  });
6381
6383
  },
6382
6384
  [e]
@@ -6460,7 +6462,7 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
6460
6462
  updateUserAvatarApi: P
6461
6463
  };
6462
6464
  }, Zm = ({ otherQueryKey: e = [], options: i = {} } = {}) => {
6463
- const { userCurrencyExchangeApi: a } = ne(), { getToken: r } = me(), { enabled: m, ...g } = i, d = !!r?.() && (m ? m.every((l) => l) : !0);
6465
+ const { userCurrencyExchangeApi: a } = ie(), { getToken: r } = me(), { enabled: m, ...g } = i, d = !!r?.() && (m ? m.every((l) => l) : !0);
6464
6466
  return $n({
6465
6467
  queries: [
6466
6468
  {
@@ -6478,7 +6480,7 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
6478
6480
  trigger: i = [],
6479
6481
  enabled: a = !0
6480
6482
  } = {}) => {
6481
- const { getToken: r } = me(), m = r?.(), { userInfoApi: g } = ne();
6483
+ const { getToken: r } = me(), m = r?.(), { userInfoApi: g } = ie();
6482
6484
  return $n({
6483
6485
  queries: [
6484
6486
  {
@@ -6495,7 +6497,7 @@ const ba = /* @__PURE__ */ Ui(nt), Sa = (e) => {
6495
6497
  userFavoriteGameApi: a,
6496
6498
  userGameListApi: r,
6497
6499
  userCurrencyExchangeApi: m
6498
- } = ne(), g = X({
6500
+ } = ie(), g = X({
6499
6501
  queryKey: ["getMemInfo"],
6500
6502
  queryFn: async () => i(),
6501
6503
  enabled: e
@@ -7604,70 +7606,70 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
7604
7606
  announcementApi: a
7605
7607
  };
7606
7608
  }, qo = ({ options: e } = {}) => {
7607
- const { userLoginApi: i } = ne();
7609
+ const { userLoginApi: i } = ie();
7608
7610
  return te({
7609
7611
  mutationKey: ["userLogin"],
7610
7612
  mutationFn: async (a) => i(a),
7611
7613
  ...e
7612
7614
  });
7613
7615
  }, $o = ({ options: e } = {}) => {
7614
- const { userLogoutApi: i } = ne();
7616
+ const { userLogoutApi: i } = ie();
7615
7617
  return te({
7616
7618
  mutationKey: ["userLogout"],
7617
7619
  mutationFn: async () => i(),
7618
7620
  ...e
7619
7621
  });
7620
7622
  }, Qo = ({ options: e } = {}) => {
7621
- const { userSignUpApi: i } = ne();
7623
+ const { userSignUpApi: i } = ie();
7622
7624
  return te({
7623
7625
  mutationKey: ["userSignUp"],
7624
7626
  mutationFn: async (a) => i(a),
7625
7627
  ...e
7626
7628
  });
7627
7629
  }, jo = ({ options: e } = {}) => {
7628
- const { addOrRemoveFavoriteGameApi: i } = ne();
7630
+ const { addOrRemoveFavoriteGameApi: i } = ie();
7629
7631
  return te({
7630
7632
  mutationKey: ["toggleFavoriteGame"],
7631
7633
  mutationFn: async (a) => i(a),
7632
7634
  ...e
7633
7635
  });
7634
7636
  }, Yo = ({ options: e } = {}) => {
7635
- const { updateUserInfoApi: i } = ne();
7637
+ const { updateUserInfoApi: i } = ie();
7636
7638
  return te({
7637
7639
  mutationKey: ["updateUserInfo"],
7638
7640
  mutationFn: async (a) => i(a),
7639
7641
  ...e
7640
7642
  });
7641
7643
  }, Xo = ({ options: e } = {}) => {
7642
- const { resetUserPasswordApi: i } = ne();
7644
+ const { resetUserPasswordApi: i } = ie();
7643
7645
  return te({
7644
7646
  mutationKey: ["resetUserPassword"],
7645
7647
  mutationFn: async (a) => i(a),
7646
7648
  ...e
7647
7649
  });
7648
7650
  }, es = ({ options: e } = {}) => {
7649
- const { memberInitSetApi: i } = ne();
7651
+ const { memberInitSetApi: i } = ie();
7650
7652
  return te({
7651
7653
  mutationKey: ["memberInitSet"],
7652
7654
  mutationFn: async (a) => i(a),
7653
7655
  ...e
7654
7656
  });
7655
7657
  }, as = ({ options: e } = {}) => {
7656
- const { setUserTransactionPasswordApi: i } = ne();
7658
+ const { setUserTransactionPasswordApi: i } = ie();
7657
7659
  return te({
7658
7660
  mutationKey: ["setUserTransactionPassword"],
7659
7661
  mutationFn: async (a) => i(a),
7660
7662
  ...e
7661
7663
  });
7662
7664
  }, ts = ({ options: e } = {}) => {
7663
- const { resetUserTransactionPasswordApi: i } = ne();
7665
+ const { resetUserTransactionPasswordApi: i } = ie();
7664
7666
  return te({
7665
7667
  mutationKey: ["resetUserTransactionPassword"],
7666
7668
  mutationFn: async (a) => i(a),
7667
7669
  ...e
7668
7670
  });
7669
7671
  }, is = ({ paramsData: e, options: i } = {}) => {
7670
- const { userRebateApi: a } = ne(), { getToken: r } = me();
7672
+ const { userRebateApi: a } = ie(), { getToken: r } = me();
7671
7673
  return r?.(), X({
7672
7674
  queryKey: ["userRebate", e],
7673
7675
  queryFn: async () => a({ paramsData: e }),
@@ -7675,14 +7677,14 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
7675
7677
  ...i
7676
7678
  });
7677
7679
  }, ns = ({ options: e } = {}) => {
7678
- const { userBindBankApi: i } = ne();
7680
+ const { userBindBankApi: i } = ie();
7679
7681
  return te({
7680
7682
  mutationKey: ["userBindBank"],
7681
7683
  mutationFn: async (a) => i({ formData: a }),
7682
7684
  ...e
7683
7685
  });
7684
7686
  }, rs = ({ options: e } = {}) => {
7685
- const { transferInGameApi: i } = ne();
7687
+ const { transferInGameApi: i } = ie();
7686
7688
  return te({
7687
7689
  mutationKey: ["transferInGame"],
7688
7690
  mutationFn: async (a) => i(a),
@@ -7690,7 +7692,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
7690
7692
  ...e
7691
7693
  });
7692
7694
  }, jm = ({ options: e } = {}) => {
7693
- const { currency: i } = me(), { pointTransferApi: a } = ne();
7695
+ const { currency: i } = me(), { pointTransferApi: a } = ie();
7694
7696
  return te({
7695
7697
  mutationKey: ["pointTransfer"],
7696
7698
  mutationFn: async (r) => a({
@@ -7700,7 +7702,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
7700
7702
  ...e
7701
7703
  });
7702
7704
  }, Ym = ({ options: e } = {}) => {
7703
- const { currency: i } = me(), { checkUserWagerApi: a } = ne();
7705
+ const { currency: i } = me(), { checkUserWagerApi: a } = ie();
7704
7706
  return X({
7705
7707
  queryKey: ["checkUserWager"],
7706
7708
  queryFn: async () => a(),
@@ -7713,7 +7715,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
7713
7715
  ...e
7714
7716
  });
7715
7717
  }, Xm = ({ options: e } = {}) => {
7716
- const i = Da(), { abandonPointsApi: a } = ne();
7718
+ const i = Da(), { abandonPointsApi: a } = ie();
7717
7719
  return te({
7718
7720
  mutationKey: ["abandonPoint"],
7719
7721
  mutationFn: async (r) => a({
@@ -7725,91 +7727,91 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
7725
7727
  ...e
7726
7728
  });
7727
7729
  }, gr = ({ options: e } = {}) => {
7728
- const { lineLoginApi: i } = ne();
7730
+ const { lineLoginApi: i } = ie();
7729
7731
  return te({
7730
7732
  mutationKey: ["lineLogin"],
7731
7733
  mutationFn: async (a) => i(a),
7732
7734
  ...e
7733
7735
  });
7734
7736
  }, ls = ({ options: e } = {}) => {
7735
- const { lineLogin2Api: i } = ne();
7737
+ const { lineLogin2Api: i } = ie();
7736
7738
  return te({
7737
7739
  mutationKey: ["lineLogin"],
7738
7740
  mutationFn: async (a) => i(a),
7739
7741
  ...e
7740
7742
  });
7741
7743
  }, eu = ({ options: e } = {}) => {
7742
- const { machineLoginApi: i } = ne();
7744
+ const { machineLoginApi: i } = ie();
7743
7745
  return te({
7744
7746
  mutationKey: ["machineLogin"],
7745
7747
  mutationFn: async (a) => i(a),
7746
7748
  ...e
7747
7749
  });
7748
7750
  }, os = ({ options: e, formData: i } = {}) => {
7749
- const { getMachineLoginCodeApi: a } = ne();
7751
+ const { getMachineLoginCodeApi: a } = ie();
7750
7752
  return X({
7751
7753
  queryKey: ["getMachineLoginCode"],
7752
7754
  queryFn: async () => a(i),
7753
7755
  ...e
7754
7756
  });
7755
7757
  }, au = ({ options: e } = {}) => {
7756
- const { currency: i } = me(), { memberTransferApi: a } = ne();
7758
+ const { currency: i } = me(), { memberTransferApi: a } = ie();
7757
7759
  return te({
7758
7760
  mutationKey: ["memberTransfer"],
7759
7761
  mutationFn: async (r) => a({ ...r, currency: i }),
7760
7762
  ...e
7761
7763
  });
7762
7764
  }, tu = ({ options: e } = {}) => {
7763
- const { currency: i } = me(), { checkMemberTransferApi: a } = ne();
7765
+ const { currency: i } = me(), { checkMemberTransferApi: a } = ie();
7764
7766
  return te({
7765
7767
  mutationKey: ["checkMemberTransfer"],
7766
7768
  mutationFn: async (r) => a({ ...r, currency: i }),
7767
7769
  ...e
7768
7770
  });
7769
7771
  }, iu = ({ options: e } = {}) => {
7770
- const { mobileLoginApi: i } = ne();
7772
+ const { mobileLoginApi: i } = ie();
7771
7773
  return te({
7772
7774
  mutationKey: ["mobileLogin"],
7773
7775
  mutationFn: async (a) => i(a),
7774
7776
  ...e
7775
7777
  });
7776
7778
  }, nu = ({ options: e } = {}) => {
7777
- const { mobileLoginApiV2: i } = ne();
7779
+ const { mobileLoginApiV2: i } = ie();
7778
7780
  return te({
7779
7781
  mutationKey: ["mobileLoginV2"],
7780
7782
  mutationFn: async (a) => i(a),
7781
7783
  ...e
7782
7784
  });
7783
7785
  }, ru = ({ options: e } = {}) => {
7784
- const { mobileRegisterApi: i } = ne();
7786
+ const { mobileRegisterApi: i } = ie();
7785
7787
  return te({
7786
7788
  mutationKey: ["mobileRegister"],
7787
7789
  mutationFn: async (a) => i(a),
7788
7790
  ...e
7789
7791
  });
7790
7792
  }, lu = ({ options: e } = {}) => {
7791
- const { mobilePasswordApi: i } = ne();
7793
+ const { mobilePasswordApi: i } = ie();
7792
7794
  return te({
7793
7795
  mutationKey: ["mobileByPassword"],
7794
7796
  mutationFn: async (a) => i(a),
7795
7797
  ...e
7796
7798
  });
7797
7799
  }, ou = ({ options: e } = {}) => {
7798
- const { checkMobileApi: i } = ne();
7800
+ const { checkMobileApi: i } = ie();
7799
7801
  return te({
7800
7802
  mutationKey: ["checkMobile"],
7801
7803
  mutationFn: async (a) => i(a),
7802
7804
  ...e
7803
7805
  });
7804
7806
  }, ss = ({ options: e } = {}) => {
7805
- const { bindAccountApi: i } = ne();
7807
+ const { bindAccountApi: i } = ie();
7806
7808
  return te({
7807
7809
  mutationKey: ["bindAccount"],
7808
7810
  mutationFn: async (a) => i(a),
7809
7811
  ...e
7810
7812
  });
7811
7813
  }, su = ({ options: e } = {}) => {
7812
- const { sendMobileVerifyCodeApi: i } = ne();
7814
+ const { sendMobileVerifyCodeApi: i } = ie();
7813
7815
  return te({
7814
7816
  mutationKey: ["sendMobileVerifyCode"],
7815
7817
  mutationFn: async (a) => i(a),
@@ -7830,21 +7832,21 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
7830
7832
  ...e
7831
7833
  });
7832
7834
  }, pu = ({ options: e } = {}) => {
7833
- const { createMachineApi: i } = ne();
7835
+ const { createMachineApi: i } = ie();
7834
7836
  return te({
7835
7837
  mutationKey: ["createMachine"],
7836
7838
  mutationFn: async (a) => i({ formData: a }),
7837
7839
  ...e
7838
7840
  });
7839
7841
  }, gu = ({ options: e } = {}) => {
7840
- const { verifyResetActionApi: i } = ne();
7842
+ const { verifyResetActionApi: i } = ie();
7841
7843
  return te({
7842
7844
  mutationKey: ["verifyResetAction"],
7843
7845
  mutationFn: async (a) => i(a),
7844
7846
  ...e
7845
7847
  });
7846
7848
  }, du = ({ options: e, bonusData: i } = {}) => {
7847
- const { getJackpotApi: a } = ne();
7849
+ const { getJackpotApi: a } = ie();
7848
7850
  return X({
7849
7851
  queryKey: ["getJackpotData"],
7850
7852
  queryFn: async () => a(),
@@ -7863,14 +7865,14 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
7863
7865
  ...e
7864
7866
  });
7865
7867
  }, cu = ({ options: e } = {}) => {
7866
- const { getBetRankingApi: i } = ne();
7868
+ const { getBetRankingApi: i } = ie();
7867
7869
  return X({
7868
7870
  queryKey: ["getBetRankingData"],
7869
7871
  queryFn: async () => i(),
7870
7872
  ...e
7871
7873
  });
7872
7874
  }, fu = ({ options: e } = {}) => {
7873
- const { getUserAvatarListApi: i } = ne();
7875
+ const { getUserAvatarListApi: i } = ie();
7874
7876
  return X({
7875
7877
  queryKey: ["getAvatarList"],
7876
7878
  queryFn: async () => i(),
@@ -7880,7 +7882,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
7880
7882
  ...e
7881
7883
  });
7882
7884
  }, _u = ({ options: e } = {}) => {
7883
- const { updateUserAvatarApi: i } = ne();
7885
+ const { updateUserAvatarApi: i } = ie();
7884
7886
  return te({
7885
7887
  mutationKey: ["updateAvatar"],
7886
7888
  mutationFn: async (a) => i(a),
@@ -7970,7 +7972,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
7970
7972
  disabledLineAutoRegister: y = !1,
7971
7973
  navigate: d = null
7972
7974
  }) => {
7973
- const { store: l, lng: t } = me(), n = Da(), { isReady: o, setAsReady: s, isPending: p, setAsPending: u } = Xn(), f = Je(t), c = le(!1), b = le(i), _ = ee(r, "uid", null), U = ee(r, "cagent_uid", null);
7975
+ const { store: l, lng: t } = me(), n = Da(), { isReady: o, setAsReady: s, isPending: p, setAsPending: u } = Xn(), f = Je(t), c = re(!1), b = re(i), _ = ee(r, "uid", null), U = ee(r, "cagent_uid", null);
7974
7976
  ee(r, "testFunction", 0);
7975
7977
  const C = new URLSearchParams(window.location.search), v = ee(
7976
7978
  m,
@@ -8022,7 +8024,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
8022
8024
  return null;
8023
8025
  }
8024
8026
  }, [x]);
8025
- fe(() => {
8027
+ _e(() => {
8026
8028
  const A = setInterval(
8027
8029
  () => B("ping"),
8028
8030
  ms
@@ -8043,10 +8045,10 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
8043
8045
  },
8044
8046
  [g, l, f]
8045
8047
  );
8046
- fe(() => {
8048
+ _e(() => {
8047
8049
  b.current = i;
8048
8050
  }, [i]);
8049
- const L = le(null), G = (A) => {
8051
+ const L = re(null), G = (A) => {
8050
8052
  const {
8051
8053
  onDeposit: V,
8052
8054
  onTransCode: D,
@@ -8059,25 +8061,25 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
8059
8061
  onLineLogin: z,
8060
8062
  onMonthlyCardIssuePoint: q,
8061
8063
  onEventClaimable: Q
8062
- } = b.current, re = ee(A, "type", ""), Y = {
8064
+ } = b.current, ne = ee(A, "type", ""), Y = {
8063
8065
  memberInfoUid: ee(A, "member_info_uid", null),
8064
8066
  data: ee(A, "data", null),
8065
8067
  memo: ee(A, "memo", null),
8066
8068
  amount: ee(A, "amount", null),
8067
8069
  limitAmount: ee(A, "limit_amount", null)
8068
- }, ie = Number(Y.memberInfoUid) === _, _e = Y.data, Ne = Y.amount, Te = Y.limitAmount, je = C.get("mac") || di.get("machine_mac_address") || "", ve = ee(A, "data.line_id", null), Le = ee(A, "data.line_name", null), Ye = ee(A, "member_info_uid", null);
8069
- switch (re) {
8070
+ }, le = Number(Y.memberInfoUid) === _, de = Y.data, Ne = Y.amount, Te = Y.limitAmount, je = C.get("mac") || di.get("machine_mac_address") || "", ve = ee(A, "data.line_id", null), Le = ee(A, "data.line_name", null), Ye = ee(A, "member_info_uid", null);
8071
+ switch (ne) {
8070
8072
  case Ue.DEPOSIT:
8071
- ie && (N(), V?.(Y));
8073
+ le && (N(), V?.(Y));
8072
8074
  break;
8073
8075
  case Ue.TRANS_CODE:
8074
8076
  D?.(Y);
8075
8077
  break;
8076
8078
  case Ue.ERROR:
8077
- if (ie) {
8078
- const de = ee(A, "open_game_modal", 0) === 1;
8079
- M(_e, {
8080
- notificationType: de ? "gamingNotice" : void 0
8079
+ if (le) {
8080
+ const ce = ee(A, "open_game_modal", 0) === 1;
8081
+ M(de, {
8082
+ notificationType: ce ? "gamingNotice" : void 0
8081
8083
  }), E?.(Y);
8082
8084
  }
8083
8085
  break;
@@ -8087,18 +8089,18 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
8087
8089
  }), w?.(Y));
8088
8090
  break;
8089
8091
  case Ue.MAINTAIN_NOTICE:
8090
- M(_e, {
8092
+ M(de, {
8091
8093
  notificationType: "maintainNotice"
8092
8094
  }), P?.(Y);
8093
8095
  break;
8094
8096
  case Ue.MAINTAIN_NOTICE_MEMBER: {
8095
- const de = Y.data?.cagent_uid ?? null;
8096
- if (de != null) {
8097
- String(U) === String(de) && (M(Y.data?.msg, { rawMessage: !0 }), j?.(Y), setTimeout(() => {
8097
+ const ce = Y.data?.cagent_uid ?? null;
8098
+ if (ce != null) {
8099
+ String(U) === String(ce) && (M(Y.data?.msg, { rawMessage: !0 }), j?.(Y), setTimeout(() => {
8098
8100
  d?.("/");
8099
8101
  }, 5e3));
8100
8102
  return;
8101
- } else if (ie) {
8103
+ } else if (le) {
8102
8104
  const ye = l.getState()?.game?.currentGameData?.gameUid ?? null, xe = Y.data?.game_id;
8103
8105
  if (xe != null) {
8104
8106
  Array.isArray(xe) && xe.some((Ie) => String(Ie) === String(ye)) && (M(Y.data?.msg, { rawMessage: !0 }), j?.(Y), setTimeout(() => {
@@ -8106,7 +8108,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
8106
8108
  }, 5e3));
8107
8109
  return;
8108
8110
  }
8109
- M(_e), j?.(Y), setTimeout(() => {
8111
+ M(de), j?.(Y), setTimeout(() => {
8110
8112
  window.location.reload();
8111
8113
  }, 5e4);
8112
8114
  }
@@ -8117,14 +8119,14 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
8117
8119
  break;
8118
8120
  case Ue.TRANSFER_IN_GAME:
8119
8121
  case Ue.CHECK_REQUEST:
8120
- if (ie && v) {
8121
- const { request_id: de, amount: ye, platform: xe, status: Ie } = ee(Y, "data", {}) || {}, Ze = localStorage.getItem(
8122
+ if (le && v) {
8123
+ const { request_id: ce, amount: ye, platform: xe, status: Ie } = ee(Y, "data", {}) || {}, Ze = localStorage.getItem(
8122
8124
  "transfer_in_game_request_id"
8123
8125
  );
8124
8126
  if (Ie === "pending") {
8125
- localStorage.setItem("transfer_in_game_request_id", de);
8127
+ localStorage.setItem("transfer_in_game_request_id", ce);
8126
8128
  return;
8127
- } else if (Ze && Ze === de) {
8129
+ } else if (Ze && Ze === ce) {
8128
8130
  if (Ie === "rollback") {
8129
8131
  N();
8130
8132
  return;
@@ -8142,26 +8144,26 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
8142
8144
  }
8143
8145
  break;
8144
8146
  case Ue.CASH_REGISTER_LIMIT:
8145
- M(_e, {
8147
+ M(de, {
8146
8148
  notificationType: "cashRegisterLimit",
8147
8149
  amount: Ne,
8148
8150
  limitAmount: Te
8149
8151
  }), J?.(Y);
8150
8152
  break;
8151
8153
  case Ue.UPDATE_ONLY_ONE_MEMBER:
8152
- ie && (n.invalidateQueries({
8154
+ le && (n.invalidateQueries({
8153
8155
  queryKey: ["getMemberInfo"]
8154
8156
  }), w?.(Y));
8155
8157
  break;
8156
8158
  case Ue.GAME_MAINTAIN: {
8157
- const de = Y.data, { show: ye } = us({
8158
- maintainList: de,
8159
+ const ce = Y.data, { show: ye } = us({
8160
+ maintainList: ce,
8159
8161
  // 直接用當前路由判斷是否在 gamebox(不依賴 transferInGamingConfig,
8160
8162
  // 因為不是每隻遊戲都會帶入該設定)
8161
8163
  isInGameBox: window.location.pathname.includes("gamebox"),
8162
8164
  currentGamePlatform: l.getState()?.game?.currentGameData?.gamePlatform ?? null
8163
8165
  });
8164
- ye && M(_e, {
8166
+ ye && M(de, {
8165
8167
  notificationType: "gameMaintain"
8166
8168
  });
8167
8169
  break;
@@ -8173,10 +8175,10 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
8173
8175
  });
8174
8176
  break;
8175
8177
  case Ue.UPDATE_EVENT_WALLET:
8176
- ie && (n.invalidateQueries({ queryKey: ["getEventWalletList"] }), n.invalidateQueries({ queryKey: ["evaluateEventWallet"] }));
8178
+ le && (n.invalidateQueries({ queryKey: ["getEventWalletList"] }), n.invalidateQueries({ queryKey: ["evaluateEventWallet"] }));
8177
8179
  return;
8178
8180
  case Ue.MONTHLY_CARD_ISSUE_POINT:
8179
- ie && (n.invalidateQueries({ queryKey: Di }), q?.(Y));
8181
+ le && (n.invalidateQueries({ queryKey: Di }), q?.(Y));
8180
8182
  return;
8181
8183
  /**
8182
8184
  * event_claimable:活動可領取推播
@@ -8186,24 +8188,24 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
8186
8188
  * 註:與其他 event/member 推播一致,僅對「當前會員」生效(isForMember)。
8187
8189
  */
8188
8190
  case Ue.EVENT_CLAIMABLE:
8189
- if (ie) {
8191
+ if (le) {
8190
8192
  n.invalidateQueries({ queryKey: ["checkEventStatus"] });
8191
- const de = Y.data?.event_uid;
8192
- (Array.isArray(de) ? de.length > 0 : de != null) && Q?.(Y);
8193
+ const ce = Y.data?.event_uid;
8194
+ (Array.isArray(ce) ? ce.length > 0 : ce != null) && Q?.(Y);
8193
8195
  }
8194
8196
  return;
8195
8197
  default:
8196
- console.warn("Unknown socket type:", re);
8198
+ console.warn("Unknown socket type:", ne);
8197
8199
  break;
8198
8200
  }
8199
8201
  };
8200
- fe(() => {
8202
+ _e(() => {
8201
8203
  !R || L.current === R || (L.current = R, G(R));
8202
- }, [R]), fe(() => () => c.current = !0, []), fe(() => {
8204
+ }, [R]), _e(() => () => c.current = !0, []), _e(() => {
8203
8205
  localStorage.getItem(
8204
8206
  "transfer_in_game_request_id"
8205
8207
  ) && u();
8206
- }, [u]), fe(() => {
8208
+ }, [u]), _e(() => {
8207
8209
  if (v) {
8208
8210
  const A = localStorage.getItem(
8209
8211
  "transfer_in_game_request_id"
@@ -8214,7 +8216,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
8214
8216
  member_info_uid: _
8215
8217
  });
8216
8218
  }
8217
- }, [_, p, T, v]), fe(() => {
8219
+ }, [_, p, T, v]), _e(() => {
8218
8220
  p ? l.dispatch({
8219
8221
  type: "ui/showToast",
8220
8222
  payload: {
@@ -8231,7 +8233,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
8231
8233
  }
8232
8234
  });
8233
8235
  }, [p, o, l, f]);
8234
- const W = le(null);
8236
+ const W = re(null);
8235
8237
  W.current = G;
8236
8238
  const H = O((A) => {
8237
8239
  W.current?.(A);
@@ -8661,7 +8663,7 @@ const zo = /* @__PURE__ */ Ui(Io), Vo = ({
8661
8663
  }
8662
8664
  });
8663
8665
  }, Gu = ({ options: e } = {}) => {
8664
- const { rankingGameApi: i } = ne();
8666
+ const { rankingGameApi: i } = ie();
8665
8667
  return X({
8666
8668
  queryKey: ["rankingGame"],
8667
8669
  queryFn: async () => i(),
@@ -9003,8 +9005,8 @@ function Ms({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle
9003
9005
  }, onAction: o = () => {
9004
9006
  }, onMessage: s = () => {
9005
9007
  }, debounce: p = 0, throttle: u = 0, eventsThrottle: f = 200, startOnMount: c = !0, startManually: b = !1, stopOnIdle: _ = !1, crossTab: U = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: h = !1, disabled: S = !1 } = {}) {
9006
- let N = le(Ee()), B = le(Ee()), T = le(null), x = le(null), F = le(0), R = le(0), M = le(0), L = le(0), G = le(!1), W = le(!1), H = le(!1), A = le(!0), V = le(!1), D = le(null), E = le(null), w = le(e), P = le(0);
9007
- fe(() => {
9008
+ let N = re(Ee()), B = re(Ee()), T = re(null), x = re(null), F = re(0), R = re(0), M = re(0), L = re(0), G = re(!1), W = re(!1), H = re(!1), A = re(!0), V = re(!1), D = re(null), E = re(null), w = re(e), P = re(0);
9009
+ _e(() => {
9008
9010
  if (i && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), a && i) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
9009
9011
  if (e >= Ha) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${Ha}.`);
9010
9012
  if (i >= Ha) throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${Ha}.`);
@@ -9012,46 +9014,46 @@ function Ms({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle
9012
9014
  if (a >= e) throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);
9013
9015
  if (a ? (w.current = e - a, P.current = a) : (w.current = e, P.current = i), !A.current) {
9014
9016
  if (b || S) return;
9015
- G.current && (ie.current(null, Me), E.current && E.current.active()), ta();
9017
+ G.current && (le.current(null, Me), E.current && E.current.active()), ta();
9016
9018
  }
9017
9019
  }, [e, i, a, b, S]);
9018
- let j = le(_);
9019
- fe(() => {
9020
+ let j = re(_);
9021
+ _e(() => {
9020
9022
  j.current = _;
9021
9023
  }, [_]);
9022
- let I = le(y), J = le(r), z = le([...(/* @__PURE__ */ new Set([...m, ...y])).values()]), q = le(S);
9023
- fe(() => {
9024
+ let I = re(y), J = re(r), z = re([...(/* @__PURE__ */ new Set([...m, ...y])).values()]), q = re(S);
9025
+ _e(() => {
9024
9026
  q.current = S, !A.current && (S ? Ke() : b || ta());
9025
9027
  }, [S]);
9026
- let Q = le(d);
9027
- fe(() => {
9028
+ let Q = re(d);
9029
+ _e(() => {
9028
9030
  Q.current = d;
9029
9031
  }, [d]);
9030
- let re = le(l);
9031
- fe(() => {
9032
- re.current = l;
9032
+ let ne = re(l);
9033
+ _e(() => {
9034
+ ne.current = l;
9033
9035
  }, [l]);
9034
- let Y = le(t);
9035
- fe(() => {
9036
+ let Y = re(t);
9037
+ _e(() => {
9036
9038
  Y.current = t;
9037
9039
  }, [t]);
9038
- let ie = le(n);
9039
- fe(() => {
9040
- ie.current = n;
9040
+ let le = re(n);
9041
+ _e(() => {
9042
+ le.current = n;
9041
9043
  }, [n]);
9042
- let _e = le(o);
9043
- fe(() => {
9044
- _e.current = o;
9044
+ let de = re(o);
9045
+ _e(() => {
9046
+ de.current = o;
9045
9047
  }, [o]);
9046
- let Ne = le(s);
9047
- fe(() => {
9048
+ let Ne = re(s);
9049
+ _e(() => {
9048
9050
  Ne.current = s;
9049
9051
  }, [s]);
9050
9052
  let Te = Ia(() => {
9051
- let K = (Re, ra) => _e.current(Re, ra);
9053
+ let K = (Re, ra) => de.current(Re, ra);
9052
9054
  return p > 0 ? Gs(K, p) : u > 0 ? ui(K, u) : K;
9053
- }, [u, p]), je = le();
9054
- fe(() => {
9055
+ }, [u, p]), je = re();
9056
+ _e(() => {
9055
9057
  U && v && (je.current = ui(() => {
9056
9058
  E.current.active();
9057
9059
  }, v));
@@ -9061,11 +9063,11 @@ function Ms({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle
9061
9063
  }, Le = (K, Re = !0) => {
9062
9064
  ve(), D.current = na.setTimeout(xe, K || w.current), Re && (x.current = Ee());
9063
9065
  }, Ye = (K) => {
9064
- !W.current && !G.current && (re.current(K, Me), Q.current({ type: "active", prompted: !0 }, Me)), L.current = 0, M.current = Ee(), W.current = !0, Le(P.current, !1);
9065
- }, de = () => {
9066
+ !W.current && !G.current && (ne.current(K, Me), Q.current({ type: "active", prompted: !0 }, Me)), L.current = 0, M.current = Ee(), W.current = !0, Le(P.current, !1);
9067
+ }, ce = () => {
9066
9068
  ve(), G.current || (Y.current(null, Me), Q.current({ type: "idle" }, Me)), G.current = !0, T.current = Ee(), j.current ? Be() : W.current && (M.current = 0, W.current = !1);
9067
9069
  }, ye = (K) => {
9068
- ve(), (G.current || W.current) && (ie.current(K, Me), Q.current({ type: "active", prompted: !1 }, Me)), W.current = !1, M.current = 0, G.current = !1, F.current += Ee() - T.current, R.current += Ee() - T.current, Ge(), Le();
9070
+ ve(), (G.current || W.current) && (le.current(K, Me), Q.current({ type: "active", prompted: !1 }, Me)), W.current = !1, M.current = 0, G.current = !1, F.current += Ee() - T.current, R.current += Ee() - T.current, Ge(), Le();
9069
9071
  }, xe = (K) => {
9070
9072
  if (!G.current) {
9071
9073
  Te.cancel && Te.cancel();
@@ -9074,12 +9076,12 @@ function Ms({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle
9074
9076
  E.current ? E.current.prompt() : Ye(K);
9075
9077
  return;
9076
9078
  }
9077
- E.current ? E.current.idle() : de();
9079
+ E.current ? E.current.idle() : ce();
9078
9080
  return;
9079
9081
  }
9080
9082
  E.current ? E.current.active() : ye(K);
9081
9083
  }, Ie = (K) => {
9082
- if (!c && !x.current && (x.current = Ee(), ie.current(null, Me)), Te(K, Me), W.current) return;
9084
+ if (!c && !x.current && (x.current = Ee(), le.current(null, Me)), Te(K, Me), W.current) return;
9083
9085
  if (ve(), !G.current && I.current.includes(K.type)) {
9084
9086
  xe(K);
9085
9087
  return;
@@ -9090,11 +9092,11 @@ function Ms({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle
9090
9092
  return;
9091
9093
  }
9092
9094
  H.current = !1, L.current = 0, M.current = 0, Le(), U && v && je.current();
9093
- }, Ze = le(Ie);
9094
- fe(() => {
9095
+ }, Ze = re(Ie);
9096
+ _e(() => {
9095
9097
  let K = V.current;
9096
9098
  K && Be(), f > 0 ? Ze.current = ui(Ie, f) : Ze.current = Ie, K && Ge();
9097
- }, [f, u, p, _e, U, v]);
9099
+ }, [f, u, p, de, U, v]);
9098
9100
  let Ge = () => {
9099
9101
  ga && J.current && (V.current || (z.current.forEach((K) => {
9100
9102
  J.current.addEventListener(K, Ze.current, { capture: !0, passive: !0 });
@@ -9114,7 +9116,7 @@ function Ms({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle
9114
9116
  let K = Math.round(_a() - va());
9115
9117
  return K >= 0 ? K : 0;
9116
9118
  }, [T, F]);
9117
- fe(() => {
9119
+ _e(() => {
9118
9120
  if (p > 0 && u > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
9119
9121
  g && Ts(g);
9120
9122
  let K = () => {
@@ -9123,37 +9125,37 @@ function Ms({ timeout: e = 1e3 * 60 * 20, promptTimeout: i = 0, promptBeforeIdle
9123
9125
  return ga && window.addEventListener("beforeunload", K), () => {
9124
9126
  ga && window.removeEventListener("beforeunload", K), E.current && E.current.close(), Te.cancel && Te.cancel(), ve(), Be(!0);
9125
9127
  };
9126
- }, []), fe(() => {
9128
+ }, []), _e(() => {
9127
9129
  E.current && E.current.close(), U ? E.current = new Ds({ channelName: C, leaderElection: h, onPrompt: () => {
9128
9130
  Ye();
9129
9131
  }, onIdle: () => {
9130
- de();
9132
+ ce();
9131
9133
  }, onActive: () => {
9132
9134
  ye();
9133
9135
  }, onMessage: (K) => {
9134
9136
  Ne.current(K, Me);
9135
9137
  }, start: ta, reset: sa, activate: ca, pause: Ke, resume: ia }) : E.current = null;
9136
- }, [U, C, h, re, Y, ie, Ne, ta, sa, Ke, ia]), fe(() => {
9138
+ }, [U, C, h, ne, Y, le, Ne, ta, sa, Ke, ia]), _e(() => {
9137
9139
  A.current || (ve(), Be(!0)), !(b || S) && (c ? ta() : Ge());
9138
- }, [b, c, S, A]), fe(() => {
9140
+ }, [b, c, S, A]), _e(() => {
9139
9141
  if (!A.current) {
9140
9142
  let K = [...(/* @__PURE__ */ new Set([...m, ...y])).values()];
9141
9143
  if (Be(), z.current = K, J.current = r, I.current = y, b || S) return;
9142
9144
  c ? ta() : Ge();
9143
9145
  }
9144
- }, [r, JSON.stringify(m), JSON.stringify(y), A, S, b, c]), fe(() => {
9146
+ }, [r, JSON.stringify(m), JSON.stringify(y), A, S, b, c]), _e(() => {
9145
9147
  A.current && (A.current = !1);
9146
9148
  }, [A]);
9147
9149
  let Me = { message: Ka, start: ta, reset: sa, activate: ca, pause: Ke, resume: ia, isIdle: Ma, isPrompted: Ra, isLeader: qa, isLastActiveTab: $a, getTabId: fa, getRemainingTime: Ca, getElapsedTime: Xe, getTotalElapsedTime: _a, getLastIdleTime: ya, getLastActiveTime: Pa, getIdleTime: wa, getTotalIdleTime: va, getActiveTime: Fa, getTotalActiveTime: Aa, setOnPresenceChange: (K) => {
9148
9150
  d = K, Q.current = K;
9149
9151
  }, setOnPrompt: (K) => {
9150
- l = K, re.current = K;
9152
+ l = K, ne.current = K;
9151
9153
  }, setOnIdle: (K) => {
9152
9154
  t = K, Y.current = K;
9153
9155
  }, setOnActive: (K) => {
9154
- n = K, ie.current = K;
9156
+ n = K, le.current = K;
9155
9157
  }, setOnAction: (K) => {
9156
- o = K, _e.current = K;
9158
+ o = K, de.current = K;
9157
9159
  }, setOnMessage: (K) => {
9158
9160
  s = K, Ne.current = K;
9159
9161
  } };
@@ -10107,13 +10109,13 @@ const Mu = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ms({
10107
10109
  }) => ({
10108
10110
  vipList: mm({ options: e.vipList })
10109
10111
  }), e0 = ({ onMessage: e } = {}) => {
10110
- const [i, a] = da(!1), [r, m] = da([]), g = le(e);
10112
+ const [i, a] = da(!1), [r, m] = da([]), g = re(e);
10111
10113
  g.current = e;
10112
10114
  const y = O((o) => {
10113
10115
  const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("zh-TW");
10114
10116
  m((p) => [...p, { time: s, message: o }]);
10115
10117
  }, []);
10116
- fe(() => {
10118
+ _e(() => {
10117
10119
  if (window.chrome && window.chrome.webview) {
10118
10120
  a(!0), y("WebView2 環境已就緒");
10119
10121
  const o = (s) => {
@@ -10429,7 +10431,7 @@ const Mu = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ms({
10429
10431
  },
10430
10432
  user: { favorite: [] }
10431
10433
  }, vm = ({ enabled: e = !0 } = {}) => {
10432
- const { getToken: i } = me(), { userFavoriteGameApi: a, userGameListApi: r } = ne(), { data: m, isLoading: g, error: y, refetch: d } = X({
10434
+ const { getToken: i } = me(), { userFavoriteGameApi: a, userGameListApi: r } = ie(), { data: m, isLoading: g, error: y, refetch: d } = X({
10433
10435
  queryKey: ["gamesInfo"],
10434
10436
  queryFn: async () => {
10435
10437
  let l = {}, t = {};
@@ -36998,7 +37000,7 @@ const Mu = ({ onIdle: e, onActive: i, onAction: a, timeout: r = 6e5 }) => Ms({
36998
37000
  autoFetch: i = !1,
36999
37001
  mockData: a = !1
37000
37002
  }) => {
37001
- fe(() => {
37003
+ _e(() => {
37002
37004
  a && hm(!0);
37003
37005
  }, [a]);
37004
37006
  const r = vm({ enabled: i });
@@ -37049,13 +37051,13 @@ const l0 = () => {
37049
37051
  });
37050
37052
  }
37051
37053
  }
37052
- }), y = le(!1);
37053
- return fe(() => {
37054
+ }), y = re(!1);
37055
+ return _e(() => {
37054
37056
  if (y.current) return;
37055
37057
  const d = new URLSearchParams(window.location.search), l = d.get("bind_type"), t = d.get("bind_id");
37056
37058
  l && t && (y.current = !0, l === "line" ? i({ bindType: l, bindId: t }) : console.warn(`Unsupported bind type: ${l}`));
37057
37059
  }, [i]), null;
37058
- }, km = { BASE_URL: "/", DEV: !1, MODE: "lib", PROD: !0, SSR: !1, VITE_API_KEY: "6051|IptsseoopjPEtVIi5ITv34Q2ZdVOQelVZ97Vi38Ybcdee7ca", VITE_API_URL: "https://snd.5285.com.tw/api" }, xm = typeof import.meta < "u" && km && !1, zn = "TEST_REQ", o0 = ({
37060
+ }, km = { BASE_URL: "/", DEV: !1, MODE: "lib", PROD: !0, SSR: !1 }, xm = typeof import.meta < "u" && km && !1, zn = "TEST_REQ", o0 = ({
37059
37061
  simulate: e,
37060
37062
  memberUid: i,
37061
37063
  currentGamePlatform: a = null,
@@ -37216,7 +37218,7 @@ const l0 = () => {
37216
37218
  );
37217
37219
  }, s0 = ({ onFunction: e = () => {
37218
37220
  }, buttonProps: i = {} } = {}) => {
37219
- const { lineConfig: a } = me(), r = le(!1), m = ee(a, "liffId", ""), g = new URLSearchParams(window.location.search), y = g.get("line_login"), d = g.get("trans_code"), l = g.get("line_id"), t = g.get("line_name"), n = g.get("invite_code"), { mutate: o, isPending: s } = gr({
37221
+ const { lineConfig: a } = me(), r = re(!1), m = ee(a, "liffId", ""), g = new URLSearchParams(window.location.search), y = g.get("line_login"), d = g.get("trans_code"), l = g.get("line_id"), t = g.get("line_name"), n = g.get("invite_code"), { mutate: o, isPending: s } = gr({
37220
37222
  options: {
37221
37223
  onSuccess: (u) => {
37222
37224
  e(u);
@@ -37224,7 +37226,7 @@ const l0 = () => {
37224
37226
  retry: !1
37225
37227
  }
37226
37228
  });
37227
- fe(() => {
37229
+ _e(() => {
37228
37230
  r.current || y === "true" && l && t && (o({
37229
37231
  trans_code: d,
37230
37232
  line_id: l,
@@ -38122,7 +38124,7 @@ const wm = {
38122
38124
  expired: "Kode QR telah kedaluwarsa"
38123
38125
  }
38124
38126
  }, p0 = ({ forcedShow: e = !1, isVisible: i, setIsVisible: a } = {}) => {
38125
- const { lng: r, getToken: m, lineConfig: g } = me(), [y, d] = da(300), [l, t] = da(!1), n = le(null), o = ee(g, "liffId", ""), s = Je(r), p = m?.(), f = new URLSearchParams(window.location.search).get("mac") || di.get("machine_mac_address") || "", { data: c, isFetching: b } = os({
38127
+ const { lng: r, getToken: m, lineConfig: g } = me(), [y, d] = da(300), [l, t] = da(!1), n = re(null), o = ee(g, "liffId", ""), s = Je(r), p = m?.(), f = new URLSearchParams(window.location.search).get("mac") || di.get("machine_mac_address") || "", { data: c, isFetching: b } = os({
38126
38128
  formData: {
38127
38129
  mac_address: f
38128
38130
  },
@@ -38130,9 +38132,9 @@ const wm = {
38130
38132
  enabled: e ? !0 : !!f && !p
38131
38133
  }
38132
38134
  }), _ = ee(c, "liff_url", "") || `https://liff.line.me/${o}`;
38133
- fe(() => {
38135
+ _e(() => {
38134
38136
  f && di.set("machine_mac_address", f, { expires: 365 });
38135
- }, [f]), fe(() => (_ && (d(300), t(!1), n.current && clearInterval(n.current), n.current = setInterval(() => {
38137
+ }, [f]), _e(() => (_ && (d(300), t(!1), n.current && clearInterval(n.current), n.current = setInterval(() => {
38136
38138
  d((v) => v <= 1 ? (clearInterval(n.current), t(!0), 0) : v - 1);
38137
38139
  }, 1e3)), () => {
38138
38140
  n.current && clearInterval(n.current);
@@ -38666,7 +38668,7 @@ const wm = {
38666
38668
  contentStyle: l = {}
38667
38669
  }) => {
38668
38670
  const t = me(), n = g ?? t?.lng, o = Je(n), s = Am(o), p = { siteName: a, siteUrl: r }, u = qn.includes(m) ? m : "privacy", [f, c] = da(u), [b, _] = da(e);
38669
- if (e !== b && (_(e), e && c(u)), fe(() => {
38671
+ if (e !== b && (_(e), e && c(u)), _e(() => {
38670
38672
  if (!e) return;
38671
38673
  const v = (S) => {
38672
38674
  S.key === "Escape" && i?.(!1);