@qodo/design-system 0.20.16 → 0.20.17

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.esm.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as d from "react";
2
- import W, { forwardRef as Ve, createElement as Bn, useLayoutEffect as Gl, useState as je, useRef as he, useCallback as Ne, useEffect as ze, createContext as Ha, useContext as Ua, useMemo as Wn, memo as xg, isValidElement as bg, Children as yg, cloneElement as wg, useId as Cg } from "react";
2
+ import B, { forwardRef as Ve, createElement as Bn, useLayoutEffect as Gl, useState as je, useRef as xe, useCallback as Ne, useEffect as ze, createContext as Ha, useContext as Ua, useMemo as Wn, memo as xg, isValidElement as bg, Children as yg, cloneElement as wg, useId as Cg } from "react";
3
3
  import * as io from "react-dom";
4
4
  import Sg, { flushSync as Ka } from "react-dom";
5
5
  const kk = {
@@ -67,7 +67,7 @@ var vi;
67
67
  function Eg() {
68
68
  if (vi) return Or;
69
69
  vi = 1;
70
- var e = W, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
70
+ var e = B, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, a = { key: !0, ref: !0, __self: !0, __source: !0 };
71
71
  function s(i, c, u) {
72
72
  var f, p = {}, m = null, g = null;
73
73
  u !== void 0 && (m = "" + u), c.key !== void 0 && (m = "" + c.key), c.ref !== void 0 && (g = c.ref);
@@ -90,51 +90,51 @@ var Mr = {};
90
90
  var hi;
91
91
  function Ng() {
92
92
  return hi || (hi = 1, process.env.NODE_ENV !== "production" && (function() {
93
- var e = W, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), i = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), h = Symbol.iterator, v = "@@iterator";
93
+ var e = B, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), i = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), h = Symbol.iterator, v = "@@iterator";
94
94
  function x(S) {
95
95
  if (S === null || typeof S != "object")
96
96
  return null;
97
- var V = h && S[h] || S[v];
98
- return typeof V == "function" ? V : null;
97
+ var F = h && S[h] || S[v];
98
+ return typeof F == "function" ? F : null;
99
99
  }
100
100
  var b = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
101
101
  function y(S) {
102
102
  {
103
- for (var V = arguments.length, re = new Array(V > 1 ? V - 1 : 0), ie = 1; ie < V; ie++)
103
+ for (var F = arguments.length, re = new Array(F > 1 ? F - 1 : 0), ie = 1; ie < F; ie++)
104
104
  re[ie - 1] = arguments[ie];
105
105
  w("error", S, re);
106
106
  }
107
107
  }
108
- function w(S, V, re) {
108
+ function w(S, F, re) {
109
109
  {
110
110
  var ie = b.ReactDebugCurrentFrame, pe = ie.getStackAddendum();
111
- pe !== "" && (V += "%s", re = re.concat([pe]));
111
+ pe !== "" && (F += "%s", re = re.concat([pe]));
112
112
  var ge = re.map(function(fe) {
113
113
  return String(fe);
114
114
  });
115
- ge.unshift("Warning: " + V), Function.prototype.apply.call(console[S], console, ge);
115
+ ge.unshift("Warning: " + F), Function.prototype.apply.call(console[S], console, ge);
116
116
  }
117
117
  }
118
118
  var C = !1, E = !1, R = !1, N = !1, j = !1, D;
119
119
  D = Symbol.for("react.module.reference");
120
- function F(S) {
120
+ function V(S) {
121
121
  return !!(typeof S == "string" || typeof S == "function" || S === n || S === a || j || S === o || S === u || S === f || N || S === g || C || E || R || typeof S == "object" && S !== null && (S.$$typeof === m || S.$$typeof === p || S.$$typeof === s || S.$$typeof === i || S.$$typeof === c || // This needs to include all possible module reference object
122
122
  // types supported by any Flight configuration anywhere since
123
123
  // we don't know which Flight build this will end up being used
124
124
  // with.
125
125
  S.$$typeof === D || S.getModuleId !== void 0));
126
126
  }
127
- function q(S, V, re) {
127
+ function W(S, F, re) {
128
128
  var ie = S.displayName;
129
129
  if (ie)
130
130
  return ie;
131
- var pe = V.displayName || V.name || "";
131
+ var pe = F.displayName || F.name || "";
132
132
  return pe !== "" ? re + "(" + pe + ")" : re;
133
133
  }
134
134
  function Q(S) {
135
135
  return S.displayName || "Context";
136
136
  }
137
- function Z(S) {
137
+ function ee(S) {
138
138
  if (S == null)
139
139
  return null;
140
140
  if (typeof S.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof S == "function")
@@ -158,20 +158,20 @@ function Ng() {
158
158
  if (typeof S == "object")
159
159
  switch (S.$$typeof) {
160
160
  case i:
161
- var V = S;
162
- return Q(V) + ".Consumer";
161
+ var F = S;
162
+ return Q(F) + ".Consumer";
163
163
  case s:
164
164
  var re = S;
165
165
  return Q(re._context) + ".Provider";
166
166
  case c:
167
- return q(S, S.render, "ForwardRef");
167
+ return W(S, S.render, "ForwardRef");
168
168
  case p:
169
169
  var ie = S.displayName || null;
170
- return ie !== null ? ie : Z(S.type) || "Memo";
170
+ return ie !== null ? ie : ee(S.type) || "Memo";
171
171
  case m: {
172
172
  var pe = S, ge = pe._payload, fe = pe._init;
173
173
  try {
174
- return Z(fe(ge));
174
+ return ee(fe(ge));
175
175
  } catch {
176
176
  return null;
177
177
  }
@@ -179,10 +179,10 @@ function Ng() {
179
179
  }
180
180
  return null;
181
181
  }
182
- var z = Object.assign, O = 0, I, M, P, _, U, J, T;
183
- function H() {
182
+ var G = Object.assign, O = 0, I, M, P, _, U, J, T;
183
+ function q() {
184
184
  }
185
- H.__reactDisabledLog = !0;
185
+ q.__reactDisabledLog = !0;
186
186
  function X() {
187
187
  {
188
188
  if (O === 0) {
@@ -190,7 +190,7 @@ function Ng() {
190
190
  var S = {
191
191
  configurable: !0,
192
192
  enumerable: !0,
193
- value: H,
193
+ value: q,
194
194
  writable: !0
195
195
  };
196
196
  Object.defineProperties(console, {
@@ -215,25 +215,25 @@ function Ng() {
215
215
  writable: !0
216
216
  };
217
217
  Object.defineProperties(console, {
218
- log: z({}, S, {
218
+ log: G({}, S, {
219
219
  value: I
220
220
  }),
221
- info: z({}, S, {
221
+ info: G({}, S, {
222
222
  value: M
223
223
  }),
224
- warn: z({}, S, {
224
+ warn: G({}, S, {
225
225
  value: P
226
226
  }),
227
- error: z({}, S, {
227
+ error: G({}, S, {
228
228
  value: _
229
229
  }),
230
- group: z({}, S, {
230
+ group: G({}, S, {
231
231
  value: U
232
232
  }),
233
- groupCollapsed: z({}, S, {
233
+ groupCollapsed: G({}, S, {
234
234
  value: J
235
235
  }),
236
- groupEnd: z({}, S, {
236
+ groupEnd: G({}, S, {
237
237
  value: T
238
238
  })
239
239
  });
@@ -242,7 +242,7 @@ function Ng() {
242
242
  }
243
243
  }
244
244
  var L = b.ReactCurrentDispatcher, A;
245
- function G(S, V, re) {
245
+ function z(S, F, re) {
246
246
  {
247
247
  if (A === void 0)
248
248
  try {
@@ -255,27 +255,27 @@ function Ng() {
255
255
  ` + A + S;
256
256
  }
257
257
  }
258
- var B = !1, ee;
258
+ var Z = !1, H;
259
259
  {
260
260
  var te = typeof WeakMap == "function" ? WeakMap : Map;
261
- ee = new te();
261
+ H = new te();
262
262
  }
263
- function $(S, V) {
264
- if (!S || B)
263
+ function $(S, F) {
264
+ if (!S || Z)
265
265
  return "";
266
266
  {
267
- var re = ee.get(S);
267
+ var re = H.get(S);
268
268
  if (re !== void 0)
269
269
  return re;
270
270
  }
271
271
  var ie;
272
- B = !0;
272
+ Z = !0;
273
273
  var pe = Error.prepareStackTrace;
274
274
  Error.prepareStackTrace = void 0;
275
275
  var ge;
276
276
  ge = L.current, L.current = null, X();
277
277
  try {
278
- if (V) {
278
+ if (F) {
279
279
  var fe = function() {
280
280
  throw Error();
281
281
  };
@@ -319,65 +319,65 @@ function Ng() {
319
319
  if (we--, Ce--, Ce < 0 || de[we] !== Oe[Ce]) {
320
320
  var Ge = `
321
321
  ` + de[we].replace(" at new ", " at ");
322
- return S.displayName && Ge.includes("<anonymous>") && (Ge = Ge.replace("<anonymous>", S.displayName)), typeof S == "function" && ee.set(S, Ge), Ge;
322
+ return S.displayName && Ge.includes("<anonymous>") && (Ge = Ge.replace("<anonymous>", S.displayName)), typeof S == "function" && H.set(S, Ge), Ge;
323
323
  }
324
324
  while (we >= 1 && Ce >= 0);
325
325
  break;
326
326
  }
327
327
  }
328
328
  } finally {
329
- B = !1, L.current = ge, Y(), Error.prepareStackTrace = pe;
329
+ Z = !1, L.current = ge, Y(), Error.prepareStackTrace = pe;
330
330
  }
331
- var tr = S ? S.displayName || S.name : "", Mt = tr ? G(tr) : "";
332
- return typeof S == "function" && ee.set(S, Mt), Mt;
331
+ var tr = S ? S.displayName || S.name : "", Mt = tr ? z(tr) : "";
332
+ return typeof S == "function" && H.set(S, Mt), Mt;
333
333
  }
334
- function se(S, V, re) {
334
+ function se(S, F, re) {
335
335
  return $(S, !1);
336
336
  }
337
- function ue(S) {
338
- var V = S.prototype;
339
- return !!(V && V.isReactComponent);
337
+ function le(S) {
338
+ var F = S.prototype;
339
+ return !!(F && F.isReactComponent);
340
340
  }
341
- function me(S, V, re) {
341
+ function me(S, F, re) {
342
342
  if (S == null)
343
343
  return "";
344
344
  if (typeof S == "function")
345
- return $(S, ue(S));
345
+ return $(S, le(S));
346
346
  if (typeof S == "string")
347
- return G(S);
347
+ return z(S);
348
348
  switch (S) {
349
349
  case u:
350
- return G("Suspense");
350
+ return z("Suspense");
351
351
  case f:
352
- return G("SuspenseList");
352
+ return z("SuspenseList");
353
353
  }
354
354
  if (typeof S == "object")
355
355
  switch (S.$$typeof) {
356
356
  case c:
357
357
  return se(S.render);
358
358
  case p:
359
- return me(S.type, V, re);
359
+ return me(S.type, F, re);
360
360
  case m: {
361
361
  var ie = S, pe = ie._payload, ge = ie._init;
362
362
  try {
363
- return me(ge(pe), V, re);
363
+ return me(ge(pe), F, re);
364
364
  } catch {
365
365
  }
366
366
  }
367
367
  }
368
368
  return "";
369
369
  }
370
- var be = Object.prototype.hasOwnProperty, Re = {}, We = b.ReactDebugCurrentFrame;
370
+ var ve = Object.prototype.hasOwnProperty, Re = {}, We = b.ReactDebugCurrentFrame;
371
371
  function ke(S) {
372
372
  if (S) {
373
- var V = S._owner, re = me(S.type, S._source, V ? V.type : null);
373
+ var F = S._owner, re = me(S.type, S._source, F ? F.type : null);
374
374
  We.setExtraStackFrame(re);
375
375
  } else
376
376
  We.setExtraStackFrame(null);
377
377
  }
378
- function ct(S, V, re, ie, pe) {
378
+ function ct(S, F, re, ie, pe) {
379
379
  {
380
- var ge = Function.call.bind(be);
380
+ var ge = Function.call.bind(ve);
381
381
  for (var fe in S)
382
382
  if (ge(S, fe)) {
383
383
  var de = void 0;
@@ -386,7 +386,7 @@ function Ng() {
386
386
  var Oe = Error((ie || "React class") + ": " + re + " type `" + fe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof S[fe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
387
387
  throw Oe.name = "Invariant Violation", Oe;
388
388
  }
389
- de = S[fe](V, fe, ie, re, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
389
+ de = S[fe](F, fe, ie, re, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
390
390
  } catch (we) {
391
391
  de = we;
392
392
  }
@@ -400,7 +400,7 @@ function Ng() {
400
400
  }
401
401
  function Nr(S) {
402
402
  {
403
- var V = typeof Symbol == "function" && Symbol.toStringTag, re = V && S[Symbol.toStringTag] || S.constructor.name || "Object";
403
+ var F = typeof Symbol == "function" && Symbol.toStringTag, re = F && S[Symbol.toStringTag] || S.constructor.name || "Object";
404
404
  return re;
405
405
  }
406
406
  }
@@ -425,28 +425,28 @@ function Ng() {
425
425
  __source: !0
426
426
  }, Zt, ut;
427
427
  function kr(S) {
428
- if (be.call(S, "ref")) {
429
- var V = Object.getOwnPropertyDescriptor(S, "ref").get;
430
- if (V && V.isReactWarning)
428
+ if (ve.call(S, "ref")) {
429
+ var F = Object.getOwnPropertyDescriptor(S, "ref").get;
430
+ if (F && F.isReactWarning)
431
431
  return !1;
432
432
  }
433
433
  return S.ref !== void 0;
434
434
  }
435
435
  function Pr(S) {
436
- if (be.call(S, "key")) {
437
- var V = Object.getOwnPropertyDescriptor(S, "key").get;
438
- if (V && V.isReactWarning)
436
+ if (ve.call(S, "key")) {
437
+ var F = Object.getOwnPropertyDescriptor(S, "key").get;
438
+ if (F && F.isReactWarning)
439
439
  return !1;
440
440
  }
441
441
  return S.key !== void 0;
442
442
  }
443
- function Jt(S, V) {
443
+ function Jt(S, F) {
444
444
  typeof S.ref == "string" && Rr.current;
445
445
  }
446
- function Uo(S, V) {
446
+ function Uo(S, F) {
447
447
  {
448
448
  var re = function() {
449
- Zt || (Zt = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", V));
449
+ Zt || (Zt = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", F));
450
450
  };
451
451
  re.isReactWarning = !0, Object.defineProperty(S, "key", {
452
452
  get: re,
@@ -454,10 +454,10 @@ function Ng() {
454
454
  });
455
455
  }
456
456
  }
457
- function Ko(S, V) {
457
+ function Ko(S, F) {
458
458
  {
459
459
  var re = function() {
460
- ut || (ut = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", V));
460
+ ut || (ut = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", F));
461
461
  };
462
462
  re.isReactWarning = !0, Object.defineProperty(S, "ref", {
463
463
  get: re,
@@ -465,13 +465,13 @@ function Ng() {
465
465
  });
466
466
  }
467
467
  }
468
- var Yo = function(S, V, re, ie, pe, ge, fe) {
468
+ var Yo = function(S, F, re, ie, pe, ge, fe) {
469
469
  var de = {
470
470
  // This tag allows us to uniquely identify this as a React Element
471
471
  $$typeof: t,
472
472
  // Built-in properties that belong on the element
473
473
  type: S,
474
- key: V,
474
+ key: F,
475
475
  ref: re,
476
476
  props: fe,
477
477
  // Record the component responsible for creating this element.
@@ -494,12 +494,12 @@ function Ng() {
494
494
  value: pe
495
495
  }), Object.freeze && (Object.freeze(de.props), Object.freeze(de)), de;
496
496
  };
497
- function Xo(S, V, re, ie, pe) {
497
+ function Xo(S, F, re, ie, pe) {
498
498
  {
499
499
  var ge, fe = {}, de = null, Oe = null;
500
- re !== void 0 && (wn(re), de = "" + re), Pr(V) && (wn(V.key), de = "" + V.key), kr(V) && (Oe = V.ref, Jt(V, pe));
501
- for (ge in V)
502
- be.call(V, ge) && !Ho.hasOwnProperty(ge) && (fe[ge] = V[ge]);
500
+ re !== void 0 && (wn(re), de = "" + re), Pr(F) && (wn(F.key), de = "" + F.key), kr(F) && (Oe = F.ref, Jt(F, pe));
501
+ for (ge in F)
502
+ ve.call(F, ge) && !Ho.hasOwnProperty(ge) && (fe[ge] = F[ge]);
503
503
  if (S && S.defaultProps) {
504
504
  var we = S.defaultProps;
505
505
  for (ge in we)
@@ -515,7 +515,7 @@ function Ng() {
515
515
  var Tr = b.ReactCurrentOwner, Ar = b.ReactDebugCurrentFrame;
516
516
  function vt(S) {
517
517
  if (S) {
518
- var V = S._owner, re = me(S.type, S._source, V ? V.type : null);
518
+ var F = S._owner, re = me(S.type, S._source, F ? F.type : null);
519
519
  Ar.setExtraStackFrame(re);
520
520
  } else
521
521
  Ar.setExtraStackFrame(null);
@@ -528,7 +528,7 @@ function Ng() {
528
528
  function Ir() {
529
529
  {
530
530
  if (Tr.current) {
531
- var S = Z(Tr.current.type);
531
+ var S = ee(Tr.current.type);
532
532
  if (S)
533
533
  return `
534
534
 
@@ -543,37 +543,37 @@ Check the render method of \`` + S + "`.";
543
543
  var _r = {};
544
544
  function Cn(S) {
545
545
  {
546
- var V = Ir();
547
- if (!V) {
546
+ var F = Ir();
547
+ if (!F) {
548
548
  var re = typeof S == "string" ? S : S.displayName || S.name;
549
- re && (V = `
549
+ re && (F = `
550
550
 
551
551
  Check the top-level render call using <` + re + ">.");
552
552
  }
553
- return V;
553
+ return F;
554
554
  }
555
555
  }
556
- function Sn(S, V) {
556
+ function Sn(S, F) {
557
557
  {
558
558
  if (!S._store || S._store.validated || S.key != null)
559
559
  return;
560
560
  S._store.validated = !0;
561
- var re = Cn(V);
561
+ var re = Cn(F);
562
562
  if (_r[re])
563
563
  return;
564
564
  _r[re] = !0;
565
565
  var ie = "";
566
- S && S._owner && S._owner !== Tr.current && (ie = " It was passed a child from " + Z(S._owner.type) + "."), vt(S), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', re, ie), vt(null);
566
+ S && S._owner && S._owner !== Tr.current && (ie = " It was passed a child from " + ee(S._owner.type) + "."), vt(S), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', re, ie), vt(null);
567
567
  }
568
568
  }
569
- function pi(S, V) {
569
+ function pi(S, F) {
570
570
  {
571
571
  if (typeof S != "object")
572
572
  return;
573
573
  if (Ot(S))
574
574
  for (var re = 0; re < S.length; re++) {
575
575
  var ie = S[re];
576
- er(ie) && Sn(ie, V);
576
+ er(ie) && Sn(ie, F);
577
577
  }
578
578
  else if (er(S))
579
579
  S._store && (S._store.validated = !0);
@@ -581,39 +581,39 @@ Check the top-level render call using <` + re + ">.");
581
581
  var pe = x(S);
582
582
  if (typeof pe == "function" && pe !== S.entries)
583
583
  for (var ge = pe.call(S), fe; !(fe = ge.next()).done; )
584
- er(fe.value) && Sn(fe.value, V);
584
+ er(fe.value) && Sn(fe.value, F);
585
585
  }
586
586
  }
587
587
  }
588
588
  function ug(S) {
589
589
  {
590
- var V = S.type;
591
- if (V == null || typeof V == "string")
590
+ var F = S.type;
591
+ if (F == null || typeof F == "string")
592
592
  return;
593
593
  var re;
594
- if (typeof V == "function")
595
- re = V.propTypes;
596
- else if (typeof V == "object" && (V.$$typeof === c || // Note: Memo only checks outer props here.
594
+ if (typeof F == "function")
595
+ re = F.propTypes;
596
+ else if (typeof F == "object" && (F.$$typeof === c || // Note: Memo only checks outer props here.
597
597
  // Inner props are checked in the reconciler.
598
- V.$$typeof === p))
599
- re = V.propTypes;
598
+ F.$$typeof === p))
599
+ re = F.propTypes;
600
600
  else
601
601
  return;
602
602
  if (re) {
603
- var ie = Z(V);
603
+ var ie = ee(F);
604
604
  ct(re, S.props, "prop", ie, S);
605
- } else if (V.PropTypes !== void 0 && !Qt) {
605
+ } else if (F.PropTypes !== void 0 && !Qt) {
606
606
  Qt = !0;
607
- var pe = Z(V);
607
+ var pe = ee(F);
608
608
  y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", pe || "Unknown");
609
609
  }
610
- typeof V.getDefaultProps == "function" && !V.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
610
+ typeof F.getDefaultProps == "function" && !F.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
611
611
  }
612
612
  }
613
613
  function dg(S) {
614
614
  {
615
- for (var V = Object.keys(S.props), re = 0; re < V.length; re++) {
616
- var ie = V[re];
615
+ for (var F = Object.keys(S.props), re = 0; re < F.length; re++) {
616
+ var ie = F[re];
617
617
  if (ie !== "children" && ie !== "key") {
618
618
  vt(S), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ie), vt(null);
619
619
  break;
@@ -623,22 +623,22 @@ Check the top-level render call using <` + re + ">.");
623
623
  }
624
624
  }
625
625
  var mi = {};
626
- function gi(S, V, re, ie, pe, ge) {
626
+ function gi(S, F, re, ie, pe, ge) {
627
627
  {
628
- var fe = F(S);
628
+ var fe = V(S);
629
629
  if (!fe) {
630
630
  var de = "";
631
631
  (S === void 0 || typeof S == "object" && S !== null && Object.keys(S).length === 0) && (de += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
632
632
  var Oe = Zo();
633
633
  Oe ? de += Oe : de += Ir();
634
634
  var we;
635
- S === null ? we = "null" : Ot(S) ? we = "array" : S !== void 0 && S.$$typeof === t ? (we = "<" + (Z(S.type) || "Unknown") + " />", de = " Did you accidentally export a JSX literal instead of a component?") : we = typeof S, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", we, de);
635
+ S === null ? we = "null" : Ot(S) ? we = "array" : S !== void 0 && S.$$typeof === t ? (we = "<" + (ee(S.type) || "Unknown") + " />", de = " Did you accidentally export a JSX literal instead of a component?") : we = typeof S, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", we, de);
636
636
  }
637
- var Ce = Xo(S, V, re, pe, ge);
637
+ var Ce = Xo(S, F, re, pe, ge);
638
638
  if (Ce == null)
639
639
  return Ce;
640
640
  if (fe) {
641
- var Ge = V.children;
641
+ var Ge = F.children;
642
642
  if (Ge !== void 0)
643
643
  if (ie)
644
644
  if (Ot(Ge)) {
@@ -650,8 +650,8 @@ Check the top-level render call using <` + re + ">.");
650
650
  else
651
651
  pi(Ge, S);
652
652
  }
653
- if (be.call(V, "key")) {
654
- var Mt = Z(S), De = Object.keys(V).filter(function(hg) {
653
+ if (ve.call(F, "key")) {
654
+ var Mt = ee(S), De = Object.keys(F).filter(function(hg) {
655
655
  return hg !== "key";
656
656
  }), Jo = De.length > 0 ? "{key: someKey, " + De.join(": ..., ") + ": ...}" : "{key: someKey}";
657
657
  if (!mi[Mt + Jo]) {
@@ -667,11 +667,11 @@ React keys must be passed directly to JSX without using spread:
667
667
  return S === n ? dg(Ce) : ug(Ce), Ce;
668
668
  }
669
669
  }
670
- function fg(S, V, re) {
671
- return gi(S, V, re, !0);
670
+ function fg(S, F, re) {
671
+ return gi(S, F, re, !0);
672
672
  }
673
- function pg(S, V, re) {
674
- return gi(S, V, re, !1);
673
+ function pg(S, F, re) {
674
+ return gi(S, F, re, !1);
675
675
  }
676
676
  var mg = pg, gg = fg;
677
677
  Mr.Fragment = n, Mr.jsx = mg, Mr.jsxs = gg;
@@ -998,12 +998,12 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
998
998
  }, Kg = [], Ee = (e) => {
999
999
  const t = (r) => r[e] || Kg;
1000
1000
  return t.isThemeGetter = !0, t;
1001
- }, Xl = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Zl = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Yg = /^\d+\/\d+$/, Xg = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Zg = /\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$/, Jg = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Qg = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ev = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, rr = (e) => Yg.test(e), ce = (e) => !!e && !Number.isNaN(Number(e)), ht = (e) => !!e && Number.isInteger(Number(e)), Qo = (e) => e.endsWith("%") && ce(e.slice(0, -1)), dt = (e) => Xg.test(e), tv = () => !0, rv = (e) => (
1001
+ }, Xl = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, Zl = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Yg = /^\d+\/\d+$/, Xg = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Zg = /\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$/, Jg = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Qg = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, ev = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, rr = (e) => Yg.test(e), ue = (e) => !!e && !Number.isNaN(Number(e)), ht = (e) => !!e && Number.isInteger(Number(e)), Qo = (e) => e.endsWith("%") && ue(e.slice(0, -1)), dt = (e) => Xg.test(e), tv = () => !0, rv = (e) => (
1002
1002
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
1003
1003
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
1004
1004
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
1005
1005
  Zg.test(e) && !Jg.test(e)
1006
- ), Jl = () => !1, nv = (e) => Qg.test(e), ov = (e) => ev.test(e), av = (e) => !oe(e) && !ae(e), sv = (e) => hr(e, tc, Jl), oe = (e) => Xl.test(e), Dt = (e) => hr(e, rc, rv), ea = (e) => hr(e, dv, ce), Ei = (e) => hr(e, Ql, Jl), iv = (e) => hr(e, ec, ov), Nn = (e) => hr(e, nc, nv), ae = (e) => Zl.test(e), Dr = (e) => xr(e, rc), lv = (e) => xr(e, fv), Ni = (e) => xr(e, Ql), cv = (e) => xr(e, tc), uv = (e) => xr(e, ec), jn = (e) => xr(e, nc, !0), hr = (e, t, r) => {
1006
+ ), Jl = () => !1, nv = (e) => Qg.test(e), ov = (e) => ev.test(e), av = (e) => !oe(e) && !ae(e), sv = (e) => hr(e, tc, Jl), oe = (e) => Xl.test(e), Dt = (e) => hr(e, rc, rv), ea = (e) => hr(e, dv, ue), Ei = (e) => hr(e, Ql, Jl), iv = (e) => hr(e, ec, ov), Nn = (e) => hr(e, nc, nv), ae = (e) => Zl.test(e), Dr = (e) => xr(e, rc), lv = (e) => xr(e, fv), Ni = (e) => xr(e, Ql), cv = (e) => xr(e, tc), uv = (e) => xr(e, ec), jn = (e) => xr(e, nc, !0), hr = (e, t, r) => {
1007
1007
  const n = Xl.exec(e);
1008
1008
  return n ? n[1] ? t(n[1]) : r(n[2]) : !1;
1009
1009
  }, xr = (e, t, r = !1) => {
@@ -1028,15 +1028,15 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
1028
1028
  "bottom-left",
1029
1029
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
1030
1030
  "left-bottom"
1031
- ], E = () => [...C(), ae, oe], R = () => ["auto", "hidden", "clip", "visible", "scroll"], N = () => ["auto", "contain", "none"], j = () => [ae, oe, c], D = () => [rr, "full", "auto", ...j()], F = () => [ht, "none", "subgrid", ae, oe], q = () => ["auto", {
1031
+ ], E = () => [...C(), ae, oe], R = () => ["auto", "hidden", "clip", "visible", "scroll"], N = () => ["auto", "contain", "none"], j = () => [ae, oe, c], D = () => [rr, "full", "auto", ...j()], V = () => [ht, "none", "subgrid", ae, oe], W = () => ["auto", {
1032
1032
  span: ["full", ht, ae, oe]
1033
- }, ht, ae, oe], Q = () => [ht, "auto", ae, oe], Z = () => ["auto", "min", "max", "fr", ae, oe], z = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], I = () => ["auto", ...j()], M = () => [rr, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...j()], P = () => [e, ae, oe], _ = () => [...C(), Ni, Ei, {
1033
+ }, ht, ae, oe], Q = () => [ht, "auto", ae, oe], ee = () => ["auto", "min", "max", "fr", ae, oe], G = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], O = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], I = () => ["auto", ...j()], M = () => [rr, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...j()], P = () => [e, ae, oe], _ = () => [...C(), Ni, Ei, {
1034
1034
  position: [ae, oe]
1035
1035
  }], U = () => ["no-repeat", {
1036
1036
  repeat: ["", "x", "y", "space", "round"]
1037
1037
  }], J = () => ["auto", "cover", "contain", cv, sv, {
1038
1038
  size: [ae, oe]
1039
- }], T = () => [Qo, Dr, Dt], H = () => [
1039
+ }], T = () => [Qo, Dr, Dt], q = () => [
1040
1040
  // Deprecated since Tailwind CSS v4.0.0
1041
1041
  "",
1042
1042
  "none",
@@ -1044,14 +1044,14 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
1044
1044
  u,
1045
1045
  ae,
1046
1046
  oe
1047
- ], X = () => ["", ce, Dr, Dt], Y = () => ["solid", "dashed", "dotted", "double"], L = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], A = () => [ce, Qo, Ni, Ei], G = () => [
1047
+ ], X = () => ["", ue, Dr, Dt], Y = () => ["solid", "dashed", "dotted", "double"], L = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], A = () => [ue, Qo, Ni, Ei], z = () => [
1048
1048
  // Deprecated since Tailwind CSS v4.0.0
1049
1049
  "",
1050
1050
  "none",
1051
1051
  h,
1052
1052
  ae,
1053
1053
  oe
1054
- ], B = () => ["none", ce, ae, oe], ee = () => ["none", ce, ae, oe], te = () => [ce, ae, oe], $ = () => [rr, "full", ...j()];
1054
+ ], Z = () => ["none", ue, ae, oe], H = () => ["none", ue, ae, oe], te = () => [ue, ae, oe], $ = () => [rr, "full", ...j()];
1055
1055
  return {
1056
1056
  cacheSize: 500,
1057
1057
  theme: {
@@ -1070,7 +1070,7 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
1070
1070
  perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
1071
1071
  radius: [dt],
1072
1072
  shadow: [dt],
1073
- spacing: ["px", ce],
1073
+ spacing: ["px", ue],
1074
1074
  text: [dt],
1075
1075
  "text-shadow": [dt],
1076
1076
  tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
@@ -1097,7 +1097,7 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
1097
1097
  * @see https://tailwindcss.com/docs/columns
1098
1098
  */
1099
1099
  columns: [{
1100
- columns: [ce, oe, ae, i]
1100
+ columns: [ue, oe, ae, i]
1101
1101
  }],
1102
1102
  /**
1103
1103
  * Break After
@@ -1328,21 +1328,21 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
1328
1328
  * @see https://tailwindcss.com/docs/flex
1329
1329
  */
1330
1330
  flex: [{
1331
- flex: [ce, rr, "auto", "initial", "none", oe]
1331
+ flex: [ue, rr, "auto", "initial", "none", oe]
1332
1332
  }],
1333
1333
  /**
1334
1334
  * Flex Grow
1335
1335
  * @see https://tailwindcss.com/docs/flex-grow
1336
1336
  */
1337
1337
  grow: [{
1338
- grow: ["", ce, ae, oe]
1338
+ grow: ["", ue, ae, oe]
1339
1339
  }],
1340
1340
  /**
1341
1341
  * Flex Shrink
1342
1342
  * @see https://tailwindcss.com/docs/flex-shrink
1343
1343
  */
1344
1344
  shrink: [{
1345
- shrink: ["", ce, ae, oe]
1345
+ shrink: ["", ue, ae, oe]
1346
1346
  }],
1347
1347
  /**
1348
1348
  * Order
@@ -1356,14 +1356,14 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
1356
1356
  * @see https://tailwindcss.com/docs/grid-template-columns
1357
1357
  */
1358
1358
  "grid-cols": [{
1359
- "grid-cols": F()
1359
+ "grid-cols": V()
1360
1360
  }],
1361
1361
  /**
1362
1362
  * Grid Column Start / End
1363
1363
  * @see https://tailwindcss.com/docs/grid-column
1364
1364
  */
1365
1365
  "col-start-end": [{
1366
- col: q()
1366
+ col: W()
1367
1367
  }],
1368
1368
  /**
1369
1369
  * Grid Column Start
@@ -1384,14 +1384,14 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
1384
1384
  * @see https://tailwindcss.com/docs/grid-template-rows
1385
1385
  */
1386
1386
  "grid-rows": [{
1387
- "grid-rows": F()
1387
+ "grid-rows": V()
1388
1388
  }],
1389
1389
  /**
1390
1390
  * Grid Row Start / End
1391
1391
  * @see https://tailwindcss.com/docs/grid-row
1392
1392
  */
1393
1393
  "row-start-end": [{
1394
- row: q()
1394
+ row: W()
1395
1395
  }],
1396
1396
  /**
1397
1397
  * Grid Row Start
@@ -1419,14 +1419,14 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
1419
1419
  * @see https://tailwindcss.com/docs/grid-auto-columns
1420
1420
  */
1421
1421
  "auto-cols": [{
1422
- "auto-cols": Z()
1422
+ "auto-cols": ee()
1423
1423
  }],
1424
1424
  /**
1425
1425
  * Grid Auto Rows
1426
1426
  * @see https://tailwindcss.com/docs/grid-auto-rows
1427
1427
  */
1428
1428
  "auto-rows": [{
1429
- "auto-rows": Z()
1429
+ "auto-rows": ee()
1430
1430
  }],
1431
1431
  /**
1432
1432
  * Gap
@@ -1454,7 +1454,7 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
1454
1454
  * @see https://tailwindcss.com/docs/justify-content
1455
1455
  */
1456
1456
  "justify-content": [{
1457
- justify: [...z(), "normal"]
1457
+ justify: [...G(), "normal"]
1458
1458
  }],
1459
1459
  /**
1460
1460
  * Justify Items
@@ -1475,7 +1475,7 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
1475
1475
  * @see https://tailwindcss.com/docs/align-content
1476
1476
  */
1477
1477
  "align-content": [{
1478
- content: ["normal", ...z()]
1478
+ content: ["normal", ...G()]
1479
1479
  }],
1480
1480
  /**
1481
1481
  * Align Items
@@ -1500,7 +1500,7 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
1500
1500
  * @see https://tailwindcss.com/docs/place-content
1501
1501
  */
1502
1502
  "place-content": [{
1503
- "place-content": z()
1503
+ "place-content": G()
1504
1504
  }],
1505
1505
  /**
1506
1506
  * Place Items
@@ -1819,7 +1819,7 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
1819
1819
  * @see https://tailwindcss.com/docs/line-clamp
1820
1820
  */
1821
1821
  "line-clamp": [{
1822
- "line-clamp": [ce, "none", ae, ea]
1822
+ "line-clamp": [ue, "none", ae, ea]
1823
1823
  }],
1824
1824
  /**
1825
1825
  * Line Height
@@ -1892,7 +1892,7 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
1892
1892
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1893
1893
  */
1894
1894
  "text-decoration-thickness": [{
1895
- decoration: [ce, "from-font", "auto", ae, Dt]
1895
+ decoration: [ue, "from-font", "auto", ae, Dt]
1896
1896
  }],
1897
1897
  /**
1898
1898
  * Text Decoration Color
@@ -1906,7 +1906,7 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
1906
1906
  * @see https://tailwindcss.com/docs/text-underline-offset
1907
1907
  */
1908
1908
  "underline-offset": [{
1909
- "underline-offset": [ce, "auto", ae, oe]
1909
+ "underline-offset": [ue, "auto", ae, oe]
1910
1910
  }],
1911
1911
  /**
1912
1912
  * Text Transform
@@ -2089,105 +2089,105 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
2089
2089
  * @see https://tailwindcss.com/docs/border-radius
2090
2090
  */
2091
2091
  rounded: [{
2092
- rounded: H()
2092
+ rounded: q()
2093
2093
  }],
2094
2094
  /**
2095
2095
  * Border Radius Start
2096
2096
  * @see https://tailwindcss.com/docs/border-radius
2097
2097
  */
2098
2098
  "rounded-s": [{
2099
- "rounded-s": H()
2099
+ "rounded-s": q()
2100
2100
  }],
2101
2101
  /**
2102
2102
  * Border Radius End
2103
2103
  * @see https://tailwindcss.com/docs/border-radius
2104
2104
  */
2105
2105
  "rounded-e": [{
2106
- "rounded-e": H()
2106
+ "rounded-e": q()
2107
2107
  }],
2108
2108
  /**
2109
2109
  * Border Radius Top
2110
2110
  * @see https://tailwindcss.com/docs/border-radius
2111
2111
  */
2112
2112
  "rounded-t": [{
2113
- "rounded-t": H()
2113
+ "rounded-t": q()
2114
2114
  }],
2115
2115
  /**
2116
2116
  * Border Radius Right
2117
2117
  * @see https://tailwindcss.com/docs/border-radius
2118
2118
  */
2119
2119
  "rounded-r": [{
2120
- "rounded-r": H()
2120
+ "rounded-r": q()
2121
2121
  }],
2122
2122
  /**
2123
2123
  * Border Radius Bottom
2124
2124
  * @see https://tailwindcss.com/docs/border-radius
2125
2125
  */
2126
2126
  "rounded-b": [{
2127
- "rounded-b": H()
2127
+ "rounded-b": q()
2128
2128
  }],
2129
2129
  /**
2130
2130
  * Border Radius Left
2131
2131
  * @see https://tailwindcss.com/docs/border-radius
2132
2132
  */
2133
2133
  "rounded-l": [{
2134
- "rounded-l": H()
2134
+ "rounded-l": q()
2135
2135
  }],
2136
2136
  /**
2137
2137
  * Border Radius Start Start
2138
2138
  * @see https://tailwindcss.com/docs/border-radius
2139
2139
  */
2140
2140
  "rounded-ss": [{
2141
- "rounded-ss": H()
2141
+ "rounded-ss": q()
2142
2142
  }],
2143
2143
  /**
2144
2144
  * Border Radius Start End
2145
2145
  * @see https://tailwindcss.com/docs/border-radius
2146
2146
  */
2147
2147
  "rounded-se": [{
2148
- "rounded-se": H()
2148
+ "rounded-se": q()
2149
2149
  }],
2150
2150
  /**
2151
2151
  * Border Radius End End
2152
2152
  * @see https://tailwindcss.com/docs/border-radius
2153
2153
  */
2154
2154
  "rounded-ee": [{
2155
- "rounded-ee": H()
2155
+ "rounded-ee": q()
2156
2156
  }],
2157
2157
  /**
2158
2158
  * Border Radius End Start
2159
2159
  * @see https://tailwindcss.com/docs/border-radius
2160
2160
  */
2161
2161
  "rounded-es": [{
2162
- "rounded-es": H()
2162
+ "rounded-es": q()
2163
2163
  }],
2164
2164
  /**
2165
2165
  * Border Radius Top Left
2166
2166
  * @see https://tailwindcss.com/docs/border-radius
2167
2167
  */
2168
2168
  "rounded-tl": [{
2169
- "rounded-tl": H()
2169
+ "rounded-tl": q()
2170
2170
  }],
2171
2171
  /**
2172
2172
  * Border Radius Top Right
2173
2173
  * @see https://tailwindcss.com/docs/border-radius
2174
2174
  */
2175
2175
  "rounded-tr": [{
2176
- "rounded-tr": H()
2176
+ "rounded-tr": q()
2177
2177
  }],
2178
2178
  /**
2179
2179
  * Border Radius Bottom Right
2180
2180
  * @see https://tailwindcss.com/docs/border-radius
2181
2181
  */
2182
2182
  "rounded-br": [{
2183
- "rounded-br": H()
2183
+ "rounded-br": q()
2184
2184
  }],
2185
2185
  /**
2186
2186
  * Border Radius Bottom Left
2187
2187
  * @see https://tailwindcss.com/docs/border-radius
2188
2188
  */
2189
2189
  "rounded-bl": [{
2190
- "rounded-bl": H()
2190
+ "rounded-bl": q()
2191
2191
  }],
2192
2192
  /**
2193
2193
  * Border Width
@@ -2372,14 +2372,14 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
2372
2372
  * @see https://tailwindcss.com/docs/outline-offset
2373
2373
  */
2374
2374
  "outline-offset": [{
2375
- "outline-offset": [ce, ae, oe]
2375
+ "outline-offset": [ue, ae, oe]
2376
2376
  }],
2377
2377
  /**
2378
2378
  * Outline Width
2379
2379
  * @see https://tailwindcss.com/docs/outline-width
2380
2380
  */
2381
2381
  "outline-w": [{
2382
- outline: ["", ce, Dr, Dt]
2382
+ outline: ["", ue, Dr, Dt]
2383
2383
  }],
2384
2384
  /**
2385
2385
  * Outline Color
@@ -2454,7 +2454,7 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
2454
2454
  * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2455
2455
  */
2456
2456
  "ring-offset-w": [{
2457
- "ring-offset": [ce, Dt]
2457
+ "ring-offset": [ue, Dt]
2458
2458
  }],
2459
2459
  /**
2460
2460
  * Ring Offset Color
@@ -2498,7 +2498,7 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
2498
2498
  * @see https://tailwindcss.com/docs/opacity
2499
2499
  */
2500
2500
  opacity: [{
2501
- opacity: [ce, ae, oe]
2501
+ opacity: [ue, ae, oe]
2502
2502
  }],
2503
2503
  /**
2504
2504
  * Mix Blend Mode
@@ -2533,7 +2533,7 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
2533
2533
  * @see https://tailwindcss.com/docs/mask-image
2534
2534
  */
2535
2535
  "mask-image-linear-pos": [{
2536
- "mask-linear": [ce]
2536
+ "mask-linear": [ue]
2537
2537
  }],
2538
2538
  "mask-image-linear-from-pos": [{
2539
2539
  "mask-linear-from": A()
@@ -2647,7 +2647,7 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
2647
2647
  "mask-radial-at": C()
2648
2648
  }],
2649
2649
  "mask-image-conic-pos": [{
2650
- "mask-conic": [ce]
2650
+ "mask-conic": [ue]
2651
2651
  }],
2652
2652
  "mask-image-conic-from-pos": [{
2653
2653
  "mask-conic-from": A()
@@ -2731,21 +2731,21 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
2731
2731
  * @see https://tailwindcss.com/docs/blur
2732
2732
  */
2733
2733
  blur: [{
2734
- blur: G()
2734
+ blur: z()
2735
2735
  }],
2736
2736
  /**
2737
2737
  * Brightness
2738
2738
  * @see https://tailwindcss.com/docs/brightness
2739
2739
  */
2740
2740
  brightness: [{
2741
- brightness: [ce, ae, oe]
2741
+ brightness: [ue, ae, oe]
2742
2742
  }],
2743
2743
  /**
2744
2744
  * Contrast
2745
2745
  * @see https://tailwindcss.com/docs/contrast
2746
2746
  */
2747
2747
  contrast: [{
2748
- contrast: [ce, ae, oe]
2748
+ contrast: [ue, ae, oe]
2749
2749
  }],
2750
2750
  /**
2751
2751
  * Drop Shadow
@@ -2773,35 +2773,35 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
2773
2773
  * @see https://tailwindcss.com/docs/grayscale
2774
2774
  */
2775
2775
  grayscale: [{
2776
- grayscale: ["", ce, ae, oe]
2776
+ grayscale: ["", ue, ae, oe]
2777
2777
  }],
2778
2778
  /**
2779
2779
  * Hue Rotate
2780
2780
  * @see https://tailwindcss.com/docs/hue-rotate
2781
2781
  */
2782
2782
  "hue-rotate": [{
2783
- "hue-rotate": [ce, ae, oe]
2783
+ "hue-rotate": [ue, ae, oe]
2784
2784
  }],
2785
2785
  /**
2786
2786
  * Invert
2787
2787
  * @see https://tailwindcss.com/docs/invert
2788
2788
  */
2789
2789
  invert: [{
2790
- invert: ["", ce, ae, oe]
2790
+ invert: ["", ue, ae, oe]
2791
2791
  }],
2792
2792
  /**
2793
2793
  * Saturate
2794
2794
  * @see https://tailwindcss.com/docs/saturate
2795
2795
  */
2796
2796
  saturate: [{
2797
- saturate: [ce, ae, oe]
2797
+ saturate: [ue, ae, oe]
2798
2798
  }],
2799
2799
  /**
2800
2800
  * Sepia
2801
2801
  * @see https://tailwindcss.com/docs/sepia
2802
2802
  */
2803
2803
  sepia: [{
2804
- sepia: ["", ce, ae, oe]
2804
+ sepia: ["", ue, ae, oe]
2805
2805
  }],
2806
2806
  /**
2807
2807
  * Backdrop Filter
@@ -2821,63 +2821,63 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
2821
2821
  * @see https://tailwindcss.com/docs/backdrop-blur
2822
2822
  */
2823
2823
  "backdrop-blur": [{
2824
- "backdrop-blur": G()
2824
+ "backdrop-blur": z()
2825
2825
  }],
2826
2826
  /**
2827
2827
  * Backdrop Brightness
2828
2828
  * @see https://tailwindcss.com/docs/backdrop-brightness
2829
2829
  */
2830
2830
  "backdrop-brightness": [{
2831
- "backdrop-brightness": [ce, ae, oe]
2831
+ "backdrop-brightness": [ue, ae, oe]
2832
2832
  }],
2833
2833
  /**
2834
2834
  * Backdrop Contrast
2835
2835
  * @see https://tailwindcss.com/docs/backdrop-contrast
2836
2836
  */
2837
2837
  "backdrop-contrast": [{
2838
- "backdrop-contrast": [ce, ae, oe]
2838
+ "backdrop-contrast": [ue, ae, oe]
2839
2839
  }],
2840
2840
  /**
2841
2841
  * Backdrop Grayscale
2842
2842
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2843
2843
  */
2844
2844
  "backdrop-grayscale": [{
2845
- "backdrop-grayscale": ["", ce, ae, oe]
2845
+ "backdrop-grayscale": ["", ue, ae, oe]
2846
2846
  }],
2847
2847
  /**
2848
2848
  * Backdrop Hue Rotate
2849
2849
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2850
2850
  */
2851
2851
  "backdrop-hue-rotate": [{
2852
- "backdrop-hue-rotate": [ce, ae, oe]
2852
+ "backdrop-hue-rotate": [ue, ae, oe]
2853
2853
  }],
2854
2854
  /**
2855
2855
  * Backdrop Invert
2856
2856
  * @see https://tailwindcss.com/docs/backdrop-invert
2857
2857
  */
2858
2858
  "backdrop-invert": [{
2859
- "backdrop-invert": ["", ce, ae, oe]
2859
+ "backdrop-invert": ["", ue, ae, oe]
2860
2860
  }],
2861
2861
  /**
2862
2862
  * Backdrop Opacity
2863
2863
  * @see https://tailwindcss.com/docs/backdrop-opacity
2864
2864
  */
2865
2865
  "backdrop-opacity": [{
2866
- "backdrop-opacity": [ce, ae, oe]
2866
+ "backdrop-opacity": [ue, ae, oe]
2867
2867
  }],
2868
2868
  /**
2869
2869
  * Backdrop Saturate
2870
2870
  * @see https://tailwindcss.com/docs/backdrop-saturate
2871
2871
  */
2872
2872
  "backdrop-saturate": [{
2873
- "backdrop-saturate": [ce, ae, oe]
2873
+ "backdrop-saturate": [ue, ae, oe]
2874
2874
  }],
2875
2875
  /**
2876
2876
  * Backdrop Sepia
2877
2877
  * @see https://tailwindcss.com/docs/backdrop-sepia
2878
2878
  */
2879
2879
  "backdrop-sepia": [{
2880
- "backdrop-sepia": ["", ce, ae, oe]
2880
+ "backdrop-sepia": ["", ue, ae, oe]
2881
2881
  }],
2882
2882
  // --------------
2883
2883
  // --- Tables ---
@@ -2946,7 +2946,7 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
2946
2946
  * @see https://tailwindcss.com/docs/transition-duration
2947
2947
  */
2948
2948
  duration: [{
2949
- duration: [ce, "initial", ae, oe]
2949
+ duration: [ue, "initial", ae, oe]
2950
2950
  }],
2951
2951
  /**
2952
2952
  * Transition Timing Function
@@ -2960,7 +2960,7 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
2960
2960
  * @see https://tailwindcss.com/docs/transition-delay
2961
2961
  */
2962
2962
  delay: [{
2963
- delay: [ce, ae, oe]
2963
+ delay: [ue, ae, oe]
2964
2964
  }],
2965
2965
  /**
2966
2966
  * Animation
@@ -2998,56 +2998,56 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
2998
2998
  * @see https://tailwindcss.com/docs/rotate
2999
2999
  */
3000
3000
  rotate: [{
3001
- rotate: B()
3001
+ rotate: Z()
3002
3002
  }],
3003
3003
  /**
3004
3004
  * Rotate X
3005
3005
  * @see https://tailwindcss.com/docs/rotate
3006
3006
  */
3007
3007
  "rotate-x": [{
3008
- "rotate-x": B()
3008
+ "rotate-x": Z()
3009
3009
  }],
3010
3010
  /**
3011
3011
  * Rotate Y
3012
3012
  * @see https://tailwindcss.com/docs/rotate
3013
3013
  */
3014
3014
  "rotate-y": [{
3015
- "rotate-y": B()
3015
+ "rotate-y": Z()
3016
3016
  }],
3017
3017
  /**
3018
3018
  * Rotate Z
3019
3019
  * @see https://tailwindcss.com/docs/rotate
3020
3020
  */
3021
3021
  "rotate-z": [{
3022
- "rotate-z": B()
3022
+ "rotate-z": Z()
3023
3023
  }],
3024
3024
  /**
3025
3025
  * Scale
3026
3026
  * @see https://tailwindcss.com/docs/scale
3027
3027
  */
3028
3028
  scale: [{
3029
- scale: ee()
3029
+ scale: H()
3030
3030
  }],
3031
3031
  /**
3032
3032
  * Scale X
3033
3033
  * @see https://tailwindcss.com/docs/scale
3034
3034
  */
3035
3035
  "scale-x": [{
3036
- "scale-x": ee()
3036
+ "scale-x": H()
3037
3037
  }],
3038
3038
  /**
3039
3039
  * Scale Y
3040
3040
  * @see https://tailwindcss.com/docs/scale
3041
3041
  */
3042
3042
  "scale-y": [{
3043
- "scale-y": ee()
3043
+ "scale-y": H()
3044
3044
  }],
3045
3045
  /**
3046
3046
  * Scale Z
3047
3047
  * @see https://tailwindcss.com/docs/scale
3048
3048
  */
3049
3049
  "scale-z": [{
3050
- "scale-z": ee()
3050
+ "scale-z": H()
3051
3051
  }],
3052
3052
  /**
3053
3053
  * Scale 3D
@@ -3404,7 +3404,7 @@ const bi = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, yi = ql, q
3404
3404
  * @see https://tailwindcss.com/docs/stroke-width
3405
3405
  */
3406
3406
  "stroke-w": [{
3407
- stroke: [ce, Dr, Dt, ea]
3407
+ stroke: [ue, Dr, Dt, ea]
3408
3408
  }],
3409
3409
  /**
3410
3410
  * Stroke
@@ -3804,7 +3804,7 @@ function Me(...e) {
3804
3804
  };
3805
3805
  };
3806
3806
  }
3807
- function le(...e) {
3807
+ function ce(...e) {
3808
3808
  return d.useCallback(Me(...e), e);
3809
3809
  }
3810
3810
  function Qv(e, t) {
@@ -3975,12 +3975,12 @@ var ch = "DismissableLayer", wa = "dismissableLayer.update", uh = "dismissableLa
3975
3975
  onInteractOutside: s,
3976
3976
  onDismiss: i,
3977
3977
  ...c
3978
- } = e, u = d.useContext(uc), [f, p] = d.useState(null), m = (f == null ? void 0 : f.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, g] = d.useState({}), h = le(t, (N) => p(N)), v = Array.from(u.layers), [x] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), b = v.indexOf(x), y = f ? v.indexOf(f) : -1, w = u.layersWithOutsidePointerEventsDisabled.size > 0, C = y >= b, E = mh((N) => {
3979
- const j = N.target, D = [...u.branches].some((F) => F.contains(j));
3978
+ } = e, u = d.useContext(uc), [f, p] = d.useState(null), m = (f == null ? void 0 : f.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, g] = d.useState({}), h = ce(t, (N) => p(N)), v = Array.from(u.layers), [x] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), b = v.indexOf(x), y = f ? v.indexOf(f) : -1, w = u.layersWithOutsidePointerEventsDisabled.size > 0, C = y >= b, E = mh((N) => {
3979
+ const j = N.target, D = [...u.branches].some((V) => V.contains(j));
3980
3980
  !C || D || (o == null || o(N), s == null || s(N), N.defaultPrevented || i == null || i());
3981
3981
  }, m), R = gh((N) => {
3982
3982
  const j = N.target;
3983
- [...u.branches].some((F) => F.contains(j)) || (a == null || a(N), s == null || s(N), N.defaultPrevented || i == null || i());
3983
+ [...u.branches].some((V) => V.contains(j)) || (a == null || a(N), s == null || s(N), N.defaultPrevented || i == null || i());
3984
3984
  }, m);
3985
3985
  return lh((N) => {
3986
3986
  y === u.layers.size - 1 && (n == null || n(N), !N.defaultPrevented && i && (N.preventDefault(), i()));
@@ -4015,7 +4015,7 @@ var ch = "DismissableLayer", wa = "dismissableLayer.update", uh = "dismissableLa
4015
4015
  );
4016
4016
  yr.displayName = ch;
4017
4017
  var fh = "DismissableLayerBranch", ph = d.forwardRef((e, t) => {
4018
- const r = d.useContext(uc), n = d.useRef(null), o = le(t, n);
4018
+ const r = d.useContext(uc), n = d.useRef(null), o = ce(t, n);
4019
4019
  return d.useEffect(() => {
4020
4020
  const a = n.current;
4021
4021
  if (a)
@@ -4370,12 +4370,12 @@ const Th = (e) => ({
4370
4370
  }, g = Qa(o), h = Ja(g), v = await s.getDimensions(u), x = g === "y", b = x ? "top" : "left", y = x ? "bottom" : "right", w = x ? "clientHeight" : "clientWidth", C = a.reference[h] + a.reference[g] - m[g] - a.floating[h], E = m[g] - a.reference[g], R = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(u));
4371
4371
  let N = R ? R[w] : 0;
4372
4372
  (!N || !await (s.isElement == null ? void 0 : s.isElement(R))) && (N = i.floating[w] || a.floating[h]);
4373
- const j = C / 2 - E / 2, D = N / 2 - v[h] / 2 - 1, F = wt(p[b], D), q = wt(p[y], D), Q = F, Z = N - v[h] - q, z = N / 2 - v[h] / 2 + j, O = Ca(Q, z, Z), I = !c.arrow && wr(o) != null && z !== O && a.reference[h] / 2 - (z < Q ? F : q) - v[h] / 2 < 0, M = I ? z < Q ? z - Q : z - Z : 0;
4373
+ const j = C / 2 - E / 2, D = N / 2 - v[h] / 2 - 1, V = wt(p[b], D), W = wt(p[y], D), Q = V, ee = N - v[h] - W, G = N / 2 - v[h] / 2 + j, O = Ca(Q, G, ee), I = !c.arrow && wr(o) != null && G !== O && a.reference[h] / 2 - (G < Q ? V : W) - v[h] / 2 < 0, M = I ? G < Q ? G - Q : G - ee : 0;
4374
4374
  return {
4375
4375
  [g]: m[g] + M,
4376
4376
  data: {
4377
4377
  [g]: O,
4378
- centerOffset: z - O - M,
4378
+ centerOffset: G - O - M,
4379
4379
  ...I && {
4380
4380
  alignmentOffset: M
4381
4381
  }
@@ -4410,35 +4410,35 @@ const Th = (e) => ({
4410
4410
  const b = mt(o), y = ot(i), w = mt(i) === i, C = await (c.isRTL == null ? void 0 : c.isRTL(u.floating)), E = m || (w || !v ? [qn(i)] : Sh(i)), R = h !== "none";
4411
4411
  !m && R && E.push(...Rh(i, v, h, C));
4412
4412
  const N = [i, ...E], j = await Ur(t, x), D = [];
4413
- let F = ((n = a.flip) == null ? void 0 : n.overflows) || [];
4413
+ let V = ((n = a.flip) == null ? void 0 : n.overflows) || [];
4414
4414
  if (f && D.push(j[b]), p) {
4415
- const z = Ch(o, s, C);
4416
- D.push(j[z[0]], j[z[1]]);
4415
+ const G = Ch(o, s, C);
4416
+ D.push(j[G[0]], j[G[1]]);
4417
4417
  }
4418
- if (F = [...F, {
4418
+ if (V = [...V, {
4419
4419
  placement: o,
4420
4420
  overflows: D
4421
- }], !D.every((z) => z <= 0)) {
4422
- var q, Q;
4423
- const z = (((q = a.flip) == null ? void 0 : q.index) || 0) + 1, O = N[z];
4421
+ }], !D.every((G) => G <= 0)) {
4422
+ var W, Q;
4423
+ const G = (((W = a.flip) == null ? void 0 : W.index) || 0) + 1, O = N[G];
4424
4424
  if (O && (!(p === "alignment" ? y !== ot(O) : !1) || // We leave the current main axis only if every placement on that axis
4425
4425
  // overflows the main axis.
4426
- F.every((P) => ot(P.placement) === y ? P.overflows[0] > 0 : !0)))
4426
+ V.every((P) => ot(P.placement) === y ? P.overflows[0] > 0 : !0)))
4427
4427
  return {
4428
4428
  data: {
4429
- index: z,
4430
- overflows: F
4429
+ index: G,
4430
+ overflows: V
4431
4431
  },
4432
4432
  reset: {
4433
4433
  placement: O
4434
4434
  }
4435
4435
  };
4436
- let I = (Q = F.filter((M) => M.overflows[0] <= 0).sort((M, P) => M.overflows[1] - P.overflows[1])[0]) == null ? void 0 : Q.placement;
4436
+ let I = (Q = V.filter((M) => M.overflows[0] <= 0).sort((M, P) => M.overflows[1] - P.overflows[1])[0]) == null ? void 0 : Q.placement;
4437
4437
  if (!I)
4438
4438
  switch (g) {
4439
4439
  case "bestFit": {
4440
- var Z;
4441
- const M = (Z = F.filter((P) => {
4440
+ var ee;
4441
+ const M = (ee = V.filter((P) => {
4442
4442
  if (R) {
4443
4443
  const _ = ot(P.placement);
4444
4444
  return _ === y || // Create a bias to the `y` side axis due to horizontal
@@ -4446,7 +4446,7 @@ const Th = (e) => ({
4446
4446
  _ === "y";
4447
4447
  }
4448
4448
  return !0;
4449
- }).map((P) => [P.placement, P.overflows.filter((_) => _ > 0).reduce((_, U) => _ + U, 0)]).sort((P, _) => P[1] - _[1])[0]) == null ? void 0 : Z[0];
4449
+ }).map((P) => [P.placement, P.overflows.filter((_) => _ > 0).reduce((_, U) => _ + U, 0)]).sort((P, _) => P[1] - _[1])[0]) == null ? void 0 : ee[0];
4450
4450
  M && (I = M);
4451
4451
  break;
4452
4452
  }
@@ -4689,8 +4689,8 @@ const Oh = function(e) {
4689
4689
  const y = v - f.top - f.bottom, w = h - f.left - f.right, C = wt(v - f[x], y), E = wt(h - f[b], w), R = !t.middlewareData.shift;
4690
4690
  let N = C, j = E;
4691
4691
  if ((r = t.middlewareData.shift) != null && r.enabled.x && (j = w), (n = t.middlewareData.shift) != null && n.enabled.y && (N = y), R && !m) {
4692
- const F = Le(f.left, 0), q = Le(f.right, 0), Q = Le(f.top, 0), Z = Le(f.bottom, 0);
4693
- g ? j = h - 2 * (F !== 0 || q !== 0 ? F + q : Le(f.left, f.right)) : N = v - 2 * (Q !== 0 || Z !== 0 ? Q + Z : Le(f.top, f.bottom));
4692
+ const V = Le(f.left, 0), W = Le(f.right, 0), Q = Le(f.top, 0), ee = Le(f.bottom, 0);
4693
+ g ? j = h - 2 * (V !== 0 || W !== 0 ? V + W : Le(f.left, f.right)) : N = v - 2 * (Q !== 0 || ee !== 0 ? Q + ee : Le(f.top, f.bottom));
4694
4694
  }
4695
4695
  await c({
4696
4696
  ...t,
@@ -5278,7 +5278,7 @@ function bx(e) {
5278
5278
  P !== R.current && (R.current = P, v(P));
5279
5279
  }, []), w = d.useCallback((P) => {
5280
5280
  P !== N.current && (N.current = P, b(P));
5281
- }, []), C = a || h, E = s || x, R = d.useRef(null), N = d.useRef(null), j = d.useRef(f), D = c != null, F = ra(c), q = ra(o), Q = ra(u), Z = d.useCallback(() => {
5281
+ }, []), C = a || h, E = s || x, R = d.useRef(null), N = d.useRef(null), j = d.useRef(f), D = c != null, V = ra(c), W = ra(o), Q = ra(u), ee = d.useCallback(() => {
5282
5282
  if (!R.current || !N.current)
5283
5283
  return;
5284
5284
  const P = {
@@ -5286,7 +5286,7 @@ function bx(e) {
5286
5286
  strategy: r,
5287
5287
  middleware: m
5288
5288
  };
5289
- q.current && (P.platform = q.current), vx(R.current, N.current, P).then((_) => {
5289
+ W.current && (P.platform = W.current), vx(R.current, N.current, P).then((_) => {
5290
5290
  const U = {
5291
5291
  ..._,
5292
5292
  // The floating element's position may be recomputed while it's closed
@@ -5295,27 +5295,27 @@ function bx(e) {
5295
5295
  // setting it to `true` when `open === false` (must be specified).
5296
5296
  isPositioned: Q.current !== !1
5297
5297
  };
5298
- z.current && !Un(j.current, U) && (j.current = U, io.flushSync(() => {
5298
+ G.current && !Un(j.current, U) && (j.current = U, io.flushSync(() => {
5299
5299
  p(U);
5300
5300
  }));
5301
5301
  });
5302
- }, [m, t, r, q, Q]);
5302
+ }, [m, t, r, W, Q]);
5303
5303
  Dn(() => {
5304
5304
  u === !1 && j.current.isPositioned && (j.current.isPositioned = !1, p((P) => ({
5305
5305
  ...P,
5306
5306
  isPositioned: !1
5307
5307
  })));
5308
5308
  }, [u]);
5309
- const z = d.useRef(!1);
5310
- Dn(() => (z.current = !0, () => {
5311
- z.current = !1;
5309
+ const G = d.useRef(!1);
5310
+ Dn(() => (G.current = !0, () => {
5311
+ G.current = !1;
5312
5312
  }), []), Dn(() => {
5313
5313
  if (C && (R.current = C), E && (N.current = E), C && E) {
5314
- if (F.current)
5315
- return F.current(C, E, Z);
5316
- Z();
5314
+ if (V.current)
5315
+ return V.current(C, E, ee);
5316
+ ee();
5317
5317
  }
5318
- }, [C, E, Z, F, D]);
5318
+ }, [C, E, ee, V, D]);
5319
5319
  const O = d.useMemo(() => ({
5320
5320
  reference: R,
5321
5321
  floating: N,
@@ -5347,11 +5347,11 @@ function bx(e) {
5347
5347
  }, [r, i, I.floating, f.x, f.y]);
5348
5348
  return d.useMemo(() => ({
5349
5349
  ...f,
5350
- update: Z,
5350
+ update: ee,
5351
5351
  refs: O,
5352
5352
  elements: I,
5353
5353
  floatingStyles: M
5354
- }), [f, Z, O, I, M]);
5354
+ }), [f, ee, O, I, M]);
5355
5355
  }
5356
5356
  const yx = (e) => {
5357
5357
  function t(r) {
@@ -5442,7 +5442,7 @@ var ns = "Popper", [Ec, Et] = Ae(ns), [Tx, Nc] = Ec(ns), jc = (e) => {
5442
5442
  jc.displayName = ns;
5443
5443
  var Rc = "PopperAnchor", kc = d.forwardRef(
5444
5444
  (e, t) => {
5445
- const { __scopePopper: r, virtualRef: n, ...o } = e, a = Nc(Rc, r), s = d.useRef(null), i = le(t, s), c = d.useRef(null);
5445
+ const { __scopePopper: r, virtualRef: n, ...o } = e, a = Nc(Rc, r), s = d.useRef(null), i = ce(t, s), c = d.useRef(null);
5446
5446
  return d.useEffect(() => {
5447
5447
  const u = c.current;
5448
5448
  c.current = (n == null ? void 0 : n.current) || s.current, u !== c.current && a.onAnchorChange(c.current);
@@ -5452,7 +5452,7 @@ var Rc = "PopperAnchor", kc = d.forwardRef(
5452
5452
  kc.displayName = Rc;
5453
5453
  var os = "PopperContent", [Ax, Ix] = Ec(os), Pc = d.forwardRef(
5454
5454
  (e, t) => {
5455
- var A, G, B, ee, te, $;
5455
+ var A, z, Z, H, te, $;
5456
5456
  const {
5457
5457
  __scopePopper: r,
5458
5458
  side: n = "bottom",
@@ -5468,12 +5468,12 @@ var os = "PopperContent", [Ax, Ix] = Ec(os), Pc = d.forwardRef(
5468
5468
  updatePositionStrategy: g = "optimized",
5469
5469
  onPlaced: h,
5470
5470
  ...v
5471
- } = e, x = Nc(os, r), [b, y] = d.useState(null), w = le(t, (se) => y(se)), [C, E] = d.useState(null), R = go(C), N = (R == null ? void 0 : R.width) ?? 0, j = (R == null ? void 0 : R.height) ?? 0, D = n + (a !== "center" ? "-" + a : ""), F = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, q = Array.isArray(u) ? u : [u], Q = q.length > 0, Z = {
5472
- padding: F,
5473
- boundary: q.filter(Ox),
5471
+ } = e, x = Nc(os, r), [b, y] = d.useState(null), w = ce(t, (se) => y(se)), [C, E] = d.useState(null), R = go(C), N = (R == null ? void 0 : R.width) ?? 0, j = (R == null ? void 0 : R.height) ?? 0, D = n + (a !== "center" ? "-" + a : ""), V = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, W = Array.isArray(u) ? u : [u], Q = W.length > 0, ee = {
5472
+ padding: V,
5473
+ boundary: W.filter(Ox),
5474
5474
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
5475
5475
  altBoundary: Q
5476
- }, { refs: z, floatingStyles: O, placement: I, isPositioned: M, middlewareData: P } = bx({
5476
+ }, { refs: G, floatingStyles: O, placement: I, isPositioned: M, middlewareData: P } = bx({
5477
5477
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
5478
5478
  strategy: "fixed",
5479
5479
  placement: D,
@@ -5489,31 +5489,31 @@ var os = "PopperContent", [Ax, Ix] = Ec(os), Pc = d.forwardRef(
5489
5489
  mainAxis: !0,
5490
5490
  crossAxis: !1,
5491
5491
  limiter: p === "partial" ? Sx() : void 0,
5492
- ...Z
5492
+ ...ee
5493
5493
  }),
5494
- c && Ex({ ...Z }),
5494
+ c && Ex({ ...ee }),
5495
5495
  Nx({
5496
- ...Z,
5497
- apply: ({ elements: se, rects: ue, availableWidth: me, availableHeight: be }) => {
5498
- const { width: Re, height: We } = ue.reference, ke = se.floating.style;
5499
- ke.setProperty("--radix-popper-available-width", `${me}px`), ke.setProperty("--radix-popper-available-height", `${be}px`), ke.setProperty("--radix-popper-anchor-width", `${Re}px`), ke.setProperty("--radix-popper-anchor-height", `${We}px`);
5496
+ ...ee,
5497
+ apply: ({ elements: se, rects: le, availableWidth: me, availableHeight: ve }) => {
5498
+ const { width: Re, height: We } = le.reference, ke = se.floating.style;
5499
+ ke.setProperty("--radix-popper-available-width", `${me}px`), ke.setProperty("--radix-popper-available-height", `${ve}px`), ke.setProperty("--radix-popper-anchor-width", `${Re}px`), ke.setProperty("--radix-popper-anchor-height", `${We}px`);
5500
5500
  }
5501
5501
  }),
5502
5502
  C && Rx({ element: C, padding: i }),
5503
5503
  Mx({ arrowWidth: N, arrowHeight: j }),
5504
- m && jx({ strategy: "referenceHidden", ...Z })
5504
+ m && jx({ strategy: "referenceHidden", ...ee })
5505
5505
  ]
5506
5506
  }), [_, U] = Ic(I), J = Ke(h);
5507
5507
  Te(() => {
5508
5508
  M && (J == null || J());
5509
5509
  }, [M, J]);
5510
- const T = (A = P.arrow) == null ? void 0 : A.x, H = (G = P.arrow) == null ? void 0 : G.y, X = ((B = P.arrow) == null ? void 0 : B.centerOffset) !== 0, [Y, L] = d.useState();
5510
+ const T = (A = P.arrow) == null ? void 0 : A.x, q = (z = P.arrow) == null ? void 0 : z.y, X = ((Z = P.arrow) == null ? void 0 : Z.centerOffset) !== 0, [Y, L] = d.useState();
5511
5511
  return Te(() => {
5512
5512
  b && L(window.getComputedStyle(b).zIndex);
5513
5513
  }, [b]), /* @__PURE__ */ l.jsx(
5514
5514
  "div",
5515
5515
  {
5516
- ref: z.setFloating,
5516
+ ref: G.setFloating,
5517
5517
  "data-radix-popper-content-wrapper": "",
5518
5518
  style: {
5519
5519
  ...O,
@@ -5522,7 +5522,7 @@ var os = "PopperContent", [Ax, Ix] = Ec(os), Pc = d.forwardRef(
5522
5522
  minWidth: "max-content",
5523
5523
  zIndex: Y,
5524
5524
  "--radix-popper-transform-origin": [
5525
- (ee = P.transformOrigin) == null ? void 0 : ee.x,
5525
+ (H = P.transformOrigin) == null ? void 0 : H.x,
5526
5526
  (te = P.transformOrigin) == null ? void 0 : te.y
5527
5527
  ].join(" "),
5528
5528
  // hide the content if using the hide middleware and should be hidden
@@ -5541,7 +5541,7 @@ var os = "PopperContent", [Ax, Ix] = Ec(os), Pc = d.forwardRef(
5541
5541
  placedSide: _,
5542
5542
  onArrowChange: E,
5543
5543
  arrowX: T,
5544
- arrowY: H,
5544
+ arrowY: q,
5545
5545
  shouldHideArrow: X,
5546
5546
  children: /* @__PURE__ */ l.jsx(
5547
5547
  ne.div,
@@ -5645,7 +5645,7 @@ function $x(e, t) {
5645
5645
  return d.useReducer((r, n) => t[r][n] ?? r, e);
5646
5646
  }
5647
5647
  var Ie = (e) => {
5648
- const { present: t, children: r } = e, n = Lx(t), o = typeof r == "function" ? r({ present: n.isPresent }) : d.Children.only(r), a = le(n.ref, Fx(o));
5648
+ const { present: t, children: r } = e, n = Lx(t), o = typeof r == "function" ? r({ present: n.isPresent }) : d.Children.only(r), a = ce(n.ref, Fx(o));
5649
5649
  return typeof r == "function" || n.isPresent ? d.cloneElement(o, { ref: a }) : null;
5650
5650
  };
5651
5651
  Ie.displayName = "Presence";
@@ -5874,7 +5874,7 @@ var Yr = "Tooltip", [Yx, on] = xo(Yr), $c = (e) => {
5874
5874
  $c.displayName = Yr;
5875
5875
  var ja = "TooltipTrigger", Lc = d.forwardRef(
5876
5876
  (e, t) => {
5877
- const { __scopeTooltip: r, ...n } = e, o = on(ja, r), a = as(ja, r), s = bo(r), i = d.useRef(null), c = le(t, i, o.onTriggerChange), u = d.useRef(!1), f = d.useRef(!1), p = d.useCallback(() => u.current = !1, []);
5877
+ const { __scopeTooltip: r, ...n } = e, o = on(ja, r), a = as(ja, r), s = bo(r), i = d.useRef(null), c = ce(t, i, o.onTriggerChange), u = d.useRef(!1), f = d.useRef(!1), p = d.useCallback(() => u.current = !1, []);
5878
5878
  return d.useEffect(() => () => document.removeEventListener("pointerup", p), [p]), /* @__PURE__ */ l.jsx(nn, { asChild: !0, ...s, children: /* @__PURE__ */ l.jsx(
5879
5879
  ne.button,
5880
5880
  {
@@ -5914,7 +5914,7 @@ var mr = "TooltipContent", Vc = d.forwardRef(
5914
5914
  return /* @__PURE__ */ l.jsx(Ie, { present: n || s.open, children: s.disableHoverableContent ? /* @__PURE__ */ l.jsx(Bc, { side: o, ...a, ref: t }) : /* @__PURE__ */ l.jsx(Jx, { side: o, ...a, ref: t }) });
5915
5915
  }
5916
5916
  ), Jx = d.forwardRef((e, t) => {
5917
- const r = on(mr, e.__scopeTooltip), n = as(mr, e.__scopeTooltip), o = d.useRef(null), a = le(t, o), [s, i] = d.useState(null), { trigger: c, onClose: u } = r, f = o.current, { onPointerInTransitChange: p } = n, m = d.useCallback(() => {
5917
+ const r = on(mr, e.__scopeTooltip), n = as(mr, e.__scopeTooltip), o = d.useRef(null), a = ce(t, o), [s, i] = d.useState(null), { trigger: c, onClose: u } = r, f = o.current, { onPointerInTransitChange: p } = n, m = d.useCallback(() => {
5918
5918
  i(null), p(!1);
5919
5919
  }, [p]), g = d.useCallback(
5920
5920
  (h, v) => {
@@ -6310,27 +6310,27 @@ function wo(e) {
6310
6310
  t,
6311
6311
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
6312
6312
  ), s = (v) => {
6313
- const { scope: x, children: b } = v, y = W.useRef(null), w = W.useRef(/* @__PURE__ */ new Map()).current;
6313
+ const { scope: x, children: b } = v, y = B.useRef(null), w = B.useRef(/* @__PURE__ */ new Map()).current;
6314
6314
  return /* @__PURE__ */ l.jsx(o, { scope: x, itemMap: w, collectionRef: y, children: b });
6315
6315
  };
6316
6316
  s.displayName = t;
6317
- const i = e + "CollectionSlot", c = /* @__PURE__ */ Wi(i), u = W.forwardRef(
6317
+ const i = e + "CollectionSlot", c = /* @__PURE__ */ Wi(i), u = B.forwardRef(
6318
6318
  (v, x) => {
6319
- const { scope: b, children: y } = v, w = a(i, b), C = le(x, w.collectionRef);
6319
+ const { scope: b, children: y } = v, w = a(i, b), C = ce(x, w.collectionRef);
6320
6320
  return /* @__PURE__ */ l.jsx(c, { ref: C, children: y });
6321
6321
  }
6322
6322
  );
6323
6323
  u.displayName = i;
6324
- const f = e + "CollectionItemSlot", p = "data-radix-collection-item", m = /* @__PURE__ */ Wi(f), g = W.forwardRef(
6324
+ const f = e + "CollectionItemSlot", p = "data-radix-collection-item", m = /* @__PURE__ */ Wi(f), g = B.forwardRef(
6325
6325
  (v, x) => {
6326
- const { scope: b, children: y, ...w } = v, C = W.useRef(null), E = le(x, C), R = a(f, b);
6327
- return W.useEffect(() => (R.itemMap.set(C, { ref: C, ...w }), () => void R.itemMap.delete(C))), /* @__PURE__ */ l.jsx(m, { [p]: "", ref: E, children: y });
6326
+ const { scope: b, children: y, ...w } = v, C = B.useRef(null), E = ce(x, C), R = a(f, b);
6327
+ return B.useEffect(() => (R.itemMap.set(C, { ref: C, ...w }), () => void R.itemMap.delete(C))), /* @__PURE__ */ l.jsx(m, { [p]: "", ref: E, children: y });
6328
6328
  }
6329
6329
  );
6330
6330
  g.displayName = f;
6331
6331
  function h(v) {
6332
6332
  const x = a(e + "CollectionConsumer", v);
6333
- return W.useCallback(() => {
6333
+ return B.useCallback(() => {
6334
6334
  const y = x.collectionRef.current;
6335
6335
  if (!y) return [];
6336
6336
  const w = Array.from(y.querySelectorAll(`[${p}]`));
@@ -6370,7 +6370,7 @@ var oa = "focusScope.autoFocusOnMount", aa = "focusScope.autoFocusOnUnmount", zi
6370
6370
  onMountAutoFocus: o,
6371
6371
  onUnmountAutoFocus: a,
6372
6372
  ...s
6373
- } = e, [i, c] = d.useState(null), u = Ke(o), f = Ke(a), p = d.useRef(null), m = le(t, (v) => c(v)), g = d.useRef({
6373
+ } = e, [i, c] = d.useState(null), u = Ke(o), f = Ke(a), p = d.useRef(null), m = ce(t, (v) => c(v)), g = d.useRef({
6374
6374
  paused: !1,
6375
6375
  pause() {
6376
6376
  this.paused = !0;
@@ -6991,13 +6991,13 @@ function vy(e) {
6991
6991
  var b = In(v), y = r.current, w = "deltaX" in v ? v.deltaX : y[0] - b[0], C = "deltaY" in v ? v.deltaY : y[1] - b[1], E, R = v.target, N = Math.abs(w) > Math.abs(C) ? "h" : "v";
6992
6992
  if ("touches" in v && N === "h" && R.type === "range")
6993
6993
  return !1;
6994
- var j = window.getSelection(), D = j && j.anchorNode, F = D ? D === R || D.contains(R) : !1;
6995
- if (F)
6994
+ var j = window.getSelection(), D = j && j.anchorNode, V = D ? D === R || D.contains(R) : !1;
6995
+ if (V)
6996
6996
  return !1;
6997
- var q = Xi(N, R);
6998
- if (!q)
6997
+ var W = Xi(N, R);
6998
+ if (!W)
6999
6999
  return !0;
7000
- if (q ? E = N : (E = N === "v" ? "h" : "v", q = Xi(N, R)), !q)
7000
+ if (W ? E = N : (E = N === "v" ? "h" : "v", W = Xi(N, R)), !W)
7001
7001
  return !1;
7002
7002
  if (!n.current && "changedTouches" in v && (w || C) && (n.current = E), !E)
7003
7003
  return !0;
@@ -7087,12 +7087,12 @@ var by = [" ", "Enter", "ArrowUp", "ArrowDown"], yy = [" ", "Enter"], Ft = "Sele
7087
7087
  defaultProp: o ?? !1,
7088
7088
  onChange: a,
7089
7089
  caller: Ft
7090
- }), [D, F] = Pe({
7090
+ }), [D, V] = Pe({
7091
7091
  prop: s,
7092
7092
  defaultProp: i,
7093
7093
  onChange: c,
7094
7094
  caller: Ft
7095
- }), q = d.useRef(null), Q = x ? h || !!x.closest("form") : !0, [Z, z] = d.useState(/* @__PURE__ */ new Set()), O = Array.from(Z).map((I) => I.props.value).join(";");
7095
+ }), W = d.useRef(null), Q = x ? h || !!x.closest("form") : !0, [ee, G] = d.useState(/* @__PURE__ */ new Set()), O = Array.from(ee).map((I) => I.props.value).join(";");
7096
7096
  return /* @__PURE__ */ l.jsx(rn, { ...v, children: /* @__PURE__ */ l.jsxs(
7097
7097
  Cy,
7098
7098
  {
@@ -7106,11 +7106,11 @@ var by = [" ", "Enter", "ArrowUp", "ArrowDown"], yy = [" ", "Enter"], Ft = "Sele
7106
7106
  onValueNodeHasChildrenChange: E,
7107
7107
  contentId: ye(),
7108
7108
  value: D,
7109
- onValueChange: F,
7109
+ onValueChange: V,
7110
7110
  open: N,
7111
7111
  onOpenChange: j,
7112
7112
  dir: R,
7113
- triggerPointerDownPosRef: q,
7113
+ triggerPointerDownPosRef: W,
7114
7114
  disabled: m,
7115
7115
  children: [
7116
7116
  /* @__PURE__ */ l.jsx(jo.Provider, { scope: t, children: /* @__PURE__ */ l.jsx(
@@ -7118,10 +7118,10 @@ var by = [" ", "Enter", "ArrowUp", "ArrowDown"], yy = [" ", "Enter"], Ft = "Sele
7118
7118
  {
7119
7119
  scope: e.__scopeSelect,
7120
7120
  onNativeOptionAdd: d.useCallback((I) => {
7121
- z((M) => new Set(M).add(I));
7121
+ G((M) => new Set(M).add(I));
7122
7122
  }, []),
7123
7123
  onNativeOptionRemove: d.useCallback((I) => {
7124
- z((M) => {
7124
+ G((M) => {
7125
7125
  const P = new Set(M);
7126
7126
  return P.delete(I), P;
7127
7127
  });
@@ -7138,12 +7138,12 @@ var by = [" ", "Enter", "ArrowUp", "ArrowDown"], yy = [" ", "Enter"], Ft = "Sele
7138
7138
  name: f,
7139
7139
  autoComplete: p,
7140
7140
  value: D,
7141
- onChange: (I) => F(I.target.value),
7141
+ onChange: (I) => V(I.target.value),
7142
7142
  disabled: m,
7143
7143
  form: h,
7144
7144
  children: [
7145
7145
  D === void 0 ? /* @__PURE__ */ l.jsx("option", { value: "" }) : null,
7146
- Array.from(Z)
7146
+ Array.from(ee)
7147
7147
  ]
7148
7148
  },
7149
7149
  O
@@ -7155,7 +7155,7 @@ var by = [" ", "Enter", "ArrowUp", "ArrowDown"], yy = [" ", "Enter"], Ft = "Sele
7155
7155
  tu.displayName = Ft;
7156
7156
  var ru = "SelectTrigger", nu = d.forwardRef(
7157
7157
  (e, t) => {
7158
- const { __scopeSelect: r, disabled: n = !1, ...o } = e, a = ko(r), s = Nt(ru, r), i = s.disabled || n, c = le(t, s.onTriggerChange), u = Ro(r), f = d.useRef("touch"), [p, m, g] = ku((v) => {
7158
+ const { __scopeSelect: r, disabled: n = !1, ...o } = e, a = ko(r), s = Nt(ru, r), i = s.disabled || n, c = ce(t, s.onTriggerChange), u = Ro(r), f = d.useRef("touch"), [p, m, g] = ku((v) => {
7159
7159
  const x = u().filter((w) => !w.disabled), b = x.find((w) => w.value === s.value), y = Pu(x, v, b);
7160
7160
  y !== void 0 && s.onValueChange(y.value);
7161
7161
  }), h = (v) => {
@@ -7199,7 +7199,7 @@ var ru = "SelectTrigger", nu = d.forwardRef(
7199
7199
  nu.displayName = ru;
7200
7200
  var ou = "SelectValue", au = d.forwardRef(
7201
7201
  (e, t) => {
7202
- const { __scopeSelect: r, className: n, style: o, children: a, placeholder: s = "", ...i } = e, c = Nt(ou, r), { onValueNodeHasChildrenChange: u } = c, f = a !== void 0, p = le(t, c.onValueNodeChange);
7202
+ const { __scopeSelect: r, className: n, style: o, children: a, placeholder: s = "", ...i } = e, c = Nt(ou, r), { onValueNodeHasChildrenChange: u } = c, f = a !== void 0, p = ce(t, c.onValueNodeChange);
7203
7203
  return Te(() => {
7204
7204
  u(f);
7205
7205
  }, [u, f]), /* @__PURE__ */ l.jsx(
@@ -7261,17 +7261,17 @@ var He = 10, [cu, jt] = Er(Vt), Ry = "SelectContentImpl", ky = /* @__PURE__ */ k
7261
7261
  avoidCollisions: x,
7262
7262
  //
7263
7263
  ...b
7264
- } = e, y = Nt(Vt, r), [w, C] = d.useState(null), [E, R] = d.useState(null), N = le(t, (A) => C(A)), [j, D] = d.useState(null), [F, q] = d.useState(
7264
+ } = e, y = Nt(Vt, r), [w, C] = d.useState(null), [E, R] = d.useState(null), N = ce(t, (A) => C(A)), [j, D] = d.useState(null), [V, W] = d.useState(
7265
7265
  null
7266
- ), Q = Ro(r), [Z, z] = d.useState(!1), O = d.useRef(!1);
7266
+ ), Q = Ro(r), [ee, G] = d.useState(!1), O = d.useRef(!1);
7267
7267
  d.useEffect(() => {
7268
7268
  if (w) return Eo(w);
7269
7269
  }, [w]), Co();
7270
7270
  const I = d.useCallback(
7271
7271
  (A) => {
7272
- const [G, ...B] = Q().map(($) => $.ref.current), [ee] = B.slice(-1), te = document.activeElement;
7272
+ const [z, ...Z] = Q().map(($) => $.ref.current), [H] = Z.slice(-1), te = document.activeElement;
7273
7273
  for (const $ of A)
7274
- if ($ === te || ($ == null || $.scrollIntoView({ block: "nearest" }), $ === G && E && (E.scrollTop = 0), $ === ee && E && (E.scrollTop = E.scrollHeight), $ == null || $.focus(), document.activeElement !== te)) return;
7274
+ if ($ === te || ($ == null || $.scrollIntoView({ block: "nearest" }), $ === z && E && (E.scrollTop = 0), $ === H && E && (E.scrollTop = E.scrollHeight), $ == null || $.focus(), document.activeElement !== te)) return;
7275
7275
  },
7276
7276
  [Q, E]
7277
7277
  ), M = d.useCallback(
@@ -7279,23 +7279,23 @@ var He = 10, [cu, jt] = Er(Vt), Ry = "SelectContentImpl", ky = /* @__PURE__ */ k
7279
7279
  [I, j, w]
7280
7280
  );
7281
7281
  d.useEffect(() => {
7282
- Z && M();
7283
- }, [Z, M]);
7282
+ ee && M();
7283
+ }, [ee, M]);
7284
7284
  const { onOpenChange: P, triggerPointerDownPosRef: _ } = y;
7285
7285
  d.useEffect(() => {
7286
7286
  if (w) {
7287
7287
  let A = { x: 0, y: 0 };
7288
- const G = (ee) => {
7288
+ const z = (H) => {
7289
7289
  var te, $;
7290
7290
  A = {
7291
- x: Math.abs(Math.round(ee.pageX) - (((te = _.current) == null ? void 0 : te.x) ?? 0)),
7292
- y: Math.abs(Math.round(ee.pageY) - ((($ = _.current) == null ? void 0 : $.y) ?? 0))
7291
+ x: Math.abs(Math.round(H.pageX) - (((te = _.current) == null ? void 0 : te.x) ?? 0)),
7292
+ y: Math.abs(Math.round(H.pageY) - ((($ = _.current) == null ? void 0 : $.y) ?? 0))
7293
7293
  };
7294
- }, B = (ee) => {
7295
- A.x <= 10 && A.y <= 10 ? ee.preventDefault() : w.contains(ee.target) || P(!1), document.removeEventListener("pointermove", G), _.current = null;
7294
+ }, Z = (H) => {
7295
+ A.x <= 10 && A.y <= 10 ? H.preventDefault() : w.contains(H.target) || P(!1), document.removeEventListener("pointermove", z), _.current = null;
7296
7296
  };
7297
- return _.current !== null && (document.addEventListener("pointermove", G), document.addEventListener("pointerup", B, { capture: !0, once: !0 })), () => {
7298
- document.removeEventListener("pointermove", G), document.removeEventListener("pointerup", B, { capture: !0 });
7297
+ return _.current !== null && (document.addEventListener("pointermove", z), document.addEventListener("pointerup", Z, { capture: !0, once: !0 })), () => {
7298
+ document.removeEventListener("pointermove", z), document.removeEventListener("pointerup", Z, { capture: !0 });
7299
7299
  };
7300
7300
  }
7301
7301
  }, [w, P, _]), d.useEffect(() => {
@@ -7305,18 +7305,18 @@ var He = 10, [cu, jt] = Er(Vt), Ry = "SelectContentImpl", ky = /* @__PURE__ */ k
7305
7305
  };
7306
7306
  }, [P]);
7307
7307
  const [U, J] = ku((A) => {
7308
- const G = Q().filter((te) => !te.disabled), B = G.find((te) => te.ref.current === document.activeElement), ee = Pu(G, A, B);
7309
- ee && setTimeout(() => ee.ref.current.focus());
7308
+ const z = Q().filter((te) => !te.disabled), Z = z.find((te) => te.ref.current === document.activeElement), H = Pu(z, A, Z);
7309
+ H && setTimeout(() => H.ref.current.focus());
7310
7310
  }), T = d.useCallback(
7311
- (A, G, B) => {
7312
- const ee = !O.current && !B;
7313
- (y.value !== void 0 && y.value === G || ee) && (D(A), ee && (O.current = !0));
7311
+ (A, z, Z) => {
7312
+ const H = !O.current && !Z;
7313
+ (y.value !== void 0 && y.value === z || H) && (D(A), H && (O.current = !0));
7314
7314
  },
7315
7315
  [y.value]
7316
- ), H = d.useCallback(() => w == null ? void 0 : w.focus(), [w]), X = d.useCallback(
7317
- (A, G, B) => {
7318
- const ee = !O.current && !B;
7319
- (y.value !== void 0 && y.value === G || ee) && q(A);
7316
+ ), q = d.useCallback(() => w == null ? void 0 : w.focus(), [w]), X = d.useCallback(
7317
+ (A, z, Z) => {
7318
+ const H = !O.current && !Z;
7319
+ (y.value !== void 0 && y.value === z || H) && W(A);
7320
7320
  },
7321
7321
  [y.value]
7322
7322
  ), Y = n === "popper" ? ka : du, L = Y === ka ? {
@@ -7340,12 +7340,12 @@ var He = 10, [cu, jt] = Er(Vt), Ry = "SelectContentImpl", ky = /* @__PURE__ */ k
7340
7340
  onViewportChange: R,
7341
7341
  itemRefCallback: T,
7342
7342
  selectedItem: j,
7343
- onItemLeave: H,
7343
+ onItemLeave: q,
7344
7344
  itemTextRefCallback: X,
7345
7345
  focusSelectedItem: M,
7346
- selectedItemText: F,
7346
+ selectedItemText: V,
7347
7347
  position: n,
7348
- isPositioned: Z,
7348
+ isPositioned: ee,
7349
7349
  searchRef: U,
7350
7350
  children: /* @__PURE__ */ l.jsx(sn, { as: ky, allowPinchZoom: !0, children: /* @__PURE__ */ l.jsx(
7351
7351
  an,
@@ -7356,8 +7356,8 @@ var He = 10, [cu, jt] = Er(Vt), Ry = "SelectContentImpl", ky = /* @__PURE__ */ k
7356
7356
  A.preventDefault();
7357
7357
  },
7358
7358
  onUnmountAutoFocus: K(o, (A) => {
7359
- var G;
7360
- (G = y.trigger) == null || G.focus({ preventScroll: !0 }), A.preventDefault();
7359
+ var z;
7360
+ (z = y.trigger) == null || z.focus({ preventScroll: !0 }), A.preventDefault();
7361
7361
  }),
7362
7362
  children: /* @__PURE__ */ l.jsx(
7363
7363
  yr,
@@ -7378,7 +7378,7 @@ var He = 10, [cu, jt] = Er(Vt), Ry = "SelectContentImpl", ky = /* @__PURE__ */ k
7378
7378
  onContextMenu: (A) => A.preventDefault(),
7379
7379
  ...b,
7380
7380
  ...L,
7381
- onPlaced: () => z(!0),
7381
+ onPlaced: () => G(!0),
7382
7382
  ref: N,
7383
7383
  style: {
7384
7384
  // flex layout so we can place the scroll buttons properly
@@ -7389,14 +7389,14 @@ var He = 10, [cu, jt] = Er(Vt), Ry = "SelectContentImpl", ky = /* @__PURE__ */ k
7389
7389
  ...b.style
7390
7390
  },
7391
7391
  onKeyDown: K(b.onKeyDown, (A) => {
7392
- const G = A.ctrlKey || A.altKey || A.metaKey;
7393
- if (A.key === "Tab" && A.preventDefault(), !G && A.key.length === 1 && J(A.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(A.key)) {
7394
- let ee = Q().filter((te) => !te.disabled).map((te) => te.ref.current);
7395
- if (["ArrowUp", "End"].includes(A.key) && (ee = ee.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(A.key)) {
7396
- const te = A.target, $ = ee.indexOf(te);
7397
- ee = ee.slice($ + 1);
7392
+ const z = A.ctrlKey || A.altKey || A.metaKey;
7393
+ if (A.key === "Tab" && A.preventDefault(), !z && A.key.length === 1 && J(A.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(A.key)) {
7394
+ let H = Q().filter((te) => !te.disabled).map((te) => te.ref.current);
7395
+ if (["ArrowUp", "End"].includes(A.key) && (H = H.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(A.key)) {
7396
+ const te = A.target, $ = H.indexOf(te);
7397
+ H = H.slice($ + 1);
7398
7398
  }
7399
- setTimeout(() => I(ee)), A.preventDefault();
7399
+ setTimeout(() => I(H)), A.preventDefault();
7400
7400
  }
7401
7401
  })
7402
7402
  }
@@ -7411,46 +7411,46 @@ var He = 10, [cu, jt] = Er(Vt), Ry = "SelectContentImpl", ky = /* @__PURE__ */ k
7411
7411
  );
7412
7412
  uu.displayName = Ry;
7413
7413
  var Py = "SelectItemAlignedPosition", du = d.forwardRef((e, t) => {
7414
- const { __scopeSelect: r, onPlaced: n, ...o } = e, a = Nt(Vt, r), s = jt(Vt, r), [i, c] = d.useState(null), [u, f] = d.useState(null), p = le(t, (N) => f(N)), m = Ro(r), g = d.useRef(!1), h = d.useRef(!0), { viewport: v, selectedItem: x, selectedItemText: b, focusSelectedItem: y } = s, w = d.useCallback(() => {
7414
+ const { __scopeSelect: r, onPlaced: n, ...o } = e, a = Nt(Vt, r), s = jt(Vt, r), [i, c] = d.useState(null), [u, f] = d.useState(null), p = ce(t, (N) => f(N)), m = Ro(r), g = d.useRef(!1), h = d.useRef(!0), { viewport: v, selectedItem: x, selectedItemText: b, focusSelectedItem: y } = s, w = d.useCallback(() => {
7415
7415
  if (a.trigger && a.valueNode && i && u && v && x && b) {
7416
- const N = a.trigger.getBoundingClientRect(), j = u.getBoundingClientRect(), D = a.valueNode.getBoundingClientRect(), F = b.getBoundingClientRect();
7416
+ const N = a.trigger.getBoundingClientRect(), j = u.getBoundingClientRect(), D = a.valueNode.getBoundingClientRect(), V = b.getBoundingClientRect();
7417
7417
  if (a.dir !== "rtl") {
7418
- const te = F.left - j.left, $ = D.left - te, se = N.left - $, ue = N.width + se, me = Math.max(ue, j.width), be = window.innerWidth - He, Re = Bi($, [
7418
+ const te = V.left - j.left, $ = D.left - te, se = N.left - $, le = N.width + se, me = Math.max(le, j.width), ve = window.innerWidth - He, Re = Bi($, [
7419
7419
  He,
7420
7420
  // Prevents the content from going off the starting edge of the
7421
7421
  // viewport. It may still go off the ending edge, but this can be
7422
7422
  // controlled by the user since they may want to manage overflow in a
7423
7423
  // specific way.
7424
7424
  // https://github.com/radix-ui/primitives/issues/2049
7425
- Math.max(He, be - me)
7425
+ Math.max(He, ve - me)
7426
7426
  ]);
7427
- i.style.minWidth = ue + "px", i.style.left = Re + "px";
7427
+ i.style.minWidth = le + "px", i.style.left = Re + "px";
7428
7428
  } else {
7429
- const te = j.right - F.right, $ = window.innerWidth - D.right - te, se = window.innerWidth - N.right - $, ue = N.width + se, me = Math.max(ue, j.width), be = window.innerWidth - He, Re = Bi($, [
7429
+ const te = j.right - V.right, $ = window.innerWidth - D.right - te, se = window.innerWidth - N.right - $, le = N.width + se, me = Math.max(le, j.width), ve = window.innerWidth - He, Re = Bi($, [
7430
7430
  He,
7431
- Math.max(He, be - me)
7431
+ Math.max(He, ve - me)
7432
7432
  ]);
7433
- i.style.minWidth = ue + "px", i.style.right = Re + "px";
7433
+ i.style.minWidth = le + "px", i.style.right = Re + "px";
7434
7434
  }
7435
- const q = m(), Q = window.innerHeight - He * 2, Z = v.scrollHeight, z = window.getComputedStyle(u), O = parseInt(z.borderTopWidth, 10), I = parseInt(z.paddingTop, 10), M = parseInt(z.borderBottomWidth, 10), P = parseInt(z.paddingBottom, 10), _ = O + I + Z + P + M, U = Math.min(x.offsetHeight * 5, _), J = window.getComputedStyle(v), T = parseInt(J.paddingTop, 10), H = parseInt(J.paddingBottom, 10), X = N.top + N.height / 2 - He, Y = Q - X, L = x.offsetHeight / 2, A = x.offsetTop + L, G = O + I + A, B = _ - G;
7436
- if (G <= X) {
7437
- const te = q.length > 0 && x === q[q.length - 1].ref.current;
7435
+ const W = m(), Q = window.innerHeight - He * 2, ee = v.scrollHeight, G = window.getComputedStyle(u), O = parseInt(G.borderTopWidth, 10), I = parseInt(G.paddingTop, 10), M = parseInt(G.borderBottomWidth, 10), P = parseInt(G.paddingBottom, 10), _ = O + I + ee + P + M, U = Math.min(x.offsetHeight * 5, _), J = window.getComputedStyle(v), T = parseInt(J.paddingTop, 10), q = parseInt(J.paddingBottom, 10), X = N.top + N.height / 2 - He, Y = Q - X, L = x.offsetHeight / 2, A = x.offsetTop + L, z = O + I + A, Z = _ - z;
7436
+ if (z <= X) {
7437
+ const te = W.length > 0 && x === W[W.length - 1].ref.current;
7438
7438
  i.style.bottom = "0px";
7439
7439
  const $ = u.clientHeight - v.offsetTop - v.offsetHeight, se = Math.max(
7440
7440
  Y,
7441
7441
  L + // viewport might have padding bottom, include it to avoid a scrollable viewport
7442
- (te ? H : 0) + $ + M
7443
- ), ue = G + se;
7444
- i.style.height = ue + "px";
7442
+ (te ? q : 0) + $ + M
7443
+ ), le = z + se;
7444
+ i.style.height = le + "px";
7445
7445
  } else {
7446
- const te = q.length > 0 && x === q[0].ref.current;
7446
+ const te = W.length > 0 && x === W[0].ref.current;
7447
7447
  i.style.top = "0px";
7448
7448
  const se = Math.max(
7449
7449
  X,
7450
7450
  O + v.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
7451
7451
  (te ? T : 0) + L
7452
- ) + B;
7453
- i.style.height = se + "px", v.scrollTop = G - X + v.offsetTop;
7452
+ ) + Z;
7453
+ i.style.height = se + "px", v.scrollTop = z - X + v.offsetTop;
7454
7454
  }
7455
7455
  i.style.margin = `${He}px 0`, i.style.minHeight = U + "px", i.style.maxHeight = Q + "px", n == null || n(), requestAnimationFrame(() => g.current = !0);
7456
7456
  }
@@ -7546,7 +7546,7 @@ var Ty = "SelectPopperPosition", ka = d.forwardRef((e, t) => {
7546
7546
  ka.displayName = Ty;
7547
7547
  var [Ay, us] = Er(Vt, {}), Pa = "SelectViewport", fu = d.forwardRef(
7548
7548
  (e, t) => {
7549
- const { __scopeSelect: r, nonce: n, ...o } = e, a = jt(Pa, r), s = us(Pa, r), i = le(t, a.onViewportChange), c = d.useRef(0);
7549
+ const { __scopeSelect: r, nonce: n, ...o } = e, a = jt(Pa, r), s = us(Pa, r), i = ce(t, a.onViewportChange), c = d.useRef(0);
7550
7550
  return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
7551
7551
  /* @__PURE__ */ l.jsx(
7552
7552
  "style",
@@ -7619,7 +7619,7 @@ var Kn = "SelectItem", [Oy, hu] = Er(Kn), xu = d.forwardRef(
7619
7619
  disabled: o = !1,
7620
7620
  textValue: a,
7621
7621
  ...s
7622
- } = e, i = Nt(Kn, r), c = jt(Kn, r), u = i.value === n, [f, p] = d.useState(a ?? ""), [m, g] = d.useState(!1), h = le(
7622
+ } = e, i = Nt(Kn, r), c = jt(Kn, r), u = i.value === n, [f, p] = d.useState(a ?? ""), [m, g] = d.useState(!1), h = ce(
7623
7623
  t,
7624
7624
  (y) => {
7625
7625
  var w;
@@ -7697,7 +7697,7 @@ var Kn = "SelectItem", [Oy, hu] = Er(Kn), xu = d.forwardRef(
7697
7697
  xu.displayName = Kn;
7698
7698
  var Fr = "SelectItemText", bu = d.forwardRef(
7699
7699
  (e, t) => {
7700
- const { __scopeSelect: r, className: n, style: o, ...a } = e, s = Nt(Fr, r), i = jt(Fr, r), c = hu(Fr, r), u = Ey(Fr, r), [f, p] = d.useState(null), m = le(
7700
+ const { __scopeSelect: r, className: n, style: o, ...a } = e, s = Nt(Fr, r), i = jt(Fr, r), c = hu(Fr, r), u = Ey(Fr, r), [f, p] = d.useState(null), m = ce(
7701
7701
  t,
7702
7702
  (b) => p(b),
7703
7703
  c.onItemTextChange,
@@ -7724,7 +7724,7 @@ var yu = "SelectItemIndicator", wu = d.forwardRef(
7724
7724
  );
7725
7725
  wu.displayName = yu;
7726
7726
  var Ta = "SelectScrollUpButton", Cu = d.forwardRef((e, t) => {
7727
- const r = jt(Ta, e.__scopeSelect), n = us(Ta, e.__scopeSelect), [o, a] = d.useState(!1), s = le(t, n.onScrollButtonChange);
7727
+ const r = jt(Ta, e.__scopeSelect), n = us(Ta, e.__scopeSelect), [o, a] = d.useState(!1), s = ce(t, n.onScrollButtonChange);
7728
7728
  return Te(() => {
7729
7729
  if (r.viewport && r.isPositioned) {
7730
7730
  let i = function() {
@@ -7748,7 +7748,7 @@ var Ta = "SelectScrollUpButton", Cu = d.forwardRef((e, t) => {
7748
7748
  });
7749
7749
  Cu.displayName = Ta;
7750
7750
  var Aa = "SelectScrollDownButton", Su = d.forwardRef((e, t) => {
7751
- const r = jt(Aa, e.__scopeSelect), n = us(Aa, e.__scopeSelect), [o, a] = d.useState(!1), s = le(t, n.onScrollButtonChange);
7751
+ const r = jt(Aa, e.__scopeSelect), n = us(Aa, e.__scopeSelect), [o, a] = d.useState(!1), s = ce(t, n.onScrollButtonChange);
7752
7752
  return Te(() => {
7753
7753
  if (r.viewport && r.isPositioned) {
7754
7754
  let i = function() {
@@ -7814,7 +7814,7 @@ var Ia = "SelectArrow", Dy = d.forwardRef(
7814
7814
  Dy.displayName = Ia;
7815
7815
  var $y = "SelectBubbleInput", ju = d.forwardRef(
7816
7816
  ({ __scopeSelect: e, value: t, ...r }, n) => {
7817
- const o = d.useRef(null), a = le(n, o), s = So(t);
7817
+ const o = d.useRef(null), a = ce(n, o), s = So(t);
7818
7818
  return d.useEffect(() => {
7819
7819
  const i = o.current;
7820
7820
  if (!i) return;
@@ -8096,7 +8096,7 @@ var Po = "Dialog", [Vu] = Ae(Po), [pw, Je] = Vu(Po), Bu = (e) => {
8096
8096
  Bu.displayName = Po;
8097
8097
  var Wu = "DialogTrigger", Gu = d.forwardRef(
8098
8098
  (e, t) => {
8099
- const { __scopeDialog: r, ...n } = e, o = Je(Wu, r), a = le(t, o.triggerRef);
8099
+ const { __scopeDialog: r, ...n } = e, o = Je(Wu, r), a = ce(t, o.triggerRef);
8100
8100
  return /* @__PURE__ */ l.jsx(
8101
8101
  ne.button,
8102
8102
  {
@@ -8153,7 +8153,7 @@ var gw = /* @__PURE__ */ iw("DialogOverlay.RemoveScroll"), vw = d.forwardRef(
8153
8153
  Uu.displayName = Bt;
8154
8154
  var hw = d.forwardRef(
8155
8155
  (e, t) => {
8156
- const r = Je(Bt, e.__scopeDialog), n = d.useRef(null), o = le(t, r.contentRef, n);
8156
+ const r = Je(Bt, e.__scopeDialog), n = d.useRef(null), o = ce(t, r.contentRef, n);
8157
8157
  return d.useEffect(() => {
8158
8158
  const a = n.current;
8159
8159
  if (a) return Eo(a);
@@ -8204,7 +8204,7 @@ var hw = d.forwardRef(
8204
8204
  }
8205
8205
  ), Ku = d.forwardRef(
8206
8206
  (e, t) => {
8207
- const { __scopeDialog: r, trapFocus: n, onOpenAutoFocus: o, onCloseAutoFocus: a, ...s } = e, i = Je(Bt, r), c = d.useRef(null), u = le(t, c);
8207
+ const { __scopeDialog: r, trapFocus: n, onOpenAutoFocus: o, onCloseAutoFocus: a, ...s } = e, i = Je(Bt, r), c = d.useRef(null), u = ce(t, c);
8208
8208
  return Co(), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
8209
8209
  /* @__PURE__ */ l.jsx(
8210
8210
  an,
@@ -8289,8 +8289,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8289
8289
  }, [n, e, t]), null;
8290
8290
  }, rd = Bu, Cw = Gu, nd = qu, od = Hu, ad = Uu, Sw = Yu, Ew = Zu, sd = Qu, $r = '[cmdk-group=""]', fa = '[cmdk-group-items=""]', Nw = '[cmdk-group-heading=""]', id = '[cmdk-item=""]', tl = `${id}:not([aria-disabled="true"])`, Oa = "cmdk-item-select", ir = "data-value", jw = (e, t, r) => sw(e, t, r), ld = d.createContext(void 0), ln = () => d.useContext(ld), cd = d.createContext(void 0), ms = () => d.useContext(cd), ud = d.createContext(void 0), dd = d.forwardRef((e, t) => {
8291
8291
  let r = lr(() => {
8292
- var T, H;
8293
- return { search: "", value: (H = (T = e.value) != null ? T : e.defaultValue) != null ? H : "", selectedItemId: void 0, filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() } };
8292
+ var T, q;
8293
+ return { search: "", value: (q = (T = e.value) != null ? T : e.defaultValue) != null ? q : "", selectedItemId: void 0, filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() } };
8294
8294
  }), n = lr(() => /* @__PURE__ */ new Set()), o = lr(() => /* @__PURE__ */ new Map()), a = lr(() => /* @__PURE__ */ new Map()), s = lr(() => /* @__PURE__ */ new Set()), i = fd(e), { label: c, children: u, value: f, onValueChange: p, filter: m, shouldFilter: g, loop: h, disablePointerSelection: v = !1, vimBindings: x = !0, ...b } = e, y = ye(), w = ye(), C = ye(), E = d.useRef(null), R = $w();
8295
8295
  Wt(() => {
8296
8296
  if (f !== void 0) {
@@ -8298,23 +8298,23 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8298
8298
  r.current.value = T, N.emit();
8299
8299
  }
8300
8300
  }, [f]), Wt(() => {
8301
- R(6, Z);
8301
+ R(6, ee);
8302
8302
  }, []);
8303
- let N = d.useMemo(() => ({ subscribe: (T) => (s.current.add(T), () => s.current.delete(T)), snapshot: () => r.current, setState: (T, H, X) => {
8304
- var Y, L, A, G;
8305
- if (!Object.is(r.current[T], H)) {
8306
- if (r.current[T] = H, T === "search") Q(), F(), R(1, q);
8303
+ let N = d.useMemo(() => ({ subscribe: (T) => (s.current.add(T), () => s.current.delete(T)), snapshot: () => r.current, setState: (T, q, X) => {
8304
+ var Y, L, A, z;
8305
+ if (!Object.is(r.current[T], q)) {
8306
+ if (r.current[T] = q, T === "search") Q(), V(), R(1, W);
8307
8307
  else if (T === "value") {
8308
8308
  if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
8309
- let B = document.getElementById(C);
8310
- B ? B.focus() : (Y = document.getElementById(y)) == null || Y.focus();
8309
+ let Z = document.getElementById(C);
8310
+ Z ? Z.focus() : (Y = document.getElementById(y)) == null || Y.focus();
8311
8311
  }
8312
8312
  if (R(7, () => {
8313
- var B;
8314
- r.current.selectedItemId = (B = z()) == null ? void 0 : B.id, N.emit();
8315
- }), X || R(5, Z), ((L = i.current) == null ? void 0 : L.value) !== void 0) {
8316
- let B = H ?? "";
8317
- (G = (A = i.current).onValueChange) == null || G.call(A, B);
8313
+ var Z;
8314
+ r.current.selectedItemId = (Z = G()) == null ? void 0 : Z.id, N.emit();
8315
+ }), X || R(5, ee), ((L = i.current) == null ? void 0 : L.value) !== void 0) {
8316
+ let Z = q ?? "";
8317
+ (z = (A = i.current).onValueChange) == null || z.call(A, Z);
8318
8318
  return;
8319
8319
  }
8320
8320
  }
@@ -8322,57 +8322,57 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8322
8322
  }
8323
8323
  }, emit: () => {
8324
8324
  s.current.forEach((T) => T());
8325
- } }), []), j = d.useMemo(() => ({ value: (T, H, X) => {
8325
+ } }), []), j = d.useMemo(() => ({ value: (T, q, X) => {
8326
8326
  var Y;
8327
- H !== ((Y = a.current.get(T)) == null ? void 0 : Y.value) && (a.current.set(T, { value: H, keywords: X }), r.current.filtered.items.set(T, D(H, X)), R(2, () => {
8328
- F(), N.emit();
8327
+ q !== ((Y = a.current.get(T)) == null ? void 0 : Y.value) && (a.current.set(T, { value: q, keywords: X }), r.current.filtered.items.set(T, D(q, X)), R(2, () => {
8328
+ V(), N.emit();
8329
8329
  }));
8330
- }, item: (T, H) => (n.current.add(T), H && (o.current.has(H) ? o.current.get(H).add(T) : o.current.set(H, /* @__PURE__ */ new Set([T]))), R(3, () => {
8331
- Q(), F(), r.current.value || q(), N.emit();
8330
+ }, item: (T, q) => (n.current.add(T), q && (o.current.has(q) ? o.current.get(q).add(T) : o.current.set(q, /* @__PURE__ */ new Set([T]))), R(3, () => {
8331
+ Q(), V(), r.current.value || W(), N.emit();
8332
8332
  }), () => {
8333
8333
  a.current.delete(T), n.current.delete(T), r.current.filtered.items.delete(T);
8334
- let X = z();
8334
+ let X = G();
8335
8335
  R(4, () => {
8336
- Q(), (X == null ? void 0 : X.getAttribute("id")) === T && q(), N.emit();
8336
+ Q(), (X == null ? void 0 : X.getAttribute("id")) === T && W(), N.emit();
8337
8337
  });
8338
8338
  }), group: (T) => (o.current.has(T) || o.current.set(T, /* @__PURE__ */ new Set()), () => {
8339
8339
  a.current.delete(T), o.current.delete(T);
8340
8340
  }), filter: () => i.current.shouldFilter, label: c || e["aria-label"], getDisablePointerSelection: () => i.current.disablePointerSelection, listId: y, inputId: C, labelId: w, listInnerRef: E }), []);
8341
- function D(T, H) {
8341
+ function D(T, q) {
8342
8342
  var X, Y;
8343
8343
  let L = (Y = (X = i.current) == null ? void 0 : X.filter) != null ? Y : jw;
8344
- return T ? L(T, r.current.search, H) : 0;
8344
+ return T ? L(T, r.current.search, q) : 0;
8345
8345
  }
8346
- function F() {
8346
+ function V() {
8347
8347
  if (!r.current.search || i.current.shouldFilter === !1) return;
8348
- let T = r.current.filtered.items, H = [];
8348
+ let T = r.current.filtered.items, q = [];
8349
8349
  r.current.filtered.groups.forEach((Y) => {
8350
8350
  let L = o.current.get(Y), A = 0;
8351
- L.forEach((G) => {
8352
- let B = T.get(G);
8353
- A = Math.max(B, A);
8354
- }), H.push([Y, A]);
8351
+ L.forEach((z) => {
8352
+ let Z = T.get(z);
8353
+ A = Math.max(Z, A);
8354
+ }), q.push([Y, A]);
8355
8355
  });
8356
8356
  let X = E.current;
8357
8357
  O().sort((Y, L) => {
8358
- var A, G;
8359
- let B = Y.getAttribute("id"), ee = L.getAttribute("id");
8360
- return ((A = T.get(ee)) != null ? A : 0) - ((G = T.get(B)) != null ? G : 0);
8358
+ var A, z;
8359
+ let Z = Y.getAttribute("id"), H = L.getAttribute("id");
8360
+ return ((A = T.get(H)) != null ? A : 0) - ((z = T.get(Z)) != null ? z : 0);
8361
8361
  }).forEach((Y) => {
8362
8362
  let L = Y.closest(fa);
8363
8363
  L ? L.appendChild(Y.parentElement === L ? Y : Y.closest(`${fa} > *`)) : X.appendChild(Y.parentElement === X ? Y : Y.closest(`${fa} > *`));
8364
- }), H.sort((Y, L) => L[1] - Y[1]).forEach((Y) => {
8364
+ }), q.sort((Y, L) => L[1] - Y[1]).forEach((Y) => {
8365
8365
  var L;
8366
8366
  let A = (L = E.current) == null ? void 0 : L.querySelector(`${$r}[${ir}="${encodeURIComponent(Y[0])}"]`);
8367
8367
  A == null || A.parentElement.appendChild(A);
8368
8368
  });
8369
8369
  }
8370
- function q() {
8371
- let T = O().find((X) => X.getAttribute("aria-disabled") !== "true"), H = T == null ? void 0 : T.getAttribute(ir);
8372
- N.setState("value", H || void 0);
8370
+ function W() {
8371
+ let T = O().find((X) => X.getAttribute("aria-disabled") !== "true"), q = T == null ? void 0 : T.getAttribute(ir);
8372
+ N.setState("value", q || void 0);
8373
8373
  }
8374
8374
  function Q() {
8375
- var T, H, X, Y;
8375
+ var T, q, X, Y;
8376
8376
  if (!r.current.search || i.current.shouldFilter === !1) {
8377
8377
  r.current.filtered.count = n.current.size;
8378
8378
  return;
@@ -8380,21 +8380,21 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8380
8380
  r.current.filtered.groups = /* @__PURE__ */ new Set();
8381
8381
  let L = 0;
8382
8382
  for (let A of n.current) {
8383
- let G = (H = (T = a.current.get(A)) == null ? void 0 : T.value) != null ? H : "", B = (Y = (X = a.current.get(A)) == null ? void 0 : X.keywords) != null ? Y : [], ee = D(G, B);
8384
- r.current.filtered.items.set(A, ee), ee > 0 && L++;
8383
+ let z = (q = (T = a.current.get(A)) == null ? void 0 : T.value) != null ? q : "", Z = (Y = (X = a.current.get(A)) == null ? void 0 : X.keywords) != null ? Y : [], H = D(z, Z);
8384
+ r.current.filtered.items.set(A, H), H > 0 && L++;
8385
8385
  }
8386
- for (let [A, G] of o.current) for (let B of G) if (r.current.filtered.items.get(B) > 0) {
8386
+ for (let [A, z] of o.current) for (let Z of z) if (r.current.filtered.items.get(Z) > 0) {
8387
8387
  r.current.filtered.groups.add(A);
8388
8388
  break;
8389
8389
  }
8390
8390
  r.current.filtered.count = L;
8391
8391
  }
8392
- function Z() {
8393
- var T, H, X;
8394
- let Y = z();
8395
- Y && (((T = Y.parentElement) == null ? void 0 : T.firstChild) === Y && ((X = (H = Y.closest($r)) == null ? void 0 : H.querySelector(Nw)) == null || X.scrollIntoView({ block: "nearest" })), Y.scrollIntoView({ block: "nearest" }));
8392
+ function ee() {
8393
+ var T, q, X;
8394
+ let Y = G();
8395
+ Y && (((T = Y.parentElement) == null ? void 0 : T.firstChild) === Y && ((X = (q = Y.closest($r)) == null ? void 0 : q.querySelector(Nw)) == null || X.scrollIntoView({ block: "nearest" })), Y.scrollIntoView({ block: "nearest" }));
8396
8396
  }
8397
- function z() {
8397
+ function G() {
8398
8398
  var T;
8399
8399
  return (T = E.current) == null ? void 0 : T.querySelector(`${id}[aria-selected="true"]`);
8400
8400
  }
@@ -8403,16 +8403,16 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8403
8403
  return Array.from(((T = E.current) == null ? void 0 : T.querySelectorAll(tl)) || []);
8404
8404
  }
8405
8405
  function I(T) {
8406
- let H = O()[T];
8407
- H && N.setState("value", H.getAttribute(ir));
8406
+ let q = O()[T];
8407
+ q && N.setState("value", q.getAttribute(ir));
8408
8408
  }
8409
8409
  function M(T) {
8410
- var H;
8411
- let X = z(), Y = O(), L = Y.findIndex((G) => G === X), A = Y[L + T];
8412
- (H = i.current) != null && H.loop && (A = L + T < 0 ? Y[Y.length - 1] : L + T === Y.length ? Y[0] : Y[L + T]), A && N.setState("value", A.getAttribute(ir));
8410
+ var q;
8411
+ let X = G(), Y = O(), L = Y.findIndex((z) => z === X), A = Y[L + T];
8412
+ (q = i.current) != null && q.loop && (A = L + T < 0 ? Y[Y.length - 1] : L + T === Y.length ? Y[0] : Y[L + T]), A && N.setState("value", A.getAttribute(ir));
8413
8413
  }
8414
8414
  function P(T) {
8415
- let H = z(), X = H == null ? void 0 : H.closest($r), Y;
8415
+ let q = G(), X = q == null ? void 0 : q.closest($r), Y;
8416
8416
  for (; X && !Y; ) X = T > 0 ? Mw(X, $r) : Dw(X, $r), Y = X == null ? void 0 : X.querySelector(tl);
8417
8417
  Y ? N.setState("value", Y.getAttribute(ir)) : M(T);
8418
8418
  }
@@ -8422,8 +8422,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8422
8422
  T.preventDefault(), T.metaKey ? I(0) : T.altKey ? P(-1) : M(-1);
8423
8423
  };
8424
8424
  return d.createElement(ne.div, { ref: t, tabIndex: -1, ...b, "cmdk-root": "", onKeyDown: (T) => {
8425
- var H;
8426
- (H = b.onKeyDown) == null || H.call(b, T);
8425
+ var q;
8426
+ (q = b.onKeyDown) == null || q.call(b, T);
8427
8427
  let X = T.nativeEvent.isComposing || T.keyCode === 229;
8428
8428
  if (!(T.defaultPrevented || X)) switch (T.key) {
8429
8429
  case "n":
@@ -8454,7 +8454,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8454
8454
  }
8455
8455
  case "Enter": {
8456
8456
  T.preventDefault();
8457
- let Y = z();
8457
+ let Y = G();
8458
8458
  if (Y) {
8459
8459
  let L = new Event(Oa);
8460
8460
  Y.dispatchEvent(L);
@@ -8929,7 +8929,7 @@ var Cd = "PopoverAnchor", Xw = d.forwardRef(
8929
8929
  Xw.displayName = Cd;
8930
8930
  var Sd = "PopoverTrigger", Ed = d.forwardRef(
8931
8931
  (e, t) => {
8932
- const { __scopePopover: r, ...n } = e, o = Rt(Sd, r), a = cn(r), s = le(t, o.triggerRef), i = /* @__PURE__ */ l.jsx(
8932
+ const { __scopePopover: r, ...n } = e, o = Rt(Sd, r), a = cn(r), s = ce(t, o.triggerRef), i = /* @__PURE__ */ l.jsx(
8933
8933
  ne.button,
8934
8934
  {
8935
8935
  type: "button",
@@ -8962,7 +8962,7 @@ var gr = "PopoverContent", jd = d.forwardRef(
8962
8962
  jd.displayName = gr;
8963
8963
  var Qw = /* @__PURE__ */ Gw("PopoverContent.RemoveScroll"), e0 = d.forwardRef(
8964
8964
  (e, t) => {
8965
- const r = Rt(gr, e.__scopePopover), n = d.useRef(null), o = le(t, n), a = d.useRef(!1);
8965
+ const r = Rt(gr, e.__scopePopover), n = d.useRef(null), o = ce(t, n), a = d.useRef(!1);
8966
8966
  return d.useEffect(() => {
8967
8967
  const s = n.current;
8968
8968
  if (s) return Eo(s);
@@ -9221,9 +9221,9 @@ const Td = d.forwardRef(
9221
9221
  "bg-purple-muted-500": D
9222
9222
  }
9223
9223
  ),
9224
- onSelect: (F) => {
9225
- F !== t && (r == null || r(
9226
- F === t ? "" : F
9224
+ onSelect: (V) => {
9225
+ V !== t && (r == null || r(
9226
+ V === t ? "" : V
9227
9227
  )), x(!1);
9228
9228
  },
9229
9229
  children: [
@@ -9647,7 +9647,7 @@ var Io = "Switch", [M0] = Ae(Io), [D0, $0] = M0(Io), $d = d.forwardRef(
9647
9647
  onCheckedChange: u,
9648
9648
  form: f,
9649
9649
  ...p
9650
- } = e, [m, g] = d.useState(null), h = le(t, (w) => g(w)), v = d.useRef(!1), x = m ? f || !!m.closest("form") : !0, [b, y] = Pe({
9650
+ } = e, [m, g] = d.useState(null), h = ce(t, (w) => g(w)), v = d.useRef(!1), x = m ? f || !!m.closest("form") : !0, [b, y] = Pe({
9651
9651
  prop: o,
9652
9652
  defaultProp: a ?? !1,
9653
9653
  onChange: u,
@@ -9713,7 +9713,7 @@ var L0 = "SwitchBubbleInput", Vd = d.forwardRef(
9713
9713
  bubbles: n = !0,
9714
9714
  ...o
9715
9715
  }, a) => {
9716
- const s = d.useRef(null), i = le(s, a), c = So(r), u = go(t);
9716
+ const s = d.useRef(null), i = ce(s, a), c = So(r), u = go(t);
9717
9717
  return d.useEffect(() => {
9718
9718
  const f = s.current;
9719
9719
  if (!f) return;
@@ -9900,7 +9900,7 @@ var Y0 = d.forwardRef((e, t) => {
9900
9900
  onEntryFocus: u,
9901
9901
  preventScrollOnEntryFocus: f = !1,
9902
9902
  ...p
9903
- } = e, m = d.useRef(null), g = le(t, m), h = Ht(a), [v, x] = Pe({
9903
+ } = e, m = d.useRef(null), g = ce(t, m), h = Ht(a), [v, x] = Pe({
9904
9904
  prop: s,
9905
9905
  defaultProp: i ?? null,
9906
9906
  onChange: c,
@@ -9945,9 +9945,9 @@ var Y0 = d.forwardRef((e, t) => {
9945
9945
  onFocus: K(e.onFocus, (j) => {
9946
9946
  const D = !E.current;
9947
9947
  if (j.target === j.currentTarget && D && !b) {
9948
- const F = new CustomEvent(pa, z0);
9949
- if (j.currentTarget.dispatchEvent(F), !F.defaultPrevented) {
9950
- const q = C().filter((I) => I.focusable), Q = q.find((I) => I.active), Z = q.find((I) => I.id === v), O = [Q, Z, ...q].filter(
9948
+ const V = new CustomEvent(pa, z0);
9949
+ if (j.currentTarget.dispatchEvent(V), !V.defaultPrevented) {
9950
+ const W = C().filter((I) => I.focusable), Q = W.find((I) => I.active), ee = W.find((I) => I.id === v), O = [Q, ee, ...W].filter(
9951
9951
  Boolean
9952
9952
  ).map((I) => I.ref.current);
9953
9953
  Kd(O, f);
@@ -10047,7 +10047,7 @@ function Q0(e, t) {
10047
10047
  }
10048
10048
  var _o = qd, Oo = Ud, Pt = "ToggleGroup", [Yd] = Ae(Pt, [
10049
10049
  kt
10050
- ]), Xd = kt(), Ss = W.forwardRef((e, t) => {
10050
+ ]), Xd = kt(), Ss = B.forwardRef((e, t) => {
10051
10051
  const { type: r, ...n } = e;
10052
10052
  if (r === "single") {
10053
10053
  const o = n;
@@ -10060,7 +10060,7 @@ var _o = qd, Oo = Ud, Pt = "ToggleGroup", [Yd] = Ae(Pt, [
10060
10060
  throw new Error(`Missing prop \`type\` expected on \`${Pt}\``);
10061
10061
  });
10062
10062
  Ss.displayName = Pt;
10063
- var [Zd, Jd] = Yd(Pt), eC = W.forwardRef((e, t) => {
10063
+ var [Zd, Jd] = Yd(Pt), eC = B.forwardRef((e, t) => {
10064
10064
  const {
10065
10065
  value: r,
10066
10066
  defaultValue: n,
@@ -10078,13 +10078,13 @@ var [Zd, Jd] = Yd(Pt), eC = W.forwardRef((e, t) => {
10078
10078
  {
10079
10079
  scope: e.__scopeToggleGroup,
10080
10080
  type: "single",
10081
- value: W.useMemo(() => s ? [s] : [], [s]),
10081
+ value: B.useMemo(() => s ? [s] : [], [s]),
10082
10082
  onItemActivate: i,
10083
- onItemDeactivate: W.useCallback(() => i(""), [i]),
10083
+ onItemDeactivate: B.useCallback(() => i(""), [i]),
10084
10084
  children: /* @__PURE__ */ l.jsx(Qd, { ...a, ref: t })
10085
10085
  }
10086
10086
  );
10087
- }), tC = W.forwardRef((e, t) => {
10087
+ }), tC = B.forwardRef((e, t) => {
10088
10088
  const {
10089
10089
  value: r,
10090
10090
  defaultValue: n,
@@ -10096,10 +10096,10 @@ var [Zd, Jd] = Yd(Pt), eC = W.forwardRef((e, t) => {
10096
10096
  defaultProp: n ?? [],
10097
10097
  onChange: o,
10098
10098
  caller: Pt
10099
- }), c = W.useCallback(
10099
+ }), c = B.useCallback(
10100
10100
  (f) => i((p = []) => [...p, f]),
10101
10101
  [i]
10102
- ), u = W.useCallback(
10102
+ ), u = B.useCallback(
10103
10103
  (f) => i((p = []) => p.filter((m) => m !== f)),
10104
10104
  [i]
10105
10105
  );
@@ -10116,7 +10116,7 @@ var [Zd, Jd] = Yd(Pt), eC = W.forwardRef((e, t) => {
10116
10116
  );
10117
10117
  });
10118
10118
  Ss.displayName = Pt;
10119
- var [rC, nC] = Yd(Pt), Qd = W.forwardRef(
10119
+ var [rC, nC] = Yd(Pt), Qd = B.forwardRef(
10120
10120
  (e, t) => {
10121
10121
  const {
10122
10122
  __scopeToggleGroup: r,
@@ -10139,9 +10139,9 @@ var [rC, nC] = Yd(Pt), Qd = W.forwardRef(
10139
10139
  }
10140
10140
  ) : /* @__PURE__ */ l.jsx(ne.div, { ...p, ref: t }) });
10141
10141
  }
10142
- ), Jn = "ToggleGroupItem", ef = W.forwardRef(
10142
+ ), Jn = "ToggleGroupItem", ef = B.forwardRef(
10143
10143
  (e, t) => {
10144
- const r = Jd(Jn, e.__scopeToggleGroup), n = nC(Jn, e.__scopeToggleGroup), o = Xd(e.__scopeToggleGroup), a = r.value.includes(e.value), s = n.disabled || e.disabled, i = { ...e, pressed: a, disabled: s }, c = W.useRef(null);
10144
+ const r = Jd(Jn, e.__scopeToggleGroup), n = nC(Jn, e.__scopeToggleGroup), o = Xd(e.__scopeToggleGroup), a = r.value.includes(e.value), s = n.disabled || e.disabled, i = { ...e, pressed: a, disabled: s }, c = B.useRef(null);
10145
10145
  return n.rovingFocus ? /* @__PURE__ */ l.jsx(
10146
10146
  Oo,
10147
10147
  {
@@ -10156,7 +10156,7 @@ var [rC, nC] = Yd(Pt), Qd = W.forwardRef(
10156
10156
  }
10157
10157
  );
10158
10158
  ef.displayName = Jn;
10159
- var ol = W.forwardRef(
10159
+ var ol = B.forwardRef(
10160
10160
  (e, t) => {
10161
10161
  const { __scopeToggleGroup: r, value: n, ...o } = e, a = Jd(Jn, r), s = { role: "radio", "aria-checked": e.pressed, "aria-pressed": void 0 }, i = a.type === "single" ? s : void 0;
10162
10162
  return /* @__PURE__ */ l.jsx(
@@ -10290,7 +10290,7 @@ var Ns = "CollapsibleContent", sf = d.forwardRef(
10290
10290
  );
10291
10291
  sf.displayName = Ns;
10292
10292
  var lC = d.forwardRef((e, t) => {
10293
- const { __scopeCollapsible: r, present: n, children: o, ...a } = e, s = Es(Ns, r), [i, c] = d.useState(n), u = d.useRef(null), f = le(t, u), p = d.useRef(0), m = p.current, g = d.useRef(0), h = g.current, v = s.open || i, x = d.useRef(v), b = d.useRef(void 0);
10293
+ const { __scopeCollapsible: r, present: n, children: o, ...a } = e, s = Es(Ns, r), [i, c] = d.useState(n), u = d.useRef(null), f = ce(t, u), p = d.useRef(0), m = p.current, g = d.useRef(0), h = g.current, v = s.open || i, x = d.useRef(v), b = d.useRef(void 0);
10294
10294
  return d.useEffect(() => {
10295
10295
  const y = requestAnimationFrame(() => x.current = !1);
10296
10296
  return () => cancelAnimationFrame(y);
@@ -10328,7 +10328,7 @@ function js(e) {
10328
10328
  var cC = nf, uC = af, dC = sf, Qe = "Accordion", fC = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"], [Rs, pC, mC] = wo(Qe), [Do] = Ae(Qe, [
10329
10329
  mC,
10330
10330
  rf
10331
- ]), ks = rf(), lf = W.forwardRef(
10331
+ ]), ks = rf(), lf = B.forwardRef(
10332
10332
  (e, t) => {
10333
10333
  const { type: r, ...n } = e, o = n, a = n;
10334
10334
  return /* @__PURE__ */ l.jsx(Rs.Provider, { scope: e.__scopeAccordion, children: r === "multiple" ? /* @__PURE__ */ l.jsx(xC, { ...a, ref: t }) : /* @__PURE__ */ l.jsx(hC, { ...o, ref: t }) });
@@ -10338,7 +10338,7 @@ lf.displayName = Qe;
10338
10338
  var [cf, gC] = Do(Qe), [uf, vC] = Do(
10339
10339
  Qe,
10340
10340
  { collapsible: !1 }
10341
- ), hC = W.forwardRef(
10341
+ ), hC = B.forwardRef(
10342
10342
  (e, t) => {
10343
10343
  const {
10344
10344
  value: r,
@@ -10357,14 +10357,14 @@ var [cf, gC] = Do(Qe), [uf, vC] = Do(
10357
10357
  cf,
10358
10358
  {
10359
10359
  scope: e.__scopeAccordion,
10360
- value: W.useMemo(() => i ? [i] : [], [i]),
10360
+ value: B.useMemo(() => i ? [i] : [], [i]),
10361
10361
  onItemOpen: c,
10362
- onItemClose: W.useCallback(() => a && c(""), [a, c]),
10362
+ onItemClose: B.useCallback(() => a && c(""), [a, c]),
10363
10363
  children: /* @__PURE__ */ l.jsx(uf, { scope: e.__scopeAccordion, collapsible: a, children: /* @__PURE__ */ l.jsx(df, { ...s, ref: t }) })
10364
10364
  }
10365
10365
  );
10366
10366
  }
10367
- ), xC = W.forwardRef((e, t) => {
10367
+ ), xC = B.forwardRef((e, t) => {
10368
10368
  const {
10369
10369
  value: r,
10370
10370
  defaultValue: n,
@@ -10376,10 +10376,10 @@ var [cf, gC] = Do(Qe), [uf, vC] = Do(
10376
10376
  defaultProp: n ?? [],
10377
10377
  onChange: o,
10378
10378
  caller: Qe
10379
- }), c = W.useCallback(
10379
+ }), c = B.useCallback(
10380
10380
  (f) => i((p = []) => [...p, f]),
10381
10381
  [i]
10382
- ), u = W.useCallback(
10382
+ ), u = B.useCallback(
10383
10383
  (f) => i((p = []) => p.filter((m) => m !== f)),
10384
10384
  [i]
10385
10385
  );
@@ -10393,14 +10393,14 @@ var [cf, gC] = Do(Qe), [uf, vC] = Do(
10393
10393
  children: /* @__PURE__ */ l.jsx(uf, { scope: e.__scopeAccordion, collapsible: !0, children: /* @__PURE__ */ l.jsx(df, { ...a, ref: t }) })
10394
10394
  }
10395
10395
  );
10396
- }), [bC, $o] = Do(Qe), df = W.forwardRef(
10396
+ }), [bC, $o] = Do(Qe), df = B.forwardRef(
10397
10397
  (e, t) => {
10398
- const { __scopeAccordion: r, disabled: n, dir: o, orientation: a = "vertical", ...s } = e, i = W.useRef(null), c = le(i, t), u = pC(r), p = Ht(o) === "ltr", m = K(e.onKeyDown, (g) => {
10398
+ const { __scopeAccordion: r, disabled: n, dir: o, orientation: a = "vertical", ...s } = e, i = B.useRef(null), c = ce(i, t), u = pC(r), p = Ht(o) === "ltr", m = K(e.onKeyDown, (g) => {
10399
10399
  var j;
10400
10400
  if (!fC.includes(g.key)) return;
10401
10401
  const h = g.target, v = u().filter((D) => {
10402
- var F;
10403
- return !((F = D.ref.current) != null && F.disabled);
10402
+ var V;
10403
+ return !((V = D.ref.current) != null && V.disabled);
10404
10404
  }), x = v.findIndex((D) => D.ref.current === h), b = v.length;
10405
10405
  if (x === -1) return;
10406
10406
  g.preventDefault();
@@ -10452,7 +10452,7 @@ var [cf, gC] = Do(Qe), [uf, vC] = Do(
10452
10452
  }
10453
10453
  );
10454
10454
  }
10455
- ), Qn = "AccordionItem", [yC, Ps] = Do(Qn), ff = W.forwardRef(
10455
+ ), Qn = "AccordionItem", [yC, Ps] = Do(Qn), ff = B.forwardRef(
10456
10456
  (e, t) => {
10457
10457
  const { __scopeAccordion: r, value: n, ...o } = e, a = $o(Qn, r), s = gC(Qn, r), i = ks(r), c = ye(), u = n && s.value.includes(n) || !1, f = a.disabled || e.disabled;
10458
10458
  return /* @__PURE__ */ l.jsx(
@@ -10482,7 +10482,7 @@ var [cf, gC] = Do(Qe), [uf, vC] = Do(
10482
10482
  }
10483
10483
  );
10484
10484
  ff.displayName = Qn;
10485
- var pf = "AccordionHeader", mf = W.forwardRef(
10485
+ var pf = "AccordionHeader", mf = B.forwardRef(
10486
10486
  (e, t) => {
10487
10487
  const { __scopeAccordion: r, ...n } = e, o = $o(Qe, r), a = Ps(pf, r);
10488
10488
  return /* @__PURE__ */ l.jsx(
@@ -10498,7 +10498,7 @@ var pf = "AccordionHeader", mf = W.forwardRef(
10498
10498
  }
10499
10499
  );
10500
10500
  mf.displayName = pf;
10501
- var Da = "AccordionTrigger", gf = W.forwardRef(
10501
+ var Da = "AccordionTrigger", gf = B.forwardRef(
10502
10502
  (e, t) => {
10503
10503
  const { __scopeAccordion: r, ...n } = e, o = $o(Qe, r), a = Ps(Da, r), s = vC(Da, r), i = ks(r);
10504
10504
  return /* @__PURE__ */ l.jsx(Rs.ItemSlot, { scope: r, children: /* @__PURE__ */ l.jsx(
@@ -10515,7 +10515,7 @@ var Da = "AccordionTrigger", gf = W.forwardRef(
10515
10515
  }
10516
10516
  );
10517
10517
  gf.displayName = Da;
10518
- var vf = "AccordionContent", hf = W.forwardRef(
10518
+ var vf = "AccordionContent", hf = B.forwardRef(
10519
10519
  (e, t) => {
10520
10520
  const { __scopeAccordion: r, ...n } = e, o = $o(Qe, r), a = Ps(vf, r), s = ks(r);
10521
10521
  return /* @__PURE__ */ l.jsx(
@@ -10941,19 +10941,19 @@ function Fo(e) {
10941
10941
  function il(e) {
10942
10942
  return Object.prototype.toString.call(e) === "[object Object]";
10943
10943
  }
10944
- function xe(e) {
10944
+ function be(e) {
10945
10945
  return Math.abs(e);
10946
10946
  }
10947
10947
  function Os(e) {
10948
10948
  return Math.sign(e);
10949
10949
  }
10950
10950
  function qr(e, t) {
10951
- return xe(e - t);
10951
+ return be(e - t);
10952
10952
  }
10953
10953
  function LC(e, t) {
10954
- if (e === 0 || t === 0 || xe(e) <= xe(t)) return 0;
10955
- const r = qr(xe(e), xe(t));
10956
- return xe(r / e);
10954
+ if (e === 0 || t === 0 || be(e) <= be(t)) return 0;
10955
+ const r = qr(be(e), be(t));
10956
+ return be(r / e);
10957
10957
  }
10958
10958
  function FC(e) {
10959
10959
  return Math.round(e * 100) / 100;
@@ -11096,7 +11096,7 @@ function WC(e, t) {
11096
11096
  };
11097
11097
  }
11098
11098
  function Gt(e = 0, t = 0) {
11099
- const r = xe(e - t);
11099
+ const r = be(e - t);
11100
11100
  function n(u) {
11101
11101
  return u < e;
11102
11102
  }
@@ -11129,7 +11129,7 @@ function Tf(e, t, r) {
11129
11129
  } = Gt(0, e), o = e + 1;
11130
11130
  let a = s(t);
11131
11131
  function s(m) {
11132
- return r ? xe((o + m) % o) : n(m);
11132
+ return r ? be((o + m) % o) : n(m);
11133
11133
  }
11134
11134
  function i() {
11135
11135
  return a;
@@ -11157,68 +11157,68 @@ function GC(e, t, r, n, o, a, s, i, c, u, f, p, m, g, h, v, x, b, y) {
11157
11157
  direction: C
11158
11158
  } = e, E = ["INPUT", "SELECT", "TEXTAREA"], R = {
11159
11159
  passive: !1
11160
- }, N = Jr(), j = Jr(), D = Gt(50, 225).constrain(g.measure(20)), F = {
11160
+ }, N = Jr(), j = Jr(), D = Gt(50, 225).constrain(g.measure(20)), V = {
11161
11161
  mouse: 300,
11162
11162
  touch: 400
11163
- }, q = {
11163
+ }, W = {
11164
11164
  mouse: 500,
11165
11165
  touch: 600
11166
11166
  }, Q = h ? 43 : 25;
11167
- let Z = !1, z = 0, O = 0, I = !1, M = !1, P = !1, _ = !1;
11167
+ let ee = !1, G = 0, O = 0, I = !1, M = !1, P = !1, _ = !1;
11168
11168
  function U($) {
11169
11169
  if (!y) return;
11170
11170
  function se(me) {
11171
11171
  (Fo(y) || y($, me)) && L(me);
11172
11172
  }
11173
- const ue = t;
11174
- N.add(ue, "dragstart", (me) => me.preventDefault(), R).add(ue, "touchmove", () => {
11175
- }, R).add(ue, "touchend", () => {
11176
- }).add(ue, "touchstart", se).add(ue, "mousedown", se).add(ue, "touchcancel", G).add(ue, "contextmenu", G).add(ue, "click", B, !0);
11173
+ const le = t;
11174
+ N.add(le, "dragstart", (me) => me.preventDefault(), R).add(le, "touchmove", () => {
11175
+ }, R).add(le, "touchend", () => {
11176
+ }).add(le, "touchstart", se).add(le, "mousedown", se).add(le, "touchcancel", z).add(le, "contextmenu", z).add(le, "click", Z, !0);
11177
11177
  }
11178
11178
  function J() {
11179
11179
  N.clear(), j.clear();
11180
11180
  }
11181
11181
  function T() {
11182
11182
  const $ = _ ? r : t;
11183
- j.add($, "touchmove", A, R).add($, "touchend", G).add($, "mousemove", A, R).add($, "mouseup", G);
11183
+ j.add($, "touchmove", A, R).add($, "touchend", z).add($, "mousemove", A, R).add($, "mouseup", z);
11184
11184
  }
11185
- function H($) {
11185
+ function q($) {
11186
11186
  const se = $.nodeName || "";
11187
11187
  return E.includes(se);
11188
11188
  }
11189
11189
  function X() {
11190
- return (h ? q : F)[_ ? "mouse" : "touch"];
11190
+ return (h ? W : V)[_ ? "mouse" : "touch"];
11191
11191
  }
11192
11192
  function Y($, se) {
11193
- const ue = p.add(Os($) * -1), me = f.byDistance($, !h).distance;
11194
- return h || xe($) < D ? me : x && se ? me * 0.5 : f.byIndex(ue.get(), 0).distance;
11193
+ const le = p.add(Os($) * -1), me = f.byDistance($, !h).distance;
11194
+ return h || be($) < D ? me : x && se ? me * 0.5 : f.byIndex(le.get(), 0).distance;
11195
11195
  }
11196
11196
  function L($) {
11197
11197
  const se = La($, n);
11198
- _ = se, P = h && se && !$.buttons && Z, Z = qr(o.get(), s.get()) >= 2, !(se && $.button !== 0) && (H($.target) || (I = !0, a.pointerDown($), u.useFriction(0).useDuration(0), o.set(s), T(), z = a.readPoint($), O = a.readPoint($, w), m.emit("pointerDown")));
11198
+ _ = se, P = h && se && !$.buttons && ee, ee = qr(o.get(), s.get()) >= 2, !(se && $.button !== 0) && (q($.target) || (I = !0, a.pointerDown($), u.useFriction(0).useDuration(0), o.set(s), T(), G = a.readPoint($), O = a.readPoint($, w), m.emit("pointerDown")));
11199
11199
  }
11200
11200
  function A($) {
11201
- if (!La($, n) && $.touches.length >= 2) return G($);
11202
- const ue = a.readPoint($), me = a.readPoint($, w), be = qr(ue, z), Re = qr(me, O);
11203
- if (!M && !_ && (!$.cancelable || (M = be > Re, !M)))
11204
- return G($);
11201
+ if (!La($, n) && $.touches.length >= 2) return z($);
11202
+ const le = a.readPoint($), me = a.readPoint($, w), ve = qr(le, G), Re = qr(me, O);
11203
+ if (!M && !_ && (!$.cancelable || (M = ve > Re, !M)))
11204
+ return z($);
11205
11205
  const We = a.pointerMove($);
11206
- be > v && (P = !0), u.useFriction(0.3).useDuration(0.75), i.start(), o.add(C(We)), $.preventDefault();
11206
+ ve > v && (P = !0), u.useFriction(0.3).useDuration(0.75), i.start(), o.add(C(We)), $.preventDefault();
11207
11207
  }
11208
- function G($) {
11209
- const ue = f.byDistance(0, !1).index !== p.get(), me = a.pointerUp($) * X(), be = Y(C(me), ue), Re = LC(me, be), We = Q - 10 * Re, ke = b + Re / 50;
11210
- M = !1, I = !1, j.clear(), u.useDuration(We).useFriction(ke), c.distance(be, !h), _ = !1, m.emit("pointerUp");
11208
+ function z($) {
11209
+ const le = f.byDistance(0, !1).index !== p.get(), me = a.pointerUp($) * X(), ve = Y(C(me), le), Re = LC(me, ve), We = Q - 10 * Re, ke = b + Re / 50;
11210
+ M = !1, I = !1, j.clear(), u.useDuration(We).useFriction(ke), c.distance(ve, !h), _ = !1, m.emit("pointerUp");
11211
11211
  }
11212
- function B($) {
11212
+ function Z($) {
11213
11213
  P && ($.stopPropagation(), $.preventDefault(), P = !1);
11214
11214
  }
11215
- function ee() {
11215
+ function H() {
11216
11216
  return I;
11217
11217
  }
11218
11218
  return {
11219
11219
  init: U,
11220
11220
  destroy: J,
11221
- pointerDown: ee
11221
+ pointerDown: H
11222
11222
  };
11223
11223
  }
11224
11224
  function zC(e, t) {
@@ -11240,7 +11240,7 @@ function zC(e, t) {
11240
11240
  function u(p) {
11241
11241
  if (!n || !o) return 0;
11242
11242
  const m = s(o) - s(n), g = a(p) - a(n), h = a(p) - a(o) > 170, v = m / g;
11243
- return g && !h && xe(v) > 0.1 ? v : 0;
11243
+ return g && !h && be(v) > 0.1 ? v : 0;
11244
11244
  }
11245
11245
  return {
11246
11246
  pointerDown: i,
@@ -11291,7 +11291,7 @@ function UC(e, t, r, n, o, a, s) {
11291
11291
  for (const w of y) {
11292
11292
  if (p) return;
11293
11293
  const C = w.target === e, E = n.indexOf(w.target), R = C ? u : f[E], N = m(C ? e : n[E]);
11294
- if (xe(N - R) >= 0.5) {
11294
+ if (be(N - R) >= 0.5) {
11295
11295
  x.reInit(), t.emit("resize");
11296
11296
  break;
11297
11297
  }
@@ -11320,7 +11320,7 @@ function KC(e, t, r, n, o, a) {
11320
11320
  }
11321
11321
  function g() {
11322
11322
  const R = n.get() - t.get();
11323
- return xe(R) < 1e-3;
11323
+ return be(R) < 1e-3;
11324
11324
  }
11325
11325
  function h() {
11326
11326
  return c;
@@ -11364,8 +11364,8 @@ function YC(e, t, r, n, o) {
11364
11364
  }
11365
11365
  function f(g) {
11366
11366
  if (!u()) return;
11367
- const h = e.reachedMin(t.get()) ? "min" : "max", v = xe(e[h] - t.get()), x = r.get() - t.get(), b = i.constrain(v / s);
11368
- r.subtract(x * b), !g && xe(x) < a && (r.set(e.constrain(r.get())), n.useDuration(25).useBaseFriction());
11367
+ const h = e.reachedMin(t.get()) ? "min" : "max", v = be(e[h] - t.get()), x = r.get() - t.get(), b = i.constrain(v / s);
11368
+ r.subtract(x * b), !g && be(x) < a && (r.set(e.constrain(r.get())), n.useDuration(25).useBaseFriction());
11369
11369
  }
11370
11370
  function p(g) {
11371
11371
  c = !g;
@@ -11452,10 +11452,10 @@ function eS(e, t, r, n, o) {
11452
11452
  groupSlides: i
11453
11453
  } = o, c = p().map(t.measure), u = m(), f = g();
11454
11454
  function p() {
11455
- return i(n).map((v) => Ue(v)[s] - v[0][a]).map(xe);
11455
+ return i(n).map((v) => Ue(v)[s] - v[0][a]).map(be);
11456
11456
  }
11457
11457
  function m() {
11458
- return n.map((v) => r[a] - v[a]).map((v) => -xe(v));
11458
+ return n.map((v) => r[a] - v[a]).map((v) => -be(v));
11459
11459
  }
11460
11460
  function g() {
11461
11461
  return i(u).map((v) => v[0]).map((v, x) => v + c[x]);
@@ -11498,13 +11498,13 @@ function rS(e, t, r, n, o) {
11498
11498
  constrain: i
11499
11499
  } = n;
11500
11500
  function c(h) {
11501
- return h.concat().sort((v, x) => xe(v) - xe(x))[0];
11501
+ return h.concat().sort((v, x) => be(v) - be(x))[0];
11502
11502
  }
11503
11503
  function u(h) {
11504
11504
  const v = e ? s(h) : i(h), x = t.map((y, w) => ({
11505
11505
  diff: f(y - v, 0),
11506
11506
  index: w
11507
- })).sort((y, w) => xe(y.diff) - xe(w.diff)), {
11507
+ })).sort((y, w) => be(y.diff) - be(w.diff)), {
11508
11508
  index: b
11509
11509
  } = x[0];
11510
11510
  return {
@@ -11645,10 +11645,10 @@ function Af(e, t) {
11645
11645
  function aS(e, t, r, n, o, a, s, i, c) {
11646
11646
  const f = Xr(o), p = Xr(o).reverse(), m = b().concat(y());
11647
11647
  function g(N, j) {
11648
- return N.reduce((D, F) => D - o[F], j);
11648
+ return N.reduce((D, V) => D - o[V], j);
11649
11649
  }
11650
11650
  function h(N, j) {
11651
- return N.reduce((D, F) => g(D, j) > 0 ? D.concat([F]) : D, []);
11651
+ return N.reduce((D, V) => g(D, j) > 0 ? D.concat([V]) : D, []);
11652
11652
  }
11653
11653
  function v(N) {
11654
11654
  return a.map((j, D) => ({
@@ -11657,15 +11657,15 @@ function aS(e, t, r, n, o, a, s, i, c) {
11657
11657
  }));
11658
11658
  }
11659
11659
  function x(N, j, D) {
11660
- const F = v(j);
11661
- return N.map((q) => {
11662
- const Q = D ? 0 : -r, Z = D ? r : 0, z = D ? "end" : "start", O = F[q][z];
11660
+ const V = v(j);
11661
+ return N.map((W) => {
11662
+ const Q = D ? 0 : -r, ee = D ? r : 0, G = D ? "end" : "start", O = V[W][G];
11663
11663
  return {
11664
- index: q,
11664
+ index: W,
11665
11665
  loopPoint: O,
11666
11666
  slideLocation: Vr(-1),
11667
- translate: Af(e, c[q]),
11668
- target: () => i.get() > O ? Q : Z
11667
+ translate: Af(e, c[W]),
11668
+ target: () => i.get() > O ? Q : ee
11669
11669
  };
11670
11670
  });
11671
11671
  }
@@ -11690,9 +11690,9 @@ function aS(e, t, r, n, o, a, s, i, c) {
11690
11690
  const {
11691
11691
  target: j,
11692
11692
  translate: D,
11693
- slideLocation: F
11694
- } = N, q = j();
11695
- q !== F.get() && (D.to(q), F.set(q));
11693
+ slideLocation: V
11694
+ } = N, W = j();
11695
+ W !== V.get() && (D.to(W), V.set(W));
11696
11696
  });
11697
11697
  }
11698
11698
  function E() {
@@ -11776,7 +11776,7 @@ function lS(e, t, r, n, o, a) {
11776
11776
  function h() {
11777
11777
  if (!u) return 0;
11778
11778
  const y = r[0];
11779
- return xe(t[i] - y[i]);
11779
+ return be(t[i] - y[i]);
11780
11780
  }
11781
11781
  function v() {
11782
11782
  if (!u) return 0;
@@ -11787,7 +11787,7 @@ function lS(e, t, r, n, o, a) {
11787
11787
  return r.map((y, w, C) => {
11788
11788
  const E = !w, R = Ms(C, w);
11789
11789
  return E ? m[w] + f : R ? m[w] + p : C[w + 1][i] - y[i];
11790
- }).map(xe);
11790
+ }).map(be);
11791
11791
  }
11792
11792
  return {
11793
11793
  slideSizes: m,
@@ -11807,7 +11807,7 @@ function cS(e, t, r, n, o, a, s, i, c) {
11807
11807
  }
11808
11808
  function h(b) {
11809
11809
  return b.length ? Xr(b).reduce((y, w, C) => {
11810
- const E = Ue(y) || 0, R = E === 0, N = w === dn(b), j = o[u] - a[E][u], D = o[u] - a[w][f], F = !n && R ? p(s) : 0, q = !n && N ? p(i) : 0, Q = xe(D - q - (j + F));
11810
+ const E = Ue(y) || 0, R = E === 0, N = w === dn(b), j = o[u] - a[E][u], D = o[u] - a[w][f], V = !n && R ? p(s) : 0, W = !n && N ? p(i) : 0, Q = be(D - W - (j + V));
11811
11811
  return C && Q > t + c && y.push(w), N && y.push(b.length), y;
11812
11812
  }, []).map((y, w, C) => {
11813
11813
  const E = Math.max(C[w - 1] || 0);
@@ -11839,20 +11839,20 @@ function uS(e, t, r, n, o, a, s) {
11839
11839
  watchSlides: C,
11840
11840
  watchDrag: E,
11841
11841
  watchFocus: R
11842
- } = a, N = 2, j = qC(), D = j.measure(t), F = r.map(j.measure), q = WC(c, u), Q = q.measureSize(D), Z = HC(Q), z = VC(i, Q), O = !p && !!y, I = p || !!y, {
11842
+ } = a, N = 2, j = qC(), D = j.measure(t), V = r.map(j.measure), W = WC(c, u), Q = W.measureSize(D), ee = HC(Q), G = VC(i, Q), O = !p && !!y, I = p || !!y, {
11843
11843
  slideSizes: M,
11844
11844
  slideSizesWithGaps: P,
11845
11845
  startGap: _,
11846
11846
  endGap: U
11847
- } = lS(q, D, F, r, I, o), J = cS(q, Q, x, p, D, F, _, U, N), {
11847
+ } = lS(W, D, V, r, I, o), J = cS(W, Q, x, p, D, V, _, U, N), {
11848
11848
  snaps: T,
11849
- snapsAligned: H
11850
- } = eS(q, z, D, F, J), X = -Ue(T) + Ue(P), {
11849
+ snapsAligned: q
11850
+ } = eS(W, G, D, V, J), X = -Ue(T) + Ue(P), {
11851
11851
  snapsContained: Y,
11852
11852
  scrollContainLimit: L
11853
- } = XC(Q, X, H, y, N), A = O ? Y : H, {
11854
- limit: G
11855
- } = ZC(X, A, p), B = Tf(dn(A), f, p), ee = B.clone(), te = Xr(r), $ = ({
11853
+ } = XC(Q, X, q, y, N), A = O ? Y : q, {
11854
+ limit: z
11855
+ } = ZC(X, A, p), Z = Tf(dn(A), f, p), H = Z.clone(), te = Xr(r), $ = ({
11856
11856
  dragHandler: ut,
11857
11857
  scrollBody: kr,
11858
11858
  scrollBounds: Pr,
@@ -11881,36 +11881,36 @@ function uS(e, t, r, n, o, a, s) {
11881
11881
  Cn && Tr.stop();
11882
11882
  const Sn = Pr.get() * er + Uo.get() * (1 - er);
11883
11883
  Jt.set(Sn), Qt && (Ko.loop(ut.direction()), Yo.loop()), kr.to(Jt.get()), Cn && Ar.emit("settle"), _r || Ar.emit("scroll");
11884
- }, ue = BC(n, o, () => $(Zt), (ut) => se(Zt, ut)), me = 0.68, be = A[B.get()], Re = Vr(be), We = Vr(be), ke = Vr(be), ct = Vr(be), _t = KC(Re, ke, We, ct, m, me), Ot = rS(p, A, X, G, ct), Nr = nS(ue, B, ee, _t, Ot, ct, s), yn = QC(G), jr = Jr(), wn = iS(t, r, s, v), {
11884
+ }, le = BC(n, o, () => $(Zt), (ut) => se(Zt, ut)), me = 0.68, ve = A[Z.get()], Re = Vr(ve), We = Vr(ve), ke = Vr(ve), ct = Vr(ve), _t = KC(Re, ke, We, ct, m, me), Ot = rS(p, A, X, z, ct), Nr = nS(le, Z, H, _t, Ot, ct, s), yn = QC(z), jr = Jr(), wn = iS(t, r, s, v), {
11885
11885
  slideRegistry: Rr
11886
11886
  } = tS(O, y, A, L, J, te), Ho = oS(e, r, Rr, Nr, _t, jr, s, R), Zt = {
11887
11887
  ownerDocument: n,
11888
11888
  ownerWindow: o,
11889
11889
  eventHandler: s,
11890
11890
  containerRect: D,
11891
- slideRects: F,
11892
- animation: ue,
11893
- axis: q,
11894
- dragHandler: GC(q, e, n, o, ct, zC(q, o), Re, ue, Nr, _t, Ot, B, s, Z, g, h, b, me, E),
11891
+ slideRects: V,
11892
+ animation: le,
11893
+ axis: W,
11894
+ dragHandler: GC(W, e, n, o, ct, zC(W, o), Re, le, Nr, _t, Ot, Z, s, ee, g, h, b, me, E),
11895
11895
  eventStore: jr,
11896
- percentOfView: Z,
11897
- index: B,
11898
- indexPrevious: ee,
11899
- limit: G,
11896
+ percentOfView: ee,
11897
+ index: Z,
11898
+ indexPrevious: H,
11899
+ limit: z,
11900
11900
  location: Re,
11901
11901
  offsetLocation: ke,
11902
11902
  previousLocation: We,
11903
11903
  options: a,
11904
- resizeHandler: UC(t, s, o, r, q, w, j),
11904
+ resizeHandler: UC(t, s, o, r, W, w, j),
11905
11905
  scrollBody: _t,
11906
- scrollBounds: YC(G, ke, ct, _t, Z),
11907
- scrollLooper: JC(X, G, ke, [Re, ke, We, ct]),
11906
+ scrollBounds: YC(z, ke, ct, _t, ee),
11907
+ scrollLooper: JC(X, z, ke, [Re, ke, We, ct]),
11908
11908
  scrollProgress: yn,
11909
11909
  scrollSnapList: A.map(yn.get),
11910
11910
  scrollSnaps: A,
11911
11911
  scrollTarget: Ot,
11912
11912
  scrollTo: Nr,
11913
- slideLooper: aS(q, Q, X, M, P, T, A, ke, r),
11913
+ slideLooper: aS(W, Q, X, M, P, T, A, ke, r),
11914
11914
  slideFocus: Ho,
11915
11915
  slidesHandler: sS(t, s, C),
11916
11916
  slidesInView: wn,
@@ -11918,7 +11918,7 @@ function uS(e, t, r, n, o, a, s) {
11918
11918
  slideRegistry: Rr,
11919
11919
  slidesToScroll: J,
11920
11920
  target: ct,
11921
- translate: Af(q, t)
11921
+ translate: Af(W, t)
11922
11922
  };
11923
11923
  return Zt;
11924
11924
  }
@@ -12016,7 +12016,7 @@ function eo(e, t, r) {
12016
12016
  on: m,
12017
12017
  off: g,
12018
12018
  emit: h
12019
- } = c, v = q;
12019
+ } = c, v = W;
12020
12020
  let x = !1, b, y = u(fS, eo.globalOptions), w = u(y), C = [], E, R, N;
12021
12021
  function j() {
12022
12022
  const {
@@ -12024,8 +12024,8 @@ function eo(e, t, r) {
12024
12024
  slides: $
12025
12025
  } = w;
12026
12026
  R = ($a(te) ? e.querySelector(te) : te) || e.children[0];
12027
- const ue = $a($) ? R.querySelectorAll($) : $;
12028
- N = [].slice.call(ue || R.children);
12027
+ const le = $a($) ? R.querySelectorAll($) : $;
12028
+ N = [].slice.call(le || R.children);
12029
12029
  }
12030
12030
  function D(te) {
12031
12031
  const $ = uS(e, R, N, n, o, te, c);
@@ -12037,33 +12037,33 @@ function eo(e, t, r) {
12037
12037
  }
12038
12038
  return $;
12039
12039
  }
12040
- function F(te, $) {
12040
+ function V(te, $) {
12041
12041
  x || (y = u(y, te), w = f(y), C = $ || C, j(), b = D(w), p([y, ...C.map(({
12042
12042
  options: se
12043
- }) => se)]).forEach((se) => i.add(se, "change", q)), w.active && (b.translate.to(b.location.get()), b.animation.init(), b.slidesInView.init(), b.slideFocus.init(ee), b.eventHandler.init(ee), b.resizeHandler.init(ee), b.slidesHandler.init(ee), b.options.loop && b.slideLooper.loop(), R.offsetParent && N.length && b.dragHandler.init(ee), E = s.init(ee, C)));
12043
+ }) => se)]).forEach((se) => i.add(se, "change", W)), w.active && (b.translate.to(b.location.get()), b.animation.init(), b.slidesInView.init(), b.slideFocus.init(H), b.eventHandler.init(H), b.resizeHandler.init(H), b.slidesHandler.init(H), b.options.loop && b.slideLooper.loop(), R.offsetParent && N.length && b.dragHandler.init(H), E = s.init(H, C)));
12044
12044
  }
12045
- function q(te, $) {
12045
+ function W(te, $) {
12046
12046
  const se = J();
12047
- Q(), F(u({
12047
+ Q(), V(u({
12048
12048
  startIndex: se
12049
12049
  }, te), $), c.emit("reInit");
12050
12050
  }
12051
12051
  function Q() {
12052
12052
  b.dragHandler.destroy(), b.eventStore.clear(), b.translate.clear(), b.slideLooper.clear(), b.resizeHandler.destroy(), b.slidesHandler.destroy(), b.slidesInView.destroy(), b.animation.destroy(), s.destroy(), i.clear();
12053
12053
  }
12054
- function Z() {
12054
+ function ee() {
12055
12055
  x || (x = !0, i.clear(), Q(), c.emit("destroy"), c.clear());
12056
12056
  }
12057
- function z(te, $, se) {
12057
+ function G(te, $, se) {
12058
12058
  !w.active || x || (b.scrollBody.useBaseFriction().useDuration($ === !0 ? 0 : w.duration), b.scrollTo.index(te, se || 0));
12059
12059
  }
12060
12060
  function O(te) {
12061
12061
  const $ = b.index.add(1).get();
12062
- z($, te, -1);
12062
+ G($, te, -1);
12063
12063
  }
12064
12064
  function I(te) {
12065
12065
  const $ = b.index.add(-1).get();
12066
- z($, te, 1);
12066
+ G($, te, 1);
12067
12067
  }
12068
12068
  function M() {
12069
12069
  return b.index.add(1).get() !== J();
@@ -12083,7 +12083,7 @@ function eo(e, t, r) {
12083
12083
  function T() {
12084
12084
  return b.indexPrevious.get();
12085
12085
  }
12086
- function H() {
12086
+ function q() {
12087
12087
  return b.slidesInView.get();
12088
12088
  }
12089
12089
  function X() {
@@ -12098,18 +12098,18 @@ function eo(e, t, r) {
12098
12098
  function A() {
12099
12099
  return e;
12100
12100
  }
12101
- function G() {
12101
+ function z() {
12102
12102
  return R;
12103
12103
  }
12104
- function B() {
12104
+ function Z() {
12105
12105
  return N;
12106
12106
  }
12107
- const ee = {
12107
+ const H = {
12108
12108
  canScrollNext: M,
12109
12109
  canScrollPrev: P,
12110
- containerNode: G,
12110
+ containerNode: z,
12111
12111
  internalEngine: L,
12112
- destroy: Z,
12112
+ destroy: ee,
12113
12113
  off: g,
12114
12114
  on: m,
12115
12115
  emit: h,
@@ -12121,17 +12121,17 @@ function eo(e, t, r) {
12121
12121
  scrollPrev: I,
12122
12122
  scrollProgress: U,
12123
12123
  scrollSnapList: _,
12124
- scrollTo: z,
12124
+ scrollTo: G,
12125
12125
  selectedScrollSnap: J,
12126
- slideNodes: B,
12127
- slidesInView: H,
12126
+ slideNodes: Z,
12127
+ slidesInView: q,
12128
12128
  slidesNotInView: X
12129
12129
  };
12130
- return F(t, r), setTimeout(() => c.emit("init"), 0), ee;
12130
+ return V(t, r), setTimeout(() => c.emit("init"), 0), H;
12131
12131
  }
12132
12132
  eo.globalOptions = void 0;
12133
12133
  function Ds(e = {}, t = []) {
12134
- const r = he(e), n = he(t), [o, a] = je(), [s, i] = je(), c = Ne(() => {
12134
+ const r = xe(e), n = xe(t), [o, a] = je(), [s, i] = je(), c = Ne(() => {
12135
12135
  o && o.reInit(r.current, n.current);
12136
12136
  }, [o]);
12137
12137
  return ze(() => {
@@ -12402,9 +12402,9 @@ const ul = {
12402
12402
  CHANGE: "change"
12403
12403
  }, dl = {
12404
12404
  all: "all"
12405
- }, Fs = W.createContext(null);
12405
+ }, Fs = B.createContext(null);
12406
12406
  Fs.displayName = "HookFormControlContext";
12407
- const Vs = () => W.useContext(Fs);
12407
+ const Vs = () => B.useContext(Fs);
12408
12408
  var CS = (e, t, r, n = !0) => {
12409
12409
  const o = {
12410
12410
  defaultValues: t._defaultValues
@@ -12418,9 +12418,9 @@ var CS = (e, t, r, n = !0) => {
12418
12418
  });
12419
12419
  return o;
12420
12420
  };
12421
- const $f = typeof window < "u" ? W.useLayoutEffect : W.useEffect;
12421
+ const $f = typeof window < "u" ? B.useLayoutEffect : B.useEffect;
12422
12422
  function Lf(e) {
12423
- const t = Vs(), { control: r = t, disabled: n, name: o, exact: a } = e || {}, [s, i] = W.useState(r._formState), c = W.useRef({
12423
+ const t = Vs(), { control: r = t, disabled: n, name: o, exact: a } = e || {}, [s, i] = B.useState(r._formState), c = B.useRef({
12424
12424
  isDirty: !1,
12425
12425
  isLoading: !1,
12426
12426
  dirtyFields: !1,
@@ -12440,9 +12440,9 @@ function Lf(e) {
12440
12440
  ...u
12441
12441
  });
12442
12442
  }
12443
- }), [o, n, a]), W.useEffect(() => {
12443
+ }), [o, n, a]), B.useEffect(() => {
12444
12444
  c.current.isValid && r._setValid(!0);
12445
- }, [r]), W.useMemo(() => CS(s, r, c.current, !1), [s, r]);
12445
+ }, [r]), B.useMemo(() => CS(s, r, c.current, !1), [s, r]);
12446
12446
  }
12447
12447
  var SS = (e) => typeof e == "string", fl = (e, t, r, n, o) => SS(e) ? $e(r, e, o) : Array.isArray(e) ? e.map((a) => $e(r, a)) : r, pl = (e) => Ls(e) || !_f(e);
12448
12448
  function Fn(e, t, r = /* @__PURE__ */ new WeakSet()) {
@@ -12469,15 +12469,15 @@ function Fn(e, t, r = /* @__PURE__ */ new WeakSet()) {
12469
12469
  return !0;
12470
12470
  }
12471
12471
  function ES(e) {
12472
- const t = Vs(), { control: r = t, name: n, defaultValue: o, disabled: a, exact: s, compute: i } = e || {}, c = W.useRef(o), u = W.useRef(i), f = W.useRef(void 0), p = W.useRef(r), m = W.useRef(n);
12472
+ const t = Vs(), { control: r = t, name: n, defaultValue: o, disabled: a, exact: s, compute: i } = e || {}, c = B.useRef(o), u = B.useRef(i), f = B.useRef(void 0), p = B.useRef(r), m = B.useRef(n);
12473
12473
  u.current = i;
12474
- const [g, h] = W.useState(() => {
12474
+ const [g, h] = B.useState(() => {
12475
12475
  const C = r._getWatch(n, c.current);
12476
12476
  return u.current ? u.current(C) : C;
12477
- }), v = W.useCallback((C) => {
12477
+ }), v = B.useCallback((C) => {
12478
12478
  const E = fl(n, r._names, C || r._formValues, !1, c.current);
12479
12479
  return u.current ? u.current(E) : E;
12480
- }, [r._formValues, r._names, n]), x = W.useCallback((C) => {
12480
+ }, [r._formValues, r._names, n]), x = B.useCallback((C) => {
12481
12481
  if (!a) {
12482
12482
  const E = fl(n, r._names, C || r._formValues, !1, c.current);
12483
12483
  if (u.current) {
@@ -12496,8 +12496,8 @@ function ES(e) {
12496
12496
  callback: (C) => {
12497
12497
  x(C.values);
12498
12498
  }
12499
- })), [r, s, n, x]), W.useEffect(() => r._removeUnmounted());
12500
- const b = p.current !== r, y = m.current, w = W.useMemo(() => {
12499
+ })), [r, s, n, x]), B.useEffect(() => r._removeUnmounted());
12500
+ const b = p.current !== r, y = m.current, w = B.useMemo(() => {
12501
12501
  if (a)
12502
12502
  return null;
12503
12503
  const C = !b && !Fn(y, n);
@@ -12506,7 +12506,7 @@ function ES(e) {
12506
12506
  return w !== null ? w : g;
12507
12507
  }
12508
12508
  function NS(e) {
12509
- const t = Vs(), { name: r, disabled: n, control: o = t, shouldUnregister: a, defaultValue: s, exact: i = !0 } = e, c = xS(o._names.array, r), u = W.useMemo(() => $e(o._formValues, r, $e(o._defaultValues, r, s)), [o, r, s]), f = ES({
12509
+ const t = Vs(), { name: r, disabled: n, control: o = t, shouldUnregister: a, defaultValue: s, exact: i = !0 } = e, c = xS(o._names.array, r), u = B.useMemo(() => $e(o._formValues, r, $e(o._defaultValues, r, s)), [o, r, s]), f = ES({
12510
12510
  control: o,
12511
12511
  name: r,
12512
12512
  defaultValue: u,
@@ -12515,13 +12515,13 @@ function NS(e) {
12515
12515
  control: o,
12516
12516
  name: r,
12517
12517
  exact: i
12518
- }), m = W.useRef(e), g = W.useRef(void 0), h = W.useRef(o.register(r, {
12518
+ }), m = B.useRef(e), g = B.useRef(void 0), h = B.useRef(o.register(r, {
12519
12519
  ...e.rules,
12520
12520
  value: f,
12521
12521
  ...ma(e.disabled) ? { disabled: e.disabled } : {}
12522
12522
  }));
12523
12523
  m.current = e;
12524
- const v = W.useMemo(() => Object.defineProperties({}, {
12524
+ const v = B.useMemo(() => Object.defineProperties({}, {
12525
12525
  invalid: {
12526
12526
  enumerable: !0,
12527
12527
  get: () => !!$e(p.errors, r)
@@ -12542,19 +12542,19 @@ function NS(e) {
12542
12542
  enumerable: !0,
12543
12543
  get: () => $e(p.errors, r)
12544
12544
  }
12545
- }), [p, r]), x = W.useCallback((C) => h.current.onChange({
12545
+ }), [p, r]), x = B.useCallback((C) => h.current.onChange({
12546
12546
  target: {
12547
12547
  value: vS(C),
12548
12548
  name: r
12549
12549
  },
12550
12550
  type: ul.CHANGE
12551
- }), [r]), b = W.useCallback(() => h.current.onBlur({
12551
+ }), [r]), b = B.useCallback(() => h.current.onBlur({
12552
12552
  target: {
12553
12553
  value: $e(o._formValues, r),
12554
12554
  name: r
12555
12555
  },
12556
12556
  type: ul.BLUR
12557
- }), [r, o._formValues]), y = W.useCallback((C) => {
12557
+ }), [r, o._formValues]), y = B.useCallback((C) => {
12558
12558
  const E = $e(o._fields, r);
12559
12559
  E && E._f && C && (E._f.ref = {
12560
12560
  focus: () => _n(C.focus) && C.focus(),
@@ -12562,7 +12562,7 @@ function NS(e) {
12562
12562
  setCustomValidity: (R) => _n(C.setCustomValidity) && C.setCustomValidity(R),
12563
12563
  reportValidity: () => _n(C.reportValidity) && C.reportValidity()
12564
12564
  });
12565
- }, [o._fields, r]), w = W.useMemo(() => ({
12565
+ }, [o._fields, r]), w = B.useMemo(() => ({
12566
12566
  name: r,
12567
12567
  value: f,
12568
12568
  ...ma(n) || p.disabled ? { disabled: p.disabled || n } : {},
@@ -12570,7 +12570,7 @@ function NS(e) {
12570
12570
  onBlur: b,
12571
12571
  ref: y
12572
12572
  }), [r, n, p.disabled, x, b, y, f]);
12573
- return W.useEffect(() => {
12573
+ return B.useEffect(() => {
12574
12574
  const C = o._options.shouldUnregister || a, E = g.current;
12575
12575
  E && E !== r && !c && o.unregister(E), o.register(r, {
12576
12576
  ...m.current.rules,
@@ -12587,24 +12587,24 @@ function NS(e) {
12587
12587
  return !c && o.register(r), g.current = r, () => {
12588
12588
  (c ? C && !o._state.action : C) ? o.unregister(r) : R(r, !1);
12589
12589
  };
12590
- }, [r, o, c, a]), W.useEffect(() => {
12590
+ }, [r, o, c, a]), B.useEffect(() => {
12591
12591
  o._setDisabledField({
12592
12592
  disabled: n,
12593
12593
  name: r
12594
12594
  });
12595
- }, [n, r, o]), W.useMemo(() => ({
12595
+ }, [n, r, o]), B.useMemo(() => ({
12596
12596
  field: w,
12597
12597
  formState: p,
12598
12598
  fieldState: v
12599
12599
  }), [w, p, v]);
12600
12600
  }
12601
- const Ff = (e) => e.render(NS(e)), Bs = W.createContext(null);
12601
+ const Ff = (e) => e.render(NS(e)), Bs = B.createContext(null);
12602
12602
  Bs.displayName = "HookFormContext";
12603
- const Ws = () => W.useContext(Bs), jS = (e) => {
12603
+ const Ws = () => B.useContext(Bs), jS = (e) => {
12604
12604
  const { children: t, watch: r, getValues: n, getFieldState: o, setError: a, clearErrors: s, setValue: i, trigger: c, formState: u, resetField: f, reset: p, handleSubmit: m, unregister: g, control: h, register: v, setFocus: x, subscribe: b } = e;
12605
- return W.createElement(
12605
+ return B.createElement(
12606
12606
  Bs.Provider,
12607
- { value: W.useMemo(() => ({
12607
+ { value: B.useMemo(() => ({
12608
12608
  watch: r,
12609
12609
  getValues: n,
12610
12610
  getFieldState: o,
@@ -12639,7 +12639,7 @@ const Ws = () => W.useContext(Bs), jS = (e) => {
12639
12639
  g,
12640
12640
  r
12641
12641
  ]) },
12642
- W.createElement(Fs.Provider, { value: h }, t)
12642
+ B.createElement(Fs.Provider, { value: h }, t)
12643
12643
  );
12644
12644
  }, Vf = Ha(void 0), RS = (e) => {
12645
12645
  const { methods: t, disabled: r, readOnly: n, children: o } = e;
@@ -12663,7 +12663,7 @@ var Bf = {
12663
12663
  className: void 0,
12664
12664
  style: void 0,
12665
12665
  attr: void 0
12666
- }, ml = W.createContext && /* @__PURE__ */ W.createContext(Bf), TS = ["attr", "size", "title"];
12666
+ }, ml = B.createContext && /* @__PURE__ */ B.createContext(Bf), TS = ["attr", "size", "title"];
12667
12667
  function AS(e, t) {
12668
12668
  if (e == null) return {};
12669
12669
  var r = IS(e, t), n, o;
@@ -12733,12 +12733,12 @@ function MS(e, t) {
12733
12733
  return (t === "string" ? String : Number)(e);
12734
12734
  }
12735
12735
  function Wf(e) {
12736
- return e && e.map((t, r) => /* @__PURE__ */ W.createElement(t.tag, ro({
12736
+ return e && e.map((t, r) => /* @__PURE__ */ B.createElement(t.tag, ro({
12737
12737
  key: r
12738
12738
  }, t.attr), Wf(t.child)));
12739
12739
  }
12740
12740
  function Gf(e) {
12741
- return (t) => /* @__PURE__ */ W.createElement(DS, to({
12741
+ return (t) => /* @__PURE__ */ B.createElement(DS, to({
12742
12742
  attr: ro({}, e.attr)
12743
12743
  }, t), Wf(e.child));
12744
12744
  }
@@ -12749,7 +12749,7 @@ function DS(e) {
12749
12749
  size: o,
12750
12750
  title: a
12751
12751
  } = e, s = AS(e, TS), i = o || r.size || "1em", c;
12752
- return r.className && (c = r.className), e.className && (c = (c ? c + " " : "") + e.className), /* @__PURE__ */ W.createElement("svg", to({
12752
+ return r.className && (c = r.className), e.className && (c = (c ? c + " " : "") + e.className), /* @__PURE__ */ B.createElement("svg", to({
12753
12753
  stroke: "currentColor",
12754
12754
  fill: "currentColor",
12755
12755
  strokeWidth: "0"
@@ -12761,9 +12761,9 @@ function DS(e) {
12761
12761
  height: i,
12762
12762
  width: i,
12763
12763
  xmlns: "http://www.w3.org/2000/svg"
12764
- }), a && /* @__PURE__ */ W.createElement("title", null, a), e.children);
12764
+ }), a && /* @__PURE__ */ B.createElement("title", null, a), e.children);
12765
12765
  };
12766
- return ml !== void 0 ? /* @__PURE__ */ W.createElement(ml.Consumer, null, (r) => t(r)) : t(Bf);
12766
+ return ml !== void 0 ? /* @__PURE__ */ B.createElement(ml.Consumer, null, (r) => t(r)) : t(Bf);
12767
12767
  }
12768
12768
  function $S(e) {
12769
12769
  return Gf({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "g", attr: { id: "Circle_Info" }, child: [{ tag: "g", attr: {}, child: [{ tag: "g", attr: {}, child: [{ tag: "path", attr: { d: "M11.5,15a.5.5,0,0,0,1,0h0V10.981a.5.5,0,0,0-1,0Z" }, child: [] }, { tag: "circle", attr: { cx: "12", cy: "8.999", r: "0.5" }, child: [] }] }, { tag: "path", attr: { d: "M12,2.065A9.934,9.934,0,1,1,2.066,12,9.945,9.945,0,0,1,12,2.065Zm0,18.867A8.934,8.934,0,1,0,3.066,12,8.944,8.944,0,0,0,12,20.932Z" }, child: [] }] }] }] })(e);
@@ -12947,11 +12947,11 @@ const Kt = (e) => (t) => {
12947
12947
  ] })
12948
12948
  }
12949
12949
  );
12950
- }, KS = W.forwardRef(
12950
+ }, KS = B.forwardRef(
12951
12951
  (e, t) => /* @__PURE__ */ l.jsx(yo, { ...e, ref: t })
12952
- ), YS = W.forwardRef(
12952
+ ), YS = B.forwardRef(
12953
12953
  (e, t) => Kt(KS)({ ...e, ref: t })
12954
- ), XS = W.forwardRef((e, t) => {
12954
+ ), XS = B.forwardRef((e, t) => {
12955
12955
  const {
12956
12956
  options: r = [],
12957
12957
  onChange: n = () => {
@@ -12988,7 +12988,7 @@ var zs = "Radio", [JS, Uf] = Ae(zs), [QS, e1] = JS(zs), Kf = d.forwardRef(
12988
12988
  onCheck: c,
12989
12989
  form: u,
12990
12990
  ...f
12991
- } = e, [p, m] = d.useState(null), g = le(t, (x) => m(x)), h = d.useRef(!1), v = p ? u || !!p.closest("form") : !0;
12991
+ } = e, [p, m] = d.useState(null), g = ce(t, (x) => m(x)), h = d.useRef(!1), v = p ? u || !!p.closest("form") : !0;
12992
12992
  return /* @__PURE__ */ l.jsxs(QS, { scope: r, checked: o, disabled: s, children: [
12993
12993
  /* @__PURE__ */ l.jsx(
12994
12994
  ne.button,
@@ -13048,7 +13048,7 @@ var t1 = "RadioBubbleInput", Zf = d.forwardRef(
13048
13048
  bubbles: n = !0,
13049
13049
  ...o
13050
13050
  }, a) => {
13051
- const s = d.useRef(null), i = le(s, a), c = So(r), u = go(t);
13051
+ const s = d.useRef(null), i = ce(s, a), c = So(r), u = go(t);
13052
13052
  return d.useEffect(() => {
13053
13053
  const f = s.current;
13054
13054
  if (!f) return;
@@ -13146,7 +13146,7 @@ var r1 = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], Bo = "RadioGroup",
13146
13146
  tp.displayName = Bo;
13147
13147
  var rp = "RadioGroupItem", np = d.forwardRef(
13148
13148
  (e, t) => {
13149
- const { __scopeRadioGroup: r, disabled: n, ...o } = e, a = a1(rp, r), s = a.disabled || n, i = Qf(r), c = ep(r), u = d.useRef(null), f = le(t, u), p = a.value === o.value, m = d.useRef(!1);
13149
+ const { __scopeRadioGroup: r, disabled: n, ...o } = e, a = a1(rp, r), s = a.disabled || n, i = Qf(r), c = ep(r), u = d.useRef(null), f = ce(t, u), p = a.value === o.value, m = d.useRef(!1);
13150
13150
  return d.useEffect(() => {
13151
13151
  const g = (v) => {
13152
13152
  r1.includes(v.key) && (m.current = !0);
@@ -13241,7 +13241,7 @@ function d1({
13241
13241
  }
13242
13242
  );
13243
13243
  }
13244
- const ap = W.forwardRef((e, t) => {
13244
+ const ap = B.forwardRef((e, t) => {
13245
13245
  const {
13246
13246
  value: r,
13247
13247
  defaultValue: n,
@@ -13376,7 +13376,7 @@ sp.displayName = "RadioGroupItemComponent";
13376
13376
  const f1 = Kt(ap), p1 = (e) => /* @__PURE__ */ l.jsx("hr", { className: "w-full h-px border-[var(--base-sidebar-border)]", ...e }), m1 = ({ children: e, description: t, className: r }) => /* @__PURE__ */ l.jsxs("div", { className: k("space-y-1", r), children: [
13377
13377
  /* @__PURE__ */ l.jsx("h2", { className: "flex items-center gap-2.5 text-2xl text-white", children: e }),
13378
13378
  t && /* @__PURE__ */ l.jsx("span", { className: "text-sm text-purple-muted-300", children: t })
13379
- ] }), ip = W.forwardRef(
13379
+ ] }), ip = B.forwardRef(
13380
13380
  ({ direction: e = "horizontal", className: t, ...r }, n) => {
13381
13381
  const o = k(
13382
13382
  "flex flex-row gap-6",
@@ -13407,7 +13407,7 @@ function g1({ className: e, rows: t, ...r }) {
13407
13407
  }
13408
13408
  );
13409
13409
  }
13410
- const v1 = W.forwardRef(
13410
+ const v1 = B.forwardRef(
13411
13411
  ({ variant: e = "default", className: t, ...r }, n) => {
13412
13412
  const o = Kt(g1);
13413
13413
  return /* @__PURE__ */ l.jsx(
@@ -13538,16 +13538,16 @@ const v1 = W.forwardRef(
13538
13538
  onResetTags: w = () => {
13539
13539
  }
13540
13540
  }) => {
13541
- const [C, E] = je(""), [R, N] = je(!1), j = he(null), D = he(null), F = he(null), [q, Q] = je();
13541
+ const [C, E] = je(""), [R, N] = je(!1), j = xe(null), D = xe(null), V = xe(null), [W, Q] = je();
13542
13542
  ze(() => {
13543
13543
  D.current && Q(D.current.offsetWidth);
13544
13544
  }, []);
13545
- const Z = e.length >= s, z = (L) => {
13546
- if (Z || e.some((G) => G.id === L.id)) return;
13545
+ const ee = e.length >= s, G = (L) => {
13546
+ if (ee || e.some((z) => z.id === L.id)) return;
13547
13547
  const A = [...e, L];
13548
13548
  x(A), b(L);
13549
13549
  }, O = (L) => {
13550
- const A = e.filter((G) => G.id !== L);
13550
+ const A = e.filter((z) => z.id !== L);
13551
13551
  x(A), y(L);
13552
13552
  }, I = () => {
13553
13553
  x == null || x([]), w();
@@ -13557,26 +13557,26 @@ const v1 = W.forwardRef(
13557
13557
  }, P = () => {
13558
13558
  const L = C.trim().toLowerCase();
13559
13559
  if (!L) return [];
13560
- const A = new Set(e.map((G) => G.id));
13560
+ const A = new Set(e.map((z) => z.id));
13561
13561
  return o.filter(
13562
- (G) => G.label.toLowerCase().includes(L) && !A.has(G.id)
13562
+ (z) => z.label.toLowerCase().includes(L) && !A.has(z.id)
13563
13563
  );
13564
13564
  }, _ = (L) => v ? v(L) : L, U = () => {
13565
13565
  const L = C.trim();
13566
13566
  if (!L) return;
13567
13567
  const A = _(L);
13568
13568
  if (!A) return;
13569
- if (e.some((B) => B.id === A)) {
13569
+ if (e.some((Z) => Z.id === A)) {
13570
13570
  E(""), N(!1);
13571
13571
  return;
13572
13572
  }
13573
- const G = o.find(
13574
- (B) => B.id === A || _(B.label) === A
13573
+ const z = o.find(
13574
+ (Z) => Z.id === A || _(Z.label) === A
13575
13575
  );
13576
- G ? z(G) : a && z({ id: A, label: A }), E(""), N(!1);
13576
+ z ? G(z) : a && G({ id: A, label: A }), E(""), N(!1);
13577
13577
  }, J = (L) => {
13578
- const A = L.key === ga.BACKSPACE && !C && e.length > 0, G = L.key === ga.ENTER && C, B = L.key === ga.ESCAPE;
13579
- G ? (L.preventDefault(), U(), F.current && (F.current.scrollLeft = F.current.scrollWidth)) : A ? O(e[e.length - 1].id) : B && N(!1);
13578
+ const A = L.key === ga.BACKSPACE && !C && e.length > 0, z = L.key === ga.ENTER && C, Z = L.key === ga.ESCAPE;
13579
+ z ? (L.preventDefault(), U(), V.current && (V.current.scrollLeft = V.current.scrollWidth)) : A ? O(e[e.length - 1].id) : Z && N(!1);
13580
13580
  }, T = () => {
13581
13581
  if (C && P().length > 0)
13582
13582
  return /* @__PURE__ */ l.jsx(
@@ -13584,7 +13584,7 @@ const v1 = W.forwardRef(
13584
13584
  {
13585
13585
  className: "p-0 border-transparent bg-[var(--fill-interactive-neutral-idle)] gap-2",
13586
13586
  align: "start",
13587
- style: { width: q ?? void 0 },
13587
+ style: { width: W ?? void 0 },
13588
13588
  onOpenAutoFocus: (L) => L.preventDefault(),
13589
13589
  onCloseAutoFocus: (L) => L.preventDefault(),
13590
13590
  onMouseDown: (L) => L.preventDefault(),
@@ -13607,7 +13607,7 @@ const v1 = W.forwardRef(
13607
13607
  tagVariant: t,
13608
13608
  onClick: () => {
13609
13609
  var A;
13610
- z(L), E(""), N(!1), (A = j.current) == null || A.focus();
13610
+ G(L), E(""), N(!1), (A = j.current) == null || A.focus();
13611
13611
  }
13612
13612
  },
13613
13613
  L.id
@@ -13616,7 +13616,7 @@ const v1 = W.forwardRef(
13616
13616
  )
13617
13617
  }
13618
13618
  );
13619
- }, H = () => m || /* @__PURE__ */ l.jsx(qv, { className: "h-4 w-4 stroke-[var(--icon-bg-neutral-mild)]" }), X = () => e.map((L) => /* @__PURE__ */ l.jsx(
13619
+ }, q = () => m || /* @__PURE__ */ l.jsx(qv, { className: "h-4 w-4 stroke-[var(--icon-bg-neutral-mild)]" }), X = () => e.map((L) => /* @__PURE__ */ l.jsx(
13620
13620
  lp,
13621
13621
  {
13622
13622
  label: L.label,
@@ -13649,11 +13649,11 @@ const v1 = W.forwardRef(
13649
13649
  L.stopPropagation(), N(!0), (A = j.current) == null || A.focus();
13650
13650
  },
13651
13651
  children: [
13652
- H(),
13652
+ q(),
13653
13653
  /* @__PURE__ */ l.jsxs(
13654
13654
  "div",
13655
13655
  {
13656
- ref: F,
13656
+ ref: V,
13657
13657
  className: "flex items-center gap-2 w-full whitespace-normal overflow-x-auto",
13658
13658
  children: [
13659
13659
  X(),
@@ -13668,7 +13668,7 @@ const v1 = W.forwardRef(
13668
13668
  onBlur: h,
13669
13669
  onKeyDown: J,
13670
13670
  placeholder: r,
13671
- disabled: i || Z,
13671
+ disabled: i || ee,
13672
13672
  className: k(
13673
13673
  "m-0 h-6.5 flex-1 min-w-[6rem] border-0 bg-transparent dark:bg-transparent p-0 shadow-none focus-visible:outline-none focus-visible:ring-0 font-normal text-xs",
13674
13674
  "placeholder:text-[var(--text-input-neutral-placeholder)] dark:placeholder:text-[var(--text-input-neutral-placeholder)] placeholder:text-xs"
@@ -13807,11 +13807,11 @@ var gp = Object.prototype, Q1 = gp.hasOwnProperty, eE = gp.propertyIsEnumerable,
13807
13807
  function rE() {
13808
13808
  return !1;
13809
13809
  }
13810
- var vp = typeof exports == "object" && exports && !exports.nodeType && exports, Cl = vp && typeof module == "object" && module && !module.nodeType && module, nE = Cl && Cl.exports === vp, Sl = nE ? Tt.Buffer : void 0, oE = Sl ? Sl.isBuffer : void 0, aE = oE || rE, sE = "[object Arguments]", iE = "[object Array]", lE = "[object Boolean]", cE = "[object Date]", uE = "[object Error]", dE = "[object Function]", fE = "[object Map]", pE = "[object Number]", mE = "[object Object]", gE = "[object RegExp]", vE = "[object Set]", hE = "[object String]", xE = "[object WeakMap]", bE = "[object ArrayBuffer]", yE = "[object DataView]", wE = "[object Float32Array]", CE = "[object Float64Array]", SE = "[object Int8Array]", EE = "[object Int16Array]", NE = "[object Int32Array]", jE = "[object Uint8Array]", RE = "[object Uint8ClampedArray]", kE = "[object Uint16Array]", PE = "[object Uint32Array]", ve = {};
13811
- ve[wE] = ve[CE] = ve[SE] = ve[EE] = ve[NE] = ve[jE] = ve[RE] = ve[kE] = ve[PE] = !0;
13812
- ve[sE] = ve[iE] = ve[bE] = ve[lE] = ve[yE] = ve[cE] = ve[uE] = ve[dE] = ve[fE] = ve[pE] = ve[mE] = ve[gE] = ve[vE] = ve[hE] = ve[xE] = !1;
13810
+ var vp = typeof exports == "object" && exports && !exports.nodeType && exports, Cl = vp && typeof module == "object" && module && !module.nodeType && module, nE = Cl && Cl.exports === vp, Sl = nE ? Tt.Buffer : void 0, oE = Sl ? Sl.isBuffer : void 0, aE = oE || rE, sE = "[object Arguments]", iE = "[object Array]", lE = "[object Boolean]", cE = "[object Date]", uE = "[object Error]", dE = "[object Function]", fE = "[object Map]", pE = "[object Number]", mE = "[object Object]", gE = "[object RegExp]", vE = "[object Set]", hE = "[object String]", xE = "[object WeakMap]", bE = "[object ArrayBuffer]", yE = "[object DataView]", wE = "[object Float32Array]", CE = "[object Float64Array]", SE = "[object Int8Array]", EE = "[object Int16Array]", NE = "[object Int32Array]", jE = "[object Uint8Array]", RE = "[object Uint8ClampedArray]", kE = "[object Uint16Array]", PE = "[object Uint32Array]", he = {};
13811
+ he[wE] = he[CE] = he[SE] = he[EE] = he[NE] = he[jE] = he[RE] = he[kE] = he[PE] = !0;
13812
+ he[sE] = he[iE] = he[bE] = he[lE] = he[yE] = he[cE] = he[uE] = he[dE] = he[fE] = he[pE] = he[mE] = he[gE] = he[vE] = he[hE] = he[xE] = !1;
13813
13813
  function TE(e) {
13814
- return Hs(e) && pp(e.length) && !!ve[pn(e)];
13814
+ return Hs(e) && pp(e.length) && !!he[pn(e)];
13815
13815
  }
13816
13816
  function AE(e) {
13817
13817
  return function(t) {
@@ -13986,7 +13986,7 @@ var wp = "CheckboxTrigger", Cp = d.forwardRef(
13986
13986
  hasConsumerStoppedPropagationRef: m,
13987
13987
  isFormControl: g,
13988
13988
  bubbleInput: h
13989
- } = Zs(wp, e), v = le(o, f), x = d.useRef(c);
13989
+ } = Zs(wp, e), v = ce(o, f), x = d.useRef(c);
13990
13990
  return d.useEffect(() => {
13991
13991
  const b = a == null ? void 0 : a.form;
13992
13992
  if (b) {
@@ -14100,7 +14100,7 @@ var Np = "CheckboxBubbleInput", jp = d.forwardRef(
14100
14100
  form: p,
14101
14101
  bubbleInput: m,
14102
14102
  setBubbleInput: g
14103
- } = Zs(Np, e), h = le(r, g), v = So(a), x = go(n);
14103
+ } = Zs(Np, e), h = ce(r, g), v = So(a), x = go(n);
14104
14104
  d.useEffect(() => {
14105
14105
  const y = m;
14106
14106
  if (!y) return;
@@ -14232,7 +14232,7 @@ function kp({
14232
14232
  "span",
14233
14233
  {
14234
14234
  className: k(
14235
- "flex-1 flex items-center gap-2 text-[var(--text-interactive-neutral-active)]",
14235
+ "flex-1 flex items-center gap-2 whitespace-nowrap text-[var(--text-interactive-neutral-active)]",
14236
14236
  {
14237
14237
  "text-[var(--text-interactive-emphasis-active,#A8A1FD)]": h
14238
14238
  }
@@ -14292,53 +14292,54 @@ function aN({
14292
14292
  onSearchChange: w,
14293
14293
  renderValue: C,
14294
14294
  size: E = "default",
14295
- ...R
14295
+ contentMaxWidth: R,
14296
+ ...N
14296
14297
  }) {
14297
- const [N, j] = je(0), [D, F] = je(!1), [q, Q] = je(""), Z = he(null), z = a === vl.MULTIPLE, [O, I] = je(
14298
- e !== void 0 ? e : z ? [] : ""
14299
- ), M = YE(O), P = new Set(M);
14298
+ const [j, D] = je(0), [V, W] = je(!1), [Q, ee] = je(""), G = xe(null), O = a === vl.MULTIPLE, [I, M] = je(
14299
+ e !== void 0 ? e : O ? [] : ""
14300
+ ), P = YE(I), _ = new Set(P);
14300
14301
  ze(() => {
14301
- Z.current && j(Z.current.offsetWidth);
14302
- }, [O]);
14303
- const _ = XE(t), U = ZE(t);
14302
+ G.current && D(G.current.offsetWidth);
14303
+ }, [I]);
14304
+ const U = XE(t), J = ZE(t);
14304
14305
  ze(() => {
14305
- e !== void 0 && I(z ? e || [] : e || "");
14306
- }, [e, z]);
14307
- function J(B, ee) {
14308
- if (!z) {
14309
- I(B), r == null || r(B), F(!1);
14306
+ e !== void 0 && M(O ? e || [] : e || "");
14307
+ }, [e, O]);
14308
+ function T(H, te) {
14309
+ if (!O) {
14310
+ M(H), r == null || r(H), W(!1);
14310
14311
  return;
14311
14312
  }
14312
- I((te) => {
14313
- const $ = Array.isArray(te) ? te : [], se = new Set($), ue = xp(t, B);
14314
- if (!ue) return $;
14315
- ee ? T(ue, se) : H(B, se);
14316
- const me = Array.from(se);
14313
+ M(($) => {
14314
+ const se = Array.isArray($) ? $ : [], le = new Set(se), me = xp(t, H);
14315
+ if (!me) return se;
14316
+ te ? q(me, le) : X(H, le);
14317
+ const ve = Array.from(le);
14317
14318
  return r == null || r(
14318
- me
14319
- ), me;
14319
+ ve
14320
+ ), ve;
14320
14321
  });
14321
14322
  }
14322
- function T(B, ee) {
14323
- Us(B).every(
14324
- (se) => ee.has(se)
14325
- ) ? JE(B, ee) : QE(B, ee);
14323
+ function q(H, te) {
14324
+ Us(H).every(
14325
+ (le) => te.has(le)
14326
+ ) ? JE(H, te) : QE(H, te);
14326
14327
  }
14327
- function H(B, ee) {
14328
- ee.has(B) ? ee.delete(B) : ee.add(B), bp(t, ee);
14328
+ function X(H, te) {
14329
+ te.has(H) ? te.delete(H) : te.add(H), bp(t, te);
14329
14330
  }
14330
- const X = E === "xs" ? "sm" : "md", Y = () => {
14331
- const B = yp(t, M), ee = B.length === 0;
14331
+ const Y = E === "xs" ? "sm" : "md", L = () => {
14332
+ const H = yp(t, P), te = H.length === 0;
14332
14333
  if (C) {
14333
- const te = C({ displayValues: B });
14334
- if (te)
14335
- return te;
14334
+ const $ = C({ displayValues: H });
14335
+ if ($)
14336
+ return $;
14336
14337
  }
14337
- return ee ? /* @__PURE__ */ l.jsx(
14338
+ return te ? /* @__PURE__ */ l.jsx(
14338
14339
  vr,
14339
14340
  {
14340
14341
  variant: m,
14341
- size: X,
14342
+ size: Y,
14342
14343
  className: k(
14343
14344
  "text-[var(--text-input-neutral-placeholder)]",
14344
14345
  {
@@ -14348,13 +14349,13 @@ function aN({
14348
14349
  ),
14349
14350
  children: s
14350
14351
  }
14351
- ) : B.map((te) => {
14352
- const $ = U.get(te), se = _.get(te) || te;
14352
+ ) : H.map(($) => {
14353
+ const se = J.get($), le = U.get($) || $;
14353
14354
  return /* @__PURE__ */ l.jsx(
14354
14355
  vr,
14355
14356
  {
14356
14357
  variant: m,
14357
- size: X,
14358
+ size: Y,
14358
14359
  className: k(
14359
14360
  "text-[var(--text-input-neutral-idle)]",
14360
14361
  {
@@ -14363,34 +14364,34 @@ function aN({
14363
14364
  p
14364
14365
  ),
14365
14366
  children: /* @__PURE__ */ l.jsxs("div", { className: "flex items-center gap-1", children: [
14366
- $ && /* @__PURE__ */ l.jsx("div", { className: "flex-shrink-0", children: $ }),
14367
- /* @__PURE__ */ l.jsx("span", { children: se })
14367
+ se && /* @__PURE__ */ l.jsx("div", { className: "flex-shrink-0", children: se }),
14368
+ /* @__PURE__ */ l.jsx("span", { children: le })
14368
14369
  ] })
14369
14370
  },
14370
- te
14371
+ $
14371
14372
  );
14372
14373
  });
14373
- }, L = (B) => {
14374
- Q(B), w == null || w(B);
14375
- }, A = () => {
14374
+ }, A = (H) => {
14375
+ ee(H), w == null || w(H);
14376
+ }, z = () => {
14376
14377
  if (g)
14377
14378
  return /* @__PURE__ */ l.jsx(
14378
14379
  gd,
14379
14380
  {
14380
14381
  className: "placeholder:text-[var(--text-bg-neutral-mid)] text-[var(--text-interactive-neutral-active)]",
14381
14382
  placeholder: i,
14382
- value: q,
14383
- onValueChange: L
14383
+ value: Q,
14384
+ onValueChange: A
14384
14385
  }
14385
14386
  );
14386
- }, G = n || o;
14387
+ }, Z = n || o;
14387
14388
  return /* @__PURE__ */ l.jsxs(
14388
14389
  vs,
14389
14390
  {
14390
- open: D,
14391
- onOpenChange: G ? void 0 : F,
14391
+ open: V,
14392
+ onOpenChange: Z ? void 0 : W,
14392
14393
  children: [
14393
- /* @__PURE__ */ l.jsx(hs, { asChild: !0, disabled: G, children: /* @__PURE__ */ l.jsxs(
14394
+ /* @__PURE__ */ l.jsx(hs, { asChild: !0, disabled: Z, children: /* @__PURE__ */ l.jsxs(
14394
14395
  "div",
14395
14396
  {
14396
14397
  className: k(
@@ -14400,8 +14401,8 @@ function aN({
14400
14401
  {
14401
14402
  "h-7 px-2 py-1.5 text-xs": E === "xs",
14402
14403
  "h-8 px-3 py-1": E === "default",
14403
- "cursor-pointer hover:border-[var(--border-input-neutral-hover)]": !G,
14404
- "hover:bg-[var(--fill-input-neutral-hover)]": !G && x !== xl.GHOST,
14404
+ "cursor-pointer hover:border-[var(--border-input-neutral-hover)]": !Z,
14405
+ "hover:bg-[var(--fill-input-neutral-hover)]": !Z && x !== xl.GHOST,
14405
14406
  "bg-[var(--fill-input-neutral-idle)]": x !== xl.GHOST,
14406
14407
  "cursor-not-allowed opacity-75": n,
14407
14408
  "cursor-default border-0": o && !n,
@@ -14409,10 +14410,10 @@ function aN({
14409
14410
  },
14410
14411
  f
14411
14412
  ),
14412
- ref: Z,
14413
- "aria-disabled": G,
14413
+ ref: G,
14414
+ "aria-disabled": Z,
14414
14415
  "aria-readonly": o,
14415
- ...R,
14416
+ ...N,
14416
14417
  children: [
14417
14418
  /* @__PURE__ */ l.jsx(
14418
14419
  "div",
@@ -14421,7 +14422,7 @@ function aN({
14421
14422
  "flex justify-start text-start w-[100%] whitespace-nowrap overflow-x-auto gap-1.5",
14422
14423
  u
14423
14424
  ),
14424
- children: Y()
14425
+ children: L()
14425
14426
  }
14426
14427
  ),
14427
14428
  !o && /* @__PURE__ */ l.jsx("div", { className: "[&>svg]:text-[var(--icon-input-neutral-idle)] [&>svg]:hover:text-[var(--icon-input-neutral-hover)] [&>svg]:w-4 [&>svg]:h-4", children: h })
@@ -14432,23 +14433,27 @@ function aN({
14432
14433
  xs,
14433
14434
  {
14434
14435
  className: "p-0 border bg-[var(--fill-interactive-neutral-idle)] border-[var(--border-interactive-neutral-idle)] [&>svg]:text-purple-muted-300",
14435
- style: { width: N ?? "auto" },
14436
+ style: {
14437
+ width: "max-content",
14438
+ minWidth: j ?? "auto",
14439
+ maxWidth: R ?? "calc(100vw - 2rem)"
14440
+ },
14436
14441
  children: /* @__PURE__ */ l.jsxs(md, { className: "bg-[var(--fill-interactive-neutral-idle)]", children: [
14437
- A(),
14442
+ z(),
14438
14443
  /* @__PURE__ */ l.jsxs(vd, { children: [
14439
14444
  /* @__PURE__ */ l.jsx(hd, { children: c }),
14440
- /* @__PURE__ */ l.jsx(xd, { children: t.map((B) => /* @__PURE__ */ l.jsx(
14445
+ /* @__PURE__ */ l.jsx(xd, { children: t.map((H) => /* @__PURE__ */ l.jsx(
14441
14446
  kp,
14442
14447
  {
14443
14448
  disabled: n,
14444
- option: B,
14445
- selected: P,
14446
- onSelect: J,
14449
+ option: H,
14450
+ selected: _,
14451
+ onSelect: T,
14447
14452
  dir: v,
14448
14453
  selectionIndicator: y,
14449
14454
  size: E
14450
14455
  },
14451
- B.value
14456
+ H.value
14452
14457
  )) })
14453
14458
  ] })
14454
14459
  ] })
@@ -14458,7 +14463,7 @@ function aN({
14458
14463
  }
14459
14464
  );
14460
14465
  }
14461
- const Pp = W.forwardRef(
14466
+ const Pp = B.forwardRef(
14462
14467
  (e) => {
14463
14468
  const { options: t, onChange: r, readOnly: n, value: o, disabled: a, mode: s, ...i } = e, c = (u) => {
14464
14469
  n || r && r({
@@ -14482,7 +14487,7 @@ const Pp = W.forwardRef(
14482
14487
  }
14483
14488
  );
14484
14489
  Pp.displayName = "BaseSelectComponent";
14485
- const sN = Kt(Pp), Tp = W.forwardRef((e, t) => {
14490
+ const sN = Kt(Pp), Tp = B.forwardRef((e, t) => {
14486
14491
  const {
14487
14492
  value: r = [],
14488
14493
  defaultValue: n = [],
@@ -14494,7 +14499,7 @@ const sN = Kt(Pp), Tp = W.forwardRef((e, t) => {
14494
14499
  onChange: u,
14495
14500
  children: f,
14496
14501
  ...p
14497
- } = e, [m, g] = W.useState(
14502
+ } = e, [m, g] = B.useState(
14498
14503
  gn(r) ? n : r
14499
14504
  ), h = c === "horizontal", v = r !== void 0 ? r : m, x = (w, C) => {
14500
14505
  if (s) return;
@@ -14510,12 +14515,12 @@ const sN = Kt(Pp), Tp = W.forwardRef((e, t) => {
14510
14515
  "flex-col gap-3": !h
14511
14516
  },
14512
14517
  i
14513
- ), y = () => W.Children.map(f, (w) => {
14514
- if (!W.isValidElement(w)) return w;
14518
+ ), y = () => B.Children.map(f, (w) => {
14519
+ if (!B.isValidElement(w)) return w;
14515
14520
  const C = w.props.name;
14516
14521
  if (!C) return w;
14517
14522
  const E = w.props.disabled, R = s || a || E;
14518
- return W.cloneElement(w, {
14523
+ return B.cloneElement(w, {
14519
14524
  checked: v.includes(C),
14520
14525
  onCheckedChange: (N) => x(C, N),
14521
14526
  disabled: R,
@@ -14754,9 +14759,9 @@ function ON(e) {
14754
14759
  }
14755
14760
  var MN = () => (e) => Array.from(new Set(e)), $p = typeof globalThis.document < "u" ? Gl : ze;
14756
14761
  function oo(e) {
14757
- const t = e().value ?? e().defaultValue, r = e().isEqual ?? Object.is, [n] = je(t), [o, a] = je(n), s = e().value !== void 0, i = he(o);
14762
+ const t = e().value ?? e().defaultValue, r = e().isEqual ?? Object.is, [n] = je(t), [o, a] = je(n), s = e().value !== void 0, i = xe(o);
14758
14763
  i.current = s ? e().value : o;
14759
- const c = he(i.current);
14764
+ const c = xe(i.current);
14760
14765
  $p(() => {
14761
14766
  c.current = i.current;
14762
14767
  }, [o, e().value]);
@@ -14789,7 +14794,7 @@ oo.cleanup = (e) => {
14789
14794
  ze(() => e, []);
14790
14795
  };
14791
14796
  oo.ref = (e) => {
14792
- const t = he(e);
14797
+ const t = xe(e);
14793
14798
  return {
14794
14799
  get: () => t.current,
14795
14800
  set: (r) => {
@@ -14798,7 +14803,7 @@ oo.ref = (e) => {
14798
14803
  };
14799
14804
  };
14800
14805
  function DN(e) {
14801
- const t = he(e);
14806
+ const t = xe(e);
14802
14807
  return {
14803
14808
  get(r) {
14804
14809
  return t.current[r];
@@ -14809,7 +14814,7 @@ function DN(e) {
14809
14814
  };
14810
14815
  }
14811
14816
  var $N = (e, t) => {
14812
- const r = he(!1), n = he(!1);
14817
+ const r = xe(!1), n = xe(!1);
14813
14818
  ze(() => {
14814
14819
  if (r.current && n.current) return t();
14815
14820
  n.current = !0;
@@ -14818,13 +14823,13 @@ var $N = (e, t) => {
14818
14823
  }), []);
14819
14824
  };
14820
14825
  function LN(e, t = {}) {
14821
- var q, Q, Z, z;
14826
+ var W, Q, ee, G;
14822
14827
  const r = Wn(() => {
14823
14828
  const { id: O, ids: I, getRootNode: M } = t;
14824
14829
  return _N({ id: O, ids: I, getRootNode: M });
14825
14830
  }, [t]), n = (...O) => {
14826
14831
  e.debug && console.log(...O);
14827
- }, o = ((q = e.props) == null ? void 0 : q.call(e, { props: Op(t), scope: r })) ?? t, a = FN(o), s = (Q = e.context) == null ? void 0 : Q.call(e, {
14832
+ }, o = ((W = e.props) == null ? void 0 : W.call(e, { props: Op(t), scope: r })) ?? t, a = FN(o), s = (Q = e.context) == null ? void 0 : Q.call(e, {
14828
14833
  prop: a,
14829
14834
  bindable: oo,
14830
14835
  scope: r,
@@ -14859,7 +14864,7 @@ function LN(e, t = {}) {
14859
14864
  const I = (M = i.current) == null ? void 0 : M[O].get();
14860
14865
  return (P = i.current) == null ? void 0 : P[O].hash(I);
14861
14866
  }
14862
- }, u = he(/* @__PURE__ */ new Map()), f = he(null), p = he(null), m = he({ type: "" }), g = () => ({
14867
+ }, u = xe(/* @__PURE__ */ new Map()), f = xe(null), p = xe(null), m = xe({ type: "" }), g = () => ({
14863
14868
  ...m.current,
14864
14869
  current() {
14865
14870
  return m.current;
@@ -14876,12 +14881,12 @@ function LN(e, t = {}) {
14876
14881
  var I, M;
14877
14882
  return !!((M = (I = e.states[R.ref.current]) == null ? void 0 : I.tags) != null && M.includes(O));
14878
14883
  }
14879
- }), v = DN(((Z = e.refs) == null ? void 0 : Z.call(e, { prop: a, context: c })) ?? {}), x = () => ({
14884
+ }), v = DN(((ee = e.refs) == null ? void 0 : ee.call(e, { prop: a, context: c })) ?? {}), x = () => ({
14880
14885
  state: h(),
14881
14886
  context: c,
14882
14887
  event: g(),
14883
14888
  prop: a,
14884
- send: F,
14889
+ send: V,
14885
14890
  action: b,
14886
14891
  guard: y,
14887
14892
  track: $N,
@@ -14947,7 +14952,7 @@ function LN(e, t = {}) {
14947
14952
  }
14948
14953
  b((J = e.states[O]) == null ? void 0 : J.entry);
14949
14954
  }
14950
- })), N = he(void 0), j = he(cr.NotStarted);
14955
+ })), N = xe(void 0), j = xe(cr.NotStarted);
14951
14956
  $p(() => {
14952
14957
  queueMicrotask(() => {
14953
14958
  const M = j.current === cr.Started;
@@ -14962,7 +14967,7 @@ function LN(e, t = {}) {
14962
14967
  });
14963
14968
  };
14964
14969
  }, []);
14965
- const D = () => "ref" in R ? R.ref.current : R.get(), F = (O) => {
14970
+ const D = () => "ref" in R ? R.ref.current : R.get(), V = (O) => {
14966
14971
  queueMicrotask(() => {
14967
14972
  var J, T;
14968
14973
  if (j.current !== cr.Started) return;
@@ -14981,9 +14986,9 @@ function LN(e, t = {}) {
14981
14986
  U ? Ka(() => R.set(_)) : P.reenter && !U ? R.invoke(I, I) : b(P.actions ?? []);
14982
14987
  });
14983
14988
  };
14984
- return (z = e.watch) == null || z.call(e, x()), {
14989
+ return (G = e.watch) == null || G.call(e, x()), {
14985
14990
  state: h(),
14986
- send: F,
14991
+ send: V,
14987
14992
  context: c,
14988
14993
  prop: a,
14989
14994
  scope: r,
@@ -14994,7 +14999,7 @@ function LN(e, t = {}) {
14994
14999
  };
14995
15000
  }
14996
15001
  function Lp(e) {
14997
- const t = he(e);
15002
+ const t = xe(e);
14998
15003
  return t.current = e, t;
14999
15004
  }
15000
15005
  function FN(e) {
@@ -16175,7 +16180,7 @@ function Tj({
16175
16180
  threshold: o,
16176
16181
  findScrollableContainer: a
16177
16182
  }) {
16178
- const s = he(null), [i, c] = je(!1), [u, f] = je(!0), p = he(null), m = he(!1), g = r !== void 0 ? r : u, h = Ne(async () => {
16183
+ const s = xe(null), [i, c] = je(!1), [u, f] = je(!0), p = xe(null), m = xe(!1), g = r !== void 0 ? r : u, h = Ne(async () => {
16179
16184
  if (!(!t || m.current || !g)) {
16180
16185
  m.current = !0, c(!0);
16181
16186
  try {
@@ -16254,16 +16259,16 @@ const Aj = 150, On = {
16254
16259
  className: y,
16255
16260
  ...w
16256
16261
  }) => {
16257
- const C = e.getVisibleFlatColumns().length, E = g === On.PAGINATION && e.options.manualPagination && e.options.onPaginationChange, R = e.getRowModel().rows.length === 0, N = e.getCoreRowModel().rows.length === 0 && !o, j = !o && (a || N || R), D = "hover:bg-transparent cursor-default", F = he(null), q = Ne(() => F.current ? F.current.querySelector(
16262
+ const C = e.getVisibleFlatColumns().length, E = g === On.PAGINATION && e.options.manualPagination && e.options.onPaginationChange, R = e.getRowModel().rows.length === 0, N = e.getCoreRowModel().rows.length === 0 && !o, j = !o && (a || N || R), D = "hover:bg-transparent cursor-default", V = xe(null), W = Ne(() => V.current ? V.current.querySelector(
16258
16263
  "[data-table-scroll-container]"
16259
- ) || F.current : null, []), { loadMoreRef: Q, hasMore: Z } = Tj({
16264
+ ) || V.current : null, []), { loadMoreRef: Q, hasMore: ee } = Tj({
16260
16265
  enabled: g === On.INFINITE_SCROLL,
16261
16266
  onLoadMore: h,
16262
16267
  hasMore: v,
16263
16268
  isLoading: o,
16264
16269
  threshold: x,
16265
- findScrollableContainer: q
16266
- }), z = () => e.getHeaderGroups().map((I) => /* @__PURE__ */ l.jsx(ft, { children: I.headers.map((M) => /* @__PURE__ */ l.jsx(
16270
+ findScrollableContainer: W
16271
+ }), G = () => e.getHeaderGroups().map((I) => /* @__PURE__ */ l.jsx(ft, { children: I.headers.map((M) => /* @__PURE__ */ l.jsx(
16267
16272
  em,
16268
16273
  {
16269
16274
  className: "text-[#A1A1AA]",
@@ -16330,7 +16335,7 @@ const Aj = 150, On = {
16330
16335
  children: /* @__PURE__ */ l.jsx("div", { ref: Q, className: "h-px w-full" })
16331
16336
  }
16332
16337
  ) }),
16333
- !Z && /* @__PURE__ */ l.jsx(
16338
+ !ee && /* @__PURE__ */ l.jsx(
16334
16339
  Pj,
16335
16340
  {
16336
16341
  columnsCount: C,
@@ -16340,7 +16345,7 @@ const Aj = 150, On = {
16340
16345
  ] }) : I;
16341
16346
  };
16342
16347
  return /* @__PURE__ */ l.jsxs("div", { className: k("qodo qodo-table", "flex flex-col h-full w-full"), children: [
16343
- /* @__PURE__ */ l.jsx("div", { ref: F, className: "flex-1 min-h-0", children: /* @__PURE__ */ l.jsxs(
16348
+ /* @__PURE__ */ l.jsx("div", { ref: V, className: "flex-1 min-h-0", children: /* @__PURE__ */ l.jsxs(
16344
16349
  Zp,
16345
16350
  {
16346
16351
  wrapperClassName: f,
@@ -16353,7 +16358,7 @@ const Aj = 150, On = {
16353
16358
  "aria-busy": o,
16354
16359
  ...w,
16355
16360
  children: [
16356
- /* @__PURE__ */ l.jsx(Jp, { children: z() }),
16361
+ /* @__PURE__ */ l.jsx(Jp, { children: G() }),
16357
16362
  /* @__PURE__ */ l.jsx(Qp, { children: O() })
16358
16363
  ]
16359
16364
  }
@@ -16520,7 +16525,7 @@ var qe = "MenuContent", [Kj, ai] = Xt(qe), fm = d.forwardRef(
16520
16525
  }
16521
16526
  ), Yj = d.forwardRef(
16522
16527
  (e, t) => {
16523
- const r = At(qe, e.__scopeMenu), n = d.useRef(null), o = le(t, n);
16528
+ const r = At(qe, e.__scopeMenu), n = d.useRef(null), o = ce(t, n);
16524
16529
  return d.useEffect(() => {
16525
16530
  const a = n.current;
16526
16531
  if (a) return Eo(a);
@@ -16571,23 +16576,23 @@ var qe = "MenuContent", [Kj, ai] = Xt(qe), fm = d.forwardRef(
16571
16576
  onDismiss: g,
16572
16577
  disableOutsideScroll: h,
16573
16578
  ...v
16574
- } = e, x = At(qe, r), b = bn(qe, r), y = xn(r), w = im(r), C = Gj(r), [E, R] = d.useState(null), N = d.useRef(null), j = le(t, N, x.onContentChange), D = d.useRef(0), F = d.useRef(""), q = d.useRef(0), Q = d.useRef(null), Z = d.useRef("right"), z = d.useRef(0), O = h ? sn : d.Fragment, I = h ? { as: Zj, allowPinchZoom: !0 } : void 0, M = (_) => {
16575
- var A, G;
16576
- const U = F.current + _, J = C().filter((B) => !B.disabled), T = document.activeElement, H = (A = J.find((B) => B.ref.current === T)) == null ? void 0 : A.textValue, X = J.map((B) => B.textValue), Y = cR(X, U, H), L = (G = J.find((B) => B.textValue === Y)) == null ? void 0 : G.ref.current;
16577
- (function B(ee) {
16578
- F.current = ee, window.clearTimeout(D.current), ee !== "" && (D.current = window.setTimeout(() => B(""), 1e3));
16579
+ } = e, x = At(qe, r), b = bn(qe, r), y = xn(r), w = im(r), C = Gj(r), [E, R] = d.useState(null), N = d.useRef(null), j = ce(t, N, x.onContentChange), D = d.useRef(0), V = d.useRef(""), W = d.useRef(0), Q = d.useRef(null), ee = d.useRef("right"), G = d.useRef(0), O = h ? sn : d.Fragment, I = h ? { as: Zj, allowPinchZoom: !0 } : void 0, M = (_) => {
16580
+ var A, z;
16581
+ const U = V.current + _, J = C().filter((Z) => !Z.disabled), T = document.activeElement, q = (A = J.find((Z) => Z.ref.current === T)) == null ? void 0 : A.textValue, X = J.map((Z) => Z.textValue), Y = cR(X, U, q), L = (z = J.find((Z) => Z.textValue === Y)) == null ? void 0 : z.ref.current;
16582
+ (function Z(H) {
16583
+ V.current = H, window.clearTimeout(D.current), H !== "" && (D.current = window.setTimeout(() => Z(""), 1e3));
16579
16584
  })(U), L && setTimeout(() => L.focus());
16580
16585
  };
16581
16586
  d.useEffect(() => () => window.clearTimeout(D.current), []), Co();
16582
16587
  const P = d.useCallback((_) => {
16583
16588
  var J, T;
16584
- return Z.current === ((J = Q.current) == null ? void 0 : J.side) && dR(_, (T = Q.current) == null ? void 0 : T.area);
16589
+ return ee.current === ((J = Q.current) == null ? void 0 : J.side) && dR(_, (T = Q.current) == null ? void 0 : T.area);
16585
16590
  }, []);
16586
16591
  return /* @__PURE__ */ l.jsx(
16587
16592
  Kj,
16588
16593
  {
16589
16594
  scope: r,
16590
- searchRef: F,
16595
+ searchRef: V,
16591
16596
  onItemEnter: d.useCallback(
16592
16597
  (_) => {
16593
16598
  P(_) && _.preventDefault();
@@ -16607,7 +16612,7 @@ var qe = "MenuContent", [Kj, ai] = Xt(qe), fm = d.forwardRef(
16607
16612
  },
16608
16613
  [P]
16609
16614
  ),
16610
- pointerGraceTimerRef: q,
16615
+ pointerGraceTimerRef: W,
16611
16616
  onPointerGraceIntentChange: d.useCallback((_) => {
16612
16617
  Q.current = _;
16613
16618
  }, []),
@@ -16658,8 +16663,8 @@ var qe = "MenuContent", [Kj, ai] = Xt(qe), fm = d.forwardRef(
16658
16663
  ref: j,
16659
16664
  style: { outline: "none", ...v.style },
16660
16665
  onKeyDown: K(v.onKeyDown, (_) => {
16661
- const J = _.target.closest("[data-radix-menu-content]") === _.currentTarget, T = _.ctrlKey || _.altKey || _.metaKey, H = _.key.length === 1;
16662
- J && (_.key === "Tab" && _.preventDefault(), !T && H && M(_.key));
16666
+ const J = _.target.closest("[data-radix-menu-content]") === _.currentTarget, T = _.ctrlKey || _.altKey || _.metaKey, q = _.key.length === 1;
16667
+ J && (_.key === "Tab" && _.preventDefault(), !T && q && M(_.key));
16663
16668
  const X = N.current;
16664
16669
  if (_.target !== X || !Vj.includes(_.key)) return;
16665
16670
  _.preventDefault();
@@ -16667,15 +16672,15 @@ var qe = "MenuContent", [Kj, ai] = Xt(qe), fm = d.forwardRef(
16667
16672
  am.includes(_.key) && L.reverse(), iR(L);
16668
16673
  }),
16669
16674
  onBlur: K(e.onBlur, (_) => {
16670
- _.currentTarget.contains(_.target) || (window.clearTimeout(D.current), F.current = "");
16675
+ _.currentTarget.contains(_.target) || (window.clearTimeout(D.current), V.current = "");
16671
16676
  }),
16672
16677
  onPointerMove: K(
16673
16678
  e.onPointerMove,
16674
16679
  en((_) => {
16675
- const U = _.target, J = z.current !== _.clientX;
16680
+ const U = _.target, J = G.current !== _.clientX;
16676
16681
  if (_.currentTarget.contains(U) && J) {
16677
- const T = _.clientX > z.current ? "right" : "left";
16678
- Z.current = T, z.current = _.clientX;
16682
+ const T = _.clientX > G.current ? "right" : "left";
16683
+ ee.current = T, G.current = _.clientX;
16679
16684
  }
16680
16685
  })
16681
16686
  )
@@ -16708,7 +16713,7 @@ var Qj = "MenuLabel", pm = d.forwardRef(
16708
16713
  pm.displayName = Qj;
16709
16714
  var ao = "MenuItem", Vl = "menu.itemSelect", zo = d.forwardRef(
16710
16715
  (e, t) => {
16711
- const { disabled: r = !1, onSelect: n, ...o } = e, a = d.useRef(null), s = bn(ao, e.__scopeMenu), i = ai(ao, e.__scopeMenu), c = le(t, a), u = d.useRef(!1), f = () => {
16716
+ const { disabled: r = !1, onSelect: n, ...o } = e, a = d.useRef(null), s = bn(ao, e.__scopeMenu), i = ai(ao, e.__scopeMenu), c = ce(t, a), u = d.useRef(!1), f = () => {
16712
16717
  const p = a.current;
16713
16718
  if (!r && p) {
16714
16719
  const m = new CustomEvent(Vl, { bubbles: !0, cancelable: !0 });
@@ -16741,7 +16746,7 @@ var ao = "MenuItem", Vl = "menu.itemSelect", zo = d.forwardRef(
16741
16746
  zo.displayName = ao;
16742
16747
  var mm = d.forwardRef(
16743
16748
  (e, t) => {
16744
- const { __scopeMenu: r, disabled: n = !1, textValue: o, ...a } = e, s = ai(ao, r), i = im(r), c = d.useRef(null), u = le(t, c), [f, p] = d.useState(!1), [m, g] = d.useState("");
16749
+ const { __scopeMenu: r, disabled: n = !1, textValue: o, ...a } = e, s = ai(ao, r), i = im(r), c = d.useRef(null), u = ce(t, c), [f, p] = d.useState(!1), [m, g] = d.useState("");
16745
16750
  return d.useEffect(() => {
16746
16751
  const h = c.current;
16747
16752
  h && g((h.textContent ?? "").trim());
@@ -16976,7 +16981,7 @@ var zr = "MenuSubTrigger", jm = d.forwardRef(
16976
16981
  jm.displayName = zr;
16977
16982
  var Rm = "MenuSubContent", km = d.forwardRef(
16978
16983
  (e, t) => {
16979
- const r = um(qe, e.__scopeMenu), { forceMount: n = r.forceMount, ...o } = e, a = At(qe, e.__scopeMenu), s = bn(qe, e.__scopeMenu), i = Em(Rm, e.__scopeMenu), c = d.useRef(null), u = le(t, c);
16984
+ const r = um(qe, e.__scopeMenu), { forceMount: n = r.forceMount, ...o } = e, a = At(qe, e.__scopeMenu), s = bn(qe, e.__scopeMenu), i = Em(Rm, e.__scopeMenu), c = d.useRef(null), u = ce(t, c);
16980
16985
  return /* @__PURE__ */ l.jsx(Qr.Provider, { scope: e.__scopeMenu, children: /* @__PURE__ */ l.jsx(Ie, { present: n || a.open, children: /* @__PURE__ */ l.jsx(Qr.Slot, { scope: e.__scopeMenu, children: /* @__PURE__ */ l.jsx(
16981
16986
  si,
16982
16987
  {
@@ -17852,7 +17857,7 @@ const tk = ({ radioItem: e }) => /* @__PURE__ */ l.jsxs(
17852
17857
  invalidEmailError: c = "Invalid email",
17853
17858
  invalidDomainError: u = "Email domain is not allowed"
17854
17859
  }) => {
17855
- const f = he(null), p = he(null), [m, g] = je(""), [h, v] = je(!1), { emails: x, setEmails: b, addTokens: y, removeToken: w, clearAll: C, notify: E } = Ck({ onChange: e, organization: o }), R = Sk({
17860
+ const f = xe(null), p = xe(null), [m, g] = je(""), [h, v] = je(!1), { emails: x, setEmails: b, addTokens: y, removeToken: w, clearAll: C, notify: E } = Ck({ onChange: e, organization: o }), R = Sk({
17856
17861
  draft: m,
17857
17862
  setDraft: g,
17858
17863
  addTokens: y,
@@ -17873,32 +17878,32 @@ const tk = ({ radioItem: e }) => /* @__PURE__ */ l.jsxs(
17873
17878
  []
17874
17879
  ), D = Ne(() => {
17875
17880
  m.trim() && (y(m), g("")), v(!1);
17876
- }, [m, y]), F = Ne(
17881
+ }, [m, y]), V = Ne(
17877
17882
  (U) => {
17878
17883
  const J = U.clipboardData.getData("text");
17879
17884
  J && (U.preventDefault(), y(J), g(""));
17880
17885
  },
17881
17886
  [y]
17882
- ), q = Ne(() => {
17887
+ ), W = Ne(() => {
17883
17888
  var U;
17884
17889
  (U = p.current) == null || U.focus();
17885
17890
  }, [p]), Q = Ne(() => {
17886
17891
  v(!1);
17887
- }, []), Z = Ne(
17892
+ }, []), ee = Ne(
17888
17893
  (U) => {
17889
17894
  var T;
17890
17895
  const J = U.relatedTarget;
17891
17896
  J && ((T = f.current) != null && T.contains(J)) || m.trim() && (y(m), g(""));
17892
17897
  },
17893
17898
  [m, y]
17894
- ), z = x.length > 0, O = !z && m.length === 0, I = z || m.length > 0, M = k(
17899
+ ), G = x.length > 0, O = !G && m.length === 0, I = G || m.length > 0, M = k(
17895
17900
  "bg-transparent text-sm outline-none border-0 p-0 h-6 shadow-none focus-visible:ring-0 whitespace-nowrap text-purple-muted-200 placeholder:text-purple-muted-400",
17896
- z ? "flex-none shrink-0 overflow-x-auto overflow-y-hidden no-scrollbar" : "flex-1 !min-w-full overflow-hidden",
17901
+ G ? "flex-none shrink-0 overflow-x-auto overflow-y-hidden no-scrollbar" : "flex-1 !min-w-full overflow-hidden",
17897
17902
  { "opacity-50 cursor-not-allowed": t },
17898
17903
  a
17899
17904
  ), P = k(
17900
17905
  "inline-flex items-center gap-1 no-scrollbar",
17901
- z ? "w-max" : "w-full",
17906
+ G ? "w-max" : "w-full",
17902
17907
  s
17903
17908
  ), _ = k(
17904
17909
  "qodo qodo-email-chips-input",
@@ -17915,9 +17920,9 @@ const tk = ({ radioItem: e }) => /* @__PURE__ */ l.jsxs(
17915
17920
  {
17916
17921
  ref: f,
17917
17922
  className: _,
17918
- onClick: q,
17923
+ onClick: W,
17919
17924
  onFocus: Q,
17920
- onBlur: Z,
17925
+ onBlur: ee,
17921
17926
  children: [
17922
17927
  /* @__PURE__ */ l.jsx("div", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-purple-muted-400", children: /* @__PURE__ */ l.jsx(Vv, { className: "w-4 h-4" }) }),
17923
17928
  /* @__PURE__ */ l.jsx("div", { className: "w-full text-start max-w-full min-w-0 overflow-x-auto overflow-y-hidden no-scrollbar", children: /* @__PURE__ */ l.jsxs("div", { className: P, children: [
@@ -17938,7 +17943,7 @@ const tk = ({ radioItem: e }) => /* @__PURE__ */ l.jsxs(
17938
17943
  onChange: j,
17939
17944
  onKeyDown: R,
17940
17945
  onBlur: D,
17941
- onPaste: F,
17946
+ onPaste: V,
17942
17947
  className: M,
17943
17948
  placeholder: O ? N() : "",
17944
17949
  disabled: t