@coinbase/cdp-core 0.0.90 → 0.0.92

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.
Files changed (41) hide show
  1. package/dist/esm/index.native10.js +15 -13
  2. package/dist/esm/index.native9.js +1 -1
  3. package/dist/esm/index.web125.js +1 -1
  4. package/dist/esm/index.web197.js +7 -38
  5. package/dist/esm/index.web199.js +375 -67
  6. package/dist/esm/index.web200.js +835 -34
  7. package/dist/esm/index.web201.js +38 -20
  8. package/dist/esm/index.web202.js +2 -8
  9. package/dist/esm/index.web203.js +70 -2
  10. package/dist/esm/index.web204.js +30 -373
  11. package/dist/esm/index.web205.js +20 -835
  12. package/dist/esm/index.web223.js +2 -2
  13. package/dist/esm/index.web224.js +2 -2
  14. package/dist/esm/index.web225.js +2 -2
  15. package/dist/esm/index.web3.js +1 -1
  16. package/dist/esm/index.web8.js +1 -1
  17. package/dist/esm/index.web9.js +15 -13
  18. package/dist/native/index.native10.js +15 -13
  19. package/dist/native/index.native9.js +1 -1
  20. package/dist/native-types/index.d.ts +1 -0
  21. package/dist/native-types/version.d.ts +1 -1
  22. package/dist/types/index.d.ts +1 -0
  23. package/dist/types/version.d.ts +1 -1
  24. package/dist/web/index.web125.js +1 -1
  25. package/dist/web/index.web197.js +7 -38
  26. package/dist/web/index.web199.js +375 -67
  27. package/dist/web/index.web200.js +835 -34
  28. package/dist/web/index.web201.js +38 -20
  29. package/dist/web/index.web202.js +2 -8
  30. package/dist/web/index.web203.js +70 -2
  31. package/dist/web/index.web204.js +30 -373
  32. package/dist/web/index.web205.js +20 -835
  33. package/dist/web/index.web223.js +2 -2
  34. package/dist/web/index.web224.js +2 -2
  35. package/dist/web/index.web225.js +2 -2
  36. package/dist/web/index.web3.js +1 -1
  37. package/dist/web/index.web8.js +1 -1
  38. package/dist/web/index.web9.js +15 -13
  39. package/dist/web-types/index.d.ts +1 -0
  40. package/dist/web-types/version.d.ts +1 -1
  41. package/package.json +2 -2
@@ -1,37 +1,838 @@
1
- var o, u;
2
- function c() {
3
- if (u) return o;
4
- u = 1;
5
- var t = {
6
- // UTF-8 encoding
7
- utf8: {
8
- // Convert a string to a byte array
9
- stringToBytes: function(n) {
10
- return t.bin.stringToBytes(unescape(encodeURIComponent(n)));
11
- },
12
- // Convert a byte array to a string
13
- bytesToString: function(n) {
14
- return decodeURIComponent(escape(t.bin.bytesToString(n)));
15
- }
16
- },
17
- // Binary encoding
18
- bin: {
19
- // Convert a string to a byte array
20
- stringToBytes: function(n) {
21
- for (var e = [], r = 0; r < n.length; r++)
22
- e.push(n.charCodeAt(r) & 255);
23
- return e;
24
- },
25
- // Convert a byte array to a string
26
- bytesToString: function(n) {
27
- for (var e = [], r = 0; r < n.length; r++)
28
- e.push(String.fromCharCode(n[r]));
29
- return e.join("");
30
- }
31
- }
32
- };
33
- return o = t, o;
1
+ import { __module as v } from "./index.web224.js";
2
+ /**
3
+ * @license React
4
+ * react.development.js
5
+ *
6
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */
11
+ v.exports;
12
+ var _e;
13
+ function De() {
14
+ return _e ? v.exports : (_e = 1, function(P, u) {
15
+ process.env.NODE_ENV !== "production" && function() {
16
+ function ye(e, t) {
17
+ Object.defineProperty(h.prototype, e, {
18
+ get: function() {
19
+ console.warn(
20
+ "%s(...) is deprecated in plain JavaScript React classes. %s",
21
+ t[0],
22
+ t[1]
23
+ );
24
+ }
25
+ });
26
+ }
27
+ function ve(e) {
28
+ return e === null || typeof e != "object" ? null : (e = ne && e[ne] || e["@@iterator"], typeof e == "function" ? e : null);
29
+ }
30
+ function N(e, t) {
31
+ e = (e = e.constructor) && (e.displayName || e.name) || "ReactClass";
32
+ var r = e + "." + t;
33
+ oe[r] || (console.error(
34
+ "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.",
35
+ t,
36
+ e
37
+ ), oe[r] = !0);
38
+ }
39
+ function h(e, t, r) {
40
+ this.props = e, this.context = t, this.refs = z, this.updater = r || ue;
41
+ }
42
+ function G() {
43
+ }
44
+ function M(e, t, r) {
45
+ this.props = e, this.context = t, this.refs = z, this.updater = r || ue;
46
+ }
47
+ function Q(e) {
48
+ return "" + e;
49
+ }
50
+ function E(e) {
51
+ try {
52
+ Q(e);
53
+ var t = !1;
54
+ } catch {
55
+ t = !0;
56
+ }
57
+ if (t) {
58
+ t = console;
59
+ var r = t.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
60
+ return r.call(
61
+ t,
62
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
63
+ n
64
+ ), Q(e);
65
+ }
66
+ }
67
+ function w(e) {
68
+ if (e == null) return null;
69
+ if (typeof e == "function")
70
+ return e.$$typeof === Ce ? null : e.displayName || e.name || null;
71
+ if (typeof e == "string") return e;
72
+ switch (e) {
73
+ case U:
74
+ return "Fragment";
75
+ case x:
76
+ return "Profiler";
77
+ case J:
78
+ return "StrictMode";
79
+ case re:
80
+ return "Suspense";
81
+ case Se:
82
+ return "SuspenseList";
83
+ case Ae:
84
+ return "Activity";
85
+ }
86
+ if (typeof e == "object")
87
+ switch (typeof e.tag == "number" && console.error(
88
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
89
+ ), e.$$typeof) {
90
+ case Z:
91
+ return "Portal";
92
+ case ee:
93
+ return (e.displayName || "Context") + ".Provider";
94
+ case q:
95
+ return (e._context.displayName || "Context") + ".Consumer";
96
+ case te:
97
+ var t = e.render;
98
+ return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
99
+ case W:
100
+ return t = e.displayName || null, t !== null ? t : w(e.type) || "Memo";
101
+ case T:
102
+ t = e._payload, e = e._init;
103
+ try {
104
+ return w(e(t));
105
+ } catch {
106
+ }
107
+ }
108
+ return null;
109
+ }
110
+ function B(e) {
111
+ if (e === U) return "<>";
112
+ if (typeof e == "object" && e !== null && e.$$typeof === T)
113
+ return "<...>";
114
+ try {
115
+ var t = w(e);
116
+ return t ? "<" + t + ">" : "<...>";
117
+ } catch {
118
+ return "<...>";
119
+ }
120
+ }
121
+ function K() {
122
+ var e = i.A;
123
+ return e === null ? null : e.getOwner();
124
+ }
125
+ function F() {
126
+ return Error("react-stack-top-frame");
127
+ }
128
+ function X(e) {
129
+ if (S.call(e, "key")) {
130
+ var t = Object.getOwnPropertyDescriptor(e, "key").get;
131
+ if (t && t.isReactWarning) return !1;
132
+ }
133
+ return e.key !== void 0;
134
+ }
135
+ function Ee(e, t) {
136
+ function r() {
137
+ ce || (ce = !0, console.error(
138
+ "%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)",
139
+ t
140
+ ));
141
+ }
142
+ r.isReactWarning = !0, Object.defineProperty(e, "key", {
143
+ get: r,
144
+ configurable: !0
145
+ });
146
+ }
147
+ function we() {
148
+ var e = w(this.type);
149
+ return le[e] || (le[e] = !0, console.error(
150
+ "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."
151
+ )), e = this.props.ref, e !== void 0 ? e : null;
152
+ }
153
+ function L(e, t, r, n, o, c, a, f) {
154
+ return r = c.ref, e = {
155
+ $$typeof: Y,
156
+ type: e,
157
+ key: t,
158
+ props: c,
159
+ _owner: o
160
+ }, (r !== void 0 ? r : null) !== null ? Object.defineProperty(e, "ref", {
161
+ enumerable: !1,
162
+ get: we
163
+ }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
164
+ configurable: !1,
165
+ enumerable: !1,
166
+ writable: !0,
167
+ value: 0
168
+ }), Object.defineProperty(e, "_debugInfo", {
169
+ configurable: !1,
170
+ enumerable: !1,
171
+ writable: !0,
172
+ value: null
173
+ }), Object.defineProperty(e, "_debugStack", {
174
+ configurable: !1,
175
+ enumerable: !1,
176
+ writable: !0,
177
+ value: a
178
+ }), Object.defineProperty(e, "_debugTask", {
179
+ configurable: !1,
180
+ enumerable: !1,
181
+ writable: !0,
182
+ value: f
183
+ }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
184
+ }
185
+ function be(e, t) {
186
+ return t = L(
187
+ e.type,
188
+ t,
189
+ void 0,
190
+ void 0,
191
+ e._owner,
192
+ e.props,
193
+ e._debugStack,
194
+ e._debugTask
195
+ ), e._store && (t._store.validated = e._store.validated), t;
196
+ }
197
+ function m(e) {
198
+ return typeof e == "object" && e !== null && e.$$typeof === Y;
199
+ }
200
+ function Re(e) {
201
+ var t = { "=": "=0", ":": "=2" };
202
+ return "$" + e.replace(/[=:]/g, function(r) {
203
+ return t[r];
204
+ });
205
+ }
206
+ function D(e, t) {
207
+ return typeof e == "object" && e !== null && e.key != null ? (E(e.key), Re("" + e.key)) : t.toString(36);
208
+ }
209
+ function V() {
210
+ }
211
+ function Oe(e) {
212
+ switch (e.status) {
213
+ case "fulfilled":
214
+ return e.value;
215
+ case "rejected":
216
+ throw e.reason;
217
+ default:
218
+ switch (typeof e.status == "string" ? e.then(V, V) : (e.status = "pending", e.then(
219
+ function(t) {
220
+ e.status === "pending" && (e.status = "fulfilled", e.value = t);
221
+ },
222
+ function(t) {
223
+ e.status === "pending" && (e.status = "rejected", e.reason = t);
224
+ }
225
+ )), e.status) {
226
+ case "fulfilled":
227
+ return e.value;
228
+ case "rejected":
229
+ throw e.reason;
230
+ }
231
+ }
232
+ throw e;
233
+ }
234
+ function g(e, t, r, n, o) {
235
+ var c = typeof e;
236
+ (c === "undefined" || c === "boolean") && (e = null);
237
+ var a = !1;
238
+ if (e === null) a = !0;
239
+ else
240
+ switch (c) {
241
+ case "bigint":
242
+ case "string":
243
+ case "number":
244
+ a = !0;
245
+ break;
246
+ case "object":
247
+ switch (e.$$typeof) {
248
+ case Y:
249
+ case Z:
250
+ a = !0;
251
+ break;
252
+ case T:
253
+ return a = e._init, g(
254
+ a(e._payload),
255
+ t,
256
+ r,
257
+ n,
258
+ o
259
+ );
260
+ }
261
+ }
262
+ if (a) {
263
+ a = e, o = o(a);
264
+ var f = n === "" ? "." + D(a, 0) : n;
265
+ return se(o) ? (r = "", f != null && (r = f.replace(pe, "$&/") + "/"), g(o, t, r, "", function(p) {
266
+ return p;
267
+ })) : o != null && (m(o) && (o.key != null && (a && a.key === o.key || E(o.key)), r = be(
268
+ o,
269
+ r + (o.key == null || a && a.key === o.key ? "" : ("" + o.key).replace(
270
+ pe,
271
+ "$&/"
272
+ ) + "/") + f
273
+ ), n !== "" && a != null && m(a) && a.key == null && a._store && !a._store.validated && (r._store.validated = 2), o = r), t.push(o)), 1;
274
+ }
275
+ if (a = 0, f = n === "" ? "." : n + ":", se(e))
276
+ for (var s = 0; s < e.length; s++)
277
+ n = e[s], c = f + D(n, s), a += g(
278
+ n,
279
+ t,
280
+ r,
281
+ c,
282
+ o
283
+ );
284
+ else if (s = ve(e), typeof s == "function")
285
+ for (s === e.entries && (de || console.warn(
286
+ "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
287
+ ), de = !0), e = s.call(e), s = 0; !(n = e.next()).done; )
288
+ n = n.value, c = f + D(n, s++), a += g(
289
+ n,
290
+ t,
291
+ r,
292
+ c,
293
+ o
294
+ );
295
+ else if (c === "object") {
296
+ if (typeof e.then == "function")
297
+ return g(
298
+ Oe(e),
299
+ t,
300
+ r,
301
+ n,
302
+ o
303
+ );
304
+ throw t = String(e), Error(
305
+ "Objects are not valid as a React child (found: " + (t === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : t) + "). If you meant to render a collection of children, use an array instead."
306
+ );
307
+ }
308
+ return a;
309
+ }
310
+ function b(e, t, r) {
311
+ if (e == null) return e;
312
+ var n = [], o = 0;
313
+ return g(e, n, "", "", function(c) {
314
+ return t.call(r, c, o++);
315
+ }), n;
316
+ }
317
+ function Te(e) {
318
+ if (e._status === -1) {
319
+ var t = e._result;
320
+ t = t(), t.then(
321
+ function(r) {
322
+ (e._status === 0 || e._status === -1) && (e._status = 1, e._result = r);
323
+ },
324
+ function(r) {
325
+ (e._status === 0 || e._status === -1) && (e._status = 2, e._result = r);
326
+ }
327
+ ), e._status === -1 && (e._status = 0, e._result = t);
328
+ }
329
+ if (e._status === 1)
330
+ return t = e._result, t === void 0 && console.error(
331
+ `lazy: Expected the result of a dynamic import() call. Instead received: %s
332
+
333
+ Your code should look like:
334
+ const MyComponent = lazy(() => import('./MyComponent'))
335
+
336
+ Did you accidentally put curly braces around the import?`,
337
+ t
338
+ ), "default" in t || console.error(
339
+ `lazy: Expected the result of a dynamic import() call. Instead received: %s
340
+
341
+ Your code should look like:
342
+ const MyComponent = lazy(() => import('./MyComponent'))`,
343
+ t
344
+ ), t.default;
345
+ throw e._result;
346
+ }
347
+ function l() {
348
+ var e = i.H;
349
+ return e === null && console.error(
350
+ `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:
351
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
352
+ 2. You might be breaking the Rules of Hooks
353
+ 3. You might have more than one copy of React in the same app
354
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
355
+ ), e;
356
+ }
357
+ function ke() {
358
+ }
359
+ function R(e) {
360
+ if (A === null)
361
+ try {
362
+ var t = ("require" + Math.random()).slice(0, 7);
363
+ A = (P && P[t]).call(
364
+ P,
365
+ "timers"
366
+ ).setImmediate;
367
+ } catch {
368
+ A = function(n) {
369
+ me === !1 && (me = !0, typeof MessageChannel > "u" && console.error(
370
+ "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."
371
+ ));
372
+ var o = new MessageChannel();
373
+ o.port1.onmessage = n, o.port2.postMessage(void 0);
374
+ };
375
+ }
376
+ return A(e);
377
+ }
378
+ function y(e) {
379
+ return 1 < e.length && typeof AggregateError == "function" ? new AggregateError(e) : e[0];
380
+ }
381
+ function O(e, t) {
382
+ t !== C - 1 && console.error(
383
+ "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
384
+ ), C = t;
385
+ }
386
+ function $(e, t, r) {
387
+ var n = i.actQueue;
388
+ if (n !== null)
389
+ if (n.length !== 0)
390
+ try {
391
+ I(n), R(function() {
392
+ return $(e, t, r);
393
+ });
394
+ return;
395
+ } catch (o) {
396
+ i.thrownErrors.push(o);
397
+ }
398
+ else i.actQueue = null;
399
+ 0 < i.thrownErrors.length ? (n = y(i.thrownErrors), i.thrownErrors.length = 0, r(n)) : t(e);
400
+ }
401
+ function I(e) {
402
+ if (!H) {
403
+ H = !0;
404
+ var t = 0;
405
+ try {
406
+ for (; t < e.length; t++) {
407
+ var r = e[t];
408
+ do {
409
+ i.didUsePromise = !1;
410
+ var n = r(!1);
411
+ if (n !== null) {
412
+ if (i.didUsePromise) {
413
+ e[t] = r, e.splice(0, t);
414
+ return;
415
+ }
416
+ r = n;
417
+ } else break;
418
+ } while (!0);
419
+ }
420
+ e.length = 0;
421
+ } catch (o) {
422
+ e.splice(0, t + 1), i.thrownErrors.push(o);
423
+ } finally {
424
+ H = !1;
425
+ }
426
+ }
427
+ }
428
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
429
+ var Y = Symbol.for("react.transitional.element"), Z = Symbol.for("react.portal"), U = Symbol.for("react.fragment"), J = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), q = Symbol.for("react.consumer"), ee = Symbol.for("react.context"), te = Symbol.for("react.forward_ref"), re = Symbol.for("react.suspense"), Se = Symbol.for("react.suspense_list"), W = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), Ae = Symbol.for("react.activity"), ne = Symbol.iterator, oe = {}, ue = {
430
+ isMounted: function() {
431
+ return !1;
432
+ },
433
+ enqueueForceUpdate: function(e) {
434
+ N(e, "forceUpdate");
435
+ },
436
+ enqueueReplaceState: function(e) {
437
+ N(e, "replaceState");
438
+ },
439
+ enqueueSetState: function(e) {
440
+ N(e, "setState");
441
+ }
442
+ }, ae = Object.assign, z = {};
443
+ Object.freeze(z), h.prototype.isReactComponent = {}, h.prototype.setState = function(e, t) {
444
+ if (typeof e != "object" && typeof e != "function" && e != null)
445
+ throw Error(
446
+ "takes an object of state variables to update or a function which returns an object of state variables."
447
+ );
448
+ this.updater.enqueueSetState(this, e, t, "setState");
449
+ }, h.prototype.forceUpdate = function(e) {
450
+ this.updater.enqueueForceUpdate(this, e, "forceUpdate");
451
+ };
452
+ var d = {
453
+ isMounted: [
454
+ "isMounted",
455
+ "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
456
+ ],
457
+ replaceState: [
458
+ "replaceState",
459
+ "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
460
+ ]
461
+ }, k;
462
+ for (k in d)
463
+ d.hasOwnProperty(k) && ye(k, d[k]);
464
+ G.prototype = h.prototype, d = M.prototype = new G(), d.constructor = M, ae(d, h.prototype), d.isPureReactComponent = !0;
465
+ var se = Array.isArray, Ce = Symbol.for("react.client.reference"), i = {
466
+ H: null,
467
+ A: null,
468
+ T: null,
469
+ S: null,
470
+ V: null,
471
+ actQueue: null,
472
+ isBatchingLegacy: !1,
473
+ didScheduleLegacyUpdate: !1,
474
+ didUsePromise: !1,
475
+ thrownErrors: [],
476
+ getCurrentStack: null,
477
+ recentlyCreatedOwnerStacks: 0
478
+ }, S = Object.prototype.hasOwnProperty, ie = console.createTask ? console.createTask : function() {
479
+ return null;
480
+ };
481
+ d = {
482
+ react_stack_bottom_frame: function(e) {
483
+ return e();
484
+ }
485
+ };
486
+ var ce, fe, le = {}, je = d.react_stack_bottom_frame.bind(
487
+ d,
488
+ F
489
+ )(), Pe = ie(B(F)), de = !1, pe = /\/+/g, he = typeof reportError == "function" ? reportError : function(e) {
490
+ if (typeof window == "object" && typeof window.ErrorEvent == "function") {
491
+ var t = new window.ErrorEvent("error", {
492
+ bubbles: !0,
493
+ cancelable: !0,
494
+ message: typeof e == "object" && e !== null && typeof e.message == "string" ? String(e.message) : String(e),
495
+ error: e
496
+ });
497
+ if (!window.dispatchEvent(t)) return;
498
+ } else if (typeof process == "object" && typeof process.emit == "function") {
499
+ process.emit("uncaughtException", e);
500
+ return;
501
+ }
502
+ console.error(e);
503
+ }, me = !1, A = null, C = 0, j = !1, H = !1, ge = typeof queueMicrotask == "function" ? function(e) {
504
+ queueMicrotask(function() {
505
+ return queueMicrotask(e);
506
+ });
507
+ } : R;
508
+ d = Object.freeze({
509
+ __proto__: null,
510
+ c: function(e) {
511
+ return l().useMemoCache(e);
512
+ }
513
+ }), u.Children = {
514
+ map: b,
515
+ forEach: function(e, t, r) {
516
+ b(
517
+ e,
518
+ function() {
519
+ t.apply(this, arguments);
520
+ },
521
+ r
522
+ );
523
+ },
524
+ count: function(e) {
525
+ var t = 0;
526
+ return b(e, function() {
527
+ t++;
528
+ }), t;
529
+ },
530
+ toArray: function(e) {
531
+ return b(e, function(t) {
532
+ return t;
533
+ }) || [];
534
+ },
535
+ only: function(e) {
536
+ if (!m(e))
537
+ throw Error(
538
+ "React.Children.only expected to receive a single React element child."
539
+ );
540
+ return e;
541
+ }
542
+ }, u.Component = h, u.Fragment = U, u.Profiler = x, u.PureComponent = M, u.StrictMode = J, u.Suspense = re, u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = i, u.__COMPILER_RUNTIME = d, u.act = function(e) {
543
+ var t = i.actQueue, r = C;
544
+ C++;
545
+ var n = i.actQueue = t !== null ? t : [], o = !1;
546
+ try {
547
+ var c = e();
548
+ } catch (s) {
549
+ i.thrownErrors.push(s);
550
+ }
551
+ if (0 < i.thrownErrors.length)
552
+ throw O(t, r), e = y(i.thrownErrors), i.thrownErrors.length = 0, e;
553
+ if (c !== null && typeof c == "object" && typeof c.then == "function") {
554
+ var a = c;
555
+ return ge(function() {
556
+ o || j || (j = !0, console.error(
557
+ "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 () => ...);"
558
+ ));
559
+ }), {
560
+ then: function(s, p) {
561
+ o = !0, a.then(
562
+ function(_) {
563
+ if (O(t, r), r === 0) {
564
+ try {
565
+ I(n), R(function() {
566
+ return $(
567
+ _,
568
+ s,
569
+ p
570
+ );
571
+ });
572
+ } catch (Me) {
573
+ i.thrownErrors.push(Me);
574
+ }
575
+ if (0 < i.thrownErrors.length) {
576
+ var Ne = y(
577
+ i.thrownErrors
578
+ );
579
+ i.thrownErrors.length = 0, p(Ne);
580
+ }
581
+ } else s(_);
582
+ },
583
+ function(_) {
584
+ O(t, r), 0 < i.thrownErrors.length && (_ = y(
585
+ i.thrownErrors
586
+ ), i.thrownErrors.length = 0), p(_);
587
+ }
588
+ );
589
+ }
590
+ };
591
+ }
592
+ var f = c;
593
+ if (O(t, r), r === 0 && (I(n), n.length !== 0 && ge(function() {
594
+ o || j || (j = !0, console.error(
595
+ "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(() => ...)"
596
+ ));
597
+ }), i.actQueue = null), 0 < i.thrownErrors.length)
598
+ throw e = y(i.thrownErrors), i.thrownErrors.length = 0, e;
599
+ return {
600
+ then: function(s, p) {
601
+ o = !0, r === 0 ? (i.actQueue = n, R(function() {
602
+ return $(
603
+ f,
604
+ s,
605
+ p
606
+ );
607
+ })) : s(f);
608
+ }
609
+ };
610
+ }, u.cache = function(e) {
611
+ return function() {
612
+ return e.apply(null, arguments);
613
+ };
614
+ }, u.captureOwnerStack = function() {
615
+ var e = i.getCurrentStack;
616
+ return e === null ? null : e();
617
+ }, u.cloneElement = function(e, t, r) {
618
+ if (e == null)
619
+ throw Error(
620
+ "The argument must be a React element, but you passed " + e + "."
621
+ );
622
+ var n = ae({}, e.props), o = e.key, c = e._owner;
623
+ if (t != null) {
624
+ var a;
625
+ e: {
626
+ if (S.call(t, "ref") && (a = Object.getOwnPropertyDescriptor(
627
+ t,
628
+ "ref"
629
+ ).get) && a.isReactWarning) {
630
+ a = !1;
631
+ break e;
632
+ }
633
+ a = t.ref !== void 0;
634
+ }
635
+ a && (c = K()), X(t) && (E(t.key), o = "" + t.key);
636
+ for (f in t)
637
+ !S.call(t, f) || f === "key" || f === "__self" || f === "__source" || f === "ref" && t.ref === void 0 || (n[f] = t[f]);
638
+ }
639
+ var f = arguments.length - 2;
640
+ if (f === 1) n.children = r;
641
+ else if (1 < f) {
642
+ a = Array(f);
643
+ for (var s = 0; s < f; s++)
644
+ a[s] = arguments[s + 2];
645
+ n.children = a;
646
+ }
647
+ for (n = L(
648
+ e.type,
649
+ o,
650
+ void 0,
651
+ void 0,
652
+ c,
653
+ n,
654
+ e._debugStack,
655
+ e._debugTask
656
+ ), o = 2; o < arguments.length; o++)
657
+ c = arguments[o], m(c) && c._store && (c._store.validated = 1);
658
+ return n;
659
+ }, u.createContext = function(e) {
660
+ return e = {
661
+ $$typeof: ee,
662
+ _currentValue: e,
663
+ _currentValue2: e,
664
+ _threadCount: 0,
665
+ Provider: null,
666
+ Consumer: null
667
+ }, e.Provider = e, e.Consumer = {
668
+ $$typeof: q,
669
+ _context: e
670
+ }, e._currentRenderer = null, e._currentRenderer2 = null, e;
671
+ }, u.createElement = function(e, t, r) {
672
+ for (var n = 2; n < arguments.length; n++) {
673
+ var o = arguments[n];
674
+ m(o) && o._store && (o._store.validated = 1);
675
+ }
676
+ if (n = {}, o = null, t != null)
677
+ for (s in fe || !("__self" in t) || "key" in t || (fe = !0, console.warn(
678
+ "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"
679
+ )), X(t) && (E(t.key), o = "" + t.key), t)
680
+ S.call(t, s) && s !== "key" && s !== "__self" && s !== "__source" && (n[s] = t[s]);
681
+ var c = arguments.length - 2;
682
+ if (c === 1) n.children = r;
683
+ else if (1 < c) {
684
+ for (var a = Array(c), f = 0; f < c; f++)
685
+ a[f] = arguments[f + 2];
686
+ Object.freeze && Object.freeze(a), n.children = a;
687
+ }
688
+ if (e && e.defaultProps)
689
+ for (s in c = e.defaultProps, c)
690
+ n[s] === void 0 && (n[s] = c[s]);
691
+ o && Ee(
692
+ n,
693
+ typeof e == "function" ? e.displayName || e.name || "Unknown" : e
694
+ );
695
+ var s = 1e4 > i.recentlyCreatedOwnerStacks++;
696
+ return L(
697
+ e,
698
+ o,
699
+ void 0,
700
+ void 0,
701
+ K(),
702
+ n,
703
+ s ? Error("react-stack-top-frame") : je,
704
+ s ? ie(B(e)) : Pe
705
+ );
706
+ }, u.createRef = function() {
707
+ var e = { current: null };
708
+ return Object.seal(e), e;
709
+ }, u.forwardRef = function(e) {
710
+ e != null && e.$$typeof === W ? console.error(
711
+ "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
712
+ ) : typeof e != "function" ? console.error(
713
+ "forwardRef requires a render function but was given %s.",
714
+ e === null ? "null" : typeof e
715
+ ) : e.length !== 0 && e.length !== 2 && console.error(
716
+ "forwardRef render functions accept exactly two parameters: props and ref. %s",
717
+ e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."
718
+ ), e != null && e.defaultProps != null && console.error(
719
+ "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
720
+ );
721
+ var t = { $$typeof: te, render: e }, r;
722
+ return Object.defineProperty(t, "displayName", {
723
+ enumerable: !1,
724
+ configurable: !0,
725
+ get: function() {
726
+ return r;
727
+ },
728
+ set: function(n) {
729
+ r = n, e.name || e.displayName || (Object.defineProperty(e, "name", { value: n }), e.displayName = n);
730
+ }
731
+ }), t;
732
+ }, u.isValidElement = m, u.lazy = function(e) {
733
+ return {
734
+ $$typeof: T,
735
+ _payload: { _status: -1, _result: e },
736
+ _init: Te
737
+ };
738
+ }, u.memo = function(e, t) {
739
+ e == null && console.error(
740
+ "memo: The first argument must be a component. Instead received: %s",
741
+ e === null ? "null" : typeof e
742
+ ), t = {
743
+ $$typeof: W,
744
+ type: e,
745
+ compare: t === void 0 ? null : t
746
+ };
747
+ var r;
748
+ return Object.defineProperty(t, "displayName", {
749
+ enumerable: !1,
750
+ configurable: !0,
751
+ get: function() {
752
+ return r;
753
+ },
754
+ set: function(n) {
755
+ r = n, e.name || e.displayName || (Object.defineProperty(e, "name", { value: n }), e.displayName = n);
756
+ }
757
+ }), t;
758
+ }, u.startTransition = function(e) {
759
+ var t = i.T, r = {};
760
+ i.T = r, r._updatedFibers = /* @__PURE__ */ new Set();
761
+ try {
762
+ var n = e(), o = i.S;
763
+ o !== null && o(r, n), typeof n == "object" && n !== null && typeof n.then == "function" && n.then(ke, he);
764
+ } catch (c) {
765
+ he(c);
766
+ } finally {
767
+ t === null && r._updatedFibers && (e = r._updatedFibers.size, r._updatedFibers.clear(), 10 < e && console.warn(
768
+ "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."
769
+ )), i.T = t;
770
+ }
771
+ }, u.unstable_useCacheRefresh = function() {
772
+ return l().useCacheRefresh();
773
+ }, u.use = function(e) {
774
+ return l().use(e);
775
+ }, u.useActionState = function(e, t, r) {
776
+ return l().useActionState(
777
+ e,
778
+ t,
779
+ r
780
+ );
781
+ }, u.useCallback = function(e, t) {
782
+ return l().useCallback(e, t);
783
+ }, u.useContext = function(e) {
784
+ var t = l();
785
+ return e.$$typeof === q && console.error(
786
+ "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
787
+ ), t.useContext(e);
788
+ }, u.useDebugValue = function(e, t) {
789
+ return l().useDebugValue(e, t);
790
+ }, u.useDeferredValue = function(e, t) {
791
+ return l().useDeferredValue(e, t);
792
+ }, u.useEffect = function(e, t, r) {
793
+ e == null && console.warn(
794
+ "React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?"
795
+ );
796
+ var n = l();
797
+ if (typeof r == "function")
798
+ throw Error(
799
+ "useEffect CRUD overload is not enabled in this build of React."
800
+ );
801
+ return n.useEffect(e, t);
802
+ }, u.useId = function() {
803
+ return l().useId();
804
+ }, u.useImperativeHandle = function(e, t, r) {
805
+ return l().useImperativeHandle(e, t, r);
806
+ }, u.useInsertionEffect = function(e, t) {
807
+ return e == null && console.warn(
808
+ "React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"
809
+ ), l().useInsertionEffect(e, t);
810
+ }, u.useLayoutEffect = function(e, t) {
811
+ return e == null && console.warn(
812
+ "React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"
813
+ ), l().useLayoutEffect(e, t);
814
+ }, u.useMemo = function(e, t) {
815
+ return l().useMemo(e, t);
816
+ }, u.useOptimistic = function(e, t) {
817
+ return l().useOptimistic(e, t);
818
+ }, u.useReducer = function(e, t, r) {
819
+ return l().useReducer(e, t, r);
820
+ }, u.useRef = function(e) {
821
+ return l().useRef(e);
822
+ }, u.useState = function(e) {
823
+ return l().useState(e);
824
+ }, u.useSyncExternalStore = function(e, t, r) {
825
+ return l().useSyncExternalStore(
826
+ e,
827
+ t,
828
+ r
829
+ );
830
+ }, u.useTransition = function() {
831
+ return l().useTransition();
832
+ }, u.version = "19.1.2", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
833
+ }();
834
+ }(v, v.exports), v.exports);
34
835
  }
35
836
  export {
36
- c as __require
837
+ De as __require
37
838
  };