kwant-ui 3.13.8 → 4.1.0-alpha.0

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.
Files changed (38) hide show
  1. package/dist/components/HoverInput/HoverInput.d.ts +2 -2
  2. package/dist/components/HoverInput/types.d.ts +2 -6
  3. package/dist/components/HoverSelect/types.d.ts +0 -2
  4. package/dist/components/Select/Select.types.d.ts +1 -2
  5. package/dist/index.es.js +3 -3
  6. package/dist/index.js +2 -2
  7. package/dist/package.json +1 -1
  8. package/package.json +1 -1
  9. package/dist/components/Button/Button.d.ts.map +0 -1
  10. package/dist/components/Button/Button.styled.d.ts.map +0 -1
  11. package/dist/components/Button/helper.d.ts.map +0 -1
  12. package/dist/components/Button/types.d.ts.map +0 -1
  13. package/dist/components/MultiSelect/onOutsideClick.d.ts +0 -3
  14. package/dist/components/Slider/Slider.d.ts.map +0 -1
  15. package/dist/components/Slider/Slider.styled.d.ts.map +0 -1
  16. package/dist/components/Slider/index.d.ts.map +0 -1
  17. package/dist/components/Slider/types.d.ts.map +0 -1
  18. package/dist/components/StepperDrawer/StepperDrawer.d.ts +0 -3
  19. package/dist/components/StepperDrawer/StepperDrawer.types.d.ts +0 -8
  20. package/dist/components/StepperDrawer/StepperDrawer.utils.d.ts +0 -1
  21. package/dist/components/StepperDrawer/StepperDrawerStyled.d.ts +0 -5
  22. package/dist/components/StepperDrawer/index.d.ts +0 -2
  23. package/dist/components/Text/TextStyled.d.ts.map +0 -1
  24. package/dist/components/Text/index.d.ts.map +0 -1
  25. package/dist/components/Text/types.d.ts.map +0 -1
  26. package/dist/components/Text/typography.d.ts.map +0 -1
  27. package/dist/components/Text/utils.d.ts.map +0 -1
  28. package/dist/components/stepper/index.d.ts.map +0 -1
  29. package/dist/index.d.ts.map +0 -1
  30. package/dist/kwant-ui.es.js +0 -4345
  31. package/dist/kwant-ui.umd.js +0 -507
  32. package/dist/public/assets/sprite.svg +0 -9502
  33. package/dist/stories/Drawer/StepperDrawerStory.d.ts +0 -2
  34. package/dist/stories/StepperDrawer.stories.d.ts +0 -72
  35. package/dist/themes/colors.d.ts.map +0 -1
  36. package/dist/themes/index.d.ts.map +0 -1
  37. package/dist/themes/types.d.ts.map +0 -1
  38. package/dist/types.d.ts +0 -572
@@ -1,4345 +0,0 @@
1
- function mn(r) {
2
- return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
3
- }
4
- var lt = { exports: {} }, hr = {}, jr = { exports: {} }, Q = {};
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 Kt;
15
- function eo() {
16
- if (Kt)
17
- return Q;
18
- Kt = 1;
19
- var r = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), h = Symbol.for("react.provider"), p = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), x = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), P = Symbol.iterator;
20
- function I(s) {
21
- return s === null || typeof s != "object" ? null : (s = P && s[P] || s["@@iterator"], typeof s == "function" ? s : null);
22
- }
23
- var D = { isMounted: function() {
24
- return !1;
25
- }, enqueueForceUpdate: function() {
26
- }, enqueueReplaceState: function() {
27
- }, enqueueSetState: function() {
28
- } }, $ = Object.assign, N = {};
29
- function v(s, S, g) {
30
- this.props = s, this.context = S, this.refs = N, this.updater = g || D;
31
- }
32
- v.prototype.isReactComponent = {}, v.prototype.setState = function(s, S) {
33
- if (typeof s != "object" && typeof s != "function" && s != 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, s, S, "setState");
36
- }, v.prototype.forceUpdate = function(s) {
37
- this.updater.enqueueForceUpdate(this, s, "forceUpdate");
38
- };
39
- function W() {
40
- }
41
- W.prototype = v.prototype;
42
- function j(s, S, g) {
43
- this.props = s, this.context = S, this.refs = N, this.updater = g || D;
44
- }
45
- var z = j.prototype = new W();
46
- z.constructor = j, $(z, v.prototype), z.isPureReactComponent = !0;
47
- var V = Array.isArray, d = Object.prototype.hasOwnProperty, ee = { current: null }, Ee = { key: !0, ref: !0, __self: !0, __source: !0 };
48
- function ye(s, S, g) {
49
- var _, w = {}, O = null, c = null;
50
- if (S != null)
51
- for (_ in S.ref !== void 0 && (c = S.ref), S.key !== void 0 && (O = "" + S.key), S)
52
- d.call(S, _) && !Ee.hasOwnProperty(_) && (w[_] = S[_]);
53
- var M = arguments.length - 2;
54
- if (M === 1)
55
- w.children = g;
56
- else if (1 < M) {
57
- for (var m = Array(M), H = 0; H < M; H++)
58
- m[H] = arguments[H + 2];
59
- w.children = m;
60
- }
61
- if (s && s.defaultProps)
62
- for (_ in M = s.defaultProps, M)
63
- w[_] === void 0 && (w[_] = M[_]);
64
- return { $$typeof: r, type: s, key: O, ref: c, props: w, _owner: ee.current };
65
- }
66
- function Ce(s, S) {
67
- return { $$typeof: r, type: s.type, key: S, ref: s.ref, props: s.props, _owner: s._owner };
68
- }
69
- function Ae(s) {
70
- return typeof s == "object" && s !== null && s.$$typeof === r;
71
- }
72
- function $e(s) {
73
- var S = { "=": "=0", ":": "=2" };
74
- return "$" + s.replace(/[=:]/g, function(g) {
75
- return S[g];
76
- });
77
- }
78
- var be = /\/+/g;
79
- function ae(s, S) {
80
- return typeof s == "object" && s !== null && s.key != null ? $e("" + s.key) : S.toString(36);
81
- }
82
- function fe(s, S, g, _, w) {
83
- var O = typeof s;
84
- (O === "undefined" || O === "boolean") && (s = null);
85
- var c = !1;
86
- if (s === null)
87
- c = !0;
88
- else
89
- switch (O) {
90
- case "string":
91
- case "number":
92
- c = !0;
93
- break;
94
- case "object":
95
- switch (s.$$typeof) {
96
- case r:
97
- case t:
98
- c = !0;
99
- }
100
- }
101
- if (c)
102
- return c = s, w = w(c), s = _ === "" ? "." + ae(c, 0) : _, V(w) ? (g = "", s != null && (g = s.replace(be, "$&/") + "/"), fe(w, S, g, "", function(H) {
103
- return H;
104
- })) : w != null && (Ae(w) && (w = Ce(w, g + (!w.key || c && c.key === w.key ? "" : ("" + w.key).replace(be, "$&/") + "/") + s)), S.push(w)), 1;
105
- if (c = 0, _ = _ === "" ? "." : _ + ":", V(s))
106
- for (var M = 0; M < s.length; M++) {
107
- O = s[M];
108
- var m = _ + ae(O, M);
109
- c += fe(O, S, g, m, w);
110
- }
111
- else if (m = I(s), typeof m == "function")
112
- for (s = m.call(s), M = 0; !(O = s.next()).done; )
113
- O = O.value, m = _ + ae(O, M++), c += fe(O, S, g, m, w);
114
- else if (O === "object")
115
- throw S = String(s), Error("Objects are not valid as a React child (found: " + (S === "[object Object]" ? "object with keys {" + Object.keys(s).join(", ") + "}" : S) + "). If you meant to render a collection of children, use an array instead.");
116
- return c;
117
- }
118
- function re(s, S, g) {
119
- if (s == null)
120
- return s;
121
- var _ = [], w = 0;
122
- return fe(s, _, "", "", function(O) {
123
- return S.call(g, O, w++);
124
- }), _;
125
- }
126
- function Pe(s) {
127
- if (s._status === -1) {
128
- var S = s._result;
129
- S = S(), S.then(function(g) {
130
- (s._status === 0 || s._status === -1) && (s._status = 1, s._result = g);
131
- }, function(g) {
132
- (s._status === 0 || s._status === -1) && (s._status = 2, s._result = g);
133
- }), s._status === -1 && (s._status = 0, s._result = S);
134
- }
135
- if (s._status === 1)
136
- return s._result.default;
137
- throw s._result;
138
- }
139
- var F = { current: null }, de = { transition: null }, Fe = { ReactCurrentDispatcher: F, ReactCurrentBatchConfig: de, ReactCurrentOwner: ee };
140
- return Q.Children = { map: re, forEach: function(s, S, g) {
141
- re(s, function() {
142
- S.apply(this, arguments);
143
- }, g);
144
- }, count: function(s) {
145
- var S = 0;
146
- return re(s, function() {
147
- S++;
148
- }), S;
149
- }, toArray: function(s) {
150
- return re(s, function(S) {
151
- return S;
152
- }) || [];
153
- }, only: function(s) {
154
- if (!Ae(s))
155
- throw Error("React.Children.only expected to receive a single React element child.");
156
- return s;
157
- } }, Q.Component = v, Q.Fragment = n, Q.Profiler = l, Q.PureComponent = j, Q.StrictMode = i, Q.Suspense = y, Q.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Fe, Q.cloneElement = function(s, S, g) {
158
- if (s == null)
159
- throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + s + ".");
160
- var _ = $({}, s.props), w = s.key, O = s.ref, c = s._owner;
161
- if (S != null) {
162
- if (S.ref !== void 0 && (O = S.ref, c = ee.current), S.key !== void 0 && (w = "" + S.key), s.type && s.type.defaultProps)
163
- var M = s.type.defaultProps;
164
- for (m in S)
165
- d.call(S, m) && !Ee.hasOwnProperty(m) && (_[m] = S[m] === void 0 && M !== void 0 ? M[m] : S[m]);
166
- }
167
- var m = arguments.length - 2;
168
- if (m === 1)
169
- _.children = g;
170
- else if (1 < m) {
171
- M = Array(m);
172
- for (var H = 0; H < m; H++)
173
- M[H] = arguments[H + 2];
174
- _.children = M;
175
- }
176
- return { $$typeof: r, type: s.type, key: w, ref: O, props: _, _owner: c };
177
- }, Q.createContext = function(s) {
178
- return s = { $$typeof: p, _currentValue: s, _currentValue2: s, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, s.Provider = { $$typeof: h, _context: s }, s.Consumer = s;
179
- }, Q.createElement = ye, Q.createFactory = function(s) {
180
- var S = ye.bind(null, s);
181
- return S.type = s, S;
182
- }, Q.createRef = function() {
183
- return { current: null };
184
- }, Q.forwardRef = function(s) {
185
- return { $$typeof: b, render: s };
186
- }, Q.isValidElement = Ae, Q.lazy = function(s) {
187
- return { $$typeof: R, _payload: { _status: -1, _result: s }, _init: Pe };
188
- }, Q.memo = function(s, S) {
189
- return { $$typeof: x, type: s, compare: S === void 0 ? null : S };
190
- }, Q.startTransition = function(s) {
191
- var S = de.transition;
192
- de.transition = {};
193
- try {
194
- s();
195
- } finally {
196
- de.transition = S;
197
- }
198
- }, Q.unstable_act = function() {
199
- throw Error("act(...) is not supported in production builds of React.");
200
- }, Q.useCallback = function(s, S) {
201
- return F.current.useCallback(s, S);
202
- }, Q.useContext = function(s) {
203
- return F.current.useContext(s);
204
- }, Q.useDebugValue = function() {
205
- }, Q.useDeferredValue = function(s) {
206
- return F.current.useDeferredValue(s);
207
- }, Q.useEffect = function(s, S) {
208
- return F.current.useEffect(s, S);
209
- }, Q.useId = function() {
210
- return F.current.useId();
211
- }, Q.useImperativeHandle = function(s, S, g) {
212
- return F.current.useImperativeHandle(s, S, g);
213
- }, Q.useInsertionEffect = function(s, S) {
214
- return F.current.useInsertionEffect(s, S);
215
- }, Q.useLayoutEffect = function(s, S) {
216
- return F.current.useLayoutEffect(s, S);
217
- }, Q.useMemo = function(s, S) {
218
- return F.current.useMemo(s, S);
219
- }, Q.useReducer = function(s, S, g) {
220
- return F.current.useReducer(s, S, g);
221
- }, Q.useRef = function(s) {
222
- return F.current.useRef(s);
223
- }, Q.useState = function(s) {
224
- return F.current.useState(s);
225
- }, Q.useSyncExternalStore = function(s, S, g) {
226
- return F.current.useSyncExternalStore(s, S, g);
227
- }, Q.useTransition = function() {
228
- return F.current.useTransition();
229
- }, Q.version = "18.2.0", Q;
230
- }
231
- var mr = { 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
- mr.exports;
242
- var Xt;
243
- function ro() {
244
- return Xt || (Xt = 1, function(r, t) {
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", i = Symbol.for("react.element"), l = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), y = Symbol.for("react.provider"), x = Symbol.for("react.context"), R = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), I = Symbol.for("react.suspense_list"), D = Symbol.for("react.memo"), $ = Symbol.for("react.lazy"), N = Symbol.for("react.offscreen"), v = Symbol.iterator, W = "@@iterator";
248
- function j(e) {
249
- if (e === null || typeof e != "object")
250
- return null;
251
- var o = v && e[v] || e[W];
252
- return typeof o == "function" ? o : null;
253
- }
254
- var z = {
255
- /**
256
- * @internal
257
- * @type {ReactComponent}
258
- */
259
- current: null
260
- }, V = {
261
- transition: null
262
- }, d = {
263
- current: null,
264
- // Used to reproduce behavior of `batchedUpdates` in legacy mode.
265
- isBatchingLegacy: !1,
266
- didScheduleLegacyUpdate: !1
267
- }, ee = {
268
- /**
269
- * @internal
270
- * @type {ReactComponent}
271
- */
272
- current: null
273
- }, Ee = {}, ye = null;
274
- function Ce(e) {
275
- ye = e;
276
- }
277
- Ee.setExtraStackFrame = function(e) {
278
- ye = e;
279
- }, Ee.getCurrentStack = null, Ee.getStackAddendum = function() {
280
- var e = "";
281
- ye && (e += ye);
282
- var o = Ee.getCurrentStack;
283
- return o && (e += o() || ""), e;
284
- };
285
- var Ae = !1, $e = !1, be = !1, ae = !1, fe = !1, re = {
286
- ReactCurrentDispatcher: z,
287
- ReactCurrentBatchConfig: V,
288
- ReactCurrentOwner: ee
289
- };
290
- re.ReactDebugCurrentFrame = Ee, re.ReactCurrentActQueue = d;
291
- function Pe(e) {
292
- {
293
- for (var o = arguments.length, u = new Array(o > 1 ? o - 1 : 0), f = 1; f < o; f++)
294
- u[f - 1] = arguments[f];
295
- de("warn", e, u);
296
- }
297
- }
298
- function F(e) {
299
- {
300
- for (var o = arguments.length, u = new Array(o > 1 ? o - 1 : 0), f = 1; f < o; f++)
301
- u[f - 1] = arguments[f];
302
- de("error", e, u);
303
- }
304
- }
305
- function de(e, o, u) {
306
- {
307
- var f = re.ReactDebugCurrentFrame, T = f.getStackAddendum();
308
- T !== "" && (o += "%s", u = u.concat([T]));
309
- var B = u.map(function(Y) {
310
- return String(Y);
311
- });
312
- B.unshift("Warning: " + o), Function.prototype.apply.call(console[e], console, B);
313
- }
314
- }
315
- var Fe = {};
316
- function s(e, o) {
317
- {
318
- var u = e.constructor, f = u && (u.displayName || u.name) || "ReactClass", T = f + "." + o;
319
- if (Fe[T])
320
- return;
321
- F("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.", o, f), Fe[T] = !0;
322
- }
323
- }
324
- var S = {
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, o, u) {
351
- s(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, o, u, f) {
367
- s(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, o, u, f) {
382
- s(e, "setState");
383
- }
384
- }, g = Object.assign, _ = {};
385
- Object.freeze(_);
386
- function w(e, o, u) {
387
- this.props = e, this.context = o, this.refs = _, this.updater = u || S;
388
- }
389
- w.prototype.isReactComponent = {}, w.prototype.setState = function(e, o) {
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, o, "setState");
393
- }, w.prototype.forceUpdate = function(e) {
394
- this.updater.enqueueForceUpdate(this, e, "forceUpdate");
395
- };
396
- {
397
- var O = {
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
- }, c = function(e, o) {
401
- Object.defineProperty(w.prototype, e, {
402
- get: function() {
403
- Pe("%s(...) is deprecated in plain JavaScript React classes. %s", o[0], o[1]);
404
- }
405
- });
406
- };
407
- for (var M in O)
408
- O.hasOwnProperty(M) && c(M, O[M]);
409
- }
410
- function m() {
411
- }
412
- m.prototype = w.prototype;
413
- function H(e, o, u) {
414
- this.props = e, this.context = o, this.refs = _, this.updater = u || S;
415
- }
416
- var K = H.prototype = new m();
417
- K.constructor = H, g(K, w.prototype), K.isPureReactComponent = !0;
418
- function Z() {
419
- var e = {
420
- current: null
421
- };
422
- return Object.seal(e), e;
423
- }
424
- var E = Array.isArray;
425
- function ie(e) {
426
- return E(e);
427
- }
428
- function A(e) {
429
- {
430
- var o = typeof Symbol == "function" && Symbol.toStringTag, u = o && e[Symbol.toStringTag] || e.constructor.name || "Object";
431
- return u;
432
- }
433
- }
434
- function G(e) {
435
- try {
436
- return pe(e), !1;
437
- } catch {
438
- return !0;
439
- }
440
- }
441
- function pe(e) {
442
- return "" + e;
443
- }
444
- function X(e) {
445
- if (G(e))
446
- return F("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", A(e)), pe(e);
447
- }
448
- function Re(e, o, u) {
449
- var f = e.displayName;
450
- if (f)
451
- return f;
452
- var T = o.displayName || o.name || "";
453
- return T !== "" ? u + "(" + T + ")" : u;
454
- }
455
- function Me(e) {
456
- return e.displayName || "Context";
457
- }
458
- function ve(e) {
459
- if (e == null)
460
- return null;
461
- if (typeof e.tag == "number" && F("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 h:
467
- return "Fragment";
468
- case l:
469
- return "Portal";
470
- case b:
471
- return "Profiler";
472
- case p:
473
- return "StrictMode";
474
- case P:
475
- return "Suspense";
476
- case I:
477
- return "SuspenseList";
478
- }
479
- if (typeof e == "object")
480
- switch (e.$$typeof) {
481
- case x:
482
- var o = e;
483
- return Me(o) + ".Consumer";
484
- case y:
485
- var u = e;
486
- return Me(u._context) + ".Provider";
487
- case R:
488
- return Re(e, e.render, "ForwardRef");
489
- case D:
490
- var f = e.displayName || null;
491
- return f !== null ? f : ve(e.type) || "Memo";
492
- case $: {
493
- var T = e, B = T._payload, Y = T._init;
494
- try {
495
- return ve(Y(B));
496
- } catch {
497
- return null;
498
- }
499
- }
500
- }
501
- return null;
502
- }
503
- var Le = Object.prototype.hasOwnProperty, Ye = {
504
- key: !0,
505
- ref: !0,
506
- __self: !0,
507
- __source: !0
508
- }, De, U, me;
509
- me = {};
510
- function Ue(e) {
511
- if (Le.call(e, "ref")) {
512
- var o = Object.getOwnPropertyDescriptor(e, "ref").get;
513
- if (o && o.isReactWarning)
514
- return !1;
515
- }
516
- return e.ref !== void 0;
517
- }
518
- function Ve(e) {
519
- if (Le.call(e, "key")) {
520
- var o = Object.getOwnPropertyDescriptor(e, "key").get;
521
- if (o && o.isReactWarning)
522
- return !1;
523
- }
524
- return e.key !== void 0;
525
- }
526
- function ze(e, o) {
527
- var u = function() {
528
- De || (De = !0, F("%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)", o));
529
- };
530
- u.isReactWarning = !0, Object.defineProperty(e, "key", {
531
- get: u,
532
- configurable: !0
533
- });
534
- }
535
- function br(e, o) {
536
- var u = function() {
537
- U || (U = !0, F("%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)", o));
538
- };
539
- u.isReactWarning = !0, Object.defineProperty(e, "ref", {
540
- get: u,
541
- configurable: !0
542
- });
543
- }
544
- function Er(e) {
545
- if (typeof e.ref == "string" && ee.current && e.__self && ee.current.stateNode !== e.__self) {
546
- var o = ve(ee.current.type);
547
- me[o] || (F('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', o, e.ref), me[o] = !0);
548
- }
549
- }
550
- var Qe = function(e, o, u, f, T, B, Y) {
551
- var q = {
552
- // This tag allows us to uniquely identify this as a React Element
553
- $$typeof: i,
554
- // Built-in properties that belong on the element
555
- type: e,
556
- key: o,
557
- ref: u,
558
- props: Y,
559
- // Record the component responsible for creating this element.
560
- _owner: B
561
- };
562
- return q._store = {}, Object.defineProperty(q._store, "validated", {
563
- configurable: !1,
564
- enumerable: !1,
565
- writable: !0,
566
- value: !1
567
- }), Object.defineProperty(q, "_self", {
568
- configurable: !1,
569
- enumerable: !1,
570
- writable: !1,
571
- value: f
572
- }), Object.defineProperty(q, "_source", {
573
- configurable: !1,
574
- enumerable: !1,
575
- writable: !1,
576
- value: T
577
- }), Object.freeze && (Object.freeze(q.props), Object.freeze(q)), q;
578
- };
579
- function Wr(e, o, u) {
580
- var f, T = {}, B = null, Y = null, q = null, ne = null;
581
- if (o != null) {
582
- Ue(o) && (Y = o.ref, Er(o)), Ve(o) && (X(o.key), B = "" + o.key), q = o.__self === void 0 ? null : o.__self, ne = o.__source === void 0 ? null : o.__source;
583
- for (f in o)
584
- Le.call(o, f) && !Ye.hasOwnProperty(f) && (T[f] = o[f]);
585
- }
586
- var ge = arguments.length - 2;
587
- if (ge === 1)
588
- T.children = u;
589
- else if (ge > 1) {
590
- for (var _e = Array(ge), we = 0; we < ge; we++)
591
- _e[we] = arguments[we + 2];
592
- Object.freeze && Object.freeze(_e), T.children = _e;
593
- }
594
- if (e && e.defaultProps) {
595
- var xe = e.defaultProps;
596
- for (f in xe)
597
- T[f] === void 0 && (T[f] = xe[f]);
598
- }
599
- if (B || Y) {
600
- var Oe = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
601
- B && ze(T, Oe), Y && br(T, Oe);
602
- }
603
- return Qe(e, B, Y, q, ne, ee.current, T);
604
- }
605
- function Ur(e, o) {
606
- var u = Qe(e.type, o, e.ref, e._self, e._source, e._owner, e.props);
607
- return u;
608
- }
609
- function Br(e, o, u) {
610
- if (e == null)
611
- throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
612
- var f, T = g({}, e.props), B = e.key, Y = e.ref, q = e._self, ne = e._source, ge = e._owner;
613
- if (o != null) {
614
- Ue(o) && (Y = o.ref, ge = ee.current), Ve(o) && (X(o.key), B = "" + o.key);
615
- var _e;
616
- e.type && e.type.defaultProps && (_e = e.type.defaultProps);
617
- for (f in o)
618
- Le.call(o, f) && !Ye.hasOwnProperty(f) && (o[f] === void 0 && _e !== void 0 ? T[f] = _e[f] : T[f] = o[f]);
619
- }
620
- var we = arguments.length - 2;
621
- if (we === 1)
622
- T.children = u;
623
- else if (we > 1) {
624
- for (var xe = Array(we), Oe = 0; Oe < we; Oe++)
625
- xe[Oe] = arguments[Oe + 2];
626
- T.children = xe;
627
- }
628
- return Qe(e.type, B, Y, q, ne, ge, T);
629
- }
630
- function Ge(e) {
631
- return typeof e == "object" && e !== null && e.$$typeof === i;
632
- }
633
- var _r = ".", Hr = ":";
634
- function Gr(e) {
635
- var o = /[=:]/g, u = {
636
- "=": "=0",
637
- ":": "=2"
638
- }, f = e.replace(o, function(T) {
639
- return u[T];
640
- });
641
- return "$" + f;
642
- }
643
- var ar = !1, wr = /\/+/g;
644
- function Be(e) {
645
- return e.replace(wr, "$&/");
646
- }
647
- function er(e, o) {
648
- return typeof e == "object" && e !== null && e.key != null ? (X(e.key), Gr("" + e.key)) : o.toString(36);
649
- }
650
- function qe(e, o, u, f, T) {
651
- var B = typeof e;
652
- (B === "undefined" || B === "boolean") && (e = null);
653
- var Y = !1;
654
- if (e === null)
655
- Y = !0;
656
- else
657
- switch (B) {
658
- case "string":
659
- case "number":
660
- Y = !0;
661
- break;
662
- case "object":
663
- switch (e.$$typeof) {
664
- case i:
665
- case l:
666
- Y = !0;
667
- }
668
- }
669
- if (Y) {
670
- var q = e, ne = T(q), ge = f === "" ? _r + er(q, 0) : f;
671
- if (ie(ne)) {
672
- var _e = "";
673
- ge != null && (_e = Be(ge) + "/"), qe(ne, o, _e, "", function(Qn) {
674
- return Qn;
675
- });
676
- } else
677
- ne != null && (Ge(ne) && (ne.key && (!q || q.key !== ne.key) && X(ne.key), ne = Ur(
678
- ne,
679
- // Keep both the (mapped) and old keys if they differ, just as
680
- // traverseAllChildren used to do for objects as children
681
- u + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
682
- (ne.key && (!q || q.key !== ne.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
- Be("" + ne.key) + "/"
686
- ) : "") + ge
687
- )), o.push(ne));
688
- return 1;
689
- }
690
- var we, xe, Oe = 0, Ie = f === "" ? _r : f + Hr;
691
- if (ie(e))
692
- for (var Fr = 0; Fr < e.length; Fr++)
693
- we = e[Fr], xe = Ie + er(we, Fr), Oe += qe(we, o, u, xe, T);
694
- else {
695
- var st = j(e);
696
- if (typeof st == "function") {
697
- var Ht = e;
698
- st === Ht.entries && (ar || Pe("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), ar = !0);
699
- for (var Zn = st.call(Ht), Gt, Jn = 0; !(Gt = Zn.next()).done; )
700
- we = Gt.value, xe = Ie + er(we, Jn++), Oe += qe(we, o, u, xe, T);
701
- } else if (B === "object") {
702
- var qt = String(e);
703
- throw new Error("Objects are not valid as a React child (found: " + (qt === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : qt) + "). If you meant to render a collection of children, use an array instead.");
704
- }
705
- }
706
- return Oe;
707
- }
708
- function rr(e, o, u) {
709
- if (e == null)
710
- return e;
711
- var f = [], T = 0;
712
- return qe(e, f, "", "", function(B) {
713
- return o.call(u, B, T++);
714
- }), f;
715
- }
716
- function qr(e) {
717
- var o = 0;
718
- return rr(e, function() {
719
- o++;
720
- }), o;
721
- }
722
- function Cr(e, o, u) {
723
- rr(e, function() {
724
- o.apply(this, arguments);
725
- }, u);
726
- }
727
- function Kr(e) {
728
- return rr(e, function(o) {
729
- return o;
730
- }) || [];
731
- }
732
- function Sr(e) {
733
- if (!Ge(e))
734
- throw new Error("React.Children.only expected to receive a single React element child.");
735
- return e;
736
- }
737
- function xr(e) {
738
- var o = {
739
- $$typeof: x,
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
- o.Provider = {
758
- $$typeof: y,
759
- _context: o
760
- };
761
- var u = !1, f = !1, T = !1;
762
- {
763
- var B = {
764
- $$typeof: x,
765
- _context: o
766
- };
767
- Object.defineProperties(B, {
768
- Provider: {
769
- get: function() {
770
- return f || (f = !0, F("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), o.Provider;
771
- },
772
- set: function(Y) {
773
- o.Provider = Y;
774
- }
775
- },
776
- _currentValue: {
777
- get: function() {
778
- return o._currentValue;
779
- },
780
- set: function(Y) {
781
- o._currentValue = Y;
782
- }
783
- },
784
- _currentValue2: {
785
- get: function() {
786
- return o._currentValue2;
787
- },
788
- set: function(Y) {
789
- o._currentValue2 = Y;
790
- }
791
- },
792
- _threadCount: {
793
- get: function() {
794
- return o._threadCount;
795
- },
796
- set: function(Y) {
797
- o._threadCount = Y;
798
- }
799
- },
800
- Consumer: {
801
- get: function() {
802
- return u || (u = !0, F("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), o.Consumer;
803
- }
804
- },
805
- displayName: {
806
- get: function() {
807
- return o.displayName;
808
- },
809
- set: function(Y) {
810
- T || (Pe("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", Y), T = !0);
811
- }
812
- }
813
- }), o.Consumer = B;
814
- }
815
- return o._currentRenderer = null, o._currentRenderer2 = null, o;
816
- }
817
- var tr = -1, fr = 0, dr = 1, Xr = 2;
818
- function Zr(e) {
819
- if (e._status === tr) {
820
- var o = e._result, u = o();
821
- if (u.then(function(B) {
822
- if (e._status === fr || e._status === tr) {
823
- var Y = e;
824
- Y._status = dr, Y._result = B;
825
- }
826
- }, function(B) {
827
- if (e._status === fr || e._status === tr) {
828
- var Y = e;
829
- Y._status = Xr, Y._result = B;
830
- }
831
- }), e._status === tr) {
832
- var f = e;
833
- f._status = fr, f._result = u;
834
- }
835
- }
836
- if (e._status === dr) {
837
- var T = e._result;
838
- return T === void 0 && F(`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?`, T), "default" in T || F(`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'))`, T), T.default;
847
- } else
848
- throw e._result;
849
- }
850
- function Jr(e) {
851
- var o = {
852
- // We use these fields to store the result.
853
- _status: tr,
854
- _result: e
855
- }, u = {
856
- $$typeof: $,
857
- _payload: o,
858
- _init: Zr
859
- };
860
- {
861
- var f, T;
862
- Object.defineProperties(u, {
863
- defaultProps: {
864
- configurable: !0,
865
- get: function() {
866
- return f;
867
- },
868
- set: function(B) {
869
- F("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."), f = B, Object.defineProperty(u, "defaultProps", {
870
- enumerable: !0
871
- });
872
- }
873
- },
874
- propTypes: {
875
- configurable: !0,
876
- get: function() {
877
- return T;
878
- },
879
- set: function(B) {
880
- F("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."), T = B, Object.defineProperty(u, "propTypes", {
881
- enumerable: !0
882
- });
883
- }
884
- }
885
- });
886
- }
887
- return u;
888
- }
889
- function Qr(e) {
890
- e != null && e.$$typeof === D ? F("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? F("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && F("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) && F("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
891
- var o = {
892
- $$typeof: R,
893
- render: e
894
- };
895
- {
896
- var u;
897
- Object.defineProperty(o, "displayName", {
898
- enumerable: !1,
899
- configurable: !0,
900
- get: function() {
901
- return u;
902
- },
903
- set: function(f) {
904
- u = f, !e.name && !e.displayName && (e.displayName = f);
905
- }
906
- });
907
- }
908
- return o;
909
- }
910
- var a;
911
- a = Symbol.for("react.module.reference");
912
- function C(e) {
913
- return !!(typeof e == "string" || typeof e == "function" || e === h || e === b || fe || e === p || e === P || e === I || ae || e === N || Ae || $e || be || typeof e == "object" && e !== null && (e.$$typeof === $ || e.$$typeof === D || e.$$typeof === y || e.$$typeof === x || e.$$typeof === R || // 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 === a || e.getModuleId !== void 0));
918
- }
919
- function k(e, o) {
920
- C(e) || F("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
921
- var u = {
922
- $$typeof: D,
923
- type: e,
924
- compare: o === void 0 ? null : o
925
- };
926
- {
927
- var f;
928
- Object.defineProperty(u, "displayName", {
929
- enumerable: !1,
930
- configurable: !0,
931
- get: function() {
932
- return f;
933
- },
934
- set: function(T) {
935
- f = T, !e.name && !e.displayName && (e.displayName = T);
936
- }
937
- });
938
- }
939
- return u;
940
- }
941
- function L() {
942
- var e = z.current;
943
- return e === null && F(`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 oe(e) {
950
- var o = L();
951
- if (e._context !== void 0) {
952
- var u = e._context;
953
- u.Consumer === e ? F("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?") : u.Provider === e && F("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
954
- }
955
- return o.useContext(e);
956
- }
957
- function he(e) {
958
- var o = L();
959
- return o.useState(e);
960
- }
961
- function te(e, o, u) {
962
- var f = L();
963
- return f.useReducer(e, o, u);
964
- }
965
- function J(e) {
966
- var o = L();
967
- return o.useRef(e);
968
- }
969
- function je(e, o) {
970
- var u = L();
971
- return u.useEffect(e, o);
972
- }
973
- function Se(e, o) {
974
- var u = L();
975
- return u.useInsertionEffect(e, o);
976
- }
977
- function Te(e, o) {
978
- var u = L();
979
- return u.useLayoutEffect(e, o);
980
- }
981
- function Ne(e, o) {
982
- var u = L();
983
- return u.useCallback(e, o);
984
- }
985
- function Ke(e, o) {
986
- var u = L();
987
- return u.useMemo(e, o);
988
- }
989
- function Rr(e, o, u) {
990
- var f = L();
991
- return f.useImperativeHandle(e, o, u);
992
- }
993
- function We(e, o) {
994
- {
995
- var u = L();
996
- return u.useDebugValue(e, o);
997
- }
998
- }
999
- function kn() {
1000
- var e = L();
1001
- return e.useTransition();
1002
- }
1003
- function An(e) {
1004
- var o = L();
1005
- return o.useDeferredValue(e);
1006
- }
1007
- function Pn() {
1008
- var e = L();
1009
- return e.useId();
1010
- }
1011
- function On(e, o, u) {
1012
- var f = L();
1013
- return f.useSyncExternalStore(e, o, u);
1014
- }
1015
- var pr = 0, Rt, Tt, kt, At, Pt, Ot, $t;
1016
- function Ft() {
1017
- }
1018
- Ft.__reactDisabledLog = !0;
1019
- function $n() {
1020
- {
1021
- if (pr === 0) {
1022
- Rt = console.log, Tt = console.info, kt = console.warn, At = console.error, Pt = console.group, Ot = console.groupCollapsed, $t = console.groupEnd;
1023
- var e = {
1024
- configurable: !0,
1025
- enumerable: !0,
1026
- value: Ft,
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
- pr++;
1040
- }
1041
- }
1042
- function Fn() {
1043
- {
1044
- if (pr--, pr === 0) {
1045
- var e = {
1046
- configurable: !0,
1047
- enumerable: !0,
1048
- writable: !0
1049
- };
1050
- Object.defineProperties(console, {
1051
- log: g({}, e, {
1052
- value: Rt
1053
- }),
1054
- info: g({}, e, {
1055
- value: Tt
1056
- }),
1057
- warn: g({}, e, {
1058
- value: kt
1059
- }),
1060
- error: g({}, e, {
1061
- value: At
1062
- }),
1063
- group: g({}, e, {
1064
- value: Pt
1065
- }),
1066
- groupCollapsed: g({}, e, {
1067
- value: Ot
1068
- }),
1069
- groupEnd: g({}, e, {
1070
- value: $t
1071
- })
1072
- });
1073
- }
1074
- pr < 0 && F("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1075
- }
1076
- }
1077
- var et = re.ReactCurrentDispatcher, rt;
1078
- function Tr(e, o, u) {
1079
- {
1080
- if (rt === void 0)
1081
- try {
1082
- throw Error();
1083
- } catch (T) {
1084
- var f = T.stack.trim().match(/\n( *(at )?)/);
1085
- rt = f && f[1] || "";
1086
- }
1087
- return `
1088
- ` + rt + e;
1089
- }
1090
- }
1091
- var tt = !1, kr;
1092
- {
1093
- var jn = typeof WeakMap == "function" ? WeakMap : Map;
1094
- kr = new jn();
1095
- }
1096
- function jt(e, o) {
1097
- if (!e || tt)
1098
- return "";
1099
- {
1100
- var u = kr.get(e);
1101
- if (u !== void 0)
1102
- return u;
1103
- }
1104
- var f;
1105
- tt = !0;
1106
- var T = Error.prepareStackTrace;
1107
- Error.prepareStackTrace = void 0;
1108
- var B;
1109
- B = et.current, et.current = null, $n();
1110
- try {
1111
- if (o) {
1112
- var Y = function() {
1113
- throw Error();
1114
- };
1115
- if (Object.defineProperty(Y.prototype, "props", {
1116
- set: function() {
1117
- throw Error();
1118
- }
1119
- }), typeof Reflect == "object" && Reflect.construct) {
1120
- try {
1121
- Reflect.construct(Y, []);
1122
- } catch (Ie) {
1123
- f = Ie;
1124
- }
1125
- Reflect.construct(e, [], Y);
1126
- } else {
1127
- try {
1128
- Y.call();
1129
- } catch (Ie) {
1130
- f = Ie;
1131
- }
1132
- e.call(Y.prototype);
1133
- }
1134
- } else {
1135
- try {
1136
- throw Error();
1137
- } catch (Ie) {
1138
- f = Ie;
1139
- }
1140
- e();
1141
- }
1142
- } catch (Ie) {
1143
- if (Ie && f && typeof Ie.stack == "string") {
1144
- for (var q = Ie.stack.split(`
1145
- `), ne = f.stack.split(`
1146
- `), ge = q.length - 1, _e = ne.length - 1; ge >= 1 && _e >= 0 && q[ge] !== ne[_e]; )
1147
- _e--;
1148
- for (; ge >= 1 && _e >= 0; ge--, _e--)
1149
- if (q[ge] !== ne[_e]) {
1150
- if (ge !== 1 || _e !== 1)
1151
- do
1152
- if (ge--, _e--, _e < 0 || q[ge] !== ne[_e]) {
1153
- var we = `
1154
- ` + q[ge].replace(" at new ", " at ");
1155
- return e.displayName && we.includes("<anonymous>") && (we = we.replace("<anonymous>", e.displayName)), typeof e == "function" && kr.set(e, we), we;
1156
- }
1157
- while (ge >= 1 && _e >= 0);
1158
- break;
1159
- }
1160
- }
1161
- } finally {
1162
- tt = !1, et.current = B, Fn(), Error.prepareStackTrace = T;
1163
- }
1164
- var xe = e ? e.displayName || e.name : "", Oe = xe ? Tr(xe) : "";
1165
- return typeof e == "function" && kr.set(e, Oe), Oe;
1166
- }
1167
- function In(e, o, u) {
1168
- return jt(e, !1);
1169
- }
1170
- function Dn(e) {
1171
- var o = e.prototype;
1172
- return !!(o && o.isReactComponent);
1173
- }
1174
- function Ar(e, o, u) {
1175
- if (e == null)
1176
- return "";
1177
- if (typeof e == "function")
1178
- return jt(e, Dn(e));
1179
- if (typeof e == "string")
1180
- return Tr(e);
1181
- switch (e) {
1182
- case P:
1183
- return Tr("Suspense");
1184
- case I:
1185
- return Tr("SuspenseList");
1186
- }
1187
- if (typeof e == "object")
1188
- switch (e.$$typeof) {
1189
- case R:
1190
- return In(e.render);
1191
- case D:
1192
- return Ar(e.type, o, u);
1193
- case $: {
1194
- var f = e, T = f._payload, B = f._init;
1195
- try {
1196
- return Ar(B(T), o, u);
1197
- } catch {
1198
- }
1199
- }
1200
- }
1201
- return "";
1202
- }
1203
- var It = {}, Dt = re.ReactDebugCurrentFrame;
1204
- function Pr(e) {
1205
- if (e) {
1206
- var o = e._owner, u = Ar(e.type, e._source, o ? o.type : null);
1207
- Dt.setExtraStackFrame(u);
1208
- } else
1209
- Dt.setExtraStackFrame(null);
1210
- }
1211
- function Nn(e, o, u, f, T) {
1212
- {
1213
- var B = Function.call.bind(Le);
1214
- for (var Y in e)
1215
- if (B(e, Y)) {
1216
- var q = void 0;
1217
- try {
1218
- if (typeof e[Y] != "function") {
1219
- var ne = Error((f || "React class") + ": " + u + " type `" + Y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[Y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1220
- throw ne.name = "Invariant Violation", ne;
1221
- }
1222
- q = e[Y](o, Y, f, u, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1223
- } catch (ge) {
1224
- q = ge;
1225
- }
1226
- q && !(q instanceof Error) && (Pr(T), F("%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).", f || "React class", u, Y, typeof q), Pr(null)), q instanceof Error && !(q.message in It) && (It[q.message] = !0, Pr(T), F("Failed %s type: %s", u, q.message), Pr(null));
1227
- }
1228
- }
1229
- }
1230
- function ir(e) {
1231
- if (e) {
1232
- var o = e._owner, u = Ar(e.type, e._source, o ? o.type : null);
1233
- Ce(u);
1234
- } else
1235
- Ce(null);
1236
- }
1237
- var nt;
1238
- nt = !1;
1239
- function Nt() {
1240
- if (ee.current) {
1241
- var e = ve(ee.current.type);
1242
- if (e)
1243
- return `
1244
-
1245
- Check the render method of \`` + e + "`.";
1246
- }
1247
- return "";
1248
- }
1249
- function Mn(e) {
1250
- if (e !== void 0) {
1251
- var o = e.fileName.replace(/^.*[\\\/]/, ""), u = e.lineNumber;
1252
- return `
1253
-
1254
- Check your code at ` + o + ":" + u + ".";
1255
- }
1256
- return "";
1257
- }
1258
- function Ln(e) {
1259
- return e != null ? Mn(e.__source) : "";
1260
- }
1261
- var Mt = {};
1262
- function Yn(e) {
1263
- var o = Nt();
1264
- if (!o) {
1265
- var u = typeof e == "string" ? e : e.displayName || e.name;
1266
- u && (o = `
1267
-
1268
- Check the top-level render call using <` + u + ">.");
1269
- }
1270
- return o;
1271
- }
1272
- function Lt(e, o) {
1273
- if (!(!e._store || e._store.validated || e.key != null)) {
1274
- e._store.validated = !0;
1275
- var u = Yn(o);
1276
- if (!Mt[u]) {
1277
- Mt[u] = !0;
1278
- var f = "";
1279
- e && e._owner && e._owner !== ee.current && (f = " It was passed a child from " + ve(e._owner.type) + "."), ir(e), F('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', u, f), ir(null);
1280
- }
1281
- }
1282
- }
1283
- function Yt(e, o) {
1284
- if (typeof e == "object") {
1285
- if (ie(e))
1286
- for (var u = 0; u < e.length; u++) {
1287
- var f = e[u];
1288
- Ge(f) && Lt(f, o);
1289
- }
1290
- else if (Ge(e))
1291
- e._store && (e._store.validated = !0);
1292
- else if (e) {
1293
- var T = j(e);
1294
- if (typeof T == "function" && T !== e.entries)
1295
- for (var B = T.call(e), Y; !(Y = B.next()).done; )
1296
- Ge(Y.value) && Lt(Y.value, o);
1297
- }
1298
- }
1299
- }
1300
- function Vt(e) {
1301
- {
1302
- var o = e.type;
1303
- if (o == null || typeof o == "string")
1304
- return;
1305
- var u;
1306
- if (typeof o == "function")
1307
- u = o.propTypes;
1308
- else if (typeof o == "object" && (o.$$typeof === R || // Note: Memo only checks outer props here.
1309
- // Inner props are checked in the reconciler.
1310
- o.$$typeof === D))
1311
- u = o.propTypes;
1312
- else
1313
- return;
1314
- if (u) {
1315
- var f = ve(o);
1316
- Nn(u, e.props, "prop", f, e);
1317
- } else if (o.PropTypes !== void 0 && !nt) {
1318
- nt = !0;
1319
- var T = ve(o);
1320
- F("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", T || "Unknown");
1321
- }
1322
- typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && F("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1323
- }
1324
- }
1325
- function Vn(e) {
1326
- {
1327
- for (var o = Object.keys(e.props), u = 0; u < o.length; u++) {
1328
- var f = o[u];
1329
- if (f !== "children" && f !== "key") {
1330
- ir(e), F("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), ir(null);
1331
- break;
1332
- }
1333
- }
1334
- e.ref !== null && (ir(e), F("Invalid attribute `ref` supplied to `React.Fragment`."), ir(null));
1335
- }
1336
- }
1337
- function zt(e, o, u) {
1338
- var f = C(e);
1339
- if (!f) {
1340
- var T = "";
1341
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (T += " 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 B = Ln(o);
1343
- B ? T += B : T += Nt();
1344
- var Y;
1345
- e === null ? Y = "null" : ie(e) ? Y = "array" : e !== void 0 && e.$$typeof === i ? (Y = "<" + (ve(e.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : Y = typeof e, F("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Y, T);
1346
- }
1347
- var q = Wr.apply(this, arguments);
1348
- if (q == null)
1349
- return q;
1350
- if (f)
1351
- for (var ne = 2; ne < arguments.length; ne++)
1352
- Yt(arguments[ne], e);
1353
- return e === h ? Vn(q) : Vt(q), q;
1354
- }
1355
- var Wt = !1;
1356
- function zn(e) {
1357
- var o = zt.bind(null, e);
1358
- return o.type = e, Wt || (Wt = !0, Pe("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(o, "type", {
1359
- enumerable: !1,
1360
- get: function() {
1361
- return Pe("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
1362
- value: e
1363
- }), e;
1364
- }
1365
- }), o;
1366
- }
1367
- function Wn(e, o, u) {
1368
- for (var f = Br.apply(this, arguments), T = 2; T < arguments.length; T++)
1369
- Yt(arguments[T], f.type);
1370
- return Vt(f), f;
1371
- }
1372
- function Un(e, o) {
1373
- var u = V.transition;
1374
- V.transition = {};
1375
- var f = V.transition;
1376
- V.transition._updatedFibers = /* @__PURE__ */ new Set();
1377
- try {
1378
- e();
1379
- } finally {
1380
- if (V.transition = u, u === null && f._updatedFibers) {
1381
- var T = f._updatedFibers.size;
1382
- T > 10 && Pe("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."), f._updatedFibers.clear();
1383
- }
1384
- }
1385
- }
1386
- var Ut = !1, Or = null;
1387
- function Bn(e) {
1388
- if (Or === null)
1389
- try {
1390
- var o = ("require" + Math.random()).slice(0, 7), u = r && r[o];
1391
- Or = u.call(r, "timers").setImmediate;
1392
- } catch {
1393
- Or = function(T) {
1394
- Ut === !1 && (Ut = !0, typeof MessageChannel > "u" && F("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 B = new MessageChannel();
1396
- B.port1.onmessage = T, B.port2.postMessage(void 0);
1397
- };
1398
- }
1399
- return Or(e);
1400
- }
1401
- var sr = 0, Bt = !1;
1402
- function Hn(e) {
1403
- {
1404
- var o = sr;
1405
- sr++, d.current === null && (d.current = []);
1406
- var u = d.isBatchingLegacy, f;
1407
- try {
1408
- if (d.isBatchingLegacy = !0, f = e(), !u && d.didScheduleLegacyUpdate) {
1409
- var T = d.current;
1410
- T !== null && (d.didScheduleLegacyUpdate = !1, it(T));
1411
- }
1412
- } catch (xe) {
1413
- throw $r(o), xe;
1414
- } finally {
1415
- d.isBatchingLegacy = u;
1416
- }
1417
- if (f !== null && typeof f == "object" && typeof f.then == "function") {
1418
- var B = f, Y = !1, q = {
1419
- then: function(xe, Oe) {
1420
- Y = !0, B.then(function(Ie) {
1421
- $r(o), sr === 0 ? ot(Ie, xe, Oe) : xe(Ie);
1422
- }, function(Ie) {
1423
- $r(o), Oe(Ie);
1424
- });
1425
- }
1426
- };
1427
- return !Bt && typeof Promise < "u" && Promise.resolve().then(function() {
1428
- }).then(function() {
1429
- Y || (Bt = !0, F("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
- }), q;
1431
- } else {
1432
- var ne = f;
1433
- if ($r(o), sr === 0) {
1434
- var ge = d.current;
1435
- ge !== null && (it(ge), d.current = null);
1436
- var _e = {
1437
- then: function(xe, Oe) {
1438
- d.current === null ? (d.current = [], ot(ne, xe, Oe)) : xe(ne);
1439
- }
1440
- };
1441
- return _e;
1442
- } else {
1443
- var we = {
1444
- then: function(xe, Oe) {
1445
- xe(ne);
1446
- }
1447
- };
1448
- return we;
1449
- }
1450
- }
1451
- }
1452
- }
1453
- function $r(e) {
1454
- e !== sr - 1 && F("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), sr = e;
1455
- }
1456
- function ot(e, o, u) {
1457
- {
1458
- var f = d.current;
1459
- if (f !== null)
1460
- try {
1461
- it(f), Bn(function() {
1462
- f.length === 0 ? (d.current = null, o(e)) : ot(e, o, u);
1463
- });
1464
- } catch (T) {
1465
- u(T);
1466
- }
1467
- else
1468
- o(e);
1469
- }
1470
- }
1471
- var at = !1;
1472
- function it(e) {
1473
- if (!at) {
1474
- at = !0;
1475
- var o = 0;
1476
- try {
1477
- for (; o < e.length; o++) {
1478
- var u = e[o];
1479
- do
1480
- u = u(!0);
1481
- while (u !== null);
1482
- }
1483
- e.length = 0;
1484
- } catch (f) {
1485
- throw e = e.slice(o + 1), f;
1486
- } finally {
1487
- at = !1;
1488
- }
1489
- }
1490
- }
1491
- var Gn = zt, qn = Wn, Kn = zn, Xn = {
1492
- map: rr,
1493
- forEach: Cr,
1494
- count: qr,
1495
- toArray: Kr,
1496
- only: Sr
1497
- };
1498
- t.Children = Xn, t.Component = w, t.Fragment = h, t.Profiler = b, t.PureComponent = H, t.StrictMode = p, t.Suspense = P, t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = re, t.cloneElement = qn, t.createContext = xr, t.createElement = Gn, t.createFactory = Kn, t.createRef = Z, t.forwardRef = Qr, t.isValidElement = Ge, t.lazy = Jr, t.memo = k, t.startTransition = Un, t.unstable_act = Hn, t.useCallback = Ne, t.useContext = oe, t.useDebugValue = We, t.useDeferredValue = An, t.useEffect = je, t.useId = Pn, t.useImperativeHandle = Rr, t.useInsertionEffect = Se, t.useLayoutEffect = Te, t.useMemo = Ke, t.useReducer = te, t.useRef = J, t.useState = he, t.useSyncExternalStore = On, t.useTransition = kn, t.version = n, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
1499
- }();
1500
- }(mr, mr.exports)), mr.exports;
1501
- }
1502
- var Zt;
1503
- function Et() {
1504
- return Zt || (Zt = 1, process.env.NODE_ENV === "production" ? jr.exports = eo() : jr.exports = ro()), jr.exports;
1505
- }
1506
- /**
1507
- * @license React
1508
- * react-jsx-runtime.production.min.js
1509
- *
1510
- * Copyright (c) Facebook, Inc. and its affiliates.
1511
- *
1512
- * This source code is licensed under the MIT license found in the
1513
- * LICENSE file in the root directory of this source tree.
1514
- */
1515
- var Jt;
1516
- function to() {
1517
- if (Jt)
1518
- return hr;
1519
- Jt = 1;
1520
- var r = Et(), t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, l = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
1521
- function p(b, y, x) {
1522
- var R, P = {}, I = null, D = null;
1523
- x !== void 0 && (I = "" + x), y.key !== void 0 && (I = "" + y.key), y.ref !== void 0 && (D = y.ref);
1524
- for (R in y)
1525
- i.call(y, R) && !h.hasOwnProperty(R) && (P[R] = y[R]);
1526
- if (b && b.defaultProps)
1527
- for (R in y = b.defaultProps, y)
1528
- P[R] === void 0 && (P[R] = y[R]);
1529
- return { $$typeof: t, type: b, key: I, ref: D, props: P, _owner: l.current };
1530
- }
1531
- return hr.Fragment = n, hr.jsx = p, hr.jsxs = p, hr;
1532
- }
1533
- var vr = {};
1534
- /**
1535
- * @license React
1536
- * react-jsx-runtime.development.js
1537
- *
1538
- * Copyright (c) Facebook, Inc. and its affiliates.
1539
- *
1540
- * This source code is licensed under the MIT license found in the
1541
- * LICENSE file in the root directory of this source tree.
1542
- */
1543
- var Qt;
1544
- function no() {
1545
- return Qt || (Qt = 1, process.env.NODE_ENV !== "production" && function() {
1546
- var r = Et(), t = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), b = Symbol.for("react.context"), y = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), D = Symbol.for("react.offscreen"), $ = Symbol.iterator, N = "@@iterator";
1547
- function v(a) {
1548
- if (a === null || typeof a != "object")
1549
- return null;
1550
- var C = $ && a[$] || a[N];
1551
- return typeof C == "function" ? C : null;
1552
- }
1553
- var W = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1554
- function j(a) {
1555
- {
1556
- for (var C = arguments.length, k = new Array(C > 1 ? C - 1 : 0), L = 1; L < C; L++)
1557
- k[L - 1] = arguments[L];
1558
- z("error", a, k);
1559
- }
1560
- }
1561
- function z(a, C, k) {
1562
- {
1563
- var L = W.ReactDebugCurrentFrame, oe = L.getStackAddendum();
1564
- oe !== "" && (C += "%s", k = k.concat([oe]));
1565
- var he = k.map(function(te) {
1566
- return String(te);
1567
- });
1568
- he.unshift("Warning: " + C), Function.prototype.apply.call(console[a], console, he);
1569
- }
1570
- }
1571
- var V = !1, d = !1, ee = !1, Ee = !1, ye = !1, Ce;
1572
- Ce = Symbol.for("react.module.reference");
1573
- function Ae(a) {
1574
- return !!(typeof a == "string" || typeof a == "function" || a === i || a === h || ye || a === l || a === x || a === R || Ee || a === D || V || d || ee || typeof a == "object" && a !== null && (a.$$typeof === I || a.$$typeof === P || a.$$typeof === p || a.$$typeof === b || a.$$typeof === y || // This needs to include all possible module reference object
1575
- // types supported by any Flight configuration anywhere since
1576
- // we don't know which Flight build this will end up being used
1577
- // with.
1578
- a.$$typeof === Ce || a.getModuleId !== void 0));
1579
- }
1580
- function $e(a, C, k) {
1581
- var L = a.displayName;
1582
- if (L)
1583
- return L;
1584
- var oe = C.displayName || C.name || "";
1585
- return oe !== "" ? k + "(" + oe + ")" : k;
1586
- }
1587
- function be(a) {
1588
- return a.displayName || "Context";
1589
- }
1590
- function ae(a) {
1591
- if (a == null)
1592
- return null;
1593
- if (typeof a.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof a == "function")
1594
- return a.displayName || a.name || null;
1595
- if (typeof a == "string")
1596
- return a;
1597
- switch (a) {
1598
- case i:
1599
- return "Fragment";
1600
- case n:
1601
- return "Portal";
1602
- case h:
1603
- return "Profiler";
1604
- case l:
1605
- return "StrictMode";
1606
- case x:
1607
- return "Suspense";
1608
- case R:
1609
- return "SuspenseList";
1610
- }
1611
- if (typeof a == "object")
1612
- switch (a.$$typeof) {
1613
- case b:
1614
- var C = a;
1615
- return be(C) + ".Consumer";
1616
- case p:
1617
- var k = a;
1618
- return be(k._context) + ".Provider";
1619
- case y:
1620
- return $e(a, a.render, "ForwardRef");
1621
- case P:
1622
- var L = a.displayName || null;
1623
- return L !== null ? L : ae(a.type) || "Memo";
1624
- case I: {
1625
- var oe = a, he = oe._payload, te = oe._init;
1626
- try {
1627
- return ae(te(he));
1628
- } catch {
1629
- return null;
1630
- }
1631
- }
1632
- }
1633
- return null;
1634
- }
1635
- var fe = Object.assign, re = 0, Pe, F, de, Fe, s, S, g;
1636
- function _() {
1637
- }
1638
- _.__reactDisabledLog = !0;
1639
- function w() {
1640
- {
1641
- if (re === 0) {
1642
- Pe = console.log, F = console.info, de = console.warn, Fe = console.error, s = console.group, S = console.groupCollapsed, g = console.groupEnd;
1643
- var a = {
1644
- configurable: !0,
1645
- enumerable: !0,
1646
- value: _,
1647
- writable: !0
1648
- };
1649
- Object.defineProperties(console, {
1650
- info: a,
1651
- log: a,
1652
- warn: a,
1653
- error: a,
1654
- group: a,
1655
- groupCollapsed: a,
1656
- groupEnd: a
1657
- });
1658
- }
1659
- re++;
1660
- }
1661
- }
1662
- function O() {
1663
- {
1664
- if (re--, re === 0) {
1665
- var a = {
1666
- configurable: !0,
1667
- enumerable: !0,
1668
- writable: !0
1669
- };
1670
- Object.defineProperties(console, {
1671
- log: fe({}, a, {
1672
- value: Pe
1673
- }),
1674
- info: fe({}, a, {
1675
- value: F
1676
- }),
1677
- warn: fe({}, a, {
1678
- value: de
1679
- }),
1680
- error: fe({}, a, {
1681
- value: Fe
1682
- }),
1683
- group: fe({}, a, {
1684
- value: s
1685
- }),
1686
- groupCollapsed: fe({}, a, {
1687
- value: S
1688
- }),
1689
- groupEnd: fe({}, a, {
1690
- value: g
1691
- })
1692
- });
1693
- }
1694
- re < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1695
- }
1696
- }
1697
- var c = W.ReactCurrentDispatcher, M;
1698
- function m(a, C, k) {
1699
- {
1700
- if (M === void 0)
1701
- try {
1702
- throw Error();
1703
- } catch (oe) {
1704
- var L = oe.stack.trim().match(/\n( *(at )?)/);
1705
- M = L && L[1] || "";
1706
- }
1707
- return `
1708
- ` + M + a;
1709
- }
1710
- }
1711
- var H = !1, K;
1712
- {
1713
- var Z = typeof WeakMap == "function" ? WeakMap : Map;
1714
- K = new Z();
1715
- }
1716
- function E(a, C) {
1717
- if (!a || H)
1718
- return "";
1719
- {
1720
- var k = K.get(a);
1721
- if (k !== void 0)
1722
- return k;
1723
- }
1724
- var L;
1725
- H = !0;
1726
- var oe = Error.prepareStackTrace;
1727
- Error.prepareStackTrace = void 0;
1728
- var he;
1729
- he = c.current, c.current = null, w();
1730
- try {
1731
- if (C) {
1732
- var te = function() {
1733
- throw Error();
1734
- };
1735
- if (Object.defineProperty(te.prototype, "props", {
1736
- set: function() {
1737
- throw Error();
1738
- }
1739
- }), typeof Reflect == "object" && Reflect.construct) {
1740
- try {
1741
- Reflect.construct(te, []);
1742
- } catch (We) {
1743
- L = We;
1744
- }
1745
- Reflect.construct(a, [], te);
1746
- } else {
1747
- try {
1748
- te.call();
1749
- } catch (We) {
1750
- L = We;
1751
- }
1752
- a.call(te.prototype);
1753
- }
1754
- } else {
1755
- try {
1756
- throw Error();
1757
- } catch (We) {
1758
- L = We;
1759
- }
1760
- a();
1761
- }
1762
- } catch (We) {
1763
- if (We && L && typeof We.stack == "string") {
1764
- for (var J = We.stack.split(`
1765
- `), je = L.stack.split(`
1766
- `), Se = J.length - 1, Te = je.length - 1; Se >= 1 && Te >= 0 && J[Se] !== je[Te]; )
1767
- Te--;
1768
- for (; Se >= 1 && Te >= 0; Se--, Te--)
1769
- if (J[Se] !== je[Te]) {
1770
- if (Se !== 1 || Te !== 1)
1771
- do
1772
- if (Se--, Te--, Te < 0 || J[Se] !== je[Te]) {
1773
- var Ne = `
1774
- ` + J[Se].replace(" at new ", " at ");
1775
- return a.displayName && Ne.includes("<anonymous>") && (Ne = Ne.replace("<anonymous>", a.displayName)), typeof a == "function" && K.set(a, Ne), Ne;
1776
- }
1777
- while (Se >= 1 && Te >= 0);
1778
- break;
1779
- }
1780
- }
1781
- } finally {
1782
- H = !1, c.current = he, O(), Error.prepareStackTrace = oe;
1783
- }
1784
- var Ke = a ? a.displayName || a.name : "", Rr = Ke ? m(Ke) : "";
1785
- return typeof a == "function" && K.set(a, Rr), Rr;
1786
- }
1787
- function ie(a, C, k) {
1788
- return E(a, !1);
1789
- }
1790
- function A(a) {
1791
- var C = a.prototype;
1792
- return !!(C && C.isReactComponent);
1793
- }
1794
- function G(a, C, k) {
1795
- if (a == null)
1796
- return "";
1797
- if (typeof a == "function")
1798
- return E(a, A(a));
1799
- if (typeof a == "string")
1800
- return m(a);
1801
- switch (a) {
1802
- case x:
1803
- return m("Suspense");
1804
- case R:
1805
- return m("SuspenseList");
1806
- }
1807
- if (typeof a == "object")
1808
- switch (a.$$typeof) {
1809
- case y:
1810
- return ie(a.render);
1811
- case P:
1812
- return G(a.type, C, k);
1813
- case I: {
1814
- var L = a, oe = L._payload, he = L._init;
1815
- try {
1816
- return G(he(oe), C, k);
1817
- } catch {
1818
- }
1819
- }
1820
- }
1821
- return "";
1822
- }
1823
- var pe = Object.prototype.hasOwnProperty, X = {}, Re = W.ReactDebugCurrentFrame;
1824
- function Me(a) {
1825
- if (a) {
1826
- var C = a._owner, k = G(a.type, a._source, C ? C.type : null);
1827
- Re.setExtraStackFrame(k);
1828
- } else
1829
- Re.setExtraStackFrame(null);
1830
- }
1831
- function ve(a, C, k, L, oe) {
1832
- {
1833
- var he = Function.call.bind(pe);
1834
- for (var te in a)
1835
- if (he(a, te)) {
1836
- var J = void 0;
1837
- try {
1838
- if (typeof a[te] != "function") {
1839
- var je = Error((L || "React class") + ": " + k + " type `" + te + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[te] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1840
- throw je.name = "Invariant Violation", je;
1841
- }
1842
- J = a[te](C, te, L, k, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1843
- } catch (Se) {
1844
- J = Se;
1845
- }
1846
- J && !(J instanceof Error) && (Me(oe), j("%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).", L || "React class", k, te, typeof J), Me(null)), J instanceof Error && !(J.message in X) && (X[J.message] = !0, Me(oe), j("Failed %s type: %s", k, J.message), Me(null));
1847
- }
1848
- }
1849
- }
1850
- var Le = Array.isArray;
1851
- function Ye(a) {
1852
- return Le(a);
1853
- }
1854
- function De(a) {
1855
- {
1856
- var C = typeof Symbol == "function" && Symbol.toStringTag, k = C && a[Symbol.toStringTag] || a.constructor.name || "Object";
1857
- return k;
1858
- }
1859
- }
1860
- function U(a) {
1861
- try {
1862
- return me(a), !1;
1863
- } catch {
1864
- return !0;
1865
- }
1866
- }
1867
- function me(a) {
1868
- return "" + a;
1869
- }
1870
- function Ue(a) {
1871
- if (U(a))
1872
- return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", De(a)), me(a);
1873
- }
1874
- var Ve = W.ReactCurrentOwner, ze = {
1875
- key: !0,
1876
- ref: !0,
1877
- __self: !0,
1878
- __source: !0
1879
- }, br, Er, Qe;
1880
- Qe = {};
1881
- function Wr(a) {
1882
- if (pe.call(a, "ref")) {
1883
- var C = Object.getOwnPropertyDescriptor(a, "ref").get;
1884
- if (C && C.isReactWarning)
1885
- return !1;
1886
- }
1887
- return a.ref !== void 0;
1888
- }
1889
- function Ur(a) {
1890
- if (pe.call(a, "key")) {
1891
- var C = Object.getOwnPropertyDescriptor(a, "key").get;
1892
- if (C && C.isReactWarning)
1893
- return !1;
1894
- }
1895
- return a.key !== void 0;
1896
- }
1897
- function Br(a, C) {
1898
- if (typeof a.ref == "string" && Ve.current && C && Ve.current.stateNode !== C) {
1899
- var k = ae(Ve.current.type);
1900
- Qe[k] || (j('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', ae(Ve.current.type), a.ref), Qe[k] = !0);
1901
- }
1902
- }
1903
- function Ge(a, C) {
1904
- {
1905
- var k = function() {
1906
- br || (br = !0, j("%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)", C));
1907
- };
1908
- k.isReactWarning = !0, Object.defineProperty(a, "key", {
1909
- get: k,
1910
- configurable: !0
1911
- });
1912
- }
1913
- }
1914
- function _r(a, C) {
1915
- {
1916
- var k = function() {
1917
- Er || (Er = !0, j("%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)", C));
1918
- };
1919
- k.isReactWarning = !0, Object.defineProperty(a, "ref", {
1920
- get: k,
1921
- configurable: !0
1922
- });
1923
- }
1924
- }
1925
- var Hr = function(a, C, k, L, oe, he, te) {
1926
- var J = {
1927
- // This tag allows us to uniquely identify this as a React Element
1928
- $$typeof: t,
1929
- // Built-in properties that belong on the element
1930
- type: a,
1931
- key: C,
1932
- ref: k,
1933
- props: te,
1934
- // Record the component responsible for creating this element.
1935
- _owner: he
1936
- };
1937
- return J._store = {}, Object.defineProperty(J._store, "validated", {
1938
- configurable: !1,
1939
- enumerable: !1,
1940
- writable: !0,
1941
- value: !1
1942
- }), Object.defineProperty(J, "_self", {
1943
- configurable: !1,
1944
- enumerable: !1,
1945
- writable: !1,
1946
- value: L
1947
- }), Object.defineProperty(J, "_source", {
1948
- configurable: !1,
1949
- enumerable: !1,
1950
- writable: !1,
1951
- value: oe
1952
- }), Object.freeze && (Object.freeze(J.props), Object.freeze(J)), J;
1953
- };
1954
- function Gr(a, C, k, L, oe) {
1955
- {
1956
- var he, te = {}, J = null, je = null;
1957
- k !== void 0 && (Ue(k), J = "" + k), Ur(C) && (Ue(C.key), J = "" + C.key), Wr(C) && (je = C.ref, Br(C, oe));
1958
- for (he in C)
1959
- pe.call(C, he) && !ze.hasOwnProperty(he) && (te[he] = C[he]);
1960
- if (a && a.defaultProps) {
1961
- var Se = a.defaultProps;
1962
- for (he in Se)
1963
- te[he] === void 0 && (te[he] = Se[he]);
1964
- }
1965
- if (J || je) {
1966
- var Te = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
1967
- J && Ge(te, Te), je && _r(te, Te);
1968
- }
1969
- return Hr(a, J, je, oe, L, Ve.current, te);
1970
- }
1971
- }
1972
- var ar = W.ReactCurrentOwner, wr = W.ReactDebugCurrentFrame;
1973
- function Be(a) {
1974
- if (a) {
1975
- var C = a._owner, k = G(a.type, a._source, C ? C.type : null);
1976
- wr.setExtraStackFrame(k);
1977
- } else
1978
- wr.setExtraStackFrame(null);
1979
- }
1980
- var er;
1981
- er = !1;
1982
- function qe(a) {
1983
- return typeof a == "object" && a !== null && a.$$typeof === t;
1984
- }
1985
- function rr() {
1986
- {
1987
- if (ar.current) {
1988
- var a = ae(ar.current.type);
1989
- if (a)
1990
- return `
1991
-
1992
- Check the render method of \`` + a + "`.";
1993
- }
1994
- return "";
1995
- }
1996
- }
1997
- function qr(a) {
1998
- {
1999
- if (a !== void 0) {
2000
- var C = a.fileName.replace(/^.*[\\\/]/, ""), k = a.lineNumber;
2001
- return `
2002
-
2003
- Check your code at ` + C + ":" + k + ".";
2004
- }
2005
- return "";
2006
- }
2007
- }
2008
- var Cr = {};
2009
- function Kr(a) {
2010
- {
2011
- var C = rr();
2012
- if (!C) {
2013
- var k = typeof a == "string" ? a : a.displayName || a.name;
2014
- k && (C = `
2015
-
2016
- Check the top-level render call using <` + k + ">.");
2017
- }
2018
- return C;
2019
- }
2020
- }
2021
- function Sr(a, C) {
2022
- {
2023
- if (!a._store || a._store.validated || a.key != null)
2024
- return;
2025
- a._store.validated = !0;
2026
- var k = Kr(C);
2027
- if (Cr[k])
2028
- return;
2029
- Cr[k] = !0;
2030
- var L = "";
2031
- a && a._owner && a._owner !== ar.current && (L = " It was passed a child from " + ae(a._owner.type) + "."), Be(a), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', k, L), Be(null);
2032
- }
2033
- }
2034
- function xr(a, C) {
2035
- {
2036
- if (typeof a != "object")
2037
- return;
2038
- if (Ye(a))
2039
- for (var k = 0; k < a.length; k++) {
2040
- var L = a[k];
2041
- qe(L) && Sr(L, C);
2042
- }
2043
- else if (qe(a))
2044
- a._store && (a._store.validated = !0);
2045
- else if (a) {
2046
- var oe = v(a);
2047
- if (typeof oe == "function" && oe !== a.entries)
2048
- for (var he = oe.call(a), te; !(te = he.next()).done; )
2049
- qe(te.value) && Sr(te.value, C);
2050
- }
2051
- }
2052
- }
2053
- function tr(a) {
2054
- {
2055
- var C = a.type;
2056
- if (C == null || typeof C == "string")
2057
- return;
2058
- var k;
2059
- if (typeof C == "function")
2060
- k = C.propTypes;
2061
- else if (typeof C == "object" && (C.$$typeof === y || // Note: Memo only checks outer props here.
2062
- // Inner props are checked in the reconciler.
2063
- C.$$typeof === P))
2064
- k = C.propTypes;
2065
- else
2066
- return;
2067
- if (k) {
2068
- var L = ae(C);
2069
- ve(k, a.props, "prop", L, a);
2070
- } else if (C.PropTypes !== void 0 && !er) {
2071
- er = !0;
2072
- var oe = ae(C);
2073
- j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", oe || "Unknown");
2074
- }
2075
- typeof C.getDefaultProps == "function" && !C.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
2076
- }
2077
- }
2078
- function fr(a) {
2079
- {
2080
- for (var C = Object.keys(a.props), k = 0; k < C.length; k++) {
2081
- var L = C[k];
2082
- if (L !== "children" && L !== "key") {
2083
- Be(a), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", L), Be(null);
2084
- break;
2085
- }
2086
- }
2087
- a.ref !== null && (Be(a), j("Invalid attribute `ref` supplied to `React.Fragment`."), Be(null));
2088
- }
2089
- }
2090
- function dr(a, C, k, L, oe, he) {
2091
- {
2092
- var te = Ae(a);
2093
- if (!te) {
2094
- var J = "";
2095
- (a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (J += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
2096
- var je = qr(oe);
2097
- je ? J += je : J += rr();
2098
- var Se;
2099
- a === null ? Se = "null" : Ye(a) ? Se = "array" : a !== void 0 && a.$$typeof === t ? (Se = "<" + (ae(a.type) || "Unknown") + " />", J = " Did you accidentally export a JSX literal instead of a component?") : Se = typeof a, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Se, J);
2100
- }
2101
- var Te = Gr(a, C, k, oe, he);
2102
- if (Te == null)
2103
- return Te;
2104
- if (te) {
2105
- var Ne = C.children;
2106
- if (Ne !== void 0)
2107
- if (L)
2108
- if (Ye(Ne)) {
2109
- for (var Ke = 0; Ke < Ne.length; Ke++)
2110
- xr(Ne[Ke], a);
2111
- Object.freeze && Object.freeze(Ne);
2112
- } else
2113
- j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
2114
- else
2115
- xr(Ne, a);
2116
- }
2117
- return a === i ? fr(Te) : tr(Te), Te;
2118
- }
2119
- }
2120
- function Xr(a, C, k) {
2121
- return dr(a, C, k, !0);
2122
- }
2123
- function Zr(a, C, k) {
2124
- return dr(a, C, k, !1);
2125
- }
2126
- var Jr = Zr, Qr = Xr;
2127
- vr.Fragment = i, vr.jsx = Jr, vr.jsxs = Qr;
2128
- }()), vr;
2129
- }
2130
- process.env.NODE_ENV === "production" ? lt.exports = to() : lt.exports = no();
2131
- var ke = lt.exports, ft = { exports: {} }, se = {};
2132
- /**
2133
- * @license React
2134
- * react-is.production.min.js
2135
- *
2136
- * Copyright (c) Facebook, Inc. and its affiliates.
2137
- *
2138
- * This source code is licensed under the MIT license found in the
2139
- * LICENSE file in the root directory of this source tree.
2140
- */
2141
- var en;
2142
- function oo() {
2143
- if (en)
2144
- return se;
2145
- en = 1;
2146
- var r = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), h = Symbol.for("react.provider"), p = Symbol.for("react.context"), b = Symbol.for("react.server_context"), y = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), D = Symbol.for("react.offscreen"), $;
2147
- $ = Symbol.for("react.module.reference");
2148
- function N(v) {
2149
- if (typeof v == "object" && v !== null) {
2150
- var W = v.$$typeof;
2151
- switch (W) {
2152
- case r:
2153
- switch (v = v.type, v) {
2154
- case n:
2155
- case l:
2156
- case i:
2157
- case x:
2158
- case R:
2159
- return v;
2160
- default:
2161
- switch (v = v && v.$$typeof, v) {
2162
- case b:
2163
- case p:
2164
- case y:
2165
- case I:
2166
- case P:
2167
- case h:
2168
- return v;
2169
- default:
2170
- return W;
2171
- }
2172
- }
2173
- case t:
2174
- return W;
2175
- }
2176
- }
2177
- }
2178
- return se.ContextConsumer = p, se.ContextProvider = h, se.Element = r, se.ForwardRef = y, se.Fragment = n, se.Lazy = I, se.Memo = P, se.Portal = t, se.Profiler = l, se.StrictMode = i, se.Suspense = x, se.SuspenseList = R, se.isAsyncMode = function() {
2179
- return !1;
2180
- }, se.isConcurrentMode = function() {
2181
- return !1;
2182
- }, se.isContextConsumer = function(v) {
2183
- return N(v) === p;
2184
- }, se.isContextProvider = function(v) {
2185
- return N(v) === h;
2186
- }, se.isElement = function(v) {
2187
- return typeof v == "object" && v !== null && v.$$typeof === r;
2188
- }, se.isForwardRef = function(v) {
2189
- return N(v) === y;
2190
- }, se.isFragment = function(v) {
2191
- return N(v) === n;
2192
- }, se.isLazy = function(v) {
2193
- return N(v) === I;
2194
- }, se.isMemo = function(v) {
2195
- return N(v) === P;
2196
- }, se.isPortal = function(v) {
2197
- return N(v) === t;
2198
- }, se.isProfiler = function(v) {
2199
- return N(v) === l;
2200
- }, se.isStrictMode = function(v) {
2201
- return N(v) === i;
2202
- }, se.isSuspense = function(v) {
2203
- return N(v) === x;
2204
- }, se.isSuspenseList = function(v) {
2205
- return N(v) === R;
2206
- }, se.isValidElementType = function(v) {
2207
- return typeof v == "string" || typeof v == "function" || v === n || v === l || v === i || v === x || v === R || v === D || typeof v == "object" && v !== null && (v.$$typeof === I || v.$$typeof === P || v.$$typeof === h || v.$$typeof === p || v.$$typeof === y || v.$$typeof === $ || v.getModuleId !== void 0);
2208
- }, se.typeOf = N, se;
2209
- }
2210
- var ce = {};
2211
- /**
2212
- * @license React
2213
- * react-is.development.js
2214
- *
2215
- * Copyright (c) Facebook, Inc. and its affiliates.
2216
- *
2217
- * This source code is licensed under the MIT license found in the
2218
- * LICENSE file in the root directory of this source tree.
2219
- */
2220
- var rn;
2221
- function ao() {
2222
- return rn || (rn = 1, process.env.NODE_ENV !== "production" && function() {
2223
- var r = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), h = Symbol.for("react.provider"), p = Symbol.for("react.context"), b = Symbol.for("react.server_context"), y = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), I = Symbol.for("react.lazy"), D = Symbol.for("react.offscreen"), $ = !1, N = !1, v = !1, W = !1, j = !1, z;
2224
- z = Symbol.for("react.module.reference");
2225
- function V(A) {
2226
- return !!(typeof A == "string" || typeof A == "function" || A === n || A === l || j || A === i || A === x || A === R || W || A === D || $ || N || v || typeof A == "object" && A !== null && (A.$$typeof === I || A.$$typeof === P || A.$$typeof === h || A.$$typeof === p || A.$$typeof === y || // This needs to include all possible module reference object
2227
- // types supported by any Flight configuration anywhere since
2228
- // we don't know which Flight build this will end up being used
2229
- // with.
2230
- A.$$typeof === z || A.getModuleId !== void 0));
2231
- }
2232
- function d(A) {
2233
- if (typeof A == "object" && A !== null) {
2234
- var G = A.$$typeof;
2235
- switch (G) {
2236
- case r:
2237
- var pe = A.type;
2238
- switch (pe) {
2239
- case n:
2240
- case l:
2241
- case i:
2242
- case x:
2243
- case R:
2244
- return pe;
2245
- default:
2246
- var X = pe && pe.$$typeof;
2247
- switch (X) {
2248
- case b:
2249
- case p:
2250
- case y:
2251
- case I:
2252
- case P:
2253
- case h:
2254
- return X;
2255
- default:
2256
- return G;
2257
- }
2258
- }
2259
- case t:
2260
- return G;
2261
- }
2262
- }
2263
- }
2264
- var ee = p, Ee = h, ye = r, Ce = y, Ae = n, $e = I, be = P, ae = t, fe = l, re = i, Pe = x, F = R, de = !1, Fe = !1;
2265
- function s(A) {
2266
- return de || (de = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
2267
- }
2268
- function S(A) {
2269
- return Fe || (Fe = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
2270
- }
2271
- function g(A) {
2272
- return d(A) === p;
2273
- }
2274
- function _(A) {
2275
- return d(A) === h;
2276
- }
2277
- function w(A) {
2278
- return typeof A == "object" && A !== null && A.$$typeof === r;
2279
- }
2280
- function O(A) {
2281
- return d(A) === y;
2282
- }
2283
- function c(A) {
2284
- return d(A) === n;
2285
- }
2286
- function M(A) {
2287
- return d(A) === I;
2288
- }
2289
- function m(A) {
2290
- return d(A) === P;
2291
- }
2292
- function H(A) {
2293
- return d(A) === t;
2294
- }
2295
- function K(A) {
2296
- return d(A) === l;
2297
- }
2298
- function Z(A) {
2299
- return d(A) === i;
2300
- }
2301
- function E(A) {
2302
- return d(A) === x;
2303
- }
2304
- function ie(A) {
2305
- return d(A) === R;
2306
- }
2307
- ce.ContextConsumer = ee, ce.ContextProvider = Ee, ce.Element = ye, ce.ForwardRef = Ce, ce.Fragment = Ae, ce.Lazy = $e, ce.Memo = be, ce.Portal = ae, ce.Profiler = fe, ce.StrictMode = re, ce.Suspense = Pe, ce.SuspenseList = F, ce.isAsyncMode = s, ce.isConcurrentMode = S, ce.isContextConsumer = g, ce.isContextProvider = _, ce.isElement = w, ce.isForwardRef = O, ce.isFragment = c, ce.isLazy = M, ce.isMemo = m, ce.isPortal = H, ce.isProfiler = K, ce.isStrictMode = Z, ce.isSuspense = E, ce.isSuspenseList = ie, ce.isValidElementType = V, ce.typeOf = d;
2308
- }()), ce;
2309
- }
2310
- process.env.NODE_ENV === "production" ? ft.exports = oo() : ft.exports = ao();
2311
- var _t = ft.exports, or = Et();
2312
- const zr = /* @__PURE__ */ mn(or);
2313
- function io(r) {
2314
- function t(g, _, w, O, c) {
2315
- for (var M = 0, m = 0, H = 0, K = 0, Z, E, ie = 0, A = 0, G, pe = G = Z = 0, X = 0, Re = 0, Me = 0, ve = 0, Le = w.length, Ye = Le - 1, De, U = "", me = "", Ue = "", Ve = "", ze; X < Le; ) {
2316
- if (E = w.charCodeAt(X), X === Ye && m + K + H + M !== 0 && (m !== 0 && (E = m === 47 ? 10 : 47), K = H = M = 0, Le++, Ye++), m + K + H + M === 0) {
2317
- if (X === Ye && (0 < Re && (U = U.replace(I, "")), 0 < U.trim().length)) {
2318
- switch (E) {
2319
- case 32:
2320
- case 9:
2321
- case 59:
2322
- case 13:
2323
- case 10:
2324
- break;
2325
- default:
2326
- U += w.charAt(X);
2327
- }
2328
- E = 59;
2329
- }
2330
- switch (E) {
2331
- case 123:
2332
- for (U = U.trim(), Z = U.charCodeAt(0), G = 1, ve = ++X; X < Le; ) {
2333
- switch (E = w.charCodeAt(X)) {
2334
- case 123:
2335
- G++;
2336
- break;
2337
- case 125:
2338
- G--;
2339
- break;
2340
- case 47:
2341
- switch (E = w.charCodeAt(X + 1)) {
2342
- case 42:
2343
- case 47:
2344
- e: {
2345
- for (pe = X + 1; pe < Ye; ++pe)
2346
- switch (w.charCodeAt(pe)) {
2347
- case 47:
2348
- if (E === 42 && w.charCodeAt(pe - 1) === 42 && X + 2 !== pe) {
2349
- X = pe + 1;
2350
- break e;
2351
- }
2352
- break;
2353
- case 10:
2354
- if (E === 47) {
2355
- X = pe + 1;
2356
- break e;
2357
- }
2358
- }
2359
- X = pe;
2360
- }
2361
- }
2362
- break;
2363
- case 91:
2364
- E++;
2365
- case 40:
2366
- E++;
2367
- case 34:
2368
- case 39:
2369
- for (; X++ < Ye && w.charCodeAt(X) !== E; )
2370
- ;
2371
- }
2372
- if (G === 0)
2373
- break;
2374
- X++;
2375
- }
2376
- switch (G = w.substring(ve, X), Z === 0 && (Z = (U = U.replace(P, "").trim()).charCodeAt(0)), Z) {
2377
- case 64:
2378
- switch (0 < Re && (U = U.replace(I, "")), E = U.charCodeAt(1), E) {
2379
- case 100:
2380
- case 109:
2381
- case 115:
2382
- case 45:
2383
- Re = _;
2384
- break;
2385
- default:
2386
- Re = Pe;
2387
- }
2388
- if (G = t(_, Re, G, E, c + 1), ve = G.length, 0 < de && (Re = n(Pe, U, Me), ze = b(3, G, Re, _, ae, be, ve, E, c, O), U = Re.join(""), ze !== void 0 && (ve = (G = ze.trim()).length) === 0 && (E = 0, G = "")), 0 < ve)
2389
- switch (E) {
2390
- case 115:
2391
- U = U.replace(ee, p);
2392
- case 100:
2393
- case 109:
2394
- case 45:
2395
- G = U + "{" + G + "}";
2396
- break;
2397
- case 107:
2398
- U = U.replace(j, "$1 $2"), G = U + "{" + G + "}", G = re === 1 || re === 2 && h("@" + G, 3) ? "@-webkit-" + G + "@" + G : "@" + G;
2399
- break;
2400
- default:
2401
- G = U + G, O === 112 && (G = (me += G, ""));
2402
- }
2403
- else
2404
- G = "";
2405
- break;
2406
- default:
2407
- G = t(_, n(_, U, Me), G, O, c + 1);
2408
- }
2409
- Ue += G, G = Me = Re = pe = Z = 0, U = "", E = w.charCodeAt(++X);
2410
- break;
2411
- case 125:
2412
- case 59:
2413
- if (U = (0 < Re ? U.replace(I, "") : U).trim(), 1 < (ve = U.length))
2414
- switch (pe === 0 && (Z = U.charCodeAt(0), Z === 45 || 96 < Z && 123 > Z) && (ve = (U = U.replace(" ", ":")).length), 0 < de && (ze = b(1, U, _, g, ae, be, me.length, O, c, O)) !== void 0 && (ve = (U = ze.trim()).length) === 0 && (U = "\0\0"), Z = U.charCodeAt(0), E = U.charCodeAt(1), Z) {
2415
- case 0:
2416
- break;
2417
- case 64:
2418
- if (E === 105 || E === 99) {
2419
- Ve += U + w.charAt(X);
2420
- break;
2421
- }
2422
- default:
2423
- U.charCodeAt(ve - 1) !== 58 && (me += l(U, Z, E, U.charCodeAt(2)));
2424
- }
2425
- Me = Re = pe = Z = 0, U = "", E = w.charCodeAt(++X);
2426
- }
2427
- }
2428
- switch (E) {
2429
- case 13:
2430
- case 10:
2431
- m === 47 ? m = 0 : 1 + Z === 0 && O !== 107 && 0 < U.length && (Re = 1, U += "\0"), 0 < de * s && b(0, U, _, g, ae, be, me.length, O, c, O), be = 1, ae++;
2432
- break;
2433
- case 59:
2434
- case 125:
2435
- if (m + K + H + M === 0) {
2436
- be++;
2437
- break;
2438
- }
2439
- default:
2440
- switch (be++, De = w.charAt(X), E) {
2441
- case 9:
2442
- case 32:
2443
- if (K + M + m === 0)
2444
- switch (ie) {
2445
- case 44:
2446
- case 58:
2447
- case 9:
2448
- case 32:
2449
- De = "";
2450
- break;
2451
- default:
2452
- E !== 32 && (De = " ");
2453
- }
2454
- break;
2455
- case 0:
2456
- De = "\\0";
2457
- break;
2458
- case 12:
2459
- De = "\\f";
2460
- break;
2461
- case 11:
2462
- De = "\\v";
2463
- break;
2464
- case 38:
2465
- K + m + M === 0 && (Re = Me = 1, De = "\f" + De);
2466
- break;
2467
- case 108:
2468
- if (K + m + M + fe === 0 && 0 < pe)
2469
- switch (X - pe) {
2470
- case 2:
2471
- ie === 112 && w.charCodeAt(X - 3) === 58 && (fe = ie);
2472
- case 8:
2473
- A === 111 && (fe = A);
2474
- }
2475
- break;
2476
- case 58:
2477
- K + m + M === 0 && (pe = X);
2478
- break;
2479
- case 44:
2480
- m + H + K + M === 0 && (Re = 1, De += "\r");
2481
- break;
2482
- case 34:
2483
- case 39:
2484
- m === 0 && (K = K === E ? 0 : K === 0 ? E : K);
2485
- break;
2486
- case 91:
2487
- K + m + H === 0 && M++;
2488
- break;
2489
- case 93:
2490
- K + m + H === 0 && M--;
2491
- break;
2492
- case 41:
2493
- K + m + M === 0 && H--;
2494
- break;
2495
- case 40:
2496
- if (K + m + M === 0) {
2497
- if (Z === 0)
2498
- switch (2 * ie + 3 * A) {
2499
- case 533:
2500
- break;
2501
- default:
2502
- Z = 1;
2503
- }
2504
- H++;
2505
- }
2506
- break;
2507
- case 64:
2508
- m + H + K + M + pe + G === 0 && (G = 1);
2509
- break;
2510
- case 42:
2511
- case 47:
2512
- if (!(0 < K + M + H))
2513
- switch (m) {
2514
- case 0:
2515
- switch (2 * E + 3 * w.charCodeAt(X + 1)) {
2516
- case 235:
2517
- m = 47;
2518
- break;
2519
- case 220:
2520
- ve = X, m = 42;
2521
- }
2522
- break;
2523
- case 42:
2524
- E === 47 && ie === 42 && ve + 2 !== X && (w.charCodeAt(ve + 2) === 33 && (me += w.substring(ve, X + 1)), De = "", m = 0);
2525
- }
2526
- }
2527
- m === 0 && (U += De);
2528
- }
2529
- A = ie, ie = E, X++;
2530
- }
2531
- if (ve = me.length, 0 < ve) {
2532
- if (Re = _, 0 < de && (ze = b(2, me, Re, g, ae, be, ve, O, c, O), ze !== void 0 && (me = ze).length === 0))
2533
- return Ve + me + Ue;
2534
- if (me = Re.join(",") + "{" + me + "}", re * fe !== 0) {
2535
- switch (re !== 2 || h(me, 2) || (fe = 0), fe) {
2536
- case 111:
2537
- me = me.replace(V, ":-moz-$1") + me;
2538
- break;
2539
- case 112:
2540
- me = me.replace(z, "::-webkit-input-$1") + me.replace(z, "::-moz-$1") + me.replace(z, ":-ms-input-$1") + me;
2541
- }
2542
- fe = 0;
2543
- }
2544
- }
2545
- return Ve + me + Ue;
2546
- }
2547
- function n(g, _, w) {
2548
- var O = _.trim().split(v);
2549
- _ = O;
2550
- var c = O.length, M = g.length;
2551
- switch (M) {
2552
- case 0:
2553
- case 1:
2554
- var m = 0;
2555
- for (g = M === 0 ? "" : g[0] + " "; m < c; ++m)
2556
- _[m] = i(g, _[m], w).trim();
2557
- break;
2558
- default:
2559
- var H = m = 0;
2560
- for (_ = []; m < c; ++m)
2561
- for (var K = 0; K < M; ++K)
2562
- _[H++] = i(g[K] + " ", O[m], w).trim();
2563
- }
2564
- return _;
2565
- }
2566
- function i(g, _, w) {
2567
- var O = _.charCodeAt(0);
2568
- switch (33 > O && (O = (_ = _.trim()).charCodeAt(0)), O) {
2569
- case 38:
2570
- return _.replace(W, "$1" + g.trim());
2571
- case 58:
2572
- return g.trim() + _.replace(W, "$1" + g.trim());
2573
- default:
2574
- if (0 < 1 * w && 0 < _.indexOf("\f"))
2575
- return _.replace(W, (g.charCodeAt(0) === 58 ? "" : "$1") + g.trim());
2576
- }
2577
- return g + _;
2578
- }
2579
- function l(g, _, w, O) {
2580
- var c = g + ";", M = 2 * _ + 3 * w + 4 * O;
2581
- if (M === 944) {
2582
- g = c.indexOf(":", 9) + 1;
2583
- var m = c.substring(g, c.length - 1).trim();
2584
- return m = c.substring(0, g).trim() + m + ";", re === 1 || re === 2 && h(m, 1) ? "-webkit-" + m + m : m;
2585
- }
2586
- if (re === 0 || re === 2 && !h(c, 1))
2587
- return c;
2588
- switch (M) {
2589
- case 1015:
2590
- return c.charCodeAt(10) === 97 ? "-webkit-" + c + c : c;
2591
- case 951:
2592
- return c.charCodeAt(3) === 116 ? "-webkit-" + c + c : c;
2593
- case 963:
2594
- return c.charCodeAt(5) === 110 ? "-webkit-" + c + c : c;
2595
- case 1009:
2596
- if (c.charCodeAt(4) !== 100)
2597
- break;
2598
- case 969:
2599
- case 942:
2600
- return "-webkit-" + c + c;
2601
- case 978:
2602
- return "-webkit-" + c + "-moz-" + c + c;
2603
- case 1019:
2604
- case 983:
2605
- return "-webkit-" + c + "-moz-" + c + "-ms-" + c + c;
2606
- case 883:
2607
- if (c.charCodeAt(8) === 45)
2608
- return "-webkit-" + c + c;
2609
- if (0 < c.indexOf("image-set(", 11))
2610
- return c.replace($e, "$1-webkit-$2") + c;
2611
- break;
2612
- case 932:
2613
- if (c.charCodeAt(4) === 45)
2614
- switch (c.charCodeAt(5)) {
2615
- case 103:
2616
- return "-webkit-box-" + c.replace("-grow", "") + "-webkit-" + c + "-ms-" + c.replace("grow", "positive") + c;
2617
- case 115:
2618
- return "-webkit-" + c + "-ms-" + c.replace("shrink", "negative") + c;
2619
- case 98:
2620
- return "-webkit-" + c + "-ms-" + c.replace("basis", "preferred-size") + c;
2621
- }
2622
- return "-webkit-" + c + "-ms-" + c + c;
2623
- case 964:
2624
- return "-webkit-" + c + "-ms-flex-" + c + c;
2625
- case 1023:
2626
- if (c.charCodeAt(8) !== 99)
2627
- break;
2628
- return m = c.substring(c.indexOf(":", 15)).replace("flex-", "").replace("space-between", "justify"), "-webkit-box-pack" + m + "-webkit-" + c + "-ms-flex-pack" + m + c;
2629
- case 1005:
2630
- return $.test(c) ? c.replace(D, ":-webkit-") + c.replace(D, ":-moz-") + c : c;
2631
- case 1e3:
2632
- switch (m = c.substring(13).trim(), _ = m.indexOf("-") + 1, m.charCodeAt(0) + m.charCodeAt(_)) {
2633
- case 226:
2634
- m = c.replace(d, "tb");
2635
- break;
2636
- case 232:
2637
- m = c.replace(d, "tb-rl");
2638
- break;
2639
- case 220:
2640
- m = c.replace(d, "lr");
2641
- break;
2642
- default:
2643
- return c;
2644
- }
2645
- return "-webkit-" + c + "-ms-" + m + c;
2646
- case 1017:
2647
- if (c.indexOf("sticky", 9) === -1)
2648
- break;
2649
- case 975:
2650
- switch (_ = (c = g).length - 10, m = (c.charCodeAt(_) === 33 ? c.substring(0, _) : c).substring(g.indexOf(":", 7) + 1).trim(), M = m.charCodeAt(0) + (m.charCodeAt(7) | 0)) {
2651
- case 203:
2652
- if (111 > m.charCodeAt(8))
2653
- break;
2654
- case 115:
2655
- c = c.replace(m, "-webkit-" + m) + ";" + c;
2656
- break;
2657
- case 207:
2658
- case 102:
2659
- c = c.replace(m, "-webkit-" + (102 < M ? "inline-" : "") + "box") + ";" + c.replace(m, "-webkit-" + m) + ";" + c.replace(m, "-ms-" + m + "box") + ";" + c;
2660
- }
2661
- return c + ";";
2662
- case 938:
2663
- if (c.charCodeAt(5) === 45)
2664
- switch (c.charCodeAt(6)) {
2665
- case 105:
2666
- return m = c.replace("-items", ""), "-webkit-" + c + "-webkit-box-" + m + "-ms-flex-" + m + c;
2667
- case 115:
2668
- return "-webkit-" + c + "-ms-flex-item-" + c.replace(ye, "") + c;
2669
- default:
2670
- return "-webkit-" + c + "-ms-flex-line-pack" + c.replace("align-content", "").replace(ye, "") + c;
2671
- }
2672
- break;
2673
- case 973:
2674
- case 989:
2675
- if (c.charCodeAt(3) !== 45 || c.charCodeAt(4) === 122)
2676
- break;
2677
- case 931:
2678
- case 953:
2679
- if (Ae.test(g) === !0)
2680
- return (m = g.substring(g.indexOf(":") + 1)).charCodeAt(0) === 115 ? l(g.replace("stretch", "fill-available"), _, w, O).replace(":fill-available", ":stretch") : c.replace(m, "-webkit-" + m) + c.replace(m, "-moz-" + m.replace("fill-", "")) + c;
2681
- break;
2682
- case 962:
2683
- if (c = "-webkit-" + c + (c.charCodeAt(5) === 102 ? "-ms-" + c : "") + c, w + O === 211 && c.charCodeAt(13) === 105 && 0 < c.indexOf("transform", 10))
2684
- return c.substring(0, c.indexOf(";", 27) + 1).replace(N, "$1-webkit-$2") + c;
2685
- }
2686
- return c;
2687
- }
2688
- function h(g, _) {
2689
- var w = g.indexOf(_ === 1 ? ":" : "{"), O = g.substring(0, _ !== 3 ? w : 10);
2690
- return w = g.substring(w + 1, g.length - 1), Fe(_ !== 2 ? O : O.replace(Ce, "$1"), w, _);
2691
- }
2692
- function p(g, _) {
2693
- var w = l(_, _.charCodeAt(0), _.charCodeAt(1), _.charCodeAt(2));
2694
- return w !== _ + ";" ? w.replace(Ee, " or ($1)").substring(4) : "(" + _ + ")";
2695
- }
2696
- function b(g, _, w, O, c, M, m, H, K, Z) {
2697
- for (var E = 0, ie = _, A; E < de; ++E)
2698
- switch (A = F[E].call(R, g, ie, w, O, c, M, m, H, K, Z)) {
2699
- case void 0:
2700
- case !1:
2701
- case !0:
2702
- case null:
2703
- break;
2704
- default:
2705
- ie = A;
2706
- }
2707
- if (ie !== _)
2708
- return ie;
2709
- }
2710
- function y(g) {
2711
- switch (g) {
2712
- case void 0:
2713
- case null:
2714
- de = F.length = 0;
2715
- break;
2716
- default:
2717
- if (typeof g == "function")
2718
- F[de++] = g;
2719
- else if (typeof g == "object")
2720
- for (var _ = 0, w = g.length; _ < w; ++_)
2721
- y(g[_]);
2722
- else
2723
- s = !!g | 0;
2724
- }
2725
- return y;
2726
- }
2727
- function x(g) {
2728
- return g = g.prefix, g !== void 0 && (Fe = null, g ? typeof g != "function" ? re = 1 : (re = 2, Fe = g) : re = 0), x;
2729
- }
2730
- function R(g, _) {
2731
- var w = g;
2732
- if (33 > w.charCodeAt(0) && (w = w.trim()), S = w, w = [S], 0 < de) {
2733
- var O = b(-1, _, w, w, ae, be, 0, 0, 0, 0);
2734
- O !== void 0 && typeof O == "string" && (_ = O);
2735
- }
2736
- var c = t(Pe, w, _, 0, 0);
2737
- return 0 < de && (O = b(-2, c, w, w, ae, be, c.length, 0, 0, 0), O !== void 0 && (c = O)), S = "", fe = 0, be = ae = 1, c;
2738
- }
2739
- var P = /^\0+/g, I = /[\0\r\f]/g, D = /: */g, $ = /zoo|gra/, N = /([,: ])(transform)/g, v = /,\r+?/g, W = /([\t\r\n ])*\f?&/g, j = /@(k\w+)\s*(\S*)\s*/, z = /::(place)/g, V = /:(read-only)/g, d = /[svh]\w+-[tblr]{2}/, ee = /\(\s*(.*)\s*\)/g, Ee = /([\s\S]*?);/g, ye = /-self|flex-/g, Ce = /[^]*?(:[rp][el]a[\w-]+)[^]*/, Ae = /stretch|:\s*\w+\-(?:conte|avail)/, $e = /([^-])(image-set\()/, be = 1, ae = 1, fe = 0, re = 1, Pe = [], F = [], de = 0, Fe = null, s = 0, S = "";
2740
- return R.use = y, R.set = x, r !== void 0 && x(r), R;
2741
- }
2742
- var so = {
2743
- animationIterationCount: 1,
2744
- borderImageOutset: 1,
2745
- borderImageSlice: 1,
2746
- borderImageWidth: 1,
2747
- boxFlex: 1,
2748
- boxFlexGroup: 1,
2749
- boxOrdinalGroup: 1,
2750
- columnCount: 1,
2751
- columns: 1,
2752
- flex: 1,
2753
- flexGrow: 1,
2754
- flexPositive: 1,
2755
- flexShrink: 1,
2756
- flexNegative: 1,
2757
- flexOrder: 1,
2758
- gridRow: 1,
2759
- gridRowEnd: 1,
2760
- gridRowSpan: 1,
2761
- gridRowStart: 1,
2762
- gridColumn: 1,
2763
- gridColumnEnd: 1,
2764
- gridColumnSpan: 1,
2765
- gridColumnStart: 1,
2766
- msGridRow: 1,
2767
- msGridRowSpan: 1,
2768
- msGridColumn: 1,
2769
- msGridColumnSpan: 1,
2770
- fontWeight: 1,
2771
- lineHeight: 1,
2772
- opacity: 1,
2773
- order: 1,
2774
- orphans: 1,
2775
- tabSize: 1,
2776
- widows: 1,
2777
- zIndex: 1,
2778
- zoom: 1,
2779
- WebkitLineClamp: 1,
2780
- // SVG-related properties
2781
- fillOpacity: 1,
2782
- floodOpacity: 1,
2783
- stopOpacity: 1,
2784
- strokeDasharray: 1,
2785
- strokeDashoffset: 1,
2786
- strokeMiterlimit: 1,
2787
- strokeOpacity: 1,
2788
- strokeWidth: 1
2789
- };
2790
- function co(r) {
2791
- var t = /* @__PURE__ */ Object.create(null);
2792
- return function(n) {
2793
- return t[n] === void 0 && (t[n] = r(n)), t[n];
2794
- };
2795
- }
2796
- var uo = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, tn = /* @__PURE__ */ co(
2797
- function(r) {
2798
- return uo.test(r) || r.charCodeAt(0) === 111 && r.charCodeAt(1) === 110 && r.charCodeAt(2) < 91;
2799
- }
2800
- /* Z+1 */
2801
- ), dt = { exports: {} }, ue = {};
2802
- /** @license React v16.13.1
2803
- * react-is.production.min.js
2804
- *
2805
- * Copyright (c) Facebook, Inc. and its affiliates.
2806
- *
2807
- * This source code is licensed under the MIT license found in the
2808
- * LICENSE file in the root directory of this source tree.
2809
- */
2810
- var nn;
2811
- function lo() {
2812
- if (nn)
2813
- return ue;
2814
- nn = 1;
2815
- var r = typeof Symbol == "function" && Symbol.for, t = r ? Symbol.for("react.element") : 60103, n = r ? Symbol.for("react.portal") : 60106, i = r ? Symbol.for("react.fragment") : 60107, l = r ? Symbol.for("react.strict_mode") : 60108, h = r ? Symbol.for("react.profiler") : 60114, p = r ? Symbol.for("react.provider") : 60109, b = r ? Symbol.for("react.context") : 60110, y = r ? Symbol.for("react.async_mode") : 60111, x = r ? Symbol.for("react.concurrent_mode") : 60111, R = r ? Symbol.for("react.forward_ref") : 60112, P = r ? Symbol.for("react.suspense") : 60113, I = r ? Symbol.for("react.suspense_list") : 60120, D = r ? Symbol.for("react.memo") : 60115, $ = r ? Symbol.for("react.lazy") : 60116, N = r ? Symbol.for("react.block") : 60121, v = r ? Symbol.for("react.fundamental") : 60117, W = r ? Symbol.for("react.responder") : 60118, j = r ? Symbol.for("react.scope") : 60119;
2816
- function z(d) {
2817
- if (typeof d == "object" && d !== null) {
2818
- var ee = d.$$typeof;
2819
- switch (ee) {
2820
- case t:
2821
- switch (d = d.type, d) {
2822
- case y:
2823
- case x:
2824
- case i:
2825
- case h:
2826
- case l:
2827
- case P:
2828
- return d;
2829
- default:
2830
- switch (d = d && d.$$typeof, d) {
2831
- case b:
2832
- case R:
2833
- case $:
2834
- case D:
2835
- case p:
2836
- return d;
2837
- default:
2838
- return ee;
2839
- }
2840
- }
2841
- case n:
2842
- return ee;
2843
- }
2844
- }
2845
- }
2846
- function V(d) {
2847
- return z(d) === x;
2848
- }
2849
- return ue.AsyncMode = y, ue.ConcurrentMode = x, ue.ContextConsumer = b, ue.ContextProvider = p, ue.Element = t, ue.ForwardRef = R, ue.Fragment = i, ue.Lazy = $, ue.Memo = D, ue.Portal = n, ue.Profiler = h, ue.StrictMode = l, ue.Suspense = P, ue.isAsyncMode = function(d) {
2850
- return V(d) || z(d) === y;
2851
- }, ue.isConcurrentMode = V, ue.isContextConsumer = function(d) {
2852
- return z(d) === b;
2853
- }, ue.isContextProvider = function(d) {
2854
- return z(d) === p;
2855
- }, ue.isElement = function(d) {
2856
- return typeof d == "object" && d !== null && d.$$typeof === t;
2857
- }, ue.isForwardRef = function(d) {
2858
- return z(d) === R;
2859
- }, ue.isFragment = function(d) {
2860
- return z(d) === i;
2861
- }, ue.isLazy = function(d) {
2862
- return z(d) === $;
2863
- }, ue.isMemo = function(d) {
2864
- return z(d) === D;
2865
- }, ue.isPortal = function(d) {
2866
- return z(d) === n;
2867
- }, ue.isProfiler = function(d) {
2868
- return z(d) === h;
2869
- }, ue.isStrictMode = function(d) {
2870
- return z(d) === l;
2871
- }, ue.isSuspense = function(d) {
2872
- return z(d) === P;
2873
- }, ue.isValidElementType = function(d) {
2874
- return typeof d == "string" || typeof d == "function" || d === i || d === x || d === h || d === l || d === P || d === I || typeof d == "object" && d !== null && (d.$$typeof === $ || d.$$typeof === D || d.$$typeof === p || d.$$typeof === b || d.$$typeof === R || d.$$typeof === v || d.$$typeof === W || d.$$typeof === j || d.$$typeof === N);
2875
- }, ue.typeOf = z, ue;
2876
- }
2877
- var le = {};
2878
- /** @license React v16.13.1
2879
- * react-is.development.js
2880
- *
2881
- * Copyright (c) Facebook, Inc. and its affiliates.
2882
- *
2883
- * This source code is licensed under the MIT license found in the
2884
- * LICENSE file in the root directory of this source tree.
2885
- */
2886
- var on;
2887
- function fo() {
2888
- return on || (on = 1, process.env.NODE_ENV !== "production" && function() {
2889
- var r = typeof Symbol == "function" && Symbol.for, t = r ? Symbol.for("react.element") : 60103, n = r ? Symbol.for("react.portal") : 60106, i = r ? Symbol.for("react.fragment") : 60107, l = r ? Symbol.for("react.strict_mode") : 60108, h = r ? Symbol.for("react.profiler") : 60114, p = r ? Symbol.for("react.provider") : 60109, b = r ? Symbol.for("react.context") : 60110, y = r ? Symbol.for("react.async_mode") : 60111, x = r ? Symbol.for("react.concurrent_mode") : 60111, R = r ? Symbol.for("react.forward_ref") : 60112, P = r ? Symbol.for("react.suspense") : 60113, I = r ? Symbol.for("react.suspense_list") : 60120, D = r ? Symbol.for("react.memo") : 60115, $ = r ? Symbol.for("react.lazy") : 60116, N = r ? Symbol.for("react.block") : 60121, v = r ? Symbol.for("react.fundamental") : 60117, W = r ? Symbol.for("react.responder") : 60118, j = r ? Symbol.for("react.scope") : 60119;
2890
- function z(E) {
2891
- return typeof E == "string" || typeof E == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
2892
- E === i || E === x || E === h || E === l || E === P || E === I || typeof E == "object" && E !== null && (E.$$typeof === $ || E.$$typeof === D || E.$$typeof === p || E.$$typeof === b || E.$$typeof === R || E.$$typeof === v || E.$$typeof === W || E.$$typeof === j || E.$$typeof === N);
2893
- }
2894
- function V(E) {
2895
- if (typeof E == "object" && E !== null) {
2896
- var ie = E.$$typeof;
2897
- switch (ie) {
2898
- case t:
2899
- var A = E.type;
2900
- switch (A) {
2901
- case y:
2902
- case x:
2903
- case i:
2904
- case h:
2905
- case l:
2906
- case P:
2907
- return A;
2908
- default:
2909
- var G = A && A.$$typeof;
2910
- switch (G) {
2911
- case b:
2912
- case R:
2913
- case $:
2914
- case D:
2915
- case p:
2916
- return G;
2917
- default:
2918
- return ie;
2919
- }
2920
- }
2921
- case n:
2922
- return ie;
2923
- }
2924
- }
2925
- }
2926
- var d = y, ee = x, Ee = b, ye = p, Ce = t, Ae = R, $e = i, be = $, ae = D, fe = n, re = h, Pe = l, F = P, de = !1;
2927
- function Fe(E) {
2928
- return de || (de = !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.")), s(E) || V(E) === y;
2929
- }
2930
- function s(E) {
2931
- return V(E) === x;
2932
- }
2933
- function S(E) {
2934
- return V(E) === b;
2935
- }
2936
- function g(E) {
2937
- return V(E) === p;
2938
- }
2939
- function _(E) {
2940
- return typeof E == "object" && E !== null && E.$$typeof === t;
2941
- }
2942
- function w(E) {
2943
- return V(E) === R;
2944
- }
2945
- function O(E) {
2946
- return V(E) === i;
2947
- }
2948
- function c(E) {
2949
- return V(E) === $;
2950
- }
2951
- function M(E) {
2952
- return V(E) === D;
2953
- }
2954
- function m(E) {
2955
- return V(E) === n;
2956
- }
2957
- function H(E) {
2958
- return V(E) === h;
2959
- }
2960
- function K(E) {
2961
- return V(E) === l;
2962
- }
2963
- function Z(E) {
2964
- return V(E) === P;
2965
- }
2966
- le.AsyncMode = d, le.ConcurrentMode = ee, le.ContextConsumer = Ee, le.ContextProvider = ye, le.Element = Ce, le.ForwardRef = Ae, le.Fragment = $e, le.Lazy = be, le.Memo = ae, le.Portal = fe, le.Profiler = re, le.StrictMode = Pe, le.Suspense = F, le.isAsyncMode = Fe, le.isConcurrentMode = s, le.isContextConsumer = S, le.isContextProvider = g, le.isElement = _, le.isForwardRef = w, le.isFragment = O, le.isLazy = c, le.isMemo = M, le.isPortal = m, le.isProfiler = H, le.isStrictMode = K, le.isSuspense = Z, le.isValidElementType = z, le.typeOf = V;
2967
- }()), le;
2968
- }
2969
- process.env.NODE_ENV === "production" ? dt.exports = lo() : dt.exports = fo();
2970
- var po = dt.exports, wt = po, ho = {
2971
- childContextTypes: !0,
2972
- contextType: !0,
2973
- contextTypes: !0,
2974
- defaultProps: !0,
2975
- displayName: !0,
2976
- getDefaultProps: !0,
2977
- getDerivedStateFromError: !0,
2978
- getDerivedStateFromProps: !0,
2979
- mixins: !0,
2980
- propTypes: !0,
2981
- type: !0
2982
- }, vo = {
2983
- name: !0,
2984
- length: !0,
2985
- prototype: !0,
2986
- caller: !0,
2987
- callee: !0,
2988
- arguments: !0,
2989
- arity: !0
2990
- }, mo = {
2991
- $$typeof: !0,
2992
- render: !0,
2993
- defaultProps: !0,
2994
- displayName: !0,
2995
- propTypes: !0
2996
- }, yn = {
2997
- $$typeof: !0,
2998
- compare: !0,
2999
- defaultProps: !0,
3000
- displayName: !0,
3001
- propTypes: !0,
3002
- type: !0
3003
- }, Ct = {};
3004
- Ct[wt.ForwardRef] = mo;
3005
- Ct[wt.Memo] = yn;
3006
- function an(r) {
3007
- return wt.isMemo(r) ? yn : Ct[r.$$typeof] || ho;
3008
- }
3009
- var yo = Object.defineProperty, go = Object.getOwnPropertyNames, sn = Object.getOwnPropertySymbols, bo = Object.getOwnPropertyDescriptor, Eo = Object.getPrototypeOf, cn = Object.prototype;
3010
- function gn(r, t, n) {
3011
- if (typeof t != "string") {
3012
- if (cn) {
3013
- var i = Eo(t);
3014
- i && i !== cn && gn(r, i, n);
3015
- }
3016
- var l = go(t);
3017
- sn && (l = l.concat(sn(t)));
3018
- for (var h = an(r), p = an(t), b = 0; b < l.length; ++b) {
3019
- var y = l[b];
3020
- if (!vo[y] && !(n && n[y]) && !(p && p[y]) && !(h && h[y])) {
3021
- var x = bo(t, y);
3022
- try {
3023
- yo(r, y, x);
3024
- } catch {
3025
- }
3026
- }
3027
- }
3028
- }
3029
- return r;
3030
- }
3031
- var _o = gn;
3032
- const wo = /* @__PURE__ */ mn(_o);
3033
- function He() {
3034
- return (He = Object.assign || function(r) {
3035
- for (var t = 1; t < arguments.length; t++) {
3036
- var n = arguments[t];
3037
- for (var i in n)
3038
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3039
- }
3040
- return r;
3041
- }).apply(this, arguments);
3042
- }
3043
- var un = function(r, t) {
3044
- for (var n = [r[0]], i = 0, l = t.length; i < l; i += 1)
3045
- n.push(t[i], r[i + 1]);
3046
- return n;
3047
- }, pt = function(r) {
3048
- return r !== null && typeof r == "object" && (r.toString ? r.toString() : Object.prototype.toString.call(r)) === "[object Object]" && !_t.typeOf(r);
3049
- }, Lr = Object.freeze([]), Xe = Object.freeze({});
3050
- function gr(r) {
3051
- return typeof r == "function";
3052
- }
3053
- function ht(r) {
3054
- return process.env.NODE_ENV !== "production" && typeof r == "string" && r || r.displayName || r.name || "Component";
3055
- }
3056
- function St(r) {
3057
- return r && typeof r.styledComponentId == "string";
3058
- }
3059
- var cr = typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled", xt = typeof window < "u" && "HTMLElement" in window, Co = !!(typeof SC_DISABLE_SPEEDY == "boolean" ? SC_DISABLE_SPEEDY : typeof process < "u" && process.env !== void 0 && (process.env.REACT_APP_SC_DISABLE_SPEEDY !== void 0 && process.env.REACT_APP_SC_DISABLE_SPEEDY !== "" ? process.env.REACT_APP_SC_DISABLE_SPEEDY !== "false" && process.env.REACT_APP_SC_DISABLE_SPEEDY : process.env.SC_DISABLE_SPEEDY !== void 0 && process.env.SC_DISABLE_SPEEDY !== "" ? process.env.SC_DISABLE_SPEEDY !== "false" && process.env.SC_DISABLE_SPEEDY : process.env.NODE_ENV !== "production")), So = process.env.NODE_ENV !== "production" ? { 1: `Cannot create styled-component for component: %s.
3060
-
3061
- `, 2: `Can't collect styles once you've consumed a \`ServerStyleSheet\`'s styles! \`ServerStyleSheet\` is a one off instance for each server-side render cycle.
3062
-
3063
- - Are you trying to reuse it across renders?
3064
- - Are you accidentally calling collectStyles twice?
3065
-
3066
- `, 3: `Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.
3067
-
3068
- `, 4: `The \`StyleSheetManager\` expects a valid target or sheet prop!
3069
-
3070
- - Does this error occur on the client and is your target falsy?
3071
- - Does this error occur on the server and is the sheet falsy?
3072
-
3073
- `, 5: `The clone method cannot be used on the client!
3074
-
3075
- - Are you running in a client-like environment on the server?
3076
- - Are you trying to run SSR on the client?
3077
-
3078
- `, 6: `Trying to insert a new style tag, but the given Node is unmounted!
3079
-
3080
- - Are you using a custom target that isn't mounted?
3081
- - Does your document not have a valid head element?
3082
- - Have you accidentally removed a style tag manually?
3083
-
3084
- `, 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n', 8: `ThemeProvider: Please make your "theme" prop an object.
3085
-
3086
- `, 9: "Missing document `<head>`\n\n", 10: `Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021
3087
-
3088
- `, 11: `_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.
3089
-
3090
- `, 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n", 13: `%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.
3091
-
3092
- `, 14: `ThemeProvider: "theme" prop is required.
3093
-
3094
- `, 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n", 16: `Reached the limit of how many styled components may be created at group %s.
3095
- You may only create up to 1,073,741,824 components. If you're creating components dynamically,
3096
- as for instance in your render method then you may be running into this limitation.
3097
-
3098
- `, 17: `CSSStyleSheet could not be found on HTMLStyleElement.
3099
- Has styled-components' style tag been unmounted or altered by another script?
3100
- ` } : {};
3101
- function xo() {
3102
- for (var r = arguments.length <= 0 ? void 0 : arguments[0], t = [], n = 1, i = arguments.length; n < i; n += 1)
3103
- t.push(n < 0 || arguments.length <= n ? void 0 : arguments[n]);
3104
- return t.forEach(function(l) {
3105
- r = r.replace(/%[a-z]/, l);
3106
- }), r;
3107
- }
3108
- function lr(r) {
3109
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
3110
- n[i - 1] = arguments[i];
3111
- throw process.env.NODE_ENV === "production" ? new Error("An error occurred. See https://git.io/JUIaE#" + r + " for more information." + (n.length > 0 ? " Args: " + n.join(", ") : "")) : new Error(xo.apply(void 0, [So[r]].concat(n)).trim());
3112
- }
3113
- var Ro = function() {
3114
- function r(n) {
3115
- this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = n;
3116
- }
3117
- var t = r.prototype;
3118
- return t.indexOfGroup = function(n) {
3119
- for (var i = 0, l = 0; l < n; l++)
3120
- i += this.groupSizes[l];
3121
- return i;
3122
- }, t.insertRules = function(n, i) {
3123
- if (n >= this.groupSizes.length) {
3124
- for (var l = this.groupSizes, h = l.length, p = h; n >= p; )
3125
- (p <<= 1) < 0 && lr(16, "" + n);
3126
- this.groupSizes = new Uint32Array(p), this.groupSizes.set(l), this.length = p;
3127
- for (var b = h; b < p; b++)
3128
- this.groupSizes[b] = 0;
3129
- }
3130
- for (var y = this.indexOfGroup(n + 1), x = 0, R = i.length; x < R; x++)
3131
- this.tag.insertRule(y, i[x]) && (this.groupSizes[n]++, y++);
3132
- }, t.clearGroup = function(n) {
3133
- if (n < this.length) {
3134
- var i = this.groupSizes[n], l = this.indexOfGroup(n), h = l + i;
3135
- this.groupSizes[n] = 0;
3136
- for (var p = l; p < h; p++)
3137
- this.tag.deleteRule(l);
3138
- }
3139
- }, t.getGroup = function(n) {
3140
- var i = "";
3141
- if (n >= this.length || this.groupSizes[n] === 0)
3142
- return i;
3143
- for (var l = this.groupSizes[n], h = this.indexOfGroup(n), p = h + l, b = h; b < p; b++)
3144
- i += this.tag.getRule(b) + `/*!sc*/
3145
- `;
3146
- return i;
3147
- }, r;
3148
- }(), Mr = /* @__PURE__ */ new Map(), Yr = /* @__PURE__ */ new Map(), yr = 1, Ir = function(r) {
3149
- if (Mr.has(r))
3150
- return Mr.get(r);
3151
- for (; Yr.has(yr); )
3152
- yr++;
3153
- var t = yr++;
3154
- return process.env.NODE_ENV !== "production" && ((0 | t) < 0 || t > 1 << 30) && lr(16, "" + t), Mr.set(r, t), Yr.set(t, r), t;
3155
- }, To = function(r) {
3156
- return Yr.get(r);
3157
- }, ko = function(r, t) {
3158
- t >= yr && (yr = t + 1), Mr.set(r, t), Yr.set(t, r);
3159
- }, Ao = "style[" + cr + '][data-styled-version="5.3.11"]', Po = new RegExp("^" + cr + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'), Oo = function(r, t, n) {
3160
- for (var i, l = n.split(","), h = 0, p = l.length; h < p; h++)
3161
- (i = l[h]) && r.registerName(t, i);
3162
- }, $o = function(r, t) {
3163
- for (var n = (t.textContent || "").split(`/*!sc*/
3164
- `), i = [], l = 0, h = n.length; l < h; l++) {
3165
- var p = n[l].trim();
3166
- if (p) {
3167
- var b = p.match(Po);
3168
- if (b) {
3169
- var y = 0 | parseInt(b[1], 10), x = b[2];
3170
- y !== 0 && (ko(x, y), Oo(r, x, b[3]), r.getTag().insertRules(y, i)), i.length = 0;
3171
- } else
3172
- i.push(p);
3173
- }
3174
- }
3175
- }, Fo = function() {
3176
- return typeof __webpack_nonce__ < "u" ? __webpack_nonce__ : null;
3177
- }, bn = function(r) {
3178
- var t = document.head, n = r || t, i = document.createElement("style"), l = function(b) {
3179
- for (var y = b.childNodes, x = y.length; x >= 0; x--) {
3180
- var R = y[x];
3181
- if (R && R.nodeType === 1 && R.hasAttribute(cr))
3182
- return R;
3183
- }
3184
- }(n), h = l !== void 0 ? l.nextSibling : null;
3185
- i.setAttribute(cr, "active"), i.setAttribute("data-styled-version", "5.3.11");
3186
- var p = Fo();
3187
- return p && i.setAttribute("nonce", p), n.insertBefore(i, h), i;
3188
- }, jo = function() {
3189
- function r(n) {
3190
- var i = this.element = bn(n);
3191
- i.appendChild(document.createTextNode("")), this.sheet = function(l) {
3192
- if (l.sheet)
3193
- return l.sheet;
3194
- for (var h = document.styleSheets, p = 0, b = h.length; p < b; p++) {
3195
- var y = h[p];
3196
- if (y.ownerNode === l)
3197
- return y;
3198
- }
3199
- lr(17);
3200
- }(i), this.length = 0;
3201
- }
3202
- var t = r.prototype;
3203
- return t.insertRule = function(n, i) {
3204
- try {
3205
- return this.sheet.insertRule(i, n), this.length++, !0;
3206
- } catch {
3207
- return !1;
3208
- }
3209
- }, t.deleteRule = function(n) {
3210
- this.sheet.deleteRule(n), this.length--;
3211
- }, t.getRule = function(n) {
3212
- var i = this.sheet.cssRules[n];
3213
- return i !== void 0 && typeof i.cssText == "string" ? i.cssText : "";
3214
- }, r;
3215
- }(), Io = function() {
3216
- function r(n) {
3217
- var i = this.element = bn(n);
3218
- this.nodes = i.childNodes, this.length = 0;
3219
- }
3220
- var t = r.prototype;
3221
- return t.insertRule = function(n, i) {
3222
- if (n <= this.length && n >= 0) {
3223
- var l = document.createTextNode(i), h = this.nodes[n];
3224
- return this.element.insertBefore(l, h || null), this.length++, !0;
3225
- }
3226
- return !1;
3227
- }, t.deleteRule = function(n) {
3228
- this.element.removeChild(this.nodes[n]), this.length--;
3229
- }, t.getRule = function(n) {
3230
- return n < this.length ? this.nodes[n].textContent : "";
3231
- }, r;
3232
- }(), Do = function() {
3233
- function r(n) {
3234
- this.rules = [], this.length = 0;
3235
- }
3236
- var t = r.prototype;
3237
- return t.insertRule = function(n, i) {
3238
- return n <= this.length && (this.rules.splice(n, 0, i), this.length++, !0);
3239
- }, t.deleteRule = function(n) {
3240
- this.rules.splice(n, 1), this.length--;
3241
- }, t.getRule = function(n) {
3242
- return n < this.length ? this.rules[n] : "";
3243
- }, r;
3244
- }(), ln = xt, No = { isServer: !xt, useCSSOMInjection: !Co }, En = function() {
3245
- function r(n, i, l) {
3246
- n === void 0 && (n = Xe), i === void 0 && (i = {}), this.options = He({}, No, {}, n), this.gs = i, this.names = new Map(l), this.server = !!n.isServer, !this.server && xt && ln && (ln = !1, function(h) {
3247
- for (var p = document.querySelectorAll(Ao), b = 0, y = p.length; b < y; b++) {
3248
- var x = p[b];
3249
- x && x.getAttribute(cr) !== "active" && ($o(h, x), x.parentNode && x.parentNode.removeChild(x));
3250
- }
3251
- }(this));
3252
- }
3253
- r.registerId = function(n) {
3254
- return Ir(n);
3255
- };
3256
- var t = r.prototype;
3257
- return t.reconstructWithOptions = function(n, i) {
3258
- return i === void 0 && (i = !0), new r(He({}, this.options, {}, n), this.gs, i && this.names || void 0);
3259
- }, t.allocateGSInstance = function(n) {
3260
- return this.gs[n] = (this.gs[n] || 0) + 1;
3261
- }, t.getTag = function() {
3262
- return this.tag || (this.tag = (l = (i = this.options).isServer, h = i.useCSSOMInjection, p = i.target, n = l ? new Do(p) : h ? new jo(p) : new Io(p), new Ro(n)));
3263
- var n, i, l, h, p;
3264
- }, t.hasNameForId = function(n, i) {
3265
- return this.names.has(n) && this.names.get(n).has(i);
3266
- }, t.registerName = function(n, i) {
3267
- if (Ir(n), this.names.has(n))
3268
- this.names.get(n).add(i);
3269
- else {
3270
- var l = /* @__PURE__ */ new Set();
3271
- l.add(i), this.names.set(n, l);
3272
- }
3273
- }, t.insertRules = function(n, i, l) {
3274
- this.registerName(n, i), this.getTag().insertRules(Ir(n), l);
3275
- }, t.clearNames = function(n) {
3276
- this.names.has(n) && this.names.get(n).clear();
3277
- }, t.clearRules = function(n) {
3278
- this.getTag().clearGroup(Ir(n)), this.clearNames(n);
3279
- }, t.clearTag = function() {
3280
- this.tag = void 0;
3281
- }, t.toString = function() {
3282
- return function(n) {
3283
- for (var i = n.getTag(), l = i.length, h = "", p = 0; p < l; p++) {
3284
- var b = To(p);
3285
- if (b !== void 0) {
3286
- var y = n.names.get(b), x = i.getGroup(p);
3287
- if (y && x && y.size) {
3288
- var R = cr + ".g" + p + '[id="' + b + '"]', P = "";
3289
- y !== void 0 && y.forEach(function(I) {
3290
- I.length > 0 && (P += I + ",");
3291
- }), h += "" + x + R + '{content:"' + P + `"}/*!sc*/
3292
- `;
3293
- }
3294
- }
3295
- }
3296
- return h;
3297
- }(this);
3298
- }, r;
3299
- }(), Mo = /(a)(d)/gi, fn = function(r) {
3300
- return String.fromCharCode(r + (r > 25 ? 39 : 97));
3301
- };
3302
- function vt(r) {
3303
- var t, n = "";
3304
- for (t = Math.abs(r); t > 52; t = t / 52 | 0)
3305
- n = fn(t % 52) + n;
3306
- return (fn(t % 52) + n).replace(Mo, "$1-$2");
3307
- }
3308
- var nr = function(r, t) {
3309
- for (var n = t.length; n; )
3310
- r = 33 * r ^ t.charCodeAt(--n);
3311
- return r;
3312
- }, _n = function(r) {
3313
- return nr(5381, r);
3314
- };
3315
- function Lo(r) {
3316
- for (var t = 0; t < r.length; t += 1) {
3317
- var n = r[t];
3318
- if (gr(n) && !St(n))
3319
- return !1;
3320
- }
3321
- return !0;
3322
- }
3323
- var Yo = _n("5.3.11"), Vo = function() {
3324
- function r(t, n, i) {
3325
- this.rules = t, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (i === void 0 || i.isStatic) && Lo(t), this.componentId = n, this.baseHash = nr(Yo, n), this.baseStyle = i, En.registerId(n);
3326
- }
3327
- return r.prototype.generateAndInjectStyles = function(t, n, i) {
3328
- var l = this.componentId, h = [];
3329
- if (this.baseStyle && h.push(this.baseStyle.generateAndInjectStyles(t, n, i)), this.isStatic && !i.hash)
3330
- if (this.staticRulesId && n.hasNameForId(l, this.staticRulesId))
3331
- h.push(this.staticRulesId);
3332
- else {
3333
- var p = ur(this.rules, t, n, i).join(""), b = vt(nr(this.baseHash, p) >>> 0);
3334
- if (!n.hasNameForId(l, b)) {
3335
- var y = i(p, "." + b, void 0, l);
3336
- n.insertRules(l, b, y);
3337
- }
3338
- h.push(b), this.staticRulesId = b;
3339
- }
3340
- else {
3341
- for (var x = this.rules.length, R = nr(this.baseHash, i.hash), P = "", I = 0; I < x; I++) {
3342
- var D = this.rules[I];
3343
- if (typeof D == "string")
3344
- P += D, process.env.NODE_ENV !== "production" && (R = nr(R, D + I));
3345
- else if (D) {
3346
- var $ = ur(D, t, n, i), N = Array.isArray($) ? $.join("") : $;
3347
- R = nr(R, N + I), P += N;
3348
- }
3349
- }
3350
- if (P) {
3351
- var v = vt(R >>> 0);
3352
- if (!n.hasNameForId(l, v)) {
3353
- var W = i(P, "." + v, void 0, l);
3354
- n.insertRules(l, v, W);
3355
- }
3356
- h.push(v);
3357
- }
3358
- }
3359
- return h.join(" ");
3360
- }, r;
3361
- }(), zo = /^\s*\/\/.*$/gm, Wo = [":", "[", ".", "#"];
3362
- function Uo(r) {
3363
- var t, n, i, l, h = r === void 0 ? Xe : r, p = h.options, b = p === void 0 ? Xe : p, y = h.plugins, x = y === void 0 ? Lr : y, R = new io(b), P = [], I = function(N) {
3364
- function v(W) {
3365
- if (W)
3366
- try {
3367
- N(W + "}");
3368
- } catch {
3369
- }
3370
- }
3371
- return function(W, j, z, V, d, ee, Ee, ye, Ce, Ae) {
3372
- switch (W) {
3373
- case 1:
3374
- if (Ce === 0 && j.charCodeAt(0) === 64)
3375
- return N(j + ";"), "";
3376
- break;
3377
- case 2:
3378
- if (ye === 0)
3379
- return j + "/*|*/";
3380
- break;
3381
- case 3:
3382
- switch (ye) {
3383
- case 102:
3384
- case 112:
3385
- return N(z[0] + j), "";
3386
- default:
3387
- return j + (Ae === 0 ? "/*|*/" : "");
3388
- }
3389
- case -2:
3390
- j.split("/*|*/}").forEach(v);
3391
- }
3392
- };
3393
- }(function(N) {
3394
- P.push(N);
3395
- }), D = function(N, v, W) {
3396
- return v === 0 && Wo.indexOf(W[n.length]) !== -1 || W.match(l) ? N : "." + t;
3397
- };
3398
- function $(N, v, W, j) {
3399
- j === void 0 && (j = "&");
3400
- var z = N.replace(zo, ""), V = v && W ? W + " " + v + " { " + z + " }" : z;
3401
- return t = j, n = v, i = new RegExp("\\" + n + "\\b", "g"), l = new RegExp("(\\" + n + "\\b){2,}"), R(W || !v ? "" : v, V);
3402
- }
3403
- return R.use([].concat(x, [function(N, v, W) {
3404
- N === 2 && W.length && W[0].lastIndexOf(n) > 0 && (W[0] = W[0].replace(i, D));
3405
- }, I, function(N) {
3406
- if (N === -2) {
3407
- var v = P;
3408
- return P = [], v;
3409
- }
3410
- }])), $.hash = x.length ? x.reduce(function(N, v) {
3411
- return v.name || lr(15), nr(N, v.name);
3412
- }, 5381).toString() : "", $;
3413
- }
3414
- var wn = zr.createContext();
3415
- wn.Consumer;
3416
- var Cn = zr.createContext(), Bo = (Cn.Consumer, new En()), mt = Uo();
3417
- function Ho() {
3418
- return or.useContext(wn) || Bo;
3419
- }
3420
- function Go() {
3421
- return or.useContext(Cn) || mt;
3422
- }
3423
- var qo = function() {
3424
- function r(t, n) {
3425
- var i = this;
3426
- this.inject = function(l, h) {
3427
- h === void 0 && (h = mt);
3428
- var p = i.name + h.hash;
3429
- l.hasNameForId(i.id, p) || l.insertRules(i.id, p, h(i.rules, p, "@keyframes"));
3430
- }, this.toString = function() {
3431
- return lr(12, String(i.name));
3432
- }, this.name = t, this.id = "sc-keyframes-" + t, this.rules = n;
3433
- }
3434
- return r.prototype.getName = function(t) {
3435
- return t === void 0 && (t = mt), this.name + t.hash;
3436
- }, r;
3437
- }(), Ko = /([A-Z])/, Xo = /([A-Z])/g, Zo = /^ms-/, Jo = function(r) {
3438
- return "-" + r.toLowerCase();
3439
- };
3440
- function dn(r) {
3441
- return Ko.test(r) ? r.replace(Xo, Jo).replace(Zo, "-ms-") : r;
3442
- }
3443
- var pn = function(r) {
3444
- return r == null || r === !1 || r === "";
3445
- };
3446
- function ur(r, t, n, i) {
3447
- if (Array.isArray(r)) {
3448
- for (var l, h = [], p = 0, b = r.length; p < b; p += 1)
3449
- (l = ur(r[p], t, n, i)) !== "" && (Array.isArray(l) ? h.push.apply(h, l) : h.push(l));
3450
- return h;
3451
- }
3452
- if (pn(r))
3453
- return "";
3454
- if (St(r))
3455
- return "." + r.styledComponentId;
3456
- if (gr(r)) {
3457
- if (typeof (x = r) != "function" || x.prototype && x.prototype.isReactComponent || !t)
3458
- return r;
3459
- var y = r(t);
3460
- return process.env.NODE_ENV !== "production" && _t.isElement(y) && console.warn(ht(r) + " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."), ur(y, t, n, i);
3461
- }
3462
- var x;
3463
- return r instanceof qo ? n ? (r.inject(n, i), r.getName(i)) : r : pt(r) ? function R(P, I) {
3464
- var D, $, N = [];
3465
- for (var v in P)
3466
- P.hasOwnProperty(v) && !pn(P[v]) && (Array.isArray(P[v]) && P[v].isCss || gr(P[v]) ? N.push(dn(v) + ":", P[v], ";") : pt(P[v]) ? N.push.apply(N, R(P[v], v)) : N.push(dn(v) + ": " + (D = v, ($ = P[v]) == null || typeof $ == "boolean" || $ === "" ? "" : typeof $ != "number" || $ === 0 || D in so || D.startsWith("--") ? String($).trim() : $ + "px") + ";"));
3467
- return I ? [I + " {"].concat(N, ["}"]) : N;
3468
- }(r) : r.toString();
3469
- }
3470
- var hn = function(r) {
3471
- return Array.isArray(r) && (r.isCss = !0), r;
3472
- };
3473
- function Ze(r) {
3474
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
3475
- n[i - 1] = arguments[i];
3476
- return gr(r) || pt(r) ? hn(ur(un(Lr, [r].concat(n)))) : n.length === 0 && r.length === 1 && typeof r[0] == "string" ? r : hn(ur(un(r, n)));
3477
- }
3478
- var vn = /invalid hook call/i, Dr = /* @__PURE__ */ new Set(), Qo = function(r, t) {
3479
- if (process.env.NODE_ENV !== "production") {
3480
- var n = "The component " + r + (t ? ' with the id of "' + t + '"' : "") + ` has been created dynamically.
3481
- You may see this warning because you've called styled inside another component.
3482
- To resolve this only create new StyledComponents outside of any render method and function component.`, i = console.error;
3483
- try {
3484
- var l = !0;
3485
- console.error = function(h) {
3486
- if (vn.test(h))
3487
- l = !1, Dr.delete(n);
3488
- else {
3489
- for (var p = arguments.length, b = new Array(p > 1 ? p - 1 : 0), y = 1; y < p; y++)
3490
- b[y - 1] = arguments[y];
3491
- i.apply(void 0, [h].concat(b));
3492
- }
3493
- }, or.useRef(), l && !Dr.has(n) && (console.warn(n), Dr.add(n));
3494
- } catch (h) {
3495
- vn.test(h.message) && Dr.delete(n);
3496
- } finally {
3497
- console.error = i;
3498
- }
3499
- }
3500
- }, ea = function(r, t, n) {
3501
- return n === void 0 && (n = Xe), r.theme !== n.theme && r.theme || t || n.theme;
3502
- }, ra = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g, ta = /(^-|-$)/g;
3503
- function ct(r) {
3504
- return r.replace(ra, "-").replace(ta, "");
3505
- }
3506
- var na = function(r) {
3507
- return vt(_n(r) >>> 0);
3508
- };
3509
- function Nr(r) {
3510
- return typeof r == "string" && (process.env.NODE_ENV === "production" || r.charAt(0) === r.charAt(0).toLowerCase());
3511
- }
3512
- var yt = function(r) {
3513
- return typeof r == "function" || typeof r == "object" && r !== null && !Array.isArray(r);
3514
- }, oa = function(r) {
3515
- return r !== "__proto__" && r !== "constructor" && r !== "prototype";
3516
- };
3517
- function aa(r, t, n) {
3518
- var i = r[n];
3519
- yt(t) && yt(i) ? Sn(i, t) : r[n] = t;
3520
- }
3521
- function Sn(r) {
3522
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++)
3523
- n[i - 1] = arguments[i];
3524
- for (var l = 0, h = n; l < h.length; l++) {
3525
- var p = h[l];
3526
- if (yt(p))
3527
- for (var b in p)
3528
- oa(b) && aa(r, p[b], b);
3529
- }
3530
- return r;
3531
- }
3532
- var xn = zr.createContext();
3533
- xn.Consumer;
3534
- var ut = {};
3535
- function Rn(r, t, n) {
3536
- var i = St(r), l = !Nr(r), h = t.attrs, p = h === void 0 ? Lr : h, b = t.componentId, y = b === void 0 ? function(j, z) {
3537
- var V = typeof j != "string" ? "sc" : ct(j);
3538
- ut[V] = (ut[V] || 0) + 1;
3539
- var d = V + "-" + na("5.3.11" + V + ut[V]);
3540
- return z ? z + "-" + d : d;
3541
- }(t.displayName, t.parentComponentId) : b, x = t.displayName, R = x === void 0 ? function(j) {
3542
- return Nr(j) ? "styled." + j : "Styled(" + ht(j) + ")";
3543
- }(r) : x, P = t.displayName && t.componentId ? ct(t.displayName) + "-" + t.componentId : t.componentId || y, I = i && r.attrs ? Array.prototype.concat(r.attrs, p).filter(Boolean) : p, D = t.shouldForwardProp;
3544
- i && r.shouldForwardProp && (D = t.shouldForwardProp ? function(j, z, V) {
3545
- return r.shouldForwardProp(j, z, V) && t.shouldForwardProp(j, z, V);
3546
- } : r.shouldForwardProp);
3547
- var $, N = new Vo(n, P, i ? r.componentStyle : void 0), v = N.isStatic && p.length === 0, W = function(j, z) {
3548
- return function(V, d, ee, Ee) {
3549
- var ye = V.attrs, Ce = V.componentStyle, Ae = V.defaultProps, $e = V.foldedComponentIds, be = V.shouldForwardProp, ae = V.styledComponentId, fe = V.target, re = function(O, c, M) {
3550
- O === void 0 && (O = Xe);
3551
- var m = He({}, c, { theme: O }), H = {};
3552
- return M.forEach(function(K) {
3553
- var Z, E, ie, A = K;
3554
- for (Z in gr(A) && (A = A(m)), A)
3555
- m[Z] = H[Z] = Z === "className" ? (E = H[Z], ie = A[Z], E && ie ? E + " " + ie : E || ie) : A[Z];
3556
- }), [m, H];
3557
- }(ea(d, or.useContext(xn), Ae) || Xe, d, ye), Pe = re[0], F = re[1], de = function(O, c, M, m) {
3558
- var H = Ho(), K = Go(), Z = c ? O.generateAndInjectStyles(Xe, H, K) : O.generateAndInjectStyles(M, H, K);
3559
- return process.env.NODE_ENV !== "production" && !c && m && m(Z), Z;
3560
- }(Ce, Ee, Pe, process.env.NODE_ENV !== "production" ? V.warnTooManyClasses : void 0), Fe = ee, s = F.$as || d.$as || F.as || d.as || fe, S = Nr(s), g = F !== d ? He({}, d, {}, F) : d, _ = {};
3561
- for (var w in g)
3562
- w[0] !== "$" && w !== "as" && (w === "forwardedAs" ? _.as = g[w] : (be ? be(w, tn, s) : !S || tn(w)) && (_[w] = g[w]));
3563
- return d.style && F.style !== d.style && (_.style = He({}, d.style, {}, F.style)), _.className = Array.prototype.concat($e, ae, de !== ae ? de : null, d.className, F.className).filter(Boolean).join(" "), _.ref = Fe, or.createElement(s, _);
3564
- }($, j, z, v);
3565
- };
3566
- return W.displayName = R, ($ = zr.forwardRef(W)).attrs = I, $.componentStyle = N, $.displayName = R, $.shouldForwardProp = D, $.foldedComponentIds = i ? Array.prototype.concat(r.foldedComponentIds, r.styledComponentId) : Lr, $.styledComponentId = P, $.target = i ? r.target : r, $.withComponent = function(j) {
3567
- var z = t.componentId, V = function(ee, Ee) {
3568
- if (ee == null)
3569
- return {};
3570
- var ye, Ce, Ae = {}, $e = Object.keys(ee);
3571
- for (Ce = 0; Ce < $e.length; Ce++)
3572
- ye = $e[Ce], Ee.indexOf(ye) >= 0 || (Ae[ye] = ee[ye]);
3573
- return Ae;
3574
- }(t, ["componentId"]), d = z && z + "-" + (Nr(j) ? j : ct(ht(j)));
3575
- return Rn(j, He({}, V, { attrs: I, componentId: d }), n);
3576
- }, Object.defineProperty($, "defaultProps", { get: function() {
3577
- return this._foldedDefaultProps;
3578
- }, set: function(j) {
3579
- this._foldedDefaultProps = i ? Sn({}, r.defaultProps, j) : j;
3580
- } }), process.env.NODE_ENV !== "production" && (Qo(R, P), $.warnTooManyClasses = function(j, z) {
3581
- var V = {}, d = !1;
3582
- return function(ee) {
3583
- if (!d && (V[ee] = !0, Object.keys(V).length >= 200)) {
3584
- var Ee = z ? ' with the id of "' + z + '"' : "";
3585
- console.warn("Over 200 classes were generated for component " + j + Ee + `.
3586
- Consider using the attrs method, together with a style object for frequently changed styles.
3587
- Example:
3588
- const Component = styled.div.attrs(props => ({
3589
- style: {
3590
- background: props.background,
3591
- },
3592
- }))\`width: 100%;\`
3593
-
3594
- <Component />`), d = !0, V = {};
3595
- }
3596
- };
3597
- }(R, P)), Object.defineProperty($, "toString", { value: function() {
3598
- return "." + $.styledComponentId;
3599
- } }), l && wo($, r, { attrs: !0, componentStyle: !0, displayName: !0, foldedComponentIds: !0, shouldForwardProp: !0, styledComponentId: !0, target: !0, withComponent: !0 }), $;
3600
- }
3601
- var gt = function(r) {
3602
- return function t(n, i, l) {
3603
- if (l === void 0 && (l = Xe), !_t.isValidElementType(i))
3604
- return lr(1, String(i));
3605
- var h = function() {
3606
- return n(i, l, Ze.apply(void 0, arguments));
3607
- };
3608
- return h.withConfig = function(p) {
3609
- return t(n, i, He({}, l, {}, p));
3610
- }, h.attrs = function(p) {
3611
- return t(n, i, He({}, l, { attrs: Array.prototype.concat(l.attrs, p).filter(Boolean) }));
3612
- }, h;
3613
- }(Rn, r);
3614
- };
3615
- ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "textPath", "tspan"].forEach(function(r) {
3616
- gt[r] = gt(r);
3617
- });
3618
- process.env.NODE_ENV !== "production" && typeof navigator < "u" && navigator.product === "ReactNative" && console.warn(`It looks like you've imported 'styled-components' on React Native.
3619
- Perhaps you're looking to import 'styled-components/native'?
3620
- Read more about this at https://www.styled-components.com/docs/basics#react-native`), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window["__styled-components-init__"] = window["__styled-components-init__"] || 0, window["__styled-components-init__"] === 1 && console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
3621
-
3622
- See https://s-c.sh/2BAXzed for more info.`), window["__styled-components-init__"] += 1);
3623
- const Je = gt;
3624
- var Vr;
3625
- ((r) => {
3626
- ((t) => {
3627
- t.outline = "outline", t.filled = "filled", t.light = "light", t.subtle = "subtle";
3628
- })(r.Variant || (r.Variant = {})), ((t) => {
3629
- t[t.primary = 0] = "primary", t[t.secondary = 1] = "secondary", t[t.error = 2] = "error", t[t.success = 3] = "success", t[t.warning = 4] = "warning", t[t.tertiary = 5] = "tertiary";
3630
- })(r.ButtonEnum || (r.ButtonEnum = {}));
3631
- })(Vr || (Vr = {}));
3632
- const ia = (r, t, n) => {
3633
- const { buttonColors: i, disabledColors: l, hoverColors: h, focusColors: p } = t, b = i[r], y = l[r], x = h[r], R = p[r];
3634
- return !n && r && r in i ? Ze`
3635
- background-color: ${b};
3636
- :hover {
3637
- background-color: ${x};
3638
- }
3639
-
3640
- :focus {
3641
- box-shadow: 0px 0px 0px 4px ${R};
3642
- }
3643
- ` : Ze`
3644
- background-color: ${y};
3645
- :hover {
3646
- background-color: ${x};
3647
- }
3648
-
3649
- :focus {
3650
- box-shadow: 0px 0px 0px 4px ${R};
3651
- }
3652
- `;
3653
- }, sa = (r, t, n) => {
3654
- const { buttonColors: i, disabledColors: l, hoverColors: h, focusColors: p } = t, b = i[r], y = l[r], x = h[r], R = p[r];
3655
- return !n && r && r in i ? Ze`
3656
- background-color: transparent;
3657
- border: 1px solid;
3658
- color: ${b};
3659
- border-color: color;
3660
- :hover {
3661
- background-color: ${x};
3662
- }
3663
-
3664
- :focus {
3665
- box-shadow: 0px 0px 0px 4px ${R};
3666
- }
3667
- ` : Ze`
3668
- background-color: transparent;
3669
- border: 1px solid;
3670
- color: ${y};
3671
- border-color: ${y};
3672
- :hover {
3673
- background-color: ${x};
3674
- }
3675
-
3676
- :focus {
3677
- box-shadow: 0px 0px 0px 4px ${R};
3678
- }
3679
- `;
3680
- }, ca = (r) => {
3681
- const {
3682
- buttontype: t,
3683
- disabled: n,
3684
- variant: i,
3685
- theme: {
3686
- secondary: { secondary100: l, secondary30: h, secondary90: p },
3687
- grey: { greyHigh: b, greyLow: y, greyMedium: x, grey5: R },
3688
- success: { successDark: P, successMedium: I },
3689
- error: { errorHigh: D, errorLow: $ },
3690
- warning: { warningHigh: N, warningLow: v, warningMedium: W },
3691
- tertiary: { tertiary100: j, tertiary30: z, tertiary90: V },
3692
- green: { green5: d },
3693
- red: { red050: ee }
3694
- }
3695
- } = r, $e = {
3696
- buttonColors: {
3697
- primary: l,
3698
- tertiary: j,
3699
- secondary: b,
3700
- error: D,
3701
- success: P,
3702
- warning: N
3703
- },
3704
- disabledColors: {
3705
- primary: h,
3706
- tertiary: z,
3707
- secondary: y,
3708
- error: $,
3709
- success: I,
3710
- warning: v
3711
- },
3712
- hoverColors: {
3713
- primary: p,
3714
- tertiary: V,
3715
- secondary: x,
3716
- error: $,
3717
- success: I,
3718
- warning: W
3719
- },
3720
- focusColors: {
3721
- primary: h,
3722
- tertiary: R,
3723
- secondary: y,
3724
- error: ee,
3725
- success: d,
3726
- warning: v
3727
- }
3728
- };
3729
- if (i === Vr.Variant.filled)
3730
- return ia(t, $e, n);
3731
- if (i === Vr.Variant.outline)
3732
- return sa(t, $e, n);
3733
- }, bt = {
3734
- subtitle: `
3735
- font-weight: 400;
3736
- font-size: 24px;
3737
- line-height: 32px;
3738
- letter-spacing: 0.5px;
3739
- `,
3740
- subtitle2: `
3741
- font-weight: 400;
3742
- font-size: 20px;
3743
- line-height: 28px;
3744
- letter-spacing: 0.5px;
3745
- `,
3746
- body: `
3747
- font-weight: 400;
3748
- font-size: 16px;
3749
- line-height: 24px;
3750
- `,
3751
- bodyEm: `
3752
- font-weight: 500;
3753
- font-size: 16px;
3754
- line-height: 20px;
3755
- `,
3756
- bodySm: `
3757
- font-weight: 400;
3758
- font-size: 14px;
3759
- line-height: 20px;
3760
- `,
3761
- button: `
3762
- font-style: normal;
3763
- font-weight: 400;
3764
- font-size: 16px;
3765
- line-height: 24px;
3766
- letter-spacing: 2px;
3767
- text-transform: capitalize;
3768
- `,
3769
- prefix: `
3770
- font-weight: 400;
3771
- font-size: 12px;
3772
- line-height: 16px;
3773
- letter-spacing: 2px;
3774
- text-transform: uppercase;
3775
- `,
3776
- caption: `
3777
- font-weight: 400;
3778
- font-size: 12px;
3779
- line-height: 16px;
3780
- `,
3781
- link: `
3782
- font-weight: 400;
3783
- font-size: 14px;
3784
- line-height: 20px;
3785
- letter-spacing: 1px;
3786
- text-decoration-line: underline;
3787
- `
3788
- }, ua = (r) => {
3789
- const { category: t } = r;
3790
- return t ? bt[t] : bt.body;
3791
- }, la = Je.div`
3792
- ${({ disabled: r, variant: t, theme: n, cursor: i, ...l }) => Ze`
3793
- border-radius: 8px;
3794
- cursor: ${r ? "not-allowed" : i || "pointer"};
3795
- button {
3796
- display: flex;
3797
- justify-content: center;
3798
- align-items: center;
3799
- padding: 12px 24px;
3800
- min-width: 160px;
3801
- width: 100%;
3802
- transition: all 0.2s ease-in-out;
3803
- border: 0;
3804
- border-radius: 8px;
3805
- color: ${n.white.white};
3806
- background-color: ${n.secondary.secondary100};
3807
- height: 40px;
3808
- user-select: none;
3809
- cursor: ${r ? "not-allowed" : i || "pointer"};
3810
- outline: none;
3811
-
3812
- ${ca({ disabled: r, variant: t, theme: n, ...l })}
3813
- p {
3814
- font-family: 'Poppins', sans-serif;
3815
- ${bt.button}
3816
- }
3817
-
3818
- ${t === "outline" && `&:hover {
3819
- p {
3820
- color:white;
3821
- }
3822
- }`}
3823
- }
3824
- `}
3825
- `, Ea = (r) => {
3826
- const {
3827
- label: t = "Button Label",
3828
- buttontype: n = "primary",
3829
- disabled: i = !1,
3830
- position: l,
3831
- icon: h,
3832
- onClick: p,
3833
- variant: b = "filled",
3834
- ...y
3835
- } = r, x = (R) => {
3836
- i || p && p(R);
3837
- };
3838
- return /* @__PURE__ */ ke.jsx(
3839
- la,
3840
- {
3841
- buttontype: n,
3842
- disabled: i,
3843
- variant: b,
3844
- children: /* @__PURE__ */ ke.jsx(
3845
- "button",
3846
- {
3847
- onClick: (R) => x(R),
3848
- disabled: i,
3849
- ...y,
3850
- children: /* @__PURE__ */ ke.jsx("p", { children: t })
3851
- }
3852
- )
3853
- }
3854
- );
3855
- };
3856
- function _a({
3857
- options: r,
3858
- activeStep: t,
3859
- onStepChange: n,
3860
- direction: i,
3861
- hasBottom: l,
3862
- bottomOptions: h
3863
- }) {
3864
- return /* @__PURE__ */ ke.jsxs(fa, { hasBottom: l, direction: i, children: [
3865
- /* @__PURE__ */ ke.jsx("div", { className: "stepper-options", children: r && r.map((p) => {
3866
- const { id: b, icon: y } = p, x = t === b;
3867
- return /* @__PURE__ */ ke.jsx(ke.Fragment, { children: /* @__PURE__ */ ke.jsxs(
3868
- "div",
3869
- {
3870
- "data-data-active": x ? "true" : "false",
3871
- onClick: () => {
3872
- n(b);
3873
- },
3874
- className: "stepper-options__option",
3875
- children: [
3876
- y,
3877
- p.hasAlert && /* @__PURE__ */ ke.jsx("div", { className: `stepper-alert ${b}`, children: /* @__PURE__ */ ke.jsx(
3878
- "svg",
3879
- {
3880
- xmlns: "http://www.w3.org/2000/svg",
3881
- width: "13",
3882
- height: "13",
3883
- viewBox: "0 0 14 14",
3884
- fill: "none",
3885
- children: /* @__PURE__ */ ke.jsx(
3886
- "path",
3887
- {
3888
- d: "M6.99992 0.333252C3.31992 0.333252 0.333252 3.31992 0.333252 6.99992C0.333252 10.6799 3.31992 13.6666 6.99992 13.6666C10.6799 13.6666 13.6666 10.6799 13.6666 6.99992C13.6666 3.31992 10.6799 0.333252 6.99992 0.333252ZM7.66659 10.3333H6.33325V8.99992H7.66659V10.3333ZM7.66659 7.66659H6.33325V3.66659H7.66659V7.66659Z",
3889
- fill: "#E53935"
3890
- }
3891
- )
3892
- }
3893
- ) })
3894
- ]
3895
- },
3896
- b
3897
- ) });
3898
- }) }),
3899
- l && /* @__PURE__ */ ke.jsx("div", { className: "stepper-bottom", children: h && h.map((p) => {
3900
- const { id: b, icon: y } = p;
3901
- return /* @__PURE__ */ ke.jsx(
3902
- "div",
3903
- {
3904
- onClick: () => {
3905
- n(b);
3906
- },
3907
- className: "stepper-options__option bottom",
3908
- children: y
3909
- },
3910
- b
3911
- );
3912
- }) })
3913
- ] });
3914
- }
3915
- const fa = Je.div`
3916
- display: flex;
3917
- height:100%;
3918
- flex-direction: ${(r) => `
3919
- ${r.direction === "row" ? "row" : "column"};`};
3920
-
3921
- .stepper-bottom {
3922
- display: flex;
3923
- align-items: center;
3924
- justify-content: space-between;
3925
- flex: 1;
3926
- bottom: 0px;
3927
- background-color: transparent;
3928
- height:100px;
3929
-
3930
- ${(r) => Ze`
3931
- flex-direction: ${r.direction && r.direction && r.direction === "row" ? "row" : "column"};
3932
- align-items: center;
3933
- ${r.hasBottom && "justify-content:flex-end;"}
3934
- border-left-style: solid;
3935
- border-left-width: 1px;
3936
- border-color: #e5e5e5;
3937
- padding: ${r.direction === "row" ? "0px 15px" : "15px 0px"};
3938
- `}
3939
-
3940
- .bottom {
3941
- display: flex;
3942
- align-items: center;
3943
- justify-content: center;
3944
- width: 48px;
3945
- height: 48px;
3946
- border-radius: 5px;
3947
- background-color: transparent;
3948
- cursor: pointer;
3949
- margin: ${(r) => r.direction === "row" ? "0px 5px 0px 5px" : "5px 0px 5px 0px"};
3950
- svg {
3951
- width: 17px;
3952
- height: 17px;
3953
- fill: black;
3954
- }
3955
-
3956
- &:hover {
3957
- background-color: #E0E0E0;
3958
- svg {
3959
- width: 17px;
3960
- height: 17px;
3961
- fill: black;
3962
- }
3963
- }
3964
- }
3965
- .active {
3966
- background-color: #f4f5f9;
3967
- svg {
3968
- width: 20px;
3969
- height: 20px;
3970
- fill: black;
3971
- }
3972
- }
3973
- }
3974
-
3975
- &__option {
3976
- display: flex;
3977
- align-items: center;
3978
- justify-content: center;
3979
- width: 48px;
3980
- height: 48px;
3981
- border-radius: 5px;
3982
- background-color: transparent;
3983
- cursor: pointer;
3984
- margin: ${(r) => r.direction === "row" ? "0px 5px 0px 5px" : "5px 0px 5px 0px"};
3985
- svg {
3986
- width: 20px;
3987
- height: 20px;
3988
- fill: black;
3989
- }
3990
-
3991
- &[data-active="true"] {
3992
- background-color: #ECC537;
3993
- svg {
3994
- width: 20px;
3995
- height: 20px;
3996
- fill: white;
3997
- }
3998
- }
3999
-
4000
- &:hover {
4001
- background-color: #ECC537;
4002
- svg {
4003
- width: 20px;
4004
- height: 20px;
4005
- fill: white;
4006
- }
4007
- }
4008
- }
4009
- .active {
4010
- background-color: #ECC537;
4011
- svg {
4012
- width: 20px;
4013
- height: 20px;
4014
- fill: white;
4015
- }
4016
- }
4017
- }
4018
-
4019
- .stepper-alert {
4020
- position:absolute;
4021
- margin-right:-30px;
4022
- margin-top:-10px;
4023
- }
4024
-
4025
- .stepper-options {
4026
- display: flex;
4027
- flex: 1;
4028
- background-color: white;
4029
-
4030
- ${(r) => Ze`
4031
- flex-direction: ${r.direction && r.direction && r.direction === "row" ? "row" : "column"};
4032
- align-items: center;
4033
- border-left-style: solid;
4034
- border-left-width: 1px;
4035
- border-color: #e5e5e5;
4036
- padding: ${r.direction === "row" ? "0px 15px" : "15px 0px"};
4037
- min-width: ${r.direction === "row" ? "400px" : "85px"};
4038
- min-height: ${r.direction === "row" ? "85px" : "400px"};
4039
- `}
4040
-
4041
- &__option {
4042
- display: flex;
4043
- align-items: center;
4044
- justify-content: center;
4045
- width: 48px;
4046
- height: 48px;
4047
- border-radius: 5px;
4048
- background-color: transparent;
4049
- cursor: pointer;
4050
- margin: ${(r) => r.direction === "row" ? "0px 5px 0px 5px" : "5px 0px 5px 0px"};
4051
- svg {
4052
- width: 20px;
4053
- height: 20px;
4054
- fill: black;
4055
- }
4056
-
4057
- &[data-active="true"] {
4058
- background-color: #ECC537;
4059
- svg {
4060
- width: 20px;
4061
- height: 20px;
4062
- fill: white;
4063
- }
4064
- }
4065
-
4066
- &:hover {
4067
- background-color: #ECC537;
4068
- svg {
4069
- width: 20px;
4070
- height: 20px;
4071
- fill: white;
4072
- }
4073
- }
4074
- }
4075
- .active {
4076
- background-color: #ECC537;
4077
- svg {
4078
- width: 20px;
4079
- height: 20px;
4080
- fill: white;
4081
- }
4082
- }
4083
- }
4084
- `, da = (r, t, n) => t === "success" ? r.success.successDark : t === "error" ? r.error.errorMedium : n || r.text.primary, pa = Je.p`
4085
- color: ${({ type: r, theme: t, color: n }) => da(t, r, n)};
4086
- font-family: 'Poppins', sans-serif;
4087
- ${(r) => ua(r)}
4088
- ${(r) => r.type === "error" && "font-size:14px;"}
4089
- `, ha = (r) => {
4090
- const { category: t = "body", onClick: n, children: i, ...l } = r;
4091
- return /* @__PURE__ */ ke.jsx(
4092
- pa,
4093
- {
4094
- onClick: (h) => n && n(h),
4095
- category: t,
4096
- ...l,
4097
- children: i
4098
- }
4099
- );
4100
- }, va = {
4101
- primary: {
4102
- primary100: "#0B1B2A",
4103
- primary90: "#1C2E40",
4104
- primary80: "#2A4055",
4105
- primary70: "#39526B",
4106
- primary60: "#455F7B",
4107
- primary50: "#5F758F",
4108
- primary40: "#455F7B",
4109
- primary30: "#9CACC0",
4110
- primary20: "#C0CEDE",
4111
- primary10: "#E4EBF8",
4112
- primary5: "#F9FAFD"
4113
- },
4114
- secondary: {
4115
- secondary100: "#103FE8",
4116
- secondary90: "#2852EA",
4117
- secondary80: "#4065ED",
4118
- secondary70: "#5879EF",
4119
- secondary60: "#708CF1",
4120
- secondary50: "#889FF4",
4121
- secondary40: "#9FB2F6",
4122
- secondary30: "#B7C5F8",
4123
- secondary20: "#CFD9FA",
4124
- secondary10: "#E7ECFD",
4125
- secondary5: "#F3F5FE"
4126
- },
4127
- tertiary: {
4128
- tertiary100: "#174189",
4129
- tertiary90: "#2E5495",
4130
- tertiary80: "#4567A1",
4131
- tertiary70: "#5D7AAC",
4132
- tertiary60: "#748DB8",
4133
- tertiary50: "#8BA0C4",
4134
- tertiary40: "#A2B3D0",
4135
- tertiary30: "#B9C6DC",
4136
- tertiary20: "#D1D9E7",
4137
- tertiary10: "#E8ECF3",
4138
- tertiary5: "#F3F5F9"
4139
- },
4140
- accent: {
4141
- accent500: "#BD9E2C",
4142
- accent100: "#ECC537",
4143
- accent50: "#F4DC87"
4144
- },
4145
- link: {
4146
- linkHigh: "#002C99",
4147
- linkMedium: "#0053CB",
4148
- linkLow: "#5D7FFF"
4149
- },
4150
- error: {
4151
- errorHigh: "#AB000D",
4152
- errorMedium: "#E53935",
4153
- errorLow: "#FF6F60"
4154
- },
4155
- success: {
4156
- successDark: "#009624",
4157
- successMedium: "#00C853",
4158
- successLow: "#5EFC82"
4159
- },
4160
- black: {
4161
- blackHigh: "#212121",
4162
- blackMedium: "#666666",
4163
- blackLow: "#757575",
4164
- black: "#000000"
4165
- },
4166
- white: {
4167
- white: "#FFFFFF"
4168
- },
4169
- grey: {
4170
- grey5: "##F9FAFD",
4171
- grey20: "#C0CEDE",
4172
- grey30: "#9CACC0",
4173
- grey90: "#1C2E40",
4174
- greyHigh: "#C2C2C2",
4175
- greyMedium: "#E5E5E5",
4176
- greyLow: "#F5F5F5"
4177
- },
4178
- warning: {
4179
- warningHigh: "#C67100",
4180
- warningMedium: "#FFA000",
4181
- warningLow: "#FFD149"
4182
- },
4183
- disabled: {
4184
- disabledHigh: "#B1B1B1",
4185
- disabledMedium: "#CFCFCF",
4186
- disabledLow: "#ECECEC"
4187
- },
4188
- text: {
4189
- primary: "#24292E"
4190
- },
4191
- input: {
4192
- focused: "0px 0px 0px 4px rgba(16, 63, 232, 0.25)",
4193
- focusedShadow: "0px 0px 0px 4px rgba(16, 63, 232, 0.25)",
4194
- focusedShadowError: " 0px 0px 0px 4px rgba(239, 68, 68, 0.25)"
4195
- },
4196
- green: {
4197
- green40: "#2DA170",
4198
- green5: "#F1FAF4"
4199
- },
4200
- blue: {
4201
- blue5: "#F6F8FE"
4202
- },
4203
- red: {
4204
- red050: "#FDF2F2"
4205
- },
4206
- scrollbar: {
4207
- track: "#F2F5FA",
4208
- thumb: "#9CACC0"
4209
- }
4210
- }, Tn = {
4211
- ...va
4212
- };
4213
- Je.div`
4214
- display: flex;
4215
- width: 100%;
4216
- `;
4217
- const ma = Je.div`
4218
- /* Fading animation */
4219
- .fade {
4220
- animation-name: fade;
4221
- animation-duration: 1.5s;
4222
- }
4223
-
4224
- @keyframes fade {
4225
- from {
4226
- opacity: 0.4;
4227
- }
4228
- to {
4229
- opacity: 1;
4230
- }
4231
- }
4232
- `, ya = Je.div`
4233
- position: relative;
4234
- /* Caption text */
4235
- .slide {
4236
- h4 {
4237
- width: ${(r) => r.contentWidth}%;
4238
- color: ${Tn.primary.primary100};
4239
- margin-bottom: 24px;
4240
- }
4241
- p {
4242
- width: ${(r) => r.contentWidth}%;
4243
- min-height: 100px;
4244
- }
4245
- }
4246
- `, ga = {
4247
- left: "flex-start",
4248
- center: "center",
4249
- right: "flex-end"
4250
- }, ba = Je.div`
4251
- display: flex;
4252
- justify-content: ${(r) => ga[r.dotsAlignment]};
4253
- align-content: center;
4254
- .dot {
4255
- cursor: pointer;
4256
- height: 8px;
4257
- width: 8px;
4258
- margin-left: 10px;
4259
- margin-right: 5px;
4260
- background-color: ${(r) => r.dotsBackgroundColor};
4261
- border-radius: 5px;
4262
- display: inline-block;
4263
- transition: background-color 0.6s ease;
4264
- }
4265
-
4266
- .active {
4267
- width: 20px;
4268
- }
4269
-
4270
- .active,
4271
- .dot:hover {
4272
- background-color: ${(r) => r.dotsActiveColor};
4273
- }
4274
- `;
4275
- Je.div`
4276
- margin-top: 24px;
4277
- `;
4278
- const wa = (r) => {
4279
- const {
4280
- autoPlay: t,
4281
- content: n,
4282
- interval: i,
4283
- contentWidth: l = 65,
4284
- dotsAlignment: h = "left",
4285
- dotsActiveColor: p = "red",
4286
- dotsBackgroundColor: b = "red"
4287
- } = r;
4288
- let y = 1;
4289
- const x = (I) => {
4290
- P(y += I);
4291
- }, R = (I) => {
4292
- P(y = I);
4293
- }, P = (I) => {
4294
- let D;
4295
- const $ = document.getElementsByClassName("mySlides"), N = document.getElementsByClassName("dot");
4296
- for (I > $.length && (y = 1), I < 1 && (y = $.length), D = 0; D < $.length; D++)
4297
- $[D].style.display = "none";
4298
- for (D = 0; D < N.length; D++)
4299
- N[D].className = N[D].className.replace(" active", "");
4300
- $[y - 1].style.display = "block", N[y - 1].className += " active";
4301
- };
4302
- return or.useEffect(() => {
4303
- if (P(y), t) {
4304
- const I = setInterval(() => {
4305
- x(1);
4306
- }, i);
4307
- return () => {
4308
- clearInterval(I);
4309
- };
4310
- }
4311
- }, [
4312
- t,
4313
- i,
4314
- l,
4315
- h,
4316
- p,
4317
- b
4318
- ]), /* @__PURE__ */ ke.jsxs(ma, { children: [
4319
- /* @__PURE__ */ ke.jsx(ya, { contentWidth: l, children: n.map((I, D) => /* @__PURE__ */ ke.jsx("div", { className: "mySlides fade", children: /* @__PURE__ */ ke.jsxs("div", { className: "slide", children: [
4320
- /* @__PURE__ */ ke.jsx("h4", { children: I.titleText }),
4321
- /* @__PURE__ */ ke.jsx(ha, { category: "bodySm", color: Tn.primary.primary60, children: I.description })
4322
- ] }) }, D + 1)) }),
4323
- /* @__PURE__ */ ke.jsx(
4324
- ba,
4325
- {
4326
- dotsAlignment: h,
4327
- dotsActiveColor: p,
4328
- dotsBackgroundColor: b,
4329
- children: n.map((I, D) => /* @__PURE__ */ ke.jsx(
4330
- "span",
4331
- {
4332
- className: "dot",
4333
- onClick: () => R(D + 1)
4334
- },
4335
- D + 1
4336
- ))
4337
- }
4338
- )
4339
- ] });
4340
- };
4341
- export {
4342
- Ea as Button,
4343
- wa as Slider,
4344
- _a as Stepper
4345
- };