mc-react-library 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -2
- package/dist/main.css +1 -1
- package/dist/main.js +5013 -0
- package/package.json +2 -2
- package/dist/mc-react-library.js +0 -3832
package/dist/mc-react-library.js
DELETED
|
@@ -1,3832 +0,0 @@
|
|
|
1
|
-
import "./main.css";
|
|
2
|
-
import * as ve from "react";
|
|
3
|
-
import Te, { useRef as ce, useEffect as ge, useMemo as pt, useState as Ue, useCallback as oe, useContext as tr, createContext as $n, useLayoutEffect as Qn, cloneElement as rr } from "react";
|
|
4
|
-
import Ke from "react-dom";
|
|
5
|
-
function nr(e) {
|
|
6
|
-
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
7
|
-
}
|
|
8
|
-
var Vt = { exports: {} }, at = {};
|
|
9
|
-
/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.production.min.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/
|
|
18
|
-
var Ar;
|
|
19
|
-
function Xn() {
|
|
20
|
-
if (Ar)
|
|
21
|
-
return at;
|
|
22
|
-
Ar = 1;
|
|
23
|
-
var e = Te, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
24
|
-
function s(c, u, f) {
|
|
25
|
-
var l, d = {}, h = null, g = null;
|
|
26
|
-
f !== void 0 && (h = "" + f), u.key !== void 0 && (h = "" + u.key), u.ref !== void 0 && (g = u.ref);
|
|
27
|
-
for (l in u)
|
|
28
|
-
n.call(u, l) && !i.hasOwnProperty(l) && (d[l] = u[l]);
|
|
29
|
-
if (c && c.defaultProps)
|
|
30
|
-
for (l in u = c.defaultProps, u)
|
|
31
|
-
d[l] === void 0 && (d[l] = u[l]);
|
|
32
|
-
return { $$typeof: t, type: c, key: h, ref: g, props: d, _owner: o.current };
|
|
33
|
-
}
|
|
34
|
-
return at.Fragment = r, at.jsx = s, at.jsxs = s, at;
|
|
35
|
-
}
|
|
36
|
-
var st = {};
|
|
37
|
-
/**
|
|
38
|
-
* @license React
|
|
39
|
-
* react-jsx-runtime.development.js
|
|
40
|
-
*
|
|
41
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
42
|
-
*
|
|
43
|
-
* This source code is licensed under the MIT license found in the
|
|
44
|
-
* LICENSE file in the root directory of this source tree.
|
|
45
|
-
*/
|
|
46
|
-
var Or;
|
|
47
|
-
function Zn() {
|
|
48
|
-
return Or || (Or = 1, process.env.NODE_ENV !== "production" && function() {
|
|
49
|
-
var e = Te, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), b = Symbol.iterator, w = "@@iterator";
|
|
50
|
-
function y(a) {
|
|
51
|
-
if (a === null || typeof a != "object")
|
|
52
|
-
return null;
|
|
53
|
-
var v = b && a[b] || a[w];
|
|
54
|
-
return typeof v == "function" ? v : null;
|
|
55
|
-
}
|
|
56
|
-
var T = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
57
|
-
function x(a) {
|
|
58
|
-
{
|
|
59
|
-
for (var v = arguments.length, A = new Array(v > 1 ? v - 1 : 0), D = 1; D < v; D++)
|
|
60
|
-
A[D - 1] = arguments[D];
|
|
61
|
-
C("error", a, A);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
function C(a, v, A) {
|
|
65
|
-
{
|
|
66
|
-
var D = T.ReactDebugCurrentFrame, G = D.getStackAddendum();
|
|
67
|
-
G !== "" && (v += "%s", A = A.concat([G]));
|
|
68
|
-
var te = A.map(function(W) {
|
|
69
|
-
return String(W);
|
|
70
|
-
});
|
|
71
|
-
te.unshift("Warning: " + v), Function.prototype.apply.call(console[a], console, te);
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
var R = !1, p = !1, S = !1, I = !1, q = !1, Q;
|
|
75
|
-
Q = Symbol.for("react.module.reference");
|
|
76
|
-
function J(a) {
|
|
77
|
-
return !!(typeof a == "string" || typeof a == "function" || a === n || a === i || q || a === o || a === f || a === l || I || a === g || R || p || S || typeof a == "object" && a !== null && (a.$$typeof === h || a.$$typeof === d || a.$$typeof === s || a.$$typeof === c || a.$$typeof === u || // This needs to include all possible module reference object
|
|
78
|
-
// types supported by any Flight configuration anywhere since
|
|
79
|
-
// we don't know which Flight build this will end up being used
|
|
80
|
-
// with.
|
|
81
|
-
a.$$typeof === Q || a.getModuleId !== void 0));
|
|
82
|
-
}
|
|
83
|
-
function Z(a, v, A) {
|
|
84
|
-
var D = a.displayName;
|
|
85
|
-
if (D)
|
|
86
|
-
return D;
|
|
87
|
-
var G = v.displayName || v.name || "";
|
|
88
|
-
return G !== "" ? A + "(" + G + ")" : A;
|
|
89
|
-
}
|
|
90
|
-
function ie(a) {
|
|
91
|
-
return a.displayName || "Context";
|
|
92
|
-
}
|
|
93
|
-
function V(a) {
|
|
94
|
-
if (a == null)
|
|
95
|
-
return null;
|
|
96
|
-
if (typeof a.tag == "number" && x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof a == "function")
|
|
97
|
-
return a.displayName || a.name || null;
|
|
98
|
-
if (typeof a == "string")
|
|
99
|
-
return a;
|
|
100
|
-
switch (a) {
|
|
101
|
-
case n:
|
|
102
|
-
return "Fragment";
|
|
103
|
-
case r:
|
|
104
|
-
return "Portal";
|
|
105
|
-
case i:
|
|
106
|
-
return "Profiler";
|
|
107
|
-
case o:
|
|
108
|
-
return "StrictMode";
|
|
109
|
-
case f:
|
|
110
|
-
return "Suspense";
|
|
111
|
-
case l:
|
|
112
|
-
return "SuspenseList";
|
|
113
|
-
}
|
|
114
|
-
if (typeof a == "object")
|
|
115
|
-
switch (a.$$typeof) {
|
|
116
|
-
case c:
|
|
117
|
-
var v = a;
|
|
118
|
-
return ie(v) + ".Consumer";
|
|
119
|
-
case s:
|
|
120
|
-
var A = a;
|
|
121
|
-
return ie(A._context) + ".Provider";
|
|
122
|
-
case u:
|
|
123
|
-
return Z(a, a.render, "ForwardRef");
|
|
124
|
-
case d:
|
|
125
|
-
var D = a.displayName || null;
|
|
126
|
-
return D !== null ? D : V(a.type) || "Memo";
|
|
127
|
-
case h: {
|
|
128
|
-
var G = a, te = G._payload, W = G._init;
|
|
129
|
-
try {
|
|
130
|
-
return V(W(te));
|
|
131
|
-
} catch {
|
|
132
|
-
return null;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
return null;
|
|
137
|
-
}
|
|
138
|
-
var z = Object.assign, X = 0, ee, re, he, fe, m, O, B;
|
|
139
|
-
function F() {
|
|
140
|
-
}
|
|
141
|
-
F.__reactDisabledLog = !0;
|
|
142
|
-
function P() {
|
|
143
|
-
{
|
|
144
|
-
if (X === 0) {
|
|
145
|
-
ee = console.log, re = console.info, he = console.warn, fe = console.error, m = console.group, O = console.groupCollapsed, B = console.groupEnd;
|
|
146
|
-
var a = {
|
|
147
|
-
configurable: !0,
|
|
148
|
-
enumerable: !0,
|
|
149
|
-
value: F,
|
|
150
|
-
writable: !0
|
|
151
|
-
};
|
|
152
|
-
Object.defineProperties(console, {
|
|
153
|
-
info: a,
|
|
154
|
-
log: a,
|
|
155
|
-
warn: a,
|
|
156
|
-
error: a,
|
|
157
|
-
group: a,
|
|
158
|
-
groupCollapsed: a,
|
|
159
|
-
groupEnd: a
|
|
160
|
-
});
|
|
161
|
-
}
|
|
162
|
-
X++;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
function L() {
|
|
166
|
-
{
|
|
167
|
-
if (X--, X === 0) {
|
|
168
|
-
var a = {
|
|
169
|
-
configurable: !0,
|
|
170
|
-
enumerable: !0,
|
|
171
|
-
writable: !0
|
|
172
|
-
};
|
|
173
|
-
Object.defineProperties(console, {
|
|
174
|
-
log: z({}, a, {
|
|
175
|
-
value: ee
|
|
176
|
-
}),
|
|
177
|
-
info: z({}, a, {
|
|
178
|
-
value: re
|
|
179
|
-
}),
|
|
180
|
-
warn: z({}, a, {
|
|
181
|
-
value: he
|
|
182
|
-
}),
|
|
183
|
-
error: z({}, a, {
|
|
184
|
-
value: fe
|
|
185
|
-
}),
|
|
186
|
-
group: z({}, a, {
|
|
187
|
-
value: m
|
|
188
|
-
}),
|
|
189
|
-
groupCollapsed: z({}, a, {
|
|
190
|
-
value: O
|
|
191
|
-
}),
|
|
192
|
-
groupEnd: z({}, a, {
|
|
193
|
-
value: B
|
|
194
|
-
})
|
|
195
|
-
});
|
|
196
|
-
}
|
|
197
|
-
X < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
var j = T.ReactCurrentDispatcher, _;
|
|
201
|
-
function M(a, v, A) {
|
|
202
|
-
{
|
|
203
|
-
if (_ === void 0)
|
|
204
|
-
try {
|
|
205
|
-
throw Error();
|
|
206
|
-
} catch (G) {
|
|
207
|
-
var D = G.stack.trim().match(/\n( *(at )?)/);
|
|
208
|
-
_ = D && D[1] || "";
|
|
209
|
-
}
|
|
210
|
-
return `
|
|
211
|
-
` + _ + a;
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
var U = !1, H;
|
|
215
|
-
{
|
|
216
|
-
var ae = typeof WeakMap == "function" ? WeakMap : Map;
|
|
217
|
-
H = new ae();
|
|
218
|
-
}
|
|
219
|
-
function E(a, v) {
|
|
220
|
-
if (!a || U)
|
|
221
|
-
return "";
|
|
222
|
-
{
|
|
223
|
-
var A = H.get(a);
|
|
224
|
-
if (A !== void 0)
|
|
225
|
-
return A;
|
|
226
|
-
}
|
|
227
|
-
var D;
|
|
228
|
-
U = !0;
|
|
229
|
-
var G = Error.prepareStackTrace;
|
|
230
|
-
Error.prepareStackTrace = void 0;
|
|
231
|
-
var te;
|
|
232
|
-
te = j.current, j.current = null, P();
|
|
233
|
-
try {
|
|
234
|
-
if (v) {
|
|
235
|
-
var W = function() {
|
|
236
|
-
throw Error();
|
|
237
|
-
};
|
|
238
|
-
if (Object.defineProperty(W.prototype, "props", {
|
|
239
|
-
set: function() {
|
|
240
|
-
throw Error();
|
|
241
|
-
}
|
|
242
|
-
}), typeof Reflect == "object" && Reflect.construct) {
|
|
243
|
-
try {
|
|
244
|
-
Reflect.construct(W, []);
|
|
245
|
-
} catch (Re) {
|
|
246
|
-
D = Re;
|
|
247
|
-
}
|
|
248
|
-
Reflect.construct(a, [], W);
|
|
249
|
-
} else {
|
|
250
|
-
try {
|
|
251
|
-
W.call();
|
|
252
|
-
} catch (Re) {
|
|
253
|
-
D = Re;
|
|
254
|
-
}
|
|
255
|
-
a.call(W.prototype);
|
|
256
|
-
}
|
|
257
|
-
} else {
|
|
258
|
-
try {
|
|
259
|
-
throw Error();
|
|
260
|
-
} catch (Re) {
|
|
261
|
-
D = Re;
|
|
262
|
-
}
|
|
263
|
-
a();
|
|
264
|
-
}
|
|
265
|
-
} catch (Re) {
|
|
266
|
-
if (Re && D && typeof Re.stack == "string") {
|
|
267
|
-
for (var Y = Re.stack.split(`
|
|
268
|
-
`), le = D.stack.split(`
|
|
269
|
-
`), ne = Y.length - 1, se = le.length - 1; ne >= 1 && se >= 0 && Y[ne] !== le[se]; )
|
|
270
|
-
se--;
|
|
271
|
-
for (; ne >= 1 && se >= 0; ne--, se--)
|
|
272
|
-
if (Y[ne] !== le[se]) {
|
|
273
|
-
if (ne !== 1 || se !== 1)
|
|
274
|
-
do
|
|
275
|
-
if (ne--, se--, se < 0 || Y[ne] !== le[se]) {
|
|
276
|
-
var ye = `
|
|
277
|
-
` + Y[ne].replace(" at new ", " at ");
|
|
278
|
-
return a.displayName && ye.includes("<anonymous>") && (ye = ye.replace("<anonymous>", a.displayName)), typeof a == "function" && H.set(a, ye), ye;
|
|
279
|
-
}
|
|
280
|
-
while (ne >= 1 && se >= 0);
|
|
281
|
-
break;
|
|
282
|
-
}
|
|
283
|
-
}
|
|
284
|
-
} finally {
|
|
285
|
-
U = !1, j.current = te, L(), Error.prepareStackTrace = G;
|
|
286
|
-
}
|
|
287
|
-
var qe = a ? a.displayName || a.name : "", Er = qe ? M(qe) : "";
|
|
288
|
-
return typeof a == "function" && H.set(a, Er), Er;
|
|
289
|
-
}
|
|
290
|
-
function ue(a, v, A) {
|
|
291
|
-
return E(a, !1);
|
|
292
|
-
}
|
|
293
|
-
function ke(a) {
|
|
294
|
-
var v = a.prototype;
|
|
295
|
-
return !!(v && v.isReactComponent);
|
|
296
|
-
}
|
|
297
|
-
function Ae(a, v, A) {
|
|
298
|
-
if (a == null)
|
|
299
|
-
return "";
|
|
300
|
-
if (typeof a == "function")
|
|
301
|
-
return E(a, ke(a));
|
|
302
|
-
if (typeof a == "string")
|
|
303
|
-
return M(a);
|
|
304
|
-
switch (a) {
|
|
305
|
-
case f:
|
|
306
|
-
return M("Suspense");
|
|
307
|
-
case l:
|
|
308
|
-
return M("SuspenseList");
|
|
309
|
-
}
|
|
310
|
-
if (typeof a == "object")
|
|
311
|
-
switch (a.$$typeof) {
|
|
312
|
-
case u:
|
|
313
|
-
return ue(a.render);
|
|
314
|
-
case d:
|
|
315
|
-
return Ae(a.type, v, A);
|
|
316
|
-
case h: {
|
|
317
|
-
var D = a, G = D._payload, te = D._init;
|
|
318
|
-
try {
|
|
319
|
-
return Ae(te(G), v, A);
|
|
320
|
-
} catch {
|
|
321
|
-
}
|
|
322
|
-
}
|
|
323
|
-
}
|
|
324
|
-
return "";
|
|
325
|
-
}
|
|
326
|
-
var Me = Object.prototype.hasOwnProperty, rt = {}, gt = T.ReactDebugCurrentFrame;
|
|
327
|
-
function Ve(a) {
|
|
328
|
-
if (a) {
|
|
329
|
-
var v = a._owner, A = Ae(a.type, a._source, v ? v.type : null);
|
|
330
|
-
gt.setExtraStackFrame(A);
|
|
331
|
-
} else
|
|
332
|
-
gt.setExtraStackFrame(null);
|
|
333
|
-
}
|
|
334
|
-
function Oe(a, v, A, D, G) {
|
|
335
|
-
{
|
|
336
|
-
var te = Function.call.bind(Me);
|
|
337
|
-
for (var W in a)
|
|
338
|
-
if (te(a, W)) {
|
|
339
|
-
var Y = void 0;
|
|
340
|
-
try {
|
|
341
|
-
if (typeof a[W] != "function") {
|
|
342
|
-
var le = Error((D || "React class") + ": " + A + " type `" + W + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[W] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
343
|
-
throw le.name = "Invariant Violation", le;
|
|
344
|
-
}
|
|
345
|
-
Y = a[W](v, W, D, A, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
346
|
-
} catch (ne) {
|
|
347
|
-
Y = ne;
|
|
348
|
-
}
|
|
349
|
-
Y && !(Y instanceof Error) && (Ve(G), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", D || "React class", A, W, typeof Y), Ve(null)), Y instanceof Error && !(Y.message in rt) && (rt[Y.message] = !0, Ve(G), x("Failed %s type: %s", A, Y.message), Ve(null));
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
var We = Array.isArray;
|
|
354
|
-
function Je(a) {
|
|
355
|
-
return We(a);
|
|
356
|
-
}
|
|
357
|
-
function bt(a) {
|
|
358
|
-
{
|
|
359
|
-
var v = typeof Symbol == "function" && Symbol.toStringTag, A = v && a[Symbol.toStringTag] || a.constructor.name || "Object";
|
|
360
|
-
return A;
|
|
361
|
-
}
|
|
362
|
-
}
|
|
363
|
-
function nt(a) {
|
|
364
|
-
try {
|
|
365
|
-
return ot(a), !1;
|
|
366
|
-
} catch {
|
|
367
|
-
return !0;
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
function ot(a) {
|
|
371
|
-
return "" + a;
|
|
372
|
-
}
|
|
373
|
-
function it(a) {
|
|
374
|
-
if (nt(a))
|
|
375
|
-
return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", bt(a)), ot(a);
|
|
376
|
-
}
|
|
377
|
-
var Pe = T.ReactCurrentOwner, wt = {
|
|
378
|
-
key: !0,
|
|
379
|
-
ref: !0,
|
|
380
|
-
__self: !0,
|
|
381
|
-
__source: !0
|
|
382
|
-
}, vr, mr, jt;
|
|
383
|
-
jt = {};
|
|
384
|
-
function Bn(a) {
|
|
385
|
-
if (Me.call(a, "ref")) {
|
|
386
|
-
var v = Object.getOwnPropertyDescriptor(a, "ref").get;
|
|
387
|
-
if (v && v.isReactWarning)
|
|
388
|
-
return !1;
|
|
389
|
-
}
|
|
390
|
-
return a.ref !== void 0;
|
|
391
|
-
}
|
|
392
|
-
function Fn(a) {
|
|
393
|
-
if (Me.call(a, "key")) {
|
|
394
|
-
var v = Object.getOwnPropertyDescriptor(a, "key").get;
|
|
395
|
-
if (v && v.isReactWarning)
|
|
396
|
-
return !1;
|
|
397
|
-
}
|
|
398
|
-
return a.key !== void 0;
|
|
399
|
-
}
|
|
400
|
-
function In(a, v) {
|
|
401
|
-
if (typeof a.ref == "string" && Pe.current && v && Pe.current.stateNode !== v) {
|
|
402
|
-
var A = V(Pe.current.type);
|
|
403
|
-
jt[A] || (x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(Pe.current.type), a.ref), jt[A] = !0);
|
|
404
|
-
}
|
|
405
|
-
}
|
|
406
|
-
function Ln(a, v) {
|
|
407
|
-
{
|
|
408
|
-
var A = function() {
|
|
409
|
-
vr || (vr = !0, x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
|
|
410
|
-
};
|
|
411
|
-
A.isReactWarning = !0, Object.defineProperty(a, "key", {
|
|
412
|
-
get: A,
|
|
413
|
-
configurable: !0
|
|
414
|
-
});
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
function Hn(a, v) {
|
|
418
|
-
{
|
|
419
|
-
var A = function() {
|
|
420
|
-
mr || (mr = !0, x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", v));
|
|
421
|
-
};
|
|
422
|
-
A.isReactWarning = !0, Object.defineProperty(a, "ref", {
|
|
423
|
-
get: A,
|
|
424
|
-
configurable: !0
|
|
425
|
-
});
|
|
426
|
-
}
|
|
427
|
-
}
|
|
428
|
-
var Nn = function(a, v, A, D, G, te, W) {
|
|
429
|
-
var Y = {
|
|
430
|
-
// This tag allows us to uniquely identify this as a React Element
|
|
431
|
-
$$typeof: t,
|
|
432
|
-
// Built-in properties that belong on the element
|
|
433
|
-
type: a,
|
|
434
|
-
key: v,
|
|
435
|
-
ref: A,
|
|
436
|
-
props: W,
|
|
437
|
-
// Record the component responsible for creating this element.
|
|
438
|
-
_owner: te
|
|
439
|
-
};
|
|
440
|
-
return Y._store = {}, Object.defineProperty(Y._store, "validated", {
|
|
441
|
-
configurable: !1,
|
|
442
|
-
enumerable: !1,
|
|
443
|
-
writable: !0,
|
|
444
|
-
value: !1
|
|
445
|
-
}), Object.defineProperty(Y, "_self", {
|
|
446
|
-
configurable: !1,
|
|
447
|
-
enumerable: !1,
|
|
448
|
-
writable: !1,
|
|
449
|
-
value: D
|
|
450
|
-
}), Object.defineProperty(Y, "_source", {
|
|
451
|
-
configurable: !1,
|
|
452
|
-
enumerable: !1,
|
|
453
|
-
writable: !1,
|
|
454
|
-
value: G
|
|
455
|
-
}), Object.freeze && (Object.freeze(Y.props), Object.freeze(Y)), Y;
|
|
456
|
-
};
|
|
457
|
-
function Un(a, v, A, D, G) {
|
|
458
|
-
{
|
|
459
|
-
var te, W = {}, Y = null, le = null;
|
|
460
|
-
A !== void 0 && (it(A), Y = "" + A), Fn(v) && (it(v.key), Y = "" + v.key), Bn(v) && (le = v.ref, In(v, G));
|
|
461
|
-
for (te in v)
|
|
462
|
-
Me.call(v, te) && !wt.hasOwnProperty(te) && (W[te] = v[te]);
|
|
463
|
-
if (a && a.defaultProps) {
|
|
464
|
-
var ne = a.defaultProps;
|
|
465
|
-
for (te in ne)
|
|
466
|
-
W[te] === void 0 && (W[te] = ne[te]);
|
|
467
|
-
}
|
|
468
|
-
if (Y || le) {
|
|
469
|
-
var se = typeof a == "function" ? a.displayName || a.name || "Unknown" : a;
|
|
470
|
-
Y && Ln(W, se), le && Hn(W, se);
|
|
471
|
-
}
|
|
472
|
-
return Nn(a, Y, le, G, D, Pe.current, W);
|
|
473
|
-
}
|
|
474
|
-
}
|
|
475
|
-
var Dt = T.ReactCurrentOwner, hr = T.ReactDebugCurrentFrame;
|
|
476
|
-
function Ge(a) {
|
|
477
|
-
if (a) {
|
|
478
|
-
var v = a._owner, A = Ae(a.type, a._source, v ? v.type : null);
|
|
479
|
-
hr.setExtraStackFrame(A);
|
|
480
|
-
} else
|
|
481
|
-
hr.setExtraStackFrame(null);
|
|
482
|
-
}
|
|
483
|
-
var _t;
|
|
484
|
-
_t = !1;
|
|
485
|
-
function Mt(a) {
|
|
486
|
-
return typeof a == "object" && a !== null && a.$$typeof === t;
|
|
487
|
-
}
|
|
488
|
-
function yr() {
|
|
489
|
-
{
|
|
490
|
-
if (Dt.current) {
|
|
491
|
-
var a = V(Dt.current.type);
|
|
492
|
-
if (a)
|
|
493
|
-
return `
|
|
494
|
-
|
|
495
|
-
Check the render method of \`` + a + "`.";
|
|
496
|
-
}
|
|
497
|
-
return "";
|
|
498
|
-
}
|
|
499
|
-
}
|
|
500
|
-
function Yn(a) {
|
|
501
|
-
{
|
|
502
|
-
if (a !== void 0) {
|
|
503
|
-
var v = a.fileName.replace(/^.*[\\\/]/, ""), A = a.lineNumber;
|
|
504
|
-
return `
|
|
505
|
-
|
|
506
|
-
Check your code at ` + v + ":" + A + ".";
|
|
507
|
-
}
|
|
508
|
-
return "";
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
var gr = {};
|
|
512
|
-
function Vn(a) {
|
|
513
|
-
{
|
|
514
|
-
var v = yr();
|
|
515
|
-
if (!v) {
|
|
516
|
-
var A = typeof a == "string" ? a : a.displayName || a.name;
|
|
517
|
-
A && (v = `
|
|
518
|
-
|
|
519
|
-
Check the top-level render call using <` + A + ">.");
|
|
520
|
-
}
|
|
521
|
-
return v;
|
|
522
|
-
}
|
|
523
|
-
}
|
|
524
|
-
function br(a, v) {
|
|
525
|
-
{
|
|
526
|
-
if (!a._store || a._store.validated || a.key != null)
|
|
527
|
-
return;
|
|
528
|
-
a._store.validated = !0;
|
|
529
|
-
var A = Vn(v);
|
|
530
|
-
if (gr[A])
|
|
531
|
-
return;
|
|
532
|
-
gr[A] = !0;
|
|
533
|
-
var D = "";
|
|
534
|
-
a && a._owner && a._owner !== Dt.current && (D = " It was passed a child from " + V(a._owner.type) + "."), Ge(a), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', A, D), Ge(null);
|
|
535
|
-
}
|
|
536
|
-
}
|
|
537
|
-
function wr(a, v) {
|
|
538
|
-
{
|
|
539
|
-
if (typeof a != "object")
|
|
540
|
-
return;
|
|
541
|
-
if (Je(a))
|
|
542
|
-
for (var A = 0; A < a.length; A++) {
|
|
543
|
-
var D = a[A];
|
|
544
|
-
Mt(D) && br(D, v);
|
|
545
|
-
}
|
|
546
|
-
else if (Mt(a))
|
|
547
|
-
a._store && (a._store.validated = !0);
|
|
548
|
-
else if (a) {
|
|
549
|
-
var G = y(a);
|
|
550
|
-
if (typeof G == "function" && G !== a.entries)
|
|
551
|
-
for (var te = G.call(a), W; !(W = te.next()).done; )
|
|
552
|
-
Mt(W.value) && br(W.value, v);
|
|
553
|
-
}
|
|
554
|
-
}
|
|
555
|
-
}
|
|
556
|
-
function Wn(a) {
|
|
557
|
-
{
|
|
558
|
-
var v = a.type;
|
|
559
|
-
if (v == null || typeof v == "string")
|
|
560
|
-
return;
|
|
561
|
-
var A;
|
|
562
|
-
if (typeof v == "function")
|
|
563
|
-
A = v.propTypes;
|
|
564
|
-
else if (typeof v == "object" && (v.$$typeof === u || // Note: Memo only checks outer props here.
|
|
565
|
-
// Inner props are checked in the reconciler.
|
|
566
|
-
v.$$typeof === d))
|
|
567
|
-
A = v.propTypes;
|
|
568
|
-
else
|
|
569
|
-
return;
|
|
570
|
-
if (A) {
|
|
571
|
-
var D = V(v);
|
|
572
|
-
Oe(A, a.props, "prop", D, a);
|
|
573
|
-
} else if (v.PropTypes !== void 0 && !_t) {
|
|
574
|
-
_t = !0;
|
|
575
|
-
var G = V(v);
|
|
576
|
-
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", G || "Unknown");
|
|
577
|
-
}
|
|
578
|
-
typeof v.getDefaultProps == "function" && !v.getDefaultProps.isReactClassApproved && x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
579
|
-
}
|
|
580
|
-
}
|
|
581
|
-
function Jn(a) {
|
|
582
|
-
{
|
|
583
|
-
for (var v = Object.keys(a.props), A = 0; A < v.length; A++) {
|
|
584
|
-
var D = v[A];
|
|
585
|
-
if (D !== "children" && D !== "key") {
|
|
586
|
-
Ge(a), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", D), Ge(null);
|
|
587
|
-
break;
|
|
588
|
-
}
|
|
589
|
-
}
|
|
590
|
-
a.ref !== null && (Ge(a), x("Invalid attribute `ref` supplied to `React.Fragment`."), Ge(null));
|
|
591
|
-
}
|
|
592
|
-
}
|
|
593
|
-
function xr(a, v, A, D, G, te) {
|
|
594
|
-
{
|
|
595
|
-
var W = J(a);
|
|
596
|
-
if (!W) {
|
|
597
|
-
var Y = "";
|
|
598
|
-
(a === void 0 || typeof a == "object" && a !== null && Object.keys(a).length === 0) && (Y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
599
|
-
var le = Yn(G);
|
|
600
|
-
le ? Y += le : Y += yr();
|
|
601
|
-
var ne;
|
|
602
|
-
a === null ? ne = "null" : Je(a) ? ne = "array" : a !== void 0 && a.$$typeof === t ? (ne = "<" + (V(a.type) || "Unknown") + " />", Y = " Did you accidentally export a JSX literal instead of a component?") : ne = typeof a, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ne, Y);
|
|
603
|
-
}
|
|
604
|
-
var se = Un(a, v, A, G, te);
|
|
605
|
-
if (se == null)
|
|
606
|
-
return se;
|
|
607
|
-
if (W) {
|
|
608
|
-
var ye = v.children;
|
|
609
|
-
if (ye !== void 0)
|
|
610
|
-
if (D)
|
|
611
|
-
if (Je(ye)) {
|
|
612
|
-
for (var qe = 0; qe < ye.length; qe++)
|
|
613
|
-
wr(ye[qe], a);
|
|
614
|
-
Object.freeze && Object.freeze(ye);
|
|
615
|
-
} else
|
|
616
|
-
x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
617
|
-
else
|
|
618
|
-
wr(ye, a);
|
|
619
|
-
}
|
|
620
|
-
return a === n ? Jn(se) : Wn(se), se;
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
function Gn(a, v, A) {
|
|
624
|
-
return xr(a, v, A, !0);
|
|
625
|
-
}
|
|
626
|
-
function qn(a, v, A) {
|
|
627
|
-
return xr(a, v, A, !1);
|
|
628
|
-
}
|
|
629
|
-
var zn = qn, Kn = Gn;
|
|
630
|
-
st.Fragment = n, st.jsx = zn, st.jsxs = Kn;
|
|
631
|
-
}()), st;
|
|
632
|
-
}
|
|
633
|
-
process.env.NODE_ENV === "production" ? Vt.exports = Xn() : Vt.exports = Zn();
|
|
634
|
-
var k = Vt.exports;
|
|
635
|
-
const eo = "_button_qg5kh_1", to = {
|
|
636
|
-
button: eo
|
|
637
|
-
};
|
|
638
|
-
function Wa(e) {
|
|
639
|
-
return /* @__PURE__ */ k.jsx("button", { className: to.button, children: "TEST" });
|
|
640
|
-
}
|
|
641
|
-
const ro = "_archive_doicitation_5woyi_1", no = "_doi_badge_5woyi_8", oo = "_doi_left_5woyi_12", io = "_doi_right_5woyi_28", xt = {
|
|
642
|
-
archive_doicitation: ro,
|
|
643
|
-
doi_badge: no,
|
|
644
|
-
doi_left: oo,
|
|
645
|
-
doi_right: io
|
|
646
|
-
};
|
|
647
|
-
function Ja(e) {
|
|
648
|
-
return /* @__PURE__ */ k.jsx("div", { className: xt.archive_doicitation, children: /* @__PURE__ */ k.jsxs("span", { className: xt.doi_badge, children: [
|
|
649
|
-
/* @__PURE__ */ k.jsx("span", { className: xt.doi_left, children: "DOI" }),
|
|
650
|
-
/* @__PURE__ */ k.jsx(
|
|
651
|
-
"a",
|
|
652
|
-
{
|
|
653
|
-
href: `https://doi.org/10.24435/materialscloud:${e.doi_id}`,
|
|
654
|
-
className: xt.doi_right,
|
|
655
|
-
target: "_blank",
|
|
656
|
-
children: `10.24435/materialscloud:${e.doi_id}`
|
|
657
|
-
}
|
|
658
|
-
)
|
|
659
|
-
] }) });
|
|
660
|
-
}
|
|
661
|
-
function Wt(e, t) {
|
|
662
|
-
if (e.contains)
|
|
663
|
-
return e.contains(t);
|
|
664
|
-
if (e.compareDocumentPosition)
|
|
665
|
-
return e === t || !!(e.compareDocumentPosition(t) & 16);
|
|
666
|
-
}
|
|
667
|
-
var Jt = { exports: {} }, Et = { exports: {} }, K = {};
|
|
668
|
-
/** @license React v16.13.1
|
|
669
|
-
* react-is.production.min.js
|
|
670
|
-
*
|
|
671
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
672
|
-
*
|
|
673
|
-
* This source code is licensed under the MIT license found in the
|
|
674
|
-
* LICENSE file in the root directory of this source tree.
|
|
675
|
-
*/
|
|
676
|
-
var Rr;
|
|
677
|
-
function ao() {
|
|
678
|
-
if (Rr)
|
|
679
|
-
return K;
|
|
680
|
-
Rr = 1;
|
|
681
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
|
|
682
|
-
function C(p) {
|
|
683
|
-
if (typeof p == "object" && p !== null) {
|
|
684
|
-
var S = p.$$typeof;
|
|
685
|
-
switch (S) {
|
|
686
|
-
case t:
|
|
687
|
-
switch (p = p.type, p) {
|
|
688
|
-
case u:
|
|
689
|
-
case f:
|
|
690
|
-
case n:
|
|
691
|
-
case i:
|
|
692
|
-
case o:
|
|
693
|
-
case d:
|
|
694
|
-
return p;
|
|
695
|
-
default:
|
|
696
|
-
switch (p = p && p.$$typeof, p) {
|
|
697
|
-
case c:
|
|
698
|
-
case l:
|
|
699
|
-
case b:
|
|
700
|
-
case g:
|
|
701
|
-
case s:
|
|
702
|
-
return p;
|
|
703
|
-
default:
|
|
704
|
-
return S;
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
case r:
|
|
708
|
-
return S;
|
|
709
|
-
}
|
|
710
|
-
}
|
|
711
|
-
}
|
|
712
|
-
function R(p) {
|
|
713
|
-
return C(p) === f;
|
|
714
|
-
}
|
|
715
|
-
return K.AsyncMode = u, K.ConcurrentMode = f, K.ContextConsumer = c, K.ContextProvider = s, K.Element = t, K.ForwardRef = l, K.Fragment = n, K.Lazy = b, K.Memo = g, K.Portal = r, K.Profiler = i, K.StrictMode = o, K.Suspense = d, K.isAsyncMode = function(p) {
|
|
716
|
-
return R(p) || C(p) === u;
|
|
717
|
-
}, K.isConcurrentMode = R, K.isContextConsumer = function(p) {
|
|
718
|
-
return C(p) === c;
|
|
719
|
-
}, K.isContextProvider = function(p) {
|
|
720
|
-
return C(p) === s;
|
|
721
|
-
}, K.isElement = function(p) {
|
|
722
|
-
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
723
|
-
}, K.isForwardRef = function(p) {
|
|
724
|
-
return C(p) === l;
|
|
725
|
-
}, K.isFragment = function(p) {
|
|
726
|
-
return C(p) === n;
|
|
727
|
-
}, K.isLazy = function(p) {
|
|
728
|
-
return C(p) === b;
|
|
729
|
-
}, K.isMemo = function(p) {
|
|
730
|
-
return C(p) === g;
|
|
731
|
-
}, K.isPortal = function(p) {
|
|
732
|
-
return C(p) === r;
|
|
733
|
-
}, K.isProfiler = function(p) {
|
|
734
|
-
return C(p) === i;
|
|
735
|
-
}, K.isStrictMode = function(p) {
|
|
736
|
-
return C(p) === o;
|
|
737
|
-
}, K.isSuspense = function(p) {
|
|
738
|
-
return C(p) === d;
|
|
739
|
-
}, K.isValidElementType = function(p) {
|
|
740
|
-
return typeof p == "string" || typeof p == "function" || p === n || p === f || p === i || p === o || p === d || p === h || typeof p == "object" && p !== null && (p.$$typeof === b || p.$$typeof === g || p.$$typeof === s || p.$$typeof === c || p.$$typeof === l || p.$$typeof === y || p.$$typeof === T || p.$$typeof === x || p.$$typeof === w);
|
|
741
|
-
}, K.typeOf = C, K;
|
|
742
|
-
}
|
|
743
|
-
var $ = {};
|
|
744
|
-
/** @license React v16.13.1
|
|
745
|
-
* react-is.development.js
|
|
746
|
-
*
|
|
747
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
748
|
-
*
|
|
749
|
-
* This source code is licensed under the MIT license found in the
|
|
750
|
-
* LICENSE file in the root directory of this source tree.
|
|
751
|
-
*/
|
|
752
|
-
var Tr;
|
|
753
|
-
function so() {
|
|
754
|
-
return Tr || (Tr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
755
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, c = e ? Symbol.for("react.context") : 60110, u = e ? Symbol.for("react.async_mode") : 60111, f = e ? Symbol.for("react.concurrent_mode") : 60111, l = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, b = e ? Symbol.for("react.lazy") : 60116, w = e ? Symbol.for("react.block") : 60121, y = e ? Symbol.for("react.fundamental") : 60117, T = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
|
|
756
|
-
function C(E) {
|
|
757
|
-
return typeof E == "string" || typeof E == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
758
|
-
E === n || E === f || E === i || E === o || E === d || E === h || typeof E == "object" && E !== null && (E.$$typeof === b || E.$$typeof === g || E.$$typeof === s || E.$$typeof === c || E.$$typeof === l || E.$$typeof === y || E.$$typeof === T || E.$$typeof === x || E.$$typeof === w);
|
|
759
|
-
}
|
|
760
|
-
function R(E) {
|
|
761
|
-
if (typeof E == "object" && E !== null) {
|
|
762
|
-
var ue = E.$$typeof;
|
|
763
|
-
switch (ue) {
|
|
764
|
-
case t:
|
|
765
|
-
var ke = E.type;
|
|
766
|
-
switch (ke) {
|
|
767
|
-
case u:
|
|
768
|
-
case f:
|
|
769
|
-
case n:
|
|
770
|
-
case i:
|
|
771
|
-
case o:
|
|
772
|
-
case d:
|
|
773
|
-
return ke;
|
|
774
|
-
default:
|
|
775
|
-
var Ae = ke && ke.$$typeof;
|
|
776
|
-
switch (Ae) {
|
|
777
|
-
case c:
|
|
778
|
-
case l:
|
|
779
|
-
case b:
|
|
780
|
-
case g:
|
|
781
|
-
case s:
|
|
782
|
-
return Ae;
|
|
783
|
-
default:
|
|
784
|
-
return ue;
|
|
785
|
-
}
|
|
786
|
-
}
|
|
787
|
-
case r:
|
|
788
|
-
return ue;
|
|
789
|
-
}
|
|
790
|
-
}
|
|
791
|
-
}
|
|
792
|
-
var p = u, S = f, I = c, q = s, Q = t, J = l, Z = n, ie = b, V = g, z = r, X = i, ee = o, re = d, he = !1;
|
|
793
|
-
function fe(E) {
|
|
794
|
-
return he || (he = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), m(E) || R(E) === u;
|
|
795
|
-
}
|
|
796
|
-
function m(E) {
|
|
797
|
-
return R(E) === f;
|
|
798
|
-
}
|
|
799
|
-
function O(E) {
|
|
800
|
-
return R(E) === c;
|
|
801
|
-
}
|
|
802
|
-
function B(E) {
|
|
803
|
-
return R(E) === s;
|
|
804
|
-
}
|
|
805
|
-
function F(E) {
|
|
806
|
-
return typeof E == "object" && E !== null && E.$$typeof === t;
|
|
807
|
-
}
|
|
808
|
-
function P(E) {
|
|
809
|
-
return R(E) === l;
|
|
810
|
-
}
|
|
811
|
-
function L(E) {
|
|
812
|
-
return R(E) === n;
|
|
813
|
-
}
|
|
814
|
-
function j(E) {
|
|
815
|
-
return R(E) === b;
|
|
816
|
-
}
|
|
817
|
-
function _(E) {
|
|
818
|
-
return R(E) === g;
|
|
819
|
-
}
|
|
820
|
-
function M(E) {
|
|
821
|
-
return R(E) === r;
|
|
822
|
-
}
|
|
823
|
-
function U(E) {
|
|
824
|
-
return R(E) === i;
|
|
825
|
-
}
|
|
826
|
-
function H(E) {
|
|
827
|
-
return R(E) === o;
|
|
828
|
-
}
|
|
829
|
-
function ae(E) {
|
|
830
|
-
return R(E) === d;
|
|
831
|
-
}
|
|
832
|
-
$.AsyncMode = p, $.ConcurrentMode = S, $.ContextConsumer = I, $.ContextProvider = q, $.Element = Q, $.ForwardRef = J, $.Fragment = Z, $.Lazy = ie, $.Memo = V, $.Portal = z, $.Profiler = X, $.StrictMode = ee, $.Suspense = re, $.isAsyncMode = fe, $.isConcurrentMode = m, $.isContextConsumer = O, $.isContextProvider = B, $.isElement = F, $.isForwardRef = P, $.isFragment = L, $.isLazy = j, $.isMemo = _, $.isPortal = M, $.isProfiler = U, $.isStrictMode = H, $.isSuspense = ae, $.isValidElementType = C, $.typeOf = R;
|
|
833
|
-
}()), $;
|
|
834
|
-
}
|
|
835
|
-
var Cr;
|
|
836
|
-
function tn() {
|
|
837
|
-
return Cr || (Cr = 1, process.env.NODE_ENV === "production" ? Et.exports = ao() : Et.exports = so()), Et.exports;
|
|
838
|
-
}
|
|
839
|
-
/*
|
|
840
|
-
object-assign
|
|
841
|
-
(c) Sindre Sorhus
|
|
842
|
-
@license MIT
|
|
843
|
-
*/
|
|
844
|
-
var Bt, Sr;
|
|
845
|
-
function co() {
|
|
846
|
-
if (Sr)
|
|
847
|
-
return Bt;
|
|
848
|
-
Sr = 1;
|
|
849
|
-
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
|
|
850
|
-
function n(i) {
|
|
851
|
-
if (i == null)
|
|
852
|
-
throw new TypeError("Object.assign cannot be called with null or undefined");
|
|
853
|
-
return Object(i);
|
|
854
|
-
}
|
|
855
|
-
function o() {
|
|
856
|
-
try {
|
|
857
|
-
if (!Object.assign)
|
|
858
|
-
return !1;
|
|
859
|
-
var i = new String("abc");
|
|
860
|
-
if (i[5] = "de", Object.getOwnPropertyNames(i)[0] === "5")
|
|
861
|
-
return !1;
|
|
862
|
-
for (var s = {}, c = 0; c < 10; c++)
|
|
863
|
-
s["_" + String.fromCharCode(c)] = c;
|
|
864
|
-
var u = Object.getOwnPropertyNames(s).map(function(l) {
|
|
865
|
-
return s[l];
|
|
866
|
-
});
|
|
867
|
-
if (u.join("") !== "0123456789")
|
|
868
|
-
return !1;
|
|
869
|
-
var f = {};
|
|
870
|
-
return "abcdefghijklmnopqrst".split("").forEach(function(l) {
|
|
871
|
-
f[l] = l;
|
|
872
|
-
}), Object.keys(Object.assign({}, f)).join("") === "abcdefghijklmnopqrst";
|
|
873
|
-
} catch {
|
|
874
|
-
return !1;
|
|
875
|
-
}
|
|
876
|
-
}
|
|
877
|
-
return Bt = o() ? Object.assign : function(i, s) {
|
|
878
|
-
for (var c, u = n(i), f, l = 1; l < arguments.length; l++) {
|
|
879
|
-
c = Object(arguments[l]);
|
|
880
|
-
for (var d in c)
|
|
881
|
-
t.call(c, d) && (u[d] = c[d]);
|
|
882
|
-
if (e) {
|
|
883
|
-
f = e(c);
|
|
884
|
-
for (var h = 0; h < f.length; h++)
|
|
885
|
-
r.call(c, f[h]) && (u[f[h]] = c[f[h]]);
|
|
886
|
-
}
|
|
887
|
-
}
|
|
888
|
-
return u;
|
|
889
|
-
}, Bt;
|
|
890
|
-
}
|
|
891
|
-
var Ft, kr;
|
|
892
|
-
function or() {
|
|
893
|
-
if (kr)
|
|
894
|
-
return Ft;
|
|
895
|
-
kr = 1;
|
|
896
|
-
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
897
|
-
return Ft = e, Ft;
|
|
898
|
-
}
|
|
899
|
-
var It, Pr;
|
|
900
|
-
function rn() {
|
|
901
|
-
return Pr || (Pr = 1, It = Function.call.bind(Object.prototype.hasOwnProperty)), It;
|
|
902
|
-
}
|
|
903
|
-
var Lt, jr;
|
|
904
|
-
function uo() {
|
|
905
|
-
if (jr)
|
|
906
|
-
return Lt;
|
|
907
|
-
jr = 1;
|
|
908
|
-
var e = function() {
|
|
909
|
-
};
|
|
910
|
-
if (process.env.NODE_ENV !== "production") {
|
|
911
|
-
var t = or(), r = {}, n = rn();
|
|
912
|
-
e = function(i) {
|
|
913
|
-
var s = "Warning: " + i;
|
|
914
|
-
typeof console < "u" && console.error(s);
|
|
915
|
-
try {
|
|
916
|
-
throw new Error(s);
|
|
917
|
-
} catch {
|
|
918
|
-
}
|
|
919
|
-
};
|
|
920
|
-
}
|
|
921
|
-
function o(i, s, c, u, f) {
|
|
922
|
-
if (process.env.NODE_ENV !== "production") {
|
|
923
|
-
for (var l in i)
|
|
924
|
-
if (n(i, l)) {
|
|
925
|
-
var d;
|
|
926
|
-
try {
|
|
927
|
-
if (typeof i[l] != "function") {
|
|
928
|
-
var h = Error(
|
|
929
|
-
(u || "React class") + ": " + c + " type `" + l + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[l] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
930
|
-
);
|
|
931
|
-
throw h.name = "Invariant Violation", h;
|
|
932
|
-
}
|
|
933
|
-
d = i[l](s, l, u, c, null, t);
|
|
934
|
-
} catch (b) {
|
|
935
|
-
d = b;
|
|
936
|
-
}
|
|
937
|
-
if (d && !(d instanceof Error) && e(
|
|
938
|
-
(u || "React class") + ": type specification of " + c + " `" + l + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
939
|
-
), d instanceof Error && !(d.message in r)) {
|
|
940
|
-
r[d.message] = !0;
|
|
941
|
-
var g = f ? f() : "";
|
|
942
|
-
e(
|
|
943
|
-
"Failed " + c + " type: " + d.message + (g ?? "")
|
|
944
|
-
);
|
|
945
|
-
}
|
|
946
|
-
}
|
|
947
|
-
}
|
|
948
|
-
}
|
|
949
|
-
return o.resetWarningCache = function() {
|
|
950
|
-
process.env.NODE_ENV !== "production" && (r = {});
|
|
951
|
-
}, Lt = o, Lt;
|
|
952
|
-
}
|
|
953
|
-
var Ht, Dr;
|
|
954
|
-
function lo() {
|
|
955
|
-
if (Dr)
|
|
956
|
-
return Ht;
|
|
957
|
-
Dr = 1;
|
|
958
|
-
var e = tn(), t = co(), r = or(), n = rn(), o = uo(), i = function() {
|
|
959
|
-
};
|
|
960
|
-
process.env.NODE_ENV !== "production" && (i = function(c) {
|
|
961
|
-
var u = "Warning: " + c;
|
|
962
|
-
typeof console < "u" && console.error(u);
|
|
963
|
-
try {
|
|
964
|
-
throw new Error(u);
|
|
965
|
-
} catch {
|
|
966
|
-
}
|
|
967
|
-
});
|
|
968
|
-
function s() {
|
|
969
|
-
return null;
|
|
970
|
-
}
|
|
971
|
-
return Ht = function(c, u) {
|
|
972
|
-
var f = typeof Symbol == "function" && Symbol.iterator, l = "@@iterator";
|
|
973
|
-
function d(m) {
|
|
974
|
-
var O = m && (f && m[f] || m[l]);
|
|
975
|
-
if (typeof O == "function")
|
|
976
|
-
return O;
|
|
977
|
-
}
|
|
978
|
-
var h = "<<anonymous>>", g = {
|
|
979
|
-
array: T("array"),
|
|
980
|
-
bigint: T("bigint"),
|
|
981
|
-
bool: T("boolean"),
|
|
982
|
-
func: T("function"),
|
|
983
|
-
number: T("number"),
|
|
984
|
-
object: T("object"),
|
|
985
|
-
string: T("string"),
|
|
986
|
-
symbol: T("symbol"),
|
|
987
|
-
any: x(),
|
|
988
|
-
arrayOf: C,
|
|
989
|
-
element: R(),
|
|
990
|
-
elementType: p(),
|
|
991
|
-
instanceOf: S,
|
|
992
|
-
node: J(),
|
|
993
|
-
objectOf: q,
|
|
994
|
-
oneOf: I,
|
|
995
|
-
oneOfType: Q,
|
|
996
|
-
shape: ie,
|
|
997
|
-
exact: V
|
|
998
|
-
};
|
|
999
|
-
function b(m, O) {
|
|
1000
|
-
return m === O ? m !== 0 || 1 / m === 1 / O : m !== m && O !== O;
|
|
1001
|
-
}
|
|
1002
|
-
function w(m, O) {
|
|
1003
|
-
this.message = m, this.data = O && typeof O == "object" ? O : {}, this.stack = "";
|
|
1004
|
-
}
|
|
1005
|
-
w.prototype = Error.prototype;
|
|
1006
|
-
function y(m) {
|
|
1007
|
-
if (process.env.NODE_ENV !== "production")
|
|
1008
|
-
var O = {}, B = 0;
|
|
1009
|
-
function F(L, j, _, M, U, H, ae) {
|
|
1010
|
-
if (M = M || h, H = H || _, ae !== r) {
|
|
1011
|
-
if (u) {
|
|
1012
|
-
var E = new Error(
|
|
1013
|
-
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1014
|
-
);
|
|
1015
|
-
throw E.name = "Invariant Violation", E;
|
|
1016
|
-
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1017
|
-
var ue = M + ":" + _;
|
|
1018
|
-
!O[ue] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1019
|
-
B < 3 && (i(
|
|
1020
|
-
"You are manually calling a React.PropTypes validation function for the `" + H + "` prop on `" + M + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1021
|
-
), O[ue] = !0, B++);
|
|
1022
|
-
}
|
|
1023
|
-
}
|
|
1024
|
-
return j[_] == null ? L ? j[_] === null ? new w("The " + U + " `" + H + "` is marked as required " + ("in `" + M + "`, but its value is `null`.")) : new w("The " + U + " `" + H + "` is marked as required in " + ("`" + M + "`, but its value is `undefined`.")) : null : m(j, _, M, U, H);
|
|
1025
|
-
}
|
|
1026
|
-
var P = F.bind(null, !1);
|
|
1027
|
-
return P.isRequired = F.bind(null, !0), P;
|
|
1028
|
-
}
|
|
1029
|
-
function T(m) {
|
|
1030
|
-
function O(B, F, P, L, j, _) {
|
|
1031
|
-
var M = B[F], U = ee(M);
|
|
1032
|
-
if (U !== m) {
|
|
1033
|
-
var H = re(M);
|
|
1034
|
-
return new w(
|
|
1035
|
-
"Invalid " + L + " `" + j + "` of type " + ("`" + H + "` supplied to `" + P + "`, expected ") + ("`" + m + "`."),
|
|
1036
|
-
{ expectedType: m }
|
|
1037
|
-
);
|
|
1038
|
-
}
|
|
1039
|
-
return null;
|
|
1040
|
-
}
|
|
1041
|
-
return y(O);
|
|
1042
|
-
}
|
|
1043
|
-
function x() {
|
|
1044
|
-
return y(s);
|
|
1045
|
-
}
|
|
1046
|
-
function C(m) {
|
|
1047
|
-
function O(B, F, P, L, j) {
|
|
1048
|
-
if (typeof m != "function")
|
|
1049
|
-
return new w("Property `" + j + "` of component `" + P + "` has invalid PropType notation inside arrayOf.");
|
|
1050
|
-
var _ = B[F];
|
|
1051
|
-
if (!Array.isArray(_)) {
|
|
1052
|
-
var M = ee(_);
|
|
1053
|
-
return new w("Invalid " + L + " `" + j + "` of type " + ("`" + M + "` supplied to `" + P + "`, expected an array."));
|
|
1054
|
-
}
|
|
1055
|
-
for (var U = 0; U < _.length; U++) {
|
|
1056
|
-
var H = m(_, U, P, L, j + "[" + U + "]", r);
|
|
1057
|
-
if (H instanceof Error)
|
|
1058
|
-
return H;
|
|
1059
|
-
}
|
|
1060
|
-
return null;
|
|
1061
|
-
}
|
|
1062
|
-
return y(O);
|
|
1063
|
-
}
|
|
1064
|
-
function R() {
|
|
1065
|
-
function m(O, B, F, P, L) {
|
|
1066
|
-
var j = O[B];
|
|
1067
|
-
if (!c(j)) {
|
|
1068
|
-
var _ = ee(j);
|
|
1069
|
-
return new w("Invalid " + P + " `" + L + "` of type " + ("`" + _ + "` supplied to `" + F + "`, expected a single ReactElement."));
|
|
1070
|
-
}
|
|
1071
|
-
return null;
|
|
1072
|
-
}
|
|
1073
|
-
return y(m);
|
|
1074
|
-
}
|
|
1075
|
-
function p() {
|
|
1076
|
-
function m(O, B, F, P, L) {
|
|
1077
|
-
var j = O[B];
|
|
1078
|
-
if (!e.isValidElementType(j)) {
|
|
1079
|
-
var _ = ee(j);
|
|
1080
|
-
return new w("Invalid " + P + " `" + L + "` of type " + ("`" + _ + "` supplied to `" + F + "`, expected a single ReactElement type."));
|
|
1081
|
-
}
|
|
1082
|
-
return null;
|
|
1083
|
-
}
|
|
1084
|
-
return y(m);
|
|
1085
|
-
}
|
|
1086
|
-
function S(m) {
|
|
1087
|
-
function O(B, F, P, L, j) {
|
|
1088
|
-
if (!(B[F] instanceof m)) {
|
|
1089
|
-
var _ = m.name || h, M = fe(B[F]);
|
|
1090
|
-
return new w("Invalid " + L + " `" + j + "` of type " + ("`" + M + "` supplied to `" + P + "`, expected ") + ("instance of `" + _ + "`."));
|
|
1091
|
-
}
|
|
1092
|
-
return null;
|
|
1093
|
-
}
|
|
1094
|
-
return y(O);
|
|
1095
|
-
}
|
|
1096
|
-
function I(m) {
|
|
1097
|
-
if (!Array.isArray(m))
|
|
1098
|
-
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1099
|
-
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1100
|
-
) : i("Invalid argument supplied to oneOf, expected an array.")), s;
|
|
1101
|
-
function O(B, F, P, L, j) {
|
|
1102
|
-
for (var _ = B[F], M = 0; M < m.length; M++)
|
|
1103
|
-
if (b(_, m[M]))
|
|
1104
|
-
return null;
|
|
1105
|
-
var U = JSON.stringify(m, function(ae, E) {
|
|
1106
|
-
var ue = re(E);
|
|
1107
|
-
return ue === "symbol" ? String(E) : E;
|
|
1108
|
-
});
|
|
1109
|
-
return new w("Invalid " + L + " `" + j + "` of value `" + String(_) + "` " + ("supplied to `" + P + "`, expected one of " + U + "."));
|
|
1110
|
-
}
|
|
1111
|
-
return y(O);
|
|
1112
|
-
}
|
|
1113
|
-
function q(m) {
|
|
1114
|
-
function O(B, F, P, L, j) {
|
|
1115
|
-
if (typeof m != "function")
|
|
1116
|
-
return new w("Property `" + j + "` of component `" + P + "` has invalid PropType notation inside objectOf.");
|
|
1117
|
-
var _ = B[F], M = ee(_);
|
|
1118
|
-
if (M !== "object")
|
|
1119
|
-
return new w("Invalid " + L + " `" + j + "` of type " + ("`" + M + "` supplied to `" + P + "`, expected an object."));
|
|
1120
|
-
for (var U in _)
|
|
1121
|
-
if (n(_, U)) {
|
|
1122
|
-
var H = m(_, U, P, L, j + "." + U, r);
|
|
1123
|
-
if (H instanceof Error)
|
|
1124
|
-
return H;
|
|
1125
|
-
}
|
|
1126
|
-
return null;
|
|
1127
|
-
}
|
|
1128
|
-
return y(O);
|
|
1129
|
-
}
|
|
1130
|
-
function Q(m) {
|
|
1131
|
-
if (!Array.isArray(m))
|
|
1132
|
-
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), s;
|
|
1133
|
-
for (var O = 0; O < m.length; O++) {
|
|
1134
|
-
var B = m[O];
|
|
1135
|
-
if (typeof B != "function")
|
|
1136
|
-
return i(
|
|
1137
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + he(B) + " at index " + O + "."
|
|
1138
|
-
), s;
|
|
1139
|
-
}
|
|
1140
|
-
function F(P, L, j, _, M) {
|
|
1141
|
-
for (var U = [], H = 0; H < m.length; H++) {
|
|
1142
|
-
var ae = m[H], E = ae(P, L, j, _, M, r);
|
|
1143
|
-
if (E == null)
|
|
1144
|
-
return null;
|
|
1145
|
-
E.data && n(E.data, "expectedType") && U.push(E.data.expectedType);
|
|
1146
|
-
}
|
|
1147
|
-
var ue = U.length > 0 ? ", expected one of type [" + U.join(", ") + "]" : "";
|
|
1148
|
-
return new w("Invalid " + _ + " `" + M + "` supplied to " + ("`" + j + "`" + ue + "."));
|
|
1149
|
-
}
|
|
1150
|
-
return y(F);
|
|
1151
|
-
}
|
|
1152
|
-
function J() {
|
|
1153
|
-
function m(O, B, F, P, L) {
|
|
1154
|
-
return z(O[B]) ? null : new w("Invalid " + P + " `" + L + "` supplied to " + ("`" + F + "`, expected a ReactNode."));
|
|
1155
|
-
}
|
|
1156
|
-
return y(m);
|
|
1157
|
-
}
|
|
1158
|
-
function Z(m, O, B, F, P) {
|
|
1159
|
-
return new w(
|
|
1160
|
-
(m || "React class") + ": " + O + " type `" + B + "." + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + P + "`."
|
|
1161
|
-
);
|
|
1162
|
-
}
|
|
1163
|
-
function ie(m) {
|
|
1164
|
-
function O(B, F, P, L, j) {
|
|
1165
|
-
var _ = B[F], M = ee(_);
|
|
1166
|
-
if (M !== "object")
|
|
1167
|
-
return new w("Invalid " + L + " `" + j + "` of type `" + M + "` " + ("supplied to `" + P + "`, expected `object`."));
|
|
1168
|
-
for (var U in m) {
|
|
1169
|
-
var H = m[U];
|
|
1170
|
-
if (typeof H != "function")
|
|
1171
|
-
return Z(P, L, j, U, re(H));
|
|
1172
|
-
var ae = H(_, U, P, L, j + "." + U, r);
|
|
1173
|
-
if (ae)
|
|
1174
|
-
return ae;
|
|
1175
|
-
}
|
|
1176
|
-
return null;
|
|
1177
|
-
}
|
|
1178
|
-
return y(O);
|
|
1179
|
-
}
|
|
1180
|
-
function V(m) {
|
|
1181
|
-
function O(B, F, P, L, j) {
|
|
1182
|
-
var _ = B[F], M = ee(_);
|
|
1183
|
-
if (M !== "object")
|
|
1184
|
-
return new w("Invalid " + L + " `" + j + "` of type `" + M + "` " + ("supplied to `" + P + "`, expected `object`."));
|
|
1185
|
-
var U = t({}, B[F], m);
|
|
1186
|
-
for (var H in U) {
|
|
1187
|
-
var ae = m[H];
|
|
1188
|
-
if (n(m, H) && typeof ae != "function")
|
|
1189
|
-
return Z(P, L, j, H, re(ae));
|
|
1190
|
-
if (!ae)
|
|
1191
|
-
return new w(
|
|
1192
|
-
"Invalid " + L + " `" + j + "` key `" + H + "` supplied to `" + P + "`.\nBad object: " + JSON.stringify(B[F], null, " ") + `
|
|
1193
|
-
Valid keys: ` + JSON.stringify(Object.keys(m), null, " ")
|
|
1194
|
-
);
|
|
1195
|
-
var E = ae(_, H, P, L, j + "." + H, r);
|
|
1196
|
-
if (E)
|
|
1197
|
-
return E;
|
|
1198
|
-
}
|
|
1199
|
-
return null;
|
|
1200
|
-
}
|
|
1201
|
-
return y(O);
|
|
1202
|
-
}
|
|
1203
|
-
function z(m) {
|
|
1204
|
-
switch (typeof m) {
|
|
1205
|
-
case "number":
|
|
1206
|
-
case "string":
|
|
1207
|
-
case "undefined":
|
|
1208
|
-
return !0;
|
|
1209
|
-
case "boolean":
|
|
1210
|
-
return !m;
|
|
1211
|
-
case "object":
|
|
1212
|
-
if (Array.isArray(m))
|
|
1213
|
-
return m.every(z);
|
|
1214
|
-
if (m === null || c(m))
|
|
1215
|
-
return !0;
|
|
1216
|
-
var O = d(m);
|
|
1217
|
-
if (O) {
|
|
1218
|
-
var B = O.call(m), F;
|
|
1219
|
-
if (O !== m.entries) {
|
|
1220
|
-
for (; !(F = B.next()).done; )
|
|
1221
|
-
if (!z(F.value))
|
|
1222
|
-
return !1;
|
|
1223
|
-
} else
|
|
1224
|
-
for (; !(F = B.next()).done; ) {
|
|
1225
|
-
var P = F.value;
|
|
1226
|
-
if (P && !z(P[1]))
|
|
1227
|
-
return !1;
|
|
1228
|
-
}
|
|
1229
|
-
} else
|
|
1230
|
-
return !1;
|
|
1231
|
-
return !0;
|
|
1232
|
-
default:
|
|
1233
|
-
return !1;
|
|
1234
|
-
}
|
|
1235
|
-
}
|
|
1236
|
-
function X(m, O) {
|
|
1237
|
-
return m === "symbol" ? !0 : O ? O["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && O instanceof Symbol : !1;
|
|
1238
|
-
}
|
|
1239
|
-
function ee(m) {
|
|
1240
|
-
var O = typeof m;
|
|
1241
|
-
return Array.isArray(m) ? "array" : m instanceof RegExp ? "object" : X(O, m) ? "symbol" : O;
|
|
1242
|
-
}
|
|
1243
|
-
function re(m) {
|
|
1244
|
-
if (typeof m > "u" || m === null)
|
|
1245
|
-
return "" + m;
|
|
1246
|
-
var O = ee(m);
|
|
1247
|
-
if (O === "object") {
|
|
1248
|
-
if (m instanceof Date)
|
|
1249
|
-
return "date";
|
|
1250
|
-
if (m instanceof RegExp)
|
|
1251
|
-
return "regexp";
|
|
1252
|
-
}
|
|
1253
|
-
return O;
|
|
1254
|
-
}
|
|
1255
|
-
function he(m) {
|
|
1256
|
-
var O = re(m);
|
|
1257
|
-
switch (O) {
|
|
1258
|
-
case "array":
|
|
1259
|
-
case "object":
|
|
1260
|
-
return "an " + O;
|
|
1261
|
-
case "boolean":
|
|
1262
|
-
case "date":
|
|
1263
|
-
case "regexp":
|
|
1264
|
-
return "a " + O;
|
|
1265
|
-
default:
|
|
1266
|
-
return O;
|
|
1267
|
-
}
|
|
1268
|
-
}
|
|
1269
|
-
function fe(m) {
|
|
1270
|
-
return !m.constructor || !m.constructor.name ? h : m.constructor.name;
|
|
1271
|
-
}
|
|
1272
|
-
return g.checkPropTypes = o, g.resetWarningCache = o.resetWarningCache, g.PropTypes = g, g;
|
|
1273
|
-
}, Ht;
|
|
1274
|
-
}
|
|
1275
|
-
var Nt, _r;
|
|
1276
|
-
function fo() {
|
|
1277
|
-
if (_r)
|
|
1278
|
-
return Nt;
|
|
1279
|
-
_r = 1;
|
|
1280
|
-
var e = or();
|
|
1281
|
-
function t() {
|
|
1282
|
-
}
|
|
1283
|
-
function r() {
|
|
1284
|
-
}
|
|
1285
|
-
return r.resetWarningCache = t, Nt = function() {
|
|
1286
|
-
function n(s, c, u, f, l, d) {
|
|
1287
|
-
if (d !== e) {
|
|
1288
|
-
var h = new Error(
|
|
1289
|
-
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1290
|
-
);
|
|
1291
|
-
throw h.name = "Invariant Violation", h;
|
|
1292
|
-
}
|
|
1293
|
-
}
|
|
1294
|
-
n.isRequired = n;
|
|
1295
|
-
function o() {
|
|
1296
|
-
return n;
|
|
1297
|
-
}
|
|
1298
|
-
var i = {
|
|
1299
|
-
array: n,
|
|
1300
|
-
bigint: n,
|
|
1301
|
-
bool: n,
|
|
1302
|
-
func: n,
|
|
1303
|
-
number: n,
|
|
1304
|
-
object: n,
|
|
1305
|
-
string: n,
|
|
1306
|
-
symbol: n,
|
|
1307
|
-
any: n,
|
|
1308
|
-
arrayOf: o,
|
|
1309
|
-
element: n,
|
|
1310
|
-
elementType: n,
|
|
1311
|
-
instanceOf: o,
|
|
1312
|
-
node: n,
|
|
1313
|
-
objectOf: o,
|
|
1314
|
-
oneOf: o,
|
|
1315
|
-
oneOfType: o,
|
|
1316
|
-
shape: o,
|
|
1317
|
-
exact: o,
|
|
1318
|
-
checkPropTypes: r,
|
|
1319
|
-
resetWarningCache: t
|
|
1320
|
-
};
|
|
1321
|
-
return i.PropTypes = i, i;
|
|
1322
|
-
}, Nt;
|
|
1323
|
-
}
|
|
1324
|
-
if (process.env.NODE_ENV !== "production") {
|
|
1325
|
-
var po = tn(), vo = !0;
|
|
1326
|
-
Jt.exports = lo()(po.isElement, vo);
|
|
1327
|
-
} else
|
|
1328
|
-
Jt.exports = fo()();
|
|
1329
|
-
var mo = Jt.exports;
|
|
1330
|
-
const N = /* @__PURE__ */ nr(mo);
|
|
1331
|
-
function nn() {
|
|
1332
|
-
const e = ce(!0), t = ce(() => e.current);
|
|
1333
|
-
return ge(() => (e.current = !0, () => {
|
|
1334
|
-
e.current = !1;
|
|
1335
|
-
}), []), t.current;
|
|
1336
|
-
}
|
|
1337
|
-
function ho(e) {
|
|
1338
|
-
const t = ce(e);
|
|
1339
|
-
return t.current = e, t;
|
|
1340
|
-
}
|
|
1341
|
-
function yo(e) {
|
|
1342
|
-
const t = ho(e);
|
|
1343
|
-
ge(() => () => t.current(), []);
|
|
1344
|
-
}
|
|
1345
|
-
const Gt = 2 ** 31 - 1;
|
|
1346
|
-
function on(e, t, r) {
|
|
1347
|
-
const n = r - Date.now();
|
|
1348
|
-
e.current = n <= Gt ? setTimeout(t, n) : setTimeout(() => on(e, t, r), Gt);
|
|
1349
|
-
}
|
|
1350
|
-
function go() {
|
|
1351
|
-
const e = nn(), t = ce();
|
|
1352
|
-
return yo(() => clearTimeout(t.current)), pt(() => {
|
|
1353
|
-
const r = () => clearTimeout(t.current);
|
|
1354
|
-
function n(o, i = 0) {
|
|
1355
|
-
e() && (r(), i <= Gt ? t.current = setTimeout(o, i) : on(t, o, Date.now() + i));
|
|
1356
|
-
}
|
|
1357
|
-
return {
|
|
1358
|
-
set: n,
|
|
1359
|
-
clear: r,
|
|
1360
|
-
handleRef: t
|
|
1361
|
-
};
|
|
1362
|
-
}, []);
|
|
1363
|
-
}
|
|
1364
|
-
var bo = process.env.NODE_ENV !== "production", an = function() {
|
|
1365
|
-
};
|
|
1366
|
-
if (bo) {
|
|
1367
|
-
var wo = function(t, r) {
|
|
1368
|
-
var n = arguments.length;
|
|
1369
|
-
r = new Array(n > 1 ? n - 1 : 0);
|
|
1370
|
-
for (var o = 1; o < n; o++)
|
|
1371
|
-
r[o - 1] = arguments[o];
|
|
1372
|
-
var i = 0, s = "Warning: " + t.replace(/%s/g, function() {
|
|
1373
|
-
return r[i++];
|
|
1374
|
-
});
|
|
1375
|
-
typeof console < "u" && console.error(s);
|
|
1376
|
-
try {
|
|
1377
|
-
throw new Error(s);
|
|
1378
|
-
} catch {
|
|
1379
|
-
}
|
|
1380
|
-
};
|
|
1381
|
-
an = function(e, t, r) {
|
|
1382
|
-
var n = arguments.length;
|
|
1383
|
-
r = new Array(n > 2 ? n - 2 : 0);
|
|
1384
|
-
for (var o = 2; o < n; o++)
|
|
1385
|
-
r[o - 2] = arguments[o];
|
|
1386
|
-
if (t === void 0)
|
|
1387
|
-
throw new Error(
|
|
1388
|
-
"`warning(condition, format, ...args)` requires a warning message argument"
|
|
1389
|
-
);
|
|
1390
|
-
e || wo.apply(null, [t].concat(r));
|
|
1391
|
-
};
|
|
1392
|
-
}
|
|
1393
|
-
var xo = an;
|
|
1394
|
-
const sn = /* @__PURE__ */ nr(xo);
|
|
1395
|
-
function Eo(e, t) {
|
|
1396
|
-
if (e == null)
|
|
1397
|
-
return {};
|
|
1398
|
-
var r = {}, n = Object.keys(e), o, i;
|
|
1399
|
-
for (i = 0; i < n.length; i++)
|
|
1400
|
-
o = n[i], !(t.indexOf(o) >= 0) && (r[o] = e[o]);
|
|
1401
|
-
return r;
|
|
1402
|
-
}
|
|
1403
|
-
function Ao(e, t, r) {
|
|
1404
|
-
var n = ce(e !== void 0), o = Ue(t), i = o[0], s = o[1], c = e !== void 0, u = n.current;
|
|
1405
|
-
return n.current = c, !c && u && i !== t && s(t), [c ? e : i, oe(function(f) {
|
|
1406
|
-
for (var l = arguments.length, d = new Array(l > 1 ? l - 1 : 0), h = 1; h < l; h++)
|
|
1407
|
-
d[h - 1] = arguments[h];
|
|
1408
|
-
r && r.apply(void 0, [f].concat(d)), s(f);
|
|
1409
|
-
}, [r])];
|
|
1410
|
-
}
|
|
1411
|
-
function qt(e, t) {
|
|
1412
|
-
return qt = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(n, o) {
|
|
1413
|
-
return n.__proto__ = o, n;
|
|
1414
|
-
}, qt(e, t);
|
|
1415
|
-
}
|
|
1416
|
-
function Oo(e, t) {
|
|
1417
|
-
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, qt(e, t);
|
|
1418
|
-
}
|
|
1419
|
-
const Mr = (e) => !e || typeof e == "function" ? e : (t) => {
|
|
1420
|
-
e.current = t;
|
|
1421
|
-
};
|
|
1422
|
-
function Ro(e, t) {
|
|
1423
|
-
const r = Mr(e), n = Mr(t);
|
|
1424
|
-
return (o) => {
|
|
1425
|
-
r && r(o), n && n(o);
|
|
1426
|
-
};
|
|
1427
|
-
}
|
|
1428
|
-
function tt(e, t) {
|
|
1429
|
-
return pt(() => Ro(e, t), [e, t]);
|
|
1430
|
-
}
|
|
1431
|
-
var cn = { exports: {} };
|
|
1432
|
-
/*!
|
|
1433
|
-
Copyright (c) 2018 Jed Watson.
|
|
1434
|
-
Licensed under the MIT License (MIT), see
|
|
1435
|
-
http://jedwatson.github.io/classnames
|
|
1436
|
-
*/
|
|
1437
|
-
(function(e) {
|
|
1438
|
-
(function() {
|
|
1439
|
-
var t = {}.hasOwnProperty;
|
|
1440
|
-
function r() {
|
|
1441
|
-
for (var i = "", s = 0; s < arguments.length; s++) {
|
|
1442
|
-
var c = arguments[s];
|
|
1443
|
-
c && (i = o(i, n(c)));
|
|
1444
|
-
}
|
|
1445
|
-
return i;
|
|
1446
|
-
}
|
|
1447
|
-
function n(i) {
|
|
1448
|
-
if (typeof i == "string" || typeof i == "number")
|
|
1449
|
-
return i;
|
|
1450
|
-
if (typeof i != "object")
|
|
1451
|
-
return "";
|
|
1452
|
-
if (Array.isArray(i))
|
|
1453
|
-
return r.apply(null, i);
|
|
1454
|
-
if (i.toString !== Object.prototype.toString && !i.toString.toString().includes("[native code]"))
|
|
1455
|
-
return i.toString();
|
|
1456
|
-
var s = "";
|
|
1457
|
-
for (var c in i)
|
|
1458
|
-
t.call(i, c) && i[c] && (s = o(s, c));
|
|
1459
|
-
return s;
|
|
1460
|
-
}
|
|
1461
|
-
function o(i, s) {
|
|
1462
|
-
return s ? i ? i + " " + s : i + s : i;
|
|
1463
|
-
}
|
|
1464
|
-
e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
|
|
1465
|
-
})();
|
|
1466
|
-
})(cn);
|
|
1467
|
-
var To = cn.exports;
|
|
1468
|
-
const Ye = /* @__PURE__ */ nr(To);
|
|
1469
|
-
function Br() {
|
|
1470
|
-
return Ue(null);
|
|
1471
|
-
}
|
|
1472
|
-
var Fr = Object.prototype.hasOwnProperty;
|
|
1473
|
-
function Ir(e, t, r) {
|
|
1474
|
-
for (r of e.keys())
|
|
1475
|
-
if (lt(r, t))
|
|
1476
|
-
return r;
|
|
1477
|
-
}
|
|
1478
|
-
function lt(e, t) {
|
|
1479
|
-
var r, n, o;
|
|
1480
|
-
if (e === t)
|
|
1481
|
-
return !0;
|
|
1482
|
-
if (e && t && (r = e.constructor) === t.constructor) {
|
|
1483
|
-
if (r === Date)
|
|
1484
|
-
return e.getTime() === t.getTime();
|
|
1485
|
-
if (r === RegExp)
|
|
1486
|
-
return e.toString() === t.toString();
|
|
1487
|
-
if (r === Array) {
|
|
1488
|
-
if ((n = e.length) === t.length)
|
|
1489
|
-
for (; n-- && lt(e[n], t[n]); )
|
|
1490
|
-
;
|
|
1491
|
-
return n === -1;
|
|
1492
|
-
}
|
|
1493
|
-
if (r === Set) {
|
|
1494
|
-
if (e.size !== t.size)
|
|
1495
|
-
return !1;
|
|
1496
|
-
for (n of e)
|
|
1497
|
-
if (o = n, o && typeof o == "object" && (o = Ir(t, o), !o) || !t.has(o))
|
|
1498
|
-
return !1;
|
|
1499
|
-
return !0;
|
|
1500
|
-
}
|
|
1501
|
-
if (r === Map) {
|
|
1502
|
-
if (e.size !== t.size)
|
|
1503
|
-
return !1;
|
|
1504
|
-
for (n of e)
|
|
1505
|
-
if (o = n[0], o && typeof o == "object" && (o = Ir(t, o), !o) || !lt(n[1], t.get(o)))
|
|
1506
|
-
return !1;
|
|
1507
|
-
return !0;
|
|
1508
|
-
}
|
|
1509
|
-
if (r === ArrayBuffer)
|
|
1510
|
-
e = new Uint8Array(e), t = new Uint8Array(t);
|
|
1511
|
-
else if (r === DataView) {
|
|
1512
|
-
if ((n = e.byteLength) === t.byteLength)
|
|
1513
|
-
for (; n-- && e.getInt8(n) === t.getInt8(n); )
|
|
1514
|
-
;
|
|
1515
|
-
return n === -1;
|
|
1516
|
-
}
|
|
1517
|
-
if (ArrayBuffer.isView(e)) {
|
|
1518
|
-
if ((n = e.byteLength) === t.byteLength)
|
|
1519
|
-
for (; n-- && e[n] === t[n]; )
|
|
1520
|
-
;
|
|
1521
|
-
return n === -1;
|
|
1522
|
-
}
|
|
1523
|
-
if (!r || typeof e == "object") {
|
|
1524
|
-
n = 0;
|
|
1525
|
-
for (r in e)
|
|
1526
|
-
if (Fr.call(e, r) && ++n && !Fr.call(t, r) || !(r in t) || !lt(e[r], t[r]))
|
|
1527
|
-
return !1;
|
|
1528
|
-
return Object.keys(t).length === n;
|
|
1529
|
-
}
|
|
1530
|
-
}
|
|
1531
|
-
return e !== e && t !== t;
|
|
1532
|
-
}
|
|
1533
|
-
function Co(e) {
|
|
1534
|
-
const t = nn();
|
|
1535
|
-
return [e[0], oe((r) => {
|
|
1536
|
-
if (t())
|
|
1537
|
-
return e[1](r);
|
|
1538
|
-
}, [t, e[1]])];
|
|
1539
|
-
}
|
|
1540
|
-
var de = "top", be = "bottom", we = "right", pe = "left", ir = "auto", ht = [de, be, we, pe], $e = "start", vt = "end", So = "clippingParents", un = "viewport", ct = "popper", ko = "reference", Lr = /* @__PURE__ */ ht.reduce(function(e, t) {
|
|
1541
|
-
return e.concat([t + "-" + $e, t + "-" + vt]);
|
|
1542
|
-
}, []), ln = /* @__PURE__ */ [].concat(ht, [ir]).reduce(function(e, t) {
|
|
1543
|
-
return e.concat([t, t + "-" + $e, t + "-" + vt]);
|
|
1544
|
-
}, []), Po = "beforeRead", jo = "read", Do = "afterRead", _o = "beforeMain", Mo = "main", Bo = "afterMain", Fo = "beforeWrite", Io = "write", Lo = "afterWrite", Ho = [Po, jo, Do, _o, Mo, Bo, Fo, Io, Lo];
|
|
1545
|
-
function xe(e) {
|
|
1546
|
-
return e.split("-")[0];
|
|
1547
|
-
}
|
|
1548
|
-
function me(e) {
|
|
1549
|
-
if (e == null)
|
|
1550
|
-
return window;
|
|
1551
|
-
if (e.toString() !== "[object Window]") {
|
|
1552
|
-
var t = e.ownerDocument;
|
|
1553
|
-
return t && t.defaultView || window;
|
|
1554
|
-
}
|
|
1555
|
-
return e;
|
|
1556
|
-
}
|
|
1557
|
-
function He(e) {
|
|
1558
|
-
var t = me(e).Element;
|
|
1559
|
-
return e instanceof t || e instanceof Element;
|
|
1560
|
-
}
|
|
1561
|
-
function Ee(e) {
|
|
1562
|
-
var t = me(e).HTMLElement;
|
|
1563
|
-
return e instanceof t || e instanceof HTMLElement;
|
|
1564
|
-
}
|
|
1565
|
-
function ar(e) {
|
|
1566
|
-
if (typeof ShadowRoot > "u")
|
|
1567
|
-
return !1;
|
|
1568
|
-
var t = me(e).ShadowRoot;
|
|
1569
|
-
return e instanceof t || e instanceof ShadowRoot;
|
|
1570
|
-
}
|
|
1571
|
-
var Le = Math.max, Ct = Math.min, Qe = Math.round;
|
|
1572
|
-
function zt() {
|
|
1573
|
-
var e = navigator.userAgentData;
|
|
1574
|
-
return e != null && e.brands && Array.isArray(e.brands) ? e.brands.map(function(t) {
|
|
1575
|
-
return t.brand + "/" + t.version;
|
|
1576
|
-
}).join(" ") : navigator.userAgent;
|
|
1577
|
-
}
|
|
1578
|
-
function fn() {
|
|
1579
|
-
return !/^((?!chrome|android).)*safari/i.test(zt());
|
|
1580
|
-
}
|
|
1581
|
-
function Xe(e, t, r) {
|
|
1582
|
-
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
1583
|
-
var n = e.getBoundingClientRect(), o = 1, i = 1;
|
|
1584
|
-
t && Ee(e) && (o = e.offsetWidth > 0 && Qe(n.width) / e.offsetWidth || 1, i = e.offsetHeight > 0 && Qe(n.height) / e.offsetHeight || 1);
|
|
1585
|
-
var s = He(e) ? me(e) : window, c = s.visualViewport, u = !fn() && r, f = (n.left + (u && c ? c.offsetLeft : 0)) / o, l = (n.top + (u && c ? c.offsetTop : 0)) / i, d = n.width / o, h = n.height / i;
|
|
1586
|
-
return {
|
|
1587
|
-
width: d,
|
|
1588
|
-
height: h,
|
|
1589
|
-
top: l,
|
|
1590
|
-
right: f + d,
|
|
1591
|
-
bottom: l + h,
|
|
1592
|
-
left: f,
|
|
1593
|
-
x: f,
|
|
1594
|
-
y: l
|
|
1595
|
-
};
|
|
1596
|
-
}
|
|
1597
|
-
function sr(e) {
|
|
1598
|
-
var t = Xe(e), r = e.offsetWidth, n = e.offsetHeight;
|
|
1599
|
-
return Math.abs(t.width - r) <= 1 && (r = t.width), Math.abs(t.height - n) <= 1 && (n = t.height), {
|
|
1600
|
-
x: e.offsetLeft,
|
|
1601
|
-
y: e.offsetTop,
|
|
1602
|
-
width: r,
|
|
1603
|
-
height: n
|
|
1604
|
-
};
|
|
1605
|
-
}
|
|
1606
|
-
function dn(e, t) {
|
|
1607
|
-
var r = t.getRootNode && t.getRootNode();
|
|
1608
|
-
if (e.contains(t))
|
|
1609
|
-
return !0;
|
|
1610
|
-
if (r && ar(r)) {
|
|
1611
|
-
var n = t;
|
|
1612
|
-
do {
|
|
1613
|
-
if (n && e.isSameNode(n))
|
|
1614
|
-
return !0;
|
|
1615
|
-
n = n.parentNode || n.host;
|
|
1616
|
-
} while (n);
|
|
1617
|
-
}
|
|
1618
|
-
return !1;
|
|
1619
|
-
}
|
|
1620
|
-
function De(e) {
|
|
1621
|
-
return e ? (e.nodeName || "").toLowerCase() : null;
|
|
1622
|
-
}
|
|
1623
|
-
function Ce(e) {
|
|
1624
|
-
return me(e).getComputedStyle(e);
|
|
1625
|
-
}
|
|
1626
|
-
function No(e) {
|
|
1627
|
-
return ["table", "td", "th"].indexOf(De(e)) >= 0;
|
|
1628
|
-
}
|
|
1629
|
-
function _e(e) {
|
|
1630
|
-
return ((He(e) ? e.ownerDocument : (
|
|
1631
|
-
// $FlowFixMe[prop-missing]
|
|
1632
|
-
e.document
|
|
1633
|
-
)) || window.document).documentElement;
|
|
1634
|
-
}
|
|
1635
|
-
function kt(e) {
|
|
1636
|
-
return De(e) === "html" ? e : (
|
|
1637
|
-
// this is a quicker (but less type safe) way to save quite some bytes from the bundle
|
|
1638
|
-
// $FlowFixMe[incompatible-return]
|
|
1639
|
-
// $FlowFixMe[prop-missing]
|
|
1640
|
-
e.assignedSlot || // step into the shadow DOM of the parent of a slotted node
|
|
1641
|
-
e.parentNode || // DOM Element detected
|
|
1642
|
-
(ar(e) ? e.host : null) || // ShadowRoot detected
|
|
1643
|
-
// $FlowFixMe[incompatible-call]: HTMLElement is a Node
|
|
1644
|
-
_e(e)
|
|
1645
|
-
);
|
|
1646
|
-
}
|
|
1647
|
-
function Hr(e) {
|
|
1648
|
-
return !Ee(e) || // https://github.com/popperjs/popper-core/issues/837
|
|
1649
|
-
Ce(e).position === "fixed" ? null : e.offsetParent;
|
|
1650
|
-
}
|
|
1651
|
-
function Uo(e) {
|
|
1652
|
-
var t = /firefox/i.test(zt()), r = /Trident/i.test(zt());
|
|
1653
|
-
if (r && Ee(e)) {
|
|
1654
|
-
var n = Ce(e);
|
|
1655
|
-
if (n.position === "fixed")
|
|
1656
|
-
return null;
|
|
1657
|
-
}
|
|
1658
|
-
var o = kt(e);
|
|
1659
|
-
for (ar(o) && (o = o.host); Ee(o) && ["html", "body"].indexOf(De(o)) < 0; ) {
|
|
1660
|
-
var i = Ce(o);
|
|
1661
|
-
if (i.transform !== "none" || i.perspective !== "none" || i.contain === "paint" || ["transform", "perspective"].indexOf(i.willChange) !== -1 || t && i.willChange === "filter" || t && i.filter && i.filter !== "none")
|
|
1662
|
-
return o;
|
|
1663
|
-
o = o.parentNode;
|
|
1664
|
-
}
|
|
1665
|
-
return null;
|
|
1666
|
-
}
|
|
1667
|
-
function yt(e) {
|
|
1668
|
-
for (var t = me(e), r = Hr(e); r && No(r) && Ce(r).position === "static"; )
|
|
1669
|
-
r = Hr(r);
|
|
1670
|
-
return r && (De(r) === "html" || De(r) === "body" && Ce(r).position === "static") ? t : r || Uo(e) || t;
|
|
1671
|
-
}
|
|
1672
|
-
function cr(e) {
|
|
1673
|
-
return ["top", "bottom"].indexOf(e) >= 0 ? "x" : "y";
|
|
1674
|
-
}
|
|
1675
|
-
function ft(e, t, r) {
|
|
1676
|
-
return Le(e, Ct(t, r));
|
|
1677
|
-
}
|
|
1678
|
-
function Yo(e, t, r) {
|
|
1679
|
-
var n = ft(e, t, r);
|
|
1680
|
-
return n > r ? r : n;
|
|
1681
|
-
}
|
|
1682
|
-
function pn() {
|
|
1683
|
-
return {
|
|
1684
|
-
top: 0,
|
|
1685
|
-
right: 0,
|
|
1686
|
-
bottom: 0,
|
|
1687
|
-
left: 0
|
|
1688
|
-
};
|
|
1689
|
-
}
|
|
1690
|
-
function vn(e) {
|
|
1691
|
-
return Object.assign({}, pn(), e);
|
|
1692
|
-
}
|
|
1693
|
-
function mn(e, t) {
|
|
1694
|
-
return t.reduce(function(r, n) {
|
|
1695
|
-
return r[n] = e, r;
|
|
1696
|
-
}, {});
|
|
1697
|
-
}
|
|
1698
|
-
var Vo = function(t, r) {
|
|
1699
|
-
return t = typeof t == "function" ? t(Object.assign({}, r.rects, {
|
|
1700
|
-
placement: r.placement
|
|
1701
|
-
})) : t, vn(typeof t != "number" ? t : mn(t, ht));
|
|
1702
|
-
};
|
|
1703
|
-
function Wo(e) {
|
|
1704
|
-
var t, r = e.state, n = e.name, o = e.options, i = r.elements.arrow, s = r.modifiersData.popperOffsets, c = xe(r.placement), u = cr(c), f = [pe, we].indexOf(c) >= 0, l = f ? "height" : "width";
|
|
1705
|
-
if (!(!i || !s)) {
|
|
1706
|
-
var d = Vo(o.padding, r), h = sr(i), g = u === "y" ? de : pe, b = u === "y" ? be : we, w = r.rects.reference[l] + r.rects.reference[u] - s[u] - r.rects.popper[l], y = s[u] - r.rects.reference[u], T = yt(i), x = T ? u === "y" ? T.clientHeight || 0 : T.clientWidth || 0 : 0, C = w / 2 - y / 2, R = d[g], p = x - h[l] - d[b], S = x / 2 - h[l] / 2 + C, I = ft(R, S, p), q = u;
|
|
1707
|
-
r.modifiersData[n] = (t = {}, t[q] = I, t.centerOffset = I - S, t);
|
|
1708
|
-
}
|
|
1709
|
-
}
|
|
1710
|
-
function Jo(e) {
|
|
1711
|
-
var t = e.state, r = e.options, n = r.element, o = n === void 0 ? "[data-popper-arrow]" : n;
|
|
1712
|
-
o != null && (typeof o == "string" && (o = t.elements.popper.querySelector(o), !o) || dn(t.elements.popper, o) && (t.elements.arrow = o));
|
|
1713
|
-
}
|
|
1714
|
-
const Go = {
|
|
1715
|
-
name: "arrow",
|
|
1716
|
-
enabled: !0,
|
|
1717
|
-
phase: "main",
|
|
1718
|
-
fn: Wo,
|
|
1719
|
-
effect: Jo,
|
|
1720
|
-
requires: ["popperOffsets"],
|
|
1721
|
-
requiresIfExists: ["preventOverflow"]
|
|
1722
|
-
};
|
|
1723
|
-
function Ze(e) {
|
|
1724
|
-
return e.split("-")[1];
|
|
1725
|
-
}
|
|
1726
|
-
var qo = {
|
|
1727
|
-
top: "auto",
|
|
1728
|
-
right: "auto",
|
|
1729
|
-
bottom: "auto",
|
|
1730
|
-
left: "auto"
|
|
1731
|
-
};
|
|
1732
|
-
function zo(e, t) {
|
|
1733
|
-
var r = e.x, n = e.y, o = t.devicePixelRatio || 1;
|
|
1734
|
-
return {
|
|
1735
|
-
x: Qe(r * o) / o || 0,
|
|
1736
|
-
y: Qe(n * o) / o || 0
|
|
1737
|
-
};
|
|
1738
|
-
}
|
|
1739
|
-
function Nr(e) {
|
|
1740
|
-
var t, r = e.popper, n = e.popperRect, o = e.placement, i = e.variation, s = e.offsets, c = e.position, u = e.gpuAcceleration, f = e.adaptive, l = e.roundOffsets, d = e.isFixed, h = s.x, g = h === void 0 ? 0 : h, b = s.y, w = b === void 0 ? 0 : b, y = typeof l == "function" ? l({
|
|
1741
|
-
x: g,
|
|
1742
|
-
y: w
|
|
1743
|
-
}) : {
|
|
1744
|
-
x: g,
|
|
1745
|
-
y: w
|
|
1746
|
-
};
|
|
1747
|
-
g = y.x, w = y.y;
|
|
1748
|
-
var T = s.hasOwnProperty("x"), x = s.hasOwnProperty("y"), C = pe, R = de, p = window;
|
|
1749
|
-
if (f) {
|
|
1750
|
-
var S = yt(r), I = "clientHeight", q = "clientWidth";
|
|
1751
|
-
if (S === me(r) && (S = _e(r), Ce(S).position !== "static" && c === "absolute" && (I = "scrollHeight", q = "scrollWidth")), S = S, o === de || (o === pe || o === we) && i === vt) {
|
|
1752
|
-
R = be;
|
|
1753
|
-
var Q = d && S === p && p.visualViewport ? p.visualViewport.height : (
|
|
1754
|
-
// $FlowFixMe[prop-missing]
|
|
1755
|
-
S[I]
|
|
1756
|
-
);
|
|
1757
|
-
w -= Q - n.height, w *= u ? 1 : -1;
|
|
1758
|
-
}
|
|
1759
|
-
if (o === pe || (o === de || o === be) && i === vt) {
|
|
1760
|
-
C = we;
|
|
1761
|
-
var J = d && S === p && p.visualViewport ? p.visualViewport.width : (
|
|
1762
|
-
// $FlowFixMe[prop-missing]
|
|
1763
|
-
S[q]
|
|
1764
|
-
);
|
|
1765
|
-
g -= J - n.width, g *= u ? 1 : -1;
|
|
1766
|
-
}
|
|
1767
|
-
}
|
|
1768
|
-
var Z = Object.assign({
|
|
1769
|
-
position: c
|
|
1770
|
-
}, f && qo), ie = l === !0 ? zo({
|
|
1771
|
-
x: g,
|
|
1772
|
-
y: w
|
|
1773
|
-
}, me(r)) : {
|
|
1774
|
-
x: g,
|
|
1775
|
-
y: w
|
|
1776
|
-
};
|
|
1777
|
-
if (g = ie.x, w = ie.y, u) {
|
|
1778
|
-
var V;
|
|
1779
|
-
return Object.assign({}, Z, (V = {}, V[R] = x ? "0" : "", V[C] = T ? "0" : "", V.transform = (p.devicePixelRatio || 1) <= 1 ? "translate(" + g + "px, " + w + "px)" : "translate3d(" + g + "px, " + w + "px, 0)", V));
|
|
1780
|
-
}
|
|
1781
|
-
return Object.assign({}, Z, (t = {}, t[R] = x ? w + "px" : "", t[C] = T ? g + "px" : "", t.transform = "", t));
|
|
1782
|
-
}
|
|
1783
|
-
function Ko(e) {
|
|
1784
|
-
var t = e.state, r = e.options, n = r.gpuAcceleration, o = n === void 0 ? !0 : n, i = r.adaptive, s = i === void 0 ? !0 : i, c = r.roundOffsets, u = c === void 0 ? !0 : c, f = {
|
|
1785
|
-
placement: xe(t.placement),
|
|
1786
|
-
variation: Ze(t.placement),
|
|
1787
|
-
popper: t.elements.popper,
|
|
1788
|
-
popperRect: t.rects.popper,
|
|
1789
|
-
gpuAcceleration: o,
|
|
1790
|
-
isFixed: t.options.strategy === "fixed"
|
|
1791
|
-
};
|
|
1792
|
-
t.modifiersData.popperOffsets != null && (t.styles.popper = Object.assign({}, t.styles.popper, Nr(Object.assign({}, f, {
|
|
1793
|
-
offsets: t.modifiersData.popperOffsets,
|
|
1794
|
-
position: t.options.strategy,
|
|
1795
|
-
adaptive: s,
|
|
1796
|
-
roundOffsets: u
|
|
1797
|
-
})))), t.modifiersData.arrow != null && (t.styles.arrow = Object.assign({}, t.styles.arrow, Nr(Object.assign({}, f, {
|
|
1798
|
-
offsets: t.modifiersData.arrow,
|
|
1799
|
-
position: "absolute",
|
|
1800
|
-
adaptive: !1,
|
|
1801
|
-
roundOffsets: u
|
|
1802
|
-
})))), t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
1803
|
-
"data-popper-placement": t.placement
|
|
1804
|
-
});
|
|
1805
|
-
}
|
|
1806
|
-
const $o = {
|
|
1807
|
-
name: "computeStyles",
|
|
1808
|
-
enabled: !0,
|
|
1809
|
-
phase: "beforeWrite",
|
|
1810
|
-
fn: Ko,
|
|
1811
|
-
data: {}
|
|
1812
|
-
};
|
|
1813
|
-
var At = {
|
|
1814
|
-
passive: !0
|
|
1815
|
-
};
|
|
1816
|
-
function Qo(e) {
|
|
1817
|
-
var t = e.state, r = e.instance, n = e.options, o = n.scroll, i = o === void 0 ? !0 : o, s = n.resize, c = s === void 0 ? !0 : s, u = me(t.elements.popper), f = [].concat(t.scrollParents.reference, t.scrollParents.popper);
|
|
1818
|
-
return i && f.forEach(function(l) {
|
|
1819
|
-
l.addEventListener("scroll", r.update, At);
|
|
1820
|
-
}), c && u.addEventListener("resize", r.update, At), function() {
|
|
1821
|
-
i && f.forEach(function(l) {
|
|
1822
|
-
l.removeEventListener("scroll", r.update, At);
|
|
1823
|
-
}), c && u.removeEventListener("resize", r.update, At);
|
|
1824
|
-
};
|
|
1825
|
-
}
|
|
1826
|
-
const Xo = {
|
|
1827
|
-
name: "eventListeners",
|
|
1828
|
-
enabled: !0,
|
|
1829
|
-
phase: "write",
|
|
1830
|
-
fn: function() {
|
|
1831
|
-
},
|
|
1832
|
-
effect: Qo,
|
|
1833
|
-
data: {}
|
|
1834
|
-
};
|
|
1835
|
-
var Zo = {
|
|
1836
|
-
left: "right",
|
|
1837
|
-
right: "left",
|
|
1838
|
-
bottom: "top",
|
|
1839
|
-
top: "bottom"
|
|
1840
|
-
};
|
|
1841
|
-
function Rt(e) {
|
|
1842
|
-
return e.replace(/left|right|bottom|top/g, function(t) {
|
|
1843
|
-
return Zo[t];
|
|
1844
|
-
});
|
|
1845
|
-
}
|
|
1846
|
-
var ei = {
|
|
1847
|
-
start: "end",
|
|
1848
|
-
end: "start"
|
|
1849
|
-
};
|
|
1850
|
-
function Ur(e) {
|
|
1851
|
-
return e.replace(/start|end/g, function(t) {
|
|
1852
|
-
return ei[t];
|
|
1853
|
-
});
|
|
1854
|
-
}
|
|
1855
|
-
function ur(e) {
|
|
1856
|
-
var t = me(e), r = t.pageXOffset, n = t.pageYOffset;
|
|
1857
|
-
return {
|
|
1858
|
-
scrollLeft: r,
|
|
1859
|
-
scrollTop: n
|
|
1860
|
-
};
|
|
1861
|
-
}
|
|
1862
|
-
function lr(e) {
|
|
1863
|
-
return Xe(_e(e)).left + ur(e).scrollLeft;
|
|
1864
|
-
}
|
|
1865
|
-
function ti(e, t) {
|
|
1866
|
-
var r = me(e), n = _e(e), o = r.visualViewport, i = n.clientWidth, s = n.clientHeight, c = 0, u = 0;
|
|
1867
|
-
if (o) {
|
|
1868
|
-
i = o.width, s = o.height;
|
|
1869
|
-
var f = fn();
|
|
1870
|
-
(f || !f && t === "fixed") && (c = o.offsetLeft, u = o.offsetTop);
|
|
1871
|
-
}
|
|
1872
|
-
return {
|
|
1873
|
-
width: i,
|
|
1874
|
-
height: s,
|
|
1875
|
-
x: c + lr(e),
|
|
1876
|
-
y: u
|
|
1877
|
-
};
|
|
1878
|
-
}
|
|
1879
|
-
function ri(e) {
|
|
1880
|
-
var t, r = _e(e), n = ur(e), o = (t = e.ownerDocument) == null ? void 0 : t.body, i = Le(r.scrollWidth, r.clientWidth, o ? o.scrollWidth : 0, o ? o.clientWidth : 0), s = Le(r.scrollHeight, r.clientHeight, o ? o.scrollHeight : 0, o ? o.clientHeight : 0), c = -n.scrollLeft + lr(e), u = -n.scrollTop;
|
|
1881
|
-
return Ce(o || r).direction === "rtl" && (c += Le(r.clientWidth, o ? o.clientWidth : 0) - i), {
|
|
1882
|
-
width: i,
|
|
1883
|
-
height: s,
|
|
1884
|
-
x: c,
|
|
1885
|
-
y: u
|
|
1886
|
-
};
|
|
1887
|
-
}
|
|
1888
|
-
function fr(e) {
|
|
1889
|
-
var t = Ce(e), r = t.overflow, n = t.overflowX, o = t.overflowY;
|
|
1890
|
-
return /auto|scroll|overlay|hidden/.test(r + o + n);
|
|
1891
|
-
}
|
|
1892
|
-
function hn(e) {
|
|
1893
|
-
return ["html", "body", "#document"].indexOf(De(e)) >= 0 ? e.ownerDocument.body : Ee(e) && fr(e) ? e : hn(kt(e));
|
|
1894
|
-
}
|
|
1895
|
-
function dt(e, t) {
|
|
1896
|
-
var r;
|
|
1897
|
-
t === void 0 && (t = []);
|
|
1898
|
-
var n = hn(e), o = n === ((r = e.ownerDocument) == null ? void 0 : r.body), i = me(n), s = o ? [i].concat(i.visualViewport || [], fr(n) ? n : []) : n, c = t.concat(s);
|
|
1899
|
-
return o ? c : (
|
|
1900
|
-
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
1901
|
-
c.concat(dt(kt(s)))
|
|
1902
|
-
);
|
|
1903
|
-
}
|
|
1904
|
-
function Kt(e) {
|
|
1905
|
-
return Object.assign({}, e, {
|
|
1906
|
-
left: e.x,
|
|
1907
|
-
top: e.y,
|
|
1908
|
-
right: e.x + e.width,
|
|
1909
|
-
bottom: e.y + e.height
|
|
1910
|
-
});
|
|
1911
|
-
}
|
|
1912
|
-
function ni(e, t) {
|
|
1913
|
-
var r = Xe(e, !1, t === "fixed");
|
|
1914
|
-
return r.top = r.top + e.clientTop, r.left = r.left + e.clientLeft, r.bottom = r.top + e.clientHeight, r.right = r.left + e.clientWidth, r.width = e.clientWidth, r.height = e.clientHeight, r.x = r.left, r.y = r.top, r;
|
|
1915
|
-
}
|
|
1916
|
-
function Yr(e, t, r) {
|
|
1917
|
-
return t === un ? Kt(ti(e, r)) : He(t) ? ni(t, r) : Kt(ri(_e(e)));
|
|
1918
|
-
}
|
|
1919
|
-
function oi(e) {
|
|
1920
|
-
var t = dt(kt(e)), r = ["absolute", "fixed"].indexOf(Ce(e).position) >= 0, n = r && Ee(e) ? yt(e) : e;
|
|
1921
|
-
return He(n) ? t.filter(function(o) {
|
|
1922
|
-
return He(o) && dn(o, n) && De(o) !== "body";
|
|
1923
|
-
}) : [];
|
|
1924
|
-
}
|
|
1925
|
-
function ii(e, t, r, n) {
|
|
1926
|
-
var o = t === "clippingParents" ? oi(e) : [].concat(t), i = [].concat(o, [r]), s = i[0], c = i.reduce(function(u, f) {
|
|
1927
|
-
var l = Yr(e, f, n);
|
|
1928
|
-
return u.top = Le(l.top, u.top), u.right = Ct(l.right, u.right), u.bottom = Ct(l.bottom, u.bottom), u.left = Le(l.left, u.left), u;
|
|
1929
|
-
}, Yr(e, s, n));
|
|
1930
|
-
return c.width = c.right - c.left, c.height = c.bottom - c.top, c.x = c.left, c.y = c.top, c;
|
|
1931
|
-
}
|
|
1932
|
-
function yn(e) {
|
|
1933
|
-
var t = e.reference, r = e.element, n = e.placement, o = n ? xe(n) : null, i = n ? Ze(n) : null, s = t.x + t.width / 2 - r.width / 2, c = t.y + t.height / 2 - r.height / 2, u;
|
|
1934
|
-
switch (o) {
|
|
1935
|
-
case de:
|
|
1936
|
-
u = {
|
|
1937
|
-
x: s,
|
|
1938
|
-
y: t.y - r.height
|
|
1939
|
-
};
|
|
1940
|
-
break;
|
|
1941
|
-
case be:
|
|
1942
|
-
u = {
|
|
1943
|
-
x: s,
|
|
1944
|
-
y: t.y + t.height
|
|
1945
|
-
};
|
|
1946
|
-
break;
|
|
1947
|
-
case we:
|
|
1948
|
-
u = {
|
|
1949
|
-
x: t.x + t.width,
|
|
1950
|
-
y: c
|
|
1951
|
-
};
|
|
1952
|
-
break;
|
|
1953
|
-
case pe:
|
|
1954
|
-
u = {
|
|
1955
|
-
x: t.x - r.width,
|
|
1956
|
-
y: c
|
|
1957
|
-
};
|
|
1958
|
-
break;
|
|
1959
|
-
default:
|
|
1960
|
-
u = {
|
|
1961
|
-
x: t.x,
|
|
1962
|
-
y: t.y
|
|
1963
|
-
};
|
|
1964
|
-
}
|
|
1965
|
-
var f = o ? cr(o) : null;
|
|
1966
|
-
if (f != null) {
|
|
1967
|
-
var l = f === "y" ? "height" : "width";
|
|
1968
|
-
switch (i) {
|
|
1969
|
-
case $e:
|
|
1970
|
-
u[f] = u[f] - (t[l] / 2 - r[l] / 2);
|
|
1971
|
-
break;
|
|
1972
|
-
case vt:
|
|
1973
|
-
u[f] = u[f] + (t[l] / 2 - r[l] / 2);
|
|
1974
|
-
break;
|
|
1975
|
-
}
|
|
1976
|
-
}
|
|
1977
|
-
return u;
|
|
1978
|
-
}
|
|
1979
|
-
function mt(e, t) {
|
|
1980
|
-
t === void 0 && (t = {});
|
|
1981
|
-
var r = t, n = r.placement, o = n === void 0 ? e.placement : n, i = r.strategy, s = i === void 0 ? e.strategy : i, c = r.boundary, u = c === void 0 ? So : c, f = r.rootBoundary, l = f === void 0 ? un : f, d = r.elementContext, h = d === void 0 ? ct : d, g = r.altBoundary, b = g === void 0 ? !1 : g, w = r.padding, y = w === void 0 ? 0 : w, T = vn(typeof y != "number" ? y : mn(y, ht)), x = h === ct ? ko : ct, C = e.rects.popper, R = e.elements[b ? x : h], p = ii(He(R) ? R : R.contextElement || _e(e.elements.popper), u, l, s), S = Xe(e.elements.reference), I = yn({
|
|
1982
|
-
reference: S,
|
|
1983
|
-
element: C,
|
|
1984
|
-
strategy: "absolute",
|
|
1985
|
-
placement: o
|
|
1986
|
-
}), q = Kt(Object.assign({}, C, I)), Q = h === ct ? q : S, J = {
|
|
1987
|
-
top: p.top - Q.top + T.top,
|
|
1988
|
-
bottom: Q.bottom - p.bottom + T.bottom,
|
|
1989
|
-
left: p.left - Q.left + T.left,
|
|
1990
|
-
right: Q.right - p.right + T.right
|
|
1991
|
-
}, Z = e.modifiersData.offset;
|
|
1992
|
-
if (h === ct && Z) {
|
|
1993
|
-
var ie = Z[o];
|
|
1994
|
-
Object.keys(J).forEach(function(V) {
|
|
1995
|
-
var z = [we, be].indexOf(V) >= 0 ? 1 : -1, X = [de, be].indexOf(V) >= 0 ? "y" : "x";
|
|
1996
|
-
J[V] += ie[X] * z;
|
|
1997
|
-
});
|
|
1998
|
-
}
|
|
1999
|
-
return J;
|
|
2000
|
-
}
|
|
2001
|
-
function ai(e, t) {
|
|
2002
|
-
t === void 0 && (t = {});
|
|
2003
|
-
var r = t, n = r.placement, o = r.boundary, i = r.rootBoundary, s = r.padding, c = r.flipVariations, u = r.allowedAutoPlacements, f = u === void 0 ? ln : u, l = Ze(n), d = l ? c ? Lr : Lr.filter(function(b) {
|
|
2004
|
-
return Ze(b) === l;
|
|
2005
|
-
}) : ht, h = d.filter(function(b) {
|
|
2006
|
-
return f.indexOf(b) >= 0;
|
|
2007
|
-
});
|
|
2008
|
-
h.length === 0 && (h = d);
|
|
2009
|
-
var g = h.reduce(function(b, w) {
|
|
2010
|
-
return b[w] = mt(e, {
|
|
2011
|
-
placement: w,
|
|
2012
|
-
boundary: o,
|
|
2013
|
-
rootBoundary: i,
|
|
2014
|
-
padding: s
|
|
2015
|
-
})[xe(w)], b;
|
|
2016
|
-
}, {});
|
|
2017
|
-
return Object.keys(g).sort(function(b, w) {
|
|
2018
|
-
return g[b] - g[w];
|
|
2019
|
-
});
|
|
2020
|
-
}
|
|
2021
|
-
function si(e) {
|
|
2022
|
-
if (xe(e) === ir)
|
|
2023
|
-
return [];
|
|
2024
|
-
var t = Rt(e);
|
|
2025
|
-
return [Ur(e), t, Ur(t)];
|
|
2026
|
-
}
|
|
2027
|
-
function ci(e) {
|
|
2028
|
-
var t = e.state, r = e.options, n = e.name;
|
|
2029
|
-
if (!t.modifiersData[n]._skip) {
|
|
2030
|
-
for (var o = r.mainAxis, i = o === void 0 ? !0 : o, s = r.altAxis, c = s === void 0 ? !0 : s, u = r.fallbackPlacements, f = r.padding, l = r.boundary, d = r.rootBoundary, h = r.altBoundary, g = r.flipVariations, b = g === void 0 ? !0 : g, w = r.allowedAutoPlacements, y = t.options.placement, T = xe(y), x = T === y, C = u || (x || !b ? [Rt(y)] : si(y)), R = [y].concat(C).reduce(function(P, L) {
|
|
2031
|
-
return P.concat(xe(L) === ir ? ai(t, {
|
|
2032
|
-
placement: L,
|
|
2033
|
-
boundary: l,
|
|
2034
|
-
rootBoundary: d,
|
|
2035
|
-
padding: f,
|
|
2036
|
-
flipVariations: b,
|
|
2037
|
-
allowedAutoPlacements: w
|
|
2038
|
-
}) : L);
|
|
2039
|
-
}, []), p = t.rects.reference, S = t.rects.popper, I = /* @__PURE__ */ new Map(), q = !0, Q = R[0], J = 0; J < R.length; J++) {
|
|
2040
|
-
var Z = R[J], ie = xe(Z), V = Ze(Z) === $e, z = [de, be].indexOf(ie) >= 0, X = z ? "width" : "height", ee = mt(t, {
|
|
2041
|
-
placement: Z,
|
|
2042
|
-
boundary: l,
|
|
2043
|
-
rootBoundary: d,
|
|
2044
|
-
altBoundary: h,
|
|
2045
|
-
padding: f
|
|
2046
|
-
}), re = z ? V ? we : pe : V ? be : de;
|
|
2047
|
-
p[X] > S[X] && (re = Rt(re));
|
|
2048
|
-
var he = Rt(re), fe = [];
|
|
2049
|
-
if (i && fe.push(ee[ie] <= 0), c && fe.push(ee[re] <= 0, ee[he] <= 0), fe.every(function(P) {
|
|
2050
|
-
return P;
|
|
2051
|
-
})) {
|
|
2052
|
-
Q = Z, q = !1;
|
|
2053
|
-
break;
|
|
2054
|
-
}
|
|
2055
|
-
I.set(Z, fe);
|
|
2056
|
-
}
|
|
2057
|
-
if (q)
|
|
2058
|
-
for (var m = b ? 3 : 1, O = function(L) {
|
|
2059
|
-
var j = R.find(function(_) {
|
|
2060
|
-
var M = I.get(_);
|
|
2061
|
-
if (M)
|
|
2062
|
-
return M.slice(0, L).every(function(U) {
|
|
2063
|
-
return U;
|
|
2064
|
-
});
|
|
2065
|
-
});
|
|
2066
|
-
if (j)
|
|
2067
|
-
return Q = j, "break";
|
|
2068
|
-
}, B = m; B > 0; B--) {
|
|
2069
|
-
var F = O(B);
|
|
2070
|
-
if (F === "break")
|
|
2071
|
-
break;
|
|
2072
|
-
}
|
|
2073
|
-
t.placement !== Q && (t.modifiersData[n]._skip = !0, t.placement = Q, t.reset = !0);
|
|
2074
|
-
}
|
|
2075
|
-
}
|
|
2076
|
-
const ui = {
|
|
2077
|
-
name: "flip",
|
|
2078
|
-
enabled: !0,
|
|
2079
|
-
phase: "main",
|
|
2080
|
-
fn: ci,
|
|
2081
|
-
requiresIfExists: ["offset"],
|
|
2082
|
-
data: {
|
|
2083
|
-
_skip: !1
|
|
2084
|
-
}
|
|
2085
|
-
};
|
|
2086
|
-
function Vr(e, t, r) {
|
|
2087
|
-
return r === void 0 && (r = {
|
|
2088
|
-
x: 0,
|
|
2089
|
-
y: 0
|
|
2090
|
-
}), {
|
|
2091
|
-
top: e.top - t.height - r.y,
|
|
2092
|
-
right: e.right - t.width + r.x,
|
|
2093
|
-
bottom: e.bottom - t.height + r.y,
|
|
2094
|
-
left: e.left - t.width - r.x
|
|
2095
|
-
};
|
|
2096
|
-
}
|
|
2097
|
-
function Wr(e) {
|
|
2098
|
-
return [de, we, be, pe].some(function(t) {
|
|
2099
|
-
return e[t] >= 0;
|
|
2100
|
-
});
|
|
2101
|
-
}
|
|
2102
|
-
function li(e) {
|
|
2103
|
-
var t = e.state, r = e.name, n = t.rects.reference, o = t.rects.popper, i = t.modifiersData.preventOverflow, s = mt(t, {
|
|
2104
|
-
elementContext: "reference"
|
|
2105
|
-
}), c = mt(t, {
|
|
2106
|
-
altBoundary: !0
|
|
2107
|
-
}), u = Vr(s, n), f = Vr(c, o, i), l = Wr(u), d = Wr(f);
|
|
2108
|
-
t.modifiersData[r] = {
|
|
2109
|
-
referenceClippingOffsets: u,
|
|
2110
|
-
popperEscapeOffsets: f,
|
|
2111
|
-
isReferenceHidden: l,
|
|
2112
|
-
hasPopperEscaped: d
|
|
2113
|
-
}, t.attributes.popper = Object.assign({}, t.attributes.popper, {
|
|
2114
|
-
"data-popper-reference-hidden": l,
|
|
2115
|
-
"data-popper-escaped": d
|
|
2116
|
-
});
|
|
2117
|
-
}
|
|
2118
|
-
const fi = {
|
|
2119
|
-
name: "hide",
|
|
2120
|
-
enabled: !0,
|
|
2121
|
-
phase: "main",
|
|
2122
|
-
requiresIfExists: ["preventOverflow"],
|
|
2123
|
-
fn: li
|
|
2124
|
-
};
|
|
2125
|
-
function di(e, t, r) {
|
|
2126
|
-
var n = xe(e), o = [pe, de].indexOf(n) >= 0 ? -1 : 1, i = typeof r == "function" ? r(Object.assign({}, t, {
|
|
2127
|
-
placement: e
|
|
2128
|
-
})) : r, s = i[0], c = i[1];
|
|
2129
|
-
return s = s || 0, c = (c || 0) * o, [pe, we].indexOf(n) >= 0 ? {
|
|
2130
|
-
x: c,
|
|
2131
|
-
y: s
|
|
2132
|
-
} : {
|
|
2133
|
-
x: s,
|
|
2134
|
-
y: c
|
|
2135
|
-
};
|
|
2136
|
-
}
|
|
2137
|
-
function pi(e) {
|
|
2138
|
-
var t = e.state, r = e.options, n = e.name, o = r.offset, i = o === void 0 ? [0, 0] : o, s = ln.reduce(function(l, d) {
|
|
2139
|
-
return l[d] = di(d, t.rects, i), l;
|
|
2140
|
-
}, {}), c = s[t.placement], u = c.x, f = c.y;
|
|
2141
|
-
t.modifiersData.popperOffsets != null && (t.modifiersData.popperOffsets.x += u, t.modifiersData.popperOffsets.y += f), t.modifiersData[n] = s;
|
|
2142
|
-
}
|
|
2143
|
-
const vi = {
|
|
2144
|
-
name: "offset",
|
|
2145
|
-
enabled: !0,
|
|
2146
|
-
phase: "main",
|
|
2147
|
-
requires: ["popperOffsets"],
|
|
2148
|
-
fn: pi
|
|
2149
|
-
};
|
|
2150
|
-
function mi(e) {
|
|
2151
|
-
var t = e.state, r = e.name;
|
|
2152
|
-
t.modifiersData[r] = yn({
|
|
2153
|
-
reference: t.rects.reference,
|
|
2154
|
-
element: t.rects.popper,
|
|
2155
|
-
strategy: "absolute",
|
|
2156
|
-
placement: t.placement
|
|
2157
|
-
});
|
|
2158
|
-
}
|
|
2159
|
-
const hi = {
|
|
2160
|
-
name: "popperOffsets",
|
|
2161
|
-
enabled: !0,
|
|
2162
|
-
phase: "read",
|
|
2163
|
-
fn: mi,
|
|
2164
|
-
data: {}
|
|
2165
|
-
};
|
|
2166
|
-
function yi(e) {
|
|
2167
|
-
return e === "x" ? "y" : "x";
|
|
2168
|
-
}
|
|
2169
|
-
function gi(e) {
|
|
2170
|
-
var t = e.state, r = e.options, n = e.name, o = r.mainAxis, i = o === void 0 ? !0 : o, s = r.altAxis, c = s === void 0 ? !1 : s, u = r.boundary, f = r.rootBoundary, l = r.altBoundary, d = r.padding, h = r.tether, g = h === void 0 ? !0 : h, b = r.tetherOffset, w = b === void 0 ? 0 : b, y = mt(t, {
|
|
2171
|
-
boundary: u,
|
|
2172
|
-
rootBoundary: f,
|
|
2173
|
-
padding: d,
|
|
2174
|
-
altBoundary: l
|
|
2175
|
-
}), T = xe(t.placement), x = Ze(t.placement), C = !x, R = cr(T), p = yi(R), S = t.modifiersData.popperOffsets, I = t.rects.reference, q = t.rects.popper, Q = typeof w == "function" ? w(Object.assign({}, t.rects, {
|
|
2176
|
-
placement: t.placement
|
|
2177
|
-
})) : w, J = typeof Q == "number" ? {
|
|
2178
|
-
mainAxis: Q,
|
|
2179
|
-
altAxis: Q
|
|
2180
|
-
} : Object.assign({
|
|
2181
|
-
mainAxis: 0,
|
|
2182
|
-
altAxis: 0
|
|
2183
|
-
}, Q), Z = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, ie = {
|
|
2184
|
-
x: 0,
|
|
2185
|
-
y: 0
|
|
2186
|
-
};
|
|
2187
|
-
if (S) {
|
|
2188
|
-
if (i) {
|
|
2189
|
-
var V, z = R === "y" ? de : pe, X = R === "y" ? be : we, ee = R === "y" ? "height" : "width", re = S[R], he = re + y[z], fe = re - y[X], m = g ? -q[ee] / 2 : 0, O = x === $e ? I[ee] : q[ee], B = x === $e ? -q[ee] : -I[ee], F = t.elements.arrow, P = g && F ? sr(F) : {
|
|
2190
|
-
width: 0,
|
|
2191
|
-
height: 0
|
|
2192
|
-
}, L = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : pn(), j = L[z], _ = L[X], M = ft(0, I[ee], P[ee]), U = C ? I[ee] / 2 - m - M - j - J.mainAxis : O - M - j - J.mainAxis, H = C ? -I[ee] / 2 + m + M + _ + J.mainAxis : B + M + _ + J.mainAxis, ae = t.elements.arrow && yt(t.elements.arrow), E = ae ? R === "y" ? ae.clientTop || 0 : ae.clientLeft || 0 : 0, ue = (V = Z == null ? void 0 : Z[R]) != null ? V : 0, ke = re + U - ue - E, Ae = re + H - ue, Me = ft(g ? Ct(he, ke) : he, re, g ? Le(fe, Ae) : fe);
|
|
2193
|
-
S[R] = Me, ie[R] = Me - re;
|
|
2194
|
-
}
|
|
2195
|
-
if (c) {
|
|
2196
|
-
var rt, gt = R === "x" ? de : pe, Ve = R === "x" ? be : we, Oe = S[p], We = p === "y" ? "height" : "width", Je = Oe + y[gt], bt = Oe - y[Ve], nt = [de, pe].indexOf(T) !== -1, ot = (rt = Z == null ? void 0 : Z[p]) != null ? rt : 0, it = nt ? Je : Oe - I[We] - q[We] - ot + J.altAxis, Pe = nt ? Oe + I[We] + q[We] - ot - J.altAxis : bt, wt = g && nt ? Yo(it, Oe, Pe) : ft(g ? it : Je, Oe, g ? Pe : bt);
|
|
2197
|
-
S[p] = wt, ie[p] = wt - Oe;
|
|
2198
|
-
}
|
|
2199
|
-
t.modifiersData[n] = ie;
|
|
2200
|
-
}
|
|
2201
|
-
}
|
|
2202
|
-
const bi = {
|
|
2203
|
-
name: "preventOverflow",
|
|
2204
|
-
enabled: !0,
|
|
2205
|
-
phase: "main",
|
|
2206
|
-
fn: gi,
|
|
2207
|
-
requiresIfExists: ["offset"]
|
|
2208
|
-
};
|
|
2209
|
-
function wi(e) {
|
|
2210
|
-
return {
|
|
2211
|
-
scrollLeft: e.scrollLeft,
|
|
2212
|
-
scrollTop: e.scrollTop
|
|
2213
|
-
};
|
|
2214
|
-
}
|
|
2215
|
-
function xi(e) {
|
|
2216
|
-
return e === me(e) || !Ee(e) ? ur(e) : wi(e);
|
|
2217
|
-
}
|
|
2218
|
-
function Ei(e) {
|
|
2219
|
-
var t = e.getBoundingClientRect(), r = Qe(t.width) / e.offsetWidth || 1, n = Qe(t.height) / e.offsetHeight || 1;
|
|
2220
|
-
return r !== 1 || n !== 1;
|
|
2221
|
-
}
|
|
2222
|
-
function Ai(e, t, r) {
|
|
2223
|
-
r === void 0 && (r = !1);
|
|
2224
|
-
var n = Ee(t), o = Ee(t) && Ei(t), i = _e(t), s = Xe(e, o, r), c = {
|
|
2225
|
-
scrollLeft: 0,
|
|
2226
|
-
scrollTop: 0
|
|
2227
|
-
}, u = {
|
|
2228
|
-
x: 0,
|
|
2229
|
-
y: 0
|
|
2230
|
-
};
|
|
2231
|
-
return (n || !n && !r) && ((De(t) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
|
|
2232
|
-
fr(i)) && (c = xi(t)), Ee(t) ? (u = Xe(t, !0), u.x += t.clientLeft, u.y += t.clientTop) : i && (u.x = lr(i))), {
|
|
2233
|
-
x: s.left + c.scrollLeft - u.x,
|
|
2234
|
-
y: s.top + c.scrollTop - u.y,
|
|
2235
|
-
width: s.width,
|
|
2236
|
-
height: s.height
|
|
2237
|
-
};
|
|
2238
|
-
}
|
|
2239
|
-
function Oi(e) {
|
|
2240
|
-
var t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Set(), n = [];
|
|
2241
|
-
e.forEach(function(i) {
|
|
2242
|
-
t.set(i.name, i);
|
|
2243
|
-
});
|
|
2244
|
-
function o(i) {
|
|
2245
|
-
r.add(i.name);
|
|
2246
|
-
var s = [].concat(i.requires || [], i.requiresIfExists || []);
|
|
2247
|
-
s.forEach(function(c) {
|
|
2248
|
-
if (!r.has(c)) {
|
|
2249
|
-
var u = t.get(c);
|
|
2250
|
-
u && o(u);
|
|
2251
|
-
}
|
|
2252
|
-
}), n.push(i);
|
|
2253
|
-
}
|
|
2254
|
-
return e.forEach(function(i) {
|
|
2255
|
-
r.has(i.name) || o(i);
|
|
2256
|
-
}), n;
|
|
2257
|
-
}
|
|
2258
|
-
function Ri(e) {
|
|
2259
|
-
var t = Oi(e);
|
|
2260
|
-
return Ho.reduce(function(r, n) {
|
|
2261
|
-
return r.concat(t.filter(function(o) {
|
|
2262
|
-
return o.phase === n;
|
|
2263
|
-
}));
|
|
2264
|
-
}, []);
|
|
2265
|
-
}
|
|
2266
|
-
function Ti(e) {
|
|
2267
|
-
var t;
|
|
2268
|
-
return function() {
|
|
2269
|
-
return t || (t = new Promise(function(r) {
|
|
2270
|
-
Promise.resolve().then(function() {
|
|
2271
|
-
t = void 0, r(e());
|
|
2272
|
-
});
|
|
2273
|
-
})), t;
|
|
2274
|
-
};
|
|
2275
|
-
}
|
|
2276
|
-
function Ci(e) {
|
|
2277
|
-
var t = e.reduce(function(r, n) {
|
|
2278
|
-
var o = r[n.name];
|
|
2279
|
-
return r[n.name] = o ? Object.assign({}, o, n, {
|
|
2280
|
-
options: Object.assign({}, o.options, n.options),
|
|
2281
|
-
data: Object.assign({}, o.data, n.data)
|
|
2282
|
-
}) : n, r;
|
|
2283
|
-
}, {});
|
|
2284
|
-
return Object.keys(t).map(function(r) {
|
|
2285
|
-
return t[r];
|
|
2286
|
-
});
|
|
2287
|
-
}
|
|
2288
|
-
var Jr = {
|
|
2289
|
-
placement: "bottom",
|
|
2290
|
-
modifiers: [],
|
|
2291
|
-
strategy: "absolute"
|
|
2292
|
-
};
|
|
2293
|
-
function Gr() {
|
|
2294
|
-
for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
|
|
2295
|
-
t[r] = arguments[r];
|
|
2296
|
-
return !t.some(function(n) {
|
|
2297
|
-
return !(n && typeof n.getBoundingClientRect == "function");
|
|
2298
|
-
});
|
|
2299
|
-
}
|
|
2300
|
-
function Si(e) {
|
|
2301
|
-
e === void 0 && (e = {});
|
|
2302
|
-
var t = e, r = t.defaultModifiers, n = r === void 0 ? [] : r, o = t.defaultOptions, i = o === void 0 ? Jr : o;
|
|
2303
|
-
return function(c, u, f) {
|
|
2304
|
-
f === void 0 && (f = i);
|
|
2305
|
-
var l = {
|
|
2306
|
-
placement: "bottom",
|
|
2307
|
-
orderedModifiers: [],
|
|
2308
|
-
options: Object.assign({}, Jr, i),
|
|
2309
|
-
modifiersData: {},
|
|
2310
|
-
elements: {
|
|
2311
|
-
reference: c,
|
|
2312
|
-
popper: u
|
|
2313
|
-
},
|
|
2314
|
-
attributes: {},
|
|
2315
|
-
styles: {}
|
|
2316
|
-
}, d = [], h = !1, g = {
|
|
2317
|
-
state: l,
|
|
2318
|
-
setOptions: function(T) {
|
|
2319
|
-
var x = typeof T == "function" ? T(l.options) : T;
|
|
2320
|
-
w(), l.options = Object.assign({}, i, l.options, x), l.scrollParents = {
|
|
2321
|
-
reference: He(c) ? dt(c) : c.contextElement ? dt(c.contextElement) : [],
|
|
2322
|
-
popper: dt(u)
|
|
2323
|
-
};
|
|
2324
|
-
var C = Ri(Ci([].concat(n, l.options.modifiers)));
|
|
2325
|
-
return l.orderedModifiers = C.filter(function(R) {
|
|
2326
|
-
return R.enabled;
|
|
2327
|
-
}), b(), g.update();
|
|
2328
|
-
},
|
|
2329
|
-
// Sync update – it will always be executed, even if not necessary. This
|
|
2330
|
-
// is useful for low frequency updates where sync behavior simplifies the
|
|
2331
|
-
// logic.
|
|
2332
|
-
// For high frequency updates (e.g. `resize` and `scroll` events), always
|
|
2333
|
-
// prefer the async Popper#update method
|
|
2334
|
-
forceUpdate: function() {
|
|
2335
|
-
if (!h) {
|
|
2336
|
-
var T = l.elements, x = T.reference, C = T.popper;
|
|
2337
|
-
if (Gr(x, C)) {
|
|
2338
|
-
l.rects = {
|
|
2339
|
-
reference: Ai(x, yt(C), l.options.strategy === "fixed"),
|
|
2340
|
-
popper: sr(C)
|
|
2341
|
-
}, l.reset = !1, l.placement = l.options.placement, l.orderedModifiers.forEach(function(J) {
|
|
2342
|
-
return l.modifiersData[J.name] = Object.assign({}, J.data);
|
|
2343
|
-
});
|
|
2344
|
-
for (var R = 0; R < l.orderedModifiers.length; R++) {
|
|
2345
|
-
if (l.reset === !0) {
|
|
2346
|
-
l.reset = !1, R = -1;
|
|
2347
|
-
continue;
|
|
2348
|
-
}
|
|
2349
|
-
var p = l.orderedModifiers[R], S = p.fn, I = p.options, q = I === void 0 ? {} : I, Q = p.name;
|
|
2350
|
-
typeof S == "function" && (l = S({
|
|
2351
|
-
state: l,
|
|
2352
|
-
options: q,
|
|
2353
|
-
name: Q,
|
|
2354
|
-
instance: g
|
|
2355
|
-
}) || l);
|
|
2356
|
-
}
|
|
2357
|
-
}
|
|
2358
|
-
}
|
|
2359
|
-
},
|
|
2360
|
-
// Async and optimistically optimized update – it will not be executed if
|
|
2361
|
-
// not necessary (debounced to run at most once-per-tick)
|
|
2362
|
-
update: Ti(function() {
|
|
2363
|
-
return new Promise(function(y) {
|
|
2364
|
-
g.forceUpdate(), y(l);
|
|
2365
|
-
});
|
|
2366
|
-
}),
|
|
2367
|
-
destroy: function() {
|
|
2368
|
-
w(), h = !0;
|
|
2369
|
-
}
|
|
2370
|
-
};
|
|
2371
|
-
if (!Gr(c, u))
|
|
2372
|
-
return g;
|
|
2373
|
-
g.setOptions(f).then(function(y) {
|
|
2374
|
-
!h && f.onFirstUpdate && f.onFirstUpdate(y);
|
|
2375
|
-
});
|
|
2376
|
-
function b() {
|
|
2377
|
-
l.orderedModifiers.forEach(function(y) {
|
|
2378
|
-
var T = y.name, x = y.options, C = x === void 0 ? {} : x, R = y.effect;
|
|
2379
|
-
if (typeof R == "function") {
|
|
2380
|
-
var p = R({
|
|
2381
|
-
state: l,
|
|
2382
|
-
name: T,
|
|
2383
|
-
instance: g,
|
|
2384
|
-
options: C
|
|
2385
|
-
}), S = function() {
|
|
2386
|
-
};
|
|
2387
|
-
d.push(p || S);
|
|
2388
|
-
}
|
|
2389
|
-
});
|
|
2390
|
-
}
|
|
2391
|
-
function w() {
|
|
2392
|
-
d.forEach(function(y) {
|
|
2393
|
-
return y();
|
|
2394
|
-
}), d = [];
|
|
2395
|
-
}
|
|
2396
|
-
return g;
|
|
2397
|
-
};
|
|
2398
|
-
}
|
|
2399
|
-
const ki = Si({
|
|
2400
|
-
defaultModifiers: [fi, hi, $o, Xo, vi, ui, bi, Go]
|
|
2401
|
-
}), Pi = ["enabled", "placement", "strategy", "modifiers"];
|
|
2402
|
-
function ji(e, t) {
|
|
2403
|
-
if (e == null)
|
|
2404
|
-
return {};
|
|
2405
|
-
var r = {}, n = Object.keys(e), o, i;
|
|
2406
|
-
for (i = 0; i < n.length; i++)
|
|
2407
|
-
o = n[i], !(t.indexOf(o) >= 0) && (r[o] = e[o]);
|
|
2408
|
-
return r;
|
|
2409
|
-
}
|
|
2410
|
-
const Di = {
|
|
2411
|
-
name: "applyStyles",
|
|
2412
|
-
enabled: !1,
|
|
2413
|
-
phase: "afterWrite",
|
|
2414
|
-
fn: () => {
|
|
2415
|
-
}
|
|
2416
|
-
}, _i = {
|
|
2417
|
-
name: "ariaDescribedBy",
|
|
2418
|
-
enabled: !0,
|
|
2419
|
-
phase: "afterWrite",
|
|
2420
|
-
effect: ({
|
|
2421
|
-
state: e
|
|
2422
|
-
}) => () => {
|
|
2423
|
-
const {
|
|
2424
|
-
reference: t,
|
|
2425
|
-
popper: r
|
|
2426
|
-
} = e.elements;
|
|
2427
|
-
if ("removeAttribute" in t) {
|
|
2428
|
-
const n = (t.getAttribute("aria-describedby") || "").split(",").filter((o) => o.trim() !== r.id);
|
|
2429
|
-
n.length ? t.setAttribute("aria-describedby", n.join(",")) : t.removeAttribute("aria-describedby");
|
|
2430
|
-
}
|
|
2431
|
-
},
|
|
2432
|
-
fn: ({
|
|
2433
|
-
state: e
|
|
2434
|
-
}) => {
|
|
2435
|
-
var t;
|
|
2436
|
-
const {
|
|
2437
|
-
popper: r,
|
|
2438
|
-
reference: n
|
|
2439
|
-
} = e.elements, o = (t = r.getAttribute("role")) == null ? void 0 : t.toLowerCase();
|
|
2440
|
-
if (r.id && o === "tooltip" && "setAttribute" in n) {
|
|
2441
|
-
const i = n.getAttribute("aria-describedby");
|
|
2442
|
-
if (i && i.split(",").indexOf(r.id) !== -1)
|
|
2443
|
-
return;
|
|
2444
|
-
n.setAttribute("aria-describedby", i ? `${i},${r.id}` : r.id);
|
|
2445
|
-
}
|
|
2446
|
-
}
|
|
2447
|
-
}, Mi = [];
|
|
2448
|
-
function Bi(e, t, r = {}) {
|
|
2449
|
-
let {
|
|
2450
|
-
enabled: n = !0,
|
|
2451
|
-
placement: o = "bottom",
|
|
2452
|
-
strategy: i = "absolute",
|
|
2453
|
-
modifiers: s = Mi
|
|
2454
|
-
} = r, c = ji(r, Pi);
|
|
2455
|
-
const u = ce(s), f = ce(), l = oe(() => {
|
|
2456
|
-
var y;
|
|
2457
|
-
(y = f.current) == null || y.update();
|
|
2458
|
-
}, []), d = oe(() => {
|
|
2459
|
-
var y;
|
|
2460
|
-
(y = f.current) == null || y.forceUpdate();
|
|
2461
|
-
}, []), [h, g] = Co(Ue({
|
|
2462
|
-
placement: o,
|
|
2463
|
-
update: l,
|
|
2464
|
-
forceUpdate: d,
|
|
2465
|
-
attributes: {},
|
|
2466
|
-
styles: {
|
|
2467
|
-
popper: {},
|
|
2468
|
-
arrow: {}
|
|
2469
|
-
}
|
|
2470
|
-
})), b = pt(() => ({
|
|
2471
|
-
name: "updateStateModifier",
|
|
2472
|
-
enabled: !0,
|
|
2473
|
-
phase: "write",
|
|
2474
|
-
requires: ["computeStyles"],
|
|
2475
|
-
fn: ({
|
|
2476
|
-
state: y
|
|
2477
|
-
}) => {
|
|
2478
|
-
const T = {}, x = {};
|
|
2479
|
-
Object.keys(y.elements).forEach((C) => {
|
|
2480
|
-
T[C] = y.styles[C], x[C] = y.attributes[C];
|
|
2481
|
-
}), g({
|
|
2482
|
-
state: y,
|
|
2483
|
-
styles: T,
|
|
2484
|
-
attributes: x,
|
|
2485
|
-
update: l,
|
|
2486
|
-
forceUpdate: d,
|
|
2487
|
-
placement: y.placement
|
|
2488
|
-
});
|
|
2489
|
-
}
|
|
2490
|
-
}), [l, d, g]), w = pt(() => (lt(u.current, s) || (u.current = s), u.current), [s]);
|
|
2491
|
-
return ge(() => {
|
|
2492
|
-
!f.current || !n || f.current.setOptions({
|
|
2493
|
-
placement: o,
|
|
2494
|
-
strategy: i,
|
|
2495
|
-
modifiers: [...w, b, Di]
|
|
2496
|
-
});
|
|
2497
|
-
}, [i, o, b, n, w]), ge(() => {
|
|
2498
|
-
if (!(!n || e == null || t == null))
|
|
2499
|
-
return f.current = ki(e, t, Object.assign({}, c, {
|
|
2500
|
-
placement: o,
|
|
2501
|
-
strategy: i,
|
|
2502
|
-
modifiers: [...w, _i, b]
|
|
2503
|
-
})), () => {
|
|
2504
|
-
f.current != null && (f.current.destroy(), f.current = void 0, g((y) => Object.assign({}, y, {
|
|
2505
|
-
attributes: {},
|
|
2506
|
-
styles: {
|
|
2507
|
-
popper: {}
|
|
2508
|
-
}
|
|
2509
|
-
})));
|
|
2510
|
-
};
|
|
2511
|
-
}, [n, e, t]), h;
|
|
2512
|
-
}
|
|
2513
|
-
const dr = !!(typeof window < "u" && window.document && window.document.createElement);
|
|
2514
|
-
var $t = !1, Qt = !1;
|
|
2515
|
-
try {
|
|
2516
|
-
var Ut = {
|
|
2517
|
-
get passive() {
|
|
2518
|
-
return $t = !0;
|
|
2519
|
-
},
|
|
2520
|
-
get once() {
|
|
2521
|
-
return Qt = $t = !0;
|
|
2522
|
-
}
|
|
2523
|
-
};
|
|
2524
|
-
dr && (window.addEventListener("test", Ut, Ut), window.removeEventListener("test", Ut, !0));
|
|
2525
|
-
} catch {
|
|
2526
|
-
}
|
|
2527
|
-
function Fi(e, t, r, n) {
|
|
2528
|
-
if (n && typeof n != "boolean" && !Qt) {
|
|
2529
|
-
var o = n.once, i = n.capture, s = r;
|
|
2530
|
-
!Qt && o && (s = r.__once || function c(u) {
|
|
2531
|
-
this.removeEventListener(t, c, i), r.call(this, u);
|
|
2532
|
-
}, r.__once = s), e.addEventListener(t, s, $t ? n : i);
|
|
2533
|
-
}
|
|
2534
|
-
e.addEventListener(t, r, n);
|
|
2535
|
-
}
|
|
2536
|
-
function Ii(e, t, r, n) {
|
|
2537
|
-
var o = n && typeof n != "boolean" ? n.capture : n;
|
|
2538
|
-
e.removeEventListener(t, r, o), r.__once && e.removeEventListener(t, r.__once, o);
|
|
2539
|
-
}
|
|
2540
|
-
function Ie(e, t, r, n) {
|
|
2541
|
-
return Fi(e, t, r, n), function() {
|
|
2542
|
-
Ii(e, t, r, n);
|
|
2543
|
-
};
|
|
2544
|
-
}
|
|
2545
|
-
function Pt(e) {
|
|
2546
|
-
return e && e.ownerDocument || document;
|
|
2547
|
-
}
|
|
2548
|
-
function Li(e) {
|
|
2549
|
-
const t = ce(e);
|
|
2550
|
-
return ge(() => {
|
|
2551
|
-
t.current = e;
|
|
2552
|
-
}, [e]), t;
|
|
2553
|
-
}
|
|
2554
|
-
function et(e) {
|
|
2555
|
-
const t = Li(e);
|
|
2556
|
-
return oe(function(...r) {
|
|
2557
|
-
return t.current && t.current(...r);
|
|
2558
|
-
}, [t]);
|
|
2559
|
-
}
|
|
2560
|
-
const qr = () => {
|
|
2561
|
-
};
|
|
2562
|
-
function Hi(e) {
|
|
2563
|
-
return e.button === 0;
|
|
2564
|
-
}
|
|
2565
|
-
function Ni(e) {
|
|
2566
|
-
return !!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey);
|
|
2567
|
-
}
|
|
2568
|
-
const Tt = (e) => e && ("current" in e ? e.current : e), zr = {
|
|
2569
|
-
click: "mousedown",
|
|
2570
|
-
mouseup: "mousedown",
|
|
2571
|
-
pointerup: "pointerdown"
|
|
2572
|
-
};
|
|
2573
|
-
function Ui(e, t = qr, {
|
|
2574
|
-
disabled: r,
|
|
2575
|
-
clickTrigger: n = "click"
|
|
2576
|
-
} = {}) {
|
|
2577
|
-
const o = ce(!1), i = ce(!1), s = oe((f) => {
|
|
2578
|
-
const l = Tt(e);
|
|
2579
|
-
sn(!!l, "ClickOutside captured a close event but does not have a ref to compare it to. useClickOutside(), should be passed a ref that resolves to a DOM node"), o.current = !l || Ni(f) || !Hi(f) || !!Wt(l, f.target) || i.current, i.current = !1;
|
|
2580
|
-
}, [e]), c = et((f) => {
|
|
2581
|
-
const l = Tt(e);
|
|
2582
|
-
l && Wt(l, f.target) && (i.current = !0);
|
|
2583
|
-
}), u = et((f) => {
|
|
2584
|
-
o.current || t(f);
|
|
2585
|
-
});
|
|
2586
|
-
ge(() => {
|
|
2587
|
-
var f, l;
|
|
2588
|
-
if (r || e == null)
|
|
2589
|
-
return;
|
|
2590
|
-
const d = Pt(Tt(e)), h = d.defaultView || window;
|
|
2591
|
-
let g = (f = h.event) != null ? f : (l = h.parent) == null ? void 0 : l.event, b = null;
|
|
2592
|
-
zr[n] && (b = Ie(d, zr[n], c, !0));
|
|
2593
|
-
const w = Ie(d, n, s, !0), y = Ie(d, n, (x) => {
|
|
2594
|
-
if (x === g) {
|
|
2595
|
-
g = void 0;
|
|
2596
|
-
return;
|
|
2597
|
-
}
|
|
2598
|
-
u(x);
|
|
2599
|
-
});
|
|
2600
|
-
let T = [];
|
|
2601
|
-
return "ontouchstart" in d.documentElement && (T = [].slice.call(d.body.children).map((x) => Ie(x, "mousemove", qr))), () => {
|
|
2602
|
-
b == null || b(), w(), y(), T.forEach((x) => x());
|
|
2603
|
-
};
|
|
2604
|
-
}, [e, r, n, s, c, u]);
|
|
2605
|
-
}
|
|
2606
|
-
function Yi(e) {
|
|
2607
|
-
return e.code === "Escape" || e.keyCode === 27;
|
|
2608
|
-
}
|
|
2609
|
-
const Vi = () => {
|
|
2610
|
-
};
|
|
2611
|
-
function Wi(e, t, {
|
|
2612
|
-
disabled: r,
|
|
2613
|
-
clickTrigger: n
|
|
2614
|
-
} = {}) {
|
|
2615
|
-
const o = t || Vi;
|
|
2616
|
-
Ui(e, o, {
|
|
2617
|
-
disabled: r,
|
|
2618
|
-
clickTrigger: n
|
|
2619
|
-
});
|
|
2620
|
-
const i = et((s) => {
|
|
2621
|
-
Yi(s) && o(s);
|
|
2622
|
-
});
|
|
2623
|
-
ge(() => {
|
|
2624
|
-
if (r || e == null)
|
|
2625
|
-
return;
|
|
2626
|
-
const s = Pt(Tt(e));
|
|
2627
|
-
let c = (s.defaultView || window).event;
|
|
2628
|
-
const u = Ie(s, "keyup", (f) => {
|
|
2629
|
-
if (f === c) {
|
|
2630
|
-
c = void 0;
|
|
2631
|
-
return;
|
|
2632
|
-
}
|
|
2633
|
-
i(f);
|
|
2634
|
-
});
|
|
2635
|
-
return () => {
|
|
2636
|
-
u();
|
|
2637
|
-
};
|
|
2638
|
-
}, [e, r, i]);
|
|
2639
|
-
}
|
|
2640
|
-
const gn = /* @__PURE__ */ $n(dr ? window : void 0);
|
|
2641
|
-
gn.Provider;
|
|
2642
|
-
function Ji() {
|
|
2643
|
-
return tr(gn);
|
|
2644
|
-
}
|
|
2645
|
-
const Yt = (e, t) => dr ? e == null ? (t || Pt()).body : (typeof e == "function" && (e = e()), e && "current" in e && (e = e.current), e && ("nodeType" in e || e.getBoundingClientRect) ? e : null) : null;
|
|
2646
|
-
function Kr(e, t) {
|
|
2647
|
-
const r = Ji(), [n, o] = Ue(() => Yt(e, r == null ? void 0 : r.document));
|
|
2648
|
-
if (!n) {
|
|
2649
|
-
const i = Yt(e);
|
|
2650
|
-
i && o(i);
|
|
2651
|
-
}
|
|
2652
|
-
return ge(() => {
|
|
2653
|
-
t && n && t(n);
|
|
2654
|
-
}, [t, n]), ge(() => {
|
|
2655
|
-
const i = Yt(e);
|
|
2656
|
-
i !== n && o(i);
|
|
2657
|
-
}, [e, n]), n;
|
|
2658
|
-
}
|
|
2659
|
-
function Gi(e) {
|
|
2660
|
-
const t = {};
|
|
2661
|
-
return Array.isArray(e) ? (e == null || e.forEach((r) => {
|
|
2662
|
-
t[r.name] = r;
|
|
2663
|
-
}), t) : e || t;
|
|
2664
|
-
}
|
|
2665
|
-
function qi(e = {}) {
|
|
2666
|
-
return Array.isArray(e) ? e : Object.keys(e).map((t) => (e[t].name = t, e[t]));
|
|
2667
|
-
}
|
|
2668
|
-
function zi({
|
|
2669
|
-
enabled: e,
|
|
2670
|
-
enableEvents: t,
|
|
2671
|
-
placement: r,
|
|
2672
|
-
flip: n,
|
|
2673
|
-
offset: o,
|
|
2674
|
-
fixed: i,
|
|
2675
|
-
containerPadding: s,
|
|
2676
|
-
arrowElement: c,
|
|
2677
|
-
popperConfig: u = {}
|
|
2678
|
-
}) {
|
|
2679
|
-
var f, l, d, h, g;
|
|
2680
|
-
const b = Gi(u.modifiers);
|
|
2681
|
-
return Object.assign({}, u, {
|
|
2682
|
-
placement: r,
|
|
2683
|
-
enabled: e,
|
|
2684
|
-
strategy: i ? "fixed" : u.strategy,
|
|
2685
|
-
modifiers: qi(Object.assign({}, b, {
|
|
2686
|
-
eventListeners: {
|
|
2687
|
-
enabled: t,
|
|
2688
|
-
options: (f = b.eventListeners) == null ? void 0 : f.options
|
|
2689
|
-
},
|
|
2690
|
-
preventOverflow: Object.assign({}, b.preventOverflow, {
|
|
2691
|
-
options: s ? Object.assign({
|
|
2692
|
-
padding: s
|
|
2693
|
-
}, (l = b.preventOverflow) == null ? void 0 : l.options) : (d = b.preventOverflow) == null ? void 0 : d.options
|
|
2694
|
-
}),
|
|
2695
|
-
offset: {
|
|
2696
|
-
options: Object.assign({
|
|
2697
|
-
offset: o
|
|
2698
|
-
}, (h = b.offset) == null ? void 0 : h.options)
|
|
2699
|
-
},
|
|
2700
|
-
arrow: Object.assign({}, b.arrow, {
|
|
2701
|
-
enabled: !!c,
|
|
2702
|
-
options: Object.assign({}, (g = b.arrow) == null ? void 0 : g.options, {
|
|
2703
|
-
element: c
|
|
2704
|
-
})
|
|
2705
|
-
}),
|
|
2706
|
-
flip: Object.assign({
|
|
2707
|
-
enabled: !!n
|
|
2708
|
-
}, b.flip)
|
|
2709
|
-
}))
|
|
2710
|
-
});
|
|
2711
|
-
}
|
|
2712
|
-
const Ki = typeof global < "u" && // @ts-ignore
|
|
2713
|
-
global.navigator && // @ts-ignore
|
|
2714
|
-
global.navigator.product === "ReactNative", $i = typeof document < "u", Xt = $i || Ki ? Qn : ge;
|
|
2715
|
-
function Qi({
|
|
2716
|
-
children: e,
|
|
2717
|
-
in: t,
|
|
2718
|
-
onExited: r,
|
|
2719
|
-
mountOnEnter: n,
|
|
2720
|
-
unmountOnExit: o
|
|
2721
|
-
}) {
|
|
2722
|
-
const i = ce(null), s = ce(t), c = et(r);
|
|
2723
|
-
ge(() => {
|
|
2724
|
-
t ? s.current = !0 : c(i.current);
|
|
2725
|
-
}, [t, c]);
|
|
2726
|
-
const u = tt(i, e.ref), f = /* @__PURE__ */ rr(e, {
|
|
2727
|
-
ref: u
|
|
2728
|
-
});
|
|
2729
|
-
return t ? f : o || !s.current && n ? null : f;
|
|
2730
|
-
}
|
|
2731
|
-
function Xi({
|
|
2732
|
-
in: e,
|
|
2733
|
-
onTransition: t
|
|
2734
|
-
}) {
|
|
2735
|
-
const r = ce(null), n = ce(!0), o = et(t);
|
|
2736
|
-
return Xt(() => {
|
|
2737
|
-
if (!r.current)
|
|
2738
|
-
return;
|
|
2739
|
-
let i = !1;
|
|
2740
|
-
return o({
|
|
2741
|
-
in: e,
|
|
2742
|
-
element: r.current,
|
|
2743
|
-
initial: n.current,
|
|
2744
|
-
isStale: () => i
|
|
2745
|
-
}), () => {
|
|
2746
|
-
i = !0;
|
|
2747
|
-
};
|
|
2748
|
-
}, [e, o]), Xt(() => (n.current = !1, () => {
|
|
2749
|
-
n.current = !0;
|
|
2750
|
-
}), []), r;
|
|
2751
|
-
}
|
|
2752
|
-
function Zi({
|
|
2753
|
-
children: e,
|
|
2754
|
-
in: t,
|
|
2755
|
-
onExited: r,
|
|
2756
|
-
onEntered: n,
|
|
2757
|
-
transition: o
|
|
2758
|
-
}) {
|
|
2759
|
-
const [i, s] = Ue(!t);
|
|
2760
|
-
t && i && s(!1);
|
|
2761
|
-
const c = Xi({
|
|
2762
|
-
in: !!t,
|
|
2763
|
-
onTransition: (f) => {
|
|
2764
|
-
const l = () => {
|
|
2765
|
-
f.isStale() || (f.in ? n == null || n(f.element, f.initial) : (s(!0), r == null || r(f.element)));
|
|
2766
|
-
};
|
|
2767
|
-
Promise.resolve(o(f)).then(l, (d) => {
|
|
2768
|
-
throw f.in || s(!0), d;
|
|
2769
|
-
});
|
|
2770
|
-
}
|
|
2771
|
-
}), u = tt(c, e.ref);
|
|
2772
|
-
return i && !t ? null : /* @__PURE__ */ rr(e, {
|
|
2773
|
-
ref: u
|
|
2774
|
-
});
|
|
2775
|
-
}
|
|
2776
|
-
function ea(e, t, r) {
|
|
2777
|
-
return e ? /* @__PURE__ */ k.jsx(e, Object.assign({}, r)) : t ? /* @__PURE__ */ k.jsx(Zi, Object.assign({}, r, {
|
|
2778
|
-
transition: t
|
|
2779
|
-
})) : /* @__PURE__ */ k.jsx(Qi, Object.assign({}, r));
|
|
2780
|
-
}
|
|
2781
|
-
const bn = /* @__PURE__ */ ve.forwardRef((e, t) => {
|
|
2782
|
-
const {
|
|
2783
|
-
flip: r,
|
|
2784
|
-
offset: n,
|
|
2785
|
-
placement: o,
|
|
2786
|
-
containerPadding: i,
|
|
2787
|
-
popperConfig: s = {},
|
|
2788
|
-
transition: c,
|
|
2789
|
-
runTransition: u
|
|
2790
|
-
} = e, [f, l] = Br(), [d, h] = Br(), g = tt(l, t), b = Kr(e.container), w = Kr(e.target), [y, T] = Ue(!e.show), x = Bi(w, f, zi({
|
|
2791
|
-
placement: o,
|
|
2792
|
-
enableEvents: !!e.show,
|
|
2793
|
-
containerPadding: i || 5,
|
|
2794
|
-
flip: r,
|
|
2795
|
-
offset: n,
|
|
2796
|
-
arrowElement: d,
|
|
2797
|
-
popperConfig: s
|
|
2798
|
-
}));
|
|
2799
|
-
e.show && y && T(!1);
|
|
2800
|
-
const C = (...Z) => {
|
|
2801
|
-
T(!0), e.onExited && e.onExited(...Z);
|
|
2802
|
-
}, R = e.show || !y;
|
|
2803
|
-
if (Wi(f, e.onHide, {
|
|
2804
|
-
disabled: !e.rootClose || e.rootCloseDisabled,
|
|
2805
|
-
clickTrigger: e.rootCloseEvent
|
|
2806
|
-
}), !R)
|
|
2807
|
-
return null;
|
|
2808
|
-
const {
|
|
2809
|
-
onExit: p,
|
|
2810
|
-
onExiting: S,
|
|
2811
|
-
onEnter: I,
|
|
2812
|
-
onEntering: q,
|
|
2813
|
-
onEntered: Q
|
|
2814
|
-
} = e;
|
|
2815
|
-
let J = e.children(Object.assign({}, x.attributes.popper, {
|
|
2816
|
-
style: x.styles.popper,
|
|
2817
|
-
ref: g
|
|
2818
|
-
}), {
|
|
2819
|
-
popper: x,
|
|
2820
|
-
placement: o,
|
|
2821
|
-
show: !!e.show,
|
|
2822
|
-
arrowProps: Object.assign({}, x.attributes.arrow, {
|
|
2823
|
-
style: x.styles.arrow,
|
|
2824
|
-
ref: h
|
|
2825
|
-
})
|
|
2826
|
-
});
|
|
2827
|
-
return J = ea(c, u, {
|
|
2828
|
-
in: !!e.show,
|
|
2829
|
-
appear: !0,
|
|
2830
|
-
mountOnEnter: !0,
|
|
2831
|
-
unmountOnExit: !0,
|
|
2832
|
-
children: J,
|
|
2833
|
-
onExit: p,
|
|
2834
|
-
onExiting: S,
|
|
2835
|
-
onExited: C,
|
|
2836
|
-
onEnter: I,
|
|
2837
|
-
onEntering: q,
|
|
2838
|
-
onEntered: Q
|
|
2839
|
-
}), b ? /* @__PURE__ */ Ke.createPortal(J, b) : null;
|
|
2840
|
-
});
|
|
2841
|
-
bn.displayName = "Overlay";
|
|
2842
|
-
const ta = bn;
|
|
2843
|
-
function $r(e, t) {
|
|
2844
|
-
return e.classList ? !!t && e.classList.contains(t) : (" " + (e.className.baseVal || e.className) + " ").indexOf(" " + t + " ") !== -1;
|
|
2845
|
-
}
|
|
2846
|
-
const ra = ["xxl", "xl", "lg", "md", "sm", "xs"], na = "xs", wn = /* @__PURE__ */ ve.createContext({
|
|
2847
|
-
prefixes: {},
|
|
2848
|
-
breakpoints: ra,
|
|
2849
|
-
minBreakpoint: na
|
|
2850
|
-
});
|
|
2851
|
-
function Ne(e, t) {
|
|
2852
|
-
const {
|
|
2853
|
-
prefixes: r
|
|
2854
|
-
} = tr(wn);
|
|
2855
|
-
return e || r[t] || t;
|
|
2856
|
-
}
|
|
2857
|
-
function xn() {
|
|
2858
|
-
const {
|
|
2859
|
-
dir: e
|
|
2860
|
-
} = tr(wn);
|
|
2861
|
-
return e === "rtl";
|
|
2862
|
-
}
|
|
2863
|
-
const En = /* @__PURE__ */ ve.forwardRef(({
|
|
2864
|
-
className: e,
|
|
2865
|
-
bsPrefix: t,
|
|
2866
|
-
as: r = "div",
|
|
2867
|
-
...n
|
|
2868
|
-
}, o) => (t = Ne(t, "popover-header"), /* @__PURE__ */ k.jsx(r, {
|
|
2869
|
-
ref: o,
|
|
2870
|
-
className: Ye(e, t),
|
|
2871
|
-
...n
|
|
2872
|
-
})));
|
|
2873
|
-
En.displayName = "PopoverHeader";
|
|
2874
|
-
const oa = En, An = /* @__PURE__ */ ve.forwardRef(({
|
|
2875
|
-
className: e,
|
|
2876
|
-
bsPrefix: t,
|
|
2877
|
-
as: r = "div",
|
|
2878
|
-
...n
|
|
2879
|
-
}, o) => (t = Ne(t, "popover-body"), /* @__PURE__ */ k.jsx(r, {
|
|
2880
|
-
ref: o,
|
|
2881
|
-
className: Ye(e, t),
|
|
2882
|
-
...n
|
|
2883
|
-
})));
|
|
2884
|
-
An.displayName = "PopoverBody";
|
|
2885
|
-
const On = An;
|
|
2886
|
-
function Rn(e, t) {
|
|
2887
|
-
let r = e;
|
|
2888
|
-
return e === "left" ? r = t ? "end" : "start" : e === "right" && (r = t ? "start" : "end"), r;
|
|
2889
|
-
}
|
|
2890
|
-
function Tn(e = "absolute") {
|
|
2891
|
-
return {
|
|
2892
|
-
position: e,
|
|
2893
|
-
top: "0",
|
|
2894
|
-
left: "0",
|
|
2895
|
-
opacity: "0",
|
|
2896
|
-
pointerEvents: "none"
|
|
2897
|
-
};
|
|
2898
|
-
}
|
|
2899
|
-
const ia = /* @__PURE__ */ ve.forwardRef(({
|
|
2900
|
-
bsPrefix: e,
|
|
2901
|
-
placement: t = "right",
|
|
2902
|
-
className: r,
|
|
2903
|
-
style: n,
|
|
2904
|
-
children: o,
|
|
2905
|
-
body: i,
|
|
2906
|
-
arrowProps: s,
|
|
2907
|
-
hasDoneInitialMeasure: c,
|
|
2908
|
-
popper: u,
|
|
2909
|
-
show: f,
|
|
2910
|
-
...l
|
|
2911
|
-
}, d) => {
|
|
2912
|
-
const h = Ne(e, "popover"), g = xn(), [b] = (t == null ? void 0 : t.split("-")) || [], w = Rn(b, g);
|
|
2913
|
-
let y = n;
|
|
2914
|
-
return f && !c && (y = {
|
|
2915
|
-
...n,
|
|
2916
|
-
...Tn(u == null ? void 0 : u.strategy)
|
|
2917
|
-
}), /* @__PURE__ */ k.jsxs("div", {
|
|
2918
|
-
ref: d,
|
|
2919
|
-
role: "tooltip",
|
|
2920
|
-
style: y,
|
|
2921
|
-
"x-placement": b,
|
|
2922
|
-
className: Ye(r, h, b && `bs-popover-${w}`),
|
|
2923
|
-
...l,
|
|
2924
|
-
children: [/* @__PURE__ */ k.jsx("div", {
|
|
2925
|
-
className: "popover-arrow",
|
|
2926
|
-
...s
|
|
2927
|
-
}), i ? /* @__PURE__ */ k.jsx(On, {
|
|
2928
|
-
children: o
|
|
2929
|
-
}) : o]
|
|
2930
|
-
});
|
|
2931
|
-
}), Zt = Object.assign(ia, {
|
|
2932
|
-
Header: oa,
|
|
2933
|
-
Body: On,
|
|
2934
|
-
// Default popover offset.
|
|
2935
|
-
// https://github.com/twbs/bootstrap/blob/5c32767e0e0dbac2d934bcdee03719a65d3f1187/js/src/popover.js#L28
|
|
2936
|
-
POPPER_OFFSET: [0, 8]
|
|
2937
|
-
}), Cn = /* @__PURE__ */ ve.forwardRef(({
|
|
2938
|
-
bsPrefix: e,
|
|
2939
|
-
placement: t = "right",
|
|
2940
|
-
className: r,
|
|
2941
|
-
style: n,
|
|
2942
|
-
children: o,
|
|
2943
|
-
arrowProps: i,
|
|
2944
|
-
hasDoneInitialMeasure: s,
|
|
2945
|
-
popper: c,
|
|
2946
|
-
show: u,
|
|
2947
|
-
...f
|
|
2948
|
-
}, l) => {
|
|
2949
|
-
e = Ne(e, "tooltip");
|
|
2950
|
-
const d = xn(), [h] = (t == null ? void 0 : t.split("-")) || [], g = Rn(h, d);
|
|
2951
|
-
let b = n;
|
|
2952
|
-
return u && !s && (b = {
|
|
2953
|
-
...n,
|
|
2954
|
-
...Tn(c == null ? void 0 : c.strategy)
|
|
2955
|
-
}), /* @__PURE__ */ k.jsxs("div", {
|
|
2956
|
-
ref: l,
|
|
2957
|
-
style: b,
|
|
2958
|
-
role: "tooltip",
|
|
2959
|
-
"x-placement": h,
|
|
2960
|
-
className: Ye(r, e, `bs-tooltip-${g}`),
|
|
2961
|
-
...f,
|
|
2962
|
-
children: [/* @__PURE__ */ k.jsx("div", {
|
|
2963
|
-
className: "tooltip-arrow",
|
|
2964
|
-
...i
|
|
2965
|
-
}), /* @__PURE__ */ k.jsx("div", {
|
|
2966
|
-
className: `${e}-inner`,
|
|
2967
|
-
children: o
|
|
2968
|
-
})]
|
|
2969
|
-
});
|
|
2970
|
-
});
|
|
2971
|
-
Cn.displayName = "Tooltip";
|
|
2972
|
-
const Sn = Object.assign(Cn, {
|
|
2973
|
-
// Default tooltip offset.
|
|
2974
|
-
// https://github.com/twbs/bootstrap/blob/beca2a6c7f6bc88b6449339fc76edcda832c59e5/js/src/tooltip.js#L65
|
|
2975
|
-
TOOLTIP_OFFSET: [0, 6]
|
|
2976
|
-
});
|
|
2977
|
-
function aa(e) {
|
|
2978
|
-
const t = ce(null), r = Ne(void 0, "popover"), n = Ne(void 0, "tooltip"), o = pt(() => ({
|
|
2979
|
-
name: "offset",
|
|
2980
|
-
options: {
|
|
2981
|
-
offset: () => {
|
|
2982
|
-
if (e)
|
|
2983
|
-
return e;
|
|
2984
|
-
if (t.current) {
|
|
2985
|
-
if ($r(t.current, r))
|
|
2986
|
-
return Zt.POPPER_OFFSET;
|
|
2987
|
-
if ($r(t.current, n))
|
|
2988
|
-
return Sn.TOOLTIP_OFFSET;
|
|
2989
|
-
}
|
|
2990
|
-
return [0, 0];
|
|
2991
|
-
}
|
|
2992
|
-
}
|
|
2993
|
-
}), [e, r, n]);
|
|
2994
|
-
return [t, [o]];
|
|
2995
|
-
}
|
|
2996
|
-
const Qr = {
|
|
2997
|
-
disabled: !1
|
|
2998
|
-
};
|
|
2999
|
-
var sa = process.env.NODE_ENV !== "production" ? N.oneOfType([N.number, N.shape({
|
|
3000
|
-
enter: N.number,
|
|
3001
|
-
exit: N.number,
|
|
3002
|
-
appear: N.number
|
|
3003
|
-
}).isRequired]) : null;
|
|
3004
|
-
process.env.NODE_ENV !== "production" && N.oneOfType([N.string, N.shape({
|
|
3005
|
-
enter: N.string,
|
|
3006
|
-
exit: N.string,
|
|
3007
|
-
active: N.string
|
|
3008
|
-
}), N.shape({
|
|
3009
|
-
enter: N.string,
|
|
3010
|
-
enterDone: N.string,
|
|
3011
|
-
enterActive: N.string,
|
|
3012
|
-
exit: N.string,
|
|
3013
|
-
exitDone: N.string,
|
|
3014
|
-
exitActive: N.string
|
|
3015
|
-
})]);
|
|
3016
|
-
const kn = Te.createContext(null);
|
|
3017
|
-
var ca = function(t) {
|
|
3018
|
-
return t.scrollTop;
|
|
3019
|
-
}, ut = "unmounted", Be = "exited", je = "entering", Fe = "entered", er = "exiting", Se = /* @__PURE__ */ function(e) {
|
|
3020
|
-
Oo(t, e);
|
|
3021
|
-
function t(n, o) {
|
|
3022
|
-
var i;
|
|
3023
|
-
i = e.call(this, n, o) || this;
|
|
3024
|
-
var s = o, c = s && !s.isMounting ? n.enter : n.appear, u;
|
|
3025
|
-
return i.appearStatus = null, n.in ? c ? (u = Be, i.appearStatus = je) : u = Fe : n.unmountOnExit || n.mountOnEnter ? u = ut : u = Be, i.state = {
|
|
3026
|
-
status: u
|
|
3027
|
-
}, i.nextCallback = null, i;
|
|
3028
|
-
}
|
|
3029
|
-
t.getDerivedStateFromProps = function(o, i) {
|
|
3030
|
-
var s = o.in;
|
|
3031
|
-
return s && i.status === ut ? {
|
|
3032
|
-
status: Be
|
|
3033
|
-
} : null;
|
|
3034
|
-
};
|
|
3035
|
-
var r = t.prototype;
|
|
3036
|
-
return r.componentDidMount = function() {
|
|
3037
|
-
this.updateStatus(!0, this.appearStatus);
|
|
3038
|
-
}, r.componentDidUpdate = function(o) {
|
|
3039
|
-
var i = null;
|
|
3040
|
-
if (o !== this.props) {
|
|
3041
|
-
var s = this.state.status;
|
|
3042
|
-
this.props.in ? s !== je && s !== Fe && (i = je) : (s === je || s === Fe) && (i = er);
|
|
3043
|
-
}
|
|
3044
|
-
this.updateStatus(!1, i);
|
|
3045
|
-
}, r.componentWillUnmount = function() {
|
|
3046
|
-
this.cancelNextCallback();
|
|
3047
|
-
}, r.getTimeouts = function() {
|
|
3048
|
-
var o = this.props.timeout, i, s, c;
|
|
3049
|
-
return i = s = c = o, o != null && typeof o != "number" && (i = o.exit, s = o.enter, c = o.appear !== void 0 ? o.appear : s), {
|
|
3050
|
-
exit: i,
|
|
3051
|
-
enter: s,
|
|
3052
|
-
appear: c
|
|
3053
|
-
};
|
|
3054
|
-
}, r.updateStatus = function(o, i) {
|
|
3055
|
-
if (o === void 0 && (o = !1), i !== null)
|
|
3056
|
-
if (this.cancelNextCallback(), i === je) {
|
|
3057
|
-
if (this.props.unmountOnExit || this.props.mountOnEnter) {
|
|
3058
|
-
var s = this.props.nodeRef ? this.props.nodeRef.current : Ke.findDOMNode(this);
|
|
3059
|
-
s && ca(s);
|
|
3060
|
-
}
|
|
3061
|
-
this.performEnter(o);
|
|
3062
|
-
} else
|
|
3063
|
-
this.performExit();
|
|
3064
|
-
else
|
|
3065
|
-
this.props.unmountOnExit && this.state.status === Be && this.setState({
|
|
3066
|
-
status: ut
|
|
3067
|
-
});
|
|
3068
|
-
}, r.performEnter = function(o) {
|
|
3069
|
-
var i = this, s = this.props.enter, c = this.context ? this.context.isMounting : o, u = this.props.nodeRef ? [c] : [Ke.findDOMNode(this), c], f = u[0], l = u[1], d = this.getTimeouts(), h = c ? d.appear : d.enter;
|
|
3070
|
-
if (!o && !s || Qr.disabled) {
|
|
3071
|
-
this.safeSetState({
|
|
3072
|
-
status: Fe
|
|
3073
|
-
}, function() {
|
|
3074
|
-
i.props.onEntered(f);
|
|
3075
|
-
});
|
|
3076
|
-
return;
|
|
3077
|
-
}
|
|
3078
|
-
this.props.onEnter(f, l), this.safeSetState({
|
|
3079
|
-
status: je
|
|
3080
|
-
}, function() {
|
|
3081
|
-
i.props.onEntering(f, l), i.onTransitionEnd(h, function() {
|
|
3082
|
-
i.safeSetState({
|
|
3083
|
-
status: Fe
|
|
3084
|
-
}, function() {
|
|
3085
|
-
i.props.onEntered(f, l);
|
|
3086
|
-
});
|
|
3087
|
-
});
|
|
3088
|
-
});
|
|
3089
|
-
}, r.performExit = function() {
|
|
3090
|
-
var o = this, i = this.props.exit, s = this.getTimeouts(), c = this.props.nodeRef ? void 0 : Ke.findDOMNode(this);
|
|
3091
|
-
if (!i || Qr.disabled) {
|
|
3092
|
-
this.safeSetState({
|
|
3093
|
-
status: Be
|
|
3094
|
-
}, function() {
|
|
3095
|
-
o.props.onExited(c);
|
|
3096
|
-
});
|
|
3097
|
-
return;
|
|
3098
|
-
}
|
|
3099
|
-
this.props.onExit(c), this.safeSetState({
|
|
3100
|
-
status: er
|
|
3101
|
-
}, function() {
|
|
3102
|
-
o.props.onExiting(c), o.onTransitionEnd(s.exit, function() {
|
|
3103
|
-
o.safeSetState({
|
|
3104
|
-
status: Be
|
|
3105
|
-
}, function() {
|
|
3106
|
-
o.props.onExited(c);
|
|
3107
|
-
});
|
|
3108
|
-
});
|
|
3109
|
-
});
|
|
3110
|
-
}, r.cancelNextCallback = function() {
|
|
3111
|
-
this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
|
|
3112
|
-
}, r.safeSetState = function(o, i) {
|
|
3113
|
-
i = this.setNextCallback(i), this.setState(o, i);
|
|
3114
|
-
}, r.setNextCallback = function(o) {
|
|
3115
|
-
var i = this, s = !0;
|
|
3116
|
-
return this.nextCallback = function(c) {
|
|
3117
|
-
s && (s = !1, i.nextCallback = null, o(c));
|
|
3118
|
-
}, this.nextCallback.cancel = function() {
|
|
3119
|
-
s = !1;
|
|
3120
|
-
}, this.nextCallback;
|
|
3121
|
-
}, r.onTransitionEnd = function(o, i) {
|
|
3122
|
-
this.setNextCallback(i);
|
|
3123
|
-
var s = this.props.nodeRef ? this.props.nodeRef.current : Ke.findDOMNode(this), c = o == null && !this.props.addEndListener;
|
|
3124
|
-
if (!s || c) {
|
|
3125
|
-
setTimeout(this.nextCallback, 0);
|
|
3126
|
-
return;
|
|
3127
|
-
}
|
|
3128
|
-
if (this.props.addEndListener) {
|
|
3129
|
-
var u = this.props.nodeRef ? [this.nextCallback] : [s, this.nextCallback], f = u[0], l = u[1];
|
|
3130
|
-
this.props.addEndListener(f, l);
|
|
3131
|
-
}
|
|
3132
|
-
o != null && setTimeout(this.nextCallback, o);
|
|
3133
|
-
}, r.render = function() {
|
|
3134
|
-
var o = this.state.status;
|
|
3135
|
-
if (o === ut)
|
|
3136
|
-
return null;
|
|
3137
|
-
var i = this.props, s = i.children;
|
|
3138
|
-
i.in, i.mountOnEnter, i.unmountOnExit, i.appear, i.enter, i.exit, i.timeout, i.addEndListener, i.onEnter, i.onEntering, i.onEntered, i.onExit, i.onExiting, i.onExited, i.nodeRef;
|
|
3139
|
-
var c = Eo(i, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
3140
|
-
return (
|
|
3141
|
-
// allows for nested Transitions
|
|
3142
|
-
/* @__PURE__ */ Te.createElement(kn.Provider, {
|
|
3143
|
-
value: null
|
|
3144
|
-
}, typeof s == "function" ? s(o, c) : Te.cloneElement(Te.Children.only(s), c))
|
|
3145
|
-
);
|
|
3146
|
-
}, t;
|
|
3147
|
-
}(Te.Component);
|
|
3148
|
-
Se.contextType = kn;
|
|
3149
|
-
Se.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
3150
|
-
/**
|
|
3151
|
-
* A React reference to DOM element that need to transition:
|
|
3152
|
-
* https://stackoverflow.com/a/51127130/4671932
|
|
3153
|
-
*
|
|
3154
|
-
* - When `nodeRef` prop is used, `node` is not passed to callback functions
|
|
3155
|
-
* (e.g. `onEnter`) because user already has direct access to the node.
|
|
3156
|
-
* - When changing `key` prop of `Transition` in a `TransitionGroup` a new
|
|
3157
|
-
* `nodeRef` need to be provided to `Transition` with changed `key` prop
|
|
3158
|
-
* (see
|
|
3159
|
-
* [test/CSSTransition-test.js](https://github.com/reactjs/react-transition-group/blob/13435f897b3ab71f6e19d724f145596f5910581c/test/CSSTransition-test.js#L362-L437)).
|
|
3160
|
-
*/
|
|
3161
|
-
nodeRef: N.shape({
|
|
3162
|
-
current: typeof Element > "u" ? N.any : function(e, t, r, n, o, i) {
|
|
3163
|
-
var s = e[t];
|
|
3164
|
-
return N.instanceOf(s && "ownerDocument" in s ? s.ownerDocument.defaultView.Element : Element)(e, t, r, n, o, i);
|
|
3165
|
-
}
|
|
3166
|
-
}),
|
|
3167
|
-
/**
|
|
3168
|
-
* A `function` child can be used instead of a React element. This function is
|
|
3169
|
-
* called with the current transition status (`'entering'`, `'entered'`,
|
|
3170
|
-
* `'exiting'`, `'exited'`), which can be used to apply context
|
|
3171
|
-
* specific props to a component.
|
|
3172
|
-
*
|
|
3173
|
-
* ```jsx
|
|
3174
|
-
* <Transition in={this.state.in} timeout={150}>
|
|
3175
|
-
* {state => (
|
|
3176
|
-
* <MyComponent className={`fade fade-${state}`} />
|
|
3177
|
-
* )}
|
|
3178
|
-
* </Transition>
|
|
3179
|
-
* ```
|
|
3180
|
-
*/
|
|
3181
|
-
children: N.oneOfType([N.func.isRequired, N.element.isRequired]).isRequired,
|
|
3182
|
-
/**
|
|
3183
|
-
* Show the component; triggers the enter or exit states
|
|
3184
|
-
*/
|
|
3185
|
-
in: N.bool,
|
|
3186
|
-
/**
|
|
3187
|
-
* By default the child component is mounted immediately along with
|
|
3188
|
-
* the parent `Transition` component. If you want to "lazy mount" the component on the
|
|
3189
|
-
* first `in={true}` you can set `mountOnEnter`. After the first enter transition the component will stay
|
|
3190
|
-
* mounted, even on "exited", unless you also specify `unmountOnExit`.
|
|
3191
|
-
*/
|
|
3192
|
-
mountOnEnter: N.bool,
|
|
3193
|
-
/**
|
|
3194
|
-
* By default the child component stays mounted after it reaches the `'exited'` state.
|
|
3195
|
-
* Set `unmountOnExit` if you'd prefer to unmount the component after it finishes exiting.
|
|
3196
|
-
*/
|
|
3197
|
-
unmountOnExit: N.bool,
|
|
3198
|
-
/**
|
|
3199
|
-
* By default the child component does not perform the enter transition when
|
|
3200
|
-
* it first mounts, regardless of the value of `in`. If you want this
|
|
3201
|
-
* behavior, set both `appear` and `in` to `true`.
|
|
3202
|
-
*
|
|
3203
|
-
* > **Note**: there are no special appear states like `appearing`/`appeared`, this prop
|
|
3204
|
-
* > only adds an additional enter transition. However, in the
|
|
3205
|
-
* > `<CSSTransition>` component that first enter transition does result in
|
|
3206
|
-
* > additional `.appear-*` classes, that way you can choose to style it
|
|
3207
|
-
* > differently.
|
|
3208
|
-
*/
|
|
3209
|
-
appear: N.bool,
|
|
3210
|
-
/**
|
|
3211
|
-
* Enable or disable enter transitions.
|
|
3212
|
-
*/
|
|
3213
|
-
enter: N.bool,
|
|
3214
|
-
/**
|
|
3215
|
-
* Enable or disable exit transitions.
|
|
3216
|
-
*/
|
|
3217
|
-
exit: N.bool,
|
|
3218
|
-
/**
|
|
3219
|
-
* The duration of the transition, in milliseconds.
|
|
3220
|
-
* Required unless `addEndListener` is provided.
|
|
3221
|
-
*
|
|
3222
|
-
* You may specify a single timeout for all transitions:
|
|
3223
|
-
*
|
|
3224
|
-
* ```jsx
|
|
3225
|
-
* timeout={500}
|
|
3226
|
-
* ```
|
|
3227
|
-
*
|
|
3228
|
-
* or individually:
|
|
3229
|
-
*
|
|
3230
|
-
* ```jsx
|
|
3231
|
-
* timeout={{
|
|
3232
|
-
* appear: 500,
|
|
3233
|
-
* enter: 300,
|
|
3234
|
-
* exit: 500,
|
|
3235
|
-
* }}
|
|
3236
|
-
* ```
|
|
3237
|
-
*
|
|
3238
|
-
* - `appear` defaults to the value of `enter`
|
|
3239
|
-
* - `enter` defaults to `0`
|
|
3240
|
-
* - `exit` defaults to `0`
|
|
3241
|
-
*
|
|
3242
|
-
* @type {number | { enter?: number, exit?: number, appear?: number }}
|
|
3243
|
-
*/
|
|
3244
|
-
timeout: function(t) {
|
|
3245
|
-
var r = sa;
|
|
3246
|
-
t.addEndListener || (r = r.isRequired);
|
|
3247
|
-
for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
|
|
3248
|
-
o[i - 1] = arguments[i];
|
|
3249
|
-
return r.apply(void 0, [t].concat(o));
|
|
3250
|
-
},
|
|
3251
|
-
/**
|
|
3252
|
-
* Add a custom transition end trigger. Called with the transitioning
|
|
3253
|
-
* DOM node and a `done` callback. Allows for more fine grained transition end
|
|
3254
|
-
* logic. Timeouts are still used as a fallback if provided.
|
|
3255
|
-
*
|
|
3256
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3257
|
-
*
|
|
3258
|
-
* ```jsx
|
|
3259
|
-
* addEndListener={(node, done) => {
|
|
3260
|
-
* // use the css transitionend event to mark the finish of a transition
|
|
3261
|
-
* node.addEventListener('transitionend', done, false);
|
|
3262
|
-
* }}
|
|
3263
|
-
* ```
|
|
3264
|
-
*/
|
|
3265
|
-
addEndListener: N.func,
|
|
3266
|
-
/**
|
|
3267
|
-
* Callback fired before the "entering" status is applied. An extra parameter
|
|
3268
|
-
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
3269
|
-
*
|
|
3270
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3271
|
-
*
|
|
3272
|
-
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
3273
|
-
*/
|
|
3274
|
-
onEnter: N.func,
|
|
3275
|
-
/**
|
|
3276
|
-
* Callback fired after the "entering" status is applied. An extra parameter
|
|
3277
|
-
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
3278
|
-
*
|
|
3279
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3280
|
-
*
|
|
3281
|
-
* @type Function(node: HtmlElement, isAppearing: bool)
|
|
3282
|
-
*/
|
|
3283
|
-
onEntering: N.func,
|
|
3284
|
-
/**
|
|
3285
|
-
* Callback fired after the "entered" status is applied. An extra parameter
|
|
3286
|
-
* `isAppearing` is supplied to indicate if the enter stage is occurring on the initial mount
|
|
3287
|
-
*
|
|
3288
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3289
|
-
*
|
|
3290
|
-
* @type Function(node: HtmlElement, isAppearing: bool) -> void
|
|
3291
|
-
*/
|
|
3292
|
-
onEntered: N.func,
|
|
3293
|
-
/**
|
|
3294
|
-
* Callback fired before the "exiting" status is applied.
|
|
3295
|
-
*
|
|
3296
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3297
|
-
*
|
|
3298
|
-
* @type Function(node: HtmlElement) -> void
|
|
3299
|
-
*/
|
|
3300
|
-
onExit: N.func,
|
|
3301
|
-
/**
|
|
3302
|
-
* Callback fired after the "exiting" status is applied.
|
|
3303
|
-
*
|
|
3304
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed.
|
|
3305
|
-
*
|
|
3306
|
-
* @type Function(node: HtmlElement) -> void
|
|
3307
|
-
*/
|
|
3308
|
-
onExiting: N.func,
|
|
3309
|
-
/**
|
|
3310
|
-
* Callback fired after the "exited" status is applied.
|
|
3311
|
-
*
|
|
3312
|
-
* **Note**: when `nodeRef` prop is passed, `node` is not passed
|
|
3313
|
-
*
|
|
3314
|
-
* @type Function(node: HtmlElement) -> void
|
|
3315
|
-
*/
|
|
3316
|
-
onExited: N.func
|
|
3317
|
-
} : {};
|
|
3318
|
-
function ze() {
|
|
3319
|
-
}
|
|
3320
|
-
Se.defaultProps = {
|
|
3321
|
-
in: !1,
|
|
3322
|
-
mountOnEnter: !1,
|
|
3323
|
-
unmountOnExit: !1,
|
|
3324
|
-
appear: !1,
|
|
3325
|
-
enter: !0,
|
|
3326
|
-
exit: !0,
|
|
3327
|
-
onEnter: ze,
|
|
3328
|
-
onEntering: ze,
|
|
3329
|
-
onEntered: ze,
|
|
3330
|
-
onExit: ze,
|
|
3331
|
-
onExiting: ze,
|
|
3332
|
-
onExited: ze
|
|
3333
|
-
};
|
|
3334
|
-
Se.UNMOUNTED = ut;
|
|
3335
|
-
Se.EXITED = Be;
|
|
3336
|
-
Se.ENTERING = je;
|
|
3337
|
-
Se.ENTERED = Fe;
|
|
3338
|
-
Se.EXITING = er;
|
|
3339
|
-
const ua = Se;
|
|
3340
|
-
function la(e) {
|
|
3341
|
-
var t = Pt(e);
|
|
3342
|
-
return t && t.defaultView || window;
|
|
3343
|
-
}
|
|
3344
|
-
function fa(e, t) {
|
|
3345
|
-
return la(e).getComputedStyle(e, t);
|
|
3346
|
-
}
|
|
3347
|
-
var da = /([A-Z])/g;
|
|
3348
|
-
function pa(e) {
|
|
3349
|
-
return e.replace(da, "-$1").toLowerCase();
|
|
3350
|
-
}
|
|
3351
|
-
var va = /^ms-/;
|
|
3352
|
-
function Ot(e) {
|
|
3353
|
-
return pa(e).replace(va, "-ms-");
|
|
3354
|
-
}
|
|
3355
|
-
var ma = /^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;
|
|
3356
|
-
function ha(e) {
|
|
3357
|
-
return !!(e && ma.test(e));
|
|
3358
|
-
}
|
|
3359
|
-
function Pn(e, t) {
|
|
3360
|
-
var r = "", n = "";
|
|
3361
|
-
if (typeof t == "string")
|
|
3362
|
-
return e.style.getPropertyValue(Ot(t)) || fa(e).getPropertyValue(Ot(t));
|
|
3363
|
-
Object.keys(t).forEach(function(o) {
|
|
3364
|
-
var i = t[o];
|
|
3365
|
-
!i && i !== 0 ? e.style.removeProperty(Ot(o)) : ha(o) ? n += o + "(" + i + ") " : r += Ot(o) + ": " + i + ";";
|
|
3366
|
-
}), n && (r += "transform: " + n + ";"), e.style.cssText += ";" + r;
|
|
3367
|
-
}
|
|
3368
|
-
function ya(e, t, r, n) {
|
|
3369
|
-
if (r === void 0 && (r = !1), n === void 0 && (n = !0), e) {
|
|
3370
|
-
var o = document.createEvent("HTMLEvents");
|
|
3371
|
-
o.initEvent(t, r, n), e.dispatchEvent(o);
|
|
3372
|
-
}
|
|
3373
|
-
}
|
|
3374
|
-
function ga(e) {
|
|
3375
|
-
var t = Pn(e, "transitionDuration") || "", r = t.indexOf("ms") === -1 ? 1e3 : 1;
|
|
3376
|
-
return parseFloat(t) * r;
|
|
3377
|
-
}
|
|
3378
|
-
function ba(e, t, r) {
|
|
3379
|
-
r === void 0 && (r = 5);
|
|
3380
|
-
var n = !1, o = setTimeout(function() {
|
|
3381
|
-
n || ya(e, "transitionend", !0);
|
|
3382
|
-
}, t + r), i = Ie(e, "transitionend", function() {
|
|
3383
|
-
n = !0;
|
|
3384
|
-
}, {
|
|
3385
|
-
once: !0
|
|
3386
|
-
});
|
|
3387
|
-
return function() {
|
|
3388
|
-
clearTimeout(o), i();
|
|
3389
|
-
};
|
|
3390
|
-
}
|
|
3391
|
-
function wa(e, t, r, n) {
|
|
3392
|
-
r == null && (r = ga(e) || 0);
|
|
3393
|
-
var o = ba(e, r, n), i = Ie(e, "transitionend", t);
|
|
3394
|
-
return function() {
|
|
3395
|
-
o(), i();
|
|
3396
|
-
};
|
|
3397
|
-
}
|
|
3398
|
-
function Xr(e, t) {
|
|
3399
|
-
const r = Pn(e, t) || "", n = r.indexOf("ms") === -1 ? 1e3 : 1;
|
|
3400
|
-
return parseFloat(r) * n;
|
|
3401
|
-
}
|
|
3402
|
-
function xa(e, t) {
|
|
3403
|
-
const r = Xr(e, "transitionDuration"), n = Xr(e, "transitionDelay"), o = wa(e, (i) => {
|
|
3404
|
-
i.target === e && (o(), t(i));
|
|
3405
|
-
}, r + n);
|
|
3406
|
-
}
|
|
3407
|
-
function Ea(e) {
|
|
3408
|
-
e.offsetHeight;
|
|
3409
|
-
}
|
|
3410
|
-
function St(e) {
|
|
3411
|
-
return e && "setState" in e ? Ke.findDOMNode(e) : e ?? null;
|
|
3412
|
-
}
|
|
3413
|
-
const Aa = /* @__PURE__ */ Te.forwardRef(({
|
|
3414
|
-
onEnter: e,
|
|
3415
|
-
onEntering: t,
|
|
3416
|
-
onEntered: r,
|
|
3417
|
-
onExit: n,
|
|
3418
|
-
onExiting: o,
|
|
3419
|
-
onExited: i,
|
|
3420
|
-
addEndListener: s,
|
|
3421
|
-
children: c,
|
|
3422
|
-
childRef: u,
|
|
3423
|
-
...f
|
|
3424
|
-
}, l) => {
|
|
3425
|
-
const d = ce(null), h = tt(d, u), g = (S) => {
|
|
3426
|
-
h(St(S));
|
|
3427
|
-
}, b = (S) => (I) => {
|
|
3428
|
-
S && d.current && S(d.current, I);
|
|
3429
|
-
}, w = oe(b(e), [e]), y = oe(b(t), [t]), T = oe(b(r), [r]), x = oe(b(n), [n]), C = oe(b(o), [o]), R = oe(b(i), [i]), p = oe(b(s), [s]);
|
|
3430
|
-
return /* @__PURE__ */ k.jsx(ua, {
|
|
3431
|
-
ref: l,
|
|
3432
|
-
...f,
|
|
3433
|
-
onEnter: w,
|
|
3434
|
-
onEntered: T,
|
|
3435
|
-
onEntering: y,
|
|
3436
|
-
onExit: x,
|
|
3437
|
-
onExited: R,
|
|
3438
|
-
onExiting: C,
|
|
3439
|
-
addEndListener: p,
|
|
3440
|
-
nodeRef: d,
|
|
3441
|
-
children: typeof c == "function" ? (S, I) => (
|
|
3442
|
-
// TODO: Types for RTG missing innerProps, so need to cast.
|
|
3443
|
-
c(S, {
|
|
3444
|
-
...I,
|
|
3445
|
-
ref: g
|
|
3446
|
-
})
|
|
3447
|
-
) : /* @__PURE__ */ Te.cloneElement(c, {
|
|
3448
|
-
ref: g
|
|
3449
|
-
})
|
|
3450
|
-
});
|
|
3451
|
-
}), Oa = Aa, Ra = {
|
|
3452
|
-
[je]: "show",
|
|
3453
|
-
[Fe]: "show"
|
|
3454
|
-
}, jn = /* @__PURE__ */ ve.forwardRef(({
|
|
3455
|
-
className: e,
|
|
3456
|
-
children: t,
|
|
3457
|
-
transitionClasses: r = {},
|
|
3458
|
-
onEnter: n,
|
|
3459
|
-
...o
|
|
3460
|
-
}, i) => {
|
|
3461
|
-
const s = {
|
|
3462
|
-
in: !1,
|
|
3463
|
-
timeout: 300,
|
|
3464
|
-
mountOnEnter: !1,
|
|
3465
|
-
unmountOnExit: !1,
|
|
3466
|
-
appear: !1,
|
|
3467
|
-
...o
|
|
3468
|
-
}, c = oe((u, f) => {
|
|
3469
|
-
Ea(u), n == null || n(u, f);
|
|
3470
|
-
}, [n]);
|
|
3471
|
-
return /* @__PURE__ */ k.jsx(Oa, {
|
|
3472
|
-
ref: i,
|
|
3473
|
-
addEndListener: xa,
|
|
3474
|
-
...s,
|
|
3475
|
-
onEnter: c,
|
|
3476
|
-
childRef: t.ref,
|
|
3477
|
-
children: (u, f) => /* @__PURE__ */ ve.cloneElement(t, {
|
|
3478
|
-
...f,
|
|
3479
|
-
className: Ye("fade", e, t.props.className, Ra[u], r[u])
|
|
3480
|
-
})
|
|
3481
|
-
});
|
|
3482
|
-
});
|
|
3483
|
-
jn.displayName = "Fade";
|
|
3484
|
-
const Zr = jn;
|
|
3485
|
-
function Ta(e, t) {
|
|
3486
|
-
const {
|
|
3487
|
-
ref: r
|
|
3488
|
-
} = e, {
|
|
3489
|
-
ref: n
|
|
3490
|
-
} = t;
|
|
3491
|
-
e.ref = r.__wrapped || (r.__wrapped = (o) => r(St(o))), t.ref = n.__wrapped || (n.__wrapped = (o) => n(St(o)));
|
|
3492
|
-
}
|
|
3493
|
-
const Dn = /* @__PURE__ */ ve.forwardRef(({
|
|
3494
|
-
children: e,
|
|
3495
|
-
transition: t = Zr,
|
|
3496
|
-
popperConfig: r = {},
|
|
3497
|
-
rootClose: n = !1,
|
|
3498
|
-
placement: o = "top",
|
|
3499
|
-
show: i = !1,
|
|
3500
|
-
...s
|
|
3501
|
-
}, c) => {
|
|
3502
|
-
const u = ce({}), [f, l] = Ue(null), [d, h] = aa(s.offset), g = tt(c, d), b = t === !0 ? Zr : t || void 0, w = et((y) => {
|
|
3503
|
-
l(y), r == null || r.onFirstUpdate == null || r.onFirstUpdate(y);
|
|
3504
|
-
});
|
|
3505
|
-
return Xt(() => {
|
|
3506
|
-
f && s.target && (u.current.scheduleUpdate == null || u.current.scheduleUpdate());
|
|
3507
|
-
}, [f, s.target]), ge(() => {
|
|
3508
|
-
i || l(null);
|
|
3509
|
-
}, [i]), /* @__PURE__ */ k.jsx(ta, {
|
|
3510
|
-
...s,
|
|
3511
|
-
ref: g,
|
|
3512
|
-
popperConfig: {
|
|
3513
|
-
...r,
|
|
3514
|
-
modifiers: h.concat(r.modifiers || []),
|
|
3515
|
-
onFirstUpdate: w
|
|
3516
|
-
},
|
|
3517
|
-
transition: b,
|
|
3518
|
-
rootClose: n,
|
|
3519
|
-
placement: o,
|
|
3520
|
-
show: i,
|
|
3521
|
-
children: (y, {
|
|
3522
|
-
arrowProps: T,
|
|
3523
|
-
popper: x,
|
|
3524
|
-
show: C
|
|
3525
|
-
}) => {
|
|
3526
|
-
var R, p;
|
|
3527
|
-
Ta(y, T);
|
|
3528
|
-
const S = x == null ? void 0 : x.placement, I = Object.assign(u.current, {
|
|
3529
|
-
state: x == null ? void 0 : x.state,
|
|
3530
|
-
scheduleUpdate: x == null ? void 0 : x.update,
|
|
3531
|
-
placement: S,
|
|
3532
|
-
outOfBoundaries: (x == null || (R = x.state) == null || (p = R.modifiersData.hide) == null ? void 0 : p.isReferenceHidden) || !1,
|
|
3533
|
-
strategy: r.strategy
|
|
3534
|
-
}), q = !!f;
|
|
3535
|
-
return typeof e == "function" ? e({
|
|
3536
|
-
...y,
|
|
3537
|
-
placement: S,
|
|
3538
|
-
show: C,
|
|
3539
|
-
...!t && C && {
|
|
3540
|
-
className: "show"
|
|
3541
|
-
},
|
|
3542
|
-
popper: I,
|
|
3543
|
-
arrowProps: T,
|
|
3544
|
-
hasDoneInitialMeasure: q
|
|
3545
|
-
}) : /* @__PURE__ */ ve.cloneElement(e, {
|
|
3546
|
-
...y,
|
|
3547
|
-
placement: S,
|
|
3548
|
-
arrowProps: T,
|
|
3549
|
-
popper: I,
|
|
3550
|
-
hasDoneInitialMeasure: q,
|
|
3551
|
-
className: Ye(e.props.className, !t && C && "show"),
|
|
3552
|
-
style: {
|
|
3553
|
-
...e.props.style,
|
|
3554
|
-
...y.style
|
|
3555
|
-
}
|
|
3556
|
-
});
|
|
3557
|
-
}
|
|
3558
|
-
});
|
|
3559
|
-
});
|
|
3560
|
-
Dn.displayName = "Overlay";
|
|
3561
|
-
const Ca = Dn;
|
|
3562
|
-
function Sa(e) {
|
|
3563
|
-
return e && typeof e == "object" ? e : {
|
|
3564
|
-
show: e,
|
|
3565
|
-
hide: e
|
|
3566
|
-
};
|
|
3567
|
-
}
|
|
3568
|
-
function en(e, t, r) {
|
|
3569
|
-
const [n] = t, o = n.currentTarget, i = n.relatedTarget || n.nativeEvent[r];
|
|
3570
|
-
(!i || i !== o) && !Wt(o, i) && e(...t);
|
|
3571
|
-
}
|
|
3572
|
-
N.oneOf(["click", "hover", "focus"]);
|
|
3573
|
-
const ka = ({
|
|
3574
|
-
trigger: e = ["hover", "focus"],
|
|
3575
|
-
overlay: t,
|
|
3576
|
-
children: r,
|
|
3577
|
-
popperConfig: n = {},
|
|
3578
|
-
show: o,
|
|
3579
|
-
defaultShow: i = !1,
|
|
3580
|
-
onToggle: s,
|
|
3581
|
-
delay: c,
|
|
3582
|
-
placement: u,
|
|
3583
|
-
flip: f = u && u.indexOf("auto") !== -1,
|
|
3584
|
-
...l
|
|
3585
|
-
}) => {
|
|
3586
|
-
const d = ce(null), h = tt(d, r.ref), g = go(), b = ce(""), [w, y] = Ao(o, i, s), T = Sa(c), {
|
|
3587
|
-
onFocus: x,
|
|
3588
|
-
onBlur: C,
|
|
3589
|
-
onClick: R
|
|
3590
|
-
} = typeof r != "function" ? ve.Children.only(r).props : {}, p = (X) => {
|
|
3591
|
-
h(St(X));
|
|
3592
|
-
}, S = oe(() => {
|
|
3593
|
-
if (g.clear(), b.current = "show", !T.show) {
|
|
3594
|
-
y(!0);
|
|
3595
|
-
return;
|
|
3596
|
-
}
|
|
3597
|
-
g.set(() => {
|
|
3598
|
-
b.current === "show" && y(!0);
|
|
3599
|
-
}, T.show);
|
|
3600
|
-
}, [T.show, y, g]), I = oe(() => {
|
|
3601
|
-
if (g.clear(), b.current = "hide", !T.hide) {
|
|
3602
|
-
y(!1);
|
|
3603
|
-
return;
|
|
3604
|
-
}
|
|
3605
|
-
g.set(() => {
|
|
3606
|
-
b.current === "hide" && y(!1);
|
|
3607
|
-
}, T.hide);
|
|
3608
|
-
}, [T.hide, y, g]), q = oe((...X) => {
|
|
3609
|
-
S(), x == null || x(...X);
|
|
3610
|
-
}, [S, x]), Q = oe((...X) => {
|
|
3611
|
-
I(), C == null || C(...X);
|
|
3612
|
-
}, [I, C]), J = oe((...X) => {
|
|
3613
|
-
y(!w), R == null || R(...X);
|
|
3614
|
-
}, [R, y, w]), Z = oe((...X) => {
|
|
3615
|
-
en(S, X, "fromElement");
|
|
3616
|
-
}, [S]), ie = oe((...X) => {
|
|
3617
|
-
en(I, X, "toElement");
|
|
3618
|
-
}, [I]), V = e == null ? [] : [].concat(e), z = {
|
|
3619
|
-
ref: p
|
|
3620
|
-
};
|
|
3621
|
-
return V.indexOf("click") !== -1 && (z.onClick = J), V.indexOf("focus") !== -1 && (z.onFocus = q, z.onBlur = Q), V.indexOf("hover") !== -1 && (process.env.NODE_ENV !== "production" && sn(V.length > 1, '[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'), z.onMouseOver = Z, z.onMouseOut = ie), /* @__PURE__ */ k.jsxs(k.Fragment, {
|
|
3622
|
-
children: [typeof r == "function" ? r(z) : /* @__PURE__ */ rr(r, z), /* @__PURE__ */ k.jsx(Ca, {
|
|
3623
|
-
...l,
|
|
3624
|
-
show: w,
|
|
3625
|
-
onHide: I,
|
|
3626
|
-
flip: f,
|
|
3627
|
-
placement: u,
|
|
3628
|
-
popperConfig: n,
|
|
3629
|
-
target: d.current,
|
|
3630
|
-
children: t
|
|
3631
|
-
})]
|
|
3632
|
-
});
|
|
3633
|
-
}, pr = ka, Pa = "_help_button_1s4g5_1", ja = {
|
|
3634
|
-
help_button: Pa
|
|
3635
|
-
};
|
|
3636
|
-
function Ga(e) {
|
|
3637
|
-
return /* @__PURE__ */ k.jsx(
|
|
3638
|
-
pr,
|
|
3639
|
-
{
|
|
3640
|
-
trigger: "click",
|
|
3641
|
-
rootClose: !0,
|
|
3642
|
-
placement: e.placement,
|
|
3643
|
-
overlay: e.popover,
|
|
3644
|
-
children: /* @__PURE__ */ k.jsx("div", { className: ja.help_button, children: "?" })
|
|
3645
|
-
}
|
|
3646
|
-
);
|
|
3647
|
-
}
|
|
3648
|
-
const Da = "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20xmlns:dc='http://purl.org/dc/elements/1.1/'%20xmlns:cc='http://creativecommons.org/ns%23'%20xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns%23'%20xmlns:svg='http://www.w3.org/2000/svg'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:sodipodi='http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd'%20xmlns:inkscape='http://www.inkscape.org/namespaces/inkscape'%20width='36.012337'%20height='31.802971'%20viewBox='0%200%2036.012336%2031.802972'%20id='svg9098'%20version='1.1'%20inkscape:version='0.91%20r13725'%20sodipodi:docname='mclogo-split-rotate-v9.svg'%3e%3cdefs%20id='defs9100'%20/%3e%3csodipodi:namedview%20id='base'%20pagecolor='%23ffffff'%20bordercolor='%23666666'%20borderopacity='1.0'%20inkscape:pageopacity='0.0'%20inkscape:pageshadow='2'%20inkscape:zoom='11.2'%20inkscape:cx='14.890099'%20inkscape:cy='23.051314'%20inkscape:document-units='px'%20inkscape:current-layer='g9'%20showgrid='false'%20units='px'%20inkscape:window-width='1680'%20inkscape:window-height='940'%20inkscape:window-x='0'%20inkscape:window-y='1'%20inkscape:window-maximized='1'%20fit-margin-top='3'%20fit-margin-left='3'%20fit-margin-right='3'%20fit-margin-bottom='5'%20/%3e%3cmetadata%20id='metadata9103'%3e%3crdf:RDF%3e%3ccc:Work%20rdf:about=''%3e%3cdc:format%3eimage/svg+xml%3c/dc:format%3e%3cdc:type%20rdf:resource='http://purl.org/dc/dcmitype/StillImage'%20/%3e%3cdc:title%20/%3e%3c/cc:Work%3e%3c/rdf:RDF%3e%3c/metadata%3e%3cg%20inkscape:label='Layer%201'%20inkscape:groupmode='layer'%20id='layer1'%20transform='translate(3.0066849,-1015.2422)'%3e%3cg%20id='mctriangle'%20transform='matrix(1.1533275,0,0,1.1556928,-379.094,391.20844)'%3e%3cg%20transform='translate(2975.41,266.50511)'%20style='display:inline;stroke:%23d21f15;stroke-width:0.86616874;stroke-opacity:1'%20id='layer6'%20/%3e%3cg%20id='g9'%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.22655%20C%20334.49344,546.23874%20337.72144,543.00587%20341.70205,543.00587%20345.68227,543.00587%20348.90912,546.23874%20348.90912,550.22655'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88989985;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9220'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.41953%20C%20331.53412,550.41953%20329.1333,552.88285%20329.1333,555.92274%20329.1333,558.96264%20331.53412,561.42596%20334.49344,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9224'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20348.90912,550.41953%20C%20351.86844,550.41953%20354.26926,552.88285%20354.26926,555.92274%20354.26926,558.96264%20351.86844,561.42596%20348.90912,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9228'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.45731,561.42596%20348.92565,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9232'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.22655%20C%20334.49344,546.23874%20337.72144,543.00587%20341.70205,543.00587%20345.68227,543.00587%20348.90912,546.23874%20348.90912,550.22655'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88989985;stroke-linecap:butt;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9236'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.49344,550.41953%20C%20331.53412,550.41953%20329.1333,552.88285%20329.1333,555.92274%20329.1333,558.96264%20331.53412,561.42596%20334.49344,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9240'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20348.90912,550.41953%20C%20351.86844,550.41953%20354.26926,552.88285%20354.26926,555.92274%20354.26926,558.96264%20351.86844,561.42596%20348.90912,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9244'%20/%3e%3cpath%20inkscape:connector-curvature='0'%20d='M%20334.45731,561.42596%20348.92565,561.42596'%20style='fill:none;stroke:%23d21f15;stroke-width:0.88643086;stroke-linecap:square;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1'%20id='path9248'%20/%3e%3cellipse%20ry='0.25958455'%20rx='0.26011693'%20cy='553.91522'%20cx='341.70126'%20id='ref'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:3.4000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20/%3e%3cpath%20id='mctriangleonly'%20d='M%20335.13723,550.18801%20338.41923,555.66439%20341.70129,561.14077%20344.98332,555.66439%20348.26535,550.18801%20341.70129,550.18801%20Z'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:none;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.91575587;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20inkscape:connector-curvature='0'%20/%3e%3ccircle%20cy='550.02032'%20cx='348.39252'%20id='circle7840-5'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20r='1.4070433'%20/%3e%3ccircle%20cy='550.02032'%20cx='335.01007'%20id='circle7842-0'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20r='1.4070433'%20/%3e%3ccircle%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate'%20id='circle7844-5'%20cx='341.70132'%20cy='561.30841'%20r='1.4070433'%20/%3e%3ccircle%20r='1.4070433'%20style='color:%23000000;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:%23000000;solid-opacity:1;fill:%23ffffff;fill-opacity:1;fill-rule:nonzero;stroke:%23d21f15;stroke-width:0.88349211;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate;filter-blend-mode:normal;filter-gaussianBlur-deviation:0'%20id='movingcircle'%20cx='335.01007'%20cy='550.02032'%3e%3canimateTransform%20id='anim1'%20repeatCount='indefinite'%20begin='0s'%20dur='1s'%20values='0.0%200.0;13.38245%200.0;6.69125%2011.28809;0.0%200.0'%20type='translate'%20attributeName='transform'%20/%3e%3c/circle%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
3649
|
-
function qa() {
|
|
3650
|
-
return /* @__PURE__ */ k.jsx(
|
|
3651
|
-
"div",
|
|
3652
|
-
{
|
|
3653
|
-
style: {
|
|
3654
|
-
background: "transparent",
|
|
3655
|
-
border: "none",
|
|
3656
|
-
textAlign: "center"
|
|
3657
|
-
},
|
|
3658
|
-
children: /* @__PURE__ */ k.jsx(
|
|
3659
|
-
"img",
|
|
3660
|
-
{
|
|
3661
|
-
src: Da,
|
|
3662
|
-
alt: "Materials Cloud spinner",
|
|
3663
|
-
style: {
|
|
3664
|
-
width: "100%",
|
|
3665
|
-
minWidth: "20px",
|
|
3666
|
-
maxWidth: "200px",
|
|
3667
|
-
height: "auto"
|
|
3668
|
-
}
|
|
3669
|
-
}
|
|
3670
|
-
)
|
|
3671
|
-
}
|
|
3672
|
-
);
|
|
3673
|
-
}
|
|
3674
|
-
const _a = ["as", "disabled"];
|
|
3675
|
-
function Ma(e, t) {
|
|
3676
|
-
if (e == null)
|
|
3677
|
-
return {};
|
|
3678
|
-
var r = {}, n = Object.keys(e), o, i;
|
|
3679
|
-
for (i = 0; i < n.length; i++)
|
|
3680
|
-
o = n[i], !(t.indexOf(o) >= 0) && (r[o] = e[o]);
|
|
3681
|
-
return r;
|
|
3682
|
-
}
|
|
3683
|
-
function Ba(e) {
|
|
3684
|
-
return !e || e.trim() === "#";
|
|
3685
|
-
}
|
|
3686
|
-
function _n({
|
|
3687
|
-
tagName: e,
|
|
3688
|
-
disabled: t,
|
|
3689
|
-
href: r,
|
|
3690
|
-
target: n,
|
|
3691
|
-
rel: o,
|
|
3692
|
-
role: i,
|
|
3693
|
-
onClick: s,
|
|
3694
|
-
tabIndex: c = 0,
|
|
3695
|
-
type: u
|
|
3696
|
-
}) {
|
|
3697
|
-
e || (r != null || n != null || o != null ? e = "a" : e = "button");
|
|
3698
|
-
const f = {
|
|
3699
|
-
tagName: e
|
|
3700
|
-
};
|
|
3701
|
-
if (e === "button")
|
|
3702
|
-
return [{
|
|
3703
|
-
type: u || "button",
|
|
3704
|
-
disabled: t
|
|
3705
|
-
}, f];
|
|
3706
|
-
const l = (h) => {
|
|
3707
|
-
if ((t || e === "a" && Ba(r)) && h.preventDefault(), t) {
|
|
3708
|
-
h.stopPropagation();
|
|
3709
|
-
return;
|
|
3710
|
-
}
|
|
3711
|
-
s == null || s(h);
|
|
3712
|
-
}, d = (h) => {
|
|
3713
|
-
h.key === " " && (h.preventDefault(), l(h));
|
|
3714
|
-
};
|
|
3715
|
-
return e === "a" && (r || (r = "#"), t && (r = void 0)), [{
|
|
3716
|
-
role: i ?? "button",
|
|
3717
|
-
// explicitly undefined so that it overrides the props disabled in a spread
|
|
3718
|
-
// e.g. <Tag {...props} {...hookProps} />
|
|
3719
|
-
disabled: void 0,
|
|
3720
|
-
tabIndex: t ? void 0 : c,
|
|
3721
|
-
href: r,
|
|
3722
|
-
target: e === "a" ? n : void 0,
|
|
3723
|
-
"aria-disabled": t || void 0,
|
|
3724
|
-
rel: e === "a" ? o : void 0,
|
|
3725
|
-
onClick: l,
|
|
3726
|
-
onKeyDown: d
|
|
3727
|
-
}, f];
|
|
3728
|
-
}
|
|
3729
|
-
const Fa = /* @__PURE__ */ ve.forwardRef((e, t) => {
|
|
3730
|
-
let {
|
|
3731
|
-
as: r,
|
|
3732
|
-
disabled: n
|
|
3733
|
-
} = e, o = Ma(e, _a);
|
|
3734
|
-
const [i, {
|
|
3735
|
-
tagName: s
|
|
3736
|
-
}] = _n(Object.assign({
|
|
3737
|
-
tagName: r,
|
|
3738
|
-
disabled: n
|
|
3739
|
-
}, o));
|
|
3740
|
-
return /* @__PURE__ */ k.jsx(s, Object.assign({}, o, i, {
|
|
3741
|
-
ref: t
|
|
3742
|
-
}));
|
|
3743
|
-
});
|
|
3744
|
-
Fa.displayName = "Button";
|
|
3745
|
-
const Mn = /* @__PURE__ */ ve.forwardRef(({
|
|
3746
|
-
as: e,
|
|
3747
|
-
bsPrefix: t,
|
|
3748
|
-
variant: r = "primary",
|
|
3749
|
-
size: n,
|
|
3750
|
-
active: o = !1,
|
|
3751
|
-
disabled: i = !1,
|
|
3752
|
-
className: s,
|
|
3753
|
-
...c
|
|
3754
|
-
}, u) => {
|
|
3755
|
-
const f = Ne(t, "btn"), [l, {
|
|
3756
|
-
tagName: d
|
|
3757
|
-
}] = _n({
|
|
3758
|
-
tagName: e,
|
|
3759
|
-
disabled: i,
|
|
3760
|
-
...c
|
|
3761
|
-
}), h = d;
|
|
3762
|
-
return /* @__PURE__ */ k.jsx(h, {
|
|
3763
|
-
...l,
|
|
3764
|
-
...c,
|
|
3765
|
-
ref: u,
|
|
3766
|
-
disabled: i,
|
|
3767
|
-
className: Ye(s, f, o && "active", r && `${f}-${r}`, n && `${f}-${n}`, c.href && i && "disabled")
|
|
3768
|
-
});
|
|
3769
|
-
});
|
|
3770
|
-
Mn.displayName = "Button";
|
|
3771
|
-
const Ia = Mn, La = "_download_dropdown_menu_23m9j_1", Ha = {
|
|
3772
|
-
download_dropdown_menu: La
|
|
3773
|
-
};
|
|
3774
|
-
function za(e) {
|
|
3775
|
-
var t = `${e.aiida_rest_url}/nodes/${e.uuid}/download`, r = /* @__PURE__ */ k.jsx(Zt, { children: /* @__PURE__ */ k.jsx(Zt.Body, { style: { padding: "5px 0px" }, children: /* @__PURE__ */ k.jsxs("ul", { className: Ha.download_dropdown_menu, children: [
|
|
3776
|
-
/* @__PURE__ */ k.jsx("li", { children: /* @__PURE__ */ k.jsx("a", { href: `${t}?download_format=chemdoodle`, children: "ChemDoodle" }) }),
|
|
3777
|
-
/* @__PURE__ */ k.jsx("li", { children: /* @__PURE__ */ k.jsx("a", { href: `${t}?download_format=cif`, children: "CIF" }) }),
|
|
3778
|
-
/* @__PURE__ */ k.jsx("li", { children: /* @__PURE__ */ k.jsx("a", { href: `${t}?download_format=xsf`, children: "XSF" }) }),
|
|
3779
|
-
/* @__PURE__ */ k.jsx("li", { children: /* @__PURE__ */ k.jsx("a", { href: `${t}?download_format=xyz`, children: "XYZ" }) })
|
|
3780
|
-
] }) }) });
|
|
3781
|
-
return /* @__PURE__ */ k.jsx(
|
|
3782
|
-
pr,
|
|
3783
|
-
{
|
|
3784
|
-
trigger: "click",
|
|
3785
|
-
rootClose: !0,
|
|
3786
|
-
placement: "bottom",
|
|
3787
|
-
overlay: r,
|
|
3788
|
-
children: /* @__PURE__ */ k.jsx(
|
|
3789
|
-
Ia,
|
|
3790
|
-
{
|
|
3791
|
-
size: "sm",
|
|
3792
|
-
style: { margin: "4px", padding: "2px 7px" },
|
|
3793
|
-
title: "Download",
|
|
3794
|
-
children: /* @__PURE__ */ k.jsx("span", { className: "bi bi-download" })
|
|
3795
|
-
}
|
|
3796
|
-
)
|
|
3797
|
-
}
|
|
3798
|
-
);
|
|
3799
|
-
}
|
|
3800
|
-
const Na = "data:image/png;base64,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";
|
|
3801
|
-
function Ka(e) {
|
|
3802
|
-
var t = `${e.explore_url}/details/${e.uuid}?nodeType=NODE`;
|
|
3803
|
-
return /* @__PURE__ */ k.jsx(
|
|
3804
|
-
pr,
|
|
3805
|
-
{
|
|
3806
|
-
placement: "bottom",
|
|
3807
|
-
overlay: /* @__PURE__ */ k.jsxs(Sn, { className: "explore_btn_tooltip", children: [
|
|
3808
|
-
"Browse provenance",
|
|
3809
|
-
/* @__PURE__ */ k.jsx("br", {}),
|
|
3810
|
-
e.uuid
|
|
3811
|
-
] }),
|
|
3812
|
-
children: /* @__PURE__ */ k.jsx("a", { href: t, target: "_blank", children: /* @__PURE__ */ k.jsx("img", { src: Na, className: "explore_btn_aiida_logo" }) })
|
|
3813
|
-
}
|
|
3814
|
-
);
|
|
3815
|
-
}
|
|
3816
|
-
function $a(e) {
|
|
3817
|
-
return e.split(/(\d+)/).map((r, n) => r.match(/\d+/) ? /* @__PURE__ */ k.jsx("sub", { children: r }, n) : r);
|
|
3818
|
-
}
|
|
3819
|
-
function Qa(e) {
|
|
3820
|
-
let t = !1;
|
|
3821
|
-
return /* @__PURE__ */ k.jsx("span", { children: e.split("").map((r, n) => r == "_" ? (t = !0, null) : t ? (t = !1, /* @__PURE__ */ k.jsx("sub", { children: r }, n)) : r) });
|
|
3822
|
-
}
|
|
3823
|
-
export {
|
|
3824
|
-
Ja as DoiBadge,
|
|
3825
|
-
Ka as ExploreButton,
|
|
3826
|
-
Ga as HelpButton,
|
|
3827
|
-
qa as McloudSpinner,
|
|
3828
|
-
za as StructDownloadButton,
|
|
3829
|
-
Wa as TestButton,
|
|
3830
|
-
$a as formatChemicalFormula,
|
|
3831
|
-
Qa as formatSpaceGroupSymbol
|
|
3832
|
-
};
|