@oneplatformdev/utils 0.0.2-beta.7 → 0.1.1-2

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