@ichaingo/web-worker 1.4.97 → 1.4.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
- var $e = Object.defineProperty;
2
- var Be = (v, r, h) => r in v ? $e(v, r, { enumerable: !0, configurable: !0, writable: !0, value: h }) : v[r] = h;
3
- var H = (v, r, h) => Be(v, typeof r != "symbol" ? r + "" : r, h);
4
- var Ie;
5
- (function(v) {
6
- v.ALL_CHAIN_LATEST_BLOCK = "allChainLatestBlock", v.CHAIN_LATEST_BLOCK = "chainLatestBlock";
7
- })(Ie || (Ie = {}));
8
- var P;
9
- (function(v) {
10
- v.CONNECTING = "connecting", v.CONNECTED = "connected", v.DISCONNECTED = "disconnected", v.RECONNECTING = "reconnecting", v.ERROR = "error";
11
- })(P || (P = {}));
12
- var Ee = { exports: {} }, f = {};
1
+ var Ke = Object.defineProperty;
2
+ var $e = (T, r, y) => r in T ? Ke(T, r, { enumerable: !0, configurable: !0, writable: !0, value: y }) : T[r] = y;
3
+ var H = (T, r, y) => $e(T, typeof r != "symbol" ? r + "" : r, y);
4
+ var De;
5
+ (function(T) {
6
+ T.ALL_CHAIN_LATEST_BLOCK = "allChainLatestBlock", T.CHAIN_LATEST_BLOCK = "chainLatestBlock";
7
+ })(De || (De = {}));
8
+ var j;
9
+ (function(T) {
10
+ T.CONNECTING = "connecting", T.CONNECTED = "connected", T.DISCONNECTED = "disconnected", T.RECONNECTING = "reconnecting", T.ERROR = "error";
11
+ })(j || (j = {}));
12
+ var me = { exports: {} }, f = {};
13
13
  /**
14
14
  * @license React
15
15
  * react.production.js
@@ -19,15 +19,15 @@ var Ee = { exports: {} }, f = {};
19
19
  * This source code is licensed under the MIT license found in the
20
20
  * LICENSE file in the root directory of this source tree.
21
21
  */
22
- var Me;
23
- function Ke() {
24
- if (Me) return f;
25
- Me = 1;
26
- var v = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), M = Symbol.for("react.profiler"), k = Symbol.for("react.consumer"), G = Symbol.for("react.context"), O = Symbol.for("react.forward_ref"), A = Symbol.for("react.suspense"), D = Symbol.for("react.memo"), $ = Symbol.for("react.lazy"), F = Symbol.iterator;
27
- function ue(t) {
28
- return t === null || typeof t != "object" ? null : (t = F && t[F] || t["@@iterator"], typeof t == "function" ? t : null);
22
+ var He;
23
+ function Qe() {
24
+ if (He) return f;
25
+ He = 1;
26
+ var T = Symbol.for("react.transitional.element"), r = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), M = Symbol.for("react.profiler"), A = Symbol.for("react.consumer"), z = Symbol.for("react.context"), O = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), G = Symbol.for("react.memo"), B = Symbol.for("react.lazy"), Q = Symbol.for("react.activity"), x = Symbol.iterator;
27
+ function ce(t) {
28
+ return t === null || typeof t != "object" ? null : (t = x && t[x] || t["@@iterator"], typeof t == "function" ? t : null);
29
29
  }
30
- var x = {
30
+ var ee = {
31
31
  isMounted: function() {
32
32
  return !1;
33
33
  },
@@ -37,61 +37,56 @@ function Ke() {
37
37
  },
38
38
  enqueueSetState: function() {
39
39
  }
40
- }, J = Object.assign, ie = {};
41
- function Y(t, o, c) {
42
- this.props = t, this.context = o, this.refs = ie, this.updater = c || x;
40
+ }, te = Object.assign, fe = {};
41
+ function Y(t, s, c) {
42
+ this.props = t, this.context = s, this.refs = fe, this.updater = c || ee;
43
43
  }
44
- Y.prototype.isReactComponent = {}, Y.prototype.setState = function(t, o) {
44
+ Y.prototype.isReactComponent = {}, Y.prototype.setState = function(t, s) {
45
45
  if (typeof t != "object" && typeof t != "function" && t != null)
46
46
  throw Error(
47
47
  "takes an object of state variables to update or a function which returns an object of state variables."
48
48
  );
49
- this.updater.enqueueSetState(this, t, o, "setState");
49
+ this.updater.enqueueSetState(this, t, s, "setState");
50
50
  }, Y.prototype.forceUpdate = function(t) {
51
51
  this.updater.enqueueForceUpdate(this, t, "forceUpdate");
52
52
  };
53
- function Q() {
53
+ function X() {
54
54
  }
55
- Q.prototype = Y.prototype;
56
- function ee(t, o, c) {
57
- this.props = t, this.context = o, this.refs = ie, this.updater = c || x;
55
+ X.prototype = Y.prototype;
56
+ function ne(t, s, c) {
57
+ this.props = t, this.context = s, this.refs = fe, this.updater = c || ee;
58
58
  }
59
- var L = ee.prototype = new Q();
60
- L.constructor = ee, J(L, Y.prototype), L.isPureReactComponent = !0;
61
- var ae = Array.isArray, g = { H: null, A: null, T: null, S: null, V: null }, te = Object.prototype.hasOwnProperty;
62
- function ne(t, o, c, a, _, R) {
63
- return c = R.ref, {
64
- $$typeof: v,
59
+ var Z = ne.prototype = new X();
60
+ Z.constructor = ne, te(Z, Y.prototype), Z.isPureReactComponent = !0;
61
+ var D = Array.isArray;
62
+ function re() {
63
+ }
64
+ var _ = { H: null, A: null, T: null, S: null }, le = Object.prototype.hasOwnProperty;
65
+ function I(t, s, c) {
66
+ var a = c.ref;
67
+ return {
68
+ $$typeof: T,
65
69
  type: t,
66
- key: o,
67
- ref: c !== void 0 ? c : null,
68
- props: R
70
+ key: s,
71
+ ref: a !== void 0 ? a : null,
72
+ props: c
69
73
  };
70
74
  }
71
- function U(t, o) {
72
- return ne(
73
- t.type,
74
- o,
75
- void 0,
76
- void 0,
77
- void 0,
78
- t.props
79
- );
75
+ function V(t, s) {
76
+ return I(t.type, s, t.props);
80
77
  }
81
- function W(t) {
82
- return typeof t == "object" && t !== null && t.$$typeof === v;
78
+ function oe(t) {
79
+ return typeof t == "object" && t !== null && t.$$typeof === T;
83
80
  }
84
- function me(t) {
85
- var o = { "=": "=0", ":": "=2" };
81
+ function R(t) {
82
+ var s = { "=": "=0", ":": "=2" };
86
83
  return "$" + t.replace(/[=:]/g, function(c) {
87
- return o[c];
84
+ return s[c];
88
85
  });
89
86
  }
90
- var T = /\/+/g;
91
- function re(t, o) {
92
- return typeof t == "object" && t !== null && t.key != null ? me("" + t.key) : o.toString(36);
93
- }
94
- function B() {
87
+ var se = /\/+/g;
88
+ function U(t, s) {
89
+ return typeof t == "object" && t !== null && t.key != null ? R("" + t.key) : s.toString(36);
95
90
  }
96
91
  function K(t) {
97
92
  switch (t.status) {
@@ -100,12 +95,12 @@ function Ke() {
100
95
  case "rejected":
101
96
  throw t.reason;
102
97
  default:
103
- switch (typeof t.status == "string" ? t.then(B, B) : (t.status = "pending", t.then(
104
- function(o) {
105
- t.status === "pending" && (t.status = "fulfilled", t.value = o);
98
+ switch (typeof t.status == "string" ? t.then(re, re) : (t.status = "pending", t.then(
99
+ function(s) {
100
+ t.status === "pending" && (t.status = "fulfilled", t.value = s);
106
101
  },
107
- function(o) {
108
- t.status === "pending" && (t.status = "rejected", t.reason = o);
102
+ function(s) {
103
+ t.status === "pending" && (t.status = "rejected", t.reason = s);
109
104
  }
110
105
  )), t.status) {
111
106
  case "fulfilled":
@@ -116,277 +111,274 @@ function Ke() {
116
111
  }
117
112
  throw t;
118
113
  }
119
- function j(t, o, c, a, _) {
120
- var R = typeof t;
121
- (R === "undefined" || R === "boolean") && (t = null);
122
- var p = !1;
123
- if (t === null) p = !0;
114
+ function L(t, s, c, a, E) {
115
+ var m = typeof t;
116
+ (m === "undefined" || m === "boolean") && (t = null);
117
+ var g = !1;
118
+ if (t === null) g = !0;
124
119
  else
125
- switch (R) {
120
+ switch (m) {
126
121
  case "bigint":
127
122
  case "string":
128
123
  case "number":
129
- p = !0;
124
+ g = !0;
130
125
  break;
131
126
  case "object":
132
127
  switch (t.$$typeof) {
133
- case v:
128
+ case T:
134
129
  case r:
135
- p = !0;
130
+ g = !0;
136
131
  break;
137
- case $:
138
- return p = t._init, j(
139
- p(t._payload),
140
- o,
132
+ case B:
133
+ return g = t._init, L(
134
+ g(t._payload),
135
+ s,
141
136
  c,
142
137
  a,
143
- _
138
+ E
144
139
  );
145
140
  }
146
141
  }
147
- if (p)
148
- return _ = _(t), p = a === "" ? "." + re(t, 0) : a, ae(_) ? (c = "", p != null && (c = p.replace(T, "$&/") + "/"), j(_, o, c, "", function(V) {
149
- return V;
150
- })) : _ != null && (W(_) && (_ = U(
151
- _,
152
- c + (_.key == null || t && t.key === _.key ? "" : ("" + _.key).replace(
153
- T,
142
+ if (g)
143
+ return E = E(t), g = a === "" ? "." + U(t, 0) : a, D(E) ? (c = "", g != null && (c = g.replace(se, "$&/") + "/"), L(E, s, c, "", function($) {
144
+ return $;
145
+ })) : E != null && (oe(E) && (E = V(
146
+ E,
147
+ c + (E.key == null || t && t.key === E.key ? "" : ("" + E.key).replace(
148
+ se,
154
149
  "$&/"
155
- ) + "/") + p
156
- )), o.push(_)), 1;
157
- p = 0;
158
- var I = a === "" ? "." : a + ":";
159
- if (ae(t))
160
- for (var w = 0; w < t.length; w++)
161
- a = t[w], R = I + re(a, w), p += j(
150
+ ) + "/") + g
151
+ )), s.push(E)), 1;
152
+ g = 0;
153
+ var N = a === "" ? "." : a + ":";
154
+ if (D(t))
155
+ for (var b = 0; b < t.length; b++)
156
+ a = t[b], m = N + U(a, b), g += L(
162
157
  a,
163
- o,
158
+ s,
164
159
  c,
165
- R,
166
- _
160
+ m,
161
+ E
167
162
  );
168
- else if (w = ue(t), typeof w == "function")
169
- for (t = w.call(t), w = 0; !(a = t.next()).done; )
170
- a = a.value, R = I + re(a, w++), p += j(
163
+ else if (b = ce(t), typeof b == "function")
164
+ for (t = b.call(t), b = 0; !(a = t.next()).done; )
165
+ a = a.value, m = N + U(a, b++), g += L(
171
166
  a,
172
- o,
167
+ s,
173
168
  c,
174
- R,
175
- _
169
+ m,
170
+ E
176
171
  );
177
- else if (R === "object") {
172
+ else if (m === "object") {
178
173
  if (typeof t.then == "function")
179
- return j(
174
+ return L(
180
175
  K(t),
181
- o,
176
+ s,
182
177
  c,
183
178
  a,
184
- _
179
+ E
185
180
  );
186
- throw o = String(t), Error(
187
- "Objects are not valid as a React child (found: " + (o === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : o) + "). If you meant to render a collection of children, use an array instead."
181
+ throw s = String(t), Error(
182
+ "Objects are not valid as a React child (found: " + (s === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : s) + "). If you meant to render a collection of children, use an array instead."
188
183
  );
189
184
  }
190
- return p;
185
+ return g;
191
186
  }
192
- function q(t, o, c) {
187
+ function W(t, s, c) {
193
188
  if (t == null) return t;
194
- var a = [], _ = 0;
195
- return j(t, a, "", "", function(R) {
196
- return o.call(c, R, _++);
189
+ var a = [], E = 0;
190
+ return L(t, a, "", "", function(m) {
191
+ return s.call(c, m, E++);
197
192
  }), a;
198
193
  }
199
- function oe(t) {
194
+ function ue(t) {
200
195
  if (t._status === -1) {
201
- var o = t._result;
202
- o = o(), o.then(
196
+ var s = t._result;
197
+ s = s(), s.then(
203
198
  function(c) {
204
199
  (t._status === 0 || t._status === -1) && (t._status = 1, t._result = c);
205
200
  },
206
201
  function(c) {
207
202
  (t._status === 0 || t._status === -1) && (t._status = 2, t._result = c);
208
203
  }
209
- ), t._status === -1 && (t._status = 0, t._result = o);
204
+ ), t._status === -1 && (t._status = 0, t._result = s);
210
205
  }
211
206
  if (t._status === 1) return t._result.default;
212
207
  throw t._result;
213
208
  }
214
- var X = typeof reportError == "function" ? reportError : function(t) {
209
+ var F = typeof reportError == "function" ? reportError : function(t) {
215
210
  if (typeof window == "object" && typeof window.ErrorEvent == "function") {
216
- var o = new window.ErrorEvent("error", {
211
+ var s = new window.ErrorEvent("error", {
217
212
  bubbles: !0,
218
213
  cancelable: !0,
219
214
  message: typeof t == "object" && t !== null && typeof t.message == "string" ? String(t.message) : String(t),
220
215
  error: t
221
216
  });
222
- if (!window.dispatchEvent(o)) return;
217
+ if (!window.dispatchEvent(s)) return;
223
218
  } else if (typeof process == "object" && typeof process.emit == "function") {
224
219
  process.emit("uncaughtException", t);
225
220
  return;
226
221
  }
227
222
  console.error(t);
228
- };
229
- function ce() {
230
- }
231
- return f.Children = {
232
- map: q,
233
- forEach: function(t, o, c) {
234
- q(
223
+ }, pe = {
224
+ map: W,
225
+ forEach: function(t, s, c) {
226
+ W(
235
227
  t,
236
228
  function() {
237
- o.apply(this, arguments);
229
+ s.apply(this, arguments);
238
230
  },
239
231
  c
240
232
  );
241
233
  },
242
234
  count: function(t) {
243
- var o = 0;
244
- return q(t, function() {
245
- o++;
246
- }), o;
235
+ var s = 0;
236
+ return W(t, function() {
237
+ s++;
238
+ }), s;
247
239
  },
248
240
  toArray: function(t) {
249
- return q(t, function(o) {
250
- return o;
241
+ return W(t, function(s) {
242
+ return s;
251
243
  }) || [];
252
244
  },
253
245
  only: function(t) {
254
- if (!W(t))
246
+ if (!oe(t))
255
247
  throw Error(
256
248
  "React.Children.only expected to receive a single React element child."
257
249
  );
258
250
  return t;
259
251
  }
260
- }, f.Component = Y, f.Fragment = h, f.Profiler = M, f.PureComponent = ee, f.StrictMode = b, f.Suspense = A, f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = g, f.__COMPILER_RUNTIME = {
252
+ };
253
+ return f.Activity = Q, f.Children = pe, f.Component = Y, f.Fragment = y, f.Profiler = M, f.PureComponent = ne, f.StrictMode = w, f.Suspense = C, f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = _, f.__COMPILER_RUNTIME = {
261
254
  __proto__: null,
262
255
  c: function(t) {
263
- return g.H.useMemoCache(t);
256
+ return _.H.useMemoCache(t);
264
257
  }
265
258
  }, f.cache = function(t) {
266
259
  return function() {
267
260
  return t.apply(null, arguments);
268
261
  };
269
- }, f.cloneElement = function(t, o, c) {
262
+ }, f.cacheSignal = function() {
263
+ return null;
264
+ }, f.cloneElement = function(t, s, c) {
270
265
  if (t == null)
271
266
  throw Error(
272
267
  "The argument must be a React element, but you passed " + t + "."
273
268
  );
274
- var a = J({}, t.props), _ = t.key, R = void 0;
275
- if (o != null)
276
- for (p in o.ref !== void 0 && (R = void 0), o.key !== void 0 && (_ = "" + o.key), o)
277
- !te.call(o, p) || p === "key" || p === "__self" || p === "__source" || p === "ref" && o.ref === void 0 || (a[p] = o[p]);
278
- var p = arguments.length - 2;
279
- if (p === 1) a.children = c;
280
- else if (1 < p) {
281
- for (var I = Array(p), w = 0; w < p; w++)
282
- I[w] = arguments[w + 2];
283
- a.children = I;
269
+ var a = te({}, t.props), E = t.key;
270
+ if (s != null)
271
+ for (m in s.key !== void 0 && (E = "" + s.key), s)
272
+ !le.call(s, m) || m === "key" || m === "__self" || m === "__source" || m === "ref" && s.ref === void 0 || (a[m] = s[m]);
273
+ var m = arguments.length - 2;
274
+ if (m === 1) a.children = c;
275
+ else if (1 < m) {
276
+ for (var g = Array(m), N = 0; N < m; N++)
277
+ g[N] = arguments[N + 2];
278
+ a.children = g;
284
279
  }
285
- return ne(t.type, _, void 0, void 0, R, a);
280
+ return I(t.type, E, a);
286
281
  }, f.createContext = function(t) {
287
282
  return t = {
288
- $$typeof: G,
283
+ $$typeof: z,
289
284
  _currentValue: t,
290
285
  _currentValue2: t,
291
286
  _threadCount: 0,
292
287
  Provider: null,
293
288
  Consumer: null
294
289
  }, t.Provider = t, t.Consumer = {
295
- $$typeof: k,
290
+ $$typeof: A,
296
291
  _context: t
297
292
  }, t;
298
- }, f.createElement = function(t, o, c) {
299
- var a, _ = {}, R = null;
300
- if (o != null)
301
- for (a in o.key !== void 0 && (R = "" + o.key), o)
302
- te.call(o, a) && a !== "key" && a !== "__self" && a !== "__source" && (_[a] = o[a]);
303
- var p = arguments.length - 2;
304
- if (p === 1) _.children = c;
305
- else if (1 < p) {
306
- for (var I = Array(p), w = 0; w < p; w++)
307
- I[w] = arguments[w + 2];
308
- _.children = I;
293
+ }, f.createElement = function(t, s, c) {
294
+ var a, E = {}, m = null;
295
+ if (s != null)
296
+ for (a in s.key !== void 0 && (m = "" + s.key), s)
297
+ le.call(s, a) && a !== "key" && a !== "__self" && a !== "__source" && (E[a] = s[a]);
298
+ var g = arguments.length - 2;
299
+ if (g === 1) E.children = c;
300
+ else if (1 < g) {
301
+ for (var N = Array(g), b = 0; b < g; b++)
302
+ N[b] = arguments[b + 2];
303
+ E.children = N;
309
304
  }
310
305
  if (t && t.defaultProps)
311
- for (a in p = t.defaultProps, p)
312
- _[a] === void 0 && (_[a] = p[a]);
313
- return ne(t, R, void 0, void 0, null, _);
306
+ for (a in g = t.defaultProps, g)
307
+ E[a] === void 0 && (E[a] = g[a]);
308
+ return I(t, m, E);
314
309
  }, f.createRef = function() {
315
310
  return { current: null };
316
311
  }, f.forwardRef = function(t) {
317
312
  return { $$typeof: O, render: t };
318
- }, f.isValidElement = W, f.lazy = function(t) {
313
+ }, f.isValidElement = oe, f.lazy = function(t) {
319
314
  return {
320
- $$typeof: $,
315
+ $$typeof: B,
321
316
  _payload: { _status: -1, _result: t },
322
- _init: oe
317
+ _init: ue
323
318
  };
324
- }, f.memo = function(t, o) {
319
+ }, f.memo = function(t, s) {
325
320
  return {
326
- $$typeof: D,
321
+ $$typeof: G,
327
322
  type: t,
328
- compare: o === void 0 ? null : o
323
+ compare: s === void 0 ? null : s
329
324
  };
330
325
  }, f.startTransition = function(t) {
331
- var o = g.T, c = {};
332
- g.T = c;
326
+ var s = _.T, c = {};
327
+ _.T = c;
333
328
  try {
334
- var a = t(), _ = g.S;
335
- _ !== null && _(c, a), typeof a == "object" && a !== null && typeof a.then == "function" && a.then(ce, X);
336
- } catch (R) {
337
- X(R);
329
+ var a = t(), E = _.S;
330
+ E !== null && E(c, a), typeof a == "object" && a !== null && typeof a.then == "function" && a.then(re, F);
331
+ } catch (m) {
332
+ F(m);
338
333
  } finally {
339
- g.T = o;
334
+ s !== null && c.types !== null && (s.types = c.types), _.T = s;
340
335
  }
341
336
  }, f.unstable_useCacheRefresh = function() {
342
- return g.H.useCacheRefresh();
337
+ return _.H.useCacheRefresh();
343
338
  }, f.use = function(t) {
344
- return g.H.use(t);
345
- }, f.useActionState = function(t, o, c) {
346
- return g.H.useActionState(t, o, c);
347
- }, f.useCallback = function(t, o) {
348
- return g.H.useCallback(t, o);
339
+ return _.H.use(t);
340
+ }, f.useActionState = function(t, s, c) {
341
+ return _.H.useActionState(t, s, c);
342
+ }, f.useCallback = function(t, s) {
343
+ return _.H.useCallback(t, s);
349
344
  }, f.useContext = function(t) {
350
- return g.H.useContext(t);
345
+ return _.H.useContext(t);
351
346
  }, f.useDebugValue = function() {
352
- }, f.useDeferredValue = function(t, o) {
353
- return g.H.useDeferredValue(t, o);
354
- }, f.useEffect = function(t, o, c) {
355
- var a = g.H;
356
- if (typeof c == "function")
357
- throw Error(
358
- "useEffect CRUD overload is not enabled in this build of React."
359
- );
360
- return a.useEffect(t, o);
347
+ }, f.useDeferredValue = function(t, s) {
348
+ return _.H.useDeferredValue(t, s);
349
+ }, f.useEffect = function(t, s) {
350
+ return _.H.useEffect(t, s);
351
+ }, f.useEffectEvent = function(t) {
352
+ return _.H.useEffectEvent(t);
361
353
  }, f.useId = function() {
362
- return g.H.useId();
363
- }, f.useImperativeHandle = function(t, o, c) {
364
- return g.H.useImperativeHandle(t, o, c);
365
- }, f.useInsertionEffect = function(t, o) {
366
- return g.H.useInsertionEffect(t, o);
367
- }, f.useLayoutEffect = function(t, o) {
368
- return g.H.useLayoutEffect(t, o);
369
- }, f.useMemo = function(t, o) {
370
- return g.H.useMemo(t, o);
371
- }, f.useOptimistic = function(t, o) {
372
- return g.H.useOptimistic(t, o);
373
- }, f.useReducer = function(t, o, c) {
374
- return g.H.useReducer(t, o, c);
354
+ return _.H.useId();
355
+ }, f.useImperativeHandle = function(t, s, c) {
356
+ return _.H.useImperativeHandle(t, s, c);
357
+ }, f.useInsertionEffect = function(t, s) {
358
+ return _.H.useInsertionEffect(t, s);
359
+ }, f.useLayoutEffect = function(t, s) {
360
+ return _.H.useLayoutEffect(t, s);
361
+ }, f.useMemo = function(t, s) {
362
+ return _.H.useMemo(t, s);
363
+ }, f.useOptimistic = function(t, s) {
364
+ return _.H.useOptimistic(t, s);
365
+ }, f.useReducer = function(t, s, c) {
366
+ return _.H.useReducer(t, s, c);
375
367
  }, f.useRef = function(t) {
376
- return g.H.useRef(t);
368
+ return _.H.useRef(t);
377
369
  }, f.useState = function(t) {
378
- return g.H.useState(t);
379
- }, f.useSyncExternalStore = function(t, o, c) {
380
- return g.H.useSyncExternalStore(
370
+ return _.H.useState(t);
371
+ }, f.useSyncExternalStore = function(t, s, c) {
372
+ return _.H.useSyncExternalStore(
381
373
  t,
382
- o,
374
+ s,
383
375
  c
384
376
  );
385
377
  }, f.useTransition = function() {
386
- return g.H.useTransition();
387
- }, f.version = "19.1.1", f;
378
+ return _.H.useTransition();
379
+ }, f.version = "19.2.3", f;
388
380
  }
389
- var se = { exports: {} };
381
+ var ae = { exports: {} };
390
382
  /**
391
383
  * @license React
392
384
  * react.development.js
@@ -396,13 +388,13 @@ var se = { exports: {} };
396
388
  * This source code is licensed under the MIT license found in the
397
389
  * LICENSE file in the root directory of this source tree.
398
390
  */
399
- se.exports;
400
- var De;
401
- function Qe() {
402
- return De || (De = 1, (function(v, r) {
391
+ ae.exports;
392
+ var Ye;
393
+ function Xe() {
394
+ return Ye || (Ye = 1, (function(T, r) {
403
395
  process.env.NODE_ENV !== "production" && (function() {
404
- function h(e, n) {
405
- Object.defineProperty(k.prototype, e, {
396
+ function y(e, n) {
397
+ Object.defineProperty(A.prototype, e, {
406
398
  get: function() {
407
399
  console.warn(
408
400
  "%s(...) is deprecated in plain JavaScript React classes. %s",
@@ -412,140 +404,143 @@ function Qe() {
412
404
  }
413
405
  });
414
406
  }
415
- function b(e) {
416
- return e === null || typeof e != "object" ? null : (e = ve && e[ve] || e["@@iterator"], typeof e == "function" ? e : null);
407
+ function w(e) {
408
+ return e === null || typeof e != "object" ? null : (e = Re && e[Re] || e["@@iterator"], typeof e == "function" ? e : null);
417
409
  }
418
410
  function M(e, n) {
419
411
  e = (e = e.constructor) && (e.displayName || e.name) || "ReactClass";
420
- var s = e + "." + n;
421
- Re[s] || (console.error(
412
+ var o = e + "." + n;
413
+ we[o] || (console.error(
422
414
  "Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",
423
415
  n,
424
416
  e
425
- ), Re[s] = !0);
417
+ ), we[o] = !0);
426
418
  }
427
- function k(e, n, s) {
428
- this.props = e, this.context = n, this.refs = _e, this.updater = s || Te;
419
+ function A(e, n, o) {
420
+ this.props = e, this.context = n, this.refs = _e, this.updater = o || be;
429
421
  }
430
- function G() {
422
+ function z() {
431
423
  }
432
- function O(e, n, s) {
433
- this.props = e, this.context = n, this.refs = _e, this.updater = s || Te;
424
+ function O(e, n, o) {
425
+ this.props = e, this.context = n, this.refs = _e, this.updater = o || be;
434
426
  }
435
- function A(e) {
427
+ function C() {
428
+ }
429
+ function G(e) {
436
430
  return "" + e;
437
431
  }
438
- function D(e) {
432
+ function B(e) {
439
433
  try {
440
- A(e);
434
+ G(e);
441
435
  var n = !1;
442
436
  } catch {
443
437
  n = !0;
444
438
  }
445
439
  if (n) {
446
440
  n = console;
447
- var s = n.error, u = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
448
- return s.call(
441
+ var o = n.error, u = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
442
+ return o.call(
449
443
  n,
450
444
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
451
445
  u
452
- ), A(e);
446
+ ), G(e);
453
447
  }
454
448
  }
455
- function $(e) {
449
+ function Q(e) {
456
450
  if (e == null) return null;
457
451
  if (typeof e == "function")
458
- return e.$$typeof === Ue ? null : e.displayName || e.name || null;
452
+ return e.$$typeof === We ? null : e.displayName || e.name || null;
459
453
  if (typeof e == "string") return e;
460
454
  switch (e) {
461
455
  case t:
462
456
  return "Fragment";
463
457
  case c:
464
458
  return "Profiler";
465
- case o:
459
+ case s:
466
460
  return "StrictMode";
467
- case p:
461
+ case g:
468
462
  return "Suspense";
469
- case I:
463
+ case N:
470
464
  return "SuspenseList";
471
- case Ye:
465
+ case Te:
472
466
  return "Activity";
473
467
  }
474
468
  if (typeof e == "object")
475
469
  switch (typeof e.tag == "number" && console.error(
476
470
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
477
471
  ), e.$$typeof) {
478
- case ce:
472
+ case pe:
479
473
  return "Portal";
480
- case _:
481
- return (e.displayName || "Context") + ".Provider";
474
+ case E:
475
+ return e.displayName || "Context";
482
476
  case a:
483
477
  return (e._context.displayName || "Context") + ".Consumer";
484
- case R:
478
+ case m:
485
479
  var n = e.render;
486
480
  return e = e.displayName, e || (e = n.displayName || n.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
487
- case w:
488
- return n = e.displayName || null, n !== null ? n : $(e.type) || "Memo";
489
- case V:
481
+ case b:
482
+ return n = e.displayName || null, n !== null ? n : Q(e.type) || "Memo";
483
+ case $:
490
484
  n = e._payload, e = e._init;
491
485
  try {
492
- return $(e(n));
486
+ return Q(e(n));
493
487
  } catch {
494
488
  }
495
489
  }
496
490
  return null;
497
491
  }
498
- function F(e) {
492
+ function x(e) {
499
493
  if (e === t) return "<>";
500
- if (typeof e == "object" && e !== null && e.$$typeof === V)
494
+ if (typeof e == "object" && e !== null && e.$$typeof === $)
501
495
  return "<...>";
502
496
  try {
503
- var n = $(e);
497
+ var n = Q(e);
504
498
  return n ? "<" + n + ">" : "<...>";
505
499
  } catch {
506
500
  return "<...>";
507
501
  }
508
502
  }
509
- function ue() {
510
- var e = E.A;
503
+ function ce() {
504
+ var e = p.A;
511
505
  return e === null ? null : e.getOwner();
512
506
  }
513
- function x() {
507
+ function ee() {
514
508
  return Error("react-stack-top-frame");
515
509
  }
516
- function J(e) {
517
- if (le.call(e, "key")) {
510
+ function te(e) {
511
+ if (he.call(e, "key")) {
518
512
  var n = Object.getOwnPropertyDescriptor(e, "key").get;
519
513
  if (n && n.isReactWarning) return !1;
520
514
  }
521
515
  return e.key !== void 0;
522
516
  }
523
- function ie(e, n) {
524
- function s() {
525
- Ce || (Ce = !0, console.error(
517
+ function fe(e, n) {
518
+ function o() {
519
+ ke || (ke = !0, console.error(
526
520
  "%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://react.dev/link/special-props)",
527
521
  n
528
522
  ));
529
523
  }
530
- s.isReactWarning = !0, Object.defineProperty(e, "key", {
531
- get: s,
524
+ o.isReactWarning = !0, Object.defineProperty(e, "key", {
525
+ get: o,
532
526
  configurable: !0
533
527
  });
534
528
  }
535
529
  function Y() {
536
- var e = $(this.type);
537
- return ke[e] || (ke[e] = !0, console.error(
530
+ var e = Q(this.type);
531
+ return Ne[e] || (Ne[e] = !0, console.error(
538
532
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
539
533
  )), e = this.props.ref, e !== void 0 ? e : null;
540
534
  }
541
- function Q(e, n, s, u, i, m, l, y) {
542
- return s = m.ref, e = {
543
- $$typeof: X,
535
+ function X(e, n, o, u, i, h) {
536
+ var l = o.ref;
537
+ return e = {
538
+ $$typeof: F,
544
539
  type: e,
545
540
  key: n,
546
- props: m,
547
- _owner: i
548
- }, (s !== void 0 ? s : null) !== null ? Object.defineProperty(e, "ref", {
541
+ props: o,
542
+ _owner: u
543
+ }, (l !== void 0 ? l : null) !== null ? Object.defineProperty(e, "ref", {
549
544
  enumerable: !1,
550
545
  get: Y
551
546
  }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
@@ -562,48 +557,47 @@ function Qe() {
562
557
  configurable: !1,
563
558
  enumerable: !1,
564
559
  writable: !0,
565
- value: l
560
+ value: i
566
561
  }), Object.defineProperty(e, "_debugTask", {
567
562
  configurable: !1,
568
563
  enumerable: !1,
569
564
  writable: !0,
570
- value: y
565
+ value: h
571
566
  }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
572
567
  }
573
- function ee(e, n) {
574
- return n = Q(
568
+ function ne(e, n) {
569
+ return n = X(
575
570
  e.type,
576
571
  n,
577
- void 0,
578
- void 0,
579
- e._owner,
580
572
  e.props,
573
+ e._owner,
581
574
  e._debugStack,
582
575
  e._debugTask
583
576
  ), e._store && (n._store.validated = e._store.validated), n;
584
577
  }
585
- function L(e) {
586
- return typeof e == "object" && e !== null && e.$$typeof === X;
578
+ function Z(e) {
579
+ D(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === $ && (e._payload.status === "fulfilled" ? D(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
587
580
  }
588
- function ae(e) {
581
+ function D(e) {
582
+ return typeof e == "object" && e !== null && e.$$typeof === F;
583
+ }
584
+ function re(e) {
589
585
  var n = { "=": "=0", ":": "=2" };
590
- return "$" + e.replace(/[=:]/g, function(s) {
591
- return n[s];
586
+ return "$" + e.replace(/[=:]/g, function(o) {
587
+ return n[o];
592
588
  });
593
589
  }
594
- function g(e, n) {
595
- return typeof e == "object" && e !== null && e.key != null ? (D(e.key), ae("" + e.key)) : n.toString(36);
596
- }
597
- function te() {
590
+ function _(e, n) {
591
+ return typeof e == "object" && e !== null && e.key != null ? (B(e.key), re("" + e.key)) : n.toString(36);
598
592
  }
599
- function ne(e) {
593
+ function le(e) {
600
594
  switch (e.status) {
601
595
  case "fulfilled":
602
596
  return e.value;
603
597
  case "rejected":
604
598
  throw e.reason;
605
599
  default:
606
- switch (typeof e.status == "string" ? e.then(te, te) : (e.status = "pending", e.then(
600
+ switch (typeof e.status == "string" ? e.then(C, C) : (e.status = "pending", e.then(
607
601
  function(n) {
608
602
  e.status === "pending" && (e.status = "fulfilled", e.value = n);
609
603
  },
@@ -619,13 +613,13 @@ function Qe() {
619
613
  }
620
614
  throw e;
621
615
  }
622
- function U(e, n, s, u, i) {
623
- var m = typeof e;
624
- (m === "undefined" || m === "boolean") && (e = null);
616
+ function I(e, n, o, u, i) {
617
+ var h = typeof e;
618
+ (h === "undefined" || h === "boolean") && (e = null);
625
619
  var l = !1;
626
620
  if (e === null) l = !0;
627
621
  else
628
- switch (m) {
622
+ switch (h) {
629
623
  case "bigint":
630
624
  case "string":
631
625
  case "number":
@@ -633,15 +627,15 @@ function Qe() {
633
627
  break;
634
628
  case "object":
635
629
  switch (e.$$typeof) {
636
- case X:
637
- case ce:
630
+ case F:
631
+ case pe:
638
632
  l = !0;
639
633
  break;
640
- case V:
641
- return l = e._init, U(
634
+ case $:
635
+ return l = e._init, I(
642
636
  l(e._payload),
643
637
  n,
644
- s,
638
+ o,
645
639
  u,
646
640
  i
647
641
  );
@@ -649,43 +643,43 @@ function Qe() {
649
643
  }
650
644
  if (l) {
651
645
  l = e, i = i(l);
652
- var y = u === "" ? "." + g(l, 0) : u;
653
- return be(i) ? (s = "", y != null && (s = y.replace(Ne, "$&/") + "/"), U(i, n, s, "", function(z) {
654
- return z;
655
- })) : i != null && (L(i) && (i.key != null && (l && l.key === i.key || D(i.key)), s = ee(
646
+ var v = u === "" ? "." + _(l, 0) : u;
647
+ return Se(i) ? (o = "", v != null && (o = v.replace(je, "$&/") + "/"), I(i, n, o, "", function(q) {
648
+ return q;
649
+ })) : i != null && (D(i) && (i.key != null && (l && l.key === i.key || B(i.key)), o = ne(
656
650
  i,
657
- s + (i.key == null || l && l.key === i.key ? "" : ("" + i.key).replace(
658
- Ne,
651
+ o + (i.key == null || l && l.key === i.key ? "" : ("" + i.key).replace(
652
+ je,
659
653
  "$&/"
660
- ) + "/") + y
661
- ), u !== "" && l != null && L(l) && l.key == null && l._store && !l._store.validated && (s._store.validated = 2), i = s), n.push(i)), 1;
654
+ ) + "/") + v
655
+ ), u !== "" && l != null && D(l) && l.key == null && l._store && !l._store.validated && (o._store.validated = 2), i = o), n.push(i)), 1;
662
656
  }
663
- if (l = 0, y = u === "" ? "." : u + ":", be(e))
657
+ if (l = 0, v = u === "" ? "." : u + ":", Se(e))
664
658
  for (var d = 0; d < e.length; d++)
665
- u = e[d], m = y + g(u, d), l += U(
659
+ u = e[d], h = v + _(u, d), l += I(
666
660
  u,
667
661
  n,
668
- s,
669
- m,
662
+ o,
663
+ h,
670
664
  i
671
665
  );
672
- else if (d = b(e), typeof d == "function")
673
- for (d === e.entries && (Ae || console.warn(
666
+ else if (d = w(e), typeof d == "function")
667
+ for (d === e.entries && (Pe || console.warn(
674
668
  "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
675
- ), Ae = !0), e = d.call(e), d = 0; !(u = e.next()).done; )
676
- u = u.value, m = y + g(u, d++), l += U(
669
+ ), Pe = !0), e = d.call(e), d = 0; !(u = e.next()).done; )
670
+ u = u.value, h = v + _(u, d++), l += I(
677
671
  u,
678
672
  n,
679
- s,
680
- m,
673
+ o,
674
+ h,
681
675
  i
682
676
  );
683
- else if (m === "object") {
677
+ else if (h === "object") {
684
678
  if (typeof e.then == "function")
685
- return U(
686
- ne(e),
679
+ return I(
680
+ le(e),
687
681
  n,
688
- s,
682
+ o,
689
683
  u,
690
684
  i
691
685
  );
@@ -695,24 +689,39 @@ function Qe() {
695
689
  }
696
690
  return l;
697
691
  }
698
- function W(e, n, s) {
692
+ function V(e, n, o) {
699
693
  if (e == null) return e;
700
694
  var u = [], i = 0;
701
- return U(e, u, "", "", function(m) {
702
- return n.call(s, m, i++);
695
+ return I(e, u, "", "", function(h) {
696
+ return n.call(o, h, i++);
703
697
  }), u;
704
698
  }
705
- function me(e) {
699
+ function oe(e) {
706
700
  if (e._status === -1) {
707
- var n = e._result;
708
- n = n(), n.then(
709
- function(s) {
710
- (e._status === 0 || e._status === -1) && (e._status = 1, e._result = s);
701
+ var n = e._ioInfo;
702
+ n != null && (n.start = n.end = performance.now()), n = e._result;
703
+ var o = n();
704
+ if (o.then(
705
+ function(i) {
706
+ if (e._status === 0 || e._status === -1) {
707
+ e._status = 1, e._result = i;
708
+ var h = e._ioInfo;
709
+ h != null && (h.end = performance.now()), o.status === void 0 && (o.status = "fulfilled", o.value = i);
710
+ }
711
711
  },
712
- function(s) {
713
- (e._status === 0 || e._status === -1) && (e._status = 2, e._result = s);
712
+ function(i) {
713
+ if (e._status === 0 || e._status === -1) {
714
+ e._status = 2, e._result = i;
715
+ var h = e._ioInfo;
716
+ h != null && (h.end = performance.now()), o.status === void 0 && (o.status = "rejected", o.reason = i);
717
+ }
714
718
  }
715
- ), e._status === -1 && (e._status = 0, e._result = n);
719
+ ), n = e._ioInfo, n != null) {
720
+ n.value = o;
721
+ var u = o.displayName;
722
+ typeof u == "string" && (n.name = u);
723
+ }
724
+ e._status === -1 && (e._status = 0, e._result = o);
716
725
  }
717
726
  if (e._status === 1)
718
727
  return n = e._result, n === void 0 && console.error(
@@ -732,8 +741,8 @@ Your code should look like:
732
741
  ), n.default;
733
742
  throw e._result;
734
743
  }
735
- function T() {
736
- var e = E.H;
744
+ function R() {
745
+ var e = p.H;
737
746
  return e === null && console.error(
738
747
  `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
739
748
  1. You might have mismatching versions of React and the renderer (such as React DOM)
@@ -742,79 +751,80 @@ Your code should look like:
742
751
  See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
743
752
  ), e;
744
753
  }
745
- function re() {
754
+ function se() {
755
+ p.asyncTransitions--;
746
756
  }
747
- function B(e) {
748
- if (pe === null)
757
+ function U(e) {
758
+ if (de === null)
749
759
  try {
750
760
  var n = ("require" + Math.random()).slice(0, 7);
751
- pe = (v && v[n]).call(
752
- v,
761
+ de = (T && T[n]).call(
762
+ T,
753
763
  "timers"
754
764
  ).setImmediate;
755
765
  } catch {
756
- pe = function(u) {
757
- je === !1 && (je = !0, typeof MessageChannel > "u" && console.error(
766
+ de = function(u) {
767
+ Ie === !1 && (Ie = !0, typeof MessageChannel > "u" && console.error(
758
768
  "This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."
759
769
  ));
760
770
  var i = new MessageChannel();
761
771
  i.port1.onmessage = u, i.port2.postMessage(void 0);
762
772
  };
763
773
  }
764
- return pe(e);
774
+ return de(e);
765
775
  }
766
776
  function K(e) {
767
777
  return 1 < e.length && typeof AggregateError == "function" ? new AggregateError(e) : e[0];
768
778
  }
769
- function j(e, n) {
770
- n !== de - 1 && console.error(
779
+ function L(e, n) {
780
+ n !== ye - 1 && console.error(
771
781
  "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
772
- ), de = n;
782
+ ), ye = n;
773
783
  }
774
- function q(e, n, s) {
775
- var u = E.actQueue;
784
+ function W(e, n, o) {
785
+ var u = p.actQueue;
776
786
  if (u !== null)
777
787
  if (u.length !== 0)
778
788
  try {
779
- oe(u), B(function() {
780
- return q(e, n, s);
789
+ ue(u), U(function() {
790
+ return W(e, n, o);
781
791
  });
782
792
  return;
783
793
  } catch (i) {
784
- E.thrownErrors.push(i);
794
+ p.thrownErrors.push(i);
785
795
  }
786
- else E.actQueue = null;
787
- 0 < E.thrownErrors.length ? (u = K(E.thrownErrors), E.thrownErrors.length = 0, s(u)) : n(e);
796
+ else p.actQueue = null;
797
+ 0 < p.thrownErrors.length ? (u = K(p.thrownErrors), p.thrownErrors.length = 0, o(u)) : n(e);
788
798
  }
789
- function oe(e) {
790
- if (!ye) {
791
- ye = !0;
799
+ function ue(e) {
800
+ if (!ge) {
801
+ ge = !0;
792
802
  var n = 0;
793
803
  try {
794
804
  for (; n < e.length; n++) {
795
- var s = e[n];
805
+ var o = e[n];
796
806
  do {
797
- E.didUsePromise = !1;
798
- var u = s(!1);
807
+ p.didUsePromise = !1;
808
+ var u = o(!1);
799
809
  if (u !== null) {
800
- if (E.didUsePromise) {
801
- e[n] = s, e.splice(0, n);
810
+ if (p.didUsePromise) {
811
+ e[n] = o, e.splice(0, n);
802
812
  return;
803
813
  }
804
- s = u;
814
+ o = u;
805
815
  } else break;
806
816
  } while (!0);
807
817
  }
808
818
  e.length = 0;
809
819
  } catch (i) {
810
- e.splice(0, n + 1), E.thrownErrors.push(i);
820
+ e.splice(0, n + 1), p.thrownErrors.push(i);
811
821
  } finally {
812
- ye = !1;
822
+ ge = !1;
813
823
  }
814
824
  }
815
825
  }
816
826
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
817
- var X = Symbol.for("react.transitional.element"), ce = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), _ = Symbol.for("react.context"), R = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), I = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), V = Symbol.for("react.lazy"), Ye = Symbol.for("react.activity"), ve = Symbol.iterator, Re = {}, Te = {
827
+ var F = Symbol.for("react.transitional.element"), pe = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), E = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), $ = Symbol.for("react.lazy"), Te = Symbol.for("react.activity"), Re = Symbol.iterator, we = {}, be = {
818
828
  isMounted: function() {
819
829
  return !1;
820
830
  },
@@ -827,17 +837,17 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
827
837
  enqueueSetState: function(e) {
828
838
  M(e, "setState");
829
839
  }
830
- }, we = Object.assign, _e = {};
831
- Object.freeze(_e), k.prototype.isReactComponent = {}, k.prototype.setState = function(e, n) {
840
+ }, Oe = Object.assign, _e = {};
841
+ Object.freeze(_e), A.prototype.isReactComponent = {}, A.prototype.setState = function(e, n) {
832
842
  if (typeof e != "object" && typeof e != "function" && e != null)
833
843
  throw Error(
834
844
  "takes an object of state variables to update or a function which returns an object of state variables."
835
845
  );
836
846
  this.updater.enqueueSetState(this, e, n, "setState");
837
- }, k.prototype.forceUpdate = function(e) {
847
+ }, A.prototype.forceUpdate = function(e) {
838
848
  this.updater.enqueueForceUpdate(this, e, "forceUpdate");
839
849
  };
840
- var N = {
850
+ var P = {
841
851
  isMounted: [
842
852
  "isMounted",
843
853
  "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
@@ -846,35 +856,35 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
846
856
  "replaceState",
847
857
  "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
848
858
  ]
849
- }, fe;
850
- for (fe in N)
851
- N.hasOwnProperty(fe) && h(fe, N[fe]);
852
- G.prototype = k.prototype, N = O.prototype = new G(), N.constructor = O, we(N, k.prototype), N.isPureReactComponent = !0;
853
- var be = Array.isArray, Ue = Symbol.for("react.client.reference"), E = {
859
+ };
860
+ for (ie in P)
861
+ P.hasOwnProperty(ie) && y(ie, P[ie]);
862
+ z.prototype = A.prototype, P = O.prototype = new z(), P.constructor = O, Oe(P, A.prototype), P.isPureReactComponent = !0;
863
+ var Se = Array.isArray, We = Symbol.for("react.client.reference"), p = {
854
864
  H: null,
855
865
  A: null,
856
866
  T: null,
857
867
  S: null,
858
- V: null,
859
868
  actQueue: null,
869
+ asyncTransitions: 0,
860
870
  isBatchingLegacy: !1,
861
871
  didScheduleLegacyUpdate: !1,
862
872
  didUsePromise: !1,
863
873
  thrownErrors: [],
864
874
  getCurrentStack: null,
865
875
  recentlyCreatedOwnerStacks: 0
866
- }, le = Object.prototype.hasOwnProperty, Oe = console.createTask ? console.createTask : function() {
876
+ }, he = Object.prototype.hasOwnProperty, Ce = console.createTask ? console.createTask : function() {
867
877
  return null;
868
878
  };
869
- N = {
879
+ P = {
870
880
  react_stack_bottom_frame: function(e) {
871
881
  return e();
872
882
  }
873
883
  };
874
- var Ce, Se, ke = {}, We = N.react_stack_bottom_frame.bind(
875
- N,
876
- x
877
- )(), qe = Oe(F(x)), Ae = !1, Ne = /\/+/g, Pe = typeof reportError == "function" ? reportError : function(e) {
884
+ var ke, Ae, Ne = {}, qe = P.react_stack_bottom_frame.bind(
885
+ P,
886
+ ee
887
+ )(), ze = Ce(x(ee)), Pe = !1, je = /\/+/g, Le = typeof reportError == "function" ? reportError : function(e) {
878
888
  if (typeof window == "object" && typeof window.ErrorEvent == "function") {
879
889
  var n = new window.ErrorEvent("error", {
880
890
  bubbles: !0,
@@ -888,130 +898,134 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
888
898
  return;
889
899
  }
890
900
  console.error(e);
891
- }, je = !1, pe = null, de = 0, he = !1, ye = !1, Le = typeof queueMicrotask == "function" ? function(e) {
901
+ }, Ie = !1, de = null, ye = 0, Ee = !1, ge = !1, Me = typeof queueMicrotask == "function" ? function(e) {
892
902
  queueMicrotask(function() {
893
903
  return queueMicrotask(e);
894
904
  });
895
- } : B;
896
- N = Object.freeze({
905
+ } : U;
906
+ P = Object.freeze({
897
907
  __proto__: null,
898
908
  c: function(e) {
899
- return T().useMemoCache(e);
909
+ return R().useMemoCache(e);
900
910
  }
901
- }), r.Children = {
902
- map: W,
903
- forEach: function(e, n, s) {
904
- W(
911
+ });
912
+ var ie = {
913
+ map: V,
914
+ forEach: function(e, n, o) {
915
+ V(
905
916
  e,
906
917
  function() {
907
918
  n.apply(this, arguments);
908
919
  },
909
- s
920
+ o
910
921
  );
911
922
  },
912
923
  count: function(e) {
913
924
  var n = 0;
914
- return W(e, function() {
925
+ return V(e, function() {
915
926
  n++;
916
927
  }), n;
917
928
  },
918
929
  toArray: function(e) {
919
- return W(e, function(n) {
930
+ return V(e, function(n) {
920
931
  return n;
921
932
  }) || [];
922
933
  },
923
934
  only: function(e) {
924
- if (!L(e))
935
+ if (!D(e))
925
936
  throw Error(
926
937
  "React.Children.only expected to receive a single React element child."
927
938
  );
928
939
  return e;
929
940
  }
930
- }, r.Component = k, r.Fragment = t, r.Profiler = c, r.PureComponent = O, r.StrictMode = o, r.Suspense = p, r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = E, r.__COMPILER_RUNTIME = N, r.act = function(e) {
931
- var n = E.actQueue, s = de;
932
- de++;
933
- var u = E.actQueue = n !== null ? n : [], i = !1;
941
+ };
942
+ r.Activity = Te, r.Children = ie, r.Component = A, r.Fragment = t, r.Profiler = c, r.PureComponent = O, r.StrictMode = s, r.Suspense = g, r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = p, r.__COMPILER_RUNTIME = P, r.act = function(e) {
943
+ var n = p.actQueue, o = ye;
944
+ ye++;
945
+ var u = p.actQueue = n !== null ? n : [], i = !1;
934
946
  try {
935
- var m = e();
947
+ var h = e();
936
948
  } catch (d) {
937
- E.thrownErrors.push(d);
949
+ p.thrownErrors.push(d);
938
950
  }
939
- if (0 < E.thrownErrors.length)
940
- throw j(n, s), e = K(E.thrownErrors), E.thrownErrors.length = 0, e;
941
- if (m !== null && typeof m == "object" && typeof m.then == "function") {
942
- var l = m;
943
- return Le(function() {
944
- i || he || (he = !0, console.error(
951
+ if (0 < p.thrownErrors.length)
952
+ throw L(n, o), e = K(p.thrownErrors), p.thrownErrors.length = 0, e;
953
+ if (h !== null && typeof h == "object" && typeof h.then == "function") {
954
+ var l = h;
955
+ return Me(function() {
956
+ i || Ee || (Ee = !0, console.error(
945
957
  "You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"
946
958
  ));
947
959
  }), {
948
- then: function(d, z) {
960
+ then: function(d, q) {
949
961
  i = !0, l.then(
950
- function(Z) {
951
- if (j(n, s), s === 0) {
962
+ function(J) {
963
+ if (L(n, o), o === 0) {
952
964
  try {
953
- oe(u), B(function() {
954
- return q(
955
- Z,
965
+ ue(u), U(function() {
966
+ return W(
967
+ J,
956
968
  d,
957
- z
969
+ q
958
970
  );
959
971
  });
960
- } catch (Ge) {
961
- E.thrownErrors.push(Ge);
972
+ } catch (Be) {
973
+ p.thrownErrors.push(Be);
962
974
  }
963
- if (0 < E.thrownErrors.length) {
964
- var ze = K(
965
- E.thrownErrors
975
+ if (0 < p.thrownErrors.length) {
976
+ var Ge = K(
977
+ p.thrownErrors
966
978
  );
967
- E.thrownErrors.length = 0, z(ze);
979
+ p.thrownErrors.length = 0, q(Ge);
968
980
  }
969
- } else d(Z);
981
+ } else d(J);
970
982
  },
971
- function(Z) {
972
- j(n, s), 0 < E.thrownErrors.length && (Z = K(
973
- E.thrownErrors
974
- ), E.thrownErrors.length = 0), z(Z);
983
+ function(J) {
984
+ L(n, o), 0 < p.thrownErrors.length && (J = K(
985
+ p.thrownErrors
986
+ ), p.thrownErrors.length = 0), q(J);
975
987
  }
976
988
  );
977
989
  }
978
990
  };
979
991
  }
980
- var y = m;
981
- if (j(n, s), s === 0 && (oe(u), u.length !== 0 && Le(function() {
982
- i || he || (he = !0, console.error(
992
+ var v = h;
993
+ if (L(n, o), o === 0 && (ue(u), u.length !== 0 && Me(function() {
994
+ i || Ee || (Ee = !0, console.error(
983
995
  "A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
984
996
  ));
985
- }), E.actQueue = null), 0 < E.thrownErrors.length)
986
- throw e = K(E.thrownErrors), E.thrownErrors.length = 0, e;
997
+ }), p.actQueue = null), 0 < p.thrownErrors.length)
998
+ throw e = K(p.thrownErrors), p.thrownErrors.length = 0, e;
987
999
  return {
988
- then: function(d, z) {
989
- i = !0, s === 0 ? (E.actQueue = u, B(function() {
990
- return q(
991
- y,
1000
+ then: function(d, q) {
1001
+ i = !0, o === 0 ? (p.actQueue = u, U(function() {
1002
+ return W(
1003
+ v,
992
1004
  d,
993
- z
1005
+ q
994
1006
  );
995
- })) : d(y);
1007
+ })) : d(v);
996
1008
  }
997
1009
  };
998
1010
  }, r.cache = function(e) {
999
1011
  return function() {
1000
1012
  return e.apply(null, arguments);
1001
1013
  };
1014
+ }, r.cacheSignal = function() {
1015
+ return null;
1002
1016
  }, r.captureOwnerStack = function() {
1003
- var e = E.getCurrentStack;
1017
+ var e = p.getCurrentStack;
1004
1018
  return e === null ? null : e();
1005
- }, r.cloneElement = function(e, n, s) {
1019
+ }, r.cloneElement = function(e, n, o) {
1006
1020
  if (e == null)
1007
1021
  throw Error(
1008
1022
  "The argument must be a React element, but you passed " + e + "."
1009
1023
  );
1010
- var u = we({}, e.props), i = e.key, m = e._owner;
1024
+ var u = Oe({}, e.props), i = e.key, h = e._owner;
1011
1025
  if (n != null) {
1012
1026
  var l;
1013
1027
  e: {
1014
- if (le.call(n, "ref") && (l = Object.getOwnPropertyDescriptor(
1028
+ if (he.call(n, "ref") && (l = Object.getOwnPropertyDescriptor(
1015
1029
  n,
1016
1030
  "ref"
1017
1031
  ).get) && l.isReactWarning) {
@@ -1020,33 +1034,31 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1020
1034
  }
1021
1035
  l = n.ref !== void 0;
1022
1036
  }
1023
- l && (m = ue()), J(n) && (D(n.key), i = "" + n.key);
1024
- for (y in n)
1025
- !le.call(n, y) || y === "key" || y === "__self" || y === "__source" || y === "ref" && n.ref === void 0 || (u[y] = n[y]);
1037
+ l && (h = ce()), te(n) && (B(n.key), i = "" + n.key);
1038
+ for (v in n)
1039
+ !he.call(n, v) || v === "key" || v === "__self" || v === "__source" || v === "ref" && n.ref === void 0 || (u[v] = n[v]);
1026
1040
  }
1027
- var y = arguments.length - 2;
1028
- if (y === 1) u.children = s;
1029
- else if (1 < y) {
1030
- l = Array(y);
1031
- for (var d = 0; d < y; d++)
1041
+ var v = arguments.length - 2;
1042
+ if (v === 1) u.children = o;
1043
+ else if (1 < v) {
1044
+ l = Array(v);
1045
+ for (var d = 0; d < v; d++)
1032
1046
  l[d] = arguments[d + 2];
1033
1047
  u.children = l;
1034
1048
  }
1035
- for (u = Q(
1049
+ for (u = X(
1036
1050
  e.type,
1037
1051
  i,
1038
- void 0,
1039
- void 0,
1040
- m,
1041
1052
  u,
1053
+ h,
1042
1054
  e._debugStack,
1043
1055
  e._debugTask
1044
1056
  ), i = 2; i < arguments.length; i++)
1045
- m = arguments[i], L(m) && m._store && (m._store.validated = 1);
1057
+ Z(arguments[i]);
1046
1058
  return u;
1047
1059
  }, r.createContext = function(e) {
1048
1060
  return e = {
1049
- $$typeof: _,
1061
+ $$typeof: E,
1050
1062
  _currentValue: e,
1051
1063
  _currentValue2: e,
1052
1064
  _threadCount: 0,
@@ -1056,46 +1068,44 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1056
1068
  $$typeof: a,
1057
1069
  _context: e
1058
1070
  }, e._currentRenderer = null, e._currentRenderer2 = null, e;
1059
- }, r.createElement = function(e, n, s) {
1060
- for (var u = 2; u < arguments.length; u++) {
1061
- var i = arguments[u];
1062
- L(i) && i._store && (i._store.validated = 1);
1063
- }
1064
- if (u = {}, i = null, n != null)
1065
- for (d in Se || !("__self" in n) || "key" in n || (Se = !0, console.warn(
1071
+ }, r.createElement = function(e, n, o) {
1072
+ for (var u = 2; u < arguments.length; u++)
1073
+ Z(arguments[u]);
1074
+ u = {};
1075
+ var i = null;
1076
+ if (n != null)
1077
+ for (d in Ae || !("__self" in n) || "key" in n || (Ae = !0, console.warn(
1066
1078
  "Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
1067
- )), J(n) && (D(n.key), i = "" + n.key), n)
1068
- le.call(n, d) && d !== "key" && d !== "__self" && d !== "__source" && (u[d] = n[d]);
1069
- var m = arguments.length - 2;
1070
- if (m === 1) u.children = s;
1071
- else if (1 < m) {
1072
- for (var l = Array(m), y = 0; y < m; y++)
1073
- l[y] = arguments[y + 2];
1079
+ )), te(n) && (B(n.key), i = "" + n.key), n)
1080
+ he.call(n, d) && d !== "key" && d !== "__self" && d !== "__source" && (u[d] = n[d]);
1081
+ var h = arguments.length - 2;
1082
+ if (h === 1) u.children = o;
1083
+ else if (1 < h) {
1084
+ for (var l = Array(h), v = 0; v < h; v++)
1085
+ l[v] = arguments[v + 2];
1074
1086
  Object.freeze && Object.freeze(l), u.children = l;
1075
1087
  }
1076
1088
  if (e && e.defaultProps)
1077
- for (d in m = e.defaultProps, m)
1078
- u[d] === void 0 && (u[d] = m[d]);
1079
- i && ie(
1089
+ for (d in h = e.defaultProps, h)
1090
+ u[d] === void 0 && (u[d] = h[d]);
1091
+ i && fe(
1080
1092
  u,
1081
1093
  typeof e == "function" ? e.displayName || e.name || "Unknown" : e
1082
1094
  );
1083
- var d = 1e4 > E.recentlyCreatedOwnerStacks++;
1084
- return Q(
1095
+ var d = 1e4 > p.recentlyCreatedOwnerStacks++;
1096
+ return X(
1085
1097
  e,
1086
1098
  i,
1087
- void 0,
1088
- void 0,
1089
- ue(),
1090
1099
  u,
1091
- d ? Error("react-stack-top-frame") : We,
1092
- d ? Oe(F(e)) : qe
1100
+ ce(),
1101
+ d ? Error("react-stack-top-frame") : qe,
1102
+ d ? Ce(x(e)) : ze
1093
1103
  );
1094
1104
  }, r.createRef = function() {
1095
1105
  var e = { current: null };
1096
1106
  return Object.seal(e), e;
1097
1107
  }, r.forwardRef = function(e) {
1098
- e != null && e.$$typeof === w ? console.error(
1108
+ e != null && e.$$typeof === b ? console.error(
1099
1109
  "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
1100
1110
  ) : typeof e != "function" ? console.error(
1101
1111
  "forwardRef requires a render function but was given %s.",
@@ -1106,131 +1116,139 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
1106
1116
  ), e != null && e.defaultProps != null && console.error(
1107
1117
  "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
1108
1118
  );
1109
- var n = { $$typeof: R, render: e }, s;
1119
+ var n = { $$typeof: m, render: e }, o;
1110
1120
  return Object.defineProperty(n, "displayName", {
1111
1121
  enumerable: !1,
1112
1122
  configurable: !0,
1113
1123
  get: function() {
1114
- return s;
1124
+ return o;
1115
1125
  },
1116
1126
  set: function(u) {
1117
- s = u, e.name || e.displayName || (Object.defineProperty(e, "name", { value: u }), e.displayName = u);
1127
+ o = u, e.name || e.displayName || (Object.defineProperty(e, "name", { value: u }), e.displayName = u);
1118
1128
  }
1119
1129
  }), n;
1120
- }, r.isValidElement = L, r.lazy = function(e) {
1121
- return {
1122
- $$typeof: V,
1123
- _payload: { _status: -1, _result: e },
1124
- _init: me
1130
+ }, r.isValidElement = D, r.lazy = function(e) {
1131
+ e = { _status: -1, _result: e };
1132
+ var n = {
1133
+ $$typeof: $,
1134
+ _payload: e,
1135
+ _init: oe
1136
+ }, o = {
1137
+ name: "lazy",
1138
+ start: -1,
1139
+ end: -1,
1140
+ value: null,
1141
+ owner: null,
1142
+ debugStack: Error("react-stack-top-frame"),
1143
+ debugTask: console.createTask ? console.createTask("lazy()") : null
1125
1144
  };
1145
+ return e._ioInfo = o, n._debugInfo = [{ awaited: o }], n;
1126
1146
  }, r.memo = function(e, n) {
1127
1147
  e == null && console.error(
1128
1148
  "memo: The first argument must be a component. Instead received: %s",
1129
1149
  e === null ? "null" : typeof e
1130
1150
  ), n = {
1131
- $$typeof: w,
1151
+ $$typeof: b,
1132
1152
  type: e,
1133
1153
  compare: n === void 0 ? null : n
1134
1154
  };
1135
- var s;
1155
+ var o;
1136
1156
  return Object.defineProperty(n, "displayName", {
1137
1157
  enumerable: !1,
1138
1158
  configurable: !0,
1139
1159
  get: function() {
1140
- return s;
1160
+ return o;
1141
1161
  },
1142
1162
  set: function(u) {
1143
- s = u, e.name || e.displayName || (Object.defineProperty(e, "name", { value: u }), e.displayName = u);
1163
+ o = u, e.name || e.displayName || (Object.defineProperty(e, "name", { value: u }), e.displayName = u);
1144
1164
  }
1145
1165
  }), n;
1146
1166
  }, r.startTransition = function(e) {
1147
- var n = E.T, s = {};
1148
- E.T = s, s._updatedFibers = /* @__PURE__ */ new Set();
1167
+ var n = p.T, o = {};
1168
+ o._updatedFibers = /* @__PURE__ */ new Set(), p.T = o;
1149
1169
  try {
1150
- var u = e(), i = E.S;
1151
- i !== null && i(s, u), typeof u == "object" && u !== null && typeof u.then == "function" && u.then(re, Pe);
1152
- } catch (m) {
1153
- Pe(m);
1170
+ var u = e(), i = p.S;
1171
+ i !== null && i(o, u), typeof u == "object" && u !== null && typeof u.then == "function" && (p.asyncTransitions++, u.then(se, se), u.then(C, Le));
1172
+ } catch (h) {
1173
+ Le(h);
1154
1174
  } finally {
1155
- n === null && s._updatedFibers && (e = s._updatedFibers.size, s._updatedFibers.clear(), 10 < e && console.warn(
1175
+ n === null && o._updatedFibers && (e = o._updatedFibers.size, o._updatedFibers.clear(), 10 < e && console.warn(
1156
1176
  "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
1157
- )), E.T = n;
1177
+ )), n !== null && o.types !== null && (n.types !== null && n.types !== o.types && console.error(
1178
+ "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
1179
+ ), n.types = o.types), p.T = n;
1158
1180
  }
1159
1181
  }, r.unstable_useCacheRefresh = function() {
1160
- return T().useCacheRefresh();
1182
+ return R().useCacheRefresh();
1161
1183
  }, r.use = function(e) {
1162
- return T().use(e);
1163
- }, r.useActionState = function(e, n, s) {
1164
- return T().useActionState(
1184
+ return R().use(e);
1185
+ }, r.useActionState = function(e, n, o) {
1186
+ return R().useActionState(
1165
1187
  e,
1166
1188
  n,
1167
- s
1189
+ o
1168
1190
  );
1169
1191
  }, r.useCallback = function(e, n) {
1170
- return T().useCallback(e, n);
1192
+ return R().useCallback(e, n);
1171
1193
  }, r.useContext = function(e) {
1172
- var n = T();
1194
+ var n = R();
1173
1195
  return e.$$typeof === a && console.error(
1174
1196
  "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
1175
1197
  ), n.useContext(e);
1176
1198
  }, r.useDebugValue = function(e, n) {
1177
- return T().useDebugValue(e, n);
1199
+ return R().useDebugValue(e, n);
1178
1200
  }, r.useDeferredValue = function(e, n) {
1179
- return T().useDeferredValue(e, n);
1180
- }, r.useEffect = function(e, n, s) {
1181
- e == null && console.warn(
1201
+ return R().useDeferredValue(e, n);
1202
+ }, r.useEffect = function(e, n) {
1203
+ return e == null && console.warn(
1182
1204
  "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1183
- );
1184
- var u = T();
1185
- if (typeof s == "function")
1186
- throw Error(
1187
- "useEffect CRUD overload is not enabled in this build of React."
1188
- );
1189
- return u.useEffect(e, n);
1205
+ ), R().useEffect(e, n);
1206
+ }, r.useEffectEvent = function(e) {
1207
+ return R().useEffectEvent(e);
1190
1208
  }, r.useId = function() {
1191
- return T().useId();
1192
- }, r.useImperativeHandle = function(e, n, s) {
1193
- return T().useImperativeHandle(e, n, s);
1209
+ return R().useId();
1210
+ }, r.useImperativeHandle = function(e, n, o) {
1211
+ return R().useImperativeHandle(e, n, o);
1194
1212
  }, r.useInsertionEffect = function(e, n) {
1195
1213
  return e == null && console.warn(
1196
1214
  "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1197
- ), T().useInsertionEffect(e, n);
1215
+ ), R().useInsertionEffect(e, n);
1198
1216
  }, r.useLayoutEffect = function(e, n) {
1199
1217
  return e == null && console.warn(
1200
1218
  "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
1201
- ), T().useLayoutEffect(e, n);
1219
+ ), R().useLayoutEffect(e, n);
1202
1220
  }, r.useMemo = function(e, n) {
1203
- return T().useMemo(e, n);
1221
+ return R().useMemo(e, n);
1204
1222
  }, r.useOptimistic = function(e, n) {
1205
- return T().useOptimistic(e, n);
1206
- }, r.useReducer = function(e, n, s) {
1207
- return T().useReducer(e, n, s);
1223
+ return R().useOptimistic(e, n);
1224
+ }, r.useReducer = function(e, n, o) {
1225
+ return R().useReducer(e, n, o);
1208
1226
  }, r.useRef = function(e) {
1209
- return T().useRef(e);
1227
+ return R().useRef(e);
1210
1228
  }, r.useState = function(e) {
1211
- return T().useState(e);
1212
- }, r.useSyncExternalStore = function(e, n, s) {
1213
- return T().useSyncExternalStore(
1229
+ return R().useState(e);
1230
+ }, r.useSyncExternalStore = function(e, n, o) {
1231
+ return R().useSyncExternalStore(
1214
1232
  e,
1215
1233
  n,
1216
- s
1234
+ o
1217
1235
  );
1218
1236
  }, r.useTransition = function() {
1219
- return T().useTransition();
1220
- }, r.version = "19.1.1", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1237
+ return R().useTransition();
1238
+ }, r.version = "19.2.3", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1221
1239
  })();
1222
- })(se, se.exports)), se.exports;
1240
+ })(ae, ae.exports)), ae.exports;
1223
1241
  }
1224
- var He;
1225
- function Xe() {
1226
- return He || (He = 1, process.env.NODE_ENV === "production" ? Ee.exports = Ke() : Ee.exports = Qe()), Ee.exports;
1242
+ var Ue;
1243
+ function Ze() {
1244
+ return Ue || (Ue = 1, process.env.NODE_ENV === "production" ? me.exports = Qe() : me.exports = Xe()), me.exports;
1227
1245
  }
1228
- Xe();
1229
- const S = class S {
1246
+ Ze();
1247
+ const k = class k {
1230
1248
  constructor(r) {
1231
1249
  H(this, "socket", null);
1232
1250
  H(this, "config");
1233
- H(this, "status", P.DISCONNECTED);
1251
+ H(this, "status", j.DISCONNECTED);
1234
1252
  H(this, "reconnectAttempts", 0);
1235
1253
  H(this, "reconnectTimer", null);
1236
1254
  H(this, "heartbeatTimer", null);
@@ -1247,17 +1265,17 @@ const S = class S {
1247
1265
  * 获取单例实例
1248
1266
  */
1249
1267
  static getInstance(r) {
1250
- if (S.instance)
1251
- r && (JSON.stringify(S.instance.config) !== JSON.stringify(r) && (S.instance = new S(r)), r && (S.instance.config = {
1252
- ...S.instance.config,
1268
+ if (k.instance)
1269
+ r && (JSON.stringify(k.instance.config) !== JSON.stringify(r) && (k.instance = new k(r)), r && (k.instance.config = {
1270
+ ...k.instance.config,
1253
1271
  ...r
1254
1272
  }));
1255
1273
  else {
1256
1274
  if (!r)
1257
1275
  throw new Error("首次创建SocketConnection实例时必须提供配置");
1258
- S.instance = new S(r);
1276
+ k.instance = new k(r);
1259
1277
  }
1260
- return S.instance;
1278
+ return k.instance;
1261
1279
  }
1262
1280
  /**
1263
1281
  * 连接WebSocket
@@ -1266,25 +1284,25 @@ const S = class S {
1266
1284
  return this.config = {
1267
1285
  ...this.config,
1268
1286
  ...r
1269
- }, new Promise((h, b) => {
1270
- var k, G;
1271
- if (((k = this.socket) == null ? void 0 : k.readyState) === WebSocket.OPEN) {
1272
- h();
1287
+ }, new Promise((y, w) => {
1288
+ var A, z;
1289
+ if (((A = this.socket) == null ? void 0 : A.readyState) === WebSocket.OPEN) {
1290
+ y();
1273
1291
  return;
1274
1292
  }
1275
- const M = this.config.url + ((G = this.config) != null && G.params ? `?${Object.entries(this.config.params).map(([O, A]) => `${O}=${A}`).join("&")}` : "");
1293
+ const M = this.config.url + ((z = this.config) != null && z.params ? `?${Object.entries(this.config.params).map(([O, C]) => `${O}=${C}`).join("&")}` : "");
1276
1294
  if (M) {
1277
- this.setStatus(P.CONNECTING), this.log("正在连接WebSocket...", M);
1295
+ this.setStatus(j.CONNECTING), this.log("正在连接WebSocket...", M);
1278
1296
  try {
1279
1297
  this.socket = new WebSocket(M, this.config.protocols), this.setupEventListeners(), this.socket.onopen = () => {
1280
- var O, A;
1281
- this.log("WebSocket连接成功"), this.setStatus(P.CONNECTED), this.reconnectAttempts = 0, this.startHeartbeat(), (A = (O = this.eventListeners).open) == null || A.call(O), h();
1298
+ var O, C;
1299
+ this.log("WebSocket连接成功"), this.setStatus(j.CONNECTED), this.reconnectAttempts = 0, this.startHeartbeat(), (C = (O = this.eventListeners).open) == null || C.call(O), y();
1282
1300
  }, this.socket.onerror = (O) => {
1283
- var A, D;
1284
- this.log("WebSocket连接错误:", O), this.setStatus(P.ERROR), (D = (A = this.eventListeners).error) == null || D.call(A, O), b(O);
1301
+ var C, G;
1302
+ this.log("WebSocket连接错误:", O), this.setStatus(j.ERROR), (G = (C = this.eventListeners).error) == null || G.call(C, O), w(O);
1285
1303
  };
1286
1304
  } catch (O) {
1287
- this.log("创建WebSocket连接失败:", O), this.setStatus(P.ERROR), b(O);
1305
+ this.log("创建WebSocket连接失败:", O), this.setStatus(j.ERROR), w(O);
1288
1306
  }
1289
1307
  }
1290
1308
  });
@@ -1293,14 +1311,14 @@ const S = class S {
1293
1311
  * 断开连接
1294
1312
  */
1295
1313
  disconnect() {
1296
- this.log("正在断开WebSocket连接..."), this.stopHeartbeat(), this.clearReconnectTimer(), this.socket && (this.socket.close(1e3, "主动断开连接"), this.socket = null), this.setStatus(P.DISCONNECTED);
1314
+ this.log("正在断开WebSocket连接..."), this.stopHeartbeat(), this.clearReconnectTimer(), this.socket && (this.socket.close(1e3, "主动断开连接"), this.socket = null), this.setStatus(j.DISCONNECTED);
1297
1315
  }
1298
1316
  /**
1299
1317
  * 发送消息
1300
1318
  */
1301
1319
  send(r) {
1302
- var h;
1303
- return ((h = this.socket) == null ? void 0 : h.readyState) === WebSocket.OPEN ? (this.socket.send(r), this.log("发送消息:", r), !0) : (this.log("WebSocket未连接,无法发送消息"), !1);
1320
+ var y;
1321
+ return ((y = this.socket) == null ? void 0 : y.readyState) === WebSocket.OPEN ? (this.socket.send(r), this.log("发送消息:", r), !0) : (this.log("WebSocket未连接,无法发送消息"), !1);
1304
1322
  }
1305
1323
  /**
1306
1324
  * 发送JSON消息
@@ -1311,8 +1329,8 @@ const S = class S {
1311
1329
  /**
1312
1330
  * 添加事件监听器
1313
1331
  */
1314
- on(r, h) {
1315
- this.eventListeners[r] = h;
1332
+ on(r, y) {
1333
+ this.eventListeners[r] = y;
1316
1334
  }
1317
1335
  /**
1318
1336
  * 移除事件监听器
@@ -1331,35 +1349,35 @@ const S = class S {
1331
1349
  */
1332
1350
  isConnected() {
1333
1351
  var r;
1334
- return this.status === P.CONNECTED && ((r = this.socket) == null ? void 0 : r.readyState) === WebSocket.OPEN;
1352
+ return this.status === j.CONNECTED && ((r = this.socket) == null ? void 0 : r.readyState) === WebSocket.OPEN;
1335
1353
  }
1336
1354
  /**
1337
1355
  * 设置事件监听器
1338
1356
  */
1339
1357
  setupEventListeners() {
1340
1358
  this.socket && (this.socket.onmessage = (r) => {
1341
- var h, b;
1342
- this.log("收到消息:", r.data), r.data !== "pong" && ((b = (h = this.eventListeners).message) == null || b.call(h, r.data));
1359
+ var y, w;
1360
+ this.log("收到消息:", r.data), r.data !== "pong" && ((w = (y = this.eventListeners).message) == null || w.call(y, r.data));
1343
1361
  }, this.socket.onclose = (r) => {
1344
- var h, b;
1345
- this.log("WebSocket连接关闭:", r.code, r.reason), this.setStatus(P.DISCONNECTED), this.stopHeartbeat(), (b = (h = this.eventListeners).close) == null || b.call(h, r), r.code !== 1e3 && this.reconnectAttempts < (this.config.maxReconnectAttempts || 5) && this.scheduleReconnect();
1362
+ var y, w;
1363
+ this.log("WebSocket连接关闭:", r.code, r.reason), this.setStatus(j.DISCONNECTED), this.stopHeartbeat(), (w = (y = this.eventListeners).close) == null || w.call(y, r), r.code !== 1e3 && this.reconnectAttempts < (this.config.maxReconnectAttempts || 5) && this.scheduleReconnect();
1346
1364
  }, this.socket.onerror = (r) => {
1347
- var h, b;
1348
- this.log("WebSocket错误:", r), this.setStatus(P.ERROR), (b = (h = this.eventListeners).error) == null || b.call(h, r);
1365
+ var y, w;
1366
+ this.log("WebSocket错误:", r), this.setStatus(j.ERROR), (w = (y = this.eventListeners).error) == null || w.call(y, r);
1349
1367
  });
1350
1368
  }
1351
1369
  /**
1352
1370
  * 设置连接状态
1353
1371
  */
1354
1372
  setStatus(r) {
1355
- var h, b;
1356
- this.status !== r && (this.status = r, this.log("连接状态变更:", r), (b = (h = this.eventListeners).statusChange) == null || b.call(h, r));
1373
+ var y, w;
1374
+ this.status !== r && (this.status = r, this.log("连接状态变更:", r), (w = (y = this.eventListeners).statusChange) == null || w.call(y, r));
1357
1375
  }
1358
1376
  /**
1359
1377
  * 安排重连
1360
1378
  */
1361
1379
  scheduleReconnect() {
1362
- this.reconnectTimer || (this.reconnectAttempts++, this.setStatus(P.RECONNECTING), this.log(`准备重连 (第${this.reconnectAttempts}次)...`), this.reconnectTimer = setTimeout(() => {
1380
+ this.reconnectTimer || (this.reconnectAttempts++, this.setStatus(j.RECONNECTING), this.log(`准备重连 (第${this.reconnectAttempts}次)...`), this.reconnectTimer = setTimeout(() => {
1363
1381
  this.reconnectTimer = null, this.connect().catch(() => {
1364
1382
  });
1365
1383
  }, this.config.reconnectInterval || 3e3));
@@ -1394,26 +1412,26 @@ const S = class S {
1394
1412
  * 销毁实例
1395
1413
  */
1396
1414
  destroy() {
1397
- this.disconnect(), this.eventListeners = {}, S.instance = null;
1415
+ this.disconnect(), this.eventListeners = {}, k.instance = null;
1398
1416
  }
1399
1417
  };
1400
- H(S, "instance", null);
1401
- let ge = S, C = null;
1402
- self.onmessage = (v) => {
1403
- const { type: r, data: h } = (v == null ? void 0 : v.data) || {};
1418
+ H(k, "instance", null);
1419
+ let ve = k, S = null;
1420
+ self.onmessage = (T) => {
1421
+ const { type: r, data: y } = (T == null ? void 0 : T.data) || {};
1404
1422
  switch (r) {
1405
1423
  case "INIT":
1406
- C = ge.getInstance({ url: h == null ? void 0 : h.url, debug: (h == null ? void 0 : h.debug) ?? !0 }), C == null || C.connect(), C == null || C.on("open", () => {
1424
+ S = ve.getInstance({ url: y == null ? void 0 : y.url, debug: (y == null ? void 0 : y.debug) ?? !0 }), S == null || S.connect(), S == null || S.on("open", () => {
1407
1425
  self.postMessage({ type: "INIT_OK" });
1408
- }), C == null || C.on("message", (b) => {
1409
- self.postMessage({ type: "RECEIVE_MESSAGE", data: b });
1426
+ }), S == null || S.on("message", (w) => {
1427
+ self.postMessage({ type: "RECEIVE_MESSAGE", data: w });
1410
1428
  });
1411
1429
  break;
1412
1430
  case "SEND_MESSAGE":
1413
- C == null || C.send(JSON.stringify(h));
1431
+ S == null || S.send(JSON.stringify(y));
1414
1432
  break;
1415
1433
  case "CLOSE":
1416
- C == null || C.disconnect(), C = null;
1434
+ S == null || S.disconnect(), S = null;
1417
1435
  break;
1418
1436
  }
1419
1437
  };