design-system-silkhaus 3.2.0-beta.dropdown.13 → 3.2.0-beta.dropdown.14
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.
|
@@ -10,7 +10,7 @@ var pn = (e, t, n) => t in e ? Kr(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
bn.call(t, n) && pn(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
12
|
}, G = (e, t) => Xr(e, Jr(t));
|
|
13
|
-
var
|
|
13
|
+
var wt = (e) => typeof e == "symbol" ? e : e + "", Le = (e, t) => {
|
|
14
14
|
var n = {};
|
|
15
15
|
for (var r in e)
|
|
16
16
|
vn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -36,7 +36,7 @@ var fe = (e, t, n) => new Promise((r, o) => {
|
|
|
36
36
|
l((n = n.apply(e, t)).next());
|
|
37
37
|
});
|
|
38
38
|
import * as p from "react";
|
|
39
|
-
import Vt, { useLayoutEffect as Vn, useEffect as
|
|
39
|
+
import Vt, { useLayoutEffect as Vn, useEffect as ft, useRef as Zr, forwardRef as Gn, useState as Rt } from "react";
|
|
40
40
|
import * as Un from "react-dom";
|
|
41
41
|
import { createPortal as Qr } from "react-dom";
|
|
42
42
|
var At = { exports: {} }, je = {};
|
|
@@ -55,11 +55,11 @@ function eo() {
|
|
|
55
55
|
xn = 1;
|
|
56
56
|
var e = Vt, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
57
57
|
function i(l, c, u) {
|
|
58
|
-
var
|
|
59
|
-
u !== void 0 && (
|
|
60
|
-
for (
|
|
61
|
-
if (l && l.defaultProps) for (
|
|
62
|
-
return { $$typeof: t, type: l, key:
|
|
58
|
+
var f, g = {}, v = null, d = null;
|
|
59
|
+
u !== void 0 && (v = "" + u), c.key !== void 0 && (v = "" + c.key), c.ref !== void 0 && (d = c.ref);
|
|
60
|
+
for (f in c) r.call(c, f) && !a.hasOwnProperty(f) && (g[f] = c[f]);
|
|
61
|
+
if (l && l.defaultProps) for (f in c = l.defaultProps, c) g[f] === void 0 && (g[f] = c[f]);
|
|
62
|
+
return { $$typeof: t, type: l, key: v, ref: d, props: g, _owner: o.current };
|
|
63
63
|
}
|
|
64
64
|
return je.Fragment = n, je.jsx = i, je.jsxs = i, je;
|
|
65
65
|
}
|
|
@@ -76,45 +76,45 @@ var Ne = {};
|
|
|
76
76
|
var yn;
|
|
77
77
|
function to() {
|
|
78
78
|
return yn || (yn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
79
|
-
var e = Vt, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"),
|
|
79
|
+
var e = Vt, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), d = Symbol.for("react.offscreen"), h = Symbol.iterator, m = "@@iterator";
|
|
80
80
|
function w(s) {
|
|
81
81
|
if (s === null || typeof s != "object")
|
|
82
82
|
return null;
|
|
83
|
-
var
|
|
84
|
-
return typeof
|
|
83
|
+
var b = h && s[h] || s[m];
|
|
84
|
+
return typeof b == "function" ? b : null;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
function
|
|
86
|
+
var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
87
|
+
function y(s) {
|
|
88
88
|
{
|
|
89
|
-
for (var
|
|
89
|
+
for (var b = arguments.length, R = new Array(b > 1 ? b - 1 : 0), O = 1; O < b; O++)
|
|
90
90
|
R[O - 1] = arguments[O];
|
|
91
91
|
E("error", s, R);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
function E(s,
|
|
94
|
+
function E(s, b, R) {
|
|
95
95
|
{
|
|
96
|
-
var O =
|
|
97
|
-
$ !== "" && (
|
|
96
|
+
var O = x.ReactDebugCurrentFrame, $ = O.getStackAddendum();
|
|
97
|
+
$ !== "" && (b += "%s", R = R.concat([$]));
|
|
98
98
|
var K = R.map(function(F) {
|
|
99
99
|
return String(F);
|
|
100
100
|
});
|
|
101
|
-
K.unshift("Warning: " +
|
|
101
|
+
K.unshift("Warning: " + b), Function.prototype.apply.call(console[s], console, K);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
var z = !1, M = !1, j = !1, U = !1, q = !1, Z;
|
|
105
105
|
Z = Symbol.for("react.module.reference");
|
|
106
106
|
function V(s) {
|
|
107
|
-
return !!(typeof s == "string" || typeof s == "function" || s === r || s === a || q || s === o || s === u || s ===
|
|
107
|
+
return !!(typeof s == "string" || typeof s == "function" || s === r || s === a || q || s === o || s === u || s === f || U || s === d || z || M || j || typeof s == "object" && s !== null && (s.$$typeof === v || s.$$typeof === g || s.$$typeof === i || s.$$typeof === l || s.$$typeof === c || // This needs to include all possible module reference object
|
|
108
108
|
// types supported by any Flight configuration anywhere since
|
|
109
109
|
// we don't know which Flight build this will end up being used
|
|
110
110
|
// with.
|
|
111
111
|
s.$$typeof === Z || s.getModuleId !== void 0));
|
|
112
112
|
}
|
|
113
|
-
function N(s,
|
|
113
|
+
function N(s, b, R) {
|
|
114
114
|
var O = s.displayName;
|
|
115
115
|
if (O)
|
|
116
116
|
return O;
|
|
117
|
-
var $ =
|
|
117
|
+
var $ = b.displayName || b.name || "";
|
|
118
118
|
return $ !== "" ? R + "(" + $ + ")" : R;
|
|
119
119
|
}
|
|
120
120
|
function H(s) {
|
|
@@ -123,7 +123,7 @@ function to() {
|
|
|
123
123
|
function Y(s) {
|
|
124
124
|
if (s == null)
|
|
125
125
|
return null;
|
|
126
|
-
if (typeof s.tag == "number" &&
|
|
126
|
+
if (typeof s.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof s == "function")
|
|
127
127
|
return s.displayName || s.name || null;
|
|
128
128
|
if (typeof s == "string")
|
|
129
129
|
return s;
|
|
@@ -138,14 +138,14 @@ function to() {
|
|
|
138
138
|
return "StrictMode";
|
|
139
139
|
case u:
|
|
140
140
|
return "Suspense";
|
|
141
|
-
case
|
|
141
|
+
case f:
|
|
142
142
|
return "SuspenseList";
|
|
143
143
|
}
|
|
144
144
|
if (typeof s == "object")
|
|
145
145
|
switch (s.$$typeof) {
|
|
146
146
|
case l:
|
|
147
|
-
var
|
|
148
|
-
return H(
|
|
147
|
+
var b = s;
|
|
148
|
+
return H(b) + ".Consumer";
|
|
149
149
|
case i:
|
|
150
150
|
var R = s;
|
|
151
151
|
return H(R._context) + ".Provider";
|
|
@@ -154,7 +154,7 @@ function to() {
|
|
|
154
154
|
case g:
|
|
155
155
|
var O = s.displayName || null;
|
|
156
156
|
return O !== null ? O : Y(s.type) || "Memo";
|
|
157
|
-
case
|
|
157
|
+
case v: {
|
|
158
158
|
var $ = s, K = $._payload, F = $._init;
|
|
159
159
|
try {
|
|
160
160
|
return Y(F(K));
|
|
@@ -224,11 +224,11 @@ function to() {
|
|
|
224
224
|
})
|
|
225
225
|
});
|
|
226
226
|
}
|
|
227
|
-
T < 0 &&
|
|
227
|
+
T < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
|
-
var le =
|
|
231
|
-
function Be(s,
|
|
230
|
+
var le = x.ReactCurrentDispatcher, de;
|
|
231
|
+
function Be(s, b, R) {
|
|
232
232
|
{
|
|
233
233
|
if (de === void 0)
|
|
234
234
|
try {
|
|
@@ -241,13 +241,13 @@ function to() {
|
|
|
241
241
|
` + de + s;
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
|
-
var
|
|
244
|
+
var mt = !1, Qe;
|
|
245
245
|
{
|
|
246
246
|
var Sr = typeof WeakMap == "function" ? WeakMap : Map;
|
|
247
247
|
Qe = new Sr();
|
|
248
248
|
}
|
|
249
|
-
function en(s,
|
|
250
|
-
if (!s ||
|
|
249
|
+
function en(s, b) {
|
|
250
|
+
if (!s || mt)
|
|
251
251
|
return "";
|
|
252
252
|
{
|
|
253
253
|
var R = Qe.get(s);
|
|
@@ -255,13 +255,13 @@ function to() {
|
|
|
255
255
|
return R;
|
|
256
256
|
}
|
|
257
257
|
var O;
|
|
258
|
-
|
|
258
|
+
mt = !0;
|
|
259
259
|
var $ = Error.prepareStackTrace;
|
|
260
260
|
Error.prepareStackTrace = void 0;
|
|
261
261
|
var K;
|
|
262
262
|
K = le.current, le.current = null, Ze();
|
|
263
263
|
try {
|
|
264
|
-
if (
|
|
264
|
+
if (b) {
|
|
265
265
|
var F = function() {
|
|
266
266
|
throw Error();
|
|
267
267
|
};
|
|
@@ -312,19 +312,19 @@ function to() {
|
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
} finally {
|
|
315
|
-
|
|
315
|
+
mt = !1, le.current = K, ne(), Error.prepareStackTrace = $;
|
|
316
316
|
}
|
|
317
317
|
var Pe = s ? s.displayName || s.name : "", ke = Pe ? Be(Pe) : "";
|
|
318
318
|
return typeof s == "function" && Qe.set(s, ke), ke;
|
|
319
319
|
}
|
|
320
|
-
function Tr(s,
|
|
320
|
+
function Tr(s, b, R) {
|
|
321
321
|
return en(s, !1);
|
|
322
322
|
}
|
|
323
323
|
function Cr(s) {
|
|
324
|
-
var
|
|
325
|
-
return !!(
|
|
324
|
+
var b = s.prototype;
|
|
325
|
+
return !!(b && b.isReactComponent);
|
|
326
326
|
}
|
|
327
|
-
function et(s,
|
|
327
|
+
function et(s, b, R) {
|
|
328
328
|
if (s == null)
|
|
329
329
|
return "";
|
|
330
330
|
if (typeof s == "function")
|
|
@@ -334,7 +334,7 @@ function to() {
|
|
|
334
334
|
switch (s) {
|
|
335
335
|
case u:
|
|
336
336
|
return Be("Suspense");
|
|
337
|
-
case
|
|
337
|
+
case f:
|
|
338
338
|
return Be("SuspenseList");
|
|
339
339
|
}
|
|
340
340
|
if (typeof s == "object")
|
|
@@ -342,26 +342,26 @@ function to() {
|
|
|
342
342
|
case c:
|
|
343
343
|
return Tr(s.render);
|
|
344
344
|
case g:
|
|
345
|
-
return et(s.type,
|
|
346
|
-
case
|
|
345
|
+
return et(s.type, b, R);
|
|
346
|
+
case v: {
|
|
347
347
|
var O = s, $ = O._payload, K = O._init;
|
|
348
348
|
try {
|
|
349
|
-
return et(K($),
|
|
349
|
+
return et(K($), b, R);
|
|
350
350
|
} catch (F) {
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
}
|
|
354
354
|
return "";
|
|
355
355
|
}
|
|
356
|
-
var Ie = Object.prototype.hasOwnProperty, tn = {}, nn =
|
|
356
|
+
var Ie = Object.prototype.hasOwnProperty, tn = {}, nn = x.ReactDebugCurrentFrame;
|
|
357
357
|
function tt(s) {
|
|
358
358
|
if (s) {
|
|
359
|
-
var
|
|
359
|
+
var b = s._owner, R = et(s.type, s._source, b ? b.type : null);
|
|
360
360
|
nn.setExtraStackFrame(R);
|
|
361
361
|
} else
|
|
362
362
|
nn.setExtraStackFrame(null);
|
|
363
363
|
}
|
|
364
|
-
function kr(s,
|
|
364
|
+
function kr(s, b, R, O, $) {
|
|
365
365
|
{
|
|
366
366
|
var K = Function.call.bind(Ie);
|
|
367
367
|
for (var F in s)
|
|
@@ -372,28 +372,28 @@ function to() {
|
|
|
372
372
|
var te = Error((O || "React class") + ": " + R + " type `" + F + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[F] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
373
373
|
throw te.name = "Invariant Violation", te;
|
|
374
374
|
}
|
|
375
|
-
D = s[F](
|
|
375
|
+
D = s[F](b, F, O, R, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
376
376
|
} catch (Q) {
|
|
377
377
|
D = Q;
|
|
378
378
|
}
|
|
379
|
-
D && !(D instanceof Error) && (tt($),
|
|
379
|
+
D && !(D instanceof Error) && (tt($), y("%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).", O || "React class", R, F, typeof D), tt(null)), D instanceof Error && !(D.message in tn) && (tn[D.message] = !0, tt($), y("Failed %s type: %s", R, D.message), tt(null));
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
383
|
var Lr = Array.isArray;
|
|
384
|
-
function
|
|
384
|
+
function pt(s) {
|
|
385
385
|
return Lr(s);
|
|
386
386
|
}
|
|
387
387
|
function zr(s) {
|
|
388
388
|
{
|
|
389
|
-
var
|
|
389
|
+
var b = typeof Symbol == "function" && Symbol.toStringTag, R = b && s[Symbol.toStringTag] || s.constructor.name || "Object";
|
|
390
390
|
return R;
|
|
391
391
|
}
|
|
392
392
|
}
|
|
393
393
|
function Mr(s) {
|
|
394
394
|
try {
|
|
395
395
|
return rn(s), !1;
|
|
396
|
-
} catch (
|
|
396
|
+
} catch (b) {
|
|
397
397
|
return !0;
|
|
398
398
|
}
|
|
399
399
|
}
|
|
@@ -402,9 +402,9 @@ function to() {
|
|
|
402
402
|
}
|
|
403
403
|
function on(s) {
|
|
404
404
|
if (Mr(s))
|
|
405
|
-
return
|
|
405
|
+
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", zr(s)), rn(s);
|
|
406
406
|
}
|
|
407
|
-
var an =
|
|
407
|
+
var an = x.ReactCurrentOwner, Hr = {
|
|
408
408
|
key: !0,
|
|
409
409
|
ref: !0,
|
|
410
410
|
__self: !0,
|
|
@@ -412,27 +412,27 @@ function to() {
|
|
|
412
412
|
}, ln, sn;
|
|
413
413
|
function Pr(s) {
|
|
414
414
|
if (Ie.call(s, "ref")) {
|
|
415
|
-
var
|
|
416
|
-
if (
|
|
415
|
+
var b = Object.getOwnPropertyDescriptor(s, "ref").get;
|
|
416
|
+
if (b && b.isReactWarning)
|
|
417
417
|
return !1;
|
|
418
418
|
}
|
|
419
419
|
return s.ref !== void 0;
|
|
420
420
|
}
|
|
421
421
|
function Ar(s) {
|
|
422
422
|
if (Ie.call(s, "key")) {
|
|
423
|
-
var
|
|
424
|
-
if (
|
|
423
|
+
var b = Object.getOwnPropertyDescriptor(s, "key").get;
|
|
424
|
+
if (b && b.isReactWarning)
|
|
425
425
|
return !1;
|
|
426
426
|
}
|
|
427
427
|
return s.key !== void 0;
|
|
428
428
|
}
|
|
429
|
-
function Or(s,
|
|
429
|
+
function Or(s, b) {
|
|
430
430
|
typeof s.ref == "string" && an.current;
|
|
431
431
|
}
|
|
432
|
-
function Wr(s,
|
|
432
|
+
function Wr(s, b) {
|
|
433
433
|
{
|
|
434
434
|
var R = function() {
|
|
435
|
-
ln || (ln = !0,
|
|
435
|
+
ln || (ln = !0, y("%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)", b));
|
|
436
436
|
};
|
|
437
437
|
R.isReactWarning = !0, Object.defineProperty(s, "key", {
|
|
438
438
|
get: R,
|
|
@@ -440,10 +440,10 @@ function to() {
|
|
|
440
440
|
});
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
function _r(s,
|
|
443
|
+
function _r(s, b) {
|
|
444
444
|
{
|
|
445
445
|
var R = function() {
|
|
446
|
-
sn || (sn = !0,
|
|
446
|
+
sn || (sn = !0, y("%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)", b));
|
|
447
447
|
};
|
|
448
448
|
R.isReactWarning = !0, Object.defineProperty(s, "ref", {
|
|
449
449
|
get: R,
|
|
@@ -451,13 +451,13 @@ function to() {
|
|
|
451
451
|
});
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
|
-
var Dr = function(s,
|
|
454
|
+
var Dr = function(s, b, R, O, $, K, F) {
|
|
455
455
|
var D = {
|
|
456
456
|
// This tag allows us to uniquely identify this as a React Element
|
|
457
457
|
$$typeof: t,
|
|
458
458
|
// Built-in properties that belong on the element
|
|
459
459
|
type: s,
|
|
460
|
-
key:
|
|
460
|
+
key: b,
|
|
461
461
|
ref: R,
|
|
462
462
|
props: F,
|
|
463
463
|
// Record the component responsible for creating this element.
|
|
@@ -480,12 +480,12 @@ function to() {
|
|
|
480
480
|
value: $
|
|
481
481
|
}), Object.freeze && (Object.freeze(D.props), Object.freeze(D)), D;
|
|
482
482
|
};
|
|
483
|
-
function Fr(s,
|
|
483
|
+
function Fr(s, b, R, O, $) {
|
|
484
484
|
{
|
|
485
485
|
var K, F = {}, D = null, te = null;
|
|
486
|
-
R !== void 0 && (on(R), D = "" + R), Ar(
|
|
487
|
-
for (K in
|
|
488
|
-
Ie.call(
|
|
486
|
+
R !== void 0 && (on(R), D = "" + R), Ar(b) && (on(b.key), D = "" + b.key), Pr(b) && (te = b.ref, Or(b, $));
|
|
487
|
+
for (K in b)
|
|
488
|
+
Ie.call(b, K) && !Hr.hasOwnProperty(K) && (F[K] = b[K]);
|
|
489
489
|
if (s && s.defaultProps) {
|
|
490
490
|
var Q = s.defaultProps;
|
|
491
491
|
for (K in Q)
|
|
@@ -498,23 +498,23 @@ function to() {
|
|
|
498
498
|
return Dr(s, D, te, $, O, an.current, F);
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
|
-
var
|
|
501
|
+
var vt = x.ReactCurrentOwner, cn = x.ReactDebugCurrentFrame;
|
|
502
502
|
function He(s) {
|
|
503
503
|
if (s) {
|
|
504
|
-
var
|
|
504
|
+
var b = s._owner, R = et(s.type, s._source, b ? b.type : null);
|
|
505
505
|
cn.setExtraStackFrame(R);
|
|
506
506
|
} else
|
|
507
507
|
cn.setExtraStackFrame(null);
|
|
508
508
|
}
|
|
509
|
-
var
|
|
510
|
-
|
|
511
|
-
function
|
|
509
|
+
var bt;
|
|
510
|
+
bt = !1;
|
|
511
|
+
function xt(s) {
|
|
512
512
|
return typeof s == "object" && s !== null && s.$$typeof === t;
|
|
513
513
|
}
|
|
514
514
|
function un() {
|
|
515
515
|
{
|
|
516
|
-
if (
|
|
517
|
-
var s = Y(
|
|
516
|
+
if (vt.current) {
|
|
517
|
+
var s = Y(vt.current.type);
|
|
518
518
|
if (s)
|
|
519
519
|
return `
|
|
520
520
|
|
|
@@ -529,87 +529,87 @@ Check the render method of \`` + s + "`.";
|
|
|
529
529
|
var dn = {};
|
|
530
530
|
function Ir(s) {
|
|
531
531
|
{
|
|
532
|
-
var
|
|
533
|
-
if (!
|
|
532
|
+
var b = un();
|
|
533
|
+
if (!b) {
|
|
534
534
|
var R = typeof s == "string" ? s : s.displayName || s.name;
|
|
535
|
-
R && (
|
|
535
|
+
R && (b = `
|
|
536
536
|
|
|
537
537
|
Check the top-level render call using <` + R + ">.");
|
|
538
538
|
}
|
|
539
|
-
return
|
|
539
|
+
return b;
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
function fn(s,
|
|
542
|
+
function fn(s, b) {
|
|
543
543
|
{
|
|
544
544
|
if (!s._store || s._store.validated || s.key != null)
|
|
545
545
|
return;
|
|
546
546
|
s._store.validated = !0;
|
|
547
|
-
var R = Ir(
|
|
547
|
+
var R = Ir(b);
|
|
548
548
|
if (dn[R])
|
|
549
549
|
return;
|
|
550
550
|
dn[R] = !0;
|
|
551
551
|
var O = "";
|
|
552
|
-
s && s._owner && s._owner !==
|
|
552
|
+
s && s._owner && s._owner !== vt.current && (O = " It was passed a child from " + Y(s._owner.type) + "."), He(s), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', R, O), He(null);
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
|
-
function gn(s,
|
|
555
|
+
function gn(s, b) {
|
|
556
556
|
{
|
|
557
557
|
if (typeof s != "object")
|
|
558
558
|
return;
|
|
559
|
-
if (
|
|
559
|
+
if (pt(s))
|
|
560
560
|
for (var R = 0; R < s.length; R++) {
|
|
561
561
|
var O = s[R];
|
|
562
|
-
|
|
562
|
+
xt(O) && fn(O, b);
|
|
563
563
|
}
|
|
564
|
-
else if (
|
|
564
|
+
else if (xt(s))
|
|
565
565
|
s._store && (s._store.validated = !0);
|
|
566
566
|
else if (s) {
|
|
567
567
|
var $ = w(s);
|
|
568
568
|
if (typeof $ == "function" && $ !== s.entries)
|
|
569
569
|
for (var K = $.call(s), F; !(F = K.next()).done; )
|
|
570
|
-
|
|
570
|
+
xt(F.value) && fn(F.value, b);
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
function jr(s) {
|
|
575
575
|
{
|
|
576
|
-
var
|
|
577
|
-
if (
|
|
576
|
+
var b = s.type;
|
|
577
|
+
if (b == null || typeof b == "string")
|
|
578
578
|
return;
|
|
579
579
|
var R;
|
|
580
|
-
if (typeof
|
|
581
|
-
R =
|
|
582
|
-
else if (typeof
|
|
580
|
+
if (typeof b == "function")
|
|
581
|
+
R = b.propTypes;
|
|
582
|
+
else if (typeof b == "object" && (b.$$typeof === c || // Note: Memo only checks outer props here.
|
|
583
583
|
// Inner props are checked in the reconciler.
|
|
584
|
-
|
|
585
|
-
R =
|
|
584
|
+
b.$$typeof === g))
|
|
585
|
+
R = b.propTypes;
|
|
586
586
|
else
|
|
587
587
|
return;
|
|
588
588
|
if (R) {
|
|
589
|
-
var O = Y(
|
|
589
|
+
var O = Y(b);
|
|
590
590
|
kr(R, s.props, "prop", O, s);
|
|
591
|
-
} else if (
|
|
592
|
-
|
|
593
|
-
var $ = Y(
|
|
594
|
-
|
|
591
|
+
} else if (b.PropTypes !== void 0 && !bt) {
|
|
592
|
+
bt = !0;
|
|
593
|
+
var $ = Y(b);
|
|
594
|
+
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", $ || "Unknown");
|
|
595
595
|
}
|
|
596
|
-
typeof
|
|
596
|
+
typeof b.getDefaultProps == "function" && !b.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
function Nr(s) {
|
|
600
600
|
{
|
|
601
|
-
for (var
|
|
602
|
-
var O =
|
|
601
|
+
for (var b = Object.keys(s.props), R = 0; R < b.length; R++) {
|
|
602
|
+
var O = b[R];
|
|
603
603
|
if (O !== "children" && O !== "key") {
|
|
604
|
-
He(s),
|
|
604
|
+
He(s), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", O), He(null);
|
|
605
605
|
break;
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
|
-
s.ref !== null && (He(s),
|
|
608
|
+
s.ref !== null && (He(s), y("Invalid attribute `ref` supplied to `React.Fragment`."), He(null));
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
611
|
var hn = {};
|
|
612
|
-
function mn(s,
|
|
612
|
+
function mn(s, b, R, O, $, K) {
|
|
613
613
|
{
|
|
614
614
|
var F = V(s);
|
|
615
615
|
if (!F) {
|
|
@@ -618,46 +618,46 @@ Check the top-level render call using <` + R + ">.");
|
|
|
618
618
|
var te = Br();
|
|
619
619
|
te ? D += te : D += un();
|
|
620
620
|
var Q;
|
|
621
|
-
s === null ? Q = "null" :
|
|
621
|
+
s === null ? Q = "null" : pt(s) ? Q = "array" : s !== void 0 && s.$$typeof === t ? (Q = "<" + (Y(s.type) || "Unknown") + " />", D = " Did you accidentally export a JSX literal instead of a component?") : Q = typeof s, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Q, D);
|
|
622
622
|
}
|
|
623
|
-
var ee = Fr(s,
|
|
623
|
+
var ee = Fr(s, b, R, $, K);
|
|
624
624
|
if (ee == null)
|
|
625
625
|
return ee;
|
|
626
626
|
if (F) {
|
|
627
|
-
var se =
|
|
627
|
+
var se = b.children;
|
|
628
628
|
if (se !== void 0)
|
|
629
629
|
if (O)
|
|
630
|
-
if (
|
|
630
|
+
if (pt(se)) {
|
|
631
631
|
for (var Pe = 0; Pe < se.length; Pe++)
|
|
632
632
|
gn(se[Pe], s);
|
|
633
633
|
Object.freeze && Object.freeze(se);
|
|
634
634
|
} else
|
|
635
|
-
|
|
635
|
+
y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
636
636
|
else
|
|
637
637
|
gn(se, s);
|
|
638
638
|
}
|
|
639
|
-
if (Ie.call(
|
|
640
|
-
var ke = Y(s), re = Object.keys(
|
|
639
|
+
if (Ie.call(b, "key")) {
|
|
640
|
+
var ke = Y(s), re = Object.keys(b).filter(function(qr) {
|
|
641
641
|
return qr !== "key";
|
|
642
|
-
}),
|
|
643
|
-
if (!hn[ke +
|
|
642
|
+
}), yt = re.length > 0 ? "{key: someKey, " + re.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
643
|
+
if (!hn[ke + yt]) {
|
|
644
644
|
var Yr = re.length > 0 ? "{" + re.join(": ..., ") + ": ...}" : "{}";
|
|
645
|
-
|
|
645
|
+
y(`A props object containing a "key" prop is being spread into JSX:
|
|
646
646
|
let props = %s;
|
|
647
647
|
<%s {...props} />
|
|
648
648
|
React keys must be passed directly to JSX without using spread:
|
|
649
649
|
let props = %s;
|
|
650
|
-
<%s key={someKey} {...props} />`,
|
|
650
|
+
<%s key={someKey} {...props} />`, yt, ke, Yr, ke), hn[ke + yt] = !0;
|
|
651
651
|
}
|
|
652
652
|
}
|
|
653
653
|
return s === r ? Nr(ee) : jr(ee), ee;
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
|
-
function $r(s,
|
|
657
|
-
return mn(s,
|
|
656
|
+
function $r(s, b, R) {
|
|
657
|
+
return mn(s, b, R, !0);
|
|
658
658
|
}
|
|
659
|
-
function Vr(s,
|
|
660
|
-
return mn(s,
|
|
659
|
+
function Vr(s, b, R) {
|
|
660
|
+
return mn(s, b, R, !1);
|
|
661
661
|
}
|
|
662
662
|
var Gr = Vr, Ur = $r;
|
|
663
663
|
Ne.Fragment = r, Ne.jsx = Gr, Ne.jsxs = Ur;
|
|
@@ -773,25 +773,25 @@ const Gt = "-", no = (e) => {
|
|
|
773
773
|
experimentalParseClassName: n
|
|
774
774
|
} = e, r = t.length === 1, o = t[0], a = t.length, i = (l) => {
|
|
775
775
|
const c = [];
|
|
776
|
-
let u = 0,
|
|
776
|
+
let u = 0, f = 0, g;
|
|
777
777
|
for (let w = 0; w < l.length; w++) {
|
|
778
|
-
let
|
|
778
|
+
let x = l[w];
|
|
779
779
|
if (u === 0) {
|
|
780
|
-
if (
|
|
781
|
-
c.push(l.slice(
|
|
780
|
+
if (x === o && (r || l.slice(w, w + a) === t)) {
|
|
781
|
+
c.push(l.slice(f, w)), f = w + a;
|
|
782
782
|
continue;
|
|
783
783
|
}
|
|
784
|
-
if (
|
|
784
|
+
if (x === "/") {
|
|
785
785
|
g = w;
|
|
786
786
|
continue;
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
|
-
|
|
789
|
+
x === "[" ? u++ : x === "]" && u--;
|
|
790
790
|
}
|
|
791
|
-
const
|
|
791
|
+
const v = c.length === 0 ? l : l.substring(f), d = v.startsWith(qn), h = d ? v.substring(1) : v, m = g && g > f ? g - f : void 0;
|
|
792
792
|
return {
|
|
793
793
|
modifiers: c,
|
|
794
|
-
hasImportantModifier:
|
|
794
|
+
hasImportantModifier: d,
|
|
795
795
|
baseClassName: h,
|
|
796
796
|
maybePostfixModifierPosition: m
|
|
797
797
|
};
|
|
@@ -820,31 +820,31 @@ const Gt = "-", no = (e) => {
|
|
|
820
820
|
let l = "";
|
|
821
821
|
for (let c = i.length - 1; c >= 0; c -= 1) {
|
|
822
822
|
const u = i[c], {
|
|
823
|
-
modifiers:
|
|
823
|
+
modifiers: f,
|
|
824
824
|
hasImportantModifier: g,
|
|
825
|
-
baseClassName:
|
|
826
|
-
maybePostfixModifierPosition:
|
|
825
|
+
baseClassName: v,
|
|
826
|
+
maybePostfixModifierPosition: d
|
|
827
827
|
} = n(u);
|
|
828
|
-
let h = !!
|
|
828
|
+
let h = !!d, m = r(h ? v.substring(0, d) : v);
|
|
829
829
|
if (!m) {
|
|
830
830
|
if (!h) {
|
|
831
831
|
l = u + (l.length > 0 ? " " + l : l);
|
|
832
832
|
continue;
|
|
833
833
|
}
|
|
834
|
-
if (m = r(
|
|
834
|
+
if (m = r(v), !m) {
|
|
835
835
|
l = u + (l.length > 0 ? " " + l : l);
|
|
836
836
|
continue;
|
|
837
837
|
}
|
|
838
838
|
h = !1;
|
|
839
839
|
}
|
|
840
|
-
const w = co(
|
|
841
|
-
if (a.includes(
|
|
840
|
+
const w = co(f).join(":"), x = g ? w + qn : w, y = x + m;
|
|
841
|
+
if (a.includes(y))
|
|
842
842
|
continue;
|
|
843
|
-
a.push(
|
|
843
|
+
a.push(y);
|
|
844
844
|
const E = o(m, h);
|
|
845
845
|
for (let z = 0; z < E.length; ++z) {
|
|
846
846
|
const M = E[z];
|
|
847
|
-
a.push(
|
|
847
|
+
a.push(x + M);
|
|
848
848
|
}
|
|
849
849
|
l = u + (l.length > 0 ? " " + l : l);
|
|
850
850
|
}
|
|
@@ -867,15 +867,15 @@ const Kn = (e) => {
|
|
|
867
867
|
function Wt(e, ...t) {
|
|
868
868
|
let n, r, o, a = i;
|
|
869
869
|
function i(c) {
|
|
870
|
-
const u = t.reduce((
|
|
870
|
+
const u = t.reduce((f, g) => g(f), e());
|
|
871
871
|
return n = uo(u), r = n.cache.get, o = n.cache.set, a = l, l(c);
|
|
872
872
|
}
|
|
873
873
|
function l(c) {
|
|
874
874
|
const u = r(c);
|
|
875
875
|
if (u)
|
|
876
876
|
return u;
|
|
877
|
-
const
|
|
878
|
-
return o(c,
|
|
877
|
+
const f = go(c, n);
|
|
878
|
+
return o(c, f), f;
|
|
879
879
|
}
|
|
880
880
|
return function() {
|
|
881
881
|
return a(ho.apply(null, arguments));
|
|
@@ -893,7 +893,7 @@ const J = (e) => {
|
|
|
893
893
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
894
894
|
bo.test(e) && !xo.test(e)
|
|
895
895
|
), Jn = () => !1, Mo = (e) => yo.test(e), Ho = (e) => wo.test(e), _t = () => {
|
|
896
|
-
const e = J("colors"), t = J("spacing"), n = J("blur"), r = J("brightness"), o = J("borderColor"), a = J("borderRadius"), i = J("borderSpacing"), l = J("borderWidth"), c = J("contrast"), u = J("grayscale"),
|
|
896
|
+
const e = J("colors"), t = J("spacing"), n = J("blur"), r = J("brightness"), o = J("borderColor"), a = J("borderRadius"), i = J("borderSpacing"), l = J("borderWidth"), c = J("contrast"), u = J("grayscale"), f = J("hueRotate"), g = J("invert"), v = J("gap"), d = J("gradientColorStops"), h = J("gradientColorStopPositions"), m = J("inset"), w = J("margin"), x = J("opacity"), y = J("padding"), E = J("saturate"), z = J("scale"), M = J("sepia"), j = J("skew"), U = J("space"), q = J("translate"), Z = () => ["auto", "contain", "none"], V = () => ["auto", "hidden", "clip", "visible", "scroll"], N = () => ["auto", W, t], H = () => [W, t], Y = () => ["", ge, ve], P = () => ["auto", Oe, W], T = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], S = () => ["solid", "dashed", "dotted", "double", "none"], C = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], k = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], I = () => ["", "0", W], A = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], _ = () => [Oe, W];
|
|
897
897
|
return {
|
|
898
898
|
cacheSize: 500,
|
|
899
899
|
separator: ":",
|
|
@@ -1276,21 +1276,21 @@ const J = (e) => {
|
|
|
1276
1276
|
* @see https://tailwindcss.com/docs/gap
|
|
1277
1277
|
*/
|
|
1278
1278
|
gap: [{
|
|
1279
|
-
gap: [
|
|
1279
|
+
gap: [v]
|
|
1280
1280
|
}],
|
|
1281
1281
|
/**
|
|
1282
1282
|
* Gap X
|
|
1283
1283
|
* @see https://tailwindcss.com/docs/gap
|
|
1284
1284
|
*/
|
|
1285
1285
|
"gap-x": [{
|
|
1286
|
-
"gap-x": [
|
|
1286
|
+
"gap-x": [v]
|
|
1287
1287
|
}],
|
|
1288
1288
|
/**
|
|
1289
1289
|
* Gap Y
|
|
1290
1290
|
* @see https://tailwindcss.com/docs/gap
|
|
1291
1291
|
*/
|
|
1292
1292
|
"gap-y": [{
|
|
1293
|
-
"gap-y": [
|
|
1293
|
+
"gap-y": [v]
|
|
1294
1294
|
}],
|
|
1295
1295
|
/**
|
|
1296
1296
|
* Justify Content
|
|
@@ -1361,63 +1361,63 @@ const J = (e) => {
|
|
|
1361
1361
|
* @see https://tailwindcss.com/docs/padding
|
|
1362
1362
|
*/
|
|
1363
1363
|
p: [{
|
|
1364
|
-
p: [
|
|
1364
|
+
p: [y]
|
|
1365
1365
|
}],
|
|
1366
1366
|
/**
|
|
1367
1367
|
* Padding X
|
|
1368
1368
|
* @see https://tailwindcss.com/docs/padding
|
|
1369
1369
|
*/
|
|
1370
1370
|
px: [{
|
|
1371
|
-
px: [
|
|
1371
|
+
px: [y]
|
|
1372
1372
|
}],
|
|
1373
1373
|
/**
|
|
1374
1374
|
* Padding Y
|
|
1375
1375
|
* @see https://tailwindcss.com/docs/padding
|
|
1376
1376
|
*/
|
|
1377
1377
|
py: [{
|
|
1378
|
-
py: [
|
|
1378
|
+
py: [y]
|
|
1379
1379
|
}],
|
|
1380
1380
|
/**
|
|
1381
1381
|
* Padding Start
|
|
1382
1382
|
* @see https://tailwindcss.com/docs/padding
|
|
1383
1383
|
*/
|
|
1384
1384
|
ps: [{
|
|
1385
|
-
ps: [
|
|
1385
|
+
ps: [y]
|
|
1386
1386
|
}],
|
|
1387
1387
|
/**
|
|
1388
1388
|
* Padding End
|
|
1389
1389
|
* @see https://tailwindcss.com/docs/padding
|
|
1390
1390
|
*/
|
|
1391
1391
|
pe: [{
|
|
1392
|
-
pe: [
|
|
1392
|
+
pe: [y]
|
|
1393
1393
|
}],
|
|
1394
1394
|
/**
|
|
1395
1395
|
* Padding Top
|
|
1396
1396
|
* @see https://tailwindcss.com/docs/padding
|
|
1397
1397
|
*/
|
|
1398
1398
|
pt: [{
|
|
1399
|
-
pt: [
|
|
1399
|
+
pt: [y]
|
|
1400
1400
|
}],
|
|
1401
1401
|
/**
|
|
1402
1402
|
* Padding Right
|
|
1403
1403
|
* @see https://tailwindcss.com/docs/padding
|
|
1404
1404
|
*/
|
|
1405
1405
|
pr: [{
|
|
1406
|
-
pr: [
|
|
1406
|
+
pr: [y]
|
|
1407
1407
|
}],
|
|
1408
1408
|
/**
|
|
1409
1409
|
* Padding Bottom
|
|
1410
1410
|
* @see https://tailwindcss.com/docs/padding
|
|
1411
1411
|
*/
|
|
1412
1412
|
pb: [{
|
|
1413
|
-
pb: [
|
|
1413
|
+
pb: [y]
|
|
1414
1414
|
}],
|
|
1415
1415
|
/**
|
|
1416
1416
|
* Padding Left
|
|
1417
1417
|
* @see https://tailwindcss.com/docs/padding
|
|
1418
1418
|
*/
|
|
1419
1419
|
pl: [{
|
|
1420
|
-
pl: [
|
|
1420
|
+
pl: [y]
|
|
1421
1421
|
}],
|
|
1422
1422
|
/**
|
|
1423
1423
|
* Margin
|
|
@@ -1675,7 +1675,7 @@ const J = (e) => {
|
|
|
1675
1675
|
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
1676
1676
|
*/
|
|
1677
1677
|
"placeholder-opacity": [{
|
|
1678
|
-
"placeholder-opacity": [
|
|
1678
|
+
"placeholder-opacity": [x]
|
|
1679
1679
|
}],
|
|
1680
1680
|
/**
|
|
1681
1681
|
* Text Alignment
|
|
@@ -1696,7 +1696,7 @@ const J = (e) => {
|
|
|
1696
1696
|
* @see https://tailwindcss.com/docs/text-opacity
|
|
1697
1697
|
*/
|
|
1698
1698
|
"text-opacity": [{
|
|
1699
|
-
"text-opacity": [
|
|
1699
|
+
"text-opacity": [x]
|
|
1700
1700
|
}],
|
|
1701
1701
|
/**
|
|
1702
1702
|
* Text Decoration
|
|
@@ -1811,7 +1811,7 @@ const J = (e) => {
|
|
|
1811
1811
|
* @see https://tailwindcss.com/docs/background-opacity
|
|
1812
1812
|
*/
|
|
1813
1813
|
"bg-opacity": [{
|
|
1814
|
-
"bg-opacity": [
|
|
1814
|
+
"bg-opacity": [x]
|
|
1815
1815
|
}],
|
|
1816
1816
|
/**
|
|
1817
1817
|
* Background Origin
|
|
@@ -1885,21 +1885,21 @@ const J = (e) => {
|
|
|
1885
1885
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1886
1886
|
*/
|
|
1887
1887
|
"gradient-from": [{
|
|
1888
|
-
from: [
|
|
1888
|
+
from: [d]
|
|
1889
1889
|
}],
|
|
1890
1890
|
/**
|
|
1891
1891
|
* Gradient Color Stops Via
|
|
1892
1892
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1893
1893
|
*/
|
|
1894
1894
|
"gradient-via": [{
|
|
1895
|
-
via: [
|
|
1895
|
+
via: [d]
|
|
1896
1896
|
}],
|
|
1897
1897
|
/**
|
|
1898
1898
|
* Gradient Color Stops To
|
|
1899
1899
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
1900
1900
|
*/
|
|
1901
1901
|
"gradient-to": [{
|
|
1902
|
-
to: [
|
|
1902
|
+
to: [d]
|
|
1903
1903
|
}],
|
|
1904
1904
|
// Borders
|
|
1905
1905
|
/**
|
|
@@ -2075,7 +2075,7 @@ const J = (e) => {
|
|
|
2075
2075
|
* @see https://tailwindcss.com/docs/border-opacity
|
|
2076
2076
|
*/
|
|
2077
2077
|
"border-opacity": [{
|
|
2078
|
-
"border-opacity": [
|
|
2078
|
+
"border-opacity": [x]
|
|
2079
2079
|
}],
|
|
2080
2080
|
/**
|
|
2081
2081
|
* Border Style
|
|
@@ -2113,7 +2113,7 @@ const J = (e) => {
|
|
|
2113
2113
|
* @see https://tailwindcss.com/docs/divide-opacity
|
|
2114
2114
|
*/
|
|
2115
2115
|
"divide-opacity": [{
|
|
2116
|
-
"divide-opacity": [
|
|
2116
|
+
"divide-opacity": [x]
|
|
2117
2117
|
}],
|
|
2118
2118
|
/**
|
|
2119
2119
|
* Divide Style
|
|
@@ -2244,7 +2244,7 @@ const J = (e) => {
|
|
|
2244
2244
|
* @see https://tailwindcss.com/docs/ring-opacity
|
|
2245
2245
|
*/
|
|
2246
2246
|
"ring-opacity": [{
|
|
2247
|
-
"ring-opacity": [
|
|
2247
|
+
"ring-opacity": [x]
|
|
2248
2248
|
}],
|
|
2249
2249
|
/**
|
|
2250
2250
|
* Ring Offset Width
|
|
@@ -2280,7 +2280,7 @@ const J = (e) => {
|
|
|
2280
2280
|
* @see https://tailwindcss.com/docs/opacity
|
|
2281
2281
|
*/
|
|
2282
2282
|
opacity: [{
|
|
2283
|
-
opacity: [
|
|
2283
|
+
opacity: [x]
|
|
2284
2284
|
}],
|
|
2285
2285
|
/**
|
|
2286
2286
|
* Mix Blend Mode
|
|
@@ -2345,7 +2345,7 @@ const J = (e) => {
|
|
|
2345
2345
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2346
2346
|
*/
|
|
2347
2347
|
"hue-rotate": [{
|
|
2348
|
-
"hue-rotate": [
|
|
2348
|
+
"hue-rotate": [f]
|
|
2349
2349
|
}],
|
|
2350
2350
|
/**
|
|
2351
2351
|
* Invert
|
|
@@ -2409,7 +2409,7 @@ const J = (e) => {
|
|
|
2409
2409
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2410
2410
|
*/
|
|
2411
2411
|
"backdrop-hue-rotate": [{
|
|
2412
|
-
"backdrop-hue-rotate": [
|
|
2412
|
+
"backdrop-hue-rotate": [f]
|
|
2413
2413
|
}],
|
|
2414
2414
|
/**
|
|
2415
2415
|
* Backdrop Invert
|
|
@@ -2423,7 +2423,7 @@ const J = (e) => {
|
|
|
2423
2423
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2424
2424
|
*/
|
|
2425
2425
|
"backdrop-opacity": [{
|
|
2426
|
-
"backdrop-opacity": [
|
|
2426
|
+
"backdrop-opacity": [x]
|
|
2427
2427
|
}],
|
|
2428
2428
|
/**
|
|
2429
2429
|
* Backdrop Saturate
|
|
@@ -3810,7 +3810,7 @@ const Ut = {
|
|
|
3810
3810
|
// ],
|
|
3811
3811
|
plugins: []
|
|
3812
3812
|
}, Do = Wo(L({}, Ut));
|
|
3813
|
-
function
|
|
3813
|
+
function ot(...e) {
|
|
3814
3814
|
return Do(_o(e));
|
|
3815
3815
|
}
|
|
3816
3816
|
const wa = (e, t = "AED") => {
|
|
@@ -3831,7 +3831,7 @@ const wa = (e, t = "AED") => {
|
|
|
3831
3831
|
tertiary: "ds-text-Text-secondary ds-rounded-sm ds-bg-Fills-quadrutery",
|
|
3832
3832
|
quaternary: "ds-rounded-sm ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark"
|
|
3833
3833
|
}, Bo = Vt.forwardRef(
|
|
3834
|
-
(h,
|
|
3834
|
+
(h, d) => {
|
|
3835
3835
|
var m = h, {
|
|
3836
3836
|
color: e = "primary",
|
|
3837
3837
|
size: t = "small",
|
|
@@ -3843,9 +3843,9 @@ const wa = (e, t = "AED") => {
|
|
|
3843
3843
|
endIcon: l,
|
|
3844
3844
|
trackingId: c,
|
|
3845
3845
|
helperText: u,
|
|
3846
|
-
helpterTextClassName:
|
|
3846
|
+
helpterTextClassName: f,
|
|
3847
3847
|
buttonClassName: g
|
|
3848
|
-
} = m,
|
|
3848
|
+
} = m, v = Le(m, [
|
|
3849
3849
|
"color",
|
|
3850
3850
|
"size",
|
|
3851
3851
|
"disabled",
|
|
@@ -3859,22 +3859,22 @@ const wa = (e, t = "AED") => {
|
|
|
3859
3859
|
"helpterTextClassName",
|
|
3860
3860
|
"buttonClassName"
|
|
3861
3861
|
]);
|
|
3862
|
-
return /* @__PURE__ */ B.jsxs("div", { className:
|
|
3862
|
+
return /* @__PURE__ */ B.jsxs("div", { className: ot("ds-flex ds-flex-col ds-gap-1", r), children: [
|
|
3863
3863
|
/* @__PURE__ */ B.jsxs(
|
|
3864
3864
|
"button",
|
|
3865
3865
|
G(L({
|
|
3866
3866
|
"data-tracking-id": c,
|
|
3867
|
-
ref:
|
|
3867
|
+
ref: d,
|
|
3868
3868
|
disabled: n,
|
|
3869
3869
|
className: Dt(
|
|
3870
|
-
|
|
3870
|
+
ot(
|
|
3871
3871
|
{ [Fo[e]]: i, [Sn[e]]: !i },
|
|
3872
3872
|
Sn[t],
|
|
3873
3873
|
"ds-flex ds-w-full ds-flex-1 ds-items-center ds-justify-center",
|
|
3874
3874
|
g
|
|
3875
3875
|
)
|
|
3876
3876
|
)
|
|
3877
|
-
},
|
|
3877
|
+
}, v), {
|
|
3878
3878
|
children: [
|
|
3879
3879
|
a && /* @__PURE__ */ B.jsx(En, { size: t, children: a }),
|
|
3880
3880
|
o && /* @__PURE__ */ B.jsx("div", { className: `${a ? "ds-ml-2" : ""} ${l ? "ds-mr-2" : ""}`, children: o }),
|
|
@@ -3885,9 +3885,9 @@ const wa = (e, t = "AED") => {
|
|
|
3885
3885
|
u && /* @__PURE__ */ B.jsx(
|
|
3886
3886
|
"div",
|
|
3887
3887
|
{
|
|
3888
|
-
className:
|
|
3888
|
+
className: ot(
|
|
3889
3889
|
"ds-w-full ds-text-right ds-text-mediumFootnoteRegular",
|
|
3890
|
-
|
|
3890
|
+
f
|
|
3891
3891
|
),
|
|
3892
3892
|
children: u
|
|
3893
3893
|
}
|
|
@@ -4013,7 +4013,7 @@ function qe(e) {
|
|
|
4013
4013
|
function Io(e) {
|
|
4014
4014
|
return ["table", "td", "th"].includes(Fe(e));
|
|
4015
4015
|
}
|
|
4016
|
-
function
|
|
4016
|
+
function gt(e) {
|
|
4017
4017
|
return [":popover-open", ":modal"].some((t) => {
|
|
4018
4018
|
try {
|
|
4019
4019
|
return e.matches(t);
|
|
@@ -4031,7 +4031,7 @@ function jo(e) {
|
|
|
4031
4031
|
for (; ie(t) && !Ee(t); ) {
|
|
4032
4032
|
if (Yt(t))
|
|
4033
4033
|
return t;
|
|
4034
|
-
if (
|
|
4034
|
+
if (gt(t))
|
|
4035
4035
|
return null;
|
|
4036
4036
|
t = he(t);
|
|
4037
4037
|
}
|
|
@@ -4046,7 +4046,7 @@ function Ee(e) {
|
|
|
4046
4046
|
function ce(e) {
|
|
4047
4047
|
return oe(e).getComputedStyle(e);
|
|
4048
4048
|
}
|
|
4049
|
-
function
|
|
4049
|
+
function ht(e) {
|
|
4050
4050
|
return X(e) ? {
|
|
4051
4051
|
scrollLeft: e.scrollLeft,
|
|
4052
4052
|
scrollTop: e.scrollTop
|
|
@@ -4160,7 +4160,7 @@ const Yo = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([co
|
|
|
4160
4160
|
function or(e) {
|
|
4161
4161
|
return ie(e) && e.matches(Yo);
|
|
4162
4162
|
}
|
|
4163
|
-
const we = Math.min, ae = Math.max,
|
|
4163
|
+
const we = Math.min, ae = Math.max, at = Math.round, rt = Math.floor, Se = (e) => ({
|
|
4164
4164
|
x: e,
|
|
4165
4165
|
y: e
|
|
4166
4166
|
}), qo = {
|
|
@@ -4200,10 +4200,10 @@ function Xo(e, t, n) {
|
|
|
4200
4200
|
n === void 0 && (n = !1);
|
|
4201
4201
|
const r = Xe(e), o = lr(e), a = ar(o);
|
|
4202
4202
|
let i = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
4203
|
-
return t.reference[a] > t.floating[a] && (i =
|
|
4203
|
+
return t.reference[a] > t.floating[a] && (i = lt(i)), [i, lt(i)];
|
|
4204
4204
|
}
|
|
4205
4205
|
function Jo(e) {
|
|
4206
|
-
const t =
|
|
4206
|
+
const t = lt(e);
|
|
4207
4207
|
return [It(e), t, It(t)];
|
|
4208
4208
|
}
|
|
4209
4209
|
function It(e) {
|
|
@@ -4227,7 +4227,7 @@ function Qo(e, t, n, r) {
|
|
|
4227
4227
|
let a = Zo(Te(e), n === "start", r);
|
|
4228
4228
|
return o && (a = a.map((i) => i + "-" + o), t && (a = a.concat(a.map(It)))), a;
|
|
4229
4229
|
}
|
|
4230
|
-
function
|
|
4230
|
+
function lt(e) {
|
|
4231
4231
|
return e.replace(/left|right|bottom|top/g, (t) => qo[t]);
|
|
4232
4232
|
}
|
|
4233
4233
|
function ei(e) {
|
|
@@ -4246,7 +4246,7 @@ function ti(e) {
|
|
|
4246
4246
|
left: e
|
|
4247
4247
|
};
|
|
4248
4248
|
}
|
|
4249
|
-
function
|
|
4249
|
+
function st(e) {
|
|
4250
4250
|
const {
|
|
4251
4251
|
x: t,
|
|
4252
4252
|
y: n,
|
|
@@ -4269,12 +4269,12 @@ function ct(e) {
|
|
|
4269
4269
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
4270
4270
|
*/
|
|
4271
4271
|
var ni = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])", "a[href]:not([inert])", "button:not([inert])", "[tabindex]:not(slot):not([inert])", "audio[controls]:not([inert])", "video[controls]:not([inert])", '[contenteditable]:not([contenteditable="false"]):not([inert])', "details>summary:first-of-type:not([inert])", "details:not([inert])"], jt = /* @__PURE__ */ ni.join(","), sr = typeof Element == "undefined", Ye = sr ? function() {
|
|
4272
|
-
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector,
|
|
4272
|
+
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, ct = !sr && Element.prototype.getRootNode ? function(e) {
|
|
4273
4273
|
var t;
|
|
4274
4274
|
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
|
4275
4275
|
} : function(e) {
|
|
4276
4276
|
return e == null ? void 0 : e.ownerDocument;
|
|
4277
|
-
},
|
|
4277
|
+
}, ut = function e(t, n) {
|
|
4278
4278
|
var r;
|
|
4279
4279
|
n === void 0 && (n = !0);
|
|
4280
4280
|
var o = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "inert"), a = o === "" || o === "true", i = a || n && t && e(t.parentNode);
|
|
@@ -4283,14 +4283,14 @@ var ni = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4283
4283
|
var n, r = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "contenteditable");
|
|
4284
4284
|
return r === "" || r === "true";
|
|
4285
4285
|
}, oi = function(t, n, r) {
|
|
4286
|
-
if (
|
|
4286
|
+
if (ut(t))
|
|
4287
4287
|
return [];
|
|
4288
4288
|
var o = Array.prototype.slice.apply(t.querySelectorAll(jt));
|
|
4289
4289
|
return n && Ye.call(t, jt) && o.unshift(t), o = o.filter(r), o;
|
|
4290
4290
|
}, ii = function e(t, n, r) {
|
|
4291
4291
|
for (var o = [], a = Array.from(t); a.length; ) {
|
|
4292
4292
|
var i = a.shift();
|
|
4293
|
-
if (!
|
|
4293
|
+
if (!ut(i, !1))
|
|
4294
4294
|
if (i.tagName === "SLOT") {
|
|
4295
4295
|
var l = i.assignedElements(), c = l.length ? l : i.children, u = e(c, !0, r);
|
|
4296
4296
|
r.flatten ? o.push.apply(o, u) : o.push({
|
|
@@ -4298,15 +4298,15 @@ var ni = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4298
4298
|
candidates: u
|
|
4299
4299
|
});
|
|
4300
4300
|
} else {
|
|
4301
|
-
var
|
|
4302
|
-
|
|
4301
|
+
var f = Ye.call(i, jt);
|
|
4302
|
+
f && r.filter(i) && (n || !t.includes(i)) && o.push(i);
|
|
4303
4303
|
var g = i.shadowRoot || // check for an undisclosed shadow
|
|
4304
|
-
typeof r.getShadowRoot == "function" && r.getShadowRoot(i),
|
|
4305
|
-
if (g &&
|
|
4306
|
-
var
|
|
4307
|
-
r.flatten ? o.push.apply(o,
|
|
4304
|
+
typeof r.getShadowRoot == "function" && r.getShadowRoot(i), v = !ut(g, !1) && (!r.shadowRootFilter || r.shadowRootFilter(i));
|
|
4305
|
+
if (g && v) {
|
|
4306
|
+
var d = e(g === !0 ? i.children : g.children, !0, r);
|
|
4307
|
+
r.flatten ? o.push.apply(o, d) : o.push({
|
|
4308
4308
|
scopeParent: i,
|
|
4309
|
-
candidates:
|
|
4309
|
+
candidates: d
|
|
4310
4310
|
});
|
|
4311
4311
|
} else
|
|
4312
4312
|
a.unshift.apply(a, i.children);
|
|
@@ -4340,7 +4340,7 @@ var ni = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4340
4340
|
}, di = function(t) {
|
|
4341
4341
|
if (!t.name)
|
|
4342
4342
|
return !0;
|
|
4343
|
-
var n = t.form ||
|
|
4343
|
+
var n = t.form || ct(t), r = function(l) {
|
|
4344
4344
|
return n.querySelectorAll('input[type="radio"][name="' + l + '"]');
|
|
4345
4345
|
}, o;
|
|
4346
4346
|
if (typeof window != "undefined" && typeof window.CSS != "undefined" && typeof window.CSS.escape == "function")
|
|
@@ -4358,12 +4358,12 @@ var ni = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4358
4358
|
}, gi = function(t) {
|
|
4359
4359
|
return fi(t) && !di(t);
|
|
4360
4360
|
}, hi = function(t) {
|
|
4361
|
-
var n, r = t &&
|
|
4361
|
+
var n, r = t && ct(t), o = (n = r) === null || n === void 0 ? void 0 : n.host, a = !1;
|
|
4362
4362
|
if (r && r !== t) {
|
|
4363
4363
|
var i, l, c;
|
|
4364
4364
|
for (a = !!((i = o) !== null && i !== void 0 && (l = i.ownerDocument) !== null && l !== void 0 && l.contains(o) || t != null && (c = t.ownerDocument) !== null && c !== void 0 && c.contains(t)); !a && o; ) {
|
|
4365
|
-
var u,
|
|
4366
|
-
r =
|
|
4365
|
+
var u, f, g;
|
|
4366
|
+
r = ct(o), o = (u = r) === null || u === void 0 ? void 0 : u.host, a = !!((f = o) !== null && f !== void 0 && (g = f.ownerDocument) !== null && g !== void 0 && g.contains(o));
|
|
4367
4367
|
}
|
|
4368
4368
|
}
|
|
4369
4369
|
return a;
|
|
@@ -4380,7 +4380,7 @@ var ni = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4380
4380
|
if (!r || r === "full" || r === "legacy-full") {
|
|
4381
4381
|
if (typeof o == "function") {
|
|
4382
4382
|
for (var l = t; t; ) {
|
|
4383
|
-
var c = t.parentElement, u =
|
|
4383
|
+
var c = t.parentElement, u = ct(t);
|
|
4384
4384
|
if (c && !c.shadowRoot && o(c) === !0)
|
|
4385
4385
|
return kn(t);
|
|
4386
4386
|
t.assignedSlot ? t = t.assignedSlot : !c && u !== t.ownerDocument ? t = u.host : t = c;
|
|
@@ -4412,7 +4412,7 @@ var ni = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4412
4412
|
return !(n.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
4413
4413
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
4414
4414
|
// note related to `candidateSelectors`)
|
|
4415
|
-
|
|
4415
|
+
ut(n) || si(n) || mi(n, t) || // For a details element with a summary, the summary element gets the focus
|
|
4416
4416
|
ci(n) || pi(n));
|
|
4417
4417
|
}, Ln = function(t, n) {
|
|
4418
4418
|
return !(gi(n) || ur(n) < 0 || !vi(t, n));
|
|
@@ -4448,48 +4448,48 @@ function zn(e, t, n) {
|
|
|
4448
4448
|
reference: r,
|
|
4449
4449
|
floating: o
|
|
4450
4450
|
} = e;
|
|
4451
|
-
const a = ze(t), i = lr(t), l = ar(i), c = Te(t), u = a === "y",
|
|
4452
|
-
let
|
|
4451
|
+
const a = ze(t), i = lr(t), l = ar(i), c = Te(t), u = a === "y", f = r.x + r.width / 2 - o.width / 2, g = r.y + r.height / 2 - o.height / 2, v = r[l] / 2 - o[l] / 2;
|
|
4452
|
+
let d;
|
|
4453
4453
|
switch (c) {
|
|
4454
4454
|
case "top":
|
|
4455
|
-
|
|
4456
|
-
x:
|
|
4455
|
+
d = {
|
|
4456
|
+
x: f,
|
|
4457
4457
|
y: r.y - o.height
|
|
4458
4458
|
};
|
|
4459
4459
|
break;
|
|
4460
4460
|
case "bottom":
|
|
4461
|
-
|
|
4462
|
-
x:
|
|
4461
|
+
d = {
|
|
4462
|
+
x: f,
|
|
4463
4463
|
y: r.y + r.height
|
|
4464
4464
|
};
|
|
4465
4465
|
break;
|
|
4466
4466
|
case "right":
|
|
4467
|
-
|
|
4467
|
+
d = {
|
|
4468
4468
|
x: r.x + r.width,
|
|
4469
4469
|
y: g
|
|
4470
4470
|
};
|
|
4471
4471
|
break;
|
|
4472
4472
|
case "left":
|
|
4473
|
-
|
|
4473
|
+
d = {
|
|
4474
4474
|
x: r.x - o.width,
|
|
4475
4475
|
y: g
|
|
4476
4476
|
};
|
|
4477
4477
|
break;
|
|
4478
4478
|
default:
|
|
4479
|
-
|
|
4479
|
+
d = {
|
|
4480
4480
|
x: r.x,
|
|
4481
4481
|
y: r.y
|
|
4482
4482
|
};
|
|
4483
4483
|
}
|
|
4484
4484
|
switch (Xe(t)) {
|
|
4485
4485
|
case "start":
|
|
4486
|
-
|
|
4486
|
+
d[i] -= v * (n && u ? -1 : 1);
|
|
4487
4487
|
break;
|
|
4488
4488
|
case "end":
|
|
4489
|
-
|
|
4489
|
+
d[i] += v * (n && u ? -1 : 1);
|
|
4490
4490
|
break;
|
|
4491
4491
|
}
|
|
4492
|
-
return
|
|
4492
|
+
return d;
|
|
4493
4493
|
}
|
|
4494
4494
|
const yi = (e, t, n) => fe(void 0, null, function* () {
|
|
4495
4495
|
const {
|
|
@@ -4503,25 +4503,25 @@ const yi = (e, t, n) => fe(void 0, null, function* () {
|
|
|
4503
4503
|
floating: t,
|
|
4504
4504
|
strategy: o
|
|
4505
4505
|
}), {
|
|
4506
|
-
x:
|
|
4506
|
+
x: f,
|
|
4507
4507
|
y: g
|
|
4508
|
-
} = zn(u, r, c),
|
|
4508
|
+
} = zn(u, r, c), v = r, d = {}, h = 0;
|
|
4509
4509
|
for (let m = 0; m < l.length; m++) {
|
|
4510
4510
|
const {
|
|
4511
4511
|
name: w,
|
|
4512
|
-
fn:
|
|
4512
|
+
fn: x
|
|
4513
4513
|
} = l[m], {
|
|
4514
|
-
x,
|
|
4514
|
+
x: y,
|
|
4515
4515
|
y: E,
|
|
4516
4516
|
data: z,
|
|
4517
4517
|
reset: M
|
|
4518
|
-
} = yield
|
|
4519
|
-
x:
|
|
4518
|
+
} = yield x({
|
|
4519
|
+
x: f,
|
|
4520
4520
|
y: g,
|
|
4521
4521
|
initialPlacement: r,
|
|
4522
|
-
placement:
|
|
4522
|
+
placement: v,
|
|
4523
4523
|
strategy: o,
|
|
4524
|
-
middlewareData:
|
|
4524
|
+
middlewareData: d,
|
|
4525
4525
|
rects: u,
|
|
4526
4526
|
platform: i,
|
|
4527
4527
|
elements: {
|
|
@@ -4529,23 +4529,23 @@ const yi = (e, t, n) => fe(void 0, null, function* () {
|
|
|
4529
4529
|
floating: t
|
|
4530
4530
|
}
|
|
4531
4531
|
});
|
|
4532
|
-
|
|
4533
|
-
[w]: L(L({},
|
|
4534
|
-
}), M && h <= 50 && (h++, typeof M == "object" && (M.placement && (
|
|
4532
|
+
f = y != null ? y : f, g = E != null ? E : g, d = G(L({}, d), {
|
|
4533
|
+
[w]: L(L({}, d[w]), z)
|
|
4534
|
+
}), M && h <= 50 && (h++, typeof M == "object" && (M.placement && (v = M.placement), M.rects && (u = M.rects === !0 ? yield i.getElementRects({
|
|
4535
4535
|
reference: e,
|
|
4536
4536
|
floating: t,
|
|
4537
4537
|
strategy: o
|
|
4538
4538
|
}) : M.rects), {
|
|
4539
|
-
x:
|
|
4539
|
+
x: f,
|
|
4540
4540
|
y: g
|
|
4541
|
-
} = zn(u,
|
|
4541
|
+
} = zn(u, v, c)), m = -1);
|
|
4542
4542
|
}
|
|
4543
4543
|
return {
|
|
4544
|
-
x:
|
|
4544
|
+
x: f,
|
|
4545
4545
|
y: g,
|
|
4546
|
-
placement:
|
|
4546
|
+
placement: v,
|
|
4547
4547
|
strategy: o,
|
|
4548
|
-
middlewareData:
|
|
4548
|
+
middlewareData: d
|
|
4549
4549
|
};
|
|
4550
4550
|
});
|
|
4551
4551
|
function Kt(e, t) {
|
|
@@ -4561,16 +4561,16 @@ function Kt(e, t) {
|
|
|
4561
4561
|
strategy: c
|
|
4562
4562
|
} = e, {
|
|
4563
4563
|
boundary: u = "clippingAncestors",
|
|
4564
|
-
rootBoundary:
|
|
4564
|
+
rootBoundary: f = "viewport",
|
|
4565
4565
|
elementContext: g = "floating",
|
|
4566
|
-
altBoundary:
|
|
4567
|
-
padding:
|
|
4568
|
-
} = Ke(t, e), h = ti(
|
|
4566
|
+
altBoundary: v = !1,
|
|
4567
|
+
padding: d = 0
|
|
4568
|
+
} = Ke(t, e), h = ti(d), w = l[v ? g === "floating" ? "reference" : "floating" : g], x = st(yield a.getClippingRect({
|
|
4569
4569
|
element: (n = yield a.isElement == null ? void 0 : a.isElement(w)) == null || n ? w : w.contextElement || (yield a.getDocumentElement == null ? void 0 : a.getDocumentElement(l.floating)),
|
|
4570
4570
|
boundary: u,
|
|
4571
|
-
rootBoundary:
|
|
4571
|
+
rootBoundary: f,
|
|
4572
4572
|
strategy: c
|
|
4573
|
-
})),
|
|
4573
|
+
})), y = g === "floating" ? {
|
|
4574
4574
|
x: r,
|
|
4575
4575
|
y: o,
|
|
4576
4576
|
width: i.floating.width,
|
|
@@ -4581,17 +4581,17 @@ function Kt(e, t) {
|
|
|
4581
4581
|
} : {
|
|
4582
4582
|
x: 1,
|
|
4583
4583
|
y: 1
|
|
4584
|
-
}, M =
|
|
4584
|
+
}, M = st(a.convertOffsetParentRelativeRectToViewportRelativeRect ? yield a.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
4585
4585
|
elements: l,
|
|
4586
|
-
rect:
|
|
4586
|
+
rect: y,
|
|
4587
4587
|
offsetParent: E,
|
|
4588
4588
|
strategy: c
|
|
4589
|
-
}) :
|
|
4589
|
+
}) : y);
|
|
4590
4590
|
return {
|
|
4591
|
-
top: (
|
|
4592
|
-
bottom: (M.bottom -
|
|
4593
|
-
left: (
|
|
4594
|
-
right: (M.right -
|
|
4591
|
+
top: (x.top - M.top + h.top) / z.y,
|
|
4592
|
+
bottom: (M.bottom - x.bottom + h.bottom) / z.y,
|
|
4593
|
+
left: (x.left - M.left + h.left) / z.x,
|
|
4594
|
+
right: (M.right - x.right + h.right) / z.x
|
|
4595
4595
|
};
|
|
4596
4596
|
});
|
|
4597
4597
|
}
|
|
@@ -4608,15 +4608,15 @@ const wi = function(e) {
|
|
|
4608
4608
|
rects: l,
|
|
4609
4609
|
initialPlacement: c,
|
|
4610
4610
|
platform: u,
|
|
4611
|
-
elements:
|
|
4611
|
+
elements: f
|
|
4612
4612
|
} = n, T = Ke(e, n), {
|
|
4613
4613
|
mainAxis: g = !0,
|
|
4614
|
-
crossAxis:
|
|
4615
|
-
fallbackPlacements:
|
|
4614
|
+
crossAxis: v = !0,
|
|
4615
|
+
fallbackPlacements: d,
|
|
4616
4616
|
fallbackStrategy: h = "bestFit",
|
|
4617
4617
|
fallbackAxisSideDirection: m = "none",
|
|
4618
4618
|
flipAlignment: w = !0
|
|
4619
|
-
} = T,
|
|
4619
|
+
} = T, x = Le(T, [
|
|
4620
4620
|
"mainAxis",
|
|
4621
4621
|
"crossAxis",
|
|
4622
4622
|
"fallbackPlacements",
|
|
@@ -4626,11 +4626,11 @@ const wi = function(e) {
|
|
|
4626
4626
|
]);
|
|
4627
4627
|
if ((r = i.arrow) != null && r.alignmentOffset)
|
|
4628
4628
|
return {};
|
|
4629
|
-
const
|
|
4630
|
-
!
|
|
4631
|
-
const q = [c, ...j], Z = yield Kt(n,
|
|
4629
|
+
const y = Te(a), E = ze(c), z = Te(c) === c, M = yield u.isRTL == null ? void 0 : u.isRTL(f.floating), j = d || (z || !w ? [lt(c)] : Jo(c)), U = m !== "none";
|
|
4630
|
+
!d && U && j.push(...Qo(c, w, m, M));
|
|
4631
|
+
const q = [c, ...j], Z = yield Kt(n, x), V = [];
|
|
4632
4632
|
let N = ((o = i.flip) == null ? void 0 : o.overflows) || [];
|
|
4633
|
-
if (g && V.push(Z[
|
|
4633
|
+
if (g && V.push(Z[y]), v) {
|
|
4634
4634
|
const S = Xo(a, l, M);
|
|
4635
4635
|
V.push(Z[S[0]], Z[S[1]]);
|
|
4636
4636
|
}
|
|
@@ -4689,10 +4689,10 @@ function Ri(e, t) {
|
|
|
4689
4689
|
placement: n,
|
|
4690
4690
|
platform: r,
|
|
4691
4691
|
elements: o
|
|
4692
|
-
} = e, a = yield r.isRTL == null ? void 0 : r.isRTL(o.floating), i = Te(n), l = Xe(n), c = ze(n) === "y", u = ["left", "top"].includes(i) ? -1 : 1,
|
|
4692
|
+
} = e, a = yield r.isRTL == null ? void 0 : r.isRTL(o.floating), i = Te(n), l = Xe(n), c = ze(n) === "y", u = ["left", "top"].includes(i) ? -1 : 1, f = a && c ? -1 : 1, g = Ke(t, e);
|
|
4693
4693
|
let {
|
|
4694
|
-
mainAxis:
|
|
4695
|
-
crossAxis:
|
|
4694
|
+
mainAxis: v,
|
|
4695
|
+
crossAxis: d,
|
|
4696
4696
|
alignmentAxis: h
|
|
4697
4697
|
} = typeof g == "number" ? {
|
|
4698
4698
|
mainAxis: g,
|
|
@@ -4703,12 +4703,12 @@ function Ri(e, t) {
|
|
|
4703
4703
|
crossAxis: 0,
|
|
4704
4704
|
alignmentAxis: null
|
|
4705
4705
|
}, g);
|
|
4706
|
-
return l && typeof h == "number" && (
|
|
4707
|
-
x:
|
|
4708
|
-
y:
|
|
4706
|
+
return l && typeof h == "number" && (d = l === "end" ? h * -1 : h), c ? {
|
|
4707
|
+
x: d * f,
|
|
4708
|
+
y: v * u
|
|
4709
4709
|
} : {
|
|
4710
|
-
x:
|
|
4711
|
-
y:
|
|
4710
|
+
x: v * u,
|
|
4711
|
+
y: d * f
|
|
4712
4712
|
};
|
|
4713
4713
|
});
|
|
4714
4714
|
}
|
|
@@ -4745,41 +4745,41 @@ const Ei = function(e) {
|
|
|
4745
4745
|
x: r,
|
|
4746
4746
|
y: o,
|
|
4747
4747
|
placement: a
|
|
4748
|
-
} = n,
|
|
4748
|
+
} = n, x = Ke(e, n), {
|
|
4749
4749
|
mainAxis: i = !0,
|
|
4750
4750
|
crossAxis: l = !1,
|
|
4751
4751
|
limiter: c = {
|
|
4752
|
-
fn: (
|
|
4752
|
+
fn: (y) => {
|
|
4753
4753
|
let {
|
|
4754
4754
|
x: E,
|
|
4755
4755
|
y: z
|
|
4756
|
-
} =
|
|
4756
|
+
} = y;
|
|
4757
4757
|
return {
|
|
4758
4758
|
x: E,
|
|
4759
4759
|
y: z
|
|
4760
4760
|
};
|
|
4761
4761
|
}
|
|
4762
4762
|
}
|
|
4763
|
-
} =
|
|
4763
|
+
} = x, u = Le(x, [
|
|
4764
4764
|
"mainAxis",
|
|
4765
4765
|
"crossAxis",
|
|
4766
4766
|
"limiter"
|
|
4767
|
-
]),
|
|
4767
|
+
]), f = {
|
|
4768
4768
|
x: r,
|
|
4769
4769
|
y: o
|
|
4770
|
-
}, g = yield Kt(n, u),
|
|
4771
|
-
let h = d
|
|
4770
|
+
}, g = yield Kt(n, u), v = ze(Te(a)), d = ir(v);
|
|
4771
|
+
let h = f[d], m = f[v];
|
|
4772
4772
|
if (i) {
|
|
4773
|
-
const
|
|
4773
|
+
const y = d === "y" ? "top" : "left", E = d === "y" ? "bottom" : "right", z = h + g[y], M = h - g[E];
|
|
4774
4774
|
h = Cn(z, h, M);
|
|
4775
4775
|
}
|
|
4776
4776
|
if (l) {
|
|
4777
|
-
const
|
|
4777
|
+
const y = v === "y" ? "top" : "left", E = v === "y" ? "bottom" : "right", z = m + g[y], M = m - g[E];
|
|
4778
4778
|
m = Cn(z, m, M);
|
|
4779
4779
|
}
|
|
4780
4780
|
const w = c.fn(G(L({}, n), {
|
|
4781
|
-
[
|
|
4782
|
-
[
|
|
4781
|
+
[d]: h,
|
|
4782
|
+
[v]: m
|
|
4783
4783
|
}));
|
|
4784
4784
|
return G(L({}, w), {
|
|
4785
4785
|
data: {
|
|
@@ -4806,24 +4806,24 @@ const Ei = function(e) {
|
|
|
4806
4806
|
}
|
|
4807
4807
|
} = Z, c = Le(Z, [
|
|
4808
4808
|
"apply"
|
|
4809
|
-
]), u = yield Kt(n, c),
|
|
4810
|
-
width:
|
|
4809
|
+
]), u = yield Kt(n, c), f = Te(r), g = Xe(r), v = ze(r) === "y", {
|
|
4810
|
+
width: d,
|
|
4811
4811
|
height: h
|
|
4812
4812
|
} = o.floating;
|
|
4813
4813
|
let m, w;
|
|
4814
|
-
|
|
4815
|
-
const
|
|
4814
|
+
f === "top" || f === "bottom" ? (m = f, w = g === ((yield a.isRTL == null ? void 0 : a.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (w = f, m = g === "end" ? "top" : "bottom");
|
|
4815
|
+
const x = h - u.top - u.bottom, y = d - u.left - u.right, E = we(h - u[m], x), z = we(d - u[w], y), M = !n.middlewareData.shift;
|
|
4816
4816
|
let j = E, U = z;
|
|
4817
|
-
if (
|
|
4817
|
+
if (v ? U = g || M ? we(z, y) : y : j = g || M ? we(E, x) : x, M && !g) {
|
|
4818
4818
|
const V = ae(u.left, 0), N = ae(u.right, 0), H = ae(u.top, 0), Y = ae(u.bottom, 0);
|
|
4819
|
-
|
|
4819
|
+
v ? U = d - 2 * (V !== 0 || N !== 0 ? V + N : ae(u.left, u.right)) : j = h - 2 * (H !== 0 || Y !== 0 ? H + Y : ae(u.top, u.bottom));
|
|
4820
4820
|
}
|
|
4821
4821
|
yield l(G(L({}, n), {
|
|
4822
4822
|
availableWidth: U,
|
|
4823
4823
|
availableHeight: j
|
|
4824
4824
|
}));
|
|
4825
4825
|
const q = yield a.getDimensions(i.floating);
|
|
4826
|
-
return
|
|
4826
|
+
return d !== q.width || h !== q.height ? {
|
|
4827
4827
|
reset: {
|
|
4828
4828
|
rects: !0
|
|
4829
4829
|
}
|
|
@@ -4835,7 +4835,7 @@ const Ei = function(e) {
|
|
|
4835
4835
|
function gr(e) {
|
|
4836
4836
|
const t = ce(e);
|
|
4837
4837
|
let n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0;
|
|
4838
|
-
const o = ie(e), a = o ? e.offsetWidth : n, i = o ? e.offsetHeight : r, l =
|
|
4838
|
+
const o = ie(e), a = o ? e.offsetWidth : n, i = o ? e.offsetHeight : r, l = at(n) !== a || at(r) !== i;
|
|
4839
4839
|
return l && (n = a, r = i), {
|
|
4840
4840
|
width: n,
|
|
4841
4841
|
height: r,
|
|
@@ -4854,7 +4854,7 @@ function We(e) {
|
|
|
4854
4854
|
height: o,
|
|
4855
4855
|
$: a
|
|
4856
4856
|
} = gr(t);
|
|
4857
|
-
let i = (a ?
|
|
4857
|
+
let i = (a ? at(n.width) : n.width) / r, l = (a ? at(n.height) : n.height) / o;
|
|
4858
4858
|
return (!i || !Number.isFinite(i)) && (i = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
4859
4859
|
x: i,
|
|
4860
4860
|
y: l
|
|
@@ -4877,17 +4877,17 @@ function Me(e, t, n, r) {
|
|
|
4877
4877
|
let i = Se(1);
|
|
4878
4878
|
t && (r ? X(r) && (i = We(r)) : i = We(e));
|
|
4879
4879
|
const l = ki(a, n, r) ? hr(a) : Se(0);
|
|
4880
|
-
let c = (o.left + l.x) / i.x, u = (o.top + l.y) / i.y,
|
|
4880
|
+
let c = (o.left + l.x) / i.x, u = (o.top + l.y) / i.y, f = o.width / i.x, g = o.height / i.y;
|
|
4881
4881
|
if (a) {
|
|
4882
|
-
const
|
|
4883
|
-
let h =
|
|
4884
|
-
for (; m && r &&
|
|
4885
|
-
const w = We(m),
|
|
4886
|
-
c *= w.x, u *= w.y,
|
|
4882
|
+
const v = oe(a), d = r && X(r) ? oe(r) : r;
|
|
4883
|
+
let h = v, m = h.frameElement;
|
|
4884
|
+
for (; m && r && d !== h; ) {
|
|
4885
|
+
const w = We(m), x = m.getBoundingClientRect(), y = ce(m), E = x.left + (m.clientLeft + parseFloat(y.paddingLeft)) * w.x, z = x.top + (m.clientTop + parseFloat(y.paddingTop)) * w.y;
|
|
4886
|
+
c *= w.x, u *= w.y, f *= w.x, g *= w.y, c += E, u += z, h = oe(m), m = h.frameElement;
|
|
4887
4887
|
}
|
|
4888
4888
|
}
|
|
4889
|
-
return
|
|
4890
|
-
width:
|
|
4889
|
+
return st({
|
|
4890
|
+
width: f,
|
|
4891
4891
|
height: g,
|
|
4892
4892
|
x: c,
|
|
4893
4893
|
y: u
|
|
@@ -4900,33 +4900,33 @@ function Li(e) {
|
|
|
4900
4900
|
offsetParent: r,
|
|
4901
4901
|
strategy: o
|
|
4902
4902
|
} = e;
|
|
4903
|
-
const a = o === "fixed", i = me(r), l = t ?
|
|
4903
|
+
const a = o === "fixed", i = me(r), l = t ? gt(t.floating) : !1;
|
|
4904
4904
|
if (r === i || l && a)
|
|
4905
4905
|
return n;
|
|
4906
4906
|
let c = {
|
|
4907
4907
|
scrollLeft: 0,
|
|
4908
4908
|
scrollTop: 0
|
|
4909
4909
|
}, u = Se(1);
|
|
4910
|
-
const
|
|
4911
|
-
if ((g || !g && !a) && ((Fe(r) !== "body" || qe(i)) && (c =
|
|
4912
|
-
const
|
|
4913
|
-
u = We(r),
|
|
4910
|
+
const f = Se(0), g = ie(r);
|
|
4911
|
+
if ((g || !g && !a) && ((Fe(r) !== "body" || qe(i)) && (c = ht(r)), ie(r))) {
|
|
4912
|
+
const v = Me(r);
|
|
4913
|
+
u = We(r), f.x = v.x + r.clientLeft, f.y = v.y + r.clientTop;
|
|
4914
4914
|
}
|
|
4915
4915
|
return {
|
|
4916
4916
|
width: n.width * u.x,
|
|
4917
4917
|
height: n.height * u.y,
|
|
4918
|
-
x: n.x * u.x - c.scrollLeft * u.x +
|
|
4919
|
-
y: n.y * u.y - c.scrollTop * u.y +
|
|
4918
|
+
x: n.x * u.x - c.scrollLeft * u.x + f.x,
|
|
4919
|
+
y: n.y * u.y - c.scrollTop * u.y + f.y
|
|
4920
4920
|
};
|
|
4921
4921
|
}
|
|
4922
4922
|
function zi(e) {
|
|
4923
4923
|
return Array.from(e.getClientRects());
|
|
4924
4924
|
}
|
|
4925
4925
|
function mr(e) {
|
|
4926
|
-
return Me(me(e)).left +
|
|
4926
|
+
return Me(me(e)).left + ht(e).scrollLeft;
|
|
4927
4927
|
}
|
|
4928
4928
|
function Mi(e) {
|
|
4929
|
-
const t = me(e), n =
|
|
4929
|
+
const t = me(e), n = ht(e), r = e.ownerDocument.body, o = ae(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = ae(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
|
|
4930
4930
|
let i = -n.scrollLeft + mr(e);
|
|
4931
4931
|
const l = -n.scrollTop;
|
|
4932
4932
|
return ce(r).direction === "rtl" && (i += ae(t.clientWidth, r.clientWidth) - o), {
|
|
@@ -4975,7 +4975,7 @@ function Mn(e, t, n) {
|
|
|
4975
4975
|
y: t.y - o.y
|
|
4976
4976
|
});
|
|
4977
4977
|
}
|
|
4978
|
-
return
|
|
4978
|
+
return st(r);
|
|
4979
4979
|
}
|
|
4980
4980
|
function pr(e, t) {
|
|
4981
4981
|
const n = he(e);
|
|
@@ -4990,7 +4990,7 @@ function Ai(e, t) {
|
|
|
4990
4990
|
let i = a ? he(e) : e;
|
|
4991
4991
|
for (; X(i) && !Ee(i); ) {
|
|
4992
4992
|
const l = ce(i), c = Yt(i);
|
|
4993
|
-
!c && l.position === "fixed" && (o = null), (a ? !c && !o : !c && l.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || qe(i) && !c && pr(e, i)) ? r = r.filter((
|
|
4993
|
+
!c && l.position === "fixed" && (o = null), (a ? !c && !o : !c && l.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || qe(i) && !c && pr(e, i)) ? r = r.filter((f) => f !== i) : o = l, i = he(i);
|
|
4994
4994
|
}
|
|
4995
4995
|
return t.set(e, r), r;
|
|
4996
4996
|
}
|
|
@@ -5001,8 +5001,8 @@ function Oi(e) {
|
|
|
5001
5001
|
rootBoundary: r,
|
|
5002
5002
|
strategy: o
|
|
5003
5003
|
} = e;
|
|
5004
|
-
const i = [...n === "clippingAncestors" ?
|
|
5005
|
-
const g = Mn(t,
|
|
5004
|
+
const i = [...n === "clippingAncestors" ? gt(t) ? [] : Ai(t, this._c) : [].concat(n), r], l = i[0], c = i.reduce((u, f) => {
|
|
5005
|
+
const g = Mn(t, f, o);
|
|
5006
5006
|
return u.top = ae(g.top, u.top), u.right = we(g.right, u.right), u.bottom = we(g.bottom, u.bottom), u.left = ae(g.left, u.left), u;
|
|
5007
5007
|
}, Mn(t, l, o));
|
|
5008
5008
|
return {
|
|
@@ -5030,14 +5030,14 @@ function _i(e, t, n) {
|
|
|
5030
5030
|
};
|
|
5031
5031
|
const c = Se(0);
|
|
5032
5032
|
if (r || !r && !a)
|
|
5033
|
-
if ((Fe(t) !== "body" || qe(o)) && (l =
|
|
5033
|
+
if ((Fe(t) !== "body" || qe(o)) && (l = ht(t)), r) {
|
|
5034
5034
|
const g = Me(t, !0, a, t);
|
|
5035
5035
|
c.x = g.x + t.clientLeft, c.y = g.y + t.clientTop;
|
|
5036
5036
|
} else o && (c.x = mr(o));
|
|
5037
|
-
const u = i.left + l.scrollLeft - c.x,
|
|
5037
|
+
const u = i.left + l.scrollLeft - c.x, f = i.top + l.scrollTop - c.y;
|
|
5038
5038
|
return {
|
|
5039
5039
|
x: u,
|
|
5040
|
-
y:
|
|
5040
|
+
y: f,
|
|
5041
5041
|
width: i.width,
|
|
5042
5042
|
height: i.height
|
|
5043
5043
|
};
|
|
@@ -5050,7 +5050,7 @@ function Hn(e, t) {
|
|
|
5050
5050
|
}
|
|
5051
5051
|
function vr(e, t) {
|
|
5052
5052
|
const n = oe(e);
|
|
5053
|
-
if (
|
|
5053
|
+
if (gt(e))
|
|
5054
5054
|
return n;
|
|
5055
5055
|
if (!ie(e)) {
|
|
5056
5056
|
let o = he(e);
|
|
@@ -5106,14 +5106,14 @@ function Ii(e, t) {
|
|
|
5106
5106
|
l === void 0 && (l = !1), c === void 0 && (c = 1), a();
|
|
5107
5107
|
const {
|
|
5108
5108
|
left: u,
|
|
5109
|
-
top:
|
|
5109
|
+
top: f,
|
|
5110
5110
|
width: g,
|
|
5111
|
-
height:
|
|
5111
|
+
height: v
|
|
5112
5112
|
} = e.getBoundingClientRect();
|
|
5113
|
-
if (l || t(), !g || !
|
|
5113
|
+
if (l || t(), !g || !v)
|
|
5114
5114
|
return;
|
|
5115
|
-
const
|
|
5116
|
-
rootMargin: -
|
|
5115
|
+
const d = rt(f), h = rt(o.clientWidth - (u + g)), m = rt(o.clientHeight - (f + v)), w = rt(u), y = {
|
|
5116
|
+
rootMargin: -d + "px " + -h + "px " + -m + "px " + -w + "px",
|
|
5117
5117
|
threshold: ae(0, we(1, c)) || 1
|
|
5118
5118
|
};
|
|
5119
5119
|
let E = !0;
|
|
@@ -5129,12 +5129,12 @@ function Ii(e, t) {
|
|
|
5129
5129
|
E = !1;
|
|
5130
5130
|
}
|
|
5131
5131
|
try {
|
|
5132
|
-
n = new IntersectionObserver(z, G(L({},
|
|
5132
|
+
n = new IntersectionObserver(z, G(L({}, y), {
|
|
5133
5133
|
// Handle <iframe>s
|
|
5134
5134
|
root: o.ownerDocument
|
|
5135
5135
|
}));
|
|
5136
5136
|
} catch (M) {
|
|
5137
|
-
n = new IntersectionObserver(z,
|
|
5137
|
+
n = new IntersectionObserver(z, y);
|
|
5138
5138
|
}
|
|
5139
5139
|
n.observe(e);
|
|
5140
5140
|
}
|
|
@@ -5148,32 +5148,32 @@ function Ta(e, t, n, r) {
|
|
|
5148
5148
|
elementResize: i = typeof ResizeObserver == "function",
|
|
5149
5149
|
layoutShift: l = typeof IntersectionObserver == "function",
|
|
5150
5150
|
animationFrame: c = !1
|
|
5151
|
-
} = r, u = Xt(e),
|
|
5152
|
-
|
|
5153
|
-
o &&
|
|
5151
|
+
} = r, u = Xt(e), f = o || a ? [...u ? Re(u) : [], ...Re(t)] : [];
|
|
5152
|
+
f.forEach((x) => {
|
|
5153
|
+
o && x.addEventListener("scroll", n, {
|
|
5154
5154
|
passive: !0
|
|
5155
|
-
}), a &&
|
|
5155
|
+
}), a && x.addEventListener("resize", n);
|
|
5156
5156
|
});
|
|
5157
5157
|
const g = u && l ? Ii(u, n) : null;
|
|
5158
|
-
let
|
|
5159
|
-
i && (
|
|
5160
|
-
let [
|
|
5161
|
-
|
|
5158
|
+
let v = -1, d = null;
|
|
5159
|
+
i && (d = new ResizeObserver((x) => {
|
|
5160
|
+
let [y] = x;
|
|
5161
|
+
y && y.target === u && d && (d.unobserve(t), cancelAnimationFrame(v), v = requestAnimationFrame(() => {
|
|
5162
5162
|
var E;
|
|
5163
|
-
(E =
|
|
5163
|
+
(E = d) == null || E.observe(t);
|
|
5164
5164
|
})), n();
|
|
5165
|
-
}), u && !c &&
|
|
5165
|
+
}), u && !c && d.observe(u), d.observe(t));
|
|
5166
5166
|
let h, m = c ? Me(e) : null;
|
|
5167
5167
|
c && w();
|
|
5168
5168
|
function w() {
|
|
5169
|
-
const
|
|
5170
|
-
m && (
|
|
5169
|
+
const x = Me(e);
|
|
5170
|
+
m && (x.x !== m.x || x.y !== m.y || x.width !== m.width || x.height !== m.height) && n(), m = x, h = requestAnimationFrame(w);
|
|
5171
5171
|
}
|
|
5172
5172
|
return n(), () => {
|
|
5173
|
-
var
|
|
5174
|
-
|
|
5175
|
-
o &&
|
|
5176
|
-
}), g == null || g(), (
|
|
5173
|
+
var x;
|
|
5174
|
+
f.forEach((y) => {
|
|
5175
|
+
o && y.removeEventListener("scroll", n), a && y.removeEventListener("resize", n);
|
|
5176
|
+
}), g == null || g(), (x = d) == null || x.disconnect(), d = null, c && cancelAnimationFrame(h);
|
|
5177
5177
|
};
|
|
5178
5178
|
}
|
|
5179
5179
|
const ji = Ei, Ni = Si, $i = wi, Vi = Ti, Gi = (e, t, n) => {
|
|
@@ -5186,8 +5186,8 @@ const ji = Ei, Ni = Si, $i = wi, Vi = Ti, Gi = (e, t, n) => {
|
|
|
5186
5186
|
platform: a
|
|
5187
5187
|
}));
|
|
5188
5188
|
};
|
|
5189
|
-
var
|
|
5190
|
-
function
|
|
5189
|
+
var it = typeof document != "undefined" ? Vn : ft;
|
|
5190
|
+
function dt(e, t) {
|
|
5191
5191
|
if (e === t)
|
|
5192
5192
|
return !0;
|
|
5193
5193
|
if (typeof e != typeof t)
|
|
@@ -5199,7 +5199,7 @@ function ft(e, t) {
|
|
|
5199
5199
|
if (Array.isArray(e)) {
|
|
5200
5200
|
if (n = e.length, n !== t.length) return !1;
|
|
5201
5201
|
for (r = n; r-- !== 0; )
|
|
5202
|
-
if (!
|
|
5202
|
+
if (!dt(e[r], t[r]))
|
|
5203
5203
|
return !1;
|
|
5204
5204
|
return !0;
|
|
5205
5205
|
}
|
|
@@ -5210,7 +5210,7 @@ function ft(e, t) {
|
|
|
5210
5210
|
return !1;
|
|
5211
5211
|
for (r = n; r-- !== 0; ) {
|
|
5212
5212
|
const a = o[r];
|
|
5213
|
-
if (!(a === "_owner" && e.$$typeof) && !
|
|
5213
|
+
if (!(a === "_owner" && e.$$typeof) && !dt(e[a], t[a]))
|
|
5214
5214
|
return !1;
|
|
5215
5215
|
}
|
|
5216
5216
|
return !0;
|
|
@@ -5226,7 +5226,7 @@ function Pn(e, t) {
|
|
|
5226
5226
|
}
|
|
5227
5227
|
function An(e) {
|
|
5228
5228
|
const t = p.useRef(e);
|
|
5229
|
-
return
|
|
5229
|
+
return it(() => {
|
|
5230
5230
|
t.current = e;
|
|
5231
5231
|
}), t;
|
|
5232
5232
|
}
|
|
@@ -5244,45 +5244,45 @@ function Ui(e) {
|
|
|
5244
5244
|
transform: l = !0,
|
|
5245
5245
|
whileElementsMounted: c,
|
|
5246
5246
|
open: u
|
|
5247
|
-
} = e, [
|
|
5247
|
+
} = e, [f, g] = p.useState({
|
|
5248
5248
|
x: 0,
|
|
5249
5249
|
y: 0,
|
|
5250
5250
|
strategy: n,
|
|
5251
5251
|
placement: t,
|
|
5252
5252
|
middlewareData: {},
|
|
5253
5253
|
isPositioned: !1
|
|
5254
|
-
}), [
|
|
5255
|
-
|
|
5256
|
-
const [h, m] = p.useState(null), [w,
|
|
5254
|
+
}), [v, d] = p.useState(r);
|
|
5255
|
+
dt(v, r) || d(r);
|
|
5256
|
+
const [h, m] = p.useState(null), [w, x] = p.useState(null), y = p.useCallback((C) => {
|
|
5257
5257
|
C !== j.current && (j.current = C, m(C));
|
|
5258
5258
|
}, []), E = p.useCallback((C) => {
|
|
5259
|
-
C !== U.current && (U.current = C,
|
|
5260
|
-
}, []), z = a || h, M = i || w, j = p.useRef(null), U = p.useRef(null), q = p.useRef(
|
|
5259
|
+
C !== U.current && (U.current = C, x(C));
|
|
5260
|
+
}, []), z = a || h, M = i || w, j = p.useRef(null), U = p.useRef(null), q = p.useRef(f), Z = c != null, V = An(c), N = An(o), H = p.useCallback(() => {
|
|
5261
5261
|
if (!j.current || !U.current)
|
|
5262
5262
|
return;
|
|
5263
5263
|
const C = {
|
|
5264
5264
|
placement: t,
|
|
5265
5265
|
strategy: n,
|
|
5266
|
-
middleware:
|
|
5266
|
+
middleware: v
|
|
5267
5267
|
};
|
|
5268
5268
|
N.current && (C.platform = N.current), Gi(j.current, U.current, C).then((k) => {
|
|
5269
5269
|
const I = G(L({}, k), {
|
|
5270
5270
|
isPositioned: !0
|
|
5271
5271
|
});
|
|
5272
|
-
Y.current && !
|
|
5272
|
+
Y.current && !dt(q.current, I) && (q.current = I, Un.flushSync(() => {
|
|
5273
5273
|
g(I);
|
|
5274
5274
|
}));
|
|
5275
5275
|
});
|
|
5276
|
-
}, [
|
|
5277
|
-
|
|
5276
|
+
}, [v, t, n, N]);
|
|
5277
|
+
it(() => {
|
|
5278
5278
|
u === !1 && q.current.isPositioned && (q.current.isPositioned = !1, g((C) => G(L({}, C), {
|
|
5279
5279
|
isPositioned: !1
|
|
5280
5280
|
})));
|
|
5281
5281
|
}, [u]);
|
|
5282
5282
|
const Y = p.useRef(!1);
|
|
5283
|
-
|
|
5283
|
+
it(() => (Y.current = !0, () => {
|
|
5284
5284
|
Y.current = !1;
|
|
5285
|
-
}), []),
|
|
5285
|
+
}), []), it(() => {
|
|
5286
5286
|
if (z && (j.current = z), M && (U.current = M), z && M) {
|
|
5287
5287
|
if (V.current)
|
|
5288
5288
|
return V.current(z, M, H);
|
|
@@ -5292,9 +5292,9 @@ function Ui(e) {
|
|
|
5292
5292
|
const P = p.useMemo(() => ({
|
|
5293
5293
|
reference: j,
|
|
5294
5294
|
floating: U,
|
|
5295
|
-
setReference:
|
|
5295
|
+
setReference: y,
|
|
5296
5296
|
setFloating: E
|
|
5297
|
-
}), [
|
|
5297
|
+
}), [y, E]), T = p.useMemo(() => ({
|
|
5298
5298
|
reference: z,
|
|
5299
5299
|
floating: M
|
|
5300
5300
|
}), [z, M]), S = p.useMemo(() => {
|
|
@@ -5305,7 +5305,7 @@ function Ui(e) {
|
|
|
5305
5305
|
};
|
|
5306
5306
|
if (!T.floating)
|
|
5307
5307
|
return C;
|
|
5308
|
-
const k = Pn(T.floating,
|
|
5308
|
+
const k = Pn(T.floating, f.x), I = Pn(T.floating, f.y);
|
|
5309
5309
|
return l ? L(G(L({}, C), {
|
|
5310
5310
|
transform: "translate(" + k + "px, " + I + "px)"
|
|
5311
5311
|
}), br(T.floating) >= 1.5 && {
|
|
@@ -5315,13 +5315,13 @@ function Ui(e) {
|
|
|
5315
5315
|
left: k,
|
|
5316
5316
|
top: I
|
|
5317
5317
|
};
|
|
5318
|
-
}, [n, l, T.floating,
|
|
5319
|
-
return p.useMemo(() => G(L({},
|
|
5318
|
+
}, [n, l, T.floating, f.x, f.y]);
|
|
5319
|
+
return p.useMemo(() => G(L({}, f), {
|
|
5320
5320
|
update: H,
|
|
5321
5321
|
refs: P,
|
|
5322
5322
|
elements: T,
|
|
5323
5323
|
floatingStyles: S
|
|
5324
|
-
}), [
|
|
5324
|
+
}), [f, H, P, T, S]);
|
|
5325
5325
|
}
|
|
5326
5326
|
const Ca = (e, t) => G(L({}, ji(e)), {
|
|
5327
5327
|
options: [e, t]
|
|
@@ -5345,7 +5345,7 @@ function xe(e) {
|
|
|
5345
5345
|
return t.current == null ? void 0 : t.current(...r);
|
|
5346
5346
|
}, []);
|
|
5347
5347
|
}
|
|
5348
|
-
var ue = typeof document != "undefined" ? Vn :
|
|
5348
|
+
var ue = typeof document != "undefined" ? Vn : ft;
|
|
5349
5349
|
function Nt() {
|
|
5350
5350
|
return Nt = Object.assign ? Object.assign.bind() : function(e) {
|
|
5351
5351
|
for (var t = 1; t < arguments.length; t++) {
|
|
@@ -5427,10 +5427,10 @@ function Ma(e, t) {
|
|
|
5427
5427
|
enabled: l = !0,
|
|
5428
5428
|
delay: c = 0,
|
|
5429
5429
|
handleClose: u = null,
|
|
5430
|
-
mouseOnly:
|
|
5430
|
+
mouseOnly: f = !1,
|
|
5431
5431
|
restMs: g = 0,
|
|
5432
|
-
move:
|
|
5433
|
-
} = t,
|
|
5432
|
+
move: v = !0
|
|
5433
|
+
} = t, d = Qt(), h = Zt(), m = Ct(u), w = Ct(c), x = Ct(n), y = p.useRef(), E = p.useRef(-1), z = p.useRef(), M = p.useRef(-1), j = p.useRef(!0), U = p.useRef(!1), q = p.useRef(() => {
|
|
5434
5434
|
}), Z = p.useCallback(() => {
|
|
5435
5435
|
var T;
|
|
5436
5436
|
const S = (T = o.current.openEvent) == null ? void 0 : T.type;
|
|
@@ -5459,7 +5459,7 @@ function Ma(e, t) {
|
|
|
5459
5459
|
}, [i.floating, n, r, l, m, Z]);
|
|
5460
5460
|
const V = p.useCallback(function(T, S, C) {
|
|
5461
5461
|
S === void 0 && (S = !0), C === void 0 && (C = "hover");
|
|
5462
|
-
const k = kt(w.current, "close",
|
|
5462
|
+
const k = kt(w.current, "close", y.current);
|
|
5463
5463
|
k && !z.current ? (clearTimeout(E.current), E.current = window.setTimeout(() => r(!1, T, C), k)) : S && (clearTimeout(E.current), r(!1, T, C));
|
|
5464
5464
|
}, [w, r]), N = xe(() => {
|
|
5465
5465
|
q.current(), z.current = void 0;
|
|
@@ -5475,11 +5475,11 @@ function Ma(e, t) {
|
|
|
5475
5475
|
return o.current.openEvent ? ["click", "mousedown"].includes(o.current.openEvent.type) : !1;
|
|
5476
5476
|
}
|
|
5477
5477
|
function S(A) {
|
|
5478
|
-
if (clearTimeout(E.current), j.current = !1,
|
|
5478
|
+
if (clearTimeout(E.current), j.current = !1, f && !Ue(y.current) || g > 0 && !kt(w.current, "open"))
|
|
5479
5479
|
return;
|
|
5480
|
-
const _ = kt(w.current, "open",
|
|
5480
|
+
const _ = kt(w.current, "open", y.current);
|
|
5481
5481
|
_ ? E.current = window.setTimeout(() => {
|
|
5482
|
-
|
|
5482
|
+
x.current || r(!0, A, "hover");
|
|
5483
5483
|
}, _) : r(!0, A, "hover");
|
|
5484
5484
|
}
|
|
5485
5485
|
function C(A) {
|
|
@@ -5488,7 +5488,7 @@ function Ma(e, t) {
|
|
|
5488
5488
|
const _ = ye(i.floating);
|
|
5489
5489
|
if (clearTimeout(M.current), m.current && o.current.floatingContext) {
|
|
5490
5490
|
n || clearTimeout(E.current), z.current = m.current(G(L({}, o.current.floatingContext), {
|
|
5491
|
-
tree:
|
|
5491
|
+
tree: d,
|
|
5492
5492
|
x: A.clientX,
|
|
5493
5493
|
y: A.clientY,
|
|
5494
5494
|
onClose() {
|
|
@@ -5501,11 +5501,11 @@ function Ma(e, t) {
|
|
|
5501
5501
|
};
|
|
5502
5502
|
return;
|
|
5503
5503
|
}
|
|
5504
|
-
(
|
|
5504
|
+
(y.current === "touch" ? !_e(i.floating, A.relatedTarget) : !0) && V(A);
|
|
5505
5505
|
}
|
|
5506
5506
|
function k(A) {
|
|
5507
5507
|
T() || o.current.floatingContext && (m.current == null || m.current(G(L({}, o.current.floatingContext), {
|
|
5508
|
-
tree:
|
|
5508
|
+
tree: d,
|
|
5509
5509
|
x: A.clientX,
|
|
5510
5510
|
y: A.clientY,
|
|
5511
5511
|
onClose() {
|
|
@@ -5516,14 +5516,14 @@ function Ma(e, t) {
|
|
|
5516
5516
|
if (X(i.domReference)) {
|
|
5517
5517
|
var I;
|
|
5518
5518
|
const A = i.domReference;
|
|
5519
|
-
return n && A.addEventListener("mouseleave", k), (I = i.floating) == null || I.addEventListener("mouseleave", k),
|
|
5519
|
+
return n && A.addEventListener("mouseleave", k), (I = i.floating) == null || I.addEventListener("mouseleave", k), v && A.addEventListener("mousemove", S, {
|
|
5520
5520
|
once: !0
|
|
5521
5521
|
}), A.addEventListener("mouseenter", S), A.addEventListener("mouseleave", C), () => {
|
|
5522
5522
|
var _;
|
|
5523
|
-
n && A.removeEventListener("mouseleave", k), (_ = i.floating) == null || _.removeEventListener("mouseleave", k),
|
|
5523
|
+
n && A.removeEventListener("mouseleave", k), (_ = i.floating) == null || _.removeEventListener("mouseleave", k), v && A.removeEventListener("mousemove", S), A.removeEventListener("mouseenter", S), A.removeEventListener("mouseleave", C);
|
|
5524
5524
|
};
|
|
5525
5525
|
}
|
|
5526
|
-
}, [i, l, e,
|
|
5526
|
+
}, [i, l, e, f, g, v, V, N, H, r, n, x, d, w, m, o]), ue(() => {
|
|
5527
5527
|
var T;
|
|
5528
5528
|
if (l && n && (T = m.current) != null && T.__options.blockPointerEvents && Z()) {
|
|
5529
5529
|
const C = ye(i.floating).body;
|
|
@@ -5531,20 +5531,20 @@ function Ma(e, t) {
|
|
|
5531
5531
|
const k = i.floating;
|
|
5532
5532
|
if (X(i.domReference) && k) {
|
|
5533
5533
|
var S;
|
|
5534
|
-
const I = i.domReference, A =
|
|
5534
|
+
const I = i.domReference, A = d == null || (S = d.nodesRef.current.find((_) => _.id === h)) == null || (S = S.context) == null ? void 0 : S.elements.floating;
|
|
5535
5535
|
return A && (A.style.pointerEvents = ""), I.style.pointerEvents = "auto", k.style.pointerEvents = "auto", () => {
|
|
5536
5536
|
I.style.pointerEvents = "", k.style.pointerEvents = "";
|
|
5537
5537
|
};
|
|
5538
5538
|
}
|
|
5539
5539
|
}
|
|
5540
|
-
}, [l, n, h, i,
|
|
5541
|
-
n || (
|
|
5540
|
+
}, [l, n, h, i, d, m, Z]), ue(() => {
|
|
5541
|
+
n || (y.current = void 0, N(), H());
|
|
5542
5542
|
}, [n, N, H]), p.useEffect(() => () => {
|
|
5543
5543
|
N(), clearTimeout(E.current), clearTimeout(M.current), H();
|
|
5544
5544
|
}, [l, i.domReference, N, H]);
|
|
5545
5545
|
const Y = p.useMemo(() => {
|
|
5546
5546
|
function T(S) {
|
|
5547
|
-
|
|
5547
|
+
y.current = S.pointerType;
|
|
5548
5548
|
}
|
|
5549
5549
|
return {
|
|
5550
5550
|
onPointerDown: T,
|
|
@@ -5554,12 +5554,12 @@ function Ma(e, t) {
|
|
|
5554
5554
|
nativeEvent: C
|
|
5555
5555
|
} = S;
|
|
5556
5556
|
function k() {
|
|
5557
|
-
!j.current && !
|
|
5557
|
+
!j.current && !x.current && r(!0, C, "hover");
|
|
5558
5558
|
}
|
|
5559
|
-
|
|
5559
|
+
f && !Ue(y.current) || n || g === 0 || (clearTimeout(M.current), y.current === "touch" ? k() : M.current = window.setTimeout(k, g));
|
|
5560
5560
|
}
|
|
5561
5561
|
};
|
|
5562
|
-
}, [
|
|
5562
|
+
}, [f, r, n, x, g]), P = p.useMemo(() => ({
|
|
5563
5563
|
onMouseEnter() {
|
|
5564
5564
|
clearTimeout(E.current);
|
|
5565
5565
|
},
|
|
@@ -5678,8 +5678,8 @@ function la(e) {
|
|
|
5678
5678
|
c && !X(c) && (c = c.current), c = c || document.body;
|
|
5679
5679
|
let u = null;
|
|
5680
5680
|
t && (u = document.createElement("div"), u.id = t, c.appendChild(u));
|
|
5681
|
-
const
|
|
5682
|
-
|
|
5681
|
+
const f = document.createElement("div");
|
|
5682
|
+
f.id = r, f.setAttribute(Bn, ""), c = u || c, c.appendChild(f), l.current = f, i(f);
|
|
5683
5683
|
}, [t, n, r, o]), a;
|
|
5684
5684
|
}
|
|
5685
5685
|
function Ha(e) {
|
|
@@ -5691,7 +5691,7 @@ function Ha(e) {
|
|
|
5691
5691
|
} = e, a = la({
|
|
5692
5692
|
id: n,
|
|
5693
5693
|
root: r
|
|
5694
|
-
}), [i, l] = p.useState(null), c = p.useRef(null), u = p.useRef(null),
|
|
5694
|
+
}), [i, l] = p.useState(null), c = p.useRef(null), u = p.useRef(null), f = p.useRef(null), g = p.useRef(null), v = (
|
|
5695
5695
|
// The FocusManager and therefore floating element are currently open/
|
|
5696
5696
|
// rendered.
|
|
5697
5697
|
!!i && // Guards are only for non-modal focus management.
|
|
@@ -5701,47 +5701,47 @@ function Ha(e) {
|
|
|
5701
5701
|
return p.useEffect(() => {
|
|
5702
5702
|
if (!a || !o || i != null && i.modal)
|
|
5703
5703
|
return;
|
|
5704
|
-
function
|
|
5704
|
+
function d(h) {
|
|
5705
5705
|
a && zt(h) && (h.type === "focusin" ? ia : oa)(a);
|
|
5706
5706
|
}
|
|
5707
|
-
return a.addEventListener("focusin",
|
|
5708
|
-
a.removeEventListener("focusin",
|
|
5707
|
+
return a.addEventListener("focusin", d, !0), a.addEventListener("focusout", d, !0), () => {
|
|
5708
|
+
a.removeEventListener("focusin", d, !0), a.removeEventListener("focusout", d, !0);
|
|
5709
5709
|
};
|
|
5710
5710
|
}, [a, o, i == null ? void 0 : i.modal]), /* @__PURE__ */ p.createElement(Er.Provider, {
|
|
5711
5711
|
value: p.useMemo(() => ({
|
|
5712
5712
|
preserveTabOrder: o,
|
|
5713
5713
|
beforeOutsideRef: c,
|
|
5714
5714
|
afterOutsideRef: u,
|
|
5715
|
-
beforeInsideRef:
|
|
5715
|
+
beforeInsideRef: f,
|
|
5716
5716
|
afterInsideRef: g,
|
|
5717
5717
|
portalNode: a,
|
|
5718
5718
|
setFocusManagerState: l
|
|
5719
5719
|
}), [o, a])
|
|
5720
|
-
},
|
|
5720
|
+
}, v && a && /* @__PURE__ */ p.createElement(Fn, {
|
|
5721
5721
|
"data-type": "outside",
|
|
5722
5722
|
ref: c,
|
|
5723
|
-
onFocus: (
|
|
5724
|
-
if (zt(
|
|
5723
|
+
onFocus: (d) => {
|
|
5724
|
+
if (zt(d, a)) {
|
|
5725
5725
|
var h;
|
|
5726
|
-
(h =
|
|
5726
|
+
(h = f.current) == null || h.focus();
|
|
5727
5727
|
} else {
|
|
5728
5728
|
const m = ra() || (i == null ? void 0 : i.refs.domReference.current);
|
|
5729
5729
|
m == null || m.focus();
|
|
5730
5730
|
}
|
|
5731
5731
|
}
|
|
5732
|
-
}),
|
|
5732
|
+
}), v && a && /* @__PURE__ */ p.createElement("span", {
|
|
5733
5733
|
"aria-owns": a.id,
|
|
5734
5734
|
style: Rr
|
|
5735
|
-
}), a && /* @__PURE__ */ Un.createPortal(t, a),
|
|
5735
|
+
}), a && /* @__PURE__ */ Un.createPortal(t, a), v && a && /* @__PURE__ */ p.createElement(Fn, {
|
|
5736
5736
|
"data-type": "outside",
|
|
5737
5737
|
ref: u,
|
|
5738
|
-
onFocus: (
|
|
5739
|
-
if (zt(
|
|
5738
|
+
onFocus: (d) => {
|
|
5739
|
+
if (zt(d, a)) {
|
|
5740
5740
|
var h;
|
|
5741
5741
|
(h = g.current) == null || h.focus();
|
|
5742
5742
|
} else {
|
|
5743
5743
|
const m = na() || (i == null ? void 0 : i.refs.domReference.current);
|
|
5744
|
-
m == null || m.focus(), i != null && i.closeOnFocusOut && (i == null || i.onOpenChange(!1,
|
|
5744
|
+
m == null || m.focus(), i != null && i.closeOnFocusOut && (i == null || i.onOpenChange(!1, d.nativeEvent));
|
|
5745
5745
|
}
|
|
5746
5746
|
}
|
|
5747
5747
|
}));
|
|
@@ -5767,8 +5767,8 @@ function Pa(e, t) {
|
|
|
5767
5767
|
event: l = "click",
|
|
5768
5768
|
toggle: c = !0,
|
|
5769
5769
|
ignoreMouse: u = !1,
|
|
5770
|
-
keyboardHandlers:
|
|
5771
|
-
} = t, g = p.useRef(),
|
|
5770
|
+
keyboardHandlers: f = !0
|
|
5771
|
+
} = t, g = p.useRef(), v = p.useRef(!1), d = p.useMemo(() => ({
|
|
5772
5772
|
onPointerDown(h) {
|
|
5773
5773
|
g.current = h.pointerType;
|
|
5774
5774
|
},
|
|
@@ -5785,15 +5785,15 @@ function Pa(e, t) {
|
|
|
5785
5785
|
Ue(m, !0) && u || (n && c && (!o.current.openEvent || o.current.openEvent.type === "click") ? r(!1, h.nativeEvent, "click") : r(!0, h.nativeEvent, "click"));
|
|
5786
5786
|
},
|
|
5787
5787
|
onKeyDown(h) {
|
|
5788
|
-
g.current = void 0, !(h.defaultPrevented || !
|
|
5788
|
+
g.current = void 0, !(h.defaultPrevented || !f || In(h)) && (h.key === " " && !jn(a) && (h.preventDefault(), v.current = !0), h.key === "Enter" && r(!(n && c), h.nativeEvent, "click"));
|
|
5789
5789
|
},
|
|
5790
5790
|
onKeyUp(h) {
|
|
5791
|
-
h.defaultPrevented || !
|
|
5791
|
+
h.defaultPrevented || !f || In(h) || jn(a) || h.key === " " && v.current && (v.current = !1, r(!(n && c), h.nativeEvent, "click"));
|
|
5792
5792
|
}
|
|
5793
|
-
}), [o, a, l, u,
|
|
5793
|
+
}), [o, a, l, u, f, r, n, c]);
|
|
5794
5794
|
return p.useMemo(() => i ? {
|
|
5795
|
-
reference:
|
|
5796
|
-
} : {}, [i,
|
|
5795
|
+
reference: d
|
|
5796
|
+
} : {}, [i, d]);
|
|
5797
5797
|
}
|
|
5798
5798
|
const ca = {
|
|
5799
5799
|
pointerdown: "onPointerDown",
|
|
@@ -5822,15 +5822,15 @@ function Aa(e, t) {
|
|
|
5822
5822
|
escapeKey: l = !0,
|
|
5823
5823
|
outsidePress: c = !0,
|
|
5824
5824
|
outsidePressEvent: u = "pointerdown",
|
|
5825
|
-
referencePress:
|
|
5825
|
+
referencePress: f = !1,
|
|
5826
5826
|
referencePressEvent: g = "pointerdown",
|
|
5827
|
-
ancestorScroll:
|
|
5828
|
-
bubbles:
|
|
5827
|
+
ancestorScroll: v = !1,
|
|
5828
|
+
bubbles: d,
|
|
5829
5829
|
capture: h
|
|
5830
|
-
} = t, m = Qt(), w = xe(typeof c == "function" ? c : () => !1),
|
|
5830
|
+
} = t, m = Qt(), w = xe(typeof c == "function" ? c : () => !1), x = typeof c == "function" ? w : c, y = p.useRef(!1), E = p.useRef(!1), {
|
|
5831
5831
|
escapeKey: z,
|
|
5832
5832
|
outsidePress: M
|
|
5833
|
-
} = Nn(
|
|
5833
|
+
} = Nn(d), {
|
|
5834
5834
|
escapeKey: j,
|
|
5835
5835
|
outsidePress: U
|
|
5836
5836
|
} = Nn(h), q = xe((P) => {
|
|
@@ -5859,10 +5859,10 @@ function Aa(e, t) {
|
|
|
5859
5859
|
(T = Ae(P)) == null || T.addEventListener("keydown", S);
|
|
5860
5860
|
}), V = xe((P) => {
|
|
5861
5861
|
var T;
|
|
5862
|
-
const S =
|
|
5863
|
-
|
|
5862
|
+
const S = y.current;
|
|
5863
|
+
y.current = !1;
|
|
5864
5864
|
const C = E.current;
|
|
5865
|
-
if (E.current = !1, u === "click" && C || S || typeof
|
|
5865
|
+
if (E.current = !1, u === "click" && C || S || typeof x == "function" && !x(P))
|
|
5866
5866
|
return;
|
|
5867
5867
|
const k = Ae(P), I = "[" + Je("inert") + "]", A = ye(o.floating).querySelectorAll(I);
|
|
5868
5868
|
let _ = X(k) ? k : null;
|
|
@@ -5918,9 +5918,9 @@ function Aa(e, t) {
|
|
|
5918
5918
|
r(!1, C, "ancestor-scroll");
|
|
5919
5919
|
}
|
|
5920
5920
|
const T = ye(o.floating);
|
|
5921
|
-
l && T.addEventListener("keydown", j ? Z : q, j),
|
|
5921
|
+
l && T.addEventListener("keydown", j ? Z : q, j), x && T.addEventListener(u, U ? N : V, U);
|
|
5922
5922
|
let S = [];
|
|
5923
|
-
return
|
|
5923
|
+
return v && (X(o.domReference) && (S = Re(o.domReference)), X(o.floating) && (S = S.concat(Re(o.floating))), !X(o.reference) && o.reference && o.reference.contextElement && (S = S.concat(Re(o.reference.contextElement)))), S = S.filter((C) => {
|
|
5924
5924
|
var k;
|
|
5925
5925
|
return C !== ((k = T.defaultView) == null ? void 0 : k.visualViewport);
|
|
5926
5926
|
}), S.forEach((C) => {
|
|
@@ -5928,19 +5928,19 @@ function Aa(e, t) {
|
|
|
5928
5928
|
passive: !0
|
|
5929
5929
|
});
|
|
5930
5930
|
}), () => {
|
|
5931
|
-
l && T.removeEventListener("keydown", j ? Z : q, j),
|
|
5931
|
+
l && T.removeEventListener("keydown", j ? Z : q, j), x && T.removeEventListener(u, U ? N : V, U), S.forEach((C) => {
|
|
5932
5932
|
C.removeEventListener("scroll", P);
|
|
5933
5933
|
});
|
|
5934
5934
|
};
|
|
5935
|
-
}, [a, o, l,
|
|
5936
|
-
|
|
5937
|
-
}, [
|
|
5935
|
+
}, [a, o, l, x, u, n, r, v, i, z, M, q, j, Z, V, U, N]), p.useEffect(() => {
|
|
5936
|
+
y.current = !1;
|
|
5937
|
+
}, [x, u]);
|
|
5938
5938
|
const H = p.useMemo(() => ({
|
|
5939
5939
|
onKeyDown: q,
|
|
5940
5940
|
[ca[g]]: (P) => {
|
|
5941
|
-
|
|
5941
|
+
f && r(!1, P.nativeEvent, "reference-press");
|
|
5942
5942
|
}
|
|
5943
|
-
}), [q, r,
|
|
5943
|
+
}), [q, r, f, g]), Y = p.useMemo(() => ({
|
|
5944
5944
|
onKeyDown: q,
|
|
5945
5945
|
onMouseDown() {
|
|
5946
5946
|
E.current = !0;
|
|
@@ -5949,7 +5949,7 @@ function Aa(e, t) {
|
|
|
5949
5949
|
E.current = !0;
|
|
5950
5950
|
},
|
|
5951
5951
|
[ua[u]]: () => {
|
|
5952
|
-
|
|
5952
|
+
y.current = !0;
|
|
5953
5953
|
}
|
|
5954
5954
|
}), [q, u]);
|
|
5955
5955
|
return p.useMemo(() => i ? {
|
|
@@ -5964,19 +5964,19 @@ function da(e) {
|
|
|
5964
5964
|
elements: r
|
|
5965
5965
|
} = e, o = Jt(), a = p.useRef({}), [i] = p.useState(() => Qi()), l = Zt() != null;
|
|
5966
5966
|
if (process.env.NODE_ENV !== "production") {
|
|
5967
|
-
const
|
|
5968
|
-
|
|
5967
|
+
const d = r.reference;
|
|
5968
|
+
d && !X(d) && Zi("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
|
|
5969
5969
|
}
|
|
5970
|
-
const [c, u] = p.useState(r.reference),
|
|
5971
|
-
a.current.openEvent =
|
|
5972
|
-
open:
|
|
5970
|
+
const [c, u] = p.useState(r.reference), f = xe((d, h, m) => {
|
|
5971
|
+
a.current.openEvent = d ? h : void 0, i.emit("openchange", {
|
|
5972
|
+
open: d,
|
|
5973
5973
|
event: h,
|
|
5974
5974
|
reason: m,
|
|
5975
5975
|
nested: l
|
|
5976
|
-
}), n == null || n(
|
|
5976
|
+
}), n == null || n(d, h, m);
|
|
5977
5977
|
}), g = p.useMemo(() => ({
|
|
5978
5978
|
setPositionReference: u
|
|
5979
|
-
}), []),
|
|
5979
|
+
}), []), v = p.useMemo(() => ({
|
|
5980
5980
|
reference: c || r.reference || null,
|
|
5981
5981
|
floating: r.floating || null,
|
|
5982
5982
|
domReference: r.reference
|
|
@@ -5984,12 +5984,12 @@ function da(e) {
|
|
|
5984
5984
|
return p.useMemo(() => ({
|
|
5985
5985
|
dataRef: a,
|
|
5986
5986
|
open: t,
|
|
5987
|
-
onOpenChange:
|
|
5988
|
-
elements:
|
|
5987
|
+
onOpenChange: f,
|
|
5988
|
+
elements: v,
|
|
5989
5989
|
events: i,
|
|
5990
5990
|
floatingId: o,
|
|
5991
5991
|
refs: g
|
|
5992
|
-
}), [t,
|
|
5992
|
+
}), [t, f, v, i, o, g]);
|
|
5993
5993
|
}
|
|
5994
5994
|
function Oa(e) {
|
|
5995
5995
|
e === void 0 && (e = {});
|
|
@@ -6000,11 +6000,11 @@ function Oa(e) {
|
|
|
6000
6000
|
reference: null,
|
|
6001
6001
|
floating: null
|
|
6002
6002
|
}, e.elements)
|
|
6003
|
-
})), r = e.rootContext || n, o = r.elements, [a, i] = p.useState(null), [l, c] = p.useState(null),
|
|
6003
|
+
})), r = e.rootContext || n, o = r.elements, [a, i] = p.useState(null), [l, c] = p.useState(null), f = (o == null ? void 0 : o.reference) || a, g = p.useRef(null), v = Qt();
|
|
6004
6004
|
ue(() => {
|
|
6005
|
-
|
|
6006
|
-
}, [
|
|
6007
|
-
const
|
|
6005
|
+
f && (g.current = f);
|
|
6006
|
+
}, [f]);
|
|
6007
|
+
const d = Ui(G(L({}, e), {
|
|
6008
6008
|
elements: L(L({}, o), l && {
|
|
6009
6009
|
reference: l
|
|
6010
6010
|
})
|
|
@@ -6013,32 +6013,32 @@ function Oa(e) {
|
|
|
6013
6013
|
getBoundingClientRect: () => E.getBoundingClientRect(),
|
|
6014
6014
|
contextElement: E
|
|
6015
6015
|
} : E;
|
|
6016
|
-
c(z),
|
|
6017
|
-
}, [
|
|
6018
|
-
(X(E) || E === null) && (g.current = E, i(E)), (X(
|
|
6016
|
+
c(z), d.refs.setReference(z);
|
|
6017
|
+
}, [d.refs]), m = p.useCallback((E) => {
|
|
6018
|
+
(X(E) || E === null) && (g.current = E, i(E)), (X(d.refs.reference.current) || d.refs.reference.current === null || // Don't allow setting virtual elements using the old technique back to
|
|
6019
6019
|
// `null` to support `positionReference` + an unstable `reference`
|
|
6020
6020
|
// callback ref.
|
|
6021
|
-
E !== null && !X(E)) &&
|
|
6022
|
-
}, [
|
|
6021
|
+
E !== null && !X(E)) && d.refs.setReference(E);
|
|
6022
|
+
}, [d.refs]), w = p.useMemo(() => G(L({}, d.refs), {
|
|
6023
6023
|
setReference: m,
|
|
6024
6024
|
setPositionReference: h,
|
|
6025
6025
|
domReference: g
|
|
6026
|
-
}), [
|
|
6027
|
-
domReference:
|
|
6028
|
-
}), [
|
|
6026
|
+
}), [d.refs, m, h]), x = p.useMemo(() => G(L({}, d.elements), {
|
|
6027
|
+
domReference: f
|
|
6028
|
+
}), [d.elements, f]), y = p.useMemo(() => G(L(L({}, d), r), {
|
|
6029
6029
|
refs: w,
|
|
6030
|
-
elements:
|
|
6030
|
+
elements: x,
|
|
6031
6031
|
nodeId: t
|
|
6032
|
-
}), [
|
|
6032
|
+
}), [d, w, x, t, r]);
|
|
6033
6033
|
return ue(() => {
|
|
6034
|
-
r.dataRef.current.floatingContext =
|
|
6035
|
-
const E =
|
|
6036
|
-
E && (E.context =
|
|
6037
|
-
}), p.useMemo(() => G(L({},
|
|
6038
|
-
context:
|
|
6034
|
+
r.dataRef.current.floatingContext = y;
|
|
6035
|
+
const E = v == null ? void 0 : v.nodesRef.current.find((z) => z.id === t);
|
|
6036
|
+
E && (E.context = y);
|
|
6037
|
+
}), p.useMemo(() => G(L({}, d), {
|
|
6038
|
+
context: y,
|
|
6039
6039
|
refs: w,
|
|
6040
|
-
elements:
|
|
6041
|
-
}), [
|
|
6040
|
+
elements: x
|
|
6041
|
+
}), [d, w, x, y]);
|
|
6042
6042
|
}
|
|
6043
6043
|
function Wa(e, t) {
|
|
6044
6044
|
t === void 0 && (t = {});
|
|
@@ -6051,43 +6051,43 @@ function Wa(e, t) {
|
|
|
6051
6051
|
} = e, {
|
|
6052
6052
|
enabled: l = !0,
|
|
6053
6053
|
visibleOnly: c = !0
|
|
6054
|
-
} = t, u = p.useRef(!1),
|
|
6054
|
+
} = t, u = p.useRef(!1), f = p.useRef(), g = p.useRef(!0);
|
|
6055
6055
|
p.useEffect(() => {
|
|
6056
6056
|
if (!l) return;
|
|
6057
|
-
const
|
|
6057
|
+
const d = oe(i.domReference);
|
|
6058
6058
|
function h() {
|
|
6059
6059
|
!n && ie(i.domReference) && i.domReference === Bt(ye(i.domReference)) && (u.current = !0);
|
|
6060
6060
|
}
|
|
6061
6061
|
function m() {
|
|
6062
6062
|
g.current = !0;
|
|
6063
6063
|
}
|
|
6064
|
-
return
|
|
6065
|
-
|
|
6064
|
+
return d.addEventListener("blur", h), d.addEventListener("keydown", m, !0), () => {
|
|
6065
|
+
d.removeEventListener("blur", h), d.removeEventListener("keydown", m, !0);
|
|
6066
6066
|
};
|
|
6067
6067
|
}, [i.domReference, n, l]), p.useEffect(() => {
|
|
6068
6068
|
if (!l) return;
|
|
6069
|
-
function
|
|
6069
|
+
function d(h) {
|
|
6070
6070
|
let {
|
|
6071
6071
|
reason: m
|
|
6072
6072
|
} = h;
|
|
6073
6073
|
(m === "reference-press" || m === "escape-key") && (u.current = !0);
|
|
6074
6074
|
}
|
|
6075
|
-
return o.on("openchange",
|
|
6076
|
-
o.off("openchange",
|
|
6075
|
+
return o.on("openchange", d), () => {
|
|
6076
|
+
o.off("openchange", d);
|
|
6077
6077
|
};
|
|
6078
6078
|
}, [o, l]), p.useEffect(() => () => {
|
|
6079
|
-
clearTimeout(
|
|
6079
|
+
clearTimeout(f.current);
|
|
6080
6080
|
}, []);
|
|
6081
|
-
const
|
|
6082
|
-
onPointerDown(
|
|
6083
|
-
No(
|
|
6081
|
+
const v = p.useMemo(() => ({
|
|
6082
|
+
onPointerDown(d) {
|
|
6083
|
+
No(d.nativeEvent) || (g.current = !1);
|
|
6084
6084
|
},
|
|
6085
6085
|
onMouseLeave() {
|
|
6086
6086
|
u.current = !1;
|
|
6087
6087
|
},
|
|
6088
|
-
onFocus(
|
|
6088
|
+
onFocus(d) {
|
|
6089
6089
|
if (u.current) return;
|
|
6090
|
-
const h = Ae(
|
|
6090
|
+
const h = Ae(d.nativeEvent);
|
|
6091
6091
|
if (c && X(h))
|
|
6092
6092
|
try {
|
|
6093
6093
|
if (rr() && $o()) throw Error();
|
|
@@ -6096,21 +6096,21 @@ function Wa(e, t) {
|
|
|
6096
6096
|
if (!g.current && !or(h))
|
|
6097
6097
|
return;
|
|
6098
6098
|
}
|
|
6099
|
-
r(!0,
|
|
6099
|
+
r(!0, d.nativeEvent, "focus");
|
|
6100
6100
|
},
|
|
6101
|
-
onBlur(
|
|
6101
|
+
onBlur(d) {
|
|
6102
6102
|
u.current = !1;
|
|
6103
|
-
const h =
|
|
6104
|
-
|
|
6105
|
-
var
|
|
6106
|
-
const
|
|
6107
|
-
!h &&
|
|
6103
|
+
const h = d.relatedTarget, m = d.nativeEvent, w = X(h) && h.hasAttribute(Je("focus-guard")) && h.getAttribute("data-type") === "outside";
|
|
6104
|
+
f.current = window.setTimeout(() => {
|
|
6105
|
+
var x;
|
|
6106
|
+
const y = Bt(i.domReference ? i.domReference.ownerDocument : document);
|
|
6107
|
+
!h && y === i.domReference || _e((x = a.current.floatingContext) == null ? void 0 : x.refs.floating.current, y) || _e(i.domReference, y) || w || r(!1, m, "focus");
|
|
6108
6108
|
});
|
|
6109
6109
|
}
|
|
6110
6110
|
}), [a, i.domReference, r, c]);
|
|
6111
6111
|
return p.useMemo(() => l ? {
|
|
6112
|
-
reference:
|
|
6113
|
-
} : {}, [l,
|
|
6112
|
+
reference: v
|
|
6113
|
+
} : {}, [l, v]);
|
|
6114
6114
|
}
|
|
6115
6115
|
const Mt = "active", Ht = "selected";
|
|
6116
6116
|
function Pt(e, t, n) {
|
|
@@ -6122,8 +6122,8 @@ function Pt(e, t, n) {
|
|
|
6122
6122
|
[Ht]: c
|
|
6123
6123
|
} = i;
|
|
6124
6124
|
a = Le(i, [
|
|
6125
|
-
|
|
6126
|
-
|
|
6125
|
+
wt(Mt),
|
|
6126
|
+
wt(Ht)
|
|
6127
6127
|
]);
|
|
6128
6128
|
}
|
|
6129
6129
|
return L(L(L({}, n === "floating" && {
|
|
@@ -6132,19 +6132,19 @@ function Pt(e, t, n) {
|
|
|
6132
6132
|
const c = l ? l[n] : null;
|
|
6133
6133
|
return typeof c == "function" ? e ? c(e) : null : c;
|
|
6134
6134
|
}).concat(e).reduce((l, c) => (c && Object.entries(c).forEach((u) => {
|
|
6135
|
-
let [
|
|
6136
|
-
if (!(o && [Mt, Ht].includes(
|
|
6137
|
-
if (
|
|
6138
|
-
if (r.has(
|
|
6139
|
-
var
|
|
6140
|
-
(
|
|
6141
|
-
for (var
|
|
6135
|
+
let [f, g] = u;
|
|
6136
|
+
if (!(o && [Mt, Ht].includes(f)))
|
|
6137
|
+
if (f.indexOf("on") === 0) {
|
|
6138
|
+
if (r.has(f) || r.set(f, []), typeof g == "function") {
|
|
6139
|
+
var v;
|
|
6140
|
+
(v = r.get(f)) == null || v.push(g), l[f] = function() {
|
|
6141
|
+
for (var d, h = arguments.length, m = new Array(h), w = 0; w < h; w++)
|
|
6142
6142
|
m[w] = arguments[w];
|
|
6143
|
-
return (
|
|
6143
|
+
return (d = r.get(f)) == null ? void 0 : d.map((x) => x(...m)).find((x) => x !== void 0);
|
|
6144
6144
|
};
|
|
6145
6145
|
}
|
|
6146
6146
|
} else
|
|
6147
|
-
l[
|
|
6147
|
+
l[f] = g;
|
|
6148
6148
|
}), l), {}));
|
|
6149
6149
|
}
|
|
6150
6150
|
function _a(e) {
|
|
@@ -6178,7 +6178,7 @@ function Da(e, t) {
|
|
|
6178
6178
|
} = e, {
|
|
6179
6179
|
enabled: a = !0,
|
|
6180
6180
|
role: i = "dialog"
|
|
6181
|
-
} = t, l = (n = fa.get(i)) != null ? n : i, c = Jt(),
|
|
6181
|
+
} = t, l = (n = fa.get(i)) != null ? n : i, c = Jt(), f = Zt() != null, g = p.useMemo(() => l === "tooltip" || i === "label" ? {
|
|
6182
6182
|
["aria-" + (i === "label" ? "labelledby" : "describedby")]: r ? o : void 0
|
|
6183
6183
|
} : L(L(L(L(L({
|
|
6184
6184
|
"aria-expanded": r ? "true" : "false",
|
|
@@ -6188,13 +6188,13 @@ function Da(e, t) {
|
|
|
6188
6188
|
role: "combobox"
|
|
6189
6189
|
}), l === "menu" && {
|
|
6190
6190
|
id: c
|
|
6191
|
-
}), l === "menu" &&
|
|
6191
|
+
}), l === "menu" && f && {
|
|
6192
6192
|
role: "menuitem"
|
|
6193
6193
|
}), i === "select" && {
|
|
6194
6194
|
"aria-autocomplete": "none"
|
|
6195
6195
|
}), i === "combobox" && {
|
|
6196
6196
|
"aria-autocomplete": "list"
|
|
6197
|
-
}), [l, o,
|
|
6197
|
+
}), [l, o, f, r, c, i]), v = p.useMemo(() => {
|
|
6198
6198
|
const h = L({
|
|
6199
6199
|
id: o
|
|
6200
6200
|
}, l && {
|
|
@@ -6203,23 +6203,23 @@ function Da(e, t) {
|
|
|
6203
6203
|
return l === "tooltip" || i === "label" ? h : L(L({}, h), l === "menu" && {
|
|
6204
6204
|
"aria-labelledby": c
|
|
6205
6205
|
});
|
|
6206
|
-
}, [l, o, c, i]),
|
|
6206
|
+
}, [l, o, c, i]), d = p.useCallback((h) => {
|
|
6207
6207
|
let {
|
|
6208
6208
|
active: m,
|
|
6209
6209
|
selected: w
|
|
6210
6210
|
} = h;
|
|
6211
|
-
const
|
|
6211
|
+
const x = L({
|
|
6212
6212
|
role: "option"
|
|
6213
6213
|
}, m && {
|
|
6214
6214
|
id: o + "-option"
|
|
6215
6215
|
});
|
|
6216
6216
|
switch (i) {
|
|
6217
6217
|
case "select":
|
|
6218
|
-
return G(L({},
|
|
6218
|
+
return G(L({}, x), {
|
|
6219
6219
|
"aria-selected": m && w
|
|
6220
6220
|
});
|
|
6221
6221
|
case "combobox":
|
|
6222
|
-
return L(L({},
|
|
6222
|
+
return L(L({}, x), m && {
|
|
6223
6223
|
"aria-selected": !0
|
|
6224
6224
|
});
|
|
6225
6225
|
}
|
|
@@ -6227,9 +6227,9 @@ function Da(e, t) {
|
|
|
6227
6227
|
}, [o, i]);
|
|
6228
6228
|
return p.useMemo(() => a ? {
|
|
6229
6229
|
reference: g,
|
|
6230
|
-
floating:
|
|
6231
|
-
item:
|
|
6232
|
-
} : {}, [a, g,
|
|
6230
|
+
floating: v,
|
|
6231
|
+
item: d
|
|
6232
|
+
} : {}, [a, g, v, d]);
|
|
6233
6233
|
}
|
|
6234
6234
|
const ga = {
|
|
6235
6235
|
slideUp: "slideDown",
|
|
@@ -6238,7 +6238,7 @@ const ga = {
|
|
|
6238
6238
|
slideRight: "slideLeft",
|
|
6239
6239
|
fadeIn: "fadeOut"
|
|
6240
6240
|
}, ha = Gn((e, t) => {
|
|
6241
|
-
const
|
|
6241
|
+
const v = e, {
|
|
6242
6242
|
show: n,
|
|
6243
6243
|
handleClose: r,
|
|
6244
6244
|
animation: o = "slideDown",
|
|
@@ -6247,7 +6247,7 @@ const ga = {
|
|
|
6247
6247
|
children: l,
|
|
6248
6248
|
className: c,
|
|
6249
6249
|
contentClassName: u
|
|
6250
|
-
} =
|
|
6250
|
+
} = v, f = Le(v, [
|
|
6251
6251
|
"show",
|
|
6252
6252
|
"handleClose",
|
|
6253
6253
|
"animation",
|
|
@@ -6256,50 +6256,49 @@ const ga = {
|
|
|
6256
6256
|
"children",
|
|
6257
6257
|
"className",
|
|
6258
6258
|
"contentClassName"
|
|
6259
|
-
]),
|
|
6260
|
-
|
|
6261
|
-
const
|
|
6262
|
-
return n ?
|
|
6263
|
-
|
|
6259
|
+
]), g = ga[o];
|
|
6260
|
+
if (ft(() => {
|
|
6261
|
+
const d = document.documentElement;
|
|
6262
|
+
return n ? d.classList.add("modal-animated-open") : d.classList.remove("modal-animated-open"), () => {
|
|
6263
|
+
d.classList.remove("modal-animated-open");
|
|
6264
6264
|
};
|
|
6265
|
-
}, [n])
|
|
6266
|
-
|
|
6267
|
-
|
|
6268
|
-
|
|
6269
|
-
|
|
6270
|
-
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
|
|
6283
|
-
|
|
6284
|
-
|
|
6285
|
-
|
|
6286
|
-
|
|
6287
|
-
|
|
6288
|
-
|
|
6289
|
-
|
|
6290
|
-
|
|
6291
|
-
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
|
|
6298
|
-
|
|
6299
|
-
|
|
6300
|
-
|
|
6301
|
-
|
|
6302
|
-
return Qr(w, document.body);
|
|
6265
|
+
}, [n]), n) {
|
|
6266
|
+
const d = {
|
|
6267
|
+
marginTop: a ? `${a}` : void 0,
|
|
6268
|
+
maxWidth: i ? `${i}` : void 0
|
|
6269
|
+
}, h = /* @__PURE__ */ B.jsxs(
|
|
6270
|
+
"div",
|
|
6271
|
+
G(L({
|
|
6272
|
+
ref: t,
|
|
6273
|
+
className: Dt("modal-animated", n ? "show" : "hide", c)
|
|
6274
|
+
}, f), {
|
|
6275
|
+
children: [
|
|
6276
|
+
/* @__PURE__ */ B.jsx(
|
|
6277
|
+
"div",
|
|
6278
|
+
{
|
|
6279
|
+
className: "modal-animated-backdrop",
|
|
6280
|
+
onClick: r
|
|
6281
|
+
}
|
|
6282
|
+
),
|
|
6283
|
+
/* @__PURE__ */ B.jsx(
|
|
6284
|
+
"div",
|
|
6285
|
+
{
|
|
6286
|
+
className: Dt(
|
|
6287
|
+
"modal-animated-content",
|
|
6288
|
+
n ? o + "Open" : g + "Close",
|
|
6289
|
+
u
|
|
6290
|
+
),
|
|
6291
|
+
style: d,
|
|
6292
|
+
onClick: (m) => m.stopPropagation(),
|
|
6293
|
+
children: l
|
|
6294
|
+
}
|
|
6295
|
+
)
|
|
6296
|
+
]
|
|
6297
|
+
})
|
|
6298
|
+
);
|
|
6299
|
+
return Qr(h, document.body);
|
|
6300
|
+
} else
|
|
6301
|
+
return null;
|
|
6303
6302
|
});
|
|
6304
6303
|
ha.displayName = "AnimatedModal";
|
|
6305
6304
|
const ma = Number(
|
|
@@ -6307,8 +6306,8 @@ const ma = Number(
|
|
|
6307
6306
|
), pa = Number(
|
|
6308
6307
|
Ut.theme.screens["ds-desktop"].min.replace("px", "")
|
|
6309
6308
|
), $n = (e) => e < ma ? "mobile" : e < pa ? "tablet" : "desktop", Fa = () => {
|
|
6310
|
-
const [e, t] =
|
|
6311
|
-
return
|
|
6309
|
+
const [e, t] = Rt(document.documentElement.clientWidth), [n, r] = Rt(document.documentElement.clientHeight), [o, a] = Rt($n(document.documentElement.clientWidth));
|
|
6310
|
+
return ft(() => {
|
|
6312
6311
|
const i = () => {
|
|
6313
6312
|
t(document.documentElement.clientWidth), r(document.documentElement.clientHeight), a($n(document.documentElement.clientWidth));
|
|
6314
6313
|
};
|
|
@@ -6320,7 +6319,7 @@ const ma = Number(
|
|
|
6320
6319
|
({ label: e, isChecked: t, onSelectionChange: n, disabled: r, className: o, labelPosition: a = "right" }, i) => /* @__PURE__ */ B.jsxs(
|
|
6321
6320
|
"label",
|
|
6322
6321
|
{
|
|
6323
|
-
className:
|
|
6322
|
+
className: ot(
|
|
6324
6323
|
"custom-checkbox ds-flex ds-cursor-pointer ds-items-center ds-gap-2 ds-text-xSmallSubheadRegular ds-tablet:ds-text-xSmallSubheadRegular ds-desktop:ds-text-mediumSubHeadRegular",
|
|
6325
6324
|
r && "ds-cursor-default",
|
|
6326
6325
|
a === "left" && "ds-flex-row-reverse",
|
|
@@ -6353,7 +6352,7 @@ export {
|
|
|
6353
6352
|
En as B,
|
|
6354
6353
|
Ra as C,
|
|
6355
6354
|
Ha as F,
|
|
6356
|
-
|
|
6355
|
+
ot as a,
|
|
6357
6356
|
Ma as b,
|
|
6358
6357
|
_o as c,
|
|
6359
6358
|
Wa as d,
|