@electroplix/components 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4482 @@
1
+ import { Search, ArrowRight, Menu } from 'lucide-react';
2
+
3
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
4
+
5
+ var jsxRuntime = {exports: {}};
6
+
7
+ var reactJsxRuntime_production = {};
8
+
9
+ /**
10
+ * @license React
11
+ * react-jsx-runtime.production.js
12
+ *
13
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */
18
+
19
+ var hasRequiredReactJsxRuntime_production;
20
+
21
+ function requireReactJsxRuntime_production () {
22
+ if (hasRequiredReactJsxRuntime_production) return reactJsxRuntime_production;
23
+ hasRequiredReactJsxRuntime_production = 1;
24
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
25
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
26
+ function jsxProd(type, config, maybeKey) {
27
+ var key = null;
28
+ void 0 !== maybeKey && (key = "" + maybeKey);
29
+ void 0 !== config.key && (key = "" + config.key);
30
+ if ("key" in config) {
31
+ maybeKey = {};
32
+ for (var propName in config)
33
+ "key" !== propName && (maybeKey[propName] = config[propName]);
34
+ } else maybeKey = config;
35
+ config = maybeKey.ref;
36
+ return {
37
+ $$typeof: REACT_ELEMENT_TYPE,
38
+ type: type,
39
+ key: key,
40
+ ref: void 0 !== config ? config : null,
41
+ props: maybeKey
42
+ };
43
+ }
44
+ reactJsxRuntime_production.Fragment = REACT_FRAGMENT_TYPE;
45
+ reactJsxRuntime_production.jsx = jsxProd;
46
+ reactJsxRuntime_production.jsxs = jsxProd;
47
+ return reactJsxRuntime_production;
48
+ }
49
+
50
+ var reactJsxRuntime_development = {};
51
+
52
+ var react = {exports: {}};
53
+
54
+ var react_production = {};
55
+
56
+ /**
57
+ * @license React
58
+ * react.production.js
59
+ *
60
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
61
+ *
62
+ * This source code is licensed under the MIT license found in the
63
+ * LICENSE file in the root directory of this source tree.
64
+ */
65
+
66
+ var hasRequiredReact_production;
67
+
68
+ function requireReact_production () {
69
+ if (hasRequiredReact_production) return react_production;
70
+ hasRequiredReact_production = 1;
71
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
72
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
73
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
74
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
75
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
76
+ REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
77
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
78
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
79
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
80
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
81
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
82
+ MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
83
+ function getIteratorFn(maybeIterable) {
84
+ if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
85
+ maybeIterable =
86
+ (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
87
+ maybeIterable["@@iterator"];
88
+ return "function" === typeof maybeIterable ? maybeIterable : null;
89
+ }
90
+ var ReactNoopUpdateQueue = {
91
+ isMounted: function () {
92
+ return false;
93
+ },
94
+ enqueueForceUpdate: function () {},
95
+ enqueueReplaceState: function () {},
96
+ enqueueSetState: function () {}
97
+ },
98
+ assign = Object.assign,
99
+ emptyObject = {};
100
+ function Component(props, context, updater) {
101
+ this.props = props;
102
+ this.context = context;
103
+ this.refs = emptyObject;
104
+ this.updater = updater || ReactNoopUpdateQueue;
105
+ }
106
+ Component.prototype.isReactComponent = {};
107
+ Component.prototype.setState = function (partialState, callback) {
108
+ if (
109
+ "object" !== typeof partialState &&
110
+ "function" !== typeof partialState &&
111
+ null != partialState
112
+ )
113
+ throw Error(
114
+ "takes an object of state variables to update or a function which returns an object of state variables."
115
+ );
116
+ this.updater.enqueueSetState(this, partialState, callback, "setState");
117
+ };
118
+ Component.prototype.forceUpdate = function (callback) {
119
+ this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
120
+ };
121
+ function ComponentDummy() {}
122
+ ComponentDummy.prototype = Component.prototype;
123
+ function PureComponent(props, context, updater) {
124
+ this.props = props;
125
+ this.context = context;
126
+ this.refs = emptyObject;
127
+ this.updater = updater || ReactNoopUpdateQueue;
128
+ }
129
+ var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());
130
+ pureComponentPrototype.constructor = PureComponent;
131
+ assign(pureComponentPrototype, Component.prototype);
132
+ pureComponentPrototype.isPureReactComponent = true;
133
+ var isArrayImpl = Array.isArray,
134
+ ReactSharedInternals = { H: null, A: null, T: null, S: null },
135
+ hasOwnProperty = Object.prototype.hasOwnProperty;
136
+ function ReactElement(type, key, self, source, owner, props) {
137
+ self = props.ref;
138
+ return {
139
+ $$typeof: REACT_ELEMENT_TYPE,
140
+ type: type,
141
+ key: key,
142
+ ref: void 0 !== self ? self : null,
143
+ props: props
144
+ };
145
+ }
146
+ function cloneAndReplaceKey(oldElement, newKey) {
147
+ return ReactElement(
148
+ oldElement.type,
149
+ newKey,
150
+ void 0,
151
+ void 0,
152
+ void 0,
153
+ oldElement.props
154
+ );
155
+ }
156
+ function isValidElement(object) {
157
+ return (
158
+ "object" === typeof object &&
159
+ null !== object &&
160
+ object.$$typeof === REACT_ELEMENT_TYPE
161
+ );
162
+ }
163
+ function escape(key) {
164
+ var escaperLookup = { "=": "=0", ":": "=2" };
165
+ return (
166
+ "$" +
167
+ key.replace(/[=:]/g, function (match) {
168
+ return escaperLookup[match];
169
+ })
170
+ );
171
+ }
172
+ var userProvidedKeyEscapeRegex = /\/+/g;
173
+ function getElementKey(element, index) {
174
+ return "object" === typeof element && null !== element && null != element.key
175
+ ? escape("" + element.key)
176
+ : index.toString(36);
177
+ }
178
+ function noop$1() {}
179
+ function resolveThenable(thenable) {
180
+ switch (thenable.status) {
181
+ case "fulfilled":
182
+ return thenable.value;
183
+ case "rejected":
184
+ throw thenable.reason;
185
+ default:
186
+ switch (
187
+ ("string" === typeof thenable.status
188
+ ? thenable.then(noop$1, noop$1)
189
+ : ((thenable.status = "pending"),
190
+ thenable.then(
191
+ function (fulfilledValue) {
192
+ "pending" === thenable.status &&
193
+ ((thenable.status = "fulfilled"),
194
+ (thenable.value = fulfilledValue));
195
+ },
196
+ function (error) {
197
+ "pending" === thenable.status &&
198
+ ((thenable.status = "rejected"), (thenable.reason = error));
199
+ }
200
+ )),
201
+ thenable.status)
202
+ ) {
203
+ case "fulfilled":
204
+ return thenable.value;
205
+ case "rejected":
206
+ throw thenable.reason;
207
+ }
208
+ }
209
+ throw thenable;
210
+ }
211
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
212
+ var type = typeof children;
213
+ if ("undefined" === type || "boolean" === type) children = null;
214
+ var invokeCallback = false;
215
+ if (null === children) invokeCallback = true;
216
+ else
217
+ switch (type) {
218
+ case "bigint":
219
+ case "string":
220
+ case "number":
221
+ invokeCallback = true;
222
+ break;
223
+ case "object":
224
+ switch (children.$$typeof) {
225
+ case REACT_ELEMENT_TYPE:
226
+ case REACT_PORTAL_TYPE:
227
+ invokeCallback = true;
228
+ break;
229
+ case REACT_LAZY_TYPE:
230
+ return (
231
+ (invokeCallback = children._init),
232
+ mapIntoArray(
233
+ invokeCallback(children._payload),
234
+ array,
235
+ escapedPrefix,
236
+ nameSoFar,
237
+ callback
238
+ )
239
+ );
240
+ }
241
+ }
242
+ if (invokeCallback)
243
+ return (
244
+ (callback = callback(children)),
245
+ (invokeCallback =
246
+ "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar),
247
+ isArrayImpl(callback)
248
+ ? ((escapedPrefix = ""),
249
+ null != invokeCallback &&
250
+ (escapedPrefix =
251
+ invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"),
252
+ mapIntoArray(callback, array, escapedPrefix, "", function (c) {
253
+ return c;
254
+ }))
255
+ : null != callback &&
256
+ (isValidElement(callback) &&
257
+ (callback = cloneAndReplaceKey(
258
+ callback,
259
+ escapedPrefix +
260
+ (null == callback.key ||
261
+ (children && children.key === callback.key)
262
+ ? ""
263
+ : ("" + callback.key).replace(
264
+ userProvidedKeyEscapeRegex,
265
+ "$&/"
266
+ ) + "/") +
267
+ invokeCallback
268
+ )),
269
+ array.push(callback)),
270
+ 1
271
+ );
272
+ invokeCallback = 0;
273
+ var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
274
+ if (isArrayImpl(children))
275
+ for (var i = 0; i < children.length; i++)
276
+ (nameSoFar = children[i]),
277
+ (type = nextNamePrefix + getElementKey(nameSoFar, i)),
278
+ (invokeCallback += mapIntoArray(
279
+ nameSoFar,
280
+ array,
281
+ escapedPrefix,
282
+ type,
283
+ callback
284
+ ));
285
+ else if (((i = getIteratorFn(children)), "function" === typeof i))
286
+ for (
287
+ children = i.call(children), i = 0;
288
+ !(nameSoFar = children.next()).done;
289
+
290
+ )
291
+ (nameSoFar = nameSoFar.value),
292
+ (type = nextNamePrefix + getElementKey(nameSoFar, i++)),
293
+ (invokeCallback += mapIntoArray(
294
+ nameSoFar,
295
+ array,
296
+ escapedPrefix,
297
+ type,
298
+ callback
299
+ ));
300
+ else if ("object" === type) {
301
+ if ("function" === typeof children.then)
302
+ return mapIntoArray(
303
+ resolveThenable(children),
304
+ array,
305
+ escapedPrefix,
306
+ nameSoFar,
307
+ callback
308
+ );
309
+ array = String(children);
310
+ throw Error(
311
+ "Objects are not valid as a React child (found: " +
312
+ ("[object Object]" === array
313
+ ? "object with keys {" + Object.keys(children).join(", ") + "}"
314
+ : array) +
315
+ "). If you meant to render a collection of children, use an array instead."
316
+ );
317
+ }
318
+ return invokeCallback;
319
+ }
320
+ function mapChildren(children, func, context) {
321
+ if (null == children) return children;
322
+ var result = [],
323
+ count = 0;
324
+ mapIntoArray(children, result, "", "", function (child) {
325
+ return func.call(context, child, count++);
326
+ });
327
+ return result;
328
+ }
329
+ function lazyInitializer(payload) {
330
+ if (-1 === payload._status) {
331
+ var ctor = payload._result;
332
+ ctor = ctor();
333
+ ctor.then(
334
+ function (moduleObject) {
335
+ if (0 === payload._status || -1 === payload._status)
336
+ (payload._status = 1), (payload._result = moduleObject);
337
+ },
338
+ function (error) {
339
+ if (0 === payload._status || -1 === payload._status)
340
+ (payload._status = 2), (payload._result = error);
341
+ }
342
+ );
343
+ -1 === payload._status && ((payload._status = 0), (payload._result = ctor));
344
+ }
345
+ if (1 === payload._status) return payload._result.default;
346
+ throw payload._result;
347
+ }
348
+ var reportGlobalError =
349
+ "function" === typeof reportError
350
+ ? reportError
351
+ : function (error) {
352
+ if (
353
+ "object" === typeof window &&
354
+ "function" === typeof window.ErrorEvent
355
+ ) {
356
+ var event = new window.ErrorEvent("error", {
357
+ bubbles: true,
358
+ cancelable: true,
359
+ message:
360
+ "object" === typeof error &&
361
+ null !== error &&
362
+ "string" === typeof error.message
363
+ ? String(error.message)
364
+ : String(error),
365
+ error: error
366
+ });
367
+ if (!window.dispatchEvent(event)) return;
368
+ } else if (
369
+ "object" === typeof process &&
370
+ "function" === typeof process.emit
371
+ ) {
372
+ process.emit("uncaughtException", error);
373
+ return;
374
+ }
375
+ console.error(error);
376
+ };
377
+ function noop() {}
378
+ react_production.Children = {
379
+ map: mapChildren,
380
+ forEach: function (children, forEachFunc, forEachContext) {
381
+ mapChildren(
382
+ children,
383
+ function () {
384
+ forEachFunc.apply(this, arguments);
385
+ },
386
+ forEachContext
387
+ );
388
+ },
389
+ count: function (children) {
390
+ var n = 0;
391
+ mapChildren(children, function () {
392
+ n++;
393
+ });
394
+ return n;
395
+ },
396
+ toArray: function (children) {
397
+ return (
398
+ mapChildren(children, function (child) {
399
+ return child;
400
+ }) || []
401
+ );
402
+ },
403
+ only: function (children) {
404
+ if (!isValidElement(children))
405
+ throw Error(
406
+ "React.Children.only expected to receive a single React element child."
407
+ );
408
+ return children;
409
+ }
410
+ };
411
+ react_production.Component = Component;
412
+ react_production.Fragment = REACT_FRAGMENT_TYPE;
413
+ react_production.Profiler = REACT_PROFILER_TYPE;
414
+ react_production.PureComponent = PureComponent;
415
+ react_production.StrictMode = REACT_STRICT_MODE_TYPE;
416
+ react_production.Suspense = REACT_SUSPENSE_TYPE;
417
+ react_production.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
418
+ ReactSharedInternals;
419
+ react_production.act = function () {
420
+ throw Error("act(...) is not supported in production builds of React.");
421
+ };
422
+ react_production.cache = function (fn) {
423
+ return function () {
424
+ return fn.apply(null, arguments);
425
+ };
426
+ };
427
+ react_production.cloneElement = function (element, config, children) {
428
+ if (null === element || void 0 === element)
429
+ throw Error(
430
+ "The argument must be a React element, but you passed " + element + "."
431
+ );
432
+ var props = assign({}, element.props),
433
+ key = element.key,
434
+ owner = void 0;
435
+ if (null != config)
436
+ for (propName in (void 0 !== config.ref && (owner = void 0),
437
+ void 0 !== config.key && (key = "" + config.key),
438
+ config))
439
+ !hasOwnProperty.call(config, propName) ||
440
+ "key" === propName ||
441
+ "__self" === propName ||
442
+ "__source" === propName ||
443
+ ("ref" === propName && void 0 === config.ref) ||
444
+ (props[propName] = config[propName]);
445
+ var propName = arguments.length - 2;
446
+ if (1 === propName) props.children = children;
447
+ else if (1 < propName) {
448
+ for (var childArray = Array(propName), i = 0; i < propName; i++)
449
+ childArray[i] = arguments[i + 2];
450
+ props.children = childArray;
451
+ }
452
+ return ReactElement(element.type, key, void 0, void 0, owner, props);
453
+ };
454
+ react_production.createContext = function (defaultValue) {
455
+ defaultValue = {
456
+ $$typeof: REACT_CONTEXT_TYPE,
457
+ _currentValue: defaultValue,
458
+ _currentValue2: defaultValue,
459
+ _threadCount: 0,
460
+ Provider: null,
461
+ Consumer: null
462
+ };
463
+ defaultValue.Provider = defaultValue;
464
+ defaultValue.Consumer = {
465
+ $$typeof: REACT_CONSUMER_TYPE,
466
+ _context: defaultValue
467
+ };
468
+ return defaultValue;
469
+ };
470
+ react_production.createElement = function (type, config, children) {
471
+ var propName,
472
+ props = {},
473
+ key = null;
474
+ if (null != config)
475
+ for (propName in (void 0 !== config.key && (key = "" + config.key), config))
476
+ hasOwnProperty.call(config, propName) &&
477
+ "key" !== propName &&
478
+ "__self" !== propName &&
479
+ "__source" !== propName &&
480
+ (props[propName] = config[propName]);
481
+ var childrenLength = arguments.length - 2;
482
+ if (1 === childrenLength) props.children = children;
483
+ else if (1 < childrenLength) {
484
+ for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
485
+ childArray[i] = arguments[i + 2];
486
+ props.children = childArray;
487
+ }
488
+ if (type && type.defaultProps)
489
+ for (propName in ((childrenLength = type.defaultProps), childrenLength))
490
+ void 0 === props[propName] &&
491
+ (props[propName] = childrenLength[propName]);
492
+ return ReactElement(type, key, void 0, void 0, null, props);
493
+ };
494
+ react_production.createRef = function () {
495
+ return { current: null };
496
+ };
497
+ react_production.forwardRef = function (render) {
498
+ return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };
499
+ };
500
+ react_production.isValidElement = isValidElement;
501
+ react_production.lazy = function (ctor) {
502
+ return {
503
+ $$typeof: REACT_LAZY_TYPE,
504
+ _payload: { _status: -1, _result: ctor },
505
+ _init: lazyInitializer
506
+ };
507
+ };
508
+ react_production.memo = function (type, compare) {
509
+ return {
510
+ $$typeof: REACT_MEMO_TYPE,
511
+ type: type,
512
+ compare: void 0 === compare ? null : compare
513
+ };
514
+ };
515
+ react_production.startTransition = function (scope) {
516
+ var prevTransition = ReactSharedInternals.T,
517
+ currentTransition = {};
518
+ ReactSharedInternals.T = currentTransition;
519
+ try {
520
+ var returnValue = scope(),
521
+ onStartTransitionFinish = ReactSharedInternals.S;
522
+ null !== onStartTransitionFinish &&
523
+ onStartTransitionFinish(currentTransition, returnValue);
524
+ "object" === typeof returnValue &&
525
+ null !== returnValue &&
526
+ "function" === typeof returnValue.then &&
527
+ returnValue.then(noop, reportGlobalError);
528
+ } catch (error) {
529
+ reportGlobalError(error);
530
+ } finally {
531
+ ReactSharedInternals.T = prevTransition;
532
+ }
533
+ };
534
+ react_production.unstable_useCacheRefresh = function () {
535
+ return ReactSharedInternals.H.useCacheRefresh();
536
+ };
537
+ react_production.use = function (usable) {
538
+ return ReactSharedInternals.H.use(usable);
539
+ };
540
+ react_production.useActionState = function (action, initialState, permalink) {
541
+ return ReactSharedInternals.H.useActionState(action, initialState, permalink);
542
+ };
543
+ react_production.useCallback = function (callback, deps) {
544
+ return ReactSharedInternals.H.useCallback(callback, deps);
545
+ };
546
+ react_production.useContext = function (Context) {
547
+ return ReactSharedInternals.H.useContext(Context);
548
+ };
549
+ react_production.useDebugValue = function () {};
550
+ react_production.useDeferredValue = function (value, initialValue) {
551
+ return ReactSharedInternals.H.useDeferredValue(value, initialValue);
552
+ };
553
+ react_production.useEffect = function (create, deps) {
554
+ return ReactSharedInternals.H.useEffect(create, deps);
555
+ };
556
+ react_production.useId = function () {
557
+ return ReactSharedInternals.H.useId();
558
+ };
559
+ react_production.useImperativeHandle = function (ref, create, deps) {
560
+ return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
561
+ };
562
+ react_production.useInsertionEffect = function (create, deps) {
563
+ return ReactSharedInternals.H.useInsertionEffect(create, deps);
564
+ };
565
+ react_production.useLayoutEffect = function (create, deps) {
566
+ return ReactSharedInternals.H.useLayoutEffect(create, deps);
567
+ };
568
+ react_production.useMemo = function (create, deps) {
569
+ return ReactSharedInternals.H.useMemo(create, deps);
570
+ };
571
+ react_production.useOptimistic = function (passthrough, reducer) {
572
+ return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
573
+ };
574
+ react_production.useReducer = function (reducer, initialArg, init) {
575
+ return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
576
+ };
577
+ react_production.useRef = function (initialValue) {
578
+ return ReactSharedInternals.H.useRef(initialValue);
579
+ };
580
+ react_production.useState = function (initialState) {
581
+ return ReactSharedInternals.H.useState(initialState);
582
+ };
583
+ react_production.useSyncExternalStore = function (
584
+ subscribe,
585
+ getSnapshot,
586
+ getServerSnapshot
587
+ ) {
588
+ return ReactSharedInternals.H.useSyncExternalStore(
589
+ subscribe,
590
+ getSnapshot,
591
+ getServerSnapshot
592
+ );
593
+ };
594
+ react_production.useTransition = function () {
595
+ return ReactSharedInternals.H.useTransition();
596
+ };
597
+ react_production.version = "19.0.0";
598
+ return react_production;
599
+ }
600
+
601
+ var react_development = {exports: {}};
602
+
603
+ /**
604
+ * @license React
605
+ * react.development.js
606
+ *
607
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
608
+ *
609
+ * This source code is licensed under the MIT license found in the
610
+ * LICENSE file in the root directory of this source tree.
611
+ */
612
+ react_development.exports;
613
+
614
+ var hasRequiredReact_development;
615
+
616
+ function requireReact_development () {
617
+ if (hasRequiredReact_development) return react_development.exports;
618
+ hasRequiredReact_development = 1;
619
+ (function (module, exports$1) {
620
+ "production" !== process.env.NODE_ENV &&
621
+ (function () {
622
+ function defineDeprecationWarning(methodName, info) {
623
+ Object.defineProperty(Component.prototype, methodName, {
624
+ get: function () {
625
+ console.warn(
626
+ "%s(...) is deprecated in plain JavaScript React classes. %s",
627
+ info[0],
628
+ info[1]
629
+ );
630
+ }
631
+ });
632
+ }
633
+ function getIteratorFn(maybeIterable) {
634
+ if (null === maybeIterable || "object" !== typeof maybeIterable)
635
+ return null;
636
+ maybeIterable =
637
+ (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
638
+ maybeIterable["@@iterator"];
639
+ return "function" === typeof maybeIterable ? maybeIterable : null;
640
+ }
641
+ function warnNoop(publicInstance, callerName) {
642
+ publicInstance =
643
+ ((publicInstance = publicInstance.constructor) &&
644
+ (publicInstance.displayName || publicInstance.name)) ||
645
+ "ReactClass";
646
+ var warningKey = publicInstance + "." + callerName;
647
+ didWarnStateUpdateForUnmountedComponent[warningKey] ||
648
+ (console.error(
649
+ "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.",
650
+ callerName,
651
+ publicInstance
652
+ ),
653
+ (didWarnStateUpdateForUnmountedComponent[warningKey] = true));
654
+ }
655
+ function Component(props, context, updater) {
656
+ this.props = props;
657
+ this.context = context;
658
+ this.refs = emptyObject;
659
+ this.updater = updater || ReactNoopUpdateQueue;
660
+ }
661
+ function ComponentDummy() {}
662
+ function PureComponent(props, context, updater) {
663
+ this.props = props;
664
+ this.context = context;
665
+ this.refs = emptyObject;
666
+ this.updater = updater || ReactNoopUpdateQueue;
667
+ }
668
+ function testStringCoercion(value) {
669
+ return "" + value;
670
+ }
671
+ function checkKeyStringCoercion(value) {
672
+ try {
673
+ testStringCoercion(value);
674
+ var JSCompiler_inline_result = !1;
675
+ } catch (e) {
676
+ JSCompiler_inline_result = true;
677
+ }
678
+ if (JSCompiler_inline_result) {
679
+ JSCompiler_inline_result = console;
680
+ var JSCompiler_temp_const = JSCompiler_inline_result.error;
681
+ var JSCompiler_inline_result$jscomp$0 =
682
+ ("function" === typeof Symbol &&
683
+ Symbol.toStringTag &&
684
+ value[Symbol.toStringTag]) ||
685
+ value.constructor.name ||
686
+ "Object";
687
+ JSCompiler_temp_const.call(
688
+ JSCompiler_inline_result,
689
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
690
+ JSCompiler_inline_result$jscomp$0
691
+ );
692
+ return testStringCoercion(value);
693
+ }
694
+ }
695
+ function getComponentNameFromType(type) {
696
+ if (null == type) return null;
697
+ if ("function" === typeof type)
698
+ return type.$$typeof === REACT_CLIENT_REFERENCE$2
699
+ ? null
700
+ : type.displayName || type.name || null;
701
+ if ("string" === typeof type) return type;
702
+ switch (type) {
703
+ case REACT_FRAGMENT_TYPE:
704
+ return "Fragment";
705
+ case REACT_PORTAL_TYPE:
706
+ return "Portal";
707
+ case REACT_PROFILER_TYPE:
708
+ return "Profiler";
709
+ case REACT_STRICT_MODE_TYPE:
710
+ return "StrictMode";
711
+ case REACT_SUSPENSE_TYPE:
712
+ return "Suspense";
713
+ case REACT_SUSPENSE_LIST_TYPE:
714
+ return "SuspenseList";
715
+ }
716
+ if ("object" === typeof type)
717
+ switch (
718
+ ("number" === typeof type.tag &&
719
+ console.error(
720
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
721
+ ),
722
+ type.$$typeof)
723
+ ) {
724
+ case REACT_CONTEXT_TYPE:
725
+ return (type.displayName || "Context") + ".Provider";
726
+ case REACT_CONSUMER_TYPE:
727
+ return (type._context.displayName || "Context") + ".Consumer";
728
+ case REACT_FORWARD_REF_TYPE:
729
+ var innerType = type.render;
730
+ type = type.displayName;
731
+ type ||
732
+ ((type = innerType.displayName || innerType.name || ""),
733
+ (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
734
+ return type;
735
+ case REACT_MEMO_TYPE:
736
+ return (
737
+ (innerType = type.displayName || null),
738
+ null !== innerType
739
+ ? innerType
740
+ : getComponentNameFromType(type.type) || "Memo"
741
+ );
742
+ case REACT_LAZY_TYPE:
743
+ innerType = type._payload;
744
+ type = type._init;
745
+ try {
746
+ return getComponentNameFromType(type(innerType));
747
+ } catch (x) {}
748
+ }
749
+ return null;
750
+ }
751
+ function isValidElementType(type) {
752
+ return "string" === typeof type ||
753
+ "function" === typeof type ||
754
+ type === REACT_FRAGMENT_TYPE ||
755
+ type === REACT_PROFILER_TYPE ||
756
+ type === REACT_STRICT_MODE_TYPE ||
757
+ type === REACT_SUSPENSE_TYPE ||
758
+ type === REACT_SUSPENSE_LIST_TYPE ||
759
+ type === REACT_OFFSCREEN_TYPE ||
760
+ ("object" === typeof type &&
761
+ null !== type &&
762
+ (type.$$typeof === REACT_LAZY_TYPE ||
763
+ type.$$typeof === REACT_MEMO_TYPE ||
764
+ type.$$typeof === REACT_CONTEXT_TYPE ||
765
+ type.$$typeof === REACT_CONSUMER_TYPE ||
766
+ type.$$typeof === REACT_FORWARD_REF_TYPE ||
767
+ type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
768
+ void 0 !== type.getModuleId))
769
+ ? true
770
+ : false;
771
+ }
772
+ function disabledLog() {}
773
+ function disableLogs() {
774
+ if (0 === disabledDepth) {
775
+ prevLog = console.log;
776
+ prevInfo = console.info;
777
+ prevWarn = console.warn;
778
+ prevError = console.error;
779
+ prevGroup = console.group;
780
+ prevGroupCollapsed = console.groupCollapsed;
781
+ prevGroupEnd = console.groupEnd;
782
+ var props = {
783
+ configurable: true,
784
+ enumerable: true,
785
+ value: disabledLog,
786
+ writable: true
787
+ };
788
+ Object.defineProperties(console, {
789
+ info: props,
790
+ log: props,
791
+ warn: props,
792
+ error: props,
793
+ group: props,
794
+ groupCollapsed: props,
795
+ groupEnd: props
796
+ });
797
+ }
798
+ disabledDepth++;
799
+ }
800
+ function reenableLogs() {
801
+ disabledDepth--;
802
+ if (0 === disabledDepth) {
803
+ var props = { configurable: true, enumerable: true, writable: true };
804
+ Object.defineProperties(console, {
805
+ log: assign({}, props, { value: prevLog }),
806
+ info: assign({}, props, { value: prevInfo }),
807
+ warn: assign({}, props, { value: prevWarn }),
808
+ error: assign({}, props, { value: prevError }),
809
+ group: assign({}, props, { value: prevGroup }),
810
+ groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
811
+ groupEnd: assign({}, props, { value: prevGroupEnd })
812
+ });
813
+ }
814
+ 0 > disabledDepth &&
815
+ console.error(
816
+ "disabledDepth fell below zero. This is a bug in React. Please file an issue."
817
+ );
818
+ }
819
+ function describeBuiltInComponentFrame(name) {
820
+ if (void 0 === prefix)
821
+ try {
822
+ throw Error();
823
+ } catch (x) {
824
+ var match = x.stack.trim().match(/\n( *(at )?)/);
825
+ prefix = (match && match[1]) || "";
826
+ suffix =
827
+ -1 < x.stack.indexOf("\n at")
828
+ ? " (<anonymous>)"
829
+ : -1 < x.stack.indexOf("@")
830
+ ? "@unknown:0:0"
831
+ : "";
832
+ }
833
+ return "\n" + prefix + name + suffix;
834
+ }
835
+ function describeNativeComponentFrame(fn, construct) {
836
+ if (!fn || reentry) return "";
837
+ var frame = componentFrameCache.get(fn);
838
+ if (void 0 !== frame) return frame;
839
+ reentry = true;
840
+ frame = Error.prepareStackTrace;
841
+ Error.prepareStackTrace = void 0;
842
+ var previousDispatcher = null;
843
+ previousDispatcher = ReactSharedInternals.H;
844
+ ReactSharedInternals.H = null;
845
+ disableLogs();
846
+ try {
847
+ var RunInRootFrame = {
848
+ DetermineComponentFrameRoot: function () {
849
+ try {
850
+ if (construct) {
851
+ var Fake = function () {
852
+ throw Error();
853
+ };
854
+ Object.defineProperty(Fake.prototype, "props", {
855
+ set: function () {
856
+ throw Error();
857
+ }
858
+ });
859
+ if ("object" === typeof Reflect && Reflect.construct) {
860
+ try {
861
+ Reflect.construct(Fake, []);
862
+ } catch (x) {
863
+ var control = x;
864
+ }
865
+ Reflect.construct(fn, [], Fake);
866
+ } else {
867
+ try {
868
+ Fake.call();
869
+ } catch (x$0) {
870
+ control = x$0;
871
+ }
872
+ fn.call(Fake.prototype);
873
+ }
874
+ } else {
875
+ try {
876
+ throw Error();
877
+ } catch (x$1) {
878
+ control = x$1;
879
+ }
880
+ (Fake = fn()) &&
881
+ "function" === typeof Fake.catch &&
882
+ Fake.catch(function () {});
883
+ }
884
+ } catch (sample) {
885
+ if (sample && control && "string" === typeof sample.stack)
886
+ return [sample.stack, control.stack];
887
+ }
888
+ return [null, null];
889
+ }
890
+ };
891
+ RunInRootFrame.DetermineComponentFrameRoot.displayName =
892
+ "DetermineComponentFrameRoot";
893
+ var namePropDescriptor = Object.getOwnPropertyDescriptor(
894
+ RunInRootFrame.DetermineComponentFrameRoot,
895
+ "name"
896
+ );
897
+ namePropDescriptor &&
898
+ namePropDescriptor.configurable &&
899
+ Object.defineProperty(
900
+ RunInRootFrame.DetermineComponentFrameRoot,
901
+ "name",
902
+ { value: "DetermineComponentFrameRoot" }
903
+ );
904
+ var _RunInRootFrame$Deter =
905
+ RunInRootFrame.DetermineComponentFrameRoot(),
906
+ sampleStack = _RunInRootFrame$Deter[0],
907
+ controlStack = _RunInRootFrame$Deter[1];
908
+ if (sampleStack && controlStack) {
909
+ var sampleLines = sampleStack.split("\n"),
910
+ controlLines = controlStack.split("\n");
911
+ for (
912
+ _RunInRootFrame$Deter = namePropDescriptor = 0;
913
+ namePropDescriptor < sampleLines.length &&
914
+ !sampleLines[namePropDescriptor].includes(
915
+ "DetermineComponentFrameRoot"
916
+ );
917
+
918
+ )
919
+ namePropDescriptor++;
920
+ for (
921
+ ;
922
+ _RunInRootFrame$Deter < controlLines.length &&
923
+ !controlLines[_RunInRootFrame$Deter].includes(
924
+ "DetermineComponentFrameRoot"
925
+ );
926
+
927
+ )
928
+ _RunInRootFrame$Deter++;
929
+ if (
930
+ namePropDescriptor === sampleLines.length ||
931
+ _RunInRootFrame$Deter === controlLines.length
932
+ )
933
+ for (
934
+ namePropDescriptor = sampleLines.length - 1,
935
+ _RunInRootFrame$Deter = controlLines.length - 1;
936
+ 1 <= namePropDescriptor &&
937
+ 0 <= _RunInRootFrame$Deter &&
938
+ sampleLines[namePropDescriptor] !==
939
+ controlLines[_RunInRootFrame$Deter];
940
+
941
+ )
942
+ _RunInRootFrame$Deter--;
943
+ for (
944
+ ;
945
+ 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
946
+ namePropDescriptor--, _RunInRootFrame$Deter--
947
+ )
948
+ if (
949
+ sampleLines[namePropDescriptor] !==
950
+ controlLines[_RunInRootFrame$Deter]
951
+ ) {
952
+ if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
953
+ do
954
+ if (
955
+ (namePropDescriptor--,
956
+ _RunInRootFrame$Deter--,
957
+ 0 > _RunInRootFrame$Deter ||
958
+ sampleLines[namePropDescriptor] !==
959
+ controlLines[_RunInRootFrame$Deter])
960
+ ) {
961
+ var _frame =
962
+ "\n" +
963
+ sampleLines[namePropDescriptor].replace(
964
+ " at new ",
965
+ " at "
966
+ );
967
+ fn.displayName &&
968
+ _frame.includes("<anonymous>") &&
969
+ (_frame = _frame.replace("<anonymous>", fn.displayName));
970
+ "function" === typeof fn &&
971
+ componentFrameCache.set(fn, _frame);
972
+ return _frame;
973
+ }
974
+ while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
975
+ }
976
+ break;
977
+ }
978
+ }
979
+ } finally {
980
+ (reentry = false),
981
+ (ReactSharedInternals.H = previousDispatcher),
982
+ reenableLogs(),
983
+ (Error.prepareStackTrace = frame);
984
+ }
985
+ sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
986
+ ? describeBuiltInComponentFrame(sampleLines)
987
+ : "";
988
+ "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
989
+ return sampleLines;
990
+ }
991
+ function describeUnknownElementTypeFrameInDEV(type) {
992
+ if (null == type) return "";
993
+ if ("function" === typeof type) {
994
+ var prototype = type.prototype;
995
+ return describeNativeComponentFrame(
996
+ type,
997
+ !(!prototype || !prototype.isReactComponent)
998
+ );
999
+ }
1000
+ if ("string" === typeof type) return describeBuiltInComponentFrame(type);
1001
+ switch (type) {
1002
+ case REACT_SUSPENSE_TYPE:
1003
+ return describeBuiltInComponentFrame("Suspense");
1004
+ case REACT_SUSPENSE_LIST_TYPE:
1005
+ return describeBuiltInComponentFrame("SuspenseList");
1006
+ }
1007
+ if ("object" === typeof type)
1008
+ switch (type.$$typeof) {
1009
+ case REACT_FORWARD_REF_TYPE:
1010
+ return (type = describeNativeComponentFrame(type.render, false)), type;
1011
+ case REACT_MEMO_TYPE:
1012
+ return describeUnknownElementTypeFrameInDEV(type.type);
1013
+ case REACT_LAZY_TYPE:
1014
+ prototype = type._payload;
1015
+ type = type._init;
1016
+ try {
1017
+ return describeUnknownElementTypeFrameInDEV(type(prototype));
1018
+ } catch (x) {}
1019
+ }
1020
+ return "";
1021
+ }
1022
+ function getOwner() {
1023
+ var dispatcher = ReactSharedInternals.A;
1024
+ return null === dispatcher ? null : dispatcher.getOwner();
1025
+ }
1026
+ function hasValidKey(config) {
1027
+ if (hasOwnProperty.call(config, "key")) {
1028
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
1029
+ if (getter && getter.isReactWarning) return false;
1030
+ }
1031
+ return void 0 !== config.key;
1032
+ }
1033
+ function defineKeyPropWarningGetter(props, displayName) {
1034
+ function warnAboutAccessingKey() {
1035
+ specialPropKeyWarningShown ||
1036
+ ((specialPropKeyWarningShown = true),
1037
+ console.error(
1038
+ "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
1039
+ displayName
1040
+ ));
1041
+ }
1042
+ warnAboutAccessingKey.isReactWarning = true;
1043
+ Object.defineProperty(props, "key", {
1044
+ get: warnAboutAccessingKey,
1045
+ configurable: true
1046
+ });
1047
+ }
1048
+ function elementRefGetterWithDeprecationWarning() {
1049
+ var componentName = getComponentNameFromType(this.type);
1050
+ didWarnAboutElementRef[componentName] ||
1051
+ ((didWarnAboutElementRef[componentName] = true),
1052
+ console.error(
1053
+ "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
1054
+ ));
1055
+ componentName = this.props.ref;
1056
+ return void 0 !== componentName ? componentName : null;
1057
+ }
1058
+ function ReactElement(type, key, self, source, owner, props) {
1059
+ self = props.ref;
1060
+ type = {
1061
+ $$typeof: REACT_ELEMENT_TYPE,
1062
+ type: type,
1063
+ key: key,
1064
+ props: props,
1065
+ _owner: owner
1066
+ };
1067
+ null !== (void 0 !== self ? self : null)
1068
+ ? Object.defineProperty(type, "ref", {
1069
+ enumerable: false,
1070
+ get: elementRefGetterWithDeprecationWarning
1071
+ })
1072
+ : Object.defineProperty(type, "ref", { enumerable: false, value: null });
1073
+ type._store = {};
1074
+ Object.defineProperty(type._store, "validated", {
1075
+ configurable: false,
1076
+ enumerable: false,
1077
+ writable: true,
1078
+ value: 0
1079
+ });
1080
+ Object.defineProperty(type, "_debugInfo", {
1081
+ configurable: false,
1082
+ enumerable: false,
1083
+ writable: true,
1084
+ value: null
1085
+ });
1086
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
1087
+ return type;
1088
+ }
1089
+ function cloneAndReplaceKey(oldElement, newKey) {
1090
+ newKey = ReactElement(
1091
+ oldElement.type,
1092
+ newKey,
1093
+ void 0,
1094
+ void 0,
1095
+ oldElement._owner,
1096
+ oldElement.props
1097
+ );
1098
+ newKey._store.validated = oldElement._store.validated;
1099
+ return newKey;
1100
+ }
1101
+ function validateChildKeys(node, parentType) {
1102
+ if (
1103
+ "object" === typeof node &&
1104
+ node &&
1105
+ node.$$typeof !== REACT_CLIENT_REFERENCE
1106
+ )
1107
+ if (isArrayImpl(node))
1108
+ for (var i = 0; i < node.length; i++) {
1109
+ var child = node[i];
1110
+ isValidElement(child) && validateExplicitKey(child, parentType);
1111
+ }
1112
+ else if (isValidElement(node))
1113
+ node._store && (node._store.validated = 1);
1114
+ else if (
1115
+ ((i = getIteratorFn(node)),
1116
+ "function" === typeof i &&
1117
+ i !== node.entries &&
1118
+ ((i = i.call(node)), i !== node))
1119
+ )
1120
+ for (; !(node = i.next()).done; )
1121
+ isValidElement(node.value) &&
1122
+ validateExplicitKey(node.value, parentType);
1123
+ }
1124
+ function isValidElement(object) {
1125
+ return (
1126
+ "object" === typeof object &&
1127
+ null !== object &&
1128
+ object.$$typeof === REACT_ELEMENT_TYPE
1129
+ );
1130
+ }
1131
+ function validateExplicitKey(element, parentType) {
1132
+ if (
1133
+ element._store &&
1134
+ !element._store.validated &&
1135
+ null == element.key &&
1136
+ ((element._store.validated = 1),
1137
+ (parentType = getCurrentComponentErrorInfo(parentType)),
1138
+ !ownerHasKeyUseWarning[parentType])
1139
+ ) {
1140
+ ownerHasKeyUseWarning[parentType] = true;
1141
+ var childOwner = "";
1142
+ element &&
1143
+ null != element._owner &&
1144
+ element._owner !== getOwner() &&
1145
+ ((childOwner = null),
1146
+ "number" === typeof element._owner.tag
1147
+ ? (childOwner = getComponentNameFromType(element._owner.type))
1148
+ : "string" === typeof element._owner.name &&
1149
+ (childOwner = element._owner.name),
1150
+ (childOwner = " It was passed a child from " + childOwner + "."));
1151
+ var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
1152
+ ReactSharedInternals.getCurrentStack = function () {
1153
+ var stack = describeUnknownElementTypeFrameInDEV(element.type);
1154
+ prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
1155
+ return stack;
1156
+ };
1157
+ console.error(
1158
+ 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
1159
+ parentType,
1160
+ childOwner
1161
+ );
1162
+ ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
1163
+ }
1164
+ }
1165
+ function getCurrentComponentErrorInfo(parentType) {
1166
+ var info = "",
1167
+ owner = getOwner();
1168
+ owner &&
1169
+ (owner = getComponentNameFromType(owner.type)) &&
1170
+ (info = "\n\nCheck the render method of `" + owner + "`.");
1171
+ info ||
1172
+ ((parentType = getComponentNameFromType(parentType)) &&
1173
+ (info =
1174
+ "\n\nCheck the top-level render call using <" + parentType + ">."));
1175
+ return info;
1176
+ }
1177
+ function escape(key) {
1178
+ var escaperLookup = { "=": "=0", ":": "=2" };
1179
+ return (
1180
+ "$" +
1181
+ key.replace(/[=:]/g, function (match) {
1182
+ return escaperLookup[match];
1183
+ })
1184
+ );
1185
+ }
1186
+ function getElementKey(element, index) {
1187
+ return "object" === typeof element &&
1188
+ null !== element &&
1189
+ null != element.key
1190
+ ? (checkKeyStringCoercion(element.key), escape("" + element.key))
1191
+ : index.toString(36);
1192
+ }
1193
+ function noop$1() {}
1194
+ function resolveThenable(thenable) {
1195
+ switch (thenable.status) {
1196
+ case "fulfilled":
1197
+ return thenable.value;
1198
+ case "rejected":
1199
+ throw thenable.reason;
1200
+ default:
1201
+ switch (
1202
+ ("string" === typeof thenable.status
1203
+ ? thenable.then(noop$1, noop$1)
1204
+ : ((thenable.status = "pending"),
1205
+ thenable.then(
1206
+ function (fulfilledValue) {
1207
+ "pending" === thenable.status &&
1208
+ ((thenable.status = "fulfilled"),
1209
+ (thenable.value = fulfilledValue));
1210
+ },
1211
+ function (error) {
1212
+ "pending" === thenable.status &&
1213
+ ((thenable.status = "rejected"),
1214
+ (thenable.reason = error));
1215
+ }
1216
+ )),
1217
+ thenable.status)
1218
+ ) {
1219
+ case "fulfilled":
1220
+ return thenable.value;
1221
+ case "rejected":
1222
+ throw thenable.reason;
1223
+ }
1224
+ }
1225
+ throw thenable;
1226
+ }
1227
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
1228
+ var type = typeof children;
1229
+ if ("undefined" === type || "boolean" === type) children = null;
1230
+ var invokeCallback = false;
1231
+ if (null === children) invokeCallback = true;
1232
+ else
1233
+ switch (type) {
1234
+ case "bigint":
1235
+ case "string":
1236
+ case "number":
1237
+ invokeCallback = true;
1238
+ break;
1239
+ case "object":
1240
+ switch (children.$$typeof) {
1241
+ case REACT_ELEMENT_TYPE:
1242
+ case REACT_PORTAL_TYPE:
1243
+ invokeCallback = true;
1244
+ break;
1245
+ case REACT_LAZY_TYPE:
1246
+ return (
1247
+ (invokeCallback = children._init),
1248
+ mapIntoArray(
1249
+ invokeCallback(children._payload),
1250
+ array,
1251
+ escapedPrefix,
1252
+ nameSoFar,
1253
+ callback
1254
+ )
1255
+ );
1256
+ }
1257
+ }
1258
+ if (invokeCallback) {
1259
+ invokeCallback = children;
1260
+ callback = callback(invokeCallback);
1261
+ var childKey =
1262
+ "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
1263
+ isArrayImpl(callback)
1264
+ ? ((escapedPrefix = ""),
1265
+ null != childKey &&
1266
+ (escapedPrefix =
1267
+ childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"),
1268
+ mapIntoArray(callback, array, escapedPrefix, "", function (c) {
1269
+ return c;
1270
+ }))
1271
+ : null != callback &&
1272
+ (isValidElement(callback) &&
1273
+ (null != callback.key &&
1274
+ ((invokeCallback && invokeCallback.key === callback.key) ||
1275
+ checkKeyStringCoercion(callback.key)),
1276
+ (escapedPrefix = cloneAndReplaceKey(
1277
+ callback,
1278
+ escapedPrefix +
1279
+ (null == callback.key ||
1280
+ (invokeCallback && invokeCallback.key === callback.key)
1281
+ ? ""
1282
+ : ("" + callback.key).replace(
1283
+ userProvidedKeyEscapeRegex,
1284
+ "$&/"
1285
+ ) + "/") +
1286
+ childKey
1287
+ )),
1288
+ "" !== nameSoFar &&
1289
+ null != invokeCallback &&
1290
+ isValidElement(invokeCallback) &&
1291
+ null == invokeCallback.key &&
1292
+ invokeCallback._store &&
1293
+ !invokeCallback._store.validated &&
1294
+ (escapedPrefix._store.validated = 2),
1295
+ (callback = escapedPrefix)),
1296
+ array.push(callback));
1297
+ return 1;
1298
+ }
1299
+ invokeCallback = 0;
1300
+ childKey = "" === nameSoFar ? "." : nameSoFar + ":";
1301
+ if (isArrayImpl(children))
1302
+ for (var i = 0; i < children.length; i++)
1303
+ (nameSoFar = children[i]),
1304
+ (type = childKey + getElementKey(nameSoFar, i)),
1305
+ (invokeCallback += mapIntoArray(
1306
+ nameSoFar,
1307
+ array,
1308
+ escapedPrefix,
1309
+ type,
1310
+ callback
1311
+ ));
1312
+ else if (((i = getIteratorFn(children)), "function" === typeof i))
1313
+ for (
1314
+ i === children.entries &&
1315
+ (didWarnAboutMaps ||
1316
+ console.warn(
1317
+ "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
1318
+ ),
1319
+ (didWarnAboutMaps = true)),
1320
+ children = i.call(children),
1321
+ i = 0;
1322
+ !(nameSoFar = children.next()).done;
1323
+
1324
+ )
1325
+ (nameSoFar = nameSoFar.value),
1326
+ (type = childKey + getElementKey(nameSoFar, i++)),
1327
+ (invokeCallback += mapIntoArray(
1328
+ nameSoFar,
1329
+ array,
1330
+ escapedPrefix,
1331
+ type,
1332
+ callback
1333
+ ));
1334
+ else if ("object" === type) {
1335
+ if ("function" === typeof children.then)
1336
+ return mapIntoArray(
1337
+ resolveThenable(children),
1338
+ array,
1339
+ escapedPrefix,
1340
+ nameSoFar,
1341
+ callback
1342
+ );
1343
+ array = String(children);
1344
+ throw Error(
1345
+ "Objects are not valid as a React child (found: " +
1346
+ ("[object Object]" === array
1347
+ ? "object with keys {" + Object.keys(children).join(", ") + "}"
1348
+ : array) +
1349
+ "). If you meant to render a collection of children, use an array instead."
1350
+ );
1351
+ }
1352
+ return invokeCallback;
1353
+ }
1354
+ function mapChildren(children, func, context) {
1355
+ if (null == children) return children;
1356
+ var result = [],
1357
+ count = 0;
1358
+ mapIntoArray(children, result, "", "", function (child) {
1359
+ return func.call(context, child, count++);
1360
+ });
1361
+ return result;
1362
+ }
1363
+ function lazyInitializer(payload) {
1364
+ if (-1 === payload._status) {
1365
+ var ctor = payload._result;
1366
+ ctor = ctor();
1367
+ ctor.then(
1368
+ function (moduleObject) {
1369
+ if (0 === payload._status || -1 === payload._status)
1370
+ (payload._status = 1), (payload._result = moduleObject);
1371
+ },
1372
+ function (error) {
1373
+ if (0 === payload._status || -1 === payload._status)
1374
+ (payload._status = 2), (payload._result = error);
1375
+ }
1376
+ );
1377
+ -1 === payload._status &&
1378
+ ((payload._status = 0), (payload._result = ctor));
1379
+ }
1380
+ if (1 === payload._status)
1381
+ return (
1382
+ (ctor = payload._result),
1383
+ void 0 === ctor &&
1384
+ console.error(
1385
+ "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",
1386
+ ctor
1387
+ ),
1388
+ "default" in ctor ||
1389
+ console.error(
1390
+ "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
1391
+ ctor
1392
+ ),
1393
+ ctor.default
1394
+ );
1395
+ throw payload._result;
1396
+ }
1397
+ function resolveDispatcher() {
1398
+ var dispatcher = ReactSharedInternals.H;
1399
+ null === dispatcher &&
1400
+ console.error(
1401
+ "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:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."
1402
+ );
1403
+ return dispatcher;
1404
+ }
1405
+ function noop() {}
1406
+ function enqueueTask(task) {
1407
+ if (null === enqueueTaskImpl)
1408
+ try {
1409
+ var requireString = ("require" + Math.random()).slice(0, 7);
1410
+ enqueueTaskImpl = (module && module[requireString]).call(
1411
+ module,
1412
+ "timers"
1413
+ ).setImmediate;
1414
+ } catch (_err) {
1415
+ enqueueTaskImpl = function (callback) {
1416
+ false === didWarnAboutMessageChannel &&
1417
+ ((didWarnAboutMessageChannel = true),
1418
+ "undefined" === typeof MessageChannel &&
1419
+ console.error(
1420
+ "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."
1421
+ ));
1422
+ var channel = new MessageChannel();
1423
+ channel.port1.onmessage = callback;
1424
+ channel.port2.postMessage(void 0);
1425
+ };
1426
+ }
1427
+ return enqueueTaskImpl(task);
1428
+ }
1429
+ function aggregateErrors(errors) {
1430
+ return 1 < errors.length && "function" === typeof AggregateError
1431
+ ? new AggregateError(errors)
1432
+ : errors[0];
1433
+ }
1434
+ function popActScope(prevActQueue, prevActScopeDepth) {
1435
+ prevActScopeDepth !== actScopeDepth - 1 &&
1436
+ console.error(
1437
+ "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
1438
+ );
1439
+ actScopeDepth = prevActScopeDepth;
1440
+ }
1441
+ function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
1442
+ var queue = ReactSharedInternals.actQueue;
1443
+ if (null !== queue)
1444
+ if (0 !== queue.length)
1445
+ try {
1446
+ flushActQueue(queue);
1447
+ enqueueTask(function () {
1448
+ return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
1449
+ });
1450
+ return;
1451
+ } catch (error) {
1452
+ ReactSharedInternals.thrownErrors.push(error);
1453
+ }
1454
+ else ReactSharedInternals.actQueue = null;
1455
+ 0 < ReactSharedInternals.thrownErrors.length
1456
+ ? ((queue = aggregateErrors(ReactSharedInternals.thrownErrors)),
1457
+ (ReactSharedInternals.thrownErrors.length = 0),
1458
+ reject(queue))
1459
+ : resolve(returnValue);
1460
+ }
1461
+ function flushActQueue(queue) {
1462
+ if (!isFlushing) {
1463
+ isFlushing = true;
1464
+ var i = 0;
1465
+ try {
1466
+ for (; i < queue.length; i++) {
1467
+ var callback = queue[i];
1468
+ do {
1469
+ ReactSharedInternals.didUsePromise = !1;
1470
+ var continuation = callback(!1);
1471
+ if (null !== continuation) {
1472
+ if (ReactSharedInternals.didUsePromise) {
1473
+ queue[i] = callback;
1474
+ queue.splice(0, i);
1475
+ return;
1476
+ }
1477
+ callback = continuation;
1478
+ } else break;
1479
+ } while (1);
1480
+ }
1481
+ queue.length = 0;
1482
+ } catch (error) {
1483
+ queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
1484
+ } finally {
1485
+ isFlushing = false;
1486
+ }
1487
+ }
1488
+ }
1489
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1490
+ "function" ===
1491
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
1492
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
1493
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
1494
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
1495
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
1496
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
1497
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler");
1498
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
1499
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
1500
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
1501
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
1502
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
1503
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
1504
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
1505
+ REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
1506
+ MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
1507
+ didWarnStateUpdateForUnmountedComponent = {},
1508
+ ReactNoopUpdateQueue = {
1509
+ isMounted: function () {
1510
+ return false;
1511
+ },
1512
+ enqueueForceUpdate: function (publicInstance) {
1513
+ warnNoop(publicInstance, "forceUpdate");
1514
+ },
1515
+ enqueueReplaceState: function (publicInstance) {
1516
+ warnNoop(publicInstance, "replaceState");
1517
+ },
1518
+ enqueueSetState: function (publicInstance) {
1519
+ warnNoop(publicInstance, "setState");
1520
+ }
1521
+ },
1522
+ assign = Object.assign,
1523
+ emptyObject = {};
1524
+ Object.freeze(emptyObject);
1525
+ Component.prototype.isReactComponent = {};
1526
+ Component.prototype.setState = function (partialState, callback) {
1527
+ if (
1528
+ "object" !== typeof partialState &&
1529
+ "function" !== typeof partialState &&
1530
+ null != partialState
1531
+ )
1532
+ throw Error(
1533
+ "takes an object of state variables to update or a function which returns an object of state variables."
1534
+ );
1535
+ this.updater.enqueueSetState(this, partialState, callback, "setState");
1536
+ };
1537
+ Component.prototype.forceUpdate = function (callback) {
1538
+ this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
1539
+ };
1540
+ var deprecatedAPIs = {
1541
+ isMounted: [
1542
+ "isMounted",
1543
+ "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
1544
+ ],
1545
+ replaceState: [
1546
+ "replaceState",
1547
+ "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
1548
+ ]
1549
+ },
1550
+ fnName;
1551
+ for (fnName in deprecatedAPIs)
1552
+ deprecatedAPIs.hasOwnProperty(fnName) &&
1553
+ defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
1554
+ ComponentDummy.prototype = Component.prototype;
1555
+ deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
1556
+ deprecatedAPIs.constructor = PureComponent;
1557
+ assign(deprecatedAPIs, Component.prototype);
1558
+ deprecatedAPIs.isPureReactComponent = true;
1559
+ var isArrayImpl = Array.isArray,
1560
+ REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
1561
+ ReactSharedInternals = {
1562
+ H: null,
1563
+ A: null,
1564
+ T: null,
1565
+ S: null,
1566
+ actQueue: null,
1567
+ isBatchingLegacy: false,
1568
+ didScheduleLegacyUpdate: false,
1569
+ didUsePromise: false,
1570
+ thrownErrors: [],
1571
+ getCurrentStack: null
1572
+ },
1573
+ hasOwnProperty = Object.prototype.hasOwnProperty,
1574
+ REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
1575
+ disabledDepth = 0,
1576
+ prevLog,
1577
+ prevInfo,
1578
+ prevWarn,
1579
+ prevError,
1580
+ prevGroup,
1581
+ prevGroupCollapsed,
1582
+ prevGroupEnd;
1583
+ disabledLog.__reactDisabledLog = true;
1584
+ var prefix,
1585
+ suffix,
1586
+ reentry = false;
1587
+ var componentFrameCache = new (
1588
+ "function" === typeof WeakMap ? WeakMap : Map
1589
+ )();
1590
+ var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
1591
+ specialPropKeyWarningShown,
1592
+ didWarnAboutOldJSXRuntime;
1593
+ var didWarnAboutElementRef = {};
1594
+ var ownerHasKeyUseWarning = {},
1595
+ didWarnAboutMaps = false,
1596
+ userProvidedKeyEscapeRegex = /\/+/g,
1597
+ reportGlobalError =
1598
+ "function" === typeof reportError
1599
+ ? reportError
1600
+ : function (error) {
1601
+ if (
1602
+ "object" === typeof window &&
1603
+ "function" === typeof window.ErrorEvent
1604
+ ) {
1605
+ var event = new window.ErrorEvent("error", {
1606
+ bubbles: true,
1607
+ cancelable: true,
1608
+ message:
1609
+ "object" === typeof error &&
1610
+ null !== error &&
1611
+ "string" === typeof error.message
1612
+ ? String(error.message)
1613
+ : String(error),
1614
+ error: error
1615
+ });
1616
+ if (!window.dispatchEvent(event)) return;
1617
+ } else if (
1618
+ "object" === typeof process &&
1619
+ "function" === typeof process.emit
1620
+ ) {
1621
+ process.emit("uncaughtException", error);
1622
+ return;
1623
+ }
1624
+ console.error(error);
1625
+ },
1626
+ didWarnAboutMessageChannel = false,
1627
+ enqueueTaskImpl = null,
1628
+ actScopeDepth = 0,
1629
+ didWarnNoAwaitAct = false,
1630
+ isFlushing = false,
1631
+ queueSeveralMicrotasks =
1632
+ "function" === typeof queueMicrotask
1633
+ ? function (callback) {
1634
+ queueMicrotask(function () {
1635
+ return queueMicrotask(callback);
1636
+ });
1637
+ }
1638
+ : enqueueTask;
1639
+ exports$1.Children = {
1640
+ map: mapChildren,
1641
+ forEach: function (children, forEachFunc, forEachContext) {
1642
+ mapChildren(
1643
+ children,
1644
+ function () {
1645
+ forEachFunc.apply(this, arguments);
1646
+ },
1647
+ forEachContext
1648
+ );
1649
+ },
1650
+ count: function (children) {
1651
+ var n = 0;
1652
+ mapChildren(children, function () {
1653
+ n++;
1654
+ });
1655
+ return n;
1656
+ },
1657
+ toArray: function (children) {
1658
+ return (
1659
+ mapChildren(children, function (child) {
1660
+ return child;
1661
+ }) || []
1662
+ );
1663
+ },
1664
+ only: function (children) {
1665
+ if (!isValidElement(children))
1666
+ throw Error(
1667
+ "React.Children.only expected to receive a single React element child."
1668
+ );
1669
+ return children;
1670
+ }
1671
+ };
1672
+ exports$1.Component = Component;
1673
+ exports$1.Fragment = REACT_FRAGMENT_TYPE;
1674
+ exports$1.Profiler = REACT_PROFILER_TYPE;
1675
+ exports$1.PureComponent = PureComponent;
1676
+ exports$1.StrictMode = REACT_STRICT_MODE_TYPE;
1677
+ exports$1.Suspense = REACT_SUSPENSE_TYPE;
1678
+ exports$1.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
1679
+ ReactSharedInternals;
1680
+ exports$1.act = function (callback) {
1681
+ var prevActQueue = ReactSharedInternals.actQueue,
1682
+ prevActScopeDepth = actScopeDepth;
1683
+ actScopeDepth++;
1684
+ var queue = (ReactSharedInternals.actQueue =
1685
+ null !== prevActQueue ? prevActQueue : []),
1686
+ didAwaitActCall = false;
1687
+ try {
1688
+ var result = callback();
1689
+ } catch (error) {
1690
+ ReactSharedInternals.thrownErrors.push(error);
1691
+ }
1692
+ if (0 < ReactSharedInternals.thrownErrors.length)
1693
+ throw (
1694
+ (popActScope(prevActQueue, prevActScopeDepth),
1695
+ (callback = aggregateErrors(ReactSharedInternals.thrownErrors)),
1696
+ (ReactSharedInternals.thrownErrors.length = 0),
1697
+ callback)
1698
+ );
1699
+ if (
1700
+ null !== result &&
1701
+ "object" === typeof result &&
1702
+ "function" === typeof result.then
1703
+ ) {
1704
+ var thenable = result;
1705
+ queueSeveralMicrotasks(function () {
1706
+ didAwaitActCall ||
1707
+ didWarnNoAwaitAct ||
1708
+ ((didWarnNoAwaitAct = true),
1709
+ console.error(
1710
+ "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 () => ...);"
1711
+ ));
1712
+ });
1713
+ return {
1714
+ then: function (resolve, reject) {
1715
+ didAwaitActCall = true;
1716
+ thenable.then(
1717
+ function (returnValue) {
1718
+ popActScope(prevActQueue, prevActScopeDepth);
1719
+ if (0 === prevActScopeDepth) {
1720
+ try {
1721
+ flushActQueue(queue),
1722
+ enqueueTask(function () {
1723
+ return recursivelyFlushAsyncActWork(
1724
+ returnValue,
1725
+ resolve,
1726
+ reject
1727
+ );
1728
+ });
1729
+ } catch (error$2) {
1730
+ ReactSharedInternals.thrownErrors.push(error$2);
1731
+ }
1732
+ if (0 < ReactSharedInternals.thrownErrors.length) {
1733
+ var _thrownError = aggregateErrors(
1734
+ ReactSharedInternals.thrownErrors
1735
+ );
1736
+ ReactSharedInternals.thrownErrors.length = 0;
1737
+ reject(_thrownError);
1738
+ }
1739
+ } else resolve(returnValue);
1740
+ },
1741
+ function (error) {
1742
+ popActScope(prevActQueue, prevActScopeDepth);
1743
+ 0 < ReactSharedInternals.thrownErrors.length
1744
+ ? ((error = aggregateErrors(
1745
+ ReactSharedInternals.thrownErrors
1746
+ )),
1747
+ (ReactSharedInternals.thrownErrors.length = 0),
1748
+ reject(error))
1749
+ : reject(error);
1750
+ }
1751
+ );
1752
+ }
1753
+ };
1754
+ }
1755
+ var returnValue$jscomp$0 = result;
1756
+ popActScope(prevActQueue, prevActScopeDepth);
1757
+ 0 === prevActScopeDepth &&
1758
+ (flushActQueue(queue),
1759
+ 0 !== queue.length &&
1760
+ queueSeveralMicrotasks(function () {
1761
+ didAwaitActCall ||
1762
+ didWarnNoAwaitAct ||
1763
+ ((didWarnNoAwaitAct = true),
1764
+ console.error(
1765
+ "A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"
1766
+ ));
1767
+ }),
1768
+ (ReactSharedInternals.actQueue = null));
1769
+ if (0 < ReactSharedInternals.thrownErrors.length)
1770
+ throw (
1771
+ ((callback = aggregateErrors(ReactSharedInternals.thrownErrors)),
1772
+ (ReactSharedInternals.thrownErrors.length = 0),
1773
+ callback)
1774
+ );
1775
+ return {
1776
+ then: function (resolve, reject) {
1777
+ didAwaitActCall = true;
1778
+ 0 === prevActScopeDepth
1779
+ ? ((ReactSharedInternals.actQueue = queue),
1780
+ enqueueTask(function () {
1781
+ return recursivelyFlushAsyncActWork(
1782
+ returnValue$jscomp$0,
1783
+ resolve,
1784
+ reject
1785
+ );
1786
+ }))
1787
+ : resolve(returnValue$jscomp$0);
1788
+ }
1789
+ };
1790
+ };
1791
+ exports$1.cache = function (fn) {
1792
+ return function () {
1793
+ return fn.apply(null, arguments);
1794
+ };
1795
+ };
1796
+ exports$1.cloneElement = function (element, config, children) {
1797
+ if (null === element || void 0 === element)
1798
+ throw Error(
1799
+ "The argument must be a React element, but you passed " +
1800
+ element +
1801
+ "."
1802
+ );
1803
+ var props = assign({}, element.props),
1804
+ key = element.key,
1805
+ owner = element._owner;
1806
+ if (null != config) {
1807
+ var JSCompiler_inline_result;
1808
+ a: {
1809
+ if (
1810
+ hasOwnProperty.call(config, "ref") &&
1811
+ (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
1812
+ config,
1813
+ "ref"
1814
+ ).get) &&
1815
+ JSCompiler_inline_result.isReactWarning
1816
+ ) {
1817
+ JSCompiler_inline_result = false;
1818
+ break a;
1819
+ }
1820
+ JSCompiler_inline_result = void 0 !== config.ref;
1821
+ }
1822
+ JSCompiler_inline_result && (owner = getOwner());
1823
+ hasValidKey(config) &&
1824
+ (checkKeyStringCoercion(config.key), (key = "" + config.key));
1825
+ for (propName in config)
1826
+ !hasOwnProperty.call(config, propName) ||
1827
+ "key" === propName ||
1828
+ "__self" === propName ||
1829
+ "__source" === propName ||
1830
+ ("ref" === propName && void 0 === config.ref) ||
1831
+ (props[propName] = config[propName]);
1832
+ }
1833
+ var propName = arguments.length - 2;
1834
+ if (1 === propName) props.children = children;
1835
+ else if (1 < propName) {
1836
+ JSCompiler_inline_result = Array(propName);
1837
+ for (var i = 0; i < propName; i++)
1838
+ JSCompiler_inline_result[i] = arguments[i + 2];
1839
+ props.children = JSCompiler_inline_result;
1840
+ }
1841
+ props = ReactElement(element.type, key, void 0, void 0, owner, props);
1842
+ for (key = 2; key < arguments.length; key++)
1843
+ validateChildKeys(arguments[key], props.type);
1844
+ return props;
1845
+ };
1846
+ exports$1.createContext = function (defaultValue) {
1847
+ defaultValue = {
1848
+ $$typeof: REACT_CONTEXT_TYPE,
1849
+ _currentValue: defaultValue,
1850
+ _currentValue2: defaultValue,
1851
+ _threadCount: 0,
1852
+ Provider: null,
1853
+ Consumer: null
1854
+ };
1855
+ defaultValue.Provider = defaultValue;
1856
+ defaultValue.Consumer = {
1857
+ $$typeof: REACT_CONSUMER_TYPE,
1858
+ _context: defaultValue
1859
+ };
1860
+ defaultValue._currentRenderer = null;
1861
+ defaultValue._currentRenderer2 = null;
1862
+ return defaultValue;
1863
+ };
1864
+ exports$1.createElement = function (type, config, children) {
1865
+ if (isValidElementType(type))
1866
+ for (var i = 2; i < arguments.length; i++)
1867
+ validateChildKeys(arguments[i], type);
1868
+ else {
1869
+ i = "";
1870
+ if (
1871
+ void 0 === type ||
1872
+ ("object" === typeof type &&
1873
+ null !== type &&
1874
+ 0 === Object.keys(type).length)
1875
+ )
1876
+ i +=
1877
+ " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
1878
+ if (null === type) var typeString = "null";
1879
+ else
1880
+ isArrayImpl(type)
1881
+ ? (typeString = "array")
1882
+ : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
1883
+ ? ((typeString =
1884
+ "<" +
1885
+ (getComponentNameFromType(type.type) || "Unknown") +
1886
+ " />"),
1887
+ (i =
1888
+ " Did you accidentally export a JSX literal instead of a component?"))
1889
+ : (typeString = typeof type);
1890
+ console.error(
1891
+ "React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
1892
+ typeString,
1893
+ i
1894
+ );
1895
+ }
1896
+ var propName;
1897
+ i = {};
1898
+ typeString = null;
1899
+ if (null != config)
1900
+ for (propName in (didWarnAboutOldJSXRuntime ||
1901
+ !("__self" in config) ||
1902
+ "key" in config ||
1903
+ ((didWarnAboutOldJSXRuntime = true),
1904
+ console.warn(
1905
+ "Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
1906
+ )),
1907
+ hasValidKey(config) &&
1908
+ (checkKeyStringCoercion(config.key), (typeString = "" + config.key)),
1909
+ config))
1910
+ hasOwnProperty.call(config, propName) &&
1911
+ "key" !== propName &&
1912
+ "__self" !== propName &&
1913
+ "__source" !== propName &&
1914
+ (i[propName] = config[propName]);
1915
+ var childrenLength = arguments.length - 2;
1916
+ if (1 === childrenLength) i.children = children;
1917
+ else if (1 < childrenLength) {
1918
+ for (
1919
+ var childArray = Array(childrenLength), _i = 0;
1920
+ _i < childrenLength;
1921
+ _i++
1922
+ )
1923
+ childArray[_i] = arguments[_i + 2];
1924
+ Object.freeze && Object.freeze(childArray);
1925
+ i.children = childArray;
1926
+ }
1927
+ if (type && type.defaultProps)
1928
+ for (propName in ((childrenLength = type.defaultProps), childrenLength))
1929
+ void 0 === i[propName] && (i[propName] = childrenLength[propName]);
1930
+ typeString &&
1931
+ defineKeyPropWarningGetter(
1932
+ i,
1933
+ "function" === typeof type
1934
+ ? type.displayName || type.name || "Unknown"
1935
+ : type
1936
+ );
1937
+ return ReactElement(type, typeString, void 0, void 0, getOwner(), i);
1938
+ };
1939
+ exports$1.createRef = function () {
1940
+ var refObject = { current: null };
1941
+ Object.seal(refObject);
1942
+ return refObject;
1943
+ };
1944
+ exports$1.forwardRef = function (render) {
1945
+ null != render && render.$$typeof === REACT_MEMO_TYPE
1946
+ ? console.error(
1947
+ "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
1948
+ )
1949
+ : "function" !== typeof render
1950
+ ? console.error(
1951
+ "forwardRef requires a render function but was given %s.",
1952
+ null === render ? "null" : typeof render
1953
+ )
1954
+ : 0 !== render.length &&
1955
+ 2 !== render.length &&
1956
+ console.error(
1957
+ "forwardRef render functions accept exactly two parameters: props and ref. %s",
1958
+ 1 === render.length
1959
+ ? "Did you forget to use the ref parameter?"
1960
+ : "Any additional parameter will be undefined."
1961
+ );
1962
+ null != render &&
1963
+ null != render.defaultProps &&
1964
+ console.error(
1965
+ "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
1966
+ );
1967
+ var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render: render },
1968
+ ownName;
1969
+ Object.defineProperty(elementType, "displayName", {
1970
+ enumerable: false,
1971
+ configurable: true,
1972
+ get: function () {
1973
+ return ownName;
1974
+ },
1975
+ set: function (name) {
1976
+ ownName = name;
1977
+ render.name ||
1978
+ render.displayName ||
1979
+ (Object.defineProperty(render, "name", { value: name }),
1980
+ (render.displayName = name));
1981
+ }
1982
+ });
1983
+ return elementType;
1984
+ };
1985
+ exports$1.isValidElement = isValidElement;
1986
+ exports$1.lazy = function (ctor) {
1987
+ return {
1988
+ $$typeof: REACT_LAZY_TYPE,
1989
+ _payload: { _status: -1, _result: ctor },
1990
+ _init: lazyInitializer
1991
+ };
1992
+ };
1993
+ exports$1.memo = function (type, compare) {
1994
+ isValidElementType(type) ||
1995
+ console.error(
1996
+ "memo: The first argument must be a component. Instead received: %s",
1997
+ null === type ? "null" : typeof type
1998
+ );
1999
+ compare = {
2000
+ $$typeof: REACT_MEMO_TYPE,
2001
+ type: type,
2002
+ compare: void 0 === compare ? null : compare
2003
+ };
2004
+ var ownName;
2005
+ Object.defineProperty(compare, "displayName", {
2006
+ enumerable: false,
2007
+ configurable: true,
2008
+ get: function () {
2009
+ return ownName;
2010
+ },
2011
+ set: function (name) {
2012
+ ownName = name;
2013
+ type.name ||
2014
+ type.displayName ||
2015
+ (Object.defineProperty(type, "name", { value: name }),
2016
+ (type.displayName = name));
2017
+ }
2018
+ });
2019
+ return compare;
2020
+ };
2021
+ exports$1.startTransition = function (scope) {
2022
+ var prevTransition = ReactSharedInternals.T,
2023
+ currentTransition = {};
2024
+ ReactSharedInternals.T = currentTransition;
2025
+ currentTransition._updatedFibers = new Set();
2026
+ try {
2027
+ var returnValue = scope(),
2028
+ onStartTransitionFinish = ReactSharedInternals.S;
2029
+ null !== onStartTransitionFinish &&
2030
+ onStartTransitionFinish(currentTransition, returnValue);
2031
+ "object" === typeof returnValue &&
2032
+ null !== returnValue &&
2033
+ "function" === typeof returnValue.then &&
2034
+ returnValue.then(noop, reportGlobalError);
2035
+ } catch (error) {
2036
+ reportGlobalError(error);
2037
+ } finally {
2038
+ null === prevTransition &&
2039
+ currentTransition._updatedFibers &&
2040
+ ((scope = currentTransition._updatedFibers.size),
2041
+ currentTransition._updatedFibers.clear(),
2042
+ 10 < scope &&
2043
+ console.warn(
2044
+ "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."
2045
+ )),
2046
+ (ReactSharedInternals.T = prevTransition);
2047
+ }
2048
+ };
2049
+ exports$1.unstable_useCacheRefresh = function () {
2050
+ return resolveDispatcher().useCacheRefresh();
2051
+ };
2052
+ exports$1.use = function (usable) {
2053
+ return resolveDispatcher().use(usable);
2054
+ };
2055
+ exports$1.useActionState = function (action, initialState, permalink) {
2056
+ return resolveDispatcher().useActionState(
2057
+ action,
2058
+ initialState,
2059
+ permalink
2060
+ );
2061
+ };
2062
+ exports$1.useCallback = function (callback, deps) {
2063
+ return resolveDispatcher().useCallback(callback, deps);
2064
+ };
2065
+ exports$1.useContext = function (Context) {
2066
+ var dispatcher = resolveDispatcher();
2067
+ Context.$$typeof === REACT_CONSUMER_TYPE &&
2068
+ console.error(
2069
+ "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
2070
+ );
2071
+ return dispatcher.useContext(Context);
2072
+ };
2073
+ exports$1.useDebugValue = function (value, formatterFn) {
2074
+ return resolveDispatcher().useDebugValue(value, formatterFn);
2075
+ };
2076
+ exports$1.useDeferredValue = function (value, initialValue) {
2077
+ return resolveDispatcher().useDeferredValue(value, initialValue);
2078
+ };
2079
+ exports$1.useEffect = function (create, deps) {
2080
+ return resolveDispatcher().useEffect(create, deps);
2081
+ };
2082
+ exports$1.useId = function () {
2083
+ return resolveDispatcher().useId();
2084
+ };
2085
+ exports$1.useImperativeHandle = function (ref, create, deps) {
2086
+ return resolveDispatcher().useImperativeHandle(ref, create, deps);
2087
+ };
2088
+ exports$1.useInsertionEffect = function (create, deps) {
2089
+ return resolveDispatcher().useInsertionEffect(create, deps);
2090
+ };
2091
+ exports$1.useLayoutEffect = function (create, deps) {
2092
+ return resolveDispatcher().useLayoutEffect(create, deps);
2093
+ };
2094
+ exports$1.useMemo = function (create, deps) {
2095
+ return resolveDispatcher().useMemo(create, deps);
2096
+ };
2097
+ exports$1.useOptimistic = function (passthrough, reducer) {
2098
+ return resolveDispatcher().useOptimistic(passthrough, reducer);
2099
+ };
2100
+ exports$1.useReducer = function (reducer, initialArg, init) {
2101
+ return resolveDispatcher().useReducer(reducer, initialArg, init);
2102
+ };
2103
+ exports$1.useRef = function (initialValue) {
2104
+ return resolveDispatcher().useRef(initialValue);
2105
+ };
2106
+ exports$1.useState = function (initialState) {
2107
+ return resolveDispatcher().useState(initialState);
2108
+ };
2109
+ exports$1.useSyncExternalStore = function (
2110
+ subscribe,
2111
+ getSnapshot,
2112
+ getServerSnapshot
2113
+ ) {
2114
+ return resolveDispatcher().useSyncExternalStore(
2115
+ subscribe,
2116
+ getSnapshot,
2117
+ getServerSnapshot
2118
+ );
2119
+ };
2120
+ exports$1.useTransition = function () {
2121
+ return resolveDispatcher().useTransition();
2122
+ };
2123
+ exports$1.version = "19.0.0";
2124
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2125
+ "function" ===
2126
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
2127
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
2128
+ })();
2129
+ } (react_development, react_development.exports));
2130
+ return react_development.exports;
2131
+ }
2132
+
2133
+ if (process.env.NODE_ENV === 'production') {
2134
+ react.exports = requireReact_production();
2135
+ } else {
2136
+ react.exports = requireReact_development();
2137
+ }
2138
+
2139
+ var reactExports = react.exports;
2140
+
2141
+ /**
2142
+ * @license React
2143
+ * react-jsx-runtime.development.js
2144
+ *
2145
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
2146
+ *
2147
+ * This source code is licensed under the MIT license found in the
2148
+ * LICENSE file in the root directory of this source tree.
2149
+ */
2150
+
2151
+ var hasRequiredReactJsxRuntime_development;
2152
+
2153
+ function requireReactJsxRuntime_development () {
2154
+ if (hasRequiredReactJsxRuntime_development) return reactJsxRuntime_development;
2155
+ hasRequiredReactJsxRuntime_development = 1;
2156
+ "production" !== process.env.NODE_ENV &&
2157
+ (function () {
2158
+ function getComponentNameFromType(type) {
2159
+ if (null == type) return null;
2160
+ if ("function" === typeof type)
2161
+ return type.$$typeof === REACT_CLIENT_REFERENCE$2
2162
+ ? null
2163
+ : type.displayName || type.name || null;
2164
+ if ("string" === typeof type) return type;
2165
+ switch (type) {
2166
+ case REACT_FRAGMENT_TYPE:
2167
+ return "Fragment";
2168
+ case REACT_PORTAL_TYPE:
2169
+ return "Portal";
2170
+ case REACT_PROFILER_TYPE:
2171
+ return "Profiler";
2172
+ case REACT_STRICT_MODE_TYPE:
2173
+ return "StrictMode";
2174
+ case REACT_SUSPENSE_TYPE:
2175
+ return "Suspense";
2176
+ case REACT_SUSPENSE_LIST_TYPE:
2177
+ return "SuspenseList";
2178
+ }
2179
+ if ("object" === typeof type)
2180
+ switch (
2181
+ ("number" === typeof type.tag &&
2182
+ console.error(
2183
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
2184
+ ),
2185
+ type.$$typeof)
2186
+ ) {
2187
+ case REACT_CONTEXT_TYPE:
2188
+ return (type.displayName || "Context") + ".Provider";
2189
+ case REACT_CONSUMER_TYPE:
2190
+ return (type._context.displayName || "Context") + ".Consumer";
2191
+ case REACT_FORWARD_REF_TYPE:
2192
+ var innerType = type.render;
2193
+ type = type.displayName;
2194
+ type ||
2195
+ ((type = innerType.displayName || innerType.name || ""),
2196
+ (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
2197
+ return type;
2198
+ case REACT_MEMO_TYPE:
2199
+ return (
2200
+ (innerType = type.displayName || null),
2201
+ null !== innerType
2202
+ ? innerType
2203
+ : getComponentNameFromType(type.type) || "Memo"
2204
+ );
2205
+ case REACT_LAZY_TYPE:
2206
+ innerType = type._payload;
2207
+ type = type._init;
2208
+ try {
2209
+ return getComponentNameFromType(type(innerType));
2210
+ } catch (x) {}
2211
+ }
2212
+ return null;
2213
+ }
2214
+ function testStringCoercion(value) {
2215
+ return "" + value;
2216
+ }
2217
+ function checkKeyStringCoercion(value) {
2218
+ try {
2219
+ testStringCoercion(value);
2220
+ var JSCompiler_inline_result = !1;
2221
+ } catch (e) {
2222
+ JSCompiler_inline_result = true;
2223
+ }
2224
+ if (JSCompiler_inline_result) {
2225
+ JSCompiler_inline_result = console;
2226
+ var JSCompiler_temp_const = JSCompiler_inline_result.error;
2227
+ var JSCompiler_inline_result$jscomp$0 =
2228
+ ("function" === typeof Symbol &&
2229
+ Symbol.toStringTag &&
2230
+ value[Symbol.toStringTag]) ||
2231
+ value.constructor.name ||
2232
+ "Object";
2233
+ JSCompiler_temp_const.call(
2234
+ JSCompiler_inline_result,
2235
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
2236
+ JSCompiler_inline_result$jscomp$0
2237
+ );
2238
+ return testStringCoercion(value);
2239
+ }
2240
+ }
2241
+ function disabledLog() {}
2242
+ function disableLogs() {
2243
+ if (0 === disabledDepth) {
2244
+ prevLog = console.log;
2245
+ prevInfo = console.info;
2246
+ prevWarn = console.warn;
2247
+ prevError = console.error;
2248
+ prevGroup = console.group;
2249
+ prevGroupCollapsed = console.groupCollapsed;
2250
+ prevGroupEnd = console.groupEnd;
2251
+ var props = {
2252
+ configurable: true,
2253
+ enumerable: true,
2254
+ value: disabledLog,
2255
+ writable: true
2256
+ };
2257
+ Object.defineProperties(console, {
2258
+ info: props,
2259
+ log: props,
2260
+ warn: props,
2261
+ error: props,
2262
+ group: props,
2263
+ groupCollapsed: props,
2264
+ groupEnd: props
2265
+ });
2266
+ }
2267
+ disabledDepth++;
2268
+ }
2269
+ function reenableLogs() {
2270
+ disabledDepth--;
2271
+ if (0 === disabledDepth) {
2272
+ var props = { configurable: true, enumerable: true, writable: true };
2273
+ Object.defineProperties(console, {
2274
+ log: assign({}, props, { value: prevLog }),
2275
+ info: assign({}, props, { value: prevInfo }),
2276
+ warn: assign({}, props, { value: prevWarn }),
2277
+ error: assign({}, props, { value: prevError }),
2278
+ group: assign({}, props, { value: prevGroup }),
2279
+ groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
2280
+ groupEnd: assign({}, props, { value: prevGroupEnd })
2281
+ });
2282
+ }
2283
+ 0 > disabledDepth &&
2284
+ console.error(
2285
+ "disabledDepth fell below zero. This is a bug in React. Please file an issue."
2286
+ );
2287
+ }
2288
+ function describeBuiltInComponentFrame(name) {
2289
+ if (void 0 === prefix)
2290
+ try {
2291
+ throw Error();
2292
+ } catch (x) {
2293
+ var match = x.stack.trim().match(/\n( *(at )?)/);
2294
+ prefix = (match && match[1]) || "";
2295
+ suffix =
2296
+ -1 < x.stack.indexOf("\n at")
2297
+ ? " (<anonymous>)"
2298
+ : -1 < x.stack.indexOf("@")
2299
+ ? "@unknown:0:0"
2300
+ : "";
2301
+ }
2302
+ return "\n" + prefix + name + suffix;
2303
+ }
2304
+ function describeNativeComponentFrame(fn, construct) {
2305
+ if (!fn || reentry) return "";
2306
+ var frame = componentFrameCache.get(fn);
2307
+ if (void 0 !== frame) return frame;
2308
+ reentry = true;
2309
+ frame = Error.prepareStackTrace;
2310
+ Error.prepareStackTrace = void 0;
2311
+ var previousDispatcher = null;
2312
+ previousDispatcher = ReactSharedInternals.H;
2313
+ ReactSharedInternals.H = null;
2314
+ disableLogs();
2315
+ try {
2316
+ var RunInRootFrame = {
2317
+ DetermineComponentFrameRoot: function () {
2318
+ try {
2319
+ if (construct) {
2320
+ var Fake = function () {
2321
+ throw Error();
2322
+ };
2323
+ Object.defineProperty(Fake.prototype, "props", {
2324
+ set: function () {
2325
+ throw Error();
2326
+ }
2327
+ });
2328
+ if ("object" === typeof Reflect && Reflect.construct) {
2329
+ try {
2330
+ Reflect.construct(Fake, []);
2331
+ } catch (x) {
2332
+ var control = x;
2333
+ }
2334
+ Reflect.construct(fn, [], Fake);
2335
+ } else {
2336
+ try {
2337
+ Fake.call();
2338
+ } catch (x$0) {
2339
+ control = x$0;
2340
+ }
2341
+ fn.call(Fake.prototype);
2342
+ }
2343
+ } else {
2344
+ try {
2345
+ throw Error();
2346
+ } catch (x$1) {
2347
+ control = x$1;
2348
+ }
2349
+ (Fake = fn()) &&
2350
+ "function" === typeof Fake.catch &&
2351
+ Fake.catch(function () {});
2352
+ }
2353
+ } catch (sample) {
2354
+ if (sample && control && "string" === typeof sample.stack)
2355
+ return [sample.stack, control.stack];
2356
+ }
2357
+ return [null, null];
2358
+ }
2359
+ };
2360
+ RunInRootFrame.DetermineComponentFrameRoot.displayName =
2361
+ "DetermineComponentFrameRoot";
2362
+ var namePropDescriptor = Object.getOwnPropertyDescriptor(
2363
+ RunInRootFrame.DetermineComponentFrameRoot,
2364
+ "name"
2365
+ );
2366
+ namePropDescriptor &&
2367
+ namePropDescriptor.configurable &&
2368
+ Object.defineProperty(
2369
+ RunInRootFrame.DetermineComponentFrameRoot,
2370
+ "name",
2371
+ { value: "DetermineComponentFrameRoot" }
2372
+ );
2373
+ var _RunInRootFrame$Deter =
2374
+ RunInRootFrame.DetermineComponentFrameRoot(),
2375
+ sampleStack = _RunInRootFrame$Deter[0],
2376
+ controlStack = _RunInRootFrame$Deter[1];
2377
+ if (sampleStack && controlStack) {
2378
+ var sampleLines = sampleStack.split("\n"),
2379
+ controlLines = controlStack.split("\n");
2380
+ for (
2381
+ _RunInRootFrame$Deter = namePropDescriptor = 0;
2382
+ namePropDescriptor < sampleLines.length &&
2383
+ !sampleLines[namePropDescriptor].includes(
2384
+ "DetermineComponentFrameRoot"
2385
+ );
2386
+
2387
+ )
2388
+ namePropDescriptor++;
2389
+ for (
2390
+ ;
2391
+ _RunInRootFrame$Deter < controlLines.length &&
2392
+ !controlLines[_RunInRootFrame$Deter].includes(
2393
+ "DetermineComponentFrameRoot"
2394
+ );
2395
+
2396
+ )
2397
+ _RunInRootFrame$Deter++;
2398
+ if (
2399
+ namePropDescriptor === sampleLines.length ||
2400
+ _RunInRootFrame$Deter === controlLines.length
2401
+ )
2402
+ for (
2403
+ namePropDescriptor = sampleLines.length - 1,
2404
+ _RunInRootFrame$Deter = controlLines.length - 1;
2405
+ 1 <= namePropDescriptor &&
2406
+ 0 <= _RunInRootFrame$Deter &&
2407
+ sampleLines[namePropDescriptor] !==
2408
+ controlLines[_RunInRootFrame$Deter];
2409
+
2410
+ )
2411
+ _RunInRootFrame$Deter--;
2412
+ for (
2413
+ ;
2414
+ 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
2415
+ namePropDescriptor--, _RunInRootFrame$Deter--
2416
+ )
2417
+ if (
2418
+ sampleLines[namePropDescriptor] !==
2419
+ controlLines[_RunInRootFrame$Deter]
2420
+ ) {
2421
+ if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
2422
+ do
2423
+ if (
2424
+ (namePropDescriptor--,
2425
+ _RunInRootFrame$Deter--,
2426
+ 0 > _RunInRootFrame$Deter ||
2427
+ sampleLines[namePropDescriptor] !==
2428
+ controlLines[_RunInRootFrame$Deter])
2429
+ ) {
2430
+ var _frame =
2431
+ "\n" +
2432
+ sampleLines[namePropDescriptor].replace(
2433
+ " at new ",
2434
+ " at "
2435
+ );
2436
+ fn.displayName &&
2437
+ _frame.includes("<anonymous>") &&
2438
+ (_frame = _frame.replace("<anonymous>", fn.displayName));
2439
+ "function" === typeof fn &&
2440
+ componentFrameCache.set(fn, _frame);
2441
+ return _frame;
2442
+ }
2443
+ while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
2444
+ }
2445
+ break;
2446
+ }
2447
+ }
2448
+ } finally {
2449
+ (reentry = false),
2450
+ (ReactSharedInternals.H = previousDispatcher),
2451
+ reenableLogs(),
2452
+ (Error.prepareStackTrace = frame);
2453
+ }
2454
+ sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
2455
+ ? describeBuiltInComponentFrame(sampleLines)
2456
+ : "";
2457
+ "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
2458
+ return sampleLines;
2459
+ }
2460
+ function describeUnknownElementTypeFrameInDEV(type) {
2461
+ if (null == type) return "";
2462
+ if ("function" === typeof type) {
2463
+ var prototype = type.prototype;
2464
+ return describeNativeComponentFrame(
2465
+ type,
2466
+ !(!prototype || !prototype.isReactComponent)
2467
+ );
2468
+ }
2469
+ if ("string" === typeof type) return describeBuiltInComponentFrame(type);
2470
+ switch (type) {
2471
+ case REACT_SUSPENSE_TYPE:
2472
+ return describeBuiltInComponentFrame("Suspense");
2473
+ case REACT_SUSPENSE_LIST_TYPE:
2474
+ return describeBuiltInComponentFrame("SuspenseList");
2475
+ }
2476
+ if ("object" === typeof type)
2477
+ switch (type.$$typeof) {
2478
+ case REACT_FORWARD_REF_TYPE:
2479
+ return (type = describeNativeComponentFrame(type.render, false)), type;
2480
+ case REACT_MEMO_TYPE:
2481
+ return describeUnknownElementTypeFrameInDEV(type.type);
2482
+ case REACT_LAZY_TYPE:
2483
+ prototype = type._payload;
2484
+ type = type._init;
2485
+ try {
2486
+ return describeUnknownElementTypeFrameInDEV(type(prototype));
2487
+ } catch (x) {}
2488
+ }
2489
+ return "";
2490
+ }
2491
+ function getOwner() {
2492
+ var dispatcher = ReactSharedInternals.A;
2493
+ return null === dispatcher ? null : dispatcher.getOwner();
2494
+ }
2495
+ function hasValidKey(config) {
2496
+ if (hasOwnProperty.call(config, "key")) {
2497
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
2498
+ if (getter && getter.isReactWarning) return false;
2499
+ }
2500
+ return void 0 !== config.key;
2501
+ }
2502
+ function defineKeyPropWarningGetter(props, displayName) {
2503
+ function warnAboutAccessingKey() {
2504
+ specialPropKeyWarningShown ||
2505
+ ((specialPropKeyWarningShown = true),
2506
+ console.error(
2507
+ "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
2508
+ displayName
2509
+ ));
2510
+ }
2511
+ warnAboutAccessingKey.isReactWarning = true;
2512
+ Object.defineProperty(props, "key", {
2513
+ get: warnAboutAccessingKey,
2514
+ configurable: true
2515
+ });
2516
+ }
2517
+ function elementRefGetterWithDeprecationWarning() {
2518
+ var componentName = getComponentNameFromType(this.type);
2519
+ didWarnAboutElementRef[componentName] ||
2520
+ ((didWarnAboutElementRef[componentName] = true),
2521
+ console.error(
2522
+ "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
2523
+ ));
2524
+ componentName = this.props.ref;
2525
+ return void 0 !== componentName ? componentName : null;
2526
+ }
2527
+ function ReactElement(type, key, self, source, owner, props) {
2528
+ self = props.ref;
2529
+ type = {
2530
+ $$typeof: REACT_ELEMENT_TYPE,
2531
+ type: type,
2532
+ key: key,
2533
+ props: props,
2534
+ _owner: owner
2535
+ };
2536
+ null !== (void 0 !== self ? self : null)
2537
+ ? Object.defineProperty(type, "ref", {
2538
+ enumerable: false,
2539
+ get: elementRefGetterWithDeprecationWarning
2540
+ })
2541
+ : Object.defineProperty(type, "ref", { enumerable: false, value: null });
2542
+ type._store = {};
2543
+ Object.defineProperty(type._store, "validated", {
2544
+ configurable: false,
2545
+ enumerable: false,
2546
+ writable: true,
2547
+ value: 0
2548
+ });
2549
+ Object.defineProperty(type, "_debugInfo", {
2550
+ configurable: false,
2551
+ enumerable: false,
2552
+ writable: true,
2553
+ value: null
2554
+ });
2555
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
2556
+ return type;
2557
+ }
2558
+ function jsxDEVImpl(
2559
+ type,
2560
+ config,
2561
+ maybeKey,
2562
+ isStaticChildren,
2563
+ source,
2564
+ self
2565
+ ) {
2566
+ if (
2567
+ "string" === typeof type ||
2568
+ "function" === typeof type ||
2569
+ type === REACT_FRAGMENT_TYPE ||
2570
+ type === REACT_PROFILER_TYPE ||
2571
+ type === REACT_STRICT_MODE_TYPE ||
2572
+ type === REACT_SUSPENSE_TYPE ||
2573
+ type === REACT_SUSPENSE_LIST_TYPE ||
2574
+ type === REACT_OFFSCREEN_TYPE ||
2575
+ ("object" === typeof type &&
2576
+ null !== type &&
2577
+ (type.$$typeof === REACT_LAZY_TYPE ||
2578
+ type.$$typeof === REACT_MEMO_TYPE ||
2579
+ type.$$typeof === REACT_CONTEXT_TYPE ||
2580
+ type.$$typeof === REACT_CONSUMER_TYPE ||
2581
+ type.$$typeof === REACT_FORWARD_REF_TYPE ||
2582
+ type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
2583
+ void 0 !== type.getModuleId))
2584
+ ) {
2585
+ var children = config.children;
2586
+ if (void 0 !== children)
2587
+ if (isStaticChildren)
2588
+ if (isArrayImpl(children)) {
2589
+ for (
2590
+ isStaticChildren = 0;
2591
+ isStaticChildren < children.length;
2592
+ isStaticChildren++
2593
+ )
2594
+ validateChildKeys(children[isStaticChildren], type);
2595
+ Object.freeze && Object.freeze(children);
2596
+ } else
2597
+ console.error(
2598
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
2599
+ );
2600
+ else validateChildKeys(children, type);
2601
+ } else {
2602
+ children = "";
2603
+ if (
2604
+ void 0 === type ||
2605
+ ("object" === typeof type &&
2606
+ null !== type &&
2607
+ 0 === Object.keys(type).length)
2608
+ )
2609
+ children +=
2610
+ " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
2611
+ null === type
2612
+ ? (isStaticChildren = "null")
2613
+ : isArrayImpl(type)
2614
+ ? (isStaticChildren = "array")
2615
+ : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
2616
+ ? ((isStaticChildren =
2617
+ "<" +
2618
+ (getComponentNameFromType(type.type) || "Unknown") +
2619
+ " />"),
2620
+ (children =
2621
+ " Did you accidentally export a JSX literal instead of a component?"))
2622
+ : (isStaticChildren = typeof type);
2623
+ console.error(
2624
+ "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
2625
+ isStaticChildren,
2626
+ children
2627
+ );
2628
+ }
2629
+ if (hasOwnProperty.call(config, "key")) {
2630
+ children = getComponentNameFromType(type);
2631
+ var keys = Object.keys(config).filter(function (k) {
2632
+ return "key" !== k;
2633
+ });
2634
+ isStaticChildren =
2635
+ 0 < keys.length
2636
+ ? "{key: someKey, " + keys.join(": ..., ") + ": ...}"
2637
+ : "{key: someKey}";
2638
+ didWarnAboutKeySpread[children + isStaticChildren] ||
2639
+ ((keys =
2640
+ 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}"),
2641
+ console.error(
2642
+ 'A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',
2643
+ isStaticChildren,
2644
+ children,
2645
+ keys,
2646
+ children
2647
+ ),
2648
+ (didWarnAboutKeySpread[children + isStaticChildren] = true));
2649
+ }
2650
+ children = null;
2651
+ void 0 !== maybeKey &&
2652
+ (checkKeyStringCoercion(maybeKey), (children = "" + maybeKey));
2653
+ hasValidKey(config) &&
2654
+ (checkKeyStringCoercion(config.key), (children = "" + config.key));
2655
+ if ("key" in config) {
2656
+ maybeKey = {};
2657
+ for (var propName in config)
2658
+ "key" !== propName && (maybeKey[propName] = config[propName]);
2659
+ } else maybeKey = config;
2660
+ children &&
2661
+ defineKeyPropWarningGetter(
2662
+ maybeKey,
2663
+ "function" === typeof type
2664
+ ? type.displayName || type.name || "Unknown"
2665
+ : type
2666
+ );
2667
+ return ReactElement(type, children, self, source, getOwner(), maybeKey);
2668
+ }
2669
+ function validateChildKeys(node, parentType) {
2670
+ if (
2671
+ "object" === typeof node &&
2672
+ node &&
2673
+ node.$$typeof !== REACT_CLIENT_REFERENCE
2674
+ )
2675
+ if (isArrayImpl(node))
2676
+ for (var i = 0; i < node.length; i++) {
2677
+ var child = node[i];
2678
+ isValidElement(child) && validateExplicitKey(child, parentType);
2679
+ }
2680
+ else if (isValidElement(node))
2681
+ node._store && (node._store.validated = 1);
2682
+ else if (
2683
+ (null === node || "object" !== typeof node
2684
+ ? (i = null)
2685
+ : ((i =
2686
+ (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
2687
+ node["@@iterator"]),
2688
+ (i = "function" === typeof i ? i : null)),
2689
+ "function" === typeof i &&
2690
+ i !== node.entries &&
2691
+ ((i = i.call(node)), i !== node))
2692
+ )
2693
+ for (; !(node = i.next()).done; )
2694
+ isValidElement(node.value) &&
2695
+ validateExplicitKey(node.value, parentType);
2696
+ }
2697
+ function isValidElement(object) {
2698
+ return (
2699
+ "object" === typeof object &&
2700
+ null !== object &&
2701
+ object.$$typeof === REACT_ELEMENT_TYPE
2702
+ );
2703
+ }
2704
+ function validateExplicitKey(element, parentType) {
2705
+ if (
2706
+ element._store &&
2707
+ !element._store.validated &&
2708
+ null == element.key &&
2709
+ ((element._store.validated = 1),
2710
+ (parentType = getCurrentComponentErrorInfo(parentType)),
2711
+ !ownerHasKeyUseWarning[parentType])
2712
+ ) {
2713
+ ownerHasKeyUseWarning[parentType] = true;
2714
+ var childOwner = "";
2715
+ element &&
2716
+ null != element._owner &&
2717
+ element._owner !== getOwner() &&
2718
+ ((childOwner = null),
2719
+ "number" === typeof element._owner.tag
2720
+ ? (childOwner = getComponentNameFromType(element._owner.type))
2721
+ : "string" === typeof element._owner.name &&
2722
+ (childOwner = element._owner.name),
2723
+ (childOwner = " It was passed a child from " + childOwner + "."));
2724
+ var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
2725
+ ReactSharedInternals.getCurrentStack = function () {
2726
+ var stack = describeUnknownElementTypeFrameInDEV(element.type);
2727
+ prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
2728
+ return stack;
2729
+ };
2730
+ console.error(
2731
+ 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
2732
+ parentType,
2733
+ childOwner
2734
+ );
2735
+ ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
2736
+ }
2737
+ }
2738
+ function getCurrentComponentErrorInfo(parentType) {
2739
+ var info = "",
2740
+ owner = getOwner();
2741
+ owner &&
2742
+ (owner = getComponentNameFromType(owner.type)) &&
2743
+ (info = "\n\nCheck the render method of `" + owner + "`.");
2744
+ info ||
2745
+ ((parentType = getComponentNameFromType(parentType)) &&
2746
+ (info =
2747
+ "\n\nCheck the top-level render call using <" + parentType + ">."));
2748
+ return info;
2749
+ }
2750
+ var React = reactExports,
2751
+ REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
2752
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
2753
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
2754
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
2755
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler");
2756
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
2757
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
2758
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
2759
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
2760
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
2761
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
2762
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
2763
+ REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
2764
+ MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
2765
+ REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
2766
+ ReactSharedInternals =
2767
+ React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
2768
+ hasOwnProperty = Object.prototype.hasOwnProperty,
2769
+ assign = Object.assign,
2770
+ REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
2771
+ isArrayImpl = Array.isArray,
2772
+ disabledDepth = 0,
2773
+ prevLog,
2774
+ prevInfo,
2775
+ prevWarn,
2776
+ prevError,
2777
+ prevGroup,
2778
+ prevGroupCollapsed,
2779
+ prevGroupEnd;
2780
+ disabledLog.__reactDisabledLog = true;
2781
+ var prefix,
2782
+ suffix,
2783
+ reentry = false;
2784
+ var componentFrameCache = new (
2785
+ "function" === typeof WeakMap ? WeakMap : Map
2786
+ )();
2787
+ var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
2788
+ specialPropKeyWarningShown;
2789
+ var didWarnAboutElementRef = {};
2790
+ var didWarnAboutKeySpread = {},
2791
+ ownerHasKeyUseWarning = {};
2792
+ reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE;
2793
+ reactJsxRuntime_development.jsx = function (type, config, maybeKey, source, self) {
2794
+ return jsxDEVImpl(type, config, maybeKey, false, source, self);
2795
+ };
2796
+ reactJsxRuntime_development.jsxs = function (type, config, maybeKey, source, self) {
2797
+ return jsxDEVImpl(type, config, maybeKey, true, source, self);
2798
+ };
2799
+ })();
2800
+ return reactJsxRuntime_development;
2801
+ }
2802
+
2803
+ if (process.env.NODE_ENV === 'production') {
2804
+ jsxRuntime.exports = requireReactJsxRuntime_production();
2805
+ } else {
2806
+ jsxRuntime.exports = requireReactJsxRuntime_development();
2807
+ }
2808
+
2809
+ var jsxRuntimeExports = jsxRuntime.exports;
2810
+
2811
+ function ElectroplixComponents() {
2812
+ return /*#__PURE__*/jsxRuntimeExports.jsx("div", {
2813
+ className: "text-center",
2814
+ children: /*#__PURE__*/jsxRuntimeExports.jsx("h1", {
2815
+ children: "Welcome to ElectroplixComponents!"
2816
+ })
2817
+ });
2818
+ }
2819
+
2820
+ var check = function (it) {
2821
+ return it && it.Math === Math && it;
2822
+ };
2823
+
2824
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
2825
+ var globalThis_1 =
2826
+ // eslint-disable-next-line es/no-global-this -- safe
2827
+ check(typeof globalThis == 'object' && globalThis) ||
2828
+ check(typeof window == 'object' && window) ||
2829
+ // eslint-disable-next-line no-restricted-globals -- safe
2830
+ check(typeof self == 'object' && self) ||
2831
+ check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
2832
+ check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
2833
+ // eslint-disable-next-line no-new-func -- fallback
2834
+ (function () { return this; })() || Function('return this')();
2835
+
2836
+ var objectGetOwnPropertyDescriptor = {};
2837
+
2838
+ var fails$b = function (exec) {
2839
+ try {
2840
+ return !!exec();
2841
+ } catch (error) {
2842
+ return true;
2843
+ }
2844
+ };
2845
+
2846
+ var fails$a = fails$b;
2847
+
2848
+ // Detect IE8's incomplete defineProperty implementation
2849
+ var descriptors = !fails$a(function () {
2850
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
2851
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
2852
+ });
2853
+
2854
+ var fails$9 = fails$b;
2855
+
2856
+ var functionBindNative = !fails$9(function () {
2857
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
2858
+ var test = (function () { /* empty */ }).bind();
2859
+ // eslint-disable-next-line no-prototype-builtins -- safe
2860
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
2861
+ });
2862
+
2863
+ var NATIVE_BIND$1 = functionBindNative;
2864
+
2865
+ var call$7 = Function.prototype.call;
2866
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
2867
+ var functionCall = NATIVE_BIND$1 ? call$7.bind(call$7) : function () {
2868
+ return call$7.apply(call$7, arguments);
2869
+ };
2870
+
2871
+ var objectPropertyIsEnumerable = {};
2872
+
2873
+ var $propertyIsEnumerable = {}.propertyIsEnumerable;
2874
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2875
+ var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
2876
+
2877
+ // Nashorn ~ JDK8 bug
2878
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
2879
+
2880
+ // `Object.prototype.propertyIsEnumerable` method implementation
2881
+ // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
2882
+ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
2883
+ var descriptor = getOwnPropertyDescriptor$1(this, V);
2884
+ return !!descriptor && descriptor.enumerable;
2885
+ } : $propertyIsEnumerable;
2886
+
2887
+ var createPropertyDescriptor$3 = function (bitmap, value) {
2888
+ return {
2889
+ enumerable: !(bitmap & 1),
2890
+ configurable: !(bitmap & 2),
2891
+ writable: !(bitmap & 4),
2892
+ value: value
2893
+ };
2894
+ };
2895
+
2896
+ var NATIVE_BIND = functionBindNative;
2897
+
2898
+ var FunctionPrototype$1 = Function.prototype;
2899
+ var call$6 = FunctionPrototype$1.call;
2900
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
2901
+ var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$6, call$6);
2902
+
2903
+ var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
2904
+ return function () {
2905
+ return call$6.apply(fn, arguments);
2906
+ };
2907
+ };
2908
+
2909
+ var uncurryThis$8 = functionUncurryThis;
2910
+
2911
+ var toString$1 = uncurryThis$8({}.toString);
2912
+ var stringSlice$1 = uncurryThis$8(''.slice);
2913
+
2914
+ var classofRaw = function (it) {
2915
+ return stringSlice$1(toString$1(it), 8, -1);
2916
+ };
2917
+
2918
+ var uncurryThis$7 = functionUncurryThis;
2919
+ var fails$8 = fails$b;
2920
+ var classof = classofRaw;
2921
+
2922
+ var $Object$3 = Object;
2923
+ var split = uncurryThis$7(''.split);
2924
+
2925
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
2926
+ var indexedObject = fails$8(function () {
2927
+ // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
2928
+ // eslint-disable-next-line no-prototype-builtins -- safe
2929
+ return !$Object$3('z').propertyIsEnumerable(0);
2930
+ }) ? function (it) {
2931
+ return classof(it) === 'String' ? split(it, '') : $Object$3(it);
2932
+ } : $Object$3;
2933
+
2934
+ // we can't use just `it == null` since of `document.all` special case
2935
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
2936
+ var isNullOrUndefined$2 = function (it) {
2937
+ return it === null || it === undefined;
2938
+ };
2939
+
2940
+ var isNullOrUndefined$1 = isNullOrUndefined$2;
2941
+
2942
+ var $TypeError$7 = TypeError;
2943
+
2944
+ // `RequireObjectCoercible` abstract operation
2945
+ // https://tc39.es/ecma262/#sec-requireobjectcoercible
2946
+ var requireObjectCoercible$2 = function (it) {
2947
+ if (isNullOrUndefined$1(it)) throw new $TypeError$7("Can't call method on " + it);
2948
+ return it;
2949
+ };
2950
+
2951
+ // toObject with fallback for non-array-like ES3 strings
2952
+ var IndexedObject = indexedObject;
2953
+ var requireObjectCoercible$1 = requireObjectCoercible$2;
2954
+
2955
+ var toIndexedObject$4 = function (it) {
2956
+ return IndexedObject(requireObjectCoercible$1(it));
2957
+ };
2958
+
2959
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
2960
+ var documentAll = typeof document == 'object' && document.all;
2961
+
2962
+ // `IsCallable` abstract operation
2963
+ // https://tc39.es/ecma262/#sec-iscallable
2964
+ // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
2965
+ var isCallable$d = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
2966
+ return typeof argument == 'function' || argument === documentAll;
2967
+ } : function (argument) {
2968
+ return typeof argument == 'function';
2969
+ };
2970
+
2971
+ var isCallable$c = isCallable$d;
2972
+
2973
+ var isObject$6 = function (it) {
2974
+ return typeof it == 'object' ? it !== null : isCallable$c(it);
2975
+ };
2976
+
2977
+ var globalThis$d = globalThis_1;
2978
+ var isCallable$b = isCallable$d;
2979
+
2980
+ var aFunction = function (argument) {
2981
+ return isCallable$b(argument) ? argument : undefined;
2982
+ };
2983
+
2984
+ var getBuiltIn$3 = function (namespace, method) {
2985
+ return arguments.length < 2 ? aFunction(globalThis$d[namespace]) : globalThis$d[namespace] && globalThis$d[namespace][method];
2986
+ };
2987
+
2988
+ var uncurryThis$6 = functionUncurryThis;
2989
+
2990
+ var objectIsPrototypeOf = uncurryThis$6({}.isPrototypeOf);
2991
+
2992
+ var globalThis$c = globalThis_1;
2993
+
2994
+ var navigator = globalThis$c.navigator;
2995
+ var userAgent$1 = navigator && navigator.userAgent;
2996
+
2997
+ var environmentUserAgent = userAgent$1 ? String(userAgent$1) : '';
2998
+
2999
+ var globalThis$b = globalThis_1;
3000
+ var userAgent = environmentUserAgent;
3001
+
3002
+ var process$1 = globalThis$b.process;
3003
+ var Deno = globalThis$b.Deno;
3004
+ var versions = process$1 && process$1.versions || Deno && Deno.version;
3005
+ var v8 = versions && versions.v8;
3006
+ var match, version;
3007
+
3008
+ if (v8) {
3009
+ match = v8.split('.');
3010
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
3011
+ // but their correct versions are not interesting for us
3012
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
3013
+ }
3014
+
3015
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
3016
+ // so check `userAgent` even if `.v8` exists, but 0
3017
+ if (!version && userAgent) {
3018
+ match = userAgent.match(/Edge\/(\d+)/);
3019
+ if (!match || match[1] >= 74) {
3020
+ match = userAgent.match(/Chrome\/(\d+)/);
3021
+ if (match) version = +match[1];
3022
+ }
3023
+ }
3024
+
3025
+ var environmentV8Version = version;
3026
+
3027
+ /* eslint-disable es/no-symbol -- required for testing */
3028
+ var V8_VERSION = environmentV8Version;
3029
+ var fails$7 = fails$b;
3030
+ var globalThis$a = globalThis_1;
3031
+
3032
+ var $String$3 = globalThis$a.String;
3033
+
3034
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
3035
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$7(function () {
3036
+ var symbol = Symbol('symbol detection');
3037
+ // Chrome 38 Symbol has incorrect toString conversion
3038
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
3039
+ // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
3040
+ // of course, fail.
3041
+ return !$String$3(symbol) || !(Object(symbol) instanceof Symbol) ||
3042
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
3043
+ !Symbol.sham && V8_VERSION && V8_VERSION < 41;
3044
+ });
3045
+
3046
+ /* eslint-disable es/no-symbol -- required for testing */
3047
+ var NATIVE_SYMBOL$1 = symbolConstructorDetection;
3048
+
3049
+ var useSymbolAsUid = NATIVE_SYMBOL$1 &&
3050
+ !Symbol.sham &&
3051
+ typeof Symbol.iterator == 'symbol';
3052
+
3053
+ var getBuiltIn$2 = getBuiltIn$3;
3054
+ var isCallable$a = isCallable$d;
3055
+ var isPrototypeOf$1 = objectIsPrototypeOf;
3056
+ var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
3057
+
3058
+ var $Object$2 = Object;
3059
+
3060
+ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
3061
+ return typeof it == 'symbol';
3062
+ } : function (it) {
3063
+ var $Symbol = getBuiltIn$2('Symbol');
3064
+ return isCallable$a($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$2(it));
3065
+ };
3066
+
3067
+ var $String$2 = String;
3068
+
3069
+ var tryToString$1 = function (argument) {
3070
+ try {
3071
+ return $String$2(argument);
3072
+ } catch (error) {
3073
+ return 'Object';
3074
+ }
3075
+ };
3076
+
3077
+ var isCallable$9 = isCallable$d;
3078
+ var tryToString = tryToString$1;
3079
+
3080
+ var $TypeError$6 = TypeError;
3081
+
3082
+ // `Assert: IsCallable(argument) is true`
3083
+ var aCallable$2 = function (argument) {
3084
+ if (isCallable$9(argument)) return argument;
3085
+ throw new $TypeError$6(tryToString(argument) + ' is not a function');
3086
+ };
3087
+
3088
+ var aCallable$1 = aCallable$2;
3089
+ var isNullOrUndefined = isNullOrUndefined$2;
3090
+
3091
+ // `GetMethod` abstract operation
3092
+ // https://tc39.es/ecma262/#sec-getmethod
3093
+ var getMethod$3 = function (V, P) {
3094
+ var func = V[P];
3095
+ return isNullOrUndefined(func) ? undefined : aCallable$1(func);
3096
+ };
3097
+
3098
+ var call$5 = functionCall;
3099
+ var isCallable$8 = isCallable$d;
3100
+ var isObject$5 = isObject$6;
3101
+
3102
+ var $TypeError$5 = TypeError;
3103
+
3104
+ // `OrdinaryToPrimitive` abstract operation
3105
+ // https://tc39.es/ecma262/#sec-ordinarytoprimitive
3106
+ var ordinaryToPrimitive$1 = function (input, pref) {
3107
+ var fn, val;
3108
+ if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$5(val = call$5(fn, input))) return val;
3109
+ if (isCallable$8(fn = input.valueOf) && !isObject$5(val = call$5(fn, input))) return val;
3110
+ if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$5(val = call$5(fn, input))) return val;
3111
+ throw new $TypeError$5("Can't convert object to primitive value");
3112
+ };
3113
+
3114
+ var sharedStore = {exports: {}};
3115
+
3116
+ var globalThis$9 = globalThis_1;
3117
+
3118
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
3119
+ var defineProperty$2 = Object.defineProperty;
3120
+
3121
+ var defineGlobalProperty$3 = function (key, value) {
3122
+ try {
3123
+ defineProperty$2(globalThis$9, key, { value: value, configurable: true, writable: true });
3124
+ } catch (error) {
3125
+ globalThis$9[key] = value;
3126
+ } return value;
3127
+ };
3128
+
3129
+ var globalThis$8 = globalThis_1;
3130
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
3131
+
3132
+ var SHARED = '__core-js_shared__';
3133
+ var store$3 = sharedStore.exports = globalThis$8[SHARED] || defineGlobalProperty$2(SHARED, {});
3134
+
3135
+ (store$3.versions || (store$3.versions = [])).push({
3136
+ version: '3.48.0',
3137
+ mode: 'global',
3138
+ copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
3139
+ license: 'https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE',
3140
+ source: 'https://github.com/zloirock/core-js'
3141
+ });
3142
+
3143
+ var sharedStoreExports = sharedStore.exports;
3144
+
3145
+ var store$2 = sharedStoreExports;
3146
+
3147
+ var shared$3 = function (key, value) {
3148
+ return store$2[key] || (store$2[key] = value || {});
3149
+ };
3150
+
3151
+ var requireObjectCoercible = requireObjectCoercible$2;
3152
+
3153
+ var $Object$1 = Object;
3154
+
3155
+ // `ToObject` abstract operation
3156
+ // https://tc39.es/ecma262/#sec-toobject
3157
+ var toObject$2 = function (argument) {
3158
+ return $Object$1(requireObjectCoercible(argument));
3159
+ };
3160
+
3161
+ var uncurryThis$5 = functionUncurryThis;
3162
+ var toObject$1 = toObject$2;
3163
+
3164
+ var hasOwnProperty = uncurryThis$5({}.hasOwnProperty);
3165
+
3166
+ // `HasOwnProperty` abstract operation
3167
+ // https://tc39.es/ecma262/#sec-hasownproperty
3168
+ // eslint-disable-next-line es/no-object-hasown -- safe
3169
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
3170
+ return hasOwnProperty(toObject$1(it), key);
3171
+ };
3172
+
3173
+ var uncurryThis$4 = functionUncurryThis;
3174
+
3175
+ var id = 0;
3176
+ var postfix = Math.random();
3177
+ var toString = uncurryThis$4(1.1.toString);
3178
+
3179
+ var uid$2 = function (key) {
3180
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
3181
+ };
3182
+
3183
+ var globalThis$7 = globalThis_1;
3184
+ var shared$2 = shared$3;
3185
+ var hasOwn$8 = hasOwnProperty_1;
3186
+ var uid$1 = uid$2;
3187
+ var NATIVE_SYMBOL = symbolConstructorDetection;
3188
+ var USE_SYMBOL_AS_UID = useSymbolAsUid;
3189
+
3190
+ var Symbol$1 = globalThis$7.Symbol;
3191
+ var WellKnownSymbolsStore = shared$2('wks');
3192
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
3193
+
3194
+ var wellKnownSymbol$4 = function (name) {
3195
+ if (!hasOwn$8(WellKnownSymbolsStore, name)) {
3196
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$8(Symbol$1, name)
3197
+ ? Symbol$1[name]
3198
+ : createWellKnownSymbol('Symbol.' + name);
3199
+ } return WellKnownSymbolsStore[name];
3200
+ };
3201
+
3202
+ var call$4 = functionCall;
3203
+ var isObject$4 = isObject$6;
3204
+ var isSymbol$1 = isSymbol$2;
3205
+ var getMethod$2 = getMethod$3;
3206
+ var ordinaryToPrimitive = ordinaryToPrimitive$1;
3207
+ var wellKnownSymbol$3 = wellKnownSymbol$4;
3208
+
3209
+ var $TypeError$4 = TypeError;
3210
+ var TO_PRIMITIVE = wellKnownSymbol$3('toPrimitive');
3211
+
3212
+ // `ToPrimitive` abstract operation
3213
+ // https://tc39.es/ecma262/#sec-toprimitive
3214
+ var toPrimitive$1 = function (input, pref) {
3215
+ if (!isObject$4(input) || isSymbol$1(input)) return input;
3216
+ var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
3217
+ var result;
3218
+ if (exoticToPrim) {
3219
+ if (pref === undefined) pref = 'default';
3220
+ result = call$4(exoticToPrim, input, pref);
3221
+ if (!isObject$4(result) || isSymbol$1(result)) return result;
3222
+ throw new $TypeError$4("Can't convert object to primitive value");
3223
+ }
3224
+ if (pref === undefined) pref = 'number';
3225
+ return ordinaryToPrimitive(input, pref);
3226
+ };
3227
+
3228
+ var toPrimitive = toPrimitive$1;
3229
+ var isSymbol = isSymbol$2;
3230
+
3231
+ // `ToPropertyKey` abstract operation
3232
+ // https://tc39.es/ecma262/#sec-topropertykey
3233
+ var toPropertyKey$2 = function (argument) {
3234
+ var key = toPrimitive(argument, 'string');
3235
+ return isSymbol(key) ? key : key + '';
3236
+ };
3237
+
3238
+ var globalThis$6 = globalThis_1;
3239
+ var isObject$3 = isObject$6;
3240
+
3241
+ var document$1 = globalThis$6.document;
3242
+ // typeof document.createElement is 'object' in old IE
3243
+ var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
3244
+
3245
+ var documentCreateElement$1 = function (it) {
3246
+ return EXISTS$1 ? document$1.createElement(it) : {};
3247
+ };
3248
+
3249
+ var DESCRIPTORS$9 = descriptors;
3250
+ var fails$6 = fails$b;
3251
+ var createElement = documentCreateElement$1;
3252
+
3253
+ // Thanks to IE8 for its funny defineProperty
3254
+ var ie8DomDefine = !DESCRIPTORS$9 && !fails$6(function () {
3255
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
3256
+ return Object.defineProperty(createElement('div'), 'a', {
3257
+ get: function () { return 7; }
3258
+ }).a !== 7;
3259
+ });
3260
+
3261
+ var DESCRIPTORS$8 = descriptors;
3262
+ var call$3 = functionCall;
3263
+ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
3264
+ var createPropertyDescriptor$2 = createPropertyDescriptor$3;
3265
+ var toIndexedObject$3 = toIndexedObject$4;
3266
+ var toPropertyKey$1 = toPropertyKey$2;
3267
+ var hasOwn$7 = hasOwnProperty_1;
3268
+ var IE8_DOM_DEFINE$1 = ie8DomDefine;
3269
+
3270
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3271
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
3272
+
3273
+ // `Object.getOwnPropertyDescriptor` method
3274
+ // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
3275
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
3276
+ O = toIndexedObject$3(O);
3277
+ P = toPropertyKey$1(P);
3278
+ if (IE8_DOM_DEFINE$1) try {
3279
+ return $getOwnPropertyDescriptor$1(O, P);
3280
+ } catch (error) { /* empty */ }
3281
+ if (hasOwn$7(O, P)) return createPropertyDescriptor$2(!call$3(propertyIsEnumerableModule.f, O, P), O[P]);
3282
+ };
3283
+
3284
+ var objectDefineProperty = {};
3285
+
3286
+ var DESCRIPTORS$7 = descriptors;
3287
+ var fails$5 = fails$b;
3288
+
3289
+ // V8 ~ Chrome 36-
3290
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
3291
+ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$5(function () {
3292
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
3293
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
3294
+ value: 42,
3295
+ writable: false
3296
+ }).prototype !== 42;
3297
+ });
3298
+
3299
+ var isObject$2 = isObject$6;
3300
+
3301
+ var $String$1 = String;
3302
+ var $TypeError$3 = TypeError;
3303
+
3304
+ // `Assert: Type(argument) is Object`
3305
+ var anObject$8 = function (argument) {
3306
+ if (isObject$2(argument)) return argument;
3307
+ throw new $TypeError$3($String$1(argument) + ' is not an object');
3308
+ };
3309
+
3310
+ var DESCRIPTORS$6 = descriptors;
3311
+ var IE8_DOM_DEFINE = ie8DomDefine;
3312
+ var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
3313
+ var anObject$7 = anObject$8;
3314
+ var toPropertyKey = toPropertyKey$2;
3315
+
3316
+ var $TypeError$2 = TypeError;
3317
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
3318
+ var $defineProperty = Object.defineProperty;
3319
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3320
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
3321
+ var ENUMERABLE = 'enumerable';
3322
+ var CONFIGURABLE$1 = 'configurable';
3323
+ var WRITABLE = 'writable';
3324
+
3325
+ // `Object.defineProperty` method
3326
+ // https://tc39.es/ecma262/#sec-object.defineproperty
3327
+ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
3328
+ anObject$7(O);
3329
+ P = toPropertyKey(P);
3330
+ anObject$7(Attributes);
3331
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
3332
+ var current = $getOwnPropertyDescriptor(O, P);
3333
+ if (current && current[WRITABLE]) {
3334
+ O[P] = Attributes.value;
3335
+ Attributes = {
3336
+ configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
3337
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
3338
+ writable: false
3339
+ };
3340
+ }
3341
+ } return $defineProperty(O, P, Attributes);
3342
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
3343
+ anObject$7(O);
3344
+ P = toPropertyKey(P);
3345
+ anObject$7(Attributes);
3346
+ if (IE8_DOM_DEFINE) try {
3347
+ return $defineProperty(O, P, Attributes);
3348
+ } catch (error) { /* empty */ }
3349
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$2('Accessors not supported');
3350
+ if ('value' in Attributes) O[P] = Attributes.value;
3351
+ return O;
3352
+ };
3353
+
3354
+ var DESCRIPTORS$5 = descriptors;
3355
+ var definePropertyModule$4 = objectDefineProperty;
3356
+ var createPropertyDescriptor$1 = createPropertyDescriptor$3;
3357
+
3358
+ var createNonEnumerableProperty$3 = DESCRIPTORS$5 ? function (object, key, value) {
3359
+ return definePropertyModule$4.f(object, key, createPropertyDescriptor$1(1, value));
3360
+ } : function (object, key, value) {
3361
+ object[key] = value;
3362
+ return object;
3363
+ };
3364
+
3365
+ var makeBuiltIn$3 = {exports: {}};
3366
+
3367
+ var DESCRIPTORS$4 = descriptors;
3368
+ var hasOwn$6 = hasOwnProperty_1;
3369
+
3370
+ var FunctionPrototype = Function.prototype;
3371
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
3372
+ var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
3373
+
3374
+ var EXISTS = hasOwn$6(FunctionPrototype, 'name');
3375
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable));
3376
+
3377
+ var functionName = {
3378
+ CONFIGURABLE: CONFIGURABLE
3379
+ };
3380
+
3381
+ var uncurryThis$3 = functionUncurryThis;
3382
+ var isCallable$7 = isCallable$d;
3383
+ var store$1 = sharedStoreExports;
3384
+
3385
+ var functionToString = uncurryThis$3(Function.toString);
3386
+
3387
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
3388
+ if (!isCallable$7(store$1.inspectSource)) {
3389
+ store$1.inspectSource = function (it) {
3390
+ return functionToString(it);
3391
+ };
3392
+ }
3393
+
3394
+ var inspectSource$1 = store$1.inspectSource;
3395
+
3396
+ var globalThis$5 = globalThis_1;
3397
+ var isCallable$6 = isCallable$d;
3398
+
3399
+ var WeakMap$2 = globalThis$5.WeakMap;
3400
+
3401
+ var weakMapBasicDetection = isCallable$6(WeakMap$2) && /native code/.test(String(WeakMap$2));
3402
+
3403
+ var shared$1 = shared$3;
3404
+ var uid = uid$2;
3405
+
3406
+ var keys = shared$1('keys');
3407
+
3408
+ var sharedKey$3 = function (key) {
3409
+ return keys[key] || (keys[key] = uid(key));
3410
+ };
3411
+
3412
+ var hiddenKeys$4 = {};
3413
+
3414
+ var NATIVE_WEAK_MAP = weakMapBasicDetection;
3415
+ var globalThis$4 = globalThis_1;
3416
+ var isObject$1 = isObject$6;
3417
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
3418
+ var hasOwn$5 = hasOwnProperty_1;
3419
+ var shared = sharedStoreExports;
3420
+ var sharedKey$2 = sharedKey$3;
3421
+ var hiddenKeys$3 = hiddenKeys$4;
3422
+
3423
+ var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
3424
+ var TypeError$1 = globalThis$4.TypeError;
3425
+ var WeakMap$1 = globalThis$4.WeakMap;
3426
+ var set, get, has;
3427
+
3428
+ var enforce = function (it) {
3429
+ return has(it) ? get(it) : set(it, {});
3430
+ };
3431
+
3432
+ var getterFor = function (TYPE) {
3433
+ return function (it) {
3434
+ var state;
3435
+ if (!isObject$1(it) || (state = get(it)).type !== TYPE) {
3436
+ throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
3437
+ } return state;
3438
+ };
3439
+ };
3440
+
3441
+ if (NATIVE_WEAK_MAP || shared.state) {
3442
+ var store = shared.state || (shared.state = new WeakMap$1());
3443
+ /* eslint-disable no-self-assign -- prototype methods protection */
3444
+ store.get = store.get;
3445
+ store.has = store.has;
3446
+ store.set = store.set;
3447
+ /* eslint-enable no-self-assign -- prototype methods protection */
3448
+ set = function (it, metadata) {
3449
+ if (store.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
3450
+ metadata.facade = it;
3451
+ store.set(it, metadata);
3452
+ return metadata;
3453
+ };
3454
+ get = function (it) {
3455
+ return store.get(it) || {};
3456
+ };
3457
+ has = function (it) {
3458
+ return store.has(it);
3459
+ };
3460
+ } else {
3461
+ var STATE = sharedKey$2('state');
3462
+ hiddenKeys$3[STATE] = true;
3463
+ set = function (it, metadata) {
3464
+ if (hasOwn$5(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
3465
+ metadata.facade = it;
3466
+ createNonEnumerableProperty$2(it, STATE, metadata);
3467
+ return metadata;
3468
+ };
3469
+ get = function (it) {
3470
+ return hasOwn$5(it, STATE) ? it[STATE] : {};
3471
+ };
3472
+ has = function (it) {
3473
+ return hasOwn$5(it, STATE);
3474
+ };
3475
+ }
3476
+
3477
+ var internalState = {
3478
+ set: set,
3479
+ get: get,
3480
+ has: has,
3481
+ enforce: enforce,
3482
+ getterFor: getterFor
3483
+ };
3484
+
3485
+ var uncurryThis$2 = functionUncurryThis;
3486
+ var fails$4 = fails$b;
3487
+ var isCallable$5 = isCallable$d;
3488
+ var hasOwn$4 = hasOwnProperty_1;
3489
+ var DESCRIPTORS$3 = descriptors;
3490
+ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
3491
+ var inspectSource = inspectSource$1;
3492
+ var InternalStateModule$1 = internalState;
3493
+
3494
+ var enforceInternalState = InternalStateModule$1.enforce;
3495
+ var getInternalState = InternalStateModule$1.get;
3496
+ var $String = String;
3497
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
3498
+ var defineProperty$1 = Object.defineProperty;
3499
+ var stringSlice = uncurryThis$2(''.slice);
3500
+ var replace = uncurryThis$2(''.replace);
3501
+ var join = uncurryThis$2([].join);
3502
+
3503
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$4(function () {
3504
+ return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
3505
+ });
3506
+
3507
+ var TEMPLATE = String(String).split('String');
3508
+
3509
+ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
3510
+ if (stringSlice($String(name), 0, 7) === 'Symbol(') {
3511
+ name = '[' + replace($String(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
3512
+ }
3513
+ if (options && options.getter) name = 'get ' + name;
3514
+ if (options && options.setter) name = 'set ' + name;
3515
+ if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME && value.name !== name)) {
3516
+ if (DESCRIPTORS$3) defineProperty$1(value, 'name', { value: name, configurable: true });
3517
+ else value.name = name;
3518
+ }
3519
+ if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
3520
+ defineProperty$1(value, 'length', { value: options.arity });
3521
+ }
3522
+ try {
3523
+ if (options && hasOwn$4(options, 'constructor') && options.constructor) {
3524
+ if (DESCRIPTORS$3) defineProperty$1(value, 'prototype', { writable: false });
3525
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
3526
+ } else if (value.prototype) value.prototype = undefined;
3527
+ } catch (error) { /* empty */ }
3528
+ var state = enforceInternalState(value);
3529
+ if (!hasOwn$4(state, 'source')) {
3530
+ state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
3531
+ } return value;
3532
+ };
3533
+
3534
+ // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
3535
+ // eslint-disable-next-line no-extend-native -- required
3536
+ Function.prototype.toString = makeBuiltIn$2(function toString() {
3537
+ return isCallable$5(this) && getInternalState(this).source || inspectSource(this);
3538
+ }, 'toString');
3539
+
3540
+ var makeBuiltInExports = makeBuiltIn$3.exports;
3541
+
3542
+ var isCallable$4 = isCallable$d;
3543
+ var definePropertyModule$3 = objectDefineProperty;
3544
+ var makeBuiltIn$1 = makeBuiltInExports;
3545
+ var defineGlobalProperty$1 = defineGlobalProperty$3;
3546
+
3547
+ var defineBuiltIn$3 = function (O, key, value, options) {
3548
+ if (!options) options = {};
3549
+ var simple = options.enumerable;
3550
+ var name = options.name !== undefined ? options.name : key;
3551
+ if (isCallable$4(value)) makeBuiltIn$1(value, name, options);
3552
+ if (options.global) {
3553
+ if (simple) O[key] = value;
3554
+ else defineGlobalProperty$1(key, value);
3555
+ } else {
3556
+ try {
3557
+ if (!options.unsafe) delete O[key];
3558
+ else if (O[key]) simple = true;
3559
+ } catch (error) { /* empty */ }
3560
+ if (simple) O[key] = value;
3561
+ else definePropertyModule$3.f(O, key, {
3562
+ value: value,
3563
+ enumerable: false,
3564
+ configurable: !options.nonConfigurable,
3565
+ writable: !options.nonWritable
3566
+ });
3567
+ } return O;
3568
+ };
3569
+
3570
+ var objectGetOwnPropertyNames = {};
3571
+
3572
+ var ceil = Math.ceil;
3573
+ var floor = Math.floor;
3574
+
3575
+ // `Math.trunc` method
3576
+ // https://tc39.es/ecma262/#sec-math.trunc
3577
+ // eslint-disable-next-line es/no-math-trunc -- safe
3578
+ var mathTrunc = Math.trunc || function trunc(x) {
3579
+ var n = +x;
3580
+ return (n > 0 ? floor : ceil)(n);
3581
+ };
3582
+
3583
+ var trunc = mathTrunc;
3584
+
3585
+ // `ToIntegerOrInfinity` abstract operation
3586
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
3587
+ var toIntegerOrInfinity$2 = function (argument) {
3588
+ var number = +argument;
3589
+ // eslint-disable-next-line no-self-compare -- NaN check
3590
+ return number !== number || number === 0 ? 0 : trunc(number);
3591
+ };
3592
+
3593
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
3594
+
3595
+ var max = Math.max;
3596
+ var min$1 = Math.min;
3597
+
3598
+ // Helper for a popular repeating case of the spec:
3599
+ // Let integer be ? ToInteger(index).
3600
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
3601
+ var toAbsoluteIndex$1 = function (index, length) {
3602
+ var integer = toIntegerOrInfinity$1(index);
3603
+ return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
3604
+ };
3605
+
3606
+ var toIntegerOrInfinity = toIntegerOrInfinity$2;
3607
+
3608
+ var min = Math.min;
3609
+
3610
+ // `ToLength` abstract operation
3611
+ // https://tc39.es/ecma262/#sec-tolength
3612
+ var toLength$1 = function (argument) {
3613
+ var len = toIntegerOrInfinity(argument);
3614
+ return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
3615
+ };
3616
+
3617
+ var toLength = toLength$1;
3618
+
3619
+ // `LengthOfArrayLike` abstract operation
3620
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
3621
+ var lengthOfArrayLike$1 = function (obj) {
3622
+ return toLength(obj.length);
3623
+ };
3624
+
3625
+ var toIndexedObject$2 = toIndexedObject$4;
3626
+ var toAbsoluteIndex = toAbsoluteIndex$1;
3627
+ var lengthOfArrayLike = lengthOfArrayLike$1;
3628
+
3629
+ // `Array.prototype.{ indexOf, includes }` methods implementation
3630
+ var createMethod = function (IS_INCLUDES) {
3631
+ return function ($this, el, fromIndex) {
3632
+ var O = toIndexedObject$2($this);
3633
+ var length = lengthOfArrayLike(O);
3634
+ if (length === 0) return !IS_INCLUDES && -1;
3635
+ var index = toAbsoluteIndex(fromIndex, length);
3636
+ var value;
3637
+ // Array#includes uses SameValueZero equality algorithm
3638
+ // eslint-disable-next-line no-self-compare -- NaN check
3639
+ if (IS_INCLUDES && el !== el) while (length > index) {
3640
+ value = O[index++];
3641
+ // eslint-disable-next-line no-self-compare -- NaN check
3642
+ if (value !== value) return true;
3643
+ // Array#indexOf ignores holes, Array#includes - not
3644
+ } else for (;length > index; index++) {
3645
+ if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
3646
+ } return !IS_INCLUDES && -1;
3647
+ };
3648
+ };
3649
+
3650
+ var arrayIncludes = {
3651
+ // `Array.prototype.indexOf` method
3652
+ // https://tc39.es/ecma262/#sec-array.prototype.indexof
3653
+ indexOf: createMethod(false)
3654
+ };
3655
+
3656
+ var uncurryThis$1 = functionUncurryThis;
3657
+ var hasOwn$3 = hasOwnProperty_1;
3658
+ var toIndexedObject$1 = toIndexedObject$4;
3659
+ var indexOf = arrayIncludes.indexOf;
3660
+ var hiddenKeys$2 = hiddenKeys$4;
3661
+
3662
+ var push = uncurryThis$1([].push);
3663
+
3664
+ var objectKeysInternal = function (object, names) {
3665
+ var O = toIndexedObject$1(object);
3666
+ var i = 0;
3667
+ var result = [];
3668
+ var key;
3669
+ for (key in O) !hasOwn$3(hiddenKeys$2, key) && hasOwn$3(O, key) && push(result, key);
3670
+ // Don't enum bug & hidden keys
3671
+ while (names.length > i) if (hasOwn$3(O, key = names[i++])) {
3672
+ ~indexOf(result, key) || push(result, key);
3673
+ }
3674
+ return result;
3675
+ };
3676
+
3677
+ // IE8- don't enum bug keys
3678
+ var enumBugKeys$3 = [
3679
+ 'constructor',
3680
+ 'hasOwnProperty',
3681
+ 'isPrototypeOf',
3682
+ 'propertyIsEnumerable',
3683
+ 'toLocaleString',
3684
+ 'toString',
3685
+ 'valueOf'
3686
+ ];
3687
+
3688
+ var internalObjectKeys$1 = objectKeysInternal;
3689
+ var enumBugKeys$2 = enumBugKeys$3;
3690
+
3691
+ var hiddenKeys$1 = enumBugKeys$2.concat('length', 'prototype');
3692
+
3693
+ // `Object.getOwnPropertyNames` method
3694
+ // https://tc39.es/ecma262/#sec-object.getownpropertynames
3695
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
3696
+ objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
3697
+ return internalObjectKeys$1(O, hiddenKeys$1);
3698
+ };
3699
+
3700
+ var objectGetOwnPropertySymbols = {};
3701
+
3702
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
3703
+ objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
3704
+
3705
+ var getBuiltIn$1 = getBuiltIn$3;
3706
+ var uncurryThis = functionUncurryThis;
3707
+ var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
3708
+ var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
3709
+ var anObject$6 = anObject$8;
3710
+
3711
+ var concat = uncurryThis([].concat);
3712
+
3713
+ // all object keys, includes non-enumerable and symbols
3714
+ var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
3715
+ var keys = getOwnPropertyNamesModule.f(anObject$6(it));
3716
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
3717
+ return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
3718
+ };
3719
+
3720
+ var hasOwn$2 = hasOwnProperty_1;
3721
+ var ownKeys = ownKeys$1;
3722
+ var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
3723
+ var definePropertyModule$2 = objectDefineProperty;
3724
+
3725
+ var copyConstructorProperties$1 = function (target, source, exceptions) {
3726
+ var keys = ownKeys(source);
3727
+ var defineProperty = definePropertyModule$2.f;
3728
+ var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
3729
+ for (var i = 0; i < keys.length; i++) {
3730
+ var key = keys[i];
3731
+ if (!hasOwn$2(target, key) && !(exceptions && hasOwn$2(exceptions, key))) {
3732
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
3733
+ }
3734
+ }
3735
+ };
3736
+
3737
+ var fails$3 = fails$b;
3738
+ var isCallable$3 = isCallable$d;
3739
+
3740
+ var replacement = /#|\.prototype\./;
3741
+
3742
+ var isForced$1 = function (feature, detection) {
3743
+ var value = data[normalize(feature)];
3744
+ return value === POLYFILL ? true
3745
+ : value === NATIVE ? false
3746
+ : isCallable$3(detection) ? fails$3(detection)
3747
+ : !!detection;
3748
+ };
3749
+
3750
+ var normalize = isForced$1.normalize = function (string) {
3751
+ return String(string).replace(replacement, '.').toLowerCase();
3752
+ };
3753
+
3754
+ var data = isForced$1.data = {};
3755
+ var NATIVE = isForced$1.NATIVE = 'N';
3756
+ var POLYFILL = isForced$1.POLYFILL = 'P';
3757
+
3758
+ var isForced_1 = isForced$1;
3759
+
3760
+ var globalThis$3 = globalThis_1;
3761
+ var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
3762
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
3763
+ var defineBuiltIn$2 = defineBuiltIn$3;
3764
+ var defineGlobalProperty = defineGlobalProperty$3;
3765
+ var copyConstructorProperties = copyConstructorProperties$1;
3766
+ var isForced = isForced_1;
3767
+
3768
+ /*
3769
+ options.target - name of the target object
3770
+ options.global - target is the global object
3771
+ options.stat - export as static methods of target
3772
+ options.proto - export as prototype methods of target
3773
+ options.real - real prototype method for the `pure` version
3774
+ options.forced - export even if the native feature is available
3775
+ options.bind - bind methods to the target, required for the `pure` version
3776
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
3777
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
3778
+ options.sham - add a flag to not completely full polyfills
3779
+ options.enumerable - export as enumerable property
3780
+ options.dontCallGetSet - prevent calling a getter on target
3781
+ options.name - the .name of the function if it does not match the key
3782
+ */
3783
+ var _export = function (options, source) {
3784
+ var TARGET = options.target;
3785
+ var GLOBAL = options.global;
3786
+ var STATIC = options.stat;
3787
+ var FORCED, target, key, targetProperty, sourceProperty, descriptor;
3788
+ if (GLOBAL) {
3789
+ target = globalThis$3;
3790
+ } else if (STATIC) {
3791
+ target = globalThis$3[TARGET] || defineGlobalProperty(TARGET, {});
3792
+ } else {
3793
+ target = globalThis$3[TARGET] && globalThis$3[TARGET].prototype;
3794
+ }
3795
+ if (target) for (key in source) {
3796
+ sourceProperty = source[key];
3797
+ if (options.dontCallGetSet) {
3798
+ descriptor = getOwnPropertyDescriptor(target, key);
3799
+ targetProperty = descriptor && descriptor.value;
3800
+ } else targetProperty = target[key];
3801
+ FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
3802
+ // contained in target
3803
+ if (!FORCED && targetProperty !== undefined) {
3804
+ if (typeof sourceProperty == typeof targetProperty) continue;
3805
+ copyConstructorProperties(sourceProperty, targetProperty);
3806
+ }
3807
+ // add a flag to not completely full polyfills
3808
+ if (options.sham || (targetProperty && targetProperty.sham)) {
3809
+ createNonEnumerableProperty$1(sourceProperty, 'sham', true);
3810
+ }
3811
+ defineBuiltIn$2(target, key, sourceProperty, options);
3812
+ }
3813
+ };
3814
+
3815
+ var isPrototypeOf = objectIsPrototypeOf;
3816
+
3817
+ var $TypeError$1 = TypeError;
3818
+
3819
+ var anInstance$1 = function (it, Prototype) {
3820
+ if (isPrototypeOf(Prototype, it)) return it;
3821
+ throw new $TypeError$1('Incorrect invocation');
3822
+ };
3823
+
3824
+ var fails$2 = fails$b;
3825
+
3826
+ var correctPrototypeGetter = !fails$2(function () {
3827
+ function F() { /* empty */ }
3828
+ F.prototype.constructor = null;
3829
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
3830
+ return Object.getPrototypeOf(new F()) !== F.prototype;
3831
+ });
3832
+
3833
+ var hasOwn$1 = hasOwnProperty_1;
3834
+ var isCallable$2 = isCallable$d;
3835
+ var toObject = toObject$2;
3836
+ var sharedKey$1 = sharedKey$3;
3837
+ var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
3838
+
3839
+ var IE_PROTO$1 = sharedKey$1('IE_PROTO');
3840
+ var $Object = Object;
3841
+ var ObjectPrototype = $Object.prototype;
3842
+
3843
+ // `Object.getPrototypeOf` method
3844
+ // https://tc39.es/ecma262/#sec-object.getprototypeof
3845
+ // eslint-disable-next-line es/no-object-getprototypeof -- safe
3846
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
3847
+ var object = toObject(O);
3848
+ if (hasOwn$1(object, IE_PROTO$1)) return object[IE_PROTO$1];
3849
+ var constructor = object.constructor;
3850
+ if (isCallable$2(constructor) && object instanceof constructor) {
3851
+ return constructor.prototype;
3852
+ } return object instanceof $Object ? ObjectPrototype : null;
3853
+ };
3854
+
3855
+ var makeBuiltIn = makeBuiltInExports;
3856
+ var defineProperty = objectDefineProperty;
3857
+
3858
+ var defineBuiltInAccessor$1 = function (target, name, descriptor) {
3859
+ if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
3860
+ if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
3861
+ return defineProperty.f(target, name, descriptor);
3862
+ };
3863
+
3864
+ var DESCRIPTORS$2 = descriptors;
3865
+ var definePropertyModule$1 = objectDefineProperty;
3866
+ var createPropertyDescriptor = createPropertyDescriptor$3;
3867
+
3868
+ var createProperty$1 = function (object, key, value) {
3869
+ if (DESCRIPTORS$2) definePropertyModule$1.f(object, key, createPropertyDescriptor(0, value));
3870
+ else object[key] = value;
3871
+ };
3872
+
3873
+ var objectDefineProperties = {};
3874
+
3875
+ var internalObjectKeys = objectKeysInternal;
3876
+ var enumBugKeys$1 = enumBugKeys$3;
3877
+
3878
+ // `Object.keys` method
3879
+ // https://tc39.es/ecma262/#sec-object.keys
3880
+ // eslint-disable-next-line es/no-object-keys -- safe
3881
+ var objectKeys$1 = Object.keys || function keys(O) {
3882
+ return internalObjectKeys(O, enumBugKeys$1);
3883
+ };
3884
+
3885
+ var DESCRIPTORS$1 = descriptors;
3886
+ var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
3887
+ var definePropertyModule = objectDefineProperty;
3888
+ var anObject$5 = anObject$8;
3889
+ var toIndexedObject = toIndexedObject$4;
3890
+ var objectKeys = objectKeys$1;
3891
+
3892
+ // `Object.defineProperties` method
3893
+ // https://tc39.es/ecma262/#sec-object.defineproperties
3894
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
3895
+ objectDefineProperties.f = DESCRIPTORS$1 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
3896
+ anObject$5(O);
3897
+ var props = toIndexedObject(Properties);
3898
+ var keys = objectKeys(Properties);
3899
+ var length = keys.length;
3900
+ var index = 0;
3901
+ var key;
3902
+ while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
3903
+ return O;
3904
+ };
3905
+
3906
+ var getBuiltIn = getBuiltIn$3;
3907
+
3908
+ var html$1 = getBuiltIn('document', 'documentElement');
3909
+
3910
+ /* global ActiveXObject -- old IE, WSH */
3911
+ var anObject$4 = anObject$8;
3912
+ var definePropertiesModule = objectDefineProperties;
3913
+ var enumBugKeys = enumBugKeys$3;
3914
+ var hiddenKeys = hiddenKeys$4;
3915
+ var html = html$1;
3916
+ var documentCreateElement = documentCreateElement$1;
3917
+ var sharedKey = sharedKey$3;
3918
+
3919
+ var GT = '>';
3920
+ var LT = '<';
3921
+ var PROTOTYPE = 'prototype';
3922
+ var SCRIPT = 'script';
3923
+ var IE_PROTO = sharedKey('IE_PROTO');
3924
+
3925
+ var EmptyConstructor = function () { /* empty */ };
3926
+
3927
+ var scriptTag = function (content) {
3928
+ return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
3929
+ };
3930
+
3931
+ // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
3932
+ var NullProtoObjectViaActiveX = function (activeXDocument) {
3933
+ activeXDocument.write(scriptTag(''));
3934
+ activeXDocument.close();
3935
+ var temp = activeXDocument.parentWindow.Object;
3936
+ // eslint-disable-next-line no-useless-assignment -- avoid memory leak
3937
+ activeXDocument = null;
3938
+ return temp;
3939
+ };
3940
+
3941
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
3942
+ var NullProtoObjectViaIFrame = function () {
3943
+ // Thrash, waste and sodomy: IE GC bug
3944
+ var iframe = documentCreateElement('iframe');
3945
+ var JS = 'java' + SCRIPT + ':';
3946
+ var iframeDocument;
3947
+ iframe.style.display = 'none';
3948
+ html.appendChild(iframe);
3949
+ // https://github.com/zloirock/core-js/issues/475
3950
+ iframe.src = String(JS);
3951
+ iframeDocument = iframe.contentWindow.document;
3952
+ iframeDocument.open();
3953
+ iframeDocument.write(scriptTag('document.F=Object'));
3954
+ iframeDocument.close();
3955
+ return iframeDocument.F;
3956
+ };
3957
+
3958
+ // Check for document.domain and active x support
3959
+ // No need to use active x approach when document.domain is not set
3960
+ // see https://github.com/es-shims/es5-shim/issues/150
3961
+ // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
3962
+ // avoid IE GC bug
3963
+ var activeXDocument;
3964
+ var NullProtoObject = function () {
3965
+ try {
3966
+ activeXDocument = new ActiveXObject('htmlfile');
3967
+ } catch (error) { /* ignore */ }
3968
+ NullProtoObject = typeof document != 'undefined'
3969
+ ? document.domain && activeXDocument
3970
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
3971
+ : NullProtoObjectViaIFrame()
3972
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
3973
+ var length = enumBugKeys.length;
3974
+ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
3975
+ return NullProtoObject();
3976
+ };
3977
+
3978
+ hiddenKeys[IE_PROTO] = true;
3979
+
3980
+ // `Object.create` method
3981
+ // https://tc39.es/ecma262/#sec-object.create
3982
+ // eslint-disable-next-line es/no-object-create -- safe
3983
+ var objectCreate = Object.create || function create(O, Properties) {
3984
+ var result;
3985
+ if (O !== null) {
3986
+ EmptyConstructor[PROTOTYPE] = anObject$4(O);
3987
+ result = new EmptyConstructor();
3988
+ EmptyConstructor[PROTOTYPE] = null;
3989
+ // add "__proto__" for Object.getPrototypeOf polyfill
3990
+ result[IE_PROTO] = O;
3991
+ } else result = NullProtoObject();
3992
+ return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
3993
+ };
3994
+
3995
+ var fails$1 = fails$b;
3996
+ var isCallable$1 = isCallable$d;
3997
+ var isObject = isObject$6;
3998
+ var getPrototypeOf$1 = objectGetPrototypeOf;
3999
+ var defineBuiltIn$1 = defineBuiltIn$3;
4000
+ var wellKnownSymbol$2 = wellKnownSymbol$4;
4001
+
4002
+ var ITERATOR$1 = wellKnownSymbol$2('iterator');
4003
+
4004
+ // `%IteratorPrototype%` object
4005
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
4006
+ var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
4007
+
4008
+ /* eslint-disable es/no-array-prototype-keys -- safe */
4009
+ if ([].keys) {
4010
+ arrayIterator = [].keys();
4011
+ // Safari 8 has buggy iterators w/o `next`
4012
+ if (!('next' in arrayIterator)) ;
4013
+ else {
4014
+ PrototypeOfArrayIteratorPrototype = getPrototypeOf$1(getPrototypeOf$1(arrayIterator));
4015
+ if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$2 = PrototypeOfArrayIteratorPrototype;
4016
+ }
4017
+ }
4018
+
4019
+ var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails$1(function () {
4020
+ var test = {};
4021
+ // FF44- legacy iterators case
4022
+ return IteratorPrototype$2[ITERATOR$1].call(test) !== test;
4023
+ });
4024
+
4025
+ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
4026
+
4027
+ // `%IteratorPrototype%[@@iterator]()` method
4028
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
4029
+ if (!isCallable$1(IteratorPrototype$2[ITERATOR$1])) {
4030
+ defineBuiltIn$1(IteratorPrototype$2, ITERATOR$1, function () {
4031
+ return this;
4032
+ });
4033
+ }
4034
+
4035
+ var iteratorsCore = {
4036
+ IteratorPrototype: IteratorPrototype$2};
4037
+
4038
+ var $$1 = _export;
4039
+ var globalThis$2 = globalThis_1;
4040
+ var anInstance = anInstance$1;
4041
+ var anObject$3 = anObject$8;
4042
+ var isCallable = isCallable$d;
4043
+ var getPrototypeOf = objectGetPrototypeOf;
4044
+ var defineBuiltInAccessor = defineBuiltInAccessor$1;
4045
+ var createProperty = createProperty$1;
4046
+ var fails = fails$b;
4047
+ var hasOwn = hasOwnProperty_1;
4048
+ var wellKnownSymbol$1 = wellKnownSymbol$4;
4049
+ var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
4050
+ var DESCRIPTORS = descriptors;
4051
+
4052
+ var CONSTRUCTOR = 'constructor';
4053
+ var ITERATOR = 'Iterator';
4054
+ var TO_STRING_TAG$1 = wellKnownSymbol$1('toStringTag');
4055
+
4056
+ var $TypeError = TypeError;
4057
+ var NativeIterator = globalThis$2[ITERATOR];
4058
+
4059
+ // FF56- have non-standard global helper `Iterator`
4060
+ var FORCED$1 = !isCallable(NativeIterator)
4061
+ || NativeIterator.prototype !== IteratorPrototype$1
4062
+ // FF44- non-standard `Iterator` passes previous tests
4063
+ || !fails(function () { NativeIterator({}); });
4064
+
4065
+ var IteratorConstructor = function Iterator() {
4066
+ anInstance(this, IteratorPrototype$1);
4067
+ if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError('Abstract class Iterator not directly constructable');
4068
+ };
4069
+
4070
+ var defineIteratorPrototypeAccessor = function (key, value) {
4071
+ if (DESCRIPTORS) {
4072
+ defineBuiltInAccessor(IteratorPrototype$1, key, {
4073
+ configurable: true,
4074
+ get: function () {
4075
+ return value;
4076
+ },
4077
+ set: function (replacement) {
4078
+ anObject$3(this);
4079
+ if (this === IteratorPrototype$1) throw new $TypeError("You can't redefine this property");
4080
+ if (hasOwn(this, key)) this[key] = replacement;
4081
+ else createProperty(this, key, replacement);
4082
+ }
4083
+ });
4084
+ } else IteratorPrototype$1[key] = value;
4085
+ };
4086
+
4087
+ if (!hasOwn(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR);
4088
+
4089
+ if (FORCED$1 || !hasOwn(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
4090
+ defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
4091
+ }
4092
+
4093
+ IteratorConstructor.prototype = IteratorPrototype$1;
4094
+
4095
+ // `Iterator` constructor
4096
+ // https://tc39.es/ecma262/#sec-iterator
4097
+ $$1({ global: true, constructor: true, forced: FORCED$1 }, {
4098
+ Iterator: IteratorConstructor
4099
+ });
4100
+
4101
+ // `GetIteratorDirect(obj)` abstract operation
4102
+ // https://tc39.es/ecma262/#sec-getiteratordirect
4103
+ var getIteratorDirect$1 = function (obj) {
4104
+ return {
4105
+ iterator: obj,
4106
+ next: obj.next,
4107
+ done: false
4108
+ };
4109
+ };
4110
+
4111
+ var defineBuiltIn = defineBuiltIn$3;
4112
+
4113
+ var defineBuiltIns$1 = function (target, src, options) {
4114
+ for (var key in src) defineBuiltIn(target, key, src[key], options);
4115
+ return target;
4116
+ };
4117
+
4118
+ // `CreateIterResultObject` abstract operation
4119
+ // https://tc39.es/ecma262/#sec-createiterresultobject
4120
+ var createIterResultObject$1 = function (value, done) {
4121
+ return { value: value, done: done };
4122
+ };
4123
+
4124
+ var call$2 = functionCall;
4125
+ var anObject$2 = anObject$8;
4126
+ var getMethod$1 = getMethod$3;
4127
+
4128
+ var iteratorClose$4 = function (iterator, kind, value) {
4129
+ var innerResult, innerError;
4130
+ anObject$2(iterator);
4131
+ try {
4132
+ innerResult = getMethod$1(iterator, 'return');
4133
+ if (!innerResult) {
4134
+ if (kind === 'throw') throw value;
4135
+ return value;
4136
+ }
4137
+ innerResult = call$2(innerResult, iterator);
4138
+ } catch (error) {
4139
+ innerError = true;
4140
+ innerResult = error;
4141
+ }
4142
+ if (kind === 'throw') throw value;
4143
+ if (innerError) throw innerResult;
4144
+ anObject$2(innerResult);
4145
+ return value;
4146
+ };
4147
+
4148
+ var iteratorClose$3 = iteratorClose$4;
4149
+
4150
+ var iteratorCloseAll$1 = function (iters, kind, value) {
4151
+ for (var i = iters.length - 1; i >= 0; i--) {
4152
+ if (iters[i] === undefined) continue;
4153
+ try {
4154
+ value = iteratorClose$3(iters[i].iterator, kind, value);
4155
+ } catch (error) {
4156
+ kind = 'throw';
4157
+ value = error;
4158
+ }
4159
+ }
4160
+ if (kind === 'throw') throw value;
4161
+ return value;
4162
+ };
4163
+
4164
+ var call$1 = functionCall;
4165
+ var create = objectCreate;
4166
+ var createNonEnumerableProperty = createNonEnumerableProperty$3;
4167
+ var defineBuiltIns = defineBuiltIns$1;
4168
+ var wellKnownSymbol = wellKnownSymbol$4;
4169
+ var InternalStateModule = internalState;
4170
+ var getMethod = getMethod$3;
4171
+ var IteratorPrototype = iteratorsCore.IteratorPrototype;
4172
+ var createIterResultObject = createIterResultObject$1;
4173
+ var iteratorClose$2 = iteratorClose$4;
4174
+ var iteratorCloseAll = iteratorCloseAll$1;
4175
+
4176
+ var TO_STRING_TAG = wellKnownSymbol('toStringTag');
4177
+ var ITERATOR_HELPER = 'IteratorHelper';
4178
+ var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
4179
+ var NORMAL = 'normal';
4180
+ var THROW = 'throw';
4181
+ var setInternalState = InternalStateModule.set;
4182
+
4183
+ var createIteratorProxyPrototype = function (IS_ITERATOR) {
4184
+ var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
4185
+
4186
+ return defineBuiltIns(create(IteratorPrototype), {
4187
+ next: function next() {
4188
+ var state = getInternalState(this);
4189
+ // for simplification:
4190
+ // for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`
4191
+ // for `%IteratorHelperPrototype%.next` - just a value
4192
+ if (IS_ITERATOR) return state.nextHandler();
4193
+ if (state.done) return createIterResultObject(undefined, true);
4194
+ try {
4195
+ var result = state.nextHandler();
4196
+ return state.returnHandlerResult ? result : createIterResultObject(result, state.done);
4197
+ } catch (error) {
4198
+ state.done = true;
4199
+ throw error;
4200
+ }
4201
+ },
4202
+ 'return': function () {
4203
+ var state = getInternalState(this);
4204
+ var iterator = state.iterator;
4205
+ state.done = true;
4206
+ if (IS_ITERATOR) {
4207
+ var returnMethod = getMethod(iterator, 'return');
4208
+ return returnMethod ? call$1(returnMethod, iterator) : createIterResultObject(undefined, true);
4209
+ }
4210
+ if (state.inner) try {
4211
+ iteratorClose$2(state.inner.iterator, NORMAL);
4212
+ } catch (error) {
4213
+ return iteratorClose$2(iterator, THROW, error);
4214
+ }
4215
+ if (state.openIters) try {
4216
+ iteratorCloseAll(state.openIters, NORMAL);
4217
+ } catch (error) {
4218
+ return iteratorClose$2(iterator, THROW, error);
4219
+ }
4220
+ if (iterator) iteratorClose$2(iterator, NORMAL);
4221
+ return createIterResultObject(undefined, true);
4222
+ }
4223
+ });
4224
+ };
4225
+
4226
+ var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
4227
+ var IteratorHelperPrototype = createIteratorProxyPrototype(false);
4228
+
4229
+ createNonEnumerableProperty(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
4230
+
4231
+ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {
4232
+ var IteratorProxy = function Iterator(record, state) {
4233
+ if (state) {
4234
+ state.iterator = record.iterator;
4235
+ state.next = record.next;
4236
+ } else state = record;
4237
+ state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
4238
+ state.returnHandlerResult = !!RETURN_HANDLER_RESULT;
4239
+ state.nextHandler = nextHandler;
4240
+ state.counter = 0;
4241
+ state.done = false;
4242
+ setInternalState(this, state);
4243
+ };
4244
+
4245
+ IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
4246
+
4247
+ return IteratorProxy;
4248
+ };
4249
+
4250
+ var anObject$1 = anObject$8;
4251
+ var iteratorClose$1 = iteratorClose$4;
4252
+
4253
+ // call something on iterator step with safe closing on error
4254
+ var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
4255
+ try {
4256
+ return ENTRIES ? fn(anObject$1(value)[0], value[1]) : fn(value);
4257
+ } catch (error) {
4258
+ iteratorClose$1(iterator, 'throw', error);
4259
+ }
4260
+ };
4261
+
4262
+ // Should throw an error on invalid iterator
4263
+ // https://issues.chromium.org/issues/336839115
4264
+ var iteratorHelperThrowsOnInvalidIterator$1 = function (methodName, argument) {
4265
+ // eslint-disable-next-line es/no-iterator -- required for testing
4266
+ var method = typeof Iterator == 'function' && Iterator.prototype[methodName];
4267
+ if (method) try {
4268
+ method.call({ next: null }, argument).next();
4269
+ } catch (error) {
4270
+ return true;
4271
+ }
4272
+ };
4273
+
4274
+ var globalThis$1 = globalThis_1;
4275
+
4276
+ // https://github.com/tc39/ecma262/pull/3467
4277
+ var iteratorHelperWithoutClosingOnEarlyError$1 = function (METHOD_NAME, ExpectedError) {
4278
+ var Iterator = globalThis$1.Iterator;
4279
+ var IteratorPrototype = Iterator && Iterator.prototype;
4280
+ var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
4281
+
4282
+ var CLOSED = false;
4283
+
4284
+ if (method) try {
4285
+ method.call({
4286
+ next: function () { return { done: true }; },
4287
+ 'return': function () { CLOSED = true; }
4288
+ }, -1);
4289
+ } catch (error) {
4290
+ // https://bugs.webkit.org/show_bug.cgi?id=291195
4291
+ if (!(error instanceof ExpectedError)) CLOSED = false;
4292
+ }
4293
+
4294
+ if (!CLOSED) return method;
4295
+ };
4296
+
4297
+ var $ = _export;
4298
+ var call = functionCall;
4299
+ var aCallable = aCallable$2;
4300
+ var anObject = anObject$8;
4301
+ var getIteratorDirect = getIteratorDirect$1;
4302
+ var createIteratorProxy = iteratorCreateProxy;
4303
+ var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
4304
+ var iteratorClose = iteratorClose$4;
4305
+ var iteratorHelperThrowsOnInvalidIterator = iteratorHelperThrowsOnInvalidIterator$1;
4306
+ var iteratorHelperWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$1;
4307
+
4308
+ var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ });
4309
+ var mapWithoutClosingOnEarlyError = !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
4310
+ && iteratorHelperWithoutClosingOnEarlyError('map', TypeError);
4311
+
4312
+ var FORCED = MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
4313
+
4314
+ var IteratorProxy = createIteratorProxy(function () {
4315
+ var iterator = this.iterator;
4316
+ var result = anObject(call(this.next, iterator));
4317
+ var done = this.done = !!result.done;
4318
+ if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
4319
+ });
4320
+
4321
+ // `Iterator.prototype.map` method
4322
+ // https://tc39.es/ecma262/#sec-iterator.prototype.map
4323
+ $({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
4324
+ map: function map(mapper) {
4325
+ anObject(this);
4326
+ try {
4327
+ aCallable(mapper);
4328
+ } catch (error) {
4329
+ iteratorClose(this, 'throw', error);
4330
+ }
4331
+
4332
+ if (mapWithoutClosingOnEarlyError) return call(mapWithoutClosingOnEarlyError, this, mapper);
4333
+
4334
+ return new IteratorProxy(getIteratorDirect(this), {
4335
+ mapper: mapper
4336
+ });
4337
+ }
4338
+ });
4339
+
4340
+ const Navbar = ({
4341
+ logoText: _logoText = "Electroplix",
4342
+ links: _links = [],
4343
+ bgColor: _bgColor = "#0B0B0C",
4344
+ textColor: _textColor = "#F3F4F6",
4345
+ accentColor: _accentColor = "#8B5CF6",
4346
+ borderColor: _borderColor = "rgba(255,255,255,0.1)",
4347
+ fontFamily: _fontFamily = "Inter, ui-sans-serif, system-ui",
4348
+ height: _height = 72,
4349
+ padding: _padding = 24,
4350
+ showSearch: _showSearch = false,
4351
+ showCTA: _showCTA = false,
4352
+ ctaText: _ctaText = "Get Started",
4353
+ sticky: _sticky = false
4354
+ }) => {
4355
+ return /*#__PURE__*/jsxRuntimeExports.jsxs("header", {
4356
+ style: {
4357
+ background: _bgColor,
4358
+ backdropFilter: "blur(12px)",
4359
+ color: _textColor,
4360
+ fontFamily: _fontFamily,
4361
+ height: _height,
4362
+ paddingInline: _padding,
4363
+ width: "100%",
4364
+ display: "flex",
4365
+ alignItems: "center",
4366
+ justifyContent: "space-between",
4367
+ position: _sticky ? "sticky" : "relative",
4368
+ top: _sticky ? 0 : "auto",
4369
+ zIndex: _sticky ? 40 : "auto",
4370
+ borderBottom: `1px solid ${_borderColor}`
4371
+ },
4372
+ children: [/*#__PURE__*/jsxRuntimeExports.jsx("a", {
4373
+ href: "#",
4374
+ style: {
4375
+ fontWeight: 800,
4376
+ fontSize: 20,
4377
+ textDecoration: "none",
4378
+ color: _textColor,
4379
+ background: `linear-gradient(135deg, ${_textColor}, ${_accentColor})`,
4380
+ WebkitBackgroundClip: "text",
4381
+ WebkitTextFillColor: "transparent",
4382
+ backgroundClip: "text"
4383
+ },
4384
+ children: _logoText
4385
+ }), /*#__PURE__*/jsxRuntimeExports.jsx("nav", {
4386
+ style: {
4387
+ display: "flex",
4388
+ alignItems: "center",
4389
+ gap: 32
4390
+ },
4391
+ children: _links.map(l => /*#__PURE__*/jsxRuntimeExports.jsx("a", {
4392
+ href: l.href,
4393
+ style: {
4394
+ color: _textColor,
4395
+ textDecoration: "none",
4396
+ fontWeight: 500,
4397
+ fontSize: 14,
4398
+ opacity: 0.8,
4399
+ transition: "opacity 0.2s ease, color 0.2s ease"
4400
+ },
4401
+ onMouseEnter: e => {
4402
+ e.currentTarget.style.opacity = "1";
4403
+ e.currentTarget.style.color = _accentColor;
4404
+ },
4405
+ onMouseLeave: e => {
4406
+ e.currentTarget.style.opacity = "0.8";
4407
+ e.currentTarget.style.color = _textColor;
4408
+ },
4409
+ children: l.label
4410
+ }, l.label))
4411
+ }), /*#__PURE__*/jsxRuntimeExports.jsxs("div", {
4412
+ style: {
4413
+ display: "flex",
4414
+ alignItems: "center",
4415
+ gap: 12
4416
+ },
4417
+ children: [_showSearch && /*#__PURE__*/jsxRuntimeExports.jsxs("div", {
4418
+ style: {
4419
+ display: "flex",
4420
+ alignItems: "center",
4421
+ gap: 10,
4422
+ padding: "10px 14px",
4423
+ borderRadius: 10,
4424
+ border: `1px solid ${_borderColor}`,
4425
+ background: "rgba(255,255,255,0.03)"
4426
+ },
4427
+ children: [/*#__PURE__*/jsxRuntimeExports.jsx(Search, {
4428
+ size: 16,
4429
+ style: {
4430
+ opacity: 0.5
4431
+ }
4432
+ }), /*#__PURE__*/jsxRuntimeExports.jsx("input", {
4433
+ placeholder: "Search\u2026",
4434
+ style: {
4435
+ background: "transparent",
4436
+ border: "none",
4437
+ outline: "none",
4438
+ color: _textColor,
4439
+ fontSize: 14,
4440
+ width: 140
4441
+ }
4442
+ })]
4443
+ }), _showCTA && /*#__PURE__*/jsxRuntimeExports.jsxs("a", {
4444
+ href: "#",
4445
+ style: {
4446
+ display: "flex",
4447
+ alignItems: "center",
4448
+ gap: 8,
4449
+ padding: "10px 20px",
4450
+ borderRadius: 10,
4451
+ background: `linear-gradient(135deg, ${_accentColor}, #A855F7)`,
4452
+ color: "#fff",
4453
+ textDecoration: "none",
4454
+ fontWeight: 700,
4455
+ fontSize: 14,
4456
+ boxShadow: `0 6px 20px ${_accentColor}40`
4457
+ },
4458
+ children: [_ctaText, /*#__PURE__*/jsxRuntimeExports.jsx(ArrowRight, {
4459
+ size: 14
4460
+ })]
4461
+ }), /*#__PURE__*/jsxRuntimeExports.jsx("button", {
4462
+ style: {
4463
+ display: "none",
4464
+ width: 40,
4465
+ height: 40,
4466
+ borderRadius: 10,
4467
+ border: `1px solid ${_borderColor}`,
4468
+ background: "transparent",
4469
+ color: _textColor,
4470
+ cursor: "pointer",
4471
+ alignItems: "center",
4472
+ justifyContent: "center"
4473
+ },
4474
+ children: /*#__PURE__*/jsxRuntimeExports.jsx(Menu, {
4475
+ size: 20
4476
+ })
4477
+ })]
4478
+ })]
4479
+ });
4480
+ };
4481
+
4482
+ export { ElectroplixComponents, Navbar };