design-system-silkhaus 3.11.0-beta-image-viewer.17 → 3.11.0-beta.month-range-picker.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{ButtonsGroupSelector-Da7wwKtY.js → ButtonsGroupSelector-CshRIOBN.js} +480 -473
- package/dist/app/index.js +2 -2
- package/dist/index.d.ts +50 -75
- package/dist/index.js +12577 -14236
- package/dist/style.css +1 -1
- package/dist/tailwind.config.js +28 -0
- package/package.json +4 -6
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var to = Object.defineProperty, ro = Object.defineProperties;
|
|
2
|
+
var no = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var at = Object.getOwnPropertySymbols;
|
|
4
4
|
var xr = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var br = (e, t, r) => t in e ?
|
|
5
|
+
var br = (e, t, r) => t in e ? to(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, L = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
7
|
xr.call(t, r) && br(e, r, t[r]);
|
|
8
8
|
if (at)
|
|
9
9
|
for (var r of at(t))
|
|
10
10
|
yr.call(t, r) && br(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, $ = (e, t) =>
|
|
13
|
-
var
|
|
12
|
+
}, $ = (e, t) => ro(e, no(t));
|
|
13
|
+
var Ct = (e) => typeof e == "symbol" ? e : e + "", fe = (e, t) => {
|
|
14
14
|
var r = {};
|
|
15
15
|
for (var n in e)
|
|
16
16
|
xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -36,10 +36,10 @@ var ge = (e, t, r) => new Promise((n, o) => {
|
|
|
36
36
|
l((r = r.apply(e, t)).next());
|
|
37
37
|
});
|
|
38
38
|
import * as p from "react";
|
|
39
|
-
import Fe, { useLayoutEffect as qr, useEffect as Je, useRef as
|
|
39
|
+
import Fe, { useLayoutEffect as qr, useEffect as Je, useRef as oo, forwardRef as Yt, useState as Ye } from "react";
|
|
40
40
|
import * as Yr from "react-dom";
|
|
41
|
-
import { createPortal as
|
|
42
|
-
var
|
|
41
|
+
import { createPortal as io } from "react-dom";
|
|
42
|
+
var Ft = { exports: {} }, $e = {};
|
|
43
43
|
/**
|
|
44
44
|
* @license React
|
|
45
45
|
* react-jsx-runtime.production.min.js
|
|
@@ -50,7 +50,7 @@ var Wt = { exports: {} }, $e = {};
|
|
|
50
50
|
* LICENSE file in the root directory of this source tree.
|
|
51
51
|
*/
|
|
52
52
|
var wr;
|
|
53
|
-
function
|
|
53
|
+
function ao() {
|
|
54
54
|
if (wr) return $e;
|
|
55
55
|
wr = 1;
|
|
56
56
|
var e = Fe, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
@@ -74,7 +74,7 @@ var Ve = {};
|
|
|
74
74
|
* LICENSE file in the root directory of this source tree.
|
|
75
75
|
*/
|
|
76
76
|
var Rr;
|
|
77
|
-
function
|
|
77
|
+
function lo() {
|
|
78
78
|
return Rr || (Rr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
79
79
|
var e = Fe, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = 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) {
|
|
@@ -86,14 +86,14 @@ function ao() {
|
|
|
86
86
|
var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
87
87
|
function y(s) {
|
|
88
88
|
{
|
|
89
|
-
for (var b = arguments.length, S = new Array(b > 1 ? b - 1 : 0),
|
|
90
|
-
S[
|
|
89
|
+
for (var b = arguments.length, S = new Array(b > 1 ? b - 1 : 0), O = 1; O < b; O++)
|
|
90
|
+
S[O - 1] = arguments[O];
|
|
91
91
|
E("error", s, S);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
function E(s, b, S) {
|
|
95
95
|
{
|
|
96
|
-
var
|
|
96
|
+
var O = x.ReactDebugCurrentFrame, G = O.getStackAddendum();
|
|
97
97
|
G !== "" && (b += "%s", S = S.concat([G]));
|
|
98
98
|
var K = S.map(function(I) {
|
|
99
99
|
return String(I);
|
|
@@ -111,9 +111,9 @@ function ao() {
|
|
|
111
111
|
s.$$typeof === Z || s.getModuleId !== void 0));
|
|
112
112
|
}
|
|
113
113
|
function V(s, b, S) {
|
|
114
|
-
var
|
|
115
|
-
if (
|
|
116
|
-
return
|
|
114
|
+
var O = s.displayName;
|
|
115
|
+
if (O)
|
|
116
|
+
return O;
|
|
117
117
|
var G = b.displayName || b.name || "";
|
|
118
118
|
return G !== "" ? S + "(" + G + ")" : S;
|
|
119
119
|
}
|
|
@@ -152,27 +152,27 @@ function ao() {
|
|
|
152
152
|
case c:
|
|
153
153
|
return V(s, s.render, "ForwardRef");
|
|
154
154
|
case g:
|
|
155
|
-
var
|
|
156
|
-
return
|
|
155
|
+
var O = s.displayName || null;
|
|
156
|
+
return O !== null ? O : Y(s.type) || "Memo";
|
|
157
157
|
case v: {
|
|
158
158
|
var G = s, K = G._payload, I = G._init;
|
|
159
159
|
try {
|
|
160
160
|
return Y(I(K));
|
|
161
|
-
} catch (
|
|
161
|
+
} catch (D) {
|
|
162
162
|
return null;
|
|
163
163
|
}
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
return null;
|
|
167
167
|
}
|
|
168
|
-
var A = Object.assign, T = 0, C, k, M, j,
|
|
168
|
+
var A = Object.assign, T = 0, C, k, M, j, W, B, be;
|
|
169
169
|
function Le() {
|
|
170
170
|
}
|
|
171
171
|
Le.__reactDisabledLog = !0;
|
|
172
172
|
function rt() {
|
|
173
173
|
{
|
|
174
174
|
if (T === 0) {
|
|
175
|
-
C = console.log, k = console.info, M = console.warn, j = console.error,
|
|
175
|
+
C = console.log, k = console.info, M = console.warn, j = console.error, W = console.group, B = console.groupCollapsed, be = console.groupEnd;
|
|
176
176
|
var s = {
|
|
177
177
|
configurable: !0,
|
|
178
178
|
enumerable: !0,
|
|
@@ -214,10 +214,10 @@ function ao() {
|
|
|
214
214
|
value: j
|
|
215
215
|
}),
|
|
216
216
|
group: A({}, s, {
|
|
217
|
-
value:
|
|
217
|
+
value: W
|
|
218
218
|
}),
|
|
219
219
|
groupCollapsed: A({}, s, {
|
|
220
|
-
value:
|
|
220
|
+
value: B
|
|
221
221
|
}),
|
|
222
222
|
groupEnd: A({}, s, {
|
|
223
223
|
value: be
|
|
@@ -234,28 +234,28 @@ function ao() {
|
|
|
234
234
|
try {
|
|
235
235
|
throw Error();
|
|
236
236
|
} catch (G) {
|
|
237
|
-
var
|
|
238
|
-
de =
|
|
237
|
+
var O = G.stack.trim().match(/\n( *(at )?)/);
|
|
238
|
+
de = O && O[1] || "";
|
|
239
239
|
}
|
|
240
240
|
return `
|
|
241
241
|
` + de + s;
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
|
-
var
|
|
244
|
+
var xt = !1, nt;
|
|
245
245
|
{
|
|
246
|
-
var
|
|
247
|
-
nt = new
|
|
246
|
+
var Mn = typeof WeakMap == "function" ? WeakMap : Map;
|
|
247
|
+
nt = new Mn();
|
|
248
248
|
}
|
|
249
249
|
function nr(s, b) {
|
|
250
|
-
if (!s ||
|
|
250
|
+
if (!s || xt)
|
|
251
251
|
return "";
|
|
252
252
|
{
|
|
253
253
|
var S = nt.get(s);
|
|
254
254
|
if (S !== void 0)
|
|
255
255
|
return S;
|
|
256
256
|
}
|
|
257
|
-
var
|
|
258
|
-
|
|
257
|
+
var O;
|
|
258
|
+
xt = !0;
|
|
259
259
|
var G = Error.prepareStackTrace;
|
|
260
260
|
Error.prepareStackTrace = void 0;
|
|
261
261
|
var K;
|
|
@@ -273,14 +273,14 @@ function ao() {
|
|
|
273
273
|
try {
|
|
274
274
|
Reflect.construct(I, []);
|
|
275
275
|
} catch (ne) {
|
|
276
|
-
|
|
276
|
+
O = ne;
|
|
277
277
|
}
|
|
278
278
|
Reflect.construct(s, [], I);
|
|
279
279
|
} else {
|
|
280
280
|
try {
|
|
281
281
|
I.call();
|
|
282
282
|
} catch (ne) {
|
|
283
|
-
|
|
283
|
+
O = ne;
|
|
284
284
|
}
|
|
285
285
|
s.call(I.prototype);
|
|
286
286
|
}
|
|
@@ -288,23 +288,23 @@ function ao() {
|
|
|
288
288
|
try {
|
|
289
289
|
throw Error();
|
|
290
290
|
} catch (ne) {
|
|
291
|
-
|
|
291
|
+
O = ne;
|
|
292
292
|
}
|
|
293
293
|
s();
|
|
294
294
|
}
|
|
295
295
|
} catch (ne) {
|
|
296
|
-
if (ne &&
|
|
297
|
-
for (var
|
|
298
|
-
`), te =
|
|
299
|
-
`), Q =
|
|
296
|
+
if (ne && O && typeof ne.stack == "string") {
|
|
297
|
+
for (var D = ne.stack.split(`
|
|
298
|
+
`), te = O.stack.split(`
|
|
299
|
+
`), Q = D.length - 1, ee = te.length - 1; Q >= 1 && ee >= 0 && D[Q] !== te[ee]; )
|
|
300
300
|
ee--;
|
|
301
301
|
for (; Q >= 1 && ee >= 0; Q--, ee--)
|
|
302
|
-
if (
|
|
302
|
+
if (D[Q] !== te[ee]) {
|
|
303
303
|
if (Q !== 1 || ee !== 1)
|
|
304
304
|
do
|
|
305
|
-
if (Q--, ee--, ee < 0 ||
|
|
305
|
+
if (Q--, ee--, ee < 0 || D[Q] !== te[ee]) {
|
|
306
306
|
var se = `
|
|
307
|
-
` +
|
|
307
|
+
` + D[Q].replace(" at new ", " at ");
|
|
308
308
|
return s.displayName && se.includes("<anonymous>") && (se = se.replace("<anonymous>", s.displayName)), typeof s == "function" && nt.set(s, se), se;
|
|
309
309
|
}
|
|
310
310
|
while (Q >= 1 && ee >= 0);
|
|
@@ -312,15 +312,15 @@ function ao() {
|
|
|
312
312
|
}
|
|
313
313
|
}
|
|
314
314
|
} finally {
|
|
315
|
-
|
|
315
|
+
xt = !1, le.current = K, re(), Error.prepareStackTrace = G;
|
|
316
316
|
}
|
|
317
317
|
var He = s ? s.displayName || s.name : "", ze = He ? je(He) : "";
|
|
318
318
|
return typeof s == "function" && nt.set(s, ze), ze;
|
|
319
319
|
}
|
|
320
|
-
function
|
|
320
|
+
function Pn(s, b, S) {
|
|
321
321
|
return nr(s, !1);
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function _n(s) {
|
|
324
324
|
var b = s.prototype;
|
|
325
325
|
return !!(b && b.isReactComponent);
|
|
326
326
|
}
|
|
@@ -328,7 +328,7 @@ function ao() {
|
|
|
328
328
|
if (s == null)
|
|
329
329
|
return "";
|
|
330
330
|
if (typeof s == "function")
|
|
331
|
-
return nr(s,
|
|
331
|
+
return nr(s, _n(s));
|
|
332
332
|
if (typeof s == "string")
|
|
333
333
|
return je(s);
|
|
334
334
|
switch (s) {
|
|
@@ -340,11 +340,11 @@ function ao() {
|
|
|
340
340
|
if (typeof s == "object")
|
|
341
341
|
switch (s.$$typeof) {
|
|
342
342
|
case c:
|
|
343
|
-
return
|
|
343
|
+
return Pn(s.render);
|
|
344
344
|
case g:
|
|
345
345
|
return ot(s.type, b, S);
|
|
346
346
|
case v: {
|
|
347
|
-
var
|
|
347
|
+
var O = s, G = O._payload, K = O._init;
|
|
348
348
|
try {
|
|
349
349
|
return ot(K(G), b, S);
|
|
350
350
|
} catch (I) {
|
|
@@ -361,30 +361,30 @@ function ao() {
|
|
|
361
361
|
} else
|
|
362
362
|
ir.setExtraStackFrame(null);
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function Hn(s, b, S, O, G) {
|
|
365
365
|
{
|
|
366
366
|
var K = Function.call.bind(Ne);
|
|
367
367
|
for (var I in s)
|
|
368
368
|
if (K(s, I)) {
|
|
369
|
-
var
|
|
369
|
+
var D = void 0;
|
|
370
370
|
try {
|
|
371
371
|
if (typeof s[I] != "function") {
|
|
372
|
-
var te = Error((
|
|
372
|
+
var te = Error((O || "React class") + ": " + S + " type `" + I + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof s[I] + "`.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
|
-
|
|
375
|
+
D = s[I](b, I, O, S, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
376
376
|
} catch (Q) {
|
|
377
|
-
|
|
377
|
+
D = Q;
|
|
378
378
|
}
|
|
379
|
-
|
|
379
|
+
D && !(D instanceof Error) && (it(G), 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", S, I, typeof D), it(null)), D instanceof Error && !(D.message in or) && (or[D.message] = !0, it(G), y("Failed %s type: %s", S, D.message), it(null));
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
}
|
|
383
|
-
var
|
|
384
|
-
function
|
|
385
|
-
return
|
|
383
|
+
var An = Array.isArray;
|
|
384
|
+
function yt(s) {
|
|
385
|
+
return An(s);
|
|
386
386
|
}
|
|
387
|
-
function
|
|
387
|
+
function Wn(s) {
|
|
388
388
|
{
|
|
389
389
|
var b = typeof Symbol == "function" && Symbol.toStringTag, S = b && s[Symbol.toStringTag] || s.constructor.name || "Object";
|
|
390
390
|
return S;
|
|
@@ -402,15 +402,15 @@ function ao() {
|
|
|
402
402
|
}
|
|
403
403
|
function lr(s) {
|
|
404
404
|
if (On(s))
|
|
405
|
-
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
405
|
+
return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Wn(s)), ar(s);
|
|
406
406
|
}
|
|
407
|
-
var sr = x.ReactCurrentOwner,
|
|
407
|
+
var sr = x.ReactCurrentOwner, Fn = {
|
|
408
408
|
key: !0,
|
|
409
409
|
ref: !0,
|
|
410
410
|
__self: !0,
|
|
411
411
|
__source: !0
|
|
412
412
|
}, cr, ur;
|
|
413
|
-
function
|
|
413
|
+
function Bn(s) {
|
|
414
414
|
if (Ne.call(s, "ref")) {
|
|
415
415
|
var b = Object.getOwnPropertyDescriptor(s, "ref").get;
|
|
416
416
|
if (b && b.isReactWarning)
|
|
@@ -426,10 +426,10 @@ function ao() {
|
|
|
426
426
|
}
|
|
427
427
|
return s.key !== void 0;
|
|
428
428
|
}
|
|
429
|
-
function
|
|
429
|
+
function In(s, b) {
|
|
430
430
|
typeof s.ref == "string" && sr.current;
|
|
431
431
|
}
|
|
432
|
-
function
|
|
432
|
+
function jn(s, b) {
|
|
433
433
|
{
|
|
434
434
|
var S = function() {
|
|
435
435
|
cr || (cr = !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));
|
|
@@ -440,7 +440,7 @@ function ao() {
|
|
|
440
440
|
});
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
|
-
function
|
|
443
|
+
function Nn(s, b) {
|
|
444
444
|
{
|
|
445
445
|
var S = function() {
|
|
446
446
|
ur || (ur = !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));
|
|
@@ -451,8 +451,8 @@ function ao() {
|
|
|
451
451
|
});
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
|
-
var
|
|
455
|
-
var
|
|
454
|
+
var $n = function(s, b, S, O, G, K, I) {
|
|
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
|
|
@@ -463,42 +463,42 @@ function ao() {
|
|
|
463
463
|
// Record the component responsible for creating this element.
|
|
464
464
|
_owner: K
|
|
465
465
|
};
|
|
466
|
-
return
|
|
466
|
+
return D._store = {}, Object.defineProperty(D._store, "validated", {
|
|
467
467
|
configurable: !1,
|
|
468
468
|
enumerable: !1,
|
|
469
469
|
writable: !0,
|
|
470
470
|
value: !1
|
|
471
|
-
}), Object.defineProperty(
|
|
471
|
+
}), Object.defineProperty(D, "_self", {
|
|
472
472
|
configurable: !1,
|
|
473
473
|
enumerable: !1,
|
|
474
474
|
writable: !1,
|
|
475
|
-
value:
|
|
476
|
-
}), Object.defineProperty(
|
|
475
|
+
value: O
|
|
476
|
+
}), Object.defineProperty(D, "_source", {
|
|
477
477
|
configurable: !1,
|
|
478
478
|
enumerable: !1,
|
|
479
479
|
writable: !1,
|
|
480
480
|
value: G
|
|
481
|
-
}), Object.freeze && (Object.freeze(
|
|
481
|
+
}), Object.freeze && (Object.freeze(D.props), Object.freeze(D)), D;
|
|
482
482
|
};
|
|
483
|
-
function
|
|
483
|
+
function Vn(s, b, S, O, G) {
|
|
484
484
|
{
|
|
485
|
-
var K, I = {},
|
|
486
|
-
S !== void 0 && (lr(S),
|
|
485
|
+
var K, I = {}, D = null, te = null;
|
|
486
|
+
S !== void 0 && (lr(S), D = "" + S), Dn(b) && (lr(b.key), D = "" + b.key), Bn(b) && (te = b.ref, In(b, G));
|
|
487
487
|
for (K in b)
|
|
488
|
-
Ne.call(b, K) && !
|
|
488
|
+
Ne.call(b, K) && !Fn.hasOwnProperty(K) && (I[K] = b[K]);
|
|
489
489
|
if (s && s.defaultProps) {
|
|
490
490
|
var Q = s.defaultProps;
|
|
491
491
|
for (K in Q)
|
|
492
492
|
I[K] === void 0 && (I[K] = Q[K]);
|
|
493
493
|
}
|
|
494
|
-
if (
|
|
494
|
+
if (D || te) {
|
|
495
495
|
var ee = typeof s == "function" ? s.displayName || s.name || "Unknown" : s;
|
|
496
|
-
|
|
496
|
+
D && jn(I, ee), te && Nn(I, ee);
|
|
497
497
|
}
|
|
498
|
-
return
|
|
498
|
+
return $n(s, D, te, G, O, sr.current, I);
|
|
499
499
|
}
|
|
500
500
|
}
|
|
501
|
-
var
|
|
501
|
+
var wt = x.ReactCurrentOwner, dr = x.ReactDebugCurrentFrame;
|
|
502
502
|
function _e(s) {
|
|
503
503
|
if (s) {
|
|
504
504
|
var b = s._owner, S = ot(s.type, s._source, b ? b.type : null);
|
|
@@ -506,15 +506,15 @@ function ao() {
|
|
|
506
506
|
} else
|
|
507
507
|
dr.setExtraStackFrame(null);
|
|
508
508
|
}
|
|
509
|
-
var
|
|
510
|
-
|
|
511
|
-
function
|
|
509
|
+
var Rt;
|
|
510
|
+
Rt = !1;
|
|
511
|
+
function Et(s) {
|
|
512
512
|
return typeof s == "object" && s !== null && s.$$typeof === t;
|
|
513
513
|
}
|
|
514
514
|
function fr() {
|
|
515
515
|
{
|
|
516
|
-
if (
|
|
517
|
-
var s = Y(
|
|
516
|
+
if (wt.current) {
|
|
517
|
+
var s = Y(wt.current.type);
|
|
518
518
|
if (s)
|
|
519
519
|
return `
|
|
520
520
|
|
|
@@ -523,11 +523,11 @@ Check the render method of \`` + s + "`.";
|
|
|
523
523
|
return "";
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function Gn(s) {
|
|
527
527
|
return "";
|
|
528
528
|
}
|
|
529
529
|
var gr = {};
|
|
530
|
-
function
|
|
530
|
+
function Un(s) {
|
|
531
531
|
{
|
|
532
532
|
var b = fr();
|
|
533
533
|
if (!b) {
|
|
@@ -544,34 +544,34 @@ Check the top-level render call using <` + S + ">.");
|
|
|
544
544
|
if (!s._store || s._store.validated || s.key != null)
|
|
545
545
|
return;
|
|
546
546
|
s._store.validated = !0;
|
|
547
|
-
var S =
|
|
547
|
+
var S = Un(b);
|
|
548
548
|
if (gr[S])
|
|
549
549
|
return;
|
|
550
550
|
gr[S] = !0;
|
|
551
|
-
var
|
|
552
|
-
s && s._owner && s._owner !==
|
|
551
|
+
var O = "";
|
|
552
|
+
s && s._owner && s._owner !== wt.current && (O = " It was passed a child from " + Y(s._owner.type) + "."), _e(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.', S, O), _e(null);
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
555
|
function mr(s, b) {
|
|
556
556
|
{
|
|
557
557
|
if (typeof s != "object")
|
|
558
558
|
return;
|
|
559
|
-
if (
|
|
559
|
+
if (yt(s))
|
|
560
560
|
for (var S = 0; S < s.length; S++) {
|
|
561
|
-
var
|
|
562
|
-
|
|
561
|
+
var O = s[S];
|
|
562
|
+
Et(O) && hr(O, b);
|
|
563
563
|
}
|
|
564
|
-
else if (
|
|
564
|
+
else if (Et(s))
|
|
565
565
|
s._store && (s._store.validated = !0);
|
|
566
566
|
else if (s) {
|
|
567
567
|
var G = w(s);
|
|
568
568
|
if (typeof G == "function" && G !== s.entries)
|
|
569
569
|
for (var K = G.call(s), I; !(I = K.next()).done; )
|
|
570
|
-
|
|
570
|
+
Et(I.value) && hr(I.value, b);
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
|
-
function
|
|
574
|
+
function qn(s) {
|
|
575
575
|
{
|
|
576
576
|
var b = s.type;
|
|
577
577
|
if (b == null || typeof b == "string")
|
|
@@ -586,22 +586,22 @@ Check the top-level render call using <` + S + ">.");
|
|
|
586
586
|
else
|
|
587
587
|
return;
|
|
588
588
|
if (S) {
|
|
589
|
-
var
|
|
590
|
-
|
|
591
|
-
} else if (b.PropTypes !== void 0 && !
|
|
592
|
-
|
|
589
|
+
var O = Y(b);
|
|
590
|
+
Hn(S, s.props, "prop", O, s);
|
|
591
|
+
} else if (b.PropTypes !== void 0 && !Rt) {
|
|
592
|
+
Rt = !0;
|
|
593
593
|
var G = Y(b);
|
|
594
594
|
y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", G || "Unknown");
|
|
595
595
|
}
|
|
596
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
|
-
function
|
|
599
|
+
function Yn(s) {
|
|
600
600
|
{
|
|
601
601
|
for (var b = Object.keys(s.props), S = 0; S < b.length; S++) {
|
|
602
|
-
var
|
|
603
|
-
if (
|
|
604
|
-
_e(s), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
602
|
+
var O = b[S];
|
|
603
|
+
if (O !== "children" && O !== "key") {
|
|
604
|
+
_e(s), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", O), _e(null);
|
|
605
605
|
break;
|
|
606
606
|
}
|
|
607
607
|
}
|
|
@@ -609,25 +609,25 @@ Check the top-level render call using <` + S + ">.");
|
|
|
609
609
|
}
|
|
610
610
|
}
|
|
611
611
|
var pr = {};
|
|
612
|
-
function vr(s, b, S,
|
|
612
|
+
function vr(s, b, S, O, G, K) {
|
|
613
613
|
{
|
|
614
614
|
var I = q(s);
|
|
615
615
|
if (!I) {
|
|
616
|
-
var
|
|
617
|
-
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (
|
|
618
|
-
var te =
|
|
619
|
-
te ?
|
|
616
|
+
var D = "";
|
|
617
|
+
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (D += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
618
|
+
var te = Gn();
|
|
619
|
+
te ? D += te : D += fr();
|
|
620
620
|
var Q;
|
|
621
|
-
s === null ? Q = "null" :
|
|
621
|
+
s === null ? Q = "null" : yt(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 =
|
|
623
|
+
var ee = Vn(s, b, S, G, K);
|
|
624
624
|
if (ee == null)
|
|
625
625
|
return ee;
|
|
626
626
|
if (I) {
|
|
627
627
|
var se = b.children;
|
|
628
628
|
if (se !== void 0)
|
|
629
|
-
if (
|
|
630
|
-
if (
|
|
629
|
+
if (O)
|
|
630
|
+
if (yt(se)) {
|
|
631
631
|
for (var He = 0; He < se.length; He++)
|
|
632
632
|
mr(se[He], s);
|
|
633
633
|
Object.freeze && Object.freeze(se);
|
|
@@ -637,43 +637,43 @@ Check the top-level render call using <` + S + ">.");
|
|
|
637
637
|
mr(se, s);
|
|
638
638
|
}
|
|
639
639
|
if (Ne.call(b, "key")) {
|
|
640
|
-
var ze = Y(s), ne = Object.keys(b).filter(function(
|
|
641
|
-
return
|
|
642
|
-
}),
|
|
643
|
-
if (!pr[ze +
|
|
644
|
-
var
|
|
640
|
+
var ze = Y(s), ne = Object.keys(b).filter(function(eo) {
|
|
641
|
+
return eo !== "key";
|
|
642
|
+
}), St = ne.length > 0 ? "{key: someKey, " + ne.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
643
|
+
if (!pr[ze + St]) {
|
|
644
|
+
var Qn = ne.length > 0 ? "{" + ne.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} />`, St, ze, Qn, ze), pr[ze + St] = !0;
|
|
651
651
|
}
|
|
652
652
|
}
|
|
653
|
-
return s === n ?
|
|
653
|
+
return s === n ? Yn(ee) : qn(ee), ee;
|
|
654
654
|
}
|
|
655
655
|
}
|
|
656
|
-
function
|
|
656
|
+
function Kn(s, b, S) {
|
|
657
657
|
return vr(s, b, S, !0);
|
|
658
658
|
}
|
|
659
|
-
function
|
|
659
|
+
function Xn(s, b, S) {
|
|
660
660
|
return vr(s, b, S, !1);
|
|
661
661
|
}
|
|
662
|
-
var
|
|
663
|
-
Ve.Fragment = n, Ve.jsx =
|
|
662
|
+
var Jn = Xn, Zn = Kn;
|
|
663
|
+
Ve.Fragment = n, Ve.jsx = Jn, Ve.jsxs = Zn;
|
|
664
664
|
}()), Ve;
|
|
665
665
|
}
|
|
666
|
-
process.env.NODE_ENV === "production" ?
|
|
667
|
-
var P =
|
|
668
|
-
const
|
|
669
|
-
const t =
|
|
666
|
+
process.env.NODE_ENV === "production" ? Ft.exports = ao() : Ft.exports = lo();
|
|
667
|
+
var P = Ft.exports;
|
|
668
|
+
const Kt = "-", so = (e) => {
|
|
669
|
+
const t = uo(e), {
|
|
670
670
|
conflictingClassGroups: r,
|
|
671
671
|
conflictingClassGroupModifiers: n
|
|
672
672
|
} = e;
|
|
673
673
|
return {
|
|
674
674
|
getClassGroupId: (i) => {
|
|
675
|
-
const l = i.split(
|
|
676
|
-
return l[0] === "" && l.length !== 1 && l.shift(), Kr(l, t) ||
|
|
675
|
+
const l = i.split(Kt);
|
|
676
|
+
return l[0] === "" && l.length !== 1 && l.shift(), Kr(l, t) || co(i);
|
|
677
677
|
},
|
|
678
678
|
getConflictingClassGroupIds: (i, l) => {
|
|
679
679
|
const c = r[i] || [];
|
|
@@ -689,17 +689,17 @@ const Yt = "-", lo = (e) => {
|
|
|
689
689
|
return o;
|
|
690
690
|
if (t.validators.length === 0)
|
|
691
691
|
return;
|
|
692
|
-
const a = e.join(
|
|
692
|
+
const a = e.join(Kt);
|
|
693
693
|
return (i = t.validators.find(({
|
|
694
694
|
validator: l
|
|
695
695
|
}) => l(a))) == null ? void 0 : i.classGroupId;
|
|
696
|
-
}, Er = /^\[(.+)\]$/,
|
|
696
|
+
}, Er = /^\[(.+)\]$/, co = (e) => {
|
|
697
697
|
if (Er.test(e)) {
|
|
698
698
|
const t = Er.exec(e)[1], r = t == null ? void 0 : t.substring(0, t.indexOf(":"));
|
|
699
699
|
if (r)
|
|
700
700
|
return "arbitrary.." + r;
|
|
701
701
|
}
|
|
702
|
-
},
|
|
702
|
+
}, uo = (e) => {
|
|
703
703
|
const {
|
|
704
704
|
theme: t,
|
|
705
705
|
prefix: r
|
|
@@ -707,10 +707,10 @@ const Yt = "-", lo = (e) => {
|
|
|
707
707
|
nextPart: /* @__PURE__ */ new Map(),
|
|
708
708
|
validators: []
|
|
709
709
|
};
|
|
710
|
-
return
|
|
711
|
-
|
|
710
|
+
return go(Object.entries(e.classGroups), r).forEach(([a, i]) => {
|
|
711
|
+
Bt(i, n, a, t);
|
|
712
712
|
}), n;
|
|
713
|
-
},
|
|
713
|
+
}, Bt = (e, t, r, n) => {
|
|
714
714
|
e.forEach((o) => {
|
|
715
715
|
if (typeof o == "string") {
|
|
716
716
|
const a = o === "" ? t : Sr(t, o);
|
|
@@ -718,8 +718,8 @@ const Yt = "-", lo = (e) => {
|
|
|
718
718
|
return;
|
|
719
719
|
}
|
|
720
720
|
if (typeof o == "function") {
|
|
721
|
-
if (
|
|
722
|
-
|
|
721
|
+
if (fo(o)) {
|
|
722
|
+
Bt(o(n), t, r, n);
|
|
723
723
|
return;
|
|
724
724
|
}
|
|
725
725
|
t.validators.push({
|
|
@@ -729,21 +729,21 @@ const Yt = "-", lo = (e) => {
|
|
|
729
729
|
return;
|
|
730
730
|
}
|
|
731
731
|
Object.entries(o).forEach(([a, i]) => {
|
|
732
|
-
|
|
732
|
+
Bt(i, Sr(t, a), r, n);
|
|
733
733
|
});
|
|
734
734
|
});
|
|
735
735
|
}, Sr = (e, t) => {
|
|
736
736
|
let r = e;
|
|
737
|
-
return t.split(
|
|
737
|
+
return t.split(Kt).forEach((n) => {
|
|
738
738
|
r.nextPart.has(n) || r.nextPart.set(n, {
|
|
739
739
|
nextPart: /* @__PURE__ */ new Map(),
|
|
740
740
|
validators: []
|
|
741
741
|
}), r = r.nextPart.get(n);
|
|
742
742
|
}), r;
|
|
743
|
-
},
|
|
743
|
+
}, fo = (e) => e.isThemeGetter, go = (e, t) => t ? e.map(([r, n]) => {
|
|
744
744
|
const o = n.map((a) => typeof a == "string" ? t + a : typeof a == "object" ? Object.fromEntries(Object.entries(a).map(([i, l]) => [t + i, l])) : a);
|
|
745
745
|
return [r, o];
|
|
746
|
-
}) : e,
|
|
746
|
+
}) : e, ho = (e) => {
|
|
747
747
|
if (e < 1)
|
|
748
748
|
return {
|
|
749
749
|
get: () => {
|
|
@@ -767,7 +767,7 @@ const Yt = "-", lo = (e) => {
|
|
|
767
767
|
r.has(a) ? r.set(a, i) : o(a, i);
|
|
768
768
|
}
|
|
769
769
|
};
|
|
770
|
-
}, Xr = "!",
|
|
770
|
+
}, Xr = "!", mo = (e) => {
|
|
771
771
|
const {
|
|
772
772
|
separator: t,
|
|
773
773
|
experimentalParseClassName: r
|
|
@@ -800,7 +800,7 @@ const Yt = "-", lo = (e) => {
|
|
|
800
800
|
className: l,
|
|
801
801
|
parseClassName: i
|
|
802
802
|
}) : i;
|
|
803
|
-
},
|
|
803
|
+
}, po = (e) => {
|
|
804
804
|
if (e.length <= 1)
|
|
805
805
|
return e;
|
|
806
806
|
const t = [];
|
|
@@ -808,15 +808,15 @@ const Yt = "-", lo = (e) => {
|
|
|
808
808
|
return e.forEach((n) => {
|
|
809
809
|
n[0] === "[" ? (t.push(...r.sort(), n), r = []) : r.push(n);
|
|
810
810
|
}), t.push(...r.sort()), t;
|
|
811
|
-
},
|
|
812
|
-
cache:
|
|
813
|
-
parseClassName:
|
|
814
|
-
},
|
|
811
|
+
}, vo = (e) => L({
|
|
812
|
+
cache: ho(e.cacheSize),
|
|
813
|
+
parseClassName: mo(e)
|
|
814
|
+
}, so(e)), bo = /\s+/, xo = (e, t) => {
|
|
815
815
|
const {
|
|
816
816
|
parseClassName: r,
|
|
817
817
|
getClassGroupId: n,
|
|
818
818
|
getConflictingClassGroupIds: o
|
|
819
|
-
} = t, a = [], i = e.trim().split(
|
|
819
|
+
} = t, a = [], i = e.trim().split(bo);
|
|
820
820
|
let l = "";
|
|
821
821
|
for (let c = i.length - 1; c >= 0; c -= 1) {
|
|
822
822
|
const u = i[c], {
|
|
@@ -837,7 +837,7 @@ const Yt = "-", lo = (e) => {
|
|
|
837
837
|
}
|
|
838
838
|
h = !1;
|
|
839
839
|
}
|
|
840
|
-
const w =
|
|
840
|
+
const w = po(f).join(":"), x = g ? w + Xr : w, y = x + m;
|
|
841
841
|
if (a.includes(y))
|
|
842
842
|
continue;
|
|
843
843
|
a.push(y);
|
|
@@ -850,7 +850,7 @@ const Yt = "-", lo = (e) => {
|
|
|
850
850
|
}
|
|
851
851
|
return l;
|
|
852
852
|
};
|
|
853
|
-
function
|
|
853
|
+
function yo() {
|
|
854
854
|
let e = 0, t, r, n = "";
|
|
855
855
|
for (; e < arguments.length; )
|
|
856
856
|
(t = arguments[e++]) && (r = Jr(t)) && (n && (n += " "), n += r);
|
|
@@ -868,32 +868,32 @@ function Dt(e, ...t) {
|
|
|
868
868
|
let r, n, o, a = i;
|
|
869
869
|
function i(c) {
|
|
870
870
|
const u = t.reduce((f, g) => g(f), e());
|
|
871
|
-
return r =
|
|
871
|
+
return r = vo(u), n = r.cache.get, o = r.cache.set, a = l, l(c);
|
|
872
872
|
}
|
|
873
873
|
function l(c) {
|
|
874
874
|
const u = n(c);
|
|
875
875
|
if (u)
|
|
876
876
|
return u;
|
|
877
|
-
const f =
|
|
877
|
+
const f = xo(c, r);
|
|
878
878
|
return o(c, f), f;
|
|
879
879
|
}
|
|
880
880
|
return function() {
|
|
881
|
-
return a(
|
|
881
|
+
return a(yo.apply(null, arguments));
|
|
882
882
|
};
|
|
883
883
|
}
|
|
884
884
|
const J = (e) => {
|
|
885
885
|
const t = (r) => r[e] || [];
|
|
886
886
|
return t.isThemeGetter = !0, t;
|
|
887
|
-
}, Zr = /^\[(?:([a-z-]+):)?(.+)\]$/i,
|
|
887
|
+
}, Zr = /^\[(?:([a-z-]+):)?(.+)\]$/i, wo = /^\d+\/\d+$/, Ro = /* @__PURE__ */ new Set(["px", "full", "screen"]), Eo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, So = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Co = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, To = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ko = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, he = (e) => We(e) || Ro.has(e) || wo.test(e), xe = (e) => De(e, "length", Wo), We = (e) => !!e && !Number.isNaN(Number(e)), Tt = (e) => De(e, "number", We), Ge = (e) => !!e && Number.isInteger(Number(e)), Lo = (e) => e.endsWith("%") && We(e.slice(0, -1)), F = (e) => Zr.test(e), ye = (e) => Eo.test(e), zo = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Mo = (e) => De(e, zo, Qr), Po = (e) => De(e, "position", Qr), _o = /* @__PURE__ */ new Set(["image", "url"]), Ho = (e) => De(e, _o, Fo), Ao = (e) => De(e, "", Oo), Ue = () => !0, De = (e, t, r) => {
|
|
888
888
|
const n = Zr.exec(e);
|
|
889
889
|
return n ? n[1] ? typeof t == "string" ? n[1] === t : t.has(n[1]) : r(n[2]) : !1;
|
|
890
|
-
},
|
|
890
|
+
}, Wo = (e) => (
|
|
891
891
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
892
892
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
893
893
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
894
|
-
|
|
895
|
-
), Qr = () => !1, Oo = (e) =>
|
|
896
|
-
const e = J("colors"), t = J("spacing"), r = J("blur"), n = 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"), R = J("scale"), z = J("sepia"), _ = J("skew"), N = J("space"), U = J("translate"), Z = () => ["auto", "contain", "none"], q = () => ["auto", "hidden", "clip", "visible", "scroll"], V = () => ["auto", F, t], H = () => [F, t], Y = () => ["", he, xe], A = () => ["auto",
|
|
894
|
+
So.test(e) && !Co.test(e)
|
|
895
|
+
), Qr = () => !1, Oo = (e) => To.test(e), Fo = (e) => ko.test(e), It = () => {
|
|
896
|
+
const e = J("colors"), t = J("spacing"), r = J("blur"), n = 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"), R = J("scale"), z = J("sepia"), _ = J("skew"), N = J("space"), U = J("translate"), Z = () => ["auto", "contain", "none"], q = () => ["auto", "hidden", "clip", "visible", "scroll"], V = () => ["auto", F, t], H = () => [F, t], Y = () => ["", he, xe], A = () => ["auto", We, F], T = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], C = () => ["solid", "dashed", "dotted", "double", "none"], k = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], j = () => ["", "0", F], W = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], B = () => [We, F];
|
|
897
897
|
return {
|
|
898
898
|
cacheSize: 500,
|
|
899
899
|
separator: ":",
|
|
@@ -901,26 +901,26 @@ const J = (e) => {
|
|
|
901
901
|
colors: [Ue],
|
|
902
902
|
spacing: [he, xe],
|
|
903
903
|
blur: ["none", "", ye, F],
|
|
904
|
-
brightness:
|
|
904
|
+
brightness: B(),
|
|
905
905
|
borderColor: [e],
|
|
906
906
|
borderRadius: ["none", "", "full", ye, F],
|
|
907
907
|
borderSpacing: H(),
|
|
908
908
|
borderWidth: Y(),
|
|
909
|
-
contrast:
|
|
909
|
+
contrast: B(),
|
|
910
910
|
grayscale: j(),
|
|
911
|
-
hueRotate:
|
|
911
|
+
hueRotate: B(),
|
|
912
912
|
invert: j(),
|
|
913
913
|
gap: H(),
|
|
914
914
|
gradientColorStops: [e],
|
|
915
|
-
gradientColorStopPositions: [
|
|
915
|
+
gradientColorStopPositions: [Lo, xe],
|
|
916
916
|
inset: V(),
|
|
917
917
|
margin: V(),
|
|
918
|
-
opacity:
|
|
918
|
+
opacity: B(),
|
|
919
919
|
padding: H(),
|
|
920
|
-
saturate:
|
|
921
|
-
scale:
|
|
920
|
+
saturate: B(),
|
|
921
|
+
scale: B(),
|
|
922
922
|
sepia: j(),
|
|
923
|
-
skew:
|
|
923
|
+
skew: B(),
|
|
924
924
|
space: H(),
|
|
925
925
|
translate: H()
|
|
926
926
|
},
|
|
@@ -950,14 +950,14 @@ const J = (e) => {
|
|
|
950
950
|
* @see https://tailwindcss.com/docs/break-after
|
|
951
951
|
*/
|
|
952
952
|
"break-after": [{
|
|
953
|
-
"break-after":
|
|
953
|
+
"break-after": W()
|
|
954
954
|
}],
|
|
955
955
|
/**
|
|
956
956
|
* Break Before
|
|
957
957
|
* @see https://tailwindcss.com/docs/break-before
|
|
958
958
|
*/
|
|
959
959
|
"break-before": [{
|
|
960
|
-
"break-before":
|
|
960
|
+
"break-before": W()
|
|
961
961
|
}],
|
|
962
962
|
/**
|
|
963
963
|
* Break Inside
|
|
@@ -1581,7 +1581,7 @@ const J = (e) => {
|
|
|
1581
1581
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1582
1582
|
*/
|
|
1583
1583
|
"font-weight": [{
|
|
1584
|
-
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black",
|
|
1584
|
+
font: ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black", Tt]
|
|
1585
1585
|
}],
|
|
1586
1586
|
/**
|
|
1587
1587
|
* Font Family
|
|
@@ -1632,7 +1632,7 @@ const J = (e) => {
|
|
|
1632
1632
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1633
1633
|
*/
|
|
1634
1634
|
"line-clamp": [{
|
|
1635
|
-
"line-clamp": ["none",
|
|
1635
|
+
"line-clamp": ["none", We, Tt]
|
|
1636
1636
|
}],
|
|
1637
1637
|
/**
|
|
1638
1638
|
* Line Height
|
|
@@ -1825,7 +1825,7 @@ const J = (e) => {
|
|
|
1825
1825
|
* @see https://tailwindcss.com/docs/background-position
|
|
1826
1826
|
*/
|
|
1827
1827
|
"bg-position": [{
|
|
1828
|
-
bg: [...T(),
|
|
1828
|
+
bg: [...T(), Po]
|
|
1829
1829
|
}],
|
|
1830
1830
|
/**
|
|
1831
1831
|
* Background Repeat
|
|
@@ -1841,7 +1841,7 @@ const J = (e) => {
|
|
|
1841
1841
|
* @see https://tailwindcss.com/docs/background-size
|
|
1842
1842
|
*/
|
|
1843
1843
|
"bg-size": [{
|
|
1844
|
-
bg: ["auto", "cover", "contain",
|
|
1844
|
+
bg: ["auto", "cover", "contain", Mo]
|
|
1845
1845
|
}],
|
|
1846
1846
|
/**
|
|
1847
1847
|
* Background Image
|
|
@@ -1850,7 +1850,7 @@ const J = (e) => {
|
|
|
1850
1850
|
"bg-image": [{
|
|
1851
1851
|
bg: ["none", {
|
|
1852
1852
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1853
|
-
},
|
|
1853
|
+
}, Ho]
|
|
1854
1854
|
}],
|
|
1855
1855
|
/**
|
|
1856
1856
|
* Background Color
|
|
@@ -2266,7 +2266,7 @@ const J = (e) => {
|
|
|
2266
2266
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
2267
2267
|
*/
|
|
2268
2268
|
shadow: [{
|
|
2269
|
-
shadow: ["", "inner", "none", ye,
|
|
2269
|
+
shadow: ["", "inner", "none", ye, Ao]
|
|
2270
2270
|
}],
|
|
2271
2271
|
/**
|
|
2272
2272
|
* Box Shadow Color
|
|
@@ -2495,7 +2495,7 @@ const J = (e) => {
|
|
|
2495
2495
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2496
2496
|
*/
|
|
2497
2497
|
duration: [{
|
|
2498
|
-
duration:
|
|
2498
|
+
duration: B()
|
|
2499
2499
|
}],
|
|
2500
2500
|
/**
|
|
2501
2501
|
* Transition Timing Function
|
|
@@ -2509,7 +2509,7 @@ const J = (e) => {
|
|
|
2509
2509
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2510
2510
|
*/
|
|
2511
2511
|
delay: [{
|
|
2512
|
-
delay:
|
|
2512
|
+
delay: B()
|
|
2513
2513
|
}],
|
|
2514
2514
|
/**
|
|
2515
2515
|
* Animation
|
|
@@ -2846,7 +2846,7 @@ const J = (e) => {
|
|
|
2846
2846
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2847
2847
|
*/
|
|
2848
2848
|
"stroke-w": [{
|
|
2849
|
-
stroke: [he, xe,
|
|
2849
|
+
stroke: [he, xe, Tt]
|
|
2850
2850
|
}],
|
|
2851
2851
|
/**
|
|
2852
2852
|
* Stroke
|
|
@@ -2921,7 +2921,7 @@ const J = (e) => {
|
|
|
2921
2921
|
"font-size": ["leading"]
|
|
2922
2922
|
}
|
|
2923
2923
|
};
|
|
2924
|
-
},
|
|
2924
|
+
}, Bo = (e, {
|
|
2925
2925
|
cacheSize: t,
|
|
2926
2926
|
prefix: r,
|
|
2927
2927
|
separator: n,
|
|
@@ -2933,7 +2933,7 @@ const J = (e) => {
|
|
|
2933
2933
|
for (const l in i)
|
|
2934
2934
|
Do(e[l], i[l]);
|
|
2935
2935
|
for (const l in a)
|
|
2936
|
-
|
|
2936
|
+
Io(e[l], a[l]);
|
|
2937
2937
|
return e;
|
|
2938
2938
|
}, qe = (e, t, r) => {
|
|
2939
2939
|
r !== void 0 && (e[t] = r);
|
|
@@ -2941,13 +2941,13 @@ const J = (e) => {
|
|
|
2941
2941
|
if (t)
|
|
2942
2942
|
for (const r in t)
|
|
2943
2943
|
qe(e, r, t[r]);
|
|
2944
|
-
},
|
|
2944
|
+
}, Io = (e, t) => {
|
|
2945
2945
|
if (t)
|
|
2946
2946
|
for (const r in t) {
|
|
2947
2947
|
const n = t[r];
|
|
2948
2948
|
n !== void 0 && (e[r] = (e[r] || []).concat(n));
|
|
2949
2949
|
}
|
|
2950
|
-
},
|
|
2950
|
+
}, jo = (e, ...t) => typeof e == "function" ? Dt(It, e, ...t) : Dt(() => Bo(It(), e), ...t), ct = /* @__PURE__ */ Dt(It), Cr = ({ children: e, size: t = "small" }) => /* @__PURE__ */ P.jsx(
|
|
2951
2951
|
"div",
|
|
2952
2952
|
{
|
|
2953
2953
|
className: `ds-flex ds-items-center ds-justify-center ${t === "small" ? "ds-h-5 ds-w-5" : "ds-h-6 ds-w-6"}`,
|
|
@@ -3411,6 +3411,20 @@ const rn = {
|
|
|
3411
3411
|
fontWeight: "var(--font-weight-semibold)"
|
|
3412
3412
|
}
|
|
3413
3413
|
],
|
|
3414
|
+
smallBodyRegular: [
|
|
3415
|
+
"15px",
|
|
3416
|
+
{
|
|
3417
|
+
lineHeight: "24px",
|
|
3418
|
+
fontWeight: "var(--font-weight-normal)"
|
|
3419
|
+
}
|
|
3420
|
+
],
|
|
3421
|
+
smallBodyEmphasized: [
|
|
3422
|
+
"15px",
|
|
3423
|
+
{
|
|
3424
|
+
lineHeight: "24px",
|
|
3425
|
+
fontWeight: "var(--font-weight-semibold)"
|
|
3426
|
+
}
|
|
3427
|
+
],
|
|
3414
3428
|
smallBody1Regular: [
|
|
3415
3429
|
"var(--SmallBody-1Regular-font-size)",
|
|
3416
3430
|
{
|
|
@@ -3418,6 +3432,13 @@ const rn = {
|
|
|
3418
3432
|
fontWeight: "var(--SmallBody-1Regular-font-weight)"
|
|
3419
3433
|
}
|
|
3420
3434
|
],
|
|
3435
|
+
smallBody1Emphasized: [
|
|
3436
|
+
"var(--SmallBody-1Regular-font-size)",
|
|
3437
|
+
{
|
|
3438
|
+
lineHeight: "var(--SmallBody-1Regular-line-height)",
|
|
3439
|
+
fontWeight: "var(--font-weight-semibold)"
|
|
3440
|
+
}
|
|
3441
|
+
],
|
|
3421
3442
|
smallBody2Regular: [
|
|
3422
3443
|
"var(--SmallBody-2Regular-font-size)",
|
|
3423
3444
|
{
|
|
@@ -3425,6 +3446,13 @@ const rn = {
|
|
|
3425
3446
|
fontWeight: "var(--SmallBody-2Regular-font-weight)"
|
|
3426
3447
|
}
|
|
3427
3448
|
],
|
|
3449
|
+
smallBody2Emphasized: [
|
|
3450
|
+
"var(--SmallBody-2Regular-font-size)",
|
|
3451
|
+
{
|
|
3452
|
+
lineHeight: "var(--SmallBody-2Regular-line-height)",
|
|
3453
|
+
fontWeight: "var(--font-weight-semibold)"
|
|
3454
|
+
}
|
|
3455
|
+
],
|
|
3428
3456
|
smallSubheadRegular: [
|
|
3429
3457
|
"var(--SmallSubhead-Regular-font-size)",
|
|
3430
3458
|
{
|
|
@@ -3664,21 +3692,18 @@ const rn = {
|
|
|
3664
3692
|
fontWeight: "var(--callout-Regular-font-weight)"
|
|
3665
3693
|
}
|
|
3666
3694
|
]
|
|
3667
|
-
},
|
|
3668
|
-
|
|
3669
|
-
...
|
|
3670
|
-
...
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3695
|
+
}, kt = Object.keys(rn).map((e) => `ds-text-${e}`);
|
|
3696
|
+
[
|
|
3697
|
+
...kt,
|
|
3698
|
+
...kt.map((e) => `ds-tablet:${e}`),
|
|
3699
|
+
...kt.map((e) => `ds-desktop:${e}`)
|
|
3700
|
+
];
|
|
3701
|
+
const ut = {
|
|
3674
3702
|
prefix: "ds-",
|
|
3675
3703
|
theme: {
|
|
3676
3704
|
screens: {
|
|
3677
|
-
"ds-zero": { max: "374px" },
|
|
3678
|
-
"ds-mobile": { min: "375px" },
|
|
3679
3705
|
"ds-tablet": { min: "768px" },
|
|
3680
|
-
"ds-desktop": { min: "1024px" }
|
|
3681
|
-
"ds-wide_desktop": { min: "1280px" }
|
|
3706
|
+
"ds-desktop": { min: "1024px" }
|
|
3682
3707
|
},
|
|
3683
3708
|
extend: {
|
|
3684
3709
|
colors: {
|
|
@@ -3742,43 +3767,27 @@ const rn = {
|
|
|
3742
3767
|
red: "#FF453A",
|
|
3743
3768
|
green: "#28CD41"
|
|
3744
3769
|
}
|
|
3745
|
-
},
|
|
3746
|
-
spacing: {
|
|
3747
|
-
space0: "var(--space-0)",
|
|
3748
|
-
space025: "var(--space-025)",
|
|
3749
|
-
space050: "var(--space-050)",
|
|
3750
|
-
space075: "var(--space-075)",
|
|
3751
|
-
space100: "var(--space-100)",
|
|
3752
|
-
space150: "var(--space-150)",
|
|
3753
|
-
space200: "var(--space-200)",
|
|
3754
|
-
space250: "var(--space-250)",
|
|
3755
|
-
space300: "var(--space-300)",
|
|
3756
|
-
space400: "var(--space-400)",
|
|
3757
|
-
space500: "var(--space-500)",
|
|
3758
|
-
space600: "var(--space-600)",
|
|
3759
|
-
space800: "var(--space-800)",
|
|
3760
|
-
space1000: "var(--space-1000)",
|
|
3761
|
-
space1200: "var(--space-1200)",
|
|
3762
|
-
space1600: "var(--space-1600)"
|
|
3763
|
-
},
|
|
3764
|
-
fontFamily: {
|
|
3765
|
-
sans: "var(--font-family-default)",
|
|
3766
|
-
serif: "var(--font-family-hero)",
|
|
3767
|
-
default: "var(--font-family-default)",
|
|
3768
|
-
hero: "var(--font-family-hero)"
|
|
3769
|
-
},
|
|
3770
|
-
fontSize: rn,
|
|
3771
|
-
boxShadow: {
|
|
3772
|
-
DEFAULT: "var(--shadow-default)",
|
|
3773
|
-
sm: "0px 1px 4px 0px rgba(0, 0, 0, 0.16)",
|
|
3774
|
-
md: "0px 6px 16px 0px rgba(0, 0, 0, 0.12)",
|
|
3775
|
-
lg: "0px 4px 18px 0px rgba(0, 0, 0, 0.17)"
|
|
3776
3770
|
}
|
|
3777
3771
|
}
|
|
3778
|
-
}
|
|
3779
|
-
|
|
3780
|
-
|
|
3781
|
-
|
|
3772
|
+
}
|
|
3773
|
+
};
|
|
3774
|
+
function nn(e, t = "", r = []) {
|
|
3775
|
+
const n = [];
|
|
3776
|
+
for (const o in e) {
|
|
3777
|
+
const a = e[o], i = [...r, o];
|
|
3778
|
+
typeof a == "object" && a !== null && !Array.isArray(a) ? n.push(...nn(a, t, i)) : n.push(`${t}-${i.join("-")}`);
|
|
3779
|
+
}
|
|
3780
|
+
return n;
|
|
3781
|
+
}
|
|
3782
|
+
const No = jo({
|
|
3783
|
+
prefix: ut.prefix,
|
|
3784
|
+
extend: {
|
|
3785
|
+
classGroups: {
|
|
3786
|
+
"text-color": nn(ut.theme.extend.colors, "text"),
|
|
3787
|
+
"font-size": Object.keys(rn).map((e) => `text-${e}`)
|
|
3788
|
+
}
|
|
3789
|
+
}
|
|
3790
|
+
});
|
|
3782
3791
|
function me(...e) {
|
|
3783
3792
|
return No(tn(e));
|
|
3784
3793
|
}
|
|
@@ -3791,16 +3800,14 @@ const za = (e, t = "AED") => {
|
|
|
3791
3800
|
primary: "ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-rounded-sm hover:ds-text-Text-textPrimaryDark hover:ds-bg-Background-accentEggplant-highlight active:ds-bg-Background-accentEggplant-darkened focus:ds-rounded-none focus:ds-bg-Background-accentEggplant-100 focus:ds-border focus:ds-border-white focus:ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)] disabled:focus:ds-shadow-none disabled:ds-bg-Background-accentEggplant-20",
|
|
3792
3801
|
secondary: "ds-text-Background-accentEggplant-100 ds-rounded-sm ds-border ds-border-Fills-secondary hover:ds-text-Background-accentEggplant-100 hover:ds-border hover:ds-bg-Background-accentEggplant-5 hover:ds-border-Fills-black active:ds-text-Background-accentEggplant-100 active:ds-border active:ds-border-Fills-Background-accentEggplant-100 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-5 focus:ds-text-accentEggplant-100 focus:ds-border-2 focus:ds-border-Background-accentEggplant-100 disabled:ds-border disabled:ds-border-Fills-terciary disabled:ds-text-Text-tertiary disabled:ds-bg-transparent",
|
|
3793
3802
|
tertiary: "ds-text-Text-secondary ds-rounded-sm hover:ds-bg-Fills-quintiary active:ds-bg-Fills-quintiary focus:ds-bg-Fills-quadrutery disabled:ds-text-Fills-quadrutery disabled:ds-bg-Fills-quintiary",
|
|
3794
|
-
quaternary: "ds-text-accentEggplant-100 ds-rounded-sm hover:ds-bg-Background-accentEggplant-5 active:ds-bg-Background-accentEggplant-5
|
|
3803
|
+
quaternary: "ds-text-accentEggplant-100 ds-rounded-sm hover:ds-bg-Background-accentEggplant-5 active:ds-bg-Background-accentEggplant-5 focus:ds-bg-Background-accentEggplant-100 focus:ds-text-Text-textPrimaryDark disabled:ds-text-Background-accentEggplant-20",
|
|
3795
3804
|
small: "ds-py-1.5 ds-px-8 ds_SmallBodyEmphasized",
|
|
3796
|
-
large: "ds-py-3 ds-px-8 ds_MediumBodyEmphasized"
|
|
3797
|
-
empty: ""
|
|
3805
|
+
large: "ds-py-3 ds-px-8 ds_MediumBodyEmphasized"
|
|
3798
3806
|
}, $o = {
|
|
3799
3807
|
primary: "ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-rounded-none ds-border ds-border-white ds-shadow-[0px_0px_0px_1px_rgba(109,54,169,1)]",
|
|
3800
3808
|
secondary: "ds-rounded-sm ds-border ds-bg-Background-accentEggplant-5 ds-text-accentEggplant-100 ds-border-2 ds-border-Background-accentEggplant-100",
|
|
3801
3809
|
tertiary: "ds-text-Text-secondary ds-rounded-sm ds-bg-Fills-quadrutery",
|
|
3802
|
-
quaternary: "ds-rounded-sm ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark"
|
|
3803
|
-
empty: "ds-rounded-sm ds-bg-none"
|
|
3810
|
+
quaternary: "ds-rounded-sm ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark"
|
|
3804
3811
|
}, Vo = Fe.forwardRef(
|
|
3805
3812
|
(h, d) => {
|
|
3806
3813
|
var m = h, {
|
|
@@ -3950,7 +3957,7 @@ const Ma = ({ className: e }) => /* @__PURE__ */ P.jsxs(
|
|
|
3950
3957
|
}
|
|
3951
3958
|
);
|
|
3952
3959
|
function Ie(e) {
|
|
3953
|
-
return
|
|
3960
|
+
return on(e) ? (e.nodeName || "").toLowerCase() : "#document";
|
|
3954
3961
|
}
|
|
3955
3962
|
function oe(e) {
|
|
3956
3963
|
var t;
|
|
@@ -3958,9 +3965,9 @@ function oe(e) {
|
|
|
3958
3965
|
}
|
|
3959
3966
|
function ve(e) {
|
|
3960
3967
|
var t;
|
|
3961
|
-
return (t = (
|
|
3968
|
+
return (t = (on(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
|
|
3962
3969
|
}
|
|
3963
|
-
function
|
|
3970
|
+
function on(e) {
|
|
3964
3971
|
return e instanceof Node || e instanceof oe(e).Node;
|
|
3965
3972
|
}
|
|
3966
3973
|
function X(e) {
|
|
@@ -3969,7 +3976,7 @@ function X(e) {
|
|
|
3969
3976
|
function ie(e) {
|
|
3970
3977
|
return e instanceof HTMLElement || e instanceof oe(e).HTMLElement;
|
|
3971
3978
|
}
|
|
3972
|
-
function
|
|
3979
|
+
function jt(e) {
|
|
3973
3980
|
return typeof ShadowRoot == "undefined" ? !1 : e instanceof ShadowRoot || e instanceof oe(e).ShadowRoot;
|
|
3974
3981
|
}
|
|
3975
3982
|
function Ze(e) {
|
|
@@ -3984,7 +3991,7 @@ function Ze(e) {
|
|
|
3984
3991
|
function Go(e) {
|
|
3985
3992
|
return ["table", "td", "th"].includes(Ie(e));
|
|
3986
3993
|
}
|
|
3987
|
-
function
|
|
3994
|
+
function vt(e) {
|
|
3988
3995
|
return [":popover-open", ":modal"].some((t) => {
|
|
3989
3996
|
try {
|
|
3990
3997
|
return e.matches(t);
|
|
@@ -4002,7 +4009,7 @@ function Uo(e) {
|
|
|
4002
4009
|
for (; ie(t) && !Ce(t); ) {
|
|
4003
4010
|
if (Xt(t))
|
|
4004
4011
|
return t;
|
|
4005
|
-
if (
|
|
4012
|
+
if (vt(t))
|
|
4006
4013
|
return null;
|
|
4007
4014
|
t = pe(t);
|
|
4008
4015
|
}
|
|
@@ -4017,7 +4024,7 @@ function Ce(e) {
|
|
|
4017
4024
|
function ce(e) {
|
|
4018
4025
|
return oe(e).getComputedStyle(e);
|
|
4019
4026
|
}
|
|
4020
|
-
function
|
|
4027
|
+
function bt(e) {
|
|
4021
4028
|
return X(e) ? {
|
|
4022
4029
|
scrollLeft: e.scrollLeft,
|
|
4023
4030
|
scrollTop: e.scrollTop
|
|
@@ -4033,22 +4040,22 @@ function pe(e) {
|
|
|
4033
4040
|
// Step into the shadow DOM of the parent of a slotted node.
|
|
4034
4041
|
e.assignedSlot || // DOM Element detected.
|
|
4035
4042
|
e.parentNode || // ShadowRoot detected.
|
|
4036
|
-
|
|
4043
|
+
jt(e) && e.host || // Fallback.
|
|
4037
4044
|
ve(e)
|
|
4038
4045
|
);
|
|
4039
|
-
return
|
|
4046
|
+
return jt(t) ? t.host : t;
|
|
4040
4047
|
}
|
|
4041
|
-
function
|
|
4048
|
+
function an(e) {
|
|
4042
4049
|
const t = pe(e);
|
|
4043
|
-
return Ce(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ie(t) && Ze(t) ? t :
|
|
4050
|
+
return Ce(t) ? e.ownerDocument ? e.ownerDocument.body : e.body : ie(t) && Ze(t) ? t : an(t);
|
|
4044
4051
|
}
|
|
4045
4052
|
function Se(e, t, r) {
|
|
4046
4053
|
var n;
|
|
4047
4054
|
t === void 0 && (t = []), r === void 0 && (r = !0);
|
|
4048
|
-
const o =
|
|
4055
|
+
const o = an(e), a = o === ((n = e.ownerDocument) == null ? void 0 : n.body), i = oe(o);
|
|
4049
4056
|
return a ? t.concat(i, i.visualViewport || [], Ze(o) ? o : [], i.frameElement && r ? Se(i.frameElement) : []) : t.concat(o, Se(o, [], r));
|
|
4050
4057
|
}
|
|
4051
|
-
function
|
|
4058
|
+
function Nt(e) {
|
|
4052
4059
|
let t = e.activeElement;
|
|
4053
4060
|
for (; ((r = t) == null || (r = r.shadowRoot) == null ? void 0 : r.activeElement) != null; ) {
|
|
4054
4061
|
var r;
|
|
@@ -4056,13 +4063,13 @@ function jt(e) {
|
|
|
4056
4063
|
}
|
|
4057
4064
|
return t;
|
|
4058
4065
|
}
|
|
4059
|
-
function
|
|
4066
|
+
function Be(e, t) {
|
|
4060
4067
|
if (!e || !t)
|
|
4061
4068
|
return !1;
|
|
4062
4069
|
const r = t.getRootNode == null ? void 0 : t.getRootNode();
|
|
4063
4070
|
if (e.contains(t))
|
|
4064
4071
|
return !0;
|
|
4065
|
-
if (r &&
|
|
4072
|
+
if (r && jt(r)) {
|
|
4066
4073
|
let n = t;
|
|
4067
4074
|
for (; n; ) {
|
|
4068
4075
|
if (e === n)
|
|
@@ -4072,11 +4079,11 @@ function De(e, t) {
|
|
|
4072
4079
|
}
|
|
4073
4080
|
return !1;
|
|
4074
4081
|
}
|
|
4075
|
-
function
|
|
4082
|
+
function ln() {
|
|
4076
4083
|
const e = navigator.userAgentData;
|
|
4077
4084
|
return e != null && e.platform ? e.platform : navigator.platform;
|
|
4078
4085
|
}
|
|
4079
|
-
function
|
|
4086
|
+
function sn() {
|
|
4080
4087
|
const e = navigator.userAgentData;
|
|
4081
4088
|
return e && Array.isArray(e.brands) ? e.brands.map((t) => {
|
|
4082
4089
|
let {
|
|
@@ -4090,18 +4097,18 @@ function qo(e) {
|
|
|
4090
4097
|
return Ko() ? !1 : !kr() && e.width === 0 && e.height === 0 || kr() && e.width === 1 && e.height === 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "mouse" || // iOS VoiceOver returns 0.333• for width/height.
|
|
4091
4098
|
e.width < 1 && e.height < 1 && e.pressure === 0 && e.detail === 0 && e.pointerType === "touch";
|
|
4092
4099
|
}
|
|
4093
|
-
function
|
|
4100
|
+
function cn() {
|
|
4094
4101
|
return /apple/i.test(navigator.vendor);
|
|
4095
4102
|
}
|
|
4096
4103
|
function kr() {
|
|
4097
4104
|
const e = /android/i;
|
|
4098
|
-
return e.test(
|
|
4105
|
+
return e.test(ln()) || e.test(sn());
|
|
4099
4106
|
}
|
|
4100
4107
|
function Yo() {
|
|
4101
|
-
return
|
|
4108
|
+
return ln().toLowerCase().startsWith("mac") && !navigator.maxTouchPoints;
|
|
4102
4109
|
}
|
|
4103
4110
|
function Ko() {
|
|
4104
|
-
return
|
|
4111
|
+
return sn().includes("jsdom/");
|
|
4105
4112
|
}
|
|
4106
4113
|
function Ke(e, t) {
|
|
4107
4114
|
const r = ["mouse", "pen"];
|
|
@@ -4116,7 +4123,7 @@ function Jo(e) {
|
|
|
4116
4123
|
function Re(e) {
|
|
4117
4124
|
return (e == null ? void 0 : e.ownerDocument) || document;
|
|
4118
4125
|
}
|
|
4119
|
-
function
|
|
4126
|
+
function Lt(e, t) {
|
|
4120
4127
|
if (t == null)
|
|
4121
4128
|
return !1;
|
|
4122
4129
|
if ("composedPath" in e)
|
|
@@ -4128,10 +4135,10 @@ function Ae(e) {
|
|
|
4128
4135
|
return "composedPath" in e ? e.composedPath()[0] : e.target;
|
|
4129
4136
|
}
|
|
4130
4137
|
const Zo = "input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])";
|
|
4131
|
-
function
|
|
4138
|
+
function un(e) {
|
|
4132
4139
|
return ie(e) && e.matches(Zo);
|
|
4133
4140
|
}
|
|
4134
|
-
const Ee = Math.min, ae = Math.max,
|
|
4141
|
+
const Ee = Math.min, ae = Math.max, dt = Math.round, lt = Math.floor, Te = (e) => ({
|
|
4135
4142
|
x: e,
|
|
4136
4143
|
y: e
|
|
4137
4144
|
}), Qo = {
|
|
@@ -4155,29 +4162,29 @@ function ke(e) {
|
|
|
4155
4162
|
function et(e) {
|
|
4156
4163
|
return e.split("-")[1];
|
|
4157
4164
|
}
|
|
4158
|
-
function
|
|
4165
|
+
function dn(e) {
|
|
4159
4166
|
return e === "x" ? "y" : "x";
|
|
4160
4167
|
}
|
|
4161
|
-
function
|
|
4168
|
+
function fn(e) {
|
|
4162
4169
|
return e === "y" ? "height" : "width";
|
|
4163
4170
|
}
|
|
4164
4171
|
function Me(e) {
|
|
4165
4172
|
return ["top", "bottom"].includes(ke(e)) ? "y" : "x";
|
|
4166
4173
|
}
|
|
4167
|
-
function
|
|
4168
|
-
return
|
|
4174
|
+
function gn(e) {
|
|
4175
|
+
return dn(Me(e));
|
|
4169
4176
|
}
|
|
4170
4177
|
function ti(e, t, r) {
|
|
4171
4178
|
r === void 0 && (r = !1);
|
|
4172
|
-
const n = et(e), o =
|
|
4179
|
+
const n = et(e), o = gn(e), a = fn(o);
|
|
4173
4180
|
let i = o === "x" ? n === (r ? "end" : "start") ? "right" : "left" : n === "start" ? "bottom" : "top";
|
|
4174
|
-
return t.reference[a] > t.floating[a] && (i =
|
|
4181
|
+
return t.reference[a] > t.floating[a] && (i = ft(i)), [i, ft(i)];
|
|
4175
4182
|
}
|
|
4176
4183
|
function ri(e) {
|
|
4177
|
-
const t =
|
|
4178
|
-
return [
|
|
4184
|
+
const t = ft(e);
|
|
4185
|
+
return [$t(e), t, $t(t)];
|
|
4179
4186
|
}
|
|
4180
|
-
function
|
|
4187
|
+
function $t(e) {
|
|
4181
4188
|
return e.replace(/start|end/g, (t) => ei[t]);
|
|
4182
4189
|
}
|
|
4183
4190
|
function ni(e, t, r) {
|
|
@@ -4196,9 +4203,9 @@ function ni(e, t, r) {
|
|
|
4196
4203
|
function oi(e, t, r, n) {
|
|
4197
4204
|
const o = et(e);
|
|
4198
4205
|
let a = ni(ke(e), r === "start", n);
|
|
4199
|
-
return o && (a = a.map((i) => i + "-" + o), t && (a = a.concat(a.map(
|
|
4206
|
+
return o && (a = a.map((i) => i + "-" + o), t && (a = a.concat(a.map($t)))), a;
|
|
4200
4207
|
}
|
|
4201
|
-
function
|
|
4208
|
+
function ft(e) {
|
|
4202
4209
|
return e.replace(/left|right|bottom|top/g, (t) => Qo[t]);
|
|
4203
4210
|
}
|
|
4204
4211
|
function ii(e) {
|
|
@@ -4217,7 +4224,7 @@ function ai(e) {
|
|
|
4217
4224
|
left: e
|
|
4218
4225
|
};
|
|
4219
4226
|
}
|
|
4220
|
-
function
|
|
4227
|
+
function gt(e) {
|
|
4221
4228
|
const {
|
|
4222
4229
|
x: t,
|
|
4223
4230
|
y: r,
|
|
@@ -4239,13 +4246,13 @@ function ft(e) {
|
|
|
4239
4246
|
* tabbable 6.2.0
|
|
4240
4247
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
4241
4248
|
*/
|
|
4242
|
-
var li = ["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])"],
|
|
4243
|
-
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector,
|
|
4249
|
+
var li = ["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])"], Vt = /* @__PURE__ */ li.join(","), hn = typeof Element == "undefined", Xe = hn ? function() {
|
|
4250
|
+
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, ht = !hn && Element.prototype.getRootNode ? function(e) {
|
|
4244
4251
|
var t;
|
|
4245
4252
|
return e == null || (t = e.getRootNode) === null || t === void 0 ? void 0 : t.call(e);
|
|
4246
4253
|
} : function(e) {
|
|
4247
4254
|
return e == null ? void 0 : e.ownerDocument;
|
|
4248
|
-
},
|
|
4255
|
+
}, mt = function e(t, r) {
|
|
4249
4256
|
var n;
|
|
4250
4257
|
r === void 0 && (r = !0);
|
|
4251
4258
|
var o = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "inert"), a = o === "" || o === "true", i = a || r && t && e(t.parentNode);
|
|
@@ -4254,14 +4261,14 @@ var li = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4254
4261
|
var r, n = t == null || (r = t.getAttribute) === null || r === void 0 ? void 0 : r.call(t, "contenteditable");
|
|
4255
4262
|
return n === "" || n === "true";
|
|
4256
4263
|
}, ci = function(t, r, n) {
|
|
4257
|
-
if (
|
|
4264
|
+
if (mt(t))
|
|
4258
4265
|
return [];
|
|
4259
|
-
var o = Array.prototype.slice.apply(t.querySelectorAll(
|
|
4260
|
-
return r && Xe.call(t,
|
|
4266
|
+
var o = Array.prototype.slice.apply(t.querySelectorAll(Vt));
|
|
4267
|
+
return r && Xe.call(t, Vt) && o.unshift(t), o = o.filter(n), o;
|
|
4261
4268
|
}, ui = function e(t, r, n) {
|
|
4262
4269
|
for (var o = [], a = Array.from(t); a.length; ) {
|
|
4263
4270
|
var i = a.shift();
|
|
4264
|
-
if (!
|
|
4271
|
+
if (!mt(i, !1))
|
|
4265
4272
|
if (i.tagName === "SLOT") {
|
|
4266
4273
|
var l = i.assignedElements(), c = l.length ? l : i.children, u = e(c, !0, n);
|
|
4267
4274
|
n.flatten ? o.push.apply(o, u) : o.push({
|
|
@@ -4269,10 +4276,10 @@ var li = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4269
4276
|
candidates: u
|
|
4270
4277
|
});
|
|
4271
4278
|
} else {
|
|
4272
|
-
var f = Xe.call(i,
|
|
4279
|
+
var f = Xe.call(i, Vt);
|
|
4273
4280
|
f && n.filter(i) && (r || !t.includes(i)) && o.push(i);
|
|
4274
4281
|
var g = i.shadowRoot || // check for an undisclosed shadow
|
|
4275
|
-
typeof n.getShadowRoot == "function" && n.getShadowRoot(i), v = !
|
|
4282
|
+
typeof n.getShadowRoot == "function" && n.getShadowRoot(i), v = !mt(g, !1) && (!n.shadowRootFilter || n.shadowRootFilter(i));
|
|
4276
4283
|
if (g && v) {
|
|
4277
4284
|
var d = e(g === !0 ? i.children : g.children, !0, n);
|
|
4278
4285
|
n.flatten ? o.push.apply(o, d) : o.push({
|
|
@@ -4284,21 +4291,21 @@ var li = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4284
4291
|
}
|
|
4285
4292
|
}
|
|
4286
4293
|
return o;
|
|
4287
|
-
}, hn = function(t) {
|
|
4288
|
-
return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
|
|
4289
4294
|
}, mn = function(t) {
|
|
4295
|
+
return !isNaN(parseInt(t.getAttribute("tabindex"), 10));
|
|
4296
|
+
}, pn = function(t) {
|
|
4290
4297
|
if (!t)
|
|
4291
4298
|
throw new Error("No node provided");
|
|
4292
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || si(t)) && !
|
|
4299
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || si(t)) && !mn(t) ? 0 : t.tabIndex;
|
|
4293
4300
|
}, di = function(t, r) {
|
|
4294
|
-
var n =
|
|
4295
|
-
return n < 0 && r && !
|
|
4301
|
+
var n = pn(t);
|
|
4302
|
+
return n < 0 && r && !mn(t) ? 0 : n;
|
|
4296
4303
|
}, fi = function(t, r) {
|
|
4297
4304
|
return t.tabIndex === r.tabIndex ? t.documentOrder - r.documentOrder : t.tabIndex - r.tabIndex;
|
|
4298
|
-
},
|
|
4305
|
+
}, vn = function(t) {
|
|
4299
4306
|
return t.tagName === "INPUT";
|
|
4300
4307
|
}, gi = function(t) {
|
|
4301
|
-
return
|
|
4308
|
+
return vn(t) && t.type === "hidden";
|
|
4302
4309
|
}, hi = function(t) {
|
|
4303
4310
|
var r = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(n) {
|
|
4304
4311
|
return n.tagName === "SUMMARY";
|
|
@@ -4311,7 +4318,7 @@ var li = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4311
4318
|
}, pi = function(t) {
|
|
4312
4319
|
if (!t.name)
|
|
4313
4320
|
return !0;
|
|
4314
|
-
var r = t.form ||
|
|
4321
|
+
var r = t.form || ht(t), n = function(l) {
|
|
4315
4322
|
return r.querySelectorAll('input[type="radio"][name="' + l + '"]');
|
|
4316
4323
|
}, o;
|
|
4317
4324
|
if (typeof window != "undefined" && typeof window.CSS != "undefined" && typeof window.CSS.escape == "function")
|
|
@@ -4325,16 +4332,16 @@ var li = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4325
4332
|
var a = mi(o, t.form);
|
|
4326
4333
|
return !a || a === t;
|
|
4327
4334
|
}, vi = function(t) {
|
|
4328
|
-
return
|
|
4335
|
+
return vn(t) && t.type === "radio";
|
|
4329
4336
|
}, bi = function(t) {
|
|
4330
4337
|
return vi(t) && !pi(t);
|
|
4331
4338
|
}, xi = function(t) {
|
|
4332
|
-
var r, n = t &&
|
|
4339
|
+
var r, n = t && ht(t), o = (r = n) === null || r === void 0 ? void 0 : r.host, a = !1;
|
|
4333
4340
|
if (n && n !== t) {
|
|
4334
4341
|
var i, l, c;
|
|
4335
4342
|
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; ) {
|
|
4336
4343
|
var u, f, g;
|
|
4337
|
-
n =
|
|
4344
|
+
n = ht(o), o = (u = n) === 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));
|
|
4338
4345
|
}
|
|
4339
4346
|
}
|
|
4340
4347
|
return a;
|
|
@@ -4351,7 +4358,7 @@ var li = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4351
4358
|
if (!n || n === "full" || n === "legacy-full") {
|
|
4352
4359
|
if (typeof o == "function") {
|
|
4353
4360
|
for (var l = t; t; ) {
|
|
4354
|
-
var c = t.parentElement, u =
|
|
4361
|
+
var c = t.parentElement, u = ht(t);
|
|
4355
4362
|
if (c && !c.shadowRoot && o(c) === !0)
|
|
4356
4363
|
return zr(t);
|
|
4357
4364
|
t.assignedSlot ? t = t.assignedSlot : !c && u !== t.ownerDocument ? t = u.host : t = c;
|
|
@@ -4383,10 +4390,10 @@ var li = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4383
4390
|
return !(r.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
4384
4391
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
4385
4392
|
// note related to `candidateSelectors`)
|
|
4386
|
-
|
|
4393
|
+
mt(r) || gi(r) || yi(r, t) || // For a details element with a summary, the summary element gets the focus
|
|
4387
4394
|
hi(r) || wi(r));
|
|
4388
4395
|
}, Mr = function(t, r) {
|
|
4389
|
-
return !(bi(r) ||
|
|
4396
|
+
return !(bi(r) || pn(r) < 0 || !Ri(t, r));
|
|
4390
4397
|
}, Ei = function(t) {
|
|
4391
4398
|
var r = parseInt(t.getAttribute("tabindex"), 10);
|
|
4392
4399
|
return !!(isNaN(r) || r >= 0);
|
|
@@ -4404,7 +4411,7 @@ var li = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4404
4411
|
}), n.sort(fi).reduce(function(o, a) {
|
|
4405
4412
|
return a.isScope ? o.push.apply(o, a.content) : o.push(a.content), o;
|
|
4406
4413
|
}, []).concat(r);
|
|
4407
|
-
},
|
|
4414
|
+
}, bn = function(t, r) {
|
|
4408
4415
|
r = r || {};
|
|
4409
4416
|
var n;
|
|
4410
4417
|
return r.getShadowRoot ? n = ui([t], r.includeContainer, {
|
|
@@ -4419,7 +4426,7 @@ function Pr(e, t, r) {
|
|
|
4419
4426
|
reference: n,
|
|
4420
4427
|
floating: o
|
|
4421
4428
|
} = e;
|
|
4422
|
-
const a = Me(t), i =
|
|
4429
|
+
const a = Me(t), i = gn(t), l = fn(i), c = ke(t), u = a === "y", f = n.x + n.width / 2 - o.width / 2, g = n.y + n.height / 2 - o.height / 2, v = n[l] / 2 - o[l] / 2;
|
|
4423
4430
|
let d;
|
|
4424
4431
|
switch (c) {
|
|
4425
4432
|
case "top":
|
|
@@ -4536,7 +4543,7 @@ function Zt(e, t) {
|
|
|
4536
4543
|
elementContext: g = "floating",
|
|
4537
4544
|
altBoundary: v = !1,
|
|
4538
4545
|
padding: d = 0
|
|
4539
|
-
} = Qe(t, e), h = ai(d), w = l[v ? g === "floating" ? "reference" : "floating" : g], x =
|
|
4546
|
+
} = Qe(t, e), h = ai(d), w = l[v ? g === "floating" ? "reference" : "floating" : g], x = gt(yield a.getClippingRect({
|
|
4540
4547
|
element: (r = yield a.isElement == null ? void 0 : a.isElement(w)) == null || r ? w : w.contextElement || (yield a.getDocumentElement == null ? void 0 : a.getDocumentElement(l.floating)),
|
|
4541
4548
|
boundary: u,
|
|
4542
4549
|
rootBoundary: f,
|
|
@@ -4552,7 +4559,7 @@ function Zt(e, t) {
|
|
|
4552
4559
|
} : {
|
|
4553
4560
|
x: 1,
|
|
4554
4561
|
y: 1
|
|
4555
|
-
}, z =
|
|
4562
|
+
}, z = gt(a.convertOffsetParentRelativeRectToViewportRelativeRect ? yield a.convertOffsetParentRelativeRectToViewportRelativeRect({
|
|
4556
4563
|
elements: l,
|
|
4557
4564
|
rect: y,
|
|
4558
4565
|
offsetParent: E,
|
|
@@ -4597,7 +4604,7 @@ const Ti = function(e) {
|
|
|
4597
4604
|
]);
|
|
4598
4605
|
if ((n = i.arrow) != null && n.alignmentOffset)
|
|
4599
4606
|
return {};
|
|
4600
|
-
const y = ke(a), E = Me(c), R = ke(c) === c, z = yield u.isRTL == null ? void 0 : u.isRTL(f.floating), _ = d || (R || !w ? [
|
|
4607
|
+
const y = ke(a), E = Me(c), R = ke(c) === c, z = yield u.isRTL == null ? void 0 : u.isRTL(f.floating), _ = d || (R || !w ? [ft(c)] : ri(c)), N = m !== "none";
|
|
4601
4608
|
!d && N && _.push(...oi(c, w, m, z));
|
|
4602
4609
|
const U = [c, ..._], Z = yield Zt(r, x), q = [];
|
|
4603
4610
|
let V = ((o = i.flip) == null ? void 0 : o.overflows) || [];
|
|
@@ -4621,20 +4628,20 @@ const Ti = function(e) {
|
|
|
4621
4628
|
placement: k
|
|
4622
4629
|
}
|
|
4623
4630
|
};
|
|
4624
|
-
let M = (Y = V.filter((j) => j.overflows[0] <= 0).sort((j,
|
|
4631
|
+
let M = (Y = V.filter((j) => j.overflows[0] <= 0).sort((j, W) => j.overflows[1] - W.overflows[1])[0]) == null ? void 0 : Y.placement;
|
|
4625
4632
|
if (!M)
|
|
4626
4633
|
switch (h) {
|
|
4627
4634
|
case "bestFit": {
|
|
4628
4635
|
var A;
|
|
4629
|
-
const j = (A = V.filter((
|
|
4636
|
+
const j = (A = V.filter((W) => {
|
|
4630
4637
|
if (N) {
|
|
4631
|
-
const
|
|
4632
|
-
return
|
|
4638
|
+
const B = Me(W.placement);
|
|
4639
|
+
return B === E || // Create a bias to the `y` side axis due to horizontal
|
|
4633
4640
|
// reading directions favoring greater width.
|
|
4634
|
-
|
|
4641
|
+
B === "y";
|
|
4635
4642
|
}
|
|
4636
4643
|
return !0;
|
|
4637
|
-
}).map((
|
|
4644
|
+
}).map((W) => [W.placement, W.overflows.filter((B) => B > 0).reduce((B, be) => B + be, 0)]).sort((W, B) => W[1] - B[1])[0]) == null ? void 0 : A[0];
|
|
4638
4645
|
j && (M = j);
|
|
4639
4646
|
break;
|
|
4640
4647
|
}
|
|
@@ -4738,7 +4745,7 @@ const Li = function(e) {
|
|
|
4738
4745
|
]), f = {
|
|
4739
4746
|
x: n,
|
|
4740
4747
|
y: o
|
|
4741
|
-
}, g = yield Zt(r, u), v = Me(ke(a)), d =
|
|
4748
|
+
}, g = yield Zt(r, u), v = Me(ke(a)), d = dn(v);
|
|
4742
4749
|
let h = f[d], m = f[v];
|
|
4743
4750
|
if (i) {
|
|
4744
4751
|
const y = d === "y" ? "top" : "left", E = d === "y" ? "bottom" : "right", R = h + g[y], z = h - g[E];
|
|
@@ -4803,10 +4810,10 @@ const Li = function(e) {
|
|
|
4803
4810
|
}
|
|
4804
4811
|
};
|
|
4805
4812
|
};
|
|
4806
|
-
function
|
|
4813
|
+
function xn(e) {
|
|
4807
4814
|
const t = ce(e);
|
|
4808
4815
|
let r = parseFloat(t.width) || 0, n = parseFloat(t.height) || 0;
|
|
4809
|
-
const o = ie(e), a = o ? e.offsetWidth : r, i = o ? e.offsetHeight : n, l =
|
|
4816
|
+
const o = ie(e), a = o ? e.offsetWidth : r, i = o ? e.offsetHeight : n, l = dt(r) !== a || dt(n) !== i;
|
|
4810
4817
|
return l && (r = a, n = i), {
|
|
4811
4818
|
width: r,
|
|
4812
4819
|
height: n,
|
|
@@ -4816,7 +4823,7 @@ function bn(e) {
|
|
|
4816
4823
|
function Qt(e) {
|
|
4817
4824
|
return X(e) ? e : e.contextElement;
|
|
4818
4825
|
}
|
|
4819
|
-
function
|
|
4826
|
+
function Oe(e) {
|
|
4820
4827
|
const t = Qt(e);
|
|
4821
4828
|
if (!ie(t))
|
|
4822
4829
|
return Te(1);
|
|
@@ -4824,15 +4831,15 @@ function We(e) {
|
|
|
4824
4831
|
width: n,
|
|
4825
4832
|
height: o,
|
|
4826
4833
|
$: a
|
|
4827
|
-
} =
|
|
4828
|
-
let i = (a ?
|
|
4834
|
+
} = xn(t);
|
|
4835
|
+
let i = (a ? dt(r.width) : r.width) / n, l = (a ? dt(r.height) : r.height) / o;
|
|
4829
4836
|
return (!i || !Number.isFinite(i)) && (i = 1), (!l || !Number.isFinite(l)) && (l = 1), {
|
|
4830
4837
|
x: i,
|
|
4831
4838
|
y: l
|
|
4832
4839
|
};
|
|
4833
4840
|
}
|
|
4834
4841
|
const Pi = /* @__PURE__ */ Te(0);
|
|
4835
|
-
function
|
|
4842
|
+
function yn(e) {
|
|
4836
4843
|
const t = oe(e);
|
|
4837
4844
|
return !Jt() || !t.visualViewport ? Pi : {
|
|
4838
4845
|
x: t.visualViewport.offsetLeft,
|
|
@@ -4846,18 +4853,18 @@ function Pe(e, t, r, n) {
|
|
|
4846
4853
|
t === void 0 && (t = !1), r === void 0 && (r = !1);
|
|
4847
4854
|
const o = e.getBoundingClientRect(), a = Qt(e);
|
|
4848
4855
|
let i = Te(1);
|
|
4849
|
-
t && (n ? X(n) && (i =
|
|
4850
|
-
const l = _i(a, r, n) ?
|
|
4856
|
+
t && (n ? X(n) && (i = Oe(n)) : i = Oe(e));
|
|
4857
|
+
const l = _i(a, r, n) ? yn(a) : Te(0);
|
|
4851
4858
|
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;
|
|
4852
4859
|
if (a) {
|
|
4853
4860
|
const v = oe(a), d = n && X(n) ? oe(n) : n;
|
|
4854
4861
|
let h = v, m = h.frameElement;
|
|
4855
4862
|
for (; m && n && d !== h; ) {
|
|
4856
|
-
const w =
|
|
4863
|
+
const w = Oe(m), x = m.getBoundingClientRect(), y = ce(m), E = x.left + (m.clientLeft + parseFloat(y.paddingLeft)) * w.x, R = x.top + (m.clientTop + parseFloat(y.paddingTop)) * w.y;
|
|
4857
4864
|
c *= w.x, u *= w.y, f *= w.x, g *= w.y, c += E, u += R, h = oe(m), m = h.frameElement;
|
|
4858
4865
|
}
|
|
4859
4866
|
}
|
|
4860
|
-
return
|
|
4867
|
+
return gt({
|
|
4861
4868
|
width: f,
|
|
4862
4869
|
height: g,
|
|
4863
4870
|
x: c,
|
|
@@ -4871,7 +4878,7 @@ function Hi(e) {
|
|
|
4871
4878
|
offsetParent: n,
|
|
4872
4879
|
strategy: o
|
|
4873
4880
|
} = e;
|
|
4874
|
-
const a = o === "fixed", i = ve(n), l = t ?
|
|
4881
|
+
const a = o === "fixed", i = ve(n), l = t ? vt(t.floating) : !1;
|
|
4875
4882
|
if (n === i || l && a)
|
|
4876
4883
|
return r;
|
|
4877
4884
|
let c = {
|
|
@@ -4879,9 +4886,9 @@ function Hi(e) {
|
|
|
4879
4886
|
scrollTop: 0
|
|
4880
4887
|
}, u = Te(1);
|
|
4881
4888
|
const f = Te(0), g = ie(n);
|
|
4882
|
-
if ((g || !g && !a) && ((Ie(n) !== "body" || Ze(i)) && (c =
|
|
4889
|
+
if ((g || !g && !a) && ((Ie(n) !== "body" || Ze(i)) && (c = bt(n)), ie(n))) {
|
|
4883
4890
|
const v = Pe(n);
|
|
4884
|
-
u =
|
|
4891
|
+
u = Oe(n), f.x = v.x + n.clientLeft, f.y = v.y + n.clientTop;
|
|
4885
4892
|
}
|
|
4886
4893
|
return {
|
|
4887
4894
|
width: r.width * u.x,
|
|
@@ -4893,12 +4900,12 @@ function Hi(e) {
|
|
|
4893
4900
|
function Ai(e) {
|
|
4894
4901
|
return Array.from(e.getClientRects());
|
|
4895
4902
|
}
|
|
4896
|
-
function
|
|
4897
|
-
return Pe(ve(e)).left +
|
|
4903
|
+
function wn(e) {
|
|
4904
|
+
return Pe(ve(e)).left + bt(e).scrollLeft;
|
|
4898
4905
|
}
|
|
4899
|
-
function
|
|
4900
|
-
const t = ve(e), r =
|
|
4901
|
-
let i = -r.scrollLeft +
|
|
4906
|
+
function Wi(e) {
|
|
4907
|
+
const t = ve(e), r = bt(e), n = e.ownerDocument.body, o = ae(t.scrollWidth, t.clientWidth, n.scrollWidth, n.clientWidth), a = ae(t.scrollHeight, t.clientHeight, n.scrollHeight, n.clientHeight);
|
|
4908
|
+
let i = -r.scrollLeft + wn(e);
|
|
4902
4909
|
const l = -r.scrollTop;
|
|
4903
4910
|
return ce(n).direction === "rtl" && (i += ae(t.clientWidth, n.clientWidth) - o), {
|
|
4904
4911
|
width: o,
|
|
@@ -4907,7 +4914,7 @@ function Oi(e) {
|
|
|
4907
4914
|
y: l
|
|
4908
4915
|
};
|
|
4909
4916
|
}
|
|
4910
|
-
function
|
|
4917
|
+
function Oi(e, t) {
|
|
4911
4918
|
const r = oe(e), n = ve(e), o = r.visualViewport;
|
|
4912
4919
|
let a = n.clientWidth, i = n.clientHeight, l = 0, c = 0;
|
|
4913
4920
|
if (o) {
|
|
@@ -4923,7 +4930,7 @@ function Wi(e, t) {
|
|
|
4923
4930
|
};
|
|
4924
4931
|
}
|
|
4925
4932
|
function Fi(e, t) {
|
|
4926
|
-
const r = Pe(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, a = ie(e) ?
|
|
4933
|
+
const r = Pe(e, !0, t === "fixed"), n = r.top + e.clientTop, o = r.left + e.clientLeft, a = ie(e) ? Oe(e) : Te(1), i = e.clientWidth * a.x, l = e.clientHeight * a.y, c = o * a.x, u = n * a.y;
|
|
4927
4934
|
return {
|
|
4928
4935
|
width: i,
|
|
4929
4936
|
height: l,
|
|
@@ -4934,25 +4941,25 @@ function Fi(e, t) {
|
|
|
4934
4941
|
function _r(e, t, r) {
|
|
4935
4942
|
let n;
|
|
4936
4943
|
if (t === "viewport")
|
|
4937
|
-
n =
|
|
4944
|
+
n = Oi(e, r);
|
|
4938
4945
|
else if (t === "document")
|
|
4939
|
-
n =
|
|
4946
|
+
n = Wi(ve(e));
|
|
4940
4947
|
else if (X(t))
|
|
4941
4948
|
n = Fi(t, r);
|
|
4942
4949
|
else {
|
|
4943
|
-
const o =
|
|
4950
|
+
const o = yn(e);
|
|
4944
4951
|
n = $(L({}, t), {
|
|
4945
4952
|
x: t.x - o.x,
|
|
4946
4953
|
y: t.y - o.y
|
|
4947
4954
|
});
|
|
4948
4955
|
}
|
|
4949
|
-
return
|
|
4956
|
+
return gt(n);
|
|
4950
4957
|
}
|
|
4951
|
-
function
|
|
4958
|
+
function Rn(e, t) {
|
|
4952
4959
|
const r = pe(e);
|
|
4953
|
-
return r === t || !X(r) || Ce(r) ? !1 : ce(r).position === "fixed" ||
|
|
4960
|
+
return r === t || !X(r) || Ce(r) ? !1 : ce(r).position === "fixed" || Rn(r, t);
|
|
4954
4961
|
}
|
|
4955
|
-
function
|
|
4962
|
+
function Bi(e, t) {
|
|
4956
4963
|
const r = t.get(e);
|
|
4957
4964
|
if (r)
|
|
4958
4965
|
return r;
|
|
@@ -4961,18 +4968,18 @@ function Di(e, t) {
|
|
|
4961
4968
|
let i = a ? pe(e) : e;
|
|
4962
4969
|
for (; X(i) && !Ce(i); ) {
|
|
4963
4970
|
const l = ce(i), c = Xt(i);
|
|
4964
|
-
!c && l.position === "fixed" && (o = null), (a ? !c && !o : !c && l.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || Ze(i) && !c &&
|
|
4971
|
+
!c && l.position === "fixed" && (o = null), (a ? !c && !o : !c && l.position === "static" && !!o && ["absolute", "fixed"].includes(o.position) || Ze(i) && !c && Rn(e, i)) ? n = n.filter((f) => f !== i) : o = l, i = pe(i);
|
|
4965
4972
|
}
|
|
4966
4973
|
return t.set(e, n), n;
|
|
4967
4974
|
}
|
|
4968
|
-
function
|
|
4975
|
+
function Di(e) {
|
|
4969
4976
|
let {
|
|
4970
4977
|
element: t,
|
|
4971
4978
|
boundary: r,
|
|
4972
4979
|
rootBoundary: n,
|
|
4973
4980
|
strategy: o
|
|
4974
4981
|
} = e;
|
|
4975
|
-
const i = [...r === "clippingAncestors" ?
|
|
4982
|
+
const i = [...r === "clippingAncestors" ? vt(t) ? [] : Bi(t, this._c) : [].concat(r), n], l = i[0], c = i.reduce((u, f) => {
|
|
4976
4983
|
const g = _r(t, f, o);
|
|
4977
4984
|
return u.top = ae(g.top, u.top), u.right = Ee(g.right, u.right), u.bottom = Ee(g.bottom, u.bottom), u.left = ae(g.left, u.left), u;
|
|
4978
4985
|
}, _r(t, l, o));
|
|
@@ -4987,7 +4994,7 @@ function Ii(e) {
|
|
|
4987
4994
|
const {
|
|
4988
4995
|
width: t,
|
|
4989
4996
|
height: r
|
|
4990
|
-
} =
|
|
4997
|
+
} = xn(e);
|
|
4991
4998
|
return {
|
|
4992
4999
|
width: t,
|
|
4993
5000
|
height: r
|
|
@@ -5001,10 +5008,10 @@ function ji(e, t, r) {
|
|
|
5001
5008
|
};
|
|
5002
5009
|
const c = Te(0);
|
|
5003
5010
|
if (n || !n && !a)
|
|
5004
|
-
if ((Ie(t) !== "body" || Ze(o)) && (l =
|
|
5011
|
+
if ((Ie(t) !== "body" || Ze(o)) && (l = bt(t)), n) {
|
|
5005
5012
|
const g = Pe(t, !0, a, t);
|
|
5006
5013
|
c.x = g.x + t.clientLeft, c.y = g.y + t.clientTop;
|
|
5007
|
-
} else o && (c.x =
|
|
5014
|
+
} else o && (c.x = wn(o));
|
|
5008
5015
|
const u = i.left + l.scrollLeft - c.x, f = i.top + l.scrollTop - c.y;
|
|
5009
5016
|
return {
|
|
5010
5017
|
x: u,
|
|
@@ -5013,33 +5020,33 @@ function ji(e, t, r) {
|
|
|
5013
5020
|
height: i.height
|
|
5014
5021
|
};
|
|
5015
5022
|
}
|
|
5016
|
-
function
|
|
5023
|
+
function zt(e) {
|
|
5017
5024
|
return ce(e).position === "static";
|
|
5018
5025
|
}
|
|
5019
5026
|
function Hr(e, t) {
|
|
5020
5027
|
return !ie(e) || ce(e).position === "fixed" ? null : t ? t(e) : e.offsetParent;
|
|
5021
5028
|
}
|
|
5022
|
-
function
|
|
5029
|
+
function En(e, t) {
|
|
5023
5030
|
const r = oe(e);
|
|
5024
|
-
if (
|
|
5031
|
+
if (vt(e))
|
|
5025
5032
|
return r;
|
|
5026
5033
|
if (!ie(e)) {
|
|
5027
5034
|
let o = pe(e);
|
|
5028
5035
|
for (; o && !Ce(o); ) {
|
|
5029
|
-
if (X(o) && !
|
|
5036
|
+
if (X(o) && !zt(o))
|
|
5030
5037
|
return o;
|
|
5031
5038
|
o = pe(o);
|
|
5032
5039
|
}
|
|
5033
5040
|
return r;
|
|
5034
5041
|
}
|
|
5035
5042
|
let n = Hr(e, t);
|
|
5036
|
-
for (; n && Go(n) &&
|
|
5043
|
+
for (; n && Go(n) && zt(n); )
|
|
5037
5044
|
n = Hr(n, t);
|
|
5038
|
-
return n && Ce(n) &&
|
|
5045
|
+
return n && Ce(n) && zt(n) && !Xt(n) ? r : n || Uo(e) || r;
|
|
5039
5046
|
}
|
|
5040
5047
|
const Ni = function(e) {
|
|
5041
5048
|
return ge(this, null, function* () {
|
|
5042
|
-
const t = this.getOffsetParent ||
|
|
5049
|
+
const t = this.getOffsetParent || En, r = this.getDimensions, n = yield r(e.floating);
|
|
5043
5050
|
return {
|
|
5044
5051
|
reference: ji(e.reference, yield t(e.floating), e.strategy),
|
|
5045
5052
|
floating: {
|
|
@@ -5057,12 +5064,12 @@ function $i(e) {
|
|
|
5057
5064
|
const Vi = {
|
|
5058
5065
|
convertOffsetParentRelativeRectToViewportRelativeRect: Hi,
|
|
5059
5066
|
getDocumentElement: ve,
|
|
5060
|
-
getClippingRect:
|
|
5061
|
-
getOffsetParent:
|
|
5067
|
+
getClippingRect: Di,
|
|
5068
|
+
getOffsetParent: En,
|
|
5062
5069
|
getElementRects: Ni,
|
|
5063
5070
|
getClientRects: Ai,
|
|
5064
5071
|
getDimensions: Ii,
|
|
5065
|
-
getScale:
|
|
5072
|
+
getScale: Oe,
|
|
5066
5073
|
isElement: X,
|
|
5067
5074
|
isRTL: $i
|
|
5068
5075
|
};
|
|
@@ -5158,7 +5165,7 @@ const Ui = Li, qi = zi, Yi = Ti, Ki = Mi, Xi = (e, t, r) => {
|
|
|
5158
5165
|
}));
|
|
5159
5166
|
};
|
|
5160
5167
|
var st = typeof document != "undefined" ? qr : Je;
|
|
5161
|
-
function
|
|
5168
|
+
function pt(e, t) {
|
|
5162
5169
|
if (e === t)
|
|
5163
5170
|
return !0;
|
|
5164
5171
|
if (typeof e != typeof t)
|
|
@@ -5170,7 +5177,7 @@ function mt(e, t) {
|
|
|
5170
5177
|
if (Array.isArray(e)) {
|
|
5171
5178
|
if (r = e.length, r !== t.length) return !1;
|
|
5172
5179
|
for (n = r; n-- !== 0; )
|
|
5173
|
-
if (!
|
|
5180
|
+
if (!pt(e[n], t[n]))
|
|
5174
5181
|
return !1;
|
|
5175
5182
|
return !0;
|
|
5176
5183
|
}
|
|
@@ -5181,21 +5188,21 @@ function mt(e, t) {
|
|
|
5181
5188
|
return !1;
|
|
5182
5189
|
for (n = r; n-- !== 0; ) {
|
|
5183
5190
|
const a = o[n];
|
|
5184
|
-
if (!(a === "_owner" && e.$$typeof) && !
|
|
5191
|
+
if (!(a === "_owner" && e.$$typeof) && !pt(e[a], t[a]))
|
|
5185
5192
|
return !1;
|
|
5186
5193
|
}
|
|
5187
5194
|
return !0;
|
|
5188
5195
|
}
|
|
5189
5196
|
return e !== e && t !== t;
|
|
5190
5197
|
}
|
|
5191
|
-
function
|
|
5198
|
+
function Sn(e) {
|
|
5192
5199
|
return typeof window == "undefined" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
|
|
5193
5200
|
}
|
|
5194
5201
|
function Ar(e, t) {
|
|
5195
|
-
const r =
|
|
5202
|
+
const r = Sn(e);
|
|
5196
5203
|
return Math.round(t * r) / r;
|
|
5197
5204
|
}
|
|
5198
|
-
function
|
|
5205
|
+
function Wr(e) {
|
|
5199
5206
|
const t = p.useRef(e);
|
|
5200
5207
|
return st(() => {
|
|
5201
5208
|
t.current = e;
|
|
@@ -5223,12 +5230,12 @@ function Ji(e) {
|
|
|
5223
5230
|
middlewareData: {},
|
|
5224
5231
|
isPositioned: !1
|
|
5225
5232
|
}), [v, d] = p.useState(n);
|
|
5226
|
-
|
|
5233
|
+
pt(v, n) || d(n);
|
|
5227
5234
|
const [h, m] = p.useState(null), [w, x] = p.useState(null), y = p.useCallback((k) => {
|
|
5228
5235
|
k !== _.current && (_.current = k, m(k));
|
|
5229
5236
|
}, []), E = p.useCallback((k) => {
|
|
5230
5237
|
k !== N.current && (N.current = k, x(k));
|
|
5231
|
-
}, []), R = a || h, z = i || w, _ = p.useRef(null), N = p.useRef(null), U = p.useRef(f), Z = c != null, q =
|
|
5238
|
+
}, []), R = a || h, z = i || w, _ = p.useRef(null), N = p.useRef(null), U = p.useRef(f), Z = c != null, q = Wr(c), V = Wr(o), H = p.useCallback(() => {
|
|
5232
5239
|
if (!_.current || !N.current)
|
|
5233
5240
|
return;
|
|
5234
5241
|
const k = {
|
|
@@ -5240,7 +5247,7 @@ function Ji(e) {
|
|
|
5240
5247
|
const j = $(L({}, M), {
|
|
5241
5248
|
isPositioned: !0
|
|
5242
5249
|
});
|
|
5243
|
-
Y.current && !
|
|
5250
|
+
Y.current && !pt(U.current, j) && (U.current = j, Yr.flushSync(() => {
|
|
5244
5251
|
g(j);
|
|
5245
5252
|
}));
|
|
5246
5253
|
});
|
|
@@ -5279,7 +5286,7 @@ function Ji(e) {
|
|
|
5279
5286
|
const M = Ar(T.floating, f.x), j = Ar(T.floating, f.y);
|
|
5280
5287
|
return l ? L($(L({}, k), {
|
|
5281
5288
|
transform: "translate(" + M + "px, " + j + "px)"
|
|
5282
|
-
}),
|
|
5289
|
+
}), Sn(T.floating) >= 1.5 && {
|
|
5283
5290
|
willChange: "transform"
|
|
5284
5291
|
}) : {
|
|
5285
5292
|
position: r,
|
|
@@ -5296,13 +5303,13 @@ function Ji(e) {
|
|
|
5296
5303
|
}
|
|
5297
5304
|
const Aa = (e, t) => $(L({}, Ui(e)), {
|
|
5298
5305
|
options: [e, t]
|
|
5299
|
-
}),
|
|
5306
|
+
}), Wa = (e, t) => $(L({}, qi(e)), {
|
|
5300
5307
|
options: [e, t]
|
|
5301
|
-
}),
|
|
5308
|
+
}), Oa = (e, t) => $(L({}, Yi(e)), {
|
|
5302
5309
|
options: [e, t]
|
|
5303
5310
|
}), Fa = (e, t) => $(L({}, Ki(e)), {
|
|
5304
5311
|
options: [e, t]
|
|
5305
|
-
}),
|
|
5312
|
+
}), Cn = L({}, p), Zi = Cn.useInsertionEffect, Qi = Zi || ((e) => e());
|
|
5306
5313
|
function we(e) {
|
|
5307
5314
|
const t = p.useRef(() => {
|
|
5308
5315
|
if (process.env.NODE_ENV !== "production")
|
|
@@ -5317,40 +5324,40 @@ function we(e) {
|
|
|
5317
5324
|
}, []);
|
|
5318
5325
|
}
|
|
5319
5326
|
var ue = typeof document != "undefined" ? qr : Je;
|
|
5320
|
-
function
|
|
5321
|
-
return
|
|
5327
|
+
function Gt() {
|
|
5328
|
+
return Gt = Object.assign ? Object.assign.bind() : function(e) {
|
|
5322
5329
|
for (var t = 1; t < arguments.length; t++) {
|
|
5323
5330
|
var r = arguments[t];
|
|
5324
5331
|
for (var n in r)
|
|
5325
5332
|
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
5326
5333
|
}
|
|
5327
5334
|
return e;
|
|
5328
|
-
},
|
|
5335
|
+
}, Gt.apply(this, arguments);
|
|
5329
5336
|
}
|
|
5330
|
-
let
|
|
5337
|
+
let Or = !1, ea = 0;
|
|
5331
5338
|
const Fr = () => (
|
|
5332
5339
|
// Ensure the id is unique with multiple independent versions of Floating UI
|
|
5333
5340
|
// on <React 18
|
|
5334
5341
|
"floating-ui-" + Math.random().toString(36).slice(2, 6) + ea++
|
|
5335
5342
|
);
|
|
5336
5343
|
function ta() {
|
|
5337
|
-
const [e, t] = p.useState(() =>
|
|
5344
|
+
const [e, t] = p.useState(() => Or ? Fr() : void 0);
|
|
5338
5345
|
return ue(() => {
|
|
5339
5346
|
e == null && t(Fr());
|
|
5340
5347
|
}, []), p.useEffect(() => {
|
|
5341
|
-
|
|
5348
|
+
Or = !0;
|
|
5342
5349
|
}, []), e;
|
|
5343
5350
|
}
|
|
5344
|
-
const ra =
|
|
5345
|
-
let
|
|
5346
|
-
process.env.NODE_ENV !== "production" && (
|
|
5351
|
+
const ra = Cn.useId, er = ra || ta;
|
|
5352
|
+
let Ut;
|
|
5353
|
+
process.env.NODE_ENV !== "production" && (Ut = /* @__PURE__ */ new Set());
|
|
5347
5354
|
function na() {
|
|
5348
5355
|
for (var e, t = arguments.length, r = new Array(t), n = 0; n < t; n++)
|
|
5349
5356
|
r[n] = arguments[n];
|
|
5350
5357
|
const o = "Floating UI: " + r.join(" ");
|
|
5351
|
-
if (!((e =
|
|
5358
|
+
if (!((e = Ut) != null && e.has(o))) {
|
|
5352
5359
|
var a;
|
|
5353
|
-
(a =
|
|
5360
|
+
(a = Ut) == null || a.add(o), console.error(o);
|
|
5354
5361
|
}
|
|
5355
5362
|
}
|
|
5356
5363
|
function oa() {
|
|
@@ -5376,17 +5383,17 @@ const ia = /* @__PURE__ */ p.createContext(null), aa = /* @__PURE__ */ p.createC
|
|
|
5376
5383
|
function tt(e) {
|
|
5377
5384
|
return "data-floating-ui-" + e;
|
|
5378
5385
|
}
|
|
5379
|
-
function
|
|
5380
|
-
const t =
|
|
5386
|
+
function Mt(e) {
|
|
5387
|
+
const t = oo(e);
|
|
5381
5388
|
return ue(() => {
|
|
5382
5389
|
t.current = e;
|
|
5383
5390
|
}), t;
|
|
5384
5391
|
}
|
|
5385
|
-
const
|
|
5386
|
-
function
|
|
5392
|
+
const Br = /* @__PURE__ */ tt("safe-polygon");
|
|
5393
|
+
function Pt(e, t, r) {
|
|
5387
5394
|
return r && !Ke(r) ? 0 : typeof e == "number" ? e : e == null ? void 0 : e[t];
|
|
5388
5395
|
}
|
|
5389
|
-
function
|
|
5396
|
+
function Ba(e, t) {
|
|
5390
5397
|
t === void 0 && (t = {});
|
|
5391
5398
|
const {
|
|
5392
5399
|
open: r,
|
|
@@ -5401,7 +5408,7 @@ function Da(e, t) {
|
|
|
5401
5408
|
mouseOnly: f = !1,
|
|
5402
5409
|
restMs: g = 0,
|
|
5403
5410
|
move: v = !0
|
|
5404
|
-
} = t, d = rr(), h = tr(), m =
|
|
5411
|
+
} = t, d = rr(), h = tr(), m = Mt(u), w = Mt(c), x = Mt(r), y = p.useRef(), E = p.useRef(-1), R = p.useRef(), z = p.useRef(-1), _ = p.useRef(!0), N = p.useRef(!1), U = p.useRef(() => {
|
|
5405
5412
|
}), Z = p.useCallback(() => {
|
|
5406
5413
|
var T;
|
|
5407
5414
|
const C = (T = o.current.openEvent) == null ? void 0 : T.type;
|
|
@@ -5430,14 +5437,14 @@ function Da(e, t) {
|
|
|
5430
5437
|
}, [i.floating, r, n, l, m, Z]);
|
|
5431
5438
|
const q = p.useCallback(function(T, C, k) {
|
|
5432
5439
|
C === void 0 && (C = !0), k === void 0 && (k = "hover");
|
|
5433
|
-
const M =
|
|
5440
|
+
const M = Pt(w.current, "close", y.current);
|
|
5434
5441
|
M && !R.current ? (clearTimeout(E.current), E.current = window.setTimeout(() => n(!1, T, k), M)) : C && (clearTimeout(E.current), n(!1, T, k));
|
|
5435
5442
|
}, [w, n]), V = we(() => {
|
|
5436
5443
|
U.current(), R.current = void 0;
|
|
5437
5444
|
}), H = we(() => {
|
|
5438
5445
|
if (N.current) {
|
|
5439
5446
|
const T = Re(i.floating).body;
|
|
5440
|
-
T.style.pointerEvents = "", T.removeAttribute(
|
|
5447
|
+
T.style.pointerEvents = "", T.removeAttribute(Br), N.current = !1;
|
|
5441
5448
|
}
|
|
5442
5449
|
});
|
|
5443
5450
|
p.useEffect(() => {
|
|
@@ -5445,65 +5452,65 @@ function Da(e, t) {
|
|
|
5445
5452
|
function T() {
|
|
5446
5453
|
return o.current.openEvent ? ["click", "mousedown"].includes(o.current.openEvent.type) : !1;
|
|
5447
5454
|
}
|
|
5448
|
-
function C(
|
|
5449
|
-
if (clearTimeout(E.current), _.current = !1, f && !Ke(y.current) || g > 0 && !
|
|
5455
|
+
function C(W) {
|
|
5456
|
+
if (clearTimeout(E.current), _.current = !1, f && !Ke(y.current) || g > 0 && !Pt(w.current, "open"))
|
|
5450
5457
|
return;
|
|
5451
|
-
const
|
|
5452
|
-
|
|
5453
|
-
x.current || n(!0,
|
|
5454
|
-
},
|
|
5458
|
+
const B = Pt(w.current, "open", y.current);
|
|
5459
|
+
B ? E.current = window.setTimeout(() => {
|
|
5460
|
+
x.current || n(!0, W, "hover");
|
|
5461
|
+
}, B) : n(!0, W, "hover");
|
|
5455
5462
|
}
|
|
5456
|
-
function k(
|
|
5463
|
+
function k(W) {
|
|
5457
5464
|
if (T()) return;
|
|
5458
5465
|
U.current();
|
|
5459
|
-
const
|
|
5466
|
+
const B = Re(i.floating);
|
|
5460
5467
|
if (clearTimeout(z.current), m.current && o.current.floatingContext) {
|
|
5461
5468
|
r || clearTimeout(E.current), R.current = m.current($(L({}, o.current.floatingContext), {
|
|
5462
5469
|
tree: d,
|
|
5463
|
-
x:
|
|
5464
|
-
y:
|
|
5470
|
+
x: W.clientX,
|
|
5471
|
+
y: W.clientY,
|
|
5465
5472
|
onClose() {
|
|
5466
|
-
H(), V(), q(
|
|
5473
|
+
H(), V(), q(W, !0, "safe-polygon");
|
|
5467
5474
|
}
|
|
5468
5475
|
}));
|
|
5469
5476
|
const Le = R.current;
|
|
5470
|
-
|
|
5471
|
-
|
|
5477
|
+
B.addEventListener("mousemove", Le), U.current = () => {
|
|
5478
|
+
B.removeEventListener("mousemove", Le);
|
|
5472
5479
|
};
|
|
5473
5480
|
return;
|
|
5474
5481
|
}
|
|
5475
|
-
(y.current === "touch" ? !
|
|
5482
|
+
(y.current === "touch" ? !Be(i.floating, W.relatedTarget) : !0) && q(W);
|
|
5476
5483
|
}
|
|
5477
|
-
function M(
|
|
5484
|
+
function M(W) {
|
|
5478
5485
|
T() || o.current.floatingContext && (m.current == null || m.current($(L({}, o.current.floatingContext), {
|
|
5479
5486
|
tree: d,
|
|
5480
|
-
x:
|
|
5481
|
-
y:
|
|
5487
|
+
x: W.clientX,
|
|
5488
|
+
y: W.clientY,
|
|
5482
5489
|
onClose() {
|
|
5483
|
-
H(), V(), q(
|
|
5490
|
+
H(), V(), q(W);
|
|
5484
5491
|
}
|
|
5485
|
-
}))(
|
|
5492
|
+
}))(W));
|
|
5486
5493
|
}
|
|
5487
5494
|
if (X(i.domReference)) {
|
|
5488
5495
|
var j;
|
|
5489
|
-
const
|
|
5490
|
-
return r &&
|
|
5496
|
+
const W = i.domReference;
|
|
5497
|
+
return r && W.addEventListener("mouseleave", M), (j = i.floating) == null || j.addEventListener("mouseleave", M), v && W.addEventListener("mousemove", C, {
|
|
5491
5498
|
once: !0
|
|
5492
|
-
}),
|
|
5493
|
-
var
|
|
5494
|
-
r &&
|
|
5499
|
+
}), W.addEventListener("mouseenter", C), W.addEventListener("mouseleave", k), () => {
|
|
5500
|
+
var B;
|
|
5501
|
+
r && W.removeEventListener("mouseleave", M), (B = i.floating) == null || B.removeEventListener("mouseleave", M), v && W.removeEventListener("mousemove", C), W.removeEventListener("mouseenter", C), W.removeEventListener("mouseleave", k);
|
|
5495
5502
|
};
|
|
5496
5503
|
}
|
|
5497
5504
|
}, [i, l, e, f, g, v, q, V, H, n, r, x, d, w, m, o]), ue(() => {
|
|
5498
5505
|
var T;
|
|
5499
5506
|
if (l && r && (T = m.current) != null && T.__options.blockPointerEvents && Z()) {
|
|
5500
5507
|
const k = Re(i.floating).body;
|
|
5501
|
-
k.setAttribute(
|
|
5508
|
+
k.setAttribute(Br, ""), k.style.pointerEvents = "none", N.current = !0;
|
|
5502
5509
|
const M = i.floating;
|
|
5503
5510
|
if (X(i.domReference) && M) {
|
|
5504
5511
|
var C;
|
|
5505
|
-
const j = i.domReference,
|
|
5506
|
-
return
|
|
5512
|
+
const j = i.domReference, W = d == null || (C = d.nodesRef.current.find((B) => B.id === h)) == null || (C = C.context) == null ? void 0 : C.elements.floating;
|
|
5513
|
+
return W && (W.style.pointerEvents = ""), j.style.pointerEvents = "auto", M.style.pointerEvents = "auto", () => {
|
|
5507
5514
|
j.style.pointerEvents = "", M.style.pointerEvents = "";
|
|
5508
5515
|
};
|
|
5509
5516
|
}
|
|
@@ -5543,7 +5550,7 @@ function Da(e, t) {
|
|
|
5543
5550
|
floating: A
|
|
5544
5551
|
} : {}, [l, Y, A]);
|
|
5545
5552
|
}
|
|
5546
|
-
function
|
|
5553
|
+
function _t(e, t) {
|
|
5547
5554
|
let r = e.filter((o) => {
|
|
5548
5555
|
var a;
|
|
5549
5556
|
return o.parentId === t && ((a = o.context) == null ? void 0 : a.open);
|
|
@@ -5558,7 +5565,7 @@ function Pt(e, t) {
|
|
|
5558
5565
|
}), r = r.concat(n);
|
|
5559
5566
|
return r;
|
|
5560
5567
|
}
|
|
5561
|
-
const
|
|
5568
|
+
const Tn = () => ({
|
|
5562
5569
|
getShadowRoot: !0,
|
|
5563
5570
|
displayCheck: (
|
|
5564
5571
|
// JSDOM does not support the `tabbable` library. To solve this we can
|
|
@@ -5567,24 +5574,24 @@ const Cn = () => ({
|
|
|
5567
5574
|
typeof ResizeObserver == "function" && ResizeObserver.toString().includes("[native code]") ? "full" : "none"
|
|
5568
5575
|
)
|
|
5569
5576
|
});
|
|
5570
|
-
function
|
|
5571
|
-
const r =
|
|
5577
|
+
function kn(e, t) {
|
|
5578
|
+
const r = bn(e, Tn());
|
|
5572
5579
|
t === "prev" && r.reverse();
|
|
5573
|
-
const n = r.indexOf(
|
|
5580
|
+
const n = r.indexOf(Nt(Re(e)));
|
|
5574
5581
|
return r.slice(n + 1)[0];
|
|
5575
5582
|
}
|
|
5576
5583
|
function la() {
|
|
5577
|
-
return
|
|
5584
|
+
return kn(document.body, "next");
|
|
5578
5585
|
}
|
|
5579
5586
|
function sa() {
|
|
5580
|
-
return
|
|
5587
|
+
return kn(document.body, "prev");
|
|
5581
5588
|
}
|
|
5582
|
-
function
|
|
5589
|
+
function Ht(e, t) {
|
|
5583
5590
|
const r = t || e.currentTarget, n = e.relatedTarget;
|
|
5584
|
-
return !n || !
|
|
5591
|
+
return !n || !Be(r, n);
|
|
5585
5592
|
}
|
|
5586
5593
|
function ca(e) {
|
|
5587
|
-
|
|
5594
|
+
bn(e, Tn()).forEach((r) => {
|
|
5588
5595
|
r.dataset.tabindex = r.getAttribute("tabindex") || "", r.setAttribute("tabindex", "-1");
|
|
5589
5596
|
});
|
|
5590
5597
|
}
|
|
@@ -5594,7 +5601,7 @@ function ua(e) {
|
|
|
5594
5601
|
delete r.dataset.tabindex, n ? r.setAttribute("tabindex", n) : r.removeAttribute("tabindex");
|
|
5595
5602
|
});
|
|
5596
5603
|
}
|
|
5597
|
-
const
|
|
5604
|
+
const Ln = {
|
|
5598
5605
|
border: 0,
|
|
5599
5606
|
clip: "rect(0 0 0 0)",
|
|
5600
5607
|
height: "1px",
|
|
@@ -5608,13 +5615,13 @@ const kn = {
|
|
|
5608
5615
|
left: 0
|
|
5609
5616
|
};
|
|
5610
5617
|
let da;
|
|
5611
|
-
function
|
|
5618
|
+
function Dr(e) {
|
|
5612
5619
|
e.key === "Tab" && (e.target, clearTimeout(da));
|
|
5613
5620
|
}
|
|
5614
5621
|
const Ir = /* @__PURE__ */ p.forwardRef(function(t, r) {
|
|
5615
5622
|
const [n, o] = p.useState();
|
|
5616
|
-
ue(() => (
|
|
5617
|
-
document.removeEventListener("keydown",
|
|
5623
|
+
ue(() => (cn() && o("button"), document.addEventListener("keydown", Dr), () => {
|
|
5624
|
+
document.removeEventListener("keydown", Dr);
|
|
5618
5625
|
}), []);
|
|
5619
5626
|
const a = {
|
|
5620
5627
|
ref: r,
|
|
@@ -5623,10 +5630,10 @@ const Ir = /* @__PURE__ */ p.forwardRef(function(t, r) {
|
|
|
5623
5630
|
role: n,
|
|
5624
5631
|
"aria-hidden": n ? void 0 : !0,
|
|
5625
5632
|
[tt("focus-guard")]: "",
|
|
5626
|
-
style:
|
|
5633
|
+
style: Ln
|
|
5627
5634
|
};
|
|
5628
|
-
return /* @__PURE__ */ p.createElement("span",
|
|
5629
|
-
}),
|
|
5635
|
+
return /* @__PURE__ */ p.createElement("span", Gt({}, t, a));
|
|
5636
|
+
}), zn = /* @__PURE__ */ p.createContext(null), jr = /* @__PURE__ */ tt("portal");
|
|
5630
5637
|
function fa(e) {
|
|
5631
5638
|
e === void 0 && (e = {});
|
|
5632
5639
|
const {
|
|
@@ -5653,7 +5660,7 @@ function fa(e) {
|
|
|
5653
5660
|
f.id = n, f.setAttribute(jr, ""), c = u || c, c.appendChild(f), l.current = f, i(f);
|
|
5654
5661
|
}, [t, r, n, o]), a;
|
|
5655
5662
|
}
|
|
5656
|
-
function
|
|
5663
|
+
function Da(e) {
|
|
5657
5664
|
const {
|
|
5658
5665
|
children: t,
|
|
5659
5666
|
id: r,
|
|
@@ -5673,12 +5680,12 @@ function Ba(e) {
|
|
|
5673
5680
|
if (!a || !o || i != null && i.modal)
|
|
5674
5681
|
return;
|
|
5675
5682
|
function d(h) {
|
|
5676
|
-
a &&
|
|
5683
|
+
a && Ht(h) && (h.type === "focusin" ? ua : ca)(a);
|
|
5677
5684
|
}
|
|
5678
5685
|
return a.addEventListener("focusin", d, !0), a.addEventListener("focusout", d, !0), () => {
|
|
5679
5686
|
a.removeEventListener("focusin", d, !0), a.removeEventListener("focusout", d, !0);
|
|
5680
5687
|
};
|
|
5681
|
-
}, [a, o, i == null ? void 0 : i.modal]), /* @__PURE__ */ p.createElement(
|
|
5688
|
+
}, [a, o, i == null ? void 0 : i.modal]), /* @__PURE__ */ p.createElement(zn.Provider, {
|
|
5682
5689
|
value: p.useMemo(() => ({
|
|
5683
5690
|
preserveTabOrder: o,
|
|
5684
5691
|
beforeOutsideRef: c,
|
|
@@ -5692,7 +5699,7 @@ function Ba(e) {
|
|
|
5692
5699
|
"data-type": "outside",
|
|
5693
5700
|
ref: c,
|
|
5694
5701
|
onFocus: (d) => {
|
|
5695
|
-
if (
|
|
5702
|
+
if (Ht(d, a)) {
|
|
5696
5703
|
var h;
|
|
5697
5704
|
(h = f.current) == null || h.focus();
|
|
5698
5705
|
} else {
|
|
@@ -5702,12 +5709,12 @@ function Ba(e) {
|
|
|
5702
5709
|
}
|
|
5703
5710
|
}), v && a && /* @__PURE__ */ p.createElement("span", {
|
|
5704
5711
|
"aria-owns": a.id,
|
|
5705
|
-
style:
|
|
5712
|
+
style: Ln
|
|
5706
5713
|
}), a && /* @__PURE__ */ Yr.createPortal(t, a), v && a && /* @__PURE__ */ p.createElement(Ir, {
|
|
5707
5714
|
"data-type": "outside",
|
|
5708
5715
|
ref: u,
|
|
5709
5716
|
onFocus: (d) => {
|
|
5710
|
-
if (
|
|
5717
|
+
if (Ht(d, a)) {
|
|
5711
5718
|
var h;
|
|
5712
5719
|
(h = g.current) == null || h.focus();
|
|
5713
5720
|
} else {
|
|
@@ -5717,12 +5724,12 @@ function Ba(e) {
|
|
|
5717
5724
|
}
|
|
5718
5725
|
}));
|
|
5719
5726
|
}
|
|
5720
|
-
const ga = () => p.useContext(
|
|
5727
|
+
const ga = () => p.useContext(zn);
|
|
5721
5728
|
function Nr(e) {
|
|
5722
5729
|
return ie(e.target) && e.target.tagName === "BUTTON";
|
|
5723
5730
|
}
|
|
5724
5731
|
function $r(e) {
|
|
5725
|
-
return
|
|
5732
|
+
return un(e);
|
|
5726
5733
|
}
|
|
5727
5734
|
function Ia(e, t) {
|
|
5728
5735
|
t === void 0 && (t = {});
|
|
@@ -5808,12 +5815,12 @@ function ja(e, t) {
|
|
|
5808
5815
|
var T;
|
|
5809
5816
|
if (!r || !i || !l || A.key !== "Escape")
|
|
5810
5817
|
return;
|
|
5811
|
-
const C = (T = a.current.floatingContext) == null ? void 0 : T.nodeId, k = m ?
|
|
5818
|
+
const C = (T = a.current.floatingContext) == null ? void 0 : T.nodeId, k = m ? _t(m.nodesRef.current, C) : [];
|
|
5812
5819
|
if (!R && (A.stopPropagation(), k.length > 0)) {
|
|
5813
5820
|
let M = !0;
|
|
5814
5821
|
if (k.forEach((j) => {
|
|
5815
|
-
var
|
|
5816
|
-
if ((
|
|
5822
|
+
var W;
|
|
5823
|
+
if ((W = j.context) != null && W.open && !j.context.dataRef.current.__escapeKeyBubbles) {
|
|
5817
5824
|
M = !1;
|
|
5818
5825
|
return;
|
|
5819
5826
|
}
|
|
@@ -5835,18 +5842,18 @@ function ja(e, t) {
|
|
|
5835
5842
|
const k = E.current;
|
|
5836
5843
|
if (E.current = !1, u === "click" && k || C || typeof x == "function" && !x(A))
|
|
5837
5844
|
return;
|
|
5838
|
-
const M = Ae(A), j = "[" + tt("inert") + "]",
|
|
5839
|
-
let
|
|
5840
|
-
for (;
|
|
5841
|
-
const re = pe(
|
|
5845
|
+
const M = Ae(A), j = "[" + tt("inert") + "]", W = Re(o.floating).querySelectorAll(j);
|
|
5846
|
+
let B = X(M) ? M : null;
|
|
5847
|
+
for (; B && !Ce(B); ) {
|
|
5848
|
+
const re = pe(B);
|
|
5842
5849
|
if (Ce(re) || !X(re))
|
|
5843
5850
|
break;
|
|
5844
|
-
|
|
5851
|
+
B = re;
|
|
5845
5852
|
}
|
|
5846
|
-
if (
|
|
5847
|
-
!
|
|
5853
|
+
if (W.length && X(M) && !Jo(M) && // Clicked on a direct ancestor (e.g. FloatingOverlay).
|
|
5854
|
+
!Be(M, o.floating) && // If the target root element contains none of the markers, then the
|
|
5848
5855
|
// element was injected after the floating element rendered.
|
|
5849
|
-
Array.from(
|
|
5856
|
+
Array.from(W).every((re) => !Be(B, re)))
|
|
5850
5857
|
return;
|
|
5851
5858
|
if (ie(M) && Y) {
|
|
5852
5859
|
const re = M.clientWidth > 0 && M.scrollWidth > M.clientWidth, le = M.clientHeight > 0 && M.scrollHeight > M.clientHeight;
|
|
@@ -5854,13 +5861,13 @@ function ja(e, t) {
|
|
|
5854
5861
|
if (le && ce(M).direction === "rtl" && (de = A.offsetX <= M.offsetWidth - M.clientWidth), de || re && A.offsetY > M.clientHeight)
|
|
5855
5862
|
return;
|
|
5856
5863
|
}
|
|
5857
|
-
const be = (T = a.current.floatingContext) == null ? void 0 : T.nodeId, Le = m &&
|
|
5864
|
+
const be = (T = a.current.floatingContext) == null ? void 0 : T.nodeId, Le = m && _t(m.nodesRef.current, be).some((re) => {
|
|
5858
5865
|
var le;
|
|
5859
|
-
return
|
|
5866
|
+
return Lt(A, (le = re.context) == null ? void 0 : le.elements.floating);
|
|
5860
5867
|
});
|
|
5861
|
-
if (
|
|
5868
|
+
if (Lt(A, o.floating) || Lt(A, o.domReference) || Le)
|
|
5862
5869
|
return;
|
|
5863
|
-
const rt = m ?
|
|
5870
|
+
const rt = m ? _t(m.nodesRef.current, be) : [];
|
|
5864
5871
|
if (rt.length > 0) {
|
|
5865
5872
|
let re = !0;
|
|
5866
5873
|
if (rt.forEach((le) => {
|
|
@@ -6027,7 +6034,7 @@ function $a(e, t) {
|
|
|
6027
6034
|
if (!l) return;
|
|
6028
6035
|
const d = oe(i.domReference);
|
|
6029
6036
|
function h() {
|
|
6030
|
-
!r && ie(i.domReference) && i.domReference ===
|
|
6037
|
+
!r && ie(i.domReference) && i.domReference === Nt(Re(i.domReference)) && (u.current = !0);
|
|
6031
6038
|
}
|
|
6032
6039
|
function m() {
|
|
6033
6040
|
g.current = !0;
|
|
@@ -6061,10 +6068,10 @@ function $a(e, t) {
|
|
|
6061
6068
|
const h = Ae(d.nativeEvent);
|
|
6062
6069
|
if (c && X(h))
|
|
6063
6070
|
try {
|
|
6064
|
-
if (
|
|
6071
|
+
if (cn() && Yo()) throw Error();
|
|
6065
6072
|
if (!h.matches(":focus-visible")) return;
|
|
6066
6073
|
} catch (m) {
|
|
6067
|
-
if (!g.current && !
|
|
6074
|
+
if (!g.current && !un(h))
|
|
6068
6075
|
return;
|
|
6069
6076
|
}
|
|
6070
6077
|
n(!0, d.nativeEvent, "focus");
|
|
@@ -6074,8 +6081,8 @@ function $a(e, t) {
|
|
|
6074
6081
|
const h = d.relatedTarget, m = d.nativeEvent, w = X(h) && h.hasAttribute(tt("focus-guard")) && h.getAttribute("data-type") === "outside";
|
|
6075
6082
|
f.current = window.setTimeout(() => {
|
|
6076
6083
|
var x;
|
|
6077
|
-
const y =
|
|
6078
|
-
!h && y === i.domReference ||
|
|
6084
|
+
const y = Nt(i.domReference ? i.domReference.ownerDocument : document);
|
|
6085
|
+
!h && y === i.domReference || Be((x = a.current.floatingContext) == null ? void 0 : x.refs.floating.current, y) || Be(i.domReference, y) || w || n(!1, m, "focus");
|
|
6079
6086
|
});
|
|
6080
6087
|
}
|
|
6081
6088
|
}), [a, i.domReference, n, c]);
|
|
@@ -6083,18 +6090,18 @@ function $a(e, t) {
|
|
|
6083
6090
|
reference: v
|
|
6084
6091
|
} : {}, [l, v]);
|
|
6085
6092
|
}
|
|
6086
|
-
const
|
|
6093
|
+
const At = "active", Wt = "selected";
|
|
6087
6094
|
function Ot(e, t, r) {
|
|
6088
6095
|
const n = /* @__PURE__ */ new Map(), o = r === "item";
|
|
6089
6096
|
let a = e;
|
|
6090
6097
|
if (o && e) {
|
|
6091
6098
|
const i = e, {
|
|
6092
|
-
[
|
|
6093
|
-
[
|
|
6099
|
+
[At]: l,
|
|
6100
|
+
[Wt]: c
|
|
6094
6101
|
} = i;
|
|
6095
6102
|
a = fe(i, [
|
|
6096
|
-
|
|
6097
|
-
|
|
6103
|
+
Ct(At),
|
|
6104
|
+
Ct(Wt)
|
|
6098
6105
|
]);
|
|
6099
6106
|
}
|
|
6100
6107
|
return L(L(L({}, r === "floating" && {
|
|
@@ -6104,7 +6111,7 @@ function Ot(e, t, r) {
|
|
|
6104
6111
|
return typeof c == "function" ? e ? c(e) : null : c;
|
|
6105
6112
|
}).concat(e).reduce((l, c) => (c && Object.entries(c).forEach((u) => {
|
|
6106
6113
|
let [f, g] = u;
|
|
6107
|
-
if (!(o && [
|
|
6114
|
+
if (!(o && [At, Wt].includes(f)))
|
|
6108
6115
|
if (f.indexOf("on") === 0) {
|
|
6109
6116
|
if (n.has(f) || n.set(f, []), typeof g == "function") {
|
|
6110
6117
|
var v;
|
|
@@ -6208,7 +6215,7 @@ const ba = {
|
|
|
6208
6215
|
slideLeft: "slideRight",
|
|
6209
6216
|
slideRight: "slideLeft",
|
|
6210
6217
|
fadeIn: "fadeOut"
|
|
6211
|
-
}, xa =
|
|
6218
|
+
}, xa = Yt((e, t) => {
|
|
6212
6219
|
const h = e, {
|
|
6213
6220
|
show: r,
|
|
6214
6221
|
handleClose: n,
|
|
@@ -6274,15 +6281,15 @@ const ba = {
|
|
|
6274
6281
|
]
|
|
6275
6282
|
})
|
|
6276
6283
|
);
|
|
6277
|
-
return
|
|
6284
|
+
return io(w, document.body);
|
|
6278
6285
|
} else
|
|
6279
6286
|
return null;
|
|
6280
6287
|
});
|
|
6281
6288
|
xa.displayName = "AnimatedModal";
|
|
6282
6289
|
const ya = Number(
|
|
6283
|
-
|
|
6290
|
+
ut.theme.screens["ds-tablet"].min.replace("px", "")
|
|
6284
6291
|
), wa = Number(
|
|
6285
|
-
|
|
6292
|
+
ut.theme.screens["ds-desktop"].min.replace("px", "")
|
|
6286
6293
|
), Gr = (e) => e < ya ? "mobile" : e < wa ? "tablet" : "desktop", Ua = () => {
|
|
6287
6294
|
const [e, t] = Ye(document.documentElement.clientWidth), [r, n] = Ye(document.documentElement.clientHeight), [o, a] = Ye(Gr(document.documentElement.clientWidth));
|
|
6288
6295
|
return Je(() => {
|
|
@@ -6293,7 +6300,7 @@ const ya = Number(
|
|
|
6293
6300
|
window.removeEventListener("resize", i);
|
|
6294
6301
|
};
|
|
6295
6302
|
}, []), { documentWidth: e, documentHeight: r, screenSize: o };
|
|
6296
|
-
}, Ra =
|
|
6303
|
+
}, Ra = Yt(
|
|
6297
6304
|
({ label: e, isChecked: t, onSelectionChange: r, disabled: n, className: o, labelPosition: a = "right" }, i) => /* @__PURE__ */ P.jsxs(
|
|
6298
6305
|
"label",
|
|
6299
6306
|
{
|
|
@@ -6345,7 +6352,7 @@ const Ur = ({ children: e, size: t = "small" }) => /* @__PURE__ */ P.jsx(
|
|
|
6345
6352
|
}, Sa = {
|
|
6346
6353
|
primary: "ds-rounded-sm ds-border ds-text-black ds-border-Fills-terciary ds-bg-[#F6F8FC] ds-shadow-[0px_1px_4px_0px_rgba(0,0,0,0.16)] ds-text-mediumFootnoteEmphasized",
|
|
6347
6354
|
secondary: "ds-rounded-sm ds-bg-Background-accentEggplant-100 ds-text-Text-textPrimaryDark ds-shadow-[0px_1px_4px_0px_rgba(0,0,0,0.16)] ds-text-mediumFootnoteEmphasized"
|
|
6348
|
-
},
|
|
6355
|
+
}, qt = Fe.forwardRef(
|
|
6349
6356
|
(d, v) => {
|
|
6350
6357
|
var h = d, {
|
|
6351
6358
|
color: e = "primary",
|
|
@@ -6408,8 +6415,8 @@ const Ur = ({ children: e, size: t = "small" }) => /* @__PURE__ */ P.jsx(
|
|
|
6408
6415
|
] });
|
|
6409
6416
|
}
|
|
6410
6417
|
);
|
|
6411
|
-
|
|
6412
|
-
const Ca =
|
|
6418
|
+
qt.displayName = "Button";
|
|
6419
|
+
const Ca = Yt(
|
|
6413
6420
|
(e, t) => {
|
|
6414
6421
|
const E = e, {
|
|
6415
6422
|
value: r,
|
|
@@ -6458,7 +6465,7 @@ const Ca = qt(
|
|
|
6458
6465
|
{
|
|
6459
6466
|
className: me("ds-flex ds-flex-wrap ds-items-center ds-gap-2", f),
|
|
6460
6467
|
children: n.length > 0 ? n.map((R, z) => R.type === "separator" ? /* @__PURE__ */ P.jsx(Fe.Fragment, { children: R.component ? R.component : /* @__PURE__ */ P.jsx("div", { className: "ds-h-full ds-min-h-[30px] ds-w-[1px] ds-bg-Fills-terciary" }) }, `separator-${z}`) : /* @__PURE__ */ P.jsx(Fe.Fragment, { children: a ? /* @__PURE__ */ P.jsx(
|
|
6461
|
-
|
|
6468
|
+
qt,
|
|
6462
6469
|
{
|
|
6463
6470
|
selected: d.some((_) => _.value === R.value),
|
|
6464
6471
|
onClick: (_) => x(R, _),
|
|
@@ -6470,7 +6477,7 @@ const Ca = qt(
|
|
|
6470
6477
|
children: R.label
|
|
6471
6478
|
}
|
|
6472
6479
|
) : /* @__PURE__ */ P.jsx(
|
|
6473
|
-
|
|
6480
|
+
qt,
|
|
6474
6481
|
{
|
|
6475
6482
|
selected: d.some((_) => _.value === R.value),
|
|
6476
6483
|
onClick: (_) => y(R, _),
|
|
@@ -6495,17 +6502,17 @@ export {
|
|
|
6495
6502
|
xa as A,
|
|
6496
6503
|
Cr as B,
|
|
6497
6504
|
Ma as C,
|
|
6498
|
-
|
|
6499
|
-
|
|
6505
|
+
Gr as D,
|
|
6506
|
+
Da as F,
|
|
6500
6507
|
me as a,
|
|
6501
|
-
|
|
6508
|
+
Ba as b,
|
|
6502
6509
|
tn as c,
|
|
6503
6510
|
$a as d,
|
|
6504
6511
|
ja as e,
|
|
6505
6512
|
Ga as f,
|
|
6506
6513
|
Va as g,
|
|
6507
6514
|
Ha as h,
|
|
6508
|
-
|
|
6515
|
+
Oa as i,
|
|
6509
6516
|
P as j,
|
|
6510
6517
|
Pa as k,
|
|
6511
6518
|
Vo as l,
|
|
@@ -6515,12 +6522,12 @@ export {
|
|
|
6515
6522
|
ya as p,
|
|
6516
6523
|
za as q,
|
|
6517
6524
|
Fa as r,
|
|
6518
|
-
|
|
6525
|
+
Wa as s,
|
|
6519
6526
|
ct as t,
|
|
6520
6527
|
Na as u,
|
|
6521
6528
|
Ia as v,
|
|
6522
6529
|
Ca as w,
|
|
6523
|
-
|
|
6524
|
-
|
|
6525
|
-
|
|
6530
|
+
qt as x,
|
|
6531
|
+
_a as y,
|
|
6532
|
+
wa as z
|
|
6526
6533
|
};
|