buildgrid-ui 1.15.3 → 1.15.5

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.
@@ -77,14 +77,14 @@ function dh() {
77
77
  case b:
78
78
  return (k._context.displayName || "Context") + ".Consumer";
79
79
  case C:
80
- var G = k.render;
81
- return k = k.displayName, k || (k = G.displayName || G.name || "", k = k !== "" ? "ForwardRef(" + k + ")" : "ForwardRef"), k;
80
+ var U = k.render;
81
+ return k = k.displayName, k || (k = U.displayName || U.name || "", k = k !== "" ? "ForwardRef(" + k + ")" : "ForwardRef"), k;
82
82
  case N:
83
- return G = k.displayName || null, G !== null ? G : e(k.type) || "Memo";
83
+ return U = k.displayName || null, U !== null ? U : e(k.type) || "Memo";
84
84
  case E:
85
- G = k._payload, k = k._init;
85
+ U = k._payload, k = k._init;
86
86
  try {
87
- return e(k(G));
87
+ return e(k(U));
88
88
  } catch {
89
89
  }
90
90
  }
@@ -96,15 +96,15 @@ function dh() {
96
96
  function n(k) {
97
97
  try {
98
98
  t(k);
99
- var G = !1;
99
+ var U = !1;
100
100
  } catch {
101
- G = !0;
101
+ U = !0;
102
102
  }
103
- if (G) {
104
- G = console;
105
- var R = G.error, I = typeof Symbol == "function" && Symbol.toStringTag && k[Symbol.toStringTag] || k.constructor.name || "Object";
103
+ if (U) {
104
+ U = console;
105
+ var R = U.error, I = typeof Symbol == "function" && Symbol.toStringTag && k[Symbol.toStringTag] || k.constructor.name || "Object";
106
106
  return R.call(
107
- G,
107
+ U,
108
108
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
109
109
  I
110
110
  ), t(k);
@@ -115,8 +115,8 @@ function dh() {
115
115
  if (typeof k == "object" && k !== null && k.$$typeof === E)
116
116
  return "<...>";
117
117
  try {
118
- var G = e(k);
119
- return G ? "<" + G + ">" : "<...>";
118
+ var U = e(k);
119
+ return U ? "<" + U + ">" : "<...>";
120
120
  } catch {
121
121
  return "<...>";
122
122
  }
@@ -129,17 +129,17 @@ function dh() {
129
129
  return Error("react-stack-top-frame");
130
130
  }
131
131
  function s(k) {
132
- if (B.call(k, "key")) {
133
- var G = Object.getOwnPropertyDescriptor(k, "key").get;
134
- if (G && G.isReactWarning) return !1;
132
+ if (K.call(k, "key")) {
133
+ var U = Object.getOwnPropertyDescriptor(k, "key").get;
134
+ if (U && U.isReactWarning) return !1;
135
135
  }
136
136
  return k.key !== void 0;
137
137
  }
138
- function c(k, G) {
138
+ function c(k, U) {
139
139
  function R() {
140
140
  ee || (ee = !0, console.error(
141
141
  "%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://react.dev/link/special-props)",
142
- G
142
+ U
143
143
  ));
144
144
  }
145
145
  R.isReactWarning = !0, Object.defineProperty(k, "key", {
@@ -149,15 +149,15 @@ function dh() {
149
149
  }
150
150
  function l() {
151
151
  var k = e(this.type);
152
- return V[k] || (V[k] = !0, console.error(
152
+ return z[k] || (z[k] = !0, console.error(
153
153
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
154
154
  )), k = this.props.ref, k !== void 0 ? k : null;
155
155
  }
156
- function d(k, G, R, I, $, L, Q, M) {
156
+ function d(k, U, R, I, $, L, J, M) {
157
157
  return R = L.ref, k = {
158
158
  $$typeof: p,
159
159
  type: k,
160
- key: G,
160
+ key: U,
161
161
  props: L,
162
162
  _owner: $
163
163
  }, (R !== void 0 ? R : null) !== null ? Object.defineProperty(k, "ref", {
@@ -177,7 +177,7 @@ function dh() {
177
177
  configurable: !1,
178
178
  enumerable: !1,
179
179
  writable: !0,
180
- value: Q
180
+ value: J
181
181
  }), Object.defineProperty(k, "_debugTask", {
182
182
  configurable: !1,
183
183
  enumerable: !1,
@@ -185,25 +185,25 @@ function dh() {
185
185
  value: M
186
186
  }), Object.freeze && (Object.freeze(k.props), Object.freeze(k)), k;
187
187
  }
188
- function f(k, G, R, I, $, L, Q, M) {
189
- var U = G.children;
190
- if (U !== void 0)
188
+ function f(k, U, R, I, $, L, J, M) {
189
+ var Y = U.children;
190
+ if (Y !== void 0)
191
191
  if (I)
192
- if (J(U)) {
193
- for (I = 0; I < U.length; I++)
194
- m(U[I]);
195
- Object.freeze && Object.freeze(U);
192
+ if (V(Y)) {
193
+ for (I = 0; I < Y.length; I++)
194
+ m(Y[I]);
195
+ Object.freeze && Object.freeze(Y);
196
196
  } else
197
197
  console.error(
198
198
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
199
199
  );
200
- else m(U);
201
- if (B.call(G, "key")) {
202
- U = e(k);
203
- var q = Object.keys(G).filter(function(re) {
200
+ else m(Y);
201
+ if (K.call(U, "key")) {
202
+ Y = e(k);
203
+ var X = Object.keys(U).filter(function(re) {
204
204
  return re !== "key";
205
205
  });
206
- I = 0 < q.length ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}", _[U + I] || (q = 0 < q.length ? "{" + q.join(": ..., ") + ": ...}" : "{}", console.error(
206
+ I = 0 < X.length ? "{key: someKey, " + X.join(": ..., ") + ": ...}" : "{key: someKey}", _[Y + I] || (X = 0 < X.length ? "{" + X.join(": ..., ") + ": ...}" : "{}", console.error(
207
207
  `A props object containing a "key" prop is being spread into JSX:
208
208
  let props = %s;
209
209
  <%s {...props} />
@@ -211,34 +211,34 @@ React keys must be passed directly to JSX without using spread:
211
211
  let props = %s;
212
212
  <%s key={someKey} {...props} />`,
213
213
  I,
214
- U,
215
- q,
216
- U
217
- ), _[U + I] = !0);
214
+ Y,
215
+ X,
216
+ Y
217
+ ), _[Y + I] = !0);
218
218
  }
219
- if (U = null, R !== void 0 && (n(R), U = "" + R), s(G) && (n(G.key), U = "" + G.key), "key" in G) {
219
+ if (Y = null, R !== void 0 && (n(R), Y = "" + R), s(U) && (n(U.key), Y = "" + U.key), "key" in U) {
220
220
  R = {};
221
- for (var te in G)
222
- te !== "key" && (R[te] = G[te]);
223
- } else R = G;
224
- return U && c(
221
+ for (var te in U)
222
+ te !== "key" && (R[te] = U[te]);
223
+ } else R = U;
224
+ return Y && c(
225
225
  R,
226
226
  typeof k == "function" ? k.displayName || k.name || "Unknown" : k
227
227
  ), d(
228
228
  k,
229
- U,
229
+ Y,
230
230
  L,
231
231
  $,
232
232
  o(),
233
233
  R,
234
- Q,
234
+ J,
235
235
  M
236
236
  );
237
237
  }
238
238
  function m(k) {
239
239
  typeof k == "object" && k !== null && k.$$typeof === p && k._store && (k._store.validated = 1);
240
240
  }
241
- var h = D, p = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), b = Symbol.for("react.consumer"), y = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), P = Symbol.for("react.suspense_list"), N = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), T = Symbol.for("react.activity"), O = Symbol.for("react.client.reference"), W = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, B = Object.prototype.hasOwnProperty, J = Array.isArray, Y = console.createTask ? console.createTask : function() {
241
+ var h = D, p = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), w = Symbol.for("react.profiler"), b = Symbol.for("react.consumer"), y = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), P = Symbol.for("react.suspense_list"), N = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), T = Symbol.for("react.activity"), O = Symbol.for("react.client.reference"), W = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, K = Object.prototype.hasOwnProperty, V = Array.isArray, G = console.createTask ? console.createTask : function() {
242
242
  return null;
243
243
  };
244
244
  h = {
@@ -246,33 +246,33 @@ React keys must be passed directly to JSX without using spread:
246
246
  return k();
247
247
  }
248
248
  };
249
- var ee, V = {}, K = h["react-stack-bottom-frame"].bind(
249
+ var ee, z = {}, q = h["react-stack-bottom-frame"].bind(
250
250
  h,
251
251
  a
252
- )(), A = Y(r(a)), _ = {};
253
- kn.Fragment = g, kn.jsx = function(k, G, R, I, $) {
252
+ )(), A = G(r(a)), _ = {};
253
+ kn.Fragment = g, kn.jsx = function(k, U, R, I, $) {
254
254
  var L = 1e4 > W.recentlyCreatedOwnerStacks++;
255
255
  return f(
256
256
  k,
257
- G,
257
+ U,
258
258
  R,
259
259
  !1,
260
260
  I,
261
261
  $,
262
- L ? Error("react-stack-top-frame") : K,
263
- L ? Y(r(k)) : A
262
+ L ? Error("react-stack-top-frame") : q,
263
+ L ? G(r(k)) : A
264
264
  );
265
- }, kn.jsxs = function(k, G, R, I, $) {
265
+ }, kn.jsxs = function(k, U, R, I, $) {
266
266
  var L = 1e4 > W.recentlyCreatedOwnerStacks++;
267
267
  return f(
268
268
  k,
269
- G,
269
+ U,
270
270
  R,
271
271
  !0,
272
272
  I,
273
273
  $,
274
- L ? Error("react-stack-top-frame") : K,
275
- L ? Y(r(k)) : A
274
+ L ? Error("react-stack-top-frame") : q,
275
+ L ? G(r(k)) : A
276
276
  );
277
277
  };
278
278
  }()), kn;
@@ -542,7 +542,7 @@ const Se = (e) => {
542
542
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
543
543
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
544
544
  Th.test(e) && !Mh.test(e)
545
- ), jc = () => !1, Dh = (e) => jh.test(e), Oh = (e) => Ah.test(e), $h = (e) => !X(e) && !Z(e), Lh = (e) => xn(e, _c, jc), X = (e) => Tc.test(e), Bt = (e) => xn(e, Dc, _h), Mo = (e) => xn(e, Wh, ie), ri = (e) => xn(e, Ac, jc), Fh = (e) => xn(e, Ic, Oh), cr = (e) => xn(e, Oc, Dh), Z = (e) => Mc.test(e), Pn = (e) => bn(e, Dc), Bh = (e) => bn(e, Hh), oi = (e) => bn(e, Ac), zh = (e) => bn(e, _c), Vh = (e) => bn(e, Ic), lr = (e) => bn(e, Oc, !0), xn = (e, t, n) => {
545
+ ), jc = () => !1, Dh = (e) => jh.test(e), Oh = (e) => Ah.test(e), $h = (e) => !Z(e) && !Q(e), Lh = (e) => xn(e, _c, jc), Z = (e) => Tc.test(e), Bt = (e) => xn(e, Dc, _h), Mo = (e) => xn(e, Wh, ie), ri = (e) => xn(e, Ac, jc), Fh = (e) => xn(e, Ic, Oh), cr = (e) => xn(e, Oc, Dh), Q = (e) => Mc.test(e), Pn = (e) => bn(e, Dc), Bh = (e) => bn(e, Hh), oi = (e) => bn(e, Ac), zh = (e) => bn(e, _c), Vh = (e) => bn(e, Ic), lr = (e) => bn(e, Oc, !0), xn = (e, t, n) => {
546
546
  const r = Tc.exec(e);
547
547
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
548
548
  }, bn = (e, t, n = !1) => {
@@ -567,30 +567,30 @@ const Se = (e) => {
567
567
  "bottom-left",
568
568
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
569
569
  "left-bottom"
570
- ], S = () => [...C(), Z, X], P = () => ["auto", "hidden", "clip", "visible", "scroll"], N = () => ["auto", "contain", "none"], E = () => [Z, X, l], T = () => [tn, "full", "auto", ...E()], O = () => [yt, "none", "subgrid", Z, X], W = () => ["auto", {
571
- span: ["full", yt, Z, X]
572
- }, yt, Z, X], B = () => [yt, "auto", Z, X], J = () => ["auto", "min", "max", "fr", Z, X], Y = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], ee = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], V = () => ["auto", ...E()], K = () => [tn, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], A = () => [e, Z, X], _ = () => [...C(), oi, ri, {
573
- position: [Z, X]
570
+ ], S = () => [...C(), Q, Z], P = () => ["auto", "hidden", "clip", "visible", "scroll"], N = () => ["auto", "contain", "none"], E = () => [Q, Z, l], T = () => [tn, "full", "auto", ...E()], O = () => [yt, "none", "subgrid", Q, Z], W = () => ["auto", {
571
+ span: ["full", yt, Q, Z]
572
+ }, yt, Q, Z], K = () => [yt, "auto", Q, Z], V = () => ["auto", "min", "max", "fr", Q, Z], G = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], ee = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], z = () => ["auto", ...E()], q = () => [tn, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], A = () => [e, Q, Z], _ = () => [...C(), oi, ri, {
573
+ position: [Q, Z]
574
574
  }], k = () => ["no-repeat", {
575
575
  repeat: ["", "x", "y", "space", "round"]
576
- }], G = () => ["auto", "cover", "contain", zh, Lh, {
577
- size: [Z, X]
576
+ }], U = () => ["auto", "cover", "contain", zh, Lh, {
577
+ size: [Q, Z]
578
578
  }], R = () => [To, Pn, Bt], I = () => [
579
579
  // Deprecated since Tailwind CSS v4.0.0
580
580
  "",
581
581
  "none",
582
582
  "full",
583
583
  d,
584
- Z,
585
- X
586
- ], $ = () => ["", ie, Pn, Bt], L = () => ["solid", "dashed", "dotted", "double"], Q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => [ie, To, oi, ri], U = () => [
584
+ Q,
585
+ Z
586
+ ], $ = () => ["", ie, Pn, Bt], L = () => ["solid", "dashed", "dotted", "double"], J = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], M = () => [ie, To, oi, ri], Y = () => [
587
587
  // Deprecated since Tailwind CSS v4.0.0
588
588
  "",
589
589
  "none",
590
590
  v,
591
- Z,
592
- X
593
- ], q = () => ["none", ie, Z, X], te = () => ["none", ie, Z, X], re = () => [ie, Z, X], se = () => [tn, "full", ...E()];
591
+ Q,
592
+ Z
593
+ ], X = () => ["none", ie, Q, Z], te = () => ["none", ie, Q, Z], re = () => [ie, Q, Z], se = () => [tn, "full", ...E()];
594
594
  return {
595
595
  cacheSize: 500,
596
596
  theme: {
@@ -623,7 +623,7 @@ const Se = (e) => {
623
623
  * @see https://tailwindcss.com/docs/aspect-ratio
624
624
  */
625
625
  aspect: [{
626
- aspect: ["auto", "square", tn, X, Z, x]
626
+ aspect: ["auto", "square", tn, Z, Q, x]
627
627
  }],
628
628
  /**
629
629
  * Container
@@ -636,7 +636,7 @@ const Se = (e) => {
636
636
  * @see https://tailwindcss.com/docs/columns
637
637
  */
638
638
  columns: [{
639
- columns: [ie, X, Z, c]
639
+ columns: [ie, Z, Q, c]
640
640
  }],
641
641
  /**
642
642
  * Break After
@@ -836,7 +836,7 @@ const Se = (e) => {
836
836
  * @see https://tailwindcss.com/docs/z-index
837
837
  */
838
838
  z: [{
839
- z: [yt, "auto", Z, X]
839
+ z: [yt, "auto", Q, Z]
840
840
  }],
841
841
  // ------------------------
842
842
  // --- Flexbox and Grid ---
@@ -867,28 +867,28 @@ const Se = (e) => {
867
867
  * @see https://tailwindcss.com/docs/flex
868
868
  */
869
869
  flex: [{
870
- flex: [ie, tn, "auto", "initial", "none", X]
870
+ flex: [ie, tn, "auto", "initial", "none", Z]
871
871
  }],
872
872
  /**
873
873
  * Flex Grow
874
874
  * @see https://tailwindcss.com/docs/flex-grow
875
875
  */
876
876
  grow: [{
877
- grow: ["", ie, Z, X]
877
+ grow: ["", ie, Q, Z]
878
878
  }],
879
879
  /**
880
880
  * Flex Shrink
881
881
  * @see https://tailwindcss.com/docs/flex-shrink
882
882
  */
883
883
  shrink: [{
884
- shrink: ["", ie, Z, X]
884
+ shrink: ["", ie, Q, Z]
885
885
  }],
886
886
  /**
887
887
  * Order
888
888
  * @see https://tailwindcss.com/docs/order
889
889
  */
890
890
  order: [{
891
- order: [yt, "first", "last", "none", Z, X]
891
+ order: [yt, "first", "last", "none", Q, Z]
892
892
  }],
893
893
  /**
894
894
  * Grid Template Columns
@@ -909,14 +909,14 @@ const Se = (e) => {
909
909
  * @see https://tailwindcss.com/docs/grid-column
910
910
  */
911
911
  "col-start": [{
912
- "col-start": B()
912
+ "col-start": K()
913
913
  }],
914
914
  /**
915
915
  * Grid Column End
916
916
  * @see https://tailwindcss.com/docs/grid-column
917
917
  */
918
918
  "col-end": [{
919
- "col-end": B()
919
+ "col-end": K()
920
920
  }],
921
921
  /**
922
922
  * Grid Template Rows
@@ -937,14 +937,14 @@ const Se = (e) => {
937
937
  * @see https://tailwindcss.com/docs/grid-row
938
938
  */
939
939
  "row-start": [{
940
- "row-start": B()
940
+ "row-start": K()
941
941
  }],
942
942
  /**
943
943
  * Grid Row End
944
944
  * @see https://tailwindcss.com/docs/grid-row
945
945
  */
946
946
  "row-end": [{
947
- "row-end": B()
947
+ "row-end": K()
948
948
  }],
949
949
  /**
950
950
  * Grid Auto Flow
@@ -958,14 +958,14 @@ const Se = (e) => {
958
958
  * @see https://tailwindcss.com/docs/grid-auto-columns
959
959
  */
960
960
  "auto-cols": [{
961
- "auto-cols": J()
961
+ "auto-cols": V()
962
962
  }],
963
963
  /**
964
964
  * Grid Auto Rows
965
965
  * @see https://tailwindcss.com/docs/grid-auto-rows
966
966
  */
967
967
  "auto-rows": [{
968
- "auto-rows": J()
968
+ "auto-rows": V()
969
969
  }],
970
970
  /**
971
971
  * Gap
@@ -993,7 +993,7 @@ const Se = (e) => {
993
993
  * @see https://tailwindcss.com/docs/justify-content
994
994
  */
995
995
  "justify-content": [{
996
- justify: [...Y(), "normal"]
996
+ justify: [...G(), "normal"]
997
997
  }],
998
998
  /**
999
999
  * Justify Items
@@ -1014,7 +1014,7 @@ const Se = (e) => {
1014
1014
  * @see https://tailwindcss.com/docs/align-content
1015
1015
  */
1016
1016
  "align-content": [{
1017
- content: ["normal", ...Y()]
1017
+ content: ["normal", ...G()]
1018
1018
  }],
1019
1019
  /**
1020
1020
  * Align Items
@@ -1039,7 +1039,7 @@ const Se = (e) => {
1039
1039
  * @see https://tailwindcss.com/docs/place-content
1040
1040
  */
1041
1041
  "place-content": [{
1042
- "place-content": Y()
1042
+ "place-content": G()
1043
1043
  }],
1044
1044
  /**
1045
1045
  * Place Items
@@ -1124,63 +1124,63 @@ const Se = (e) => {
1124
1124
  * @see https://tailwindcss.com/docs/margin
1125
1125
  */
1126
1126
  m: [{
1127
- m: V()
1127
+ m: z()
1128
1128
  }],
1129
1129
  /**
1130
1130
  * Margin X
1131
1131
  * @see https://tailwindcss.com/docs/margin
1132
1132
  */
1133
1133
  mx: [{
1134
- mx: V()
1134
+ mx: z()
1135
1135
  }],
1136
1136
  /**
1137
1137
  * Margin Y
1138
1138
  * @see https://tailwindcss.com/docs/margin
1139
1139
  */
1140
1140
  my: [{
1141
- my: V()
1141
+ my: z()
1142
1142
  }],
1143
1143
  /**
1144
1144
  * Margin Start
1145
1145
  * @see https://tailwindcss.com/docs/margin
1146
1146
  */
1147
1147
  ms: [{
1148
- ms: V()
1148
+ ms: z()
1149
1149
  }],
1150
1150
  /**
1151
1151
  * Margin End
1152
1152
  * @see https://tailwindcss.com/docs/margin
1153
1153
  */
1154
1154
  me: [{
1155
- me: V()
1155
+ me: z()
1156
1156
  }],
1157
1157
  /**
1158
1158
  * Margin Top
1159
1159
  * @see https://tailwindcss.com/docs/margin
1160
1160
  */
1161
1161
  mt: [{
1162
- mt: V()
1162
+ mt: z()
1163
1163
  }],
1164
1164
  /**
1165
1165
  * Margin Right
1166
1166
  * @see https://tailwindcss.com/docs/margin
1167
1167
  */
1168
1168
  mr: [{
1169
- mr: V()
1169
+ mr: z()
1170
1170
  }],
1171
1171
  /**
1172
1172
  * Margin Bottom
1173
1173
  * @see https://tailwindcss.com/docs/margin
1174
1174
  */
1175
1175
  mb: [{
1176
- mb: V()
1176
+ mb: z()
1177
1177
  }],
1178
1178
  /**
1179
1179
  * Margin Left
1180
1180
  * @see https://tailwindcss.com/docs/margin
1181
1181
  */
1182
1182
  ml: [{
1183
- ml: V()
1183
+ ml: z()
1184
1184
  }],
1185
1185
  /**
1186
1186
  * Space Between X
@@ -1214,14 +1214,14 @@ const Se = (e) => {
1214
1214
  * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
1215
1215
  */
1216
1216
  size: [{
1217
- size: K()
1217
+ size: q()
1218
1218
  }],
1219
1219
  /**
1220
1220
  * Width
1221
1221
  * @see https://tailwindcss.com/docs/width
1222
1222
  */
1223
1223
  w: [{
1224
- w: [c, "screen", ...K()]
1224
+ w: [c, "screen", ...q()]
1225
1225
  }],
1226
1226
  /**
1227
1227
  * Min-Width
@@ -1233,7 +1233,7 @@ const Se = (e) => {
1233
1233
  "screen",
1234
1234
  /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1235
1235
  "none",
1236
- ...K()
1236
+ ...q()
1237
1237
  ]
1238
1238
  }],
1239
1239
  /**
@@ -1251,7 +1251,7 @@ const Se = (e) => {
1251
1251
  {
1252
1252
  screen: [s]
1253
1253
  },
1254
- ...K()
1254
+ ...q()
1255
1255
  ]
1256
1256
  }],
1257
1257
  /**
@@ -1259,21 +1259,21 @@ const Se = (e) => {
1259
1259
  * @see https://tailwindcss.com/docs/height
1260
1260
  */
1261
1261
  h: [{
1262
- h: ["screen", "lh", ...K()]
1262
+ h: ["screen", "lh", ...q()]
1263
1263
  }],
1264
1264
  /**
1265
1265
  * Min-Height
1266
1266
  * @see https://tailwindcss.com/docs/min-height
1267
1267
  */
1268
1268
  "min-h": [{
1269
- "min-h": ["screen", "lh", "none", ...K()]
1269
+ "min-h": ["screen", "lh", "none", ...q()]
1270
1270
  }],
1271
1271
  /**
1272
1272
  * Max-Height
1273
1273
  * @see https://tailwindcss.com/docs/max-height
1274
1274
  */
1275
1275
  "max-h": [{
1276
- "max-h": ["screen", "lh", ...K()]
1276
+ "max-h": ["screen", "lh", ...q()]
1277
1277
  }],
1278
1278
  // ------------------
1279
1279
  // --- Typography ---
@@ -1300,21 +1300,21 @@ const Se = (e) => {
1300
1300
  * @see https://tailwindcss.com/docs/font-weight
1301
1301
  */
1302
1302
  "font-weight": [{
1303
- font: [r, Z, Mo]
1303
+ font: [r, Q, Mo]
1304
1304
  }],
1305
1305
  /**
1306
1306
  * Font Stretch
1307
1307
  * @see https://tailwindcss.com/docs/font-stretch
1308
1308
  */
1309
1309
  "font-stretch": [{
1310
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", To, X]
1310
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", To, Z]
1311
1311
  }],
1312
1312
  /**
1313
1313
  * Font Family
1314
1314
  * @see https://tailwindcss.com/docs/font-family
1315
1315
  */
1316
1316
  "font-family": [{
1317
- font: [Bh, X, t]
1317
+ font: [Bh, Z, t]
1318
1318
  }],
1319
1319
  /**
1320
1320
  * Font Variant Numeric
@@ -1351,14 +1351,14 @@ const Se = (e) => {
1351
1351
  * @see https://tailwindcss.com/docs/letter-spacing
1352
1352
  */
1353
1353
  tracking: [{
1354
- tracking: [o, Z, X]
1354
+ tracking: [o, Q, Z]
1355
1355
  }],
1356
1356
  /**
1357
1357
  * Line Clamp
1358
1358
  * @see https://tailwindcss.com/docs/line-clamp
1359
1359
  */
1360
1360
  "line-clamp": [{
1361
- "line-clamp": [ie, "none", Z, Mo]
1361
+ "line-clamp": [ie, "none", Q, Mo]
1362
1362
  }],
1363
1363
  /**
1364
1364
  * Line Height
@@ -1376,7 +1376,7 @@ const Se = (e) => {
1376
1376
  * @see https://tailwindcss.com/docs/list-style-image
1377
1377
  */
1378
1378
  "list-image": [{
1379
- "list-image": ["none", Z, X]
1379
+ "list-image": ["none", Q, Z]
1380
1380
  }],
1381
1381
  /**
1382
1382
  * List Style Position
@@ -1390,7 +1390,7 @@ const Se = (e) => {
1390
1390
  * @see https://tailwindcss.com/docs/list-style-type
1391
1391
  */
1392
1392
  "list-style-type": [{
1393
- list: ["disc", "decimal", "none", Z, X]
1393
+ list: ["disc", "decimal", "none", Q, Z]
1394
1394
  }],
1395
1395
  /**
1396
1396
  * Text Alignment
@@ -1431,7 +1431,7 @@ const Se = (e) => {
1431
1431
  * @see https://tailwindcss.com/docs/text-decoration-thickness
1432
1432
  */
1433
1433
  "text-decoration-thickness": [{
1434
- decoration: [ie, "from-font", "auto", Z, Bt]
1434
+ decoration: [ie, "from-font", "auto", Q, Bt]
1435
1435
  }],
1436
1436
  /**
1437
1437
  * Text Decoration Color
@@ -1445,7 +1445,7 @@ const Se = (e) => {
1445
1445
  * @see https://tailwindcss.com/docs/text-underline-offset
1446
1446
  */
1447
1447
  "underline-offset": [{
1448
- "underline-offset": [ie, "auto", Z, X]
1448
+ "underline-offset": [ie, "auto", Q, Z]
1449
1449
  }],
1450
1450
  /**
1451
1451
  * Text Transform
@@ -1476,7 +1476,7 @@ const Se = (e) => {
1476
1476
  * @see https://tailwindcss.com/docs/vertical-align
1477
1477
  */
1478
1478
  "vertical-align": [{
1479
- align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", Z, X]
1479
+ align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", Q, Z]
1480
1480
  }],
1481
1481
  /**
1482
1482
  * Whitespace
@@ -1511,7 +1511,7 @@ const Se = (e) => {
1511
1511
  * @see https://tailwindcss.com/docs/content
1512
1512
  */
1513
1513
  content: [{
1514
- content: ["none", Z, X]
1514
+ content: ["none", Q, Z]
1515
1515
  }],
1516
1516
  // -------------------
1517
1517
  // --- Backgrounds ---
@@ -1556,7 +1556,7 @@ const Se = (e) => {
1556
1556
  * @see https://tailwindcss.com/docs/background-size
1557
1557
  */
1558
1558
  "bg-size": [{
1559
- bg: G()
1559
+ bg: U()
1560
1560
  }],
1561
1561
  /**
1562
1562
  * Background Image
@@ -1566,9 +1566,9 @@ const Se = (e) => {
1566
1566
  bg: ["none", {
1567
1567
  linear: [{
1568
1568
  to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
1569
- }, yt, Z, X],
1570
- radial: ["", Z, X],
1571
- conic: [yt, Z, X]
1569
+ }, yt, Q, Z],
1570
+ radial: ["", Q, Z],
1571
+ conic: [yt, Q, Z]
1572
1572
  }, Vh, Fh]
1573
1573
  }],
1574
1574
  /**
@@ -1911,7 +1911,7 @@ const Se = (e) => {
1911
1911
  * @see https://tailwindcss.com/docs/outline-offset
1912
1912
  */
1913
1913
  "outline-offset": [{
1914
- "outline-offset": [ie, Z, X]
1914
+ "outline-offset": [ie, Q, Z]
1915
1915
  }],
1916
1916
  /**
1917
1917
  * Outline Width
@@ -2037,21 +2037,21 @@ const Se = (e) => {
2037
2037
  * @see https://tailwindcss.com/docs/opacity
2038
2038
  */
2039
2039
  opacity: [{
2040
- opacity: [ie, Z, X]
2040
+ opacity: [ie, Q, Z]
2041
2041
  }],
2042
2042
  /**
2043
2043
  * Mix Blend Mode
2044
2044
  * @see https://tailwindcss.com/docs/mix-blend-mode
2045
2045
  */
2046
2046
  "mix-blend": [{
2047
- "mix-blend": [...Q(), "plus-darker", "plus-lighter"]
2047
+ "mix-blend": [...J(), "plus-darker", "plus-lighter"]
2048
2048
  }],
2049
2049
  /**
2050
2050
  * Background Blend Mode
2051
2051
  * @see https://tailwindcss.com/docs/background-blend-mode
2052
2052
  */
2053
2053
  "bg-blend": [{
2054
- "bg-blend": Q()
2054
+ "bg-blend": J()
2055
2055
  }],
2056
2056
  /**
2057
2057
  * Mask Clip
@@ -2159,7 +2159,7 @@ const Se = (e) => {
2159
2159
  "mask-y-to": A()
2160
2160
  }],
2161
2161
  "mask-image-radial": [{
2162
- "mask-radial": [Z, X]
2162
+ "mask-radial": [Q, Z]
2163
2163
  }],
2164
2164
  "mask-image-radial-from-pos": [{
2165
2165
  "mask-radial-from": M()
@@ -2233,7 +2233,7 @@ const Se = (e) => {
2233
2233
  * @see https://tailwindcss.com/docs/mask-size
2234
2234
  */
2235
2235
  "mask-size": [{
2236
- mask: G()
2236
+ mask: U()
2237
2237
  }],
2238
2238
  /**
2239
2239
  * Mask Type
@@ -2247,7 +2247,7 @@ const Se = (e) => {
2247
2247
  * @see https://tailwindcss.com/docs/mask-image
2248
2248
  */
2249
2249
  "mask-image": [{
2250
- mask: ["none", Z, X]
2250
+ mask: ["none", Q, Z]
2251
2251
  }],
2252
2252
  // ---------------
2253
2253
  // --- Filters ---
@@ -2261,8 +2261,8 @@ const Se = (e) => {
2261
2261
  // Deprecated since Tailwind CSS v3.0.0
2262
2262
  "",
2263
2263
  "none",
2264
- Z,
2265
- X
2264
+ Q,
2265
+ Z
2266
2266
  ]
2267
2267
  }],
2268
2268
  /**
@@ -2270,21 +2270,21 @@ const Se = (e) => {
2270
2270
  * @see https://tailwindcss.com/docs/blur
2271
2271
  */
2272
2272
  blur: [{
2273
- blur: U()
2273
+ blur: Y()
2274
2274
  }],
2275
2275
  /**
2276
2276
  * Brightness
2277
2277
  * @see https://tailwindcss.com/docs/brightness
2278
2278
  */
2279
2279
  brightness: [{
2280
- brightness: [ie, Z, X]
2280
+ brightness: [ie, Q, Z]
2281
2281
  }],
2282
2282
  /**
2283
2283
  * Contrast
2284
2284
  * @see https://tailwindcss.com/docs/contrast
2285
2285
  */
2286
2286
  contrast: [{
2287
- contrast: [ie, Z, X]
2287
+ contrast: [ie, Q, Z]
2288
2288
  }],
2289
2289
  /**
2290
2290
  * Drop Shadow
@@ -2312,35 +2312,35 @@ const Se = (e) => {
2312
2312
  * @see https://tailwindcss.com/docs/grayscale
2313
2313
  */
2314
2314
  grayscale: [{
2315
- grayscale: ["", ie, Z, X]
2315
+ grayscale: ["", ie, Q, Z]
2316
2316
  }],
2317
2317
  /**
2318
2318
  * Hue Rotate
2319
2319
  * @see https://tailwindcss.com/docs/hue-rotate
2320
2320
  */
2321
2321
  "hue-rotate": [{
2322
- "hue-rotate": [ie, Z, X]
2322
+ "hue-rotate": [ie, Q, Z]
2323
2323
  }],
2324
2324
  /**
2325
2325
  * Invert
2326
2326
  * @see https://tailwindcss.com/docs/invert
2327
2327
  */
2328
2328
  invert: [{
2329
- invert: ["", ie, Z, X]
2329
+ invert: ["", ie, Q, Z]
2330
2330
  }],
2331
2331
  /**
2332
2332
  * Saturate
2333
2333
  * @see https://tailwindcss.com/docs/saturate
2334
2334
  */
2335
2335
  saturate: [{
2336
- saturate: [ie, Z, X]
2336
+ saturate: [ie, Q, Z]
2337
2337
  }],
2338
2338
  /**
2339
2339
  * Sepia
2340
2340
  * @see https://tailwindcss.com/docs/sepia
2341
2341
  */
2342
2342
  sepia: [{
2343
- sepia: ["", ie, Z, X]
2343
+ sepia: ["", ie, Q, Z]
2344
2344
  }],
2345
2345
  /**
2346
2346
  * Backdrop Filter
@@ -2351,8 +2351,8 @@ const Se = (e) => {
2351
2351
  // Deprecated since Tailwind CSS v3.0.0
2352
2352
  "",
2353
2353
  "none",
2354
- Z,
2355
- X
2354
+ Q,
2355
+ Z
2356
2356
  ]
2357
2357
  }],
2358
2358
  /**
@@ -2360,63 +2360,63 @@ const Se = (e) => {
2360
2360
  * @see https://tailwindcss.com/docs/backdrop-blur
2361
2361
  */
2362
2362
  "backdrop-blur": [{
2363
- "backdrop-blur": U()
2363
+ "backdrop-blur": Y()
2364
2364
  }],
2365
2365
  /**
2366
2366
  * Backdrop Brightness
2367
2367
  * @see https://tailwindcss.com/docs/backdrop-brightness
2368
2368
  */
2369
2369
  "backdrop-brightness": [{
2370
- "backdrop-brightness": [ie, Z, X]
2370
+ "backdrop-brightness": [ie, Q, Z]
2371
2371
  }],
2372
2372
  /**
2373
2373
  * Backdrop Contrast
2374
2374
  * @see https://tailwindcss.com/docs/backdrop-contrast
2375
2375
  */
2376
2376
  "backdrop-contrast": [{
2377
- "backdrop-contrast": [ie, Z, X]
2377
+ "backdrop-contrast": [ie, Q, Z]
2378
2378
  }],
2379
2379
  /**
2380
2380
  * Backdrop Grayscale
2381
2381
  * @see https://tailwindcss.com/docs/backdrop-grayscale
2382
2382
  */
2383
2383
  "backdrop-grayscale": [{
2384
- "backdrop-grayscale": ["", ie, Z, X]
2384
+ "backdrop-grayscale": ["", ie, Q, Z]
2385
2385
  }],
2386
2386
  /**
2387
2387
  * Backdrop Hue Rotate
2388
2388
  * @see https://tailwindcss.com/docs/backdrop-hue-rotate
2389
2389
  */
2390
2390
  "backdrop-hue-rotate": [{
2391
- "backdrop-hue-rotate": [ie, Z, X]
2391
+ "backdrop-hue-rotate": [ie, Q, Z]
2392
2392
  }],
2393
2393
  /**
2394
2394
  * Backdrop Invert
2395
2395
  * @see https://tailwindcss.com/docs/backdrop-invert
2396
2396
  */
2397
2397
  "backdrop-invert": [{
2398
- "backdrop-invert": ["", ie, Z, X]
2398
+ "backdrop-invert": ["", ie, Q, Z]
2399
2399
  }],
2400
2400
  /**
2401
2401
  * Backdrop Opacity
2402
2402
  * @see https://tailwindcss.com/docs/backdrop-opacity
2403
2403
  */
2404
2404
  "backdrop-opacity": [{
2405
- "backdrop-opacity": [ie, Z, X]
2405
+ "backdrop-opacity": [ie, Q, Z]
2406
2406
  }],
2407
2407
  /**
2408
2408
  * Backdrop Saturate
2409
2409
  * @see https://tailwindcss.com/docs/backdrop-saturate
2410
2410
  */
2411
2411
  "backdrop-saturate": [{
2412
- "backdrop-saturate": [ie, Z, X]
2412
+ "backdrop-saturate": [ie, Q, Z]
2413
2413
  }],
2414
2414
  /**
2415
2415
  * Backdrop Sepia
2416
2416
  * @see https://tailwindcss.com/docs/backdrop-sepia
2417
2417
  */
2418
2418
  "backdrop-sepia": [{
2419
- "backdrop-sepia": ["", ie, Z, X]
2419
+ "backdrop-sepia": ["", ie, Q, Z]
2420
2420
  }],
2421
2421
  // --------------
2422
2422
  // --- Tables ---
@@ -2471,7 +2471,7 @@ const Se = (e) => {
2471
2471
  * @see https://tailwindcss.com/docs/transition-property
2472
2472
  */
2473
2473
  transition: [{
2474
- transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", Z, X]
2474
+ transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", Q, Z]
2475
2475
  }],
2476
2476
  /**
2477
2477
  * Transition Behavior
@@ -2485,28 +2485,28 @@ const Se = (e) => {
2485
2485
  * @see https://tailwindcss.com/docs/transition-duration
2486
2486
  */
2487
2487
  duration: [{
2488
- duration: [ie, "initial", Z, X]
2488
+ duration: [ie, "initial", Q, Z]
2489
2489
  }],
2490
2490
  /**
2491
2491
  * Transition Timing Function
2492
2492
  * @see https://tailwindcss.com/docs/transition-timing-function
2493
2493
  */
2494
2494
  ease: [{
2495
- ease: ["linear", "initial", w, Z, X]
2495
+ ease: ["linear", "initial", w, Q, Z]
2496
2496
  }],
2497
2497
  /**
2498
2498
  * Transition Delay
2499
2499
  * @see https://tailwindcss.com/docs/transition-delay
2500
2500
  */
2501
2501
  delay: [{
2502
- delay: [ie, Z, X]
2502
+ delay: [ie, Q, Z]
2503
2503
  }],
2504
2504
  /**
2505
2505
  * Animation
2506
2506
  * @see https://tailwindcss.com/docs/animation
2507
2507
  */
2508
2508
  animate: [{
2509
- animate: ["none", b, Z, X]
2509
+ animate: ["none", b, Q, Z]
2510
2510
  }],
2511
2511
  // ------------------
2512
2512
  // --- Transforms ---
@@ -2523,7 +2523,7 @@ const Se = (e) => {
2523
2523
  * @see https://tailwindcss.com/docs/perspective
2524
2524
  */
2525
2525
  perspective: [{
2526
- perspective: [g, Z, X]
2526
+ perspective: [g, Q, Z]
2527
2527
  }],
2528
2528
  /**
2529
2529
  * Perspective Origin
@@ -2537,28 +2537,28 @@ const Se = (e) => {
2537
2537
  * @see https://tailwindcss.com/docs/rotate
2538
2538
  */
2539
2539
  rotate: [{
2540
- rotate: q()
2540
+ rotate: X()
2541
2541
  }],
2542
2542
  /**
2543
2543
  * Rotate X
2544
2544
  * @see https://tailwindcss.com/docs/rotate
2545
2545
  */
2546
2546
  "rotate-x": [{
2547
- "rotate-x": q()
2547
+ "rotate-x": X()
2548
2548
  }],
2549
2549
  /**
2550
2550
  * Rotate Y
2551
2551
  * @see https://tailwindcss.com/docs/rotate
2552
2552
  */
2553
2553
  "rotate-y": [{
2554
- "rotate-y": q()
2554
+ "rotate-y": X()
2555
2555
  }],
2556
2556
  /**
2557
2557
  * Rotate Z
2558
2558
  * @see https://tailwindcss.com/docs/rotate
2559
2559
  */
2560
2560
  "rotate-z": [{
2561
- "rotate-z": q()
2561
+ "rotate-z": X()
2562
2562
  }],
2563
2563
  /**
2564
2564
  * Scale
@@ -2619,7 +2619,7 @@ const Se = (e) => {
2619
2619
  * @see https://tailwindcss.com/docs/transform
2620
2620
  */
2621
2621
  transform: [{
2622
- transform: [Z, X, "", "none", "gpu", "cpu"]
2622
+ transform: [Q, Z, "", "none", "gpu", "cpu"]
2623
2623
  }],
2624
2624
  /**
2625
2625
  * Transform Origin
@@ -2704,7 +2704,7 @@ const Se = (e) => {
2704
2704
  * @see https://tailwindcss.com/docs/cursor
2705
2705
  */
2706
2706
  cursor: [{
2707
- cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", Z, X]
2707
+ cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", Q, Z]
2708
2708
  }],
2709
2709
  /**
2710
2710
  * Field Sizing
@@ -2926,7 +2926,7 @@ const Se = (e) => {
2926
2926
  * @see https://tailwindcss.com/docs/will-change
2927
2927
  */
2928
2928
  "will-change": [{
2929
- "will-change": ["auto", "scroll", "contents", "transform", Z, X]
2929
+ "will-change": ["auto", "scroll", "contents", "transform", Q, Z]
2930
2930
  }],
2931
2931
  // -----------
2932
2932
  // --- SVG ---
@@ -5027,7 +5027,7 @@ const jv = u.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ i.jsx(
5027
5027
  ));
5028
5028
  jv.displayName = "TableCaption";
5029
5029
  /**
5030
- * @license lucide-react v0.525.0 - ISC
5030
+ * @license lucide-react v0.535.0 - ISC
5031
5031
  *
5032
5032
  * This source code is licensed under the ISC license.
5033
5033
  * See the LICENSE file in the root directory of this source tree.
@@ -5044,7 +5044,7 @@ const Av = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Iv = (
5044
5044
  return !0;
5045
5045
  };
5046
5046
  /**
5047
- * @license lucide-react v0.525.0 - ISC
5047
+ * @license lucide-react v0.535.0 - ISC
5048
5048
  *
5049
5049
  * This source code is licensed under the ISC license.
5050
5050
  * See the LICENSE file in the root directory of this source tree.
@@ -5061,7 +5061,7 @@ var Dv = {
5061
5061
  strokeLinejoin: "round"
5062
5062
  };
5063
5063
  /**
5064
- * @license lucide-react v0.525.0 - ISC
5064
+ * @license lucide-react v0.535.0 - ISC
5065
5065
  *
5066
5066
  * This source code is licensed under the ISC license.
5067
5067
  * See the LICENSE file in the root directory of this source tree.
@@ -5096,7 +5096,7 @@ const Ov = zr(
5096
5096
  )
5097
5097
  );
5098
5098
  /**
5099
- * @license lucide-react v0.525.0 - ISC
5099
+ * @license lucide-react v0.535.0 - ISC
5100
5100
  *
5101
5101
  * This source code is licensed under the ISC license.
5102
5102
  * See the LICENSE file in the root directory of this source tree.
@@ -5117,7 +5117,7 @@ const le = (e, t) => {
5117
5117
  return n.displayName = Ei(e), n;
5118
5118
  };
5119
5119
  /**
5120
- * @license lucide-react v0.525.0 - ISC
5120
+ * @license lucide-react v0.535.0 - ISC
5121
5121
  *
5122
5122
  * This source code is licensed under the ISC license.
5123
5123
  * See the LICENSE file in the root directory of this source tree.
@@ -5127,7 +5127,7 @@ const $v = [
5127
5127
  ["path", { d: "m19 12-7 7-7-7", key: "1idqje" }]
5128
5128
  ], Lv = le("arrow-down", $v);
5129
5129
  /**
5130
- * @license lucide-react v0.525.0 - ISC
5130
+ * @license lucide-react v0.535.0 - ISC
5131
5131
  *
5132
5132
  * This source code is licensed under the ISC license.
5133
5133
  * See the LICENSE file in the root directory of this source tree.
@@ -5137,7 +5137,7 @@ const Fv = [
5137
5137
  ["path", { d: "M19 12H5", key: "x3x0zl" }]
5138
5138
  ], Bv = le("arrow-left", Fv);
5139
5139
  /**
5140
- * @license lucide-react v0.525.0 - ISC
5140
+ * @license lucide-react v0.535.0 - ISC
5141
5141
  *
5142
5142
  * This source code is licensed under the ISC license.
5143
5143
  * See the LICENSE file in the root directory of this source tree.
@@ -5147,7 +5147,7 @@ const zv = [
5147
5147
  ["path", { d: "m12 5 7 7-7 7", key: "xquz4c" }]
5148
5148
  ], Vv = le("arrow-right", zv);
5149
5149
  /**
5150
- * @license lucide-react v0.525.0 - ISC
5150
+ * @license lucide-react v0.535.0 - ISC
5151
5151
  *
5152
5152
  * This source code is licensed under the ISC license.
5153
5153
  * See the LICENSE file in the root directory of this source tree.
@@ -5159,7 +5159,7 @@ const Wv = [
5159
5159
  ["path", { d: "M7 4v16", key: "1glfcx" }]
5160
5160
  ], Hv = le("arrow-up-down", Wv);
5161
5161
  /**
5162
- * @license lucide-react v0.525.0 - ISC
5162
+ * @license lucide-react v0.535.0 - ISC
5163
5163
  *
5164
5164
  * This source code is licensed under the ISC license.
5165
5165
  * See the LICENSE file in the root directory of this source tree.
@@ -5169,7 +5169,7 @@ const Gv = [
5169
5169
  ["path", { d: "M12 19V5", key: "x0mq9r" }]
5170
5170
  ], Uv = le("arrow-up", Gv);
5171
5171
  /**
5172
- * @license lucide-react v0.525.0 - ISC
5172
+ * @license lucide-react v0.535.0 - ISC
5173
5173
  *
5174
5174
  * This source code is licensed under the ISC license.
5175
5175
  * See the LICENSE file in the root directory of this source tree.
@@ -5181,42 +5181,42 @@ const Yv = [
5181
5181
  ]
5182
5182
  ], Kv = le("bold", Yv);
5183
5183
  /**
5184
- * @license lucide-react v0.525.0 - ISC
5184
+ * @license lucide-react v0.535.0 - ISC
5185
5185
  *
5186
5186
  * This source code is licensed under the ISC license.
5187
5187
  * See the LICENSE file in the root directory of this source tree.
5188
5188
  */
5189
5189
  const qv = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], Ln = le("check", qv);
5190
5190
  /**
5191
- * @license lucide-react v0.525.0 - ISC
5191
+ * @license lucide-react v0.535.0 - ISC
5192
5192
  *
5193
5193
  * This source code is licensed under the ISC license.
5194
5194
  * See the LICENSE file in the root directory of this source tree.
5195
5195
  */
5196
5196
  const Xv = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], mn = le("chevron-down", Xv);
5197
5197
  /**
5198
- * @license lucide-react v0.525.0 - ISC
5198
+ * @license lucide-react v0.535.0 - ISC
5199
5199
  *
5200
5200
  * This source code is licensed under the ISC license.
5201
5201
  * See the LICENSE file in the root directory of this source tree.
5202
5202
  */
5203
5203
  const Zv = [["path", { d: "m15 18-6-6 6-6", key: "1wnfg3" }]], Hr = le("chevron-left", Zv);
5204
5204
  /**
5205
- * @license lucide-react v0.525.0 - ISC
5205
+ * @license lucide-react v0.535.0 - ISC
5206
5206
  *
5207
5207
  * This source code is licensed under the ISC license.
5208
5208
  * See the LICENSE file in the root directory of this source tree.
5209
5209
  */
5210
5210
  const Qv = [["path", { d: "m9 18 6-6-6-6", key: "mthhwq" }]], Hn = le("chevron-right", Qv);
5211
5211
  /**
5212
- * @license lucide-react v0.525.0 - ISC
5212
+ * @license lucide-react v0.535.0 - ISC
5213
5213
  *
5214
5214
  * This source code is licensed under the ISC license.
5215
5215
  * See the LICENSE file in the root directory of this source tree.
5216
5216
  */
5217
5217
  const Jv = [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]], ex = le("chevron-up", Jv);
5218
5218
  /**
5219
- * @license lucide-react v0.525.0 - ISC
5219
+ * @license lucide-react v0.535.0 - ISC
5220
5220
  *
5221
5221
  * This source code is licensed under the ISC license.
5222
5222
  * See the LICENSE file in the root directory of this source tree.
@@ -5227,7 +5227,7 @@ const tx = [
5227
5227
  ["line", { x1: "12", x2: "12.01", y1: "16", y2: "16", key: "4dfq90" }]
5228
5228
  ], Zc = le("circle-alert", tx);
5229
5229
  /**
5230
- * @license lucide-react v0.525.0 - ISC
5230
+ * @license lucide-react v0.535.0 - ISC
5231
5231
  *
5232
5232
  * This source code is licensed under the ISC license.
5233
5233
  * See the LICENSE file in the root directory of this source tree.
@@ -5237,7 +5237,7 @@ const nx = [
5237
5237
  ["path", { d: "m9 11 3 3L22 4", key: "1pflzl" }]
5238
5238
  ], Qc = le("circle-check-big", nx);
5239
5239
  /**
5240
- * @license lucide-react v0.525.0 - ISC
5240
+ * @license lucide-react v0.535.0 - ISC
5241
5241
  *
5242
5242
  * This source code is licensed under the ISC license.
5243
5243
  * See the LICENSE file in the root directory of this source tree.
@@ -5248,7 +5248,7 @@ const rx = [
5248
5248
  ["path", { d: "M19.08 19.08A10 10 0 1 1 4.92 4.92", key: "1ablyi" }]
5249
5249
  ], ox = le("circle-off", rx);
5250
5250
  /**
5251
- * @license lucide-react v0.525.0 - ISC
5251
+ * @license lucide-react v0.535.0 - ISC
5252
5252
  *
5253
5253
  * This source code is licensed under the ISC license.
5254
5254
  * See the LICENSE file in the root directory of this source tree.
@@ -5259,7 +5259,7 @@ const ax = [
5259
5259
  ["path", { d: "M12 17h.01", key: "p32p05" }]
5260
5260
  ], Ri = le("circle-question-mark", ax);
5261
5261
  /**
5262
- * @license lucide-react v0.525.0 - ISC
5262
+ * @license lucide-react v0.535.0 - ISC
5263
5263
  *
5264
5264
  * This source code is licensed under the ISC license.
5265
5265
  * See the LICENSE file in the root directory of this source tree.
@@ -5270,14 +5270,14 @@ const sx = [
5270
5270
  ["path", { d: "m9 9 6 6", key: "z0biqf" }]
5271
5271
  ], aa = le("circle-x", sx);
5272
5272
  /**
5273
- * @license lucide-react v0.525.0 - ISC
5273
+ * @license lucide-react v0.535.0 - ISC
5274
5274
  *
5275
5275
  * This source code is licensed under the ISC license.
5276
5276
  * See the LICENSE file in the root directory of this source tree.
5277
5277
  */
5278
5278
  const ix = [["circle", { cx: "12", cy: "12", r: "10", key: "1mglay" }]], Jc = le("circle", ix);
5279
5279
  /**
5280
- * @license lucide-react v0.525.0 - ISC
5280
+ * @license lucide-react v0.535.0 - ISC
5281
5281
  *
5282
5282
  * This source code is licensed under the ISC license.
5283
5283
  * See the LICENSE file in the root directory of this source tree.
@@ -5288,7 +5288,7 @@ const cx = [
5288
5288
  ["circle", { cx: "5", cy: "12", r: "1", key: "1pcz8c" }]
5289
5289
  ], lx = le("ellipsis", cx);
5290
5290
  /**
5291
- * @license lucide-react v0.525.0 - ISC
5291
+ * @license lucide-react v0.535.0 - ISC
5292
5292
  *
5293
5293
  * This source code is licensed under the ISC license.
5294
5294
  * See the LICENSE file in the root directory of this source tree.
@@ -5312,7 +5312,7 @@ const ux = [
5312
5312
  ["path", { d: "m2 2 20 20", key: "1ooewy" }]
5313
5313
  ], dx = le("eye-off", ux);
5314
5314
  /**
5315
- * @license lucide-react v0.525.0 - ISC
5315
+ * @license lucide-react v0.535.0 - ISC
5316
5316
  *
5317
5317
  * This source code is licensed under the ISC license.
5318
5318
  * See the LICENSE file in the root directory of this source tree.
@@ -5328,7 +5328,7 @@ const fx = [
5328
5328
  ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
5329
5329
  ], mx = le("eye", fx);
5330
5330
  /**
5331
- * @license lucide-react v0.525.0 - ISC
5331
+ * @license lucide-react v0.535.0 - ISC
5332
5332
  *
5333
5333
  * This source code is licensed under the ISC license.
5334
5334
  * See the LICENSE file in the root directory of this source tree.
@@ -5340,7 +5340,7 @@ const px = [
5340
5340
  ["path", { d: "m9 15 3 3 3-3", key: "1npd3o" }]
5341
5341
  ], hx = le("file-down", px);
5342
5342
  /**
5343
- * @license lucide-react v0.525.0 - ISC
5343
+ * @license lucide-react v0.535.0 - ISC
5344
5344
  *
5345
5345
  * This source code is licensed under the ISC license.
5346
5346
  * See the LICENSE file in the root directory of this source tree.
@@ -5355,7 +5355,7 @@ const gx = [
5355
5355
  ]
5356
5356
  ], vx = le("funnel", gx);
5357
5357
  /**
5358
- * @license lucide-react v0.525.0 - ISC
5358
+ * @license lucide-react v0.535.0 - ISC
5359
5359
  *
5360
5360
  * This source code is licensed under the ISC license.
5361
5361
  * See the LICENSE file in the root directory of this source tree.
@@ -5366,7 +5366,7 @@ const xx = [
5366
5366
  ["path", { d: "m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21", key: "1xmnt7" }]
5367
5367
  ], bx = le("image", xx);
5368
5368
  /**
5369
- * @license lucide-react v0.525.0 - ISC
5369
+ * @license lucide-react v0.535.0 - ISC
5370
5370
  *
5371
5371
  * This source code is licensed under the ISC license.
5372
5372
  * See the LICENSE file in the root directory of this source tree.
@@ -5377,7 +5377,7 @@ const wx = [
5377
5377
  ["path", { d: "M12 8h.01", key: "e9boi3" }]
5378
5378
  ], el = le("info", wx);
5379
5379
  /**
5380
- * @license lucide-react v0.525.0 - ISC
5380
+ * @license lucide-react v0.535.0 - ISC
5381
5381
  *
5382
5382
  * This source code is licensed under the ISC license.
5383
5383
  * See the LICENSE file in the root directory of this source tree.
@@ -5388,7 +5388,7 @@ const yx = [
5388
5388
  ["line", { x1: "15", x2: "9", y1: "4", y2: "20", key: "uljnxc" }]
5389
5389
  ], Cx = le("italic", yx);
5390
5390
  /**
5391
- * @license lucide-react v0.525.0 - ISC
5391
+ * @license lucide-react v0.535.0 - ISC
5392
5392
  *
5393
5393
  * This source code is licensed under the ISC license.
5394
5394
  * See the LICENSE file in the root directory of this source tree.
@@ -5398,7 +5398,7 @@ const Nx = [
5398
5398
  ["path", { d: "M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71", key: "19qd67" }]
5399
5399
  ], Sx = le("link", Nx);
5400
5400
  /**
5401
- * @license lucide-react v0.525.0 - ISC
5401
+ * @license lucide-react v0.535.0 - ISC
5402
5402
  *
5403
5403
  * This source code is licensed under the ISC license.
5404
5404
  * See the LICENSE file in the root directory of this source tree.
@@ -5412,7 +5412,7 @@ const Ex = [
5412
5412
  ["path", { d: "M6 18H4c0-1 2-2 2-3s-1-1.5-2-1", key: "m9a95d" }]
5413
5413
  ], Rx = le("list-ordered", Ex);
5414
5414
  /**
5415
- * @license lucide-react v0.525.0 - ISC
5415
+ * @license lucide-react v0.535.0 - ISC
5416
5416
  *
5417
5417
  * This source code is licensed under the ISC license.
5418
5418
  * See the LICENSE file in the root directory of this source tree.
@@ -5426,14 +5426,14 @@ const kx = [
5426
5426
  ["path", { d: "M8 6h13", key: "ik3vkj" }]
5427
5427
  ], Px = le("list", kx);
5428
5428
  /**
5429
- * @license lucide-react v0.525.0 - ISC
5429
+ * @license lucide-react v0.535.0 - ISC
5430
5430
  *
5431
5431
  * This source code is licensed under the ISC license.
5432
5432
  * See the LICENSE file in the root directory of this source tree.
5433
5433
  */
5434
5434
  const Tx = [["path", { d: "M21 12a9 9 0 1 1-6.219-8.56", key: "13zald" }]], Mx = le("loader-circle", Tx);
5435
5435
  /**
5436
- * @license lucide-react v0.525.0 - ISC
5436
+ * @license lucide-react v0.535.0 - ISC
5437
5437
  *
5438
5438
  * This source code is licensed under the ISC license.
5439
5439
  * See the LICENSE file in the root directory of this source tree.
@@ -5455,7 +5455,7 @@ const jx = [
5455
5455
  ]
5456
5456
  ], Ax = le("quote", jx);
5457
5457
  /**
5458
- * @license lucide-react v0.525.0 - ISC
5458
+ * @license lucide-react v0.535.0 - ISC
5459
5459
  *
5460
5460
  * This source code is licensed under the ISC license.
5461
5461
  * See the LICENSE file in the root directory of this source tree.
@@ -5465,7 +5465,7 @@ const Ix = [
5465
5465
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }]
5466
5466
  ], za = le("search", Ix);
5467
5467
  /**
5468
- * @license lucide-react v0.525.0 - ISC
5468
+ * @license lucide-react v0.535.0 - ISC
5469
5469
  *
5470
5470
  * This source code is licensed under the ISC license.
5471
5471
  * See the LICENSE file in the root directory of this source tree.
@@ -5482,7 +5482,7 @@ const _x = [
5482
5482
  ["line", { x1: "16", x2: "16", y1: "18", y2: "22", key: "1lctlv" }]
5483
5483
  ], Dx = le("sliders-horizontal", _x);
5484
5484
  /**
5485
- * @license lucide-react v0.525.0 - ISC
5485
+ * @license lucide-react v0.535.0 - ISC
5486
5486
  *
5487
5487
  * This source code is licensed under the ISC license.
5488
5488
  * See the LICENSE file in the root directory of this source tree.
@@ -5499,7 +5499,7 @@ const Ox = [
5499
5499
  ["path", { d: "M12 17h.01", key: "p32p05" }]
5500
5500
  ], $x = le("triangle-alert", Ox);
5501
5501
  /**
5502
- * @license lucide-react v0.525.0 - ISC
5502
+ * @license lucide-react v0.535.0 - ISC
5503
5503
  *
5504
5504
  * This source code is licensed under the ISC license.
5505
5505
  * See the LICENSE file in the root directory of this source tree.
@@ -5509,7 +5509,7 @@ const Lx = [
5509
5509
  ["line", { x1: "4", x2: "20", y1: "20", y2: "20", key: "nun2al" }]
5510
5510
  ], Fx = le("underline", Lx);
5511
5511
  /**
5512
- * @license lucide-react v0.525.0 - ISC
5512
+ * @license lucide-react v0.535.0 - ISC
5513
5513
  *
5514
5514
  * This source code is licensed under the ISC license.
5515
5515
  * See the LICENSE file in the root directory of this source tree.
@@ -5758,7 +5758,7 @@ var Kx = [
5758
5758
  "span",
5759
5759
  "svg",
5760
5760
  "ul"
5761
- ], z = Kx.reduce((e, t) => {
5761
+ ], B = Kx.reduce((e, t) => {
5762
5762
  const n = /* @__PURE__ */ Rt(`Primitive.${t}`), r = u.forwardRef((o, a) => {
5763
5763
  const { asChild: s, ...c } = o, l = s ? n : t;
5764
5764
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ i.jsx(l, { ...c, ref: a });
@@ -5865,7 +5865,7 @@ var Zx = "DismissableLayer", sa = "dismissableLayer.update", Qx = "dismissableLa
5865
5865
  const N = () => p({});
5866
5866
  return document.addEventListener(sa, N), () => document.removeEventListener(sa, N);
5867
5867
  }, []), /* @__PURE__ */ i.jsx(
5868
- z.div,
5868
+ B.div,
5869
5869
  {
5870
5870
  ...l,
5871
5871
  ref: v,
@@ -5892,7 +5892,7 @@ var eb = "DismissableLayerBranch", tb = u.forwardRef((e, t) => {
5892
5892
  return n.branches.add(a), () => {
5893
5893
  n.branches.delete(a);
5894
5894
  };
5895
- }, [n.branches]), /* @__PURE__ */ i.jsx(z.div, { ...e, ref: o });
5895
+ }, [n.branches]), /* @__PURE__ */ i.jsx(B.div, { ...e, ref: o });
5896
5896
  });
5897
5897
  tb.displayName = eb;
5898
5898
  function nb(e, t = globalThis == null ? void 0 : globalThis.document) {
@@ -6024,7 +6024,7 @@ var $o = "focusScope.autoFocusOnMount", Lo = "focusScope.autoFocusOnUnmount", Ai
6024
6024
  },
6025
6025
  [n, r, p.paused]
6026
6026
  );
6027
- return /* @__PURE__ */ i.jsx(z.div, { tabIndex: -1, ...s, ref: h, onKeyDown: v });
6027
+ return /* @__PURE__ */ i.jsx(B.div, { tabIndex: -1, ...s, ref: h, onKeyDown: v });
6028
6028
  });
6029
6029
  Gn.displayName = ob;
6030
6030
  function ab(e, { select: t = !1 } = {}) {
@@ -6381,17 +6381,17 @@ const Eb = (e) => ({
6381
6381
  }, p = Ha(o), v = Wa(p), g = await s.getDimensions(d), x = p === "y", w = x ? "top" : "left", b = x ? "bottom" : "right", y = x ? "clientHeight" : "clientWidth", C = a.reference[v] + a.reference[p] - h[p] - a.floating[v], S = h[p] - a.reference[p], P = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(d));
6382
6382
  let N = P ? P[y] : 0;
6383
6383
  (!N || !await (s.isElement == null ? void 0 : s.isElement(P))) && (N = c.floating[y] || a.floating[v]);
6384
- const E = C / 2 - S / 2, T = N / 2 - g[v] / 2 - 1, O = kt(m[w], T), W = kt(m[b], T), B = O, J = N - g[v] - W, Y = N / 2 - g[v] / 2 + E, ee = ia(B, Y, J), V = !l.arrow && yn(o) != null && Y !== ee && a.reference[v] / 2 - (Y < B ? O : W) - g[v] / 2 < 0, K = V ? Y < B ? Y - B : Y - J : 0;
6384
+ const E = C / 2 - S / 2, T = N / 2 - g[v] / 2 - 1, O = kt(m[w], T), W = kt(m[b], T), K = O, V = N - g[v] - W, G = N / 2 - g[v] / 2 + E, ee = ia(K, G, V), z = !l.arrow && yn(o) != null && G !== ee && a.reference[v] / 2 - (G < K ? O : W) - g[v] / 2 < 0, q = z ? G < K ? G - K : G - V : 0;
6385
6385
  return {
6386
- [p]: h[p] + K,
6386
+ [p]: h[p] + q,
6387
6387
  data: {
6388
6388
  [p]: ee,
6389
- centerOffset: Y - ee - K,
6390
- ...V && {
6391
- alignmentOffset: K
6389
+ centerOffset: G - ee - q,
6390
+ ...z && {
6391
+ alignmentOffset: q
6392
6392
  }
6393
6393
  },
6394
- reset: V
6394
+ reset: z
6395
6395
  };
6396
6396
  }
6397
6397
  }), Rb = function(e) {
@@ -6423,33 +6423,33 @@ const Eb = (e) => ({
6423
6423
  const N = [c, ...S], E = await Fn(t, x), T = [];
6424
6424
  let O = ((r = a.flip) == null ? void 0 : r.overflows) || [];
6425
6425
  if (f && T.push(E[w]), m) {
6426
- const Y = vb(o, s, C);
6427
- T.push(E[Y[0]], E[Y[1]]);
6426
+ const G = vb(o, s, C);
6427
+ T.push(E[G[0]], E[G[1]]);
6428
6428
  }
6429
6429
  if (O = [...O, {
6430
6430
  placement: o,
6431
6431
  overflows: T
6432
- }], !T.every((Y) => Y <= 0)) {
6433
- var W, B;
6434
- const Y = (((W = a.flip) == null ? void 0 : W.index) || 0) + 1, ee = N[Y];
6432
+ }], !T.every((G) => G <= 0)) {
6433
+ var W, K;
6434
+ const G = (((W = a.flip) == null ? void 0 : W.index) || 0) + 1, ee = N[G];
6435
6435
  if (ee && (!(m === "alignment" ? b !== at(ee) : !1) || // We leave the current main axis only if every placement on that axis
6436
6436
  // overflows the main axis.
6437
6437
  O.every((A) => A.overflows[0] > 0 && at(A.placement) === b)))
6438
6438
  return {
6439
6439
  data: {
6440
- index: Y,
6440
+ index: G,
6441
6441
  overflows: O
6442
6442
  },
6443
6443
  reset: {
6444
6444
  placement: ee
6445
6445
  }
6446
6446
  };
6447
- let V = (B = O.filter((K) => K.overflows[0] <= 0).sort((K, A) => K.overflows[1] - A.overflows[1])[0]) == null ? void 0 : B.placement;
6448
- if (!V)
6447
+ let z = (K = O.filter((q) => q.overflows[0] <= 0).sort((q, A) => q.overflows[1] - A.overflows[1])[0]) == null ? void 0 : K.placement;
6448
+ if (!z)
6449
6449
  switch (p) {
6450
6450
  case "bestFit": {
6451
- var J;
6452
- const K = (J = O.filter((A) => {
6451
+ var V;
6452
+ const q = (V = O.filter((A) => {
6453
6453
  if (P) {
6454
6454
  const _ = at(A.placement);
6455
6455
  return _ === b || // Create a bias to the `y` side axis due to horizontal
@@ -6457,18 +6457,18 @@ const Eb = (e) => ({
6457
6457
  _ === "y";
6458
6458
  }
6459
6459
  return !0;
6460
- }).map((A) => [A.placement, A.overflows.filter((_) => _ > 0).reduce((_, k) => _ + k, 0)]).sort((A, _) => A[1] - _[1])[0]) == null ? void 0 : J[0];
6461
- K && (V = K);
6460
+ }).map((A) => [A.placement, A.overflows.filter((_) => _ > 0).reduce((_, k) => _ + k, 0)]).sort((A, _) => A[1] - _[1])[0]) == null ? void 0 : V[0];
6461
+ q && (z = q);
6462
6462
  break;
6463
6463
  }
6464
6464
  case "initialPlacement":
6465
- V = c;
6465
+ z = c;
6466
6466
  break;
6467
6467
  }
6468
- if (o !== V)
6468
+ if (o !== z)
6469
6469
  return {
6470
6470
  reset: {
6471
- placement: V
6471
+ placement: z
6472
6472
  }
6473
6473
  };
6474
6474
  }
@@ -6700,8 +6700,8 @@ const Tb = function(e) {
6700
6700
  const b = g - f.top - f.bottom, y = v - f.left - f.right, C = kt(g - f[x], b), S = kt(v - f[w], y), P = !t.middlewareData.shift;
6701
6701
  let N = C, E = S;
6702
6702
  if ((n = t.middlewareData.shift) != null && n.enabled.x && (E = y), (r = t.middlewareData.shift) != null && r.enabled.y && (N = b), P && !h) {
6703
- const O = Oe(f.left, 0), W = Oe(f.right, 0), B = Oe(f.top, 0), J = Oe(f.bottom, 0);
6704
- p ? E = v - 2 * (O !== 0 || W !== 0 ? O + W : Oe(f.left, f.right)) : N = g - 2 * (B !== 0 || J !== 0 ? B + J : Oe(f.top, f.bottom));
6703
+ const O = Oe(f.left, 0), W = Oe(f.right, 0), K = Oe(f.top, 0), V = Oe(f.bottom, 0);
6704
+ p ? E = v - 2 * (O !== 0 || W !== 0 ? O + W : Oe(f.left, f.right)) : N = g - 2 * (K !== 0 || V !== 0 ? K + V : Oe(f.top, f.bottom));
6705
6705
  }
6706
6706
  await l({
6707
6707
  ...t,
@@ -7287,7 +7287,7 @@ function pw(e) {
7287
7287
  A !== P.current && (P.current = A, g(A));
7288
7288
  }, []), y = u.useCallback((A) => {
7289
7289
  A !== N.current && (N.current = A, w(A));
7290
- }, []), C = a || v, S = s || x, P = u.useRef(null), N = u.useRef(null), E = u.useRef(f), T = l != null, O = Bo(l), W = Bo(o), B = Bo(d), J = u.useCallback(() => {
7290
+ }, []), C = a || v, S = s || x, P = u.useRef(null), N = u.useRef(null), E = u.useRef(f), T = l != null, O = Bo(l), W = Bo(o), K = Bo(d), V = u.useCallback(() => {
7291
7291
  if (!P.current || !N.current)
7292
7292
  return;
7293
7293
  const A = {
@@ -7302,50 +7302,50 @@ function pw(e) {
7302
7302
  // but still mounted (such as when transitioning out). To ensure
7303
7303
  // `isPositioned` will be `false` initially on the next open, avoid
7304
7304
  // setting it to `true` when `open === false` (must be specified).
7305
- isPositioned: B.current !== !1
7305
+ isPositioned: K.current !== !1
7306
7306
  };
7307
- Y.current && !Mr(E.current, k) && (E.current = k, Vr.flushSync(() => {
7307
+ G.current && !Mr(E.current, k) && (E.current = k, Vr.flushSync(() => {
7308
7308
  m(k);
7309
7309
  }));
7310
7310
  });
7311
- }, [h, t, n, W, B]);
7311
+ }, [h, t, n, W, K]);
7312
7312
  wr(() => {
7313
7313
  d === !1 && E.current.isPositioned && (E.current.isPositioned = !1, m((A) => ({
7314
7314
  ...A,
7315
7315
  isPositioned: !1
7316
7316
  })));
7317
7317
  }, [d]);
7318
- const Y = u.useRef(!1);
7319
- wr(() => (Y.current = !0, () => {
7320
- Y.current = !1;
7318
+ const G = u.useRef(!1);
7319
+ wr(() => (G.current = !0, () => {
7320
+ G.current = !1;
7321
7321
  }), []), wr(() => {
7322
7322
  if (C && (P.current = C), S && (N.current = S), C && S) {
7323
7323
  if (O.current)
7324
- return O.current(C, S, J);
7325
- J();
7324
+ return O.current(C, S, V);
7325
+ V();
7326
7326
  }
7327
- }, [C, S, J, O, T]);
7327
+ }, [C, S, V, O, T]);
7328
7328
  const ee = u.useMemo(() => ({
7329
7329
  reference: P,
7330
7330
  floating: N,
7331
7331
  setReference: b,
7332
7332
  setFloating: y
7333
- }), [b, y]), V = u.useMemo(() => ({
7333
+ }), [b, y]), z = u.useMemo(() => ({
7334
7334
  reference: C,
7335
7335
  floating: S
7336
- }), [C, S]), K = u.useMemo(() => {
7336
+ }), [C, S]), q = u.useMemo(() => {
7337
7337
  const A = {
7338
7338
  position: n,
7339
7339
  left: 0,
7340
7340
  top: 0
7341
7341
  };
7342
- if (!V.floating)
7342
+ if (!z.floating)
7343
7343
  return A;
7344
- const _ = Gi(V.floating, f.x), k = Gi(V.floating, f.y);
7344
+ const _ = Gi(z.floating, f.x), k = Gi(z.floating, f.y);
7345
7345
  return c ? {
7346
7346
  ...A,
7347
7347
  transform: "translate(" + _ + "px, " + k + "px)",
7348
- ...pl(V.floating) >= 1.5 && {
7348
+ ...pl(z.floating) >= 1.5 && {
7349
7349
  willChange: "transform"
7350
7350
  }
7351
7351
  } : {
@@ -7353,14 +7353,14 @@ function pw(e) {
7353
7353
  left: _,
7354
7354
  top: k
7355
7355
  };
7356
- }, [n, c, V.floating, f.x, f.y]);
7356
+ }, [n, c, z.floating, f.x, f.y]);
7357
7357
  return u.useMemo(() => ({
7358
7358
  ...f,
7359
- update: J,
7359
+ update: V,
7360
7360
  refs: ee,
7361
- elements: V,
7362
- floatingStyles: K
7363
- }), [f, J, ee, V, K]);
7361
+ elements: z,
7362
+ floatingStyles: q
7363
+ }), [f, V, ee, z, q]);
7364
7364
  }
7365
7365
  const hw = (e) => {
7366
7366
  function t(n) {
@@ -7408,7 +7408,7 @@ const hw = (e) => {
7408
7408
  var Nw = "Arrow", hl = u.forwardRef((e, t) => {
7409
7409
  const { children: n, width: r = 10, height: o = 5, ...a } = e;
7410
7410
  return /* @__PURE__ */ i.jsx(
7411
- z.svg,
7411
+ B.svg,
7412
7412
  {
7413
7413
  ...a,
7414
7414
  ref: t,
@@ -7454,13 +7454,13 @@ var bl = "PopperAnchor", wl = u.forwardRef(
7454
7454
  const { __scopePopper: n, virtualRef: r, ...o } = e, a = vl(bl, n), s = u.useRef(null), c = ne(t, s);
7455
7455
  return u.useEffect(() => {
7456
7456
  a.onAnchorChange((r == null ? void 0 : r.current) || s.current);
7457
- }), r ? null : /* @__PURE__ */ i.jsx(z.div, { ...o, ref: c });
7457
+ }), r ? null : /* @__PURE__ */ i.jsx(B.div, { ...o, ref: c });
7458
7458
  }
7459
7459
  );
7460
7460
  wl.displayName = bl;
7461
7461
  var Xa = "PopperContent", [Rw, kw] = gl(Xa), yl = u.forwardRef(
7462
7462
  (e, t) => {
7463
- var M, U, q, te, re, se;
7463
+ var M, Y, X, te, re, se;
7464
7464
  const {
7465
7465
  __scopePopper: n,
7466
7466
  side: r = "bottom",
@@ -7476,12 +7476,12 @@ var Xa = "PopperContent", [Rw, kw] = gl(Xa), yl = u.forwardRef(
7476
7476
  updatePositionStrategy: p = "optimized",
7477
7477
  onPlaced: v,
7478
7478
  ...g
7479
- } = e, x = vl(Xa, n), [w, b] = u.useState(null), y = ne(t, (we) => b(we)), [C, S] = u.useState(null), P = qr(C), N = (P == null ? void 0 : P.width) ?? 0, E = (P == null ? void 0 : P.height) ?? 0, T = r + (a !== "center" ? "-" + a : ""), O = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, W = Array.isArray(d) ? d : [d], B = W.length > 0, J = {
7479
+ } = e, x = vl(Xa, n), [w, b] = u.useState(null), y = ne(t, (we) => b(we)), [C, S] = u.useState(null), P = qr(C), N = (P == null ? void 0 : P.width) ?? 0, E = (P == null ? void 0 : P.height) ?? 0, T = r + (a !== "center" ? "-" + a : ""), O = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, W = Array.isArray(d) ? d : [d], K = W.length > 0, V = {
7480
7480
  padding: O,
7481
7481
  boundary: W.filter(Tw),
7482
7482
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
7483
- altBoundary: B
7484
- }, { refs: Y, floatingStyles: ee, placement: V, isPositioned: K, middlewareData: A } = pw({
7483
+ altBoundary: K
7484
+ }, { refs: G, floatingStyles: ee, placement: z, isPositioned: q, middlewareData: A } = pw({
7485
7485
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
7486
7486
  strategy: "fixed",
7487
7487
  placement: T,
@@ -7497,11 +7497,11 @@ var Xa = "PopperContent", [Rw, kw] = gl(Xa), yl = u.forwardRef(
7497
7497
  mainAxis: !0,
7498
7498
  crossAxis: !1,
7499
7499
  limiter: m === "partial" ? xw() : void 0,
7500
- ...J
7500
+ ...V
7501
7501
  }),
7502
- l && bw({ ...J }),
7502
+ l && bw({ ...V }),
7503
7503
  ww({
7504
- ...J,
7504
+ ...V,
7505
7505
  apply: ({ elements: we, rects: xe, availableWidth: Le, availableHeight: De }) => {
7506
7506
  const { width: Re, height: Fe } = xe.reference, Te = we.floating.style;
7507
7507
  Te.setProperty("--radix-popper-available-width", `${Le}px`), Te.setProperty("--radix-popper-available-height", `${De}px`), Te.setProperty("--radix-popper-anchor-width", `${Re}px`), Te.setProperty("--radix-popper-anchor-height", `${Fe}px`);
@@ -7509,23 +7509,23 @@ var Xa = "PopperContent", [Rw, kw] = gl(Xa), yl = u.forwardRef(
7509
7509
  }),
7510
7510
  C && Cw({ element: C, padding: c }),
7511
7511
  Mw({ arrowWidth: N, arrowHeight: E }),
7512
- h && yw({ strategy: "referenceHidden", ...J })
7512
+ h && yw({ strategy: "referenceHidden", ...V })
7513
7513
  ]
7514
- }), [_, k] = Sl(V), G = Ee(v);
7514
+ }), [_, k] = Sl(z), U = Ee(v);
7515
7515
  ve(() => {
7516
- K && (G == null || G());
7517
- }, [K, G]);
7518
- const R = (M = A.arrow) == null ? void 0 : M.x, I = (U = A.arrow) == null ? void 0 : U.y, $ = ((q = A.arrow) == null ? void 0 : q.centerOffset) !== 0, [L, Q] = u.useState();
7516
+ q && (U == null || U());
7517
+ }, [q, U]);
7518
+ const R = (M = A.arrow) == null ? void 0 : M.x, I = (Y = A.arrow) == null ? void 0 : Y.y, $ = ((X = A.arrow) == null ? void 0 : X.centerOffset) !== 0, [L, J] = u.useState();
7519
7519
  return ve(() => {
7520
- w && Q(window.getComputedStyle(w).zIndex);
7520
+ w && J(window.getComputedStyle(w).zIndex);
7521
7521
  }, [w]), /* @__PURE__ */ i.jsx(
7522
7522
  "div",
7523
7523
  {
7524
- ref: Y.setFloating,
7524
+ ref: G.setFloating,
7525
7525
  "data-radix-popper-content-wrapper": "",
7526
7526
  style: {
7527
7527
  ...ee,
7528
- transform: K ? ee.transform : "translate(0, -200%)",
7528
+ transform: q ? ee.transform : "translate(0, -200%)",
7529
7529
  // keep off the page when measuring
7530
7530
  minWidth: "max-content",
7531
7531
  zIndex: L,
@@ -7552,7 +7552,7 @@ var Xa = "PopperContent", [Rw, kw] = gl(Xa), yl = u.forwardRef(
7552
7552
  arrowY: I,
7553
7553
  shouldHideArrow: $,
7554
7554
  children: /* @__PURE__ */ i.jsx(
7555
- z.div,
7555
+ B.div,
7556
7556
  {
7557
7557
  "data-side": _,
7558
7558
  "data-align": k,
@@ -7562,7 +7562,7 @@ var Xa = "PopperContent", [Rw, kw] = gl(Xa), yl = u.forwardRef(
7562
7562
  ...g.style,
7563
7563
  // if the PopperContent hasn't been placed yet (not all measurements done)
7564
7564
  // we prevent animations so that users's animation don't kick in too early referring wrong sides
7565
- animation: K ? void 0 : "none"
7565
+ animation: q ? void 0 : "none"
7566
7566
  }
7567
7567
  }
7568
7568
  )
@@ -7646,7 +7646,7 @@ var Yn = xl, Kn = wl, Xr = yl, Zr = Nl, jw = "Portal", qn = u.forwardRef((e, t)
7646
7646
  const { container: n, ...r } = e, [o, a] = u.useState(!1);
7647
7647
  ve(() => a(!0), []);
7648
7648
  const s = n || o && ((c = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : c.body);
7649
- return s ? Ia.createPortal(/* @__PURE__ */ i.jsx(z.div, { ...r, ref: t }), s) : null;
7649
+ return s ? Ia.createPortal(/* @__PURE__ */ i.jsx(B.div, { ...r, ref: t }), s) : null;
7650
7650
  });
7651
7651
  qn.displayName = jw;
7652
7652
  function Aw(e, t) {
@@ -7765,7 +7765,7 @@ var Bw = u.forwardRef((e, t) => {
7765
7765
  []
7766
7766
  ),
7767
7767
  children: /* @__PURE__ */ i.jsx(
7768
- z.div,
7768
+ B.div,
7769
7769
  {
7770
7770
  tabIndex: w || P === 0 ? -1 : 0,
7771
7771
  "data-orientation": r,
@@ -7780,9 +7780,9 @@ var Bw = u.forwardRef((e, t) => {
7780
7780
  if (E.target === E.currentTarget && T && !w) {
7781
7781
  const O = new CustomEvent(zo, Dw);
7782
7782
  if (E.currentTarget.dispatchEvent(O), !O.defaultPrevented) {
7783
- const W = C().filter((V) => V.focusable), B = W.find((V) => V.active), J = W.find((V) => V.id === g), ee = [B, J, ...W].filter(
7783
+ const W = C().filter((z) => z.focusable), K = W.find((z) => z.active), V = W.find((z) => z.id === g), ee = [K, V, ...W].filter(
7784
7784
  Boolean
7785
- ).map((V) => V.ref.current);
7785
+ ).map((z) => z.ref.current);
7786
7786
  Tl(ee, f);
7787
7787
  }
7788
7788
  }
@@ -7814,7 +7814,7 @@ var Bw = u.forwardRef((e, t) => {
7814
7814
  focusable: r,
7815
7815
  active: o,
7816
7816
  children: /* @__PURE__ */ i.jsx(
7817
- z.span,
7817
+ B.span,
7818
7818
  {
7819
7819
  tabIndex: m ? 0 : -1,
7820
7820
  "data-orientation": f.orientation,
@@ -8512,17 +8512,17 @@ var Ve = "MenuContent", [Fy, Ja] = Zt(Ve), Gl = u.forwardRef(
8512
8512
  onDismiss: p,
8513
8513
  disableOutsideScroll: v,
8514
8514
  ...g
8515
- } = e, x = _t(Ve, n), w = er(Ve, n), b = Jn(n), y = Bl(n), C = _y(n), [S, P] = u.useState(null), N = u.useRef(null), E = ne(t, N, x.onContentChange), T = u.useRef(0), O = u.useRef(""), W = u.useRef(0), B = u.useRef(null), J = u.useRef("right"), Y = u.useRef(0), ee = v ? Zn : u.Fragment, V = v ? { as: Vy, allowPinchZoom: !0 } : void 0, K = (_) => {
8516
- var M, U;
8517
- const k = O.current + _, G = C().filter((q) => !q.disabled), R = document.activeElement, I = (M = G.find((q) => q.ref.current === R)) == null ? void 0 : M.textValue, $ = G.map((q) => q.textValue), L = e0($, k, I), Q = (U = G.find((q) => q.textValue === L)) == null ? void 0 : U.ref.current;
8518
- (function q(te) {
8519
- O.current = te, window.clearTimeout(T.current), te !== "" && (T.current = window.setTimeout(() => q(""), 1e3));
8520
- })(k), Q && setTimeout(() => Q.focus());
8515
+ } = e, x = _t(Ve, n), w = er(Ve, n), b = Jn(n), y = Bl(n), C = _y(n), [S, P] = u.useState(null), N = u.useRef(null), E = ne(t, N, x.onContentChange), T = u.useRef(0), O = u.useRef(""), W = u.useRef(0), K = u.useRef(null), V = u.useRef("right"), G = u.useRef(0), ee = v ? Zn : u.Fragment, z = v ? { as: Vy, allowPinchZoom: !0 } : void 0, q = (_) => {
8516
+ var M, Y;
8517
+ const k = O.current + _, U = C().filter((X) => !X.disabled), R = document.activeElement, I = (M = U.find((X) => X.ref.current === R)) == null ? void 0 : M.textValue, $ = U.map((X) => X.textValue), L = e0($, k, I), J = (Y = U.find((X) => X.textValue === L)) == null ? void 0 : Y.ref.current;
8518
+ (function X(te) {
8519
+ O.current = te, window.clearTimeout(T.current), te !== "" && (T.current = window.setTimeout(() => X(""), 1e3));
8520
+ })(k), J && setTimeout(() => J.focus());
8521
8521
  };
8522
8522
  u.useEffect(() => () => window.clearTimeout(T.current), []), Gr();
8523
8523
  const A = u.useCallback((_) => {
8524
- var G, R;
8525
- return J.current === ((G = B.current) == null ? void 0 : G.side) && n0(_, (R = B.current) == null ? void 0 : R.area);
8524
+ var U, R;
8525
+ return V.current === ((U = K.current) == null ? void 0 : U.side) && n0(_, (R = K.current) == null ? void 0 : R.area);
8526
8526
  }, []);
8527
8527
  return /* @__PURE__ */ i.jsx(
8528
8528
  Fy,
@@ -8550,9 +8550,9 @@ var Ve = "MenuContent", [Fy, Ja] = Zt(Ve), Gl = u.forwardRef(
8550
8550
  ),
8551
8551
  pointerGraceTimerRef: W,
8552
8552
  onPointerGraceIntentChange: u.useCallback((_) => {
8553
- B.current = _;
8553
+ K.current = _;
8554
8554
  }, []),
8555
- children: /* @__PURE__ */ i.jsx(ee, { ...V, children: /* @__PURE__ */ i.jsx(
8555
+ children: /* @__PURE__ */ i.jsx(ee, { ...z, children: /* @__PURE__ */ i.jsx(
8556
8556
  Gn,
8557
8557
  {
8558
8558
  asChild: !0,
@@ -8599,13 +8599,13 @@ var Ve = "MenuContent", [Fy, Ja] = Zt(Ve), Gl = u.forwardRef(
8599
8599
  ref: E,
8600
8600
  style: { outline: "none", ...g.style },
8601
8601
  onKeyDown: F(g.onKeyDown, (_) => {
8602
- const G = _.target.closest("[data-radix-menu-content]") === _.currentTarget, R = _.ctrlKey || _.altKey || _.metaKey, I = _.key.length === 1;
8603
- G && (_.key === "Tab" && _.preventDefault(), !R && I && K(_.key));
8602
+ const U = _.target.closest("[data-radix-menu-content]") === _.currentTarget, R = _.ctrlKey || _.altKey || _.metaKey, I = _.key.length === 1;
8603
+ U && (_.key === "Tab" && _.preventDefault(), !R && I && q(_.key));
8604
8604
  const $ = N.current;
8605
8605
  if (_.target !== $ || !jy.includes(_.key)) return;
8606
8606
  _.preventDefault();
8607
- const Q = C().filter((M) => !M.disabled).map((M) => M.ref.current);
8608
- Ll.includes(_.key) && Q.reverse(), Qy(Q);
8607
+ const J = C().filter((M) => !M.disabled).map((M) => M.ref.current);
8608
+ Ll.includes(_.key) && J.reverse(), Qy(J);
8609
8609
  }),
8610
8610
  onBlur: F(e.onBlur, (_) => {
8611
8611
  _.currentTarget.contains(_.target) || (window.clearTimeout(T.current), O.current = "");
@@ -8613,10 +8613,10 @@ var Ve = "MenuContent", [Fy, Ja] = Zt(Ve), Gl = u.forwardRef(
8613
8613
  onPointerMove: F(
8614
8614
  e.onPointerMove,
8615
8615
  Vn((_) => {
8616
- const k = _.target, G = Y.current !== _.clientX;
8617
- if (_.currentTarget.contains(k) && G) {
8618
- const R = _.clientX > Y.current ? "right" : "left";
8619
- J.current = R, Y.current = _.clientX;
8616
+ const k = _.target, U = G.current !== _.clientX;
8617
+ if (_.currentTarget.contains(k) && U) {
8618
+ const R = _.clientX > G.current ? "right" : "left";
8619
+ V.current = R, G.current = _.clientX;
8620
8620
  }
8621
8621
  })
8622
8622
  )
@@ -8636,14 +8636,14 @@ Gl.displayName = Ve;
8636
8636
  var Wy = "MenuGroup", ts = u.forwardRef(
8637
8637
  (e, t) => {
8638
8638
  const { __scopeMenu: n, ...r } = e;
8639
- return /* @__PURE__ */ i.jsx(z.div, { role: "group", ...r, ref: t });
8639
+ return /* @__PURE__ */ i.jsx(B.div, { role: "group", ...r, ref: t });
8640
8640
  }
8641
8641
  );
8642
8642
  ts.displayName = Wy;
8643
8643
  var Hy = "MenuLabel", Ul = u.forwardRef(
8644
8644
  (e, t) => {
8645
8645
  const { __scopeMenu: n, ...r } = e;
8646
- return /* @__PURE__ */ i.jsx(z.div, { ...r, ref: t });
8646
+ return /* @__PURE__ */ i.jsx(B.div, { ...r, ref: t });
8647
8647
  }
8648
8648
  );
8649
8649
  Ul.displayName = Hy;
@@ -8693,7 +8693,7 @@ var Yl = u.forwardRef(
8693
8693
  disabled: r,
8694
8694
  textValue: o ?? h,
8695
8695
  children: /* @__PURE__ */ i.jsx(Jr, { asChild: !0, ...c, focusable: !r, children: /* @__PURE__ */ i.jsx(
8696
- z.div,
8696
+ B.div,
8697
8697
  {
8698
8698
  role: "menuitem",
8699
8699
  "data-highlighted": f ? "" : void 0,
@@ -8785,7 +8785,7 @@ var ns = "MenuItemIndicator", [Jl, Ky] = Zt(
8785
8785
  {
8786
8786
  present: r || Ar(a.checked) || a.checked === !0,
8787
8787
  children: /* @__PURE__ */ i.jsx(
8788
- z.span,
8788
+ B.span,
8789
8789
  {
8790
8790
  ...o,
8791
8791
  ref: t,
@@ -8801,7 +8801,7 @@ var qy = "MenuSeparator", tu = u.forwardRef(
8801
8801
  (e, t) => {
8802
8802
  const { __scopeMenu: n, ...r } = e;
8803
8803
  return /* @__PURE__ */ i.jsx(
8804
- z.div,
8804
+ B.div,
8805
8805
  {
8806
8806
  role: "separator",
8807
8807
  "aria-orientation": "horizontal",
@@ -9032,7 +9032,7 @@ var du = "DropdownMenuTrigger", fu = u.forwardRef(
9032
9032
  (e, t) => {
9033
9033
  const { __scopeDropdownMenu: n, disabled: r = !1, ...o } = e, a = lu(du, n), s = Pe(n);
9034
9034
  return /* @__PURE__ */ i.jsx(o0, { asChild: !0, ...s, children: /* @__PURE__ */ i.jsx(
9035
- z.button,
9035
+ B.button,
9036
9036
  {
9037
9037
  type: "button",
9038
9038
  id: a.triggerId,
@@ -9354,7 +9354,7 @@ var Fu = Object.freeze({
9354
9354
  wordWrap: "normal"
9355
9355
  }), K0 = "VisuallyHidden", Bu = u.forwardRef(
9356
9356
  (e, t) => /* @__PURE__ */ i.jsx(
9357
- z.span,
9357
+ B.span,
9358
9358
  {
9359
9359
  ...e,
9360
9360
  ref: t,
@@ -9392,7 +9392,7 @@ var zu = Bu, q0 = [" ", "Enter", "ArrowUp", "ArrowDown"], X0 = [" ", "Enter"], G
9392
9392
  defaultProp: c,
9393
9393
  onChange: l,
9394
9394
  caller: Gt
9395
- }), W = u.useRef(null), B = x ? v || !!x.closest("form") : !0, [J, Y] = u.useState(/* @__PURE__ */ new Set()), ee = Array.from(J).map((V) => V.props.value).join(";");
9395
+ }), W = u.useRef(null), K = x ? v || !!x.closest("form") : !0, [V, G] = u.useState(/* @__PURE__ */ new Set()), ee = Array.from(V).map((z) => z.props.value).join(";");
9396
9396
  return /* @__PURE__ */ i.jsx(Yn, { ...g, children: /* @__PURE__ */ i.jsxs(
9397
9397
  Q0,
9398
9398
  {
@@ -9417,19 +9417,19 @@ var zu = Bu, q0 = [" ", "Enter", "ArrowUp", "ArrowDown"], X0 = [" ", "Enter"], G
9417
9417
  J0,
9418
9418
  {
9419
9419
  scope: e.__scopeSelect,
9420
- onNativeOptionAdd: u.useCallback((V) => {
9421
- Y((K) => new Set(K).add(V));
9420
+ onNativeOptionAdd: u.useCallback((z) => {
9421
+ G((q) => new Set(q).add(z));
9422
9422
  }, []),
9423
- onNativeOptionRemove: u.useCallback((V) => {
9424
- Y((K) => {
9425
- const A = new Set(K);
9426
- return A.delete(V), A;
9423
+ onNativeOptionRemove: u.useCallback((z) => {
9424
+ G((q) => {
9425
+ const A = new Set(q);
9426
+ return A.delete(z), A;
9427
9427
  });
9428
9428
  }, []),
9429
9429
  children: n
9430
9430
  }
9431
9431
  ) }),
9432
- B ? /* @__PURE__ */ i.jsxs(
9432
+ K ? /* @__PURE__ */ i.jsxs(
9433
9433
  fd,
9434
9434
  {
9435
9435
  "aria-hidden": !0,
@@ -9438,12 +9438,12 @@ var zu = Bu, q0 = [" ", "Enter", "ArrowUp", "ArrowDown"], X0 = [" ", "Enter"], G
9438
9438
  name: f,
9439
9439
  autoComplete: m,
9440
9440
  value: T,
9441
- onChange: (V) => O(V.target.value),
9441
+ onChange: (z) => O(z.target.value),
9442
9442
  disabled: h,
9443
9443
  form: v,
9444
9444
  children: [
9445
9445
  T === void 0 ? /* @__PURE__ */ i.jsx("option", { value: "" }) : null,
9446
- Array.from(J)
9446
+ Array.from(V)
9447
9447
  ]
9448
9448
  },
9449
9449
  ee
@@ -9465,7 +9465,7 @@ var Wu = "SelectTrigger", Hu = u.forwardRef(
9465
9465
  });
9466
9466
  };
9467
9467
  return /* @__PURE__ */ i.jsx(Kn, { asChild: !0, ...a, children: /* @__PURE__ */ i.jsx(
9468
- z.button,
9468
+ B.button,
9469
9469
  {
9470
9470
  type: "button",
9471
9471
  role: "combobox",
@@ -9503,7 +9503,7 @@ var Gu = "SelectValue", Uu = u.forwardRef(
9503
9503
  return ve(() => {
9504
9504
  d(f);
9505
9505
  }, [d, f]), /* @__PURE__ */ i.jsx(
9506
- z.span,
9506
+ B.span,
9507
9507
  {
9508
9508
  ...c,
9509
9509
  ref: m,
@@ -9517,7 +9517,7 @@ Uu.displayName = Gu;
9517
9517
  var t1 = "SelectIcon", Yu = u.forwardRef(
9518
9518
  (e, t) => {
9519
9519
  const { __scopeSelect: n, children: r, ...o } = e;
9520
- return /* @__PURE__ */ i.jsx(z.span, { "aria-hidden": !0, ...o, ref: t, children: r || "▼" });
9520
+ return /* @__PURE__ */ i.jsx(B.span, { "aria-hidden": !0, ...o, ref: t, children: r || "▼" });
9521
9521
  }
9522
9522
  );
9523
9523
  Yu.displayName = t1;
@@ -9561,39 +9561,39 @@ var Ke = 10, [qu, Ot] = Nn(Ut), n1 = "SelectContentImpl", r1 = /* @__PURE__ */ R
9561
9561
  ...w
9562
9562
  } = e, b = Dt(Ut, n), [y, C] = u.useState(null), [S, P] = u.useState(null), N = ne(t, (M) => C(M)), [E, T] = u.useState(null), [O, W] = u.useState(
9563
9563
  null
9564
- ), B = ao(n), [J, Y] = u.useState(!1), ee = u.useRef(!1);
9564
+ ), K = ao(n), [V, G] = u.useState(!1), ee = u.useRef(!1);
9565
9565
  u.useEffect(() => {
9566
9566
  if (y) return eo(y);
9567
9567
  }, [y]), Gr();
9568
- const V = u.useCallback(
9568
+ const z = u.useCallback(
9569
9569
  (M) => {
9570
- const [U, ...q] = B().map((se) => se.ref.current), [te] = q.slice(-1), re = document.activeElement;
9570
+ const [Y, ...X] = K().map((se) => se.ref.current), [te] = X.slice(-1), re = document.activeElement;
9571
9571
  for (const se of M)
9572
- if (se === re || (se == null || se.scrollIntoView({ block: "nearest" }), se === U && S && (S.scrollTop = 0), se === te && S && (S.scrollTop = S.scrollHeight), se == null || se.focus(), document.activeElement !== re)) return;
9572
+ if (se === re || (se == null || se.scrollIntoView({ block: "nearest" }), se === Y && S && (S.scrollTop = 0), se === te && S && (S.scrollTop = S.scrollHeight), se == null || se.focus(), document.activeElement !== re)) return;
9573
9573
  },
9574
- [B, S]
9575
- ), K = u.useCallback(
9576
- () => V([E, y]),
9577
- [V, E, y]
9574
+ [K, S]
9575
+ ), q = u.useCallback(
9576
+ () => z([E, y]),
9577
+ [z, E, y]
9578
9578
  );
9579
9579
  u.useEffect(() => {
9580
- J && K();
9581
- }, [J, K]);
9580
+ V && q();
9581
+ }, [V, q]);
9582
9582
  const { onOpenChange: A, triggerPointerDownPosRef: _ } = b;
9583
9583
  u.useEffect(() => {
9584
9584
  if (y) {
9585
9585
  let M = { x: 0, y: 0 };
9586
- const U = (te) => {
9586
+ const Y = (te) => {
9587
9587
  var re, se;
9588
9588
  M = {
9589
9589
  x: Math.abs(Math.round(te.pageX) - (((re = _.current) == null ? void 0 : re.x) ?? 0)),
9590
9590
  y: Math.abs(Math.round(te.pageY) - (((se = _.current) == null ? void 0 : se.y) ?? 0))
9591
9591
  };
9592
- }, q = (te) => {
9593
- M.x <= 10 && M.y <= 10 ? te.preventDefault() : y.contains(te.target) || A(!1), document.removeEventListener("pointermove", U), _.current = null;
9592
+ }, X = (te) => {
9593
+ M.x <= 10 && M.y <= 10 ? te.preventDefault() : y.contains(te.target) || A(!1), document.removeEventListener("pointermove", Y), _.current = null;
9594
9594
  };
9595
- return _.current !== null && (document.addEventListener("pointermove", U), document.addEventListener("pointerup", q, { capture: !0, once: !0 })), () => {
9596
- document.removeEventListener("pointermove", U), document.removeEventListener("pointerup", q, { capture: !0 });
9595
+ return _.current !== null && (document.addEventListener("pointermove", Y), document.addEventListener("pointerup", X, { capture: !0, once: !0 })), () => {
9596
+ document.removeEventListener("pointermove", Y), document.removeEventListener("pointerup", X, { capture: !0 });
9597
9597
  };
9598
9598
  }
9599
9599
  }, [y, A, _]), u.useEffect(() => {
@@ -9602,22 +9602,22 @@ var Ke = 10, [qu, Ot] = Nn(Ut), n1 = "SelectContentImpl", r1 = /* @__PURE__ */ R
9602
9602
  window.removeEventListener("blur", M), window.removeEventListener("resize", M);
9603
9603
  };
9604
9604
  }, [A]);
9605
- const [k, G] = pd((M) => {
9606
- const U = B().filter((re) => !re.disabled), q = U.find((re) => re.ref.current === document.activeElement), te = hd(U, M, q);
9605
+ const [k, U] = pd((M) => {
9606
+ const Y = K().filter((re) => !re.disabled), X = Y.find((re) => re.ref.current === document.activeElement), te = hd(Y, M, X);
9607
9607
  te && setTimeout(() => te.ref.current.focus());
9608
9608
  }), R = u.useCallback(
9609
- (M, U, q) => {
9610
- const te = !ee.current && !q;
9611
- (b.value !== void 0 && b.value === U || te) && (T(M), te && (ee.current = !0));
9609
+ (M, Y, X) => {
9610
+ const te = !ee.current && !X;
9611
+ (b.value !== void 0 && b.value === Y || te) && (T(M), te && (ee.current = !0));
9612
9612
  },
9613
9613
  [b.value]
9614
9614
  ), I = u.useCallback(() => y == null ? void 0 : y.focus(), [y]), $ = u.useCallback(
9615
- (M, U, q) => {
9616
- const te = !ee.current && !q;
9617
- (b.value !== void 0 && b.value === U || te) && W(M);
9615
+ (M, Y, X) => {
9616
+ const te = !ee.current && !X;
9617
+ (b.value !== void 0 && b.value === Y || te) && W(M);
9618
9618
  },
9619
9619
  [b.value]
9620
- ), L = r === "popper" ? pa : Zu, Q = L === pa ? {
9620
+ ), L = r === "popper" ? pa : Zu, J = L === pa ? {
9621
9621
  side: c,
9622
9622
  sideOffset: l,
9623
9623
  align: d,
@@ -9640,10 +9640,10 @@ var Ke = 10, [qu, Ot] = Nn(Ut), n1 = "SelectContentImpl", r1 = /* @__PURE__ */ R
9640
9640
  selectedItem: E,
9641
9641
  onItemLeave: I,
9642
9642
  itemTextRefCallback: $,
9643
- focusSelectedItem: K,
9643
+ focusSelectedItem: q,
9644
9644
  selectedItemText: O,
9645
9645
  position: r,
9646
- isPositioned: J,
9646
+ isPositioned: V,
9647
9647
  searchRef: k,
9648
9648
  children: /* @__PURE__ */ i.jsx(Zn, { as: r1, allowPinchZoom: !0, children: /* @__PURE__ */ i.jsx(
9649
9649
  Gn,
@@ -9654,8 +9654,8 @@ var Ke = 10, [qu, Ot] = Nn(Ut), n1 = "SelectContentImpl", r1 = /* @__PURE__ */ R
9654
9654
  M.preventDefault();
9655
9655
  },
9656
9656
  onUnmountAutoFocus: F(o, (M) => {
9657
- var U;
9658
- (U = b.trigger) == null || U.focus({ preventScroll: !0 }), M.preventDefault();
9657
+ var Y;
9658
+ (Y = b.trigger) == null || Y.focus({ preventScroll: !0 }), M.preventDefault();
9659
9659
  }),
9660
9660
  children: /* @__PURE__ */ i.jsx(
9661
9661
  Xt,
@@ -9675,8 +9675,8 @@ var Ke = 10, [qu, Ot] = Nn(Ut), n1 = "SelectContentImpl", r1 = /* @__PURE__ */ R
9675
9675
  dir: b.dir,
9676
9676
  onContextMenu: (M) => M.preventDefault(),
9677
9677
  ...w,
9678
- ...Q,
9679
- onPlaced: () => Y(!0),
9678
+ ...J,
9679
+ onPlaced: () => G(!0),
9680
9680
  ref: N,
9681
9681
  style: {
9682
9682
  // flex layout so we can place the scroll buttons properly
@@ -9687,14 +9687,14 @@ var Ke = 10, [qu, Ot] = Nn(Ut), n1 = "SelectContentImpl", r1 = /* @__PURE__ */ R
9687
9687
  ...w.style
9688
9688
  },
9689
9689
  onKeyDown: F(w.onKeyDown, (M) => {
9690
- const U = M.ctrlKey || M.altKey || M.metaKey;
9691
- if (M.key === "Tab" && M.preventDefault(), !U && M.key.length === 1 && G(M.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(M.key)) {
9692
- let te = B().filter((re) => !re.disabled).map((re) => re.ref.current);
9690
+ const Y = M.ctrlKey || M.altKey || M.metaKey;
9691
+ if (M.key === "Tab" && M.preventDefault(), !Y && M.key.length === 1 && U(M.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(M.key)) {
9692
+ let te = K().filter((re) => !re.disabled).map((re) => re.ref.current);
9693
9693
  if (["ArrowUp", "End"].includes(M.key) && (te = te.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(M.key)) {
9694
9694
  const re = M.target, se = te.indexOf(re);
9695
9695
  te = te.slice(se + 1);
9696
9696
  }
9697
- setTimeout(() => V(te)), M.preventDefault();
9697
+ setTimeout(() => z(te)), M.preventDefault();
9698
9698
  }
9699
9699
  })
9700
9700
  }
@@ -9730,15 +9730,15 @@ var o1 = "SelectItemAlignedPosition", Zu = u.forwardRef((e, t) => {
9730
9730
  ]);
9731
9731
  c.style.minWidth = xe + "px", c.style.right = Re + "px";
9732
9732
  }
9733
- const W = h(), B = window.innerHeight - Ke * 2, J = g.scrollHeight, Y = window.getComputedStyle(d), ee = parseInt(Y.borderTopWidth, 10), V = parseInt(Y.paddingTop, 10), K = parseInt(Y.borderBottomWidth, 10), A = parseInt(Y.paddingBottom, 10), _ = ee + V + J + A + K, k = Math.min(x.offsetHeight * 5, _), G = window.getComputedStyle(g), R = parseInt(G.paddingTop, 10), I = parseInt(G.paddingBottom, 10), $ = N.top + N.height / 2 - Ke, L = B - $, Q = x.offsetHeight / 2, M = x.offsetTop + Q, U = ee + V + M, q = _ - U;
9734
- if (U <= $) {
9733
+ const W = h(), K = window.innerHeight - Ke * 2, V = g.scrollHeight, G = window.getComputedStyle(d), ee = parseInt(G.borderTopWidth, 10), z = parseInt(G.paddingTop, 10), q = parseInt(G.borderBottomWidth, 10), A = parseInt(G.paddingBottom, 10), _ = ee + z + V + A + q, k = Math.min(x.offsetHeight * 5, _), U = window.getComputedStyle(g), R = parseInt(U.paddingTop, 10), I = parseInt(U.paddingBottom, 10), $ = N.top + N.height / 2 - Ke, L = K - $, J = x.offsetHeight / 2, M = x.offsetTop + J, Y = ee + z + M, X = _ - Y;
9734
+ if (Y <= $) {
9735
9735
  const re = W.length > 0 && x === W[W.length - 1].ref.current;
9736
9736
  c.style.bottom = "0px";
9737
9737
  const se = d.clientHeight - g.offsetTop - g.offsetHeight, we = Math.max(
9738
9738
  L,
9739
- Q + // viewport might have padding bottom, include it to avoid a scrollable viewport
9740
- (re ? I : 0) + se + K
9741
- ), xe = U + we;
9739
+ J + // viewport might have padding bottom, include it to avoid a scrollable viewport
9740
+ (re ? I : 0) + se + q
9741
+ ), xe = Y + we;
9742
9742
  c.style.height = xe + "px";
9743
9743
  } else {
9744
9744
  const re = W.length > 0 && x === W[0].ref.current;
@@ -9746,11 +9746,11 @@ var o1 = "SelectItemAlignedPosition", Zu = u.forwardRef((e, t) => {
9746
9746
  const we = Math.max(
9747
9747
  $,
9748
9748
  ee + g.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
9749
- (re ? R : 0) + Q
9750
- ) + q;
9751
- c.style.height = we + "px", g.scrollTop = U - $ + g.offsetTop;
9749
+ (re ? R : 0) + J
9750
+ ) + X;
9751
+ c.style.height = we + "px", g.scrollTop = Y - $ + g.offsetTop;
9752
9752
  }
9753
- c.style.margin = `${Ke}px 0`, c.style.minHeight = k + "px", c.style.maxHeight = B + "px", r == null || r(), requestAnimationFrame(() => p.current = !0);
9753
+ c.style.margin = `${Ke}px 0`, c.style.minHeight = k + "px", c.style.maxHeight = K + "px", r == null || r(), requestAnimationFrame(() => p.current = !0);
9754
9754
  }
9755
9755
  }, [
9756
9756
  h,
@@ -9793,7 +9793,7 @@ var o1 = "SelectItemAlignedPosition", Zu = u.forwardRef((e, t) => {
9793
9793
  zIndex: C
9794
9794
  },
9795
9795
  children: /* @__PURE__ */ i.jsx(
9796
- z.div,
9796
+ B.div,
9797
9797
  {
9798
9798
  ...o,
9799
9799
  ref: m,
@@ -9856,7 +9856,7 @@ var [s1, as] = Nn(Ut, {}), ha = "SelectViewport", Qu = u.forwardRef(
9856
9856
  }
9857
9857
  ),
9858
9858
  /* @__PURE__ */ i.jsx(oo.Slot, { scope: n, children: /* @__PURE__ */ i.jsx(
9859
- z.div,
9859
+ B.div,
9860
9860
  {
9861
9861
  "data-radix-select-viewport": "",
9862
9862
  role: "presentation",
@@ -9898,14 +9898,14 @@ Qu.displayName = ha;
9898
9898
  var Ju = "SelectGroup", [i1, c1] = Nn(Ju), ed = u.forwardRef(
9899
9899
  (e, t) => {
9900
9900
  const { __scopeSelect: n, ...r } = e, o = he();
9901
- return /* @__PURE__ */ i.jsx(i1, { scope: n, id: o, children: /* @__PURE__ */ i.jsx(z.div, { role: "group", "aria-labelledby": o, ...r, ref: t }) });
9901
+ return /* @__PURE__ */ i.jsx(i1, { scope: n, id: o, children: /* @__PURE__ */ i.jsx(B.div, { role: "group", "aria-labelledby": o, ...r, ref: t }) });
9902
9902
  }
9903
9903
  );
9904
9904
  ed.displayName = Ju;
9905
9905
  var td = "SelectLabel", nd = u.forwardRef(
9906
9906
  (e, t) => {
9907
9907
  const { __scopeSelect: n, ...r } = e, o = c1(td, n);
9908
- return /* @__PURE__ */ i.jsx(z.div, { id: o.id, ...r, ref: t });
9908
+ return /* @__PURE__ */ i.jsx(B.div, { id: o.id, ...r, ref: t });
9909
9909
  }
9910
9910
  );
9911
9911
  nd.displayName = td;
@@ -9949,7 +9949,7 @@ var Ir = "SelectItem", [l1, rd] = Nn(Ir), od = u.forwardRef(
9949
9949
  disabled: o,
9950
9950
  textValue: f,
9951
9951
  children: /* @__PURE__ */ i.jsx(
9952
- z.div,
9952
+ B.div,
9953
9953
  {
9954
9954
  role: "option",
9955
9955
  "aria-labelledby": g,
@@ -10008,7 +10008,7 @@ var An = "SelectItemText", ad = u.forwardRef(
10008
10008
  [l.disabled, l.value, p]
10009
10009
  ), { onNativeOptionAdd: g, onNativeOptionRemove: x } = d;
10010
10010
  return ve(() => (g(v), () => x(v)), [g, x, v]), /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
10011
- /* @__PURE__ */ i.jsx(z.span, { id: l.textId, ...a, ref: h }),
10011
+ /* @__PURE__ */ i.jsx(B.span, { id: l.textId, ...a, ref: h }),
10012
10012
  l.isSelected && s.valueNode && !s.valueNodeHasChildren ? Vr.createPortal(a.children, s.valueNode) : null
10013
10013
  ] });
10014
10014
  }
@@ -10017,7 +10017,7 @@ ad.displayName = An;
10017
10017
  var sd = "SelectItemIndicator", id = u.forwardRef(
10018
10018
  (e, t) => {
10019
10019
  const { __scopeSelect: n, ...r } = e;
10020
- return rd(sd, n).isSelected ? /* @__PURE__ */ i.jsx(z.span, { "aria-hidden": !0, ...r, ref: t }) : null;
10020
+ return rd(sd, n).isSelected ? /* @__PURE__ */ i.jsx(B.span, { "aria-hidden": !0, ...r, ref: t }) : null;
10021
10021
  }
10022
10022
  );
10023
10023
  id.displayName = sd;
@@ -10078,7 +10078,7 @@ var ud = u.forwardRef((e, t) => {
10078
10078
  const d = c().find((m) => m.ref.current === document.activeElement);
10079
10079
  (f = d == null ? void 0 : d.ref.current) == null || f.scrollIntoView({ block: "nearest" });
10080
10080
  }, [c]), /* @__PURE__ */ i.jsx(
10081
- z.div,
10081
+ B.div,
10082
10082
  {
10083
10083
  "aria-hidden": !0,
10084
10084
  ...o,
@@ -10099,7 +10099,7 @@ var ud = u.forwardRef((e, t) => {
10099
10099
  }), u1 = "SelectSeparator", dd = u.forwardRef(
10100
10100
  (e, t) => {
10101
10101
  const { __scopeSelect: n, ...r } = e;
10102
- return /* @__PURE__ */ i.jsx(z.div, { "aria-hidden": !0, ...r, ref: t });
10102
+ return /* @__PURE__ */ i.jsx(B.div, { "aria-hidden": !0, ...r, ref: t });
10103
10103
  }
10104
10104
  );
10105
10105
  dd.displayName = u1;
@@ -10125,7 +10125,7 @@ var f1 = "SelectBubbleInput", fd = u.forwardRef(
10125
10125
  f.call(c, t), c.dispatchEvent(m);
10126
10126
  }
10127
10127
  }, [s, t]), /* @__PURE__ */ i.jsx(
10128
- z.select,
10128
+ B.select,
10129
10129
  {
10130
10130
  ...n,
10131
10131
  style: { ...Fu, ...n.style },
@@ -10405,7 +10405,7 @@ var kd = "CheckboxTrigger", Pd = u.forwardRef(
10405
10405
  return w.addEventListener("reset", b), () => w.removeEventListener("reset", b);
10406
10406
  }
10407
10407
  }, [a, m]), /* @__PURE__ */ i.jsx(
10408
- z.button,
10408
+ B.button,
10409
10409
  {
10410
10410
  type: "button",
10411
10411
  role: "checkbox",
@@ -10483,7 +10483,7 @@ var Td = "CheckboxIndicator", Md = u.forwardRef(
10483
10483
  {
10484
10484
  present: r || Et(a.checked) || a.checked === !0,
10485
10485
  children: /* @__PURE__ */ i.jsx(
10486
- z.span,
10486
+ B.span,
10487
10487
  {
10488
10488
  "data-state": Id(a.checked),
10489
10489
  "data-disabled": a.disabled ? "" : void 0,
@@ -10526,7 +10526,7 @@ var jd = "CheckboxBubbleInput", Ad = u.forwardRef(
10526
10526
  }, [h, g, a, o]);
10527
10527
  const w = u.useRef(Et(a) ? !1 : a);
10528
10528
  return /* @__PURE__ */ i.jsx(
10529
- z.input,
10529
+ B.input,
10530
10530
  {
10531
10531
  type: "checkbox",
10532
10532
  "aria-hidden": !0,
@@ -10713,7 +10713,7 @@ var lo = "Collapsible", [D1, _d] = be(lo), [O1, ds] = D1(lo), Dd = u.forwardRef(
10713
10713
  open: l,
10714
10714
  onOpenToggle: u.useCallback(() => d((f) => !f), [d]),
10715
10715
  children: /* @__PURE__ */ i.jsx(
10716
- z.div,
10716
+ B.div,
10717
10717
  {
10718
10718
  "data-state": ms(l),
10719
10719
  "data-disabled": a ? "" : void 0,
@@ -10730,7 +10730,7 @@ var Od = "CollapsibleTrigger", $d = u.forwardRef(
10730
10730
  (e, t) => {
10731
10731
  const { __scopeCollapsible: n, ...r } = e, o = ds(Od, n);
10732
10732
  return /* @__PURE__ */ i.jsx(
10733
- z.button,
10733
+ B.button,
10734
10734
  {
10735
10735
  type: "button",
10736
10736
  "aria-controls": o.contentId,
@@ -10769,7 +10769,7 @@ var $1 = u.forwardRef((e, t) => {
10769
10769
  m.current = y.height, p.current = y.width, x.current || (b.style.transitionDuration = w.current.transitionDuration, b.style.animationName = w.current.animationName), l(r);
10770
10770
  }
10771
10771
  }, [s.open, r]), /* @__PURE__ */ i.jsx(
10772
- z.div,
10772
+ B.div,
10773
10773
  {
10774
10774
  "data-state": ms(s.open),
10775
10775
  "data-disabled": s.disabled ? "" : void 0,
@@ -10905,7 +10905,7 @@ var [Bd, H1] = uo(Qe), [zd, G1] = uo(
10905
10905
  direction: o,
10906
10906
  orientation: a,
10907
10907
  children: /* @__PURE__ */ i.jsx(ps.Slot, { scope: n, children: /* @__PURE__ */ i.jsx(
10908
- z.div,
10908
+ B.div,
10909
10909
  {
10910
10910
  ...s,
10911
10911
  "data-orientation": a,
@@ -10950,7 +10950,7 @@ var Hd = "AccordionHeader", Gd = D.forwardRef(
10950
10950
  (e, t) => {
10951
10951
  const { __scopeAccordion: n, ...r } = e, o = fo(Qe, n), a = gs(Hd, n);
10952
10952
  return /* @__PURE__ */ i.jsx(
10953
- z.h3,
10953
+ B.h3,
10954
10954
  {
10955
10955
  "data-orientation": o.orientation,
10956
10956
  "data-state": qd(a.open),
@@ -11194,7 +11194,7 @@ var tf = "DialogTrigger", nf = u.forwardRef(
11194
11194
  (e, t) => {
11195
11195
  const { __scopeDialog: n, ...r } = e, o = Je(tf, n), a = ne(t, o.triggerRef);
11196
11196
  return /* @__PURE__ */ i.jsx(
11197
- z.button,
11197
+ B.button,
11198
11198
  {
11199
11199
  type: "button",
11200
11200
  "aria-haspopup": "dialog",
@@ -11230,7 +11230,7 @@ var sC = /* @__PURE__ */ Rt("DialogOverlay.RemoveScroll"), iC = u.forwardRef(
11230
11230
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
11231
11231
  // ie. when `Overlay` and `Content` are siblings
11232
11232
  /* @__PURE__ */ i.jsx(Zn, { as: sC, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ i.jsx(
11233
- z.div,
11233
+ B.div,
11234
11234
  {
11235
11235
  "data-state": ws(o.open),
11236
11236
  ...r,
@@ -11334,14 +11334,14 @@ var cC = u.forwardRef(
11334
11334
  ), bs = "DialogTitle", lf = u.forwardRef(
11335
11335
  (e, t) => {
11336
11336
  const { __scopeDialog: n, ...r } = e, o = Je(bs, n);
11337
- return /* @__PURE__ */ i.jsx(z.h2, { id: o.titleId, ...r, ref: t });
11337
+ return /* @__PURE__ */ i.jsx(B.h2, { id: o.titleId, ...r, ref: t });
11338
11338
  }
11339
11339
  );
11340
11340
  lf.displayName = bs;
11341
11341
  var uf = "DialogDescription", df = u.forwardRef(
11342
11342
  (e, t) => {
11343
11343
  const { __scopeDialog: n, ...r } = e, o = Je(uf, n);
11344
- return /* @__PURE__ */ i.jsx(z.p, { id: o.descriptionId, ...r, ref: t });
11344
+ return /* @__PURE__ */ i.jsx(B.p, { id: o.descriptionId, ...r, ref: t });
11345
11345
  }
11346
11346
  );
11347
11347
  df.displayName = uf;
@@ -11349,7 +11349,7 @@ var ff = "DialogClose", mf = u.forwardRef(
11349
11349
  (e, t) => {
11350
11350
  const { __scopeDialog: n, ...r } = e, o = Je(ff, n);
11351
11351
  return /* @__PURE__ */ i.jsx(
11352
- z.button,
11352
+ B.button,
11353
11353
  {
11354
11354
  type: "button",
11355
11355
  ...r,
@@ -11598,9 +11598,9 @@ const Vk = zr(function(t, n) {
11598
11598
  f(T), v(-1);
11599
11599
  }, [c, r]), ke(() => {
11600
11600
  if (m && C.current) {
11601
- const T = C.current.getBoundingClientRect(), O = window.innerHeight - T.bottom, W = T.top, B = Math.min(d.length * 40, 240);
11601
+ const T = C.current.getBoundingClientRect(), O = window.innerHeight - T.bottom, W = T.top, K = Math.min(d.length * 40, 240);
11602
11602
  x(
11603
- O >= B || O > W ? "down" : "up"
11603
+ O >= K || O > W ? "down" : "up"
11604
11604
  );
11605
11605
  }
11606
11606
  }, [m, d]);
@@ -11678,7 +11678,7 @@ const Vk = zr(function(t, n) {
11678
11678
  "aria-selected": O === p,
11679
11679
  id: `option-${O}`,
11680
11680
  children: W.map(
11681
- (B, J) => B.toLowerCase() === c.toLowerCase() ? /* @__PURE__ */ i.jsx("span", { className: "font-bold text-blue-600", children: B }, J) : B
11681
+ (K, V) => K.toLowerCase() === c.toLowerCase() ? /* @__PURE__ */ i.jsx("span", { className: "font-bold text-blue-600", children: K }, V) : K
11682
11682
  )
11683
11683
  },
11684
11684
  T.value
@@ -11827,7 +11827,7 @@ var Es = "Avatar", [BC, Wk] = be(Es), [zC, $f] = BC(Es), Lf = u.forwardRef(
11827
11827
  scope: n,
11828
11828
  imageLoadingStatus: o,
11829
11829
  onImageLoadingStatusChange: a,
11830
- children: /* @__PURE__ */ i.jsx(z.span, { ...r, ref: t })
11830
+ children: /* @__PURE__ */ i.jsx(B.span, { ...r, ref: t })
11831
11831
  }
11832
11832
  );
11833
11833
  }
@@ -11841,7 +11841,7 @@ var Ff = "AvatarImage", Bf = u.forwardRef(
11841
11841
  });
11842
11842
  return ve(() => {
11843
11843
  c !== "idle" && l(c);
11844
- }, [c, l]), c === "loaded" ? /* @__PURE__ */ i.jsx(z.img, { ...a, ref: t, src: r }) : null;
11844
+ }, [c, l]), c === "loaded" ? /* @__PURE__ */ i.jsx(B.img, { ...a, ref: t, src: r }) : null;
11845
11845
  }
11846
11846
  );
11847
11847
  Bf.displayName = Ff;
@@ -11853,7 +11853,7 @@ var zf = "AvatarFallback", Vf = u.forwardRef(
11853
11853
  const l = window.setTimeout(() => c(!0), r);
11854
11854
  return () => window.clearTimeout(l);
11855
11855
  }
11856
- }, [r]), s && a.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ i.jsx(z.span, { ...o, ref: t }) : null;
11856
+ }, [r]), s && a.imageLoadingStatus !== "loaded" ? /* @__PURE__ */ i.jsx(B.span, { ...o, ref: t }) : null;
11857
11857
  }
11858
11858
  );
11859
11859
  Vf.displayName = zf;
@@ -12412,23 +12412,23 @@ var Tn = '[cmdk-group=""]', Xo = '[cmdk-group-items=""]', $N = '[cmdk-group-head
12412
12412
  n.current.value = R, N.emit();
12413
12413
  }
12414
12414
  }, [f]), Kt(() => {
12415
- P(6, J);
12415
+ P(6, V);
12416
12416
  }, []);
12417
12417
  let N = u.useMemo(() => ({ subscribe: (R) => (s.current.add(R), () => s.current.delete(R)), snapshot: () => n.current, setState: (R, I, $) => {
12418
- var L, Q, M, U;
12418
+ var L, J, M, Y;
12419
12419
  if (!Object.is(n.current[R], I)) {
12420
- if (n.current[R] = I, R === "search") B(), O(), P(1, W);
12420
+ if (n.current[R] = I, R === "search") K(), O(), P(1, W);
12421
12421
  else if (R === "value") {
12422
12422
  if (document.activeElement.hasAttribute("cmdk-input") || document.activeElement.hasAttribute("cmdk-root")) {
12423
- let q = document.getElementById(C);
12424
- q ? q.focus() : (L = document.getElementById(b)) == null || L.focus();
12423
+ let X = document.getElementById(C);
12424
+ X ? X.focus() : (L = document.getElementById(b)) == null || L.focus();
12425
12425
  }
12426
12426
  if (P(7, () => {
12427
- var q;
12428
- n.current.selectedItemId = (q = Y()) == null ? void 0 : q.id, N.emit();
12429
- }), $ || P(5, J), ((Q = c.current) == null ? void 0 : Q.value) !== void 0) {
12430
- let q = I ?? "";
12431
- (U = (M = c.current).onValueChange) == null || U.call(M, q);
12427
+ var X;
12428
+ n.current.selectedItemId = (X = G()) == null ? void 0 : X.id, N.emit();
12429
+ }), $ || P(5, V), ((J = c.current) == null ? void 0 : J.value) !== void 0) {
12430
+ let X = I ?? "";
12431
+ (Y = (M = c.current).onValueChange) == null || Y.call(M, X);
12432
12432
  return;
12433
12433
  }
12434
12434
  }
@@ -12442,42 +12442,42 @@ var Tn = '[cmdk-group=""]', Xo = '[cmdk-group-items=""]', $N = '[cmdk-group-head
12442
12442
  O(), N.emit();
12443
12443
  }));
12444
12444
  }, item: (R, I) => (r.current.add(R), I && (o.current.has(I) ? o.current.get(I).add(R) : o.current.set(I, /* @__PURE__ */ new Set([R]))), P(3, () => {
12445
- B(), O(), n.current.value || W(), N.emit();
12445
+ K(), O(), n.current.value || W(), N.emit();
12446
12446
  }), () => {
12447
12447
  a.current.delete(R), r.current.delete(R), n.current.filtered.items.delete(R);
12448
- let $ = Y();
12448
+ let $ = G();
12449
12449
  P(4, () => {
12450
- B(), ($ == null ? void 0 : $.getAttribute("id")) === R && W(), N.emit();
12450
+ K(), ($ == null ? void 0 : $.getAttribute("id")) === R && W(), N.emit();
12451
12451
  });
12452
12452
  }), group: (R) => (o.current.has(R) || o.current.set(R, /* @__PURE__ */ new Set()), () => {
12453
12453
  a.current.delete(R), o.current.delete(R);
12454
12454
  }), filter: () => c.current.shouldFilter, label: l || e["aria-label"], getDisablePointerSelection: () => c.current.disablePointerSelection, listId: b, inputId: C, labelId: y, listInnerRef: S }), []);
12455
12455
  function T(R, I) {
12456
12456
  var $, L;
12457
- let Q = (L = ($ = c.current) == null ? void 0 : $.filter) != null ? L : LN;
12458
- return R ? Q(R, n.current.search, I) : 0;
12457
+ let J = (L = ($ = c.current) == null ? void 0 : $.filter) != null ? L : LN;
12458
+ return R ? J(R, n.current.search, I) : 0;
12459
12459
  }
12460
12460
  function O() {
12461
12461
  if (!n.current.search || c.current.shouldFilter === !1) return;
12462
12462
  let R = n.current.filtered.items, I = [];
12463
12463
  n.current.filtered.groups.forEach((L) => {
12464
- let Q = o.current.get(L), M = 0;
12465
- Q.forEach((U) => {
12466
- let q = R.get(U);
12467
- M = Math.max(q, M);
12464
+ let J = o.current.get(L), M = 0;
12465
+ J.forEach((Y) => {
12466
+ let X = R.get(Y);
12467
+ M = Math.max(X, M);
12468
12468
  }), I.push([L, M]);
12469
12469
  });
12470
12470
  let $ = S.current;
12471
- ee().sort((L, Q) => {
12472
- var M, U;
12473
- let q = L.getAttribute("id"), te = Q.getAttribute("id");
12474
- return ((M = R.get(te)) != null ? M : 0) - ((U = R.get(q)) != null ? U : 0);
12471
+ ee().sort((L, J) => {
12472
+ var M, Y;
12473
+ let X = L.getAttribute("id"), te = J.getAttribute("id");
12474
+ return ((M = R.get(te)) != null ? M : 0) - ((Y = R.get(X)) != null ? Y : 0);
12475
12475
  }).forEach((L) => {
12476
- let Q = L.closest(Xo);
12477
- Q ? Q.appendChild(L.parentElement === Q ? L : L.closest(`${Xo} > *`)) : $.appendChild(L.parentElement === $ ? L : L.closest(`${Xo} > *`));
12478
- }), I.sort((L, Q) => Q[1] - L[1]).forEach((L) => {
12479
- var Q;
12480
- let M = (Q = S.current) == null ? void 0 : Q.querySelector(`${Tn}[${sn}="${encodeURIComponent(L[0])}"]`);
12476
+ let J = L.closest(Xo);
12477
+ J ? J.appendChild(L.parentElement === J ? L : L.closest(`${Xo} > *`)) : $.appendChild(L.parentElement === $ ? L : L.closest(`${Xo} > *`));
12478
+ }), I.sort((L, J) => J[1] - L[1]).forEach((L) => {
12479
+ var J;
12480
+ let M = (J = S.current) == null ? void 0 : J.querySelector(`${Tn}[${sn}="${encodeURIComponent(L[0])}"]`);
12481
12481
  M == null || M.parentElement.appendChild(M);
12482
12482
  });
12483
12483
  }
@@ -12485,30 +12485,30 @@ var Tn = '[cmdk-group=""]', Xo = '[cmdk-group-items=""]', $N = '[cmdk-group-head
12485
12485
  let R = ee().find(($) => $.getAttribute("aria-disabled") !== "true"), I = R == null ? void 0 : R.getAttribute(sn);
12486
12486
  N.setState("value", I || void 0);
12487
12487
  }
12488
- function B() {
12488
+ function K() {
12489
12489
  var R, I, $, L;
12490
12490
  if (!n.current.search || c.current.shouldFilter === !1) {
12491
12491
  n.current.filtered.count = r.current.size;
12492
12492
  return;
12493
12493
  }
12494
12494
  n.current.filtered.groups = /* @__PURE__ */ new Set();
12495
- let Q = 0;
12495
+ let J = 0;
12496
12496
  for (let M of r.current) {
12497
- let U = (I = (R = a.current.get(M)) == null ? void 0 : R.value) != null ? I : "", q = (L = ($ = a.current.get(M)) == null ? void 0 : $.keywords) != null ? L : [], te = T(U, q);
12498
- n.current.filtered.items.set(M, te), te > 0 && Q++;
12497
+ let Y = (I = (R = a.current.get(M)) == null ? void 0 : R.value) != null ? I : "", X = (L = ($ = a.current.get(M)) == null ? void 0 : $.keywords) != null ? L : [], te = T(Y, X);
12498
+ n.current.filtered.items.set(M, te), te > 0 && J++;
12499
12499
  }
12500
- for (let [M, U] of o.current) for (let q of U) if (n.current.filtered.items.get(q) > 0) {
12500
+ for (let [M, Y] of o.current) for (let X of Y) if (n.current.filtered.items.get(X) > 0) {
12501
12501
  n.current.filtered.groups.add(M);
12502
12502
  break;
12503
12503
  }
12504
- n.current.filtered.count = Q;
12504
+ n.current.filtered.count = J;
12505
12505
  }
12506
- function J() {
12506
+ function V() {
12507
12507
  var R, I, $;
12508
- let L = Y();
12508
+ let L = G();
12509
12509
  L && (((R = L.parentElement) == null ? void 0 : R.firstChild) === L && (($ = (I = L.closest(Tn)) == null ? void 0 : I.querySelector($N)) == null || $.scrollIntoView({ block: "nearest" })), L.scrollIntoView({ block: "nearest" }));
12510
12510
  }
12511
- function Y() {
12511
+ function G() {
12512
12512
  var R;
12513
12513
  return (R = S.current) == null ? void 0 : R.querySelector(`${Yf}[aria-selected="true"]`);
12514
12514
  }
@@ -12516,26 +12516,26 @@ var Tn = '[cmdk-group=""]', Xo = '[cmdk-group-items=""]', $N = '[cmdk-group-head
12516
12516
  var R;
12517
12517
  return Array.from(((R = S.current) == null ? void 0 : R.querySelectorAll(ac)) || []);
12518
12518
  }
12519
- function V(R) {
12519
+ function z(R) {
12520
12520
  let I = ee()[R];
12521
12521
  I && N.setState("value", I.getAttribute(sn));
12522
12522
  }
12523
- function K(R) {
12523
+ function q(R) {
12524
12524
  var I;
12525
- let $ = Y(), L = ee(), Q = L.findIndex((U) => U === $), M = L[Q + R];
12526
- (I = c.current) != null && I.loop && (M = Q + R < 0 ? L[L.length - 1] : Q + R === L.length ? L[0] : L[Q + R]), M && N.setState("value", M.getAttribute(sn));
12525
+ let $ = G(), L = ee(), J = L.findIndex((Y) => Y === $), M = L[J + R];
12526
+ (I = c.current) != null && I.loop && (M = J + R < 0 ? L[L.length - 1] : J + R === L.length ? L[0] : L[J + R]), M && N.setState("value", M.getAttribute(sn));
12527
12527
  }
12528
12528
  function A(R) {
12529
- let I = Y(), $ = I == null ? void 0 : I.closest(Tn), L;
12529
+ let I = G(), $ = I == null ? void 0 : I.closest(Tn), L;
12530
12530
  for (; $ && !L; ) $ = R > 0 ? YN($, Tn) : KN($, Tn), L = $ == null ? void 0 : $.querySelector(ac);
12531
- L ? N.setState("value", L.getAttribute(sn)) : K(R);
12531
+ L ? N.setState("value", L.getAttribute(sn)) : q(R);
12532
12532
  }
12533
- let _ = () => V(ee().length - 1), k = (R) => {
12534
- R.preventDefault(), R.metaKey ? _() : R.altKey ? A(1) : K(1);
12535
- }, G = (R) => {
12536
- R.preventDefault(), R.metaKey ? V(0) : R.altKey ? A(-1) : K(-1);
12533
+ let _ = () => z(ee().length - 1), k = (R) => {
12534
+ R.preventDefault(), R.metaKey ? _() : R.altKey ? A(1) : q(1);
12535
+ }, U = (R) => {
12536
+ R.preventDefault(), R.metaKey ? z(0) : R.altKey ? A(-1) : q(-1);
12537
12537
  };
12538
- return u.createElement(z.div, { ref: t, tabIndex: -1, ...w, "cmdk-root": "", onKeyDown: (R) => {
12538
+ return u.createElement(B.div, { ref: t, tabIndex: -1, ...w, "cmdk-root": "", onKeyDown: (R) => {
12539
12539
  var I;
12540
12540
  (I = w.onKeyDown) == null || I.call(w, R);
12541
12541
  let $ = R.nativeEvent.isComposing || R.keyCode === 229;
@@ -12551,15 +12551,15 @@ var Tn = '[cmdk-group=""]', Xo = '[cmdk-group-items=""]', $N = '[cmdk-group-head
12551
12551
  }
12552
12552
  case "p":
12553
12553
  case "k": {
12554
- x && R.ctrlKey && G(R);
12554
+ x && R.ctrlKey && U(R);
12555
12555
  break;
12556
12556
  }
12557
12557
  case "ArrowUp": {
12558
- G(R);
12558
+ U(R);
12559
12559
  break;
12560
12560
  }
12561
12561
  case "Home": {
12562
- R.preventDefault(), V(0);
12562
+ R.preventDefault(), z(0);
12563
12563
  break;
12564
12564
  }
12565
12565
  case "End": {
@@ -12568,10 +12568,10 @@ var Tn = '[cmdk-group=""]', Xo = '[cmdk-group-items=""]', $N = '[cmdk-group-head
12568
12568
  }
12569
12569
  case "Enter": {
12570
12570
  R.preventDefault();
12571
- let L = Y();
12571
+ let L = G();
12572
12572
  if (L) {
12573
- let Q = new Event(ya);
12574
- L.dispatchEvent(Q);
12573
+ let J = new Event(ya);
12574
+ L.dispatchEvent(J);
12575
12575
  }
12576
12576
  }
12577
12577
  }
@@ -12596,20 +12596,20 @@ var Tn = '[cmdk-group=""]', Xo = '[cmdk-group-items=""]', $N = '[cmdk-group-head
12596
12596
  }
12597
12597
  if (!p) return null;
12598
12598
  let { disabled: x, value: w, onSelect: b, forceMount: y, keywords: C, ...S } = e;
12599
- return u.createElement(z.div, { ref: it(a, t), ...S, id: o, "cmdk-item": "", role: "option", "aria-disabled": !!x, "aria-selected": !!h, "data-disabled": !!x, "data-selected": !!h, onPointerMove: x || c.getDisablePointerSelection() ? void 0 : g, onClick: x ? void 0 : v }, e.children);
12599
+ return u.createElement(B.div, { ref: it(a, t), ...S, id: o, "cmdk-item": "", role: "option", "aria-disabled": !!x, "aria-selected": !!h, "data-disabled": !!x, "data-selected": !!h, onPointerMove: x || c.getDisablePointerSelection() ? void 0 : g, onClick: x ? void 0 : v }, e.children);
12600
12600
  }), BN = u.forwardRef((e, t) => {
12601
12601
  let { heading: n, children: r, forceMount: o, ...a } = e, s = he(), c = u.useRef(null), l = u.useRef(null), d = he(), f = nr(), m = Tt((p) => o || f.filter() === !1 ? !0 : p.search ? p.filtered.groups.has(s) : !0);
12602
12602
  Kt(() => f.group(s), []), Jf(s, c, [e.value, e.heading, l]);
12603
12603
  let h = u.useMemo(() => ({ id: s, forceMount: o }), [o]);
12604
- return u.createElement(z.div, { ref: it(c, t), ...a, "cmdk-group": "", role: "presentation", hidden: m ? void 0 : !0 }, n && u.createElement("div", { ref: l, "cmdk-group-heading": "", "aria-hidden": !0, id: d }, n), vo(e, (p) => u.createElement("div", { "cmdk-group-items": "", role: "group", "aria-labelledby": n ? d : void 0 }, u.createElement(Xf.Provider, { value: h }, p))));
12604
+ return u.createElement(B.div, { ref: it(c, t), ...a, "cmdk-group": "", role: "presentation", hidden: m ? void 0 : !0 }, n && u.createElement("div", { ref: l, "cmdk-group-heading": "", "aria-hidden": !0, id: d }, n), vo(e, (p) => u.createElement("div", { "cmdk-group-items": "", role: "group", "aria-labelledby": n ? d : void 0 }, u.createElement(Xf.Provider, { value: h }, p))));
12605
12605
  }), zN = u.forwardRef((e, t) => {
12606
12606
  let { alwaysRender: n, ...r } = e, o = u.useRef(null), a = Tt((s) => !s.search);
12607
- return !n && !a ? null : u.createElement(z.div, { ref: it(o, t), ...r, "cmdk-separator": "", role: "separator" });
12607
+ return !n && !a ? null : u.createElement(B.div, { ref: it(o, t), ...r, "cmdk-separator": "", role: "separator" });
12608
12608
  }), VN = u.forwardRef((e, t) => {
12609
12609
  let { onValueChange: n, ...r } = e, o = e.value != null, a = Rs(), s = Tt((d) => d.search), c = Tt((d) => d.selectedItemId), l = nr();
12610
12610
  return u.useEffect(() => {
12611
12611
  e.value != null && a.setState("search", e.value);
12612
- }, [e.value]), u.createElement(z.input, { ref: t, ...r, "cmdk-input": "", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "aria-autocomplete": "list", role: "combobox", "aria-expanded": !0, "aria-controls": l.listId, "aria-labelledby": l.labelId, "aria-activedescendant": c, id: l.inputId, type: "text", value: o ? e.value : s, onChange: (d) => {
12612
+ }, [e.value]), u.createElement(B.input, { ref: t, ...r, "cmdk-input": "", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "aria-autocomplete": "list", role: "combobox", "aria-expanded": !0, "aria-controls": l.listId, "aria-labelledby": l.labelId, "aria-activedescendant": c, id: l.inputId, type: "text", value: o ? e.value : s, onChange: (d) => {
12613
12613
  o || a.setState("search", d.target.value), n == null || n(d.target.value);
12614
12614
  } });
12615
12615
  }), WN = u.forwardRef((e, t) => {
@@ -12626,13 +12626,13 @@ var Tn = '[cmdk-group=""]', Xo = '[cmdk-group-items=""]', $N = '[cmdk-group-head
12626
12626
  cancelAnimationFrame(m), h.unobserve(d);
12627
12627
  };
12628
12628
  }
12629
- }, []), u.createElement(z.div, { ref: it(a, t), ...o, "cmdk-list": "", role: "listbox", tabIndex: -1, "aria-activedescendant": c, "aria-label": r, id: l.listId }, vo(e, (d) => u.createElement("div", { ref: it(s, l.listInnerRef), "cmdk-list-sizer": "" }, d)));
12629
+ }, []), u.createElement(B.div, { ref: it(a, t), ...o, "cmdk-list": "", role: "listbox", tabIndex: -1, "aria-activedescendant": c, "aria-label": r, id: l.listId }, vo(e, (d) => u.createElement("div", { ref: it(s, l.listInnerRef), "cmdk-list-sizer": "" }, d)));
12630
12630
  }), HN = u.forwardRef((e, t) => {
12631
12631
  let { open: n, onOpenChange: r, overlayClassName: o, contentClassName: a, container: s, ...c } = e;
12632
12632
  return u.createElement(ys, { open: n, onOpenChange: r }, u.createElement(Cs, { container: s }, u.createElement(po, { "cmdk-overlay": "", className: o }), u.createElement(ho, { "aria-label": e.label, "cmdk-dialog": "", className: a }, u.createElement(Zf, { ref: t, ...c }))));
12633
- }), GN = u.forwardRef((e, t) => Tt((n) => n.filtered.count === 0) ? u.createElement(z.div, { ref: t, ...e, "cmdk-empty": "", role: "presentation" }) : null), UN = u.forwardRef((e, t) => {
12633
+ }), GN = u.forwardRef((e, t) => Tt((n) => n.filtered.count === 0) ? u.createElement(B.div, { ref: t, ...e, "cmdk-empty": "", role: "presentation" }) : null), UN = u.forwardRef((e, t) => {
12634
12634
  let { progress: n, children: r, label: o = "Loading...", ...a } = e;
12635
- return u.createElement(z.div, { ref: t, ...a, "cmdk-loading": "", role: "progressbar", "aria-valuenow": n, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": o }, vo(e, (s) => u.createElement("div", { "aria-hidden": !0 }, s)));
12635
+ return u.createElement(B.div, { ref: t, ...a, "cmdk-loading": "", role: "progressbar", "aria-valuenow": n, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": o }, vo(e, (s) => u.createElement("div", { "aria-hidden": !0 }, s)));
12636
12636
  }), _e = Object.assign(Zf, { List: WN, Item: FN, Input: VN, Group: BN, Separator: zN, Dialog: HN, Empty: GN, Loading: UN });
12637
12637
  function YN(e, t) {
12638
12638
  let n = e.nextElementSibling;
@@ -12705,22 +12705,22 @@ const ks = ys, QN = gf, JN = Cs, Gk = go, em = u.forwardRef(({ className: e, ...
12705
12705
  }
12706
12706
  ));
12707
12707
  em.displayName = po.displayName;
12708
- const xo = u.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ i.jsxs(JN, { children: [
12708
+ const xo = u.forwardRef(({ className: e, children: t, showCloseButton: n = !0, ...r }, o) => /* @__PURE__ */ i.jsxs(JN, { children: [
12709
12709
  /* @__PURE__ */ i.jsx(em, {}),
12710
12710
  /* @__PURE__ */ i.jsxs(
12711
12711
  ho,
12712
12712
  {
12713
- ref: r,
12713
+ ref: o,
12714
12714
  className: j(
12715
12715
  "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border",
12716
12716
  "bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",
12717
12717
  "sm:rounded-lg max-h-[100dvh] overflow-y-auto",
12718
12718
  e
12719
12719
  ),
12720
- ...n,
12720
+ ...r,
12721
12721
  children: [
12722
12722
  t,
12723
- /* @__PURE__ */ i.jsxs(go, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
12723
+ n && /* @__PURE__ */ i.jsxs(go, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground", children: [
12724
12724
  /* @__PURE__ */ i.jsx(mt, { className: "h-4 w-4" }),
12725
12725
  /* @__PURE__ */ i.jsx("span", { className: "sr-only", children: "Close" })
12726
12726
  ] })
@@ -12899,7 +12899,7 @@ const nS = D.forwardRef(
12899
12899
  );
12900
12900
  nS.displayName = "CurrencyInput";
12901
12901
  var rS = "Label", am = u.forwardRef((e, t) => /* @__PURE__ */ i.jsx(
12902
- z.label,
12902
+ B.label,
12903
12903
  {
12904
12904
  ...e,
12905
12905
  ref: t,
@@ -12959,7 +12959,7 @@ um.displayName = lm;
12959
12959
  var dm = "PopoverTrigger", fm = u.forwardRef(
12960
12960
  (e, t) => {
12961
12961
  const { __scopePopover: n, ...r } = e, o = $t(dm, n), a = rr(n), s = ne(t, o.triggerRef), c = /* @__PURE__ */ i.jsx(
12962
- z.button,
12962
+ B.button,
12963
12963
  {
12964
12964
  type: "button",
12965
12965
  "aria-haspopup": "dialog",
@@ -13105,7 +13105,7 @@ var lS = /* @__PURE__ */ Rt("PopoverContent.RemoveScroll"), uS = u.forwardRef(
13105
13105
  (e, t) => {
13106
13106
  const { __scopePopover: n, ...r } = e, o = $t(gm, n);
13107
13107
  return /* @__PURE__ */ i.jsx(
13108
- z.button,
13108
+ B.button,
13109
13109
  {
13110
13110
  type: "button",
13111
13111
  ...r,
@@ -13144,7 +13144,7 @@ bm.displayName = xm.displayName;
13144
13144
  var yS = "Separator", sc = "horizontal", CS = ["horizontal", "vertical"], wm = u.forwardRef((e, t) => {
13145
13145
  const { decorative: n, orientation: r = sc, ...o } = e, a = NS(r) ? r : sc, c = n ? { role: "none" } : { "aria-orientation": a === "vertical" ? a : void 0, role: "separator" };
13146
13146
  return /* @__PURE__ */ i.jsx(
13147
- z.div,
13147
+ B.div,
13148
13148
  {
13149
13149
  "data-orientation": a,
13150
13150
  ...c,
@@ -13436,7 +13436,7 @@ var Qt = "NavigationMenu", [Is, Cm, ES] = wn(Qt), [Sa, RS, kS] = wn(Qt), [_s, qk
13436
13436
  },
13437
13437
  onItemDismiss: () => S(""),
13438
13438
  children: /* @__PURE__ */ i.jsx(
13439
- z.nav,
13439
+ B.nav,
13440
13440
  {
13441
13441
  "aria-label": "Main",
13442
13442
  "data-orientation": l,
@@ -13477,7 +13477,7 @@ var Ea = "NavigationMenuSub", jS = u.forwardRef(
13477
13477
  onTriggerEnter: (m) => f(m),
13478
13478
  onItemSelect: (m) => f(m),
13479
13479
  onItemDismiss: () => f(""),
13480
- children: /* @__PURE__ */ i.jsx(z.div, { "data-orientation": s, ...c, ref: t })
13480
+ children: /* @__PURE__ */ i.jsx(B.div, { "data-orientation": s, ...c, ref: t })
13481
13481
  }
13482
13482
  );
13483
13483
  }
@@ -13531,8 +13531,8 @@ var Sm = (e) => {
13531
13531
  );
13532
13532
  }, Em = "NavigationMenuList", Rm = u.forwardRef(
13533
13533
  (e, t) => {
13534
- const { __scopeNavigationMenu: n, ...r } = e, o = We(Em, n), a = /* @__PURE__ */ i.jsx(z.ul, { "data-orientation": o.orientation, ...r, ref: t });
13535
- return /* @__PURE__ */ i.jsx(z.div, { style: { position: "relative" }, ref: o.onIndicatorTrackChange, children: /* @__PURE__ */ i.jsx(Is.Slot, { scope: n, children: o.isRootMenu ? /* @__PURE__ */ i.jsx(Om, { asChild: !0, children: a }) : a }) });
13534
+ const { __scopeNavigationMenu: n, ...r } = e, o = We(Em, n), a = /* @__PURE__ */ i.jsx(B.ul, { "data-orientation": o.orientation, ...r, ref: t });
13535
+ return /* @__PURE__ */ i.jsx(B.div, { style: { position: "relative" }, ref: o.onIndicatorTrackChange, children: /* @__PURE__ */ i.jsx(Is.Slot, { scope: n, children: o.isRootMenu ? /* @__PURE__ */ i.jsx(Om, { asChild: !0, children: a }) : a }) });
13536
13536
  }
13537
13537
  );
13538
13538
  Rm.displayName = Em;
@@ -13564,7 +13564,7 @@ var km = "NavigationMenuItem", [AS, Pm] = _s(km), Tm = u.forwardRef(
13564
13564
  onFocusProxyEnter: h,
13565
13565
  onRootContentClose: p,
13566
13566
  onContentFocusOutside: p,
13567
- children: /* @__PURE__ */ i.jsx(z.li, { ...o, ref: t })
13567
+ children: /* @__PURE__ */ i.jsx(B.li, { ...o, ref: t })
13568
13568
  }
13569
13569
  );
13570
13570
  }
@@ -13574,7 +13574,7 @@ var Ra = "NavigationMenuTrigger", Mm = u.forwardRef((e, t) => {
13574
13574
  const { __scopeNavigationMenu: n, disabled: r, ...o } = e, a = We(Ra, e.__scopeNavigationMenu), s = Pm(Ra, e.__scopeNavigationMenu), c = u.useRef(null), l = ne(c, s.triggerRef, t), d = Lm(a.baseId, s.value), f = Fm(a.baseId, s.value), m = u.useRef(!1), h = u.useRef(!1), p = s.value === a.value;
13575
13575
  return /* @__PURE__ */ i.jsxs(i.Fragment, { children: [
13576
13576
  /* @__PURE__ */ i.jsx(Is.ItemSlot, { scope: n, value: s.value, children: /* @__PURE__ */ i.jsx($m, { asChild: !0, children: /* @__PURE__ */ i.jsx(
13577
- z.button,
13577
+ B.button,
13578
13578
  {
13579
13579
  id: d,
13580
13580
  disabled: r,
@@ -13630,7 +13630,7 @@ var IS = "NavigationMenuLink", cc = "navigationMenu.linkSelect", jm = u.forwardR
13630
13630
  (e, t) => {
13631
13631
  const { __scopeNavigationMenu: n, active: r, onSelect: o, ...a } = e;
13632
13632
  return /* @__PURE__ */ i.jsx($m, { asChild: !0, children: /* @__PURE__ */ i.jsx(
13633
- z.a,
13633
+ B.a,
13634
13634
  {
13635
13635
  "data-active": r ? "" : void 0,
13636
13636
  "aria-current": r ? "page" : void 0,
@@ -13682,7 +13682,7 @@ var _S = u.forwardRef((e, t) => {
13682
13682
  });
13683
13683
  };
13684
13684
  return Pa(s, h), Pa(o.indicatorTrack, h), l ? /* @__PURE__ */ i.jsx(
13685
- z.div,
13685
+ B.div,
13686
13686
  {
13687
13687
  "aria-hidden": !0,
13688
13688
  "data-state": m ? "visible" : "hidden",
@@ -13813,7 +13813,7 @@ var DS = u.forwardRef((e, t) => {
13813
13813
  var P;
13814
13814
  const C = y.altKey || y.ctrlKey || y.metaKey;
13815
13815
  if (y.key === "Tab" && !C) {
13816
- const N = ka(y.currentTarget), E = document.activeElement, T = N.findIndex((B) => B === E), W = y.shiftKey ? N.slice(0, T).reverse() : N.slice(T + 1, N.length);
13816
+ const N = ka(y.currentTarget), E = document.activeElement, T = N.findIndex((K) => K === E), W = y.shiftKey ? N.slice(0, T).reverse() : N.slice(T + 1, N.length);
13817
13817
  $s(W) ? y.preventDefault() : (P = a.current) == null || P.focus();
13818
13818
  }
13819
13819
  }),
@@ -13835,7 +13835,7 @@ var OS = u.forwardRef((e, t) => {
13835
13835
  return Pa(f, () => {
13836
13836
  f && d({ width: f.offsetWidth, height: f.offsetHeight });
13837
13837
  }), /* @__PURE__ */ i.jsx(
13838
- z.div,
13838
+ B.div,
13839
13839
  {
13840
13840
  "data-state": Ls(v),
13841
13841
  "data-orientation": a.orientation,
@@ -13867,13 +13867,13 @@ var OS = u.forwardRef((e, t) => {
13867
13867
  }), $S = "FocusGroup", Om = u.forwardRef(
13868
13868
  (e, t) => {
13869
13869
  const { __scopeNavigationMenu: n, ...r } = e, o = We($S, n);
13870
- return /* @__PURE__ */ i.jsx(Sa.Provider, { scope: n, children: /* @__PURE__ */ i.jsx(Sa.Slot, { scope: n, children: /* @__PURE__ */ i.jsx(z.div, { dir: o.dir, ...r, ref: t }) }) });
13870
+ return /* @__PURE__ */ i.jsx(Sa.Provider, { scope: n, children: /* @__PURE__ */ i.jsx(Sa.Slot, { scope: n, children: /* @__PURE__ */ i.jsx(B.div, { dir: o.dir, ...r, ref: t }) }) });
13871
13871
  }
13872
13872
  ), lc = ["ArrowRight", "ArrowLeft", "ArrowUp", "ArrowDown"], LS = "FocusGroupItem", $m = u.forwardRef(
13873
13873
  (e, t) => {
13874
13874
  const { __scopeNavigationMenu: n, ...r } = e, o = RS(n), a = We(LS, n);
13875
13875
  return /* @__PURE__ */ i.jsx(Sa.ItemSlot, { scope: n, children: /* @__PURE__ */ i.jsx(
13876
- z.button,
13876
+ B.button,
13877
13877
  {
13878
13878
  ...r,
13879
13879
  ref: t,
@@ -14122,7 +14122,7 @@ var Bs = "Progress", zs = 100, [eE, Qk] = be(Bs), [tE, nE] = eE(Bs), Ym = u.forw
14122
14122
  r !== null && !dc(r, c) && console.error(aE(`${r}`, "Progress"));
14123
14123
  const l = dc(r, c) ? r : null, d = $r(l) ? a(l, c) : void 0;
14124
14124
  return /* @__PURE__ */ i.jsx(tE, { scope: n, value: l, max: c, children: /* @__PURE__ */ i.jsx(
14125
- z.div,
14125
+ B.div,
14126
14126
  {
14127
14127
  "aria-valuemax": c,
14128
14128
  "aria-valuemin": 0,
@@ -14143,7 +14143,7 @@ var Km = "ProgressIndicator", qm = u.forwardRef(
14143
14143
  (e, t) => {
14144
14144
  const { __scopeProgress: n, ...r } = e, o = nE(Km, n);
14145
14145
  return /* @__PURE__ */ i.jsx(
14146
- z.div,
14146
+ B.div,
14147
14147
  {
14148
14148
  "data-state": Xm(o.value, o.max),
14149
14149
  "data-value": o.value ?? void 0,
@@ -14275,7 +14275,7 @@ var Vs = "Radio", [iE, Jm] = be(Vs), [cE, lE] = iE(Vs), ep = u.forwardRef(
14275
14275
  } = e, [m, h] = u.useState(null), p = ne(t, (x) => h(x)), v = u.useRef(!1), g = m ? d || !!m.closest("form") : !0;
14276
14276
  return /* @__PURE__ */ i.jsxs(cE, { scope: n, checked: o, disabled: s, children: [
14277
14277
  /* @__PURE__ */ i.jsx(
14278
- z.button,
14278
+ B.button,
14279
14279
  {
14280
14280
  type: "button",
14281
14281
  role: "radio",
@@ -14313,7 +14313,7 @@ var tp = "RadioIndicator", np = u.forwardRef(
14313
14313
  (e, t) => {
14314
14314
  const { __scopeRadio: n, forceMount: r, ...o } = e, a = lE(tp, n);
14315
14315
  return /* @__PURE__ */ i.jsx(Ne, { present: r || a.checked, children: /* @__PURE__ */ i.jsx(
14316
- z.span,
14316
+ B.span,
14317
14317
  {
14318
14318
  "data-state": op(a.checked),
14319
14319
  "data-disabled": a.disabled ? "" : void 0,
@@ -14345,7 +14345,7 @@ var uE = "RadioBubbleInput", rp = u.forwardRef(
14345
14345
  p.call(f, n), f.dispatchEvent(v);
14346
14346
  }
14347
14347
  }, [l, n, r]), /* @__PURE__ */ i.jsx(
14348
- z.input,
14348
+ B.input,
14349
14349
  {
14350
14350
  type: "radio",
14351
14351
  "aria-hidden": !0,
@@ -14410,7 +14410,7 @@ var dE = ["ArrowUp", "ArrowDown", "ArrowLeft", "ArrowRight"], wo = "RadioGroup",
14410
14410
  dir: v,
14411
14411
  loop: f,
14412
14412
  children: /* @__PURE__ */ i.jsx(
14413
- z.div,
14413
+ B.div,
14414
14414
  {
14415
14415
  role: "radiogroup",
14416
14416
  "aria-required": s,
@@ -14565,7 +14565,7 @@ var yo = "Switch", [wE, rP] = be(yo), [yE, CE] = wE(yo), mp = u.forwardRef(
14565
14565
  });
14566
14566
  return /* @__PURE__ */ i.jsxs(yE, { scope: n, checked: w, disabled: c, children: [
14567
14567
  /* @__PURE__ */ i.jsx(
14568
- z.button,
14568
+ B.button,
14569
14569
  {
14570
14570
  type: "button",
14571
14571
  role: "switch",
@@ -14604,7 +14604,7 @@ var pp = "SwitchThumb", hp = u.forwardRef(
14604
14604
  (e, t) => {
14605
14605
  const { __scopeSwitch: n, ...r } = e, o = CE(pp, n);
14606
14606
  return /* @__PURE__ */ i.jsx(
14607
- z.span,
14607
+ B.span,
14608
14608
  {
14609
14609
  "data-state": vp(o.checked),
14610
14610
  "data-disabled": o.disabled ? "" : void 0,
@@ -14711,7 +14711,7 @@ var Co = "Tabs", [RE, oP] = be(Co, [
14711
14711
  dir: f,
14712
14712
  activationMode: l,
14713
14713
  children: /* @__PURE__ */ i.jsx(
14714
- z.div,
14714
+ B.div,
14715
14715
  {
14716
14716
  dir: f,
14717
14717
  "data-orientation": s,
@@ -14736,7 +14736,7 @@ var yp = "TabsList", Cp = u.forwardRef(
14736
14736
  dir: a.dir,
14737
14737
  loop: r,
14738
14738
  children: /* @__PURE__ */ i.jsx(
14739
- z.div,
14739
+ B.div,
14740
14740
  {
14741
14741
  role: "tablist",
14742
14742
  "aria-orientation": a.orientation,
@@ -14760,7 +14760,7 @@ var Np = "TabsTrigger", Sp = u.forwardRef(
14760
14760
  focusable: !o,
14761
14761
  active: f,
14762
14762
  children: /* @__PURE__ */ i.jsx(
14763
- z.button,
14763
+ B.button,
14764
14764
  {
14765
14765
  type: "button",
14766
14766
  role: "tab",
@@ -14796,7 +14796,7 @@ var Ep = "TabsContent", Rp = u.forwardRef(
14796
14796
  const h = requestAnimationFrame(() => m.current = !1);
14797
14797
  return () => cancelAnimationFrame(h);
14798
14798
  }, []), /* @__PURE__ */ i.jsx(Ne, { present: o || f, children: ({ present: h }) => /* @__PURE__ */ i.jsx(
14799
- z.div,
14799
+ B.div,
14800
14800
  {
14801
14801
  "data-state": f ? "active" : "inactive",
14802
14802
  "data-orientation": c.orientation,
@@ -14965,14 +14965,14 @@ function nR(e) {
14965
14965
  }
14966
14966
  var rR = (e) => {
14967
14967
  var t, n, r, o, a, s, c, l, d, f, m;
14968
- let { invert: h, toast: p, unstyled: v, interacting: g, setHeights: x, visibleToasts: w, heights: b, index: y, toasts: C, expanded: S, removeToast: P, defaultRichColors: N, closeButton: E, style: T, cancelButtonStyle: O, actionButtonStyle: W, className: B = "", descriptionClassName: J = "", duration: Y, position: ee, gap: V, loadingIcon: K, expandByDefault: A, classNames: _, icons: k, closeButtonAriaLabel: G = "Close toast", pauseWhenPageIsHidden: R } = e, [I, $] = D.useState(null), [L, Q] = D.useState(null), [M, U] = D.useState(!1), [q, te] = D.useState(!1), [re, se] = D.useState(!1), [we, xe] = D.useState(!1), [Le, De] = D.useState(!1), [Re, Fe] = D.useState(0), [Te, Sn] = D.useState(0), vt = D.useRef(p.duration || Y || mc), En = D.useRef(null), et = D.useRef(null), ar = y === 0, sr = y + 1 <= w, H = p.type, oe = p.dismissible !== !1, ce = p.className || "", ge = p.descriptionClassName || "", je = D.useMemo(() => b.findIndex((ae) => ae.toastId === p.id) || 0, [b, p.id]), ut = D.useMemo(() => {
14968
+ let { invert: h, toast: p, unstyled: v, interacting: g, setHeights: x, visibleToasts: w, heights: b, index: y, toasts: C, expanded: S, removeToast: P, defaultRichColors: N, closeButton: E, style: T, cancelButtonStyle: O, actionButtonStyle: W, className: K = "", descriptionClassName: V = "", duration: G, position: ee, gap: z, loadingIcon: q, expandByDefault: A, classNames: _, icons: k, closeButtonAriaLabel: U = "Close toast", pauseWhenPageIsHidden: R } = e, [I, $] = D.useState(null), [L, J] = D.useState(null), [M, Y] = D.useState(!1), [X, te] = D.useState(!1), [re, se] = D.useState(!1), [we, xe] = D.useState(!1), [Le, De] = D.useState(!1), [Re, Fe] = D.useState(0), [Te, Sn] = D.useState(0), vt = D.useRef(p.duration || G || mc), En = D.useRef(null), et = D.useRef(null), ar = y === 0, sr = y + 1 <= w, H = p.type, oe = p.dismissible !== !1, ce = p.className || "", ge = p.descriptionClassName || "", je = D.useMemo(() => b.findIndex((ae) => ae.toastId === p.id) || 0, [b, p.id]), ut = D.useMemo(() => {
14969
14969
  var ae;
14970
14970
  return (ae = p.closeButton) != null ? ae : E;
14971
- }, [p.closeButton, E]), tt = D.useMemo(() => p.duration || Y || mc, [p.duration, Y]), Eo = D.useRef(0), Jt = D.useRef(0), qs = D.useRef(0), en = D.useRef(null), [oh, ah] = ee.split("-"), Xs = D.useMemo(() => b.reduce((ae, fe, pe) => pe >= je ? ae : ae + fe.height, 0), [b, je]), Zs = zE(), sh = p.invert || h, Ro = H === "loading";
14972
- Jt.current = D.useMemo(() => je * V + Xs, [je, Xs]), D.useEffect(() => {
14971
+ }, [p.closeButton, E]), tt = D.useMemo(() => p.duration || G || mc, [p.duration, G]), Eo = D.useRef(0), Jt = D.useRef(0), qs = D.useRef(0), en = D.useRef(null), [oh, ah] = ee.split("-"), Xs = D.useMemo(() => b.reduce((ae, fe, pe) => pe >= je ? ae : ae + fe.height, 0), [b, je]), Zs = zE(), sh = p.invert || h, Ro = H === "loading";
14972
+ Jt.current = D.useMemo(() => je * z + Xs, [je, Xs]), D.useEffect(() => {
14973
14973
  vt.current = tt;
14974
14974
  }, [tt]), D.useEffect(() => {
14975
- U(!0);
14975
+ Y(!0);
14976
14976
  }, []), D.useEffect(() => {
14977
14977
  let ae = et.current;
14978
14978
  if (ae) {
@@ -15009,9 +15009,9 @@ var rR = (e) => {
15009
15009
  }, [xt, p.delete]);
15010
15010
  function ih() {
15011
15011
  var ae, fe, pe;
15012
- return k != null && k.loading ? D.createElement("div", { className: Ye(_ == null ? void 0 : _.loader, (ae = p == null ? void 0 : p.classNames) == null ? void 0 : ae.loader, "sonner-loader"), "data-visible": H === "loading" }, k.loading) : K ? D.createElement("div", { className: Ye(_ == null ? void 0 : _.loader, (fe = p == null ? void 0 : p.classNames) == null ? void 0 : fe.loader, "sonner-loader"), "data-visible": H === "loading" }, K) : D.createElement(DE, { className: Ye(_ == null ? void 0 : _.loader, (pe = p == null ? void 0 : p.classNames) == null ? void 0 : pe.loader), visible: H === "loading" });
15012
+ return k != null && k.loading ? D.createElement("div", { className: Ye(_ == null ? void 0 : _.loader, (ae = p == null ? void 0 : p.classNames) == null ? void 0 : ae.loader, "sonner-loader"), "data-visible": H === "loading" }, k.loading) : q ? D.createElement("div", { className: Ye(_ == null ? void 0 : _.loader, (fe = p == null ? void 0 : p.classNames) == null ? void 0 : fe.loader, "sonner-loader"), "data-visible": H === "loading" }, q) : D.createElement(DE, { className: Ye(_ == null ? void 0 : _.loader, (pe = p == null ? void 0 : p.classNames) == null ? void 0 : pe.loader), visible: H === "loading" });
15013
15013
  }
15014
- return D.createElement("li", { tabIndex: 0, ref: et, className: Ye(B, ce, _ == null ? void 0 : _.toast, (t = p == null ? void 0 : p.classNames) == null ? void 0 : t.toast, _ == null ? void 0 : _.default, _ == null ? void 0 : _[H], (n = p == null ? void 0 : p.classNames) == null ? void 0 : n[H]), "data-sonner-toast": "", "data-rich-colors": (r = p.richColors) != null ? r : N, "data-styled": !(p.jsx || p.unstyled || v), "data-mounted": M, "data-promise": !!p.promise, "data-swiped": Le, "data-removed": q, "data-visible": sr, "data-y-position": oh, "data-x-position": ah, "data-index": y, "data-front": ar, "data-swiping": re, "data-dismissible": oe, "data-type": H, "data-invert": sh, "data-swipe-out": we, "data-swipe-direction": L, "data-expanded": !!(S || A && M), style: { "--index": y, "--toasts-before": y, "--z-index": C.length - y, "--offset": `${q ? Re : Jt.current}px`, "--initial-height": A ? "auto" : `${Te}px`, ...T, ...p.style }, onDragEnd: () => {
15014
+ return D.createElement("li", { tabIndex: 0, ref: et, className: Ye(K, ce, _ == null ? void 0 : _.toast, (t = p == null ? void 0 : p.classNames) == null ? void 0 : t.toast, _ == null ? void 0 : _.default, _ == null ? void 0 : _[H], (n = p == null ? void 0 : p.classNames) == null ? void 0 : n[H]), "data-sonner-toast": "", "data-rich-colors": (r = p.richColors) != null ? r : N, "data-styled": !(p.jsx || p.unstyled || v), "data-mounted": M, "data-promise": !!p.promise, "data-swiped": Le, "data-removed": X, "data-visible": sr, "data-y-position": oh, "data-x-position": ah, "data-index": y, "data-front": ar, "data-swiping": re, "data-dismissible": oe, "data-type": H, "data-invert": sh, "data-swipe-out": we, "data-swipe-direction": L, "data-expanded": !!(S || A && M), style: { "--index": y, "--toasts-before": y, "--z-index": C.length - y, "--offset": `${X ? Re : Jt.current}px`, "--initial-height": A ? "auto" : `${Te}px`, ...T, ...p.style }, onDragEnd: () => {
15015
15015
  se(!1), $(null), en.current = null;
15016
15016
  }, onPointerDown: (ae) => {
15017
15017
  Ro || !oe || (En.current = /* @__PURE__ */ new Date(), Fe(Jt.current), ae.target.setPointerCapture(ae.pointerId), ae.target.tagName !== "BUTTON" && (se(!0), en.current = { x: ae.clientX, y: ae.clientY }));
@@ -15021,7 +15021,7 @@ var rR = (e) => {
15021
15021
  en.current = null;
15022
15022
  let Ge = Number(((ae = et.current) == null ? void 0 : ae.style.getPropertyValue("--swipe-amount-x").replace("px", "")) || 0), bt = Number(((fe = et.current) == null ? void 0 : fe.style.getPropertyValue("--swipe-amount-y").replace("px", "")) || 0), Ft = (/* @__PURE__ */ new Date()).getTime() - ((pe = En.current) == null ? void 0 : pe.getTime()), Ue = I === "x" ? Ge : bt, wt = Math.abs(Ue) / Ft;
15023
15023
  if (Math.abs(Ue) >= eR || wt > 0.11) {
15024
- Fe(Jt.current), (He = p.onDismiss) == null || He.call(p, p), Q(I === "x" ? Ge > 0 ? "right" : "left" : bt > 0 ? "down" : "up"), xt(), xe(!0), De(!1);
15024
+ Fe(Jt.current), (He = p.onDismiss) == null || He.call(p, p), J(I === "x" ? Ge > 0 ? "right" : "left" : bt > 0 ? "down" : "up"), xt(), xe(!0), De(!1);
15025
15025
  return;
15026
15026
  }
15027
15027
  se(!1), $(null);
@@ -15032,11 +15032,11 @@ var rR = (e) => {
15032
15032
  !I && (Math.abs(Ft) > 1 || Math.abs(bt) > 1) && $(Math.abs(Ft) > Math.abs(bt) ? "x" : "y");
15033
15033
  let wt = { x: 0, y: 0 };
15034
15034
  I === "y" ? (Ue.includes("top") || Ue.includes("bottom")) && (Ue.includes("top") && bt < 0 || Ue.includes("bottom") && bt > 0) && (wt.y = bt) : I === "x" && (Ue.includes("left") || Ue.includes("right")) && (Ue.includes("left") && Ft < 0 || Ue.includes("right") && Ft > 0) && (wt.x = Ft), (Math.abs(wt.x) > 0 || Math.abs(wt.y) > 0) && De(!0), (He = et.current) == null || He.style.setProperty("--swipe-amount-x", `${wt.x}px`), (Ge = et.current) == null || Ge.style.setProperty("--swipe-amount-y", `${wt.y}px`);
15035
- } }, ut && !p.jsx ? D.createElement("button", { "aria-label": G, "data-disabled": Ro, "data-close-button": !0, onClick: Ro || !oe ? () => {
15035
+ } }, ut && !p.jsx ? D.createElement("button", { "aria-label": U, "data-disabled": Ro, "data-close-button": !0, onClick: Ro || !oe ? () => {
15036
15036
  } : () => {
15037
15037
  var ae;
15038
15038
  xt(), (ae = p.onDismiss) == null || ae.call(p, p);
15039
- }, className: Ye(_ == null ? void 0 : _.closeButton, (o = p == null ? void 0 : p.classNames) == null ? void 0 : o.closeButton) }, (a = k == null ? void 0 : k.close) != null ? a : BE) : null, p.jsx || ko(p.title) ? p.jsx ? p.jsx : typeof p.title == "function" ? p.title() : p.title : D.createElement(D.Fragment, null, H || p.icon || p.promise ? D.createElement("div", { "data-icon": "", className: Ye(_ == null ? void 0 : _.icon, (s = p == null ? void 0 : p.classNames) == null ? void 0 : s.icon) }, p.promise || p.type === "loading" && !p.icon ? p.icon || ih() : null, p.type !== "loading" ? p.icon || (k == null ? void 0 : k[H]) || IE(H) : null) : null, D.createElement("div", { "data-content": "", className: Ye(_ == null ? void 0 : _.content, (c = p == null ? void 0 : p.classNames) == null ? void 0 : c.content) }, D.createElement("div", { "data-title": "", className: Ye(_ == null ? void 0 : _.title, (l = p == null ? void 0 : p.classNames) == null ? void 0 : l.title) }, typeof p.title == "function" ? p.title() : p.title), p.description ? D.createElement("div", { "data-description": "", className: Ye(J, ge, _ == null ? void 0 : _.description, (d = p == null ? void 0 : p.classNames) == null ? void 0 : d.description) }, typeof p.description == "function" ? p.description() : p.description) : null), ko(p.cancel) ? p.cancel : p.cancel && vr(p.cancel) ? D.createElement("button", { "data-button": !0, "data-cancel": !0, style: p.cancelButtonStyle || O, onClick: (ae) => {
15039
+ }, className: Ye(_ == null ? void 0 : _.closeButton, (o = p == null ? void 0 : p.classNames) == null ? void 0 : o.closeButton) }, (a = k == null ? void 0 : k.close) != null ? a : BE) : null, p.jsx || ko(p.title) ? p.jsx ? p.jsx : typeof p.title == "function" ? p.title() : p.title : D.createElement(D.Fragment, null, H || p.icon || p.promise ? D.createElement("div", { "data-icon": "", className: Ye(_ == null ? void 0 : _.icon, (s = p == null ? void 0 : p.classNames) == null ? void 0 : s.icon) }, p.promise || p.type === "loading" && !p.icon ? p.icon || ih() : null, p.type !== "loading" ? p.icon || (k == null ? void 0 : k[H]) || IE(H) : null) : null, D.createElement("div", { "data-content": "", className: Ye(_ == null ? void 0 : _.content, (c = p == null ? void 0 : p.classNames) == null ? void 0 : c.content) }, D.createElement("div", { "data-title": "", className: Ye(_ == null ? void 0 : _.title, (l = p == null ? void 0 : p.classNames) == null ? void 0 : l.title) }, typeof p.title == "function" ? p.title() : p.title), p.description ? D.createElement("div", { "data-description": "", className: Ye(V, ge, _ == null ? void 0 : _.description, (d = p == null ? void 0 : p.classNames) == null ? void 0 : d.description) }, typeof p.description == "function" ? p.description() : p.description) : null), ko(p.cancel) ? p.cancel : p.cancel && vr(p.cancel) ? D.createElement("button", { "data-button": !0, "data-cancel": !0, style: p.cancelButtonStyle || O, onClick: (ae) => {
15040
15040
  var fe, pe;
15041
15041
  vr(p.cancel) && oe && ((pe = (fe = p.cancel).onClick) == null || pe.call(fe, ae), xt());
15042
15042
  }, className: Ye(_ == null ? void 0 : _.cancelButton, (f = p == null ? void 0 : p.classNames) == null ? void 0 : f.cancelButton) }, p.cancel.label) : null, ko(p.action) ? p.action : p.action && vr(p.action) ? D.createElement("button", { "data-button": !0, "data-action": !0, style: p.actionButtonStyle || W, onClick: (ae) => {
@@ -15064,7 +15064,7 @@ function oR(e, t) {
15064
15064
  }), n;
15065
15065
  }
15066
15066
  var aR = zr(function(e, t) {
15067
- let { invert: n, position: r = "bottom-right", hotkey: o = ["altKey", "KeyT"], expand: a, closeButton: s, className: c, offset: l, mobileOffset: d, theme: f = "light", richColors: m, duration: h, style: p, visibleToasts: v = qE, toastOptions: g, dir: x = pc(), gap: w = JE, loadingIcon: b, icons: y, containerAriaLabel: C = "Notifications", pauseWhenPageIsHidden: S } = e, [P, N] = D.useState([]), E = D.useMemo(() => Array.from(new Set([r].concat(P.filter((R) => R.position).map((R) => R.position)))), [P, r]), [T, O] = D.useState([]), [W, B] = D.useState(!1), [J, Y] = D.useState(!1), [ee, V] = D.useState(f !== "system" ? f : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), K = D.useRef(null), A = o.join("+").replace(/Key/g, "").replace(/Digit/g, ""), _ = D.useRef(null), k = D.useRef(!1), G = D.useCallback((R) => {
15067
+ let { invert: n, position: r = "bottom-right", hotkey: o = ["altKey", "KeyT"], expand: a, closeButton: s, className: c, offset: l, mobileOffset: d, theme: f = "light", richColors: m, duration: h, style: p, visibleToasts: v = qE, toastOptions: g, dir: x = pc(), gap: w = JE, loadingIcon: b, icons: y, containerAriaLabel: C = "Notifications", pauseWhenPageIsHidden: S } = e, [P, N] = D.useState([]), E = D.useMemo(() => Array.from(new Set([r].concat(P.filter((R) => R.position).map((R) => R.position)))), [P, r]), [T, O] = D.useState([]), [W, K] = D.useState(!1), [V, G] = D.useState(!1), [ee, z] = D.useState(f !== "system" ? f : typeof window < "u" && window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light"), q = D.useRef(null), A = o.join("+").replace(/Key/g, "").replace(/Digit/g, ""), _ = D.useRef(null), k = D.useRef(!1), U = D.useCallback((R) => {
15068
15068
  N((I) => {
15069
15069
  var $;
15070
15070
  return ($ = I.find((L) => L.id === R.id)) != null && $.delete || Ae.dismiss(R.id), I.filter(({ id: L }) => L !== R.id);
@@ -15085,50 +15085,50 @@ var aR = zr(function(e, t) {
15085
15085
  });
15086
15086
  }), []), D.useEffect(() => {
15087
15087
  if (f !== "system") {
15088
- V(f);
15088
+ z(f);
15089
15089
  return;
15090
15090
  }
15091
- if (f === "system" && (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? V("dark") : V("light")), typeof window > "u") return;
15091
+ if (f === "system" && (window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? z("dark") : z("light")), typeof window > "u") return;
15092
15092
  let R = window.matchMedia("(prefers-color-scheme: dark)");
15093
15093
  try {
15094
15094
  R.addEventListener("change", ({ matches: I }) => {
15095
- V(I ? "dark" : "light");
15095
+ z(I ? "dark" : "light");
15096
15096
  });
15097
15097
  } catch {
15098
15098
  R.addListener(({ matches: $ }) => {
15099
15099
  try {
15100
- V($ ? "dark" : "light");
15100
+ z($ ? "dark" : "light");
15101
15101
  } catch (L) {
15102
15102
  console.error(L);
15103
15103
  }
15104
15104
  });
15105
15105
  }
15106
15106
  }, [f]), D.useEffect(() => {
15107
- P.length <= 1 && B(!1);
15107
+ P.length <= 1 && K(!1);
15108
15108
  }, [P]), D.useEffect(() => {
15109
15109
  let R = (I) => {
15110
15110
  var $, L;
15111
- o.every((Q) => I[Q] || I.code === Q) && (B(!0), ($ = K.current) == null || $.focus()), I.code === "Escape" && (document.activeElement === K.current || (L = K.current) != null && L.contains(document.activeElement)) && B(!1);
15111
+ o.every((J) => I[J] || I.code === J) && (K(!0), ($ = q.current) == null || $.focus()), I.code === "Escape" && (document.activeElement === q.current || (L = q.current) != null && L.contains(document.activeElement)) && K(!1);
15112
15112
  };
15113
15113
  return document.addEventListener("keydown", R), () => document.removeEventListener("keydown", R);
15114
15114
  }, [o]), D.useEffect(() => {
15115
- if (K.current) return () => {
15115
+ if (q.current) return () => {
15116
15116
  _.current && (_.current.focus({ preventScroll: !0 }), _.current = null, k.current = !1);
15117
15117
  };
15118
- }, [K.current]), D.createElement("section", { ref: t, "aria-label": `${C} ${A}`, tabIndex: -1, "aria-live": "polite", "aria-relevant": "additions text", "aria-atomic": "false", suppressHydrationWarning: !0 }, E.map((R, I) => {
15118
+ }, [q.current]), D.createElement("section", { ref: t, "aria-label": `${C} ${A}`, tabIndex: -1, "aria-live": "polite", "aria-relevant": "additions text", "aria-atomic": "false", suppressHydrationWarning: !0 }, E.map((R, I) => {
15119
15119
  var $;
15120
- let [L, Q] = R.split("-");
15121
- return P.length ? D.createElement("ol", { key: R, dir: x === "auto" ? pc() : x, tabIndex: -1, ref: K, className: c, "data-sonner-toaster": !0, "data-theme": ee, "data-y-position": L, "data-lifted": W && P.length > 1 && !a, "data-x-position": Q, style: { "--front-toast-height": `${(($ = T[0]) == null ? void 0 : $.height) || 0}px`, "--width": `${QE}px`, "--gap": `${w}px`, ...p, ...oR(l, d) }, onBlur: (M) => {
15120
+ let [L, J] = R.split("-");
15121
+ return P.length ? D.createElement("ol", { key: R, dir: x === "auto" ? pc() : x, tabIndex: -1, ref: q, className: c, "data-sonner-toaster": !0, "data-theme": ee, "data-y-position": L, "data-lifted": W && P.length > 1 && !a, "data-x-position": J, style: { "--front-toast-height": `${(($ = T[0]) == null ? void 0 : $.height) || 0}px`, "--width": `${QE}px`, "--gap": `${w}px`, ...p, ...oR(l, d) }, onBlur: (M) => {
15122
15122
  k.current && !M.currentTarget.contains(M.relatedTarget) && (k.current = !1, _.current && (_.current.focus({ preventScroll: !0 }), _.current = null));
15123
15123
  }, onFocus: (M) => {
15124
15124
  M.target instanceof HTMLElement && M.target.dataset.dismissible === "false" || k.current || (k.current = !0, _.current = M.relatedTarget);
15125
- }, onMouseEnter: () => B(!0), onMouseMove: () => B(!0), onMouseLeave: () => {
15126
- J || B(!1);
15127
- }, onDragEnd: () => B(!1), onPointerDown: (M) => {
15128
- M.target instanceof HTMLElement && M.target.dataset.dismissible === "false" || Y(!0);
15129
- }, onPointerUp: () => Y(!1) }, P.filter((M) => !M.position && I === 0 || M.position === R).map((M, U) => {
15130
- var q, te;
15131
- return D.createElement(rR, { key: M.id, icons: y, index: U, toast: M, defaultRichColors: m, duration: (q = g == null ? void 0 : g.duration) != null ? q : h, className: g == null ? void 0 : g.className, descriptionClassName: g == null ? void 0 : g.descriptionClassName, invert: n, visibleToasts: v, closeButton: (te = g == null ? void 0 : g.closeButton) != null ? te : s, interacting: J, position: R, style: g == null ? void 0 : g.style, unstyled: g == null ? void 0 : g.unstyled, classNames: g == null ? void 0 : g.classNames, cancelButtonStyle: g == null ? void 0 : g.cancelButtonStyle, actionButtonStyle: g == null ? void 0 : g.actionButtonStyle, removeToast: G, toasts: P.filter((re) => re.position == M.position), heights: T.filter((re) => re.position == M.position), setHeights: O, expandByDefault: a, gap: w, loadingIcon: b, expanded: W, pauseWhenPageIsHidden: S, swipeDirections: e.swipeDirections });
15125
+ }, onMouseEnter: () => K(!0), onMouseMove: () => K(!0), onMouseLeave: () => {
15126
+ V || K(!1);
15127
+ }, onDragEnd: () => K(!1), onPointerDown: (M) => {
15128
+ M.target instanceof HTMLElement && M.target.dataset.dismissible === "false" || G(!0);
15129
+ }, onPointerUp: () => G(!1) }, P.filter((M) => !M.position && I === 0 || M.position === R).map((M, Y) => {
15130
+ var X, te;
15131
+ return D.createElement(rR, { key: M.id, icons: y, index: Y, toast: M, defaultRichColors: m, duration: (X = g == null ? void 0 : g.duration) != null ? X : h, className: g == null ? void 0 : g.className, descriptionClassName: g == null ? void 0 : g.descriptionClassName, invert: n, visibleToasts: v, closeButton: (te = g == null ? void 0 : g.closeButton) != null ? te : s, interacting: V, position: R, style: g == null ? void 0 : g.style, unstyled: g == null ? void 0 : g.unstyled, classNames: g == null ? void 0 : g.classNames, cancelButtonStyle: g == null ? void 0 : g.cancelButtonStyle, actionButtonStyle: g == null ? void 0 : g.actionButtonStyle, removeToast: U, toasts: P.filter((re) => re.position == M.position), heights: T.filter((re) => re.position == M.position), setHeights: O, expandByDefault: a, gap: w, loadingIcon: b, expanded: W, pauseWhenPageIsHidden: S, swipeDirections: e.swipeDirections });
15132
15132
  })) : null;
15133
15133
  }));
15134
15134
  });
@@ -15187,7 +15187,7 @@ var Ap = "Toggle", Hs = u.forwardRef((e, t) => {
15187
15187
  caller: Ap
15188
15188
  });
15189
15189
  return /* @__PURE__ */ i.jsx(
15190
- z.button,
15190
+ B.button,
15191
15191
  {
15192
15192
  type: "button",
15193
15193
  "aria-pressed": s,
@@ -15321,9 +15321,9 @@ var [lR, uR] = Dp(Lt), Fp = D.forwardRef(
15321
15321
  orientation: a,
15322
15322
  dir: f,
15323
15323
  loop: c,
15324
- children: /* @__PURE__ */ i.jsx(z.div, { ...m, ref: t })
15324
+ children: /* @__PURE__ */ i.jsx(B.div, { ...m, ref: t })
15325
15325
  }
15326
- ) : /* @__PURE__ */ i.jsx(z.div, { ...m, ref: t }) });
15326
+ ) : /* @__PURE__ */ i.jsx(B.div, { ...m, ref: t }) });
15327
15327
  }
15328
15328
  ), Lr = "ToggleGroupItem", Bp = D.forwardRef(
15329
15329
  (e, t) => {
@@ -15482,7 +15482,7 @@ var ja = "TooltipTrigger", Yp = u.forwardRef(
15482
15482
  (e, t) => {
15483
15483
  const { __scopeTooltip: n, ...r } = e, o = or(ja, n), a = Us(ja, n), s = So(n), c = u.useRef(null), l = ne(t, c, o.onTriggerChange), d = u.useRef(!1), f = u.useRef(!1), m = u.useCallback(() => d.current = !1, []);
15484
15484
  return u.useEffect(() => () => document.removeEventListener("pointerup", m), [m]), /* @__PURE__ */ i.jsx(Kn, { asChild: !0, ...s, children: /* @__PURE__ */ i.jsx(
15485
- z.button,
15485
+ B.button,
15486
15486
  {
15487
15487
  "aria-describedby": o.open ? o.contentId : void 0,
15488
15488
  "data-state": o.stateAttribute,
@@ -15707,7 +15707,7 @@ const uP = TR, dP = MR, fP = jR, IR = u.forwardRef(({ className: e, sideOffset:
15707
15707
  ref: r,
15708
15708
  sideOffset: t,
15709
15709
  className: j(
15710
- "z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
15710
+ "z-50 overflow-hidden rounded-md bg-gray-800 px-3 py-1.5 text-xs text-white animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
15711
15711
  e
15712
15712
  ),
15713
15713
  ...n
@@ -15767,53 +15767,53 @@ const Jp = u.createContext(void 0), gc = {
15767
15767
  custom: { icon: Ri, className: "text-gray-500" }
15768
15768
  };
15769
15769
  function hP({ children: e }) {
15770
- var g, x, w, b, y, C, S, P, N, E, T, O, W;
15770
+ var g, x, w, b, y, C, S, P, N, E, T, O, W, K;
15771
15771
  const [t, n] = u.useState({
15772
15772
  isOpen: !1,
15773
15773
  options: null
15774
- }), r = u.useCallback((B) => {
15775
- n({ isOpen: !0, options: B });
15774
+ }), r = u.useCallback((V) => {
15775
+ n({ isOpen: !0, options: V });
15776
15776
  }, []), o = u.useCallback(() => {
15777
- n((B) => ({ ...B, isOpen: !1 }));
15777
+ n((V) => ({ ...V, isOpen: !1 }));
15778
15778
  }, []), a = u.useCallback(
15779
- (B) => {
15780
- r({ ...B, type: "info" });
15779
+ (V) => {
15780
+ r({ ...V, type: "info" });
15781
15781
  },
15782
15782
  [r]
15783
15783
  ), s = u.useCallback(
15784
- (B) => {
15785
- r({ ...B, type: "success" });
15784
+ (V) => {
15785
+ r({ ...V, type: "success" });
15786
15786
  },
15787
15787
  [r]
15788
15788
  ), c = u.useCallback(
15789
- (B) => {
15790
- r({ ...B, type: "error" });
15789
+ (V) => {
15790
+ r({ ...V, type: "error" });
15791
15791
  },
15792
15792
  [r]
15793
15793
  ), l = u.useCallback(
15794
- (B) => {
15795
- r({ ...B, type: "warning" });
15794
+ (V) => {
15795
+ r({ ...V, type: "warning" });
15796
15796
  },
15797
15797
  [r]
15798
15798
  ), d = u.useCallback(
15799
- (B) => {
15800
- r({ ...B, type: "custom" });
15799
+ (V) => {
15800
+ r({ ...V, type: "custom" });
15801
15801
  },
15802
15802
  [r]
15803
15803
  ), f = u.useCallback(
15804
- (B) => {
15805
- r({ ...B, type: "confirm" });
15804
+ (V) => {
15805
+ r({ ...V, type: "confirm" });
15806
15806
  },
15807
15807
  [r]
15808
- ), m = (B, J, Y) => {
15809
- let ee = vc[B].icon;
15810
- return J && (ee = J), /* @__PURE__ */ i.jsx(
15811
- ee,
15808
+ ), m = (V, G, ee) => {
15809
+ let z = vc[V].icon;
15810
+ return G && (z = G), /* @__PURE__ */ i.jsx(
15811
+ z,
15812
15812
  {
15813
15813
  className: j(
15814
15814
  "h-24 w-24",
15815
- vc[B].className,
15816
- Y
15815
+ vc[V].className,
15816
+ ee
15817
15817
  )
15818
15818
  }
15819
15819
  );
@@ -15832,13 +15832,18 @@ function hP({ children: e }) {
15832
15832
  ), [p, v] = u.useState(!1);
15833
15833
  return /* @__PURE__ */ i.jsxs(Jp.Provider, { value: h, children: [
15834
15834
  e,
15835
- /* @__PURE__ */ i.jsx(ks, { open: t.isOpen, onOpenChange: (B) => !B && o(), modal: !0, children: /* @__PURE__ */ i.jsxs(
15835
+ /* @__PURE__ */ i.jsx(ks, { open: t.isOpen, onOpenChange: (V) => !V && o(), children: /* @__PURE__ */ i.jsxs(
15836
15836
  xo,
15837
15837
  {
15838
15838
  className: j(
15839
15839
  (g = t.options) != null && g.size ? gc[t.options.size] : gc.sm,
15840
15840
  (x = t.options) == null ? void 0 : x.className
15841
15841
  ),
15842
+ showCloseButton: ((w = t.options) == null ? void 0 : w.showCloseButton) ?? !0,
15843
+ onInteractOutside: (V) => {
15844
+ var G;
15845
+ (G = t.options) != null && G.blockOutsideClick && V.preventDefault();
15846
+ },
15842
15847
  children: [
15843
15848
  t.options && /* @__PURE__ */ i.jsxs(Ps, { children: [
15844
15849
  /* @__PURE__ */ i.jsx("div", { className: "mx-auto mb-6", children: m(
@@ -15849,36 +15854,36 @@ function hP({ children: e }) {
15849
15854
  t.options.title && /* @__PURE__ */ i.jsx(Ts, { className: "text-center", children: t.options.title }),
15850
15855
  /* @__PURE__ */ i.jsx(Ms, { className: "text-center", children: t.options.message })
15851
15856
  ] }),
15852
- ((w = t.options) == null ? void 0 : w.type) === "confirm" && /* @__PURE__ */ i.jsxs("div", { className: "flex justify-center gap-4 mt-4", children: [
15857
+ ((b = t.options) == null ? void 0 : b.type) === "confirm" && /* @__PURE__ */ i.jsxs("div", { className: "flex justify-center gap-4 mt-4", children: [
15853
15858
  /* @__PURE__ */ i.jsx(
15854
15859
  me,
15855
15860
  {
15856
- isLoading: p ?? ((y = (b = t.options) == null ? void 0 : b.confirmButton) == null ? void 0 : y.loading),
15857
- disabled: (S = (C = t.options) == null ? void 0 : C.confirmButton) == null ? void 0 : S.disabled,
15858
- className: (P = t.options.confirmButton) == null ? void 0 : P.className,
15861
+ isLoading: p ?? ((C = (y = t.options) == null ? void 0 : y.confirmButton) == null ? void 0 : C.loading),
15862
+ disabled: (P = (S = t.options) == null ? void 0 : S.confirmButton) == null ? void 0 : P.disabled,
15863
+ className: (N = t.options.confirmButton) == null ? void 0 : N.className,
15859
15864
  onClick: () => {
15860
- var J, Y, ee, V;
15861
- if (!((Y = (J = t.options) == null ? void 0 : J.confirmButton) != null && Y.onClick))
15865
+ var G, ee, z, q;
15866
+ if (!((ee = (G = t.options) == null ? void 0 : G.confirmButton) != null && ee.onClick))
15862
15867
  throw new Error(
15863
15868
  "Confirmation type dialog needs to implement the onConfirm function"
15864
15869
  );
15865
- const B = (V = (ee = t.options) == null ? void 0 : ee.confirmButton) == null ? void 0 : V.onClick();
15866
- B instanceof Promise ? (v(!0), B.then(() => {
15870
+ const V = (q = (z = t.options) == null ? void 0 : z.confirmButton) == null ? void 0 : q.onClick();
15871
+ V instanceof Promise ? (v(!0), V.then(() => {
15867
15872
  v(!1), o();
15868
15873
  }).finally(() => v(!1))) : o();
15869
15874
  },
15870
- children: ((N = t.options.confirmButton) == null ? void 0 : N.label) ?? "Confirm"
15875
+ children: ((E = t.options.confirmButton) == null ? void 0 : E.label) ?? "Confirm"
15871
15876
  }
15872
15877
  ),
15873
- ((E = t.options.cancelButton) == null ? void 0 : E.label) && /* @__PURE__ */ i.jsx(
15878
+ ((T = t.options.cancelButton) == null ? void 0 : T.label) && /* @__PURE__ */ i.jsx(
15874
15879
  me,
15875
15880
  {
15876
15881
  variant: "outline",
15877
15882
  onClick: o,
15878
15883
  className: t.options.cancelButton.className,
15879
- isLoading: (T = t.options.cancelButton) == null ? void 0 : T.loading,
15880
- disabled: p || ((O = t.options.cancelButton) == null ? void 0 : O.disabled),
15881
- children: (W = t.options.cancelButton) == null ? void 0 : W.label
15884
+ isLoading: (O = t.options.cancelButton) == null ? void 0 : O.loading,
15885
+ disabled: p || ((W = t.options.cancelButton) == null ? void 0 : W.disabled),
15886
+ children: (K = t.options.cancelButton) == null ? void 0 : K.label
15882
15887
  }
15883
15888
  )
15884
15889
  ] })
@@ -16350,22 +16355,22 @@ var ZR = Mt.ArrayBuffer, Zo = Mt.FileReader, zt = Mt.URL || Mt.webkitURL, QR = /
16350
16355
  y = O[0], C = O[1];
16351
16356
  var W = [P, S];
16352
16357
  S = W[0], P = W[1];
16353
- var B = [T, E];
16354
- E = B[0], T = B[1];
16358
+ var K = [T, E];
16359
+ E = K[0], T = K[1];
16355
16360
  }
16356
16361
  b && (N = E / T);
16357
- var J = Mn({
16362
+ var V = Mn({
16358
16363
  aspectRatio: N,
16359
16364
  width: y,
16360
16365
  height: C
16361
16366
  }, "contain");
16362
- y = J.width, C = J.height;
16363
- var Y = Mn({
16367
+ y = V.width, C = V.height;
16368
+ var G = Mn({
16364
16369
  aspectRatio: N,
16365
16370
  width: S,
16366
16371
  height: P
16367
16372
  }, "cover");
16368
- if (S = Y.width, P = Y.height, b) {
16373
+ if (S = G.width, P = G.height, b) {
16369
16374
  var ee = Mn({
16370
16375
  aspectRatio: N,
16371
16376
  width: E,
@@ -16373,19 +16378,19 @@ var ZR = Mt.ArrayBuffer, Zo = Mt.FileReader, zt = Mt.URL || Mt.webkitURL, QR = /
16373
16378
  }, v.resize);
16374
16379
  E = ee.width, T = ee.height;
16375
16380
  } else {
16376
- var V = Mn({
16381
+ var z = Mn({
16377
16382
  aspectRatio: N,
16378
16383
  width: E,
16379
16384
  height: T
16380
- }), K = V.width;
16381
- E = K === void 0 ? o : K;
16382
- var A = V.height;
16385
+ }), q = z.width;
16386
+ E = q === void 0 ? o : q;
16387
+ var A = z.height;
16383
16388
  T = A === void 0 ? a : A;
16384
16389
  }
16385
16390
  E = Math.floor(Nc(Math.min(Math.max(E, S), y))), T = Math.floor(Nc(Math.min(Math.max(T, P), C)));
16386
- var _ = -E / 2, k = -T / 2, G = E, R = T, I = [];
16391
+ var _ = -E / 2, k = -T / 2, U = E, R = T, I = [];
16387
16392
  if (b) {
16388
- var $ = 0, L = 0, Q = o, M = a, U = Mn({
16393
+ var $ = 0, L = 0, J = o, M = a, Y = Mn({
16389
16394
  aspectRatio: N,
16390
16395
  width: o,
16391
16396
  height: a
@@ -16393,11 +16398,11 @@ var ZR = Mt.ArrayBuffer, Zo = Mt.FileReader, zt = Mt.URL || Mt.webkitURL, QR = /
16393
16398
  contain: "cover",
16394
16399
  cover: "contain"
16395
16400
  }[v.resize]);
16396
- Q = U.width, M = U.height, $ = (o - Q) / 2, L = (a - M) / 2, I.push($, L, Q, M);
16401
+ J = Y.width, M = Y.height, $ = (o - J) / 2, L = (a - M) / 2, I.push($, L, J, M);
16397
16402
  }
16398
- if (I.push(_, k, G, R), w) {
16399
- var q = [T, E];
16400
- E = q[0], T = q[1];
16403
+ if (I.push(_, k, U, R), w) {
16404
+ var X = [T, E];
16405
+ E = X[0], T = X[1];
16401
16406
  }
16402
16407
  g.width = E, g.height = T, Aa(v.mimeType) || (v.mimeType = h.type);
16403
16408
  var te = "transparent";
@@ -16707,14 +16712,14 @@ function tk({
16707
16712
  D.useEffect(() => {
16708
16713
  p(1);
16709
16714
  }, [E, v, x]);
16710
- const B = ye(() => O.filter((H, oe) => {
16715
+ const K = ye(() => O.filter((H, oe) => {
16711
16716
  const ce = T(H, oe);
16712
16717
  return b.has(ce);
16713
- }), [O, b]), J = ye(() => b.size, [b]), Y = ye((H) => {
16718
+ }), [O, b]), V = ye(() => b.size, [b]), G = ye((H) => {
16714
16719
  y(new Set(H));
16715
- }, []), ee = ye(() => O, [O]), V = ye(() => {
16720
+ }, []), ee = ye(() => O, [O]), z = ye(() => {
16716
16721
  g({}), m(""), w({ field: null, direction: null }), p(1);
16717
- }, []), K = ye(
16722
+ }, []), q = ye(
16718
16723
  (H = "table-export") => {
16719
16724
  _1(O, C, H);
16720
16725
  },
@@ -16731,14 +16736,14 @@ function tk({
16731
16736
  ...ce,
16732
16737
  [H]: oe
16733
16738
  }));
16734
- }, []), G = ye((H) => {
16739
+ }, []), U = ye((H) => {
16735
16740
  g((oe) => {
16736
16741
  const ce = { ...oe };
16737
16742
  return delete ce[H], ce;
16738
16743
  });
16739
16744
  }, []), R = ye(() => {
16740
- V();
16741
- }, [V]), I = ye((H) => {
16745
+ z();
16746
+ }, [z]), I = ye((H) => {
16742
16747
  w((oe) => oe.field === H ? oe.direction === "asc" ? { field: H, direction: "desc" } : oe.direction === "desc" ? { field: null, direction: null } : { field: H, direction: "asc" } : { field: H, direction: "asc" });
16743
16748
  }, []), $ = ye((H, oe) => {
16744
16749
  S(
@@ -16746,7 +16751,7 @@ function tk({
16746
16751
  );
16747
16752
  }, []), L = ye(() => {
16748
16753
  S(t);
16749
- }, [t]), Q = ye(
16754
+ }, [t]), J = ye(
16750
16755
  (H) => {
16751
16756
  if (H) {
16752
16757
  const oe = /* @__PURE__ */ new Set();
@@ -16763,9 +16768,9 @@ function tk({
16763
16768
  const ge = new Set(ce);
16764
16769
  return oe ? ge.add(H) : ge.delete(H), ge;
16765
16770
  });
16766
- }, []), U = ye(() => {
16767
- K();
16768
- }, [K]), q = ye(() => {
16771
+ }, []), Y = ye(() => {
16772
+ q();
16773
+ }, [q]), X = ye(() => {
16769
16774
  p((H) => Math.max(H - 1, 1));
16770
16775
  }, []), te = ye(() => {
16771
16776
  p((H) => Math.min(H + 1, W.totalPages));
@@ -16783,23 +16788,23 @@ function tk({
16783
16788
  return D.useImperativeHandle(
16784
16789
  d,
16785
16790
  () => ({
16786
- getSelectedItems: B,
16791
+ getSelectedItems: K,
16787
16792
  clearSelection: () => y(/* @__PURE__ */ new Set()),
16788
- getSelectionCount: J,
16789
- selectItems: Y,
16793
+ getSelectionCount: V,
16794
+ selectItems: G,
16790
16795
  getFilteredData: ee,
16791
- resetFilters: V,
16792
- exportData: K,
16796
+ resetFilters: z,
16797
+ exportData: q,
16793
16798
  goToPage: A,
16794
16799
  refresh: _
16795
16800
  }),
16796
16801
  [
16797
- B,
16798
- J,
16799
- Y,
16800
- ee,
16801
- V,
16802
16802
  K,
16803
+ V,
16804
+ G,
16805
+ ee,
16806
+ z,
16807
+ q,
16803
16808
  A,
16804
16809
  _
16805
16810
  ]
@@ -16847,7 +16852,7 @@ function tk({
16847
16852
  onReset: L
16848
16853
  }
16849
16854
  ) : null,
16850
- (Sn = c == null ? void 0 : c.export) != null && Sn.hide ? /* @__PURE__ */ i.jsxs(me, { variant: "outline", onClick: U, children: [
16855
+ (Sn = c == null ? void 0 : c.export) != null && Sn.hide ? /* @__PURE__ */ i.jsxs(me, { variant: "outline", onClick: Y, children: [
16851
16856
  /* @__PURE__ */ i.jsx(hx, { className: "h-4 w-4 mr-2" }),
16852
16857
  ((vt = c == null ? void 0 : c.export) == null ? void 0 : vt.label) ?? "Export CSV"
16853
16858
  ] }) : null,
@@ -16865,7 +16870,7 @@ function tk({
16865
16870
  filters: r,
16866
16871
  columns: C,
16867
16872
  onClearSearch: () => m(""),
16868
- onClearFilter: G,
16873
+ onClearFilter: U,
16869
16874
  onClearSort: () => w({ field: null, direction: null })
16870
16875
  }
16871
16876
  ),
@@ -16886,7 +16891,7 @@ function tk({
16886
16891
  allRowsSelected: De,
16887
16892
  hasData: W.currentData.length > 0,
16888
16893
  onSort: I,
16889
- onToggleAllRows: Q
16894
+ onToggleAllRows: J
16890
16895
  }
16891
16896
  ) }),
16892
16897
  /* @__PURE__ */ i.jsx(Ba, { children: W.currentData.length === 0 ? /* @__PURE__ */ i.jsx("tr", { children: /* @__PURE__ */ i.jsx(
@@ -16923,7 +16928,7 @@ function tk({
16923
16928
  startIndex: W.startIndex,
16924
16929
  endIndex: W.endIndex,
16925
16930
  onPageChange: re,
16926
- onPreviousPage: q,
16931
+ onPreviousPage: X,
16927
16932
  onNextPage: te,
16928
16933
  counterText: (sr = c == null ? void 0 : c.pagination) == null ? void 0 : sr.label
16929
16934
  }