@takecasper/acuity-design-system 1.24.0 → 1.24.2
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/assets/index.css +1 -1
- package/dist/index.cjs.js +11 -11
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +10 -4
- package/dist/index.es.js +1101 -873
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import "./assets/index.css";
|
|
2
2
|
import * as or from "react";
|
|
3
|
-
import
|
|
3
|
+
import w, { useState as ge, useEffect as oe, useLayoutEffect as Bn, useRef as R, createContext as ce, useContext as re, forwardRef as Hn, Fragment as de, isValidElement as zn, cloneElement as Un, createElement as Gn, useId as yr, useMemo as ae, useSyncExternalStore as Zn, useReducer as Yn, createRef as qn, useCallback as mr } from "react";
|
|
4
4
|
import { createPortal as Ot } from "react-dom";
|
|
5
|
-
var
|
|
5
|
+
var _r = { exports: {} }, er = {};
|
|
6
6
|
/**
|
|
7
7
|
* @license React
|
|
8
8
|
* react-jsx-runtime.production.min.js
|
|
@@ -17,15 +17,15 @@ function Kn() {
|
|
|
17
17
|
if (jt)
|
|
18
18
|
return er;
|
|
19
19
|
jt = 1;
|
|
20
|
-
var e =
|
|
21
|
-
function a(l, c,
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
for (
|
|
25
|
-
t.call(c,
|
|
20
|
+
var e = w, r = Symbol.for("react.element"), n = Symbol.for("react.fragment"), t = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function a(l, c, f) {
|
|
22
|
+
var u, p = {}, m = null, b = null;
|
|
23
|
+
f !== void 0 && (m = "" + f), c.key !== void 0 && (m = "" + c.key), c.ref !== void 0 && (b = c.ref);
|
|
24
|
+
for (u in c)
|
|
25
|
+
t.call(c, u) && !o.hasOwnProperty(u) && (p[u] = c[u]);
|
|
26
26
|
if (l && l.defaultProps)
|
|
27
|
-
for (
|
|
28
|
-
p[
|
|
27
|
+
for (u in c = l.defaultProps, c)
|
|
28
|
+
p[u] === void 0 && (p[u] = c[u]);
|
|
29
29
|
return { $$typeof: r, type: l, key: m, ref: b, props: p, _owner: s.current };
|
|
30
30
|
}
|
|
31
31
|
return er.Fragment = n, er.jsx = a, er.jsxs = a, er;
|
|
@@ -40,17 +40,17 @@ var rr = {};
|
|
|
40
40
|
* This source code is licensed under the MIT license found in the
|
|
41
41
|
* LICENSE file in the root directory of this source tree.
|
|
42
42
|
*/
|
|
43
|
-
var
|
|
43
|
+
var Lt;
|
|
44
44
|
function Jn() {
|
|
45
|
-
return
|
|
46
|
-
var e =
|
|
47
|
-
function
|
|
45
|
+
return Lt || (Lt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
46
|
+
var e = w, r = Symbol.for("react.element"), n = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), b = Symbol.for("react.offscreen"), v = Symbol.iterator, C = "@@iterator";
|
|
47
|
+
function x(d) {
|
|
48
48
|
if (d === null || typeof d != "object")
|
|
49
49
|
return null;
|
|
50
|
-
var h =
|
|
50
|
+
var h = v && d[v] || d[C];
|
|
51
51
|
return typeof h == "function" ? h : null;
|
|
52
52
|
}
|
|
53
|
-
var
|
|
53
|
+
var k = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
54
54
|
function j(d) {
|
|
55
55
|
{
|
|
56
56
|
for (var h = arguments.length, g = new Array(h > 1 ? h - 1 : 0), y = 1; y < h; y++)
|
|
@@ -60,18 +60,18 @@ function Jn() {
|
|
|
60
60
|
}
|
|
61
61
|
function fe(d, h, g) {
|
|
62
62
|
{
|
|
63
|
-
var y =
|
|
63
|
+
var y = k.ReactDebugCurrentFrame, N = y.getStackAddendum();
|
|
64
64
|
N !== "" && (h += "%s", g = g.concat([N]));
|
|
65
|
-
var
|
|
66
|
-
return String(
|
|
65
|
+
var T = g.map(function(M) {
|
|
66
|
+
return String(M);
|
|
67
67
|
});
|
|
68
|
-
|
|
68
|
+
T.unshift("Warning: " + h), Function.prototype.apply.call(console[d], console, T);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
var S = !1,
|
|
71
|
+
var S = !1, Z = !1, we = !1, J = !1, Y = !1, X;
|
|
72
72
|
X = Symbol.for("react.module.reference");
|
|
73
73
|
function te(d) {
|
|
74
|
-
return !!(typeof d == "string" || typeof d == "function" || d === t || d === o ||
|
|
74
|
+
return !!(typeof d == "string" || typeof d == "function" || d === t || d === o || Y || d === s || d === f || d === u || J || d === b || S || Z || we || typeof d == "object" && d !== null && (d.$$typeof === m || d.$$typeof === p || d.$$typeof === a || d.$$typeof === l || d.$$typeof === c || // This needs to include all possible module reference object
|
|
75
75
|
// types supported by any Flight configuration anywhere since
|
|
76
76
|
// we don't know which Flight build this will end up being used
|
|
77
77
|
// with.
|
|
@@ -103,9 +103,9 @@ function Jn() {
|
|
|
103
103
|
return "Profiler";
|
|
104
104
|
case s:
|
|
105
105
|
return "StrictMode";
|
|
106
|
-
case u:
|
|
107
|
-
return "Suspense";
|
|
108
106
|
case f:
|
|
107
|
+
return "Suspense";
|
|
108
|
+
case u:
|
|
109
109
|
return "SuspenseList";
|
|
110
110
|
}
|
|
111
111
|
if (typeof d == "object")
|
|
@@ -122,10 +122,10 @@ function Jn() {
|
|
|
122
122
|
var y = d.displayName || null;
|
|
123
123
|
return y !== null ? y : O(d.type) || "Memo";
|
|
124
124
|
case m: {
|
|
125
|
-
var N = d,
|
|
125
|
+
var N = d, T = N._payload, M = N._init;
|
|
126
126
|
try {
|
|
127
|
-
return O(T
|
|
128
|
-
} catch (
|
|
127
|
+
return O(M(T));
|
|
128
|
+
} catch (E) {
|
|
129
129
|
return null;
|
|
130
130
|
}
|
|
131
131
|
}
|
|
@@ -194,24 +194,24 @@ function Jn() {
|
|
|
194
194
|
G < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
var ee =
|
|
198
|
-
function
|
|
197
|
+
var ee = k.ReactCurrentDispatcher, B;
|
|
198
|
+
function H(d, h, g) {
|
|
199
199
|
{
|
|
200
|
-
if (
|
|
200
|
+
if (B === void 0)
|
|
201
201
|
try {
|
|
202
202
|
throw Error();
|
|
203
203
|
} catch (N) {
|
|
204
204
|
var y = N.stack.trim().match(/\n( *(at )?)/);
|
|
205
|
-
|
|
205
|
+
B = y && y[1] || "";
|
|
206
206
|
}
|
|
207
207
|
return `
|
|
208
|
-
` +
|
|
208
|
+
` + B + d;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
211
|
var Je = !1, je;
|
|
212
212
|
{
|
|
213
|
-
var
|
|
214
|
-
je = new
|
|
213
|
+
var W = typeof WeakMap == "function" ? WeakMap : Map;
|
|
214
|
+
je = new W();
|
|
215
215
|
}
|
|
216
216
|
function xe(d, h) {
|
|
217
217
|
if (!d || Je)
|
|
@@ -225,69 +225,69 @@ function Jn() {
|
|
|
225
225
|
Je = !0;
|
|
226
226
|
var N = Error.prepareStackTrace;
|
|
227
227
|
Error.prepareStackTrace = void 0;
|
|
228
|
-
var
|
|
229
|
-
|
|
228
|
+
var T;
|
|
229
|
+
T = ee.current, ee.current = null, ne();
|
|
230
230
|
try {
|
|
231
231
|
if (h) {
|
|
232
|
-
var
|
|
232
|
+
var M = function() {
|
|
233
233
|
throw Error();
|
|
234
234
|
};
|
|
235
|
-
if (Object.defineProperty(
|
|
235
|
+
if (Object.defineProperty(M.prototype, "props", {
|
|
236
236
|
set: function() {
|
|
237
237
|
throw Error();
|
|
238
238
|
}
|
|
239
239
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
240
240
|
try {
|
|
241
|
-
Reflect.construct(
|
|
242
|
-
} catch (
|
|
243
|
-
y =
|
|
241
|
+
Reflect.construct(M, []);
|
|
242
|
+
} catch (Le) {
|
|
243
|
+
y = Le;
|
|
244
244
|
}
|
|
245
|
-
Reflect.construct(d, [],
|
|
245
|
+
Reflect.construct(d, [], M);
|
|
246
246
|
} else {
|
|
247
247
|
try {
|
|
248
|
-
|
|
249
|
-
} catch (
|
|
250
|
-
y =
|
|
248
|
+
M.call();
|
|
249
|
+
} catch (Le) {
|
|
250
|
+
y = Le;
|
|
251
251
|
}
|
|
252
|
-
d.call(
|
|
252
|
+
d.call(M.prototype);
|
|
253
253
|
}
|
|
254
254
|
} else {
|
|
255
255
|
try {
|
|
256
256
|
throw Error();
|
|
257
|
-
} catch (
|
|
258
|
-
y =
|
|
257
|
+
} catch (Le) {
|
|
258
|
+
y = Le;
|
|
259
259
|
}
|
|
260
260
|
d();
|
|
261
261
|
}
|
|
262
|
-
} catch (
|
|
263
|
-
if (
|
|
264
|
-
for (var
|
|
262
|
+
} catch (Le) {
|
|
263
|
+
if (Le && y && typeof Le.stack == "string") {
|
|
264
|
+
for (var E = Le.stack.split(`
|
|
265
265
|
`), q = y.stack.split(`
|
|
266
|
-
`),
|
|
266
|
+
`), _ = E.length - 1, I = q.length - 1; _ >= 1 && I >= 0 && E[_] !== q[I]; )
|
|
267
267
|
I--;
|
|
268
|
-
for (;
|
|
269
|
-
if (
|
|
270
|
-
if (
|
|
268
|
+
for (; _ >= 1 && I >= 0; _--, I--)
|
|
269
|
+
if (E[_] !== q[I]) {
|
|
270
|
+
if (_ !== 1 || I !== 1)
|
|
271
271
|
do
|
|
272
|
-
if (
|
|
272
|
+
if (_--, I--, I < 0 || E[_] !== q[I]) {
|
|
273
273
|
var le = `
|
|
274
|
-
` +
|
|
274
|
+
` + E[_].replace(" at new ", " at ");
|
|
275
275
|
return d.displayName && le.includes("<anonymous>") && (le = le.replace("<anonymous>", d.displayName)), typeof d == "function" && je.set(d, le), le;
|
|
276
276
|
}
|
|
277
|
-
while (
|
|
277
|
+
while (_ >= 1 && I >= 0);
|
|
278
278
|
break;
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
} finally {
|
|
282
|
-
Je = !1, ee.current =
|
|
282
|
+
Je = !1, ee.current = T, Ke(), Error.prepareStackTrace = N;
|
|
283
283
|
}
|
|
284
|
-
var He = d ? d.displayName || d.name : "", yt = He ?
|
|
284
|
+
var He = d ? d.displayName || d.name : "", yt = He ? H(He) : "";
|
|
285
285
|
return typeof d == "function" && je.set(d, yt), yt;
|
|
286
286
|
}
|
|
287
287
|
function Xe(d, h, g) {
|
|
288
288
|
return xe(d, !1);
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function kn(d) {
|
|
291
291
|
var h = d.prototype;
|
|
292
292
|
return !!(h && h.isReactComponent);
|
|
293
293
|
}
|
|
@@ -295,14 +295,14 @@ function Jn() {
|
|
|
295
295
|
if (d == null)
|
|
296
296
|
return "";
|
|
297
297
|
if (typeof d == "function")
|
|
298
|
-
return xe(d,
|
|
298
|
+
return xe(d, kn(d));
|
|
299
299
|
if (typeof d == "string")
|
|
300
|
-
return
|
|
300
|
+
return H(d);
|
|
301
301
|
switch (d) {
|
|
302
|
-
case u:
|
|
303
|
-
return B("Suspense");
|
|
304
302
|
case f:
|
|
305
|
-
return
|
|
303
|
+
return H("Suspense");
|
|
304
|
+
case u:
|
|
305
|
+
return H("SuspenseList");
|
|
306
306
|
}
|
|
307
307
|
if (typeof d == "object")
|
|
308
308
|
switch (d.$$typeof) {
|
|
@@ -311,16 +311,16 @@ function Jn() {
|
|
|
311
311
|
case p:
|
|
312
312
|
return fr(d.type, h, g);
|
|
313
313
|
case m: {
|
|
314
|
-
var y = d, N = y._payload,
|
|
314
|
+
var y = d, N = y._payload, T = y._init;
|
|
315
315
|
try {
|
|
316
|
-
return fr(
|
|
317
|
-
} catch (
|
|
316
|
+
return fr(T(N), h, g);
|
|
317
|
+
} catch (M) {
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
return "";
|
|
322
322
|
}
|
|
323
|
-
var pr = Object.prototype.hasOwnProperty, ut = {}, ft =
|
|
323
|
+
var pr = Object.prototype.hasOwnProperty, ut = {}, ft = k.ReactDebugCurrentFrame;
|
|
324
324
|
function hr(d) {
|
|
325
325
|
if (d) {
|
|
326
326
|
var h = d._owner, g = fr(d.type, d._source, h ? h.type : null);
|
|
@@ -328,22 +328,22 @@ function Jn() {
|
|
|
328
328
|
} else
|
|
329
329
|
ft.setExtraStackFrame(null);
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function wn(d, h, g, y, N) {
|
|
332
332
|
{
|
|
333
|
-
var
|
|
334
|
-
for (var
|
|
335
|
-
if (
|
|
336
|
-
var
|
|
333
|
+
var T = Function.call.bind(pr);
|
|
334
|
+
for (var M in d)
|
|
335
|
+
if (T(d, M)) {
|
|
336
|
+
var E = void 0;
|
|
337
337
|
try {
|
|
338
|
-
if (typeof d[
|
|
339
|
-
var q = Error((y || "React class") + ": " + g + " type `" +
|
|
338
|
+
if (typeof d[M] != "function") {
|
|
339
|
+
var q = Error((y || "React class") + ": " + g + " type `" + M + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof d[M] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
340
340
|
throw q.name = "Invariant Violation", q;
|
|
341
341
|
}
|
|
342
|
-
|
|
343
|
-
} catch (
|
|
344
|
-
|
|
342
|
+
E = d[M](h, M, y, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
343
|
+
} catch (_) {
|
|
344
|
+
E = _;
|
|
345
345
|
}
|
|
346
|
-
|
|
346
|
+
E && !(E instanceof Error) && (hr(N), j("%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).", y || "React class", g, M, typeof E), hr(null)), E instanceof Error && !(E.message in ut) && (ut[E.message] = !0, hr(N), j("Failed %s type: %s", g, E.message), hr(null));
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
}
|
|
@@ -357,7 +357,7 @@ function Jn() {
|
|
|
357
357
|
return g;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function Ln(d) {
|
|
361
361
|
try {
|
|
362
362
|
return pt(d), !1;
|
|
363
363
|
} catch (h) {
|
|
@@ -368,16 +368,16 @@ function Jn() {
|
|
|
368
368
|
return "" + d;
|
|
369
369
|
}
|
|
370
370
|
function ht(d) {
|
|
371
|
-
if (
|
|
371
|
+
if (Ln(d))
|
|
372
372
|
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", jn(d)), pt(d);
|
|
373
373
|
}
|
|
374
|
-
var Qe =
|
|
374
|
+
var Qe = k.ReactCurrentOwner, En = {
|
|
375
375
|
key: !0,
|
|
376
376
|
ref: !0,
|
|
377
377
|
__self: !0,
|
|
378
378
|
__source: !0
|
|
379
|
-
}, mt, gt,
|
|
380
|
-
|
|
379
|
+
}, mt, gt, Tr;
|
|
380
|
+
Tr = {};
|
|
381
381
|
function $n(d) {
|
|
382
382
|
if (pr.call(d, "ref")) {
|
|
383
383
|
var h = Object.getOwnPropertyDescriptor(d, "ref").get;
|
|
@@ -386,7 +386,7 @@ function Jn() {
|
|
|
386
386
|
}
|
|
387
387
|
return d.ref !== void 0;
|
|
388
388
|
}
|
|
389
|
-
function
|
|
389
|
+
function Mn(d) {
|
|
390
390
|
if (pr.call(d, "key")) {
|
|
391
391
|
var h = Object.getOwnPropertyDescriptor(d, "key").get;
|
|
392
392
|
if (h && h.isReactWarning)
|
|
@@ -397,10 +397,10 @@ function Jn() {
|
|
|
397
397
|
function Nn(d, h) {
|
|
398
398
|
if (typeof d.ref == "string" && Qe.current && h && Qe.current.stateNode !== h) {
|
|
399
399
|
var g = O(Qe.current.type);
|
|
400
|
-
|
|
400
|
+
Tr[g] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', O(Qe.current.type), d.ref), Tr[g] = !0);
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function Tn(d, h) {
|
|
404
404
|
{
|
|
405
405
|
var g = function() {
|
|
406
406
|
mt || (mt = !0, j("%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)", h));
|
|
@@ -422,54 +422,54 @@ function Jn() {
|
|
|
422
422
|
});
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
var Rn = function(d, h, g, y, N,
|
|
426
|
-
var
|
|
425
|
+
var Rn = function(d, h, g, y, N, T, M) {
|
|
426
|
+
var E = {
|
|
427
427
|
// This tag allows us to uniquely identify this as a React Element
|
|
428
428
|
$$typeof: r,
|
|
429
429
|
// Built-in properties that belong on the element
|
|
430
430
|
type: d,
|
|
431
431
|
key: h,
|
|
432
432
|
ref: g,
|
|
433
|
-
props:
|
|
433
|
+
props: M,
|
|
434
434
|
// Record the component responsible for creating this element.
|
|
435
|
-
_owner:
|
|
435
|
+
_owner: T
|
|
436
436
|
};
|
|
437
|
-
return
|
|
437
|
+
return E._store = {}, Object.defineProperty(E._store, "validated", {
|
|
438
438
|
configurable: !1,
|
|
439
439
|
enumerable: !1,
|
|
440
440
|
writable: !0,
|
|
441
441
|
value: !1
|
|
442
|
-
}), Object.defineProperty(
|
|
442
|
+
}), Object.defineProperty(E, "_self", {
|
|
443
443
|
configurable: !1,
|
|
444
444
|
enumerable: !1,
|
|
445
445
|
writable: !1,
|
|
446
446
|
value: y
|
|
447
|
-
}), Object.defineProperty(
|
|
447
|
+
}), Object.defineProperty(E, "_source", {
|
|
448
448
|
configurable: !1,
|
|
449
449
|
enumerable: !1,
|
|
450
450
|
writable: !1,
|
|
451
451
|
value: N
|
|
452
|
-
}), Object.freeze && (Object.freeze(
|
|
452
|
+
}), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
|
|
453
453
|
};
|
|
454
454
|
function An(d, h, g, y, N) {
|
|
455
455
|
{
|
|
456
|
-
var
|
|
457
|
-
g !== void 0 && (ht(g),
|
|
458
|
-
for (
|
|
459
|
-
pr.call(h,
|
|
456
|
+
var T, M = {}, E = null, q = null;
|
|
457
|
+
g !== void 0 && (ht(g), E = "" + g), Mn(h) && (ht(h.key), E = "" + h.key), $n(h) && (q = h.ref, Nn(h, N));
|
|
458
|
+
for (T in h)
|
|
459
|
+
pr.call(h, T) && !En.hasOwnProperty(T) && (M[T] = h[T]);
|
|
460
460
|
if (d && d.defaultProps) {
|
|
461
|
-
var
|
|
462
|
-
for (
|
|
463
|
-
T
|
|
461
|
+
var _ = d.defaultProps;
|
|
462
|
+
for (T in _)
|
|
463
|
+
M[T] === void 0 && (M[T] = _[T]);
|
|
464
464
|
}
|
|
465
|
-
if (
|
|
465
|
+
if (E || q) {
|
|
466
466
|
var I = typeof d == "function" ? d.displayName || d.name || "Unknown" : d;
|
|
467
|
-
|
|
467
|
+
E && Tn(M, I), q && Sn(M, I);
|
|
468
468
|
}
|
|
469
|
-
return Rn(d,
|
|
469
|
+
return Rn(d, E, q, N, y, Qe.current, M);
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
var Sr =
|
|
472
|
+
var Sr = k.ReactCurrentOwner, bt = k.ReactDebugCurrentFrame;
|
|
473
473
|
function Be(d) {
|
|
474
474
|
if (d) {
|
|
475
475
|
var h = d._owner, g = fr(d.type, d._source, h ? h.type : null);
|
|
@@ -531,7 +531,7 @@ Check the top-level render call using <` + g + ">.");
|
|
|
531
531
|
d && d._owner && d._owner !== Sr.current && (y = " It was passed a child from " + O(d._owner.type) + "."), Be(d), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', g, y), Be(null);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function kt(d, h) {
|
|
535
535
|
{
|
|
536
536
|
if (typeof d != "object")
|
|
537
537
|
return;
|
|
@@ -543,10 +543,10 @@ Check the top-level render call using <` + g + ">.");
|
|
|
543
543
|
else if (Ar(d))
|
|
544
544
|
d._store && (d._store.validated = !0);
|
|
545
545
|
else if (d) {
|
|
546
|
-
var N =
|
|
546
|
+
var N = x(d);
|
|
547
547
|
if (typeof N == "function" && N !== d.entries)
|
|
548
|
-
for (var
|
|
549
|
-
Ar(
|
|
548
|
+
for (var T = N.call(d), M; !(M = T.next()).done; )
|
|
549
|
+
Ar(M.value) && Ct(M.value, h);
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
552
|
}
|
|
@@ -566,7 +566,7 @@ Check the top-level render call using <` + g + ">.");
|
|
|
566
566
|
return;
|
|
567
567
|
if (g) {
|
|
568
568
|
var y = O(h);
|
|
569
|
-
|
|
569
|
+
wn(g, d.props, "prop", y, d);
|
|
570
570
|
} else if (h.PropTypes !== void 0 && !Rr) {
|
|
571
571
|
Rr = !0;
|
|
572
572
|
var N = O(h);
|
|
@@ -575,7 +575,7 @@ Check the top-level render call using <` + g + ">.");
|
|
|
575
575
|
typeof h.getDefaultProps == "function" && !h.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function Wn(d) {
|
|
579
579
|
{
|
|
580
580
|
for (var h = Object.keys(d.props), g = 0; g < h.length; g++) {
|
|
581
581
|
var y = h[g];
|
|
@@ -587,48 +587,48 @@ Check the top-level render call using <` + g + ">.");
|
|
|
587
587
|
d.ref !== null && (Be(d), j("Invalid attribute `ref` supplied to `React.Fragment`."), Be(null));
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
|
-
function
|
|
590
|
+
function wt(d, h, g, y, N, T) {
|
|
591
591
|
{
|
|
592
|
-
var
|
|
593
|
-
if (!
|
|
594
|
-
var
|
|
595
|
-
(d === void 0 || typeof d == "object" && d !== null && Object.keys(d).length === 0) && (
|
|
592
|
+
var M = te(d);
|
|
593
|
+
if (!M) {
|
|
594
|
+
var E = "";
|
|
595
|
+
(d === void 0 || typeof d == "object" && d !== null && Object.keys(d).length === 0) && (E += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
596
596
|
var q = Pn(N);
|
|
597
|
-
q ?
|
|
598
|
-
var
|
|
599
|
-
d === null ?
|
|
597
|
+
q ? E += q : E += vt();
|
|
598
|
+
var _;
|
|
599
|
+
d === null ? _ = "null" : Nr(d) ? _ = "array" : d !== void 0 && d.$$typeof === r ? (_ = "<" + (O(d.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : _ = typeof d, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _, E);
|
|
600
600
|
}
|
|
601
|
-
var I = An(d, h, g, N,
|
|
601
|
+
var I = An(d, h, g, N, T);
|
|
602
602
|
if (I == null)
|
|
603
603
|
return I;
|
|
604
|
-
if (
|
|
604
|
+
if (M) {
|
|
605
605
|
var le = h.children;
|
|
606
606
|
if (le !== void 0)
|
|
607
607
|
if (y)
|
|
608
608
|
if (Nr(le)) {
|
|
609
609
|
for (var He = 0; He < le.length; He++)
|
|
610
|
-
|
|
610
|
+
kt(le[He], d);
|
|
611
611
|
Object.freeze && Object.freeze(le);
|
|
612
612
|
} else
|
|
613
613
|
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
614
614
|
else
|
|
615
|
-
|
|
615
|
+
kt(le, d);
|
|
616
616
|
}
|
|
617
|
-
return d === t ?
|
|
617
|
+
return d === t ? Wn(I) : On(I), I;
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
function
|
|
621
|
-
return
|
|
620
|
+
function _n(d, h, g) {
|
|
621
|
+
return wt(d, h, g, !0);
|
|
622
622
|
}
|
|
623
623
|
function In(d, h, g) {
|
|
624
|
-
return
|
|
624
|
+
return wt(d, h, g, !1);
|
|
625
625
|
}
|
|
626
|
-
var Vn = In, Dn =
|
|
626
|
+
var Vn = In, Dn = _n;
|
|
627
627
|
rr.Fragment = t, rr.jsx = Vn, rr.jsxs = Dn;
|
|
628
628
|
}()), rr;
|
|
629
629
|
}
|
|
630
|
-
process.env.NODE_ENV === "production" ?
|
|
631
|
-
var i =
|
|
630
|
+
process.env.NODE_ENV === "production" ? _r.exports = Kn() : _r.exports = Jn();
|
|
631
|
+
var i = _r.exports;
|
|
632
632
|
const Xn = ({
|
|
633
633
|
width: e = "24",
|
|
634
634
|
height: r = "24",
|
|
@@ -1447,7 +1447,7 @@ const Xn = ({
|
|
|
1447
1447
|
]
|
|
1448
1448
|
}
|
|
1449
1449
|
);
|
|
1450
|
-
},
|
|
1450
|
+
}, ks = Cs, ws = ({
|
|
1451
1451
|
width: e = "24",
|
|
1452
1452
|
height: r = "24",
|
|
1453
1453
|
className: n = "",
|
|
@@ -1483,7 +1483,7 @@ const Xn = ({
|
|
|
1483
1483
|
]
|
|
1484
1484
|
}
|
|
1485
1485
|
);
|
|
1486
|
-
}, ys =
|
|
1486
|
+
}, ys = ws, js = ({
|
|
1487
1487
|
width: e = "24",
|
|
1488
1488
|
height: r = "24",
|
|
1489
1489
|
className: n = "",
|
|
@@ -1645,7 +1645,7 @@ const Xn = ({
|
|
|
1645
1645
|
]
|
|
1646
1646
|
}
|
|
1647
1647
|
);
|
|
1648
|
-
},
|
|
1648
|
+
}, Ls = js, Es = ({
|
|
1649
1649
|
width: e = "24",
|
|
1650
1650
|
height: r = "24",
|
|
1651
1651
|
className: n = "",
|
|
@@ -1701,7 +1701,7 @@ const Xn = ({
|
|
|
1701
1701
|
]
|
|
1702
1702
|
}
|
|
1703
1703
|
);
|
|
1704
|
-
}, $s =
|
|
1704
|
+
}, $s = Es, Ms = ({
|
|
1705
1705
|
width: e = "24",
|
|
1706
1706
|
height: r = "24",
|
|
1707
1707
|
className: n = "",
|
|
@@ -1801,7 +1801,7 @@ const Xn = ({
|
|
|
1801
1801
|
]
|
|
1802
1802
|
}
|
|
1803
1803
|
);
|
|
1804
|
-
}, Ns =
|
|
1804
|
+
}, Ns = Ms, Ts = ({
|
|
1805
1805
|
width: e = "24",
|
|
1806
1806
|
height: r = "24",
|
|
1807
1807
|
className: n = "",
|
|
@@ -1847,7 +1847,7 @@ const Xn = ({
|
|
|
1847
1847
|
]
|
|
1848
1848
|
}
|
|
1849
1849
|
);
|
|
1850
|
-
}, Ss =
|
|
1850
|
+
}, Ss = Ts, Rs = ({
|
|
1851
1851
|
width: e = "24",
|
|
1852
1852
|
height: r = "24",
|
|
1853
1853
|
className: n = "",
|
|
@@ -1984,7 +1984,7 @@ const Xn = ({
|
|
|
1984
1984
|
]
|
|
1985
1985
|
}
|
|
1986
1986
|
);
|
|
1987
|
-
},
|
|
1987
|
+
}, Ws = Os, _s = ({
|
|
1988
1988
|
width: e = "24",
|
|
1989
1989
|
height: r = "24",
|
|
1990
1990
|
className: n = "",
|
|
@@ -2040,7 +2040,7 @@ const Xn = ({
|
|
|
2040
2040
|
]
|
|
2041
2041
|
}
|
|
2042
2042
|
);
|
|
2043
|
-
}, Is =
|
|
2043
|
+
}, Is = _s, Vs = ({
|
|
2044
2044
|
width: e = "24",
|
|
2045
2045
|
height: r = "24",
|
|
2046
2046
|
className: n = "",
|
|
@@ -2121,65 +2121,242 @@ const Xn = ({
|
|
|
2121
2121
|
]
|
|
2122
2122
|
}
|
|
2123
2123
|
);
|
|
2124
|
-
}, Ds = Vs
|
|
2125
|
-
|
|
2124
|
+
}, Ds = Vs, Bs = ({
|
|
2125
|
+
width: e = "24",
|
|
2126
|
+
height: r = "24",
|
|
2127
|
+
className: n = "",
|
|
2128
|
+
title: t = "",
|
|
2129
|
+
stroke: s = "1.5",
|
|
2130
|
+
role: o = ""
|
|
2131
|
+
}) => {
|
|
2132
|
+
const a = !(t && t.length > 0);
|
|
2133
|
+
return /* @__PURE__ */ i.jsxs(
|
|
2134
|
+
"svg",
|
|
2135
|
+
{
|
|
2136
|
+
width: e,
|
|
2137
|
+
height: r,
|
|
2138
|
+
viewBox: "0 0 24 24",
|
|
2139
|
+
className: n,
|
|
2140
|
+
fill: "none",
|
|
2141
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2142
|
+
"aria-hidden": `${a}`,
|
|
2143
|
+
role: o || (a ? "graphics-document" : "img"),
|
|
2144
|
+
children: [
|
|
2145
|
+
!a && /* @__PURE__ */ i.jsx("title", { children: t }),
|
|
2146
|
+
/* @__PURE__ */ i.jsx(
|
|
2147
|
+
"path",
|
|
2148
|
+
{
|
|
2149
|
+
d: "M12 22C14.6522 22 17.1957 20.9464 19.0711 19.0711C20.9464 17.1957 22 14.6522 22 12C22 9.34784 20.9464 6.8043 19.0711 4.92893C17.1957 3.05357 14.6522 2 12 2C9.34784 2 6.8043 3.05357 4.92893 4.92893C3.05357 6.8043 2 9.34784 2 12C2 14.6522 3.05357 17.1957 4.92893 19.0711C6.8043 20.9464 9.34784 22 12 22Z",
|
|
2150
|
+
stroke: "currentColor",
|
|
2151
|
+
strokeWidth: s,
|
|
2152
|
+
strokeLinecap: "round",
|
|
2153
|
+
strokeLinejoin: "round"
|
|
2154
|
+
}
|
|
2155
|
+
),
|
|
2156
|
+
/* @__PURE__ */ i.jsx(
|
|
2157
|
+
"path",
|
|
2158
|
+
{
|
|
2159
|
+
d: "M15.5 9L11 15L8 12",
|
|
2160
|
+
stroke: "currentColor",
|
|
2161
|
+
strokeWidth: s,
|
|
2162
|
+
strokeLinecap: "round",
|
|
2163
|
+
strokeLinejoin: "round"
|
|
2164
|
+
}
|
|
2165
|
+
)
|
|
2166
|
+
]
|
|
2167
|
+
}
|
|
2168
|
+
);
|
|
2169
|
+
}, Hs = Bs, zs = ({
|
|
2170
|
+
width: e = "24",
|
|
2171
|
+
height: r = "24",
|
|
2172
|
+
className: n = "",
|
|
2173
|
+
title: t = "",
|
|
2174
|
+
stroke: s = "1.5",
|
|
2175
|
+
role: o = ""
|
|
2176
|
+
}) => {
|
|
2177
|
+
const a = !(t && t.length > 0);
|
|
2178
|
+
return /* @__PURE__ */ i.jsxs(
|
|
2179
|
+
"svg",
|
|
2180
|
+
{
|
|
2181
|
+
width: e,
|
|
2182
|
+
height: r,
|
|
2183
|
+
viewBox: "0 0 24 24",
|
|
2184
|
+
fill: "none",
|
|
2185
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2186
|
+
className: n,
|
|
2187
|
+
stroke: "#000000",
|
|
2188
|
+
"aria-hidden": `${a}`,
|
|
2189
|
+
role: o || (a ? "graphics-document" : "img"),
|
|
2190
|
+
children: [
|
|
2191
|
+
!a && /* @__PURE__ */ i.jsx("title", { children: t }),
|
|
2192
|
+
/* @__PURE__ */ i.jsx(
|
|
2193
|
+
"path",
|
|
2194
|
+
{
|
|
2195
|
+
d: "M4.9375 9.4375H19C19 9.4375 19.9375 9.4375 19.9375 10.375V21.625C19.9375 21.625 19.9375 22.5625 19 22.5625H4.9375C4.9375 22.5625 4 22.5625 4 21.625V10.375C4 10.375 4 9.4375 4.9375 9.4375Z",
|
|
2196
|
+
strokeWidth: s,
|
|
2197
|
+
strokeLinecap: "round",
|
|
2198
|
+
strokeLinejoin: "round",
|
|
2199
|
+
stroke: "currentColor"
|
|
2200
|
+
}
|
|
2201
|
+
),
|
|
2202
|
+
/* @__PURE__ */ i.jsx(
|
|
2203
|
+
"path",
|
|
2204
|
+
{
|
|
2205
|
+
d: "M6.8125 6.15625C6.8125 4.78873 7.35575 3.47721 8.32273 2.51023C9.28971 1.54325 10.6012 1 11.9688 1C13.3363 1 14.6478 1.54325 15.6148 2.51023C16.5818 3.47721 17.125 4.78873 17.125 6.15625V9.4375",
|
|
2206
|
+
strokeWidth: s,
|
|
2207
|
+
strokeLinecap: "round",
|
|
2208
|
+
strokeLinejoin: "round",
|
|
2209
|
+
stroke: "currentColor"
|
|
2210
|
+
}
|
|
2211
|
+
),
|
|
2212
|
+
/* @__PURE__ */ i.jsx(
|
|
2213
|
+
"path",
|
|
2214
|
+
{
|
|
2215
|
+
d: "M11.0312 14.5938C11.0312 14.8424 11.13 15.0808 11.3058 15.2567C11.4817 15.4325 11.7201 15.5312 11.9688 15.5312C12.2174 15.5312 12.4558 15.4325 12.6317 15.2567C12.8075 15.0808 12.9062 14.8424 12.9062 14.5938C12.9062 14.3451 12.8075 14.1067 12.6317 13.9308C12.4558 13.755 12.2174 13.6562 11.9688 13.6562C11.7201 13.6562 11.4817 13.755 11.3058 13.9308C11.13 14.1067 11.0312 14.3451 11.0312 14.5938Z",
|
|
2216
|
+
strokeWidth: s,
|
|
2217
|
+
strokeLinecap: "round",
|
|
2218
|
+
strokeLinejoin: "round",
|
|
2219
|
+
stroke: "currentColor"
|
|
2220
|
+
}
|
|
2221
|
+
),
|
|
2222
|
+
/* @__PURE__ */ i.jsx(
|
|
2223
|
+
"path",
|
|
2224
|
+
{
|
|
2225
|
+
d: "M11.9688 15.5312V18.3438",
|
|
2226
|
+
strokeWidth: s,
|
|
2227
|
+
strokeLinecap: "round",
|
|
2228
|
+
strokeLinejoin: "round",
|
|
2229
|
+
stroke: "currentColor"
|
|
2230
|
+
}
|
|
2231
|
+
)
|
|
2232
|
+
]
|
|
2233
|
+
}
|
|
2234
|
+
);
|
|
2235
|
+
}, Us = zs, Gs = ({
|
|
2236
|
+
width: e = "24",
|
|
2237
|
+
height: r = "24",
|
|
2238
|
+
className: n = "",
|
|
2239
|
+
title: t = "",
|
|
2240
|
+
stroke: s = "1.5",
|
|
2241
|
+
role: o = ""
|
|
2242
|
+
}) => {
|
|
2243
|
+
const a = !(t && t.length > 0);
|
|
2244
|
+
return /* @__PURE__ */ i.jsxs(
|
|
2245
|
+
"svg",
|
|
2246
|
+
{
|
|
2247
|
+
width: e,
|
|
2248
|
+
height: r,
|
|
2249
|
+
viewBox: "0 0 24 24",
|
|
2250
|
+
fill: "none",
|
|
2251
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2252
|
+
className: n,
|
|
2253
|
+
stroke: "#000000",
|
|
2254
|
+
"aria-hidden": `${a}`,
|
|
2255
|
+
role: o || (a ? "graphics-document" : "img"),
|
|
2256
|
+
children: [
|
|
2257
|
+
!a && /* @__PURE__ */ i.jsx("title", { children: t }),
|
|
2258
|
+
/* @__PURE__ */ i.jsx(
|
|
2259
|
+
"path",
|
|
2260
|
+
{
|
|
2261
|
+
d: "M11.0312 14.5938C11.0312 14.8424 11.13 15.0808 11.3058 15.2567C11.4817 15.4325 11.7201 15.5312 11.9688 15.5312C12.2174 15.5312 12.4558 15.4325 12.6317 15.2567C12.8075 15.0808 12.9062 14.8424 12.9062 14.5938C12.9062 14.3451 12.8075 14.1067 12.6317 13.9308C12.4558 13.755 12.2174 13.6562 11.9688 13.6562C11.7201 13.6562 11.4817 13.755 11.3058 13.9308C11.13 14.1067 11.0312 14.3451 11.0312 14.5938Z",
|
|
2262
|
+
strokeWidth: s,
|
|
2263
|
+
strokeLinecap: "round",
|
|
2264
|
+
strokeLinejoin: "round",
|
|
2265
|
+
stroke: "currentColor"
|
|
2266
|
+
}
|
|
2267
|
+
),
|
|
2268
|
+
/* @__PURE__ */ i.jsx(
|
|
2269
|
+
"path",
|
|
2270
|
+
{
|
|
2271
|
+
d: "M11.9688 15.5312V18.3438",
|
|
2272
|
+
strokeWidth: s,
|
|
2273
|
+
strokeLinecap: "round",
|
|
2274
|
+
strokeLinejoin: "round",
|
|
2275
|
+
stroke: "currentColor"
|
|
2276
|
+
}
|
|
2277
|
+
),
|
|
2278
|
+
/* @__PURE__ */ i.jsx(
|
|
2279
|
+
"path",
|
|
2280
|
+
{
|
|
2281
|
+
d: "M4.9375 9.4375H19C19 9.4375 19.9375 9.4375 19.9375 10.375V21.625C19.9375 21.625 19.9375 22.5625 19 22.5625H4.9375C4.9375 22.5625 4 22.5625 4 21.625V10.375C4 10.375 4 9.4375 4.9375 9.4375Z",
|
|
2282
|
+
strokeWidth: s,
|
|
2283
|
+
strokeLinecap: "round",
|
|
2284
|
+
strokeLinejoin: "round",
|
|
2285
|
+
stroke: "currentColor"
|
|
2286
|
+
}
|
|
2287
|
+
),
|
|
2288
|
+
/* @__PURE__ */ i.jsx(
|
|
2289
|
+
"path",
|
|
2290
|
+
{
|
|
2291
|
+
d: "M6.8125 6.15625C6.8125 4.78873 7.35575 3.47721 8.32273 2.51023C9.28971 1.54325 10.6012 1 11.9688 1C13.3363 1 14.6478 1.54325 15.6148 2.51023C16.5818 3.47721 17.125 4.78873 17.125 6.15625V9.4375H6.8125V6.15625Z",
|
|
2292
|
+
strokeWidth: s,
|
|
2293
|
+
strokeLinecap: "round",
|
|
2294
|
+
strokeLinejoin: "round",
|
|
2295
|
+
stroke: "currentColor"
|
|
2296
|
+
}
|
|
2297
|
+
)
|
|
2298
|
+
]
|
|
2299
|
+
}
|
|
2300
|
+
);
|
|
2301
|
+
}, Zs = Gs;
|
|
2302
|
+
function Wt(e) {
|
|
2126
2303
|
var r, n, t = "";
|
|
2127
2304
|
if (typeof e == "string" || typeof e == "number")
|
|
2128
2305
|
t += e;
|
|
2129
2306
|
else if (typeof e == "object")
|
|
2130
2307
|
if (Array.isArray(e))
|
|
2131
2308
|
for (r = 0; r < e.length; r++)
|
|
2132
|
-
e[r] && (n =
|
|
2309
|
+
e[r] && (n = Wt(e[r])) && (t && (t += " "), t += n);
|
|
2133
2310
|
else
|
|
2134
2311
|
for (r in e)
|
|
2135
2312
|
e[r] && (t && (t += " "), t += r);
|
|
2136
2313
|
return t;
|
|
2137
2314
|
}
|
|
2138
|
-
function
|
|
2315
|
+
function Ys() {
|
|
2139
2316
|
for (var e, r, n = 0, t = ""; n < arguments.length; )
|
|
2140
|
-
(e = arguments[n++]) && (r =
|
|
2317
|
+
(e = arguments[n++]) && (r = Wt(e)) && (t && (t += " "), t += r);
|
|
2141
2318
|
return t;
|
|
2142
2319
|
}
|
|
2143
|
-
const
|
|
2320
|
+
const Et = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, $t = Ys, F = (e, r) => (n) => {
|
|
2144
2321
|
var t;
|
|
2145
2322
|
if ((r == null ? void 0 : r.variants) == null)
|
|
2146
2323
|
return $t(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
|
|
2147
|
-
const { variants: s, defaultVariants: o } = r, a = Object.keys(s).map((
|
|
2148
|
-
const
|
|
2149
|
-
if (
|
|
2324
|
+
const { variants: s, defaultVariants: o } = r, a = Object.keys(s).map((f) => {
|
|
2325
|
+
const u = n == null ? void 0 : n[f], p = o == null ? void 0 : o[f];
|
|
2326
|
+
if (u === null)
|
|
2150
2327
|
return null;
|
|
2151
|
-
const m =
|
|
2152
|
-
return s[
|
|
2153
|
-
}), l = n && Object.entries(n).reduce((
|
|
2154
|
-
let [p, m] =
|
|
2155
|
-
return m === void 0 || (
|
|
2156
|
-
}, {}), c = r == null || (t = r.compoundVariants) === null || t === void 0 ? void 0 : t.reduce((
|
|
2157
|
-
let { class: p, className: m, ...b } =
|
|
2158
|
-
return Object.entries(b).every((
|
|
2159
|
-
let [C,
|
|
2160
|
-
return Array.isArray(
|
|
2328
|
+
const m = Et(u) || Et(p);
|
|
2329
|
+
return s[f][m];
|
|
2330
|
+
}), l = n && Object.entries(n).reduce((f, u) => {
|
|
2331
|
+
let [p, m] = u;
|
|
2332
|
+
return m === void 0 || (f[p] = m), f;
|
|
2333
|
+
}, {}), c = r == null || (t = r.compoundVariants) === null || t === void 0 ? void 0 : t.reduce((f, u) => {
|
|
2334
|
+
let { class: p, className: m, ...b } = u;
|
|
2335
|
+
return Object.entries(b).every((v) => {
|
|
2336
|
+
let [C, x] = v;
|
|
2337
|
+
return Array.isArray(x) ? x.includes({
|
|
2161
2338
|
...o,
|
|
2162
2339
|
...l
|
|
2163
2340
|
}[C]) : {
|
|
2164
2341
|
...o,
|
|
2165
2342
|
...l
|
|
2166
|
-
}[C] ===
|
|
2343
|
+
}[C] === x;
|
|
2167
2344
|
}) ? [
|
|
2168
|
-
...
|
|
2345
|
+
...f,
|
|
2169
2346
|
p,
|
|
2170
2347
|
m
|
|
2171
|
-
] :
|
|
2348
|
+
] : f;
|
|
2172
2349
|
}, []);
|
|
2173
2350
|
return $t(e, a, c, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
|
|
2174
2351
|
}, Qr = "-";
|
|
2175
|
-
function
|
|
2176
|
-
const r =
|
|
2352
|
+
function qs(e) {
|
|
2353
|
+
const r = Js(e), {
|
|
2177
2354
|
conflictingClassGroups: n,
|
|
2178
2355
|
conflictingClassGroupModifiers: t
|
|
2179
2356
|
} = e;
|
|
2180
2357
|
function s(a) {
|
|
2181
2358
|
const l = a.split(Qr);
|
|
2182
|
-
return l[0] === "" && l.length !== 1 && l.shift(),
|
|
2359
|
+
return l[0] === "" && l.length !== 1 && l.shift(), _t(l, r) || Ks(a);
|
|
2183
2360
|
}
|
|
2184
2361
|
function o(a, l) {
|
|
2185
2362
|
const c = n[a] || [];
|
|
@@ -2190,11 +2367,11 @@ function Hs(e) {
|
|
|
2190
2367
|
getConflictingClassGroupIds: o
|
|
2191
2368
|
};
|
|
2192
2369
|
}
|
|
2193
|
-
function
|
|
2370
|
+
function _t(e, r) {
|
|
2194
2371
|
var a;
|
|
2195
2372
|
if (e.length === 0)
|
|
2196
2373
|
return r.classGroupId;
|
|
2197
|
-
const n = e[0], t = r.nextPart.get(n), s = t ?
|
|
2374
|
+
const n = e[0], t = r.nextPart.get(n), s = t ? _t(e.slice(1), t) : void 0;
|
|
2198
2375
|
if (s)
|
|
2199
2376
|
return s;
|
|
2200
2377
|
if (r.validators.length === 0)
|
|
@@ -2204,15 +2381,15 @@ function Wt(e, r) {
|
|
|
2204
2381
|
validator: l
|
|
2205
2382
|
}) => l(o))) == null ? void 0 : a.classGroupId;
|
|
2206
2383
|
}
|
|
2207
|
-
const
|
|
2208
|
-
function
|
|
2209
|
-
if (
|
|
2210
|
-
const r =
|
|
2384
|
+
const Mt = /^\[(.+)\]$/;
|
|
2385
|
+
function Ks(e) {
|
|
2386
|
+
if (Mt.test(e)) {
|
|
2387
|
+
const r = Mt.exec(e)[1], n = r == null ? void 0 : r.substring(0, r.indexOf(":"));
|
|
2211
2388
|
if (n)
|
|
2212
2389
|
return "arbitrary.." + n;
|
|
2213
2390
|
}
|
|
2214
2391
|
}
|
|
2215
|
-
function
|
|
2392
|
+
function Js(e) {
|
|
2216
2393
|
const {
|
|
2217
2394
|
theme: r,
|
|
2218
2395
|
prefix: n
|
|
@@ -2220,7 +2397,7 @@ function Us(e) {
|
|
|
2220
2397
|
nextPart: /* @__PURE__ */ new Map(),
|
|
2221
2398
|
validators: []
|
|
2222
2399
|
};
|
|
2223
|
-
return
|
|
2400
|
+
return Qs(Object.entries(e.classGroups), n).forEach(([o, a]) => {
|
|
2224
2401
|
Ir(a, t, o, r);
|
|
2225
2402
|
}), t;
|
|
2226
2403
|
}
|
|
@@ -2232,7 +2409,7 @@ function Ir(e, r, n, t) {
|
|
|
2232
2409
|
return;
|
|
2233
2410
|
}
|
|
2234
2411
|
if (typeof s == "function") {
|
|
2235
|
-
if (
|
|
2412
|
+
if (Xs(s)) {
|
|
2236
2413
|
Ir(s(t), r, n, t);
|
|
2237
2414
|
return;
|
|
2238
2415
|
}
|
|
@@ -2256,16 +2433,16 @@ function Nt(e, r) {
|
|
|
2256
2433
|
}), n = n.nextPart.get(t);
|
|
2257
2434
|
}), n;
|
|
2258
2435
|
}
|
|
2259
|
-
function
|
|
2436
|
+
function Xs(e) {
|
|
2260
2437
|
return e.isThemeGetter;
|
|
2261
2438
|
}
|
|
2262
|
-
function
|
|
2439
|
+
function Qs(e, r) {
|
|
2263
2440
|
return r ? e.map(([n, t]) => {
|
|
2264
2441
|
const s = t.map((o) => typeof o == "string" ? r + o : typeof o == "object" ? Object.fromEntries(Object.entries(o).map(([a, l]) => [r + a, l])) : o);
|
|
2265
2442
|
return [n, s];
|
|
2266
2443
|
}) : e;
|
|
2267
2444
|
}
|
|
2268
|
-
function
|
|
2445
|
+
function eo(e) {
|
|
2269
2446
|
if (e < 1)
|
|
2270
2447
|
return {
|
|
2271
2448
|
get: () => {
|
|
@@ -2291,35 +2468,35 @@ function Zs(e) {
|
|
|
2291
2468
|
};
|
|
2292
2469
|
}
|
|
2293
2470
|
const It = "!";
|
|
2294
|
-
function
|
|
2471
|
+
function ro(e) {
|
|
2295
2472
|
const r = e.separator, n = r.length === 1, t = r[0], s = r.length;
|
|
2296
2473
|
return function(a) {
|
|
2297
2474
|
const l = [];
|
|
2298
|
-
let c = 0,
|
|
2475
|
+
let c = 0, f = 0, u;
|
|
2299
2476
|
for (let C = 0; C < a.length; C++) {
|
|
2300
|
-
let
|
|
2477
|
+
let x = a[C];
|
|
2301
2478
|
if (c === 0) {
|
|
2302
|
-
if (
|
|
2303
|
-
l.push(a.slice(
|
|
2479
|
+
if (x === t && (n || a.slice(C, C + s) === r)) {
|
|
2480
|
+
l.push(a.slice(f, C)), f = C + s;
|
|
2304
2481
|
continue;
|
|
2305
2482
|
}
|
|
2306
|
-
if (
|
|
2307
|
-
|
|
2483
|
+
if (x === "/") {
|
|
2484
|
+
u = C;
|
|
2308
2485
|
continue;
|
|
2309
2486
|
}
|
|
2310
2487
|
}
|
|
2311
|
-
|
|
2488
|
+
x === "[" ? c++ : x === "]" && c--;
|
|
2312
2489
|
}
|
|
2313
|
-
const p = l.length === 0 ? a : a.substring(
|
|
2490
|
+
const p = l.length === 0 ? a : a.substring(f), m = p.startsWith(It), b = m ? p.substring(1) : p, v = u && u > f ? u - f : void 0;
|
|
2314
2491
|
return {
|
|
2315
2492
|
modifiers: l,
|
|
2316
2493
|
hasImportantModifier: m,
|
|
2317
2494
|
baseClassName: b,
|
|
2318
|
-
maybePostfixModifierPosition:
|
|
2495
|
+
maybePostfixModifierPosition: v
|
|
2319
2496
|
};
|
|
2320
2497
|
};
|
|
2321
2498
|
}
|
|
2322
|
-
function
|
|
2499
|
+
function to(e) {
|
|
2323
2500
|
if (e.length <= 1)
|
|
2324
2501
|
return e;
|
|
2325
2502
|
const r = [];
|
|
@@ -2328,42 +2505,42 @@ function Ks(e) {
|
|
|
2328
2505
|
t[0] === "[" ? (r.push(...n.sort(), t), n = []) : n.push(t);
|
|
2329
2506
|
}), r.push(...n.sort()), r;
|
|
2330
2507
|
}
|
|
2331
|
-
function
|
|
2508
|
+
function no(e) {
|
|
2332
2509
|
return {
|
|
2333
|
-
cache:
|
|
2334
|
-
splitModifiers:
|
|
2335
|
-
...
|
|
2510
|
+
cache: eo(e.cacheSize),
|
|
2511
|
+
splitModifiers: ro(e),
|
|
2512
|
+
...qs(e)
|
|
2336
2513
|
};
|
|
2337
2514
|
}
|
|
2338
|
-
const
|
|
2339
|
-
function
|
|
2515
|
+
const so = /\s+/;
|
|
2516
|
+
function oo(e, r) {
|
|
2340
2517
|
const {
|
|
2341
2518
|
splitModifiers: n,
|
|
2342
2519
|
getClassGroupId: t,
|
|
2343
2520
|
getConflictingClassGroupIds: s
|
|
2344
2521
|
} = r, o = /* @__PURE__ */ new Set();
|
|
2345
|
-
return e.trim().split(
|
|
2522
|
+
return e.trim().split(so).map((a) => {
|
|
2346
2523
|
const {
|
|
2347
2524
|
modifiers: l,
|
|
2348
2525
|
hasImportantModifier: c,
|
|
2349
|
-
baseClassName:
|
|
2350
|
-
maybePostfixModifierPosition:
|
|
2526
|
+
baseClassName: f,
|
|
2527
|
+
maybePostfixModifierPosition: u
|
|
2351
2528
|
} = n(a);
|
|
2352
|
-
let p = t(
|
|
2529
|
+
let p = t(u ? f.substring(0, u) : f), m = !!u;
|
|
2353
2530
|
if (!p) {
|
|
2354
|
-
if (!
|
|
2531
|
+
if (!u)
|
|
2355
2532
|
return {
|
|
2356
2533
|
isTailwindClass: !1,
|
|
2357
2534
|
originalClassName: a
|
|
2358
2535
|
};
|
|
2359
|
-
if (p = t(
|
|
2536
|
+
if (p = t(f), !p)
|
|
2360
2537
|
return {
|
|
2361
2538
|
isTailwindClass: !1,
|
|
2362
2539
|
originalClassName: a
|
|
2363
2540
|
};
|
|
2364
2541
|
m = !1;
|
|
2365
2542
|
}
|
|
2366
|
-
const b =
|
|
2543
|
+
const b = to(l).join(":");
|
|
2367
2544
|
return {
|
|
2368
2545
|
isTailwindClass: !0,
|
|
2369
2546
|
modifierId: c ? b + It : b,
|
|
@@ -2377,12 +2554,12 @@ function Qs(e, r) {
|
|
|
2377
2554
|
const {
|
|
2378
2555
|
modifierId: l,
|
|
2379
2556
|
classGroupId: c,
|
|
2380
|
-
hasPostfixModifier:
|
|
2381
|
-
} = a,
|
|
2382
|
-
return o.has(
|
|
2557
|
+
hasPostfixModifier: f
|
|
2558
|
+
} = a, u = l + c;
|
|
2559
|
+
return o.has(u) ? !1 : (o.add(u), s(c, f).forEach((p) => o.add(l + p)), !0);
|
|
2383
2560
|
}).reverse().map((a) => a.originalClassName).join(" ");
|
|
2384
2561
|
}
|
|
2385
|
-
function
|
|
2562
|
+
function ao() {
|
|
2386
2563
|
let e = 0, r, n, t = "";
|
|
2387
2564
|
for (; e < arguments.length; )
|
|
2388
2565
|
(r = arguments[e++]) && (n = Vt(r)) && (t && (t += " "), t += n);
|
|
@@ -2396,65 +2573,65 @@ function Vt(e) {
|
|
|
2396
2573
|
e[t] && (r = Vt(e[t])) && (n && (n += " "), n += r);
|
|
2397
2574
|
return n;
|
|
2398
2575
|
}
|
|
2399
|
-
function
|
|
2576
|
+
function io(e, ...r) {
|
|
2400
2577
|
let n, t, s, o = a;
|
|
2401
2578
|
function a(c) {
|
|
2402
|
-
const
|
|
2403
|
-
return n =
|
|
2579
|
+
const f = r.reduce((u, p) => p(u), e());
|
|
2580
|
+
return n = no(f), t = n.cache.get, s = n.cache.set, o = l, l(c);
|
|
2404
2581
|
}
|
|
2405
2582
|
function l(c) {
|
|
2406
|
-
const
|
|
2407
|
-
if (
|
|
2408
|
-
return
|
|
2409
|
-
const
|
|
2410
|
-
return s(c,
|
|
2583
|
+
const f = t(c);
|
|
2584
|
+
if (f)
|
|
2585
|
+
return f;
|
|
2586
|
+
const u = oo(c, n);
|
|
2587
|
+
return s(c, u), u;
|
|
2411
2588
|
}
|
|
2412
2589
|
return function() {
|
|
2413
|
-
return o(
|
|
2590
|
+
return o(ao.apply(null, arguments));
|
|
2414
2591
|
};
|
|
2415
2592
|
}
|
|
2416
2593
|
function A(e) {
|
|
2417
2594
|
const r = (n) => n[e] || [];
|
|
2418
2595
|
return r.isThemeGetter = !0, r;
|
|
2419
2596
|
}
|
|
2420
|
-
const Dt = /^\[(?:([a-z-]+):)?(.+)\]$/i,
|
|
2421
|
-
function
|
|
2422
|
-
return
|
|
2597
|
+
const Dt = /^\[(?:([a-z-]+):)?(.+)\]$/i, lo = /^\d+\/\d+$/, co = /* @__PURE__ */ new Set(["px", "full", "screen"]), uo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, fo = /\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$/, po = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, ho = /^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, mo = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
|
|
2598
|
+
function Ee(e) {
|
|
2599
|
+
return _e(e) || co.has(e) || lo.test(e);
|
|
2423
2600
|
}
|
|
2424
2601
|
function Re(e) {
|
|
2425
|
-
return Ge(e, "length",
|
|
2602
|
+
return Ge(e, "length", yo);
|
|
2426
2603
|
}
|
|
2427
|
-
function
|
|
2604
|
+
function _e(e) {
|
|
2428
2605
|
return !!e && !Number.isNaN(Number(e));
|
|
2429
2606
|
}
|
|
2430
2607
|
function gr(e) {
|
|
2431
|
-
return Ge(e, "number",
|
|
2608
|
+
return Ge(e, "number", _e);
|
|
2432
2609
|
}
|
|
2433
2610
|
function tr(e) {
|
|
2434
2611
|
return !!e && Number.isInteger(Number(e));
|
|
2435
2612
|
}
|
|
2436
|
-
function
|
|
2437
|
-
return e.endsWith("%") &&
|
|
2613
|
+
function go(e) {
|
|
2614
|
+
return e.endsWith("%") && _e(e.slice(0, -1));
|
|
2438
2615
|
}
|
|
2439
|
-
function
|
|
2616
|
+
function L(e) {
|
|
2440
2617
|
return Dt.test(e);
|
|
2441
2618
|
}
|
|
2442
2619
|
function Ae(e) {
|
|
2443
|
-
return
|
|
2620
|
+
return uo.test(e);
|
|
2444
2621
|
}
|
|
2445
|
-
const
|
|
2446
|
-
function
|
|
2447
|
-
return Ge(e,
|
|
2622
|
+
const bo = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
|
|
2623
|
+
function vo(e) {
|
|
2624
|
+
return Ge(e, bo, Bt);
|
|
2448
2625
|
}
|
|
2449
|
-
function
|
|
2626
|
+
function xo(e) {
|
|
2450
2627
|
return Ge(e, "position", Bt);
|
|
2451
2628
|
}
|
|
2452
|
-
const
|
|
2453
|
-
function
|
|
2454
|
-
return Ge(e,
|
|
2629
|
+
const Co = /* @__PURE__ */ new Set(["image", "url"]);
|
|
2630
|
+
function ko(e) {
|
|
2631
|
+
return Ge(e, Co, Lo);
|
|
2455
2632
|
}
|
|
2456
|
-
function
|
|
2457
|
-
return Ge(e, "",
|
|
2633
|
+
function wo(e) {
|
|
2634
|
+
return Ge(e, "", jo);
|
|
2458
2635
|
}
|
|
2459
2636
|
function nr() {
|
|
2460
2637
|
return !0;
|
|
@@ -2463,30 +2640,30 @@ function Ge(e, r, n) {
|
|
|
2463
2640
|
const t = Dt.exec(e);
|
|
2464
2641
|
return t ? t[1] ? typeof r == "string" ? t[1] === r : r.has(t[1]) : n(t[2]) : !1;
|
|
2465
2642
|
}
|
|
2466
|
-
function
|
|
2467
|
-
return
|
|
2643
|
+
function yo(e) {
|
|
2644
|
+
return fo.test(e) && !po.test(e);
|
|
2468
2645
|
}
|
|
2469
2646
|
function Bt() {
|
|
2470
2647
|
return !1;
|
|
2471
2648
|
}
|
|
2472
|
-
function
|
|
2473
|
-
return
|
|
2649
|
+
function jo(e) {
|
|
2650
|
+
return ho.test(e);
|
|
2474
2651
|
}
|
|
2475
|
-
function
|
|
2476
|
-
return
|
|
2652
|
+
function Lo(e) {
|
|
2653
|
+
return mo.test(e);
|
|
2477
2654
|
}
|
|
2478
|
-
function
|
|
2479
|
-
const e = A("colors"), r = A("spacing"), n = A("blur"), t = A("brightness"), s = A("borderColor"), o = A("borderRadius"), a = A("borderSpacing"), l = A("borderWidth"), c = A("contrast"),
|
|
2655
|
+
function Eo() {
|
|
2656
|
+
const e = A("colors"), r = A("spacing"), n = A("blur"), t = A("brightness"), s = A("borderColor"), o = A("borderRadius"), a = A("borderSpacing"), l = A("borderWidth"), c = A("contrast"), f = A("grayscale"), u = A("hueRotate"), p = A("invert"), m = A("gap"), b = A("gradientColorStops"), v = A("gradientColorStopPositions"), C = A("inset"), x = A("margin"), k = A("opacity"), j = A("padding"), fe = A("saturate"), S = A("scale"), Z = A("sepia"), we = A("skew"), J = A("space"), Y = A("translate"), X = () => ["auto", "contain", "none"], te = () => ["auto", "hidden", "clip", "visible", "scroll"], ie = () => ["auto", L, r], $ = () => [L, r], O = () => ["", Ee, Re], V = () => ["auto", _e, L], G = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], pe = () => ["solid", "dashed", "dotted", "double", "none"], ve = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], he = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], z = () => ["", "0", L], ye = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], me = () => [_e, gr], Q = () => [_e, L];
|
|
2480
2657
|
return {
|
|
2481
2658
|
cacheSize: 500,
|
|
2482
2659
|
separator: ":",
|
|
2483
2660
|
theme: {
|
|
2484
2661
|
colors: [nr],
|
|
2485
|
-
spacing: [
|
|
2486
|
-
blur: ["none", "", Ae,
|
|
2662
|
+
spacing: [Ee, Re],
|
|
2663
|
+
blur: ["none", "", Ae, L],
|
|
2487
2664
|
brightness: me(),
|
|
2488
2665
|
borderColor: [e],
|
|
2489
|
-
borderRadius: ["none", "", "full", Ae,
|
|
2666
|
+
borderRadius: ["none", "", "full", Ae, L],
|
|
2490
2667
|
borderSpacing: $(),
|
|
2491
2668
|
borderWidth: O(),
|
|
2492
2669
|
contrast: me(),
|
|
@@ -2495,7 +2672,7 @@ function Co() {
|
|
|
2495
2672
|
invert: z(),
|
|
2496
2673
|
gap: $(),
|
|
2497
2674
|
gradientColorStops: [e],
|
|
2498
|
-
gradientColorStopPositions: [
|
|
2675
|
+
gradientColorStopPositions: [go, Re],
|
|
2499
2676
|
inset: ie(),
|
|
2500
2677
|
margin: ie(),
|
|
2501
2678
|
opacity: me(),
|
|
@@ -2514,7 +2691,7 @@ function Co() {
|
|
|
2514
2691
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
2515
2692
|
*/
|
|
2516
2693
|
aspect: [{
|
|
2517
|
-
aspect: ["auto", "square", "video",
|
|
2694
|
+
aspect: ["auto", "square", "video", L]
|
|
2518
2695
|
}],
|
|
2519
2696
|
/**
|
|
2520
2697
|
* Container
|
|
@@ -2599,7 +2776,7 @@ function Co() {
|
|
|
2599
2776
|
* @see https://tailwindcss.com/docs/object-position
|
|
2600
2777
|
*/
|
|
2601
2778
|
"object-position": [{
|
|
2602
|
-
object: [...G(),
|
|
2779
|
+
object: [...G(), L]
|
|
2603
2780
|
}],
|
|
2604
2781
|
/**
|
|
2605
2782
|
* Overflow
|
|
@@ -2721,7 +2898,7 @@ function Co() {
|
|
|
2721
2898
|
* @see https://tailwindcss.com/docs/z-index
|
|
2722
2899
|
*/
|
|
2723
2900
|
z: [{
|
|
2724
|
-
z: ["auto", tr,
|
|
2901
|
+
z: ["auto", tr, L]
|
|
2725
2902
|
}],
|
|
2726
2903
|
// Flexbox and Grid
|
|
2727
2904
|
/**
|
|
@@ -2750,7 +2927,7 @@ function Co() {
|
|
|
2750
2927
|
* @see https://tailwindcss.com/docs/flex
|
|
2751
2928
|
*/
|
|
2752
2929
|
flex: [{
|
|
2753
|
-
flex: ["1", "auto", "initial", "none",
|
|
2930
|
+
flex: ["1", "auto", "initial", "none", L]
|
|
2754
2931
|
}],
|
|
2755
2932
|
/**
|
|
2756
2933
|
* Flex Grow
|
|
@@ -2771,7 +2948,7 @@ function Co() {
|
|
|
2771
2948
|
* @see https://tailwindcss.com/docs/order
|
|
2772
2949
|
*/
|
|
2773
2950
|
order: [{
|
|
2774
|
-
order: ["first", "last", "none", tr,
|
|
2951
|
+
order: ["first", "last", "none", tr, L]
|
|
2775
2952
|
}],
|
|
2776
2953
|
/**
|
|
2777
2954
|
* Grid Template Columns
|
|
@@ -2786,8 +2963,8 @@ function Co() {
|
|
|
2786
2963
|
*/
|
|
2787
2964
|
"col-start-end": [{
|
|
2788
2965
|
col: ["auto", {
|
|
2789
|
-
span: ["full", tr,
|
|
2790
|
-
},
|
|
2966
|
+
span: ["full", tr, L]
|
|
2967
|
+
}, L]
|
|
2791
2968
|
}],
|
|
2792
2969
|
/**
|
|
2793
2970
|
* Grid Column Start
|
|
@@ -2816,8 +2993,8 @@ function Co() {
|
|
|
2816
2993
|
*/
|
|
2817
2994
|
"row-start-end": [{
|
|
2818
2995
|
row: ["auto", {
|
|
2819
|
-
span: [tr,
|
|
2820
|
-
},
|
|
2996
|
+
span: [tr, L]
|
|
2997
|
+
}, L]
|
|
2821
2998
|
}],
|
|
2822
2999
|
/**
|
|
2823
3000
|
* Grid Row Start
|
|
@@ -2845,14 +3022,14 @@ function Co() {
|
|
|
2845
3022
|
* @see https://tailwindcss.com/docs/grid-auto-columns
|
|
2846
3023
|
*/
|
|
2847
3024
|
"auto-cols": [{
|
|
2848
|
-
"auto-cols": ["auto", "min", "max", "fr",
|
|
3025
|
+
"auto-cols": ["auto", "min", "max", "fr", L]
|
|
2849
3026
|
}],
|
|
2850
3027
|
/**
|
|
2851
3028
|
* Grid Auto Rows
|
|
2852
3029
|
* @see https://tailwindcss.com/docs/grid-auto-rows
|
|
2853
3030
|
*/
|
|
2854
3031
|
"auto-rows": [{
|
|
2855
|
-
"auto-rows": ["auto", "min", "max", "fr",
|
|
3032
|
+
"auto-rows": ["auto", "min", "max", "fr", L]
|
|
2856
3033
|
}],
|
|
2857
3034
|
/**
|
|
2858
3035
|
* Gap
|
|
@@ -3007,63 +3184,63 @@ function Co() {
|
|
|
3007
3184
|
* @see https://tailwindcss.com/docs/margin
|
|
3008
3185
|
*/
|
|
3009
3186
|
m: [{
|
|
3010
|
-
m: [
|
|
3187
|
+
m: [x]
|
|
3011
3188
|
}],
|
|
3012
3189
|
/**
|
|
3013
3190
|
* Margin X
|
|
3014
3191
|
* @see https://tailwindcss.com/docs/margin
|
|
3015
3192
|
*/
|
|
3016
3193
|
mx: [{
|
|
3017
|
-
mx: [
|
|
3194
|
+
mx: [x]
|
|
3018
3195
|
}],
|
|
3019
3196
|
/**
|
|
3020
3197
|
* Margin Y
|
|
3021
3198
|
* @see https://tailwindcss.com/docs/margin
|
|
3022
3199
|
*/
|
|
3023
3200
|
my: [{
|
|
3024
|
-
my: [
|
|
3201
|
+
my: [x]
|
|
3025
3202
|
}],
|
|
3026
3203
|
/**
|
|
3027
3204
|
* Margin Start
|
|
3028
3205
|
* @see https://tailwindcss.com/docs/margin
|
|
3029
3206
|
*/
|
|
3030
3207
|
ms: [{
|
|
3031
|
-
ms: [
|
|
3208
|
+
ms: [x]
|
|
3032
3209
|
}],
|
|
3033
3210
|
/**
|
|
3034
3211
|
* Margin End
|
|
3035
3212
|
* @see https://tailwindcss.com/docs/margin
|
|
3036
3213
|
*/
|
|
3037
3214
|
me: [{
|
|
3038
|
-
me: [
|
|
3215
|
+
me: [x]
|
|
3039
3216
|
}],
|
|
3040
3217
|
/**
|
|
3041
3218
|
* Margin Top
|
|
3042
3219
|
* @see https://tailwindcss.com/docs/margin
|
|
3043
3220
|
*/
|
|
3044
3221
|
mt: [{
|
|
3045
|
-
mt: [
|
|
3222
|
+
mt: [x]
|
|
3046
3223
|
}],
|
|
3047
3224
|
/**
|
|
3048
3225
|
* Margin Right
|
|
3049
3226
|
* @see https://tailwindcss.com/docs/margin
|
|
3050
3227
|
*/
|
|
3051
3228
|
mr: [{
|
|
3052
|
-
mr: [
|
|
3229
|
+
mr: [x]
|
|
3053
3230
|
}],
|
|
3054
3231
|
/**
|
|
3055
3232
|
* Margin Bottom
|
|
3056
3233
|
* @see https://tailwindcss.com/docs/margin
|
|
3057
3234
|
*/
|
|
3058
3235
|
mb: [{
|
|
3059
|
-
mb: [
|
|
3236
|
+
mb: [x]
|
|
3060
3237
|
}],
|
|
3061
3238
|
/**
|
|
3062
3239
|
* Margin Left
|
|
3063
3240
|
* @see https://tailwindcss.com/docs/margin
|
|
3064
3241
|
*/
|
|
3065
3242
|
ml: [{
|
|
3066
|
-
ml: [
|
|
3243
|
+
ml: [x]
|
|
3067
3244
|
}],
|
|
3068
3245
|
/**
|
|
3069
3246
|
* Space Between X
|
|
@@ -3095,21 +3272,21 @@ function Co() {
|
|
|
3095
3272
|
* @see https://tailwindcss.com/docs/width
|
|
3096
3273
|
*/
|
|
3097
3274
|
w: [{
|
|
3098
|
-
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw",
|
|
3275
|
+
w: ["auto", "min", "max", "fit", "svw", "lvw", "dvw", L, r]
|
|
3099
3276
|
}],
|
|
3100
3277
|
/**
|
|
3101
3278
|
* Min-Width
|
|
3102
3279
|
* @see https://tailwindcss.com/docs/min-width
|
|
3103
3280
|
*/
|
|
3104
3281
|
"min-w": [{
|
|
3105
|
-
"min-w": [
|
|
3282
|
+
"min-w": [L, r, "min", "max", "fit"]
|
|
3106
3283
|
}],
|
|
3107
3284
|
/**
|
|
3108
3285
|
* Max-Width
|
|
3109
3286
|
* @see https://tailwindcss.com/docs/max-width
|
|
3110
3287
|
*/
|
|
3111
3288
|
"max-w": [{
|
|
3112
|
-
"max-w": [
|
|
3289
|
+
"max-w": [L, r, "none", "full", "min", "max", "fit", "prose", {
|
|
3113
3290
|
screen: [Ae]
|
|
3114
3291
|
}, Ae]
|
|
3115
3292
|
}],
|
|
@@ -3118,28 +3295,28 @@ function Co() {
|
|
|
3118
3295
|
* @see https://tailwindcss.com/docs/height
|
|
3119
3296
|
*/
|
|
3120
3297
|
h: [{
|
|
3121
|
-
h: [
|
|
3298
|
+
h: [L, r, "auto", "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
3122
3299
|
}],
|
|
3123
3300
|
/**
|
|
3124
3301
|
* Min-Height
|
|
3125
3302
|
* @see https://tailwindcss.com/docs/min-height
|
|
3126
3303
|
*/
|
|
3127
3304
|
"min-h": [{
|
|
3128
|
-
"min-h": [
|
|
3305
|
+
"min-h": [L, r, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
3129
3306
|
}],
|
|
3130
3307
|
/**
|
|
3131
3308
|
* Max-Height
|
|
3132
3309
|
* @see https://tailwindcss.com/docs/max-height
|
|
3133
3310
|
*/
|
|
3134
3311
|
"max-h": [{
|
|
3135
|
-
"max-h": [
|
|
3312
|
+
"max-h": [L, r, "min", "max", "fit", "svh", "lvh", "dvh"]
|
|
3136
3313
|
}],
|
|
3137
3314
|
/**
|
|
3138
3315
|
* Size
|
|
3139
3316
|
* @see https://tailwindcss.com/docs/size
|
|
3140
3317
|
*/
|
|
3141
3318
|
size: [{
|
|
3142
|
-
size: [
|
|
3319
|
+
size: [L, r, "auto", "min", "max", "fit"]
|
|
3143
3320
|
}],
|
|
3144
3321
|
// Typography
|
|
3145
3322
|
/**
|
|
@@ -3208,35 +3385,35 @@ function Co() {
|
|
|
3208
3385
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
3209
3386
|
*/
|
|
3210
3387
|
tracking: [{
|
|
3211
|
-
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest",
|
|
3388
|
+
tracking: ["tighter", "tight", "normal", "wide", "wider", "widest", L]
|
|
3212
3389
|
}],
|
|
3213
3390
|
/**
|
|
3214
3391
|
* Line Clamp
|
|
3215
3392
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
3216
3393
|
*/
|
|
3217
3394
|
"line-clamp": [{
|
|
3218
|
-
"line-clamp": ["none",
|
|
3395
|
+
"line-clamp": ["none", _e, gr]
|
|
3219
3396
|
}],
|
|
3220
3397
|
/**
|
|
3221
3398
|
* Line Height
|
|
3222
3399
|
* @see https://tailwindcss.com/docs/line-height
|
|
3223
3400
|
*/
|
|
3224
3401
|
leading: [{
|
|
3225
|
-
leading: ["none", "tight", "snug", "normal", "relaxed", "loose",
|
|
3402
|
+
leading: ["none", "tight", "snug", "normal", "relaxed", "loose", Ee, L]
|
|
3226
3403
|
}],
|
|
3227
3404
|
/**
|
|
3228
3405
|
* List Style Image
|
|
3229
3406
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
3230
3407
|
*/
|
|
3231
3408
|
"list-image": [{
|
|
3232
|
-
"list-image": ["none",
|
|
3409
|
+
"list-image": ["none", L]
|
|
3233
3410
|
}],
|
|
3234
3411
|
/**
|
|
3235
3412
|
* List Style Type
|
|
3236
3413
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
3237
3414
|
*/
|
|
3238
3415
|
"list-style-type": [{
|
|
3239
|
-
list: ["none", "disc", "decimal",
|
|
3416
|
+
list: ["none", "disc", "decimal", L]
|
|
3240
3417
|
}],
|
|
3241
3418
|
/**
|
|
3242
3419
|
* List Style Position
|
|
@@ -3258,7 +3435,7 @@ function Co() {
|
|
|
3258
3435
|
* @see https://tailwindcss.com/docs/placeholder-opacity
|
|
3259
3436
|
*/
|
|
3260
3437
|
"placeholder-opacity": [{
|
|
3261
|
-
"placeholder-opacity": [
|
|
3438
|
+
"placeholder-opacity": [k]
|
|
3262
3439
|
}],
|
|
3263
3440
|
/**
|
|
3264
3441
|
* Text Alignment
|
|
@@ -3279,7 +3456,7 @@ function Co() {
|
|
|
3279
3456
|
* @see https://tailwindcss.com/docs/text-opacity
|
|
3280
3457
|
*/
|
|
3281
3458
|
"text-opacity": [{
|
|
3282
|
-
"text-opacity": [
|
|
3459
|
+
"text-opacity": [k]
|
|
3283
3460
|
}],
|
|
3284
3461
|
/**
|
|
3285
3462
|
* Text Decoration
|
|
@@ -3298,14 +3475,14 @@ function Co() {
|
|
|
3298
3475
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
3299
3476
|
*/
|
|
3300
3477
|
"text-decoration-thickness": [{
|
|
3301
|
-
decoration: ["auto", "from-font",
|
|
3478
|
+
decoration: ["auto", "from-font", Ee, Re]
|
|
3302
3479
|
}],
|
|
3303
3480
|
/**
|
|
3304
3481
|
* Text Underline Offset
|
|
3305
3482
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
3306
3483
|
*/
|
|
3307
3484
|
"underline-offset": [{
|
|
3308
|
-
"underline-offset": ["auto",
|
|
3485
|
+
"underline-offset": ["auto", Ee, L]
|
|
3309
3486
|
}],
|
|
3310
3487
|
/**
|
|
3311
3488
|
* Text Decoration Color
|
|
@@ -3343,7 +3520,7 @@ function Co() {
|
|
|
3343
3520
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
3344
3521
|
*/
|
|
3345
3522
|
"vertical-align": [{
|
|
3346
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
3523
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", L]
|
|
3347
3524
|
}],
|
|
3348
3525
|
/**
|
|
3349
3526
|
* Whitespace
|
|
@@ -3371,7 +3548,7 @@ function Co() {
|
|
|
3371
3548
|
* @see https://tailwindcss.com/docs/content
|
|
3372
3549
|
*/
|
|
3373
3550
|
content: [{
|
|
3374
|
-
content: ["none",
|
|
3551
|
+
content: ["none", L]
|
|
3375
3552
|
}],
|
|
3376
3553
|
// Backgrounds
|
|
3377
3554
|
/**
|
|
@@ -3394,7 +3571,7 @@ function Co() {
|
|
|
3394
3571
|
* @see https://tailwindcss.com/docs/background-opacity
|
|
3395
3572
|
*/
|
|
3396
3573
|
"bg-opacity": [{
|
|
3397
|
-
"bg-opacity": [
|
|
3574
|
+
"bg-opacity": [k]
|
|
3398
3575
|
}],
|
|
3399
3576
|
/**
|
|
3400
3577
|
* Background Origin
|
|
@@ -3408,7 +3585,7 @@ function Co() {
|
|
|
3408
3585
|
* @see https://tailwindcss.com/docs/background-position
|
|
3409
3586
|
*/
|
|
3410
3587
|
"bg-position": [{
|
|
3411
|
-
bg: [...G(),
|
|
3588
|
+
bg: [...G(), xo]
|
|
3412
3589
|
}],
|
|
3413
3590
|
/**
|
|
3414
3591
|
* Background Repeat
|
|
@@ -3424,7 +3601,7 @@ function Co() {
|
|
|
3424
3601
|
* @see https://tailwindcss.com/docs/background-size
|
|
3425
3602
|
*/
|
|
3426
3603
|
"bg-size": [{
|
|
3427
|
-
bg: ["auto", "cover", "contain",
|
|
3604
|
+
bg: ["auto", "cover", "contain", vo]
|
|
3428
3605
|
}],
|
|
3429
3606
|
/**
|
|
3430
3607
|
* Background Image
|
|
@@ -3433,7 +3610,7 @@ function Co() {
|
|
|
3433
3610
|
"bg-image": [{
|
|
3434
3611
|
bg: ["none", {
|
|
3435
3612
|
"gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
3436
|
-
},
|
|
3613
|
+
}, ko]
|
|
3437
3614
|
}],
|
|
3438
3615
|
/**
|
|
3439
3616
|
* Background Color
|
|
@@ -3447,21 +3624,21 @@ function Co() {
|
|
|
3447
3624
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
3448
3625
|
*/
|
|
3449
3626
|
"gradient-from-pos": [{
|
|
3450
|
-
from: [
|
|
3627
|
+
from: [v]
|
|
3451
3628
|
}],
|
|
3452
3629
|
/**
|
|
3453
3630
|
* Gradient Color Stops Via Position
|
|
3454
3631
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
3455
3632
|
*/
|
|
3456
3633
|
"gradient-via-pos": [{
|
|
3457
|
-
via: [
|
|
3634
|
+
via: [v]
|
|
3458
3635
|
}],
|
|
3459
3636
|
/**
|
|
3460
3637
|
* Gradient Color Stops To Position
|
|
3461
3638
|
* @see https://tailwindcss.com/docs/gradient-color-stops
|
|
3462
3639
|
*/
|
|
3463
3640
|
"gradient-to-pos": [{
|
|
3464
|
-
to: [
|
|
3641
|
+
to: [v]
|
|
3465
3642
|
}],
|
|
3466
3643
|
/**
|
|
3467
3644
|
* Gradient Color Stops From
|
|
@@ -3658,7 +3835,7 @@ function Co() {
|
|
|
3658
3835
|
* @see https://tailwindcss.com/docs/border-opacity
|
|
3659
3836
|
*/
|
|
3660
3837
|
"border-opacity": [{
|
|
3661
|
-
"border-opacity": [
|
|
3838
|
+
"border-opacity": [k]
|
|
3662
3839
|
}],
|
|
3663
3840
|
/**
|
|
3664
3841
|
* Border Style
|
|
@@ -3696,7 +3873,7 @@ function Co() {
|
|
|
3696
3873
|
* @see https://tailwindcss.com/docs/divide-opacity
|
|
3697
3874
|
*/
|
|
3698
3875
|
"divide-opacity": [{
|
|
3699
|
-
"divide-opacity": [
|
|
3876
|
+
"divide-opacity": [k]
|
|
3700
3877
|
}],
|
|
3701
3878
|
/**
|
|
3702
3879
|
* Divide Style
|
|
@@ -3773,14 +3950,14 @@ function Co() {
|
|
|
3773
3950
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
3774
3951
|
*/
|
|
3775
3952
|
"outline-offset": [{
|
|
3776
|
-
"outline-offset": [
|
|
3953
|
+
"outline-offset": [Ee, L]
|
|
3777
3954
|
}],
|
|
3778
3955
|
/**
|
|
3779
3956
|
* Outline Width
|
|
3780
3957
|
* @see https://tailwindcss.com/docs/outline-width
|
|
3781
3958
|
*/
|
|
3782
3959
|
"outline-w": [{
|
|
3783
|
-
outline: [
|
|
3960
|
+
outline: [Ee, Re]
|
|
3784
3961
|
}],
|
|
3785
3962
|
/**
|
|
3786
3963
|
* Outline Color
|
|
@@ -3813,14 +3990,14 @@ function Co() {
|
|
|
3813
3990
|
* @see https://tailwindcss.com/docs/ring-opacity
|
|
3814
3991
|
*/
|
|
3815
3992
|
"ring-opacity": [{
|
|
3816
|
-
"ring-opacity": [
|
|
3993
|
+
"ring-opacity": [k]
|
|
3817
3994
|
}],
|
|
3818
3995
|
/**
|
|
3819
3996
|
* Ring Offset Width
|
|
3820
3997
|
* @see https://tailwindcss.com/docs/ring-offset-width
|
|
3821
3998
|
*/
|
|
3822
3999
|
"ring-offset-w": [{
|
|
3823
|
-
"ring-offset": [
|
|
4000
|
+
"ring-offset": [Ee, Re]
|
|
3824
4001
|
}],
|
|
3825
4002
|
/**
|
|
3826
4003
|
* Ring Offset Color
|
|
@@ -3835,7 +4012,7 @@ function Co() {
|
|
|
3835
4012
|
* @see https://tailwindcss.com/docs/box-shadow
|
|
3836
4013
|
*/
|
|
3837
4014
|
shadow: [{
|
|
3838
|
-
shadow: ["", "inner", "none", Ae,
|
|
4015
|
+
shadow: ["", "inner", "none", Ae, wo]
|
|
3839
4016
|
}],
|
|
3840
4017
|
/**
|
|
3841
4018
|
* Box Shadow Color
|
|
@@ -3849,7 +4026,7 @@ function Co() {
|
|
|
3849
4026
|
* @see https://tailwindcss.com/docs/opacity
|
|
3850
4027
|
*/
|
|
3851
4028
|
opacity: [{
|
|
3852
|
-
opacity: [
|
|
4029
|
+
opacity: [k]
|
|
3853
4030
|
}],
|
|
3854
4031
|
/**
|
|
3855
4032
|
* Mix Blend Mode
|
|
@@ -3900,21 +4077,21 @@ function Co() {
|
|
|
3900
4077
|
* @see https://tailwindcss.com/docs/drop-shadow
|
|
3901
4078
|
*/
|
|
3902
4079
|
"drop-shadow": [{
|
|
3903
|
-
"drop-shadow": ["", "none", Ae,
|
|
4080
|
+
"drop-shadow": ["", "none", Ae, L]
|
|
3904
4081
|
}],
|
|
3905
4082
|
/**
|
|
3906
4083
|
* Grayscale
|
|
3907
4084
|
* @see https://tailwindcss.com/docs/grayscale
|
|
3908
4085
|
*/
|
|
3909
4086
|
grayscale: [{
|
|
3910
|
-
grayscale: [
|
|
4087
|
+
grayscale: [f]
|
|
3911
4088
|
}],
|
|
3912
4089
|
/**
|
|
3913
4090
|
* Hue Rotate
|
|
3914
4091
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
3915
4092
|
*/
|
|
3916
4093
|
"hue-rotate": [{
|
|
3917
|
-
"hue-rotate": [
|
|
4094
|
+
"hue-rotate": [u]
|
|
3918
4095
|
}],
|
|
3919
4096
|
/**
|
|
3920
4097
|
* Invert
|
|
@@ -3935,7 +4112,7 @@ function Co() {
|
|
|
3935
4112
|
* @see https://tailwindcss.com/docs/sepia
|
|
3936
4113
|
*/
|
|
3937
4114
|
sepia: [{
|
|
3938
|
-
sepia: [
|
|
4115
|
+
sepia: [Z]
|
|
3939
4116
|
}],
|
|
3940
4117
|
/**
|
|
3941
4118
|
* Backdrop Filter
|
|
@@ -3971,14 +4148,14 @@ function Co() {
|
|
|
3971
4148
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
3972
4149
|
*/
|
|
3973
4150
|
"backdrop-grayscale": [{
|
|
3974
|
-
"backdrop-grayscale": [
|
|
4151
|
+
"backdrop-grayscale": [f]
|
|
3975
4152
|
}],
|
|
3976
4153
|
/**
|
|
3977
4154
|
* Backdrop Hue Rotate
|
|
3978
4155
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
3979
4156
|
*/
|
|
3980
4157
|
"backdrop-hue-rotate": [{
|
|
3981
|
-
"backdrop-hue-rotate": [
|
|
4158
|
+
"backdrop-hue-rotate": [u]
|
|
3982
4159
|
}],
|
|
3983
4160
|
/**
|
|
3984
4161
|
* Backdrop Invert
|
|
@@ -3992,7 +4169,7 @@ function Co() {
|
|
|
3992
4169
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
3993
4170
|
*/
|
|
3994
4171
|
"backdrop-opacity": [{
|
|
3995
|
-
"backdrop-opacity": [
|
|
4172
|
+
"backdrop-opacity": [k]
|
|
3996
4173
|
}],
|
|
3997
4174
|
/**
|
|
3998
4175
|
* Backdrop Saturate
|
|
@@ -4006,7 +4183,7 @@ function Co() {
|
|
|
4006
4183
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
4007
4184
|
*/
|
|
4008
4185
|
"backdrop-sepia": [{
|
|
4009
|
-
"backdrop-sepia": [
|
|
4186
|
+
"backdrop-sepia": [Z]
|
|
4010
4187
|
}],
|
|
4011
4188
|
// Tables
|
|
4012
4189
|
/**
|
|
@@ -4057,7 +4234,7 @@ function Co() {
|
|
|
4057
4234
|
* @see https://tailwindcss.com/docs/transition-property
|
|
4058
4235
|
*/
|
|
4059
4236
|
transition: [{
|
|
4060
|
-
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform",
|
|
4237
|
+
transition: ["none", "all", "", "colors", "opacity", "shadow", "transform", L]
|
|
4061
4238
|
}],
|
|
4062
4239
|
/**
|
|
4063
4240
|
* Transition Duration
|
|
@@ -4071,7 +4248,7 @@ function Co() {
|
|
|
4071
4248
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
4072
4249
|
*/
|
|
4073
4250
|
ease: [{
|
|
4074
|
-
ease: ["linear", "in", "out", "in-out",
|
|
4251
|
+
ease: ["linear", "in", "out", "in-out", L]
|
|
4075
4252
|
}],
|
|
4076
4253
|
/**
|
|
4077
4254
|
* Transition Delay
|
|
@@ -4085,7 +4262,7 @@ function Co() {
|
|
|
4085
4262
|
* @see https://tailwindcss.com/docs/animation
|
|
4086
4263
|
*/
|
|
4087
4264
|
animate: [{
|
|
4088
|
-
animate: ["none", "spin", "ping", "pulse", "bounce",
|
|
4265
|
+
animate: ["none", "spin", "ping", "pulse", "bounce", L]
|
|
4089
4266
|
}],
|
|
4090
4267
|
// Transforms
|
|
4091
4268
|
/**
|
|
@@ -4121,42 +4298,42 @@ function Co() {
|
|
|
4121
4298
|
* @see https://tailwindcss.com/docs/rotate
|
|
4122
4299
|
*/
|
|
4123
4300
|
rotate: [{
|
|
4124
|
-
rotate: [tr,
|
|
4301
|
+
rotate: [tr, L]
|
|
4125
4302
|
}],
|
|
4126
4303
|
/**
|
|
4127
4304
|
* Translate X
|
|
4128
4305
|
* @see https://tailwindcss.com/docs/translate
|
|
4129
4306
|
*/
|
|
4130
4307
|
"translate-x": [{
|
|
4131
|
-
"translate-x": [
|
|
4308
|
+
"translate-x": [Y]
|
|
4132
4309
|
}],
|
|
4133
4310
|
/**
|
|
4134
4311
|
* Translate Y
|
|
4135
4312
|
* @see https://tailwindcss.com/docs/translate
|
|
4136
4313
|
*/
|
|
4137
4314
|
"translate-y": [{
|
|
4138
|
-
"translate-y": [
|
|
4315
|
+
"translate-y": [Y]
|
|
4139
4316
|
}],
|
|
4140
4317
|
/**
|
|
4141
4318
|
* Skew X
|
|
4142
4319
|
* @see https://tailwindcss.com/docs/skew
|
|
4143
4320
|
*/
|
|
4144
4321
|
"skew-x": [{
|
|
4145
|
-
"skew-x": [
|
|
4322
|
+
"skew-x": [we]
|
|
4146
4323
|
}],
|
|
4147
4324
|
/**
|
|
4148
4325
|
* Skew Y
|
|
4149
4326
|
* @see https://tailwindcss.com/docs/skew
|
|
4150
4327
|
*/
|
|
4151
4328
|
"skew-y": [{
|
|
4152
|
-
"skew-y": [
|
|
4329
|
+
"skew-y": [we]
|
|
4153
4330
|
}],
|
|
4154
4331
|
/**
|
|
4155
4332
|
* Transform Origin
|
|
4156
4333
|
* @see https://tailwindcss.com/docs/transform-origin
|
|
4157
4334
|
*/
|
|
4158
4335
|
"transform-origin": [{
|
|
4159
|
-
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left",
|
|
4336
|
+
origin: ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", L]
|
|
4160
4337
|
}],
|
|
4161
4338
|
// Interactivity
|
|
4162
4339
|
/**
|
|
@@ -4178,7 +4355,7 @@ function Co() {
|
|
|
4178
4355
|
* @see https://tailwindcss.com/docs/cursor
|
|
4179
4356
|
*/
|
|
4180
4357
|
cursor: [{
|
|
4181
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
4358
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", L]
|
|
4182
4359
|
}],
|
|
4183
4360
|
/**
|
|
4184
4361
|
* Caret Color
|
|
@@ -4400,7 +4577,7 @@ function Co() {
|
|
|
4400
4577
|
* @see https://tailwindcss.com/docs/will-change
|
|
4401
4578
|
*/
|
|
4402
4579
|
"will-change": [{
|
|
4403
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
4580
|
+
"will-change": ["auto", "scroll", "contents", "transform", L]
|
|
4404
4581
|
}],
|
|
4405
4582
|
// SVG
|
|
4406
4583
|
/**
|
|
@@ -4415,7 +4592,7 @@ function Co() {
|
|
|
4415
4592
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
4416
4593
|
*/
|
|
4417
4594
|
"stroke-w": [{
|
|
4418
|
-
stroke: [
|
|
4595
|
+
stroke: [Ee, Re, gr]
|
|
4419
4596
|
}],
|
|
4420
4597
|
/**
|
|
4421
4598
|
* Stroke
|
|
@@ -4491,8 +4668,8 @@ function Co() {
|
|
|
4491
4668
|
}
|
|
4492
4669
|
};
|
|
4493
4670
|
}
|
|
4494
|
-
const
|
|
4495
|
-
function
|
|
4671
|
+
const D = /* @__PURE__ */ io(Eo);
|
|
4672
|
+
function $o() {
|
|
4496
4673
|
return Math.floor(Math.random() * 1e7);
|
|
4497
4674
|
}
|
|
4498
4675
|
const Ht = (e, r, n, t, s) => {
|
|
@@ -4559,7 +4736,7 @@ const Ht = (e, r, n, t, s) => {
|
|
|
4559
4736
|
}
|
|
4560
4737
|
),
|
|
4561
4738
|
delete: /* @__PURE__ */ i.jsx(
|
|
4562
|
-
|
|
4739
|
+
ks,
|
|
4563
4740
|
{
|
|
4564
4741
|
width: e,
|
|
4565
4742
|
height: r,
|
|
@@ -4619,7 +4796,7 @@ const Ht = (e, r, n, t, s) => {
|
|
|
4619
4796
|
}
|
|
4620
4797
|
),
|
|
4621
4798
|
calendar: /* @__PURE__ */ i.jsx(
|
|
4622
|
-
|
|
4799
|
+
Ls,
|
|
4623
4800
|
{
|
|
4624
4801
|
width: e,
|
|
4625
4802
|
height: r,
|
|
@@ -4649,7 +4826,7 @@ const Ht = (e, r, n, t, s) => {
|
|
|
4649
4826
|
}
|
|
4650
4827
|
),
|
|
4651
4828
|
add: /* @__PURE__ */ i.jsx(
|
|
4652
|
-
|
|
4829
|
+
Ws,
|
|
4653
4830
|
{
|
|
4654
4831
|
width: e,
|
|
4655
4832
|
height: r,
|
|
@@ -4707,6 +4884,36 @@ const Ht = (e, r, n, t, s) => {
|
|
|
4707
4884
|
title: t,
|
|
4708
4885
|
role: s
|
|
4709
4886
|
}
|
|
4887
|
+
),
|
|
4888
|
+
lockOpened: /* @__PURE__ */ i.jsx(
|
|
4889
|
+
Us,
|
|
4890
|
+
{
|
|
4891
|
+
width: e,
|
|
4892
|
+
height: r,
|
|
4893
|
+
className: o,
|
|
4894
|
+
title: t,
|
|
4895
|
+
role: s
|
|
4896
|
+
}
|
|
4897
|
+
),
|
|
4898
|
+
lockClosed: /* @__PURE__ */ i.jsx(
|
|
4899
|
+
Zs,
|
|
4900
|
+
{
|
|
4901
|
+
width: e,
|
|
4902
|
+
height: r,
|
|
4903
|
+
className: o,
|
|
4904
|
+
title: t,
|
|
4905
|
+
role: s
|
|
4906
|
+
}
|
|
4907
|
+
),
|
|
4908
|
+
check: /* @__PURE__ */ i.jsx(
|
|
4909
|
+
Hs,
|
|
4910
|
+
{
|
|
4911
|
+
width: e,
|
|
4912
|
+
height: r,
|
|
4913
|
+
className: o,
|
|
4914
|
+
title: t,
|
|
4915
|
+
role: s
|
|
4916
|
+
}
|
|
4710
4917
|
)
|
|
4711
4918
|
};
|
|
4712
4919
|
}, zt = (e, r, n, t, s) => {
|
|
@@ -4791,7 +4998,7 @@ const Ht = (e, r, n, t, s) => {
|
|
|
4791
4998
|
}
|
|
4792
4999
|
)
|
|
4793
5000
|
};
|
|
4794
|
-
},
|
|
5001
|
+
}, Mo = ({
|
|
4795
5002
|
size: e = "small",
|
|
4796
5003
|
name: r,
|
|
4797
5004
|
hasIndicator: n = !1,
|
|
@@ -4815,22 +5022,22 @@ const Ht = (e, r, n, t, s) => {
|
|
|
4815
5022
|
t,
|
|
4816
5023
|
s,
|
|
4817
5024
|
o
|
|
4818
|
-
),
|
|
5025
|
+
), f = zt(
|
|
4819
5026
|
l[e].width,
|
|
4820
5027
|
l[e].height,
|
|
4821
5028
|
t,
|
|
4822
5029
|
s,
|
|
4823
5030
|
o
|
|
4824
|
-
),
|
|
5031
|
+
), u = Ut(
|
|
4825
5032
|
l[e].width,
|
|
4826
5033
|
l[e].height,
|
|
4827
5034
|
t,
|
|
4828
5035
|
s,
|
|
4829
5036
|
o,
|
|
4830
5037
|
a
|
|
4831
|
-
), p = n && !a ?
|
|
5038
|
+
), p = n && !a ? f[r] || c[r] : a && u[r] || c[r];
|
|
4832
5039
|
return /* @__PURE__ */ i.jsx(i.Fragment, { children: p });
|
|
4833
|
-
},
|
|
5040
|
+
}, Te = Mo;
|
|
4834
5041
|
Object.keys(Ht()).sort(
|
|
4835
5042
|
(e, r) => e.localeCompare(r)
|
|
4836
5043
|
);
|
|
@@ -4854,12 +5061,12 @@ function Gt(e) {
|
|
|
4854
5061
|
e[n] && (t && (t += " "), t += n);
|
|
4855
5062
|
return t;
|
|
4856
5063
|
}
|
|
4857
|
-
function
|
|
5064
|
+
function No() {
|
|
4858
5065
|
for (var e, r, n = 0, t = "", s = arguments.length; n < s; n++)
|
|
4859
5066
|
(e = arguments[n]) && (r = Gt(e)) && (t && (t += " "), t += r);
|
|
4860
5067
|
return t;
|
|
4861
5068
|
}
|
|
4862
|
-
const Vr = (...e) =>
|
|
5069
|
+
const Vr = (...e) => D(No(...e)), Zt = (e, r, n) => {
|
|
4863
5070
|
if (r) {
|
|
4864
5071
|
e.preventDefault();
|
|
4865
5072
|
return;
|
|
@@ -4871,7 +5078,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
4871
5078
|
return;
|
|
4872
5079
|
}
|
|
4873
5080
|
n(e);
|
|
4874
|
-
},
|
|
5081
|
+
}, To = F(
|
|
4875
5082
|
[
|
|
4876
5083
|
"preflight",
|
|
4877
5084
|
"!ds-font-sans",
|
|
@@ -4932,7 +5139,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
4932
5139
|
}
|
|
4933
5140
|
]
|
|
4934
5141
|
}
|
|
4935
|
-
),
|
|
5142
|
+
), So = ({
|
|
4936
5143
|
variant: e = "default",
|
|
4937
5144
|
label: r = "",
|
|
4938
5145
|
disabled: n = !1,
|
|
@@ -4942,8 +5149,8 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
4942
5149
|
iconSize: a = "medium",
|
|
4943
5150
|
hasIndicator: l = !1,
|
|
4944
5151
|
hasTooltip: c = !0,
|
|
4945
|
-
isTransparent:
|
|
4946
|
-
iconColor:
|
|
5152
|
+
isTransparent: f = !0,
|
|
5153
|
+
iconColor: u = "",
|
|
4947
5154
|
...p
|
|
4948
5155
|
}) => /* @__PURE__ */ i.jsxs(
|
|
4949
5156
|
"button",
|
|
@@ -4951,16 +5158,16 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
4951
5158
|
onClick: (m) => jr(m, n, s),
|
|
4952
5159
|
"aria-disabled": n,
|
|
4953
5160
|
"aria-label": r,
|
|
4954
|
-
className: Vr(
|
|
5161
|
+
className: Vr(To({ variant: e, isTransparent: f, disabled: n }), t),
|
|
4955
5162
|
...p,
|
|
4956
5163
|
children: [
|
|
4957
5164
|
/* @__PURE__ */ i.jsx(
|
|
4958
|
-
|
|
5165
|
+
Te,
|
|
4959
5166
|
{
|
|
4960
5167
|
size: e === "small" ? "small" : a,
|
|
4961
5168
|
name: o != null ? o : "edit",
|
|
4962
5169
|
hasIndicator: l,
|
|
4963
|
-
className: n ? "ds-text-neutrals-dark" :
|
|
5170
|
+
className: n ? "ds-text-neutrals-dark" : u && u !== "" ? u : "ds-text-neutrals-black",
|
|
4964
5171
|
altText: r
|
|
4965
5172
|
}
|
|
4966
5173
|
),
|
|
@@ -4974,7 +5181,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
4974
5181
|
)
|
|
4975
5182
|
]
|
|
4976
5183
|
}
|
|
4977
|
-
), et =
|
|
5184
|
+
), et = So, Ro = F(
|
|
4978
5185
|
[
|
|
4979
5186
|
"preflight",
|
|
4980
5187
|
"ds-flex",
|
|
@@ -4998,7 +5205,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
4998
5205
|
}
|
|
4999
5206
|
}
|
|
5000
5207
|
}
|
|
5001
|
-
),
|
|
5208
|
+
), Ao = (e) => D(Ro(e)), Po = F("", {
|
|
5002
5209
|
variants: {
|
|
5003
5210
|
variant: {
|
|
5004
5211
|
success: "ds-text-success-green-dark",
|
|
@@ -5007,7 +5214,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5007
5214
|
error: "ds-text-danger-red-dark"
|
|
5008
5215
|
}
|
|
5009
5216
|
}
|
|
5010
|
-
}),
|
|
5217
|
+
}), Tt = (e) => D(Po(e)), Fo = F("", {
|
|
5011
5218
|
variants: {
|
|
5012
5219
|
variant: {
|
|
5013
5220
|
success: ["ds-text-success-green-darkest", "ds-stroke-success-green-darkest"],
|
|
@@ -5016,7 +5223,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5016
5223
|
error: ["ds-text-danger-red-darkest", "ds-stroke-danger-red-darkest"]
|
|
5017
5224
|
}
|
|
5018
5225
|
}
|
|
5019
|
-
}), ze = (e) =>
|
|
5226
|
+
}), ze = (e) => D(Fo(e)), Oo = ({
|
|
5020
5227
|
variant: e = "info",
|
|
5021
5228
|
isDismissible: r = !0,
|
|
5022
5229
|
showIcon: n = !0,
|
|
@@ -5025,9 +5232,9 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5025
5232
|
description: o = "",
|
|
5026
5233
|
content: a = void 0,
|
|
5027
5234
|
closeAriaLabel: l = "Close button",
|
|
5028
|
-
id: c = "alert_" +
|
|
5029
|
-
handleClose:
|
|
5030
|
-
...
|
|
5235
|
+
id: c = "alert_" + $o().toString(),
|
|
5236
|
+
handleClose: f,
|
|
5237
|
+
...u
|
|
5031
5238
|
}) => {
|
|
5032
5239
|
const p = {
|
|
5033
5240
|
success: /* @__PURE__ */ i.jsx(Kr, { className: ze({ variant: e }) }),
|
|
@@ -5035,7 +5242,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5035
5242
|
warning: /* @__PURE__ */ i.jsx(Jr, { className: ze({ variant: e }) }),
|
|
5036
5243
|
error: /* @__PURE__ */ i.jsx(Xr, { className: ze({ variant: e }) })
|
|
5037
5244
|
}, m = () => a !== void 0 && o !== "" && !(t !== "none" || s !== ""), b = () => t === "large" ? "ds-flex-col ds-flex ds-gap-3" : t === "small" ? "ds-flex-row ds-flex ds-gap-3" : "ds-flex";
|
|
5038
|
-
return /* @__PURE__ */ i.jsxs("div", { id: c, className:
|
|
5245
|
+
return /* @__PURE__ */ i.jsxs("div", { id: c, className: Ao({ variant: e }), ...u, children: [
|
|
5039
5246
|
/* @__PURE__ */ i.jsxs("div", { className: "ds-flex ds-flex-row", children: [
|
|
5040
5247
|
n && /* @__PURE__ */ i.jsx(
|
|
5041
5248
|
"div",
|
|
@@ -5057,7 +5264,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5057
5264
|
children: s
|
|
5058
5265
|
}
|
|
5059
5266
|
),
|
|
5060
|
-
/* @__PURE__ */ i.jsxs("div", { className:
|
|
5267
|
+
/* @__PURE__ */ i.jsxs("div", { className: Tt({ variant: e }), children: [
|
|
5061
5268
|
t !== "none" && s !== "" && /* @__PURE__ */ i.jsx(
|
|
5062
5269
|
"span",
|
|
5063
5270
|
{
|
|
@@ -5077,7 +5284,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5077
5284
|
a && /* @__PURE__ */ i.jsx(
|
|
5078
5285
|
"div",
|
|
5079
5286
|
{
|
|
5080
|
-
className: `${
|
|
5287
|
+
className: `${Tt({ variant: e })} ${m() ? "ds-mt-3" : ""}`,
|
|
5081
5288
|
children: a
|
|
5082
5289
|
}
|
|
5083
5290
|
)
|
|
@@ -5095,11 +5302,11 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5095
5302
|
label: l,
|
|
5096
5303
|
disabled: !1,
|
|
5097
5304
|
iconColor: ze({ variant: e }),
|
|
5098
|
-
onClick:
|
|
5305
|
+
onClick: f
|
|
5099
5306
|
}
|
|
5100
5307
|
) })
|
|
5101
5308
|
] });
|
|
5102
|
-
},
|
|
5309
|
+
}, Ml = Oo, Yt = [
|
|
5103
5310
|
"preflight",
|
|
5104
5311
|
// Need to specify the font because disabling preflight makes the button not inherit the font
|
|
5105
5312
|
// Lato is defined as font-sans in our tailwind theme configuration
|
|
@@ -5116,7 +5323,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5116
5323
|
"focus-visible:ds-ring-2",
|
|
5117
5324
|
"focus-visible:ds-outline-none",
|
|
5118
5325
|
"focus-visible:ds-ring-offset-2"
|
|
5119
|
-
],
|
|
5326
|
+
], Wo = [
|
|
5120
5327
|
"!ds-bg-neutrals-lighter",
|
|
5121
5328
|
"!ds-text-neutrals-dark",
|
|
5122
5329
|
"!ds-border-neutrals-light",
|
|
@@ -5126,8 +5333,8 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5126
5333
|
"!hover:ds-text-neutrals-dark",
|
|
5127
5334
|
"!focus-visible:ds-ring-neutrals-black",
|
|
5128
5335
|
"!focus-visible:ds-border-neutrals-light"
|
|
5129
|
-
],
|
|
5130
|
-
...
|
|
5336
|
+
], _o = [
|
|
5337
|
+
...Yt,
|
|
5131
5338
|
"ds-p-1",
|
|
5132
5339
|
"!ds-bg-neutrals-lighter",
|
|
5133
5340
|
"!ds-text-neutrals-dark",
|
|
@@ -5137,7 +5344,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5137
5344
|
"focus-visible:ds-ring-neutrals-black",
|
|
5138
5345
|
"!focus-visible:ds-border-neutrals-light",
|
|
5139
5346
|
"active:ds-border-neutrals-lighter"
|
|
5140
|
-
],
|
|
5347
|
+
], Io = F(Yt, {
|
|
5141
5348
|
variants: {
|
|
5142
5349
|
variant: {
|
|
5143
5350
|
primary: [
|
|
@@ -5203,7 +5410,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5203
5410
|
]
|
|
5204
5411
|
},
|
|
5205
5412
|
disabled: {
|
|
5206
|
-
true:
|
|
5413
|
+
true: Wo,
|
|
5207
5414
|
false: []
|
|
5208
5415
|
}
|
|
5209
5416
|
},
|
|
@@ -5224,7 +5431,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5224
5431
|
class: "focus-visible:ds-ring-neutrals-black"
|
|
5225
5432
|
}
|
|
5226
5433
|
]
|
|
5227
|
-
}),
|
|
5434
|
+
}), Vo = (e, r, n) => e === "inline" && r === !0 ? Vr(_o) : Vr(Io({ variant: e, disabled: r }), n), Do = ({
|
|
5228
5435
|
variant: e = "primary",
|
|
5229
5436
|
text: r,
|
|
5230
5437
|
label: n = "",
|
|
@@ -5234,19 +5441,19 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5234
5441
|
iconName: a,
|
|
5235
5442
|
iconIndicator: l = !1,
|
|
5236
5443
|
leadingIcon: c = !1,
|
|
5237
|
-
trailingIcon:
|
|
5238
|
-
...
|
|
5444
|
+
trailingIcon: f = !1,
|
|
5445
|
+
...u
|
|
5239
5446
|
}) => /* @__PURE__ */ i.jsx(i.Fragment, { children: /* @__PURE__ */ i.jsx(
|
|
5240
5447
|
"button",
|
|
5241
5448
|
{
|
|
5242
5449
|
"aria-disabled": t,
|
|
5243
5450
|
onClick: (p) => jr(p, t, o),
|
|
5244
|
-
className:
|
|
5451
|
+
className: Vo(e, t, s),
|
|
5245
5452
|
"aria-label": n,
|
|
5246
|
-
...
|
|
5453
|
+
...u,
|
|
5247
5454
|
children: /* @__PURE__ */ i.jsxs("div", { className: "ds-flex ds-flex-wrap ds-content-center ds-justify-center", children: [
|
|
5248
5455
|
c && /* @__PURE__ */ i.jsx(
|
|
5249
|
-
|
|
5456
|
+
Te,
|
|
5250
5457
|
{
|
|
5251
5458
|
size: "small",
|
|
5252
5459
|
name: a != null ? a : "edit",
|
|
@@ -5256,8 +5463,8 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5256
5463
|
}
|
|
5257
5464
|
),
|
|
5258
5465
|
/* @__PURE__ */ i.jsx("span", { children: r }),
|
|
5259
|
-
|
|
5260
|
-
|
|
5466
|
+
f && /* @__PURE__ */ i.jsx(
|
|
5467
|
+
Te,
|
|
5261
5468
|
{
|
|
5262
5469
|
size: "small",
|
|
5263
5470
|
name: a != null ? a : "edit",
|
|
@@ -5268,7 +5475,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5268
5475
|
)
|
|
5269
5476
|
] })
|
|
5270
5477
|
}
|
|
5271
|
-
) }),
|
|
5478
|
+
) }), Nl = Do, Bo = ({
|
|
5272
5479
|
content: e = void 0,
|
|
5273
5480
|
iconName: r = void 0,
|
|
5274
5481
|
title: n = "",
|
|
@@ -5279,14 +5486,14 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5279
5486
|
"div",
|
|
5280
5487
|
{
|
|
5281
5488
|
...o,
|
|
5282
|
-
className:
|
|
5489
|
+
className: D(
|
|
5283
5490
|
"preflight ds-flex ds-flex-col ds-items-start ds-gap-6 ds-rounded-lg ds-border ds-border-neutrals-light ds-p-5",
|
|
5284
5491
|
s
|
|
5285
5492
|
),
|
|
5286
5493
|
children: [
|
|
5287
5494
|
n && /* @__PURE__ */ i.jsxs("div", { className: "ds-flex ds-flex-row ds-items-center ds-gap-3", children: [
|
|
5288
5495
|
r && /* @__PURE__ */ i.jsx(
|
|
5289
|
-
|
|
5496
|
+
Te,
|
|
5290
5497
|
{
|
|
5291
5498
|
size: "medium",
|
|
5292
5499
|
name: r,
|
|
@@ -5301,7 +5508,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5301
5508
|
t && /* @__PURE__ */ i.jsx("div", { children: t })
|
|
5302
5509
|
]
|
|
5303
5510
|
}
|
|
5304
|
-
),
|
|
5511
|
+
), Tl = Bo, Ho = F(
|
|
5305
5512
|
[
|
|
5306
5513
|
"preflight",
|
|
5307
5514
|
"ds-h-4",
|
|
@@ -5329,7 +5536,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5329
5536
|
}
|
|
5330
5537
|
}
|
|
5331
5538
|
}
|
|
5332
|
-
), qt = (e) =>
|
|
5539
|
+
), qt = (e) => D(Ho(e)), zo = F(
|
|
5333
5540
|
["preflight", "ds-font-base", "!ds-font-sans", "ds-ml-2", "ds-text-base"],
|
|
5334
5541
|
{
|
|
5335
5542
|
variants: {
|
|
@@ -5339,7 +5546,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5339
5546
|
}
|
|
5340
5547
|
}
|
|
5341
5548
|
}
|
|
5342
|
-
), Kt = (e) =>
|
|
5549
|
+
), Kt = (e) => D(zo(e)), rt = {
|
|
5343
5550
|
variants: {
|
|
5344
5551
|
state: {
|
|
5345
5552
|
default: [
|
|
@@ -5378,7 +5585,7 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5378
5585
|
]
|
|
5379
5586
|
}
|
|
5380
5587
|
}
|
|
5381
|
-
},
|
|
5588
|
+
}, Uo = ({
|
|
5382
5589
|
id: e,
|
|
5383
5590
|
label: r = "",
|
|
5384
5591
|
name: n = "",
|
|
@@ -5390,37 +5597,41 @@ const Vr = (...e) => H(yo(...e)), Yt = (e, r, n) => {
|
|
|
5390
5597
|
onClick: l = () => {
|
|
5391
5598
|
},
|
|
5392
5599
|
...c
|
|
5393
|
-
}) =>
|
|
5394
|
-
|
|
5395
|
-
|
|
5396
|
-
|
|
5397
|
-
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
|
|
5402
|
-
|
|
5403
|
-
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5600
|
+
}) => {
|
|
5601
|
+
const f = c["aria-label"] || r || "checkbox_" + e;
|
|
5602
|
+
return /* @__PURE__ */ i.jsxs("div", { className: "ds-items-top ds-flex", children: [
|
|
5603
|
+
/* @__PURE__ */ i.jsx(
|
|
5604
|
+
"input",
|
|
5605
|
+
{
|
|
5606
|
+
id: e,
|
|
5607
|
+
name: n,
|
|
5608
|
+
"aria-label": f,
|
|
5609
|
+
"aria-disabled": s,
|
|
5610
|
+
type: "checkbox",
|
|
5611
|
+
className: `ds-form-checkbox ds-mt-1 ${qt({ disabled: s })} ds-rounded`,
|
|
5612
|
+
checked: t,
|
|
5613
|
+
ref: (u) => u && (u.indeterminate = o),
|
|
5614
|
+
onClick: (u) => jr(u, s, l),
|
|
5615
|
+
onChange: (u) => Zt(u, s, a),
|
|
5616
|
+
...c
|
|
5617
|
+
}
|
|
5618
|
+
),
|
|
5619
|
+
r && /* @__PURE__ */ i.jsx("label", { htmlFor: e, className: Kt({ disabled: s }), children: r })
|
|
5620
|
+
] });
|
|
5621
|
+
}, Sl = Uo, De = "large", Ze = "medium", Ye = "small", qe = "extra-large", St = "h1", Go = "h2", Zo = "h3", Yo = "div";
|
|
5622
|
+
function qo(e) {
|
|
5412
5623
|
return {
|
|
5413
5624
|
[De]: St,
|
|
5414
|
-
[
|
|
5415
|
-
[
|
|
5416
|
-
[qe]:
|
|
5625
|
+
[Ze]: Go,
|
|
5626
|
+
[Ye]: Zo,
|
|
5627
|
+
[qe]: Yo
|
|
5417
5628
|
}[e] || St;
|
|
5418
5629
|
}
|
|
5419
|
-
const
|
|
5630
|
+
const Ko = F("preflight !ds-font-sans", {
|
|
5420
5631
|
variants: {
|
|
5421
5632
|
size: {
|
|
5422
|
-
[
|
|
5423
|
-
[
|
|
5633
|
+
[Ye]: "ds-mb-3",
|
|
5634
|
+
[Ze]: "ds-mb-5",
|
|
5424
5635
|
[De]: "ds-mb-5",
|
|
5425
5636
|
[qe]: "ds-mb-6"
|
|
5426
5637
|
}
|
|
@@ -5428,40 +5639,40 @@ const zo = F("preflight !ds-font-sans", {
|
|
|
5428
5639
|
}), br = F("ds-text-neutrals-darker !ds-font-sans", {
|
|
5429
5640
|
variants: {
|
|
5430
5641
|
size: {
|
|
5431
|
-
[
|
|
5432
|
-
[
|
|
5642
|
+
[Ye]: "ds-text-xl ds-font-semibold",
|
|
5643
|
+
[Ze]: "ds-text-2xl ds-font-semibold",
|
|
5433
5644
|
[De]: "ds-text-3xl ds-font-bold",
|
|
5434
5645
|
[qe]: "ds-text-4xl ds-font-semibold"
|
|
5435
5646
|
}
|
|
5436
5647
|
}
|
|
5437
|
-
}),
|
|
5648
|
+
}), Jo = F("ds-mt-0 ds-font-bold ds-text-neutrals-dark", {
|
|
5438
5649
|
variants: {
|
|
5439
5650
|
size: {
|
|
5440
|
-
[
|
|
5441
|
-
[
|
|
5651
|
+
[Ye]: "ds-mb-1 ds-text-sm",
|
|
5652
|
+
[Ze]: "ds-mb-2 ds-text-sm",
|
|
5442
5653
|
[De]: "ds-mb-2 ds-text-base",
|
|
5443
5654
|
[qe]: "ds-mb-3 ds-text-base"
|
|
5444
5655
|
}
|
|
5445
5656
|
}
|
|
5446
|
-
}),
|
|
5657
|
+
}), Xo = F("ds-mb-0 ds-text-neutrals-dark", {
|
|
5447
5658
|
variants: {
|
|
5448
5659
|
size: {
|
|
5449
|
-
[
|
|
5450
|
-
[
|
|
5660
|
+
[Ye]: "ds-mt-1 ds-text-base",
|
|
5661
|
+
[Ze]: "ds-mt-2 ds-text-base",
|
|
5451
5662
|
[De]: "ds-mt-2 ds-text-base",
|
|
5452
5663
|
[qe]: "ds-mt-3 ds-text-base"
|
|
5453
5664
|
}
|
|
5454
5665
|
}
|
|
5455
|
-
}),
|
|
5666
|
+
}), Qo = F("ds-text-neutrals-light", {
|
|
5456
5667
|
variants: {
|
|
5457
5668
|
size: {
|
|
5458
|
-
[Ze]: "ds-mt-2",
|
|
5459
5669
|
[Ye]: "ds-mt-2",
|
|
5670
|
+
[Ze]: "ds-mt-2",
|
|
5460
5671
|
[De]: "ds-mt-2",
|
|
5461
5672
|
[qe]: "ds-mt-3"
|
|
5462
5673
|
}
|
|
5463
5674
|
}
|
|
5464
|
-
}),
|
|
5675
|
+
}), ea = ({
|
|
5465
5676
|
size: e = De,
|
|
5466
5677
|
className: r = "",
|
|
5467
5678
|
text: n = "",
|
|
@@ -5472,19 +5683,19 @@ const zo = F("preflight !ds-font-sans", {
|
|
|
5472
5683
|
headingTag: l,
|
|
5473
5684
|
...c
|
|
5474
5685
|
}) => {
|
|
5475
|
-
const
|
|
5686
|
+
const f = t ? /* @__PURE__ */ i.jsx("p", { className: Jo({ size: e }), children: t }) : null, u = s ? /* @__PURE__ */ i.jsx("p", { className: Xo({ size: e }), children: s }) : null, p = o ? /* @__PURE__ */ i.jsx("hr", { className: Qo({ size: e }) }) : null, m = a ? Ko({ size: e }) : "preflight", b = {
|
|
5476
5687
|
div: /* @__PURE__ */ i.jsx("div", { className: br({ size: e }), children: n }),
|
|
5477
5688
|
h3: /* @__PURE__ */ i.jsx("h3", { className: br({ size: e }), children: n }),
|
|
5478
5689
|
h2: /* @__PURE__ */ i.jsx("h2", { className: br({ size: e }), children: n }),
|
|
5479
5690
|
h1: /* @__PURE__ */ i.jsx("h1", { className: br({ size: e }), children: n })
|
|
5480
5691
|
};
|
|
5481
|
-
return /* @__PURE__ */ i.jsxs("div", { className:
|
|
5482
|
-
u,
|
|
5483
|
-
b[l || Ho(e)],
|
|
5692
|
+
return /* @__PURE__ */ i.jsxs("div", { className: D(m, r), ...c, children: [
|
|
5484
5693
|
f,
|
|
5694
|
+
b[l || qo(e)],
|
|
5695
|
+
u,
|
|
5485
5696
|
p
|
|
5486
5697
|
] });
|
|
5487
|
-
}, Jt =
|
|
5698
|
+
}, Jt = ea, ra = ({
|
|
5488
5699
|
label: e = "",
|
|
5489
5700
|
name: r,
|
|
5490
5701
|
id: n,
|
|
@@ -5503,13 +5714,13 @@ const zo = F("preflight !ds-font-sans", {
|
|
|
5503
5714
|
type: "radio",
|
|
5504
5715
|
className: `ds-form-radio ${qt({ disabled: t })}`,
|
|
5505
5716
|
"aria-disabled": t,
|
|
5506
|
-
onChange: (l) =>
|
|
5717
|
+
onChange: (l) => Zt(l, t, s),
|
|
5507
5718
|
onClick: (l) => jr(l, t, o),
|
|
5508
5719
|
...a
|
|
5509
5720
|
}
|
|
5510
5721
|
),
|
|
5511
5722
|
/* @__PURE__ */ i.jsx("label", { htmlFor: n, className: Kt({ disabled: t }), children: e })
|
|
5512
|
-
] }),
|
|
5723
|
+
] }), Rl = ra, ta = F(
|
|
5513
5724
|
[
|
|
5514
5725
|
"preflight",
|
|
5515
5726
|
"!ds-font-sans",
|
|
@@ -5542,18 +5753,18 @@ const zo = F("preflight !ds-font-sans", {
|
|
|
5542
5753
|
}
|
|
5543
5754
|
}
|
|
5544
5755
|
}
|
|
5545
|
-
),
|
|
5756
|
+
), na = ({
|
|
5546
5757
|
text: e,
|
|
5547
5758
|
href: r,
|
|
5548
5759
|
type: n = "default",
|
|
5549
5760
|
iconName: t,
|
|
5550
5761
|
...s
|
|
5551
|
-
}) => /* @__PURE__ */ i.jsxs("a", { href: r, type: n, className:
|
|
5762
|
+
}) => /* @__PURE__ */ i.jsxs("a", { href: r, type: n, className: D(ta({ type: n })), ...s, children: [
|
|
5552
5763
|
e,
|
|
5553
|
-
t && /* @__PURE__ */ i.jsx(
|
|
5554
|
-
] }),
|
|
5555
|
-
var
|
|
5556
|
-
let
|
|
5764
|
+
t && /* @__PURE__ */ i.jsx(Te, { altText: e, name: t, size: "small" })
|
|
5765
|
+
] }), Al = na;
|
|
5766
|
+
var sa = Object.defineProperty, oa = (e, r, n) => r in e ? sa(e, r, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[r] = n, Pr = (e, r, n) => (oa(e, typeof r != "symbol" ? r + "" : r, n), n);
|
|
5767
|
+
let aa = class {
|
|
5557
5768
|
constructor() {
|
|
5558
5769
|
Pr(this, "current", this.detect()), Pr(this, "handoffState", "pending"), Pr(this, "currentId", 0);
|
|
5559
5770
|
}
|
|
@@ -5581,16 +5792,16 @@ let ea = class {
|
|
|
5581
5792
|
get isHandoffComplete() {
|
|
5582
5793
|
return this.handoffState === "complete";
|
|
5583
5794
|
}
|
|
5584
|
-
}, Ve = new
|
|
5795
|
+
}, Ve = new aa();
|
|
5585
5796
|
function tt(e) {
|
|
5586
5797
|
return Ve.isServer ? null : e instanceof Node ? e.ownerDocument : e != null && e.hasOwnProperty("current") && e.current instanceof Node ? e.current.ownerDocument : document;
|
|
5587
5798
|
}
|
|
5588
|
-
function
|
|
5799
|
+
function Lr(e) {
|
|
5589
5800
|
typeof queueMicrotask == "function" ? queueMicrotask(e) : Promise.resolve().then(e).catch((r) => setTimeout(() => {
|
|
5590
5801
|
throw r;
|
|
5591
5802
|
}));
|
|
5592
5803
|
}
|
|
5593
|
-
function
|
|
5804
|
+
function We() {
|
|
5594
5805
|
let e = [], r = { addEventListener(n, t, s, o) {
|
|
5595
5806
|
return n.addEventListener(t, s, o), r.add(() => n.removeEventListener(t, s, o));
|
|
5596
5807
|
}, requestAnimationFrame(...n) {
|
|
@@ -5603,7 +5814,7 @@ function _e() {
|
|
|
5603
5814
|
return r.add(() => clearTimeout(t));
|
|
5604
5815
|
}, microTask(...n) {
|
|
5605
5816
|
let t = { current: !0 };
|
|
5606
|
-
return
|
|
5817
|
+
return Lr(() => {
|
|
5607
5818
|
t.current && n[0]();
|
|
5608
5819
|
}), r.add(() => {
|
|
5609
5820
|
t.current = !1;
|
|
@@ -5614,7 +5825,7 @@ function _e() {
|
|
|
5614
5825
|
Object.assign(n.style, { [t]: o });
|
|
5615
5826
|
});
|
|
5616
5827
|
}, group(n) {
|
|
5617
|
-
let t =
|
|
5828
|
+
let t = We();
|
|
5618
5829
|
return n(t), this.add(() => t.dispose());
|
|
5619
5830
|
}, add(n) {
|
|
5620
5831
|
return e.includes(n) || e.push(n), () => {
|
|
@@ -5630,7 +5841,7 @@ function _e() {
|
|
|
5630
5841
|
return r;
|
|
5631
5842
|
}
|
|
5632
5843
|
function nt() {
|
|
5633
|
-
let [e] = ge(
|
|
5844
|
+
let [e] = ge(We);
|
|
5634
5845
|
return oe(() => () => e.dispose(), [e]), e;
|
|
5635
5846
|
}
|
|
5636
5847
|
let K = (e, r) => {
|
|
@@ -5644,10 +5855,10 @@ function Ce(e) {
|
|
|
5644
5855
|
}
|
|
5645
5856
|
let P = function(e) {
|
|
5646
5857
|
let r = Ce(e);
|
|
5647
|
-
return
|
|
5648
|
-
},
|
|
5649
|
-
function
|
|
5650
|
-
return re(
|
|
5858
|
+
return w.useCallback((...n) => r.current(...n), [r]);
|
|
5859
|
+
}, ia = ce(void 0);
|
|
5860
|
+
function la() {
|
|
5861
|
+
return re(ia);
|
|
5651
5862
|
}
|
|
5652
5863
|
function ar(...e) {
|
|
5653
5864
|
return Array.from(new Set(e.flatMap((r) => typeof r == "string" ? r.split(" ") : []))).filter(Boolean).join(" ");
|
|
@@ -5662,19 +5873,19 @@ function U(e, r, ...n) {
|
|
|
5662
5873
|
}
|
|
5663
5874
|
var Cr = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(Cr || {}), Oe = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(Oe || {});
|
|
5664
5875
|
function be({ ourProps: e, theirProps: r, slot: n, defaultTag: t, features: s, visible: o = !0, name: a, mergeRefs: l }) {
|
|
5665
|
-
l = l != null ? l :
|
|
5876
|
+
l = l != null ? l : da;
|
|
5666
5877
|
let c = Xt(r, e);
|
|
5667
5878
|
if (o)
|
|
5668
5879
|
return vr(c, n, t, a, l);
|
|
5669
|
-
let
|
|
5670
|
-
if (
|
|
5671
|
-
let { static:
|
|
5672
|
-
if (
|
|
5880
|
+
let f = s != null ? s : 0;
|
|
5881
|
+
if (f & 2) {
|
|
5882
|
+
let { static: u = !1, ...p } = c;
|
|
5883
|
+
if (u)
|
|
5673
5884
|
return vr(p, n, t, a, l);
|
|
5674
5885
|
}
|
|
5675
|
-
if (
|
|
5676
|
-
let { unmount:
|
|
5677
|
-
return U(
|
|
5886
|
+
if (f & 1) {
|
|
5887
|
+
let { unmount: u = !0, ...p } = c;
|
|
5888
|
+
return U(u ? 0 : 1, { 0() {
|
|
5678
5889
|
return null;
|
|
5679
5890
|
}, 1() {
|
|
5680
5891
|
return vr({ ...p, hidden: !0, style: { display: "none" } }, n, t, a, l);
|
|
@@ -5683,35 +5894,35 @@ function be({ ourProps: e, theirProps: r, slot: n, defaultTag: t, features: s, v
|
|
|
5683
5894
|
return vr(c, n, t, a, l);
|
|
5684
5895
|
}
|
|
5685
5896
|
function vr(e, r = {}, n, t, s) {
|
|
5686
|
-
let { as: o = n, children: a, refName: l = "ref", ...c } = Fr(e, ["unmount", "static"]),
|
|
5897
|
+
let { as: o = n, children: a, refName: l = "ref", ...c } = Fr(e, ["unmount", "static"]), f = e.ref !== void 0 ? { [l]: e.ref } : {}, u = typeof a == "function" ? a(r) : a;
|
|
5687
5898
|
"className" in c && c.className && typeof c.className == "function" && (c.className = c.className(r)), c["aria-labelledby"] && c["aria-labelledby"] === c.id && (c["aria-labelledby"] = void 0);
|
|
5688
5899
|
let p = {};
|
|
5689
5900
|
if (r) {
|
|
5690
5901
|
let m = !1, b = [];
|
|
5691
|
-
for (let [
|
|
5692
|
-
typeof C == "boolean" && (m = !0), C === !0 && b.push(
|
|
5902
|
+
for (let [v, C] of Object.entries(r))
|
|
5903
|
+
typeof C == "boolean" && (m = !0), C === !0 && b.push(v.replace(/([A-Z])/g, (x) => `-${x.toLowerCase()}`));
|
|
5693
5904
|
if (m) {
|
|
5694
5905
|
p["data-headlessui-state"] = b.join(" ");
|
|
5695
|
-
for (let
|
|
5696
|
-
p[`data-${
|
|
5906
|
+
for (let v of b)
|
|
5907
|
+
p[`data-${v}`] = "";
|
|
5697
5908
|
}
|
|
5698
5909
|
}
|
|
5699
5910
|
if (o === de && (Object.keys(Ue(c)).length > 0 || Object.keys(Ue(p)).length > 0))
|
|
5700
|
-
if (!zn(
|
|
5911
|
+
if (!zn(u) || Array.isArray(u) && u.length > 1) {
|
|
5701
5912
|
if (Object.keys(Ue(c)).length > 0)
|
|
5702
5913
|
throw new Error(['Passing props on "Fragment"!', "", `The current component <${t} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(Ue(c)).concat(Object.keys(Ue(p))).map((m) => ` - ${m}`).join(`
|
|
5703
5914
|
`), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((m) => ` - ${m}`).join(`
|
|
5704
5915
|
`)].join(`
|
|
5705
5916
|
`));
|
|
5706
5917
|
} else {
|
|
5707
|
-
let m =
|
|
5708
|
-
for (let
|
|
5709
|
-
|
|
5710
|
-
return Un(
|
|
5918
|
+
let m = u.props, b = m == null ? void 0 : m.className, v = typeof b == "function" ? (...k) => ar(b(...k), c.className) : ar(b, c.className), C = v ? { className: v } : {}, x = Xt(u.props, Ue(Fr(c, ["ref"])));
|
|
5919
|
+
for (let k in p)
|
|
5920
|
+
k in x && delete p[k];
|
|
5921
|
+
return Un(u, Object.assign({}, x, p, f, { ref: s(u.ref, f.ref) }, C));
|
|
5711
5922
|
}
|
|
5712
|
-
return Gn(o, Object.assign({}, Fr(c, ["ref"]), o !== de &&
|
|
5923
|
+
return Gn(o, Object.assign({}, Fr(c, ["ref"]), o !== de && f, o !== de && p), u);
|
|
5713
5924
|
}
|
|
5714
|
-
function
|
|
5925
|
+
function da(...e) {
|
|
5715
5926
|
return e.every((r) => r == null) ? void 0 : (r) => {
|
|
5716
5927
|
for (let n of e)
|
|
5717
5928
|
n != null && (typeof n == "function" ? n(r) : n.current = r);
|
|
@@ -5759,26 +5970,26 @@ function Fr(e, r = []) {
|
|
|
5759
5970
|
t in n && delete n[t];
|
|
5760
5971
|
return n;
|
|
5761
5972
|
}
|
|
5762
|
-
let
|
|
5763
|
-
var
|
|
5764
|
-
function
|
|
5973
|
+
let ca = "div";
|
|
5974
|
+
var kr = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(kr || {});
|
|
5975
|
+
function ua(e, r) {
|
|
5765
5976
|
var n;
|
|
5766
5977
|
let { features: t = 1, ...s } = e, o = { ref: r, "aria-hidden": (t & 2) === 2 ? !0 : (n = s["aria-hidden"]) != null ? n : void 0, hidden: (t & 4) === 4 ? !0 : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(t & 4) === 4 && (t & 2) !== 2 && { display: "none" } } };
|
|
5767
|
-
return be({ ourProps: o, theirProps: s, slot: {}, defaultTag:
|
|
5978
|
+
return be({ ourProps: o, theirProps: s, slot: {}, defaultTag: ca, name: "Hidden" });
|
|
5768
5979
|
}
|
|
5769
|
-
let Dr = ue(
|
|
5770
|
-
function
|
|
5771
|
-
let r = re(
|
|
5980
|
+
let Dr = ue(ua), fa = ce(null);
|
|
5981
|
+
function pa({ children: e }) {
|
|
5982
|
+
let r = re(fa);
|
|
5772
5983
|
if (!r)
|
|
5773
|
-
return
|
|
5984
|
+
return w.createElement(w.Fragment, null, e);
|
|
5774
5985
|
let { target: n } = r;
|
|
5775
|
-
return n ? Ot(
|
|
5986
|
+
return n ? Ot(w.createElement(w.Fragment, null, e), n) : null;
|
|
5776
5987
|
}
|
|
5777
5988
|
let Qt = Symbol();
|
|
5778
|
-
function
|
|
5989
|
+
function ha(e, r = !0) {
|
|
5779
5990
|
return Object.assign(e, { [Qt]: r });
|
|
5780
5991
|
}
|
|
5781
|
-
function
|
|
5992
|
+
function ke(...e) {
|
|
5782
5993
|
let r = R(e);
|
|
5783
5994
|
oe(() => {
|
|
5784
5995
|
r.current = e;
|
|
@@ -5799,29 +6010,29 @@ function en() {
|
|
|
5799
6010
|
}
|
|
5800
6011
|
return e;
|
|
5801
6012
|
}
|
|
5802
|
-
function
|
|
6013
|
+
function ma() {
|
|
5803
6014
|
let [e, r] = ge([]);
|
|
5804
6015
|
return [e.length > 0 ? e.join(" ") : void 0, ae(() => function(n) {
|
|
5805
6016
|
let t = P((o) => (r((a) => [...a, o]), () => r((a) => {
|
|
5806
6017
|
let l = a.slice(), c = l.indexOf(o);
|
|
5807
6018
|
return c !== -1 && l.splice(c, 1), l;
|
|
5808
6019
|
}))), s = ae(() => ({ register: t, slot: n.slot, name: n.name, props: n.props, value: n.value }), [t, n.slot, n.name, n.props, n.value]);
|
|
5809
|
-
return
|
|
6020
|
+
return w.createElement(st.Provider, { value: s }, n.children);
|
|
5810
6021
|
}, [r])];
|
|
5811
6022
|
}
|
|
5812
|
-
let
|
|
5813
|
-
function
|
|
5814
|
-
let n = yr(), t =
|
|
6023
|
+
let ga = "p";
|
|
6024
|
+
function ba(e, r) {
|
|
6025
|
+
let n = yr(), t = la(), { id: s = `headlessui-description-${n}`, ...o } = e, a = en(), l = ke(r);
|
|
5815
6026
|
K(() => a.register(s), [s, a.register]);
|
|
5816
|
-
let c = t || !1,
|
|
5817
|
-
return be({ ourProps:
|
|
6027
|
+
let c = t || !1, f = ae(() => ({ ...a.slot, disabled: c }), [a.slot, c]), u = { ref: l, ...a.props, id: s };
|
|
6028
|
+
return be({ ourProps: u, theirProps: o, slot: f, defaultTag: ga, name: a.name || "Description" });
|
|
5818
6029
|
}
|
|
5819
|
-
let
|
|
6030
|
+
let va = ue(ba), xa = Object.assign(va, {});
|
|
5820
6031
|
var rn = ((e) => (e.Space = " ", e.Enter = "Enter", e.Escape = "Escape", e.Backspace = "Backspace", e.Delete = "Delete", e.ArrowLeft = "ArrowLeft", e.ArrowUp = "ArrowUp", e.ArrowRight = "ArrowRight", e.ArrowDown = "ArrowDown", e.Home = "Home", e.End = "End", e.PageUp = "PageUp", e.PageDown = "PageDown", e.Tab = "Tab", e))(rn || {});
|
|
5821
|
-
let
|
|
6032
|
+
let Ca = ce(() => {
|
|
5822
6033
|
});
|
|
5823
|
-
function
|
|
5824
|
-
return
|
|
6034
|
+
function ka({ value: e, children: r }) {
|
|
6035
|
+
return w.createElement(Ca.Provider, { value: e }, r);
|
|
5825
6036
|
}
|
|
5826
6037
|
let Br = /* @__PURE__ */ new Map(), ir = /* @__PURE__ */ new Map();
|
|
5827
6038
|
function Rt(e) {
|
|
@@ -5837,12 +6048,12 @@ function At(e) {
|
|
|
5837
6048
|
let t = Br.get(e);
|
|
5838
6049
|
t && (t["aria-hidden"] === null ? e.removeAttribute("aria-hidden") : e.setAttribute("aria-hidden", t["aria-hidden"]), e.inert = t.inert, Br.delete(e));
|
|
5839
6050
|
}
|
|
5840
|
-
function
|
|
6051
|
+
function wa({ allowed: e, disallowed: r } = {}, n = !0) {
|
|
5841
6052
|
K(() => {
|
|
5842
6053
|
var t, s;
|
|
5843
6054
|
if (!n)
|
|
5844
6055
|
return;
|
|
5845
|
-
let o =
|
|
6056
|
+
let o = We();
|
|
5846
6057
|
for (let l of (t = r == null ? void 0 : r()) != null ? t : [])
|
|
5847
6058
|
l && o.add(Rt(l));
|
|
5848
6059
|
let a = (s = e == null ? void 0 : e()) != null ? s : [];
|
|
@@ -5852,11 +6063,11 @@ function ga({ allowed: e, disallowed: r } = {}, n = !0) {
|
|
|
5852
6063
|
let c = tt(l);
|
|
5853
6064
|
if (!c)
|
|
5854
6065
|
continue;
|
|
5855
|
-
let
|
|
5856
|
-
for (;
|
|
5857
|
-
for (let
|
|
5858
|
-
a.some((p) =>
|
|
5859
|
-
|
|
6066
|
+
let f = l.parentElement;
|
|
6067
|
+
for (; f && f !== c.body; ) {
|
|
6068
|
+
for (let u of f.children)
|
|
6069
|
+
a.some((p) => u.contains(p)) || o.add(Rt(u));
|
|
6070
|
+
f = f.parentElement;
|
|
5860
6071
|
}
|
|
5861
6072
|
}
|
|
5862
6073
|
return o.dispose;
|
|
@@ -5873,7 +6084,7 @@ function tn(e, r, n = !0) {
|
|
|
5873
6084
|
let s = e === null ? null : e instanceof HTMLElement ? e : e.current;
|
|
5874
6085
|
if (!s)
|
|
5875
6086
|
return;
|
|
5876
|
-
let o =
|
|
6087
|
+
let o = We();
|
|
5877
6088
|
if (typeof ResizeObserver != "undefined") {
|
|
5878
6089
|
let a = new ResizeObserver(() => t.current(s));
|
|
5879
6090
|
a.observe(s), o.add(() => a.disconnect());
|
|
@@ -5885,16 +6096,16 @@ function tn(e, r, n = !0) {
|
|
|
5885
6096
|
return () => o.dispose();
|
|
5886
6097
|
}, [e, t, n]);
|
|
5887
6098
|
}
|
|
5888
|
-
let Hr = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(","),
|
|
5889
|
-
var
|
|
5890
|
-
function
|
|
6099
|
+
let Hr = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(","), ya = ["[data-autofocus]"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
|
|
6100
|
+
var Me = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e[e.AutoFocus = 64] = "AutoFocus", e))(Me || {}), zr = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(zr || {}), ja = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(ja || {});
|
|
6101
|
+
function La(e = document.body) {
|
|
5891
6102
|
return e == null ? [] : Array.from(e.querySelectorAll(Hr)).sort((r, n) => Math.sign((r.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
|
|
5892
6103
|
}
|
|
5893
|
-
function
|
|
5894
|
-
return e == null ? [] : Array.from(e.querySelectorAll(
|
|
6104
|
+
function Ea(e = document.body) {
|
|
6105
|
+
return e == null ? [] : Array.from(e.querySelectorAll(ya)).sort((r, n) => Math.sign((r.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
|
|
5895
6106
|
}
|
|
5896
6107
|
var nn = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(nn || {});
|
|
5897
|
-
function
|
|
6108
|
+
function $a(e, r = 0) {
|
|
5898
6109
|
var n;
|
|
5899
6110
|
return e === ((n = tt(e)) == null ? void 0 : n.body) ? !1 : U(r, { 0() {
|
|
5900
6111
|
return e.matches(Hr);
|
|
@@ -5908,7 +6119,7 @@ function wa(e, r = 0) {
|
|
|
5908
6119
|
return !1;
|
|
5909
6120
|
} });
|
|
5910
6121
|
}
|
|
5911
|
-
var
|
|
6122
|
+
var Ma = ((e) => (e[e.Keyboard = 0] = "Keyboard", e[e.Mouse = 1] = "Mouse", e))(Ma || {});
|
|
5912
6123
|
typeof window != "undefined" && typeof document != "undefined" && (document.addEventListener("keydown", (e) => {
|
|
5913
6124
|
e.metaKey || e.altKey || e.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
|
|
5914
6125
|
}, !0), document.addEventListener("click", (e) => {
|
|
@@ -5917,12 +6128,12 @@ typeof window != "undefined" && typeof document != "undefined" && (document.addE
|
|
|
5917
6128
|
function Ne(e) {
|
|
5918
6129
|
e == null || e.focus({ preventScroll: !0 });
|
|
5919
6130
|
}
|
|
5920
|
-
let
|
|
5921
|
-
function
|
|
6131
|
+
let Na = ["textarea", "input"].join(",");
|
|
6132
|
+
function Ta(e) {
|
|
5922
6133
|
var r, n;
|
|
5923
|
-
return (n = (r = e == null ? void 0 : e.matches) == null ? void 0 : r.call(e,
|
|
6134
|
+
return (n = (r = e == null ? void 0 : e.matches) == null ? void 0 : r.call(e, Na)) != null ? n : !1;
|
|
5924
6135
|
}
|
|
5925
|
-
function
|
|
6136
|
+
function Sa(e, r = (n) => n) {
|
|
5926
6137
|
return e.slice().sort((n, t) => {
|
|
5927
6138
|
let s = r(n), o = r(t);
|
|
5928
6139
|
if (s === null || o === null)
|
|
@@ -5932,8 +6143,8 @@ function Ea(e, r = (n) => n) {
|
|
|
5932
6143
|
});
|
|
5933
6144
|
}
|
|
5934
6145
|
function lr(e, r, { sorted: n = !0, relativeTo: t = null, skipElements: s = [] } = {}) {
|
|
5935
|
-
let o = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e.ownerDocument, a = Array.isArray(e) ? n ?
|
|
5936
|
-
s.length > 0 && a.length > 1 && (a = a.filter((b) => !s.some((
|
|
6146
|
+
let o = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e.ownerDocument, a = Array.isArray(e) ? n ? Sa(e) : e : r & 64 ? Ea(e) : La(e);
|
|
6147
|
+
s.length > 0 && a.length > 1 && (a = a.filter((b) => !s.some((v) => v != null && "current" in v ? (v == null ? void 0 : v.current) === b : v === b))), t = t != null ? t : o.activeElement;
|
|
5937
6148
|
let l = (() => {
|
|
5938
6149
|
if (r & 5)
|
|
5939
6150
|
return 1;
|
|
@@ -5950,11 +6161,11 @@ function lr(e, r, { sorted: n = !0, relativeTo: t = null, skipElements: s = [] }
|
|
|
5950
6161
|
if (r & 8)
|
|
5951
6162
|
return a.length - 1;
|
|
5952
6163
|
throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last");
|
|
5953
|
-
})(),
|
|
6164
|
+
})(), f = r & 32 ? { preventScroll: !0 } : {}, u = 0, p = a.length, m;
|
|
5954
6165
|
do {
|
|
5955
|
-
if (
|
|
6166
|
+
if (u >= p || u + p <= 0)
|
|
5956
6167
|
return 0;
|
|
5957
|
-
let b = c +
|
|
6168
|
+
let b = c + u;
|
|
5958
6169
|
if (r & 16)
|
|
5959
6170
|
b = (b + p) % p;
|
|
5960
6171
|
else {
|
|
@@ -5963,18 +6174,18 @@ function lr(e, r, { sorted: n = !0, relativeTo: t = null, skipElements: s = [] }
|
|
|
5963
6174
|
if (b >= p)
|
|
5964
6175
|
return 1;
|
|
5965
6176
|
}
|
|
5966
|
-
m = a[b], m == null || m.focus(
|
|
6177
|
+
m = a[b], m == null || m.focus(f), u += l;
|
|
5967
6178
|
} while (m !== o.activeElement);
|
|
5968
|
-
return r & 6 &&
|
|
6179
|
+
return r & 6 && Ta(m) && m.select(), 2;
|
|
5969
6180
|
}
|
|
5970
6181
|
function sn() {
|
|
5971
6182
|
return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
|
|
5972
6183
|
}
|
|
5973
|
-
function
|
|
6184
|
+
function Ra() {
|
|
5974
6185
|
return /Android/gi.test(window.navigator.userAgent);
|
|
5975
6186
|
}
|
|
5976
|
-
function
|
|
5977
|
-
return sn() ||
|
|
6187
|
+
function Aa() {
|
|
6188
|
+
return sn() || Ra();
|
|
5978
6189
|
}
|
|
5979
6190
|
function xr(e, r, n) {
|
|
5980
6191
|
let t = Ce(r);
|
|
@@ -5994,7 +6205,7 @@ function on(e, r, n) {
|
|
|
5994
6205
|
return window.addEventListener(e, s, n), () => window.removeEventListener(e, s, n);
|
|
5995
6206
|
}, [e, n]);
|
|
5996
6207
|
}
|
|
5997
|
-
function
|
|
6208
|
+
function Pa(e, r, n = !0) {
|
|
5998
6209
|
let t = R(!1);
|
|
5999
6210
|
oe(() => {
|
|
6000
6211
|
requestAnimationFrame(() => {
|
|
@@ -6007,17 +6218,17 @@ function Ta(e, r, n = !0) {
|
|
|
6007
6218
|
let c = l(a);
|
|
6008
6219
|
if (c === null || !c.getRootNode().contains(c) || !c.isConnected)
|
|
6009
6220
|
return;
|
|
6010
|
-
let
|
|
6011
|
-
return typeof p == "function" ?
|
|
6221
|
+
let f = function u(p) {
|
|
6222
|
+
return typeof p == "function" ? u(p()) : Array.isArray(p) || p instanceof Set ? p : [p];
|
|
6012
6223
|
}(e);
|
|
6013
|
-
for (let
|
|
6014
|
-
if (
|
|
6224
|
+
for (let u of f) {
|
|
6225
|
+
if (u === null)
|
|
6015
6226
|
continue;
|
|
6016
|
-
let p =
|
|
6227
|
+
let p = u instanceof HTMLElement ? u : u.current;
|
|
6017
6228
|
if (p != null && p.contains(c) || a.composed && a.composedPath().includes(p))
|
|
6018
6229
|
return;
|
|
6019
6230
|
}
|
|
6020
|
-
return
|
|
6231
|
+
return !$a(c, nn.Loose) && c.tabIndex !== -1 && a.preventDefault(), r(a, c);
|
|
6021
6232
|
}
|
|
6022
6233
|
let o = R(null);
|
|
6023
6234
|
xr("pointerdown", (a) => {
|
|
@@ -6027,7 +6238,7 @@ function Ta(e, r, n = !0) {
|
|
|
6027
6238
|
var l, c;
|
|
6028
6239
|
t.current && (o.current = ((c = (l = a.composedPath) == null ? void 0 : l.call(a)) == null ? void 0 : c[0]) || a.target);
|
|
6029
6240
|
}, !0), xr("click", (a) => {
|
|
6030
|
-
|
|
6241
|
+
Aa() || o.current && (s(a, () => o.current), o.current = null);
|
|
6031
6242
|
}, !0), xr("touchend", (a) => s(a, () => a.target instanceof HTMLElement ? a.target : null), !0), on("blur", (a) => s(a, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
|
|
6032
6243
|
}
|
|
6033
6244
|
function dr(...e) {
|
|
@@ -6043,10 +6254,10 @@ function an(e, r, n, t) {
|
|
|
6043
6254
|
return e.addEventListener(r, o, t), () => e.removeEventListener(r, o, t);
|
|
6044
6255
|
}, [e, r, t]);
|
|
6045
6256
|
}
|
|
6046
|
-
function
|
|
6047
|
-
return
|
|
6257
|
+
function Fa(e) {
|
|
6258
|
+
return Zn(e.subscribe, e.getSnapshot, e.getSnapshot);
|
|
6048
6259
|
}
|
|
6049
|
-
function
|
|
6260
|
+
function Oa(e, r) {
|
|
6050
6261
|
let n = e(), t = /* @__PURE__ */ new Set();
|
|
6051
6262
|
return { getSnapshot() {
|
|
6052
6263
|
return n;
|
|
@@ -6057,7 +6268,7 @@ function Ma(e, r) {
|
|
|
6057
6268
|
a && (n = a, t.forEach((l) => l()));
|
|
6058
6269
|
} };
|
|
6059
6270
|
}
|
|
6060
|
-
function
|
|
6271
|
+
function Wa() {
|
|
6061
6272
|
let e;
|
|
6062
6273
|
return { before({ doc: r }) {
|
|
6063
6274
|
var n;
|
|
@@ -6068,7 +6279,7 @@ function Sa() {
|
|
|
6068
6279
|
n.style(t, "paddingRight", `${o}px`);
|
|
6069
6280
|
} };
|
|
6070
6281
|
}
|
|
6071
|
-
function
|
|
6282
|
+
function _a() {
|
|
6072
6283
|
return sn() ? { before({ doc: e, d: r, meta: n }) {
|
|
6073
6284
|
function t(s) {
|
|
6074
6285
|
return n.containers.flatMap((o) => o()).some((o) => o.contains(s));
|
|
@@ -6076,7 +6287,7 @@ function Ra() {
|
|
|
6076
6287
|
r.microTask(() => {
|
|
6077
6288
|
var s;
|
|
6078
6289
|
if (window.getComputedStyle(e.documentElement).scrollBehavior !== "auto") {
|
|
6079
|
-
let l =
|
|
6290
|
+
let l = We();
|
|
6080
6291
|
l.style(e.documentElement, "scrollBehavior", "auto"), r.add(() => r.microTask(() => l.dispose()));
|
|
6081
6292
|
}
|
|
6082
6293
|
let o = (s = window.scrollY) != null ? s : window.pageYOffset, a = null;
|
|
@@ -6086,8 +6297,8 @@ function Ra() {
|
|
|
6086
6297
|
let c = l.target.closest("a");
|
|
6087
6298
|
if (!c)
|
|
6088
6299
|
return;
|
|
6089
|
-
let { hash:
|
|
6090
|
-
|
|
6300
|
+
let { hash: f } = new URL(c.href), u = e.querySelector(f);
|
|
6301
|
+
u && !t(u) && (a = u);
|
|
6091
6302
|
} catch (c) {
|
|
6092
6303
|
}
|
|
6093
6304
|
}, !0), r.addEventListener(e, "touchstart", (l) => {
|
|
@@ -6119,26 +6330,26 @@ function Ra() {
|
|
|
6119
6330
|
});
|
|
6120
6331
|
} } : {};
|
|
6121
6332
|
}
|
|
6122
|
-
function
|
|
6333
|
+
function Ia() {
|
|
6123
6334
|
return { before({ doc: e, d: r }) {
|
|
6124
6335
|
r.style(e.documentElement, "overflow", "hidden");
|
|
6125
6336
|
} };
|
|
6126
6337
|
}
|
|
6127
|
-
function
|
|
6338
|
+
function Va(e) {
|
|
6128
6339
|
let r = {};
|
|
6129
6340
|
for (let n of e)
|
|
6130
6341
|
Object.assign(r, n(r));
|
|
6131
6342
|
return r;
|
|
6132
6343
|
}
|
|
6133
|
-
let Ie =
|
|
6344
|
+
let Ie = Oa(() => /* @__PURE__ */ new Map(), { PUSH(e, r) {
|
|
6134
6345
|
var n;
|
|
6135
|
-
let t = (n = this.get(e)) != null ? n : { doc: e, count: 0, d:
|
|
6346
|
+
let t = (n = this.get(e)) != null ? n : { doc: e, count: 0, d: We(), meta: /* @__PURE__ */ new Set() };
|
|
6136
6347
|
return t.count++, t.meta.add(r), this.set(e, t), this;
|
|
6137
6348
|
}, POP(e, r) {
|
|
6138
6349
|
let n = this.get(e);
|
|
6139
6350
|
return n && (n.count--, n.meta.delete(r)), this;
|
|
6140
6351
|
}, SCROLL_PREVENT({ doc: e, d: r, meta: n }) {
|
|
6141
|
-
let t = { doc: e, d: r, meta:
|
|
6352
|
+
let t = { doc: e, d: r, meta: Va(n) }, s = [_a(), Wa(), Ia()];
|
|
6142
6353
|
s.forEach(({ before: o }) => o == null ? void 0 : o(t)), s.forEach(({ after: o }) => o == null ? void 0 : o(t));
|
|
6143
6354
|
}, SCROLL_ALLOW({ d: e }) {
|
|
6144
6355
|
e.dispose();
|
|
@@ -6154,15 +6365,15 @@ Ie.subscribe(() => {
|
|
|
6154
6365
|
(s && !t || !s && t) && Ie.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && Ie.dispatch("TEARDOWN", n);
|
|
6155
6366
|
}
|
|
6156
6367
|
});
|
|
6157
|
-
function
|
|
6158
|
-
let t =
|
|
6368
|
+
function Da(e, r, n = () => ({ containers: [] })) {
|
|
6369
|
+
let t = Fa(Ie), s = e ? t.get(e) : void 0, o = s ? s.count > 0 : !1;
|
|
6159
6370
|
return K(() => {
|
|
6160
6371
|
if (!(!e || !r))
|
|
6161
6372
|
return Ie.dispatch("PUSH", e, n), () => Ie.dispatch("POP", e, n);
|
|
6162
6373
|
}, [r, e]), o;
|
|
6163
6374
|
}
|
|
6164
|
-
function
|
|
6165
|
-
|
|
6375
|
+
function Ba(e, r, n = () => [document.body]) {
|
|
6376
|
+
Da(e, r, (t) => {
|
|
6166
6377
|
var s;
|
|
6167
6378
|
return { containers: [...(s = t.containers) != null ? s : [], n] };
|
|
6168
6379
|
});
|
|
@@ -6184,17 +6395,17 @@ var se = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closin
|
|
|
6184
6395
|
function it() {
|
|
6185
6396
|
return re(at);
|
|
6186
6397
|
}
|
|
6187
|
-
function
|
|
6188
|
-
return
|
|
6398
|
+
function Ha({ value: e, children: r }) {
|
|
6399
|
+
return w.createElement(at.Provider, { value: e }, r);
|
|
6189
6400
|
}
|
|
6190
|
-
function
|
|
6401
|
+
function za(e) {
|
|
6191
6402
|
function r() {
|
|
6192
6403
|
document.readyState !== "loading" && (e(), document.removeEventListener("DOMContentLoaded", r));
|
|
6193
6404
|
}
|
|
6194
6405
|
typeof window != "undefined" && typeof document != "undefined" && (document.addEventListener("DOMContentLoaded", r), r());
|
|
6195
6406
|
}
|
|
6196
6407
|
let Fe = [];
|
|
6197
|
-
|
|
6408
|
+
za(() => {
|
|
6198
6409
|
function e(r) {
|
|
6199
6410
|
r.target instanceof HTMLElement && r.target !== document.body && Fe[0] !== r.target && (Fe.unshift(r.target), Fe = Fe.filter((n) => n != null && n.isConnected), Fe.splice(10));
|
|
6200
6411
|
}
|
|
@@ -6203,31 +6414,31 @@ Wa(() => {
|
|
|
6203
6414
|
function ln(e) {
|
|
6204
6415
|
let r = P(e), n = R(!1);
|
|
6205
6416
|
oe(() => (n.current = !1, () => {
|
|
6206
|
-
n.current = !0,
|
|
6417
|
+
n.current = !0, Lr(() => {
|
|
6207
6418
|
n.current && r();
|
|
6208
6419
|
});
|
|
6209
6420
|
}), [r]);
|
|
6210
6421
|
}
|
|
6211
|
-
function
|
|
6422
|
+
function Ua() {
|
|
6212
6423
|
let e = typeof document == "undefined";
|
|
6213
6424
|
return "useSyncExternalStore" in or ? ((r) => r.useSyncExternalStore)(or)(() => () => {
|
|
6214
6425
|
}, () => !1, () => !e) : !1;
|
|
6215
6426
|
}
|
|
6216
6427
|
function cr() {
|
|
6217
|
-
let e =
|
|
6428
|
+
let e = Ua(), [r, n] = or.useState(Ve.isHandoffComplete);
|
|
6218
6429
|
return r && Ve.isHandoffComplete === !1 && n(!1), or.useEffect(() => {
|
|
6219
6430
|
r !== !0 && n(!0);
|
|
6220
6431
|
}, [r]), or.useEffect(() => Ve.handoff(), []), e ? !1 : r;
|
|
6221
6432
|
}
|
|
6222
6433
|
let dn = ce(!1);
|
|
6223
|
-
function
|
|
6434
|
+
function Ga() {
|
|
6224
6435
|
return re(dn);
|
|
6225
6436
|
}
|
|
6226
6437
|
function Pt(e) {
|
|
6227
|
-
return
|
|
6438
|
+
return w.createElement(dn.Provider, { value: e.force }, e.children);
|
|
6228
6439
|
}
|
|
6229
|
-
function
|
|
6230
|
-
let r =
|
|
6440
|
+
function Za(e) {
|
|
6441
|
+
let r = Ga(), n = re(un), t = dr(e), [s, o] = ge(() => {
|
|
6231
6442
|
var a;
|
|
6232
6443
|
if (!r && n !== null)
|
|
6233
6444
|
return (a = n.current) != null ? a : null;
|
|
@@ -6247,44 +6458,44 @@ function Da(e) {
|
|
|
6247
6458
|
r || n !== null && o(n.current);
|
|
6248
6459
|
}, [n, o, r]), s;
|
|
6249
6460
|
}
|
|
6250
|
-
let cn = de,
|
|
6251
|
-
let n = e, t = R(null), s =
|
|
6252
|
-
t.current =
|
|
6253
|
-
}), r), o = dr(t), a =
|
|
6254
|
-
var
|
|
6255
|
-
return Ve.isServer ? null : (
|
|
6256
|
-
}), c = re(Ur),
|
|
6461
|
+
let cn = de, Ya = ue(function(e, r) {
|
|
6462
|
+
let n = e, t = R(null), s = ke(ha((u) => {
|
|
6463
|
+
t.current = u;
|
|
6464
|
+
}), r), o = dr(t), a = Za(t), [l] = ge(() => {
|
|
6465
|
+
var u;
|
|
6466
|
+
return Ve.isServer ? null : (u = o == null ? void 0 : o.createElement("div")) != null ? u : null;
|
|
6467
|
+
}), c = re(Ur), f = cr();
|
|
6257
6468
|
return K(() => {
|
|
6258
6469
|
!a || !l || a.contains(l) || (l.setAttribute("data-headlessui-portal", ""), a.appendChild(l));
|
|
6259
6470
|
}, [a, l]), K(() => {
|
|
6260
6471
|
if (l && c)
|
|
6261
6472
|
return c.register(l);
|
|
6262
6473
|
}, [c, l]), ln(() => {
|
|
6263
|
-
var
|
|
6264
|
-
!a || !l || (l instanceof Node && a.contains(l) && a.removeChild(l), a.childNodes.length <= 0 && ((
|
|
6265
|
-
}),
|
|
6474
|
+
var u;
|
|
6475
|
+
!a || !l || (l instanceof Node && a.contains(l) && a.removeChild(l), a.childNodes.length <= 0 && ((u = a.parentElement) == null || u.removeChild(a)));
|
|
6476
|
+
}), f ? !a || !l ? null : Ot(be({ ourProps: { ref: s }, theirProps: n, slot: {}, defaultTag: cn, name: "Portal" }), l) : null;
|
|
6266
6477
|
});
|
|
6267
|
-
function
|
|
6268
|
-
let n =
|
|
6269
|
-
return t ?
|
|
6478
|
+
function qa(e, r) {
|
|
6479
|
+
let n = ke(r), { enabled: t = !0, ...s } = e;
|
|
6480
|
+
return t ? w.createElement(Ya, { ...s, ref: n }) : be({ ourProps: { ref: n }, theirProps: s, slot: {}, defaultTag: cn, name: "Portal" });
|
|
6270
6481
|
}
|
|
6271
|
-
let
|
|
6272
|
-
function
|
|
6273
|
-
let { target: n, ...t } = e, s = { ref:
|
|
6274
|
-
return
|
|
6482
|
+
let Ka = de, un = ce(null);
|
|
6483
|
+
function Ja(e, r) {
|
|
6484
|
+
let { target: n, ...t } = e, s = { ref: ke(r) };
|
|
6485
|
+
return w.createElement(un.Provider, { value: n }, be({ ourProps: s, theirProps: t, defaultTag: Ka, name: "Popover.Group" }));
|
|
6275
6486
|
}
|
|
6276
6487
|
let Ur = ce(null);
|
|
6277
|
-
function
|
|
6488
|
+
function Xa() {
|
|
6278
6489
|
let e = re(Ur), r = R([]), n = P((o) => (r.current.push(o), e && e.register(o), () => t(o))), t = P((o) => {
|
|
6279
6490
|
let a = r.current.indexOf(o);
|
|
6280
6491
|
a !== -1 && r.current.splice(a, 1), e && e.unregister(o);
|
|
6281
6492
|
}), s = ae(() => ({ register: n, unregister: t, portals: r }), [n, t, r]);
|
|
6282
6493
|
return [r, ae(() => function({ children: o }) {
|
|
6283
|
-
return
|
|
6494
|
+
return w.createElement(Ur.Provider, { value: s }, o);
|
|
6284
6495
|
}, [s])];
|
|
6285
6496
|
}
|
|
6286
|
-
let
|
|
6287
|
-
function
|
|
6497
|
+
let Qa = ue(qa), ei = ue(Ja), Ft = Object.assign(Qa, { Group: ei });
|
|
6498
|
+
function ri() {
|
|
6288
6499
|
var e;
|
|
6289
6500
|
let [r] = ge(() => typeof window != "undefined" && typeof window.matchMedia == "function" ? window.matchMedia("(pointer: coarse)") : null), [n, t] = ge((e = r == null ? void 0 : r.matches) != null ? e : !1);
|
|
6290
6501
|
return K(() => {
|
|
@@ -6296,33 +6507,33 @@ function qa() {
|
|
|
6296
6507
|
return r.addEventListener("change", s), () => r.removeEventListener("change", s);
|
|
6297
6508
|
}, [r]), n;
|
|
6298
6509
|
}
|
|
6299
|
-
function
|
|
6510
|
+
function ti({ defaultContainers: e = [], portals: r, mainTreeNodeRef: n } = {}) {
|
|
6300
6511
|
var t;
|
|
6301
6512
|
let s = R((t = n == null ? void 0 : n.current) != null ? t : null), o = dr(s), a = P(() => {
|
|
6302
|
-
var l, c,
|
|
6303
|
-
let
|
|
6513
|
+
var l, c, f;
|
|
6514
|
+
let u = [];
|
|
6304
6515
|
for (let p of e)
|
|
6305
|
-
p !== null && (p instanceof HTMLElement ?
|
|
6516
|
+
p !== null && (p instanceof HTMLElement ? u.push(p) : "current" in p && p.current instanceof HTMLElement && u.push(p.current));
|
|
6306
6517
|
if (r != null && r.current)
|
|
6307
6518
|
for (let p of r.current)
|
|
6308
|
-
|
|
6519
|
+
u.push(p);
|
|
6309
6520
|
for (let p of (l = o == null ? void 0 : o.querySelectorAll("html > *, body > *")) != null ? l : [])
|
|
6310
|
-
p !== document.body && p !== document.head && p instanceof HTMLElement && p.id !== "headlessui-portal-root" && (p.contains(s.current) || p.contains((
|
|
6311
|
-
return
|
|
6521
|
+
p !== document.body && p !== document.head && p instanceof HTMLElement && p.id !== "headlessui-portal-root" && (p.contains(s.current) || p.contains((f = (c = s.current) == null ? void 0 : c.getRootNode()) == null ? void 0 : f.host) || u.some((m) => p.contains(m)) || u.push(p));
|
|
6522
|
+
return u;
|
|
6312
6523
|
});
|
|
6313
6524
|
return { resolveContainers: a, contains: P((l) => a().some((c) => c.contains(l))), mainTreeNodeRef: s, MainTreeNode: ae(() => function() {
|
|
6314
|
-
return n != null ? null :
|
|
6525
|
+
return n != null ? null : w.createElement(Dr, { features: kr.Hidden, ref: s });
|
|
6315
6526
|
}, [s, n]) };
|
|
6316
6527
|
}
|
|
6317
6528
|
let lt = ce(() => {
|
|
6318
6529
|
});
|
|
6319
6530
|
lt.displayName = "StackContext";
|
|
6320
6531
|
var Gr = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(Gr || {});
|
|
6321
|
-
function
|
|
6532
|
+
function ni() {
|
|
6322
6533
|
return re(lt);
|
|
6323
6534
|
}
|
|
6324
|
-
function
|
|
6325
|
-
let o =
|
|
6535
|
+
function si({ children: e, onUpdate: r, type: n, element: t, enabled: s }) {
|
|
6536
|
+
let o = ni(), a = P((...l) => {
|
|
6326
6537
|
r == null || r(...l), o(...l);
|
|
6327
6538
|
});
|
|
6328
6539
|
return K(() => {
|
|
@@ -6330,7 +6541,7 @@ function Xa({ children: e, onUpdate: r, type: n, element: t, enabled: s }) {
|
|
|
6330
6541
|
return l && a(0, n, t), () => {
|
|
6331
6542
|
l && a(1, n, t);
|
|
6332
6543
|
};
|
|
6333
|
-
}, [a, n, t, s]),
|
|
6544
|
+
}, [a, n, t, s]), w.createElement(lt.Provider, { value: a }, e);
|
|
6334
6545
|
}
|
|
6335
6546
|
function ur() {
|
|
6336
6547
|
let e = R(!1);
|
|
@@ -6339,7 +6550,7 @@ function ur() {
|
|
|
6339
6550
|
}), []), e;
|
|
6340
6551
|
}
|
|
6341
6552
|
var sr = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(sr || {});
|
|
6342
|
-
function
|
|
6553
|
+
function oi() {
|
|
6343
6554
|
let e = R(0);
|
|
6344
6555
|
return on("keydown", (r) => {
|
|
6345
6556
|
r.key === "Tab" && (e.current = r.shiftKey ? 1 : 0);
|
|
@@ -6355,43 +6566,43 @@ function fn(e) {
|
|
|
6355
6566
|
n.current instanceof HTMLElement && r.add(n.current);
|
|
6356
6567
|
return r;
|
|
6357
6568
|
}
|
|
6358
|
-
let
|
|
6569
|
+
let ai = "div";
|
|
6359
6570
|
var $e = ((e) => (e[e.None = 1] = "None", e[e.InitialFocus = 2] = "InitialFocus", e[e.TabLock = 4] = "TabLock", e[e.FocusLock = 8] = "FocusLock", e[e.RestoreFocus = 16] = "RestoreFocus", e[e.AutoFocus = 32] = "AutoFocus", e[e.All = 30] = "All", e))($e || {});
|
|
6360
|
-
function
|
|
6361
|
-
let n = R(null), t =
|
|
6571
|
+
function ii(e, r) {
|
|
6572
|
+
let n = R(null), t = ke(n, r), { initialFocus: s, initialFocusFallback: o, containers: a, features: l = 30, ...c } = e;
|
|
6362
6573
|
cr() || (l = 1);
|
|
6363
|
-
let
|
|
6364
|
-
|
|
6365
|
-
let
|
|
6366
|
-
|
|
6367
|
-
let p =
|
|
6368
|
-
let
|
|
6369
|
-
|
|
6574
|
+
let f = dr(n);
|
|
6575
|
+
ui({ ownerDocument: f }, !!(l & 16));
|
|
6576
|
+
let u = fi({ ownerDocument: f, container: n, initialFocus: s, initialFocusFallback: o }, l);
|
|
6577
|
+
pi({ ownerDocument: f, container: n, containers: a, previousActiveElement: u }, !!(l & 8));
|
|
6578
|
+
let p = oi(), m = P((x) => {
|
|
6579
|
+
let k = n.current;
|
|
6580
|
+
k && ((j) => j())(() => {
|
|
6370
6581
|
U(p.current, { [sr.Forwards]: () => {
|
|
6371
|
-
lr(
|
|
6582
|
+
lr(k, Me.First, { skipElements: [x.relatedTarget, o] });
|
|
6372
6583
|
}, [sr.Backwards]: () => {
|
|
6373
|
-
lr(
|
|
6584
|
+
lr(k, Me.Last, { skipElements: [x.relatedTarget, o] });
|
|
6374
6585
|
} });
|
|
6375
6586
|
});
|
|
6376
|
-
}), b = nt(),
|
|
6377
|
-
|
|
6378
|
-
|
|
6587
|
+
}), b = nt(), v = R(!1), C = { ref: t, onKeyDown(x) {
|
|
6588
|
+
x.key == "Tab" && (v.current = !0, b.requestAnimationFrame(() => {
|
|
6589
|
+
v.current = !1;
|
|
6379
6590
|
}));
|
|
6380
|
-
}, onBlur(
|
|
6591
|
+
}, onBlur(x) {
|
|
6381
6592
|
if (!(l & 8))
|
|
6382
6593
|
return;
|
|
6383
|
-
let
|
|
6384
|
-
n.current instanceof HTMLElement &&
|
|
6385
|
-
let j =
|
|
6386
|
-
j instanceof HTMLElement && j.dataset.headlessuiFocusGuard !== "true" && (pn(
|
|
6594
|
+
let k = fn(a);
|
|
6595
|
+
n.current instanceof HTMLElement && k.add(n.current);
|
|
6596
|
+
let j = x.relatedTarget;
|
|
6597
|
+
j instanceof HTMLElement && j.dataset.headlessuiFocusGuard !== "true" && (pn(k, j) || (v.current ? lr(n.current, U(p.current, { [sr.Forwards]: () => Me.Next, [sr.Backwards]: () => Me.Previous }) | Me.WrapAround, { relativeTo: x.target }) : x.target instanceof HTMLElement && Ne(x.target)));
|
|
6387
6598
|
} };
|
|
6388
|
-
return
|
|
6599
|
+
return w.createElement(w.Fragment, null, !!(l & 4) && w.createElement(Dr, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: m, features: kr.Focusable }), be({ ourProps: C, theirProps: c, defaultTag: ai, name: "FocusTrap" }), !!(l & 4) && w.createElement(Dr, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: m, features: kr.Focusable }));
|
|
6389
6600
|
}
|
|
6390
|
-
let
|
|
6391
|
-
function
|
|
6601
|
+
let li = ue(ii), di = Object.assign(li, { features: $e });
|
|
6602
|
+
function ci(e = !0) {
|
|
6392
6603
|
let r = R(Fe.slice());
|
|
6393
6604
|
return ot(([n], [t]) => {
|
|
6394
|
-
t === !0 && n === !1 &&
|
|
6605
|
+
t === !0 && n === !1 && Lr(() => {
|
|
6395
6606
|
r.current.splice(0);
|
|
6396
6607
|
}), t === !1 && n === !0 && (r.current = Fe.slice());
|
|
6397
6608
|
}, [e, Fe, r]), P(() => {
|
|
@@ -6399,15 +6610,15 @@ function si(e = !0) {
|
|
|
6399
6610
|
return (n = r.current.find((t) => t != null && t.isConnected)) != null ? n : null;
|
|
6400
6611
|
});
|
|
6401
6612
|
}
|
|
6402
|
-
function
|
|
6403
|
-
let n =
|
|
6613
|
+
function ui({ ownerDocument: e }, r) {
|
|
6614
|
+
let n = ci(r);
|
|
6404
6615
|
ot(() => {
|
|
6405
6616
|
r || (e == null ? void 0 : e.activeElement) === (e == null ? void 0 : e.body) && Ne(n());
|
|
6406
6617
|
}, [r]), ln(() => {
|
|
6407
6618
|
r && Ne(n());
|
|
6408
6619
|
});
|
|
6409
6620
|
}
|
|
6410
|
-
function
|
|
6621
|
+
function fi({ ownerDocument: e, container: r, initialFocus: n, initialFocusFallback: t }, s) {
|
|
6411
6622
|
let o = !!(s & 2), a = R(null), l = ur();
|
|
6412
6623
|
return ot(() => {
|
|
6413
6624
|
if (!o) {
|
|
@@ -6415,26 +6626,26 @@ function ai({ ownerDocument: e, container: r, initialFocus: n, initialFocusFallb
|
|
|
6415
6626
|
return;
|
|
6416
6627
|
}
|
|
6417
6628
|
let c = r.current;
|
|
6418
|
-
c &&
|
|
6629
|
+
c && Lr(() => {
|
|
6419
6630
|
if (!l.current)
|
|
6420
6631
|
return;
|
|
6421
|
-
let
|
|
6632
|
+
let f = e == null ? void 0 : e.activeElement;
|
|
6422
6633
|
if (n != null && n.current) {
|
|
6423
|
-
if ((n == null ? void 0 : n.current) ===
|
|
6424
|
-
a.current =
|
|
6634
|
+
if ((n == null ? void 0 : n.current) === f) {
|
|
6635
|
+
a.current = f;
|
|
6425
6636
|
return;
|
|
6426
6637
|
}
|
|
6427
|
-
} else if (c.contains(
|
|
6428
|
-
a.current =
|
|
6638
|
+
} else if (c.contains(f)) {
|
|
6639
|
+
a.current = f;
|
|
6429
6640
|
return;
|
|
6430
6641
|
}
|
|
6431
6642
|
if (n != null && n.current)
|
|
6432
6643
|
Ne(n.current);
|
|
6433
6644
|
else {
|
|
6434
6645
|
if (s & 32) {
|
|
6435
|
-
if (lr(c,
|
|
6646
|
+
if (lr(c, Me.First | Me.AutoFocus) !== zr.Error)
|
|
6436
6647
|
return;
|
|
6437
|
-
} else if (lr(c,
|
|
6648
|
+
} else if (lr(c, Me.First) !== zr.Error)
|
|
6438
6649
|
return;
|
|
6439
6650
|
if (t != null && t.current && (Ne(t.current), (e == null ? void 0 : e.activeElement) === t.current))
|
|
6440
6651
|
return;
|
|
@@ -6444,7 +6655,7 @@ function ai({ ownerDocument: e, container: r, initialFocus: n, initialFocusFallb
|
|
|
6444
6655
|
});
|
|
6445
6656
|
}, [t, o, s]), a;
|
|
6446
6657
|
}
|
|
6447
|
-
function
|
|
6658
|
+
function pi({ ownerDocument: e, container: r, containers: n, previousActiveElement: t }, s) {
|
|
6448
6659
|
let o = ur();
|
|
6449
6660
|
an(e == null ? void 0 : e.defaultView, "focus", (a) => {
|
|
6450
6661
|
if (!s || !o.current)
|
|
@@ -6454,8 +6665,8 @@ function ii({ ownerDocument: e, container: r, containers: n, previousActiveEleme
|
|
|
6454
6665
|
let c = t.current;
|
|
6455
6666
|
if (!c)
|
|
6456
6667
|
return;
|
|
6457
|
-
let
|
|
6458
|
-
|
|
6668
|
+
let f = a.target;
|
|
6669
|
+
f && f instanceof HTMLElement ? pn(l, f) ? (t.current = f, Ne(f)) : (a.preventDefault(), a.stopPropagation(), Ne(c)) : Ne(t.current);
|
|
6459
6670
|
}, !0);
|
|
6460
6671
|
}
|
|
6461
6672
|
function pn(e, r) {
|
|
@@ -6464,31 +6675,31 @@ function pn(e, r) {
|
|
|
6464
6675
|
return !0;
|
|
6465
6676
|
return !1;
|
|
6466
6677
|
}
|
|
6467
|
-
var
|
|
6468
|
-
let
|
|
6678
|
+
var hi = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(hi || {}), mi = ((e) => (e[e.SetTitleId = 0] = "SetTitleId", e))(mi || {});
|
|
6679
|
+
let gi = { 0(e, r) {
|
|
6469
6680
|
return e.titleId === r.id ? e : { ...e, titleId: r.id };
|
|
6470
|
-
} },
|
|
6471
|
-
|
|
6681
|
+
} }, wr = ce(null);
|
|
6682
|
+
wr.displayName = "DialogContext";
|
|
6472
6683
|
function dt(e) {
|
|
6473
|
-
let r = re(
|
|
6684
|
+
let r = re(wr);
|
|
6474
6685
|
if (r === null) {
|
|
6475
6686
|
let n = new Error(`<${e} /> is missing a parent <Dialog /> component.`);
|
|
6476
6687
|
throw Error.captureStackTrace && Error.captureStackTrace(n, dt), n;
|
|
6477
6688
|
}
|
|
6478
6689
|
return r;
|
|
6479
6690
|
}
|
|
6480
|
-
function
|
|
6481
|
-
return U(r.type,
|
|
6691
|
+
function bi(e, r) {
|
|
6692
|
+
return U(r.type, gi, e, r);
|
|
6482
6693
|
}
|
|
6483
|
-
let
|
|
6484
|
-
function
|
|
6485
|
-
let n = yr(), { id: t = `headlessui-dialog-${n}`, open: s, onClose: o, initialFocus: a, role: l = "dialog", autoFocus: c = !0, __demoMode:
|
|
6694
|
+
let vi = "div", xi = Cr.RenderStrategy | Cr.Static;
|
|
6695
|
+
function Ci(e, r) {
|
|
6696
|
+
let n = yr(), { id: t = `headlessui-dialog-${n}`, open: s, onClose: o, initialFocus: a, role: l = "dialog", autoFocus: c = !0, __demoMode: f = !1, ...u } = e, [p, m] = ge(0), b = R(!1);
|
|
6486
6697
|
l = function() {
|
|
6487
6698
|
return l === "dialog" || l === "alertdialog" ? l : (b.current || (b.current = !0, console.warn(`Invalid role [${l}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), "dialog");
|
|
6488
6699
|
}();
|
|
6489
|
-
let
|
|
6490
|
-
s === void 0 &&
|
|
6491
|
-
let C = R(null),
|
|
6700
|
+
let v = it();
|
|
6701
|
+
s === void 0 && v !== null && (s = (v & se.Open) === se.Open);
|
|
6702
|
+
let C = R(null), x = ke(C, r), k = dr(C), j = e.hasOwnProperty("open") || v !== null, fe = e.hasOwnProperty("onClose");
|
|
6492
6703
|
if (!j && !fe)
|
|
6493
6704
|
throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");
|
|
6494
6705
|
if (!j)
|
|
@@ -6499,50 +6710,50 @@ function hi(e, r) {
|
|
|
6499
6710
|
throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${s}`);
|
|
6500
6711
|
if (typeof o != "function")
|
|
6501
6712
|
throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o}`);
|
|
6502
|
-
let S = s ? 0 : 1, [
|
|
6503
|
-
var
|
|
6504
|
-
return (
|
|
6505
|
-
} }, { resolveContainers: G, mainTreeNodeRef: pe, MainTreeNode: ve } =
|
|
6506
|
-
|
|
6507
|
-
var
|
|
6508
|
-
return [(xe = (
|
|
6713
|
+
let S = s ? 0 : 1, [Z, we] = Yn(bi, { titleId: null, descriptionId: null, panelRef: qn() }), J = P(() => o(!1)), Y = P((W) => we({ type: 0, id: W })), X = cr() ? S === 0 : !1, te = p > 1, ie = re(wr) !== null, [$, O] = Xa(), V = { get current() {
|
|
6714
|
+
var W;
|
|
6715
|
+
return (W = Z.panelRef.current) != null ? W : C.current;
|
|
6716
|
+
} }, { resolveContainers: G, mainTreeNodeRef: pe, MainTreeNode: ve } = ti({ portals: $, defaultContainers: [V] }), he = te ? "parent" : "leaf", z = v !== null ? (v & se.Closing) === se.Closing : !1, ye = te || z ? !1 : X;
|
|
6717
|
+
wa({ allowed: P(() => {
|
|
6718
|
+
var W, xe;
|
|
6719
|
+
return [(xe = (W = C.current) == null ? void 0 : W.closest("[data-headlessui-portal]")) != null ? xe : null];
|
|
6509
6720
|
}), disallowed: P(() => {
|
|
6510
|
-
var
|
|
6511
|
-
return [(xe = (
|
|
6512
|
-
}) },
|
|
6513
|
-
|
|
6721
|
+
var W, xe;
|
|
6722
|
+
return [(xe = (W = pe.current) == null ? void 0 : W.closest("body > *:not(#headlessui-portal-root)")) != null ? xe : null];
|
|
6723
|
+
}) }, f ? !1 : ye), Pa(G, (W) => {
|
|
6724
|
+
W.preventDefault(), J();
|
|
6514
6725
|
}, !(!X || te));
|
|
6515
6726
|
let Q = !(te || S !== 0);
|
|
6516
|
-
an(
|
|
6517
|
-
Q && (
|
|
6518
|
-
}),
|
|
6519
|
-
let [ne, Ke] =
|
|
6520
|
-
return c && (je |= $e.AutoFocus), Je || (je &= ~$e.InitialFocus),
|
|
6521
|
-
xe === "Dialog" && U(
|
|
6522
|
-
}) },
|
|
6523
|
-
}
|
|
6524
|
-
let
|
|
6525
|
-
function
|
|
6526
|
-
let n = yr(), { id: t = `headlessui-dialog-panel-${n}`, ...s } = e, [{ dialogState: o }, a] = dt("Dialog.Panel"), l =
|
|
6527
|
-
|
|
6727
|
+
an(k == null ? void 0 : k.defaultView, "keydown", (W) => {
|
|
6728
|
+
Q && (W.defaultPrevented || W.key === rn.Escape && (W.preventDefault(), W.stopPropagation(), J()));
|
|
6729
|
+
}), Ba(k, f ? !1 : !(z || S !== 0 || ie), G), tn(C, J, S === 0);
|
|
6730
|
+
let [ne, Ke] = ma(), ee = ae(() => [{ dialogState: S, close: J, setTitleId: Y }, Z], [S, Z, J, Y]), B = ae(() => ({ open: S === 0 }), [S]), H = { ref: x, id: t, role: l, tabIndex: -1, "aria-modal": S === 0 ? !0 : void 0, "aria-labelledby": Z.titleId, "aria-describedby": ne }, Je = !ri(), je = X ? U(he, { parent: $e.RestoreFocus, leaf: $e.All & ~$e.FocusLock }) : $e.None;
|
|
6731
|
+
return c && (je |= $e.AutoFocus), Je || (je &= ~$e.InitialFocus), f && (je = $e.None), w.createElement(si, { type: "Dialog", enabled: S === 0, element: C, onUpdate: P((W, xe) => {
|
|
6732
|
+
xe === "Dialog" && U(W, { [Gr.Add]: () => m((Xe) => Xe + 1), [Gr.Remove]: () => m((Xe) => Xe - 1) });
|
|
6733
|
+
}) }, w.createElement(Pt, { force: !0 }, w.createElement(Ft, null, w.createElement(wr.Provider, { value: ee }, w.createElement(Ft.Group, { target: C }, w.createElement(Pt, { force: !1 }, w.createElement(Ke, { slot: B, name: "Dialog.Description" }, w.createElement(O, null, w.createElement(di, { initialFocus: a, initialFocusFallback: C, containers: G, features: je }, w.createElement(ka, { value: J }, be({ ourProps: H, theirProps: u, slot: B, defaultTag: vi, features: xi, visible: S === 0, name: "Dialog" })))))))))), w.createElement(pa, null, w.createElement(ve, null)));
|
|
6734
|
+
}
|
|
6735
|
+
let ki = "div";
|
|
6736
|
+
function wi(e, r) {
|
|
6737
|
+
let n = yr(), { id: t = `headlessui-dialog-panel-${n}`, ...s } = e, [{ dialogState: o }, a] = dt("Dialog.Panel"), l = ke(r, a.panelRef), c = ae(() => ({ open: o === 0 }), [o]), f = P((u) => {
|
|
6738
|
+
u.stopPropagation();
|
|
6528
6739
|
});
|
|
6529
|
-
return be({ ourProps: { ref: l, id: t, onClick:
|
|
6740
|
+
return be({ ourProps: { ref: l, id: t, onClick: f }, theirProps: s, slot: c, defaultTag: ki, name: "Dialog.Panel" });
|
|
6530
6741
|
}
|
|
6531
|
-
let
|
|
6532
|
-
function
|
|
6533
|
-
let n = yr(), { id: t = `headlessui-dialog-title-${n}`, ...s } = e, [{ dialogState: o, setTitleId: a }] = dt("Dialog.Title"), l =
|
|
6742
|
+
let yi = "h2";
|
|
6743
|
+
function ji(e, r) {
|
|
6744
|
+
let n = yr(), { id: t = `headlessui-dialog-title-${n}`, ...s } = e, [{ dialogState: o, setTitleId: a }] = dt("Dialog.Title"), l = ke(r);
|
|
6534
6745
|
oe(() => (a(t), () => a(null)), [t, a]);
|
|
6535
6746
|
let c = ae(() => ({ open: o === 0 }), [o]);
|
|
6536
|
-
return be({ ourProps: { ref: l, id: t }, theirProps: s, slot: c, defaultTag:
|
|
6747
|
+
return be({ ourProps: { ref: l, id: t }, theirProps: s, slot: c, defaultTag: yi, name: "Dialog.Title" });
|
|
6537
6748
|
}
|
|
6538
|
-
let
|
|
6539
|
-
function
|
|
6749
|
+
let Li = ue(Ci), hn = ue(wi), Ei = ue(ji), $i = Object.assign(Li, { Panel: hn, Title: Ei, Description: xa });
|
|
6750
|
+
function Mi(e = 0) {
|
|
6540
6751
|
let [r, n] = ge(e), t = ur(), s = mr((c) => {
|
|
6541
|
-
t.current && n((
|
|
6752
|
+
t.current && n((f) => f | c);
|
|
6542
6753
|
}, [r, t]), o = mr((c) => !!(r & c), [r]), a = mr((c) => {
|
|
6543
|
-
t.current && n((
|
|
6754
|
+
t.current && n((f) => f & ~c);
|
|
6544
6755
|
}, [n, t]), l = mr((c) => {
|
|
6545
|
-
t.current && n((
|
|
6756
|
+
t.current && n((f) => f ^ c);
|
|
6546
6757
|
}, [n]);
|
|
6547
6758
|
return { flags: r, addFlag: s, hasFlag: o, removeFlag: a, toggleFlag: l };
|
|
6548
6759
|
}
|
|
@@ -6556,47 +6767,47 @@ function mn(e) {
|
|
|
6556
6767
|
function Or(e, ...r) {
|
|
6557
6768
|
e && r.length > 0 && e.classList.add(...r);
|
|
6558
6769
|
}
|
|
6559
|
-
function
|
|
6770
|
+
function Wr(e, ...r) {
|
|
6560
6771
|
e && r.length > 0 && e.classList.remove(...r);
|
|
6561
6772
|
}
|
|
6562
|
-
function
|
|
6563
|
-
let n = mn(r), t =
|
|
6773
|
+
function Ni(e, r) {
|
|
6774
|
+
let n = mn(r), t = We();
|
|
6564
6775
|
if (!e)
|
|
6565
6776
|
return t.dispose;
|
|
6566
|
-
let { transitionDuration: s, transitionDelay: o } = getComputedStyle(e), [a, l] = [s, o].map((
|
|
6567
|
-
let [
|
|
6568
|
-
return
|
|
6777
|
+
let { transitionDuration: s, transitionDelay: o } = getComputedStyle(e), [a, l] = [s, o].map((f) => {
|
|
6778
|
+
let [u = 0] = f.split(",").filter(Boolean).map((p) => p.includes("ms") ? parseFloat(p) : parseFloat(p) * 1e3).sort((p, m) => m - p);
|
|
6779
|
+
return u;
|
|
6569
6780
|
}), c = a + l;
|
|
6570
6781
|
if (c !== 0) {
|
|
6571
|
-
let
|
|
6572
|
-
let p =
|
|
6573
|
-
n(),
|
|
6782
|
+
let f = t.group((u) => {
|
|
6783
|
+
let p = u.setTimeout(() => {
|
|
6784
|
+
n(), u.dispose();
|
|
6574
6785
|
}, c);
|
|
6575
|
-
|
|
6576
|
-
m.target === m.currentTarget && (p(),
|
|
6577
|
-
b.target === b.currentTarget && (n(),
|
|
6786
|
+
u.addEventListener(e, "transitionrun", (m) => {
|
|
6787
|
+
m.target === m.currentTarget && (p(), u.addEventListener(e, "transitioncancel", (b) => {
|
|
6788
|
+
b.target === b.currentTarget && (n(), f());
|
|
6578
6789
|
}));
|
|
6579
6790
|
});
|
|
6580
6791
|
});
|
|
6581
|
-
t.addEventListener(e, "transitionend", (
|
|
6582
|
-
|
|
6792
|
+
t.addEventListener(e, "transitionend", (u) => {
|
|
6793
|
+
u.target === u.currentTarget && (n(), t.dispose());
|
|
6583
6794
|
});
|
|
6584
6795
|
} else
|
|
6585
6796
|
n();
|
|
6586
6797
|
return t.dispose;
|
|
6587
6798
|
}
|
|
6588
|
-
function
|
|
6589
|
-
let o =
|
|
6799
|
+
function Ti(e, { direction: r, done: n, classes: t, inFlight: s }) {
|
|
6800
|
+
let o = We(), a = n !== void 0 ? mn(n) : () => {
|
|
6590
6801
|
};
|
|
6591
6802
|
r === "enter" && (e.removeAttribute("hidden"), e.style.display = "");
|
|
6592
|
-
let l = U(r, { enter: () => t.enter, leave: () => t.leave }), c = U(r, { enter: () => t.enterTo, leave: () => t.leaveTo }),
|
|
6593
|
-
return
|
|
6594
|
-
|
|
6803
|
+
let l = U(r, { enter: () => t.enter, leave: () => t.leave }), c = U(r, { enter: () => t.enterTo, leave: () => t.leaveTo }), f = U(r, { enter: () => t.enterFrom, leave: () => t.leaveFrom });
|
|
6804
|
+
return Si(e, { prepare() {
|
|
6805
|
+
Wr(e, ...t.base, ...t.enter, ...t.enterTo, ...t.enterFrom, ...t.leave, ...t.leaveFrom, ...t.leaveTo, ...t.entered), Or(e, ...t.base, ...l, ...f);
|
|
6595
6806
|
}, inFlight: s }), s && (s.current = !0), o.nextFrame(() => {
|
|
6596
|
-
o.add(
|
|
6807
|
+
o.add(Ni(e, () => (Wr(e, ...t.base, ...l), Or(e, ...t.base, ...t.entered, ...c), s && (s.current = !1), a()))), Wr(e, ...t.base, ...l, ...f), Or(e, ...t.base, ...l, ...c);
|
|
6597
6808
|
}), o.dispose;
|
|
6598
6809
|
}
|
|
6599
|
-
function
|
|
6810
|
+
function Si(e, { inFlight: r, prepare: n }) {
|
|
6600
6811
|
if (r != null && r.current) {
|
|
6601
6812
|
n();
|
|
6602
6813
|
return;
|
|
@@ -6604,14 +6815,14 @@ function Ei(e, { inFlight: r, prepare: n }) {
|
|
|
6604
6815
|
let t = e.style.transition;
|
|
6605
6816
|
e.style.transition = "none", n(), e.offsetHeight, e.style.transition = t;
|
|
6606
6817
|
}
|
|
6607
|
-
function
|
|
6818
|
+
function Ri({ container: e, direction: r, classes: n, onStart: t, onStop: s }) {
|
|
6608
6819
|
let o = ur(), a = nt(), l = R(!1);
|
|
6609
6820
|
K(() => {
|
|
6610
6821
|
if (r === "idle" || !o.current)
|
|
6611
6822
|
return;
|
|
6612
6823
|
t.current(r);
|
|
6613
6824
|
let c = e.current;
|
|
6614
|
-
return c ? a.add(
|
|
6825
|
+
return c ? a.add(Ti(c, { direction: r, classes: n.current, inFlight: l, done() {
|
|
6615
6826
|
s.current(r);
|
|
6616
6827
|
} })) : s.current(r), a.dispose;
|
|
6617
6828
|
}, [r]);
|
|
@@ -6621,18 +6832,18 @@ function Pe(e = "") {
|
|
|
6621
6832
|
}
|
|
6622
6833
|
function gn(e) {
|
|
6623
6834
|
var r;
|
|
6624
|
-
return !!(e.enter || e.enterFrom || e.enterTo || e.leave || e.leaveFrom || e.leaveTo) || ((r = e.as) != null ? r : vn) !== de ||
|
|
6835
|
+
return !!(e.enter || e.enterFrom || e.enterTo || e.leave || e.leaveFrom || e.leaveTo) || ((r = e.as) != null ? r : vn) !== de || w.Children.count(e.children) === 1;
|
|
6625
6836
|
}
|
|
6626
|
-
let
|
|
6627
|
-
|
|
6628
|
-
var
|
|
6629
|
-
function
|
|
6630
|
-
let e = re(
|
|
6837
|
+
let Er = ce(null);
|
|
6838
|
+
Er.displayName = "TransitionContext";
|
|
6839
|
+
var Ai = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(Ai || {});
|
|
6840
|
+
function Pi() {
|
|
6841
|
+
let e = re(Er);
|
|
6631
6842
|
if (e === null)
|
|
6632
6843
|
throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
|
|
6633
6844
|
return e;
|
|
6634
6845
|
}
|
|
6635
|
-
function
|
|
6846
|
+
function Fi() {
|
|
6636
6847
|
let e = re($r);
|
|
6637
6848
|
if (e === null)
|
|
6638
6849
|
throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
|
|
@@ -6640,111 +6851,111 @@ function Ni() {
|
|
|
6640
6851
|
}
|
|
6641
6852
|
let $r = ce(null);
|
|
6642
6853
|
$r.displayName = "NestingContext";
|
|
6643
|
-
function
|
|
6644
|
-
return "children" in e ?
|
|
6854
|
+
function Mr(e) {
|
|
6855
|
+
return "children" in e ? Mr(e.children) : e.current.filter(({ el: r }) => r.current !== null).filter(({ state: r }) => r === "visible").length > 0;
|
|
6645
6856
|
}
|
|
6646
6857
|
function bn(e, r) {
|
|
6647
|
-
let n = Ce(e), t = R([]), s = ur(), o = nt(), a = P((b,
|
|
6648
|
-
let C = t.current.findIndex(({ el:
|
|
6649
|
-
C !== -1 && (U(
|
|
6858
|
+
let n = Ce(e), t = R([]), s = ur(), o = nt(), a = P((b, v = Oe.Hidden) => {
|
|
6859
|
+
let C = t.current.findIndex(({ el: x }) => x === b);
|
|
6860
|
+
C !== -1 && (U(v, { [Oe.Unmount]() {
|
|
6650
6861
|
t.current.splice(C, 1);
|
|
6651
6862
|
}, [Oe.Hidden]() {
|
|
6652
6863
|
t.current[C].state = "hidden";
|
|
6653
6864
|
} }), o.microTask(() => {
|
|
6654
|
-
var
|
|
6655
|
-
!
|
|
6865
|
+
var x;
|
|
6866
|
+
!Mr(t) && s.current && ((x = n.current) == null || x.call(n));
|
|
6656
6867
|
}));
|
|
6657
6868
|
}), l = P((b) => {
|
|
6658
|
-
let
|
|
6659
|
-
return
|
|
6660
|
-
}), c = R([]),
|
|
6661
|
-
c.current.splice(0), r && (r.chains.current[
|
|
6662
|
-
c.current.push(
|
|
6663
|
-
})]), r == null || r.chains.current[
|
|
6664
|
-
Promise.all(
|
|
6665
|
-
})]),
|
|
6666
|
-
}), m = P((b,
|
|
6667
|
-
Promise.all(
|
|
6668
|
-
var
|
|
6669
|
-
(
|
|
6670
|
-
}).then(() => C(
|
|
6869
|
+
let v = t.current.find(({ el: C }) => C === b);
|
|
6870
|
+
return v ? v.state !== "visible" && (v.state = "visible") : t.current.push({ el: b, state: "visible" }), () => a(b, Oe.Unmount);
|
|
6871
|
+
}), c = R([]), f = R(Promise.resolve()), u = R({ enter: [], leave: [], idle: [] }), p = P((b, v, C) => {
|
|
6872
|
+
c.current.splice(0), r && (r.chains.current[v] = r.chains.current[v].filter(([x]) => x !== b)), r == null || r.chains.current[v].push([b, new Promise((x) => {
|
|
6873
|
+
c.current.push(x);
|
|
6874
|
+
})]), r == null || r.chains.current[v].push([b, new Promise((x) => {
|
|
6875
|
+
Promise.all(u.current[v].map(([k, j]) => j)).then(() => x());
|
|
6876
|
+
})]), v === "enter" ? f.current = f.current.then(() => r == null ? void 0 : r.wait.current).then(() => C(v)) : C(v);
|
|
6877
|
+
}), m = P((b, v, C) => {
|
|
6878
|
+
Promise.all(u.current[v].splice(0).map(([x, k]) => k)).then(() => {
|
|
6879
|
+
var x;
|
|
6880
|
+
(x = c.current.shift()) == null || x();
|
|
6881
|
+
}).then(() => C(v));
|
|
6671
6882
|
});
|
|
6672
|
-
return ae(() => ({ children: t, register: l, unregister: a, onStart: p, onStop: m, wait:
|
|
6883
|
+
return ae(() => ({ children: t, register: l, unregister: a, onStart: p, onStop: m, wait: f, chains: u }), [l, a, t, p, m, u, f]);
|
|
6673
6884
|
}
|
|
6674
6885
|
let vn = de, xn = Cr.RenderStrategy;
|
|
6675
|
-
function
|
|
6886
|
+
function Oi(e, r) {
|
|
6676
6887
|
var n, t, s;
|
|
6677
|
-
let { beforeEnter: o, afterEnter: a, beforeLeave: l, afterLeave: c, enter:
|
|
6678
|
-
K(() => ie(
|
|
6679
|
-
if (S === Oe.Hidden &&
|
|
6680
|
-
if (
|
|
6888
|
+
let { beforeEnter: o, afterEnter: a, beforeLeave: l, afterLeave: c, enter: f, enterFrom: u, enterTo: p, entered: m, leave: b, leaveFrom: v, leaveTo: C, ...x } = e, k = R(null), j = gn(e), fe = ke(...j ? [k, r] : r === null ? [] : [r]), S = (n = x.unmount) == null || n ? Oe.Unmount : Oe.Hidden, { show: Z, appear: we, initial: J } = Pi(), [Y, X] = ge(Z ? "visible" : "hidden"), te = Fi(), { register: ie, unregister: $ } = te;
|
|
6889
|
+
K(() => ie(k), [ie, k]), K(() => {
|
|
6890
|
+
if (S === Oe.Hidden && k.current) {
|
|
6891
|
+
if (Z && Y !== "visible") {
|
|
6681
6892
|
X("visible");
|
|
6682
6893
|
return;
|
|
6683
6894
|
}
|
|
6684
|
-
return U(
|
|
6895
|
+
return U(Y, { hidden: () => $(k), visible: () => ie(k) });
|
|
6685
6896
|
}
|
|
6686
|
-
}, [
|
|
6687
|
-
let O = Ce({ base: Pe(
|
|
6897
|
+
}, [Y, k, ie, $, Z, S]);
|
|
6898
|
+
let O = Ce({ base: Pe(x.className), enter: Pe(f), enterFrom: Pe(u), enterTo: Pe(p), entered: Pe(m), leave: Pe(b), leaveFrom: Pe(v), leaveTo: Pe(C) }), V = Ce({ beforeEnter: o, afterEnter: a, beforeLeave: l, afterLeave: c }), G = cr();
|
|
6688
6899
|
K(() => {
|
|
6689
|
-
if (j && G &&
|
|
6900
|
+
if (j && G && Y === "visible" && k.current === null)
|
|
6690
6901
|
throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
|
|
6691
|
-
}, [
|
|
6692
|
-
let pe = J && !
|
|
6693
|
-
var
|
|
6694
|
-
z.addFlag(se.Opening), (
|
|
6902
|
+
}, [k, Y, G, j]);
|
|
6903
|
+
let pe = J && !we, ve = we && Z && J, he = ve ? "enter" : !G || pe ? "idle" : Z ? "enter" : "leave", z = Mi(0), ye = P((ee) => U(ee, { enter: () => {
|
|
6904
|
+
var B, H;
|
|
6905
|
+
z.addFlag(se.Opening), (H = (B = V.current).beforeEnter) == null || H.call(B);
|
|
6695
6906
|
}, leave: () => {
|
|
6696
|
-
var
|
|
6697
|
-
z.addFlag(se.Closing), (
|
|
6907
|
+
var B, H;
|
|
6908
|
+
z.addFlag(se.Closing), (H = (B = V.current).beforeLeave) == null || H.call(B);
|
|
6698
6909
|
}, idle: () => {
|
|
6699
6910
|
} })), me = P((ee) => U(ee, { enter: () => {
|
|
6700
|
-
var
|
|
6701
|
-
z.removeFlag(se.Opening), (
|
|
6911
|
+
var B, H;
|
|
6912
|
+
z.removeFlag(se.Opening), (H = (B = V.current).afterEnter) == null || H.call(B);
|
|
6702
6913
|
}, leave: () => {
|
|
6703
|
-
var
|
|
6704
|
-
z.removeFlag(se.Closing), (
|
|
6914
|
+
var B, H;
|
|
6915
|
+
z.removeFlag(se.Closing), (H = (B = V.current).afterLeave) == null || H.call(B);
|
|
6705
6916
|
}, idle: () => {
|
|
6706
6917
|
} })), Q = R(!1), Se = bn(() => {
|
|
6707
|
-
Q.current || (X("hidden"), $(
|
|
6918
|
+
Q.current || (X("hidden"), $(k));
|
|
6708
6919
|
}, te);
|
|
6709
|
-
|
|
6710
|
-
Q.current = !0, Se.onStart(
|
|
6920
|
+
Ri({ container: k, classes: O, direction: he, onStart: Ce((ee) => {
|
|
6921
|
+
Q.current = !0, Se.onStart(k, ee, ye);
|
|
6711
6922
|
}), onStop: Ce((ee) => {
|
|
6712
|
-
Q.current = !1, Se.onStop(
|
|
6923
|
+
Q.current = !1, Se.onStop(k, ee, me), ee === "leave" && !Mr(Se) && (X("hidden"), $(k));
|
|
6713
6924
|
}) });
|
|
6714
|
-
let ne =
|
|
6715
|
-
return ve ? ne = { ...ne, className: ar(
|
|
6925
|
+
let ne = x, Ke = { ref: fe };
|
|
6926
|
+
return ve ? ne = { ...ne, className: ar(x.className, ...O.current.enter, ...O.current.enterFrom) } : Q.current ? (ne.className = ar(x.className, (t = k.current) == null ? void 0 : t.className), ne.className === "" && delete ne.className) : (ne.className = ar(x.className, (s = k.current) == null ? void 0 : s.className, ...U(he, { enter: [...O.current.enterTo, ...O.current.entered], leave: O.current.leaveTo, idle: [] })), ne.className === "" && delete ne.className), w.createElement($r.Provider, { value: Se }, w.createElement(Ha, { value: U(Y, { visible: se.Open, hidden: se.Closed }) | z.flags }, be({ ourProps: Ke, theirProps: ne, defaultTag: vn, features: xn, visible: Y === "visible", name: "Transition.Child" })));
|
|
6716
6927
|
}
|
|
6717
|
-
function
|
|
6718
|
-
let { show: n, appear: t = !1, unmount: s = !0, ...o } = e, a = R(null), l = gn(e), c =
|
|
6928
|
+
function Wi(e, r) {
|
|
6929
|
+
let { show: n, appear: t = !1, unmount: s = !0, ...o } = e, a = R(null), l = gn(e), c = ke(...l ? [a, r] : r === null ? [] : [r]);
|
|
6719
6930
|
cr();
|
|
6720
|
-
let
|
|
6721
|
-
if (n === void 0 &&
|
|
6931
|
+
let f = it();
|
|
6932
|
+
if (n === void 0 && f !== null && (n = (f & se.Open) === se.Open), n === void 0)
|
|
6722
6933
|
throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");
|
|
6723
|
-
let [
|
|
6934
|
+
let [u, p] = ge(n ? "visible" : "hidden"), m = bn(() => {
|
|
6724
6935
|
n || p("hidden");
|
|
6725
|
-
}), [b,
|
|
6936
|
+
}), [b, v] = ge(!0), C = R([n]);
|
|
6726
6937
|
K(() => {
|
|
6727
|
-
b !== !1 && C.current[C.current.length - 1] !== n && (C.current.push(n),
|
|
6938
|
+
b !== !1 && C.current[C.current.length - 1] !== n && (C.current.push(n), v(!1));
|
|
6728
6939
|
}, [C, n]);
|
|
6729
|
-
let
|
|
6940
|
+
let x = ae(() => ({ show: n, appear: t, initial: b }), [n, t, b]);
|
|
6730
6941
|
tn(a, () => p("hidden")), K(() => {
|
|
6731
|
-
n ? p("visible") : !
|
|
6942
|
+
n ? p("visible") : !Mr(m) && a.current !== null && p("hidden");
|
|
6732
6943
|
}, [n, m]);
|
|
6733
|
-
let
|
|
6944
|
+
let k = { unmount: s }, j = P(() => {
|
|
6734
6945
|
var S;
|
|
6735
|
-
b &&
|
|
6946
|
+
b && v(!1), (S = e.beforeEnter) == null || S.call(e);
|
|
6736
6947
|
}), fe = P(() => {
|
|
6737
6948
|
var S;
|
|
6738
|
-
b &&
|
|
6949
|
+
b && v(!1), (S = e.beforeLeave) == null || S.call(e);
|
|
6739
6950
|
});
|
|
6740
|
-
return
|
|
6951
|
+
return w.createElement($r.Provider, { value: m }, w.createElement(Er.Provider, { value: x }, be({ ourProps: { ...k, as: de, children: w.createElement(Cn, { ref: c, ...k, ...o, beforeEnter: j, beforeLeave: fe }) }, theirProps: {}, defaultTag: de, features: xn, visible: u === "visible", name: "Transition" })));
|
|
6741
6952
|
}
|
|
6742
|
-
function
|
|
6743
|
-
let n = re(
|
|
6744
|
-
return
|
|
6953
|
+
function _i(e, r) {
|
|
6954
|
+
let n = re(Er) !== null, t = it() !== null;
|
|
6955
|
+
return w.createElement(w.Fragment, null, !n && t ? w.createElement(Zr, { ref: r, ...e }) : w.createElement(Cn, { ref: r, ...e }));
|
|
6745
6956
|
}
|
|
6746
|
-
let
|
|
6747
|
-
const
|
|
6957
|
+
let Zr = ue(Wi), Cn = ue(Oi), Yr = ue(_i), Ii = Object.assign(Zr, { Child: Yr, Root: Zr });
|
|
6958
|
+
const Vi = ({
|
|
6748
6959
|
open: e = !1,
|
|
6749
6960
|
onClose: r,
|
|
6750
6961
|
title: n = "",
|
|
@@ -6754,12 +6965,12 @@ const Pi = ({
|
|
|
6754
6965
|
icon: a = !1,
|
|
6755
6966
|
iconComponent: l,
|
|
6756
6967
|
iconName: c = void 0,
|
|
6757
|
-
dismissible:
|
|
6758
|
-
horizontalRule:
|
|
6968
|
+
dismissible: f = !0,
|
|
6969
|
+
horizontalRule: u = !0
|
|
6759
6970
|
}) => {
|
|
6760
|
-
const p = () => l ? /* @__PURE__ */ i.jsx(i.Fragment, { children: l }) : a && c ? /* @__PURE__ */ i.jsx(
|
|
6761
|
-
return /* @__PURE__ */ i.jsx(
|
|
6762
|
-
|
|
6971
|
+
const p = () => l ? /* @__PURE__ */ i.jsx(i.Fragment, { children: l }) : a && c ? /* @__PURE__ */ i.jsx(Te, { name: c, size: "medium" }) : null, m = () => t === "dismissible" ? r() : !0;
|
|
6972
|
+
return /* @__PURE__ */ i.jsx(Ii, { appear: !0, show: e, as: de, children: /* @__PURE__ */ i.jsxs(
|
|
6973
|
+
$i,
|
|
6763
6974
|
{
|
|
6764
6975
|
as: "div",
|
|
6765
6976
|
onClose: m,
|
|
@@ -6768,7 +6979,7 @@ const Pi = ({
|
|
|
6768
6979
|
"aria-labelledby": "modal-title",
|
|
6769
6980
|
children: [
|
|
6770
6981
|
t !== "none" && /* @__PURE__ */ i.jsx(
|
|
6771
|
-
|
|
6982
|
+
Yr,
|
|
6772
6983
|
{
|
|
6773
6984
|
as: de,
|
|
6774
6985
|
enter: "ease-out duration-300",
|
|
@@ -6787,7 +6998,7 @@ const Pi = ({
|
|
|
6787
6998
|
}
|
|
6788
6999
|
),
|
|
6789
7000
|
/* @__PURE__ */ i.jsx("div", { className: "ds-fixed ds-inset-0 ds-z-20 ds-w-screen ds-overflow-y-auto", children: /* @__PURE__ */ i.jsx("div", { className: "ds-flex ds-min-h-full ds-items-center ds-justify-center ds-p-4", children: /* @__PURE__ */ i.jsx(
|
|
6790
|
-
|
|
7001
|
+
Yr,
|
|
6791
7002
|
{
|
|
6792
7003
|
as: de,
|
|
6793
7004
|
enter: "ease-out duration-300",
|
|
@@ -6800,7 +7011,7 @@ const Pi = ({
|
|
|
6800
7011
|
/* @__PURE__ */ i.jsxs(
|
|
6801
7012
|
"div",
|
|
6802
7013
|
{
|
|
6803
|
-
className: `ds-flex ds-items-center ds-py-4 ${
|
|
7014
|
+
className: `ds-flex ds-items-center ds-py-4 ${f ? "ds-pl-5 ds-pr-3" : "ds-px-5"}`,
|
|
6804
7015
|
children: [
|
|
6805
7016
|
a && /* @__PURE__ */ i.jsx("div", { className: "ds-mr-3", children: p() }),
|
|
6806
7017
|
/* @__PURE__ */ i.jsx("div", { className: "ds-flex-grow", children: /* @__PURE__ */ i.jsx(
|
|
@@ -6813,7 +7024,7 @@ const Pi = ({
|
|
|
6813
7024
|
id: "modal-title"
|
|
6814
7025
|
}
|
|
6815
7026
|
) }),
|
|
6816
|
-
|
|
7027
|
+
f && /* @__PURE__ */ i.jsx(
|
|
6817
7028
|
et,
|
|
6818
7029
|
{
|
|
6819
7030
|
variant: "default",
|
|
@@ -6828,7 +7039,7 @@ const Pi = ({
|
|
|
6828
7039
|
]
|
|
6829
7040
|
}
|
|
6830
7041
|
),
|
|
6831
|
-
|
|
7042
|
+
u && /* @__PURE__ */ i.jsx("hr", { className: "ds-border-neutrals-light" }),
|
|
6832
7043
|
s && /* @__PURE__ */ i.jsx(
|
|
6833
7044
|
"div",
|
|
6834
7045
|
{
|
|
@@ -6843,7 +7054,7 @@ const Pi = ({
|
|
|
6843
7054
|
]
|
|
6844
7055
|
}
|
|
6845
7056
|
) });
|
|
6846
|
-
},
|
|
7057
|
+
}, Fl = Vi, Di = F(
|
|
6847
7058
|
[
|
|
6848
7059
|
"preflight",
|
|
6849
7060
|
"ds-rounded-xl",
|
|
@@ -6885,7 +7096,7 @@ const Pi = ({
|
|
|
6885
7096
|
}
|
|
6886
7097
|
}
|
|
6887
7098
|
}
|
|
6888
|
-
),
|
|
7099
|
+
), Bi = ({
|
|
6889
7100
|
label: e,
|
|
6890
7101
|
type: r = "regular",
|
|
6891
7102
|
color: n = "default",
|
|
@@ -6899,7 +7110,7 @@ const Pi = ({
|
|
|
6899
7110
|
return /* @__PURE__ */ i.jsxs(
|
|
6900
7111
|
"div",
|
|
6901
7112
|
{
|
|
6902
|
-
className:
|
|
7113
|
+
className: D(Di({ color: n, type: r }), o),
|
|
6903
7114
|
"aria-label": c,
|
|
6904
7115
|
...l,
|
|
6905
7116
|
children: [
|
|
@@ -6920,7 +7131,7 @@ const Pi = ({
|
|
|
6920
7131
|
]
|
|
6921
7132
|
}
|
|
6922
7133
|
);
|
|
6923
|
-
},
|
|
7134
|
+
}, Hi = Bi, zi = F(
|
|
6924
7135
|
[
|
|
6925
7136
|
"preflight",
|
|
6926
7137
|
"ds-transition",
|
|
@@ -6969,7 +7180,7 @@ const Pi = ({
|
|
|
6969
7180
|
}
|
|
6970
7181
|
}
|
|
6971
7182
|
}
|
|
6972
|
-
),
|
|
7183
|
+
), Ui = ({
|
|
6973
7184
|
title: e,
|
|
6974
7185
|
id: r,
|
|
6975
7186
|
handleClick: n,
|
|
@@ -6979,10 +7190,10 @@ const Pi = ({
|
|
|
6979
7190
|
className: a = "",
|
|
6980
7191
|
...l
|
|
6981
7192
|
}) => {
|
|
6982
|
-
const c = (
|
|
6983
|
-
|
|
6984
|
-
|
|
6985
|
-
|
|
7193
|
+
const c = (f, u, p) => D(
|
|
7194
|
+
zi({ isNested: f }),
|
|
7195
|
+
u && !f && "!ds-border-b-acuity-green",
|
|
7196
|
+
u && f && "ds-bg-neutrals-white !ds-border-neutrals",
|
|
6986
7197
|
p
|
|
6987
7198
|
);
|
|
6988
7199
|
return /* @__PURE__ */ i.jsxs(
|
|
@@ -6998,7 +7209,7 @@ const Pi = ({
|
|
|
6998
7209
|
children: [
|
|
6999
7210
|
e,
|
|
7000
7211
|
o && /* @__PURE__ */ i.jsx(
|
|
7001
|
-
|
|
7212
|
+
Hi,
|
|
7002
7213
|
{
|
|
7003
7214
|
label: o,
|
|
7004
7215
|
className: "ds-ml-2 ds-h-5 ds-bg-neutrals-white ds-text-neutrals-black"
|
|
@@ -7007,7 +7218,7 @@ const Pi = ({
|
|
|
7007
7218
|
]
|
|
7008
7219
|
}
|
|
7009
7220
|
);
|
|
7010
|
-
},
|
|
7221
|
+
}, Gi = ({ id: e, children: r, hidden: n }) => /* @__PURE__ */ i.jsx(
|
|
7011
7222
|
"div",
|
|
7012
7223
|
{
|
|
7013
7224
|
role: "tabpanel",
|
|
@@ -7017,7 +7228,7 @@ const Pi = ({
|
|
|
7017
7228
|
className: "preflight",
|
|
7018
7229
|
children: r
|
|
7019
7230
|
}
|
|
7020
|
-
),
|
|
7231
|
+
), Zi = ({
|
|
7021
7232
|
children: e,
|
|
7022
7233
|
handleTabChange: r,
|
|
7023
7234
|
activeTabIndex: n,
|
|
@@ -7025,13 +7236,13 @@ const Pi = ({
|
|
|
7025
7236
|
className: s = "",
|
|
7026
7237
|
...o
|
|
7027
7238
|
}) => {
|
|
7028
|
-
const a =
|
|
7239
|
+
const a = w.Children.toArray(e).filter(
|
|
7029
7240
|
(l) => {
|
|
7030
|
-
var c,
|
|
7031
|
-
return
|
|
7241
|
+
var c, f;
|
|
7242
|
+
return w.isValidElement(l) && !!((c = l.props) != null && c.id) && !!((f = l.props) != null && f.title);
|
|
7032
7243
|
}
|
|
7033
7244
|
);
|
|
7034
|
-
return a.length <
|
|
7245
|
+
return a.length < w.Children.toArray(e).length && console.error(
|
|
7035
7246
|
"You can only pass <Tab> components with defined id and title as children of the <Tabs> component."
|
|
7036
7247
|
), /* @__PURE__ */ i.jsxs("div", { className: `prelight ${s}`, ...o, children: [
|
|
7037
7248
|
/* @__PURE__ */ i.jsx(
|
|
@@ -7040,7 +7251,7 @@ const Pi = ({
|
|
|
7040
7251
|
role: "tablist",
|
|
7041
7252
|
className: `preflight ds-mb-5 ds-rounded ${t && "!ds-mb-4 ds-bg-neutrals-lighter ds-px-2"}`,
|
|
7042
7253
|
children: a.map((l, c) => /* @__PURE__ */ i.jsx(
|
|
7043
|
-
|
|
7254
|
+
Ui,
|
|
7044
7255
|
{
|
|
7045
7256
|
handleClick: () => r(c),
|
|
7046
7257
|
isActive: n === c,
|
|
@@ -7053,7 +7264,7 @@ const Pi = ({
|
|
|
7053
7264
|
}
|
|
7054
7265
|
),
|
|
7055
7266
|
a.map((l, c) => /* @__PURE__ */ i.jsx(
|
|
7056
|
-
|
|
7267
|
+
Gi,
|
|
7057
7268
|
{
|
|
7058
7269
|
id: l.props.id,
|
|
7059
7270
|
hidden: n !== c,
|
|
@@ -7062,7 +7273,7 @@ const Pi = ({
|
|
|
7062
7273
|
`panel-${c}`
|
|
7063
7274
|
))
|
|
7064
7275
|
] });
|
|
7065
|
-
},
|
|
7276
|
+
}, Ol = Zi, Yi = ({ children: e }) => e, Wl = Yi, qi = F(
|
|
7066
7277
|
[
|
|
7067
7278
|
"preflight",
|
|
7068
7279
|
"ds-form-label",
|
|
@@ -7083,28 +7294,38 @@ const Pi = ({
|
|
|
7083
7294
|
}
|
|
7084
7295
|
}
|
|
7085
7296
|
}
|
|
7086
|
-
),
|
|
7297
|
+
), Ki = (e) => D(qi(e)), Ji = ({
|
|
7087
7298
|
id: e,
|
|
7088
7299
|
state: r = "default",
|
|
7089
7300
|
disabled: n = !1,
|
|
7090
7301
|
htmlFor: t,
|
|
7091
7302
|
value: s = "",
|
|
7092
7303
|
optionalityLabel: o = ""
|
|
7093
|
-
}) => /* @__PURE__ */ i.jsxs("label", { id: e, htmlFor: t, className:
|
|
7304
|
+
}) => /* @__PURE__ */ i.jsxs("label", { id: e, htmlFor: t, className: Ki({ state: r, disabled: n }), children: [
|
|
7094
7305
|
s,
|
|
7095
7306
|
o && /* @__PURE__ */ i.jsx("span", { className: "ds-text-sm ds-text-neutrals-darker", children: ` (${o})` })
|
|
7096
|
-
] }),
|
|
7307
|
+
] }), Xi = Ji, Qi = F(
|
|
7097
7308
|
["preflight", "group", "ds-flex", "ds-flex-col", "ds-container"],
|
|
7098
7309
|
{
|
|
7099
7310
|
variants: {
|
|
7100
7311
|
state: {
|
|
7101
|
-
default: ["[&>label]:focus-within:ds-text-acuity-blue"
|
|
7312
|
+
default: ["[&>label]:focus-within:ds-text-acuity-blue"],
|
|
7102
7313
|
error: ["[&>label]:focus-within:ds-text-danger-red-darkest"],
|
|
7103
7314
|
success: ["[&>label]:focus-within:ds-text-success-green-darkest"]
|
|
7315
|
+
},
|
|
7316
|
+
hasMarginBottom: {
|
|
7317
|
+
true: ""
|
|
7104
7318
|
}
|
|
7105
|
-
}
|
|
7319
|
+
},
|
|
7320
|
+
compoundVariants: [
|
|
7321
|
+
{
|
|
7322
|
+
state: "default",
|
|
7323
|
+
hasMarginBottom: !0,
|
|
7324
|
+
className: ["ds-mb-6", "ds-pb-2"]
|
|
7325
|
+
}
|
|
7326
|
+
]
|
|
7106
7327
|
}
|
|
7107
|
-
),
|
|
7328
|
+
), el = (e) => D(Qi(e)), rl = F(["ds-form-label", "!ds-font-sans", "ds-text-base"], {
|
|
7108
7329
|
variants: {
|
|
7109
7330
|
state: {
|
|
7110
7331
|
default: ["ds-text-neutrals-black", "ds-mt-2"],
|
|
@@ -7122,7 +7343,7 @@ const Pi = ({
|
|
|
7122
7343
|
true: "!ds-text-neutrals-dark"
|
|
7123
7344
|
}
|
|
7124
7345
|
}
|
|
7125
|
-
}),
|
|
7346
|
+
}), tl = (e) => D(rl(e)), nl = ({
|
|
7126
7347
|
id: e,
|
|
7127
7348
|
state: r = "default",
|
|
7128
7349
|
disabled: n = !1,
|
|
@@ -7131,62 +7352,57 @@ const Pi = ({
|
|
|
7131
7352
|
helpText: o = [],
|
|
7132
7353
|
message: a = "",
|
|
7133
7354
|
child: l,
|
|
7134
|
-
isTextarea: c = !1
|
|
7355
|
+
isTextarea: c = !1,
|
|
7356
|
+
className: f = "",
|
|
7357
|
+
hasMarginBottom: u = !0
|
|
7135
7358
|
}) => {
|
|
7136
|
-
let
|
|
7359
|
+
let p = null;
|
|
7137
7360
|
switch (r) {
|
|
7138
7361
|
case "error":
|
|
7139
|
-
|
|
7362
|
+
p = {
|
|
7140
7363
|
name: "error",
|
|
7141
7364
|
color: "ds-text-danger-red"
|
|
7142
7365
|
};
|
|
7143
7366
|
break;
|
|
7144
7367
|
case "success":
|
|
7145
|
-
|
|
7368
|
+
p = {
|
|
7146
7369
|
name: "checkCircle",
|
|
7147
7370
|
color: "ds-text-success-green"
|
|
7148
7371
|
};
|
|
7149
7372
|
break;
|
|
7150
7373
|
}
|
|
7151
|
-
const
|
|
7152
|
-
return /* @__PURE__ */ i.jsxs("div", { className:
|
|
7374
|
+
const m = t ? "label_" + e : void 0, b = o && o.length > 0 ? "helptext_" + e : void 0;
|
|
7375
|
+
return /* @__PURE__ */ i.jsxs("div", { className: D(el({ state: r, hasMarginBottom: u }), f), children: [
|
|
7153
7376
|
t && /* @__PURE__ */ i.jsx(
|
|
7154
|
-
|
|
7377
|
+
Xi,
|
|
7155
7378
|
{
|
|
7156
|
-
id:
|
|
7379
|
+
id: m,
|
|
7157
7380
|
htmlFor: e,
|
|
7158
7381
|
value: t,
|
|
7159
7382
|
optionalityLabel: s,
|
|
7160
7383
|
disabled: n
|
|
7161
7384
|
}
|
|
7162
7385
|
),
|
|
7163
|
-
o && o.length > 1 && /* @__PURE__ */ i.jsx("ul", { id:
|
|
7164
|
-
o && o.length === 1 && /* @__PURE__ */ i.jsx("p", { id:
|
|
7386
|
+
o && o.length > 1 && /* @__PURE__ */ i.jsx("ul", { id: b, className: "ds-mt-2 ds-pb-1 ds-pl-6", children: o == null ? void 0 : o.map((v, C) => /* @__PURE__ */ i.jsx("li", { className: "ds-list-disc ds-text-neutrals-dark", children: v }, C)) }),
|
|
7387
|
+
o && o.length === 1 && /* @__PURE__ */ i.jsx("p", { id: b, className: "ds-mt-2 ds-pb-1 ds-text-neutrals-dark", children: o }),
|
|
7165
7388
|
/* @__PURE__ */ i.jsxs("div", { className: "ds-mt-2 ds-flex ds-gap-2", children: [
|
|
7166
7389
|
/* @__PURE__ */ i.jsx("div", { className: c ? "" : "ds-w-[calc(100%-2rem)]", children: l }),
|
|
7167
|
-
/* @__PURE__ */ i.jsx("div", { className: "ds-pt-2", children:
|
|
7168
|
-
|
|
7390
|
+
/* @__PURE__ */ i.jsx("div", { className: "ds-pt-2", children: p && /* @__PURE__ */ i.jsx(
|
|
7391
|
+
Te,
|
|
7169
7392
|
{
|
|
7170
|
-
name:
|
|
7393
|
+
name: p.name,
|
|
7171
7394
|
size: "medium",
|
|
7172
|
-
className:
|
|
7395
|
+
className: p.color,
|
|
7173
7396
|
role: "graphics-symbol"
|
|
7174
7397
|
}
|
|
7175
7398
|
) })
|
|
7176
7399
|
] }),
|
|
7177
|
-
|
|
7400
|
+
p && /* @__PURE__ */ i.jsx("p", { className: tl({ state: r }), children: a })
|
|
7178
7401
|
] });
|
|
7179
|
-
}, ct =
|
|
7180
|
-
[
|
|
7181
|
-
"preflight",
|
|
7182
|
-
"ds-form-input",
|
|
7183
|
-
"ds-rounded",
|
|
7184
|
-
"ds-p-2",
|
|
7185
|
-
"ds-border-[1px]",
|
|
7186
|
-
"!ds-font-sans"
|
|
7187
|
-
],
|
|
7402
|
+
}, ct = nl, sl = F(
|
|
7403
|
+
["preflight", "ds-form-input", "ds-rounded", "ds-p-2", "!ds-border", "!ds-font-sans"],
|
|
7188
7404
|
rt
|
|
7189
|
-
),
|
|
7405
|
+
), ol = (e) => D(sl(e)), al = ({
|
|
7190
7406
|
state: e = "default",
|
|
7191
7407
|
rows: r = 2,
|
|
7192
7408
|
cols: n = 50,
|
|
@@ -7200,13 +7416,13 @@ const Pi = ({
|
|
|
7200
7416
|
rows: r,
|
|
7201
7417
|
cols: n,
|
|
7202
7418
|
readOnly: s,
|
|
7203
|
-
className:
|
|
7419
|
+
className: ol({ disabled: s, state: e }),
|
|
7204
7420
|
style: {
|
|
7205
7421
|
resize: t ? "both" : "none"
|
|
7206
7422
|
},
|
|
7207
7423
|
...o
|
|
7208
7424
|
}
|
|
7209
|
-
),
|
|
7425
|
+
), il = al, ll = ({
|
|
7210
7426
|
id: e,
|
|
7211
7427
|
state: r = "default",
|
|
7212
7428
|
label: n,
|
|
@@ -7216,21 +7432,25 @@ const Pi = ({
|
|
|
7216
7432
|
optionalityLabel: a = "",
|
|
7217
7433
|
helpText: l = [],
|
|
7218
7434
|
message: c = "",
|
|
7219
|
-
disabled:
|
|
7220
|
-
|
|
7435
|
+
disabled: f = !1,
|
|
7436
|
+
className: u = "",
|
|
7437
|
+
hasMarginBottom: p = !0,
|
|
7438
|
+
...m
|
|
7221
7439
|
}) => /* @__PURE__ */ i.jsx(
|
|
7222
7440
|
ct,
|
|
7223
7441
|
{
|
|
7224
7442
|
id: e,
|
|
7225
7443
|
state: r,
|
|
7226
|
-
disabled:
|
|
7444
|
+
disabled: f,
|
|
7227
7445
|
label: n,
|
|
7228
7446
|
optionalityLabel: a,
|
|
7229
7447
|
helpText: l,
|
|
7230
7448
|
message: c,
|
|
7231
7449
|
isTextarea: !0,
|
|
7450
|
+
className: u,
|
|
7451
|
+
hasMarginBottom: p,
|
|
7232
7452
|
child: /* @__PURE__ */ i.jsx(
|
|
7233
|
-
|
|
7453
|
+
il,
|
|
7234
7454
|
{
|
|
7235
7455
|
id: e,
|
|
7236
7456
|
"aria-labelledby": n ? "label_" + e : void 0,
|
|
@@ -7239,24 +7459,24 @@ const Pi = ({
|
|
|
7239
7459
|
rows: t,
|
|
7240
7460
|
cols: s,
|
|
7241
7461
|
isResizable: o,
|
|
7242
|
-
disabled:
|
|
7243
|
-
...
|
|
7462
|
+
disabled: f,
|
|
7463
|
+
...m
|
|
7244
7464
|
}
|
|
7245
7465
|
)
|
|
7246
7466
|
}
|
|
7247
|
-
),
|
|
7467
|
+
), _l = ll, dl = F(
|
|
7248
7468
|
[
|
|
7249
7469
|
"preflight",
|
|
7250
7470
|
"ds-form-input",
|
|
7251
7471
|
"ds-h-[40px]",
|
|
7252
7472
|
"ds-rounded",
|
|
7253
7473
|
"ds-p-2",
|
|
7254
|
-
"ds-border
|
|
7474
|
+
"!ds-border",
|
|
7255
7475
|
"!ds-font-sans",
|
|
7256
7476
|
"ds-container"
|
|
7257
7477
|
],
|
|
7258
7478
|
rt
|
|
7259
|
-
),
|
|
7479
|
+
), cl = (e) => D(dl(e)), ul = ({
|
|
7260
7480
|
state: e = "default",
|
|
7261
7481
|
disabled: r = !1,
|
|
7262
7482
|
type: n = "text",
|
|
@@ -7267,10 +7487,10 @@ const Pi = ({
|
|
|
7267
7487
|
"aria-disabled": r,
|
|
7268
7488
|
readOnly: r,
|
|
7269
7489
|
type: n,
|
|
7270
|
-
className:
|
|
7490
|
+
className: cl({ disabled: r, state: e }),
|
|
7271
7491
|
...t
|
|
7272
7492
|
}
|
|
7273
|
-
),
|
|
7493
|
+
), fl = ul, pl = ({
|
|
7274
7494
|
id: e,
|
|
7275
7495
|
state: r = "default",
|
|
7276
7496
|
disabled: n = !1,
|
|
@@ -7279,7 +7499,9 @@ const Pi = ({
|
|
|
7279
7499
|
optionalityLabel: o = "",
|
|
7280
7500
|
helpText: a = [],
|
|
7281
7501
|
message: l = "",
|
|
7282
|
-
|
|
7502
|
+
className: c = "",
|
|
7503
|
+
hasMarginBottom: f = !0,
|
|
7504
|
+
...u
|
|
7283
7505
|
}) => /* @__PURE__ */ i.jsx(
|
|
7284
7506
|
ct,
|
|
7285
7507
|
{
|
|
@@ -7290,8 +7512,10 @@ const Pi = ({
|
|
|
7290
7512
|
optionalityLabel: o,
|
|
7291
7513
|
helpText: a,
|
|
7292
7514
|
message: l,
|
|
7515
|
+
className: c,
|
|
7516
|
+
hasMarginBottom: f,
|
|
7293
7517
|
child: /* @__PURE__ */ i.jsx(
|
|
7294
|
-
|
|
7518
|
+
fl,
|
|
7295
7519
|
{
|
|
7296
7520
|
id: e,
|
|
7297
7521
|
"aria-labelledby": s ? "label_" + e : void 0,
|
|
@@ -7299,46 +7523,46 @@ const Pi = ({
|
|
|
7299
7523
|
type: t,
|
|
7300
7524
|
state: r,
|
|
7301
7525
|
disabled: n,
|
|
7302
|
-
...
|
|
7526
|
+
...u
|
|
7303
7527
|
}
|
|
7304
7528
|
)
|
|
7305
7529
|
}
|
|
7306
|
-
),
|
|
7530
|
+
), Il = pl, hl = F(
|
|
7307
7531
|
[
|
|
7308
7532
|
"preflight",
|
|
7309
7533
|
"ds-form-select",
|
|
7310
7534
|
"ds-h-[40px]",
|
|
7311
7535
|
"ds-rounded",
|
|
7312
7536
|
"ds-p-2",
|
|
7313
|
-
"ds-border
|
|
7537
|
+
"!ds-border",
|
|
7314
7538
|
"!ds-font-sans",
|
|
7315
7539
|
"ds-container",
|
|
7316
7540
|
"ds-bg-[center_right_0.25rem]"
|
|
7317
7541
|
],
|
|
7318
7542
|
rt
|
|
7319
|
-
),
|
|
7543
|
+
), ml = (e) => hl(e), gl = `url('data:image/svg+xml,<svg width="16" height="16" viewBox="5 -5 15 35" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="%23949494" ><path d="M21.375 8.09253L12.4417 17.025C12.3837 17.0831 12.3148 17.1291 12.2391 17.1605C12.1632 17.192 12.082 17.2082 12 17.2082C11.918 17.2082 11.8368 17.192 11.7609 17.1605C11.6852 17.1291 11.6163 17.0831 11.5583 17.025L2.625 8.09253" strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" stroke="%23000000" /></svg>')`, bl = ({
|
|
7320
7544
|
state: e = "default",
|
|
7321
7545
|
disabled: r = !1,
|
|
7322
7546
|
className: n = "",
|
|
7323
7547
|
...t
|
|
7324
7548
|
}) => {
|
|
7325
7549
|
let s = t.children;
|
|
7326
|
-
return r && (s = (
|
|
7550
|
+
return r && (s = (w.isValidElement(t.children) ? w.Children.toArray(
|
|
7327
7551
|
t.children.props.children
|
|
7328
|
-
) :
|
|
7552
|
+
) : w.Children.toArray(t.children)).map((a) => w.isValidElement(a) ? w.cloneElement(a, {
|
|
7329
7553
|
disabled: !0
|
|
7330
7554
|
}) : a)), /* @__PURE__ */ i.jsx(
|
|
7331
7555
|
"select",
|
|
7332
7556
|
{
|
|
7333
7557
|
"aria-readonly": r,
|
|
7334
7558
|
tabIndex: r ? -1 : 0,
|
|
7335
|
-
style: { backgroundImage:
|
|
7336
|
-
className:
|
|
7559
|
+
style: { backgroundImage: gl },
|
|
7560
|
+
className: D(ml({ disabled: r, state: e }), n),
|
|
7337
7561
|
...t,
|
|
7338
7562
|
children: s
|
|
7339
7563
|
}
|
|
7340
7564
|
);
|
|
7341
|
-
},
|
|
7565
|
+
}, vl = bl, xl = ({
|
|
7342
7566
|
id: e,
|
|
7343
7567
|
state: r = "default",
|
|
7344
7568
|
disabled: n = !1,
|
|
@@ -7346,7 +7570,9 @@ const Pi = ({
|
|
|
7346
7570
|
optionalityLabel: s = "",
|
|
7347
7571
|
helpText: o = [],
|
|
7348
7572
|
message: a = "",
|
|
7349
|
-
|
|
7573
|
+
className: l = "",
|
|
7574
|
+
hasMarginBottom: c = !0,
|
|
7575
|
+
...f
|
|
7350
7576
|
}) => /* @__PURE__ */ i.jsx(
|
|
7351
7577
|
ct,
|
|
7352
7578
|
{
|
|
@@ -7357,26 +7583,28 @@ const Pi = ({
|
|
|
7357
7583
|
optionalityLabel: s,
|
|
7358
7584
|
helpText: o,
|
|
7359
7585
|
message: a,
|
|
7586
|
+
className: l,
|
|
7587
|
+
hasMarginBottom: c,
|
|
7360
7588
|
child: /* @__PURE__ */ i.jsx(
|
|
7361
|
-
|
|
7589
|
+
vl,
|
|
7362
7590
|
{
|
|
7363
7591
|
id: e,
|
|
7364
7592
|
"aria-labelledby": t ? "label_" + e : void 0,
|
|
7365
7593
|
"aria-describedby": o && o.length > 0 ? "helptext_" + e : void 0,
|
|
7366
7594
|
state: r,
|
|
7367
7595
|
disabled: n,
|
|
7368
|
-
...
|
|
7596
|
+
...f
|
|
7369
7597
|
}
|
|
7370
7598
|
)
|
|
7371
7599
|
}
|
|
7372
|
-
),
|
|
7600
|
+
), Vl = xl, Cl = F("ds-overflow-hidden ds-bg-neutrals-light", {
|
|
7373
7601
|
variants: {
|
|
7374
7602
|
size: {
|
|
7375
7603
|
small: ["ds-h-2", "ds-rounded-sm"],
|
|
7376
7604
|
large: ["ds-h-4", "ds-rounded"]
|
|
7377
7605
|
}
|
|
7378
7606
|
}
|
|
7379
|
-
}),
|
|
7607
|
+
}), kl = F("", {
|
|
7380
7608
|
variants: {
|
|
7381
7609
|
size: {
|
|
7382
7610
|
small: ["ds-h-2", "ds-rounded-sm"],
|
|
@@ -7389,7 +7617,7 @@ const Pi = ({
|
|
|
7389
7617
|
indeterminate: ["ds-bg-acuity-blue", "ds-animate-progress"]
|
|
7390
7618
|
}
|
|
7391
7619
|
}
|
|
7392
|
-
}),
|
|
7620
|
+
}), wl = F(
|
|
7393
7621
|
"ds-w-[3rem] ds-justify-end ds-flex ds-items-center ds-text-neutrals-dark",
|
|
7394
7622
|
{
|
|
7395
7623
|
variants: {
|
|
@@ -7399,7 +7627,7 @@ const Pi = ({
|
|
|
7399
7627
|
}
|
|
7400
7628
|
}
|
|
7401
7629
|
}
|
|
7402
|
-
),
|
|
7630
|
+
), yl = F("ds-text-sm", {
|
|
7403
7631
|
variants: {
|
|
7404
7632
|
state: {
|
|
7405
7633
|
error: "ds-text-danger-red",
|
|
@@ -7408,7 +7636,7 @@ const Pi = ({
|
|
|
7408
7636
|
"in-progress": "ds-text-neutrals-dark"
|
|
7409
7637
|
}
|
|
7410
7638
|
}
|
|
7411
|
-
}),
|
|
7639
|
+
}), jl = ({
|
|
7412
7640
|
size: e = "large",
|
|
7413
7641
|
label: r = "",
|
|
7414
7642
|
helperMessage: n = "",
|
|
@@ -7419,18 +7647,18 @@ const Pi = ({
|
|
|
7419
7647
|
hideIcon: l = !1,
|
|
7420
7648
|
...c
|
|
7421
7649
|
}) => {
|
|
7422
|
-
const
|
|
7650
|
+
const f = () => {
|
|
7423
7651
|
let m = Math.round(a / o * 100);
|
|
7424
7652
|
return m < 0 ? m = 0 : m > 100 && (m = 100), s !== "in-progress" ? "100%" : `${m}%`;
|
|
7425
|
-
},
|
|
7653
|
+
}, u = () => {
|
|
7426
7654
|
if (l)
|
|
7427
7655
|
return null;
|
|
7428
7656
|
switch (s) {
|
|
7429
7657
|
case "in-progress":
|
|
7430
|
-
return
|
|
7658
|
+
return f();
|
|
7431
7659
|
case "error":
|
|
7432
7660
|
return /* @__PURE__ */ i.jsx(
|
|
7433
|
-
|
|
7661
|
+
Te,
|
|
7434
7662
|
{
|
|
7435
7663
|
name: "error",
|
|
7436
7664
|
size: e === "small" ? "small" : "medium",
|
|
@@ -7441,7 +7669,7 @@ const Pi = ({
|
|
|
7441
7669
|
);
|
|
7442
7670
|
case "success":
|
|
7443
7671
|
return /* @__PURE__ */ i.jsx(
|
|
7444
|
-
|
|
7672
|
+
Te,
|
|
7445
7673
|
{
|
|
7446
7674
|
name: "checkCircle",
|
|
7447
7675
|
size: e === "small" ? "small" : "medium",
|
|
@@ -7459,13 +7687,13 @@ const Pi = ({
|
|
|
7459
7687
|
/* @__PURE__ */ i.jsx("div", { className: "ds-h-[3px] ds-w-[3px] ds-animate-blink ds-rounded-full ds-bg-neutrals-black [animation-delay:-0.15s]" }),
|
|
7460
7688
|
/* @__PURE__ */ i.jsx("div", { className: "ds-h-[3px] ds-w-[3px] ds-animate-blink ds-rounded-full ds-bg-neutrals-black" })
|
|
7461
7689
|
] }) : null;
|
|
7462
|
-
return /* @__PURE__ */ i.jsxs("div", { className:
|
|
7690
|
+
return /* @__PURE__ */ i.jsxs("div", { className: D("preflight ds-min-w-[4.875rem]", t), ...c, children: [
|
|
7463
7691
|
/* @__PURE__ */ i.jsxs("div", { className: "ds-flex ds-h-5 ds-items-center ds-justify-between", children: [
|
|
7464
7692
|
/* @__PURE__ */ i.jsxs("div", { className: "progress-bar-label ds-flex ds-max-w-[calc(100%-3rem)] ds-overflow-hidden", children: [
|
|
7465
7693
|
/* @__PURE__ */ i.jsx("p", { className: "ds-overflow-hidden ds-text-nowrap", children: r }),
|
|
7466
7694
|
p()
|
|
7467
7695
|
] }),
|
|
7468
|
-
/* @__PURE__ */ i.jsx("div", { "aria-hidden": !0, className:
|
|
7696
|
+
/* @__PURE__ */ i.jsx("div", { "aria-hidden": !0, className: wl({ size: e }), children: u() })
|
|
7469
7697
|
] }),
|
|
7470
7698
|
/* @__PURE__ */ i.jsx(
|
|
7471
7699
|
"div",
|
|
@@ -7476,40 +7704,40 @@ const Pi = ({
|
|
|
7476
7704
|
"aria-valuemin": 0,
|
|
7477
7705
|
"aria-valuenow": a,
|
|
7478
7706
|
"aria-valuemax": o,
|
|
7479
|
-
"aria-valuetext":
|
|
7480
|
-
children: /* @__PURE__ */ i.jsx("div", { className:
|
|
7707
|
+
"aria-valuetext": f(),
|
|
7708
|
+
children: /* @__PURE__ */ i.jsx("div", { className: Cl({ size: e }), children: /* @__PURE__ */ i.jsx(
|
|
7481
7709
|
"div",
|
|
7482
7710
|
{
|
|
7483
|
-
style: { width:
|
|
7484
|
-
className:
|
|
7711
|
+
style: { width: f() },
|
|
7712
|
+
className: kl({ size: e, state: s })
|
|
7485
7713
|
}
|
|
7486
7714
|
) })
|
|
7487
7715
|
}
|
|
7488
7716
|
),
|
|
7489
|
-
/* @__PURE__ */ i.jsx("p", { className:
|
|
7717
|
+
/* @__PURE__ */ i.jsx("p", { className: yl({ state: s }), children: n })
|
|
7490
7718
|
] });
|
|
7491
|
-
},
|
|
7719
|
+
}, Dl = jl;
|
|
7492
7720
|
export {
|
|
7493
|
-
|
|
7494
|
-
|
|
7495
|
-
|
|
7496
|
-
|
|
7497
|
-
|
|
7498
|
-
|
|
7499
|
-
|
|
7721
|
+
Ml as Alert,
|
|
7722
|
+
Hi as Badge,
|
|
7723
|
+
Nl as Button,
|
|
7724
|
+
Tl as Card,
|
|
7725
|
+
Sl as Checkbox,
|
|
7726
|
+
Vl as Dropdown,
|
|
7727
|
+
vl as DropdownAtom,
|
|
7500
7728
|
Jt as Heading,
|
|
7501
|
-
|
|
7729
|
+
Te as Icon,
|
|
7502
7730
|
et as IconButton,
|
|
7503
|
-
|
|
7504
|
-
|
|
7505
|
-
|
|
7506
|
-
|
|
7507
|
-
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
|
|
7511
|
-
|
|
7512
|
-
|
|
7513
|
-
|
|
7731
|
+
Xi as LabelAtom,
|
|
7732
|
+
Al as Link,
|
|
7733
|
+
Fl as Modal,
|
|
7734
|
+
Dl as ProgressBar,
|
|
7735
|
+
Rl as Radio,
|
|
7736
|
+
Wl as Tab,
|
|
7737
|
+
Ol as Tabs,
|
|
7738
|
+
Il as TextInput,
|
|
7739
|
+
fl as TextInputAtom,
|
|
7740
|
+
_l as Textarea,
|
|
7741
|
+
il as TextareaAtom
|
|
7514
7742
|
};
|
|
7515
7743
|
//# sourceMappingURL=index.es.js.map
|