@takecasper/acuity-design-system 1.25.0 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import "./assets/index.css";
2
2
  import * as or from "react";
3
- import w, { useState as ge, useEffect as oe, useLayoutEffect as Bn, useRef as A, createContext as ce, useContext as re, forwardRef as Hn, Fragment as de, isValidElement as zn, cloneElement as Un, createElement as Gn, useId as jr, useMemo as ae, useSyncExternalStore as Zn, useReducer as Yn, createRef as qn, useCallback as gr } from "react";
3
+ import k, { useState as X, useEffect as ne, useLayoutEffect as Hn, useRef as P, createContext as fe, useContext as se, forwardRef as zn, Fragment as ue, isValidElement as Un, cloneElement as Gn, createElement as Zn, useId as jr, useMemo as de, useSyncExternalStore as Yn, useReducer as qn, createRef as Kn, useCallback as gr } from "react";
4
4
  import { createPortal as Ot } from "react-dom";
5
- var Ir = { exports: {} }, er = {};
5
+ var Vr = { exports: {} }, er = {};
6
6
  /**
7
7
  * @license React
8
8
  * react-jsx-runtime.production.min.js
@@ -13,11 +13,11 @@ var Ir = { exports: {} }, er = {};
13
13
  * LICENSE file in the root directory of this source tree.
14
14
  */
15
15
  var jt;
16
- function Kn() {
16
+ function Jn() {
17
17
  if (jt)
18
18
  return er;
19
19
  jt = 1;
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 };
20
+ var e = k, 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
21
  function a(l, c, f) {
22
22
  var u, p = {}, m = null, b = null;
23
23
  f !== void 0 && (m = "" + f), c.key !== void 0 && (m = "" + c.key), c.ref !== void 0 && (b = c.ref);
@@ -41,43 +41,43 @@ var rr = {};
41
41
  * LICENSE file in the root directory of this source tree.
42
42
  */
43
43
  var Lt;
44
- function Jn() {
44
+ function Xn() {
45
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) {
46
+ var e = k, 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"), x = Symbol.iterator, C = "@@iterator";
47
+ function v(d) {
48
48
  if (d === null || typeof d != "object")
49
49
  return null;
50
- var h = v && d[v] || d[C];
50
+ var h = x && d[x] || d[C];
51
51
  return typeof h == "function" ? h : null;
52
52
  }
53
- var k = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
53
+ var w = 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++)
57
57
  g[y - 1] = arguments[y];
58
- fe("error", d, g);
58
+ oe("error", d, g);
59
59
  }
60
60
  }
61
- function fe(d, h, g) {
61
+ function oe(d, h, g) {
62
62
  {
63
- var y = k.ReactDebugCurrentFrame, N = y.getStackAddendum();
63
+ var y = w.ReactDebugCurrentFrame, N = y.getStackAddendum();
64
64
  N !== "" && (h += "%s", g = g.concat([N]));
65
- var T = g.map(function(M) {
65
+ var R = g.map(function(M) {
66
66
  return String(M);
67
67
  });
68
- T.unshift("Warning: " + h), Function.prototype.apply.call(console[d], console, T);
68
+ R.unshift("Warning: " + h), Function.prototype.apply.call(console[d], console, R);
69
69
  }
70
70
  }
71
- var R = !1, Z = !1, we = !1, J = !1, Y = !1, X;
72
- X = Symbol.for("react.module.reference");
73
- function te(d) {
74
- return !!(typeof d == "string" || typeof d == "function" || d === t || d === o || Y || d === s || d === f || d === u || J || d === b || R || 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
71
+ var T = !1, U = !1, he = !1, S = !1, F = !1, _;
72
+ _ = Symbol.for("react.module.reference");
73
+ function K(d) {
74
+ return !!(typeof d == "string" || typeof d == "function" || d === t || d === o || F || d === s || d === f || d === u || S || d === b || T || U || he || 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.
78
- d.$$typeof === X || d.getModuleId !== void 0));
78
+ d.$$typeof === _ || d.getModuleId !== void 0));
79
79
  }
80
- function ie(d, h, g) {
80
+ function ae(d, h, g) {
81
81
  var y = d.displayName;
82
82
  if (y)
83
83
  return y;
@@ -87,7 +87,7 @@ function Jn() {
87
87
  function $(d) {
88
88
  return d.displayName || "Context";
89
89
  }
90
- function O(d) {
90
+ function V(d) {
91
91
  if (d == null)
92
92
  return null;
93
93
  if (typeof d.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof d == "function")
@@ -117,14 +117,14 @@ function Jn() {
117
117
  var g = d;
118
118
  return $(g._context) + ".Provider";
119
119
  case c:
120
- return ie(d, d.render, "ForwardRef");
120
+ return ae(d, d.render, "ForwardRef");
121
121
  case p:
122
122
  var y = d.displayName || null;
123
- return y !== null ? y : O(d.type) || "Memo";
123
+ return y !== null ? y : V(d.type) || "Memo";
124
124
  case m: {
125
- var N = d, T = N._payload, M = N._init;
125
+ var N = d, R = N._payload, M = N._init;
126
126
  try {
127
- return O(M(T));
127
+ return V(M(R));
128
128
  } catch (E) {
129
129
  return null;
130
130
  }
@@ -132,14 +132,14 @@ function Jn() {
132
132
  }
133
133
  return null;
134
134
  }
135
- var V = Object.assign, G = 0, pe, ve, he, z, ye, me, Q;
135
+ var H = Object.assign, J = 0, me, xe, ge, Y, ye, be, re;
136
136
  function Se() {
137
137
  }
138
138
  Se.__reactDisabledLog = !0;
139
- function ne() {
139
+ function ie() {
140
140
  {
141
- if (G === 0) {
142
- pe = console.log, ve = console.info, he = console.warn, z = console.error, ye = console.group, me = console.groupCollapsed, Q = console.groupEnd;
141
+ if (J === 0) {
142
+ me = console.log, xe = console.info, ge = console.warn, Y = console.error, ye = console.group, be = console.groupCollapsed, re = console.groupEnd;
143
143
  var d = {
144
144
  configurable: !0,
145
145
  enumerable: !0,
@@ -156,64 +156,64 @@ function Jn() {
156
156
  groupEnd: d
157
157
  });
158
158
  }
159
- G++;
159
+ J++;
160
160
  }
161
161
  }
162
162
  function Ke() {
163
163
  {
164
- if (G--, G === 0) {
164
+ if (J--, J === 0) {
165
165
  var d = {
166
166
  configurable: !0,
167
167
  enumerable: !0,
168
168
  writable: !0
169
169
  };
170
170
  Object.defineProperties(console, {
171
- log: V({}, d, {
172
- value: pe
171
+ log: H({}, d, {
172
+ value: me
173
173
  }),
174
- info: V({}, d, {
175
- value: ve
174
+ info: H({}, d, {
175
+ value: xe
176
176
  }),
177
- warn: V({}, d, {
178
- value: he
177
+ warn: H({}, d, {
178
+ value: ge
179
179
  }),
180
- error: V({}, d, {
181
- value: z
180
+ error: H({}, d, {
181
+ value: Y
182
182
  }),
183
- group: V({}, d, {
183
+ group: H({}, d, {
184
184
  value: ye
185
185
  }),
186
- groupCollapsed: V({}, d, {
187
- value: me
186
+ groupCollapsed: H({}, d, {
187
+ value: be
188
188
  }),
189
- groupEnd: V({}, d, {
190
- value: Q
189
+ groupEnd: H({}, d, {
190
+ value: re
191
191
  })
192
192
  });
193
193
  }
194
- G < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
194
+ J < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
195
195
  }
196
196
  }
197
- var ee = k.ReactCurrentDispatcher, B;
198
- function H(d, h, g) {
197
+ var te = w.ReactCurrentDispatcher, G;
198
+ function Z(d, h, g) {
199
199
  {
200
- if (B === void 0)
200
+ if (G === void 0)
201
201
  try {
202
202
  throw Error();
203
203
  } catch (N) {
204
204
  var y = N.stack.trim().match(/\n( *(at )?)/);
205
- B = y && y[1] || "";
205
+ G = y && y[1] || "";
206
206
  }
207
207
  return `
208
- ` + B + d;
208
+ ` + G + d;
209
209
  }
210
210
  }
211
211
  var Je = !1, je;
212
212
  {
213
- var W = typeof WeakMap == "function" ? WeakMap : Map;
214
- je = new W();
213
+ var I = typeof WeakMap == "function" ? WeakMap : Map;
214
+ je = new I();
215
215
  }
216
- function xe(d, h) {
216
+ function Ce(d, h) {
217
217
  if (!d || Je)
218
218
  return "";
219
219
  {
@@ -225,8 +225,8 @@ function Jn() {
225
225
  Je = !0;
226
226
  var N = Error.prepareStackTrace;
227
227
  Error.prepareStackTrace = void 0;
228
- var T;
229
- T = ee.current, ee.current = null, ne();
228
+ var R;
229
+ R = te.current, te.current = null, ie();
230
230
  try {
231
231
  if (h) {
232
232
  var M = function() {
@@ -262,30 +262,30 @@ function Jn() {
262
262
  } catch (Le) {
263
263
  if (Le && y && typeof Le.stack == "string") {
264
264
  for (var E = Le.stack.split(`
265
- `), q = y.stack.split(`
266
- `), _ = E.length - 1, I = q.length - 1; _ >= 1 && I >= 0 && E[_] !== q[I]; )
267
- I--;
268
- for (; _ >= 1 && I >= 0; _--, I--)
269
- if (E[_] !== q[I]) {
270
- if (_ !== 1 || I !== 1)
265
+ `), Q = y.stack.split(`
266
+ `), D = E.length - 1, B = Q.length - 1; D >= 1 && B >= 0 && E[D] !== Q[B]; )
267
+ B--;
268
+ for (; D >= 1 && B >= 0; D--, B--)
269
+ if (E[D] !== Q[B]) {
270
+ if (D !== 1 || B !== 1)
271
271
  do
272
- if (_--, I--, I < 0 || E[_] !== q[I]) {
273
- var le = `
274
- ` + E[_].replace(" at new ", " at ");
275
- return d.displayName && le.includes("<anonymous>") && (le = le.replace("<anonymous>", d.displayName)), typeof d == "function" && je.set(d, le), le;
272
+ if (D--, B--, B < 0 || E[D] !== Q[B]) {
273
+ var ce = `
274
+ ` + E[D].replace(" at new ", " at ");
275
+ return d.displayName && ce.includes("<anonymous>") && (ce = ce.replace("<anonymous>", d.displayName)), typeof d == "function" && je.set(d, ce), ce;
276
276
  }
277
- while (_ >= 1 && I >= 0);
277
+ while (D >= 1 && B >= 0);
278
278
  break;
279
279
  }
280
280
  }
281
281
  } finally {
282
- Je = !1, ee.current = T, Ke(), Error.prepareStackTrace = N;
282
+ Je = !1, te.current = R, Ke(), Error.prepareStackTrace = N;
283
283
  }
284
- var He = d ? d.displayName || d.name : "", yt = He ? H(He) : "";
284
+ var He = d ? d.displayName || d.name : "", yt = He ? Z(He) : "";
285
285
  return typeof d == "function" && je.set(d, yt), yt;
286
286
  }
287
287
  function Xe(d, h, g) {
288
- return xe(d, !1);
288
+ return Ce(d, !1);
289
289
  }
290
290
  function kn(d) {
291
291
  var h = d.prototype;
@@ -295,14 +295,14 @@ function Jn() {
295
295
  if (d == null)
296
296
  return "";
297
297
  if (typeof d == "function")
298
- return xe(d, kn(d));
298
+ return Ce(d, kn(d));
299
299
  if (typeof d == "string")
300
- return H(d);
300
+ return Z(d);
301
301
  switch (d) {
302
302
  case f:
303
- return H("Suspense");
303
+ return Z("Suspense");
304
304
  case u:
305
- return H("SuspenseList");
305
+ return Z("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 pr(d.type, h, g);
313
313
  case m: {
314
- var y = d, N = y._payload, T = y._init;
314
+ var y = d, N = y._payload, R = y._init;
315
315
  try {
316
- return pr(T(N), h, g);
316
+ return pr(R(N), h, g);
317
317
  } catch (M) {
318
318
  }
319
319
  }
320
320
  }
321
321
  return "";
322
322
  }
323
- var hr = Object.prototype.hasOwnProperty, ut = {}, ft = k.ReactDebugCurrentFrame;
323
+ var hr = Object.prototype.hasOwnProperty, ut = {}, ft = w.ReactDebugCurrentFrame;
324
324
  function mr(d) {
325
325
  if (d) {
326
326
  var h = d._owner, g = pr(d.type, d._source, h ? h.type : null);
@@ -328,36 +328,36 @@ function Jn() {
328
328
  } else
329
329
  ft.setExtraStackFrame(null);
330
330
  }
331
- function wn(d, h, g, y, N) {
331
+ function yn(d, h, g, y, N) {
332
332
  {
333
- var T = Function.call.bind(hr);
333
+ var R = Function.call.bind(hr);
334
334
  for (var M in d)
335
- if (T(d, M)) {
335
+ if (R(d, M)) {
336
336
  var E = void 0;
337
337
  try {
338
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
- throw q.name = "Invariant Violation", q;
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
+ throw Q.name = "Invariant Violation", Q;
341
341
  }
342
342
  E = d[M](h, M, y, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
343
- } catch (_) {
344
- E = _;
343
+ } catch (D) {
344
+ E = D;
345
345
  }
346
346
  E && !(E instanceof Error) && (mr(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), mr(null)), E instanceof Error && !(E.message in ut) && (ut[E.message] = !0, mr(N), j("Failed %s type: %s", g, E.message), mr(null));
347
347
  }
348
348
  }
349
349
  }
350
- var yn = Array.isArray;
350
+ var jn = Array.isArray;
351
351
  function Tr(d) {
352
- return yn(d);
352
+ return jn(d);
353
353
  }
354
- function jn(d) {
354
+ function Ln(d) {
355
355
  {
356
356
  var h = typeof Symbol == "function" && Symbol.toStringTag, g = h && d[Symbol.toStringTag] || d.constructor.name || "Object";
357
357
  return g;
358
358
  }
359
359
  }
360
- function Ln(d) {
360
+ function En(d) {
361
361
  try {
362
362
  return pt(d), !1;
363
363
  } catch (h) {
@@ -368,17 +368,17 @@ function Jn() {
368
368
  return "" + d;
369
369
  }
370
370
  function ht(d) {
371
- if (Ln(d))
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);
371
+ if (En(d))
372
+ return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ln(d)), pt(d);
373
373
  }
374
- var Qe = k.ReactCurrentOwner, En = {
374
+ var Qe = w.ReactCurrentOwner, $n = {
375
375
  key: !0,
376
376
  ref: !0,
377
377
  __self: !0,
378
378
  __source: !0
379
379
  }, mt, gt, Sr;
380
380
  Sr = {};
381
- function $n(d) {
381
+ function Mn(d) {
382
382
  if (hr.call(d, "ref")) {
383
383
  var h = Object.getOwnPropertyDescriptor(d, "ref").get;
384
384
  if (h && h.isReactWarning)
@@ -386,7 +386,7 @@ function Jn() {
386
386
  }
387
387
  return d.ref !== void 0;
388
388
  }
389
- function Mn(d) {
389
+ function Nn(d) {
390
390
  if (hr.call(d, "key")) {
391
391
  var h = Object.getOwnPropertyDescriptor(d, "key").get;
392
392
  if (h && h.isReactWarning)
@@ -394,13 +394,13 @@ function Jn() {
394
394
  }
395
395
  return d.key !== void 0;
396
396
  }
397
- function Nn(d, h) {
397
+ function Tn(d, h) {
398
398
  if (typeof d.ref == "string" && Qe.current && h && Qe.current.stateNode !== h) {
399
- var g = O(Qe.current.type);
400
- Sr[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), Sr[g] = !0);
399
+ var g = V(Qe.current.type);
400
+ Sr[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', V(Qe.current.type), d.ref), Sr[g] = !0);
401
401
  }
402
402
  }
403
- function Tn(d, h) {
403
+ function Sn(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));
@@ -411,7 +411,7 @@ function Jn() {
411
411
  });
412
412
  }
413
413
  }
414
- function Sn(d, h) {
414
+ function Rn(d, h) {
415
415
  {
416
416
  var g = function() {
417
417
  gt || (gt = !0, j("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", h));
@@ -422,7 +422,7 @@ function Jn() {
422
422
  });
423
423
  }
424
424
  }
425
- var Rn = function(d, h, g, y, N, T, M) {
425
+ var An = function(d, h, g, y, N, R, M) {
426
426
  var E = {
427
427
  // This tag allows us to uniquely identify this as a React Element
428
428
  $$typeof: r,
@@ -432,7 +432,7 @@ function Jn() {
432
432
  ref: g,
433
433
  props: M,
434
434
  // Record the component responsible for creating this element.
435
- _owner: T
435
+ _owner: R
436
436
  };
437
437
  return E._store = {}, Object.defineProperty(E._store, "validated", {
438
438
  configurable: !1,
@@ -451,25 +451,25 @@ function Jn() {
451
451
  value: N
452
452
  }), Object.freeze && (Object.freeze(E.props), Object.freeze(E)), E;
453
453
  };
454
- function An(d, h, g, y, N) {
454
+ function Pn(d, h, g, y, N) {
455
455
  {
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
- hr.call(h, T) && !En.hasOwnProperty(T) && (M[T] = h[T]);
456
+ var R, M = {}, E = null, Q = null;
457
+ g !== void 0 && (ht(g), E = "" + g), Nn(h) && (ht(h.key), E = "" + h.key), Mn(h) && (Q = h.ref, Tn(h, N));
458
+ for (R in h)
459
+ hr.call(h, R) && !$n.hasOwnProperty(R) && (M[R] = h[R]);
460
460
  if (d && d.defaultProps) {
461
- var _ = d.defaultProps;
462
- for (T in _)
463
- M[T] === void 0 && (M[T] = _[T]);
461
+ var D = d.defaultProps;
462
+ for (R in D)
463
+ M[R] === void 0 && (M[R] = D[R]);
464
464
  }
465
- if (E || q) {
466
- var I = typeof d == "function" ? d.displayName || d.name || "Unknown" : d;
467
- E && Tn(M, I), q && Sn(M, I);
465
+ if (E || Q) {
466
+ var B = typeof d == "function" ? d.displayName || d.name || "Unknown" : d;
467
+ E && Sn(M, B), Q && Rn(M, B);
468
468
  }
469
- return Rn(d, E, q, N, y, Qe.current, M);
469
+ return An(d, E, Q, N, y, Qe.current, M);
470
470
  }
471
471
  }
472
- var Rr = k.ReactCurrentOwner, bt = k.ReactDebugCurrentFrame;
472
+ var Rr = w.ReactCurrentOwner, bt = w.ReactDebugCurrentFrame;
473
473
  function Be(d) {
474
474
  if (d) {
475
475
  var h = d._owner, g = pr(d.type, d._source, h ? h.type : null);
@@ -485,7 +485,7 @@ function Jn() {
485
485
  function vt() {
486
486
  {
487
487
  if (Rr.current) {
488
- var d = O(Rr.current.type);
488
+ var d = V(Rr.current.type);
489
489
  if (d)
490
490
  return `
491
491
 
@@ -494,7 +494,7 @@ Check the render method of \`` + d + "`.";
494
494
  return "";
495
495
  }
496
496
  }
497
- function Pn(d) {
497
+ function Fn(d) {
498
498
  {
499
499
  if (d !== void 0) {
500
500
  var h = d.fileName.replace(/^.*[\\\/]/, ""), g = d.lineNumber;
@@ -506,7 +506,7 @@ Check your code at ` + h + ":" + g + ".";
506
506
  }
507
507
  }
508
508
  var xt = {};
509
- function Fn(d) {
509
+ function On(d) {
510
510
  {
511
511
  var h = vt();
512
512
  if (!h) {
@@ -523,15 +523,15 @@ Check the top-level render call using <` + g + ">.");
523
523
  if (!d._store || d._store.validated || d.key != null)
524
524
  return;
525
525
  d._store.validated = !0;
526
- var g = Fn(h);
526
+ var g = On(h);
527
527
  if (xt[g])
528
528
  return;
529
529
  xt[g] = !0;
530
530
  var y = "";
531
- d && d._owner && d._owner !== Rr.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);
531
+ d && d._owner && d._owner !== Rr.current && (y = " It was passed a child from " + V(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 kt(d, h) {
534
+ function wt(d, h) {
535
535
  {
536
536
  if (typeof d != "object")
537
537
  return;
@@ -543,14 +543,14 @@ Check the top-level render call using <` + g + ">.");
543
543
  else if (Pr(d))
544
544
  d._store && (d._store.validated = !0);
545
545
  else if (d) {
546
- var N = x(d);
546
+ var N = v(d);
547
547
  if (typeof N == "function" && N !== d.entries)
548
- for (var T = N.call(d), M; !(M = T.next()).done; )
548
+ for (var R = N.call(d), M; !(M = R.next()).done; )
549
549
  Pr(M.value) && Ct(M.value, h);
550
550
  }
551
551
  }
552
552
  }
553
- function On(d) {
553
+ function Wn(d) {
554
554
  {
555
555
  var h = d.type;
556
556
  if (h == null || typeof h == "string")
@@ -565,17 +565,17 @@ Check the top-level render call using <` + g + ">.");
565
565
  else
566
566
  return;
567
567
  if (g) {
568
- var y = O(h);
569
- wn(g, d.props, "prop", y, d);
568
+ var y = V(h);
569
+ yn(g, d.props, "prop", y, d);
570
570
  } else if (h.PropTypes !== void 0 && !Ar) {
571
571
  Ar = !0;
572
- var N = O(h);
572
+ var N = V(h);
573
573
  j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", N || "Unknown");
574
574
  }
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 Wn(d) {
578
+ function _n(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,49 +587,49 @@ 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 wt(d, h, g, y, N, T) {
590
+ function kt(d, h, g, y, N, R) {
591
591
  {
592
- var M = te(d);
592
+ var M = K(d);
593
593
  if (!M) {
594
594
  var E = "";
595
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
- var q = Pn(N);
597
- q ? E += q : E += vt();
598
- var _;
599
- d === null ? _ = "null" : Tr(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);
596
+ var Q = Fn(N);
597
+ Q ? E += Q : E += vt();
598
+ var D;
599
+ d === null ? D = "null" : Tr(d) ? D = "array" : d !== void 0 && d.$$typeof === r ? (D = "<" + (V(d.type) || "Unknown") + " />", E = " Did you accidentally export a JSX literal instead of a component?") : D = 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", D, E);
600
600
  }
601
- var I = An(d, h, g, N, T);
602
- if (I == null)
603
- return I;
601
+ var B = Pn(d, h, g, N, R);
602
+ if (B == null)
603
+ return B;
604
604
  if (M) {
605
- var le = h.children;
606
- if (le !== void 0)
605
+ var ce = h.children;
606
+ if (ce !== void 0)
607
607
  if (y)
608
- if (Tr(le)) {
609
- for (var He = 0; He < le.length; He++)
610
- kt(le[He], d);
611
- Object.freeze && Object.freeze(le);
608
+ if (Tr(ce)) {
609
+ for (var He = 0; He < ce.length; He++)
610
+ wt(ce[He], d);
611
+ Object.freeze && Object.freeze(ce);
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
- kt(le, d);
615
+ wt(ce, d);
616
616
  }
617
- return d === t ? Wn(I) : On(I), I;
617
+ return d === t ? _n(B) : Wn(B), B;
618
618
  }
619
619
  }
620
- function _n(d, h, g) {
621
- return wt(d, h, g, !0);
620
+ function Vn(d, h, g) {
621
+ return kt(d, h, g, !0);
622
622
  }
623
623
  function In(d, h, g) {
624
- return wt(d, h, g, !1);
624
+ return kt(d, h, g, !1);
625
625
  }
626
- var Vn = In, Dn = _n;
627
- rr.Fragment = t, rr.jsx = Vn, rr.jsxs = Dn;
626
+ var Dn = In, Bn = Vn;
627
+ rr.Fragment = t, rr.jsx = Dn, rr.jsxs = Bn;
628
628
  }()), rr;
629
629
  }
630
- process.env.NODE_ENV === "production" ? Ir.exports = Kn() : Ir.exports = Jn();
631
- var i = Ir.exports;
632
- const Xn = ({
630
+ process.env.NODE_ENV === "production" ? Vr.exports = Jn() : Vr.exports = Xn();
631
+ var i = Vr.exports;
632
+ const Qn = ({
633
633
  width: e = "24",
634
634
  height: r = "24",
635
635
  className: n = "",
@@ -697,7 +697,7 @@ const Xn = ({
697
697
  ]
698
698
  }
699
699
  );
700
- }, qr = Xn, Qn = ({
700
+ }, qr = Qn, es = ({
701
701
  width: e = "24",
702
702
  height: r = "24",
703
703
  className: n = "",
@@ -745,7 +745,7 @@ const Xn = ({
745
745
  ]
746
746
  }
747
747
  );
748
- }, Kr = Qn, es = ({
748
+ }, Kr = es, rs = ({
749
749
  width: e = "24",
750
750
  height: r = "24",
751
751
  className: n = "",
@@ -809,7 +809,7 @@ const Xn = ({
809
809
  ]
810
810
  }
811
811
  );
812
- }, Jr = es, rs = ({
812
+ }, Jr = rs, ts = ({
813
813
  width: e = "24",
814
814
  height: r = "24",
815
815
  className: n = "",
@@ -867,7 +867,7 @@ const Xn = ({
867
867
  ]
868
868
  }
869
869
  );
870
- }, Xr = rs, ts = ({
870
+ }, Xr = ts, ns = ({
871
871
  width: e = "24",
872
872
  height: r = "24",
873
873
  className: n = "",
@@ -913,7 +913,7 @@ const Xn = ({
913
913
  ]
914
914
  }
915
915
  );
916
- }, ns = ts, ss = ({
916
+ }, ss = ns, os = ({
917
917
  width: e = "24",
918
918
  height: r = "24",
919
919
  className: n = "",
@@ -979,7 +979,7 @@ const Xn = ({
979
979
  ]
980
980
  }
981
981
  );
982
- }, os = ss, as = ({
982
+ }, as = os, is = ({
983
983
  width: e = "24",
984
984
  height: r = "24",
985
985
  className: n = "",
@@ -1025,7 +1025,7 @@ const Xn = ({
1025
1025
  ]
1026
1026
  }
1027
1027
  );
1028
- }, is = as, ls = ({
1028
+ }, ls = is, ds = ({
1029
1029
  width: e = "24",
1030
1030
  height: r = "24",
1031
1031
  className: n = "",
@@ -1081,7 +1081,7 @@ const Xn = ({
1081
1081
  ]
1082
1082
  }
1083
1083
  );
1084
- }, ds = ls, cs = ({
1084
+ }, cs = ds, us = ({
1085
1085
  width: e = "24",
1086
1086
  height: r = "24",
1087
1087
  className: n = "",
@@ -1181,7 +1181,7 @@ const Xn = ({
1181
1181
  ]
1182
1182
  }
1183
1183
  );
1184
- }, us = cs, fs = ({
1184
+ }, fs = us, ps = ({
1185
1185
  width: e = "24",
1186
1186
  height: r = "24",
1187
1187
  className: n = "",
@@ -1242,7 +1242,7 @@ const Xn = ({
1242
1242
  ]
1243
1243
  }
1244
1244
  );
1245
- }, ps = fs, hs = ({
1245
+ }, hs = ps, ms = ({
1246
1246
  width: e = "24",
1247
1247
  height: r = "24",
1248
1248
  className: n = "",
@@ -1278,7 +1278,7 @@ const Xn = ({
1278
1278
  ]
1279
1279
  }
1280
1280
  );
1281
- }, ms = hs, gs = ({
1281
+ }, gs = ms, bs = ({
1282
1282
  width: e = "24",
1283
1283
  height: r = "24",
1284
1284
  className: n = "",
@@ -1324,7 +1324,7 @@ const Xn = ({
1324
1324
  ]
1325
1325
  }
1326
1326
  );
1327
- }, bs = gs, vs = ({
1327
+ }, vs = bs, xs = ({
1328
1328
  width: e = "24",
1329
1329
  height: r = "24",
1330
1330
  className: n = "",
@@ -1372,7 +1372,7 @@ const Xn = ({
1372
1372
  ]
1373
1373
  }
1374
1374
  );
1375
- }, xs = vs, Cs = ({
1375
+ }, Cs = xs, ws = ({
1376
1376
  width: e = "24",
1377
1377
  height: r = "24",
1378
1378
  className: n = "",
@@ -1447,7 +1447,7 @@ const Xn = ({
1447
1447
  ]
1448
1448
  }
1449
1449
  );
1450
- }, ks = Cs, ws = ({
1450
+ }, ks = ws, ys = ({
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 = ws, js = ({
1486
+ }, js = ys, Ls = ({
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
- }, Ls = js, Es = ({
1648
+ }, Es = Ls, $s = ({
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 = Es, Ms = ({
1704
+ }, Ms = $s, Ns = ({
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 = Ms, Ts = ({
1804
+ }, Ts = Ns, Ss = ({
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 = Ts, Rs = ({
1850
+ }, Rs = Ss, As = ({
1851
1851
  width: e = "24",
1852
1852
  height: r = "24",
1853
1853
  className: n = "",
@@ -1893,7 +1893,7 @@ const Xn = ({
1893
1893
  ]
1894
1894
  }
1895
1895
  );
1896
- }, As = Rs, Ps = ({
1896
+ }, Ps = As, Fs = ({
1897
1897
  width: e = "24",
1898
1898
  height: r = "24",
1899
1899
  className: n = "",
@@ -1928,7 +1928,7 @@ const Xn = ({
1928
1928
  ]
1929
1929
  }
1930
1930
  );
1931
- }, Fs = Ps, Os = ({
1931
+ }, Os = Fs, Ws = ({
1932
1932
  width: e = "24",
1933
1933
  height: r = "24",
1934
1934
  className: n = "",
@@ -1984,7 +1984,7 @@ const Xn = ({
1984
1984
  ]
1985
1985
  }
1986
1986
  );
1987
- }, Ws = Os, _s = ({
1987
+ }, _s = Ws, Vs = ({
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 = _s, Vs = ({
2043
+ }, Is = Vs, Ds = ({
2044
2044
  width: e = "24",
2045
2045
  height: r = "24",
2046
2046
  className: n = "",
@@ -2121,7 +2121,7 @@ const Xn = ({
2121
2121
  ]
2122
2122
  }
2123
2123
  );
2124
- }, Ds = Vs, Bs = ({
2124
+ }, Bs = Ds, Hs = ({
2125
2125
  width: e = "24",
2126
2126
  height: r = "24",
2127
2127
  className: n = "",
@@ -2166,7 +2166,7 @@ const Xn = ({
2166
2166
  ]
2167
2167
  }
2168
2168
  );
2169
- }, Hs = Bs, zs = ({
2169
+ }, zs = Hs, Us = ({
2170
2170
  width: e = "24",
2171
2171
  height: r = "24",
2172
2172
  className: n = "",
@@ -2232,7 +2232,7 @@ const Xn = ({
2232
2232
  ]
2233
2233
  }
2234
2234
  );
2235
- }, Us = zs, Gs = ({
2235
+ }, Gs = Us, Zs = ({
2236
2236
  width: e = "24",
2237
2237
  height: r = "24",
2238
2238
  className: n = "",
@@ -2298,7 +2298,7 @@ const Xn = ({
2298
2298
  ]
2299
2299
  }
2300
2300
  );
2301
- }, Zs = Gs;
2301
+ }, Ys = Zs;
2302
2302
  function Wt(e) {
2303
2303
  var r, n, t = "";
2304
2304
  if (typeof e == "string" || typeof e == "number")
@@ -2312,12 +2312,12 @@ function Wt(e) {
2312
2312
  e[r] && (t && (t += " "), t += r);
2313
2313
  return t;
2314
2314
  }
2315
- function Ys() {
2315
+ function qs() {
2316
2316
  for (var e, r, n = 0, t = ""; n < arguments.length; )
2317
2317
  (e = arguments[n++]) && (r = Wt(e)) && (t && (t += " "), t += r);
2318
2318
  return t;
2319
2319
  }
2320
- const Et = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, $t = Ys, S = (e, r) => (n) => {
2320
+ const Et = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, $t = qs, A = (e, r) => (n) => {
2321
2321
  var t;
2322
2322
  if ((r == null ? void 0 : r.variants) == null)
2323
2323
  return $t(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
@@ -2332,15 +2332,15 @@ const Et = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, $t =
2332
2332
  return m === void 0 || (f[p] = m), f;
2333
2333
  }, {}), c = r == null || (t = r.compoundVariants) === null || t === void 0 ? void 0 : t.reduce((f, u) => {
2334
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({
2335
+ return Object.entries(b).every((x) => {
2336
+ let [C, v] = x;
2337
+ return Array.isArray(v) ? v.includes({
2338
2338
  ...o,
2339
2339
  ...l
2340
2340
  }[C]) : {
2341
2341
  ...o,
2342
2342
  ...l
2343
- }[C] === x;
2343
+ }[C] === v;
2344
2344
  }) ? [
2345
2345
  ...f,
2346
2346
  p,
@@ -2349,14 +2349,14 @@ const Et = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, $t =
2349
2349
  }, []);
2350
2350
  return $t(e, a, c, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
2351
2351
  }, Qr = "-";
2352
- function qs(e) {
2353
- const r = Js(e), {
2352
+ function Ks(e) {
2353
+ const r = Xs(e), {
2354
2354
  conflictingClassGroups: n,
2355
2355
  conflictingClassGroupModifiers: t
2356
2356
  } = e;
2357
2357
  function s(a) {
2358
2358
  const l = a.split(Qr);
2359
- return l[0] === "" && l.length !== 1 && l.shift(), _t(l, r) || Ks(a);
2359
+ return l[0] === "" && l.length !== 1 && l.shift(), _t(l, r) || Js(a);
2360
2360
  }
2361
2361
  function o(a, l) {
2362
2362
  const c = n[a] || [];
@@ -2382,14 +2382,14 @@ function _t(e, r) {
2382
2382
  }) => l(o))) == null ? void 0 : a.classGroupId;
2383
2383
  }
2384
2384
  const Mt = /^\[(.+)\]$/;
2385
- function Ks(e) {
2385
+ function Js(e) {
2386
2386
  if (Mt.test(e)) {
2387
2387
  const r = Mt.exec(e)[1], n = r == null ? void 0 : r.substring(0, r.indexOf(":"));
2388
2388
  if (n)
2389
2389
  return "arbitrary.." + n;
2390
2390
  }
2391
2391
  }
2392
- function Js(e) {
2392
+ function Xs(e) {
2393
2393
  const {
2394
2394
  theme: r,
2395
2395
  prefix: n
@@ -2397,11 +2397,11 @@ function Js(e) {
2397
2397
  nextPart: /* @__PURE__ */ new Map(),
2398
2398
  validators: []
2399
2399
  };
2400
- return Qs(Object.entries(e.classGroups), n).forEach(([o, a]) => {
2401
- Vr(a, t, o, r);
2400
+ return eo(Object.entries(e.classGroups), n).forEach(([o, a]) => {
2401
+ Ir(a, t, o, r);
2402
2402
  }), t;
2403
2403
  }
2404
- function Vr(e, r, n, t) {
2404
+ function Ir(e, r, n, t) {
2405
2405
  e.forEach((s) => {
2406
2406
  if (typeof s == "string") {
2407
2407
  const o = s === "" ? r : Nt(r, s);
@@ -2409,8 +2409,8 @@ function Vr(e, r, n, t) {
2409
2409
  return;
2410
2410
  }
2411
2411
  if (typeof s == "function") {
2412
- if (Xs(s)) {
2413
- Vr(s(t), r, n, t);
2412
+ if (Qs(s)) {
2413
+ Ir(s(t), r, n, t);
2414
2414
  return;
2415
2415
  }
2416
2416
  r.validators.push({
@@ -2420,7 +2420,7 @@ function Vr(e, r, n, t) {
2420
2420
  return;
2421
2421
  }
2422
2422
  Object.entries(s).forEach(([o, a]) => {
2423
- Vr(a, Nt(r, o), n, t);
2423
+ Ir(a, Nt(r, o), n, t);
2424
2424
  });
2425
2425
  });
2426
2426
  }
@@ -2433,16 +2433,16 @@ function Nt(e, r) {
2433
2433
  }), n = n.nextPart.get(t);
2434
2434
  }), n;
2435
2435
  }
2436
- function Xs(e) {
2436
+ function Qs(e) {
2437
2437
  return e.isThemeGetter;
2438
2438
  }
2439
- function Qs(e, r) {
2439
+ function eo(e, r) {
2440
2440
  return r ? e.map(([n, t]) => {
2441
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);
2442
2442
  return [n, s];
2443
2443
  }) : e;
2444
2444
  }
2445
- function eo(e) {
2445
+ function ro(e) {
2446
2446
  if (e < 1)
2447
2447
  return {
2448
2448
  get: () => {
@@ -2467,36 +2467,36 @@ function eo(e) {
2467
2467
  }
2468
2468
  };
2469
2469
  }
2470
- const It = "!";
2471
- function ro(e) {
2470
+ const Vt = "!";
2471
+ function to(e) {
2472
2472
  const r = e.separator, n = r.length === 1, t = r[0], s = r.length;
2473
2473
  return function(a) {
2474
2474
  const l = [];
2475
2475
  let c = 0, f = 0, u;
2476
2476
  for (let C = 0; C < a.length; C++) {
2477
- let x = a[C];
2477
+ let v = a[C];
2478
2478
  if (c === 0) {
2479
- if (x === t && (n || a.slice(C, C + s) === r)) {
2479
+ if (v === t && (n || a.slice(C, C + s) === r)) {
2480
2480
  l.push(a.slice(f, C)), f = C + s;
2481
2481
  continue;
2482
2482
  }
2483
- if (x === "/") {
2483
+ if (v === "/") {
2484
2484
  u = C;
2485
2485
  continue;
2486
2486
  }
2487
2487
  }
2488
- x === "[" ? c++ : x === "]" && c--;
2488
+ v === "[" ? c++ : v === "]" && c--;
2489
2489
  }
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;
2490
+ const p = l.length === 0 ? a : a.substring(f), m = p.startsWith(Vt), b = m ? p.substring(1) : p, x = u && u > f ? u - f : void 0;
2491
2491
  return {
2492
2492
  modifiers: l,
2493
2493
  hasImportantModifier: m,
2494
2494
  baseClassName: b,
2495
- maybePostfixModifierPosition: v
2495
+ maybePostfixModifierPosition: x
2496
2496
  };
2497
2497
  };
2498
2498
  }
2499
- function to(e) {
2499
+ function no(e) {
2500
2500
  if (e.length <= 1)
2501
2501
  return e;
2502
2502
  const r = [];
@@ -2505,21 +2505,21 @@ function to(e) {
2505
2505
  t[0] === "[" ? (r.push(...n.sort(), t), n = []) : n.push(t);
2506
2506
  }), r.push(...n.sort()), r;
2507
2507
  }
2508
- function no(e) {
2508
+ function so(e) {
2509
2509
  return {
2510
- cache: eo(e.cacheSize),
2511
- splitModifiers: ro(e),
2512
- ...qs(e)
2510
+ cache: ro(e.cacheSize),
2511
+ splitModifiers: to(e),
2512
+ ...Ks(e)
2513
2513
  };
2514
2514
  }
2515
- const so = /\s+/;
2516
- function oo(e, r) {
2515
+ const oo = /\s+/;
2516
+ function ao(e, r) {
2517
2517
  const {
2518
2518
  splitModifiers: n,
2519
2519
  getClassGroupId: t,
2520
2520
  getConflictingClassGroupIds: s
2521
2521
  } = r, o = /* @__PURE__ */ new Set();
2522
- return e.trim().split(so).map((a) => {
2522
+ return e.trim().split(oo).map((a) => {
2523
2523
  const {
2524
2524
  modifiers: l,
2525
2525
  hasImportantModifier: c,
@@ -2540,10 +2540,10 @@ function oo(e, r) {
2540
2540
  };
2541
2541
  m = !1;
2542
2542
  }
2543
- const b = to(l).join(":");
2543
+ const b = no(l).join(":");
2544
2544
  return {
2545
2545
  isTailwindClass: !0,
2546
- modifierId: c ? b + It : b,
2546
+ modifierId: c ? b + Vt : b,
2547
2547
  classGroupId: p,
2548
2548
  originalClassName: a,
2549
2549
  hasPostfixModifier: m
@@ -2559,47 +2559,47 @@ function oo(e, r) {
2559
2559
  return o.has(u) ? !1 : (o.add(u), s(c, f).forEach((p) => o.add(l + p)), !0);
2560
2560
  }).reverse().map((a) => a.originalClassName).join(" ");
2561
2561
  }
2562
- function ao() {
2562
+ function io() {
2563
2563
  let e = 0, r, n, t = "";
2564
2564
  for (; e < arguments.length; )
2565
- (r = arguments[e++]) && (n = Vt(r)) && (t && (t += " "), t += n);
2565
+ (r = arguments[e++]) && (n = It(r)) && (t && (t += " "), t += n);
2566
2566
  return t;
2567
2567
  }
2568
- function Vt(e) {
2568
+ function It(e) {
2569
2569
  if (typeof e == "string")
2570
2570
  return e;
2571
2571
  let r, n = "";
2572
2572
  for (let t = 0; t < e.length; t++)
2573
- e[t] && (r = Vt(e[t])) && (n && (n += " "), n += r);
2573
+ e[t] && (r = It(e[t])) && (n && (n += " "), n += r);
2574
2574
  return n;
2575
2575
  }
2576
- function io(e, ...r) {
2576
+ function lo(e, ...r) {
2577
2577
  let n, t, s, o = a;
2578
2578
  function a(c) {
2579
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);
2580
+ return n = so(f), t = n.cache.get, s = n.cache.set, o = l, l(c);
2581
2581
  }
2582
2582
  function l(c) {
2583
2583
  const f = t(c);
2584
2584
  if (f)
2585
2585
  return f;
2586
- const u = oo(c, n);
2586
+ const u = ao(c, n);
2587
2587
  return s(c, u), u;
2588
2588
  }
2589
2589
  return function() {
2590
- return o(ao.apply(null, arguments));
2590
+ return o(io.apply(null, arguments));
2591
2591
  };
2592
2592
  }
2593
- function P(e) {
2593
+ function O(e) {
2594
2594
  const r = (n) => n[e] || [];
2595
2595
  return r.isThemeGetter = !0, r;
2596
2596
  }
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)\(.+\)$/;
2597
+ const Dt = /^\[(?:([a-z-]+):)?(.+)\]$/i, co = /^\d+\/\d+$/, uo = /* @__PURE__ */ new Set(["px", "full", "screen"]), fo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, po = /\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$/, ho = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, mo = /^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, go = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
2598
2598
  function Ee(e) {
2599
- return _e(e) || co.has(e) || lo.test(e);
2599
+ return _e(e) || uo.has(e) || co.test(e);
2600
2600
  }
2601
2601
  function Re(e) {
2602
- return Ge(e, "length", yo);
2602
+ return Ge(e, "length", jo);
2603
2603
  }
2604
2604
  function _e(e) {
2605
2605
  return !!e && !Number.isNaN(Number(e));
@@ -2610,28 +2610,28 @@ function br(e) {
2610
2610
  function tr(e) {
2611
2611
  return !!e && Number.isInteger(Number(e));
2612
2612
  }
2613
- function go(e) {
2613
+ function bo(e) {
2614
2614
  return e.endsWith("%") && _e(e.slice(0, -1));
2615
2615
  }
2616
2616
  function L(e) {
2617
2617
  return Dt.test(e);
2618
2618
  }
2619
2619
  function Ae(e) {
2620
- return uo.test(e);
2621
- }
2622
- const bo = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
2623
- function vo(e) {
2624
- return Ge(e, bo, Bt);
2620
+ return fo.test(e);
2625
2621
  }
2622
+ const vo = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
2626
2623
  function xo(e) {
2624
+ return Ge(e, vo, Bt);
2625
+ }
2626
+ function Co(e) {
2627
2627
  return Ge(e, "position", Bt);
2628
2628
  }
2629
- const Co = /* @__PURE__ */ new Set(["image", "url"]);
2629
+ const wo = /* @__PURE__ */ new Set(["image", "url"]);
2630
2630
  function ko(e) {
2631
- return Ge(e, Co, Lo);
2631
+ return Ge(e, wo, Eo);
2632
2632
  }
2633
- function wo(e) {
2634
- return Ge(e, "", jo);
2633
+ function yo(e) {
2634
+ return Ge(e, "", Lo);
2635
2635
  }
2636
2636
  function nr() {
2637
2637
  return !0;
@@ -2640,20 +2640,20 @@ function Ge(e, r, n) {
2640
2640
  const t = Dt.exec(e);
2641
2641
  return t ? t[1] ? typeof r == "string" ? t[1] === r : r.has(t[1]) : n(t[2]) : !1;
2642
2642
  }
2643
- function yo(e) {
2644
- return fo.test(e) && !po.test(e);
2643
+ function jo(e) {
2644
+ return po.test(e) && !ho.test(e);
2645
2645
  }
2646
2646
  function Bt() {
2647
2647
  return !1;
2648
2648
  }
2649
- function jo(e) {
2650
- return ho.test(e);
2651
- }
2652
2649
  function Lo(e) {
2653
2650
  return mo.test(e);
2654
2651
  }
2655
- function Eo() {
2656
- const e = P("colors"), r = P("spacing"), n = P("blur"), t = P("brightness"), s = P("borderColor"), o = P("borderRadius"), a = P("borderSpacing"), l = P("borderWidth"), c = P("contrast"), f = P("grayscale"), u = P("hueRotate"), p = P("invert"), m = P("gap"), b = P("gradientColorStops"), v = P("gradientColorStopPositions"), C = P("inset"), x = P("margin"), k = P("opacity"), j = P("padding"), fe = P("saturate"), R = P("scale"), Z = P("sepia"), we = P("skew"), J = P("space"), Y = P("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, br], Q = () => [_e, L];
2652
+ function Eo(e) {
2653
+ return go.test(e);
2654
+ }
2655
+ function $o() {
2656
+ const e = O("colors"), r = O("spacing"), n = O("blur"), t = O("brightness"), s = O("borderColor"), o = O("borderRadius"), a = O("borderSpacing"), l = O("borderWidth"), c = O("contrast"), f = O("grayscale"), u = O("hueRotate"), p = O("invert"), m = O("gap"), b = O("gradientColorStops"), x = O("gradientColorStopPositions"), C = O("inset"), v = O("margin"), w = O("opacity"), j = O("padding"), oe = O("saturate"), T = O("scale"), U = O("sepia"), he = O("skew"), S = O("space"), F = O("translate"), _ = () => ["auto", "contain", "none"], K = () => ["auto", "hidden", "clip", "visible", "scroll"], ae = () => ["auto", L, r], $ = () => [L, r], V = () => ["", Ee, Re], H = () => ["auto", _e, L], J = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], me = () => ["solid", "dashed", "dotted", "double", "none"], xe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], ge = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Y = () => ["", "0", L], ye = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], be = () => [_e, br], re = () => [_e, L];
2657
2657
  return {
2658
2658
  cacheSize: 500,
2659
2659
  separator: ":",
@@ -2661,26 +2661,26 @@ function Eo() {
2661
2661
  colors: [nr],
2662
2662
  spacing: [Ee, Re],
2663
2663
  blur: ["none", "", Ae, L],
2664
- brightness: me(),
2664
+ brightness: be(),
2665
2665
  borderColor: [e],
2666
2666
  borderRadius: ["none", "", "full", Ae, L],
2667
2667
  borderSpacing: $(),
2668
- borderWidth: O(),
2669
- contrast: me(),
2670
- grayscale: z(),
2671
- hueRotate: Q(),
2672
- invert: z(),
2668
+ borderWidth: V(),
2669
+ contrast: be(),
2670
+ grayscale: Y(),
2671
+ hueRotate: re(),
2672
+ invert: Y(),
2673
2673
  gap: $(),
2674
2674
  gradientColorStops: [e],
2675
- gradientColorStopPositions: [go, Re],
2676
- inset: ie(),
2677
- margin: ie(),
2678
- opacity: me(),
2675
+ gradientColorStopPositions: [bo, Re],
2676
+ inset: ae(),
2677
+ margin: ae(),
2678
+ opacity: be(),
2679
2679
  padding: $(),
2680
- saturate: me(),
2681
- scale: me(),
2682
- sepia: z(),
2683
- skew: Q(),
2680
+ saturate: be(),
2681
+ scale: be(),
2682
+ sepia: Y(),
2683
+ skew: re(),
2684
2684
  space: $(),
2685
2685
  translate: $()
2686
2686
  },
@@ -2776,49 +2776,49 @@ function Eo() {
2776
2776
  * @see https://tailwindcss.com/docs/object-position
2777
2777
  */
2778
2778
  "object-position": [{
2779
- object: [...G(), L]
2779
+ object: [...J(), L]
2780
2780
  }],
2781
2781
  /**
2782
2782
  * Overflow
2783
2783
  * @see https://tailwindcss.com/docs/overflow
2784
2784
  */
2785
2785
  overflow: [{
2786
- overflow: te()
2786
+ overflow: K()
2787
2787
  }],
2788
2788
  /**
2789
2789
  * Overflow X
2790
2790
  * @see https://tailwindcss.com/docs/overflow
2791
2791
  */
2792
2792
  "overflow-x": [{
2793
- "overflow-x": te()
2793
+ "overflow-x": K()
2794
2794
  }],
2795
2795
  /**
2796
2796
  * Overflow Y
2797
2797
  * @see https://tailwindcss.com/docs/overflow
2798
2798
  */
2799
2799
  "overflow-y": [{
2800
- "overflow-y": te()
2800
+ "overflow-y": K()
2801
2801
  }],
2802
2802
  /**
2803
2803
  * Overscroll Behavior
2804
2804
  * @see https://tailwindcss.com/docs/overscroll-behavior
2805
2805
  */
2806
2806
  overscroll: [{
2807
- overscroll: X()
2807
+ overscroll: _()
2808
2808
  }],
2809
2809
  /**
2810
2810
  * Overscroll Behavior X
2811
2811
  * @see https://tailwindcss.com/docs/overscroll-behavior
2812
2812
  */
2813
2813
  "overscroll-x": [{
2814
- "overscroll-x": X()
2814
+ "overscroll-x": _()
2815
2815
  }],
2816
2816
  /**
2817
2817
  * Overscroll Behavior Y
2818
2818
  * @see https://tailwindcss.com/docs/overscroll-behavior
2819
2819
  */
2820
2820
  "overscroll-y": [{
2821
- "overscroll-y": X()
2821
+ "overscroll-y": _()
2822
2822
  }],
2823
2823
  /**
2824
2824
  * Position
@@ -2906,7 +2906,7 @@ function Eo() {
2906
2906
  * @see https://tailwindcss.com/docs/flex-basis
2907
2907
  */
2908
2908
  basis: [{
2909
- basis: ie()
2909
+ basis: ae()
2910
2910
  }],
2911
2911
  /**
2912
2912
  * Flex Direction
@@ -2934,14 +2934,14 @@ function Eo() {
2934
2934
  * @see https://tailwindcss.com/docs/flex-grow
2935
2935
  */
2936
2936
  grow: [{
2937
- grow: z()
2937
+ grow: Y()
2938
2938
  }],
2939
2939
  /**
2940
2940
  * Flex Shrink
2941
2941
  * @see https://tailwindcss.com/docs/flex-shrink
2942
2942
  */
2943
2943
  shrink: [{
2944
- shrink: z()
2944
+ shrink: Y()
2945
2945
  }],
2946
2946
  /**
2947
2947
  * Order
@@ -2971,14 +2971,14 @@ function Eo() {
2971
2971
  * @see https://tailwindcss.com/docs/grid-column
2972
2972
  */
2973
2973
  "col-start": [{
2974
- "col-start": V()
2974
+ "col-start": H()
2975
2975
  }],
2976
2976
  /**
2977
2977
  * Grid Column End
2978
2978
  * @see https://tailwindcss.com/docs/grid-column
2979
2979
  */
2980
2980
  "col-end": [{
2981
- "col-end": V()
2981
+ "col-end": H()
2982
2982
  }],
2983
2983
  /**
2984
2984
  * Grid Template Rows
@@ -3001,14 +3001,14 @@ function Eo() {
3001
3001
  * @see https://tailwindcss.com/docs/grid-row
3002
3002
  */
3003
3003
  "row-start": [{
3004
- "row-start": V()
3004
+ "row-start": H()
3005
3005
  }],
3006
3006
  /**
3007
3007
  * Grid Row End
3008
3008
  * @see https://tailwindcss.com/docs/grid-row
3009
3009
  */
3010
3010
  "row-end": [{
3011
- "row-end": V()
3011
+ "row-end": H()
3012
3012
  }],
3013
3013
  /**
3014
3014
  * Grid Auto Flow
@@ -3057,7 +3057,7 @@ function Eo() {
3057
3057
  * @see https://tailwindcss.com/docs/justify-content
3058
3058
  */
3059
3059
  "justify-content": [{
3060
- justify: ["normal", ...he()]
3060
+ justify: ["normal", ...ge()]
3061
3061
  }],
3062
3062
  /**
3063
3063
  * Justify Items
@@ -3078,7 +3078,7 @@ function Eo() {
3078
3078
  * @see https://tailwindcss.com/docs/align-content
3079
3079
  */
3080
3080
  "align-content": [{
3081
- content: ["normal", ...he(), "baseline"]
3081
+ content: ["normal", ...ge(), "baseline"]
3082
3082
  }],
3083
3083
  /**
3084
3084
  * Align Items
@@ -3099,7 +3099,7 @@ function Eo() {
3099
3099
  * @see https://tailwindcss.com/docs/place-content
3100
3100
  */
3101
3101
  "place-content": [{
3102
- "place-content": [...he(), "baseline"]
3102
+ "place-content": [...ge(), "baseline"]
3103
3103
  }],
3104
3104
  /**
3105
3105
  * Place Items
@@ -3184,70 +3184,70 @@ function Eo() {
3184
3184
  * @see https://tailwindcss.com/docs/margin
3185
3185
  */
3186
3186
  m: [{
3187
- m: [x]
3187
+ m: [v]
3188
3188
  }],
3189
3189
  /**
3190
3190
  * Margin X
3191
3191
  * @see https://tailwindcss.com/docs/margin
3192
3192
  */
3193
3193
  mx: [{
3194
- mx: [x]
3194
+ mx: [v]
3195
3195
  }],
3196
3196
  /**
3197
3197
  * Margin Y
3198
3198
  * @see https://tailwindcss.com/docs/margin
3199
3199
  */
3200
3200
  my: [{
3201
- my: [x]
3201
+ my: [v]
3202
3202
  }],
3203
3203
  /**
3204
3204
  * Margin Start
3205
3205
  * @see https://tailwindcss.com/docs/margin
3206
3206
  */
3207
3207
  ms: [{
3208
- ms: [x]
3208
+ ms: [v]
3209
3209
  }],
3210
3210
  /**
3211
3211
  * Margin End
3212
3212
  * @see https://tailwindcss.com/docs/margin
3213
3213
  */
3214
3214
  me: [{
3215
- me: [x]
3215
+ me: [v]
3216
3216
  }],
3217
3217
  /**
3218
3218
  * Margin Top
3219
3219
  * @see https://tailwindcss.com/docs/margin
3220
3220
  */
3221
3221
  mt: [{
3222
- mt: [x]
3222
+ mt: [v]
3223
3223
  }],
3224
3224
  /**
3225
3225
  * Margin Right
3226
3226
  * @see https://tailwindcss.com/docs/margin
3227
3227
  */
3228
3228
  mr: [{
3229
- mr: [x]
3229
+ mr: [v]
3230
3230
  }],
3231
3231
  /**
3232
3232
  * Margin Bottom
3233
3233
  * @see https://tailwindcss.com/docs/margin
3234
3234
  */
3235
3235
  mb: [{
3236
- mb: [x]
3236
+ mb: [v]
3237
3237
  }],
3238
3238
  /**
3239
3239
  * Margin Left
3240
3240
  * @see https://tailwindcss.com/docs/margin
3241
3241
  */
3242
3242
  ml: [{
3243
- ml: [x]
3243
+ ml: [v]
3244
3244
  }],
3245
3245
  /**
3246
3246
  * Space Between X
3247
3247
  * @see https://tailwindcss.com/docs/space
3248
3248
  */
3249
3249
  "space-x": [{
3250
- "space-x": [J]
3250
+ "space-x": [S]
3251
3251
  }],
3252
3252
  /**
3253
3253
  * Space Between X Reverse
@@ -3259,7 +3259,7 @@ function Eo() {
3259
3259
  * @see https://tailwindcss.com/docs/space
3260
3260
  */
3261
3261
  "space-y": [{
3262
- "space-y": [J]
3262
+ "space-y": [S]
3263
3263
  }],
3264
3264
  /**
3265
3265
  * Space Between Y Reverse
@@ -3435,7 +3435,7 @@ function Eo() {
3435
3435
  * @see https://tailwindcss.com/docs/placeholder-opacity
3436
3436
  */
3437
3437
  "placeholder-opacity": [{
3438
- "placeholder-opacity": [k]
3438
+ "placeholder-opacity": [w]
3439
3439
  }],
3440
3440
  /**
3441
3441
  * Text Alignment
@@ -3456,7 +3456,7 @@ function Eo() {
3456
3456
  * @see https://tailwindcss.com/docs/text-opacity
3457
3457
  */
3458
3458
  "text-opacity": [{
3459
- "text-opacity": [k]
3459
+ "text-opacity": [w]
3460
3460
  }],
3461
3461
  /**
3462
3462
  * Text Decoration
@@ -3468,7 +3468,7 @@ function Eo() {
3468
3468
  * @see https://tailwindcss.com/docs/text-decoration-style
3469
3469
  */
3470
3470
  "text-decoration-style": [{
3471
- decoration: [...pe(), "wavy"]
3471
+ decoration: [...me(), "wavy"]
3472
3472
  }],
3473
3473
  /**
3474
3474
  * Text Decoration Thickness
@@ -3571,7 +3571,7 @@ function Eo() {
3571
3571
  * @see https://tailwindcss.com/docs/background-opacity
3572
3572
  */
3573
3573
  "bg-opacity": [{
3574
- "bg-opacity": [k]
3574
+ "bg-opacity": [w]
3575
3575
  }],
3576
3576
  /**
3577
3577
  * Background Origin
@@ -3585,7 +3585,7 @@ function Eo() {
3585
3585
  * @see https://tailwindcss.com/docs/background-position
3586
3586
  */
3587
3587
  "bg-position": [{
3588
- bg: [...G(), xo]
3588
+ bg: [...J(), Co]
3589
3589
  }],
3590
3590
  /**
3591
3591
  * Background Repeat
@@ -3601,7 +3601,7 @@ function Eo() {
3601
3601
  * @see https://tailwindcss.com/docs/background-size
3602
3602
  */
3603
3603
  "bg-size": [{
3604
- bg: ["auto", "cover", "contain", vo]
3604
+ bg: ["auto", "cover", "contain", xo]
3605
3605
  }],
3606
3606
  /**
3607
3607
  * Background Image
@@ -3624,21 +3624,21 @@ function Eo() {
3624
3624
  * @see https://tailwindcss.com/docs/gradient-color-stops
3625
3625
  */
3626
3626
  "gradient-from-pos": [{
3627
- from: [v]
3627
+ from: [x]
3628
3628
  }],
3629
3629
  /**
3630
3630
  * Gradient Color Stops Via Position
3631
3631
  * @see https://tailwindcss.com/docs/gradient-color-stops
3632
3632
  */
3633
3633
  "gradient-via-pos": [{
3634
- via: [v]
3634
+ via: [x]
3635
3635
  }],
3636
3636
  /**
3637
3637
  * Gradient Color Stops To Position
3638
3638
  * @see https://tailwindcss.com/docs/gradient-color-stops
3639
3639
  */
3640
3640
  "gradient-to-pos": [{
3641
- to: [v]
3641
+ to: [x]
3642
3642
  }],
3643
3643
  /**
3644
3644
  * Gradient Color Stops From
@@ -3835,14 +3835,14 @@ function Eo() {
3835
3835
  * @see https://tailwindcss.com/docs/border-opacity
3836
3836
  */
3837
3837
  "border-opacity": [{
3838
- "border-opacity": [k]
3838
+ "border-opacity": [w]
3839
3839
  }],
3840
3840
  /**
3841
3841
  * Border Style
3842
3842
  * @see https://tailwindcss.com/docs/border-style
3843
3843
  */
3844
3844
  "border-style": [{
3845
- border: [...pe(), "hidden"]
3845
+ border: [...me(), "hidden"]
3846
3846
  }],
3847
3847
  /**
3848
3848
  * Divide Width X
@@ -3873,14 +3873,14 @@ function Eo() {
3873
3873
  * @see https://tailwindcss.com/docs/divide-opacity
3874
3874
  */
3875
3875
  "divide-opacity": [{
3876
- "divide-opacity": [k]
3876
+ "divide-opacity": [w]
3877
3877
  }],
3878
3878
  /**
3879
3879
  * Divide Style
3880
3880
  * @see https://tailwindcss.com/docs/divide-style
3881
3881
  */
3882
3882
  "divide-style": [{
3883
- divide: pe()
3883
+ divide: me()
3884
3884
  }],
3885
3885
  /**
3886
3886
  * Border Color
@@ -3943,7 +3943,7 @@ function Eo() {
3943
3943
  * @see https://tailwindcss.com/docs/outline-style
3944
3944
  */
3945
3945
  "outline-style": [{
3946
- outline: ["", ...pe()]
3946
+ outline: ["", ...me()]
3947
3947
  }],
3948
3948
  /**
3949
3949
  * Outline Offset
@@ -3971,7 +3971,7 @@ function Eo() {
3971
3971
  * @see https://tailwindcss.com/docs/ring-width
3972
3972
  */
3973
3973
  "ring-w": [{
3974
- ring: O()
3974
+ ring: V()
3975
3975
  }],
3976
3976
  /**
3977
3977
  * Ring Width Inset
@@ -3990,7 +3990,7 @@ function Eo() {
3990
3990
  * @see https://tailwindcss.com/docs/ring-opacity
3991
3991
  */
3992
3992
  "ring-opacity": [{
3993
- "ring-opacity": [k]
3993
+ "ring-opacity": [w]
3994
3994
  }],
3995
3995
  /**
3996
3996
  * Ring Offset Width
@@ -4012,7 +4012,7 @@ function Eo() {
4012
4012
  * @see https://tailwindcss.com/docs/box-shadow
4013
4013
  */
4014
4014
  shadow: [{
4015
- shadow: ["", "inner", "none", Ae, wo]
4015
+ shadow: ["", "inner", "none", Ae, yo]
4016
4016
  }],
4017
4017
  /**
4018
4018
  * Box Shadow Color
@@ -4026,21 +4026,21 @@ function Eo() {
4026
4026
  * @see https://tailwindcss.com/docs/opacity
4027
4027
  */
4028
4028
  opacity: [{
4029
- opacity: [k]
4029
+ opacity: [w]
4030
4030
  }],
4031
4031
  /**
4032
4032
  * Mix Blend Mode
4033
4033
  * @see https://tailwindcss.com/docs/mix-blend-mode
4034
4034
  */
4035
4035
  "mix-blend": [{
4036
- "mix-blend": ve()
4036
+ "mix-blend": xe()
4037
4037
  }],
4038
4038
  /**
4039
4039
  * Background Blend Mode
4040
4040
  * @see https://tailwindcss.com/docs/background-blend-mode
4041
4041
  */
4042
4042
  "bg-blend": [{
4043
- "bg-blend": ve()
4043
+ "bg-blend": xe()
4044
4044
  }],
4045
4045
  // Filters
4046
4046
  /**
@@ -4105,14 +4105,14 @@ function Eo() {
4105
4105
  * @see https://tailwindcss.com/docs/saturate
4106
4106
  */
4107
4107
  saturate: [{
4108
- saturate: [fe]
4108
+ saturate: [oe]
4109
4109
  }],
4110
4110
  /**
4111
4111
  * Sepia
4112
4112
  * @see https://tailwindcss.com/docs/sepia
4113
4113
  */
4114
4114
  sepia: [{
4115
- sepia: [Z]
4115
+ sepia: [U]
4116
4116
  }],
4117
4117
  /**
4118
4118
  * Backdrop Filter
@@ -4169,21 +4169,21 @@ function Eo() {
4169
4169
  * @see https://tailwindcss.com/docs/backdrop-opacity
4170
4170
  */
4171
4171
  "backdrop-opacity": [{
4172
- "backdrop-opacity": [k]
4172
+ "backdrop-opacity": [w]
4173
4173
  }],
4174
4174
  /**
4175
4175
  * Backdrop Saturate
4176
4176
  * @see https://tailwindcss.com/docs/backdrop-saturate
4177
4177
  */
4178
4178
  "backdrop-saturate": [{
4179
- "backdrop-saturate": [fe]
4179
+ "backdrop-saturate": [oe]
4180
4180
  }],
4181
4181
  /**
4182
4182
  * Backdrop Sepia
4183
4183
  * @see https://tailwindcss.com/docs/backdrop-sepia
4184
4184
  */
4185
4185
  "backdrop-sepia": [{
4186
- "backdrop-sepia": [Z]
4186
+ "backdrop-sepia": [U]
4187
4187
  }],
4188
4188
  // Tables
4189
4189
  /**
@@ -4241,7 +4241,7 @@ function Eo() {
4241
4241
  * @see https://tailwindcss.com/docs/transition-duration
4242
4242
  */
4243
4243
  duration: [{
4244
- duration: Q()
4244
+ duration: re()
4245
4245
  }],
4246
4246
  /**
4247
4247
  * Transition Timing Function
@@ -4255,7 +4255,7 @@ function Eo() {
4255
4255
  * @see https://tailwindcss.com/docs/transition-delay
4256
4256
  */
4257
4257
  delay: [{
4258
- delay: Q()
4258
+ delay: re()
4259
4259
  }],
4260
4260
  /**
4261
4261
  * Animation
@@ -4277,21 +4277,21 @@ function Eo() {
4277
4277
  * @see https://tailwindcss.com/docs/scale
4278
4278
  */
4279
4279
  scale: [{
4280
- scale: [R]
4280
+ scale: [T]
4281
4281
  }],
4282
4282
  /**
4283
4283
  * Scale X
4284
4284
  * @see https://tailwindcss.com/docs/scale
4285
4285
  */
4286
4286
  "scale-x": [{
4287
- "scale-x": [R]
4287
+ "scale-x": [T]
4288
4288
  }],
4289
4289
  /**
4290
4290
  * Scale Y
4291
4291
  * @see https://tailwindcss.com/docs/scale
4292
4292
  */
4293
4293
  "scale-y": [{
4294
- "scale-y": [R]
4294
+ "scale-y": [T]
4295
4295
  }],
4296
4296
  /**
4297
4297
  * Rotate
@@ -4305,28 +4305,28 @@ function Eo() {
4305
4305
  * @see https://tailwindcss.com/docs/translate
4306
4306
  */
4307
4307
  "translate-x": [{
4308
- "translate-x": [Y]
4308
+ "translate-x": [F]
4309
4309
  }],
4310
4310
  /**
4311
4311
  * Translate Y
4312
4312
  * @see https://tailwindcss.com/docs/translate
4313
4313
  */
4314
4314
  "translate-y": [{
4315
- "translate-y": [Y]
4315
+ "translate-y": [F]
4316
4316
  }],
4317
4317
  /**
4318
4318
  * Skew X
4319
4319
  * @see https://tailwindcss.com/docs/skew
4320
4320
  */
4321
4321
  "skew-x": [{
4322
- "skew-x": [we]
4322
+ "skew-x": [he]
4323
4323
  }],
4324
4324
  /**
4325
4325
  * Skew Y
4326
4326
  * @see https://tailwindcss.com/docs/skew
4327
4327
  */
4328
4328
  "skew-y": [{
4329
- "skew-y": [we]
4329
+ "skew-y": [he]
4330
4330
  }],
4331
4331
  /**
4332
4332
  * Transform Origin
@@ -4668,15 +4668,15 @@ function Eo() {
4668
4668
  }
4669
4669
  };
4670
4670
  }
4671
- const D = /* @__PURE__ */ io(Eo);
4672
- function $o() {
4671
+ const z = /* @__PURE__ */ lo($o);
4672
+ function Ht() {
4673
4673
  return Math.floor(Math.random() * 1e7);
4674
4674
  }
4675
- const Ht = (e, r, n, t, s) => {
4675
+ const zt = (e, r, n, t, s) => {
4676
4676
  const o = `preflight ${n}`;
4677
4677
  return {
4678
4678
  settings: /* @__PURE__ */ i.jsx(
4679
- ms,
4679
+ gs,
4680
4680
  {
4681
4681
  width: e,
4682
4682
  height: r,
@@ -4686,7 +4686,7 @@ const Ht = (e, r, n, t, s) => {
4686
4686
  }
4687
4687
  ),
4688
4688
  questionCircle: /* @__PURE__ */ i.jsx(
4689
- ps,
4689
+ hs,
4690
4690
  {
4691
4691
  width: e,
4692
4692
  height: r,
@@ -4696,7 +4696,7 @@ const Ht = (e, r, n, t, s) => {
4696
4696
  }
4697
4697
  ),
4698
4698
  notifications: /* @__PURE__ */ i.jsx(
4699
- ds,
4699
+ cs,
4700
4700
  {
4701
4701
  width: e,
4702
4702
  height: r,
@@ -4706,7 +4706,7 @@ const Ht = (e, r, n, t, s) => {
4706
4706
  }
4707
4707
  ),
4708
4708
  flag: /* @__PURE__ */ i.jsx(
4709
- is,
4709
+ ls,
4710
4710
  {
4711
4711
  width: e,
4712
4712
  height: r,
@@ -4716,7 +4716,7 @@ const Ht = (e, r, n, t, s) => {
4716
4716
  }
4717
4717
  ),
4718
4718
  edit: /* @__PURE__ */ i.jsx(
4719
- os,
4719
+ as,
4720
4720
  {
4721
4721
  width: e,
4722
4722
  height: r,
@@ -4746,7 +4746,7 @@ const Ht = (e, r, n, t, s) => {
4746
4746
  }
4747
4747
  ),
4748
4748
  resourceCenter: /* @__PURE__ */ i.jsx(
4749
- As,
4749
+ Ps,
4750
4750
  {
4751
4751
  width: e,
4752
4752
  height: r,
@@ -4756,7 +4756,7 @@ const Ht = (e, r, n, t, s) => {
4756
4756
  }
4757
4757
  ),
4758
4758
  search: /* @__PURE__ */ i.jsx(
4759
- Ss,
4759
+ Rs,
4760
4760
  {
4761
4761
  width: e,
4762
4762
  height: r,
@@ -4786,7 +4786,7 @@ const Ht = (e, r, n, t, s) => {
4786
4786
  }
4787
4787
  ),
4788
4788
  dropdown: /* @__PURE__ */ i.jsx(
4789
- ys,
4789
+ js,
4790
4790
  {
4791
4791
  width: e,
4792
4792
  height: r,
@@ -4796,7 +4796,7 @@ const Ht = (e, r, n, t, s) => {
4796
4796
  }
4797
4797
  ),
4798
4798
  calendar: /* @__PURE__ */ i.jsx(
4799
- Ls,
4799
+ Es,
4800
4800
  {
4801
4801
  width: e,
4802
4802
  height: r,
@@ -4806,7 +4806,7 @@ const Ht = (e, r, n, t, s) => {
4806
4806
  }
4807
4807
  ),
4808
4808
  bookmark: /* @__PURE__ */ i.jsx(
4809
- $s,
4809
+ Ms,
4810
4810
  {
4811
4811
  width: e,
4812
4812
  height: r,
@@ -4816,7 +4816,7 @@ const Ht = (e, r, n, t, s) => {
4816
4816
  }
4817
4817
  ),
4818
4818
  menu: /* @__PURE__ */ i.jsx(
4819
- Fs,
4819
+ Os,
4820
4820
  {
4821
4821
  width: e,
4822
4822
  height: r,
@@ -4826,7 +4826,7 @@ const Ht = (e, r, n, t, s) => {
4826
4826
  }
4827
4827
  ),
4828
4828
  add: /* @__PURE__ */ i.jsx(
4829
- Ws,
4829
+ _s,
4830
4830
  {
4831
4831
  width: e,
4832
4832
  height: r,
@@ -4836,7 +4836,7 @@ const Ht = (e, r, n, t, s) => {
4836
4836
  }
4837
4837
  ),
4838
4838
  exclude: /* @__PURE__ */ i.jsx(
4839
- xs,
4839
+ Cs,
4840
4840
  {
4841
4841
  width: e,
4842
4842
  height: r,
@@ -4846,7 +4846,7 @@ const Ht = (e, r, n, t, s) => {
4846
4846
  }
4847
4847
  ),
4848
4848
  email: /* @__PURE__ */ i.jsx(
4849
- bs,
4849
+ vs,
4850
4850
  {
4851
4851
  width: e,
4852
4852
  height: r,
@@ -4856,7 +4856,7 @@ const Ht = (e, r, n, t, s) => {
4856
4856
  }
4857
4857
  ),
4858
4858
  close: /* @__PURE__ */ i.jsx(
4859
- ns,
4859
+ ss,
4860
4860
  {
4861
4861
  width: e,
4862
4862
  height: r,
@@ -4886,7 +4886,7 @@ const Ht = (e, r, n, t, s) => {
4886
4886
  }
4887
4887
  ),
4888
4888
  lockOpened: /* @__PURE__ */ i.jsx(
4889
- Us,
4889
+ Gs,
4890
4890
  {
4891
4891
  width: e,
4892
4892
  height: r,
@@ -4896,7 +4896,7 @@ const Ht = (e, r, n, t, s) => {
4896
4896
  }
4897
4897
  ),
4898
4898
  lockClosed: /* @__PURE__ */ i.jsx(
4899
- Zs,
4899
+ Ys,
4900
4900
  {
4901
4901
  width: e,
4902
4902
  height: r,
@@ -4906,7 +4906,7 @@ const Ht = (e, r, n, t, s) => {
4906
4906
  }
4907
4907
  ),
4908
4908
  check: /* @__PURE__ */ i.jsx(
4909
- Hs,
4909
+ zs,
4910
4910
  {
4911
4911
  width: e,
4912
4912
  height: r,
@@ -4916,11 +4916,11 @@ const Ht = (e, r, n, t, s) => {
4916
4916
  }
4917
4917
  )
4918
4918
  };
4919
- }, zt = (e, r, n, t, s) => {
4919
+ }, Ut = (e, r, n, t, s) => {
4920
4920
  const o = `preflight ${n}`;
4921
4921
  return {
4922
4922
  notifications: /* @__PURE__ */ i.jsx(
4923
- us,
4923
+ fs,
4924
4924
  {
4925
4925
  width: e,
4926
4926
  height: r,
@@ -4930,7 +4930,7 @@ const Ht = (e, r, n, t, s) => {
4930
4930
  }
4931
4931
  ),
4932
4932
  resourceCenter: /* @__PURE__ */ i.jsx(
4933
- Ds,
4933
+ Bs,
4934
4934
  {
4935
4935
  width: e,
4936
4936
  height: r,
@@ -4940,7 +4940,7 @@ const Ht = (e, r, n, t, s) => {
4940
4940
  }
4941
4941
  ),
4942
4942
  bookmark: /* @__PURE__ */ i.jsx(
4943
- Ns,
4943
+ Ts,
4944
4944
  {
4945
4945
  width: e,
4946
4946
  height: r,
@@ -4950,7 +4950,7 @@ const Ht = (e, r, n, t, s) => {
4950
4950
  }
4951
4951
  )
4952
4952
  };
4953
- }, Ut = (e, r, n, t, s, o) => {
4953
+ }, Gt = (e, r, n, t, s, o) => {
4954
4954
  const a = `preflight ${n}`;
4955
4955
  return {
4956
4956
  infoCircle: /* @__PURE__ */ i.jsx(
@@ -5016,19 +5016,19 @@ const Ht = (e, r, n, t, s) => {
5016
5016
  width: "24",
5017
5017
  height: "24"
5018
5018
  }
5019
- }, c = Ht(
5019
+ }, c = zt(
5020
5020
  l[e].width,
5021
5021
  l[e].height,
5022
5022
  t,
5023
5023
  s,
5024
5024
  o
5025
- ), f = zt(
5025
+ ), f = Ut(
5026
5026
  l[e].width,
5027
5027
  l[e].height,
5028
5028
  t,
5029
5029
  s,
5030
5030
  o
5031
- ), u = Ut(
5031
+ ), u = Gt(
5032
5032
  l[e].width,
5033
5033
  l[e].height,
5034
5034
  t,
@@ -5038,16 +5038,16 @@ const Ht = (e, r, n, t, s) => {
5038
5038
  ), p = n && !a ? f[r] || c[r] : a && u[r] || c[r];
5039
5039
  return /* @__PURE__ */ i.jsx(i.Fragment, { children: p });
5040
5040
  }, Te = Mo;
5041
- Object.keys(Ht()).sort(
5042
- (e, r) => e.localeCompare(r)
5043
- );
5044
5041
  Object.keys(zt()).sort(
5045
5042
  (e, r) => e.localeCompare(r)
5046
5043
  );
5047
5044
  Object.keys(Ut()).sort(
5048
5045
  (e, r) => e.localeCompare(r)
5049
5046
  );
5050
- function Gt(e) {
5047
+ Object.keys(Gt()).sort(
5048
+ (e, r) => e.localeCompare(r)
5049
+ );
5050
+ function Zt(e) {
5051
5051
  var r, n, t = "";
5052
5052
  if (typeof e == "string" || typeof e == "number")
5053
5053
  t += e;
@@ -5055,7 +5055,7 @@ function Gt(e) {
5055
5055
  if (Array.isArray(e)) {
5056
5056
  var s = e.length;
5057
5057
  for (r = 0; r < s; r++)
5058
- e[r] && (n = Gt(e[r])) && (t && (t += " "), t += n);
5058
+ e[r] && (n = Zt(e[r])) && (t && (t += " "), t += n);
5059
5059
  } else
5060
5060
  for (n in e)
5061
5061
  e[n] && (t && (t += " "), t += n);
@@ -5063,10 +5063,10 @@ function Gt(e) {
5063
5063
  }
5064
5064
  function No() {
5065
5065
  for (var e, r, n = 0, t = "", s = arguments.length; n < s; n++)
5066
- (e = arguments[n]) && (r = Gt(e)) && (t && (t += " "), t += r);
5066
+ (e = arguments[n]) && (r = Zt(e)) && (t && (t += " "), t += r);
5067
5067
  return t;
5068
5068
  }
5069
- const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5069
+ const dr = (...e) => z(No(...e)), Yt = (e, r, n) => {
5070
5070
  if (r) {
5071
5071
  e.preventDefault();
5072
5072
  return;
@@ -5078,7 +5078,7 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5078
5078
  return;
5079
5079
  }
5080
5080
  n(e);
5081
- }, To = S(
5081
+ }, To = A(
5082
5082
  [
5083
5083
  "preflight",
5084
5084
  "!ds-font-sans",
@@ -5181,7 +5181,7 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5181
5181
  )
5182
5182
  ]
5183
5183
  }
5184
- ), et = So, Ro = S(
5184
+ ), et = So, Ro = A(
5185
5185
  [
5186
5186
  "preflight",
5187
5187
  "ds-flex",
@@ -5205,7 +5205,7 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5205
5205
  }
5206
5206
  }
5207
5207
  }
5208
- ), Ao = (e) => D(Ro(e)), Po = S("", {
5208
+ ), Ao = (e) => z(Ro(e)), Po = A("", {
5209
5209
  variants: {
5210
5210
  variant: {
5211
5211
  success: "ds-text-success-green-dark",
@@ -5214,7 +5214,7 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5214
5214
  error: "ds-text-danger-red-dark"
5215
5215
  }
5216
5216
  }
5217
- }), Tt = (e) => D(Po(e)), Fo = S("", {
5217
+ }), Tt = (e) => z(Po(e)), Fo = A("", {
5218
5218
  variants: {
5219
5219
  variant: {
5220
5220
  success: ["ds-text-success-green-darkest", "ds-stroke-success-green-darkest"],
@@ -5223,7 +5223,7 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5223
5223
  error: ["ds-text-danger-red-darkest", "ds-stroke-danger-red-darkest"]
5224
5224
  }
5225
5225
  }
5226
- }), ze = (e) => D(Fo(e)), Oo = ({
5226
+ }), ze = (e) => z(Fo(e)), Oo = ({
5227
5227
  variant: e = "info",
5228
5228
  isDismissible: r = !0,
5229
5229
  showIcon: n = !0,
@@ -5232,7 +5232,7 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5232
5232
  description: o = "",
5233
5233
  content: a = void 0,
5234
5234
  closeAriaLabel: l = "Close button",
5235
- id: c = "alert_" + $o().toString(),
5235
+ id: c = "alert_" + Ht().toString(),
5236
5236
  handleClose: f,
5237
5237
  ...u
5238
5238
  }) => {
@@ -5306,7 +5306,7 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5306
5306
  }
5307
5307
  ) })
5308
5308
  ] });
5309
- }, Sl = Oo, Yt = [
5309
+ }, Wo = Oo, qt = [
5310
5310
  "preflight",
5311
5311
  // Need to specify the font because disabling preflight makes the button not inherit the font
5312
5312
  // Lato is defined as font-sans in our tailwind theme configuration
@@ -5323,7 +5323,7 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5323
5323
  "focus-visible:ds-ring-2",
5324
5324
  "focus-visible:ds-outline-none",
5325
5325
  "focus-visible:ds-ring-offset-2"
5326
- ], Wo = [
5326
+ ], _o = [
5327
5327
  "!ds-bg-neutrals-lighter",
5328
5328
  "!ds-text-neutrals-dark",
5329
5329
  "!ds-border-neutrals-light",
@@ -5333,8 +5333,8 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5333
5333
  "!hover:ds-text-neutrals-dark",
5334
5334
  "!focus-visible:ds-ring-neutrals-black",
5335
5335
  "!focus-visible:ds-border-neutrals-light"
5336
- ], _o = [
5337
- ...Yt,
5336
+ ], Vo = [
5337
+ ...qt,
5338
5338
  "ds-p-1",
5339
5339
  "!ds-bg-neutrals-lighter",
5340
5340
  "!ds-text-neutrals-dark",
@@ -5344,7 +5344,7 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5344
5344
  "focus-visible:ds-ring-neutrals-black",
5345
5345
  "!focus-visible:ds-border-neutrals-light",
5346
5346
  "active:ds-border-neutrals-lighter"
5347
- ], Io = S(Yt, {
5347
+ ], Io = A(qt, {
5348
5348
  variants: {
5349
5349
  variant: {
5350
5350
  primary: [
@@ -5410,7 +5410,7 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5410
5410
  ]
5411
5411
  },
5412
5412
  disabled: {
5413
- true: Wo,
5413
+ true: _o,
5414
5414
  false: []
5415
5415
  }
5416
5416
  },
@@ -5431,7 +5431,7 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5431
5431
  class: "focus-visible:ds-ring-neutrals-black"
5432
5432
  }
5433
5433
  ]
5434
- }), Vo = (e, r, n) => e === "inline" && r === !0 ? dr(_o) : dr(Io({ variant: e, disabled: r }), n), Do = ({
5434
+ }), Do = (e, r, n) => e === "inline" && r === !0 ? dr(Vo) : dr(Io({ variant: e, disabled: r }), n), Bo = ({
5435
5435
  variant: e = "primary",
5436
5436
  text: r,
5437
5437
  label: n = "",
@@ -5448,7 +5448,7 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5448
5448
  {
5449
5449
  "aria-disabled": t,
5450
5450
  onClick: (p) => Lr(p, t, o),
5451
- className: Vo(e, t, s),
5451
+ className: Do(e, t, s),
5452
5452
  "aria-label": n,
5453
5453
  ...u,
5454
5454
  children: /* @__PURE__ */ i.jsxs("div", { className: "ds-flex ds-flex-wrap ds-content-center ds-justify-center", children: [
@@ -5475,7 +5475,7 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5475
5475
  )
5476
5476
  ] })
5477
5477
  }
5478
- ) }), Rl = Do, Bo = ({
5478
+ ) }), Ho = Bo, zo = ({
5479
5479
  content: e = void 0,
5480
5480
  iconName: r = void 0,
5481
5481
  title: n = "",
@@ -5486,7 +5486,7 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5486
5486
  "div",
5487
5487
  {
5488
5488
  ...o,
5489
- className: D(
5489
+ className: z(
5490
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",
5491
5491
  s
5492
5492
  ),
@@ -5502,13 +5502,13 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5502
5502
  altText: r
5503
5503
  }
5504
5504
  ),
5505
- /* @__PURE__ */ i.jsx(Jt, { size: "small", text: n, hasMarginBottom: !1 })
5505
+ /* @__PURE__ */ i.jsx(Xt, { size: "small", text: n, hasMarginBottom: !1 })
5506
5506
  ] }),
5507
5507
  e && /* @__PURE__ */ i.jsx("div", { className: "ds-text-base", children: e }),
5508
5508
  t && /* @__PURE__ */ i.jsx("div", { children: t })
5509
5509
  ]
5510
5510
  }
5511
- ), Al = Bo, Ho = S(
5511
+ ), Fl = zo, Uo = A(
5512
5512
  [
5513
5513
  "preflight",
5514
5514
  "ds-h-4",
@@ -5536,7 +5536,7 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5536
5536
  }
5537
5537
  }
5538
5538
  }
5539
- ), qt = (e) => D(Ho(e)), zo = S(
5539
+ ), Kt = (e) => z(Uo(e)), Go = A(
5540
5540
  ["preflight", "ds-font-base", "!ds-font-sans", "ds-ml-2", "ds-text-base"],
5541
5541
  {
5542
5542
  variants: {
@@ -5546,7 +5546,7 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5546
5546
  }
5547
5547
  }
5548
5548
  }
5549
- ), Kt = (e) => D(zo(e)), rt = {
5549
+ ), Jt = (e) => z(Go(e)), rt = {
5550
5550
  variants: {
5551
5551
  state: {
5552
5552
  default: [
@@ -5585,7 +5585,7 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5585
5585
  ]
5586
5586
  }
5587
5587
  }
5588
- }, Uo = ({
5588
+ }, Zo = ({
5589
5589
  id: e,
5590
5590
  label: r = "",
5591
5591
  name: n = "",
@@ -5608,26 +5608,90 @@ const dr = (...e) => D(No(...e)), Zt = (e, r, n) => {
5608
5608
  "aria-label": f,
5609
5609
  "aria-disabled": s,
5610
5610
  type: "checkbox",
5611
- className: `ds-form-checkbox ds-mt-1 ${qt({ disabled: s })} ds-rounded`,
5611
+ className: `ds-form-checkbox ds-mt-1 ${Kt({ disabled: s })} ds-rounded`,
5612
5612
  checked: t,
5613
5613
  ref: (u) => u && (u.indeterminate = o),
5614
5614
  onClick: (u) => Lr(u, s, l),
5615
- onChange: (u) => Zt(u, s, a),
5615
+ onChange: (u) => Yt(u, s, a),
5616
5616
  ...c
5617
5617
  }
5618
5618
  ),
5619
- r && /* @__PURE__ */ i.jsx("label", { htmlFor: e, className: Kt({ disabled: s }), children: r })
5619
+ r && /* @__PURE__ */ i.jsx("label", { htmlFor: e, className: Jt({ disabled: s }), children: r })
5620
+ ] });
5621
+ }, Ol = Zo, Yo = (e) => [
5622
+ "Zero",
5623
+ "One",
5624
+ "Two",
5625
+ "Three",
5626
+ "Four",
5627
+ "Five",
5628
+ "Six",
5629
+ "Seven",
5630
+ "Eight",
5631
+ "Nine"
5632
+ ][e] || e.toString(), qo = ({
5633
+ children: e,
5634
+ className: r = "",
5635
+ onClick: n,
5636
+ successTitle: t,
5637
+ successDescription: s,
5638
+ errorTitle: o,
5639
+ buttonText: a,
5640
+ ...l
5641
+ }) => {
5642
+ const c = "formValidation_" + Ht().toString(), [f, u] = X(!1), [p, m] = X(""), [b, x] = X(!0), [C, v] = X(""), [w, j] = X("success"), oe = 32, T = k.Children.toArray(e).filter(
5643
+ (S) => {
5644
+ var _, K;
5645
+ return k.isValidElement(S) ? !!((_ = S.props) != null && _.id) && !!((K = S.props) != null && K.label) : !1;
5646
+ }
5647
+ ), U = (S) => {
5648
+ const F = document.getElementById(S);
5649
+ if (F) {
5650
+ const _ = F.getBoundingClientRect().top + window.scrollY;
5651
+ window.scrollTo({ top: _ - oe, behavior: "smooth" });
5652
+ }
5653
+ }, he = (S) => {
5654
+ n(S), u(!0), U(c);
5655
+ };
5656
+ return ne(() => {
5657
+ if (f) {
5658
+ const S = T.filter((F) => F.props.state == "error");
5659
+ S.length == 0 ? (j("success"), m(s), v(t)) : (j("error"), m(
5660
+ /* @__PURE__ */ i.jsx("ul", { children: S.map((F, _) => /* @__PURE__ */ i.jsx("li", { children: /* @__PURE__ */ i.jsxs("span", { onClick: () => U("label_" + F.props.id), children: [
5661
+ S.length > 1 ? `${_ + 1}. ` : "",
5662
+ F.props.message
5663
+ ] }) }, F.props.id)) })
5664
+ ), o ? v(o) : S.length == 1 ? v("An error was found in the information you submitted") : v(
5665
+ `${Yo(S.length)} errors were found in the information you submitted`
5666
+ )), x(!1), u(!1);
5667
+ }
5668
+ }, [f]), /* @__PURE__ */ i.jsxs("div", { className: `prelight ${r}`, id: c, ...l, children: [
5669
+ /* @__PURE__ */ i.jsx("div", { className: "preflight ds-mb-6 ds-rounded", children: !b && /* @__PURE__ */ i.jsx(
5670
+ Wo,
5671
+ {
5672
+ description: p,
5673
+ isDismissible: w == "success",
5674
+ title: C,
5675
+ titleSize: w == "success" ? "small" : "large",
5676
+ variant: w,
5677
+ handleClose: () => {
5678
+ x(!0);
5679
+ }
5680
+ }
5681
+ ) }),
5682
+ e,
5683
+ /* @__PURE__ */ i.jsx(Ho, { text: a, onClick: he })
5620
5684
  ] });
5621
- }, Pl = Uo, De = "large", Ze = "medium", Ye = "small", qe = "extra-large", St = "h1", Go = "h2", Zo = "h3", Yo = "div";
5622
- function qo(e) {
5685
+ }, Wl = qo, De = "large", Ze = "medium", Ye = "small", qe = "extra-large", St = "h1", Ko = "h2", Jo = "h3", Xo = "div";
5686
+ function Qo(e) {
5623
5687
  return {
5624
5688
  [De]: St,
5625
- [Ze]: Go,
5626
- [Ye]: Zo,
5627
- [qe]: Yo
5689
+ [Ze]: Ko,
5690
+ [Ye]: Jo,
5691
+ [qe]: Xo
5628
5692
  }[e] || St;
5629
5693
  }
5630
- const Ko = S("preflight !ds-font-sans", {
5694
+ const ea = A("preflight !ds-font-sans", {
5631
5695
  variants: {
5632
5696
  size: {
5633
5697
  [Ye]: "ds-mb-3",
@@ -5636,7 +5700,7 @@ const Ko = S("preflight !ds-font-sans", {
5636
5700
  [qe]: "ds-mb-6"
5637
5701
  }
5638
5702
  }
5639
- }), vr = S("ds-text-neutrals-darker !ds-font-sans", {
5703
+ }), vr = A("ds-text-neutrals-darker !ds-font-sans", {
5640
5704
  variants: {
5641
5705
  size: {
5642
5706
  [Ye]: "ds-text-xl ds-font-semibold",
@@ -5645,7 +5709,7 @@ const Ko = S("preflight !ds-font-sans", {
5645
5709
  [qe]: "ds-text-4xl ds-font-semibold"
5646
5710
  }
5647
5711
  }
5648
- }), Jo = S("ds-mt-0 ds-font-bold ds-text-neutrals-dark", {
5712
+ }), ra = A("ds-mt-0 ds-font-bold ds-text-neutrals-dark", {
5649
5713
  variants: {
5650
5714
  size: {
5651
5715
  [Ye]: "ds-mb-1 ds-text-sm",
@@ -5654,7 +5718,7 @@ const Ko = S("preflight !ds-font-sans", {
5654
5718
  [qe]: "ds-mb-3 ds-text-base"
5655
5719
  }
5656
5720
  }
5657
- }), Xo = S("ds-mb-0 ds-text-neutrals-dark", {
5721
+ }), ta = A("ds-mb-0 ds-text-neutrals-dark", {
5658
5722
  variants: {
5659
5723
  size: {
5660
5724
  [Ye]: "ds-mt-1 ds-text-base",
@@ -5663,7 +5727,7 @@ const Ko = S("preflight !ds-font-sans", {
5663
5727
  [qe]: "ds-mt-3 ds-text-base"
5664
5728
  }
5665
5729
  }
5666
- }), Qo = S("ds-text-neutrals-light", {
5730
+ }), na = A("ds-text-neutrals-light", {
5667
5731
  variants: {
5668
5732
  size: {
5669
5733
  [Ye]: "ds-mt-2",
@@ -5672,7 +5736,7 @@ const Ko = S("preflight !ds-font-sans", {
5672
5736
  [qe]: "ds-mt-3"
5673
5737
  }
5674
5738
  }
5675
- }), ea = ({
5739
+ }), sa = ({
5676
5740
  size: e = De,
5677
5741
  className: r = "",
5678
5742
  text: n = "",
@@ -5683,19 +5747,19 @@ const Ko = S("preflight !ds-font-sans", {
5683
5747
  headingTag: l,
5684
5748
  ...c
5685
5749
  }) => {
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 = {
5750
+ const f = t ? /* @__PURE__ */ i.jsx("p", { className: ra({ size: e }), children: t }) : null, u = s ? /* @__PURE__ */ i.jsx("p", { className: ta({ size: e }), children: s }) : null, p = o ? /* @__PURE__ */ i.jsx("hr", { className: na({ size: e }) }) : null, m = a ? ea({ size: e }) : "preflight", b = {
5687
5751
  div: /* @__PURE__ */ i.jsx("div", { className: vr({ size: e }), children: n }),
5688
5752
  h3: /* @__PURE__ */ i.jsx("h3", { className: vr({ size: e }), children: n }),
5689
5753
  h2: /* @__PURE__ */ i.jsx("h2", { className: vr({ size: e }), children: n }),
5690
5754
  h1: /* @__PURE__ */ i.jsx("h1", { className: vr({ size: e }), children: n })
5691
5755
  };
5692
- return /* @__PURE__ */ i.jsxs("div", { className: D(m, r), ...c, children: [
5756
+ return /* @__PURE__ */ i.jsxs("div", { className: z(m, r), ...c, children: [
5693
5757
  f,
5694
- b[l || qo(e)],
5758
+ b[l || Qo(e)],
5695
5759
  u,
5696
5760
  p
5697
5761
  ] });
5698
- }, Jt = ea, ra = ({
5762
+ }, Xt = sa, oa = ({
5699
5763
  label: e = "",
5700
5764
  name: r,
5701
5765
  id: n,
@@ -5712,15 +5776,15 @@ const Ko = S("preflight !ds-font-sans", {
5712
5776
  id: n,
5713
5777
  name: r,
5714
5778
  type: "radio",
5715
- className: `ds-form-radio ${qt({ disabled: t })}`,
5779
+ className: `ds-form-radio ${Kt({ disabled: t })}`,
5716
5780
  "aria-disabled": t,
5717
- onChange: (l) => Zt(l, t, s),
5781
+ onChange: (l) => Yt(l, t, s),
5718
5782
  onClick: (l) => Lr(l, t, o),
5719
5783
  ...a
5720
5784
  }
5721
5785
  ),
5722
- /* @__PURE__ */ i.jsx("label", { htmlFor: n, className: Kt({ disabled: t }), children: e })
5723
- ] }), Fl = ra, ta = S(
5786
+ /* @__PURE__ */ i.jsx("label", { htmlFor: n, className: Jt({ disabled: t }), children: e })
5787
+ ] }), _l = oa, aa = A(
5724
5788
  [
5725
5789
  "preflight",
5726
5790
  "!ds-font-sans",
@@ -5753,18 +5817,18 @@ const Ko = S("preflight !ds-font-sans", {
5753
5817
  }
5754
5818
  }
5755
5819
  }
5756
- ), na = ({
5820
+ ), ia = ({
5757
5821
  text: e,
5758
5822
  href: r,
5759
5823
  type: n = "default",
5760
5824
  iconName: t,
5761
5825
  ...s
5762
- }) => /* @__PURE__ */ i.jsxs("a", { href: r, type: n, className: D(ta({ type: n })), ...s, children: [
5826
+ }) => /* @__PURE__ */ i.jsxs("a", { href: r, type: n, className: z(aa({ type: n })), ...s, children: [
5763
5827
  e,
5764
5828
  t && /* @__PURE__ */ i.jsx(Te, { altText: e, name: t, size: "small" })
5765
- ] }), Ol = 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, Fr = (e, r, n) => (oa(e, typeof r != "symbol" ? r + "" : r, n), n);
5767
- let aa = class {
5829
+ ] }), Vl = ia;
5830
+ var la = Object.defineProperty, da = (e, r, n) => r in e ? la(e, r, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[r] = n, Fr = (e, r, n) => (da(e, typeof r != "symbol" ? r + "" : r, n), n);
5831
+ let ca = class {
5768
5832
  constructor() {
5769
5833
  Fr(this, "current", this.detect()), Fr(this, "handoffState", "pending"), Fr(this, "currentId", 0);
5770
5834
  }
@@ -5792,9 +5856,9 @@ let aa = class {
5792
5856
  get isHandoffComplete() {
5793
5857
  return this.handoffState === "complete";
5794
5858
  }
5795
- }, Ve = new aa();
5859
+ }, Ie = new ca();
5796
5860
  function tt(e) {
5797
- return Ve.isServer ? null : e instanceof Node ? e.ownerDocument : e != null && e.hasOwnProperty("current") && e.current instanceof Node ? e.current.ownerDocument : document;
5861
+ return Ie.isServer ? null : e instanceof Node ? e.ownerDocument : e != null && e.hasOwnProperty("current") && e.current instanceof Node ? e.current.ownerDocument : document;
5798
5862
  }
5799
5863
  function Er(e) {
5800
5864
  typeof queueMicrotask == "function" ? queueMicrotask(e) : Promise.resolve().then(e).catch((r) => setTimeout(() => {
@@ -5841,40 +5905,40 @@ function We() {
5841
5905
  return r;
5842
5906
  }
5843
5907
  function nt() {
5844
- let [e] = ge(We);
5845
- return oe(() => () => e.dispose(), [e]), e;
5908
+ let [e] = X(We);
5909
+ return ne(() => () => e.dispose(), [e]), e;
5846
5910
  }
5847
- let K = (e, r) => {
5848
- Ve.isServer ? oe(e, r) : Bn(e, r);
5911
+ let ee = (e, r) => {
5912
+ Ie.isServer ? ne(e, r) : Hn(e, r);
5849
5913
  };
5850
- function Ce(e) {
5851
- let r = A(e);
5852
- return K(() => {
5914
+ function we(e) {
5915
+ let r = P(e);
5916
+ return ee(() => {
5853
5917
  r.current = e;
5854
5918
  }, [e]), r;
5855
5919
  }
5856
- let F = function(e) {
5857
- let r = Ce(e);
5858
- return w.useCallback((...n) => r.current(...n), [r]);
5859
- }, ia = ce(void 0);
5860
- function la() {
5861
- return re(ia);
5920
+ let W = function(e) {
5921
+ let r = we(e);
5922
+ return k.useCallback((...n) => r.current(...n), [r]);
5923
+ }, ua = fe(void 0);
5924
+ function fa() {
5925
+ return se(ua);
5862
5926
  }
5863
5927
  function ar(...e) {
5864
5928
  return Array.from(new Set(e.flatMap((r) => typeof r == "string" ? r.split(" ") : []))).filter(Boolean).join(" ");
5865
5929
  }
5866
- function U(e, r, ...n) {
5930
+ function q(e, r, ...n) {
5867
5931
  if (e in r) {
5868
5932
  let s = r[e];
5869
5933
  return typeof s == "function" ? s(...n) : s;
5870
5934
  }
5871
5935
  let t = new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(r).map((s) => `"${s}"`).join(", ")}.`);
5872
- throw Error.captureStackTrace && Error.captureStackTrace(t, U), t;
5936
+ throw Error.captureStackTrace && Error.captureStackTrace(t, q), t;
5873
5937
  }
5874
- var kr = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(kr || {}), Oe = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(Oe || {});
5875
- function be({ ourProps: e, theirProps: r, slot: n, defaultTag: t, features: s, visible: o = !0, name: a, mergeRefs: l }) {
5876
- l = l != null ? l : da;
5877
- let c = Xt(r, e);
5938
+ var wr = ((e) => (e[e.None = 0] = "None", e[e.RenderStrategy = 1] = "RenderStrategy", e[e.Static = 2] = "Static", e))(wr || {}), Oe = ((e) => (e[e.Unmount = 0] = "Unmount", e[e.Hidden = 1] = "Hidden", e))(Oe || {});
5939
+ function ve({ ourProps: e, theirProps: r, slot: n, defaultTag: t, features: s, visible: o = !0, name: a, mergeRefs: l }) {
5940
+ l = l != null ? l : pa;
5941
+ let c = Qt(r, e);
5878
5942
  if (o)
5879
5943
  return xr(c, n, t, a, l);
5880
5944
  let f = s != null ? s : 0;
@@ -5885,7 +5949,7 @@ function be({ ourProps: e, theirProps: r, slot: n, defaultTag: t, features: s, v
5885
5949
  }
5886
5950
  if (f & 1) {
5887
5951
  let { unmount: u = !0, ...p } = c;
5888
- return U(u ? 0 : 1, { 0() {
5952
+ return q(u ? 0 : 1, { 0() {
5889
5953
  return null;
5890
5954
  }, 1() {
5891
5955
  return xr({ ...p, hidden: !0, style: { display: "none" } }, n, t, a, l);
@@ -5899,36 +5963,36 @@ function xr(e, r = {}, n, t, s) {
5899
5963
  let p = {};
5900
5964
  if (r) {
5901
5965
  let m = !1, b = [];
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()}`));
5966
+ for (let [x, C] of Object.entries(r))
5967
+ typeof C == "boolean" && (m = !0), C === !0 && b.push(x.replace(/([A-Z])/g, (v) => `-${v.toLowerCase()}`));
5904
5968
  if (m) {
5905
5969
  p["data-headlessui-state"] = b.join(" ");
5906
- for (let v of b)
5907
- p[`data-${v}`] = "";
5970
+ for (let x of b)
5971
+ p[`data-${x}`] = "";
5908
5972
  }
5909
5973
  }
5910
- if (o === de && (Object.keys(Ue(c)).length > 0 || Object.keys(Ue(p)).length > 0))
5911
- if (!zn(u) || Array.isArray(u) && u.length > 1) {
5974
+ if (o === ue && (Object.keys(Ue(c)).length > 0 || Object.keys(Ue(p)).length > 0))
5975
+ if (!Un(u) || Array.isArray(u) && u.length > 1) {
5912
5976
  if (Object.keys(Ue(c)).length > 0)
5913
5977
  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(`
5914
5978
  `), "", "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(`
5915
5979
  `)].join(`
5916
5980
  `));
5917
5981
  } else {
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(Or(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));
5982
+ let m = u.props, b = m == null ? void 0 : m.className, x = typeof b == "function" ? (...w) => ar(b(...w), c.className) : ar(b, c.className), C = x ? { className: x } : {}, v = Qt(u.props, Ue(Or(c, ["ref"])));
5983
+ for (let w in p)
5984
+ w in v && delete p[w];
5985
+ return Gn(u, Object.assign({}, v, p, f, { ref: s(u.ref, f.ref) }, C));
5922
5986
  }
5923
- return Gn(o, Object.assign({}, Or(c, ["ref"]), o !== de && f, o !== de && p), u);
5987
+ return Zn(o, Object.assign({}, Or(c, ["ref"]), o !== ue && f, o !== ue && p), u);
5924
5988
  }
5925
- function da(...e) {
5989
+ function pa(...e) {
5926
5990
  return e.every((r) => r == null) ? void 0 : (r) => {
5927
5991
  for (let n of e)
5928
5992
  n != null && (typeof n == "function" ? n(r) : n.current = r);
5929
5993
  };
5930
5994
  }
5931
- function Xt(...e) {
5995
+ function Qt(...e) {
5932
5996
  if (e.length === 0)
5933
5997
  return {};
5934
5998
  if (e.length === 1)
@@ -5954,9 +6018,9 @@ function Xt(...e) {
5954
6018
  } });
5955
6019
  return r;
5956
6020
  }
5957
- function ue(e) {
6021
+ function pe(e) {
5958
6022
  var r;
5959
- return Object.assign(Hn(e), { displayName: (r = e.displayName) != null ? r : e.name });
6023
+ return Object.assign(zn(e), { displayName: (r = e.displayName) != null ? r : e.name });
5960
6024
  }
5961
6025
  function Ue(e) {
5962
6026
  let r = Object.assign({}, e);
@@ -5970,69 +6034,69 @@ function Or(e, r = []) {
5970
6034
  t in n && delete n[t];
5971
6035
  return n;
5972
6036
  }
5973
- let ca = "div";
5974
- var wr = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(wr || {});
5975
- function ua(e, r) {
6037
+ let ha = "div";
6038
+ var kr = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(kr || {});
6039
+ function ma(e, r) {
5976
6040
  var n;
5977
6041
  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" } } };
5978
- return be({ ourProps: o, theirProps: s, slot: {}, defaultTag: ca, name: "Hidden" });
6042
+ return ve({ ourProps: o, theirProps: s, slot: {}, defaultTag: ha, name: "Hidden" });
5979
6043
  }
5980
- let Dr = ue(ua), fa = ce(null);
5981
- function pa({ children: e }) {
5982
- let r = re(fa);
6044
+ let Dr = pe(ma), ga = fe(null);
6045
+ function ba({ children: e }) {
6046
+ let r = se(ga);
5983
6047
  if (!r)
5984
- return w.createElement(w.Fragment, null, e);
6048
+ return k.createElement(k.Fragment, null, e);
5985
6049
  let { target: n } = r;
5986
- return n ? Ot(w.createElement(w.Fragment, null, e), n) : null;
6050
+ return n ? Ot(k.createElement(k.Fragment, null, e), n) : null;
5987
6051
  }
5988
- let Qt = Symbol();
5989
- function ha(e, r = !0) {
5990
- return Object.assign(e, { [Qt]: r });
6052
+ let en = Symbol();
6053
+ function va(e, r = !0) {
6054
+ return Object.assign(e, { [en]: r });
5991
6055
  }
5992
6056
  function ke(...e) {
5993
- let r = A(e);
5994
- oe(() => {
6057
+ let r = P(e);
6058
+ ne(() => {
5995
6059
  r.current = e;
5996
6060
  }, [e]);
5997
- let n = F((t) => {
6061
+ let n = W((t) => {
5998
6062
  for (let s of r.current)
5999
6063
  s != null && (typeof s == "function" ? s(t) : s.current = t);
6000
6064
  });
6001
- return e.every((t) => t == null || (t == null ? void 0 : t[Qt])) ? void 0 : n;
6065
+ return e.every((t) => t == null || (t == null ? void 0 : t[en])) ? void 0 : n;
6002
6066
  }
6003
- let st = ce(null);
6067
+ let st = fe(null);
6004
6068
  st.displayName = "DescriptionContext";
6005
- function en() {
6006
- let e = re(st);
6069
+ function rn() {
6070
+ let e = se(st);
6007
6071
  if (e === null) {
6008
6072
  let r = new Error("You used a <Description /> component, but it is not inside a relevant parent.");
6009
- throw Error.captureStackTrace && Error.captureStackTrace(r, en), r;
6073
+ throw Error.captureStackTrace && Error.captureStackTrace(r, rn), r;
6010
6074
  }
6011
6075
  return e;
6012
6076
  }
6013
- function ma() {
6014
- let [e, r] = ge([]);
6015
- return [e.length > 0 ? e.join(" ") : void 0, ae(() => function(n) {
6016
- let t = F((o) => (r((a) => [...a, o]), () => r((a) => {
6077
+ function xa() {
6078
+ let [e, r] = X([]);
6079
+ return [e.length > 0 ? e.join(" ") : void 0, de(() => function(n) {
6080
+ let t = W((o) => (r((a) => [...a, o]), () => r((a) => {
6017
6081
  let l = a.slice(), c = l.indexOf(o);
6018
6082
  return c !== -1 && l.splice(c, 1), l;
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]);
6020
- return w.createElement(st.Provider, { value: s }, n.children);
6083
+ }))), s = de(() => ({ register: t, slot: n.slot, name: n.name, props: n.props, value: n.value }), [t, n.slot, n.name, n.props, n.value]);
6084
+ return k.createElement(st.Provider, { value: s }, n.children);
6021
6085
  }, [r])];
6022
6086
  }
6023
- let ga = "p";
6024
- function ba(e, r) {
6025
- let n = jr(), t = la(), { id: s = `headlessui-description-${n}`, ...o } = e, a = en(), l = ke(r);
6026
- K(() => a.register(s), [s, a.register]);
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" });
6087
+ let Ca = "p";
6088
+ function wa(e, r) {
6089
+ let n = jr(), t = fa(), { id: s = `headlessui-description-${n}`, ...o } = e, a = rn(), l = ke(r);
6090
+ ee(() => a.register(s), [s, a.register]);
6091
+ let c = t || !1, f = de(() => ({ ...a.slot, disabled: c }), [a.slot, c]), u = { ref: l, ...a.props, id: s };
6092
+ return ve({ ourProps: u, theirProps: o, slot: f, defaultTag: Ca, name: a.name || "Description" });
6029
6093
  }
6030
- let va = ue(ba), xa = Object.assign(va, {});
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 || {});
6032
- let Ca = ce(() => {
6094
+ let ka = pe(wa), ya = Object.assign(ka, {});
6095
+ var tn = ((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))(tn || {});
6096
+ let ja = fe(() => {
6033
6097
  });
6034
- function ka({ value: e, children: r }) {
6035
- return w.createElement(Ca.Provider, { value: e }, r);
6098
+ function La({ value: e, children: r }) {
6099
+ return k.createElement(ja.Provider, { value: e }, r);
6036
6100
  }
6037
6101
  let Br = /* @__PURE__ */ new Map(), ir = /* @__PURE__ */ new Map();
6038
6102
  function Rt(e) {
@@ -6048,8 +6112,8 @@ function At(e) {
6048
6112
  let t = Br.get(e);
6049
6113
  t && (t["aria-hidden"] === null ? e.removeAttribute("aria-hidden") : e.setAttribute("aria-hidden", t["aria-hidden"]), e.inert = t.inert, Br.delete(e));
6050
6114
  }
6051
- function wa({ allowed: e, disallowed: r } = {}, n = !0) {
6052
- K(() => {
6115
+ function Ea({ allowed: e, disallowed: r } = {}, n = !0) {
6116
+ ee(() => {
6053
6117
  var t, s;
6054
6118
  if (!n)
6055
6119
  return;
@@ -6073,12 +6137,12 @@ function wa({ allowed: e, disallowed: r } = {}, n = !0) {
6073
6137
  return o.dispose;
6074
6138
  }, [n, e, r]);
6075
6139
  }
6076
- function tn(e, r, n = !0) {
6077
- let t = Ce((s) => {
6140
+ function nn(e, r, n = !0) {
6141
+ let t = we((s) => {
6078
6142
  let o = s.getBoundingClientRect();
6079
6143
  o.x === 0 && o.y === 0 && o.width === 0 && o.height === 0 && r();
6080
6144
  });
6081
- oe(() => {
6145
+ ne(() => {
6082
6146
  if (!n)
6083
6147
  return;
6084
6148
  let s = e === null ? null : e instanceof HTMLElement ? e : e.current;
@@ -6096,18 +6160,18 @@ function tn(e, r, n = !0) {
6096
6160
  return () => o.dispose();
6097
6161
  }, [e, t, n]);
6098
6162
  }
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) {
6163
+ 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(","), $a = ["[data-autofocus]"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
6164
+ 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 || {}), Ma = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Ma || {});
6165
+ function Na(e = document.body) {
6102
6166
  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)));
6103
6167
  }
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)));
6168
+ function Ta(e = document.body) {
6169
+ return e == null ? [] : Array.from(e.querySelectorAll($a)).sort((r, n) => Math.sign((r.tabIndex || Number.MAX_SAFE_INTEGER) - (n.tabIndex || Number.MAX_SAFE_INTEGER)));
6106
6170
  }
6107
- var nn = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(nn || {});
6108
- function $a(e, r = 0) {
6171
+ var sn = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(sn || {});
6172
+ function Sa(e, r = 0) {
6109
6173
  var n;
6110
- return e === ((n = tt(e)) == null ? void 0 : n.body) ? !1 : U(r, { 0() {
6174
+ return e === ((n = tt(e)) == null ? void 0 : n.body) ? !1 : q(r, { 0() {
6111
6175
  return e.matches(Hr);
6112
6176
  }, 1() {
6113
6177
  let t = e;
@@ -6119,7 +6183,7 @@ function $a(e, r = 0) {
6119
6183
  return !1;
6120
6184
  } });
6121
6185
  }
6122
- var Ma = ((e) => (e[e.Keyboard = 0] = "Keyboard", e[e.Mouse = 1] = "Mouse", e))(Ma || {});
6186
+ var Ra = ((e) => (e[e.Keyboard = 0] = "Keyboard", e[e.Mouse = 1] = "Mouse", e))(Ra || {});
6123
6187
  typeof window != "undefined" && typeof document != "undefined" && (document.addEventListener("keydown", (e) => {
6124
6188
  e.metaKey || e.altKey || e.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
6125
6189
  }, !0), document.addEventListener("click", (e) => {
@@ -6128,12 +6192,12 @@ typeof window != "undefined" && typeof document != "undefined" && (document.addE
6128
6192
  function Ne(e) {
6129
6193
  e == null || e.focus({ preventScroll: !0 });
6130
6194
  }
6131
- let Na = ["textarea", "input"].join(",");
6132
- function Ta(e) {
6195
+ let Aa = ["textarea", "input"].join(",");
6196
+ function Pa(e) {
6133
6197
  var r, n;
6134
- return (n = (r = e == null ? void 0 : e.matches) == null ? void 0 : r.call(e, Na)) != null ? n : !1;
6198
+ return (n = (r = e == null ? void 0 : e.matches) == null ? void 0 : r.call(e, Aa)) != null ? n : !1;
6135
6199
  }
6136
- function Sa(e, r = (n) => n) {
6200
+ function Fa(e, r = (n) => n) {
6137
6201
  return e.slice().sort((n, t) => {
6138
6202
  let s = r(n), o = r(t);
6139
6203
  if (s === null || o === null)
@@ -6143,8 +6207,8 @@ function Sa(e, r = (n) => n) {
6143
6207
  });
6144
6208
  }
6145
6209
  function lr(e, r, { sorted: n = !0, relativeTo: t = null, skipElements: s = [] } = {}) {
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;
6210
+ let o = Array.isArray(e) ? e.length > 0 ? e[0].ownerDocument : document : e.ownerDocument, a = Array.isArray(e) ? n ? Fa(e) : e : r & 64 ? Ta(e) : Na(e);
6211
+ s.length > 0 && a.length > 1 && (a = a.filter((b) => !s.some((x) => x != null && "current" in x ? (x == null ? void 0 : x.current) === b : x === b))), t = t != null ? t : o.activeElement;
6148
6212
  let l = (() => {
6149
6213
  if (r & 5)
6150
6214
  return 1;
@@ -6176,38 +6240,38 @@ function lr(e, r, { sorted: n = !0, relativeTo: t = null, skipElements: s = [] }
6176
6240
  }
6177
6241
  m = a[b], m == null || m.focus(f), u += l;
6178
6242
  } while (m !== o.activeElement);
6179
- return r & 6 && Ta(m) && m.select(), 2;
6243
+ return r & 6 && Pa(m) && m.select(), 2;
6180
6244
  }
6181
- function sn() {
6245
+ function on() {
6182
6246
  return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
6183
6247
  }
6184
- function Ra() {
6248
+ function Oa() {
6185
6249
  return /Android/gi.test(window.navigator.userAgent);
6186
6250
  }
6187
- function Aa() {
6188
- return sn() || Ra();
6251
+ function Wa() {
6252
+ return on() || Oa();
6189
6253
  }
6190
6254
  function Cr(e, r, n) {
6191
- let t = Ce(r);
6192
- oe(() => {
6255
+ let t = we(r);
6256
+ ne(() => {
6193
6257
  function s(o) {
6194
6258
  t.current(o);
6195
6259
  }
6196
6260
  return document.addEventListener(e, s, n), () => document.removeEventListener(e, s, n);
6197
6261
  }, [e, n]);
6198
6262
  }
6199
- function on(e, r, n) {
6200
- let t = Ce(r);
6201
- oe(() => {
6263
+ function an(e, r, n) {
6264
+ let t = we(r);
6265
+ ne(() => {
6202
6266
  function s(o) {
6203
6267
  t.current(o);
6204
6268
  }
6205
6269
  return window.addEventListener(e, s, n), () => window.removeEventListener(e, s, n);
6206
6270
  }, [e, n]);
6207
6271
  }
6208
- function Pa(e, r, n = !0) {
6209
- let t = A(!1);
6210
- oe(() => {
6272
+ function _a(e, r, n = !0) {
6273
+ let t = P(!1);
6274
+ ne(() => {
6211
6275
  requestAnimationFrame(() => {
6212
6276
  t.current = n;
6213
6277
  });
@@ -6228,9 +6292,9 @@ function Pa(e, r, n = !0) {
6228
6292
  if (p != null && p.contains(c) || a.composed && a.composedPath().includes(p))
6229
6293
  return;
6230
6294
  }
6231
- return !$a(c, nn.Loose) && c.tabIndex !== -1 && a.preventDefault(), r(a, c);
6295
+ return !Sa(c, sn.Loose) && c.tabIndex !== -1 && a.preventDefault(), r(a, c);
6232
6296
  }
6233
- let o = A(null);
6297
+ let o = P(null);
6234
6298
  Cr("pointerdown", (a) => {
6235
6299
  var l, c;
6236
6300
  t.current && (o.current = ((c = (l = a.composedPath) == null ? void 0 : l.call(a)) == null ? void 0 : c[0]) || a.target);
@@ -6238,15 +6302,15 @@ function Pa(e, r, n = !0) {
6238
6302
  var l, c;
6239
6303
  t.current && (o.current = ((c = (l = a.composedPath) == null ? void 0 : l.call(a)) == null ? void 0 : c[0]) || a.target);
6240
6304
  }, !0), Cr("click", (a) => {
6241
- Aa() || o.current && (s(a, () => o.current), o.current = null);
6242
- }, !0), Cr("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);
6305
+ Wa() || o.current && (s(a, () => o.current), o.current = null);
6306
+ }, !0), Cr("touchend", (a) => s(a, () => a.target instanceof HTMLElement ? a.target : null), !0), an("blur", (a) => s(a, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
6243
6307
  }
6244
6308
  function cr(...e) {
6245
- return ae(() => tt(...e), [...e]);
6309
+ return de(() => tt(...e), [...e]);
6246
6310
  }
6247
- function an(e, r, n, t) {
6248
- let s = Ce(n);
6249
- oe(() => {
6311
+ function ln(e, r, n, t) {
6312
+ let s = we(n);
6313
+ ne(() => {
6250
6314
  e = e != null ? e : window;
6251
6315
  function o(a) {
6252
6316
  s.current(a);
@@ -6254,10 +6318,10 @@ function an(e, r, n, t) {
6254
6318
  return e.addEventListener(r, o, t), () => e.removeEventListener(r, o, t);
6255
6319
  }, [e, r, t]);
6256
6320
  }
6257
- function Fa(e) {
6258
- return Zn(e.subscribe, e.getSnapshot, e.getSnapshot);
6321
+ function Va(e) {
6322
+ return Yn(e.subscribe, e.getSnapshot, e.getSnapshot);
6259
6323
  }
6260
- function Oa(e, r) {
6324
+ function Ia(e, r) {
6261
6325
  let n = e(), t = /* @__PURE__ */ new Set();
6262
6326
  return { getSnapshot() {
6263
6327
  return n;
@@ -6268,7 +6332,7 @@ function Oa(e, r) {
6268
6332
  a && (n = a, t.forEach((l) => l()));
6269
6333
  } };
6270
6334
  }
6271
- function Wa() {
6335
+ function Da() {
6272
6336
  let e;
6273
6337
  return { before({ doc: r }) {
6274
6338
  var n;
@@ -6279,8 +6343,8 @@ function Wa() {
6279
6343
  n.style(t, "paddingRight", `${o}px`);
6280
6344
  } };
6281
6345
  }
6282
- function _a() {
6283
- return sn() ? { before({ doc: e, d: r, meta: n }) {
6346
+ function Ba() {
6347
+ return on() ? { before({ doc: e, d: r, meta: n }) {
6284
6348
  function t(s) {
6285
6349
  return n.containers.flatMap((o) => o()).some((o) => o.contains(s));
6286
6350
  }
@@ -6330,18 +6394,18 @@ function _a() {
6330
6394
  });
6331
6395
  } } : {};
6332
6396
  }
6333
- function Ia() {
6397
+ function Ha() {
6334
6398
  return { before({ doc: e, d: r }) {
6335
6399
  r.style(e.documentElement, "overflow", "hidden");
6336
6400
  } };
6337
6401
  }
6338
- function Va(e) {
6402
+ function za(e) {
6339
6403
  let r = {};
6340
6404
  for (let n of e)
6341
6405
  Object.assign(r, n(r));
6342
6406
  return r;
6343
6407
  }
6344
- let Ie = Oa(() => /* @__PURE__ */ new Map(), { PUSH(e, r) {
6408
+ let Ve = Ia(() => /* @__PURE__ */ new Map(), { PUSH(e, r) {
6345
6409
  var n;
6346
6410
  let t = (n = this.get(e)) != null ? n : { doc: e, count: 0, d: We(), meta: /* @__PURE__ */ new Set() };
6347
6411
  return t.count++, t.meta.add(r), this.set(e, t), this;
@@ -6349,38 +6413,38 @@ let Ie = Oa(() => /* @__PURE__ */ new Map(), { PUSH(e, r) {
6349
6413
  let n = this.get(e);
6350
6414
  return n && (n.count--, n.meta.delete(r)), this;
6351
6415
  }, SCROLL_PREVENT({ doc: e, d: r, meta: n }) {
6352
- let t = { doc: e, d: r, meta: Va(n) }, s = [_a(), Wa(), Ia()];
6416
+ let t = { doc: e, d: r, meta: za(n) }, s = [Ba(), Da(), Ha()];
6353
6417
  s.forEach(({ before: o }) => o == null ? void 0 : o(t)), s.forEach(({ after: o }) => o == null ? void 0 : o(t));
6354
6418
  }, SCROLL_ALLOW({ d: e }) {
6355
6419
  e.dispose();
6356
6420
  }, TEARDOWN({ doc: e }) {
6357
6421
  this.delete(e);
6358
6422
  } });
6359
- Ie.subscribe(() => {
6360
- let e = Ie.getSnapshot(), r = /* @__PURE__ */ new Map();
6423
+ Ve.subscribe(() => {
6424
+ let e = Ve.getSnapshot(), r = /* @__PURE__ */ new Map();
6361
6425
  for (let [n] of e)
6362
6426
  r.set(n, n.documentElement.style.overflow);
6363
6427
  for (let n of e.values()) {
6364
6428
  let t = r.get(n.doc) === "hidden", s = n.count !== 0;
6365
- (s && !t || !s && t) && Ie.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && Ie.dispatch("TEARDOWN", n);
6429
+ (s && !t || !s && t) && Ve.dispatch(n.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", n), n.count === 0 && Ve.dispatch("TEARDOWN", n);
6366
6430
  }
6367
6431
  });
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;
6370
- return K(() => {
6432
+ function Ua(e, r, n = () => ({ containers: [] })) {
6433
+ let t = Va(Ve), s = e ? t.get(e) : void 0, o = s ? s.count > 0 : !1;
6434
+ return ee(() => {
6371
6435
  if (!(!e || !r))
6372
- return Ie.dispatch("PUSH", e, n), () => Ie.dispatch("POP", e, n);
6436
+ return Ve.dispatch("PUSH", e, n), () => Ve.dispatch("POP", e, n);
6373
6437
  }, [r, e]), o;
6374
6438
  }
6375
- function Ba(e, r, n = () => [document.body]) {
6376
- Da(e, r, (t) => {
6439
+ function Ga(e, r, n = () => [document.body]) {
6440
+ Ua(e, r, (t) => {
6377
6441
  var s;
6378
6442
  return { containers: [...(s = t.containers) != null ? s : [], n] };
6379
6443
  });
6380
6444
  }
6381
6445
  function ot(e, r) {
6382
- let n = A([]), t = F(e);
6383
- oe(() => {
6446
+ let n = P([]), t = W(e);
6447
+ ne(() => {
6384
6448
  let s = [...n.current];
6385
6449
  for (let [o, a] of r.entries())
6386
6450
  if (n.current[o] !== a) {
@@ -6389,60 +6453,60 @@ function ot(e, r) {
6389
6453
  }
6390
6454
  }, [t, ...r]);
6391
6455
  }
6392
- let at = ce(null);
6456
+ let at = fe(null);
6393
6457
  at.displayName = "OpenClosedContext";
6394
- var se = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(se || {});
6458
+ var le = ((e) => (e[e.Open = 1] = "Open", e[e.Closed = 2] = "Closed", e[e.Closing = 4] = "Closing", e[e.Opening = 8] = "Opening", e))(le || {});
6395
6459
  function it() {
6396
- return re(at);
6460
+ return se(at);
6397
6461
  }
6398
- function Ha({ value: e, children: r }) {
6399
- return w.createElement(at.Provider, { value: e }, r);
6462
+ function Za({ value: e, children: r }) {
6463
+ return k.createElement(at.Provider, { value: e }, r);
6400
6464
  }
6401
- function za(e) {
6465
+ function Ya(e) {
6402
6466
  function r() {
6403
6467
  document.readyState !== "loading" && (e(), document.removeEventListener("DOMContentLoaded", r));
6404
6468
  }
6405
6469
  typeof window != "undefined" && typeof document != "undefined" && (document.addEventListener("DOMContentLoaded", r), r());
6406
6470
  }
6407
6471
  let Fe = [];
6408
- za(() => {
6472
+ Ya(() => {
6409
6473
  function e(r) {
6410
6474
  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));
6411
6475
  }
6412
6476
  window.addEventListener("click", e, { capture: !0 }), window.addEventListener("mousedown", e, { capture: !0 }), window.addEventListener("focus", e, { capture: !0 }), document.body.addEventListener("click", e, { capture: !0 }), document.body.addEventListener("mousedown", e, { capture: !0 }), document.body.addEventListener("focus", e, { capture: !0 });
6413
6477
  });
6414
- function ln(e) {
6415
- let r = F(e), n = A(!1);
6416
- oe(() => (n.current = !1, () => {
6478
+ function dn(e) {
6479
+ let r = W(e), n = P(!1);
6480
+ ne(() => (n.current = !1, () => {
6417
6481
  n.current = !0, Er(() => {
6418
6482
  n.current && r();
6419
6483
  });
6420
6484
  }), [r]);
6421
6485
  }
6422
- function Ua() {
6486
+ function qa() {
6423
6487
  let e = typeof document == "undefined";
6424
6488
  return "useSyncExternalStore" in or ? ((r) => r.useSyncExternalStore)(or)(() => () => {
6425
6489
  }, () => !1, () => !e) : !1;
6426
6490
  }
6427
6491
  function ur() {
6428
- let e = Ua(), [r, n] = or.useState(Ve.isHandoffComplete);
6429
- return r && Ve.isHandoffComplete === !1 && n(!1), or.useEffect(() => {
6492
+ let e = qa(), [r, n] = or.useState(Ie.isHandoffComplete);
6493
+ return r && Ie.isHandoffComplete === !1 && n(!1), or.useEffect(() => {
6430
6494
  r !== !0 && n(!0);
6431
- }, [r]), or.useEffect(() => Ve.handoff(), []), e ? !1 : r;
6495
+ }, [r]), or.useEffect(() => Ie.handoff(), []), e ? !1 : r;
6432
6496
  }
6433
- let dn = ce(!1);
6434
- function Ga() {
6435
- return re(dn);
6497
+ let cn = fe(!1);
6498
+ function Ka() {
6499
+ return se(cn);
6436
6500
  }
6437
6501
  function Pt(e) {
6438
- return w.createElement(dn.Provider, { value: e.force }, e.children);
6502
+ return k.createElement(cn.Provider, { value: e.force }, e.children);
6439
6503
  }
6440
- function Za(e) {
6441
- let r = Ga(), n = re(un), t = cr(e), [s, o] = ge(() => {
6504
+ function Ja(e) {
6505
+ let r = Ka(), n = se(fn), t = cr(e), [s, o] = X(() => {
6442
6506
  var a;
6443
6507
  if (!r && n !== null)
6444
6508
  return (a = n.current) != null ? a : null;
6445
- if (Ve.isServer)
6509
+ if (Ie.isServer)
6446
6510
  return null;
6447
6511
  let l = t == null ? void 0 : t.getElementById("headlessui-portal-root");
6448
6512
  if (l)
@@ -6452,53 +6516,53 @@ function Za(e) {
6452
6516
  let c = t.createElement("div");
6453
6517
  return c.setAttribute("id", "headlessui-portal-root"), t.body.appendChild(c);
6454
6518
  });
6455
- return oe(() => {
6519
+ return ne(() => {
6456
6520
  s !== null && (t != null && t.body.contains(s) || t == null || t.body.appendChild(s));
6457
- }, [s, t]), oe(() => {
6521
+ }, [s, t]), ne(() => {
6458
6522
  r || n !== null && o(n.current);
6459
6523
  }, [n, o, r]), s;
6460
6524
  }
6461
- let cn = de, Ya = ue(function(e, r) {
6462
- let n = e, t = A(null), s = ke(ha((u) => {
6525
+ let un = ue, Xa = pe(function(e, r) {
6526
+ let n = e, t = P(null), s = ke(va((u) => {
6463
6527
  t.current = u;
6464
- }), r), o = cr(t), a = Za(t), [l] = ge(() => {
6528
+ }), r), o = cr(t), a = Ja(t), [l] = X(() => {
6465
6529
  var u;
6466
- return Ve.isServer ? null : (u = o == null ? void 0 : o.createElement("div")) != null ? u : null;
6467
- }), c = re(Ur), f = ur();
6468
- return K(() => {
6530
+ return Ie.isServer ? null : (u = o == null ? void 0 : o.createElement("div")) != null ? u : null;
6531
+ }), c = se(Ur), f = ur();
6532
+ return ee(() => {
6469
6533
  !a || !l || a.contains(l) || (l.setAttribute("data-headlessui-portal", ""), a.appendChild(l));
6470
- }, [a, l]), K(() => {
6534
+ }, [a, l]), ee(() => {
6471
6535
  if (l && c)
6472
6536
  return c.register(l);
6473
- }, [c, l]), ln(() => {
6537
+ }, [c, l]), dn(() => {
6474
6538
  var u;
6475
6539
  !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;
6540
+ }), f ? !a || !l ? null : Ot(ve({ ourProps: { ref: s }, theirProps: n, slot: {}, defaultTag: un, name: "Portal" }), l) : null;
6477
6541
  });
6478
- function qa(e, r) {
6542
+ function Qa(e, r) {
6479
6543
  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" });
6544
+ return t ? k.createElement(Xa, { ...s, ref: n }) : ve({ ourProps: { ref: n }, theirProps: s, slot: {}, defaultTag: un, name: "Portal" });
6481
6545
  }
6482
- let Ka = de, un = ce(null);
6483
- function Ja(e, r) {
6546
+ let ei = ue, fn = fe(null);
6547
+ function ri(e, r) {
6484
6548
  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" }));
6549
+ return k.createElement(fn.Provider, { value: n }, ve({ ourProps: s, theirProps: t, defaultTag: ei, name: "Popover.Group" }));
6486
6550
  }
6487
- let Ur = ce(null);
6488
- function Xa() {
6489
- let e = re(Ur), r = A([]), n = F((o) => (r.current.push(o), e && e.register(o), () => t(o))), t = F((o) => {
6551
+ let Ur = fe(null);
6552
+ function ti() {
6553
+ let e = se(Ur), r = P([]), n = W((o) => (r.current.push(o), e && e.register(o), () => t(o))), t = W((o) => {
6490
6554
  let a = r.current.indexOf(o);
6491
6555
  a !== -1 && r.current.splice(a, 1), e && e.unregister(o);
6492
- }), s = ae(() => ({ register: n, unregister: t, portals: r }), [n, t, r]);
6493
- return [r, ae(() => function({ children: o }) {
6494
- return w.createElement(Ur.Provider, { value: s }, o);
6556
+ }), s = de(() => ({ register: n, unregister: t, portals: r }), [n, t, r]);
6557
+ return [r, de(() => function({ children: o }) {
6558
+ return k.createElement(Ur.Provider, { value: s }, o);
6495
6559
  }, [s])];
6496
6560
  }
6497
- let Qa = ue(qa), ei = ue(Ja), Ft = Object.assign(Qa, { Group: ei });
6498
- function ri() {
6561
+ let ni = pe(Qa), si = pe(ri), Ft = Object.assign(ni, { Group: si });
6562
+ function oi() {
6499
6563
  var e;
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);
6501
- return K(() => {
6564
+ let [r] = X(() => typeof window != "undefined" && typeof window.matchMedia == "function" ? window.matchMedia("(pointer: coarse)") : null), [n, t] = X((e = r == null ? void 0 : r.matches) != null ? e : !1);
6565
+ return ee(() => {
6502
6566
  if (!r)
6503
6567
  return;
6504
6568
  function s(o) {
@@ -6507,9 +6571,9 @@ function ri() {
6507
6571
  return r.addEventListener("change", s), () => r.removeEventListener("change", s);
6508
6572
  }, [r]), n;
6509
6573
  }
6510
- function ti({ defaultContainers: e = [], portals: r, mainTreeNodeRef: n } = {}) {
6574
+ function ai({ defaultContainers: e = [], portals: r, mainTreeNodeRef: n } = {}) {
6511
6575
  var t;
6512
- let s = A((t = n == null ? void 0 : n.current) != null ? t : null), o = cr(s), a = F(() => {
6576
+ let s = P((t = n == null ? void 0 : n.current) != null ? t : null), o = cr(s), a = W(() => {
6513
6577
  var l, c, f;
6514
6578
  let u = [];
6515
6579
  for (let p of e)
@@ -6521,42 +6585,42 @@ function ti({ defaultContainers: e = [], portals: r, mainTreeNodeRef: n } = {})
6521
6585
  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
6586
  return u;
6523
6587
  });
6524
- return { resolveContainers: a, contains: F((l) => a().some((c) => c.contains(l))), mainTreeNodeRef: s, MainTreeNode: ae(() => function() {
6525
- return n != null ? null : w.createElement(Dr, { features: wr.Hidden, ref: s });
6588
+ return { resolveContainers: a, contains: W((l) => a().some((c) => c.contains(l))), mainTreeNodeRef: s, MainTreeNode: de(() => function() {
6589
+ return n != null ? null : k.createElement(Dr, { features: kr.Hidden, ref: s });
6526
6590
  }, [s, n]) };
6527
6591
  }
6528
- let lt = ce(() => {
6592
+ let lt = fe(() => {
6529
6593
  });
6530
6594
  lt.displayName = "StackContext";
6531
6595
  var Gr = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(Gr || {});
6532
- function ni() {
6533
- return re(lt);
6596
+ function ii() {
6597
+ return se(lt);
6534
6598
  }
6535
- function si({ children: e, onUpdate: r, type: n, element: t, enabled: s }) {
6536
- let o = ni(), a = F((...l) => {
6599
+ function li({ children: e, onUpdate: r, type: n, element: t, enabled: s }) {
6600
+ let o = ii(), a = W((...l) => {
6537
6601
  r == null || r(...l), o(...l);
6538
6602
  });
6539
- return K(() => {
6603
+ return ee(() => {
6540
6604
  let l = s === void 0 || s === !0;
6541
6605
  return l && a(0, n, t), () => {
6542
6606
  l && a(1, n, t);
6543
6607
  };
6544
- }, [a, n, t, s]), w.createElement(lt.Provider, { value: a }, e);
6608
+ }, [a, n, t, s]), k.createElement(lt.Provider, { value: a }, e);
6545
6609
  }
6546
6610
  function fr() {
6547
- let e = A(!1);
6548
- return K(() => (e.current = !0, () => {
6611
+ let e = P(!1);
6612
+ return ee(() => (e.current = !0, () => {
6549
6613
  e.current = !1;
6550
6614
  }), []), e;
6551
6615
  }
6552
6616
  var sr = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(sr || {});
6553
- function oi() {
6554
- let e = A(0);
6555
- return on("keydown", (r) => {
6617
+ function di() {
6618
+ let e = P(0);
6619
+ return an("keydown", (r) => {
6556
6620
  r.key === "Tab" && (e.current = r.shiftKey ? 1 : 0);
6557
6621
  }, !0), e;
6558
6622
  }
6559
- function fn(e) {
6623
+ function pn(e) {
6560
6624
  if (!e)
6561
6625
  return /* @__PURE__ */ new Set();
6562
6626
  if (typeof e == "function")
@@ -6566,60 +6630,60 @@ function fn(e) {
6566
6630
  n.current instanceof HTMLElement && r.add(n.current);
6567
6631
  return r;
6568
6632
  }
6569
- let ai = "div";
6633
+ let ci = "div";
6570
6634
  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 || {});
6571
- function ii(e, r) {
6572
- let n = A(null), t = ke(n, r), { initialFocus: s, initialFocusFallback: o, containers: a, features: l = 30, ...c } = e;
6635
+ function ui(e, r) {
6636
+ let n = P(null), t = ke(n, r), { initialFocus: s, initialFocusFallback: o, containers: a, features: l = 30, ...c } = e;
6573
6637
  ur() || (l = 1);
6574
6638
  let f = cr(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 = F((x) => {
6579
- let k = n.current;
6580
- k && ((j) => j())(() => {
6581
- U(p.current, { [sr.Forwards]: () => {
6582
- lr(k, Me.First, { skipElements: [x.relatedTarget, o] });
6639
+ mi({ ownerDocument: f }, !!(l & 16));
6640
+ let u = gi({ ownerDocument: f, container: n, initialFocus: s, initialFocusFallback: o }, l);
6641
+ bi({ ownerDocument: f, container: n, containers: a, previousActiveElement: u }, !!(l & 8));
6642
+ let p = di(), m = W((v) => {
6643
+ let w = n.current;
6644
+ w && ((j) => j())(() => {
6645
+ q(p.current, { [sr.Forwards]: () => {
6646
+ lr(w, Me.First, { skipElements: [v.relatedTarget, o] });
6583
6647
  }, [sr.Backwards]: () => {
6584
- lr(k, Me.Last, { skipElements: [x.relatedTarget, o] });
6648
+ lr(w, Me.Last, { skipElements: [v.relatedTarget, o] });
6585
6649
  } });
6586
6650
  });
6587
- }), b = nt(), v = A(!1), C = { ref: t, onKeyDown(x) {
6588
- x.key == "Tab" && (v.current = !0, b.requestAnimationFrame(() => {
6589
- v.current = !1;
6651
+ }), b = nt(), x = P(!1), C = { ref: t, onKeyDown(v) {
6652
+ v.key == "Tab" && (x.current = !0, b.requestAnimationFrame(() => {
6653
+ x.current = !1;
6590
6654
  }));
6591
- }, onBlur(x) {
6655
+ }, onBlur(v) {
6592
6656
  if (!(l & 8))
6593
6657
  return;
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)));
6658
+ let w = pn(a);
6659
+ n.current instanceof HTMLElement && w.add(n.current);
6660
+ let j = v.relatedTarget;
6661
+ j instanceof HTMLElement && j.dataset.headlessuiFocusGuard !== "true" && (hn(w, j) || (x.current ? lr(n.current, q(p.current, { [sr.Forwards]: () => Me.Next, [sr.Backwards]: () => Me.Previous }) | Me.WrapAround, { relativeTo: v.target }) : v.target instanceof HTMLElement && Ne(v.target)));
6598
6662
  } };
6599
- return w.createElement(w.Fragment, null, !!(l & 4) && w.createElement(Dr, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: m, features: wr.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: wr.Focusable }));
6663
+ return k.createElement(k.Fragment, null, !!(l & 4) && k.createElement(Dr, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: m, features: kr.Focusable }), ve({ ourProps: C, theirProps: c, defaultTag: ci, name: "FocusTrap" }), !!(l & 4) && k.createElement(Dr, { as: "button", type: "button", "data-headlessui-focus-guard": !0, onFocus: m, features: kr.Focusable }));
6600
6664
  }
6601
- let li = ue(ii), di = Object.assign(li, { features: $e });
6602
- function ci(e = !0) {
6603
- let r = A(Fe.slice());
6665
+ let fi = pe(ui), pi = Object.assign(fi, { features: $e });
6666
+ function hi(e = !0) {
6667
+ let r = P(Fe.slice());
6604
6668
  return ot(([n], [t]) => {
6605
6669
  t === !0 && n === !1 && Er(() => {
6606
6670
  r.current.splice(0);
6607
6671
  }), t === !1 && n === !0 && (r.current = Fe.slice());
6608
- }, [e, Fe, r]), F(() => {
6672
+ }, [e, Fe, r]), W(() => {
6609
6673
  var n;
6610
6674
  return (n = r.current.find((t) => t != null && t.isConnected)) != null ? n : null;
6611
6675
  });
6612
6676
  }
6613
- function ui({ ownerDocument: e }, r) {
6614
- let n = ci(r);
6677
+ function mi({ ownerDocument: e }, r) {
6678
+ let n = hi(r);
6615
6679
  ot(() => {
6616
6680
  r || (e == null ? void 0 : e.activeElement) === (e == null ? void 0 : e.body) && Ne(n());
6617
- }, [r]), ln(() => {
6681
+ }, [r]), dn(() => {
6618
6682
  r && Ne(n());
6619
6683
  });
6620
6684
  }
6621
- function fi({ ownerDocument: e, container: r, initialFocus: n, initialFocusFallback: t }, s) {
6622
- let o = !!(s & 2), a = A(null), l = fr();
6685
+ function gi({ ownerDocument: e, container: r, initialFocus: n, initialFocusFallback: t }, s) {
6686
+ let o = !!(s & 2), a = P(null), l = fr();
6623
6687
  return ot(() => {
6624
6688
  if (!o) {
6625
6689
  t != null && t.current && Ne(t.current);
@@ -6655,100 +6719,100 @@ function fi({ ownerDocument: e, container: r, initialFocus: n, initialFocusFallb
6655
6719
  });
6656
6720
  }, [t, o, s]), a;
6657
6721
  }
6658
- function pi({ ownerDocument: e, container: r, containers: n, previousActiveElement: t }, s) {
6722
+ function bi({ ownerDocument: e, container: r, containers: n, previousActiveElement: t }, s) {
6659
6723
  let o = fr();
6660
- an(e == null ? void 0 : e.defaultView, "focus", (a) => {
6724
+ ln(e == null ? void 0 : e.defaultView, "focus", (a) => {
6661
6725
  if (!s || !o.current)
6662
6726
  return;
6663
- let l = fn(n);
6727
+ let l = pn(n);
6664
6728
  r.current instanceof HTMLElement && l.add(r.current);
6665
6729
  let c = t.current;
6666
6730
  if (!c)
6667
6731
  return;
6668
6732
  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);
6733
+ f && f instanceof HTMLElement ? hn(l, f) ? (t.current = f, Ne(f)) : (a.preventDefault(), a.stopPropagation(), Ne(c)) : Ne(t.current);
6670
6734
  }, !0);
6671
6735
  }
6672
- function pn(e, r) {
6736
+ function hn(e, r) {
6673
6737
  for (let n of e)
6674
6738
  if (n.contains(r))
6675
6739
  return !0;
6676
6740
  return !1;
6677
6741
  }
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) {
6742
+ var vi = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(vi || {}), xi = ((e) => (e[e.SetTitleId = 0] = "SetTitleId", e))(xi || {});
6743
+ let Ci = { 0(e, r) {
6680
6744
  return e.titleId === r.id ? e : { ...e, titleId: r.id };
6681
- } }, yr = ce(null);
6745
+ } }, yr = fe(null);
6682
6746
  yr.displayName = "DialogContext";
6683
6747
  function dt(e) {
6684
- let r = re(yr);
6748
+ let r = se(yr);
6685
6749
  if (r === null) {
6686
6750
  let n = new Error(`<${e} /> is missing a parent <Dialog /> component.`);
6687
6751
  throw Error.captureStackTrace && Error.captureStackTrace(n, dt), n;
6688
6752
  }
6689
6753
  return r;
6690
6754
  }
6691
- function bi(e, r) {
6692
- return U(r.type, gi, e, r);
6755
+ function wi(e, r) {
6756
+ return q(r.type, Ci, e, r);
6693
6757
  }
6694
- let vi = "div", xi = kr.RenderStrategy | kr.Static;
6695
- function Ci(e, r) {
6696
- let n = jr(), { 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 = A(!1);
6758
+ let ki = "div", yi = wr.RenderStrategy | wr.Static;
6759
+ function ji(e, r) {
6760
+ let n = jr(), { id: t = `headlessui-dialog-${n}`, open: s, onClose: o, initialFocus: a, role: l = "dialog", autoFocus: c = !0, __demoMode: f = !1, ...u } = e, [p, m] = X(0), b = P(!1);
6697
6761
  l = function() {
6698
6762
  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");
6699
6763
  }();
6700
- let v = it();
6701
- s === void 0 && v !== null && (s = (v & se.Open) === se.Open);
6702
- let C = A(null), x = ke(C, r), k = cr(C), j = e.hasOwnProperty("open") || v !== null, fe = e.hasOwnProperty("onClose");
6703
- if (!j && !fe)
6764
+ let x = it();
6765
+ s === void 0 && x !== null && (s = (x & le.Open) === le.Open);
6766
+ let C = P(null), v = ke(C, r), w = cr(C), j = e.hasOwnProperty("open") || x !== null, oe = e.hasOwnProperty("onClose");
6767
+ if (!j && !oe)
6704
6768
  throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");
6705
6769
  if (!j)
6706
6770
  throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");
6707
- if (!fe)
6771
+ if (!oe)
6708
6772
  throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");
6709
6773
  if (typeof s != "boolean")
6710
6774
  throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${s}`);
6711
6775
  if (typeof o != "function")
6712
6776
  throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o}`);
6713
- let R = s ? 0 : 1, [Z, we] = Yn(bi, { titleId: null, descriptionId: null, panelRef: qn() }), J = F(() => o(!1)), Y = F((W) => we({ type: 0, id: W })), X = ur() ? R === 0 : !1, te = p > 1, ie = re(yr) !== 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: F(() => {
6718
- var W, xe;
6719
- return [(xe = (W = C.current) == null ? void 0 : W.closest("[data-headlessui-portal]")) != null ? xe : null];
6720
- }), disallowed: F(() => {
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();
6725
- }, !(!X || te));
6726
- let Q = !(te || R !== 0);
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 || R !== 0 || ie), G), tn(C, J, R === 0);
6730
- let [ne, Ke] = ma(), ee = ae(() => [{ dialogState: R, close: J, setTitleId: Y }, Z], [R, Z, J, Y]), B = ae(() => ({ open: R === 0 }), [R]), H = { ref: x, id: t, role: l, tabIndex: -1, "aria-modal": R === 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: R === 0, element: C, onUpdate: F((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(yr.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: R === 0, name: "Dialog" })))))))))), w.createElement(pa, null, w.createElement(ve, null)));
6734
- }
6735
- let ki = "div";
6736
- function wi(e, r) {
6737
- let n = jr(), { 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 = F((u) => {
6777
+ let T = s ? 0 : 1, [U, he] = qn(wi, { titleId: null, descriptionId: null, panelRef: Kn() }), S = W(() => o(!1)), F = W((I) => he({ type: 0, id: I })), _ = ur() ? T === 0 : !1, K = p > 1, ae = se(yr) !== null, [$, V] = ti(), H = { get current() {
6778
+ var I;
6779
+ return (I = U.panelRef.current) != null ? I : C.current;
6780
+ } }, { resolveContainers: J, mainTreeNodeRef: me, MainTreeNode: xe } = ai({ portals: $, defaultContainers: [H] }), ge = K ? "parent" : "leaf", Y = x !== null ? (x & le.Closing) === le.Closing : !1, ye = K || Y ? !1 : _;
6781
+ Ea({ allowed: W(() => {
6782
+ var I, Ce;
6783
+ return [(Ce = (I = C.current) == null ? void 0 : I.closest("[data-headlessui-portal]")) != null ? Ce : null];
6784
+ }), disallowed: W(() => {
6785
+ var I, Ce;
6786
+ return [(Ce = (I = me.current) == null ? void 0 : I.closest("body > *:not(#headlessui-portal-root)")) != null ? Ce : null];
6787
+ }) }, f ? !1 : ye), _a(J, (I) => {
6788
+ I.preventDefault(), S();
6789
+ }, !(!_ || K));
6790
+ let re = !(K || T !== 0);
6791
+ ln(w == null ? void 0 : w.defaultView, "keydown", (I) => {
6792
+ re && (I.defaultPrevented || I.key === tn.Escape && (I.preventDefault(), I.stopPropagation(), S()));
6793
+ }), Ga(w, f ? !1 : !(Y || T !== 0 || ae), J), nn(C, S, T === 0);
6794
+ let [ie, Ke] = xa(), te = de(() => [{ dialogState: T, close: S, setTitleId: F }, U], [T, U, S, F]), G = de(() => ({ open: T === 0 }), [T]), Z = { ref: v, id: t, role: l, tabIndex: -1, "aria-modal": T === 0 ? !0 : void 0, "aria-labelledby": U.titleId, "aria-describedby": ie }, Je = !oi(), je = _ ? q(ge, { parent: $e.RestoreFocus, leaf: $e.All & ~$e.FocusLock }) : $e.None;
6795
+ return c && (je |= $e.AutoFocus), Je || (je &= ~$e.InitialFocus), f && (je = $e.None), k.createElement(li, { type: "Dialog", enabled: T === 0, element: C, onUpdate: W((I, Ce) => {
6796
+ Ce === "Dialog" && q(I, { [Gr.Add]: () => m((Xe) => Xe + 1), [Gr.Remove]: () => m((Xe) => Xe - 1) });
6797
+ }) }, k.createElement(Pt, { force: !0 }, k.createElement(Ft, null, k.createElement(yr.Provider, { value: te }, k.createElement(Ft.Group, { target: C }, k.createElement(Pt, { force: !1 }, k.createElement(Ke, { slot: G, name: "Dialog.Description" }, k.createElement(V, null, k.createElement(pi, { initialFocus: a, initialFocusFallback: C, containers: J, features: je }, k.createElement(La, { value: S }, ve({ ourProps: Z, theirProps: u, slot: G, defaultTag: ki, features: yi, visible: T === 0, name: "Dialog" })))))))))), k.createElement(ba, null, k.createElement(xe, null)));
6798
+ }
6799
+ let Li = "div";
6800
+ function Ei(e, r) {
6801
+ let n = jr(), { id: t = `headlessui-dialog-panel-${n}`, ...s } = e, [{ dialogState: o }, a] = dt("Dialog.Panel"), l = ke(r, a.panelRef), c = de(() => ({ open: o === 0 }), [o]), f = W((u) => {
6738
6802
  u.stopPropagation();
6739
6803
  });
6740
- return be({ ourProps: { ref: l, id: t, onClick: f }, theirProps: s, slot: c, defaultTag: ki, name: "Dialog.Panel" });
6804
+ return ve({ ourProps: { ref: l, id: t, onClick: f }, theirProps: s, slot: c, defaultTag: Li, name: "Dialog.Panel" });
6741
6805
  }
6742
- let yi = "h2";
6743
- function ji(e, r) {
6806
+ let $i = "h2";
6807
+ function Mi(e, r) {
6744
6808
  let n = jr(), { id: t = `headlessui-dialog-title-${n}`, ...s } = e, [{ dialogState: o, setTitleId: a }] = dt("Dialog.Title"), l = ke(r);
6745
- oe(() => (a(t), () => a(null)), [t, a]);
6746
- let c = ae(() => ({ open: o === 0 }), [o]);
6747
- return be({ ourProps: { ref: l, id: t }, theirProps: s, slot: c, defaultTag: yi, name: "Dialog.Title" });
6809
+ ne(() => (a(t), () => a(null)), [t, a]);
6810
+ let c = de(() => ({ open: o === 0 }), [o]);
6811
+ return ve({ ourProps: { ref: l, id: t }, theirProps: s, slot: c, defaultTag: $i, name: "Dialog.Title" });
6748
6812
  }
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) {
6751
- let [r, n] = ge(e), t = fr(), s = gr((c) => {
6813
+ let Ni = pe(ji), mn = pe(Ei), Ti = pe(Mi), Si = Object.assign(Ni, { Panel: mn, Title: Ti, Description: ya });
6814
+ function Ri(e = 0) {
6815
+ let [r, n] = X(e), t = fr(), s = gr((c) => {
6752
6816
  t.current && n((f) => f | c);
6753
6817
  }, [r, t]), o = gr((c) => !!(r & c), [r]), a = gr((c) => {
6754
6818
  t.current && n((f) => f & ~c);
@@ -6757,7 +6821,7 @@ function Mi(e = 0) {
6757
6821
  }, [n]);
6758
6822
  return { flags: r, addFlag: s, hasFlag: o, removeFlag: a, toggleFlag: l };
6759
6823
  }
6760
- function mn(e) {
6824
+ function gn(e) {
6761
6825
  let r = { called: !1 };
6762
6826
  return (...n) => {
6763
6827
  if (!r.called)
@@ -6770,8 +6834,8 @@ function Wr(e, ...r) {
6770
6834
  function _r(e, ...r) {
6771
6835
  e && r.length > 0 && e.classList.remove(...r);
6772
6836
  }
6773
- function Ni(e, r) {
6774
- let n = mn(r), t = We();
6837
+ function Ai(e, r) {
6838
+ let n = gn(r), t = We();
6775
6839
  if (!e)
6776
6840
  return t.dispose;
6777
6841
  let { transitionDuration: s, transitionDelay: o } = getComputedStyle(e), [a, l] = [s, o].map((f) => {
@@ -6796,18 +6860,18 @@ function Ni(e, r) {
6796
6860
  n();
6797
6861
  return t.dispose;
6798
6862
  }
6799
- function Ti(e, { direction: r, done: n, classes: t, inFlight: s }) {
6800
- let o = We(), a = n !== void 0 ? mn(n) : () => {
6863
+ function Pi(e, { direction: r, done: n, classes: t, inFlight: s }) {
6864
+ let o = We(), a = n !== void 0 ? gn(n) : () => {
6801
6865
  };
6802
6866
  r === "enter" && (e.removeAttribute("hidden"), e.style.display = "");
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() {
6867
+ let l = q(r, { enter: () => t.enter, leave: () => t.leave }), c = q(r, { enter: () => t.enterTo, leave: () => t.leaveTo }), f = q(r, { enter: () => t.enterFrom, leave: () => t.leaveFrom });
6868
+ return Fi(e, { prepare() {
6805
6869
  _r(e, ...t.base, ...t.enter, ...t.enterTo, ...t.enterFrom, ...t.leave, ...t.leaveFrom, ...t.leaveTo, ...t.entered), Wr(e, ...t.base, ...l, ...f);
6806
6870
  }, inFlight: s }), s && (s.current = !0), o.nextFrame(() => {
6807
- o.add(Ni(e, () => (_r(e, ...t.base, ...l), Wr(e, ...t.base, ...t.entered, ...c), s && (s.current = !1), a()))), _r(e, ...t.base, ...l, ...f), Wr(e, ...t.base, ...l, ...c);
6871
+ o.add(Ai(e, () => (_r(e, ...t.base, ...l), Wr(e, ...t.base, ...t.entered, ...c), s && (s.current = !1), a()))), _r(e, ...t.base, ...l, ...f), Wr(e, ...t.base, ...l, ...c);
6808
6872
  }), o.dispose;
6809
6873
  }
6810
- function Si(e, { inFlight: r, prepare: n }) {
6874
+ function Fi(e, { inFlight: r, prepare: n }) {
6811
6875
  if (r != null && r.current) {
6812
6876
  n();
6813
6877
  return;
@@ -6815,14 +6879,14 @@ function Si(e, { inFlight: r, prepare: n }) {
6815
6879
  let t = e.style.transition;
6816
6880
  e.style.transition = "none", n(), e.offsetHeight, e.style.transition = t;
6817
6881
  }
6818
- function Ri({ container: e, direction: r, classes: n, onStart: t, onStop: s }) {
6819
- let o = fr(), a = nt(), l = A(!1);
6820
- K(() => {
6882
+ function Oi({ container: e, direction: r, classes: n, onStart: t, onStop: s }) {
6883
+ let o = fr(), a = nt(), l = P(!1);
6884
+ ee(() => {
6821
6885
  if (r === "idle" || !o.current)
6822
6886
  return;
6823
6887
  t.current(r);
6824
6888
  let c = e.current;
6825
- return c ? a.add(Ti(c, { direction: r, classes: n.current, inFlight: l, done() {
6889
+ return c ? a.add(Pi(c, { direction: r, classes: n.current, inFlight: l, done() {
6826
6890
  s.current(r);
6827
6891
  } })) : s.current(r), a.dispose;
6828
6892
  }, [r]);
@@ -6830,132 +6894,132 @@ function Ri({ container: e, direction: r, classes: n, onStart: t, onStop: s }) {
6830
6894
  function Pe(e = "") {
6831
6895
  return e.split(/\s+/).filter((r) => r.length > 1);
6832
6896
  }
6833
- function gn(e) {
6897
+ function bn(e) {
6834
6898
  var r;
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;
6899
+ return !!(e.enter || e.enterFrom || e.enterTo || e.leave || e.leaveFrom || e.leaveTo) || ((r = e.as) != null ? r : xn) !== ue || k.Children.count(e.children) === 1;
6836
6900
  }
6837
- let $r = ce(null);
6901
+ let $r = fe(null);
6838
6902
  $r.displayName = "TransitionContext";
6839
- var Ai = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(Ai || {});
6840
- function Pi() {
6841
- let e = re($r);
6903
+ var Wi = ((e) => (e.Visible = "visible", e.Hidden = "hidden", e))(Wi || {});
6904
+ function _i() {
6905
+ let e = se($r);
6842
6906
  if (e === null)
6843
6907
  throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
6844
6908
  return e;
6845
6909
  }
6846
- function Fi() {
6847
- let e = re(Mr);
6910
+ function Vi() {
6911
+ let e = se(Mr);
6848
6912
  if (e === null)
6849
6913
  throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");
6850
6914
  return e;
6851
6915
  }
6852
- let Mr = ce(null);
6916
+ let Mr = fe(null);
6853
6917
  Mr.displayName = "NestingContext";
6854
6918
  function Nr(e) {
6855
6919
  return "children" in e ? Nr(e.children) : e.current.filter(({ el: r }) => r.current !== null).filter(({ state: r }) => r === "visible").length > 0;
6856
6920
  }
6857
- function bn(e, r) {
6858
- let n = Ce(e), t = A([]), s = fr(), o = nt(), a = F((b, v = Oe.Hidden) => {
6859
- let C = t.current.findIndex(({ el: x }) => x === b);
6860
- C !== -1 && (U(v, { [Oe.Unmount]() {
6921
+ function vn(e, r) {
6922
+ let n = we(e), t = P([]), s = fr(), o = nt(), a = W((b, x = Oe.Hidden) => {
6923
+ let C = t.current.findIndex(({ el: v }) => v === b);
6924
+ C !== -1 && (q(x, { [Oe.Unmount]() {
6861
6925
  t.current.splice(C, 1);
6862
6926
  }, [Oe.Hidden]() {
6863
6927
  t.current[C].state = "hidden";
6864
6928
  } }), o.microTask(() => {
6865
- var x;
6866
- !Nr(t) && s.current && ((x = n.current) == null || x.call(n));
6929
+ var v;
6930
+ !Nr(t) && s.current && ((v = n.current) == null || v.call(n));
6867
6931
  }));
6868
- }), l = F((b) => {
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 = A([]), f = A(Promise.resolve()), u = A({ enter: [], leave: [], idle: [] }), p = F((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 = F((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));
6932
+ }), l = W((b) => {
6933
+ let x = t.current.find(({ el: C }) => C === b);
6934
+ return x ? x.state !== "visible" && (x.state = "visible") : t.current.push({ el: b, state: "visible" }), () => a(b, Oe.Unmount);
6935
+ }), c = P([]), f = P(Promise.resolve()), u = P({ enter: [], leave: [], idle: [] }), p = W((b, x, C) => {
6936
+ c.current.splice(0), r && (r.chains.current[x] = r.chains.current[x].filter(([v]) => v !== b)), r == null || r.chains.current[x].push([b, new Promise((v) => {
6937
+ c.current.push(v);
6938
+ })]), r == null || r.chains.current[x].push([b, new Promise((v) => {
6939
+ Promise.all(u.current[x].map(([w, j]) => j)).then(() => v());
6940
+ })]), x === "enter" ? f.current = f.current.then(() => r == null ? void 0 : r.wait.current).then(() => C(x)) : C(x);
6941
+ }), m = W((b, x, C) => {
6942
+ Promise.all(u.current[x].splice(0).map(([v, w]) => w)).then(() => {
6943
+ var v;
6944
+ (v = c.current.shift()) == null || v();
6945
+ }).then(() => C(x));
6882
6946
  });
6883
- return ae(() => ({ children: t, register: l, unregister: a, onStart: p, onStop: m, wait: f, chains: u }), [l, a, t, p, m, u, f]);
6947
+ return de(() => ({ children: t, register: l, unregister: a, onStart: p, onStop: m, wait: f, chains: u }), [l, a, t, p, m, u, f]);
6884
6948
  }
6885
- let vn = de, xn = kr.RenderStrategy;
6886
- function Oi(e, r) {
6949
+ let xn = ue, Cn = wr.RenderStrategy;
6950
+ function Ii(e, r) {
6887
6951
  var n, t, s;
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 = A(null), j = gn(e), fe = ke(...j ? [k, r] : r === null ? [] : [r]), R = (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 (R === Oe.Hidden && k.current) {
6891
- if (Z && Y !== "visible") {
6892
- X("visible");
6952
+ let { beforeEnter: o, afterEnter: a, beforeLeave: l, afterLeave: c, enter: f, enterFrom: u, enterTo: p, entered: m, leave: b, leaveFrom: x, leaveTo: C, ...v } = e, w = P(null), j = bn(e), oe = ke(...j ? [w, r] : r === null ? [] : [r]), T = (n = v.unmount) == null || n ? Oe.Unmount : Oe.Hidden, { show: U, appear: he, initial: S } = _i(), [F, _] = X(U ? "visible" : "hidden"), K = Vi(), { register: ae, unregister: $ } = K;
6953
+ ee(() => ae(w), [ae, w]), ee(() => {
6954
+ if (T === Oe.Hidden && w.current) {
6955
+ if (U && F !== "visible") {
6956
+ _("visible");
6893
6957
  return;
6894
6958
  }
6895
- return U(Y, { hidden: () => $(k), visible: () => ie(k) });
6959
+ return q(F, { hidden: () => $(w), visible: () => ae(w) });
6896
6960
  }
6897
- }, [Y, k, ie, $, Z, R]);
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 = ur();
6899
- K(() => {
6900
- if (j && G && Y === "visible" && k.current === null)
6961
+ }, [F, w, ae, $, U, T]);
6962
+ let V = we({ base: Pe(v.className), enter: Pe(f), enterFrom: Pe(u), enterTo: Pe(p), entered: Pe(m), leave: Pe(b), leaveFrom: Pe(x), leaveTo: Pe(C) }), H = we({ beforeEnter: o, afterEnter: a, beforeLeave: l, afterLeave: c }), J = ur();
6963
+ ee(() => {
6964
+ if (j && J && F === "visible" && w.current === null)
6901
6965
  throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
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 = F((ee) => U(ee, { enter: () => {
6904
- var B, H;
6905
- z.addFlag(se.Opening), (H = (B = V.current).beforeEnter) == null || H.call(B);
6966
+ }, [w, F, J, j]);
6967
+ let me = S && !he, xe = he && U && S, ge = xe ? "enter" : !J || me ? "idle" : U ? "enter" : "leave", Y = Ri(0), ye = W((te) => q(te, { enter: () => {
6968
+ var G, Z;
6969
+ Y.addFlag(le.Opening), (Z = (G = H.current).beforeEnter) == null || Z.call(G);
6906
6970
  }, leave: () => {
6907
- var B, H;
6908
- z.addFlag(se.Closing), (H = (B = V.current).beforeLeave) == null || H.call(B);
6971
+ var G, Z;
6972
+ Y.addFlag(le.Closing), (Z = (G = H.current).beforeLeave) == null || Z.call(G);
6909
6973
  }, idle: () => {
6910
- } })), me = F((ee) => U(ee, { enter: () => {
6911
- var B, H;
6912
- z.removeFlag(se.Opening), (H = (B = V.current).afterEnter) == null || H.call(B);
6974
+ } })), be = W((te) => q(te, { enter: () => {
6975
+ var G, Z;
6976
+ Y.removeFlag(le.Opening), (Z = (G = H.current).afterEnter) == null || Z.call(G);
6913
6977
  }, leave: () => {
6914
- var B, H;
6915
- z.removeFlag(se.Closing), (H = (B = V.current).afterLeave) == null || H.call(B);
6978
+ var G, Z;
6979
+ Y.removeFlag(le.Closing), (Z = (G = H.current).afterLeave) == null || Z.call(G);
6916
6980
  }, idle: () => {
6917
- } })), Q = A(!1), Se = bn(() => {
6918
- Q.current || (X("hidden"), $(k));
6919
- }, te);
6920
- Ri({ container: k, classes: O, direction: he, onStart: Ce((ee) => {
6921
- Q.current = !0, Se.onStart(k, ee, ye);
6922
- }), onStop: Ce((ee) => {
6923
- Q.current = !1, Se.onStop(k, ee, me), ee === "leave" && !Nr(Se) && (X("hidden"), $(k));
6981
+ } })), re = P(!1), Se = vn(() => {
6982
+ re.current || (_("hidden"), $(w));
6983
+ }, K);
6984
+ Oi({ container: w, classes: V, direction: ge, onStart: we((te) => {
6985
+ re.current = !0, Se.onStart(w, te, ye);
6986
+ }), onStop: we((te) => {
6987
+ re.current = !1, Se.onStop(w, te, be), te === "leave" && !Nr(Se) && (_("hidden"), $(w));
6924
6988
  }) });
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(Mr.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" })));
6989
+ let ie = v, Ke = { ref: oe };
6990
+ return xe ? ie = { ...ie, className: ar(v.className, ...V.current.enter, ...V.current.enterFrom) } : re.current ? (ie.className = ar(v.className, (t = w.current) == null ? void 0 : t.className), ie.className === "" && delete ie.className) : (ie.className = ar(v.className, (s = w.current) == null ? void 0 : s.className, ...q(ge, { enter: [...V.current.enterTo, ...V.current.entered], leave: V.current.leaveTo, idle: [] })), ie.className === "" && delete ie.className), k.createElement(Mr.Provider, { value: Se }, k.createElement(Za, { value: q(F, { visible: le.Open, hidden: le.Closed }) | Y.flags }, ve({ ourProps: Ke, theirProps: ie, defaultTag: xn, features: Cn, visible: F === "visible", name: "Transition.Child" })));
6927
6991
  }
6928
- function Wi(e, r) {
6929
- let { show: n, appear: t = !1, unmount: s = !0, ...o } = e, a = A(null), l = gn(e), c = ke(...l ? [a, r] : r === null ? [] : [r]);
6992
+ function Di(e, r) {
6993
+ let { show: n, appear: t = !1, unmount: s = !0, ...o } = e, a = P(null), l = bn(e), c = ke(...l ? [a, r] : r === null ? [] : [r]);
6930
6994
  ur();
6931
6995
  let f = it();
6932
- if (n === void 0 && f !== null && (n = (f & se.Open) === se.Open), n === void 0)
6996
+ if (n === void 0 && f !== null && (n = (f & le.Open) === le.Open), n === void 0)
6933
6997
  throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");
6934
- let [u, p] = ge(n ? "visible" : "hidden"), m = bn(() => {
6998
+ let [u, p] = X(n ? "visible" : "hidden"), m = vn(() => {
6935
6999
  n || p("hidden");
6936
- }), [b, v] = ge(!0), C = A([n]);
6937
- K(() => {
6938
- b !== !1 && C.current[C.current.length - 1] !== n && (C.current.push(n), v(!1));
7000
+ }), [b, x] = X(!0), C = P([n]);
7001
+ ee(() => {
7002
+ b !== !1 && C.current[C.current.length - 1] !== n && (C.current.push(n), x(!1));
6939
7003
  }, [C, n]);
6940
- let x = ae(() => ({ show: n, appear: t, initial: b }), [n, t, b]);
6941
- tn(a, () => p("hidden")), K(() => {
7004
+ let v = de(() => ({ show: n, appear: t, initial: b }), [n, t, b]);
7005
+ nn(a, () => p("hidden")), ee(() => {
6942
7006
  n ? p("visible") : !Nr(m) && a.current !== null && p("hidden");
6943
7007
  }, [n, m]);
6944
- let k = { unmount: s }, j = F(() => {
6945
- var R;
6946
- b && v(!1), (R = e.beforeEnter) == null || R.call(e);
6947
- }), fe = F(() => {
6948
- var R;
6949
- b && v(!1), (R = e.beforeLeave) == null || R.call(e);
7008
+ let w = { unmount: s }, j = W(() => {
7009
+ var T;
7010
+ b && x(!1), (T = e.beforeEnter) == null || T.call(e);
7011
+ }), oe = W(() => {
7012
+ var T;
7013
+ b && x(!1), (T = e.beforeLeave) == null || T.call(e);
6950
7014
  });
6951
- return w.createElement(Mr.Provider, { value: m }, w.createElement($r.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" })));
7015
+ return k.createElement(Mr.Provider, { value: m }, k.createElement($r.Provider, { value: v }, ve({ ourProps: { ...w, as: ue, children: k.createElement(wn, { ref: c, ...w, ...o, beforeEnter: j, beforeLeave: oe }) }, theirProps: {}, defaultTag: ue, features: Cn, visible: u === "visible", name: "Transition" })));
6952
7016
  }
6953
- function _i(e, r) {
6954
- let n = re($r) !== 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 }));
7017
+ function Bi(e, r) {
7018
+ let n = se($r) !== null, t = it() !== null;
7019
+ return k.createElement(k.Fragment, null, !n && t ? k.createElement(Zr, { ref: r, ...e }) : k.createElement(wn, { ref: r, ...e }));
6956
7020
  }
6957
- let Zr = ue(Wi), Cn = ue(Oi), Yr = ue(_i), Ii = Object.assign(Zr, { Child: Yr, Root: Zr });
6958
- const Vi = ({
7021
+ let Zr = pe(Di), wn = pe(Ii), Yr = pe(Bi), Hi = Object.assign(Zr, { Child: Yr, Root: Zr });
7022
+ const zi = ({
6959
7023
  open: e = !1,
6960
7024
  onClose: r,
6961
7025
  title: n = "",
@@ -6969,8 +7033,8 @@ const Vi = ({
6969
7033
  horizontalRule: u = !0
6970
7034
  }) => {
6971
7035
  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,
7036
+ return /* @__PURE__ */ i.jsx(Hi, { appear: !0, show: e, as: ue, children: /* @__PURE__ */ i.jsxs(
7037
+ Si,
6974
7038
  {
6975
7039
  as: "div",
6976
7040
  onClose: m,
@@ -6981,7 +7045,7 @@ const Vi = ({
6981
7045
  t !== "none" && /* @__PURE__ */ i.jsx(
6982
7046
  Yr,
6983
7047
  {
6984
- as: de,
7048
+ as: ue,
6985
7049
  enter: "ease-out duration-300",
6986
7050
  enterFrom: "opacity-0",
6987
7051
  enterTo: "opacity-100",
@@ -7000,14 +7064,14 @@ const Vi = ({
7000
7064
  /* @__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(
7001
7065
  Yr,
7002
7066
  {
7003
- as: de,
7067
+ as: ue,
7004
7068
  enter: "ease-out duration-300",
7005
7069
  enterFrom: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
7006
7070
  enterTo: "opacity-100 translate-y-0 sm:scale-100",
7007
7071
  leave: "ease-in duration-200",
7008
7072
  leaveFrom: "opacity-100 translate-y-0 sm:scale-100",
7009
7073
  leaveTo: "opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",
7010
- children: /* @__PURE__ */ i.jsxs(hn, { className: "ds-flex ds-max-h-[90vh] ds-min-w-full ds-max-w-full ds-transform ds-flex-col ds-overflow-y-scroll ds-rounded-lg ds-bg-neutrals-white ds-text-left ds-shadow-modal sm:ds-min-w-[15rem] sm:ds-max-w-[55%]", children: [
7074
+ children: /* @__PURE__ */ i.jsxs(mn, { className: "ds-flex ds-max-h-[90vh] ds-min-w-full ds-max-w-full ds-transform ds-flex-col ds-overflow-y-scroll ds-rounded-lg ds-bg-neutrals-white ds-text-left ds-shadow-modal sm:ds-min-w-[15rem] sm:ds-max-w-[55%]", children: [
7011
7075
  /* @__PURE__ */ i.jsxs(
7012
7076
  "div",
7013
7077
  {
@@ -7015,7 +7079,7 @@ const Vi = ({
7015
7079
  children: [
7016
7080
  a && /* @__PURE__ */ i.jsx("div", { className: "ds-mr-3", children: p() }),
7017
7081
  /* @__PURE__ */ i.jsx("div", { className: "ds-flex-grow", children: /* @__PURE__ */ i.jsx(
7018
- Jt,
7082
+ Xt,
7019
7083
  {
7020
7084
  text: n,
7021
7085
  headingTag: "h2",
@@ -7054,7 +7118,7 @@ const Vi = ({
7054
7118
  ]
7055
7119
  }
7056
7120
  ) });
7057
- }, _l = Vi, Di = S(
7121
+ }, Dl = zi, Ui = A(
7058
7122
  [
7059
7123
  "preflight",
7060
7124
  "ds-rounded-xl",
@@ -7096,7 +7160,7 @@ const Vi = ({
7096
7160
  }
7097
7161
  }
7098
7162
  }
7099
- ), Bi = ({
7163
+ ), Gi = ({
7100
7164
  label: e,
7101
7165
  type: r = "regular",
7102
7166
  color: n = "default",
@@ -7110,7 +7174,7 @@ const Vi = ({
7110
7174
  return /* @__PURE__ */ i.jsxs(
7111
7175
  "div",
7112
7176
  {
7113
- className: D(Di({ color: n, type: r }), o),
7177
+ className: z(Ui({ color: n, type: r }), o),
7114
7178
  "aria-label": c,
7115
7179
  ...l,
7116
7180
  children: [
@@ -7131,7 +7195,7 @@ const Vi = ({
7131
7195
  ]
7132
7196
  }
7133
7197
  );
7134
- }, Hi = Bi, zi = S(
7198
+ }, Zi = Gi, Yi = A(
7135
7199
  [
7136
7200
  "preflight",
7137
7201
  "ds-transition",
@@ -7180,7 +7244,7 @@ const Vi = ({
7180
7244
  }
7181
7245
  }
7182
7246
  }
7183
- ), Ui = ({
7247
+ ), qi = ({
7184
7248
  title: e,
7185
7249
  id: r,
7186
7250
  handleClick: n,
@@ -7190,8 +7254,8 @@ const Vi = ({
7190
7254
  className: a = "",
7191
7255
  ...l
7192
7256
  }) => {
7193
- const c = (f, u, p) => D(
7194
- zi({ isNested: f }),
7257
+ const c = (f, u, p) => z(
7258
+ Yi({ isNested: f }),
7195
7259
  u && !f && "!ds-border-b-acuity-green",
7196
7260
  u && f && "ds-bg-neutrals-white !ds-border-neutrals",
7197
7261
  p
@@ -7209,7 +7273,7 @@ const Vi = ({
7209
7273
  children: [
7210
7274
  e,
7211
7275
  o && /* @__PURE__ */ i.jsx(
7212
- Hi,
7276
+ Zi,
7213
7277
  {
7214
7278
  label: o,
7215
7279
  className: "ds-ml-2 ds-h-5 ds-bg-neutrals-white ds-text-neutrals-black"
@@ -7218,7 +7282,7 @@ const Vi = ({
7218
7282
  ]
7219
7283
  }
7220
7284
  );
7221
- }, Gi = ({ id: e, children: r, hidden: n }) => /* @__PURE__ */ i.jsx(
7285
+ }, Ki = ({ id: e, children: r, hidden: n }) => /* @__PURE__ */ i.jsx(
7222
7286
  "div",
7223
7287
  {
7224
7288
  role: "tabpanel",
@@ -7228,7 +7292,7 @@ const Vi = ({
7228
7292
  className: "preflight",
7229
7293
  children: r
7230
7294
  }
7231
- ), Zi = ({
7295
+ ), Ji = ({
7232
7296
  children: e,
7233
7297
  handleTabChange: r,
7234
7298
  activeTabIndex: n,
@@ -7236,13 +7300,13 @@ const Vi = ({
7236
7300
  className: s = "",
7237
7301
  ...o
7238
7302
  }) => {
7239
- const a = w.Children.toArray(e).filter(
7303
+ const a = k.Children.toArray(e).filter(
7240
7304
  (l) => {
7241
7305
  var c, f;
7242
- return w.isValidElement(l) && !!((c = l.props) != null && c.id) && !!((f = l.props) != null && f.title);
7306
+ return k.isValidElement(l) && !!((c = l.props) != null && c.id) && !!((f = l.props) != null && f.title);
7243
7307
  }
7244
7308
  );
7245
- return a.length < w.Children.toArray(e).length && console.error(
7309
+ return a.length < k.Children.toArray(e).length && console.error(
7246
7310
  "You can only pass <Tab> components with defined id and title as children of the <Tabs> component."
7247
7311
  ), /* @__PURE__ */ i.jsxs("div", { className: `prelight ${s}`, ...o, children: [
7248
7312
  /* @__PURE__ */ i.jsx(
@@ -7251,7 +7315,7 @@ const Vi = ({
7251
7315
  role: "tablist",
7252
7316
  className: `preflight ds-mb-5 ds-rounded ${t && "!ds-mb-4 ds-bg-neutrals-lighter ds-px-2"}`,
7253
7317
  children: a.map((l, c) => /* @__PURE__ */ i.jsx(
7254
- Ui,
7318
+ qi,
7255
7319
  {
7256
7320
  handleClick: () => r(c),
7257
7321
  isActive: n === c,
@@ -7264,7 +7328,7 @@ const Vi = ({
7264
7328
  }
7265
7329
  ),
7266
7330
  a.map((l, c) => /* @__PURE__ */ i.jsx(
7267
- Gi,
7331
+ Ki,
7268
7332
  {
7269
7333
  id: l.props.id,
7270
7334
  hidden: n !== c,
@@ -7273,7 +7337,7 @@ const Vi = ({
7273
7337
  `panel-${c}`
7274
7338
  ))
7275
7339
  ] });
7276
- }, Il = Zi, Yi = ({ children: e }) => e, Vl = Yi, qi = S(
7340
+ }, Bl = Ji, Xi = ({ children: e }) => e, Hl = Xi, Qi = A(
7277
7341
  [
7278
7342
  "preflight",
7279
7343
  "ds-form-label",
@@ -7294,17 +7358,17 @@ const Vi = ({
7294
7358
  }
7295
7359
  }
7296
7360
  }
7297
- ), Ki = (e) => D(qi(e)), Ji = ({
7361
+ ), el = (e) => z(Qi(e)), rl = ({
7298
7362
  id: e,
7299
7363
  state: r = "default",
7300
7364
  disabled: n = !1,
7301
7365
  htmlFor: t,
7302
7366
  value: s = "",
7303
7367
  optionalityLabel: o = ""
7304
- }) => /* @__PURE__ */ i.jsxs("label", { id: e, htmlFor: t, className: Ki({ state: r, disabled: n }), children: [
7368
+ }) => /* @__PURE__ */ i.jsxs("label", { id: e, htmlFor: t, className: el({ state: r, disabled: n }), children: [
7305
7369
  s,
7306
7370
  o && /* @__PURE__ */ i.jsx("span", { className: "ds-text-sm ds-text-neutrals-darker", children: ` (${o})` })
7307
- ] }), Xi = Ji, Qi = S(
7371
+ ] }), tl = rl, nl = A(
7308
7372
  ["preflight", "group", "ds-flex", "ds-flex-col", "ds-container"],
7309
7373
  {
7310
7374
  variants: {
@@ -7325,7 +7389,7 @@ const Vi = ({
7325
7389
  }
7326
7390
  ]
7327
7391
  }
7328
- ), el = (e) => D(Qi(e)), rl = S(["ds-form-label", "!ds-font-sans", "ds-text-base"], {
7392
+ ), sl = (e) => z(nl(e)), ol = A(["ds-form-label", "!ds-font-sans", "ds-text-base"], {
7329
7393
  variants: {
7330
7394
  state: {
7331
7395
  default: ["ds-text-neutrals-black", "ds-mt-2"],
@@ -7343,7 +7407,7 @@ const Vi = ({
7343
7407
  true: "!ds-text-neutrals-dark"
7344
7408
  }
7345
7409
  }
7346
- }), tl = (e) => D(rl(e)), nl = ({
7410
+ }), al = (e) => z(ol(e)), il = ({
7347
7411
  id: e,
7348
7412
  state: r = "default",
7349
7413
  disabled: n = !1,
@@ -7372,9 +7436,9 @@ const Vi = ({
7372
7436
  break;
7373
7437
  }
7374
7438
  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: [
7439
+ return /* @__PURE__ */ i.jsxs("div", { className: z(sl({ state: r, hasMarginBottom: u }), f), children: [
7376
7440
  t && /* @__PURE__ */ i.jsx(
7377
- Xi,
7441
+ tl,
7378
7442
  {
7379
7443
  id: m,
7380
7444
  htmlFor: e,
@@ -7383,7 +7447,7 @@ const Vi = ({
7383
7447
  disabled: n
7384
7448
  }
7385
7449
  ),
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)) }),
7450
+ 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((x, C) => /* @__PURE__ */ i.jsx("li", { className: "ds-list-disc ds-text-neutrals-dark", children: x }, C)) }),
7387
7451
  o && o.length === 1 && /* @__PURE__ */ i.jsx("p", { id: b, className: "ds-mt-2 ds-pb-1 ds-text-neutrals-dark", children: o }),
7388
7452
  /* @__PURE__ */ i.jsxs("div", { className: "ds-mt-2 ds-flex ds-gap-2", children: [
7389
7453
  /* @__PURE__ */ i.jsx("div", { className: c ? "" : "ds-w-[calc(100%-2rem)]", children: l }),
@@ -7397,12 +7461,12 @@ const Vi = ({
7397
7461
  }
7398
7462
  ) })
7399
7463
  ] }),
7400
- p && /* @__PURE__ */ i.jsx("p", { className: tl({ state: r }), children: a })
7464
+ p && /* @__PURE__ */ i.jsx("p", { className: al({ state: r }), children: a })
7401
7465
  ] });
7402
- }, ct = nl, sl = S(
7466
+ }, ct = il, ll = A(
7403
7467
  ["preflight", "ds-form-input", "ds-rounded", "ds-p-2", "!ds-border", "!ds-font-sans"],
7404
7468
  rt
7405
- ), ol = (e) => D(sl(e)), al = ({
7469
+ ), dl = (e) => z(ll(e)), cl = ({
7406
7470
  state: e = "default",
7407
7471
  rows: r = 2,
7408
7472
  cols: n = 50,
@@ -7416,13 +7480,13 @@ const Vi = ({
7416
7480
  rows: r,
7417
7481
  cols: n,
7418
7482
  readOnly: s,
7419
- className: ol({ disabled: s, state: e }),
7483
+ className: dl({ disabled: s, state: e }),
7420
7484
  style: {
7421
7485
  resize: t ? "both" : "none"
7422
7486
  },
7423
7487
  ...o
7424
7488
  }
7425
- ), il = al, ll = ({
7489
+ ), ul = cl, fl = ({
7426
7490
  id: e,
7427
7491
  state: r = "default",
7428
7492
  label: n,
@@ -7450,7 +7514,7 @@ const Vi = ({
7450
7514
  className: u,
7451
7515
  hasMarginBottom: p,
7452
7516
  child: /* @__PURE__ */ i.jsx(
7453
- il,
7517
+ ul,
7454
7518
  {
7455
7519
  id: e,
7456
7520
  "aria-labelledby": n ? "label_" + e : void 0,
@@ -7464,7 +7528,7 @@ const Vi = ({
7464
7528
  }
7465
7529
  )
7466
7530
  }
7467
- ), Dl = ll, dl = S(
7531
+ ), zl = fl, pl = A(
7468
7532
  [
7469
7533
  "preflight",
7470
7534
  "ds-form-input",
@@ -7476,7 +7540,7 @@ const Vi = ({
7476
7540
  "ds-container"
7477
7541
  ],
7478
7542
  rt
7479
- ), cl = (e) => D(dl(e)), ul = ({
7543
+ ), hl = (e) => z(pl(e)), ml = ({
7480
7544
  state: e = "default",
7481
7545
  disabled: r = !1,
7482
7546
  type: n = "text",
@@ -7487,10 +7551,10 @@ const Vi = ({
7487
7551
  "aria-disabled": r,
7488
7552
  readOnly: r,
7489
7553
  type: n,
7490
- className: cl({ disabled: r, state: e }),
7554
+ className: hl({ disabled: r, state: e }),
7491
7555
  ...t
7492
7556
  }
7493
- ), fl = ul, pl = ({
7557
+ ), gl = ml, bl = ({
7494
7558
  id: e,
7495
7559
  state: r = "default",
7496
7560
  disabled: n = !1,
@@ -7515,7 +7579,7 @@ const Vi = ({
7515
7579
  className: c,
7516
7580
  hasMarginBottom: f,
7517
7581
  child: /* @__PURE__ */ i.jsx(
7518
- fl,
7582
+ gl,
7519
7583
  {
7520
7584
  id: e,
7521
7585
  "aria-labelledby": s ? "label_" + e : void 0,
@@ -7527,7 +7591,7 @@ const Vi = ({
7527
7591
  }
7528
7592
  )
7529
7593
  }
7530
- ), Bl = pl, hl = S(
7594
+ ), Ul = bl, vl = A(
7531
7595
  [
7532
7596
  "preflight",
7533
7597
  "ds-form-select",
@@ -7540,29 +7604,29 @@ const Vi = ({
7540
7604
  "ds-bg-[center_right_0.25rem]"
7541
7605
  ],
7542
7606
  rt
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 = ({
7607
+ ), xl = (e) => vl(e), Cl = `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>')`, wl = ({
7544
7608
  state: e = "default",
7545
7609
  disabled: r = !1,
7546
7610
  className: n = "",
7547
7611
  ...t
7548
7612
  }) => {
7549
7613
  let s = t.children;
7550
- return r && (s = (w.isValidElement(t.children) ? w.Children.toArray(
7614
+ return r && (s = (k.isValidElement(t.children) ? k.Children.toArray(
7551
7615
  t.children.props.children
7552
- ) : w.Children.toArray(t.children)).map((a) => w.isValidElement(a) ? w.cloneElement(a, {
7616
+ ) : k.Children.toArray(t.children)).map((a) => k.isValidElement(a) ? k.cloneElement(a, {
7553
7617
  disabled: !0
7554
7618
  }) : a)), /* @__PURE__ */ i.jsx(
7555
7619
  "select",
7556
7620
  {
7557
7621
  "aria-readonly": r,
7558
7622
  tabIndex: r ? -1 : 0,
7559
- style: { backgroundImage: gl },
7560
- className: D(ml({ disabled: r, state: e }), n),
7623
+ style: { backgroundImage: Cl },
7624
+ className: z(xl({ disabled: r, state: e }), n),
7561
7625
  ...t,
7562
7626
  children: s
7563
7627
  }
7564
7628
  );
7565
- }, vl = bl, xl = ({
7629
+ }, kl = wl, yl = ({
7566
7630
  id: e,
7567
7631
  state: r = "default",
7568
7632
  disabled: n = !1,
@@ -7586,7 +7650,7 @@ const Vi = ({
7586
7650
  className: l,
7587
7651
  hasMarginBottom: c,
7588
7652
  child: /* @__PURE__ */ i.jsx(
7589
- vl,
7653
+ kl,
7590
7654
  {
7591
7655
  id: e,
7592
7656
  "aria-labelledby": t ? "label_" + e : void 0,
@@ -7597,14 +7661,14 @@ const Vi = ({
7597
7661
  }
7598
7662
  )
7599
7663
  }
7600
- ), Hl = xl, Cl = S("ds-overflow-hidden ds-bg-neutrals-light", {
7664
+ ), Gl = yl, jl = A("ds-overflow-hidden ds-bg-neutrals-light", {
7601
7665
  variants: {
7602
7666
  size: {
7603
7667
  small: ["ds-h-2", "ds-rounded-sm"],
7604
7668
  large: ["ds-h-4", "ds-rounded"]
7605
7669
  }
7606
7670
  }
7607
- }), kl = S("", {
7671
+ }), Ll = A("", {
7608
7672
  variants: {
7609
7673
  size: {
7610
7674
  small: ["ds-h-2", "ds-rounded-sm"],
@@ -7617,7 +7681,7 @@ const Vi = ({
7617
7681
  indeterminate: ["ds-bg-acuity-blue", "ds-animate-progress"]
7618
7682
  }
7619
7683
  }
7620
- }), wl = S(
7684
+ }), El = A(
7621
7685
  "ds-w-[3rem] ds-justify-end ds-flex ds-items-center ds-text-neutrals-dark",
7622
7686
  {
7623
7687
  variants: {
@@ -7627,7 +7691,7 @@ const Vi = ({
7627
7691
  }
7628
7692
  }
7629
7693
  }
7630
- ), yl = S("ds-text-sm", {
7694
+ ), $l = A("ds-text-sm", {
7631
7695
  variants: {
7632
7696
  state: {
7633
7697
  error: "ds-text-danger-red",
@@ -7636,7 +7700,7 @@ const Vi = ({
7636
7700
  "in-progress": "ds-text-neutrals-dark"
7637
7701
  }
7638
7702
  }
7639
- }), jl = ({
7703
+ }), Ml = ({
7640
7704
  size: e = "large",
7641
7705
  label: r = "",
7642
7706
  helperMessage: n = "",
@@ -7687,13 +7751,13 @@ const Vi = ({
7687
7751
  /* @__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]" }),
7688
7752
  /* @__PURE__ */ i.jsx("div", { className: "ds-h-[3px] ds-w-[3px] ds-animate-blink ds-rounded-full ds-bg-neutrals-black" })
7689
7753
  ] }) : null;
7690
- return /* @__PURE__ */ i.jsxs("div", { className: D("preflight ds-min-w-[4.875rem]", t), ...c, children: [
7754
+ return /* @__PURE__ */ i.jsxs("div", { className: z("preflight ds-min-w-[4.875rem]", t), ...c, children: [
7691
7755
  /* @__PURE__ */ i.jsxs("div", { className: "ds-flex ds-h-5 ds-items-center ds-justify-between", children: [
7692
7756
  /* @__PURE__ */ i.jsxs("div", { className: "progress-bar-label ds-flex ds-max-w-[calc(100%-3rem)] ds-overflow-hidden", children: [
7693
7757
  /* @__PURE__ */ i.jsx("p", { className: "ds-overflow-hidden ds-text-nowrap", children: r }),
7694
7758
  p()
7695
7759
  ] }),
7696
- /* @__PURE__ */ i.jsx("div", { "aria-hidden": !0, className: wl({ size: e }), children: u() })
7760
+ /* @__PURE__ */ i.jsx("div", { "aria-hidden": !0, className: El({ size: e }), children: u() })
7697
7761
  ] }),
7698
7762
  /* @__PURE__ */ i.jsx(
7699
7763
  "div",
@@ -7705,18 +7769,18 @@ const Vi = ({
7705
7769
  "aria-valuenow": a,
7706
7770
  "aria-valuemax": o,
7707
7771
  "aria-valuetext": f(),
7708
- children: /* @__PURE__ */ i.jsx("div", { className: Cl({ size: e }), children: /* @__PURE__ */ i.jsx(
7772
+ children: /* @__PURE__ */ i.jsx("div", { className: jl({ size: e }), children: /* @__PURE__ */ i.jsx(
7709
7773
  "div",
7710
7774
  {
7711
7775
  style: { width: f() },
7712
- className: kl({ size: e, state: s })
7776
+ className: Ll({ size: e, state: s })
7713
7777
  }
7714
7778
  ) })
7715
7779
  }
7716
7780
  ),
7717
- /* @__PURE__ */ i.jsx("p", { className: yl({ state: s }), children: n })
7781
+ /* @__PURE__ */ i.jsx("p", { className: $l({ state: s }), children: n })
7718
7782
  ] });
7719
- }, zl = jl, Ll = S(
7783
+ }, Zl = Ml, Nl = A(
7720
7784
  "ds-rounded-full ds-border-t-acuity-blue ds-border-x-acuity-blue ds-border-b-neutrals-transparent ds-border-solid ds-animate-spin",
7721
7785
  {
7722
7786
  variants: {
@@ -7728,7 +7792,7 @@ const Vi = ({
7728
7792
  }
7729
7793
  }
7730
7794
  }
7731
- ), El = S(
7795
+ ), Tl = A(
7732
7796
  "preflight ds-inline-block ds-rounded focus-visible:ds-outline-none focus-visible:ds-ring-2 focus-visible:ds-ring-acuity-blue",
7733
7797
  {
7734
7798
  variants: {
@@ -7740,7 +7804,7 @@ const Vi = ({
7740
7804
  }
7741
7805
  }
7742
7806
  }
7743
- ), $l = ({
7807
+ ), Sl = ({
7744
7808
  size: e = "medium",
7745
7809
  focusable: r = !0,
7746
7810
  label: n = "",
@@ -7752,33 +7816,34 @@ const Vi = ({
7752
7816
  tabIndex: r ? 0 : void 0,
7753
7817
  "aria-label": n,
7754
7818
  "aria-live": t,
7755
- className: r ? dr(El({ size: e }), s) : `preflight ds-rounded ${s}`,
7819
+ className: r ? dr(Tl({ size: e }), s) : `preflight ds-rounded ${s}`,
7756
7820
  role: "status",
7757
- children: /* @__PURE__ */ i.jsx("div", { className: dr(Ll({ size: e })) })
7821
+ children: /* @__PURE__ */ i.jsx("div", { className: dr(Nl({ size: e })) })
7758
7822
  }
7759
- ), Ul = $l;
7823
+ ), Yl = Sl;
7760
7824
  export {
7761
- Sl as Alert,
7762
- Hi as Badge,
7763
- Rl as Button,
7764
- Al as Card,
7765
- Pl as Checkbox,
7766
- Hl as Dropdown,
7767
- vl as DropdownAtom,
7768
- Jt as Heading,
7825
+ Wo as Alert,
7826
+ Zi as Badge,
7827
+ Ho as Button,
7828
+ Fl as Card,
7829
+ Ol as Checkbox,
7830
+ Gl as Dropdown,
7831
+ kl as DropdownAtom,
7832
+ Wl as FormValidation,
7833
+ Xt as Heading,
7769
7834
  Te as Icon,
7770
7835
  et as IconButton,
7771
- Xi as LabelAtom,
7772
- Ol as Link,
7773
- _l as Modal,
7774
- zl as ProgressBar,
7775
- Fl as Radio,
7776
- Ul as Spinner,
7777
- Vl as Tab,
7778
- Il as Tabs,
7779
- Bl as TextInput,
7780
- fl as TextInputAtom,
7781
- Dl as Textarea,
7782
- il as TextareaAtom
7836
+ tl as LabelAtom,
7837
+ Vl as Link,
7838
+ Dl as Modal,
7839
+ Zl as ProgressBar,
7840
+ _l as Radio,
7841
+ Yl as Spinner,
7842
+ Hl as Tab,
7843
+ Bl as Tabs,
7844
+ Ul as TextInput,
7845
+ gl as TextInputAtom,
7846
+ zl as Textarea,
7847
+ ul as TextareaAtom
7783
7848
  };
7784
7849
  //# sourceMappingURL=index.es.js.map