@obb871001/api-integration-sdk 1.0.438 → 1.0.439

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,7 +1,7 @@
1
- import ve, { createContext as ni, useContext as Ei, useState as Qe, useMemo as ka, useCallback as M, useRef as se, useEffect as ce } from "react";
2
- import { useQueries as sr, useQuery as Y, useQueryClient as ya, useMutation as ae, useInfiniteQuery as sl, QueryClient as ml, QueryClientProvider as ul } from "@tanstack/react-query";
1
+ import ve, { createContext as ni, useContext as Ei, useState as je, useMemo as ka, useCallback as M, useRef as se, useEffect as fe } from "react";
2
+ import { useQueries as sr, useQuery as Y, useQueryClient as ya, useMutation as ee, useInfiniteQuery as sl, QueryClient as ml, QueryClientProvider as ul } from "@tanstack/react-query";
3
3
  import pl from "axios";
4
- import { get as j, replace as ot, isEmpty as Fe, find as Be, entries as mr, forEach as gl, omit as ur, map as Se, isArray as ta, toLower as Ii, keyBy as dl, includes as cl, isObject as ri, flatMap as li, values as fl, keys as zi } from "lodash";
4
+ import { get as j, replace as ot, isEmpty as Fe, find as Be, entries as mr, forEach as gl, omit as ur, map as Ee, isArray as ta, toLower as Ii, keyBy as dl, includes as cl, isObject as ri, flatMap as li, values as fl, keys as zi } from "lodash";
5
5
  import _l from "react-dom";
6
6
  var ui = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
7
  function Di(e) {
@@ -54,25 +54,25 @@ function Ul() {
54
54
  function y(x) {
55
55
  if (x === null || typeof x != "object")
56
56
  return null;
57
- var J = p && x[p] || x[f];
58
- return typeof J == "function" ? J : null;
57
+ var V = p && x[p] || x[f];
58
+ return typeof V == "function" ? V : null;
59
59
  }
60
60
  var _ = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
61
61
  function c(x) {
62
62
  {
63
- for (var J = arguments.length, $ = new Array(J > 1 ? J - 1 : 0), ne = 1; ne < J; ne++)
63
+ for (var V = arguments.length, $ = new Array(V > 1 ? V - 1 : 0), ne = 1; ne < V; ne++)
64
64
  $[ne - 1] = arguments[ne];
65
65
  U("error", x, $);
66
66
  }
67
67
  }
68
- function U(x, J, $) {
68
+ function U(x, V, $) {
69
69
  {
70
70
  var ne = _.ReactDebugCurrentFrame, _e = ne.getStackAddendum();
71
- _e !== "" && (J += "%s", $ = $.concat([_e]));
72
- var Ce = $.map(function(ge) {
73
- return String(ge);
71
+ _e !== "" && (V += "%s", $ = $.concat([_e]));
72
+ var Ue = $.map(function(ce) {
73
+ return String(ce);
74
74
  });
75
- Ce.unshift("Warning: " + J), Function.prototype.apply.call(console[x], console, Ce);
75
+ Ue.unshift("Warning: " + V), Function.prototype.apply.call(console[x], console, Ue);
76
76
  }
77
77
  }
78
78
  var C = !1, v = !1, T = !1, h = !1, D = !1, H;
@@ -84,17 +84,17 @@ function Ul() {
84
84
  // with.
85
85
  x.$$typeof === H || x.getModuleId !== void 0));
86
86
  }
87
- function S(x, J, $) {
87
+ function S(x, V, $) {
88
88
  var ne = x.displayName;
89
89
  if (ne)
90
90
  return ne;
91
- var _e = J.displayName || J.name || "";
91
+ var _e = V.displayName || V.name || "";
92
92
  return _e !== "" ? $ + "(" + _e + ")" : $;
93
93
  }
94
- function A(x) {
94
+ function F(x) {
95
95
  return x.displayName || "Context";
96
96
  }
97
- function P(x) {
97
+ function A(x) {
98
98
  if (x == null)
99
99
  return null;
100
100
  if (typeof x.tag == "number" && c("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof x == "function")
@@ -118,20 +118,20 @@ function Ul() {
118
118
  if (typeof x == "object")
119
119
  switch (x.$$typeof) {
120
120
  case d:
121
- var J = x;
122
- return A(J) + ".Consumer";
121
+ var V = x;
122
+ return F(V) + ".Consumer";
123
123
  case b:
124
124
  var $ = x;
125
- return A($._context) + ".Provider";
125
+ return F($._context) + ".Provider";
126
126
  case l:
127
127
  return S(x, x.render, "ForwardRef");
128
128
  case o:
129
129
  var ne = x.displayName || null;
130
- return ne !== null ? ne : P(x.type) || "Memo";
130
+ return ne !== null ? ne : A(x.type) || "Memo";
131
131
  case m: {
132
- var _e = x, Ce = _e._payload, ge = _e._init;
132
+ var _e = x, Ue = _e._payload, ce = _e._init;
133
133
  try {
134
- return P(ge(Ce));
134
+ return A(ce(Ue));
135
135
  } catch {
136
136
  return null;
137
137
  }
@@ -139,18 +139,18 @@ function Ul() {
139
139
  }
140
140
  return null;
141
141
  }
142
- var R = Object.assign, L = 0, G, I, W, O, z, N, E;
143
- function F() {
144
- }
145
- F.__reactDisabledLog = !0;
142
+ var R = Object.assign, L = 0, G, I, W, z, B, N, E;
146
143
  function w() {
144
+ }
145
+ w.__reactDisabledLog = !0;
146
+ function P() {
147
147
  {
148
148
  if (L === 0) {
149
- G = console.log, I = console.info, W = console.warn, O = console.error, z = console.group, N = console.groupCollapsed, E = console.groupEnd;
149
+ G = console.log, I = console.info, W = console.warn, z = console.error, B = console.group, N = console.groupCollapsed, E = console.groupEnd;
150
150
  var x = {
151
151
  configurable: !0,
152
152
  enumerable: !0,
153
- value: F,
153
+ value: w,
154
154
  writable: !0
155
155
  };
156
156
  Object.defineProperties(console, {
@@ -166,7 +166,7 @@ function Ul() {
166
166
  L++;
167
167
  }
168
168
  }
169
- function X() {
169
+ function ae() {
170
170
  {
171
171
  if (L--, L === 0) {
172
172
  var x = {
@@ -185,10 +185,10 @@ function Ul() {
185
185
  value: W
186
186
  }),
187
187
  error: R({}, x, {
188
- value: O
188
+ value: z
189
189
  }),
190
190
  group: R({}, x, {
191
- value: z
191
+ value: B
192
192
  }),
193
193
  groupCollapsed: R({}, x, {
194
194
  value: N
@@ -201,8 +201,8 @@ function Ul() {
201
201
  L < 0 && c("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
202
202
  }
203
203
  }
204
- var ie = _.ReactCurrentDispatcher, le;
205
- function B(x, J, $) {
204
+ var te = _.ReactCurrentDispatcher, le;
205
+ function O(x, V, $) {
206
206
  {
207
207
  if (le === void 0)
208
208
  try {
@@ -215,13 +215,13 @@ function Ul() {
215
215
  ` + le + x;
216
216
  }
217
217
  }
218
- var V = !1, Z;
218
+ var J = !1, Z;
219
219
  {
220
220
  var Q = typeof WeakMap == "function" ? WeakMap : Map;
221
221
  Z = new Q();
222
222
  }
223
- function K(x, J) {
224
- if (!x || V)
223
+ function X(x, V) {
224
+ if (!x || J)
225
225
  return "";
226
226
  {
227
227
  var $ = Z.get(x);
@@ -229,34 +229,34 @@ function Ul() {
229
229
  return $;
230
230
  }
231
231
  var ne;
232
- V = !0;
232
+ J = !0;
233
233
  var _e = Error.prepareStackTrace;
234
234
  Error.prepareStackTrace = void 0;
235
- var Ce;
236
- Ce = ie.current, ie.current = null, w();
235
+ var Ue;
236
+ Ue = te.current, te.current = null, P();
237
237
  try {
238
- if (J) {
239
- var ge = function() {
238
+ if (V) {
239
+ var ce = function() {
240
240
  throw Error();
241
241
  };
242
- if (Object.defineProperty(ge.prototype, "props", {
242
+ if (Object.defineProperty(ce.prototype, "props", {
243
243
  set: function() {
244
244
  throw Error();
245
245
  }
246
246
  }), typeof Reflect == "object" && Reflect.construct) {
247
247
  try {
248
- Reflect.construct(ge, []);
248
+ Reflect.construct(ce, []);
249
249
  } catch (Ze) {
250
250
  ne = Ze;
251
251
  }
252
- Reflect.construct(x, [], ge);
252
+ Reflect.construct(x, [], ce);
253
253
  } else {
254
254
  try {
255
- ge.call();
255
+ ce.call();
256
256
  } catch (Ze) {
257
257
  ne = Ze;
258
258
  }
259
- x.call(ge.prototype);
259
+ x.call(ce.prototype);
260
260
  }
261
261
  } else {
262
262
  try {
@@ -268,145 +268,145 @@ function Ul() {
268
268
  }
269
269
  } catch (Ze) {
270
270
  if (Ze && ne && typeof Ze.stack == "string") {
271
- for (var ue = Ze.stack.split(`
272
- `), ze = ne.stack.split(`
273
- `), xe = ue.length - 1, De = ze.length - 1; xe >= 1 && De >= 0 && ue[xe] !== ze[De]; )
271
+ for (var pe = Ze.stack.split(`
272
+ `), Ve = ne.stack.split(`
273
+ `), Se = pe.length - 1, De = Ve.length - 1; Se >= 1 && De >= 0 && pe[Se] !== Ve[De]; )
274
274
  De--;
275
- for (; xe >= 1 && De >= 0; xe--, De--)
276
- if (ue[xe] !== ze[De]) {
277
- if (xe !== 1 || De !== 1)
275
+ for (; Se >= 1 && De >= 0; Se--, De--)
276
+ if (pe[Se] !== Ve[De]) {
277
+ if (Se !== 1 || De !== 1)
278
278
  do
279
- if (xe--, De--, De < 0 || ue[xe] !== ze[De]) {
279
+ if (Se--, De--, De < 0 || pe[Se] !== Ve[De]) {
280
280
  var aa = `
281
- ` + ue[xe].replace(" at new ", " at ");
281
+ ` + pe[Se].replace(" at new ", " at ");
282
282
  return x.displayName && aa.includes("<anonymous>") && (aa = aa.replace("<anonymous>", x.displayName)), typeof x == "function" && Z.set(x, aa), aa;
283
283
  }
284
- while (xe >= 1 && De >= 0);
284
+ while (Se >= 1 && De >= 0);
285
285
  break;
286
286
  }
287
287
  }
288
288
  } finally {
289
- V = !1, ie.current = Ce, X(), Error.prepareStackTrace = _e;
289
+ J = !1, te.current = Ue, ae(), Error.prepareStackTrace = _e;
290
290
  }
291
- var Ia = x ? x.displayName || x.name : "", Da = Ia ? B(Ia) : "";
291
+ var Ia = x ? x.displayName || x.name : "", Da = Ia ? O(Ia) : "";
292
292
  return typeof x == "function" && Z.set(x, Da), Da;
293
293
  }
294
- function ee(x, J, $) {
295
- return K(x, !1);
294
+ function q(x, V, $) {
295
+ return X(x, !1);
296
296
  }
297
- function de(x) {
298
- var J = x.prototype;
299
- return !!(J && J.isReactComponent);
297
+ function ue(x) {
298
+ var V = x.prototype;
299
+ return !!(V && V.isReactComponent);
300
300
  }
301
- function he(x, J, $) {
301
+ function Ce(x, V, $) {
302
302
  if (x == null)
303
303
  return "";
304
304
  if (typeof x == "function")
305
- return K(x, de(x));
305
+ return X(x, ue(x));
306
306
  if (typeof x == "string")
307
- return B(x);
307
+ return O(x);
308
308
  switch (x) {
309
309
  case i:
310
- return B("Suspense");
310
+ return O("Suspense");
311
311
  case r:
312
- return B("SuspenseList");
312
+ return O("SuspenseList");
313
313
  }
314
314
  if (typeof x == "object")
315
315
  switch (x.$$typeof) {
316
316
  case l:
317
- return ee(x.render);
317
+ return q(x.render);
318
318
  case o:
319
- return he(x.type, J, $);
319
+ return Ce(x.type, V, $);
320
320
  case m: {
321
- var ne = x, _e = ne._payload, Ce = ne._init;
321
+ var ne = x, _e = ne._payload, Ue = ne._init;
322
322
  try {
323
- return he(Ce(_e), J, $);
323
+ return Ce(Ue(_e), V, $);
324
324
  } catch {
325
325
  }
326
326
  }
327
327
  }
328
328
  return "";
329
329
  }
330
- var be = Object.prototype.hasOwnProperty, Je = {}, Te = _.ReactDebugCurrentFrame;
330
+ var be = Object.prototype.hasOwnProperty, Ye = {}, he = _.ReactDebugCurrentFrame;
331
331
  function Ge(x) {
332
332
  if (x) {
333
- var J = x._owner, $ = he(x.type, x._source, J ? J.type : null);
334
- Te.setExtraStackFrame($);
333
+ var V = x._owner, $ = Ce(x.type, x._source, V ? V.type : null);
334
+ he.setExtraStackFrame($);
335
335
  } else
336
- Te.setExtraStackFrame(null);
336
+ he.setExtraStackFrame(null);
337
337
  }
338
- function Xe(x, J, $, ne, _e) {
338
+ function Xe(x, V, $, ne, _e) {
339
339
  {
340
- var Ce = Function.call.bind(be);
341
- for (var ge in x)
342
- if (Ce(x, ge)) {
343
- var ue = void 0;
340
+ var Ue = Function.call.bind(be);
341
+ for (var ce in x)
342
+ if (Ue(x, ce)) {
343
+ var pe = void 0;
344
344
  try {
345
- if (typeof x[ge] != "function") {
346
- var ze = Error((ne || "React class") + ": " + $ + " type `" + ge + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof x[ge] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
347
- throw ze.name = "Invariant Violation", ze;
345
+ if (typeof x[ce] != "function") {
346
+ var Ve = Error((ne || "React class") + ": " + $ + " type `" + ce + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof x[ce] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
347
+ throw Ve.name = "Invariant Violation", Ve;
348
348
  }
349
- ue = x[ge](J, ge, ne, $, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
350
- } catch (xe) {
351
- ue = xe;
349
+ pe = x[ce](V, ce, ne, $, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
350
+ } catch (Se) {
351
+ pe = Se;
352
352
  }
353
- ue && !(ue instanceof Error) && (Ge(_e), c("%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).", ne || "React class", $, ge, typeof ue), Ge(null)), ue instanceof Error && !(ue.message in Je) && (Je[ue.message] = !0, Ge(_e), c("Failed %s type: %s", $, ue.message), Ge(null));
353
+ pe && !(pe instanceof Error) && (Ge(_e), c("%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).", ne || "React class", $, ce, typeof pe), Ge(null)), pe instanceof Error && !(pe.message in Ye) && (Ye[pe.message] = !0, Ge(_e), c("Failed %s type: %s", $, pe.message), Ge(null));
354
354
  }
355
355
  }
356
356
  }
357
- var fe = Array.isArray;
358
- function Ue(x) {
359
- return fe(x);
357
+ var Me = Array.isArray;
358
+ function de(x) {
359
+ return Me(x);
360
360
  }
361
- function Ee(x) {
361
+ function ke(x) {
362
362
  {
363
- var J = typeof Symbol == "function" && Symbol.toStringTag, $ = J && x[Symbol.toStringTag] || x.constructor.name || "Object";
363
+ var V = typeof Symbol == "function" && Symbol.toStringTag, $ = V && x[Symbol.toStringTag] || x.constructor.name || "Object";
364
364
  return $;
365
365
  }
366
366
  }
367
- function Ie(x) {
367
+ function He(x) {
368
368
  try {
369
- return Ke(x), !1;
369
+ return ze(x), !1;
370
370
  } catch {
371
371
  return !0;
372
372
  }
373
373
  }
374
- function Ke(x) {
374
+ function ze(x) {
375
375
  return "" + x;
376
376
  }
377
- function Me(x) {
378
- if (Ie(x))
379
- return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ee(x)), Ke(x);
377
+ function xe(x) {
378
+ if (He(x))
379
+ return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ke(x)), ze(x);
380
380
  }
381
- var He = _.ReactCurrentOwner, ia = {
381
+ var We = _.ReactCurrentOwner, ia = {
382
382
  key: !0,
383
383
  ref: !0,
384
384
  __self: !0,
385
385
  __source: !0
386
386
  }, ua, ba;
387
- function qe(x) {
387
+ function Ke(x) {
388
388
  if (be.call(x, "ref")) {
389
- var J = Object.getOwnPropertyDescriptor(x, "ref").get;
390
- if (J && J.isReactWarning)
389
+ var V = Object.getOwnPropertyDescriptor(x, "ref").get;
390
+ if (V && V.isReactWarning)
391
391
  return !1;
392
392
  }
393
393
  return x.ref !== void 0;
394
394
  }
395
395
  function na(x) {
396
396
  if (be.call(x, "key")) {
397
- var J = Object.getOwnPropertyDescriptor(x, "key").get;
398
- if (J && J.isReactWarning)
397
+ var V = Object.getOwnPropertyDescriptor(x, "key").get;
398
+ if (V && V.isReactWarning)
399
399
  return !1;
400
400
  }
401
401
  return x.key !== void 0;
402
402
  }
403
- function Ya(x, J) {
404
- typeof x.ref == "string" && He.current;
403
+ function Ya(x, V) {
404
+ typeof x.ref == "string" && We.current;
405
405
  }
406
- function Fa(x, J) {
406
+ function Fa(x, V) {
407
407
  {
408
408
  var $ = function() {
409
- ua || (ua = !0, c("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", J));
409
+ ua || (ua = !0, c("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", V));
410
410
  };
411
411
  $.isReactWarning = !0, Object.defineProperty(x, "key", {
412
412
  get: $,
@@ -414,10 +414,10 @@ function Ul() {
414
414
  });
415
415
  }
416
416
  }
417
- function Aa(x, J) {
417
+ function Aa(x, V) {
418
418
  {
419
419
  var $ = function() {
420
- ba || (ba = !0, c("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", J));
420
+ ba || (ba = !0, c("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", V));
421
421
  };
422
422
  $.isReactWarning = !0, Object.defineProperty(x, "ref", {
423
423
  get: $,
@@ -425,57 +425,57 @@ function Ul() {
425
425
  });
426
426
  }
427
427
  }
428
- var Xa = function(x, J, $, ne, _e, Ce, ge) {
429
- var ue = {
428
+ var Xa = function(x, V, $, ne, _e, Ue, ce) {
429
+ var pe = {
430
430
  // This tag allows us to uniquely identify this as a React Element
431
431
  $$typeof: t,
432
432
  // Built-in properties that belong on the element
433
433
  type: x,
434
- key: J,
434
+ key: V,
435
435
  ref: $,
436
- props: ge,
436
+ props: ce,
437
437
  // Record the component responsible for creating this element.
438
- _owner: Ce
438
+ _owner: Ue
439
439
  };
440
- return ue._store = {}, Object.defineProperty(ue._store, "validated", {
440
+ return pe._store = {}, Object.defineProperty(pe._store, "validated", {
441
441
  configurable: !1,
442
442
  enumerable: !1,
443
443
  writable: !0,
444
444
  value: !1
445
- }), Object.defineProperty(ue, "_self", {
445
+ }), Object.defineProperty(pe, "_self", {
446
446
  configurable: !1,
447
447
  enumerable: !1,
448
448
  writable: !1,
449
449
  value: ne
450
- }), Object.defineProperty(ue, "_source", {
450
+ }), Object.defineProperty(pe, "_source", {
451
451
  configurable: !1,
452
452
  enumerable: !1,
453
453
  writable: !1,
454
454
  value: _e
455
- }), Object.freeze && (Object.freeze(ue.props), Object.freeze(ue)), ue;
455
+ }), Object.freeze && (Object.freeze(pe.props), Object.freeze(pe)), pe;
456
456
  };
457
- function et(x, J, $, ne, _e) {
457
+ function et(x, V, $, ne, _e) {
458
458
  {
459
- var Ce, ge = {}, ue = null, ze = null;
460
- $ !== void 0 && (Me($), ue = "" + $), na(J) && (Me(J.key), ue = "" + J.key), qe(J) && (ze = J.ref, Ya(J, _e));
461
- for (Ce in J)
462
- be.call(J, Ce) && !ia.hasOwnProperty(Ce) && (ge[Ce] = J[Ce]);
459
+ var Ue, ce = {}, pe = null, Ve = null;
460
+ $ !== void 0 && (xe($), pe = "" + $), na(V) && (xe(V.key), pe = "" + V.key), Ke(V) && (Ve = V.ref, Ya(V, _e));
461
+ for (Ue in V)
462
+ be.call(V, Ue) && !ia.hasOwnProperty(Ue) && (ce[Ue] = V[Ue]);
463
463
  if (x && x.defaultProps) {
464
- var xe = x.defaultProps;
465
- for (Ce in xe)
466
- ge[Ce] === void 0 && (ge[Ce] = xe[Ce]);
464
+ var Se = x.defaultProps;
465
+ for (Ue in Se)
466
+ ce[Ue] === void 0 && (ce[Ue] = Se[Ue]);
467
467
  }
468
- if (ue || ze) {
468
+ if (pe || Ve) {
469
469
  var De = typeof x == "function" ? x.displayName || x.name || "Unknown" : x;
470
- ue && Fa(ge, De), ze && Aa(ge, De);
470
+ pe && Fa(ce, De), Ve && Aa(ce, De);
471
471
  }
472
- return Xa(x, ue, ze, _e, ne, He.current, ge);
472
+ return Xa(x, pe, Ve, _e, ne, We.current, ce);
473
473
  }
474
474
  }
475
475
  var Ua = _.ReactCurrentOwner, Sa = _.ReactDebugCurrentFrame;
476
476
  function ea(x) {
477
477
  if (x) {
478
- var J = x._owner, $ = he(x.type, x._source, J ? J.type : null);
478
+ var V = x._owner, $ = Ce(x.type, x._source, V ? V.type : null);
479
479
  Sa.setExtraStackFrame($);
480
480
  } else
481
481
  Sa.setExtraStackFrame(null);
@@ -488,7 +488,7 @@ function Ul() {
488
488
  function Oa() {
489
489
  {
490
490
  if (Ua.current) {
491
- var x = P(Ua.current.type);
491
+ var x = A(Ua.current.type);
492
492
  if (x)
493
493
  return `
494
494
 
@@ -503,77 +503,77 @@ Check the render method of \`` + x + "`.";
503
503
  var Ea = {};
504
504
  function Ha(x) {
505
505
  {
506
- var J = Oa();
507
- if (!J) {
506
+ var V = Oa();
507
+ if (!V) {
508
508
  var $ = typeof x == "string" ? x : x.displayName || x.name;
509
- $ && (J = `
509
+ $ && (V = `
510
510
 
511
511
  Check the top-level render call using <` + $ + ">.");
512
512
  }
513
- return J;
513
+ return V;
514
514
  }
515
515
  }
516
- function Wa(x, J) {
516
+ function Wa(x, V) {
517
517
  {
518
518
  if (!x._store || x._store.validated || x.key != null)
519
519
  return;
520
520
  x._store.validated = !0;
521
- var $ = Ha(J);
521
+ var $ = Ha(V);
522
522
  if (Ea[$])
523
523
  return;
524
524
  Ea[$] = !0;
525
525
  var ne = "";
526
- x && x._owner && x._owner !== Ua.current && (ne = " It was passed a child from " + P(x._owner.type) + "."), ea(x), c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', $, ne), ea(null);
526
+ x && x._owner && x._owner !== Ua.current && (ne = " It was passed a child from " + A(x._owner.type) + "."), ea(x), c('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', $, ne), ea(null);
527
527
  }
528
528
  }
529
- function Re(x, J) {
529
+ function Re(x, V) {
530
530
  {
531
531
  if (typeof x != "object")
532
532
  return;
533
- if (Ue(x))
533
+ if (de(x))
534
534
  for (var $ = 0; $ < x.length; $++) {
535
535
  var ne = x[$];
536
- va(ne) && Wa(ne, J);
536
+ va(ne) && Wa(ne, V);
537
537
  }
538
538
  else if (va(x))
539
539
  x._store && (x._store.validated = !0);
540
540
  else if (x) {
541
541
  var _e = y(x);
542
542
  if (typeof _e == "function" && _e !== x.entries)
543
- for (var Ce = _e.call(x), ge; !(ge = Ce.next()).done; )
544
- va(ge.value) && Wa(ge.value, J);
543
+ for (var Ue = _e.call(x), ce; !(ce = Ue.next()).done; )
544
+ va(ce.value) && Wa(ce.value, V);
545
545
  }
546
546
  }
547
547
  }
548
- function q(x) {
548
+ function K(x) {
549
549
  {
550
- var J = x.type;
551
- if (J == null || typeof J == "string")
550
+ var V = x.type;
551
+ if (V == null || typeof V == "string")
552
552
  return;
553
553
  var $;
554
- if (typeof J == "function")
555
- $ = J.propTypes;
556
- else if (typeof J == "object" && (J.$$typeof === l || // Note: Memo only checks outer props here.
554
+ if (typeof V == "function")
555
+ $ = V.propTypes;
556
+ else if (typeof V == "object" && (V.$$typeof === l || // Note: Memo only checks outer props here.
557
557
  // Inner props are checked in the reconciler.
558
- J.$$typeof === o))
559
- $ = J.propTypes;
558
+ V.$$typeof === o))
559
+ $ = V.propTypes;
560
560
  else
561
561
  return;
562
562
  if ($) {
563
- var ne = P(J);
563
+ var ne = A(V);
564
564
  Xe($, x.props, "prop", ne, x);
565
- } else if (J.PropTypes !== void 0 && !Ca) {
565
+ } else if (V.PropTypes !== void 0 && !Ca) {
566
566
  Ca = !0;
567
- var _e = P(J);
567
+ var _e = A(V);
568
568
  c("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", _e || "Unknown");
569
569
  }
570
- typeof J.getDefaultProps == "function" && !J.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
570
+ typeof V.getDefaultProps == "function" && !V.getDefaultProps.isReactClassApproved && c("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
571
571
  }
572
572
  }
573
573
  function Pe(x) {
574
574
  {
575
- for (var J = Object.keys(x.props), $ = 0; $ < J.length; $++) {
576
- var ne = J[$];
575
+ for (var V = Object.keys(x.props), $ = 0; $ < V.length; $++) {
576
+ var ne = V[$];
577
577
  if (ne !== "children" && ne !== "key") {
578
578
  ea(x), c("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ne), ea(null);
579
579
  break;
@@ -583,25 +583,25 @@ Check the top-level render call using <` + $ + ">.");
583
583
  }
584
584
  }
585
585
  var la = {};
586
- function We(x, J, $, ne, _e, Ce) {
587
- {
588
- var ge = k(x);
589
- if (!ge) {
590
- var ue = "";
591
- (x === void 0 || typeof x == "object" && x !== null && Object.keys(x).length === 0) && (ue += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
592
- var ze = Ba();
593
- ze ? ue += ze : ue += Oa();
594
- var xe;
595
- x === null ? xe = "null" : Ue(x) ? xe = "array" : x !== void 0 && x.$$typeof === t ? (xe = "<" + (P(x.type) || "Unknown") + " />", ue = " Did you accidentally export a JSX literal instead of a component?") : xe = typeof x, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", xe, ue);
586
+ function Ie(x, V, $, ne, _e, Ue) {
587
+ {
588
+ var ce = k(x);
589
+ if (!ce) {
590
+ var pe = "";
591
+ (x === void 0 || typeof x == "object" && x !== null && Object.keys(x).length === 0) && (pe += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
592
+ var Ve = Ba();
593
+ Ve ? pe += Ve : pe += Oa();
594
+ var Se;
595
+ x === null ? Se = "null" : de(x) ? Se = "array" : x !== void 0 && x.$$typeof === t ? (Se = "<" + (A(x.type) || "Unknown") + " />", pe = " Did you accidentally export a JSX literal instead of a component?") : Se = typeof x, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Se, pe);
596
596
  }
597
- var De = et(x, J, $, _e, Ce);
597
+ var De = et(x, V, $, _e, Ue);
598
598
  if (De == null)
599
599
  return De;
600
- if (ge) {
601
- var aa = J.children;
600
+ if (ce) {
601
+ var aa = V.children;
602
602
  if (aa !== void 0)
603
603
  if (ne)
604
- if (Ue(aa)) {
604
+ if (de(aa)) {
605
605
  for (var Ia = 0; Ia < aa.length; Ia++)
606
606
  Re(aa[Ia], x);
607
607
  Object.freeze && Object.freeze(aa);
@@ -610,8 +610,8 @@ Check the top-level render call using <` + $ + ">.");
610
610
  else
611
611
  Re(aa, x);
612
612
  }
613
- if (be.call(J, "key")) {
614
- var Da = P(x), Ze = Object.keys(J).filter(function(ol) {
613
+ if (be.call(V, "key")) {
614
+ var Da = A(x), Ze = Object.keys(V).filter(function(ol) {
615
615
  return ol !== "key";
616
616
  }), mi = Ze.length > 0 ? "{key: someKey, " + Ze.join(": ..., ") + ": ...}" : "{key: someKey}";
617
617
  if (!la[Da + mi]) {
@@ -624,14 +624,14 @@ React keys must be passed directly to JSX without using spread:
624
624
  <%s key={someKey} {...props} />`, mi, Da, ll, Da), la[Da + mi] = !0;
625
625
  }
626
626
  }
627
- return x === n ? Pe(De) : q(De), De;
627
+ return x === n ? Pe(De) : K(De), De;
628
628
  }
629
629
  }
630
- function oa(x, J, $) {
631
- return We(x, J, $, !0);
630
+ function oa(x, V, $) {
631
+ return Ie(x, V, $, !0);
632
632
  }
633
- function dt(x, J, $) {
634
- return We(x, J, $, !1);
633
+ function dt(x, V, $) {
634
+ return Ie(x, V, $, !1);
635
635
  }
636
636
  var si = dt, rl = oa;
637
637
  tt.Fragment = n, tt.jsx = si, tt.jsxs = rl;
@@ -641,7 +641,7 @@ var Zi;
641
641
  function Cl() {
642
642
  return Zi || (Zi = 1, process.env.NODE_ENV === "production" ? ct.exports = bl() : ct.exports = Ul()), ct.exports;
643
643
  }
644
- var te = Cl();
644
+ var ie = Cl();
645
645
  const pr = ni(null), re = () => {
646
646
  const e = Ei(pr);
647
647
  if (!e)
@@ -651,7 +651,7 @@ const pr = ni(null), re = () => {
651
651
  READY: "ready",
652
652
  PENDING: "pending"
653
653
  }, gr = ni(null), vl = ({ children: e }) => {
654
- const [t, a] = Qe(it.READY), n = ka(() => {
654
+ const [t, a] = je(it.READY), n = ka(() => {
655
655
  const s = t === it.READY, u = t === it.PENDING;
656
656
  return {
657
657
  status: t,
@@ -662,13 +662,13 @@ const pr = ni(null), re = () => {
662
662
  setAsPending: () => a(it.PENDING)
663
663
  };
664
664
  }, [t]);
665
- return /* @__PURE__ */ te.jsx(gr.Provider, { value: n, children: e });
665
+ return /* @__PURE__ */ ie.jsx(gr.Provider, { value: n, children: e });
666
666
  }, dr = () => {
667
667
  const e = Ei(gr);
668
668
  if (!e)
669
669
  throw new Error("useStatus must be used within a StatusProvider");
670
670
  return e;
671
- }, Ve = (e) => {
671
+ }, Je = (e) => {
672
672
  switch (e) {
673
673
  case "tw":
674
674
  return "zh_TW";
@@ -687,7 +687,7 @@ const pr = ni(null), re = () => {
687
687
  default:
688
688
  return e;
689
689
  }
690
- }, Ye = "https://d1h3qe8voog6w4.cloudfront.net", st = "https://d3jx2uvukujuvn.cloudfront.net", cr = (e) => `${Ye}/reward_icon/${e}.avif`, fr = () => `${Ye}/reward_icon/background_deposit.avif`, _r = "ds88platformIcon", Ka = {
690
+ }, Qe = "https://d1h3qe8voog6w4.cloudfront.net", st = "https://d3jx2uvukujuvn.cloudfront.net", cr = (e) => `${Qe}/reward_icon/${e}.avif`, fr = () => `${Qe}/reward_icon/background_deposit.avif`, _r = "ds88platformIcon", Ka = {
691
691
  zh_TW: "系統提示",
692
692
  zh_CN: "系统提示",
693
693
  en_US: "System Prompt",
@@ -738,7 +738,7 @@ function Ki({
738
738
  "發生錯誤,請稍後再試。"
739
739
  );
740
740
  if (l) {
741
- const m = Ve(n);
741
+ const m = Je(n);
742
742
  s?.dispatch({
743
743
  type: "ui/showToast",
744
744
  payload: {
@@ -900,7 +900,7 @@ const Pl = {}, wl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
900
900
  default: Pl
901
901
  }, Symbol.toStringTag, { value: "Module" })), Fl = /* @__PURE__ */ yl(wl);
902
902
  var Al = Ct.exports, qi;
903
- function pe() {
903
+ function ge() {
904
904
  return qi || (qi = 1, (function(e, t) {
905
905
  (function(a, n) {
906
906
  e.exports = n();
@@ -1273,8 +1273,8 @@ function pe() {
1273
1273
  c ? H = n.ceil(H) : H = n.max((H | 0) - this._minBufferSize, 0);
1274
1274
  var k = H * h, S = n.min(k * 4, T);
1275
1275
  if (k) {
1276
- for (var A = 0; A < k; A += h)
1277
- this._doProcessBlock(v, A);
1276
+ for (var F = 0; F < k; F += h)
1277
+ this._doProcessBlock(v, F);
1278
1278
  U = v.splice(0, k), C.sigBytes -= S;
1279
1279
  }
1280
1280
  return new o.init(U, S);
@@ -1404,7 +1404,7 @@ var vt = { exports: {} }, Ol = vt.exports, $i;
1404
1404
  function oi() {
1405
1405
  return $i || ($i = 1, (function(e, t) {
1406
1406
  (function(a, n) {
1407
- e.exports = n(pe());
1407
+ e.exports = n(ge());
1408
1408
  })(Ol, function(a) {
1409
1409
  return (function(n) {
1410
1410
  var s = a, u = s.lib, b = u.Base, d = u.WordArray, l = s.x64 = {};
@@ -1634,7 +1634,7 @@ var ht = { exports: {} }, Bl = ht.exports, ji;
1634
1634
  function Hl() {
1635
1635
  return ji || (ji = 1, (function(e, t) {
1636
1636
  (function(a, n) {
1637
- e.exports = n(pe());
1637
+ e.exports = n(ge());
1638
1638
  })(Bl, function(a) {
1639
1639
  return (function() {
1640
1640
  if (typeof ArrayBuffer == "function") {
@@ -1656,7 +1656,7 @@ var Tt = { exports: {} }, Wl = Tt.exports, Qi;
1656
1656
  function Il() {
1657
1657
  return Qi || (Qi = 1, (function(e, t) {
1658
1658
  (function(a, n) {
1659
- e.exports = n(pe());
1659
+ e.exports = n(ge());
1660
1660
  })(Wl, function(a) {
1661
1661
  return (function() {
1662
1662
  var n = a, s = n.lib, u = s.WordArray, b = n.enc;
@@ -1750,7 +1750,7 @@ var kt = { exports: {} }, zl = kt.exports, Yi;
1750
1750
  function Ra() {
1751
1751
  return Yi || (Yi = 1, (function(e, t) {
1752
1752
  (function(a, n) {
1753
- e.exports = n(pe());
1753
+ e.exports = n(ge());
1754
1754
  })(zl, function(a) {
1755
1755
  return (function() {
1756
1756
  var n = a, s = n.lib, u = s.WordArray, b = n.enc;
@@ -1825,7 +1825,7 @@ var xt = { exports: {} }, Vl = xt.exports, Xi;
1825
1825
  function Jl() {
1826
1826
  return Xi || (Xi = 1, (function(e, t) {
1827
1827
  (function(a, n) {
1828
- e.exports = n(pe());
1828
+ e.exports = n(ge());
1829
1829
  })(Vl, function(a) {
1830
1830
  return (function() {
1831
1831
  var n = a, s = n.lib, u = s.WordArray, b = n.enc;
@@ -1907,7 +1907,7 @@ var St = { exports: {} }, Zl = St.exports, en;
1907
1907
  function Pa() {
1908
1908
  return en || (en = 1, (function(e, t) {
1909
1909
  (function(a, n) {
1910
- e.exports = n(pe());
1910
+ e.exports = n(ge());
1911
1911
  })(Zl, function(a) {
1912
1912
  return (function(n) {
1913
1913
  var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.algo, i = [];
@@ -1929,8 +1929,8 @@ function Pa() {
1929
1929
  var c = y + _, U = f[c];
1930
1930
  f[c] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360;
1931
1931
  }
1932
- var C = this._hash.words, v = f[y + 0], T = f[y + 1], h = f[y + 2], D = f[y + 3], H = f[y + 4], k = f[y + 5], S = f[y + 6], A = f[y + 7], P = f[y + 8], R = f[y + 9], L = f[y + 10], G = f[y + 11], I = f[y + 12], W = f[y + 13], O = f[y + 14], z = f[y + 15], N = C[0], E = C[1], F = C[2], w = C[3];
1933
- N = o(N, E, F, w, v, 7, i[0]), w = o(w, N, E, F, T, 12, i[1]), F = o(F, w, N, E, h, 17, i[2]), E = o(E, F, w, N, D, 22, i[3]), N = o(N, E, F, w, H, 7, i[4]), w = o(w, N, E, F, k, 12, i[5]), F = o(F, w, N, E, S, 17, i[6]), E = o(E, F, w, N, A, 22, i[7]), N = o(N, E, F, w, P, 7, i[8]), w = o(w, N, E, F, R, 12, i[9]), F = o(F, w, N, E, L, 17, i[10]), E = o(E, F, w, N, G, 22, i[11]), N = o(N, E, F, w, I, 7, i[12]), w = o(w, N, E, F, W, 12, i[13]), F = o(F, w, N, E, O, 17, i[14]), E = o(E, F, w, N, z, 22, i[15]), N = m(N, E, F, w, T, 5, i[16]), w = m(w, N, E, F, S, 9, i[17]), F = m(F, w, N, E, G, 14, i[18]), E = m(E, F, w, N, v, 20, i[19]), N = m(N, E, F, w, k, 5, i[20]), w = m(w, N, E, F, L, 9, i[21]), F = m(F, w, N, E, z, 14, i[22]), E = m(E, F, w, N, H, 20, i[23]), N = m(N, E, F, w, R, 5, i[24]), w = m(w, N, E, F, O, 9, i[25]), F = m(F, w, N, E, D, 14, i[26]), E = m(E, F, w, N, P, 20, i[27]), N = m(N, E, F, w, W, 5, i[28]), w = m(w, N, E, F, h, 9, i[29]), F = m(F, w, N, E, A, 14, i[30]), E = m(E, F, w, N, I, 20, i[31]), N = g(N, E, F, w, k, 4, i[32]), w = g(w, N, E, F, P, 11, i[33]), F = g(F, w, N, E, G, 16, i[34]), E = g(E, F, w, N, O, 23, i[35]), N = g(N, E, F, w, T, 4, i[36]), w = g(w, N, E, F, H, 11, i[37]), F = g(F, w, N, E, A, 16, i[38]), E = g(E, F, w, N, L, 23, i[39]), N = g(N, E, F, w, W, 4, i[40]), w = g(w, N, E, F, v, 11, i[41]), F = g(F, w, N, E, D, 16, i[42]), E = g(E, F, w, N, S, 23, i[43]), N = g(N, E, F, w, R, 4, i[44]), w = g(w, N, E, F, I, 11, i[45]), F = g(F, w, N, E, z, 16, i[46]), E = g(E, F, w, N, h, 23, i[47]), N = p(N, E, F, w, v, 6, i[48]), w = p(w, N, E, F, A, 10, i[49]), F = p(F, w, N, E, O, 15, i[50]), E = p(E, F, w, N, k, 21, i[51]), N = p(N, E, F, w, I, 6, i[52]), w = p(w, N, E, F, D, 10, i[53]), F = p(F, w, N, E, L, 15, i[54]), E = p(E, F, w, N, T, 21, i[55]), N = p(N, E, F, w, P, 6, i[56]), w = p(w, N, E, F, z, 10, i[57]), F = p(F, w, N, E, S, 15, i[58]), E = p(E, F, w, N, W, 21, i[59]), N = p(N, E, F, w, H, 6, i[60]), w = p(w, N, E, F, G, 10, i[61]), F = p(F, w, N, E, h, 15, i[62]), E = p(E, F, w, N, R, 21, i[63]), C[0] = C[0] + N | 0, C[1] = C[1] + E | 0, C[2] = C[2] + F | 0, C[3] = C[3] + w | 0;
1932
+ var C = this._hash.words, v = f[y + 0], T = f[y + 1], h = f[y + 2], D = f[y + 3], H = f[y + 4], k = f[y + 5], S = f[y + 6], F = f[y + 7], A = f[y + 8], R = f[y + 9], L = f[y + 10], G = f[y + 11], I = f[y + 12], W = f[y + 13], z = f[y + 14], B = f[y + 15], N = C[0], E = C[1], w = C[2], P = C[3];
1933
+ N = o(N, E, w, P, v, 7, i[0]), P = o(P, N, E, w, T, 12, i[1]), w = o(w, P, N, E, h, 17, i[2]), E = o(E, w, P, N, D, 22, i[3]), N = o(N, E, w, P, H, 7, i[4]), P = o(P, N, E, w, k, 12, i[5]), w = o(w, P, N, E, S, 17, i[6]), E = o(E, w, P, N, F, 22, i[7]), N = o(N, E, w, P, A, 7, i[8]), P = o(P, N, E, w, R, 12, i[9]), w = o(w, P, N, E, L, 17, i[10]), E = o(E, w, P, N, G, 22, i[11]), N = o(N, E, w, P, I, 7, i[12]), P = o(P, N, E, w, W, 12, i[13]), w = o(w, P, N, E, z, 17, i[14]), E = o(E, w, P, N, B, 22, i[15]), N = m(N, E, w, P, T, 5, i[16]), P = m(P, N, E, w, S, 9, i[17]), w = m(w, P, N, E, G, 14, i[18]), E = m(E, w, P, N, v, 20, i[19]), N = m(N, E, w, P, k, 5, i[20]), P = m(P, N, E, w, L, 9, i[21]), w = m(w, P, N, E, B, 14, i[22]), E = m(E, w, P, N, H, 20, i[23]), N = m(N, E, w, P, R, 5, i[24]), P = m(P, N, E, w, z, 9, i[25]), w = m(w, P, N, E, D, 14, i[26]), E = m(E, w, P, N, A, 20, i[27]), N = m(N, E, w, P, W, 5, i[28]), P = m(P, N, E, w, h, 9, i[29]), w = m(w, P, N, E, F, 14, i[30]), E = m(E, w, P, N, I, 20, i[31]), N = g(N, E, w, P, k, 4, i[32]), P = g(P, N, E, w, A, 11, i[33]), w = g(w, P, N, E, G, 16, i[34]), E = g(E, w, P, N, z, 23, i[35]), N = g(N, E, w, P, T, 4, i[36]), P = g(P, N, E, w, H, 11, i[37]), w = g(w, P, N, E, F, 16, i[38]), E = g(E, w, P, N, L, 23, i[39]), N = g(N, E, w, P, W, 4, i[40]), P = g(P, N, E, w, v, 11, i[41]), w = g(w, P, N, E, D, 16, i[42]), E = g(E, w, P, N, S, 23, i[43]), N = g(N, E, w, P, R, 4, i[44]), P = g(P, N, E, w, I, 11, i[45]), w = g(w, P, N, E, B, 16, i[46]), E = g(E, w, P, N, h, 23, i[47]), N = p(N, E, w, P, v, 6, i[48]), P = p(P, N, E, w, F, 10, i[49]), w = p(w, P, N, E, z, 15, i[50]), E = p(E, w, P, N, k, 21, i[51]), N = p(N, E, w, P, I, 6, i[52]), P = p(P, N, E, w, D, 10, i[53]), w = p(w, P, N, E, L, 15, i[54]), E = p(E, w, P, N, T, 21, i[55]), N = p(N, E, w, P, A, 6, i[56]), P = p(P, N, E, w, B, 10, i[57]), w = p(w, P, N, E, S, 15, i[58]), E = p(E, w, P, N, W, 21, i[59]), N = p(N, E, w, P, H, 6, i[60]), P = p(P, N, E, w, G, 10, i[61]), w = p(w, P, N, E, h, 15, i[62]), E = p(E, w, P, N, R, 21, i[63]), C[0] = C[0] + N | 0, C[1] = C[1] + E | 0, C[2] = C[2] + w | 0, C[3] = C[3] + P | 0;
1934
1934
  },
1935
1935
  _doFinalize: function() {
1936
1936
  var f = this._data, y = f.words, _ = this._nDataBytes * 8, c = f.sigBytes * 8;
@@ -1973,7 +1973,7 @@ var Et = { exports: {} }, Kl = Et.exports, an;
1973
1973
  function hr() {
1974
1974
  return an || (an = 1, (function(e, t) {
1975
1975
  (function(a, n) {
1976
- e.exports = n(pe());
1976
+ e.exports = n(ge());
1977
1977
  })(Kl, function(a) {
1978
1978
  return (function() {
1979
1979
  var n = a, s = n.lib, u = s.WordArray, b = s.Hasher, d = n.algo, l = [], i = d.SHA1 = b.extend({
@@ -2017,7 +2017,7 @@ var Dt = { exports: {} }, ql = Dt.exports, tn;
2017
2017
  function Ni() {
2018
2018
  return tn || (tn = 1, (function(e, t) {
2019
2019
  (function(a, n) {
2020
- e.exports = n(pe());
2020
+ e.exports = n(ge());
2021
2021
  })(ql, function(a) {
2022
2022
  return (function(n) {
2023
2023
  var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.algo, i = [], r = [];
@@ -2043,10 +2043,10 @@ function Ni() {
2043
2043
  if (D < 16)
2044
2044
  o[D] = g[p + D] | 0;
2045
2045
  else {
2046
- var H = o[D - 15], k = (H << 25 | H >>> 7) ^ (H << 14 | H >>> 18) ^ H >>> 3, S = o[D - 2], A = (S << 15 | S >>> 17) ^ (S << 13 | S >>> 19) ^ S >>> 10;
2047
- o[D] = k + o[D - 7] + A + o[D - 16];
2046
+ var H = o[D - 15], k = (H << 25 | H >>> 7) ^ (H << 14 | H >>> 18) ^ H >>> 3, S = o[D - 2], F = (S << 15 | S >>> 17) ^ (S << 13 | S >>> 19) ^ S >>> 10;
2047
+ o[D] = k + o[D - 7] + F + o[D - 16];
2048
2048
  }
2049
- var P = C & v ^ ~C & T, R = y & _ ^ y & c ^ _ & c, L = (y << 30 | y >>> 2) ^ (y << 19 | y >>> 13) ^ (y << 10 | y >>> 22), G = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25), I = h + G + P + r[D] + o[D], W = L + R;
2049
+ var A = C & v ^ ~C & T, R = y & _ ^ y & c ^ _ & c, L = (y << 30 | y >>> 2) ^ (y << 19 | y >>> 13) ^ (y << 10 | y >>> 22), G = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25), I = h + G + A + r[D] + o[D], W = L + R;
2050
2050
  h = T, T = v, v = C, C = U + I | 0, U = c, c = _, _ = y, y = I + W | 0;
2051
2051
  }
2052
2052
  f[0] = f[0] + y | 0, f[1] = f[1] + _ | 0, f[2] = f[2] + c | 0, f[3] = f[3] + U | 0, f[4] = f[4] + C | 0, f[5] = f[5] + v | 0, f[6] = f[6] + T | 0, f[7] = f[7] + h | 0;
@@ -2069,7 +2069,7 @@ var Nt = { exports: {} }, $l = Nt.exports, nn;
2069
2069
  function jl() {
2070
2070
  return nn || (nn = 1, (function(e, t) {
2071
2071
  (function(a, n, s) {
2072
- e.exports = n(pe(), Ni());
2072
+ e.exports = n(ge(), Ni());
2073
2073
  })($l, function(a) {
2074
2074
  return (function() {
2075
2075
  var n = a, s = n.lib, u = s.WordArray, b = n.algo, d = b.SHA256, l = b.SHA224 = d.extend({
@@ -2099,7 +2099,7 @@ var Lt = { exports: {} }, Ql = Lt.exports, rn;
2099
2099
  function Tr() {
2100
2100
  return rn || (rn = 1, (function(e, t) {
2101
2101
  (function(a, n, s) {
2102
- e.exports = n(pe(), oi());
2102
+ e.exports = n(ge(), oi());
2103
2103
  })(Ql, function(a) {
2104
2104
  return (function() {
2105
2105
  var n = a, s = n.lib, u = s.Hasher, b = n.x64, d = b.Word, l = b.WordArray, i = n.algo;
@@ -2206,18 +2206,18 @@ function Tr() {
2206
2206
  ]);
2207
2207
  },
2208
2208
  _doProcessBlock: function(p, f) {
2209
- for (var y = this._hash.words, _ = y[0], c = y[1], U = y[2], C = y[3], v = y[4], T = y[5], h = y[6], D = y[7], H = _.high, k = _.low, S = c.high, A = c.low, P = U.high, R = U.low, L = C.high, G = C.low, I = v.high, W = v.low, O = T.high, z = T.low, N = h.high, E = h.low, F = D.high, w = D.low, X = H, ie = k, le = S, B = A, V = P, Z = R, Q = L, K = G, ee = I, de = W, he = O, be = z, Je = N, Te = E, Ge = F, Xe = w, fe = 0; fe < 80; fe++) {
2210
- var Ue, Ee, Ie = m[fe];
2211
- if (fe < 16)
2212
- Ee = Ie.high = p[f + fe * 2] | 0, Ue = Ie.low = p[f + fe * 2 + 1] | 0;
2209
+ for (var y = this._hash.words, _ = y[0], c = y[1], U = y[2], C = y[3], v = y[4], T = y[5], h = y[6], D = y[7], H = _.high, k = _.low, S = c.high, F = c.low, A = U.high, R = U.low, L = C.high, G = C.low, I = v.high, W = v.low, z = T.high, B = T.low, N = h.high, E = h.low, w = D.high, P = D.low, ae = H, te = k, le = S, O = F, J = A, Z = R, Q = L, X = G, q = I, ue = W, Ce = z, be = B, Ye = N, he = E, Ge = w, Xe = P, Me = 0; Me < 80; Me++) {
2210
+ var de, ke, He = m[Me];
2211
+ if (Me < 16)
2212
+ ke = He.high = p[f + Me * 2] | 0, de = He.low = p[f + Me * 2 + 1] | 0;
2213
2213
  else {
2214
- var Ke = m[fe - 15], Me = Ke.high, He = Ke.low, ia = (Me >>> 1 | He << 31) ^ (Me >>> 8 | He << 24) ^ Me >>> 7, ua = (He >>> 1 | Me << 31) ^ (He >>> 8 | Me << 24) ^ (He >>> 7 | Me << 25), ba = m[fe - 2], qe = ba.high, na = ba.low, Ya = (qe >>> 19 | na << 13) ^ (qe << 3 | na >>> 29) ^ qe >>> 6, Fa = (na >>> 19 | qe << 13) ^ (na << 3 | qe >>> 29) ^ (na >>> 6 | qe << 26), Aa = m[fe - 7], Xa = Aa.high, et = Aa.low, Ua = m[fe - 16], Sa = Ua.high, ea = Ua.low;
2215
- Ue = ua + et, Ee = ia + Xa + (Ue >>> 0 < ua >>> 0 ? 1 : 0), Ue = Ue + Fa, Ee = Ee + Ya + (Ue >>> 0 < Fa >>> 0 ? 1 : 0), Ue = Ue + ea, Ee = Ee + Sa + (Ue >>> 0 < ea >>> 0 ? 1 : 0), Ie.high = Ee, Ie.low = Ue;
2214
+ var ze = m[Me - 15], xe = ze.high, We = ze.low, ia = (xe >>> 1 | We << 31) ^ (xe >>> 8 | We << 24) ^ xe >>> 7, ua = (We >>> 1 | xe << 31) ^ (We >>> 8 | xe << 24) ^ (We >>> 7 | xe << 25), ba = m[Me - 2], Ke = ba.high, na = ba.low, Ya = (Ke >>> 19 | na << 13) ^ (Ke << 3 | na >>> 29) ^ Ke >>> 6, Fa = (na >>> 19 | Ke << 13) ^ (na << 3 | Ke >>> 29) ^ (na >>> 6 | Ke << 26), Aa = m[Me - 7], Xa = Aa.high, et = Aa.low, Ua = m[Me - 16], Sa = Ua.high, ea = Ua.low;
2215
+ de = ua + et, ke = ia + Xa + (de >>> 0 < ua >>> 0 ? 1 : 0), de = de + Fa, ke = ke + Ya + (de >>> 0 < Fa >>> 0 ? 1 : 0), de = de + ea, ke = ke + Sa + (de >>> 0 < ea >>> 0 ? 1 : 0), He.high = ke, He.low = de;
2216
2216
  }
2217
- var Ca = ee & he ^ ~ee & Je, va = de & be ^ ~de & Te, Oa = X & le ^ X & V ^ le & V, Ba = ie & B ^ ie & Z ^ B & Z, Ea = (X >>> 28 | ie << 4) ^ (X << 30 | ie >>> 2) ^ (X << 25 | ie >>> 7), Ha = (ie >>> 28 | X << 4) ^ (ie << 30 | X >>> 2) ^ (ie << 25 | X >>> 7), Wa = (ee >>> 14 | de << 18) ^ (ee >>> 18 | de << 14) ^ (ee << 23 | de >>> 9), Re = (de >>> 14 | ee << 18) ^ (de >>> 18 | ee << 14) ^ (de << 23 | ee >>> 9), q = o[fe], Pe = q.high, la = q.low, We = Xe + Re, oa = Ge + Wa + (We >>> 0 < Xe >>> 0 ? 1 : 0), We = We + va, oa = oa + Ca + (We >>> 0 < va >>> 0 ? 1 : 0), We = We + la, oa = oa + Pe + (We >>> 0 < la >>> 0 ? 1 : 0), We = We + Ue, oa = oa + Ee + (We >>> 0 < Ue >>> 0 ? 1 : 0), dt = Ha + Ba, si = Ea + Oa + (dt >>> 0 < Ha >>> 0 ? 1 : 0);
2218
- Ge = Je, Xe = Te, Je = he, Te = be, he = ee, be = de, de = K + We | 0, ee = Q + oa + (de >>> 0 < K >>> 0 ? 1 : 0) | 0, Q = V, K = Z, V = le, Z = B, le = X, B = ie, ie = We + dt | 0, X = oa + si + (ie >>> 0 < We >>> 0 ? 1 : 0) | 0;
2217
+ var Ca = q & Ce ^ ~q & Ye, va = ue & be ^ ~ue & he, Oa = ae & le ^ ae & J ^ le & J, Ba = te & O ^ te & Z ^ O & Z, Ea = (ae >>> 28 | te << 4) ^ (ae << 30 | te >>> 2) ^ (ae << 25 | te >>> 7), Ha = (te >>> 28 | ae << 4) ^ (te << 30 | ae >>> 2) ^ (te << 25 | ae >>> 7), Wa = (q >>> 14 | ue << 18) ^ (q >>> 18 | ue << 14) ^ (q << 23 | ue >>> 9), Re = (ue >>> 14 | q << 18) ^ (ue >>> 18 | q << 14) ^ (ue << 23 | q >>> 9), K = o[Me], Pe = K.high, la = K.low, Ie = Xe + Re, oa = Ge + Wa + (Ie >>> 0 < Xe >>> 0 ? 1 : 0), Ie = Ie + va, oa = oa + Ca + (Ie >>> 0 < va >>> 0 ? 1 : 0), Ie = Ie + la, oa = oa + Pe + (Ie >>> 0 < la >>> 0 ? 1 : 0), Ie = Ie + de, oa = oa + ke + (Ie >>> 0 < de >>> 0 ? 1 : 0), dt = Ha + Ba, si = Ea + Oa + (dt >>> 0 < Ha >>> 0 ? 1 : 0);
2218
+ Ge = Ye, Xe = he, Ye = Ce, he = be, Ce = q, be = ue, ue = X + Ie | 0, q = Q + oa + (ue >>> 0 < X >>> 0 ? 1 : 0) | 0, Q = J, X = Z, J = le, Z = O, le = ae, O = te, te = Ie + dt | 0, ae = oa + si + (te >>> 0 < Ie >>> 0 ? 1 : 0) | 0;
2219
2219
  }
2220
- k = _.low = k + ie, _.high = H + X + (k >>> 0 < ie >>> 0 ? 1 : 0), A = c.low = A + B, c.high = S + le + (A >>> 0 < B >>> 0 ? 1 : 0), R = U.low = R + Z, U.high = P + V + (R >>> 0 < Z >>> 0 ? 1 : 0), G = C.low = G + K, C.high = L + Q + (G >>> 0 < K >>> 0 ? 1 : 0), W = v.low = W + de, v.high = I + ee + (W >>> 0 < de >>> 0 ? 1 : 0), z = T.low = z + be, T.high = O + he + (z >>> 0 < be >>> 0 ? 1 : 0), E = h.low = E + Te, h.high = N + Je + (E >>> 0 < Te >>> 0 ? 1 : 0), w = D.low = w + Xe, D.high = F + Ge + (w >>> 0 < Xe >>> 0 ? 1 : 0);
2220
+ k = _.low = k + te, _.high = H + ae + (k >>> 0 < te >>> 0 ? 1 : 0), F = c.low = F + O, c.high = S + le + (F >>> 0 < O >>> 0 ? 1 : 0), R = U.low = R + Z, U.high = A + J + (R >>> 0 < Z >>> 0 ? 1 : 0), G = C.low = G + X, C.high = L + Q + (G >>> 0 < X >>> 0 ? 1 : 0), W = v.low = W + ue, v.high = I + q + (W >>> 0 < ue >>> 0 ? 1 : 0), B = T.low = B + be, T.high = z + Ce + (B >>> 0 < be >>> 0 ? 1 : 0), E = h.low = E + he, h.high = N + Ye + (E >>> 0 < he >>> 0 ? 1 : 0), P = D.low = P + Xe, D.high = w + Ge + (P >>> 0 < Xe >>> 0 ? 1 : 0);
2221
2221
  },
2222
2222
  _doFinalize: function() {
2223
2223
  var p = this._data, f = p.words, y = this._nDataBytes * 8, _ = p.sigBytes * 8;
@@ -2240,7 +2240,7 @@ var Gt = { exports: {} }, Yl = Gt.exports, ln;
2240
2240
  function Xl() {
2241
2241
  return ln || (ln = 1, (function(e, t) {
2242
2242
  (function(a, n, s) {
2243
- e.exports = n(pe(), oi(), Tr());
2243
+ e.exports = n(ge(), oi(), Tr());
2244
2244
  })(Yl, function(a) {
2245
2245
  return (function() {
2246
2246
  var n = a, s = n.x64, u = s.Word, b = s.WordArray, d = n.algo, l = d.SHA512, i = d.SHA384 = l.extend({
@@ -2270,7 +2270,7 @@ var Mt = { exports: {} }, eo = Mt.exports, on;
2270
2270
  function ao() {
2271
2271
  return on || (on = 1, (function(e, t) {
2272
2272
  (function(a, n, s) {
2273
- e.exports = n(pe(), oi());
2273
+ e.exports = n(ge(), oi());
2274
2274
  })(eo, function(a) {
2275
2275
  return (function(n) {
2276
2276
  var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.x64, i = l.Word, r = s.algo, o = [], m = [], g = [];
@@ -2325,33 +2325,33 @@ function ao() {
2325
2325
  }
2326
2326
  for (var D = 0; D < 24; D++) {
2327
2327
  for (var H = 0; H < 5; H++) {
2328
- for (var k = 0, S = 0, A = 0; A < 5; A++) {
2329
- var h = c[H + 5 * A];
2328
+ for (var k = 0, S = 0, F = 0; F < 5; F++) {
2329
+ var h = c[H + 5 * F];
2330
2330
  k ^= h.high, S ^= h.low;
2331
2331
  }
2332
- var P = p[H];
2333
- P.high = k, P.low = S;
2332
+ var A = p[H];
2333
+ A.high = k, A.low = S;
2334
2334
  }
2335
2335
  for (var H = 0; H < 5; H++)
2336
- for (var R = p[(H + 4) % 5], L = p[(H + 1) % 5], G = L.high, I = L.low, k = R.high ^ (G << 1 | I >>> 31), S = R.low ^ (I << 1 | G >>> 31), A = 0; A < 5; A++) {
2337
- var h = c[H + 5 * A];
2336
+ for (var R = p[(H + 4) % 5], L = p[(H + 1) % 5], G = L.high, I = L.low, k = R.high ^ (G << 1 | I >>> 31), S = R.low ^ (I << 1 | G >>> 31), F = 0; F < 5; F++) {
2337
+ var h = c[H + 5 * F];
2338
2338
  h.high ^= k, h.low ^= S;
2339
2339
  }
2340
2340
  for (var W = 1; W < 25; W++) {
2341
- var k, S, h = c[W], O = h.high, z = h.low, N = o[W];
2342
- N < 32 ? (k = O << N | z >>> 32 - N, S = z << N | O >>> 32 - N) : (k = z << N - 32 | O >>> 64 - N, S = O << N - 32 | z >>> 64 - N);
2341
+ var k, S, h = c[W], z = h.high, B = h.low, N = o[W];
2342
+ N < 32 ? (k = z << N | B >>> 32 - N, S = B << N | z >>> 32 - N) : (k = B << N - 32 | z >>> 64 - N, S = z << N - 32 | B >>> 64 - N);
2343
2343
  var E = p[m[W]];
2344
2344
  E.high = k, E.low = S;
2345
2345
  }
2346
- var F = p[0], w = c[0];
2347
- F.high = w.high, F.low = w.low;
2346
+ var w = p[0], P = c[0];
2347
+ w.high = P.high, w.low = P.low;
2348
2348
  for (var H = 0; H < 5; H++)
2349
- for (var A = 0; A < 5; A++) {
2350
- var W = H + 5 * A, h = c[W], X = p[W], ie = p[(H + 1) % 5 + 5 * A], le = p[(H + 2) % 5 + 5 * A];
2351
- h.high = X.high ^ ~ie.high & le.high, h.low = X.low ^ ~ie.low & le.low;
2349
+ for (var F = 0; F < 5; F++) {
2350
+ var W = H + 5 * F, h = c[W], ae = p[W], te = p[(H + 1) % 5 + 5 * F], le = p[(H + 2) % 5 + 5 * F];
2351
+ h.high = ae.high ^ ~te.high & le.high, h.low = ae.low ^ ~te.low & le.low;
2352
2352
  }
2353
- var h = c[0], B = g[D];
2354
- h.high ^= B.high, h.low ^= B.low;
2353
+ var h = c[0], O = g[D];
2354
+ h.high ^= O.high, h.low ^= O.low;
2355
2355
  }
2356
2356
  },
2357
2357
  _doFinalize: function() {
@@ -2380,7 +2380,7 @@ var Rt = { exports: {} }, to = Rt.exports, sn;
2380
2380
  function io() {
2381
2381
  return sn || (sn = 1, (function(e, t) {
2382
2382
  (function(a, n) {
2383
- e.exports = n(pe());
2383
+ e.exports = n(ge());
2384
2384
  })(to, function(a) {
2385
2385
  return (function(n) {
2386
2386
  var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.algo, i = b.create([
@@ -2716,18 +2716,18 @@ function io() {
2716
2716
  var H = h + D, k = T[H];
2717
2717
  T[H] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360;
2718
2718
  }
2719
- var S = this._hash.words, A = g.words, P = p.words, R = i.words, L = r.words, G = o.words, I = m.words, W, O, z, N, E, F, w, X, ie, le;
2720
- F = W = S[0], w = O = S[1], X = z = S[2], ie = N = S[3], le = E = S[4];
2721
- for (var B, D = 0; D < 80; D += 1)
2722
- B = W + T[h + R[D]] | 0, D < 16 ? B += y(O, z, N) + A[0] : D < 32 ? B += _(O, z, N) + A[1] : D < 48 ? B += c(O, z, N) + A[2] : D < 64 ? B += U(O, z, N) + A[3] : B += C(O, z, N) + A[4], B = B | 0, B = v(B, G[D]), B = B + E | 0, W = E, E = N, N = v(z, 10), z = O, O = B, B = F + T[h + L[D]] | 0, D < 16 ? B += C(w, X, ie) + P[0] : D < 32 ? B += U(w, X, ie) + P[1] : D < 48 ? B += c(w, X, ie) + P[2] : D < 64 ? B += _(w, X, ie) + P[3] : B += y(w, X, ie) + P[4], B = B | 0, B = v(B, I[D]), B = B + le | 0, F = le, le = ie, ie = v(X, 10), X = w, w = B;
2723
- B = S[1] + z + ie | 0, S[1] = S[2] + N + le | 0, S[2] = S[3] + E + F | 0, S[3] = S[4] + W + w | 0, S[4] = S[0] + O + X | 0, S[0] = B;
2719
+ var S = this._hash.words, F = g.words, A = p.words, R = i.words, L = r.words, G = o.words, I = m.words, W, z, B, N, E, w, P, ae, te, le;
2720
+ w = W = S[0], P = z = S[1], ae = B = S[2], te = N = S[3], le = E = S[4];
2721
+ for (var O, D = 0; D < 80; D += 1)
2722
+ O = W + T[h + R[D]] | 0, D < 16 ? O += y(z, B, N) + F[0] : D < 32 ? O += _(z, B, N) + F[1] : D < 48 ? O += c(z, B, N) + F[2] : D < 64 ? O += U(z, B, N) + F[3] : O += C(z, B, N) + F[4], O = O | 0, O = v(O, G[D]), O = O + E | 0, W = E, E = N, N = v(B, 10), B = z, z = O, O = w + T[h + L[D]] | 0, D < 16 ? O += C(P, ae, te) + A[0] : D < 32 ? O += U(P, ae, te) + A[1] : D < 48 ? O += c(P, ae, te) + A[2] : D < 64 ? O += _(P, ae, te) + A[3] : O += y(P, ae, te) + A[4], O = O | 0, O = v(O, I[D]), O = O + le | 0, w = le, le = te, te = v(ae, 10), ae = P, P = O;
2723
+ O = S[1] + B + te | 0, S[1] = S[2] + N + le | 0, S[2] = S[3] + E + w | 0, S[3] = S[4] + W + P | 0, S[4] = S[0] + z + ae | 0, S[0] = O;
2724
2724
  },
2725
2725
  _doFinalize: function() {
2726
2726
  var T = this._data, h = T.words, D = this._nDataBytes * 8, H = T.sigBytes * 8;
2727
2727
  h[H >>> 5] |= 128 << 24 - H % 32, h[(H + 64 >>> 9 << 4) + 14] = (D << 8 | D >>> 24) & 16711935 | (D << 24 | D >>> 8) & 4278255360, T.sigBytes = (h.length + 1) * 4, this._process();
2728
- for (var k = this._hash, S = k.words, A = 0; A < 5; A++) {
2729
- var P = S[A];
2730
- S[A] = (P << 8 | P >>> 24) & 16711935 | (P << 24 | P >>> 8) & 4278255360;
2728
+ for (var k = this._hash, S = k.words, F = 0; F < 5; F++) {
2729
+ var A = S[F];
2730
+ S[F] = (A << 8 | A >>> 24) & 16711935 | (A << 24 | A >>> 8) & 4278255360;
2731
2731
  }
2732
2732
  return k;
2733
2733
  },
@@ -2763,7 +2763,7 @@ var Pt = { exports: {} }, no = Pt.exports, mn;
2763
2763
  function Li() {
2764
2764
  return mn || (mn = 1, (function(e, t) {
2765
2765
  (function(a, n) {
2766
- e.exports = n(pe());
2766
+ e.exports = n(ge());
2767
2767
  })(no, function(a) {
2768
2768
  (function() {
2769
2769
  var n = a, s = n.lib, u = s.Base, b = n.enc, d = b.Utf8, l = n.algo;
@@ -2841,7 +2841,7 @@ var wt = { exports: {} }, ro = wt.exports, un;
2841
2841
  function lo() {
2842
2842
  return un || (un = 1, (function(e, t) {
2843
2843
  (function(a, n, s) {
2844
- e.exports = n(pe(), Ni(), Li());
2844
+ e.exports = n(ge(), Ni(), Li());
2845
2845
  })(ro, function(a) {
2846
2846
  return (function() {
2847
2847
  var n = a, s = n.lib, u = s.Base, b = s.WordArray, d = n.algo, l = d.SHA256, i = d.HMAC, r = d.PBKDF2 = u.extend({
@@ -2908,7 +2908,7 @@ var Ft = { exports: {} }, oo = Ft.exports, pn;
2908
2908
  function xa() {
2909
2909
  return pn || (pn = 1, (function(e, t) {
2910
2910
  (function(a, n, s) {
2911
- e.exports = n(pe(), hr(), Li());
2911
+ e.exports = n(ge(), hr(), Li());
2912
2912
  })(oo, function(a) {
2913
2913
  return (function() {
2914
2914
  var n = a, s = n.lib, u = s.Base, b = s.WordArray, d = n.algo, l = d.MD5, i = d.EvpKDF = u.extend({
@@ -2971,7 +2971,7 @@ var At = { exports: {} }, so = At.exports, gn;
2971
2971
  function Ae() {
2972
2972
  return gn || (gn = 1, (function(e, t) {
2973
2973
  (function(a, n, s) {
2974
- e.exports = n(pe(), xa());
2974
+ e.exports = n(ge(), xa());
2975
2975
  })(so, function(a) {
2976
2976
  a.lib.Cipher || (function(n) {
2977
2977
  var s = a, u = s.lib, b = u.Base, d = u.WordArray, l = u.BufferedBlockAlgorithm, i = s.enc;
@@ -3028,8 +3028,8 @@ function Ae() {
3028
3028
  *
3029
3029
  * var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray });
3030
3030
  */
3031
- init: function(k, S, A) {
3032
- this.cfg = this.cfg.extend(A), this._xformMode = k, this._key = S, this.reset();
3031
+ init: function(k, S, F) {
3032
+ this.cfg = this.cfg.extend(F), this._xformMode = k, this._key = S, this.reset();
3033
3033
  },
3034
3034
  /**
3035
3035
  * Resets this cipher to its initial state.
@@ -3098,11 +3098,11 @@ function Ae() {
3098
3098
  }
3099
3099
  return function(S) {
3100
3100
  return {
3101
- encrypt: function(A, P, R) {
3102
- return k(P).encrypt(S, A, P, R);
3101
+ encrypt: function(F, A, R) {
3102
+ return k(A).encrypt(S, F, A, R);
3103
3103
  },
3104
- decrypt: function(A, P, R) {
3105
- return k(P).decrypt(S, A, P, R);
3104
+ decrypt: function(F, A, R) {
3105
+ return k(A).decrypt(S, F, A, R);
3106
3106
  }
3107
3107
  };
3108
3108
  };
@@ -3172,9 +3172,9 @@ function Ae() {
3172
3172
  *
3173
3173
  * mode.processBlock(data.words, offset);
3174
3174
  */
3175
- processBlock: function(A, P) {
3175
+ processBlock: function(F, A) {
3176
3176
  var R = this._cipher, L = R.blockSize;
3177
- S.call(this, A, P, L), R.encryptBlock(A, P), this._prevBlock = A.slice(P, P + L);
3177
+ S.call(this, F, A, L), R.encryptBlock(F, A), this._prevBlock = F.slice(A, A + L);
3178
3178
  }
3179
3179
  }), k.Decryptor = k.extend({
3180
3180
  /**
@@ -3187,16 +3187,16 @@ function Ae() {
3187
3187
  *
3188
3188
  * mode.processBlock(data.words, offset);
3189
3189
  */
3190
- processBlock: function(A, P) {
3191
- var R = this._cipher, L = R.blockSize, G = A.slice(P, P + L);
3192
- R.decryptBlock(A, P), S.call(this, A, P, L), this._prevBlock = G;
3190
+ processBlock: function(F, A) {
3191
+ var R = this._cipher, L = R.blockSize, G = F.slice(A, A + L);
3192
+ R.decryptBlock(F, A), S.call(this, F, A, L), this._prevBlock = G;
3193
3193
  }
3194
3194
  });
3195
- function S(A, P, R) {
3195
+ function S(F, A, R) {
3196
3196
  var L, G = this._iv;
3197
3197
  G ? (L = G, this._iv = n) : L = this._prevBlock;
3198
3198
  for (var I = 0; I < R; I++)
3199
- A[P + I] ^= L[I];
3199
+ F[A + I] ^= L[I];
3200
3200
  }
3201
3201
  return k;
3202
3202
  })(), _ = s.pad = {}, c = _.Pkcs7 = {
@@ -3213,9 +3213,9 @@ function Ae() {
3213
3213
  * CryptoJS.pad.Pkcs7.pad(wordArray, 4);
3214
3214
  */
3215
3215
  pad: function(k, S) {
3216
- for (var A = S * 4, P = A - k.sigBytes % A, R = P << 24 | P << 16 | P << 8 | P, L = [], G = 0; G < P; G += 4)
3216
+ for (var F = S * 4, A = F - k.sigBytes % F, R = A << 24 | A << 16 | A << 8 | A, L = [], G = 0; G < A; G += 4)
3217
3217
  L.push(R);
3218
- var I = d.create(L, P);
3218
+ var I = d.create(L, A);
3219
3219
  k.concat(I);
3220
3220
  },
3221
3221
  /**
@@ -3248,8 +3248,8 @@ function Ae() {
3248
3248
  reset: function() {
3249
3249
  var k;
3250
3250
  g.reset.call(this);
3251
- var S = this.cfg, A = S.iv, P = S.mode;
3252
- this._xformMode == this._ENC_XFORM_MODE ? k = P.createEncryptor : (k = P.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == k ? this._mode.init(this, A && A.words) : (this._mode = k.call(P, this, A && A.words), this._mode.__creator = k);
3251
+ var S = this.cfg, F = S.iv, A = S.mode;
3252
+ this._xformMode == this._ENC_XFORM_MODE ? k = A.createEncryptor : (k = A.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == k ? this._mode.init(this, F && F.words) : (this._mode = k.call(A, this, F && F.words), this._mode.__creator = k);
3253
3253
  },
3254
3254
  _doProcessBlock: function(k, S) {
3255
3255
  this._mode.processBlock(k, S);
@@ -3316,8 +3316,8 @@ function Ae() {
3316
3316
  * var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
3317
3317
  */
3318
3318
  stringify: function(k) {
3319
- var S, A = k.ciphertext, P = k.salt;
3320
- return P ? S = d.create([1398893684, 1701076831]).concat(P).concat(A) : S = A, S.toString(r);
3319
+ var S, F = k.ciphertext, A = k.salt;
3320
+ return A ? S = d.create([1398893684, 1701076831]).concat(A).concat(F) : S = F, S.toString(r);
3321
3321
  },
3322
3322
  /**
3323
3323
  * Converts an OpenSSL-compatible string to a cipher params object.
@@ -3333,8 +3333,8 @@ function Ae() {
3333
3333
  * var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
3334
3334
  */
3335
3335
  parse: function(k) {
3336
- var S, A = r.parse(k), P = A.words;
3337
- return P[0] == 1398893684 && P[1] == 1701076831 && (S = d.create(P.slice(2, 4)), P.splice(0, 4), A.sigBytes -= 16), U.create({ ciphertext: A, salt: S });
3336
+ var S, F = r.parse(k), A = F.words;
3337
+ return A[0] == 1398893684 && A[1] == 1701076831 && (S = d.create(A.slice(2, 4)), A.splice(0, 4), F.sigBytes -= 16), U.create({ ciphertext: F, salt: S });
3338
3338
  }
3339
3339
  }, T = u.SerializableCipher = b.extend({
3340
3340
  /**
@@ -3363,18 +3363,18 @@ function Ae() {
3363
3363
  * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv });
3364
3364
  * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL });
3365
3365
  */
3366
- encrypt: function(k, S, A, P) {
3367
- P = this.cfg.extend(P);
3368
- var R = k.createEncryptor(A, P), L = R.finalize(S), G = R.cfg;
3366
+ encrypt: function(k, S, F, A) {
3367
+ A = this.cfg.extend(A);
3368
+ var R = k.createEncryptor(F, A), L = R.finalize(S), G = R.cfg;
3369
3369
  return U.create({
3370
3370
  ciphertext: L,
3371
- key: A,
3371
+ key: F,
3372
3372
  iv: G.iv,
3373
3373
  algorithm: k,
3374
3374
  mode: G.mode,
3375
3375
  padding: G.padding,
3376
3376
  blockSize: k.blockSize,
3377
- formatter: P.format
3377
+ formatter: A.format
3378
3378
  });
3379
3379
  },
3380
3380
  /**
@@ -3394,9 +3394,9 @@ function Ae() {
3394
3394
  * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL });
3395
3395
  * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL });
3396
3396
  */
3397
- decrypt: function(k, S, A, P) {
3398
- P = this.cfg.extend(P), S = this._parse(S, P.format);
3399
- var R = k.createDecryptor(A, P).finalize(S.ciphertext);
3397
+ decrypt: function(k, S, F, A) {
3398
+ A = this.cfg.extend(A), S = this._parse(S, A.format);
3399
+ var R = k.createDecryptor(F, A).finalize(S.ciphertext);
3400
3400
  return R;
3401
3401
  },
3402
3402
  /**
@@ -3435,13 +3435,13 @@ function Ae() {
3435
3435
  * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
3436
3436
  * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
3437
3437
  */
3438
- execute: function(k, S, A, P, R) {
3439
- if (P || (P = d.random(64 / 8)), R)
3440
- var L = m.create({ keySize: S + A, hasher: R }).compute(k, P);
3438
+ execute: function(k, S, F, A, R) {
3439
+ if (A || (A = d.random(64 / 8)), R)
3440
+ var L = m.create({ keySize: S + F, hasher: R }).compute(k, A);
3441
3441
  else
3442
- var L = m.create({ keySize: S + A }).compute(k, P);
3443
- var G = d.create(L.words.slice(S), A * 4);
3444
- return L.sigBytes = S * 4, U.create({ key: L, iv: G, salt: P });
3442
+ var L = m.create({ keySize: S + F }).compute(k, A);
3443
+ var G = d.create(L.words.slice(S), F * 4);
3444
+ return L.sigBytes = S * 4, U.create({ key: L, iv: G, salt: A });
3445
3445
  }
3446
3446
  }, H = u.PasswordBasedCipher = T.extend({
3447
3447
  /**
@@ -3469,11 +3469,11 @@ function Ae() {
3469
3469
  * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password');
3470
3470
  * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL });
3471
3471
  */
3472
- encrypt: function(k, S, A, P) {
3473
- P = this.cfg.extend(P);
3474
- var R = P.kdf.execute(A, k.keySize, k.ivSize, P.salt, P.hasher);
3475
- P.iv = R.iv;
3476
- var L = T.encrypt.call(this, k, S, R.key, P);
3472
+ encrypt: function(k, S, F, A) {
3473
+ A = this.cfg.extend(A);
3474
+ var R = A.kdf.execute(F, k.keySize, k.ivSize, A.salt, A.hasher);
3475
+ A.iv = R.iv;
3476
+ var L = T.encrypt.call(this, k, S, R.key, A);
3477
3477
  return L.mixIn(R), L;
3478
3478
  },
3479
3479
  /**
@@ -3493,11 +3493,11 @@ function Ae() {
3493
3493
  * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL });
3494
3494
  * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL });
3495
3495
  */
3496
- decrypt: function(k, S, A, P) {
3497
- P = this.cfg.extend(P), S = this._parse(S, P.format);
3498
- var R = P.kdf.execute(A, k.keySize, k.ivSize, S.salt, P.hasher);
3499
- P.iv = R.iv;
3500
- var L = T.decrypt.call(this, k, S, R.key, P);
3496
+ decrypt: function(k, S, F, A) {
3497
+ A = this.cfg.extend(A), S = this._parse(S, A.format);
3498
+ var R = A.kdf.execute(F, k.keySize, k.ivSize, S.salt, A.hasher);
3499
+ A.iv = R.iv;
3500
+ var L = T.decrypt.call(this, k, S, R.key, A);
3501
3501
  return L;
3502
3502
  }
3503
3503
  });
@@ -3509,7 +3509,7 @@ var Ot = { exports: {} }, mo = Ot.exports, dn;
3509
3509
  function uo() {
3510
3510
  return dn || (dn = 1, (function(e, t) {
3511
3511
  (function(a, n, s) {
3512
- e.exports = n(pe(), Ae());
3512
+ e.exports = n(ge(), Ae());
3513
3513
  })(mo, function(a) {
3514
3514
  return a.mode.CFB = (function() {
3515
3515
  var n = a.lib.BlockCipherMode.extend();
@@ -3539,7 +3539,7 @@ var Bt = { exports: {} }, po = Bt.exports, cn;
3539
3539
  function go() {
3540
3540
  return cn || (cn = 1, (function(e, t) {
3541
3541
  (function(a, n, s) {
3542
- e.exports = n(pe(), Ae());
3542
+ e.exports = n(ge(), Ae());
3543
3543
  })(po, function(a) {
3544
3544
  return a.mode.CTR = (function() {
3545
3545
  var n = a.lib.BlockCipherMode.extend(), s = n.Encryptor = n.extend({
@@ -3561,7 +3561,7 @@ var Ht = { exports: {} }, co = Ht.exports, fn;
3561
3561
  function fo() {
3562
3562
  return fn || (fn = 1, (function(e, t) {
3563
3563
  (function(a, n, s) {
3564
- e.exports = n(pe(), Ae());
3564
+ e.exports = n(ge(), Ae());
3565
3565
  })(co, function(a) {
3566
3566
  return a.mode.CTRGladman = (function() {
3567
3567
  var n = a.lib.BlockCipherMode.extend();
@@ -3595,7 +3595,7 @@ var Wt = { exports: {} }, _o = Wt.exports, _n;
3595
3595
  function yo() {
3596
3596
  return _n || (_n = 1, (function(e, t) {
3597
3597
  (function(a, n, s) {
3598
- e.exports = n(pe(), Ae());
3598
+ e.exports = n(ge(), Ae());
3599
3599
  })(_o, function(a) {
3600
3600
  return a.mode.OFB = (function() {
3601
3601
  var n = a.lib.BlockCipherMode.extend(), s = n.Encryptor = n.extend({
@@ -3615,7 +3615,7 @@ var It = { exports: {} }, bo = It.exports, yn;
3615
3615
  function Uo() {
3616
3616
  return yn || (yn = 1, (function(e, t) {
3617
3617
  (function(a, n, s) {
3618
- e.exports = n(pe(), Ae());
3618
+ e.exports = n(ge(), Ae());
3619
3619
  })(bo, function(a) {
3620
3620
  return a.mode.ECB = (function() {
3621
3621
  var n = a.lib.BlockCipherMode.extend();
@@ -3636,7 +3636,7 @@ var zt = { exports: {} }, Co = zt.exports, bn;
3636
3636
  function vo() {
3637
3637
  return bn || (bn = 1, (function(e, t) {
3638
3638
  (function(a, n, s) {
3639
- e.exports = n(pe(), Ae());
3639
+ e.exports = n(ge(), Ae());
3640
3640
  })(Co, function(a) {
3641
3641
  return a.pad.AnsiX923 = {
3642
3642
  pad: function(n, s) {
@@ -3655,7 +3655,7 @@ var Vt = { exports: {} }, ho = Vt.exports, Un;
3655
3655
  function To() {
3656
3656
  return Un || (Un = 1, (function(e, t) {
3657
3657
  (function(a, n, s) {
3658
- e.exports = n(pe(), Ae());
3658
+ e.exports = n(ge(), Ae());
3659
3659
  })(ho, function(a) {
3660
3660
  return a.pad.Iso10126 = {
3661
3661
  pad: function(n, s) {
@@ -3674,7 +3674,7 @@ var Jt = { exports: {} }, ko = Jt.exports, Cn;
3674
3674
  function xo() {
3675
3675
  return Cn || (Cn = 1, (function(e, t) {
3676
3676
  (function(a, n, s) {
3677
- e.exports = n(pe(), Ae());
3677
+ e.exports = n(ge(), Ae());
3678
3678
  })(ko, function(a) {
3679
3679
  return a.pad.Iso97971 = {
3680
3680
  pad: function(n, s) {
@@ -3691,7 +3691,7 @@ var Zt = { exports: {} }, So = Zt.exports, vn;
3691
3691
  function Eo() {
3692
3692
  return vn || (vn = 1, (function(e, t) {
3693
3693
  (function(a, n, s) {
3694
- e.exports = n(pe(), Ae());
3694
+ e.exports = n(ge(), Ae());
3695
3695
  })(So, function(a) {
3696
3696
  return a.pad.ZeroPadding = {
3697
3697
  pad: function(n, s) {
@@ -3713,7 +3713,7 @@ var Kt = { exports: {} }, Do = Kt.exports, hn;
3713
3713
  function No() {
3714
3714
  return hn || (hn = 1, (function(e, t) {
3715
3715
  (function(a, n, s) {
3716
- e.exports = n(pe(), Ae());
3716
+ e.exports = n(ge(), Ae());
3717
3717
  })(Do, function(a) {
3718
3718
  return a.pad.NoPadding = {
3719
3719
  pad: function() {
@@ -3728,7 +3728,7 @@ var qt = { exports: {} }, Lo = qt.exports, Tn;
3728
3728
  function Go() {
3729
3729
  return Tn || (Tn = 1, (function(e, t) {
3730
3730
  (function(a, n, s) {
3731
- e.exports = n(pe(), Ae());
3731
+ e.exports = n(ge(), Ae());
3732
3732
  })(Lo, function(a) {
3733
3733
  return (function(n) {
3734
3734
  var s = a, u = s.lib, b = u.CipherParams, d = s.enc, l = d.Hex, i = s.format;
@@ -3775,7 +3775,7 @@ var $t = { exports: {} }, Mo = $t.exports, kn;
3775
3775
  function Ro() {
3776
3776
  return kn || (kn = 1, (function(e, t) {
3777
3777
  (function(a, n, s) {
3778
- e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
3778
+ e.exports = n(ge(), Ra(), Pa(), xa(), Ae());
3779
3779
  })(Mo, function(a) {
3780
3780
  return (function() {
3781
3781
  var n = a, s = n.lib, u = s.BlockCipher, b = n.algo, d = [], l = [], i = [], r = [], o = [], m = [], g = [], p = [], f = [], y = [];
@@ -3797,13 +3797,13 @@ function Ro() {
3797
3797
  if (!(this._nRounds && this._keyPriorReset === this._key)) {
3798
3798
  for (var C = this._keyPriorReset = this._key, v = C.words, T = C.sigBytes / 4, h = this._nRounds = T + 6, D = (h + 1) * 4, H = this._keySchedule = [], k = 0; k < D; k++)
3799
3799
  k < T ? H[k] = v[k] : (U = H[k - 1], k % T ? T > 6 && k % T == 4 && (U = d[U >>> 24] << 24 | d[U >>> 16 & 255] << 16 | d[U >>> 8 & 255] << 8 | d[U & 255]) : (U = U << 8 | U >>> 24, U = d[U >>> 24] << 24 | d[U >>> 16 & 255] << 16 | d[U >>> 8 & 255] << 8 | d[U & 255], U ^= _[k / T | 0] << 24), H[k] = H[k - T] ^ U);
3800
- for (var S = this._invKeySchedule = [], A = 0; A < D; A++) {
3801
- var k = D - A;
3802
- if (A % 4)
3800
+ for (var S = this._invKeySchedule = [], F = 0; F < D; F++) {
3801
+ var k = D - F;
3802
+ if (F % 4)
3803
3803
  var U = H[k];
3804
3804
  else
3805
3805
  var U = H[k - 4];
3806
- A < 4 || k <= 4 ? S[A] = U : S[A] = g[d[U >>> 24]] ^ p[d[U >>> 16 & 255]] ^ f[d[U >>> 8 & 255]] ^ y[d[U & 255]];
3806
+ F < 4 || k <= 4 ? S[F] = U : S[F] = g[d[U >>> 24]] ^ p[d[U >>> 16 & 255]] ^ f[d[U >>> 8 & 255]] ^ y[d[U & 255]];
3807
3807
  }
3808
3808
  }
3809
3809
  },
@@ -3817,12 +3817,12 @@ function Ro() {
3817
3817
  U[C + 1] = U[C + 3], U[C + 3] = v;
3818
3818
  },
3819
3819
  _doCryptBlock: function(U, C, v, T, h, D, H, k) {
3820
- for (var S = this._nRounds, A = U[C] ^ v[0], P = U[C + 1] ^ v[1], R = U[C + 2] ^ v[2], L = U[C + 3] ^ v[3], G = 4, I = 1; I < S; I++) {
3821
- var W = T[A >>> 24] ^ h[P >>> 16 & 255] ^ D[R >>> 8 & 255] ^ H[L & 255] ^ v[G++], O = T[P >>> 24] ^ h[R >>> 16 & 255] ^ D[L >>> 8 & 255] ^ H[A & 255] ^ v[G++], z = T[R >>> 24] ^ h[L >>> 16 & 255] ^ D[A >>> 8 & 255] ^ H[P & 255] ^ v[G++], N = T[L >>> 24] ^ h[A >>> 16 & 255] ^ D[P >>> 8 & 255] ^ H[R & 255] ^ v[G++];
3822
- A = W, P = O, R = z, L = N;
3820
+ for (var S = this._nRounds, F = U[C] ^ v[0], A = U[C + 1] ^ v[1], R = U[C + 2] ^ v[2], L = U[C + 3] ^ v[3], G = 4, I = 1; I < S; I++) {
3821
+ var W = T[F >>> 24] ^ h[A >>> 16 & 255] ^ D[R >>> 8 & 255] ^ H[L & 255] ^ v[G++], z = T[A >>> 24] ^ h[R >>> 16 & 255] ^ D[L >>> 8 & 255] ^ H[F & 255] ^ v[G++], B = T[R >>> 24] ^ h[L >>> 16 & 255] ^ D[F >>> 8 & 255] ^ H[A & 255] ^ v[G++], N = T[L >>> 24] ^ h[F >>> 16 & 255] ^ D[A >>> 8 & 255] ^ H[R & 255] ^ v[G++];
3822
+ F = W, A = z, R = B, L = N;
3823
3823
  }
3824
- var W = (k[A >>> 24] << 24 | k[P >>> 16 & 255] << 16 | k[R >>> 8 & 255] << 8 | k[L & 255]) ^ v[G++], O = (k[P >>> 24] << 24 | k[R >>> 16 & 255] << 16 | k[L >>> 8 & 255] << 8 | k[A & 255]) ^ v[G++], z = (k[R >>> 24] << 24 | k[L >>> 16 & 255] << 16 | k[A >>> 8 & 255] << 8 | k[P & 255]) ^ v[G++], N = (k[L >>> 24] << 24 | k[A >>> 16 & 255] << 16 | k[P >>> 8 & 255] << 8 | k[R & 255]) ^ v[G++];
3825
- U[C] = W, U[C + 1] = O, U[C + 2] = z, U[C + 3] = N;
3824
+ var W = (k[F >>> 24] << 24 | k[A >>> 16 & 255] << 16 | k[R >>> 8 & 255] << 8 | k[L & 255]) ^ v[G++], z = (k[A >>> 24] << 24 | k[R >>> 16 & 255] << 16 | k[L >>> 8 & 255] << 8 | k[F & 255]) ^ v[G++], B = (k[R >>> 24] << 24 | k[L >>> 16 & 255] << 16 | k[F >>> 8 & 255] << 8 | k[A & 255]) ^ v[G++], N = (k[L >>> 24] << 24 | k[F >>> 16 & 255] << 16 | k[A >>> 8 & 255] << 8 | k[R & 255]) ^ v[G++];
3825
+ U[C] = W, U[C + 1] = z, U[C + 2] = B, U[C + 3] = N;
3826
3826
  },
3827
3827
  keySize: 256 / 32
3828
3828
  });
@@ -3835,7 +3835,7 @@ var jt = { exports: {} }, Po = jt.exports, xn;
3835
3835
  function wo() {
3836
3836
  return xn || (xn = 1, (function(e, t) {
3837
3837
  (function(a, n, s) {
3838
- e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
3838
+ e.exports = n(ge(), Ra(), Pa(), xa(), Ae());
3839
3839
  })(Po, function(a) {
3840
3840
  return (function() {
3841
3841
  var n = a, s = n.lib, u = s.WordArray, b = s.BlockCipher, d = n.algo, l = [
@@ -4555,7 +4555,7 @@ var Qt = { exports: {} }, Fo = Qt.exports, Sn;
4555
4555
  function Ao() {
4556
4556
  return Sn || (Sn = 1, (function(e, t) {
4557
4557
  (function(a, n, s) {
4558
- e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
4558
+ e.exports = n(ge(), Ra(), Pa(), xa(), Ae());
4559
4559
  })(Fo, function(a) {
4560
4560
  return (function() {
4561
4561
  var n = a, s = n.lib, u = s.StreamCipher, b = n.algo, d = b.RC4 = u.extend({
@@ -4609,7 +4609,7 @@ var Yt = { exports: {} }, Oo = Yt.exports, En;
4609
4609
  function Bo() {
4610
4610
  return En || (En = 1, (function(e, t) {
4611
4611
  (function(a, n, s) {
4612
- e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
4612
+ e.exports = n(ge(), Ra(), Pa(), xa(), Ae());
4613
4613
  })(Oo, function(a) {
4614
4614
  return (function() {
4615
4615
  var n = a, s = n.lib, u = s.StreamCipher, b = n.algo, d = [], l = [], i = [], r = b.Rabbit = u.extend({
@@ -4675,7 +4675,7 @@ var Xt = { exports: {} }, Ho = Xt.exports, Dn;
4675
4675
  function Wo() {
4676
4676
  return Dn || (Dn = 1, (function(e, t) {
4677
4677
  (function(a, n, s) {
4678
- e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
4678
+ e.exports = n(ge(), Ra(), Pa(), xa(), Ae());
4679
4679
  })(Ho, function(a) {
4680
4680
  return (function() {
4681
4681
  var n = a, s = n.lib, u = s.StreamCipher, b = n.algo, d = [], l = [], i = [], r = b.RabbitLegacy = u.extend({
@@ -4739,7 +4739,7 @@ var ei = { exports: {} }, Io = ei.exports, Nn;
4739
4739
  function zo() {
4740
4740
  return Nn || (Nn = 1, (function(e, t) {
4741
4741
  (function(a, n, s) {
4742
- e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
4742
+ e.exports = n(ge(), Ra(), Pa(), xa(), Ae());
4743
4743
  })(Io, function(a) {
4744
4744
  return (function() {
4745
4745
  var n = a, s = n.lib, u = s.BlockCipher, b = n.algo;
@@ -5861,7 +5861,7 @@ var Vo = Ut.exports, Ln;
5861
5861
  function Jo() {
5862
5862
  return Ln || (Ln = 1, (function(e, t) {
5863
5863
  (function(a, n, s) {
5864
- e.exports = n(pe(), oi(), Hl(), Il(), Ra(), Jl(), Pa(), hr(), Ni(), jl(), Tr(), Xl(), ao(), io(), Li(), lo(), xa(), Ae(), uo(), go(), fo(), yo(), Uo(), vo(), To(), xo(), Eo(), No(), Go(), Ro(), wo(), Ao(), Bo(), Wo(), zo());
5864
+ e.exports = n(ge(), oi(), Hl(), Il(), Ra(), Jl(), Pa(), hr(), Ni(), jl(), Tr(), Xl(), ao(), io(), Li(), lo(), xa(), Ae(), uo(), go(), fo(), yo(), Uo(), vo(), To(), xo(), Eo(), No(), Go(), Ro(), wo(), Ao(), Bo(), Wo(), zo());
5865
5865
  })(Vo, function(a) {
5866
5866
  return a;
5867
5867
  });
@@ -5886,8 +5886,8 @@ function Ko() {
5886
5886
  return (L <= 0 ? "+" : "-") + U(I, 2, "0") + ":" + U(W, 2, "0");
5887
5887
  }, m: function R(L, G) {
5888
5888
  if (L.date() < G.date()) return -R(G, L);
5889
- var I = 12 * (G.year() - L.year()) + (G.month() - L.month()), W = L.clone().add(I, o), O = G - W < 0, z = L.clone().add(I + (O ? -1 : 1), o);
5890
- return +(-(I + (G - W) / (O ? W - z : z - W)) || 0);
5889
+ var I = 12 * (G.year() - L.year()) + (G.month() - L.month()), W = L.clone().add(I, o), z = G - W < 0, B = L.clone().add(I + (z ? -1 : 1), o);
5890
+ return +(-(I + (G - W) / (z ? W - B : B - W)) || 0);
5891
5891
  }, a: function(R) {
5892
5892
  return R < 0 ? Math.ceil(R) || 0 : Math.floor(R);
5893
5893
  }, p: function(R) {
@@ -5897,15 +5897,15 @@ function Ko() {
5897
5897
  } }, v = "en", T = {};
5898
5898
  T[v] = c;
5899
5899
  var h = "$isDayjsObject", D = function(R) {
5900
- return R instanceof A || !(!R || !R[h]);
5900
+ return R instanceof F || !(!R || !R[h]);
5901
5901
  }, H = function R(L, G, I) {
5902
5902
  var W;
5903
5903
  if (!L) return v;
5904
5904
  if (typeof L == "string") {
5905
- var O = L.toLowerCase();
5906
- T[O] && (W = O), G && (T[O] = G, W = O);
5907
- var z = L.split("-");
5908
- if (!W && z.length > 1) return R(z[0]);
5905
+ var z = L.toLowerCase();
5906
+ T[z] && (W = z), G && (T[z] = G, W = z);
5907
+ var B = L.split("-");
5908
+ if (!W && B.length > 1) return R(B[0]);
5909
5909
  } else {
5910
5910
  var N = L.name;
5911
5911
  T[N] = L, W = N;
@@ -5914,27 +5914,27 @@ function Ko() {
5914
5914
  }, k = function(R, L) {
5915
5915
  if (D(R)) return R.clone();
5916
5916
  var G = typeof L == "object" ? L : {};
5917
- return G.date = R, G.args = arguments, new A(G);
5917
+ return G.date = R, G.args = arguments, new F(G);
5918
5918
  }, S = C;
5919
5919
  S.l = H, S.i = D, S.w = function(R, L) {
5920
5920
  return k(R, { locale: L.$L, utc: L.$u, x: L.$x, $offset: L.$offset });
5921
5921
  };
5922
- var A = (function() {
5922
+ var F = (function() {
5923
5923
  function R(G) {
5924
5924
  this.$L = H(G.locale, null, !0), this.parse(G), this.$x = this.$x || G.x || {}, this[h] = !0;
5925
5925
  }
5926
5926
  var L = R.prototype;
5927
5927
  return L.parse = function(G) {
5928
5928
  this.$d = (function(I) {
5929
- var W = I.date, O = I.utc;
5929
+ var W = I.date, z = I.utc;
5930
5930
  if (W === null) return /* @__PURE__ */ new Date(NaN);
5931
5931
  if (S.u(W)) return /* @__PURE__ */ new Date();
5932
5932
  if (W instanceof Date) return new Date(W);
5933
5933
  if (typeof W == "string" && !/Z$/i.test(W)) {
5934
- var z = W.match(y);
5935
- if (z) {
5936
- var N = z[2] - 1 || 0, E = (z[7] || "0").substring(0, 3);
5937
- return O ? new Date(Date.UTC(z[1], N, z[3] || 1, z[4] || 0, z[5] || 0, z[6] || 0, E)) : new Date(z[1], N, z[3] || 1, z[4] || 0, z[5] || 0, z[6] || 0, E);
5934
+ var B = W.match(y);
5935
+ if (B) {
5936
+ var N = B[2] - 1 || 0, E = (B[7] || "0").substring(0, 3);
5937
+ return z ? new Date(Date.UTC(B[1], N, B[3] || 1, B[4] || 0, B[5] || 0, B[6] || 0, E)) : new Date(B[1], N, B[3] || 1, B[4] || 0, B[5] || 0, B[6] || 0, E);
5938
5938
  }
5939
5939
  }
5940
5940
  return new Date(W);
@@ -5960,39 +5960,39 @@ function Ko() {
5960
5960
  }, L.valueOf = function() {
5961
5961
  return this.$d.getTime();
5962
5962
  }, L.startOf = function(G, I) {
5963
- var W = this, O = !!S.u(I) || I, z = S.p(G), N = function(V, Z) {
5964
- var Q = S.w(W.$u ? Date.UTC(W.$y, Z, V) : new Date(W.$y, Z, V), W);
5965
- return O ? Q : Q.endOf(i);
5966
- }, E = function(V, Z) {
5967
- return S.w(W.toDate()[V].apply(W.toDate("s"), (O ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Z)), W);
5968
- }, F = this.$W, w = this.$M, X = this.$D, ie = "set" + (this.$u ? "UTC" : "");
5969
- switch (z) {
5963
+ var W = this, z = !!S.u(I) || I, B = S.p(G), N = function(J, Z) {
5964
+ var Q = S.w(W.$u ? Date.UTC(W.$y, Z, J) : new Date(W.$y, Z, J), W);
5965
+ return z ? Q : Q.endOf(i);
5966
+ }, E = function(J, Z) {
5967
+ return S.w(W.toDate()[J].apply(W.toDate("s"), (z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(Z)), W);
5968
+ }, w = this.$W, P = this.$M, ae = this.$D, te = "set" + (this.$u ? "UTC" : "");
5969
+ switch (B) {
5970
5970
  case g:
5971
- return O ? N(1, 0) : N(31, 11);
5971
+ return z ? N(1, 0) : N(31, 11);
5972
5972
  case o:
5973
- return O ? N(1, w) : N(0, w + 1);
5973
+ return z ? N(1, P) : N(0, P + 1);
5974
5974
  case r:
5975
- var le = this.$locale().weekStart || 0, B = (F < le ? F + 7 : F) - le;
5976
- return N(O ? X - B : X + (6 - B), w);
5975
+ var le = this.$locale().weekStart || 0, O = (w < le ? w + 7 : w) - le;
5976
+ return N(z ? ae - O : ae + (6 - O), P);
5977
5977
  case i:
5978
5978
  case p:
5979
- return E(ie + "Hours", 0);
5979
+ return E(te + "Hours", 0);
5980
5980
  case l:
5981
- return E(ie + "Minutes", 1);
5981
+ return E(te + "Minutes", 1);
5982
5982
  case d:
5983
- return E(ie + "Seconds", 2);
5983
+ return E(te + "Seconds", 2);
5984
5984
  case b:
5985
- return E(ie + "Milliseconds", 3);
5985
+ return E(te + "Milliseconds", 3);
5986
5986
  default:
5987
5987
  return this.clone();
5988
5988
  }
5989
5989
  }, L.endOf = function(G) {
5990
5990
  return this.startOf(G, !1);
5991
5991
  }, L.$set = function(G, I) {
5992
- var W, O = S.p(G), z = "set" + (this.$u ? "UTC" : ""), N = (W = {}, W[i] = z + "Date", W[p] = z + "Date", W[o] = z + "Month", W[g] = z + "FullYear", W[l] = z + "Hours", W[d] = z + "Minutes", W[b] = z + "Seconds", W[u] = z + "Milliseconds", W)[O], E = O === i ? this.$D + (I - this.$W) : I;
5993
- if (O === o || O === g) {
5994
- var F = this.clone().set(p, 1);
5995
- F.$d[N](E), F.init(), this.$d = F.set(p, Math.min(this.$D, F.daysInMonth())).$d;
5992
+ var W, z = S.p(G), B = "set" + (this.$u ? "UTC" : ""), N = (W = {}, W[i] = B + "Date", W[p] = B + "Date", W[o] = B + "Month", W[g] = B + "FullYear", W[l] = B + "Hours", W[d] = B + "Minutes", W[b] = B + "Seconds", W[u] = B + "Milliseconds", W)[z], E = z === i ? this.$D + (I - this.$W) : I;
5993
+ if (z === o || z === g) {
5994
+ var w = this.clone().set(p, 1);
5995
+ w.$d[N](E), w.init(), this.$d = w.set(p, Math.min(this.$D, w.daysInMonth())).$d;
5996
5996
  } else N && this.$d[N](E);
5997
5997
  return this.init(), this;
5998
5998
  }, L.set = function(G, I) {
@@ -6000,46 +6000,46 @@ function Ko() {
6000
6000
  }, L.get = function(G) {
6001
6001
  return this[S.p(G)]();
6002
6002
  }, L.add = function(G, I) {
6003
- var W, O = this;
6003
+ var W, z = this;
6004
6004
  G = Number(G);
6005
- var z = S.p(I), N = function(w) {
6006
- var X = k(O);
6007
- return S.w(X.date(X.date() + Math.round(w * G)), O);
6005
+ var B = S.p(I), N = function(P) {
6006
+ var ae = k(z);
6007
+ return S.w(ae.date(ae.date() + Math.round(P * G)), z);
6008
6008
  };
6009
- if (z === o) return this.set(o, this.$M + G);
6010
- if (z === g) return this.set(g, this.$y + G);
6011
- if (z === i) return N(1);
6012
- if (z === r) return N(7);
6013
- var E = (W = {}, W[d] = n, W[l] = s, W[b] = a, W)[z] || 1, F = this.$d.getTime() + G * E;
6014
- return S.w(F, this);
6009
+ if (B === o) return this.set(o, this.$M + G);
6010
+ if (B === g) return this.set(g, this.$y + G);
6011
+ if (B === i) return N(1);
6012
+ if (B === r) return N(7);
6013
+ var E = (W = {}, W[d] = n, W[l] = s, W[b] = a, W)[B] || 1, w = this.$d.getTime() + G * E;
6014
+ return S.w(w, this);
6015
6015
  }, L.subtract = function(G, I) {
6016
6016
  return this.add(-1 * G, I);
6017
6017
  }, L.format = function(G) {
6018
6018
  var I = this, W = this.$locale();
6019
6019
  if (!this.isValid()) return W.invalidDate || f;
6020
- var O = G || "YYYY-MM-DDTHH:mm:ssZ", z = S.z(this), N = this.$H, E = this.$m, F = this.$M, w = W.weekdays, X = W.months, ie = W.meridiem, le = function(Z, Q, K, ee) {
6021
- return Z && (Z[Q] || Z(I, O)) || K[Q].slice(0, ee);
6022
- }, B = function(Z) {
6020
+ var z = G || "YYYY-MM-DDTHH:mm:ssZ", B = S.z(this), N = this.$H, E = this.$m, w = this.$M, P = W.weekdays, ae = W.months, te = W.meridiem, le = function(Z, Q, X, q) {
6021
+ return Z && (Z[Q] || Z(I, z)) || X[Q].slice(0, q);
6022
+ }, O = function(Z) {
6023
6023
  return S.s(N % 12 || 12, Z, "0");
6024
- }, V = ie || function(Z, Q, K) {
6025
- var ee = Z < 12 ? "AM" : "PM";
6026
- return K ? ee.toLowerCase() : ee;
6024
+ }, J = te || function(Z, Q, X) {
6025
+ var q = Z < 12 ? "AM" : "PM";
6026
+ return X ? q.toLowerCase() : q;
6027
6027
  };
6028
- return O.replace(_, (function(Z, Q) {
6029
- return Q || (function(K) {
6030
- switch (K) {
6028
+ return z.replace(_, (function(Z, Q) {
6029
+ return Q || (function(X) {
6030
+ switch (X) {
6031
6031
  case "YY":
6032
6032
  return String(I.$y).slice(-2);
6033
6033
  case "YYYY":
6034
6034
  return S.s(I.$y, 4, "0");
6035
6035
  case "M":
6036
- return F + 1;
6036
+ return w + 1;
6037
6037
  case "MM":
6038
- return S.s(F + 1, 2, "0");
6038
+ return S.s(w + 1, 2, "0");
6039
6039
  case "MMM":
6040
- return le(W.monthsShort, F, X, 3);
6040
+ return le(W.monthsShort, w, ae, 3);
6041
6041
  case "MMMM":
6042
- return le(X, F);
6042
+ return le(ae, w);
6043
6043
  case "D":
6044
6044
  return I.$D;
6045
6045
  case "DD":
@@ -6047,23 +6047,23 @@ function Ko() {
6047
6047
  case "d":
6048
6048
  return String(I.$W);
6049
6049
  case "dd":
6050
- return le(W.weekdaysMin, I.$W, w, 2);
6050
+ return le(W.weekdaysMin, I.$W, P, 2);
6051
6051
  case "ddd":
6052
- return le(W.weekdaysShort, I.$W, w, 3);
6052
+ return le(W.weekdaysShort, I.$W, P, 3);
6053
6053
  case "dddd":
6054
- return w[I.$W];
6054
+ return P[I.$W];
6055
6055
  case "H":
6056
6056
  return String(N);
6057
6057
  case "HH":
6058
6058
  return S.s(N, 2, "0");
6059
6059
  case "h":
6060
- return B(1);
6060
+ return O(1);
6061
6061
  case "hh":
6062
- return B(2);
6062
+ return O(2);
6063
6063
  case "a":
6064
- return V(N, E, !0);
6064
+ return J(N, E, !0);
6065
6065
  case "A":
6066
- return V(N, E, !1);
6066
+ return J(N, E, !1);
6067
6067
  case "m":
6068
6068
  return String(E);
6069
6069
  case "mm":
@@ -6075,54 +6075,54 @@ function Ko() {
6075
6075
  case "SSS":
6076
6076
  return S.s(I.$ms, 3, "0");
6077
6077
  case "Z":
6078
- return z;
6078
+ return B;
6079
6079
  }
6080
6080
  return null;
6081
- })(Z) || z.replace(":", "");
6081
+ })(Z) || B.replace(":", "");
6082
6082
  }));
6083
6083
  }, L.utcOffset = function() {
6084
6084
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
6085
6085
  }, L.diff = function(G, I, W) {
6086
- var O, z = this, N = S.p(I), E = k(G), F = (E.utcOffset() - this.utcOffset()) * n, w = this - E, X = function() {
6087
- return S.m(z, E);
6086
+ var z, B = this, N = S.p(I), E = k(G), w = (E.utcOffset() - this.utcOffset()) * n, P = this - E, ae = function() {
6087
+ return S.m(B, E);
6088
6088
  };
6089
6089
  switch (N) {
6090
6090
  case g:
6091
- O = X() / 12;
6091
+ z = ae() / 12;
6092
6092
  break;
6093
6093
  case o:
6094
- O = X();
6094
+ z = ae();
6095
6095
  break;
6096
6096
  case m:
6097
- O = X() / 3;
6097
+ z = ae() / 3;
6098
6098
  break;
6099
6099
  case r:
6100
- O = (w - F) / 6048e5;
6100
+ z = (P - w) / 6048e5;
6101
6101
  break;
6102
6102
  case i:
6103
- O = (w - F) / 864e5;
6103
+ z = (P - w) / 864e5;
6104
6104
  break;
6105
6105
  case l:
6106
- O = w / s;
6106
+ z = P / s;
6107
6107
  break;
6108
6108
  case d:
6109
- O = w / n;
6109
+ z = P / n;
6110
6110
  break;
6111
6111
  case b:
6112
- O = w / a;
6112
+ z = P / a;
6113
6113
  break;
6114
6114
  default:
6115
- O = w;
6115
+ z = P;
6116
6116
  }
6117
- return W ? O : S.a(O);
6117
+ return W ? z : S.a(z);
6118
6118
  }, L.daysInMonth = function() {
6119
6119
  return this.endOf(o).$D;
6120
6120
  }, L.$locale = function() {
6121
6121
  return T[this.$L];
6122
6122
  }, L.locale = function(G, I) {
6123
6123
  if (!G) return this.$L;
6124
- var W = this.clone(), O = H(G, I, !0);
6125
- return O && (W.$L = O), W;
6124
+ var W = this.clone(), z = H(G, I, !0);
6125
+ return z && (W.$L = z), W;
6126
6126
  }, L.clone = function() {
6127
6127
  return S.w(this.$d, this);
6128
6128
  }, L.toDate = function() {
@@ -6134,13 +6134,13 @@ function Ko() {
6134
6134
  }, L.toString = function() {
6135
6135
  return this.$d.toUTCString();
6136
6136
  }, R;
6137
- })(), P = A.prototype;
6138
- return k.prototype = P, [["$ms", u], ["$s", b], ["$m", d], ["$H", l], ["$W", i], ["$M", o], ["$y", g], ["$D", p]].forEach((function(R) {
6139
- P[R[1]] = function(L) {
6137
+ })(), A = F.prototype;
6138
+ return k.prototype = A, [["$ms", u], ["$s", b], ["$m", d], ["$H", l], ["$W", i], ["$M", o], ["$y", g], ["$D", p]].forEach((function(R) {
6139
+ A[R[1]] = function(L) {
6140
6140
  return this.$g(L, R[0], R[1]);
6141
6141
  };
6142
6142
  })), k.extend = function(R, L) {
6143
- return R.$i || (R(L, A, k), R.$i = !0), k;
6143
+ return R.$i || (R(L, F, k), R.$i = !0), k;
6144
6144
  }, k.locale = H, k.isDayjs = D, k.unix = function(R) {
6145
6145
  return k(1e3 * R);
6146
6146
  }, k.en = T[v], k.Ls = T, k.p = {}, k;
@@ -6169,98 +6169,98 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
6169
6169
  */
6170
6170
  resetPasswordEncrypt: a
6171
6171
  } = re(), n = M(
6172
- async (B) => {
6173
- const { mac_address: V = "", app_version: Z = "", anydesk_id: Q = "" } = B;
6172
+ async (O) => {
6173
+ const { mac_address: J = "", app_version: Z = "", anydesk_id: Q = "" } = O;
6174
6174
  return await e.post("/cash-register/login", {
6175
- mac_address: V,
6175
+ mac_address: J,
6176
6176
  app_version: Z,
6177
6177
  anydesk_id: Q
6178
6178
  });
6179
6179
  },
6180
6180
  [e]
6181
6181
  ), s = M(async () => e.get("/member/getMemberInfo"), [e]), u = M(async () => await e.get("/member/getGameList"), [e]), b = M(async () => await e.get("/member/getNowCurrencyExchange"), [e]), d = M(async () => await e.get("member/getFavoriteGame"), [e]), l = M(
6182
- async (B) => {
6183
- const { account: V, password: Z, trans_code: Q, two_fa_value: K } = B;
6182
+ async (O) => {
6183
+ const { account: J, password: Z, trans_code: Q, two_fa_value: X } = O;
6184
6184
  return await e.post("/login", {
6185
- memId: V,
6185
+ memId: J,
6186
6186
  passwd: Z,
6187
6187
  trans_code: Q,
6188
- two_fa_value: K
6188
+ two_fa_value: X
6189
6189
  });
6190
6190
  },
6191
6191
  [e]
6192
6192
  ), i = M(async () => await e.post("/logout"), [e]), r = M(
6193
- async (B) => {
6194
- const { gameUid: V = "", status: Z = 0 } = B;
6195
- return await e.put(`/member/toggleFavoriteGame/${V}`, {
6193
+ async (O) => {
6194
+ const { gameUid: J = "", status: Z = 0 } = O;
6195
+ return await e.put(`/member/toggleFavoriteGame/${J}`, {
6196
6196
  status: Z
6197
6197
  });
6198
6198
  },
6199
6199
  [e]
6200
6200
  ), o = M(async () => await e.get("/profit/ranking"), [e]), m = M(
6201
6201
  async ({
6202
- memberId: B,
6203
- password: V,
6202
+ memberId: O,
6203
+ password: J,
6204
6204
  unlimitCode: Z,
6205
6205
  email: Q,
6206
- inviteCode: K,
6207
- currencyCode: ee,
6208
- validCode: de,
6209
- nickName: he
6206
+ inviteCode: X,
6207
+ currencyCode: q,
6208
+ validCode: ue,
6209
+ nickName: Ce
6210
6210
  }) => {
6211
6211
  const be = {
6212
- memId: B,
6213
- passwd: Ta.MD5(V).toString(),
6212
+ memId: O,
6213
+ passwd: Ta.MD5(J).toString(),
6214
6214
  email: Q,
6215
- currency_code: ee,
6216
- code: de,
6217
- nick_name: he
6215
+ currency_code: q,
6216
+ code: ue,
6217
+ nick_name: Ce
6218
6218
  };
6219
- return Q && (be.email = Q), Z && (be.unlimit_code = Z), K && (be.invite = K), e.post("/siginUp", be);
6219
+ return Q && (be.email = Q), Z && (be.unlimit_code = Z), X && (be.invite = X), e.post("/siginUp", be);
6220
6220
  },
6221
6221
  [e]
6222
6222
  ), g = M(
6223
- async (B) => {
6224
- const { name: V, birthday: Z, email: Q, mobile: K } = B;
6223
+ async (O) => {
6224
+ const { name: J, birthday: Z, email: Q, mobile: X } = O;
6225
6225
  return await e.post("/editMembetInfo", {
6226
- name: V,
6226
+ name: J,
6227
6227
  // 暱稱
6228
6228
  birthday: Z,
6229
6229
  // 生日 (格式:YYYY-MM-DD)
6230
6230
  email: Q,
6231
6231
  // 電子郵件
6232
- mobile: K
6232
+ mobile: X
6233
6233
  // 手機號碼
6234
6234
  });
6235
6235
  },
6236
6236
  [e]
6237
6237
  ), p = M(
6238
- async (B) => {
6239
- const { name: V, birthday: Z, email: Q, mobile: K } = B;
6238
+ async (O) => {
6239
+ const { name: J, birthday: Z, email: Q, mobile: X } = O;
6240
6240
  return await e.post("/editMemberInfo", {
6241
- name: V,
6241
+ name: J,
6242
6242
  // 暱稱
6243
6243
  birthday: Z,
6244
6244
  // 生日 (格式:YYYY-MM-DD)
6245
6245
  email: Q,
6246
6246
  // 電子郵件
6247
- mobile: K
6247
+ mobile: X
6248
6248
  // 手機號碼
6249
6249
  });
6250
6250
  },
6251
6251
  [e]
6252
6252
  ), f = M(
6253
- async (B) => {
6254
- const { oldPwd: V, newPwd: Z, encrypt: Q } = B, K = $o(Q || a || "md5");
6253
+ async (O) => {
6254
+ const { oldPwd: J, newPwd: Z, encrypt: Q } = O, X = $o(Q || a || "md5");
6255
6255
  return await e.post("/passwordReset", {
6256
- old_pwd: K(V),
6257
- new_pwd: K(Z)
6256
+ old_pwd: X(J),
6257
+ new_pwd: X(Z)
6258
6258
  });
6259
6259
  },
6260
6260
  [e, a]
6261
6261
  ), y = M(
6262
- async (B) => {
6263
- const { newPwd: V } = B, Z = Ta.MD5(V).toString();
6262
+ async (O) => {
6263
+ const { newPwd: J } = O, Z = Ta.MD5(J).toString();
6264
6264
  return await e.post("/member/initset", {
6265
6265
  password: Z,
6266
6266
  password_confirmation: Z
@@ -6268,38 +6268,38 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
6268
6268
  },
6269
6269
  [e]
6270
6270
  ), _ = M(
6271
- async (B) => {
6272
- const { newPwd: V, confirmNewPwd: Z } = B;
6271
+ async (O) => {
6272
+ const { newPwd: J, confirmNewPwd: Z } = O;
6273
6273
  return await e.post("/setWithdrawPassword", {
6274
- newPassword: Ja(V),
6274
+ newPassword: Ja(J),
6275
6275
  confirmPassword: Ja(Z)
6276
6276
  });
6277
6277
  },
6278
6278
  [e]
6279
6279
  ), c = M(
6280
- async (B) => {
6281
- const { oldPwd: V, newPwd: Z } = B;
6280
+ async (O) => {
6281
+ const { oldPwd: J, newPwd: Z } = O;
6282
6282
  return await e.post("/withdrawPasswordReset", {
6283
- old_pwd: Ja(V),
6283
+ old_pwd: Ja(J),
6284
6284
  new_pwd: Ja(Z)
6285
6285
  });
6286
6286
  },
6287
6287
  [e]
6288
6288
  ), U = M(
6289
- async (B) => {
6290
- const { mobile: V, verification_code: Z } = B;
6289
+ async (O) => {
6290
+ const { mobile: J, verification_code: Z } = O;
6291
6291
  return await e.post("/withdrawPasswordRenew", {
6292
- mobile: V,
6292
+ mobile: J,
6293
6293
  verification_code: Z
6294
6294
  });
6295
6295
  },
6296
6296
  [e]
6297
6297
  ), C = M(
6298
- async ({ paramsData: B }) => {
6299
- const { start_time: V, end_time: Z, limit: Q = 25 } = B || {};
6298
+ async ({ paramsData: O }) => {
6299
+ const { start_time: J, end_time: Z, limit: Q = 25 } = O || {};
6300
6300
  return await e.get("/report/totalprofit", {
6301
6301
  params: {
6302
- str_date: `${we(V).format("YYYY-MM-DD")} 12:00:00`,
6302
+ str_date: `${we(J).format("YYYY-MM-DD")} 12:00:00`,
6303
6303
  end_date: `${we(Z).format("YYYY-MM-DD")} 11:59:59`,
6304
6304
  limit: Q
6305
6305
  }
@@ -6307,187 +6307,187 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
6307
6307
  },
6308
6308
  [e]
6309
6309
  ), v = M(
6310
- async (B) => {
6311
- const { platform: V } = B;
6310
+ async (O) => {
6311
+ const { platform: J } = O;
6312
6312
  return await e.post("/member/all-in-la", {
6313
- platform: V
6313
+ platform: J
6314
6314
  });
6315
6315
  },
6316
6316
  [e]
6317
6317
  ), T = M(async () => await e.get("/member/checkRestrictedWagering"), [e]), h = M(
6318
- async (B) => {
6319
- const { memId: V, point: Z, currency: Q, password: K } = B;
6318
+ async (O) => {
6319
+ const { memId: J, point: Z, currency: Q, password: X } = O;
6320
6320
  return await e.post("/pointsTransaction", {
6321
- to_memId: V,
6321
+ to_memId: J,
6322
6322
  point: Z,
6323
6323
  currency: Q,
6324
- password: Ja(K)
6324
+ password: Ja(X)
6325
6325
  });
6326
6326
  },
6327
6327
  [e]
6328
6328
  ), D = M(
6329
- async ({ formData: B }) => {
6329
+ async ({ formData: O }) => {
6330
6330
  const {
6331
- bank_name: V,
6331
+ bank_name: J,
6332
6332
  bank_account_name: Z,
6333
6333
  bank_branch_name: Q,
6334
- bank_account: K,
6335
- bank_card_number: ee,
6336
- id_card: de,
6337
- id_pic: he
6338
- } = B;
6339
- return await t.post("/bindBankAccount", B);
6334
+ bank_account: X,
6335
+ bank_card_number: q,
6336
+ id_card: ue,
6337
+ id_pic: Ce
6338
+ } = O;
6339
+ return await t.post("/bindBankAccount", O);
6340
6340
  },
6341
6341
  [t]
6342
6342
  ), H = M(
6343
- async (B) => {
6344
- const { point_transfer: V } = B;
6343
+ async (O) => {
6344
+ const { point_transfer: J } = O;
6345
6345
  return await e.post("/cash-register/clear", {
6346
- point_transfer: V
6346
+ point_transfer: J
6347
6347
  });
6348
6348
  },
6349
6349
  [e]
6350
6350
  ), k = M(
6351
- async (B) => {
6352
- const { trans_code: V, line_id: Z, invite: Q, line_name: K } = B;
6351
+ async (O) => {
6352
+ const { trans_code: J, line_id: Z, invite: Q, line_name: X } = O;
6353
6353
  return await e.post("/goLine", {
6354
- trans_code: V,
6354
+ trans_code: J,
6355
6355
  line_id: Z,
6356
6356
  invite: Q,
6357
- line_name: K
6357
+ line_name: X
6358
6358
  });
6359
6359
  },
6360
6360
  [e]
6361
6361
  ), S = M(
6362
- async (B) => {
6363
- const { trans_code: V, line_id: Z, line_name: Q } = B;
6362
+ async (O) => {
6363
+ const { trans_code: J, line_id: Z, line_name: Q } = O;
6364
6364
  return await e.post("/login/line", {
6365
- trans_code: V,
6365
+ trans_code: J,
6366
6366
  line_id: Z,
6367
6367
  line_name: Q
6368
6368
  });
6369
6369
  },
6370
6370
  [e]
6371
- ), A = M(
6372
- async (B) => {
6373
- const { mac_address: V } = B;
6374
- return await e.get(`/machine-login-code/${V}`);
6371
+ ), F = M(
6372
+ async (O) => {
6373
+ const { mac_address: J } = O;
6374
+ return await e.get(`/machine-login-code/${J}`);
6375
6375
  },
6376
6376
  [e]
6377
- ), P = M(
6378
- async (B) => {
6379
- const { member_info_uid: V, point: Z, currency: Q, withdraw_password: K } = B;
6380
- return await e.post(`/member/transfer/${V}`, {
6377
+ ), A = M(
6378
+ async (O) => {
6379
+ const { member_info_uid: J, point: Z, currency: Q, withdraw_password: X } = O;
6380
+ return await e.post(`/member/transfer/${J}`, {
6381
6381
  point: Z,
6382
6382
  currency: Q,
6383
- withdraw_password: K
6383
+ withdraw_password: X
6384
6384
  });
6385
6385
  },
6386
6386
  [e]
6387
6387
  ), R = M(
6388
- async (B) => {
6389
- const { member_info_uid: V, point: Z, currency: Q, withdraw_password: K } = B;
6390
- return await e.get(`/member/transfer/${V}`, {
6388
+ async (O) => {
6389
+ const { member_info_uid: J, point: Z, currency: Q, withdraw_password: X } = O;
6390
+ return await e.get(`/member/transfer/${J}`, {
6391
6391
  params: {
6392
6392
  point: Z,
6393
6393
  currency: Q,
6394
- withdraw_password: K
6394
+ withdraw_password: X
6395
6395
  }
6396
6396
  });
6397
6397
  },
6398
6398
  [e]
6399
6399
  ), L = M(
6400
- async (B) => {
6401
- const { mobile: V, verifyCode: Z } = B;
6400
+ async (O) => {
6401
+ const { mobile: J, verifyCode: Z } = O;
6402
6402
  return await e.post("/sms/verifyValidationCode", {
6403
- mobile: V,
6403
+ mobile: J,
6404
6404
  inputCode: Z
6405
6405
  });
6406
6406
  },
6407
6407
  [e]
6408
6408
  ), G = M(
6409
- async (B) => {
6410
- const { mobile: V, verifyCode: Z, snCode: Q, invoiceType: K, invoiceCode: ee } = B;
6409
+ async (O) => {
6410
+ const { mobile: J, verifyCode: Z, snCode: Q, invoiceType: X, invoiceCode: q } = O;
6411
6411
  return await e.post("/goMobile", {
6412
- mobile: V,
6412
+ mobile: J,
6413
6413
  verification_code: Z,
6414
6414
  sn_code: Q,
6415
- invoice_type: K,
6416
- invoice_code: ee
6415
+ invoice_type: X,
6416
+ invoice_code: q
6417
6417
  });
6418
6418
  },
6419
6419
  [e]
6420
6420
  ), I = M(
6421
- async (B) => {
6422
- const { mobile: V, password: Z, verifyCode: Q, invite: K, invoiceType: ee, invoiceCode: de } = B;
6421
+ async (O) => {
6422
+ const { mobile: J, password: Z, verifyCode: Q, invite: X, invoiceType: q, invoiceCode: ue } = O;
6423
6423
  return await e.post("/goMobileByInvite", {
6424
- mobile: V,
6424
+ mobile: J,
6425
6425
  passwd: Ta.MD5(Z).toString(),
6426
6426
  verification_code: Q,
6427
- invite: K,
6428
- invoice_type: ee,
6429
- invoice_code: de
6427
+ invite: X,
6428
+ invoice_type: q,
6429
+ invoice_code: ue
6430
6430
  });
6431
6431
  },
6432
6432
  [e]
6433
6433
  ), W = M(
6434
- async (B) => {
6435
- const { mobile: V, verifyCode: Z, password: Q } = B;
6434
+ async (O) => {
6435
+ const { mobile: J, verifyCode: Z, password: Q } = O;
6436
6436
  return await e.post("/forgot-password", {
6437
- mobile: V,
6437
+ mobile: J,
6438
6438
  verification_code: Z,
6439
6439
  passwd: Ta.MD5(Q).toString()
6440
6440
  });
6441
6441
  },
6442
6442
  [e]
6443
- ), O = M(
6444
- async (B) => {
6445
- const { mobile: V, password: Z, invite: Q, invoiceType: K, invoiceCode: ee } = B;
6443
+ ), z = M(
6444
+ async (O) => {
6445
+ const { mobile: J, password: Z, invite: Q, invoiceType: X, invoiceCode: q } = O;
6446
6446
  return await e.post("/goMobileByPassword", {
6447
- mobile: V,
6447
+ mobile: J,
6448
6448
  password: Ta.MD5(Z).toString(),
6449
6449
  invite: Q,
6450
- invoice_type: K,
6451
- invoice_code: ee
6450
+ invoice_type: X,
6451
+ invoice_code: q
6452
6452
  });
6453
6453
  },
6454
6454
  [e]
6455
- ), z = M(
6456
- async (B) => await e.get(`/checkMobile/${B}`),
6455
+ ), B = M(
6456
+ async (O) => await e.get(`/checkMobile/${O}`),
6457
6457
  [e]
6458
6458
  ), N = M(
6459
- async (B) => {
6460
- const { mobile: V, invite: Z } = B;
6459
+ async (O) => {
6460
+ const { mobile: J, invite: Z } = O;
6461
6461
  return await e.get("/sms/getValidCode", {
6462
6462
  params: {
6463
- mobile: V,
6463
+ mobile: J,
6464
6464
  invite: Z
6465
6465
  }
6466
6466
  });
6467
6467
  },
6468
6468
  [e]
6469
6469
  ), E = M(
6470
- async (B) => {
6471
- const { bindType: V, bindId: Z } = B;
6470
+ async (O) => {
6471
+ const { bindType: J, bindId: Z } = O;
6472
6472
  return await e.post("/member/bindThirdPartyAccount", {
6473
- bind_type: V,
6473
+ bind_type: J,
6474
6474
  bind_id: Z
6475
6475
  });
6476
6476
  },
6477
6477
  [e]
6478
- ), F = M(async () => await e.get("/jackpot", {}), [e]), w = M(
6479
- async (B) => await e.get("/total-bet-ranking"),
6478
+ ), w = M(async () => await e.get("/jackpot", {}), [e]), P = M(
6479
+ async (O) => await e.get("/total-bet-ranking"),
6480
6480
  [e]
6481
- ), X = M(async () => await e.get("/member/avatar/list"), [e]), ie = M(
6482
- async (B) => {
6483
- const { avatarId: V } = B;
6481
+ ), ae = M(async () => await e.get("/member/avatar/list"), [e]), te = M(
6482
+ async (O) => {
6483
+ const { avatarId: J } = O;
6484
6484
  return await e.post("/member/avatar/change", {
6485
- avatar_file_name: V
6485
+ avatar_file_name: J
6486
6486
  });
6487
6487
  },
6488
6488
  [e]
6489
6489
  ), le = M(
6490
- async ({ formData: B }) => await e.post("/cash-register/createMachine", B),
6490
+ async ({ formData: O }) => await e.post("/cash-register/createMachine", O),
6491
6491
  [e]
6492
6492
  );
6493
6493
  return {
@@ -6517,8 +6517,8 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
6517
6517
  abandonPointsApi: H,
6518
6518
  lineLoginApi: k,
6519
6519
  lineLogin2Api: S,
6520
- getMachineLoginCodeApi: A,
6521
- memberTransferApi: P,
6520
+ getMachineLoginCodeApi: F,
6521
+ memberTransferApi: A,
6522
6522
  checkMemberTransferApi: R,
6523
6523
  mobileLoginApi: L,
6524
6524
  sendMobileVerifyCodeApi: N,
@@ -6526,13 +6526,13 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
6526
6526
  bindAccountApi: E,
6527
6527
  mobileRegisterApi: I,
6528
6528
  forgotPasswordApi: W,
6529
- mobilePasswordApi: O,
6530
- checkMobileApi: z,
6529
+ mobilePasswordApi: z,
6530
+ checkMobileApi: B,
6531
6531
  verifyResetActionApi: U,
6532
- getJackpotApi: F,
6533
- getBetRankingApi: w,
6534
- getUserAvatarListApi: X,
6535
- updateUserAvatarApi: ie
6532
+ getJackpotApi: w,
6533
+ getBetRankingApi: P,
6534
+ getUserAvatarListApi: ae,
6535
+ updateUserAvatarApi: te
6536
6536
  };
6537
6537
  }, Tu = ({ otherQueryKey: e = [], options: t = {} } = {}) => {
6538
6538
  const { userCurrencyExchangeApi: a } = oe(), { getToken: n } = re(), { enabled: s, ...u } = t, d = !!n?.() && (s ? s.every((l) => l) : !0);
@@ -6594,7 +6594,7 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
6594
6594
  l
6595
6595
  ];
6596
6596
  }, Gi = () => {
6597
- const { client: e, lng: t } = re(), a = Ve(t || "tw"), n = M(
6597
+ const { client: e, lng: t } = re(), a = Je(t || "tw"), n = M(
6598
6598
  async (b) => {
6599
6599
  const {
6600
6600
  gameUid: d = "",
@@ -6760,7 +6760,7 @@ function Ui(e, t) {
6760
6760
  }
6761
6761
  );
6762
6762
  }
6763
- var Ci = Ui(Yo, { path: "/" }), gi = {}, $e = {}, di = {}, Mn;
6763
+ var Ci = Ui(Yo, { path: "/" }), gi = {}, qe = {}, di = {}, Mn;
6764
6764
  function sa() {
6765
6765
  return Mn || (Mn = 1, (function(e) {
6766
6766
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isEventSourceSupported = e.isReactNative = e.ReadyState = e.DEFAULT_HEARTBEAT = e.UNPARSABLE_JSON_OBJECT = e.DEFAULT_RECONNECT_INTERVAL_MS = e.DEFAULT_RECONNECT_LIMIT = e.SOCKET_IO_PING_CODE = e.SOCKET_IO_PATH = e.SOCKET_IO_PING_INTERVAL = e.DEFAULT_EVENT_SOURCE_OPTIONS = e.EMPTY_EVENT_HANDLERS = e.DEFAULT_OPTIONS = void 0;
@@ -7241,9 +7241,9 @@ function is() {
7241
7241
  }
7242
7242
  var zn;
7243
7243
  function Fi() {
7244
- if (zn) return $e;
7244
+ if (zn) return qe;
7245
7245
  zn = 1;
7246
- var e = $e && $e.__assign || function() {
7246
+ var e = qe && qe.__assign || function() {
7247
7247
  return e = Object.assign || function(m) {
7248
7248
  for (var g, p = 1, f = arguments.length; p < f; p++) {
7249
7249
  g = arguments[p];
@@ -7251,7 +7251,7 @@ function Fi() {
7251
7251
  }
7252
7252
  return m;
7253
7253
  }, e.apply(this, arguments);
7254
- }, t = $e && $e.__awaiter || function(m, g, p, f) {
7254
+ }, t = qe && qe.__awaiter || function(m, g, p, f) {
7255
7255
  function y(_) {
7256
7256
  return _ instanceof p ? _ : new p(function(c) {
7257
7257
  c(_);
@@ -7277,7 +7277,7 @@ function Fi() {
7277
7277
  }
7278
7278
  v((f = f.apply(m, g || [])).next());
7279
7279
  });
7280
- }, a = $e && $e.__generator || function(m, g) {
7280
+ }, a = qe && qe.__generator || function(m, g) {
7281
7281
  var p = { label: 0, sent: function() {
7282
7282
  if (_[0] & 1) throw _[1];
7283
7283
  return _[1];
@@ -7336,10 +7336,10 @@ function Fi() {
7336
7336
  if (v[0] & 5) throw v[1];
7337
7337
  return { value: v[0] ? v[1] : void 0, done: !0 };
7338
7338
  }
7339
- }, n = $e && $e.__importDefault || function(m) {
7339
+ }, n = qe && qe.__importDefault || function(m) {
7340
7340
  return m && m.__esModule ? m : { default: m };
7341
7341
  };
7342
- Object.defineProperty($e, "__esModule", { value: !0 }), $e.useWebSocket = void 0;
7342
+ Object.defineProperty(qe, "__esModule", { value: !0 }), qe.useWebSocket = void 0;
7343
7343
  var s = ve, u = _l, b = sa(), d = as(), l = ts(), i = n(is()), r = wi(), o = function(m, g, p) {
7344
7344
  g === void 0 && (g = b.DEFAULT_OPTIONS), p === void 0 && (p = !0);
7345
7345
  var f = (0, s.useState)(null), y = f[0], _ = f[1], c = (0, s.useState)({}), U = c[0], C = c[1], v = (0, s.useMemo)(function() {
@@ -7351,49 +7351,49 @@ function Fi() {
7351
7351
  }
7352
7352
  return null;
7353
7353
  }, [y, g.disableJson]), T = (0, s.useRef)(null), h = (0, s.useRef)(null), D = (0, s.useRef)(function() {
7354
- }), H = (0, s.useRef)(0), k = (0, s.useRef)(Date.now()), S = (0, s.useRef)([]), A = (0, s.useRef)(null), P = (0, s.useRef)(g);
7355
- P.current = g;
7356
- var R = T.current && U[T.current] !== void 0 ? U[T.current] : m !== null && p === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, L = g.queryParams ? JSON.stringify(g.queryParams) : null, G = (0, s.useCallback)(function(O, z) {
7354
+ }), H = (0, s.useRef)(0), k = (0, s.useRef)(Date.now()), S = (0, s.useRef)([]), F = (0, s.useRef)(null), A = (0, s.useRef)(g);
7355
+ A.current = g;
7356
+ var R = T.current && U[T.current] !== void 0 ? U[T.current] : m !== null && p === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, L = g.queryParams ? JSON.stringify(g.queryParams) : null, G = (0, s.useCallback)(function(z, B) {
7357
7357
  var N;
7358
- if (z === void 0 && (z = !0), b.isEventSourceSupported && h.current instanceof EventSource) {
7358
+ if (B === void 0 && (B = !0), b.isEventSourceSupported && h.current instanceof EventSource) {
7359
7359
  console.warn("Unable to send a message from an eventSource");
7360
7360
  return;
7361
7361
  }
7362
- ((N = h.current) === null || N === void 0 ? void 0 : N.readyState) === b.ReadyState.OPEN ? ((0, r.assertIsWebSocket)(h.current, P.current.skipAssert), h.current.send(O)) : z && S.current.push(O);
7363
- }, []), I = (0, s.useCallback)(function(O, z) {
7364
- z === void 0 && (z = !0), G(JSON.stringify(O), z);
7362
+ ((N = h.current) === null || N === void 0 ? void 0 : N.readyState) === b.ReadyState.OPEN ? ((0, r.assertIsWebSocket)(h.current, A.current.skipAssert), h.current.send(z)) : B && S.current.push(z);
7363
+ }, []), I = (0, s.useCallback)(function(z, B) {
7364
+ B === void 0 && (B = !0), G(JSON.stringify(z), B);
7365
7365
  }, [G]), W = (0, s.useCallback)(function() {
7366
- return P.current.share !== !0 || b.isEventSourceSupported && h.current instanceof EventSource ? h.current : (A.current === null && h.current && ((0, r.assertIsWebSocket)(h.current, P.current.skipAssert), A.current = (0, i.default)(h.current, D)), A.current);
7366
+ return A.current.share !== !0 || b.isEventSourceSupported && h.current instanceof EventSource ? h.current : (F.current === null && h.current && ((0, r.assertIsWebSocket)(h.current, A.current.skipAssert), F.current = (0, i.default)(h.current, D)), F.current);
7367
7367
  }, []);
7368
7368
  return (0, s.useEffect)(function() {
7369
7369
  if (m !== null && p === !0) {
7370
- var O, z = !1, N = !0, E = function() {
7370
+ var z, B = !1, N = !0, E = function() {
7371
7371
  return t(void 0, void 0, void 0, function() {
7372
- var F, w, X;
7373
- return a(this, function(ie) {
7374
- switch (ie.label) {
7372
+ var w, P, ae;
7373
+ return a(this, function(te) {
7374
+ switch (te.label) {
7375
7375
  case 0:
7376
- return F = T, [4, (0, l.getUrl)(m, P)];
7376
+ return w = T, [4, (0, l.getUrl)(m, A)];
7377
7377
  case 1:
7378
- return F.current = ie.sent(), T.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), T.current = "ABORTED", (0, u.flushSync)(function() {
7378
+ return w.current = te.sent(), T.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), T.current = "ABORTED", (0, u.flushSync)(function() {
7379
7379
  return C(function(le) {
7380
7380
  return e(e({}, le), { ABORTED: b.ReadyState.CLOSED });
7381
7381
  });
7382
7382
  }), [
7383
7383
  2
7384
7384
  /*return*/
7385
- ]) : (w = function(le) {
7386
- z || (0, u.flushSync)(function() {
7385
+ ]) : (P = function(le) {
7386
+ B || (0, u.flushSync)(function() {
7387
7387
  return _(le);
7388
7388
  });
7389
- }, X = function(le) {
7390
- z || (0, u.flushSync)(function() {
7391
- return C(function(B) {
7392
- var V;
7393
- return e(e({}, B), T.current && (V = {}, V[T.current] = le, V));
7389
+ }, ae = function(le) {
7390
+ B || (0, u.flushSync)(function() {
7391
+ return C(function(O) {
7392
+ var J;
7393
+ return e(e({}, O), T.current && (J = {}, J[T.current] = le, J));
7394
7394
  });
7395
7395
  });
7396
- }, N && (O = (0, d.createOrJoinSocket)(h, T.current, X, P, w, D, H, k, G)), [
7396
+ }, N && (z = (0, d.createOrJoinSocket)(h, T.current, ae, A, P, D, H, k, G)), [
7397
7397
  2
7398
7398
  /*return*/
7399
7399
  ]);
@@ -7402,17 +7402,17 @@ function Fi() {
7402
7402
  });
7403
7403
  };
7404
7404
  return D.current = function() {
7405
- z || (A.current && (A.current = null), O?.(), E());
7405
+ B || (F.current && (F.current = null), z?.(), E());
7406
7406
  }, E(), function() {
7407
- z = !0, N = !1, A.current && (A.current = null), O?.(), _(null);
7407
+ B = !0, N = !1, F.current && (F.current = null), z?.(), _(null);
7408
7408
  };
7409
- } else (m === null || p === !1) && (H.current = 0, C(function(F) {
7410
- var w;
7411
- return e(e({}, F), T.current && (w = {}, w[T.current] = b.ReadyState.CLOSED, w));
7409
+ } else (m === null || p === !1) && (H.current = 0, C(function(w) {
7410
+ var P;
7411
+ return e(e({}, w), T.current && (P = {}, P[T.current] = b.ReadyState.CLOSED, P));
7412
7412
  }));
7413
7413
  }, [m, p, L, G]), (0, s.useEffect)(function() {
7414
- R === b.ReadyState.OPEN && S.current.splice(0).forEach(function(O) {
7415
- G(O);
7414
+ R === b.ReadyState.OPEN && S.current.splice(0).forEach(function(z) {
7415
+ G(z);
7416
7416
  });
7417
7417
  }, [R]), {
7418
7418
  sendMessage: G,
@@ -7423,7 +7423,7 @@ function Fi() {
7423
7423
  getWebSocket: W
7424
7424
  };
7425
7425
  };
7426
- return $e.useWebSocket = o, $e;
7426
+ return qe.useWebSocket = o, qe;
7427
7427
  }
7428
7428
  var Ga = {}, Vn;
7429
7429
  function ns() {
@@ -7548,7 +7548,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7548
7548
  isInGameBox: n = !1,
7549
7549
  currentGamePlatform: s = ""
7550
7550
  }) => {
7551
- const { store: u, lng: b } = re(), { isReady: d, setAsReady: l, isPending: i, setAsPending: r } = dr(), o = Ve(b), { mutateAsync: m } = xs();
7551
+ const { store: u, lng: b } = re(), { isReady: d, setAsReady: l, isPending: i, setAsPending: r } = dr(), o = Je(b), { mutateAsync: m } = xs();
7552
7552
  return !e || !t || !a ? { handleTransferInGame: () => {
7553
7553
  } } : { handleTransferInGame: async () => {
7554
7554
  n && await m({
@@ -7617,7 +7617,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7617
7617
  });
7618
7618
  }, gs = ({ options: e } = {}) => {
7619
7619
  const { withdrawMonthCardApi: t } = xr(), a = ya();
7620
- return ae({
7620
+ return ee({
7621
7621
  mutationKey: ["withdrawMonthCard"],
7622
7622
  mutationFn: t,
7623
7623
  onSuccess: (n, s, u) => {
@@ -7682,70 +7682,70 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7682
7682
  };
7683
7683
  }, ds = ({ options: e } = {}) => {
7684
7684
  const { userLoginApi: t } = oe();
7685
- return ae({
7685
+ return ee({
7686
7686
  mutationKey: ["userLogin"],
7687
7687
  mutationFn: async (a) => t(a),
7688
7688
  ...e
7689
7689
  });
7690
7690
  }, cs = ({ options: e } = {}) => {
7691
7691
  const { userLogoutApi: t } = oe();
7692
- return ae({
7692
+ return ee({
7693
7693
  mutationKey: ["userLogout"],
7694
7694
  mutationFn: async () => t(),
7695
7695
  ...e
7696
7696
  });
7697
7697
  }, fs = ({ options: e } = {}) => {
7698
7698
  const { userSignUpApi: t } = oe();
7699
- return ae({
7699
+ return ee({
7700
7700
  mutationKey: ["userSignUp"],
7701
7701
  mutationFn: async (a) => t(a),
7702
7702
  ...e
7703
7703
  });
7704
7704
  }, _s = ({ options: e } = {}) => {
7705
7705
  const { addOrRemoveFavoriteGameApi: t } = oe();
7706
- return ae({
7706
+ return ee({
7707
7707
  mutationKey: ["toggleFavoriteGame"],
7708
7708
  mutationFn: async (a) => t(a),
7709
7709
  ...e
7710
7710
  });
7711
7711
  }, ys = ({ options: e } = {}) => {
7712
7712
  const { updateUserInfoApi: t } = oe();
7713
- return ae({
7713
+ return ee({
7714
7714
  mutationKey: ["updateUserInfo"],
7715
7715
  mutationFn: async (a) => t(a),
7716
7716
  ...e
7717
7717
  });
7718
7718
  }, bs = ({ options: e } = {}) => {
7719
7719
  const { updateMemberInfoApi: t } = oe();
7720
- return ae({
7720
+ return ee({
7721
7721
  mutationKey: ["updateMemberInfo"],
7722
7722
  mutationFn: async (a) => t(a),
7723
7723
  ...e
7724
7724
  });
7725
7725
  }, Us = ({ options: e } = {}) => {
7726
7726
  const { resetUserPasswordApi: t } = oe();
7727
- return ae({
7727
+ return ee({
7728
7728
  mutationKey: ["resetUserPassword"],
7729
7729
  mutationFn: async (a) => t(a),
7730
7730
  ...e
7731
7731
  });
7732
7732
  }, Cs = ({ options: e } = {}) => {
7733
7733
  const { memberInitSetApi: t } = oe();
7734
- return ae({
7734
+ return ee({
7735
7735
  mutationKey: ["memberInitSet"],
7736
7736
  mutationFn: async (a) => t(a),
7737
7737
  ...e
7738
7738
  });
7739
7739
  }, vs = ({ options: e } = {}) => {
7740
7740
  const { setUserTransactionPasswordApi: t } = oe();
7741
- return ae({
7741
+ return ee({
7742
7742
  mutationKey: ["setUserTransactionPassword"],
7743
7743
  mutationFn: async (a) => t(a),
7744
7744
  ...e
7745
7745
  });
7746
7746
  }, hs = ({ options: e } = {}) => {
7747
7747
  const { resetUserTransactionPasswordApi: t } = oe();
7748
- return ae({
7748
+ return ee({
7749
7749
  mutationKey: ["resetUserTransactionPassword"],
7750
7750
  mutationFn: async (a) => t(a),
7751
7751
  ...e
@@ -7760,14 +7760,14 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7760
7760
  });
7761
7761
  }, ks = ({ options: e } = {}) => {
7762
7762
  const { userBindBankApi: t } = oe();
7763
- return ae({
7763
+ return ee({
7764
7764
  mutationKey: ["userBindBank"],
7765
7765
  mutationFn: async (a) => t({ formData: a }),
7766
7766
  ...e
7767
7767
  });
7768
7768
  }, xs = ({ options: e } = {}) => {
7769
7769
  const { transferInGameApi: t } = oe();
7770
- return ae({
7770
+ return ee({
7771
7771
  mutationKey: ["transferInGame"],
7772
7772
  mutationFn: async (a) => t(a),
7773
7773
  retry: !1,
@@ -7775,7 +7775,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7775
7775
  });
7776
7776
  }, Du = ({ options: e } = {}) => {
7777
7777
  const { currency: t } = re(), { pointTransferApi: a } = oe();
7778
- return ae({
7778
+ return ee({
7779
7779
  mutationKey: ["pointTransfer"],
7780
7780
  mutationFn: async (n) => a({
7781
7781
  ...n,
@@ -7798,7 +7798,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7798
7798
  });
7799
7799
  }, Lu = ({ options: e } = {}) => {
7800
7800
  const t = ya(), { abandonPointsApi: a } = oe();
7801
- return ae({
7801
+ return ee({
7802
7802
  mutationKey: ["abandonPoint"],
7803
7803
  mutationFn: async (n) => a({
7804
7804
  ...n
@@ -7810,21 +7810,21 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7810
7810
  });
7811
7811
  }, Sr = ({ options: e } = {}) => {
7812
7812
  const { lineLoginApi: t } = oe();
7813
- return ae({
7813
+ return ee({
7814
7814
  mutationKey: ["lineLogin"],
7815
7815
  mutationFn: async (a) => t(a),
7816
7816
  ...e
7817
7817
  });
7818
7818
  }, Ss = ({ options: e } = {}) => {
7819
7819
  const { lineLogin2Api: t } = oe();
7820
- return ae({
7820
+ return ee({
7821
7821
  mutationKey: ["lineLogin"],
7822
7822
  mutationFn: async (a) => t(a),
7823
7823
  ...e
7824
7824
  });
7825
7825
  }, Gu = ({ options: e } = {}) => {
7826
7826
  const { machineLoginApi: t } = oe();
7827
- return ae({
7827
+ return ee({
7828
7828
  mutationKey: ["machineLogin"],
7829
7829
  mutationFn: async (a) => t(a),
7830
7830
  ...e
@@ -7838,70 +7838,70 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7838
7838
  });
7839
7839
  }, Mu = ({ options: e } = {}) => {
7840
7840
  const { currency: t } = re(), { memberTransferApi: a } = oe();
7841
- return ae({
7841
+ return ee({
7842
7842
  mutationKey: ["memberTransfer"],
7843
7843
  mutationFn: async (n) => a({ ...n, currency: t }),
7844
7844
  ...e
7845
7845
  });
7846
7846
  }, Ru = ({ options: e } = {}) => {
7847
7847
  const { currency: t } = re(), { checkMemberTransferApi: a } = oe();
7848
- return ae({
7848
+ return ee({
7849
7849
  mutationKey: ["checkMemberTransfer"],
7850
7850
  mutationFn: async (n) => a({ ...n, currency: t }),
7851
7851
  ...e
7852
7852
  });
7853
7853
  }, Pu = ({ options: e } = {}) => {
7854
7854
  const { mobileLoginApi: t } = oe();
7855
- return ae({
7855
+ return ee({
7856
7856
  mutationKey: ["mobileLogin"],
7857
7857
  mutationFn: async (a) => t(a),
7858
7858
  ...e
7859
7859
  });
7860
7860
  }, wu = ({ options: e } = {}) => {
7861
7861
  const { mobileLoginApiV2: t } = oe();
7862
- return ae({
7862
+ return ee({
7863
7863
  mutationKey: ["mobileLoginV2"],
7864
7864
  mutationFn: async (a) => t(a),
7865
7865
  ...e
7866
7866
  });
7867
7867
  }, Fu = ({ options: e } = {}) => {
7868
7868
  const { mobileRegisterApi: t } = oe();
7869
- return ae({
7869
+ return ee({
7870
7870
  mutationKey: ["mobileRegister"],
7871
7871
  mutationFn: async (a) => t(a),
7872
7872
  ...e
7873
7873
  });
7874
7874
  }, Au = ({ options: e } = {}) => {
7875
7875
  const { mobilePasswordApi: t } = oe();
7876
- return ae({
7876
+ return ee({
7877
7877
  mutationKey: ["mobileByPassword"],
7878
7878
  mutationFn: async (a) => t(a),
7879
7879
  ...e
7880
7880
  });
7881
7881
  }, Ou = ({ options: e } = {}) => {
7882
7882
  const { forgotPasswordApi: t } = oe();
7883
- return ae({
7883
+ return ee({
7884
7884
  mutationKey: ["forgotPassword"],
7885
7885
  mutationFn: async (a) => t(a),
7886
7886
  ...e
7887
7887
  });
7888
7888
  }, Bu = ({ options: e } = {}) => {
7889
7889
  const { checkMobileApi: t } = oe();
7890
- return ae({
7890
+ return ee({
7891
7891
  mutationKey: ["checkMobile"],
7892
7892
  mutationFn: async (a) => t(a),
7893
7893
  ...e
7894
7894
  });
7895
7895
  }, Ds = ({ options: e } = {}) => {
7896
7896
  const { bindAccountApi: t } = oe();
7897
- return ae({
7897
+ return ee({
7898
7898
  mutationKey: ["bindAccount"],
7899
7899
  mutationFn: async (a) => t(a),
7900
7900
  ...e
7901
7901
  });
7902
7902
  }, Hu = ({ options: e } = {}) => {
7903
7903
  const { sendMobileVerifyCodeApi: t } = oe();
7904
- return ae({
7904
+ return ee({
7905
7905
  mutationKey: ["sendMobileVerifyCode"],
7906
7906
  mutationFn: async (a) => t(a),
7907
7907
  ...e
@@ -7922,14 +7922,14 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7922
7922
  });
7923
7923
  }, zu = ({ options: e } = {}) => {
7924
7924
  const { createMachineApi: t } = oe();
7925
- return ae({
7925
+ return ee({
7926
7926
  mutationKey: ["createMachine"],
7927
7927
  mutationFn: async (a) => t({ formData: a }),
7928
7928
  ...e
7929
7929
  });
7930
7930
  }, Vu = ({ options: e } = {}) => {
7931
7931
  const { verifyResetActionApi: t } = oe();
7932
- return ae({
7932
+ return ee({
7933
7933
  mutationKey: ["verifyResetAction"],
7934
7934
  mutationFn: async (a) => t(a),
7935
7935
  ...e
@@ -7972,7 +7972,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
7972
7972
  });
7973
7973
  }, qu = ({ options: e } = {}) => {
7974
7974
  const { updateUserAvatarApi: t } = oe();
7975
- return ae({
7975
+ return ee({
7976
7976
  mutationKey: ["updateAvatar"],
7977
7977
  mutationFn: async (a) => t(a),
7978
7978
  ...e
@@ -8041,7 +8041,9 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8041
8041
  REMOTE_ON: "remote_on"
8042
8042
  }, qn = (e) => {
8043
8043
  typeof window < "u" && window.chrome?.webview && window.chrome.webview.postMessage(JSON.stringify({ action: e }));
8044
- }, $n = (e, t) => Array.isArray(e) && !!t && e.some((a) => String(a).toLowerCase() === String(t).toLowerCase()), Ns = 3e4, Ls = ({
8044
+ }, $n = (e, t) => Array.isArray(e) && t != null && String(t) !== "" && e.some(
8045
+ (a) => String(a).toLowerCase() === String(t).toLowerCase()
8046
+ ), Ns = 3e4, Ls = ({
8045
8047
  maintainList: e,
8046
8048
  isInGameBox: t,
8047
8049
  currentGamePlatform: a
@@ -8070,40 +8072,40 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8070
8072
  disabledLineAutoRegister: b = !1,
8071
8073
  navigate: d = null
8072
8074
  }) => {
8073
- const { store: l, lng: i } = re(), r = ya(), { isReady: o, setAsReady: m, isPending: g, setAsPending: p } = dr(), f = Ve(i), y = se(!1), _ = se(t), c = j(n, "uid", null), U = j(n, "cagent_uid", null);
8075
+ const { store: l, lng: i } = re(), r = ya(), { isReady: o, setAsReady: m, isPending: g, setAsPending: p } = dr(), f = Je(i), y = se(!1), _ = se(t), c = j(n, "uid", null), U = j(n, "cagent_uid", null);
8074
8076
  j(n, "testFunction", 0);
8075
- const C = new URLSearchParams(window.location.search), v = j(
8077
+ const C = j(n, "machine_number", null), v = new URLSearchParams(window.location.search), T = j(
8076
8078
  s,
8077
8079
  "enableTransferInGaming",
8078
8080
  !1
8079
- ), { mutateAsync: T } = Sr({
8081
+ ), { mutateAsync: h } = Sr({
8080
8082
  options: {
8081
- onSuccess: (O) => {
8082
- _.current.onLineLogin?.(O);
8083
+ onSuccess: (B) => {
8084
+ _.current.onLineLogin?.(B);
8083
8085
  },
8084
8086
  retry: !1
8085
8087
  }
8086
- }), { mutateAsync: h } = Ss({
8088
+ }), { mutateAsync: D } = Ss({
8087
8089
  options: {
8088
- onSuccess: (O) => {
8089
- _.current.onLineLogin?.(O);
8090
+ onSuccess: (B) => {
8091
+ _.current.onLineLogin?.(B);
8090
8092
  },
8091
- onError: (O, z) => {
8092
- b || T(z);
8093
+ onError: (B, N) => {
8094
+ b || h(N);
8093
8095
  }
8094
8096
  }
8095
- }), { handleTransferInGame: D } = ms({
8096
- enable: v,
8097
+ }), { handleTransferInGame: H } = ms({
8098
+ enable: T,
8097
8099
  isTestFunction: !0,
8098
8100
  isTransferMode: j(s, "isTransferMode", !1),
8099
8101
  isInGameBox: j(s, "isInGameBox", !1),
8100
8102
  currentGamePlatform: j(s, "currentGamePlatform", "")
8101
8103
  }), {
8102
- sendMessage: H,
8104
+ sendMessage: k,
8103
8105
  // 發送普通訊息
8104
- sendJsonMessage: k,
8106
+ sendJsonMessage: S,
8105
8107
  // 發送 JSON 訊息
8106
- lastMessage: S,
8108
+ lastMessage: F,
8107
8109
  // 最後接收到的訊息
8108
8110
  // lastJsonMessage, // 最後接收到的 JSON 訊息
8109
8111
  readyState: A
@@ -8115,98 +8117,98 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8115
8117
  reconnectAttempts: 9999,
8116
8118
  reconnectInterval: 1e3,
8117
8119
  ...a
8118
- }), P = ka(() => {
8120
+ }), R = ka(() => {
8119
8121
  try {
8120
- return JSON.parse(S?.data);
8122
+ return JSON.parse(F?.data);
8121
8123
  } catch {
8122
8124
  return null;
8123
8125
  }
8124
- }, [S]);
8125
- ce(() => {
8126
- const O = setInterval(
8127
- () => H("ping"),
8126
+ }, [F]);
8127
+ fe(() => {
8128
+ const B = setInterval(
8129
+ () => k("ping"),
8128
8130
  Ns
8129
8131
  );
8130
- return () => clearInterval(O);
8131
- }, [H]);
8132
- const R = M(
8133
- (O, z) => {
8132
+ return () => clearInterval(B);
8133
+ }, [k]);
8134
+ const L = M(
8135
+ (B, N) => {
8134
8136
  u && l.dispatch({
8135
8137
  type: "ui/openNotificationModal",
8136
8138
  payload: {
8137
8139
  title: Ka[f] || "System Prompt",
8138
- content: O,
8140
+ content: B,
8139
8141
  type: "warning",
8140
- props: z
8142
+ props: N
8141
8143
  }
8142
8144
  });
8143
8145
  },
8144
8146
  [u, l, f]
8145
8147
  );
8146
- ce(() => {
8148
+ fe(() => {
8147
8149
  _.current = t;
8148
8150
  }, [t]);
8149
- const L = se(null), G = (O) => {
8151
+ const G = se(null), I = (B) => {
8150
8152
  const {
8151
- onDeposit: z,
8152
- onTransCode: N,
8153
- onError: E,
8154
- onUpdateMember: F,
8155
- onMaintainNotice: w,
8156
- onMaintainNoticeMember: X,
8157
- onTransferInGame: ie,
8158
- onCashRegisterLimit: le,
8159
- onLineLogin: B,
8160
- onMonthlyCardIssuePoint: V,
8161
- onEventClaimable: Z
8162
- } = _.current, Q = j(O, "type", ""), K = {
8163
- memberInfoUid: j(O, "member_info_uid", null),
8164
- data: j(O, "data", null),
8165
- memo: j(O, "memo", null),
8166
- amount: j(O, "amount", null),
8167
- limitAmount: j(O, "limit_amount", null)
8168
- }, ee = Number(K.memberInfoUid) === c, de = K.data, he = K.amount, be = K.limitAmount, Je = C.get("mac") || Ci.get("machine_mac_address") || "", Te = j(O, "data.line_id", null), Ge = j(O, "data.line_name", null), Xe = j(O, "member_info_uid", null);
8169
- switch (Q) {
8153
+ onDeposit: N,
8154
+ onTransCode: E,
8155
+ onError: w,
8156
+ onUpdateMember: P,
8157
+ onMaintainNotice: ae,
8158
+ onMaintainNoticeMember: te,
8159
+ onTransferInGame: le,
8160
+ onCashRegisterLimit: O,
8161
+ onLineLogin: J,
8162
+ onMonthlyCardIssuePoint: Z,
8163
+ onEventClaimable: Q
8164
+ } = _.current, X = j(B, "type", ""), q = {
8165
+ memberInfoUid: j(B, "member_info_uid", null),
8166
+ data: j(B, "data", null),
8167
+ memo: j(B, "memo", null),
8168
+ amount: j(B, "amount", null),
8169
+ limitAmount: j(B, "limit_amount", null)
8170
+ }, ue = Number(q.memberInfoUid) === c, Ce = q.data, be = q.amount, Ye = q.limitAmount, he = v.get("mac") || Ci.get("machine_mac_address") || "", Ge = j(B, "data.line_id", null), Xe = j(B, "data.line_name", null), Me = j(B, "member_info_uid", null);
8171
+ switch (X) {
8170
8172
  case ye.DEPOSIT:
8171
- ee && (D(), z?.(K));
8173
+ ue && (H(), N?.(q));
8172
8174
  break;
8173
8175
  case ye.TRANS_CODE:
8174
- N?.(K);
8176
+ E?.(q);
8175
8177
  break;
8176
8178
  case ye.ERROR:
8177
- if (ee) {
8178
- const fe = j(O, "open_game_modal", 0) === 1;
8179
- R(de, {
8180
- notificationType: fe ? "gamingNotice" : void 0
8181
- }), E?.(K);
8179
+ if (ue) {
8180
+ const de = j(B, "open_game_modal", 0) === 1;
8181
+ L(Ce, {
8182
+ notificationType: de ? "gamingNotice" : void 0
8183
+ }), w?.(q);
8182
8184
  }
8183
8185
  break;
8184
8186
  case ye.UPDATE_MEMBER:
8185
8187
  c && (r.invalidateQueries({
8186
8188
  queryKey: ["getMemberInfo"]
8187
- }), F?.(K));
8189
+ }), P?.(q));
8188
8190
  break;
8189
8191
  case ye.MAINTAIN_NOTICE:
8190
- R(de, {
8192
+ L(Ce, {
8191
8193
  notificationType: "maintainNotice"
8192
- }), w?.(K);
8194
+ }), ae?.(q);
8193
8195
  break;
8194
8196
  case ye.MAINTAIN_NOTICE_MEMBER: {
8195
- const fe = K.data?.cagent_uid ?? null;
8196
- if (fe != null) {
8197
- String(U) === String(fe) && (R(K.data?.msg, { rawMessage: !0 }), X?.(K), setTimeout(() => {
8197
+ const de = q.data?.cagent_uid ?? null;
8198
+ if (de != null) {
8199
+ String(U) === String(de) && (L(q.data?.msg, { rawMessage: !0 }), te?.(q), setTimeout(() => {
8198
8200
  d?.("/");
8199
8201
  }, 5e3));
8200
8202
  return;
8201
- } else if (ee) {
8202
- const Ue = l.getState()?.game?.currentGameData?.gameUid ?? null, Ee = K.data?.game_id;
8203
- if (Ee != null) {
8204
- Array.isArray(Ee) && Ee.some((Ie) => String(Ie) === String(Ue)) && (R(K.data?.msg, { rawMessage: !0 }), X?.(K), setTimeout(() => {
8203
+ } else if (ue) {
8204
+ const ke = l.getState()?.game?.currentGameData?.gameUid ?? null, He = q.data?.game_id;
8205
+ if (He != null) {
8206
+ Array.isArray(He) && He.some((ze) => String(ze) === String(ke)) && (L(q.data?.msg, { rawMessage: !0 }), te?.(q), setTimeout(() => {
8205
8207
  d?.("/");
8206
8208
  }, 5e3));
8207
8209
  return;
8208
8210
  }
8209
- R(de), X?.(K), setTimeout(() => {
8211
+ L(Ce), te?.(q), setTimeout(() => {
8210
8212
  window.location.reload();
8211
8213
  }, 5e4);
8212
8214
  }
@@ -8217,66 +8219,66 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8217
8219
  break;
8218
8220
  case ye.TRANSFER_IN_GAME:
8219
8221
  case ye.CHECK_REQUEST:
8220
- if (ee && v) {
8221
- const { request_id: fe, amount: Ue, platform: Ee, status: Ie } = j(K, "data", {}) || {}, Ke = localStorage.getItem(
8222
+ if (ue && T) {
8223
+ const { request_id: de, amount: ke, platform: He, status: ze } = j(q, "data", {}) || {}, xe = localStorage.getItem(
8222
8224
  "transfer_in_game_request_id"
8223
8225
  );
8224
- if (Ie === "pending") {
8225
- localStorage.setItem("transfer_in_game_request_id", fe);
8226
+ if (ze === "pending") {
8227
+ localStorage.setItem("transfer_in_game_request_id", de);
8226
8228
  return;
8227
- } else if (Ke && Ke === fe) {
8228
- if (Ie === "rollback") {
8229
- D();
8229
+ } else if (xe && xe === de) {
8230
+ if (ze === "rollback") {
8231
+ H();
8230
8232
  return;
8231
8233
  }
8232
8234
  localStorage.removeItem("transfer_in_game_request_id"), l.dispatch({
8233
8235
  type: "ui/showToast",
8234
8236
  payload: {
8235
8237
  title: Ka[f] || "System Prompt",
8236
- description: `您於${Ee}存入的${Ue}元已經處理完成了,請確認遊戲餘額`,
8238
+ description: `您於${He}存入的${ke}元已經處理完成了,請確認遊戲餘額`,
8237
8239
  status: "success"
8238
8240
  }
8239
8241
  }), m();
8240
8242
  }
8241
- ie?.(K);
8243
+ le?.(q);
8242
8244
  }
8243
8245
  break;
8244
8246
  case ye.CASH_REGISTER_LIMIT:
8245
- R(de, {
8247
+ L(Ce, {
8246
8248
  notificationType: "cashRegisterLimit",
8247
- amount: he,
8248
- limitAmount: be
8249
- }), le?.(K);
8249
+ amount: be,
8250
+ limitAmount: Ye
8251
+ }), O?.(q);
8250
8252
  break;
8251
8253
  case ye.UPDATE_ONLY_ONE_MEMBER:
8252
- ee && (r.invalidateQueries({
8254
+ ue && (r.invalidateQueries({
8253
8255
  queryKey: ["getMemberInfo"]
8254
- }), F?.(K));
8256
+ }), P?.(q));
8255
8257
  break;
8256
8258
  case ye.GAME_MAINTAIN: {
8257
- const fe = K.data, { show: Ue } = Ls({
8258
- maintainList: fe,
8259
+ const de = q.data, { show: ke } = Ls({
8260
+ maintainList: de,
8259
8261
  // 直接用當前路由判斷是否在 gamebox(不依賴 transferInGamingConfig,
8260
8262
  // 因為不是每隻遊戲都會帶入該設定)
8261
8263
  isInGameBox: window.location.pathname.includes("gamebox"),
8262
8264
  currentGamePlatform: l.getState()?.game?.currentGameData?.gamePlatform ?? null
8263
8265
  });
8264
- Ue && R(de, {
8266
+ ke && L(Ce, {
8265
8267
  notificationType: "gameMaintain"
8266
8268
  });
8267
8269
  break;
8268
8270
  }
8269
8271
  case ye.LINE_LOGIN:
8270
- Xe === Je && T({
8271
- line_id: Te,
8272
- line_name: Ge
8272
+ Me === he && h({
8273
+ line_id: Ge,
8274
+ line_name: Xe
8273
8275
  });
8274
8276
  break;
8275
8277
  case ye.UPDATE_EVENT_WALLET:
8276
- ee && (r.invalidateQueries({ queryKey: ["getEventWalletList"] }), r.invalidateQueries({ queryKey: ["evaluateEventWallet"] }));
8278
+ ue && (r.invalidateQueries({ queryKey: ["getEventWalletList"] }), r.invalidateQueries({ queryKey: ["evaluateEventWallet"] }));
8277
8279
  return;
8278
8280
  case ye.MONTHLY_CARD_ISSUE_POINT:
8279
- ee && (r.invalidateQueries({ queryKey: Ai }), V?.(K));
8281
+ ue && (r.invalidateQueries({ queryKey: Ai }), Z?.(q));
8280
8282
  return;
8281
8283
  /**
8282
8284
  * event_claimable:活動可領取推播
@@ -8286,50 +8288,50 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8286
8288
  * 註:與其他 event/member 推播一致,僅對「當前會員」生效(isForMember)。
8287
8289
  */
8288
8290
  case ye.EVENT_CLAIMABLE:
8289
- if (ee) {
8291
+ if (ue) {
8290
8292
  r.invalidateQueries({ queryKey: ["checkEventStatus"] });
8291
- const fe = K.data?.event_uid;
8292
- (Array.isArray(fe) ? fe.length > 0 : fe != null) && Z?.(K);
8293
+ const de = q.data?.event_uid;
8294
+ (Array.isArray(de) ? de.length > 0 : de != null) && Q?.(q);
8293
8295
  }
8294
8296
  return;
8295
8297
  /**
8296
8298
  * remote_off:遠端關鎖。
8297
- * 訊息格式:{ type:'remote_off', member_info_uid:["55:66:77:88:99:11"], data:null }
8298
- * 本機 MAC 在名單內 → 通知外殼 closethismic(打開黑屏)。
8299
+ * 訊息格式:{ type:'remote_off', member_info_uid:["機台編號",...], data:null }
8300
+ * 本機 machine_number 在名單內 → 通知外殼 closethismic(打開黑屏)。
8299
8301
  */
8300
8302
  case ye.REMOTE_OFF:
8301
- $n(K.memberInfoUid, Je) && qn("closethismic");
8303
+ $n(q.memberInfoUid, C) && qn("closethismic");
8302
8304
  return;
8303
8305
  /**
8304
8306
  * remote_on:遠端解鎖。
8305
- * 本機 MAC 在名單內 → 通知外殼 openthismic(關閉黑屏)。
8307
+ * 本機 machine_number 在名單內 → 通知外殼 openthismic(關閉黑屏)。
8306
8308
  */
8307
8309
  case ye.REMOTE_ON:
8308
- $n(K.memberInfoUid, Je) && qn("openthismic");
8310
+ $n(q.memberInfoUid, C) && qn("openthismic");
8309
8311
  return;
8310
8312
  default:
8311
- console.warn("Unknown socket type:", Q);
8313
+ console.warn("Unknown socket type:", X);
8312
8314
  break;
8313
8315
  }
8314
8316
  };
8315
- ce(() => {
8316
- !P || L.current === P || (L.current = P, G(P));
8317
- }, [P]), ce(() => () => y.current = !0, []), ce(() => {
8317
+ fe(() => {
8318
+ !R || G.current === R || (G.current = R, I(R));
8319
+ }, [R]), fe(() => () => y.current = !0, []), fe(() => {
8318
8320
  localStorage.getItem(
8319
8321
  "transfer_in_game_request_id"
8320
8322
  ) && p();
8321
- }, [p]), ce(() => {
8322
- if (v) {
8323
- const O = localStorage.getItem(
8323
+ }, [p]), fe(() => {
8324
+ if (T) {
8325
+ const B = localStorage.getItem(
8324
8326
  "transfer_in_game_request_id"
8325
8327
  );
8326
- O && c && g && k({
8328
+ B && c && g && S({
8327
8329
  type: ye.CHECK_REQUEST,
8328
- request_id: O,
8330
+ request_id: B,
8329
8331
  member_info_uid: c
8330
8332
  });
8331
8333
  }
8332
- }, [c, g, k, v]), ce(() => {
8334
+ }, [c, g, S, T]), fe(() => {
8333
8335
  g ? l.dispatch({
8334
8336
  type: "ui/showToast",
8335
8337
  payload: {
@@ -8346,17 +8348,17 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8346
8348
  }
8347
8349
  });
8348
8350
  }, [g, o, l, f]);
8349
- const I = se(null);
8350
- I.current = G;
8351
- const W = M((O) => {
8352
- I.current?.(O);
8351
+ const W = se(null);
8352
+ W.current = I;
8353
+ const z = M((B) => {
8354
+ W.current?.(B);
8353
8355
  }, []);
8354
8356
  return {
8355
- sendMessage: H,
8356
- sendJsonMessage: k,
8357
+ sendMessage: k,
8358
+ sendJsonMessage: S,
8357
8359
  readyState: A,
8358
8360
  // WebSocket 連線狀態
8359
- simulateSocketMessage: W
8361
+ simulateSocketMessage: z
8360
8362
  // 測試用:模擬收到某型別的 WS 訊息
8361
8363
  };
8362
8364
  }, Gs = () => {
@@ -8441,14 +8443,14 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8441
8443
  memberEventSettleApi: b
8442
8444
  };
8443
8445
  }, Rs = ({ paramsData: e, options: t } = {}) => {
8444
- const { store: a, lng: n, data2URL: s } = re(), { eventListApi: u } = $a(), b = a?.getState()?.isWalletCurrency || a?.getState()?.currency?.currentCurrency || "TWD", d = Ve(n);
8446
+ const { store: a, lng: n, data2URL: s } = re(), { eventListApi: u } = $a(), b = a?.getState()?.isWalletCurrency || a?.getState()?.currency?.currentCurrency || "TWD", d = Je(n);
8445
8447
  return Y({
8446
8448
  queryKey: ["eventList", e],
8447
8449
  queryFn: () => u({ paramsData: e }),
8448
8450
  select: (l) => {
8449
8451
  try {
8450
8452
  const { data: i } = l;
8451
- return Se(i, (o) => {
8453
+ return Ee(i, (o) => {
8452
8454
  const { events_attributes: m } = o, g = Be(
8453
8455
  m,
8454
8456
  (v) => v.attribute_currency === b
@@ -8462,8 +8464,8 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8462
8464
  ...y,
8463
8465
  carouselCurrentLanguagePCImageUrl: `${s}/carousels/${y?.image_pc}`,
8464
8466
  carouselCurrentLanguageMBImageUrl: `${s}/carousels/${y?.image_mobile}`,
8465
- carouselCurrentLanguageS3PCImageUrl: `${Ye}/carousels/${y?.image_pc}`,
8466
- carouselCurrentLanguageS3MBImageUrl: `${Ye}/carousels/${y?.image_mobile}`
8467
+ carouselCurrentLanguageS3PCImageUrl: `${Qe}/carousels/${y?.image_pc}`,
8468
+ carouselCurrentLanguageS3MBImageUrl: `${Qe}/carousels/${y?.image_mobile}`
8467
8469
  }
8468
8470
  }, c = {
8469
8471
  eventUid: o.uid,
@@ -8527,7 +8529,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8527
8529
  rewardType: g?.reward_type,
8528
8530
  //獎勵類型
8529
8531
  rewardDetail: g?.rewards || {},
8530
- originEventAttribute: Se(m, (v) => ({
8532
+ originEventAttribute: Ee(m, (v) => ({
8531
8533
  isActive: v.attribute_is_active === 1,
8532
8534
  currencyCode: v.attribute_currency,
8533
8535
  value: v.attribute_value,
@@ -8580,7 +8582,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8580
8582
  });
8581
8583
  }, Yu = ({ options: e } = {}) => {
8582
8584
  const { redeemEventRewardApi: t } = $a();
8583
- return ae({
8585
+ return ee({
8584
8586
  mutationKey: ["redeemEventReward"],
8585
8587
  mutationFn: async (a) => t(a),
8586
8588
  ...e
@@ -8602,14 +8604,14 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8602
8604
  });
8603
8605
  }, Xu = ({ options: e } = {}) => {
8604
8606
  const { settleEventApi: t } = $a();
8605
- return ae({
8607
+ return ee({
8606
8608
  mutationKey: ["settleEvent"],
8607
8609
  mutationFn: async (a) => t(a),
8608
8610
  ...e
8609
8611
  });
8610
8612
  }, e0 = ({ options: e } = {}) => {
8611
8613
  const { memberEventSettleApi: t } = $a();
8612
- return ae({
8614
+ return ee({
8613
8615
  mutationKey: ["memberEventSettle"],
8614
8616
  mutationFn: async (a) => t(a),
8615
8617
  ...e
@@ -8707,7 +8709,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8707
8709
  });
8708
8710
  }, i0 = () => {
8709
8711
  const e = ya(), { enabledEventWalletApi: t } = pt();
8710
- return ae({
8712
+ return ee({
8711
8713
  mutationKey: ["enabledEventWallet"],
8712
8714
  mutationFn: async ({ eventUids: a }) => await t({ eventUids: a }),
8713
8715
  onSuccess: () => {
@@ -8732,7 +8734,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8732
8734
  });
8733
8735
  }, r0 = () => {
8734
8736
  const e = ya(), { settleEventWalletApi: t } = pt();
8735
- return ae({
8737
+ return ee({
8736
8738
  mutationKey: ["settleEventWallet"],
8737
8739
  mutationFn: async ({ groupUid: a }) => await t({ groupUid: a }),
8738
8740
  onSuccess: () => {
@@ -8741,7 +8743,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8741
8743
  });
8742
8744
  }, l0 = () => {
8743
8745
  const e = ya(), { abandonEventWalletApi: t } = pt();
8744
- return ae({
8746
+ return ee({
8745
8747
  mutationKey: ["abandonEventWallet"],
8746
8748
  mutationFn: async ({ groupUid: a }) => await t({ groupUid: a }),
8747
8749
  onSuccess: () => {
@@ -8749,13 +8751,13 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8749
8751
  }
8750
8752
  });
8751
8753
  }, o0 = ({ options: e } = {}) => {
8752
- const { lng: t } = re(), { announcementApi: a } = wa(), n = Ve(t);
8754
+ const { lng: t } = re(), { announcementApi: a } = wa(), n = Je(t);
8753
8755
  return Y({
8754
8756
  queryKey: ["getAnnouncement"],
8755
8757
  queryFn: async () => await a(),
8756
8758
  select: (s) => {
8757
8759
  const u = ta(s) ? s : s?.data ?? [];
8758
- return Se(u, (b) => {
8760
+ return Ee(u, (b) => {
8759
8761
  const d = Be(b?.news_language, { language: n }) || Be(b?.news_language, { language: "en_US" }) || b?.news_language?.[0];
8760
8762
  return {
8761
8763
  ...b,
@@ -8766,7 +8768,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8766
8768
  ...e
8767
8769
  });
8768
8770
  }, s0 = ({ skipPreload: e = !1 } = {}) => {
8769
- const { lng: t, data2URL: a } = re(), { commonCarouselApi: n } = wa(), s = Ve(t);
8771
+ const { lng: t, data2URL: a } = re(), { commonCarouselApi: n } = wa(), s = Je(t);
8770
8772
  return Y({
8771
8773
  queryKey: ["getCarouselList", e],
8772
8774
  queryFn: async () => {
@@ -8780,21 +8782,21 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8780
8782
  carouselCurrentLanguageData: i,
8781
8783
  carouselCurrentLanguagePCImageUrl: `${a}/carousels/${i?.image_pc}`,
8782
8784
  carouselCurrentLanguageMBImageUrl: `${a}/carousels/${i?.image_mobile}`,
8783
- carouselCurrentLanguageS3PCImageUrl: `${Ye}/carousels/${i?.image_pc}`,
8784
- carouselCurrentLanguageS3MBImageUrl: `${Ye}/carousels/${i?.image_mobile}`,
8785
+ carouselCurrentLanguageS3PCImageUrl: `${Qe}/carousels/${i?.image_pc}`,
8786
+ carouselCurrentLanguageS3MBImageUrl: `${Qe}/carousels/${i?.image_mobile}`,
8785
8787
  carouselCurrentLanguageLink: i?.url_link,
8786
8788
  currentLngCarousel: {
8787
8789
  ...i,
8788
8790
  carouselCurrentLanguagePCImageUrl: `${a}/carousels/${i?.image_pc}`,
8789
8791
  carouselCurrentLanguageMBImageUrl: `${a}/carousels/${i?.image_mobile}`,
8790
- carouselCurrentLanguageS3PCImageUrl: `${Ye}/carousels/${i?.image_pc}`,
8791
- carouselCurrentLanguageS3MBImageUrl: `${Ye}/carousels/${i?.image_mobile}`
8792
+ carouselCurrentLanguageS3PCImageUrl: `${Qe}/carousels/${i?.image_pc}`,
8793
+ carouselCurrentLanguageS3MBImageUrl: `${Qe}/carousels/${i?.image_mobile}`
8792
8794
  }
8793
8795
  };
8794
8796
  })
8795
8797
  });
8796
8798
  }, m0 = () => {
8797
- const { lng: e, getToken: t } = re(), a = t?.(), { commonMarqueeApi: n } = wa(), s = Ve(e);
8799
+ const { lng: e, getToken: t } = re(), a = t?.(), { commonMarqueeApi: n } = wa(), s = Je(e);
8798
8800
  return Y({
8799
8801
  queryKey: ["getMarqueeList", a],
8800
8802
  queryFn: async () => {
@@ -8802,7 +8804,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8802
8804
  return u && !a ? u : await n();
8803
8805
  },
8804
8806
  select: (u) => {
8805
- const b = ta(u) ? u : u.Marquees, d = ta(u) ? u : u.MarqueesInsideGameBox, l = Se(b, (r) => r[s] || r?.en_US), i = Se(d, (r) => r[s] || r?.en_US);
8807
+ const b = ta(u) ? u : u.Marquees, d = ta(u) ? u : u.MarqueesInsideGameBox, l = Ee(b, (r) => r[s] || r?.en_US), i = Ee(d, (r) => r[s] || r?.en_US);
8806
8808
  return {
8807
8809
  marquee: l,
8808
8810
  gameMarquee: i
@@ -8817,7 +8819,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
8817
8819
  enabled: window.profit_ranking_status === 1,
8818
8820
  select: (a) => {
8819
8821
  const { data: n } = a;
8820
- return Se(n, (u) => {
8822
+ return Ee(n, (u) => {
8821
8823
  const {
8822
8824
  game_uid: b,
8823
8825
  game_code: d,
@@ -9152,159 +9154,159 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
9152
9154
  }, onAction: o = () => {
9153
9155
  }, onMessage: m = () => {
9154
9156
  }, debounce: g = 0, throttle: p = 0, eventsThrottle: f = 200, startOnMount: y = !0, startManually: _ = !1, stopOnIdle: c = !1, crossTab: U = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: T = !1, disabled: h = !1 } = {}) {
9155
- let D = se(Ne()), H = se(Ne()), k = se(null), S = se(null), A = se(0), P = se(0), R = se(0), L = se(0), G = se(!1), I = se(!1), W = se(!1), O = se(!0), z = se(!1), N = se(null), E = se(null), F = se(e), w = se(0);
9156
- ce(() => {
9157
+ let D = se(Ne()), H = se(Ne()), k = se(null), S = se(null), F = se(0), A = se(0), R = se(0), L = se(0), G = se(!1), I = se(!1), W = se(!1), z = se(!0), B = se(!1), N = se(null), E = se(null), w = se(e), P = se(0);
9158
+ fe(() => {
9157
9159
  if (t && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), a && t) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
9158
9160
  if (e >= Va) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${Va}.`);
9159
9161
  if (t >= Va) throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${Va}.`);
9160
9162
  if (a >= Va) throw new Error(`❌ The value for the promptBeforeIdle property must fit in a 32 bit signed integer, ${Va}.`);
9161
9163
  if (a >= e) throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);
9162
- if (a ? (F.current = e - a, w.current = a) : (F.current = e, w.current = t), !O.current) {
9164
+ if (a ? (w.current = e - a, P.current = a) : (w.current = e, P.current = t), !z.current) {
9163
9165
  if (_ || h) return;
9164
- G.current && (ee.current(null, Re), E.current && E.current.active()), ia();
9166
+ G.current && (q.current(null, Re), E.current && E.current.active()), ia();
9165
9167
  }
9166
9168
  }, [e, t, a, _, h]);
9167
- let X = se(c);
9168
- ce(() => {
9169
- X.current = c;
9169
+ let ae = se(c);
9170
+ fe(() => {
9171
+ ae.current = c;
9170
9172
  }, [c]);
9171
- let ie = se(b), le = se(n), B = se([...(/* @__PURE__ */ new Set([...s, ...b])).values()]), V = se(h);
9172
- ce(() => {
9173
- V.current = h, !O.current && (h ? qe() : _ || ia());
9173
+ let te = se(b), le = se(n), O = se([...(/* @__PURE__ */ new Set([...s, ...b])).values()]), J = se(h);
9174
+ fe(() => {
9175
+ J.current = h, !z.current && (h ? Ke() : _ || ia());
9174
9176
  }, [h]);
9175
9177
  let Z = se(d);
9176
- ce(() => {
9178
+ fe(() => {
9177
9179
  Z.current = d;
9178
9180
  }, [d]);
9179
9181
  let Q = se(l);
9180
- ce(() => {
9182
+ fe(() => {
9181
9183
  Q.current = l;
9182
9184
  }, [l]);
9183
- let K = se(i);
9184
- ce(() => {
9185
- K.current = i;
9185
+ let X = se(i);
9186
+ fe(() => {
9187
+ X.current = i;
9186
9188
  }, [i]);
9187
- let ee = se(r);
9188
- ce(() => {
9189
- ee.current = r;
9189
+ let q = se(r);
9190
+ fe(() => {
9191
+ q.current = r;
9190
9192
  }, [r]);
9191
- let de = se(o);
9192
- ce(() => {
9193
- de.current = o;
9193
+ let ue = se(o);
9194
+ fe(() => {
9195
+ ue.current = o;
9194
9196
  }, [o]);
9195
- let he = se(m);
9196
- ce(() => {
9197
- he.current = m;
9197
+ let Ce = se(m);
9198
+ fe(() => {
9199
+ Ce.current = m;
9198
9200
  }, [m]);
9199
9201
  let be = ka(() => {
9200
- let q = (Pe, la) => de.current(Pe, la);
9201
- return g > 0 ? Xs(q, g) : p > 0 ? yi(q, p) : q;
9202
- }, [p, g]), Je = se();
9203
- ce(() => {
9204
- U && v && (Je.current = yi(() => {
9202
+ let K = (Pe, la) => ue.current(Pe, la);
9203
+ return g > 0 ? Xs(K, g) : p > 0 ? yi(K, p) : K;
9204
+ }, [p, g]), Ye = se();
9205
+ fe(() => {
9206
+ U && v && (Ye.current = yi(() => {
9205
9207
  E.current.active();
9206
9208
  }, v));
9207
9209
  }, [U, v]);
9208
- let Te = () => {
9210
+ let he = () => {
9209
9211
  N.current !== null && (ra.clearTimeout(N.current), N.current = null);
9210
- }, Ge = (q, Pe = !0) => {
9211
- Te(), N.current = ra.setTimeout(Ee, q || F.current), Pe && (S.current = Ne());
9212
- }, Xe = (q) => {
9213
- !I.current && !G.current && (Q.current(q, Re), Z.current({ type: "active", prompted: !0 }, Re)), L.current = 0, R.current = Ne(), I.current = !0, Ge(w.current, !1);
9214
- }, fe = () => {
9215
- Te(), G.current || (K.current(null, Re), Z.current({ type: "idle" }, Re)), G.current = !0, k.current = Ne(), X.current ? He() : I.current && (R.current = 0, I.current = !1);
9216
- }, Ue = (q) => {
9217
- Te(), (G.current || I.current) && (ee.current(q, Re), Z.current({ type: "active", prompted: !1 }, Re)), I.current = !1, R.current = 0, G.current = !1, A.current += Ne() - k.current, P.current += Ne() - k.current, Me(), Ge();
9218
- }, Ee = (q) => {
9212
+ }, Ge = (K, Pe = !0) => {
9213
+ he(), N.current = ra.setTimeout(ke, K || w.current), Pe && (S.current = Ne());
9214
+ }, Xe = (K) => {
9215
+ !I.current && !G.current && (Q.current(K, Re), Z.current({ type: "active", prompted: !0 }, Re)), L.current = 0, R.current = Ne(), I.current = !0, Ge(P.current, !1);
9216
+ }, Me = () => {
9217
+ he(), G.current || (X.current(null, Re), Z.current({ type: "idle" }, Re)), G.current = !0, k.current = Ne(), ae.current ? We() : I.current && (R.current = 0, I.current = !1);
9218
+ }, de = (K) => {
9219
+ he(), (G.current || I.current) && (q.current(K, Re), Z.current({ type: "active", prompted: !1 }, Re)), I.current = !1, R.current = 0, G.current = !1, F.current += Ne() - k.current, A.current += Ne() - k.current, xe(), Ge();
9220
+ }, ke = (K) => {
9219
9221
  if (!G.current) {
9220
9222
  be.cancel && be.cancel();
9221
9223
  let Pe = Ne() - S.current;
9222
- if (!(F.current + w.current < Pe) && w.current > 0 && !I.current) {
9223
- E.current ? E.current.prompt() : Xe(q);
9224
+ if (!(w.current + P.current < Pe) && P.current > 0 && !I.current) {
9225
+ E.current ? E.current.prompt() : Xe(K);
9224
9226
  return;
9225
9227
  }
9226
- E.current ? E.current.idle() : fe();
9228
+ E.current ? E.current.idle() : Me();
9227
9229
  return;
9228
9230
  }
9229
- E.current ? E.current.active() : Ue(q);
9230
- }, Ie = (q) => {
9231
- if (!y && !S.current && (S.current = Ne(), ee.current(null, Re)), be(q, Re), I.current) return;
9232
- if (Te(), !G.current && ie.current.includes(q.type)) {
9233
- Ee(q);
9231
+ E.current ? E.current.active() : de(K);
9232
+ }, He = (K) => {
9233
+ if (!y && !S.current && (S.current = Ne(), q.current(null, Re)), be(K, Re), I.current) return;
9234
+ if (he(), !G.current && te.current.includes(K.type)) {
9235
+ ke(K);
9234
9236
  return;
9235
9237
  }
9236
9238
  let Pe = Ne() - S.current;
9237
- if (G.current && !c || !G.current && Pe >= F.current) {
9238
- Ee(q);
9239
+ if (G.current && !c || !G.current && Pe >= w.current) {
9240
+ ke(K);
9239
9241
  return;
9240
9242
  }
9241
- W.current = !1, L.current = 0, R.current = 0, Ge(), U && v && Je.current();
9242
- }, Ke = se(Ie);
9243
- ce(() => {
9244
- let q = z.current;
9245
- q && He(), f > 0 ? Ke.current = yi(Ie, f) : Ke.current = Ie, q && Me();
9246
- }, [f, p, g, de, U, v]);
9247
- let Me = () => {
9248
- _a && le.current && (z.current || (B.current.forEach((q) => {
9249
- le.current.addEventListener(q, Ke.current, { capture: !0, passive: !0 });
9250
- }), z.current = !0));
9251
- }, He = (q = !1) => {
9252
- _a && le.current && (z.current || q) && (B.current.forEach((Pe) => {
9253
- le.current.removeEventListener(Pe, Ke.current, { capture: !0 });
9254
- }), z.current = !1);
9255
- }, ia = M((q) => V.current ? !1 : (Te(), Me(), G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, E.current && !q && E.current.start(), Ge(), !0), [N, G, V, F, E]), ua = M((q) => V.current ? !1 : (Te(), Me(), H.current = Ne(), A.current += Ne() - k.current, P.current += Ne() - k.current, A.current = 0, G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, E.current && !q && E.current.reset(), _ || Ge(), !0), [N, G, F, _, V, E]), ba = M((q) => V.current ? !1 : (Te(), Me(), (G.current || I.current) && Ue(), G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, H.current = Ne(), E.current && !q && E.current.activate(), Ge(), !0), [N, G, I, V, F, E]), qe = M((q = !1) => V.current || W.current ? !1 : (L.current = Sa(), W.current = !0, He(), Te(), E.current && !q && E.current.pause(), !0), [N, V, E]), na = M((q = !1) => V.current || !W.current ? !1 : (W.current = !1, I.current || Me(), G.current || Ge(L.current), R.current && (R.current = Ne()), E.current && !q && E.current.resume(), !0), [N, F, V, L, E]), Ya = M((q, Pe) => (E.current ? (Pe && he.current(q, Re), E.current.message(q)) : Pe && he.current(q, Re), !0), [m]), Fa = M(() => G.current, [G]), Aa = M(() => I.current, [I]), Xa = M(() => E.current ? E.current.isLeader : null, [E]), et = M(() => E.current ? E.current.isLastActive : null, [E]), Ua = M(() => E.current ? E.current.token : null, [E]), Sa = M(() => {
9243
+ W.current = !1, L.current = 0, R.current = 0, Ge(), U && v && Ye.current();
9244
+ }, ze = se(He);
9245
+ fe(() => {
9246
+ let K = B.current;
9247
+ K && We(), f > 0 ? ze.current = yi(He, f) : ze.current = He, K && xe();
9248
+ }, [f, p, g, ue, U, v]);
9249
+ let xe = () => {
9250
+ _a && le.current && (B.current || (O.current.forEach((K) => {
9251
+ le.current.addEventListener(K, ze.current, { capture: !0, passive: !0 });
9252
+ }), B.current = !0));
9253
+ }, We = (K = !1) => {
9254
+ _a && le.current && (B.current || K) && (O.current.forEach((Pe) => {
9255
+ le.current.removeEventListener(Pe, ze.current, { capture: !0 });
9256
+ }), B.current = !1);
9257
+ }, ia = M((K) => J.current ? !1 : (he(), xe(), G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, E.current && !K && E.current.start(), Ge(), !0), [N, G, J, w, E]), ua = M((K) => J.current ? !1 : (he(), xe(), H.current = Ne(), F.current += Ne() - k.current, A.current += Ne() - k.current, F.current = 0, G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, E.current && !K && E.current.reset(), _ || Ge(), !0), [N, G, w, _, J, E]), ba = M((K) => J.current ? !1 : (he(), xe(), (G.current || I.current) && de(), G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, H.current = Ne(), E.current && !K && E.current.activate(), Ge(), !0), [N, G, I, J, w, E]), Ke = M((K = !1) => J.current || W.current ? !1 : (L.current = Sa(), W.current = !0, We(), he(), E.current && !K && E.current.pause(), !0), [N, J, E]), na = M((K = !1) => J.current || !W.current ? !1 : (W.current = !1, I.current || xe(), G.current || Ge(L.current), R.current && (R.current = Ne()), E.current && !K && E.current.resume(), !0), [N, w, J, L, E]), Ya = M((K, Pe) => (E.current ? (Pe && Ce.current(K, Re), E.current.message(K)) : Pe && Ce.current(K, Re), !0), [m]), Fa = M(() => G.current, [G]), Aa = M(() => I.current, [I]), Xa = M(() => E.current ? E.current.isLeader : null, [E]), et = M(() => E.current ? E.current.isLastActive : null, [E]), Ua = M(() => E.current ? E.current.token : null, [E]), Sa = M(() => {
9256
9258
  if (W.current) return L.current;
9257
- let q = L.current ? L.current : w.current + F.current, Pe = S.current ? Ne() - S.current : 0, la = Math.floor(q - Pe);
9259
+ let K = L.current ? L.current : P.current + w.current, Pe = S.current ? Ne() - S.current : 0, la = Math.floor(K - Pe);
9258
9260
  return la < 0 ? 0 : Math.abs(la);
9259
- }, [F, w, I, L, S]), ea = M(() => Math.round(Ne() - H.current), [H]), Ca = M(() => Math.round(Ne() - D.current), [D]), va = M(() => k.current ? new Date(k.current) : null, [k]), Oa = M(() => S.current ? new Date(S.current) : null, [S]), Ba = M(() => G.current ? Math.round(Ne() - k.current + A.current) : Math.round(A.current), [k, A]), Ea = M(() => G.current ? Math.round(Ne() - k.current + P.current) : Math.round(P.current), [k, P]), Ha = M(() => {
9260
- let q = Math.round(ea() - Ba());
9261
- return q >= 0 ? q : 0;
9262
- }, [k, A]), Wa = M(() => {
9263
- let q = Math.round(Ca() - Ea());
9264
- return q >= 0 ? q : 0;
9265
- }, [k, A]);
9266
- ce(() => {
9261
+ }, [w, P, I, L, S]), ea = M(() => Math.round(Ne() - H.current), [H]), Ca = M(() => Math.round(Ne() - D.current), [D]), va = M(() => k.current ? new Date(k.current) : null, [k]), Oa = M(() => S.current ? new Date(S.current) : null, [S]), Ba = M(() => G.current ? Math.round(Ne() - k.current + F.current) : Math.round(F.current), [k, F]), Ea = M(() => G.current ? Math.round(Ne() - k.current + A.current) : Math.round(A.current), [k, A]), Ha = M(() => {
9262
+ let K = Math.round(ea() - Ba());
9263
+ return K >= 0 ? K : 0;
9264
+ }, [k, F]), Wa = M(() => {
9265
+ let K = Math.round(Ca() - Ea());
9266
+ return K >= 0 ? K : 0;
9267
+ }, [k, F]);
9268
+ fe(() => {
9267
9269
  if (g > 0 && p > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
9268
9270
  u && Js(u);
9269
- let q = () => {
9270
- E.current && E.current.close(), be.cancel && be.cancel(), Te(), He(!0);
9271
+ let K = () => {
9272
+ E.current && E.current.close(), be.cancel && be.cancel(), he(), We(!0);
9271
9273
  };
9272
- return _a && window.addEventListener("beforeunload", q), () => {
9273
- _a && window.removeEventListener("beforeunload", q), E.current && E.current.close(), be.cancel && be.cancel(), Te(), He(!0);
9274
+ return _a && window.addEventListener("beforeunload", K), () => {
9275
+ _a && window.removeEventListener("beforeunload", K), E.current && E.current.close(), be.cancel && be.cancel(), he(), We(!0);
9274
9276
  };
9275
- }, []), ce(() => {
9277
+ }, []), fe(() => {
9276
9278
  E.current && E.current.close(), U ? E.current = new js({ channelName: C, leaderElection: T, onPrompt: () => {
9277
9279
  Xe();
9278
9280
  }, onIdle: () => {
9279
- fe();
9281
+ Me();
9280
9282
  }, onActive: () => {
9281
- Ue();
9282
- }, onMessage: (q) => {
9283
- he.current(q, Re);
9284
- }, start: ia, reset: ua, activate: ba, pause: qe, resume: na }) : E.current = null;
9285
- }, [U, C, T, Q, K, ee, he, ia, ua, qe, na]), ce(() => {
9286
- O.current || (Te(), He(!0)), !(_ || h) && (y ? ia() : Me());
9287
- }, [_, y, h, O]), ce(() => {
9288
- if (!O.current) {
9289
- let q = [...(/* @__PURE__ */ new Set([...s, ...b])).values()];
9290
- if (He(), B.current = q, le.current = n, ie.current = b, _ || h) return;
9291
- y ? ia() : Me();
9283
+ de();
9284
+ }, onMessage: (K) => {
9285
+ Ce.current(K, Re);
9286
+ }, start: ia, reset: ua, activate: ba, pause: Ke, resume: na }) : E.current = null;
9287
+ }, [U, C, T, Q, X, q, Ce, ia, ua, Ke, na]), fe(() => {
9288
+ z.current || (he(), We(!0)), !(_ || h) && (y ? ia() : xe());
9289
+ }, [_, y, h, z]), fe(() => {
9290
+ if (!z.current) {
9291
+ let K = [...(/* @__PURE__ */ new Set([...s, ...b])).values()];
9292
+ if (We(), O.current = K, le.current = n, te.current = b, _ || h) return;
9293
+ y ? ia() : xe();
9292
9294
  }
9293
- }, [n, JSON.stringify(s), JSON.stringify(b), O, h, _, y]), ce(() => {
9294
- O.current && (O.current = !1);
9295
- }, [O]);
9296
- let Re = { message: Ya, start: ia, reset: ua, activate: ba, pause: qe, resume: na, isIdle: Fa, isPrompted: Aa, isLeader: Xa, isLastActiveTab: et, getTabId: Ua, getRemainingTime: Sa, getElapsedTime: ea, getTotalElapsedTime: Ca, getLastIdleTime: va, getLastActiveTime: Oa, getIdleTime: Ba, getTotalIdleTime: Ea, getActiveTime: Ha, getTotalActiveTime: Wa, setOnPresenceChange: (q) => {
9297
- d = q, Z.current = q;
9298
- }, setOnPrompt: (q) => {
9299
- l = q, Q.current = q;
9300
- }, setOnIdle: (q) => {
9301
- i = q, K.current = q;
9302
- }, setOnActive: (q) => {
9303
- r = q, ee.current = q;
9304
- }, setOnAction: (q) => {
9305
- o = q, de.current = q;
9306
- }, setOnMessage: (q) => {
9307
- m = q, he.current = q;
9295
+ }, [n, JSON.stringify(s), JSON.stringify(b), z, h, _, y]), fe(() => {
9296
+ z.current && (z.current = !1);
9297
+ }, [z]);
9298
+ let Re = { message: Ya, start: ia, reset: ua, activate: ba, pause: Ke, resume: na, isIdle: Fa, isPrompted: Aa, isLeader: Xa, isLastActiveTab: et, getTabId: Ua, getRemainingTime: Sa, getElapsedTime: ea, getTotalElapsedTime: Ca, getLastIdleTime: va, getLastActiveTime: Oa, getIdleTime: Ba, getTotalIdleTime: Ea, getActiveTime: Ha, getTotalActiveTime: Wa, setOnPresenceChange: (K) => {
9299
+ d = K, Z.current = K;
9300
+ }, setOnPrompt: (K) => {
9301
+ l = K, Q.current = K;
9302
+ }, setOnIdle: (K) => {
9303
+ i = K, X.current = K;
9304
+ }, setOnActive: (K) => {
9305
+ r = K, q.current = K;
9306
+ }, setOnAction: (K) => {
9307
+ o = K, ue.current = K;
9308
+ }, setOnMessage: (K) => {
9309
+ m = K, Ce.current = K;
9308
9310
  } };
9309
9311
  return Re;
9310
9312
  }
@@ -9317,13 +9319,13 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9317
9319
  timeout: n,
9318
9320
  throttle: 500
9319
9321
  }), tm = ({ options: e } = {}) => {
9320
- const { commonInboxApi: t } = wa(), { getToken: a, lng: n } = re(), s = a?.(), u = Ve(n);
9322
+ const { commonInboxApi: t } = wa(), { getToken: a, lng: n } = re(), s = a?.(), u = Je(n);
9321
9323
  return Y({
9322
9324
  queryKey: ["inboxList"],
9323
9325
  queryFn: async () => await t(),
9324
9326
  select: (b) => {
9325
9327
  const { data: d } = b;
9326
- return Se(d, (i) => {
9328
+ return Ee(d, (i) => {
9327
9329
  const { internal_notifications_language: r } = i;
9328
9330
  return {
9329
9331
  ...i,
@@ -9339,7 +9341,7 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9339
9341
  });
9340
9342
  }, im = ({ options: e } = {}) => {
9341
9343
  const { commonReadInboxApi: t } = wa();
9342
- return ae({
9344
+ return ee({
9343
9345
  mutationKey: ["readInbox"],
9344
9346
  mutationFn: async (a) => await t(a),
9345
9347
  ...e
@@ -9412,7 +9414,7 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9412
9414
  ...e.other
9413
9415
  }
9414
9416
  ], d0 = ({ options: e, formData: t } = {}) => {
9415
- const { lng: a } = re(), { newsListApi: n } = Nr(), s = Ve(a);
9417
+ const { lng: a } = re(), { newsListApi: n } = Nr(), s = Je(a);
9416
9418
  return Y({
9417
9419
  queryKey: ["newsList"],
9418
9420
  queryFn: () => {
@@ -9420,7 +9422,7 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9420
9422
  return n({ uid: u, params: b });
9421
9423
  },
9422
9424
  select: (u) => {
9423
- const { data: b } = u, d = b.data?.filter((i) => i.is_active === 1), l = Se(d, (i) => {
9425
+ const { data: b } = u, d = b.data?.filter((i) => i.is_active === 1), l = Ee(d, (i) => {
9424
9426
  const r = Be(i.news_language, {
9425
9427
  language: s
9426
9428
  }) || i.news_language[0];
@@ -9438,7 +9440,7 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9438
9440
  ...e
9439
9441
  });
9440
9442
  }, c0 = ({ options: e, formData: t } = {}) => {
9441
- const { lng: a } = re(), { newsListApi: n } = Nr(), s = Ve(a);
9443
+ const { lng: a } = re(), { newsListApi: n } = Nr(), s = Je(a);
9442
9444
  return Y({
9443
9445
  queryKey: ["newsList"],
9444
9446
  queryFn: () => {
@@ -9694,16 +9696,16 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9694
9696
  queryKey: ["depositV2", e],
9695
9697
  queryFn: () => a({ paramsData: e }),
9696
9698
  select: (n) => {
9697
- const { third_party: s, bank: u, vip: b } = n, d = Se(s, (l) => ({
9699
+ const { third_party: s, bank: u, vip: b } = n, d = Ee(s, (l) => ({
9698
9700
  ...l,
9699
- providerList: Se(l.providers, (i) => ({
9701
+ providerList: Ee(l.providers, (i) => ({
9700
9702
  ...i,
9701
9703
  providerUid: i.uid,
9702
- providerImageUrl: `${Ye}/paymentIcon/${Ii(i.provider_name)}.png`,
9704
+ providerImageUrl: `${Qe}/paymentIcon/${Ii(i.provider_name)}.png`,
9703
9705
  providerMax: i.max,
9704
9706
  providerMin: i.min
9705
9707
  })),
9706
- methodImageUrl: `${Ye}/paymentIcon/${Ii(l.method_name)}pay.png`
9708
+ methodImageUrl: `${Qe}/paymentIcon/${Ii(l.method_name)}pay.png`
9707
9709
  }));
9708
9710
  return {
9709
9711
  bank: u,
@@ -9715,14 +9717,14 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9715
9717
  });
9716
9718
  }, om = ({ options: e } = {}) => {
9717
9719
  const { depositApi: t } = Le();
9718
- return ae({
9720
+ return ee({
9719
9721
  mutationKey: ["depositAction"],
9720
9722
  mutationFn: async (a) => t(a),
9721
9723
  ...e
9722
9724
  });
9723
9725
  }, sm = ({ options: e } = {}) => {
9724
9726
  const { withdrawApi: t } = Le();
9725
- return ae({
9727
+ return ee({
9726
9728
  mutationKey: ["withdrawAction"],
9727
9729
  mutationFn: async (a) => t(a),
9728
9730
  ...e
@@ -9743,14 +9745,14 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9743
9745
  });
9744
9746
  }, pm = ({ options: e } = {}) => {
9745
9747
  const { bankDepositApi: t } = Le();
9746
- return ae({
9748
+ return ee({
9747
9749
  mutationKey: ["bankDeposit"],
9748
9750
  mutationFn: async (a) => t(a),
9749
9751
  ...e
9750
9752
  });
9751
9753
  }, gm = ({ options: e } = {}) => {
9752
9754
  const { companyPaymentDepositApi: t } = Le();
9753
- return ae({
9755
+ return ee({
9754
9756
  mutationKey: ["companyPaymentDeposit"],
9755
9757
  mutationFn: async (a) => t(a),
9756
9758
  ...e
@@ -9764,21 +9766,21 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
9764
9766
  });
9765
9767
  }, f0 = ({ options: e } = {}) => {
9766
9768
  const { redeemCodeDepositApi: t } = Le();
9767
- return ae({
9769
+ return ee({
9768
9770
  mutationKey: ["redeemCodeDeposit"],
9769
9771
  mutationFn: async (a) => t(a),
9770
9772
  ...e
9771
9773
  });
9772
9774
  }, _0 = ({ options: e } = {}) => {
9773
9775
  const { invoiceApi: t } = Le();
9774
- return ae({
9776
+ return ee({
9775
9777
  mutationKey: ["invoiceAction"],
9776
9778
  mutationFn: async (a) => t(a),
9777
9779
  ...e
9778
9780
  });
9779
9781
  }, y0 = ({ options: e } = {}) => {
9780
9782
  const { updateInvoiceApi: t } = Le();
9781
- return ae({
9783
+ return ee({
9782
9784
  mutationKey: ["updateInvoiceAction"],
9783
9785
  mutationFn: async (a) => t(a),
9784
9786
  ...e
@@ -10009,7 +10011,7 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
10009
10011
  });
10010
10012
  }, Sm = ({ options: e } = {}) => {
10011
10013
  const { receiveRebateApi: t } = zr();
10012
- return ae({
10014
+ return ee({
10013
10015
  mutationKey: ["receiveRebate"],
10014
10016
  mutationFn: async () => t(),
10015
10017
  ...e
@@ -10054,7 +10056,7 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
10054
10056
  },
10055
10057
  select: (n) => {
10056
10058
  try {
10057
- const s = Se(j(n, "data.data", []), (u) => {
10059
+ const s = Ee(j(n, "data.data", []), (u) => {
10058
10060
  const {
10059
10061
  wagering_restricted_amount: b,
10060
10062
  claimed_amount: d
@@ -10093,7 +10095,7 @@ const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
10093
10095
  });
10094
10096
  }, Dm = ({ options: e } = {}) => {
10095
10097
  const { redeemRewardApi: t } = gt();
10096
- return ae({
10098
+ return ee({
10097
10099
  mutationKey: ["redeemReward"],
10098
10100
  mutationFn: async (a) => await t(a),
10099
10101
  ...e
@@ -10311,11 +10313,11 @@ const Vr = [], Rm = () => [
10311
10313
  roulettesDrawLogApi: n
10312
10314
  };
10313
10315
  }, N0 = ({ options: e } = {}) => {
10314
- const { lng: t } = re(), a = Ve(t || "tw"), { roulettesListApi: n } = Wi();
10316
+ const { lng: t } = re(), a = Je(t || "tw"), { roulettesListApi: n } = Wi();
10315
10317
  return Y({
10316
10318
  queryKey: ["roulettesList"],
10317
10319
  queryFn: () => n(),
10318
- select: (s) => ({ list: Se(j(s, "list", []), (b) => {
10320
+ select: (s) => ({ list: Ee(j(s, "list", []), (b) => {
10319
10321
  const d = Be(
10320
10322
  j(b, "roulettes_copywriting", []),
10321
10323
  { language: a }
@@ -10329,7 +10331,7 @@ const Vr = [], Rm = () => [
10329
10331
  });
10330
10332
  }, L0 = ({ options: e } = {}) => {
10331
10333
  const { redeemRoulettesApi: t } = Wi();
10332
- return ae({
10334
+ return ee({
10333
10335
  mutationKey: ["redeemRoulettes"],
10334
10336
  mutationFn: async (a) => t(a),
10335
10337
  ...e
@@ -10524,7 +10526,7 @@ const Vr = [], Rm = () => [
10524
10526
  });
10525
10527
  }, H0 = ({ options: e } = {}) => {
10526
10528
  const { createStoreOrderApi: t } = ma(), a = ya(), { onSuccess: n, ...s } = e || {};
10527
- return ae({
10529
+ return ee({
10528
10530
  mutationKey: ["market", "createStoreOrder"],
10529
10531
  mutationFn: async (u) => t(u),
10530
10532
  onSuccess: (u, b, d) => {
@@ -10536,7 +10538,7 @@ const Vr = [], Rm = () => [
10536
10538
  });
10537
10539
  }, W0 = ({ options: e } = {}) => {
10538
10540
  const { updateStoreOrderApi: t } = ma(), a = ya(), { onSuccess: n, ...s } = e || {};
10539
- return ae({
10541
+ return ee({
10540
10542
  mutationKey: ["market", "updateStoreOrder"],
10541
10543
  mutationFn: async (u) => t(u),
10542
10544
  onSuccess: (u, b, d) => {
@@ -10582,7 +10584,7 @@ const Vr = [], Rm = () => [
10582
10584
  redeemTreasureApi: a
10583
10585
  };
10584
10586
  }, I0 = ({ paramsData: e, options: t } = {}) => {
10585
- const { client: a, lng: n } = re(), s = Ve(n || "tw"), { treasureListApi: u } = Jr();
10587
+ const { client: a, lng: n } = re(), s = Je(n || "tw"), { treasureListApi: u } = Jr();
10586
10588
  return Y({
10587
10589
  queryKey: ["treasureList", e],
10588
10590
  queryFn: () => u(e),
@@ -10594,7 +10596,7 @@ const Vr = [], Rm = () => [
10594
10596
  last_page: j(d, "last_page", 1)
10595
10597
  };
10596
10598
  return {
10597
- list: Se(j(d, "data", []), (r) => {
10599
+ list: Ee(j(d, "data", []), (r) => {
10598
10600
  const o = Be(r.treasure_copywriting, {
10599
10601
  language: s
10600
10602
  });
@@ -10611,7 +10613,7 @@ const Vr = [], Rm = () => [
10611
10613
  });
10612
10614
  }, z0 = ({ options: e } = {}) => {
10613
10615
  const { redeemTreasureApi: t } = Jr();
10614
- return ae({
10616
+ return ee({
10615
10617
  mutationKey: ["redeemTreasure"],
10616
10618
  mutationFn: async (a) => t(a),
10617
10619
  ...e
@@ -10628,7 +10630,7 @@ const Vr = [], Rm = () => [
10628
10630
  queryKey: ["vipInfo"],
10629
10631
  queryFn: async () => n(),
10630
10632
  select: (s) => {
10631
- const { data: u } = s, b = j(u, "data", []), d = Se(b, (i) => ({
10633
+ const { data: u } = s, b = j(u, "data", []), d = Ee(b, (i) => ({
10632
10634
  currentWager: i.wagering || i.value,
10633
10635
  currentStatus: i.status,
10634
10636
  currentOverflow: i.promotion_overflow,
@@ -10641,7 +10643,7 @@ const Vr = [], Rm = () => [
10641
10643
  currentType: u.type,
10642
10644
  currentOverflow: u.promotion_overflow,
10643
10645
  nextLevel: u.promotion_level,
10644
- typeList: Se(d, (i) => i.type),
10646
+ typeList: Ee(d, (i) => i.type),
10645
10647
  currentWagerKeyBy: l
10646
10648
  };
10647
10649
  },
@@ -10657,14 +10659,14 @@ const Vr = [], Rm = () => [
10657
10659
  },
10658
10660
  select: (s) => {
10659
10661
  const u = ta(s) ? s : s.data;
10660
- return Se(u, (d) => {
10662
+ return Ee(u, (d) => {
10661
10663
  const {
10662
10664
  vip_criteria: l,
10663
10665
  vip_payment_tags: i,
10664
10666
  vip_withdrawal_rate: r,
10665
10667
  rebate_range: o,
10666
10668
  vip_game_rebate: m
10667
- } = d, g = Be(l, { currency_code: a }) || {}, p = Be(i, { currency_code: a }) || {}, f = r, y = Se(o, (U) => ({
10669
+ } = d, g = Be(l, { currency_code: a }) || {}, p = Be(i, { currency_code: a }) || {}, f = r, y = Ee(o, (U) => ({
10668
10670
  ...U,
10669
10671
  rebateRange: JSON.parse(U.rebate_range)
10670
10672
  })), _ = j(m, "[0]", {}), c = {
@@ -10673,7 +10675,7 @@ const Vr = [], Rm = () => [
10673
10675
  };
10674
10676
  return {
10675
10677
  ...d,
10676
- vipImageUrl: `${Ye}/vip/vip${d.level}_l.avif`,
10678
+ vipImageUrl: `${Qe}/vip/vip${d.level}_l.avif`,
10677
10679
  vipRule: g,
10678
10680
  vipWithdraw: p,
10679
10681
  vipWithdrawFeeRate: f,
@@ -10689,13 +10691,13 @@ const Vr = [], Rm = () => [
10689
10691
  }) => ({
10690
10692
  vipList: Bm({ options: e.vipList })
10691
10693
  }), Z0 = ({ onMessage: e } = {}) => {
10692
- const [t, a] = Qe(!1), [n, s] = Qe([]), u = se(e);
10694
+ const [t, a] = je(!1), [n, s] = je([]), u = se(e);
10693
10695
  u.current = e;
10694
10696
  const b = M((_) => {
10695
10697
  const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("zh-TW");
10696
10698
  s((U) => [...U, { time: c, message: _ }]);
10697
10699
  }, []);
10698
- ce(() => {
10700
+ fe(() => {
10699
10701
  if (window.chrome && window.chrome.webview) {
10700
10702
  a(!0), b("WebView2 環境已就緒");
10701
10703
  const _ = (c) => {
@@ -10815,7 +10817,7 @@ const Vr = [], Rm = () => [
10815
10817
  // 越南名稱
10816
10818
  gameNameTw: h
10817
10819
  // 繁體中文名稱
10818
- } = e, D = e?.[`gameName${a}`], H = `${st}/${bt}/${t}/${i}/${ot(n, / /g, "_")}.webp`, k = `${st}/${bt}/${t}/${i}/${ot(n, / /g, "_")}.gif`, S = `${st}/${bt}/en/${i}/${ot(n, / /g, "_")}.webp`, A = `${st}/${bt}/en/${i}/${ot(n, / /g, "_")}.gif`, P = M(
10820
+ } = e, D = e?.[`gameName${a}`], H = `${st}/${bt}/${t}/${i}/${ot(n, / /g, "_")}.webp`, k = `${st}/${bt}/${t}/${i}/${ot(n, / /g, "_")}.gif`, S = `${st}/${bt}/en/${i}/${ot(n, / /g, "_")}.webp`, F = `${st}/${bt}/en/${i}/${ot(n, / /g, "_")}.gif`, A = M(
10819
10821
  ({ long: R = !1, preferAnimated: L = !1 } = {}) => Dl({
10820
10822
  lng: t,
10821
10823
  gamePlatform: i,
@@ -10848,8 +10850,8 @@ const Vr = [], Rm = () => [
10848
10850
  gameImageUrl: H,
10849
10851
  gameImageUrlAnimated: k,
10850
10852
  fallbackGameImageUrl: S,
10851
- fallbackGameImageUrlAnimated: A,
10852
- gameImageSources: P,
10853
+ fallbackGameImageUrlAnimated: F,
10854
+ gameImageSources: A,
10853
10855
  popularityRanking: y,
10854
10856
  isInvalidBet: _,
10855
10857
  haveJackpot: c
@@ -10887,7 +10889,7 @@ const Vr = [], Rm = () => [
10887
10889
  // 臨時維護開始時間
10888
10890
  temp_maintenance_end_time: o
10889
10891
  // 臨時維護結束時間
10890
- } = e || {}, m = `${Ye}/${_r}/${Hm(n, t)}.png`;
10892
+ } = e || {}, m = `${Qe}/${_r}/${Hm(n, t)}.png`;
10891
10893
  return {
10892
10894
  subPlatformEnum: a,
10893
10895
  platformEnum: n,
@@ -10901,7 +10903,7 @@ const Vr = [], Rm = () => [
10901
10903
  tempMaintenanceEndTime: o,
10902
10904
  platformImageUrl: m
10903
10905
  };
10904
- }, Wm = (e = {}) => !ri(e) || Fe(e) ? [] : li(e), ar = (e = []) => !ta(e) || Fe(e) ? [] : Se(e, "platform"), Im = (e = []) => !ta(e) || Fe(e) ? [] : Se(e, "gameTypeName"), zm = (e = []) => !ta(e) || Fe(e) ? [] : Se(e, "game_subtype"), Vm = (e = {}) => !ri(e) || Fe(e) ? [] : li(e), Jm = (e = [], t = []) => !ta(e) || Fe(e) ? {} : !ta(t) || Fe(t) ? {} : e.reduce((a, n) => {
10906
+ }, Wm = (e = {}) => !ri(e) || Fe(e) ? [] : li(e), ar = (e = []) => !ta(e) || Fe(e) ? [] : Ee(e, "platform"), Im = (e = []) => !ta(e) || Fe(e) ? [] : Ee(e, "gameTypeName"), zm = (e = []) => !ta(e) || Fe(e) ? [] : Ee(e, "game_subtype"), Vm = (e = {}) => !ri(e) || Fe(e) ? [] : li(e), Jm = (e = [], t = []) => !ta(e) || Fe(e) ? {} : !ta(t) || Fe(t) ? {} : e.reduce((a, n) => {
10905
10907
  const s = t.map((u) => u.game_subtype);
10906
10908
  return s.forEach((u) => {
10907
10909
  a[u] = a[u] || [];
@@ -10971,8 +10973,8 @@ const Vr = [], Rm = () => [
10971
10973
  gameList: e,
10972
10974
  allGameTypes: a,
10973
10975
  allPlatforms: t
10974
- }), c = Se(t, (D) => {
10975
- const H = `${Ye}/${_r}/${D.platformEnum}.png`;
10976
+ }), c = Ee(t, (D) => {
10977
+ const H = `${Qe}/${_r}/${D.platformEnum}.png`;
10976
10978
  return {
10977
10979
  ...D,
10978
10980
  platformImageUrl: H
@@ -37615,11 +37617,11 @@ const Vr = [], Rm = () => [
37615
37617
  autoFetch: t = !1,
37616
37618
  mockData: a = !1
37617
37619
  }) => {
37618
- ce(() => {
37620
+ fe(() => {
37619
37621
  a && Ym(!0);
37620
37622
  }, [a]);
37621
37623
  const n = Qm({ enabled: t });
37622
- return /* @__PURE__ */ te.jsx(yr.Provider, { value: n, children: e });
37624
+ return /* @__PURE__ */ ie.jsx(yr.Provider, { value: n, children: e });
37623
37625
  };
37624
37626
  function Q0({
37625
37627
  children: e,
@@ -37629,7 +37631,7 @@ function Q0({
37629
37631
  standaloneViewportFix: s = !0,
37630
37632
  ...u
37631
37633
  }) {
37632
- ce(() => {
37634
+ fe(() => {
37633
37635
  if (s)
37634
37636
  return Sl();
37635
37637
  }, [s]);
@@ -37647,7 +37649,7 @@ function Q0({
37647
37649
  }),
37648
37650
  []
37649
37651
  ), i = n || l;
37650
- return /* @__PURE__ */ te.jsx(ul, { client: i, children: /* @__PURE__ */ te.jsx(pr.Provider, { value: { client: b, formDataClient: d, ...u }, children: /* @__PURE__ */ te.jsx(vl, { children: /* @__PURE__ */ te.jsx(
37652
+ return /* @__PURE__ */ ie.jsx(ul, { client: i, children: /* @__PURE__ */ ie.jsx(pr.Provider, { value: { client: b, formDataClient: d, ...u }, children: /* @__PURE__ */ ie.jsx(vl, { children: /* @__PURE__ */ ie.jsx(
37651
37653
  Xm,
37652
37654
  {
37653
37655
  autoFetch: t,
@@ -37672,7 +37674,7 @@ const Y0 = () => {
37672
37674
  }
37673
37675
  }
37674
37676
  }), b = se(!1);
37675
- return ce(() => {
37677
+ return fe(() => {
37676
37678
  if (b.current) return;
37677
37679
  const d = new URLSearchParams(window.location.search), l = d.get("bind_type"), i = d.get("bind_id");
37678
37680
  l && i && (b.current = !0, l === "line" ? t({ bindType: l, bindId: i }) : console.warn(`Unsupported bind type: ${l}`));
@@ -37684,7 +37686,7 @@ const Y0 = () => {
37684
37686
  enabled: n = au,
37685
37687
  backendMessages: s = null
37686
37688
  }) => {
37687
- const [u, b] = Qe(!1), [d, l] = Qe(!1), [i, r] = Qe(""), [o, m] = Qe(""), [g, p] = Qe("toast"), { store: f } = re() || {}, y = ka(
37689
+ const [u, b] = je(!1), [d, l] = je(!1), [i, r] = je(""), [o, m] = je(""), [g, p] = je("toast"), { store: f } = re() || {}, y = ka(
37688
37690
  () => s ? Object.keys(s) : [],
37689
37691
  [s]
37690
37692
  ), _ = ka(() => {
@@ -37718,7 +37720,7 @@ const Y0 = () => {
37718
37720
  });
37719
37721
  }, U = t ?? null, C = (h, D) => {
37720
37722
  console.log("[ws-dev]", h, D), e(D);
37721
- }, v = (h, D, H = "#444") => /* @__PURE__ */ te.jsx(
37723
+ }, v = (h, D, H = "#444") => /* @__PURE__ */ ie.jsx(
37722
37724
  "button",
37723
37725
  {
37724
37726
  type: "button",
@@ -37740,7 +37742,7 @@ const Y0 = () => {
37740
37742
  children: h
37741
37743
  }
37742
37744
  ), T = typeof window < "u" && window.location.pathname.includes("gamebox");
37743
- return /* @__PURE__ */ te.jsxs(
37745
+ return /* @__PURE__ */ ie.jsxs(
37744
37746
  "div",
37745
37747
  {
37746
37748
  style: {
@@ -37750,7 +37752,7 @@ const Y0 = () => {
37750
37752
  zIndex: 9999999
37751
37753
  },
37752
37754
  children: [
37753
- /* @__PURE__ */ te.jsx(
37755
+ /* @__PURE__ */ ie.jsx(
37754
37756
  "button",
37755
37757
  {
37756
37758
  type: "button",
@@ -37768,7 +37770,7 @@ const Y0 = () => {
37768
37770
  children: u ? "▼ WS 測試面板" : "▶ WS 測試面板"
37769
37771
  }
37770
37772
  ),
37771
- u && /* @__PURE__ */ te.jsxs(
37773
+ u && /* @__PURE__ */ ie.jsxs(
37772
37774
  "div",
37773
37775
  {
37774
37776
  style: {
@@ -37782,7 +37784,7 @@ const Y0 = () => {
37782
37784
  borderRadius: "8px"
37783
37785
  },
37784
37786
  children: [
37785
- /* @__PURE__ */ te.jsxs("div", { style: { fontSize: "10px", color: "#aaa", marginBottom: "6px" }, children: [
37787
+ /* @__PURE__ */ ie.jsxs("div", { style: { fontSize: "10px", color: "#aaa", marginBottom: "6px" }, children: [
37786
37788
  "uid:",
37787
37789
  String(U ?? "無"),
37788
37790
  " / platform:",
@@ -37860,7 +37862,7 @@ const Y0 = () => {
37860
37862
  },
37861
37863
  "#c62828"
37862
37864
  ),
37863
- y.length > 0 && /* @__PURE__ */ te.jsxs(
37865
+ y.length > 0 && /* @__PURE__ */ ie.jsxs(
37864
37866
  "div",
37865
37867
  {
37866
37868
  style: {
@@ -37869,7 +37871,7 @@ const Y0 = () => {
37869
37871
  borderTop: "1px solid rgba(211,181,82,0.3)"
37870
37872
  },
37871
37873
  children: [
37872
- /* @__PURE__ */ te.jsxs(
37874
+ /* @__PURE__ */ ie.jsxs(
37873
37875
  "button",
37874
37876
  {
37875
37877
  type: "button",
@@ -37895,11 +37897,11 @@ const Y0 = () => {
37895
37897
  ]
37896
37898
  }
37897
37899
  ),
37898
- d && /* @__PURE__ */ te.jsxs("div", { style: { marginTop: "6px" }, children: [
37899
- /* @__PURE__ */ te.jsx("div", { style: { display: "flex", gap: "4px", marginBottom: "5px" }, children: [
37900
+ d && /* @__PURE__ */ ie.jsxs("div", { style: { marginTop: "6px" }, children: [
37901
+ /* @__PURE__ */ ie.jsx("div", { style: { display: "flex", gap: "4px", marginBottom: "5px" }, children: [
37900
37902
  ["toast", "Toast(攔截器)"],
37901
37903
  ["socket", "Socket(彈窗)"]
37902
- ].map(([h, D]) => /* @__PURE__ */ te.jsx(
37904
+ ].map(([h, D]) => /* @__PURE__ */ ie.jsx(
37903
37905
  "button",
37904
37906
  {
37905
37907
  type: "button",
@@ -37919,7 +37921,7 @@ const Y0 = () => {
37919
37921
  },
37920
37922
  h
37921
37923
  )) }),
37922
- g === "socket" && U === null && /* @__PURE__ */ te.jsx(
37924
+ g === "socket" && U === null && /* @__PURE__ */ ie.jsx(
37923
37925
  "div",
37924
37926
  {
37925
37927
  style: {
@@ -37931,8 +37933,8 @@ const Y0 = () => {
37931
37933
  children: "⚠ 未登入(uid 為空):socket 推播會因 isForMember 不成立而被 忽略,點了不會有反應。請先登入,或改用 Toast 測。"
37932
37934
  }
37933
37935
  ),
37934
- /* @__PURE__ */ te.jsxs("div", { style: { display: "flex", gap: "4px", marginBottom: "5px" }, children: [
37935
- /* @__PURE__ */ te.jsx(
37936
+ /* @__PURE__ */ ie.jsxs("div", { style: { display: "flex", gap: "4px", marginBottom: "5px" }, children: [
37937
+ /* @__PURE__ */ ie.jsx(
37936
37938
  "input",
37937
37939
  {
37938
37940
  value: o,
@@ -37950,7 +37952,7 @@ const Y0 = () => {
37950
37952
  }
37951
37953
  }
37952
37954
  ),
37953
- /* @__PURE__ */ te.jsx(
37955
+ /* @__PURE__ */ ie.jsx(
37954
37956
  "button",
37955
37957
  {
37956
37958
  type: "button",
@@ -37969,7 +37971,7 @@ const Y0 = () => {
37969
37971
  }
37970
37972
  )
37971
37973
  ] }),
37972
- /* @__PURE__ */ te.jsx(
37974
+ /* @__PURE__ */ ie.jsx(
37973
37975
  "input",
37974
37976
  {
37975
37977
  value: i,
@@ -37988,9 +37990,9 @@ const Y0 = () => {
37988
37990
  }
37989
37991
  }
37990
37992
  ),
37991
- /* @__PURE__ */ te.jsxs("div", { style: { maxHeight: "32vh", overflowY: "auto" }, children: [
37992
- _.length === 0 && /* @__PURE__ */ te.jsx("div", { style: { fontSize: "10px", color: "#777", padding: "4px" }, children: "沒有符合的訊息" }),
37993
- _.map((h) => /* @__PURE__ */ te.jsxs(
37993
+ /* @__PURE__ */ ie.jsxs("div", { style: { maxHeight: "32vh", overflowY: "auto" }, children: [
37994
+ _.length === 0 && /* @__PURE__ */ ie.jsx("div", { style: { fontSize: "10px", color: "#777", padding: "4px" }, children: "沒有符合的訊息" }),
37995
+ _.map((h) => /* @__PURE__ */ ie.jsxs(
37994
37996
  "button",
37995
37997
  {
37996
37998
  type: "button",
@@ -38011,9 +38013,9 @@ const Y0 = () => {
38011
38013
  lineHeight: 1.35
38012
38014
  },
38013
38015
  children: [
38014
- /* @__PURE__ */ te.jsx("span", { style: { color: "#d3b552" }, children: s[h] }),
38015
- /* @__PURE__ */ te.jsx("br", {}),
38016
- /* @__PURE__ */ te.jsx("span", { style: { opacity: 0.5, wordBreak: "break-all" }, children: h })
38016
+ /* @__PURE__ */ ie.jsx("span", { style: { color: "#d3b552" }, children: s[h] }),
38017
+ /* @__PURE__ */ ie.jsx("br", {}),
38018
+ /* @__PURE__ */ ie.jsx("span", { style: { opacity: 0.5, wordBreak: "break-all" }, children: h })
38017
38019
  ]
38018
38020
  },
38019
38021
  h
@@ -38023,7 +38025,7 @@ const Y0 = () => {
38023
38025
  ]
38024
38026
  }
38025
38027
  ),
38026
- /* @__PURE__ */ te.jsx("div", { style: { fontSize: "9px", color: "#666", marginTop: "4px" }, children: "僅測試環境顯示;正式站請勿傳 enabled" })
38028
+ /* @__PURE__ */ ie.jsx("div", { style: { fontSize: "9px", color: "#666", marginTop: "4px" }, children: "僅測試環境顯示;正式站請勿傳 enabled" })
38027
38029
  ]
38028
38030
  }
38029
38031
  )
@@ -38040,7 +38042,7 @@ const Y0 = () => {
38040
38042
  retry: !1
38041
38043
  }
38042
38044
  });
38043
- ce(() => {
38045
+ fe(() => {
38044
38046
  n.current || b === "true" && l && i && (o({
38045
38047
  trans_code: d,
38046
38048
  line_id: l,
@@ -38059,7 +38061,7 @@ const Y0 = () => {
38059
38061
  const g = () => {
38060
38062
  window.location.href = `https://liff.line.me/${s}`;
38061
38063
  };
38062
- return s ? /* @__PURE__ */ te.jsx(
38064
+ return s ? /* @__PURE__ */ ie.jsx(
38063
38065
  "button",
38064
38066
  {
38065
38067
  className: "line-login-btn",
@@ -38486,7 +38488,7 @@ var Ma;
38486
38488
  if (!d)
38487
38489
  throw new Error("Assertion error");
38488
38490
  }
38489
- const u = class ke {
38491
+ const u = class Te {
38490
38492
  /*-- Constructor (low level) and fields --*/
38491
38493
  // Creates a new QR Code segment with the given attributes and data.
38492
38494
  // The character count (numChars) must agree with the mode and the bit buffer length,
@@ -38504,36 +38506,36 @@ var Ma;
38504
38506
  let i = [];
38505
38507
  for (const r of l)
38506
38508
  a(r, 8, i);
38507
- return new ke(ke.Mode.BYTE, l.length, i);
38509
+ return new Te(Te.Mode.BYTE, l.length, i);
38508
38510
  }
38509
38511
  // Returns a segment representing the given string of decimal digits encoded in numeric mode.
38510
38512
  static makeNumeric(l) {
38511
- if (!ke.isNumeric(l))
38513
+ if (!Te.isNumeric(l))
38512
38514
  throw new RangeError("String contains non-numeric characters");
38513
38515
  let i = [];
38514
38516
  for (let r = 0; r < l.length; ) {
38515
38517
  const o = Math.min(l.length - r, 3);
38516
38518
  a(parseInt(l.substring(r, r + o), 10), o * 3 + 1, i), r += o;
38517
38519
  }
38518
- return new ke(ke.Mode.NUMERIC, l.length, i);
38520
+ return new Te(Te.Mode.NUMERIC, l.length, i);
38519
38521
  }
38520
38522
  // Returns a segment representing the given text string encoded in alphanumeric mode.
38521
38523
  // The characters allowed are: 0 to 9, A to Z (uppercase only), space,
38522
38524
  // dollar, percent, asterisk, plus, hyphen, period, slash, colon.
38523
38525
  static makeAlphanumeric(l) {
38524
- if (!ke.isAlphanumeric(l))
38526
+ if (!Te.isAlphanumeric(l))
38525
38527
  throw new RangeError("String contains unencodable characters in alphanumeric mode");
38526
38528
  let i = [], r;
38527
38529
  for (r = 0; r + 2 <= l.length; r += 2) {
38528
- let o = ke.ALPHANUMERIC_CHARSET.indexOf(l.charAt(r)) * 45;
38529
- o += ke.ALPHANUMERIC_CHARSET.indexOf(l.charAt(r + 1)), a(o, 11, i);
38530
+ let o = Te.ALPHANUMERIC_CHARSET.indexOf(l.charAt(r)) * 45;
38531
+ o += Te.ALPHANUMERIC_CHARSET.indexOf(l.charAt(r + 1)), a(o, 11, i);
38530
38532
  }
38531
- return r < l.length && a(ke.ALPHANUMERIC_CHARSET.indexOf(l.charAt(r)), 6, i), new ke(ke.Mode.ALPHANUMERIC, l.length, i);
38533
+ return r < l.length && a(Te.ALPHANUMERIC_CHARSET.indexOf(l.charAt(r)), 6, i), new Te(Te.Mode.ALPHANUMERIC, l.length, i);
38532
38534
  }
38533
38535
  // Returns a new mutable list of zero or more segments to represent the given Unicode text string.
38534
38536
  // The result may use various segment modes and switch modes to optimize the length of the bit stream.
38535
38537
  static makeSegments(l) {
38536
- return l == "" ? [] : ke.isNumeric(l) ? [ke.makeNumeric(l)] : ke.isAlphanumeric(l) ? [ke.makeAlphanumeric(l)] : [ke.makeBytes(ke.toUtf8ByteArray(l))];
38538
+ return l == "" ? [] : Te.isNumeric(l) ? [Te.makeNumeric(l)] : Te.isAlphanumeric(l) ? [Te.makeAlphanumeric(l)] : [Te.makeBytes(Te.toUtf8ByteArray(l))];
38537
38539
  }
38538
38540
  // Returns a segment representing an Extended Channel Interpretation
38539
38541
  // (ECI) designator with the given assignment value.
@@ -38549,18 +38551,18 @@ var Ma;
38549
38551
  a(6, 3, i), a(l, 21, i);
38550
38552
  else
38551
38553
  throw new RangeError("ECI assignment value out of range");
38552
- return new ke(ke.Mode.ECI, 0, i);
38554
+ return new Te(Te.Mode.ECI, 0, i);
38553
38555
  }
38554
38556
  // Tests whether the given string can be encoded as a segment in numeric mode.
38555
38557
  // A string is encodable iff each character is in the range 0 to 9.
38556
38558
  static isNumeric(l) {
38557
- return ke.NUMERIC_REGEX.test(l);
38559
+ return Te.NUMERIC_REGEX.test(l);
38558
38560
  }
38559
38561
  // Tests whether the given string can be encoded as a segment in alphanumeric mode.
38560
38562
  // A string is encodable iff each character is in the following set: 0 to 9, A to Z
38561
38563
  // (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.
38562
38564
  static isAlphanumeric(l) {
38563
- return ke.ALPHANUMERIC_REGEX.test(l);
38565
+ return Te.ALPHANUMERIC_REGEX.test(l);
38564
38566
  }
38565
38567
  /*-- Methods --*/
38566
38568
  // Returns a new copy of the data bits of this segment.
@@ -38770,12 +38772,12 @@ var mu = (function() {
38770
38772
  H,
38771
38773
  S.excavation
38772
38774
  ));
38773
- const O = window.devicePixelRatio || 1;
38774
- R.height = R.width = u * O;
38775
- const z = u / k * O;
38776
- L.scale(z, z), L.fillStyle = d, L.fillRect(0, 0, k, k), L.fillStyle = l, mu ? L.fill(new Path2D(al(G, D))) : H.forEach(function(N, E) {
38777
- N.forEach(function(F, w) {
38778
- F && L.fillRect(w + D, E + D, 1, 1);
38775
+ const z = window.devicePixelRatio || 1;
38776
+ R.height = R.width = u * z;
38777
+ const B = u / k * z;
38778
+ L.scale(B, B), L.fillStyle = d, L.fillRect(0, 0, k, k), L.fillStyle = l, mu ? L.fill(new Path2D(al(G, D))) : H.forEach(function(N, E) {
38779
+ N.forEach(function(w, P) {
38780
+ w && L.fillRect(P + D, E + D, 1, 1);
38779
38781
  });
38780
38782
  }), S && (L.globalAlpha = S.opacity), W && L.drawImage(
38781
38783
  I,
@@ -38788,9 +38790,9 @@ var mu = (function() {
38788
38790
  }), ve.useEffect(() => {
38789
38791
  h(!1);
38790
38792
  }, [c]);
38791
- const A = xi({ height: u, width: u }, y);
38792
- let P = null;
38793
- return c != null && (P = /* @__PURE__ */ ve.createElement(
38793
+ const F = xi({ height: u, width: u }, y);
38794
+ let A = null;
38795
+ return c != null && (A = /* @__PURE__ */ ve.createElement(
38794
38796
  "img",
38795
38797
  {
38796
38798
  src: c,
@@ -38805,13 +38807,13 @@ var mu = (function() {
38805
38807
  )), /* @__PURE__ */ ve.createElement(ve.Fragment, null, /* @__PURE__ */ ve.createElement(
38806
38808
  "canvas",
38807
38809
  xi({
38808
- style: A,
38810
+ style: F,
38809
38811
  height: u,
38810
38812
  width: u,
38811
38813
  ref: v,
38812
38814
  role: "img"
38813
38815
  }, _)
38814
- ), P);
38816
+ ), A);
38815
38817
  }
38816
38818
  );
38817
38819
  uu.displayName = "QRCodeCanvas";
@@ -38938,7 +38940,7 @@ const pu = {
38938
38940
  expired: "Kode QR telah kedaluwarsa"
38939
38941
  }
38940
38942
  }, ip = ({ forcedShow: e = !1, isVisible: t, setIsVisible: a } = {}) => {
38941
- const { lng: n, getToken: s, lineConfig: u } = re(), [b, d] = Qe(300), [l, i] = Qe(!1), r = se(null), o = j(u, "liffId", ""), m = Ve(n), g = s?.(), f = new URLSearchParams(window.location.search).get("mac") || Ci.get("machine_mac_address") || "", { data: y, isFetching: _ } = Es({
38943
+ const { lng: n, getToken: s, lineConfig: u } = re(), [b, d] = je(300), [l, i] = je(!1), r = se(null), o = j(u, "liffId", ""), m = Je(n), g = s?.(), f = new URLSearchParams(window.location.search).get("mac") || Ci.get("machine_mac_address") || "", { data: y, isFetching: _ } = Es({
38942
38944
  formData: {
38943
38945
  mac_address: f
38944
38946
  },
@@ -38946,9 +38948,9 @@ const pu = {
38946
38948
  enabled: e ? !0 : !!f && !g
38947
38949
  }
38948
38950
  }), c = j(y, "liff_url", "") || `https://liff.line.me/${o}`;
38949
- ce(() => {
38951
+ fe(() => {
38950
38952
  f && Ci.set("machine_mac_address", f, { expires: 365 });
38951
- }, [f]), ce(() => (c && (d(300), i(!1), r.current && clearInterval(r.current), r.current = setInterval(() => {
38953
+ }, [f]), fe(() => (c && (d(300), i(!1), r.current && clearInterval(r.current), r.current = setInterval(() => {
38952
38954
  d((v) => v <= 1 ? (clearInterval(r.current), i(!0), 0) : v - 1);
38953
38955
  }, 1e3)), () => {
38954
38956
  r.current && clearInterval(r.current);
@@ -38959,8 +38961,8 @@ const pu = {
38959
38961
  };
38960
38962
  if (!e && (!f || g)) return null;
38961
38963
  const C = nr[m] || nr.en_US;
38962
- return t && /* @__PURE__ */ te.jsxs("div", { style: pu, children: [
38963
- /* @__PURE__ */ te.jsx(
38964
+ return t && /* @__PURE__ */ ie.jsxs("div", { style: pu, children: [
38965
+ /* @__PURE__ */ ie.jsx(
38964
38966
  "div",
38965
38967
  {
38966
38968
  style: gu,
@@ -38970,9 +38972,9 @@ const pu = {
38970
38972
  children: "✕"
38971
38973
  }
38972
38974
  ),
38973
- l ? /* @__PURE__ */ te.jsx("p", { style: { fontWeight: "bold" }, children: C.expired }) : /* @__PURE__ */ te.jsxs(te.Fragment, { children: [
38974
- /* @__PURE__ */ te.jsx("p", { style: { fontWeight: "bold", fontSize: "3em" }, children: C.title }),
38975
- /* @__PURE__ */ te.jsx(
38975
+ l ? /* @__PURE__ */ ie.jsx("p", { style: { fontWeight: "bold" }, children: C.expired }) : /* @__PURE__ */ ie.jsxs(ie.Fragment, { children: [
38976
+ /* @__PURE__ */ ie.jsx("p", { style: { fontWeight: "bold", fontSize: "3em" }, children: C.title }),
38977
+ /* @__PURE__ */ ie.jsx(
38976
38978
  "div",
38977
38979
  {
38978
38980
  style: {
@@ -38986,10 +38988,10 @@ const pu = {
38986
38988
  boxSizing: "border-box",
38987
38989
  color: "black"
38988
38990
  },
38989
- children: _ ? "Loading..." : /* @__PURE__ */ te.jsx(nl, { width: "100%", height: "100%", value: c })
38991
+ children: _ ? "Loading..." : /* @__PURE__ */ ie.jsx(nl, { width: "100%", height: "100%", value: c })
38990
38992
  }
38991
38993
  ),
38992
- !_ && /* @__PURE__ */ te.jsx(
38994
+ !_ && /* @__PURE__ */ ie.jsx(
38993
38995
  "p",
38994
38996
  {
38995
38997
  style: {
@@ -39459,7 +39461,7 @@ const pu = {
39459
39461
  ]
39460
39462
  }
39461
39463
  }
39462
- }, du = (e) => lr[e] || lr.zh_TW, or = ["privacy", "terms"], je = {
39464
+ }, du = (e) => lr[e] || lr.zh_TW, or = ["privacy", "terms"], $e = {
39463
39465
  overlay: "rgba(0, 0, 0, 0.72)",
39464
39466
  cardBg: "#1b1b22",
39465
39467
  border: "#2c2c36",
@@ -39481,8 +39483,8 @@ const pu = {
39481
39483
  overlayStyle: d = {},
39482
39484
  contentStyle: l = {}
39483
39485
  }) => {
39484
- const i = re(), r = u ?? i?.lng, o = Ve(r), m = du(o), g = { siteName: a, siteUrl: n }, p = or.includes(s) ? s : "privacy", [f, y] = Qe(p), [_, c] = Qe(e);
39485
- if (e !== _ && (c(e), e && y(p)), ce(() => {
39486
+ const i = re(), r = u ?? i?.lng, o = Je(r), m = du(o), g = { siteName: a, siteUrl: n }, p = or.includes(s) ? s : "privacy", [f, y] = je(p), [_, c] = je(e);
39487
+ if (e !== _ && (c(e), e && y(p)), fe(() => {
39486
39488
  if (!e) return;
39487
39489
  const v = (h) => {
39488
39490
  h.key === "Escape" && t?.(!1);
@@ -39494,7 +39496,7 @@ const pu = {
39494
39496
  };
39495
39497
  }, [e, t]), !e) return null;
39496
39498
  const U = m[f], C = () => t?.(!1);
39497
- return /* @__PURE__ */ te.jsx(
39499
+ return /* @__PURE__ */ ie.jsx(
39498
39500
  "div",
39499
39501
  {
39500
39502
  role: "dialog",
@@ -39508,13 +39510,13 @@ const pu = {
39508
39510
  display: "flex",
39509
39511
  alignItems: "center",
39510
39512
  justifyContent: "center",
39511
- background: je.overlay,
39513
+ background: $e.overlay,
39512
39514
  backdropFilter: "blur(2px)",
39513
39515
  padding: 16,
39514
39516
  boxSizing: "border-box",
39515
39517
  ...d
39516
39518
  },
39517
- children: /* @__PURE__ */ te.jsxs(
39519
+ children: /* @__PURE__ */ ie.jsxs(
39518
39520
  "div",
39519
39521
  {
39520
39522
  onClick: (v) => v.stopPropagation(),
@@ -39524,36 +39526,36 @@ const pu = {
39524
39526
  maxHeight: "85vh",
39525
39527
  display: "flex",
39526
39528
  flexDirection: "column",
39527
- background: je.cardBg,
39528
- color: je.body,
39529
+ background: $e.cardBg,
39530
+ color: $e.body,
39529
39531
  borderRadius: 12,
39530
- border: `1px solid ${je.border}`,
39532
+ border: `1px solid ${$e.border}`,
39531
39533
  overflow: "hidden",
39532
39534
  boxShadow: "0 16px 48px rgba(0, 0, 0, 0.6)",
39533
39535
  ...l
39534
39536
  },
39535
39537
  children: [
39536
- /* @__PURE__ */ te.jsxs(
39538
+ /* @__PURE__ */ ie.jsxs(
39537
39539
  "div",
39538
39540
  {
39539
39541
  style: {
39540
39542
  display: "flex",
39541
39543
  alignItems: "stretch",
39542
- borderBottom: `1px solid ${je.border}`,
39544
+ borderBottom: `1px solid ${$e.border}`,
39543
39545
  flexShrink: 0
39544
39546
  },
39545
39547
  children: [
39546
39548
  or.map((v) => {
39547
39549
  const T = f === v ? {
39548
- color: je.tabActive,
39550
+ color: $e.tabActive,
39549
39551
  fontWeight: 700,
39550
- borderBottom: `2px solid ${je.accent}`
39552
+ borderBottom: `2px solid ${$e.accent}`
39551
39553
  } : {
39552
- color: je.tabInactive,
39554
+ color: $e.tabInactive,
39553
39555
  fontWeight: 500,
39554
39556
  borderBottom: "2px solid transparent"
39555
39557
  };
39556
- return /* @__PURE__ */ te.jsx(
39558
+ return /* @__PURE__ */ ie.jsx(
39557
39559
  "button",
39558
39560
  {
39559
39561
  type: "button",
@@ -39572,7 +39574,7 @@ const pu = {
39572
39574
  v
39573
39575
  );
39574
39576
  }),
39575
- /* @__PURE__ */ te.jsx(
39577
+ /* @__PURE__ */ ie.jsx(
39576
39578
  "button",
39577
39579
  {
39578
39580
  type: "button",
@@ -39584,7 +39586,7 @@ const pu = {
39584
39586
  border: "none",
39585
39587
  cursor: "pointer",
39586
39588
  fontSize: 20,
39587
- color: je.muted
39589
+ color: $e.muted
39588
39590
  },
39589
39591
  children: "✕"
39590
39592
  }
@@ -39592,34 +39594,34 @@ const pu = {
39592
39594
  ]
39593
39595
  }
39594
39596
  ),
39595
- /* @__PURE__ */ te.jsxs("div", { style: { padding: 20, overflowY: "auto" }, children: [
39596
- /* @__PURE__ */ te.jsx("h2", { style: { margin: "0 0 4px", fontSize: 20, color: je.title }, children: bi(U?.title, g) }),
39597
- U?.updatedAt && /* @__PURE__ */ te.jsxs("p", { style: { margin: "0 0 16px", fontSize: 12, color: je.muted }, children: [
39597
+ /* @__PURE__ */ ie.jsxs("div", { style: { padding: 20, overflowY: "auto" }, children: [
39598
+ /* @__PURE__ */ ie.jsx("h2", { style: { margin: "0 0 4px", fontSize: 20, color: $e.title }, children: bi(U?.title, g) }),
39599
+ U?.updatedAt && /* @__PURE__ */ ie.jsxs("p", { style: { margin: "0 0 16px", fontSize: 12, color: $e.muted }, children: [
39598
39600
  m.updatedLabel,
39599
39601
  ":",
39600
39602
  U.updatedAt
39601
39603
  ] }),
39602
- U?.sections?.map((v, T) => /* @__PURE__ */ te.jsxs("div", { style: { marginBottom: 16 }, children: [
39603
- v.heading ? /* @__PURE__ */ te.jsx(
39604
+ U?.sections?.map((v, T) => /* @__PURE__ */ ie.jsxs("div", { style: { marginBottom: 16 }, children: [
39605
+ v.heading ? /* @__PURE__ */ ie.jsx(
39604
39606
  "h3",
39605
39607
  {
39606
39608
  style: {
39607
39609
  margin: "0 0 6px",
39608
39610
  fontSize: 15,
39609
39611
  fontWeight: 700,
39610
- color: je.heading
39612
+ color: $e.heading
39611
39613
  },
39612
39614
  children: bi(v.heading, g)
39613
39615
  }
39614
39616
  ) : null,
39615
- v.body.map((h, D) => /* @__PURE__ */ te.jsx(
39617
+ v.body.map((h, D) => /* @__PURE__ */ ie.jsx(
39616
39618
  "p",
39617
39619
  {
39618
39620
  style: {
39619
39621
  margin: "0 0 8px",
39620
39622
  fontSize: 13,
39621
39623
  lineHeight: 1.8,
39622
- color: je.body
39624
+ color: $e.body
39623
39625
  },
39624
39626
  children: bi(h, g)
39625
39627
  },
@@ -39633,7 +39635,7 @@ const pu = {
39633
39635
  }
39634
39636
  );
39635
39637
  }, rp = (e = !1) => {
39636
- const [t, a] = Qe(e), n = M(() => a(!0), []), s = M(() => a(!1), []), u = M(() => a((d) => !d), []), b = M((d) => a(!!d), []);
39638
+ const [t, a] = je(e), n = M(() => a(!0), []), s = M(() => a(!1), []), u = M(() => a((d) => !d), []), b = M((d) => a(!!d), []);
39637
39639
  return { open: t, setOpen: a, onOpen: n, onClose: s, onToggle: u, onOpenChange: b };
39638
39640
  };
39639
39641
  export {
@@ -39656,7 +39658,7 @@ export {
39656
39658
  Ml as buildSinglePlatformWithSubTypes,
39657
39659
  Gl as buildSingleType,
39658
39660
  Jm as categorizeGames,
39659
- Ve as convertLanguageCode,
39661
+ Je as convertLanguageCode,
39660
39662
  Nl as convertLanguageGameCode,
39661
39663
  nt as correctViewportDrift,
39662
39664
  vu as createLogoutHandler,