jrs-react 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.es.js CHANGED
@@ -1,4 +1,554 @@
1
- function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var t,r={exports:{}},n={};function o(){if(t)return n;t=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),u=Symbol.for("react.profiler"),i=Symbol.for("react.consumer"),s=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),d=Symbol.iterator;var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,m={};function v(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||y}function b(){}function g(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||y}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var _=g.prototype=new b;_.constructor=g,h(_,v.prototype),_.isPureReactComponent=!0;var w=Array.isArray,S={H:null,A:null,T:null,S:null},E=Object.prototype.hasOwnProperty;function k(t,r,n,o,a,u){return n=u.ref,{$$typeof:e,type:t,key:r,ref:void 0!==n?n:null,props:u}}function O(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var R=/\/+/g;function j(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function C(){}function $(t,n,o,a,u){var i=typeof t;"undefined"!==i&&"boolean"!==i||(t=null);var s,c,l=!1;if(null===t)l=!0;else switch(i){case"bigint":case"string":case"number":l=!0;break;case"object":switch(t.$$typeof){case e:case r:l=!0;break;case p:return $((l=t._init)(t._payload),n,o,a,u)}}if(l)return u=u(t),l=""===a?"."+j(t,0):a,w(u)?(o="",null!=l&&(o=l.replace(R,"$&/")+"/"),$(u,n,o,"",(function(e){return e}))):null!=u&&(O(u)&&(s=u,c=o+(null==u.key||t&&t.key===u.key?"":(""+u.key).replace(R,"$&/")+"/")+l,u=k(s.type,c,void 0,0,0,s.props)),n.push(u)),1;l=0;var f,y=""===a?".":a+":";if(w(t))for(var h=0;h<t.length;h++)l+=$(a=t[h],n,o,i=y+j(a,h),u);else if("function"==typeof(h=null===(f=t)||"object"!=typeof f?null:"function"==typeof(f=d&&f[d]||f["@@iterator"])?f:null))for(t=h.call(t),h=0;!(a=t.next()).done;)l+=$(a=a.value,n,o,i=y+j(a,h++),u);else if("object"===i){if("function"==typeof t.then)return $(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(C,C):(e.status="pending",e.then((function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)}),(function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)}))),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(t),n,o,a,u);throw n=String(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}return l}function T(e,t,r){if(null==e)return e;var n=[],o=0;return $(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function x(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var P="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)};function A(){}return n.Children={map:T,forEach:function(e,t,r){T(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return T(e,(function(){t++})),t},toArray:function(e){return T(e,(function(e){return e}))||[]},only:function(e){if(!O(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},n.Component=v,n.Fragment=o,n.Profiler=u,n.PureComponent=g,n.StrictMode=a,n.Suspense=l,n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=S,n.act=function(){throw Error("act(...) is not supported in production builds of React.")},n.cache=function(e){return function(){return e.apply(null,arguments)}},n.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n=h({},e.props),o=e.key;if(null!=t)for(a in void 0!==t.ref&&void 0,void 0!==t.key&&(o=""+t.key),t)!E.call(t,a)||"key"===a||"__self"===a||"__source"===a||"ref"===a&&void 0===t.ref||(n[a]=t[a]);var a=arguments.length-2;if(1===a)n.children=r;else if(1<a){for(var u=Array(a),i=0;i<a;i++)u[i]=arguments[i+2];n.children=u}return k(e.type,o,void 0,0,0,n)},n.createContext=function(e){return(e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:i,_context:e},e},n.createElement=function(e,t,r){var n,o={},a=null;if(null!=t)for(n in void 0!==t.key&&(a=""+t.key),t)E.call(t,n)&&"key"!==n&&"__self"!==n&&"__source"!==n&&(o[n]=t[n]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var i=Array(u),s=0;s<u;s++)i[s]=arguments[s+2];o.children=i}if(e&&e.defaultProps)for(n in u=e.defaultProps)void 0===o[n]&&(o[n]=u[n]);return k(e,a,void 0,0,0,o)},n.createRef=function(){return{current:null}},n.forwardRef=function(e){return{$$typeof:c,render:e}},n.isValidElement=O,n.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:x}},n.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},n.startTransition=function(e){var t=S.T,r={};S.T=r;try{var n=e(),o=S.S;null!==o&&o(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then(A,P)}catch(e){P(e)}finally{S.T=t}},n.unstable_useCacheRefresh=function(){return S.H.useCacheRefresh()},n.use=function(e){return S.H.use(e)},n.useActionState=function(e,t,r){return S.H.useActionState(e,t,r)},n.useCallback=function(e,t){return S.H.useCallback(e,t)},n.useContext=function(e){return S.H.useContext(e)},n.useDebugValue=function(){},n.useDeferredValue=function(e,t){return S.H.useDeferredValue(e,t)},n.useEffect=function(e,t){return S.H.useEffect(e,t)},n.useId=function(){return S.H.useId()},n.useImperativeHandle=function(e,t,r){return S.H.useImperativeHandle(e,t,r)},n.useInsertionEffect=function(e,t){return S.H.useInsertionEffect(e,t)},n.useLayoutEffect=function(e,t){return S.H.useLayoutEffect(e,t)},n.useMemo=function(e,t){return S.H.useMemo(e,t)},n.useOptimistic=function(e,t){return S.H.useOptimistic(e,t)},n.useReducer=function(e,t,r){return S.H.useReducer(e,t,r)},n.useRef=function(e){return S.H.useRef(e)},n.useState=function(e){return S.H.useState(e)},n.useSyncExternalStore=function(e,t,r){return S.H.useSyncExternalStore(e,t,r)},n.useTransition=function(){return S.H.useTransition()},n.version="19.0.0",n}var a,u,i={exports:{}};
1
+ var react = {exports: {}};
2
+
3
+ var react_production = {};
4
+
5
+ /**
6
+ * @license React
7
+ * react.production.js
8
+ *
9
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
10
+ *
11
+ * This source code is licensed under the MIT license found in the
12
+ * LICENSE file in the root directory of this source tree.
13
+ */
14
+
15
+ var hasRequiredReact_production;
16
+
17
+ function requireReact_production () {
18
+ if (hasRequiredReact_production) return react_production;
19
+ hasRequiredReact_production = 1;
20
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
21
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
22
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
23
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
24
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
25
+ REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
26
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
27
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
28
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
29
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
30
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
31
+ MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
32
+ function getIteratorFn(maybeIterable) {
33
+ if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
34
+ maybeIterable =
35
+ (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
36
+ maybeIterable["@@iterator"];
37
+ return "function" === typeof maybeIterable ? maybeIterable : null;
38
+ }
39
+ var ReactNoopUpdateQueue = {
40
+ isMounted: function () {
41
+ return !1;
42
+ },
43
+ enqueueForceUpdate: function () {},
44
+ enqueueReplaceState: function () {},
45
+ enqueueSetState: function () {}
46
+ },
47
+ assign = Object.assign,
48
+ emptyObject = {};
49
+ function Component(props, context, updater) {
50
+ this.props = props;
51
+ this.context = context;
52
+ this.refs = emptyObject;
53
+ this.updater = updater || ReactNoopUpdateQueue;
54
+ }
55
+ Component.prototype.isReactComponent = {};
56
+ Component.prototype.setState = function (partialState, callback) {
57
+ if (
58
+ "object" !== typeof partialState &&
59
+ "function" !== typeof partialState &&
60
+ null != partialState
61
+ )
62
+ throw Error(
63
+ "takes an object of state variables to update or a function which returns an object of state variables."
64
+ );
65
+ this.updater.enqueueSetState(this, partialState, callback, "setState");
66
+ };
67
+ Component.prototype.forceUpdate = function (callback) {
68
+ this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
69
+ };
70
+ function ComponentDummy() {}
71
+ ComponentDummy.prototype = Component.prototype;
72
+ function PureComponent(props, context, updater) {
73
+ this.props = props;
74
+ this.context = context;
75
+ this.refs = emptyObject;
76
+ this.updater = updater || ReactNoopUpdateQueue;
77
+ }
78
+ var pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());
79
+ pureComponentPrototype.constructor = PureComponent;
80
+ assign(pureComponentPrototype, Component.prototype);
81
+ pureComponentPrototype.isPureReactComponent = !0;
82
+ var isArrayImpl = Array.isArray,
83
+ ReactSharedInternals = { H: null, A: null, T: null, S: null },
84
+ hasOwnProperty = Object.prototype.hasOwnProperty;
85
+ function ReactElement(type, key, self, source, owner, props) {
86
+ self = props.ref;
87
+ return {
88
+ $$typeof: REACT_ELEMENT_TYPE,
89
+ type: type,
90
+ key: key,
91
+ ref: void 0 !== self ? self : null,
92
+ props: props
93
+ };
94
+ }
95
+ function cloneAndReplaceKey(oldElement, newKey) {
96
+ return ReactElement(
97
+ oldElement.type,
98
+ newKey,
99
+ void 0,
100
+ void 0,
101
+ void 0,
102
+ oldElement.props
103
+ );
104
+ }
105
+ function isValidElement(object) {
106
+ return (
107
+ "object" === typeof object &&
108
+ null !== object &&
109
+ object.$$typeof === REACT_ELEMENT_TYPE
110
+ );
111
+ }
112
+ function escape(key) {
113
+ var escaperLookup = { "=": "=0", ":": "=2" };
114
+ return (
115
+ "$" +
116
+ key.replace(/[=:]/g, function (match) {
117
+ return escaperLookup[match];
118
+ })
119
+ );
120
+ }
121
+ var userProvidedKeyEscapeRegex = /\/+/g;
122
+ function getElementKey(element, index) {
123
+ return "object" === typeof element && null !== element && null != element.key
124
+ ? escape("" + element.key)
125
+ : index.toString(36);
126
+ }
127
+ function noop$1() {}
128
+ function resolveThenable(thenable) {
129
+ switch (thenable.status) {
130
+ case "fulfilled":
131
+ return thenable.value;
132
+ case "rejected":
133
+ throw thenable.reason;
134
+ default:
135
+ switch (
136
+ ("string" === typeof thenable.status
137
+ ? thenable.then(noop$1, noop$1)
138
+ : ((thenable.status = "pending"),
139
+ thenable.then(
140
+ function (fulfilledValue) {
141
+ "pending" === thenable.status &&
142
+ ((thenable.status = "fulfilled"),
143
+ (thenable.value = fulfilledValue));
144
+ },
145
+ function (error) {
146
+ "pending" === thenable.status &&
147
+ ((thenable.status = "rejected"), (thenable.reason = error));
148
+ }
149
+ )),
150
+ thenable.status)
151
+ ) {
152
+ case "fulfilled":
153
+ return thenable.value;
154
+ case "rejected":
155
+ throw thenable.reason;
156
+ }
157
+ }
158
+ throw thenable;
159
+ }
160
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
161
+ var type = typeof children;
162
+ if ("undefined" === type || "boolean" === type) children = null;
163
+ var invokeCallback = !1;
164
+ if (null === children) invokeCallback = !0;
165
+ else
166
+ switch (type) {
167
+ case "bigint":
168
+ case "string":
169
+ case "number":
170
+ invokeCallback = !0;
171
+ break;
172
+ case "object":
173
+ switch (children.$$typeof) {
174
+ case REACT_ELEMENT_TYPE:
175
+ case REACT_PORTAL_TYPE:
176
+ invokeCallback = !0;
177
+ break;
178
+ case REACT_LAZY_TYPE:
179
+ return (
180
+ (invokeCallback = children._init),
181
+ mapIntoArray(
182
+ invokeCallback(children._payload),
183
+ array,
184
+ escapedPrefix,
185
+ nameSoFar,
186
+ callback
187
+ )
188
+ );
189
+ }
190
+ }
191
+ if (invokeCallback)
192
+ return (
193
+ (callback = callback(children)),
194
+ (invokeCallback =
195
+ "" === nameSoFar ? "." + getElementKey(children, 0) : nameSoFar),
196
+ isArrayImpl(callback)
197
+ ? ((escapedPrefix = ""),
198
+ null != invokeCallback &&
199
+ (escapedPrefix =
200
+ invokeCallback.replace(userProvidedKeyEscapeRegex, "$&/") + "/"),
201
+ mapIntoArray(callback, array, escapedPrefix, "", function (c) {
202
+ return c;
203
+ }))
204
+ : null != callback &&
205
+ (isValidElement(callback) &&
206
+ (callback = cloneAndReplaceKey(
207
+ callback,
208
+ escapedPrefix +
209
+ (null == callback.key ||
210
+ (children && children.key === callback.key)
211
+ ? ""
212
+ : ("" + callback.key).replace(
213
+ userProvidedKeyEscapeRegex,
214
+ "$&/"
215
+ ) + "/") +
216
+ invokeCallback
217
+ )),
218
+ array.push(callback)),
219
+ 1
220
+ );
221
+ invokeCallback = 0;
222
+ var nextNamePrefix = "" === nameSoFar ? "." : nameSoFar + ":";
223
+ if (isArrayImpl(children))
224
+ for (var i = 0; i < children.length; i++)
225
+ (nameSoFar = children[i]),
226
+ (type = nextNamePrefix + getElementKey(nameSoFar, i)),
227
+ (invokeCallback += mapIntoArray(
228
+ nameSoFar,
229
+ array,
230
+ escapedPrefix,
231
+ type,
232
+ callback
233
+ ));
234
+ else if (((i = getIteratorFn(children)), "function" === typeof i))
235
+ for (
236
+ children = i.call(children), i = 0;
237
+ !(nameSoFar = children.next()).done;
238
+
239
+ )
240
+ (nameSoFar = nameSoFar.value),
241
+ (type = nextNamePrefix + getElementKey(nameSoFar, i++)),
242
+ (invokeCallback += mapIntoArray(
243
+ nameSoFar,
244
+ array,
245
+ escapedPrefix,
246
+ type,
247
+ callback
248
+ ));
249
+ else if ("object" === type) {
250
+ if ("function" === typeof children.then)
251
+ return mapIntoArray(
252
+ resolveThenable(children),
253
+ array,
254
+ escapedPrefix,
255
+ nameSoFar,
256
+ callback
257
+ );
258
+ array = String(children);
259
+ throw Error(
260
+ "Objects are not valid as a React child (found: " +
261
+ ("[object Object]" === array
262
+ ? "object with keys {" + Object.keys(children).join(", ") + "}"
263
+ : array) +
264
+ "). If you meant to render a collection of children, use an array instead."
265
+ );
266
+ }
267
+ return invokeCallback;
268
+ }
269
+ function mapChildren(children, func, context) {
270
+ if (null == children) return children;
271
+ var result = [],
272
+ count = 0;
273
+ mapIntoArray(children, result, "", "", function (child) {
274
+ return func.call(context, child, count++);
275
+ });
276
+ return result;
277
+ }
278
+ function lazyInitializer(payload) {
279
+ if (-1 === payload._status) {
280
+ var ctor = payload._result;
281
+ ctor = ctor();
282
+ ctor.then(
283
+ function (moduleObject) {
284
+ if (0 === payload._status || -1 === payload._status)
285
+ (payload._status = 1), (payload._result = moduleObject);
286
+ },
287
+ function (error) {
288
+ if (0 === payload._status || -1 === payload._status)
289
+ (payload._status = 2), (payload._result = error);
290
+ }
291
+ );
292
+ -1 === payload._status && ((payload._status = 0), (payload._result = ctor));
293
+ }
294
+ if (1 === payload._status) return payload._result.default;
295
+ throw payload._result;
296
+ }
297
+ var reportGlobalError =
298
+ "function" === typeof reportError
299
+ ? reportError
300
+ : function (error) {
301
+ if (
302
+ "object" === typeof window &&
303
+ "function" === typeof window.ErrorEvent
304
+ ) {
305
+ var event = new window.ErrorEvent("error", {
306
+ bubbles: !0,
307
+ cancelable: !0,
308
+ message:
309
+ "object" === typeof error &&
310
+ null !== error &&
311
+ "string" === typeof error.message
312
+ ? String(error.message)
313
+ : String(error),
314
+ error: error
315
+ });
316
+ if (!window.dispatchEvent(event)) return;
317
+ } else if (
318
+ "object" === typeof process &&
319
+ "function" === typeof process.emit
320
+ ) {
321
+ process.emit("uncaughtException", error);
322
+ return;
323
+ }
324
+ console.error(error);
325
+ };
326
+ function noop() {}
327
+ react_production.Children = {
328
+ map: mapChildren,
329
+ forEach: function (children, forEachFunc, forEachContext) {
330
+ mapChildren(
331
+ children,
332
+ function () {
333
+ forEachFunc.apply(this, arguments);
334
+ },
335
+ forEachContext
336
+ );
337
+ },
338
+ count: function (children) {
339
+ var n = 0;
340
+ mapChildren(children, function () {
341
+ n++;
342
+ });
343
+ return n;
344
+ },
345
+ toArray: function (children) {
346
+ return (
347
+ mapChildren(children, function (child) {
348
+ return child;
349
+ }) || []
350
+ );
351
+ },
352
+ only: function (children) {
353
+ if (!isValidElement(children))
354
+ throw Error(
355
+ "React.Children.only expected to receive a single React element child."
356
+ );
357
+ return children;
358
+ }
359
+ };
360
+ react_production.Component = Component;
361
+ react_production.Fragment = REACT_FRAGMENT_TYPE;
362
+ react_production.Profiler = REACT_PROFILER_TYPE;
363
+ react_production.PureComponent = PureComponent;
364
+ react_production.StrictMode = REACT_STRICT_MODE_TYPE;
365
+ react_production.Suspense = REACT_SUSPENSE_TYPE;
366
+ react_production.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
367
+ ReactSharedInternals;
368
+ react_production.act = function () {
369
+ throw Error("act(...) is not supported in production builds of React.");
370
+ };
371
+ react_production.cache = function (fn) {
372
+ return function () {
373
+ return fn.apply(null, arguments);
374
+ };
375
+ };
376
+ react_production.cloneElement = function (element, config, children) {
377
+ if (null === element || void 0 === element)
378
+ throw Error(
379
+ "The argument must be a React element, but you passed " + element + "."
380
+ );
381
+ var props = assign({}, element.props),
382
+ key = element.key,
383
+ owner = void 0;
384
+ if (null != config)
385
+ for (propName in (void 0 !== config.ref && (owner = void 0),
386
+ void 0 !== config.key && (key = "" + config.key),
387
+ config))
388
+ !hasOwnProperty.call(config, propName) ||
389
+ "key" === propName ||
390
+ "__self" === propName ||
391
+ "__source" === propName ||
392
+ ("ref" === propName && void 0 === config.ref) ||
393
+ (props[propName] = config[propName]);
394
+ var propName = arguments.length - 2;
395
+ if (1 === propName) props.children = children;
396
+ else if (1 < propName) {
397
+ for (var childArray = Array(propName), i = 0; i < propName; i++)
398
+ childArray[i] = arguments[i + 2];
399
+ props.children = childArray;
400
+ }
401
+ return ReactElement(element.type, key, void 0, void 0, owner, props);
402
+ };
403
+ react_production.createContext = function (defaultValue) {
404
+ defaultValue = {
405
+ $$typeof: REACT_CONTEXT_TYPE,
406
+ _currentValue: defaultValue,
407
+ _currentValue2: defaultValue,
408
+ _threadCount: 0,
409
+ Provider: null,
410
+ Consumer: null
411
+ };
412
+ defaultValue.Provider = defaultValue;
413
+ defaultValue.Consumer = {
414
+ $$typeof: REACT_CONSUMER_TYPE,
415
+ _context: defaultValue
416
+ };
417
+ return defaultValue;
418
+ };
419
+ react_production.createElement = function (type, config, children) {
420
+ var propName,
421
+ props = {},
422
+ key = null;
423
+ if (null != config)
424
+ for (propName in (void 0 !== config.key && (key = "" + config.key), config))
425
+ hasOwnProperty.call(config, propName) &&
426
+ "key" !== propName &&
427
+ "__self" !== propName &&
428
+ "__source" !== propName &&
429
+ (props[propName] = config[propName]);
430
+ var childrenLength = arguments.length - 2;
431
+ if (1 === childrenLength) props.children = children;
432
+ else if (1 < childrenLength) {
433
+ for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)
434
+ childArray[i] = arguments[i + 2];
435
+ props.children = childArray;
436
+ }
437
+ if (type && type.defaultProps)
438
+ for (propName in ((childrenLength = type.defaultProps), childrenLength))
439
+ void 0 === props[propName] &&
440
+ (props[propName] = childrenLength[propName]);
441
+ return ReactElement(type, key, void 0, void 0, null, props);
442
+ };
443
+ react_production.createRef = function () {
444
+ return { current: null };
445
+ };
446
+ react_production.forwardRef = function (render) {
447
+ return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };
448
+ };
449
+ react_production.isValidElement = isValidElement;
450
+ react_production.lazy = function (ctor) {
451
+ return {
452
+ $$typeof: REACT_LAZY_TYPE,
453
+ _payload: { _status: -1, _result: ctor },
454
+ _init: lazyInitializer
455
+ };
456
+ };
457
+ react_production.memo = function (type, compare) {
458
+ return {
459
+ $$typeof: REACT_MEMO_TYPE,
460
+ type: type,
461
+ compare: void 0 === compare ? null : compare
462
+ };
463
+ };
464
+ react_production.startTransition = function (scope) {
465
+ var prevTransition = ReactSharedInternals.T,
466
+ currentTransition = {};
467
+ ReactSharedInternals.T = currentTransition;
468
+ try {
469
+ var returnValue = scope(),
470
+ onStartTransitionFinish = ReactSharedInternals.S;
471
+ null !== onStartTransitionFinish &&
472
+ onStartTransitionFinish(currentTransition, returnValue);
473
+ "object" === typeof returnValue &&
474
+ null !== returnValue &&
475
+ "function" === typeof returnValue.then &&
476
+ returnValue.then(noop, reportGlobalError);
477
+ } catch (error) {
478
+ reportGlobalError(error);
479
+ } finally {
480
+ ReactSharedInternals.T = prevTransition;
481
+ }
482
+ };
483
+ react_production.unstable_useCacheRefresh = function () {
484
+ return ReactSharedInternals.H.useCacheRefresh();
485
+ };
486
+ react_production.use = function (usable) {
487
+ return ReactSharedInternals.H.use(usable);
488
+ };
489
+ react_production.useActionState = function (action, initialState, permalink) {
490
+ return ReactSharedInternals.H.useActionState(action, initialState, permalink);
491
+ };
492
+ react_production.useCallback = function (callback, deps) {
493
+ return ReactSharedInternals.H.useCallback(callback, deps);
494
+ };
495
+ react_production.useContext = function (Context) {
496
+ return ReactSharedInternals.H.useContext(Context);
497
+ };
498
+ react_production.useDebugValue = function () {};
499
+ react_production.useDeferredValue = function (value, initialValue) {
500
+ return ReactSharedInternals.H.useDeferredValue(value, initialValue);
501
+ };
502
+ react_production.useEffect = function (create, deps) {
503
+ return ReactSharedInternals.H.useEffect(create, deps);
504
+ };
505
+ react_production.useId = function () {
506
+ return ReactSharedInternals.H.useId();
507
+ };
508
+ react_production.useImperativeHandle = function (ref, create, deps) {
509
+ return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);
510
+ };
511
+ react_production.useInsertionEffect = function (create, deps) {
512
+ return ReactSharedInternals.H.useInsertionEffect(create, deps);
513
+ };
514
+ react_production.useLayoutEffect = function (create, deps) {
515
+ return ReactSharedInternals.H.useLayoutEffect(create, deps);
516
+ };
517
+ react_production.useMemo = function (create, deps) {
518
+ return ReactSharedInternals.H.useMemo(create, deps);
519
+ };
520
+ react_production.useOptimistic = function (passthrough, reducer) {
521
+ return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
522
+ };
523
+ react_production.useReducer = function (reducer, initialArg, init) {
524
+ return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
525
+ };
526
+ react_production.useRef = function (initialValue) {
527
+ return ReactSharedInternals.H.useRef(initialValue);
528
+ };
529
+ react_production.useState = function (initialState) {
530
+ return ReactSharedInternals.H.useState(initialState);
531
+ };
532
+ react_production.useSyncExternalStore = function (
533
+ subscribe,
534
+ getSnapshot,
535
+ getServerSnapshot
536
+ ) {
537
+ return ReactSharedInternals.H.useSyncExternalStore(
538
+ subscribe,
539
+ getSnapshot,
540
+ getServerSnapshot
541
+ );
542
+ };
543
+ react_production.useTransition = function () {
544
+ return ReactSharedInternals.H.useTransition();
545
+ };
546
+ react_production.version = "19.0.0";
547
+ return react_production;
548
+ }
549
+
550
+ var react_development = {exports: {}};
551
+
2
552
  /**
3
553
  * @license React
4
554
  * react.development.js
@@ -7,4 +557,1546 @@ function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"de
7
557
  *
8
558
  * This source code is licensed under the MIT license found in the
9
559
  * LICENSE file in the root directory of this source tree.
10
- */function s(){return a||(a=1,e=i,t=i.exports,"production"!==process.env.NODE_ENV&&function(){function r(e,t){Object.defineProperty(a.prototype,e,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})}function n(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=G&&e[G]||e["@@iterator"])?e:null}function o(e,t){var r=(e=(e=e.constructor)&&(e.displayName||e.name)||"ReactClass")+"."+t;Q[r]||(console.error("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.",t,e),Q[r]=!0)}function a(e,t,r){this.props=e,this.context=t,this.refs=X,this.updater=r||J}function u(){}function i(e,t,r){this.props=e,this.context=t,this.refs=X,this.updater=r||J}function s(e){return""+e}function c(e){try{s(e);var t=!1}catch(e){t=!0}if(t){var r=(t=console).error,n="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return r.call(t,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",n),s(e)}}function l(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===ce?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case I:return"Fragment";case N:return"Portal";case L:return"Profiler";case M:return"StrictMode";case q:return"Suspense";case z:return"SuspenseList"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case F:return(e.displayName||"Context")+".Provider";case U:return(e._context.displayName||"Context")+".Consumer";case V:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case Y:return null!==(t=e.displayName||null)?t:l(e.type)||"Memo";case W:t=e._payload,e=e._init;try{return l(e(t))}catch(e){}}return null}function f(e){return"string"==typeof e||"function"==typeof e||e===I||e===L||e===M||e===q||e===z||e===B||"object"==typeof e&&null!==e&&(e.$$typeof===W||e.$$typeof===Y||e.$$typeof===F||e.$$typeof===U||e.$$typeof===V||e.$$typeof===pe||void 0!==e.getModuleId)}function p(){}function d(e){if(void 0===ye)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);ye=t&&t[1]||"",he=-1<e.stack.indexOf("\n at")?" (<anonymous>)":-1<e.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+ye+e+he}function y(e,t){if(!e||be)return"";var r,n=ge.get(e);if(void 0!==n)return n;be=!0,n=Error.prepareStackTrace,Error.prepareStackTrace=void 0,r=le.H,le.H=null,function(){if(0===de){te=console.log,re=console.info,ne=console.warn,oe=console.error,ae=console.group,ue=console.groupCollapsed,ie=console.groupEnd;var e={configurable:!0,enumerable:!0,value:p,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}de++}();try{var o={DetermineComponentFrameRoot:function(){try{if(t){var r=function(){throw Error()};if(Object.defineProperty(r.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(r,[])}catch(e){var n=e}Reflect.construct(e,[],r)}else{try{r.call()}catch(e){n=e}e.call(r.prototype)}}else{try{throw Error()}catch(e){n=e}(r=e())&&"function"==typeof r.catch&&r.catch((function(){}))}}catch(e){if(e&&n&&"string"==typeof e.stack)return[e.stack,n.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var u=o.DetermineComponentFrameRoot(),i=u[0],s=u[1];if(i&&s){var c=i.split("\n"),l=s.split("\n");for(u=a=0;a<c.length&&!c[a].includes("DetermineComponentFrameRoot");)a++;for(;u<l.length&&!l[u].includes("DetermineComponentFrameRoot");)u++;if(a===c.length||u===l.length)for(a=c.length-1,u=l.length-1;1<=a&&0<=u&&c[a]!==l[u];)u--;for(;1<=a&&0<=u;a--,u--)if(c[a]!==l[u]){if(1!==a||1!==u)do{if(a--,0>--u||c[a]!==l[u]){var f="\n"+c[a].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&ge.set(e,f),f}}while(1<=a&&0<=u);break}}}finally{be=!1,le.H=r,function(){if(0==--de){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:K({},e,{value:te}),info:K({},e,{value:re}),warn:K({},e,{value:ne}),error:K({},e,{value:oe}),group:K({},e,{value:ae}),groupCollapsed:K({},e,{value:ue}),groupEnd:K({},e,{value:ie})})}0>de&&console.error("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=n}return c=(c=e?e.displayName||e.name:"")?d(c):"","function"==typeof e&&ge.set(e,c),c}function h(e){if(null==e)return"";if("function"==typeof e){var t=e.prototype;return y(e,!(!t||!t.isReactComponent))}if("string"==typeof e)return d(e);switch(e){case q:return d("Suspense");case z:return d("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case V:return e=y(e.render,!1);case Y:return h(e.type);case W:t=e._payload,e=e._init;try{return h(e(t))}catch(e){}}return""}function m(){var e=le.A;return null===e?null:e.getOwner()}function v(e){if(fe.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function b(){var e=l(this.type);return we[e]||(we[e]=!0,console.error("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.")),void 0!==(e=this.props.ref)?e:null}function g(e,t,r,n,o,a){return r=a.ref,e={$$typeof:H,type:e,key:t,props:a,_owner:o},null!==(void 0!==r?r:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:b}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}function _(e,t){if("object"==typeof e&&e&&e.$$typeof!==_e)if(se(e))for(var r=0;r<e.length;r++){var o=e[r];w(o)&&S(o,t)}else if(w(e))e._store&&(e._store.validated=1);else if("function"==typeof(r=n(e))&&r!==e.entries&&(r=r.call(e))!==e)for(;!(e=r.next()).done;)w(e.value)&&S(e.value,t)}function w(e){return"object"==typeof e&&null!==e&&e.$$typeof===H}function S(e,t){if(e._store&&!e._store.validated&&null==e.key&&(e._store.validated=1,t=function(e){var t="",r=m();return r&&(r=l(r.type))&&(t="\n\nCheck the render method of `"+r+"`."),t||(e=l(e))&&(t="\n\nCheck the top-level render call using <"+e+">."),t}(t),!Se[t])){Se[t]=!0;var r="";e&&null!=e._owner&&e._owner!==m()&&(r=null,"number"==typeof e._owner.tag?r=l(e._owner.type):"string"==typeof e._owner.name&&(r=e._owner.name),r=" It was passed a child from "+r+".");var n=le.getCurrentStack;le.getCurrentStack=function(){var t=h(e.type);return n&&(t+=n()||""),t},console.error('Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',t,r),le.getCurrentStack=n}}function E(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(c(e.key),r=""+e.key,n={"=":"=0",":":"=2"},"$"+r.replace(/[=:]/g,(function(e){return n[e]}))):t.toString(36);var r,n}function k(){}function O(e,t,r,o,a){var u=typeof e;"undefined"!==u&&"boolean"!==u||(e=null);var i,s,l=!1;if(null===e)l=!0;else switch(u){case"bigint":case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case H:case N:l=!0;break;case W:return O((l=e._init)(e._payload),t,r,o,a)}}if(l){a=a(l=e);var f=""===o?"."+E(l,0):o;return se(a)?(r="",null!=f&&(r=f.replace(ke,"$&/")+"/"),O(a,t,r,"",(function(e){return e}))):null!=a&&(w(a)&&(null!=a.key&&(l&&l.key===a.key||c(a.key)),i=a,s=r+(null==a.key||l&&l.key===a.key?"":(""+a.key).replace(ke,"$&/")+"/")+f,(s=g(i.type,s,void 0,0,i._owner,i.props))._store.validated=i._store.validated,r=s,""!==o&&null!=l&&w(l)&&null==l.key&&l._store&&!l._store.validated&&(r._store.validated=2),a=r),t.push(a)),1}if(l=0,f=""===o?".":o+":",se(e))for(var p=0;p<e.length;p++)l+=O(o=e[p],t,r,u=f+E(o,p),a);else if("function"==typeof(p=n(e)))for(p===e.entries&&(Ee||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),Ee=!0),e=p.call(e),p=0;!(o=e.next()).done;)l+=O(o=o.value,t,r,u=f+E(o,p++),a);else if("object"===u){if("function"==typeof e.then)return O(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(k,k):(e.status="pending",e.then((function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)}),(function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)}))),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(e),t,r,o,a);throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.")}return l}function R(e,t,r){if(null==e)return e;var n=[],o=0;return O(e,n,"","",(function(e){return t.call(r,e,o++)})),n}function j(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return void 0===(t=e._result)&&console.error("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?",t),"default"in t||console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",t),t.default;throw e._result}function C(){var e=le.H;return null===e&&console.error("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."),e}function $(){}function T(t){if(null===je)try{var r=("require"+Math.random()).slice(0,7);je=(e&&e[r]).call(e,"timers").setImmediate}catch(e){je=function(e){!1===Re&&(Re=!0,"undefined"==typeof MessageChannel&&console.error("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."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}return je(t)}function x(e){return 1<e.length&&"function"==typeof AggregateError?new AggregateError(e):e[0]}function P(e,t){t!==Ce-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ce=t}function A(e,t,r){var n=le.actQueue;if(null!==n)if(0!==n.length)try{return D(n),void T((function(){return A(e,t,r)}))}catch(e){le.thrownErrors.push(e)}else le.actQueue=null;0<le.thrownErrors.length?(n=x(le.thrownErrors),le.thrownErrors.length=0,r(n)):t(e)}function D(e){if(!Te){Te=!0;var t=0;try{for(;t<e.length;t++)for(var r=e[t];;){le.didUsePromise=!1;var n=r(!1);if(null===n)break;if(le.didUsePromise)return e[t]=r,void e.splice(0,t);r=n}e.length=0}catch(r){e.splice(0,t+1),le.thrownErrors.push(r)}finally{Te=!1}}}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var H=Symbol.for("react.transitional.element"),N=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),M=Symbol.for("react.strict_mode"),L=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),F=Symbol.for("react.context"),V=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),z=Symbol.for("react.suspense_list"),Y=Symbol.for("react.memo"),W=Symbol.for("react.lazy"),B=Symbol.for("react.offscreen"),G=Symbol.iterator,Q={},J={isMounted:function(){return!1},enqueueForceUpdate:function(e){o(e,"forceUpdate")},enqueueReplaceState:function(e){o(e,"replaceState")},enqueueSetState:function(e){o(e,"setState")}},K=Object.assign,X={};Object.freeze(X),a.prototype.isReactComponent={},a.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},a.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var Z,ee={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]};for(Z in ee)ee.hasOwnProperty(Z)&&r(Z,ee[Z]);u.prototype=a.prototype,(ee=i.prototype=new u).constructor=i,K(ee,a.prototype),ee.isPureReactComponent=!0;var te,re,ne,oe,ae,ue,ie,se=Array.isArray,ce=Symbol.for("react.client.reference"),le={H:null,A:null,T:null,S:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null},fe=Object.prototype.hasOwnProperty,pe=Symbol.for("react.client.reference"),de=0;p.__reactDisabledLog=!0;var ye,he,me,ve,be=!1,ge=new("function"==typeof WeakMap?WeakMap:Map),_e=Symbol.for("react.client.reference"),we={},Se={},Ee=!1,ke=/\/+/g,Oe="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:"object"==typeof e&&null!==e&&"string"==typeof e.message?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e);console.error(e)},Re=!1,je=null,Ce=0,$e=!1,Te=!1,xe="function"==typeof queueMicrotask?function(e){queueMicrotask((function(){return queueMicrotask(e)}))}:T;t.Children={map:R,forEach:function(e,t,r){R(e,(function(){t.apply(this,arguments)}),r)},count:function(e){var t=0;return R(e,(function(){t++})),t},toArray:function(e){return R(e,(function(e){return e}))||[]},only:function(e){if(!w(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=a,t.Fragment=I,t.Profiler=L,t.PureComponent=i,t.StrictMode=M,t.Suspense=q,t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=le,t.act=function(e){var t=le.actQueue,r=Ce;Ce++;var n=le.actQueue=null!==t?t:[],o=!1;try{var a=e()}catch(e){le.thrownErrors.push(e)}if(0<le.thrownErrors.length)throw P(0,r),e=x(le.thrownErrors),le.thrownErrors.length=0,e;if(null!==a&&"object"==typeof a&&"function"==typeof a.then){var u=a;return xe((function(){o||$e||($e=!0,console.error("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 () => ...);"))})),{then:function(e,t){o=!0,u.then((function(o){if(P(0,r),0===r){try{D(n),T((function(){return A(o,e,t)}))}catch(e){le.thrownErrors.push(e)}if(0<le.thrownErrors.length){var a=x(le.thrownErrors);le.thrownErrors.length=0,t(a)}}else e(o)}),(function(e){P(0,r),0<le.thrownErrors.length?(e=x(le.thrownErrors),le.thrownErrors.length=0,t(e)):t(e)}))}}}var i=a;if(P(0,r),0===r&&(D(n),0!==n.length&&xe((function(){o||$e||($e=!0,console.error("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(() => ...)"))})),le.actQueue=null),0<le.thrownErrors.length)throw e=x(le.thrownErrors),le.thrownErrors.length=0,e;return{then:function(e,t){o=!0,0===r?(le.actQueue=n,T((function(){return A(i,e,t)}))):e(i)}}},t.cache=function(e){return function(){return e.apply(null,arguments)}},t.cloneElement=function(e,t,r){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var n,o=K({},e.props),a=e.key,u=e._owner;if(null!=t)for(i in(n=!(fe.call(t,"ref")&&(n=Object.getOwnPropertyDescriptor(t,"ref").get)&&n.isReactWarning)&&void 0!==t.ref)&&(u=m()),v(t)&&(c(t.key),a=""+t.key),t)!fe.call(t,i)||"key"===i||"__self"===i||"__source"===i||"ref"===i&&void 0===t.ref||(o[i]=t[i]);var i=arguments.length-2;if(1===i)o.children=r;else if(1<i){n=Array(i);for(var s=0;s<i;s++)n[s]=arguments[s+2];o.children=n}for(o=g(e.type,a,void 0,0,u,o),a=2;a<arguments.length;a++)_(arguments[a],o.type);return o},t.createContext=function(e){return(e={$$typeof:F,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:U,_context:e},e._currentRenderer=null,e._currentRenderer2=null,e},t.createElement=function(e,t,r){if(f(e))for(var n=2;n<arguments.length;n++)_(arguments[n],e);else{if(n="",(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(n+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."),null===e)var o="null";else se(e)?o="array":void 0!==e&&e.$$typeof===H?(o="<"+(l(e.type)||"Unknown")+" />",n=" Did you accidentally export a JSX literal instead of a component?"):o=typeof e;console.error("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",o,n)}var a;if(n={},o=null,null!=t)for(a in ve||!("__self"in t)||"key"in t||(ve=!0,console.warn("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")),v(t)&&(c(t.key),o=""+t.key),t)fe.call(t,a)&&"key"!==a&&"__self"!==a&&"__source"!==a&&(n[a]=t[a]);var u=arguments.length-2;if(1===u)n.children=r;else if(1<u){for(var i=Array(u),s=0;s<u;s++)i[s]=arguments[s+2];Object.freeze&&Object.freeze(i),n.children=i}if(e&&e.defaultProps)for(a in u=e.defaultProps)void 0===n[a]&&(n[a]=u[a]);return o&&function(e,t){function r(){me||(me=!0,console.error("%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)",t))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(n,"function"==typeof e?e.displayName||e.name||"Unknown":e),g(e,o,void 0,0,m(),n)},t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===Y?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?console.error("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&null!=e.defaultProps&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var t,r={$$typeof:V,render:e};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(r){t=r,e.name||e.displayName||(Object.defineProperty(e,"name",{value:r}),e.displayName=r)}}),r},t.isValidElement=w,t.lazy=function(e){return{$$typeof:W,_payload:{_status:-1,_result:e},_init:j}},t.memo=function(e,t){var r;return f(e)||console.error("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e),t={$$typeof:Y,type:e,compare:void 0===t?null:t},Object.defineProperty(t,"displayName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(t){r=t,e.name||e.displayName||(Object.defineProperty(e,"name",{value:t}),e.displayName=t)}}),t},t.startTransition=function(e){var t=le.T,r={};le.T=r,r._updatedFibers=new Set;try{var n=e(),o=le.S;null!==o&&o(r,n),"object"==typeof n&&null!==n&&"function"==typeof n.then&&n.then($,Oe)}catch(e){Oe(e)}finally{null===t&&r._updatedFibers&&(e=r._updatedFibers.size,r._updatedFibers.clear(),10<e&&console.warn("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.")),le.T=t}},t.unstable_useCacheRefresh=function(){return C().useCacheRefresh()},t.use=function(e){return C().use(e)},t.useActionState=function(e,t,r){return C().useActionState(e,t,r)},t.useCallback=function(e,t){return C().useCallback(e,t)},t.useContext=function(e){var t=C();return e.$$typeof===U&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),t.useContext(e)},t.useDebugValue=function(e,t){return C().useDebugValue(e,t)},t.useDeferredValue=function(e,t){return C().useDeferredValue(e,t)},t.useEffect=function(e,t){return C().useEffect(e,t)},t.useId=function(){return C().useId()},t.useImperativeHandle=function(e,t,r){return C().useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return C().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return C().useLayoutEffect(e,t)},t.useMemo=function(e,t){return C().useMemo(e,t)},t.useOptimistic=function(e,t){return C().useOptimistic(e,t)},t.useReducer=function(e,t,r){return C().useReducer(e,t,r)},t.useRef=function(e){return C().useRef(e)},t.useState=function(e){return C().useState(e)},t.useSyncExternalStore=function(e,t,r){return C().useSyncExternalStore(e,t,r)},t.useTransition=function(){return C().useTransition()},t.version="19.0.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),i.exports;var e,t}var c=e((u||(u=1,"production"===process.env.NODE_ENV?r.exports=o():r.exports=s()),r.exports));class l extends c.Component{render(){return c.createElement("div",null,"JRTest")}}export{l as JRTest};
560
+ */
561
+ react_development.exports;
562
+
563
+ var hasRequiredReact_development;
564
+
565
+ function requireReact_development () {
566
+ if (hasRequiredReact_development) return react_development.exports;
567
+ hasRequiredReact_development = 1;
568
+ (function (module, exports) {
569
+ "production" !== process.env.NODE_ENV &&
570
+ (function () {
571
+ function defineDeprecationWarning(methodName, info) {
572
+ Object.defineProperty(Component.prototype, methodName, {
573
+ get: function () {
574
+ console.warn(
575
+ "%s(...) is deprecated in plain JavaScript React classes. %s",
576
+ info[0],
577
+ info[1]
578
+ );
579
+ }
580
+ });
581
+ }
582
+ function getIteratorFn(maybeIterable) {
583
+ if (null === maybeIterable || "object" !== typeof maybeIterable)
584
+ return null;
585
+ maybeIterable =
586
+ (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||
587
+ maybeIterable["@@iterator"];
588
+ return "function" === typeof maybeIterable ? maybeIterable : null;
589
+ }
590
+ function warnNoop(publicInstance, callerName) {
591
+ publicInstance =
592
+ ((publicInstance = publicInstance.constructor) &&
593
+ (publicInstance.displayName || publicInstance.name)) ||
594
+ "ReactClass";
595
+ var warningKey = publicInstance + "." + callerName;
596
+ didWarnStateUpdateForUnmountedComponent[warningKey] ||
597
+ (console.error(
598
+ "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.",
599
+ callerName,
600
+ publicInstance
601
+ ),
602
+ (didWarnStateUpdateForUnmountedComponent[warningKey] = !0));
603
+ }
604
+ function Component(props, context, updater) {
605
+ this.props = props;
606
+ this.context = context;
607
+ this.refs = emptyObject;
608
+ this.updater = updater || ReactNoopUpdateQueue;
609
+ }
610
+ function ComponentDummy() {}
611
+ function PureComponent(props, context, updater) {
612
+ this.props = props;
613
+ this.context = context;
614
+ this.refs = emptyObject;
615
+ this.updater = updater || ReactNoopUpdateQueue;
616
+ }
617
+ function testStringCoercion(value) {
618
+ return "" + value;
619
+ }
620
+ function checkKeyStringCoercion(value) {
621
+ try {
622
+ testStringCoercion(value);
623
+ var JSCompiler_inline_result = !1;
624
+ } catch (e) {
625
+ JSCompiler_inline_result = !0;
626
+ }
627
+ if (JSCompiler_inline_result) {
628
+ JSCompiler_inline_result = console;
629
+ var JSCompiler_temp_const = JSCompiler_inline_result.error;
630
+ var JSCompiler_inline_result$jscomp$0 =
631
+ ("function" === typeof Symbol &&
632
+ Symbol.toStringTag &&
633
+ value[Symbol.toStringTag]) ||
634
+ value.constructor.name ||
635
+ "Object";
636
+ JSCompiler_temp_const.call(
637
+ JSCompiler_inline_result,
638
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
639
+ JSCompiler_inline_result$jscomp$0
640
+ );
641
+ return testStringCoercion(value);
642
+ }
643
+ }
644
+ function getComponentNameFromType(type) {
645
+ if (null == type) return null;
646
+ if ("function" === typeof type)
647
+ return type.$$typeof === REACT_CLIENT_REFERENCE$2
648
+ ? null
649
+ : type.displayName || type.name || null;
650
+ if ("string" === typeof type) return type;
651
+ switch (type) {
652
+ case REACT_FRAGMENT_TYPE:
653
+ return "Fragment";
654
+ case REACT_PORTAL_TYPE:
655
+ return "Portal";
656
+ case REACT_PROFILER_TYPE:
657
+ return "Profiler";
658
+ case REACT_STRICT_MODE_TYPE:
659
+ return "StrictMode";
660
+ case REACT_SUSPENSE_TYPE:
661
+ return "Suspense";
662
+ case REACT_SUSPENSE_LIST_TYPE:
663
+ return "SuspenseList";
664
+ }
665
+ if ("object" === typeof type)
666
+ switch (
667
+ ("number" === typeof type.tag &&
668
+ console.error(
669
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
670
+ ),
671
+ type.$$typeof)
672
+ ) {
673
+ case REACT_CONTEXT_TYPE:
674
+ return (type.displayName || "Context") + ".Provider";
675
+ case REACT_CONSUMER_TYPE:
676
+ return (type._context.displayName || "Context") + ".Consumer";
677
+ case REACT_FORWARD_REF_TYPE:
678
+ var innerType = type.render;
679
+ type = type.displayName;
680
+ type ||
681
+ ((type = innerType.displayName || innerType.name || ""),
682
+ (type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef"));
683
+ return type;
684
+ case REACT_MEMO_TYPE:
685
+ return (
686
+ (innerType = type.displayName || null),
687
+ null !== innerType
688
+ ? innerType
689
+ : getComponentNameFromType(type.type) || "Memo"
690
+ );
691
+ case REACT_LAZY_TYPE:
692
+ innerType = type._payload;
693
+ type = type._init;
694
+ try {
695
+ return getComponentNameFromType(type(innerType));
696
+ } catch (x) {}
697
+ }
698
+ return null;
699
+ }
700
+ function isValidElementType(type) {
701
+ return "string" === typeof type ||
702
+ "function" === typeof type ||
703
+ type === REACT_FRAGMENT_TYPE ||
704
+ type === REACT_PROFILER_TYPE ||
705
+ type === REACT_STRICT_MODE_TYPE ||
706
+ type === REACT_SUSPENSE_TYPE ||
707
+ type === REACT_SUSPENSE_LIST_TYPE ||
708
+ type === REACT_OFFSCREEN_TYPE ||
709
+ ("object" === typeof type &&
710
+ null !== type &&
711
+ (type.$$typeof === REACT_LAZY_TYPE ||
712
+ type.$$typeof === REACT_MEMO_TYPE ||
713
+ type.$$typeof === REACT_CONTEXT_TYPE ||
714
+ type.$$typeof === REACT_CONSUMER_TYPE ||
715
+ type.$$typeof === REACT_FORWARD_REF_TYPE ||
716
+ type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
717
+ void 0 !== type.getModuleId))
718
+ ? !0
719
+ : !1;
720
+ }
721
+ function disabledLog() {}
722
+ function disableLogs() {
723
+ if (0 === disabledDepth) {
724
+ prevLog = console.log;
725
+ prevInfo = console.info;
726
+ prevWarn = console.warn;
727
+ prevError = console.error;
728
+ prevGroup = console.group;
729
+ prevGroupCollapsed = console.groupCollapsed;
730
+ prevGroupEnd = console.groupEnd;
731
+ var props = {
732
+ configurable: !0,
733
+ enumerable: !0,
734
+ value: disabledLog,
735
+ writable: !0
736
+ };
737
+ Object.defineProperties(console, {
738
+ info: props,
739
+ log: props,
740
+ warn: props,
741
+ error: props,
742
+ group: props,
743
+ groupCollapsed: props,
744
+ groupEnd: props
745
+ });
746
+ }
747
+ disabledDepth++;
748
+ }
749
+ function reenableLogs() {
750
+ disabledDepth--;
751
+ if (0 === disabledDepth) {
752
+ var props = { configurable: !0, enumerable: !0, writable: !0 };
753
+ Object.defineProperties(console, {
754
+ log: assign({}, props, { value: prevLog }),
755
+ info: assign({}, props, { value: prevInfo }),
756
+ warn: assign({}, props, { value: prevWarn }),
757
+ error: assign({}, props, { value: prevError }),
758
+ group: assign({}, props, { value: prevGroup }),
759
+ groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
760
+ groupEnd: assign({}, props, { value: prevGroupEnd })
761
+ });
762
+ }
763
+ 0 > disabledDepth &&
764
+ console.error(
765
+ "disabledDepth fell below zero. This is a bug in React. Please file an issue."
766
+ );
767
+ }
768
+ function describeBuiltInComponentFrame(name) {
769
+ if (void 0 === prefix)
770
+ try {
771
+ throw Error();
772
+ } catch (x) {
773
+ var match = x.stack.trim().match(/\n( *(at )?)/);
774
+ prefix = (match && match[1]) || "";
775
+ suffix =
776
+ -1 < x.stack.indexOf("\n at")
777
+ ? " (<anonymous>)"
778
+ : -1 < x.stack.indexOf("@")
779
+ ? "@unknown:0:0"
780
+ : "";
781
+ }
782
+ return "\n" + prefix + name + suffix;
783
+ }
784
+ function describeNativeComponentFrame(fn, construct) {
785
+ if (!fn || reentry) return "";
786
+ var frame = componentFrameCache.get(fn);
787
+ if (void 0 !== frame) return frame;
788
+ reentry = !0;
789
+ frame = Error.prepareStackTrace;
790
+ Error.prepareStackTrace = void 0;
791
+ var previousDispatcher = null;
792
+ previousDispatcher = ReactSharedInternals.H;
793
+ ReactSharedInternals.H = null;
794
+ disableLogs();
795
+ try {
796
+ var RunInRootFrame = {
797
+ DetermineComponentFrameRoot: function () {
798
+ try {
799
+ if (construct) {
800
+ var Fake = function () {
801
+ throw Error();
802
+ };
803
+ Object.defineProperty(Fake.prototype, "props", {
804
+ set: function () {
805
+ throw Error();
806
+ }
807
+ });
808
+ if ("object" === typeof Reflect && Reflect.construct) {
809
+ try {
810
+ Reflect.construct(Fake, []);
811
+ } catch (x) {
812
+ var control = x;
813
+ }
814
+ Reflect.construct(fn, [], Fake);
815
+ } else {
816
+ try {
817
+ Fake.call();
818
+ } catch (x$0) {
819
+ control = x$0;
820
+ }
821
+ fn.call(Fake.prototype);
822
+ }
823
+ } else {
824
+ try {
825
+ throw Error();
826
+ } catch (x$1) {
827
+ control = x$1;
828
+ }
829
+ (Fake = fn()) &&
830
+ "function" === typeof Fake.catch &&
831
+ Fake.catch(function () {});
832
+ }
833
+ } catch (sample) {
834
+ if (sample && control && "string" === typeof sample.stack)
835
+ return [sample.stack, control.stack];
836
+ }
837
+ return [null, null];
838
+ }
839
+ };
840
+ RunInRootFrame.DetermineComponentFrameRoot.displayName =
841
+ "DetermineComponentFrameRoot";
842
+ var namePropDescriptor = Object.getOwnPropertyDescriptor(
843
+ RunInRootFrame.DetermineComponentFrameRoot,
844
+ "name"
845
+ );
846
+ namePropDescriptor &&
847
+ namePropDescriptor.configurable &&
848
+ Object.defineProperty(
849
+ RunInRootFrame.DetermineComponentFrameRoot,
850
+ "name",
851
+ { value: "DetermineComponentFrameRoot" }
852
+ );
853
+ var _RunInRootFrame$Deter =
854
+ RunInRootFrame.DetermineComponentFrameRoot(),
855
+ sampleStack = _RunInRootFrame$Deter[0],
856
+ controlStack = _RunInRootFrame$Deter[1];
857
+ if (sampleStack && controlStack) {
858
+ var sampleLines = sampleStack.split("\n"),
859
+ controlLines = controlStack.split("\n");
860
+ for (
861
+ _RunInRootFrame$Deter = namePropDescriptor = 0;
862
+ namePropDescriptor < sampleLines.length &&
863
+ !sampleLines[namePropDescriptor].includes(
864
+ "DetermineComponentFrameRoot"
865
+ );
866
+
867
+ )
868
+ namePropDescriptor++;
869
+ for (
870
+ ;
871
+ _RunInRootFrame$Deter < controlLines.length &&
872
+ !controlLines[_RunInRootFrame$Deter].includes(
873
+ "DetermineComponentFrameRoot"
874
+ );
875
+
876
+ )
877
+ _RunInRootFrame$Deter++;
878
+ if (
879
+ namePropDescriptor === sampleLines.length ||
880
+ _RunInRootFrame$Deter === controlLines.length
881
+ )
882
+ for (
883
+ namePropDescriptor = sampleLines.length - 1,
884
+ _RunInRootFrame$Deter = controlLines.length - 1;
885
+ 1 <= namePropDescriptor &&
886
+ 0 <= _RunInRootFrame$Deter &&
887
+ sampleLines[namePropDescriptor] !==
888
+ controlLines[_RunInRootFrame$Deter];
889
+
890
+ )
891
+ _RunInRootFrame$Deter--;
892
+ for (
893
+ ;
894
+ 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
895
+ namePropDescriptor--, _RunInRootFrame$Deter--
896
+ )
897
+ if (
898
+ sampleLines[namePropDescriptor] !==
899
+ controlLines[_RunInRootFrame$Deter]
900
+ ) {
901
+ if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
902
+ do
903
+ if (
904
+ (namePropDescriptor--,
905
+ _RunInRootFrame$Deter--,
906
+ 0 > _RunInRootFrame$Deter ||
907
+ sampleLines[namePropDescriptor] !==
908
+ controlLines[_RunInRootFrame$Deter])
909
+ ) {
910
+ var _frame =
911
+ "\n" +
912
+ sampleLines[namePropDescriptor].replace(
913
+ " at new ",
914
+ " at "
915
+ );
916
+ fn.displayName &&
917
+ _frame.includes("<anonymous>") &&
918
+ (_frame = _frame.replace("<anonymous>", fn.displayName));
919
+ "function" === typeof fn &&
920
+ componentFrameCache.set(fn, _frame);
921
+ return _frame;
922
+ }
923
+ while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
924
+ }
925
+ break;
926
+ }
927
+ }
928
+ } finally {
929
+ (reentry = !1),
930
+ (ReactSharedInternals.H = previousDispatcher),
931
+ reenableLogs(),
932
+ (Error.prepareStackTrace = frame);
933
+ }
934
+ sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
935
+ ? describeBuiltInComponentFrame(sampleLines)
936
+ : "";
937
+ "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
938
+ return sampleLines;
939
+ }
940
+ function describeUnknownElementTypeFrameInDEV(type) {
941
+ if (null == type) return "";
942
+ if ("function" === typeof type) {
943
+ var prototype = type.prototype;
944
+ return describeNativeComponentFrame(
945
+ type,
946
+ !(!prototype || !prototype.isReactComponent)
947
+ );
948
+ }
949
+ if ("string" === typeof type) return describeBuiltInComponentFrame(type);
950
+ switch (type) {
951
+ case REACT_SUSPENSE_TYPE:
952
+ return describeBuiltInComponentFrame("Suspense");
953
+ case REACT_SUSPENSE_LIST_TYPE:
954
+ return describeBuiltInComponentFrame("SuspenseList");
955
+ }
956
+ if ("object" === typeof type)
957
+ switch (type.$$typeof) {
958
+ case REACT_FORWARD_REF_TYPE:
959
+ return (type = describeNativeComponentFrame(type.render, !1)), type;
960
+ case REACT_MEMO_TYPE:
961
+ return describeUnknownElementTypeFrameInDEV(type.type);
962
+ case REACT_LAZY_TYPE:
963
+ prototype = type._payload;
964
+ type = type._init;
965
+ try {
966
+ return describeUnknownElementTypeFrameInDEV(type(prototype));
967
+ } catch (x) {}
968
+ }
969
+ return "";
970
+ }
971
+ function getOwner() {
972
+ var dispatcher = ReactSharedInternals.A;
973
+ return null === dispatcher ? null : dispatcher.getOwner();
974
+ }
975
+ function hasValidKey(config) {
976
+ if (hasOwnProperty.call(config, "key")) {
977
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
978
+ if (getter && getter.isReactWarning) return !1;
979
+ }
980
+ return void 0 !== config.key;
981
+ }
982
+ function defineKeyPropWarningGetter(props, displayName) {
983
+ function warnAboutAccessingKey() {
984
+ specialPropKeyWarningShown ||
985
+ ((specialPropKeyWarningShown = !0),
986
+ console.error(
987
+ "%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)",
988
+ displayName
989
+ ));
990
+ }
991
+ warnAboutAccessingKey.isReactWarning = !0;
992
+ Object.defineProperty(props, "key", {
993
+ get: warnAboutAccessingKey,
994
+ configurable: !0
995
+ });
996
+ }
997
+ function elementRefGetterWithDeprecationWarning() {
998
+ var componentName = getComponentNameFromType(this.type);
999
+ didWarnAboutElementRef[componentName] ||
1000
+ ((didWarnAboutElementRef[componentName] = !0),
1001
+ console.error(
1002
+ "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."
1003
+ ));
1004
+ componentName = this.props.ref;
1005
+ return void 0 !== componentName ? componentName : null;
1006
+ }
1007
+ function ReactElement(type, key, self, source, owner, props) {
1008
+ self = props.ref;
1009
+ type = {
1010
+ $$typeof: REACT_ELEMENT_TYPE,
1011
+ type: type,
1012
+ key: key,
1013
+ props: props,
1014
+ _owner: owner
1015
+ };
1016
+ null !== (void 0 !== self ? self : null)
1017
+ ? Object.defineProperty(type, "ref", {
1018
+ enumerable: !1,
1019
+ get: elementRefGetterWithDeprecationWarning
1020
+ })
1021
+ : Object.defineProperty(type, "ref", { enumerable: !1, value: null });
1022
+ type._store = {};
1023
+ Object.defineProperty(type._store, "validated", {
1024
+ configurable: !1,
1025
+ enumerable: !1,
1026
+ writable: !0,
1027
+ value: 0
1028
+ });
1029
+ Object.defineProperty(type, "_debugInfo", {
1030
+ configurable: !1,
1031
+ enumerable: !1,
1032
+ writable: !0,
1033
+ value: null
1034
+ });
1035
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
1036
+ return type;
1037
+ }
1038
+ function cloneAndReplaceKey(oldElement, newKey) {
1039
+ newKey = ReactElement(
1040
+ oldElement.type,
1041
+ newKey,
1042
+ void 0,
1043
+ void 0,
1044
+ oldElement._owner,
1045
+ oldElement.props
1046
+ );
1047
+ newKey._store.validated = oldElement._store.validated;
1048
+ return newKey;
1049
+ }
1050
+ function validateChildKeys(node, parentType) {
1051
+ if (
1052
+ "object" === typeof node &&
1053
+ node &&
1054
+ node.$$typeof !== REACT_CLIENT_REFERENCE
1055
+ )
1056
+ if (isArrayImpl(node))
1057
+ for (var i = 0; i < node.length; i++) {
1058
+ var child = node[i];
1059
+ isValidElement(child) && validateExplicitKey(child, parentType);
1060
+ }
1061
+ else if (isValidElement(node))
1062
+ node._store && (node._store.validated = 1);
1063
+ else if (
1064
+ ((i = getIteratorFn(node)),
1065
+ "function" === typeof i &&
1066
+ i !== node.entries &&
1067
+ ((i = i.call(node)), i !== node))
1068
+ )
1069
+ for (; !(node = i.next()).done; )
1070
+ isValidElement(node.value) &&
1071
+ validateExplicitKey(node.value, parentType);
1072
+ }
1073
+ function isValidElement(object) {
1074
+ return (
1075
+ "object" === typeof object &&
1076
+ null !== object &&
1077
+ object.$$typeof === REACT_ELEMENT_TYPE
1078
+ );
1079
+ }
1080
+ function validateExplicitKey(element, parentType) {
1081
+ if (
1082
+ element._store &&
1083
+ !element._store.validated &&
1084
+ null == element.key &&
1085
+ ((element._store.validated = 1),
1086
+ (parentType = getCurrentComponentErrorInfo(parentType)),
1087
+ !ownerHasKeyUseWarning[parentType])
1088
+ ) {
1089
+ ownerHasKeyUseWarning[parentType] = !0;
1090
+ var childOwner = "";
1091
+ element &&
1092
+ null != element._owner &&
1093
+ element._owner !== getOwner() &&
1094
+ ((childOwner = null),
1095
+ "number" === typeof element._owner.tag
1096
+ ? (childOwner = getComponentNameFromType(element._owner.type))
1097
+ : "string" === typeof element._owner.name &&
1098
+ (childOwner = element._owner.name),
1099
+ (childOwner = " It was passed a child from " + childOwner + "."));
1100
+ var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
1101
+ ReactSharedInternals.getCurrentStack = function () {
1102
+ var stack = describeUnknownElementTypeFrameInDEV(element.type);
1103
+ prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
1104
+ return stack;
1105
+ };
1106
+ console.error(
1107
+ 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
1108
+ parentType,
1109
+ childOwner
1110
+ );
1111
+ ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
1112
+ }
1113
+ }
1114
+ function getCurrentComponentErrorInfo(parentType) {
1115
+ var info = "",
1116
+ owner = getOwner();
1117
+ owner &&
1118
+ (owner = getComponentNameFromType(owner.type)) &&
1119
+ (info = "\n\nCheck the render method of `" + owner + "`.");
1120
+ info ||
1121
+ ((parentType = getComponentNameFromType(parentType)) &&
1122
+ (info =
1123
+ "\n\nCheck the top-level render call using <" + parentType + ">."));
1124
+ return info;
1125
+ }
1126
+ function escape(key) {
1127
+ var escaperLookup = { "=": "=0", ":": "=2" };
1128
+ return (
1129
+ "$" +
1130
+ key.replace(/[=:]/g, function (match) {
1131
+ return escaperLookup[match];
1132
+ })
1133
+ );
1134
+ }
1135
+ function getElementKey(element, index) {
1136
+ return "object" === typeof element &&
1137
+ null !== element &&
1138
+ null != element.key
1139
+ ? (checkKeyStringCoercion(element.key), escape("" + element.key))
1140
+ : index.toString(36);
1141
+ }
1142
+ function noop$1() {}
1143
+ function resolveThenable(thenable) {
1144
+ switch (thenable.status) {
1145
+ case "fulfilled":
1146
+ return thenable.value;
1147
+ case "rejected":
1148
+ throw thenable.reason;
1149
+ default:
1150
+ switch (
1151
+ ("string" === typeof thenable.status
1152
+ ? thenable.then(noop$1, noop$1)
1153
+ : ((thenable.status = "pending"),
1154
+ thenable.then(
1155
+ function (fulfilledValue) {
1156
+ "pending" === thenable.status &&
1157
+ ((thenable.status = "fulfilled"),
1158
+ (thenable.value = fulfilledValue));
1159
+ },
1160
+ function (error) {
1161
+ "pending" === thenable.status &&
1162
+ ((thenable.status = "rejected"),
1163
+ (thenable.reason = error));
1164
+ }
1165
+ )),
1166
+ thenable.status)
1167
+ ) {
1168
+ case "fulfilled":
1169
+ return thenable.value;
1170
+ case "rejected":
1171
+ throw thenable.reason;
1172
+ }
1173
+ }
1174
+ throw thenable;
1175
+ }
1176
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
1177
+ var type = typeof children;
1178
+ if ("undefined" === type || "boolean" === type) children = null;
1179
+ var invokeCallback = !1;
1180
+ if (null === children) invokeCallback = !0;
1181
+ else
1182
+ switch (type) {
1183
+ case "bigint":
1184
+ case "string":
1185
+ case "number":
1186
+ invokeCallback = !0;
1187
+ break;
1188
+ case "object":
1189
+ switch (children.$$typeof) {
1190
+ case REACT_ELEMENT_TYPE:
1191
+ case REACT_PORTAL_TYPE:
1192
+ invokeCallback = !0;
1193
+ break;
1194
+ case REACT_LAZY_TYPE:
1195
+ return (
1196
+ (invokeCallback = children._init),
1197
+ mapIntoArray(
1198
+ invokeCallback(children._payload),
1199
+ array,
1200
+ escapedPrefix,
1201
+ nameSoFar,
1202
+ callback
1203
+ )
1204
+ );
1205
+ }
1206
+ }
1207
+ if (invokeCallback) {
1208
+ invokeCallback = children;
1209
+ callback = callback(invokeCallback);
1210
+ var childKey =
1211
+ "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
1212
+ isArrayImpl(callback)
1213
+ ? ((escapedPrefix = ""),
1214
+ null != childKey &&
1215
+ (escapedPrefix =
1216
+ childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"),
1217
+ mapIntoArray(callback, array, escapedPrefix, "", function (c) {
1218
+ return c;
1219
+ }))
1220
+ : null != callback &&
1221
+ (isValidElement(callback) &&
1222
+ (null != callback.key &&
1223
+ ((invokeCallback && invokeCallback.key === callback.key) ||
1224
+ checkKeyStringCoercion(callback.key)),
1225
+ (escapedPrefix = cloneAndReplaceKey(
1226
+ callback,
1227
+ escapedPrefix +
1228
+ (null == callback.key ||
1229
+ (invokeCallback && invokeCallback.key === callback.key)
1230
+ ? ""
1231
+ : ("" + callback.key).replace(
1232
+ userProvidedKeyEscapeRegex,
1233
+ "$&/"
1234
+ ) + "/") +
1235
+ childKey
1236
+ )),
1237
+ "" !== nameSoFar &&
1238
+ null != invokeCallback &&
1239
+ isValidElement(invokeCallback) &&
1240
+ null == invokeCallback.key &&
1241
+ invokeCallback._store &&
1242
+ !invokeCallback._store.validated &&
1243
+ (escapedPrefix._store.validated = 2),
1244
+ (callback = escapedPrefix)),
1245
+ array.push(callback));
1246
+ return 1;
1247
+ }
1248
+ invokeCallback = 0;
1249
+ childKey = "" === nameSoFar ? "." : nameSoFar + ":";
1250
+ if (isArrayImpl(children))
1251
+ for (var i = 0; i < children.length; i++)
1252
+ (nameSoFar = children[i]),
1253
+ (type = childKey + getElementKey(nameSoFar, i)),
1254
+ (invokeCallback += mapIntoArray(
1255
+ nameSoFar,
1256
+ array,
1257
+ escapedPrefix,
1258
+ type,
1259
+ callback
1260
+ ));
1261
+ else if (((i = getIteratorFn(children)), "function" === typeof i))
1262
+ for (
1263
+ i === children.entries &&
1264
+ (didWarnAboutMaps ||
1265
+ console.warn(
1266
+ "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
1267
+ ),
1268
+ (didWarnAboutMaps = !0)),
1269
+ children = i.call(children),
1270
+ i = 0;
1271
+ !(nameSoFar = children.next()).done;
1272
+
1273
+ )
1274
+ (nameSoFar = nameSoFar.value),
1275
+ (type = childKey + getElementKey(nameSoFar, i++)),
1276
+ (invokeCallback += mapIntoArray(
1277
+ nameSoFar,
1278
+ array,
1279
+ escapedPrefix,
1280
+ type,
1281
+ callback
1282
+ ));
1283
+ else if ("object" === type) {
1284
+ if ("function" === typeof children.then)
1285
+ return mapIntoArray(
1286
+ resolveThenable(children),
1287
+ array,
1288
+ escapedPrefix,
1289
+ nameSoFar,
1290
+ callback
1291
+ );
1292
+ array = String(children);
1293
+ throw Error(
1294
+ "Objects are not valid as a React child (found: " +
1295
+ ("[object Object]" === array
1296
+ ? "object with keys {" + Object.keys(children).join(", ") + "}"
1297
+ : array) +
1298
+ "). If you meant to render a collection of children, use an array instead."
1299
+ );
1300
+ }
1301
+ return invokeCallback;
1302
+ }
1303
+ function mapChildren(children, func, context) {
1304
+ if (null == children) return children;
1305
+ var result = [],
1306
+ count = 0;
1307
+ mapIntoArray(children, result, "", "", function (child) {
1308
+ return func.call(context, child, count++);
1309
+ });
1310
+ return result;
1311
+ }
1312
+ function lazyInitializer(payload) {
1313
+ if (-1 === payload._status) {
1314
+ var ctor = payload._result;
1315
+ ctor = ctor();
1316
+ ctor.then(
1317
+ function (moduleObject) {
1318
+ if (0 === payload._status || -1 === payload._status)
1319
+ (payload._status = 1), (payload._result = moduleObject);
1320
+ },
1321
+ function (error) {
1322
+ if (0 === payload._status || -1 === payload._status)
1323
+ (payload._status = 2), (payload._result = error);
1324
+ }
1325
+ );
1326
+ -1 === payload._status &&
1327
+ ((payload._status = 0), (payload._result = ctor));
1328
+ }
1329
+ if (1 === payload._status)
1330
+ return (
1331
+ (ctor = payload._result),
1332
+ void 0 === ctor &&
1333
+ console.error(
1334
+ "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?",
1335
+ ctor
1336
+ ),
1337
+ "default" in ctor ||
1338
+ console.error(
1339
+ "lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",
1340
+ ctor
1341
+ ),
1342
+ ctor.default
1343
+ );
1344
+ throw payload._result;
1345
+ }
1346
+ function resolveDispatcher() {
1347
+ var dispatcher = ReactSharedInternals.H;
1348
+ null === dispatcher &&
1349
+ console.error(
1350
+ "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."
1351
+ );
1352
+ return dispatcher;
1353
+ }
1354
+ function noop() {}
1355
+ function enqueueTask(task) {
1356
+ if (null === enqueueTaskImpl)
1357
+ try {
1358
+ var requireString = ("require" + Math.random()).slice(0, 7);
1359
+ enqueueTaskImpl = (module && module[requireString]).call(
1360
+ module,
1361
+ "timers"
1362
+ ).setImmediate;
1363
+ } catch (_err) {
1364
+ enqueueTaskImpl = function (callback) {
1365
+ !1 === didWarnAboutMessageChannel &&
1366
+ ((didWarnAboutMessageChannel = !0),
1367
+ "undefined" === typeof MessageChannel &&
1368
+ console.error(
1369
+ "This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."
1370
+ ));
1371
+ var channel = new MessageChannel();
1372
+ channel.port1.onmessage = callback;
1373
+ channel.port2.postMessage(void 0);
1374
+ };
1375
+ }
1376
+ return enqueueTaskImpl(task);
1377
+ }
1378
+ function aggregateErrors(errors) {
1379
+ return 1 < errors.length && "function" === typeof AggregateError
1380
+ ? new AggregateError(errors)
1381
+ : errors[0];
1382
+ }
1383
+ function popActScope(prevActQueue, prevActScopeDepth) {
1384
+ prevActScopeDepth !== actScopeDepth - 1 &&
1385
+ console.error(
1386
+ "You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "
1387
+ );
1388
+ actScopeDepth = prevActScopeDepth;
1389
+ }
1390
+ function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
1391
+ var queue = ReactSharedInternals.actQueue;
1392
+ if (null !== queue)
1393
+ if (0 !== queue.length)
1394
+ try {
1395
+ flushActQueue(queue);
1396
+ enqueueTask(function () {
1397
+ return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
1398
+ });
1399
+ return;
1400
+ } catch (error) {
1401
+ ReactSharedInternals.thrownErrors.push(error);
1402
+ }
1403
+ else ReactSharedInternals.actQueue = null;
1404
+ 0 < ReactSharedInternals.thrownErrors.length
1405
+ ? ((queue = aggregateErrors(ReactSharedInternals.thrownErrors)),
1406
+ (ReactSharedInternals.thrownErrors.length = 0),
1407
+ reject(queue))
1408
+ : resolve(returnValue);
1409
+ }
1410
+ function flushActQueue(queue) {
1411
+ if (!isFlushing) {
1412
+ isFlushing = !0;
1413
+ var i = 0;
1414
+ try {
1415
+ for (; i < queue.length; i++) {
1416
+ var callback = queue[i];
1417
+ do {
1418
+ ReactSharedInternals.didUsePromise = !1;
1419
+ var continuation = callback(!1);
1420
+ if (null !== continuation) {
1421
+ if (ReactSharedInternals.didUsePromise) {
1422
+ queue[i] = callback;
1423
+ queue.splice(0, i);
1424
+ return;
1425
+ }
1426
+ callback = continuation;
1427
+ } else break;
1428
+ } while (1);
1429
+ }
1430
+ queue.length = 0;
1431
+ } catch (error) {
1432
+ queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
1433
+ } finally {
1434
+ isFlushing = !1;
1435
+ }
1436
+ }
1437
+ }
1438
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
1439
+ "function" ===
1440
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart &&
1441
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
1442
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
1443
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
1444
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
1445
+ REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"),
1446
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler");
1447
+ var REACT_CONSUMER_TYPE = Symbol.for("react.consumer"),
1448
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
1449
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
1450
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
1451
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
1452
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
1453
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
1454
+ REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
1455
+ MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
1456
+ didWarnStateUpdateForUnmountedComponent = {},
1457
+ ReactNoopUpdateQueue = {
1458
+ isMounted: function () {
1459
+ return !1;
1460
+ },
1461
+ enqueueForceUpdate: function (publicInstance) {
1462
+ warnNoop(publicInstance, "forceUpdate");
1463
+ },
1464
+ enqueueReplaceState: function (publicInstance) {
1465
+ warnNoop(publicInstance, "replaceState");
1466
+ },
1467
+ enqueueSetState: function (publicInstance) {
1468
+ warnNoop(publicInstance, "setState");
1469
+ }
1470
+ },
1471
+ assign = Object.assign,
1472
+ emptyObject = {};
1473
+ Object.freeze(emptyObject);
1474
+ Component.prototype.isReactComponent = {};
1475
+ Component.prototype.setState = function (partialState, callback) {
1476
+ if (
1477
+ "object" !== typeof partialState &&
1478
+ "function" !== typeof partialState &&
1479
+ null != partialState
1480
+ )
1481
+ throw Error(
1482
+ "takes an object of state variables to update or a function which returns an object of state variables."
1483
+ );
1484
+ this.updater.enqueueSetState(this, partialState, callback, "setState");
1485
+ };
1486
+ Component.prototype.forceUpdate = function (callback) {
1487
+ this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
1488
+ };
1489
+ var deprecatedAPIs = {
1490
+ isMounted: [
1491
+ "isMounted",
1492
+ "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."
1493
+ ],
1494
+ replaceState: [
1495
+ "replaceState",
1496
+ "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."
1497
+ ]
1498
+ },
1499
+ fnName;
1500
+ for (fnName in deprecatedAPIs)
1501
+ deprecatedAPIs.hasOwnProperty(fnName) &&
1502
+ defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
1503
+ ComponentDummy.prototype = Component.prototype;
1504
+ deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
1505
+ deprecatedAPIs.constructor = PureComponent;
1506
+ assign(deprecatedAPIs, Component.prototype);
1507
+ deprecatedAPIs.isPureReactComponent = !0;
1508
+ var isArrayImpl = Array.isArray,
1509
+ REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
1510
+ ReactSharedInternals = {
1511
+ H: null,
1512
+ A: null,
1513
+ T: null,
1514
+ S: null,
1515
+ actQueue: null,
1516
+ isBatchingLegacy: !1,
1517
+ didScheduleLegacyUpdate: !1,
1518
+ didUsePromise: !1,
1519
+ thrownErrors: [],
1520
+ getCurrentStack: null
1521
+ },
1522
+ hasOwnProperty = Object.prototype.hasOwnProperty,
1523
+ REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
1524
+ disabledDepth = 0,
1525
+ prevLog,
1526
+ prevInfo,
1527
+ prevWarn,
1528
+ prevError,
1529
+ prevGroup,
1530
+ prevGroupCollapsed,
1531
+ prevGroupEnd;
1532
+ disabledLog.__reactDisabledLog = !0;
1533
+ var prefix,
1534
+ suffix,
1535
+ reentry = !1;
1536
+ var componentFrameCache = new (
1537
+ "function" === typeof WeakMap ? WeakMap : Map
1538
+ )();
1539
+ var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
1540
+ specialPropKeyWarningShown,
1541
+ didWarnAboutOldJSXRuntime;
1542
+ var didWarnAboutElementRef = {};
1543
+ var ownerHasKeyUseWarning = {},
1544
+ didWarnAboutMaps = !1,
1545
+ userProvidedKeyEscapeRegex = /\/+/g,
1546
+ reportGlobalError =
1547
+ "function" === typeof reportError
1548
+ ? reportError
1549
+ : function (error) {
1550
+ if (
1551
+ "object" === typeof window &&
1552
+ "function" === typeof window.ErrorEvent
1553
+ ) {
1554
+ var event = new window.ErrorEvent("error", {
1555
+ bubbles: !0,
1556
+ cancelable: !0,
1557
+ message:
1558
+ "object" === typeof error &&
1559
+ null !== error &&
1560
+ "string" === typeof error.message
1561
+ ? String(error.message)
1562
+ : String(error),
1563
+ error: error
1564
+ });
1565
+ if (!window.dispatchEvent(event)) return;
1566
+ } else if (
1567
+ "object" === typeof process &&
1568
+ "function" === typeof process.emit
1569
+ ) {
1570
+ process.emit("uncaughtException", error);
1571
+ return;
1572
+ }
1573
+ console.error(error);
1574
+ },
1575
+ didWarnAboutMessageChannel = !1,
1576
+ enqueueTaskImpl = null,
1577
+ actScopeDepth = 0,
1578
+ didWarnNoAwaitAct = !1,
1579
+ isFlushing = !1,
1580
+ queueSeveralMicrotasks =
1581
+ "function" === typeof queueMicrotask
1582
+ ? function (callback) {
1583
+ queueMicrotask(function () {
1584
+ return queueMicrotask(callback);
1585
+ });
1586
+ }
1587
+ : enqueueTask;
1588
+ exports.Children = {
1589
+ map: mapChildren,
1590
+ forEach: function (children, forEachFunc, forEachContext) {
1591
+ mapChildren(
1592
+ children,
1593
+ function () {
1594
+ forEachFunc.apply(this, arguments);
1595
+ },
1596
+ forEachContext
1597
+ );
1598
+ },
1599
+ count: function (children) {
1600
+ var n = 0;
1601
+ mapChildren(children, function () {
1602
+ n++;
1603
+ });
1604
+ return n;
1605
+ },
1606
+ toArray: function (children) {
1607
+ return (
1608
+ mapChildren(children, function (child) {
1609
+ return child;
1610
+ }) || []
1611
+ );
1612
+ },
1613
+ only: function (children) {
1614
+ if (!isValidElement(children))
1615
+ throw Error(
1616
+ "React.Children.only expected to receive a single React element child."
1617
+ );
1618
+ return children;
1619
+ }
1620
+ };
1621
+ exports.Component = Component;
1622
+ exports.Fragment = REACT_FRAGMENT_TYPE;
1623
+ exports.Profiler = REACT_PROFILER_TYPE;
1624
+ exports.PureComponent = PureComponent;
1625
+ exports.StrictMode = REACT_STRICT_MODE_TYPE;
1626
+ exports.Suspense = REACT_SUSPENSE_TYPE;
1627
+ exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =
1628
+ ReactSharedInternals;
1629
+ exports.act = function (callback) {
1630
+ var prevActQueue = ReactSharedInternals.actQueue,
1631
+ prevActScopeDepth = actScopeDepth;
1632
+ actScopeDepth++;
1633
+ var queue = (ReactSharedInternals.actQueue =
1634
+ null !== prevActQueue ? prevActQueue : []),
1635
+ didAwaitActCall = !1;
1636
+ try {
1637
+ var result = callback();
1638
+ } catch (error) {
1639
+ ReactSharedInternals.thrownErrors.push(error);
1640
+ }
1641
+ if (0 < ReactSharedInternals.thrownErrors.length)
1642
+ throw (
1643
+ (popActScope(prevActQueue, prevActScopeDepth),
1644
+ (callback = aggregateErrors(ReactSharedInternals.thrownErrors)),
1645
+ (ReactSharedInternals.thrownErrors.length = 0),
1646
+ callback)
1647
+ );
1648
+ if (
1649
+ null !== result &&
1650
+ "object" === typeof result &&
1651
+ "function" === typeof result.then
1652
+ ) {
1653
+ var thenable = result;
1654
+ queueSeveralMicrotasks(function () {
1655
+ didAwaitActCall ||
1656
+ didWarnNoAwaitAct ||
1657
+ ((didWarnNoAwaitAct = !0),
1658
+ console.error(
1659
+ "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 () => ...);"
1660
+ ));
1661
+ });
1662
+ return {
1663
+ then: function (resolve, reject) {
1664
+ didAwaitActCall = !0;
1665
+ thenable.then(
1666
+ function (returnValue) {
1667
+ popActScope(prevActQueue, prevActScopeDepth);
1668
+ if (0 === prevActScopeDepth) {
1669
+ try {
1670
+ flushActQueue(queue),
1671
+ enqueueTask(function () {
1672
+ return recursivelyFlushAsyncActWork(
1673
+ returnValue,
1674
+ resolve,
1675
+ reject
1676
+ );
1677
+ });
1678
+ } catch (error$2) {
1679
+ ReactSharedInternals.thrownErrors.push(error$2);
1680
+ }
1681
+ if (0 < ReactSharedInternals.thrownErrors.length) {
1682
+ var _thrownError = aggregateErrors(
1683
+ ReactSharedInternals.thrownErrors
1684
+ );
1685
+ ReactSharedInternals.thrownErrors.length = 0;
1686
+ reject(_thrownError);
1687
+ }
1688
+ } else resolve(returnValue);
1689
+ },
1690
+ function (error) {
1691
+ popActScope(prevActQueue, prevActScopeDepth);
1692
+ 0 < ReactSharedInternals.thrownErrors.length
1693
+ ? ((error = aggregateErrors(
1694
+ ReactSharedInternals.thrownErrors
1695
+ )),
1696
+ (ReactSharedInternals.thrownErrors.length = 0),
1697
+ reject(error))
1698
+ : reject(error);
1699
+ }
1700
+ );
1701
+ }
1702
+ };
1703
+ }
1704
+ var returnValue$jscomp$0 = result;
1705
+ popActScope(prevActQueue, prevActScopeDepth);
1706
+ 0 === prevActScopeDepth &&
1707
+ (flushActQueue(queue),
1708
+ 0 !== queue.length &&
1709
+ queueSeveralMicrotasks(function () {
1710
+ didAwaitActCall ||
1711
+ didWarnNoAwaitAct ||
1712
+ ((didWarnNoAwaitAct = !0),
1713
+ console.error(
1714
+ "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(() => ...)"
1715
+ ));
1716
+ }),
1717
+ (ReactSharedInternals.actQueue = null));
1718
+ if (0 < ReactSharedInternals.thrownErrors.length)
1719
+ throw (
1720
+ ((callback = aggregateErrors(ReactSharedInternals.thrownErrors)),
1721
+ (ReactSharedInternals.thrownErrors.length = 0),
1722
+ callback)
1723
+ );
1724
+ return {
1725
+ then: function (resolve, reject) {
1726
+ didAwaitActCall = !0;
1727
+ 0 === prevActScopeDepth
1728
+ ? ((ReactSharedInternals.actQueue = queue),
1729
+ enqueueTask(function () {
1730
+ return recursivelyFlushAsyncActWork(
1731
+ returnValue$jscomp$0,
1732
+ resolve,
1733
+ reject
1734
+ );
1735
+ }))
1736
+ : resolve(returnValue$jscomp$0);
1737
+ }
1738
+ };
1739
+ };
1740
+ exports.cache = function (fn) {
1741
+ return function () {
1742
+ return fn.apply(null, arguments);
1743
+ };
1744
+ };
1745
+ exports.cloneElement = function (element, config, children) {
1746
+ if (null === element || void 0 === element)
1747
+ throw Error(
1748
+ "The argument must be a React element, but you passed " +
1749
+ element +
1750
+ "."
1751
+ );
1752
+ var props = assign({}, element.props),
1753
+ key = element.key,
1754
+ owner = element._owner;
1755
+ if (null != config) {
1756
+ var JSCompiler_inline_result;
1757
+ a: {
1758
+ if (
1759
+ hasOwnProperty.call(config, "ref") &&
1760
+ (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(
1761
+ config,
1762
+ "ref"
1763
+ ).get) &&
1764
+ JSCompiler_inline_result.isReactWarning
1765
+ ) {
1766
+ JSCompiler_inline_result = !1;
1767
+ break a;
1768
+ }
1769
+ JSCompiler_inline_result = void 0 !== config.ref;
1770
+ }
1771
+ JSCompiler_inline_result && (owner = getOwner());
1772
+ hasValidKey(config) &&
1773
+ (checkKeyStringCoercion(config.key), (key = "" + config.key));
1774
+ for (propName in config)
1775
+ !hasOwnProperty.call(config, propName) ||
1776
+ "key" === propName ||
1777
+ "__self" === propName ||
1778
+ "__source" === propName ||
1779
+ ("ref" === propName && void 0 === config.ref) ||
1780
+ (props[propName] = config[propName]);
1781
+ }
1782
+ var propName = arguments.length - 2;
1783
+ if (1 === propName) props.children = children;
1784
+ else if (1 < propName) {
1785
+ JSCompiler_inline_result = Array(propName);
1786
+ for (var i = 0; i < propName; i++)
1787
+ JSCompiler_inline_result[i] = arguments[i + 2];
1788
+ props.children = JSCompiler_inline_result;
1789
+ }
1790
+ props = ReactElement(element.type, key, void 0, void 0, owner, props);
1791
+ for (key = 2; key < arguments.length; key++)
1792
+ validateChildKeys(arguments[key], props.type);
1793
+ return props;
1794
+ };
1795
+ exports.createContext = function (defaultValue) {
1796
+ defaultValue = {
1797
+ $$typeof: REACT_CONTEXT_TYPE,
1798
+ _currentValue: defaultValue,
1799
+ _currentValue2: defaultValue,
1800
+ _threadCount: 0,
1801
+ Provider: null,
1802
+ Consumer: null
1803
+ };
1804
+ defaultValue.Provider = defaultValue;
1805
+ defaultValue.Consumer = {
1806
+ $$typeof: REACT_CONSUMER_TYPE,
1807
+ _context: defaultValue
1808
+ };
1809
+ defaultValue._currentRenderer = null;
1810
+ defaultValue._currentRenderer2 = null;
1811
+ return defaultValue;
1812
+ };
1813
+ exports.createElement = function (type, config, children) {
1814
+ if (isValidElementType(type))
1815
+ for (var i = 2; i < arguments.length; i++)
1816
+ validateChildKeys(arguments[i], type);
1817
+ else {
1818
+ i = "";
1819
+ if (
1820
+ void 0 === type ||
1821
+ ("object" === typeof type &&
1822
+ null !== type &&
1823
+ 0 === Object.keys(type).length)
1824
+ )
1825
+ i +=
1826
+ " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
1827
+ if (null === type) var typeString = "null";
1828
+ else
1829
+ isArrayImpl(type)
1830
+ ? (typeString = "array")
1831
+ : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
1832
+ ? ((typeString =
1833
+ "<" +
1834
+ (getComponentNameFromType(type.type) || "Unknown") +
1835
+ " />"),
1836
+ (i =
1837
+ " Did you accidentally export a JSX literal instead of a component?"))
1838
+ : (typeString = typeof type);
1839
+ console.error(
1840
+ "React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
1841
+ typeString,
1842
+ i
1843
+ );
1844
+ }
1845
+ var propName;
1846
+ i = {};
1847
+ typeString = null;
1848
+ if (null != config)
1849
+ for (propName in (didWarnAboutOldJSXRuntime ||
1850
+ !("__self" in config) ||
1851
+ "key" in config ||
1852
+ ((didWarnAboutOldJSXRuntime = !0),
1853
+ console.warn(
1854
+ "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"
1855
+ )),
1856
+ hasValidKey(config) &&
1857
+ (checkKeyStringCoercion(config.key), (typeString = "" + config.key)),
1858
+ config))
1859
+ hasOwnProperty.call(config, propName) &&
1860
+ "key" !== propName &&
1861
+ "__self" !== propName &&
1862
+ "__source" !== propName &&
1863
+ (i[propName] = config[propName]);
1864
+ var childrenLength = arguments.length - 2;
1865
+ if (1 === childrenLength) i.children = children;
1866
+ else if (1 < childrenLength) {
1867
+ for (
1868
+ var childArray = Array(childrenLength), _i = 0;
1869
+ _i < childrenLength;
1870
+ _i++
1871
+ )
1872
+ childArray[_i] = arguments[_i + 2];
1873
+ Object.freeze && Object.freeze(childArray);
1874
+ i.children = childArray;
1875
+ }
1876
+ if (type && type.defaultProps)
1877
+ for (propName in ((childrenLength = type.defaultProps), childrenLength))
1878
+ void 0 === i[propName] && (i[propName] = childrenLength[propName]);
1879
+ typeString &&
1880
+ defineKeyPropWarningGetter(
1881
+ i,
1882
+ "function" === typeof type
1883
+ ? type.displayName || type.name || "Unknown"
1884
+ : type
1885
+ );
1886
+ return ReactElement(type, typeString, void 0, void 0, getOwner(), i);
1887
+ };
1888
+ exports.createRef = function () {
1889
+ var refObject = { current: null };
1890
+ Object.seal(refObject);
1891
+ return refObject;
1892
+ };
1893
+ exports.forwardRef = function (render) {
1894
+ null != render && render.$$typeof === REACT_MEMO_TYPE
1895
+ ? console.error(
1896
+ "forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."
1897
+ )
1898
+ : "function" !== typeof render
1899
+ ? console.error(
1900
+ "forwardRef requires a render function but was given %s.",
1901
+ null === render ? "null" : typeof render
1902
+ )
1903
+ : 0 !== render.length &&
1904
+ 2 !== render.length &&
1905
+ console.error(
1906
+ "forwardRef render functions accept exactly two parameters: props and ref. %s",
1907
+ 1 === render.length
1908
+ ? "Did you forget to use the ref parameter?"
1909
+ : "Any additional parameter will be undefined."
1910
+ );
1911
+ null != render &&
1912
+ null != render.defaultProps &&
1913
+ console.error(
1914
+ "forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?"
1915
+ );
1916
+ var elementType = { $$typeof: REACT_FORWARD_REF_TYPE, render: render },
1917
+ ownName;
1918
+ Object.defineProperty(elementType, "displayName", {
1919
+ enumerable: !1,
1920
+ configurable: !0,
1921
+ get: function () {
1922
+ return ownName;
1923
+ },
1924
+ set: function (name) {
1925
+ ownName = name;
1926
+ render.name ||
1927
+ render.displayName ||
1928
+ (Object.defineProperty(render, "name", { value: name }),
1929
+ (render.displayName = name));
1930
+ }
1931
+ });
1932
+ return elementType;
1933
+ };
1934
+ exports.isValidElement = isValidElement;
1935
+ exports.lazy = function (ctor) {
1936
+ return {
1937
+ $$typeof: REACT_LAZY_TYPE,
1938
+ _payload: { _status: -1, _result: ctor },
1939
+ _init: lazyInitializer
1940
+ };
1941
+ };
1942
+ exports.memo = function (type, compare) {
1943
+ isValidElementType(type) ||
1944
+ console.error(
1945
+ "memo: The first argument must be a component. Instead received: %s",
1946
+ null === type ? "null" : typeof type
1947
+ );
1948
+ compare = {
1949
+ $$typeof: REACT_MEMO_TYPE,
1950
+ type: type,
1951
+ compare: void 0 === compare ? null : compare
1952
+ };
1953
+ var ownName;
1954
+ Object.defineProperty(compare, "displayName", {
1955
+ enumerable: !1,
1956
+ configurable: !0,
1957
+ get: function () {
1958
+ return ownName;
1959
+ },
1960
+ set: function (name) {
1961
+ ownName = name;
1962
+ type.name ||
1963
+ type.displayName ||
1964
+ (Object.defineProperty(type, "name", { value: name }),
1965
+ (type.displayName = name));
1966
+ }
1967
+ });
1968
+ return compare;
1969
+ };
1970
+ exports.startTransition = function (scope) {
1971
+ var prevTransition = ReactSharedInternals.T,
1972
+ currentTransition = {};
1973
+ ReactSharedInternals.T = currentTransition;
1974
+ currentTransition._updatedFibers = new Set();
1975
+ try {
1976
+ var returnValue = scope(),
1977
+ onStartTransitionFinish = ReactSharedInternals.S;
1978
+ null !== onStartTransitionFinish &&
1979
+ onStartTransitionFinish(currentTransition, returnValue);
1980
+ "object" === typeof returnValue &&
1981
+ null !== returnValue &&
1982
+ "function" === typeof returnValue.then &&
1983
+ returnValue.then(noop, reportGlobalError);
1984
+ } catch (error) {
1985
+ reportGlobalError(error);
1986
+ } finally {
1987
+ null === prevTransition &&
1988
+ currentTransition._updatedFibers &&
1989
+ ((scope = currentTransition._updatedFibers.size),
1990
+ currentTransition._updatedFibers.clear(),
1991
+ 10 < scope &&
1992
+ console.warn(
1993
+ "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."
1994
+ )),
1995
+ (ReactSharedInternals.T = prevTransition);
1996
+ }
1997
+ };
1998
+ exports.unstable_useCacheRefresh = function () {
1999
+ return resolveDispatcher().useCacheRefresh();
2000
+ };
2001
+ exports.use = function (usable) {
2002
+ return resolveDispatcher().use(usable);
2003
+ };
2004
+ exports.useActionState = function (action, initialState, permalink) {
2005
+ return resolveDispatcher().useActionState(
2006
+ action,
2007
+ initialState,
2008
+ permalink
2009
+ );
2010
+ };
2011
+ exports.useCallback = function (callback, deps) {
2012
+ return resolveDispatcher().useCallback(callback, deps);
2013
+ };
2014
+ exports.useContext = function (Context) {
2015
+ var dispatcher = resolveDispatcher();
2016
+ Context.$$typeof === REACT_CONSUMER_TYPE &&
2017
+ console.error(
2018
+ "Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"
2019
+ );
2020
+ return dispatcher.useContext(Context);
2021
+ };
2022
+ exports.useDebugValue = function (value, formatterFn) {
2023
+ return resolveDispatcher().useDebugValue(value, formatterFn);
2024
+ };
2025
+ exports.useDeferredValue = function (value, initialValue) {
2026
+ return resolveDispatcher().useDeferredValue(value, initialValue);
2027
+ };
2028
+ exports.useEffect = function (create, deps) {
2029
+ return resolveDispatcher().useEffect(create, deps);
2030
+ };
2031
+ exports.useId = function () {
2032
+ return resolveDispatcher().useId();
2033
+ };
2034
+ exports.useImperativeHandle = function (ref, create, deps) {
2035
+ return resolveDispatcher().useImperativeHandle(ref, create, deps);
2036
+ };
2037
+ exports.useInsertionEffect = function (create, deps) {
2038
+ return resolveDispatcher().useInsertionEffect(create, deps);
2039
+ };
2040
+ exports.useLayoutEffect = function (create, deps) {
2041
+ return resolveDispatcher().useLayoutEffect(create, deps);
2042
+ };
2043
+ exports.useMemo = function (create, deps) {
2044
+ return resolveDispatcher().useMemo(create, deps);
2045
+ };
2046
+ exports.useOptimistic = function (passthrough, reducer) {
2047
+ return resolveDispatcher().useOptimistic(passthrough, reducer);
2048
+ };
2049
+ exports.useReducer = function (reducer, initialArg, init) {
2050
+ return resolveDispatcher().useReducer(reducer, initialArg, init);
2051
+ };
2052
+ exports.useRef = function (initialValue) {
2053
+ return resolveDispatcher().useRef(initialValue);
2054
+ };
2055
+ exports.useState = function (initialState) {
2056
+ return resolveDispatcher().useState(initialState);
2057
+ };
2058
+ exports.useSyncExternalStore = function (
2059
+ subscribe,
2060
+ getSnapshot,
2061
+ getServerSnapshot
2062
+ ) {
2063
+ return resolveDispatcher().useSyncExternalStore(
2064
+ subscribe,
2065
+ getSnapshot,
2066
+ getServerSnapshot
2067
+ );
2068
+ };
2069
+ exports.useTransition = function () {
2070
+ return resolveDispatcher().useTransition();
2071
+ };
2072
+ exports.version = "19.0.0";
2073
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
2074
+ "function" ===
2075
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
2076
+ __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
2077
+ })();
2078
+ } (react_development, react_development.exports));
2079
+ return react_development.exports;
2080
+ }
2081
+
2082
+ var hasRequiredReact;
2083
+
2084
+ function requireReact () {
2085
+ if (hasRequiredReact) return react.exports;
2086
+ hasRequiredReact = 1;
2087
+
2088
+ if (process.env.NODE_ENV === 'production') {
2089
+ react.exports = requireReact_production();
2090
+ } else {
2091
+ react.exports = requireReact_development();
2092
+ }
2093
+ return react.exports;
2094
+ }
2095
+
2096
+ requireReact();
2097
+
2098
+ function JRTest() {
2099
+ return 'JRTest';
2100
+ }
2101
+
2102
+ export { JRTest };