@scalar/api-reference-react 0.3.47 → 0.3.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,1481 +1,6 @@
1
- import { createScalarReferences as Vt } from "@scalar/api-reference";
2
- var Ur = { exports: {} }, Je = {}, Yr = { exports: {} }, m = {};
3
- /**
4
- * @license React
5
- * react.production.min.js
6
- *
7
- * Copyright (c) Facebook, Inc. and its affiliates.
8
- *
9
- * This source code is licensed under the MIT license found in the
10
- * LICENSE file in the root directory of this source tree.
11
- */
12
- var vt;
13
- function Nt() {
14
- if (vt) return m;
15
- vt = 1;
16
- var W = Symbol.for("react.element"), d = Symbol.for("react.portal"), J = Symbol.for("react.fragment"), H = Symbol.for("react.strict_mode"), ne = Symbol.for("react.profiler"), ae = Symbol.for("react.provider"), oe = Symbol.for("react.context"), ee = Symbol.for("react.forward_ref"), $ = Symbol.for("react.suspense"), re = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), U = Symbol.iterator;
17
- function te(n) {
18
- return n === null || typeof n != "object" ? null : (n = U && n[U] || n["@@iterator"], typeof n == "function" ? n : null);
19
- }
20
- var X = { isMounted: function() {
21
- return !1;
22
- }, enqueueForceUpdate: function() {
23
- }, enqueueReplaceState: function() {
24
- }, enqueueSetState: function() {
25
- } }, fe = Object.assign, Fe = {};
26
- function ue(n, i, _) {
27
- this.props = n, this.context = i, this.refs = Fe, this.updater = _ || X;
28
- }
29
- ue.prototype.isReactComponent = {}, ue.prototype.setState = function(n, i) {
30
- if (typeof n != "object" && typeof n != "function" && n != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
31
- this.updater.enqueueSetState(this, n, i, "setState");
32
- }, ue.prototype.forceUpdate = function(n) {
33
- this.updater.enqueueForceUpdate(this, n, "forceUpdate");
34
- };
35
- function ie() {
36
- }
37
- ie.prototype = ue.prototype;
38
- function D(n, i, _) {
39
- this.props = n, this.context = i, this.refs = Fe, this.updater = _ || X;
40
- }
41
- var _e = D.prototype = new ie();
42
- _e.constructor = D, fe(_e, ue.prototype), _e.isPureReactComponent = !0;
43
- var se = Array.isArray, M = Object.prototype.hasOwnProperty, G = { current: null }, le = { key: !0, ref: !0, __self: !0, __source: !0 };
44
- function ve(n, i, _) {
45
- var b, R = {}, k = null, O = null;
46
- if (i != null) for (b in i.ref !== void 0 && (O = i.ref), i.key !== void 0 && (k = "" + i.key), i) M.call(i, b) && !le.hasOwnProperty(b) && (R[b] = i[b]);
47
- var T = arguments.length - 2;
48
- if (T === 1) R.children = _;
49
- else if (1 < T) {
50
- for (var w = Array(T), V = 0; V < T; V++) w[V] = arguments[V + 2];
51
- R.children = w;
52
- }
53
- if (n && n.defaultProps) for (b in T = n.defaultProps, T) R[b] === void 0 && (R[b] = T[b]);
54
- return { $$typeof: W, type: n, key: k, ref: O, props: R, _owner: G.current };
55
- }
56
- function we(n, i) {
57
- return { $$typeof: W, type: n.type, key: i, ref: n.ref, props: n.props, _owner: n._owner };
58
- }
59
- function Se(n) {
60
- return typeof n == "object" && n !== null && n.$$typeof === W;
61
- }
62
- function Be(n) {
63
- var i = { "=": "=0", ":": "=2" };
64
- return "$" + n.replace(/[=:]/g, function(_) {
65
- return i[_];
66
- });
67
- }
68
- var Te = /\/+/g;
69
- function q(n, i) {
70
- return typeof n == "object" && n !== null && n.key != null ? Be("" + n.key) : i.toString(36);
71
- }
72
- function Q(n, i, _, b, R) {
73
- var k = typeof n;
74
- (k === "undefined" || k === "boolean") && (n = null);
75
- var O = !1;
76
- if (n === null) O = !0;
77
- else switch (k) {
78
- case "string":
79
- case "number":
80
- O = !0;
81
- break;
82
- case "object":
83
- switch (n.$$typeof) {
84
- case W:
85
- case d:
86
- O = !0;
87
- }
88
- }
89
- if (O) return O = n, R = R(O), n = b === "" ? "." + q(O, 0) : b, se(R) ? (_ = "", n != null && (_ = n.replace(Te, "$&/") + "/"), Q(R, i, _, "", function(V) {
90
- return V;
91
- })) : R != null && (Se(R) && (R = we(R, _ + (!R.key || O && O.key === R.key ? "" : ("" + R.key).replace(Te, "$&/") + "/") + n)), i.push(R)), 1;
92
- if (O = 0, b = b === "" ? "." : b + ":", se(n)) for (var T = 0; T < n.length; T++) {
93
- k = n[T];
94
- var w = b + q(k, T);
95
- O += Q(k, i, _, w, R);
96
- }
97
- else if (w = te(n), typeof w == "function") for (n = w.call(n), T = 0; !(k = n.next()).done; ) k = k.value, w = b + q(k, T++), O += Q(k, i, _, w, R);
98
- else if (k === "object") throw i = String(n), Error("Objects are not valid as a React child (found: " + (i === "[object Object]" ? "object with keys {" + Object.keys(n).join(", ") + "}" : i) + "). If you meant to render a collection of children, use an array instead.");
99
- return O;
100
- }
101
- function Y(n, i, _) {
102
- if (n == null) return n;
103
- var b = [], R = 0;
104
- return Q(n, b, "", "", function(k) {
105
- return i.call(_, k, R++);
106
- }), b;
107
- }
108
- function ce(n) {
109
- if (n._status === -1) {
110
- var i = n._result;
111
- i = i(), i.then(function(_) {
112
- (n._status === 0 || n._status === -1) && (n._status = 1, n._result = _);
113
- }, function(_) {
114
- (n._status === 0 || n._status === -1) && (n._status = 2, n._result = _);
115
- }), n._status === -1 && (n._status = 0, n._result = i);
116
- }
117
- if (n._status === 1) return n._result.default;
118
- throw n._result;
119
- }
120
- var l = { current: null }, de = { transition: null }, Oe = { ReactCurrentDispatcher: l, ReactCurrentBatchConfig: de, ReactCurrentOwner: G };
121
- function ye() {
122
- throw Error("act(...) is not supported in production builds of React.");
123
- }
124
- return m.Children = { map: Y, forEach: function(n, i, _) {
125
- Y(n, function() {
126
- i.apply(this, arguments);
127
- }, _);
128
- }, count: function(n) {
129
- var i = 0;
130
- return Y(n, function() {
131
- i++;
132
- }), i;
133
- }, toArray: function(n) {
134
- return Y(n, function(i) {
135
- return i;
136
- }) || [];
137
- }, only: function(n) {
138
- if (!Se(n)) throw Error("React.Children.only expected to receive a single React element child.");
139
- return n;
140
- } }, m.Component = ue, m.Fragment = J, m.Profiler = ne, m.PureComponent = D, m.StrictMode = H, m.Suspense = $, m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Oe, m.act = ye, m.cloneElement = function(n, i, _) {
141
- if (n == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + n + ".");
142
- var b = fe({}, n.props), R = n.key, k = n.ref, O = n._owner;
143
- if (i != null) {
144
- if (i.ref !== void 0 && (k = i.ref, O = G.current), i.key !== void 0 && (R = "" + i.key), n.type && n.type.defaultProps) var T = n.type.defaultProps;
145
- for (w in i) M.call(i, w) && !le.hasOwnProperty(w) && (b[w] = i[w] === void 0 && T !== void 0 ? T[w] : i[w]);
146
- }
147
- var w = arguments.length - 2;
148
- if (w === 1) b.children = _;
149
- else if (1 < w) {
150
- T = Array(w);
151
- for (var V = 0; V < w; V++) T[V] = arguments[V + 2];
152
- b.children = T;
153
- }
154
- return { $$typeof: W, type: n.type, key: R, ref: k, props: b, _owner: O };
155
- }, m.createContext = function(n) {
156
- return n = { $$typeof: oe, _currentValue: n, _currentValue2: n, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, n.Provider = { $$typeof: ae, _context: n }, n.Consumer = n;
157
- }, m.createElement = ve, m.createFactory = function(n) {
158
- var i = ve.bind(null, n);
159
- return i.type = n, i;
160
- }, m.createRef = function() {
161
- return { current: null };
162
- }, m.forwardRef = function(n) {
163
- return { $$typeof: ee, render: n };
164
- }, m.isValidElement = Se, m.lazy = function(n) {
165
- return { $$typeof: L, _payload: { _status: -1, _result: n }, _init: ce };
166
- }, m.memo = function(n, i) {
167
- return { $$typeof: re, type: n, compare: i === void 0 ? null : i };
168
- }, m.startTransition = function(n) {
169
- var i = de.transition;
170
- de.transition = {};
171
- try {
172
- n();
173
- } finally {
174
- de.transition = i;
175
- }
176
- }, m.unstable_act = ye, m.useCallback = function(n, i) {
177
- return l.current.useCallback(n, i);
178
- }, m.useContext = function(n) {
179
- return l.current.useContext(n);
180
- }, m.useDebugValue = function() {
181
- }, m.useDeferredValue = function(n) {
182
- return l.current.useDeferredValue(n);
183
- }, m.useEffect = function(n, i) {
184
- return l.current.useEffect(n, i);
185
- }, m.useId = function() {
186
- return l.current.useId();
187
- }, m.useImperativeHandle = function(n, i, _) {
188
- return l.current.useImperativeHandle(n, i, _);
189
- }, m.useInsertionEffect = function(n, i) {
190
- return l.current.useInsertionEffect(n, i);
191
- }, m.useLayoutEffect = function(n, i) {
192
- return l.current.useLayoutEffect(n, i);
193
- }, m.useMemo = function(n, i) {
194
- return l.current.useMemo(n, i);
195
- }, m.useReducer = function(n, i, _) {
196
- return l.current.useReducer(n, i, _);
197
- }, m.useRef = function(n) {
198
- return l.current.useRef(n);
199
- }, m.useState = function(n) {
200
- return l.current.useState(n);
201
- }, m.useSyncExternalStore = function(n, i, _) {
202
- return l.current.useSyncExternalStore(n, i, _);
203
- }, m.useTransition = function() {
204
- return l.current.useTransition();
205
- }, m.version = "18.3.1", m;
206
- }
207
- var Qe = { exports: {} };
208
- /**
209
- * @license React
210
- * react.development.js
211
- *
212
- * Copyright (c) Facebook, Inc. and its affiliates.
213
- *
214
- * This source code is licensed under the MIT license found in the
215
- * LICENSE file in the root directory of this source tree.
216
- */
217
- Qe.exports;
218
- var yt;
219
- function Wt() {
220
- return yt || (yt = 1, function(W, d) {
221
- process.env.NODE_ENV !== "production" && function() {
222
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
223
- var J = "18.3.1", H = Symbol.for("react.element"), ne = Symbol.for("react.portal"), ae = Symbol.for("react.fragment"), oe = Symbol.for("react.strict_mode"), ee = Symbol.for("react.profiler"), $ = Symbol.for("react.provider"), re = Symbol.for("react.context"), L = Symbol.for("react.forward_ref"), U = Symbol.for("react.suspense"), te = Symbol.for("react.suspense_list"), X = Symbol.for("react.memo"), fe = Symbol.for("react.lazy"), Fe = Symbol.for("react.offscreen"), ue = Symbol.iterator, ie = "@@iterator";
224
- function D(e) {
225
- if (e === null || typeof e != "object")
226
- return null;
227
- var r = ue && e[ue] || e[ie];
228
- return typeof r == "function" ? r : null;
229
- }
230
- var _e = {
231
- /**
232
- * @internal
233
- * @type {ReactComponent}
234
- */
235
- current: null
236
- }, se = {
237
- transition: null
238
- }, M = {
239
- current: null,
240
- // Used to reproduce behavior of `batchedUpdates` in legacy mode.
241
- isBatchingLegacy: !1,
242
- didScheduleLegacyUpdate: !1
243
- }, G = {
244
- /**
245
- * @internal
246
- * @type {ReactComponent}
247
- */
248
- current: null
249
- }, le = {}, ve = null;
250
- function we(e) {
251
- ve = e;
252
- }
253
- le.setExtraStackFrame = function(e) {
254
- ve = e;
255
- }, le.getCurrentStack = null, le.getStackAddendum = function() {
256
- var e = "";
257
- ve && (e += ve);
258
- var r = le.getCurrentStack;
259
- return r && (e += r() || ""), e;
260
- };
261
- var Se = !1, Be = !1, Te = !1, q = !1, Q = !1, Y = {
262
- ReactCurrentDispatcher: _e,
263
- ReactCurrentBatchConfig: se,
264
- ReactCurrentOwner: G
265
- };
266
- Y.ReactDebugCurrentFrame = le, Y.ReactCurrentActQueue = M;
267
- function ce(e) {
268
- {
269
- for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
270
- a[o - 1] = arguments[o];
271
- de("warn", e, a);
272
- }
273
- }
274
- function l(e) {
275
- {
276
- for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
277
- a[o - 1] = arguments[o];
278
- de("error", e, a);
279
- }
280
- }
281
- function de(e, r, a) {
282
- {
283
- var o = Y.ReactDebugCurrentFrame, c = o.getStackAddendum();
284
- c !== "" && (r += "%s", a = a.concat([c]));
285
- var p = a.map(function(f) {
286
- return String(f);
287
- });
288
- p.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, p);
289
- }
290
- }
291
- var Oe = {};
292
- function ye(e, r) {
293
- {
294
- var a = e.constructor, o = a && (a.displayName || a.name) || "ReactClass", c = o + "." + r;
295
- if (Oe[c])
296
- return;
297
- l("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.", r, o), Oe[c] = !0;
298
- }
299
- }
300
- var n = {
301
- /**
302
- * Checks whether or not this composite component is mounted.
303
- * @param {ReactClass} publicInstance The instance we want to test.
304
- * @return {boolean} True if mounted, false otherwise.
305
- * @protected
306
- * @final
307
- */
308
- isMounted: function(e) {
309
- return !1;
310
- },
311
- /**
312
- * Forces an update. This should only be invoked when it is known with
313
- * certainty that we are **not** in a DOM transaction.
314
- *
315
- * You may want to call this when you know that some deeper aspect of the
316
- * component's state has changed but `setState` was not called.
317
- *
318
- * This will not invoke `shouldComponentUpdate`, but it will invoke
319
- * `componentWillUpdate` and `componentDidUpdate`.
320
- *
321
- * @param {ReactClass} publicInstance The instance that should rerender.
322
- * @param {?function} callback Called after component is updated.
323
- * @param {?string} callerName name of the calling function in the public API.
324
- * @internal
325
- */
326
- enqueueForceUpdate: function(e, r, a) {
327
- ye(e, "forceUpdate");
328
- },
329
- /**
330
- * Replaces all of the state. Always use this or `setState` to mutate state.
331
- * You should treat `this.state` as immutable.
332
- *
333
- * There is no guarantee that `this.state` will be immediately updated, so
334
- * accessing `this.state` after calling this method may return the old value.
335
- *
336
- * @param {ReactClass} publicInstance The instance that should rerender.
337
- * @param {object} completeState Next state.
338
- * @param {?function} callback Called after component is updated.
339
- * @param {?string} callerName name of the calling function in the public API.
340
- * @internal
341
- */
342
- enqueueReplaceState: function(e, r, a, o) {
343
- ye(e, "replaceState");
344
- },
345
- /**
346
- * Sets a subset of the state. This only exists because _pendingState is
347
- * internal. This provides a merging strategy that is not available to deep
348
- * properties which is confusing. TODO: Expose pendingState or don't use it
349
- * during the merge.
350
- *
351
- * @param {ReactClass} publicInstance The instance that should rerender.
352
- * @param {object} partialState Next partial state to be merged with state.
353
- * @param {?function} callback Called after component is updated.
354
- * @param {?string} Name of the calling function in the public API.
355
- * @internal
356
- */
357
- enqueueSetState: function(e, r, a, o) {
358
- ye(e, "setState");
359
- }
360
- }, i = Object.assign, _ = {};
361
- Object.freeze(_);
362
- function b(e, r, a) {
363
- this.props = e, this.context = r, this.refs = _, this.updater = a || n;
364
- }
365
- b.prototype.isReactComponent = {}, b.prototype.setState = function(e, r) {
366
- if (typeof e != "object" && typeof e != "function" && e != null)
367
- throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
368
- this.updater.enqueueSetState(this, e, r, "setState");
369
- }, b.prototype.forceUpdate = function(e) {
370
- this.updater.enqueueForceUpdate(this, e, "forceUpdate");
371
- };
372
- {
373
- var R = {
374
- isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
375
- replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
376
- }, k = function(e, r) {
377
- Object.defineProperty(b.prototype, e, {
378
- get: function() {
379
- ce("%s(...) is deprecated in plain JavaScript React classes. %s", r[0], r[1]);
380
- }
381
- });
382
- };
383
- for (var O in R)
384
- R.hasOwnProperty(O) && k(O, R[O]);
385
- }
386
- function T() {
387
- }
388
- T.prototype = b.prototype;
389
- function w(e, r, a) {
390
- this.props = e, this.context = r, this.refs = _, this.updater = a || n;
391
- }
392
- var V = w.prototype = new T();
393
- V.constructor = w, i(V, b.prototype), V.isPureReactComponent = !0;
394
- function gr() {
395
- var e = {
396
- current: null
397
- };
398
- return Object.seal(e), e;
399
- }
400
- var Ze = Array.isArray;
401
- function $e(e) {
402
- return Ze(e);
403
- }
404
- function br(e) {
405
- {
406
- var r = typeof Symbol == "function" && Symbol.toStringTag, a = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
407
- return a;
408
- }
409
- }
410
- function Le(e) {
411
- try {
412
- return ge(e), !1;
413
- } catch {
414
- return !0;
415
- }
416
- }
417
- function ge(e) {
418
- return "" + e;
419
- }
420
- function Pe(e) {
421
- if (Le(e))
422
- return l("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", br(e)), ge(e);
423
- }
424
- function er(e, r, a) {
425
- var o = e.displayName;
426
- if (o)
427
- return o;
428
- var c = r.displayName || r.name || "";
429
- return c !== "" ? a + "(" + c + ")" : a;
430
- }
431
- function ke(e) {
432
- return e.displayName || "Context";
433
- }
434
- function pe(e) {
435
- if (e == null)
436
- return null;
437
- if (typeof e.tag == "number" && l("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
438
- return e.displayName || e.name || null;
439
- if (typeof e == "string")
440
- return e;
441
- switch (e) {
442
- case ae:
443
- return "Fragment";
444
- case ne:
445
- return "Portal";
446
- case ee:
447
- return "Profiler";
448
- case oe:
449
- return "StrictMode";
450
- case U:
451
- return "Suspense";
452
- case te:
453
- return "SuspenseList";
454
- }
455
- if (typeof e == "object")
456
- switch (e.$$typeof) {
457
- case re:
458
- var r = e;
459
- return ke(r) + ".Consumer";
460
- case $:
461
- var a = e;
462
- return ke(a._context) + ".Provider";
463
- case L:
464
- return er(e, e.render, "ForwardRef");
465
- case X:
466
- var o = e.displayName || null;
467
- return o !== null ? o : pe(e.type) || "Memo";
468
- case fe: {
469
- var c = e, p = c._payload, f = c._init;
470
- try {
471
- return pe(f(p));
472
- } catch {
473
- return null;
474
- }
475
- }
476
- }
477
- return null;
478
- }
479
- var je = Object.prototype.hasOwnProperty, Me = {
480
- key: !0,
481
- ref: !0,
482
- __self: !0,
483
- __source: !0
484
- }, rr, tr, Ve;
485
- Ve = {};
486
- function ze(e) {
487
- if (je.call(e, "ref")) {
488
- var r = Object.getOwnPropertyDescriptor(e, "ref").get;
489
- if (r && r.isReactWarning)
490
- return !1;
491
- }
492
- return e.ref !== void 0;
493
- }
494
- function be(e) {
495
- if (je.call(e, "key")) {
496
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
497
- if (r && r.isReactWarning)
498
- return !1;
499
- }
500
- return e.key !== void 0;
501
- }
502
- function Er(e, r) {
503
- var a = function() {
504
- rr || (rr = !0, l("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
505
- };
506
- a.isReactWarning = !0, Object.defineProperty(e, "key", {
507
- get: a,
508
- configurable: !0
509
- });
510
- }
511
- function nr(e, r) {
512
- var a = function() {
513
- tr || (tr = !0, l("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
514
- };
515
- a.isReactWarning = !0, Object.defineProperty(e, "ref", {
516
- get: a,
517
- configurable: !0
518
- });
519
- }
520
- function ar(e) {
521
- if (typeof e.ref == "string" && G.current && e.__self && G.current.stateNode !== e.__self) {
522
- var r = pe(G.current.type);
523
- Ve[r] || (l('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', r, e.ref), Ve[r] = !0);
524
- }
525
- }
526
- var Ae = function(e, r, a, o, c, p, f) {
527
- var y = {
528
- // This tag allows us to uniquely identify this as a React Element
529
- $$typeof: H,
530
- // Built-in properties that belong on the element
531
- type: e,
532
- key: r,
533
- ref: a,
534
- props: f,
535
- // Record the component responsible for creating this element.
536
- _owner: p
537
- };
538
- return y._store = {}, Object.defineProperty(y._store, "validated", {
539
- configurable: !1,
540
- enumerable: !1,
541
- writable: !0,
542
- value: !1
543
- }), Object.defineProperty(y, "_self", {
544
- configurable: !1,
545
- enumerable: !1,
546
- writable: !1,
547
- value: o
548
- }), Object.defineProperty(y, "_source", {
549
- configurable: !1,
550
- enumerable: !1,
551
- writable: !1,
552
- value: c
553
- }), Object.freeze && (Object.freeze(y.props), Object.freeze(y)), y;
554
- };
555
- function Rr(e, r, a) {
556
- var o, c = {}, p = null, f = null, y = null, E = null;
557
- if (r != null) {
558
- ze(r) && (f = r.ref, ar(r)), be(r) && (Pe(r.key), p = "" + r.key), y = r.__self === void 0 ? null : r.__self, E = r.__source === void 0 ? null : r.__source;
559
- for (o in r)
560
- je.call(r, o) && !Me.hasOwnProperty(o) && (c[o] = r[o]);
561
- }
562
- var P = arguments.length - 2;
563
- if (P === 1)
564
- c.children = a;
565
- else if (P > 1) {
566
- for (var j = Array(P), A = 0; A < P; A++)
567
- j[A] = arguments[A + 2];
568
- Object.freeze && Object.freeze(j), c.children = j;
569
- }
570
- if (e && e.defaultProps) {
571
- var I = e.defaultProps;
572
- for (o in I)
573
- c[o] === void 0 && (c[o] = I[o]);
574
- }
575
- if (p || f) {
576
- var N = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
577
- p && Er(c, N), f && nr(c, N);
578
- }
579
- return Ae(e, p, f, y, E, G.current, c);
580
- }
581
- function Cr(e, r) {
582
- var a = Ae(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
583
- return a;
584
- }
585
- function wr(e, r, a) {
586
- if (e == null)
587
- throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
588
- var o, c = i({}, e.props), p = e.key, f = e.ref, y = e._self, E = e._source, P = e._owner;
589
- if (r != null) {
590
- ze(r) && (f = r.ref, P = G.current), be(r) && (Pe(r.key), p = "" + r.key);
591
- var j;
592
- e.type && e.type.defaultProps && (j = e.type.defaultProps);
593
- for (o in r)
594
- je.call(r, o) && !Me.hasOwnProperty(o) && (r[o] === void 0 && j !== void 0 ? c[o] = j[o] : c[o] = r[o]);
595
- }
596
- var A = arguments.length - 2;
597
- if (A === 1)
598
- c.children = a;
599
- else if (A > 1) {
600
- for (var I = Array(A), N = 0; N < A; N++)
601
- I[N] = arguments[N + 2];
602
- c.children = I;
603
- }
604
- return Ae(e.type, p, f, y, E, P, c);
605
- }
606
- function Ee(e) {
607
- return typeof e == "object" && e !== null && e.$$typeof === H;
608
- }
609
- var or = ".", Sr = ":";
610
- function Tr(e) {
611
- var r = /[=:]/g, a = {
612
- "=": "=0",
613
- ":": "=2"
614
- }, o = e.replace(r, function(c) {
615
- return a[c];
616
- });
617
- return "$" + o;
618
- }
619
- var Ne = !1, ur = /\/+/g;
620
- function he(e) {
621
- return e.replace(ur, "$&/");
622
- }
623
- function De(e, r) {
624
- return typeof e == "object" && e !== null && e.key != null ? (Pe(e.key), Tr("" + e.key)) : r.toString(36);
625
- }
626
- function Re(e, r, a, o, c) {
627
- var p = typeof e;
628
- (p === "undefined" || p === "boolean") && (e = null);
629
- var f = !1;
630
- if (e === null)
631
- f = !0;
632
- else
633
- switch (p) {
634
- case "string":
635
- case "number":
636
- f = !0;
637
- break;
638
- case "object":
639
- switch (e.$$typeof) {
640
- case H:
641
- case ne:
642
- f = !0;
643
- }
644
- }
645
- if (f) {
646
- var y = e, E = c(y), P = o === "" ? or + De(y, 0) : o;
647
- if ($e(E)) {
648
- var j = "";
649
- P != null && (j = he(P) + "/"), Re(E, r, j, "", function(Mt) {
650
- return Mt;
651
- });
652
- } else E != null && (Ee(E) && (E.key && (!y || y.key !== E.key) && Pe(E.key), E = Cr(
653
- E,
654
- // Keep both the (mapped) and old keys if they differ, just as
655
- // traverseAllChildren used to do for objects as children
656
- a + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
657
- (E.key && (!y || y.key !== E.key) ? (
658
- // $FlowFixMe Flow incorrectly thinks existing element's key can be a number
659
- // eslint-disable-next-line react-internal/safe-string-coercion
660
- he("" + E.key) + "/"
661
- ) : "") + P
662
- )), r.push(E));
663
- return 1;
664
- }
665
- var A, I, N = 0, z = o === "" ? or : o + Sr;
666
- if ($e(e))
667
- for (var _r = 0; _r < e.length; _r++)
668
- A = e[_r], I = z + De(A, _r), N += Re(A, r, a, I, c);
669
- else {
670
- var Wr = D(e);
671
- if (typeof Wr == "function") {
672
- var lt = e;
673
- Wr === lt.entries && (Ne || ce("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), Ne = !0);
674
- for (var $t = Wr.call(lt), dt, Lt = 0; !(dt = $t.next()).done; )
675
- A = dt.value, I = z + De(A, Lt++), N += Re(A, r, a, I, c);
676
- } else if (p === "object") {
677
- var pt = String(e);
678
- throw new Error("Objects are not valid as a React child (found: " + (pt === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : pt) + "). If you meant to render a collection of children, use an array instead.");
679
- }
680
- }
681
- return N;
682
- }
683
- function xe(e, r, a) {
684
- if (e == null)
685
- return e;
686
- var o = [], c = 0;
687
- return Re(e, o, "", "", function(p) {
688
- return r.call(a, p, c++);
689
- }), o;
690
- }
691
- function Or(e) {
692
- var r = 0;
693
- return xe(e, function() {
694
- r++;
695
- }), r;
696
- }
697
- function ir(e, r, a) {
698
- xe(e, function() {
699
- r.apply(this, arguments);
700
- }, a);
701
- }
702
- function Pr(e) {
703
- return xe(e, function(r) {
704
- return r;
705
- }) || [];
706
- }
707
- function sr(e) {
708
- if (!Ee(e))
709
- throw new Error("React.Children.only expected to receive a single React element child.");
710
- return e;
711
- }
712
- function cr(e) {
713
- var r = {
714
- $$typeof: re,
715
- // As a workaround to support multiple concurrent renderers, we categorize
716
- // some renderers as primary and others as secondary. We only expect
717
- // there to be two concurrent renderers at most: React Native (primary) and
718
- // Fabric (secondary); React DOM (primary) and React ART (secondary).
719
- // Secondary renderers store their context values on separate fields.
720
- _currentValue: e,
721
- _currentValue2: e,
722
- // Used to track how many concurrent renderers this context currently
723
- // supports within in a single renderer. Such as parallel server rendering.
724
- _threadCount: 0,
725
- // These are circular
726
- Provider: null,
727
- Consumer: null,
728
- // Add these to use same hidden class in VM as ServerContext
729
- _defaultValue: null,
730
- _globalName: null
731
- };
732
- r.Provider = {
733
- $$typeof: $,
734
- _context: r
735
- };
736
- var a = !1, o = !1, c = !1;
737
- {
738
- var p = {
739
- $$typeof: re,
740
- _context: r
741
- };
742
- Object.defineProperties(p, {
743
- Provider: {
744
- get: function() {
745
- return o || (o = !0, l("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), r.Provider;
746
- },
747
- set: function(f) {
748
- r.Provider = f;
749
- }
750
- },
751
- _currentValue: {
752
- get: function() {
753
- return r._currentValue;
754
- },
755
- set: function(f) {
756
- r._currentValue = f;
757
- }
758
- },
759
- _currentValue2: {
760
- get: function() {
761
- return r._currentValue2;
762
- },
763
- set: function(f) {
764
- r._currentValue2 = f;
765
- }
766
- },
767
- _threadCount: {
768
- get: function() {
769
- return r._threadCount;
770
- },
771
- set: function(f) {
772
- r._threadCount = f;
773
- }
774
- },
775
- Consumer: {
776
- get: function() {
777
- return a || (a = !0, l("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), r.Consumer;
778
- }
779
- },
780
- displayName: {
781
- get: function() {
782
- return r.displayName;
783
- },
784
- set: function(f) {
785
- c || (ce("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", f), c = !0);
786
- }
787
- }
788
- }), r.Consumer = p;
789
- }
790
- return r._currentRenderer = null, r._currentRenderer2 = null, r;
791
- }
792
- var Ie = -1, qe = 0, Ke = 1, fr = 2;
793
- function kr(e) {
794
- if (e._status === Ie) {
795
- var r = e._result, a = r();
796
- if (a.then(function(p) {
797
- if (e._status === qe || e._status === Ie) {
798
- var f = e;
799
- f._status = Ke, f._result = p;
800
- }
801
- }, function(p) {
802
- if (e._status === qe || e._status === Ie) {
803
- var f = e;
804
- f._status = fr, f._result = p;
805
- }
806
- }), e._status === Ie) {
807
- var o = e;
808
- o._status = qe, o._result = a;
809
- }
810
- }
811
- if (e._status === Ke) {
812
- var c = e._result;
813
- return c === void 0 && l(`lazy: Expected the result of a dynamic import() call. Instead received: %s
814
-
815
- Your code should look like:
816
- const MyComponent = lazy(() => import('./MyComponent'))
817
-
818
- Did you accidentally put curly braces around the import?`, c), "default" in c || l(`lazy: Expected the result of a dynamic import() call. Instead received: %s
819
-
820
- Your code should look like:
821
- const MyComponent = lazy(() => import('./MyComponent'))`, c), c.default;
822
- } else
823
- throw e._result;
824
- }
825
- function jr(e) {
826
- var r = {
827
- // We use these fields to store the result.
828
- _status: Ie,
829
- _result: e
830
- }, a = {
831
- $$typeof: fe,
832
- _payload: r,
833
- _init: kr
834
- };
835
- {
836
- var o, c;
837
- Object.defineProperties(a, {
838
- defaultProps: {
839
- configurable: !0,
840
- get: function() {
841
- return o;
842
- },
843
- set: function(p) {
844
- l("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), o = p, Object.defineProperty(a, "defaultProps", {
845
- enumerable: !0
846
- });
847
- }
848
- },
849
- propTypes: {
850
- configurable: !0,
851
- get: function() {
852
- return c;
853
- },
854
- set: function(p) {
855
- l("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), c = p, Object.defineProperty(a, "propTypes", {
856
- enumerable: !0
857
- });
858
- }
859
- }
860
- });
861
- }
862
- return a;
863
- }
864
- function Ar(e) {
865
- e != null && e.$$typeof === X ? l("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? l("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && l("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), e != null && (e.defaultProps != null || e.propTypes != null) && l("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
866
- var r = {
867
- $$typeof: L,
868
- render: e
869
- };
870
- {
871
- var a;
872
- Object.defineProperty(r, "displayName", {
873
- enumerable: !1,
874
- configurable: !0,
875
- get: function() {
876
- return a;
877
- },
878
- set: function(o) {
879
- a = o, !e.name && !e.displayName && (e.displayName = o);
880
- }
881
- });
882
- }
883
- return r;
884
- }
885
- var lr;
886
- lr = Symbol.for("react.module.reference");
887
- function t(e) {
888
- return !!(typeof e == "string" || typeof e == "function" || e === ae || e === ee || Q || e === oe || e === U || e === te || q || e === Fe || Se || Be || Te || typeof e == "object" && e !== null && (e.$$typeof === fe || e.$$typeof === X || e.$$typeof === $ || e.$$typeof === re || e.$$typeof === L || // This needs to include all possible module reference object
889
- // types supported by any Flight configuration anywhere since
890
- // we don't know which Flight build this will end up being used
891
- // with.
892
- e.$$typeof === lr || e.getModuleId !== void 0));
893
- }
894
- function u(e, r) {
895
- t(e) || l("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
896
- var a = {
897
- $$typeof: X,
898
- type: e,
899
- compare: r === void 0 ? null : r
900
- };
901
- {
902
- var o;
903
- Object.defineProperty(a, "displayName", {
904
- enumerable: !1,
905
- configurable: !0,
906
- get: function() {
907
- return o;
908
- },
909
- set: function(c) {
910
- o = c, !e.name && !e.displayName && (e.displayName = c);
911
- }
912
- });
913
- }
914
- return a;
915
- }
916
- function s() {
917
- var e = _e.current;
918
- return e === null && l(`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:
919
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
920
- 2. You might be breaking the Rules of Hooks
921
- 3. You might have more than one copy of React in the same app
922
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
923
- }
924
- function v(e) {
925
- var r = s();
926
- if (e._context !== void 0) {
927
- var a = e._context;
928
- a.Consumer === e ? l("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?") : a.Provider === e && l("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
929
- }
930
- return r.useContext(e);
931
- }
932
- function C(e) {
933
- var r = s();
934
- return r.useState(e);
935
- }
936
- function S(e, r, a) {
937
- var o = s();
938
- return o.useReducer(e, r, a);
939
- }
940
- function g(e) {
941
- var r = s();
942
- return r.useRef(e);
943
- }
944
- function h(e, r) {
945
- var a = s();
946
- return a.useEffect(e, r);
947
- }
948
- function B(e, r) {
949
- var a = s();
950
- return a.useInsertionEffect(e, r);
951
- }
952
- function x(e, r) {
953
- var a = s();
954
- return a.useLayoutEffect(e, r);
955
- }
956
- function F(e, r) {
957
- var a = s();
958
- return a.useCallback(e, r);
959
- }
960
- function Z(e, r) {
961
- var a = s();
962
- return a.useMemo(e, r);
963
- }
964
- function Ce(e, r, a) {
965
- var o = s();
966
- return o.useImperativeHandle(e, r, a);
967
- }
968
- function me(e, r) {
969
- {
970
- var a = s();
971
- return a.useDebugValue(e, r);
972
- }
973
- }
974
- function K() {
975
- var e = s();
976
- return e.useTransition();
977
- }
978
- function He(e) {
979
- var r = s();
980
- return r.useDeferredValue(e);
981
- }
982
- function Dr() {
983
- var e = s();
984
- return e.useId();
985
- }
986
- function xr(e, r, a) {
987
- var o = s();
988
- return o.useSyncExternalStore(e, r, a);
989
- }
990
- var Ge = 0, Br, zr, qr, Kr, Hr, Gr, Jr;
991
- function Xr() {
992
- }
993
- Xr.__reactDisabledLog = !0;
994
- function _t() {
995
- {
996
- if (Ge === 0) {
997
- Br = console.log, zr = console.info, qr = console.warn, Kr = console.error, Hr = console.group, Gr = console.groupCollapsed, Jr = console.groupEnd;
998
- var e = {
999
- configurable: !0,
1000
- enumerable: !0,
1001
- value: Xr,
1002
- writable: !0
1003
- };
1004
- Object.defineProperties(console, {
1005
- info: e,
1006
- log: e,
1007
- warn: e,
1008
- error: e,
1009
- group: e,
1010
- groupCollapsed: e,
1011
- groupEnd: e
1012
- });
1013
- }
1014
- Ge++;
1015
- }
1016
- }
1017
- function gt() {
1018
- {
1019
- if (Ge--, Ge === 0) {
1020
- var e = {
1021
- configurable: !0,
1022
- enumerable: !0,
1023
- writable: !0
1024
- };
1025
- Object.defineProperties(console, {
1026
- log: i({}, e, {
1027
- value: Br
1028
- }),
1029
- info: i({}, e, {
1030
- value: zr
1031
- }),
1032
- warn: i({}, e, {
1033
- value: qr
1034
- }),
1035
- error: i({}, e, {
1036
- value: Kr
1037
- }),
1038
- group: i({}, e, {
1039
- value: Hr
1040
- }),
1041
- groupCollapsed: i({}, e, {
1042
- value: Gr
1043
- }),
1044
- groupEnd: i({}, e, {
1045
- value: Jr
1046
- })
1047
- });
1048
- }
1049
- Ge < 0 && l("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1050
- }
1051
- }
1052
- var Ir = Y.ReactCurrentDispatcher, Fr;
1053
- function dr(e, r, a) {
1054
- {
1055
- if (Fr === void 0)
1056
- try {
1057
- throw Error();
1058
- } catch (c) {
1059
- var o = c.stack.trim().match(/\n( *(at )?)/);
1060
- Fr = o && o[1] || "";
1061
- }
1062
- return `
1063
- ` + Fr + e;
1064
- }
1065
- }
1066
- var $r = !1, pr;
1067
- {
1068
- var bt = typeof WeakMap == "function" ? WeakMap : Map;
1069
- pr = new bt();
1070
- }
1071
- function Qr(e, r) {
1072
- if (!e || $r)
1073
- return "";
1074
- {
1075
- var a = pr.get(e);
1076
- if (a !== void 0)
1077
- return a;
1078
- }
1079
- var o;
1080
- $r = !0;
1081
- var c = Error.prepareStackTrace;
1082
- Error.prepareStackTrace = void 0;
1083
- var p;
1084
- p = Ir.current, Ir.current = null, _t();
1085
- try {
1086
- if (r) {
1087
- var f = function() {
1088
- throw Error();
1089
- };
1090
- if (Object.defineProperty(f.prototype, "props", {
1091
- set: function() {
1092
- throw Error();
1093
- }
1094
- }), typeof Reflect == "object" && Reflect.construct) {
1095
- try {
1096
- Reflect.construct(f, []);
1097
- } catch (z) {
1098
- o = z;
1099
- }
1100
- Reflect.construct(e, [], f);
1101
- } else {
1102
- try {
1103
- f.call();
1104
- } catch (z) {
1105
- o = z;
1106
- }
1107
- e.call(f.prototype);
1108
- }
1109
- } else {
1110
- try {
1111
- throw Error();
1112
- } catch (z) {
1113
- o = z;
1114
- }
1115
- e();
1116
- }
1117
- } catch (z) {
1118
- if (z && o && typeof z.stack == "string") {
1119
- for (var y = z.stack.split(`
1120
- `), E = o.stack.split(`
1121
- `), P = y.length - 1, j = E.length - 1; P >= 1 && j >= 0 && y[P] !== E[j]; )
1122
- j--;
1123
- for (; P >= 1 && j >= 0; P--, j--)
1124
- if (y[P] !== E[j]) {
1125
- if (P !== 1 || j !== 1)
1126
- do
1127
- if (P--, j--, j < 0 || y[P] !== E[j]) {
1128
- var A = `
1129
- ` + y[P].replace(" at new ", " at ");
1130
- return e.displayName && A.includes("<anonymous>") && (A = A.replace("<anonymous>", e.displayName)), typeof e == "function" && pr.set(e, A), A;
1131
- }
1132
- while (P >= 1 && j >= 0);
1133
- break;
1134
- }
1135
- }
1136
- } finally {
1137
- $r = !1, Ir.current = p, gt(), Error.prepareStackTrace = c;
1138
- }
1139
- var I = e ? e.displayName || e.name : "", N = I ? dr(I) : "";
1140
- return typeof e == "function" && pr.set(e, N), N;
1141
- }
1142
- function Et(e, r, a) {
1143
- return Qr(e, !1);
1144
- }
1145
- function Rt(e) {
1146
- var r = e.prototype;
1147
- return !!(r && r.isReactComponent);
1148
- }
1149
- function vr(e, r, a) {
1150
- if (e == null)
1151
- return "";
1152
- if (typeof e == "function")
1153
- return Qr(e, Rt(e));
1154
- if (typeof e == "string")
1155
- return dr(e);
1156
- switch (e) {
1157
- case U:
1158
- return dr("Suspense");
1159
- case te:
1160
- return dr("SuspenseList");
1161
- }
1162
- if (typeof e == "object")
1163
- switch (e.$$typeof) {
1164
- case L:
1165
- return Et(e.render);
1166
- case X:
1167
- return vr(e.type, r, a);
1168
- case fe: {
1169
- var o = e, c = o._payload, p = o._init;
1170
- try {
1171
- return vr(p(c), r, a);
1172
- } catch {
1173
- }
1174
- }
1175
- }
1176
- return "";
1177
- }
1178
- var Zr = {}, et = Y.ReactDebugCurrentFrame;
1179
- function yr(e) {
1180
- if (e) {
1181
- var r = e._owner, a = vr(e.type, e._source, r ? r.type : null);
1182
- et.setExtraStackFrame(a);
1183
- } else
1184
- et.setExtraStackFrame(null);
1185
- }
1186
- function Ct(e, r, a, o, c) {
1187
- {
1188
- var p = Function.call.bind(je);
1189
- for (var f in e)
1190
- if (p(e, f)) {
1191
- var y = void 0;
1192
- try {
1193
- if (typeof e[f] != "function") {
1194
- var E = Error((o || "React class") + ": " + a + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1195
- throw E.name = "Invariant Violation", E;
1196
- }
1197
- y = e[f](r, f, o, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1198
- } catch (P) {
1199
- y = P;
1200
- }
1201
- y && !(y instanceof Error) && (yr(c), l("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", a, f, typeof y), yr(null)), y instanceof Error && !(y.message in Zr) && (Zr[y.message] = !0, yr(c), l("Failed %s type: %s", a, y.message), yr(null));
1202
- }
1203
- }
1204
- }
1205
- function We(e) {
1206
- if (e) {
1207
- var r = e._owner, a = vr(e.type, e._source, r ? r.type : null);
1208
- we(a);
1209
- } else
1210
- we(null);
1211
- }
1212
- var Lr;
1213
- Lr = !1;
1214
- function rt() {
1215
- if (G.current) {
1216
- var e = pe(G.current.type);
1217
- if (e)
1218
- return `
1219
-
1220
- Check the render method of \`` + e + "`.";
1221
- }
1222
- return "";
1223
- }
1224
- function wt(e) {
1225
- if (e !== void 0) {
1226
- var r = e.fileName.replace(/^.*[\\\/]/, ""), a = e.lineNumber;
1227
- return `
1228
-
1229
- Check your code at ` + r + ":" + a + ".";
1230
- }
1231
- return "";
1232
- }
1233
- function St(e) {
1234
- return e != null ? wt(e.__source) : "";
1235
- }
1236
- var tt = {};
1237
- function Tt(e) {
1238
- var r = rt();
1239
- if (!r) {
1240
- var a = typeof e == "string" ? e : e.displayName || e.name;
1241
- a && (r = `
1242
-
1243
- Check the top-level render call using <` + a + ">.");
1244
- }
1245
- return r;
1246
- }
1247
- function nt(e, r) {
1248
- if (!(!e._store || e._store.validated || e.key != null)) {
1249
- e._store.validated = !0;
1250
- var a = Tt(r);
1251
- if (!tt[a]) {
1252
- tt[a] = !0;
1253
- var o = "";
1254
- e && e._owner && e._owner !== G.current && (o = " It was passed a child from " + pe(e._owner.type) + "."), We(e), l('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', a, o), We(null);
1255
- }
1256
- }
1257
- }
1258
- function at(e, r) {
1259
- if (typeof e == "object") {
1260
- if ($e(e))
1261
- for (var a = 0; a < e.length; a++) {
1262
- var o = e[a];
1263
- Ee(o) && nt(o, r);
1264
- }
1265
- else if (Ee(e))
1266
- e._store && (e._store.validated = !0);
1267
- else if (e) {
1268
- var c = D(e);
1269
- if (typeof c == "function" && c !== e.entries)
1270
- for (var p = c.call(e), f; !(f = p.next()).done; )
1271
- Ee(f.value) && nt(f.value, r);
1272
- }
1273
- }
1274
- }
1275
- function ot(e) {
1276
- {
1277
- var r = e.type;
1278
- if (r == null || typeof r == "string")
1279
- return;
1280
- var a;
1281
- if (typeof r == "function")
1282
- a = r.propTypes;
1283
- else if (typeof r == "object" && (r.$$typeof === L || // Note: Memo only checks outer props here.
1284
- // Inner props are checked in the reconciler.
1285
- r.$$typeof === X))
1286
- a = r.propTypes;
1287
- else
1288
- return;
1289
- if (a) {
1290
- var o = pe(r);
1291
- Ct(a, e.props, "prop", o, e);
1292
- } else if (r.PropTypes !== void 0 && !Lr) {
1293
- Lr = !0;
1294
- var c = pe(r);
1295
- l("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", c || "Unknown");
1296
- }
1297
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && l("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1298
- }
1299
- }
1300
- function Ot(e) {
1301
- {
1302
- for (var r = Object.keys(e.props), a = 0; a < r.length; a++) {
1303
- var o = r[a];
1304
- if (o !== "children" && o !== "key") {
1305
- We(e), l("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), We(null);
1306
- break;
1307
- }
1308
- }
1309
- e.ref !== null && (We(e), l("Invalid attribute `ref` supplied to `React.Fragment`."), We(null));
1310
- }
1311
- }
1312
- function ut(e, r, a) {
1313
- var o = t(e);
1314
- if (!o) {
1315
- var c = "";
1316
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1317
- var p = St(r);
1318
- p ? c += p : c += rt();
1319
- var f;
1320
- e === null ? f = "null" : $e(e) ? f = "array" : e !== void 0 && e.$$typeof === H ? (f = "<" + (pe(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : f = typeof e, l("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", f, c);
1321
- }
1322
- var y = Rr.apply(this, arguments);
1323
- if (y == null)
1324
- return y;
1325
- if (o)
1326
- for (var E = 2; E < arguments.length; E++)
1327
- at(arguments[E], e);
1328
- return e === ae ? Ot(y) : ot(y), y;
1329
- }
1330
- var it = !1;
1331
- function Pt(e) {
1332
- var r = ut.bind(null, e);
1333
- return r.type = e, it || (it = !0, ce("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(r, "type", {
1334
- enumerable: !1,
1335
- get: function() {
1336
- return ce("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
1337
- value: e
1338
- }), e;
1339
- }
1340
- }), r;
1341
- }
1342
- function kt(e, r, a) {
1343
- for (var o = wr.apply(this, arguments), c = 2; c < arguments.length; c++)
1344
- at(arguments[c], o.type);
1345
- return ot(o), o;
1346
- }
1347
- function jt(e, r) {
1348
- var a = se.transition;
1349
- se.transition = {};
1350
- var o = se.transition;
1351
- se.transition._updatedFibers = /* @__PURE__ */ new Set();
1352
- try {
1353
- e();
1354
- } finally {
1355
- if (se.transition = a, a === null && o._updatedFibers) {
1356
- var c = o._updatedFibers.size;
1357
- c > 10 && ce("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."), o._updatedFibers.clear();
1358
- }
1359
- }
1360
- }
1361
- var st = !1, hr = null;
1362
- function At(e) {
1363
- if (hr === null)
1364
- try {
1365
- var r = ("require" + Math.random()).slice(0, 7), a = W && W[r];
1366
- hr = a.call(W, "timers").setImmediate;
1367
- } catch {
1368
- hr = function(c) {
1369
- st === !1 && (st = !0, typeof MessageChannel > "u" && l("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."));
1370
- var p = new MessageChannel();
1371
- p.port1.onmessage = c, p.port2.postMessage(void 0);
1372
- };
1373
- }
1374
- return hr(e);
1375
- }
1376
- var Ue = 0, ct = !1;
1377
- function ft(e) {
1378
- {
1379
- var r = Ue;
1380
- Ue++, M.current === null && (M.current = []);
1381
- var a = M.isBatchingLegacy, o;
1382
- try {
1383
- if (M.isBatchingLegacy = !0, o = e(), !a && M.didScheduleLegacyUpdate) {
1384
- var c = M.current;
1385
- c !== null && (M.didScheduleLegacyUpdate = !1, Nr(c));
1386
- }
1387
- } catch (I) {
1388
- throw mr(r), I;
1389
- } finally {
1390
- M.isBatchingLegacy = a;
1391
- }
1392
- if (o !== null && typeof o == "object" && typeof o.then == "function") {
1393
- var p = o, f = !1, y = {
1394
- then: function(I, N) {
1395
- f = !0, p.then(function(z) {
1396
- mr(r), Ue === 0 ? Mr(z, I, N) : I(z);
1397
- }, function(z) {
1398
- mr(r), N(z);
1399
- });
1400
- }
1401
- };
1402
- return !ct && typeof Promise < "u" && Promise.resolve().then(function() {
1403
- }).then(function() {
1404
- f || (ct = !0, l("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 () => ...);"));
1405
- }), y;
1406
- } else {
1407
- var E = o;
1408
- if (mr(r), Ue === 0) {
1409
- var P = M.current;
1410
- P !== null && (Nr(P), M.current = null);
1411
- var j = {
1412
- then: function(I, N) {
1413
- M.current === null ? (M.current = [], Mr(E, I, N)) : I(E);
1414
- }
1415
- };
1416
- return j;
1417
- } else {
1418
- var A = {
1419
- then: function(I, N) {
1420
- I(E);
1421
- }
1422
- };
1423
- return A;
1424
- }
1425
- }
1426
- }
1427
- }
1428
- function mr(e) {
1429
- e !== Ue - 1 && l("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), Ue = e;
1430
- }
1431
- function Mr(e, r, a) {
1432
- {
1433
- var o = M.current;
1434
- if (o !== null)
1435
- try {
1436
- Nr(o), At(function() {
1437
- o.length === 0 ? (M.current = null, r(e)) : Mr(e, r, a);
1438
- });
1439
- } catch (c) {
1440
- a(c);
1441
- }
1442
- else
1443
- r(e);
1444
- }
1445
- }
1446
- var Vr = !1;
1447
- function Nr(e) {
1448
- if (!Vr) {
1449
- Vr = !0;
1450
- var r = 0;
1451
- try {
1452
- for (; r < e.length; r++) {
1453
- var a = e[r];
1454
- do
1455
- a = a(!0);
1456
- while (a !== null);
1457
- }
1458
- e.length = 0;
1459
- } catch (o) {
1460
- throw e = e.slice(r + 1), o;
1461
- } finally {
1462
- Vr = !1;
1463
- }
1464
- }
1465
- }
1466
- var Dt = ut, xt = kt, It = Pt, Ft = {
1467
- map: xe,
1468
- forEach: ir,
1469
- count: Or,
1470
- toArray: Pr,
1471
- only: sr
1472
- };
1473
- d.Children = Ft, d.Component = b, d.Fragment = ae, d.Profiler = ee, d.PureComponent = w, d.StrictMode = oe, d.Suspense = U, d.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Y, d.act = ft, d.cloneElement = xt, d.createContext = cr, d.createElement = Dt, d.createFactory = It, d.createRef = gr, d.forwardRef = Ar, d.isValidElement = Ee, d.lazy = jr, d.memo = u, d.startTransition = jt, d.unstable_act = ft, d.useCallback = F, d.useContext = v, d.useDebugValue = me, d.useDeferredValue = He, d.useEffect = h, d.useId = Dr, d.useImperativeHandle = Ce, d.useInsertionEffect = B, d.useLayoutEffect = x, d.useMemo = Z, d.useReducer = S, d.useRef = g, d.useState = C, d.useSyncExternalStore = xr, d.useTransition = K, d.version = J, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
1474
- }();
1475
- }(Qe, Qe.exports)), Qe.exports;
1476
- }
1477
- process.env.NODE_ENV === "production" ? Yr.exports = Nt() : Yr.exports = Wt();
1478
- var Ye = Yr.exports;
1
+ import Ce, { useRef as cr, useState as vr, useEffect as Oe } from "react";
2
+ import { createScalarReferences as dr } from "@scalar/api-reference";
3
+ var Z = { exports: {} }, I = {};
1479
4
  /**
1480
5
  * @license React
1481
6
  * react-jsx-runtime.production.min.js
@@ -1485,21 +10,21 @@ var Ye = Yr.exports;
1485
10
  * This source code is licensed under the MIT license found in the
1486
11
  * LICENSE file in the root directory of this source tree.
1487
12
  */
1488
- var ht;
1489
- function Ut() {
1490
- if (ht) return Je;
1491
- ht = 1;
1492
- var W = Ye, d = Symbol.for("react.element"), J = Symbol.for("react.fragment"), H = Object.prototype.hasOwnProperty, ne = W.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, ae = { key: !0, ref: !0, __self: !0, __source: !0 };
1493
- function oe(ee, $, re) {
1494
- var L, U = {}, te = null, X = null;
1495
- re !== void 0 && (te = "" + re), $.key !== void 0 && (te = "" + $.key), $.ref !== void 0 && (X = $.ref);
1496
- for (L in $) H.call($, L) && !ae.hasOwnProperty(L) && (U[L] = $[L]);
1497
- if (ee && ee.defaultProps) for (L in $ = ee.defaultProps, $) U[L] === void 0 && (U[L] = $[L]);
1498
- return { $$typeof: d, type: ee, key: te, ref: X, props: U, _owner: ne.current };
13
+ var Se;
14
+ function pr() {
15
+ if (Se) return I;
16
+ Se = 1;
17
+ var h = Ce, g = Symbol.for("react.element"), R = Symbol.for("react.fragment"), E = Object.prototype.hasOwnProperty, m = h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, $ = { key: !0, ref: !0, __self: !0, __source: !0 };
18
+ function k(T, c, C) {
19
+ var p, y = {}, O = null, Y = null;
20
+ C !== void 0 && (O = "" + C), c.key !== void 0 && (O = "" + c.key), c.ref !== void 0 && (Y = c.ref);
21
+ for (p in c) E.call(c, p) && !$.hasOwnProperty(p) && (y[p] = c[p]);
22
+ if (T && T.defaultProps) for (p in c = T.defaultProps, c) y[p] === void 0 && (y[p] = c[p]);
23
+ return { $$typeof: g, type: T, key: O, ref: Y, props: y, _owner: m.current };
1499
24
  }
1500
- return Je.Fragment = J, Je.jsx = oe, Je.jsxs = oe, Je;
25
+ return I.Fragment = R, I.jsx = k, I.jsxs = k, I;
1501
26
  }
1502
- var Xe = {};
27
+ var W = {};
1503
28
  /**
1504
29
  * @license React
1505
30
  * react-jsx-runtime.development.js
@@ -1509,91 +34,91 @@ var Xe = {};
1509
34
  * This source code is licensed under the MIT license found in the
1510
35
  * LICENSE file in the root directory of this source tree.
1511
36
  */
1512
- var mt;
1513
- function Yt() {
1514
- return mt || (mt = 1, process.env.NODE_ENV !== "production" && function() {
1515
- var W = Ye, d = Symbol.for("react.element"), J = Symbol.for("react.portal"), H = Symbol.for("react.fragment"), ne = Symbol.for("react.strict_mode"), ae = Symbol.for("react.profiler"), oe = Symbol.for("react.provider"), ee = Symbol.for("react.context"), $ = Symbol.for("react.forward_ref"), re = Symbol.for("react.suspense"), L = Symbol.for("react.suspense_list"), U = Symbol.for("react.memo"), te = Symbol.for("react.lazy"), X = Symbol.for("react.offscreen"), fe = Symbol.iterator, Fe = "@@iterator";
1516
- function ue(t) {
1517
- if (t === null || typeof t != "object")
37
+ var Pe;
38
+ function _r() {
39
+ return Pe || (Pe = 1, process.env.NODE_ENV !== "production" && function() {
40
+ var h = Ce, g = Symbol.for("react.element"), R = Symbol.for("react.portal"), E = Symbol.for("react.fragment"), m = Symbol.for("react.strict_mode"), $ = Symbol.for("react.profiler"), k = Symbol.for("react.provider"), T = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), Q = Symbol.iterator, we = "@@iterator";
41
+ function je(e) {
42
+ if (e === null || typeof e != "object")
1518
43
  return null;
1519
- var u = fe && t[fe] || t[Fe];
1520
- return typeof u == "function" ? u : null;
44
+ var r = Q && e[Q] || e[we];
45
+ return typeof r == "function" ? r : null;
1521
46
  }
1522
- var ie = W.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1523
- function D(t) {
47
+ var w = h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
48
+ function l(e) {
1524
49
  {
1525
- for (var u = arguments.length, s = new Array(u > 1 ? u - 1 : 0), v = 1; v < u; v++)
1526
- s[v - 1] = arguments[v];
1527
- _e("error", t, s);
50
+ for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
51
+ t[n - 1] = arguments[n];
52
+ xe("error", e, t);
1528
53
  }
1529
54
  }
1530
- function _e(t, u, s) {
55
+ function xe(e, r, t) {
1531
56
  {
1532
- var v = ie.ReactDebugCurrentFrame, C = v.getStackAddendum();
1533
- C !== "" && (u += "%s", s = s.concat([C]));
1534
- var S = s.map(function(g) {
1535
- return String(g);
57
+ var n = w.ReactDebugCurrentFrame, i = n.getStackAddendum();
58
+ i !== "" && (r += "%s", t = t.concat([i]));
59
+ var u = t.map(function(o) {
60
+ return String(o);
1536
61
  });
1537
- S.unshift("Warning: " + u), Function.prototype.apply.call(console[t], console, S);
62
+ u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
1538
63
  }
1539
64
  }
1540
- var se = !1, M = !1, G = !1, le = !1, ve = !1, we;
1541
- we = Symbol.for("react.module.reference");
1542
- function Se(t) {
1543
- return !!(typeof t == "string" || typeof t == "function" || t === H || t === ae || ve || t === ne || t === re || t === L || le || t === X || se || M || G || typeof t == "object" && t !== null && (t.$$typeof === te || t.$$typeof === U || t.$$typeof === oe || t.$$typeof === ee || t.$$typeof === $ || // This needs to include all possible module reference object
65
+ var ke = !1, De = !1, Ae = !1, Fe = !1, Ie = !1, ee;
66
+ ee = Symbol.for("react.module.reference");
67
+ function We(e) {
68
+ return !!(typeof e == "string" || typeof e == "function" || e === E || e === $ || Ie || e === m || e === C || e === p || Fe || e === Y || ke || De || Ae || typeof e == "object" && e !== null && (e.$$typeof === O || e.$$typeof === y || e.$$typeof === k || e.$$typeof === T || e.$$typeof === c || // This needs to include all possible module reference object
1544
69
  // types supported by any Flight configuration anywhere since
1545
70
  // we don't know which Flight build this will end up being used
1546
71
  // with.
1547
- t.$$typeof === we || t.getModuleId !== void 0));
72
+ e.$$typeof === ee || e.getModuleId !== void 0));
1548
73
  }
1549
- function Be(t, u, s) {
1550
- var v = t.displayName;
1551
- if (v)
1552
- return v;
1553
- var C = u.displayName || u.name || "";
1554
- return C !== "" ? s + "(" + C + ")" : s;
74
+ function $e(e, r, t) {
75
+ var n = e.displayName;
76
+ if (n)
77
+ return n;
78
+ var i = r.displayName || r.name || "";
79
+ return i !== "" ? t + "(" + i + ")" : t;
1555
80
  }
1556
- function Te(t) {
1557
- return t.displayName || "Context";
81
+ function re(e) {
82
+ return e.displayName || "Context";
1558
83
  }
1559
- function q(t) {
1560
- if (t == null)
84
+ function b(e) {
85
+ if (e == null)
1561
86
  return null;
1562
- if (typeof t.tag == "number" && D("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
1563
- return t.displayName || t.name || null;
1564
- if (typeof t == "string")
1565
- return t;
1566
- switch (t) {
1567
- case H:
87
+ if (typeof e.tag == "number" && l("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
88
+ return e.displayName || e.name || null;
89
+ if (typeof e == "string")
90
+ return e;
91
+ switch (e) {
92
+ case E:
1568
93
  return "Fragment";
1569
- case J:
94
+ case R:
1570
95
  return "Portal";
1571
- case ae:
96
+ case $:
1572
97
  return "Profiler";
1573
- case ne:
98
+ case m:
1574
99
  return "StrictMode";
1575
- case re:
100
+ case C:
1576
101
  return "Suspense";
1577
- case L:
102
+ case p:
1578
103
  return "SuspenseList";
1579
104
  }
1580
- if (typeof t == "object")
1581
- switch (t.$$typeof) {
1582
- case ee:
1583
- var u = t;
1584
- return Te(u) + ".Consumer";
1585
- case oe:
1586
- var s = t;
1587
- return Te(s._context) + ".Provider";
1588
- case $:
1589
- return Be(t, t.render, "ForwardRef");
1590
- case U:
1591
- var v = t.displayName || null;
1592
- return v !== null ? v : q(t.type) || "Memo";
1593
- case te: {
1594
- var C = t, S = C._payload, g = C._init;
105
+ if (typeof e == "object")
106
+ switch (e.$$typeof) {
107
+ case T:
108
+ var r = e;
109
+ return re(r) + ".Consumer";
110
+ case k:
111
+ var t = e;
112
+ return re(t._context) + ".Provider";
113
+ case c:
114
+ return $e(e, e.render, "ForwardRef");
115
+ case y:
116
+ var n = e.displayName || null;
117
+ return n !== null ? n : b(e.type) || "Memo";
118
+ case O: {
119
+ var i = e, u = i._payload, o = i._init;
1595
120
  try {
1596
- return q(g(S));
121
+ return b(o(u));
1597
122
  } catch {
1598
123
  return null;
1599
124
  }
@@ -1601,530 +126,530 @@ function Yt() {
1601
126
  }
1602
127
  return null;
1603
128
  }
1604
- var Q = Object.assign, Y = 0, ce, l, de, Oe, ye, n, i;
1605
- function _() {
129
+ var S = Object.assign, D = 0, te, ne, ae, oe, ie, ue, se;
130
+ function fe() {
1606
131
  }
1607
- _.__reactDisabledLog = !0;
1608
- function b() {
132
+ fe.__reactDisabledLog = !0;
133
+ function Ye() {
1609
134
  {
1610
- if (Y === 0) {
1611
- ce = console.log, l = console.info, de = console.warn, Oe = console.error, ye = console.group, n = console.groupCollapsed, i = console.groupEnd;
1612
- var t = {
135
+ if (D === 0) {
136
+ te = console.log, ne = console.info, ae = console.warn, oe = console.error, ie = console.group, ue = console.groupCollapsed, se = console.groupEnd;
137
+ var e = {
1613
138
  configurable: !0,
1614
139
  enumerable: !0,
1615
- value: _,
140
+ value: fe,
1616
141
  writable: !0
1617
142
  };
1618
143
  Object.defineProperties(console, {
1619
- info: t,
1620
- log: t,
1621
- warn: t,
1622
- error: t,
1623
- group: t,
1624
- groupCollapsed: t,
1625
- groupEnd: t
144
+ info: e,
145
+ log: e,
146
+ warn: e,
147
+ error: e,
148
+ group: e,
149
+ groupCollapsed: e,
150
+ groupEnd: e
1626
151
  });
1627
152
  }
1628
- Y++;
153
+ D++;
1629
154
  }
1630
155
  }
1631
- function R() {
156
+ function Ve() {
1632
157
  {
1633
- if (Y--, Y === 0) {
1634
- var t = {
158
+ if (D--, D === 0) {
159
+ var e = {
1635
160
  configurable: !0,
1636
161
  enumerable: !0,
1637
162
  writable: !0
1638
163
  };
1639
164
  Object.defineProperties(console, {
1640
- log: Q({}, t, {
1641
- value: ce
165
+ log: S({}, e, {
166
+ value: te
1642
167
  }),
1643
- info: Q({}, t, {
1644
- value: l
168
+ info: S({}, e, {
169
+ value: ne
1645
170
  }),
1646
- warn: Q({}, t, {
1647
- value: de
171
+ warn: S({}, e, {
172
+ value: ae
1648
173
  }),
1649
- error: Q({}, t, {
1650
- value: Oe
174
+ error: S({}, e, {
175
+ value: oe
1651
176
  }),
1652
- group: Q({}, t, {
1653
- value: ye
177
+ group: S({}, e, {
178
+ value: ie
1654
179
  }),
1655
- groupCollapsed: Q({}, t, {
1656
- value: n
180
+ groupCollapsed: S({}, e, {
181
+ value: ue
1657
182
  }),
1658
- groupEnd: Q({}, t, {
1659
- value: i
183
+ groupEnd: S({}, e, {
184
+ value: se
1660
185
  })
1661
186
  });
1662
187
  }
1663
- Y < 0 && D("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
188
+ D < 0 && l("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1664
189
  }
1665
190
  }
1666
- var k = ie.ReactCurrentDispatcher, O;
1667
- function T(t, u, s) {
191
+ var N = w.ReactCurrentDispatcher, B;
192
+ function V(e, r, t) {
1668
193
  {
1669
- if (O === void 0)
194
+ if (B === void 0)
1670
195
  try {
1671
196
  throw Error();
1672
- } catch (C) {
1673
- var v = C.stack.trim().match(/\n( *(at )?)/);
1674
- O = v && v[1] || "";
197
+ } catch (i) {
198
+ var n = i.stack.trim().match(/\n( *(at )?)/);
199
+ B = n && n[1] || "";
1675
200
  }
1676
201
  return `
1677
- ` + O + t;
202
+ ` + B + e;
1678
203
  }
1679
204
  }
1680
- var w = !1, V;
205
+ var J = !1, L;
1681
206
  {
1682
- var gr = typeof WeakMap == "function" ? WeakMap : Map;
1683
- V = new gr();
207
+ var Le = typeof WeakMap == "function" ? WeakMap : Map;
208
+ L = new Le();
1684
209
  }
1685
- function Ze(t, u) {
1686
- if (!t || w)
210
+ function le(e, r) {
211
+ if (!e || J)
1687
212
  return "";
1688
213
  {
1689
- var s = V.get(t);
1690
- if (s !== void 0)
1691
- return s;
214
+ var t = L.get(e);
215
+ if (t !== void 0)
216
+ return t;
1692
217
  }
1693
- var v;
1694
- w = !0;
1695
- var C = Error.prepareStackTrace;
218
+ var n;
219
+ J = !0;
220
+ var i = Error.prepareStackTrace;
1696
221
  Error.prepareStackTrace = void 0;
1697
- var S;
1698
- S = k.current, k.current = null, b();
222
+ var u;
223
+ u = N.current, N.current = null, Ye();
1699
224
  try {
1700
- if (u) {
1701
- var g = function() {
225
+ if (r) {
226
+ var o = function() {
1702
227
  throw Error();
1703
228
  };
1704
- if (Object.defineProperty(g.prototype, "props", {
229
+ if (Object.defineProperty(o.prototype, "props", {
1705
230
  set: function() {
1706
231
  throw Error();
1707
232
  }
1708
233
  }), typeof Reflect == "object" && Reflect.construct) {
1709
234
  try {
1710
- Reflect.construct(g, []);
1711
- } catch (K) {
1712
- v = K;
235
+ Reflect.construct(o, []);
236
+ } catch (d) {
237
+ n = d;
1713
238
  }
1714
- Reflect.construct(t, [], g);
239
+ Reflect.construct(e, [], o);
1715
240
  } else {
1716
241
  try {
1717
- g.call();
1718
- } catch (K) {
1719
- v = K;
242
+ o.call();
243
+ } catch (d) {
244
+ n = d;
1720
245
  }
1721
- t.call(g.prototype);
246
+ e.call(o.prototype);
1722
247
  }
1723
248
  } else {
1724
249
  try {
1725
250
  throw Error();
1726
- } catch (K) {
1727
- v = K;
251
+ } catch (d) {
252
+ n = d;
1728
253
  }
1729
- t();
254
+ e();
1730
255
  }
1731
- } catch (K) {
1732
- if (K && v && typeof K.stack == "string") {
1733
- for (var h = K.stack.split(`
1734
- `), B = v.stack.split(`
1735
- `), x = h.length - 1, F = B.length - 1; x >= 1 && F >= 0 && h[x] !== B[F]; )
1736
- F--;
1737
- for (; x >= 1 && F >= 0; x--, F--)
1738
- if (h[x] !== B[F]) {
1739
- if (x !== 1 || F !== 1)
256
+ } catch (d) {
257
+ if (d && n && typeof d.stack == "string") {
258
+ for (var a = d.stack.split(`
259
+ `), v = n.stack.split(`
260
+ `), s = a.length - 1, f = v.length - 1; s >= 1 && f >= 0 && a[s] !== v[f]; )
261
+ f--;
262
+ for (; s >= 1 && f >= 0; s--, f--)
263
+ if (a[s] !== v[f]) {
264
+ if (s !== 1 || f !== 1)
1740
265
  do
1741
- if (x--, F--, F < 0 || h[x] !== B[F]) {
1742
- var Z = `
1743
- ` + h[x].replace(" at new ", " at ");
1744
- return t.displayName && Z.includes("<anonymous>") && (Z = Z.replace("<anonymous>", t.displayName)), typeof t == "function" && V.set(t, Z), Z;
266
+ if (s--, f--, f < 0 || a[s] !== v[f]) {
267
+ var _ = `
268
+ ` + a[s].replace(" at new ", " at ");
269
+ return e.displayName && _.includes("<anonymous>") && (_ = _.replace("<anonymous>", e.displayName)), typeof e == "function" && L.set(e, _), _;
1745
270
  }
1746
- while (x >= 1 && F >= 0);
271
+ while (s >= 1 && f >= 0);
1747
272
  break;
1748
273
  }
1749
274
  }
1750
275
  } finally {
1751
- w = !1, k.current = S, R(), Error.prepareStackTrace = C;
276
+ J = !1, N.current = u, Ve(), Error.prepareStackTrace = i;
1752
277
  }
1753
- var Ce = t ? t.displayName || t.name : "", me = Ce ? T(Ce) : "";
1754
- return typeof t == "function" && V.set(t, me), me;
278
+ var x = e ? e.displayName || e.name : "", P = x ? V(x) : "";
279
+ return typeof e == "function" && L.set(e, P), P;
1755
280
  }
1756
- function $e(t, u, s) {
1757
- return Ze(t, !1);
281
+ function Ue(e, r, t) {
282
+ return le(e, !1);
1758
283
  }
1759
- function br(t) {
1760
- var u = t.prototype;
1761
- return !!(u && u.isReactComponent);
284
+ function Me(e) {
285
+ var r = e.prototype;
286
+ return !!(r && r.isReactComponent);
1762
287
  }
1763
- function Le(t, u, s) {
1764
- if (t == null)
288
+ function U(e, r, t) {
289
+ if (e == null)
1765
290
  return "";
1766
- if (typeof t == "function")
1767
- return Ze(t, br(t));
1768
- if (typeof t == "string")
1769
- return T(t);
1770
- switch (t) {
1771
- case re:
1772
- return T("Suspense");
1773
- case L:
1774
- return T("SuspenseList");
1775
- }
1776
- if (typeof t == "object")
1777
- switch (t.$$typeof) {
1778
- case $:
1779
- return $e(t.render);
1780
- case U:
1781
- return Le(t.type, u, s);
1782
- case te: {
1783
- var v = t, C = v._payload, S = v._init;
291
+ if (typeof e == "function")
292
+ return le(e, Me(e));
293
+ if (typeof e == "string")
294
+ return V(e);
295
+ switch (e) {
296
+ case C:
297
+ return V("Suspense");
298
+ case p:
299
+ return V("SuspenseList");
300
+ }
301
+ if (typeof e == "object")
302
+ switch (e.$$typeof) {
303
+ case c:
304
+ return Ue(e.render);
305
+ case y:
306
+ return U(e.type, r, t);
307
+ case O: {
308
+ var n = e, i = n._payload, u = n._init;
1784
309
  try {
1785
- return Le(S(C), u, s);
310
+ return U(u(i), r, t);
1786
311
  } catch {
1787
312
  }
1788
313
  }
1789
314
  }
1790
315
  return "";
1791
316
  }
1792
- var ge = Object.prototype.hasOwnProperty, Pe = {}, er = ie.ReactDebugCurrentFrame;
1793
- function ke(t) {
1794
- if (t) {
1795
- var u = t._owner, s = Le(t.type, t._source, u ? u.type : null);
1796
- er.setExtraStackFrame(s);
317
+ var A = Object.prototype.hasOwnProperty, ce = {}, ve = w.ReactDebugCurrentFrame;
318
+ function M(e) {
319
+ if (e) {
320
+ var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
321
+ ve.setExtraStackFrame(t);
1797
322
  } else
1798
- er.setExtraStackFrame(null);
323
+ ve.setExtraStackFrame(null);
1799
324
  }
1800
- function pe(t, u, s, v, C) {
325
+ function Ne(e, r, t, n, i) {
1801
326
  {
1802
- var S = Function.call.bind(ge);
1803
- for (var g in t)
1804
- if (S(t, g)) {
1805
- var h = void 0;
327
+ var u = Function.call.bind(A);
328
+ for (var o in e)
329
+ if (u(e, o)) {
330
+ var a = void 0;
1806
331
  try {
1807
- if (typeof t[g] != "function") {
1808
- var B = Error((v || "React class") + ": " + s + " type `" + g + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[g] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1809
- throw B.name = "Invariant Violation", B;
332
+ if (typeof e[o] != "function") {
333
+ var v = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
334
+ throw v.name = "Invariant Violation", v;
1810
335
  }
1811
- h = t[g](u, g, v, s, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1812
- } catch (x) {
1813
- h = x;
336
+ a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
337
+ } catch (s) {
338
+ a = s;
1814
339
  }
1815
- h && !(h instanceof Error) && (ke(C), D("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", v || "React class", s, g, typeof h), ke(null)), h instanceof Error && !(h.message in Pe) && (Pe[h.message] = !0, ke(C), D("Failed %s type: %s", s, h.message), ke(null));
340
+ a && !(a instanceof Error) && (M(i), l("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", n || "React class", t, o, typeof a), M(null)), a instanceof Error && !(a.message in ce) && (ce[a.message] = !0, M(i), l("Failed %s type: %s", t, a.message), M(null));
1816
341
  }
1817
342
  }
1818
343
  }
1819
- var je = Array.isArray;
1820
- function Me(t) {
1821
- return je(t);
344
+ var Be = Array.isArray;
345
+ function q(e) {
346
+ return Be(e);
1822
347
  }
1823
- function rr(t) {
348
+ function Je(e) {
1824
349
  {
1825
- var u = typeof Symbol == "function" && Symbol.toStringTag, s = u && t[Symbol.toStringTag] || t.constructor.name || "Object";
1826
- return s;
350
+ var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
351
+ return t;
1827
352
  }
1828
353
  }
1829
- function tr(t) {
354
+ function qe(e) {
1830
355
  try {
1831
- return Ve(t), !1;
356
+ return de(e), !1;
1832
357
  } catch {
1833
358
  return !0;
1834
359
  }
1835
360
  }
1836
- function Ve(t) {
1837
- return "" + t;
361
+ function de(e) {
362
+ return "" + e;
1838
363
  }
1839
- function ze(t) {
1840
- if (tr(t))
1841
- return D("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", rr(t)), Ve(t);
364
+ function pe(e) {
365
+ if (qe(e))
366
+ return l("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), de(e);
1842
367
  }
1843
- var be = ie.ReactCurrentOwner, Er = {
368
+ var F = w.ReactCurrentOwner, Ke = {
1844
369
  key: !0,
1845
370
  ref: !0,
1846
371
  __self: !0,
1847
372
  __source: !0
1848
- }, nr, ar, Ae;
1849
- Ae = {};
1850
- function Rr(t) {
1851
- if (ge.call(t, "ref")) {
1852
- var u = Object.getOwnPropertyDescriptor(t, "ref").get;
1853
- if (u && u.isReactWarning)
373
+ }, _e, ge, K;
374
+ K = {};
375
+ function Ge(e) {
376
+ if (A.call(e, "ref")) {
377
+ var r = Object.getOwnPropertyDescriptor(e, "ref").get;
378
+ if (r && r.isReactWarning)
1854
379
  return !1;
1855
380
  }
1856
- return t.ref !== void 0;
381
+ return e.ref !== void 0;
1857
382
  }
1858
- function Cr(t) {
1859
- if (ge.call(t, "key")) {
1860
- var u = Object.getOwnPropertyDescriptor(t, "key").get;
1861
- if (u && u.isReactWarning)
383
+ function ze(e) {
384
+ if (A.call(e, "key")) {
385
+ var r = Object.getOwnPropertyDescriptor(e, "key").get;
386
+ if (r && r.isReactWarning)
1862
387
  return !1;
1863
388
  }
1864
- return t.key !== void 0;
389
+ return e.key !== void 0;
1865
390
  }
1866
- function wr(t, u) {
1867
- if (typeof t.ref == "string" && be.current && u && be.current.stateNode !== u) {
1868
- var s = q(be.current.type);
1869
- Ae[s] || (D('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', q(be.current.type), t.ref), Ae[s] = !0);
391
+ function He(e, r) {
392
+ if (typeof e.ref == "string" && F.current && r && F.current.stateNode !== r) {
393
+ var t = b(F.current.type);
394
+ K[t] || (l('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', b(F.current.type), e.ref), K[t] = !0);
1870
395
  }
1871
396
  }
1872
- function Ee(t, u) {
397
+ function Xe(e, r) {
1873
398
  {
1874
- var s = function() {
1875
- nr || (nr = !0, D("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", u));
399
+ var t = function() {
400
+ _e || (_e = !0, l("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
1876
401
  };
1877
- s.isReactWarning = !0, Object.defineProperty(t, "key", {
1878
- get: s,
402
+ t.isReactWarning = !0, Object.defineProperty(e, "key", {
403
+ get: t,
1879
404
  configurable: !0
1880
405
  });
1881
406
  }
1882
407
  }
1883
- function or(t, u) {
408
+ function Ze(e, r) {
1884
409
  {
1885
- var s = function() {
1886
- ar || (ar = !0, D("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", u));
410
+ var t = function() {
411
+ ge || (ge = !0, l("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
1887
412
  };
1888
- s.isReactWarning = !0, Object.defineProperty(t, "ref", {
1889
- get: s,
413
+ t.isReactWarning = !0, Object.defineProperty(e, "ref", {
414
+ get: t,
1890
415
  configurable: !0
1891
416
  });
1892
417
  }
1893
418
  }
1894
- var Sr = function(t, u, s, v, C, S, g) {
1895
- var h = {
419
+ var Qe = function(e, r, t, n, i, u, o) {
420
+ var a = {
1896
421
  // This tag allows us to uniquely identify this as a React Element
1897
- $$typeof: d,
422
+ $$typeof: g,
1898
423
  // Built-in properties that belong on the element
1899
- type: t,
1900
- key: u,
1901
- ref: s,
1902
- props: g,
424
+ type: e,
425
+ key: r,
426
+ ref: t,
427
+ props: o,
1903
428
  // Record the component responsible for creating this element.
1904
- _owner: S
429
+ _owner: u
1905
430
  };
1906
- return h._store = {}, Object.defineProperty(h._store, "validated", {
431
+ return a._store = {}, Object.defineProperty(a._store, "validated", {
1907
432
  configurable: !1,
1908
433
  enumerable: !1,
1909
434
  writable: !0,
1910
435
  value: !1
1911
- }), Object.defineProperty(h, "_self", {
436
+ }), Object.defineProperty(a, "_self", {
1912
437
  configurable: !1,
1913
438
  enumerable: !1,
1914
439
  writable: !1,
1915
- value: v
1916
- }), Object.defineProperty(h, "_source", {
440
+ value: n
441
+ }), Object.defineProperty(a, "_source", {
1917
442
  configurable: !1,
1918
443
  enumerable: !1,
1919
444
  writable: !1,
1920
- value: C
1921
- }), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
445
+ value: i
446
+ }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
1922
447
  };
1923
- function Tr(t, u, s, v, C) {
448
+ function er(e, r, t, n, i) {
1924
449
  {
1925
- var S, g = {}, h = null, B = null;
1926
- s !== void 0 && (ze(s), h = "" + s), Cr(u) && (ze(u.key), h = "" + u.key), Rr(u) && (B = u.ref, wr(u, C));
1927
- for (S in u)
1928
- ge.call(u, S) && !Er.hasOwnProperty(S) && (g[S] = u[S]);
1929
- if (t && t.defaultProps) {
1930
- var x = t.defaultProps;
1931
- for (S in x)
1932
- g[S] === void 0 && (g[S] = x[S]);
450
+ var u, o = {}, a = null, v = null;
451
+ t !== void 0 && (pe(t), a = "" + t), ze(r) && (pe(r.key), a = "" + r.key), Ge(r) && (v = r.ref, He(r, i));
452
+ for (u in r)
453
+ A.call(r, u) && !Ke.hasOwnProperty(u) && (o[u] = r[u]);
454
+ if (e && e.defaultProps) {
455
+ var s = e.defaultProps;
456
+ for (u in s)
457
+ o[u] === void 0 && (o[u] = s[u]);
1933
458
  }
1934
- if (h || B) {
1935
- var F = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
1936
- h && Ee(g, F), B && or(g, F);
459
+ if (a || v) {
460
+ var f = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
461
+ a && Xe(o, f), v && Ze(o, f);
1937
462
  }
1938
- return Sr(t, h, B, C, v, be.current, g);
463
+ return Qe(e, a, v, i, n, F.current, o);
1939
464
  }
1940
465
  }
1941
- var Ne = ie.ReactCurrentOwner, ur = ie.ReactDebugCurrentFrame;
1942
- function he(t) {
1943
- if (t) {
1944
- var u = t._owner, s = Le(t.type, t._source, u ? u.type : null);
1945
- ur.setExtraStackFrame(s);
466
+ var G = w.ReactCurrentOwner, Re = w.ReactDebugCurrentFrame;
467
+ function j(e) {
468
+ if (e) {
469
+ var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
470
+ Re.setExtraStackFrame(t);
1946
471
  } else
1947
- ur.setExtraStackFrame(null);
472
+ Re.setExtraStackFrame(null);
1948
473
  }
1949
- var De;
1950
- De = !1;
1951
- function Re(t) {
1952
- return typeof t == "object" && t !== null && t.$$typeof === d;
474
+ var z;
475
+ z = !1;
476
+ function H(e) {
477
+ return typeof e == "object" && e !== null && e.$$typeof === g;
1953
478
  }
1954
- function xe() {
479
+ function be() {
1955
480
  {
1956
- if (Ne.current) {
1957
- var t = q(Ne.current.type);
1958
- if (t)
481
+ if (G.current) {
482
+ var e = b(G.current.type);
483
+ if (e)
1959
484
  return `
1960
485
 
1961
- Check the render method of \`` + t + "`.";
486
+ Check the render method of \`` + e + "`.";
1962
487
  }
1963
488
  return "";
1964
489
  }
1965
490
  }
1966
- function Or(t) {
491
+ function rr(e) {
1967
492
  return "";
1968
493
  }
1969
- var ir = {};
1970
- function Pr(t) {
494
+ var ye = {};
495
+ function tr(e) {
1971
496
  {
1972
- var u = xe();
1973
- if (!u) {
1974
- var s = typeof t == "string" ? t : t.displayName || t.name;
1975
- s && (u = `
497
+ var r = be();
498
+ if (!r) {
499
+ var t = typeof e == "string" ? e : e.displayName || e.name;
500
+ t && (r = `
1976
501
 
1977
- Check the top-level render call using <` + s + ">.");
502
+ Check the top-level render call using <` + t + ">.");
1978
503
  }
1979
- return u;
504
+ return r;
1980
505
  }
1981
506
  }
1982
- function sr(t, u) {
507
+ function Ee(e, r) {
1983
508
  {
1984
- if (!t._store || t._store.validated || t.key != null)
509
+ if (!e._store || e._store.validated || e.key != null)
1985
510
  return;
1986
- t._store.validated = !0;
1987
- var s = Pr(u);
1988
- if (ir[s])
511
+ e._store.validated = !0;
512
+ var t = tr(r);
513
+ if (ye[t])
1989
514
  return;
1990
- ir[s] = !0;
1991
- var v = "";
1992
- t && t._owner && t._owner !== Ne.current && (v = " It was passed a child from " + q(t._owner.type) + "."), he(t), D('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', s, v), he(null);
515
+ ye[t] = !0;
516
+ var n = "";
517
+ e && e._owner && e._owner !== G.current && (n = " It was passed a child from " + b(e._owner.type) + "."), j(e), l('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), j(null);
1993
518
  }
1994
519
  }
1995
- function cr(t, u) {
520
+ function he(e, r) {
1996
521
  {
1997
- if (typeof t != "object")
522
+ if (typeof e != "object")
1998
523
  return;
1999
- if (Me(t))
2000
- for (var s = 0; s < t.length; s++) {
2001
- var v = t[s];
2002
- Re(v) && sr(v, u);
524
+ if (q(e))
525
+ for (var t = 0; t < e.length; t++) {
526
+ var n = e[t];
527
+ H(n) && Ee(n, r);
2003
528
  }
2004
- else if (Re(t))
2005
- t._store && (t._store.validated = !0);
2006
- else if (t) {
2007
- var C = ue(t);
2008
- if (typeof C == "function" && C !== t.entries)
2009
- for (var S = C.call(t), g; !(g = S.next()).done; )
2010
- Re(g.value) && sr(g.value, u);
529
+ else if (H(e))
530
+ e._store && (e._store.validated = !0);
531
+ else if (e) {
532
+ var i = je(e);
533
+ if (typeof i == "function" && i !== e.entries)
534
+ for (var u = i.call(e), o; !(o = u.next()).done; )
535
+ H(o.value) && Ee(o.value, r);
2011
536
  }
2012
537
  }
2013
538
  }
2014
- function Ie(t) {
539
+ function nr(e) {
2015
540
  {
2016
- var u = t.type;
2017
- if (u == null || typeof u == "string")
541
+ var r = e.type;
542
+ if (r == null || typeof r == "string")
2018
543
  return;
2019
- var s;
2020
- if (typeof u == "function")
2021
- s = u.propTypes;
2022
- else if (typeof u == "object" && (u.$$typeof === $ || // Note: Memo only checks outer props here.
544
+ var t;
545
+ if (typeof r == "function")
546
+ t = r.propTypes;
547
+ else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
2023
548
  // Inner props are checked in the reconciler.
2024
- u.$$typeof === U))
2025
- s = u.propTypes;
549
+ r.$$typeof === y))
550
+ t = r.propTypes;
2026
551
  else
2027
552
  return;
2028
- if (s) {
2029
- var v = q(u);
2030
- pe(s, t.props, "prop", v, t);
2031
- } else if (u.PropTypes !== void 0 && !De) {
2032
- De = !0;
2033
- var C = q(u);
2034
- D("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", C || "Unknown");
553
+ if (t) {
554
+ var n = b(r);
555
+ Ne(t, e.props, "prop", n, e);
556
+ } else if (r.PropTypes !== void 0 && !z) {
557
+ z = !0;
558
+ var i = b(r);
559
+ l("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
2035
560
  }
2036
- typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && D("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && l("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
2037
562
  }
2038
563
  }
2039
- function qe(t) {
564
+ function ar(e) {
2040
565
  {
2041
- for (var u = Object.keys(t.props), s = 0; s < u.length; s++) {
2042
- var v = u[s];
2043
- if (v !== "children" && v !== "key") {
2044
- he(t), D("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", v), he(null);
566
+ for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
567
+ var n = r[t];
568
+ if (n !== "children" && n !== "key") {
569
+ j(e), l("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), j(null);
2045
570
  break;
2046
571
  }
2047
572
  }
2048
- t.ref !== null && (he(t), D("Invalid attribute `ref` supplied to `React.Fragment`."), he(null));
573
+ e.ref !== null && (j(e), l("Invalid attribute `ref` supplied to `React.Fragment`."), j(null));
2049
574
  }
2050
575
  }
2051
- var Ke = {};
2052
- function fr(t, u, s, v, C, S) {
576
+ var me = {};
577
+ function Te(e, r, t, n, i, u) {
2053
578
  {
2054
- var g = Se(t);
2055
- if (!g) {
2056
- var h = "";
2057
- (t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (h += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
2058
- var B = Or();
2059
- B ? h += B : h += xe();
2060
- var x;
2061
- t === null ? x = "null" : Me(t) ? x = "array" : t !== void 0 && t.$$typeof === d ? (x = "<" + (q(t.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : x = typeof t, D("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", x, h);
2062
- }
2063
- var F = Tr(t, u, s, C, S);
2064
- if (F == null)
2065
- return F;
2066
- if (g) {
2067
- var Z = u.children;
2068
- if (Z !== void 0)
2069
- if (v)
2070
- if (Me(Z)) {
2071
- for (var Ce = 0; Ce < Z.length; Ce++)
2072
- cr(Z[Ce], t);
2073
- Object.freeze && Object.freeze(Z);
579
+ var o = We(e);
580
+ if (!o) {
581
+ var a = "";
582
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
583
+ var v = rr();
584
+ v ? a += v : a += be();
585
+ var s;
586
+ e === null ? s = "null" : q(e) ? s = "array" : e !== void 0 && e.$$typeof === g ? (s = "<" + (b(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, l("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
587
+ }
588
+ var f = er(e, r, t, i, u);
589
+ if (f == null)
590
+ return f;
591
+ if (o) {
592
+ var _ = r.children;
593
+ if (_ !== void 0)
594
+ if (n)
595
+ if (q(_)) {
596
+ for (var x = 0; x < _.length; x++)
597
+ he(_[x], e);
598
+ Object.freeze && Object.freeze(_);
2074
599
  } else
2075
- D("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
+ l("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
2076
601
  else
2077
- cr(Z, t);
2078
- }
2079
- if (ge.call(u, "key")) {
2080
- var me = q(t), K = Object.keys(u).filter(function(xr) {
2081
- return xr !== "key";
2082
- }), He = K.length > 0 ? "{key: someKey, " + K.join(": ..., ") + ": ...}" : "{key: someKey}";
2083
- if (!Ke[me + He]) {
2084
- var Dr = K.length > 0 ? "{" + K.join(": ..., ") + ": ...}" : "{}";
2085
- D(`A props object containing a "key" prop is being spread into JSX:
602
+ he(_, e);
603
+ }
604
+ if (A.call(r, "key")) {
605
+ var P = b(e), d = Object.keys(r).filter(function(lr) {
606
+ return lr !== "key";
607
+ }), X = d.length > 0 ? "{key: someKey, " + d.join(": ..., ") + ": ...}" : "{key: someKey}";
608
+ if (!me[P + X]) {
609
+ var fr = d.length > 0 ? "{" + d.join(": ..., ") + ": ...}" : "{}";
610
+ l(`A props object containing a "key" prop is being spread into JSX:
2086
611
  let props = %s;
2087
612
  <%s {...props} />
2088
613
  React keys must be passed directly to JSX without using spread:
2089
614
  let props = %s;
2090
- <%s key={someKey} {...props} />`, He, me, Dr, me), Ke[me + He] = !0;
615
+ <%s key={someKey} {...props} />`, X, P, fr, P), me[P + X] = !0;
2091
616
  }
2092
617
  }
2093
- return t === H ? qe(F) : Ie(F), F;
618
+ return e === E ? ar(f) : nr(f), f;
2094
619
  }
2095
620
  }
2096
- function kr(t, u, s) {
2097
- return fr(t, u, s, !0);
621
+ function or(e, r, t) {
622
+ return Te(e, r, t, !0);
2098
623
  }
2099
- function jr(t, u, s) {
2100
- return fr(t, u, s, !1);
624
+ function ir(e, r, t) {
625
+ return Te(e, r, t, !1);
2101
626
  }
2102
- var Ar = jr, lr = kr;
2103
- Xe.Fragment = H, Xe.jsx = Ar, Xe.jsxs = lr;
2104
- }()), Xe;
627
+ var ur = ir, sr = or;
628
+ W.Fragment = E, W.jsx = ur, W.jsxs = sr;
629
+ }()), W;
2105
630
  }
2106
- process.env.NODE_ENV === "production" ? Ur.exports = Ut() : Ur.exports = Yt();
2107
- var Bt = Ur.exports;
631
+ process.env.NODE_ENV === "production" ? Z.exports = pr() : Z.exports = _r();
632
+ var gr = Z.exports;
2108
633
  globalThis.__VUE_OPTIONS_API__ = !0;
2109
634
  globalThis.__VUE_PROD_HYDRATION_MISMATCH_DETAILS__ = !0;
2110
635
  globalThis.__VUE_PROD_DEVTOOLS__ = !1;
2111
- const qt = (W) => {
2112
- const d = Ye.useRef(null), [J, H] = Ye.useState(null);
2113
- return Ye.useEffect(() => {
2114
- if (!d.current) return J == null ? void 0 : J.unmount;
2115
- const ne = Vt(
2116
- d.current,
2117
- W.configuration ?? {}
636
+ const yr = (h) => {
637
+ const g = cr(null), [R, E] = vr(null);
638
+ return Oe(() => {
639
+ if (!g.current) return R == null ? void 0 : R.unmount;
640
+ const m = dr(
641
+ g.current,
642
+ h.configuration ?? {}
2118
643
  );
2119
- return H(ne), ne.unmount;
2120
- }, [d]), Ye.useEffect(() => {
2121
- J == null || J.updateConfig(
2122
- W.configuration ?? {},
644
+ return E(m), m.unmount;
645
+ }, [g]), Oe(() => {
646
+ R == null || R.updateConfig(
647
+ h.configuration ?? {},
2123
648
  /** For React we will just replace the config if it changes */
2124
649
  !1
2125
650
  );
2126
- }, [W.configuration]), /* @__PURE__ */ Bt.jsx("div", { ref: d });
651
+ }, [h.configuration]), /* @__PURE__ */ gr.jsx("div", { ref: g });
2127
652
  };
2128
653
  export {
2129
- qt as ApiReferenceReact
654
+ yr as ApiReferenceReact
2130
655
  };