@yourdash/uikit 1.0.26 → 1.0.28
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.d.ts +1 -0
- package/dist/uikit.js +869 -799
- package/dist/utilityComponent/index.d.ts +2 -0
- package/package.json +6 -6
package/dist/uikit.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
function Jn(t) {
|
2
2
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
3
3
|
}
|
4
|
-
var br = { exports: {} }, _t = {}, Cr = { exports: {} },
|
4
|
+
var br = { exports: {} }, _t = {}, Cr = { exports: {} }, O = {};
|
5
5
|
/**
|
6
6
|
* @license React
|
7
7
|
* react.production.min.js
|
@@ -13,18 +13,18 @@ var br = { exports: {} }, _t = {}, Cr = { exports: {} }, T = {};
|
|
13
13
|
*/
|
14
14
|
var Zr;
|
15
15
|
function Qn() {
|
16
|
-
if (Zr) return
|
16
|
+
if (Zr) return O;
|
17
17
|
Zr = 1;
|
18
|
-
var t = Symbol.for("react.element"), o = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"),
|
18
|
+
var t = Symbol.for("react.element"), o = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), l = Symbol.for("react.strict_mode"), m = 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"), S = Symbol.for("react.lazy"), k = Symbol.iterator;
|
19
19
|
function G(a) {
|
20
|
-
return a === null || typeof a != "object" ? null : (a =
|
20
|
+
return a === null || typeof a != "object" ? null : (a = k && a[k] || a["@@iterator"], typeof a == "function" ? a : null);
|
21
21
|
}
|
22
22
|
var Z = { isMounted: function() {
|
23
23
|
return !1;
|
24
24
|
}, enqueueForceUpdate: function() {
|
25
25
|
}, enqueueReplaceState: function() {
|
26
26
|
}, enqueueSetState: function() {
|
27
|
-
} },
|
27
|
+
} }, A = Object.assign, ie = {};
|
28
28
|
function ee(a, d, P) {
|
29
29
|
this.props = a, this.context = d, this.refs = ie, this.updater = P || Z;
|
30
30
|
}
|
@@ -41,24 +41,24 @@ function Qn() {
|
|
41
41
|
this.props = a, this.context = d, this.refs = ie, this.updater = P || Z;
|
42
42
|
}
|
43
43
|
var se = M.prototype = new ae();
|
44
|
-
se.constructor = M,
|
45
|
-
var te = Array.isArray,
|
44
|
+
se.constructor = M, A(se, ee.prototype), se.isPureReactComponent = !0;
|
45
|
+
var te = Array.isArray, Y = Object.prototype.hasOwnProperty, oe = { current: null }, pe = { key: !0, ref: !0, __self: !0, __source: !0 };
|
46
46
|
function xe(a, d, P) {
|
47
|
-
var D,
|
48
|
-
if (d != null) for (D in d.ref !== void 0 && (
|
49
|
-
var
|
50
|
-
if (
|
51
|
-
else if (1 <
|
52
|
-
for (var B = Array(
|
53
|
-
|
54
|
-
}
|
55
|
-
if (a && a.defaultProps) for (D in
|
56
|
-
return { $$typeof: t, type: a, key: H, ref:
|
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) && !pe.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
57
|
}
|
58
|
-
function
|
58
|
+
function Ae(a, d) {
|
59
59
|
return { $$typeof: t, type: a.type, key: d, ref: a.ref, props: a.props, _owner: a._owner };
|
60
60
|
}
|
61
|
-
function
|
61
|
+
function Fe(a) {
|
62
62
|
return typeof a == "object" && a !== null && a.$$typeof === t;
|
63
63
|
}
|
64
64
|
function ft(a) {
|
@@ -67,44 +67,44 @@ function Qn() {
|
|
67
67
|
return d[P];
|
68
68
|
});
|
69
69
|
}
|
70
|
-
var
|
70
|
+
var Le = /\/+/g;
|
71
71
|
function fe(a, d) {
|
72
72
|
return typeof a == "object" && a !== null && a.key != null ? ft("" + a.key) : d.toString(36);
|
73
73
|
}
|
74
|
-
function me(a, d, P, D,
|
74
|
+
function me(a, d, P, D, F) {
|
75
75
|
var H = typeof a;
|
76
76
|
(H === "undefined" || H === "boolean") && (a = null);
|
77
|
-
var
|
78
|
-
if (a === null)
|
77
|
+
var z = !1;
|
78
|
+
if (a === null) z = !0;
|
79
79
|
else switch (H) {
|
80
80
|
case "string":
|
81
81
|
case "number":
|
82
|
-
|
82
|
+
z = !0;
|
83
83
|
break;
|
84
84
|
case "object":
|
85
85
|
switch (a.$$typeof) {
|
86
86
|
case t:
|
87
87
|
case o:
|
88
|
-
|
88
|
+
z = !0;
|
89
89
|
}
|
90
90
|
}
|
91
|
-
if (
|
91
|
+
if (z) return z = a, F = F(z), a = D === "" ? "." + fe(z, 0) : D, te(F) ? (P = "", a != null && (P = a.replace(Le, "$&/") + "/"), me(F, d, P, "", function(re) {
|
92
92
|
return re;
|
93
|
-
})) :
|
94
|
-
if (
|
95
|
-
H = a[
|
96
|
-
var B = D + fe(H,
|
97
|
-
|
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 += me(H, d, P, B, F);
|
98
98
|
}
|
99
|
-
else if (B = G(a), typeof B == "function") for (a = B.call(a),
|
99
|
+
else if (B = G(a), typeof B == "function") for (a = B.call(a), W = 0; !(H = a.next()).done; ) H = H.value, B = D + fe(H, W++), z += me(H, d, P, B, F);
|
100
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
|
101
|
+
return z;
|
102
102
|
}
|
103
103
|
function ce(a, d, P) {
|
104
104
|
if (a == null) return a;
|
105
|
-
var D = [],
|
105
|
+
var D = [], F = 0;
|
106
106
|
return me(a, D, "", "", function(H) {
|
107
|
-
return d.call(P, H,
|
107
|
+
return d.call(P, H, F++);
|
108
108
|
}), D;
|
109
109
|
}
|
110
110
|
function ye(a) {
|
@@ -123,7 +123,7 @@ function Qn() {
|
|
123
123
|
function Ee() {
|
124
124
|
throw Error("act(...) is not supported in production builds of React.");
|
125
125
|
}
|
126
|
-
return
|
126
|
+
return O.Children = { map: ce, forEach: function(a, d, P) {
|
127
127
|
ce(a, function() {
|
128
128
|
d.apply(this, arguments);
|
129
129
|
}, P);
|
@@ -137,37 +137,37 @@ function Qn() {
|
|
137
137
|
return d;
|
138
138
|
}) || [];
|
139
139
|
}, only: function(a) {
|
140
|
-
if (!
|
140
|
+
if (!Fe(a)) throw Error("React.Children.only expected to receive a single React element child.");
|
141
141
|
return a;
|
142
|
-
} },
|
142
|
+
} }, O.Component = ee, O.Fragment = u, O.Profiler = m, 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
143
|
if (a == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + ".");
|
144
|
-
var D =
|
144
|
+
var D = A({}, a.props), F = a.key, H = a.ref, z = a._owner;
|
145
145
|
if (d != null) {
|
146
|
-
if (d.ref !== void 0 && (H = d.ref,
|
147
|
-
for (B in d)
|
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) && !pe.hasOwnProperty(B) && (D[B] = d[B] === void 0 && W !== void 0 ? W[B] : d[B]);
|
148
148
|
}
|
149
149
|
var B = arguments.length - 2;
|
150
150
|
if (B === 1) D.children = P;
|
151
151
|
else if (1 < B) {
|
152
|
-
|
153
|
-
for (var re = 0; re < B; re++)
|
154
|
-
D.children =
|
155
|
-
}
|
156
|
-
return { $$typeof: t, type: a.type, key:
|
157
|
-
},
|
158
|
-
return a = { $$typeof:
|
159
|
-
},
|
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
160
|
var d = xe.bind(null, a);
|
161
161
|
return d.type = a, d;
|
162
|
-
},
|
162
|
+
}, O.createRef = function() {
|
163
163
|
return { current: null };
|
164
|
-
},
|
165
|
-
return { $$typeof:
|
166
|
-
},
|
167
|
-
return { $$typeof:
|
168
|
-
},
|
169
|
-
return { $$typeof:
|
170
|
-
},
|
164
|
+
}, O.forwardRef = function(a) {
|
165
|
+
return { $$typeof: x, render: a };
|
166
|
+
}, O.isValidElement = Fe, O.lazy = function(a) {
|
167
|
+
return { $$typeof: S, _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
171
|
var d = be.transition;
|
172
172
|
be.transition = {};
|
173
173
|
try {
|
@@ -175,36 +175,36 @@ function Qn() {
|
|
175
175
|
} finally {
|
176
176
|
be.transition = d;
|
177
177
|
}
|
178
|
-
},
|
178
|
+
}, O.unstable_act = Ee, O.useCallback = function(a, d) {
|
179
179
|
return b.current.useCallback(a, d);
|
180
|
-
},
|
180
|
+
}, O.useContext = function(a) {
|
181
181
|
return b.current.useContext(a);
|
182
|
-
},
|
183
|
-
},
|
182
|
+
}, O.useDebugValue = function() {
|
183
|
+
}, O.useDeferredValue = function(a) {
|
184
184
|
return b.current.useDeferredValue(a);
|
185
|
-
},
|
185
|
+
}, O.useEffect = function(a, d) {
|
186
186
|
return b.current.useEffect(a, d);
|
187
|
-
},
|
187
|
+
}, O.useId = function() {
|
188
188
|
return b.current.useId();
|
189
|
-
},
|
189
|
+
}, O.useImperativeHandle = function(a, d, P) {
|
190
190
|
return b.current.useImperativeHandle(a, d, P);
|
191
|
-
},
|
191
|
+
}, O.useInsertionEffect = function(a, d) {
|
192
192
|
return b.current.useInsertionEffect(a, d);
|
193
|
-
},
|
193
|
+
}, O.useLayoutEffect = function(a, d) {
|
194
194
|
return b.current.useLayoutEffect(a, d);
|
195
|
-
},
|
195
|
+
}, O.useMemo = function(a, d) {
|
196
196
|
return b.current.useMemo(a, d);
|
197
|
-
},
|
197
|
+
}, O.useReducer = function(a, d, P) {
|
198
198
|
return b.current.useReducer(a, d, P);
|
199
|
-
},
|
199
|
+
}, O.useRef = function(a) {
|
200
200
|
return b.current.useRef(a);
|
201
|
-
},
|
201
|
+
}, O.useState = function(a) {
|
202
202
|
return b.current.useState(a);
|
203
|
-
},
|
203
|
+
}, O.useSyncExternalStore = function(a, d, P) {
|
204
204
|
return b.current.useSyncExternalStore(a, d, P);
|
205
|
-
},
|
205
|
+
}, O.useTransition = function() {
|
206
206
|
return b.current.useTransition();
|
207
|
-
},
|
207
|
+
}, O.version = "18.3.1", O;
|
208
208
|
}
|
209
209
|
var bt = { exports: {} };
|
210
210
|
/**
|
@@ -222,7 +222,7 @@ function Zn() {
|
|
222
222
|
return en || (en = 1, function(t, o) {
|
223
223
|
process.env.NODE_ENV !== "production" && function() {
|
224
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"),
|
225
|
+
var u = "18.3.1", l = Symbol.for("react.element"), m = 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"), S = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), G = 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
226
|
function M(e) {
|
227
227
|
if (e === null || typeof e != "object")
|
228
228
|
return null;
|
@@ -237,7 +237,7 @@ function Zn() {
|
|
237
237
|
current: null
|
238
238
|
}, te = {
|
239
239
|
transition: null
|
240
|
-
},
|
240
|
+
}, Y = {
|
241
241
|
current: null,
|
242
242
|
// Used to reproduce behavior of `batchedUpdates` in legacy mode.
|
243
243
|
isBatchingLegacy: !1,
|
@@ -249,7 +249,7 @@ function Zn() {
|
|
249
249
|
*/
|
250
250
|
current: null
|
251
251
|
}, pe = {}, xe = null;
|
252
|
-
function
|
252
|
+
function Ae(e) {
|
253
253
|
xe = e;
|
254
254
|
}
|
255
255
|
pe.setExtraStackFrame = function(e) {
|
@@ -260,12 +260,12 @@ function Zn() {
|
|
260
260
|
var r = pe.getCurrentStack;
|
261
261
|
return r && (e += r() || ""), e;
|
262
262
|
};
|
263
|
-
var
|
263
|
+
var Fe = !1, ft = !1, Le = !1, fe = !1, me = !1, ce = {
|
264
264
|
ReactCurrentDispatcher: se,
|
265
265
|
ReactCurrentBatchConfig: te,
|
266
266
|
ReactCurrentOwner: oe
|
267
267
|
};
|
268
|
-
ce.ReactDebugCurrentFrame = pe, ce.ReactCurrentActQueue =
|
268
|
+
ce.ReactDebugCurrentFrame = pe, ce.ReactCurrentActQueue = Y;
|
269
269
|
function ye(e) {
|
270
270
|
{
|
271
271
|
for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), s = 1; s < r; s++)
|
@@ -282,21 +282,21 @@ function Zn() {
|
|
282
282
|
}
|
283
283
|
function be(e, r, i) {
|
284
284
|
{
|
285
|
-
var s = ce.ReactDebugCurrentFrame,
|
286
|
-
|
287
|
-
var
|
288
|
-
return String(
|
285
|
+
var s = ce.ReactDebugCurrentFrame, v = s.getStackAddendum();
|
286
|
+
v !== "" && (r += "%s", i = i.concat([v]));
|
287
|
+
var E = i.map(function(y) {
|
288
|
+
return String(y);
|
289
289
|
});
|
290
|
-
|
290
|
+
E.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, E);
|
291
291
|
}
|
292
292
|
}
|
293
293
|
var Me = {};
|
294
294
|
function Ee(e, r) {
|
295
295
|
{
|
296
|
-
var i = e.constructor, s = i && (i.displayName || i.name) || "ReactClass",
|
297
|
-
if (Me[
|
296
|
+
var i = e.constructor, s = i && (i.displayName || i.name) || "ReactClass", v = s + "." + r;
|
297
|
+
if (Me[v])
|
298
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, s), Me[
|
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, s), Me[v] = !0;
|
300
300
|
}
|
301
301
|
}
|
302
302
|
var a = {
|
@@ -372,7 +372,7 @@ function Zn() {
|
|
372
372
|
this.updater.enqueueForceUpdate(this, e, "forceUpdate");
|
373
373
|
};
|
374
374
|
{
|
375
|
-
var
|
375
|
+
var F = {
|
376
376
|
isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
|
377
377
|
replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
|
378
378
|
}, H = function(e, r) {
|
@@ -382,16 +382,16 @@ function Zn() {
|
|
382
382
|
}
|
383
383
|
});
|
384
384
|
};
|
385
|
-
for (var
|
386
|
-
|
385
|
+
for (var z in F)
|
386
|
+
F.hasOwnProperty(z) && H(z, F[z]);
|
387
387
|
}
|
388
|
-
function
|
388
|
+
function W() {
|
389
389
|
}
|
390
|
-
|
390
|
+
W.prototype = D.prototype;
|
391
391
|
function B(e, r, i) {
|
392
392
|
this.props = e, this.context = r, this.refs = P, this.updater = i || a;
|
393
393
|
}
|
394
|
-
var re = B.prototype = new
|
394
|
+
var re = B.prototype = new W();
|
395
395
|
re.constructor = B, d(re, D.prototype), re.isPureReactComponent = !0;
|
396
396
|
function Kt() {
|
397
397
|
var e = {
|
@@ -423,12 +423,12 @@ function Zn() {
|
|
423
423
|
if (Je(e))
|
424
424
|
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Xt(e)), Te(e);
|
425
425
|
}
|
426
|
-
function
|
426
|
+
function St(e, r, i) {
|
427
427
|
var s = e.displayName;
|
428
428
|
if (s)
|
429
429
|
return s;
|
430
|
-
var
|
431
|
-
return
|
430
|
+
var v = r.displayName || r.name || "";
|
431
|
+
return v !== "" ? i + "(" + v + ")" : i;
|
432
432
|
}
|
433
433
|
function Ue(e) {
|
434
434
|
return e.displayName || "Context";
|
@@ -443,34 +443,34 @@ function Zn() {
|
|
443
443
|
switch (e) {
|
444
444
|
case h:
|
445
445
|
return "Fragment";
|
446
|
-
case
|
446
|
+
case m:
|
447
447
|
return "Portal";
|
448
|
-
case
|
448
|
+
case x:
|
449
449
|
return "Profiler";
|
450
|
-
case
|
450
|
+
case g:
|
451
451
|
return "StrictMode";
|
452
|
-
case
|
452
|
+
case k:
|
453
453
|
return "Suspense";
|
454
454
|
case G:
|
455
455
|
return "SuspenseList";
|
456
456
|
}
|
457
457
|
if (typeof e == "object")
|
458
458
|
switch (e.$$typeof) {
|
459
|
-
case
|
459
|
+
case N:
|
460
460
|
var r = e;
|
461
461
|
return Ue(r) + ".Consumer";
|
462
|
-
case
|
462
|
+
case C:
|
463
463
|
var i = e;
|
464
464
|
return Ue(i._context) + ".Provider";
|
465
|
-
case
|
466
|
-
return
|
465
|
+
case S:
|
466
|
+
return St(e, e.render, "ForwardRef");
|
467
467
|
case Z:
|
468
468
|
var s = e.displayName || null;
|
469
469
|
return s !== null ? s : Ce(e.type) || "Memo";
|
470
|
-
case
|
471
|
-
var
|
470
|
+
case A: {
|
471
|
+
var v = e, E = v._payload, y = v._init;
|
472
472
|
try {
|
473
|
-
return Ce(
|
473
|
+
return Ce(y(E));
|
474
474
|
} catch {
|
475
475
|
return null;
|
476
476
|
}
|
@@ -478,15 +478,15 @@ function Zn() {
|
|
478
478
|
}
|
479
479
|
return null;
|
480
480
|
}
|
481
|
-
var
|
481
|
+
var We = Object.prototype.hasOwnProperty, Qe = {
|
482
482
|
key: !0,
|
483
483
|
ref: !0,
|
484
484
|
__self: !0,
|
485
485
|
__source: !0
|
486
|
-
},
|
486
|
+
}, wt, jt, Ze;
|
487
487
|
Ze = {};
|
488
488
|
function dt(e) {
|
489
|
-
if (
|
489
|
+
if (We.call(e, "ref")) {
|
490
490
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
491
491
|
if (r && r.isReactWarning)
|
492
492
|
return !1;
|
@@ -494,7 +494,7 @@ function Zn() {
|
|
494
494
|
return e.ref !== void 0;
|
495
495
|
}
|
496
496
|
function Oe(e) {
|
497
|
-
if (
|
497
|
+
if (We.call(e, "key")) {
|
498
498
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
499
499
|
if (r && r.isReactWarning)
|
500
500
|
return !1;
|
@@ -503,7 +503,7 @@ function Zn() {
|
|
503
503
|
}
|
504
504
|
function Jt(e, r) {
|
505
505
|
var i = function() {
|
506
|
-
|
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
507
|
};
|
508
508
|
i.isReactWarning = !0, Object.defineProperty(e, "key", {
|
509
509
|
get: i,
|
@@ -525,7 +525,7 @@ function Zn() {
|
|
525
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
526
|
}
|
527
527
|
}
|
528
|
-
var
|
528
|
+
var Ye = function(e, r, i, s, v, E, y) {
|
529
529
|
var w = {
|
530
530
|
// This tag allows us to uniquely identify this as a React Element
|
531
531
|
$$typeof: l,
|
@@ -533,9 +533,9 @@ function Zn() {
|
|
533
533
|
type: e,
|
534
534
|
key: r,
|
535
535
|
ref: i,
|
536
|
-
props:
|
536
|
+
props: y,
|
537
537
|
// Record the component responsible for creating this element.
|
538
|
-
_owner:
|
538
|
+
_owner: E
|
539
539
|
};
|
540
540
|
return w._store = {}, Object.defineProperty(w._store, "validated", {
|
541
541
|
configurable: !1,
|
@@ -551,59 +551,59 @@ function Zn() {
|
|
551
551
|
configurable: !1,
|
552
552
|
enumerable: !1,
|
553
553
|
writable: !1,
|
554
|
-
value:
|
554
|
+
value: v
|
555
555
|
}), Object.freeze && (Object.freeze(w.props), Object.freeze(w)), w;
|
556
556
|
};
|
557
557
|
function Qt(e, r, i) {
|
558
|
-
var s,
|
558
|
+
var s, v = {}, E = null, y = null, w = null, $ = null;
|
559
559
|
if (r != null) {
|
560
|
-
dt(r) && (
|
560
|
+
dt(r) && (y = r.ref, Tt(r)), Oe(r) && (Be(r.key), E = "" + r.key), w = r.__self === void 0 ? null : r.__self, $ = r.__source === void 0 ? null : r.__source;
|
561
561
|
for (s in r)
|
562
|
-
|
562
|
+
We.call(r, s) && !Qe.hasOwnProperty(s) && (v[s] = r[s]);
|
563
563
|
}
|
564
|
-
var
|
565
|
-
if (
|
566
|
-
|
567
|
-
else if (
|
568
|
-
for (var q = Array(
|
564
|
+
var V = arguments.length - 2;
|
565
|
+
if (V === 1)
|
566
|
+
v.children = i;
|
567
|
+
else if (V > 1) {
|
568
|
+
for (var q = Array(V), K = 0; K < V; K++)
|
569
569
|
q[K] = arguments[K + 2];
|
570
|
-
Object.freeze && Object.freeze(q),
|
570
|
+
Object.freeze && Object.freeze(q), v.children = q;
|
571
571
|
}
|
572
572
|
if (e && e.defaultProps) {
|
573
573
|
var J = e.defaultProps;
|
574
574
|
for (s in J)
|
575
|
-
|
575
|
+
v[s] === void 0 && (v[s] = J[s]);
|
576
576
|
}
|
577
|
-
if (
|
577
|
+
if (E || y) {
|
578
578
|
var ne = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
579
|
-
|
579
|
+
E && Jt(v, ne), y && kt(v, ne);
|
580
580
|
}
|
581
|
-
return
|
581
|
+
return Ye(e, E, y, w, $, oe.current, v);
|
582
582
|
}
|
583
583
|
function Zt(e, r) {
|
584
|
-
var i =
|
584
|
+
var i = Ye(e.type, r, e.ref, e._self, e._source, e._owner, e.props);
|
585
585
|
return i;
|
586
586
|
}
|
587
587
|
function er(e, r, i) {
|
588
588
|
if (e == null)
|
589
589
|
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + e + ".");
|
590
|
-
var s,
|
590
|
+
var s, v = d({}, e.props), E = e.key, y = e.ref, w = e._self, $ = e._source, V = e._owner;
|
591
591
|
if (r != null) {
|
592
|
-
dt(r) && (
|
592
|
+
dt(r) && (y = r.ref, V = oe.current), Oe(r) && (Be(r.key), E = "" + r.key);
|
593
593
|
var q;
|
594
594
|
e.type && e.type.defaultProps && (q = e.type.defaultProps);
|
595
595
|
for (s in r)
|
596
|
-
|
596
|
+
We.call(r, s) && !Qe.hasOwnProperty(s) && (r[s] === void 0 && q !== void 0 ? v[s] = q[s] : v[s] = r[s]);
|
597
597
|
}
|
598
598
|
var K = arguments.length - 2;
|
599
599
|
if (K === 1)
|
600
|
-
|
600
|
+
v.children = i;
|
601
601
|
else if (K > 1) {
|
602
602
|
for (var J = Array(K), ne = 0; ne < K; ne++)
|
603
603
|
J[ne] = arguments[ne + 2];
|
604
|
-
|
604
|
+
v.children = J;
|
605
605
|
}
|
606
|
-
return
|
606
|
+
return Ye(e.type, E, y, w, $, V, v);
|
607
607
|
}
|
608
608
|
function Pe(e) {
|
609
609
|
return typeof e == "object" && e !== null && e.$$typeof === l;
|
@@ -613,8 +613,8 @@ function Zn() {
|
|
613
613
|
var r = /[=:]/g, i = {
|
614
614
|
"=": "=0",
|
615
615
|
":": "=2"
|
616
|
-
}, s = e.replace(r, function(
|
617
|
-
return i[
|
616
|
+
}, s = e.replace(r, function(v) {
|
617
|
+
return i[v];
|
618
618
|
});
|
619
619
|
return "$" + s;
|
620
620
|
}
|
@@ -622,98 +622,98 @@ function Zn() {
|
|
622
622
|
function Re(e) {
|
623
623
|
return e.replace(Pt, "$&/");
|
624
624
|
}
|
625
|
-
function
|
625
|
+
function ze(e, r) {
|
626
626
|
return typeof e == "object" && e !== null && e.key != null ? (Be(e.key), rr("" + e.key)) : r.toString(36);
|
627
627
|
}
|
628
|
-
function Ne(e, r, i, s,
|
629
|
-
var
|
630
|
-
(
|
631
|
-
var
|
628
|
+
function Ne(e, r, i, s, v) {
|
629
|
+
var E = typeof e;
|
630
|
+
(E === "undefined" || E === "boolean") && (e = null);
|
631
|
+
var y = !1;
|
632
632
|
if (e === null)
|
633
|
-
|
633
|
+
y = !0;
|
634
634
|
else
|
635
|
-
switch (
|
635
|
+
switch (E) {
|
636
636
|
case "string":
|
637
637
|
case "number":
|
638
|
-
|
638
|
+
y = !0;
|
639
639
|
break;
|
640
640
|
case "object":
|
641
641
|
switch (e.$$typeof) {
|
642
642
|
case l:
|
643
|
-
case
|
644
|
-
|
643
|
+
case m:
|
644
|
+
y = !0;
|
645
645
|
}
|
646
646
|
}
|
647
|
-
if (
|
648
|
-
var w = e,
|
649
|
-
if (Xe(
|
647
|
+
if (y) {
|
648
|
+
var w = e, $ = v(w), V = s === "" ? Ot + ze(w, 0) : s;
|
649
|
+
if (Xe($)) {
|
650
650
|
var q = "";
|
651
|
-
|
651
|
+
V != null && (q = Re(V) + "/"), Ne($, r, q, "", function(Xn) {
|
652
652
|
return Xn;
|
653
653
|
});
|
654
|
-
} else
|
655
|
-
|
654
|
+
} else $ != null && (Pe($) && ($.key && (!w || w.key !== $.key) && Be($.key), $ = Zt(
|
655
|
+
$,
|
656
656
|
// Keep both the (mapped) and old keys if they differ, just as
|
657
657
|
// traverseAllChildren used to do for objects as children
|
658
658
|
i + // $FlowFixMe Flow incorrectly thinks React.Portal doesn't have a key
|
659
|
-
(
|
659
|
+
($.key && (!w || w.key !== $.key) ? (
|
660
660
|
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
|
661
661
|
// eslint-disable-next-line react-internal/safe-string-coercion
|
662
|
-
Re("" +
|
663
|
-
) : "") +
|
664
|
-
)), r.push(
|
662
|
+
Re("" + $.key) + "/"
|
663
|
+
) : "") + V
|
664
|
+
)), r.push($));
|
665
665
|
return 1;
|
666
666
|
}
|
667
667
|
var K, J, ne = 0, le = s === "" ? Ot : s + tr;
|
668
668
|
if (Xe(e))
|
669
|
-
for (var
|
670
|
-
K = 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
671
|
else {
|
672
672
|
var _r = M(e);
|
673
673
|
if (typeof _r == "function") {
|
674
674
|
var Xr = e;
|
675
675
|
_r === Xr.entries && (et || ye("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), et = !0);
|
676
676
|
for (var qn = _r.call(Xr), Jr, Kn = 0; !(Jr = qn.next()).done; )
|
677
|
-
K = Jr.value, J = le +
|
678
|
-
} else if (
|
677
|
+
K = Jr.value, J = le + ze(K, Kn++), ne += Ne(K, r, i, J, v);
|
678
|
+
} else if (E === "object") {
|
679
679
|
var Qr = String(e);
|
680
680
|
throw new Error("Objects are not valid as a React child (found: " + (Qr === "[object Object]" ? "object with keys {" + Object.keys(e).join(", ") + "}" : Qr) + "). If you meant to render a collection of children, use an array instead.");
|
681
681
|
}
|
682
682
|
}
|
683
683
|
return ne;
|
684
684
|
}
|
685
|
-
function
|
685
|
+
function Ve(e, r, i) {
|
686
686
|
if (e == null)
|
687
687
|
return e;
|
688
|
-
var s = [],
|
689
|
-
return Ne(e, s, "", "", function(
|
690
|
-
return r.call(i,
|
688
|
+
var s = [], v = 0;
|
689
|
+
return Ne(e, s, "", "", function(E) {
|
690
|
+
return r.call(i, E, v++);
|
691
691
|
}), s;
|
692
692
|
}
|
693
693
|
function nr(e) {
|
694
694
|
var r = 0;
|
695
|
-
return
|
695
|
+
return Ve(e, function() {
|
696
696
|
r++;
|
697
697
|
}), r;
|
698
698
|
}
|
699
699
|
function Nt(e, r, i) {
|
700
|
-
|
700
|
+
Ve(e, function() {
|
701
701
|
r.apply(this, arguments);
|
702
702
|
}, i);
|
703
703
|
}
|
704
704
|
function or(e) {
|
705
|
-
return
|
705
|
+
return Ve(e, function(r) {
|
706
706
|
return r;
|
707
707
|
}) || [];
|
708
708
|
}
|
709
|
-
function
|
709
|
+
function It(e) {
|
710
710
|
if (!Pe(e))
|
711
711
|
throw new Error("React.Children.only expected to receive a single React element child.");
|
712
712
|
return e;
|
713
713
|
}
|
714
|
-
function
|
714
|
+
function Dt(e) {
|
715
715
|
var r = {
|
716
|
-
$$typeof:
|
716
|
+
$$typeof: N,
|
717
717
|
// As a workaround to support multiple concurrent renderers, we categorize
|
718
718
|
// some renderers as primary and others as secondary. We only expect
|
719
719
|
// there to be two concurrent renderers at most: React Native (primary) and
|
@@ -732,46 +732,46 @@ function Zn() {
|
|
732
732
|
_globalName: null
|
733
733
|
};
|
734
734
|
r.Provider = {
|
735
|
-
$$typeof:
|
735
|
+
$$typeof: C,
|
736
736
|
_context: r
|
737
737
|
};
|
738
|
-
var i = !1, s = !1,
|
738
|
+
var i = !1, s = !1, v = !1;
|
739
739
|
{
|
740
|
-
var
|
741
|
-
$$typeof:
|
740
|
+
var E = {
|
741
|
+
$$typeof: N,
|
742
742
|
_context: r
|
743
743
|
};
|
744
|
-
Object.defineProperties(
|
744
|
+
Object.defineProperties(E, {
|
745
745
|
Provider: {
|
746
746
|
get: function() {
|
747
747
|
return s || (s = !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
748
|
},
|
749
|
-
set: function(
|
750
|
-
r.Provider =
|
749
|
+
set: function(y) {
|
750
|
+
r.Provider = y;
|
751
751
|
}
|
752
752
|
},
|
753
753
|
_currentValue: {
|
754
754
|
get: function() {
|
755
755
|
return r._currentValue;
|
756
756
|
},
|
757
|
-
set: function(
|
758
|
-
r._currentValue =
|
757
|
+
set: function(y) {
|
758
|
+
r._currentValue = y;
|
759
759
|
}
|
760
760
|
},
|
761
761
|
_currentValue2: {
|
762
762
|
get: function() {
|
763
763
|
return r._currentValue2;
|
764
764
|
},
|
765
|
-
set: function(
|
766
|
-
r._currentValue2 =
|
765
|
+
set: function(y) {
|
766
|
+
r._currentValue2 = y;
|
767
767
|
}
|
768
768
|
},
|
769
769
|
_threadCount: {
|
770
770
|
get: function() {
|
771
771
|
return r._threadCount;
|
772
772
|
},
|
773
|
-
set: function(
|
774
|
-
r._threadCount =
|
773
|
+
set: function(y) {
|
774
|
+
r._threadCount = y;
|
775
775
|
}
|
776
776
|
},
|
777
777
|
Consumer: {
|
@@ -783,11 +783,11 @@ function Zn() {
|
|
783
783
|
get: function() {
|
784
784
|
return r.displayName;
|
785
785
|
},
|
786
|
-
set: function(
|
787
|
-
|
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
788
|
}
|
789
789
|
}
|
790
|
-
}), r.Consumer =
|
790
|
+
}), r.Consumer = E;
|
791
791
|
}
|
792
792
|
return r._currentRenderer = null, r._currentRenderer2 = null, r;
|
793
793
|
}
|
@@ -795,15 +795,15 @@ function Zn() {
|
|
795
795
|
function ar(e) {
|
796
796
|
if (e._status === He) {
|
797
797
|
var r = e._result, i = r();
|
798
|
-
if (i.then(function(
|
798
|
+
if (i.then(function(E) {
|
799
799
|
if (e._status === pt || e._status === He) {
|
800
|
-
var
|
801
|
-
|
800
|
+
var y = e;
|
801
|
+
y._status = mt, y._result = E;
|
802
802
|
}
|
803
|
-
}, function(
|
803
|
+
}, function(E) {
|
804
804
|
if (e._status === pt || e._status === He) {
|
805
|
-
var
|
806
|
-
|
805
|
+
var y = e;
|
806
|
+
y._status = $t, y._result = E;
|
807
807
|
}
|
808
808
|
}), e._status === He) {
|
809
809
|
var s = e;
|
@@ -811,16 +811,16 @@ function Zn() {
|
|
811
811
|
}
|
812
812
|
}
|
813
813
|
if (e._status === mt) {
|
814
|
-
var
|
815
|
-
return
|
814
|
+
var v = e._result;
|
815
|
+
return v === void 0 && b(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
816
816
|
|
817
817
|
Your code should look like:
|
818
818
|
const MyComponent = lazy(() => import('./MyComponent'))
|
819
819
|
|
820
|
-
Did you accidentally put curly braces around the import?`,
|
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
821
|
|
822
822
|
Your code should look like:
|
823
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,
|
823
|
+
const MyComponent = lazy(() => import('./MyComponent'))`, v), v.default;
|
824
824
|
} else
|
825
825
|
throw e._result;
|
826
826
|
}
|
@@ -830,20 +830,20 @@ Your code should look like:
|
|
830
830
|
_status: He,
|
831
831
|
_result: e
|
832
832
|
}, i = {
|
833
|
-
$$typeof:
|
833
|
+
$$typeof: A,
|
834
834
|
_payload: r,
|
835
835
|
_init: ar
|
836
836
|
};
|
837
837
|
{
|
838
|
-
var s,
|
838
|
+
var s, v;
|
839
839
|
Object.defineProperties(i, {
|
840
840
|
defaultProps: {
|
841
841
|
configurable: !0,
|
842
842
|
get: function() {
|
843
843
|
return s;
|
844
844
|
},
|
845
|
-
set: function(
|
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."), s =
|
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."), s = E, Object.defineProperty(i, "defaultProps", {
|
847
847
|
enumerable: !0
|
848
848
|
});
|
849
849
|
}
|
@@ -851,10 +851,10 @@ Your code should look like:
|
|
851
851
|
propTypes: {
|
852
852
|
configurable: !0,
|
853
853
|
get: function() {
|
854
|
-
return
|
854
|
+
return v;
|
855
855
|
},
|
856
|
-
set: function(
|
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."),
|
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
858
|
enumerable: !0
|
859
859
|
});
|
860
860
|
}
|
@@ -866,7 +866,7 @@ Your code should look like:
|
|
866
866
|
function sr(e) {
|
867
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
868
|
var r = {
|
869
|
-
$$typeof:
|
869
|
+
$$typeof: S,
|
870
870
|
render: e
|
871
871
|
};
|
872
872
|
{
|
@@ -884,14 +884,14 @@ Your code should look like:
|
|
884
884
|
}
|
885
885
|
return r;
|
886
886
|
}
|
887
|
-
var
|
888
|
-
|
887
|
+
var At;
|
888
|
+
At = Symbol.for("react.module.reference");
|
889
889
|
function n(e) {
|
890
|
-
return !!(typeof e == "string" || typeof e == "function" || e === h || e ===
|
890
|
+
return !!(typeof e == "string" || typeof e == "function" || e === h || e === x || me || e === g || e === k || e === G || fe || e === ie || Fe || ft || Le || typeof e == "object" && e !== null && (e.$$typeof === A || e.$$typeof === Z || e.$$typeof === C || e.$$typeof === N || e.$$typeof === S || // This needs to include all possible module reference object
|
891
891
|
// types supported by any Flight configuration anywhere since
|
892
892
|
// we don't know which Flight build this will end up being used
|
893
893
|
// with.
|
894
|
-
e.$$typeof ===
|
894
|
+
e.$$typeof === At || e.getModuleId !== void 0));
|
895
895
|
}
|
896
896
|
function f(e, r) {
|
897
897
|
n(e) || b("memo: The first argument must be a component. Instead received: %s", e === null ? "null" : typeof e);
|
@@ -908,8 +908,8 @@ Your code should look like:
|
|
908
908
|
get: function() {
|
909
909
|
return s;
|
910
910
|
},
|
911
|
-
set: function(
|
912
|
-
s =
|
911
|
+
set: function(v) {
|
912
|
+
s = v, !e.name && !e.displayName && (e.displayName = v);
|
913
913
|
}
|
914
914
|
});
|
915
915
|
}
|
@@ -923,7 +923,7 @@ Your code should look like:
|
|
923
923
|
3. You might have more than one copy of React in the same app
|
924
924
|
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`), e;
|
925
925
|
}
|
926
|
-
function
|
926
|
+
function R(e) {
|
927
927
|
var r = p();
|
928
928
|
if (e._context !== void 0) {
|
929
929
|
var i = e._context;
|
@@ -931,7 +931,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
931
931
|
}
|
932
932
|
return r.useContext(e);
|
933
933
|
}
|
934
|
-
function
|
934
|
+
function L(e) {
|
935
935
|
var r = p();
|
936
936
|
return r.useState(e);
|
937
937
|
}
|
@@ -939,11 +939,11 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
939
939
|
var s = p();
|
940
940
|
return s.useReducer(e, r, i);
|
941
941
|
}
|
942
|
-
function
|
942
|
+
function I(e) {
|
943
943
|
var r = p();
|
944
944
|
return r.useRef(e);
|
945
945
|
}
|
946
|
-
function
|
946
|
+
function T(e, r) {
|
947
947
|
var i = p();
|
948
948
|
return i.useEffect(e, r);
|
949
949
|
}
|
@@ -963,11 +963,11 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
963
963
|
var i = p();
|
964
964
|
return i.useMemo(e, r);
|
965
965
|
}
|
966
|
-
function
|
966
|
+
function Ie(e, r, i) {
|
967
967
|
var s = p();
|
968
968
|
return s.useImperativeHandle(e, r, i);
|
969
969
|
}
|
970
|
-
function
|
970
|
+
function Se(e, r) {
|
971
971
|
{
|
972
972
|
var i = p();
|
973
973
|
return i.useDebugValue(e, r);
|
@@ -989,18 +989,18 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
989
989
|
var s = p();
|
990
990
|
return s.useSyncExternalStore(e, r, i);
|
991
991
|
}
|
992
|
-
var ht = 0, Tr, Or, Pr, Nr,
|
993
|
-
function
|
992
|
+
var ht = 0, Tr, Or, Pr, Nr, Ir, Dr, $r;
|
993
|
+
function Ar() {
|
994
994
|
}
|
995
|
-
|
995
|
+
Ar.__reactDisabledLog = !0;
|
996
996
|
function On() {
|
997
997
|
{
|
998
998
|
if (ht === 0) {
|
999
|
-
Tr = console.log, Or = console.info, Pr = console.warn, Nr = console.error,
|
999
|
+
Tr = console.log, Or = console.info, Pr = console.warn, Nr = console.error, Ir = console.group, Dr = console.groupCollapsed, $r = console.groupEnd;
|
1000
1000
|
var e = {
|
1001
1001
|
configurable: !0,
|
1002
1002
|
enumerable: !0,
|
1003
|
-
value:
|
1003
|
+
value: Ar,
|
1004
1004
|
writable: !0
|
1005
1005
|
};
|
1006
1006
|
Object.defineProperties(console, {
|
@@ -1038,10 +1038,10 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
1038
1038
|
value: Nr
|
1039
1039
|
}),
|
1040
1040
|
group: d({}, e, {
|
1041
|
-
value:
|
1041
|
+
value: Ir
|
1042
1042
|
}),
|
1043
1043
|
groupCollapsed: d({}, e, {
|
1044
|
-
value:
|
1044
|
+
value: Dr
|
1045
1045
|
}),
|
1046
1046
|
groupEnd: d({}, e, {
|
1047
1047
|
value: $r
|
@@ -1052,61 +1052,61 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
1052
1052
|
}
|
1053
1053
|
}
|
1054
1054
|
var lr = ce.ReactCurrentDispatcher, fr;
|
1055
|
-
function
|
1055
|
+
function Ft(e, r, i) {
|
1056
1056
|
{
|
1057
1057
|
if (fr === void 0)
|
1058
1058
|
try {
|
1059
1059
|
throw Error();
|
1060
|
-
} catch (
|
1061
|
-
var s =
|
1060
|
+
} catch (v) {
|
1061
|
+
var s = v.stack.trim().match(/\n( *(at )?)/);
|
1062
1062
|
fr = s && s[1] || "";
|
1063
1063
|
}
|
1064
1064
|
return `
|
1065
1065
|
` + fr + e;
|
1066
1066
|
}
|
1067
1067
|
}
|
1068
|
-
var dr = !1,
|
1068
|
+
var dr = !1, Lt;
|
1069
1069
|
{
|
1070
1070
|
var Nn = typeof WeakMap == "function" ? WeakMap : Map;
|
1071
|
-
|
1071
|
+
Lt = new Nn();
|
1072
1072
|
}
|
1073
|
-
function
|
1073
|
+
function Fr(e, r) {
|
1074
1074
|
if (!e || dr)
|
1075
1075
|
return "";
|
1076
1076
|
{
|
1077
|
-
var i =
|
1077
|
+
var i = Lt.get(e);
|
1078
1078
|
if (i !== void 0)
|
1079
1079
|
return i;
|
1080
1080
|
}
|
1081
1081
|
var s;
|
1082
1082
|
dr = !0;
|
1083
|
-
var
|
1083
|
+
var v = Error.prepareStackTrace;
|
1084
1084
|
Error.prepareStackTrace = void 0;
|
1085
|
-
var
|
1086
|
-
|
1085
|
+
var E;
|
1086
|
+
E = lr.current, lr.current = null, On();
|
1087
1087
|
try {
|
1088
1088
|
if (r) {
|
1089
|
-
var
|
1089
|
+
var y = function() {
|
1090
1090
|
throw Error();
|
1091
1091
|
};
|
1092
|
-
if (Object.defineProperty(
|
1092
|
+
if (Object.defineProperty(y.prototype, "props", {
|
1093
1093
|
set: function() {
|
1094
1094
|
throw Error();
|
1095
1095
|
}
|
1096
1096
|
}), typeof Reflect == "object" && Reflect.construct) {
|
1097
1097
|
try {
|
1098
|
-
Reflect.construct(
|
1098
|
+
Reflect.construct(y, []);
|
1099
1099
|
} catch (le) {
|
1100
1100
|
s = le;
|
1101
1101
|
}
|
1102
|
-
Reflect.construct(e, [],
|
1102
|
+
Reflect.construct(e, [], y);
|
1103
1103
|
} else {
|
1104
1104
|
try {
|
1105
|
-
|
1105
|
+
y.call();
|
1106
1106
|
} catch (le) {
|
1107
1107
|
s = le;
|
1108
1108
|
}
|
1109
|
-
e.call(
|
1109
|
+
e.call(y.prototype);
|
1110
1110
|
}
|
1111
1111
|
} else {
|
1112
1112
|
try {
|
@@ -1119,32 +1119,32 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
1119
1119
|
} catch (le) {
|
1120
1120
|
if (le && s && typeof le.stack == "string") {
|
1121
1121
|
for (var w = le.stack.split(`
|
1122
|
-
`),
|
1123
|
-
`),
|
1122
|
+
`), $ = s.stack.split(`
|
1123
|
+
`), V = w.length - 1, q = $.length - 1; V >= 1 && q >= 0 && w[V] !== $[q]; )
|
1124
1124
|
q--;
|
1125
|
-
for (;
|
1126
|
-
if (w[
|
1127
|
-
if (
|
1125
|
+
for (; V >= 1 && q >= 0; V--, q--)
|
1126
|
+
if (w[V] !== $[q]) {
|
1127
|
+
if (V !== 1 || q !== 1)
|
1128
1128
|
do
|
1129
|
-
if (
|
1129
|
+
if (V--, q--, q < 0 || w[V] !== $[q]) {
|
1130
1130
|
var K = `
|
1131
|
-
` + w[
|
1132
|
-
return e.displayName && K.includes("<anonymous>") && (K = K.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
1131
|
+
` + w[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
1133
|
}
|
1134
|
-
while (
|
1134
|
+
while (V >= 1 && q >= 0);
|
1135
1135
|
break;
|
1136
1136
|
}
|
1137
1137
|
}
|
1138
1138
|
} finally {
|
1139
|
-
dr = !1, lr.current =
|
1139
|
+
dr = !1, lr.current = E, Pn(), Error.prepareStackTrace = v;
|
1140
1140
|
}
|
1141
|
-
var J = e ? e.displayName || e.name : "", ne = J ?
|
1142
|
-
return typeof e == "function" &&
|
1141
|
+
var J = e ? e.displayName || e.name : "", ne = J ? Ft(J) : "";
|
1142
|
+
return typeof e == "function" && Lt.set(e, ne), ne;
|
1143
1143
|
}
|
1144
|
-
function
|
1145
|
-
return
|
1144
|
+
function In(e, r, i) {
|
1145
|
+
return Fr(e, !1);
|
1146
1146
|
}
|
1147
|
-
function
|
1147
|
+
function Dn(e) {
|
1148
1148
|
var r = e.prototype;
|
1149
1149
|
return !!(r && r.isReactComponent);
|
1150
1150
|
}
|
@@ -1152,32 +1152,32 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
1152
1152
|
if (e == null)
|
1153
1153
|
return "";
|
1154
1154
|
if (typeof e == "function")
|
1155
|
-
return
|
1155
|
+
return Fr(e, Dn(e));
|
1156
1156
|
if (typeof e == "string")
|
1157
|
-
return
|
1157
|
+
return Ft(e);
|
1158
1158
|
switch (e) {
|
1159
|
-
case
|
1160
|
-
return
|
1159
|
+
case k:
|
1160
|
+
return Ft("Suspense");
|
1161
1161
|
case G:
|
1162
|
-
return
|
1162
|
+
return Ft("SuspenseList");
|
1163
1163
|
}
|
1164
1164
|
if (typeof e == "object")
|
1165
1165
|
switch (e.$$typeof) {
|
1166
|
-
case
|
1167
|
-
return
|
1166
|
+
case S:
|
1167
|
+
return In(e.render);
|
1168
1168
|
case Z:
|
1169
1169
|
return Mt(e.type, r, i);
|
1170
|
-
case
|
1171
|
-
var s = e,
|
1170
|
+
case A: {
|
1171
|
+
var s = e, v = s._payload, E = s._init;
|
1172
1172
|
try {
|
1173
|
-
return Mt(
|
1173
|
+
return Mt(E(v), r, i);
|
1174
1174
|
} catch {
|
1175
1175
|
}
|
1176
1176
|
}
|
1177
1177
|
}
|
1178
1178
|
return "";
|
1179
1179
|
}
|
1180
|
-
var
|
1180
|
+
var Lr = {}, Mr = ce.ReactDebugCurrentFrame;
|
1181
1181
|
function Bt(e) {
|
1182
1182
|
if (e) {
|
1183
1183
|
var r = e._owner, i = Mt(e.type, e._source, r ? r.type : null);
|
@@ -1185,31 +1185,31 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
1185
1185
|
} else
|
1186
1186
|
Mr.setExtraStackFrame(null);
|
1187
1187
|
}
|
1188
|
-
function $n(e, r, i, s,
|
1188
|
+
function $n(e, r, i, s, v) {
|
1189
1189
|
{
|
1190
|
-
var
|
1191
|
-
for (var
|
1192
|
-
if (
|
1190
|
+
var E = Function.call.bind(We);
|
1191
|
+
for (var y in e)
|
1192
|
+
if (E(e, y)) {
|
1193
1193
|
var w = void 0;
|
1194
1194
|
try {
|
1195
|
-
if (typeof e[
|
1196
|
-
var
|
1197
|
-
throw
|
1195
|
+
if (typeof e[y] != "function") {
|
1196
|
+
var $ = Error((s || "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
1198
|
}
|
1199
|
-
w = e[
|
1200
|
-
} catch (
|
1201
|
-
w =
|
1199
|
+
w = e[y](r, y, s, i, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
1200
|
+
} catch (V) {
|
1201
|
+
w = V;
|
1202
1202
|
}
|
1203
|
-
w && !(w instanceof Error) && (Bt(
|
1203
|
+
w && !(w 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).", s || "React class", i, y, typeof w), Bt(null)), w instanceof Error && !(w.message in Lr) && (Lr[w.message] = !0, Bt(v), b("Failed %s type: %s", i, w.message), Bt(null));
|
1204
1204
|
}
|
1205
1205
|
}
|
1206
1206
|
}
|
1207
1207
|
function tt(e) {
|
1208
1208
|
if (e) {
|
1209
1209
|
var r = e._owner, i = Mt(e.type, e._source, r ? r.type : null);
|
1210
|
-
|
1210
|
+
Ae(i);
|
1211
1211
|
} else
|
1212
|
-
|
1212
|
+
Ae(null);
|
1213
1213
|
}
|
1214
1214
|
var pr;
|
1215
1215
|
pr = !1;
|
@@ -1223,7 +1223,7 @@ Check the render method of \`` + e + "`.";
|
|
1223
1223
|
}
|
1224
1224
|
return "";
|
1225
1225
|
}
|
1226
|
-
function
|
1226
|
+
function An(e) {
|
1227
1227
|
if (e !== void 0) {
|
1228
1228
|
var r = e.fileName.replace(/^.*[\\\/]/, ""), i = e.lineNumber;
|
1229
1229
|
return `
|
@@ -1232,11 +1232,11 @@ Check your code at ` + r + ":" + i + ".";
|
|
1232
1232
|
}
|
1233
1233
|
return "";
|
1234
1234
|
}
|
1235
|
-
function
|
1236
|
-
return e != null ?
|
1235
|
+
function Fn(e) {
|
1236
|
+
return e != null ? An(e.__source) : "";
|
1237
1237
|
}
|
1238
1238
|
var Ur = {};
|
1239
|
-
function
|
1239
|
+
function Ln(e) {
|
1240
1240
|
var r = Br();
|
1241
1241
|
if (!r) {
|
1242
1242
|
var i = typeof e == "string" ? e : e.displayName || e.name;
|
@@ -1246,10 +1246,10 @@ Check the top-level render call using <` + i + ">.");
|
|
1246
1246
|
}
|
1247
1247
|
return r;
|
1248
1248
|
}
|
1249
|
-
function
|
1249
|
+
function Wr(e, r) {
|
1250
1250
|
if (!(!e._store || e._store.validated || e.key != null)) {
|
1251
1251
|
e._store.validated = !0;
|
1252
|
-
var i =
|
1252
|
+
var i = Ln(r);
|
1253
1253
|
if (!Ur[i]) {
|
1254
1254
|
Ur[i] = !0;
|
1255
1255
|
var s = "";
|
@@ -1257,24 +1257,24 @@ Check the top-level render call using <` + i + ">.");
|
|
1257
1257
|
}
|
1258
1258
|
}
|
1259
1259
|
}
|
1260
|
-
function
|
1260
|
+
function Yr(e, r) {
|
1261
1261
|
if (typeof e == "object") {
|
1262
1262
|
if (Xe(e))
|
1263
1263
|
for (var i = 0; i < e.length; i++) {
|
1264
1264
|
var s = e[i];
|
1265
|
-
Pe(s) &&
|
1265
|
+
Pe(s) && Wr(s, r);
|
1266
1266
|
}
|
1267
1267
|
else if (Pe(e))
|
1268
1268
|
e._store && (e._store.validated = !0);
|
1269
1269
|
else if (e) {
|
1270
|
-
var
|
1271
|
-
if (typeof
|
1272
|
-
for (var
|
1273
|
-
Pe(
|
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) && Wr(y.value, r);
|
1274
1274
|
}
|
1275
1275
|
}
|
1276
1276
|
}
|
1277
|
-
function
|
1277
|
+
function zr(e) {
|
1278
1278
|
{
|
1279
1279
|
var r = e.type;
|
1280
1280
|
if (r == null || typeof r == "string")
|
@@ -1282,7 +1282,7 @@ Check the top-level render call using <` + i + ">.");
|
|
1282
1282
|
var i;
|
1283
1283
|
if (typeof r == "function")
|
1284
1284
|
i = r.propTypes;
|
1285
|
-
else if (typeof r == "object" && (r.$$typeof ===
|
1285
|
+
else if (typeof r == "object" && (r.$$typeof === S || // Note: Memo only checks outer props here.
|
1286
1286
|
// Inner props are checked in the reconciler.
|
1287
1287
|
r.$$typeof === Z))
|
1288
1288
|
i = r.propTypes;
|
@@ -1293,8 +1293,8 @@ Check the top-level render call using <` + i + ">.");
|
|
1293
1293
|
$n(i, e.props, "prop", s, e);
|
1294
1294
|
} else if (r.PropTypes !== void 0 && !pr) {
|
1295
1295
|
pr = !0;
|
1296
|
-
var
|
1297
|
-
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
1296
|
+
var v = Ce(r);
|
1297
|
+
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
|
1298
1298
|
}
|
1299
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
1300
|
}
|
@@ -1311,27 +1311,27 @@ Check the top-level render call using <` + i + ">.");
|
|
1311
1311
|
e.ref !== null && (tt(e), b("Invalid attribute `ref` supplied to `React.Fragment`."), tt(null));
|
1312
1312
|
}
|
1313
1313
|
}
|
1314
|
-
function
|
1314
|
+
function Vr(e, r, i) {
|
1315
1315
|
var s = n(e);
|
1316
1316
|
if (!s) {
|
1317
|
-
var
|
1318
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
1319
|
-
var
|
1320
|
-
|
1321
|
-
var
|
1322
|
-
e === null ?
|
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 = Fn(r);
|
1320
|
+
E ? v += E : v += Br();
|
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
1323
|
}
|
1324
1324
|
var w = Qt.apply(this, arguments);
|
1325
1325
|
if (w == null)
|
1326
1326
|
return w;
|
1327
1327
|
if (s)
|
1328
|
-
for (var
|
1329
|
-
|
1330
|
-
return e === h ? Mn(w) :
|
1328
|
+
for (var $ = 2; $ < arguments.length; $++)
|
1329
|
+
Yr(arguments[$], e);
|
1330
|
+
return e === h ? Mn(w) : zr(w), w;
|
1331
1331
|
}
|
1332
1332
|
var Hr = !1;
|
1333
1333
|
function Bn(e) {
|
1334
|
-
var r =
|
1334
|
+
var r = Vr.bind(null, e);
|
1335
1335
|
return r.type = e, Hr || (Hr = !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
1336
|
enumerable: !1,
|
1337
1337
|
get: function() {
|
@@ -1342,11 +1342,11 @@ Check the top-level render call using <` + i + ">.");
|
|
1342
1342
|
}), r;
|
1343
1343
|
}
|
1344
1344
|
function Un(e, r, i) {
|
1345
|
-
for (var s = er.apply(this, arguments),
|
1346
|
-
|
1347
|
-
return
|
1345
|
+
for (var s = er.apply(this, arguments), v = 2; v < arguments.length; v++)
|
1346
|
+
Yr(arguments[v], s.type);
|
1347
|
+
return zr(s), s;
|
1348
1348
|
}
|
1349
|
-
function
|
1349
|
+
function Wn(e, r) {
|
1350
1350
|
var i = te.transition;
|
1351
1351
|
te.transition = {};
|
1352
1352
|
var s = te.transition;
|
@@ -1355,22 +1355,22 @@ Check the top-level render call using <` + i + ">.");
|
|
1355
1355
|
e();
|
1356
1356
|
} finally {
|
1357
1357
|
if (te.transition = i, i === null && s._updatedFibers) {
|
1358
|
-
var
|
1359
|
-
|
1358
|
+
var v = s._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."), s._updatedFibers.clear();
|
1360
1360
|
}
|
1361
1361
|
}
|
1362
1362
|
}
|
1363
1363
|
var Gr = !1, Ut = null;
|
1364
|
-
function
|
1364
|
+
function Yn(e) {
|
1365
1365
|
if (Ut === null)
|
1366
1366
|
try {
|
1367
1367
|
var r = ("require" + Math.random()).slice(0, 7), i = t && t[r];
|
1368
1368
|
Ut = i.call(t, "timers").setImmediate;
|
1369
1369
|
} catch {
|
1370
|
-
Ut = function(
|
1370
|
+
Ut = function(v) {
|
1371
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
|
1373
|
-
|
1372
|
+
var E = new MessageChannel();
|
1373
|
+
E.port1.onmessage = v, E.port2.postMessage(void 0);
|
1374
1374
|
};
|
1375
1375
|
}
|
1376
1376
|
return Ut(e);
|
@@ -1379,47 +1379,47 @@ Check the top-level render call using <` + i + ">.");
|
|
1379
1379
|
function Kr(e) {
|
1380
1380
|
{
|
1381
1381
|
var r = rt;
|
1382
|
-
rt++,
|
1383
|
-
var i =
|
1382
|
+
rt++, Y.current === null && (Y.current = []);
|
1383
|
+
var i = Y.isBatchingLegacy, s;
|
1384
1384
|
try {
|
1385
|
-
if (
|
1386
|
-
var
|
1387
|
-
|
1385
|
+
if (Y.isBatchingLegacy = !0, s = e(), !i && Y.didScheduleLegacyUpdate) {
|
1386
|
+
var v = Y.current;
|
1387
|
+
v !== null && (Y.didScheduleLegacyUpdate = !1, hr(v));
|
1388
1388
|
}
|
1389
1389
|
} catch (J) {
|
1390
|
-
throw
|
1390
|
+
throw Wt(r), J;
|
1391
1391
|
} finally {
|
1392
|
-
|
1392
|
+
Y.isBatchingLegacy = i;
|
1393
1393
|
}
|
1394
1394
|
if (s !== null && typeof s == "object" && typeof s.then == "function") {
|
1395
|
-
var
|
1395
|
+
var E = s, y = !1, w = {
|
1396
1396
|
then: function(J, ne) {
|
1397
|
-
|
1398
|
-
|
1397
|
+
y = !0, E.then(function(le) {
|
1398
|
+
Wt(r), rt === 0 ? mr(le, J, ne) : J(le);
|
1399
1399
|
}, function(le) {
|
1400
|
-
|
1400
|
+
Wt(r), ne(le);
|
1401
1401
|
});
|
1402
1402
|
}
|
1403
1403
|
};
|
1404
1404
|
return !qr && typeof Promise < "u" && Promise.resolve().then(function() {
|
1405
1405
|
}).then(function() {
|
1406
|
-
|
1406
|
+
y || (qr = !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
1407
|
}), w;
|
1408
1408
|
} else {
|
1409
|
-
var
|
1410
|
-
if (
|
1411
|
-
var
|
1412
|
-
|
1409
|
+
var $ = s;
|
1410
|
+
if (Wt(r), rt === 0) {
|
1411
|
+
var V = Y.current;
|
1412
|
+
V !== null && (hr(V), Y.current = null);
|
1413
1413
|
var q = {
|
1414
1414
|
then: function(J, ne) {
|
1415
|
-
|
1415
|
+
Y.current === null ? (Y.current = [], mr($, J, ne)) : J($);
|
1416
1416
|
}
|
1417
1417
|
};
|
1418
1418
|
return q;
|
1419
1419
|
} else {
|
1420
1420
|
var K = {
|
1421
1421
|
then: function(J, ne) {
|
1422
|
-
J(
|
1422
|
+
J($);
|
1423
1423
|
}
|
1424
1424
|
};
|
1425
1425
|
return K;
|
@@ -1427,19 +1427,19 @@ Check the top-level render call using <` + i + ">.");
|
|
1427
1427
|
}
|
1428
1428
|
}
|
1429
1429
|
}
|
1430
|
-
function
|
1430
|
+
function Wt(e) {
|
1431
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
1432
|
}
|
1433
1433
|
function mr(e, r, i) {
|
1434
1434
|
{
|
1435
|
-
var s =
|
1435
|
+
var s = Y.current;
|
1436
1436
|
if (s !== null)
|
1437
1437
|
try {
|
1438
|
-
hr(s),
|
1439
|
-
s.length === 0 ? (
|
1438
|
+
hr(s), Yn(function() {
|
1439
|
+
s.length === 0 ? (Y.current = null, r(e)) : mr(e, r, i);
|
1440
1440
|
});
|
1441
|
-
} catch (
|
1442
|
-
i(
|
1441
|
+
} catch (v) {
|
1442
|
+
i(v);
|
1443
1443
|
}
|
1444
1444
|
else
|
1445
1445
|
r(e);
|
@@ -1465,20 +1465,20 @@ Check the top-level render call using <` + i + ">.");
|
|
1465
1465
|
}
|
1466
1466
|
}
|
1467
1467
|
}
|
1468
|
-
var
|
1469
|
-
map:
|
1468
|
+
var zn = Vr, Vn = Un, Hn = Bn, Gn = {
|
1469
|
+
map: Ve,
|
1470
1470
|
forEach: Nt,
|
1471
1471
|
count: nr,
|
1472
1472
|
toArray: or,
|
1473
|
-
only:
|
1473
|
+
only: It
|
1474
1474
|
};
|
1475
|
-
o.Children = Gn, o.Component = D, o.Fragment = h, o.Profiler =
|
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 = Kr, o.cloneElement = Vn, o.createContext = Dt, o.createElement = zn, o.createFactory = Hn, o.createRef = Kt, o.forwardRef = sr, o.isValidElement = Pe, o.lazy = ir, o.memo = f, o.startTransition = Wn, o.unstable_act = Kr, o.useCallback = Q, o.useContext = R, o.useDebugValue = Se, o.useDeferredValue = vt, o.useEffect = T, o.useId = cr, o.useImperativeHandle = Ie, o.useInsertionEffect = ue, o.useLayoutEffect = X, o.useMemo = ve, o.useReducer = U, o.useRef = I, o.useState = L, o.useSyncExternalStore = ur, 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
1476
|
}();
|
1477
1477
|
}(bt, bt.exports)), bt.exports;
|
1478
1478
|
}
|
1479
1479
|
process.env.NODE_ENV === "production" ? Cr.exports = Qn() : Cr.exports = Zn();
|
1480
|
-
var
|
1481
|
-
const qe = /* @__PURE__ */ Jn(
|
1480
|
+
var _ = Cr.exports;
|
1481
|
+
const qe = /* @__PURE__ */ Jn(_);
|
1482
1482
|
/**
|
1483
1483
|
* @license React
|
1484
1484
|
* react-jsx-runtime.production.min.js
|
@@ -1492,15 +1492,15 @@ var tn;
|
|
1492
1492
|
function eo() {
|
1493
1493
|
if (tn) return _t;
|
1494
1494
|
tn = 1;
|
1495
|
-
var t =
|
1496
|
-
function
|
1497
|
-
var
|
1498
|
-
|
1499
|
-
for (
|
1500
|
-
if (
|
1501
|
-
return { $$typeof: o, type:
|
1495
|
+
var t = _, o = Symbol.for("react.element"), u = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, m = 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 S, k = {}, G = null, Z = null;
|
1498
|
+
N !== void 0 && (G = "" + N), C.key !== void 0 && (G = "" + C.key), C.ref !== void 0 && (Z = C.ref);
|
1499
|
+
for (S in C) l.call(C, S) && !h.hasOwnProperty(S) && (k[S] = C[S]);
|
1500
|
+
if (x && x.defaultProps) for (S in C = x.defaultProps, C) k[S] === void 0 && (k[S] = C[S]);
|
1501
|
+
return { $$typeof: o, type: x, key: G, ref: Z, props: k, _owner: m.current };
|
1502
1502
|
}
|
1503
|
-
return _t.Fragment = u, _t.jsx =
|
1503
|
+
return _t.Fragment = u, _t.jsx = g, _t.jsxs = g, _t;
|
1504
1504
|
}
|
1505
1505
|
var gt = {};
|
1506
1506
|
/**
|
@@ -1515,48 +1515,48 @@ var gt = {};
|
|
1515
1515
|
var rn;
|
1516
1516
|
function to() {
|
1517
1517
|
return rn || (rn = 1, process.env.NODE_ENV !== "production" && function() {
|
1518
|
-
var t =
|
1518
|
+
var t = _, o = Symbol.for("react.element"), u = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), m = 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"), S = Symbol.for("react.suspense_list"), k = Symbol.for("react.memo"), G = Symbol.for("react.lazy"), Z = Symbol.for("react.offscreen"), A = Symbol.iterator, ie = "@@iterator";
|
1519
1519
|
function ee(n) {
|
1520
1520
|
if (n === null || typeof n != "object")
|
1521
1521
|
return null;
|
1522
|
-
var f =
|
1522
|
+
var f = A && n[A] || n[ie];
|
1523
1523
|
return typeof f == "function" ? f : null;
|
1524
1524
|
}
|
1525
1525
|
var ae = t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
1526
1526
|
function M(n) {
|
1527
1527
|
{
|
1528
|
-
for (var f = arguments.length, p = new Array(f > 1 ? f - 1 : 0),
|
1529
|
-
p[
|
1528
|
+
for (var f = arguments.length, p = new Array(f > 1 ? f - 1 : 0), R = 1; R < f; R++)
|
1529
|
+
p[R - 1] = arguments[R];
|
1530
1530
|
se("error", n, p);
|
1531
1531
|
}
|
1532
1532
|
}
|
1533
1533
|
function se(n, f, p) {
|
1534
1534
|
{
|
1535
|
-
var
|
1536
|
-
|
1537
|
-
var U = p.map(function(
|
1538
|
-
return String(
|
1535
|
+
var R = ae.ReactDebugCurrentFrame, L = R.getStackAddendum();
|
1536
|
+
L !== "" && (f += "%s", p = p.concat([L]));
|
1537
|
+
var U = p.map(function(I) {
|
1538
|
+
return String(I);
|
1539
1539
|
});
|
1540
1540
|
U.unshift("Warning: " + f), Function.prototype.apply.call(console[n], console, U);
|
1541
1541
|
}
|
1542
1542
|
}
|
1543
|
-
var te = !1,
|
1544
|
-
|
1545
|
-
function
|
1546
|
-
return !!(typeof n == "string" || typeof n == "function" || n === l || n === h || xe || n ===
|
1543
|
+
var te = !1, Y = !1, oe = !1, pe = !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 === m || n === N || n === S || pe || n === Z || te || Y || oe || typeof n == "object" && n !== null && (n.$$typeof === G || n.$$typeof === k || n.$$typeof === g || n.$$typeof === x || n.$$typeof === C || // This needs to include all possible module reference object
|
1547
1547
|
// types supported by any Flight configuration anywhere since
|
1548
1548
|
// we don't know which Flight build this will end up being used
|
1549
1549
|
// with.
|
1550
|
-
n.$$typeof ===
|
1550
|
+
n.$$typeof === Ae || n.getModuleId !== void 0));
|
1551
1551
|
}
|
1552
1552
|
function ft(n, f, p) {
|
1553
|
-
var
|
1554
|
-
if (
|
1555
|
-
return
|
1556
|
-
var
|
1557
|
-
return
|
1553
|
+
var R = n.displayName;
|
1554
|
+
if (R)
|
1555
|
+
return R;
|
1556
|
+
var L = f.displayName || f.name || "";
|
1557
|
+
return L !== "" ? p + "(" + L + ")" : p;
|
1558
1558
|
}
|
1559
|
-
function
|
1559
|
+
function Le(n) {
|
1560
1560
|
return n.displayName || "Context";
|
1561
1561
|
}
|
1562
1562
|
function fe(n) {
|
@@ -1573,30 +1573,30 @@ function to() {
|
|
1573
1573
|
return "Portal";
|
1574
1574
|
case h:
|
1575
1575
|
return "Profiler";
|
1576
|
-
case
|
1576
|
+
case m:
|
1577
1577
|
return "StrictMode";
|
1578
|
-
case
|
1578
|
+
case N:
|
1579
1579
|
return "Suspense";
|
1580
|
-
case
|
1580
|
+
case S:
|
1581
1581
|
return "SuspenseList";
|
1582
1582
|
}
|
1583
1583
|
if (typeof n == "object")
|
1584
1584
|
switch (n.$$typeof) {
|
1585
|
-
case
|
1585
|
+
case x:
|
1586
1586
|
var f = n;
|
1587
|
-
return
|
1588
|
-
case
|
1587
|
+
return Le(f) + ".Consumer";
|
1588
|
+
case g:
|
1589
1589
|
var p = n;
|
1590
|
-
return
|
1591
|
-
case
|
1590
|
+
return Le(p._context) + ".Provider";
|
1591
|
+
case C:
|
1592
1592
|
return ft(n, n.render, "ForwardRef");
|
1593
|
-
case
|
1594
|
-
var
|
1595
|
-
return
|
1593
|
+
case k:
|
1594
|
+
var R = n.displayName || null;
|
1595
|
+
return R !== null ? R : fe(n.type) || "Memo";
|
1596
1596
|
case G: {
|
1597
|
-
var
|
1597
|
+
var L = n, U = L._payload, I = L._init;
|
1598
1598
|
try {
|
1599
|
-
return fe(
|
1599
|
+
return fe(I(U));
|
1600
1600
|
} catch {
|
1601
1601
|
return null;
|
1602
1602
|
}
|
@@ -1631,7 +1631,7 @@ function to() {
|
|
1631
1631
|
ce++;
|
1632
1632
|
}
|
1633
1633
|
}
|
1634
|
-
function
|
1634
|
+
function F() {
|
1635
1635
|
{
|
1636
1636
|
if (ce--, ce === 0) {
|
1637
1637
|
var n = {
|
@@ -1666,18 +1666,18 @@ function to() {
|
|
1666
1666
|
ce < 0 && M("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
1667
1667
|
}
|
1668
1668
|
}
|
1669
|
-
var H = ae.ReactCurrentDispatcher,
|
1670
|
-
function
|
1669
|
+
var H = ae.ReactCurrentDispatcher, z;
|
1670
|
+
function W(n, f, p) {
|
1671
1671
|
{
|
1672
|
-
if (
|
1672
|
+
if (z === void 0)
|
1673
1673
|
try {
|
1674
1674
|
throw Error();
|
1675
|
-
} catch (
|
1676
|
-
var
|
1677
|
-
|
1675
|
+
} catch (L) {
|
1676
|
+
var R = L.stack.trim().match(/\n( *(at )?)/);
|
1677
|
+
z = R && R[1] || "";
|
1678
1678
|
}
|
1679
1679
|
return `
|
1680
|
-
` +
|
1680
|
+
` + z + n;
|
1681
1681
|
}
|
1682
1682
|
}
|
1683
1683
|
var B = !1, re;
|
@@ -1693,57 +1693,57 @@ function to() {
|
|
1693
1693
|
if (p !== void 0)
|
1694
1694
|
return p;
|
1695
1695
|
}
|
1696
|
-
var
|
1696
|
+
var R;
|
1697
1697
|
B = !0;
|
1698
|
-
var
|
1698
|
+
var L = Error.prepareStackTrace;
|
1699
1699
|
Error.prepareStackTrace = void 0;
|
1700
1700
|
var U;
|
1701
1701
|
U = H.current, H.current = null, D();
|
1702
1702
|
try {
|
1703
1703
|
if (f) {
|
1704
|
-
var
|
1704
|
+
var I = function() {
|
1705
1705
|
throw Error();
|
1706
1706
|
};
|
1707
|
-
if (Object.defineProperty(
|
1707
|
+
if (Object.defineProperty(I.prototype, "props", {
|
1708
1708
|
set: function() {
|
1709
1709
|
throw Error();
|
1710
1710
|
}
|
1711
1711
|
}), typeof Reflect == "object" && Reflect.construct) {
|
1712
1712
|
try {
|
1713
|
-
Reflect.construct(
|
1713
|
+
Reflect.construct(I, []);
|
1714
1714
|
} catch (de) {
|
1715
|
-
|
1715
|
+
R = de;
|
1716
1716
|
}
|
1717
|
-
Reflect.construct(n, [],
|
1717
|
+
Reflect.construct(n, [], I);
|
1718
1718
|
} else {
|
1719
1719
|
try {
|
1720
|
-
|
1720
|
+
I.call();
|
1721
1721
|
} catch (de) {
|
1722
|
-
|
1722
|
+
R = de;
|
1723
1723
|
}
|
1724
|
-
n.call(
|
1724
|
+
n.call(I.prototype);
|
1725
1725
|
}
|
1726
1726
|
} else {
|
1727
1727
|
try {
|
1728
1728
|
throw Error();
|
1729
1729
|
} catch (de) {
|
1730
|
-
|
1730
|
+
R = de;
|
1731
1731
|
}
|
1732
1732
|
n();
|
1733
1733
|
}
|
1734
1734
|
} catch (de) {
|
1735
|
-
if (de &&
|
1736
|
-
for (var
|
1737
|
-
`), ue =
|
1738
|
-
`), X =
|
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
1739
|
Q--;
|
1740
1740
|
for (; X >= 1 && Q >= 0; X--, Q--)
|
1741
|
-
if (
|
1741
|
+
if (T[X] !== ue[Q]) {
|
1742
1742
|
if (X !== 1 || Q !== 1)
|
1743
1743
|
do
|
1744
|
-
if (X--, Q--, Q < 0 ||
|
1744
|
+
if (X--, Q--, Q < 0 || T[X] !== ue[Q]) {
|
1745
1745
|
var ve = `
|
1746
|
-
` +
|
1746
|
+
` + T[X].replace(" at new ", " at ");
|
1747
1747
|
return n.displayName && ve.includes("<anonymous>") && (ve = ve.replace("<anonymous>", n.displayName)), typeof n == "function" && re.set(n, ve), ve;
|
1748
1748
|
}
|
1749
1749
|
while (X >= 1 && Q >= 0);
|
@@ -1751,10 +1751,10 @@ function to() {
|
|
1751
1751
|
}
|
1752
1752
|
}
|
1753
1753
|
} finally {
|
1754
|
-
B = !1, H.current = U,
|
1754
|
+
B = !1, H.current = U, F(), Error.prepareStackTrace = L;
|
1755
1755
|
}
|
1756
|
-
var
|
1757
|
-
return typeof n == "function" && re.set(n,
|
1756
|
+
var Ie = n ? n.displayName || n.name : "", Se = Ie ? W(Ie) : "";
|
1757
|
+
return typeof n == "function" && re.set(n, Se), Se;
|
1758
1758
|
}
|
1759
1759
|
function Xe(n, f, p) {
|
1760
1760
|
return Rt(n, !1);
|
@@ -1769,61 +1769,61 @@ function to() {
|
|
1769
1769
|
if (typeof n == "function")
|
1770
1770
|
return Rt(n, Xt(n));
|
1771
1771
|
if (typeof n == "string")
|
1772
|
-
return
|
1772
|
+
return W(n);
|
1773
1773
|
switch (n) {
|
1774
|
-
case
|
1775
|
-
return
|
1776
|
-
case
|
1777
|
-
return
|
1774
|
+
case N:
|
1775
|
+
return W("Suspense");
|
1776
|
+
case S:
|
1777
|
+
return W("SuspenseList");
|
1778
1778
|
}
|
1779
1779
|
if (typeof n == "object")
|
1780
1780
|
switch (n.$$typeof) {
|
1781
|
-
case
|
1781
|
+
case C:
|
1782
1782
|
return Xe(n.render);
|
1783
|
-
case
|
1783
|
+
case k:
|
1784
1784
|
return Je(n.type, f, p);
|
1785
1785
|
case G: {
|
1786
|
-
var
|
1786
|
+
var R = n, L = R._payload, U = R._init;
|
1787
1787
|
try {
|
1788
|
-
return Je(U(
|
1788
|
+
return Je(U(L), f, p);
|
1789
1789
|
} catch {
|
1790
1790
|
}
|
1791
1791
|
}
|
1792
1792
|
}
|
1793
1793
|
return "";
|
1794
1794
|
}
|
1795
|
-
var Te = Object.prototype.hasOwnProperty, Be = {},
|
1795
|
+
var Te = Object.prototype.hasOwnProperty, Be = {}, St = ae.ReactDebugCurrentFrame;
|
1796
1796
|
function Ue(n) {
|
1797
1797
|
if (n) {
|
1798
1798
|
var f = n._owner, p = Je(n.type, n._source, f ? f.type : null);
|
1799
|
-
|
1799
|
+
St.setExtraStackFrame(p);
|
1800
1800
|
} else
|
1801
|
-
|
1801
|
+
St.setExtraStackFrame(null);
|
1802
1802
|
}
|
1803
|
-
function Ce(n, f, p,
|
1803
|
+
function Ce(n, f, p, R, L) {
|
1804
1804
|
{
|
1805
1805
|
var U = Function.call.bind(Te);
|
1806
|
-
for (var
|
1807
|
-
if (U(n,
|
1808
|
-
var
|
1806
|
+
for (var I in n)
|
1807
|
+
if (U(n, I)) {
|
1808
|
+
var T = void 0;
|
1809
1809
|
try {
|
1810
|
-
if (typeof n[
|
1811
|
-
var ue = Error((
|
1810
|
+
if (typeof n[I] != "function") {
|
1811
|
+
var ue = Error((R || "React class") + ": " + p + " 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
1812
|
throw ue.name = "Invariant Violation", ue;
|
1813
1813
|
}
|
1814
|
-
|
1814
|
+
T = n[I](f, I, R, p, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
1815
1815
|
} catch (X) {
|
1816
|
-
|
1816
|
+
T = X;
|
1817
1817
|
}
|
1818
|
-
|
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", p, I, typeof T), Ue(null)), T instanceof Error && !(T.message in Be) && (Be[T.message] = !0, Ue(L), M("Failed %s type: %s", p, T.message), Ue(null));
|
1819
1819
|
}
|
1820
1820
|
}
|
1821
1821
|
}
|
1822
|
-
var
|
1822
|
+
var We = Array.isArray;
|
1823
1823
|
function Qe(n) {
|
1824
|
-
return
|
1824
|
+
return We(n);
|
1825
1825
|
}
|
1826
|
-
function
|
1826
|
+
function wt(n) {
|
1827
1827
|
{
|
1828
1828
|
var f = typeof Symbol == "function" && Symbol.toStringTag, p = f && n[Symbol.toStringTag] || n.constructor.name || "Object";
|
1829
1829
|
return p;
|
@@ -1841,15 +1841,15 @@ function to() {
|
|
1841
1841
|
}
|
1842
1842
|
function dt(n) {
|
1843
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.",
|
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
1845
|
}
|
1846
1846
|
var Oe = ae.ReactCurrentOwner, Jt = {
|
1847
1847
|
key: !0,
|
1848
1848
|
ref: !0,
|
1849
1849
|
__self: !0,
|
1850
1850
|
__source: !0
|
1851
|
-
}, kt, Tt,
|
1852
|
-
|
1851
|
+
}, kt, Tt, Ye;
|
1852
|
+
Ye = {};
|
1853
1853
|
function Qt(n) {
|
1854
1854
|
if (Te.call(n, "ref")) {
|
1855
1855
|
var f = Object.getOwnPropertyDescriptor(n, "ref").get;
|
@@ -1869,7 +1869,7 @@ function to() {
|
|
1869
1869
|
function er(n, f) {
|
1870
1870
|
if (typeof n.ref == "string" && Oe.current && f && Oe.current.stateNode !== f) {
|
1871
1871
|
var p = fe(Oe.current.type);
|
1872
|
-
|
1872
|
+
Ye[p] || (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[p] = !0);
|
1873
1873
|
}
|
1874
1874
|
}
|
1875
1875
|
function Pe(n, f) {
|
@@ -1894,51 +1894,51 @@ function to() {
|
|
1894
1894
|
});
|
1895
1895
|
}
|
1896
1896
|
}
|
1897
|
-
var tr = function(n, f, p,
|
1898
|
-
var
|
1897
|
+
var tr = function(n, f, p, R, L, U, I) {
|
1898
|
+
var T = {
|
1899
1899
|
// This tag allows us to uniquely identify this as a React Element
|
1900
1900
|
$$typeof: o,
|
1901
1901
|
// Built-in properties that belong on the element
|
1902
1902
|
type: n,
|
1903
1903
|
key: f,
|
1904
1904
|
ref: p,
|
1905
|
-
props:
|
1905
|
+
props: I,
|
1906
1906
|
// Record the component responsible for creating this element.
|
1907
1907
|
_owner: U
|
1908
1908
|
};
|
1909
|
-
return
|
1909
|
+
return T._store = {}, Object.defineProperty(T._store, "validated", {
|
1910
1910
|
configurable: !1,
|
1911
1911
|
enumerable: !1,
|
1912
1912
|
writable: !0,
|
1913
1913
|
value: !1
|
1914
|
-
}), Object.defineProperty(
|
1914
|
+
}), Object.defineProperty(T, "_self", {
|
1915
1915
|
configurable: !1,
|
1916
1916
|
enumerable: !1,
|
1917
1917
|
writable: !1,
|
1918
|
-
value:
|
1919
|
-
}), Object.defineProperty(
|
1918
|
+
value: R
|
1919
|
+
}), Object.defineProperty(T, "_source", {
|
1920
1920
|
configurable: !1,
|
1921
1921
|
enumerable: !1,
|
1922
1922
|
writable: !1,
|
1923
|
-
value:
|
1924
|
-
}), Object.freeze && (Object.freeze(
|
1923
|
+
value: L
|
1924
|
+
}), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
|
1925
1925
|
};
|
1926
|
-
function rr(n, f, p,
|
1926
|
+
function rr(n, f, p, R, L) {
|
1927
1927
|
{
|
1928
|
-
var U,
|
1929
|
-
p !== void 0 && (dt(p),
|
1928
|
+
var U, I = {}, T = null, ue = null;
|
1929
|
+
p !== void 0 && (dt(p), T = "" + p), Zt(f) && (dt(f.key), T = "" + f.key), Qt(f) && (ue = f.ref, er(f, L));
|
1930
1930
|
for (U in f)
|
1931
|
-
Te.call(f, U) && !Jt.hasOwnProperty(U) && (
|
1931
|
+
Te.call(f, U) && !Jt.hasOwnProperty(U) && (I[U] = f[U]);
|
1932
1932
|
if (n && n.defaultProps) {
|
1933
1933
|
var X = n.defaultProps;
|
1934
1934
|
for (U in X)
|
1935
|
-
|
1935
|
+
I[U] === void 0 && (I[U] = X[U]);
|
1936
1936
|
}
|
1937
|
-
if (
|
1937
|
+
if (T || ue) {
|
1938
1938
|
var Q = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
1939
|
-
|
1939
|
+
T && Pe(I, Q), ue && Ot(I, Q);
|
1940
1940
|
}
|
1941
|
-
return tr(n,
|
1941
|
+
return tr(n, T, ue, L, R, Oe.current, I);
|
1942
1942
|
}
|
1943
1943
|
}
|
1944
1944
|
var et = ae.ReactCurrentOwner, Pt = ae.ReactDebugCurrentFrame;
|
@@ -1949,12 +1949,12 @@ function to() {
|
|
1949
1949
|
} else
|
1950
1950
|
Pt.setExtraStackFrame(null);
|
1951
1951
|
}
|
1952
|
-
var
|
1953
|
-
|
1952
|
+
var ze;
|
1953
|
+
ze = !1;
|
1954
1954
|
function Ne(n) {
|
1955
1955
|
return typeof n == "object" && n !== null && n.$$typeof === o;
|
1956
1956
|
}
|
1957
|
-
function
|
1957
|
+
function Ve() {
|
1958
1958
|
{
|
1959
1959
|
if (et.current) {
|
1960
1960
|
var n = fe(et.current.type);
|
@@ -1972,7 +1972,7 @@ Check the render method of \`` + n + "`.";
|
|
1972
1972
|
var Nt = {};
|
1973
1973
|
function or(n) {
|
1974
1974
|
{
|
1975
|
-
var f =
|
1975
|
+
var f = Ve();
|
1976
1976
|
if (!f) {
|
1977
1977
|
var p = typeof n == "string" ? n : n.displayName || n.name;
|
1978
1978
|
p && (f = `
|
@@ -1982,7 +1982,7 @@ Check the top-level render call using <` + p + ">.");
|
|
1982
1982
|
return f;
|
1983
1983
|
}
|
1984
1984
|
}
|
1985
|
-
function
|
1985
|
+
function It(n, f) {
|
1986
1986
|
{
|
1987
1987
|
if (!n._store || n._store.validated || n.key != null)
|
1988
1988
|
return;
|
@@ -1991,26 +1991,26 @@ Check the top-level render call using <` + p + ">.");
|
|
1991
1991
|
if (Nt[p])
|
1992
1992
|
return;
|
1993
1993
|
Nt[p] = !0;
|
1994
|
-
var
|
1995
|
-
n && n._owner && n._owner !== et.current && (
|
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.', p, R), Re(null);
|
1996
1996
|
}
|
1997
1997
|
}
|
1998
|
-
function
|
1998
|
+
function Dt(n, f) {
|
1999
1999
|
{
|
2000
2000
|
if (typeof n != "object")
|
2001
2001
|
return;
|
2002
2002
|
if (Qe(n))
|
2003
2003
|
for (var p = 0; p < n.length; p++) {
|
2004
|
-
var
|
2005
|
-
Ne(
|
2004
|
+
var R = n[p];
|
2005
|
+
Ne(R) && It(R, f);
|
2006
2006
|
}
|
2007
2007
|
else if (Ne(n))
|
2008
2008
|
n._store && (n._store.validated = !0);
|
2009
2009
|
else if (n) {
|
2010
|
-
var
|
2011
|
-
if (typeof
|
2012
|
-
for (var U =
|
2013
|
-
Ne(
|
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
2014
|
}
|
2015
2015
|
}
|
2016
2016
|
}
|
@@ -2022,19 +2022,19 @@ Check the top-level render call using <` + p + ">.");
|
|
2022
2022
|
var p;
|
2023
2023
|
if (typeof f == "function")
|
2024
2024
|
p = f.propTypes;
|
2025
|
-
else if (typeof f == "object" && (f.$$typeof ===
|
2025
|
+
else if (typeof f == "object" && (f.$$typeof === C || // Note: Memo only checks outer props here.
|
2026
2026
|
// Inner props are checked in the reconciler.
|
2027
|
-
f.$$typeof ===
|
2027
|
+
f.$$typeof === k))
|
2028
2028
|
p = f.propTypes;
|
2029
2029
|
else
|
2030
2030
|
return;
|
2031
2031
|
if (p) {
|
2032
|
-
var
|
2033
|
-
Ce(p, n.props, "prop",
|
2034
|
-
} else if (f.PropTypes !== void 0 && !
|
2035
|
-
|
2036
|
-
var
|
2037
|
-
M("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
2032
|
+
var R = fe(f);
|
2033
|
+
Ce(p, 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
2038
|
}
|
2039
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
2040
|
}
|
@@ -2042,9 +2042,9 @@ Check the top-level render call using <` + p + ">.");
|
|
2042
2042
|
function pt(n) {
|
2043
2043
|
{
|
2044
2044
|
for (var f = Object.keys(n.props), p = 0; p < f.length; p++) {
|
2045
|
-
var
|
2046
|
-
if (
|
2047
|
-
Re(n), M("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
2045
|
+
var R = f[p];
|
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
2048
|
break;
|
2049
2049
|
}
|
2050
2050
|
}
|
@@ -2052,45 +2052,45 @@ Check the top-level render call using <` + p + ">.");
|
|
2052
2052
|
}
|
2053
2053
|
}
|
2054
2054
|
var mt = {};
|
2055
|
-
function $t(n, f, p,
|
2055
|
+
function $t(n, f, p, R, L, U) {
|
2056
2056
|
{
|
2057
|
-
var
|
2058
|
-
if (!
|
2059
|
-
var
|
2060
|
-
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (
|
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
2061
|
var ue = nr();
|
2062
|
-
ue ?
|
2062
|
+
ue ? T += ue : T += Ve();
|
2063
2063
|
var X;
|
2064
|
-
n === null ? X = "null" : Qe(n) ? X = "array" : n !== void 0 && n.$$typeof === o ? (X = "<" + (fe(n.type) || "Unknown") + " />",
|
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
2065
|
}
|
2066
|
-
var Q = rr(n, f, p,
|
2066
|
+
var Q = rr(n, f, p, L, U);
|
2067
2067
|
if (Q == null)
|
2068
2068
|
return Q;
|
2069
|
-
if (
|
2069
|
+
if (I) {
|
2070
2070
|
var ve = f.children;
|
2071
2071
|
if (ve !== void 0)
|
2072
|
-
if (
|
2072
|
+
if (R)
|
2073
2073
|
if (Qe(ve)) {
|
2074
|
-
for (var
|
2075
|
-
|
2074
|
+
for (var Ie = 0; Ie < ve.length; Ie++)
|
2075
|
+
Dt(ve[Ie], n);
|
2076
2076
|
Object.freeze && Object.freeze(ve);
|
2077
2077
|
} else
|
2078
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
2079
|
else
|
2080
|
-
|
2080
|
+
Dt(ve, n);
|
2081
2081
|
}
|
2082
2082
|
if (Te.call(f, "key")) {
|
2083
|
-
var
|
2083
|
+
var Se = fe(n), de = Object.keys(f).filter(function(ur) {
|
2084
2084
|
return ur !== "key";
|
2085
2085
|
}), vt = de.length > 0 ? "{key: someKey, " + de.join(": ..., ") + ": ...}" : "{key: someKey}";
|
2086
|
-
if (!mt[
|
2086
|
+
if (!mt[Se + vt]) {
|
2087
2087
|
var cr = de.length > 0 ? "{" + de.join(": ..., ") + ": ...}" : "{}";
|
2088
2088
|
M(`A props object containing a "key" prop is being spread into JSX:
|
2089
2089
|
let props = %s;
|
2090
2090
|
<%s {...props} />
|
2091
2091
|
React keys must be passed directly to JSX without using spread:
|
2092
2092
|
let props = %s;
|
2093
|
-
<%s key={someKey} {...props} />`, vt,
|
2093
|
+
<%s key={someKey} {...props} />`, vt, Se, cr, Se), mt[Se + vt] = !0;
|
2094
2094
|
}
|
2095
2095
|
}
|
2096
2096
|
return n === l ? pt(Q) : He(Q), Q;
|
@@ -2102,8 +2102,8 @@ React keys must be passed directly to JSX without using spread:
|
|
2102
2102
|
function ir(n, f, p) {
|
2103
2103
|
return $t(n, f, p, !1);
|
2104
2104
|
}
|
2105
|
-
var sr = ir,
|
2106
|
-
gt.Fragment = l, gt.jsx = sr, gt.jsxs =
|
2105
|
+
var sr = ir, At = ar;
|
2106
|
+
gt.Fragment = l, gt.jsx = sr, gt.jsxs = At;
|
2107
2107
|
}()), gt;
|
2108
2108
|
}
|
2109
2109
|
process.env.NODE_ENV === "production" ? br.exports = eo() : br.exports = to();
|
@@ -2112,50 +2112,50 @@ function pn(t) {
|
|
2112
2112
|
var o, u, l = "";
|
2113
2113
|
if (typeof t == "string" || typeof t == "number") l += t;
|
2114
2114
|
else if (typeof t == "object") if (Array.isArray(t)) {
|
2115
|
-
var
|
2116
|
-
for (o = 0; o <
|
2115
|
+
var m = t.length;
|
2116
|
+
for (o = 0; o < m; o++) t[o] && (u = pn(t[o])) && (l && (l += " "), l += u);
|
2117
2117
|
} else for (u in t) t[u] && (l && (l += " "), l += u);
|
2118
2118
|
return l;
|
2119
2119
|
}
|
2120
2120
|
function ro() {
|
2121
|
-
for (var t, o, u = 0, l = "",
|
2121
|
+
for (var t, o, u = 0, l = "", m = arguments.length; u < m; u++) (t = arguments[u]) && (o = pn(t)) && (l && (l += " "), l += o);
|
2122
2122
|
return l;
|
2123
2123
|
}
|
2124
|
-
function
|
2124
|
+
function j(...t) {
|
2125
2125
|
return ro(...t).replaceAll(`
|
2126
2126
|
`, "").split(" ").filter((o) => o !== "").join(" ");
|
2127
2127
|
}
|
2128
|
-
const no = "_theme_1rrjw_10", oo = "_level0_1rrjw_27", ao = "_level1_1rrjw_95", io = "_level2_1rrjw_157", so = "_level3_1rrjw_221", co = "_mobile_1rrjw_284",
|
2128
|
+
const no = "_theme_1rrjw_10", oo = "_level0_1rrjw_27", ao = "_level1_1rrjw_95", io = "_level2_1rrjw_157", so = "_level3_1rrjw_221", co = "_mobile_1rrjw_284", De = {
|
2129
2129
|
theme: no,
|
2130
2130
|
level0: oo,
|
2131
2131
|
level1: ao,
|
2132
2132
|
level2: io,
|
2133
2133
|
level3: so,
|
2134
2134
|
mobile: co
|
2135
|
-
}, Gt =
|
2135
|
+
}, Gt = _.createContext(0), ct = () => _.useContext(Gt), Ct = (t) => {
|
2136
2136
|
switch (t) {
|
2137
2137
|
case 0:
|
2138
|
-
return
|
2138
|
+
return De.level0;
|
2139
2139
|
case 1:
|
2140
|
-
return
|
2140
|
+
return De.level1;
|
2141
2141
|
case 2:
|
2142
|
-
return
|
2142
|
+
return De.level2;
|
2143
2143
|
case 3:
|
2144
|
-
return
|
2144
|
+
return De.level3;
|
2145
2145
|
default:
|
2146
|
-
return
|
2146
|
+
return De.level0;
|
2147
2147
|
}
|
2148
2148
|
}, it = (t) => /* @__PURE__ */ c.jsx(Gt.Provider, { value: ct() + 1, children: t.children }), uo = "_component_yvjet_10", lo = {
|
2149
2149
|
component: uo
|
2150
2150
|
}, ot = (t) => {
|
2151
2151
|
const o = t.level || ct();
|
2152
|
-
return /* @__PURE__ */ c.jsx("div", { className:
|
2152
|
+
return /* @__PURE__ */ c.jsx("div", { className: j(lo.component, t.className, Ct(o)), children: /* @__PURE__ */ c.jsx(it, { children: t.children }) });
|
2153
2153
|
}, fo = "_component_1jj21_10", po = {
|
2154
2154
|
component: fo
|
2155
2155
|
}, qt = (t) => /* @__PURE__ */ c.jsx(
|
2156
2156
|
"button",
|
2157
2157
|
{
|
2158
|
-
className:
|
2158
|
+
className: j(po.component, t.className),
|
2159
2159
|
onClick: t.onClick,
|
2160
2160
|
"aria-label": t.text,
|
2161
2161
|
disabled: t.disabled,
|
@@ -2164,7 +2164,7 @@ const no = "_theme_1rrjw_10", oo = "_level0_1rrjw_27", ao = "_level1_1rrjw_95",
|
|
2164
2164
|
}
|
2165
2165
|
), mo = "_component_17nsv_6", vo = {
|
2166
2166
|
component: mo
|
2167
|
-
}, ho = ({ children: t, className: o }) => /* @__PURE__ */ c.jsx("div", { className:
|
2167
|
+
}, ho = ({ children: t, className: o }) => /* @__PURE__ */ c.jsx("div", { className: j(vo.component, o), children: t });
|
2168
2168
|
/**
|
2169
2169
|
* @remix-run/router v1.21.0
|
2170
2170
|
*
|
@@ -2221,18 +2221,18 @@ function _o(t, o) {
|
|
2221
2221
|
let {
|
2222
2222
|
pathname: u,
|
2223
2223
|
search: l = "",
|
2224
|
-
hash:
|
2224
|
+
hash: m = ""
|
2225
2225
|
} = typeof t == "string" ? vn(t) : t;
|
2226
2226
|
return {
|
2227
2227
|
pathname: u ? u.startsWith("/") ? u : go(u, o) : o,
|
2228
2228
|
search: Eo(l),
|
2229
|
-
hash: Ro(
|
2229
|
+
hash: Ro(m)
|
2230
2230
|
};
|
2231
2231
|
}
|
2232
2232
|
function go(t, o) {
|
2233
2233
|
let u = o.replace(/\/+$/, "").split("/");
|
2234
|
-
return t.split("/").forEach((
|
2235
|
-
|
2234
|
+
return t.split("/").forEach((m) => {
|
2235
|
+
m === ".." ? u.length > 1 && u.pop() : m !== "." && u.push(m);
|
2236
2236
|
}), u.length > 1 ? u.join("/") : "/";
|
2237
2237
|
}
|
2238
2238
|
function gr(t, o, u, l) {
|
@@ -2243,32 +2243,32 @@ function yo(t) {
|
|
2243
2243
|
}
|
2244
2244
|
function bo(t, o) {
|
2245
2245
|
let u = yo(t);
|
2246
|
-
return o ? u.map((l,
|
2246
|
+
return o ? u.map((l, m) => m === u.length - 1 ? l.pathname : l.pathnameBase) : u.map((l) => l.pathnameBase);
|
2247
2247
|
}
|
2248
2248
|
function Co(t, o, u, l) {
|
2249
2249
|
l === void 0 && (l = !1);
|
2250
|
-
let
|
2251
|
-
typeof t == "string" ?
|
2252
|
-
let h = t === "" ||
|
2253
|
-
if (
|
2254
|
-
|
2250
|
+
let m;
|
2251
|
+
typeof t == "string" ? m = vn(t) : (m = xr({}, t), he(!m.pathname || !m.pathname.includes("?"), gr("?", "pathname", "search", m)), he(!m.pathname || !m.pathname.includes("#"), gr("#", "pathname", "hash", m)), he(!m.search || !m.search.includes("#"), gr("#", "search", "hash", m)));
|
2252
|
+
let h = t === "" || m.pathname === "", g = h ? "/" : m.pathname, x;
|
2253
|
+
if (g == null)
|
2254
|
+
x = u;
|
2255
2255
|
else {
|
2256
|
-
let
|
2257
|
-
if (!l &&
|
2258
|
-
let G =
|
2256
|
+
let k = o.length - 1;
|
2257
|
+
if (!l && g.startsWith("..")) {
|
2258
|
+
let G = g.split("/");
|
2259
2259
|
for (; G[0] === ".."; )
|
2260
|
-
G.shift(),
|
2261
|
-
|
2260
|
+
G.shift(), k -= 1;
|
2261
|
+
m.pathname = G.join("/");
|
2262
2262
|
}
|
2263
|
-
|
2263
|
+
x = k >= 0 ? o[k] : "/";
|
2264
2264
|
}
|
2265
|
-
let
|
2266
|
-
return !
|
2265
|
+
let C = _o(m, x), N = g && g !== "/" && g.endsWith("/"), S = (h || g === ".") && u.endsWith("/");
|
2266
|
+
return !C.pathname.endsWith("/") && (N || S) && (C.pathname += "/"), C;
|
2267
2267
|
}
|
2268
2268
|
const xo = (t) => t.join("/").replace(/\/\/+/g, "/"), Eo = (t) => !t || t === "?" ? "" : t.startsWith("?") ? t : "?" + t, Ro = (t) => !t || t === "#" ? "" : t.startsWith("#") ? t : "#" + t, hn = ["post", "put", "patch", "delete"];
|
2269
2269
|
new Set(hn);
|
2270
|
-
const
|
2271
|
-
new Set(
|
2270
|
+
const So = ["get", ...hn];
|
2271
|
+
new Set(So);
|
2272
2272
|
/**
|
2273
2273
|
* React Router v6.28.0
|
2274
2274
|
*
|
@@ -2289,26 +2289,26 @@ function Er() {
|
|
2289
2289
|
return t;
|
2290
2290
|
}, Er.apply(this, arguments);
|
2291
2291
|
}
|
2292
|
-
const Rr = /* @__PURE__ */
|
2292
|
+
const Rr = /* @__PURE__ */ _.createContext(null);
|
2293
2293
|
process.env.NODE_ENV !== "production" && (Rr.displayName = "DataRouter");
|
2294
|
-
const
|
2295
|
-
process.env.NODE_ENV !== "production" && (
|
2296
|
-
const jo = /* @__PURE__ */
|
2294
|
+
const wo = /* @__PURE__ */ _.createContext(null);
|
2295
|
+
process.env.NODE_ENV !== "production" && (wo.displayName = "DataRouterState");
|
2296
|
+
const jo = /* @__PURE__ */ _.createContext(null);
|
2297
2297
|
process.env.NODE_ENV !== "production" && (jo.displayName = "Await");
|
2298
|
-
const
|
2299
|
-
process.env.NODE_ENV !== "production" && (
|
2300
|
-
const
|
2301
|
-
process.env.NODE_ENV !== "production" && (
|
2302
|
-
const xt = /* @__PURE__ */
|
2298
|
+
const Sr = /* @__PURE__ */ _.createContext(null);
|
2299
|
+
process.env.NODE_ENV !== "production" && (Sr.displayName = "Navigation");
|
2300
|
+
const wr = /* @__PURE__ */ _.createContext(null);
|
2301
|
+
process.env.NODE_ENV !== "production" && (wr.displayName = "Location");
|
2302
|
+
const xt = /* @__PURE__ */ _.createContext({
|
2303
2303
|
outlet: null,
|
2304
2304
|
matches: [],
|
2305
2305
|
isDataRoute: !1
|
2306
2306
|
});
|
2307
2307
|
process.env.NODE_ENV !== "production" && (xt.displayName = "Route");
|
2308
|
-
const ko = /* @__PURE__ */
|
2308
|
+
const ko = /* @__PURE__ */ _.createContext(null);
|
2309
2309
|
process.env.NODE_ENV !== "production" && (ko.displayName = "RouteError");
|
2310
2310
|
function _n() {
|
2311
|
-
return
|
2311
|
+
return _.useContext(wr) != null;
|
2312
2312
|
}
|
2313
2313
|
function To() {
|
2314
2314
|
return _n() || (process.env.NODE_ENV !== "production" ? he(
|
@@ -2316,17 +2316,17 @@ function To() {
|
|
2316
2316
|
// TODO: This error is probably because they somehow have 2 versions of the
|
2317
2317
|
// router loaded. We can help them understand how to avoid that.
|
2318
2318
|
"useLocation() may be used only in the context of a <Router> component."
|
2319
|
-
) : he(!1)),
|
2319
|
+
) : he(!1)), _.useContext(wr).location;
|
2320
2320
|
}
|
2321
2321
|
const gn = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
|
2322
2322
|
function yn(t) {
|
2323
|
-
|
2323
|
+
_.useContext(Sr).static || _.useLayoutEffect(t);
|
2324
2324
|
}
|
2325
2325
|
function bn() {
|
2326
2326
|
let {
|
2327
2327
|
isDataRoute: t
|
2328
|
-
} =
|
2329
|
-
return t ?
|
2328
|
+
} = _.useContext(xt);
|
2329
|
+
return t ? Ao() : Oo();
|
2330
2330
|
}
|
2331
2331
|
function Oo() {
|
2332
2332
|
_n() || (process.env.NODE_ENV !== "production" ? he(
|
@@ -2335,31 +2335,31 @@ function Oo() {
|
|
2335
2335
|
// router loaded. We can help them understand how to avoid that.
|
2336
2336
|
"useNavigate() may be used only in the context of a <Router> component."
|
2337
2337
|
) : he(!1));
|
2338
|
-
let t =
|
2338
|
+
let t = _.useContext(Rr), {
|
2339
2339
|
basename: o,
|
2340
2340
|
future: u,
|
2341
2341
|
navigator: l
|
2342
|
-
} =
|
2343
|
-
matches:
|
2344
|
-
} =
|
2342
|
+
} = _.useContext(Sr), {
|
2343
|
+
matches: m
|
2344
|
+
} = _.useContext(xt), {
|
2345
2345
|
pathname: h
|
2346
|
-
} = To(),
|
2346
|
+
} = To(), g = JSON.stringify(bo(m, u.v7_relativeSplatPath)), x = _.useRef(!1);
|
2347
2347
|
return yn(() => {
|
2348
|
-
|
2349
|
-
}),
|
2350
|
-
if (
|
2351
|
-
if (typeof
|
2352
|
-
l.go(
|
2348
|
+
x.current = !0;
|
2349
|
+
}), _.useCallback(function(N, S) {
|
2350
|
+
if (S === void 0 && (S = {}), process.env.NODE_ENV !== "production" && mn(x.current, gn), !x.current) return;
|
2351
|
+
if (typeof N == "number") {
|
2352
|
+
l.go(N);
|
2353
2353
|
return;
|
2354
2354
|
}
|
2355
|
-
let
|
2356
|
-
t == null && o !== "/" && (
|
2357
|
-
}, [o, l,
|
2355
|
+
let k = Co(N, JSON.parse(g), h, S.relative === "path");
|
2356
|
+
t == null && o !== "/" && (k.pathname = k.pathname === "/" ? o : xo([o, k.pathname])), (S.replace ? l.replace : l.push)(k, S.state, S);
|
2357
|
+
}, [o, l, g, h, t]);
|
2358
2358
|
}
|
2359
|
-
const Po = /* @__PURE__ */
|
2359
|
+
const Po = /* @__PURE__ */ _.createContext(null);
|
2360
2360
|
function No(t) {
|
2361
|
-
let o =
|
2362
|
-
return o && /* @__PURE__ */
|
2361
|
+
let o = _.useContext(xt).outlet;
|
2362
|
+
return o && /* @__PURE__ */ _.createElement(Po.Provider, {
|
2363
2363
|
value: t
|
2364
2364
|
}, o);
|
2365
2365
|
}
|
@@ -2371,37 +2371,37 @@ var Cn = /* @__PURE__ */ function(t) {
|
|
2371
2371
|
function En(t) {
|
2372
2372
|
return t + " must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router.";
|
2373
2373
|
}
|
2374
|
-
function
|
2375
|
-
let o =
|
2374
|
+
function Io(t) {
|
2375
|
+
let o = _.useContext(Rr);
|
2376
2376
|
return o || (process.env.NODE_ENV !== "production" ? he(!1, En(t)) : he(!1)), o;
|
2377
2377
|
}
|
2378
|
-
function
|
2379
|
-
let o =
|
2378
|
+
function Do(t) {
|
2379
|
+
let o = _.useContext(xt);
|
2380
2380
|
return o || (process.env.NODE_ENV !== "production" ? he(!1, En(t)) : he(!1)), o;
|
2381
2381
|
}
|
2382
2382
|
function $o(t) {
|
2383
|
-
let o =
|
2383
|
+
let o = Do(t), u = o.matches[o.matches.length - 1];
|
2384
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
2385
|
}
|
2386
|
-
function
|
2386
|
+
function Ao() {
|
2387
2387
|
let {
|
2388
2388
|
router: t
|
2389
|
-
} =
|
2389
|
+
} = Io(Cn.UseNavigateStable), o = $o(xn.UseNavigateStable), u = _.useRef(!1);
|
2390
2390
|
return yn(() => {
|
2391
2391
|
u.current = !0;
|
2392
|
-
}),
|
2393
|
-
h === void 0 && (h = {}), process.env.NODE_ENV !== "production" && mn(u.current, gn), u.current && (typeof
|
2392
|
+
}), _.useCallback(function(m, h) {
|
2393
|
+
h === void 0 && (h = {}), process.env.NODE_ENV !== "production" && mn(u.current, gn), u.current && (typeof m == "number" ? t.navigate(m) : t.navigate(m, Er({
|
2394
2394
|
fromRouteId: o
|
2395
2395
|
}, h)));
|
2396
2396
|
}, [t, o]);
|
2397
2397
|
}
|
2398
|
-
function
|
2398
|
+
function Fo(t) {
|
2399
2399
|
return No(t.context);
|
2400
2400
|
}
|
2401
2401
|
new Promise(() => {
|
2402
2402
|
});
|
2403
|
-
const
|
2404
|
-
component:
|
2403
|
+
const Lo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
2404
|
+
component: Lo,
|
2405
2405
|
link: Mo
|
2406
2406
|
}, Uo = (t) => {
|
2407
2407
|
const o = bn();
|
@@ -2410,18 +2410,18 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
2410
2410
|
{
|
2411
2411
|
onClick: () => (o(t.to), 0),
|
2412
2412
|
text: t.text,
|
2413
|
-
className:
|
2413
|
+
className: j(Bo.component, t.className)
|
2414
2414
|
}
|
2415
2415
|
);
|
2416
|
-
},
|
2417
|
-
component:
|
2418
|
-
preserveColor:
|
2419
|
-
}, Rn = "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",
|
2416
|
+
}, Wo = "_component_1asux_6", Yo = "_preserveColor_1asux_20", an = {
|
2417
|
+
component: Wo,
|
2418
|
+
preserveColor: Yo
|
2419
|
+
}, Rn = "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", zo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
2420
2420
|
__proto__: null,
|
2421
2421
|
default: Rn
|
2422
2422
|
}, Symbol.toStringTag, { value: "Module" })), Et = (t) => {
|
2423
|
-
const [o, u] =
|
2424
|
-
return
|
2423
|
+
const [o, u] = _.useState(Rn);
|
2424
|
+
return _.useEffect(() => {
|
2425
2425
|
typeof t.icon == "function" && t.icon().then((l) => {
|
2426
2426
|
u(l.default);
|
2427
2427
|
});
|
@@ -2437,13 +2437,13 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
2437
2437
|
}
|
2438
2438
|
}
|
2439
2439
|
);
|
2440
|
-
},
|
2441
|
-
component:
|
2440
|
+
}, Vo = "_component_p4tfu_10", Ho = "_icon_p4tfu_49", sn = {
|
2441
|
+
component: Vo,
|
2442
2442
|
icon: Ho
|
2443
|
-
},
|
2443
|
+
}, Sn = (t) => /* @__PURE__ */ c.jsxs(
|
2444
2444
|
"button",
|
2445
2445
|
{
|
2446
|
-
className:
|
2446
|
+
className: j(sn.component, t.className),
|
2447
2447
|
onClick: t.onClick,
|
2448
2448
|
"aria-label": t.text,
|
2449
2449
|
disabled: t.disabled,
|
@@ -2459,35 +2459,35 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
2459
2459
|
t.text
|
2460
2460
|
]
|
2461
2461
|
}
|
2462
|
-
), Go = "_component_18x96_10", qo = "_clickable_18x96_25", Ko = "_header_18x96_52", Xo = "_actions_18x96_59", Jo = "_content_18x96_67",
|
2462
|
+
), Go = "_component_18x96_10", qo = "_clickable_18x96_25", Ko = "_header_18x96_52", Xo = "_actions_18x96_59", Jo = "_content_18x96_67", we = {
|
2463
2463
|
component: Go,
|
2464
2464
|
clickable: qo,
|
2465
2465
|
header: Ko,
|
2466
2466
|
actions: Xo,
|
2467
2467
|
content: Jo
|
2468
|
-
},
|
2468
|
+
}, wn = (t) => /* @__PURE__ */ c.jsx(Gt.Provider, { value: ct() - 1, children: t.children }), ut = (t) => {
|
2469
2469
|
const o = t.level || ct();
|
2470
2470
|
return t.onClick ? /* @__PURE__ */ c.jsx(c.Fragment, { children: /* @__PURE__ */ c.jsx(it, { children: /* @__PURE__ */ c.jsxs(
|
2471
2471
|
"button",
|
2472
2472
|
{
|
2473
2473
|
style: t.style,
|
2474
|
-
className:
|
2474
|
+
className: j(we.component, Ct(o), t.containerClassName, we.clickable),
|
2475
2475
|
onClick: t.onClick,
|
2476
2476
|
children: [
|
2477
|
-
t.header && /* @__PURE__ */ c.jsx(ot, { className:
|
2478
|
-
/* @__PURE__ */ c.jsx("div", { className:
|
2479
|
-
t.actions && /* @__PURE__ */ c.jsx(ot, { className:
|
2477
|
+
t.header && /* @__PURE__ */ c.jsx(ot, { className: j(we.header, t.headerClassName), children: t.header }),
|
2478
|
+
/* @__PURE__ */ c.jsx("div", { className: j(we.content, t.className), children: t.children }),
|
2479
|
+
t.actions && /* @__PURE__ */ c.jsx(ot, { className: j(we.actions, t.actionsClassName), children: t.actions })
|
2480
2480
|
]
|
2481
2481
|
}
|
2482
2482
|
) }) }) : /* @__PURE__ */ c.jsx(c.Fragment, { children: /* @__PURE__ */ c.jsx(it, { children: /* @__PURE__ */ c.jsxs(
|
2483
2483
|
"div",
|
2484
2484
|
{
|
2485
2485
|
style: t.style,
|
2486
|
-
className:
|
2486
|
+
className: j(we.component, Ct(o), t.containerClassName),
|
2487
2487
|
children: [
|
2488
|
-
t.header && /* @__PURE__ */ c.jsx(ot, { className:
|
2489
|
-
/* @__PURE__ */ c.jsx("div", { className:
|
2490
|
-
/* @__PURE__ */ c.jsx(
|
2488
|
+
t.header && /* @__PURE__ */ c.jsx(ot, { className: j(we.header, t.headerClassName), children: t.header }),
|
2489
|
+
/* @__PURE__ */ c.jsx("div", { className: j(we.content, t.className), children: t.children }),
|
2490
|
+
/* @__PURE__ */ c.jsx(wn, { children: t.actions && /* @__PURE__ */ c.jsx(ot, { className: j(we.actions, t.actionsClassName), children: t.actions }) })
|
2491
2491
|
]
|
2492
2492
|
}
|
2493
2493
|
) }) });
|
@@ -2495,8 +2495,8 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
2495
2495
|
component: Qo
|
2496
2496
|
}, jn = (t) => {
|
2497
2497
|
const o = t.level || ct();
|
2498
|
-
return /* @__PURE__ */ c.jsx("div", { className:
|
2499
|
-
}, kn =
|
2498
|
+
return /* @__PURE__ */ c.jsx("div", { className: j(Zo.component, t.className, Ct(o)), children: /* @__PURE__ */ c.jsx(it, { children: t.children }) });
|
2499
|
+
}, kn = _.createContext({
|
2500
2500
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
2501
2501
|
createMenu: (t) => {
|
2502
2502
|
},
|
@@ -2506,20 +2506,20 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
2506
2506
|
"div",
|
2507
2507
|
{
|
2508
2508
|
className: u,
|
2509
|
-
onContextMenu: (
|
2510
|
-
|
2511
|
-
const h =
|
2509
|
+
onContextMenu: (m) => {
|
2510
|
+
m.stopPropagation(), m.preventDefault();
|
2511
|
+
const h = m.currentTarget.getBoundingClientRect();
|
2512
2512
|
l.createMenu({
|
2513
|
-
x:
|
2514
|
-
y:
|
2513
|
+
x: m.pageX,
|
2514
|
+
y: m.pageY,
|
2515
2515
|
width: h.width,
|
2516
2516
|
height: h.height,
|
2517
2517
|
items: t
|
2518
2518
|
});
|
2519
|
-
const
|
2520
|
-
|
2519
|
+
const g = (x) => {
|
2520
|
+
x.preventDefault(), l.destroyMenu(), window.removeEventListener("click", g), window.removeEventListener("contextmenu", g);
|
2521
2521
|
};
|
2522
|
-
window.addEventListener("click",
|
2522
|
+
window.addEventListener("click", g), window.addEventListener("contextmenu", g);
|
2523
2523
|
},
|
2524
2524
|
children: o
|
2525
2525
|
}
|
@@ -2533,7 +2533,7 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
2533
2533
|
}, at = (t) => /* @__PURE__ */ c.jsx(
|
2534
2534
|
"div",
|
2535
2535
|
{
|
2536
|
-
className:
|
2536
|
+
className: j(
|
2537
2537
|
yt.component,
|
2538
2538
|
yt[t.direction],
|
2539
2539
|
t.className,
|
@@ -2554,17 +2554,17 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
2554
2554
|
}, lt = (t) => {
|
2555
2555
|
switch (t.level || 1) {
|
2556
2556
|
case 1:
|
2557
|
-
return /* @__PURE__ */ c.jsx("h1", { className:
|
2557
|
+
return /* @__PURE__ */ c.jsx("h1", { className: j(_e.component, _e.h1component, t.className), children: t.text });
|
2558
2558
|
case 2:
|
2559
|
-
return /* @__PURE__ */ c.jsx("h2", { className:
|
2559
|
+
return /* @__PURE__ */ c.jsx("h2", { className: j(_e.component, _e.h2component, t.className), children: t.text });
|
2560
2560
|
case 3:
|
2561
|
-
return /* @__PURE__ */ c.jsx("h3", { className:
|
2561
|
+
return /* @__PURE__ */ c.jsx("h3", { className: j(_e.component, _e.h3component, t.className), children: t.text });
|
2562
2562
|
case 4:
|
2563
|
-
return /* @__PURE__ */ c.jsx("h4", { className:
|
2563
|
+
return /* @__PURE__ */ c.jsx("h4", { className: j(_e.component, _e.h4component, t.className), children: t.text });
|
2564
2564
|
case 5:
|
2565
|
-
return /* @__PURE__ */ c.jsx("h5", { className:
|
2565
|
+
return /* @__PURE__ */ c.jsx("h5", { className: j(_e.component, _e.h5component, t.className), children: t.text });
|
2566
2566
|
case 6:
|
2567
|
-
return /* @__PURE__ */ c.jsx("h6", { className:
|
2567
|
+
return /* @__PURE__ */ c.jsx("h6", { className: j(_e.component, _e.h6component, t.className), children: t.text });
|
2568
2568
|
}
|
2569
2569
|
}, ma = "_component_jdj54_10", va = {
|
2570
2570
|
component: ma
|
@@ -2573,7 +2573,7 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
2573
2573
|
{
|
2574
2574
|
onClick: t.onClick,
|
2575
2575
|
"aria-label": t.accessibleLabel,
|
2576
|
-
className:
|
2576
|
+
className: j(va.component, t.className),
|
2577
2577
|
children: /* @__PURE__ */ c.jsx(
|
2578
2578
|
Et,
|
2579
2579
|
{
|
@@ -2803,7 +2803,7 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
2803
2803
|
ScreenNormal: () => import("./screen-normal-16-BFiON6jh.js"),
|
2804
2804
|
Search: () => import("./search-16-d9YAifw3.js"),
|
2805
2805
|
Server: () => import("./server-16-PXkdGIz7.js"),
|
2806
|
-
ServerError: () => Promise.resolve().then(() =>
|
2806
|
+
ServerError: () => Promise.resolve().then(() => zo),
|
2807
2807
|
Share: () => import("./share-16-CeaKGzF6.js"),
|
2808
2808
|
ShareAndroid: () => import("./share-android-16-Y0jPvfBW.js"),
|
2809
2809
|
Shield: () => import("./shield-16-B9tadaQL.js"),
|
@@ -2875,38 +2875,38 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
2875
2875
|
serverError: Ca,
|
2876
2876
|
fail: xa
|
2877
2877
|
}, jr = (t) => {
|
2878
|
-
const o =
|
2879
|
-
return
|
2880
|
-
const
|
2881
|
-
|
2882
|
-
const
|
2883
|
-
|
2878
|
+
const o = _.useRef(null), [u, l] = _.useState(t.src), [m, h] = _.useState(!1), [g, x] = _.useState(!1), [C, N] = _.useState(0);
|
2879
|
+
return _.useEffect(() => {
|
2880
|
+
const S = o.current;
|
2881
|
+
S && setTimeout(() => {
|
2882
|
+
const k = S.getBoundingClientRect();
|
2883
|
+
N(k.height > k.width ? k.height : k.width);
|
2884
2884
|
}, 0);
|
2885
|
-
}, [u]),
|
2886
|
-
|
2887
|
-
}, [u]),
|
2885
|
+
}, [u]), _.useEffect(() => {
|
2886
|
+
x(!1), h(!1);
|
2887
|
+
}, [u]), _.useEffect(() => {
|
2888
2888
|
t.src !== u && l(t.src);
|
2889
2889
|
}, [t.src]), /* @__PURE__ */ c.jsx(
|
2890
2890
|
"div",
|
2891
2891
|
{
|
2892
2892
|
ref: o,
|
2893
|
-
className:
|
2893
|
+
className: j(nt.componentContainer, t.containerClassName, !m && nt.loading, g && nt.serverError),
|
2894
2894
|
style: {
|
2895
2895
|
// @ts-ignore
|
2896
|
-
"--background-size":
|
2896
|
+
"--background-size": C + "px"
|
2897
2897
|
},
|
2898
|
-
children:
|
2898
|
+
children: g ? /* @__PURE__ */ c.jsx(Et, { icon: $e.ServerError }) : /* @__PURE__ */ c.jsx(
|
2899
2899
|
"img",
|
2900
2900
|
{
|
2901
|
-
className:
|
2901
|
+
className: j(nt.component, t.className, m && nt.loaded, t.noRounding && nt.noRounding),
|
2902
2902
|
draggable: !1,
|
2903
2903
|
width: t.width,
|
2904
2904
|
height: t.height,
|
2905
|
-
onError: () =>
|
2905
|
+
onError: () => x(!0),
|
2906
2906
|
loading: t.disableLazyLoading ? "eager" : "lazy",
|
2907
2907
|
alt: t.accessibleLabel,
|
2908
|
-
onLoad: (
|
2909
|
-
h(
|
2908
|
+
onLoad: (S) => {
|
2909
|
+
h(S.currentTarget.complete);
|
2910
2910
|
},
|
2911
2911
|
src: u
|
2912
2912
|
}
|
@@ -2919,7 +2919,7 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
2919
2919
|
"a",
|
2920
2920
|
{
|
2921
2921
|
href: t.to,
|
2922
|
-
className:
|
2922
|
+
className: j(cn.component, t.className),
|
2923
2923
|
children: [
|
2924
2924
|
t.text,
|
2925
2925
|
!t.hideLinkIcon && /* @__PURE__ */ c.jsx(
|
@@ -2931,7 +2931,7 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
2931
2931
|
)
|
2932
2932
|
]
|
2933
2933
|
}
|
2934
|
-
),
|
2934
|
+
), Sa = ({
|
2935
2935
|
maxValue: t,
|
2936
2936
|
value: o,
|
2937
2937
|
className: u,
|
@@ -2946,9 +2946,9 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
2946
2946
|
}
|
2947
2947
|
),
|
2948
2948
|
l && "This should be indeterminate"
|
2949
|
-
] }),
|
2950
|
-
component:
|
2951
|
-
}, Ke = (t) => /* @__PURE__ */ c.jsx("div", { className:
|
2949
|
+
] }), wa = "_component_n6r4z_10", ja = {
|
2950
|
+
component: wa
|
2951
|
+
}, Ke = (t) => /* @__PURE__ */ c.jsx("div", { className: j(ja.component, t.className), children: t.text }), ka = (t) => {
|
2952
2952
|
const o = bn();
|
2953
2953
|
return t.to !== null && o(t.to), /* @__PURE__ */ c.jsx(ut, { children: /* @__PURE__ */ c.jsx(Ke, { text: `Redirecting to ${t.to}` }) });
|
2954
2954
|
}, Ta = "_component_1i64h_10", Oa = "_row_1i64h_16", Pa = "_disableMargin_1i64h_22", Na = "_column_1i64h_28", yr = {
|
@@ -2956,17 +2956,17 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
2956
2956
|
row: Oa,
|
2957
2957
|
disableMargin: Pa,
|
2958
2958
|
column: Na
|
2959
|
-
}, Ht = (t) => /* @__PURE__ */ c.jsx("div", { className:
|
2960
|
-
component:
|
2961
|
-
container:
|
2959
|
+
}, Ht = (t) => /* @__PURE__ */ c.jsx("div", { className: j(yr.component, yr[t.direction], t.disableMargin && yr.disableMargin) }), Ia = "_component_12m3x_6", Da = "_container_12m3x_17", $a = "_infiniteSpin_12m3x_1", Aa = "_spinnerBack_12m3x_26", Fa = "_spinnerBorder_12m3x_37", La = "_spinnerCutoutContainer_12m3x_48", Ma = "_spinnerCutout_12m3x_48", Ba = "_spinnerCutoutOne_12m3x_65", Ua = "_spinnerCutoutTwo_12m3x_70", je = {
|
2960
|
+
component: Ia,
|
2961
|
+
container: Da,
|
2962
2962
|
infiniteSpin: $a,
|
2963
|
-
spinnerBack:
|
2964
|
-
spinnerBorder:
|
2965
|
-
spinnerCutoutContainer:
|
2963
|
+
spinnerBack: Aa,
|
2964
|
+
spinnerBorder: Fa,
|
2965
|
+
spinnerCutoutContainer: La,
|
2966
2966
|
spinnerCutout: Ma,
|
2967
2967
|
spinnerCutoutOne: Ba,
|
2968
2968
|
spinnerCutoutTwo: Ua
|
2969
|
-
},
|
2969
|
+
}, Wa = (t) => /* @__PURE__ */ c.jsx(
|
2970
2970
|
"div",
|
2971
2971
|
{
|
2972
2972
|
className: je.component,
|
@@ -2975,30 +2975,30 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
2975
2975
|
/* @__PURE__ */ c.jsx("div", { className: je.spinnerBorder }),
|
2976
2976
|
/* @__PURE__ */ c.jsx("div", { className: je.spinnerBack }),
|
2977
2977
|
/* @__PURE__ */ c.jsxs("div", { className: je.spinnerCutoutContainer, children: [
|
2978
|
-
/* @__PURE__ */ c.jsx("div", { className:
|
2979
|
-
/* @__PURE__ */ c.jsx("div", { className:
|
2978
|
+
/* @__PURE__ */ c.jsx("div", { className: j(je.spinnerCutoutOne, je.spinnerCutout) }),
|
2979
|
+
/* @__PURE__ */ c.jsx("div", { className: j(je.spinnerCutoutTwo, je.spinnerCutout) })
|
2980
2980
|
] })
|
2981
2981
|
] })
|
2982
2982
|
}
|
2983
|
-
),
|
2984
|
-
component:
|
2985
|
-
levelDefault:
|
2986
|
-
}, Ha = (t) => /* @__PURE__ */ c.jsx("div", { className:
|
2983
|
+
), Ya = "_component_1ehrl_10", za = "_levelDefault_1ehrl_15", Va = {
|
2984
|
+
component: Ya,
|
2985
|
+
levelDefault: za
|
2986
|
+
}, Ha = (t) => /* @__PURE__ */ c.jsx("div", { className: j(Va.component, t.className), children: t.text }), Ga = "_component_n6r4z_10", qa = {
|
2987
2987
|
component: Ga
|
2988
2988
|
}, Ka = (t) => /* @__PURE__ */ c.jsx(
|
2989
2989
|
"div",
|
2990
2990
|
{
|
2991
|
-
className:
|
2991
|
+
className: j(qa.component, t.className),
|
2992
2992
|
style: { backgroundColor: t.color },
|
2993
2993
|
children: t.text
|
2994
2994
|
}
|
2995
|
-
),
|
2995
|
+
), as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
2996
2996
|
__proto__: null,
|
2997
2997
|
Box: ot,
|
2998
2998
|
Button: qt,
|
2999
2999
|
ButtonCombo: ho,
|
3000
3000
|
ButtonLink: Uo,
|
3001
|
-
ButtonWithIcon:
|
3001
|
+
ButtonWithIcon: Sn,
|
3002
3002
|
Card: ut,
|
3003
3003
|
Container: jn,
|
3004
3004
|
ContextMenu: ea,
|
@@ -3008,10 +3008,10 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3008
3008
|
IconButton: st,
|
3009
3009
|
Image: jr,
|
3010
3010
|
Link: Ra,
|
3011
|
-
ProgressBar:
|
3011
|
+
ProgressBar: Sa,
|
3012
3012
|
Redirect: ka,
|
3013
3013
|
Separator: Ht,
|
3014
|
-
Spinner:
|
3014
|
+
Spinner: Wa,
|
3015
3015
|
Subtext: Ha,
|
3016
3016
|
Tag: Ka,
|
3017
3017
|
Text: Ke
|
@@ -3024,27 +3024,27 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3024
3024
|
pageIndicator: ti,
|
3025
3025
|
selected: ri
|
3026
3026
|
}, ni = ({ items: t, className: o }) => {
|
3027
|
-
const u =
|
3028
|
-
return
|
3027
|
+
const u = _.useRef(null), [l, m] = _.useState(0);
|
3028
|
+
return _.useEffect(() => {
|
3029
3029
|
const h = u.current;
|
3030
3030
|
if (!h) return;
|
3031
3031
|
console.log(Array.from(h.children));
|
3032
|
-
let
|
3033
|
-
clearTimeout(
|
3034
|
-
Array.from(h.children).forEach((
|
3032
|
+
let g, x = () => {
|
3033
|
+
clearTimeout(g), g = setTimeout(function() {
|
3034
|
+
Array.from(h.children).forEach((C, N) => {
|
3035
3035
|
if (Math.abs(
|
3036
|
-
|
3037
|
-
) <
|
3038
|
-
|
3036
|
+
C.getBoundingClientRect().left + C.getBoundingClientRect().width / 2 - (h.getBoundingClientRect().left + h.getBoundingClientRect().width / 2)
|
3037
|
+
) < C.getBoundingClientRect().width / 2) {
|
3038
|
+
m(N);
|
3039
3039
|
return;
|
3040
3040
|
}
|
3041
3041
|
});
|
3042
3042
|
}, 25);
|
3043
3043
|
};
|
3044
|
-
return h.addEventListener("scroll",
|
3045
|
-
h.removeEventListener("scroll",
|
3044
|
+
return h.addEventListener("scroll", x), () => {
|
3045
|
+
h.removeEventListener("scroll", x), clearTimeout(g);
|
3046
3046
|
};
|
3047
|
-
}, []), /* @__PURE__ */ c.jsxs(jn, { className:
|
3047
|
+
}, []), /* @__PURE__ */ c.jsxs(jn, { className: j(ke.containerComponent, o), children: [
|
3048
3048
|
/* @__PURE__ */ c.jsx(
|
3049
3049
|
"div",
|
3050
3050
|
{
|
@@ -3071,20 +3071,20 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3071
3071
|
const h = u.current;
|
3072
3072
|
if (!h)
|
3073
3073
|
return;
|
3074
|
-
const
|
3075
|
-
|
3074
|
+
const g = h.children[l - 1];
|
3075
|
+
g && g.scrollIntoView({ behavior: "smooth" });
|
3076
3076
|
}
|
3077
3077
|
}
|
3078
3078
|
),
|
3079
|
-
/* @__PURE__ */ c.jsx(ut, { className: ke.indicator, children: t.map((h,
|
3079
|
+
/* @__PURE__ */ c.jsx(ut, { className: ke.indicator, children: t.map((h, g) => /* @__PURE__ */ c.jsx(
|
3080
3080
|
"button",
|
3081
3081
|
{
|
3082
|
-
className:
|
3082
|
+
className: j(ke.pageIndicator, g === l && ke.selected),
|
3083
3083
|
onClick: () => {
|
3084
|
-
const
|
3085
|
-
if (!
|
3084
|
+
const x = u.current;
|
3085
|
+
if (!x)
|
3086
3086
|
return;
|
3087
|
-
|
3087
|
+
x.scrollIntoView({ behavior: "smooth" }), x.children[g].scrollIntoView({ behavior: "smooth" });
|
3088
3088
|
}
|
3089
3089
|
},
|
3090
3090
|
h.id
|
@@ -3099,8 +3099,8 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3099
3099
|
const h = u.current;
|
3100
3100
|
if (!h)
|
3101
3101
|
return;
|
3102
|
-
const
|
3103
|
-
|
3102
|
+
const g = h.children[l + 1];
|
3103
|
+
g && g.scrollIntoView({ behavior: "smooth" });
|
3104
3104
|
}
|
3105
3105
|
}
|
3106
3106
|
)
|
@@ -3133,29 +3133,29 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3133
3133
|
}
|
3134
3134
|
)
|
3135
3135
|
}
|
3136
|
-
) }), di = "_component_tlgec_10", pi = "_items_tlgec_19", mi = "_endOfItems_tlgec_23",
|
3136
|
+
) }), di = "_component_tlgec_10", pi = "_items_tlgec_19", mi = "_endOfItems_tlgec_23", zt = {
|
3137
3137
|
component: di,
|
3138
3138
|
items: pi,
|
3139
3139
|
endOfItems: mi
|
3140
|
-
}, vi = ({ children: t, fetchNextPage: o, containerClassName: u, className: l, resetState:
|
3141
|
-
const h = qe.useRef(null),
|
3142
|
-
|
3143
|
-
|
3144
|
-
}, [
|
3145
|
-
async function
|
3146
|
-
if (
|
3147
|
-
|
3148
|
-
const { hasAnotherPage: G } = await o(
|
3149
|
-
|
3140
|
+
}, vi = ({ children: t, fetchNextPage: o, containerClassName: u, className: l, resetState: m }) => {
|
3141
|
+
const h = qe.useRef(null), g = qe.useRef(-1), [x, C] = _.useState(!1), [N, S] = _.useState(!1);
|
3142
|
+
_.useEffect(() => {
|
3143
|
+
g.current = -1, C(!1), S(!1), k();
|
3144
|
+
}, [m]);
|
3145
|
+
async function k() {
|
3146
|
+
if (x) return;
|
3147
|
+
C(!0);
|
3148
|
+
const { hasAnotherPage: G } = await o(g.current + 1);
|
3149
|
+
g.current++, C(!1), S(G || !1);
|
3150
3150
|
}
|
3151
|
-
return
|
3151
|
+
return _.useEffect(() => {
|
3152
3152
|
if (!h.current) return;
|
3153
3153
|
const G = h.current;
|
3154
|
-
new IntersectionObserver((
|
3155
|
-
console.log("observer update"),
|
3154
|
+
new IntersectionObserver((A) => {
|
3155
|
+
console.log("observer update"), A[0].isIntersecting && k();
|
3156
3156
|
}).observe(G);
|
3157
|
-
}, []), /* @__PURE__ */ c.jsxs("div", { className:
|
3158
|
-
(t == null ? void 0 : t.length) > 0 ? /* @__PURE__ */ c.jsx("div", { className:
|
3157
|
+
}, []), /* @__PURE__ */ c.jsxs("div", { className: j(u, zt.component), children: [
|
3158
|
+
(t == null ? void 0 : t.length) > 0 ? /* @__PURE__ */ c.jsx("div", { className: j(l, zt.items), children: t }) : /* @__PURE__ */ c.jsxs("div", { className: "text-center", children: [
|
3159
3159
|
/* @__PURE__ */ c.jsx(
|
3160
3160
|
lt,
|
3161
3161
|
{
|
@@ -3170,29 +3170,29 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3170
3170
|
"div",
|
3171
3171
|
{
|
3172
3172
|
ref: h,
|
3173
|
-
className:
|
3173
|
+
className: zt.endOfItems,
|
3174
3174
|
children: [
|
3175
|
-
|
3175
|
+
x && /* @__PURE__ */ c.jsx(Ke, { text: "Loading more content" }),
|
3176
3176
|
/* @__PURE__ */ c.jsx(Ht, { direction: "column" }),
|
3177
|
-
|
3177
|
+
N && /* @__PURE__ */ c.jsx(
|
3178
3178
|
Ke,
|
3179
3179
|
{
|
3180
3180
|
text: "No more items to load",
|
3181
|
-
className:
|
3181
|
+
className: zt.endOfItems
|
3182
3182
|
}
|
3183
3183
|
)
|
3184
3184
|
]
|
3185
3185
|
}
|
3186
3186
|
)
|
3187
3187
|
] });
|
3188
|
-
}, hi = "_component_178hu_6", _i = "_segment_178hu_20",
|
3188
|
+
}, hi = "_component_178hu_6", _i = "_segment_178hu_20", Vt = {
|
3189
3189
|
component: hi,
|
3190
3190
|
segment: _i
|
3191
|
-
}, gi = ({ leftSection: t, centerSection: o, rightSection: u, className: l }) => /* @__PURE__ */ c.jsxs(ot, { className:
|
3191
|
+
}, gi = ({ leftSection: t, centerSection: o, rightSection: u, className: l }) => /* @__PURE__ */ c.jsxs(ot, { className: j(Vt.component, l), children: [
|
3192
3192
|
/* @__PURE__ */ c.jsx(
|
3193
3193
|
at,
|
3194
3194
|
{
|
3195
|
-
className:
|
3195
|
+
className: Vt.segment,
|
3196
3196
|
direction: "row",
|
3197
3197
|
children: t
|
3198
3198
|
}
|
@@ -3200,7 +3200,7 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3200
3200
|
/* @__PURE__ */ c.jsx(
|
3201
3201
|
at,
|
3202
3202
|
{
|
3203
|
-
className:
|
3203
|
+
className: Vt.segment,
|
3204
3204
|
direction: "row",
|
3205
3205
|
children: o
|
3206
3206
|
}
|
@@ -3208,7 +3208,7 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3208
3208
|
/* @__PURE__ */ c.jsx(
|
3209
3209
|
at,
|
3210
3210
|
{
|
3211
|
-
className:
|
3211
|
+
className: Vt.segment,
|
3212
3212
|
direction: "row",
|
3213
3213
|
children: u
|
3214
3214
|
}
|
@@ -3228,27 +3228,27 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3228
3228
|
text: t,
|
3229
3229
|
level: 2
|
3230
3230
|
}
|
3231
|
-
), Ei = "_page_107gf_6", Ri = "_fadeIn_107gf_1",
|
3231
|
+
), Ei = "_page_107gf_6", Ri = "_fadeIn_107gf_1", Si = "_card_107gf_40", wi = "_cardContainer_107gf_51", ji = "_goBackButton_107gf_55", ki = "_headerImage_107gf_61", Ti = "_header_107gf_61", Oi = "_body_107gf_70", ge = {
|
3232
3232
|
page: Ei,
|
3233
3233
|
fadeIn: Ri,
|
3234
|
-
card:
|
3235
|
-
cardContainer:
|
3234
|
+
card: Si,
|
3235
|
+
cardContainer: wi,
|
3236
3236
|
goBackButton: ji,
|
3237
3237
|
headerImage: ki,
|
3238
3238
|
header: Ti,
|
3239
3239
|
body: Oi
|
3240
3240
|
}, Pi = ({ pages: t, meta: o }) => {
|
3241
|
-
const [u, l] =
|
3242
|
-
return localStorage.getItem(`yourdash-application-visited-${o.id}`) || u > t.length - 1 ? (localStorage.setItem(`yourdash-application-visited-${o.id}`, "true"), /* @__PURE__ */ c.jsx(
|
3241
|
+
const [u, l] = _.useState(0), m = t[u];
|
3242
|
+
return localStorage.getItem(`yourdash-application-visited-${o.id}`) || u > t.length - 1 ? (localStorage.setItem(`yourdash-application-visited-${o.id}`, "true"), /* @__PURE__ */ c.jsx(Fo, {})) : /* @__PURE__ */ c.jsx("div", { className: ge.page, children: /* @__PURE__ */ c.jsxs(
|
3243
3243
|
ut,
|
3244
3244
|
{
|
3245
3245
|
className: ge.card,
|
3246
3246
|
containerClassName: ge.cardContainer,
|
3247
3247
|
children: [
|
3248
|
-
|
3248
|
+
m.allowGoBack && /* @__PURE__ */ c.jsx(
|
3249
3249
|
st,
|
3250
3250
|
{
|
3251
|
-
className:
|
3251
|
+
className: j(ge.goBackButton, "animate__animated animate__fadeInDown"),
|
3252
3252
|
accessibleLabel: "Go back to the last page",
|
3253
3253
|
icon: $e.ChevronLeft,
|
3254
3254
|
onClick: () => {
|
@@ -3260,7 +3260,7 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3260
3260
|
jr,
|
3261
3261
|
{
|
3262
3262
|
className: ge.headerImage,
|
3263
|
-
src:
|
3263
|
+
src: m.headerImage,
|
3264
3264
|
accessibleLabel: ""
|
3265
3265
|
}
|
3266
3266
|
),
|
@@ -3268,14 +3268,14 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3268
3268
|
lt,
|
3269
3269
|
{
|
3270
3270
|
className: ge.header,
|
3271
|
-
text:
|
3271
|
+
text: m.header
|
3272
3272
|
}
|
3273
3273
|
),
|
3274
3274
|
/* @__PURE__ */ c.jsx(
|
3275
3275
|
Ke,
|
3276
3276
|
{
|
3277
3277
|
className: ge.body,
|
3278
|
-
text:
|
3278
|
+
text: m.body
|
3279
3279
|
}
|
3280
3280
|
),
|
3281
3281
|
/* @__PURE__ */ c.jsx(
|
@@ -3283,10 +3283,10 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3283
3283
|
{
|
3284
3284
|
className: ge.actions,
|
3285
3285
|
direction: "row",
|
3286
|
-
children:
|
3287
|
-
|
3286
|
+
children: m.actions.map((h) => h.icon ? /* @__PURE__ */ c.jsx(c.Fragment, { children: /* @__PURE__ */ c.jsx(
|
3287
|
+
Sn,
|
3288
3288
|
{
|
3289
|
-
className:
|
3289
|
+
className: j(ge.action, ge.actionWithIcon, "animate__animated animate__fadeInUp"),
|
3290
3290
|
text: h.label,
|
3291
3291
|
icon: h.icon,
|
3292
3292
|
onClick: () => {
|
@@ -3310,7 +3310,7 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3310
3310
|
) }) : /* @__PURE__ */ c.jsx(c.Fragment, { children: /* @__PURE__ */ c.jsx(
|
3311
3311
|
qt,
|
3312
3312
|
{
|
3313
|
-
className:
|
3313
|
+
className: j(ge.action, ge.actionWithoutIcon, "animate__animated animate__fadeInUp"),
|
3314
3314
|
text: h.label,
|
3315
3315
|
onClick: () => {
|
3316
3316
|
if (h.onClick(), h.changeTo)
|
@@ -3342,39 +3342,39 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3342
3342
|
maxZoom: u,
|
3343
3343
|
onScaleChange: l
|
3344
3344
|
}) => {
|
3345
|
-
const
|
3346
|
-
l &&
|
3347
|
-
l(
|
3348
|
-
}, [
|
3349
|
-
const
|
3350
|
-
|
3351
|
-
const ie =
|
3352
|
-
|
3353
|
-
}, G = (
|
3354
|
-
|
3355
|
-
const ie =
|
3356
|
-
|
3357
|
-
const oe =
|
3358
|
-
|
3345
|
+
const m = _.useRef(null), [h, g] = _.useState(0), [x, C] = _.useState(0), [N, S] = _.useState(1);
|
3346
|
+
l && _.useEffect(() => {
|
3347
|
+
l(N);
|
3348
|
+
}, [N]);
|
3349
|
+
const k = (A) => {
|
3350
|
+
A.stopPropagation();
|
3351
|
+
const ie = A.deltaY, ee = N + ie / 1e3;
|
3352
|
+
S(Math.min(Math.max(ee, o ?? 0.1), u ?? 10));
|
3353
|
+
}, G = (A) => {
|
3354
|
+
A.stopPropagation();
|
3355
|
+
const ie = A.clientX, ee = A.clientY, ae = h, M = x, se = (Y) => {
|
3356
|
+
Y.stopPropagation();
|
3357
|
+
const oe = Y.clientX - ie, pe = Y.clientY - ee;
|
3358
|
+
g(ae + oe), C(M + pe);
|
3359
3359
|
}, te = () => {
|
3360
|
-
|
3360
|
+
A.stopPropagation(), document.removeEventListener("mousemove", se), document.removeEventListener("mouseup", te);
|
3361
3361
|
};
|
3362
3362
|
document.addEventListener("mousemove", se), document.addEventListener("mouseup", te);
|
3363
|
-
}, Z = (
|
3364
|
-
|
3365
|
-
const ie =
|
3363
|
+
}, Z = (A) => {
|
3364
|
+
A.stopPropagation();
|
3365
|
+
const ie = A.touches, ee = h, ae = x, M = (te) => {
|
3366
3366
|
te.stopPropagation();
|
3367
|
-
const
|
3368
|
-
|
3367
|
+
const Y = te.touches, oe = Y[0].clientX - ie[0].clientX, pe = Y[0].clientY - ie[0].clientY;
|
3368
|
+
g(ee + oe), C(ae + pe);
|
3369
3369
|
}, se = () => {
|
3370
|
-
|
3370
|
+
A.stopPropagation(), document.removeEventListener("touchmove", M), document.removeEventListener("touchend", se);
|
3371
3371
|
};
|
3372
3372
|
document.addEventListener("touchmove", M), document.addEventListener("touchend", se);
|
3373
3373
|
};
|
3374
3374
|
return /* @__PURE__ */ c.jsx(
|
3375
3375
|
"div",
|
3376
3376
|
{
|
3377
|
-
ref:
|
3377
|
+
ref: m,
|
3378
3378
|
style: {
|
3379
3379
|
width: "100%",
|
3380
3380
|
height: "100%",
|
@@ -3383,20 +3383,20 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3383
3383
|
alignItems: "center",
|
3384
3384
|
justifyContent: "center"
|
3385
3385
|
},
|
3386
|
-
onWheel:
|
3386
|
+
onWheel: k,
|
3387
3387
|
onMouseDown: G,
|
3388
3388
|
onTouchStart: Z,
|
3389
|
-
onDragStart: (
|
3390
|
-
|
3389
|
+
onDragStart: (A) => {
|
3390
|
+
A.stopPropagation(), A.preventDefault();
|
3391
3391
|
},
|
3392
|
-
onContextMenu: (
|
3393
|
-
|
3392
|
+
onContextMenu: (A) => {
|
3393
|
+
A.preventDefault(), A.stopPropagation();
|
3394
3394
|
},
|
3395
3395
|
children: /* @__PURE__ */ c.jsx(
|
3396
3396
|
"div",
|
3397
3397
|
{
|
3398
3398
|
style: {
|
3399
|
-
transform: `translate(${h}px, ${
|
3399
|
+
transform: `translate(${h}px, ${x}px) scale(${N})`,
|
3400
3400
|
transformOrigin: "center center",
|
3401
3401
|
maxWidth: "max-content",
|
3402
3402
|
pointerEvents: "none"
|
@@ -3406,10 +3406,10 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3406
3406
|
)
|
3407
3407
|
}
|
3408
3408
|
);
|
3409
|
-
},
|
3410
|
-
component:
|
3411
|
-
open:
|
3412
|
-
}, kr =
|
3409
|
+
}, Ii = "_component_kdw27_10", Di = "_open_kdw27_40", ln = {
|
3410
|
+
component: Ii,
|
3411
|
+
open: Di
|
3412
|
+
}, kr = _.createContext({
|
3413
3413
|
openSidebar: () => {
|
3414
3414
|
},
|
3415
3415
|
closeSidebar: () => {
|
@@ -3418,43 +3418,43 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3418
3418
|
},
|
3419
3419
|
isOpen: !0
|
3420
3420
|
}), $i = ({ children: t }) => {
|
3421
|
-
const o =
|
3421
|
+
const o = _.useContext(kr), u = ct();
|
3422
3422
|
return /* @__PURE__ */ c.jsx(it, { children: /* @__PURE__ */ c.jsx(
|
3423
3423
|
at,
|
3424
3424
|
{
|
3425
3425
|
direction: "column",
|
3426
|
-
className:
|
3426
|
+
className: j(ln.component, o.isOpen && ln.open, Ct(u + 1)),
|
3427
3427
|
children: t
|
3428
3428
|
}
|
3429
3429
|
) });
|
3430
|
-
},
|
3431
|
-
component:
|
3432
|
-
},
|
3430
|
+
}, Ai = "_component_3jgyq_10", Fi = {
|
3431
|
+
component: Ai
|
3432
|
+
}, Li = ({
|
3433
3433
|
children: t,
|
3434
3434
|
showSidebarByDefault: o,
|
3435
3435
|
className: u
|
3436
3436
|
}) => {
|
3437
|
-
const [l,
|
3437
|
+
const [l, m] = _.useState(o || !0);
|
3438
3438
|
return /* @__PURE__ */ c.jsx(
|
3439
3439
|
kr.Provider,
|
3440
3440
|
{
|
3441
3441
|
value: {
|
3442
3442
|
closeSidebar: () => {
|
3443
|
-
|
3443
|
+
m(!1);
|
3444
3444
|
},
|
3445
3445
|
toggleSidebar: () => {
|
3446
|
-
|
3446
|
+
m(!l);
|
3447
3447
|
},
|
3448
3448
|
openSidebar: () => {
|
3449
|
-
|
3449
|
+
m(!0);
|
3450
3450
|
},
|
3451
3451
|
isOpen: l
|
3452
3452
|
},
|
3453
|
-
children: /* @__PURE__ */ c.jsx("div", { className:
|
3453
|
+
children: /* @__PURE__ */ c.jsx("div", { className: j(Fi.component, u), children: t })
|
3454
3454
|
}
|
3455
3455
|
);
|
3456
3456
|
}, Mi = () => {
|
3457
|
-
const t =
|
3457
|
+
const t = _.useContext(kr);
|
3458
3458
|
return /* @__PURE__ */ c.jsx(
|
3459
3459
|
st,
|
3460
3460
|
{
|
@@ -3465,7 +3465,7 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3465
3465
|
}
|
3466
3466
|
}
|
3467
3467
|
);
|
3468
|
-
},
|
3468
|
+
}, is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
3469
3469
|
__proto__: null,
|
3470
3470
|
Carousel: ni,
|
3471
3471
|
Dialog: ci,
|
@@ -3477,7 +3477,7 @@ const Fo = "_component_1d200_10", Mo = "_link_1d200_46", Bo = {
|
|
3477
3477
|
OnBoarding: Pi,
|
3478
3478
|
PanAndZoom: Ni,
|
3479
3479
|
Sidebar: $i,
|
3480
|
-
SidebarContainer:
|
3480
|
+
SidebarContainer: Li,
|
3481
3481
|
SidebarToggleButton: Mi
|
3482
3482
|
}, Symbol.toStringTag, { value: "Module" }));
|
3483
3483
|
function Bi() {
|
@@ -3490,51 +3490,51 @@ function Bi() {
|
|
3490
3490
|
return navigator.userAgent.match(u) !== null;
|
3491
3491
|
}
|
3492
3492
|
}
|
3493
|
-
const Ui = "_component_g2wjx_10",
|
3493
|
+
const Ui = "_component_g2wjx_10", Wi = "_button_g2wjx_29", fn = {
|
3494
3494
|
component: Ui,
|
3495
|
-
button:
|
3496
|
-
},
|
3497
|
-
const [o, u] = qe.useState({ x: 0, y: 0 }), [l,
|
3498
|
-
return
|
3495
|
+
button: Wi
|
3496
|
+
}, Yi = ({ children: t }) => {
|
3497
|
+
const [o, u] = qe.useState({ x: 0, y: 0 }), [l, m] = qe.useState(!1), [h, g] = qe.useState([]), x = _.useRef(null);
|
3498
|
+
return _.useEffect(() => {
|
3499
3499
|
window.addEventListener("resize", () => {
|
3500
|
-
|
3500
|
+
m(!1);
|
3501
3501
|
});
|
3502
3502
|
}, []), /* @__PURE__ */ c.jsxs(
|
3503
3503
|
kn.Provider,
|
3504
3504
|
{
|
3505
3505
|
value: {
|
3506
|
-
createMenu: ({ x:
|
3506
|
+
createMenu: ({ x: C, y: N, width: S, height: k, items: G }) => {
|
3507
3507
|
var se, te;
|
3508
|
-
const Z = window.innerWidth,
|
3509
|
-
let ae =
|
3510
|
-
|
3508
|
+
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;
|
3509
|
+
let ae = C, M = N;
|
3510
|
+
C + ie >= Z && (ae = Z - ie), N + ee >= A && (M = A - ee), u({
|
3511
3511
|
x: ae,
|
3512
3512
|
y: M
|
3513
|
-
}),
|
3513
|
+
}), g(G), m(!0);
|
3514
3514
|
},
|
3515
3515
|
destroyMenu: () => {
|
3516
|
-
|
3516
|
+
m(!1);
|
3517
3517
|
}
|
3518
3518
|
},
|
3519
3519
|
children: [
|
3520
3520
|
/* @__PURE__ */ c.jsx(
|
3521
3521
|
"div",
|
3522
3522
|
{
|
3523
|
-
ref:
|
3523
|
+
ref: x,
|
3524
3524
|
style: {
|
3525
3525
|
display: l ? "flex" : "none",
|
3526
3526
|
left: o.x,
|
3527
3527
|
top: o.y
|
3528
3528
|
},
|
3529
3529
|
className: fn.component,
|
3530
|
-
children: h.map((
|
3530
|
+
children: h.map((C) => /* @__PURE__ */ c.jsx(
|
3531
3531
|
qt,
|
3532
3532
|
{
|
3533
3533
|
className: fn.button,
|
3534
|
-
text:
|
3535
|
-
onClick:
|
3534
|
+
text: C.label,
|
3535
|
+
onClick: C.onClick
|
3536
3536
|
},
|
3537
|
-
|
3537
|
+
C.label
|
3538
3538
|
))
|
3539
3539
|
}
|
3540
3540
|
),
|
@@ -3543,7 +3543,7 @@ const Ui = "_component_g2wjx_10", Vi = "_button_g2wjx_29", fn = {
|
|
3543
3543
|
}
|
3544
3544
|
);
|
3545
3545
|
};
|
3546
|
-
function
|
3546
|
+
function zi() {
|
3547
3547
|
return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(t) {
|
3548
3548
|
const o = Math.random() * 16 | 0;
|
3549
3549
|
return (t == "x" ? o : o & 3 | 8).toString(16);
|
@@ -3553,8 +3553,8 @@ const Tn = qe.createContext({
|
|
3553
3553
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
3554
3554
|
showToast: (t) => {
|
3555
3555
|
}
|
3556
|
-
}),
|
3557
|
-
container:
|
3556
|
+
}), Vi = "_container_17n1r_6", Hi = "_component_17n1r_20", Gi = "_cardContent_17n1r_34", qi = "_success_17n1r_42", Ki = "_error_17n1r_46", Xi = "_warning_17n1r_50", Ji = "_info_17n1r_54", Qi = "_heading_17n1r_58", Zi = "_pointerEvents_17n1r_64", Ge = {
|
3557
|
+
container: Vi,
|
3558
3558
|
component: Hi,
|
3559
3559
|
cardContent: Gi,
|
3560
3560
|
success: qi,
|
@@ -3564,22 +3564,22 @@ const Tn = qe.createContext({
|
|
3564
3564
|
heading: Qi,
|
3565
3565
|
pointerEvents: Zi
|
3566
3566
|
}, dn = 5e3, es = ({ children: t }) => {
|
3567
|
-
const [o, u] =
|
3567
|
+
const [o, u] = _.useState([]);
|
3568
3568
|
return /* @__PURE__ */ c.jsxs(
|
3569
3569
|
Tn.Provider,
|
3570
3570
|
{
|
3571
3571
|
value: {
|
3572
3572
|
showToast: (l) => {
|
3573
|
-
const
|
3574
|
-
u((h) => [...h, { ...l, uuid:
|
3573
|
+
const m = zi();
|
3574
|
+
u((h) => [...h, { ...l, uuid: m, animatingOut: !1 }]), l.persist || (setTimeout(() => {
|
3575
3575
|
u(
|
3576
|
-
(h) => h.map((
|
3577
|
-
...
|
3576
|
+
(h) => h.map((g) => m === g.uuid ? {
|
3577
|
+
...g,
|
3578
3578
|
animatingOut: !0
|
3579
|
-
} :
|
3579
|
+
} : g)
|
3580
3580
|
);
|
3581
3581
|
}, dn - 500), setTimeout(() => {
|
3582
|
-
u((h) => h.filter((
|
3582
|
+
u((h) => h.filter((g) => g.uuid !== m));
|
3583
3583
|
}, dn));
|
3584
3584
|
}
|
3585
3585
|
},
|
@@ -3592,11 +3592,11 @@ const Tn = qe.createContext({
|
|
3592
3592
|
{
|
3593
3593
|
accessibleLabel: "Close toasts",
|
3594
3594
|
icon: $e.X,
|
3595
|
-
onClick: () => u((
|
3595
|
+
onClick: () => u((m) => m.filter((h) => h.uuid !== l.uuid))
|
3596
3596
|
}
|
3597
3597
|
) : null,
|
3598
|
-
className:
|
3599
|
-
containerClassName:
|
3598
|
+
className: j(Ge.cardContent, l.type && Ge[l.type]),
|
3599
|
+
containerClassName: j(
|
3600
3600
|
Ge.component,
|
3601
3601
|
l.persist && Ge.pointerEvents,
|
3602
3602
|
l.animatingOut ? "animate__animated animate__fadeOutRightBig" : "animate__animated animate__fadeInDown"
|
@@ -3626,7 +3626,7 @@ const Tn = qe.createContext({
|
|
3626
3626
|
]
|
3627
3627
|
}
|
3628
3628
|
);
|
3629
|
-
}, ts = (t) => /* @__PURE__ */ c.jsx("div", { className:
|
3629
|
+
}, ts = (t) => /* @__PURE__ */ c.jsx("div", { className: j(De.theme, De.level0, Bi() && De.mobile), children: /* @__PURE__ */ c.jsx(Yi, { children: /* @__PURE__ */ c.jsx(es, { children: /* @__PURE__ */ c.jsx(Gt.Provider, { value: 0, children: t.children }) }) }) });
|
3630
3630
|
function rs() {
|
3631
3631
|
const t = qe.useContext(Tn);
|
3632
3632
|
return {
|
@@ -3635,15 +3635,85 @@ function rs() {
|
|
3635
3635
|
}
|
3636
3636
|
};
|
3637
3637
|
}
|
3638
|
-
const
|
3638
|
+
const ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
3639
3639
|
__proto__: null,
|
3640
|
-
DecrementLevel:
|
3640
|
+
DecrementLevel: wn,
|
3641
3641
|
IncrementLevel: it,
|
3642
3642
|
UIKitRoot: ts,
|
3643
3643
|
useToast: rs
|
3644
|
+
}, Symbol.toStringTag, { value: "Module" })), ns = ({ className: t, onSeen: o }) => {
|
3645
|
+
const [u, l] = _.useState(!1), m = _.useRef(null);
|
3646
|
+
return _.useEffect(() => {
|
3647
|
+
if (!m.current) return;
|
3648
|
+
const h = m.current, g = new IntersectionObserver((x) => {
|
3649
|
+
x[0].isIntersecting && (o(), g.disconnect(), l(!0));
|
3650
|
+
});
|
3651
|
+
return g.observe(h), () => {
|
3652
|
+
g.disconnect();
|
3653
|
+
};
|
3654
|
+
}, []), u ? null : /* @__PURE__ */ c.jsx(
|
3655
|
+
"div",
|
3656
|
+
{
|
3657
|
+
ref: m,
|
3658
|
+
className: t
|
3659
|
+
}
|
3660
|
+
);
|
3661
|
+
}, os = ({ className: t, onEnterView: o, onLeaveView: u }) => {
|
3662
|
+
const l = _.useRef(!1), m = _.useRef(null);
|
3663
|
+
return _.useEffect(() => {
|
3664
|
+
if (!m.current) return;
|
3665
|
+
const h = m.current, g = () => {
|
3666
|
+
const { top: C, bottom: N, left: S, right: k } = h.getBoundingClientRect();
|
3667
|
+
if (!l.current) {
|
3668
|
+
if (C < 0) {
|
3669
|
+
o == null || o("up"), l.current = !0;
|
3670
|
+
return;
|
3671
|
+
} else if (N > window.innerHeight) {
|
3672
|
+
o == null || o("down"), l.current = !0;
|
3673
|
+
return;
|
3674
|
+
} else if (S < 0) {
|
3675
|
+
o == null || o("left"), l.current = !0;
|
3676
|
+
return;
|
3677
|
+
} else if (k > window.innerWidth) {
|
3678
|
+
o == null || o("right"), l.current = !0;
|
3679
|
+
return;
|
3680
|
+
}
|
3681
|
+
}
|
3682
|
+
if (C > window.innerHeight) {
|
3683
|
+
u == null || u("down"), l.current = !1;
|
3684
|
+
return;
|
3685
|
+
} else if (N < 0) {
|
3686
|
+
u == null || u("up"), l.current = !1;
|
3687
|
+
return;
|
3688
|
+
} else if (S > window.innerWidth) {
|
3689
|
+
u == null || u("right"), l.current = !1;
|
3690
|
+
return;
|
3691
|
+
} else if (k < 0) {
|
3692
|
+
u == null || u("left"), l.current = !1;
|
3693
|
+
return;
|
3694
|
+
}
|
3695
|
+
}, x = new IntersectionObserver(() => {
|
3696
|
+
g();
|
3697
|
+
});
|
3698
|
+
return x.observe(h), () => {
|
3699
|
+
x.disconnect();
|
3700
|
+
};
|
3701
|
+
}, []), /* @__PURE__ */ c.jsx(
|
3702
|
+
"div",
|
3703
|
+
{
|
3704
|
+
ref: m,
|
3705
|
+
style: { height: 1, width: 1 },
|
3706
|
+
className: t
|
3707
|
+
}
|
3708
|
+
);
|
3709
|
+
}, cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
3710
|
+
__proto__: null,
|
3711
|
+
HasBeenShown: ns,
|
3712
|
+
OnInView: os
|
3644
3713
|
}, Symbol.toStringTag, { value: "Module" }));
|
3645
3714
|
export {
|
3646
|
-
|
3647
|
-
|
3648
|
-
|
3715
|
+
as as Components,
|
3716
|
+
ss as Core,
|
3717
|
+
cs as UtilityComponent,
|
3718
|
+
is as Views
|
3649
3719
|
};
|