@yourdash/uikit 1.0.34 → 1.0.35

Sign up to get free protection for your applications and to get access to all the features.
Files changed (99) hide show
  1. package/dist/assets/box.css +4 -0
  2. package/dist/assets/button.css +4 -0
  3. package/dist/assets/buttonCombo.css +4 -0
  4. package/dist/assets/buttonLink.css +4 -0
  5. package/dist/assets/buttonWithIcon.css +4 -0
  6. package/dist/assets/card.css +4 -0
  7. package/dist/assets/carousel.css +4 -0
  8. package/dist/assets/container.css +4 -0
  9. package/dist/assets/contextMenuRoot.css +4 -0
  10. package/dist/assets/dialog.css +4 -0
  11. package/dist/assets/flex.css +4 -0
  12. package/dist/assets/header.css +7 -0
  13. package/dist/assets/heading.css +4 -0
  14. package/dist/assets/icon.css +4 -0
  15. package/dist/assets/iconButton.css +4 -0
  16. package/dist/assets/image.css +4 -0
  17. package/dist/assets/infiniteScroll.css +7 -0
  18. package/dist/assets/level.css +4 -0
  19. package/dist/assets/link.css +4 -0
  20. package/dist/assets/navBar.css +4 -0
  21. package/dist/assets/navImage.css +4 -0
  22. package/dist/assets/onBoarding.css +4 -0
  23. package/dist/assets/separator.css +4 -0
  24. package/dist/assets/sidebar.css +4 -0
  25. package/dist/assets/sidebarContainer.css +4 -0
  26. package/dist/assets/spinner.css +4 -0
  27. package/dist/assets/subtext.css +4 -0
  28. package/dist/assets/tag.css +4 -0
  29. package/dist/assets/textButton.css +4 -0
  30. package/dist/assets/textInput.css +4 -0
  31. package/dist/assets/toasts.css +4 -0
  32. package/dist/clippy-B98VypDQ.js +20 -0
  33. package/dist/components/box/box.js +13 -0
  34. package/dist/components/button/button.js +18 -0
  35. package/dist/components/buttonCombo/buttonCombo.js +8 -0
  36. package/dist/components/buttonLink/buttonLink.js +21 -0
  37. package/dist/components/buttonWithIcon/buttonWithIcon.js +29 -0
  38. package/dist/components/card/card.js +42 -0
  39. package/dist/components/container/container.js +13 -0
  40. package/dist/components/contextMenu/contextMenu.js +27 -0
  41. package/dist/components/contextMenu/contextMenuRoot.js +60 -0
  42. package/dist/components/contextMenu/contextMenuRootContext.js +11 -0
  43. package/dist/components/flex/flex.js +26 -0
  44. package/dist/components/heading/heading.js +29 -0
  45. package/dist/components/icon/icon.js +28 -0
  46. package/dist/components/icon/iconDictionary.js +287 -0
  47. package/dist/components/iconButton/iconButton.js +24 -0
  48. package/dist/components/image/image.js +56 -0
  49. package/dist/components/index.js +48 -0
  50. package/dist/components/link/link.js +26 -0
  51. package/dist/components/progressBar/progressBar.js +20 -0
  52. package/dist/components/redirect/redirect.js +11 -0
  53. package/dist/components/separator/separator.js +11 -0
  54. package/dist/components/spinner/spinner.js +30 -0
  55. package/dist/components/subtext/subtext.js +9 -0
  56. package/dist/components/tag/tag.js +15 -0
  57. package/dist/components/text/text.js +8 -0
  58. package/dist/components/textButton/textButton.js +16 -0
  59. package/dist/components/textInput/textInput.js +43 -0
  60. package/dist/core/decrementLevel.js +6 -0
  61. package/dist/core/incrementLevel.js +6 -0
  62. package/dist/core/index.js +10 -0
  63. package/dist/core/level.js +7 -0
  64. package/dist/core/remToPx.js +6 -0
  65. package/dist/core/root.js +19 -0
  66. package/dist/core/toasts/toast.js +1 -0
  67. package/dist/core/toasts/toastAction.js +1 -0
  68. package/dist/core/toasts/toastContext.js +9 -0
  69. package/dist/core/toasts/toasts.js +93 -0
  70. package/dist/core/toasts/useToast.js +13 -0
  71. package/dist/index-BJy4nmTN.js +52 -0
  72. package/dist/index-BoiKlAEs.js +30 -0
  73. package/dist/index-C9QO6nHU.js +10 -0
  74. package/dist/index-D4kASGu5.js +240 -0
  75. package/dist/index-Dj6g5px3.js +14 -0
  76. package/dist/level-o2-EzyQS.js +28 -0
  77. package/dist/server-error-lFyIkIwC.js +4 -0
  78. package/dist/uikit.js +8 -3764
  79. package/dist/utilityComponent/hasBeenShown/hasBeenShown.js +23 -0
  80. package/dist/utilityComponent/index.js +6 -0
  81. package/dist/utilityComponent/onInView/onInView.js +54 -0
  82. package/dist/views/carousel/carousel.js +102 -0
  83. package/dist/views/dialog/dialog.js +18 -0
  84. package/dist/views/header/header.js +21 -0
  85. package/dist/views/index.js +26 -0
  86. package/dist/views/infiniteScroll/infiniteScroll.js +62 -0
  87. package/dist/views/navBar/components/navImage/navImage.js +15 -0
  88. package/dist/views/navBar/components/navTitle/navTitle.js +12 -0
  89. package/dist/views/navBar/navBar.js +36 -0
  90. package/dist/views/onBoarding/onBoarding.js +125 -0
  91. package/dist/views/panAndZoom/panAndZoom.js +74 -0
  92. package/dist/views/sidebar/sidebar.js +24 -0
  93. package/dist/views/sidebar/sidebarContainer.js +34 -0
  94. package/dist/views/sidebar/sidebarContext.js +13 -0
  95. package/dist/views/sidebar/sidebarToggleButton.js +21 -0
  96. package/package.json +39 -29
  97. package/dist/defaultTheme.module.scss +0 -361
  98. package/dist/style.css +0 -10
  99. package/dist/themeValues.scss +0 -49
package/dist/uikit.js CHANGED
@@ -1,3766 +1,10 @@
1
- function Qn(t) {
2
- return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3
- }
4
- var Cr = { exports: {} }, gt = {}, xr = { exports: {} }, O = {};
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 en;
15
- function Zn() {
16
- if (en) return O;
17
- en = 1;
18
- var t = Symbol.for("react.element"), o = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), p = Symbol.for("react.profiler"), h = Symbol.for("react.provider"), g = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), N = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), k = Symbol.iterator;
19
- function q(a) {
20
- return a === null || typeof a != "object" ? null : (a = k && a[k] || a["@@iterator"], typeof a == "function" ? a : null);
21
- }
22
- var Z = { isMounted: function() {
23
- return !1;
24
- }, enqueueForceUpdate: function() {
25
- }, enqueueReplaceState: function() {
26
- }, enqueueSetState: function() {
27
- } }, A = Object.assign, ie = {};
28
- function ee(a, d, P) {
29
- this.props = a, this.context = d, this.refs = ie, this.updater = P || Z;
30
- }
31
- ee.prototype.isReactComponent = {}, ee.prototype.setState = function(a, d) {
32
- if (typeof a != "object" && typeof a != "function" && a != null) throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
33
- this.updater.enqueueSetState(this, a, d, "setState");
34
- }, ee.prototype.forceUpdate = function(a) {
35
- this.updater.enqueueForceUpdate(this, a, "forceUpdate");
36
- };
37
- function ae() {
38
- }
39
- ae.prototype = ee.prototype;
40
- function M(a, d, P) {
41
- this.props = a, this.context = d, this.refs = ie, this.updater = P || Z;
42
- }
43
- var se = M.prototype = new ae();
44
- se.constructor = M, A(se, ee.prototype), se.isPureReactComponent = !0;
45
- var te = Array.isArray, Y = Object.prototype.hasOwnProperty, oe = { current: null }, me = { key: !0, ref: !0, __self: !0, __source: !0 };
46
- function xe(a, d, P) {
47
- var D, F = {}, H = null, z = null;
48
- if (d != null) for (D in d.ref !== void 0 && (z = d.ref), d.key !== void 0 && (H = "" + d.key), d) Y.call(d, D) && !me.hasOwnProperty(D) && (F[D] = d[D]);
49
- var W = arguments.length - 2;
50
- if (W === 1) F.children = P;
51
- else if (1 < W) {
52
- for (var B = Array(W), re = 0; re < W; re++) B[re] = arguments[re + 2];
53
- F.children = B;
54
- }
55
- if (a && a.defaultProps) for (D in W = a.defaultProps, W) F[D] === void 0 && (F[D] = W[D]);
56
- return { $$typeof: t, type: a, key: H, ref: z, props: F, _owner: oe.current };
57
- }
58
- function Ae(a, d) {
59
- return { $$typeof: t, type: a.type, key: d, ref: a.ref, props: a.props, _owner: a._owner };
60
- }
61
- function Fe(a) {
62
- return typeof a == "object" && a !== null && a.$$typeof === t;
63
- }
64
- function dt(a) {
65
- var d = { "=": "=0", ":": "=2" };
66
- return "$" + a.replace(/[=:]/g, function(P) {
67
- return d[P];
68
- });
69
- }
70
- var Le = /\/+/g;
71
- function fe(a, d) {
72
- return typeof a == "object" && a !== null && a.key != null ? dt("" + a.key) : d.toString(36);
73
- }
74
- function pe(a, d, P, D, F) {
75
- var H = typeof a;
76
- (H === "undefined" || H === "boolean") && (a = null);
77
- var z = !1;
78
- if (a === null) z = !0;
79
- else switch (H) {
80
- case "string":
81
- case "number":
82
- z = !0;
83
- break;
84
- case "object":
85
- switch (a.$$typeof) {
86
- case t:
87
- case o:
88
- z = !0;
89
- }
90
- }
91
- if (z) return z = a, F = F(z), a = D === "" ? "." + fe(z, 0) : D, te(F) ? (P = "", a != null && (P = a.replace(Le, "$&/") + "/"), pe(F, d, P, "", function(re) {
92
- return re;
93
- })) : F != null && (Fe(F) && (F = Ae(F, P + (!F.key || z && z.key === F.key ? "" : ("" + F.key).replace(Le, "$&/") + "/") + a)), d.push(F)), 1;
94
- if (z = 0, D = D === "" ? "." : D + ":", te(a)) for (var W = 0; W < a.length; W++) {
95
- H = a[W];
96
- var B = D + fe(H, W);
97
- z += pe(H, d, P, B, F);
98
- }
99
- else if (B = q(a), typeof B == "function") for (a = B.call(a), W = 0; !(H = a.next()).done; ) H = H.value, B = D + fe(H, W++), z += pe(H, d, P, B, F);
100
- else if (H === "object") throw d = String(a), Error("Objects are not valid as a React child (found: " + (d === "[object Object]" ? "object with keys {" + Object.keys(a).join(", ") + "}" : d) + "). If you meant to render a collection of children, use an array instead.");
101
- return z;
102
- }
103
- function ce(a, d, P) {
104
- if (a == null) return a;
105
- var D = [], F = 0;
106
- return pe(a, D, "", "", function(H) {
107
- return d.call(P, H, F++);
108
- }), D;
109
- }
110
- function ye(a) {
111
- if (a._status === -1) {
112
- var d = a._result;
113
- d = d(), d.then(function(P) {
114
- (a._status === 0 || a._status === -1) && (a._status = 1, a._result = P);
115
- }, function(P) {
116
- (a._status === 0 || a._status === -1) && (a._status = 2, a._result = P);
117
- }), a._status === -1 && (a._status = 0, a._result = d);
118
- }
119
- if (a._status === 1) return a._result.default;
120
- throw a._result;
121
- }
122
- var b = { current: null }, be = { transition: null }, Me = { ReactCurrentDispatcher: b, ReactCurrentBatchConfig: be, ReactCurrentOwner: oe };
123
- function Ee() {
124
- throw Error("act(...) is not supported in production builds of React.");
125
- }
126
- return O.Children = { map: ce, forEach: function(a, d, P) {
127
- ce(a, function() {
128
- d.apply(this, arguments);
129
- }, P);
130
- }, count: function(a) {
131
- var d = 0;
132
- return ce(a, function() {
133
- d++;
134
- }), d;
135
- }, toArray: function(a) {
136
- return ce(a, function(d) {
137
- return d;
138
- }) || [];
139
- }, only: function(a) {
140
- if (!Fe(a)) throw Error("React.Children.only expected to receive a single React element child.");
141
- return a;
142
- } }, O.Component = ee, O.Fragment = u, O.Profiler = p, O.PureComponent = M, O.StrictMode = l, O.Suspense = C, O.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Me, O.act = Ee, O.cloneElement = function(a, d, P) {
143
- if (a == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + ".");
144
- var D = A({}, a.props), F = a.key, H = a.ref, z = a._owner;
145
- if (d != null) {
146
- if (d.ref !== void 0 && (H = d.ref, z = oe.current), d.key !== void 0 && (F = "" + d.key), a.type && a.type.defaultProps) var W = a.type.defaultProps;
147
- for (B in d) Y.call(d, B) && !me.hasOwnProperty(B) && (D[B] = d[B] === void 0 && W !== void 0 ? W[B] : d[B]);
148
- }
149
- var B = arguments.length - 2;
150
- if (B === 1) D.children = P;
151
- else if (1 < B) {
152
- W = Array(B);
153
- for (var re = 0; re < B; re++) W[re] = arguments[re + 2];
154
- D.children = W;
155
- }
156
- return { $$typeof: t, type: a.type, key: F, ref: H, props: D, _owner: z };
157
- }, O.createContext = function(a) {
158
- return a = { $$typeof: g, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }, a.Provider = { $$typeof: h, _context: a }, a.Consumer = a;
159
- }, O.createElement = xe, O.createFactory = function(a) {
160
- var d = xe.bind(null, a);
161
- return d.type = a, d;
162
- }, O.createRef = function() {
163
- return { current: null };
164
- }, O.forwardRef = function(a) {
165
- return { $$typeof: x, render: a };
166
- }, O.isValidElement = Fe, O.lazy = function(a) {
167
- return { $$typeof: w, _payload: { _status: -1, _result: a }, _init: ye };
168
- }, O.memo = function(a, d) {
169
- return { $$typeof: N, type: a, compare: d === void 0 ? null : d };
170
- }, O.startTransition = function(a) {
171
- var d = be.transition;
172
- be.transition = {};
173
- try {
174
- a();
175
- } finally {
176
- be.transition = d;
177
- }
178
- }, O.unstable_act = Ee, O.useCallback = function(a, d) {
179
- return b.current.useCallback(a, d);
180
- }, O.useContext = function(a) {
181
- return b.current.useContext(a);
182
- }, O.useDebugValue = function() {
183
- }, O.useDeferredValue = function(a) {
184
- return b.current.useDeferredValue(a);
185
- }, O.useEffect = function(a, d) {
186
- return b.current.useEffect(a, d);
187
- }, O.useId = function() {
188
- return b.current.useId();
189
- }, O.useImperativeHandle = function(a, d, P) {
190
- return b.current.useImperativeHandle(a, d, P);
191
- }, O.useInsertionEffect = function(a, d) {
192
- return b.current.useInsertionEffect(a, d);
193
- }, O.useLayoutEffect = function(a, d) {
194
- return b.current.useLayoutEffect(a, d);
195
- }, O.useMemo = function(a, d) {
196
- return b.current.useMemo(a, d);
197
- }, O.useReducer = function(a, d, P) {
198
- return b.current.useReducer(a, d, P);
199
- }, O.useRef = function(a) {
200
- return b.current.useRef(a);
201
- }, O.useState = function(a) {
202
- return b.current.useState(a);
203
- }, O.useSyncExternalStore = function(a, d, P) {
204
- return b.current.useSyncExternalStore(a, d, P);
205
- }, O.useTransition = function() {
206
- return b.current.useTransition();
207
- }, O.version = "18.3.1", O;
208
- }
209
- var Ct = { exports: {} };
210
- /**
211
- * @license React
212
- * react.development.js
213
- *
214
- * Copyright (c) Facebook, Inc. and its affiliates.
215
- *
216
- * This source code is licensed under the MIT license found in the
217
- * LICENSE file in the root directory of this source tree.
218
- */
219
- Ct.exports;
220
- var tn;
221
- function eo() {
222
- return tn || (tn = 1, function(t, o) {
223
- process.env.NODE_ENV !== "production" && function() {
224
- typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
225
- var u = "18.3.1", l = Symbol.for("react.element"), p = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), g = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), N = Symbol.for("react.context"), w = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), q = Symbol.for("react.suspense_list"), Z = Symbol.for("react.memo"), A = Symbol.for("react.lazy"), ie = Symbol.for("react.offscreen"), ee = Symbol.iterator, ae = "@@iterator";
226
- function M(e) {
227
- if (e === null || typeof e != "object")
228
- return null;
229
- var r = ee && e[ee] || e[ae];
230
- return typeof r == "function" ? r : null;
231
- }
232
- var se = {
233
- /**
234
- * @internal
235
- * @type {ReactComponent}
236
- */
237
- current: null
238
- }, te = {
239
- transition: null
240
- }, Y = {
241
- current: null,
242
- // Used to reproduce behavior of `batchedUpdates` in legacy mode.
243
- isBatchingLegacy: !1,
244
- didScheduleLegacyUpdate: !1
245
- }, oe = {
246
- /**
247
- * @internal
248
- * @type {ReactComponent}
249
- */
250
- current: null
251
- }, me = {}, xe = null;
252
- function Ae(e) {
253
- xe = e;
254
- }
255
- me.setExtraStackFrame = function(e) {
256
- xe = e;
257
- }, me.getCurrentStack = null, me.getStackAddendum = function() {
258
- var e = "";
259
- xe && (e += xe);
260
- var r = me.getCurrentStack;
261
- return r && (e += r() || ""), e;
262
- };
263
- var Fe = !1, dt = !1, Le = !1, fe = !1, pe = !1, ce = {
264
- ReactCurrentDispatcher: se,
265
- ReactCurrentBatchConfig: te,
266
- ReactCurrentOwner: oe
267
- };
268
- ce.ReactDebugCurrentFrame = me, ce.ReactCurrentActQueue = Y;
269
- function ye(e) {
270
- {
271
- for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), c = 1; c < r; c++)
272
- i[c - 1] = arguments[c];
273
- be("warn", e, i);
274
- }
275
- }
276
- function b(e) {
277
- {
278
- for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), c = 1; c < r; c++)
279
- i[c - 1] = arguments[c];
280
- be("error", e, i);
281
- }
282
- }
283
- function be(e, r, i) {
284
- {
285
- var c = ce.ReactDebugCurrentFrame, v = c.getStackAddendum();
286
- v !== "" && (r += "%s", i = i.concat([v]));
287
- var E = i.map(function(y) {
288
- return String(y);
289
- });
290
- E.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, E);
291
- }
292
- }
293
- var Me = {};
294
- function Ee(e, r) {
295
- {
296
- var i = e.constructor, c = i && (i.displayName || i.name) || "ReactClass", v = c + "." + r;
297
- if (Me[v])
298
- return;
299
- b("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", r, c), Me[v] = !0;
300
- }
301
- }
302
- var a = {
303
- /**
304
- * Checks whether or not this composite component is mounted.
305
- * @param {ReactClass} publicInstance The instance we want to test.
306
- * @return {boolean} True if mounted, false otherwise.
307
- * @protected
308
- * @final
309
- */
310
- isMounted: function(e) {
311
- return !1;
312
- },
313
- /**
314
- * Forces an update. This should only be invoked when it is known with
315
- * certainty that we are **not** in a DOM transaction.
316
- *
317
- * You may want to call this when you know that some deeper aspect of the
318
- * component's state has changed but `setState` was not called.
319
- *
320
- * This will not invoke `shouldComponentUpdate`, but it will invoke
321
- * `componentWillUpdate` and `componentDidUpdate`.
322
- *
323
- * @param {ReactClass} publicInstance The instance that should rerender.
324
- * @param {?function} callback Called after component is updated.
325
- * @param {?string} callerName name of the calling function in the public API.
326
- * @internal
327
- */
328
- enqueueForceUpdate: function(e, r, i) {
329
- Ee(e, "forceUpdate");
330
- },
331
- /**
332
- * Replaces all of the state. Always use this or `setState` to mutate state.
333
- * You should treat `this.state` as immutable.
334
- *
335
- * There is no guarantee that `this.state` will be immediately updated, so
336
- * accessing `this.state` after calling this method may return the old value.
337
- *
338
- * @param {ReactClass} publicInstance The instance that should rerender.
339
- * @param {object} completeState Next state.
340
- * @param {?function} callback Called after component is updated.
341
- * @param {?string} callerName name of the calling function in the public API.
342
- * @internal
343
- */
344
- enqueueReplaceState: function(e, r, i, c) {
345
- Ee(e, "replaceState");
346
- },
347
- /**
348
- * Sets a subset of the state. This only exists because _pendingState is
349
- * internal. This provides a merging strategy that is not available to deep
350
- * properties which is confusing. TODO: Expose pendingState or don't use it
351
- * during the merge.
352
- *
353
- * @param {ReactClass} publicInstance The instance that should rerender.
354
- * @param {object} partialState Next partial state to be merged with state.
355
- * @param {?function} callback Called after component is updated.
356
- * @param {?string} Name of the calling function in the public API.
357
- * @internal
358
- */
359
- enqueueSetState: function(e, r, i, c) {
360
- Ee(e, "setState");
361
- }
362
- }, d = Object.assign, P = {};
363
- Object.freeze(P);
364
- function D(e, r, i) {
365
- this.props = e, this.context = r, this.refs = P, this.updater = i || a;
366
- }
367
- D.prototype.isReactComponent = {}, D.prototype.setState = function(e, r) {
368
- if (typeof e != "object" && typeof e != "function" && e != null)
369
- throw new Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");
370
- this.updater.enqueueSetState(this, e, r, "setState");
371
- }, D.prototype.forceUpdate = function(e) {
372
- this.updater.enqueueForceUpdate(this, e, "forceUpdate");
373
- };
374
- {
375
- var F = {
376
- isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
377
- replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
378
- }, H = function(e, r) {
379
- Object.defineProperty(D.prototype, e, {
380
- get: function() {
381
- ye("%s(...) is deprecated in plain JavaScript React classes. %s", r[0], r[1]);
382
- }
383
- });
384
- };
385
- for (var z in F)
386
- F.hasOwnProperty(z) && H(z, F[z]);
387
- }
388
- function W() {
389
- }
390
- W.prototype = D.prototype;
391
- function B(e, r, i) {
392
- this.props = e, this.context = r, this.refs = P, this.updater = i || a;
393
- }
394
- var re = B.prototype = new W();
395
- re.constructor = B, d(re, D.prototype), re.isPureReactComponent = !0;
396
- function Xt() {
397
- var e = {
398
- current: null
399
- };
400
- return Object.seal(e), e;
401
- }
402
- var Rt = Array.isArray;
403
- function Xe(e) {
404
- return Rt(e);
405
- }
406
- function Jt(e) {
407
- {
408
- var r = typeof Symbol == "function" && Symbol.toStringTag, i = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
409
- return i;
410
- }
411
- }
412
- function Je(e) {
413
- try {
414
- return Te(e), !1;
415
- } catch {
416
- return !0;
417
- }
418
- }
419
- function Te(e) {
420
- return "" + e;
421
- }
422
- function Be(e) {
423
- if (Je(e))
424
- return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Jt(e)), Te(e);
425
- }
426
- function St(e, r, i) {
427
- var c = e.displayName;
428
- if (c)
429
- return c;
430
- var v = r.displayName || r.name || "";
431
- return v !== "" ? i + "(" + v + ")" : i;
432
- }
433
- function Ue(e) {
434
- return e.displayName || "Context";
435
- }
436
- function Ce(e) {
437
- if (e == null)
438
- return null;
439
- if (typeof e.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
440
- return e.displayName || e.name || null;
441
- if (typeof e == "string")
442
- return e;
443
- switch (e) {
444
- case h:
445
- return "Fragment";
446
- case p:
447
- return "Portal";
448
- case x:
449
- return "Profiler";
450
- case g:
451
- return "StrictMode";
452
- case k:
453
- return "Suspense";
454
- case q:
455
- return "SuspenseList";
456
- }
457
- if (typeof e == "object")
458
- switch (e.$$typeof) {
459
- case N:
460
- var r = e;
461
- return Ue(r) + ".Consumer";
462
- case C:
463
- var i = e;
464
- return Ue(i._context) + ".Provider";
465
- case w:
466
- return St(e, e.render, "ForwardRef");
467
- case Z:
468
- var c = e.displayName || null;
469
- return c !== null ? c : Ce(e.type) || "Memo";
470
- case A: {
471
- var v = e, E = v._payload, y = v._init;
472
- try {
473
- return Ce(y(E));
474
- } catch {
475
- return null;
476
- }
477
- }
478
- }
479
- return null;
480
- }
481
- var We = Object.prototype.hasOwnProperty, Qe = {
482
- key: !0,
483
- ref: !0,
484
- __self: !0,
485
- __source: !0
486
- }, wt, jt, Ze;
487
- Ze = {};
488
- function mt(e) {
489
- if (We.call(e, "ref")) {
490
- var r = Object.getOwnPropertyDescriptor(e, "ref").get;
491
- if (r && r.isReactWarning)
492
- return !1;
493
- }
494
- return e.ref !== void 0;
495
- }
496
- function Oe(e) {
497
- if (We.call(e, "key")) {
498
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
499
- if (r && r.isReactWarning)
500
- return !1;
501
- }
502
- return e.key !== void 0;
503
- }
504
- function Qt(e, r) {
505
- var i = function() {
506
- wt || (wt = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
507
- };
508
- i.isReactWarning = !0, Object.defineProperty(e, "key", {
509
- get: i,
510
- configurable: !0
511
- });
512
- }
513
- function kt(e, r) {
514
- var i = function() {
515
- jt || (jt = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
516
- };
517
- i.isReactWarning = !0, Object.defineProperty(e, "ref", {
518
- get: i,
519
- configurable: !0
520
- });
521
- }
522
- function Tt(e) {
523
- if (typeof e.ref == "string" && oe.current && e.__self && oe.current.stateNode !== e.__self) {
524
- var r = Ce(oe.current.type);
525
- Ze[r] || (b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', r, e.ref), Ze[r] = !0);
526
- }
527
- }
528
- var Ye = function(e, r, i, c, v, E, y) {
529
- var j = {
530
- // This tag allows us to uniquely identify this as a React Element
531
- $$typeof: l,
532
- // Built-in properties that belong on the element
533
- type: e,
534
- key: r,
535
- ref: i,
536
- props: y,
537
- // Record the component responsible for creating this element.
538
- _owner: E
539
- };
540
- return j._store = {}, Object.defineProperty(j._store, "validated", {
541
- configurable: !1,
542
- enumerable: !1,
543
- writable: !0,
544
- value: !1
545
- }), Object.defineProperty(j, "_self", {
546
- configurable: !1,
547
- enumerable: !1,
548
- writable: !1,
549
- value: c
550
- }), Object.defineProperty(j, "_source", {
551
- configurable: !1,
552
- enumerable: !1,
553
- writable: !1,
554
- value: v
555
- }), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
556
- };
557
- function Zt(e, r, i) {
558
- var c, v = {}, E = null, y = null, j = null, $ = null;
559
- if (r != null) {
560
- mt(r) && (y = r.ref, Tt(r)), Oe(r) && (Be(r.key), E = "" + r.key), j = r.__self === void 0 ? null : r.__self, $ = r.__source === void 0 ? null : r.__source;
561
- for (c in r)
562
- We.call(r, c) && !Qe.hasOwnProperty(c) && (v[c] = r[c]);
563
- }
564
- var V = arguments.length - 2;
565
- if (V === 1)
566
- v.children = i;
567
- else if (V > 1) {
568
- for (var G = Array(V), K = 0; K < V; K++)
569
- G[K] = arguments[K + 2];
570
- Object.freeze && Object.freeze(G), v.children = G;
571
- }
572
- if (e && e.defaultProps) {
573
- var J = e.defaultProps;
574
- for (c in J)
575
- v[c] === void 0 && (v[c] = J[c]);
576
- }
577
- if (E || y) {
578
- var ne = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
579
- E && Qt(v, ne), y && kt(v, ne);
580
- }
581
- return Ye(e, E, y, j, $, oe.current, v);
582
- }
583
- function er(e, r) {
584
- var i = Ye(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
585
- return i;
586
- }
587
- function tr(e, r, i) {
588
- if (e == null)
589
- throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
590
- var c, v = d({}, e.props), E = e.key, y = e.ref, j = e._self, $ = e._source, V = e._owner;
591
- if (r != null) {
592
- mt(r) && (y = r.ref, V = oe.current), Oe(r) && (Be(r.key), E = "" + r.key);
593
- var G;
594
- e.type && e.type.defaultProps && (G = e.type.defaultProps);
595
- for (c in r)
596
- We.call(r, c) && !Qe.hasOwnProperty(c) && (r[c] === void 0 && G !== void 0 ? v[c] = G[c] : v[c] = r[c]);
597
- }
598
- var K = arguments.length - 2;
599
- if (K === 1)
600
- v.children = i;
601
- else if (K > 1) {
602
- for (var J = Array(K), ne = 0; ne < K; ne++)
603
- J[ne] = arguments[ne + 2];
604
- v.children = J;
605
- }
606
- return Ye(e.type, E, y, j, $, V, v);
607
- }
608
- function Pe(e) {
609
- return typeof e == "object" && e !== null && e.$$typeof === l;
610
- }
611
- var Ot = ".", rr = ":";
612
- function nr(e) {
613
- var r = /[=:]/g, i = {
614
- "=": "=0",
615
- ":": "=2"
616
- }, c = e.replace(r, function(v) {
617
- return i[v];
618
- });
619
- return "$" + c;
620
- }
621
- var et = !1, Pt = /\/+/g;
622
- function Re(e) {
623
- return e.replace(Pt, "$&/");
624
- }
625
- function ze(e, r) {
626
- return typeof e == "object" && e !== null && e.key != null ? (Be(e.key), nr("" + e.key)) : r.toString(36);
627
- }
628
- function Ne(e, r, i, c, v) {
629
- var E = typeof e;
630
- (E === "undefined" || E === "boolean") && (e = null);
631
- var y = !1;
632
- if (e === null)
633
- y = !0;
634
- else
635
- switch (E) {
636
- case "string":
637
- case "number":
638
- y = !0;
639
- break;
640
- case "object":
641
- switch (e.$$typeof) {
642
- case l:
643
- case p:
644
- y = !0;
645
- }
646
- }
647
- if (y) {
648
- var j = e, $ = v(j), V = c === "" ? Ot + ze(j, 0) : c;
649
- if (Xe($)) {
650
- var G = "";
651
- V != null && (G = Re(V) + "/"), Ne($, r, G, "", function(Jn) {
652
- return Jn;
653
- });
654
- } else $ != null && (Pe($) && ($.key && (!j || j.key !== $.key) && Be($.key), $ = er(
655
- $,
656
- // Keep both the (mapped) and old keys if they differ, just as
657
- // traverseAllChildren used to do for objects as children
658
- i + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
659
- ($.key && (!j || j.key !== $.key) ? (
660
- // $FlowFixMe Flow incorrectly thinks existing element's key can be a number
661
- // eslint-disable-next-line react-internal/safe-string-coercion
662
- Re("" + $.key) + "/"
663
- ) : "") + V
664
- )), r.push($));
665
- return 1;
666
- }
667
- var K, J, ne = 0, le = c === "" ? Ot : c + rr;
668
- if (Xe(e))
669
- for (var Yt = 0; Yt < e.length; Yt++)
670
- K = e[Yt], J = le + ze(K, Yt), ne += Ne(K, r, i, J, v);
671
- else {
672
- var gr = M(e);
673
- if (typeof gr == "function") {
674
- var Jr = e;
675
- gr === Jr.entries && (et || ye("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), et = !0);
676
- for (var Kn = gr.call(Jr), Qr, Xn = 0; !(Qr = Kn.next()).done; )
677
- K = Qr.value, J = le + ze(K, Xn++), ne += Ne(K, r, i, J, v);
678
- } else if (E === "object") {
679
- var Zr = String(e);
680
- throw new Error("Objects are not valid as a React child (found: " + (Zr === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : Zr) + "). If you meant to render a collection of children, use an array instead.");
681
- }
682
- }
683
- return ne;
684
- }
685
- function Ve(e, r, i) {
686
- if (e == null)
687
- return e;
688
- var c = [], v = 0;
689
- return Ne(e, c, "", "", function(E) {
690
- return r.call(i, E, v++);
691
- }), c;
692
- }
693
- function or(e) {
694
- var r = 0;
695
- return Ve(e, function() {
696
- r++;
697
- }), r;
698
- }
699
- function Nt(e, r, i) {
700
- Ve(e, function() {
701
- r.apply(this, arguments);
702
- }, i);
703
- }
704
- function ar(e) {
705
- return Ve(e, function(r) {
706
- return r;
707
- }) || [];
708
- }
709
- function It(e) {
710
- if (!Pe(e))
711
- throw new Error("React.Children.only expected to receive a single React element child.");
712
- return e;
713
- }
714
- function Dt(e) {
715
- var r = {
716
- $$typeof: N,
717
- // As a workaround to support multiple concurrent renderers, we categorize
718
- // some renderers as primary and others as secondary. We only expect
719
- // there to be two concurrent renderers at most: React Native (primary) and
720
- // Fabric (secondary); React DOM (primary) and React ART (secondary).
721
- // Secondary renderers store their context values on separate fields.
722
- _currentValue: e,
723
- _currentValue2: e,
724
- // Used to track how many concurrent renderers this context currently
725
- // supports within in a single renderer. Such as parallel server rendering.
726
- _threadCount: 0,
727
- // These are circular
728
- Provider: null,
729
- Consumer: null,
730
- // Add these to use same hidden class in VM as ServerContext
731
- _defaultValue: null,
732
- _globalName: null
733
- };
734
- r.Provider = {
735
- $$typeof: C,
736
- _context: r
737
- };
738
- var i = !1, c = !1, v = !1;
739
- {
740
- var E = {
741
- $$typeof: N,
742
- _context: r
743
- };
744
- Object.defineProperties(E, {
745
- Provider: {
746
- get: function() {
747
- return c || (c = !0, b("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), r.Provider;
748
- },
749
- set: function(y) {
750
- r.Provider = y;
751
- }
752
- },
753
- _currentValue: {
754
- get: function() {
755
- return r._currentValue;
756
- },
757
- set: function(y) {
758
- r._currentValue = y;
759
- }
760
- },
761
- _currentValue2: {
762
- get: function() {
763
- return r._currentValue2;
764
- },
765
- set: function(y) {
766
- r._currentValue2 = y;
767
- }
768
- },
769
- _threadCount: {
770
- get: function() {
771
- return r._threadCount;
772
- },
773
- set: function(y) {
774
- r._threadCount = y;
775
- }
776
- },
777
- Consumer: {
778
- get: function() {
779
- return i || (i = !0, b("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")), r.Consumer;
780
- }
781
- },
782
- displayName: {
783
- get: function() {
784
- return r.displayName;
785
- },
786
- set: function(y) {
787
- v || (ye("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", y), v = !0);
788
- }
789
- }
790
- }), r.Consumer = E;
791
- }
792
- return r._currentRenderer = null, r._currentRenderer2 = null, r;
793
- }
794
- var He = -1, pt = 0, vt = 1, $t = 2;
795
- function ir(e) {
796
- if (e._status === He) {
797
- var r = e._result, i = r();
798
- if (i.then(function(E) {
799
- if (e._status === pt || e._status === He) {
800
- var y = e;
801
- y._status = vt, y._result = E;
802
- }
803
- }, function(E) {
804
- if (e._status === pt || e._status === He) {
805
- var y = e;
806
- y._status = $t, y._result = E;
807
- }
808
- }), e._status === He) {
809
- var c = e;
810
- c._status = pt, c._result = i;
811
- }
812
- }
813
- if (e._status === vt) {
814
- var v = e._result;
815
- return v === void 0 && b(`lazy: Expected the result of a dynamic import() call. Instead received: %s
816
-
817
- Your code should look like:
818
- const MyComponent = lazy(() => import('./MyComponent'))
819
-
820
- Did you accidentally put curly braces around the import?`, v), "default" in v || b(`lazy: Expected the result of a dynamic import() call. Instead received: %s
821
-
822
- Your code should look like:
823
- const MyComponent = lazy(() => import('./MyComponent'))`, v), v.default;
824
- } else
825
- throw e._result;
826
- }
827
- function sr(e) {
828
- var r = {
829
- // We use these fields to store the result.
830
- _status: He,
831
- _result: e
832
- }, i = {
833
- $$typeof: A,
834
- _payload: r,
835
- _init: ir
836
- };
837
- {
838
- var c, v;
839
- Object.defineProperties(i, {
840
- defaultProps: {
841
- configurable: !0,
842
- get: function() {
843
- return c;
844
- },
845
- set: function(E) {
846
- b("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."), c = E, Object.defineProperty(i, "defaultProps", {
847
- enumerable: !0
848
- });
849
- }
850
- },
851
- propTypes: {
852
- configurable: !0,
853
- get: function() {
854
- return v;
855
- },
856
- set: function(E) {
857
- b("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."), v = E, Object.defineProperty(i, "propTypes", {
858
- enumerable: !0
859
- });
860
- }
861
- }
862
- });
863
- }
864
- return i;
865
- }
866
- function cr(e) {
867
- e != null && e.$$typeof === Z ? b("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : typeof e != "function" ? b("forwardRef requires a render function but was given %s.", e === null ? "null" : typeof e) : e.length !== 0 && e.length !== 2 && b("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) && b("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?");
868
- var r = {
869
- $$typeof: w,
870
- render: e
871
- };
872
- {
873
- var i;
874
- Object.defineProperty(r, "displayName", {
875
- enumerable: !1,
876
- configurable: !0,
877
- get: function() {
878
- return i;
879
- },
880
- set: function(c) {
881
- i = c, !e.name && !e.displayName && (e.displayName = c);
882
- }
883
- });
884
- }
885
- return r;
886
- }
887
- var At;
888
- At = Symbol.for("react.module.reference");
889
- function n(e) {
890
- return !!(typeof e == "string" || typeof e == "function" || e === h || e === x || pe || e === g || e === k || e === q || fe || e === ie || Fe || dt || Le || typeof e == "object" && e !== null && (e.$$typeof === A || e.$$typeof === Z || e.$$typeof === C || e.$$typeof === N || e.$$typeof === w || // This needs to include all possible module reference object
891
- // types supported by any Flight configuration anywhere since
892
- // we don't know which Flight build this will end up being used
893
- // with.
894
- e.$$typeof === At || e.getModuleId !== void 0));
895
- }
896
- function f(e, r) {
897
- n(e) || b("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
898
- var i = {
899
- $$typeof: Z,
900
- type: e,
901
- compare: r === void 0 ? null : r
902
- };
903
- {
904
- var c;
905
- Object.defineProperty(i, "displayName", {
906
- enumerable: !1,
907
- configurable: !0,
908
- get: function() {
909
- return c;
910
- },
911
- set: function(v) {
912
- c = v, !e.name && !e.displayName && (e.displayName = v);
913
- }
914
- });
915
- }
916
- return i;
917
- }
918
- function m() {
919
- var e = se.current;
920
- return e === null && b(`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:
921
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
922
- 2. You might be breaking the Rules of Hooks
923
- 3. You might have more than one copy of React in the same app
924
- See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
925
- }
926
- function R(e) {
927
- var r = m();
928
- if (e._context !== void 0) {
929
- var i = e._context;
930
- i.Consumer === e ? b("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?") : i.Provider === e && b("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?");
931
- }
932
- return r.useContext(e);
933
- }
934
- function L(e) {
935
- var r = m();
936
- return r.useState(e);
937
- }
938
- function U(e, r, i) {
939
- var c = m();
940
- return c.useReducer(e, r, i);
941
- }
942
- function I(e) {
943
- var r = m();
944
- return r.useRef(e);
945
- }
946
- function T(e, r) {
947
- var i = m();
948
- return i.useEffect(e, r);
949
- }
950
- function ue(e, r) {
951
- var i = m();
952
- return i.useInsertionEffect(e, r);
953
- }
954
- function X(e, r) {
955
- var i = m();
956
- return i.useLayoutEffect(e, r);
957
- }
958
- function Q(e, r) {
959
- var i = m();
960
- return i.useCallback(e, r);
961
- }
962
- function ve(e, r) {
963
- var i = m();
964
- return i.useMemo(e, r);
965
- }
966
- function Ie(e, r, i) {
967
- var c = m();
968
- return c.useImperativeHandle(e, r, i);
969
- }
970
- function Se(e, r) {
971
- {
972
- var i = m();
973
- return i.useDebugValue(e, r);
974
- }
975
- }
976
- function de() {
977
- var e = m();
978
- return e.useTransition();
979
- }
980
- function ht(e) {
981
- var r = m();
982
- return r.useDeferredValue(e);
983
- }
984
- function ur() {
985
- var e = m();
986
- return e.useId();
987
- }
988
- function lr(e, r, i) {
989
- var c = m();
990
- return c.useSyncExternalStore(e, r, i);
991
- }
992
- var _t = 0, Or, Pr, Nr, Ir, Dr, $r, Ar;
993
- function Fr() {
994
- }
995
- Fr.__reactDisabledLog = !0;
996
- function Pn() {
997
- {
998
- if (_t === 0) {
999
- Or = console.log, Pr = console.info, Nr = console.warn, Ir = console.error, Dr = console.group, $r = console.groupCollapsed, Ar = console.groupEnd;
1000
- var e = {
1001
- configurable: !0,
1002
- enumerable: !0,
1003
- value: Fr,
1004
- writable: !0
1005
- };
1006
- Object.defineProperties(console, {
1007
- info: e,
1008
- log: e,
1009
- warn: e,
1010
- error: e,
1011
- group: e,
1012
- groupCollapsed: e,
1013
- groupEnd: e
1014
- });
1015
- }
1016
- _t++;
1017
- }
1018
- }
1019
- function Nn() {
1020
- {
1021
- if (_t--, _t === 0) {
1022
- var e = {
1023
- configurable: !0,
1024
- enumerable: !0,
1025
- writable: !0
1026
- };
1027
- Object.defineProperties(console, {
1028
- log: d({}, e, {
1029
- value: Or
1030
- }),
1031
- info: d({}, e, {
1032
- value: Pr
1033
- }),
1034
- warn: d({}, e, {
1035
- value: Nr
1036
- }),
1037
- error: d({}, e, {
1038
- value: Ir
1039
- }),
1040
- group: d({}, e, {
1041
- value: Dr
1042
- }),
1043
- groupCollapsed: d({}, e, {
1044
- value: $r
1045
- }),
1046
- groupEnd: d({}, e, {
1047
- value: Ar
1048
- })
1049
- });
1050
- }
1051
- _t < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1052
- }
1053
- }
1054
- var fr = ce.ReactCurrentDispatcher, dr;
1055
- function Ft(e, r, i) {
1056
- {
1057
- if (dr === void 0)
1058
- try {
1059
- throw Error();
1060
- } catch (v) {
1061
- var c = v.stack.trim().match(/\n( *(at )?)/);
1062
- dr = c && c[1] || "";
1063
- }
1064
- return `
1065
- ` + dr + e;
1066
- }
1067
- }
1068
- var mr = !1, Lt;
1069
- {
1070
- var In = typeof WeakMap == "function" ? WeakMap : Map;
1071
- Lt = new In();
1072
- }
1073
- function Lr(e, r) {
1074
- if (!e || mr)
1075
- return "";
1076
- {
1077
- var i = Lt.get(e);
1078
- if (i !== void 0)
1079
- return i;
1080
- }
1081
- var c;
1082
- mr = !0;
1083
- var v = Error.prepareStackTrace;
1084
- Error.prepareStackTrace = void 0;
1085
- var E;
1086
- E = fr.current, fr.current = null, Pn();
1087
- try {
1088
- if (r) {
1089
- var y = function() {
1090
- throw Error();
1091
- };
1092
- if (Object.defineProperty(y.prototype, "props", {
1093
- set: function() {
1094
- throw Error();
1095
- }
1096
- }), typeof Reflect == "object" && Reflect.construct) {
1097
- try {
1098
- Reflect.construct(y, []);
1099
- } catch (le) {
1100
- c = le;
1101
- }
1102
- Reflect.construct(e, [], y);
1103
- } else {
1104
- try {
1105
- y.call();
1106
- } catch (le) {
1107
- c = le;
1108
- }
1109
- e.call(y.prototype);
1110
- }
1111
- } else {
1112
- try {
1113
- throw Error();
1114
- } catch (le) {
1115
- c = le;
1116
- }
1117
- e();
1118
- }
1119
- } catch (le) {
1120
- if (le && c && typeof le.stack == "string") {
1121
- for (var j = le.stack.split(`
1122
- `), $ = c.stack.split(`
1123
- `), V = j.length - 1, G = $.length - 1; V >= 1 && G >= 0 && j[V] !== $[G]; )
1124
- G--;
1125
- for (; V >= 1 && G >= 0; V--, G--)
1126
- if (j[V] !== $[G]) {
1127
- if (V !== 1 || G !== 1)
1128
- do
1129
- if (V--, G--, G < 0 || j[V] !== $[G]) {
1130
- var K = `
1131
- ` + j[V].replace(" at new ", " at ");
1132
- return e.displayName && K.includes("<anonymous>") && (K = K.replace("<anonymous>", e.displayName)), typeof e == "function" && Lt.set(e, K), K;
1133
- }
1134
- while (V >= 1 && G >= 0);
1135
- break;
1136
- }
1137
- }
1138
- } finally {
1139
- mr = !1, fr.current = E, Nn(), Error.prepareStackTrace = v;
1140
- }
1141
- var J = e ? e.displayName || e.name : "", ne = J ? Ft(J) : "";
1142
- return typeof e == "function" && Lt.set(e, ne), ne;
1143
- }
1144
- function Dn(e, r, i) {
1145
- return Lr(e, !1);
1146
- }
1147
- function $n(e) {
1148
- var r = e.prototype;
1149
- return !!(r && r.isReactComponent);
1150
- }
1151
- function Mt(e, r, i) {
1152
- if (e == null)
1153
- return "";
1154
- if (typeof e == "function")
1155
- return Lr(e, $n(e));
1156
- if (typeof e == "string")
1157
- return Ft(e);
1158
- switch (e) {
1159
- case k:
1160
- return Ft("Suspense");
1161
- case q:
1162
- return Ft("SuspenseList");
1163
- }
1164
- if (typeof e == "object")
1165
- switch (e.$$typeof) {
1166
- case w:
1167
- return Dn(e.render);
1168
- case Z:
1169
- return Mt(e.type, r, i);
1170
- case A: {
1171
- var c = e, v = c._payload, E = c._init;
1172
- try {
1173
- return Mt(E(v), r, i);
1174
- } catch {
1175
- }
1176
- }
1177
- }
1178
- return "";
1179
- }
1180
- var Mr = {}, Br = ce.ReactDebugCurrentFrame;
1181
- function Bt(e) {
1182
- if (e) {
1183
- var r = e._owner, i = Mt(e.type, e._source, r ? r.type : null);
1184
- Br.setExtraStackFrame(i);
1185
- } else
1186
- Br.setExtraStackFrame(null);
1187
- }
1188
- function An(e, r, i, c, v) {
1189
- {
1190
- var E = Function.call.bind(We);
1191
- for (var y in e)
1192
- if (E(e, y)) {
1193
- var j = void 0;
1194
- try {
1195
- if (typeof e[y] != "function") {
1196
- var $ = Error((c || "React class") + ": " + i + " 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`.");
1197
- throw $.name = "Invariant Violation", $;
1198
- }
1199
- j = e[y](r, y, c, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1200
- } catch (V) {
1201
- j = V;
1202
- }
1203
- j && !(j instanceof Error) && (Bt(v), b("%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).", c || "React class", i, y, typeof j), Bt(null)), j instanceof Error && !(j.message in Mr) && (Mr[j.message] = !0, Bt(v), b("Failed %s type: %s", i, j.message), Bt(null));
1204
- }
1205
- }
1206
- }
1207
- function tt(e) {
1208
- if (e) {
1209
- var r = e._owner, i = Mt(e.type, e._source, r ? r.type : null);
1210
- Ae(i);
1211
- } else
1212
- Ae(null);
1213
- }
1214
- var pr;
1215
- pr = !1;
1216
- function Ur() {
1217
- if (oe.current) {
1218
- var e = Ce(oe.current.type);
1219
- if (e)
1220
- return `
1221
-
1222
- Check the render method of \`` + e + "`.";
1223
- }
1224
- return "";
1225
- }
1226
- function Fn(e) {
1227
- if (e !== void 0) {
1228
- var r = e.fileName.replace(/^.*[\\\/]/, ""), i = e.lineNumber;
1229
- return `
1230
-
1231
- Check your code at ` + r + ":" + i + ".";
1232
- }
1233
- return "";
1234
- }
1235
- function Ln(e) {
1236
- return e != null ? Fn(e.__source) : "";
1237
- }
1238
- var Wr = {};
1239
- function Mn(e) {
1240
- var r = Ur();
1241
- if (!r) {
1242
- var i = typeof e == "string" ? e : e.displayName || e.name;
1243
- i && (r = `
1244
-
1245
- Check the top-level render call using <` + i + ">.");
1246
- }
1247
- return r;
1248
- }
1249
- function Yr(e, r) {
1250
- if (!(!e._store || e._store.validated || e.key != null)) {
1251
- e._store.validated = !0;
1252
- var i = Mn(r);
1253
- if (!Wr[i]) {
1254
- Wr[i] = !0;
1255
- var c = "";
1256
- e && e._owner && e._owner !== oe.current && (c = " It was passed a child from " + Ce(e._owner.type) + "."), tt(e), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', i, c), tt(null);
1257
- }
1258
- }
1259
- }
1260
- function zr(e, r) {
1261
- if (typeof e == "object") {
1262
- if (Xe(e))
1263
- for (var i = 0; i < e.length; i++) {
1264
- var c = e[i];
1265
- Pe(c) && Yr(c, r);
1266
- }
1267
- else if (Pe(e))
1268
- e._store && (e._store.validated = !0);
1269
- else if (e) {
1270
- var v = M(e);
1271
- if (typeof v == "function" && v !== e.entries)
1272
- for (var E = v.call(e), y; !(y = E.next()).done; )
1273
- Pe(y.value) && Yr(y.value, r);
1274
- }
1275
- }
1276
- }
1277
- function Vr(e) {
1278
- {
1279
- var r = e.type;
1280
- if (r == null || typeof r == "string")
1281
- return;
1282
- var i;
1283
- if (typeof r == "function")
1284
- i = r.propTypes;
1285
- else if (typeof r == "object" && (r.$$typeof === w || // Note: Memo only checks outer props here.
1286
- // Inner props are checked in the reconciler.
1287
- r.$$typeof === Z))
1288
- i = r.propTypes;
1289
- else
1290
- return;
1291
- if (i) {
1292
- var c = Ce(r);
1293
- An(i, e.props, "prop", c, e);
1294
- } else if (r.PropTypes !== void 0 && !pr) {
1295
- pr = !0;
1296
- var v = Ce(r);
1297
- b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
1298
- }
1299
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
1300
- }
1301
- }
1302
- function Bn(e) {
1303
- {
1304
- for (var r = Object.keys(e.props), i = 0; i < r.length; i++) {
1305
- var c = r[i];
1306
- if (c !== "children" && c !== "key") {
1307
- tt(e), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", c), tt(null);
1308
- break;
1309
- }
1310
- }
1311
- e.ref !== null && (tt(e), b("Invalid attribute `ref` supplied to `React.Fragment`."), tt(null));
1312
- }
1313
- }
1314
- function Hr(e, r, i) {
1315
- var c = n(e);
1316
- if (!c) {
1317
- var v = "";
1318
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
1319
- var E = Ln(r);
1320
- E ? v += E : v += Ur();
1321
- var y;
1322
- e === null ? y = "null" : Xe(e) ? y = "array" : e !== void 0 && e.$$typeof === l ? (y = "<" + (Ce(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : y = typeof e, b("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", y, v);
1323
- }
1324
- var j = Zt.apply(this, arguments);
1325
- if (j == null)
1326
- return j;
1327
- if (c)
1328
- for (var $ = 2; $ < arguments.length; $++)
1329
- zr(arguments[$], e);
1330
- return e === h ? Bn(j) : Vr(j), j;
1331
- }
1332
- var qr = !1;
1333
- function Un(e) {
1334
- var r = Hr.bind(null, e);
1335
- return r.type = e, qr || (qr = !0, ye("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")), Object.defineProperty(r, "type", {
1336
- enumerable: !1,
1337
- get: function() {
1338
- return ye("Factory.type is deprecated. Access the class directly before passing it to createFactory."), Object.defineProperty(this, "type", {
1339
- value: e
1340
- }), e;
1341
- }
1342
- }), r;
1343
- }
1344
- function Wn(e, r, i) {
1345
- for (var c = tr.apply(this, arguments), v = 2; v < arguments.length; v++)
1346
- zr(arguments[v], c.type);
1347
- return Vr(c), c;
1348
- }
1349
- function Yn(e, r) {
1350
- var i = te.transition;
1351
- te.transition = {};
1352
- var c = te.transition;
1353
- te.transition._updatedFibers = /* @__PURE__ */ new Set();
1354
- try {
1355
- e();
1356
- } finally {
1357
- if (te.transition = i, i === null && c._updatedFibers) {
1358
- var v = c._updatedFibers.size;
1359
- v > 10 && ye("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."), c._updatedFibers.clear();
1360
- }
1361
- }
1362
- }
1363
- var Gr = !1, Ut = null;
1364
- function zn(e) {
1365
- if (Ut === null)
1366
- try {
1367
- var r = ("require" + Math.random()).slice(0, 7), i = t && t[r];
1368
- Ut = i.call(t, "timers").setImmediate;
1369
- } catch {
1370
- Ut = function(v) {
1371
- Gr === !1 && (Gr = !0, typeof MessageChannel > "u" && b("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."));
1372
- var E = new MessageChannel();
1373
- E.port1.onmessage = v, E.port2.postMessage(void 0);
1374
- };
1375
- }
1376
- return Ut(e);
1377
- }
1378
- var rt = 0, Kr = !1;
1379
- function Xr(e) {
1380
- {
1381
- var r = rt;
1382
- rt++, Y.current === null && (Y.current = []);
1383
- var i = Y.isBatchingLegacy, c;
1384
- try {
1385
- if (Y.isBatchingLegacy = !0, c = e(), !i && Y.didScheduleLegacyUpdate) {
1386
- var v = Y.current;
1387
- v !== null && (Y.didScheduleLegacyUpdate = !1, _r(v));
1388
- }
1389
- } catch (J) {
1390
- throw Wt(r), J;
1391
- } finally {
1392
- Y.isBatchingLegacy = i;
1393
- }
1394
- if (c !== null && typeof c == "object" && typeof c.then == "function") {
1395
- var E = c, y = !1, j = {
1396
- then: function(J, ne) {
1397
- y = !0, E.then(function(le) {
1398
- Wt(r), rt === 0 ? vr(le, J, ne) : J(le);
1399
- }, function(le) {
1400
- Wt(r), ne(le);
1401
- });
1402
- }
1403
- };
1404
- return !Kr && typeof Promise < "u" && Promise.resolve().then(function() {
1405
- }).then(function() {
1406
- y || (Kr = !0, b("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 () => ...);"));
1407
- }), j;
1408
- } else {
1409
- var $ = c;
1410
- if (Wt(r), rt === 0) {
1411
- var V = Y.current;
1412
- V !== null && (_r(V), Y.current = null);
1413
- var G = {
1414
- then: function(J, ne) {
1415
- Y.current === null ? (Y.current = [], vr($, J, ne)) : J($);
1416
- }
1417
- };
1418
- return G;
1419
- } else {
1420
- var K = {
1421
- then: function(J, ne) {
1422
- J($);
1423
- }
1424
- };
1425
- return K;
1426
- }
1427
- }
1428
- }
1429
- }
1430
- function Wt(e) {
1431
- e !== rt - 1 && b("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "), rt = e;
1432
- }
1433
- function vr(e, r, i) {
1434
- {
1435
- var c = Y.current;
1436
- if (c !== null)
1437
- try {
1438
- _r(c), zn(function() {
1439
- c.length === 0 ? (Y.current = null, r(e)) : vr(e, r, i);
1440
- });
1441
- } catch (v) {
1442
- i(v);
1443
- }
1444
- else
1445
- r(e);
1446
- }
1447
- }
1448
- var hr = !1;
1449
- function _r(e) {
1450
- if (!hr) {
1451
- hr = !0;
1452
- var r = 0;
1453
- try {
1454
- for (; r < e.length; r++) {
1455
- var i = e[r];
1456
- do
1457
- i = i(!0);
1458
- while (i !== null);
1459
- }
1460
- e.length = 0;
1461
- } catch (c) {
1462
- throw e = e.slice(r + 1), c;
1463
- } finally {
1464
- hr = !1;
1465
- }
1466
- }
1467
- }
1468
- var Vn = Hr, Hn = Wn, qn = Un, Gn = {
1469
- map: Ve,
1470
- forEach: Nt,
1471
- count: or,
1472
- toArray: ar,
1473
- only: It
1474
- };
1475
- o.Children = Gn, o.Component = D, o.Fragment = h, o.Profiler = x, o.PureComponent = B, o.StrictMode = g, o.Suspense = k, o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = ce, o.act = Xr, o.cloneElement = Hn, o.createContext = Dt, o.createElement = Vn, o.createFactory = qn, o.createRef = Xt, o.forwardRef = cr, o.isValidElement = Pe, o.lazy = sr, o.memo = f, o.startTransition = Yn, o.unstable_act = Xr, o.useCallback = Q, o.useContext = R, o.useDebugValue = Se, o.useDeferredValue = ht, o.useEffect = T, o.useId = ur, o.useImperativeHandle = Ie, o.useInsertionEffect = ue, o.useLayoutEffect = X, o.useMemo = ve, o.useReducer = U, o.useRef = I, o.useState = L, o.useSyncExternalStore = lr, o.useTransition = de, o.version = u, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
1476
- }();
1477
- }(Ct, Ct.exports)), Ct.exports;
1478
- }
1479
- process.env.NODE_ENV === "production" ? xr.exports = Zn() : xr.exports = eo();
1480
- var _ = xr.exports;
1481
- const Ge = /* @__PURE__ */ Qn(_);
1482
- /**
1483
- * @license React
1484
- * react-jsx-runtime.production.min.js
1485
- *
1486
- * Copyright (c) Facebook, Inc. and its affiliates.
1487
- *
1488
- * This source code is licensed under the MIT license found in the
1489
- * LICENSE file in the root directory of this source tree.
1490
- */
1491
- var rn;
1492
- function to() {
1493
- if (rn) return gt;
1494
- rn = 1;
1495
- var t = _, o = Symbol.for("react.element"), u = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, p = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, h = { key: !0, ref: !0, __self: !0, __source: !0 };
1496
- function g(x, C, N) {
1497
- var w, k = {}, q = null, Z = null;
1498
- N !== void 0 && (q = "" + N), C.key !== void 0 && (q = "" + C.key), C.ref !== void 0 && (Z = C.ref);
1499
- for (w in C) l.call(C, w) && !h.hasOwnProperty(w) && (k[w] = C[w]);
1500
- if (x && x.defaultProps) for (w in C = x.defaultProps, C) k[w] === void 0 && (k[w] = C[w]);
1501
- return { $$typeof: o, type: x, key: q, ref: Z, props: k, _owner: p.current };
1502
- }
1503
- return gt.Fragment = u, gt.jsx = g, gt.jsxs = g, gt;
1504
- }
1505
- var yt = {};
1506
- /**
1507
- * @license React
1508
- * react-jsx-runtime.development.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 nn;
1516
- function ro() {
1517
- return nn || (nn = 1, process.env.NODE_ENV !== "production" && function() {
1518
- var t = _, o = Symbol.for("react.element"), u = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), h = Symbol.for("react.profiler"), g = Symbol.for("react.provider"), x = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), N = Symbol.for("react.suspense"), w = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), q = Symbol.for("react.lazy"), Z = Symbol.for("react.offscreen"), A = Symbol.iterator, ie = "@@iterator";
1519
- function ee(n) {
1520
- if (n === null || typeof n != "object")
1521
- return null;
1522
- var f = A && n[A] || n[ie];
1523
- return typeof f == "function" ? f : null;
1524
- }
1525
- var ae = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
1526
- function M(n) {
1527
- {
1528
- for (var f = arguments.length, m = new Array(f > 1 ? f - 1 : 0), R = 1; R < f; R++)
1529
- m[R - 1] = arguments[R];
1530
- se("error", n, m);
1531
- }
1532
- }
1533
- function se(n, f, m) {
1534
- {
1535
- var R = ae.ReactDebugCurrentFrame, L = R.getStackAddendum();
1536
- L !== "" && (f += "%s", m = m.concat([L]));
1537
- var U = m.map(function(I) {
1538
- return String(I);
1539
- });
1540
- U.unshift("Warning: " + f), Function.prototype.apply.call(console[n], console, U);
1541
- }
1542
- }
1543
- var te = !1, Y = !1, oe = !1, me = !1, xe = !1, Ae;
1544
- Ae = Symbol.for("react.module.reference");
1545
- function Fe(n) {
1546
- return !!(typeof n == "string" || typeof n == "function" || n === l || n === h || xe || n === p || n === N || n === w || me || n === Z || te || Y || oe || typeof n == "object" && n !== null && (n.$$typeof === q || n.$$typeof === k || n.$$typeof === g || n.$$typeof === x || n.$$typeof === C || // This needs to include all possible module reference object
1547
- // types supported by any Flight configuration anywhere since
1548
- // we don't know which Flight build this will end up being used
1549
- // with.
1550
- n.$$typeof === Ae || n.getModuleId !== void 0));
1551
- }
1552
- function dt(n, f, m) {
1553
- var R = n.displayName;
1554
- if (R)
1555
- return R;
1556
- var L = f.displayName || f.name || "";
1557
- return L !== "" ? m + "(" + L + ")" : m;
1558
- }
1559
- function Le(n) {
1560
- return n.displayName || "Context";
1561
- }
1562
- function fe(n) {
1563
- if (n == null)
1564
- return null;
1565
- if (typeof n.tag == "number" && M("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
1566
- return n.displayName || n.name || null;
1567
- if (typeof n == "string")
1568
- return n;
1569
- switch (n) {
1570
- case l:
1571
- return "Fragment";
1572
- case u:
1573
- return "Portal";
1574
- case h:
1575
- return "Profiler";
1576
- case p:
1577
- return "StrictMode";
1578
- case N:
1579
- return "Suspense";
1580
- case w:
1581
- return "SuspenseList";
1582
- }
1583
- if (typeof n == "object")
1584
- switch (n.$$typeof) {
1585
- case x:
1586
- var f = n;
1587
- return Le(f) + ".Consumer";
1588
- case g:
1589
- var m = n;
1590
- return Le(m._context) + ".Provider";
1591
- case C:
1592
- return dt(n, n.render, "ForwardRef");
1593
- case k:
1594
- var R = n.displayName || null;
1595
- return R !== null ? R : fe(n.type) || "Memo";
1596
- case q: {
1597
- var L = n, U = L._payload, I = L._init;
1598
- try {
1599
- return fe(I(U));
1600
- } catch {
1601
- return null;
1602
- }
1603
- }
1604
- }
1605
- return null;
1606
- }
1607
- var pe = Object.assign, ce = 0, ye, b, be, Me, Ee, a, d;
1608
- function P() {
1609
- }
1610
- P.__reactDisabledLog = !0;
1611
- function D() {
1612
- {
1613
- if (ce === 0) {
1614
- ye = console.log, b = console.info, be = console.warn, Me = console.error, Ee = console.group, a = console.groupCollapsed, d = console.groupEnd;
1615
- var n = {
1616
- configurable: !0,
1617
- enumerable: !0,
1618
- value: P,
1619
- writable: !0
1620
- };
1621
- Object.defineProperties(console, {
1622
- info: n,
1623
- log: n,
1624
- warn: n,
1625
- error: n,
1626
- group: n,
1627
- groupCollapsed: n,
1628
- groupEnd: n
1629
- });
1630
- }
1631
- ce++;
1632
- }
1633
- }
1634
- function F() {
1635
- {
1636
- if (ce--, ce === 0) {
1637
- var n = {
1638
- configurable: !0,
1639
- enumerable: !0,
1640
- writable: !0
1641
- };
1642
- Object.defineProperties(console, {
1643
- log: pe({}, n, {
1644
- value: ye
1645
- }),
1646
- info: pe({}, n, {
1647
- value: b
1648
- }),
1649
- warn: pe({}, n, {
1650
- value: be
1651
- }),
1652
- error: pe({}, n, {
1653
- value: Me
1654
- }),
1655
- group: pe({}, n, {
1656
- value: Ee
1657
- }),
1658
- groupCollapsed: pe({}, n, {
1659
- value: a
1660
- }),
1661
- groupEnd: pe({}, n, {
1662
- value: d
1663
- })
1664
- });
1665
- }
1666
- ce < 0 && M("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
1667
- }
1668
- }
1669
- var H = ae.ReactCurrentDispatcher, z;
1670
- function W(n, f, m) {
1671
- {
1672
- if (z === void 0)
1673
- try {
1674
- throw Error();
1675
- } catch (L) {
1676
- var R = L.stack.trim().match(/\n( *(at )?)/);
1677
- z = R && R[1] || "";
1678
- }
1679
- return `
1680
- ` + z + n;
1681
- }
1682
- }
1683
- var B = !1, re;
1684
- {
1685
- var Xt = typeof WeakMap == "function" ? WeakMap : Map;
1686
- re = new Xt();
1687
- }
1688
- function Rt(n, f) {
1689
- if (!n || B)
1690
- return "";
1691
- {
1692
- var m = re.get(n);
1693
- if (m !== void 0)
1694
- return m;
1695
- }
1696
- var R;
1697
- B = !0;
1698
- var L = Error.prepareStackTrace;
1699
- Error.prepareStackTrace = void 0;
1700
- var U;
1701
- U = H.current, H.current = null, D();
1702
- try {
1703
- if (f) {
1704
- var I = function() {
1705
- throw Error();
1706
- };
1707
- if (Object.defineProperty(I.prototype, "props", {
1708
- set: function() {
1709
- throw Error();
1710
- }
1711
- }), typeof Reflect == "object" && Reflect.construct) {
1712
- try {
1713
- Reflect.construct(I, []);
1714
- } catch (de) {
1715
- R = de;
1716
- }
1717
- Reflect.construct(n, [], I);
1718
- } else {
1719
- try {
1720
- I.call();
1721
- } catch (de) {
1722
- R = de;
1723
- }
1724
- n.call(I.prototype);
1725
- }
1726
- } else {
1727
- try {
1728
- throw Error();
1729
- } catch (de) {
1730
- R = de;
1731
- }
1732
- n();
1733
- }
1734
- } catch (de) {
1735
- if (de && R && typeof de.stack == "string") {
1736
- for (var T = de.stack.split(`
1737
- `), ue = R.stack.split(`
1738
- `), X = T.length - 1, Q = ue.length - 1; X >= 1 && Q >= 0 && T[X] !== ue[Q]; )
1739
- Q--;
1740
- for (; X >= 1 && Q >= 0; X--, Q--)
1741
- if (T[X] !== ue[Q]) {
1742
- if (X !== 1 || Q !== 1)
1743
- do
1744
- if (X--, Q--, Q < 0 || T[X] !== ue[Q]) {
1745
- var ve = `
1746
- ` + T[X].replace(" at new ", " at ");
1747
- return n.displayName && ve.includes("<anonymous>") && (ve = ve.replace("<anonymous>", n.displayName)), typeof n == "function" && re.set(n, ve), ve;
1748
- }
1749
- while (X >= 1 && Q >= 0);
1750
- break;
1751
- }
1752
- }
1753
- } finally {
1754
- B = !1, H.current = U, F(), Error.prepareStackTrace = L;
1755
- }
1756
- var Ie = n ? n.displayName || n.name : "", Se = Ie ? W(Ie) : "";
1757
- return typeof n == "function" && re.set(n, Se), Se;
1758
- }
1759
- function Xe(n, f, m) {
1760
- return Rt(n, !1);
1761
- }
1762
- function Jt(n) {
1763
- var f = n.prototype;
1764
- return !!(f && f.isReactComponent);
1765
- }
1766
- function Je(n, f, m) {
1767
- if (n == null)
1768
- return "";
1769
- if (typeof n == "function")
1770
- return Rt(n, Jt(n));
1771
- if (typeof n == "string")
1772
- return W(n);
1773
- switch (n) {
1774
- case N:
1775
- return W("Suspense");
1776
- case w:
1777
- return W("SuspenseList");
1778
- }
1779
- if (typeof n == "object")
1780
- switch (n.$$typeof) {
1781
- case C:
1782
- return Xe(n.render);
1783
- case k:
1784
- return Je(n.type, f, m);
1785
- case q: {
1786
- var R = n, L = R._payload, U = R._init;
1787
- try {
1788
- return Je(U(L), f, m);
1789
- } catch {
1790
- }
1791
- }
1792
- }
1793
- return "";
1794
- }
1795
- var Te = Object.prototype.hasOwnProperty, Be = {}, St = ae.ReactDebugCurrentFrame;
1796
- function Ue(n) {
1797
- if (n) {
1798
- var f = n._owner, m = Je(n.type, n._source, f ? f.type : null);
1799
- St.setExtraStackFrame(m);
1800
- } else
1801
- St.setExtraStackFrame(null);
1802
- }
1803
- function Ce(n, f, m, R, L) {
1804
- {
1805
- var U = Function.call.bind(Te);
1806
- for (var I in n)
1807
- if (U(n, I)) {
1808
- var T = void 0;
1809
- try {
1810
- if (typeof n[I] != "function") {
1811
- var ue = Error((R || "React class") + ": " + m + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[I] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
1812
- throw ue.name = "Invariant Violation", ue;
1813
- }
1814
- T = n[I](f, I, R, m, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
1815
- } catch (X) {
1816
- T = X;
1817
- }
1818
- T && !(T instanceof Error) && (Ue(L), M("%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).", R || "React class", m, I, typeof T), Ue(null)), T instanceof Error && !(T.message in Be) && (Be[T.message] = !0, Ue(L), M("Failed %s type: %s", m, T.message), Ue(null));
1819
- }
1820
- }
1821
- }
1822
- var We = Array.isArray;
1823
- function Qe(n) {
1824
- return We(n);
1825
- }
1826
- function wt(n) {
1827
- {
1828
- var f = typeof Symbol == "function" && Symbol.toStringTag, m = f && n[Symbol.toStringTag] || n.constructor.name || "Object";
1829
- return m;
1830
- }
1831
- }
1832
- function jt(n) {
1833
- try {
1834
- return Ze(n), !1;
1835
- } catch {
1836
- return !0;
1837
- }
1838
- }
1839
- function Ze(n) {
1840
- return "" + n;
1841
- }
1842
- function mt(n) {
1843
- if (jt(n))
1844
- return M("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", wt(n)), Ze(n);
1845
- }
1846
- var Oe = ae.ReactCurrentOwner, Qt = {
1847
- key: !0,
1848
- ref: !0,
1849
- __self: !0,
1850
- __source: !0
1851
- }, kt, Tt, Ye;
1852
- Ye = {};
1853
- function Zt(n) {
1854
- if (Te.call(n, "ref")) {
1855
- var f = Object.getOwnPropertyDescriptor(n, "ref").get;
1856
- if (f && f.isReactWarning)
1857
- return !1;
1858
- }
1859
- return n.ref !== void 0;
1860
- }
1861
- function er(n) {
1862
- if (Te.call(n, "key")) {
1863
- var f = Object.getOwnPropertyDescriptor(n, "key").get;
1864
- if (f && f.isReactWarning)
1865
- return !1;
1866
- }
1867
- return n.key !== void 0;
1868
- }
1869
- function tr(n, f) {
1870
- if (typeof n.ref == "string" && Oe.current && f && Oe.current.stateNode !== f) {
1871
- var m = fe(Oe.current.type);
1872
- Ye[m] || (M('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', fe(Oe.current.type), n.ref), Ye[m] = !0);
1873
- }
1874
- }
1875
- function Pe(n, f) {
1876
- {
1877
- var m = function() {
1878
- kt || (kt = !0, M("%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)", f));
1879
- };
1880
- m.isReactWarning = !0, Object.defineProperty(n, "key", {
1881
- get: m,
1882
- configurable: !0
1883
- });
1884
- }
1885
- }
1886
- function Ot(n, f) {
1887
- {
1888
- var m = function() {
1889
- Tt || (Tt = !0, M("%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)", f));
1890
- };
1891
- m.isReactWarning = !0, Object.defineProperty(n, "ref", {
1892
- get: m,
1893
- configurable: !0
1894
- });
1895
- }
1896
- }
1897
- var rr = function(n, f, m, R, L, U, I) {
1898
- var T = {
1899
- // This tag allows us to uniquely identify this as a React Element
1900
- $$typeof: o,
1901
- // Built-in properties that belong on the element
1902
- type: n,
1903
- key: f,
1904
- ref: m,
1905
- props: I,
1906
- // Record the component responsible for creating this element.
1907
- _owner: U
1908
- };
1909
- return T._store = {}, Object.defineProperty(T._store, "validated", {
1910
- configurable: !1,
1911
- enumerable: !1,
1912
- writable: !0,
1913
- value: !1
1914
- }), Object.defineProperty(T, "_self", {
1915
- configurable: !1,
1916
- enumerable: !1,
1917
- writable: !1,
1918
- value: R
1919
- }), Object.defineProperty(T, "_source", {
1920
- configurable: !1,
1921
- enumerable: !1,
1922
- writable: !1,
1923
- value: L
1924
- }), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
1925
- };
1926
- function nr(n, f, m, R, L) {
1927
- {
1928
- var U, I = {}, T = null, ue = null;
1929
- m !== void 0 && (mt(m), T = "" + m), er(f) && (mt(f.key), T = "" + f.key), Zt(f) && (ue = f.ref, tr(f, L));
1930
- for (U in f)
1931
- Te.call(f, U) && !Qt.hasOwnProperty(U) && (I[U] = f[U]);
1932
- if (n && n.defaultProps) {
1933
- var X = n.defaultProps;
1934
- for (U in X)
1935
- I[U] === void 0 && (I[U] = X[U]);
1936
- }
1937
- if (T || ue) {
1938
- var Q = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
1939
- T && Pe(I, Q), ue && Ot(I, Q);
1940
- }
1941
- return rr(n, T, ue, L, R, Oe.current, I);
1942
- }
1943
- }
1944
- var et = ae.ReactCurrentOwner, Pt = ae.ReactDebugCurrentFrame;
1945
- function Re(n) {
1946
- if (n) {
1947
- var f = n._owner, m = Je(n.type, n._source, f ? f.type : null);
1948
- Pt.setExtraStackFrame(m);
1949
- } else
1950
- Pt.setExtraStackFrame(null);
1951
- }
1952
- var ze;
1953
- ze = !1;
1954
- function Ne(n) {
1955
- return typeof n == "object" && n !== null && n.$$typeof === o;
1956
- }
1957
- function Ve() {
1958
- {
1959
- if (et.current) {
1960
- var n = fe(et.current.type);
1961
- if (n)
1962
- return `
1963
-
1964
- Check the render method of \`` + n + "`.";
1965
- }
1966
- return "";
1967
- }
1968
- }
1969
- function or(n) {
1970
- return "";
1971
- }
1972
- var Nt = {};
1973
- function ar(n) {
1974
- {
1975
- var f = Ve();
1976
- if (!f) {
1977
- var m = typeof n == "string" ? n : n.displayName || n.name;
1978
- m && (f = `
1979
-
1980
- Check the top-level render call using <` + m + ">.");
1981
- }
1982
- return f;
1983
- }
1984
- }
1985
- function It(n, f) {
1986
- {
1987
- if (!n._store || n._store.validated || n.key != null)
1988
- return;
1989
- n._store.validated = !0;
1990
- var m = ar(f);
1991
- if (Nt[m])
1992
- return;
1993
- Nt[m] = !0;
1994
- var R = "";
1995
- n && n._owner && n._owner !== et.current && (R = " It was passed a child from " + fe(n._owner.type) + "."), Re(n), M('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', m, R), Re(null);
1996
- }
1997
- }
1998
- function Dt(n, f) {
1999
- {
2000
- if (typeof n != "object")
2001
- return;
2002
- if (Qe(n))
2003
- for (var m = 0; m < n.length; m++) {
2004
- var R = n[m];
2005
- Ne(R) && It(R, f);
2006
- }
2007
- else if (Ne(n))
2008
- n._store && (n._store.validated = !0);
2009
- else if (n) {
2010
- var L = ee(n);
2011
- if (typeof L == "function" && L !== n.entries)
2012
- for (var U = L.call(n), I; !(I = U.next()).done; )
2013
- Ne(I.value) && It(I.value, f);
2014
- }
2015
- }
2016
- }
2017
- function He(n) {
2018
- {
2019
- var f = n.type;
2020
- if (f == null || typeof f == "string")
2021
- return;
2022
- var m;
2023
- if (typeof f == "function")
2024
- m = f.propTypes;
2025
- else if (typeof f == "object" && (f.$$typeof === C || // Note: Memo only checks outer props here.
2026
- // Inner props are checked in the reconciler.
2027
- f.$$typeof === k))
2028
- m = f.propTypes;
2029
- else
2030
- return;
2031
- if (m) {
2032
- var R = fe(f);
2033
- Ce(m, n.props, "prop", R, n);
2034
- } else if (f.PropTypes !== void 0 && !ze) {
2035
- ze = !0;
2036
- var L = fe(f);
2037
- M("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", L || "Unknown");
2038
- }
2039
- typeof f.getDefaultProps == "function" && !f.getDefaultProps.isReactClassApproved && M("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
2040
- }
2041
- }
2042
- function pt(n) {
2043
- {
2044
- for (var f = Object.keys(n.props), m = 0; m < f.length; m++) {
2045
- var R = f[m];
2046
- if (R !== "children" && R !== "key") {
2047
- Re(n), M("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", R), Re(null);
2048
- break;
2049
- }
2050
- }
2051
- n.ref !== null && (Re(n), M("Invalid attribute `ref` supplied to `React.Fragment`."), Re(null));
2052
- }
2053
- }
2054
- var vt = {};
2055
- function $t(n, f, m, R, L, U) {
2056
- {
2057
- var I = Fe(n);
2058
- if (!I) {
2059
- var T = "";
2060
- (n === void 0 || typeof n == "object" && n !== null && Object.keys(n).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.");
2061
- var ue = or();
2062
- ue ? T += ue : T += Ve();
2063
- var X;
2064
- n === null ? X = "null" : Qe(n) ? X = "array" : n !== void 0 && n.$$typeof === o ? (X = "<" + (fe(n.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : X = typeof n, M("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", X, T);
2065
- }
2066
- var Q = nr(n, f, m, L, U);
2067
- if (Q == null)
2068
- return Q;
2069
- if (I) {
2070
- var ve = f.children;
2071
- if (ve !== void 0)
2072
- if (R)
2073
- if (Qe(ve)) {
2074
- for (var Ie = 0; Ie < ve.length; Ie++)
2075
- Dt(ve[Ie], n);
2076
- Object.freeze && Object.freeze(ve);
2077
- } else
2078
- M("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
2079
- else
2080
- Dt(ve, n);
2081
- }
2082
- if (Te.call(f, "key")) {
2083
- var Se = fe(n), de = Object.keys(f).filter(function(lr) {
2084
- return lr !== "key";
2085
- }), ht = de.length > 0 ? "{key: someKey, " + de.join(": ..., ") + ": ...}" : "{key: someKey}";
2086
- if (!vt[Se + ht]) {
2087
- var ur = de.length > 0 ? "{" + de.join(": ..., ") + ": ...}" : "{}";
2088
- M(`A props object containing a "key" prop is being spread into JSX:
2089
- let props = %s;
2090
- <%s {...props} />
2091
- React keys must be passed directly to JSX without using spread:
2092
- let props = %s;
2093
- <%s key={someKey} {...props} />`, ht, Se, ur, Se), vt[Se + ht] = !0;
2094
- }
2095
- }
2096
- return n === l ? pt(Q) : He(Q), Q;
2097
- }
2098
- }
2099
- function ir(n, f, m) {
2100
- return $t(n, f, m, !0);
2101
- }
2102
- function sr(n, f, m) {
2103
- return $t(n, f, m, !1);
2104
- }
2105
- var cr = sr, At = ir;
2106
- yt.Fragment = l, yt.jsx = cr, yt.jsxs = At;
2107
- }()), yt;
2108
- }
2109
- process.env.NODE_ENV === "production" ? Cr.exports = to() : Cr.exports = ro();
2110
- var s = Cr.exports;
2111
- function pn(t) {
2112
- var o, u, l = "";
2113
- if (typeof t == "string" || typeof t == "number") l += t;
2114
- else if (typeof t == "object") if (Array.isArray(t)) {
2115
- var p = t.length;
2116
- for (o = 0; o < p; o++) t[o] && (u = pn(t[o])) && (l && (l += " "), l += u);
2117
- } else for (u in t) t[u] && (l && (l += " "), l += u);
2118
- return l;
2119
- }
2120
- function no() {
2121
- for (var t, o, u = 0, l = "", p = arguments.length; u < p; u++) (t = arguments[u]) && (o = pn(t)) && (l && (l += " "), l += o);
2122
- return l;
2123
- }
2124
- function S(...t) {
2125
- return no(...t).replaceAll(`
2126
- `, "").split(" ").filter((o) => o !== "").join(" ");
2127
- }
2128
- const oo = "_theme_1rrjw_10", ao = "_level0_1rrjw_27", io = "_level1_1rrjw_95", so = "_level2_1rrjw_157", co = "_level3_1rrjw_221", uo = "_mobile_1rrjw_284", De = {
2129
- theme: oo,
2130
- level0: ao,
2131
- level1: io,
2132
- level2: so,
2133
- level3: co,
2134
- mobile: uo
2135
- }, Gt = _.createContext(0), ct = () => _.useContext(Gt), xt = (t) => {
2136
- switch (t) {
2137
- case 0:
2138
- return De.level0;
2139
- case 1:
2140
- return De.level1;
2141
- case 2:
2142
- return De.level2;
2143
- case 3:
2144
- return De.level3;
2145
- default:
2146
- return De.level0;
2147
- }
2148
- }, it = (t) => /* @__PURE__ */ s.jsx(Gt.Provider, { value: ct() + 1, children: t.children }), lo = "_component_yvjet_10", fo = {
2149
- component: lo
2150
- }, ot = (t) => {
2151
- const o = t.level || ct();
2152
- return /* @__PURE__ */ s.jsx("div", { className: S(fo.component, t.className, xt(o)), children: /* @__PURE__ */ s.jsx(it, { children: t.children }) });
2153
- }, mo = "_component_1jj21_10", po = {
2154
- component: mo
2155
- }, Kt = (t) => /* @__PURE__ */ s.jsx(
2156
- "button",
2157
- {
2158
- className: S(po.component, t.className),
2159
- onClick: t.onClick,
2160
- "aria-label": t.text,
2161
- disabled: t.disabled,
2162
- type: "button",
2163
- children: t.text
2164
- }
2165
- ), vo = "_component_17nsv_6", ho = {
2166
- component: vo
2167
- }, _o = ({ children: t, className: o }) => /* @__PURE__ */ s.jsx("div", { className: S(ho.component, o), children: t });
2168
- /**
2169
- * @remix-run/router v1.21.0
2170
- *
2171
- * Copyright (c) Remix Software Inc.
2172
- *
2173
- * This source code is licensed under the MIT license found in the
2174
- * LICENSE.md file in the root directory of this source tree.
2175
- *
2176
- * @license MIT
2177
- */
2178
- function Er() {
2179
- return Er = Object.assign ? Object.assign.bind() : function(t) {
2180
- for (var o = 1; o < arguments.length; o++) {
2181
- var u = arguments[o];
2182
- for (var l in u)
2183
- Object.prototype.hasOwnProperty.call(u, l) && (t[l] = u[l]);
2184
- }
2185
- return t;
2186
- }, Er.apply(this, arguments);
2187
- }
2188
- var on;
2189
- (function(t) {
2190
- t.Pop = "POP", t.Push = "PUSH", t.Replace = "REPLACE";
2191
- })(on || (on = {}));
2192
- function he(t, o) {
2193
- if (t === !1 || t === null || typeof t > "u")
2194
- throw new Error(o);
2195
- }
2196
- function vn(t, o) {
2197
- if (!t) {
2198
- typeof console < "u" && console.warn(o);
2199
- try {
2200
- throw new Error(o);
2201
- } catch {
2202
- }
2203
- }
2204
- }
2205
- function hn(t) {
2206
- let o = {};
2207
- if (t) {
2208
- let u = t.indexOf("#");
2209
- u >= 0 && (o.hash = t.substr(u), t = t.substr(0, u));
2210
- let l = t.indexOf("?");
2211
- l >= 0 && (o.search = t.substr(l), t = t.substr(0, l)), t && (o.pathname = t);
2212
- }
2213
- return o;
2214
- }
2215
- var an;
2216
- (function(t) {
2217
- t.data = "data", t.deferred = "deferred", t.redirect = "redirect", t.error = "error";
2218
- })(an || (an = {}));
2219
- function go(t, o) {
2220
- o === void 0 && (o = "/");
2221
- let {
2222
- pathname: u,
2223
- search: l = "",
2224
- hash: p = ""
2225
- } = typeof t == "string" ? hn(t) : t;
2226
- return {
2227
- pathname: u ? u.startsWith("/") ? u : yo(u, o) : o,
2228
- search: Ro(l),
2229
- hash: So(p)
2230
- };
2231
- }
2232
- function yo(t, o) {
2233
- let u = o.replace(/\/+$/, "").split("/");
2234
- return t.split("/").forEach((p) => {
2235
- p === ".." ? u.length > 1 && u.pop() : p !== "." && u.push(p);
2236
- }), u.length > 1 ? u.join("/") : "/";
2237
- }
2238
- function yr(t, o, u, l) {
2239
- return "Cannot include a '" + t + "' character in a manually specified " + ("`to." + o + "` field [" + JSON.stringify(l) + "]. Please separate it out to the ") + ("`to." + u + "` field. Alternatively you may provide the full path as ") + 'a string in <Link to="..."> and the router will parse it for you.';
2240
- }
2241
- function bo(t) {
2242
- return t.filter((o, u) => u === 0 || o.route.path && o.route.path.length > 0);
2243
- }
2244
- function Co(t, o) {
2245
- let u = bo(t);
2246
- return o ? u.map((l, p) => p === u.length - 1 ? l.pathname : l.pathnameBase) : u.map((l) => l.pathnameBase);
2247
- }
2248
- function xo(t, o, u, l) {
2249
- l === void 0 && (l = !1);
2250
- let p;
2251
- typeof t == "string" ? p = hn(t) : (p = Er({}, t), he(!p.pathname || !p.pathname.includes("?"), yr("?", "pathname", "search", p)), he(!p.pathname || !p.pathname.includes("#"), yr("#", "pathname", "hash", p)), he(!p.search || !p.search.includes("#"), yr("#", "search", "hash", p)));
2252
- let h = t === "" || p.pathname === "", g = h ? "/" : p.pathname, x;
2253
- if (g == null)
2254
- x = u;
2255
- else {
2256
- let k = o.length - 1;
2257
- if (!l && g.startsWith("..")) {
2258
- let q = g.split("/");
2259
- for (; q[0] === ".."; )
2260
- q.shift(), k -= 1;
2261
- p.pathname = q.join("/");
2262
- }
2263
- x = k >= 0 ? o[k] : "/";
2264
- }
2265
- let C = go(p, x), N = g && g !== "/" && g.endsWith("/"), w = (h || g === ".") && u.endsWith("/");
2266
- return !C.pathname.endsWith("/") && (N || w) && (C.pathname += "/"), C;
2267
- }
2268
- const Eo = (t) => t.join("/").replace(/\/\/+/g, "/"), Ro = (t) => !t || t === "?" ? "" : t.startsWith("?") ? t : "?" + t, So = (t) => !t || t === "#" ? "" : t.startsWith("#") ? t : "#" + t, _n = ["post", "put", "patch", "delete"];
2269
- new Set(_n);
2270
- const wo = ["get", ..._n];
2271
- new Set(wo);
2272
- /**
2273
- * React Router v6.28.0
2274
- *
2275
- * Copyright (c) Remix Software Inc.
2276
- *
2277
- * This source code is licensed under the MIT license found in the
2278
- * LICENSE.md file in the root directory of this source tree.
2279
- *
2280
- * @license MIT
2281
- */
2282
- function Rr() {
2283
- return Rr = Object.assign ? Object.assign.bind() : function(t) {
2284
- for (var o = 1; o < arguments.length; o++) {
2285
- var u = arguments[o];
2286
- for (var l in u)
2287
- Object.prototype.hasOwnProperty.call(u, l) && (t[l] = u[l]);
2288
- }
2289
- return t;
2290
- }, Rr.apply(this, arguments);
2291
- }
2292
- const Sr = /* @__PURE__ */ _.createContext(null);
2293
- process.env.NODE_ENV !== "production" && (Sr.displayName = "DataRouter");
2294
- const jo = /* @__PURE__ */ _.createContext(null);
2295
- process.env.NODE_ENV !== "production" && (jo.displayName = "DataRouterState");
2296
- const ko = /* @__PURE__ */ _.createContext(null);
2297
- process.env.NODE_ENV !== "production" && (ko.displayName = "Await");
2298
- const wr = /* @__PURE__ */ _.createContext(null);
2299
- process.env.NODE_ENV !== "production" && (wr.displayName = "Navigation");
2300
- const jr = /* @__PURE__ */ _.createContext(null);
2301
- process.env.NODE_ENV !== "production" && (jr.displayName = "Location");
2302
- const Et = /* @__PURE__ */ _.createContext({
2303
- outlet: null,
2304
- matches: [],
2305
- isDataRoute: !1
2306
- });
2307
- process.env.NODE_ENV !== "production" && (Et.displayName = "Route");
2308
- const To = /* @__PURE__ */ _.createContext(null);
2309
- process.env.NODE_ENV !== "production" && (To.displayName = "RouteError");
2310
- function gn() {
2311
- return _.useContext(jr) != null;
2312
- }
2313
- function Oo() {
2314
- return gn() || (process.env.NODE_ENV !== "production" ? he(
2315
- !1,
2316
- // TODO: This error is probably because they somehow have 2 versions of the
2317
- // router loaded. We can help them understand how to avoid that.
2318
- "useLocation() may be used only in the context of a <Router> component."
2319
- ) : he(!1)), _.useContext(jr).location;
2320
- }
2321
- const yn = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
2322
- function bn(t) {
2323
- _.useContext(wr).static || _.useLayoutEffect(t);
2324
- }
2325
- function Cn() {
2326
- let {
2327
- isDataRoute: t
2328
- } = _.useContext(Et);
2329
- return t ? Fo() : Po();
2330
- }
2331
- function Po() {
2332
- gn() || (process.env.NODE_ENV !== "production" ? he(
2333
- !1,
2334
- // TODO: This error is probably because they somehow have 2 versions of the
2335
- // router loaded. We can help them understand how to avoid that.
2336
- "useNavigate() may be used only in the context of a <Router> component."
2337
- ) : he(!1));
2338
- let t = _.useContext(Sr), {
2339
- basename: o,
2340
- future: u,
2341
- navigator: l
2342
- } = _.useContext(wr), {
2343
- matches: p
2344
- } = _.useContext(Et), {
2345
- pathname: h
2346
- } = Oo(), g = JSON.stringify(Co(p, u.v7_relativeSplatPath)), x = _.useRef(!1);
2347
- return bn(() => {
2348
- x.current = !0;
2349
- }), _.useCallback(function(N, w) {
2350
- if (w === void 0 && (w = {}), process.env.NODE_ENV !== "production" && vn(x.current, yn), !x.current) return;
2351
- if (typeof N == "number") {
2352
- l.go(N);
2353
- return;
2354
- }
2355
- let k = xo(N, JSON.parse(g), h, w.relative === "path");
2356
- t == null && o !== "/" && (k.pathname = k.pathname === "/" ? o : Eo([o, k.pathname])), (w.replace ? l.replace : l.push)(k, w.state, w);
2357
- }, [o, l, g, h, t]);
2358
- }
2359
- const No = /* @__PURE__ */ _.createContext(null);
2360
- function Io(t) {
2361
- let o = _.useContext(Et).outlet;
2362
- return o && /* @__PURE__ */ _.createElement(No.Provider, {
2363
- value: t
2364
- }, o);
2365
- }
2366
- var xn = /* @__PURE__ */ function(t) {
2367
- return t.UseBlocker = "useBlocker", t.UseRevalidator = "useRevalidator", t.UseNavigateStable = "useNavigate", t;
2368
- }(xn || {}), En = /* @__PURE__ */ function(t) {
2369
- return t.UseBlocker = "useBlocker", t.UseLoaderData = "useLoaderData", t.UseActionData = "useActionData", t.UseRouteError = "useRouteError", t.UseNavigation = "useNavigation", t.UseRouteLoaderData = "useRouteLoaderData", t.UseMatches = "useMatches", t.UseRevalidator = "useRevalidator", t.UseNavigateStable = "useNavigate", t.UseRouteId = "useRouteId", t;
2370
- }(En || {});
2371
- function Rn(t) {
2372
- return t + " must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router.";
2373
- }
2374
- function Do(t) {
2375
- let o = _.useContext(Sr);
2376
- return o || (process.env.NODE_ENV !== "production" ? he(!1, Rn(t)) : he(!1)), o;
2377
- }
2378
- function $o(t) {
2379
- let o = _.useContext(Et);
2380
- return o || (process.env.NODE_ENV !== "production" ? he(!1, Rn(t)) : he(!1)), o;
2381
- }
2382
- function Ao(t) {
2383
- let o = $o(t), u = o.matches[o.matches.length - 1];
2384
- return u.route.id || (process.env.NODE_ENV !== "production" ? he(!1, t + ' can only be used on routes that contain a unique "id"') : he(!1)), u.route.id;
2385
- }
2386
- function Fo() {
2387
- let {
2388
- router: t
2389
- } = Do(xn.UseNavigateStable), o = Ao(En.UseNavigateStable), u = _.useRef(!1);
2390
- return bn(() => {
2391
- u.current = !0;
2392
- }), _.useCallback(function(p, h) {
2393
- h === void 0 && (h = {}), process.env.NODE_ENV !== "production" && vn(u.current, yn), u.current && (typeof p == "number" ? t.navigate(p) : t.navigate(p, Rr({
2394
- fromRouteId: o
2395
- }, h)));
2396
- }, [t, o]);
2397
- }
2398
- function Lo(t) {
2399
- return Io(t.context);
2400
- }
2401
- new Promise(() => {
2402
- });
2403
- const Mo = "_component_1d200_10", Bo = "_link_1d200_46", Uo = {
2404
- component: Mo,
2405
- link: Bo
2406
- }, Wo = (t) => {
2407
- const o = Cn();
2408
- return /* @__PURE__ */ s.jsx(
2409
- Kt,
2410
- {
2411
- onClick: () => (o(t.to), 0),
2412
- text: t.text,
2413
- className: S(Uo.component, t.className)
2414
- }
2415
- );
2416
- }, Yo = "_component_1asux_6", zo = "_preserveColor_1asux_20", sn = {
2417
- component: Yo,
2418
- preserveColor: zo
2419
- }, Sn = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.5%2012C3.11929%2012%202%2010.8807%202%209.5C2%208.27003%202.88822%207.24752%204.05823%207.03891C4.0201%206.86534%204%206.68502%204%206.5C4%205.11929%205.11929%204%206.5%204C7.74358%204%208.77509%204.908%208.96772%206.09719C9.13314%206.03438%209.31255%206%209.5%206C10.1768%206%2010.7489%206.4482%2010.9356%207.06396C11.117%207.02212%2011.3059%207%2011.5%207C12.8807%207%2014%208.11929%2014%209.5C14%2010.8807%2012.8807%2012%2011.5%2012H4.5ZM7.56111%207.81633L7.68889%209.63946H8.31111L8.43889%207.81633V7H7.56111V7.81633ZM7.61111%2010.8966C7.68889%2010.9655%207.79074%2011%207.91667%2011H8.07778C8.20741%2011%208.30926%2010.9655%208.38333%2010.8966C8.46111%2010.8277%208.5%2010.7351%208.5%2010.619C8.5%2010.5029%208.46111%2010.4104%208.38333%2010.3415C8.30926%2010.2726%208.20926%2010.2381%208.08333%2010.2381H7.91667C7.79074%2010.2381%207.68889%2010.2726%207.61111%2010.3415C7.53704%2010.4104%207.5%2010.5029%207.5%2010.619C7.5%2010.7315%207.53704%2010.824%207.61111%2010.8966Z'%20fill='white'/%3e%3c/svg%3e", Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2420
- __proto__: null,
2421
- default: Sn
2422
- }, Symbol.toStringTag, { value: "Module" })), ut = (t) => {
2423
- const [o, u] = _.useState(Sn);
2424
- return _.useEffect(() => {
2425
- typeof t.icon == "function" && t.icon().then((l) => {
2426
- u(l.default);
2427
- });
2428
- }, [t.icon]), /* @__PURE__ */ s.jsx(
2429
- "div",
2430
- {
2431
- className: `${sn.component} ${t.className} ${t.preserveColor ? sn.preserveColor : ""}`,
2432
- style: {
2433
- "--icon": `url("${o}")`,
2434
- ...t.preserveColor ? {} : { "--color": t.color },
2435
- // @ts-ignore
2436
- "--size": t.size
2437
- }
2438
- }
2439
- );
2440
- }, Ho = "_component_p4tfu_10", qo = "_icon_p4tfu_49", cn = {
2441
- component: Ho,
2442
- icon: qo
2443
- }, wn = (t) => /* @__PURE__ */ s.jsxs(
2444
- "button",
2445
- {
2446
- className: S(cn.component, t.className),
2447
- onClick: t.onClick,
2448
- "aria-label": t.text,
2449
- disabled: t.disabled,
2450
- children: [
2451
- /* @__PURE__ */ s.jsx(
2452
- ut,
2453
- {
2454
- size: "1.25rem",
2455
- className: cn.icon,
2456
- icon: t.icon
2457
- }
2458
- ),
2459
- t.text
2460
- ]
2461
- }
2462
- ), Go = "_component_18x96_10", Ko = "_clickable_18x96_25", Xo = "_header_18x96_52", Jo = "_actions_18x96_59", Qo = "_content_18x96_67", we = {
2463
- component: Go,
2464
- clickable: Ko,
2465
- header: Xo,
2466
- actions: Jo,
2467
- content: Qo
2468
- }, jn = (t) => /* @__PURE__ */ s.jsx(Gt.Provider, { value: ct() - 1, children: t.children }), lt = (t) => {
2469
- const o = t.level || ct();
2470
- return t.onClick ? /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsx(it, { children: /* @__PURE__ */ s.jsxs(
2471
- "button",
2472
- {
2473
- style: t.style,
2474
- className: S(we.component, xt(o), t.containerClassName, we.clickable),
2475
- onClick: t.onClick,
2476
- children: [
2477
- t.header && /* @__PURE__ */ s.jsx(ot, { className: S(we.header, t.headerClassName), children: t.header }),
2478
- /* @__PURE__ */ s.jsx("div", { className: S(we.content, t.className), children: t.children }),
2479
- t.actions && /* @__PURE__ */ s.jsx(ot, { className: S(we.actions, t.actionsClassName), children: t.actions })
2480
- ]
2481
- }
2482
- ) }) }) : /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsx(it, { children: /* @__PURE__ */ s.jsxs(
2483
- "div",
2484
- {
2485
- style: t.style,
2486
- className: S(we.component, xt(o), t.containerClassName),
2487
- children: [
2488
- t.header && /* @__PURE__ */ s.jsx(ot, { className: S(we.header, t.headerClassName), children: t.header }),
2489
- /* @__PURE__ */ s.jsx("div", { className: S(we.content, t.className), children: t.children }),
2490
- /* @__PURE__ */ s.jsx(jn, { children: t.actions && /* @__PURE__ */ s.jsx(ot, { className: S(we.actions, t.actionsClassName), children: t.actions }) })
2491
- ]
2492
- }
2493
- ) }) });
2494
- }, Zo = "_component_td4gi_10", ea = {
2495
- component: Zo
2496
- }, kn = (t) => {
2497
- const o = t.level || ct();
2498
- return /* @__PURE__ */ s.jsx("div", { className: S(ea.component, t.className, xt(o)), children: /* @__PURE__ */ s.jsx(it, { children: t.children }) });
2499
- }, Tn = _.createContext({
2500
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
2501
- createMenu: (t) => {
2502
- },
2503
- destroyMenu: () => {
2504
- }
2505
- }), ta = ({ items: t, children: o, className: u }) => /* @__PURE__ */ s.jsx(Tn.Consumer, { children: (l) => /* @__PURE__ */ s.jsx(
2506
- "div",
2507
- {
2508
- className: u,
2509
- onContextMenu: (p) => {
2510
- p.stopPropagation(), p.preventDefault();
2511
- const h = p.currentTarget.getBoundingClientRect();
2512
- l.createMenu({
2513
- x: p.pageX,
2514
- y: p.pageY,
2515
- width: h.width,
2516
- height: h.height,
2517
- items: t
2518
- });
2519
- const g = (x) => {
2520
- x.preventDefault(), l.destroyMenu(), window.removeEventListener("click", g), window.removeEventListener("contextmenu", g);
2521
- };
2522
- window.addEventListener("click", g), window.addEventListener("contextmenu", g);
2523
- },
2524
- children: o
2525
- }
2526
- ) }), ra = "_component_13j68_10", na = "_row_13j68_15", oa = "_column_13j68_19", aa = "_centerHorizontally_13j68_23", ia = "_centerVertically_13j68_27", sa = "_padding_13j68_31", bt = {
2527
- component: ra,
2528
- row: na,
2529
- column: oa,
2530
- centerHorizontally: aa,
2531
- centerVertically: ia,
2532
- padding: sa
2533
- }, at = (t) => /* @__PURE__ */ s.jsx(
2534
- "div",
2535
- {
2536
- className: S(
2537
- bt.component,
2538
- bt[t.direction],
2539
- t.className,
2540
- t.centerHorizontally && bt.centerHorizontally,
2541
- t.centerVertically && bt.centerVertically,
2542
- t.padding && bt.padding
2543
- ),
2544
- children: t.children
2545
- }
2546
- ), ca = "_component_13od9_10", ua = "_h1component_13od9_17", la = "_h2component_13od9_22", fa = "_h3component_13od9_27", da = "_h4component_13od9_32", ma = "_h5component_13od9_37", pa = "_h6component_13od9_42", _e = {
2547
- component: ca,
2548
- h1component: ua,
2549
- h2component: la,
2550
- h3component: fa,
2551
- h4component: da,
2552
- h5component: ma,
2553
- h6component: pa
2554
- }, ft = (t) => {
2555
- switch (t.level || 1) {
2556
- case 1:
2557
- return /* @__PURE__ */ s.jsx("h1", { className: S(_e.component, _e.h1component, t.className), children: t.text });
2558
- case 2:
2559
- return /* @__PURE__ */ s.jsx("h2", { className: S(_e.component, _e.h2component, t.className), children: t.text });
2560
- case 3:
2561
- return /* @__PURE__ */ s.jsx("h3", { className: S(_e.component, _e.h3component, t.className), children: t.text });
2562
- case 4:
2563
- return /* @__PURE__ */ s.jsx("h4", { className: S(_e.component, _e.h4component, t.className), children: t.text });
2564
- case 5:
2565
- return /* @__PURE__ */ s.jsx("h5", { className: S(_e.component, _e.h5component, t.className), children: t.text });
2566
- case 6:
2567
- return /* @__PURE__ */ s.jsx("h6", { className: S(_e.component, _e.h6component, t.className), children: t.text });
2568
- }
2569
- }, va = "_component_jdj54_10", ha = {
2570
- component: va
2571
- }, st = (t) => /* @__PURE__ */ s.jsx(
2572
- "button",
2573
- {
2574
- onClick: t.onClick,
2575
- "aria-label": t.accessibleLabel,
2576
- className: S(ha.component, t.className),
2577
- children: /* @__PURE__ */ s.jsx(
2578
- ut,
2579
- {
2580
- size: "1.25rem",
2581
- preserveColor: t.preserveColor,
2582
- icon: t.icon
2583
- }
2584
- )
2585
- }
2586
- ), $e = {
2587
- Accessibility: () => import("./accessibility-16-uva4fZex.js"),
2588
- AccessibilityInset: () => import("./accessibility-inset-16-DWzB3IjG.js"),
2589
- Alert: () => import("./alert-16-DwAQwyBK.js"),
2590
- AppLauncher: () => import("./app-launcher-16-C7hnENpC.js"),
2591
- Apps: () => import("./apps-16-CVfbC2bb.js"),
2592
- Archive: () => import("./archive-16-BZGSPJkx.js"),
2593
- ArrowBoth: () => import("./arrow-both-16-D4pAyV4U.js"),
2594
- ArrowDown: () => import("./arrow-down-16-DK9ag-gk.js"),
2595
- ArrowLeft: () => import("./arrow-left-16-DYkryq2D.js"),
2596
- ArrowRight: () => import("./arrow-right-16-OTyXEvHz.js"),
2597
- ArrowSwitch: () => import("./arrow-switch-16-DFOully_.js"),
2598
- ArrowUp: () => import("./arrow-up-16-Dxwb5Tzb.js"),
2599
- Beaker: () => import("./beaker-16-CnNc9r-O.js"),
2600
- Bell: () => import("./bell-16-Dp6XEu_P.js"),
2601
- BellFill: () => import("./bell-fill-16-DC8GZ_ml.js"),
2602
- BellSlash: () => import("./bell-slash-16-CNGnmeTn.js"),
2603
- Blocked: () => import("./blocked-16-D4zjCHxV.js"),
2604
- Bold: () => import("./bold-16-BfSacKBr.js"),
2605
- Book: () => import("./book-16-Cbx7nhRf.js"),
2606
- Bookmark: () => import("./bookmark-16-liEsGE05.js"),
2607
- BookmarkSlash: () => import("./bookmark-slash-16-BpA1ZKFT.js"),
2608
- Briefcase: () => import("./briefcase-16-D-qCbq6J.js"),
2609
- Broadcast: () => import("./broadcast-16-Crd5FtS2.js"),
2610
- Browser: () => import("./browser-16-CVb22dcd.js"),
2611
- Bug: () => import("./bug-16-CtJpjfbz.js"),
2612
- Cache: () => import("./cache-16-DDgjAWW5.js"),
2613
- Calendar: () => import("./calendar-16-C6dCLIvL.js"),
2614
- Check: () => import("./check-16-6YNaQNFN.js"),
2615
- CheckCircle: () => import("./check-circle-16-BjKfoe5_.js"),
2616
- CheckCircleFill: () => import("./check-circle-fill-16-DdMO2wXu.js"),
2617
- Checkbox: () => import("./checkbox-16-B2oKipWw.js"),
2618
- Checklist: () => import("./checklist-16-Zf6Kygb8.js"),
2619
- ChevronDown: () => import("./chevron-down-16-DEpquzJ_.js"),
2620
- ChevronLeft: () => import("./chevron-left-16-BIGn1PV5.js"),
2621
- ChevronRight: () => import("./chevron-right-16-B8LafSsi.js"),
2622
- ChevronUp: () => import("./chevron-up-16-CugMIitk.js"),
2623
- Circle: () => import("./circle-16-B593gRA3.js"),
2624
- CircleSlash: () => import("./circle-slash-16-B5Ww73vU.js"),
2625
- Clock: () => import("./clock-16-qUwX1NRV.js"),
2626
- Cloud: () => import("./cloud-16-Rhl-Y4cv.js"),
2627
- CloudOffline: () => import("./cloud-offline-16-ChdtXP8s.js"),
2628
- Code: () => import("./code-16-CyMDCYbk.js"),
2629
- CodeOfConduct: () => import("./code-of-conduct-16-3jxiG7BK.js"),
2630
- CodeReview: () => import("./code-review-16-DMtB7Dru.js"),
2631
- CodeSquare: () => import("./code-square-16-dgSkAxDY.js"),
2632
- CodeScan: () => import("./codescan-16-CkGjDIRJ.js"),
2633
- CodeScanCheckmark: () => import("./codescan-checkmark-16-CTHqRJ7Z.js"),
2634
- CodeSpaces: () => import("./codespaces-16-CoZQ8Psv.js"),
2635
- Columns: () => import("./columns-16-DKbJWXAg.js"),
2636
- CommandPalette: () => import("./command-palette-16-DZ0Q7ffJ.js"),
2637
- Comment: () => import("./comment-16-B09NEr6-.js"),
2638
- CommentDiscussion: () => import("./comment-discussion-16-gcMEsg_Q.js"),
2639
- Container: () => import("./container-16-BdSF_CC6.js"),
2640
- Copilot: () => import("./copilot-16-tzDSkzaO.js"),
2641
- Copilot48: () => import("./copilot-48-C7o3SsdM.js"),
2642
- Copilot96: () => import("./copilot-96-DRWtudKT.js"),
2643
- CopilotError: () => import("./copilot-error-16-mS3AFeBJ.js"),
2644
- CopilotWarning: () => import("./copilot-warning-16-DDHrbpjQ.js"),
2645
- Copy: () => import("./copy-16-U4bBESsW.js"),
2646
- Cpu: () => import("./cpu-16-B1nGSXjd.js"),
2647
- CreditCard: () => import("./credit-card-16-uQInMwnT.js"),
2648
- CrossReference: () => import("./cross-reference-16-BXVZtDhD.js"),
2649
- Dash: () => import("./dash-16-Dj70y9jI.js"),
2650
- Database: () => import("./database-16-OKZrFj7L.js"),
2651
- Dependabot: () => import("./dependabot-16-ybT9-lhR.js"),
2652
- DesktopDownload: () => import("./desktop-download-16-1OhnJTN6.js"),
2653
- DeviceCamera: () => import("./device-camera-16-Bh1yGmqu.js"),
2654
- DeviceCameraVideo: () => import("./device-camera-video-16-BmT22xsn.js"),
2655
- DeviceDesktop: () => import("./device-desktop-16-m5wh49qs.js"),
2656
- DeviceMobile: () => import("./device-mobile-16-C1ZEWPwb.js"),
2657
- Diamond: () => import("./diamond-16-D-w62P-X.js"),
2658
- Diff: () => import("./diff-16-Cylk8iSK.js"),
2659
- DiffAdded: () => import("./diff-added-16-BlJ2cb6b.js"),
2660
- DiffIgnored: () => import("./diff-ignored-16-Ccd8OFzb.js"),
2661
- DiffModified: () => import("./diff-modified-16-BlXb7Wwh.js"),
2662
- DiffRemoved: () => import("./diff-removed-16-Cn0mhKYP.js"),
2663
- DiffRenamed: () => import("./diff-renamed-16-DIu8aDPG.js"),
2664
- Dot: () => import("./dot-16-BvkuaxUz.js"),
2665
- DotFill: () => import("./dot-fill-16-D1FNypdu.js"),
2666
- Download: () => import("./download-16-fugL3zxY.js"),
2667
- Duplicate: () => import("./duplicate-16-OiUFntSI.js"),
2668
- Ellipsis: () => import("./ellipsis-16-ClTH0fbr.js"),
2669
- Eye: () => import("./eye-16-Dpz-OhId.js"),
2670
- EyeClosed: () => import("./eye-closed-16-DIUAb4Xb.js"),
2671
- Ewsgit: () => import("./ewsgit-jMFOdurQ.js"),
2672
- FeedDiscussion: () => import("./feed-discussion-16-DNcL8nZw.js"),
2673
- FeedForked: () => import("./feed-forked-16-DMU2yXdo.js"),
2674
- FeedHeart: () => import("./feed-heart-16-CBrg58q-.js"),
2675
- FeedMerged: () => import("./feed-merged-16-CQYwGlvM.js"),
2676
- FeedPerson: () => import("./feed-person-16-BVo_agig.js"),
2677
- FeedRepo: () => import("./feed-repo-16-DNHxzukP.js"),
2678
- FeedRocket: () => import("./feed-rocket-16-DJ4yF4T8.js"),
2679
- FeedStar: () => import("./feed-star-16-4DcJOBOK.js"),
2680
- FeedTag: () => import("./feed-tag-16-BMokDbhr.js"),
2681
- FeedTrophy: () => import("./feed-trophy-16-B91fsGEY.js"),
2682
- File: () => import("./file-16-DIeKUUYi.js"),
2683
- FileAdded: () => import("./file-added-16-D2CFL7Uo.js"),
2684
- FileBadge: () => import("./file-badge-16-CBU42y9Y.js"),
2685
- FileBinary: () => import("./file-binary-16-Fe6xRdy_.js"),
2686
- FileCode: () => import("./file-code-16-DUeOa2n1.js"),
2687
- FileDiff: () => import("./file-diff-16-fcHLvRjr.js"),
2688
- FileDirectory: () => import("./file-directory-16-DTq8L7XZ.js"),
2689
- FileDirectoryFill: () => import("./file-directory-fill-16-DvR6seEJ.js"),
2690
- FileDirectoryOpenFill: () => import("./file-directory-open-fill-16-D99Fi0Uv.js"),
2691
- FileMoved: () => import("./file-moved-16-J4r90OBP.js"),
2692
- FileRemoved: () => import("./file-removed-16-C96WF_Jl.js"),
2693
- FileSubmodule: () => import("./file-submodule-16-Cx_q19a2.js"),
2694
- FileSymlinkFile: () => import("./file-symlink-file-16-87lgtC6n.js"),
2695
- FileZip: () => import("./file-zip-16-CY1OP2oH.js"),
2696
- Filter: () => import("./filter-16-BBY8gRAj.js"),
2697
- Flame: () => import("./flame-16-BQjUkHlk.js"),
2698
- Fold: () => import("./fold-16-c5GFBwTE.js"),
2699
- FoldDown: () => import("./fold-down-16-COVTHOOm.js"),
2700
- FoldUp: () => import("./fold-up-16-CKn_S_xy.js"),
2701
- Gear: () => import("./gear-16-DumL4R2n.js"),
2702
- Gift: () => import("./gift-16-Cwzr0gsC.js"),
2703
- GitBranch: () => import("./git-branch-16-DvVGm5c4.js"),
2704
- GitCommit: () => import("./git-commit-16-B_7xQW9c.js"),
2705
- GitCompare: () => import("./git-compare-16-DlK0CGps.js"),
2706
- GitMerge: () => import("./git-merge-16-BDUp3rix.js"),
2707
- GitMergeQueue: () => import("./git-merge-queue-16-BU1k9bjJ.js"),
2708
- GitPullRequest: () => import("./git-pull-request-16-1aj8YV_B.js"),
2709
- GitPullRequestClosed: () => import("./git-pull-request-closed-16-hBv3wiW6.js"),
2710
- GitPullRequestDraft: () => import("./git-pull-request-draft-16-DVlwk56b.js"),
2711
- Globe: () => import("./globe-16-BZn8GRSm.js"),
2712
- Grabber: () => import("./grabber-16-XsiP6L33.js"),
2713
- Graph: () => import("./graph-16-C3jugR5U.js"),
2714
- Hash: () => import("./hash-16-INeZLwfH.js"),
2715
- Heading: () => import("./heading-16-DZ2y6_f4.js"),
2716
- Heart: () => import("./heart-16-C164hwwe.js"),
2717
- HeartFill: () => import("./heart-fill-16-BLIsvQib.js"),
2718
- History: () => import("./history-16-BdsiN28s.js"),
2719
- Home: () => import("./home-16-BnAzc0t0.js"),
2720
- HorizontalRule: () => import("./horizontal-rule-16-CkgtCsRk.js"),
2721
- Hourglass: () => import("./hourglass-16-DCYwuA1E.js"),
2722
- Hubot: () => import("./hubot-16-CB8ALc4b.js"),
2723
- IdBadge: () => import("./id-badge-16-BfWbvypi.js"),
2724
- Image: () => import("./image-16-CI2AKWja.js"),
2725
- Inbox: () => import("./inbox-16-BwPN_Pqp.js"),
2726
- InfinitySymbol: () => import("./infinity-16-C3WWt8iw.js"),
2727
- Info: () => import("./info-16-HbLgChx_.js"),
2728
- IssueClosed: () => import("./issue-closed-16-BxAFCRD_.js"),
2729
- IssueDraft: () => import("./issue-draft-16-BlDzM4WD.js"),
2730
- IssueOpened: () => import("./issue-opened-16-D7Oxfpbr.js"),
2731
- IssueReopened: () => import("./issue-reopened-16-BBhYiACa.js"),
2732
- Italic: () => import("./italic-16-YevyopkT.js"),
2733
- Iterations: () => import("./iterations-16-ct_Zy_ha.js"),
2734
- KebabHorizontal: () => import("./kebab-horizontal-16-BAtFnPV1.js"),
2735
- Key: () => import("./key-16-cK5chQrW.js"),
2736
- KeyAsterisk: () => import("./key-asterisk-16-tFceMwFA.js"),
2737
- Law: () => import("./law-16-B05_CbgH.js"),
2738
- LightBulb: () => import("./light-bulb-16-Deu3ygRK.js"),
2739
- Link: () => import("./link-16-gr8iDaj6.js"),
2740
- LinkExternal: () => import("./link-external-16-DydJR9tS.js"),
2741
- ListOrdered: () => import("./list-ordered-16-zTd4ngaN.js"),
2742
- ListUnordered: () => import("./list-unordered-16-cwkrOE2e.js"),
2743
- Location: () => import("./location-16-ydwVyd5Q.js"),
2744
- Lock: () => import("./lock-16-CLq3uwix.js"),
2745
- Log: () => import("./log-16-C0L4He2w.js"),
2746
- Login: () => import("./login-BwNjTSN_.js"),
2747
- LogoGist: () => import("./logo-gist-16-TtSc--Ox.js"),
2748
- LogoGithub: () => import("./logo-github-16-BeUjNLEP.js"),
2749
- Logout: () => import("./logout-BitCiQuQ.js"),
2750
- Mail: () => import("./mail-16-CSJcliU3.js"),
2751
- MarkGithub: () => import("./mark-github-16-BTmYlr1K.js"),
2752
- Markdown: () => import("./markdown-16-7RbG-T2H.js"),
2753
- Megaphone: () => import("./megaphone-16-B42g-tb0.js"),
2754
- Mention: () => import("./mention-16-DKNmD-e-.js"),
2755
- Meter: () => import("./meter-16-p57sJ2Ki.js"),
2756
- Milestone: () => import("./milestone-16-Dq1pZDo8.js"),
2757
- Mirror: () => import("./mirror-16-BhrpmWlZ.js"),
2758
- Moon: () => import("./moon-16-CtR6e7uz.js"),
2759
- MortarBoard: () => import("./mortar-board-16-C1wVPMZe.js"),
2760
- MultiSelect: () => import("./multi-select-16-jlz6eIXl.js"),
2761
- Mute: () => import("./mute-16-BaaR3TM4.js"),
2762
- NoEntry: () => import("./no-entry-16-Jl3LIHGk.js"),
2763
- NorthStar: () => import("./north-star-16-KtvX4ZHg.js"),
2764
- Note: () => import("./note-16-BzYoUHl3.js"),
2765
- Number: () => import("./number-16-790SB7b2.js"),
2766
- Organization: () => import("./organization-16-DaJvLPdY.js"),
2767
- Package: () => import("./package-16-Dt3hnR7v.js"),
2768
- PackageDependencies: () => import("./package-dependencies-16-Ca4D2ZGA.js"),
2769
- PackageDependents: () => import("./package-dependents-16-qTuTdgtV.js"),
2770
- Paintbrush: () => import("./paintbrush-16-DjNZ3TYq.js"),
2771
- PaperAirplane: () => import("./paper-airplane-16-BYjlaU1X.js"),
2772
- Paperclip: () => import("./paperclip-16-dZHoanH1.js"),
2773
- Paste: () => import("./paste-16-D4rAp7H6.js"),
2774
- Pencil: () => import("./pencil-16-yVA3cW9W.js"),
2775
- People: () => import("./people-16-Dhralm-7.js"),
2776
- Person: () => import("./person-16-eRHtJ0rn.js"),
2777
- PersonAdd: () => import("./person-add-16-DKthdM_G.js"),
2778
- PersonFill: () => import("./person-fill-16-ChkxtXd7.js"),
2779
- Pin: () => import("./pin-16-CVBFK8YL.js"),
2780
- Play: () => import("./play-16-DQFcHXSC.js"),
2781
- Plug: () => import("./plug-16-1JhHgUhG.js"),
2782
- Plus: () => import("./plus-16-Baask508.js"),
2783
- PlusCircle: () => import("./plus-circle-16-BMJZhn7g.js"),
2784
- Project: () => import("./project-16-CeAT1XdX.js"),
2785
- Pulse: () => import("./pulse-16-BX0IQseD.js"),
2786
- Question: () => import("./question-16-Dmzmugo4.js"),
2787
- Quote: () => import("./quote-16-DRb6SNg5.js"),
2788
- Reply: () => import("./reply-16-XmiLb2fd.js"),
2789
- Repo: () => import("./repo-16-DGftjbNe.js"),
2790
- RepoClone: () => import("./repo-clone-16-BmxJcB0F.js"),
2791
- RepoDeleted: () => import("./repo-deleted-16-g76QeX-X.js"),
2792
- RepoForked: () => import("./repo-forked-16-63FNDYK-.js"),
2793
- RepoLocked: () => import("./repo-locked-16-Dy05PUmf.js"),
2794
- RepoPull: () => import("./repo-pull-16-BTh0zEQS.js"),
2795
- RepoPush: () => import("./repo-push-16-4AG6clSy.js"),
2796
- RepoTemplate: () => import("./repo-template-16-Caw2Hpe_.js"),
2797
- Report: () => import("./report-16-CyRJbIap.js"),
2798
- Rocket: () => import("./rocket-16-Dggo49wd.js"),
2799
- Rows: () => import("./rows-16-fGIr0S01.js"),
2800
- Rss: () => import("./rss-16-DWle3roS.js"),
2801
- Ruby: () => import("./ruby-16-BreboEYi.js"),
2802
- ScreenFull: () => import("./screen-full-16-vKKvRK_T.js"),
2803
- ScreenNormal: () => import("./screen-normal-16-BFiON6jh.js"),
2804
- Search: () => import("./search-16-d9YAifw3.js"),
2805
- Server: () => import("./server-16-PXkdGIz7.js"),
2806
- ServerError: () => Promise.resolve().then(() => Vo),
2807
- Share: () => import("./share-16-CeaKGzF6.js"),
2808
- ShareAndroid: () => import("./share-android-16-Y0jPvfBW.js"),
2809
- Shield: () => import("./shield-16-B9tadaQL.js"),
2810
- ShieldCheck: () => import("./shield-check-16-BWKJFQV-.js"),
2811
- ShieldLock: () => import("./shield-lock-16-DUfTkk8o.js"),
2812
- ShieldSlash: () => import("./shield-slash-16-BWh26Hd4.js"),
2813
- ShieldX: () => import("./shield-x-16-Df1cfMy1.js"),
2814
- SidebarCollapse: () => import("./sidebar-collapse-16-DO-Oh_kH.js"),
2815
- SidebarExpand: () => import("./sidebar-expand-16-C3pxNr67.js"),
2816
- SignIn: () => import("./sign-in-16-D6p2_-5k.js"),
2817
- SignOut: () => import("./sign-out-16-JjnZ1Tho.js"),
2818
- SingleSelect: () => import("./single-select-16-Byk6XVox.js"),
2819
- Skip: () => import("./skip-16-Bs6yOqrX.js"),
2820
- Sliders: () => import("./sliders-16-BHKGoJhB.js"),
2821
- Smiley: () => import("./smiley-16-DPhwU_6u.js"),
2822
- SortAsc: () => import("./sort-asc-16-B7XOWdSg.js"),
2823
- SortDesc: () => import("./sort-desc-16-B5iS9cqk.js"),
2824
- Square: () => import("./square-16-B9kJQ-hA.js"),
2825
- SquareFill: () => import("./square-fill-16-XEr3NJ2b.js"),
2826
- Squirrel: () => import("./squirrel-16-tH5Qgxz7.js"),
2827
- Stack: () => import("./stack-16-BM0NXNCR.js"),
2828
- Star: () => import("./star-16-CskIof-_.js"),
2829
- StarFill: () => import("./star-fill-16-EG_wS7u5.js"),
2830
- Stop: () => import("./stop-16-SDgo6czX.js"),
2831
- Stopwatch: () => import("./stopwatch-16-BbHE3PgN.js"),
2832
- Store: () => import("./store-CoWUtwnO.js"),
2833
- Strikethrough: () => import("./strikethrough-16-R4mZSVbu.js"),
2834
- Sun: () => import("./sun-16-hrWRillM.js"),
2835
- Sync: () => import("./sync-16-BUhljzac.js"),
2836
- TabExternal: () => import("./tab-external-16-DlFayM4z.js"),
2837
- Table: () => import("./table-16-D23Tuy3n.js"),
2838
- Tag: () => import("./tag-16-CSbX60Y0.js"),
2839
- TaskList: () => import("./tasklist-16-BGUg5t2o.js"),
2840
- Telescope: () => import("./telescope-16-CkqdZV2W.js"),
2841
- TelescopeFill: () => import("./telescope-fill-16-Bc_8rywi.js"),
2842
- Terminal: () => import("./terminal-16-CS4NLijU.js"),
2843
- ThreeBars: () => import("./three-bars-16-RtW9hDLk.js"),
2844
- ThumbsDown: () => import("./thumbsdown-16-DXmfxQSW.js"),
2845
- ThumbsUp: () => import("./thumbsup-16-DBMF-Hkr.js"),
2846
- Tools: () => import("./tools-16-CCmSf4Mt.js"),
2847
- Trash: () => import("./trash-16-D-qAwcOJ.js"),
2848
- TriangleDown: () => import("./triangle-down-16-T-DZZA9H.js"),
2849
- TriangleLeft: () => import("./triangle-left-16-CteMjjMD.js"),
2850
- TriangleRight: () => import("./triangle-right-16-D9ClWREJ.js"),
2851
- TriangleUp: () => import("./triangle-up-16-FS6az6-y.js"),
2852
- Trophy: () => import("./trophy-16-NGT_1p4C.js"),
2853
- Typography: () => import("./typography-16-IirtJXxN.js"),
2854
- Unfold: () => import("./unfold-16-DjzHMoJW.js"),
2855
- Unlock: () => import("./unlock-16-CJgQHziq.js"),
2856
- Unmute: () => import("./unmute-16-DCRFpFL7.js"),
2857
- Unverified: () => import("./unverified-16-CAAVyiPH.js"),
2858
- Upload: () => import("./upload-16-BNFqJc1F.js"),
2859
- Verified: () => import("./verified-16-CTElcDEy.js"),
2860
- Versions: () => import("./versions-16-DI9tKMFX.js"),
2861
- Video: () => import("./video-16-DAXLpsgq.js"),
2862
- Webhook: () => import("./webhook-16-B63wCkFf.js"),
2863
- Workflow: () => import("./workflow-16-BrP4zNK0.js"),
2864
- X: () => import("./x-16-B7iyXdcL.js"),
2865
- XCircle: () => import("./x-circle-16-C79HwlWA.js"),
2866
- XCircleFill: () => import("./x-circle-fill-16-4KWscQI9.js"),
2867
- YourDashLogo: () => import("./yourdash-xKqdwKGy.js"),
2868
- Zap: () => import("./zap-16-hscWSFVd.js")
2869
- }, _a = "_componentContainer_112vn_10", ga = "_component_112vn_10", ya = "_noRounding_112vn_27", ba = "_loaded_112vn_31", Ca = "_loading_112vn_44", xa = "_serverError_112vn_52", Ea = "_fail_112vn_1", nt = {
2870
- componentContainer: _a,
2871
- component: ga,
2872
- noRounding: ya,
2873
- loaded: ba,
2874
- loading: Ca,
2875
- serverError: xa,
2876
- fail: Ea
2877
- }, kr = (t) => {
2878
- const o = _.useRef(null), [u, l] = _.useState(t.src), [p, h] = _.useState(!1), [g, x] = _.useState(!1), [C, N] = _.useState(0);
2879
- return _.useEffect(() => {
2880
- const w = o.current;
2881
- w && setTimeout(() => {
2882
- const k = w.getBoundingClientRect();
2883
- N(k.height > k.width ? k.height : k.width);
2884
- }, 0);
2885
- }, [u]), _.useEffect(() => {
2886
- x(!1), h(!1);
2887
- }, [u]), _.useEffect(() => {
2888
- t.src !== u && l(t.src);
2889
- }, [t.src]), /* @__PURE__ */ s.jsx(
2890
- "div",
2891
- {
2892
- ref: o,
2893
- className: S(nt.componentContainer, t.containerClassName, !p && nt.loading, g && nt.serverError),
2894
- style: {
2895
- // @ts-ignore
2896
- "--background-size": C + "px"
2897
- },
2898
- children: g ? /* @__PURE__ */ s.jsx(ut, { icon: $e.ServerError }) : /* @__PURE__ */ s.jsx(
2899
- "img",
2900
- {
2901
- className: S(nt.component, t.className, p && nt.loaded, t.noRounding && nt.noRounding),
2902
- draggable: !1,
2903
- width: t.width,
2904
- height: t.height,
2905
- onError: () => x(!0),
2906
- loading: t.disableLazyLoading ? "eager" : "lazy",
2907
- alt: t.accessibleLabel,
2908
- onLoad: (w) => {
2909
- h(w.currentTarget.complete);
2910
- },
2911
- src: u
2912
- }
2913
- )
2914
- }
2915
- );
2916
- }, Ra = "_component_r9qeb_10", un = {
2917
- component: Ra
2918
- }, Sa = (t) => /* @__PURE__ */ s.jsxs(
2919
- "a",
2920
- {
2921
- href: t.to,
2922
- className: S(un.component, t.className),
2923
- children: [
2924
- t.text,
2925
- !t.hideLinkIcon && /* @__PURE__ */ s.jsx(
2926
- ut,
2927
- {
2928
- icon: $e.Link,
2929
- className: un.icon
2930
- }
2931
- )
2932
- ]
2933
- }
2934
- ), wa = ({
2935
- maxValue: t,
2936
- value: o,
2937
- className: u,
2938
- indeterminate: l
2939
- }) => /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
2940
- /* @__PURE__ */ s.jsx(
2941
- "progress",
2942
- {
2943
- max: t,
2944
- value: o,
2945
- className: u
2946
- }
2947
- ),
2948
- l && "This should be indeterminate"
2949
- ] }), ja = "_component_n6r4z_10", ka = {
2950
- component: ja
2951
- }, Ke = (t) => /* @__PURE__ */ s.jsx("div", { className: S(ka.component, t.className), children: t.text }), Ta = (t) => {
2952
- const o = Cn();
2953
- return t.to !== null && o(t.to), /* @__PURE__ */ s.jsx(lt, { children: /* @__PURE__ */ s.jsx(Ke, { text: `Redirecting to ${t.to}` }) });
2954
- }, Oa = "_component_1i64h_10", Pa = "_row_1i64h_16", Na = "_disableMargin_1i64h_22", Ia = "_column_1i64h_28", br = {
2955
- component: Oa,
2956
- row: Pa,
2957
- disableMargin: Na,
2958
- column: Ia
2959
- }, qt = (t) => /* @__PURE__ */ s.jsx("div", { className: S(br.component, br[t.direction], t.disableMargin && br.disableMargin) }), Da = "_component_12m3x_6", $a = "_container_12m3x_17", Aa = "_infiniteSpin_12m3x_1", Fa = "_spinnerBack_12m3x_26", La = "_spinnerBorder_12m3x_37", Ma = "_spinnerCutoutContainer_12m3x_48", Ba = "_spinnerCutout_12m3x_48", Ua = "_spinnerCutoutOne_12m3x_65", Wa = "_spinnerCutoutTwo_12m3x_70", je = {
2960
- component: Da,
2961
- container: $a,
2962
- infiniteSpin: Aa,
2963
- spinnerBack: Fa,
2964
- spinnerBorder: La,
2965
- spinnerCutoutContainer: Ma,
2966
- spinnerCutout: Ba,
2967
- spinnerCutoutOne: Ua,
2968
- spinnerCutoutTwo: Wa
2969
- }, Ya = (t) => /* @__PURE__ */ s.jsx(
2970
- "div",
2971
- {
2972
- className: je.component,
2973
- style: t.style,
2974
- children: /* @__PURE__ */ s.jsxs("section", { className: je.container, children: [
2975
- /* @__PURE__ */ s.jsx("div", { className: je.spinnerBorder }),
2976
- /* @__PURE__ */ s.jsx("div", { className: je.spinnerBack }),
2977
- /* @__PURE__ */ s.jsxs("div", { className: je.spinnerCutoutContainer, children: [
2978
- /* @__PURE__ */ s.jsx("div", { className: S(je.spinnerCutoutOne, je.spinnerCutout) }),
2979
- /* @__PURE__ */ s.jsx("div", { className: S(je.spinnerCutoutTwo, je.spinnerCutout) })
2980
- ] })
2981
- ] })
2982
- }
2983
- ), za = "_component_1ehrl_10", Va = "_levelDefault_1ehrl_15", Ha = {
2984
- component: za,
2985
- levelDefault: Va
2986
- }, qa = (t) => /* @__PURE__ */ s.jsx("div", { className: S(Ha.component, t.className), children: t.text }), Ga = "_component_n6r4z_10", Ka = {
2987
- component: Ga
2988
- }, Xa = (t) => /* @__PURE__ */ s.jsx(
2989
- "div",
2990
- {
2991
- className: S(Ka.component, t.className),
2992
- style: { backgroundColor: t.color },
2993
- children: t.text
2994
- }
2995
- ), Ja = "_component_vlbze_10", Qa = {
2996
- component: Ja
2997
- }, Za = (t) => /* @__PURE__ */ s.jsx(
2998
- "button",
2999
- {
3000
- className: S(Qa.component, t.className),
3001
- onClick: t.onClick,
3002
- "aria-label": t.text,
3003
- children: t.text
3004
- }
3005
- ), ei = "_component_1siil_10", ti = "_icon_1siil_28", ri = "_input_1siil_36", ni = "_noIcon_1siil_44", zt = {
3006
- component: ei,
3007
- icon: ti,
3008
- input: ri,
3009
- noIcon: ni
3010
- }, oi = (t) => {
3011
- const o = _.useRef(null);
3012
- return _.useEffect(() => {
3013
- o.current && t.value && (o.current.value = t.value);
3014
- }, [t.value]), _.useEffect(() => {
3015
- o.current && (o.current.onchange = () => {
3016
- o.current && t.getValue && t.getValue(o.current.value);
3017
- }, o.current.onkeyup = (u) => {
3018
- o.current && t.onSubmit && (t.getLiveValue && t.getLiveValue(o.current.value), u.key === "Enter" && t.onSubmit(o.current.value));
3019
- });
3020
- }, []), /* @__PURE__ */ s.jsxs("div", { className: S(zt.component, t.className), children: [
3021
- t.icon && /* @__PURE__ */ s.jsx(
3022
- ut,
3023
- {
3024
- className: zt.icon,
3025
- icon: t.icon
3026
- }
3027
- ),
3028
- /* @__PURE__ */ s.jsx(
3029
- "input",
3030
- {
3031
- ref: o,
3032
- type: t.type || "text",
3033
- "aria-label": t.accessibleName,
3034
- defaultValue: t.defaultValue,
3035
- className: S(zt.input, !t.icon && zt.noIcon),
3036
- placeholder: t.placeholder
3037
- }
3038
- )
3039
- ] });
3040
- }, ai = oi, vs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3041
- __proto__: null,
3042
- Box: ot,
3043
- Button: Kt,
3044
- ButtonCombo: _o,
3045
- ButtonLink: Wo,
3046
- ButtonWithIcon: wn,
3047
- Card: lt,
3048
- Container: kn,
3049
- ContextMenu: ta,
3050
- Flex: at,
3051
- Heading: ft,
3052
- Icon: ut,
3053
- IconButton: st,
3054
- Image: kr,
3055
- Link: Sa,
3056
- ProgressBar: wa,
3057
- Redirect: Ta,
3058
- Separator: qt,
3059
- Spinner: Ya,
3060
- Subtext: qa,
3061
- Tag: Xa,
3062
- Text: Ke,
3063
- TextButton: Za,
3064
- TextInput: ai
3065
- }, Symbol.toStringTag, { value: "Module" })), ii = "_containerComponent_sue6z_6", si = "_component_sue6z_16", ci = "_page_sue6z_34", ui = "_controls_sue6z_48", li = "_indicator_sue6z_58", fi = "_pageIndicator_sue6z_65", di = "_selected_sue6z_72", ke = {
3066
- containerComponent: ii,
3067
- component: si,
3068
- page: ci,
3069
- controls: ui,
3070
- indicator: li,
3071
- pageIndicator: fi,
3072
- selected: di
3073
- }, mi = ({ items: t, className: o }) => {
3074
- const u = _.useRef(null), [l, p] = _.useState(0);
3075
- return _.useEffect(() => {
3076
- const h = u.current;
3077
- if (!h) return;
3078
- console.log(Array.from(h.children));
3079
- let g, x = () => {
3080
- clearTimeout(g), g = setTimeout(function() {
3081
- Array.from(h.children).forEach((C, N) => {
3082
- if (Math.abs(
3083
- C.getBoundingClientRect().left + C.getBoundingClientRect().width / 2 - (h.getBoundingClientRect().left + h.getBoundingClientRect().width / 2)
3084
- ) < C.getBoundingClientRect().width / 2) {
3085
- p(N);
3086
- return;
3087
- }
3088
- });
3089
- }, 25);
3090
- };
3091
- return h.addEventListener("scroll", x), () => {
3092
- h.removeEventListener("scroll", x), clearTimeout(g);
3093
- };
3094
- }, []), /* @__PURE__ */ s.jsxs(kn, { className: S(ke.containerComponent, o), children: [
3095
- /* @__PURE__ */ s.jsx(
3096
- "div",
3097
- {
3098
- className: ke.component,
3099
- ref: u,
3100
- children: t.map((h) => /* @__PURE__ */ s.jsx(
3101
- "div",
3102
- {
3103
- className: ke.page,
3104
- children: h.element
3105
- },
3106
- h.id
3107
- ))
3108
- }
3109
- ),
3110
- /* @__PURE__ */ s.jsxs("div", { className: ke.controls, children: [
3111
- /* @__PURE__ */ s.jsx(
3112
- st,
3113
- {
3114
- accessibleLabel: "previous page",
3115
- icon: $e.ChevronLeft,
3116
- className: ke.pageControl,
3117
- onClick: () => {
3118
- const h = u.current;
3119
- if (!h)
3120
- return;
3121
- const g = h.children[l - 1];
3122
- g && g.scrollIntoView({ behavior: "smooth" });
3123
- }
3124
- }
3125
- ),
3126
- /* @__PURE__ */ s.jsx(lt, { className: ke.indicator, children: t.map((h, g) => /* @__PURE__ */ s.jsx(
3127
- "button",
3128
- {
3129
- className: S(ke.pageIndicator, g === l && ke.selected),
3130
- onClick: () => {
3131
- const x = u.current;
3132
- if (!x)
3133
- return;
3134
- x.scrollIntoView({ behavior: "smooth" }), x.children[g].scrollIntoView({ behavior: "smooth" });
3135
- }
3136
- },
3137
- h.id
3138
- )) }),
3139
- /* @__PURE__ */ s.jsx(
3140
- st,
3141
- {
3142
- accessibleLabel: "next page",
3143
- icon: $e.ChevronRight,
3144
- className: ke.pageControl,
3145
- onClick: () => {
3146
- const h = u.current;
3147
- if (!h)
3148
- return;
3149
- const g = h.children[l + 1];
3150
- g && g.scrollIntoView({ behavior: "smooth" });
3151
- }
3152
- }
3153
- )
3154
- ] })
3155
- ] });
3156
- }, pi = "_background_t6st2_26", vi = "_backgroundFadeIn_t6st2_1", hi = "_view_t6st2_39", _i = "_fadeIn_t6st2_1", ln = {
3157
- background: pi,
3158
- backgroundFadeIn: vi,
3159
- view: hi,
3160
- fadeIn: _i
3161
- }, gi = ({ children: t, className: o }) => /* @__PURE__ */ s.jsx("div", { className: ln.background, children: /* @__PURE__ */ s.jsx(
3162
- lt,
3163
- {
3164
- containerClassName: ln.view,
3165
- className: o,
3166
- children: t
3167
- }
3168
- ) }), yi = "_view_1q1ur_10", bi = {
3169
- view: yi
3170
- }, Ci = ({ backgroundImage: t, heading: o }) => /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsx(
3171
- "div",
3172
- {
3173
- className: bi.view,
3174
- style: t ? { backgroundImage: t } : { backgroundImage: "linear-gradient(-45deg, #ff8093aa, #ffd264aa)" },
3175
- children: /* @__PURE__ */ s.jsx(
3176
- ft,
3177
- {
3178
- level: 1,
3179
- text: o
3180
- }
3181
- )
3182
- }
3183
- ) }), xi = "_component_tlgec_10", Ei = "_items_tlgec_19", Ri = "_endOfItems_tlgec_23", Vt = {
3184
- component: xi,
3185
- items: Ei,
3186
- endOfItems: Ri
3187
- }, Si = ({ children: t, fetchNextPage: o, containerClassName: u, className: l, resetState: p }) => {
3188
- const h = Ge.useRef(null), g = Ge.useRef(-1), [x, C] = _.useState(!1), [N, w] = _.useState(!1);
3189
- _.useEffect(() => {
3190
- g.current = -1, C(!1), w(!1), k();
3191
- }, [p]);
3192
- async function k() {
3193
- if (x) return;
3194
- C(!0);
3195
- const { hasAnotherPage: q } = await o(g.current + 1);
3196
- g.current++, C(!1), w(q || !1);
3197
- }
3198
- return _.useEffect(() => {
3199
- if (!h.current) return;
3200
- const q = h.current;
3201
- new IntersectionObserver((A) => {
3202
- console.log("observer update"), A[0].isIntersecting && k();
3203
- }).observe(q);
3204
- }, []), /* @__PURE__ */ s.jsxs("div", { className: S(u, Vt.component), children: [
3205
- (t == null ? void 0 : t.length) > 0 ? /* @__PURE__ */ s.jsx("div", { className: S(l, Vt.items), children: t }) : /* @__PURE__ */ s.jsxs("div", { className: "text-center", children: [
3206
- /* @__PURE__ */ s.jsx(
3207
- ft,
3208
- {
3209
- level: 1,
3210
- text: "Whoops."
3211
- }
3212
- ),
3213
- /* @__PURE__ */ s.jsx(qt, { direction: "column" }),
3214
- /* @__PURE__ */ s.jsx(Ke, { text: "It looks like nothing could be found..." })
3215
- ] }),
3216
- /* @__PURE__ */ s.jsxs(
3217
- "div",
3218
- {
3219
- ref: h,
3220
- className: Vt.endOfItems,
3221
- children: [
3222
- x && /* @__PURE__ */ s.jsx(Ke, { text: "Loading more content" }),
3223
- /* @__PURE__ */ s.jsx(qt, { direction: "column" }),
3224
- N && /* @__PURE__ */ s.jsx(
3225
- Ke,
3226
- {
3227
- text: "No more items to load",
3228
- className: Vt.endOfItems
3229
- }
3230
- )
3231
- ]
3232
- }
3233
- )
3234
- ] });
3235
- }, wi = "_component_178hu_6", ji = "_segment_178hu_20", Ht = {
3236
- component: wi,
3237
- segment: ji
3238
- }, ki = ({ leftSection: t, centerSection: o, rightSection: u, className: l }) => /* @__PURE__ */ s.jsxs(ot, { className: S(Ht.component, l), children: [
3239
- /* @__PURE__ */ s.jsx(
3240
- at,
3241
- {
3242
- className: Ht.segment,
3243
- direction: "row",
3244
- children: t
3245
- }
3246
- ),
3247
- /* @__PURE__ */ s.jsx(
3248
- at,
3249
- {
3250
- className: Ht.segment,
3251
- direction: "row",
3252
- children: o
3253
- }
3254
- ),
3255
- /* @__PURE__ */ s.jsx(
3256
- at,
3257
- {
3258
- className: Ht.segment,
3259
- direction: "row",
3260
- children: u
3261
- }
3262
- )
3263
- ] }), Ti = "_component_q2khg_6", Oi = {
3264
- component: Ti
3265
- }, Pi = ({ src: t }) => /* @__PURE__ */ s.jsx(
3266
- kr,
3267
- {
3268
- accessibleLabel: "",
3269
- src: t,
3270
- className: Oi.component
3271
- }
3272
- ), Ni = ({ title: t }) => /* @__PURE__ */ s.jsx(
3273
- ft,
3274
- {
3275
- text: t,
3276
- level: 2
3277
- }
3278
- ), Ii = "_page_107gf_6", Di = "_fadeIn_107gf_1", $i = "_card_107gf_40", Ai = "_cardContainer_107gf_51", Fi = "_goBackButton_107gf_55", Li = "_headerImage_107gf_61", Mi = "_header_107gf_61", Bi = "_body_107gf_70", ge = {
3279
- page: Ii,
3280
- fadeIn: Di,
3281
- card: $i,
3282
- cardContainer: Ai,
3283
- goBackButton: Fi,
3284
- headerImage: Li,
3285
- header: Mi,
3286
- body: Bi
3287
- }, Ui = ({ pages: t, meta: o }) => {
3288
- const [u, l] = _.useState(0), p = t[u];
3289
- return localStorage.getItem(`yourdash-application-visited-${o.id}`) || u > t.length - 1 ? (localStorage.setItem(`yourdash-application-visited-${o.id}`, "true"), /* @__PURE__ */ s.jsx(Lo, {})) : /* @__PURE__ */ s.jsx("div", { className: ge.page, children: /* @__PURE__ */ s.jsxs(
3290
- lt,
3291
- {
3292
- className: ge.card,
3293
- containerClassName: ge.cardContainer,
3294
- children: [
3295
- p.allowGoBack && /* @__PURE__ */ s.jsx(
3296
- st,
3297
- {
3298
- className: S(ge.goBackButton, "animate__animated animate__fadeInDown"),
3299
- accessibleLabel: "Go back to the last page",
3300
- icon: $e.ChevronLeft,
3301
- onClick: () => {
3302
- l(u - 1);
3303
- }
3304
- }
3305
- ),
3306
- /* @__PURE__ */ s.jsx(
3307
- kr,
3308
- {
3309
- className: ge.headerImage,
3310
- src: p.headerImage,
3311
- accessibleLabel: ""
3312
- }
3313
- ),
3314
- /* @__PURE__ */ s.jsx(
3315
- ft,
3316
- {
3317
- className: ge.header,
3318
- text: p.header
3319
- }
3320
- ),
3321
- /* @__PURE__ */ s.jsx(
3322
- Ke,
3323
- {
3324
- className: ge.body,
3325
- text: p.body
3326
- }
3327
- ),
3328
- /* @__PURE__ */ s.jsx(
3329
- at,
3330
- {
3331
- className: ge.actions,
3332
- direction: "row",
3333
- children: p.actions.map((h) => h.icon ? /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsx(
3334
- wn,
3335
- {
3336
- className: S(ge.action, ge.actionWithIcon, "animate__animated animate__fadeInUp"),
3337
- text: h.label,
3338
- icon: h.icon,
3339
- onClick: () => {
3340
- if (h.onClick(), h.changeTo)
3341
- switch (h.changeTo) {
3342
- case "next":
3343
- l(u + 1);
3344
- break;
3345
- case "previous":
3346
- u > 0 && l(u - 1);
3347
- break;
3348
- case "remain":
3349
- break;
3350
- case "completed":
3351
- l(t.length + 1);
3352
- break;
3353
- }
3354
- }
3355
- },
3356
- h.label
3357
- ) }) : /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsx(
3358
- Kt,
3359
- {
3360
- className: S(ge.action, ge.actionWithoutIcon, "animate__animated animate__fadeInUp"),
3361
- text: h.label,
3362
- onClick: () => {
3363
- if (h.onClick(), h.changeTo)
3364
- switch (h.changeTo) {
3365
- case "next":
3366
- l(u + 1);
3367
- break;
3368
- case "previous":
3369
- u > 0 && l(u - 1);
3370
- break;
3371
- case "remain":
3372
- break;
3373
- case "completed":
3374
- l(t.length + 1);
3375
- break;
3376
- }
3377
- }
3378
- },
3379
- h.icon
3380
- ) }))
3381
- }
3382
- )
3383
- ]
3384
- }
3385
- ) });
3386
- }, Wi = ({
3387
- children: t,
3388
- minZoom: o,
3389
- maxZoom: u,
3390
- onScaleChange: l
3391
- }) => {
3392
- const p = _.useRef(null), [h, g] = _.useState(0), [x, C] = _.useState(0), [N, w] = _.useState(1);
3393
- l && _.useEffect(() => {
3394
- l(N);
3395
- }, [N]);
3396
- const k = (A) => {
3397
- A.stopPropagation();
3398
- const ie = A.deltaY, ee = N + ie / 1e3;
3399
- w(Math.min(Math.max(ee, o ?? 0.1), u ?? 10));
3400
- }, q = (A) => {
3401
- A.stopPropagation();
3402
- const ie = A.clientX, ee = A.clientY, ae = h, M = x, se = (Y) => {
3403
- Y.stopPropagation();
3404
- const oe = Y.clientX - ie, me = Y.clientY - ee;
3405
- g(ae + oe), C(M + me);
3406
- }, te = () => {
3407
- A.stopPropagation(), document.removeEventListener("mousemove", se), document.removeEventListener("mouseup", te);
3408
- };
3409
- document.addEventListener("mousemove", se), document.addEventListener("mouseup", te);
3410
- }, Z = (A) => {
3411
- A.stopPropagation();
3412
- const ie = A.touches, ee = h, ae = x, M = (te) => {
3413
- te.stopPropagation();
3414
- const Y = te.touches, oe = Y[0].clientX - ie[0].clientX, me = Y[0].clientY - ie[0].clientY;
3415
- g(ee + oe), C(ae + me);
3416
- }, se = () => {
3417
- A.stopPropagation(), document.removeEventListener("touchmove", M), document.removeEventListener("touchend", se);
3418
- };
3419
- document.addEventListener("touchmove", M), document.addEventListener("touchend", se);
3420
- };
3421
- return /* @__PURE__ */ s.jsx(
3422
- "div",
3423
- {
3424
- ref: p,
3425
- style: {
3426
- width: "100%",
3427
- height: "100%",
3428
- overflow: "hidden",
3429
- display: "flex",
3430
- alignItems: "center",
3431
- justifyContent: "center"
3432
- },
3433
- onWheel: k,
3434
- onMouseDown: q,
3435
- onTouchStart: Z,
3436
- onDragStart: (A) => {
3437
- A.stopPropagation(), A.preventDefault();
3438
- },
3439
- onContextMenu: (A) => {
3440
- A.preventDefault(), A.stopPropagation();
3441
- },
3442
- children: /* @__PURE__ */ s.jsx(
3443
- "div",
3444
- {
3445
- style: {
3446
- transform: `translate(${h}px, ${x}px) scale(${N})`,
3447
- transformOrigin: "center center",
3448
- maxWidth: "max-content",
3449
- pointerEvents: "none"
3450
- },
3451
- children: t
3452
- }
3453
- )
3454
- }
3455
- );
3456
- }, Yi = "_component_kdw27_10", zi = "_open_kdw27_40", fn = {
3457
- component: Yi,
3458
- open: zi
3459
- }, Tr = _.createContext({
3460
- openSidebar: () => {
3461
- },
3462
- closeSidebar: () => {
3463
- },
3464
- toggleSidebar: () => {
3465
- },
3466
- isOpen: !0
3467
- }), Vi = ({ children: t }) => {
3468
- const o = _.useContext(Tr), u = ct();
3469
- return /* @__PURE__ */ s.jsx(it, { children: /* @__PURE__ */ s.jsx(
3470
- at,
3471
- {
3472
- direction: "column",
3473
- className: S(fn.component, o.isOpen && fn.open, xt(u + 1)),
3474
- children: t
3475
- }
3476
- ) });
3477
- }, Hi = "_component_3jgyq_10", qi = {
3478
- component: Hi
3479
- }, Gi = ({
3480
- children: t,
3481
- showSidebarByDefault: o,
3482
- className: u
3483
- }) => {
3484
- const [l, p] = _.useState(o || !0);
3485
- return /* @__PURE__ */ s.jsx(
3486
- Tr.Provider,
3487
- {
3488
- value: {
3489
- closeSidebar: () => {
3490
- p(!1);
3491
- },
3492
- toggleSidebar: () => {
3493
- p(!l);
3494
- },
3495
- openSidebar: () => {
3496
- p(!0);
3497
- },
3498
- isOpen: l
3499
- },
3500
- children: /* @__PURE__ */ s.jsx("div", { className: S(qi.component, u), children: t })
3501
- }
3502
- );
3503
- }, Ki = () => {
3504
- const t = _.useContext(Tr);
3505
- return /* @__PURE__ */ s.jsx(
3506
- st,
3507
- {
3508
- accessibleLabel: t.isOpen ? "Collapse Sidebar" : "Expand Sidebar",
3509
- icon: t.isOpen ? $e.SidebarCollapse : $e.SidebarExpand,
3510
- onClick: () => {
3511
- t.toggleSidebar();
3512
- }
3513
- }
3514
- );
3515
- }, hs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3516
- __proto__: null,
3517
- Carousel: mi,
3518
- Dialog: gi,
3519
- Header: Ci,
3520
- InfiniteScroll: Si,
3521
- NavBar: ki,
3522
- NavImage: Pi,
3523
- NavTitle: Ni,
3524
- OnBoarding: Ui,
3525
- PanAndZoom: Wi,
3526
- Sidebar: Vi,
3527
- SidebarContainer: Gi,
3528
- SidebarToggleButton: Ki
3529
- }, Symbol.toStringTag, { value: "Module" }));
3530
- function Xi() {
3531
- const t = window.navigator;
3532
- if (new URLSearchParams(window.location.search).has("ukmobile")) return !0;
3533
- if (t != null && t.userAgentData)
3534
- return t.userAgentData.mobile || !1;
3535
- {
3536
- const u = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i;
3537
- return navigator.userAgent.match(u) !== null;
3538
- }
3539
- }
3540
- const Ji = "_component_g2wjx_10", Qi = "_button_g2wjx_29", dn = {
3541
- component: Ji,
3542
- button: Qi
3543
- }, Zi = ({ children: t }) => {
3544
- const [o, u] = Ge.useState({ x: 0, y: 0 }), [l, p] = Ge.useState(!1), [h, g] = Ge.useState([]), x = _.useRef(null);
3545
- return _.useEffect(() => {
3546
- window.addEventListener("resize", () => {
3547
- p(!1);
3548
- });
3549
- }, []), /* @__PURE__ */ s.jsxs(
3550
- Tn.Provider,
3551
- {
3552
- value: {
3553
- createMenu: ({ x: C, y: N, width: w, height: k, items: q }) => {
3554
- var se, te;
3555
- const Z = window.innerWidth, A = window.innerHeight, ie = ((se = x.current) == null ? void 0 : se.getBoundingClientRect().width) || 200, ee = ((te = x.current) == null ? void 0 : te.getBoundingClientRect().height) || 200;
3556
- let ae = C, M = N;
3557
- C + ie >= Z && (ae = Z - ie), N + ee >= A && (M = A - ee), u({
3558
- x: ae,
3559
- y: M
3560
- }), g(q), p(!0);
3561
- },
3562
- destroyMenu: () => {
3563
- p(!1);
3564
- }
3565
- },
3566
- children: [
3567
- /* @__PURE__ */ s.jsx(
3568
- "div",
3569
- {
3570
- ref: x,
3571
- style: {
3572
- display: l ? "flex" : "none",
3573
- left: o.x,
3574
- top: o.y
3575
- },
3576
- className: dn.component,
3577
- children: h.map((C) => /* @__PURE__ */ s.jsx(
3578
- Kt,
3579
- {
3580
- className: dn.button,
3581
- text: C.label,
3582
- onClick: C.onClick
3583
- },
3584
- C.label
3585
- ))
3586
- }
3587
- ),
3588
- t
3589
- ]
3590
- }
3591
- );
3592
- };
3593
- function es() {
3594
- return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(t) {
3595
- const o = Math.random() * 16 | 0;
3596
- return (t == "x" ? o : o & 3 | 8).toString(16);
3597
- });
3598
- }
3599
- const On = Ge.createContext({
3600
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
3601
- showToast: (t) => {
3602
- }
3603
- }), ts = "_container_17n1r_6", rs = "_component_17n1r_20", ns = "_cardContent_17n1r_34", os = "_success_17n1r_42", as = "_error_17n1r_46", is = "_warning_17n1r_50", ss = "_info_17n1r_54", cs = "_heading_17n1r_58", us = "_pointerEvents_17n1r_64", qe = {
3604
- container: ts,
3605
- component: rs,
3606
- cardContent: ns,
3607
- success: os,
3608
- error: as,
3609
- warning: is,
3610
- info: ss,
3611
- heading: cs,
3612
- pointerEvents: us
3613
- }, mn = 5e3, ls = ({ children: t }) => {
3614
- const [o, u] = _.useState([]);
3615
- return /* @__PURE__ */ s.jsxs(
3616
- On.Provider,
3617
- {
3618
- value: {
3619
- showToast: (l) => {
3620
- const p = es();
3621
- u((h) => [...h, { ...l, uuid: p, animatingOut: !1 }]), l.persist || (setTimeout(() => {
3622
- u(
3623
- (h) => h.map((g) => p === g.uuid ? {
3624
- ...g,
3625
- animatingOut: !0
3626
- } : g)
3627
- );
3628
- }, mn - 500), setTimeout(() => {
3629
- u((h) => h.filter((g) => g.uuid !== p));
3630
- }, mn));
3631
- }
3632
- },
3633
- children: [
3634
- /* @__PURE__ */ s.jsx("div", { className: qe.container, children: o.map((l) => /* @__PURE__ */ s.jsxs(
3635
- lt,
3636
- {
3637
- actions: l.persist ? /* @__PURE__ */ s.jsx(
3638
- st,
3639
- {
3640
- accessibleLabel: "Close toasts",
3641
- icon: $e.X,
3642
- onClick: () => u((p) => p.filter((h) => h.uuid !== l.uuid))
3643
- }
3644
- ) : null,
3645
- className: S(qe.cardContent, l.type && qe[l.type]),
3646
- containerClassName: S(
3647
- qe.component,
3648
- l.persist && qe.pointerEvents,
3649
- l.animatingOut ? "animate__animated animate__fadeOutRightBig" : "animate__animated animate__fadeInDown"
3650
- ),
3651
- children: [
3652
- /* @__PURE__ */ s.jsx(
3653
- ft,
3654
- {
3655
- className: qe.heading,
3656
- level: 3,
3657
- text: l.content.title
3658
- }
3659
- ),
3660
- /* @__PURE__ */ s.jsx(qt, { direction: "column" }),
3661
- /* @__PURE__ */ s.jsx(
3662
- Ke,
3663
- {
3664
- className: qe.body,
3665
- text: l.content.body
3666
- }
3667
- )
3668
- ]
3669
- },
3670
- l.uuid
3671
- )) }),
3672
- t
3673
- ]
3674
- }
3675
- );
3676
- }, fs = (t) => /* @__PURE__ */ s.jsx("div", { className: S(De.theme, De.level0, Xi() && De.mobile), children: /* @__PURE__ */ s.jsx(Zi, { children: /* @__PURE__ */ s.jsx(ls, { children: /* @__PURE__ */ s.jsx(Gt.Provider, { value: 0, children: t.children }) }) }) });
3677
- function ds() {
3678
- const t = Ge.useContext(On);
3679
- return {
3680
- create(o) {
3681
- t.showToast(o);
3682
- }
3683
- };
3684
- }
3685
- const _s = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3686
- __proto__: null,
3687
- DecrementLevel: jn,
3688
- IncrementLevel: it,
3689
- UIKitRoot: fs,
3690
- useToast: ds
3691
- }, Symbol.toStringTag, { value: "Module" })), ms = ({ className: t, onSeen: o }) => {
3692
- const [u, l] = _.useState(!1), p = _.useRef(null);
3693
- return _.useEffect(() => {
3694
- if (!p.current) return;
3695
- const h = p.current, g = new IntersectionObserver((x) => {
3696
- x[0].isIntersecting && (o(), g.disconnect(), l(!0));
3697
- });
3698
- return g.observe(h), () => {
3699
- g.disconnect();
3700
- };
3701
- }, []), u ? null : /* @__PURE__ */ s.jsx(
3702
- "div",
3703
- {
3704
- ref: p,
3705
- className: t
3706
- }
3707
- );
3708
- }, ps = ({ className: t, onEnterView: o, onLeaveView: u }) => {
3709
- const l = _.useRef(!1), p = _.useRef(null);
3710
- return _.useEffect(() => {
3711
- if (!p.current) return;
3712
- const h = p.current, g = () => {
3713
- const { top: C, bottom: N, left: w, right: k } = h.getBoundingClientRect();
3714
- if (!l.current) {
3715
- if (C < 0) {
3716
- o == null || o("up"), l.current = !0;
3717
- return;
3718
- } else if (N > window.innerHeight) {
3719
- o == null || o("down"), l.current = !0;
3720
- return;
3721
- } else if (w < 0) {
3722
- o == null || o("left"), l.current = !0;
3723
- return;
3724
- } else if (k > window.innerWidth) {
3725
- o == null || o("right"), l.current = !0;
3726
- return;
3727
- }
3728
- }
3729
- if (C > window.innerHeight) {
3730
- u == null || u("down"), l.current = !1;
3731
- return;
3732
- } else if (N < 0) {
3733
- u == null || u("up"), l.current = !1;
3734
- return;
3735
- } else if (w > window.innerWidth) {
3736
- u == null || u("right"), l.current = !1;
3737
- return;
3738
- } else if (k < 0) {
3739
- u == null || u("left"), l.current = !1;
3740
- return;
3741
- }
3742
- }, x = new IntersectionObserver(() => {
3743
- g();
3744
- });
3745
- return x.observe(h), () => {
3746
- x.disconnect();
3747
- };
3748
- }, []), /* @__PURE__ */ s.jsx(
3749
- "div",
3750
- {
3751
- ref: p,
3752
- style: { height: 1, width: 1 },
3753
- className: t
3754
- }
3755
- );
3756
- }, gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3757
- __proto__: null,
3758
- HasBeenShown: ms,
3759
- OnInView: ps
3760
- }, Symbol.toStringTag, { value: "Module" }));
1
+ import { i as e } from "./index-BJy4nmTN.js";
2
+ import { i } from "./index-BoiKlAEs.js";
3
+ import { i as p } from "./index-Dj6g5px3.js";
4
+ import { i as a } from "./index-C9QO6nHU.js";
3761
5
  export {
3762
- vs as Components,
3763
- _s as Core,
3764
- gs as UtilityComponent,
3765
- hs as Views
6
+ e as Components,
7
+ p as Core,
8
+ a as UtilityComponent,
9
+ i as Views
3766
10
  };