urfu-ui-kit-react 0.0.0 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3049 @@
1
+ function ln(l) {
2
+ return l && l.__esModule && Object.prototype.hasOwnProperty.call(l, "default") ? l.default : l;
3
+ }
4
+ var Kr = { exports: {} }, rr = {}, Jr = { exports: {} }, U = {};
5
+ /**
6
+ * @license React
7
+ * react.production.min.js
8
+ *
9
+ * Copyright (c) Facebook, Inc. and its 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
+ var Rt;
15
+ function fn() {
16
+ if (Rt)
17
+ return U;
18
+ Rt = 1;
19
+ var l = Symbol.for("react.element"), h = Symbol.for("react.portal"), N = Symbol.for("react.fragment"), P = Symbol.for("react.strict_mode"), $ = Symbol.for("react.profiler"), O = Symbol.for("react.provider"), D = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), I = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), S = Symbol.iterator;
20
+ function W(r) {
21
+ return r === null || typeof r != "object" ? null : (r = S && r[S] || r["@@iterator"], typeof r == "function" ? r : null);
22
+ }
23
+ var q = { isMounted: function() {
24
+ return !1;
25
+ }, enqueueForceUpdate: function() {
26
+ }, enqueueReplaceState: function() {
27
+ }, enqueueSetState: function() {
28
+ } }, ee = Object.assign, M = {};
29
+ function Z(r, a, f) {
30
+ this.props = r, this.context = a, this.refs = M, this.updater = f || q;
31
+ }
32
+ Z.prototype.isReactComponent = {}, Z.prototype.setState = function(r, a) {
33
+ if (typeof r != "object" && typeof r != "function" && r != null)
34
+ throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
35
+ this.updater.enqueueSetState(this, r, a, "setState");
36
+ }, Z.prototype.forceUpdate = function(r) {
37
+ this.updater.enqueueForceUpdate(this, r, "forceUpdate");
38
+ };
39
+ function te() {
40
+ }
41
+ te.prototype = Z.prototype;
42
+ function X(r, a, f) {
43
+ this.props = r, this.context = a, this.refs = M, this.updater = f || q;
44
+ }
45
+ var re = X.prototype = new te();
46
+ re.constructor = X, ee(re, Z.prototype), re.isPureReactComponent = !0;
47
+ var H = Array.isArray, s = Object.prototype.hasOwnProperty, oe = { current: null }, be = { key: !0, ref: !0, __self: !0, __source: !0 };
48
+ function Ee(r, a, f) {
49
+ var y, d = {}, w = null, g = null;
50
+ if (a != null)
51
+ for (y in a.ref !== void 0 && (g = a.ref), a.key !== void 0 && (w = "" + a.key), a)
52
+ s.call(a, y) && !be.hasOwnProperty(y) && (d[y] = a[y]);
53
+ var m = arguments.length - 2;
54
+ if (m === 1)
55
+ d.children = f;
56
+ else if (1 < m) {
57
+ for (var b = Array(m), k = 0; k < m; k++)
58
+ b[k] = arguments[k + 2];
59
+ d.children = b;
60
+ }
61
+ if (r && r.defaultProps)
62
+ for (y in m = r.defaultProps, m)
63
+ d[y] === void 0 && (d[y] = m[y]);
64
+ return { $$typeof: l, type: r, key: w, ref: g, props: d, _owner: oe.current };
65
+ }
66
+ function Ce(r, a) {
67
+ return { $$typeof: l, type: r.type, key: a, ref: r.ref, props: r.props, _owner: r._owner };
68
+ }
69
+ function we(r) {
70
+ return typeof r == "object" && r !== null && r.$$typeof === l;
71
+ }
72
+ function xe(r) {
73
+ var a = { "=": "=0", ":": "=2" };
74
+ return "$" + r.replace(/[=:]/g, function(f) {
75
+ return a[f];
76
+ });
77
+ }
78
+ var Te = /\/+/g;
79
+ function pe(r, a) {
80
+ return typeof r == "object" && r !== null && r.key != null ? xe("" + r.key) : a.toString(36);
81
+ }
82
+ function le(r, a, f, y, d) {
83
+ var w = typeof r;
84
+ (w === "undefined" || w === "boolean") && (r = null);
85
+ var g = !1;
86
+ if (r === null)
87
+ g = !0;
88
+ else
89
+ switch (w) {
90
+ case "string":
91
+ case "number":
92
+ g = !0;
93
+ break;
94
+ case "object":
95
+ switch (r.$$typeof) {
96
+ case l:
97
+ case h:
98
+ g = !0;
99
+ }
100
+ }
101
+ if (g)
102
+ return g = r, d = d(g), r = y === "" ? "." + pe(g, 0) : y, H(d) ? (f = "", r != null && (f = r.replace(Te, "$&/") + "/"), le(d, a, f, "", function(k) {
103
+ return k;
104
+ })) : d != null && (we(d) && (d = Ce(d, f + (!d.key || g && g.key === d.key ? "" : ("" + d.key).replace(Te, "$&/") + "/") + r)), a.push(d)), 1;
105
+ if (g = 0, y = y === "" ? "." : y + ":", H(r))
106
+ for (var m = 0; m < r.length; m++) {
107
+ w = r[m];
108
+ var b = y + pe(w, m);
109
+ g += le(w, a, f, b, d);
110
+ }
111
+ else if (b = W(r), typeof b == "function")
112
+ for (r = b.call(r), m = 0; !(w = r.next()).done; )
113
+ w = w.value, b = y + pe(w, m++), g += le(w, a, f, b, d);
114
+ else if (w === "object")
115
+ throw a = String(r), Error("Objects are not valid as a React child (found: " + (a === "[object Object]" ? "object with keys {" + Object.keys(r).join(", ") + "}" : a) + "). If you meant to render a collection of children, use an array instead.");
116
+ return g;
117
+ }
118
+ function fe(r, a, f) {
119
+ if (r == null)
120
+ return r;
121
+ var y = [], d = 0;
122
+ return le(r, y, "", "", function(w) {
123
+ return a.call(f, w, d++);
124
+ }), y;
125
+ }
126
+ function se(r) {
127
+ if (r._status === -1) {
128
+ var a = r._result;
129
+ a = a(), a.then(function(f) {
130
+ (r._status === 0 || r._status === -1) && (r._status = 1, r._result = f);
131
+ }, function(f) {
132
+ (r._status === 0 || r._status === -1) && (r._status = 2, r._result = f);
133
+ }), r._status === -1 && (r._status = 0, r._result = a);
134
+ }
135
+ if (r._status === 1)
136
+ return r._result.default;
137
+ throw r._result;
138
+ }
139
+ var C = { current: null }, ge = { transition: null }, Se = { ReactCurrentDispatcher: C, ReactCurrentBatchConfig: ge, ReactCurrentOwner: oe };
140
+ return U.Children = { map: fe, forEach: function(r, a, f) {
141
+ fe(r, function() {
142
+ a.apply(this, arguments);
143
+ }, f);
144
+ }, count: function(r) {
145
+ var a = 0;
146
+ return fe(r, function() {
147
+ a++;
148
+ }), a;
149
+ }, toArray: function(r) {
150
+ return fe(r, function(a) {
151
+ return a;
152
+ }) || [];
153
+ }, only: function(r) {
154
+ if (!we(r))
155
+ throw Error("React.Children.only expected to receive a single React element child.");
156
+ return r;
157
+ } }, U.Component = Z, U.Fragment = N, U.Profiler = $, U.PureComponent = X, U.StrictMode = P, U.Suspense = j, U.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Se, U.cloneElement = function(r, a, f) {
158
+ if (r == null)
159
+ throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + r + ".");
160
+ var y = ee({}, r.props), d = r.key, w = r.ref, g = r._owner;
161
+ if (a != null) {
162
+ if (a.ref !== void 0 && (w = a.ref, g = oe.current), a.key !== void 0 && (d = "" + a.key), r.type && r.type.defaultProps)
163
+ var m = r.type.defaultProps;
164
+ for (b in a)
165
+ s.call(a, b) && !be.hasOwnProperty(b) && (y[b] = a[b] === void 0 && m !== void 0 ? m[b] : a[b]);
166
+ }
167
+ var b = arguments.length - 2;
168
+ if (b === 1)
169
+ y.children = f;
170
+ else if (1 < b) {
171
+ m = Array(b);
172
+ for (var k = 0; k < b; k++)
173
+ m[k] = arguments[k + 2];
174
+ y.children = m;
175
+ }
176
+ return { $$typeof: l, type: r.type, key: d, ref: w, props: y, _owner: g };
177
+ }, U.createContext = function(r) {
178
+ return r = { $$typeof: D, _currentValue: r, _currentValue2: r, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, r.Provider = { $$typeof: O, _context: r }, r.Consumer = r;
179
+ }, U.createElement = Ee, U.createFactory = function(r) {
180
+ var a = Ee.bind(null, r);
181
+ return a.type = r, a;
182
+ }, U.createRef = function() {
183
+ return { current: null };
184
+ }, U.forwardRef = function(r) {
185
+ return { $$typeof: x, render: r };
186
+ }, U.isValidElement = we, U.lazy = function(r) {
187
+ return { $$typeof: T, _payload: { _status: -1, _result: r }, _init: se };
188
+ }, U.memo = function(r, a) {
189
+ return { $$typeof: I, type: r, compare: a === void 0 ? null : a };
190
+ }, U.startTransition = function(r) {
191
+ var a = ge.transition;
192
+ ge.transition = {};
193
+ try {
194
+ r();
195
+ } finally {
196
+ ge.transition = a;
197
+ }
198
+ }, U.unstable_act = function() {
199
+ throw Error("act(...) is not supported in production builds of React.");
200
+ }, U.useCallback = function(r, a) {
201
+ return C.current.useCallback(r, a);
202
+ }, U.useContext = function(r) {
203
+ return C.current.useContext(r);
204
+ }, U.useDebugValue = function() {
205
+ }, U.useDeferredValue = function(r) {
206
+ return C.current.useDeferredValue(r);
207
+ }, U.useEffect = function(r, a) {
208
+ return C.current.useEffect(r, a);
209
+ }, U.useId = function() {
210
+ return C.current.useId();
211
+ }, U.useImperativeHandle = function(r, a, f) {
212
+ return C.current.useImperativeHandle(r, a, f);
213
+ }, U.useInsertionEffect = function(r, a) {
214
+ return C.current.useInsertionEffect(r, a);
215
+ }, U.useLayoutEffect = function(r, a) {
216
+ return C.current.useLayoutEffect(r, a);
217
+ }, U.useMemo = function(r, a) {
218
+ return C.current.useMemo(r, a);
219
+ }, U.useReducer = function(r, a, f) {
220
+ return C.current.useReducer(r, a, f);
221
+ }, U.useRef = function(r) {
222
+ return C.current.useRef(r);
223
+ }, U.useState = function(r) {
224
+ return C.current.useState(r);
225
+ }, U.useSyncExternalStore = function(r, a, f) {
226
+ return C.current.useSyncExternalStore(r, a, f);
227
+ }, U.useTransition = function() {
228
+ return C.current.useTransition();
229
+ }, U.version = "18.2.0", U;
230
+ }
231
+ var nr = { exports: {} };
232
+ /**
233
+ * @license React
234
+ * react.development.js
235
+ *
236
+ * Copyright (c) Facebook, Inc. and its affiliates.
237
+ *
238
+ * This source code is licensed under the MIT license found in the
239
+ * LICENSE file in the root directory of this source tree.
240
+ */
241
+ nr.exports;
242
+ var Ct;
243
+ function dn() {
244
+ return Ct || (Ct = 1, function(l, h) {
245
+ process.env.NODE_ENV !== "production" && function() {
246
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
247
+ var N = "18.2.0", P = Symbol.for("react.element"), $ = Symbol.for("react.portal"), O = Symbol.for("react.fragment"), D = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), j = Symbol.for("react.provider"), I = Symbol.for("react.context"), T = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), W = Symbol.for("react.suspense_list"), q = Symbol.for("react.memo"), ee = Symbol.for("react.lazy"), M = Symbol.for("react.offscreen"), Z = Symbol.iterator, te = "@@iterator";
248
+ function X(e) {
249
+ if (e === null || typeof e != "object")
250
+ return null;
251
+ var t = Z && e[Z] || e[te];
252
+ return typeof t == "function" ? t : null;
253
+ }
254
+ var re = {
255
+ /**
256
+ * @internal
257
+ * @type {ReactComponent}
258
+ */
259
+ current: null
260
+ }, H = {
261
+ transition: null
262
+ }, s = {
263
+ current: null,
264
+ // Used to reproduce behavior of `batchedUpdates` in legacy mode.
265
+ isBatchingLegacy: !1,
266
+ didScheduleLegacyUpdate: !1
267
+ }, oe = {
268
+ /**
269
+ * @internal
270
+ * @type {ReactComponent}
271
+ */
272
+ current: null
273
+ }, be = {}, Ee = null;
274
+ function Ce(e) {
275
+ Ee = e;
276
+ }
277
+ be.setExtraStackFrame = function(e) {
278
+ Ee = e;
279
+ }, be.getCurrentStack = null, be.getStackAddendum = function() {
280
+ var e = "";
281
+ Ee && (e += Ee);
282
+ var t = be.getCurrentStack;
283
+ return t && (e += t() || ""), e;
284
+ };
285
+ var we = !1, xe = !1, Te = !1, pe = !1, le = !1, fe = {
286
+ ReactCurrentDispatcher: re,
287
+ ReactCurrentBatchConfig: H,
288
+ ReactCurrentOwner: oe
289
+ };
290
+ fe.ReactDebugCurrentFrame = be, fe.ReactCurrentActQueue = s;
291
+ function se(e) {
292
+ {
293
+ for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
294
+ o[i - 1] = arguments[i];
295
+ ge("warn", e, o);
296
+ }
297
+ }
298
+ function C(e) {
299
+ {
300
+ for (var t = arguments.length, o = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
301
+ o[i - 1] = arguments[i];
302
+ ge("error", e, o);
303
+ }
304
+ }
305
+ function ge(e, t, o) {
306
+ {
307
+ var i = fe.ReactDebugCurrentFrame, c = i.getStackAddendum();
308
+ c !== "" && (t += "%s", o = o.concat([c]));
309
+ var A = o.map(function(E) {
310
+ return String(E);
311
+ });
312
+ A.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, A);
313
+ }
314
+ }
315
+ var Se = {};
316
+ function r(e, t) {
317
+ {
318
+ var o = e.constructor, i = o && (o.displayName || o.name) || "ReactClass", c = i + "." + t;
319
+ if (Se[c])
320
+ return;
321
+ C("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, i), Se[c] = !0;
322
+ }
323
+ }
324
+ var a = {
325
+ /**
326
+ * Checks whether or not this composite component is mounted.
327
+ * @param {ReactClass} publicInstance The instance we want to test.
328
+ * @return {boolean} True if mounted, false otherwise.
329
+ * @protected
330
+ * @final
331
+ */
332
+ isMounted: function(e) {
333
+ return !1;
334
+ },
335
+ /**
336
+ * Forces an update. This should only be invoked when it is known with
337
+ * certainty that we are **not** in a DOM transaction.
338
+ *
339
+ * You may want to call this when you know that some deeper aspect of the
340
+ * component's state has changed but `setState` was not called.
341
+ *
342
+ * This will not invoke `shouldComponentUpdate`, but it will invoke
343
+ * `componentWillUpdate` and `componentDidUpdate`.
344
+ *
345
+ * @param {ReactClass} publicInstance The instance that should rerender.
346
+ * @param {?function} callback Called after component is updated.
347
+ * @param {?string} callerName name of the calling function in the public API.
348
+ * @internal
349
+ */
350
+ enqueueForceUpdate: function(e, t, o) {
351
+ r(e, "forceUpdate");
352
+ },
353
+ /**
354
+ * Replaces all of the state. Always use this or `setState` to mutate state.
355
+ * You should treat `this.state` as immutable.
356
+ *
357
+ * There is no guarantee that `this.state` will be immediately updated, so
358
+ * accessing `this.state` after calling this method may return the old value.
359
+ *
360
+ * @param {ReactClass} publicInstance The instance that should rerender.
361
+ * @param {object} completeState Next state.
362
+ * @param {?function} callback Called after component is updated.
363
+ * @param {?string} callerName name of the calling function in the public API.
364
+ * @internal
365
+ */
366
+ enqueueReplaceState: function(e, t, o, i) {
367
+ r(e, "replaceState");
368
+ },
369
+ /**
370
+ * Sets a subset of the state. This only exists because _pendingState is
371
+ * internal. This provides a merging strategy that is not available to deep
372
+ * properties which is confusing. TODO: Expose pendingState or don't use it
373
+ * during the merge.
374
+ *
375
+ * @param {ReactClass} publicInstance The instance that should rerender.
376
+ * @param {object} partialState Next partial state to be merged with state.
377
+ * @param {?function} callback Called after component is updated.
378
+ * @param {?string} Name of the calling function in the public API.
379
+ * @internal
380
+ */
381
+ enqueueSetState: function(e, t, o, i) {
382
+ r(e, "setState");
383
+ }
384
+ }, f = Object.assign, y = {};
385
+ Object.freeze(y);
386
+ function d(e, t, o) {
387
+ this.props = e, this.context = t, this.refs = y, this.updater = o || a;
388
+ }
389
+ d.prototype.isReactComponent = {}, d.prototype.setState = function(e, t) {
390
+ if (typeof e != "object" && typeof e != "function" && e != null)
391
+ throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
392
+ this.updater.enqueueSetState(this, e, t, "setState");
393
+ }, d.prototype.forceUpdate = function(e) {
394
+ this.updater.enqueueForceUpdate(this, e, "forceUpdate");
395
+ };
396
+ {
397
+ var w = {
398
+ isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
399
+ replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
400
+ }, g = function(e, t) {
401
+ Object.defineProperty(d.prototype, e, {
402
+ get: function() {
403
+ se("%s(...) is deprecated in plain JavaScript React classes. %s", t[0], t[1]);
404
+ }
405
+ });
406
+ };
407
+ for (var m in w)
408
+ w.hasOwnProperty(m) && g(m, w[m]);
409
+ }
410
+ function b() {
411
+ }
412
+ b.prototype = d.prototype;
413
+ function k(e, t, o) {
414
+ this.props = e, this.context = t, this.refs = y, this.updater = o || a;
415
+ }
416
+ var L = k.prototype = new b();
417
+ L.constructor = k, f(L, d.prototype), L.isPureReactComponent = !0;
418
+ function ve() {
419
+ var e = {
420
+ current: null
421
+ };
422
+ return Object.seal(e), e;
423
+ }
424
+ var v = Array.isArray;
425
+ function ye(e) {
426
+ return v(e);
427
+ }
428
+ function Ae(e) {
429
+ {
430
+ var t = typeof Symbol == "function" && Symbol.toStringTag, o = t && e[Symbol.toStringTag] || e.constructor.name || "Object";
431
+ return o;
432
+ }
433
+ }
434
+ function je(e) {
435
+ try {
436
+ return Me(e), !1;
437
+ } catch {
438
+ return !0;
439
+ }
440
+ }
441
+ function Me(e) {
442
+ return "" + e;
443
+ }
444
+ function Le(e) {
445
+ if (je(e))
446
+ return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ae(e)), Me(e);
447
+ }
448
+ function ar(e, t, o) {
449
+ var i = e.displayName;
450
+ if (i)
451
+ return i;
452
+ var c = t.displayName || t.name || "";
453
+ return c !== "" ? o + "(" + c + ")" : o;
454
+ }
455
+ function Ne(e) {
456
+ return e.displayName || "Context";
457
+ }
458
+ function Pe(e) {
459
+ if (e == null)
460
+ return null;
461
+ if (typeof e.tag == "number" && C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
462
+ return e.displayName || e.name || null;
463
+ if (typeof e == "string")
464
+ return e;
465
+ switch (e) {
466
+ case O:
467
+ return "Fragment";
468
+ case $:
469
+ return "Portal";
470
+ case x:
471
+ return "Profiler";
472
+ case D:
473
+ return "StrictMode";
474
+ case S:
475
+ return "Suspense";
476
+ case W:
477
+ return "SuspenseList";
478
+ }
479
+ if (typeof e == "object")
480
+ switch (e.$$typeof) {
481
+ case I:
482
+ var t = e;
483
+ return Ne(t) + ".Consumer";
484
+ case j:
485
+ var o = e;
486
+ return Ne(o._context) + ".Provider";
487
+ case T:
488
+ return ar(e, e.render, "ForwardRef");
489
+ case q:
490
+ var i = e.displayName || null;
491
+ return i !== null ? i : Pe(e.type) || "Memo";
492
+ case ee: {
493
+ var c = e, A = c._payload, E = c._init;
494
+ try {
495
+ return Pe(E(A));
496
+ } catch {
497
+ return null;
498
+ }
499
+ }
500
+ }
501
+ return null;
502
+ }
503
+ var Ye = Object.prototype.hasOwnProperty, Be = {
504
+ key: !0,
505
+ ref: !0,
506
+ __self: !0,
507
+ __source: !0
508
+ }, or, ir, ze;
509
+ ze = {};
510
+ function Ze(e) {
511
+ if (Ye.call(e, "ref")) {
512
+ var t = Object.getOwnPropertyDescriptor(e, "ref").get;
513
+ if (t && t.isReactWarning)
514
+ return !1;
515
+ }
516
+ return e.ref !== void 0;
517
+ }
518
+ function Ie(e) {
519
+ if (Ye.call(e, "key")) {
520
+ var t = Object.getOwnPropertyDescriptor(e, "key").get;
521
+ if (t && t.isReactWarning)
522
+ return !1;
523
+ }
524
+ return e.key !== void 0;
525
+ }
526
+ function Cr(e, t) {
527
+ var o = function() {
528
+ or || (or = !0, C("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
529
+ };
530
+ o.isReactWarning = !0, Object.defineProperty(e, "key", {
531
+ get: o,
532
+ configurable: !0
533
+ });
534
+ }
535
+ function ur(e, t) {
536
+ var o = function() {
537
+ ir || (ir = !0, C("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", t));
538
+ };
539
+ o.isReactWarning = !0, Object.defineProperty(e, "ref", {
540
+ get: o,
541
+ configurable: !0
542
+ });
543
+ }
544
+ function sr(e) {
545
+ if (typeof e.ref == "string" && oe.current && e.__self && oe.current.stateNode !== e.__self) {
546
+ var t = Pe(oe.current.type);
547
+ ze[t] || (C('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', t, e.ref), ze[t] = !0);
548
+ }
549
+ }
550
+ var We = function(e, t, o, i, c, A, E) {
551
+ var F = {
552
+ // This tag allows us to uniquely identify this as a React Element
553
+ $$typeof: P,
554
+ // Built-in properties that belong on the element
555
+ type: e,
556
+ key: t,
557
+ ref: o,
558
+ props: E,
559
+ // Record the component responsible for creating this element.
560
+ _owner: A
561
+ };
562
+ return F._store = {}, Object.defineProperty(F._store, "validated", {
563
+ configurable: !1,
564
+ enumerable: !1,
565
+ writable: !0,
566
+ value: !1
567
+ }), Object.defineProperty(F, "_self", {
568
+ configurable: !1,
569
+ enumerable: !1,
570
+ writable: !1,
571
+ value: i
572
+ }), Object.defineProperty(F, "_source", {
573
+ configurable: !1,
574
+ enumerable: !1,
575
+ writable: !1,
576
+ value: c
577
+ }), Object.freeze && (Object.freeze(F.props), Object.freeze(F)), F;
578
+ };
579
+ function wr(e, t, o) {
580
+ var i, c = {}, A = null, E = null, F = null, B = null;
581
+ if (t != null) {
582
+ Ze(t) && (E = t.ref, sr(t)), Ie(t) && (Le(t.key), A = "" + t.key), F = t.__self === void 0 ? null : t.__self, B = t.__source === void 0 ? null : t.__source;
583
+ for (i in t)
584
+ Ye.call(t, i) && !Be.hasOwnProperty(i) && (c[i] = t[i]);
585
+ }
586
+ var Q = arguments.length - 2;
587
+ if (Q === 1)
588
+ c.children = o;
589
+ else if (Q > 1) {
590
+ for (var ne = Array(Q), ae = 0; ae < Q; ae++)
591
+ ne[ae] = arguments[ae + 2];
592
+ Object.freeze && Object.freeze(ne), c.children = ne;
593
+ }
594
+ if (e && e.defaultProps) {
595
+ var ue = e.defaultProps;
596
+ for (i in ue)
597
+ c[i] === void 0 && (c[i] = ue[i]);
598
+ }
599
+ if (A || E) {
600
+ var de = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
601
+ A && Cr(c, de), E && ur(c, de);
602
+ }
603
+ return We(e, A, E, F, B, oe.current, c);
604
+ }
605
+ function Tr(e, t) {
606
+ var o = We(e.type, t, e.ref, e._self, e._source, e._owner, e.props);
607
+ return o;
608
+ }
609
+ function Sr(e, t, o) {
610
+ if (e == null)
611
+ throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
612
+ var i, c = f({}, e.props), A = e.key, E = e.ref, F = e._self, B = e._source, Q = e._owner;
613
+ if (t != null) {
614
+ Ze(t) && (E = t.ref, Q = oe.current), Ie(t) && (Le(t.key), A = "" + t.key);
615
+ var ne;
616
+ e.type && e.type.defaultProps && (ne = e.type.defaultProps);
617
+ for (i in t)
618
+ Ye.call(t, i) && !Be.hasOwnProperty(i) && (t[i] === void 0 && ne !== void 0 ? c[i] = ne[i] : c[i] = t[i]);
619
+ }
620
+ var ae = arguments.length - 2;
621
+ if (ae === 1)
622
+ c.children = o;
623
+ else if (ae > 1) {
624
+ for (var ue = Array(ae), de = 0; de < ae; de++)
625
+ ue[de] = arguments[de + 2];
626
+ c.children = ue;
627
+ }
628
+ return We(e.type, A, E, F, B, Q, c);
629
+ }
630
+ function Fe(e) {
631
+ return typeof e == "object" && e !== null && e.$$typeof === P;
632
+ }
633
+ var cr = ".", Or = ":";
634
+ function xr(e) {
635
+ var t = /[=:]/g, o = {
636
+ "=": "=0",
637
+ ":": "=2"
638
+ }, i = e.replace(t, function(c) {
639
+ return o[c];
640
+ });
641
+ return "$" + i;
642
+ }
643
+ var He = !1, lr = /\/+/g;
644
+ function ke(e) {
645
+ return e.replace(lr, "$&/");
646
+ }
647
+ function Ue(e, t) {
648
+ return typeof e == "object" && e !== null && e.key != null ? (Le(e.key), xr("" + e.key)) : t.toString(36);
649
+ }
650
+ function $e(e, t, o, i, c) {
651
+ var A = typeof e;
652
+ (A === "undefined" || A === "boolean") && (e = null);
653
+ var E = !1;
654
+ if (e === null)
655
+ E = !0;
656
+ else
657
+ switch (A) {
658
+ case "string":
659
+ case "number":
660
+ E = !0;
661
+ break;
662
+ case "object":
663
+ switch (e.$$typeof) {
664
+ case P:
665
+ case $:
666
+ E = !0;
667
+ }
668
+ }
669
+ if (E) {
670
+ var F = e, B = c(F), Q = i === "" ? cr + Ue(F, 0) : i;
671
+ if (ye(B)) {
672
+ var ne = "";
673
+ Q != null && (ne = ke(Q) + "/"), $e(B, t, ne, "", function(cn) {
674
+ return cn;
675
+ });
676
+ } else
677
+ B != null && (Fe(B) && (B.key && (!F || F.key !== B.key) && Le(B.key), B = Tr(
678
+ B,
679
+ // Keep both the (mapped) and old keys if they differ, just as
680
+ // traverseAllChildren used to do for objects as children
681
+ o + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
682
+ (B.key && (!F || F.key !== B.key) ? (
683
+ // $FlowFixMe Flow incorrectly thinks existing element's key can be a number
684
+ // eslint-disable-next-line react-internal/safe-string-coercion
685
+ ke("" + B.key) + "/"
686
+ ) : "") + Q
687
+ )), t.push(B));
688
+ return 1;
689
+ }
690
+ var ae, ue, de = 0, me = i === "" ? cr : i + Or;
691
+ if (ye(e))
692
+ for (var Er = 0; Er < e.length; Er++)
693
+ ae = e[Er], ue = me + Ue(ae, Er), de += $e(ae, t, o, ue, c);
694
+ else {
695
+ var Ur = X(e);
696
+ if (typeof Ur == "function") {
697
+ var bt = e;
698
+ Ur === bt.entries && (He || se("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), He = !0);
699
+ for (var un = Ur.call(bt), _t, sn = 0; !(_t = un.next()).done; )
700
+ ae = _t.value, ue = me + Ue(ae, sn++), de += $e(ae, t, o, ue, c);
701
+ } else if (A === "object") {
702
+ var Et = String(e);
703
+ throw new Error("Objects are not valid as a React child (found: " + (Et === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : Et) + "). If you meant to render a collection of children, use an array instead.");
704
+ }
705
+ }
706
+ return de;
707
+ }
708
+ function Ve(e, t, o) {
709
+ if (e == null)
710
+ return e;
711
+ var i = [], c = 0;
712
+ return $e(e, i, "", "", function(A) {
713
+ return t.call(o, A, c++);
714
+ }), i;
715
+ }
716
+ function Pr(e) {
717
+ var t = 0;
718
+ return Ve(e, function() {
719
+ t++;
720
+ }), t;
721
+ }
722
+ function fr(e, t, o) {
723
+ Ve(e, function() {
724
+ t.apply(this, arguments);
725
+ }, o);
726
+ }
727
+ function jr(e) {
728
+ return Ve(e, function(t) {
729
+ return t;
730
+ }) || [];
731
+ }
732
+ function dr(e) {
733
+ if (!Fe(e))
734
+ throw new Error("React.Children.only expected to receive a single React element child.");
735
+ return e;
736
+ }
737
+ function pr(e) {
738
+ var t = {
739
+ $$typeof: I,
740
+ // As a workaround to support multiple concurrent renderers, we categorize
741
+ // some renderers as primary and others as secondary. We only expect
742
+ // there to be two concurrent renderers at most: React Native (primary) and
743
+ // Fabric (secondary); React DOM (primary) and React ART (secondary).
744
+ // Secondary renderers store their context values on separate fields.
745
+ _currentValue: e,
746
+ _currentValue2: e,
747
+ // Used to track how many concurrent renderers this context currently
748
+ // supports within in a single renderer. Such as parallel server rendering.
749
+ _threadCount: 0,
750
+ // These are circular
751
+ Provider: null,
752
+ Consumer: null,
753
+ // Add these to use same hidden class in VM as ServerContext
754
+ _defaultValue: null,
755
+ _globalName: null
756
+ };
757
+ t.Provider = {
758
+ $$typeof: j,
759
+ _context: t
760
+ };
761
+ var o = !1, i = !1, c = !1;
762
+ {
763
+ var A = {
764
+ $$typeof: I,
765
+ _context: t
766
+ };
767
+ Object.defineProperties(A, {
768
+ Provider: {
769
+ get: function() {
770
+ return i || (i = !0, C("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), t.Provider;
771
+ },
772
+ set: function(E) {
773
+ t.Provider = E;
774
+ }
775
+ },
776
+ _currentValue: {
777
+ get: function() {
778
+ return t._currentValue;
779
+ },
780
+ set: function(E) {
781
+ t._currentValue = E;
782
+ }
783
+ },
784
+ _currentValue2: {
785
+ get: function() {
786
+ return t._currentValue2;
787
+ },
788
+ set: function(E) {
789
+ t._currentValue2 = E;
790
+ }
791
+ },
792
+ _threadCount: {
793
+ get: function() {
794
+ return t._threadCount;
795
+ },
796
+ set: function(E) {
797
+ t._threadCount = E;
798
+ }
799
+ },
800
+ Consumer: {
801
+ get: function() {
802
+ return o || (o = !0, C("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), t.Consumer;
803
+ }
804
+ },
805
+ displayName: {
806
+ get: function() {
807
+ return t.displayName;
808
+ },
809
+ set: function(E) {
810
+ c || (se("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", E), c = !0);
811
+ }
812
+ }
813
+ }), t.Consumer = A;
814
+ }
815
+ return t._currentRenderer = null, t._currentRenderer2 = null, t;
816
+ }
817
+ var qe = -1, Xe = 0, Qe = 1, kr = 2;
818
+ function Ar(e) {
819
+ if (e._status === qe) {
820
+ var t = e._result, o = t();
821
+ if (o.then(function(A) {
822
+ if (e._status === Xe || e._status === qe) {
823
+ var E = e;
824
+ E._status = Qe, E._result = A;
825
+ }
826
+ }, function(A) {
827
+ if (e._status === Xe || e._status === qe) {
828
+ var E = e;
829
+ E._status = kr, E._result = A;
830
+ }
831
+ }), e._status === qe) {
832
+ var i = e;
833
+ i._status = Xe, i._result = o;
834
+ }
835
+ }
836
+ if (e._status === Qe) {
837
+ var c = e._result;
838
+ return c === void 0 && C(`lazy: Expected the result of a dynamic import() call. Instead received: %s
839
+
840
+ Your code should look like:
841
+ const MyComponent = lazy(() => import('./MyComponent'))
842
+
843
+ Did you accidentally put curly braces around the import?`, c), "default" in c || C(`lazy: Expected the result of a dynamic import() call. Instead received: %s
844
+
845
+ Your code should look like:
846
+ const MyComponent = lazy(() => import('./MyComponent'))`, c), c.default;
847
+ } else
848
+ throw e._result;
849
+ }
850
+ function Ir(e) {
851
+ var t = {
852
+ // We use these fields to store the result.
853
+ _status: qe,
854
+ _result: e
855
+ }, o = {
856
+ $$typeof: ee,
857
+ _payload: t,
858
+ _init: Ar
859
+ };
860
+ {
861
+ var i, c;
862
+ Object.defineProperties(o, {
863
+ defaultProps: {
864
+ configurable: !0,
865
+ get: function() {
866
+ return i;
867
+ },
868
+ set: function(A) {
869
+ C("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), i = A, Object.defineProperty(o, "defaultProps", {
870
+ enumerable: !0
871
+ });
872
+ }
873
+ },
874
+ propTypes: {
875
+ configurable: !0,
876
+ get: function() {
877
+ return c;
878
+ },
879
+ set: function(A) {
880
+ C("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), c = A, Object.defineProperty(o, "propTypes", {
881
+ enumerable: !0
882
+ });
883
+ }
884
+ }
885
+ });
886
+ }
887
+ return o;
888
+ }
889
+ function Fr(e) {
890
+ e != null && e.$$typeof === q ? C("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? C("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && C("forwardRef render functions accept exactly two parameters: props and ref. %s", e.length === 1 ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined."), e != null && (e.defaultProps != null || e.propTypes != null) && C("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
891
+ var t = {
892
+ $$typeof: T,
893
+ render: e
894
+ };
895
+ {
896
+ var o;
897
+ Object.defineProperty(t, "displayName", {
898
+ enumerable: !1,
899
+ configurable: !0,
900
+ get: function() {
901
+ return o;
902
+ },
903
+ set: function(i) {
904
+ o = i, !e.name && !e.displayName && (e.displayName = i);
905
+ }
906
+ });
907
+ }
908
+ return t;
909
+ }
910
+ var n;
911
+ n = Symbol.for("react.module.reference");
912
+ function u(e) {
913
+ return !!(typeof e == "string" || typeof e == "function" || e === O || e === x || le || e === D || e === S || e === W || pe || e === M || we || xe || Te || typeof e == "object" && e !== null && (e.$$typeof === ee || e.$$typeof === q || e.$$typeof === j || e.$$typeof === I || e.$$typeof === T || // This needs to include all possible module reference object
914
+ // types supported by any Flight configuration anywhere since
915
+ // we don't know which Flight build this will end up being used
916
+ // with.
917
+ e.$$typeof === n || e.getModuleId !== void 0));
918
+ }
919
+ function p(e, t) {
920
+ u(e) || C("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
921
+ var o = {
922
+ $$typeof: q,
923
+ type: e,
924
+ compare: t === void 0 ? null : t
925
+ };
926
+ {
927
+ var i;
928
+ Object.defineProperty(o, "displayName", {
929
+ enumerable: !1,
930
+ configurable: !0,
931
+ get: function() {
932
+ return i;
933
+ },
934
+ set: function(c) {
935
+ i = c, !e.name && !e.displayName && (e.displayName = c);
936
+ }
937
+ });
938
+ }
939
+ return o;
940
+ }
941
+ function _() {
942
+ var e = re.current;
943
+ return e === null && C(`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:
944
+ 1. You might have mismatching versions of React and the renderer (such as React DOM)
945
+ 2. You might be breaking the Rules of Hooks
946
+ 3. You might have more than one copy of React in the same app
947
+ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
948
+ }
949
+ function z(e) {
950
+ var t = _();
951
+ if (e._context !== void 0) {
952
+ var o = e._context;
953
+ o.Consumer === e ? C("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?") : o.Provider === e && C("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
954
+ }
955
+ return t.useContext(e);
956
+ }
957
+ function J(e) {
958
+ var t = _();
959
+ return t.useState(e);
960
+ }
961
+ function V(e, t, o) {
962
+ var i = _();
963
+ return i.useReducer(e, t, o);
964
+ }
965
+ function Y(e) {
966
+ var t = _();
967
+ return t.useRef(e);
968
+ }
969
+ function he(e, t) {
970
+ var o = _();
971
+ return o.useEffect(e, t);
972
+ }
973
+ function ie(e, t) {
974
+ var o = _();
975
+ return o.useInsertionEffect(e, t);
976
+ }
977
+ function ce(e, t) {
978
+ var o = _();
979
+ return o.useLayoutEffect(e, t);
980
+ }
981
+ function _e(e, t) {
982
+ var o = _();
983
+ return o.useCallback(e, t);
984
+ }
985
+ function De(e, t) {
986
+ var o = _();
987
+ return o.useMemo(e, t);
988
+ }
989
+ function vr(e, t, o) {
990
+ var i = _();
991
+ return i.useImperativeHandle(e, t, o);
992
+ }
993
+ function Oe(e, t) {
994
+ {
995
+ var o = _();
996
+ return o.useDebugValue(e, t);
997
+ }
998
+ }
999
+ function Mt() {
1000
+ var e = _();
1001
+ return e.useTransition();
1002
+ }
1003
+ function Lt(e) {
1004
+ var t = _();
1005
+ return t.useDeferredValue(e);
1006
+ }
1007
+ function Nt() {
1008
+ var e = _();
1009
+ return e.useId();
1010
+ }
1011
+ function Yt(e, t, o) {
1012
+ var i = _();
1013
+ return i.useSyncExternalStore(e, t, o);
1014
+ }
1015
+ var er = 0, Qr, et, rt, tt, nt, at, ot;
1016
+ function it() {
1017
+ }
1018
+ it.__reactDisabledLog = !0;
1019
+ function Wt() {
1020
+ {
1021
+ if (er === 0) {
1022
+ Qr = console.log, et = console.info, rt = console.warn, tt = console.error, nt = console.group, at = console.groupCollapsed, ot = console.groupEnd;
1023
+ var e = {
1024
+ configurable: !0,
1025
+ enumerable: !0,
1026
+ value: it,
1027
+ writable: !0
1028
+ };
1029
+ Object.defineProperties(console, {
1030
+ info: e,
1031
+ log: e,
1032
+ warn: e,
1033
+ error: e,
1034
+ group: e,
1035
+ groupCollapsed: e,
1036
+ groupEnd: e
1037
+ });
1038
+ }
1039
+ er++;
1040
+ }
1041
+ }
1042
+ function Ut() {
1043
+ {
1044
+ if (er--, er === 0) {
1045
+ var e = {
1046
+ configurable: !0,
1047
+ enumerable: !0,
1048
+ writable: !0
1049
+ };
1050
+ Object.defineProperties(console, {
1051
+ log: f({}, e, {
1052
+ value: Qr
1053
+ }),
1054
+ info: f({}, e, {
1055
+ value: et
1056
+ }),
1057
+ warn: f({}, e, {
1058
+ value: rt
1059
+ }),
1060
+ error: f({}, e, {
1061
+ value: tt
1062
+ }),
1063
+ group: f({}, e, {
1064
+ value: nt
1065
+ }),
1066
+ groupCollapsed: f({}, e, {
1067
+ value: at
1068
+ }),
1069
+ groupEnd: f({}, e, {
1070
+ value: ot
1071
+ })
1072
+ });
1073
+ }
1074
+ er < 0 && C("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1075
+ }
1076
+ }
1077
+ var $r = fe.ReactCurrentDispatcher, Dr;
1078
+ function yr(e, t, o) {
1079
+ {
1080
+ if (Dr === void 0)
1081
+ try {
1082
+ throw Error();
1083
+ } catch (c) {
1084
+ var i = c.stack.trim().match(/\n( *(at )?)/);
1085
+ Dr = i && i[1] || "";
1086
+ }
1087
+ return `
1088
+ ` + Dr + e;
1089
+ }
1090
+ }
1091
+ var Mr = !1, hr;
1092
+ {
1093
+ var Vt = typeof WeakMap == "function" ? WeakMap : Map;
1094
+ hr = new Vt();
1095
+ }
1096
+ function ut(e, t) {
1097
+ if (!e || Mr)
1098
+ return "";
1099
+ {
1100
+ var o = hr.get(e);
1101
+ if (o !== void 0)
1102
+ return o;
1103
+ }
1104
+ var i;
1105
+ Mr = !0;
1106
+ var c = Error.prepareStackTrace;
1107
+ Error.prepareStackTrace = void 0;
1108
+ var A;
1109
+ A = $r.current, $r.current = null, Wt();
1110
+ try {
1111
+ if (t) {
1112
+ var E = function() {
1113
+ throw Error();
1114
+ };
1115
+ if (Object.defineProperty(E.prototype, "props", {
1116
+ set: function() {
1117
+ throw Error();
1118
+ }
1119
+ }), typeof Reflect == "object" && Reflect.construct) {
1120
+ try {
1121
+ Reflect.construct(E, []);
1122
+ } catch (me) {
1123
+ i = me;
1124
+ }
1125
+ Reflect.construct(e, [], E);
1126
+ } else {
1127
+ try {
1128
+ E.call();
1129
+ } catch (me) {
1130
+ i = me;
1131
+ }
1132
+ e.call(E.prototype);
1133
+ }
1134
+ } else {
1135
+ try {
1136
+ throw Error();
1137
+ } catch (me) {
1138
+ i = me;
1139
+ }
1140
+ e();
1141
+ }
1142
+ } catch (me) {
1143
+ if (me && i && typeof me.stack == "string") {
1144
+ for (var F = me.stack.split(`
1145
+ `), B = i.stack.split(`
1146
+ `), Q = F.length - 1, ne = B.length - 1; Q >= 1 && ne >= 0 && F[Q] !== B[ne]; )
1147
+ ne--;
1148
+ for (; Q >= 1 && ne >= 0; Q--, ne--)
1149
+ if (F[Q] !== B[ne]) {
1150
+ if (Q !== 1 || ne !== 1)
1151
+ do
1152
+ if (Q--, ne--, ne < 0 || F[Q] !== B[ne]) {
1153
+ var ae = `
1154
+ ` + F[Q].replace(" at new ", " at ");
1155
+ return e.displayName && ae.includes("<anonymous>") && (ae = ae.replace("<anonymous>", e.displayName)), typeof e == "function" && hr.set(e, ae), ae;
1156
+ }
1157
+ while (Q >= 1 && ne >= 0);
1158
+ break;
1159
+ }
1160
+ }
1161
+ } finally {
1162
+ Mr = !1, $r.current = A, Ut(), Error.prepareStackTrace = c;
1163
+ }
1164
+ var ue = e ? e.displayName || e.name : "", de = ue ? yr(ue) : "";
1165
+ return typeof e == "function" && hr.set(e, de), de;
1166
+ }
1167
+ function qt(e, t, o) {
1168
+ return ut(e, !1);
1169
+ }
1170
+ function Bt(e) {
1171
+ var t = e.prototype;
1172
+ return !!(t && t.isReactComponent);
1173
+ }
1174
+ function mr(e, t, o) {
1175
+ if (e == null)
1176
+ return "";
1177
+ if (typeof e == "function")
1178
+ return ut(e, Bt(e));
1179
+ if (typeof e == "string")
1180
+ return yr(e);
1181
+ switch (e) {
1182
+ case S:
1183
+ return yr("Suspense");
1184
+ case W:
1185
+ return yr("SuspenseList");
1186
+ }
1187
+ if (typeof e == "object")
1188
+ switch (e.$$typeof) {
1189
+ case T:
1190
+ return qt(e.render);
1191
+ case q:
1192
+ return mr(e.type, t, o);
1193
+ case ee: {
1194
+ var i = e, c = i._payload, A = i._init;
1195
+ try {
1196
+ return mr(A(c), t, o);
1197
+ } catch {
1198
+ }
1199
+ }
1200
+ }
1201
+ return "";
1202
+ }
1203
+ var st = {}, ct = fe.ReactDebugCurrentFrame;
1204
+ function gr(e) {
1205
+ if (e) {
1206
+ var t = e._owner, o = mr(e.type, e._source, t ? t.type : null);
1207
+ ct.setExtraStackFrame(o);
1208
+ } else
1209
+ ct.setExtraStackFrame(null);
1210
+ }
1211
+ function zt(e, t, o, i, c) {
1212
+ {
1213
+ var A = Function.call.bind(Ye);
1214
+ for (var E in e)
1215
+ if (A(e, E)) {
1216
+ var F = void 0;
1217
+ try {
1218
+ if (typeof e[E] != "function") {
1219
+ var B = Error((i || "React class") + ": " + o + " type `" + E + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[E] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1220
+ throw B.name = "Invariant Violation", B;
1221
+ }
1222
+ F = e[E](t, E, i, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1223
+ } catch (Q) {
1224
+ F = Q;
1225
+ }
1226
+ F && !(F instanceof Error) && (gr(c), C("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", o, E, typeof F), gr(null)), F instanceof Error && !(F.message in st) && (st[F.message] = !0, gr(c), C("Failed %s type: %s", o, F.message), gr(null));
1227
+ }
1228
+ }
1229
+ }
1230
+ function Ge(e) {
1231
+ if (e) {
1232
+ var t = e._owner, o = mr(e.type, e._source, t ? t.type : null);
1233
+ Ce(o);
1234
+ } else
1235
+ Ce(null);
1236
+ }
1237
+ var Lr;
1238
+ Lr = !1;
1239
+ function lt() {
1240
+ if (oe.current) {
1241
+ var e = Pe(oe.current.type);
1242
+ if (e)
1243
+ return `
1244
+
1245
+ Check the render method of \`` + e + "`.";
1246
+ }
1247
+ return "";
1248
+ }
1249
+ function Ht(e) {
1250
+ if (e !== void 0) {
1251
+ var t = e.fileName.replace(/^.*[\\\/]/, ""), o = e.lineNumber;
1252
+ return `
1253
+
1254
+ Check your code at ` + t + ":" + o + ".";
1255
+ }
1256
+ return "";
1257
+ }
1258
+ function Gt(e) {
1259
+ return e != null ? Ht(e.__source) : "";
1260
+ }
1261
+ var ft = {};
1262
+ function Kt(e) {
1263
+ var t = lt();
1264
+ if (!t) {
1265
+ var o = typeof e == "string" ? e : e.displayName || e.name;
1266
+ o && (t = `
1267
+
1268
+ Check the top-level render call using <` + o + ">.");
1269
+ }
1270
+ return t;
1271
+ }
1272
+ function dt(e, t) {
1273
+ if (!(!e._store || e._store.validated || e.key != null)) {
1274
+ e._store.validated = !0;
1275
+ var o = Kt(t);
1276
+ if (!ft[o]) {
1277
+ ft[o] = !0;
1278
+ var i = "";
1279
+ e && e._owner && e._owner !== oe.current && (i = " It was passed a child from " + Pe(e._owner.type) + "."), Ge(e), C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, i), Ge(null);
1280
+ }
1281
+ }
1282
+ }
1283
+ function pt(e, t) {
1284
+ if (typeof e == "object") {
1285
+ if (ye(e))
1286
+ for (var o = 0; o < e.length; o++) {
1287
+ var i = e[o];
1288
+ Fe(i) && dt(i, t);
1289
+ }
1290
+ else if (Fe(e))
1291
+ e._store && (e._store.validated = !0);
1292
+ else if (e) {
1293
+ var c = X(e);
1294
+ if (typeof c == "function" && c !== e.entries)
1295
+ for (var A = c.call(e), E; !(E = A.next()).done; )
1296
+ Fe(E.value) && dt(E.value, t);
1297
+ }
1298
+ }
1299
+ }
1300
+ function vt(e) {
1301
+ {
1302
+ var t = e.type;
1303
+ if (t == null || typeof t == "string")
1304
+ return;
1305
+ var o;
1306
+ if (typeof t == "function")
1307
+ o = t.propTypes;
1308
+ else if (typeof t == "object" && (t.$$typeof === T || // Note: Memo only checks outer props here.
1309
+ // Inner props are checked in the reconciler.
1310
+ t.$$typeof === q))
1311
+ o = t.propTypes;
1312
+ else
1313
+ return;
1314
+ if (o) {
1315
+ var i = Pe(t);
1316
+ zt(o, e.props, "prop", i, e);
1317
+ } else if (t.PropTypes !== void 0 && !Lr) {
1318
+ Lr = !0;
1319
+ var c = Pe(t);
1320
+ C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", c || "Unknown");
1321
+ }
1322
+ typeof t.getDefaultProps == "function" && !t.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1323
+ }
1324
+ }
1325
+ function Jt(e) {
1326
+ {
1327
+ for (var t = Object.keys(e.props), o = 0; o < t.length; o++) {
1328
+ var i = t[o];
1329
+ if (i !== "children" && i !== "key") {
1330
+ Ge(e), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), Ge(null);
1331
+ break;
1332
+ }
1333
+ }
1334
+ e.ref !== null && (Ge(e), C("Invalid attribute `ref` supplied to `React.Fragment`."), Ge(null));
1335
+ }
1336
+ }
1337
+ function yt(e, t, o) {
1338
+ var i = u(e);
1339
+ if (!i) {
1340
+ var c = "";
1341
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (c += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1342
+ var A = Gt(t);
1343
+ A ? c += A : c += lt();
1344
+ var E;
1345
+ e === null ? E = "null" : ye(e) ? E = "array" : e !== void 0 && e.$$typeof === P ? (E = "<" + (Pe(e.type) || "Unknown") + " />", c = " Did you accidentally export a JSX literal instead of a component?") : E = typeof e, C("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", E, c);
1346
+ }
1347
+ var F = wr.apply(this, arguments);
1348
+ if (F == null)
1349
+ return F;
1350
+ if (i)
1351
+ for (var B = 2; B < arguments.length; B++)
1352
+ pt(arguments[B], e);
1353
+ return e === O ? Jt(F) : vt(F), F;
1354
+ }
1355
+ var ht = !1;
1356
+ function Zt(e) {
1357
+ var t = yt.bind(null, e);
1358
+ return t.type = e, ht || (ht = !0, se("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(t, "type", {
1359
+ enumerable: !1,
1360
+ get: function() {
1361
+ return se("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
1362
+ value: e
1363
+ }), e;
1364
+ }
1365
+ }), t;
1366
+ }
1367
+ function Xt(e, t, o) {
1368
+ for (var i = Sr.apply(this, arguments), c = 2; c < arguments.length; c++)
1369
+ pt(arguments[c], i.type);
1370
+ return vt(i), i;
1371
+ }
1372
+ function Qt(e, t) {
1373
+ var o = H.transition;
1374
+ H.transition = {};
1375
+ var i = H.transition;
1376
+ H.transition._updatedFibers = /* @__PURE__ */ new Set();
1377
+ try {
1378
+ e();
1379
+ } finally {
1380
+ if (H.transition = o, o === null && i._updatedFibers) {
1381
+ var c = i._updatedFibers.size;
1382
+ c > 10 && se("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."), i._updatedFibers.clear();
1383
+ }
1384
+ }
1385
+ }
1386
+ var mt = !1, br = null;
1387
+ function en(e) {
1388
+ if (br === null)
1389
+ try {
1390
+ var t = ("require" + Math.random()).slice(0, 7), o = l && l[t];
1391
+ br = o.call(l, "timers").setImmediate;
1392
+ } catch {
1393
+ br = function(c) {
1394
+ mt === !1 && (mt = !0, typeof MessageChannel > "u" && C("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."));
1395
+ var A = new MessageChannel();
1396
+ A.port1.onmessage = c, A.port2.postMessage(void 0);
1397
+ };
1398
+ }
1399
+ return br(e);
1400
+ }
1401
+ var Ke = 0, gt = !1;
1402
+ function rn(e) {
1403
+ {
1404
+ var t = Ke;
1405
+ Ke++, s.current === null && (s.current = []);
1406
+ var o = s.isBatchingLegacy, i;
1407
+ try {
1408
+ if (s.isBatchingLegacy = !0, i = e(), !o && s.didScheduleLegacyUpdate) {
1409
+ var c = s.current;
1410
+ c !== null && (s.didScheduleLegacyUpdate = !1, Wr(c));
1411
+ }
1412
+ } catch (ue) {
1413
+ throw _r(t), ue;
1414
+ } finally {
1415
+ s.isBatchingLegacy = o;
1416
+ }
1417
+ if (i !== null && typeof i == "object" && typeof i.then == "function") {
1418
+ var A = i, E = !1, F = {
1419
+ then: function(ue, de) {
1420
+ E = !0, A.then(function(me) {
1421
+ _r(t), Ke === 0 ? Nr(me, ue, de) : ue(me);
1422
+ }, function(me) {
1423
+ _r(t), de(me);
1424
+ });
1425
+ }
1426
+ };
1427
+ return !gt && typeof Promise < "u" && Promise.resolve().then(function() {
1428
+ }).then(function() {
1429
+ E || (gt = !0, C("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 () => ...);"));
1430
+ }), F;
1431
+ } else {
1432
+ var B = i;
1433
+ if (_r(t), Ke === 0) {
1434
+ var Q = s.current;
1435
+ Q !== null && (Wr(Q), s.current = null);
1436
+ var ne = {
1437
+ then: function(ue, de) {
1438
+ s.current === null ? (s.current = [], Nr(B, ue, de)) : ue(B);
1439
+ }
1440
+ };
1441
+ return ne;
1442
+ } else {
1443
+ var ae = {
1444
+ then: function(ue, de) {
1445
+ ue(B);
1446
+ }
1447
+ };
1448
+ return ae;
1449
+ }
1450
+ }
1451
+ }
1452
+ }
1453
+ function _r(e) {
1454
+ e !== Ke - 1 && C("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), Ke = e;
1455
+ }
1456
+ function Nr(e, t, o) {
1457
+ {
1458
+ var i = s.current;
1459
+ if (i !== null)
1460
+ try {
1461
+ Wr(i), en(function() {
1462
+ i.length === 0 ? (s.current = null, t(e)) : Nr(e, t, o);
1463
+ });
1464
+ } catch (c) {
1465
+ o(c);
1466
+ }
1467
+ else
1468
+ t(e);
1469
+ }
1470
+ }
1471
+ var Yr = !1;
1472
+ function Wr(e) {
1473
+ if (!Yr) {
1474
+ Yr = !0;
1475
+ var t = 0;
1476
+ try {
1477
+ for (; t < e.length; t++) {
1478
+ var o = e[t];
1479
+ do
1480
+ o = o(!0);
1481
+ while (o !== null);
1482
+ }
1483
+ e.length = 0;
1484
+ } catch (i) {
1485
+ throw e = e.slice(t + 1), i;
1486
+ } finally {
1487
+ Yr = !1;
1488
+ }
1489
+ }
1490
+ }
1491
+ var tn = yt, nn = Xt, an = Zt, on = {
1492
+ map: Ve,
1493
+ forEach: fr,
1494
+ count: Pr,
1495
+ toArray: jr,
1496
+ only: dr
1497
+ };
1498
+ h.Children = on, h.Component = d, h.Fragment = O, h.Profiler = x, h.PureComponent = k, h.StrictMode = D, h.Suspense = S, h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = fe, h.cloneElement = nn, h.createContext = pr, h.createElement = tn, h.createFactory = an, h.createRef = ve, h.forwardRef = Fr, h.isValidElement = Fe, h.lazy = Ir, h.memo = p, h.startTransition = Qt, h.unstable_act = rn, h.useCallback = _e, h.useContext = z, h.useDebugValue = Oe, h.useDeferredValue = Lt, h.useEffect = he, h.useId = Nt, h.useImperativeHandle = vr, h.useInsertionEffect = ie, h.useLayoutEffect = ce, h.useMemo = De, h.useReducer = V, h.useRef = Y, h.useState = J, h.useSyncExternalStore = Yt, h.useTransition = Mt, h.version = N, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
1499
+ }();
1500
+ }(nr, nr.exports)), nr.exports;
1501
+ }
1502
+ process.env.NODE_ENV === "production" ? Jr.exports = fn() : Jr.exports = dn();
1503
+ var Je = Jr.exports;
1504
+ /**
1505
+ * @license React
1506
+ * react-jsx-runtime.production.min.js
1507
+ *
1508
+ * Copyright (c) Facebook, Inc. and its affiliates.
1509
+ *
1510
+ * This source code is licensed under the MIT license found in the
1511
+ * LICENSE file in the root directory of this source tree.
1512
+ */
1513
+ var wt;
1514
+ function pn() {
1515
+ if (wt)
1516
+ return rr;
1517
+ wt = 1;
1518
+ var l = Je, h = Symbol.for("react.element"), N = Symbol.for("react.fragment"), P = Object.prototype.hasOwnProperty, $ = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, O = { key: !0, ref: !0, __self: !0, __source: !0 };
1519
+ function D(x, j, I) {
1520
+ var T, S = {}, W = null, q = null;
1521
+ I !== void 0 && (W = "" + I), j.key !== void 0 && (W = "" + j.key), j.ref !== void 0 && (q = j.ref);
1522
+ for (T in j)
1523
+ P.call(j, T) && !O.hasOwnProperty(T) && (S[T] = j[T]);
1524
+ if (x && x.defaultProps)
1525
+ for (T in j = x.defaultProps, j)
1526
+ S[T] === void 0 && (S[T] = j[T]);
1527
+ return { $$typeof: h, type: x, key: W, ref: q, props: S, _owner: $.current };
1528
+ }
1529
+ return rr.Fragment = N, rr.jsx = D, rr.jsxs = D, rr;
1530
+ }
1531
+ var tr = {};
1532
+ /**
1533
+ * @license React
1534
+ * react-jsx-runtime.development.js
1535
+ *
1536
+ * Copyright (c) Facebook, Inc. and its affiliates.
1537
+ *
1538
+ * This source code is licensed under the MIT license found in the
1539
+ * LICENSE file in the root directory of this source tree.
1540
+ */
1541
+ var Tt;
1542
+ function vn() {
1543
+ return Tt || (Tt = 1, process.env.NODE_ENV !== "production" && function() {
1544
+ var l = Je, h = Symbol.for("react.element"), N = Symbol.for("react.portal"), P = Symbol.for("react.fragment"), $ = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), x = Symbol.for("react.context"), j = Symbol.for("react.forward_ref"), I = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), W = Symbol.for("react.lazy"), q = Symbol.for("react.offscreen"), ee = Symbol.iterator, M = "@@iterator";
1545
+ function Z(n) {
1546
+ if (n === null || typeof n != "object")
1547
+ return null;
1548
+ var u = ee && n[ee] || n[M];
1549
+ return typeof u == "function" ? u : null;
1550
+ }
1551
+ var te = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1552
+ function X(n) {
1553
+ {
1554
+ for (var u = arguments.length, p = new Array(u > 1 ? u - 1 : 0), _ = 1; _ < u; _++)
1555
+ p[_ - 1] = arguments[_];
1556
+ re("error", n, p);
1557
+ }
1558
+ }
1559
+ function re(n, u, p) {
1560
+ {
1561
+ var _ = te.ReactDebugCurrentFrame, z = _.getStackAddendum();
1562
+ z !== "" && (u += "%s", p = p.concat([z]));
1563
+ var J = p.map(function(V) {
1564
+ return String(V);
1565
+ });
1566
+ J.unshift("Warning: " + u), Function.prototype.apply.call(console[n], console, J);
1567
+ }
1568
+ }
1569
+ var H = !1, s = !1, oe = !1, be = !1, Ee = !1, Ce;
1570
+ Ce = Symbol.for("react.module.reference");
1571
+ function we(n) {
1572
+ return !!(typeof n == "string" || typeof n == "function" || n === P || n === O || Ee || n === $ || n === I || n === T || be || n === q || H || s || oe || typeof n == "object" && n !== null && (n.$$typeof === W || n.$$typeof === S || n.$$typeof === D || n.$$typeof === x || n.$$typeof === j || // This needs to include all possible module reference object
1573
+ // types supported by any Flight configuration anywhere since
1574
+ // we don't know which Flight build this will end up being used
1575
+ // with.
1576
+ n.$$typeof === Ce || n.getModuleId !== void 0));
1577
+ }
1578
+ function xe(n, u, p) {
1579
+ var _ = n.displayName;
1580
+ if (_)
1581
+ return _;
1582
+ var z = u.displayName || u.name || "";
1583
+ return z !== "" ? p + "(" + z + ")" : p;
1584
+ }
1585
+ function Te(n) {
1586
+ return n.displayName || "Context";
1587
+ }
1588
+ function pe(n) {
1589
+ if (n == null)
1590
+ return null;
1591
+ if (typeof n.tag == "number" && X("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
1592
+ return n.displayName || n.name || null;
1593
+ if (typeof n == "string")
1594
+ return n;
1595
+ switch (n) {
1596
+ case P:
1597
+ return "Fragment";
1598
+ case N:
1599
+ return "Portal";
1600
+ case O:
1601
+ return "Profiler";
1602
+ case $:
1603
+ return "StrictMode";
1604
+ case I:
1605
+ return "Suspense";
1606
+ case T:
1607
+ return "SuspenseList";
1608
+ }
1609
+ if (typeof n == "object")
1610
+ switch (n.$$typeof) {
1611
+ case x:
1612
+ var u = n;
1613
+ return Te(u) + ".Consumer";
1614
+ case D:
1615
+ var p = n;
1616
+ return Te(p._context) + ".Provider";
1617
+ case j:
1618
+ return xe(n, n.render, "ForwardRef");
1619
+ case S:
1620
+ var _ = n.displayName || null;
1621
+ return _ !== null ? _ : pe(n.type) || "Memo";
1622
+ case W: {
1623
+ var z = n, J = z._payload, V = z._init;
1624
+ try {
1625
+ return pe(V(J));
1626
+ } catch {
1627
+ return null;
1628
+ }
1629
+ }
1630
+ }
1631
+ return null;
1632
+ }
1633
+ var le = Object.assign, fe = 0, se, C, ge, Se, r, a, f;
1634
+ function y() {
1635
+ }
1636
+ y.__reactDisabledLog = !0;
1637
+ function d() {
1638
+ {
1639
+ if (fe === 0) {
1640
+ se = console.log, C = console.info, ge = console.warn, Se = console.error, r = console.group, a = console.groupCollapsed, f = console.groupEnd;
1641
+ var n = {
1642
+ configurable: !0,
1643
+ enumerable: !0,
1644
+ value: y,
1645
+ writable: !0
1646
+ };
1647
+ Object.defineProperties(console, {
1648
+ info: n,
1649
+ log: n,
1650
+ warn: n,
1651
+ error: n,
1652
+ group: n,
1653
+ groupCollapsed: n,
1654
+ groupEnd: n
1655
+ });
1656
+ }
1657
+ fe++;
1658
+ }
1659
+ }
1660
+ function w() {
1661
+ {
1662
+ if (fe--, fe === 0) {
1663
+ var n = {
1664
+ configurable: !0,
1665
+ enumerable: !0,
1666
+ writable: !0
1667
+ };
1668
+ Object.defineProperties(console, {
1669
+ log: le({}, n, {
1670
+ value: se
1671
+ }),
1672
+ info: le({}, n, {
1673
+ value: C
1674
+ }),
1675
+ warn: le({}, n, {
1676
+ value: ge
1677
+ }),
1678
+ error: le({}, n, {
1679
+ value: Se
1680
+ }),
1681
+ group: le({}, n, {
1682
+ value: r
1683
+ }),
1684
+ groupCollapsed: le({}, n, {
1685
+ value: a
1686
+ }),
1687
+ groupEnd: le({}, n, {
1688
+ value: f
1689
+ })
1690
+ });
1691
+ }
1692
+ fe < 0 && X("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1693
+ }
1694
+ }
1695
+ var g = te.ReactCurrentDispatcher, m;
1696
+ function b(n, u, p) {
1697
+ {
1698
+ if (m === void 0)
1699
+ try {
1700
+ throw Error();
1701
+ } catch (z) {
1702
+ var _ = z.stack.trim().match(/\n( *(at )?)/);
1703
+ m = _ && _[1] || "";
1704
+ }
1705
+ return `
1706
+ ` + m + n;
1707
+ }
1708
+ }
1709
+ var k = !1, L;
1710
+ {
1711
+ var ve = typeof WeakMap == "function" ? WeakMap : Map;
1712
+ L = new ve();
1713
+ }
1714
+ function v(n, u) {
1715
+ if (!n || k)
1716
+ return "";
1717
+ {
1718
+ var p = L.get(n);
1719
+ if (p !== void 0)
1720
+ return p;
1721
+ }
1722
+ var _;
1723
+ k = !0;
1724
+ var z = Error.prepareStackTrace;
1725
+ Error.prepareStackTrace = void 0;
1726
+ var J;
1727
+ J = g.current, g.current = null, d();
1728
+ try {
1729
+ if (u) {
1730
+ var V = function() {
1731
+ throw Error();
1732
+ };
1733
+ if (Object.defineProperty(V.prototype, "props", {
1734
+ set: function() {
1735
+ throw Error();
1736
+ }
1737
+ }), typeof Reflect == "object" && Reflect.construct) {
1738
+ try {
1739
+ Reflect.construct(V, []);
1740
+ } catch (Oe) {
1741
+ _ = Oe;
1742
+ }
1743
+ Reflect.construct(n, [], V);
1744
+ } else {
1745
+ try {
1746
+ V.call();
1747
+ } catch (Oe) {
1748
+ _ = Oe;
1749
+ }
1750
+ n.call(V.prototype);
1751
+ }
1752
+ } else {
1753
+ try {
1754
+ throw Error();
1755
+ } catch (Oe) {
1756
+ _ = Oe;
1757
+ }
1758
+ n();
1759
+ }
1760
+ } catch (Oe) {
1761
+ if (Oe && _ && typeof Oe.stack == "string") {
1762
+ for (var Y = Oe.stack.split(`
1763
+ `), he = _.stack.split(`
1764
+ `), ie = Y.length - 1, ce = he.length - 1; ie >= 1 && ce >= 0 && Y[ie] !== he[ce]; )
1765
+ ce--;
1766
+ for (; ie >= 1 && ce >= 0; ie--, ce--)
1767
+ if (Y[ie] !== he[ce]) {
1768
+ if (ie !== 1 || ce !== 1)
1769
+ do
1770
+ if (ie--, ce--, ce < 0 || Y[ie] !== he[ce]) {
1771
+ var _e = `
1772
+ ` + Y[ie].replace(" at new ", " at ");
1773
+ return n.displayName && _e.includes("<anonymous>") && (_e = _e.replace("<anonymous>", n.displayName)), typeof n == "function" && L.set(n, _e), _e;
1774
+ }
1775
+ while (ie >= 1 && ce >= 0);
1776
+ break;
1777
+ }
1778
+ }
1779
+ } finally {
1780
+ k = !1, g.current = J, w(), Error.prepareStackTrace = z;
1781
+ }
1782
+ var De = n ? n.displayName || n.name : "", vr = De ? b(De) : "";
1783
+ return typeof n == "function" && L.set(n, vr), vr;
1784
+ }
1785
+ function ye(n, u, p) {
1786
+ return v(n, !1);
1787
+ }
1788
+ function Ae(n) {
1789
+ var u = n.prototype;
1790
+ return !!(u && u.isReactComponent);
1791
+ }
1792
+ function je(n, u, p) {
1793
+ if (n == null)
1794
+ return "";
1795
+ if (typeof n == "function")
1796
+ return v(n, Ae(n));
1797
+ if (typeof n == "string")
1798
+ return b(n);
1799
+ switch (n) {
1800
+ case I:
1801
+ return b("Suspense");
1802
+ case T:
1803
+ return b("SuspenseList");
1804
+ }
1805
+ if (typeof n == "object")
1806
+ switch (n.$$typeof) {
1807
+ case j:
1808
+ return ye(n.render);
1809
+ case S:
1810
+ return je(n.type, u, p);
1811
+ case W: {
1812
+ var _ = n, z = _._payload, J = _._init;
1813
+ try {
1814
+ return je(J(z), u, p);
1815
+ } catch {
1816
+ }
1817
+ }
1818
+ }
1819
+ return "";
1820
+ }
1821
+ var Me = Object.prototype.hasOwnProperty, Le = {}, ar = te.ReactDebugCurrentFrame;
1822
+ function Ne(n) {
1823
+ if (n) {
1824
+ var u = n._owner, p = je(n.type, n._source, u ? u.type : null);
1825
+ ar.setExtraStackFrame(p);
1826
+ } else
1827
+ ar.setExtraStackFrame(null);
1828
+ }
1829
+ function Pe(n, u, p, _, z) {
1830
+ {
1831
+ var J = Function.call.bind(Me);
1832
+ for (var V in n)
1833
+ if (J(n, V)) {
1834
+ var Y = void 0;
1835
+ try {
1836
+ if (typeof n[V] != "function") {
1837
+ var he = Error((_ || "React class") + ": " + p + " type `" + V + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[V] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1838
+ throw he.name = "Invariant Violation", he;
1839
+ }
1840
+ Y = n[V](u, V, _, p, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1841
+ } catch (ie) {
1842
+ Y = ie;
1843
+ }
1844
+ Y && !(Y instanceof Error) && (Ne(z), X("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", _ || "React class", p, V, typeof Y), Ne(null)), Y instanceof Error && !(Y.message in Le) && (Le[Y.message] = !0, Ne(z), X("Failed %s type: %s", p, Y.message), Ne(null));
1845
+ }
1846
+ }
1847
+ }
1848
+ var Ye = Array.isArray;
1849
+ function Be(n) {
1850
+ return Ye(n);
1851
+ }
1852
+ function or(n) {
1853
+ {
1854
+ var u = typeof Symbol == "function" && Symbol.toStringTag, p = u && n[Symbol.toStringTag] || n.constructor.name || "Object";
1855
+ return p;
1856
+ }
1857
+ }
1858
+ function ir(n) {
1859
+ try {
1860
+ return ze(n), !1;
1861
+ } catch {
1862
+ return !0;
1863
+ }
1864
+ }
1865
+ function ze(n) {
1866
+ return "" + n;
1867
+ }
1868
+ function Ze(n) {
1869
+ if (ir(n))
1870
+ return X("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", or(n)), ze(n);
1871
+ }
1872
+ var Ie = te.ReactCurrentOwner, Cr = {
1873
+ key: !0,
1874
+ ref: !0,
1875
+ __self: !0,
1876
+ __source: !0
1877
+ }, ur, sr, We;
1878
+ We = {};
1879
+ function wr(n) {
1880
+ if (Me.call(n, "ref")) {
1881
+ var u = Object.getOwnPropertyDescriptor(n, "ref").get;
1882
+ if (u && u.isReactWarning)
1883
+ return !1;
1884
+ }
1885
+ return n.ref !== void 0;
1886
+ }
1887
+ function Tr(n) {
1888
+ if (Me.call(n, "key")) {
1889
+ var u = Object.getOwnPropertyDescriptor(n, "key").get;
1890
+ if (u && u.isReactWarning)
1891
+ return !1;
1892
+ }
1893
+ return n.key !== void 0;
1894
+ }
1895
+ function Sr(n, u) {
1896
+ if (typeof n.ref == "string" && Ie.current && u && Ie.current.stateNode !== u) {
1897
+ var p = pe(Ie.current.type);
1898
+ We[p] || (X('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', pe(Ie.current.type), n.ref), We[p] = !0);
1899
+ }
1900
+ }
1901
+ function Fe(n, u) {
1902
+ {
1903
+ var p = function() {
1904
+ ur || (ur = !0, X("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", u));
1905
+ };
1906
+ p.isReactWarning = !0, Object.defineProperty(n, "key", {
1907
+ get: p,
1908
+ configurable: !0
1909
+ });
1910
+ }
1911
+ }
1912
+ function cr(n, u) {
1913
+ {
1914
+ var p = function() {
1915
+ sr || (sr = !0, X("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", u));
1916
+ };
1917
+ p.isReactWarning = !0, Object.defineProperty(n, "ref", {
1918
+ get: p,
1919
+ configurable: !0
1920
+ });
1921
+ }
1922
+ }
1923
+ var Or = function(n, u, p, _, z, J, V) {
1924
+ var Y = {
1925
+ // This tag allows us to uniquely identify this as a React Element
1926
+ $$typeof: h,
1927
+ // Built-in properties that belong on the element
1928
+ type: n,
1929
+ key: u,
1930
+ ref: p,
1931
+ props: V,
1932
+ // Record the component responsible for creating this element.
1933
+ _owner: J
1934
+ };
1935
+ return Y._store = {}, Object.defineProperty(Y._store, "validated", {
1936
+ configurable: !1,
1937
+ enumerable: !1,
1938
+ writable: !0,
1939
+ value: !1
1940
+ }), Object.defineProperty(Y, "_self", {
1941
+ configurable: !1,
1942
+ enumerable: !1,
1943
+ writable: !1,
1944
+ value: _
1945
+ }), Object.defineProperty(Y, "_source", {
1946
+ configurable: !1,
1947
+ enumerable: !1,
1948
+ writable: !1,
1949
+ value: z
1950
+ }), Object.freeze && (Object.freeze(Y.props), Object.freeze(Y)), Y;
1951
+ };
1952
+ function xr(n, u, p, _, z) {
1953
+ {
1954
+ var J, V = {}, Y = null, he = null;
1955
+ p !== void 0 && (Ze(p), Y = "" + p), Tr(u) && (Ze(u.key), Y = "" + u.key), wr(u) && (he = u.ref, Sr(u, z));
1956
+ for (J in u)
1957
+ Me.call(u, J) && !Cr.hasOwnProperty(J) && (V[J] = u[J]);
1958
+ if (n && n.defaultProps) {
1959
+ var ie = n.defaultProps;
1960
+ for (J in ie)
1961
+ V[J] === void 0 && (V[J] = ie[J]);
1962
+ }
1963
+ if (Y || he) {
1964
+ var ce = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
1965
+ Y && Fe(V, ce), he && cr(V, ce);
1966
+ }
1967
+ return Or(n, Y, he, z, _, Ie.current, V);
1968
+ }
1969
+ }
1970
+ var He = te.ReactCurrentOwner, lr = te.ReactDebugCurrentFrame;
1971
+ function ke(n) {
1972
+ if (n) {
1973
+ var u = n._owner, p = je(n.type, n._source, u ? u.type : null);
1974
+ lr.setExtraStackFrame(p);
1975
+ } else
1976
+ lr.setExtraStackFrame(null);
1977
+ }
1978
+ var Ue;
1979
+ Ue = !1;
1980
+ function $e(n) {
1981
+ return typeof n == "object" && n !== null && n.$$typeof === h;
1982
+ }
1983
+ function Ve() {
1984
+ {
1985
+ if (He.current) {
1986
+ var n = pe(He.current.type);
1987
+ if (n)
1988
+ return `
1989
+
1990
+ Check the render method of \`` + n + "`.";
1991
+ }
1992
+ return "";
1993
+ }
1994
+ }
1995
+ function Pr(n) {
1996
+ {
1997
+ if (n !== void 0) {
1998
+ var u = n.fileName.replace(/^.*[\\\/]/, ""), p = n.lineNumber;
1999
+ return `
2000
+
2001
+ Check your code at ` + u + ":" + p + ".";
2002
+ }
2003
+ return "";
2004
+ }
2005
+ }
2006
+ var fr = {};
2007
+ function jr(n) {
2008
+ {
2009
+ var u = Ve();
2010
+ if (!u) {
2011
+ var p = typeof n == "string" ? n : n.displayName || n.name;
2012
+ p && (u = `
2013
+
2014
+ Check the top-level render call using <` + p + ">.");
2015
+ }
2016
+ return u;
2017
+ }
2018
+ }
2019
+ function dr(n, u) {
2020
+ {
2021
+ if (!n._store || n._store.validated || n.key != null)
2022
+ return;
2023
+ n._store.validated = !0;
2024
+ var p = jr(u);
2025
+ if (fr[p])
2026
+ return;
2027
+ fr[p] = !0;
2028
+ var _ = "";
2029
+ n && n._owner && n._owner !== He.current && (_ = " It was passed a child from " + pe(n._owner.type) + "."), ke(n), X('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', p, _), ke(null);
2030
+ }
2031
+ }
2032
+ function pr(n, u) {
2033
+ {
2034
+ if (typeof n != "object")
2035
+ return;
2036
+ if (Be(n))
2037
+ for (var p = 0; p < n.length; p++) {
2038
+ var _ = n[p];
2039
+ $e(_) && dr(_, u);
2040
+ }
2041
+ else if ($e(n))
2042
+ n._store && (n._store.validated = !0);
2043
+ else if (n) {
2044
+ var z = Z(n);
2045
+ if (typeof z == "function" && z !== n.entries)
2046
+ for (var J = z.call(n), V; !(V = J.next()).done; )
2047
+ $e(V.value) && dr(V.value, u);
2048
+ }
2049
+ }
2050
+ }
2051
+ function qe(n) {
2052
+ {
2053
+ var u = n.type;
2054
+ if (u == null || typeof u == "string")
2055
+ return;
2056
+ var p;
2057
+ if (typeof u == "function")
2058
+ p = u.propTypes;
2059
+ else if (typeof u == "object" && (u.$$typeof === j || // Note: Memo only checks outer props here.
2060
+ // Inner props are checked in the reconciler.
2061
+ u.$$typeof === S))
2062
+ p = u.propTypes;
2063
+ else
2064
+ return;
2065
+ if (p) {
2066
+ var _ = pe(u);
2067
+ Pe(p, n.props, "prop", _, n);
2068
+ } else if (u.PropTypes !== void 0 && !Ue) {
2069
+ Ue = !0;
2070
+ var z = pe(u);
2071
+ X("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", z || "Unknown");
2072
+ }
2073
+ typeof u.getDefaultProps == "function" && !u.getDefaultProps.isReactClassApproved && X("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
2074
+ }
2075
+ }
2076
+ function Xe(n) {
2077
+ {
2078
+ for (var u = Object.keys(n.props), p = 0; p < u.length; p++) {
2079
+ var _ = u[p];
2080
+ if (_ !== "children" && _ !== "key") {
2081
+ ke(n), X("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), ke(null);
2082
+ break;
2083
+ }
2084
+ }
2085
+ n.ref !== null && (ke(n), X("Invalid attribute `ref` supplied to `React.Fragment`."), ke(null));
2086
+ }
2087
+ }
2088
+ function Qe(n, u, p, _, z, J) {
2089
+ {
2090
+ var V = we(n);
2091
+ if (!V) {
2092
+ var Y = "";
2093
+ (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (Y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
2094
+ var he = Pr(z);
2095
+ he ? Y += he : Y += Ve();
2096
+ var ie;
2097
+ n === null ? ie = "null" : Be(n) ? ie = "array" : n !== void 0 && n.$$typeof === h ? (ie = "<" + (pe(n.type) || "Unknown") + " />", Y = " Did you accidentally export a JSX literal instead of a component?") : ie = typeof n, X("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ie, Y);
2098
+ }
2099
+ var ce = xr(n, u, p, z, J);
2100
+ if (ce == null)
2101
+ return ce;
2102
+ if (V) {
2103
+ var _e = u.children;
2104
+ if (_e !== void 0)
2105
+ if (_)
2106
+ if (Be(_e)) {
2107
+ for (var De = 0; De < _e.length; De++)
2108
+ pr(_e[De], n);
2109
+ Object.freeze && Object.freeze(_e);
2110
+ } else
2111
+ X("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
2112
+ else
2113
+ pr(_e, n);
2114
+ }
2115
+ return n === P ? Xe(ce) : qe(ce), ce;
2116
+ }
2117
+ }
2118
+ function kr(n, u, p) {
2119
+ return Qe(n, u, p, !0);
2120
+ }
2121
+ function Ar(n, u, p) {
2122
+ return Qe(n, u, p, !1);
2123
+ }
2124
+ var Ir = Ar, Fr = kr;
2125
+ tr.Fragment = P, tr.jsx = Ir, tr.jsxs = Fr;
2126
+ }()), tr;
2127
+ }
2128
+ process.env.NODE_ENV === "production" ? Kr.exports = pn() : Kr.exports = vn();
2129
+ var R = Kr.exports, Zr = { exports: {} }, Rr = { exports: {} }, G = {};
2130
+ /** @license React v16.13.1
2131
+ * react-is.production.min.js
2132
+ *
2133
+ * Copyright (c) Facebook, Inc. and its affiliates.
2134
+ *
2135
+ * This source code is licensed under the MIT license found in the
2136
+ * LICENSE file in the root directory of this source tree.
2137
+ */
2138
+ var St;
2139
+ function yn() {
2140
+ if (St)
2141
+ return G;
2142
+ St = 1;
2143
+ var l = typeof Symbol == "function" && Symbol.for, h = l ? Symbol.for("react.element") : 60103, N = l ? Symbol.for("react.portal") : 60106, P = l ? Symbol.for("react.fragment") : 60107, $ = l ? Symbol.for("react.strict_mode") : 60108, O = l ? Symbol.for("react.profiler") : 60114, D = l ? Symbol.for("react.provider") : 60109, x = l ? Symbol.for("react.context") : 60110, j = l ? Symbol.for("react.async_mode") : 60111, I = l ? Symbol.for("react.concurrent_mode") : 60111, T = l ? Symbol.for("react.forward_ref") : 60112, S = l ? Symbol.for("react.suspense") : 60113, W = l ? Symbol.for("react.suspense_list") : 60120, q = l ? Symbol.for("react.memo") : 60115, ee = l ? Symbol.for("react.lazy") : 60116, M = l ? Symbol.for("react.block") : 60121, Z = l ? Symbol.for("react.fundamental") : 60117, te = l ? Symbol.for("react.responder") : 60118, X = l ? Symbol.for("react.scope") : 60119;
2144
+ function re(s) {
2145
+ if (typeof s == "object" && s !== null) {
2146
+ var oe = s.$$typeof;
2147
+ switch (oe) {
2148
+ case h:
2149
+ switch (s = s.type, s) {
2150
+ case j:
2151
+ case I:
2152
+ case P:
2153
+ case O:
2154
+ case $:
2155
+ case S:
2156
+ return s;
2157
+ default:
2158
+ switch (s = s && s.$$typeof, s) {
2159
+ case x:
2160
+ case T:
2161
+ case ee:
2162
+ case q:
2163
+ case D:
2164
+ return s;
2165
+ default:
2166
+ return oe;
2167
+ }
2168
+ }
2169
+ case N:
2170
+ return oe;
2171
+ }
2172
+ }
2173
+ }
2174
+ function H(s) {
2175
+ return re(s) === I;
2176
+ }
2177
+ return G.AsyncMode = j, G.ConcurrentMode = I, G.ContextConsumer = x, G.ContextProvider = D, G.Element = h, G.ForwardRef = T, G.Fragment = P, G.Lazy = ee, G.Memo = q, G.Portal = N, G.Profiler = O, G.StrictMode = $, G.Suspense = S, G.isAsyncMode = function(s) {
2178
+ return H(s) || re(s) === j;
2179
+ }, G.isConcurrentMode = H, G.isContextConsumer = function(s) {
2180
+ return re(s) === x;
2181
+ }, G.isContextProvider = function(s) {
2182
+ return re(s) === D;
2183
+ }, G.isElement = function(s) {
2184
+ return typeof s == "object" && s !== null && s.$$typeof === h;
2185
+ }, G.isForwardRef = function(s) {
2186
+ return re(s) === T;
2187
+ }, G.isFragment = function(s) {
2188
+ return re(s) === P;
2189
+ }, G.isLazy = function(s) {
2190
+ return re(s) === ee;
2191
+ }, G.isMemo = function(s) {
2192
+ return re(s) === q;
2193
+ }, G.isPortal = function(s) {
2194
+ return re(s) === N;
2195
+ }, G.isProfiler = function(s) {
2196
+ return re(s) === O;
2197
+ }, G.isStrictMode = function(s) {
2198
+ return re(s) === $;
2199
+ }, G.isSuspense = function(s) {
2200
+ return re(s) === S;
2201
+ }, G.isValidElementType = function(s) {
2202
+ return typeof s == "string" || typeof s == "function" || s === P || s === I || s === O || s === $ || s === S || s === W || typeof s == "object" && s !== null && (s.$$typeof === ee || s.$$typeof === q || s.$$typeof === D || s.$$typeof === x || s.$$typeof === T || s.$$typeof === Z || s.$$typeof === te || s.$$typeof === X || s.$$typeof === M);
2203
+ }, G.typeOf = re, G;
2204
+ }
2205
+ var K = {};
2206
+ /** @license React v16.13.1
2207
+ * react-is.development.js
2208
+ *
2209
+ * Copyright (c) Facebook, Inc. and its affiliates.
2210
+ *
2211
+ * This source code is licensed under the MIT license found in the
2212
+ * LICENSE file in the root directory of this source tree.
2213
+ */
2214
+ var Ot;
2215
+ function hn() {
2216
+ return Ot || (Ot = 1, process.env.NODE_ENV !== "production" && function() {
2217
+ var l = typeof Symbol == "function" && Symbol.for, h = l ? Symbol.for("react.element") : 60103, N = l ? Symbol.for("react.portal") : 60106, P = l ? Symbol.for("react.fragment") : 60107, $ = l ? Symbol.for("react.strict_mode") : 60108, O = l ? Symbol.for("react.profiler") : 60114, D = l ? Symbol.for("react.provider") : 60109, x = l ? Symbol.for("react.context") : 60110, j = l ? Symbol.for("react.async_mode") : 60111, I = l ? Symbol.for("react.concurrent_mode") : 60111, T = l ? Symbol.for("react.forward_ref") : 60112, S = l ? Symbol.for("react.suspense") : 60113, W = l ? Symbol.for("react.suspense_list") : 60120, q = l ? Symbol.for("react.memo") : 60115, ee = l ? Symbol.for("react.lazy") : 60116, M = l ? Symbol.for("react.block") : 60121, Z = l ? Symbol.for("react.fundamental") : 60117, te = l ? Symbol.for("react.responder") : 60118, X = l ? Symbol.for("react.scope") : 60119;
2218
+ function re(v) {
2219
+ return typeof v == "string" || typeof v == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2220
+ v === P || v === I || v === O || v === $ || v === S || v === W || typeof v == "object" && v !== null && (v.$$typeof === ee || v.$$typeof === q || v.$$typeof === D || v.$$typeof === x || v.$$typeof === T || v.$$typeof === Z || v.$$typeof === te || v.$$typeof === X || v.$$typeof === M);
2221
+ }
2222
+ function H(v) {
2223
+ if (typeof v == "object" && v !== null) {
2224
+ var ye = v.$$typeof;
2225
+ switch (ye) {
2226
+ case h:
2227
+ var Ae = v.type;
2228
+ switch (Ae) {
2229
+ case j:
2230
+ case I:
2231
+ case P:
2232
+ case O:
2233
+ case $:
2234
+ case S:
2235
+ return Ae;
2236
+ default:
2237
+ var je = Ae && Ae.$$typeof;
2238
+ switch (je) {
2239
+ case x:
2240
+ case T:
2241
+ case ee:
2242
+ case q:
2243
+ case D:
2244
+ return je;
2245
+ default:
2246
+ return ye;
2247
+ }
2248
+ }
2249
+ case N:
2250
+ return ye;
2251
+ }
2252
+ }
2253
+ }
2254
+ var s = j, oe = I, be = x, Ee = D, Ce = h, we = T, xe = P, Te = ee, pe = q, le = N, fe = O, se = $, C = S, ge = !1;
2255
+ function Se(v) {
2256
+ return ge || (ge = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), r(v) || H(v) === j;
2257
+ }
2258
+ function r(v) {
2259
+ return H(v) === I;
2260
+ }
2261
+ function a(v) {
2262
+ return H(v) === x;
2263
+ }
2264
+ function f(v) {
2265
+ return H(v) === D;
2266
+ }
2267
+ function y(v) {
2268
+ return typeof v == "object" && v !== null && v.$$typeof === h;
2269
+ }
2270
+ function d(v) {
2271
+ return H(v) === T;
2272
+ }
2273
+ function w(v) {
2274
+ return H(v) === P;
2275
+ }
2276
+ function g(v) {
2277
+ return H(v) === ee;
2278
+ }
2279
+ function m(v) {
2280
+ return H(v) === q;
2281
+ }
2282
+ function b(v) {
2283
+ return H(v) === N;
2284
+ }
2285
+ function k(v) {
2286
+ return H(v) === O;
2287
+ }
2288
+ function L(v) {
2289
+ return H(v) === $;
2290
+ }
2291
+ function ve(v) {
2292
+ return H(v) === S;
2293
+ }
2294
+ K.AsyncMode = s, K.ConcurrentMode = oe, K.ContextConsumer = be, K.ContextProvider = Ee, K.Element = Ce, K.ForwardRef = we, K.Fragment = xe, K.Lazy = Te, K.Memo = pe, K.Portal = le, K.Profiler = fe, K.StrictMode = se, K.Suspense = C, K.isAsyncMode = Se, K.isConcurrentMode = r, K.isContextConsumer = a, K.isContextProvider = f, K.isElement = y, K.isForwardRef = d, K.isFragment = w, K.isLazy = g, K.isMemo = m, K.isPortal = b, K.isProfiler = k, K.isStrictMode = L, K.isSuspense = ve, K.isValidElementType = re, K.typeOf = H;
2295
+ }()), K;
2296
+ }
2297
+ var xt;
2298
+ function $t() {
2299
+ return xt || (xt = 1, process.env.NODE_ENV === "production" ? Rr.exports = yn() : Rr.exports = hn()), Rr.exports;
2300
+ }
2301
+ /*
2302
+ object-assign
2303
+ (c) Sindre Sorhus
2304
+ @license MIT
2305
+ */
2306
+ var Vr, Pt;
2307
+ function mn() {
2308
+ if (Pt)
2309
+ return Vr;
2310
+ Pt = 1;
2311
+ var l = Object.getOwnPropertySymbols, h = Object.prototype.hasOwnProperty, N = Object.prototype.propertyIsEnumerable;
2312
+ function P(O) {
2313
+ if (O == null)
2314
+ throw new TypeError("Object.assign cannot be called with null or undefined");
2315
+ return Object(O);
2316
+ }
2317
+ function $() {
2318
+ try {
2319
+ if (!Object.assign)
2320
+ return !1;
2321
+ var O = new String("abc");
2322
+ if (O[5] = "de", Object.getOwnPropertyNames(O)[0] === "5")
2323
+ return !1;
2324
+ for (var D = {}, x = 0; x < 10; x++)
2325
+ D["_" + String.fromCharCode(x)] = x;
2326
+ var j = Object.getOwnPropertyNames(D).map(function(T) {
2327
+ return D[T];
2328
+ });
2329
+ if (j.join("") !== "0123456789")
2330
+ return !1;
2331
+ var I = {};
2332
+ return "abcdefghijklmnopqrst".split("").forEach(function(T) {
2333
+ I[T] = T;
2334
+ }), Object.keys(Object.assign({}, I)).join("") === "abcdefghijklmnopqrst";
2335
+ } catch {
2336
+ return !1;
2337
+ }
2338
+ }
2339
+ return Vr = $() ? Object.assign : function(O, D) {
2340
+ for (var x, j = P(O), I, T = 1; T < arguments.length; T++) {
2341
+ x = Object(arguments[T]);
2342
+ for (var S in x)
2343
+ h.call(x, S) && (j[S] = x[S]);
2344
+ if (l) {
2345
+ I = l(x);
2346
+ for (var W = 0; W < I.length; W++)
2347
+ N.call(x, I[W]) && (j[I[W]] = x[I[W]]);
2348
+ }
2349
+ }
2350
+ return j;
2351
+ }, Vr;
2352
+ }
2353
+ var qr, jt;
2354
+ function Xr() {
2355
+ if (jt)
2356
+ return qr;
2357
+ jt = 1;
2358
+ var l = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
2359
+ return qr = l, qr;
2360
+ }
2361
+ var Br, kt;
2362
+ function Dt() {
2363
+ return kt || (kt = 1, Br = Function.call.bind(Object.prototype.hasOwnProperty)), Br;
2364
+ }
2365
+ var zr, At;
2366
+ function gn() {
2367
+ if (At)
2368
+ return zr;
2369
+ At = 1;
2370
+ var l = function() {
2371
+ };
2372
+ if (process.env.NODE_ENV !== "production") {
2373
+ var h = Xr(), N = {}, P = Dt();
2374
+ l = function(O) {
2375
+ var D = "Warning: " + O;
2376
+ typeof console < "u" && console.error(D);
2377
+ try {
2378
+ throw new Error(D);
2379
+ } catch {
2380
+ }
2381
+ };
2382
+ }
2383
+ function $(O, D, x, j, I) {
2384
+ if (process.env.NODE_ENV !== "production") {
2385
+ for (var T in O)
2386
+ if (P(O, T)) {
2387
+ var S;
2388
+ try {
2389
+ if (typeof O[T] != "function") {
2390
+ var W = Error(
2391
+ (j || "React class") + ": " + x + " type `" + T + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof O[T] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
2392
+ );
2393
+ throw W.name = "Invariant Violation", W;
2394
+ }
2395
+ S = O[T](D, T, j, x, null, h);
2396
+ } catch (ee) {
2397
+ S = ee;
2398
+ }
2399
+ if (S && !(S instanceof Error) && l(
2400
+ (j || "React class") + ": type specification of " + x + " `" + T + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof S + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
2401
+ ), S instanceof Error && !(S.message in N)) {
2402
+ N[S.message] = !0;
2403
+ var q = I ? I() : "";
2404
+ l(
2405
+ "Failed " + x + " type: " + S.message + (q ?? "")
2406
+ );
2407
+ }
2408
+ }
2409
+ }
2410
+ }
2411
+ return $.resetWarningCache = function() {
2412
+ process.env.NODE_ENV !== "production" && (N = {});
2413
+ }, zr = $, zr;
2414
+ }
2415
+ var Hr, It;
2416
+ function bn() {
2417
+ if (It)
2418
+ return Hr;
2419
+ It = 1;
2420
+ var l = $t(), h = mn(), N = Xr(), P = Dt(), $ = gn(), O = function() {
2421
+ };
2422
+ process.env.NODE_ENV !== "production" && (O = function(x) {
2423
+ var j = "Warning: " + x;
2424
+ typeof console < "u" && console.error(j);
2425
+ try {
2426
+ throw new Error(j);
2427
+ } catch {
2428
+ }
2429
+ });
2430
+ function D() {
2431
+ return null;
2432
+ }
2433
+ return Hr = function(x, j) {
2434
+ var I = typeof Symbol == "function" && Symbol.iterator, T = "@@iterator";
2435
+ function S(r) {
2436
+ var a = r && (I && r[I] || r[T]);
2437
+ if (typeof a == "function")
2438
+ return a;
2439
+ }
2440
+ var W = "<<anonymous>>", q = {
2441
+ array: te("array"),
2442
+ bigint: te("bigint"),
2443
+ bool: te("boolean"),
2444
+ func: te("function"),
2445
+ number: te("number"),
2446
+ object: te("object"),
2447
+ string: te("string"),
2448
+ symbol: te("symbol"),
2449
+ any: X(),
2450
+ arrayOf: re,
2451
+ element: H(),
2452
+ elementType: s(),
2453
+ instanceOf: oe,
2454
+ node: we(),
2455
+ objectOf: Ee,
2456
+ oneOf: be,
2457
+ oneOfType: Ce,
2458
+ shape: Te,
2459
+ exact: pe
2460
+ };
2461
+ function ee(r, a) {
2462
+ return r === a ? r !== 0 || 1 / r === 1 / a : r !== r && a !== a;
2463
+ }
2464
+ function M(r, a) {
2465
+ this.message = r, this.data = a && typeof a == "object" ? a : {}, this.stack = "";
2466
+ }
2467
+ M.prototype = Error.prototype;
2468
+ function Z(r) {
2469
+ if (process.env.NODE_ENV !== "production")
2470
+ var a = {}, f = 0;
2471
+ function y(w, g, m, b, k, L, ve) {
2472
+ if (b = b || W, L = L || m, ve !== N) {
2473
+ if (j) {
2474
+ var v = new Error(
2475
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
2476
+ );
2477
+ throw v.name = "Invariant Violation", v;
2478
+ } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
2479
+ var ye = b + ":" + m;
2480
+ !a[ye] && // Avoid spamming the console because they are often not actionable except for lib authors
2481
+ f < 3 && (O(
2482
+ "You are manually calling a React.PropTypes validation function for the `" + L + "` prop on `" + b + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
2483
+ ), a[ye] = !0, f++);
2484
+ }
2485
+ }
2486
+ return g[m] == null ? w ? g[m] === null ? new M("The " + k + " `" + L + "` is marked as required " + ("in `" + b + "`, but its value is `null`.")) : new M("The " + k + " `" + L + "` is marked as required in " + ("`" + b + "`, but its value is `undefined`.")) : null : r(g, m, b, k, L);
2487
+ }
2488
+ var d = y.bind(null, !1);
2489
+ return d.isRequired = y.bind(null, !0), d;
2490
+ }
2491
+ function te(r) {
2492
+ function a(f, y, d, w, g, m) {
2493
+ var b = f[y], k = se(b);
2494
+ if (k !== r) {
2495
+ var L = C(b);
2496
+ return new M(
2497
+ "Invalid " + w + " `" + g + "` of type " + ("`" + L + "` supplied to `" + d + "`, expected ") + ("`" + r + "`."),
2498
+ { expectedType: r }
2499
+ );
2500
+ }
2501
+ return null;
2502
+ }
2503
+ return Z(a);
2504
+ }
2505
+ function X() {
2506
+ return Z(D);
2507
+ }
2508
+ function re(r) {
2509
+ function a(f, y, d, w, g) {
2510
+ if (typeof r != "function")
2511
+ return new M("Property `" + g + "` of component `" + d + "` has invalid PropType notation inside arrayOf.");
2512
+ var m = f[y];
2513
+ if (!Array.isArray(m)) {
2514
+ var b = se(m);
2515
+ return new M("Invalid " + w + " `" + g + "` of type " + ("`" + b + "` supplied to `" + d + "`, expected an array."));
2516
+ }
2517
+ for (var k = 0; k < m.length; k++) {
2518
+ var L = r(m, k, d, w, g + "[" + k + "]", N);
2519
+ if (L instanceof Error)
2520
+ return L;
2521
+ }
2522
+ return null;
2523
+ }
2524
+ return Z(a);
2525
+ }
2526
+ function H() {
2527
+ function r(a, f, y, d, w) {
2528
+ var g = a[f];
2529
+ if (!x(g)) {
2530
+ var m = se(g);
2531
+ return new M("Invalid " + d + " `" + w + "` of type " + ("`" + m + "` supplied to `" + y + "`, expected a single ReactElement."));
2532
+ }
2533
+ return null;
2534
+ }
2535
+ return Z(r);
2536
+ }
2537
+ function s() {
2538
+ function r(a, f, y, d, w) {
2539
+ var g = a[f];
2540
+ if (!l.isValidElementType(g)) {
2541
+ var m = se(g);
2542
+ return new M("Invalid " + d + " `" + w + "` of type " + ("`" + m + "` supplied to `" + y + "`, expected a single ReactElement type."));
2543
+ }
2544
+ return null;
2545
+ }
2546
+ return Z(r);
2547
+ }
2548
+ function oe(r) {
2549
+ function a(f, y, d, w, g) {
2550
+ if (!(f[y] instanceof r)) {
2551
+ var m = r.name || W, b = Se(f[y]);
2552
+ return new M("Invalid " + w + " `" + g + "` of type " + ("`" + b + "` supplied to `" + d + "`, expected ") + ("instance of `" + m + "`."));
2553
+ }
2554
+ return null;
2555
+ }
2556
+ return Z(a);
2557
+ }
2558
+ function be(r) {
2559
+ if (!Array.isArray(r))
2560
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? O(
2561
+ "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
2562
+ ) : O("Invalid argument supplied to oneOf, expected an array.")), D;
2563
+ function a(f, y, d, w, g) {
2564
+ for (var m = f[y], b = 0; b < r.length; b++)
2565
+ if (ee(m, r[b]))
2566
+ return null;
2567
+ var k = JSON.stringify(r, function(ve, v) {
2568
+ var ye = C(v);
2569
+ return ye === "symbol" ? String(v) : v;
2570
+ });
2571
+ return new M("Invalid " + w + " `" + g + "` of value `" + String(m) + "` " + ("supplied to `" + d + "`, expected one of " + k + "."));
2572
+ }
2573
+ return Z(a);
2574
+ }
2575
+ function Ee(r) {
2576
+ function a(f, y, d, w, g) {
2577
+ if (typeof r != "function")
2578
+ return new M("Property `" + g + "` of component `" + d + "` has invalid PropType notation inside objectOf.");
2579
+ var m = f[y], b = se(m);
2580
+ if (b !== "object")
2581
+ return new M("Invalid " + w + " `" + g + "` of type " + ("`" + b + "` supplied to `" + d + "`, expected an object."));
2582
+ for (var k in m)
2583
+ if (P(m, k)) {
2584
+ var L = r(m, k, d, w, g + "." + k, N);
2585
+ if (L instanceof Error)
2586
+ return L;
2587
+ }
2588
+ return null;
2589
+ }
2590
+ return Z(a);
2591
+ }
2592
+ function Ce(r) {
2593
+ if (!Array.isArray(r))
2594
+ return process.env.NODE_ENV !== "production" && O("Invalid argument supplied to oneOfType, expected an instance of array."), D;
2595
+ for (var a = 0; a < r.length; a++) {
2596
+ var f = r[a];
2597
+ if (typeof f != "function")
2598
+ return O(
2599
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ge(f) + " at index " + a + "."
2600
+ ), D;
2601
+ }
2602
+ function y(d, w, g, m, b) {
2603
+ for (var k = [], L = 0; L < r.length; L++) {
2604
+ var ve = r[L], v = ve(d, w, g, m, b, N);
2605
+ if (v == null)
2606
+ return null;
2607
+ v.data && P(v.data, "expectedType") && k.push(v.data.expectedType);
2608
+ }
2609
+ var ye = k.length > 0 ? ", expected one of type [" + k.join(", ") + "]" : "";
2610
+ return new M("Invalid " + m + " `" + b + "` supplied to " + ("`" + g + "`" + ye + "."));
2611
+ }
2612
+ return Z(y);
2613
+ }
2614
+ function we() {
2615
+ function r(a, f, y, d, w) {
2616
+ return le(a[f]) ? null : new M("Invalid " + d + " `" + w + "` supplied to " + ("`" + y + "`, expected a ReactNode."));
2617
+ }
2618
+ return Z(r);
2619
+ }
2620
+ function xe(r, a, f, y, d) {
2621
+ return new M(
2622
+ (r || "React class") + ": " + a + " type `" + f + "." + y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + d + "`."
2623
+ );
2624
+ }
2625
+ function Te(r) {
2626
+ function a(f, y, d, w, g) {
2627
+ var m = f[y], b = se(m);
2628
+ if (b !== "object")
2629
+ return new M("Invalid " + w + " `" + g + "` of type `" + b + "` " + ("supplied to `" + d + "`, expected `object`."));
2630
+ for (var k in r) {
2631
+ var L = r[k];
2632
+ if (typeof L != "function")
2633
+ return xe(d, w, g, k, C(L));
2634
+ var ve = L(m, k, d, w, g + "." + k, N);
2635
+ if (ve)
2636
+ return ve;
2637
+ }
2638
+ return null;
2639
+ }
2640
+ return Z(a);
2641
+ }
2642
+ function pe(r) {
2643
+ function a(f, y, d, w, g) {
2644
+ var m = f[y], b = se(m);
2645
+ if (b !== "object")
2646
+ return new M("Invalid " + w + " `" + g + "` of type `" + b + "` " + ("supplied to `" + d + "`, expected `object`."));
2647
+ var k = h({}, f[y], r);
2648
+ for (var L in k) {
2649
+ var ve = r[L];
2650
+ if (P(r, L) && typeof ve != "function")
2651
+ return xe(d, w, g, L, C(ve));
2652
+ if (!ve)
2653
+ return new M(
2654
+ "Invalid " + w + " `" + g + "` key `" + L + "` supplied to `" + d + "`.\nBad object: " + JSON.stringify(f[y], null, " ") + `
2655
+ Valid keys: ` + JSON.stringify(Object.keys(r), null, " ")
2656
+ );
2657
+ var v = ve(m, L, d, w, g + "." + L, N);
2658
+ if (v)
2659
+ return v;
2660
+ }
2661
+ return null;
2662
+ }
2663
+ return Z(a);
2664
+ }
2665
+ function le(r) {
2666
+ switch (typeof r) {
2667
+ case "number":
2668
+ case "string":
2669
+ case "undefined":
2670
+ return !0;
2671
+ case "boolean":
2672
+ return !r;
2673
+ case "object":
2674
+ if (Array.isArray(r))
2675
+ return r.every(le);
2676
+ if (r === null || x(r))
2677
+ return !0;
2678
+ var a = S(r);
2679
+ if (a) {
2680
+ var f = a.call(r), y;
2681
+ if (a !== r.entries) {
2682
+ for (; !(y = f.next()).done; )
2683
+ if (!le(y.value))
2684
+ return !1;
2685
+ } else
2686
+ for (; !(y = f.next()).done; ) {
2687
+ var d = y.value;
2688
+ if (d && !le(d[1]))
2689
+ return !1;
2690
+ }
2691
+ } else
2692
+ return !1;
2693
+ return !0;
2694
+ default:
2695
+ return !1;
2696
+ }
2697
+ }
2698
+ function fe(r, a) {
2699
+ return r === "symbol" ? !0 : a ? a["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && a instanceof Symbol : !1;
2700
+ }
2701
+ function se(r) {
2702
+ var a = typeof r;
2703
+ return Array.isArray(r) ? "array" : r instanceof RegExp ? "object" : fe(a, r) ? "symbol" : a;
2704
+ }
2705
+ function C(r) {
2706
+ if (typeof r > "u" || r === null)
2707
+ return "" + r;
2708
+ var a = se(r);
2709
+ if (a === "object") {
2710
+ if (r instanceof Date)
2711
+ return "date";
2712
+ if (r instanceof RegExp)
2713
+ return "regexp";
2714
+ }
2715
+ return a;
2716
+ }
2717
+ function ge(r) {
2718
+ var a = C(r);
2719
+ switch (a) {
2720
+ case "array":
2721
+ case "object":
2722
+ return "an " + a;
2723
+ case "boolean":
2724
+ case "date":
2725
+ case "regexp":
2726
+ return "a " + a;
2727
+ default:
2728
+ return a;
2729
+ }
2730
+ }
2731
+ function Se(r) {
2732
+ return !r.constructor || !r.constructor.name ? W : r.constructor.name;
2733
+ }
2734
+ return q.checkPropTypes = $, q.resetWarningCache = $.resetWarningCache, q.PropTypes = q, q;
2735
+ }, Hr;
2736
+ }
2737
+ var Gr, Ft;
2738
+ function _n() {
2739
+ if (Ft)
2740
+ return Gr;
2741
+ Ft = 1;
2742
+ var l = Xr();
2743
+ function h() {
2744
+ }
2745
+ function N() {
2746
+ }
2747
+ return N.resetWarningCache = h, Gr = function() {
2748
+ function P(D, x, j, I, T, S) {
2749
+ if (S !== l) {
2750
+ var W = new Error(
2751
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
2752
+ );
2753
+ throw W.name = "Invariant Violation", W;
2754
+ }
2755
+ }
2756
+ P.isRequired = P;
2757
+ function $() {
2758
+ return P;
2759
+ }
2760
+ var O = {
2761
+ array: P,
2762
+ bigint: P,
2763
+ bool: P,
2764
+ func: P,
2765
+ number: P,
2766
+ object: P,
2767
+ string: P,
2768
+ symbol: P,
2769
+ any: P,
2770
+ arrayOf: $,
2771
+ element: P,
2772
+ elementType: P,
2773
+ instanceOf: $,
2774
+ node: P,
2775
+ objectOf: $,
2776
+ oneOf: $,
2777
+ oneOfType: $,
2778
+ shape: $,
2779
+ exact: $,
2780
+ checkPropTypes: N,
2781
+ resetWarningCache: h
2782
+ };
2783
+ return O.PropTypes = O, O;
2784
+ }, Gr;
2785
+ }
2786
+ if (process.env.NODE_ENV !== "production") {
2787
+ var En = $t(), Rn = !0;
2788
+ Zr.exports = bn()(En.isElement, Rn);
2789
+ } else
2790
+ Zr.exports = _n()();
2791
+ var Cn = Zr.exports;
2792
+ const Re = /* @__PURE__ */ ln(Cn), wn = ({ title: l = "", id: h = "", children: N = /* @__PURE__ */ R.jsx("div", {}) }) => /* @__PURE__ */ R.jsxs("div", { className: "u-accordion", children: [
2793
+ /* @__PURE__ */ R.jsx("div", { className: "u-accordion-title", children: l }),
2794
+ /* @__PURE__ */ R.jsx("input", { className: "u-accordion-input", type: "checkbox", id: `u-accordion${h}` }),
2795
+ /* @__PURE__ */ R.jsx("label", { className: "u-accordion-toggle", htmlFor: `u-accordion${h}` }),
2796
+ /* @__PURE__ */ R.jsx("div", { className: "u-accordion-content", children: N })
2797
+ ] });
2798
+ wn.propTypes = {
2799
+ title: Re.string,
2800
+ id: Re.string,
2801
+ children: Re.node
2802
+ };
2803
+ const Tn = ({ onClick: l, variant: h = "primary", size: N = "medium", type: P = "button", icon: $ = "", iconLeft: O = !1, iconOnly: D = !1, iconSize: x, disabled: j = !1, children: I = /* @__PURE__ */ R.jsx("span", { children: "ОК" }) }) => {
2804
+ const T = (M) => {
2805
+ switch (M) {
2806
+ case "primary":
2807
+ return "u-button";
2808
+ case "danger":
2809
+ return "u-button u-button-danger";
2810
+ case "outline":
2811
+ return "u-button u-button-outline";
2812
+ case "danger-outline":
2813
+ return "u-button u-button-danger-outline";
2814
+ case "simple":
2815
+ return "u-button u-button-simple";
2816
+ case "text":
2817
+ return "u-button-text";
2818
+ case "text-danger":
2819
+ return "u-button-text u-button-text-danger";
2820
+ default:
2821
+ return "u-button";
2822
+ }
2823
+ }, S = (M) => {
2824
+ switch (M) {
2825
+ case "medium":
2826
+ return "";
2827
+ case "small":
2828
+ return " u-button-small";
2829
+ default:
2830
+ return "";
2831
+ }
2832
+ }, W = (M) => M ? " u-button-text-icon-left" : "", q = (M) => M ? " icon-only" : "", ee = (M) => typeof M == "number" ? `${M}px` : String(M);
2833
+ return /* @__PURE__ */ R.jsxs(
2834
+ "button",
2835
+ {
2836
+ className: `${T(h)}${S(N)}${W(O)}`,
2837
+ type: P,
2838
+ onClick: l,
2839
+ disabled: j,
2840
+ children: [
2841
+ I,
2842
+ " ",
2843
+ $ && /* @__PURE__ */ R.jsx("i", { style: x && { fontSize: ee(x) }, className: `u-icon${q(D)} icon-${$}` })
2844
+ ]
2845
+ }
2846
+ );
2847
+ };
2848
+ Tn.propTypes = {
2849
+ variant: Re.oneOf(["primary", "danger", "outline", "danger-outline", "simple", "text", "text-danger"]),
2850
+ type: Re.string,
2851
+ size: Re.string,
2852
+ children: Re.node,
2853
+ onClick: Re.func,
2854
+ icon: Re.oneOf([
2855
+ "active",
2856
+ "application",
2857
+ "attention",
2858
+ "basket",
2859
+ "block",
2860
+ "briefcase",
2861
+ "calculator",
2862
+ "calendar",
2863
+ "catalog",
2864
+ "chat",
2865
+ "check",
2866
+ "clock",
2867
+ "cloud",
2868
+ "copy",
2869
+ "correct",
2870
+ "cross",
2871
+ "cup",
2872
+ "directory",
2873
+ "doc",
2874
+ "document",
2875
+ "documents",
2876
+ "down",
2877
+ "down-arrow",
2878
+ "download",
2879
+ "download-line",
2880
+ "dropdown",
2881
+ "dropdown-horisontal",
2882
+ "entrance",
2883
+ "extracurricular-activities",
2884
+ "filter",
2885
+ "filter-mobile",
2886
+ "folder",
2887
+ "folders",
2888
+ "full-screen",
2889
+ "hidden",
2890
+ "home",
2891
+ "img",
2892
+ "information",
2893
+ "jpg",
2894
+ "left",
2895
+ "left-arrow",
2896
+ "letter",
2897
+ "like",
2898
+ "link",
2899
+ "list-view",
2900
+ "lk-role",
2901
+ "minus",
2902
+ "moderation",
2903
+ "news",
2904
+ "notify",
2905
+ "ok",
2906
+ "pdf",
2907
+ "pencil",
2908
+ "people",
2909
+ "plus",
2910
+ "png",
2911
+ "ppt",
2912
+ "question",
2913
+ "rating",
2914
+ "right",
2915
+ "right-arrow",
2916
+ "role",
2917
+ "save",
2918
+ "search",
2919
+ "setting",
2920
+ "settlement",
2921
+ "sorting",
2922
+ "star",
2923
+ "star-top20",
2924
+ "star-top50",
2925
+ "submenu",
2926
+ "svg",
2927
+ "table-view",
2928
+ "telephone",
2929
+ "test-tube",
2930
+ "top100",
2931
+ "top20",
2932
+ "top50",
2933
+ "union",
2934
+ "university",
2935
+ "unlink",
2936
+ "up",
2937
+ "up-arrow",
2938
+ "upload",
2939
+ "user",
2940
+ "warning",
2941
+ "xls",
2942
+ "zip"
2943
+ ])
2944
+ };
2945
+ const Sn = ({ variant: l = "small-primary" }) => /* @__PURE__ */ R.jsxs(R.Fragment, { children: [
2946
+ l === "small-primary" && /* @__PURE__ */ R.jsx("div", { className: "u-preloader-mini", children: /* @__PURE__ */ R.jsxs("svg", { className: "u-preloader-mini-container", width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2947
+ /* @__PURE__ */ R.jsx("circle", { cx: "24", cy: "24", r: "23", stroke: "#1E4391", "stroke-width": "2" }),
2948
+ /* @__PURE__ */ R.jsx("circle", { className: "u-preloader-mini-dot", cx: "6.5", cy: "6.5", r: "6.5", fill: "#1E4391" })
2949
+ ] }) }),
2950
+ l === "small-special" && /* @__PURE__ */ R.jsx("div", { className: "u-preloader-mini-gradient", children: /* @__PURE__ */ R.jsxs("svg", { className: "u-preloader-mini-gradient-container", width: "48", height: "48", viewBox: "0 0 48 48", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2951
+ /* @__PURE__ */ R.jsx("circle", { cx: "24", cy: "24", r: "23", stroke: "url(#paint0_linear_8025_35626)", "stroke-width": "2" }),
2952
+ /* @__PURE__ */ R.jsx("circle", { className: "u-preloader-mini-dot", cx: "6.5", cy: "6.5", r: "6.5", fill: "url(#paint0_linear_8025_35627)" }),
2953
+ /* @__PURE__ */ R.jsxs("defs", { children: [
2954
+ /* @__PURE__ */ R.jsxs("linearGradient", { id: "paint0_linear_8025_35626", x1: "54.3387", y1: "23.9985", x2: "6", y2: "23.9985", gradientUnits: "userSpaceOnUse", children: [
2955
+ /* @__PURE__ */ R.jsx("stop", { "stop-color": "#FF2D7F" }),
2956
+ /* @__PURE__ */ R.jsx("stop", { offset: "0.48", "stop-color": "#FB3727" }),
2957
+ /* @__PURE__ */ R.jsx("stop", { offset: "1", "stop-color": "#FEEA0F" })
2958
+ ] }),
2959
+ /* @__PURE__ */ R.jsxs("linearGradient", { id: "paint0_linear_8025_35627", x1: "0.50109", y1: "13", x2: "8.00065", y2: "0.000589107", gradientUnits: "userSpaceOnUse", children: [
2960
+ /* @__PURE__ */ R.jsx("stop", { "stop-color": "#FF2D7F" }),
2961
+ /* @__PURE__ */ R.jsx("stop", { offset: "0.192259", "stop-color": "#FB3727" }),
2962
+ /* @__PURE__ */ R.jsx("stop", { offset: "1", "stop-color": "#FEEA0F" })
2963
+ ] })
2964
+ ] })
2965
+ ] }) }),
2966
+ l === "large-primary" && /* @__PURE__ */ R.jsx("div", { className: "u-preloader", children: /* @__PURE__ */ R.jsxs("svg", { className: "u-preloader-container", width: "76", height: "76", viewBox: "0 0 76 76", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2967
+ /* @__PURE__ */ R.jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M38 74C57.8823 74 74 57.8823 74 38C74 18.1177 57.8823 2 38 2C18.1177 2 2 18.1177 2 38C2 57.8823 18.1177 74 38 74ZM38 76C58.9868 76 76 58.9868 76 38C76 17.0132 58.9868 0 38 0C17.0132 0 0 17.0132 0 38C0 58.9868 17.0132 76 38 76Z", fill: "#1E4391" }),
2968
+ /* @__PURE__ */ R.jsx("path", { className: "u-preloader-dot", d: "M12.2573 17.5283C12.2573 20.0136 10.2426 22.0283 7.75732 22.0283C5.27204 22.0283 3.25732 20.0136 3.25732 17.5283C3.25732 15.043 5.27204 13.0283 7.75732 13.0283C10.2426 13.0283 12.2573 15.043 12.2573 17.5283Z", fill: "#1E4391" }),
2969
+ /* @__PURE__ */ R.jsx("path", { className: "u-preloader-logo", d: "M52.5974 25.4219C52.9649 24.721 53.5215 24.137 54.2039 23.7362C54.8864 23.3354 55.6675 23.1338 56.4587 23.1542L56.8417 21.7254H45.4303L45.0472 23.1542C46.9626 23.1542 49.575 23.9203 49.7512 25.4219H52.5897H52.5974ZM19.543 23.1542C22.4274 23.1542 23.6456 25.1653 24.9441 27.3219L35.5588 45.525C36.0606 46.4329 36.5509 47.5322 36.5356 48.5589C36.4973 51.2403 33.0229 52.2171 30.9429 52.3167C29.4339 52.3686 27.9339 52.0642 26.5645 51.428L25.7179 52.5159C26.2121 54.6151 28.1542 57.1663 30.8242 57.1471C35.463 57.1126 37.8993 52.8721 39.7648 49.4169L43.2124 43.016L33.1838 25.8203C32.2568 24.288 33.7776 23.1618 35.3941 23.1389L35.7771 21.7139H19.9145L19.543 23.1542Z", fill: "#1E4391" })
2970
+ ] }) }),
2971
+ l === "large-special" && /* @__PURE__ */ R.jsx("div", { className: "u-preloader-gradient", children: /* @__PURE__ */ R.jsxs("svg", { className: "u-preloader-gradient-container", width: "76", height: "76", viewBox: "0 0 76 76", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
2972
+ /* @__PURE__ */ R.jsx("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M38 74C57.8823 74 74 57.8823 74 38C74 18.1177 57.8823 2 38 2C18.1177 2 2 18.1177 2 38C2 57.8823 18.1177 74 38 74ZM38 76C58.9868 76 76 58.9868 76 38C76 17.0132 58.9868 0 38 0C17.0132 0 0 17.0132 0 38C0 58.9868 17.0132 76 38 76Z", fill: "url(#paint0_linear_1804_4939)" }),
2973
+ /* @__PURE__ */ R.jsx("path", { className: "u-preloader-gradient-dot", d: "M12.2573 17.5283C12.2573 20.0136 10.2426 22.0283 7.75732 22.0283C5.27204 22.0283 3.25732 20.0136 3.25732 17.5283C3.25732 15.043 5.27204 13.0283 7.75732 13.0283C10.2426 13.0283 12.2573 15.043 12.2573 17.5283Z", fill: "url(#paint1_linear_1804_4939)" }),
2974
+ /* @__PURE__ */ R.jsx("path", { className: "u-preloader-gradient-logo", d: "M52.5974 25.4219C52.9649 24.721 53.5215 24.137 54.2039 23.7362C54.8864 23.3354 55.6675 23.1338 56.4587 23.1542L56.8417 21.7254H45.4303L45.0472 23.1542C46.9626 23.1542 49.575 23.9203 49.7512 25.4219H52.5897H52.5974ZM19.543 23.1542C22.4274 23.1542 23.6456 25.1653 24.9441 27.3219L35.5588 45.525C36.0606 46.4329 36.5509 47.5322 36.5356 48.5589C36.4973 51.2403 33.0229 52.2171 30.9429 52.3167C29.4339 52.3686 27.9339 52.0642 26.5645 51.428L25.7179 52.5159C26.2121 54.6151 28.1542 57.1663 30.8242 57.1471C35.463 57.1126 37.8993 52.8721 39.7648 49.4169L43.2124 43.016L33.1838 25.8203C32.2568 24.288 33.7776 23.1618 35.3941 23.1389L35.7771 21.7139H19.9145L19.543 23.1542Z", fill: "url(#paint2_linear_1804_4939)" }),
2975
+ /* @__PURE__ */ R.jsxs("defs", { children: [
2976
+ /* @__PURE__ */ R.jsxs("linearGradient", { id: "paint0_linear_1804_4939", x1: "76.5363", y1: "37.9977", x2: "1.9146e-07", y2: "37.9977", gradientUnits: "userSpaceOnUse", children: [
2977
+ /* @__PURE__ */ R.jsx("stop", { "stop-color": "#FF2D7F" }),
2978
+ /* @__PURE__ */ R.jsx("stop", { offset: "0.48", "stop-color": "#FB3727" }),
2979
+ /* @__PURE__ */ R.jsx("stop", { offset: "1", "stop-color": "#FEEA0F" })
2980
+ ] }),
2981
+ /* @__PURE__ */ R.jsxs("linearGradient", { id: "paint1_linear_1804_4939", x1: "5.06202", y1: "20.769", x2: "11.2799", y2: "12.9983", gradientUnits: "userSpaceOnUse", children: [
2982
+ /* @__PURE__ */ R.jsx("stop", { "stop-color": "#FF2D7F" }),
2983
+ /* @__PURE__ */ R.jsx("stop", { offset: "0.48", "stop-color": "#FB3727" }),
2984
+ /* @__PURE__ */ R.jsx("stop", { offset: "1", "stop-color": "#FEEA0F" })
2985
+ ] }),
2986
+ /* @__PURE__ */ R.jsxs("linearGradient", { id: "paint2_linear_1804_4939", x1: "35.9984", y1: "21.9995", x2: "36.4978", y2: "56.9995", gradientUnits: "userSpaceOnUse", children: [
2987
+ /* @__PURE__ */ R.jsx("stop", { "stop-color": "#FF2D7F" }),
2988
+ /* @__PURE__ */ R.jsx("stop", { offset: "0.48", "stop-color": "#FB3727" }),
2989
+ /* @__PURE__ */ R.jsx("stop", { offset: "1", "stop-color": "#FEEA0F" })
2990
+ ] })
2991
+ ] })
2992
+ ] }) })
2993
+ ] });
2994
+ Sn.propTypes = {
2995
+ variant: Re.string
2996
+ };
2997
+ const On = ({ options: l, placeholder: h = "Не выбрано", defaultValue: N }) => {
2998
+ const [P, $] = Je.useState(!1), [O, D] = Je.useState(N || { label: h, value: null }), [x, j] = Je.useState(!!N), I = l.map((S, W) => /* @__PURE__ */ R.jsx("div", { className: "u-selectbox-option", onClick: () => {
2999
+ D(S), j(!0);
3000
+ }, children: S.label }, W));
3001
+ Je.useEffect(() => (document.addEventListener("click", T), () => document.removeEventListener("click", T)), []);
3002
+ const T = (S) => {
3003
+ S.target.closest(".u-selectbox") || $(!1);
3004
+ };
3005
+ return /* @__PURE__ */ R.jsxs("div", { className: "u-selectbox", children: [
3006
+ /* @__PURE__ */ R.jsxs(
3007
+ "div",
3008
+ {
3009
+ className: P ? "u-selectbox-select u-selectbox-select-open" : "u-selectbox-select",
3010
+ onClick: () => {
3011
+ $(!P);
3012
+ },
3013
+ children: [
3014
+ /* @__PURE__ */ R.jsx("span", { className: "u-selectbox-select-title", children: O.label }),
3015
+ x ? /* @__PURE__ */ R.jsx(
3016
+ "i",
3017
+ {
3018
+ className: "u-selectbox-select-icon-cross",
3019
+ onClick: (S) => {
3020
+ D({ label: h, value: null }), j(!1), S.stopPropagation();
3021
+ }
3022
+ }
3023
+ ) : /* @__PURE__ */ R.jsx(R.Fragment, {}),
3024
+ /* @__PURE__ */ R.jsx("i", { className: "u-selectbox-select-icon-arrow" })
3025
+ ]
3026
+ }
3027
+ ),
3028
+ /* @__PURE__ */ R.jsx(
3029
+ "div",
3030
+ {
3031
+ className: "u-selectbox-options",
3032
+ onClick: () => {
3033
+ $(!1);
3034
+ },
3035
+ children: I
3036
+ }
3037
+ )
3038
+ ] });
3039
+ };
3040
+ On.propTypes = {
3041
+ options: Re.array,
3042
+ placeholder: Re.string
3043
+ };
3044
+ export {
3045
+ wn as Accordion,
3046
+ Tn as Button,
3047
+ Sn as Preloader,
3048
+ On as Select
3049
+ };